From d0df41cd9b6a145c60d2d7d78698513fa7ccc845 Mon Sep 17 00:00:00 2001 From: Liam Appelbe Date: Thu, 28 Mar 2024 13:21:07 +1300 Subject: [PATCH 01/21] Initial commit of package:objective_c --- README.md | 1 + .../objective_c/avf_audio_bindings.dart | 115487 +++++++++------ pkgs/ffigen/example/objective_c/pubspec.yaml | 4 + .../lib/src/code_generator/imports.dart | 7 +- .../lib/src/code_generator/library.dart | 4 +- .../lib/src/code_generator/objc_block.dart | 26 +- .../objc_built_in_functions.dart | 329 +- .../src/code_generator/objc_interface.dart | 49 +- .../ffigen/lib/src/code_generator/writer.dart | 13 + pkgs/ffigen/pubspec.yaml | 23 +- pkgs/objective_c/.gitignore | 29 + pkgs/objective_c/.metadata | 33 + pkgs/objective_c/CHANGELOG.md | 5 + pkgs/objective_c/LICENSE | 27 + pkgs/objective_c/README.md | 4 + pkgs/objective_c/analysis_options.yaml | 6 + pkgs/objective_c/ffigen.yaml | 32 + pkgs/objective_c/ios/Classes/objective_c.c | 7 + pkgs/objective_c/ios/objective_c.podspec | 28 + pkgs/objective_c/lib/objective_c.dart | 8 + pkgs/objective_c/lib/src/core.dart | 150 + .../src/objective_c_bindings_generated.dart | 94 + pkgs/objective_c/macos/Classes/objective_c.c | 3 + pkgs/objective_c/macos/objective_c.podspec | 27 + pkgs/objective_c/pubspec.yaml | 39 + pkgs/objective_c/src/CMakeLists.txt | 17 + pkgs/objective_c/src/objective_c.c | 5 + pkgs/objective_c/src/objective_c.h | 5 + pkgs/objective_c/src/objective_c_runtime.h | 40 + 29 files changed, 71793 insertions(+), 44709 deletions(-) create mode 100644 pkgs/objective_c/.gitignore create mode 100644 pkgs/objective_c/.metadata create mode 100644 pkgs/objective_c/CHANGELOG.md create mode 100644 pkgs/objective_c/LICENSE create mode 100644 pkgs/objective_c/README.md create mode 100644 pkgs/objective_c/analysis_options.yaml create mode 100644 pkgs/objective_c/ffigen.yaml create mode 100644 pkgs/objective_c/ios/Classes/objective_c.c create mode 100644 pkgs/objective_c/ios/objective_c.podspec create mode 100644 pkgs/objective_c/lib/objective_c.dart create mode 100644 pkgs/objective_c/lib/src/core.dart create mode 100644 pkgs/objective_c/lib/src/objective_c_bindings_generated.dart create mode 100644 pkgs/objective_c/macos/Classes/objective_c.c create mode 100644 pkgs/objective_c/macos/objective_c.podspec create mode 100644 pkgs/objective_c/pubspec.yaml create mode 100644 pkgs/objective_c/src/CMakeLists.txt create mode 100644 pkgs/objective_c/src/objective_c.c create mode 100644 pkgs/objective_c/src/objective_c.h create mode 100644 pkgs/objective_c/src/objective_c_runtime.h diff --git a/README.md b/README.md index 5a23af576..2cd9431a7 100644 --- a/README.md +++ b/README.md @@ -11,6 +11,7 @@ building and bundling. | --- | --- | --- | | [ffi](pkgs/ffi/) | Utilities for working with Foreign Function Interface (FFI) code. | [![pub package](https://img.shields.io/pub/v/ffi.svg)](https://pub.dev/packages/ffi) | | [ffigen](pkgs/ffigen/) | Generator for FFI bindings, using LibClang to parse C, Objective-C, and Swift files. | [![pub package](https://img.shields.io/pub/v/ffigen.svg)](https://pub.dev/packages/ffigen) | +| [objective_c](pkgs/objective_c/) | A library to access Objective C from Dart and Flutter that acts as a support library for package:ffigen. | [![pub package](https://img.shields.io/pub/v/objective_c.svg)](https://pub.dev/packages/objective_c) | | [jni](pkgs/jni/) | A library to access JNI from Dart and Flutter that acts as a support library for `package:jnigen`. | [![pub package](https://img.shields.io/pub/v/jni.svg)](https://pub.dev/packages/jni) | | [jnigen](pkgs/jnigen/) | A Dart bindings generator for Java and Kotlin that uses JNI under the hood to interop with Java virtual machine. | [![pub package](https://img.shields.io/pub/v/jnigen.svg)](https://pub.dev/packages/jnigen) | | [native_assets_builder](pkgs/native_assets_builder/) | This package is the backend that invokes top-level `build.dart` scripts. | [![pub package](https://img.shields.io/pub/v/native_assets_builder.svg)](https://pub.dev/packages/native_assets_builder) | diff --git a/pkgs/ffigen/example/objective_c/avf_audio_bindings.dart b/pkgs/ffigen/example/objective_c/avf_audio_bindings.dart index 0d598f1df..ce9afb607 100644 --- a/pkgs/ffigen/example/objective_c/avf_audio_bindings.dart +++ b/pkgs/ffigen/example/objective_c/avf_audio_bindings.dart @@ -5,3629 +5,4494 @@ // Generated by `package:ffigen`. // ignore_for_file: type=lint import 'dart:ffi' as ffi; +import 'package:objective_c/objective_c.dart' as objc; import 'package:ffi/ffi.dart' as pkg_ffi; /// Bindings for AVFAudio. class AVFAudio { /// Holds the symbol lookup function. - final ffi.Pointer Function(String symbolName) - _lookup; + final ffi.Pointer Function( + String symbolName, + ) _lookup; /// The symbols are looked up in [dynamicLibrary]. AVFAudio(ffi.DynamicLibrary dynamicLibrary) : _lookup = dynamicLibrary.lookup; /// The symbols are looked up with [lookup]. AVFAudio.fromLookup( - ffi.Pointer Function(String symbolName) - lookup) - : _lookup = lookup; + ffi.Pointer Function(String symbolName) lookup, + ) : _lookup = lookup; - ffi.Pointer _registerName1(String name) { - final cstr = name.toNativeUtf8(); - final sel = _sel_registerName(cstr.cast()); - pkg_ffi.calloc.free(cstr); - return sel; - } - - ffi.Pointer _sel_registerName( - ffi.Pointer str, - ) { - return __sel_registerName( - str, - ); - } - - late final __sel_registerNamePtr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer)>>('sel_registerName'); - late final __sel_registerName = __sel_registerNamePtr - .asFunction Function(ffi.Pointer)>(); - - ffi.Pointer _getClass1(String name) { - final cstr = name.toNativeUtf8(); - final clazz = _objc_getClass(cstr.cast()); - pkg_ffi.calloc.free(cstr); - if (clazz == ffi.nullptr) { - throw Exception('Failed to load Objective-C class: $name'); - } - return clazz; - } - - ffi.Pointer _objc_getClass( - ffi.Pointer str, - ) { - return __objc_getClass( - str, - ); - } - - late final __objc_getClassPtr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer)>>('objc_getClass'); - late final __objc_getClass = __objc_getClassPtr - .asFunction Function(ffi.Pointer)>(); - - ffi.Pointer _objc_retain( - ffi.Pointer value, - ) { - return __objc_retain( - value, - ); - } - - late final __objc_retainPtr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer)>>('objc_retain'); - late final __objc_retain = __objc_retainPtr - .asFunction Function(ffi.Pointer)>(); - - void _objc_release( - ffi.Pointer value, - ) { - return __objc_release( - value, - ); - } - - late final __objc_releasePtr = - _lookup)>>( - 'objc_release'); - late final __objc_release = - __objc_releasePtr.asFunction)>(); - - late final _objc_releaseFinalizer2 = - ffi.NativeFinalizer(__objc_releasePtr.cast()); - late final _class_NSObject1 = _getClass1("NSObject"); - late final _sel_load1 = _registerName1("load"); + late final _class_NSObject1 = objc.getClass("NSObject"); + late final _sel_load1 = objc.registerName("load"); void _objc_msgSend_1( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_1( - obj, - sel, - ); + return __objc_msgSend_1(obj, sel); } late final __objc_msgSend_1Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1 = __objc_msgSend_1Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1 = + __objc_msgSend_1Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); - late final _sel_initialize1 = _registerName1("initialize"); - late final _sel_init1 = _registerName1("init"); + late final _sel_initialize1 = objc.registerName("initialize"); + late final _sel_init1 = objc.registerName("init"); instancetype _objc_msgSend_2( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_2( - obj, - sel, - ); + return __objc_msgSend_2(obj, sel); } late final __objc_msgSend_2Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_2 = __objc_msgSend_2Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer)>(); - - late final _sel_new1 = _registerName1("new"); - late final _sel_allocWithZone_1 = _registerName1("allocWithZone:"); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_2 = + __objc_msgSend_2Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_new1 = objc.registerName("new"); + late final _sel_allocWithZone_1 = objc.registerName("allocWithZone:"); instancetype _objc_msgSend_3( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ffi.Pointer<_NSZone> zone, ) { - return __objc_msgSend_3( - obj, - sel, - zone, - ); + return __objc_msgSend_3(obj, sel, zone); } late final __objc_msgSend_3Ptr = _lookup< - ffi.NativeFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer<_NSZone>)>>('objc_msgSend'); - late final __objc_msgSend_3 = __objc_msgSend_3Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer<_NSZone>)>(); - - late final _sel_alloc1 = _registerName1("alloc"); - late final _sel_dealloc1 = _registerName1("dealloc"); - late final _sel_finalize1 = _registerName1("finalize"); - late final _sel_copy1 = _registerName1("copy"); - late final _sel_mutableCopy1 = _registerName1("mutableCopy"); - late final _sel_copyWithZone_1 = _registerName1("copyWithZone:"); - late final _sel_mutableCopyWithZone_1 = - _registerName1("mutableCopyWithZone:"); - late final _sel_instancesRespondToSelector_1 = - _registerName1("instancesRespondToSelector:"); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_NSZone>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_3 = + __objc_msgSend_3Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_NSZone>, + ) + >(); + + late final _sel_alloc1 = objc.registerName("alloc"); + late final _sel_dealloc1 = objc.registerName("dealloc"); + late final _sel_finalize1 = objc.registerName("finalize"); + late final _sel_copy1 = objc.registerName("copy"); + late final _sel_mutableCopy1 = objc.registerName("mutableCopy"); + late final _sel_copyWithZone_1 = objc.registerName("copyWithZone:"); + late final _sel_mutableCopyWithZone_1 = objc.registerName( + "mutableCopyWithZone:", + ); + late final _sel_instancesRespondToSelector_1 = objc.registerName( + "instancesRespondToSelector:", + ); bool _objc_msgSend_4( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aSelector, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer aSelector, ) { - return __objc_msgSend_4( - obj, - sel, - aSelector, - ); + return __objc_msgSend_4(obj, sel, aSelector); } late final __objc_msgSend_4Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_4 = __objc_msgSend_4Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_4 = + __objc_msgSend_4Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); bool _objc_msgSend_0( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer clazz, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer clazz, ) { - return __objc_msgSend_0( - obj, - sel, - clazz, - ); + return __objc_msgSend_0(obj, sel, clazz); } late final __objc_msgSend_0Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_0 = __objc_msgSend_0Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_isKindOfClass_1 = _registerName1("isKindOfClass:"); - late final _class_Protocol1 = _getClass1("Protocol"); - late final _sel_conformsToProtocol_1 = _registerName1("conformsToProtocol:"); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_0 = + __objc_msgSend_0Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_isKindOfClass_1 = objc.registerName("isKindOfClass:"); + late final _class_Protocol1 = objc.getClass("Protocol"); + late final _sel_conformsToProtocol_1 = objc.registerName( + "conformsToProtocol:", + ); bool _objc_msgSend_5( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer protocol, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer protocol, ) { - return __objc_msgSend_5( - obj, - sel, - protocol, - ); + return __objc_msgSend_5(obj, sel, protocol); } late final __objc_msgSend_5Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_5 = __objc_msgSend_5Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_5 = + __objc_msgSend_5Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); - late final _sel_methodForSelector_1 = _registerName1("methodForSelector:"); + late final _sel_methodForSelector_1 = objc.registerName("methodForSelector:"); ffi.Pointer> _objc_msgSend_6( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aSelector, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer aSelector, ) { - return __objc_msgSend_6( - obj, - sel, - aSelector, - ); + return __objc_msgSend_6(obj, sel, aSelector); } late final __objc_msgSend_6Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer> Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_6 = __objc_msgSend_6Ptr.asFunction< + ffi.NativeFunction< ffi.Pointer> Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_instanceMethodForSelector_1 = - _registerName1("instanceMethodForSelector:"); - late final _sel_doesNotRecognizeSelector_1 = - _registerName1("doesNotRecognizeSelector:"); + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_6 = + __objc_msgSend_6Ptr + .asFunction< + ffi.Pointer> Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_instanceMethodForSelector_1 = objc.registerName( + "instanceMethodForSelector:", + ); + late final _sel_doesNotRecognizeSelector_1 = objc.registerName( + "doesNotRecognizeSelector:", + ); void _objc_msgSend_7( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aSelector, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer aSelector, ) { - return __objc_msgSend_7( - obj, - sel, - aSelector, - ); + return __objc_msgSend_7(obj, sel, aSelector); } late final __objc_msgSend_7Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_7 = __objc_msgSend_7Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_forwardingTargetForSelector_1 = - _registerName1("forwardingTargetForSelector:"); - ffi.Pointer _objc_msgSend_8( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aSelector, - ) { - return __objc_msgSend_8( - obj, - sel, - aSelector, - ); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_7 = + __objc_msgSend_7Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_forwardingTargetForSelector_1 = objc.registerName( + "forwardingTargetForSelector:", + ); + ffi.Pointer _objc_msgSend_8( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer aSelector, + ) { + return __objc_msgSend_8(obj, sel, aSelector); } late final __objc_msgSend_8Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_8 = __objc_msgSend_8Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _class_NSInvocation1 = _getClass1("NSInvocation"); - late final _class_NSMethodSignature1 = _getClass1("NSMethodSignature"); - late final _sel_signatureWithObjCTypes_1 = - _registerName1("signatureWithObjCTypes:"); - ffi.Pointer _objc_msgSend_9( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_8 = + __objc_msgSend_8Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _class_NSInvocation1 = objc.getClass("NSInvocation"); + late final _class_NSMethodSignature1 = objc.getClass("NSMethodSignature"); + late final _sel_signatureWithObjCTypes_1 = objc.registerName( + "signatureWithObjCTypes:", + ); + ffi.Pointer _objc_msgSend_9( + ffi.Pointer obj, + ffi.Pointer sel, ffi.Pointer types, ) { - return __objc_msgSend_9( - obj, - sel, - types, - ); + return __objc_msgSend_9(obj, sel, types); } late final __objc_msgSend_9Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_9 = __objc_msgSend_9Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_9 = + __objc_msgSend_9Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); - late final _sel_numberOfArguments1 = _registerName1("numberOfArguments"); + late final _sel_numberOfArguments1 = objc.registerName("numberOfArguments"); int _objc_msgSend_10( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_10( - obj, - sel, - ); + return __objc_msgSend_10(obj, sel); } late final __objc_msgSend_10Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_10 = __objc_msgSend_10Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer)>(); - - late final _sel_getArgumentTypeAtIndex_1 = - _registerName1("getArgumentTypeAtIndex:"); + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_10 = + __objc_msgSend_10Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_getArgumentTypeAtIndex_1 = objc.registerName( + "getArgumentTypeAtIndex:", + ); ffi.Pointer _objc_msgSend_11( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int idx, ) { - return __objc_msgSend_11( - obj, - sel, - idx, - ); + return __objc_msgSend_11(obj, sel, idx); } late final __objc_msgSend_11Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.UnsignedLong)>>('objc_msgSend'); - late final __objc_msgSend_11 = __objc_msgSend_11Ptr.asFunction< + ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_frameLength1 = _registerName1("frameLength"); - late final _sel_isOneway1 = _registerName1("isOneway"); + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_11 = + __objc_msgSend_11Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_frameLength1 = objc.registerName("frameLength"); + late final _sel_isOneway1 = objc.registerName("isOneway"); bool _objc_msgSend_12( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_12( - obj, - sel, - ); + return __objc_msgSend_12(obj, sel); } late final __objc_msgSend_12Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_12 = __objc_msgSend_12Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_12 = + __objc_msgSend_12Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); - late final _sel_methodReturnType1 = _registerName1("methodReturnType"); + late final _sel_methodReturnType1 = objc.registerName("methodReturnType"); ffi.Pointer _objc_msgSend_13( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_13( - obj, - sel, - ); + return __objc_msgSend_13(obj, sel); } late final __objc_msgSend_13Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_13 = __objc_msgSend_13Ptr.asFunction< + ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_13 = + __objc_msgSend_13Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); - late final _sel_methodReturnLength1 = _registerName1("methodReturnLength"); + late final _sel_methodReturnLength1 = objc.registerName("methodReturnLength"); late final _sel_cancelPreviousPerformRequestsWithTarget_selector_object_1 = - _registerName1( - "cancelPreviousPerformRequestsWithTarget:selector:object:"); + objc.registerName( + "cancelPreviousPerformRequestsWithTarget:selector:object:", + ); void _objc_msgSend_14( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aTarget, - ffi.Pointer aSelector, - ffi.Pointer anArgument, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer aTarget, + ffi.Pointer aSelector, + ffi.Pointer anArgument, ) { - return __objc_msgSend_14( - obj, - sel, - aTarget, - aSelector, - anArgument, - ); + return __objc_msgSend_14(obj, sel, aTarget, aSelector, anArgument); } late final __objc_msgSend_14Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_14 = __objc_msgSend_14Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_cancelPreviousPerformRequestsWithTarget_1 = - _registerName1("cancelPreviousPerformRequestsWithTarget:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_14 = + __objc_msgSend_14Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_cancelPreviousPerformRequestsWithTarget_1 = objc.registerName( + "cancelPreviousPerformRequestsWithTarget:", + ); void _objc_msgSend_15( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aTarget, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer aTarget, ) { - return __objc_msgSend_15( - obj, - sel, - aTarget, - ); + return __objc_msgSend_15(obj, sel, aTarget); } late final __objc_msgSend_15Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_15 = __objc_msgSend_15Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_accessInstanceVariablesDirectly1 = - _registerName1("accessInstanceVariablesDirectly"); - late final _sel_useStoredAccessor1 = _registerName1("useStoredAccessor"); - late final _class_NSSet1 = _getClass1("NSSet"); - late final _sel_count1 = _registerName1("count"); - late final _sel_member_1 = _registerName1("member:"); - ffi.Pointer _objc_msgSend_16( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer object, - ) { - return __objc_msgSend_16( - obj, - sel, - object, - ); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_15 = + __objc_msgSend_15Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_accessInstanceVariablesDirectly1 = objc.registerName( + "accessInstanceVariablesDirectly", + ); + late final _sel_useStoredAccessor1 = objc.registerName("useStoredAccessor"); + late final _class_NSSet1 = objc.getClass("NSSet"); + late final _sel_count1 = objc.registerName("count"); + late final _sel_member_1 = objc.registerName("member:"); + ffi.Pointer _objc_msgSend_16( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer object, + ) { + return __objc_msgSend_16(obj, sel, object); } late final __objc_msgSend_16Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_16 = __objc_msgSend_16Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _class_NSEnumerator1 = _getClass1("NSEnumerator"); - late final _sel_nextObject1 = _registerName1("nextObject"); - ffi.Pointer _objc_msgSend_17( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_17( - obj, - sel, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_16 = + __objc_msgSend_16Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _class_NSEnumerator1 = objc.getClass("NSEnumerator"); + late final _sel_nextObject1 = objc.registerName("nextObject"); + ffi.Pointer _objc_msgSend_17( + ffi.Pointer obj, + ffi.Pointer sel, + ) { + return __objc_msgSend_17(obj, sel); } late final __objc_msgSend_17Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_17 = __objc_msgSend_17Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_allObjects1 = _registerName1("allObjects"); - late final _class_NSString1 = _getClass1("NSString"); - late final _sel_length1 = _registerName1("length"); - late final _sel_characterAtIndex_1 = _registerName1("characterAtIndex:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_17 = + __objc_msgSend_17Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_allObjects1 = objc.registerName("allObjects"); + late final _class_NSString1 = objc.getClass("NSString"); + late final _sel_length1 = objc.registerName("length"); + late final _sel_characterAtIndex_1 = objc.registerName("characterAtIndex:"); int _objc_msgSend_18( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int index, ) { - return __objc_msgSend_18( - obj, - sel, - index, - ); + return __objc_msgSend_18(obj, sel, index); } late final __objc_msgSend_18Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedShort Function(ffi.Pointer, - ffi.Pointer, ffi.UnsignedLong)>>('objc_msgSend'); - late final __objc_msgSend_18 = __objc_msgSend_18Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer, int)>(); - - late final _class_NSCoder1 = _getClass1("NSCoder"); - late final _sel_encodeValueOfObjCType_at_1 = - _registerName1("encodeValueOfObjCType:at:"); + ffi.NativeFunction< + ffi.UnsignedShort Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_18 = + __objc_msgSend_18Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _class_NSCoder1 = objc.getClass("NSCoder"); + late final _sel_encodeValueOfObjCType_at_1 = objc.registerName( + "encodeValueOfObjCType:at:", + ); void _objc_msgSend_19( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ffi.Pointer type, ffi.Pointer addr, ) { - return __objc_msgSend_19( - obj, - sel, - type, - addr, - ); + return __objc_msgSend_19(obj, sel, type, addr); } late final __objc_msgSend_19Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_19 = __objc_msgSend_19Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _class_NSData1 = _getClass1("NSData"); - late final _sel_bytes1 = _registerName1("bytes"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_19 = + __objc_msgSend_19Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _class_NSData1 = objc.getClass("NSData"); + late final _sel_bytes1 = objc.registerName("bytes"); ffi.Pointer _objc_msgSend_20( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_20( - obj, - sel, - ); + return __objc_msgSend_20(obj, sel); } late final __objc_msgSend_20Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_20 = __objc_msgSend_20Ptr.asFunction< + ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_20 = + __objc_msgSend_20Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); - late final _sel_description1 = _registerName1("description"); - ffi.Pointer _objc_msgSend_21( - ffi.Pointer obj, - ffi.Pointer sel, + late final _sel_description1 = objc.registerName("description"); + ffi.Pointer _objc_msgSend_21( + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_21( - obj, - sel, - ); + return __objc_msgSend_21(obj, sel); } late final __objc_msgSend_21Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_21 = __objc_msgSend_21Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_21 = + __objc_msgSend_21Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); - late final _sel_getBytes_length_1 = _registerName1("getBytes:length:"); + late final _sel_getBytes_length_1 = objc.registerName("getBytes:length:"); void _objc_msgSend_22( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ffi.Pointer buffer, int length, ) { - return __objc_msgSend_22( - obj, - sel, - buffer, - length, - ); + return __objc_msgSend_22(obj, sel, buffer, length); } late final __objc_msgSend_22Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.UnsignedLong)>>('objc_msgSend'); - late final __objc_msgSend_22 = __objc_msgSend_22Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_22 = + __objc_msgSend_22Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); - late final _sel_getBytes_range_1 = _registerName1("getBytes:range:"); + late final _sel_getBytes_range_1 = objc.registerName("getBytes:range:"); void _objc_msgSend_23( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ffi.Pointer buffer, _NSRange range, ) { - return __objc_msgSend_23( - obj, - sel, - buffer, - range, - ); + return __objc_msgSend_23(obj, sel, buffer, range); } late final __objc_msgSend_23Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, _NSRange)>>('objc_msgSend'); - late final __objc_msgSend_23 = __objc_msgSend_23Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, _NSRange)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_23 = + __objc_msgSend_23Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange, + ) + >(); - late final _sel_isEqualToData_1 = _registerName1("isEqualToData:"); + late final _sel_isEqualToData_1 = objc.registerName("isEqualToData:"); bool _objc_msgSend_24( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer other, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer other, ) { - return __objc_msgSend_24( - obj, - sel, - other, - ); + return __objc_msgSend_24(obj, sel, other); } late final __objc_msgSend_24Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_24 = __objc_msgSend_24Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_subdataWithRange_1 = _registerName1("subdataWithRange:"); - ffi.Pointer _objc_msgSend_25( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_24 = + __objc_msgSend_24Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_subdataWithRange_1 = objc.registerName("subdataWithRange:"); + ffi.Pointer _objc_msgSend_25( + ffi.Pointer obj, + ffi.Pointer sel, _NSRange range, ) { - return __objc_msgSend_25( - obj, - sel, - range, - ); + return __objc_msgSend_25(obj, sel, range); } late final __objc_msgSend_25Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, _NSRange)>>('objc_msgSend'); - late final __objc_msgSend_25 = __objc_msgSend_25Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer, _NSRange)>(); - - late final _sel_writeToFile_atomically_1 = - _registerName1("writeToFile:atomically:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_25 = + __objc_msgSend_25Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ) + >(); + + late final _sel_writeToFile_atomically_1 = objc.registerName( + "writeToFile:atomically:", + ); bool _objc_msgSend_26( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer path, bool useAuxiliaryFile, ) { - return __objc_msgSend_26( - obj, - sel, - path, - useAuxiliaryFile, - ); + return __objc_msgSend_26(obj, sel, path, useAuxiliaryFile); } late final __objc_msgSend_26Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Bool)>>('objc_msgSend'); - late final __objc_msgSend_26 = __objc_msgSend_26Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, bool)>(); - - late final _class_NSURL1 = _getClass1("NSURL"); - late final _sel_initWithScheme_host_path_1 = - _registerName1("initWithScheme:host:path:"); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_26 = + __objc_msgSend_26Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool, + ) + >(); + + late final _class_NSURL1 = objc.getClass("NSURL"); + late final _sel_initWithScheme_host_path_1 = objc.registerName( + "initWithScheme:host:path:", + ); instancetype _objc_msgSend_27( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer scheme, - ffi.Pointer host, - ffi.Pointer path, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer scheme, + ffi.Pointer host, + ffi.Pointer path, ) { - return __objc_msgSend_27( - obj, - sel, - scheme, - host, - path, - ); + return __objc_msgSend_27(obj, sel, scheme, host, path); } late final __objc_msgSend_27Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_27 = __objc_msgSend_27Ptr.asFunction< + ffi.NativeFunction< instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_initFileURLWithPath_isDirectory_relativeToURL_1 = - _registerName1("initFileURLWithPath:isDirectory:relativeToURL:"); + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_27 = + __objc_msgSend_27Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_initFileURLWithPath_isDirectory_relativeToURL_1 = objc + .registerName("initFileURLWithPath:isDirectory:relativeToURL:"); instancetype _objc_msgSend_28( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer path, bool isDir, - ffi.Pointer baseURL, + ffi.Pointer baseURL, ) { - return __objc_msgSend_28( - obj, - sel, - path, - isDir, - baseURL, - ); + return __objc_msgSend_28(obj, sel, path, isDir, baseURL); } late final __objc_msgSend_28Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_28 = __objc_msgSend_28Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, bool, ffi.Pointer)>(); - - late final _sel_initFileURLWithPath_relativeToURL_1 = - _registerName1("initFileURLWithPath:relativeToURL:"); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_28 = + __objc_msgSend_28Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool, + ffi.Pointer, + ) + >(); + + late final _sel_initFileURLWithPath_relativeToURL_1 = objc.registerName( + "initFileURLWithPath:relativeToURL:", + ); instancetype _objc_msgSend_29( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, - ffi.Pointer baseURL, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer path, + ffi.Pointer baseURL, ) { - return __objc_msgSend_29( - obj, - sel, - path, - baseURL, - ); + return __objc_msgSend_29(obj, sel, path, baseURL); } late final __objc_msgSend_29Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_29 = __objc_msgSend_29Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_initFileURLWithPath_isDirectory_1 = - _registerName1("initFileURLWithPath:isDirectory:"); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_29 = + __objc_msgSend_29Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_initFileURLWithPath_isDirectory_1 = objc.registerName( + "initFileURLWithPath:isDirectory:", + ); instancetype _objc_msgSend_30( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer path, bool isDir, ) { - return __objc_msgSend_30( - obj, - sel, - path, - isDir, - ); + return __objc_msgSend_30(obj, sel, path, isDir); } late final __objc_msgSend_30Ptr = _lookup< - ffi.NativeFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Bool)>>('objc_msgSend'); - late final __objc_msgSend_30 = __objc_msgSend_30Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, bool)>(); - - late final _sel_initFileURLWithPath_1 = - _registerName1("initFileURLWithPath:"); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_30 = + __objc_msgSend_30Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool, + ) + >(); + + late final _sel_initFileURLWithPath_1 = objc.registerName( + "initFileURLWithPath:", + ); instancetype _objc_msgSend_31( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer path, ) { - return __objc_msgSend_31( - obj, - sel, - path, - ); + return __objc_msgSend_31(obj, sel, path); } late final __objc_msgSend_31Ptr = _lookup< - ffi.NativeFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_31 = __objc_msgSend_31Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_fileURLWithPath_isDirectory_relativeToURL_1 = - _registerName1("fileURLWithPath:isDirectory:relativeToURL:"); - ffi.Pointer _objc_msgSend_32( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_31 = + __objc_msgSend_31Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_fileURLWithPath_isDirectory_relativeToURL_1 = objc + .registerName("fileURLWithPath:isDirectory:relativeToURL:"); + ffi.Pointer _objc_msgSend_32( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer path, bool isDir, - ffi.Pointer baseURL, + ffi.Pointer baseURL, ) { - return __objc_msgSend_32( - obj, - sel, - path, - isDir, - baseURL, - ); + return __objc_msgSend_32(obj, sel, path, isDir, baseURL); } late final __objc_msgSend_32Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_32 = __objc_msgSend_32Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - ffi.Pointer)>(); - - late final _sel_fileURLWithPath_relativeToURL_1 = - _registerName1("fileURLWithPath:relativeToURL:"); - ffi.Pointer _objc_msgSend_33( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, - ffi.Pointer baseURL, - ) { - return __objc_msgSend_33( - obj, - sel, - path, - baseURL, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_32 = + __objc_msgSend_32Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool, + ffi.Pointer, + ) + >(); + + late final _sel_fileURLWithPath_relativeToURL_1 = objc.registerName( + "fileURLWithPath:relativeToURL:", + ); + ffi.Pointer _objc_msgSend_33( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer path, + ffi.Pointer baseURL, + ) { + return __objc_msgSend_33(obj, sel, path, baseURL); } late final __objc_msgSend_33Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_33 = __objc_msgSend_33Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_fileURLWithPath_isDirectory_1 = - _registerName1("fileURLWithPath:isDirectory:"); - ffi.Pointer _objc_msgSend_34( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_33 = + __objc_msgSend_33Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_fileURLWithPath_isDirectory_1 = objc.registerName( + "fileURLWithPath:isDirectory:", + ); + ffi.Pointer _objc_msgSend_34( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer path, bool isDir, ) { - return __objc_msgSend_34( - obj, - sel, - path, - isDir, - ); + return __objc_msgSend_34(obj, sel, path, isDir); } late final __objc_msgSend_34Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Bool)>>('objc_msgSend'); - late final __objc_msgSend_34 = __objc_msgSend_34Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer, bool)>(); - - late final _sel_fileURLWithPath_1 = _registerName1("fileURLWithPath:"); - ffi.Pointer _objc_msgSend_35( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, - ) { - return __objc_msgSend_35( - obj, - sel, - path, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_34 = + __objc_msgSend_34Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool, + ) + >(); + + late final _sel_fileURLWithPath_1 = objc.registerName("fileURLWithPath:"); + ffi.Pointer _objc_msgSend_35( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer path, + ) { + return __objc_msgSend_35(obj, sel, path); } late final __objc_msgSend_35Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_35 = __objc_msgSend_35Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_35 = + __objc_msgSend_35Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_initFileURLWithFileSystemRepresentation_isDirectory_relativeToURL_1 = - _registerName1( - "initFileURLWithFileSystemRepresentation:isDirectory:relativeToURL:"); + objc.registerName( + "initFileURLWithFileSystemRepresentation:isDirectory:relativeToURL:", + ); instancetype _objc_msgSend_36( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ffi.Pointer path, bool isDir, - ffi.Pointer baseURL, + ffi.Pointer baseURL, ) { - return __objc_msgSend_36( - obj, - sel, - path, - isDir, - baseURL, - ); + return __objc_msgSend_36(obj, sel, path, isDir, baseURL); } late final __objc_msgSend_36Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_36 = + __objc_msgSend_36Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, ffi.Pointer, - ffi.Bool, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_36 = __objc_msgSend_36Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, bool, ffi.Pointer)>(); + bool, + ffi.Pointer, + ) + >(); late final _sel_fileURLWithFileSystemRepresentation_isDirectory_relativeToURL_1 = - _registerName1( - "fileURLWithFileSystemRepresentation:isDirectory:relativeToURL:"); - ffi.Pointer _objc_msgSend_37( - ffi.Pointer obj, - ffi.Pointer sel, + objc.registerName( + "fileURLWithFileSystemRepresentation:isDirectory:relativeToURL:", + ); + ffi.Pointer _objc_msgSend_37( + ffi.Pointer obj, + ffi.Pointer sel, ffi.Pointer path, bool isDir, - ffi.Pointer baseURL, + ffi.Pointer baseURL, ) { - return __objc_msgSend_37( - obj, - sel, - path, - isDir, - baseURL, - ); + return __objc_msgSend_37(obj, sel, path, isDir, baseURL); } late final __objc_msgSend_37Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_37 = + __objc_msgSend_37Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, ffi.Pointer, - ffi.Bool, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_37 = __objc_msgSend_37Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - ffi.Pointer)>(); + bool, + ffi.Pointer, + ) + >(); - late final _sel_initWithString_1 = _registerName1("initWithString:"); + late final _sel_initWithString_1 = objc.registerName("initWithString:"); instancetype _objc_msgSend_38( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer URLString, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer URLString, ) { - return __objc_msgSend_38( - obj, - sel, - URLString, - ); + return __objc_msgSend_38(obj, sel, URLString); } late final __objc_msgSend_38Ptr = _lookup< - ffi.NativeFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_38 = __objc_msgSend_38Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_initWithString_relativeToURL_1 = - _registerName1("initWithString:relativeToURL:"); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_38 = + __objc_msgSend_38Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_initWithString_relativeToURL_1 = objc.registerName( + "initWithString:relativeToURL:", + ); instancetype _objc_msgSend_39( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer URLString, - ffi.Pointer baseURL, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer URLString, + ffi.Pointer baseURL, ) { - return __objc_msgSend_39( - obj, - sel, - URLString, - baseURL, - ); + return __objc_msgSend_39(obj, sel, URLString, baseURL); } late final __objc_msgSend_39Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_39 = __objc_msgSend_39Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_URLWithString_1 = _registerName1("URLWithString:"); - late final _sel_URLWithString_relativeToURL_1 = - _registerName1("URLWithString:relativeToURL:"); - late final _sel_initWithString_encodingInvalidCharacters_1 = - _registerName1("initWithString:encodingInvalidCharacters:"); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_39 = + __objc_msgSend_39Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_URLWithString_1 = objc.registerName("URLWithString:"); + late final _sel_URLWithString_relativeToURL_1 = objc.registerName( + "URLWithString:relativeToURL:", + ); + late final _sel_initWithString_encodingInvalidCharacters_1 = objc + .registerName("initWithString:encodingInvalidCharacters:"); instancetype _objc_msgSend_40( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer URLString, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer URLString, bool encodingInvalidCharacters, ) { - return __objc_msgSend_40( - obj, - sel, - URLString, - encodingInvalidCharacters, - ); + return __objc_msgSend_40(obj, sel, URLString, encodingInvalidCharacters); } late final __objc_msgSend_40Ptr = _lookup< - ffi.NativeFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Bool)>>('objc_msgSend'); - late final __objc_msgSend_40 = __objc_msgSend_40Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, bool)>(); - - late final _sel_URLWithString_encodingInvalidCharacters_1 = - _registerName1("URLWithString:encodingInvalidCharacters:"); - late final _sel_initWithDataRepresentation_relativeToURL_1 = - _registerName1("initWithDataRepresentation:relativeToURL:"); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_40 = + __objc_msgSend_40Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool, + ) + >(); + + late final _sel_URLWithString_encodingInvalidCharacters_1 = objc.registerName( + "URLWithString:encodingInvalidCharacters:", + ); + late final _sel_initWithDataRepresentation_relativeToURL_1 = objc + .registerName("initWithDataRepresentation:relativeToURL:"); instancetype _objc_msgSend_41( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer data, - ffi.Pointer baseURL, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer data, + ffi.Pointer baseURL, ) { - return __objc_msgSend_41( - obj, - sel, - data, - baseURL, - ); + return __objc_msgSend_41(obj, sel, data, baseURL); } late final __objc_msgSend_41Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_41 = __objc_msgSend_41Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_URLWithDataRepresentation_relativeToURL_1 = - _registerName1("URLWithDataRepresentation:relativeToURL:"); - ffi.Pointer _objc_msgSend_42( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer data, - ffi.Pointer baseURL, - ) { - return __objc_msgSend_42( - obj, - sel, - data, - baseURL, - ); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_41 = + __objc_msgSend_41Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_URLWithDataRepresentation_relativeToURL_1 = objc.registerName( + "URLWithDataRepresentation:relativeToURL:", + ); + ffi.Pointer _objc_msgSend_42( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer data, + ffi.Pointer baseURL, + ) { + return __objc_msgSend_42(obj, sel, data, baseURL); } late final __objc_msgSend_42Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_42 = __objc_msgSend_42Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_initAbsoluteURLWithDataRepresentation_relativeToURL_1 = - _registerName1("initAbsoluteURLWithDataRepresentation:relativeToURL:"); - late final _sel_absoluteURLWithDataRepresentation_relativeToURL_1 = - _registerName1("absoluteURLWithDataRepresentation:relativeToURL:"); - late final _sel_dataRepresentation1 = _registerName1("dataRepresentation"); - ffi.Pointer _objc_msgSend_43( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_43( - obj, - sel, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_42 = + __objc_msgSend_42Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_initAbsoluteURLWithDataRepresentation_relativeToURL_1 = objc + .registerName("initAbsoluteURLWithDataRepresentation:relativeToURL:"); + late final _sel_absoluteURLWithDataRepresentation_relativeToURL_1 = objc + .registerName("absoluteURLWithDataRepresentation:relativeToURL:"); + late final _sel_dataRepresentation1 = objc.registerName("dataRepresentation"); + ffi.Pointer _objc_msgSend_43( + ffi.Pointer obj, + ffi.Pointer sel, + ) { + return __objc_msgSend_43(obj, sel); } late final __objc_msgSend_43Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_43 = __objc_msgSend_43Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_absoluteString1 = _registerName1("absoluteString"); - ffi.Pointer _objc_msgSend_44( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_44( - obj, - sel, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_43 = + __objc_msgSend_43Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_absoluteString1 = objc.registerName("absoluteString"); + ffi.Pointer _objc_msgSend_44( + ffi.Pointer obj, + ffi.Pointer sel, + ) { + return __objc_msgSend_44(obj, sel); } late final __objc_msgSend_44Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_44 = __objc_msgSend_44Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_relativeString1 = _registerName1("relativeString"); - late final _sel_baseURL1 = _registerName1("baseURL"); - ffi.Pointer _objc_msgSend_45( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_45( - obj, - sel, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_44 = + __objc_msgSend_44Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_relativeString1 = objc.registerName("relativeString"); + late final _sel_baseURL1 = objc.registerName("baseURL"); + ffi.Pointer _objc_msgSend_45( + ffi.Pointer obj, + ffi.Pointer sel, + ) { + return __objc_msgSend_45(obj, sel); } late final __objc_msgSend_45Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_45 = __objc_msgSend_45Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_absoluteURL1 = _registerName1("absoluteURL"); - late final _sel_scheme1 = _registerName1("scheme"); - late final _sel_resourceSpecifier1 = _registerName1("resourceSpecifier"); - late final _sel_host1 = _registerName1("host"); - late final _class_NSNumber1 = _getClass1("NSNumber"); - late final _class_NSValue1 = _getClass1("NSValue"); - late final _sel_getValue_size_1 = _registerName1("getValue:size:"); - late final _sel_objCType1 = _registerName1("objCType"); - late final _sel_initWithBytes_objCType_1 = - _registerName1("initWithBytes:objCType:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_45 = + __objc_msgSend_45Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_absoluteURL1 = objc.registerName("absoluteURL"); + late final _sel_scheme1 = objc.registerName("scheme"); + late final _sel_resourceSpecifier1 = objc.registerName("resourceSpecifier"); + late final _sel_host1 = objc.registerName("host"); + late final _class_NSNumber1 = objc.getClass("NSNumber"); + late final _class_NSValue1 = objc.getClass("NSValue"); + late final _sel_getValue_size_1 = objc.registerName("getValue:size:"); + late final _sel_objCType1 = objc.registerName("objCType"); + late final _sel_initWithBytes_objCType_1 = objc.registerName( + "initWithBytes:objCType:", + ); instancetype _objc_msgSend_46( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ffi.Pointer value, ffi.Pointer type, ) { - return __objc_msgSend_46( - obj, - sel, - value, - type, - ); + return __objc_msgSend_46(obj, sel, value, type); } late final __objc_msgSend_46Ptr = _lookup< - ffi.NativeFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_46 = __objc_msgSend_46Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_46 = + __objc_msgSend_46Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); - late final _sel_initWithCoder_1 = _registerName1("initWithCoder:"); + late final _sel_initWithCoder_1 = objc.registerName("initWithCoder:"); instancetype _objc_msgSend_47( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer coder, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer coder, ) { - return __objc_msgSend_47( - obj, - sel, - coder, - ); + return __objc_msgSend_47(obj, sel, coder); } late final __objc_msgSend_47Ptr = _lookup< - ffi.NativeFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_47 = __objc_msgSend_47Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_valueWithBytes_objCType_1 = - _registerName1("valueWithBytes:objCType:"); - ffi.Pointer _objc_msgSend_48( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_47 = + __objc_msgSend_47Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_valueWithBytes_objCType_1 = objc.registerName( + "valueWithBytes:objCType:", + ); + ffi.Pointer _objc_msgSend_48( + ffi.Pointer obj, + ffi.Pointer sel, ffi.Pointer value, ffi.Pointer type, ) { - return __objc_msgSend_48( - obj, - sel, - value, - type, - ); + return __objc_msgSend_48(obj, sel, value, type); } late final __objc_msgSend_48Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_48 = + __objc_msgSend_48Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_48 = __objc_msgSend_48Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); + ffi.Pointer, + ) + >(); - late final _sel_value_withObjCType_1 = _registerName1("value:withObjCType:"); - late final _sel_valueWithNonretainedObject_1 = - _registerName1("valueWithNonretainedObject:"); - ffi.Pointer _objc_msgSend_49( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer anObject, + late final _sel_value_withObjCType_1 = objc.registerName( + "value:withObjCType:", + ); + late final _sel_valueWithNonretainedObject_1 = objc.registerName( + "valueWithNonretainedObject:", + ); + ffi.Pointer _objc_msgSend_49( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer anObject, ) { - return __objc_msgSend_49( - obj, - sel, - anObject, - ); + return __objc_msgSend_49(obj, sel, anObject); } late final __objc_msgSend_49Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_49 = __objc_msgSend_49Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_nonretainedObjectValue1 = - _registerName1("nonretainedObjectValue"); - late final _sel_valueWithPointer_1 = _registerName1("valueWithPointer:"); - ffi.Pointer _objc_msgSend_50( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_49 = + __objc_msgSend_49Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_nonretainedObjectValue1 = objc.registerName( + "nonretainedObjectValue", + ); + late final _sel_valueWithPointer_1 = objc.registerName("valueWithPointer:"); + ffi.Pointer _objc_msgSend_50( + ffi.Pointer obj, + ffi.Pointer sel, ffi.Pointer pointer, ) { - return __objc_msgSend_50( - obj, - sel, - pointer, - ); + return __objc_msgSend_50(obj, sel, pointer); } late final __objc_msgSend_50Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_50 = __objc_msgSend_50Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_pointerValue1 = _registerName1("pointerValue"); - late final _sel_isEqualToValue_1 = _registerName1("isEqualToValue:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_50 = + __objc_msgSend_50Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_pointerValue1 = objc.registerName("pointerValue"); + late final _sel_isEqualToValue_1 = objc.registerName("isEqualToValue:"); bool _objc_msgSend_51( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value, ) { - return __objc_msgSend_51( - obj, - sel, - value, - ); + return __objc_msgSend_51(obj, sel, value); } late final __objc_msgSend_51Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_51 = __objc_msgSend_51Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_51 = + __objc_msgSend_51Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); - late final _sel_getValue_1 = _registerName1("getValue:"); + late final _sel_getValue_1 = objc.registerName("getValue:"); void _objc_msgSend_52( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ffi.Pointer value, ) { - return __objc_msgSend_52( - obj, - sel, - value, - ); + return __objc_msgSend_52(obj, sel, value); } late final __objc_msgSend_52Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_52 = __objc_msgSend_52Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_valueWithRange_1 = _registerName1("valueWithRange:"); - ffi.Pointer _objc_msgSend_53( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_52 = + __objc_msgSend_52Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_valueWithRange_1 = objc.registerName("valueWithRange:"); + ffi.Pointer _objc_msgSend_53( + ffi.Pointer obj, + ffi.Pointer sel, _NSRange range, ) { - return __objc_msgSend_53( - obj, - sel, - range, - ); + return __objc_msgSend_53(obj, sel, range); } late final __objc_msgSend_53Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, _NSRange)>>('objc_msgSend'); - late final __objc_msgSend_53 = __objc_msgSend_53Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer, _NSRange)>(); - - late final _sel_rangeValue1 = _registerName1("rangeValue"); - late final _objc_msgSend_useVariants1 = ffi.Abi.current() == ffi.Abi.iosX64 || - ffi.Abi.current() == ffi.Abi.macosX64; + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_53 = + __objc_msgSend_53Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ) + >(); + + late final _sel_rangeValue1 = objc.registerName("rangeValue"); _NSRange _objc_msgSend_54( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_54( - obj, - sel, - ); + return __objc_msgSend_54(obj, sel); } late final __objc_msgSend_54Ptr = _lookup< - ffi.NativeFunction< - _NSRange Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_54 = __objc_msgSend_54Ptr.asFunction< - _NSRange Function(ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + _NSRange Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_54 = + __objc_msgSend_54Ptr + .asFunction< + _NSRange Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); void _objc_msgSend_54_stret( ffi.Pointer<_NSRange> stret, - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_54_stret( - stret, - obj, - sel, - ); + return __objc_msgSend_54_stret(stret, obj, sel); } late final __objc_msgSend_54_stretPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer<_NSRange>, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend_stret'); - late final __objc_msgSend_54_stret = __objc_msgSend_54_stretPtr.asFunction< - void Function(ffi.Pointer<_NSRange>, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_valueWithPoint_1 = _registerName1("valueWithPoint:"); - ffi.Pointer _objc_msgSend_55( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer<_NSRange>, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend_stret'); + late final __objc_msgSend_54_stret = + __objc_msgSend_54_stretPtr + .asFunction< + void Function( + ffi.Pointer<_NSRange>, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_valueWithPoint_1 = objc.registerName("valueWithPoint:"); + ffi.Pointer _objc_msgSend_55( + ffi.Pointer obj, + ffi.Pointer sel, CGPoint point, ) { - return __objc_msgSend_55( - obj, - sel, - point, - ); + return __objc_msgSend_55(obj, sel, point); } late final __objc_msgSend_55Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, CGPoint)>>('objc_msgSend'); - late final __objc_msgSend_55 = __objc_msgSend_55Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer, CGPoint)>(); - - late final _sel_valueWithSize_1 = _registerName1("valueWithSize:"); - ffi.Pointer _objc_msgSend_56( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + CGPoint, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_55 = + __objc_msgSend_55Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + CGPoint, + ) + >(); + + late final _sel_valueWithSize_1 = objc.registerName("valueWithSize:"); + ffi.Pointer _objc_msgSend_56( + ffi.Pointer obj, + ffi.Pointer sel, CGSize size, ) { - return __objc_msgSend_56( - obj, - sel, - size, - ); + return __objc_msgSend_56(obj, sel, size); } late final __objc_msgSend_56Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, CGSize)>>('objc_msgSend'); - late final __objc_msgSend_56 = __objc_msgSend_56Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer, CGSize)>(); - - late final _sel_valueWithRect_1 = _registerName1("valueWithRect:"); - ffi.Pointer _objc_msgSend_57( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + CGSize, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_56 = + __objc_msgSend_56Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + CGSize, + ) + >(); + + late final _sel_valueWithRect_1 = objc.registerName("valueWithRect:"); + ffi.Pointer _objc_msgSend_57( + ffi.Pointer obj, + ffi.Pointer sel, CGRect rect, ) { - return __objc_msgSend_57( - obj, - sel, - rect, - ); + return __objc_msgSend_57(obj, sel, rect); } late final __objc_msgSend_57Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, CGRect)>>('objc_msgSend'); - late final __objc_msgSend_57 = __objc_msgSend_57Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer, CGRect)>(); - - late final _sel_valueWithEdgeInsets_1 = - _registerName1("valueWithEdgeInsets:"); - ffi.Pointer _objc_msgSend_58( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + CGRect, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_57 = + __objc_msgSend_57Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + CGRect, + ) + >(); + + late final _sel_valueWithEdgeInsets_1 = objc.registerName( + "valueWithEdgeInsets:", + ); + ffi.Pointer _objc_msgSend_58( + ffi.Pointer obj, + ffi.Pointer sel, NSEdgeInsets insets, ) { - return __objc_msgSend_58( - obj, - sel, - insets, - ); + return __objc_msgSend_58(obj, sel, insets); } late final __objc_msgSend_58Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, NSEdgeInsets)>>('objc_msgSend'); - late final __objc_msgSend_58 = __objc_msgSend_58Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer, NSEdgeInsets)>(); - - late final _sel_pointValue1 = _registerName1("pointValue"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + NSEdgeInsets, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_58 = + __objc_msgSend_58Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + NSEdgeInsets, + ) + >(); + + late final _sel_pointValue1 = objc.registerName("pointValue"); CGPoint _objc_msgSend_59( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_59( - obj, - sel, - ); + return __objc_msgSend_59(obj, sel); } late final __objc_msgSend_59Ptr = _lookup< - ffi.NativeFunction< - CGPoint Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_59 = __objc_msgSend_59Ptr.asFunction< - CGPoint Function(ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + CGPoint Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_59 = + __objc_msgSend_59Ptr + .asFunction< + CGPoint Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); void _objc_msgSend_59_stret( ffi.Pointer stret, - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_59_stret( - stret, - obj, - sel, - ); + return __objc_msgSend_59_stret(stret, obj, sel); } late final __objc_msgSend_59_stretPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend_stret'); - late final __objc_msgSend_59_stret = __objc_msgSend_59_stretPtr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend_stret'); + late final __objc_msgSend_59_stret = + __objc_msgSend_59_stretPtr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); - late final _sel_sizeValue1 = _registerName1("sizeValue"); + late final _sel_sizeValue1 = objc.registerName("sizeValue"); CGSize _objc_msgSend_60( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_60( - obj, - sel, - ); + return __objc_msgSend_60(obj, sel); } late final __objc_msgSend_60Ptr = _lookup< - ffi.NativeFunction< - CGSize Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_60 = __objc_msgSend_60Ptr.asFunction< - CGSize Function(ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + CGSize Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_60 = + __objc_msgSend_60Ptr + .asFunction< + CGSize Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); void _objc_msgSend_60_stret( ffi.Pointer stret, - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_60_stret( - stret, - obj, - sel, - ); + return __objc_msgSend_60_stret(stret, obj, sel); } late final __objc_msgSend_60_stretPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend_stret'); - late final __objc_msgSend_60_stret = __objc_msgSend_60_stretPtr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend_stret'); + late final __objc_msgSend_60_stret = + __objc_msgSend_60_stretPtr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); - late final _sel_rectValue1 = _registerName1("rectValue"); + late final _sel_rectValue1 = objc.registerName("rectValue"); CGRect _objc_msgSend_61( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_61( - obj, - sel, - ); + return __objc_msgSend_61(obj, sel); } late final __objc_msgSend_61Ptr = _lookup< - ffi.NativeFunction< - CGRect Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_61 = __objc_msgSend_61Ptr.asFunction< - CGRect Function(ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + CGRect Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_61 = + __objc_msgSend_61Ptr + .asFunction< + CGRect Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); void _objc_msgSend_61_stret( ffi.Pointer stret, - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_61_stret( - stret, - obj, - sel, - ); + return __objc_msgSend_61_stret(stret, obj, sel); } late final __objc_msgSend_61_stretPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend_stret'); - late final __objc_msgSend_61_stret = __objc_msgSend_61_stretPtr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend_stret'); + late final __objc_msgSend_61_stret = + __objc_msgSend_61_stretPtr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); - late final _sel_edgeInsetsValue1 = _registerName1("edgeInsetsValue"); + late final _sel_edgeInsetsValue1 = objc.registerName("edgeInsetsValue"); NSEdgeInsets _objc_msgSend_62( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_62( - obj, - sel, - ); + return __objc_msgSend_62(obj, sel); } late final __objc_msgSend_62Ptr = _lookup< - ffi.NativeFunction< - NSEdgeInsets Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_62 = __objc_msgSend_62Ptr.asFunction< - NSEdgeInsets Function(ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + NSEdgeInsets Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_62 = + __objc_msgSend_62Ptr + .asFunction< + NSEdgeInsets Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); void _objc_msgSend_62_stret( ffi.Pointer stret, - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_62_stret( - stret, - obj, - sel, - ); + return __objc_msgSend_62_stret(stret, obj, sel); } late final __objc_msgSend_62_stretPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend_stret'); - late final __objc_msgSend_62_stret = __objc_msgSend_62_stretPtr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_keyPathsForValuesAffectingValueForKey_1 = - _registerName1("keyPathsForValuesAffectingValueForKey:"); - ffi.Pointer _objc_msgSend_63( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer key, - ) { - return __objc_msgSend_63( - obj, - sel, - key, - ); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend_stret'); + late final __objc_msgSend_62_stret = + __objc_msgSend_62_stretPtr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_keyPathsForValuesAffectingValueForKey_1 = objc.registerName( + "keyPathsForValuesAffectingValueForKey:", + ); + ffi.Pointer _objc_msgSend_63( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer key, + ) { + return __objc_msgSend_63(obj, sel, key); } late final __objc_msgSend_63Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_63 = __objc_msgSend_63Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_automaticallyNotifiesObserversForKey_1 = - _registerName1("automaticallyNotifiesObserversForKey:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_63 = + __objc_msgSend_63Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_automaticallyNotifiesObserversForKey_1 = objc.registerName( + "automaticallyNotifiesObserversForKey:", + ); bool _objc_msgSend_64( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer key, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer key, ) { - return __objc_msgSend_64( - obj, - sel, - key, - ); + return __objc_msgSend_64(obj, sel, key); } late final __objc_msgSend_64Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_64 = __objc_msgSend_64Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _class_NSArray1 = _getClass1("NSArray"); - late final _sel_objectAtIndex_1 = _registerName1("objectAtIndex:"); - ffi.Pointer _objc_msgSend_65( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_64 = + __objc_msgSend_64Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _class_NSArray1 = objc.getClass("NSArray"); + late final _sel_objectAtIndex_1 = objc.registerName("objectAtIndex:"); + ffi.Pointer _objc_msgSend_65( + ffi.Pointer obj, + ffi.Pointer sel, int index, ) { - return __objc_msgSend_65( - obj, - sel, - index, - ); + return __objc_msgSend_65(obj, sel, index); } late final __objc_msgSend_65Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.UnsignedLong)>>('objc_msgSend'); - late final __objc_msgSend_65 = __objc_msgSend_65Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_initWithObjects_count_1 = - _registerName1("initWithObjects:count:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_65 = + __objc_msgSend_65Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_initWithObjects_count_1 = objc.registerName( + "initWithObjects:count:", + ); instancetype _objc_msgSend_66( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer> objects, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer> objects, int cnt, ) { - return __objc_msgSend_66( - obj, - sel, - objects, - cnt, - ); + return __objc_msgSend_66(obj, sel, objects, cnt); } late final __objc_msgSend_66Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.UnsignedLong)>>('objc_msgSend'); - late final __objc_msgSend_66 = __objc_msgSend_66Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer>, int)>(); - - late final _sel_arrayByAddingObject_1 = - _registerName1("arrayByAddingObject:"); - ffi.Pointer _objc_msgSend_67( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer anObject, - ) { - return __objc_msgSend_67( - obj, - sel, - anObject, - ); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_66 = + __objc_msgSend_66Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + int, + ) + >(); + + late final _sel_arrayByAddingObject_1 = objc.registerName( + "arrayByAddingObject:", + ); + ffi.Pointer _objc_msgSend_67( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer anObject, + ) { + return __objc_msgSend_67(obj, sel, anObject); } late final __objc_msgSend_67Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_67 = __objc_msgSend_67Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_arrayByAddingObjectsFromArray_1 = - _registerName1("arrayByAddingObjectsFromArray:"); - ffi.Pointer _objc_msgSend_68( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer otherArray, - ) { - return __objc_msgSend_68( - obj, - sel, - otherArray, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_67 = + __objc_msgSend_67Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_arrayByAddingObjectsFromArray_1 = objc.registerName( + "arrayByAddingObjectsFromArray:", + ); + ffi.Pointer _objc_msgSend_68( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer otherArray, + ) { + return __objc_msgSend_68(obj, sel, otherArray); } late final __objc_msgSend_68Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_68 = __objc_msgSend_68Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_componentsJoinedByString_1 = - _registerName1("componentsJoinedByString:"); - ffi.Pointer _objc_msgSend_69( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer separator, - ) { - return __objc_msgSend_69( - obj, - sel, - separator, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_68 = + __objc_msgSend_68Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_componentsJoinedByString_1 = objc.registerName( + "componentsJoinedByString:", + ); + ffi.Pointer _objc_msgSend_69( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer separator, + ) { + return __objc_msgSend_69(obj, sel, separator); } late final __objc_msgSend_69Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_69 = __objc_msgSend_69Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_containsObject_1 = _registerName1("containsObject:"); - late final _sel_descriptionWithLocale_1 = - _registerName1("descriptionWithLocale:"); - ffi.Pointer _objc_msgSend_70( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer locale, - ) { - return __objc_msgSend_70( - obj, - sel, - locale, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_69 = + __objc_msgSend_69Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_containsObject_1 = objc.registerName("containsObject:"); + late final _sel_descriptionWithLocale_1 = objc.registerName( + "descriptionWithLocale:", + ); + ffi.Pointer _objc_msgSend_70( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer locale, + ) { + return __objc_msgSend_70(obj, sel, locale); } late final __objc_msgSend_70Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_70 = __objc_msgSend_70Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_descriptionWithLocale_indent_1 = - _registerName1("descriptionWithLocale:indent:"); - ffi.Pointer _objc_msgSend_71( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer locale, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_70 = + __objc_msgSend_70Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_descriptionWithLocale_indent_1 = objc.registerName( + "descriptionWithLocale:indent:", + ); + ffi.Pointer _objc_msgSend_71( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer locale, int level, ) { - return __objc_msgSend_71( - obj, - sel, - locale, - level, - ); + return __objc_msgSend_71(obj, sel, locale, level); } late final __objc_msgSend_71Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong)>>('objc_msgSend'); - late final __objc_msgSend_71 = __objc_msgSend_71Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_firstObjectCommonWithArray_1 = - _registerName1("firstObjectCommonWithArray:"); - ffi.Pointer _objc_msgSend_72( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer otherArray, - ) { - return __objc_msgSend_72( - obj, - sel, - otherArray, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_71 = + __objc_msgSend_71Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_firstObjectCommonWithArray_1 = objc.registerName( + "firstObjectCommonWithArray:", + ); + ffi.Pointer _objc_msgSend_72( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer otherArray, + ) { + return __objc_msgSend_72(obj, sel, otherArray); } late final __objc_msgSend_72Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_72 = __objc_msgSend_72Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_getObjects_range_1 = _registerName1("getObjects:range:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_72 = + __objc_msgSend_72Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_getObjects_range_1 = objc.registerName("getObjects:range:"); void _objc_msgSend_73( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer> objects, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer> objects, _NSRange range, ) { - return __objc_msgSend_73( - obj, - sel, - objects, - range, - ); + return __objc_msgSend_73(obj, sel, objects, range); } late final __objc_msgSend_73Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer>, _NSRange)>>('objc_msgSend'); - late final __objc_msgSend_73 = __objc_msgSend_73Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer>, _NSRange)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + _NSRange, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_73 = + __objc_msgSend_73Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + _NSRange, + ) + >(); - late final _sel_indexOfObject_1 = _registerName1("indexOfObject:"); + late final _sel_indexOfObject_1 = objc.registerName("indexOfObject:"); int _objc_msgSend_74( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer anObject, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer anObject, ) { - return __objc_msgSend_74( - obj, - sel, - anObject, - ); + return __objc_msgSend_74(obj, sel, anObject); } late final __objc_msgSend_74Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedLong Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_74 = __objc_msgSend_74Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_indexOfObject_inRange_1 = - _registerName1("indexOfObject:inRange:"); + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_74 = + __objc_msgSend_74Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_indexOfObject_inRange_1 = objc.registerName( + "indexOfObject:inRange:", + ); int _objc_msgSend_75( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer anObject, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer anObject, _NSRange range, ) { - return __objc_msgSend_75( - obj, - sel, - anObject, - range, - ); + return __objc_msgSend_75(obj, sel, anObject, range); } late final __objc_msgSend_75Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - _NSRange)>>('objc_msgSend'); - late final __objc_msgSend_75 = __objc_msgSend_75Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, _NSRange)>(); - - late final _sel_indexOfObjectIdenticalTo_1 = - _registerName1("indexOfObjectIdenticalTo:"); - late final _sel_indexOfObjectIdenticalTo_inRange_1 = - _registerName1("indexOfObjectIdenticalTo:inRange:"); - late final _sel_isEqualToArray_1 = _registerName1("isEqualToArray:"); + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_75 = + __objc_msgSend_75Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange, + ) + >(); + + late final _sel_indexOfObjectIdenticalTo_1 = objc.registerName( + "indexOfObjectIdenticalTo:", + ); + late final _sel_indexOfObjectIdenticalTo_inRange_1 = objc.registerName( + "indexOfObjectIdenticalTo:inRange:", + ); + late final _sel_isEqualToArray_1 = objc.registerName("isEqualToArray:"); bool _objc_msgSend_76( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer otherArray, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer otherArray, ) { - return __objc_msgSend_76( - obj, - sel, - otherArray, - ); + return __objc_msgSend_76(obj, sel, otherArray); } late final __objc_msgSend_76Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_76 = __objc_msgSend_76Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_firstObject1 = _registerName1("firstObject"); - late final _sel_lastObject1 = _registerName1("lastObject"); - late final _sel_objectEnumerator1 = _registerName1("objectEnumerator"); - ffi.Pointer _objc_msgSend_77( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_77( - obj, - sel, - ); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_76 = + __objc_msgSend_76Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_firstObject1 = objc.registerName("firstObject"); + late final _sel_lastObject1 = objc.registerName("lastObject"); + late final _sel_objectEnumerator1 = objc.registerName("objectEnumerator"); + ffi.Pointer _objc_msgSend_77( + ffi.Pointer obj, + ffi.Pointer sel, + ) { + return __objc_msgSend_77(obj, sel); } late final __objc_msgSend_77Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_77 = __objc_msgSend_77Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_reverseObjectEnumerator1 = - _registerName1("reverseObjectEnumerator"); - late final _sel_sortedArrayHint1 = _registerName1("sortedArrayHint"); - late final _sel_sortedArrayUsingFunction_context_1 = - _registerName1("sortedArrayUsingFunction:context:"); - ffi.Pointer _objc_msgSend_78( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_77 = + __objc_msgSend_77Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_reverseObjectEnumerator1 = objc.registerName( + "reverseObjectEnumerator", + ); + late final _sel_sortedArrayHint1 = objc.registerName("sortedArrayHint"); + late final _sel_sortedArrayUsingFunction_context_1 = objc.registerName( + "sortedArrayUsingFunction:context:", + ); + ffi.Pointer _objc_msgSend_78( + ffi.Pointer obj, + ffi.Pointer sel, ffi.Pointer< - ffi.NativeFunction< - ffi.Long Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>> - comparator, + ffi.NativeFunction< + ffi.Long Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + > comparator, ffi.Pointer context, ) { - return __objc_msgSend_78( - obj, - sel, - comparator, - context, - ); + return __objc_msgSend_78(obj, sel, comparator, context); } late final __objc_msgSend_78Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.Long Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_78 = + __objc_msgSend_78Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, ffi.Pointer< - ffi.NativeFunction< - ffi.Long Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_78 = __objc_msgSend_78Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.Long Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>, - ffi.Pointer)>(); - - late final _sel_sortedArrayUsingFunction_context_hint_1 = - _registerName1("sortedArrayUsingFunction:context:hint:"); - ffi.Pointer _objc_msgSend_79( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.NativeFunction< + ffi.Long Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >, + ffi.Pointer, + ) + >(); + + late final _sel_sortedArrayUsingFunction_context_hint_1 = objc.registerName( + "sortedArrayUsingFunction:context:hint:", + ); + ffi.Pointer _objc_msgSend_79( + ffi.Pointer obj, + ffi.Pointer sel, ffi.Pointer< - ffi.NativeFunction< - ffi.Long Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>> - comparator, + ffi.NativeFunction< + ffi.Long Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + > comparator, ffi.Pointer context, - ffi.Pointer hint, + ffi.Pointer hint, ) { - return __objc_msgSend_79( - obj, - sel, - comparator, - context, - hint, - ); + return __objc_msgSend_79(obj, sel, comparator, context, hint); } late final __objc_msgSend_79Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.Long Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_79 = + __objc_msgSend_79Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, ffi.Pointer< - ffi.NativeFunction< - ffi.Long Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>, + ffi.NativeFunction< + ffi.Long Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_79 = __objc_msgSend_79Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.Long Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>, - ffi.Pointer, - ffi.Pointer)>(); + ffi.Pointer, + ) + >(); - late final _sel_sortedArrayUsingSelector_1 = - _registerName1("sortedArrayUsingSelector:"); - ffi.Pointer _objc_msgSend_80( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer comparator, + late final _sel_sortedArrayUsingSelector_1 = objc.registerName( + "sortedArrayUsingSelector:", + ); + ffi.Pointer _objc_msgSend_80( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer comparator, ) { - return __objc_msgSend_80( - obj, - sel, - comparator, - ); + return __objc_msgSend_80(obj, sel, comparator); } late final __objc_msgSend_80Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_80 = __objc_msgSend_80Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_subarrayWithRange_1 = _registerName1("subarrayWithRange:"); - ffi.Pointer _objc_msgSend_81( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_80 = + __objc_msgSend_80Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_subarrayWithRange_1 = objc.registerName("subarrayWithRange:"); + ffi.Pointer _objc_msgSend_81( + ffi.Pointer obj, + ffi.Pointer sel, _NSRange range, ) { - return __objc_msgSend_81( - obj, - sel, - range, - ); + return __objc_msgSend_81(obj, sel, range); } late final __objc_msgSend_81Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, _NSRange)>>('objc_msgSend'); - late final __objc_msgSend_81 = __objc_msgSend_81Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer, _NSRange)>(); - - late final _class_NSError1 = _getClass1("NSError"); - late final _sel_initWithDomain_code_userInfo_1 = - _registerName1("initWithDomain:code:userInfo:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_81 = + __objc_msgSend_81Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ) + >(); + + late final _class_NSError1 = objc.getClass("NSError"); + late final _sel_initWithDomain_code_userInfo_1 = objc.registerName( + "initWithDomain:code:userInfo:", + ); instancetype _objc_msgSend_82( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer domain, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer domain, int code, - ffi.Pointer dict, + ffi.Pointer dict, ) { - return __objc_msgSend_82( - obj, - sel, - domain, - code, - dict, - ); + return __objc_msgSend_82(obj, sel, domain, code, dict); } late final __objc_msgSend_82Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Long, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_82 = __objc_msgSend_82Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int, ffi.Pointer)>(); - - late final _sel_errorWithDomain_code_userInfo_1 = - _registerName1("errorWithDomain:code:userInfo:"); - late final _sel_domain1 = _registerName1("domain"); - late final _sel_code1 = _registerName1("code"); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Long, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_82 = + __objc_msgSend_82Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ) + >(); + + late final _sel_errorWithDomain_code_userInfo_1 = objc.registerName( + "errorWithDomain:code:userInfo:", + ); + late final _sel_domain1 = objc.registerName("domain"); + late final _sel_code1 = objc.registerName("code"); int _objc_msgSend_83( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_83( - obj, - sel, - ); + return __objc_msgSend_83(obj, sel); } late final __objc_msgSend_83Ptr = _lookup< - ffi.NativeFunction< - ffi.Long Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_83 = __objc_msgSend_83Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer)>(); - - late final _sel_userInfo1 = _registerName1("userInfo"); - late final _sel_localizedDescription1 = - _registerName1("localizedDescription"); - late final _sel_localizedFailureReason1 = - _registerName1("localizedFailureReason"); - late final _sel_localizedRecoverySuggestion1 = - _registerName1("localizedRecoverySuggestion"); - late final _sel_localizedRecoveryOptions1 = - _registerName1("localizedRecoveryOptions"); - ffi.Pointer _objc_msgSend_84( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_84( - obj, - sel, - ); + ffi.NativeFunction< + ffi.Long Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_83 = + __objc_msgSend_83Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_userInfo1 = objc.registerName("userInfo"); + late final _sel_localizedDescription1 = objc.registerName( + "localizedDescription", + ); + late final _sel_localizedFailureReason1 = objc.registerName( + "localizedFailureReason", + ); + late final _sel_localizedRecoverySuggestion1 = objc.registerName( + "localizedRecoverySuggestion", + ); + late final _sel_localizedRecoveryOptions1 = objc.registerName( + "localizedRecoveryOptions", + ); + ffi.Pointer _objc_msgSend_84( + ffi.Pointer obj, + ffi.Pointer sel, + ) { + return __objc_msgSend_84(obj, sel); } late final __objc_msgSend_84Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_84 = __objc_msgSend_84Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_recoveryAttempter1 = _registerName1("recoveryAttempter"); - late final _sel_helpAnchor1 = _registerName1("helpAnchor"); - late final _sel_underlyingErrors1 = _registerName1("underlyingErrors"); - ffi.Pointer _objc_msgSend_85( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_85( - obj, - sel, - ); - } - - late final __objc_msgSend_85Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_85 = __objc_msgSend_85Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); - - ffi.Pointer<_ObjCBlockDesc> _newBlockDesc1() { - final d = - pkg_ffi.calloc.allocate<_ObjCBlockDesc>(ffi.sizeOf<_ObjCBlockDesc>()); - d.ref.reserved = 0; - d.ref.size = ffi.sizeOf<_ObjCBlock>(); - d.ref.copy_helper = ffi.nullptr; - d.ref.dispose_helper = ffi.nullptr; - d.ref.signature = ffi.nullptr; - return d; - } - - late final _objc_block_desc1 = _newBlockDesc1(); - late final _objc_concrete_global_block1 = - _lookup('_NSConcreteGlobalBlock'); - ffi.Pointer<_ObjCBlock> _newBlock1( - ffi.Pointer invoke, ffi.Pointer target) { - final b = pkg_ffi.calloc.allocate<_ObjCBlock>(ffi.sizeOf<_ObjCBlock>()); - b.ref.isa = _objc_concrete_global_block1; - b.ref.flags = 0; - b.ref.reserved = 0; - b.ref.invoke = invoke; - b.ref.target = target; - b.ref.descriptor = _objc_block_desc1; - final copy = _Block_copy(b.cast()).cast<_ObjCBlock>(); - pkg_ffi.calloc.free(b); - return copy; - } - - ffi.Pointer _Block_copy( - ffi.Pointer value, - ) { - return __Block_copy( - value, - ); - } - - late final __Block_copyPtr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer)>>('_Block_copy'); - late final __Block_copy = __Block_copyPtr - .asFunction Function(ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_84 = + __objc_msgSend_84Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); - void _Block_release( - ffi.Pointer value, + late final _sel_recoveryAttempter1 = objc.registerName("recoveryAttempter"); + late final _sel_helpAnchor1 = objc.registerName("helpAnchor"); + late final _sel_underlyingErrors1 = objc.registerName("underlyingErrors"); + ffi.Pointer _objc_msgSend_85( + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __Block_release( - value, - ); + return __objc_msgSend_85(obj, sel); } - late final __Block_releasePtr = - _lookup)>>( - '_Block_release'); - late final __Block_release = - __Block_releasePtr.asFunction)>(); - - late final _objc_releaseFinalizer11 = - ffi.NativeFinalizer(__Block_releasePtr.cast()); - late final _sel_setUserInfoValueProviderForDomain_provider_1 = - _registerName1("setUserInfoValueProviderForDomain:provider:"); + late final __objc_msgSend_85Ptr = _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_85 = + __objc_msgSend_85Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_setUserInfoValueProviderForDomain_provider_1 = objc + .registerName("setUserInfoValueProviderForDomain:provider:"); void _objc_msgSend_86( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer errorDomain, - ffi.Pointer<_ObjCBlock> provider, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer errorDomain, + ffi.Pointer provider, ) { - return __objc_msgSend_86( - obj, - sel, - errorDomain, - provider, - ); + return __objc_msgSend_86(obj, sel, errorDomain, provider); } late final __objc_msgSend_86Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_86 = __objc_msgSend_86Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_userInfoValueProviderForDomain_1 = - _registerName1("userInfoValueProviderForDomain:"); - ffi.Pointer<_ObjCBlock> _objc_msgSend_87( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer err, - ffi.Pointer userInfoKey, - ffi.Pointer errorDomain, - ) { - return __objc_msgSend_87( - obj, - sel, - err, - userInfoKey, - errorDomain, - ); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_86 = + __objc_msgSend_86Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_userInfoValueProviderForDomain_1 = objc.registerName( + "userInfoValueProviderForDomain:", + ); + ffi.Pointer _objc_msgSend_87( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer err, + ffi.Pointer userInfoKey, + ffi.Pointer errorDomain, + ) { + return __objc_msgSend_87(obj, sel, err, userInfoKey, errorDomain); } late final __objc_msgSend_87Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer<_ObjCBlock> Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_87 = __objc_msgSend_87Ptr.asFunction< - ffi.Pointer<_ObjCBlock> Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_setKeys_triggerChangeNotificationsForDependentKey_1 = - _registerName1("setKeys:triggerChangeNotificationsForDependentKey:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_87 = + __objc_msgSend_87Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_setKeys_triggerChangeNotificationsForDependentKey_1 = objc + .registerName("setKeys:triggerChangeNotificationsForDependentKey:"); void _objc_msgSend_88( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer keys, - ffi.Pointer dependentKey, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer keys, + ffi.Pointer dependentKey, ) { - return __objc_msgSend_88( - obj, - sel, - keys, - dependentKey, - ); + return __objc_msgSend_88(obj, sel, keys, dependentKey); } late final __objc_msgSend_88Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_88 = __objc_msgSend_88Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_classFallbacksForKeyedArchiver1 = - _registerName1("classFallbacksForKeyedArchiver"); - late final _sel_classForKeyedUnarchiver1 = - _registerName1("classForKeyedUnarchiver"); - late final _sel_writeToURL_error_1 = _registerName1("writeToURL:error:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_88 = + __objc_msgSend_88Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_classFallbacksForKeyedArchiver1 = objc.registerName( + "classFallbacksForKeyedArchiver", + ); + late final _sel_classForKeyedUnarchiver1 = objc.registerName( + "classForKeyedUnarchiver", + ); + late final _sel_writeToURL_error_1 = objc.registerName("writeToURL:error:"); bool _objc_msgSend_89( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, - ffi.Pointer> error, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer url, + ffi.Pointer> error, ) { - return __objc_msgSend_89( - obj, - sel, - url, - error, - ); + return __objc_msgSend_89(obj, sel, url, error); } late final __objc_msgSend_89Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_89 = __objc_msgSend_89Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer>)>(); - - late final _sel_makeObjectsPerformSelector_1 = - _registerName1("makeObjectsPerformSelector:"); - late final _sel_makeObjectsPerformSelector_withObject_1 = - _registerName1("makeObjectsPerformSelector:withObject:"); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_89 = + __objc_msgSend_89Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + >(); + + late final _sel_makeObjectsPerformSelector_1 = objc.registerName( + "makeObjectsPerformSelector:", + ); + late final _sel_makeObjectsPerformSelector_withObject_1 = objc.registerName( + "makeObjectsPerformSelector:withObject:", + ); void _objc_msgSend_90( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aSelector, - ffi.Pointer argument, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer aSelector, + ffi.Pointer argument, ) { - return __objc_msgSend_90( - obj, - sel, - aSelector, - argument, - ); + return __objc_msgSend_90(obj, sel, aSelector, argument); } late final __objc_msgSend_90Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_90 = __objc_msgSend_90Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _class_NSIndexSet1 = _getClass1("NSIndexSet"); - late final _sel_indexSet1 = _registerName1("indexSet"); - late final _sel_indexSetWithIndex_1 = _registerName1("indexSetWithIndex:"); - late final _sel_indexSetWithIndexesInRange_1 = - _registerName1("indexSetWithIndexesInRange:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_90 = + __objc_msgSend_90Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _class_NSIndexSet1 = objc.getClass("NSIndexSet"); + late final _sel_indexSet1 = objc.registerName("indexSet"); + late final _sel_indexSetWithIndex_1 = objc.registerName("indexSetWithIndex:"); + late final _sel_indexSetWithIndexesInRange_1 = objc.registerName( + "indexSetWithIndexesInRange:", + ); instancetype _objc_msgSend_91( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, _NSRange range, ) { - return __objc_msgSend_91( - obj, - sel, - range, - ); + return __objc_msgSend_91(obj, sel, range); } late final __objc_msgSend_91Ptr = _lookup< - ffi.NativeFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - _NSRange)>>('objc_msgSend'); - late final __objc_msgSend_91 = __objc_msgSend_91Ptr.asFunction< + ffi.NativeFunction< instancetype Function( - ffi.Pointer, ffi.Pointer, _NSRange)>(); + ffi.Pointer, + ffi.Pointer, + _NSRange, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_91 = + __objc_msgSend_91Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ) + >(); - late final _sel_initWithIndexesInRange_1 = - _registerName1("initWithIndexesInRange:"); - late final _sel_initWithIndexSet_1 = _registerName1("initWithIndexSet:"); + late final _sel_initWithIndexesInRange_1 = objc.registerName( + "initWithIndexesInRange:", + ); + late final _sel_initWithIndexSet_1 = objc.registerName("initWithIndexSet:"); instancetype _objc_msgSend_92( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer indexSet, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer indexSet, ) { - return __objc_msgSend_92( - obj, - sel, - indexSet, - ); + return __objc_msgSend_92(obj, sel, indexSet); } late final __objc_msgSend_92Ptr = _lookup< - ffi.NativeFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_92 = __objc_msgSend_92Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_initWithIndex_1 = _registerName1("initWithIndex:"); - late final _sel_isEqualToIndexSet_1 = _registerName1("isEqualToIndexSet:"); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_92 = + __objc_msgSend_92Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_initWithIndex_1 = objc.registerName("initWithIndex:"); + late final _sel_isEqualToIndexSet_1 = objc.registerName("isEqualToIndexSet:"); bool _objc_msgSend_93( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer indexSet, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer indexSet, ) { - return __objc_msgSend_93( - obj, - sel, - indexSet, - ); + return __objc_msgSend_93(obj, sel, indexSet); } late final __objc_msgSend_93Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_93 = __objc_msgSend_93Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_firstIndex1 = _registerName1("firstIndex"); - late final _sel_lastIndex1 = _registerName1("lastIndex"); - late final _sel_indexGreaterThanIndex_1 = - _registerName1("indexGreaterThanIndex:"); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_93 = + __objc_msgSend_93Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_firstIndex1 = objc.registerName("firstIndex"); + late final _sel_lastIndex1 = objc.registerName("lastIndex"); + late final _sel_indexGreaterThanIndex_1 = objc.registerName( + "indexGreaterThanIndex:", + ); int _objc_msgSend_94( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int value, ) { - return __objc_msgSend_94( - obj, - sel, - value, - ); + return __objc_msgSend_94(obj, sel, value); } late final __objc_msgSend_94Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedLong Function(ffi.Pointer, - ffi.Pointer, ffi.UnsignedLong)>>('objc_msgSend'); - late final __objc_msgSend_94 = __objc_msgSend_94Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_indexLessThanIndex_1 = _registerName1("indexLessThanIndex:"); - late final _sel_indexGreaterThanOrEqualToIndex_1 = - _registerName1("indexGreaterThanOrEqualToIndex:"); - late final _sel_indexLessThanOrEqualToIndex_1 = - _registerName1("indexLessThanOrEqualToIndex:"); - late final _sel_getIndexes_maxCount_inIndexRange_1 = - _registerName1("getIndexes:maxCount:inIndexRange:"); + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_94 = + __objc_msgSend_94Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_indexLessThanIndex_1 = objc.registerName( + "indexLessThanIndex:", + ); + late final _sel_indexGreaterThanOrEqualToIndex_1 = objc.registerName( + "indexGreaterThanOrEqualToIndex:", + ); + late final _sel_indexLessThanOrEqualToIndex_1 = objc.registerName( + "indexLessThanOrEqualToIndex:", + ); + late final _sel_getIndexes_maxCount_inIndexRange_1 = objc.registerName( + "getIndexes:maxCount:inIndexRange:", + ); int _objc_msgSend_95( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ffi.Pointer indexBuffer, int bufferSize, ffi.Pointer<_NSRange> range, ) { - return __objc_msgSend_95( - obj, - sel, - indexBuffer, - bufferSize, - range, - ); + return __objc_msgSend_95(obj, sel, indexBuffer, bufferSize, range); } late final __objc_msgSend_95Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer, - ffi.Pointer, + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer<_NSRange>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_95 = + __objc_msgSend_95Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer<_NSRange>)>>('objc_msgSend'); - late final __objc_msgSend_95 = __objc_msgSend_95Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int, ffi.Pointer<_NSRange>)>(); - - late final _sel_countOfIndexesInRange_1 = - _registerName1("countOfIndexesInRange:"); + int, + ffi.Pointer<_NSRange>, + ) + >(); + + late final _sel_countOfIndexesInRange_1 = objc.registerName( + "countOfIndexesInRange:", + ); int _objc_msgSend_96( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, _NSRange range, ) { - return __objc_msgSend_96( - obj, - sel, - range, - ); + return __objc_msgSend_96(obj, sel, range); } late final __objc_msgSend_96Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedLong Function(ffi.Pointer, - ffi.Pointer, _NSRange)>>('objc_msgSend'); - late final __objc_msgSend_96 = __objc_msgSend_96Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer, _NSRange)>(); + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_96 = + __objc_msgSend_96Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ) + >(); - late final _sel_containsIndex_1 = _registerName1("containsIndex:"); + late final _sel_containsIndex_1 = objc.registerName("containsIndex:"); bool _objc_msgSend_97( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int value, ) { - return __objc_msgSend_97( - obj, - sel, - value, - ); + return __objc_msgSend_97(obj, sel, value); } late final __objc_msgSend_97Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong)>>('objc_msgSend'); - late final __objc_msgSend_97 = __objc_msgSend_97Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_containsIndexesInRange_1 = - _registerName1("containsIndexesInRange:"); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_97 = + __objc_msgSend_97Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_containsIndexesInRange_1 = objc.registerName( + "containsIndexesInRange:", + ); bool _objc_msgSend_98( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, _NSRange range, ) { - return __objc_msgSend_98( - obj, - sel, - range, - ); + return __objc_msgSend_98(obj, sel, range); } late final __objc_msgSend_98Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer, ffi.Pointer, - _NSRange)>>('objc_msgSend'); - late final __objc_msgSend_98 = __objc_msgSend_98Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, _NSRange)>(); - - late final _sel_containsIndexes_1 = _registerName1("containsIndexes:"); - late final _sel_intersectsIndexesInRange_1 = - _registerName1("intersectsIndexesInRange:"); - late final _sel_enumerateIndexesUsingBlock_1 = - _registerName1("enumerateIndexesUsingBlock:"); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_98 = + __objc_msgSend_98Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ) + >(); + + late final _sel_containsIndexes_1 = objc.registerName("containsIndexes:"); + late final _sel_intersectsIndexesInRange_1 = objc.registerName( + "intersectsIndexesInRange:", + ); + late final _sel_enumerateIndexesUsingBlock_1 = objc.registerName( + "enumerateIndexesUsingBlock:", + ); void _objc_msgSend_99( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer<_ObjCBlock> block, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer block, ) { - return __objc_msgSend_99( - obj, - sel, - block, - ); + return __objc_msgSend_99(obj, sel, block); } late final __objc_msgSend_99Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_99 = __objc_msgSend_99Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_enumerateIndexesWithOptions_usingBlock_1 = - _registerName1("enumerateIndexesWithOptions:usingBlock:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_99 = + __objc_msgSend_99Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_enumerateIndexesWithOptions_usingBlock_1 = objc.registerName( + "enumerateIndexesWithOptions:usingBlock:", + ); void _objc_msgSend_100( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int opts, - ffi.Pointer<_ObjCBlock> block, + ffi.Pointer block, ) { - return __objc_msgSend_100( - obj, - sel, - opts, - block, - ); + return __objc_msgSend_100(obj, sel, opts, block); } late final __objc_msgSend_100Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Int32, ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_100 = __objc_msgSend_100Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int, - ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_enumerateIndexesInRange_options_usingBlock_1 = - _registerName1("enumerateIndexesInRange:options:usingBlock:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_100 = + __objc_msgSend_100Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ) + >(); + + late final _sel_enumerateIndexesInRange_options_usingBlock_1 = objc + .registerName("enumerateIndexesInRange:options:usingBlock:"); void _objc_msgSend_101( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, _NSRange range, int opts, - ffi.Pointer<_ObjCBlock> block, + ffi.Pointer block, ) { - return __objc_msgSend_101( - obj, - sel, - range, - opts, - block, - ); + return __objc_msgSend_101(obj, sel, range, opts, block); } late final __objc_msgSend_101Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - _NSRange, ffi.Int32, ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_101 = __objc_msgSend_101Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, _NSRange, - int, ffi.Pointer<_ObjCBlock>)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Int32, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_101 = + __objc_msgSend_101Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + int, + ffi.Pointer, + ) + >(); - late final _sel_indexPassingTest_1 = _registerName1("indexPassingTest:"); + late final _sel_indexPassingTest_1 = objc.registerName("indexPassingTest:"); int _objc_msgSend_102( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer<_ObjCBlock> predicate, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer predicate, ) { - return __objc_msgSend_102( - obj, - sel, - predicate, - ); + return __objc_msgSend_102(obj, sel, predicate); } late final __objc_msgSend_102Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedLong Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_102 = __objc_msgSend_102Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_indexWithOptions_passingTest_1 = - _registerName1("indexWithOptions:passingTest:"); + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_102 = + __objc_msgSend_102Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_indexWithOptions_passingTest_1 = objc.registerName( + "indexWithOptions:passingTest:", + ); int _objc_msgSend_103( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int opts, - ffi.Pointer<_ObjCBlock> predicate, + ffi.Pointer predicate, ) { - return __objc_msgSend_103( - obj, - sel, - opts, - predicate, - ); + return __objc_msgSend_103(obj, sel, opts, predicate); } late final __objc_msgSend_103Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_103 = __objc_msgSend_103Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer, int, - ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_indexInRange_options_passingTest_1 = - _registerName1("indexInRange:options:passingTest:"); + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_103 = + __objc_msgSend_103Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ) + >(); + + late final _sel_indexInRange_options_passingTest_1 = objc.registerName( + "indexInRange:options:passingTest:", + ); int _objc_msgSend_104( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, _NSRange range, int opts, - ffi.Pointer<_ObjCBlock> predicate, + ffi.Pointer predicate, ) { - return __objc_msgSend_104( - obj, - sel, - range, - opts, - predicate, - ); + return __objc_msgSend_104(obj, sel, range, opts, predicate); } late final __objc_msgSend_104Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer, - ffi.Pointer, + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Int32, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_104 = + __objc_msgSend_104Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, _NSRange, - ffi.Int32, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_104 = __objc_msgSend_104Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer, _NSRange, int, - ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_indexesPassingTest_1 = _registerName1("indexesPassingTest:"); - ffi.Pointer _objc_msgSend_105( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer<_ObjCBlock> predicate, - ) { - return __objc_msgSend_105( - obj, - sel, - predicate, - ); + int, + ffi.Pointer, + ) + >(); + + late final _sel_indexesPassingTest_1 = objc.registerName( + "indexesPassingTest:", + ); + ffi.Pointer _objc_msgSend_105( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer predicate, + ) { + return __objc_msgSend_105(obj, sel, predicate); } late final __objc_msgSend_105Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_105 = __objc_msgSend_105Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_indexesWithOptions_passingTest_1 = - _registerName1("indexesWithOptions:passingTest:"); - ffi.Pointer _objc_msgSend_106( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_105 = + __objc_msgSend_105Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_indexesWithOptions_passingTest_1 = objc.registerName( + "indexesWithOptions:passingTest:", + ); + ffi.Pointer _objc_msgSend_106( + ffi.Pointer obj, + ffi.Pointer sel, int opts, - ffi.Pointer<_ObjCBlock> predicate, + ffi.Pointer predicate, ) { - return __objc_msgSend_106( - obj, - sel, - opts, - predicate, - ); + return __objc_msgSend_106(obj, sel, opts, predicate); } late final __objc_msgSend_106Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_106 = __objc_msgSend_106Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, int, ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_indexesInRange_options_passingTest_1 = - _registerName1("indexesInRange:options:passingTest:"); - ffi.Pointer _objc_msgSend_107( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_106 = + __objc_msgSend_106Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ) + >(); + + late final _sel_indexesInRange_options_passingTest_1 = objc.registerName( + "indexesInRange:options:passingTest:", + ); + ffi.Pointer _objc_msgSend_107( + ffi.Pointer obj, + ffi.Pointer sel, _NSRange range, int opts, - ffi.Pointer<_ObjCBlock> predicate, + ffi.Pointer predicate, ) { - return __objc_msgSend_107( - obj, - sel, - range, - opts, - predicate, - ); + return __objc_msgSend_107(obj, sel, range, opts, predicate); } late final __objc_msgSend_107Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Int32, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_107 = + __objc_msgSend_107Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, _NSRange, - ffi.Int32, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_107 = __objc_msgSend_107Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, _NSRange, int, ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_enumerateRangesUsingBlock_1 = - _registerName1("enumerateRangesUsingBlock:"); + int, + ffi.Pointer, + ) + >(); + + late final _sel_enumerateRangesUsingBlock_1 = objc.registerName( + "enumerateRangesUsingBlock:", + ); void _objc_msgSend_108( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer<_ObjCBlock> block, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer block, ) { - return __objc_msgSend_108( - obj, - sel, - block, - ); + return __objc_msgSend_108(obj, sel, block); } late final __objc_msgSend_108Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_108 = __objc_msgSend_108Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_enumerateRangesWithOptions_usingBlock_1 = - _registerName1("enumerateRangesWithOptions:usingBlock:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_108 = + __objc_msgSend_108Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_enumerateRangesWithOptions_usingBlock_1 = objc.registerName( + "enumerateRangesWithOptions:usingBlock:", + ); void _objc_msgSend_109( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int opts, - ffi.Pointer<_ObjCBlock> block, + ffi.Pointer block, ) { - return __objc_msgSend_109( - obj, - sel, - opts, - block, - ); + return __objc_msgSend_109(obj, sel, opts, block); } late final __objc_msgSend_109Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Int32, ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_109 = __objc_msgSend_109Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int, - ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_enumerateRangesInRange_options_usingBlock_1 = - _registerName1("enumerateRangesInRange:options:usingBlock:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_109 = + __objc_msgSend_109Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ) + >(); + + late final _sel_enumerateRangesInRange_options_usingBlock_1 = objc + .registerName("enumerateRangesInRange:options:usingBlock:"); void _objc_msgSend_110( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, _NSRange range, int opts, - ffi.Pointer<_ObjCBlock> block, + ffi.Pointer block, ) { - return __objc_msgSend_110( - obj, - sel, - range, - opts, - block, - ); + return __objc_msgSend_110(obj, sel, range, opts, block); } late final __objc_msgSend_110Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - _NSRange, ffi.Int32, ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_110 = __objc_msgSend_110Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, _NSRange, - int, ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_objectsAtIndexes_1 = _registerName1("objectsAtIndexes:"); - ffi.Pointer _objc_msgSend_111( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer indexes, - ) { - return __objc_msgSend_111( - obj, - sel, - indexes, - ); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Int32, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_110 = + __objc_msgSend_110Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + int, + ffi.Pointer, + ) + >(); + + late final _sel_objectsAtIndexes_1 = objc.registerName("objectsAtIndexes:"); + ffi.Pointer _objc_msgSend_111( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer indexes, + ) { + return __objc_msgSend_111(obj, sel, indexes); } late final __objc_msgSend_111Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_111 = __objc_msgSend_111Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_objectAtIndexedSubscript_1 = - _registerName1("objectAtIndexedSubscript:"); - late final _sel_enumerateObjectsUsingBlock_1 = - _registerName1("enumerateObjectsUsingBlock:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_111 = + __objc_msgSend_111Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_objectAtIndexedSubscript_1 = objc.registerName( + "objectAtIndexedSubscript:", + ); + late final _sel_enumerateObjectsUsingBlock_1 = objc.registerName( + "enumerateObjectsUsingBlock:", + ); void _objc_msgSend_112( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer<_ObjCBlock> block, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer block, ) { - return __objc_msgSend_112( - obj, - sel, - block, - ); + return __objc_msgSend_112(obj, sel, block); } late final __objc_msgSend_112Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_112 = __objc_msgSend_112Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_enumerateObjectsWithOptions_usingBlock_1 = - _registerName1("enumerateObjectsWithOptions:usingBlock:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_112 = + __objc_msgSend_112Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_enumerateObjectsWithOptions_usingBlock_1 = objc.registerName( + "enumerateObjectsWithOptions:usingBlock:", + ); void _objc_msgSend_113( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int opts, - ffi.Pointer<_ObjCBlock> block, + ffi.Pointer block, ) { - return __objc_msgSend_113( - obj, - sel, - opts, - block, - ); + return __objc_msgSend_113(obj, sel, opts, block); } late final __objc_msgSend_113Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Int32, ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_113 = __objc_msgSend_113Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int, - ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_enumerateObjectsAtIndexes_options_usingBlock_1 = - _registerName1("enumerateObjectsAtIndexes:options:usingBlock:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_113 = + __objc_msgSend_113Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ) + >(); + + late final _sel_enumerateObjectsAtIndexes_options_usingBlock_1 = objc + .registerName("enumerateObjectsAtIndexes:options:usingBlock:"); void _objc_msgSend_114( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer s, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer s, int opts, - ffi.Pointer<_ObjCBlock> block, + ffi.Pointer block, ) { - return __objc_msgSend_114( - obj, - sel, - s, - opts, - block, - ); + return __objc_msgSend_114(obj, sel, s, opts, block); } late final __objc_msgSend_114Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_114 = __objc_msgSend_114Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int, ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_indexOfObjectPassingTest_1 = - _registerName1("indexOfObjectPassingTest:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_114 = + __objc_msgSend_114Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ) + >(); + + late final _sel_indexOfObjectPassingTest_1 = objc.registerName( + "indexOfObjectPassingTest:", + ); int _objc_msgSend_115( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer<_ObjCBlock> predicate, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer predicate, ) { - return __objc_msgSend_115( - obj, - sel, - predicate, - ); + return __objc_msgSend_115(obj, sel, predicate); } late final __objc_msgSend_115Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedLong Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_115 = __objc_msgSend_115Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_indexOfObjectWithOptions_passingTest_1 = - _registerName1("indexOfObjectWithOptions:passingTest:"); + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_115 = + __objc_msgSend_115Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_indexOfObjectWithOptions_passingTest_1 = objc.registerName( + "indexOfObjectWithOptions:passingTest:", + ); int _objc_msgSend_116( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int opts, - ffi.Pointer<_ObjCBlock> predicate, + ffi.Pointer predicate, ) { - return __objc_msgSend_116( - obj, - sel, - opts, - predicate, - ); + return __objc_msgSend_116(obj, sel, opts, predicate); } late final __objc_msgSend_116Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_116 = __objc_msgSend_116Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer, int, - ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_indexOfObjectAtIndexes_options_passingTest_1 = - _registerName1("indexOfObjectAtIndexes:options:passingTest:"); + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_116 = + __objc_msgSend_116Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ) + >(); + + late final _sel_indexOfObjectAtIndexes_options_passingTest_1 = objc + .registerName("indexOfObjectAtIndexes:options:passingTest:"); int _objc_msgSend_117( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer s, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer s, int opts, - ffi.Pointer<_ObjCBlock> predicate, + ffi.Pointer predicate, ) { - return __objc_msgSend_117( - obj, - sel, - s, - opts, - predicate, - ); + return __objc_msgSend_117(obj, sel, s, opts, predicate); } late final __objc_msgSend_117Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_117 = __objc_msgSend_117Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int, ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_indexesOfObjectsPassingTest_1 = - _registerName1("indexesOfObjectsPassingTest:"); - ffi.Pointer _objc_msgSend_118( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer<_ObjCBlock> predicate, - ) { - return __objc_msgSend_118( - obj, - sel, - predicate, - ); + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_117 = + __objc_msgSend_117Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ) + >(); + + late final _sel_indexesOfObjectsPassingTest_1 = objc.registerName( + "indexesOfObjectsPassingTest:", + ); + ffi.Pointer _objc_msgSend_118( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer predicate, + ) { + return __objc_msgSend_118(obj, sel, predicate); } late final __objc_msgSend_118Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_118 = __objc_msgSend_118Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_indexesOfObjectsWithOptions_passingTest_1 = - _registerName1("indexesOfObjectsWithOptions:passingTest:"); - ffi.Pointer _objc_msgSend_119( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_118 = + __objc_msgSend_118Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_indexesOfObjectsWithOptions_passingTest_1 = objc.registerName( + "indexesOfObjectsWithOptions:passingTest:", + ); + ffi.Pointer _objc_msgSend_119( + ffi.Pointer obj, + ffi.Pointer sel, int opts, - ffi.Pointer<_ObjCBlock> predicate, + ffi.Pointer predicate, ) { - return __objc_msgSend_119( - obj, - sel, - opts, - predicate, - ); + return __objc_msgSend_119(obj, sel, opts, predicate); } late final __objc_msgSend_119Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_119 = __objc_msgSend_119Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, int, ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_indexesOfObjectsAtIndexes_options_passingTest_1 = - _registerName1("indexesOfObjectsAtIndexes:options:passingTest:"); - ffi.Pointer _objc_msgSend_120( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer s, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_119 = + __objc_msgSend_119Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ) + >(); + + late final _sel_indexesOfObjectsAtIndexes_options_passingTest_1 = objc + .registerName("indexesOfObjectsAtIndexes:options:passingTest:"); + ffi.Pointer _objc_msgSend_120( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer s, int opts, - ffi.Pointer<_ObjCBlock> predicate, + ffi.Pointer predicate, ) { - return __objc_msgSend_120( - obj, - sel, - s, - opts, - predicate, - ); + return __objc_msgSend_120(obj, sel, s, opts, predicate); } late final __objc_msgSend_120Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_120 = __objc_msgSend_120Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_sortedArrayUsingComparator_1 = - _registerName1("sortedArrayUsingComparator:"); - ffi.Pointer _objc_msgSend_121( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer<_ObjCBlock> cmptr, - ) { - return __objc_msgSend_121( - obj, - sel, - cmptr, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_120 = + __objc_msgSend_120Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ) + >(); + + late final _sel_sortedArrayUsingComparator_1 = objc.registerName( + "sortedArrayUsingComparator:", + ); + ffi.Pointer _objc_msgSend_121( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer cmptr, + ) { + return __objc_msgSend_121(obj, sel, cmptr); } late final __objc_msgSend_121Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_121 = __objc_msgSend_121Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_sortedArrayWithOptions_usingComparator_1 = - _registerName1("sortedArrayWithOptions:usingComparator:"); - ffi.Pointer _objc_msgSend_122( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_121 = + __objc_msgSend_121Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_sortedArrayWithOptions_usingComparator_1 = objc.registerName( + "sortedArrayWithOptions:usingComparator:", + ); + ffi.Pointer _objc_msgSend_122( + ffi.Pointer obj, + ffi.Pointer sel, int opts, - ffi.Pointer<_ObjCBlock> cmptr, + ffi.Pointer cmptr, ) { - return __objc_msgSend_122( - obj, - sel, - opts, - cmptr, - ); + return __objc_msgSend_122(obj, sel, opts, cmptr); } late final __objc_msgSend_122Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_122 = __objc_msgSend_122Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, int, ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_indexOfObject_inSortedRange_options_usingComparator_1 = - _registerName1("indexOfObject:inSortedRange:options:usingComparator:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_122 = + __objc_msgSend_122Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ) + >(); + + late final _sel_indexOfObject_inSortedRange_options_usingComparator_1 = objc + .registerName("indexOfObject:inSortedRange:options:usingComparator:"); int _objc_msgSend_123( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer obj1, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer obj1, _NSRange r, int opts, - ffi.Pointer<_ObjCBlock> cmp, + ffi.Pointer cmp, ) { - return __objc_msgSend_123( - obj, - sel, - obj1, - r, - opts, - cmp, - ); + return __objc_msgSend_123(obj, sel, obj1, r, opts, cmp); } late final __objc_msgSend_123Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Int32, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_123 = + __objc_msgSend_123Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, _NSRange, - ffi.Int32, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_123 = __objc_msgSend_123Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, _NSRange, int, ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_array1 = _registerName1("array"); - late final _sel_arrayWithObject_1 = _registerName1("arrayWithObject:"); + int, + ffi.Pointer, + ) + >(); + + late final _sel_array1 = objc.registerName("array"); + late final _sel_arrayWithObject_1 = objc.registerName("arrayWithObject:"); instancetype _objc_msgSend_124( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer anObject, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer anObject, ) { - return __objc_msgSend_124( - obj, - sel, - anObject, - ); + return __objc_msgSend_124(obj, sel, anObject); } late final __objc_msgSend_124Ptr = _lookup< - ffi.NativeFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_124 = __objc_msgSend_124Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_arrayWithObjects_count_1 = - _registerName1("arrayWithObjects:count:"); - late final _sel_arrayWithObjects_1 = _registerName1("arrayWithObjects:"); - late final _sel_arrayWithArray_1 = _registerName1("arrayWithArray:"); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_124 = + __objc_msgSend_124Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_arrayWithObjects_count_1 = objc.registerName( + "arrayWithObjects:count:", + ); + late final _sel_arrayWithObjects_1 = objc.registerName("arrayWithObjects:"); + late final _sel_arrayWithArray_1 = objc.registerName("arrayWithArray:"); instancetype _objc_msgSend_125( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer array, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer array, ) { - return __objc_msgSend_125( - obj, - sel, - array, - ); + return __objc_msgSend_125(obj, sel, array); } late final __objc_msgSend_125Ptr = _lookup< - ffi.NativeFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_125 = __objc_msgSend_125Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_initWithObjects_1 = _registerName1("initWithObjects:"); - late final _sel_initWithArray_1 = _registerName1("initWithArray:"); - late final _sel_initWithArray_copyItems_1 = - _registerName1("initWithArray:copyItems:"); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_125 = + __objc_msgSend_125Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_initWithObjects_1 = objc.registerName("initWithObjects:"); + late final _sel_initWithArray_1 = objc.registerName("initWithArray:"); + late final _sel_initWithArray_copyItems_1 = objc.registerName( + "initWithArray:copyItems:", + ); instancetype _objc_msgSend_126( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer array, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer array, bool flag, ) { - return __objc_msgSend_126( - obj, - sel, - array, - flag, - ); + return __objc_msgSend_126(obj, sel, array, flag); } late final __objc_msgSend_126Ptr = _lookup< - ffi.NativeFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Bool)>>('objc_msgSend'); - late final __objc_msgSend_126 = __objc_msgSend_126Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, bool)>(); - - late final _sel_initWithContentsOfURL_error_1 = - _registerName1("initWithContentsOfURL:error:"); - ffi.Pointer _objc_msgSend_127( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, - ffi.Pointer> error, - ) { - return __objc_msgSend_127( - obj, - sel, - url, - error, - ); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_126 = + __objc_msgSend_126Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool, + ) + >(); + + late final _sel_initWithContentsOfURL_error_1 = objc.registerName( + "initWithContentsOfURL:error:", + ); + ffi.Pointer _objc_msgSend_127( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer url, + ffi.Pointer> error, + ) { + return __objc_msgSend_127(obj, sel, url, error); } late final __objc_msgSend_127Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_127 = __objc_msgSend_127Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>(); - - late final _sel_arrayWithContentsOfURL_error_1 = - _registerName1("arrayWithContentsOfURL:error:"); - late final _sel_differenceFromArray_withOptions_usingEquivalenceTest_1 = - _registerName1("differenceFromArray:withOptions:usingEquivalenceTest:"); - ffi.Pointer _objc_msgSend_128( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer other, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_127 = + __objc_msgSend_127Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + >(); + + late final _sel_arrayWithContentsOfURL_error_1 = objc.registerName( + "arrayWithContentsOfURL:error:", + ); + late final _sel_differenceFromArray_withOptions_usingEquivalenceTest_1 = objc + .registerName("differenceFromArray:withOptions:usingEquivalenceTest:"); + ffi.Pointer _objc_msgSend_128( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer other, int options, - ffi.Pointer<_ObjCBlock> block, + ffi.Pointer block, ) { - return __objc_msgSend_128( - obj, - sel, - other, - options, - block, - ); + return __objc_msgSend_128(obj, sel, other, options, block); } late final __objc_msgSend_128Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_128 = __objc_msgSend_128Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_differenceFromArray_withOptions_1 = - _registerName1("differenceFromArray:withOptions:"); - ffi.Pointer _objc_msgSend_129( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer other, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_128 = + __objc_msgSend_128Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ) + >(); + + late final _sel_differenceFromArray_withOptions_1 = objc.registerName( + "differenceFromArray:withOptions:", + ); + ffi.Pointer _objc_msgSend_129( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer other, int options, ) { - return __objc_msgSend_129( - obj, - sel, - other, - options, - ); + return __objc_msgSend_129(obj, sel, other, options); } late final __objc_msgSend_129Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_129 = __objc_msgSend_129Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_differenceFromArray_1 = - _registerName1("differenceFromArray:"); - late final _sel_arrayByApplyingDifference_1 = - _registerName1("arrayByApplyingDifference:"); - ffi.Pointer _objc_msgSend_130( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer difference, - ) { - return __objc_msgSend_130( - obj, - sel, - difference, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_129 = + __objc_msgSend_129Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_differenceFromArray_1 = objc.registerName( + "differenceFromArray:", + ); + late final _sel_arrayByApplyingDifference_1 = objc.registerName( + "arrayByApplyingDifference:", + ); + ffi.Pointer _objc_msgSend_130( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer difference, + ) { + return __objc_msgSend_130(obj, sel, difference); } late final __objc_msgSend_130Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_130 = __objc_msgSend_130Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_getObjects_1 = _registerName1("getObjects:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_130 = + __objc_msgSend_130Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_getObjects_1 = objc.registerName("getObjects:"); void _objc_msgSend_131( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer> objects, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer> objects, ) { - return __objc_msgSend_131( - obj, - sel, - objects, - ); + return __objc_msgSend_131(obj, sel, objects); } late final __objc_msgSend_131Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_131 = __objc_msgSend_131Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer>)>(); - - late final _sel_arrayWithContentsOfFile_1 = - _registerName1("arrayWithContentsOfFile:"); - ffi.Pointer _objc_msgSend_132( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, - ) { - return __objc_msgSend_132( - obj, - sel, - path, - ); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_131 = + __objc_msgSend_131Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + >(); + + late final _sel_arrayWithContentsOfFile_1 = objc.registerName( + "arrayWithContentsOfFile:", + ); + ffi.Pointer _objc_msgSend_132( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer path, + ) { + return __objc_msgSend_132(obj, sel, path); } late final __objc_msgSend_132Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_132 = __objc_msgSend_132Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_arrayWithContentsOfURL_1 = - _registerName1("arrayWithContentsOfURL:"); - ffi.Pointer _objc_msgSend_133( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, - ) { - return __objc_msgSend_133( - obj, - sel, - url, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_132 = + __objc_msgSend_132Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_arrayWithContentsOfURL_1 = objc.registerName( + "arrayWithContentsOfURL:", + ); + ffi.Pointer _objc_msgSend_133( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer url, + ) { + return __objc_msgSend_133(obj, sel, url); } late final __objc_msgSend_133Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_133 = __objc_msgSend_133Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_initWithContentsOfFile_1 = - _registerName1("initWithContentsOfFile:"); - late final _sel_initWithContentsOfURL_1 = - _registerName1("initWithContentsOfURL:"); - late final _sel_writeToURL_atomically_1 = - _registerName1("writeToURL:atomically:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_133 = + __objc_msgSend_133Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_initWithContentsOfFile_1 = objc.registerName( + "initWithContentsOfFile:", + ); + late final _sel_initWithContentsOfURL_1 = objc.registerName( + "initWithContentsOfURL:", + ); + late final _sel_writeToURL_atomically_1 = objc.registerName( + "writeToURL:atomically:", + ); bool _objc_msgSend_134( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer url, bool atomically, ) { - return __objc_msgSend_134( - obj, - sel, - url, - atomically, - ); + return __objc_msgSend_134(obj, sel, url, atomically); } late final __objc_msgSend_134Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Bool)>>('objc_msgSend'); - late final __objc_msgSend_134 = __objc_msgSend_134Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, bool)>(); - - late final _sel_pathsMatchingExtensions_1 = - _registerName1("pathsMatchingExtensions:"); - late final _sel_valueForKey_1 = _registerName1("valueForKey:"); - late final _sel_setValue_forKey_1 = _registerName1("setValue:forKey:"); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_134 = + __objc_msgSend_134Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool, + ) + >(); + + late final _sel_pathsMatchingExtensions_1 = objc.registerName( + "pathsMatchingExtensions:", + ); + late final _sel_valueForKey_1 = objc.registerName("valueForKey:"); + late final _sel_setValue_forKey_1 = objc.registerName("setValue:forKey:"); void _objc_msgSend_135( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, - ffi.Pointer key, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value, + ffi.Pointer key, ) { - return __objc_msgSend_135( - obj, - sel, - value, - key, - ); + return __objc_msgSend_135(obj, sel, value, key); } late final __objc_msgSend_135Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_135 = __objc_msgSend_135Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_135 = + __objc_msgSend_135Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_addObserver_toObjectsAtIndexes_forKeyPath_options_context_1 = - _registerName1( - "addObserver:toObjectsAtIndexes:forKeyPath:options:context:"); + objc.registerName( + "addObserver:toObjectsAtIndexes:forKeyPath:options:context:", + ); void _objc_msgSend_136( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer observer, - ffi.Pointer indexes, - ffi.Pointer keyPath, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer observer, + ffi.Pointer indexes, + ffi.Pointer keyPath, int options, ffi.Pointer context, ) { @@ -3643,1943 +4508,2479 @@ class AVFAudio { } late final __objc_msgSend_136Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_136 = __objc_msgSend_136Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_136 = + __objc_msgSend_136Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ) + >(); late final _sel_removeObserver_fromObjectsAtIndexes_forKeyPath_context_1 = - _registerName1("removeObserver:fromObjectsAtIndexes:forKeyPath:context:"); + objc.registerName( + "removeObserver:fromObjectsAtIndexes:forKeyPath:context:", + ); void _objc_msgSend_137( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer observer, - ffi.Pointer indexes, - ffi.Pointer keyPath, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer observer, + ffi.Pointer indexes, + ffi.Pointer keyPath, ffi.Pointer context, ) { - return __objc_msgSend_137( - obj, - sel, - observer, - indexes, - keyPath, - context, - ); + return __objc_msgSend_137(obj, sel, observer, indexes, keyPath, context); } late final __objc_msgSend_137Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_137 = __objc_msgSend_137Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_removeObserver_fromObjectsAtIndexes_forKeyPath_1 = - _registerName1("removeObserver:fromObjectsAtIndexes:forKeyPath:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_137 = + __objc_msgSend_137Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_removeObserver_fromObjectsAtIndexes_forKeyPath_1 = objc + .registerName("removeObserver:fromObjectsAtIndexes:forKeyPath:"); void _objc_msgSend_138( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer observer, - ffi.Pointer indexes, - ffi.Pointer keyPath, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer observer, + ffi.Pointer indexes, + ffi.Pointer keyPath, ) { - return __objc_msgSend_138( - obj, - sel, - observer, - indexes, - keyPath, - ); + return __objc_msgSend_138(obj, sel, observer, indexes, keyPath); } late final __objc_msgSend_138Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_138 = __objc_msgSend_138Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_addObserver_forKeyPath_options_context_1 = - _registerName1("addObserver:forKeyPath:options:context:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_138 = + __objc_msgSend_138Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_addObserver_forKeyPath_options_context_1 = objc.registerName( + "addObserver:forKeyPath:options:context:", + ); void _objc_msgSend_139( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer observer, - ffi.Pointer keyPath, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer observer, + ffi.Pointer keyPath, int options, ffi.Pointer context, ) { - return __objc_msgSend_139( - obj, - sel, - observer, - keyPath, - options, - context, - ); + return __objc_msgSend_139(obj, sel, observer, keyPath, options, context); } late final __objc_msgSend_139Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_139 = __objc_msgSend_139Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_139 = + __objc_msgSend_139Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ) + >(); - late final _sel_removeObserver_forKeyPath_context_1 = - _registerName1("removeObserver:forKeyPath:context:"); + late final _sel_removeObserver_forKeyPath_context_1 = objc.registerName( + "removeObserver:forKeyPath:context:", + ); void _objc_msgSend_140( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer observer, - ffi.Pointer keyPath, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer observer, + ffi.Pointer keyPath, ffi.Pointer context, ) { - return __objc_msgSend_140( - obj, - sel, - observer, - keyPath, - context, - ); + return __objc_msgSend_140(obj, sel, observer, keyPath, context); } late final __objc_msgSend_140Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_140 = __objc_msgSend_140Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_removeObserver_forKeyPath_1 = - _registerName1("removeObserver:forKeyPath:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_140 = + __objc_msgSend_140Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_removeObserver_forKeyPath_1 = objc.registerName( + "removeObserver:forKeyPath:", + ); void _objc_msgSend_141( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer observer, - ffi.Pointer keyPath, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer observer, + ffi.Pointer keyPath, ) { - return __objc_msgSend_141( - obj, - sel, - observer, - keyPath, - ); + return __objc_msgSend_141(obj, sel, observer, keyPath); } late final __objc_msgSend_141Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_141 = __objc_msgSend_141Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_sortedArrayUsingDescriptors_1 = - _registerName1("sortedArrayUsingDescriptors:"); - late final _class_NSPredicate1 = _getClass1("NSPredicate"); - late final _sel_predicateWithFormat_argumentArray_1 = - _registerName1("predicateWithFormat:argumentArray:"); - ffi.Pointer _objc_msgSend_142( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer predicateFormat, - ffi.Pointer arguments, - ) { - return __objc_msgSend_142( - obj, - sel, - predicateFormat, - arguments, - ); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_141 = + __objc_msgSend_141Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_sortedArrayUsingDescriptors_1 = objc.registerName( + "sortedArrayUsingDescriptors:", + ); + late final _class_NSPredicate1 = objc.getClass("NSPredicate"); + late final _sel_predicateWithFormat_argumentArray_1 = objc.registerName( + "predicateWithFormat:argumentArray:", + ); + ffi.Pointer _objc_msgSend_142( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer predicateFormat, + ffi.Pointer arguments, + ) { + return __objc_msgSend_142(obj, sel, predicateFormat, arguments); } late final __objc_msgSend_142Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_142 = __objc_msgSend_142Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_predicateWithFormat_1 = - _registerName1("predicateWithFormat:"); - ffi.Pointer _objc_msgSend_143( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer predicateFormat, - ) { - return __objc_msgSend_143( - obj, - sel, - predicateFormat, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_142 = + __objc_msgSend_142Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_predicateWithFormat_1 = objc.registerName( + "predicateWithFormat:", + ); + ffi.Pointer _objc_msgSend_143( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer predicateFormat, + ) { + return __objc_msgSend_143(obj, sel, predicateFormat); } late final __objc_msgSend_143Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_143 = __objc_msgSend_143Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_predicateWithFormat_arguments_1 = - _registerName1("predicateWithFormat:arguments:"); - ffi.Pointer _objc_msgSend_144( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer predicateFormat, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_143 = + __objc_msgSend_143Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_predicateWithFormat_arguments_1 = objc.registerName( + "predicateWithFormat:arguments:", + ); + ffi.Pointer _objc_msgSend_144( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer predicateFormat, ffi.Pointer<__va_list_tag> argList, ) { - return __objc_msgSend_144( - obj, - sel, - predicateFormat, - argList, - ); + return __objc_msgSend_144(obj, sel, predicateFormat, argList); } late final __objc_msgSend_144Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<__va_list_tag>)>>('objc_msgSend'); - late final __objc_msgSend_144 = __objc_msgSend_144Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<__va_list_tag>)>(); - - late final _sel_predicateFromMetadataQueryString_1 = - _registerName1("predicateFromMetadataQueryString:"); - ffi.Pointer _objc_msgSend_145( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer queryString, - ) { - return __objc_msgSend_145( - obj, - sel, - queryString, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<__va_list_tag>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_144 = + __objc_msgSend_144Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<__va_list_tag>, + ) + >(); + + late final _sel_predicateFromMetadataQueryString_1 = objc.registerName( + "predicateFromMetadataQueryString:", + ); + ffi.Pointer _objc_msgSend_145( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer queryString, + ) { + return __objc_msgSend_145(obj, sel, queryString); } late final __objc_msgSend_145Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_145 = __objc_msgSend_145Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_predicateWithValue_1 = _registerName1("predicateWithValue:"); - ffi.Pointer _objc_msgSend_146( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_145 = + __objc_msgSend_145Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_predicateWithValue_1 = objc.registerName( + "predicateWithValue:", + ); + ffi.Pointer _objc_msgSend_146( + ffi.Pointer obj, + ffi.Pointer sel, bool value, ) { - return __objc_msgSend_146( - obj, - sel, - value, - ); + return __objc_msgSend_146(obj, sel, value); } late final __objc_msgSend_146Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Bool)>>('objc_msgSend'); - late final __objc_msgSend_146 = __objc_msgSend_146Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer, bool)>(); - - late final _class_NSDictionary1 = _getClass1("NSDictionary"); - late final _sel_objectForKey_1 = _registerName1("objectForKey:"); - late final _sel_keyEnumerator1 = _registerName1("keyEnumerator"); - late final _sel_initWithObjects_forKeys_count_1 = - _registerName1("initWithObjects:forKeys:count:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_146 = + __objc_msgSend_146Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + bool, + ) + >(); + + late final _class_NSDictionary1 = objc.getClass("NSDictionary"); + late final _sel_objectForKey_1 = objc.registerName("objectForKey:"); + late final _sel_keyEnumerator1 = objc.registerName("keyEnumerator"); + late final _sel_initWithObjects_forKeys_count_1 = objc.registerName( + "initWithObjects:forKeys:count:", + ); instancetype _objc_msgSend_147( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer> objects, - ffi.Pointer> keys, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer> objects, + ffi.Pointer> keys, int cnt, ) { - return __objc_msgSend_147( - obj, - sel, - objects, - keys, - cnt, - ); + return __objc_msgSend_147(obj, sel, objects, keys, cnt); } late final __objc_msgSend_147Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer>, - ffi.UnsignedLong)>>('objc_msgSend'); - late final __objc_msgSend_147 = __objc_msgSend_147Ptr.asFunction< + ffi.NativeFunction< instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer>, - int)>(); - - late final _sel_allKeys1 = _registerName1("allKeys"); - late final _sel_allKeysForObject_1 = _registerName1("allKeysForObject:"); - late final _sel_allValues1 = _registerName1("allValues"); - late final _sel_descriptionInStringsFileFormat1 = - _registerName1("descriptionInStringsFileFormat"); - late final _sel_isEqualToDictionary_1 = - _registerName1("isEqualToDictionary:"); + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer>, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_147 = + __objc_msgSend_147Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer>, + int, + ) + >(); + + late final _sel_allKeys1 = objc.registerName("allKeys"); + late final _sel_allKeysForObject_1 = objc.registerName("allKeysForObject:"); + late final _sel_allValues1 = objc.registerName("allValues"); + late final _sel_descriptionInStringsFileFormat1 = objc.registerName( + "descriptionInStringsFileFormat", + ); + late final _sel_isEqualToDictionary_1 = objc.registerName( + "isEqualToDictionary:", + ); bool _objc_msgSend_148( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer otherDictionary, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer otherDictionary, ) { - return __objc_msgSend_148( - obj, - sel, - otherDictionary, - ); + return __objc_msgSend_148(obj, sel, otherDictionary); } late final __objc_msgSend_148Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_148 = __objc_msgSend_148Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_objectsForKeys_notFoundMarker_1 = - _registerName1("objectsForKeys:notFoundMarker:"); - ffi.Pointer _objc_msgSend_149( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer keys, - ffi.Pointer marker, - ) { - return __objc_msgSend_149( - obj, - sel, - keys, - marker, - ); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_148 = + __objc_msgSend_148Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_objectsForKeys_notFoundMarker_1 = objc.registerName( + "objectsForKeys:notFoundMarker:", + ); + ffi.Pointer _objc_msgSend_149( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer keys, + ffi.Pointer marker, + ) { + return __objc_msgSend_149(obj, sel, keys, marker); } late final __objc_msgSend_149Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_149 = __objc_msgSend_149Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_keysSortedByValueUsingSelector_1 = - _registerName1("keysSortedByValueUsingSelector:"); - late final _sel_getObjects_andKeys_count_1 = - _registerName1("getObjects:andKeys:count:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_149 = + __objc_msgSend_149Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_keysSortedByValueUsingSelector_1 = objc.registerName( + "keysSortedByValueUsingSelector:", + ); + late final _sel_getObjects_andKeys_count_1 = objc.registerName( + "getObjects:andKeys:count:", + ); void _objc_msgSend_150( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer> objects, - ffi.Pointer> keys, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer> objects, + ffi.Pointer> keys, int count, ) { - return __objc_msgSend_150( - obj, - sel, - objects, - keys, - count, - ); + return __objc_msgSend_150(obj, sel, objects, keys, count); } late final __objc_msgSend_150Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer>, - ffi.UnsignedLong)>>('objc_msgSend'); - late final __objc_msgSend_150 = __objc_msgSend_150Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer>, - int)>(); - - late final _sel_objectForKeyedSubscript_1 = - _registerName1("objectForKeyedSubscript:"); - late final _sel_enumerateKeysAndObjectsUsingBlock_1 = - _registerName1("enumerateKeysAndObjectsUsingBlock:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer>, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_150 = + __objc_msgSend_150Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer>, + int, + ) + >(); + + late final _sel_objectForKeyedSubscript_1 = objc.registerName( + "objectForKeyedSubscript:", + ); + late final _sel_enumerateKeysAndObjectsUsingBlock_1 = objc.registerName( + "enumerateKeysAndObjectsUsingBlock:", + ); void _objc_msgSend_151( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer<_ObjCBlock> block, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer block, ) { - return __objc_msgSend_151( - obj, - sel, - block, - ); + return __objc_msgSend_151(obj, sel, block); } late final __objc_msgSend_151Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_151 = __objc_msgSend_151Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_enumerateKeysAndObjectsWithOptions_usingBlock_1 = - _registerName1("enumerateKeysAndObjectsWithOptions:usingBlock:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_151 = + __objc_msgSend_151Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_enumerateKeysAndObjectsWithOptions_usingBlock_1 = objc + .registerName("enumerateKeysAndObjectsWithOptions:usingBlock:"); void _objc_msgSend_152( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int opts, - ffi.Pointer<_ObjCBlock> block, + ffi.Pointer block, ) { - return __objc_msgSend_152( - obj, - sel, - opts, - block, - ); + return __objc_msgSend_152(obj, sel, opts, block); } late final __objc_msgSend_152Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Int32, ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_152 = __objc_msgSend_152Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int, - ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_keysSortedByValueUsingComparator_1 = - _registerName1("keysSortedByValueUsingComparator:"); - late final _sel_keysSortedByValueWithOptions_usingComparator_1 = - _registerName1("keysSortedByValueWithOptions:usingComparator:"); - late final _sel_keysOfEntriesPassingTest_1 = - _registerName1("keysOfEntriesPassingTest:"); - ffi.Pointer _objc_msgSend_153( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer<_ObjCBlock> predicate, - ) { - return __objc_msgSend_153( - obj, - sel, - predicate, - ); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_152 = + __objc_msgSend_152Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ) + >(); + + late final _sel_keysSortedByValueUsingComparator_1 = objc.registerName( + "keysSortedByValueUsingComparator:", + ); + late final _sel_keysSortedByValueWithOptions_usingComparator_1 = objc + .registerName("keysSortedByValueWithOptions:usingComparator:"); + late final _sel_keysOfEntriesPassingTest_1 = objc.registerName( + "keysOfEntriesPassingTest:", + ); + ffi.Pointer _objc_msgSend_153( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer predicate, + ) { + return __objc_msgSend_153(obj, sel, predicate); } late final __objc_msgSend_153Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_153 = __objc_msgSend_153Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_keysOfEntriesWithOptions_passingTest_1 = - _registerName1("keysOfEntriesWithOptions:passingTest:"); - ffi.Pointer _objc_msgSend_154( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_153 = + __objc_msgSend_153Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_keysOfEntriesWithOptions_passingTest_1 = objc.registerName( + "keysOfEntriesWithOptions:passingTest:", + ); + ffi.Pointer _objc_msgSend_154( + ffi.Pointer obj, + ffi.Pointer sel, int opts, - ffi.Pointer<_ObjCBlock> predicate, + ffi.Pointer predicate, ) { - return __objc_msgSend_154( - obj, - sel, - opts, - predicate, - ); + return __objc_msgSend_154(obj, sel, opts, predicate); } late final __objc_msgSend_154Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_154 = __objc_msgSend_154Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, int, ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_getObjects_andKeys_1 = _registerName1("getObjects:andKeys:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_154 = + __objc_msgSend_154Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ) + >(); + + late final _sel_getObjects_andKeys_1 = objc.registerName( + "getObjects:andKeys:", + ); void _objc_msgSend_155( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer> objects, - ffi.Pointer> keys, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer> objects, + ffi.Pointer> keys, ) { - return __objc_msgSend_155( - obj, - sel, - objects, - keys, - ); + return __objc_msgSend_155(obj, sel, objects, keys); } late final __objc_msgSend_155Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_155 = __objc_msgSend_155Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer>)>(); - - late final _sel_dictionaryWithContentsOfFile_1 = - _registerName1("dictionaryWithContentsOfFile:"); - ffi.Pointer _objc_msgSend_156( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, - ) { - return __objc_msgSend_156( - obj, - sel, - path, - ); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_155 = + __objc_msgSend_155Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer>, + ) + >(); + + late final _sel_dictionaryWithContentsOfFile_1 = objc.registerName( + "dictionaryWithContentsOfFile:", + ); + ffi.Pointer _objc_msgSend_156( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer path, + ) { + return __objc_msgSend_156(obj, sel, path); } late final __objc_msgSend_156Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_156 = __objc_msgSend_156Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_dictionaryWithContentsOfURL_1 = - _registerName1("dictionaryWithContentsOfURL:"); - ffi.Pointer _objc_msgSend_157( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, - ) { - return __objc_msgSend_157( - obj, - sel, - url, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_156 = + __objc_msgSend_156Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_dictionaryWithContentsOfURL_1 = objc.registerName( + "dictionaryWithContentsOfURL:", + ); + ffi.Pointer _objc_msgSend_157( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer url, + ) { + return __objc_msgSend_157(obj, sel, url); } late final __objc_msgSend_157Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_157 = __objc_msgSend_157Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_dictionary1 = _registerName1("dictionary"); - late final _sel_dictionaryWithObject_forKey_1 = - _registerName1("dictionaryWithObject:forKey:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_157 = + __objc_msgSend_157Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_dictionary1 = objc.registerName("dictionary"); + late final _sel_dictionaryWithObject_forKey_1 = objc.registerName( + "dictionaryWithObject:forKey:", + ); instancetype _objc_msgSend_158( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer object, - ffi.Pointer key, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer object, + ffi.Pointer key, ) { - return __objc_msgSend_158( - obj, - sel, - object, - key, - ); + return __objc_msgSend_158(obj, sel, object, key); } late final __objc_msgSend_158Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_158 = __objc_msgSend_158Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_dictionaryWithObjects_forKeys_count_1 = - _registerName1("dictionaryWithObjects:forKeys:count:"); - late final _sel_dictionaryWithObjectsAndKeys_1 = - _registerName1("dictionaryWithObjectsAndKeys:"); - late final _sel_dictionaryWithDictionary_1 = - _registerName1("dictionaryWithDictionary:"); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_158 = + __objc_msgSend_158Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_dictionaryWithObjects_forKeys_count_1 = objc.registerName( + "dictionaryWithObjects:forKeys:count:", + ); + late final _sel_dictionaryWithObjectsAndKeys_1 = objc.registerName( + "dictionaryWithObjectsAndKeys:", + ); + late final _sel_dictionaryWithDictionary_1 = objc.registerName( + "dictionaryWithDictionary:", + ); instancetype _objc_msgSend_159( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer dict, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer dict, ) { - return __objc_msgSend_159( - obj, - sel, - dict, - ); + return __objc_msgSend_159(obj, sel, dict); } late final __objc_msgSend_159Ptr = _lookup< - ffi.NativeFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_159 = __objc_msgSend_159Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_dictionaryWithObjects_forKeys_1 = - _registerName1("dictionaryWithObjects:forKeys:"); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_159 = + __objc_msgSend_159Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_dictionaryWithObjects_forKeys_1 = objc.registerName( + "dictionaryWithObjects:forKeys:", + ); instancetype _objc_msgSend_160( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer objects, - ffi.Pointer keys, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer objects, + ffi.Pointer keys, ) { - return __objc_msgSend_160( - obj, - sel, - objects, - keys, - ); + return __objc_msgSend_160(obj, sel, objects, keys); } late final __objc_msgSend_160Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_160 = __objc_msgSend_160Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_initWithObjectsAndKeys_1 = - _registerName1("initWithObjectsAndKeys:"); - late final _sel_initWithDictionary_1 = _registerName1("initWithDictionary:"); - late final _sel_initWithDictionary_copyItems_1 = - _registerName1("initWithDictionary:copyItems:"); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_160 = + __objc_msgSend_160Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_initWithObjectsAndKeys_1 = objc.registerName( + "initWithObjectsAndKeys:", + ); + late final _sel_initWithDictionary_1 = objc.registerName( + "initWithDictionary:", + ); + late final _sel_initWithDictionary_copyItems_1 = objc.registerName( + "initWithDictionary:copyItems:", + ); instancetype _objc_msgSend_161( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer otherDictionary, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer otherDictionary, bool flag, ) { - return __objc_msgSend_161( - obj, - sel, - otherDictionary, - flag, - ); + return __objc_msgSend_161(obj, sel, otherDictionary, flag); } late final __objc_msgSend_161Ptr = _lookup< - ffi.NativeFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Bool)>>('objc_msgSend'); - late final __objc_msgSend_161 = __objc_msgSend_161Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, bool)>(); - - late final _sel_initWithObjects_forKeys_1 = - _registerName1("initWithObjects:forKeys:"); - ffi.Pointer _objc_msgSend_162( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, - ffi.Pointer> error, - ) { - return __objc_msgSend_162( - obj, - sel, - url, - error, - ); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_161 = + __objc_msgSend_161Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool, + ) + >(); + + late final _sel_initWithObjects_forKeys_1 = objc.registerName( + "initWithObjects:forKeys:", + ); + ffi.Pointer _objc_msgSend_162( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer url, + ffi.Pointer> error, + ) { + return __objc_msgSend_162(obj, sel, url, error); } late final __objc_msgSend_162Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_162 = __objc_msgSend_162Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>(); - - late final _sel_dictionaryWithContentsOfURL_error_1 = - _registerName1("dictionaryWithContentsOfURL:error:"); - late final _sel_sharedKeySetForKeys_1 = - _registerName1("sharedKeySetForKeys:"); - late final _sel_countByEnumeratingWithState_objects_count_1 = - _registerName1("countByEnumeratingWithState:objects:count:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_162 = + __objc_msgSend_162Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + >(); + + late final _sel_dictionaryWithContentsOfURL_error_1 = objc.registerName( + "dictionaryWithContentsOfURL:error:", + ); + late final _sel_sharedKeySetForKeys_1 = objc.registerName( + "sharedKeySetForKeys:", + ); + late final _sel_countByEnumeratingWithState_objects_count_1 = objc + .registerName("countByEnumeratingWithState:objects:count:"); int _objc_msgSend_163( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ffi.Pointer state, - ffi.Pointer> buffer, + ffi.Pointer> buffer, int len, ) { - return __objc_msgSend_163( - obj, - sel, - state, - buffer, - len, - ); + return __objc_msgSend_163(obj, sel, state, buffer, len); } late final __objc_msgSend_163Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer, - ffi.Pointer, + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_163 = + __objc_msgSend_163Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, ffi.Pointer, - ffi.Pointer>, - ffi.UnsignedLong)>>('objc_msgSend'); - late final __objc_msgSend_163 = __objc_msgSend_163Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - int)>(); - - late final _sel_fileSize1 = _registerName1("fileSize"); + ffi.Pointer>, + int, + ) + >(); + + late final _sel_fileSize1 = objc.registerName("fileSize"); int _objc_msgSend_164( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_164( - obj, - sel, - ); + return __objc_msgSend_164(obj, sel); } late final __objc_msgSend_164Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedLongLong Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_164 = __objc_msgSend_164Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer)>(); - - late final _class_NSDate1 = _getClass1("NSDate"); - late final _sel_timeIntervalSinceReferenceDate1 = - _registerName1("timeIntervalSinceReferenceDate"); + ffi.NativeFunction< + ffi.UnsignedLongLong Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_164 = + __objc_msgSend_164Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _class_NSDate1 = objc.getClass("NSDate"); + late final _sel_timeIntervalSinceReferenceDate1 = objc.registerName( + "timeIntervalSinceReferenceDate", + ); double _objc_msgSend_165( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_165( - obj, - sel, - ); + return __objc_msgSend_165(obj, sel); } late final __objc_msgSend_165Ptr = _lookup< - ffi.NativeFunction< - ffi.Double Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_165 = __objc_msgSend_165Ptr.asFunction< - double Function(ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Double Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_165 = + __objc_msgSend_165Ptr + .asFunction< + double Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); double _objc_msgSend_165_fpret( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_165_fpret( - obj, - sel, - ); + return __objc_msgSend_165_fpret(obj, sel); } late final __objc_msgSend_165_fpretPtr = _lookup< - ffi.NativeFunction< - ffi.Double Function(ffi.Pointer, - ffi.Pointer)>>('objc_msgSend_fpret'); - late final __objc_msgSend_165_fpret = __objc_msgSend_165_fpretPtr.asFunction< - double Function(ffi.Pointer, ffi.Pointer)>(); - - late final _sel_initWithTimeIntervalSinceReferenceDate_1 = - _registerName1("initWithTimeIntervalSinceReferenceDate:"); + ffi.NativeFunction< + ffi.Double Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend_fpret'); + late final __objc_msgSend_165_fpret = + __objc_msgSend_165_fpretPtr + .asFunction< + double Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_initWithTimeIntervalSinceReferenceDate_1 = objc.registerName( + "initWithTimeIntervalSinceReferenceDate:", + ); instancetype _objc_msgSend_166( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, double ti, ) { - return __objc_msgSend_166( - obj, - sel, - ti, - ); + return __objc_msgSend_166(obj, sel, ti); } late final __objc_msgSend_166Ptr = _lookup< - ffi.NativeFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Double)>>('objc_msgSend'); - late final __objc_msgSend_166 = __objc_msgSend_166Ptr.asFunction< + ffi.NativeFunction< instancetype Function( - ffi.Pointer, ffi.Pointer, double)>(); - - late final _sel_timeIntervalSinceDate_1 = - _registerName1("timeIntervalSinceDate:"); + ffi.Pointer, + ffi.Pointer, + ffi.Double, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_166 = + __objc_msgSend_166Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + double, + ) + >(); + + late final _sel_timeIntervalSinceDate_1 = objc.registerName( + "timeIntervalSinceDate:", + ); double _objc_msgSend_167( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer anotherDate, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer anotherDate, ) { - return __objc_msgSend_167( - obj, - sel, - anotherDate, - ); + return __objc_msgSend_167(obj, sel, anotherDate); } late final __objc_msgSend_167Ptr = _lookup< - ffi.NativeFunction< - ffi.Double Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_167 = __objc_msgSend_167Ptr.asFunction< - double Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Double Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_167 = + __objc_msgSend_167Ptr + .asFunction< + double Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); double _objc_msgSend_167_fpret( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer anotherDate, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer anotherDate, ) { - return __objc_msgSend_167_fpret( - obj, - sel, - anotherDate, - ); + return __objc_msgSend_167_fpret(obj, sel, anotherDate); } late final __objc_msgSend_167_fpretPtr = _lookup< - ffi.NativeFunction< - ffi.Double Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend_fpret'); - late final __objc_msgSend_167_fpret = __objc_msgSend_167_fpretPtr.asFunction< - double Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_timeIntervalSinceNow1 = - _registerName1("timeIntervalSinceNow"); - late final _sel_timeIntervalSince19701 = - _registerName1("timeIntervalSince1970"); - late final _sel_addTimeInterval_1 = _registerName1("addTimeInterval:"); - late final _sel_dateByAddingTimeInterval_1 = - _registerName1("dateByAddingTimeInterval:"); - late final _sel_earlierDate_1 = _registerName1("earlierDate:"); - ffi.Pointer _objc_msgSend_168( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer anotherDate, - ) { - return __objc_msgSend_168( - obj, - sel, - anotherDate, - ); + ffi.NativeFunction< + ffi.Double Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend_fpret'); + late final __objc_msgSend_167_fpret = + __objc_msgSend_167_fpretPtr + .asFunction< + double Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_timeIntervalSinceNow1 = objc.registerName( + "timeIntervalSinceNow", + ); + late final _sel_timeIntervalSince19701 = objc.registerName( + "timeIntervalSince1970", + ); + late final _sel_addTimeInterval_1 = objc.registerName("addTimeInterval:"); + late final _sel_dateByAddingTimeInterval_1 = objc.registerName( + "dateByAddingTimeInterval:", + ); + late final _sel_earlierDate_1 = objc.registerName("earlierDate:"); + ffi.Pointer _objc_msgSend_168( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer anotherDate, + ) { + return __objc_msgSend_168(obj, sel, anotherDate); } late final __objc_msgSend_168Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_168 = __objc_msgSend_168Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_laterDate_1 = _registerName1("laterDate:"); - late final _sel_compare_1 = _registerName1("compare:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_168 = + __objc_msgSend_168Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_laterDate_1 = objc.registerName("laterDate:"); + late final _sel_compare_1 = objc.registerName("compare:"); int _objc_msgSend_169( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer other, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer other, ) { - return __objc_msgSend_169( - obj, - sel, - other, - ); + return __objc_msgSend_169(obj, sel, other); } late final __objc_msgSend_169Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_169 = __objc_msgSend_169Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_isEqualToDate_1 = _registerName1("isEqualToDate:"); + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_169 = + __objc_msgSend_169Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_isEqualToDate_1 = objc.registerName("isEqualToDate:"); bool _objc_msgSend_170( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer otherDate, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer otherDate, ) { - return __objc_msgSend_170( - obj, - sel, - otherDate, - ); + return __objc_msgSend_170(obj, sel, otherDate); } late final __objc_msgSend_170Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_170 = __objc_msgSend_170Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_date1 = _registerName1("date"); - late final _sel_dateWithTimeIntervalSinceNow_1 = - _registerName1("dateWithTimeIntervalSinceNow:"); - late final _sel_dateWithTimeIntervalSinceReferenceDate_1 = - _registerName1("dateWithTimeIntervalSinceReferenceDate:"); - late final _sel_dateWithTimeIntervalSince1970_1 = - _registerName1("dateWithTimeIntervalSince1970:"); - late final _sel_dateWithTimeInterval_sinceDate_1 = - _registerName1("dateWithTimeInterval:sinceDate:"); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_170 = + __objc_msgSend_170Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_date1 = objc.registerName("date"); + late final _sel_dateWithTimeIntervalSinceNow_1 = objc.registerName( + "dateWithTimeIntervalSinceNow:", + ); + late final _sel_dateWithTimeIntervalSinceReferenceDate_1 = objc.registerName( + "dateWithTimeIntervalSinceReferenceDate:", + ); + late final _sel_dateWithTimeIntervalSince1970_1 = objc.registerName( + "dateWithTimeIntervalSince1970:", + ); + late final _sel_dateWithTimeInterval_sinceDate_1 = objc.registerName( + "dateWithTimeInterval:sinceDate:", + ); instancetype _objc_msgSend_171( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, double secsToBeAdded, - ffi.Pointer date, + ffi.Pointer date, ) { - return __objc_msgSend_171( - obj, - sel, - secsToBeAdded, - date, - ); + return __objc_msgSend_171(obj, sel, secsToBeAdded, date); } late final __objc_msgSend_171Ptr = _lookup< - ffi.NativeFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Double, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_171 = __objc_msgSend_171Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - double, ffi.Pointer)>(); - - late final _sel_distantFuture1 = _registerName1("distantFuture"); - ffi.Pointer _objc_msgSend_172( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_172( - obj, - sel, - ); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Double, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_171 = + __objc_msgSend_171Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + double, + ffi.Pointer, + ) + >(); + + late final _sel_distantFuture1 = objc.registerName("distantFuture"); + ffi.Pointer _objc_msgSend_172( + ffi.Pointer obj, + ffi.Pointer sel, + ) { + return __objc_msgSend_172(obj, sel); } late final __objc_msgSend_172Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_172 = __objc_msgSend_172Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_distantPast1 = _registerName1("distantPast"); - late final _sel_now1 = _registerName1("now"); - late final _sel_initWithTimeIntervalSinceNow_1 = - _registerName1("initWithTimeIntervalSinceNow:"); - late final _sel_initWithTimeIntervalSince1970_1 = - _registerName1("initWithTimeIntervalSince1970:"); - late final _sel_initWithTimeInterval_sinceDate_1 = - _registerName1("initWithTimeInterval:sinceDate:"); - late final _sel_dateWithNaturalLanguageString_locale_1 = - _registerName1("dateWithNaturalLanguageString:locale:"); - ffi.Pointer _objc_msgSend_173( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer string, - ffi.Pointer locale, - ) { - return __objc_msgSend_173( - obj, - sel, - string, - locale, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_172 = + __objc_msgSend_172Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_distantPast1 = objc.registerName("distantPast"); + late final _sel_now1 = objc.registerName("now"); + late final _sel_initWithTimeIntervalSinceNow_1 = objc.registerName( + "initWithTimeIntervalSinceNow:", + ); + late final _sel_initWithTimeIntervalSince1970_1 = objc.registerName( + "initWithTimeIntervalSince1970:", + ); + late final _sel_initWithTimeInterval_sinceDate_1 = objc.registerName( + "initWithTimeInterval:sinceDate:", + ); + late final _sel_dateWithNaturalLanguageString_locale_1 = objc.registerName( + "dateWithNaturalLanguageString:locale:", + ); + ffi.Pointer _objc_msgSend_173( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer string, + ffi.Pointer locale, + ) { + return __objc_msgSend_173(obj, sel, string, locale); } late final __objc_msgSend_173Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_173 = __objc_msgSend_173Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_dateWithNaturalLanguageString_1 = - _registerName1("dateWithNaturalLanguageString:"); - late final _sel_dateWithString_1 = _registerName1("dateWithString:"); - late final _class_NSCalendarDate1 = _getClass1("NSCalendarDate"); - late final _sel_calendarDate1 = _registerName1("calendarDate"); - late final _sel_dateWithString_calendarFormat_locale_1 = - _registerName1("dateWithString:calendarFormat:locale:"); - ffi.Pointer _objc_msgSend_174( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer description, - ffi.Pointer format, - ffi.Pointer locale, - ) { - return __objc_msgSend_174( - obj, - sel, - description, - format, - locale, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_173 = + __objc_msgSend_173Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_dateWithNaturalLanguageString_1 = objc.registerName( + "dateWithNaturalLanguageString:", + ); + late final _sel_dateWithString_1 = objc.registerName("dateWithString:"); + late final _class_NSCalendarDate1 = objc.getClass("NSCalendarDate"); + late final _sel_calendarDate1 = objc.registerName("calendarDate"); + late final _sel_dateWithString_calendarFormat_locale_1 = objc.registerName( + "dateWithString:calendarFormat:locale:", + ); + ffi.Pointer _objc_msgSend_174( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer description, + ffi.Pointer format, + ffi.Pointer locale, + ) { + return __objc_msgSend_174(obj, sel, description, format, locale); } late final __objc_msgSend_174Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_174 = __objc_msgSend_174Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_dateWithString_calendarFormat_1 = - _registerName1("dateWithString:calendarFormat:"); - ffi.Pointer _objc_msgSend_175( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer description, - ffi.Pointer format, - ) { - return __objc_msgSend_175( - obj, - sel, - description, - format, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_174 = + __objc_msgSend_174Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_dateWithString_calendarFormat_1 = objc.registerName( + "dateWithString:calendarFormat:", + ); + ffi.Pointer _objc_msgSend_175( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer description, + ffi.Pointer format, + ) { + return __objc_msgSend_175(obj, sel, description, format); } late final __objc_msgSend_175Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_175 = __objc_msgSend_175Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - late final _class_NSTimeZone1 = _getClass1("NSTimeZone"); - late final _sel_name1 = _registerName1("name"); - late final _sel_data1 = _registerName1("data"); - late final _sel_secondsFromGMTForDate_1 = - _registerName1("secondsFromGMTForDate:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_175 = + __objc_msgSend_175Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _class_NSTimeZone1 = objc.getClass("NSTimeZone"); + late final _sel_name1 = objc.registerName("name"); + late final _sel_data1 = objc.registerName("data"); + late final _sel_secondsFromGMTForDate_1 = objc.registerName( + "secondsFromGMTForDate:", + ); int _objc_msgSend_176( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aDate, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer aDate, ) { - return __objc_msgSend_176( - obj, - sel, - aDate, - ); + return __objc_msgSend_176(obj, sel, aDate); } late final __objc_msgSend_176Ptr = _lookup< - ffi.NativeFunction< - ffi.Long Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_176 = __objc_msgSend_176Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_abbreviationForDate_1 = - _registerName1("abbreviationForDate:"); - ffi.Pointer _objc_msgSend_177( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aDate, - ) { - return __objc_msgSend_177( - obj, - sel, - aDate, - ); + ffi.NativeFunction< + ffi.Long Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_176 = + __objc_msgSend_176Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_abbreviationForDate_1 = objc.registerName( + "abbreviationForDate:", + ); + ffi.Pointer _objc_msgSend_177( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer aDate, + ) { + return __objc_msgSend_177(obj, sel, aDate); } late final __objc_msgSend_177Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_177 = __objc_msgSend_177Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_isDaylightSavingTimeForDate_1 = - _registerName1("isDaylightSavingTimeForDate:"); - late final _sel_daylightSavingTimeOffsetForDate_1 = - _registerName1("daylightSavingTimeOffsetForDate:"); - late final _sel_nextDaylightSavingTimeTransitionAfterDate_1 = - _registerName1("nextDaylightSavingTimeTransitionAfterDate:"); - ffi.Pointer _objc_msgSend_178( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aDate, - ) { - return __objc_msgSend_178( - obj, - sel, - aDate, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_177 = + __objc_msgSend_177Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_isDaylightSavingTimeForDate_1 = objc.registerName( + "isDaylightSavingTimeForDate:", + ); + late final _sel_daylightSavingTimeOffsetForDate_1 = objc.registerName( + "daylightSavingTimeOffsetForDate:", + ); + late final _sel_nextDaylightSavingTimeTransitionAfterDate_1 = objc + .registerName("nextDaylightSavingTimeTransitionAfterDate:"); + ffi.Pointer _objc_msgSend_178( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer aDate, + ) { + return __objc_msgSend_178(obj, sel, aDate); } late final __objc_msgSend_178Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_178 = __objc_msgSend_178Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_systemTimeZone1 = _registerName1("systemTimeZone"); - ffi.Pointer _objc_msgSend_179( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_179( - obj, - sel, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_178 = + __objc_msgSend_178Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_systemTimeZone1 = objc.registerName("systemTimeZone"); + ffi.Pointer _objc_msgSend_179( + ffi.Pointer obj, + ffi.Pointer sel, + ) { + return __objc_msgSend_179(obj, sel); } late final __objc_msgSend_179Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_179 = __objc_msgSend_179Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_resetSystemTimeZone1 = _registerName1("resetSystemTimeZone"); - late final _sel_defaultTimeZone1 = _registerName1("defaultTimeZone"); - late final _sel_setDefaultTimeZone_1 = _registerName1("setDefaultTimeZone:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_179 = + __objc_msgSend_179Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_resetSystemTimeZone1 = objc.registerName( + "resetSystemTimeZone", + ); + late final _sel_defaultTimeZone1 = objc.registerName("defaultTimeZone"); + late final _sel_setDefaultTimeZone_1 = objc.registerName( + "setDefaultTimeZone:", + ); void _objc_msgSend_180( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value, ) { - return __objc_msgSend_180( - obj, - sel, - value, - ); + return __objc_msgSend_180(obj, sel, value); } late final __objc_msgSend_180Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_180 = __objc_msgSend_180Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_localTimeZone1 = _registerName1("localTimeZone"); - late final _sel_knownTimeZoneNames1 = _registerName1("knownTimeZoneNames"); - late final _sel_abbreviationDictionary1 = - _registerName1("abbreviationDictionary"); - ffi.Pointer _objc_msgSend_181( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_181( - obj, - sel, - ); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_180 = + __objc_msgSend_180Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_localTimeZone1 = objc.registerName("localTimeZone"); + late final _sel_knownTimeZoneNames1 = objc.registerName("knownTimeZoneNames"); + late final _sel_abbreviationDictionary1 = objc.registerName( + "abbreviationDictionary", + ); + ffi.Pointer _objc_msgSend_181( + ffi.Pointer obj, + ffi.Pointer sel, + ) { + return __objc_msgSend_181(obj, sel); } late final __objc_msgSend_181Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_181 = __objc_msgSend_181Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_setAbbreviationDictionary_1 = - _registerName1("setAbbreviationDictionary:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_181 = + __objc_msgSend_181Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_setAbbreviationDictionary_1 = objc.registerName( + "setAbbreviationDictionary:", + ); void _objc_msgSend_182( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value, ) { - return __objc_msgSend_182( - obj, - sel, - value, - ); + return __objc_msgSend_182(obj, sel, value); } late final __objc_msgSend_182Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_182 = __objc_msgSend_182Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_timeZoneDataVersion1 = _registerName1("timeZoneDataVersion"); - late final _sel_secondsFromGMT1 = _registerName1("secondsFromGMT"); - late final _sel_abbreviation1 = _registerName1("abbreviation"); - late final _sel_isDaylightSavingTime1 = - _registerName1("isDaylightSavingTime"); - late final _sel_daylightSavingTimeOffset1 = - _registerName1("daylightSavingTimeOffset"); - late final _sel_nextDaylightSavingTimeTransition1 = - _registerName1("nextDaylightSavingTimeTransition"); - ffi.Pointer _objc_msgSend_183( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_183( - obj, - sel, - ); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_182 = + __objc_msgSend_182Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_timeZoneDataVersion1 = objc.registerName( + "timeZoneDataVersion", + ); + late final _sel_secondsFromGMT1 = objc.registerName("secondsFromGMT"); + late final _sel_abbreviation1 = objc.registerName("abbreviation"); + late final _sel_isDaylightSavingTime1 = objc.registerName( + "isDaylightSavingTime", + ); + late final _sel_daylightSavingTimeOffset1 = objc.registerName( + "daylightSavingTimeOffset", + ); + late final _sel_nextDaylightSavingTimeTransition1 = objc.registerName( + "nextDaylightSavingTimeTransition", + ); + ffi.Pointer _objc_msgSend_183( + ffi.Pointer obj, + ffi.Pointer sel, + ) { + return __objc_msgSend_183(obj, sel); } late final __objc_msgSend_183Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_183 = __objc_msgSend_183Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_183 = + __objc_msgSend_183Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); - late final _sel_isEqualToTimeZone_1 = _registerName1("isEqualToTimeZone:"); + late final _sel_isEqualToTimeZone_1 = objc.registerName("isEqualToTimeZone:"); bool _objc_msgSend_184( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aTimeZone, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer aTimeZone, ) { - return __objc_msgSend_184( - obj, - sel, - aTimeZone, - ); + return __objc_msgSend_184(obj, sel, aTimeZone); } late final __objc_msgSend_184Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_184 = __objc_msgSend_184Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _class_NSLocale1 = _getClass1("NSLocale"); - late final _sel_displayNameForKey_value_1 = - _registerName1("displayNameForKey:value:"); - ffi.Pointer _objc_msgSend_185( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer key, - ffi.Pointer value, - ) { - return __objc_msgSend_185( - obj, - sel, - key, - value, - ); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_184 = + __objc_msgSend_184Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _class_NSLocale1 = objc.getClass("NSLocale"); + late final _sel_displayNameForKey_value_1 = objc.registerName( + "displayNameForKey:value:", + ); + ffi.Pointer _objc_msgSend_185( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer key, + ffi.Pointer value, + ) { + return __objc_msgSend_185(obj, sel, key, value); } late final __objc_msgSend_185Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_185 = __objc_msgSend_185Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_initWithLocaleIdentifier_1 = - _registerName1("initWithLocaleIdentifier:"); - late final _sel_localeIdentifier1 = _registerName1("localeIdentifier"); - late final _sel_localizedStringForLocaleIdentifier_1 = - _registerName1("localizedStringForLocaleIdentifier:"); - late final _sel_languageCode1 = _registerName1("languageCode"); - late final _sel_localizedStringForLanguageCode_1 = - _registerName1("localizedStringForLanguageCode:"); - ffi.Pointer _objc_msgSend_186( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer languageCode, - ) { - return __objc_msgSend_186( - obj, - sel, - languageCode, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_185 = + __objc_msgSend_185Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_initWithLocaleIdentifier_1 = objc.registerName( + "initWithLocaleIdentifier:", + ); + late final _sel_localeIdentifier1 = objc.registerName("localeIdentifier"); + late final _sel_localizedStringForLocaleIdentifier_1 = objc.registerName( + "localizedStringForLocaleIdentifier:", + ); + late final _sel_languageCode1 = objc.registerName("languageCode"); + late final _sel_localizedStringForLanguageCode_1 = objc.registerName( + "localizedStringForLanguageCode:", + ); + ffi.Pointer _objc_msgSend_186( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer languageCode, + ) { + return __objc_msgSend_186(obj, sel, languageCode); } late final __objc_msgSend_186Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_186 = __objc_msgSend_186Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_languageIdentifier1 = _registerName1("languageIdentifier"); - late final _sel_countryCode1 = _registerName1("countryCode"); - late final _sel_localizedStringForCountryCode_1 = - _registerName1("localizedStringForCountryCode:"); - late final _sel_regionCode1 = _registerName1("regionCode"); - late final _sel_scriptCode1 = _registerName1("scriptCode"); - late final _sel_localizedStringForScriptCode_1 = - _registerName1("localizedStringForScriptCode:"); - late final _sel_variantCode1 = _registerName1("variantCode"); - late final _sel_localizedStringForVariantCode_1 = - _registerName1("localizedStringForVariantCode:"); - late final _class_NSCharacterSet1 = _getClass1("NSCharacterSet"); - late final _sel_controlCharacterSet1 = _registerName1("controlCharacterSet"); - ffi.Pointer _objc_msgSend_187( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_187( - obj, - sel, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_186 = + __objc_msgSend_186Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_languageIdentifier1 = objc.registerName("languageIdentifier"); + late final _sel_countryCode1 = objc.registerName("countryCode"); + late final _sel_localizedStringForCountryCode_1 = objc.registerName( + "localizedStringForCountryCode:", + ); + late final _sel_regionCode1 = objc.registerName("regionCode"); + late final _sel_scriptCode1 = objc.registerName("scriptCode"); + late final _sel_localizedStringForScriptCode_1 = objc.registerName( + "localizedStringForScriptCode:", + ); + late final _sel_variantCode1 = objc.registerName("variantCode"); + late final _sel_localizedStringForVariantCode_1 = objc.registerName( + "localizedStringForVariantCode:", + ); + late final _class_NSCharacterSet1 = objc.getClass("NSCharacterSet"); + late final _sel_controlCharacterSet1 = objc.registerName( + "controlCharacterSet", + ); + ffi.Pointer _objc_msgSend_187( + ffi.Pointer obj, + ffi.Pointer sel, + ) { + return __objc_msgSend_187(obj, sel); } late final __objc_msgSend_187Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_187 = __objc_msgSend_187Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_whitespaceCharacterSet1 = - _registerName1("whitespaceCharacterSet"); - late final _sel_whitespaceAndNewlineCharacterSet1 = - _registerName1("whitespaceAndNewlineCharacterSet"); - late final _sel_decimalDigitCharacterSet1 = - _registerName1("decimalDigitCharacterSet"); - late final _sel_letterCharacterSet1 = _registerName1("letterCharacterSet"); - late final _sel_lowercaseLetterCharacterSet1 = - _registerName1("lowercaseLetterCharacterSet"); - late final _sel_uppercaseLetterCharacterSet1 = - _registerName1("uppercaseLetterCharacterSet"); - late final _sel_nonBaseCharacterSet1 = _registerName1("nonBaseCharacterSet"); - late final _sel_alphanumericCharacterSet1 = - _registerName1("alphanumericCharacterSet"); - late final _sel_decomposableCharacterSet1 = - _registerName1("decomposableCharacterSet"); - late final _sel_illegalCharacterSet1 = _registerName1("illegalCharacterSet"); - late final _sel_punctuationCharacterSet1 = - _registerName1("punctuationCharacterSet"); - late final _sel_capitalizedLetterCharacterSet1 = - _registerName1("capitalizedLetterCharacterSet"); - late final _sel_symbolCharacterSet1 = _registerName1("symbolCharacterSet"); - late final _sel_newlineCharacterSet1 = _registerName1("newlineCharacterSet"); - late final _sel_characterSetWithRange_1 = - _registerName1("characterSetWithRange:"); - ffi.Pointer _objc_msgSend_188( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_187 = + __objc_msgSend_187Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_whitespaceCharacterSet1 = objc.registerName( + "whitespaceCharacterSet", + ); + late final _sel_whitespaceAndNewlineCharacterSet1 = objc.registerName( + "whitespaceAndNewlineCharacterSet", + ); + late final _sel_decimalDigitCharacterSet1 = objc.registerName( + "decimalDigitCharacterSet", + ); + late final _sel_letterCharacterSet1 = objc.registerName("letterCharacterSet"); + late final _sel_lowercaseLetterCharacterSet1 = objc.registerName( + "lowercaseLetterCharacterSet", + ); + late final _sel_uppercaseLetterCharacterSet1 = objc.registerName( + "uppercaseLetterCharacterSet", + ); + late final _sel_nonBaseCharacterSet1 = objc.registerName( + "nonBaseCharacterSet", + ); + late final _sel_alphanumericCharacterSet1 = objc.registerName( + "alphanumericCharacterSet", + ); + late final _sel_decomposableCharacterSet1 = objc.registerName( + "decomposableCharacterSet", + ); + late final _sel_illegalCharacterSet1 = objc.registerName( + "illegalCharacterSet", + ); + late final _sel_punctuationCharacterSet1 = objc.registerName( + "punctuationCharacterSet", + ); + late final _sel_capitalizedLetterCharacterSet1 = objc.registerName( + "capitalizedLetterCharacterSet", + ); + late final _sel_symbolCharacterSet1 = objc.registerName("symbolCharacterSet"); + late final _sel_newlineCharacterSet1 = objc.registerName( + "newlineCharacterSet", + ); + late final _sel_characterSetWithRange_1 = objc.registerName( + "characterSetWithRange:", + ); + ffi.Pointer _objc_msgSend_188( + ffi.Pointer obj, + ffi.Pointer sel, _NSRange aRange, ) { - return __objc_msgSend_188( - obj, - sel, - aRange, - ); + return __objc_msgSend_188(obj, sel, aRange); } late final __objc_msgSend_188Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, _NSRange)>>('objc_msgSend'); - late final __objc_msgSend_188 = __objc_msgSend_188Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer, _NSRange)>(); - - late final _sel_characterSetWithCharactersInString_1 = - _registerName1("characterSetWithCharactersInString:"); - ffi.Pointer _objc_msgSend_189( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aString, - ) { - return __objc_msgSend_189( - obj, - sel, - aString, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_188 = + __objc_msgSend_188Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ) + >(); + + late final _sel_characterSetWithCharactersInString_1 = objc.registerName( + "characterSetWithCharactersInString:", + ); + ffi.Pointer _objc_msgSend_189( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer aString, + ) { + return __objc_msgSend_189(obj, sel, aString); } late final __objc_msgSend_189Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_189 = __objc_msgSend_189Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_characterSetWithBitmapRepresentation_1 = - _registerName1("characterSetWithBitmapRepresentation:"); - ffi.Pointer _objc_msgSend_190( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer data, - ) { - return __objc_msgSend_190( - obj, - sel, - data, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_189 = + __objc_msgSend_189Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_characterSetWithBitmapRepresentation_1 = objc.registerName( + "characterSetWithBitmapRepresentation:", + ); + ffi.Pointer _objc_msgSend_190( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer data, + ) { + return __objc_msgSend_190(obj, sel, data); } late final __objc_msgSend_190Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_190 = __objc_msgSend_190Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_characterSetWithContentsOfFile_1 = - _registerName1("characterSetWithContentsOfFile:"); - ffi.Pointer _objc_msgSend_191( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer fName, - ) { - return __objc_msgSend_191( - obj, - sel, - fName, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_190 = + __objc_msgSend_190Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_characterSetWithContentsOfFile_1 = objc.registerName( + "characterSetWithContentsOfFile:", + ); + ffi.Pointer _objc_msgSend_191( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer fName, + ) { + return __objc_msgSend_191(obj, sel, fName); } late final __objc_msgSend_191Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_191 = __objc_msgSend_191Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_191 = + __objc_msgSend_191Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); instancetype _objc_msgSend_192( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer coder, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer coder, ) { - return __objc_msgSend_192( - obj, - sel, - coder, - ); + return __objc_msgSend_192(obj, sel, coder); } late final __objc_msgSend_192Ptr = _lookup< - ffi.NativeFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_192 = __objc_msgSend_192Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_characterIsMember_1 = _registerName1("characterIsMember:"); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_192 = + __objc_msgSend_192Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_characterIsMember_1 = objc.registerName("characterIsMember:"); bool _objc_msgSend_193( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int aCharacter, ) { - return __objc_msgSend_193( - obj, - sel, - aCharacter, - ); + return __objc_msgSend_193(obj, sel, aCharacter); } late final __objc_msgSend_193Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer, ffi.Pointer, - ffi.UnsignedShort)>>('objc_msgSend'); - late final __objc_msgSend_193 = __objc_msgSend_193Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_bitmapRepresentation1 = - _registerName1("bitmapRepresentation"); - late final _sel_invertedSet1 = _registerName1("invertedSet"); - late final _sel_longCharacterIsMember_1 = - _registerName1("longCharacterIsMember:"); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedShort, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_193 = + __objc_msgSend_193Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_bitmapRepresentation1 = objc.registerName( + "bitmapRepresentation", + ); + late final _sel_invertedSet1 = objc.registerName("invertedSet"); + late final _sel_longCharacterIsMember_1 = objc.registerName( + "longCharacterIsMember:", + ); bool _objc_msgSend_194( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int theLongChar, ) { - return __objc_msgSend_194( - obj, - sel, - theLongChar, - ); + return __objc_msgSend_194(obj, sel, theLongChar); } late final __objc_msgSend_194Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer, ffi.Pointer, - ffi.UnsignedInt)>>('objc_msgSend'); - late final __objc_msgSend_194 = __objc_msgSend_194Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, int)>(); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedInt, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_194 = + __objc_msgSend_194Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); - late final _sel_isSupersetOfSet_1 = _registerName1("isSupersetOfSet:"); + late final _sel_isSupersetOfSet_1 = objc.registerName("isSupersetOfSet:"); bool _objc_msgSend_195( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer theOtherSet, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer theOtherSet, ) { - return __objc_msgSend_195( - obj, - sel, - theOtherSet, - ); + return __objc_msgSend_195(obj, sel, theOtherSet); } late final __objc_msgSend_195Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_195 = __objc_msgSend_195Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_195 = + __objc_msgSend_195Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); - late final _sel_hasMemberInPlane_1 = _registerName1("hasMemberInPlane:"); + late final _sel_hasMemberInPlane_1 = objc.registerName("hasMemberInPlane:"); bool _objc_msgSend_196( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int thePlane, ) { - return __objc_msgSend_196( - obj, - sel, - thePlane, - ); + return __objc_msgSend_196(obj, sel, thePlane); } late final __objc_msgSend_196Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer, ffi.Pointer, - ffi.Uint8)>>('objc_msgSend'); - late final __objc_msgSend_196 = __objc_msgSend_196Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_URLUserAllowedCharacterSet1 = - _registerName1("URLUserAllowedCharacterSet"); - late final _sel_URLPasswordAllowedCharacterSet1 = - _registerName1("URLPasswordAllowedCharacterSet"); - late final _sel_URLHostAllowedCharacterSet1 = - _registerName1("URLHostAllowedCharacterSet"); - late final _sel_URLPathAllowedCharacterSet1 = - _registerName1("URLPathAllowedCharacterSet"); - late final _sel_URLQueryAllowedCharacterSet1 = - _registerName1("URLQueryAllowedCharacterSet"); - late final _sel_URLFragmentAllowedCharacterSet1 = - _registerName1("URLFragmentAllowedCharacterSet"); - late final _sel_exemplarCharacterSet1 = - _registerName1("exemplarCharacterSet"); - late final _sel_calendarIdentifier1 = _registerName1("calendarIdentifier"); - late final _sel_localizedStringForCalendarIdentifier_1 = - _registerName1("localizedStringForCalendarIdentifier:"); - late final _sel_collationIdentifier1 = _registerName1("collationIdentifier"); - late final _sel_localizedStringForCollationIdentifier_1 = - _registerName1("localizedStringForCollationIdentifier:"); - late final _sel_usesMetricSystem1 = _registerName1("usesMetricSystem"); - late final _sel_decimalSeparator1 = _registerName1("decimalSeparator"); - late final _sel_groupingSeparator1 = _registerName1("groupingSeparator"); - late final _sel_currencySymbol1 = _registerName1("currencySymbol"); - late final _sel_currencyCode1 = _registerName1("currencyCode"); - late final _sel_localizedStringForCurrencyCode_1 = - _registerName1("localizedStringForCurrencyCode:"); - late final _sel_collatorIdentifier1 = _registerName1("collatorIdentifier"); - late final _sel_localizedStringForCollatorIdentifier_1 = - _registerName1("localizedStringForCollatorIdentifier:"); - late final _sel_quotationBeginDelimiter1 = - _registerName1("quotationBeginDelimiter"); - late final _sel_quotationEndDelimiter1 = - _registerName1("quotationEndDelimiter"); - late final _sel_alternateQuotationBeginDelimiter1 = - _registerName1("alternateQuotationBeginDelimiter"); - late final _sel_alternateQuotationEndDelimiter1 = - _registerName1("alternateQuotationEndDelimiter"); - late final _sel_autoupdatingCurrentLocale1 = - _registerName1("autoupdatingCurrentLocale"); - ffi.Pointer _objc_msgSend_197( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_197( - obj, - sel, - ); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Uint8, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_196 = + __objc_msgSend_196Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_URLUserAllowedCharacterSet1 = objc.registerName( + "URLUserAllowedCharacterSet", + ); + late final _sel_URLPasswordAllowedCharacterSet1 = objc.registerName( + "URLPasswordAllowedCharacterSet", + ); + late final _sel_URLHostAllowedCharacterSet1 = objc.registerName( + "URLHostAllowedCharacterSet", + ); + late final _sel_URLPathAllowedCharacterSet1 = objc.registerName( + "URLPathAllowedCharacterSet", + ); + late final _sel_URLQueryAllowedCharacterSet1 = objc.registerName( + "URLQueryAllowedCharacterSet", + ); + late final _sel_URLFragmentAllowedCharacterSet1 = objc.registerName( + "URLFragmentAllowedCharacterSet", + ); + late final _sel_exemplarCharacterSet1 = objc.registerName( + "exemplarCharacterSet", + ); + late final _sel_calendarIdentifier1 = objc.registerName("calendarIdentifier"); + late final _sel_localizedStringForCalendarIdentifier_1 = objc.registerName( + "localizedStringForCalendarIdentifier:", + ); + late final _sel_collationIdentifier1 = objc.registerName( + "collationIdentifier", + ); + late final _sel_localizedStringForCollationIdentifier_1 = objc.registerName( + "localizedStringForCollationIdentifier:", + ); + late final _sel_usesMetricSystem1 = objc.registerName("usesMetricSystem"); + late final _sel_decimalSeparator1 = objc.registerName("decimalSeparator"); + late final _sel_groupingSeparator1 = objc.registerName("groupingSeparator"); + late final _sel_currencySymbol1 = objc.registerName("currencySymbol"); + late final _sel_currencyCode1 = objc.registerName("currencyCode"); + late final _sel_localizedStringForCurrencyCode_1 = objc.registerName( + "localizedStringForCurrencyCode:", + ); + late final _sel_collatorIdentifier1 = objc.registerName("collatorIdentifier"); + late final _sel_localizedStringForCollatorIdentifier_1 = objc.registerName( + "localizedStringForCollatorIdentifier:", + ); + late final _sel_quotationBeginDelimiter1 = objc.registerName( + "quotationBeginDelimiter", + ); + late final _sel_quotationEndDelimiter1 = objc.registerName( + "quotationEndDelimiter", + ); + late final _sel_alternateQuotationBeginDelimiter1 = objc.registerName( + "alternateQuotationBeginDelimiter", + ); + late final _sel_alternateQuotationEndDelimiter1 = objc.registerName( + "alternateQuotationEndDelimiter", + ); + late final _sel_autoupdatingCurrentLocale1 = objc.registerName( + "autoupdatingCurrentLocale", + ); + ffi.Pointer _objc_msgSend_197( + ffi.Pointer obj, + ffi.Pointer sel, + ) { + return __objc_msgSend_197(obj, sel); } late final __objc_msgSend_197Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_197 = __objc_msgSend_197Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_currentLocale1 = _registerName1("currentLocale"); - late final _sel_systemLocale1 = _registerName1("systemLocale"); - late final _sel_localeWithLocaleIdentifier_1 = - _registerName1("localeWithLocaleIdentifier:"); - late final _sel_availableLocaleIdentifiers1 = - _registerName1("availableLocaleIdentifiers"); - late final _sel_ISOLanguageCodes1 = _registerName1("ISOLanguageCodes"); - late final _sel_ISOCountryCodes1 = _registerName1("ISOCountryCodes"); - late final _sel_ISOCurrencyCodes1 = _registerName1("ISOCurrencyCodes"); - late final _sel_commonISOCurrencyCodes1 = - _registerName1("commonISOCurrencyCodes"); - late final _sel_preferredLanguages1 = _registerName1("preferredLanguages"); - late final _sel_componentsFromLocaleIdentifier_1 = - _registerName1("componentsFromLocaleIdentifier:"); - ffi.Pointer _objc_msgSend_198( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer string, - ) { - return __objc_msgSend_198( - obj, - sel, - string, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_197 = + __objc_msgSend_197Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_currentLocale1 = objc.registerName("currentLocale"); + late final _sel_systemLocale1 = objc.registerName("systemLocale"); + late final _sel_localeWithLocaleIdentifier_1 = objc.registerName( + "localeWithLocaleIdentifier:", + ); + late final _sel_availableLocaleIdentifiers1 = objc.registerName( + "availableLocaleIdentifiers", + ); + late final _sel_ISOLanguageCodes1 = objc.registerName("ISOLanguageCodes"); + late final _sel_ISOCountryCodes1 = objc.registerName("ISOCountryCodes"); + late final _sel_ISOCurrencyCodes1 = objc.registerName("ISOCurrencyCodes"); + late final _sel_commonISOCurrencyCodes1 = objc.registerName( + "commonISOCurrencyCodes", + ); + late final _sel_preferredLanguages1 = objc.registerName("preferredLanguages"); + late final _sel_componentsFromLocaleIdentifier_1 = objc.registerName( + "componentsFromLocaleIdentifier:", + ); + ffi.Pointer _objc_msgSend_198( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer string, + ) { + return __objc_msgSend_198(obj, sel, string); } late final __objc_msgSend_198Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_198 = __objc_msgSend_198Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_localeIdentifierFromComponents_1 = - _registerName1("localeIdentifierFromComponents:"); - ffi.Pointer _objc_msgSend_199( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer dict, - ) { - return __objc_msgSend_199( - obj, - sel, - dict, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_198 = + __objc_msgSend_198Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_localeIdentifierFromComponents_1 = objc.registerName( + "localeIdentifierFromComponents:", + ); + ffi.Pointer _objc_msgSend_199( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer dict, + ) { + return __objc_msgSend_199(obj, sel, dict); } late final __objc_msgSend_199Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_199 = __objc_msgSend_199Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_canonicalLocaleIdentifierFromString_1 = - _registerName1("canonicalLocaleIdentifierFromString:"); - late final _sel_canonicalLanguageIdentifierFromString_1 = - _registerName1("canonicalLanguageIdentifierFromString:"); - late final _sel_localeIdentifierFromWindowsLocaleCode_1 = - _registerName1("localeIdentifierFromWindowsLocaleCode:"); - ffi.Pointer _objc_msgSend_200( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_199 = + __objc_msgSend_199Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_canonicalLocaleIdentifierFromString_1 = objc.registerName( + "canonicalLocaleIdentifierFromString:", + ); + late final _sel_canonicalLanguageIdentifierFromString_1 = objc.registerName( + "canonicalLanguageIdentifierFromString:", + ); + late final _sel_localeIdentifierFromWindowsLocaleCode_1 = objc.registerName( + "localeIdentifierFromWindowsLocaleCode:", + ); + ffi.Pointer _objc_msgSend_200( + ffi.Pointer obj, + ffi.Pointer sel, int lcid, ) { - return __objc_msgSend_200( - obj, - sel, - lcid, - ); + return __objc_msgSend_200(obj, sel, lcid); } late final __objc_msgSend_200Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Uint32)>>('objc_msgSend'); - late final __objc_msgSend_200 = __objc_msgSend_200Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_windowsLocaleCodeFromLocaleIdentifier_1 = - _registerName1("windowsLocaleCodeFromLocaleIdentifier:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Uint32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_200 = + __objc_msgSend_200Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_windowsLocaleCodeFromLocaleIdentifier_1 = objc.registerName( + "windowsLocaleCodeFromLocaleIdentifier:", + ); int _objc_msgSend_201( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer localeIdentifier, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer localeIdentifier, ) { - return __objc_msgSend_201( - obj, - sel, - localeIdentifier, - ); + return __objc_msgSend_201(obj, sel, localeIdentifier); } late final __objc_msgSend_201Ptr = _lookup< - ffi.NativeFunction< - ffi.Uint32 Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_201 = __objc_msgSend_201Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_characterDirectionForLanguage_1 = - _registerName1("characterDirectionForLanguage:"); + ffi.NativeFunction< + ffi.Uint32 Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_201 = + __objc_msgSend_201Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_characterDirectionForLanguage_1 = objc.registerName( + "characterDirectionForLanguage:", + ); int _objc_msgSend_202( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer isoLangCode, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer isoLangCode, ) { - return __objc_msgSend_202( - obj, - sel, - isoLangCode, - ); + return __objc_msgSend_202(obj, sel, isoLangCode); } late final __objc_msgSend_202Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_202 = __objc_msgSend_202Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_lineDirectionForLanguage_1 = - _registerName1("lineDirectionForLanguage:"); - late final _sel_localizedName_locale_1 = - _registerName1("localizedName:locale:"); - ffi.Pointer _objc_msgSend_203( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_202 = + __objc_msgSend_202Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_lineDirectionForLanguage_1 = objc.registerName( + "lineDirectionForLanguage:", + ); + late final _sel_localizedName_locale_1 = objc.registerName( + "localizedName:locale:", + ); + ffi.Pointer _objc_msgSend_203( + ffi.Pointer obj, + ffi.Pointer sel, int style, - ffi.Pointer locale, + ffi.Pointer locale, ) { - return __objc_msgSend_203( - obj, - sel, - style, - locale, - ); + return __objc_msgSend_203(obj, sel, style, locale); } late final __objc_msgSend_203Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_203 = __objc_msgSend_203Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, int, ffi.Pointer)>(); - - late final _sel_timeZoneWithName_1 = _registerName1("timeZoneWithName:"); - late final _sel_timeZoneWithName_data_1 = - _registerName1("timeZoneWithName:data:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_203 = + __objc_msgSend_203Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ) + >(); + + late final _sel_timeZoneWithName_1 = objc.registerName("timeZoneWithName:"); + late final _sel_timeZoneWithName_data_1 = objc.registerName( + "timeZoneWithName:data:", + ); instancetype _objc_msgSend_204( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer tzName, - ffi.Pointer aData, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer tzName, + ffi.Pointer aData, ) { - return __objc_msgSend_204( - obj, - sel, - tzName, - aData, - ); + return __objc_msgSend_204(obj, sel, tzName, aData); } late final __objc_msgSend_204Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_204 = __objc_msgSend_204Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_initWithName_1 = _registerName1("initWithName:"); - late final _sel_initWithName_data_1 = _registerName1("initWithName:data:"); - late final _sel_timeZoneForSecondsFromGMT_1 = - _registerName1("timeZoneForSecondsFromGMT:"); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_204 = + __objc_msgSend_204Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_initWithName_1 = objc.registerName("initWithName:"); + late final _sel_initWithName_data_1 = objc.registerName("initWithName:data:"); + late final _sel_timeZoneForSecondsFromGMT_1 = objc.registerName( + "timeZoneForSecondsFromGMT:", + ); instancetype _objc_msgSend_205( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int seconds, ) { - return __objc_msgSend_205( - obj, - sel, - seconds, - ); + return __objc_msgSend_205(obj, sel, seconds); } late final __objc_msgSend_205Ptr = _lookup< - ffi.NativeFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Long)>>('objc_msgSend'); - late final __objc_msgSend_205 = __objc_msgSend_205Ptr.asFunction< + ffi.NativeFunction< instancetype Function( - ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_timeZoneWithAbbreviation_1 = - _registerName1("timeZoneWithAbbreviation:"); - late final _sel_dateWithYear_month_day_hour_minute_second_timeZone_1 = - _registerName1("dateWithYear:month:day:hour:minute:second:timeZone:"); - ffi.Pointer _objc_msgSend_206( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer, + ffi.Pointer, + ffi.Long, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_205 = + __objc_msgSend_205Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_timeZoneWithAbbreviation_1 = objc.registerName( + "timeZoneWithAbbreviation:", + ); + late final _sel_dateWithYear_month_day_hour_minute_second_timeZone_1 = objc + .registerName("dateWithYear:month:day:hour:minute:second:timeZone:"); + ffi.Pointer _objc_msgSend_206( + ffi.Pointer obj, + ffi.Pointer sel, int year, int month, int day, int hour, int minute, int second, - ffi.Pointer aTimeZone, + ffi.Pointer aTimeZone, ) { return __objc_msgSend_206( obj, @@ -5595,34 +6996,41 @@ class AVFAudio { } late final __objc_msgSend_206Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Long, - ffi.UnsignedLong, - ffi.UnsignedLong, - ffi.UnsignedLong, - ffi.UnsignedLong, - ffi.UnsignedLong, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_206 = __objc_msgSend_206Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - int, - int, - int, - int, - int, - ffi.Pointer)>(); - - late final _sel_dateByAddingYears_months_days_hours_minutes_seconds_1 = - _registerName1("dateByAddingYears:months:days:hours:minutes:seconds:"); - ffi.Pointer _objc_msgSend_207( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Long, + ffi.UnsignedLong, + ffi.UnsignedLong, + ffi.UnsignedLong, + ffi.UnsignedLong, + ffi.UnsignedLong, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_206 = + __objc_msgSend_206Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + int, + int, + int, + int, + int, + ffi.Pointer, + ) + >(); + + late final _sel_dateByAddingYears_months_days_hours_minutes_seconds_1 = objc + .registerName("dateByAddingYears:months:days:hours:minutes:seconds:"); + ffi.Pointer _objc_msgSend_207( + ffi.Pointer obj, + ffi.Pointer sel, int year, int month, int day, @@ -5630,1127 +7038,1418 @@ class AVFAudio { int minute, int second, ) { - return __objc_msgSend_207( - obj, - sel, - year, - month, - day, - hour, - minute, - second, - ); + return __objc_msgSend_207(obj, sel, year, month, day, hour, minute, second); } late final __objc_msgSend_207Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Long, - ffi.Long, - ffi.Long, - ffi.Long, - ffi.Long, - ffi.Long)>>('objc_msgSend'); - late final __objc_msgSend_207 = __objc_msgSend_207Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, int, int, int, int, int, int)>(); - - late final _sel_dayOfCommonEra1 = _registerName1("dayOfCommonEra"); - late final _sel_dayOfMonth1 = _registerName1("dayOfMonth"); - late final _sel_dayOfWeek1 = _registerName1("dayOfWeek"); - late final _sel_dayOfYear1 = _registerName1("dayOfYear"); - late final _sel_hourOfDay1 = _registerName1("hourOfDay"); - late final _sel_minuteOfHour1 = _registerName1("minuteOfHour"); - late final _sel_monthOfYear1 = _registerName1("monthOfYear"); - late final _sel_secondOfMinute1 = _registerName1("secondOfMinute"); - late final _sel_yearOfCommonEra1 = _registerName1("yearOfCommonEra"); - late final _sel_calendarFormat1 = _registerName1("calendarFormat"); - late final _sel_descriptionWithCalendarFormat_locale_1 = - _registerName1("descriptionWithCalendarFormat:locale:"); - ffi.Pointer _objc_msgSend_208( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer format, - ffi.Pointer locale, - ) { - return __objc_msgSend_208( - obj, - sel, - format, - locale, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Long, + ffi.Long, + ffi.Long, + ffi.Long, + ffi.Long, + ffi.Long, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_207 = + __objc_msgSend_207Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + int, + int, + int, + int, + int, + ) + >(); + + late final _sel_dayOfCommonEra1 = objc.registerName("dayOfCommonEra"); + late final _sel_dayOfMonth1 = objc.registerName("dayOfMonth"); + late final _sel_dayOfWeek1 = objc.registerName("dayOfWeek"); + late final _sel_dayOfYear1 = objc.registerName("dayOfYear"); + late final _sel_hourOfDay1 = objc.registerName("hourOfDay"); + late final _sel_minuteOfHour1 = objc.registerName("minuteOfHour"); + late final _sel_monthOfYear1 = objc.registerName("monthOfYear"); + late final _sel_secondOfMinute1 = objc.registerName("secondOfMinute"); + late final _sel_yearOfCommonEra1 = objc.registerName("yearOfCommonEra"); + late final _sel_calendarFormat1 = objc.registerName("calendarFormat"); + late final _sel_descriptionWithCalendarFormat_locale_1 = objc.registerName( + "descriptionWithCalendarFormat:locale:", + ); + ffi.Pointer _objc_msgSend_208( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer format, + ffi.Pointer locale, + ) { + return __objc_msgSend_208(obj, sel, format, locale); } late final __objc_msgSend_208Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_208 = __objc_msgSend_208Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_descriptionWithCalendarFormat_1 = - _registerName1("descriptionWithCalendarFormat:"); - late final _sel_timeZone1 = _registerName1("timeZone"); - late final _sel_initWithString_calendarFormat_locale_1 = - _registerName1("initWithString:calendarFormat:locale:"); - late final _sel_initWithString_calendarFormat_1 = - _registerName1("initWithString:calendarFormat:"); - late final _sel_initWithYear_month_day_hour_minute_second_timeZone_1 = - _registerName1("initWithYear:month:day:hour:minute:second:timeZone:"); - late final _sel_setCalendarFormat_1 = _registerName1("setCalendarFormat:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_208 = + __objc_msgSend_208Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_descriptionWithCalendarFormat_1 = objc.registerName( + "descriptionWithCalendarFormat:", + ); + late final _sel_timeZone1 = objc.registerName("timeZone"); + late final _sel_initWithString_calendarFormat_locale_1 = objc.registerName( + "initWithString:calendarFormat:locale:", + ); + late final _sel_initWithString_calendarFormat_1 = objc.registerName( + "initWithString:calendarFormat:", + ); + late final _sel_initWithYear_month_day_hour_minute_second_timeZone_1 = objc + .registerName("initWithYear:month:day:hour:minute:second:timeZone:"); + late final _sel_setCalendarFormat_1 = objc.registerName("setCalendarFormat:"); void _objc_msgSend_209( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer format, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer format, ) { - return __objc_msgSend_209( - obj, - sel, - format, - ); + return __objc_msgSend_209(obj, sel, format); } late final __objc_msgSend_209Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_209 = __objc_msgSend_209Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_209 = + __objc_msgSend_209Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); - late final _sel_setTimeZone_1 = _registerName1("setTimeZone:"); + late final _sel_setTimeZone_1 = objc.registerName("setTimeZone:"); void _objc_msgSend_210( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aTimeZone, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer aTimeZone, ) { - return __objc_msgSend_210( - obj, - sel, - aTimeZone, - ); + return __objc_msgSend_210(obj, sel, aTimeZone); } late final __objc_msgSend_210Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_210 = __objc_msgSend_210Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_years_months_days_hours_minutes_seconds_sinceDate_1 = - _registerName1("years:months:days:hours:minutes:seconds:sinceDate:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_210 = + __objc_msgSend_210Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_years_months_days_hours_minutes_seconds_sinceDate_1 = objc + .registerName("years:months:days:hours:minutes:seconds:sinceDate:"); void _objc_msgSend_211( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ffi.Pointer yp, ffi.Pointer mop, ffi.Pointer dp, ffi.Pointer hp, ffi.Pointer mip, ffi.Pointer sp, - ffi.Pointer date, + ffi.Pointer date, ) { - return __objc_msgSend_211( - obj, - sel, - yp, - mop, - dp, - hp, - mip, - sp, - date, - ); + return __objc_msgSend_211(obj, sel, yp, mop, dp, hp, mip, sp, date); } late final __objc_msgSend_211Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_211 = + __objc_msgSend_211Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_211 = __objc_msgSend_211Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_dateWithCalendarFormat_timeZone_1 = - _registerName1("dateWithCalendarFormat:timeZone:"); - ffi.Pointer _objc_msgSend_212( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer format, - ffi.Pointer aTimeZone, - ) { - return __objc_msgSend_212( - obj, - sel, - format, - aTimeZone, - ); + ffi.Pointer, + ) + >(); + + late final _sel_dateWithCalendarFormat_timeZone_1 = objc.registerName( + "dateWithCalendarFormat:timeZone:", + ); + ffi.Pointer _objc_msgSend_212( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer format, + ffi.Pointer aTimeZone, + ) { + return __objc_msgSend_212(obj, sel, format, aTimeZone); } late final __objc_msgSend_212Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_212 = __objc_msgSend_212Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_descriptionWithCalendarFormat_timeZone_locale_1 = - _registerName1("descriptionWithCalendarFormat:timeZone:locale:"); - ffi.Pointer _objc_msgSend_213( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer format, - ffi.Pointer aTimeZone, - ffi.Pointer locale, - ) { - return __objc_msgSend_213( - obj, - sel, - format, - aTimeZone, - locale, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_212 = + __objc_msgSend_212Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_descriptionWithCalendarFormat_timeZone_locale_1 = objc + .registerName("descriptionWithCalendarFormat:timeZone:locale:"); + ffi.Pointer _objc_msgSend_213( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer format, + ffi.Pointer aTimeZone, + ffi.Pointer locale, + ) { + return __objc_msgSend_213(obj, sel, format, aTimeZone, locale); } late final __objc_msgSend_213Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_213 = __objc_msgSend_213Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_fileModificationDate1 = - _registerName1("fileModificationDate"); - late final _sel_fileType1 = _registerName1("fileType"); - late final _sel_filePosixPermissions1 = - _registerName1("filePosixPermissions"); - late final _sel_fileOwnerAccountName1 = - _registerName1("fileOwnerAccountName"); - late final _sel_fileGroupOwnerAccountName1 = - _registerName1("fileGroupOwnerAccountName"); - late final _sel_fileSystemNumber1 = _registerName1("fileSystemNumber"); - late final _sel_fileSystemFileNumber1 = - _registerName1("fileSystemFileNumber"); - late final _sel_fileExtensionHidden1 = _registerName1("fileExtensionHidden"); - late final _sel_fileHFSCreatorCode1 = _registerName1("fileHFSCreatorCode"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_213 = + __objc_msgSend_213Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_fileModificationDate1 = objc.registerName( + "fileModificationDate", + ); + late final _sel_fileType1 = objc.registerName("fileType"); + late final _sel_filePosixPermissions1 = objc.registerName( + "filePosixPermissions", + ); + late final _sel_fileOwnerAccountName1 = objc.registerName( + "fileOwnerAccountName", + ); + late final _sel_fileGroupOwnerAccountName1 = objc.registerName( + "fileGroupOwnerAccountName", + ); + late final _sel_fileSystemNumber1 = objc.registerName("fileSystemNumber"); + late final _sel_fileSystemFileNumber1 = objc.registerName( + "fileSystemFileNumber", + ); + late final _sel_fileExtensionHidden1 = objc.registerName( + "fileExtensionHidden", + ); + late final _sel_fileHFSCreatorCode1 = objc.registerName("fileHFSCreatorCode"); int _objc_msgSend_214( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_214( - obj, - sel, - ); + return __objc_msgSend_214(obj, sel); } late final __objc_msgSend_214Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedInt Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_214 = __objc_msgSend_214Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer)>(); - - late final _sel_fileHFSTypeCode1 = _registerName1("fileHFSTypeCode"); - late final _sel_fileIsImmutable1 = _registerName1("fileIsImmutable"); - late final _sel_fileIsAppendOnly1 = _registerName1("fileIsAppendOnly"); - late final _sel_fileCreationDate1 = _registerName1("fileCreationDate"); - late final _sel_fileOwnerAccountID1 = _registerName1("fileOwnerAccountID"); - ffi.Pointer _objc_msgSend_215( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_215( - obj, - sel, - ); + ffi.NativeFunction< + ffi.UnsignedInt Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_214 = + __objc_msgSend_214Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_fileHFSTypeCode1 = objc.registerName("fileHFSTypeCode"); + late final _sel_fileIsImmutable1 = objc.registerName("fileIsImmutable"); + late final _sel_fileIsAppendOnly1 = objc.registerName("fileIsAppendOnly"); + late final _sel_fileCreationDate1 = objc.registerName("fileCreationDate"); + late final _sel_fileOwnerAccountID1 = objc.registerName("fileOwnerAccountID"); + ffi.Pointer _objc_msgSend_215( + ffi.Pointer obj, + ffi.Pointer sel, + ) { + return __objc_msgSend_215(obj, sel); } late final __objc_msgSend_215Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_215 = __objc_msgSend_215Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_fileGroupOwnerAccountID1 = - _registerName1("fileGroupOwnerAccountID"); - late final _sel_predicateWithBlock_1 = _registerName1("predicateWithBlock:"); - ffi.Pointer _objc_msgSend_216( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer<_ObjCBlock> block, - ) { - return __objc_msgSend_216( - obj, - sel, - block, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_215 = + __objc_msgSend_215Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_fileGroupOwnerAccountID1 = objc.registerName( + "fileGroupOwnerAccountID", + ); + late final _sel_predicateWithBlock_1 = objc.registerName( + "predicateWithBlock:", + ); + ffi.Pointer _objc_msgSend_216( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer block, + ) { + return __objc_msgSend_216(obj, sel, block); } late final __objc_msgSend_216Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_216 = __objc_msgSend_216Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_predicateFormat1 = _registerName1("predicateFormat"); - late final _sel_predicateWithSubstitutionVariables_1 = - _registerName1("predicateWithSubstitutionVariables:"); - late final _sel_evaluateWithObject_1 = _registerName1("evaluateWithObject:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_216 = + __objc_msgSend_216Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_predicateFormat1 = objc.registerName("predicateFormat"); + late final _sel_predicateWithSubstitutionVariables_1 = objc.registerName( + "predicateWithSubstitutionVariables:", + ); + late final _sel_evaluateWithObject_1 = objc.registerName( + "evaluateWithObject:", + ); bool _objc_msgSend_217( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer object, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer object, ) { - return __objc_msgSend_217( - obj, - sel, - object, - ); + return __objc_msgSend_217(obj, sel, object); } late final __objc_msgSend_217Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_217 = __objc_msgSend_217Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_evaluateWithObject_substitutionVariables_1 = - _registerName1("evaluateWithObject:substitutionVariables:"); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_217 = + __objc_msgSend_217Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_evaluateWithObject_substitutionVariables_1 = objc + .registerName("evaluateWithObject:substitutionVariables:"); bool _objc_msgSend_218( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer object, - ffi.Pointer bindings, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer object, + ffi.Pointer bindings, ) { - return __objc_msgSend_218( - obj, - sel, - object, - bindings, - ); + return __objc_msgSend_218(obj, sel, object, bindings); } late final __objc_msgSend_218Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_218 = __objc_msgSend_218Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_allowEvaluation1 = _registerName1("allowEvaluation"); - late final _sel_filteredArrayUsingPredicate_1 = - _registerName1("filteredArrayUsingPredicate:"); - ffi.Pointer _objc_msgSend_219( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer predicate, - ) { - return __objc_msgSend_219( - obj, - sel, - predicate, - ); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_218 = + __objc_msgSend_218Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_allowEvaluation1 = objc.registerName("allowEvaluation"); + late final _sel_filteredArrayUsingPredicate_1 = objc.registerName( + "filteredArrayUsingPredicate:", + ); + ffi.Pointer _objc_msgSend_219( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer predicate, + ) { + return __objc_msgSend_219(obj, sel, predicate); } late final __objc_msgSend_219Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_219 = __objc_msgSend_219Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_initWithChar_1 = _registerName1("initWithChar:"); - ffi.Pointer _objc_msgSend_220( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_219 = + __objc_msgSend_219Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_initWithChar_1 = objc.registerName("initWithChar:"); + ffi.Pointer _objc_msgSend_220( + ffi.Pointer obj, + ffi.Pointer sel, int value, ) { - return __objc_msgSend_220( - obj, - sel, - value, - ); + return __objc_msgSend_220(obj, sel, value); } late final __objc_msgSend_220Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Char)>>('objc_msgSend'); - late final __objc_msgSend_220 = __objc_msgSend_220Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_initWithUnsignedChar_1 = - _registerName1("initWithUnsignedChar:"); - ffi.Pointer _objc_msgSend_221( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Char, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_220 = + __objc_msgSend_220Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_initWithUnsignedChar_1 = objc.registerName( + "initWithUnsignedChar:", + ); + ffi.Pointer _objc_msgSend_221( + ffi.Pointer obj, + ffi.Pointer sel, int value, ) { - return __objc_msgSend_221( - obj, - sel, - value, - ); + return __objc_msgSend_221(obj, sel, value); } late final __objc_msgSend_221Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.UnsignedChar)>>('objc_msgSend'); - late final __objc_msgSend_221 = __objc_msgSend_221Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_initWithShort_1 = _registerName1("initWithShort:"); - ffi.Pointer _objc_msgSend_222( - ffi.Pointer obj, - ffi.Pointer sel, - int value, - ) { - return __objc_msgSend_222( - obj, - sel, - value, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedChar, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_221 = + __objc_msgSend_221Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_initWithShort_1 = objc.registerName("initWithShort:"); + ffi.Pointer _objc_msgSend_222( + ffi.Pointer obj, + ffi.Pointer sel, + int value, + ) { + return __objc_msgSend_222(obj, sel, value); } late final __objc_msgSend_222Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Short)>>('objc_msgSend'); - late final __objc_msgSend_222 = __objc_msgSend_222Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_initWithUnsignedShort_1 = - _registerName1("initWithUnsignedShort:"); - ffi.Pointer _objc_msgSend_223( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Short, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_222 = + __objc_msgSend_222Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_initWithUnsignedShort_1 = objc.registerName( + "initWithUnsignedShort:", + ); + ffi.Pointer _objc_msgSend_223( + ffi.Pointer obj, + ffi.Pointer sel, int value, ) { - return __objc_msgSend_223( - obj, - sel, - value, - ); + return __objc_msgSend_223(obj, sel, value); } late final __objc_msgSend_223Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.UnsignedShort)>>('objc_msgSend'); - late final __objc_msgSend_223 = __objc_msgSend_223Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_initWithInt_1 = _registerName1("initWithInt:"); - ffi.Pointer _objc_msgSend_224( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedShort, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_223 = + __objc_msgSend_223Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_initWithInt_1 = objc.registerName("initWithInt:"); + ffi.Pointer _objc_msgSend_224( + ffi.Pointer obj, + ffi.Pointer sel, int value, ) { - return __objc_msgSend_224( - obj, - sel, - value, - ); + return __objc_msgSend_224(obj, sel, value); } late final __objc_msgSend_224Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Int)>>('objc_msgSend'); - late final __objc_msgSend_224 = __objc_msgSend_224Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_initWithUnsignedInt_1 = - _registerName1("initWithUnsignedInt:"); - ffi.Pointer _objc_msgSend_225( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_224 = + __objc_msgSend_224Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_initWithUnsignedInt_1 = objc.registerName( + "initWithUnsignedInt:", + ); + ffi.Pointer _objc_msgSend_225( + ffi.Pointer obj, + ffi.Pointer sel, int value, ) { - return __objc_msgSend_225( - obj, - sel, - value, - ); + return __objc_msgSend_225(obj, sel, value); } late final __objc_msgSend_225Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.UnsignedInt)>>('objc_msgSend'); - late final __objc_msgSend_225 = __objc_msgSend_225Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_initWithLong_1 = _registerName1("initWithLong:"); - ffi.Pointer _objc_msgSend_226( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedInt, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_225 = + __objc_msgSend_225Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_initWithLong_1 = objc.registerName("initWithLong:"); + ffi.Pointer _objc_msgSend_226( + ffi.Pointer obj, + ffi.Pointer sel, int value, ) { - return __objc_msgSend_226( - obj, - sel, - value, - ); + return __objc_msgSend_226(obj, sel, value); } late final __objc_msgSend_226Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Long)>>('objc_msgSend'); - late final __objc_msgSend_226 = __objc_msgSend_226Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_initWithUnsignedLong_1 = - _registerName1("initWithUnsignedLong:"); - ffi.Pointer _objc_msgSend_227( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Long, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_226 = + __objc_msgSend_226Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_initWithUnsignedLong_1 = objc.registerName( + "initWithUnsignedLong:", + ); + ffi.Pointer _objc_msgSend_227( + ffi.Pointer obj, + ffi.Pointer sel, int value, ) { - return __objc_msgSend_227( - obj, - sel, - value, - ); + return __objc_msgSend_227(obj, sel, value); } late final __objc_msgSend_227Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.UnsignedLong)>>('objc_msgSend'); - late final __objc_msgSend_227 = __objc_msgSend_227Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_initWithLongLong_1 = _registerName1("initWithLongLong:"); - ffi.Pointer _objc_msgSend_228( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_227 = + __objc_msgSend_227Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_initWithLongLong_1 = objc.registerName("initWithLongLong:"); + ffi.Pointer _objc_msgSend_228( + ffi.Pointer obj, + ffi.Pointer sel, int value, ) { - return __objc_msgSend_228( - obj, - sel, - value, - ); + return __objc_msgSend_228(obj, sel, value); } late final __objc_msgSend_228Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.LongLong)>>('objc_msgSend'); - late final __objc_msgSend_228 = __objc_msgSend_228Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_initWithUnsignedLongLong_1 = - _registerName1("initWithUnsignedLongLong:"); - ffi.Pointer _objc_msgSend_229( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.LongLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_228 = + __objc_msgSend_228Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_initWithUnsignedLongLong_1 = objc.registerName( + "initWithUnsignedLongLong:", + ); + ffi.Pointer _objc_msgSend_229( + ffi.Pointer obj, + ffi.Pointer sel, int value, ) { - return __objc_msgSend_229( - obj, - sel, - value, - ); + return __objc_msgSend_229(obj, sel, value); } late final __objc_msgSend_229Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.UnsignedLongLong)>>('objc_msgSend'); - late final __objc_msgSend_229 = __objc_msgSend_229Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_initWithFloat_1 = _registerName1("initWithFloat:"); - ffi.Pointer _objc_msgSend_230( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLongLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_229 = + __objc_msgSend_229Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_initWithFloat_1 = objc.registerName("initWithFloat:"); + ffi.Pointer _objc_msgSend_230( + ffi.Pointer obj, + ffi.Pointer sel, double value, ) { - return __objc_msgSend_230( - obj, - sel, - value, - ); + return __objc_msgSend_230(obj, sel, value); } late final __objc_msgSend_230Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Float)>>('objc_msgSend'); - late final __objc_msgSend_230 = __objc_msgSend_230Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer, double)>(); - - late final _sel_initWithDouble_1 = _registerName1("initWithDouble:"); - ffi.Pointer _objc_msgSend_231( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Float, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_230 = + __objc_msgSend_230Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + double, + ) + >(); + + late final _sel_initWithDouble_1 = objc.registerName("initWithDouble:"); + ffi.Pointer _objc_msgSend_231( + ffi.Pointer obj, + ffi.Pointer sel, double value, ) { - return __objc_msgSend_231( - obj, - sel, - value, - ); + return __objc_msgSend_231(obj, sel, value); } late final __objc_msgSend_231Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Double)>>('objc_msgSend'); - late final __objc_msgSend_231 = __objc_msgSend_231Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer, double)>(); - - late final _sel_initWithBool_1 = _registerName1("initWithBool:"); - ffi.Pointer _objc_msgSend_232( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Double, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_231 = + __objc_msgSend_231Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + double, + ) + >(); + + late final _sel_initWithBool_1 = objc.registerName("initWithBool:"); + ffi.Pointer _objc_msgSend_232( + ffi.Pointer obj, + ffi.Pointer sel, bool value, ) { - return __objc_msgSend_232( - obj, - sel, - value, - ); + return __objc_msgSend_232(obj, sel, value); } late final __objc_msgSend_232Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Bool)>>('objc_msgSend'); - late final __objc_msgSend_232 = __objc_msgSend_232Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer, bool)>(); - - late final _sel_initWithInteger_1 = _registerName1("initWithInteger:"); - late final _sel_initWithUnsignedInteger_1 = - _registerName1("initWithUnsignedInteger:"); - late final _sel_charValue1 = _registerName1("charValue"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_232 = + __objc_msgSend_232Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + bool, + ) + >(); + + late final _sel_initWithInteger_1 = objc.registerName("initWithInteger:"); + late final _sel_initWithUnsignedInteger_1 = objc.registerName( + "initWithUnsignedInteger:", + ); + late final _sel_charValue1 = objc.registerName("charValue"); int _objc_msgSend_233( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_233( - obj, - sel, - ); + return __objc_msgSend_233(obj, sel); } late final __objc_msgSend_233Ptr = _lookup< - ffi.NativeFunction< - ffi.Char Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_233 = __objc_msgSend_233Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Char Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_233 = + __objc_msgSend_233Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); - late final _sel_unsignedCharValue1 = _registerName1("unsignedCharValue"); + late final _sel_unsignedCharValue1 = objc.registerName("unsignedCharValue"); int _objc_msgSend_234( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_234( - obj, - sel, - ); + return __objc_msgSend_234(obj, sel); } late final __objc_msgSend_234Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedChar Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_234 = __objc_msgSend_234Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.UnsignedChar Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_234 = + __objc_msgSend_234Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); - late final _sel_shortValue1 = _registerName1("shortValue"); + late final _sel_shortValue1 = objc.registerName("shortValue"); int _objc_msgSend_235( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_235( - obj, - sel, - ); + return __objc_msgSend_235(obj, sel); } late final __objc_msgSend_235Ptr = _lookup< - ffi.NativeFunction< - ffi.Short Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_235 = __objc_msgSend_235Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Short Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_235 = + __objc_msgSend_235Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); - late final _sel_unsignedShortValue1 = _registerName1("unsignedShortValue"); + late final _sel_unsignedShortValue1 = objc.registerName("unsignedShortValue"); int _objc_msgSend_236( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_236( - obj, - sel, - ); + return __objc_msgSend_236(obj, sel); } late final __objc_msgSend_236Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedShort Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_236 = __objc_msgSend_236Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.UnsignedShort Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_236 = + __objc_msgSend_236Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); - late final _sel_intValue1 = _registerName1("intValue"); + late final _sel_intValue1 = objc.registerName("intValue"); int _objc_msgSend_237( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_237( - obj, - sel, - ); + return __objc_msgSend_237(obj, sel); } late final __objc_msgSend_237Ptr = _lookup< - ffi.NativeFunction< - ffi.Int Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_237 = __objc_msgSend_237Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer)>(); - - late final _sel_unsignedIntValue1 = _registerName1("unsignedIntValue"); - late final _sel_longValue1 = _registerName1("longValue"); - late final _sel_unsignedLongValue1 = _registerName1("unsignedLongValue"); - late final _sel_longLongValue1 = _registerName1("longLongValue"); + ffi.NativeFunction< + ffi.Int Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_237 = + __objc_msgSend_237Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_unsignedIntValue1 = objc.registerName("unsignedIntValue"); + late final _sel_longValue1 = objc.registerName("longValue"); + late final _sel_unsignedLongValue1 = objc.registerName("unsignedLongValue"); + late final _sel_longLongValue1 = objc.registerName("longLongValue"); int _objc_msgSend_238( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_238( - obj, - sel, - ); + return __objc_msgSend_238(obj, sel); } late final __objc_msgSend_238Ptr = _lookup< - ffi.NativeFunction< - ffi.LongLong Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_238 = __objc_msgSend_238Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer)>(); - - late final _sel_unsignedLongLongValue1 = - _registerName1("unsignedLongLongValue"); - late final _sel_floatValue1 = _registerName1("floatValue"); + ffi.NativeFunction< + ffi.LongLong Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_238 = + __objc_msgSend_238Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_unsignedLongLongValue1 = objc.registerName( + "unsignedLongLongValue", + ); + late final _sel_floatValue1 = objc.registerName("floatValue"); double _objc_msgSend_239( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_239( - obj, - sel, - ); + return __objc_msgSend_239(obj, sel); } late final __objc_msgSend_239Ptr = _lookup< - ffi.NativeFunction< - ffi.Float Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_239 = __objc_msgSend_239Ptr.asFunction< - double Function(ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Float Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_239 = + __objc_msgSend_239Ptr + .asFunction< + double Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); double _objc_msgSend_239_fpret( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_239_fpret( - obj, - sel, - ); + return __objc_msgSend_239_fpret(obj, sel); } late final __objc_msgSend_239_fpretPtr = _lookup< - ffi.NativeFunction< - ffi.Float Function(ffi.Pointer, - ffi.Pointer)>>('objc_msgSend_fpret'); - late final __objc_msgSend_239_fpret = __objc_msgSend_239_fpretPtr.asFunction< - double Function(ffi.Pointer, ffi.Pointer)>(); - - late final _sel_doubleValue1 = _registerName1("doubleValue"); - late final _sel_boolValue1 = _registerName1("boolValue"); - late final _sel_integerValue1 = _registerName1("integerValue"); - late final _sel_unsignedIntegerValue1 = - _registerName1("unsignedIntegerValue"); - late final _sel_stringValue1 = _registerName1("stringValue"); + ffi.NativeFunction< + ffi.Float Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend_fpret'); + late final __objc_msgSend_239_fpret = + __objc_msgSend_239_fpretPtr + .asFunction< + double Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_doubleValue1 = objc.registerName("doubleValue"); + late final _sel_boolValue1 = objc.registerName("boolValue"); + late final _sel_integerValue1 = objc.registerName("integerValue"); + late final _sel_unsignedIntegerValue1 = objc.registerName( + "unsignedIntegerValue", + ); + late final _sel_stringValue1 = objc.registerName("stringValue"); int _objc_msgSend_240( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer otherNumber, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer otherNumber, ) { - return __objc_msgSend_240( - obj, - sel, - otherNumber, - ); + return __objc_msgSend_240(obj, sel, otherNumber); } late final __objc_msgSend_240Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_240 = __objc_msgSend_240Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_isEqualToNumber_1 = _registerName1("isEqualToNumber:"); + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_240 = + __objc_msgSend_240Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_isEqualToNumber_1 = objc.registerName("isEqualToNumber:"); bool _objc_msgSend_241( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer number, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer number, ) { - return __objc_msgSend_241( - obj, - sel, - number, - ); + return __objc_msgSend_241(obj, sel, number); } late final __objc_msgSend_241Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_241 = __objc_msgSend_241Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_numberWithChar_1 = _registerName1("numberWithChar:"); - late final _sel_numberWithUnsignedChar_1 = - _registerName1("numberWithUnsignedChar:"); - late final _sel_numberWithShort_1 = _registerName1("numberWithShort:"); - late final _sel_numberWithUnsignedShort_1 = - _registerName1("numberWithUnsignedShort:"); - late final _sel_numberWithInt_1 = _registerName1("numberWithInt:"); - late final _sel_numberWithUnsignedInt_1 = - _registerName1("numberWithUnsignedInt:"); - late final _sel_numberWithLong_1 = _registerName1("numberWithLong:"); - late final _sel_numberWithUnsignedLong_1 = - _registerName1("numberWithUnsignedLong:"); - late final _sel_numberWithLongLong_1 = _registerName1("numberWithLongLong:"); - late final _sel_numberWithUnsignedLongLong_1 = - _registerName1("numberWithUnsignedLongLong:"); - late final _sel_numberWithFloat_1 = _registerName1("numberWithFloat:"); - late final _sel_numberWithDouble_1 = _registerName1("numberWithDouble:"); - late final _sel_numberWithBool_1 = _registerName1("numberWithBool:"); - late final _sel_numberWithInteger_1 = _registerName1("numberWithInteger:"); - late final _sel_numberWithUnsignedInteger_1 = - _registerName1("numberWithUnsignedInteger:"); - late final _sel_port1 = _registerName1("port"); - late final _sel_user1 = _registerName1("user"); - late final _sel_password1 = _registerName1("password"); - late final _sel_path1 = _registerName1("path"); - late final _sel_fragment1 = _registerName1("fragment"); - late final _sel_parameterString1 = _registerName1("parameterString"); - late final _sel_query1 = _registerName1("query"); - late final _sel_relativePath1 = _registerName1("relativePath"); - late final _sel_hasDirectoryPath1 = _registerName1("hasDirectoryPath"); - late final _sel_getFileSystemRepresentation_maxLength_1 = - _registerName1("getFileSystemRepresentation:maxLength:"); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_241 = + __objc_msgSend_241Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_numberWithChar_1 = objc.registerName("numberWithChar:"); + late final _sel_numberWithUnsignedChar_1 = objc.registerName( + "numberWithUnsignedChar:", + ); + late final _sel_numberWithShort_1 = objc.registerName("numberWithShort:"); + late final _sel_numberWithUnsignedShort_1 = objc.registerName( + "numberWithUnsignedShort:", + ); + late final _sel_numberWithInt_1 = objc.registerName("numberWithInt:"); + late final _sel_numberWithUnsignedInt_1 = objc.registerName( + "numberWithUnsignedInt:", + ); + late final _sel_numberWithLong_1 = objc.registerName("numberWithLong:"); + late final _sel_numberWithUnsignedLong_1 = objc.registerName( + "numberWithUnsignedLong:", + ); + late final _sel_numberWithLongLong_1 = objc.registerName( + "numberWithLongLong:", + ); + late final _sel_numberWithUnsignedLongLong_1 = objc.registerName( + "numberWithUnsignedLongLong:", + ); + late final _sel_numberWithFloat_1 = objc.registerName("numberWithFloat:"); + late final _sel_numberWithDouble_1 = objc.registerName("numberWithDouble:"); + late final _sel_numberWithBool_1 = objc.registerName("numberWithBool:"); + late final _sel_numberWithInteger_1 = objc.registerName("numberWithInteger:"); + late final _sel_numberWithUnsignedInteger_1 = objc.registerName( + "numberWithUnsignedInteger:", + ); + late final _sel_port1 = objc.registerName("port"); + late final _sel_user1 = objc.registerName("user"); + late final _sel_password1 = objc.registerName("password"); + late final _sel_path1 = objc.registerName("path"); + late final _sel_fragment1 = objc.registerName("fragment"); + late final _sel_parameterString1 = objc.registerName("parameterString"); + late final _sel_query1 = objc.registerName("query"); + late final _sel_relativePath1 = objc.registerName("relativePath"); + late final _sel_hasDirectoryPath1 = objc.registerName("hasDirectoryPath"); + late final _sel_getFileSystemRepresentation_maxLength_1 = objc.registerName( + "getFileSystemRepresentation:maxLength:", + ); bool _objc_msgSend_242( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ffi.Pointer buffer, int maxBufferLength, ) { - return __objc_msgSend_242( - obj, - sel, - buffer, - maxBufferLength, - ); + return __objc_msgSend_242(obj, sel, buffer, maxBufferLength); } late final __objc_msgSend_242Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.UnsignedLong)>>('objc_msgSend'); - late final __objc_msgSend_242 = __objc_msgSend_242Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int)>(); - - late final _sel_fileSystemRepresentation1 = - _registerName1("fileSystemRepresentation"); - late final _sel_isFileURL1 = _registerName1("isFileURL"); - late final _sel_standardizedURL1 = _registerName1("standardizedURL"); - late final _sel_isFileReferenceURL1 = _registerName1("isFileReferenceURL"); - late final _sel_fileReferenceURL1 = _registerName1("fileReferenceURL"); - late final _sel_filePathURL1 = _registerName1("filePathURL"); - late final _sel_getResourceValue_forKey_error_1 = - _registerName1("getResourceValue:forKey:error:"); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_242 = + __objc_msgSend_242Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_fileSystemRepresentation1 = objc.registerName( + "fileSystemRepresentation", + ); + late final _sel_isFileURL1 = objc.registerName("isFileURL"); + late final _sel_standardizedURL1 = objc.registerName("standardizedURL"); + late final _sel_isFileReferenceURL1 = objc.registerName("isFileReferenceURL"); + late final _sel_fileReferenceURL1 = objc.registerName("fileReferenceURL"); + late final _sel_filePathURL1 = objc.registerName("filePathURL"); + late final _sel_getResourceValue_forKey_error_1 = objc.registerName( + "getResourceValue:forKey:error:", + ); bool _objc_msgSend_243( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer> value, - ffi.Pointer key, - ffi.Pointer> error, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer> value, + ffi.Pointer key, + ffi.Pointer> error, ) { - return __objc_msgSend_243( - obj, - sel, - value, - key, - error, - ); + return __objc_msgSend_243(obj, sel, value, key, error); } late final __objc_msgSend_243Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_243 = __objc_msgSend_243Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer, - ffi.Pointer>)>(); - - late final _sel_resourceValuesForKeys_error_1 = - _registerName1("resourceValuesForKeys:error:"); - ffi.Pointer _objc_msgSend_244( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer keys, - ffi.Pointer> error, - ) { - return __objc_msgSend_244( - obj, - sel, - keys, - error, - ); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_243 = + __objc_msgSend_243Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer, + ffi.Pointer>, + ) + >(); + + late final _sel_resourceValuesForKeys_error_1 = objc.registerName( + "resourceValuesForKeys:error:", + ); + ffi.Pointer _objc_msgSend_244( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer keys, + ffi.Pointer> error, + ) { + return __objc_msgSend_244(obj, sel, keys, error); } late final __objc_msgSend_244Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_244 = __objc_msgSend_244Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>(); - - late final _sel_setResourceValue_forKey_error_1 = - _registerName1("setResourceValue:forKey:error:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_244 = + __objc_msgSend_244Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + >(); + + late final _sel_setResourceValue_forKey_error_1 = objc.registerName( + "setResourceValue:forKey:error:", + ); bool _objc_msgSend_245( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, - ffi.Pointer key, - ffi.Pointer> error, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value, + ffi.Pointer key, + ffi.Pointer> error, ) { - return __objc_msgSend_245( - obj, - sel, - value, - key, - error, - ); + return __objc_msgSend_245(obj, sel, value, key, error); } late final __objc_msgSend_245Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_245 = __objc_msgSend_245Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>(); - - late final _sel_setResourceValues_error_1 = - _registerName1("setResourceValues:error:"); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_245 = + __objc_msgSend_245Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + >(); + + late final _sel_setResourceValues_error_1 = objc.registerName( + "setResourceValues:error:", + ); bool _objc_msgSend_246( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer keyedValues, - ffi.Pointer> error, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer keyedValues, + ffi.Pointer> error, ) { - return __objc_msgSend_246( - obj, - sel, - keyedValues, - error, - ); + return __objc_msgSend_246(obj, sel, keyedValues, error); } late final __objc_msgSend_246Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_246 = __objc_msgSend_246Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer>)>(); - - late final _sel_removeCachedResourceValueForKey_1 = - _registerName1("removeCachedResourceValueForKey:"); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_246 = + __objc_msgSend_246Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + >(); + + late final _sel_removeCachedResourceValueForKey_1 = objc.registerName( + "removeCachedResourceValueForKey:", + ); void _objc_msgSend_247( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer key, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer key, ) { - return __objc_msgSend_247( - obj, - sel, - key, - ); + return __objc_msgSend_247(obj, sel, key); } late final __objc_msgSend_247Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_247 = __objc_msgSend_247Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_removeAllCachedResourceValues1 = - _registerName1("removeAllCachedResourceValues"); - late final _sel_setTemporaryResourceValue_forKey_1 = - _registerName1("setTemporaryResourceValue:forKey:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_247 = + __objc_msgSend_247Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_removeAllCachedResourceValues1 = objc.registerName( + "removeAllCachedResourceValues", + ); + late final _sel_setTemporaryResourceValue_forKey_1 = objc.registerName( + "setTemporaryResourceValue:forKey:", + ); late final _sel_bookmarkDataWithOptions_includingResourceValuesForKeys_relativeToURL_error_1 = - _registerName1( - "bookmarkDataWithOptions:includingResourceValuesForKeys:relativeToURL:error:"); - ffi.Pointer _objc_msgSend_248( - ffi.Pointer obj, - ffi.Pointer sel, + objc.registerName( + "bookmarkDataWithOptions:includingResourceValuesForKeys:relativeToURL:error:", + ); + ffi.Pointer _objc_msgSend_248( + ffi.Pointer obj, + ffi.Pointer sel, int options, - ffi.Pointer keys, - ffi.Pointer relativeURL, - ffi.Pointer> error, + ffi.Pointer keys, + ffi.Pointer relativeURL, + ffi.Pointer> error, ) { - return __objc_msgSend_248( - obj, - sel, - options, - keys, - relativeURL, - error, - ); + return __objc_msgSend_248(obj, sel, options, keys, relativeURL, error); } late final __objc_msgSend_248Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_248 = __objc_msgSend_248Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>(); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_248 = + __objc_msgSend_248Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + >(); late final _sel_initByResolvingBookmarkData_options_relativeToURL_bookmarkDataIsStale_error_1 = - _registerName1( - "initByResolvingBookmarkData:options:relativeToURL:bookmarkDataIsStale:error:"); + objc.registerName( + "initByResolvingBookmarkData:options:relativeToURL:bookmarkDataIsStale:error:", + ); instancetype _objc_msgSend_249( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer bookmarkData, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer bookmarkData, int options, - ffi.Pointer relativeURL, + ffi.Pointer relativeURL, ffi.Pointer isStale, - ffi.Pointer> error, + ffi.Pointer> error, ) { return __objc_msgSend_249( obj, @@ -6764,67 +8463,79 @@ class AVFAudio { } late final __objc_msgSend_249Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_249 = __objc_msgSend_249Ptr.asFunction< + ffi.NativeFunction< instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>(); + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_249 = + __objc_msgSend_249Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + >(); late final _sel_URLByResolvingBookmarkData_options_relativeToURL_bookmarkDataIsStale_error_1 = - _registerName1( - "URLByResolvingBookmarkData:options:relativeToURL:bookmarkDataIsStale:error:"); - late final _sel_resourceValuesForKeys_fromBookmarkData_1 = - _registerName1("resourceValuesForKeys:fromBookmarkData:"); - ffi.Pointer _objc_msgSend_250( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer keys, - ffi.Pointer bookmarkData, - ) { - return __objc_msgSend_250( - obj, - sel, - keys, - bookmarkData, - ); + objc.registerName( + "URLByResolvingBookmarkData:options:relativeToURL:bookmarkDataIsStale:error:", + ); + late final _sel_resourceValuesForKeys_fromBookmarkData_1 = objc.registerName( + "resourceValuesForKeys:fromBookmarkData:", + ); + ffi.Pointer _objc_msgSend_250( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer keys, + ffi.Pointer bookmarkData, + ) { + return __objc_msgSend_250(obj, sel, keys, bookmarkData); } late final __objc_msgSend_250Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_250 = __objc_msgSend_250Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_writeBookmarkData_toURL_options_error_1 = - _registerName1("writeBookmarkData:toURL:options:error:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_250 = + __objc_msgSend_250Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_writeBookmarkData_toURL_options_error_1 = objc.registerName( + "writeBookmarkData:toURL:options:error:", + ); bool _objc_msgSend_251( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer bookmarkData, - ffi.Pointer bookmarkFileURL, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer bookmarkData, + ffi.Pointer bookmarkFileURL, int options, - ffi.Pointer> error, + ffi.Pointer> error, ) { return __objc_msgSend_251( obj, @@ -6837,584 +8548,737 @@ class AVFAudio { } late final __objc_msgSend_251Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_251 = __objc_msgSend_251Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>)>(); - - late final _sel_bookmarkDataWithContentsOfURL_error_1 = - _registerName1("bookmarkDataWithContentsOfURL:error:"); - ffi.Pointer _objc_msgSend_252( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer bookmarkFileURL, - ffi.Pointer> error, - ) { - return __objc_msgSend_252( - obj, - sel, - bookmarkFileURL, - error, - ); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_251 = + __objc_msgSend_251Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer>, + ) + >(); + + late final _sel_bookmarkDataWithContentsOfURL_error_1 = objc.registerName( + "bookmarkDataWithContentsOfURL:error:", + ); + ffi.Pointer _objc_msgSend_252( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer bookmarkFileURL, + ffi.Pointer> error, + ) { + return __objc_msgSend_252(obj, sel, bookmarkFileURL, error); } late final __objc_msgSend_252Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_252 = __objc_msgSend_252Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>(); - - late final _sel_URLByResolvingAliasFileAtURL_options_error_1 = - _registerName1("URLByResolvingAliasFileAtURL:options:error:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_252 = + __objc_msgSend_252Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + >(); + + late final _sel_URLByResolvingAliasFileAtURL_options_error_1 = objc + .registerName("URLByResolvingAliasFileAtURL:options:error:"); instancetype _objc_msgSend_253( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer url, int options, - ffi.Pointer> error, + ffi.Pointer> error, ) { - return __objc_msgSend_253( - obj, - sel, - url, - options, - error, - ); + return __objc_msgSend_253(obj, sel, url, options, error); } late final __objc_msgSend_253Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_253 = __objc_msgSend_253Ptr.asFunction< + ffi.NativeFunction< instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>)>(); - - late final _sel_startAccessingSecurityScopedResource1 = - _registerName1("startAccessingSecurityScopedResource"); - late final _sel_stopAccessingSecurityScopedResource1 = - _registerName1("stopAccessingSecurityScopedResource"); - late final _sel_getPromisedItemResourceValue_forKey_error_1 = - _registerName1("getPromisedItemResourceValue:forKey:error:"); - late final _sel_promisedItemResourceValuesForKeys_error_1 = - _registerName1("promisedItemResourceValuesForKeys:error:"); - ffi.Pointer _objc_msgSend_254( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer keys, - ffi.Pointer> error, - ) { - return __objc_msgSend_254( - obj, - sel, - keys, - error, - ); + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_253 = + __objc_msgSend_253Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer>, + ) + >(); + + late final _sel_startAccessingSecurityScopedResource1 = objc.registerName( + "startAccessingSecurityScopedResource", + ); + late final _sel_stopAccessingSecurityScopedResource1 = objc.registerName( + "stopAccessingSecurityScopedResource", + ); + late final _sel_getPromisedItemResourceValue_forKey_error_1 = objc + .registerName("getPromisedItemResourceValue:forKey:error:"); + late final _sel_promisedItemResourceValuesForKeys_error_1 = objc.registerName( + "promisedItemResourceValuesForKeys:error:", + ); + ffi.Pointer _objc_msgSend_254( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer keys, + ffi.Pointer> error, + ) { + return __objc_msgSend_254(obj, sel, keys, error); } late final __objc_msgSend_254Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_254 = __objc_msgSend_254Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>(); - - late final _sel_checkPromisedItemIsReachableAndReturnError_1 = - _registerName1("checkPromisedItemIsReachableAndReturnError:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_254 = + __objc_msgSend_254Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + >(); + + late final _sel_checkPromisedItemIsReachableAndReturnError_1 = objc + .registerName("checkPromisedItemIsReachableAndReturnError:"); bool _objc_msgSend_255( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer> error, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer> error, ) { - return __objc_msgSend_255( - obj, - sel, - error, - ); + return __objc_msgSend_255(obj, sel, error); } late final __objc_msgSend_255Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_255 = __objc_msgSend_255Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer>)>(); - - late final _sel_fileURLWithPathComponents_1 = - _registerName1("fileURLWithPathComponents:"); - ffi.Pointer _objc_msgSend_256( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer components, - ) { - return __objc_msgSend_256( - obj, - sel, - components, - ); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_255 = + __objc_msgSend_255Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + >(); + + late final _sel_fileURLWithPathComponents_1 = objc.registerName( + "fileURLWithPathComponents:", + ); + ffi.Pointer _objc_msgSend_256( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer components, + ) { + return __objc_msgSend_256(obj, sel, components); } late final __objc_msgSend_256Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_256 = __objc_msgSend_256Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_pathComponents1 = _registerName1("pathComponents"); - late final _sel_lastPathComponent1 = _registerName1("lastPathComponent"); - late final _sel_pathExtension1 = _registerName1("pathExtension"); - late final _sel_URLByAppendingPathComponent_1 = - _registerName1("URLByAppendingPathComponent:"); - ffi.Pointer _objc_msgSend_257( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer pathComponent, - ) { - return __objc_msgSend_257( - obj, - sel, - pathComponent, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_256 = + __objc_msgSend_256Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_pathComponents1 = objc.registerName("pathComponents"); + late final _sel_lastPathComponent1 = objc.registerName("lastPathComponent"); + late final _sel_pathExtension1 = objc.registerName("pathExtension"); + late final _sel_URLByAppendingPathComponent_1 = objc.registerName( + "URLByAppendingPathComponent:", + ); + ffi.Pointer _objc_msgSend_257( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer pathComponent, + ) { + return __objc_msgSend_257(obj, sel, pathComponent); } late final __objc_msgSend_257Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_257 = __objc_msgSend_257Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_URLByAppendingPathComponent_isDirectory_1 = - _registerName1("URLByAppendingPathComponent:isDirectory:"); - ffi.Pointer _objc_msgSend_258( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer pathComponent, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_257 = + __objc_msgSend_257Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_URLByAppendingPathComponent_isDirectory_1 = objc.registerName( + "URLByAppendingPathComponent:isDirectory:", + ); + ffi.Pointer _objc_msgSend_258( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer pathComponent, bool isDirectory, ) { - return __objc_msgSend_258( - obj, - sel, - pathComponent, - isDirectory, - ); + return __objc_msgSend_258(obj, sel, pathComponent, isDirectory); } late final __objc_msgSend_258Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Bool)>>('objc_msgSend'); - late final __objc_msgSend_258 = __objc_msgSend_258Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer, bool)>(); - - late final _sel_URLByDeletingLastPathComponent1 = - _registerName1("URLByDeletingLastPathComponent"); - late final _sel_URLByAppendingPathExtension_1 = - _registerName1("URLByAppendingPathExtension:"); - late final _sel_URLByDeletingPathExtension1 = - _registerName1("URLByDeletingPathExtension"); - late final _sel_checkResourceIsReachableAndReturnError_1 = - _registerName1("checkResourceIsReachableAndReturnError:"); - late final _sel_URLByStandardizingPath1 = - _registerName1("URLByStandardizingPath"); - late final _sel_URLByResolvingSymlinksInPath1 = - _registerName1("URLByResolvingSymlinksInPath"); - late final _sel_resourceDataUsingCache_1 = - _registerName1("resourceDataUsingCache:"); - ffi.Pointer _objc_msgSend_259( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_258 = + __objc_msgSend_258Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool, + ) + >(); + + late final _sel_URLByDeletingLastPathComponent1 = objc.registerName( + "URLByDeletingLastPathComponent", + ); + late final _sel_URLByAppendingPathExtension_1 = objc.registerName( + "URLByAppendingPathExtension:", + ); + late final _sel_URLByDeletingPathExtension1 = objc.registerName( + "URLByDeletingPathExtension", + ); + late final _sel_checkResourceIsReachableAndReturnError_1 = objc.registerName( + "checkResourceIsReachableAndReturnError:", + ); + late final _sel_URLByStandardizingPath1 = objc.registerName( + "URLByStandardizingPath", + ); + late final _sel_URLByResolvingSymlinksInPath1 = objc.registerName( + "URLByResolvingSymlinksInPath", + ); + late final _sel_resourceDataUsingCache_1 = objc.registerName( + "resourceDataUsingCache:", + ); + ffi.Pointer _objc_msgSend_259( + ffi.Pointer obj, + ffi.Pointer sel, bool shouldUseCache, ) { - return __objc_msgSend_259( - obj, - sel, - shouldUseCache, - ); + return __objc_msgSend_259(obj, sel, shouldUseCache); } late final __objc_msgSend_259Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Bool)>>('objc_msgSend'); - late final __objc_msgSend_259 = __objc_msgSend_259Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer, bool)>(); - - late final _sel_loadResourceDataNotifyingClient_usingCache_1 = - _registerName1("loadResourceDataNotifyingClient:usingCache:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_259 = + __objc_msgSend_259Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + bool, + ) + >(); + + late final _sel_loadResourceDataNotifyingClient_usingCache_1 = objc + .registerName("loadResourceDataNotifyingClient:usingCache:"); void _objc_msgSend_260( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer client, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer client, bool shouldUseCache, ) { - return __objc_msgSend_260( - obj, - sel, - client, - shouldUseCache, - ); + return __objc_msgSend_260(obj, sel, client, shouldUseCache); } late final __objc_msgSend_260Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Bool)>>('objc_msgSend'); - late final __objc_msgSend_260 = __objc_msgSend_260Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, bool)>(); - - late final _sel_propertyForKey_1 = _registerName1("propertyForKey:"); - late final _sel_setResourceData_1 = _registerName1("setResourceData:"); - late final _sel_setProperty_forKey_1 = _registerName1("setProperty:forKey:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_260 = + __objc_msgSend_260Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool, + ) + >(); + + late final _sel_propertyForKey_1 = objc.registerName("propertyForKey:"); + late final _sel_setResourceData_1 = objc.registerName("setResourceData:"); + late final _sel_setProperty_forKey_1 = objc.registerName( + "setProperty:forKey:", + ); bool _objc_msgSend_261( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer property, - ffi.Pointer propertyKey, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer property, + ffi.Pointer propertyKey, ) { - return __objc_msgSend_261( - obj, - sel, - property, - propertyKey, - ); + return __objc_msgSend_261(obj, sel, property, propertyKey); } late final __objc_msgSend_261Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_261 = __objc_msgSend_261Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _class_NSURLHandle1 = _getClass1("NSURLHandle"); - late final _sel_registerURLHandleClass_1 = - _registerName1("registerURLHandleClass:"); - late final _sel_URLHandleClassForURL_1 = - _registerName1("URLHandleClassForURL:"); - ffi.Pointer _objc_msgSend_262( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer anURL, - ) { - return __objc_msgSend_262( - obj, - sel, - anURL, - ); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_261 = + __objc_msgSend_261Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _class_NSURLHandle1 = objc.getClass("NSURLHandle"); + late final _sel_registerURLHandleClass_1 = objc.registerName( + "registerURLHandleClass:", + ); + late final _sel_URLHandleClassForURL_1 = objc.registerName( + "URLHandleClassForURL:", + ); + ffi.Pointer _objc_msgSend_262( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer anURL, + ) { + return __objc_msgSend_262(obj, sel, anURL); } late final __objc_msgSend_262Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_262 = __objc_msgSend_262Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_status1 = _registerName1("status"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_262 = + __objc_msgSend_262Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_status1 = objc.registerName("status"); int _objc_msgSend_263( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_263( - obj, - sel, - ); + return __objc_msgSend_263(obj, sel); } late final __objc_msgSend_263Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_263 = __objc_msgSend_263Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer)>(); - - late final _sel_failureReason1 = _registerName1("failureReason"); - late final _sel_addClient_1 = _registerName1("addClient:"); - late final _sel_removeClient_1 = _registerName1("removeClient:"); - late final _sel_loadInBackground1 = _registerName1("loadInBackground"); - late final _sel_cancelLoadInBackground1 = - _registerName1("cancelLoadInBackground"); - late final _sel_resourceData1 = _registerName1("resourceData"); - late final _sel_availableResourceData1 = - _registerName1("availableResourceData"); - late final _sel_expectedResourceDataSize1 = - _registerName1("expectedResourceDataSize"); - late final _sel_flushCachedData1 = _registerName1("flushCachedData"); - late final _sel_backgroundLoadDidFailWithReason_1 = - _registerName1("backgroundLoadDidFailWithReason:"); - late final _sel_didLoadBytes_loadComplete_1 = - _registerName1("didLoadBytes:loadComplete:"); + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_263 = + __objc_msgSend_263Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_failureReason1 = objc.registerName("failureReason"); + late final _sel_addClient_1 = objc.registerName("addClient:"); + late final _sel_removeClient_1 = objc.registerName("removeClient:"); + late final _sel_loadInBackground1 = objc.registerName("loadInBackground"); + late final _sel_cancelLoadInBackground1 = objc.registerName( + "cancelLoadInBackground", + ); + late final _sel_resourceData1 = objc.registerName("resourceData"); + late final _sel_availableResourceData1 = objc.registerName( + "availableResourceData", + ); + late final _sel_expectedResourceDataSize1 = objc.registerName( + "expectedResourceDataSize", + ); + late final _sel_flushCachedData1 = objc.registerName("flushCachedData"); + late final _sel_backgroundLoadDidFailWithReason_1 = objc.registerName( + "backgroundLoadDidFailWithReason:", + ); + late final _sel_didLoadBytes_loadComplete_1 = objc.registerName( + "didLoadBytes:loadComplete:", + ); void _objc_msgSend_264( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer newBytes, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer newBytes, bool yorn, ) { - return __objc_msgSend_264( - obj, - sel, - newBytes, - yorn, - ); + return __objc_msgSend_264(obj, sel, newBytes, yorn); } late final __objc_msgSend_264Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Bool)>>('objc_msgSend'); - late final __objc_msgSend_264 = __objc_msgSend_264Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, bool)>(); - - late final _sel_canInitWithURL_1 = _registerName1("canInitWithURL:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_264 = + __objc_msgSend_264Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool, + ) + >(); + + late final _sel_canInitWithURL_1 = objc.registerName("canInitWithURL:"); bool _objc_msgSend_265( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer anURL, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer anURL, ) { - return __objc_msgSend_265( - obj, - sel, - anURL, - ); + return __objc_msgSend_265(obj, sel, anURL); } late final __objc_msgSend_265Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_265 = __objc_msgSend_265Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_cachedHandleForURL_1 = _registerName1("cachedHandleForURL:"); - ffi.Pointer _objc_msgSend_266( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer anURL, - ) { - return __objc_msgSend_266( - obj, - sel, - anURL, - ); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_265 = + __objc_msgSend_265Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_cachedHandleForURL_1 = objc.registerName( + "cachedHandleForURL:", + ); + ffi.Pointer _objc_msgSend_266( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer anURL, + ) { + return __objc_msgSend_266(obj, sel, anURL); } late final __objc_msgSend_266Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_266 = __objc_msgSend_266Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_initWithURL_cached_1 = _registerName1("initWithURL:cached:"); - ffi.Pointer _objc_msgSend_267( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer anURL, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_266 = + __objc_msgSend_266Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_initWithURL_cached_1 = objc.registerName( + "initWithURL:cached:", + ); + ffi.Pointer _objc_msgSend_267( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer anURL, bool willCache, ) { - return __objc_msgSend_267( - obj, - sel, - anURL, - willCache, - ); + return __objc_msgSend_267(obj, sel, anURL, willCache); } late final __objc_msgSend_267Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Bool)>>('objc_msgSend'); - late final __objc_msgSend_267 = __objc_msgSend_267Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer, bool)>(); - - late final _sel_propertyForKeyIfAvailable_1 = - _registerName1("propertyForKeyIfAvailable:"); - late final _sel_writeProperty_forKey_1 = - _registerName1("writeProperty:forKey:"); - late final _sel_writeData_1 = _registerName1("writeData:"); - late final _sel_loadInForeground1 = _registerName1("loadInForeground"); - late final _sel_beginLoadInBackground1 = - _registerName1("beginLoadInBackground"); - late final _sel_endLoadInBackground1 = _registerName1("endLoadInBackground"); - late final _sel_URLHandleUsingCache_1 = - _registerName1("URLHandleUsingCache:"); - ffi.Pointer _objc_msgSend_268( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_267 = + __objc_msgSend_267Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool, + ) + >(); + + late final _sel_propertyForKeyIfAvailable_1 = objc.registerName( + "propertyForKeyIfAvailable:", + ); + late final _sel_writeProperty_forKey_1 = objc.registerName( + "writeProperty:forKey:", + ); + late final _sel_writeData_1 = objc.registerName("writeData:"); + late final _sel_loadInForeground1 = objc.registerName("loadInForeground"); + late final _sel_beginLoadInBackground1 = objc.registerName( + "beginLoadInBackground", + ); + late final _sel_endLoadInBackground1 = objc.registerName( + "endLoadInBackground", + ); + late final _sel_URLHandleUsingCache_1 = objc.registerName( + "URLHandleUsingCache:", + ); + ffi.Pointer _objc_msgSend_268( + ffi.Pointer obj, + ffi.Pointer sel, bool shouldUseCache, ) { - return __objc_msgSend_268( - obj, - sel, - shouldUseCache, - ); + return __objc_msgSend_268(obj, sel, shouldUseCache); } late final __objc_msgSend_268Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Bool)>>('objc_msgSend'); - late final __objc_msgSend_268 = __objc_msgSend_268Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer, bool)>(); - - late final _sel_writeToFile_options_error_1 = - _registerName1("writeToFile:options:error:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_268 = + __objc_msgSend_268Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + bool, + ) + >(); + + late final _sel_writeToFile_options_error_1 = objc.registerName( + "writeToFile:options:error:", + ); bool _objc_msgSend_269( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer path, int writeOptionsMask, - ffi.Pointer> errorPtr, + ffi.Pointer> errorPtr, ) { - return __objc_msgSend_269( - obj, - sel, - path, - writeOptionsMask, - errorPtr, - ); + return __objc_msgSend_269(obj, sel, path, writeOptionsMask, errorPtr); } late final __objc_msgSend_269Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_269 = __objc_msgSend_269Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>)>(); - - late final _sel_writeToURL_options_error_1 = - _registerName1("writeToURL:options:error:"); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_269 = + __objc_msgSend_269Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer>, + ) + >(); + + late final _sel_writeToURL_options_error_1 = objc.registerName( + "writeToURL:options:error:", + ); bool _objc_msgSend_270( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer url, int writeOptionsMask, - ffi.Pointer> errorPtr, + ffi.Pointer> errorPtr, ) { - return __objc_msgSend_270( - obj, - sel, - url, - writeOptionsMask, - errorPtr, - ); + return __objc_msgSend_270(obj, sel, url, writeOptionsMask, errorPtr); } late final __objc_msgSend_270Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_270 = __objc_msgSend_270Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>)>(); - - late final _sel_rangeOfData_options_range_1 = - _registerName1("rangeOfData:options:range:"); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_270 = + __objc_msgSend_270Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer>, + ) + >(); + + late final _sel_rangeOfData_options_range_1 = objc.registerName( + "rangeOfData:options:range:", + ); _NSRange _objc_msgSend_271( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer dataToFind, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer dataToFind, int mask, _NSRange searchRange, ) { - return __objc_msgSend_271( - obj, - sel, - dataToFind, - mask, - searchRange, - ); + return __objc_msgSend_271(obj, sel, dataToFind, mask, searchRange); } late final __objc_msgSend_271Ptr = _lookup< - ffi.NativeFunction< - _NSRange Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Int32, _NSRange)>>('objc_msgSend'); - late final __objc_msgSend_271 = __objc_msgSend_271Ptr.asFunction< - _NSRange Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int, _NSRange)>(); + ffi.NativeFunction< + _NSRange Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + _NSRange, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_271 = + __objc_msgSend_271Ptr + .asFunction< + _NSRange Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + _NSRange, + ) + >(); void _objc_msgSend_271_stret( ffi.Pointer<_NSRange> stret, - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer dataToFind, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer dataToFind, int mask, _NSRange searchRange, ) { @@ -7429,1813 +9293,2325 @@ class AVFAudio { } late final __objc_msgSend_271_stretPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer<_NSRange>, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + _NSRange, + ) + > + >('objc_msgSend_stret'); + late final __objc_msgSend_271_stret = + __objc_msgSend_271_stretPtr + .asFunction< + void Function( ffi.Pointer<_NSRange>, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - _NSRange)>>('objc_msgSend_stret'); - late final __objc_msgSend_271_stret = __objc_msgSend_271_stretPtr.asFunction< - void Function(ffi.Pointer<_NSRange>, ffi.Pointer, - ffi.Pointer, ffi.Pointer, int, _NSRange)>(); - - late final _sel_enumerateByteRangesUsingBlock_1 = - _registerName1("enumerateByteRangesUsingBlock:"); + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + _NSRange, + ) + >(); + + late final _sel_enumerateByteRangesUsingBlock_1 = objc.registerName( + "enumerateByteRangesUsingBlock:", + ); void _objc_msgSend_272( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer<_ObjCBlock> block, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer block, ) { - return __objc_msgSend_272( - obj, - sel, - block, - ); + return __objc_msgSend_272(obj, sel, block); } late final __objc_msgSend_272Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_272 = __objc_msgSend_272Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_dataWithBytes_length_1 = - _registerName1("dataWithBytes:length:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_272 = + __objc_msgSend_272Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_dataWithBytes_length_1 = objc.registerName( + "dataWithBytes:length:", + ); instancetype _objc_msgSend_273( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ffi.Pointer bytes, int length, ) { - return __objc_msgSend_273( - obj, - sel, - bytes, - length, - ); + return __objc_msgSend_273(obj, sel, bytes, length); } late final __objc_msgSend_273Ptr = _lookup< - ffi.NativeFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.UnsignedLong)>>('objc_msgSend'); - late final __objc_msgSend_273 = __objc_msgSend_273Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int)>(); - - late final _sel_dataWithBytesNoCopy_length_1 = - _registerName1("dataWithBytesNoCopy:length:"); - late final _sel_dataWithBytesNoCopy_length_freeWhenDone_1 = - _registerName1("dataWithBytesNoCopy:length:freeWhenDone:"); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_273 = + __objc_msgSend_273Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_dataWithBytesNoCopy_length_1 = objc.registerName( + "dataWithBytesNoCopy:length:", + ); + late final _sel_dataWithBytesNoCopy_length_freeWhenDone_1 = objc.registerName( + "dataWithBytesNoCopy:length:freeWhenDone:", + ); instancetype _objc_msgSend_274( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ffi.Pointer bytes, int length, bool b, ) { - return __objc_msgSend_274( - obj, - sel, - bytes, - length, - b, - ); + return __objc_msgSend_274(obj, sel, bytes, length, b); } late final __objc_msgSend_274Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Bool, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_274 = + __objc_msgSend_274Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, - ffi.Bool)>>('objc_msgSend'); - late final __objc_msgSend_274 = __objc_msgSend_274Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int, bool)>(); - - late final _sel_dataWithContentsOfFile_options_error_1 = - _registerName1("dataWithContentsOfFile:options:error:"); + int, + bool, + ) + >(); + + late final _sel_dataWithContentsOfFile_options_error_1 = objc.registerName( + "dataWithContentsOfFile:options:error:", + ); instancetype _objc_msgSend_275( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer path, int readOptionsMask, - ffi.Pointer> errorPtr, + ffi.Pointer> errorPtr, ) { - return __objc_msgSend_275( - obj, - sel, - path, - readOptionsMask, - errorPtr, - ); + return __objc_msgSend_275(obj, sel, path, readOptionsMask, errorPtr); } late final __objc_msgSend_275Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_275 = __objc_msgSend_275Ptr.asFunction< + ffi.NativeFunction< instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>)>(); - - late final _sel_dataWithContentsOfURL_options_error_1 = - _registerName1("dataWithContentsOfURL:options:error:"); + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_275 = + __objc_msgSend_275Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer>, + ) + >(); + + late final _sel_dataWithContentsOfURL_options_error_1 = objc.registerName( + "dataWithContentsOfURL:options:error:", + ); instancetype _objc_msgSend_276( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer url, int readOptionsMask, - ffi.Pointer> errorPtr, + ffi.Pointer> errorPtr, ) { - return __objc_msgSend_276( - obj, - sel, - url, - readOptionsMask, - errorPtr, - ); + return __objc_msgSend_276(obj, sel, url, readOptionsMask, errorPtr); } late final __objc_msgSend_276Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_276 = __objc_msgSend_276Ptr.asFunction< + ffi.NativeFunction< instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>)>(); - - late final _sel_dataWithContentsOfFile_1 = - _registerName1("dataWithContentsOfFile:"); - late final _sel_dataWithContentsOfURL_1 = - _registerName1("dataWithContentsOfURL:"); + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_276 = + __objc_msgSend_276Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer>, + ) + >(); + + late final _sel_dataWithContentsOfFile_1 = objc.registerName( + "dataWithContentsOfFile:", + ); + late final _sel_dataWithContentsOfURL_1 = objc.registerName( + "dataWithContentsOfURL:", + ); instancetype _objc_msgSend_277( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer url, ) { - return __objc_msgSend_277( - obj, - sel, - url, - ); + return __objc_msgSend_277(obj, sel, url); } late final __objc_msgSend_277Ptr = _lookup< - ffi.NativeFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_277 = __objc_msgSend_277Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_initWithBytes_length_1 = - _registerName1("initWithBytes:length:"); - late final _sel_initWithBytesNoCopy_length_1 = - _registerName1("initWithBytesNoCopy:length:"); - late final _sel_initWithBytesNoCopy_length_freeWhenDone_1 = - _registerName1("initWithBytesNoCopy:length:freeWhenDone:"); - late final _sel_initWithBytesNoCopy_length_deallocator_1 = - _registerName1("initWithBytesNoCopy:length:deallocator:"); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_277 = + __objc_msgSend_277Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_initWithBytes_length_1 = objc.registerName( + "initWithBytes:length:", + ); + late final _sel_initWithBytesNoCopy_length_1 = objc.registerName( + "initWithBytesNoCopy:length:", + ); + late final _sel_initWithBytesNoCopy_length_freeWhenDone_1 = objc.registerName( + "initWithBytesNoCopy:length:freeWhenDone:", + ); + late final _sel_initWithBytesNoCopy_length_deallocator_1 = objc.registerName( + "initWithBytesNoCopy:length:deallocator:", + ); instancetype _objc_msgSend_278( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ffi.Pointer bytes, int length, - ffi.Pointer<_ObjCBlock> deallocator, + ffi.Pointer deallocator, ) { - return __objc_msgSend_278( - obj, - sel, - bytes, - length, - deallocator, - ); + return __objc_msgSend_278(obj, sel, bytes, length, deallocator); } late final __objc_msgSend_278Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_278 = + __objc_msgSend_278Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_278 = __objc_msgSend_278Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int, ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_initWithContentsOfFile_options_error_1 = - _registerName1("initWithContentsOfFile:options:error:"); - late final _sel_initWithContentsOfURL_options_error_1 = - _registerName1("initWithContentsOfURL:options:error:"); - late final _sel_initWithData_1 = _registerName1("initWithData:"); + int, + ffi.Pointer, + ) + >(); + + late final _sel_initWithContentsOfFile_options_error_1 = objc.registerName( + "initWithContentsOfFile:options:error:", + ); + late final _sel_initWithContentsOfURL_options_error_1 = objc.registerName( + "initWithContentsOfURL:options:error:", + ); + late final _sel_initWithData_1 = objc.registerName("initWithData:"); instancetype _objc_msgSend_279( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer data, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer data, ) { - return __objc_msgSend_279( - obj, - sel, - data, - ); + return __objc_msgSend_279(obj, sel, data); } late final __objc_msgSend_279Ptr = _lookup< - ffi.NativeFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_279 = __objc_msgSend_279Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_dataWithData_1 = _registerName1("dataWithData:"); - late final _sel_initWithBase64EncodedString_options_1 = - _registerName1("initWithBase64EncodedString:options:"); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_279 = + __objc_msgSend_279Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_dataWithData_1 = objc.registerName("dataWithData:"); + late final _sel_initWithBase64EncodedString_options_1 = objc.registerName( + "initWithBase64EncodedString:options:", + ); instancetype _objc_msgSend_280( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer base64String, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer base64String, int options, ) { - return __objc_msgSend_280( - obj, - sel, - base64String, - options, - ); + return __objc_msgSend_280(obj, sel, base64String, options); } late final __objc_msgSend_280Ptr = _lookup< - ffi.NativeFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_280 = __objc_msgSend_280Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int)>(); - - late final _sel_base64EncodedStringWithOptions_1 = - _registerName1("base64EncodedStringWithOptions:"); - ffi.Pointer _objc_msgSend_281( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_280 = + __objc_msgSend_280Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_base64EncodedStringWithOptions_1 = objc.registerName( + "base64EncodedStringWithOptions:", + ); + ffi.Pointer _objc_msgSend_281( + ffi.Pointer obj, + ffi.Pointer sel, int options, ) { - return __objc_msgSend_281( - obj, - sel, - options, - ); + return __objc_msgSend_281(obj, sel, options); } late final __objc_msgSend_281Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_281 = __objc_msgSend_281Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_initWithBase64EncodedData_options_1 = - _registerName1("initWithBase64EncodedData:options:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_281 = + __objc_msgSend_281Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_initWithBase64EncodedData_options_1 = objc.registerName( + "initWithBase64EncodedData:options:", + ); instancetype _objc_msgSend_282( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer base64Data, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer base64Data, int options, ) { - return __objc_msgSend_282( - obj, - sel, - base64Data, - options, - ); + return __objc_msgSend_282(obj, sel, base64Data, options); } late final __objc_msgSend_282Ptr = _lookup< - ffi.NativeFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_282 = __objc_msgSend_282Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int)>(); - - late final _sel_base64EncodedDataWithOptions_1 = - _registerName1("base64EncodedDataWithOptions:"); - ffi.Pointer _objc_msgSend_283( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_282 = + __objc_msgSend_282Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_base64EncodedDataWithOptions_1 = objc.registerName( + "base64EncodedDataWithOptions:", + ); + ffi.Pointer _objc_msgSend_283( + ffi.Pointer obj, + ffi.Pointer sel, int options, ) { - return __objc_msgSend_283( - obj, - sel, - options, - ); + return __objc_msgSend_283(obj, sel, options); } late final __objc_msgSend_283Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_283 = __objc_msgSend_283Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_decompressedDataUsingAlgorithm_error_1 = - _registerName1("decompressedDataUsingAlgorithm:error:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_283 = + __objc_msgSend_283Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_decompressedDataUsingAlgorithm_error_1 = objc.registerName( + "decompressedDataUsingAlgorithm:error:", + ); instancetype _objc_msgSend_284( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int algorithm, - ffi.Pointer> error, + ffi.Pointer> error, ) { - return __objc_msgSend_284( - obj, - sel, - algorithm, - error, - ); + return __objc_msgSend_284(obj, sel, algorithm, error); } late final __objc_msgSend_284Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_284 = __objc_msgSend_284Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, int, - ffi.Pointer>)>(); - - late final _sel_compressedDataUsingAlgorithm_error_1 = - _registerName1("compressedDataUsingAlgorithm:error:"); - late final _sel_getBytes_1 = _registerName1("getBytes:"); - late final _sel_dataWithContentsOfMappedFile_1 = - _registerName1("dataWithContentsOfMappedFile:"); - late final _sel_initWithContentsOfMappedFile_1 = - _registerName1("initWithContentsOfMappedFile:"); - late final _sel_initWithBase64Encoding_1 = - _registerName1("initWithBase64Encoding:"); - late final _sel_base64Encoding1 = _registerName1("base64Encoding"); - late final _sel_encodeDataObject_1 = _registerName1("encodeDataObject:"); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_284 = + __objc_msgSend_284Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer>, + ) + >(); + + late final _sel_compressedDataUsingAlgorithm_error_1 = objc.registerName( + "compressedDataUsingAlgorithm:error:", + ); + late final _sel_getBytes_1 = objc.registerName("getBytes:"); + late final _sel_dataWithContentsOfMappedFile_1 = objc.registerName( + "dataWithContentsOfMappedFile:", + ); + late final _sel_initWithContentsOfMappedFile_1 = objc.registerName( + "initWithContentsOfMappedFile:", + ); + late final _sel_initWithBase64Encoding_1 = objc.registerName( + "initWithBase64Encoding:", + ); + late final _sel_base64Encoding1 = objc.registerName("base64Encoding"); + late final _sel_encodeDataObject_1 = objc.registerName("encodeDataObject:"); void _objc_msgSend_285( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer data, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer data, ) { - return __objc_msgSend_285( - obj, - sel, - data, - ); + return __objc_msgSend_285(obj, sel, data); } late final __objc_msgSend_285Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_285 = __objc_msgSend_285Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_decodeDataObject1 = _registerName1("decodeDataObject"); - ffi.Pointer _objc_msgSend_286( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_286( - obj, - sel, - ); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_285 = + __objc_msgSend_285Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_decodeDataObject1 = objc.registerName("decodeDataObject"); + ffi.Pointer _objc_msgSend_286( + ffi.Pointer obj, + ffi.Pointer sel, + ) { + return __objc_msgSend_286(obj, sel); } late final __objc_msgSend_286Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_286 = __objc_msgSend_286Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_decodeValueOfObjCType_at_size_1 = - _registerName1("decodeValueOfObjCType:at:size:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_286 = + __objc_msgSend_286Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_decodeValueOfObjCType_at_size_1 = objc.registerName( + "decodeValueOfObjCType:at:size:", + ); void _objc_msgSend_287( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ffi.Pointer type, ffi.Pointer data, int size, ) { - return __objc_msgSend_287( - obj, - sel, - type, - data, - size, - ); + return __objc_msgSend_287(obj, sel, type, data, size); } late final __objc_msgSend_287Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_287 = + __objc_msgSend_287Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong)>>('objc_msgSend'); - late final __objc_msgSend_287 = __objc_msgSend_287Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer, int)>(); + int, + ) + >(); - late final _sel_versionForClassName_1 = - _registerName1("versionForClassName:"); + late final _sel_versionForClassName_1 = objc.registerName( + "versionForClassName:", + ); int _objc_msgSend_288( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer className, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer className, ) { - return __objc_msgSend_288( - obj, - sel, - className, - ); + return __objc_msgSend_288(obj, sel, className); } late final __objc_msgSend_288Ptr = _lookup< - ffi.NativeFunction< - ffi.Long Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_288 = __objc_msgSend_288Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_encodeObject_1 = _registerName1("encodeObject:"); + ffi.NativeFunction< + ffi.Long Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_288 = + __objc_msgSend_288Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_encodeObject_1 = objc.registerName("encodeObject:"); void _objc_msgSend_289( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer object, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer object, ) { - return __objc_msgSend_289( - obj, - sel, - object, - ); + return __objc_msgSend_289(obj, sel, object); } late final __objc_msgSend_289Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_289 = __objc_msgSend_289Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_encodeRootObject_1 = _registerName1("encodeRootObject:"); - late final _sel_encodeBycopyObject_1 = _registerName1("encodeBycopyObject:"); - late final _sel_encodeByrefObject_1 = _registerName1("encodeByrefObject:"); - late final _sel_encodeConditionalObject_1 = - _registerName1("encodeConditionalObject:"); - late final _sel_encodeValuesOfObjCTypes_1 = - _registerName1("encodeValuesOfObjCTypes:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_289 = + __objc_msgSend_289Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_encodeRootObject_1 = objc.registerName("encodeRootObject:"); + late final _sel_encodeBycopyObject_1 = objc.registerName( + "encodeBycopyObject:", + ); + late final _sel_encodeByrefObject_1 = objc.registerName("encodeByrefObject:"); + late final _sel_encodeConditionalObject_1 = objc.registerName( + "encodeConditionalObject:", + ); + late final _sel_encodeValuesOfObjCTypes_1 = objc.registerName( + "encodeValuesOfObjCTypes:", + ); void _objc_msgSend_290( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer types, - ) { - return __objc_msgSend_290( - obj, - sel, - types, - ); + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer types, + ) { + return __objc_msgSend_290(obj, sel, types); } late final __objc_msgSend_290Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_290 = __objc_msgSend_290Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_encodeArrayOfObjCType_count_at_1 = - _registerName1("encodeArrayOfObjCType:count:at:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_290 = + __objc_msgSend_290Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_encodeArrayOfObjCType_count_at_1 = objc.registerName( + "encodeArrayOfObjCType:count:at:", + ); void _objc_msgSend_291( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ffi.Pointer type, int count, ffi.Pointer array, ) { - return __objc_msgSend_291( - obj, - sel, - type, - count, - array, - ); + return __objc_msgSend_291(obj, sel, type, count, array); } late final __objc_msgSend_291Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_291 = + __objc_msgSend_291Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_291 = __objc_msgSend_291Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int, ffi.Pointer)>(); - - late final _sel_encodeBytes_length_1 = _registerName1("encodeBytes:length:"); - late final _sel_decodeObject1 = _registerName1("decodeObject"); - late final _sel_decodeTopLevelObjectAndReturnError_1 = - _registerName1("decodeTopLevelObjectAndReturnError:"); - ffi.Pointer _objc_msgSend_292( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer> error, - ) { - return __objc_msgSend_292( - obj, - sel, - error, - ); + int, + ffi.Pointer, + ) + >(); + + late final _sel_encodeBytes_length_1 = objc.registerName( + "encodeBytes:length:", + ); + late final _sel_decodeObject1 = objc.registerName("decodeObject"); + late final _sel_decodeTopLevelObjectAndReturnError_1 = objc.registerName( + "decodeTopLevelObjectAndReturnError:", + ); + ffi.Pointer _objc_msgSend_292( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer> error, + ) { + return __objc_msgSend_292(obj, sel, error); } late final __objc_msgSend_292Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_292 = __objc_msgSend_292Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer>)>(); - - late final _sel_decodeValuesOfObjCTypes_1 = - _registerName1("decodeValuesOfObjCTypes:"); - late final _sel_decodeArrayOfObjCType_count_at_1 = - _registerName1("decodeArrayOfObjCType:count:at:"); - late final _sel_decodeBytesWithReturnedLength_1 = - _registerName1("decodeBytesWithReturnedLength:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_292 = + __objc_msgSend_292Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + >(); + + late final _sel_decodeValuesOfObjCTypes_1 = objc.registerName( + "decodeValuesOfObjCTypes:", + ); + late final _sel_decodeArrayOfObjCType_count_at_1 = objc.registerName( + "decodeArrayOfObjCType:count:at:", + ); + late final _sel_decodeBytesWithReturnedLength_1 = objc.registerName( + "decodeBytesWithReturnedLength:", + ); ffi.Pointer _objc_msgSend_293( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ffi.Pointer lengthp, ) { - return __objc_msgSend_293( - obj, - sel, - lengthp, - ); + return __objc_msgSend_293(obj, sel, lengthp); } late final __objc_msgSend_293Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_293 = __objc_msgSend_293Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_encodePropertyList_1 = _registerName1("encodePropertyList:"); - late final _sel_decodePropertyList1 = _registerName1("decodePropertyList"); - late final _sel_setObjectZone_1 = _registerName1("setObjectZone:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_293 = + __objc_msgSend_293Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_encodePropertyList_1 = objc.registerName( + "encodePropertyList:", + ); + late final _sel_decodePropertyList1 = objc.registerName("decodePropertyList"); + late final _sel_setObjectZone_1 = objc.registerName("setObjectZone:"); void _objc_msgSend_294( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ffi.Pointer<_NSZone> zone, ) { - return __objc_msgSend_294( - obj, - sel, - zone, - ); + return __objc_msgSend_294(obj, sel, zone); } late final __objc_msgSend_294Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer<_NSZone>)>>('objc_msgSend'); - late final __objc_msgSend_294 = __objc_msgSend_294Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer<_NSZone>)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_NSZone>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_294 = + __objc_msgSend_294Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_NSZone>, + ) + >(); - late final _sel_objectZone1 = _registerName1("objectZone"); + late final _sel_objectZone1 = objc.registerName("objectZone"); ffi.Pointer<_NSZone> _objc_msgSend_295( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_295( - obj, - sel, - ); + return __objc_msgSend_295(obj, sel); } late final __objc_msgSend_295Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer<_NSZone> Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_295 = __objc_msgSend_295Ptr.asFunction< + ffi.NativeFunction< ffi.Pointer<_NSZone> Function( - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_systemVersion1 = _registerName1("systemVersion"); - late final _sel_allowsKeyedCoding1 = _registerName1("allowsKeyedCoding"); - late final _sel_encodeObject_forKey_1 = - _registerName1("encodeObject:forKey:"); - late final _sel_encodeConditionalObject_forKey_1 = - _registerName1("encodeConditionalObject:forKey:"); - late final _sel_encodeBool_forKey_1 = _registerName1("encodeBool:forKey:"); + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_295 = + __objc_msgSend_295Ptr + .asFunction< + ffi.Pointer<_NSZone> Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_systemVersion1 = objc.registerName("systemVersion"); + late final _sel_allowsKeyedCoding1 = objc.registerName("allowsKeyedCoding"); + late final _sel_encodeObject_forKey_1 = objc.registerName( + "encodeObject:forKey:", + ); + late final _sel_encodeConditionalObject_forKey_1 = objc.registerName( + "encodeConditionalObject:forKey:", + ); + late final _sel_encodeBool_forKey_1 = objc.registerName("encodeBool:forKey:"); void _objc_msgSend_296( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, bool value, - ffi.Pointer key, + ffi.Pointer key, ) { - return __objc_msgSend_296( - obj, - sel, - value, - key, - ); + return __objc_msgSend_296(obj, sel, value, key); } late final __objc_msgSend_296Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Bool, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_296 = __objc_msgSend_296Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, bool, - ffi.Pointer)>(); - - late final _sel_encodeInt_forKey_1 = _registerName1("encodeInt:forKey:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_296 = + __objc_msgSend_296Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + bool, + ffi.Pointer, + ) + >(); + + late final _sel_encodeInt_forKey_1 = objc.registerName("encodeInt:forKey:"); void _objc_msgSend_297( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int value, - ffi.Pointer key, + ffi.Pointer key, ) { - return __objc_msgSend_297( - obj, - sel, - value, - key, - ); + return __objc_msgSend_297(obj, sel, value, key); } late final __objc_msgSend_297Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Int, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_297 = __objc_msgSend_297Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int, - ffi.Pointer)>(); - - late final _sel_encodeInt32_forKey_1 = _registerName1("encodeInt32:forKey:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_297 = + __objc_msgSend_297Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ) + >(); + + late final _sel_encodeInt32_forKey_1 = objc.registerName( + "encodeInt32:forKey:", + ); void _objc_msgSend_298( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int value, - ffi.Pointer key, + ffi.Pointer key, ) { - return __objc_msgSend_298( - obj, - sel, - value, - key, - ); + return __objc_msgSend_298(obj, sel, value, key); } late final __objc_msgSend_298Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Int32, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_298 = __objc_msgSend_298Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int, - ffi.Pointer)>(); - - late final _sel_encodeInt64_forKey_1 = _registerName1("encodeInt64:forKey:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_298 = + __objc_msgSend_298Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ) + >(); + + late final _sel_encodeInt64_forKey_1 = objc.registerName( + "encodeInt64:forKey:", + ); void _objc_msgSend_299( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int value, - ffi.Pointer key, + ffi.Pointer key, ) { - return __objc_msgSend_299( - obj, - sel, - value, - key, - ); + return __objc_msgSend_299(obj, sel, value, key); } late final __objc_msgSend_299Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Int64, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_299 = __objc_msgSend_299Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int, - ffi.Pointer)>(); - - late final _sel_encodeFloat_forKey_1 = _registerName1("encodeFloat:forKey:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int64, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_299 = + __objc_msgSend_299Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ) + >(); + + late final _sel_encodeFloat_forKey_1 = objc.registerName( + "encodeFloat:forKey:", + ); void _objc_msgSend_300( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, double value, - ffi.Pointer key, + ffi.Pointer key, ) { - return __objc_msgSend_300( - obj, - sel, - value, - key, - ); + return __objc_msgSend_300(obj, sel, value, key); } late final __objc_msgSend_300Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Float, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_300 = __objc_msgSend_300Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, double, - ffi.Pointer)>(); - - late final _sel_encodeDouble_forKey_1 = - _registerName1("encodeDouble:forKey:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Float, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_300 = + __objc_msgSend_300Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + double, + ffi.Pointer, + ) + >(); + + late final _sel_encodeDouble_forKey_1 = objc.registerName( + "encodeDouble:forKey:", + ); void _objc_msgSend_301( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, double value, - ffi.Pointer key, + ffi.Pointer key, ) { - return __objc_msgSend_301( - obj, - sel, - value, - key, - ); + return __objc_msgSend_301(obj, sel, value, key); } late final __objc_msgSend_301Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Double, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_301 = __objc_msgSend_301Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, double, - ffi.Pointer)>(); - - late final _sel_encodeBytes_length_forKey_1 = - _registerName1("encodeBytes:length:forKey:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Double, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_301 = + __objc_msgSend_301Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + double, + ffi.Pointer, + ) + >(); + + late final _sel_encodeBytes_length_forKey_1 = objc.registerName( + "encodeBytes:length:forKey:", + ); void _objc_msgSend_302( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ffi.Pointer bytes, int length, - ffi.Pointer key, + ffi.Pointer key, ) { - return __objc_msgSend_302( - obj, - sel, - bytes, - length, - key, - ); + return __objc_msgSend_302(obj, sel, bytes, length, key); } late final __objc_msgSend_302Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_302 = + __objc_msgSend_302Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_302 = __objc_msgSend_302Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int, ffi.Pointer)>(); - - late final _sel_containsValueForKey_1 = - _registerName1("containsValueForKey:"); - late final _sel_decodeObjectForKey_1 = _registerName1("decodeObjectForKey:"); - late final _sel_decodeTopLevelObjectForKey_error_1 = - _registerName1("decodeTopLevelObjectForKey:error:"); - ffi.Pointer _objc_msgSend_303( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer key, - ffi.Pointer> error, - ) { - return __objc_msgSend_303( - obj, - sel, - key, - error, - ); + int, + ffi.Pointer, + ) + >(); + + late final _sel_containsValueForKey_1 = objc.registerName( + "containsValueForKey:", + ); + late final _sel_decodeObjectForKey_1 = objc.registerName( + "decodeObjectForKey:", + ); + late final _sel_decodeTopLevelObjectForKey_error_1 = objc.registerName( + "decodeTopLevelObjectForKey:error:", + ); + ffi.Pointer _objc_msgSend_303( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer key, + ffi.Pointer> error, + ) { + return __objc_msgSend_303(obj, sel, key, error); } late final __objc_msgSend_303Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_303 = __objc_msgSend_303Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>(); - - late final _sel_decodeBoolForKey_1 = _registerName1("decodeBoolForKey:"); - late final _sel_decodeIntForKey_1 = _registerName1("decodeIntForKey:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_303 = + __objc_msgSend_303Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + >(); + + late final _sel_decodeBoolForKey_1 = objc.registerName("decodeBoolForKey:"); + late final _sel_decodeIntForKey_1 = objc.registerName("decodeIntForKey:"); int _objc_msgSend_304( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer key, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer key, ) { - return __objc_msgSend_304( - obj, - sel, - key, - ); + return __objc_msgSend_304(obj, sel, key); } late final __objc_msgSend_304Ptr = _lookup< - ffi.NativeFunction< - ffi.Int Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_304 = __objc_msgSend_304Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_decodeInt32ForKey_1 = _registerName1("decodeInt32ForKey:"); + ffi.NativeFunction< + ffi.Int Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_304 = + __objc_msgSend_304Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_decodeInt32ForKey_1 = objc.registerName("decodeInt32ForKey:"); int _objc_msgSend_305( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer key, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer key, ) { - return __objc_msgSend_305( - obj, - sel, - key, - ); + return __objc_msgSend_305(obj, sel, key); } late final __objc_msgSend_305Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_305 = __objc_msgSend_305Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_decodeInt64ForKey_1 = _registerName1("decodeInt64ForKey:"); + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_305 = + __objc_msgSend_305Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_decodeInt64ForKey_1 = objc.registerName("decodeInt64ForKey:"); int _objc_msgSend_306( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer key, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer key, ) { - return __objc_msgSend_306( - obj, - sel, - key, - ); + return __objc_msgSend_306(obj, sel, key); } late final __objc_msgSend_306Ptr = _lookup< - ffi.NativeFunction< - ffi.Int64 Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_306 = __objc_msgSend_306Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_decodeFloatForKey_1 = _registerName1("decodeFloatForKey:"); + ffi.NativeFunction< + ffi.Int64 Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_306 = + __objc_msgSend_306Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_decodeFloatForKey_1 = objc.registerName("decodeFloatForKey:"); double _objc_msgSend_307( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer key, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer key, ) { - return __objc_msgSend_307( - obj, - sel, - key, - ); + return __objc_msgSend_307(obj, sel, key); } late final __objc_msgSend_307Ptr = _lookup< - ffi.NativeFunction< - ffi.Float Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_307 = __objc_msgSend_307Ptr.asFunction< - double Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Float Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_307 = + __objc_msgSend_307Ptr + .asFunction< + double Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); double _objc_msgSend_307_fpret( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer key, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer key, ) { - return __objc_msgSend_307_fpret( - obj, - sel, - key, - ); + return __objc_msgSend_307_fpret(obj, sel, key); } late final __objc_msgSend_307_fpretPtr = _lookup< - ffi.NativeFunction< - ffi.Float Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend_fpret'); - late final __objc_msgSend_307_fpret = __objc_msgSend_307_fpretPtr.asFunction< - double Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_decodeDoubleForKey_1 = _registerName1("decodeDoubleForKey:"); + ffi.NativeFunction< + ffi.Float Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend_fpret'); + late final __objc_msgSend_307_fpret = + __objc_msgSend_307_fpretPtr + .asFunction< + double Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_decodeDoubleForKey_1 = objc.registerName( + "decodeDoubleForKey:", + ); double _objc_msgSend_308( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer key, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer key, ) { - return __objc_msgSend_308( - obj, - sel, - key, - ); + return __objc_msgSend_308(obj, sel, key); } late final __objc_msgSend_308Ptr = _lookup< - ffi.NativeFunction< - ffi.Double Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_308 = __objc_msgSend_308Ptr.asFunction< - double Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Double Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_308 = + __objc_msgSend_308Ptr + .asFunction< + double Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); double _objc_msgSend_308_fpret( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer key, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer key, ) { - return __objc_msgSend_308_fpret( - obj, - sel, - key, - ); + return __objc_msgSend_308_fpret(obj, sel, key); } late final __objc_msgSend_308_fpretPtr = _lookup< - ffi.NativeFunction< - ffi.Double Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend_fpret'); - late final __objc_msgSend_308_fpret = __objc_msgSend_308_fpretPtr.asFunction< - double Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_decodeBytesForKey_returnedLength_1 = - _registerName1("decodeBytesForKey:returnedLength:"); + ffi.NativeFunction< + ffi.Double Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend_fpret'); + late final __objc_msgSend_308_fpret = + __objc_msgSend_308_fpretPtr + .asFunction< + double Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_decodeBytesForKey_returnedLength_1 = objc.registerName( + "decodeBytesForKey:returnedLength:", + ); ffi.Pointer _objc_msgSend_309( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer key, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer key, ffi.Pointer lengthp, ) { - return __objc_msgSend_309( - obj, - sel, - key, - lengthp, - ); + return __objc_msgSend_309(obj, sel, key, lengthp); } late final __objc_msgSend_309Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_309 = __objc_msgSend_309Ptr.asFunction< + ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_309 = + __objc_msgSend_309Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); - late final _sel_encodeInteger_forKey_1 = - _registerName1("encodeInteger:forKey:"); + late final _sel_encodeInteger_forKey_1 = objc.registerName( + "encodeInteger:forKey:", + ); void _objc_msgSend_310( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int value, - ffi.Pointer key, + ffi.Pointer key, ) { - return __objc_msgSend_310( - obj, - sel, - value, - key, - ); + return __objc_msgSend_310(obj, sel, value, key); } late final __objc_msgSend_310Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Long, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_310 = __objc_msgSend_310Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int, - ffi.Pointer)>(); - - late final _sel_decodeIntegerForKey_1 = - _registerName1("decodeIntegerForKey:"); - late final _sel_requiresSecureCoding1 = - _registerName1("requiresSecureCoding"); - late final _sel_decodeObjectOfClass_forKey_1 = - _registerName1("decodeObjectOfClass:forKey:"); - ffi.Pointer _objc_msgSend_311( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aClass, - ffi.Pointer key, - ) { - return __objc_msgSend_311( - obj, - sel, - aClass, - key, - ); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Long, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_310 = + __objc_msgSend_310Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ) + >(); + + late final _sel_decodeIntegerForKey_1 = objc.registerName( + "decodeIntegerForKey:", + ); + late final _sel_requiresSecureCoding1 = objc.registerName( + "requiresSecureCoding", + ); + late final _sel_decodeObjectOfClass_forKey_1 = objc.registerName( + "decodeObjectOfClass:forKey:", + ); + ffi.Pointer _objc_msgSend_311( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer aClass, + ffi.Pointer key, + ) { + return __objc_msgSend_311(obj, sel, aClass, key); } late final __objc_msgSend_311Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_311 = __objc_msgSend_311Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_decodeTopLevelObjectOfClass_forKey_error_1 = - _registerName1("decodeTopLevelObjectOfClass:forKey:error:"); - ffi.Pointer _objc_msgSend_312( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aClass, - ffi.Pointer key, - ffi.Pointer> error, - ) { - return __objc_msgSend_312( - obj, - sel, - aClass, - key, - error, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_311 = + __objc_msgSend_311Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_decodeTopLevelObjectOfClass_forKey_error_1 = objc + .registerName("decodeTopLevelObjectOfClass:forKey:error:"); + ffi.Pointer _objc_msgSend_312( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer aClass, + ffi.Pointer key, + ffi.Pointer> error, + ) { + return __objc_msgSend_312(obj, sel, aClass, key, error); } late final __objc_msgSend_312Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_312 = __objc_msgSend_312Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>(); - - late final _sel_decodeArrayOfObjectsOfClass_forKey_1 = - _registerName1("decodeArrayOfObjectsOfClass:forKey:"); - ffi.Pointer _objc_msgSend_313( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer cls, - ffi.Pointer key, - ) { - return __objc_msgSend_313( - obj, - sel, - cls, - key, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_312 = + __objc_msgSend_312Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + >(); + + late final _sel_decodeArrayOfObjectsOfClass_forKey_1 = objc.registerName( + "decodeArrayOfObjectsOfClass:forKey:", + ); + ffi.Pointer _objc_msgSend_313( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer cls, + ffi.Pointer key, + ) { + return __objc_msgSend_313(obj, sel, cls, key); } late final __objc_msgSend_313Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_313 = __objc_msgSend_313Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_decodeDictionaryWithKeysOfClass_objectsOfClass_forKey_1 = - _registerName1("decodeDictionaryWithKeysOfClass:objectsOfClass:forKey:"); - ffi.Pointer _objc_msgSend_314( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer keyCls, - ffi.Pointer objectCls, - ffi.Pointer key, - ) { - return __objc_msgSend_314( - obj, - sel, - keyCls, - objectCls, - key, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_313 = + __objc_msgSend_313Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_decodeDictionaryWithKeysOfClass_objectsOfClass_forKey_1 = objc + .registerName("decodeDictionaryWithKeysOfClass:objectsOfClass:forKey:"); + ffi.Pointer _objc_msgSend_314( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer keyCls, + ffi.Pointer objectCls, + ffi.Pointer key, + ) { + return __objc_msgSend_314(obj, sel, keyCls, objectCls, key); } late final __objc_msgSend_314Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_314 = __objc_msgSend_314Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_decodeObjectOfClasses_forKey_1 = - _registerName1("decodeObjectOfClasses:forKey:"); - ffi.Pointer _objc_msgSend_315( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer classes, - ffi.Pointer key, - ) { - return __objc_msgSend_315( - obj, - sel, - classes, - key, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_314 = + __objc_msgSend_314Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_decodeObjectOfClasses_forKey_1 = objc.registerName( + "decodeObjectOfClasses:forKey:", + ); + ffi.Pointer _objc_msgSend_315( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer classes, + ffi.Pointer key, + ) { + return __objc_msgSend_315(obj, sel, classes, key); } late final __objc_msgSend_315Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_315 = __objc_msgSend_315Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_decodeTopLevelObjectOfClasses_forKey_error_1 = - _registerName1("decodeTopLevelObjectOfClasses:forKey:error:"); - ffi.Pointer _objc_msgSend_316( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer classes, - ffi.Pointer key, - ffi.Pointer> error, - ) { - return __objc_msgSend_316( - obj, - sel, - classes, - key, - error, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_315 = + __objc_msgSend_315Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_decodeTopLevelObjectOfClasses_forKey_error_1 = objc + .registerName("decodeTopLevelObjectOfClasses:forKey:error:"); + ffi.Pointer _objc_msgSend_316( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer classes, + ffi.Pointer key, + ffi.Pointer> error, + ) { + return __objc_msgSend_316(obj, sel, classes, key, error); } late final __objc_msgSend_316Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_316 = __objc_msgSend_316Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>(); - - late final _sel_decodeArrayOfObjectsOfClasses_forKey_1 = - _registerName1("decodeArrayOfObjectsOfClasses:forKey:"); - ffi.Pointer _objc_msgSend_317( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer classes, - ffi.Pointer key, - ) { - return __objc_msgSend_317( - obj, - sel, - classes, - key, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_316 = + __objc_msgSend_316Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + >(); + + late final _sel_decodeArrayOfObjectsOfClasses_forKey_1 = objc.registerName( + "decodeArrayOfObjectsOfClasses:forKey:", + ); + ffi.Pointer _objc_msgSend_317( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer classes, + ffi.Pointer key, + ) { + return __objc_msgSend_317(obj, sel, classes, key); } late final __objc_msgSend_317Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_317 = __objc_msgSend_317Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_317 = + __objc_msgSend_317Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_decodeDictionaryWithKeysOfClasses_objectsOfClasses_forKey_1 = - _registerName1( - "decodeDictionaryWithKeysOfClasses:objectsOfClasses:forKey:"); - ffi.Pointer _objc_msgSend_318( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer keyClasses, - ffi.Pointer objectClasses, - ffi.Pointer key, - ) { - return __objc_msgSend_318( - obj, - sel, - keyClasses, - objectClasses, - key, - ); + objc.registerName( + "decodeDictionaryWithKeysOfClasses:objectsOfClasses:forKey:", + ); + ffi.Pointer _objc_msgSend_318( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer keyClasses, + ffi.Pointer objectClasses, + ffi.Pointer key, + ) { + return __objc_msgSend_318(obj, sel, keyClasses, objectClasses, key); } late final __objc_msgSend_318Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_318 = __objc_msgSend_318Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_decodePropertyListForKey_1 = - _registerName1("decodePropertyListForKey:"); - late final _sel_allowedClasses1 = _registerName1("allowedClasses"); - ffi.Pointer _objc_msgSend_319( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_319( - obj, - sel, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_318 = + __objc_msgSend_318Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_decodePropertyListForKey_1 = objc.registerName( + "decodePropertyListForKey:", + ); + late final _sel_allowedClasses1 = objc.registerName("allowedClasses"); + ffi.Pointer _objc_msgSend_319( + ffi.Pointer obj, + ffi.Pointer sel, + ) { + return __objc_msgSend_319(obj, sel); } late final __objc_msgSend_319Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_319 = __objc_msgSend_319Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_319 = + __objc_msgSend_319Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); - late final _sel_failWithError_1 = _registerName1("failWithError:"); + late final _sel_failWithError_1 = objc.registerName("failWithError:"); void _objc_msgSend_320( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer error, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer error, ) { - return __objc_msgSend_320( - obj, - sel, - error, - ); + return __objc_msgSend_320(obj, sel, error); } late final __objc_msgSend_320Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_320 = __objc_msgSend_320Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_decodingFailurePolicy1 = - _registerName1("decodingFailurePolicy"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_320 = + __objc_msgSend_320Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_decodingFailurePolicy1 = objc.registerName( + "decodingFailurePolicy", + ); int _objc_msgSend_321( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_321( - obj, - sel, - ); + return __objc_msgSend_321(obj, sel); } late final __objc_msgSend_321Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_321 = __objc_msgSend_321Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_321 = + __objc_msgSend_321Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); - late final _sel_error1 = _registerName1("error"); - ffi.Pointer _objc_msgSend_322( - ffi.Pointer obj, - ffi.Pointer sel, + late final _sel_error1 = objc.registerName("error"); + ffi.Pointer _objc_msgSend_322( + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_322( - obj, - sel, - ); + return __objc_msgSend_322(obj, sel); } late final __objc_msgSend_322Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_322 = __objc_msgSend_322Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_encodeNXObject_1 = _registerName1("encodeNXObject:"); - late final _sel_decodeNXObject1 = _registerName1("decodeNXObject"); - late final _sel_decodeValueOfObjCType_at_1 = - _registerName1("decodeValueOfObjCType:at:"); - late final _sel_encodePoint_1 = _registerName1("encodePoint:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_322 = + __objc_msgSend_322Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_encodeNXObject_1 = objc.registerName("encodeNXObject:"); + late final _sel_decodeNXObject1 = objc.registerName("decodeNXObject"); + late final _sel_decodeValueOfObjCType_at_1 = objc.registerName( + "decodeValueOfObjCType:at:", + ); + late final _sel_encodePoint_1 = objc.registerName("encodePoint:"); void _objc_msgSend_323( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, CGPoint point, ) { - return __objc_msgSend_323( - obj, - sel, - point, - ); + return __objc_msgSend_323(obj, sel, point); } late final __objc_msgSend_323Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - CGPoint)>>('objc_msgSend'); - late final __objc_msgSend_323 = __objc_msgSend_323Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, CGPoint)>(); - - late final _sel_decodePoint1 = _registerName1("decodePoint"); - late final _sel_encodeSize_1 = _registerName1("encodeSize:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + CGPoint, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_323 = + __objc_msgSend_323Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + CGPoint, + ) + >(); + + late final _sel_decodePoint1 = objc.registerName("decodePoint"); + late final _sel_encodeSize_1 = objc.registerName("encodeSize:"); void _objc_msgSend_324( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, CGSize size, ) { - return __objc_msgSend_324( - obj, - sel, - size, - ); + return __objc_msgSend_324(obj, sel, size); } late final __objc_msgSend_324Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - CGSize)>>('objc_msgSend'); - late final __objc_msgSend_324 = __objc_msgSend_324Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, CGSize)>(); - - late final _sel_decodeSize1 = _registerName1("decodeSize"); - late final _sel_encodeRect_1 = _registerName1("encodeRect:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + CGSize, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_324 = + __objc_msgSend_324Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + CGSize, + ) + >(); + + late final _sel_decodeSize1 = objc.registerName("decodeSize"); + late final _sel_encodeRect_1 = objc.registerName("encodeRect:"); void _objc_msgSend_325( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, CGRect rect, ) { - return __objc_msgSend_325( - obj, - sel, - rect, - ); + return __objc_msgSend_325(obj, sel, rect); } late final __objc_msgSend_325Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - CGRect)>>('objc_msgSend'); - late final __objc_msgSend_325 = __objc_msgSend_325Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, CGRect)>(); - - late final _sel_decodeRect1 = _registerName1("decodeRect"); - late final _sel_encodePoint_forKey_1 = _registerName1("encodePoint:forKey:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + CGRect, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_325 = + __objc_msgSend_325Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + CGRect, + ) + >(); + + late final _sel_decodeRect1 = objc.registerName("decodeRect"); + late final _sel_encodePoint_forKey_1 = objc.registerName( + "encodePoint:forKey:", + ); void _objc_msgSend_326( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, CGPoint point, - ffi.Pointer key, + ffi.Pointer key, ) { - return __objc_msgSend_326( - obj, - sel, - point, - key, - ); + return __objc_msgSend_326(obj, sel, point, key); } late final __objc_msgSend_326Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - CGPoint, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_326 = __objc_msgSend_326Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, CGPoint, - ffi.Pointer)>(); - - late final _sel_encodeSize_forKey_1 = _registerName1("encodeSize:forKey:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + CGPoint, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_326 = + __objc_msgSend_326Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + CGPoint, + ffi.Pointer, + ) + >(); + + late final _sel_encodeSize_forKey_1 = objc.registerName("encodeSize:forKey:"); void _objc_msgSend_327( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, CGSize size, - ffi.Pointer key, + ffi.Pointer key, ) { - return __objc_msgSend_327( - obj, - sel, - size, - key, - ); + return __objc_msgSend_327(obj, sel, size, key); } late final __objc_msgSend_327Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - CGSize, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_327 = __objc_msgSend_327Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, CGSize, - ffi.Pointer)>(); - - late final _sel_encodeRect_forKey_1 = _registerName1("encodeRect:forKey:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + CGSize, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_327 = + __objc_msgSend_327Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + CGSize, + ffi.Pointer, + ) + >(); + + late final _sel_encodeRect_forKey_1 = objc.registerName("encodeRect:forKey:"); void _objc_msgSend_328( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, CGRect rect, - ffi.Pointer key, + ffi.Pointer key, ) { - return __objc_msgSend_328( - obj, - sel, - rect, - key, - ); + return __objc_msgSend_328(obj, sel, rect, key); } late final __objc_msgSend_328Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - CGRect, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_328 = __objc_msgSend_328Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, CGRect, - ffi.Pointer)>(); - - late final _sel_decodePointForKey_1 = _registerName1("decodePointForKey:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + CGRect, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_328 = + __objc_msgSend_328Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + CGRect, + ffi.Pointer, + ) + >(); + + late final _sel_decodePointForKey_1 = objc.registerName("decodePointForKey:"); CGPoint _objc_msgSend_329( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer key, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer key, ) { - return __objc_msgSend_329( - obj, - sel, - key, - ); + return __objc_msgSend_329(obj, sel, key); } late final __objc_msgSend_329Ptr = _lookup< - ffi.NativeFunction< - CGPoint Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_329 = __objc_msgSend_329Ptr.asFunction< - CGPoint Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); + ffi.NativeFunction< + CGPoint Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_329 = + __objc_msgSend_329Ptr + .asFunction< + CGPoint Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); void _objc_msgSend_329_stret( ffi.Pointer stret, - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer key, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer key, ) { - return __objc_msgSend_329_stret( - stret, - obj, - sel, - key, - ); + return __objc_msgSend_329_stret(stret, obj, sel, key); } late final __objc_msgSend_329_stretPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend_stret'); + late final __objc_msgSend_329_stret = + __objc_msgSend_329_stretPtr + .asFunction< + void Function( ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend_stret'); - late final __objc_msgSend_329_stret = __objc_msgSend_329_stretPtr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_decodeSizeForKey_1 = _registerName1("decodeSizeForKey:"); + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_decodeSizeForKey_1 = objc.registerName("decodeSizeForKey:"); CGSize _objc_msgSend_330( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer key, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer key, ) { - return __objc_msgSend_330( - obj, - sel, - key, - ); + return __objc_msgSend_330(obj, sel, key); } late final __objc_msgSend_330Ptr = _lookup< - ffi.NativeFunction< - CGSize Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_330 = __objc_msgSend_330Ptr.asFunction< - CGSize Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); + ffi.NativeFunction< + CGSize Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_330 = + __objc_msgSend_330Ptr + .asFunction< + CGSize Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); void _objc_msgSend_330_stret( ffi.Pointer stret, - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer key, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer key, ) { - return __objc_msgSend_330_stret( - stret, - obj, - sel, - key, - ); + return __objc_msgSend_330_stret(stret, obj, sel, key); } late final __objc_msgSend_330_stretPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend_stret'); + late final __objc_msgSend_330_stret = + __objc_msgSend_330_stretPtr + .asFunction< + void Function( ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend_stret'); - late final __objc_msgSend_330_stret = __objc_msgSend_330_stretPtr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_decodeRectForKey_1 = _registerName1("decodeRectForKey:"); + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_decodeRectForKey_1 = objc.registerName("decodeRectForKey:"); CGRect _objc_msgSend_331( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer key, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer key, ) { - return __objc_msgSend_331( - obj, - sel, - key, - ); + return __objc_msgSend_331(obj, sel, key); } late final __objc_msgSend_331Ptr = _lookup< - ffi.NativeFunction< - CGRect Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_331 = __objc_msgSend_331Ptr.asFunction< - CGRect Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); + ffi.NativeFunction< + CGRect Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_331 = + __objc_msgSend_331Ptr + .asFunction< + CGRect Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); void _objc_msgSend_331_stret( ffi.Pointer stret, - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer key, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer key, ) { - return __objc_msgSend_331_stret( - stret, - obj, - sel, - key, - ); + return __objc_msgSend_331_stret(stret, obj, sel, key); } late final __objc_msgSend_331_stretPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend_stret'); + late final __objc_msgSend_331_stret = + __objc_msgSend_331_stretPtr + .asFunction< + void Function( ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend_stret'); - late final __objc_msgSend_331_stret = __objc_msgSend_331_stretPtr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_substringFromIndex_1 = _registerName1("substringFromIndex:"); - ffi.Pointer _objc_msgSend_332( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_substringFromIndex_1 = objc.registerName( + "substringFromIndex:", + ); + ffi.Pointer _objc_msgSend_332( + ffi.Pointer obj, + ffi.Pointer sel, int from, ) { - return __objc_msgSend_332( - obj, - sel, - from, - ); + return __objc_msgSend_332(obj, sel, from); } late final __objc_msgSend_332Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.UnsignedLong)>>('objc_msgSend'); - late final __objc_msgSend_332 = __objc_msgSend_332Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_substringToIndex_1 = _registerName1("substringToIndex:"); - late final _sel_substringWithRange_1 = _registerName1("substringWithRange:"); - ffi.Pointer _objc_msgSend_333( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_332 = + __objc_msgSend_332Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_substringToIndex_1 = objc.registerName("substringToIndex:"); + late final _sel_substringWithRange_1 = objc.registerName( + "substringWithRange:", + ); + ffi.Pointer _objc_msgSend_333( + ffi.Pointer obj, + ffi.Pointer sel, _NSRange range, ) { - return __objc_msgSend_333( - obj, - sel, - range, - ); + return __objc_msgSend_333(obj, sel, range); } late final __objc_msgSend_333Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, _NSRange)>>('objc_msgSend'); - late final __objc_msgSend_333 = __objc_msgSend_333Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer, _NSRange)>(); - - late final _sel_getCharacters_range_1 = - _registerName1("getCharacters:range:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_333 = + __objc_msgSend_333Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ) + >(); + + late final _sel_getCharacters_range_1 = objc.registerName( + "getCharacters:range:", + ); void _objc_msgSend_334( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ffi.Pointer buffer, _NSRange range, ) { - return __objc_msgSend_334( - obj, - sel, - buffer, - range, - ); + return __objc_msgSend_334(obj, sel, buffer, range); } late final __objc_msgSend_334Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, _NSRange)>>('objc_msgSend'); - late final __objc_msgSend_334 = __objc_msgSend_334Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, _NSRange)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_334 = + __objc_msgSend_334Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange, + ) + >(); int _objc_msgSend_335( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer string, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer string, ) { - return __objc_msgSend_335( - obj, - sel, - string, - ); + return __objc_msgSend_335(obj, sel, string); } late final __objc_msgSend_335Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_335 = __objc_msgSend_335Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_compare_options_1 = _registerName1("compare:options:"); + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_335 = + __objc_msgSend_335Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_compare_options_1 = objc.registerName("compare:options:"); int _objc_msgSend_336( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer string, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer string, int mask, ) { - return __objc_msgSend_336( - obj, - sel, - string, - mask, - ); + return __objc_msgSend_336(obj, sel, string, mask); } late final __objc_msgSend_336Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_336 = __objc_msgSend_336Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int)>(); - - late final _sel_compare_options_range_1 = - _registerName1("compare:options:range:"); + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_336 = + __objc_msgSend_336Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_compare_options_range_1 = objc.registerName( + "compare:options:range:", + ); int _objc_msgSend_337( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer string, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer string, int mask, _NSRange rangeOfReceiverToCompare, ) { - return __objc_msgSend_337( - obj, - sel, - string, - mask, - rangeOfReceiverToCompare, - ); + return __objc_msgSend_337(obj, sel, string, mask, rangeOfReceiverToCompare); } late final __objc_msgSend_337Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Int32, _NSRange)>>('objc_msgSend'); - late final __objc_msgSend_337 = __objc_msgSend_337Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int, _NSRange)>(); - - late final _sel_compare_options_range_locale_1 = - _registerName1("compare:options:range:locale:"); + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + _NSRange, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_337 = + __objc_msgSend_337Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + _NSRange, + ) + >(); + + late final _sel_compare_options_range_locale_1 = objc.registerName( + "compare:options:range:locale:", + ); int _objc_msgSend_338( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer string, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer string, int mask, _NSRange rangeOfReceiverToCompare, - ffi.Pointer locale, + ffi.Pointer locale, ) { return __objc_msgSend_338( obj, @@ -9248,166 +11624,217 @@ class AVFAudio { } late final __objc_msgSend_338Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + _NSRange, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_338 = + __objc_msgSend_338Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, _NSRange, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_338 = __objc_msgSend_338Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int, _NSRange, ffi.Pointer)>(); - - late final _sel_caseInsensitiveCompare_1 = - _registerName1("caseInsensitiveCompare:"); - late final _sel_localizedCompare_1 = _registerName1("localizedCompare:"); - late final _sel_localizedCaseInsensitiveCompare_1 = - _registerName1("localizedCaseInsensitiveCompare:"); - late final _sel_localizedStandardCompare_1 = - _registerName1("localizedStandardCompare:"); - late final _sel_isEqualToString_1 = _registerName1("isEqualToString:"); - late final _sel_hasPrefix_1 = _registerName1("hasPrefix:"); - late final _sel_hasSuffix_1 = _registerName1("hasSuffix:"); - late final _sel_commonPrefixWithString_options_1 = - _registerName1("commonPrefixWithString:options:"); - ffi.Pointer _objc_msgSend_339( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer str, + ffi.Pointer, + ) + >(); + + late final _sel_caseInsensitiveCompare_1 = objc.registerName( + "caseInsensitiveCompare:", + ); + late final _sel_localizedCompare_1 = objc.registerName("localizedCompare:"); + late final _sel_localizedCaseInsensitiveCompare_1 = objc.registerName( + "localizedCaseInsensitiveCompare:", + ); + late final _sel_localizedStandardCompare_1 = objc.registerName( + "localizedStandardCompare:", + ); + late final _sel_isEqualToString_1 = objc.registerName("isEqualToString:"); + late final _sel_hasPrefix_1 = objc.registerName("hasPrefix:"); + late final _sel_hasSuffix_1 = objc.registerName("hasSuffix:"); + late final _sel_commonPrefixWithString_options_1 = objc.registerName( + "commonPrefixWithString:options:", + ); + ffi.Pointer _objc_msgSend_339( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer str, int mask, ) { - return __objc_msgSend_339( - obj, - sel, - str, - mask, - ); + return __objc_msgSend_339(obj, sel, str, mask); } late final __objc_msgSend_339Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_339 = __objc_msgSend_339Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_containsString_1 = _registerName1("containsString:"); - late final _sel_localizedCaseInsensitiveContainsString_1 = - _registerName1("localizedCaseInsensitiveContainsString:"); - late final _sel_localizedStandardContainsString_1 = - _registerName1("localizedStandardContainsString:"); - late final _sel_localizedStandardRangeOfString_1 = - _registerName1("localizedStandardRangeOfString:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_339 = + __objc_msgSend_339Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_containsString_1 = objc.registerName("containsString:"); + late final _sel_localizedCaseInsensitiveContainsString_1 = objc.registerName( + "localizedCaseInsensitiveContainsString:", + ); + late final _sel_localizedStandardContainsString_1 = objc.registerName( + "localizedStandardContainsString:", + ); + late final _sel_localizedStandardRangeOfString_1 = objc.registerName( + "localizedStandardRangeOfString:", + ); _NSRange _objc_msgSend_340( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer str, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer str, ) { - return __objc_msgSend_340( - obj, - sel, - str, - ); + return __objc_msgSend_340(obj, sel, str); } late final __objc_msgSend_340Ptr = _lookup< - ffi.NativeFunction< - _NSRange Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_340 = __objc_msgSend_340Ptr.asFunction< - _NSRange Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); + ffi.NativeFunction< + _NSRange Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_340 = + __objc_msgSend_340Ptr + .asFunction< + _NSRange Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); void _objc_msgSend_340_stret( ffi.Pointer<_NSRange> stret, - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer str, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer str, ) { - return __objc_msgSend_340_stret( - stret, - obj, - sel, - str, - ); + return __objc_msgSend_340_stret(stret, obj, sel, str); } late final __objc_msgSend_340_stretPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer<_NSRange>, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend_stret'); + late final __objc_msgSend_340_stret = + __objc_msgSend_340_stretPtr + .asFunction< + void Function( ffi.Pointer<_NSRange>, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend_stret'); - late final __objc_msgSend_340_stret = __objc_msgSend_340_stretPtr.asFunction< - void Function(ffi.Pointer<_NSRange>, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_rangeOfString_1 = _registerName1("rangeOfString:"); - late final _sel_rangeOfString_options_1 = - _registerName1("rangeOfString:options:"); + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_rangeOfString_1 = objc.registerName("rangeOfString:"); + late final _sel_rangeOfString_options_1 = objc.registerName( + "rangeOfString:options:", + ); _NSRange _objc_msgSend_341( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer searchString, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer searchString, int mask, ) { - return __objc_msgSend_341( - obj, - sel, - searchString, - mask, - ); + return __objc_msgSend_341(obj, sel, searchString, mask); } late final __objc_msgSend_341Ptr = _lookup< - ffi.NativeFunction< - _NSRange Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_341 = __objc_msgSend_341Ptr.asFunction< - _NSRange Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int)>(); + ffi.NativeFunction< + _NSRange Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_341 = + __objc_msgSend_341Ptr + .asFunction< + _NSRange Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); void _objc_msgSend_341_stret( ffi.Pointer<_NSRange> stret, - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer searchString, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer searchString, int mask, ) { - return __objc_msgSend_341_stret( - stret, - obj, - sel, - searchString, - mask, - ); + return __objc_msgSend_341_stret(stret, obj, sel, searchString, mask); } late final __objc_msgSend_341_stretPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer<_NSRange>, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend_stret'); + late final __objc_msgSend_341_stret = + __objc_msgSend_341_stretPtr + .asFunction< + void Function( ffi.Pointer<_NSRange>, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32)>>('objc_msgSend_stret'); - late final __objc_msgSend_341_stret = __objc_msgSend_341_stretPtr.asFunction< - void Function(ffi.Pointer<_NSRange>, ffi.Pointer, - ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_rangeOfString_options_range_1 = - _registerName1("rangeOfString:options:range:"); + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_rangeOfString_options_range_1 = objc.registerName( + "rangeOfString:options:range:", + ); _NSRange _objc_msgSend_342( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer searchString, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer searchString, int mask, _NSRange rangeOfReceiverToSearch, ) { @@ -9421,18 +11848,33 @@ class AVFAudio { } late final __objc_msgSend_342Ptr = _lookup< - ffi.NativeFunction< - _NSRange Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Int32, _NSRange)>>('objc_msgSend'); - late final __objc_msgSend_342 = __objc_msgSend_342Ptr.asFunction< - _NSRange Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int, _NSRange)>(); + ffi.NativeFunction< + _NSRange Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + _NSRange, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_342 = + __objc_msgSend_342Ptr + .asFunction< + _NSRange Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + _NSRange, + ) + >(); void _objc_msgSend_342_stret( ffi.Pointer<_NSRange> stret, - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer searchString, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer searchString, int mask, _NSRange rangeOfReceiverToSearch, ) { @@ -9447,27 +11889,40 @@ class AVFAudio { } late final __objc_msgSend_342_stretPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer<_NSRange>, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + _NSRange, + ) + > + >('objc_msgSend_stret'); + late final __objc_msgSend_342_stret = + __objc_msgSend_342_stretPtr + .asFunction< + void Function( ffi.Pointer<_NSRange>, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - _NSRange)>>('objc_msgSend_stret'); - late final __objc_msgSend_342_stret = __objc_msgSend_342_stretPtr.asFunction< - void Function(ffi.Pointer<_NSRange>, ffi.Pointer, - ffi.Pointer, ffi.Pointer, int, _NSRange)>(); - - late final _sel_rangeOfString_options_range_locale_1 = - _registerName1("rangeOfString:options:range:locale:"); + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + _NSRange, + ) + >(); + + late final _sel_rangeOfString_options_range_locale_1 = objc.registerName( + "rangeOfString:options:range:locale:", + ); _NSRange _objc_msgSend_343( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer searchString, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer searchString, int mask, _NSRange rangeOfReceiverToSearch, - ffi.Pointer locale, + ffi.Pointer locale, ) { return __objc_msgSend_343( obj, @@ -9480,26 +11935,38 @@ class AVFAudio { } late final __objc_msgSend_343Ptr = _lookup< - ffi.NativeFunction< - _NSRange Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, + ffi.NativeFunction< + _NSRange Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + _NSRange, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_343 = + __objc_msgSend_343Ptr + .asFunction< + _NSRange Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, _NSRange, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_343 = __objc_msgSend_343Ptr.asFunction< - _NSRange Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int, _NSRange, ffi.Pointer)>(); + ffi.Pointer, + ) + >(); void _objc_msgSend_343_stret( ffi.Pointer<_NSRange> stret, - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer searchString, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer searchString, int mask, _NSRange rangeOfReceiverToSearch, - ffi.Pointer locale, + ffi.Pointer locale, ) { return __objc_msgSend_343_stret( stret, @@ -9513,130 +11980,165 @@ class AVFAudio { } late final __objc_msgSend_343_stretPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer<_NSRange>, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + _NSRange, + ffi.Pointer, + ) + > + >('objc_msgSend_stret'); + late final __objc_msgSend_343_stret = + __objc_msgSend_343_stretPtr + .asFunction< + void Function( ffi.Pointer<_NSRange>, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, _NSRange, - ffi.Pointer)>>('objc_msgSend_stret'); - late final __objc_msgSend_343_stret = __objc_msgSend_343_stretPtr.asFunction< - void Function( - ffi.Pointer<_NSRange>, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - _NSRange, - ffi.Pointer)>(); + ffi.Pointer, + ) + >(); - late final _sel_rangeOfCharacterFromSet_1 = - _registerName1("rangeOfCharacterFromSet:"); + late final _sel_rangeOfCharacterFromSet_1 = objc.registerName( + "rangeOfCharacterFromSet:", + ); _NSRange _objc_msgSend_344( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer searchSet, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer searchSet, ) { - return __objc_msgSend_344( - obj, - sel, - searchSet, - ); + return __objc_msgSend_344(obj, sel, searchSet); } late final __objc_msgSend_344Ptr = _lookup< - ffi.NativeFunction< - _NSRange Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_344 = __objc_msgSend_344Ptr.asFunction< - _NSRange Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); + ffi.NativeFunction< + _NSRange Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_344 = + __objc_msgSend_344Ptr + .asFunction< + _NSRange Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); void _objc_msgSend_344_stret( ffi.Pointer<_NSRange> stret, - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer searchSet, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer searchSet, ) { - return __objc_msgSend_344_stret( - stret, - obj, - sel, - searchSet, - ); + return __objc_msgSend_344_stret(stret, obj, sel, searchSet); } late final __objc_msgSend_344_stretPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer<_NSRange>, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend_stret'); + late final __objc_msgSend_344_stret = + __objc_msgSend_344_stretPtr + .asFunction< + void Function( ffi.Pointer<_NSRange>, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend_stret'); - late final __objc_msgSend_344_stret = __objc_msgSend_344_stretPtr.asFunction< - void Function(ffi.Pointer<_NSRange>, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_rangeOfCharacterFromSet_options_1 = - _registerName1("rangeOfCharacterFromSet:options:"); + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_rangeOfCharacterFromSet_options_1 = objc.registerName( + "rangeOfCharacterFromSet:options:", + ); _NSRange _objc_msgSend_345( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer searchSet, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer searchSet, int mask, - ) { - return __objc_msgSend_345( - obj, - sel, - searchSet, - mask, - ); + ) { + return __objc_msgSend_345(obj, sel, searchSet, mask); } late final __objc_msgSend_345Ptr = _lookup< - ffi.NativeFunction< - _NSRange Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_345 = __objc_msgSend_345Ptr.asFunction< - _NSRange Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int)>(); + ffi.NativeFunction< + _NSRange Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_345 = + __objc_msgSend_345Ptr + .asFunction< + _NSRange Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); void _objc_msgSend_345_stret( ffi.Pointer<_NSRange> stret, - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer searchSet, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer searchSet, int mask, ) { - return __objc_msgSend_345_stret( - stret, - obj, - sel, - searchSet, - mask, - ); + return __objc_msgSend_345_stret(stret, obj, sel, searchSet, mask); } late final __objc_msgSend_345_stretPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer<_NSRange>, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend_stret'); + late final __objc_msgSend_345_stret = + __objc_msgSend_345_stretPtr + .asFunction< + void Function( ffi.Pointer<_NSRange>, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32)>>('objc_msgSend_stret'); - late final __objc_msgSend_345_stret = __objc_msgSend_345_stretPtr.asFunction< - void Function(ffi.Pointer<_NSRange>, ffi.Pointer, - ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_rangeOfCharacterFromSet_options_range_1 = - _registerName1("rangeOfCharacterFromSet:options:range:"); + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_rangeOfCharacterFromSet_options_range_1 = objc.registerName( + "rangeOfCharacterFromSet:options:range:", + ); _NSRange _objc_msgSend_346( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer searchSet, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer searchSet, int mask, _NSRange rangeOfReceiverToSearch, ) { @@ -9650,18 +12152,33 @@ class AVFAudio { } late final __objc_msgSend_346Ptr = _lookup< - ffi.NativeFunction< - _NSRange Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Int32, _NSRange)>>('objc_msgSend'); - late final __objc_msgSend_346 = __objc_msgSend_346Ptr.asFunction< - _NSRange Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int, _NSRange)>(); + ffi.NativeFunction< + _NSRange Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + _NSRange, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_346 = + __objc_msgSend_346Ptr + .asFunction< + _NSRange Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + _NSRange, + ) + >(); void _objc_msgSend_346_stret( ffi.Pointer<_NSRange> stret, - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer searchSet, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer searchSet, int mask, _NSRange rangeOfReceiverToSearch, ) { @@ -9676,149 +12193,209 @@ class AVFAudio { } late final __objc_msgSend_346_stretPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer<_NSRange>, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + _NSRange, + ) + > + >('objc_msgSend_stret'); + late final __objc_msgSend_346_stret = + __objc_msgSend_346_stretPtr + .asFunction< + void Function( ffi.Pointer<_NSRange>, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - _NSRange)>>('objc_msgSend_stret'); - late final __objc_msgSend_346_stret = __objc_msgSend_346_stretPtr.asFunction< - void Function(ffi.Pointer<_NSRange>, ffi.Pointer, - ffi.Pointer, ffi.Pointer, int, _NSRange)>(); - - late final _sel_rangeOfComposedCharacterSequenceAtIndex_1 = - _registerName1("rangeOfComposedCharacterSequenceAtIndex:"); + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + _NSRange, + ) + >(); + + late final _sel_rangeOfComposedCharacterSequenceAtIndex_1 = objc.registerName( + "rangeOfComposedCharacterSequenceAtIndex:", + ); _NSRange _objc_msgSend_347( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int index, ) { - return __objc_msgSend_347( - obj, - sel, - index, - ); + return __objc_msgSend_347(obj, sel, index); } late final __objc_msgSend_347Ptr = _lookup< - ffi.NativeFunction< - _NSRange Function(ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong)>>('objc_msgSend'); - late final __objc_msgSend_347 = __objc_msgSend_347Ptr.asFunction< - _NSRange Function(ffi.Pointer, ffi.Pointer, int)>(); + ffi.NativeFunction< + _NSRange Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_347 = + __objc_msgSend_347Ptr + .asFunction< + _NSRange Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); void _objc_msgSend_347_stret( ffi.Pointer<_NSRange> stret, - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int index, ) { - return __objc_msgSend_347_stret( - stret, - obj, - sel, - index, - ); + return __objc_msgSend_347_stret(stret, obj, sel, index); } late final __objc_msgSend_347_stretPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer<_NSRange>, ffi.Pointer, - ffi.Pointer, ffi.UnsignedLong)>>('objc_msgSend_stret'); - late final __objc_msgSend_347_stret = __objc_msgSend_347_stretPtr.asFunction< - void Function(ffi.Pointer<_NSRange>, ffi.Pointer, - ffi.Pointer, int)>(); - - late final _sel_rangeOfComposedCharacterSequencesForRange_1 = - _registerName1("rangeOfComposedCharacterSequencesForRange:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer<_NSRange>, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + > + >('objc_msgSend_stret'); + late final __objc_msgSend_347_stret = + __objc_msgSend_347_stretPtr + .asFunction< + void Function( + ffi.Pointer<_NSRange>, + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_rangeOfComposedCharacterSequencesForRange_1 = objc + .registerName("rangeOfComposedCharacterSequencesForRange:"); _NSRange _objc_msgSend_348( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, _NSRange range, ) { - return __objc_msgSend_348( - obj, - sel, - range, - ); + return __objc_msgSend_348(obj, sel, range); } late final __objc_msgSend_348Ptr = _lookup< - ffi.NativeFunction< - _NSRange Function(ffi.Pointer, ffi.Pointer, - _NSRange)>>('objc_msgSend'); - late final __objc_msgSend_348 = __objc_msgSend_348Ptr.asFunction< + ffi.NativeFunction< _NSRange Function( - ffi.Pointer, ffi.Pointer, _NSRange)>(); + ffi.Pointer, + ffi.Pointer, + _NSRange, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_348 = + __objc_msgSend_348Ptr + .asFunction< + _NSRange Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ) + >(); void _objc_msgSend_348_stret( ffi.Pointer<_NSRange> stret, - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, _NSRange range, ) { - return __objc_msgSend_348_stret( - stret, - obj, - sel, - range, - ); + return __objc_msgSend_348_stret(stret, obj, sel, range); } late final __objc_msgSend_348_stretPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer<_NSRange>, ffi.Pointer, - ffi.Pointer, _NSRange)>>('objc_msgSend_stret'); - late final __objc_msgSend_348_stret = __objc_msgSend_348_stretPtr.asFunction< - void Function(ffi.Pointer<_NSRange>, ffi.Pointer, - ffi.Pointer, _NSRange)>(); - - late final _sel_stringByAppendingString_1 = - _registerName1("stringByAppendingString:"); - late final _sel_stringByAppendingFormat_1 = - _registerName1("stringByAppendingFormat:"); - late final _sel_uppercaseString1 = _registerName1("uppercaseString"); - late final _sel_lowercaseString1 = _registerName1("lowercaseString"); - late final _sel_capitalizedString1 = _registerName1("capitalizedString"); - late final _sel_localizedUppercaseString1 = - _registerName1("localizedUppercaseString"); - late final _sel_localizedLowercaseString1 = - _registerName1("localizedLowercaseString"); - late final _sel_localizedCapitalizedString1 = - _registerName1("localizedCapitalizedString"); - late final _sel_uppercaseStringWithLocale_1 = - _registerName1("uppercaseStringWithLocale:"); - ffi.Pointer _objc_msgSend_349( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer locale, - ) { - return __objc_msgSend_349( - obj, - sel, - locale, - ); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer<_NSRange>, + ffi.Pointer, + ffi.Pointer, + _NSRange, + ) + > + >('objc_msgSend_stret'); + late final __objc_msgSend_348_stret = + __objc_msgSend_348_stretPtr + .asFunction< + void Function( + ffi.Pointer<_NSRange>, + ffi.Pointer, + ffi.Pointer, + _NSRange, + ) + >(); + + late final _sel_stringByAppendingString_1 = objc.registerName( + "stringByAppendingString:", + ); + late final _sel_stringByAppendingFormat_1 = objc.registerName( + "stringByAppendingFormat:", + ); + late final _sel_uppercaseString1 = objc.registerName("uppercaseString"); + late final _sel_lowercaseString1 = objc.registerName("lowercaseString"); + late final _sel_capitalizedString1 = objc.registerName("capitalizedString"); + late final _sel_localizedUppercaseString1 = objc.registerName( + "localizedUppercaseString", + ); + late final _sel_localizedLowercaseString1 = objc.registerName( + "localizedLowercaseString", + ); + late final _sel_localizedCapitalizedString1 = objc.registerName( + "localizedCapitalizedString", + ); + late final _sel_uppercaseStringWithLocale_1 = objc.registerName( + "uppercaseStringWithLocale:", + ); + ffi.Pointer _objc_msgSend_349( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer locale, + ) { + return __objc_msgSend_349(obj, sel, locale); } late final __objc_msgSend_349Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_349 = __objc_msgSend_349Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_lowercaseStringWithLocale_1 = - _registerName1("lowercaseStringWithLocale:"); - late final _sel_capitalizedStringWithLocale_1 = - _registerName1("capitalizedStringWithLocale:"); - late final _sel_getLineStart_end_contentsEnd_forRange_1 = - _registerName1("getLineStart:end:contentsEnd:forRange:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_349 = + __objc_msgSend_349Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_lowercaseStringWithLocale_1 = objc.registerName( + "lowercaseStringWithLocale:", + ); + late final _sel_capitalizedStringWithLocale_1 = objc.registerName( + "capitalizedStringWithLocale:", + ); + late final _sel_getLineStart_end_contentsEnd_forRange_1 = objc.registerName( + "getLineStart:end:contentsEnd:forRange:", + ); void _objc_msgSend_350( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ffi.Pointer startPtr, ffi.Pointer lineEndPtr, ffi.Pointer contentsEndPtr, @@ -9835,167 +12412,214 @@ class AVFAudio { } late final __objc_msgSend_350Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_350 = + __objc_msgSend_350Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - _NSRange)>>('objc_msgSend'); - late final __objc_msgSend_350 = __objc_msgSend_350Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - _NSRange)>(); - - late final _sel_lineRangeForRange_1 = _registerName1("lineRangeForRange:"); - late final _sel_getParagraphStart_end_contentsEnd_forRange_1 = - _registerName1("getParagraphStart:end:contentsEnd:forRange:"); - late final _sel_paragraphRangeForRange_1 = - _registerName1("paragraphRangeForRange:"); - late final _sel_enumerateSubstringsInRange_options_usingBlock_1 = - _registerName1("enumerateSubstringsInRange:options:usingBlock:"); + _NSRange, + ) + >(); + + late final _sel_lineRangeForRange_1 = objc.registerName("lineRangeForRange:"); + late final _sel_getParagraphStart_end_contentsEnd_forRange_1 = objc + .registerName("getParagraphStart:end:contentsEnd:forRange:"); + late final _sel_paragraphRangeForRange_1 = objc.registerName( + "paragraphRangeForRange:", + ); + late final _sel_enumerateSubstringsInRange_options_usingBlock_1 = objc + .registerName("enumerateSubstringsInRange:options:usingBlock:"); void _objc_msgSend_351( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, _NSRange range, int opts, - ffi.Pointer<_ObjCBlock> block, + ffi.Pointer block, ) { - return __objc_msgSend_351( - obj, - sel, - range, - opts, - block, - ); + return __objc_msgSend_351(obj, sel, range, opts, block); } late final __objc_msgSend_351Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - _NSRange, ffi.Int32, ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_351 = __objc_msgSend_351Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, _NSRange, - int, ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_enumerateLinesUsingBlock_1 = - _registerName1("enumerateLinesUsingBlock:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Int32, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_351 = + __objc_msgSend_351Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + int, + ffi.Pointer, + ) + >(); + + late final _sel_enumerateLinesUsingBlock_1 = objc.registerName( + "enumerateLinesUsingBlock:", + ); void _objc_msgSend_352( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer<_ObjCBlock> block, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer block, ) { - return __objc_msgSend_352( - obj, - sel, - block, - ); + return __objc_msgSend_352(obj, sel, block); } late final __objc_msgSend_352Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_352 = __objc_msgSend_352Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_UTF8String1 = _registerName1("UTF8String"); - late final _sel_fastestEncoding1 = _registerName1("fastestEncoding"); - late final _sel_smallestEncoding1 = _registerName1("smallestEncoding"); - late final _sel_dataUsingEncoding_allowLossyConversion_1 = - _registerName1("dataUsingEncoding:allowLossyConversion:"); - ffi.Pointer _objc_msgSend_353( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_352 = + __objc_msgSend_352Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_UTF8String1 = objc.registerName("UTF8String"); + late final _sel_fastestEncoding1 = objc.registerName("fastestEncoding"); + late final _sel_smallestEncoding1 = objc.registerName("smallestEncoding"); + late final _sel_dataUsingEncoding_allowLossyConversion_1 = objc.registerName( + "dataUsingEncoding:allowLossyConversion:", + ); + ffi.Pointer _objc_msgSend_353( + ffi.Pointer obj, + ffi.Pointer sel, int encoding, bool lossy, ) { - return __objc_msgSend_353( - obj, - sel, - encoding, - lossy, - ); + return __objc_msgSend_353(obj, sel, encoding, lossy); } late final __objc_msgSend_353Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ffi.Bool)>>('objc_msgSend'); - late final __objc_msgSend_353 = __objc_msgSend_353Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer, int, bool)>(); - - late final _sel_dataUsingEncoding_1 = _registerName1("dataUsingEncoding:"); - ffi.Pointer _objc_msgSend_354( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Bool, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_353 = + __objc_msgSend_353Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + bool, + ) + >(); + + late final _sel_dataUsingEncoding_1 = objc.registerName("dataUsingEncoding:"); + ffi.Pointer _objc_msgSend_354( + ffi.Pointer obj, + ffi.Pointer sel, int encoding, ) { - return __objc_msgSend_354( - obj, - sel, - encoding, - ); + return __objc_msgSend_354(obj, sel, encoding); } late final __objc_msgSend_354Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.UnsignedLong)>>('objc_msgSend'); - late final __objc_msgSend_354 = __objc_msgSend_354Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_canBeConvertedToEncoding_1 = - _registerName1("canBeConvertedToEncoding:"); - late final _sel_cStringUsingEncoding_1 = - _registerName1("cStringUsingEncoding:"); - late final _sel_getCString_maxLength_encoding_1 = - _registerName1("getCString:maxLength:encoding:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_354 = + __objc_msgSend_354Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_canBeConvertedToEncoding_1 = objc.registerName( + "canBeConvertedToEncoding:", + ); + late final _sel_cStringUsingEncoding_1 = objc.registerName( + "cStringUsingEncoding:", + ); + late final _sel_getCString_maxLength_encoding_1 = objc.registerName( + "getCString:maxLength:encoding:", + ); bool _objc_msgSend_355( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ffi.Pointer buffer, int maxBufferCount, int encoding, ) { - return __objc_msgSend_355( - obj, - sel, - buffer, - maxBufferCount, - encoding, - ); + return __objc_msgSend_355(obj, sel, buffer, maxBufferCount, encoding); } late final __objc_msgSend_355Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_355 = + __objc_msgSend_355Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, - ffi.UnsignedLong)>>('objc_msgSend'); - late final __objc_msgSend_355 = __objc_msgSend_355Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int, int)>(); + int, + int, + ) + >(); late final _sel_getBytes_maxLength_usedLength_encoding_options_range_remainingRange_1 = - _registerName1( - "getBytes:maxLength:usedLength:encoding:options:range:remainingRange:"); + objc.registerName( + "getBytes:maxLength:usedLength:encoding:options:range:remainingRange:", + ); bool _objc_msgSend_356( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ffi.Pointer buffer, int maxBufferCount, ffi.Pointer usedBufferCount, @@ -10018,196 +12642,253 @@ class AVFAudio { } late final __objc_msgSend_356Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Int32, + _NSRange, + ffi.Pointer<_NSRange>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_356 = + __objc_msgSend_356Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, + int, ffi.Pointer, - ffi.UnsignedLong, - ffi.Int32, + int, + int, _NSRange, - ffi.Pointer<_NSRange>)>>('objc_msgSend'); - late final __objc_msgSend_356 = __objc_msgSend_356Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - int, - int, - _NSRange, - ffi.Pointer<_NSRange>)>(); - - late final _sel_maximumLengthOfBytesUsingEncoding_1 = - _registerName1("maximumLengthOfBytesUsingEncoding:"); - late final _sel_lengthOfBytesUsingEncoding_1 = - _registerName1("lengthOfBytesUsingEncoding:"); - late final _sel_availableStringEncodings1 = - _registerName1("availableStringEncodings"); + ffi.Pointer<_NSRange>, + ) + >(); + + late final _sel_maximumLengthOfBytesUsingEncoding_1 = objc.registerName( + "maximumLengthOfBytesUsingEncoding:", + ); + late final _sel_lengthOfBytesUsingEncoding_1 = objc.registerName( + "lengthOfBytesUsingEncoding:", + ); + late final _sel_availableStringEncodings1 = objc.registerName( + "availableStringEncodings", + ); ffi.Pointer _objc_msgSend_357( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_357( - obj, - sel, - ); + return __objc_msgSend_357(obj, sel); } late final __objc_msgSend_357Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_357 = __objc_msgSend_357Ptr.asFunction< + ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_localizedNameOfStringEncoding_1 = - _registerName1("localizedNameOfStringEncoding:"); - late final _sel_defaultCStringEncoding1 = - _registerName1("defaultCStringEncoding"); - late final _sel_decomposedStringWithCanonicalMapping1 = - _registerName1("decomposedStringWithCanonicalMapping"); - late final _sel_precomposedStringWithCanonicalMapping1 = - _registerName1("precomposedStringWithCanonicalMapping"); - late final _sel_decomposedStringWithCompatibilityMapping1 = - _registerName1("decomposedStringWithCompatibilityMapping"); - late final _sel_precomposedStringWithCompatibilityMapping1 = - _registerName1("precomposedStringWithCompatibilityMapping"); - late final _sel_componentsSeparatedByString_1 = - _registerName1("componentsSeparatedByString:"); - ffi.Pointer _objc_msgSend_358( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer separator, - ) { - return __objc_msgSend_358( - obj, - sel, - separator, - ); + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_357 = + __objc_msgSend_357Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_localizedNameOfStringEncoding_1 = objc.registerName( + "localizedNameOfStringEncoding:", + ); + late final _sel_defaultCStringEncoding1 = objc.registerName( + "defaultCStringEncoding", + ); + late final _sel_decomposedStringWithCanonicalMapping1 = objc.registerName( + "decomposedStringWithCanonicalMapping", + ); + late final _sel_precomposedStringWithCanonicalMapping1 = objc.registerName( + "precomposedStringWithCanonicalMapping", + ); + late final _sel_decomposedStringWithCompatibilityMapping1 = objc.registerName( + "decomposedStringWithCompatibilityMapping", + ); + late final _sel_precomposedStringWithCompatibilityMapping1 = objc + .registerName("precomposedStringWithCompatibilityMapping"); + late final _sel_componentsSeparatedByString_1 = objc.registerName( + "componentsSeparatedByString:", + ); + ffi.Pointer _objc_msgSend_358( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer separator, + ) { + return __objc_msgSend_358(obj, sel, separator); } late final __objc_msgSend_358Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_358 = __objc_msgSend_358Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_componentsSeparatedByCharactersInSet_1 = - _registerName1("componentsSeparatedByCharactersInSet:"); - ffi.Pointer _objc_msgSend_359( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer separator, - ) { - return __objc_msgSend_359( - obj, - sel, - separator, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_358 = + __objc_msgSend_358Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_componentsSeparatedByCharactersInSet_1 = objc.registerName( + "componentsSeparatedByCharactersInSet:", + ); + ffi.Pointer _objc_msgSend_359( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer separator, + ) { + return __objc_msgSend_359(obj, sel, separator); } late final __objc_msgSend_359Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_359 = __objc_msgSend_359Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_stringByTrimmingCharactersInSet_1 = - _registerName1("stringByTrimmingCharactersInSet:"); - ffi.Pointer _objc_msgSend_360( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer set1, - ) { - return __objc_msgSend_360( - obj, - sel, - set1, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_359 = + __objc_msgSend_359Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_stringByTrimmingCharactersInSet_1 = objc.registerName( + "stringByTrimmingCharactersInSet:", + ); + ffi.Pointer _objc_msgSend_360( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer set1, + ) { + return __objc_msgSend_360(obj, sel, set1); } late final __objc_msgSend_360Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_360 = __objc_msgSend_360Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_stringByPaddingToLength_withString_startingAtIndex_1 = - _registerName1("stringByPaddingToLength:withString:startingAtIndex:"); - ffi.Pointer _objc_msgSend_361( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_360 = + __objc_msgSend_360Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_stringByPaddingToLength_withString_startingAtIndex_1 = objc + .registerName("stringByPaddingToLength:withString:startingAtIndex:"); + ffi.Pointer _objc_msgSend_361( + ffi.Pointer obj, + ffi.Pointer sel, int newLength, - ffi.Pointer padString, + ffi.Pointer padString, int padIndex, ) { - return __objc_msgSend_361( - obj, - sel, - newLength, - padString, - padIndex, - ); + return __objc_msgSend_361(obj, sel, newLength, padString, padIndex); } late final __objc_msgSend_361Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer, - ffi.UnsignedLong)>>('objc_msgSend'); - late final __objc_msgSend_361 = __objc_msgSend_361Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, int, ffi.Pointer, int)>(); - - late final _sel_stringByFoldingWithOptions_locale_1 = - _registerName1("stringByFoldingWithOptions:locale:"); - ffi.Pointer _objc_msgSend_362( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_361 = + __objc_msgSend_361Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + int, + ) + >(); + + late final _sel_stringByFoldingWithOptions_locale_1 = objc.registerName( + "stringByFoldingWithOptions:locale:", + ); + ffi.Pointer _objc_msgSend_362( + ffi.Pointer obj, + ffi.Pointer sel, int options, - ffi.Pointer locale, + ffi.Pointer locale, ) { - return __objc_msgSend_362( - obj, - sel, - options, - locale, - ); + return __objc_msgSend_362(obj, sel, options, locale); } late final __objc_msgSend_362Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_362 = __objc_msgSend_362Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, int, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_362 = + __objc_msgSend_362Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ) + >(); late final _sel_stringByReplacingOccurrencesOfString_withString_options_range_1 = - _registerName1( - "stringByReplacingOccurrencesOfString:withString:options:range:"); - ffi.Pointer _objc_msgSend_363( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer target, - ffi.Pointer replacement, + objc.registerName( + "stringByReplacingOccurrencesOfString:withString:options:range:", + ); + ffi.Pointer _objc_msgSend_363( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer target, + ffi.Pointer replacement, int options, _NSRange searchRange, ) { @@ -10222,425 +12903,488 @@ class AVFAudio { } late final __objc_msgSend_363Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - _NSRange)>>('objc_msgSend'); - late final __objc_msgSend_363 = __objc_msgSend_363Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - _NSRange)>(); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + _NSRange, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_363 = + __objc_msgSend_363Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + _NSRange, + ) + >(); - late final _sel_stringByReplacingOccurrencesOfString_withString_1 = - _registerName1("stringByReplacingOccurrencesOfString:withString:"); - ffi.Pointer _objc_msgSend_364( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer target, - ffi.Pointer replacement, + late final _sel_stringByReplacingOccurrencesOfString_withString_1 = objc + .registerName("stringByReplacingOccurrencesOfString:withString:"); + ffi.Pointer _objc_msgSend_364( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer target, + ffi.Pointer replacement, ) { - return __objc_msgSend_364( - obj, - sel, - target, - replacement, - ); + return __objc_msgSend_364(obj, sel, target, replacement); } late final __objc_msgSend_364Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_364 = __objc_msgSend_364Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_stringByReplacingCharactersInRange_withString_1 = - _registerName1("stringByReplacingCharactersInRange:withString:"); - ffi.Pointer _objc_msgSend_365( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_364 = + __objc_msgSend_364Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_stringByReplacingCharactersInRange_withString_1 = objc + .registerName("stringByReplacingCharactersInRange:withString:"); + ffi.Pointer _objc_msgSend_365( + ffi.Pointer obj, + ffi.Pointer sel, _NSRange range, - ffi.Pointer replacement, + ffi.Pointer replacement, ) { - return __objc_msgSend_365( - obj, - sel, - range, - replacement, - ); + return __objc_msgSend_365(obj, sel, range, replacement); } late final __objc_msgSend_365Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_365 = + __objc_msgSend_365Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, _NSRange, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_365 = __objc_msgSend_365Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, _NSRange, ffi.Pointer)>(); - - late final _sel_stringByApplyingTransform_reverse_1 = - _registerName1("stringByApplyingTransform:reverse:"); - ffi.Pointer _objc_msgSend_366( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer transform, + ffi.Pointer, + ) + >(); + + late final _sel_stringByApplyingTransform_reverse_1 = objc.registerName( + "stringByApplyingTransform:reverse:", + ); + ffi.Pointer _objc_msgSend_366( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer transform, bool reverse, ) { - return __objc_msgSend_366( - obj, - sel, - transform, - reverse, - ); + return __objc_msgSend_366(obj, sel, transform, reverse); } late final __objc_msgSend_366Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Bool)>>('objc_msgSend'); - late final __objc_msgSend_366 = __objc_msgSend_366Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer, bool)>(); - - late final _sel_writeToURL_atomically_encoding_error_1 = - _registerName1("writeToURL:atomically:encoding:error:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_366 = + __objc_msgSend_366Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool, + ) + >(); + + late final _sel_writeToURL_atomically_encoding_error_1 = objc.registerName( + "writeToURL:atomically:encoding:error:", + ); bool _objc_msgSend_367( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer url, bool useAuxiliaryFile, int enc, - ffi.Pointer> error, + ffi.Pointer> error, ) { - return __objc_msgSend_367( - obj, - sel, - url, - useAuxiliaryFile, - enc, - error, - ); + return __objc_msgSend_367(obj, sel, url, useAuxiliaryFile, enc, error); } late final __objc_msgSend_367Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - ffi.UnsignedLong, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_367 = __objc_msgSend_367Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - int, - ffi.Pointer>)>(); - - late final _sel_writeToFile_atomically_encoding_error_1 = - _registerName1("writeToFile:atomically:encoding:error:"); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.UnsignedLong, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_367 = + __objc_msgSend_367Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool, + int, + ffi.Pointer>, + ) + >(); + + late final _sel_writeToFile_atomically_encoding_error_1 = objc.registerName( + "writeToFile:atomically:encoding:error:", + ); bool _objc_msgSend_368( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer path, bool useAuxiliaryFile, int enc, - ffi.Pointer> error, + ffi.Pointer> error, ) { - return __objc_msgSend_368( - obj, - sel, - path, - useAuxiliaryFile, - enc, - error, - ); + return __objc_msgSend_368(obj, sel, path, useAuxiliaryFile, enc, error); } late final __objc_msgSend_368Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - ffi.UnsignedLong, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_368 = __objc_msgSend_368Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - int, - ffi.Pointer>)>(); - - late final _sel_hash1 = _registerName1("hash"); - late final _sel_initWithCharactersNoCopy_length_freeWhenDone_1 = - _registerName1("initWithCharactersNoCopy:length:freeWhenDone:"); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.UnsignedLong, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_368 = + __objc_msgSend_368Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool, + int, + ffi.Pointer>, + ) + >(); + + late final _sel_hash1 = objc.registerName("hash"); + late final _sel_initWithCharactersNoCopy_length_freeWhenDone_1 = objc + .registerName("initWithCharactersNoCopy:length:freeWhenDone:"); instancetype _objc_msgSend_369( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ffi.Pointer characters, int length, bool freeBuffer, ) { - return __objc_msgSend_369( - obj, - sel, - characters, - length, - freeBuffer, - ); + return __objc_msgSend_369(obj, sel, characters, length, freeBuffer); } late final __objc_msgSend_369Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Bool, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_369 = + __objc_msgSend_369Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, - ffi.Bool)>>('objc_msgSend'); - late final __objc_msgSend_369 = __objc_msgSend_369Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int, bool)>(); - - late final _sel_initWithCharactersNoCopy_length_deallocator_1 = - _registerName1("initWithCharactersNoCopy:length:deallocator:"); + int, + bool, + ) + >(); + + late final _sel_initWithCharactersNoCopy_length_deallocator_1 = objc + .registerName("initWithCharactersNoCopy:length:deallocator:"); instancetype _objc_msgSend_370( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ffi.Pointer chars, int len, - ffi.Pointer<_ObjCBlock> deallocator, + ffi.Pointer deallocator, ) { - return __objc_msgSend_370( - obj, - sel, - chars, - len, - deallocator, - ); + return __objc_msgSend_370(obj, sel, chars, len, deallocator); } late final __objc_msgSend_370Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_370 = + __objc_msgSend_370Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_370 = __objc_msgSend_370Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int, ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_initWithCharacters_length_1 = - _registerName1("initWithCharacters:length:"); + int, + ffi.Pointer, + ) + >(); + + late final _sel_initWithCharacters_length_1 = objc.registerName( + "initWithCharacters:length:", + ); instancetype _objc_msgSend_371( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ffi.Pointer characters, int length, ) { - return __objc_msgSend_371( - obj, - sel, - characters, - length, - ); + return __objc_msgSend_371(obj, sel, characters, length); } late final __objc_msgSend_371Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_371 = + __objc_msgSend_371Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong)>>('objc_msgSend'); - late final __objc_msgSend_371 = __objc_msgSend_371Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int)>(); + int, + ) + >(); - late final _sel_initWithUTF8String_1 = _registerName1("initWithUTF8String:"); + late final _sel_initWithUTF8String_1 = objc.registerName( + "initWithUTF8String:", + ); instancetype _objc_msgSend_372( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ffi.Pointer nullTerminatedCString, ) { - return __objc_msgSend_372( - obj, - sel, - nullTerminatedCString, - ); + return __objc_msgSend_372(obj, sel, nullTerminatedCString); } late final __objc_msgSend_372Ptr = _lookup< - ffi.NativeFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_372 = __objc_msgSend_372Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_initWithFormat_1 = _registerName1("initWithFormat:"); - late final _sel_initWithFormat_arguments_1 = - _registerName1("initWithFormat:arguments:"); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_372 = + __objc_msgSend_372Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_initWithFormat_1 = objc.registerName("initWithFormat:"); + late final _sel_initWithFormat_arguments_1 = objc.registerName( + "initWithFormat:arguments:", + ); instancetype _objc_msgSend_373( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer format, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer format, ffi.Pointer<__va_list_tag> argList, ) { - return __objc_msgSend_373( - obj, - sel, - format, - argList, - ); + return __objc_msgSend_373(obj, sel, format, argList); } late final __objc_msgSend_373Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<__va_list_tag>)>>('objc_msgSend'); - late final __objc_msgSend_373 = __objc_msgSend_373Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer<__va_list_tag>)>(); - - late final _sel_initWithFormat_locale_1 = - _registerName1("initWithFormat:locale:"); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<__va_list_tag>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_373 = + __objc_msgSend_373Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<__va_list_tag>, + ) + >(); + + late final _sel_initWithFormat_locale_1 = objc.registerName( + "initWithFormat:locale:", + ); instancetype _objc_msgSend_374( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer format, - ffi.Pointer locale, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer format, + ffi.Pointer locale, ) { - return __objc_msgSend_374( - obj, - sel, - format, - locale, - ); + return __objc_msgSend_374(obj, sel, format, locale); } late final __objc_msgSend_374Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_374 = __objc_msgSend_374Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_initWithFormat_locale_arguments_1 = - _registerName1("initWithFormat:locale:arguments:"); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_374 = + __objc_msgSend_374Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_initWithFormat_locale_arguments_1 = objc.registerName( + "initWithFormat:locale:arguments:", + ); instancetype _objc_msgSend_375( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer format, - ffi.Pointer locale, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer format, + ffi.Pointer locale, ffi.Pointer<__va_list_tag> argList, ) { - return __objc_msgSend_375( - obj, - sel, - format, - locale, - argList, - ); + return __objc_msgSend_375(obj, sel, format, locale, argList); } late final __objc_msgSend_375Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<__va_list_tag>)>>('objc_msgSend'); - late final __objc_msgSend_375 = __objc_msgSend_375Ptr.asFunction< + ffi.NativeFunction< instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<__va_list_tag>)>(); - - late final _sel_initWithValidatedFormat_validFormatSpecifiers_error_1 = - _registerName1("initWithValidatedFormat:validFormatSpecifiers:error:"); + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<__va_list_tag>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_375 = + __objc_msgSend_375Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<__va_list_tag>, + ) + >(); + + late final _sel_initWithValidatedFormat_validFormatSpecifiers_error_1 = objc + .registerName("initWithValidatedFormat:validFormatSpecifiers:error:"); instancetype _objc_msgSend_376( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer format, - ffi.Pointer validFormatSpecifiers, - ffi.Pointer> error, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer format, + ffi.Pointer validFormatSpecifiers, + ffi.Pointer> error, ) { - return __objc_msgSend_376( - obj, - sel, - format, - validFormatSpecifiers, - error, - ); + return __objc_msgSend_376(obj, sel, format, validFormatSpecifiers, error); } late final __objc_msgSend_376Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_376 = __objc_msgSend_376Ptr.asFunction< + ffi.NativeFunction< instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>(); + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_376 = + __objc_msgSend_376Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + >(); late final _sel_initWithValidatedFormat_validFormatSpecifiers_locale_error_1 = - _registerName1( - "initWithValidatedFormat:validFormatSpecifiers:locale:error:"); + objc.registerName( + "initWithValidatedFormat:validFormatSpecifiers:locale:error:", + ); instancetype _objc_msgSend_377( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer format, - ffi.Pointer validFormatSpecifiers, - ffi.Pointer locale, - ffi.Pointer> error, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer format, + ffi.Pointer validFormatSpecifiers, + ffi.Pointer locale, + ffi.Pointer> error, ) { return __objc_msgSend_377( obj, @@ -10653,33 +13397,41 @@ class AVFAudio { } late final __objc_msgSend_377Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_377 = __objc_msgSend_377Ptr.asFunction< + ffi.NativeFunction< instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>(); + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_377 = + __objc_msgSend_377Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + >(); late final _sel_initWithValidatedFormat_validFormatSpecifiers_arguments_error_1 = - _registerName1( - "initWithValidatedFormat:validFormatSpecifiers:arguments:error:"); + objc.registerName( + "initWithValidatedFormat:validFormatSpecifiers:arguments:error:", + ); instancetype _objc_msgSend_378( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer format, - ffi.Pointer validFormatSpecifiers, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer format, + ffi.Pointer validFormatSpecifiers, ffi.Pointer<__va_list_tag> argList, - ffi.Pointer> error, + ffi.Pointer> error, ) { return __objc_msgSend_378( obj, @@ -10692,34 +13444,42 @@ class AVFAudio { } late final __objc_msgSend_378Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<__va_list_tag>, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_378 = __objc_msgSend_378Ptr.asFunction< + ffi.NativeFunction< instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<__va_list_tag>, - ffi.Pointer>)>(); + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<__va_list_tag>, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_378 = + __objc_msgSend_378Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<__va_list_tag>, + ffi.Pointer>, + ) + >(); late final _sel_initWithValidatedFormat_validFormatSpecifiers_locale_arguments_error_1 = - _registerName1( - "initWithValidatedFormat:validFormatSpecifiers:locale:arguments:error:"); + objc.registerName( + "initWithValidatedFormat:validFormatSpecifiers:locale:arguments:error:", + ); instancetype _objc_msgSend_379( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer format, - ffi.Pointer validFormatSpecifiers, - ffi.Pointer locale, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer format, + ffi.Pointer validFormatSpecifiers, + ffi.Pointer locale, ffi.Pointer<__va_list_tag> argList, - ffi.Pointer> error, + ffi.Pointer> error, ) { return __objc_msgSend_379( obj, @@ -10733,338 +13493,393 @@ class AVFAudio { } late final __objc_msgSend_379Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<__va_list_tag>, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_379 = __objc_msgSend_379Ptr.asFunction< + ffi.NativeFunction< instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<__va_list_tag>, - ffi.Pointer>)>(); - - late final _sel_initWithData_encoding_1 = - _registerName1("initWithData:encoding:"); + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<__va_list_tag>, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_379 = + __objc_msgSend_379Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<__va_list_tag>, + ffi.Pointer>, + ) + >(); + + late final _sel_initWithData_encoding_1 = objc.registerName( + "initWithData:encoding:", + ); instancetype _objc_msgSend_380( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer data, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer data, int encoding, ) { - return __objc_msgSend_380( - obj, - sel, - data, - encoding, - ); + return __objc_msgSend_380(obj, sel, data, encoding); } late final __objc_msgSend_380Ptr = _lookup< - ffi.NativeFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.UnsignedLong)>>('objc_msgSend'); - late final __objc_msgSend_380 = __objc_msgSend_380Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int)>(); - - late final _sel_initWithBytes_length_encoding_1 = - _registerName1("initWithBytes:length:encoding:"); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_380 = + __objc_msgSend_380Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_initWithBytes_length_encoding_1 = objc.registerName( + "initWithBytes:length:encoding:", + ); instancetype _objc_msgSend_381( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ffi.Pointer bytes, int len, int encoding, ) { - return __objc_msgSend_381( - obj, - sel, - bytes, - len, - encoding, - ); + return __objc_msgSend_381(obj, sel, bytes, len, encoding); } late final __objc_msgSend_381Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_381 = + __objc_msgSend_381Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, - ffi.UnsignedLong)>>('objc_msgSend'); - late final __objc_msgSend_381 = __objc_msgSend_381Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int, int)>(); - - late final _sel_initWithBytesNoCopy_length_encoding_freeWhenDone_1 = - _registerName1("initWithBytesNoCopy:length:encoding:freeWhenDone:"); + int, + int, + ) + >(); + + late final _sel_initWithBytesNoCopy_length_encoding_freeWhenDone_1 = objc + .registerName("initWithBytesNoCopy:length:encoding:freeWhenDone:"); instancetype _objc_msgSend_382( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ffi.Pointer bytes, int len, int encoding, bool freeBuffer, ) { - return __objc_msgSend_382( - obj, - sel, - bytes, - len, - encoding, - freeBuffer, - ); + return __objc_msgSend_382(obj, sel, bytes, len, encoding, freeBuffer); } late final __objc_msgSend_382Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.UnsignedLong, + ffi.Bool, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_382 = + __objc_msgSend_382Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, - ffi.UnsignedLong, - ffi.Bool)>>('objc_msgSend'); - late final __objc_msgSend_382 = __objc_msgSend_382Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int, int, bool)>(); - - late final _sel_initWithBytesNoCopy_length_encoding_deallocator_1 = - _registerName1("initWithBytesNoCopy:length:encoding:deallocator:"); + int, + int, + bool, + ) + >(); + + late final _sel_initWithBytesNoCopy_length_encoding_deallocator_1 = objc + .registerName("initWithBytesNoCopy:length:encoding:deallocator:"); instancetype _objc_msgSend_383( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ffi.Pointer bytes, int len, int encoding, - ffi.Pointer<_ObjCBlock> deallocator, + ffi.Pointer deallocator, ) { - return __objc_msgSend_383( - obj, - sel, - bytes, - len, - encoding, - deallocator, - ); + return __objc_msgSend_383(obj, sel, bytes, len, encoding, deallocator); } late final __objc_msgSend_383Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.UnsignedLong, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_383 = + __objc_msgSend_383Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, - ffi.UnsignedLong, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_383 = __objc_msgSend_383Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int, int, ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_string1 = _registerName1("string"); - late final _sel_stringWithString_1 = _registerName1("stringWithString:"); - late final _sel_stringWithCharacters_length_1 = - _registerName1("stringWithCharacters:length:"); - late final _sel_stringWithUTF8String_1 = - _registerName1("stringWithUTF8String:"); - late final _sel_stringWithFormat_1 = _registerName1("stringWithFormat:"); - late final _sel_localizedStringWithFormat_1 = - _registerName1("localizedStringWithFormat:"); - late final _sel_stringWithValidatedFormat_validFormatSpecifiers_error_1 = - _registerName1("stringWithValidatedFormat:validFormatSpecifiers:error:"); + int, + int, + ffi.Pointer, + ) + >(); + + late final _sel_string1 = objc.registerName("string"); + late final _sel_stringWithString_1 = objc.registerName("stringWithString:"); + late final _sel_stringWithCharacters_length_1 = objc.registerName( + "stringWithCharacters:length:", + ); + late final _sel_stringWithUTF8String_1 = objc.registerName( + "stringWithUTF8String:", + ); + late final _sel_stringWithFormat_1 = objc.registerName("stringWithFormat:"); + late final _sel_localizedStringWithFormat_1 = objc.registerName( + "localizedStringWithFormat:", + ); + late final _sel_stringWithValidatedFormat_validFormatSpecifiers_error_1 = objc + .registerName("stringWithValidatedFormat:validFormatSpecifiers:error:"); late final _sel_localizedStringWithValidatedFormat_validFormatSpecifiers_error_1 = - _registerName1( - "localizedStringWithValidatedFormat:validFormatSpecifiers:error:"); - late final _sel_initWithCString_encoding_1 = - _registerName1("initWithCString:encoding:"); + objc.registerName( + "localizedStringWithValidatedFormat:validFormatSpecifiers:error:", + ); + late final _sel_initWithCString_encoding_1 = objc.registerName( + "initWithCString:encoding:", + ); instancetype _objc_msgSend_384( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ffi.Pointer nullTerminatedCString, int encoding, ) { - return __objc_msgSend_384( - obj, - sel, - nullTerminatedCString, - encoding, - ); + return __objc_msgSend_384(obj, sel, nullTerminatedCString, encoding); } late final __objc_msgSend_384Ptr = _lookup< - ffi.NativeFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.UnsignedLong)>>('objc_msgSend'); - late final __objc_msgSend_384 = __objc_msgSend_384Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int)>(); - - late final _sel_stringWithCString_encoding_1 = - _registerName1("stringWithCString:encoding:"); - late final _sel_initWithContentsOfURL_encoding_error_1 = - _registerName1("initWithContentsOfURL:encoding:error:"); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_384 = + __objc_msgSend_384Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_stringWithCString_encoding_1 = objc.registerName( + "stringWithCString:encoding:", + ); + late final _sel_initWithContentsOfURL_encoding_error_1 = objc.registerName( + "initWithContentsOfURL:encoding:error:", + ); instancetype _objc_msgSend_385( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer url, int enc, - ffi.Pointer> error, + ffi.Pointer> error, ) { - return __objc_msgSend_385( - obj, - sel, - url, - enc, - error, - ); + return __objc_msgSend_385(obj, sel, url, enc, error); } late final __objc_msgSend_385Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_385 = __objc_msgSend_385Ptr.asFunction< + ffi.NativeFunction< instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>)>(); - - late final _sel_initWithContentsOfFile_encoding_error_1 = - _registerName1("initWithContentsOfFile:encoding:error:"); + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_385 = + __objc_msgSend_385Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer>, + ) + >(); + + late final _sel_initWithContentsOfFile_encoding_error_1 = objc.registerName( + "initWithContentsOfFile:encoding:error:", + ); instancetype _objc_msgSend_386( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer path, int enc, - ffi.Pointer> error, + ffi.Pointer> error, ) { - return __objc_msgSend_386( - obj, - sel, - path, - enc, - error, - ); + return __objc_msgSend_386(obj, sel, path, enc, error); } late final __objc_msgSend_386Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_386 = __objc_msgSend_386Ptr.asFunction< + ffi.NativeFunction< instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>)>(); - - late final _sel_stringWithContentsOfURL_encoding_error_1 = - _registerName1("stringWithContentsOfURL:encoding:error:"); - late final _sel_stringWithContentsOfFile_encoding_error_1 = - _registerName1("stringWithContentsOfFile:encoding:error:"); - late final _sel_initWithContentsOfURL_usedEncoding_error_1 = - _registerName1("initWithContentsOfURL:usedEncoding:error:"); + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_386 = + __objc_msgSend_386Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer>, + ) + >(); + + late final _sel_stringWithContentsOfURL_encoding_error_1 = objc.registerName( + "stringWithContentsOfURL:encoding:error:", + ); + late final _sel_stringWithContentsOfFile_encoding_error_1 = objc.registerName( + "stringWithContentsOfFile:encoding:error:", + ); + late final _sel_initWithContentsOfURL_usedEncoding_error_1 = objc + .registerName("initWithContentsOfURL:usedEncoding:error:"); instancetype _objc_msgSend_387( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer url, ffi.Pointer enc, - ffi.Pointer> error, + ffi.Pointer> error, ) { - return __objc_msgSend_387( - obj, - sel, - url, - enc, - error, - ); + return __objc_msgSend_387(obj, sel, url, enc, error); } late final __objc_msgSend_387Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_387 = __objc_msgSend_387Ptr.asFunction< + ffi.NativeFunction< instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>(); - - late final _sel_initWithContentsOfFile_usedEncoding_error_1 = - _registerName1("initWithContentsOfFile:usedEncoding:error:"); + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_387 = + __objc_msgSend_387Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + >(); + + late final _sel_initWithContentsOfFile_usedEncoding_error_1 = objc + .registerName("initWithContentsOfFile:usedEncoding:error:"); instancetype _objc_msgSend_388( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer path, ffi.Pointer enc, - ffi.Pointer> error, + ffi.Pointer> error, ) { - return __objc_msgSend_388( - obj, - sel, - path, - enc, - error, - ); + return __objc_msgSend_388(obj, sel, path, enc, error); } late final __objc_msgSend_388Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_388 = __objc_msgSend_388Ptr.asFunction< + ffi.NativeFunction< instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>(); - - late final _sel_stringWithContentsOfURL_usedEncoding_error_1 = - _registerName1("stringWithContentsOfURL:usedEncoding:error:"); - late final _sel_stringWithContentsOfFile_usedEncoding_error_1 = - _registerName1("stringWithContentsOfFile:usedEncoding:error:"); + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_388 = + __objc_msgSend_388Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + >(); + + late final _sel_stringWithContentsOfURL_usedEncoding_error_1 = objc + .registerName("stringWithContentsOfURL:usedEncoding:error:"); + late final _sel_stringWithContentsOfFile_usedEncoding_error_1 = objc + .registerName("stringWithContentsOfFile:usedEncoding:error:"); late final _sel_stringEncodingForData_encodingOptions_convertedString_usedLossyConversion_1 = - _registerName1( - "stringEncodingForData:encodingOptions:convertedString:usedLossyConversion:"); + objc.registerName( + "stringEncodingForData:encodingOptions:convertedString:usedLossyConversion:", + ); int _objc_msgSend_389( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer data, - ffi.Pointer opts, - ffi.Pointer> string, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer data, + ffi.Pointer opts, + ffi.Pointer> string, ffi.Pointer usedLossyConversion, ) { return __objc_msgSend_389( @@ -11078,77 +13893,100 @@ class AVFAudio { } late final __objc_msgSend_389Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_389 = __objc_msgSend_389Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer)>(); - - late final _sel_propertyList1 = _registerName1("propertyList"); - late final _sel_propertyListFromStringsFileFormat1 = - _registerName1("propertyListFromStringsFileFormat"); - ffi.Pointer _objc_msgSend_390( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_390( - obj, - sel, - ); + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_389 = + __objc_msgSend_389Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer, + ) + >(); + + late final _sel_propertyList1 = objc.registerName("propertyList"); + late final _sel_propertyListFromStringsFileFormat1 = objc.registerName( + "propertyListFromStringsFileFormat", + ); + ffi.Pointer _objc_msgSend_390( + ffi.Pointer obj, + ffi.Pointer sel, + ) { + return __objc_msgSend_390(obj, sel); } late final __objc_msgSend_390Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_390 = __objc_msgSend_390Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_cString1 = _registerName1("cString"); - late final _sel_lossyCString1 = _registerName1("lossyCString"); - late final _sel_cStringLength1 = _registerName1("cStringLength"); - late final _sel_getCString_1 = _registerName1("getCString:"); - late final _sel_getCString_maxLength_1 = - _registerName1("getCString:maxLength:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_390 = + __objc_msgSend_390Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_cString1 = objc.registerName("cString"); + late final _sel_lossyCString1 = objc.registerName("lossyCString"); + late final _sel_cStringLength1 = objc.registerName("cStringLength"); + late final _sel_getCString_1 = objc.registerName("getCString:"); + late final _sel_getCString_maxLength_1 = objc.registerName( + "getCString:maxLength:", + ); void _objc_msgSend_391( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ffi.Pointer bytes, int maxLength, ) { - return __objc_msgSend_391( - obj, - sel, - bytes, - maxLength, - ); + return __objc_msgSend_391(obj, sel, bytes, maxLength); } late final __objc_msgSend_391Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.UnsignedLong)>>('objc_msgSend'); - late final __objc_msgSend_391 = __objc_msgSend_391Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int)>(); - - late final _sel_getCString_maxLength_range_remainingRange_1 = - _registerName1("getCString:maxLength:range:remainingRange:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_391 = + __objc_msgSend_391Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_getCString_maxLength_range_remainingRange_1 = objc + .registerName("getCString:maxLength:range:remainingRange:"); void _objc_msgSend_392( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ffi.Pointer bytes, int maxLength, _NSRange aRange, @@ -11165,151 +14003,206 @@ class AVFAudio { } late final __objc_msgSend_392Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + _NSRange, + ffi.Pointer<_NSRange>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_392 = + __objc_msgSend_392Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, + int, _NSRange, - ffi.Pointer<_NSRange>)>>('objc_msgSend'); - late final __objc_msgSend_392 = __objc_msgSend_392Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int, _NSRange, ffi.Pointer<_NSRange>)>(); - - late final _sel_stringWithContentsOfFile_1 = - _registerName1("stringWithContentsOfFile:"); - late final _sel_stringWithContentsOfURL_1 = - _registerName1("stringWithContentsOfURL:"); - late final _sel_initWithCStringNoCopy_length_freeWhenDone_1 = - _registerName1("initWithCStringNoCopy:length:freeWhenDone:"); - ffi.Pointer _objc_msgSend_393( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer<_NSRange>, + ) + >(); + + late final _sel_stringWithContentsOfFile_1 = objc.registerName( + "stringWithContentsOfFile:", + ); + late final _sel_stringWithContentsOfURL_1 = objc.registerName( + "stringWithContentsOfURL:", + ); + late final _sel_initWithCStringNoCopy_length_freeWhenDone_1 = objc + .registerName("initWithCStringNoCopy:length:freeWhenDone:"); + ffi.Pointer _objc_msgSend_393( + ffi.Pointer obj, + ffi.Pointer sel, ffi.Pointer bytes, int length, bool freeBuffer, ) { - return __objc_msgSend_393( - obj, - sel, - bytes, - length, - freeBuffer, - ); + return __objc_msgSend_393(obj, sel, bytes, length, freeBuffer); } late final __objc_msgSend_393Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Bool, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_393 = + __objc_msgSend_393Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, - ffi.Bool)>>('objc_msgSend'); - late final __objc_msgSend_393 = __objc_msgSend_393Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer, int, bool)>(); - - late final _sel_initWithCString_length_1 = - _registerName1("initWithCString:length:"); - late final _sel_initWithCString_1 = _registerName1("initWithCString:"); - late final _sel_stringWithCString_length_1 = - _registerName1("stringWithCString:length:"); - late final _sel_stringWithCString_1 = _registerName1("stringWithCString:"); - late final _sel_getCharacters_1 = _registerName1("getCharacters:"); + int, + bool, + ) + >(); + + late final _sel_initWithCString_length_1 = objc.registerName( + "initWithCString:length:", + ); + late final _sel_initWithCString_1 = objc.registerName("initWithCString:"); + late final _sel_stringWithCString_length_1 = objc.registerName( + "stringWithCString:length:", + ); + late final _sel_stringWithCString_1 = objc.registerName("stringWithCString:"); + late final _sel_getCharacters_1 = objc.registerName("getCharacters:"); void _objc_msgSend_394( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ffi.Pointer buffer, ) { - return __objc_msgSend_394( - obj, - sel, - buffer, - ); + return __objc_msgSend_394(obj, sel, buffer); } late final __objc_msgSend_394Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_394 = __objc_msgSend_394Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_variantFittingPresentationWidth_1 = - _registerName1("variantFittingPresentationWidth:"); - ffi.Pointer _objc_msgSend_395( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_394 = + __objc_msgSend_394Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_variantFittingPresentationWidth_1 = objc.registerName( + "variantFittingPresentationWidth:", + ); + ffi.Pointer _objc_msgSend_395( + ffi.Pointer obj, + ffi.Pointer sel, int width, ) { - return __objc_msgSend_395( - obj, - sel, - width, - ); + return __objc_msgSend_395(obj, sel, width); } late final __objc_msgSend_395Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Long)>>('objc_msgSend'); - late final __objc_msgSend_395 = __objc_msgSend_395Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_pathWithComponents_1 = _registerName1("pathWithComponents:"); - ffi.Pointer _objc_msgSend_396( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer components, - ) { - return __objc_msgSend_396( - obj, - sel, - components, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Long, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_395 = + __objc_msgSend_395Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_pathWithComponents_1 = objc.registerName( + "pathWithComponents:", + ); + ffi.Pointer _objc_msgSend_396( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer components, + ) { + return __objc_msgSend_396(obj, sel, components); } late final __objc_msgSend_396Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_396 = __objc_msgSend_396Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_isAbsolutePath1 = _registerName1("isAbsolutePath"); - late final _sel_stringByDeletingLastPathComponent1 = - _registerName1("stringByDeletingLastPathComponent"); - late final _sel_stringByAppendingPathComponent_1 = - _registerName1("stringByAppendingPathComponent:"); - late final _sel_stringByDeletingPathExtension1 = - _registerName1("stringByDeletingPathExtension"); - late final _sel_stringByAppendingPathExtension_1 = - _registerName1("stringByAppendingPathExtension:"); - late final _sel_stringByAbbreviatingWithTildeInPath1 = - _registerName1("stringByAbbreviatingWithTildeInPath"); - late final _sel_stringByExpandingTildeInPath1 = - _registerName1("stringByExpandingTildeInPath"); - late final _sel_stringByStandardizingPath1 = - _registerName1("stringByStandardizingPath"); - late final _sel_stringByResolvingSymlinksInPath1 = - _registerName1("stringByResolvingSymlinksInPath"); - late final _sel_stringsByAppendingPaths_1 = - _registerName1("stringsByAppendingPaths:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_396 = + __objc_msgSend_396Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_isAbsolutePath1 = objc.registerName("isAbsolutePath"); + late final _sel_stringByDeletingLastPathComponent1 = objc.registerName( + "stringByDeletingLastPathComponent", + ); + late final _sel_stringByAppendingPathComponent_1 = objc.registerName( + "stringByAppendingPathComponent:", + ); + late final _sel_stringByDeletingPathExtension1 = objc.registerName( + "stringByDeletingPathExtension", + ); + late final _sel_stringByAppendingPathExtension_1 = objc.registerName( + "stringByAppendingPathExtension:", + ); + late final _sel_stringByAbbreviatingWithTildeInPath1 = objc.registerName( + "stringByAbbreviatingWithTildeInPath", + ); + late final _sel_stringByExpandingTildeInPath1 = objc.registerName( + "stringByExpandingTildeInPath", + ); + late final _sel_stringByStandardizingPath1 = objc.registerName( + "stringByStandardizingPath", + ); + late final _sel_stringByResolvingSymlinksInPath1 = objc.registerName( + "stringByResolvingSymlinksInPath", + ); + late final _sel_stringsByAppendingPaths_1 = objc.registerName( + "stringsByAppendingPaths:", + ); late final _sel_completePathIntoString_caseSensitive_matchesIntoArray_filterTypes_1 = - _registerName1( - "completePathIntoString:caseSensitive:matchesIntoArray:filterTypes:"); + objc.registerName( + "completePathIntoString:caseSensitive:matchesIntoArray:filterTypes:", + ); int _objc_msgSend_397( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer> outputName, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer> outputName, bool flag, - ffi.Pointer> outputArray, - ffi.Pointer filterTypes, + ffi.Pointer> outputArray, + ffi.Pointer filterTypes, ) { return __objc_msgSend_397( obj, @@ -11322,122 +14215,155 @@ class AVFAudio { } late final __objc_msgSend_397Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Bool, - ffi.Pointer>, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_397 = __objc_msgSend_397Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - bool, - ffi.Pointer>, - ffi.Pointer)>(); - - late final _sel_stringByAddingPercentEncodingWithAllowedCharacters_1 = - _registerName1("stringByAddingPercentEncodingWithAllowedCharacters:"); - ffi.Pointer _objc_msgSend_398( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer allowedCharacters, - ) { - return __objc_msgSend_398( - obj, - sel, - allowedCharacters, - ); + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Bool, + ffi.Pointer>, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_397 = + __objc_msgSend_397Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + bool, + ffi.Pointer>, + ffi.Pointer, + ) + >(); + + late final _sel_stringByAddingPercentEncodingWithAllowedCharacters_1 = objc + .registerName("stringByAddingPercentEncodingWithAllowedCharacters:"); + ffi.Pointer _objc_msgSend_398( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer allowedCharacters, + ) { + return __objc_msgSend_398(obj, sel, allowedCharacters); } late final __objc_msgSend_398Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_398 = __objc_msgSend_398Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_stringByRemovingPercentEncoding1 = - _registerName1("stringByRemovingPercentEncoding"); - late final _sel_stringByAddingPercentEscapesUsingEncoding_1 = - _registerName1("stringByAddingPercentEscapesUsingEncoding:"); - ffi.Pointer _objc_msgSend_399( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_398 = + __objc_msgSend_398Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_stringByRemovingPercentEncoding1 = objc.registerName( + "stringByRemovingPercentEncoding", + ); + late final _sel_stringByAddingPercentEscapesUsingEncoding_1 = objc + .registerName("stringByAddingPercentEscapesUsingEncoding:"); + ffi.Pointer _objc_msgSend_399( + ffi.Pointer obj, + ffi.Pointer sel, int enc, ) { - return __objc_msgSend_399( - obj, - sel, - enc, - ); + return __objc_msgSend_399(obj, sel, enc); } late final __objc_msgSend_399Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.UnsignedLong)>>('objc_msgSend'); - late final __objc_msgSend_399 = __objc_msgSend_399Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_stringByReplacingPercentEscapesUsingEncoding_1 = - _registerName1("stringByReplacingPercentEscapesUsingEncoding:"); - late final _class_NSOrthography1 = _getClass1("NSOrthography"); - late final _sel_dominantScript1 = _registerName1("dominantScript"); - late final _sel_languageMap1 = _registerName1("languageMap"); - late final _sel_initWithDominantScript_languageMap_1 = - _registerName1("initWithDominantScript:languageMap:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_399 = + __objc_msgSend_399Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_stringByReplacingPercentEscapesUsingEncoding_1 = objc + .registerName("stringByReplacingPercentEscapesUsingEncoding:"); + late final _class_NSOrthography1 = objc.getClass("NSOrthography"); + late final _sel_dominantScript1 = objc.registerName("dominantScript"); + late final _sel_languageMap1 = objc.registerName("languageMap"); + late final _sel_initWithDominantScript_languageMap_1 = objc.registerName( + "initWithDominantScript:languageMap:", + ); instancetype _objc_msgSend_400( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer script, - ffi.Pointer map, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer script, + ffi.Pointer map, ) { - return __objc_msgSend_400( - obj, - sel, - script, - map, - ); + return __objc_msgSend_400(obj, sel, script, map); } late final __objc_msgSend_400Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_400 = __objc_msgSend_400Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_languagesForScript_1 = _registerName1("languagesForScript:"); - late final _sel_dominantLanguageForScript_1 = - _registerName1("dominantLanguageForScript:"); - late final _sel_dominantLanguage1 = _registerName1("dominantLanguage"); - late final _sel_allScripts1 = _registerName1("allScripts"); - late final _sel_allLanguages1 = _registerName1("allLanguages"); - late final _sel_defaultOrthographyForLanguage_1 = - _registerName1("defaultOrthographyForLanguage:"); - late final _sel_orthographyWithDominantScript_languageMap_1 = - _registerName1("orthographyWithDominantScript:languageMap:"); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_400 = + __objc_msgSend_400Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_languagesForScript_1 = objc.registerName( + "languagesForScript:", + ); + late final _sel_dominantLanguageForScript_1 = objc.registerName( + "dominantLanguageForScript:", + ); + late final _sel_dominantLanguage1 = objc.registerName("dominantLanguage"); + late final _sel_allScripts1 = objc.registerName("allScripts"); + late final _sel_allLanguages1 = objc.registerName("allLanguages"); + late final _sel_defaultOrthographyForLanguage_1 = objc.registerName( + "defaultOrthographyForLanguage:", + ); + late final _sel_orthographyWithDominantScript_languageMap_1 = objc + .registerName("orthographyWithDominantScript:languageMap:"); late final _sel_linguisticTagsInRange_scheme_options_orthography_tokenRanges_1 = - _registerName1( - "linguisticTagsInRange:scheme:options:orthography:tokenRanges:"); - ffi.Pointer _objc_msgSend_401( - ffi.Pointer obj, - ffi.Pointer sel, + objc.registerName( + "linguisticTagsInRange:scheme:options:orthography:tokenRanges:", + ); + ffi.Pointer _objc_msgSend_401( + ffi.Pointer obj, + ffi.Pointer sel, _NSRange range, - ffi.Pointer scheme, + ffi.Pointer scheme, int options, - ffi.Pointer orthography, - ffi.Pointer> tokenRanges, + ffi.Pointer orthography, + ffi.Pointer> tokenRanges, ) { return __objc_msgSend_401( obj, @@ -11451,36 +14377,44 @@ class AVFAudio { } late final __objc_msgSend_401Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_401 = + __objc_msgSend_401Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, _NSRange, - ffi.Pointer, - ffi.Int32, - ffi.Pointer, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_401 = __objc_msgSend_401Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - int, - ffi.Pointer, - ffi.Pointer>)>(); + ffi.Pointer, + int, + ffi.Pointer, + ffi.Pointer>, + ) + >(); late final _sel_enumerateLinguisticTagsInRange_scheme_options_orthography_usingBlock_1 = - _registerName1( - "enumerateLinguisticTagsInRange:scheme:options:orthography:usingBlock:"); + objc.registerName( + "enumerateLinguisticTagsInRange:scheme:options:orthography:usingBlock:", + ); void _objc_msgSend_402( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, _NSRange range, - ffi.Pointer scheme, + ffi.Pointer scheme, int options, - ffi.Pointer orthography, - ffi.Pointer<_ObjCBlock> block, + ffi.Pointer orthography, + ffi.Pointer block, ) { return __objc_msgSend_402( obj, @@ -11494,528 +14428,705 @@ class AVFAudio { } late final __objc_msgSend_402Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_402 = + __objc_msgSend_402Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, _NSRange, - ffi.Pointer, - ffi.Int32, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_402 = __objc_msgSend_402Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - int, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_anyObject1 = _registerName1("anyObject"); - late final _sel_intersectsSet_1 = _registerName1("intersectsSet:"); + ffi.Pointer, + int, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_anyObject1 = objc.registerName("anyObject"); + late final _sel_intersectsSet_1 = objc.registerName("intersectsSet:"); bool _objc_msgSend_403( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer otherSet, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer otherSet, ) { - return __objc_msgSend_403( - obj, - sel, - otherSet, - ); + return __objc_msgSend_403(obj, sel, otherSet); } late final __objc_msgSend_403Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_403 = __objc_msgSend_403Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_isEqualToSet_1 = _registerName1("isEqualToSet:"); - late final _sel_isSubsetOfSet_1 = _registerName1("isSubsetOfSet:"); - late final _sel_setByAddingObject_1 = _registerName1("setByAddingObject:"); - ffi.Pointer _objc_msgSend_404( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer anObject, - ) { - return __objc_msgSend_404( - obj, - sel, - anObject, - ); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_403 = + __objc_msgSend_403Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_isEqualToSet_1 = objc.registerName("isEqualToSet:"); + late final _sel_isSubsetOfSet_1 = objc.registerName("isSubsetOfSet:"); + late final _sel_setByAddingObject_1 = objc.registerName("setByAddingObject:"); + ffi.Pointer _objc_msgSend_404( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer anObject, + ) { + return __objc_msgSend_404(obj, sel, anObject); } late final __objc_msgSend_404Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_404 = __objc_msgSend_404Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_setByAddingObjectsFromSet_1 = - _registerName1("setByAddingObjectsFromSet:"); - ffi.Pointer _objc_msgSend_405( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer other, - ) { - return __objc_msgSend_405( - obj, - sel, - other, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_404 = + __objc_msgSend_404Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_setByAddingObjectsFromSet_1 = objc.registerName( + "setByAddingObjectsFromSet:", + ); + ffi.Pointer _objc_msgSend_405( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer other, + ) { + return __objc_msgSend_405(obj, sel, other); } late final __objc_msgSend_405Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_405 = __objc_msgSend_405Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_setByAddingObjectsFromArray_1 = - _registerName1("setByAddingObjectsFromArray:"); - ffi.Pointer _objc_msgSend_406( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer other, - ) { - return __objc_msgSend_406( - obj, - sel, - other, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_405 = + __objc_msgSend_405Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_setByAddingObjectsFromArray_1 = objc.registerName( + "setByAddingObjectsFromArray:", + ); + ffi.Pointer _objc_msgSend_406( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer other, + ) { + return __objc_msgSend_406(obj, sel, other); } late final __objc_msgSend_406Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_406 = __objc_msgSend_406Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_406 = + __objc_msgSend_406Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); void _objc_msgSend_407( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer<_ObjCBlock> block, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer block, ) { - return __objc_msgSend_407( - obj, - sel, - block, - ); + return __objc_msgSend_407(obj, sel, block); } late final __objc_msgSend_407Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_407 = __objc_msgSend_407Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_407 = + __objc_msgSend_407Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); void _objc_msgSend_408( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int opts, - ffi.Pointer<_ObjCBlock> block, + ffi.Pointer block, ) { - return __objc_msgSend_408( - obj, - sel, - opts, - block, - ); + return __objc_msgSend_408(obj, sel, opts, block); } late final __objc_msgSend_408Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Int32, ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_408 = __objc_msgSend_408Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int, - ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_objectsPassingTest_1 = _registerName1("objectsPassingTest:"); - ffi.Pointer _objc_msgSend_409( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer<_ObjCBlock> predicate, - ) { - return __objc_msgSend_409( - obj, - sel, - predicate, - ); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_408 = + __objc_msgSend_408Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ) + >(); + + late final _sel_objectsPassingTest_1 = objc.registerName( + "objectsPassingTest:", + ); + ffi.Pointer _objc_msgSend_409( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer predicate, + ) { + return __objc_msgSend_409(obj, sel, predicate); } late final __objc_msgSend_409Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_409 = __objc_msgSend_409Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_objectsWithOptions_passingTest_1 = - _registerName1("objectsWithOptions:passingTest:"); - ffi.Pointer _objc_msgSend_410( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_409 = + __objc_msgSend_409Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_objectsWithOptions_passingTest_1 = objc.registerName( + "objectsWithOptions:passingTest:", + ); + ffi.Pointer _objc_msgSend_410( + ffi.Pointer obj, + ffi.Pointer sel, int opts, - ffi.Pointer<_ObjCBlock> predicate, + ffi.Pointer predicate, ) { - return __objc_msgSend_410( - obj, - sel, - opts, - predicate, - ); + return __objc_msgSend_410(obj, sel, opts, predicate); } late final __objc_msgSend_410Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_410 = __objc_msgSend_410Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, int, ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_set1 = _registerName1("set"); - late final _sel_setWithObject_1 = _registerName1("setWithObject:"); - late final _sel_setWithObjects_count_1 = - _registerName1("setWithObjects:count:"); - late final _sel_setWithObjects_1 = _registerName1("setWithObjects:"); - late final _sel_setWithSet_1 = _registerName1("setWithSet:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_410 = + __objc_msgSend_410Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ) + >(); + + late final _sel_set1 = objc.registerName("set"); + late final _sel_setWithObject_1 = objc.registerName("setWithObject:"); + late final _sel_setWithObjects_count_1 = objc.registerName( + "setWithObjects:count:", + ); + late final _sel_setWithObjects_1 = objc.registerName("setWithObjects:"); + late final _sel_setWithSet_1 = objc.registerName("setWithSet:"); instancetype _objc_msgSend_411( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer set1, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer set1, ) { - return __objc_msgSend_411( - obj, - sel, - set1, - ); + return __objc_msgSend_411(obj, sel, set1); } late final __objc_msgSend_411Ptr = _lookup< - ffi.NativeFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_411 = __objc_msgSend_411Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_setWithArray_1 = _registerName1("setWithArray:"); - late final _sel_initWithSet_1 = _registerName1("initWithSet:"); - late final _sel_initWithSet_copyItems_1 = - _registerName1("initWithSet:copyItems:"); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_411 = + __objc_msgSend_411Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_setWithArray_1 = objc.registerName("setWithArray:"); + late final _sel_initWithSet_1 = objc.registerName("initWithSet:"); + late final _sel_initWithSet_copyItems_1 = objc.registerName( + "initWithSet:copyItems:", + ); instancetype _objc_msgSend_412( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer set1, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer set1, bool flag, ) { - return __objc_msgSend_412( - obj, - sel, - set1, - flag, - ); + return __objc_msgSend_412(obj, sel, set1, flag); } late final __objc_msgSend_412Ptr = _lookup< - ffi.NativeFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Bool)>>('objc_msgSend'); - late final __objc_msgSend_412 = __objc_msgSend_412Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, bool)>(); - - late final _sel_filteredSetUsingPredicate_1 = - _registerName1("filteredSetUsingPredicate:"); - ffi.Pointer _objc_msgSend_413( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer predicate, - ) { - return __objc_msgSend_413( - obj, - sel, - predicate, - ); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_412 = + __objc_msgSend_412Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool, + ) + >(); + + late final _sel_filteredSetUsingPredicate_1 = objc.registerName( + "filteredSetUsingPredicate:", + ); + ffi.Pointer _objc_msgSend_413( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer predicate, + ) { + return __objc_msgSend_413(obj, sel, predicate); } late final __objc_msgSend_413Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_413 = __objc_msgSend_413Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_invocationWithMethodSignature_1 = - _registerName1("invocationWithMethodSignature:"); - ffi.Pointer _objc_msgSend_414( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer sig, - ) { - return __objc_msgSend_414( - obj, - sel, - sig, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_413 = + __objc_msgSend_413Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_invocationWithMethodSignature_1 = objc.registerName( + "invocationWithMethodSignature:", + ); + ffi.Pointer _objc_msgSend_414( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer sig, + ) { + return __objc_msgSend_414(obj, sel, sig); } late final __objc_msgSend_414Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_414 = __objc_msgSend_414Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_methodSignature1 = _registerName1("methodSignature"); - ffi.Pointer _objc_msgSend_415( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_415( - obj, - sel, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_414 = + __objc_msgSend_414Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_methodSignature1 = objc.registerName("methodSignature"); + ffi.Pointer _objc_msgSend_415( + ffi.Pointer obj, + ffi.Pointer sel, + ) { + return __objc_msgSend_415(obj, sel); } late final __objc_msgSend_415Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_415 = __objc_msgSend_415Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_retainArguments1 = _registerName1("retainArguments"); - late final _sel_argumentsRetained1 = _registerName1("argumentsRetained"); - late final _sel_target1 = _registerName1("target"); - late final _sel_setTarget_1 = _registerName1("setTarget:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_415 = + __objc_msgSend_415Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_retainArguments1 = objc.registerName("retainArguments"); + late final _sel_argumentsRetained1 = objc.registerName("argumentsRetained"); + late final _sel_target1 = objc.registerName("target"); + late final _sel_setTarget_1 = objc.registerName("setTarget:"); void _objc_msgSend_416( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value, ) { - return __objc_msgSend_416( - obj, - sel, - value, - ); + return __objc_msgSend_416(obj, sel, value); } late final __objc_msgSend_416Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_416 = __objc_msgSend_416Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_selector1 = _registerName1("selector"); - ffi.Pointer _objc_msgSend_417( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_417( - obj, - sel, - ); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_416 = + __objc_msgSend_416Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_selector1 = objc.registerName("selector"); + ffi.Pointer _objc_msgSend_417( + ffi.Pointer obj, + ffi.Pointer sel, + ) { + return __objc_msgSend_417(obj, sel); } late final __objc_msgSend_417Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_417 = __objc_msgSend_417Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_417 = + __objc_msgSend_417Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); - late final _sel_setSelector_1 = _registerName1("setSelector:"); + late final _sel_setSelector_1 = objc.registerName("setSelector:"); void _objc_msgSend_418( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value, ) { - return __objc_msgSend_418( - obj, - sel, - value, - ); + return __objc_msgSend_418(obj, sel, value); } late final __objc_msgSend_418Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_418 = __objc_msgSend_418Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_getReturnValue_1 = _registerName1("getReturnValue:"); - late final _sel_setReturnValue_1 = _registerName1("setReturnValue:"); - late final _sel_getArgument_atIndex_1 = - _registerName1("getArgument:atIndex:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_418 = + __objc_msgSend_418Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_getReturnValue_1 = objc.registerName("getReturnValue:"); + late final _sel_setReturnValue_1 = objc.registerName("setReturnValue:"); + late final _sel_getArgument_atIndex_1 = objc.registerName( + "getArgument:atIndex:", + ); void _objc_msgSend_419( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ffi.Pointer argumentLocation, int idx, ) { - return __objc_msgSend_419( - obj, - sel, - argumentLocation, - idx, - ); + return __objc_msgSend_419(obj, sel, argumentLocation, idx); } late final __objc_msgSend_419Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Long)>>('objc_msgSend'); - late final __objc_msgSend_419 = __objc_msgSend_419Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int)>(); - - late final _sel_setArgument_atIndex_1 = - _registerName1("setArgument:atIndex:"); - late final _sel_invoke1 = _registerName1("invoke"); - late final _sel_invokeWithTarget_1 = _registerName1("invokeWithTarget:"); - late final _sel_invokeUsingIMP_1 = _registerName1("invokeUsingIMP:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Long, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_419 = + __objc_msgSend_419Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_setArgument_atIndex_1 = objc.registerName( + "setArgument:atIndex:", + ); + late final _sel_invoke1 = objc.registerName("invoke"); + late final _sel_invokeWithTarget_1 = objc.registerName("invokeWithTarget:"); + late final _sel_invokeUsingIMP_1 = objc.registerName("invokeUsingIMP:"); void _objc_msgSend_420( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ffi.Pointer> imp, ) { - return __objc_msgSend_420( - obj, - sel, - imp, - ); + return __objc_msgSend_420(obj, sel, imp); } late final __objc_msgSend_420Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer>)>>( - 'objc_msgSend'); - late final __objc_msgSend_420 = __objc_msgSend_420Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer>)>(); - - late final _sel_forwardInvocation_1 = _registerName1("forwardInvocation:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_420 = + __objc_msgSend_420Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + >(); + + late final _sel_forwardInvocation_1 = objc.registerName("forwardInvocation:"); void _objc_msgSend_421( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer anInvocation, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer anInvocation, ) { - return __objc_msgSend_421( - obj, - sel, - anInvocation, - ); + return __objc_msgSend_421(obj, sel, anInvocation); } late final __objc_msgSend_421Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_421 = __objc_msgSend_421Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_methodSignatureForSelector_1 = - _registerName1("methodSignatureForSelector:"); - ffi.Pointer _objc_msgSend_422( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aSelector, - ) { - return __objc_msgSend_422( - obj, - sel, - aSelector, - ); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_421 = + __objc_msgSend_421Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_methodSignatureForSelector_1 = objc.registerName( + "methodSignatureForSelector:", + ); + ffi.Pointer _objc_msgSend_422( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer aSelector, + ) { + return __objc_msgSend_422(obj, sel, aSelector); } late final __objc_msgSend_422Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_422 = __objc_msgSend_422Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_instanceMethodSignatureForSelector_1 = - _registerName1("instanceMethodSignatureForSelector:"); - late final _sel_allowsWeakReference1 = _registerName1("allowsWeakReference"); - late final _sel_retainWeakReference1 = _registerName1("retainWeakReference"); - late final _sel_isSubclassOfClass_1 = _registerName1("isSubclassOfClass:"); - late final _sel_resolveClassMethod_1 = _registerName1("resolveClassMethod:"); - late final _sel_resolveInstanceMethod_1 = - _registerName1("resolveInstanceMethod:"); - late final _sel_superclass1 = _registerName1("superclass"); - late final _sel_class1 = _registerName1("class"); - late final _sel_debugDescription1 = _registerName1("debugDescription"); - late final _sel_version1 = _registerName1("version"); - late final _sel_setVersion_1 = _registerName1("setVersion:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_422 = + __objc_msgSend_422Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_instanceMethodSignatureForSelector_1 = objc.registerName( + "instanceMethodSignatureForSelector:", + ); + late final _sel_allowsWeakReference1 = objc.registerName( + "allowsWeakReference", + ); + late final _sel_retainWeakReference1 = objc.registerName( + "retainWeakReference", + ); + late final _sel_isSubclassOfClass_1 = objc.registerName("isSubclassOfClass:"); + late final _sel_resolveClassMethod_1 = objc.registerName( + "resolveClassMethod:", + ); + late final _sel_resolveInstanceMethod_1 = objc.registerName( + "resolveInstanceMethod:", + ); + late final _sel_superclass1 = objc.registerName("superclass"); + late final _sel_class1 = objc.registerName("class"); + late final _sel_debugDescription1 = objc.registerName("debugDescription"); + late final _sel_version1 = objc.registerName("version"); + late final _sel_setVersion_1 = objc.registerName("setVersion:"); void _objc_msgSend_423( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int aVersion, ) { - return __objc_msgSend_423( - obj, - sel, - aVersion, - ); + return __objc_msgSend_423(obj, sel, aVersion); } late final __objc_msgSend_423Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Long)>>('objc_msgSend'); - late final __objc_msgSend_423 = __objc_msgSend_423Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_classForCoder1 = _registerName1("classForCoder"); - late final _sel_replacementObjectForCoder_1 = - _registerName1("replacementObjectForCoder:"); - late final _sel_awakeAfterUsingCoder_1 = - _registerName1("awakeAfterUsingCoder:"); - late final _sel_poseAsClass_1 = _registerName1("poseAsClass:"); - late final _sel_autoContentAccessingProxy1 = - _registerName1("autoContentAccessingProxy"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Long, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_423 = + __objc_msgSend_423Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_classForCoder1 = objc.registerName("classForCoder"); + late final _sel_replacementObjectForCoder_1 = objc.registerName( + "replacementObjectForCoder:", + ); + late final _sel_awakeAfterUsingCoder_1 = objc.registerName( + "awakeAfterUsingCoder:", + ); + late final _sel_poseAsClass_1 = objc.registerName("poseAsClass:"); + late final _sel_autoContentAccessingProxy1 = objc.registerName( + "autoContentAccessingProxy", + ); late final _sel_attemptRecoveryFromError_optionIndex_delegate_didRecoverSelector_contextInfo_1 = - _registerName1( - "attemptRecoveryFromError:optionIndex:delegate:didRecoverSelector:contextInfo:"); + objc.registerName( + "attemptRecoveryFromError:optionIndex:delegate:didRecoverSelector:contextInfo:", + ); void _objc_msgSend_424( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer error, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer error, int recoveryOptionIndex, - ffi.Pointer delegate, - ffi.Pointer didRecoverSelector, + ffi.Pointer delegate, + ffi.Pointer didRecoverSelector, ffi.Pointer contextInfo, ) { return __objc_msgSend_424( @@ -12030,347 +15141,418 @@ class AVFAudio { } late final __objc_msgSend_424Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_424 = __objc_msgSend_424Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_424 = + __objc_msgSend_424Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); - late final _sel_attemptRecoveryFromError_optionIndex_1 = - _registerName1("attemptRecoveryFromError:optionIndex:"); + late final _sel_attemptRecoveryFromError_optionIndex_1 = objc.registerName( + "attemptRecoveryFromError:optionIndex:", + ); bool _objc_msgSend_425( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer error, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer error, int recoveryOptionIndex, ) { - return __objc_msgSend_425( - obj, - sel, - error, - recoveryOptionIndex, - ); + return __objc_msgSend_425(obj, sel, error, recoveryOptionIndex); } late final __objc_msgSend_425Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.UnsignedLong)>>('objc_msgSend'); - late final __objc_msgSend_425 = __objc_msgSend_425Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int)>(); - - late final _sel_performSelector_withObject_afterDelay_inModes_1 = - _registerName1("performSelector:withObject:afterDelay:inModes:"); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_425 = + __objc_msgSend_425Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_performSelector_withObject_afterDelay_inModes_1 = objc + .registerName("performSelector:withObject:afterDelay:inModes:"); void _objc_msgSend_426( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aSelector, - ffi.Pointer anArgument, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer aSelector, + ffi.Pointer anArgument, double delay, - ffi.Pointer modes, + ffi.Pointer modes, ) { - return __objc_msgSend_426( - obj, - sel, - aSelector, - anArgument, - delay, - modes, - ); + return __objc_msgSend_426(obj, sel, aSelector, anArgument, delay, modes); } late final __objc_msgSend_426Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Double, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_426 = __objc_msgSend_426Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - double, - ffi.Pointer)>(); - - late final _sel_performSelector_withObject_afterDelay_1 = - _registerName1("performSelector:withObject:afterDelay:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Double, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_426 = + __objc_msgSend_426Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + double, + ffi.Pointer, + ) + >(); + + late final _sel_performSelector_withObject_afterDelay_1 = objc.registerName( + "performSelector:withObject:afterDelay:", + ); void _objc_msgSend_427( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aSelector, - ffi.Pointer anArgument, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer aSelector, + ffi.Pointer anArgument, double delay, ) { - return __objc_msgSend_427( - obj, - sel, - aSelector, - anArgument, - delay, - ); + return __objc_msgSend_427(obj, sel, aSelector, anArgument, delay); } late final __objc_msgSend_427Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Double)>>('objc_msgSend'); - late final __objc_msgSend_427 = __objc_msgSend_427Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer, double)>(); - - late final _sel_URL_resourceDataDidBecomeAvailable_1 = - _registerName1("URL:resourceDataDidBecomeAvailable:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Double, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_427 = + __objc_msgSend_427Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + double, + ) + >(); + + late final _sel_URL_resourceDataDidBecomeAvailable_1 = objc.registerName( + "URL:resourceDataDidBecomeAvailable:", + ); void _objc_msgSend_428( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer sender, - ffi.Pointer newBytes, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer sender, + ffi.Pointer newBytes, ) { - return __objc_msgSend_428( - obj, - sel, - sender, - newBytes, - ); + return __objc_msgSend_428(obj, sel, sender, newBytes); } late final __objc_msgSend_428Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_428 = __objc_msgSend_428Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_URLResourceDidFinishLoading_1 = - _registerName1("URLResourceDidFinishLoading:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_428 = + __objc_msgSend_428Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_URLResourceDidFinishLoading_1 = objc.registerName( + "URLResourceDidFinishLoading:", + ); void _objc_msgSend_429( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer sender, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer sender, ) { - return __objc_msgSend_429( - obj, - sel, - sender, - ); + return __objc_msgSend_429(obj, sel, sender); } late final __objc_msgSend_429Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_429 = __objc_msgSend_429Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_URLResourceDidCancelLoading_1 = - _registerName1("URLResourceDidCancelLoading:"); - late final _sel_URL_resourceDidFailLoadingWithReason_1 = - _registerName1("URL:resourceDidFailLoadingWithReason:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_429 = + __objc_msgSend_429Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_URLResourceDidCancelLoading_1 = objc.registerName( + "URLResourceDidCancelLoading:", + ); + late final _sel_URL_resourceDidFailLoadingWithReason_1 = objc.registerName( + "URL:resourceDidFailLoadingWithReason:", + ); void _objc_msgSend_430( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer sender, - ffi.Pointer reason, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer sender, + ffi.Pointer reason, ) { - return __objc_msgSend_430( - obj, - sel, - sender, - reason, - ); + return __objc_msgSend_430(obj, sel, sender, reason); } late final __objc_msgSend_430Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_430 = __objc_msgSend_430Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _class_NSFileManager1 = _getClass1("NSFileManager"); - late final _sel_defaultManager1 = _registerName1("defaultManager"); - ffi.Pointer _objc_msgSend_431( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_431( - obj, - sel, - ); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_430 = + __objc_msgSend_430Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _class_NSFileManager1 = objc.getClass("NSFileManager"); + late final _sel_defaultManager1 = objc.registerName("defaultManager"); + ffi.Pointer _objc_msgSend_431( + ffi.Pointer obj, + ffi.Pointer sel, + ) { + return __objc_msgSend_431(obj, sel); } late final __objc_msgSend_431Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_431 = __objc_msgSend_431Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_431 = + __objc_msgSend_431Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_mountedVolumeURLsIncludingResourceValuesForKeys_options_1 = - _registerName1( - "mountedVolumeURLsIncludingResourceValuesForKeys:options:"); - ffi.Pointer _objc_msgSend_432( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer propertyKeys, + objc.registerName( + "mountedVolumeURLsIncludingResourceValuesForKeys:options:", + ); + ffi.Pointer _objc_msgSend_432( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer propertyKeys, int options, ) { - return __objc_msgSend_432( - obj, - sel, - propertyKeys, - options, - ); + return __objc_msgSend_432(obj, sel, propertyKeys, options); } late final __objc_msgSend_432Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_432 = __objc_msgSend_432Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_unmountVolumeAtURL_options_completionHandler_1 = - _registerName1("unmountVolumeAtURL:options:completionHandler:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_432 = + __objc_msgSend_432Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_unmountVolumeAtURL_options_completionHandler_1 = objc + .registerName("unmountVolumeAtURL:options:completionHandler:"); void _objc_msgSend_433( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer url, int mask, - ffi.Pointer<_ObjCBlock> completionHandler, + ffi.Pointer completionHandler, ) { - return __objc_msgSend_433( - obj, - sel, - url, - mask, - completionHandler, - ); + return __objc_msgSend_433(obj, sel, url, mask, completionHandler); } late final __objc_msgSend_433Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_433 = __objc_msgSend_433Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int, ffi.Pointer<_ObjCBlock>)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_433 = + __objc_msgSend_433Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ) + >(); late final _sel_contentsOfDirectoryAtURL_includingPropertiesForKeys_options_error_1 = - _registerName1( - "contentsOfDirectoryAtURL:includingPropertiesForKeys:options:error:"); - ffi.Pointer _objc_msgSend_434( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, - ffi.Pointer keys, + objc.registerName( + "contentsOfDirectoryAtURL:includingPropertiesForKeys:options:error:", + ); + ffi.Pointer _objc_msgSend_434( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer url, + ffi.Pointer keys, int mask, - ffi.Pointer> error, + ffi.Pointer> error, ) { - return __objc_msgSend_434( - obj, - sel, - url, - keys, - mask, - error, - ); + return __objc_msgSend_434(obj, sel, url, keys, mask, error); } late final __objc_msgSend_434Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_434 = __objc_msgSend_434Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>)>(); - - late final _sel_URLsForDirectory_inDomains_1 = - _registerName1("URLsForDirectory:inDomains:"); - ffi.Pointer _objc_msgSend_435( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_434 = + __objc_msgSend_434Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer>, + ) + >(); + + late final _sel_URLsForDirectory_inDomains_1 = objc.registerName( + "URLsForDirectory:inDomains:", + ); + ffi.Pointer _objc_msgSend_435( + ffi.Pointer obj, + ffi.Pointer sel, int directory, int domainMask, ) { - return __objc_msgSend_435( - obj, - sel, - directory, - domainMask, - ); + return __objc_msgSend_435(obj, sel, directory, domainMask); } late final __objc_msgSend_435Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Int32, ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_435 = __objc_msgSend_435Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer, int, int)>(); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_435 = + __objc_msgSend_435Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + int, + ) + >(); late final _sel_URLForDirectory_inDomain_appropriateForURL_create_error_1 = - _registerName1( - "URLForDirectory:inDomain:appropriateForURL:create:error:"); - ffi.Pointer _objc_msgSend_436( - ffi.Pointer obj, - ffi.Pointer sel, + objc.registerName( + "URLForDirectory:inDomain:appropriateForURL:create:error:", + ); + ffi.Pointer _objc_msgSend_436( + ffi.Pointer obj, + ffi.Pointer sel, int directory, int domain, - ffi.Pointer url, + ffi.Pointer url, bool shouldCreate, - ffi.Pointer> error, + ffi.Pointer> error, ) { return __objc_msgSend_436( obj, @@ -12384,34 +15566,41 @@ class AVFAudio { } late final __objc_msgSend_436Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Int32, - ffi.Pointer, - ffi.Bool, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_436 = __objc_msgSend_436Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - int, - ffi.Pointer, - bool, - ffi.Pointer>)>(); - - late final _sel_getRelationship_ofDirectoryAtURL_toItemAtURL_error_1 = - _registerName1("getRelationship:ofDirectoryAtURL:toItemAtURL:error:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Int32, + ffi.Pointer, + ffi.Bool, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_436 = + __objc_msgSend_436Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + int, + ffi.Pointer, + bool, + ffi.Pointer>, + ) + >(); + + late final _sel_getRelationship_ofDirectoryAtURL_toItemAtURL_error_1 = objc + .registerName("getRelationship:ofDirectoryAtURL:toItemAtURL:error:"); bool _objc_msgSend_437( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ffi.Pointer outRelationship, - ffi.Pointer directoryURL, - ffi.Pointer otherURL, - ffi.Pointer> error, + ffi.Pointer directoryURL, + ffi.Pointer otherURL, + ffi.Pointer> error, ) { return __objc_msgSend_437( obj, @@ -12424,33 +15613,42 @@ class AVFAudio { } late final __objc_msgSend_437Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_437 = + __objc_msgSend_437Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_437 = __objc_msgSend_437Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>(); + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + >(); late final _sel_getRelationship_ofDirectory_inDomain_toItemAtURL_error_1 = - _registerName1("getRelationship:ofDirectory:inDomain:toItemAtURL:error:"); + objc.registerName( + "getRelationship:ofDirectory:inDomain:toItemAtURL:error:", + ); bool _objc_msgSend_438( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ffi.Pointer outRelationship, int directory, int domainMask, - ffi.Pointer url, - ffi.Pointer> error, + ffi.Pointer url, + ffi.Pointer> error, ) { return __objc_msgSend_438( obj, @@ -12464,35 +15662,43 @@ class AVFAudio { } late final __objc_msgSend_438Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Int32, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_438 = + __objc_msgSend_438Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, ffi.Pointer, - ffi.Int32, - ffi.Int32, - ffi.Pointer, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_438 = __objc_msgSend_438Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - int, - ffi.Pointer, - ffi.Pointer>)>(); + int, + int, + ffi.Pointer, + ffi.Pointer>, + ) + >(); late final _sel_createDirectoryAtURL_withIntermediateDirectories_attributes_error_1 = - _registerName1( - "createDirectoryAtURL:withIntermediateDirectories:attributes:error:"); + objc.registerName( + "createDirectoryAtURL:withIntermediateDirectories:attributes:error:", + ); bool _objc_msgSend_439( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer url, bool createIntermediates, - ffi.Pointer attributes, - ffi.Pointer> error, + ffi.Pointer attributes, + ffi.Pointer> error, ) { return __objc_msgSend_439( obj, @@ -12505,103 +15711,114 @@ class AVFAudio { } late final __objc_msgSend_439Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - ffi.Pointer, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_439 = __objc_msgSend_439Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - ffi.Pointer, - ffi.Pointer>)>(); - - late final _sel_createSymbolicLinkAtURL_withDestinationURL_error_1 = - _registerName1("createSymbolicLinkAtURL:withDestinationURL:error:"); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_439 = + __objc_msgSend_439Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool, + ffi.Pointer, + ffi.Pointer>, + ) + >(); + + late final _sel_createSymbolicLinkAtURL_withDestinationURL_error_1 = objc + .registerName("createSymbolicLinkAtURL:withDestinationURL:error:"); bool _objc_msgSend_440( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, - ffi.Pointer destURL, - ffi.Pointer> error, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer url, + ffi.Pointer destURL, + ffi.Pointer> error, ) { - return __objc_msgSend_440( - obj, - sel, - url, - destURL, - error, - ); + return __objc_msgSend_440(obj, sel, url, destURL, error); } late final __objc_msgSend_440Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_440 = __objc_msgSend_440Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>(); - - late final _sel_delegate1 = _registerName1("delegate"); - late final _sel_setDelegate_1 = _registerName1("setDelegate:"); - late final _sel_setAttributes_ofItemAtPath_error_1 = - _registerName1("setAttributes:ofItemAtPath:error:"); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_440 = + __objc_msgSend_440Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + >(); + + late final _sel_delegate1 = objc.registerName("delegate"); + late final _sel_setDelegate_1 = objc.registerName("setDelegate:"); + late final _sel_setAttributes_ofItemAtPath_error_1 = objc.registerName( + "setAttributes:ofItemAtPath:error:", + ); bool _objc_msgSend_441( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer attributes, - ffi.Pointer path, - ffi.Pointer> error, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer attributes, + ffi.Pointer path, + ffi.Pointer> error, ) { - return __objc_msgSend_441( - obj, - sel, - attributes, - path, - error, - ); + return __objc_msgSend_441(obj, sel, attributes, path, error); } late final __objc_msgSend_441Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_441 = __objc_msgSend_441Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>(); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_441 = + __objc_msgSend_441Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + >(); late final _sel_createDirectoryAtPath_withIntermediateDirectories_attributes_error_1 = - _registerName1( - "createDirectoryAtPath:withIntermediateDirectories:attributes:error:"); + objc.registerName( + "createDirectoryAtPath:withIntermediateDirectories:attributes:error:", + ); bool _objc_msgSend_442( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer path, bool createIntermediates, - ffi.Pointer attributes, - ffi.Pointer> error, + ffi.Pointer attributes, + ffi.Pointer> error, ) { return __objc_msgSend_442( obj, @@ -12614,604 +15831,716 @@ class AVFAudio { } late final __objc_msgSend_442Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - ffi.Pointer, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_442 = __objc_msgSend_442Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - ffi.Pointer, - ffi.Pointer>)>(); - - late final _sel_contentsOfDirectoryAtPath_error_1 = - _registerName1("contentsOfDirectoryAtPath:error:"); - ffi.Pointer _objc_msgSend_443( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, - ffi.Pointer> error, - ) { - return __objc_msgSend_443( - obj, - sel, - path, - error, - ); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_442 = + __objc_msgSend_442Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool, + ffi.Pointer, + ffi.Pointer>, + ) + >(); + + late final _sel_contentsOfDirectoryAtPath_error_1 = objc.registerName( + "contentsOfDirectoryAtPath:error:", + ); + ffi.Pointer _objc_msgSend_443( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer path, + ffi.Pointer> error, + ) { + return __objc_msgSend_443(obj, sel, path, error); } late final __objc_msgSend_443Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_443 = __objc_msgSend_443Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>(); - - late final _sel_subpathsOfDirectoryAtPath_error_1 = - _registerName1("subpathsOfDirectoryAtPath:error:"); - late final _sel_attributesOfItemAtPath_error_1 = - _registerName1("attributesOfItemAtPath:error:"); - ffi.Pointer _objc_msgSend_444( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, - ffi.Pointer> error, - ) { - return __objc_msgSend_444( - obj, - sel, - path, - error, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_443 = + __objc_msgSend_443Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + >(); + + late final _sel_subpathsOfDirectoryAtPath_error_1 = objc.registerName( + "subpathsOfDirectoryAtPath:error:", + ); + late final _sel_attributesOfItemAtPath_error_1 = objc.registerName( + "attributesOfItemAtPath:error:", + ); + ffi.Pointer _objc_msgSend_444( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer path, + ffi.Pointer> error, + ) { + return __objc_msgSend_444(obj, sel, path, error); } late final __objc_msgSend_444Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_444 = __objc_msgSend_444Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>(); - - late final _sel_attributesOfFileSystemForPath_error_1 = - _registerName1("attributesOfFileSystemForPath:error:"); - late final _sel_createSymbolicLinkAtPath_withDestinationPath_error_1 = - _registerName1("createSymbolicLinkAtPath:withDestinationPath:error:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_444 = + __objc_msgSend_444Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + >(); + + late final _sel_attributesOfFileSystemForPath_error_1 = objc.registerName( + "attributesOfFileSystemForPath:error:", + ); + late final _sel_createSymbolicLinkAtPath_withDestinationPath_error_1 = objc + .registerName("createSymbolicLinkAtPath:withDestinationPath:error:"); bool _objc_msgSend_445( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, - ffi.Pointer destPath, - ffi.Pointer> error, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer path, + ffi.Pointer destPath, + ffi.Pointer> error, ) { - return __objc_msgSend_445( - obj, - sel, - path, - destPath, - error, - ); + return __objc_msgSend_445(obj, sel, path, destPath, error); } late final __objc_msgSend_445Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_445 = __objc_msgSend_445Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>(); - - late final _sel_destinationOfSymbolicLinkAtPath_error_1 = - _registerName1("destinationOfSymbolicLinkAtPath:error:"); - ffi.Pointer _objc_msgSend_446( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, - ffi.Pointer> error, - ) { - return __objc_msgSend_446( - obj, - sel, - path, - error, - ); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_445 = + __objc_msgSend_445Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + >(); + + late final _sel_destinationOfSymbolicLinkAtPath_error_1 = objc.registerName( + "destinationOfSymbolicLinkAtPath:error:", + ); + ffi.Pointer _objc_msgSend_446( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer path, + ffi.Pointer> error, + ) { + return __objc_msgSend_446(obj, sel, path, error); } late final __objc_msgSend_446Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_446 = __objc_msgSend_446Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>(); - - late final _sel_copyItemAtPath_toPath_error_1 = - _registerName1("copyItemAtPath:toPath:error:"); - late final _sel_moveItemAtPath_toPath_error_1 = - _registerName1("moveItemAtPath:toPath:error:"); - late final _sel_linkItemAtPath_toPath_error_1 = - _registerName1("linkItemAtPath:toPath:error:"); - late final _sel_removeItemAtPath_error_1 = - _registerName1("removeItemAtPath:error:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_446 = + __objc_msgSend_446Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + >(); + + late final _sel_copyItemAtPath_toPath_error_1 = objc.registerName( + "copyItemAtPath:toPath:error:", + ); + late final _sel_moveItemAtPath_toPath_error_1 = objc.registerName( + "moveItemAtPath:toPath:error:", + ); + late final _sel_linkItemAtPath_toPath_error_1 = objc.registerName( + "linkItemAtPath:toPath:error:", + ); + late final _sel_removeItemAtPath_error_1 = objc.registerName( + "removeItemAtPath:error:", + ); bool _objc_msgSend_447( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, - ffi.Pointer> error, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer path, + ffi.Pointer> error, ) { - return __objc_msgSend_447( - obj, - sel, - path, - error, - ); + return __objc_msgSend_447(obj, sel, path, error); } late final __objc_msgSend_447Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_447 = __objc_msgSend_447Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer>)>(); - - late final _sel_copyItemAtURL_toURL_error_1 = - _registerName1("copyItemAtURL:toURL:error:"); - late final _sel_moveItemAtURL_toURL_error_1 = - _registerName1("moveItemAtURL:toURL:error:"); - late final _sel_linkItemAtURL_toURL_error_1 = - _registerName1("linkItemAtURL:toURL:error:"); - late final _sel_removeItemAtURL_error_1 = - _registerName1("removeItemAtURL:error:"); - late final _sel_trashItemAtURL_resultingItemURL_error_1 = - _registerName1("trashItemAtURL:resultingItemURL:error:"); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_447 = + __objc_msgSend_447Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + >(); + + late final _sel_copyItemAtURL_toURL_error_1 = objc.registerName( + "copyItemAtURL:toURL:error:", + ); + late final _sel_moveItemAtURL_toURL_error_1 = objc.registerName( + "moveItemAtURL:toURL:error:", + ); + late final _sel_linkItemAtURL_toURL_error_1 = objc.registerName( + "linkItemAtURL:toURL:error:", + ); + late final _sel_removeItemAtURL_error_1 = objc.registerName( + "removeItemAtURL:error:", + ); + late final _sel_trashItemAtURL_resultingItemURL_error_1 = objc.registerName( + "trashItemAtURL:resultingItemURL:error:", + ); bool _objc_msgSend_448( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, - ffi.Pointer> outResultingURL, - ffi.Pointer> error, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer url, + ffi.Pointer> outResultingURL, + ffi.Pointer> error, ) { - return __objc_msgSend_448( - obj, - sel, - url, - outResultingURL, - error, - ); + return __objc_msgSend_448(obj, sel, url, outResultingURL, error); } late final __objc_msgSend_448Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_448 = __objc_msgSend_448Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer>)>(); - - late final _sel_fileAttributesAtPath_traverseLink_1 = - _registerName1("fileAttributesAtPath:traverseLink:"); - ffi.Pointer _objc_msgSend_449( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_448 = + __objc_msgSend_448Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer>, + ) + >(); + + late final _sel_fileAttributesAtPath_traverseLink_1 = objc.registerName( + "fileAttributesAtPath:traverseLink:", + ); + ffi.Pointer _objc_msgSend_449( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer path, bool yorn, ) { - return __objc_msgSend_449( - obj, - sel, - path, - yorn, - ); + return __objc_msgSend_449(obj, sel, path, yorn); } late final __objc_msgSend_449Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Bool)>>('objc_msgSend'); - late final __objc_msgSend_449 = __objc_msgSend_449Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer, bool)>(); - - late final _sel_changeFileAttributes_atPath_1 = - _registerName1("changeFileAttributes:atPath:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_449 = + __objc_msgSend_449Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool, + ) + >(); + + late final _sel_changeFileAttributes_atPath_1 = objc.registerName( + "changeFileAttributes:atPath:", + ); bool _objc_msgSend_450( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer attributes, - ffi.Pointer path, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer attributes, + ffi.Pointer path, ) { - return __objc_msgSend_450( - obj, - sel, - attributes, - path, - ); + return __objc_msgSend_450(obj, sel, attributes, path); } late final __objc_msgSend_450Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_450 = __objc_msgSend_450Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_directoryContentsAtPath_1 = - _registerName1("directoryContentsAtPath:"); - late final _sel_fileSystemAttributesAtPath_1 = - _registerName1("fileSystemAttributesAtPath:"); - late final _sel_pathContentOfSymbolicLinkAtPath_1 = - _registerName1("pathContentOfSymbolicLinkAtPath:"); - late final _sel_createSymbolicLinkAtPath_pathContent_1 = - _registerName1("createSymbolicLinkAtPath:pathContent:"); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_450 = + __objc_msgSend_450Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_directoryContentsAtPath_1 = objc.registerName( + "directoryContentsAtPath:", + ); + late final _sel_fileSystemAttributesAtPath_1 = objc.registerName( + "fileSystemAttributesAtPath:", + ); + late final _sel_pathContentOfSymbolicLinkAtPath_1 = objc.registerName( + "pathContentOfSymbolicLinkAtPath:", + ); + late final _sel_createSymbolicLinkAtPath_pathContent_1 = objc.registerName( + "createSymbolicLinkAtPath:pathContent:", + ); bool _objc_msgSend_451( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, - ffi.Pointer otherpath, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer path, + ffi.Pointer otherpath, ) { - return __objc_msgSend_451( - obj, - sel, - path, - otherpath, - ); + return __objc_msgSend_451(obj, sel, path, otherpath); } late final __objc_msgSend_451Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_451 = __objc_msgSend_451Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_createDirectoryAtPath_attributes_1 = - _registerName1("createDirectoryAtPath:attributes:"); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_451 = + __objc_msgSend_451Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_createDirectoryAtPath_attributes_1 = objc.registerName( + "createDirectoryAtPath:attributes:", + ); bool _objc_msgSend_452( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, - ffi.Pointer attributes, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer path, + ffi.Pointer attributes, ) { - return __objc_msgSend_452( - obj, - sel, - path, - attributes, - ); + return __objc_msgSend_452(obj, sel, path, attributes); } late final __objc_msgSend_452Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_452 = __objc_msgSend_452Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_linkPath_toPath_handler_1 = - _registerName1("linkPath:toPath:handler:"); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_452 = + __objc_msgSend_452Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_linkPath_toPath_handler_1 = objc.registerName( + "linkPath:toPath:handler:", + ); bool _objc_msgSend_453( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer src, - ffi.Pointer dest, - ffi.Pointer handler, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer src, + ffi.Pointer dest, + ffi.Pointer handler, ) { - return __objc_msgSend_453( - obj, - sel, - src, - dest, - handler, - ); + return __objc_msgSend_453(obj, sel, src, dest, handler); } late final __objc_msgSend_453Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_453 = __objc_msgSend_453Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_copyPath_toPath_handler_1 = - _registerName1("copyPath:toPath:handler:"); - late final _sel_movePath_toPath_handler_1 = - _registerName1("movePath:toPath:handler:"); - late final _sel_removeFileAtPath_handler_1 = - _registerName1("removeFileAtPath:handler:"); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_453 = + __objc_msgSend_453Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_copyPath_toPath_handler_1 = objc.registerName( + "copyPath:toPath:handler:", + ); + late final _sel_movePath_toPath_handler_1 = objc.registerName( + "movePath:toPath:handler:", + ); + late final _sel_removeFileAtPath_handler_1 = objc.registerName( + "removeFileAtPath:handler:", + ); bool _objc_msgSend_454( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, - ffi.Pointer handler, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer path, + ffi.Pointer handler, ) { - return __objc_msgSend_454( - obj, - sel, - path, - handler, - ); + return __objc_msgSend_454(obj, sel, path, handler); } late final __objc_msgSend_454Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_454 = __objc_msgSend_454Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_currentDirectoryPath1 = - _registerName1("currentDirectoryPath"); - late final _sel_changeCurrentDirectoryPath_1 = - _registerName1("changeCurrentDirectoryPath:"); - late final _sel_fileExistsAtPath_1 = _registerName1("fileExistsAtPath:"); - late final _sel_fileExistsAtPath_isDirectory_1 = - _registerName1("fileExistsAtPath:isDirectory:"); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_454 = + __objc_msgSend_454Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_currentDirectoryPath1 = objc.registerName( + "currentDirectoryPath", + ); + late final _sel_changeCurrentDirectoryPath_1 = objc.registerName( + "changeCurrentDirectoryPath:", + ); + late final _sel_fileExistsAtPath_1 = objc.registerName("fileExistsAtPath:"); + late final _sel_fileExistsAtPath_isDirectory_1 = objc.registerName( + "fileExistsAtPath:isDirectory:", + ); bool _objc_msgSend_455( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer path, ffi.Pointer isDirectory, ) { - return __objc_msgSend_455( - obj, - sel, - path, - isDirectory, - ); + return __objc_msgSend_455(obj, sel, path, isDirectory); } late final __objc_msgSend_455Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_455 = __objc_msgSend_455Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_isReadableFileAtPath_1 = - _registerName1("isReadableFileAtPath:"); - late final _sel_isWritableFileAtPath_1 = - _registerName1("isWritableFileAtPath:"); - late final _sel_isExecutableFileAtPath_1 = - _registerName1("isExecutableFileAtPath:"); - late final _sel_isDeletableFileAtPath_1 = - _registerName1("isDeletableFileAtPath:"); - late final _sel_contentsEqualAtPath_andPath_1 = - _registerName1("contentsEqualAtPath:andPath:"); - late final _sel_displayNameAtPath_1 = _registerName1("displayNameAtPath:"); - late final _sel_componentsToDisplayForPath_1 = - _registerName1("componentsToDisplayForPath:"); - late final _sel_enumeratorAtPath_1 = _registerName1("enumeratorAtPath:"); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_455 = + __objc_msgSend_455Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_isReadableFileAtPath_1 = objc.registerName( + "isReadableFileAtPath:", + ); + late final _sel_isWritableFileAtPath_1 = objc.registerName( + "isWritableFileAtPath:", + ); + late final _sel_isExecutableFileAtPath_1 = objc.registerName( + "isExecutableFileAtPath:", + ); + late final _sel_isDeletableFileAtPath_1 = objc.registerName( + "isDeletableFileAtPath:", + ); + late final _sel_contentsEqualAtPath_andPath_1 = objc.registerName( + "contentsEqualAtPath:andPath:", + ); + late final _sel_displayNameAtPath_1 = objc.registerName("displayNameAtPath:"); + late final _sel_componentsToDisplayForPath_1 = objc.registerName( + "componentsToDisplayForPath:", + ); + late final _sel_enumeratorAtPath_1 = objc.registerName("enumeratorAtPath:"); late final _sel_enumeratorAtURL_includingPropertiesForKeys_options_errorHandler_1 = - _registerName1( - "enumeratorAtURL:includingPropertiesForKeys:options:errorHandler:"); - ffi.Pointer _objc_msgSend_456( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, - ffi.Pointer keys, + objc.registerName( + "enumeratorAtURL:includingPropertiesForKeys:options:errorHandler:", + ); + ffi.Pointer _objc_msgSend_456( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer url, + ffi.Pointer keys, int mask, - ffi.Pointer<_ObjCBlock> handler, + ffi.Pointer handler, ) { - return __objc_msgSend_456( - obj, - sel, - url, - keys, - mask, - handler, - ); + return __objc_msgSend_456(obj, sel, url, keys, mask, handler); } late final __objc_msgSend_456Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_456 = __objc_msgSend_456Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_subpathsAtPath_1 = _registerName1("subpathsAtPath:"); - late final _sel_contentsAtPath_1 = _registerName1("contentsAtPath:"); - ffi.Pointer _objc_msgSend_457( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, - ) { - return __objc_msgSend_457( - obj, - sel, - path, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_456 = + __objc_msgSend_456Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ) + >(); + + late final _sel_subpathsAtPath_1 = objc.registerName("subpathsAtPath:"); + late final _sel_contentsAtPath_1 = objc.registerName("contentsAtPath:"); + ffi.Pointer _objc_msgSend_457( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer path, + ) { + return __objc_msgSend_457(obj, sel, path); } late final __objc_msgSend_457Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_457 = __objc_msgSend_457Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_createFileAtPath_contents_attributes_1 = - _registerName1("createFileAtPath:contents:attributes:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_457 = + __objc_msgSend_457Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_createFileAtPath_contents_attributes_1 = objc.registerName( + "createFileAtPath:contents:attributes:", + ); bool _objc_msgSend_458( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, - ffi.Pointer data, - ffi.Pointer attr, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer path, + ffi.Pointer data, + ffi.Pointer attr, ) { - return __objc_msgSend_458( - obj, - sel, - path, - data, - attr, - ); + return __objc_msgSend_458(obj, sel, path, data, attr); } late final __objc_msgSend_458Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_458 = __objc_msgSend_458Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_fileSystemRepresentationWithPath_1 = - _registerName1("fileSystemRepresentationWithPath:"); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_458 = + __objc_msgSend_458Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_fileSystemRepresentationWithPath_1 = objc.registerName( + "fileSystemRepresentationWithPath:", + ); ffi.Pointer _objc_msgSend_459( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer path, ) { - return __objc_msgSend_459( - obj, - sel, - path, - ); + return __objc_msgSend_459(obj, sel, path); } late final __objc_msgSend_459Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_459 = __objc_msgSend_459Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_stringWithFileSystemRepresentation_length_1 = - _registerName1("stringWithFileSystemRepresentation:length:"); - ffi.Pointer _objc_msgSend_460( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_459 = + __objc_msgSend_459Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_stringWithFileSystemRepresentation_length_1 = objc + .registerName("stringWithFileSystemRepresentation:length:"); + ffi.Pointer _objc_msgSend_460( + ffi.Pointer obj, + ffi.Pointer sel, ffi.Pointer str, int len, ) { - return __objc_msgSend_460( - obj, - sel, - str, - len, - ); + return __objc_msgSend_460(obj, sel, str, len); } late final __objc_msgSend_460Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_460 = + __objc_msgSend_460Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong)>>('objc_msgSend'); - late final __objc_msgSend_460 = __objc_msgSend_460Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer, int)>(); + int, + ) + >(); late final _sel_replaceItemAtURL_withItemAtURL_backupItemName_options_resultingItemURL_error_1 = - _registerName1( - "replaceItemAtURL:withItemAtURL:backupItemName:options:resultingItemURL:error:"); + objc.registerName( + "replaceItemAtURL:withItemAtURL:backupItemName:options:resultingItemURL:error:", + ); bool _objc_msgSend_461( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer originalItemURL, - ffi.Pointer newItemURL, - ffi.Pointer backupItemName, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer originalItemURL, + ffi.Pointer newItemURL, + ffi.Pointer backupItemName, int options, - ffi.Pointer> resultingURL, - ffi.Pointer> error, + ffi.Pointer> resultingURL, + ffi.Pointer> error, ) { return __objc_msgSend_461( obj, @@ -13226,1550 +16555,2009 @@ class AVFAudio { } late final __objc_msgSend_461Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer>, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_461 = __objc_msgSend_461Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>, - ffi.Pointer>)>(); - - late final _sel_setUbiquitous_itemAtURL_destinationURL_error_1 = - _registerName1("setUbiquitous:itemAtURL:destinationURL:error:"); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer>, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_461 = + __objc_msgSend_461Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer>, + ffi.Pointer>, + ) + >(); + + late final _sel_setUbiquitous_itemAtURL_destinationURL_error_1 = objc + .registerName("setUbiquitous:itemAtURL:destinationURL:error:"); bool _objc_msgSend_462( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, bool flag, - ffi.Pointer url, - ffi.Pointer destinationURL, - ffi.Pointer> error, + ffi.Pointer url, + ffi.Pointer destinationURL, + ffi.Pointer> error, ) { - return __objc_msgSend_462( - obj, - sel, - flag, - url, - destinationURL, - error, - ); + return __objc_msgSend_462(obj, sel, flag, url, destinationURL, error); } late final __objc_msgSend_462Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_462 = __objc_msgSend_462Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - bool, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>(); - - late final _sel_isUbiquitousItemAtURL_1 = - _registerName1("isUbiquitousItemAtURL:"); - late final _sel_startDownloadingUbiquitousItemAtURL_error_1 = - _registerName1("startDownloadingUbiquitousItemAtURL:error:"); - late final _sel_evictUbiquitousItemAtURL_error_1 = - _registerName1("evictUbiquitousItemAtURL:error:"); - late final _sel_URLForUbiquityContainerIdentifier_1 = - _registerName1("URLForUbiquityContainerIdentifier:"); - ffi.Pointer _objc_msgSend_463( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer containerIdentifier, - ) { - return __objc_msgSend_463( - obj, - sel, - containerIdentifier, - ); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_462 = + __objc_msgSend_462Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + bool, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + >(); + + late final _sel_isUbiquitousItemAtURL_1 = objc.registerName( + "isUbiquitousItemAtURL:", + ); + late final _sel_startDownloadingUbiquitousItemAtURL_error_1 = objc + .registerName("startDownloadingUbiquitousItemAtURL:error:"); + late final _sel_evictUbiquitousItemAtURL_error_1 = objc.registerName( + "evictUbiquitousItemAtURL:error:", + ); + late final _sel_URLForUbiquityContainerIdentifier_1 = objc.registerName( + "URLForUbiquityContainerIdentifier:", + ); + ffi.Pointer _objc_msgSend_463( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer containerIdentifier, + ) { + return __objc_msgSend_463(obj, sel, containerIdentifier); } late final __objc_msgSend_463Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_463 = __objc_msgSend_463Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_463 = + __objc_msgSend_463Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_URLForPublishingUbiquitousItemAtURL_expirationDate_error_1 = - _registerName1( - "URLForPublishingUbiquitousItemAtURL:expirationDate:error:"); - ffi.Pointer _objc_msgSend_464( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, - ffi.Pointer> outDate, - ffi.Pointer> error, - ) { - return __objc_msgSend_464( - obj, - sel, - url, - outDate, - error, - ); + objc.registerName( + "URLForPublishingUbiquitousItemAtURL:expirationDate:error:", + ); + ffi.Pointer _objc_msgSend_464( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer url, + ffi.Pointer> outDate, + ffi.Pointer> error, + ) { + return __objc_msgSend_464(obj, sel, url, outDate, error); } late final __objc_msgSend_464Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_464 = __objc_msgSend_464Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer>)>(); - - late final _sel_ubiquityIdentityToken1 = - _registerName1("ubiquityIdentityToken"); - late final _sel_getFileProviderServicesForItemAtURL_completionHandler_1 = - _registerName1("getFileProviderServicesForItemAtURL:completionHandler:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_464 = + __objc_msgSend_464Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer>, + ) + >(); + + late final _sel_ubiquityIdentityToken1 = objc.registerName( + "ubiquityIdentityToken", + ); + late final _sel_getFileProviderServicesForItemAtURL_completionHandler_1 = objc + .registerName("getFileProviderServicesForItemAtURL:completionHandler:"); void _objc_msgSend_465( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, - ffi.Pointer<_ObjCBlock> completionHandler, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer url, + ffi.Pointer completionHandler, ) { - return __objc_msgSend_465( - obj, - sel, - url, - completionHandler, - ); + return __objc_msgSend_465(obj, sel, url, completionHandler); } late final __objc_msgSend_465Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_465 = __objc_msgSend_465Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_containerURLForSecurityApplicationGroupIdentifier_1 = - _registerName1("containerURLForSecurityApplicationGroupIdentifier:"); - late final _sel_homeDirectoryForCurrentUser1 = - _registerName1("homeDirectoryForCurrentUser"); - ffi.Pointer _objc_msgSend_466( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_466( - obj, - sel, - ); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_465 = + __objc_msgSend_465Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_containerURLForSecurityApplicationGroupIdentifier_1 = objc + .registerName("containerURLForSecurityApplicationGroupIdentifier:"); + late final _sel_homeDirectoryForCurrentUser1 = objc.registerName( + "homeDirectoryForCurrentUser", + ); + ffi.Pointer _objc_msgSend_466( + ffi.Pointer obj, + ffi.Pointer sel, + ) { + return __objc_msgSend_466(obj, sel); } late final __objc_msgSend_466Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_466 = __objc_msgSend_466Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_temporaryDirectory1 = _registerName1("temporaryDirectory"); - late final _sel_homeDirectoryForUser_1 = - _registerName1("homeDirectoryForUser:"); - late final _sel_fileManager_shouldProceedAfterError_1 = - _registerName1("fileManager:shouldProceedAfterError:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_466 = + __objc_msgSend_466Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_temporaryDirectory1 = objc.registerName("temporaryDirectory"); + late final _sel_homeDirectoryForUser_1 = objc.registerName( + "homeDirectoryForUser:", + ); + late final _sel_fileManager_shouldProceedAfterError_1 = objc.registerName( + "fileManager:shouldProceedAfterError:", + ); bool _objc_msgSend_467( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer fm, - ffi.Pointer errorInfo, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer fm, + ffi.Pointer errorInfo, ) { - return __objc_msgSend_467( - obj, - sel, - fm, - errorInfo, - ); + return __objc_msgSend_467(obj, sel, fm, errorInfo); } late final __objc_msgSend_467Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_467 = __objc_msgSend_467Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_fileManager_willProcessPath_1 = - _registerName1("fileManager:willProcessPath:"); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_467 = + __objc_msgSend_467Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_fileManager_willProcessPath_1 = objc.registerName( + "fileManager:willProcessPath:", + ); void _objc_msgSend_468( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer fm, - ffi.Pointer path, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer fm, + ffi.Pointer path, ) { - return __objc_msgSend_468( - obj, - sel, - fm, - path, - ); + return __objc_msgSend_468(obj, sel, fm, path); } late final __objc_msgSend_468Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_468 = __objc_msgSend_468Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_validateValue_forKey_error_1 = - _registerName1("validateValue:forKey:error:"); - late final _class_NSMutableArray1 = _getClass1("NSMutableArray"); - late final _sel_addObject_1 = _registerName1("addObject:"); - late final _sel_insertObject_atIndex_1 = - _registerName1("insertObject:atIndex:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_468 = + __objc_msgSend_468Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_validateValue_forKey_error_1 = objc.registerName( + "validateValue:forKey:error:", + ); + late final _class_NSMutableArray1 = objc.getClass("NSMutableArray"); + late final _sel_addObject_1 = objc.registerName("addObject:"); + late final _sel_insertObject_atIndex_1 = objc.registerName( + "insertObject:atIndex:", + ); void _objc_msgSend_469( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer anObject, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer anObject, int index, ) { - return __objc_msgSend_469( - obj, - sel, - anObject, - index, - ); + return __objc_msgSend_469(obj, sel, anObject, index); } late final __objc_msgSend_469Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.UnsignedLong)>>('objc_msgSend'); - late final __objc_msgSend_469 = __objc_msgSend_469Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int)>(); - - late final _sel_removeLastObject1 = _registerName1("removeLastObject"); - late final _sel_removeObjectAtIndex_1 = - _registerName1("removeObjectAtIndex:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_469 = + __objc_msgSend_469Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_removeLastObject1 = objc.registerName("removeLastObject"); + late final _sel_removeObjectAtIndex_1 = objc.registerName( + "removeObjectAtIndex:", + ); void _objc_msgSend_470( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int index, ) { - return __objc_msgSend_470( - obj, - sel, - index, - ); + return __objc_msgSend_470(obj, sel, index); } late final __objc_msgSend_470Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong)>>('objc_msgSend'); - late final __objc_msgSend_470 = __objc_msgSend_470Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_replaceObjectAtIndex_withObject_1 = - _registerName1("replaceObjectAtIndex:withObject:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_470 = + __objc_msgSend_470Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_replaceObjectAtIndex_withObject_1 = objc.registerName( + "replaceObjectAtIndex:withObject:", + ); void _objc_msgSend_471( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int index, - ffi.Pointer anObject, + ffi.Pointer anObject, ) { - return __objc_msgSend_471( - obj, - sel, - index, - anObject, - ); + return __objc_msgSend_471(obj, sel, index, anObject); } late final __objc_msgSend_471Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_471 = __objc_msgSend_471Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int, - ffi.Pointer)>(); - - late final _sel_initWithCapacity_1 = _registerName1("initWithCapacity:"); - late final _sel_addObjectsFromArray_1 = - _registerName1("addObjectsFromArray:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_471 = + __objc_msgSend_471Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ) + >(); + + late final _sel_initWithCapacity_1 = objc.registerName("initWithCapacity:"); + late final _sel_addObjectsFromArray_1 = objc.registerName( + "addObjectsFromArray:", + ); void _objc_msgSend_472( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer otherArray, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer otherArray, ) { - return __objc_msgSend_472( - obj, - sel, - otherArray, - ); + return __objc_msgSend_472(obj, sel, otherArray); } late final __objc_msgSend_472Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_472 = __objc_msgSend_472Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_exchangeObjectAtIndex_withObjectAtIndex_1 = - _registerName1("exchangeObjectAtIndex:withObjectAtIndex:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_472 = + __objc_msgSend_472Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_exchangeObjectAtIndex_withObjectAtIndex_1 = objc.registerName( + "exchangeObjectAtIndex:withObjectAtIndex:", + ); void _objc_msgSend_473( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int idx1, int idx2, ) { - return __objc_msgSend_473( - obj, - sel, - idx1, - idx2, - ); + return __objc_msgSend_473(obj, sel, idx1, idx2); } late final __objc_msgSend_473Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, ffi.UnsignedLong)>>('objc_msgSend'); - late final __objc_msgSend_473 = __objc_msgSend_473Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int, int)>(); - - late final _sel_removeAllObjects1 = _registerName1("removeAllObjects"); - late final _sel_removeObject_inRange_1 = - _registerName1("removeObject:inRange:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_473 = + __objc_msgSend_473Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + int, + ) + >(); + + late final _sel_removeAllObjects1 = objc.registerName("removeAllObjects"); + late final _sel_removeObject_inRange_1 = objc.registerName( + "removeObject:inRange:", + ); void _objc_msgSend_474( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer anObject, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer anObject, _NSRange range, ) { - return __objc_msgSend_474( - obj, - sel, - anObject, - range, - ); + return __objc_msgSend_474(obj, sel, anObject, range); } late final __objc_msgSend_474Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, _NSRange)>>('objc_msgSend'); - late final __objc_msgSend_474 = __objc_msgSend_474Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, _NSRange)>(); - - late final _sel_removeObject_1 = _registerName1("removeObject:"); - late final _sel_removeObjectIdenticalTo_inRange_1 = - _registerName1("removeObjectIdenticalTo:inRange:"); - late final _sel_removeObjectIdenticalTo_1 = - _registerName1("removeObjectIdenticalTo:"); - late final _sel_removeObjectsFromIndices_numIndices_1 = - _registerName1("removeObjectsFromIndices:numIndices:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_474 = + __objc_msgSend_474Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange, + ) + >(); + + late final _sel_removeObject_1 = objc.registerName("removeObject:"); + late final _sel_removeObjectIdenticalTo_inRange_1 = objc.registerName( + "removeObjectIdenticalTo:inRange:", + ); + late final _sel_removeObjectIdenticalTo_1 = objc.registerName( + "removeObjectIdenticalTo:", + ); + late final _sel_removeObjectsFromIndices_numIndices_1 = objc.registerName( + "removeObjectsFromIndices:numIndices:", + ); void _objc_msgSend_475( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ffi.Pointer indices, int cnt, ) { - return __objc_msgSend_475( - obj, - sel, - indices, - cnt, - ); + return __objc_msgSend_475(obj, sel, indices, cnt); } late final __objc_msgSend_475Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_475 = + __objc_msgSend_475Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong)>>('objc_msgSend'); - late final __objc_msgSend_475 = __objc_msgSend_475Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int)>(); - - late final _sel_removeObjectsInArray_1 = - _registerName1("removeObjectsInArray:"); - late final _sel_removeObjectsInRange_1 = - _registerName1("removeObjectsInRange:"); + int, + ) + >(); + + late final _sel_removeObjectsInArray_1 = objc.registerName( + "removeObjectsInArray:", + ); + late final _sel_removeObjectsInRange_1 = objc.registerName( + "removeObjectsInRange:", + ); void _objc_msgSend_476( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, _NSRange range, ) { - return __objc_msgSend_476( - obj, - sel, - range, - ); + return __objc_msgSend_476(obj, sel, range); } late final __objc_msgSend_476Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - _NSRange)>>('objc_msgSend'); - late final __objc_msgSend_476 = __objc_msgSend_476Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, _NSRange)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_476 = + __objc_msgSend_476Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ) + >(); - late final _sel_replaceObjectsInRange_withObjectsFromArray_range_1 = - _registerName1("replaceObjectsInRange:withObjectsFromArray:range:"); + late final _sel_replaceObjectsInRange_withObjectsFromArray_range_1 = objc + .registerName("replaceObjectsInRange:withObjectsFromArray:range:"); void _objc_msgSend_477( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, _NSRange range, - ffi.Pointer otherArray, + ffi.Pointer otherArray, _NSRange otherRange, ) { - return __objc_msgSend_477( - obj, - sel, - range, - otherArray, - otherRange, - ); + return __objc_msgSend_477(obj, sel, range, otherArray, otherRange); } late final __objc_msgSend_477Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - _NSRange, ffi.Pointer, _NSRange)>>('objc_msgSend'); - late final __objc_msgSend_477 = __objc_msgSend_477Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, _NSRange, - ffi.Pointer, _NSRange)>(); - - late final _sel_replaceObjectsInRange_withObjectsFromArray_1 = - _registerName1("replaceObjectsInRange:withObjectsFromArray:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + _NSRange, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_477 = + __objc_msgSend_477Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + _NSRange, + ) + >(); + + late final _sel_replaceObjectsInRange_withObjectsFromArray_1 = objc + .registerName("replaceObjectsInRange:withObjectsFromArray:"); void _objc_msgSend_478( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, _NSRange range, - ffi.Pointer otherArray, + ffi.Pointer otherArray, ) { - return __objc_msgSend_478( - obj, - sel, - range, - otherArray, - ); + return __objc_msgSend_478(obj, sel, range, otherArray); } late final __objc_msgSend_478Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - _NSRange, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_478 = __objc_msgSend_478Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, _NSRange, - ffi.Pointer)>(); - - late final _sel_setArray_1 = _registerName1("setArray:"); - late final _sel_sortUsingFunction_context_1 = - _registerName1("sortUsingFunction:context:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_478 = + __objc_msgSend_478Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + ) + >(); + + late final _sel_setArray_1 = objc.registerName("setArray:"); + late final _sel_sortUsingFunction_context_1 = objc.registerName( + "sortUsingFunction:context:", + ); void _objc_msgSend_479( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ffi.Pointer< - ffi.NativeFunction< - ffi.Long Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>> - compare, + ffi.NativeFunction< + ffi.Long Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + > compare, ffi.Pointer context, ) { - return __objc_msgSend_479( - obj, - sel, - compare, - context, - ); + return __objc_msgSend_479(obj, sel, compare, context); } late final __objc_msgSend_479Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.Long Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_479 = + __objc_msgSend_479Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, ffi.Pointer< - ffi.NativeFunction< - ffi.Long Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_479 = __objc_msgSend_479Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.Long Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>, - ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Long Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >, + ffi.Pointer, + ) + >(); - late final _sel_sortUsingSelector_1 = _registerName1("sortUsingSelector:"); - late final _sel_insertObjects_atIndexes_1 = - _registerName1("insertObjects:atIndexes:"); + late final _sel_sortUsingSelector_1 = objc.registerName("sortUsingSelector:"); + late final _sel_insertObjects_atIndexes_1 = objc.registerName( + "insertObjects:atIndexes:", + ); void _objc_msgSend_480( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer objects, - ffi.Pointer indexes, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer objects, + ffi.Pointer indexes, ) { - return __objc_msgSend_480( - obj, - sel, - objects, - indexes, - ); + return __objc_msgSend_480(obj, sel, objects, indexes); } late final __objc_msgSend_480Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_480 = __objc_msgSend_480Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_removeObjectsAtIndexes_1 = - _registerName1("removeObjectsAtIndexes:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_480 = + __objc_msgSend_480Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_removeObjectsAtIndexes_1 = objc.registerName( + "removeObjectsAtIndexes:", + ); void _objc_msgSend_481( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer indexes, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer indexes, ) { - return __objc_msgSend_481( - obj, - sel, - indexes, - ); + return __objc_msgSend_481(obj, sel, indexes); } late final __objc_msgSend_481Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_481 = __objc_msgSend_481Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_replaceObjectsAtIndexes_withObjects_1 = - _registerName1("replaceObjectsAtIndexes:withObjects:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_481 = + __objc_msgSend_481Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_replaceObjectsAtIndexes_withObjects_1 = objc.registerName( + "replaceObjectsAtIndexes:withObjects:", + ); void _objc_msgSend_482( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer indexes, - ffi.Pointer objects, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer indexes, + ffi.Pointer objects, ) { - return __objc_msgSend_482( - obj, - sel, - indexes, - objects, - ); + return __objc_msgSend_482(obj, sel, indexes, objects); } late final __objc_msgSend_482Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_482 = __objc_msgSend_482Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_setObject_atIndexedSubscript_1 = - _registerName1("setObject:atIndexedSubscript:"); - late final _sel_sortUsingComparator_1 = - _registerName1("sortUsingComparator:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_482 = + __objc_msgSend_482Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_setObject_atIndexedSubscript_1 = objc.registerName( + "setObject:atIndexedSubscript:", + ); + late final _sel_sortUsingComparator_1 = objc.registerName( + "sortUsingComparator:", + ); void _objc_msgSend_483( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer<_ObjCBlock> cmptr, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer cmptr, ) { - return __objc_msgSend_483( - obj, - sel, - cmptr, - ); + return __objc_msgSend_483(obj, sel, cmptr); } late final __objc_msgSend_483Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_483 = __objc_msgSend_483Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_sortWithOptions_usingComparator_1 = - _registerName1("sortWithOptions:usingComparator:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_483 = + __objc_msgSend_483Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_sortWithOptions_usingComparator_1 = objc.registerName( + "sortWithOptions:usingComparator:", + ); void _objc_msgSend_484( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int opts, - ffi.Pointer<_ObjCBlock> cmptr, + ffi.Pointer cmptr, ) { - return __objc_msgSend_484( - obj, - sel, - opts, - cmptr, - ); + return __objc_msgSend_484(obj, sel, opts, cmptr); } late final __objc_msgSend_484Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Int32, ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_484 = __objc_msgSend_484Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int, - ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_arrayWithCapacity_1 = _registerName1("arrayWithCapacity:"); - ffi.Pointer _objc_msgSend_485( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, - ) { - return __objc_msgSend_485( - obj, - sel, - path, - ); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_484 = + __objc_msgSend_484Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ) + >(); + + late final _sel_arrayWithCapacity_1 = objc.registerName("arrayWithCapacity:"); + ffi.Pointer _objc_msgSend_485( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer path, + ) { + return __objc_msgSend_485(obj, sel, path); } late final __objc_msgSend_485Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_485 = __objc_msgSend_485Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - ffi.Pointer _objc_msgSend_486( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, - ) { - return __objc_msgSend_486( - obj, - sel, - url, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_485 = + __objc_msgSend_485Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + ffi.Pointer _objc_msgSend_486( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer url, + ) { + return __objc_msgSend_486(obj, sel, url); } late final __objc_msgSend_486Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_486 = __objc_msgSend_486Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_applyDifference_1 = _registerName1("applyDifference:"); - late final _sel_sortUsingDescriptors_1 = - _registerName1("sortUsingDescriptors:"); - late final _sel_filterUsingPredicate_1 = - _registerName1("filterUsingPredicate:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_486 = + __objc_msgSend_486Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_applyDifference_1 = objc.registerName("applyDifference:"); + late final _sel_sortUsingDescriptors_1 = objc.registerName( + "sortUsingDescriptors:", + ); + late final _sel_filterUsingPredicate_1 = objc.registerName( + "filterUsingPredicate:", + ); void _objc_msgSend_487( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer predicate, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer predicate, ) { - return __objc_msgSend_487( - obj, - sel, - predicate, - ); + return __objc_msgSend_487(obj, sel, predicate); } late final __objc_msgSend_487Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_487 = __objc_msgSend_487Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_mutableArrayValueForKey_1 = - _registerName1("mutableArrayValueForKey:"); - ffi.Pointer _objc_msgSend_488( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer key, - ) { - return __objc_msgSend_488( - obj, - sel, - key, - ); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_487 = + __objc_msgSend_487Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_mutableArrayValueForKey_1 = objc.registerName( + "mutableArrayValueForKey:", + ); + ffi.Pointer _objc_msgSend_488( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer key, + ) { + return __objc_msgSend_488(obj, sel, key); } late final __objc_msgSend_488Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_488 = __objc_msgSend_488Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _class_NSMutableOrderedSet1 = _getClass1("NSMutableOrderedSet"); - late final _class_NSOrderedSet1 = _getClass1("NSOrderedSet"); - late final _sel_isEqualToOrderedSet_1 = - _registerName1("isEqualToOrderedSet:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_488 = + __objc_msgSend_488Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _class_NSMutableOrderedSet1 = objc.getClass("NSMutableOrderedSet"); + late final _class_NSOrderedSet1 = objc.getClass("NSOrderedSet"); + late final _sel_isEqualToOrderedSet_1 = objc.registerName( + "isEqualToOrderedSet:", + ); bool _objc_msgSend_489( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer other, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer other, ) { - return __objc_msgSend_489( - obj, - sel, - other, - ); + return __objc_msgSend_489(obj, sel, other); } late final __objc_msgSend_489Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_489 = __objc_msgSend_489Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_intersectsOrderedSet_1 = - _registerName1("intersectsOrderedSet:"); - late final _sel_isSubsetOfOrderedSet_1 = - _registerName1("isSubsetOfOrderedSet:"); - late final _sel_reversedOrderedSet1 = _registerName1("reversedOrderedSet"); - ffi.Pointer _objc_msgSend_490( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_490( - obj, - sel, - ); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_489 = + __objc_msgSend_489Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_intersectsOrderedSet_1 = objc.registerName( + "intersectsOrderedSet:", + ); + late final _sel_isSubsetOfOrderedSet_1 = objc.registerName( + "isSubsetOfOrderedSet:", + ); + late final _sel_reversedOrderedSet1 = objc.registerName("reversedOrderedSet"); + ffi.Pointer _objc_msgSend_490( + ffi.Pointer obj, + ffi.Pointer sel, + ) { + return __objc_msgSend_490(obj, sel); } late final __objc_msgSend_490Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_490 = __objc_msgSend_490Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_490 = + __objc_msgSend_490Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); - ffi.Pointer _objc_msgSend_491( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer _objc_msgSend_491( + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_491( - obj, - sel, - ); + return __objc_msgSend_491(obj, sel); } late final __objc_msgSend_491Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_491 = __objc_msgSend_491Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_orderedSet1 = _registerName1("orderedSet"); - late final _sel_orderedSetWithObject_1 = - _registerName1("orderedSetWithObject:"); - late final _sel_orderedSetWithObjects_count_1 = - _registerName1("orderedSetWithObjects:count:"); - late final _sel_orderedSetWithObjects_1 = - _registerName1("orderedSetWithObjects:"); - late final _sel_orderedSetWithOrderedSet_1 = - _registerName1("orderedSetWithOrderedSet:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_491 = + __objc_msgSend_491Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_orderedSet1 = objc.registerName("orderedSet"); + late final _sel_orderedSetWithObject_1 = objc.registerName( + "orderedSetWithObject:", + ); + late final _sel_orderedSetWithObjects_count_1 = objc.registerName( + "orderedSetWithObjects:count:", + ); + late final _sel_orderedSetWithObjects_1 = objc.registerName( + "orderedSetWithObjects:", + ); + late final _sel_orderedSetWithOrderedSet_1 = objc.registerName( + "orderedSetWithOrderedSet:", + ); instancetype _objc_msgSend_492( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer set1, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer set1, ) { - return __objc_msgSend_492( - obj, - sel, - set1, - ); + return __objc_msgSend_492(obj, sel, set1); } late final __objc_msgSend_492Ptr = _lookup< - ffi.NativeFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_492 = __objc_msgSend_492Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_orderedSetWithOrderedSet_range_copyItems_1 = - _registerName1("orderedSetWithOrderedSet:range:copyItems:"); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_492 = + __objc_msgSend_492Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_orderedSetWithOrderedSet_range_copyItems_1 = objc + .registerName("orderedSetWithOrderedSet:range:copyItems:"); instancetype _objc_msgSend_493( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer set1, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer set1, _NSRange range, bool flag, ) { - return __objc_msgSend_493( - obj, - sel, - set1, - range, - flag, - ); + return __objc_msgSend_493(obj, sel, set1, range, flag); } late final __objc_msgSend_493Ptr = _lookup< - ffi.NativeFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, _NSRange, ffi.Bool)>>('objc_msgSend'); - late final __objc_msgSend_493 = __objc_msgSend_493Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, _NSRange, bool)>(); - - late final _sel_orderedSetWithArray_1 = - _registerName1("orderedSetWithArray:"); - late final _sel_orderedSetWithArray_range_copyItems_1 = - _registerName1("orderedSetWithArray:range:copyItems:"); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Bool, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_493 = + __objc_msgSend_493Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange, + bool, + ) + >(); + + late final _sel_orderedSetWithArray_1 = objc.registerName( + "orderedSetWithArray:", + ); + late final _sel_orderedSetWithArray_range_copyItems_1 = objc.registerName( + "orderedSetWithArray:range:copyItems:", + ); instancetype _objc_msgSend_494( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer array, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer array, _NSRange range, bool flag, ) { - return __objc_msgSend_494( - obj, - sel, - array, - range, - flag, - ); + return __objc_msgSend_494(obj, sel, array, range, flag); } late final __objc_msgSend_494Ptr = _lookup< - ffi.NativeFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, _NSRange, ffi.Bool)>>('objc_msgSend'); - late final __objc_msgSend_494 = __objc_msgSend_494Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, _NSRange, bool)>(); - - late final _sel_orderedSetWithSet_1 = _registerName1("orderedSetWithSet:"); - late final _sel_orderedSetWithSet_copyItems_1 = - _registerName1("orderedSetWithSet:copyItems:"); - late final _sel_initWithObject_1 = _registerName1("initWithObject:"); - late final _sel_initWithOrderedSet_1 = _registerName1("initWithOrderedSet:"); - late final _sel_initWithOrderedSet_copyItems_1 = - _registerName1("initWithOrderedSet:copyItems:"); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Bool, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_494 = + __objc_msgSend_494Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange, + bool, + ) + >(); + + late final _sel_orderedSetWithSet_1 = objc.registerName("orderedSetWithSet:"); + late final _sel_orderedSetWithSet_copyItems_1 = objc.registerName( + "orderedSetWithSet:copyItems:", + ); + late final _sel_initWithObject_1 = objc.registerName("initWithObject:"); + late final _sel_initWithOrderedSet_1 = objc.registerName( + "initWithOrderedSet:", + ); + late final _sel_initWithOrderedSet_copyItems_1 = objc.registerName( + "initWithOrderedSet:copyItems:", + ); instancetype _objc_msgSend_495( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer set1, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer set1, bool flag, ) { - return __objc_msgSend_495( - obj, - sel, - set1, - flag, - ); + return __objc_msgSend_495(obj, sel, set1, flag); } late final __objc_msgSend_495Ptr = _lookup< - ffi.NativeFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Bool)>>('objc_msgSend'); - late final __objc_msgSend_495 = __objc_msgSend_495Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, bool)>(); - - late final _sel_initWithOrderedSet_range_copyItems_1 = - _registerName1("initWithOrderedSet:range:copyItems:"); - late final _sel_initWithArray_range_copyItems_1 = - _registerName1("initWithArray:range:copyItems:"); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_495 = + __objc_msgSend_495Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool, + ) + >(); + + late final _sel_initWithOrderedSet_range_copyItems_1 = objc.registerName( + "initWithOrderedSet:range:copyItems:", + ); + late final _sel_initWithArray_range_copyItems_1 = objc.registerName( + "initWithArray:range:copyItems:", + ); late final _sel_differenceFromOrderedSet_withOptions_usingEquivalenceTest_1 = - _registerName1( - "differenceFromOrderedSet:withOptions:usingEquivalenceTest:"); - ffi.Pointer _objc_msgSend_496( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer other, + objc.registerName( + "differenceFromOrderedSet:withOptions:usingEquivalenceTest:", + ); + ffi.Pointer _objc_msgSend_496( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer other, int options, - ffi.Pointer<_ObjCBlock> block, + ffi.Pointer block, ) { - return __objc_msgSend_496( - obj, - sel, - other, - options, - block, - ); + return __objc_msgSend_496(obj, sel, other, options, block); } late final __objc_msgSend_496Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_496 = __objc_msgSend_496Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_differenceFromOrderedSet_withOptions_1 = - _registerName1("differenceFromOrderedSet:withOptions:"); - ffi.Pointer _objc_msgSend_497( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer other, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_496 = + __objc_msgSend_496Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ) + >(); + + late final _sel_differenceFromOrderedSet_withOptions_1 = objc.registerName( + "differenceFromOrderedSet:withOptions:", + ); + ffi.Pointer _objc_msgSend_497( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer other, int options, ) { - return __objc_msgSend_497( - obj, - sel, - other, - options, - ); + return __objc_msgSend_497(obj, sel, other, options); } late final __objc_msgSend_497Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_497 = __objc_msgSend_497Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_differenceFromOrderedSet_1 = - _registerName1("differenceFromOrderedSet:"); - late final _sel_orderedSetByApplyingDifference_1 = - _registerName1("orderedSetByApplyingDifference:"); - ffi.Pointer _objc_msgSend_498( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer difference, - ) { - return __objc_msgSend_498( - obj, - sel, - difference, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_497 = + __objc_msgSend_497Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_differenceFromOrderedSet_1 = objc.registerName( + "differenceFromOrderedSet:", + ); + late final _sel_orderedSetByApplyingDifference_1 = objc.registerName( + "orderedSetByApplyingDifference:", + ); + ffi.Pointer _objc_msgSend_498( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer difference, + ) { + return __objc_msgSend_498(obj, sel, difference); } late final __objc_msgSend_498Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_498 = __objc_msgSend_498Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_filteredOrderedSetUsingPredicate_1 = - _registerName1("filteredOrderedSetUsingPredicate:"); - ffi.Pointer _objc_msgSend_499( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer p, - ) { - return __objc_msgSend_499( - obj, - sel, - p, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_498 = + __objc_msgSend_498Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_filteredOrderedSetUsingPredicate_1 = objc.registerName( + "filteredOrderedSetUsingPredicate:", + ); + ffi.Pointer _objc_msgSend_499( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer p, + ) { + return __objc_msgSend_499(obj, sel, p); } late final __objc_msgSend_499Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_499 = __objc_msgSend_499Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_addObjects_count_1 = _registerName1("addObjects:count:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_499 = + __objc_msgSend_499Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_addObjects_count_1 = objc.registerName("addObjects:count:"); void _objc_msgSend_500( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer> objects, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer> objects, int count, ) { - return __objc_msgSend_500( - obj, - sel, - objects, - count, - ); + return __objc_msgSend_500(obj, sel, objects, count); } late final __objc_msgSend_500Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.UnsignedLong)>>('objc_msgSend'); - late final __objc_msgSend_500 = __objc_msgSend_500Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer>, int)>(); - - late final _sel_moveObjectsAtIndexes_toIndex_1 = - _registerName1("moveObjectsAtIndexes:toIndex:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_500 = + __objc_msgSend_500Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + int, + ) + >(); + + late final _sel_moveObjectsAtIndexes_toIndex_1 = objc.registerName( + "moveObjectsAtIndexes:toIndex:", + ); void _objc_msgSend_501( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer indexes, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer indexes, int idx, ) { - return __objc_msgSend_501( - obj, - sel, - indexes, - idx, - ); + return __objc_msgSend_501(obj, sel, indexes, idx); } late final __objc_msgSend_501Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.UnsignedLong)>>('objc_msgSend'); - late final __objc_msgSend_501 = __objc_msgSend_501Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int)>(); - - late final _sel_setObject_atIndex_1 = _registerName1("setObject:atIndex:"); - late final _sel_replaceObjectsInRange_withObjects_count_1 = - _registerName1("replaceObjectsInRange:withObjects:count:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_501 = + __objc_msgSend_501Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_setObject_atIndex_1 = objc.registerName("setObject:atIndex:"); + late final _sel_replaceObjectsInRange_withObjects_count_1 = objc.registerName( + "replaceObjectsInRange:withObjects:count:", + ); void _objc_msgSend_502( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, _NSRange range, - ffi.Pointer> objects, + ffi.Pointer> objects, int count, ) { - return __objc_msgSend_502( - obj, - sel, - range, - objects, - count, - ); + return __objc_msgSend_502(obj, sel, range, objects, count); } late final __objc_msgSend_502Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer>, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_502 = + __objc_msgSend_502Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, _NSRange, - ffi.Pointer>, - ffi.UnsignedLong)>>('objc_msgSend'); - late final __objc_msgSend_502 = __objc_msgSend_502Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, _NSRange, - ffi.Pointer>, int)>(); - - late final _sel_intersectOrderedSet_1 = - _registerName1("intersectOrderedSet:"); + ffi.Pointer>, + int, + ) + >(); + + late final _sel_intersectOrderedSet_1 = objc.registerName( + "intersectOrderedSet:", + ); void _objc_msgSend_503( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer other, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer other, ) { - return __objc_msgSend_503( - obj, - sel, - other, - ); + return __objc_msgSend_503(obj, sel, other); } late final __objc_msgSend_503Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_503 = __objc_msgSend_503Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_minusOrderedSet_1 = _registerName1("minusOrderedSet:"); - late final _sel_unionOrderedSet_1 = _registerName1("unionOrderedSet:"); - late final _sel_intersectSet_1 = _registerName1("intersectSet:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_503 = + __objc_msgSend_503Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_minusOrderedSet_1 = objc.registerName("minusOrderedSet:"); + late final _sel_unionOrderedSet_1 = objc.registerName("unionOrderedSet:"); + late final _sel_intersectSet_1 = objc.registerName("intersectSet:"); void _objc_msgSend_504( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer other, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer other, ) { - return __objc_msgSend_504( - obj, - sel, - other, - ); + return __objc_msgSend_504(obj, sel, other); } late final __objc_msgSend_504Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_504 = __objc_msgSend_504Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_minusSet_1 = _registerName1("minusSet:"); - late final _sel_unionSet_1 = _registerName1("unionSet:"); - late final _sel_sortRange_options_usingComparator_1 = - _registerName1("sortRange:options:usingComparator:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_504 = + __objc_msgSend_504Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_minusSet_1 = objc.registerName("minusSet:"); + late final _sel_unionSet_1 = objc.registerName("unionSet:"); + late final _sel_sortRange_options_usingComparator_1 = objc.registerName( + "sortRange:options:usingComparator:", + ); void _objc_msgSend_505( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, _NSRange range, int opts, - ffi.Pointer<_ObjCBlock> cmptr, + ffi.Pointer cmptr, ) { - return __objc_msgSend_505( - obj, - sel, - range, - opts, - cmptr, - ); + return __objc_msgSend_505(obj, sel, range, opts, cmptr); } late final __objc_msgSend_505Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - _NSRange, ffi.Int32, ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_505 = __objc_msgSend_505Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, _NSRange, - int, ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_orderedSetWithCapacity_1 = - _registerName1("orderedSetWithCapacity:"); - late final _sel_mutableOrderedSetValueForKey_1 = - _registerName1("mutableOrderedSetValueForKey:"); - ffi.Pointer _objc_msgSend_506( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer key, - ) { - return __objc_msgSend_506( - obj, - sel, - key, - ); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Int32, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_505 = + __objc_msgSend_505Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + int, + ffi.Pointer, + ) + >(); + + late final _sel_orderedSetWithCapacity_1 = objc.registerName( + "orderedSetWithCapacity:", + ); + late final _sel_mutableOrderedSetValueForKey_1 = objc.registerName( + "mutableOrderedSetValueForKey:", + ); + ffi.Pointer _objc_msgSend_506( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer key, + ) { + return __objc_msgSend_506(obj, sel, key); } late final __objc_msgSend_506Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_506 = __objc_msgSend_506Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _class_NSMutableSet1 = _getClass1("NSMutableSet"); - late final _sel_setSet_1 = _registerName1("setSet:"); - late final _sel_setWithCapacity_1 = _registerName1("setWithCapacity:"); - late final _sel_mutableSetValueForKey_1 = - _registerName1("mutableSetValueForKey:"); - ffi.Pointer _objc_msgSend_507( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer key, - ) { - return __objc_msgSend_507( - obj, - sel, - key, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_506 = + __objc_msgSend_506Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _class_NSMutableSet1 = objc.getClass("NSMutableSet"); + late final _sel_setSet_1 = objc.registerName("setSet:"); + late final _sel_setWithCapacity_1 = objc.registerName("setWithCapacity:"); + late final _sel_mutableSetValueForKey_1 = objc.registerName( + "mutableSetValueForKey:", + ); + ffi.Pointer _objc_msgSend_507( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer key, + ) { + return __objc_msgSend_507(obj, sel, key); } late final __objc_msgSend_507Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_507 = __objc_msgSend_507Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_valueForKeyPath_1 = _registerName1("valueForKeyPath:"); - late final _sel_setValue_forKeyPath_1 = - _registerName1("setValue:forKeyPath:"); - late final _sel_validateValue_forKeyPath_error_1 = - _registerName1("validateValue:forKeyPath:error:"); - late final _sel_mutableArrayValueForKeyPath_1 = - _registerName1("mutableArrayValueForKeyPath:"); - late final _sel_mutableOrderedSetValueForKeyPath_1 = - _registerName1("mutableOrderedSetValueForKeyPath:"); - late final _sel_mutableSetValueForKeyPath_1 = - _registerName1("mutableSetValueForKeyPath:"); - late final _sel_valueForUndefinedKey_1 = - _registerName1("valueForUndefinedKey:"); - late final _sel_setValue_forUndefinedKey_1 = - _registerName1("setValue:forUndefinedKey:"); - late final _sel_setNilValueForKey_1 = _registerName1("setNilValueForKey:"); - late final _sel_dictionaryWithValuesForKeys_1 = - _registerName1("dictionaryWithValuesForKeys:"); - ffi.Pointer _objc_msgSend_508( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer keys, - ) { - return __objc_msgSend_508( - obj, - sel, - keys, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_507 = + __objc_msgSend_507Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_valueForKeyPath_1 = objc.registerName("valueForKeyPath:"); + late final _sel_setValue_forKeyPath_1 = objc.registerName( + "setValue:forKeyPath:", + ); + late final _sel_validateValue_forKeyPath_error_1 = objc.registerName( + "validateValue:forKeyPath:error:", + ); + late final _sel_mutableArrayValueForKeyPath_1 = objc.registerName( + "mutableArrayValueForKeyPath:", + ); + late final _sel_mutableOrderedSetValueForKeyPath_1 = objc.registerName( + "mutableOrderedSetValueForKeyPath:", + ); + late final _sel_mutableSetValueForKeyPath_1 = objc.registerName( + "mutableSetValueForKeyPath:", + ); + late final _sel_valueForUndefinedKey_1 = objc.registerName( + "valueForUndefinedKey:", + ); + late final _sel_setValue_forUndefinedKey_1 = objc.registerName( + "setValue:forUndefinedKey:", + ); + late final _sel_setNilValueForKey_1 = objc.registerName("setNilValueForKey:"); + late final _sel_dictionaryWithValuesForKeys_1 = objc.registerName( + "dictionaryWithValuesForKeys:", + ); + ffi.Pointer _objc_msgSend_508( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer keys, + ) { + return __objc_msgSend_508(obj, sel, keys); } late final __objc_msgSend_508Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_508 = __objc_msgSend_508Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_setValuesForKeysWithDictionary_1 = - _registerName1("setValuesForKeysWithDictionary:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_508 = + __objc_msgSend_508Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_setValuesForKeysWithDictionary_1 = objc.registerName( + "setValuesForKeysWithDictionary:", + ); void _objc_msgSend_509( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer keyedValues, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer keyedValues, ) { - return __objc_msgSend_509( - obj, - sel, - keyedValues, - ); + return __objc_msgSend_509(obj, sel, keyedValues); } late final __objc_msgSend_509Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_509 = __objc_msgSend_509Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_storedValueForKey_1 = _registerName1("storedValueForKey:"); - late final _sel_takeStoredValue_forKey_1 = - _registerName1("takeStoredValue:forKey:"); - late final _sel_takeValue_forKey_1 = _registerName1("takeValue:forKey:"); - late final _sel_takeValue_forKeyPath_1 = - _registerName1("takeValue:forKeyPath:"); - late final _sel_handleQueryWithUnboundKey_1 = - _registerName1("handleQueryWithUnboundKey:"); - late final _sel_handleTakeValue_forUnboundKey_1 = - _registerName1("handleTakeValue:forUnboundKey:"); - late final _sel_unableToSetNilForKey_1 = - _registerName1("unableToSetNilForKey:"); - late final _sel_valuesForKeys_1 = _registerName1("valuesForKeys:"); - late final _sel_takeValuesFromDictionary_1 = - _registerName1("takeValuesFromDictionary:"); - late final _sel_observeValueForKeyPath_ofObject_change_context_1 = - _registerName1("observeValueForKeyPath:ofObject:change:context:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_509 = + __objc_msgSend_509Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_storedValueForKey_1 = objc.registerName("storedValueForKey:"); + late final _sel_takeStoredValue_forKey_1 = objc.registerName( + "takeStoredValue:forKey:", + ); + late final _sel_takeValue_forKey_1 = objc.registerName("takeValue:forKey:"); + late final _sel_takeValue_forKeyPath_1 = objc.registerName( + "takeValue:forKeyPath:", + ); + late final _sel_handleQueryWithUnboundKey_1 = objc.registerName( + "handleQueryWithUnboundKey:", + ); + late final _sel_handleTakeValue_forUnboundKey_1 = objc.registerName( + "handleTakeValue:forUnboundKey:", + ); + late final _sel_unableToSetNilForKey_1 = objc.registerName( + "unableToSetNilForKey:", + ); + late final _sel_valuesForKeys_1 = objc.registerName("valuesForKeys:"); + late final _sel_takeValuesFromDictionary_1 = objc.registerName( + "takeValuesFromDictionary:", + ); + late final _sel_observeValueForKeyPath_ofObject_change_context_1 = objc + .registerName("observeValueForKeyPath:ofObject:change:context:"); void _objc_msgSend_510( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer keyPath, - ffi.Pointer object, - ffi.Pointer change, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer keyPath, + ffi.Pointer object, + ffi.Pointer change, ffi.Pointer context, ) { - return __objc_msgSend_510( - obj, - sel, - keyPath, - object, - change, - context, - ); + return __objc_msgSend_510(obj, sel, keyPath, object, change, context); } late final __objc_msgSend_510Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_510 = __objc_msgSend_510Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_willChangeValueForKey_1 = - _registerName1("willChangeValueForKey:"); - late final _sel_didChangeValueForKey_1 = - _registerName1("didChangeValueForKey:"); - late final _sel_willChange_valuesAtIndexes_forKey_1 = - _registerName1("willChange:valuesAtIndexes:forKey:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_510 = + __objc_msgSend_510Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_willChangeValueForKey_1 = objc.registerName( + "willChangeValueForKey:", + ); + late final _sel_didChangeValueForKey_1 = objc.registerName( + "didChangeValueForKey:", + ); + late final _sel_willChange_valuesAtIndexes_forKey_1 = objc.registerName( + "willChange:valuesAtIndexes:forKey:", + ); void _objc_msgSend_511( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int changeKind, - ffi.Pointer indexes, - ffi.Pointer key, + ffi.Pointer indexes, + ffi.Pointer key, ) { - return __objc_msgSend_511( - obj, - sel, - changeKind, - indexes, - key, - ); + return __objc_msgSend_511(obj, sel, changeKind, indexes, key); } late final __objc_msgSend_511Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_511 = __objc_msgSend_511Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_didChange_valuesAtIndexes_forKey_1 = - _registerName1("didChange:valuesAtIndexes:forKey:"); - late final _sel_willChangeValueForKey_withSetMutation_usingObjects_1 = - _registerName1("willChangeValueForKey:withSetMutation:usingObjects:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_511 = + __objc_msgSend_511Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_didChange_valuesAtIndexes_forKey_1 = objc.registerName( + "didChange:valuesAtIndexes:forKey:", + ); + late final _sel_willChangeValueForKey_withSetMutation_usingObjects_1 = objc + .registerName("willChangeValueForKey:withSetMutation:usingObjects:"); void _objc_msgSend_512( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer key, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer key, int mutationKind, - ffi.Pointer objects, + ffi.Pointer objects, ) { - return __objc_msgSend_512( - obj, - sel, - key, - mutationKind, - objects, - ); + return __objc_msgSend_512(obj, sel, key, mutationKind, objects); } late final __objc_msgSend_512Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_512 = __objc_msgSend_512Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int, ffi.Pointer)>(); - - late final _sel_didChangeValueForKey_withSetMutation_usingObjects_1 = - _registerName1("didChangeValueForKey:withSetMutation:usingObjects:"); - late final _sel_observationInfo1 = _registerName1("observationInfo"); - late final _sel_setObservationInfo_1 = _registerName1("setObservationInfo:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_512 = + __objc_msgSend_512Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ) + >(); + + late final _sel_didChangeValueForKey_withSetMutation_usingObjects_1 = objc + .registerName("didChangeValueForKey:withSetMutation:usingObjects:"); + late final _sel_observationInfo1 = objc.registerName("observationInfo"); + late final _sel_setObservationInfo_1 = objc.registerName( + "setObservationInfo:", + ); void _objc_msgSend_513( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ffi.Pointer value, ) { - return __objc_msgSend_513( - obj, - sel, - value, - ); + return __objc_msgSend_513(obj, sel, value); } late final __objc_msgSend_513Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_513 = __objc_msgSend_513Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_classForKeyedArchiver1 = - _registerName1("classForKeyedArchiver"); - late final _class_NSKeyedArchiver1 = _getClass1("NSKeyedArchiver"); - late final _sel_initRequiringSecureCoding_1 = - _registerName1("initRequiringSecureCoding:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_513 = + __objc_msgSend_513Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_classForKeyedArchiver1 = objc.registerName( + "classForKeyedArchiver", + ); + late final _class_NSKeyedArchiver1 = objc.getClass("NSKeyedArchiver"); + late final _sel_initRequiringSecureCoding_1 = objc.registerName( + "initRequiringSecureCoding:", + ); instancetype _objc_msgSend_514( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, bool requiresSecureCoding, ) { - return __objc_msgSend_514( - obj, - sel, - requiresSecureCoding, - ); + return __objc_msgSend_514(obj, sel, requiresSecureCoding); } late final __objc_msgSend_514Ptr = _lookup< - ffi.NativeFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Bool)>>('objc_msgSend'); - late final __objc_msgSend_514 = __objc_msgSend_514Ptr.asFunction< + ffi.NativeFunction< instancetype Function( - ffi.Pointer, ffi.Pointer, bool)>(); + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_514 = + __objc_msgSend_514Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + bool, + ) + >(); late final _sel_archivedDataWithRootObject_requiringSecureCoding_error_1 = - _registerName1("archivedDataWithRootObject:requiringSecureCoding:error:"); - ffi.Pointer _objc_msgSend_515( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer object, + objc.registerName( + "archivedDataWithRootObject:requiringSecureCoding:error:", + ); + ffi.Pointer _objc_msgSend_515( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer object, bool requiresSecureCoding, - ffi.Pointer> error, + ffi.Pointer> error, ) { - return __objc_msgSend_515( - obj, - sel, - object, - requiresSecureCoding, - error, - ); + return __objc_msgSend_515(obj, sel, object, requiresSecureCoding, error); } late final __objc_msgSend_515Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_515 = __objc_msgSend_515Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - ffi.Pointer>)>(); - - late final _class_NSMutableData1 = _getClass1("NSMutableData"); - late final _sel_mutableBytes1 = _registerName1("mutableBytes"); - late final _sel_setLength_1 = _registerName1("setLength:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_515 = + __objc_msgSend_515Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool, + ffi.Pointer>, + ) + >(); + + late final _class_NSMutableData1 = objc.getClass("NSMutableData"); + late final _sel_mutableBytes1 = objc.registerName("mutableBytes"); + late final _sel_setLength_1 = objc.registerName("setLength:"); void _objc_msgSend_516( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int value, ) { - return __objc_msgSend_516( - obj, - sel, - value, - ); + return __objc_msgSend_516(obj, sel, value); } late final __objc_msgSend_516Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong)>>('objc_msgSend'); - late final __objc_msgSend_516 = __objc_msgSend_516Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_appendBytes_length_1 = _registerName1("appendBytes:length:"); - late final _sel_appendData_1 = _registerName1("appendData:"); - late final _sel_increaseLengthBy_1 = _registerName1("increaseLengthBy:"); - late final _sel_replaceBytesInRange_withBytes_1 = - _registerName1("replaceBytesInRange:withBytes:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_516 = + __objc_msgSend_516Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_appendBytes_length_1 = objc.registerName( + "appendBytes:length:", + ); + late final _sel_appendData_1 = objc.registerName("appendData:"); + late final _sel_increaseLengthBy_1 = objc.registerName("increaseLengthBy:"); + late final _sel_replaceBytesInRange_withBytes_1 = objc.registerName( + "replaceBytesInRange:withBytes:", + ); void _objc_msgSend_517( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, _NSRange range, ffi.Pointer bytes, ) { - return __objc_msgSend_517( - obj, - sel, - range, - bytes, - ); + return __objc_msgSend_517(obj, sel, range, bytes); } late final __objc_msgSend_517Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - _NSRange, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_517 = __objc_msgSend_517Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, _NSRange, - ffi.Pointer)>(); - - late final _sel_resetBytesInRange_1 = _registerName1("resetBytesInRange:"); - late final _sel_setData_1 = _registerName1("setData:"); - late final _sel_replaceBytesInRange_withBytes_length_1 = - _registerName1("replaceBytesInRange:withBytes:length:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_517 = + __objc_msgSend_517Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + ) + >(); + + late final _sel_resetBytesInRange_1 = objc.registerName("resetBytesInRange:"); + late final _sel_setData_1 = objc.registerName("setData:"); + late final _sel_replaceBytesInRange_withBytes_length_1 = objc.registerName( + "replaceBytesInRange:withBytes:length:", + ); void _objc_msgSend_518( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, _NSRange range, ffi.Pointer replacementBytes, int replacementLength, @@ -14784,992 +18572,1249 @@ class AVFAudio { } late final __objc_msgSend_518Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_518 = + __objc_msgSend_518Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, _NSRange, ffi.Pointer, - ffi.UnsignedLong)>>('objc_msgSend'); - late final __objc_msgSend_518 = __objc_msgSend_518Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, _NSRange, - ffi.Pointer, int)>(); + int, + ) + >(); - late final _sel_dataWithCapacity_1 = _registerName1("dataWithCapacity:"); + late final _sel_dataWithCapacity_1 = objc.registerName("dataWithCapacity:"); instancetype _objc_msgSend_519( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int aNumItems, ) { - return __objc_msgSend_519( - obj, - sel, - aNumItems, - ); + return __objc_msgSend_519(obj, sel, aNumItems); } late final __objc_msgSend_519Ptr = _lookup< - ffi.NativeFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong)>>('objc_msgSend'); - late final __objc_msgSend_519 = __objc_msgSend_519Ptr.asFunction< + ffi.NativeFunction< instancetype Function( - ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_dataWithLength_1 = _registerName1("dataWithLength:"); - late final _sel_initWithLength_1 = _registerName1("initWithLength:"); - late final _sel_decompressUsingAlgorithm_error_1 = - _registerName1("decompressUsingAlgorithm:error:"); + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_519 = + __objc_msgSend_519Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_dataWithLength_1 = objc.registerName("dataWithLength:"); + late final _sel_initWithLength_1 = objc.registerName("initWithLength:"); + late final _sel_decompressUsingAlgorithm_error_1 = objc.registerName( + "decompressUsingAlgorithm:error:", + ); bool _objc_msgSend_520( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int algorithm, - ffi.Pointer> error, + ffi.Pointer> error, ) { - return __objc_msgSend_520( - obj, - sel, - algorithm, - error, - ); + return __objc_msgSend_520(obj, sel, algorithm, error); } late final __objc_msgSend_520Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_520 = __objc_msgSend_520Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, int, - ffi.Pointer>)>(); - - late final _sel_compressUsingAlgorithm_error_1 = - _registerName1("compressUsingAlgorithm:error:"); - late final _sel_initForWritingWithMutableData_1 = - _registerName1("initForWritingWithMutableData:"); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_520 = + __objc_msgSend_520Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer>, + ) + >(); + + late final _sel_compressUsingAlgorithm_error_1 = objc.registerName( + "compressUsingAlgorithm:error:", + ); + late final _sel_initForWritingWithMutableData_1 = objc.registerName( + "initForWritingWithMutableData:", + ); instancetype _objc_msgSend_521( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer data, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer data, ) { - return __objc_msgSend_521( - obj, - sel, - data, - ); + return __objc_msgSend_521(obj, sel, data); } late final __objc_msgSend_521Ptr = _lookup< - ffi.NativeFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_521 = __objc_msgSend_521Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_archivedDataWithRootObject_1 = - _registerName1("archivedDataWithRootObject:"); - ffi.Pointer _objc_msgSend_522( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer rootObject, - ) { - return __objc_msgSend_522( - obj, - sel, - rootObject, - ); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_521 = + __objc_msgSend_521Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_archivedDataWithRootObject_1 = objc.registerName( + "archivedDataWithRootObject:", + ); + ffi.Pointer _objc_msgSend_522( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer rootObject, + ) { + return __objc_msgSend_522(obj, sel, rootObject); } late final __objc_msgSend_522Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_522 = __objc_msgSend_522Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_archiveRootObject_toFile_1 = - _registerName1("archiveRootObject:toFile:"); - late final _sel_outputFormat1 = _registerName1("outputFormat"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_522 = + __objc_msgSend_522Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_archiveRootObject_toFile_1 = objc.registerName( + "archiveRootObject:toFile:", + ); + late final _sel_outputFormat1 = objc.registerName("outputFormat"); int _objc_msgSend_523( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_523( - obj, - sel, - ); + return __objc_msgSend_523(obj, sel); } late final __objc_msgSend_523Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_523 = __objc_msgSend_523Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_523 = + __objc_msgSend_523Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); - late final _sel_setOutputFormat_1 = _registerName1("setOutputFormat:"); + late final _sel_setOutputFormat_1 = objc.registerName("setOutputFormat:"); void _objc_msgSend_524( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int value, ) { - return __objc_msgSend_524( - obj, - sel, - value, - ); + return __objc_msgSend_524(obj, sel, value); } late final __objc_msgSend_524Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_524 = __objc_msgSend_524Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_encodedData1 = _registerName1("encodedData"); - late final _sel_finishEncoding1 = _registerName1("finishEncoding"); - late final _sel_setClassName_forClass_1 = - _registerName1("setClassName:forClass:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_524 = + __objc_msgSend_524Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_encodedData1 = objc.registerName("encodedData"); + late final _sel_finishEncoding1 = objc.registerName("finishEncoding"); + late final _sel_setClassName_forClass_1 = objc.registerName( + "setClassName:forClass:", + ); void _objc_msgSend_525( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer codedName, - ffi.Pointer cls, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer codedName, + ffi.Pointer cls, ) { - return __objc_msgSend_525( - obj, - sel, - codedName, - cls, - ); + return __objc_msgSend_525(obj, sel, codedName, cls); } late final __objc_msgSend_525Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_525 = __objc_msgSend_525Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_classNameForClass_1 = _registerName1("classNameForClass:"); - ffi.Pointer _objc_msgSend_526( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer cls, - ) { - return __objc_msgSend_526( - obj, - sel, - cls, - ); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_525 = + __objc_msgSend_525Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_classNameForClass_1 = objc.registerName("classNameForClass:"); + ffi.Pointer _objc_msgSend_526( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer cls, + ) { + return __objc_msgSend_526(obj, sel, cls); } late final __objc_msgSend_526Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_526 = __objc_msgSend_526Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_setRequiresSecureCoding_1 = - _registerName1("setRequiresSecureCoding:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_526 = + __objc_msgSend_526Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_setRequiresSecureCoding_1 = objc.registerName( + "setRequiresSecureCoding:", + ); void _objc_msgSend_527( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, bool value, ) { - return __objc_msgSend_527( - obj, - sel, - value, - ); + return __objc_msgSend_527(obj, sel, value); } late final __objc_msgSend_527Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Bool)>>('objc_msgSend'); - late final __objc_msgSend_527 = __objc_msgSend_527Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, bool)>(); - - late final _sel_replacementObjectForKeyedArchiver_1 = - _registerName1("replacementObjectForKeyedArchiver:"); - ffi.Pointer _objc_msgSend_528( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer archiver, - ) { - return __objc_msgSend_528( - obj, - sel, - archiver, - ); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_527 = + __objc_msgSend_527Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + bool, + ) + >(); + + late final _sel_replacementObjectForKeyedArchiver_1 = objc.registerName( + "replacementObjectForKeyedArchiver:", + ); + ffi.Pointer _objc_msgSend_528( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer archiver, + ) { + return __objc_msgSend_528(obj, sel, archiver); } late final __objc_msgSend_528Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_528 = __objc_msgSend_528Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_528 = + __objc_msgSend_528Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_performSelectorOnMainThread_withObject_waitUntilDone_modes_1 = - _registerName1( - "performSelectorOnMainThread:withObject:waitUntilDone:modes:"); + objc.registerName( + "performSelectorOnMainThread:withObject:waitUntilDone:modes:", + ); void _objc_msgSend_529( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aSelector, - ffi.Pointer arg, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer aSelector, + ffi.Pointer arg, bool wait, - ffi.Pointer array, + ffi.Pointer array, ) { - return __objc_msgSend_529( - obj, - sel, - aSelector, - arg, - wait, - array, - ); + return __objc_msgSend_529(obj, sel, aSelector, arg, wait, array); } late final __objc_msgSend_529Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_529 = __objc_msgSend_529Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - ffi.Pointer)>(); - - late final _sel_performSelectorOnMainThread_withObject_waitUntilDone_1 = - _registerName1("performSelectorOnMainThread:withObject:waitUntilDone:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_529 = + __objc_msgSend_529Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool, + ffi.Pointer, + ) + >(); + + late final _sel_performSelectorOnMainThread_withObject_waitUntilDone_1 = objc + .registerName("performSelectorOnMainThread:withObject:waitUntilDone:"); void _objc_msgSend_530( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aSelector, - ffi.Pointer arg, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer aSelector, + ffi.Pointer arg, bool wait, ) { - return __objc_msgSend_530( - obj, - sel, - aSelector, - arg, - wait, - ); + return __objc_msgSend_530(obj, sel, aSelector, arg, wait); } late final __objc_msgSend_530Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Bool)>>('objc_msgSend'); - late final __objc_msgSend_530 = __objc_msgSend_530Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer, bool)>(); - - late final _class_NSThread1 = _getClass1("NSThread"); - late final _sel_currentThread1 = _registerName1("currentThread"); - ffi.Pointer _objc_msgSend_531( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_531( - obj, - sel, - ); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_530 = + __objc_msgSend_530Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool, + ) + >(); + + late final _class_NSThread1 = objc.getClass("NSThread"); + late final _sel_currentThread1 = objc.registerName("currentThread"); + ffi.Pointer _objc_msgSend_531( + ffi.Pointer obj, + ffi.Pointer sel, + ) { + return __objc_msgSend_531(obj, sel); } late final __objc_msgSend_531Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_531 = __objc_msgSend_531Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_detachNewThreadWithBlock_1 = - _registerName1("detachNewThreadWithBlock:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_531 = + __objc_msgSend_531Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_detachNewThreadWithBlock_1 = objc.registerName( + "detachNewThreadWithBlock:", + ); void _objc_msgSend_532( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer<_ObjCBlock> block, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer block, ) { - return __objc_msgSend_532( - obj, - sel, - block, - ); + return __objc_msgSend_532(obj, sel, block); } late final __objc_msgSend_532Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_532 = __objc_msgSend_532Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_detachNewThreadSelector_toTarget_withObject_1 = - _registerName1("detachNewThreadSelector:toTarget:withObject:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_532 = + __objc_msgSend_532Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_detachNewThreadSelector_toTarget_withObject_1 = objc + .registerName("detachNewThreadSelector:toTarget:withObject:"); void _objc_msgSend_533( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer selector, - ffi.Pointer target, - ffi.Pointer argument, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer selector, + ffi.Pointer target, + ffi.Pointer argument, ) { - return __objc_msgSend_533( - obj, - sel, - selector, - target, - argument, - ); + return __objc_msgSend_533(obj, sel, selector, target, argument); } late final __objc_msgSend_533Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_533 = __objc_msgSend_533Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_isMultiThreaded1 = _registerName1("isMultiThreaded"); - late final _class_NSMutableDictionary1 = _getClass1("NSMutableDictionary"); - late final _sel_removeObjectForKey_1 = _registerName1("removeObjectForKey:"); - late final _sel_setObject_forKey_1 = _registerName1("setObject:forKey:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_533 = + __objc_msgSend_533Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_isMultiThreaded1 = objc.registerName("isMultiThreaded"); + late final _class_NSMutableDictionary1 = objc.getClass("NSMutableDictionary"); + late final _sel_removeObjectForKey_1 = objc.registerName( + "removeObjectForKey:", + ); + late final _sel_setObject_forKey_1 = objc.registerName("setObject:forKey:"); void _objc_msgSend_534( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer anObject, - ffi.Pointer aKey, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer anObject, + ffi.Pointer aKey, ) { - return __objc_msgSend_534( - obj, - sel, - anObject, - aKey, - ); + return __objc_msgSend_534(obj, sel, anObject, aKey); } late final __objc_msgSend_534Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_534 = __objc_msgSend_534Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_addEntriesFromDictionary_1 = - _registerName1("addEntriesFromDictionary:"); - late final _sel_removeObjectsForKeys_1 = - _registerName1("removeObjectsForKeys:"); - late final _sel_setDictionary_1 = _registerName1("setDictionary:"); - late final _sel_setObject_forKeyedSubscript_1 = - _registerName1("setObject:forKeyedSubscript:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_534 = + __objc_msgSend_534Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_addEntriesFromDictionary_1 = objc.registerName( + "addEntriesFromDictionary:", + ); + late final _sel_removeObjectsForKeys_1 = objc.registerName( + "removeObjectsForKeys:", + ); + late final _sel_setDictionary_1 = objc.registerName("setDictionary:"); + late final _sel_setObject_forKeyedSubscript_1 = objc.registerName( + "setObject:forKeyedSubscript:", + ); void _objc_msgSend_535( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer obj1, - ffi.Pointer key, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer obj1, + ffi.Pointer key, ) { - return __objc_msgSend_535( - obj, - sel, - obj1, - key, - ); + return __objc_msgSend_535(obj, sel, obj1, key); } late final __objc_msgSend_535Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_535 = __objc_msgSend_535Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_dictionaryWithCapacity_1 = - _registerName1("dictionaryWithCapacity:"); - ffi.Pointer _objc_msgSend_536( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, - ) { - return __objc_msgSend_536( - obj, - sel, - path, - ); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_535 = + __objc_msgSend_535Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_dictionaryWithCapacity_1 = objc.registerName( + "dictionaryWithCapacity:", + ); + ffi.Pointer _objc_msgSend_536( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer path, + ) { + return __objc_msgSend_536(obj, sel, path); } late final __objc_msgSend_536Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_536 = __objc_msgSend_536Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - ffi.Pointer _objc_msgSend_537( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, - ) { - return __objc_msgSend_537( - obj, - sel, - url, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_536 = + __objc_msgSend_536Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + ffi.Pointer _objc_msgSend_537( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer url, + ) { + return __objc_msgSend_537(obj, sel, url); } late final __objc_msgSend_537Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_537 = __objc_msgSend_537Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_dictionaryWithSharedKeySet_1 = - _registerName1("dictionaryWithSharedKeySet:"); - ffi.Pointer _objc_msgSend_538( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer keyset, - ) { - return __objc_msgSend_538( - obj, - sel, - keyset, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_537 = + __objc_msgSend_537Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_dictionaryWithSharedKeySet_1 = objc.registerName( + "dictionaryWithSharedKeySet:", + ); + ffi.Pointer _objc_msgSend_538( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer keyset, + ) { + return __objc_msgSend_538(obj, sel, keyset); } late final __objc_msgSend_538Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_538 = __objc_msgSend_538Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_threadDictionary1 = _registerName1("threadDictionary"); - ffi.Pointer _objc_msgSend_539( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_539( - obj, - sel, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_538 = + __objc_msgSend_538Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_threadDictionary1 = objc.registerName("threadDictionary"); + ffi.Pointer _objc_msgSend_539( + ffi.Pointer obj, + ffi.Pointer sel, + ) { + return __objc_msgSend_539(obj, sel); } late final __objc_msgSend_539Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_539 = __objc_msgSend_539Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_539 = + __objc_msgSend_539Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); - late final _sel_sleepUntilDate_1 = _registerName1("sleepUntilDate:"); + late final _sel_sleepUntilDate_1 = objc.registerName("sleepUntilDate:"); void _objc_msgSend_540( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer date, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer date, ) { - return __objc_msgSend_540( - obj, - sel, - date, - ); + return __objc_msgSend_540(obj, sel, date); } late final __objc_msgSend_540Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_540 = __objc_msgSend_540Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_sleepForTimeInterval_1 = - _registerName1("sleepForTimeInterval:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_540 = + __objc_msgSend_540Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_sleepForTimeInterval_1 = objc.registerName( + "sleepForTimeInterval:", + ); void _objc_msgSend_541( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, double ti, ) { - return __objc_msgSend_541( - obj, - sel, - ti, - ); + return __objc_msgSend_541(obj, sel, ti); } late final __objc_msgSend_541Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Double)>>('objc_msgSend'); - late final __objc_msgSend_541 = __objc_msgSend_541Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, double)>(); - - late final _sel_exit1 = _registerName1("exit"); - late final _sel_threadPriority1 = _registerName1("threadPriority"); - late final _sel_setThreadPriority_1 = _registerName1("setThreadPriority:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Double, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_541 = + __objc_msgSend_541Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + double, + ) + >(); + + late final _sel_exit1 = objc.registerName("exit"); + late final _sel_threadPriority1 = objc.registerName("threadPriority"); + late final _sel_setThreadPriority_1 = objc.registerName("setThreadPriority:"); void _objc_msgSend_542( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, double value, ) { - return __objc_msgSend_542( - obj, - sel, - value, - ); + return __objc_msgSend_542(obj, sel, value); } late final __objc_msgSend_542Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Double)>>('objc_msgSend'); - late final __objc_msgSend_542 = __objc_msgSend_542Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, double)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Double, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_542 = + __objc_msgSend_542Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + double, + ) + >(); - late final _sel_qualityOfService1 = _registerName1("qualityOfService"); + late final _sel_qualityOfService1 = objc.registerName("qualityOfService"); int _objc_msgSend_543( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_543( - obj, - sel, - ); + return __objc_msgSend_543(obj, sel); } late final __objc_msgSend_543Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_543 = __objc_msgSend_543Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer)>(); - - late final _sel_setQualityOfService_1 = - _registerName1("setQualityOfService:"); + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_543 = + __objc_msgSend_543Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_setQualityOfService_1 = objc.registerName( + "setQualityOfService:", + ); void _objc_msgSend_544( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int value, ) { - return __objc_msgSend_544( - obj, - sel, - value, - ); + return __objc_msgSend_544(obj, sel, value); } late final __objc_msgSend_544Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_544 = __objc_msgSend_544Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_callStackReturnAddresses1 = - _registerName1("callStackReturnAddresses"); - late final _sel_callStackSymbols1 = _registerName1("callStackSymbols"); - late final _sel_setName_1 = _registerName1("setName:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_544 = + __objc_msgSend_544Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_callStackReturnAddresses1 = objc.registerName( + "callStackReturnAddresses", + ); + late final _sel_callStackSymbols1 = objc.registerName("callStackSymbols"); + late final _sel_setName_1 = objc.registerName("setName:"); void _objc_msgSend_545( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value, ) { - return __objc_msgSend_545( - obj, - sel, - value, - ); + return __objc_msgSend_545(obj, sel, value); } late final __objc_msgSend_545Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_545 = __objc_msgSend_545Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_stackSize1 = _registerName1("stackSize"); - late final _sel_setStackSize_1 = _registerName1("setStackSize:"); - late final _sel_isMainThread1 = _registerName1("isMainThread"); - late final _sel_mainThread1 = _registerName1("mainThread"); - late final _sel_initWithTarget_selector_object_1 = - _registerName1("initWithTarget:selector:object:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_545 = + __objc_msgSend_545Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_stackSize1 = objc.registerName("stackSize"); + late final _sel_setStackSize_1 = objc.registerName("setStackSize:"); + late final _sel_isMainThread1 = objc.registerName("isMainThread"); + late final _sel_mainThread1 = objc.registerName("mainThread"); + late final _sel_initWithTarget_selector_object_1 = objc.registerName( + "initWithTarget:selector:object:", + ); instancetype _objc_msgSend_546( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer target, - ffi.Pointer selector, - ffi.Pointer argument, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer target, + ffi.Pointer selector, + ffi.Pointer argument, ) { - return __objc_msgSend_546( - obj, - sel, - target, - selector, - argument, - ); + return __objc_msgSend_546(obj, sel, target, selector, argument); } late final __objc_msgSend_546Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_546 = __objc_msgSend_546Ptr.asFunction< + ffi.NativeFunction< instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_initWithBlock_1 = _registerName1("initWithBlock:"); + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_546 = + __objc_msgSend_546Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_initWithBlock_1 = objc.registerName("initWithBlock:"); instancetype _objc_msgSend_547( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer<_ObjCBlock> block, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer block, ) { - return __objc_msgSend_547( - obj, - sel, - block, - ); + return __objc_msgSend_547(obj, sel, block); } late final __objc_msgSend_547Ptr = _lookup< - ffi.NativeFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_547 = __objc_msgSend_547Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_isExecuting1 = _registerName1("isExecuting"); - late final _sel_isFinished1 = _registerName1("isFinished"); - late final _sel_isCancelled1 = _registerName1("isCancelled"); - late final _sel_cancel1 = _registerName1("cancel"); - late final _sel_start1 = _registerName1("start"); - late final _sel_main1 = _registerName1("main"); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_547 = + __objc_msgSend_547Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_isExecuting1 = objc.registerName("isExecuting"); + late final _sel_isFinished1 = objc.registerName("isFinished"); + late final _sel_isCancelled1 = objc.registerName("isCancelled"); + late final _sel_cancel1 = objc.registerName("cancel"); + late final _sel_start1 = objc.registerName("start"); + late final _sel_main1 = objc.registerName("main"); late final _sel_performSelector_onThread_withObject_waitUntilDone_modes_1 = - _registerName1( - "performSelector:onThread:withObject:waitUntilDone:modes:"); + objc.registerName( + "performSelector:onThread:withObject:waitUntilDone:modes:", + ); void _objc_msgSend_548( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aSelector, - ffi.Pointer thr, - ffi.Pointer arg, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer aSelector, + ffi.Pointer thr, + ffi.Pointer arg, bool wait, - ffi.Pointer array, + ffi.Pointer array, ) { - return __objc_msgSend_548( - obj, - sel, - aSelector, - thr, - arg, - wait, - array, - ); + return __objc_msgSend_548(obj, sel, aSelector, thr, arg, wait, array); } late final __objc_msgSend_548Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_548 = __objc_msgSend_548Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - ffi.Pointer)>(); - - late final _sel_performSelector_onThread_withObject_waitUntilDone_1 = - _registerName1("performSelector:onThread:withObject:waitUntilDone:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_548 = + __objc_msgSend_548Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool, + ffi.Pointer, + ) + >(); + + late final _sel_performSelector_onThread_withObject_waitUntilDone_1 = objc + .registerName("performSelector:onThread:withObject:waitUntilDone:"); void _objc_msgSend_549( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aSelector, - ffi.Pointer thr, - ffi.Pointer arg, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer aSelector, + ffi.Pointer thr, + ffi.Pointer arg, bool wait, ) { - return __objc_msgSend_549( - obj, - sel, - aSelector, - thr, - arg, - wait, - ); + return __objc_msgSend_549(obj, sel, aSelector, thr, arg, wait); } late final __objc_msgSend_549Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Bool)>>('objc_msgSend'); - late final __objc_msgSend_549 = __objc_msgSend_549Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool)>(); - - late final _sel_performSelectorInBackground_withObject_1 = - _registerName1("performSelectorInBackground:withObject:"); - late final _sel_classForArchiver1 = _registerName1("classForArchiver"); - late final _class_NSArchiver1 = _getClass1("NSArchiver"); - late final _sel_archiverData1 = _registerName1("archiverData"); - ffi.Pointer _objc_msgSend_550( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_550( - obj, - sel, - ); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_549 = + __objc_msgSend_549Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool, + ) + >(); + + late final _sel_performSelectorInBackground_withObject_1 = objc.registerName( + "performSelectorInBackground:withObject:", + ); + late final _sel_classForArchiver1 = objc.registerName("classForArchiver"); + late final _class_NSArchiver1 = objc.getClass("NSArchiver"); + late final _sel_archiverData1 = objc.registerName("archiverData"); + ffi.Pointer _objc_msgSend_550( + ffi.Pointer obj, + ffi.Pointer sel, + ) { + return __objc_msgSend_550(obj, sel); } late final __objc_msgSend_550Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_550 = __objc_msgSend_550Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_encodeClassName_intoClassName_1 = - _registerName1("encodeClassName:intoClassName:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_550 = + __objc_msgSend_550Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_encodeClassName_intoClassName_1 = objc.registerName( + "encodeClassName:intoClassName:", + ); void _objc_msgSend_551( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer trueName, - ffi.Pointer inArchiveName, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer trueName, + ffi.Pointer inArchiveName, ) { - return __objc_msgSend_551( - obj, - sel, - trueName, - inArchiveName, - ); + return __objc_msgSend_551(obj, sel, trueName, inArchiveName); } late final __objc_msgSend_551Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_551 = __objc_msgSend_551Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_classNameEncodedForTrueClassName_1 = - _registerName1("classNameEncodedForTrueClassName:"); - late final _sel_replaceObject_withObject_1 = - _registerName1("replaceObject:withObject:"); - late final _sel_replacementObjectForArchiver_1 = - _registerName1("replacementObjectForArchiver:"); - ffi.Pointer _objc_msgSend_552( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer archiver, - ) { - return __objc_msgSend_552( - obj, - sel, - archiver, - ); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_551 = + __objc_msgSend_551Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_classNameEncodedForTrueClassName_1 = objc.registerName( + "classNameEncodedForTrueClassName:", + ); + late final _sel_replaceObject_withObject_1 = objc.registerName( + "replaceObject:withObject:", + ); + late final _sel_replacementObjectForArchiver_1 = objc.registerName( + "replacementObjectForArchiver:", + ); + ffi.Pointer _objc_msgSend_552( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer archiver, + ) { + return __objc_msgSend_552(obj, sel, archiver); } late final __objc_msgSend_552Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_552 = __objc_msgSend_552Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_classForPortCoder1 = _registerName1("classForPortCoder"); - late final _class_NSPortCoder1 = _getClass1("NSPortCoder"); - late final _sel_isBycopy1 = _registerName1("isBycopy"); - late final _sel_isByref1 = _registerName1("isByref"); - late final _class_NSPort1 = _getClass1("NSPort"); - ffi.Pointer _objc_msgSend_553( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_553( - obj, - sel, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_552 = + __objc_msgSend_552Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_classForPortCoder1 = objc.registerName("classForPortCoder"); + late final _class_NSPortCoder1 = objc.getClass("NSPortCoder"); + late final _sel_isBycopy1 = objc.registerName("isBycopy"); + late final _sel_isByref1 = objc.registerName("isByref"); + late final _class_NSPort1 = objc.getClass("NSPort"); + ffi.Pointer _objc_msgSend_553( + ffi.Pointer obj, + ffi.Pointer sel, + ) { + return __objc_msgSend_553(obj, sel); } late final __objc_msgSend_553Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_553 = __objc_msgSend_553Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_invalidate1 = _registerName1("invalidate"); - late final _sel_isValid1 = _registerName1("isValid"); - late final _class_NSRunLoop1 = _getClass1("NSRunLoop"); - late final _sel_currentRunLoop1 = _registerName1("currentRunLoop"); - ffi.Pointer _objc_msgSend_554( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_554( - obj, - sel, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_553 = + __objc_msgSend_553Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_invalidate1 = objc.registerName("invalidate"); + late final _sel_isValid1 = objc.registerName("isValid"); + late final _class_NSRunLoop1 = objc.getClass("NSRunLoop"); + late final _sel_currentRunLoop1 = objc.registerName("currentRunLoop"); + ffi.Pointer _objc_msgSend_554( + ffi.Pointer obj, + ffi.Pointer sel, + ) { + return __objc_msgSend_554(obj, sel); } late final __objc_msgSend_554Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_554 = __objc_msgSend_554Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_mainRunLoop1 = _registerName1("mainRunLoop"); - late final _sel_currentMode1 = _registerName1("currentMode"); - late final _sel_getCFRunLoop1 = _registerName1("getCFRunLoop"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_554 = + __objc_msgSend_554Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_mainRunLoop1 = objc.registerName("mainRunLoop"); + late final _sel_currentMode1 = objc.registerName("currentMode"); + late final _sel_getCFRunLoop1 = objc.registerName("getCFRunLoop"); ffi.Pointer<__CFRunLoop> _objc_msgSend_555( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_555( - obj, - sel, - ); + return __objc_msgSend_555(obj, sel); } late final __objc_msgSend_555Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer<__CFRunLoop> Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_555 = __objc_msgSend_555Ptr.asFunction< + ffi.NativeFunction< ffi.Pointer<__CFRunLoop> Function( - ffi.Pointer, ffi.Pointer)>(); - - late final _class_NSTimer1 = _getClass1("NSTimer"); - late final _sel_timerWithTimeInterval_invocation_repeats_1 = - _registerName1("timerWithTimeInterval:invocation:repeats:"); - ffi.Pointer _objc_msgSend_556( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_555 = + __objc_msgSend_555Ptr + .asFunction< + ffi.Pointer<__CFRunLoop> Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _class_NSTimer1 = objc.getClass("NSTimer"); + late final _sel_timerWithTimeInterval_invocation_repeats_1 = objc + .registerName("timerWithTimeInterval:invocation:repeats:"); + ffi.Pointer _objc_msgSend_556( + ffi.Pointer obj, + ffi.Pointer sel, double ti, - ffi.Pointer invocation, + ffi.Pointer invocation, bool yesOrNo, ) { - return __objc_msgSend_556( - obj, - sel, - ti, - invocation, - yesOrNo, - ); + return __objc_msgSend_556(obj, sel, ti, invocation, yesOrNo); } late final __objc_msgSend_556Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Double, - ffi.Pointer, - ffi.Bool)>>('objc_msgSend'); - late final __objc_msgSend_556 = __objc_msgSend_556Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, double, ffi.Pointer, bool)>(); - - late final _sel_scheduledTimerWithTimeInterval_invocation_repeats_1 = - _registerName1("scheduledTimerWithTimeInterval:invocation:repeats:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Double, + ffi.Pointer, + ffi.Bool, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_556 = + __objc_msgSend_556Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + double, + ffi.Pointer, + bool, + ) + >(); + + late final _sel_scheduledTimerWithTimeInterval_invocation_repeats_1 = objc + .registerName("scheduledTimerWithTimeInterval:invocation:repeats:"); late final _sel_timerWithTimeInterval_target_selector_userInfo_repeats_1 = - _registerName1("timerWithTimeInterval:target:selector:userInfo:repeats:"); - ffi.Pointer _objc_msgSend_557( - ffi.Pointer obj, - ffi.Pointer sel, + objc.registerName( + "timerWithTimeInterval:target:selector:userInfo:repeats:", + ); + ffi.Pointer _objc_msgSend_557( + ffi.Pointer obj, + ffi.Pointer sel, double ti, - ffi.Pointer aTarget, - ffi.Pointer aSelector, - ffi.Pointer userInfo, + ffi.Pointer aTarget, + ffi.Pointer aSelector, + ffi.Pointer userInfo, bool yesOrNo, ) { return __objc_msgSend_557( @@ -15784,408 +19829,483 @@ class AVFAudio { } late final __objc_msgSend_557Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Double, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Bool)>>('objc_msgSend'); - late final __objc_msgSend_557 = __objc_msgSend_557Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - double, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool)>(); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Double, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_557 = + __objc_msgSend_557Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + double, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool, + ) + >(); late final _sel_scheduledTimerWithTimeInterval_target_selector_userInfo_repeats_1 = - _registerName1( - "scheduledTimerWithTimeInterval:target:selector:userInfo:repeats:"); - late final _sel_timerWithTimeInterval_repeats_block_1 = - _registerName1("timerWithTimeInterval:repeats:block:"); - ffi.Pointer _objc_msgSend_558( - ffi.Pointer obj, - ffi.Pointer sel, + objc.registerName( + "scheduledTimerWithTimeInterval:target:selector:userInfo:repeats:", + ); + late final _sel_timerWithTimeInterval_repeats_block_1 = objc.registerName( + "timerWithTimeInterval:repeats:block:", + ); + ffi.Pointer _objc_msgSend_558( + ffi.Pointer obj, + ffi.Pointer sel, double interval, bool repeats, - ffi.Pointer<_ObjCBlock> block, + ffi.Pointer block, ) { - return __objc_msgSend_558( - obj, - sel, - interval, - repeats, - block, - ); + return __objc_msgSend_558(obj, sel, interval, repeats, block); } late final __objc_msgSend_558Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Double, - ffi.Bool, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_558 = __objc_msgSend_558Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, double, bool, ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_scheduledTimerWithTimeInterval_repeats_block_1 = - _registerName1("scheduledTimerWithTimeInterval:repeats:block:"); - late final _sel_initWithFireDate_interval_repeats_block_1 = - _registerName1("initWithFireDate:interval:repeats:block:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Double, + ffi.Bool, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_558 = + __objc_msgSend_558Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + double, + bool, + ffi.Pointer, + ) + >(); + + late final _sel_scheduledTimerWithTimeInterval_repeats_block_1 = objc + .registerName("scheduledTimerWithTimeInterval:repeats:block:"); + late final _sel_initWithFireDate_interval_repeats_block_1 = objc.registerName( + "initWithFireDate:interval:repeats:block:", + ); instancetype _objc_msgSend_559( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer date, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer date, double interval, bool repeats, - ffi.Pointer<_ObjCBlock> block, + ffi.Pointer block, ) { - return __objc_msgSend_559( - obj, - sel, - date, - interval, - repeats, - block, - ); + return __objc_msgSend_559(obj, sel, date, interval, repeats, block); } late final __objc_msgSend_559Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Double, - ffi.Bool, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_559 = __objc_msgSend_559Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, double, bool, ffi.Pointer<_ObjCBlock>)>(); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Double, + ffi.Bool, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_559 = + __objc_msgSend_559Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + double, + bool, + ffi.Pointer, + ) + >(); late final _sel_initWithFireDate_interval_target_selector_userInfo_repeats_1 = - _registerName1( - "initWithFireDate:interval:target:selector:userInfo:repeats:"); + objc.registerName( + "initWithFireDate:interval:target:selector:userInfo:repeats:", + ); instancetype _objc_msgSend_560( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer date, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer date, double ti, - ffi.Pointer t, - ffi.Pointer s, - ffi.Pointer ui, + ffi.Pointer t, + ffi.Pointer s, + ffi.Pointer ui, bool rep, ) { - return __objc_msgSend_560( - obj, - sel, - date, - ti, - t, - s, - ui, - rep, - ); + return __objc_msgSend_560(obj, sel, date, ti, t, s, ui, rep); } late final __objc_msgSend_560Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Double, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Bool)>>('objc_msgSend'); - late final __objc_msgSend_560 = __objc_msgSend_560Ptr.asFunction< + ffi.NativeFunction< instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - double, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool)>(); - - late final _sel_fire1 = _registerName1("fire"); - late final _sel_fireDate1 = _registerName1("fireDate"); - late final _sel_setFireDate_1 = _registerName1("setFireDate:"); + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Double, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_560 = + __objc_msgSend_560Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + double, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool, + ) + >(); + + late final _sel_fire1 = objc.registerName("fire"); + late final _sel_fireDate1 = objc.registerName("fireDate"); + late final _sel_setFireDate_1 = objc.registerName("setFireDate:"); void _objc_msgSend_561( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value, ) { - return __objc_msgSend_561( - obj, - sel, - value, - ); + return __objc_msgSend_561(obj, sel, value); } late final __objc_msgSend_561Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_561 = __objc_msgSend_561Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_timeInterval1 = _registerName1("timeInterval"); - late final _sel_tolerance1 = _registerName1("tolerance"); - late final _sel_setTolerance_1 = _registerName1("setTolerance:"); - late final _sel_addTimer_forMode_1 = _registerName1("addTimer:forMode:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_561 = + __objc_msgSend_561Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_timeInterval1 = objc.registerName("timeInterval"); + late final _sel_tolerance1 = objc.registerName("tolerance"); + late final _sel_setTolerance_1 = objc.registerName("setTolerance:"); + late final _sel_addTimer_forMode_1 = objc.registerName("addTimer:forMode:"); void _objc_msgSend_562( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer timer, - ffi.Pointer mode, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer timer, + ffi.Pointer mode, ) { - return __objc_msgSend_562( - obj, - sel, - timer, - mode, - ); + return __objc_msgSend_562(obj, sel, timer, mode); } late final __objc_msgSend_562Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_562 = __objc_msgSend_562Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_addPort_forMode_1 = _registerName1("addPort:forMode:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_562 = + __objc_msgSend_562Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_addPort_forMode_1 = objc.registerName("addPort:forMode:"); void _objc_msgSend_563( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aPort, - ffi.Pointer mode, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer aPort, + ffi.Pointer mode, ) { - return __objc_msgSend_563( - obj, - sel, - aPort, - mode, - ); + return __objc_msgSend_563(obj, sel, aPort, mode); } late final __objc_msgSend_563Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_563 = __objc_msgSend_563Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_removePort_forMode_1 = _registerName1("removePort:forMode:"); - late final _sel_limitDateForMode_1 = _registerName1("limitDateForMode:"); - ffi.Pointer _objc_msgSend_564( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer mode, - ) { - return __objc_msgSend_564( - obj, - sel, - mode, - ); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_563 = + __objc_msgSend_563Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_removePort_forMode_1 = objc.registerName( + "removePort:forMode:", + ); + late final _sel_limitDateForMode_1 = objc.registerName("limitDateForMode:"); + ffi.Pointer _objc_msgSend_564( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer mode, + ) { + return __objc_msgSend_564(obj, sel, mode); } late final __objc_msgSend_564Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_564 = __objc_msgSend_564Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_acceptInputForMode_beforeDate_1 = - _registerName1("acceptInputForMode:beforeDate:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_564 = + __objc_msgSend_564Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_acceptInputForMode_beforeDate_1 = objc.registerName( + "acceptInputForMode:beforeDate:", + ); void _objc_msgSend_565( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer mode, - ffi.Pointer limitDate, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer mode, + ffi.Pointer limitDate, ) { - return __objc_msgSend_565( - obj, - sel, - mode, - limitDate, - ); + return __objc_msgSend_565(obj, sel, mode, limitDate); } late final __objc_msgSend_565Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_565 = __objc_msgSend_565Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_run1 = _registerName1("run"); - late final _sel_runUntilDate_1 = _registerName1("runUntilDate:"); - late final _sel_runMode_beforeDate_1 = _registerName1("runMode:beforeDate:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_565 = + __objc_msgSend_565Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_run1 = objc.registerName("run"); + late final _sel_runUntilDate_1 = objc.registerName("runUntilDate:"); + late final _sel_runMode_beforeDate_1 = objc.registerName( + "runMode:beforeDate:", + ); bool _objc_msgSend_566( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer mode, - ffi.Pointer limitDate, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer mode, + ffi.Pointer limitDate, ) { - return __objc_msgSend_566( - obj, - sel, - mode, - limitDate, - ); + return __objc_msgSend_566(obj, sel, mode, limitDate); } late final __objc_msgSend_566Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_566 = __objc_msgSend_566Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_configureAsServer1 = _registerName1("configureAsServer"); - late final _sel_performInModes_block_1 = - _registerName1("performInModes:block:"); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_566 = + __objc_msgSend_566Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_configureAsServer1 = objc.registerName("configureAsServer"); + late final _sel_performInModes_block_1 = objc.registerName( + "performInModes:block:", + ); void _objc_msgSend_567( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer modes, - ffi.Pointer<_ObjCBlock> block, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer modes, + ffi.Pointer block, ) { - return __objc_msgSend_567( - obj, - sel, - modes, - block, - ); + return __objc_msgSend_567(obj, sel, modes, block); } late final __objc_msgSend_567Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_567 = __objc_msgSend_567Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_performBlock_1 = _registerName1("performBlock:"); - late final _sel_performSelector_target_argument_order_modes_1 = - _registerName1("performSelector:target:argument:order:modes:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_567 = + __objc_msgSend_567Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_performBlock_1 = objc.registerName("performBlock:"); + late final _sel_performSelector_target_argument_order_modes_1 = objc + .registerName("performSelector:target:argument:order:modes:"); void _objc_msgSend_568( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aSelector, - ffi.Pointer target, - ffi.Pointer arg, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer aSelector, + ffi.Pointer target, + ffi.Pointer arg, int order, - ffi.Pointer modes, + ffi.Pointer modes, ) { - return __objc_msgSend_568( - obj, - sel, - aSelector, - target, - arg, - order, - modes, - ); + return __objc_msgSend_568(obj, sel, aSelector, target, arg, order, modes); } late final __objc_msgSend_568Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_568 = __objc_msgSend_568Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer)>(); - - late final _sel_cancelPerformSelector_target_argument_1 = - _registerName1("cancelPerformSelector:target:argument:"); - late final _sel_cancelPerformSelectorsWithTarget_1 = - _registerName1("cancelPerformSelectorsWithTarget:"); - late final _sel_scheduleInRunLoop_forMode_1 = - _registerName1("scheduleInRunLoop:forMode:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_568 = + __objc_msgSend_568Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ) + >(); + + late final _sel_cancelPerformSelector_target_argument_1 = objc.registerName( + "cancelPerformSelector:target:argument:", + ); + late final _sel_cancelPerformSelectorsWithTarget_1 = objc.registerName( + "cancelPerformSelectorsWithTarget:", + ); + late final _sel_scheduleInRunLoop_forMode_1 = objc.registerName( + "scheduleInRunLoop:forMode:", + ); void _objc_msgSend_569( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer runLoop, - ffi.Pointer mode, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer runLoop, + ffi.Pointer mode, ) { - return __objc_msgSend_569( - obj, - sel, - runLoop, - mode, - ); + return __objc_msgSend_569(obj, sel, runLoop, mode); } late final __objc_msgSend_569Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_569 = __objc_msgSend_569Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_removeFromRunLoop_forMode_1 = - _registerName1("removeFromRunLoop:forMode:"); - late final _sel_reservedSpaceLength1 = _registerName1("reservedSpaceLength"); - late final _sel_sendBeforeDate_components_from_reserved_1 = - _registerName1("sendBeforeDate:components:from:reserved:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_569 = + __objc_msgSend_569Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_removeFromRunLoop_forMode_1 = objc.registerName( + "removeFromRunLoop:forMode:", + ); + late final _sel_reservedSpaceLength1 = objc.registerName( + "reservedSpaceLength", + ); + late final _sel_sendBeforeDate_components_from_reserved_1 = objc.registerName( + "sendBeforeDate:components:from:reserved:", + ); bool _objc_msgSend_570( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer limitDate, - ffi.Pointer components, - ffi.Pointer receivePort, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer limitDate, + ffi.Pointer components, + ffi.Pointer receivePort, int headerSpaceReserved, ) { return __objc_msgSend_570( @@ -16199,32 +20319,39 @@ class AVFAudio { } late final __objc_msgSend_570Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong)>>('objc_msgSend'); - late final __objc_msgSend_570 = __objc_msgSend_570Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int)>(); - - late final _sel_sendBeforeDate_msgid_components_from_reserved_1 = - _registerName1("sendBeforeDate:msgid:components:from:reserved:"); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_570 = + __objc_msgSend_570Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_sendBeforeDate_msgid_components_from_reserved_1 = objc + .registerName("sendBeforeDate:msgid:components:from:reserved:"); bool _objc_msgSend_571( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer limitDate, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer limitDate, int msgID, - ffi.Pointer components, - ffi.Pointer receivePort, + ffi.Pointer components, + ffi.Pointer receivePort, int headerSpaceReserved, ) { return __objc_msgSend_571( @@ -16239,1061 +20366,1312 @@ class AVFAudio { } late final __objc_msgSend_571Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong)>>('objc_msgSend'); - late final __objc_msgSend_571 = __objc_msgSend_571Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ffi.Pointer, - int)>(); - - late final _class_NSConnection1 = _getClass1("NSConnection"); - late final _sel_statistics1 = _registerName1("statistics"); - late final _sel_allConnections1 = _registerName1("allConnections"); - late final _sel_defaultConnection1 = _registerName1("defaultConnection"); - ffi.Pointer _objc_msgSend_572( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_572( - obj, - sel, - ); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_571 = + __objc_msgSend_571Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _class_NSConnection1 = objc.getClass("NSConnection"); + late final _sel_statistics1 = objc.registerName("statistics"); + late final _sel_allConnections1 = objc.registerName("allConnections"); + late final _sel_defaultConnection1 = objc.registerName("defaultConnection"); + ffi.Pointer _objc_msgSend_572( + ffi.Pointer obj, + ffi.Pointer sel, + ) { + return __objc_msgSend_572(obj, sel); } late final __objc_msgSend_572Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_572 = __objc_msgSend_572Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_connectionWithRegisteredName_host_1 = - _registerName1("connectionWithRegisteredName:host:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_572 = + __objc_msgSend_572Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_connectionWithRegisteredName_host_1 = objc.registerName( + "connectionWithRegisteredName:host:", + ); instancetype _objc_msgSend_573( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer name, - ffi.Pointer hostName, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer name, + ffi.Pointer hostName, ) { - return __objc_msgSend_573( - obj, - sel, - name, - hostName, - ); + return __objc_msgSend_573(obj, sel, name, hostName); } late final __objc_msgSend_573Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_573 = __objc_msgSend_573Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _class_NSPortNameServer1 = _getClass1("NSPortNameServer"); - late final _sel_systemDefaultPortNameServer1 = - _registerName1("systemDefaultPortNameServer"); - ffi.Pointer _objc_msgSend_574( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_574( - obj, - sel, - ); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_573 = + __objc_msgSend_573Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _class_NSPortNameServer1 = objc.getClass("NSPortNameServer"); + late final _sel_systemDefaultPortNameServer1 = objc.registerName( + "systemDefaultPortNameServer", + ); + ffi.Pointer _objc_msgSend_574( + ffi.Pointer obj, + ffi.Pointer sel, + ) { + return __objc_msgSend_574(obj, sel); } late final __objc_msgSend_574Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_574 = __objc_msgSend_574Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_portForName_1 = _registerName1("portForName:"); - ffi.Pointer _objc_msgSend_575( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer name, - ) { - return __objc_msgSend_575( - obj, - sel, - name, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_574 = + __objc_msgSend_574Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_portForName_1 = objc.registerName("portForName:"); + ffi.Pointer _objc_msgSend_575( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer name, + ) { + return __objc_msgSend_575(obj, sel, name); } late final __objc_msgSend_575Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_575 = __objc_msgSend_575Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_portForName_host_1 = _registerName1("portForName:host:"); - ffi.Pointer _objc_msgSend_576( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer name, - ffi.Pointer host, - ) { - return __objc_msgSend_576( - obj, - sel, - name, - host, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_575 = + __objc_msgSend_575Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_portForName_host_1 = objc.registerName("portForName:host:"); + ffi.Pointer _objc_msgSend_576( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer name, + ffi.Pointer host, + ) { + return __objc_msgSend_576(obj, sel, name, host); } late final __objc_msgSend_576Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_576 = __objc_msgSend_576Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_registerPort_name_1 = _registerName1("registerPort:name:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_576 = + __objc_msgSend_576Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_registerPort_name_1 = objc.registerName("registerPort:name:"); bool _objc_msgSend_577( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer port, - ffi.Pointer name, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer port, + ffi.Pointer name, ) { - return __objc_msgSend_577( - obj, - sel, - port, - name, - ); + return __objc_msgSend_577(obj, sel, port, name); } late final __objc_msgSend_577Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_577 = __objc_msgSend_577Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_removePortForName_1 = _registerName1("removePortForName:"); - late final _sel_connectionWithRegisteredName_host_usingNameServer_1 = - _registerName1("connectionWithRegisteredName:host:usingNameServer:"); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_577 = + __objc_msgSend_577Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_removePortForName_1 = objc.registerName("removePortForName:"); + late final _sel_connectionWithRegisteredName_host_usingNameServer_1 = objc + .registerName("connectionWithRegisteredName:host:usingNameServer:"); instancetype _objc_msgSend_578( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer name, - ffi.Pointer hostName, - ffi.Pointer server, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer name, + ffi.Pointer hostName, + ffi.Pointer server, ) { - return __objc_msgSend_578( - obj, - sel, - name, - hostName, - server, - ); + return __objc_msgSend_578(obj, sel, name, hostName, server); } late final __objc_msgSend_578Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_578 = __objc_msgSend_578Ptr.asFunction< + ffi.NativeFunction< instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - late final _class_NSDistantObject1 = _getClass1("NSDistantObject"); - late final _class_NSProxy1 = _getClass1("NSProxy"); - ffi.Pointer _objc_msgSend_579( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer sel1, - ) { - return __objc_msgSend_579( - obj, - sel, - sel1, - ); + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_578 = + __objc_msgSend_578Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _class_NSDistantObject1 = objc.getClass("NSDistantObject"); + late final _class_NSProxy1 = objc.getClass("NSProxy"); + ffi.Pointer _objc_msgSend_579( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer sel1, + ) { + return __objc_msgSend_579(obj, sel, sel1); } late final __objc_msgSend_579Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_579 = __objc_msgSend_579Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_respondsToSelector_1 = _registerName1("respondsToSelector:"); - late final _sel_proxyWithTarget_connection_1 = - _registerName1("proxyWithTarget:connection:"); - ffi.Pointer _objc_msgSend_580( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer target, - ffi.Pointer connection, - ) { - return __objc_msgSend_580( - obj, - sel, - target, - connection, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_579 = + __objc_msgSend_579Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_respondsToSelector_1 = objc.registerName( + "respondsToSelector:", + ); + late final _sel_proxyWithTarget_connection_1 = objc.registerName( + "proxyWithTarget:connection:", + ); + ffi.Pointer _objc_msgSend_580( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer target, + ffi.Pointer connection, + ) { + return __objc_msgSend_580(obj, sel, target, connection); } late final __objc_msgSend_580Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_580 = __objc_msgSend_580Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_initWithTarget_connection_1 = - _registerName1("initWithTarget:connection:"); - late final _sel_proxyWithLocal_connection_1 = - _registerName1("proxyWithLocal:connection:"); - ffi.Pointer _objc_msgSend_581( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer target, - ffi.Pointer connection, - ) { - return __objc_msgSend_581( - obj, - sel, - target, - connection, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_580 = + __objc_msgSend_580Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_initWithTarget_connection_1 = objc.registerName( + "initWithTarget:connection:", + ); + late final _sel_proxyWithLocal_connection_1 = objc.registerName( + "proxyWithLocal:connection:", + ); + ffi.Pointer _objc_msgSend_581( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer target, + ffi.Pointer connection, + ) { + return __objc_msgSend_581(obj, sel, target, connection); } late final __objc_msgSend_581Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_581 = __objc_msgSend_581Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_initWithLocal_connection_1 = - _registerName1("initWithLocal:connection:"); - late final _sel_setProtocolForProxy_1 = - _registerName1("setProtocolForProxy:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_581 = + __objc_msgSend_581Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_initWithLocal_connection_1 = objc.registerName( + "initWithLocal:connection:", + ); + late final _sel_setProtocolForProxy_1 = objc.registerName( + "setProtocolForProxy:", + ); void _objc_msgSend_582( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer proto, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer proto, ) { - return __objc_msgSend_582( - obj, - sel, - proto, - ); + return __objc_msgSend_582(obj, sel, proto); } late final __objc_msgSend_582Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_582 = __objc_msgSend_582Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_connectionForProxy1 = _registerName1("connectionForProxy"); - late final _sel_rootProxyForConnectionWithRegisteredName_host_1 = - _registerName1("rootProxyForConnectionWithRegisteredName:host:"); - ffi.Pointer _objc_msgSend_583( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer name, - ffi.Pointer hostName, - ) { - return __objc_msgSend_583( - obj, - sel, - name, - hostName, - ); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_582 = + __objc_msgSend_582Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_connectionForProxy1 = objc.registerName("connectionForProxy"); + late final _sel_rootProxyForConnectionWithRegisteredName_host_1 = objc + .registerName("rootProxyForConnectionWithRegisteredName:host:"); + ffi.Pointer _objc_msgSend_583( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer name, + ffi.Pointer hostName, + ) { + return __objc_msgSend_583(obj, sel, name, hostName); } late final __objc_msgSend_583Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_583 = __objc_msgSend_583Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_583 = + __objc_msgSend_583Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_rootProxyForConnectionWithRegisteredName_host_usingNameServer_1 = - _registerName1( - "rootProxyForConnectionWithRegisteredName:host:usingNameServer:"); - ffi.Pointer _objc_msgSend_584( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer name, - ffi.Pointer hostName, - ffi.Pointer server, - ) { - return __objc_msgSend_584( - obj, - sel, - name, - hostName, - server, - ); + objc.registerName( + "rootProxyForConnectionWithRegisteredName:host:usingNameServer:", + ); + ffi.Pointer _objc_msgSend_584( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer name, + ffi.Pointer hostName, + ffi.Pointer server, + ) { + return __objc_msgSend_584(obj, sel, name, hostName, server); } late final __objc_msgSend_584Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_584 = __objc_msgSend_584Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_serviceConnectionWithName_rootObject_usingNameServer_1 = - _registerName1("serviceConnectionWithName:rootObject:usingNameServer:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_584 = + __objc_msgSend_584Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_serviceConnectionWithName_rootObject_usingNameServer_1 = objc + .registerName("serviceConnectionWithName:rootObject:usingNameServer:"); instancetype _objc_msgSend_585( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer name, - ffi.Pointer root, - ffi.Pointer server, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer name, + ffi.Pointer root, + ffi.Pointer server, ) { - return __objc_msgSend_585( - obj, - sel, - name, - root, - server, - ); + return __objc_msgSend_585(obj, sel, name, root, server); } late final __objc_msgSend_585Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_585 = __objc_msgSend_585Ptr.asFunction< + ffi.NativeFunction< instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_serviceConnectionWithName_rootObject_1 = - _registerName1("serviceConnectionWithName:rootObject:"); + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_585 = + __objc_msgSend_585Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_serviceConnectionWithName_rootObject_1 = objc.registerName( + "serviceConnectionWithName:rootObject:", + ); instancetype _objc_msgSend_586( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer name, - ffi.Pointer root, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer name, + ffi.Pointer root, ) { - return __objc_msgSend_586( - obj, - sel, - name, - root, - ); + return __objc_msgSend_586(obj, sel, name, root); } late final __objc_msgSend_586Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_586 = __objc_msgSend_586Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_requestTimeout1 = _registerName1("requestTimeout"); - late final _sel_setRequestTimeout_1 = _registerName1("setRequestTimeout:"); - late final _sel_replyTimeout1 = _registerName1("replyTimeout"); - late final _sel_setReplyTimeout_1 = _registerName1("setReplyTimeout:"); - late final _sel_rootObject1 = _registerName1("rootObject"); - late final _sel_setRootObject_1 = _registerName1("setRootObject:"); - late final _sel_independentConversationQueueing1 = - _registerName1("independentConversationQueueing"); - late final _sel_setIndependentConversationQueueing_1 = - _registerName1("setIndependentConversationQueueing:"); - late final _sel_rootProxy1 = _registerName1("rootProxy"); - ffi.Pointer _objc_msgSend_587( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_587( - obj, - sel, - ); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_586 = + __objc_msgSend_586Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_requestTimeout1 = objc.registerName("requestTimeout"); + late final _sel_setRequestTimeout_1 = objc.registerName("setRequestTimeout:"); + late final _sel_replyTimeout1 = objc.registerName("replyTimeout"); + late final _sel_setReplyTimeout_1 = objc.registerName("setReplyTimeout:"); + late final _sel_rootObject1 = objc.registerName("rootObject"); + late final _sel_setRootObject_1 = objc.registerName("setRootObject:"); + late final _sel_independentConversationQueueing1 = objc.registerName( + "independentConversationQueueing", + ); + late final _sel_setIndependentConversationQueueing_1 = objc.registerName( + "setIndependentConversationQueueing:", + ); + late final _sel_rootProxy1 = objc.registerName("rootProxy"); + ffi.Pointer _objc_msgSend_587( + ffi.Pointer obj, + ffi.Pointer sel, + ) { + return __objc_msgSend_587(obj, sel); } late final __objc_msgSend_587Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_587 = __objc_msgSend_587Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_addRequestMode_1 = _registerName1("addRequestMode:"); - late final _sel_removeRequestMode_1 = _registerName1("removeRequestMode:"); - late final _sel_requestModes1 = _registerName1("requestModes"); - late final _sel_registerName_1 = _registerName1("registerName:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_587 = + __objc_msgSend_587Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_addRequestMode_1 = objc.registerName("addRequestMode:"); + late final _sel_removeRequestMode_1 = objc.registerName("removeRequestMode:"); + late final _sel_requestModes1 = objc.registerName("requestModes"); + late final _sel_registerName_1 = objc.registerName("registerName:"); bool _objc_msgSend_588( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer name, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer name, ) { - return __objc_msgSend_588( - obj, - sel, - name, - ); + return __objc_msgSend_588(obj, sel, name); } late final __objc_msgSend_588Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_588 = __objc_msgSend_588Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_registerName_withNameServer_1 = - _registerName1("registerName:withNameServer:"); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_588 = + __objc_msgSend_588Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_registerName_withNameServer_1 = objc.registerName( + "registerName:withNameServer:", + ); bool _objc_msgSend_589( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer name, - ffi.Pointer server, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer name, + ffi.Pointer server, ) { - return __objc_msgSend_589( - obj, - sel, - name, - server, - ); + return __objc_msgSend_589(obj, sel, name, server); } late final __objc_msgSend_589Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_589 = __objc_msgSend_589Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_connectionWithReceivePort_sendPort_1 = - _registerName1("connectionWithReceivePort:sendPort:"); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_589 = + __objc_msgSend_589Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_connectionWithReceivePort_sendPort_1 = objc.registerName( + "connectionWithReceivePort:sendPort:", + ); instancetype _objc_msgSend_590( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer receivePort, - ffi.Pointer sendPort, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer receivePort, + ffi.Pointer sendPort, ) { - return __objc_msgSend_590( - obj, - sel, - receivePort, - sendPort, - ); + return __objc_msgSend_590(obj, sel, receivePort, sendPort); } late final __objc_msgSend_590Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_590 = __objc_msgSend_590Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_currentConversation1 = _registerName1("currentConversation"); - late final _sel_initWithReceivePort_sendPort_1 = - _registerName1("initWithReceivePort:sendPort:"); - late final _sel_sendPort1 = _registerName1("sendPort"); - late final _sel_receivePort1 = _registerName1("receivePort"); - late final _sel_enableMultipleThreads1 = - _registerName1("enableMultipleThreads"); - late final _sel_multipleThreadsEnabled1 = - _registerName1("multipleThreadsEnabled"); - late final _sel_addRunLoop_1 = _registerName1("addRunLoop:"); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_590 = + __objc_msgSend_590Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_currentConversation1 = objc.registerName( + "currentConversation", + ); + late final _sel_initWithReceivePort_sendPort_1 = objc.registerName( + "initWithReceivePort:sendPort:", + ); + late final _sel_sendPort1 = objc.registerName("sendPort"); + late final _sel_receivePort1 = objc.registerName("receivePort"); + late final _sel_enableMultipleThreads1 = objc.registerName( + "enableMultipleThreads", + ); + late final _sel_multipleThreadsEnabled1 = objc.registerName( + "multipleThreadsEnabled", + ); + late final _sel_addRunLoop_1 = objc.registerName("addRunLoop:"); void _objc_msgSend_591( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer runloop, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer runloop, ) { - return __objc_msgSend_591( - obj, - sel, - runloop, - ); + return __objc_msgSend_591(obj, sel, runloop); } late final __objc_msgSend_591Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_591 = __objc_msgSend_591Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_removeRunLoop_1 = _registerName1("removeRunLoop:"); - late final _sel_runInNewThread1 = _registerName1("runInNewThread"); - late final _sel_remoteObjects1 = _registerName1("remoteObjects"); - late final _sel_localObjects1 = _registerName1("localObjects"); - late final _sel_dispatchWithComponents_1 = - _registerName1("dispatchWithComponents:"); - late final _sel_addConnection_toRunLoop_forMode_1 = - _registerName1("addConnection:toRunLoop:forMode:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_591 = + __objc_msgSend_591Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_removeRunLoop_1 = objc.registerName("removeRunLoop:"); + late final _sel_runInNewThread1 = objc.registerName("runInNewThread"); + late final _sel_remoteObjects1 = objc.registerName("remoteObjects"); + late final _sel_localObjects1 = objc.registerName("localObjects"); + late final _sel_dispatchWithComponents_1 = objc.registerName( + "dispatchWithComponents:", + ); + late final _sel_addConnection_toRunLoop_forMode_1 = objc.registerName( + "addConnection:toRunLoop:forMode:", + ); void _objc_msgSend_592( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer conn, - ffi.Pointer runLoop, - ffi.Pointer mode, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer conn, + ffi.Pointer runLoop, + ffi.Pointer mode, ) { - return __objc_msgSend_592( - obj, - sel, - conn, - runLoop, - mode, - ); + return __objc_msgSend_592(obj, sel, conn, runLoop, mode); } late final __objc_msgSend_592Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_592 = __objc_msgSend_592Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_removeConnection_fromRunLoop_forMode_1 = - _registerName1("removeConnection:fromRunLoop:forMode:"); - late final _sel_encodePortObject_1 = _registerName1("encodePortObject:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_592 = + __objc_msgSend_592Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_removeConnection_fromRunLoop_forMode_1 = objc.registerName( + "removeConnection:fromRunLoop:forMode:", + ); + late final _sel_encodePortObject_1 = objc.registerName("encodePortObject:"); void _objc_msgSend_593( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aport, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer aport, ) { - return __objc_msgSend_593( - obj, - sel, - aport, - ); + return __objc_msgSend_593(obj, sel, aport); } - late final __objc_msgSend_593Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_593 = __objc_msgSend_593Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_decodePortObject1 = _registerName1("decodePortObject"); - ffi.Pointer _objc_msgSend_594( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_594( - obj, - sel, - ); + late final __objc_msgSend_593Ptr = _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_593 = + __objc_msgSend_593Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_decodePortObject1 = objc.registerName("decodePortObject"); + ffi.Pointer _objc_msgSend_594( + ffi.Pointer obj, + ffi.Pointer sel, + ) { + return __objc_msgSend_594(obj, sel); } late final __objc_msgSend_594Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_594 = __objc_msgSend_594Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_connection1 = _registerName1("connection"); - ffi.Pointer _objc_msgSend_595( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_595( - obj, - sel, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_594 = + __objc_msgSend_594Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_connection1 = objc.registerName("connection"); + ffi.Pointer _objc_msgSend_595( + ffi.Pointer obj, + ffi.Pointer sel, + ) { + return __objc_msgSend_595(obj, sel); } late final __objc_msgSend_595Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_595 = __objc_msgSend_595Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_portCoderWithReceivePort_sendPort_components_1 = - _registerName1("portCoderWithReceivePort:sendPort:components:"); - ffi.Pointer _objc_msgSend_596( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer rcvPort, - ffi.Pointer sndPort, - ffi.Pointer comps, - ) { - return __objc_msgSend_596( - obj, - sel, - rcvPort, - sndPort, - comps, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_595 = + __objc_msgSend_595Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_portCoderWithReceivePort_sendPort_components_1 = objc + .registerName("portCoderWithReceivePort:sendPort:components:"); + ffi.Pointer _objc_msgSend_596( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer rcvPort, + ffi.Pointer sndPort, + ffi.Pointer comps, + ) { + return __objc_msgSend_596(obj, sel, rcvPort, sndPort, comps); } late final __objc_msgSend_596Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_596 = __objc_msgSend_596Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_initWithReceivePort_sendPort_components_1 = - _registerName1("initWithReceivePort:sendPort:components:"); - late final _sel_dispatch1 = _registerName1("dispatch"); - late final _sel_replacementObjectForPortCoder_1 = - _registerName1("replacementObjectForPortCoder:"); - ffi.Pointer _objc_msgSend_597( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer coder, - ) { - return __objc_msgSend_597( - obj, - sel, - coder, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_596 = + __objc_msgSend_596Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_initWithReceivePort_sendPort_components_1 = objc.registerName( + "initWithReceivePort:sendPort:components:", + ); + late final _sel_dispatch1 = objc.registerName("dispatch"); + late final _sel_replacementObjectForPortCoder_1 = objc.registerName( + "replacementObjectForPortCoder:", + ); + ffi.Pointer _objc_msgSend_597( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer coder, + ) { + return __objc_msgSend_597(obj, sel, coder); } late final __objc_msgSend_597Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_597 = __objc_msgSend_597Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _class_NSClassDescription1 = _getClass1("NSClassDescription"); - late final _sel_registerClassDescription_forClass_1 = - _registerName1("registerClassDescription:forClass:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_597 = + __objc_msgSend_597Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _class_NSClassDescription1 = objc.getClass("NSClassDescription"); + late final _sel_registerClassDescription_forClass_1 = objc.registerName( + "registerClassDescription:forClass:", + ); void _objc_msgSend_598( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer description, - ffi.Pointer aClass, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer description, + ffi.Pointer aClass, ) { - return __objc_msgSend_598( - obj, - sel, - description, - aClass, - ); + return __objc_msgSend_598(obj, sel, description, aClass); } late final __objc_msgSend_598Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_598 = __objc_msgSend_598Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_invalidateClassDescriptionCache1 = - _registerName1("invalidateClassDescriptionCache"); - late final _sel_classDescriptionForClass_1 = - _registerName1("classDescriptionForClass:"); - ffi.Pointer _objc_msgSend_599( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aClass, - ) { - return __objc_msgSend_599( - obj, - sel, - aClass, - ); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_598 = + __objc_msgSend_598Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_invalidateClassDescriptionCache1 = objc.registerName( + "invalidateClassDescriptionCache", + ); + late final _sel_classDescriptionForClass_1 = objc.registerName( + "classDescriptionForClass:", + ); + ffi.Pointer _objc_msgSend_599( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer aClass, + ) { + return __objc_msgSend_599(obj, sel, aClass); } late final __objc_msgSend_599Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_599 = __objc_msgSend_599Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_attributeKeys1 = _registerName1("attributeKeys"); - late final _sel_toOneRelationshipKeys1 = - _registerName1("toOneRelationshipKeys"); - late final _sel_toManyRelationshipKeys1 = - _registerName1("toManyRelationshipKeys"); - late final _sel_inverseForRelationshipKey_1 = - _registerName1("inverseForRelationshipKey:"); - late final _sel_classDescription1 = _registerName1("classDescription"); - ffi.Pointer _objc_msgSend_600( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_600( - obj, - sel, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_599 = + __objc_msgSend_599Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_attributeKeys1 = objc.registerName("attributeKeys"); + late final _sel_toOneRelationshipKeys1 = objc.registerName( + "toOneRelationshipKeys", + ); + late final _sel_toManyRelationshipKeys1 = objc.registerName( + "toManyRelationshipKeys", + ); + late final _sel_inverseForRelationshipKey_1 = objc.registerName( + "inverseForRelationshipKey:", + ); + late final _sel_classDescription1 = objc.registerName("classDescription"); + ffi.Pointer _objc_msgSend_600( + ffi.Pointer obj, + ffi.Pointer sel, + ) { + return __objc_msgSend_600(obj, sel); } late final __objc_msgSend_600Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_600 = __objc_msgSend_600Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); - - late final _class_NSScriptObjectSpecifier1 = - _getClass1("NSScriptObjectSpecifier"); - late final _class_NSAppleEventDescriptor1 = - _getClass1("NSAppleEventDescriptor"); - late final _sel_nullDescriptor1 = _registerName1("nullDescriptor"); - ffi.Pointer _objc_msgSend_601( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_601( - obj, - sel, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_600 = + __objc_msgSend_600Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _class_NSScriptObjectSpecifier1 = objc.getClass( + "NSScriptObjectSpecifier", + ); + late final _class_NSAppleEventDescriptor1 = objc.getClass( + "NSAppleEventDescriptor", + ); + late final _sel_nullDescriptor1 = objc.registerName("nullDescriptor"); + ffi.Pointer _objc_msgSend_601( + ffi.Pointer obj, + ffi.Pointer sel, + ) { + return __objc_msgSend_601(obj, sel); } late final __objc_msgSend_601Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_601 = __objc_msgSend_601Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_descriptorWithDescriptorType_bytes_length_1 = - _registerName1("descriptorWithDescriptorType:bytes:length:"); - ffi.Pointer _objc_msgSend_602( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_601 = + __objc_msgSend_601Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_descriptorWithDescriptorType_bytes_length_1 = objc + .registerName("descriptorWithDescriptorType:bytes:length:"); + ffi.Pointer _objc_msgSend_602( + ffi.Pointer obj, + ffi.Pointer sel, int descriptorType, ffi.Pointer bytes, int byteCount, ) { - return __objc_msgSend_602( - obj, - sel, - descriptorType, - bytes, - byteCount, - ); + return __objc_msgSend_602(obj, sel, descriptorType, bytes, byteCount); } late final __objc_msgSend_602Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedInt, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedInt, + ffi.Pointer, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_602 = + __objc_msgSend_602Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, ffi.Pointer, - ffi.UnsignedLong)>>('objc_msgSend'); - late final __objc_msgSend_602 = __objc_msgSend_602Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, int, ffi.Pointer, int)>(); - - late final _sel_descriptorWithDescriptorType_data_1 = - _registerName1("descriptorWithDescriptorType:data:"); - ffi.Pointer _objc_msgSend_603( - ffi.Pointer obj, - ffi.Pointer sel, + int, + ) + >(); + + late final _sel_descriptorWithDescriptorType_data_1 = objc.registerName( + "descriptorWithDescriptorType:data:", + ); + ffi.Pointer _objc_msgSend_603( + ffi.Pointer obj, + ffi.Pointer sel, int descriptorType, - ffi.Pointer data, + ffi.Pointer data, ) { - return __objc_msgSend_603( - obj, - sel, - descriptorType, - data, - ); + return __objc_msgSend_603(obj, sel, descriptorType, data); } late final __objc_msgSend_603Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedInt, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_603 = __objc_msgSend_603Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, int, ffi.Pointer)>(); - - late final _sel_descriptorWithBoolean_1 = - _registerName1("descriptorWithBoolean:"); - ffi.Pointer _objc_msgSend_604( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedInt, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_603 = + __objc_msgSend_603Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ) + >(); + + late final _sel_descriptorWithBoolean_1 = objc.registerName( + "descriptorWithBoolean:", + ); + ffi.Pointer _objc_msgSend_604( + ffi.Pointer obj, + ffi.Pointer sel, int boolean, ) { - return __objc_msgSend_604( - obj, - sel, - boolean, - ); + return __objc_msgSend_604(obj, sel, boolean); } late final __objc_msgSend_604Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.UnsignedChar)>>('objc_msgSend'); - late final __objc_msgSend_604 = __objc_msgSend_604Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_descriptorWithEnumCode_1 = - _registerName1("descriptorWithEnumCode:"); - ffi.Pointer _objc_msgSend_605( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedChar, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_604 = + __objc_msgSend_604Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_descriptorWithEnumCode_1 = objc.registerName( + "descriptorWithEnumCode:", + ); + ffi.Pointer _objc_msgSend_605( + ffi.Pointer obj, + ffi.Pointer sel, int enumerator, ) { - return __objc_msgSend_605( - obj, - sel, - enumerator, - ); + return __objc_msgSend_605(obj, sel, enumerator); } late final __objc_msgSend_605Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.UnsignedInt)>>('objc_msgSend'); - late final __objc_msgSend_605 = __objc_msgSend_605Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_descriptorWithInt32_1 = - _registerName1("descriptorWithInt32:"); - ffi.Pointer _objc_msgSend_606( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedInt, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_605 = + __objc_msgSend_605Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_descriptorWithInt32_1 = objc.registerName( + "descriptorWithInt32:", + ); + ffi.Pointer _objc_msgSend_606( + ffi.Pointer obj, + ffi.Pointer sel, int signedInt, ) { - return __objc_msgSend_606( - obj, - sel, - signedInt, - ); + return __objc_msgSend_606(obj, sel, signedInt); } late final __objc_msgSend_606Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Int)>>('objc_msgSend'); - late final __objc_msgSend_606 = __objc_msgSend_606Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_descriptorWithDouble_1 = - _registerName1("descriptorWithDouble:"); - ffi.Pointer _objc_msgSend_607( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_606 = + __objc_msgSend_606Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_descriptorWithDouble_1 = objc.registerName( + "descriptorWithDouble:", + ); + ffi.Pointer _objc_msgSend_607( + ffi.Pointer obj, + ffi.Pointer sel, double doubleValue, ) { - return __objc_msgSend_607( - obj, - sel, - doubleValue, - ); + return __objc_msgSend_607(obj, sel, doubleValue); } late final __objc_msgSend_607Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Double)>>('objc_msgSend'); - late final __objc_msgSend_607 = __objc_msgSend_607Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer, double)>(); - - late final _sel_descriptorWithTypeCode_1 = - _registerName1("descriptorWithTypeCode:"); - late final _sel_descriptorWithString_1 = - _registerName1("descriptorWithString:"); - ffi.Pointer _objc_msgSend_608( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer string, - ) { - return __objc_msgSend_608( - obj, - sel, - string, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Double, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_607 = + __objc_msgSend_607Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + double, + ) + >(); + + late final _sel_descriptorWithTypeCode_1 = objc.registerName( + "descriptorWithTypeCode:", + ); + late final _sel_descriptorWithString_1 = objc.registerName( + "descriptorWithString:", + ); + ffi.Pointer _objc_msgSend_608( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer string, + ) { + return __objc_msgSend_608(obj, sel, string); } late final __objc_msgSend_608Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_608 = __objc_msgSend_608Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_descriptorWithDate_1 = _registerName1("descriptorWithDate:"); - ffi.Pointer _objc_msgSend_609( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer date, - ) { - return __objc_msgSend_609( - obj, - sel, - date, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_608 = + __objc_msgSend_608Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_descriptorWithDate_1 = objc.registerName( + "descriptorWithDate:", + ); + ffi.Pointer _objc_msgSend_609( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer date, + ) { + return __objc_msgSend_609(obj, sel, date); } late final __objc_msgSend_609Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_609 = __objc_msgSend_609Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_descriptorWithFileURL_1 = - _registerName1("descriptorWithFileURL:"); - ffi.Pointer _objc_msgSend_610( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer fileURL, - ) { - return __objc_msgSend_610( - obj, - sel, - fileURL, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_609 = + __objc_msgSend_609Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_descriptorWithFileURL_1 = objc.registerName( + "descriptorWithFileURL:", + ); + ffi.Pointer _objc_msgSend_610( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer fileURL, + ) { + return __objc_msgSend_610(obj, sel, fileURL); } late final __objc_msgSend_610Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_610 = __objc_msgSend_610Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_610 = + __objc_msgSend_610Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_appleEventWithEventClass_eventID_targetDescriptor_returnID_transactionID_1 = - _registerName1( - "appleEventWithEventClass:eventID:targetDescriptor:returnID:transactionID:"); - ffi.Pointer _objc_msgSend_611( - ffi.Pointer obj, - ffi.Pointer sel, + objc.registerName( + "appleEventWithEventClass:eventID:targetDescriptor:returnID:transactionID:", + ); + ffi.Pointer _objc_msgSend_611( + ffi.Pointer obj, + ffi.Pointer sel, int eventClass, int eventID, - ffi.Pointer targetDescriptor, + ffi.Pointer targetDescriptor, int returnID, int transactionID, ) { @@ -17309,114 +21687,155 @@ class AVFAudio { } late final __objc_msgSend_611Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedInt, - ffi.UnsignedInt, - ffi.Pointer, - ffi.Short, - ffi.Int)>>('objc_msgSend'); - late final __objc_msgSend_611 = __objc_msgSend_611Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, int, int, ffi.Pointer, int, int)>(); - - late final _sel_listDescriptor1 = _registerName1("listDescriptor"); - late final _sel_recordDescriptor1 = _registerName1("recordDescriptor"); - late final _sel_currentProcessDescriptor1 = - _registerName1("currentProcessDescriptor"); - late final _sel_descriptorWithProcessIdentifier_1 = - _registerName1("descriptorWithProcessIdentifier:"); - late final _sel_descriptorWithBundleIdentifier_1 = - _registerName1("descriptorWithBundleIdentifier:"); - late final _sel_descriptorWithApplicationURL_1 = - _registerName1("descriptorWithApplicationURL:"); - late final _sel_initWithAEDescNoCopy_1 = - _registerName1("initWithAEDescNoCopy:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedInt, + ffi.UnsignedInt, + ffi.Pointer, + ffi.Short, + ffi.Int, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_611 = + __objc_msgSend_611Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + int, + ffi.Pointer, + int, + int, + ) + >(); + + late final _sel_listDescriptor1 = objc.registerName("listDescriptor"); + late final _sel_recordDescriptor1 = objc.registerName("recordDescriptor"); + late final _sel_currentProcessDescriptor1 = objc.registerName( + "currentProcessDescriptor", + ); + late final _sel_descriptorWithProcessIdentifier_1 = objc.registerName( + "descriptorWithProcessIdentifier:", + ); + late final _sel_descriptorWithBundleIdentifier_1 = objc.registerName( + "descriptorWithBundleIdentifier:", + ); + late final _sel_descriptorWithApplicationURL_1 = objc.registerName( + "descriptorWithApplicationURL:", + ); + late final _sel_initWithAEDescNoCopy_1 = objc.registerName( + "initWithAEDescNoCopy:", + ); instancetype _objc_msgSend_612( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ffi.Pointer aeDesc, ) { - return __objc_msgSend_612( - obj, - sel, - aeDesc, - ); + return __objc_msgSend_612(obj, sel, aeDesc); } late final __objc_msgSend_612Ptr = _lookup< - ffi.NativeFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_612 = __objc_msgSend_612Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_initWithDescriptorType_bytes_length_1 = - _registerName1("initWithDescriptorType:bytes:length:"); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_612 = + __objc_msgSend_612Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_initWithDescriptorType_bytes_length_1 = objc.registerName( + "initWithDescriptorType:bytes:length:", + ); instancetype _objc_msgSend_613( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int descriptorType, ffi.Pointer bytes, int byteCount, ) { - return __objc_msgSend_613( - obj, - sel, - descriptorType, - bytes, - byteCount, - ); + return __objc_msgSend_613(obj, sel, descriptorType, bytes, byteCount); } late final __objc_msgSend_613Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedInt, + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedInt, + ffi.Pointer, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_613 = + __objc_msgSend_613Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + int, ffi.Pointer, - ffi.UnsignedLong)>>('objc_msgSend'); - late final __objc_msgSend_613 = __objc_msgSend_613Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, int, - ffi.Pointer, int)>(); + int, + ) + >(); - late final _sel_initWithDescriptorType_data_1 = - _registerName1("initWithDescriptorType:data:"); + late final _sel_initWithDescriptorType_data_1 = objc.registerName( + "initWithDescriptorType:data:", + ); instancetype _objc_msgSend_614( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int descriptorType, - ffi.Pointer data, + ffi.Pointer data, ) { - return __objc_msgSend_614( - obj, - sel, - descriptorType, - data, - ); + return __objc_msgSend_614(obj, sel, descriptorType, data); } late final __objc_msgSend_614Ptr = _lookup< - ffi.NativeFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.UnsignedInt, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_614 = __objc_msgSend_614Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, int, - ffi.Pointer)>(); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedInt, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_614 = + __objc_msgSend_614Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ) + >(); late final _sel_initWithEventClass_eventID_targetDescriptor_returnID_transactionID_1 = - _registerName1( - "initWithEventClass:eventID:targetDescriptor:returnID:transactionID:"); + objc.registerName( + "initWithEventClass:eventID:targetDescriptor:returnID:transactionID:", + ); instancetype _objc_msgSend_615( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int eventClass, int eventID, - ffi.Pointer targetDescriptor, + ffi.Pointer targetDescriptor, int returnID, int transactionID, ) { @@ -17432,959 +21851,1256 @@ class AVFAudio { } late final __objc_msgSend_615Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedInt, - ffi.UnsignedInt, - ffi.Pointer, - ffi.Short, - ffi.Int)>>('objc_msgSend'); - late final __objc_msgSend_615 = __objc_msgSend_615Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, int, - int, ffi.Pointer, int, int)>(); - - late final _sel_initListDescriptor1 = _registerName1("initListDescriptor"); - late final _sel_initRecordDescriptor1 = - _registerName1("initRecordDescriptor"); - late final _sel_aeDesc1 = _registerName1("aeDesc"); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedInt, + ffi.UnsignedInt, + ffi.Pointer, + ffi.Short, + ffi.Int, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_615 = + __objc_msgSend_615Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + int, + int, + ffi.Pointer, + int, + int, + ) + >(); + + late final _sel_initListDescriptor1 = objc.registerName("initListDescriptor"); + late final _sel_initRecordDescriptor1 = objc.registerName( + "initRecordDescriptor", + ); + late final _sel_aeDesc1 = objc.registerName("aeDesc"); ffi.Pointer _objc_msgSend_616( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_616( - obj, - sel, - ); + return __objc_msgSend_616(obj, sel); } late final __objc_msgSend_616Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_616 = __objc_msgSend_616Ptr.asFunction< + ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_descriptorType1 = _registerName1("descriptorType"); - late final _sel_booleanValue1 = _registerName1("booleanValue"); - late final _sel_enumCodeValue1 = _registerName1("enumCodeValue"); - late final _sel_int32Value1 = _registerName1("int32Value"); - late final _sel_typeCodeValue1 = _registerName1("typeCodeValue"); - late final _sel_dateValue1 = _registerName1("dateValue"); - late final _sel_fileURLValue1 = _registerName1("fileURLValue"); - late final _sel_eventClass1 = _registerName1("eventClass"); - late final _sel_eventID1 = _registerName1("eventID"); - late final _sel_returnID1 = _registerName1("returnID"); - late final _sel_transactionID1 = _registerName1("transactionID"); - late final _sel_setParamDescriptor_forKeyword_1 = - _registerName1("setParamDescriptor:forKeyword:"); + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_616 = + __objc_msgSend_616Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_descriptorType1 = objc.registerName("descriptorType"); + late final _sel_booleanValue1 = objc.registerName("booleanValue"); + late final _sel_enumCodeValue1 = objc.registerName("enumCodeValue"); + late final _sel_int32Value1 = objc.registerName("int32Value"); + late final _sel_typeCodeValue1 = objc.registerName("typeCodeValue"); + late final _sel_dateValue1 = objc.registerName("dateValue"); + late final _sel_fileURLValue1 = objc.registerName("fileURLValue"); + late final _sel_eventClass1 = objc.registerName("eventClass"); + late final _sel_eventID1 = objc.registerName("eventID"); + late final _sel_returnID1 = objc.registerName("returnID"); + late final _sel_transactionID1 = objc.registerName("transactionID"); + late final _sel_setParamDescriptor_forKeyword_1 = objc.registerName( + "setParamDescriptor:forKeyword:", + ); void _objc_msgSend_617( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer descriptor, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer descriptor, int keyword, ) { - return __objc_msgSend_617( - obj, - sel, - descriptor, - keyword, - ); + return __objc_msgSend_617(obj, sel, descriptor, keyword); } late final __objc_msgSend_617Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.UnsignedInt)>>('objc_msgSend'); - late final __objc_msgSend_617 = __objc_msgSend_617Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int)>(); - - late final _sel_paramDescriptorForKeyword_1 = - _registerName1("paramDescriptorForKeyword:"); - ffi.Pointer _objc_msgSend_618( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedInt, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_617 = + __objc_msgSend_617Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_paramDescriptorForKeyword_1 = objc.registerName( + "paramDescriptorForKeyword:", + ); + ffi.Pointer _objc_msgSend_618( + ffi.Pointer obj, + ffi.Pointer sel, int keyword, ) { - return __objc_msgSend_618( - obj, - sel, - keyword, - ); + return __objc_msgSend_618(obj, sel, keyword); } late final __objc_msgSend_618Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.UnsignedInt)>>('objc_msgSend'); - late final __objc_msgSend_618 = __objc_msgSend_618Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_removeParamDescriptorWithKeyword_1 = - _registerName1("removeParamDescriptorWithKeyword:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedInt, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_618 = + __objc_msgSend_618Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_removeParamDescriptorWithKeyword_1 = objc.registerName( + "removeParamDescriptorWithKeyword:", + ); void _objc_msgSend_619( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int keyword, ) { - return __objc_msgSend_619( - obj, - sel, - keyword, - ); + return __objc_msgSend_619(obj, sel, keyword); } late final __objc_msgSend_619Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.UnsignedInt)>>('objc_msgSend'); - late final __objc_msgSend_619 = __objc_msgSend_619Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_setAttributeDescriptor_forKeyword_1 = - _registerName1("setAttributeDescriptor:forKeyword:"); - late final _sel_attributeDescriptorForKeyword_1 = - _registerName1("attributeDescriptorForKeyword:"); - late final _sel_sendEventWithOptions_timeout_error_1 = - _registerName1("sendEventWithOptions:timeout:error:"); - ffi.Pointer _objc_msgSend_620( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedInt, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_619 = + __objc_msgSend_619Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_setAttributeDescriptor_forKeyword_1 = objc.registerName( + "setAttributeDescriptor:forKeyword:", + ); + late final _sel_attributeDescriptorForKeyword_1 = objc.registerName( + "attributeDescriptorForKeyword:", + ); + late final _sel_sendEventWithOptions_timeout_error_1 = objc.registerName( + "sendEventWithOptions:timeout:error:", + ); + ffi.Pointer _objc_msgSend_620( + ffi.Pointer obj, + ffi.Pointer sel, int sendOptions, double timeoutInSeconds, - ffi.Pointer> error, + ffi.Pointer> error, ) { - return __objc_msgSend_620( - obj, - sel, - sendOptions, - timeoutInSeconds, - error, - ); + return __objc_msgSend_620(obj, sel, sendOptions, timeoutInSeconds, error); } late final __objc_msgSend_620Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Double, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_620 = __objc_msgSend_620Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - double, - ffi.Pointer>)>(); - - late final _sel_isRecordDescriptor1 = _registerName1("isRecordDescriptor"); - late final _sel_numberOfItems1 = _registerName1("numberOfItems"); - late final _sel_insertDescriptor_atIndex_1 = - _registerName1("insertDescriptor:atIndex:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Double, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_620 = + __objc_msgSend_620Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + double, + ffi.Pointer>, + ) + >(); + + late final _sel_isRecordDescriptor1 = objc.registerName("isRecordDescriptor"); + late final _sel_numberOfItems1 = objc.registerName("numberOfItems"); + late final _sel_insertDescriptor_atIndex_1 = objc.registerName( + "insertDescriptor:atIndex:", + ); void _objc_msgSend_621( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer descriptor, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer descriptor, int index, ) { - return __objc_msgSend_621( - obj, - sel, - descriptor, - index, - ); + return __objc_msgSend_621(obj, sel, descriptor, index); } late final __objc_msgSend_621Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Long)>>('objc_msgSend'); - late final __objc_msgSend_621 = __objc_msgSend_621Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int)>(); - - late final _sel_descriptorAtIndex_1 = _registerName1("descriptorAtIndex:"); - ffi.Pointer _objc_msgSend_622( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Long, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_621 = + __objc_msgSend_621Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_descriptorAtIndex_1 = objc.registerName("descriptorAtIndex:"); + ffi.Pointer _objc_msgSend_622( + ffi.Pointer obj, + ffi.Pointer sel, int index, ) { - return __objc_msgSend_622( - obj, - sel, - index, - ); + return __objc_msgSend_622(obj, sel, index); } late final __objc_msgSend_622Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Long)>>('objc_msgSend'); - late final __objc_msgSend_622 = __objc_msgSend_622Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_removeDescriptorAtIndex_1 = - _registerName1("removeDescriptorAtIndex:"); - late final _sel_setDescriptor_forKeyword_1 = - _registerName1("setDescriptor:forKeyword:"); - late final _sel_descriptorForKeyword_1 = - _registerName1("descriptorForKeyword:"); - late final _sel_removeDescriptorWithKeyword_1 = - _registerName1("removeDescriptorWithKeyword:"); - late final _sel_keywordForDescriptorAtIndex_1 = - _registerName1("keywordForDescriptorAtIndex:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Long, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_622 = + __objc_msgSend_622Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_removeDescriptorAtIndex_1 = objc.registerName( + "removeDescriptorAtIndex:", + ); + late final _sel_setDescriptor_forKeyword_1 = objc.registerName( + "setDescriptor:forKeyword:", + ); + late final _sel_descriptorForKeyword_1 = objc.registerName( + "descriptorForKeyword:", + ); + late final _sel_removeDescriptorWithKeyword_1 = objc.registerName( + "removeDescriptorWithKeyword:", + ); + late final _sel_keywordForDescriptorAtIndex_1 = objc.registerName( + "keywordForDescriptorAtIndex:", + ); int _objc_msgSend_623( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int index, ) { - return __objc_msgSend_623( - obj, - sel, - index, - ); + return __objc_msgSend_623(obj, sel, index); } late final __objc_msgSend_623Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedInt Function(ffi.Pointer, - ffi.Pointer, ffi.Long)>>('objc_msgSend'); - late final __objc_msgSend_623 = __objc_msgSend_623Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_coerceToDescriptorType_1 = - _registerName1("coerceToDescriptorType:"); - late final _sel_objectSpecifierWithDescriptor_1 = - _registerName1("objectSpecifierWithDescriptor:"); - ffi.Pointer _objc_msgSend_624( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer descriptor, - ) { - return __objc_msgSend_624( - obj, - sel, - descriptor, - ); + ffi.NativeFunction< + ffi.UnsignedInt Function( + ffi.Pointer, + ffi.Pointer, + ffi.Long, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_623 = + __objc_msgSend_623Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_coerceToDescriptorType_1 = objc.registerName( + "coerceToDescriptorType:", + ); + late final _sel_objectSpecifierWithDescriptor_1 = objc.registerName( + "objectSpecifierWithDescriptor:", + ); + ffi.Pointer _objc_msgSend_624( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer descriptor, + ) { + return __objc_msgSend_624(obj, sel, descriptor); } late final __objc_msgSend_624Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_624 = __objc_msgSend_624Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_initWithContainerSpecifier_key_1 = - _registerName1("initWithContainerSpecifier:key:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_624 = + __objc_msgSend_624Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_initWithContainerSpecifier_key_1 = objc.registerName( + "initWithContainerSpecifier:key:", + ); instancetype _objc_msgSend_625( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer container, - ffi.Pointer property, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer container, + ffi.Pointer property, ) { - return __objc_msgSend_625( - obj, - sel, - container, - property, - ); + return __objc_msgSend_625(obj, sel, container, property); } late final __objc_msgSend_625Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_625 = __objc_msgSend_625Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _class_NSScriptClassDescription1 = - _getClass1("NSScriptClassDescription"); - ffi.Pointer _objc_msgSend_626( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aClass, - ) { - return __objc_msgSend_626( - obj, - sel, - aClass, - ); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_625 = + __objc_msgSend_625Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _class_NSScriptClassDescription1 = objc.getClass( + "NSScriptClassDescription", + ); + ffi.Pointer _objc_msgSend_626( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer aClass, + ) { + return __objc_msgSend_626(obj, sel, aClass); } late final __objc_msgSend_626Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_626 = __objc_msgSend_626Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_initWithSuiteName_className_dictionary_1 = - _registerName1("initWithSuiteName:className:dictionary:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_626 = + __objc_msgSend_626Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_initWithSuiteName_className_dictionary_1 = objc.registerName( + "initWithSuiteName:className:dictionary:", + ); instancetype _objc_msgSend_627( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer suiteName, - ffi.Pointer className, - ffi.Pointer classDeclaration, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer suiteName, + ffi.Pointer className, + ffi.Pointer classDeclaration, ) { - return __objc_msgSend_627( - obj, - sel, - suiteName, - className, - classDeclaration, - ); + return __objc_msgSend_627(obj, sel, suiteName, className, classDeclaration); } late final __objc_msgSend_627Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_627 = __objc_msgSend_627Ptr.asFunction< + ffi.NativeFunction< instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_suiteName1 = _registerName1("suiteName"); - late final _sel_className1 = _registerName1("className"); - late final _sel_implementationClassName1 = - _registerName1("implementationClassName"); - late final _sel_superclassDescription1 = - _registerName1("superclassDescription"); - ffi.Pointer _objc_msgSend_628( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_628( - obj, - sel, - ); + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_627 = + __objc_msgSend_627Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_suiteName1 = objc.registerName("suiteName"); + late final _sel_className1 = objc.registerName("className"); + late final _sel_implementationClassName1 = objc.registerName( + "implementationClassName", + ); + late final _sel_superclassDescription1 = objc.registerName( + "superclassDescription", + ); + ffi.Pointer _objc_msgSend_628( + ffi.Pointer obj, + ffi.Pointer sel, + ) { + return __objc_msgSend_628(obj, sel); } late final __objc_msgSend_628Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_628 = __objc_msgSend_628Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_appleEventCode1 = _registerName1("appleEventCode"); - late final _sel_matchesAppleEventCode_1 = - _registerName1("matchesAppleEventCode:"); - late final _class_NSScriptCommandDescription1 = - _getClass1("NSScriptCommandDescription"); - late final _sel_initWithSuiteName_commandName_dictionary_1 = - _registerName1("initWithSuiteName:commandName:dictionary:"); - late final _sel_commandName1 = _registerName1("commandName"); - late final _sel_appleEventClassCode1 = _registerName1("appleEventClassCode"); - late final _sel_commandClassName1 = _registerName1("commandClassName"); - late final _sel_returnType1 = _registerName1("returnType"); - late final _sel_appleEventCodeForReturnType1 = - _registerName1("appleEventCodeForReturnType"); - late final _sel_argumentNames1 = _registerName1("argumentNames"); - late final _sel_typeForArgumentWithName_1 = - _registerName1("typeForArgumentWithName:"); - late final _sel_appleEventCodeForArgumentWithName_1 = - _registerName1("appleEventCodeForArgumentWithName:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_628 = + __objc_msgSend_628Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_appleEventCode1 = objc.registerName("appleEventCode"); + late final _sel_matchesAppleEventCode_1 = objc.registerName( + "matchesAppleEventCode:", + ); + late final _class_NSScriptCommandDescription1 = objc.getClass( + "NSScriptCommandDescription", + ); + late final _sel_initWithSuiteName_commandName_dictionary_1 = objc + .registerName("initWithSuiteName:commandName:dictionary:"); + late final _sel_commandName1 = objc.registerName("commandName"); + late final _sel_appleEventClassCode1 = objc.registerName( + "appleEventClassCode", + ); + late final _sel_commandClassName1 = objc.registerName("commandClassName"); + late final _sel_returnType1 = objc.registerName("returnType"); + late final _sel_appleEventCodeForReturnType1 = objc.registerName( + "appleEventCodeForReturnType", + ); + late final _sel_argumentNames1 = objc.registerName("argumentNames"); + late final _sel_typeForArgumentWithName_1 = objc.registerName( + "typeForArgumentWithName:", + ); + late final _sel_appleEventCodeForArgumentWithName_1 = objc.registerName( + "appleEventCodeForArgumentWithName:", + ); int _objc_msgSend_629( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer argumentName, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer argumentName, ) { - return __objc_msgSend_629( - obj, - sel, - argumentName, - ); + return __objc_msgSend_629(obj, sel, argumentName); } late final __objc_msgSend_629Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedInt Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_629 = __objc_msgSend_629Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_isOptionalArgumentWithName_1 = - _registerName1("isOptionalArgumentWithName:"); - late final _class_NSScriptCommand1 = _getClass1("NSScriptCommand"); - late final _sel_initWithCommandDescription_1 = - _registerName1("initWithCommandDescription:"); + ffi.NativeFunction< + ffi.UnsignedInt Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_629 = + __objc_msgSend_629Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_isOptionalArgumentWithName_1 = objc.registerName( + "isOptionalArgumentWithName:", + ); + late final _class_NSScriptCommand1 = objc.getClass("NSScriptCommand"); + late final _sel_initWithCommandDescription_1 = objc.registerName( + "initWithCommandDescription:", + ); instancetype _objc_msgSend_630( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer commandDef, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer commandDef, ) { - return __objc_msgSend_630( - obj, - sel, - commandDef, - ); + return __objc_msgSend_630(obj, sel, commandDef); } late final __objc_msgSend_630Ptr = _lookup< - ffi.NativeFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_630 = __objc_msgSend_630Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_commandDescription1 = _registerName1("commandDescription"); - ffi.Pointer _objc_msgSend_631( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_631( - obj, - sel, - ); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_630 = + __objc_msgSend_630Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_commandDescription1 = objc.registerName("commandDescription"); + ffi.Pointer _objc_msgSend_631( + ffi.Pointer obj, + ffi.Pointer sel, + ) { + return __objc_msgSend_631(obj, sel); } late final __objc_msgSend_631Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_631 = __objc_msgSend_631Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_directParameter1 = _registerName1("directParameter"); - late final _sel_setDirectParameter_1 = _registerName1("setDirectParameter:"); - late final _sel_receiversSpecifier1 = _registerName1("receiversSpecifier"); - ffi.Pointer _objc_msgSend_632( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_632( - obj, - sel, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_631 = + __objc_msgSend_631Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_directParameter1 = objc.registerName("directParameter"); + late final _sel_setDirectParameter_1 = objc.registerName( + "setDirectParameter:", + ); + late final _sel_receiversSpecifier1 = objc.registerName("receiversSpecifier"); + ffi.Pointer _objc_msgSend_632( + ffi.Pointer obj, + ffi.Pointer sel, + ) { + return __objc_msgSend_632(obj, sel); } late final __objc_msgSend_632Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_632 = __objc_msgSend_632Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_setReceiversSpecifier_1 = - _registerName1("setReceiversSpecifier:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_632 = + __objc_msgSend_632Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_setReceiversSpecifier_1 = objc.registerName( + "setReceiversSpecifier:", + ); void _objc_msgSend_633( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value, ) { - return __objc_msgSend_633( - obj, - sel, - value, - ); + return __objc_msgSend_633(obj, sel, value); } late final __objc_msgSend_633Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_633 = __objc_msgSend_633Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_evaluatedReceivers1 = _registerName1("evaluatedReceivers"); - late final _sel_arguments1 = _registerName1("arguments"); - late final _sel_setArguments_1 = _registerName1("setArguments:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_633 = + __objc_msgSend_633Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_evaluatedReceivers1 = objc.registerName("evaluatedReceivers"); + late final _sel_arguments1 = objc.registerName("arguments"); + late final _sel_setArguments_1 = objc.registerName("setArguments:"); void _objc_msgSend_634( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value, ) { - return __objc_msgSend_634( - obj, - sel, - value, - ); + return __objc_msgSend_634(obj, sel, value); } late final __objc_msgSend_634Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_634 = __objc_msgSend_634Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_evaluatedArguments1 = _registerName1("evaluatedArguments"); - late final _sel_isWellFormed1 = _registerName1("isWellFormed"); - late final _sel_performDefaultImplementation1 = - _registerName1("performDefaultImplementation"); - late final _sel_executeCommand1 = _registerName1("executeCommand"); - late final _sel_scriptErrorNumber1 = _registerName1("scriptErrorNumber"); - late final _sel_setScriptErrorNumber_1 = - _registerName1("setScriptErrorNumber:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_634 = + __objc_msgSend_634Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_evaluatedArguments1 = objc.registerName("evaluatedArguments"); + late final _sel_isWellFormed1 = objc.registerName("isWellFormed"); + late final _sel_performDefaultImplementation1 = objc.registerName( + "performDefaultImplementation", + ); + late final _sel_executeCommand1 = objc.registerName("executeCommand"); + late final _sel_scriptErrorNumber1 = objc.registerName("scriptErrorNumber"); + late final _sel_setScriptErrorNumber_1 = objc.registerName( + "setScriptErrorNumber:", + ); void _objc_msgSend_635( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int value, ) { - return __objc_msgSend_635( - obj, - sel, - value, - ); + return __objc_msgSend_635(obj, sel, value); } late final __objc_msgSend_635Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Long)>>('objc_msgSend'); - late final __objc_msgSend_635 = __objc_msgSend_635Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_scriptErrorOffendingObjectDescriptor1 = - _registerName1("scriptErrorOffendingObjectDescriptor"); - ffi.Pointer _objc_msgSend_636( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_636( - obj, - sel, - ); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Long, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_635 = + __objc_msgSend_635Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_scriptErrorOffendingObjectDescriptor1 = objc.registerName( + "scriptErrorOffendingObjectDescriptor", + ); + ffi.Pointer _objc_msgSend_636( + ffi.Pointer obj, + ffi.Pointer sel, + ) { + return __objc_msgSend_636(obj, sel); } late final __objc_msgSend_636Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_636 = __objc_msgSend_636Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_setScriptErrorOffendingObjectDescriptor_1 = - _registerName1("setScriptErrorOffendingObjectDescriptor:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_636 = + __objc_msgSend_636Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_setScriptErrorOffendingObjectDescriptor_1 = objc.registerName( + "setScriptErrorOffendingObjectDescriptor:", + ); void _objc_msgSend_637( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value, ) { - return __objc_msgSend_637( - obj, - sel, - value, - ); + return __objc_msgSend_637(obj, sel, value); } late final __objc_msgSend_637Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_637 = __objc_msgSend_637Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_scriptErrorExpectedTypeDescriptor1 = - _registerName1("scriptErrorExpectedTypeDescriptor"); - late final _sel_setScriptErrorExpectedTypeDescriptor_1 = - _registerName1("setScriptErrorExpectedTypeDescriptor:"); - late final _sel_scriptErrorString1 = _registerName1("scriptErrorString"); - late final _sel_setScriptErrorString_1 = - _registerName1("setScriptErrorString:"); - late final _sel_currentCommand1 = _registerName1("currentCommand"); - ffi.Pointer _objc_msgSend_638( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_638( - obj, - sel, - ); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_637 = + __objc_msgSend_637Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_scriptErrorExpectedTypeDescriptor1 = objc.registerName( + "scriptErrorExpectedTypeDescriptor", + ); + late final _sel_setScriptErrorExpectedTypeDescriptor_1 = objc.registerName( + "setScriptErrorExpectedTypeDescriptor:", + ); + late final _sel_scriptErrorString1 = objc.registerName("scriptErrorString"); + late final _sel_setScriptErrorString_1 = objc.registerName( + "setScriptErrorString:", + ); + late final _sel_currentCommand1 = objc.registerName("currentCommand"); + ffi.Pointer _objc_msgSend_638( + ffi.Pointer obj, + ffi.Pointer sel, + ) { + return __objc_msgSend_638(obj, sel); } late final __objc_msgSend_638Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_638 = __objc_msgSend_638Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_appleEvent1 = _registerName1("appleEvent"); - late final _sel_suspendExecution1 = _registerName1("suspendExecution"); - late final _sel_resumeExecutionWithResult_1 = - _registerName1("resumeExecutionWithResult:"); - late final _sel_createCommandInstance1 = - _registerName1("createCommandInstance"); - ffi.Pointer _objc_msgSend_639( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_639( - obj, - sel, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_638 = + __objc_msgSend_638Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_appleEvent1 = objc.registerName("appleEvent"); + late final _sel_suspendExecution1 = objc.registerName("suspendExecution"); + late final _sel_resumeExecutionWithResult_1 = objc.registerName( + "resumeExecutionWithResult:", + ); + late final _sel_createCommandInstance1 = objc.registerName( + "createCommandInstance", + ); + ffi.Pointer _objc_msgSend_639( + ffi.Pointer obj, + ffi.Pointer sel, + ) { + return __objc_msgSend_639(obj, sel); } late final __objc_msgSend_639Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_639 = __objc_msgSend_639Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_createCommandInstanceWithZone_1 = - _registerName1("createCommandInstanceWithZone:"); - ffi.Pointer _objc_msgSend_640( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_639 = + __objc_msgSend_639Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_createCommandInstanceWithZone_1 = objc.registerName( + "createCommandInstanceWithZone:", + ); + ffi.Pointer _objc_msgSend_640( + ffi.Pointer obj, + ffi.Pointer sel, ffi.Pointer<_NSZone> zone, ) { - return __objc_msgSend_640( - obj, - sel, - zone, - ); + return __objc_msgSend_640(obj, sel, zone); } late final __objc_msgSend_640Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer<_NSZone>)>>('objc_msgSend'); - late final __objc_msgSend_640 = __objc_msgSend_640Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer<_NSZone>)>(); - - late final _sel_supportsCommand_1 = _registerName1("supportsCommand:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_NSZone>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_640 = + __objc_msgSend_640Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_NSZone>, + ) + >(); + + late final _sel_supportsCommand_1 = objc.registerName("supportsCommand:"); bool _objc_msgSend_641( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer commandDescription, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer commandDescription, ) { - return __objc_msgSend_641( - obj, - sel, - commandDescription, - ); + return __objc_msgSend_641(obj, sel, commandDescription); } late final __objc_msgSend_641Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_641 = __objc_msgSend_641Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_selectorForCommand_1 = _registerName1("selectorForCommand:"); - ffi.Pointer _objc_msgSend_642( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer commandDescription, - ) { - return __objc_msgSend_642( - obj, - sel, - commandDescription, - ); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_641 = + __objc_msgSend_641Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_selectorForCommand_1 = objc.registerName( + "selectorForCommand:", + ); + ffi.Pointer _objc_msgSend_642( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer commandDescription, + ) { + return __objc_msgSend_642(obj, sel, commandDescription); } late final __objc_msgSend_642Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_642 = __objc_msgSend_642Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_typeForKey_1 = _registerName1("typeForKey:"); - late final _sel_classDescriptionForKey_1 = - _registerName1("classDescriptionForKey:"); - ffi.Pointer _objc_msgSend_643( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer key, - ) { - return __objc_msgSend_643( - obj, - sel, - key, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_642 = + __objc_msgSend_642Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_typeForKey_1 = objc.registerName("typeForKey:"); + late final _sel_classDescriptionForKey_1 = objc.registerName( + "classDescriptionForKey:", + ); + ffi.Pointer _objc_msgSend_643( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer key, + ) { + return __objc_msgSend_643(obj, sel, key); } late final __objc_msgSend_643Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_643 = __objc_msgSend_643Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_appleEventCodeForKey_1 = - _registerName1("appleEventCodeForKey:"); - late final _sel_keyWithAppleEventCode_1 = - _registerName1("keyWithAppleEventCode:"); - ffi.Pointer _objc_msgSend_644( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_643 = + __objc_msgSend_643Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_appleEventCodeForKey_1 = objc.registerName( + "appleEventCodeForKey:", + ); + late final _sel_keyWithAppleEventCode_1 = objc.registerName( + "keyWithAppleEventCode:", + ); + ffi.Pointer _objc_msgSend_644( + ffi.Pointer obj, + ffi.Pointer sel, int appleEventCode, ) { - return __objc_msgSend_644( - obj, - sel, - appleEventCode, - ); + return __objc_msgSend_644(obj, sel, appleEventCode); } late final __objc_msgSend_644Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.UnsignedInt)>>('objc_msgSend'); - late final __objc_msgSend_644 = __objc_msgSend_644Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_defaultSubcontainerAttributeKey1 = - _registerName1("defaultSubcontainerAttributeKey"); - late final _sel_isLocationRequiredToCreateForKey_1 = - _registerName1("isLocationRequiredToCreateForKey:"); - late final _sel_hasPropertyForKey_1 = _registerName1("hasPropertyForKey:"); - late final _sel_hasOrderedToManyRelationshipForKey_1 = - _registerName1("hasOrderedToManyRelationshipForKey:"); - late final _sel_hasReadablePropertyForKey_1 = - _registerName1("hasReadablePropertyForKey:"); - late final _sel_hasWritablePropertyForKey_1 = - _registerName1("hasWritablePropertyForKey:"); - late final _sel_isReadOnlyKey_1 = _registerName1("isReadOnlyKey:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedInt, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_644 = + __objc_msgSend_644Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_defaultSubcontainerAttributeKey1 = objc.registerName( + "defaultSubcontainerAttributeKey", + ); + late final _sel_isLocationRequiredToCreateForKey_1 = objc.registerName( + "isLocationRequiredToCreateForKey:", + ); + late final _sel_hasPropertyForKey_1 = objc.registerName("hasPropertyForKey:"); + late final _sel_hasOrderedToManyRelationshipForKey_1 = objc.registerName( + "hasOrderedToManyRelationshipForKey:", + ); + late final _sel_hasReadablePropertyForKey_1 = objc.registerName( + "hasReadablePropertyForKey:", + ); + late final _sel_hasWritablePropertyForKey_1 = objc.registerName( + "hasWritablePropertyForKey:", + ); + late final _sel_isReadOnlyKey_1 = objc.registerName("isReadOnlyKey:"); late final _sel_initWithContainerClassDescription_containerSpecifier_key_1 = - _registerName1( - "initWithContainerClassDescription:containerSpecifier:key:"); + objc.registerName( + "initWithContainerClassDescription:containerSpecifier:key:", + ); instancetype _objc_msgSend_645( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer classDesc, - ffi.Pointer container, - ffi.Pointer property, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer classDesc, + ffi.Pointer container, + ffi.Pointer property, ) { - return __objc_msgSend_645( - obj, - sel, - classDesc, - container, - property, - ); + return __objc_msgSend_645(obj, sel, classDesc, container, property); } late final __objc_msgSend_645Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_645 = __objc_msgSend_645Ptr.asFunction< + ffi.NativeFunction< instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_childSpecifier1 = _registerName1("childSpecifier"); - late final _sel_setChildSpecifier_1 = _registerName1("setChildSpecifier:"); - late final _sel_containerSpecifier1 = _registerName1("containerSpecifier"); - late final _sel_setContainerSpecifier_1 = - _registerName1("setContainerSpecifier:"); - late final _sel_containerIsObjectBeingTested1 = - _registerName1("containerIsObjectBeingTested"); - late final _sel_setContainerIsObjectBeingTested_1 = - _registerName1("setContainerIsObjectBeingTested:"); - late final _sel_containerIsRangeContainerObject1 = - _registerName1("containerIsRangeContainerObject"); - late final _sel_setContainerIsRangeContainerObject_1 = - _registerName1("setContainerIsRangeContainerObject:"); - late final _sel_key1 = _registerName1("key"); - late final _sel_setKey_1 = _registerName1("setKey:"); + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_645 = + __objc_msgSend_645Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_childSpecifier1 = objc.registerName("childSpecifier"); + late final _sel_setChildSpecifier_1 = objc.registerName("setChildSpecifier:"); + late final _sel_containerSpecifier1 = objc.registerName("containerSpecifier"); + late final _sel_setContainerSpecifier_1 = objc.registerName( + "setContainerSpecifier:", + ); + late final _sel_containerIsObjectBeingTested1 = objc.registerName( + "containerIsObjectBeingTested", + ); + late final _sel_setContainerIsObjectBeingTested_1 = objc.registerName( + "setContainerIsObjectBeingTested:", + ); + late final _sel_containerIsRangeContainerObject1 = objc.registerName( + "containerIsRangeContainerObject", + ); + late final _sel_setContainerIsRangeContainerObject_1 = objc.registerName( + "setContainerIsRangeContainerObject:", + ); + late final _sel_key1 = objc.registerName("key"); + late final _sel_setKey_1 = objc.registerName("setKey:"); void _objc_msgSend_646( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value, ) { - return __objc_msgSend_646( - obj, - sel, - value, - ); + return __objc_msgSend_646(obj, sel, value); } late final __objc_msgSend_646Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_646 = __objc_msgSend_646Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_containerClassDescription1 = - _registerName1("containerClassDescription"); - late final _sel_setContainerClassDescription_1 = - _registerName1("setContainerClassDescription:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_646 = + __objc_msgSend_646Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_containerClassDescription1 = objc.registerName( + "containerClassDescription", + ); + late final _sel_setContainerClassDescription_1 = objc.registerName( + "setContainerClassDescription:", + ); void _objc_msgSend_647( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value, ) { - return __objc_msgSend_647( - obj, - sel, - value, - ); + return __objc_msgSend_647(obj, sel, value); } late final __objc_msgSend_647Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_647 = __objc_msgSend_647Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_keyClassDescription1 = _registerName1("keyClassDescription"); - late final _sel_indicesOfObjectsByEvaluatingWithContainer_count_1 = - _registerName1("indicesOfObjectsByEvaluatingWithContainer:count:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_647 = + __objc_msgSend_647Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_keyClassDescription1 = objc.registerName( + "keyClassDescription", + ); + late final _sel_indicesOfObjectsByEvaluatingWithContainer_count_1 = objc + .registerName("indicesOfObjectsByEvaluatingWithContainer:count:"); ffi.Pointer _objc_msgSend_648( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer container, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer container, ffi.Pointer count, ) { - return __objc_msgSend_648( - obj, - sel, - container, - count, - ); + return __objc_msgSend_648(obj, sel, container, count); } late final __objc_msgSend_648Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_648 = __objc_msgSend_648Ptr.asFunction< + ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_objectsByEvaluatingWithContainers_1 = - _registerName1("objectsByEvaluatingWithContainers:"); - late final _sel_objectsByEvaluatingSpecifier1 = - _registerName1("objectsByEvaluatingSpecifier"); - late final _sel_evaluationErrorNumber1 = - _registerName1("evaluationErrorNumber"); - late final _sel_setEvaluationErrorNumber_1 = - _registerName1("setEvaluationErrorNumber:"); - late final _sel_evaluationErrorSpecifier1 = - _registerName1("evaluationErrorSpecifier"); - late final _sel_descriptor1 = _registerName1("descriptor"); - late final _sel_scriptingValueForSpecifier_1 = - _registerName1("scriptingValueForSpecifier:"); - ffi.Pointer _objc_msgSend_649( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer objectSpecifier, - ) { - return __objc_msgSend_649( - obj, - sel, - objectSpecifier, - ); + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_648 = + __objc_msgSend_648Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_objectsByEvaluatingWithContainers_1 = objc.registerName( + "objectsByEvaluatingWithContainers:", + ); + late final _sel_objectsByEvaluatingSpecifier1 = objc.registerName( + "objectsByEvaluatingSpecifier", + ); + late final _sel_evaluationErrorNumber1 = objc.registerName( + "evaluationErrorNumber", + ); + late final _sel_setEvaluationErrorNumber_1 = objc.registerName( + "setEvaluationErrorNumber:", + ); + late final _sel_evaluationErrorSpecifier1 = objc.registerName( + "evaluationErrorSpecifier", + ); + late final _sel_descriptor1 = objc.registerName("descriptor"); + late final _sel_scriptingValueForSpecifier_1 = objc.registerName( + "scriptingValueForSpecifier:", + ); + ffi.Pointer _objc_msgSend_649( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer objectSpecifier, + ) { + return __objc_msgSend_649(obj, sel, objectSpecifier); } late final __objc_msgSend_649Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_649 = __objc_msgSend_649Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_scriptingProperties1 = _registerName1("scriptingProperties"); - late final _sel_setScriptingProperties_1 = - _registerName1("setScriptingProperties:"); - late final _sel_copyScriptingValue_forKey_withProperties_1 = - _registerName1("copyScriptingValue:forKey:withProperties:"); - ffi.Pointer _objc_msgSend_650( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, - ffi.Pointer key, - ffi.Pointer properties, - ) { - return __objc_msgSend_650( - obj, - sel, - value, - key, - properties, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_649 = + __objc_msgSend_649Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_scriptingProperties1 = objc.registerName( + "scriptingProperties", + ); + late final _sel_setScriptingProperties_1 = objc.registerName( + "setScriptingProperties:", + ); + late final _sel_copyScriptingValue_forKey_withProperties_1 = objc + .registerName("copyScriptingValue:forKey:withProperties:"); + ffi.Pointer _objc_msgSend_650( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value, + ffi.Pointer key, + ffi.Pointer properties, + ) { + return __objc_msgSend_650(obj, sel, value, key, properties); } late final __objc_msgSend_650Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_650 = __objc_msgSend_650Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_650 = + __objc_msgSend_650Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_newScriptingObjectOfClass_forValueForKey_withContentsValue_properties_1 = - _registerName1( - "newScriptingObjectOfClass:forValueForKey:withContentsValue:properties:"); - ffi.Pointer _objc_msgSend_651( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer objectClass, - ffi.Pointer key, - ffi.Pointer contentsValue, - ffi.Pointer properties, + objc.registerName( + "newScriptingObjectOfClass:forValueForKey:withContentsValue:properties:", + ); + ffi.Pointer _objc_msgSend_651( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer objectClass, + ffi.Pointer key, + ffi.Pointer contentsValue, + ffi.Pointer properties, ) { return __objc_msgSend_651( obj, @@ -18397,295 +23113,372 @@ class AVFAudio { } late final __objc_msgSend_651Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_651 = __objc_msgSend_651Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_classCode1 = _registerName1("classCode"); - late final _sel_valueAtIndex_inPropertyWithKey_1 = - _registerName1("valueAtIndex:inPropertyWithKey:"); - ffi.Pointer _objc_msgSend_652( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_651 = + __objc_msgSend_651Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_classCode1 = objc.registerName("classCode"); + late final _sel_valueAtIndex_inPropertyWithKey_1 = objc.registerName( + "valueAtIndex:inPropertyWithKey:", + ); + ffi.Pointer _objc_msgSend_652( + ffi.Pointer obj, + ffi.Pointer sel, int index, - ffi.Pointer key, + ffi.Pointer key, ) { - return __objc_msgSend_652( - obj, - sel, - index, - key, - ); + return __objc_msgSend_652(obj, sel, index, key); } late final __objc_msgSend_652Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_652 = __objc_msgSend_652Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, int, ffi.Pointer)>(); - - late final _sel_valueWithName_inPropertyWithKey_1 = - _registerName1("valueWithName:inPropertyWithKey:"); - late final _sel_valueWithUniqueID_inPropertyWithKey_1 = - _registerName1("valueWithUniqueID:inPropertyWithKey:"); - late final _sel_insertValue_atIndex_inPropertyWithKey_1 = - _registerName1("insertValue:atIndex:inPropertyWithKey:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_652 = + __objc_msgSend_652Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ) + >(); + + late final _sel_valueWithName_inPropertyWithKey_1 = objc.registerName( + "valueWithName:inPropertyWithKey:", + ); + late final _sel_valueWithUniqueID_inPropertyWithKey_1 = objc.registerName( + "valueWithUniqueID:inPropertyWithKey:", + ); + late final _sel_insertValue_atIndex_inPropertyWithKey_1 = objc.registerName( + "insertValue:atIndex:inPropertyWithKey:", + ); void _objc_msgSend_653( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value, int index, - ffi.Pointer key, + ffi.Pointer key, ) { - return __objc_msgSend_653( - obj, - sel, - value, - index, - key, - ); + return __objc_msgSend_653(obj, sel, value, index, key); } late final __objc_msgSend_653Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_653 = __objc_msgSend_653Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int, ffi.Pointer)>(); - - late final _sel_removeValueAtIndex_fromPropertyWithKey_1 = - _registerName1("removeValueAtIndex:fromPropertyWithKey:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_653 = + __objc_msgSend_653Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ) + >(); + + late final _sel_removeValueAtIndex_fromPropertyWithKey_1 = objc.registerName( + "removeValueAtIndex:fromPropertyWithKey:", + ); void _objc_msgSend_654( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int index, - ffi.Pointer key, + ffi.Pointer key, ) { - return __objc_msgSend_654( - obj, - sel, - index, - key, - ); + return __objc_msgSend_654(obj, sel, index, key); } late final __objc_msgSend_654Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_654 = __objc_msgSend_654Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int, - ffi.Pointer)>(); - - late final _sel_replaceValueAtIndex_inPropertyWithKey_withValue_1 = - _registerName1("replaceValueAtIndex:inPropertyWithKey:withValue:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_654 = + __objc_msgSend_654Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ) + >(); + + late final _sel_replaceValueAtIndex_inPropertyWithKey_withValue_1 = objc + .registerName("replaceValueAtIndex:inPropertyWithKey:withValue:"); void _objc_msgSend_655( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int index, - ffi.Pointer key, - ffi.Pointer value, + ffi.Pointer key, + ffi.Pointer value, ) { - return __objc_msgSend_655( - obj, - sel, - index, - key, - value, - ); + return __objc_msgSend_655(obj, sel, index, key, value); } late final __objc_msgSend_655Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_655 = __objc_msgSend_655Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_insertValue_inPropertyWithKey_1 = - _registerName1("insertValue:inPropertyWithKey:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_655 = + __objc_msgSend_655Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_insertValue_inPropertyWithKey_1 = objc.registerName( + "insertValue:inPropertyWithKey:", + ); void _objc_msgSend_656( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, - ffi.Pointer key, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value, + ffi.Pointer key, ) { - return __objc_msgSend_656( - obj, - sel, - value, - key, - ); + return __objc_msgSend_656(obj, sel, value, key); } late final __objc_msgSend_656Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_656 = __objc_msgSend_656Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_coerceValue_forKey_1 = _registerName1("coerceValue:forKey:"); - ffi.Pointer _objc_msgSend_657( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, - ffi.Pointer key, - ) { - return __objc_msgSend_657( - obj, - sel, - value, - key, - ); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_656 = + __objc_msgSend_656Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_coerceValue_forKey_1 = objc.registerName( + "coerceValue:forKey:", + ); + ffi.Pointer _objc_msgSend_657( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value, + ffi.Pointer key, + ) { + return __objc_msgSend_657(obj, sel, value, key); } late final __objc_msgSend_657Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_657 = __objc_msgSend_657Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_objectSpecifier1 = _registerName1("objectSpecifier"); - late final _sel_indicesOfObjectsByEvaluatingObjectSpecifier_1 = - _registerName1("indicesOfObjectsByEvaluatingObjectSpecifier:"); - ffi.Pointer _objc_msgSend_658( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer specifier, - ) { - return __objc_msgSend_658( - obj, - sel, - specifier, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_657 = + __objc_msgSend_657Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_objectSpecifier1 = objc.registerName("objectSpecifier"); + late final _sel_indicesOfObjectsByEvaluatingObjectSpecifier_1 = objc + .registerName("indicesOfObjectsByEvaluatingObjectSpecifier:"); + ffi.Pointer _objc_msgSend_658( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer specifier, + ) { + return __objc_msgSend_658(obj, sel, specifier); } late final __objc_msgSend_658Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_658 = __objc_msgSend_658Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_isEqualTo_1 = _registerName1("isEqualTo:"); - late final _sel_isLessThanOrEqualTo_1 = - _registerName1("isLessThanOrEqualTo:"); - late final _sel_isLessThan_1 = _registerName1("isLessThan:"); - late final _sel_isGreaterThanOrEqualTo_1 = - _registerName1("isGreaterThanOrEqualTo:"); - late final _sel_isGreaterThan_1 = _registerName1("isGreaterThan:"); - late final _sel_isNotEqualTo_1 = _registerName1("isNotEqualTo:"); - late final _sel_doesContain_1 = _registerName1("doesContain:"); - late final _sel_isLike_1 = _registerName1("isLike:"); - late final _sel_isCaseInsensitiveLike_1 = - _registerName1("isCaseInsensitiveLike:"); - late final _sel_scriptingIsEqualTo_1 = _registerName1("scriptingIsEqualTo:"); - late final _sel_scriptingIsLessThanOrEqualTo_1 = - _registerName1("scriptingIsLessThanOrEqualTo:"); - late final _sel_scriptingIsLessThan_1 = - _registerName1("scriptingIsLessThan:"); - late final _sel_scriptingIsGreaterThanOrEqualTo_1 = - _registerName1("scriptingIsGreaterThanOrEqualTo:"); - late final _sel_scriptingIsGreaterThan_1 = - _registerName1("scriptingIsGreaterThan:"); - late final _sel_scriptingBeginsWith_1 = - _registerName1("scriptingBeginsWith:"); - late final _sel_scriptingEndsWith_1 = _registerName1("scriptingEndsWith:"); - late final _sel_scriptingContains_1 = _registerName1("scriptingContains:"); - late final _class_NSItemProvider1 = _getClass1("NSItemProvider"); - late final _class_NSProgress1 = _getClass1("NSProgress"); - late final _sel_currentProgress1 = _registerName1("currentProgress"); - ffi.Pointer _objc_msgSend_659( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_659( - obj, - sel, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_658 = + __objc_msgSend_658Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_isEqualTo_1 = objc.registerName("isEqualTo:"); + late final _sel_isLessThanOrEqualTo_1 = objc.registerName( + "isLessThanOrEqualTo:", + ); + late final _sel_isLessThan_1 = objc.registerName("isLessThan:"); + late final _sel_isGreaterThanOrEqualTo_1 = objc.registerName( + "isGreaterThanOrEqualTo:", + ); + late final _sel_isGreaterThan_1 = objc.registerName("isGreaterThan:"); + late final _sel_isNotEqualTo_1 = objc.registerName("isNotEqualTo:"); + late final _sel_doesContain_1 = objc.registerName("doesContain:"); + late final _sel_isLike_1 = objc.registerName("isLike:"); + late final _sel_isCaseInsensitiveLike_1 = objc.registerName( + "isCaseInsensitiveLike:", + ); + late final _sel_scriptingIsEqualTo_1 = objc.registerName( + "scriptingIsEqualTo:", + ); + late final _sel_scriptingIsLessThanOrEqualTo_1 = objc.registerName( + "scriptingIsLessThanOrEqualTo:", + ); + late final _sel_scriptingIsLessThan_1 = objc.registerName( + "scriptingIsLessThan:", + ); + late final _sel_scriptingIsGreaterThanOrEqualTo_1 = objc.registerName( + "scriptingIsGreaterThanOrEqualTo:", + ); + late final _sel_scriptingIsGreaterThan_1 = objc.registerName( + "scriptingIsGreaterThan:", + ); + late final _sel_scriptingBeginsWith_1 = objc.registerName( + "scriptingBeginsWith:", + ); + late final _sel_scriptingEndsWith_1 = objc.registerName("scriptingEndsWith:"); + late final _sel_scriptingContains_1 = objc.registerName("scriptingContains:"); + late final _class_NSItemProvider1 = objc.getClass("NSItemProvider"); + late final _class_NSProgress1 = objc.getClass("NSProgress"); + late final _sel_currentProgress1 = objc.registerName("currentProgress"); + ffi.Pointer _objc_msgSend_659( + ffi.Pointer obj, + ffi.Pointer sel, + ) { + return __objc_msgSend_659(obj, sel); } late final __objc_msgSend_659Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_659 = __objc_msgSend_659Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_progressWithTotalUnitCount_1 = - _registerName1("progressWithTotalUnitCount:"); - ffi.Pointer _objc_msgSend_660( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_659 = + __objc_msgSend_659Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_progressWithTotalUnitCount_1 = objc.registerName( + "progressWithTotalUnitCount:", + ); + ffi.Pointer _objc_msgSend_660( + ffi.Pointer obj, + ffi.Pointer sel, int unitCount, ) { - return __objc_msgSend_660( - obj, - sel, - unitCount, - ); + return __objc_msgSend_660(obj, sel, unitCount); } late final __objc_msgSend_660Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Int64)>>('objc_msgSend'); - late final __objc_msgSend_660 = __objc_msgSend_660Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_discreteProgressWithTotalUnitCount_1 = - _registerName1("discreteProgressWithTotalUnitCount:"); - late final _sel_progressWithTotalUnitCount_parent_pendingUnitCount_1 = - _registerName1("progressWithTotalUnitCount:parent:pendingUnitCount:"); - ffi.Pointer _objc_msgSend_661( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int64, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_660 = + __objc_msgSend_660Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_discreteProgressWithTotalUnitCount_1 = objc.registerName( + "discreteProgressWithTotalUnitCount:", + ); + late final _sel_progressWithTotalUnitCount_parent_pendingUnitCount_1 = objc + .registerName("progressWithTotalUnitCount:parent:pendingUnitCount:"); + ffi.Pointer _objc_msgSend_661( + ffi.Pointer obj, + ffi.Pointer sel, int unitCount, - ffi.Pointer parent, + ffi.Pointer parent, int portionOfParentTotalUnitCount, ) { return __objc_msgSend_661( @@ -18698,318 +23491,420 @@ class AVFAudio { } late final __objc_msgSend_661Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int64, - ffi.Pointer, - ffi.Int64)>>('objc_msgSend'); - late final __objc_msgSend_661 = __objc_msgSend_661Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, int, ffi.Pointer, int)>(); - - late final _sel_initWithParent_userInfo_1 = - _registerName1("initWithParent:userInfo:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int64, + ffi.Pointer, + ffi.Int64, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_661 = + __objc_msgSend_661Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + int, + ) + >(); + + late final _sel_initWithParent_userInfo_1 = objc.registerName( + "initWithParent:userInfo:", + ); instancetype _objc_msgSend_662( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer parentProgressOrNil, - ffi.Pointer userInfoOrNil, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer parentProgressOrNil, + ffi.Pointer userInfoOrNil, ) { - return __objc_msgSend_662( - obj, - sel, - parentProgressOrNil, - userInfoOrNil, - ); + return __objc_msgSend_662(obj, sel, parentProgressOrNil, userInfoOrNil); } late final __objc_msgSend_662Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_662 = __objc_msgSend_662Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_becomeCurrentWithPendingUnitCount_1 = - _registerName1("becomeCurrentWithPendingUnitCount:"); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_662 = + __objc_msgSend_662Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_becomeCurrentWithPendingUnitCount_1 = objc.registerName( + "becomeCurrentWithPendingUnitCount:", + ); void _objc_msgSend_663( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int unitCount, ) { - return __objc_msgSend_663( - obj, - sel, - unitCount, - ); + return __objc_msgSend_663(obj, sel, unitCount); } late final __objc_msgSend_663Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Int64)>>('objc_msgSend'); - late final __objc_msgSend_663 = __objc_msgSend_663Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_performAsCurrentWithPendingUnitCount_usingBlock_1 = - _registerName1("performAsCurrentWithPendingUnitCount:usingBlock:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int64, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_663 = + __objc_msgSend_663Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_performAsCurrentWithPendingUnitCount_usingBlock_1 = objc + .registerName("performAsCurrentWithPendingUnitCount:usingBlock:"); void _objc_msgSend_664( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int unitCount, - ffi.Pointer<_ObjCBlock> work, + ffi.Pointer work, ) { - return __objc_msgSend_664( - obj, - sel, - unitCount, - work, - ); + return __objc_msgSend_664(obj, sel, unitCount, work); } late final __objc_msgSend_664Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Int64, ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_664 = __objc_msgSend_664Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int, - ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_resignCurrent1 = _registerName1("resignCurrent"); - late final _sel_addChild_withPendingUnitCount_1 = - _registerName1("addChild:withPendingUnitCount:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int64, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_664 = + __objc_msgSend_664Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ) + >(); + + late final _sel_resignCurrent1 = objc.registerName("resignCurrent"); + late final _sel_addChild_withPendingUnitCount_1 = objc.registerName( + "addChild:withPendingUnitCount:", + ); void _objc_msgSend_665( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer child, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer child, int inUnitCount, ) { - return __objc_msgSend_665( - obj, - sel, - child, - inUnitCount, - ); + return __objc_msgSend_665(obj, sel, child, inUnitCount); } late final __objc_msgSend_665Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Int64)>>('objc_msgSend'); - late final __objc_msgSend_665 = __objc_msgSend_665Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int)>(); - - late final _sel_totalUnitCount1 = _registerName1("totalUnitCount"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int64, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_665 = + __objc_msgSend_665Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_totalUnitCount1 = objc.registerName("totalUnitCount"); int _objc_msgSend_666( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_666( - obj, - sel, - ); + return __objc_msgSend_666(obj, sel); } late final __objc_msgSend_666Ptr = _lookup< - ffi.NativeFunction< - ffi.Int64 Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_666 = __objc_msgSend_666Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Int64 Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_666 = + __objc_msgSend_666Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); - late final _sel_setTotalUnitCount_1 = _registerName1("setTotalUnitCount:"); + late final _sel_setTotalUnitCount_1 = objc.registerName("setTotalUnitCount:"); void _objc_msgSend_667( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int value, ) { - return __objc_msgSend_667( - obj, - sel, - value, - ); + return __objc_msgSend_667(obj, sel, value); } late final __objc_msgSend_667Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Int64)>>('objc_msgSend'); - late final __objc_msgSend_667 = __objc_msgSend_667Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_completedUnitCount1 = _registerName1("completedUnitCount"); - late final _sel_setCompletedUnitCount_1 = - _registerName1("setCompletedUnitCount:"); - late final _sel_setLocalizedDescription_1 = - _registerName1("setLocalizedDescription:"); - late final _sel_localizedAdditionalDescription1 = - _registerName1("localizedAdditionalDescription"); - late final _sel_setLocalizedAdditionalDescription_1 = - _registerName1("setLocalizedAdditionalDescription:"); - late final _sel_isCancellable1 = _registerName1("isCancellable"); - late final _sel_setCancellable_1 = _registerName1("setCancellable:"); - late final _sel_isPausable1 = _registerName1("isPausable"); - late final _sel_setPausable_1 = _registerName1("setPausable:"); - late final _sel_isPaused1 = _registerName1("isPaused"); - late final _sel_cancellationHandler1 = _registerName1("cancellationHandler"); - ffi.Pointer<_ObjCBlock> _objc_msgSend_668( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_668( - obj, - sel, - ); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int64, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_667 = + __objc_msgSend_667Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_completedUnitCount1 = objc.registerName("completedUnitCount"); + late final _sel_setCompletedUnitCount_1 = objc.registerName( + "setCompletedUnitCount:", + ); + late final _sel_setLocalizedDescription_1 = objc.registerName( + "setLocalizedDescription:", + ); + late final _sel_localizedAdditionalDescription1 = objc.registerName( + "localizedAdditionalDescription", + ); + late final _sel_setLocalizedAdditionalDescription_1 = objc.registerName( + "setLocalizedAdditionalDescription:", + ); + late final _sel_isCancellable1 = objc.registerName("isCancellable"); + late final _sel_setCancellable_1 = objc.registerName("setCancellable:"); + late final _sel_isPausable1 = objc.registerName("isPausable"); + late final _sel_setPausable_1 = objc.registerName("setPausable:"); + late final _sel_isPaused1 = objc.registerName("isPaused"); + late final _sel_cancellationHandler1 = objc.registerName( + "cancellationHandler", + ); + ffi.Pointer _objc_msgSend_668( + ffi.Pointer obj, + ffi.Pointer sel, + ) { + return __objc_msgSend_668(obj, sel); } late final __objc_msgSend_668Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer<_ObjCBlock> Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_668 = __objc_msgSend_668Ptr.asFunction< - ffi.Pointer<_ObjCBlock> Function( - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_setCancellationHandler_1 = - _registerName1("setCancellationHandler:"); - void _objc_msgSend_669( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer<_ObjCBlock> value, - ) { - return __objc_msgSend_669( - obj, - sel, - value, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_668 = + __objc_msgSend_668Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_setCancellationHandler_1 = objc.registerName( + "setCancellationHandler:", + ); + void _objc_msgSend_669( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value, + ) { + return __objc_msgSend_669(obj, sel, value); } late final __objc_msgSend_669Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_669 = __objc_msgSend_669Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_pausingHandler1 = _registerName1("pausingHandler"); - late final _sel_setPausingHandler_1 = _registerName1("setPausingHandler:"); - late final _sel_resumingHandler1 = _registerName1("resumingHandler"); - late final _sel_setResumingHandler_1 = _registerName1("setResumingHandler:"); - late final _sel_setUserInfoObject_forKey_1 = - _registerName1("setUserInfoObject:forKey:"); - late final _sel_isIndeterminate1 = _registerName1("isIndeterminate"); - late final _sel_fractionCompleted1 = _registerName1("fractionCompleted"); - late final _sel_pause1 = _registerName1("pause"); - late final _sel_resume1 = _registerName1("resume"); - late final _sel_kind1 = _registerName1("kind"); - late final _sel_setKind_1 = _registerName1("setKind:"); - late final _sel_estimatedTimeRemaining1 = - _registerName1("estimatedTimeRemaining"); - late final _sel_setEstimatedTimeRemaining_1 = - _registerName1("setEstimatedTimeRemaining:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_669 = + __objc_msgSend_669Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_pausingHandler1 = objc.registerName("pausingHandler"); + late final _sel_setPausingHandler_1 = objc.registerName("setPausingHandler:"); + late final _sel_resumingHandler1 = objc.registerName("resumingHandler"); + late final _sel_setResumingHandler_1 = objc.registerName( + "setResumingHandler:", + ); + late final _sel_setUserInfoObject_forKey_1 = objc.registerName( + "setUserInfoObject:forKey:", + ); + late final _sel_isIndeterminate1 = objc.registerName("isIndeterminate"); + late final _sel_fractionCompleted1 = objc.registerName("fractionCompleted"); + late final _sel_pause1 = objc.registerName("pause"); + late final _sel_resume1 = objc.registerName("resume"); + late final _sel_kind1 = objc.registerName("kind"); + late final _sel_setKind_1 = objc.registerName("setKind:"); + late final _sel_estimatedTimeRemaining1 = objc.registerName( + "estimatedTimeRemaining", + ); + late final _sel_setEstimatedTimeRemaining_1 = objc.registerName( + "setEstimatedTimeRemaining:", + ); void _objc_msgSend_670( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value, ) { - return __objc_msgSend_670( - obj, - sel, - value, - ); + return __objc_msgSend_670(obj, sel, value); } late final __objc_msgSend_670Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_670 = __objc_msgSend_670Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_throughput1 = _registerName1("throughput"); - late final _sel_setThroughput_1 = _registerName1("setThroughput:"); - late final _sel_fileOperationKind1 = _registerName1("fileOperationKind"); - late final _sel_setFileOperationKind_1 = - _registerName1("setFileOperationKind:"); - late final _sel_fileURL1 = _registerName1("fileURL"); - late final _sel_setFileURL_1 = _registerName1("setFileURL:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_670 = + __objc_msgSend_670Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_throughput1 = objc.registerName("throughput"); + late final _sel_setThroughput_1 = objc.registerName("setThroughput:"); + late final _sel_fileOperationKind1 = objc.registerName("fileOperationKind"); + late final _sel_setFileOperationKind_1 = objc.registerName( + "setFileOperationKind:", + ); + late final _sel_fileURL1 = objc.registerName("fileURL"); + late final _sel_setFileURL_1 = objc.registerName("setFileURL:"); void _objc_msgSend_671( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value, ) { - return __objc_msgSend_671( - obj, - sel, - value, - ); + return __objc_msgSend_671(obj, sel, value); } late final __objc_msgSend_671Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_671 = __objc_msgSend_671Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_fileTotalCount1 = _registerName1("fileTotalCount"); - late final _sel_setFileTotalCount_1 = _registerName1("setFileTotalCount:"); - late final _sel_fileCompletedCount1 = _registerName1("fileCompletedCount"); - late final _sel_setFileCompletedCount_1 = - _registerName1("setFileCompletedCount:"); - late final _sel_publish1 = _registerName1("publish"); - late final _sel_unpublish1 = _registerName1("unpublish"); - late final _sel_addSubscriberForFileURL_withPublishingHandler_1 = - _registerName1("addSubscriberForFileURL:withPublishingHandler:"); - ffi.Pointer _objc_msgSend_672( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, - ffi.Pointer<_ObjCBlock> publishingHandler, - ) { - return __objc_msgSend_672( - obj, - sel, - url, - publishingHandler, - ); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_671 = + __objc_msgSend_671Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_fileTotalCount1 = objc.registerName("fileTotalCount"); + late final _sel_setFileTotalCount_1 = objc.registerName("setFileTotalCount:"); + late final _sel_fileCompletedCount1 = objc.registerName("fileCompletedCount"); + late final _sel_setFileCompletedCount_1 = objc.registerName( + "setFileCompletedCount:", + ); + late final _sel_publish1 = objc.registerName("publish"); + late final _sel_unpublish1 = objc.registerName("unpublish"); + late final _sel_addSubscriberForFileURL_withPublishingHandler_1 = objc + .registerName("addSubscriberForFileURL:withPublishingHandler:"); + ffi.Pointer _objc_msgSend_672( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer url, + ffi.Pointer publishingHandler, + ) { + return __objc_msgSend_672(obj, sel, url, publishingHandler); } late final __objc_msgSend_672Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_672 = __objc_msgSend_672Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_removeSubscriber_1 = _registerName1("removeSubscriber:"); - late final _sel_isOld1 = _registerName1("isOld"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_672 = + __objc_msgSend_672Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_removeSubscriber_1 = objc.registerName("removeSubscriber:"); + late final _sel_isOld1 = objc.registerName("isOld"); late final _sel_registerDataRepresentationForTypeIdentifier_visibility_loadHandler_1 = - _registerName1( - "registerDataRepresentationForTypeIdentifier:visibility:loadHandler:"); + objc.registerName( + "registerDataRepresentationForTypeIdentifier:visibility:loadHandler:", + ); void _objc_msgSend_673( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer typeIdentifier, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer typeIdentifier, int visibility, - ffi.Pointer<_ObjCBlock> loadHandler, + ffi.Pointer loadHandler, ) { return __objc_msgSend_673( obj, @@ -19021,27 +23916,39 @@ class AVFAudio { } late final __objc_msgSend_673Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_673 = __objc_msgSend_673Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int, ffi.Pointer<_ObjCBlock>)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_673 = + __objc_msgSend_673Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ) + >(); late final _sel_registerFileRepresentationForTypeIdentifier_fileOptions_visibility_loadHandler_1 = - _registerName1( - "registerFileRepresentationForTypeIdentifier:fileOptions:visibility:loadHandler:"); + objc.registerName( + "registerFileRepresentationForTypeIdentifier:fileOptions:visibility:loadHandler:", + ); void _objc_msgSend_674( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer typeIdentifier, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer typeIdentifier, int fileOptions, int visibility, - ffi.Pointer<_ObjCBlock> loadHandler, + ffi.Pointer loadHandler, ) { return __objc_msgSend_674( obj, @@ -19054,312 +23961,380 @@ class AVFAudio { } late final __objc_msgSend_674Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Int32, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_674 = __objc_msgSend_674Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int, int, ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_registeredTypeIdentifiers1 = - _registerName1("registeredTypeIdentifiers"); - late final _sel_registeredTypeIdentifiersWithFileOptions_1 = - _registerName1("registeredTypeIdentifiersWithFileOptions:"); - ffi.Pointer _objc_msgSend_675( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Int32, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_674 = + __objc_msgSend_674Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + int, + ffi.Pointer, + ) + >(); + + late final _sel_registeredTypeIdentifiers1 = objc.registerName( + "registeredTypeIdentifiers", + ); + late final _sel_registeredTypeIdentifiersWithFileOptions_1 = objc + .registerName("registeredTypeIdentifiersWithFileOptions:"); + ffi.Pointer _objc_msgSend_675( + ffi.Pointer obj, + ffi.Pointer sel, int fileOptions, ) { - return __objc_msgSend_675( - obj, - sel, - fileOptions, - ); + return __objc_msgSend_675(obj, sel, fileOptions); } late final __objc_msgSend_675Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_675 = __objc_msgSend_675Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_hasItemConformingToTypeIdentifier_1 = - _registerName1("hasItemConformingToTypeIdentifier:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_675 = + __objc_msgSend_675Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_hasItemConformingToTypeIdentifier_1 = objc.registerName( + "hasItemConformingToTypeIdentifier:", + ); late final _sel_hasRepresentationConformingToTypeIdentifier_fileOptions_1 = - _registerName1( - "hasRepresentationConformingToTypeIdentifier:fileOptions:"); + objc.registerName( + "hasRepresentationConformingToTypeIdentifier:fileOptions:", + ); bool _objc_msgSend_676( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer typeIdentifier, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer typeIdentifier, int fileOptions, ) { - return __objc_msgSend_676( - obj, - sel, - typeIdentifier, - fileOptions, - ); + return __objc_msgSend_676(obj, sel, typeIdentifier, fileOptions); } late final __objc_msgSend_676Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_676 = __objc_msgSend_676Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int)>(); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_676 = + __objc_msgSend_676Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); late final _sel_loadDataRepresentationForTypeIdentifier_completionHandler_1 = - _registerName1( - "loadDataRepresentationForTypeIdentifier:completionHandler:"); - ffi.Pointer _objc_msgSend_677( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer typeIdentifier, - ffi.Pointer<_ObjCBlock> completionHandler, - ) { - return __objc_msgSend_677( - obj, - sel, - typeIdentifier, - completionHandler, - ); + objc.registerName( + "loadDataRepresentationForTypeIdentifier:completionHandler:", + ); + ffi.Pointer _objc_msgSend_677( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer typeIdentifier, + ffi.Pointer completionHandler, + ) { + return __objc_msgSend_677(obj, sel, typeIdentifier, completionHandler); } late final __objc_msgSend_677Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_677 = __objc_msgSend_677Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>(); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_677 = + __objc_msgSend_677Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_loadFileRepresentationForTypeIdentifier_completionHandler_1 = - _registerName1( - "loadFileRepresentationForTypeIdentifier:completionHandler:"); - ffi.Pointer _objc_msgSend_678( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer typeIdentifier, - ffi.Pointer<_ObjCBlock> completionHandler, - ) { - return __objc_msgSend_678( - obj, - sel, - typeIdentifier, - completionHandler, - ); + objc.registerName( + "loadFileRepresentationForTypeIdentifier:completionHandler:", + ); + ffi.Pointer _objc_msgSend_678( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer typeIdentifier, + ffi.Pointer completionHandler, + ) { + return __objc_msgSend_678(obj, sel, typeIdentifier, completionHandler); } late final __objc_msgSend_678Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_678 = __objc_msgSend_678Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>(); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_678 = + __objc_msgSend_678Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_loadInPlaceFileRepresentationForTypeIdentifier_completionHandler_1 = - _registerName1( - "loadInPlaceFileRepresentationForTypeIdentifier:completionHandler:"); - ffi.Pointer _objc_msgSend_679( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer typeIdentifier, - ffi.Pointer<_ObjCBlock> completionHandler, - ) { - return __objc_msgSend_679( - obj, - sel, - typeIdentifier, - completionHandler, - ); + objc.registerName( + "loadInPlaceFileRepresentationForTypeIdentifier:completionHandler:", + ); + ffi.Pointer _objc_msgSend_679( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer typeIdentifier, + ffi.Pointer completionHandler, + ) { + return __objc_msgSend_679(obj, sel, typeIdentifier, completionHandler); } late final __objc_msgSend_679Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_679 = __objc_msgSend_679Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_suggestedName1 = _registerName1("suggestedName"); - late final _sel_setSuggestedName_1 = _registerName1("setSuggestedName:"); - late final _sel_registerObject_visibility_1 = - _registerName1("registerObject:visibility:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_679 = + __objc_msgSend_679Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_suggestedName1 = objc.registerName("suggestedName"); + late final _sel_setSuggestedName_1 = objc.registerName("setSuggestedName:"); + late final _sel_registerObject_visibility_1 = objc.registerName( + "registerObject:visibility:", + ); void _objc_msgSend_680( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer object, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer object, int visibility, ) { - return __objc_msgSend_680( - obj, - sel, - object, - visibility, - ); + return __objc_msgSend_680(obj, sel, object, visibility); } late final __objc_msgSend_680Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_680 = __objc_msgSend_680Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int)>(); - - late final _sel_registerObjectOfClass_visibility_loadHandler_1 = - _registerName1("registerObjectOfClass:visibility:loadHandler:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_680 = + __objc_msgSend_680Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_registerObjectOfClass_visibility_loadHandler_1 = objc + .registerName("registerObjectOfClass:visibility:loadHandler:"); void _objc_msgSend_681( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aClass, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer aClass, int visibility, - ffi.Pointer<_ObjCBlock> loadHandler, + ffi.Pointer loadHandler, ) { - return __objc_msgSend_681( - obj, - sel, - aClass, - visibility, - loadHandler, - ); + return __objc_msgSend_681(obj, sel, aClass, visibility, loadHandler); } late final __objc_msgSend_681Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_681 = __objc_msgSend_681Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int, ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_canLoadObjectOfClass_1 = - _registerName1("canLoadObjectOfClass:"); - late final _sel_loadObjectOfClass_completionHandler_1 = - _registerName1("loadObjectOfClass:completionHandler:"); - ffi.Pointer _objc_msgSend_682( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aClass, - ffi.Pointer<_ObjCBlock> completionHandler, - ) { - return __objc_msgSend_682( - obj, - sel, - aClass, - completionHandler, - ); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_681 = + __objc_msgSend_681Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ) + >(); + + late final _sel_canLoadObjectOfClass_1 = objc.registerName( + "canLoadObjectOfClass:", + ); + late final _sel_loadObjectOfClass_completionHandler_1 = objc.registerName( + "loadObjectOfClass:completionHandler:", + ); + ffi.Pointer _objc_msgSend_682( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer aClass, + ffi.Pointer completionHandler, + ) { + return __objc_msgSend_682(obj, sel, aClass, completionHandler); } late final __objc_msgSend_682Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_682 = __objc_msgSend_682Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_initWithItem_typeIdentifier_1 = - _registerName1("initWithItem:typeIdentifier:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_682 = + __objc_msgSend_682Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_initWithItem_typeIdentifier_1 = objc.registerName( + "initWithItem:typeIdentifier:", + ); instancetype _objc_msgSend_683( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer item, - ffi.Pointer typeIdentifier, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer item, + ffi.Pointer typeIdentifier, ) { - return __objc_msgSend_683( - obj, - sel, - item, - typeIdentifier, - ); + return __objc_msgSend_683(obj, sel, item, typeIdentifier); } late final __objc_msgSend_683Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_683 = __objc_msgSend_683Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_registerItemForTypeIdentifier_loadHandler_1 = - _registerName1("registerItemForTypeIdentifier:loadHandler:"); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_683 = + __objc_msgSend_683Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_registerItemForTypeIdentifier_loadHandler_1 = objc + .registerName("registerItemForTypeIdentifier:loadHandler:"); void _objc_msgSend_684( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer typeIdentifier, - ffi.Pointer<_ObjCBlock> loadHandler, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer typeIdentifier, + ffi.Pointer loadHandler, ) { - return __objc_msgSend_684( - obj, - sel, - typeIdentifier, - loadHandler, - ); + return __objc_msgSend_684(obj, sel, typeIdentifier, loadHandler); } late final __objc_msgSend_684Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_684 = __objc_msgSend_684Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_loadItemForTypeIdentifier_options_completionHandler_1 = - _registerName1("loadItemForTypeIdentifier:options:completionHandler:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_684 = + __objc_msgSend_684Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_loadItemForTypeIdentifier_options_completionHandler_1 = objc + .registerName("loadItemForTypeIdentifier:options:completionHandler:"); void _objc_msgSend_685( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer typeIdentifier, - ffi.Pointer options, - ffi.Pointer<_ObjCBlock> completionHandler, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer typeIdentifier, + ffi.Pointer options, + ffi.Pointer completionHandler, ) { return __objc_msgSend_685( obj, @@ -19371,150 +24346,197 @@ class AVFAudio { } late final __objc_msgSend_685Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_685 = __objc_msgSend_685Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_previewImageHandler1 = _registerName1("previewImageHandler"); - ffi.Pointer<_ObjCBlock> _objc_msgSend_686( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_686( - obj, - sel, - ); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_685 = + __objc_msgSend_685Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_previewImageHandler1 = objc.registerName( + "previewImageHandler", + ); + ffi.Pointer _objc_msgSend_686( + ffi.Pointer obj, + ffi.Pointer sel, + ) { + return __objc_msgSend_686(obj, sel); } late final __objc_msgSend_686Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer<_ObjCBlock> Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_686 = __objc_msgSend_686Ptr.asFunction< - ffi.Pointer<_ObjCBlock> Function( - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_setPreviewImageHandler_1 = - _registerName1("setPreviewImageHandler:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_686 = + __objc_msgSend_686Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_setPreviewImageHandler_1 = objc.registerName( + "setPreviewImageHandler:", + ); void _objc_msgSend_687( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer<_ObjCBlock> value, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value, ) { - return __objc_msgSend_687( - obj, - sel, - value, - ); + return __objc_msgSend_687(obj, sel, value); } late final __objc_msgSend_687Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_687 = __objc_msgSend_687Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_loadPreviewImageWithOptions_completionHandler_1 = - _registerName1("loadPreviewImageWithOptions:completionHandler:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_687 = + __objc_msgSend_687Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_loadPreviewImageWithOptions_completionHandler_1 = objc + .registerName("loadPreviewImageWithOptions:completionHandler:"); void _objc_msgSend_688( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer options, - ffi.Pointer<_ObjCBlock> completionHandler, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer options, + ffi.Pointer completionHandler, ) { - return __objc_msgSend_688( - obj, - sel, - options, - completionHandler, - ); + return __objc_msgSend_688(obj, sel, options, completionHandler); } late final __objc_msgSend_688Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_688 = __objc_msgSend_688Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer<_ObjCBlock>)>(); - - late final _class_NSMutableString1 = _getClass1("NSMutableString"); - late final _sel_replaceCharactersInRange_withString_1 = - _registerName1("replaceCharactersInRange:withString:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_688 = + __objc_msgSend_688Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _class_NSMutableString1 = objc.getClass("NSMutableString"); + late final _sel_replaceCharactersInRange_withString_1 = objc.registerName( + "replaceCharactersInRange:withString:", + ); void _objc_msgSend_689( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, _NSRange range, - ffi.Pointer aString, + ffi.Pointer aString, ) { - return __objc_msgSend_689( - obj, - sel, - range, - aString, - ); + return __objc_msgSend_689(obj, sel, range, aString); } late final __objc_msgSend_689Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - _NSRange, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_689 = __objc_msgSend_689Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, _NSRange, - ffi.Pointer)>(); - - late final _sel_insertString_atIndex_1 = - _registerName1("insertString:atIndex:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_689 = + __objc_msgSend_689Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + ) + >(); + + late final _sel_insertString_atIndex_1 = objc.registerName( + "insertString:atIndex:", + ); void _objc_msgSend_690( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aString, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer aString, int loc, ) { - return __objc_msgSend_690( - obj, - sel, - aString, - loc, - ); + return __objc_msgSend_690(obj, sel, aString, loc); } late final __objc_msgSend_690Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.UnsignedLong)>>('objc_msgSend'); - late final __objc_msgSend_690 = __objc_msgSend_690Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int)>(); - - late final _sel_deleteCharactersInRange_1 = - _registerName1("deleteCharactersInRange:"); - late final _sel_appendString_1 = _registerName1("appendString:"); - late final _sel_appendFormat_1 = _registerName1("appendFormat:"); - late final _sel_setString_1 = _registerName1("setString:"); - late final _sel_replaceOccurrencesOfString_withString_options_range_1 = - _registerName1("replaceOccurrencesOfString:withString:options:range:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_690 = + __objc_msgSend_690Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_deleteCharactersInRange_1 = objc.registerName( + "deleteCharactersInRange:", + ); + late final _sel_appendString_1 = objc.registerName("appendString:"); + late final _sel_appendFormat_1 = objc.registerName("appendFormat:"); + late final _sel_setString_1 = objc.registerName("setString:"); + late final _sel_replaceOccurrencesOfString_withString_options_range_1 = objc + .registerName("replaceOccurrencesOfString:withString:options:range:"); int _objc_msgSend_691( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer target, - ffi.Pointer replacement, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer target, + ffi.Pointer replacement, int options, _NSRange searchRange, ) { @@ -19529,24 +24551,36 @@ class AVFAudio { } late final __objc_msgSend_691Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - _NSRange)>>('objc_msgSend'); - late final __objc_msgSend_691 = __objc_msgSend_691Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer, int, _NSRange)>(); - - late final _sel_applyTransform_reverse_range_updatedRange_1 = - _registerName1("applyTransform:reverse:range:updatedRange:"); + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + _NSRange, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_691 = + __objc_msgSend_691Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + _NSRange, + ) + >(); + + late final _sel_applyTransform_reverse_range_updatedRange_1 = objc + .registerName("applyTransform:reverse:range:updatedRange:"); bool _objc_msgSend_692( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer transform, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer transform, bool reverse, _NSRange range, ffi.Pointer<_NSRange> resultingRange, @@ -19562,874 +24596,1006 @@ class AVFAudio { } late final __objc_msgSend_692Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Bool, + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + _NSRange, + ffi.Pointer<_NSRange>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_692 = + __objc_msgSend_692Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool, _NSRange, - ffi.Pointer<_NSRange>)>>('objc_msgSend'); - late final __objc_msgSend_692 = __objc_msgSend_692Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, bool, _NSRange, ffi.Pointer<_NSRange>)>(); - - ffi.Pointer _objc_msgSend_693( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer<_NSRange>, + ) + >(); + + ffi.Pointer _objc_msgSend_693( + ffi.Pointer obj, + ffi.Pointer sel, int capacity, ) { - return __objc_msgSend_693( - obj, - sel, - capacity, - ); + return __objc_msgSend_693(obj, sel, capacity); } late final __objc_msgSend_693Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.UnsignedLong)>>('objc_msgSend'); - late final __objc_msgSend_693 = __objc_msgSend_693Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_stringWithCapacity_1 = _registerName1("stringWithCapacity:"); - late final _class_NSNotification1 = _getClass1("NSNotification"); - late final _sel_object1 = _registerName1("object"); - late final _sel_initWithName_object_userInfo_1 = - _registerName1("initWithName:object:userInfo:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_693 = + __objc_msgSend_693Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_stringWithCapacity_1 = objc.registerName( + "stringWithCapacity:", + ); + late final _class_NSNotification1 = objc.getClass("NSNotification"); + late final _sel_object1 = objc.registerName("object"); + late final _sel_initWithName_object_userInfo_1 = objc.registerName( + "initWithName:object:userInfo:", + ); instancetype _objc_msgSend_694( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer name, - ffi.Pointer object, - ffi.Pointer userInfo, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer name, + ffi.Pointer object, + ffi.Pointer userInfo, ) { - return __objc_msgSend_694( - obj, - sel, - name, - object, - userInfo, - ); + return __objc_msgSend_694(obj, sel, name, object, userInfo); } late final __objc_msgSend_694Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_694 = __objc_msgSend_694Ptr.asFunction< + ffi.NativeFunction< instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_notificationWithName_object_1 = - _registerName1("notificationWithName:object:"); - late final _sel_notificationWithName_object_userInfo_1 = - _registerName1("notificationWithName:object:userInfo:"); - late final _class_NSBundle1 = _getClass1("NSBundle"); - late final _sel_mainBundle1 = _registerName1("mainBundle"); - ffi.Pointer _objc_msgSend_695( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_695( - obj, - sel, - ); + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_694 = + __objc_msgSend_694Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_notificationWithName_object_1 = objc.registerName( + "notificationWithName:object:", + ); + late final _sel_notificationWithName_object_userInfo_1 = objc.registerName( + "notificationWithName:object:userInfo:", + ); + late final _class_NSBundle1 = objc.getClass("NSBundle"); + late final _sel_mainBundle1 = objc.registerName("mainBundle"); + ffi.Pointer _objc_msgSend_695( + ffi.Pointer obj, + ffi.Pointer sel, + ) { + return __objc_msgSend_695(obj, sel); } late final __objc_msgSend_695Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_695 = __objc_msgSend_695Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_bundleWithPath_1 = _registerName1("bundleWithPath:"); - late final _sel_initWithPath_1 = _registerName1("initWithPath:"); - late final _sel_bundleWithURL_1 = _registerName1("bundleWithURL:"); - late final _sel_initWithURL_1 = _registerName1("initWithURL:"); - late final _sel_bundleForClass_1 = _registerName1("bundleForClass:"); - ffi.Pointer _objc_msgSend_696( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aClass, - ) { - return __objc_msgSend_696( - obj, - sel, - aClass, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_695 = + __objc_msgSend_695Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_bundleWithPath_1 = objc.registerName("bundleWithPath:"); + late final _sel_initWithPath_1 = objc.registerName("initWithPath:"); + late final _sel_bundleWithURL_1 = objc.registerName("bundleWithURL:"); + late final _sel_initWithURL_1 = objc.registerName("initWithURL:"); + late final _sel_bundleForClass_1 = objc.registerName("bundleForClass:"); + ffi.Pointer _objc_msgSend_696( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer aClass, + ) { + return __objc_msgSend_696(obj, sel, aClass); } late final __objc_msgSend_696Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_696 = __objc_msgSend_696Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_bundleWithIdentifier_1 = - _registerName1("bundleWithIdentifier:"); - ffi.Pointer _objc_msgSend_697( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer identifier, - ) { - return __objc_msgSend_697( - obj, - sel, - identifier, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_696 = + __objc_msgSend_696Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_bundleWithIdentifier_1 = objc.registerName( + "bundleWithIdentifier:", + ); + ffi.Pointer _objc_msgSend_697( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer identifier, + ) { + return __objc_msgSend_697(obj, sel, identifier); } late final __objc_msgSend_697Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_697 = __objc_msgSend_697Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_allBundles1 = _registerName1("allBundles"); - late final _sel_allFrameworks1 = _registerName1("allFrameworks"); - late final _sel_isLoaded1 = _registerName1("isLoaded"); - late final _sel_unload1 = _registerName1("unload"); - late final _sel_preflightAndReturnError_1 = - _registerName1("preflightAndReturnError:"); - late final _sel_loadAndReturnError_1 = _registerName1("loadAndReturnError:"); - late final _sel_bundleURL1 = _registerName1("bundleURL"); - late final _sel_resourceURL1 = _registerName1("resourceURL"); - late final _sel_executableURL1 = _registerName1("executableURL"); - late final _sel_URLForAuxiliaryExecutable_1 = - _registerName1("URLForAuxiliaryExecutable:"); - late final _sel_privateFrameworksURL1 = - _registerName1("privateFrameworksURL"); - late final _sel_sharedFrameworksURL1 = _registerName1("sharedFrameworksURL"); - late final _sel_sharedSupportURL1 = _registerName1("sharedSupportURL"); - late final _sel_builtInPlugInsURL1 = _registerName1("builtInPlugInsURL"); - late final _sel_appStoreReceiptURL1 = _registerName1("appStoreReceiptURL"); - late final _sel_bundlePath1 = _registerName1("bundlePath"); - late final _sel_resourcePath1 = _registerName1("resourcePath"); - late final _sel_executablePath1 = _registerName1("executablePath"); - late final _sel_pathForAuxiliaryExecutable_1 = - _registerName1("pathForAuxiliaryExecutable:"); - late final _sel_privateFrameworksPath1 = - _registerName1("privateFrameworksPath"); - late final _sel_sharedFrameworksPath1 = - _registerName1("sharedFrameworksPath"); - late final _sel_sharedSupportPath1 = _registerName1("sharedSupportPath"); - late final _sel_builtInPlugInsPath1 = _registerName1("builtInPlugInsPath"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_697 = + __objc_msgSend_697Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_allBundles1 = objc.registerName("allBundles"); + late final _sel_allFrameworks1 = objc.registerName("allFrameworks"); + late final _sel_isLoaded1 = objc.registerName("isLoaded"); + late final _sel_unload1 = objc.registerName("unload"); + late final _sel_preflightAndReturnError_1 = objc.registerName( + "preflightAndReturnError:", + ); + late final _sel_loadAndReturnError_1 = objc.registerName( + "loadAndReturnError:", + ); + late final _sel_bundleURL1 = objc.registerName("bundleURL"); + late final _sel_resourceURL1 = objc.registerName("resourceURL"); + late final _sel_executableURL1 = objc.registerName("executableURL"); + late final _sel_URLForAuxiliaryExecutable_1 = objc.registerName( + "URLForAuxiliaryExecutable:", + ); + late final _sel_privateFrameworksURL1 = objc.registerName( + "privateFrameworksURL", + ); + late final _sel_sharedFrameworksURL1 = objc.registerName( + "sharedFrameworksURL", + ); + late final _sel_sharedSupportURL1 = objc.registerName("sharedSupportURL"); + late final _sel_builtInPlugInsURL1 = objc.registerName("builtInPlugInsURL"); + late final _sel_appStoreReceiptURL1 = objc.registerName("appStoreReceiptURL"); + late final _sel_bundlePath1 = objc.registerName("bundlePath"); + late final _sel_resourcePath1 = objc.registerName("resourcePath"); + late final _sel_executablePath1 = objc.registerName("executablePath"); + late final _sel_pathForAuxiliaryExecutable_1 = objc.registerName( + "pathForAuxiliaryExecutable:", + ); + late final _sel_privateFrameworksPath1 = objc.registerName( + "privateFrameworksPath", + ); + late final _sel_sharedFrameworksPath1 = objc.registerName( + "sharedFrameworksPath", + ); + late final _sel_sharedSupportPath1 = objc.registerName("sharedSupportPath"); + late final _sel_builtInPlugInsPath1 = objc.registerName("builtInPlugInsPath"); late final _sel_URLForResource_withExtension_subdirectory_inBundleWithURL_1 = - _registerName1( - "URLForResource:withExtension:subdirectory:inBundleWithURL:"); - ffi.Pointer _objc_msgSend_698( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer name, - ffi.Pointer ext, - ffi.Pointer subpath, - ffi.Pointer bundleURL, - ) { - return __objc_msgSend_698( - obj, - sel, - name, - ext, - subpath, - bundleURL, - ); + objc.registerName( + "URLForResource:withExtension:subdirectory:inBundleWithURL:", + ); + ffi.Pointer _objc_msgSend_698( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer name, + ffi.Pointer ext, + ffi.Pointer subpath, + ffi.Pointer bundleURL, + ) { + return __objc_msgSend_698(obj, sel, name, ext, subpath, bundleURL); } late final __objc_msgSend_698Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_698 = __objc_msgSend_698Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_698 = + __objc_msgSend_698Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_URLsForResourcesWithExtension_subdirectory_inBundleWithURL_1 = - _registerName1( - "URLsForResourcesWithExtension:subdirectory:inBundleWithURL:"); - ffi.Pointer _objc_msgSend_699( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer ext, - ffi.Pointer subpath, - ffi.Pointer bundleURL, - ) { - return __objc_msgSend_699( - obj, - sel, - ext, - subpath, - bundleURL, - ); + objc.registerName( + "URLsForResourcesWithExtension:subdirectory:inBundleWithURL:", + ); + ffi.Pointer _objc_msgSend_699( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer ext, + ffi.Pointer subpath, + ffi.Pointer bundleURL, + ) { + return __objc_msgSend_699(obj, sel, ext, subpath, bundleURL); } late final __objc_msgSend_699Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_699 = __objc_msgSend_699Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_URLForResource_withExtension_1 = - _registerName1("URLForResource:withExtension:"); - ffi.Pointer _objc_msgSend_700( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer name, - ffi.Pointer ext, - ) { - return __objc_msgSend_700( - obj, - sel, - name, - ext, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_699 = + __objc_msgSend_699Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_URLForResource_withExtension_1 = objc.registerName( + "URLForResource:withExtension:", + ); + ffi.Pointer _objc_msgSend_700( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer name, + ffi.Pointer ext, + ) { + return __objc_msgSend_700(obj, sel, name, ext); } late final __objc_msgSend_700Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_700 = __objc_msgSend_700Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_URLForResource_withExtension_subdirectory_1 = - _registerName1("URLForResource:withExtension:subdirectory:"); - ffi.Pointer _objc_msgSend_701( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer name, - ffi.Pointer ext, - ffi.Pointer subpath, - ) { - return __objc_msgSend_701( - obj, - sel, - name, - ext, - subpath, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_700 = + __objc_msgSend_700Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_URLForResource_withExtension_subdirectory_1 = objc + .registerName("URLForResource:withExtension:subdirectory:"); + ffi.Pointer _objc_msgSend_701( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer name, + ffi.Pointer ext, + ffi.Pointer subpath, + ) { + return __objc_msgSend_701(obj, sel, name, ext, subpath); } late final __objc_msgSend_701Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_701 = __objc_msgSend_701Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_701 = + __objc_msgSend_701Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_URLForResource_withExtension_subdirectory_localization_1 = - _registerName1("URLForResource:withExtension:subdirectory:localization:"); - ffi.Pointer _objc_msgSend_702( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer name, - ffi.Pointer ext, - ffi.Pointer subpath, - ffi.Pointer localizationName, - ) { - return __objc_msgSend_702( - obj, - sel, - name, - ext, - subpath, - localizationName, - ); + objc.registerName( + "URLForResource:withExtension:subdirectory:localization:", + ); + ffi.Pointer _objc_msgSend_702( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer name, + ffi.Pointer ext, + ffi.Pointer subpath, + ffi.Pointer localizationName, + ) { + return __objc_msgSend_702(obj, sel, name, ext, subpath, localizationName); } late final __objc_msgSend_702Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_702 = __objc_msgSend_702Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_URLsForResourcesWithExtension_subdirectory_1 = - _registerName1("URLsForResourcesWithExtension:subdirectory:"); - ffi.Pointer _objc_msgSend_703( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer ext, - ffi.Pointer subpath, - ) { - return __objc_msgSend_703( - obj, - sel, - ext, - subpath, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_702 = + __objc_msgSend_702Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_URLsForResourcesWithExtension_subdirectory_1 = objc + .registerName("URLsForResourcesWithExtension:subdirectory:"); + ffi.Pointer _objc_msgSend_703( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer ext, + ffi.Pointer subpath, + ) { + return __objc_msgSend_703(obj, sel, ext, subpath); } late final __objc_msgSend_703Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_703 = __objc_msgSend_703Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_703 = + __objc_msgSend_703Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_URLsForResourcesWithExtension_subdirectory_localization_1 = - _registerName1( - "URLsForResourcesWithExtension:subdirectory:localization:"); - ffi.Pointer _objc_msgSend_704( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer ext, - ffi.Pointer subpath, - ffi.Pointer localizationName, - ) { - return __objc_msgSend_704( - obj, - sel, - ext, - subpath, - localizationName, - ); + objc.registerName( + "URLsForResourcesWithExtension:subdirectory:localization:", + ); + ffi.Pointer _objc_msgSend_704( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer ext, + ffi.Pointer subpath, + ffi.Pointer localizationName, + ) { + return __objc_msgSend_704(obj, sel, ext, subpath, localizationName); } late final __objc_msgSend_704Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_704 = __objc_msgSend_704Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_pathForResource_ofType_inDirectory_1 = - _registerName1("pathForResource:ofType:inDirectory:"); - ffi.Pointer _objc_msgSend_705( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer name, - ffi.Pointer ext, - ffi.Pointer bundlePath, - ) { - return __objc_msgSend_705( - obj, - sel, - name, - ext, - bundlePath, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_704 = + __objc_msgSend_704Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_pathForResource_ofType_inDirectory_1 = objc.registerName( + "pathForResource:ofType:inDirectory:", + ); + ffi.Pointer _objc_msgSend_705( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer name, + ffi.Pointer ext, + ffi.Pointer bundlePath, + ) { + return __objc_msgSend_705(obj, sel, name, ext, bundlePath); } late final __objc_msgSend_705Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_705 = __objc_msgSend_705Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_pathsForResourcesOfType_inDirectory_1 = - _registerName1("pathsForResourcesOfType:inDirectory:"); - ffi.Pointer _objc_msgSend_706( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer ext, - ffi.Pointer bundlePath, - ) { - return __objc_msgSend_706( - obj, - sel, - ext, - bundlePath, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_705 = + __objc_msgSend_705Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_pathsForResourcesOfType_inDirectory_1 = objc.registerName( + "pathsForResourcesOfType:inDirectory:", + ); + ffi.Pointer _objc_msgSend_706( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer ext, + ffi.Pointer bundlePath, + ) { + return __objc_msgSend_706(obj, sel, ext, bundlePath); } late final __objc_msgSend_706Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_706 = __objc_msgSend_706Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_pathForResource_ofType_1 = - _registerName1("pathForResource:ofType:"); - ffi.Pointer _objc_msgSend_707( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer name, - ffi.Pointer ext, - ) { - return __objc_msgSend_707( - obj, - sel, - name, - ext, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_706 = + __objc_msgSend_706Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_pathForResource_ofType_1 = objc.registerName( + "pathForResource:ofType:", + ); + ffi.Pointer _objc_msgSend_707( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer name, + ffi.Pointer ext, + ) { + return __objc_msgSend_707(obj, sel, name, ext); } late final __objc_msgSend_707Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_707 = __objc_msgSend_707Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_pathForResource_ofType_inDirectory_forLocalization_1 = - _registerName1("pathForResource:ofType:inDirectory:forLocalization:"); - ffi.Pointer _objc_msgSend_708( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer name, - ffi.Pointer ext, - ffi.Pointer subpath, - ffi.Pointer localizationName, - ) { - return __objc_msgSend_708( - obj, - sel, - name, - ext, - subpath, - localizationName, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_707 = + __objc_msgSend_707Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_pathForResource_ofType_inDirectory_forLocalization_1 = objc + .registerName("pathForResource:ofType:inDirectory:forLocalization:"); + ffi.Pointer _objc_msgSend_708( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer name, + ffi.Pointer ext, + ffi.Pointer subpath, + ffi.Pointer localizationName, + ) { + return __objc_msgSend_708(obj, sel, name, ext, subpath, localizationName); } late final __objc_msgSend_708Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_708 = __objc_msgSend_708Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_pathsForResourcesOfType_inDirectory_forLocalization_1 = - _registerName1("pathsForResourcesOfType:inDirectory:forLocalization:"); - ffi.Pointer _objc_msgSend_709( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer ext, - ffi.Pointer subpath, - ffi.Pointer localizationName, - ) { - return __objc_msgSend_709( - obj, - sel, - ext, - subpath, - localizationName, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_708 = + __objc_msgSend_708Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_pathsForResourcesOfType_inDirectory_forLocalization_1 = objc + .registerName("pathsForResourcesOfType:inDirectory:forLocalization:"); + ffi.Pointer _objc_msgSend_709( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer ext, + ffi.Pointer subpath, + ffi.Pointer localizationName, + ) { + return __objc_msgSend_709(obj, sel, ext, subpath, localizationName); } late final __objc_msgSend_709Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_709 = __objc_msgSend_709Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_localizedStringForKey_value_table_1 = - _registerName1("localizedStringForKey:value:table:"); - ffi.Pointer _objc_msgSend_710( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer key, - ffi.Pointer value, - ffi.Pointer tableName, - ) { - return __objc_msgSend_710( - obj, - sel, - key, - value, - tableName, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_709 = + __objc_msgSend_709Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_localizedStringForKey_value_table_1 = objc.registerName( + "localizedStringForKey:value:table:", + ); + ffi.Pointer _objc_msgSend_710( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer key, + ffi.Pointer value, + ffi.Pointer tableName, + ) { + return __objc_msgSend_710(obj, sel, key, value, tableName); } late final __objc_msgSend_710Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_710 = __objc_msgSend_710Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - late final _class_NSAttributedString1 = _getClass1("NSAttributedString"); - late final _sel_attributesAtIndex_effectiveRange_1 = - _registerName1("attributesAtIndex:effectiveRange:"); - ffi.Pointer _objc_msgSend_711( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_710 = + __objc_msgSend_710Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _class_NSAttributedString1 = objc.getClass("NSAttributedString"); + late final _sel_attributesAtIndex_effectiveRange_1 = objc.registerName( + "attributesAtIndex:effectiveRange:", + ); + ffi.Pointer _objc_msgSend_711( + ffi.Pointer obj, + ffi.Pointer sel, int location, ffi.Pointer<_NSRange> range, ) { - return __objc_msgSend_711( - obj, - sel, - location, - range, - ); + return __objc_msgSend_711(obj, sel, location, range); } late final __objc_msgSend_711Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer<_NSRange>)>>('objc_msgSend'); - late final __objc_msgSend_711 = __objc_msgSend_711Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, int, ffi.Pointer<_NSRange>)>(); - - late final _sel_attribute_atIndex_effectiveRange_1 = - _registerName1("attribute:atIndex:effectiveRange:"); - ffi.Pointer _objc_msgSend_712( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer attrName, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer<_NSRange>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_711 = + __objc_msgSend_711Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer<_NSRange>, + ) + >(); + + late final _sel_attribute_atIndex_effectiveRange_1 = objc.registerName( + "attribute:atIndex:effectiveRange:", + ); + ffi.Pointer _objc_msgSend_712( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer attrName, int location, ffi.Pointer<_NSRange> range, ) { - return __objc_msgSend_712( - obj, - sel, - attrName, - location, - range, - ); + return __objc_msgSend_712(obj, sel, attrName, location, range); } late final __objc_msgSend_712Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer<_NSRange>)>>('objc_msgSend'); - late final __objc_msgSend_712 = __objc_msgSend_712Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer<_NSRange>)>(); - - late final _sel_attributedSubstringFromRange_1 = - _registerName1("attributedSubstringFromRange:"); - ffi.Pointer _objc_msgSend_713( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer<_NSRange>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_712 = + __objc_msgSend_712Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer<_NSRange>, + ) + >(); + + late final _sel_attributedSubstringFromRange_1 = objc.registerName( + "attributedSubstringFromRange:", + ); + ffi.Pointer _objc_msgSend_713( + ffi.Pointer obj, + ffi.Pointer sel, _NSRange range, ) { - return __objc_msgSend_713( - obj, - sel, - range, - ); + return __objc_msgSend_713(obj, sel, range); } late final __objc_msgSend_713Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, _NSRange)>>('objc_msgSend'); - late final __objc_msgSend_713 = __objc_msgSend_713Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer, _NSRange)>(); - - late final _sel_attributesAtIndex_longestEffectiveRange_inRange_1 = - _registerName1("attributesAtIndex:longestEffectiveRange:inRange:"); - ffi.Pointer _objc_msgSend_714( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_713 = + __objc_msgSend_713Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ) + >(); + + late final _sel_attributesAtIndex_longestEffectiveRange_inRange_1 = objc + .registerName("attributesAtIndex:longestEffectiveRange:inRange:"); + ffi.Pointer _objc_msgSend_714( + ffi.Pointer obj, + ffi.Pointer sel, int location, ffi.Pointer<_NSRange> range, _NSRange rangeLimit, ) { - return __objc_msgSend_714( - obj, - sel, - location, - range, - rangeLimit, - ); + return __objc_msgSend_714(obj, sel, location, range, rangeLimit); } late final __objc_msgSend_714Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer<_NSRange>, + _NSRange, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_714 = + __objc_msgSend_714Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, ffi.Pointer<_NSRange>, - _NSRange)>>('objc_msgSend'); - late final __objc_msgSend_714 = __objc_msgSend_714Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, int, ffi.Pointer<_NSRange>, _NSRange)>(); - - late final _sel_attribute_atIndex_longestEffectiveRange_inRange_1 = - _registerName1("attribute:atIndex:longestEffectiveRange:inRange:"); - ffi.Pointer _objc_msgSend_715( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer attrName, + _NSRange, + ) + >(); + + late final _sel_attribute_atIndex_longestEffectiveRange_inRange_1 = objc + .registerName("attribute:atIndex:longestEffectiveRange:inRange:"); + ffi.Pointer _objc_msgSend_715( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer attrName, int location, ffi.Pointer<_NSRange> range, _NSRange rangeLimit, ) { - return __objc_msgSend_715( - obj, - sel, - attrName, - location, - range, - rangeLimit, - ); + return __objc_msgSend_715(obj, sel, attrName, location, range, rangeLimit); } late final __objc_msgSend_715Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer<_NSRange>, + _NSRange, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_715 = + __objc_msgSend_715Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, ffi.Pointer<_NSRange>, - _NSRange)>>('objc_msgSend'); - late final __objc_msgSend_715 = __objc_msgSend_715Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer<_NSRange>, - _NSRange)>(); + _NSRange, + ) + >(); - late final _sel_isEqualToAttributedString_1 = - _registerName1("isEqualToAttributedString:"); + late final _sel_isEqualToAttributedString_1 = objc.registerName( + "isEqualToAttributedString:", + ); bool _objc_msgSend_716( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer other, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer other, ) { - return __objc_msgSend_716( - obj, - sel, - other, - ); + return __objc_msgSend_716(obj, sel, other); } late final __objc_msgSend_716Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_716 = __objc_msgSend_716Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_initWithString_attributes_1 = - _registerName1("initWithString:attributes:"); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_716 = + __objc_msgSend_716Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_initWithString_attributes_1 = objc.registerName( + "initWithString:attributes:", + ); instancetype _objc_msgSend_717( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer str, - ffi.Pointer attrs, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer str, + ffi.Pointer attrs, ) { - return __objc_msgSend_717( - obj, - sel, - str, - attrs, - ); + return __objc_msgSend_717(obj, sel, str, attrs); } late final __objc_msgSend_717Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_717 = __objc_msgSend_717Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_initWithAttributedString_1 = - _registerName1("initWithAttributedString:"); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_717 = + __objc_msgSend_717Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_initWithAttributedString_1 = objc.registerName( + "initWithAttributedString:", + ); instancetype _objc_msgSend_718( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer attrStr, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer attrStr, ) { - return __objc_msgSend_718( - obj, - sel, - attrStr, - ); + return __objc_msgSend_718(obj, sel, attrStr); } late final __objc_msgSend_718Ptr = _lookup< - ffi.NativeFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_718 = __objc_msgSend_718Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_enumerateAttributesInRange_options_usingBlock_1 = - _registerName1("enumerateAttributesInRange:options:usingBlock:"); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_718 = + __objc_msgSend_718Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_enumerateAttributesInRange_options_usingBlock_1 = objc + .registerName("enumerateAttributesInRange:options:usingBlock:"); void _objc_msgSend_719( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, _NSRange enumerationRange, int opts, - ffi.Pointer<_ObjCBlock> block, + ffi.Pointer block, ) { - return __objc_msgSend_719( - obj, - sel, - enumerationRange, - opts, - block, - ); + return __objc_msgSend_719(obj, sel, enumerationRange, opts, block); } late final __objc_msgSend_719Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - _NSRange, ffi.Int32, ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_719 = __objc_msgSend_719Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, _NSRange, - int, ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_enumerateAttribute_inRange_options_usingBlock_1 = - _registerName1("enumerateAttribute:inRange:options:usingBlock:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Int32, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_719 = + __objc_msgSend_719Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + int, + ffi.Pointer, + ) + >(); + + late final _sel_enumerateAttribute_inRange_options_usingBlock_1 = objc + .registerName("enumerateAttribute:inRange:options:usingBlock:"); void _objc_msgSend_720( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer attrName, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer attrName, _NSRange enumerationRange, int opts, - ffi.Pointer<_ObjCBlock> block, + ffi.Pointer block, ) { return __objc_msgSend_720( obj, @@ -20442,192 +25608,242 @@ class AVFAudio { } late final __objc_msgSend_720Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Int32, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_720 = + __objc_msgSend_720Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, _NSRange, - ffi.Int32, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_720 = __objc_msgSend_720Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, _NSRange, int, ffi.Pointer<_ObjCBlock>)>(); - - late final _class_NSAttributedStringMarkdownParsingOptions1 = - _getClass1("NSAttributedStringMarkdownParsingOptions"); - late final _sel_allowsExtendedAttributes1 = - _registerName1("allowsExtendedAttributes"); - late final _sel_setAllowsExtendedAttributes_1 = - _registerName1("setAllowsExtendedAttributes:"); - late final _sel_interpretedSyntax1 = _registerName1("interpretedSyntax"); + int, + ffi.Pointer, + ) + >(); + + late final _class_NSAttributedStringMarkdownParsingOptions1 = objc.getClass( + "NSAttributedStringMarkdownParsingOptions", + ); + late final _sel_allowsExtendedAttributes1 = objc.registerName( + "allowsExtendedAttributes", + ); + late final _sel_setAllowsExtendedAttributes_1 = objc.registerName( + "setAllowsExtendedAttributes:", + ); + late final _sel_interpretedSyntax1 = objc.registerName("interpretedSyntax"); int _objc_msgSend_721( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_721( - obj, - sel, - ); + return __objc_msgSend_721(obj, sel); } late final __objc_msgSend_721Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_721 = __objc_msgSend_721Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer)>(); - - late final _sel_setInterpretedSyntax_1 = - _registerName1("setInterpretedSyntax:"); + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_721 = + __objc_msgSend_721Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_setInterpretedSyntax_1 = objc.registerName( + "setInterpretedSyntax:", + ); void _objc_msgSend_722( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int value, ) { - return __objc_msgSend_722( - obj, - sel, - value, - ); + return __objc_msgSend_722(obj, sel, value); } late final __objc_msgSend_722Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_722 = __objc_msgSend_722Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_722 = + __objc_msgSend_722Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); - late final _sel_failurePolicy1 = _registerName1("failurePolicy"); + late final _sel_failurePolicy1 = objc.registerName("failurePolicy"); int _objc_msgSend_723( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_723( - obj, - sel, - ); + return __objc_msgSend_723(obj, sel); } late final __objc_msgSend_723Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_723 = __objc_msgSend_723Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_723 = + __objc_msgSend_723Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); - late final _sel_setFailurePolicy_1 = _registerName1("setFailurePolicy:"); + late final _sel_setFailurePolicy_1 = objc.registerName("setFailurePolicy:"); void _objc_msgSend_724( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int value, ) { - return __objc_msgSend_724( - obj, - sel, - value, - ); + return __objc_msgSend_724(obj, sel, value); } late final __objc_msgSend_724Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_724 = __objc_msgSend_724Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_setLanguageCode_1 = _registerName1("setLanguageCode:"); - late final _sel_appliesSourcePositionAttributes1 = - _registerName1("appliesSourcePositionAttributes"); - late final _sel_setAppliesSourcePositionAttributes_1 = - _registerName1("setAppliesSourcePositionAttributes:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_724 = + __objc_msgSend_724Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_setLanguageCode_1 = objc.registerName("setLanguageCode:"); + late final _sel_appliesSourcePositionAttributes1 = objc.registerName( + "appliesSourcePositionAttributes", + ); + late final _sel_setAppliesSourcePositionAttributes_1 = objc.registerName( + "setAppliesSourcePositionAttributes:", + ); late final _sel_initWithContentsOfMarkdownFileAtURL_options_baseURL_error_1 = - _registerName1( - "initWithContentsOfMarkdownFileAtURL:options:baseURL:error:"); + objc.registerName( + "initWithContentsOfMarkdownFileAtURL:options:baseURL:error:", + ); instancetype _objc_msgSend_725( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer markdownFile, - ffi.Pointer options, - ffi.Pointer baseURL, - ffi.Pointer> error, - ) { - return __objc_msgSend_725( - obj, - sel, - markdownFile, - options, - baseURL, - error, - ); + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer markdownFile, + ffi.Pointer options, + ffi.Pointer baseURL, + ffi.Pointer> error, + ) { + return __objc_msgSend_725(obj, sel, markdownFile, options, baseURL, error); } late final __objc_msgSend_725Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_725 = __objc_msgSend_725Ptr.asFunction< + ffi.NativeFunction< instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>(); - - late final _sel_initWithMarkdown_options_baseURL_error_1 = - _registerName1("initWithMarkdown:options:baseURL:error:"); + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_725 = + __objc_msgSend_725Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + >(); + + late final _sel_initWithMarkdown_options_baseURL_error_1 = objc.registerName( + "initWithMarkdown:options:baseURL:error:", + ); instancetype _objc_msgSend_726( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer markdown, - ffi.Pointer options, - ffi.Pointer baseURL, - ffi.Pointer> error, - ) { - return __objc_msgSend_726( - obj, - sel, - markdown, - options, - baseURL, - error, - ); + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer markdown, + ffi.Pointer options, + ffi.Pointer baseURL, + ffi.Pointer> error, + ) { + return __objc_msgSend_726(obj, sel, markdown, options, baseURL, error); } late final __objc_msgSend_726Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_726 = __objc_msgSend_726Ptr.asFunction< + ffi.NativeFunction< instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>(); - - late final _sel_initWithMarkdownString_options_baseURL_error_1 = - _registerName1("initWithMarkdownString:options:baseURL:error:"); + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_726 = + __objc_msgSend_726Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + >(); + + late final _sel_initWithMarkdownString_options_baseURL_error_1 = objc + .registerName("initWithMarkdownString:options:baseURL:error:"); instancetype _objc_msgSend_727( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer markdownString, - ffi.Pointer options, - ffi.Pointer baseURL, - ffi.Pointer> error, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer markdownString, + ffi.Pointer options, + ffi.Pointer baseURL, + ffi.Pointer> error, ) { return __objc_msgSend_727( obj, @@ -20640,164 +25856,188 @@ class AVFAudio { } late final __objc_msgSend_727Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_727 = __objc_msgSend_727Ptr.asFunction< + ffi.NativeFunction< instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>(); - - late final _sel_initWithFormat_options_locale_1 = - _registerName1("initWithFormat:options:locale:"); + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_727 = + __objc_msgSend_727Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + >(); + + late final _sel_initWithFormat_options_locale_1 = objc.registerName( + "initWithFormat:options:locale:", + ); instancetype _objc_msgSend_728( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer format, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer format, int options, - ffi.Pointer locale, + ffi.Pointer locale, ) { - return __objc_msgSend_728( - obj, - sel, - format, - options, - locale, - ); + return __objc_msgSend_728(obj, sel, format, options, locale); } late final __objc_msgSend_728Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_728 = __objc_msgSend_728Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int, ffi.Pointer)>(); - - late final _sel_initWithFormat_options_locale_arguments_1 = - _registerName1("initWithFormat:options:locale:arguments:"); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_728 = + __objc_msgSend_728Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ) + >(); + + late final _sel_initWithFormat_options_locale_arguments_1 = objc.registerName( + "initWithFormat:options:locale:arguments:", + ); instancetype _objc_msgSend_729( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer format, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer format, int options, - ffi.Pointer locale, + ffi.Pointer locale, ffi.Pointer<__va_list_tag> arguments, ) { - return __objc_msgSend_729( - obj, - sel, - format, - options, - locale, - arguments, - ); + return __objc_msgSend_729(obj, sel, format, options, locale, arguments); } late final __objc_msgSend_729Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer, - ffi.Pointer<__va_list_tag>)>>('objc_msgSend'); - late final __objc_msgSend_729 = __objc_msgSend_729Ptr.asFunction< + ffi.NativeFunction< instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ffi.Pointer<__va_list_tag>)>(); - - late final _sel_localizedAttributedStringWithFormat_1 = - _registerName1("localizedAttributedStringWithFormat:"); - late final _sel_localizedAttributedStringWithFormat_options_1 = - _registerName1("localizedAttributedStringWithFormat:options:"); + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ffi.Pointer<__va_list_tag>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_729 = + __objc_msgSend_729Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ffi.Pointer<__va_list_tag>, + ) + >(); + + late final _sel_localizedAttributedStringWithFormat_1 = objc.registerName( + "localizedAttributedStringWithFormat:", + ); + late final _sel_localizedAttributedStringWithFormat_options_1 = objc + .registerName("localizedAttributedStringWithFormat:options:"); instancetype _objc_msgSend_730( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer format, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer format, int options, ) { - return __objc_msgSend_730( - obj, - sel, - format, - options, - ); + return __objc_msgSend_730(obj, sel, format, options); } late final __objc_msgSend_730Ptr = _lookup< - ffi.NativeFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_730 = __objc_msgSend_730Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int)>(); - - late final _sel_initWithFormat_options_locale_context_1 = - _registerName1("initWithFormat:options:locale:context:"); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_730 = + __objc_msgSend_730Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_initWithFormat_options_locale_context_1 = objc.registerName( + "initWithFormat:options:locale:context:", + ); instancetype _objc_msgSend_731( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer format, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer format, int options, - ffi.Pointer locale, - ffi.Pointer context, + ffi.Pointer locale, + ffi.Pointer context, ) { - return __objc_msgSend_731( - obj, - sel, - format, - options, - locale, - context, - ); + return __objc_msgSend_731(obj, sel, format, options, locale, context); } late final __objc_msgSend_731Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_731 = __objc_msgSend_731Ptr.asFunction< + ffi.NativeFunction< instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_initWithFormat_options_locale_context_arguments_1 = - _registerName1("initWithFormat:options:locale:context:arguments:"); + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_731 = + __objc_msgSend_731Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_initWithFormat_options_locale_context_arguments_1 = objc + .registerName("initWithFormat:options:locale:context:arguments:"); instancetype _objc_msgSend_732( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer format, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer format, int options, - ffi.Pointer locale, - ffi.Pointer context, + ffi.Pointer locale, + ffi.Pointer context, ffi.Pointer<__va_list_tag> arguments, ) { return __objc_msgSend_732( @@ -20812,543 +26052,669 @@ class AVFAudio { } late final __objc_msgSend_732Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<__va_list_tag>)>>('objc_msgSend'); - late final __objc_msgSend_732 = __objc_msgSend_732Ptr.asFunction< + ffi.NativeFunction< instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<__va_list_tag>)>(); + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<__va_list_tag>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_732 = + __objc_msgSend_732Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<__va_list_tag>, + ) + >(); - late final _sel_localizedAttributedStringWithFormat_context_1 = - _registerName1("localizedAttributedStringWithFormat:context:"); + late final _sel_localizedAttributedStringWithFormat_context_1 = objc + .registerName("localizedAttributedStringWithFormat:context:"); instancetype _objc_msgSend_733( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer format, - ffi.Pointer context, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer format, + ffi.Pointer context, ) { - return __objc_msgSend_733( - obj, - sel, - format, - context, - ); + return __objc_msgSend_733(obj, sel, format, context); } late final __objc_msgSend_733Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_733 = __objc_msgSend_733Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_localizedAttributedStringWithFormat_options_context_1 = - _registerName1("localizedAttributedStringWithFormat:options:context:"); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_733 = + __objc_msgSend_733Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_localizedAttributedStringWithFormat_options_context_1 = objc + .registerName("localizedAttributedStringWithFormat:options:context:"); instancetype _objc_msgSend_734( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer format, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer format, int options, - ffi.Pointer context, + ffi.Pointer context, ) { - return __objc_msgSend_734( - obj, - sel, - format, - options, - context, - ); + return __objc_msgSend_734(obj, sel, format, options, context); } late final __objc_msgSend_734Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_734 = __objc_msgSend_734Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int, ffi.Pointer)>(); - - late final _sel_attributedStringByInflectingString1 = - _registerName1("attributedStringByInflectingString"); - ffi.Pointer _objc_msgSend_735( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_735( - obj, - sel, - ); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_734 = + __objc_msgSend_734Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ) + >(); + + late final _sel_attributedStringByInflectingString1 = objc.registerName( + "attributedStringByInflectingString", + ); + ffi.Pointer _objc_msgSend_735( + ffi.Pointer obj, + ffi.Pointer sel, + ) { + return __objc_msgSend_735(obj, sel); } late final __objc_msgSend_735Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_735 = __objc_msgSend_735Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_localizedAttributedStringForKey_value_table_1 = - _registerName1("localizedAttributedStringForKey:value:table:"); - ffi.Pointer _objc_msgSend_736( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer key, - ffi.Pointer value, - ffi.Pointer tableName, - ) { - return __objc_msgSend_736( - obj, - sel, - key, - value, - tableName, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_735 = + __objc_msgSend_735Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_localizedAttributedStringForKey_value_table_1 = objc + .registerName("localizedAttributedStringForKey:value:table:"); + ffi.Pointer _objc_msgSend_736( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer key, + ffi.Pointer value, + ffi.Pointer tableName, + ) { + return __objc_msgSend_736(obj, sel, key, value, tableName); } late final __objc_msgSend_736Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_736 = __objc_msgSend_736Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_bundleIdentifier1 = _registerName1("bundleIdentifier"); - late final _sel_infoDictionary1 = _registerName1("infoDictionary"); - late final _sel_localizedInfoDictionary1 = - _registerName1("localizedInfoDictionary"); - late final _sel_objectForInfoDictionaryKey_1 = - _registerName1("objectForInfoDictionaryKey:"); - late final _sel_classNamed_1 = _registerName1("classNamed:"); - late final _sel_principalClass1 = _registerName1("principalClass"); - late final _sel_preferredLocalizations1 = - _registerName1("preferredLocalizations"); - late final _sel_localizations1 = _registerName1("localizations"); - late final _sel_developmentLocalization1 = - _registerName1("developmentLocalization"); - late final _sel_preferredLocalizationsFromArray_1 = - _registerName1("preferredLocalizationsFromArray:"); - late final _sel_preferredLocalizationsFromArray_forPreferences_1 = - _registerName1("preferredLocalizationsFromArray:forPreferences:"); - ffi.Pointer _objc_msgSend_737( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer localizationsArray, - ffi.Pointer preferencesArray, - ) { - return __objc_msgSend_737( - obj, - sel, - localizationsArray, - preferencesArray, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_736 = + __objc_msgSend_736Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_bundleIdentifier1 = objc.registerName("bundleIdentifier"); + late final _sel_infoDictionary1 = objc.registerName("infoDictionary"); + late final _sel_localizedInfoDictionary1 = objc.registerName( + "localizedInfoDictionary", + ); + late final _sel_objectForInfoDictionaryKey_1 = objc.registerName( + "objectForInfoDictionaryKey:", + ); + late final _sel_classNamed_1 = objc.registerName("classNamed:"); + late final _sel_principalClass1 = objc.registerName("principalClass"); + late final _sel_preferredLocalizations1 = objc.registerName( + "preferredLocalizations", + ); + late final _sel_localizations1 = objc.registerName("localizations"); + late final _sel_developmentLocalization1 = objc.registerName( + "developmentLocalization", + ); + late final _sel_preferredLocalizationsFromArray_1 = objc.registerName( + "preferredLocalizationsFromArray:", + ); + late final _sel_preferredLocalizationsFromArray_forPreferences_1 = objc + .registerName("preferredLocalizationsFromArray:forPreferences:"); + ffi.Pointer _objc_msgSend_737( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer localizationsArray, + ffi.Pointer preferencesArray, + ) { + return __objc_msgSend_737(obj, sel, localizationsArray, preferencesArray); } late final __objc_msgSend_737Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_737 = __objc_msgSend_737Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_executableArchitectures1 = - _registerName1("executableArchitectures"); - late final _sel_setPreservationPriority_forTags_1 = - _registerName1("setPreservationPriority:forTags:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_737 = + __objc_msgSend_737Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_executableArchitectures1 = objc.registerName( + "executableArchitectures", + ); + late final _sel_setPreservationPriority_forTags_1 = objc.registerName( + "setPreservationPriority:forTags:", + ); void _objc_msgSend_738( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, double priority, - ffi.Pointer tags, - ) { - return __objc_msgSend_738( - obj, - sel, - priority, - tags, - ); + ffi.Pointer tags, + ) { + return __objc_msgSend_738(obj, sel, priority, tags); } late final __objc_msgSend_738Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Double, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_738 = __objc_msgSend_738Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, double, - ffi.Pointer)>(); - - late final _sel_preservationPriorityForTag_1 = - _registerName1("preservationPriorityForTag:"); - late final _class_NSMutableAttributedString1 = - _getClass1("NSMutableAttributedString"); - late final _sel_setAttributes_range_1 = - _registerName1("setAttributes:range:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Double, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_738 = + __objc_msgSend_738Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + double, + ffi.Pointer, + ) + >(); + + late final _sel_preservationPriorityForTag_1 = objc.registerName( + "preservationPriorityForTag:", + ); + late final _class_NSMutableAttributedString1 = objc.getClass( + "NSMutableAttributedString", + ); + late final _sel_setAttributes_range_1 = objc.registerName( + "setAttributes:range:", + ); void _objc_msgSend_739( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer attrs, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer attrs, _NSRange range, ) { - return __objc_msgSend_739( - obj, - sel, - attrs, - range, - ); + return __objc_msgSend_739(obj, sel, attrs, range); } late final __objc_msgSend_739Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, _NSRange)>>('objc_msgSend'); - late final __objc_msgSend_739 = __objc_msgSend_739Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, _NSRange)>(); - - late final _sel_mutableString1 = _registerName1("mutableString"); - ffi.Pointer _objc_msgSend_740( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_740( - obj, - sel, - ); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_739 = + __objc_msgSend_739Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange, + ) + >(); + + late final _sel_mutableString1 = objc.registerName("mutableString"); + ffi.Pointer _objc_msgSend_740( + ffi.Pointer obj, + ffi.Pointer sel, + ) { + return __objc_msgSend_740(obj, sel); } late final __objc_msgSend_740Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_740 = __objc_msgSend_740Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_addAttribute_value_range_1 = - _registerName1("addAttribute:value:range:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_740 = + __objc_msgSend_740Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_addAttribute_value_range_1 = objc.registerName( + "addAttribute:value:range:", + ); void _objc_msgSend_741( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer name, - ffi.Pointer value, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer name, + ffi.Pointer value, _NSRange range, ) { - return __objc_msgSend_741( - obj, - sel, - name, - value, - range, - ); + return __objc_msgSend_741(obj, sel, name, value, range); } late final __objc_msgSend_741Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - _NSRange)>>('objc_msgSend'); - late final __objc_msgSend_741 = __objc_msgSend_741Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer, _NSRange)>(); - - late final _sel_addAttributes_range_1 = - _registerName1("addAttributes:range:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_741 = + __objc_msgSend_741Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange, + ) + >(); + + late final _sel_addAttributes_range_1 = objc.registerName( + "addAttributes:range:", + ); void _objc_msgSend_742( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer attrs, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer attrs, _NSRange range, ) { - return __objc_msgSend_742( - obj, - sel, - attrs, - range, - ); + return __objc_msgSend_742(obj, sel, attrs, range); } late final __objc_msgSend_742Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, _NSRange)>>('objc_msgSend'); - late final __objc_msgSend_742 = __objc_msgSend_742Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, _NSRange)>(); - - late final _sel_removeAttribute_range_1 = - _registerName1("removeAttribute:range:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_742 = + __objc_msgSend_742Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange, + ) + >(); + + late final _sel_removeAttribute_range_1 = objc.registerName( + "removeAttribute:range:", + ); void _objc_msgSend_743( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer name, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer name, _NSRange range, ) { - return __objc_msgSend_743( - obj, - sel, - name, - range, - ); + return __objc_msgSend_743(obj, sel, name, range); } late final __objc_msgSend_743Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, _NSRange)>>('objc_msgSend'); - late final __objc_msgSend_743 = __objc_msgSend_743Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, _NSRange)>(); - - late final _sel_replaceCharactersInRange_withAttributedString_1 = - _registerName1("replaceCharactersInRange:withAttributedString:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_743 = + __objc_msgSend_743Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange, + ) + >(); + + late final _sel_replaceCharactersInRange_withAttributedString_1 = objc + .registerName("replaceCharactersInRange:withAttributedString:"); void _objc_msgSend_744( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, _NSRange range, - ffi.Pointer attrString, + ffi.Pointer attrString, ) { - return __objc_msgSend_744( - obj, - sel, - range, - attrString, - ); + return __objc_msgSend_744(obj, sel, range, attrString); } late final __objc_msgSend_744Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - _NSRange, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_744 = __objc_msgSend_744Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, _NSRange, - ffi.Pointer)>(); - - late final _sel_insertAttributedString_atIndex_1 = - _registerName1("insertAttributedString:atIndex:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_744 = + __objc_msgSend_744Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + ) + >(); + + late final _sel_insertAttributedString_atIndex_1 = objc.registerName( + "insertAttributedString:atIndex:", + ); void _objc_msgSend_745( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer attrString, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer attrString, int loc, ) { - return __objc_msgSend_745( - obj, - sel, - attrString, - loc, - ); + return __objc_msgSend_745(obj, sel, attrString, loc); } late final __objc_msgSend_745Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.UnsignedLong)>>('objc_msgSend'); - late final __objc_msgSend_745 = __objc_msgSend_745Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int)>(); - - late final _sel_appendAttributedString_1 = - _registerName1("appendAttributedString:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_745 = + __objc_msgSend_745Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_appendAttributedString_1 = objc.registerName( + "appendAttributedString:", + ); void _objc_msgSend_746( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer attrString, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer attrString, ) { - return __objc_msgSend_746( - obj, - sel, - attrString, - ); + return __objc_msgSend_746(obj, sel, attrString); } late final __objc_msgSend_746Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_746 = __objc_msgSend_746Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_setAttributedString_1 = - _registerName1("setAttributedString:"); - late final _sel_beginEditing1 = _registerName1("beginEditing"); - late final _sel_endEditing1 = _registerName1("endEditing"); - late final _sel_appendLocalizedFormat_1 = - _registerName1("appendLocalizedFormat:"); - late final _class_NSDateFormatter1 = _getClass1("NSDateFormatter"); - late final _class_NSFormatter1 = _getClass1("NSFormatter"); - late final _sel_stringForObjectValue_1 = - _registerName1("stringForObjectValue:"); - ffi.Pointer _objc_msgSend_747( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer obj1, - ) { - return __objc_msgSend_747( - obj, - sel, - obj1, - ); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_746 = + __objc_msgSend_746Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_setAttributedString_1 = objc.registerName( + "setAttributedString:", + ); + late final _sel_beginEditing1 = objc.registerName("beginEditing"); + late final _sel_endEditing1 = objc.registerName("endEditing"); + late final _sel_appendLocalizedFormat_1 = objc.registerName( + "appendLocalizedFormat:", + ); + late final _class_NSDateFormatter1 = objc.getClass("NSDateFormatter"); + late final _class_NSFormatter1 = objc.getClass("NSFormatter"); + late final _sel_stringForObjectValue_1 = objc.registerName( + "stringForObjectValue:", + ); + ffi.Pointer _objc_msgSend_747( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer obj1, + ) { + return __objc_msgSend_747(obj, sel, obj1); } late final __objc_msgSend_747Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_747 = __objc_msgSend_747Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_attributedStringForObjectValue_withDefaultAttributes_1 = - _registerName1("attributedStringForObjectValue:withDefaultAttributes:"); - ffi.Pointer _objc_msgSend_748( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer obj1, - ffi.Pointer attrs, - ) { - return __objc_msgSend_748( - obj, - sel, - obj1, - attrs, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_747 = + __objc_msgSend_747Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_attributedStringForObjectValue_withDefaultAttributes_1 = objc + .registerName("attributedStringForObjectValue:withDefaultAttributes:"); + ffi.Pointer _objc_msgSend_748( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer obj1, + ffi.Pointer attrs, + ) { + return __objc_msgSend_748(obj, sel, obj1, attrs); } late final __objc_msgSend_748Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_748 = __objc_msgSend_748Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_editingStringForObjectValue_1 = - _registerName1("editingStringForObjectValue:"); - late final _sel_getObjectValue_forString_errorDescription_1 = - _registerName1("getObjectValue:forString:errorDescription:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_748 = + __objc_msgSend_748Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_editingStringForObjectValue_1 = objc.registerName( + "editingStringForObjectValue:", + ); + late final _sel_getObjectValue_forString_errorDescription_1 = objc + .registerName("getObjectValue:forString:errorDescription:"); bool _objc_msgSend_749( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer> obj1, - ffi.Pointer string, - ffi.Pointer> error, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer> obj1, + ffi.Pointer string, + ffi.Pointer> error, ) { - return __objc_msgSend_749( - obj, - sel, - obj1, - string, - error, - ); + return __objc_msgSend_749(obj, sel, obj1, string, error); } late final __objc_msgSend_749Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_749 = __objc_msgSend_749Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer, - ffi.Pointer>)>(); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_749 = + __objc_msgSend_749Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer, + ffi.Pointer>, + ) + >(); late final _sel_isPartialStringValid_newEditingString_errorDescription_1 = - _registerName1("isPartialStringValid:newEditingString:errorDescription:"); + objc.registerName( + "isPartialStringValid:newEditingString:errorDescription:", + ); bool _objc_msgSend_750( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer partialString, - ffi.Pointer> newString, - ffi.Pointer> error, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer partialString, + ffi.Pointer> newString, + ffi.Pointer> error, ) { - return __objc_msgSend_750( - obj, - sel, - partialString, - newString, - error, - ); + return __objc_msgSend_750(obj, sel, partialString, newString, error); } late final __objc_msgSend_750Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_750 = __objc_msgSend_750Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer>)>(); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_750 = + __objc_msgSend_750Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer>, + ) + >(); late final _sel_isPartialStringValid_proposedSelectedRange_originalString_originalSelectedRange_errorDescription_1 = - _registerName1( - "isPartialStringValid:proposedSelectedRange:originalString:originalSelectedRange:errorDescription:"); + objc.registerName( + "isPartialStringValid:proposedSelectedRange:originalString:originalSelectedRange:errorDescription:", + ); bool _objc_msgSend_751( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer> partialStringPtr, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer> partialStringPtr, ffi.Pointer<_NSRange> proposedSelRangePtr, - ffi.Pointer origString, + ffi.Pointer origString, _NSRange origSelRange, - ffi.Pointer> error, + ffi.Pointer> error, ) { return __objc_msgSend_751( obj, @@ -21362,857 +26728,1096 @@ class AVFAudio { } late final __objc_msgSend_751Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer<_NSRange>, + ffi.Pointer, + _NSRange, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_751 = + __objc_msgSend_751Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, ffi.Pointer<_NSRange>, - ffi.Pointer, + ffi.Pointer, _NSRange, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_751 = __objc_msgSend_751Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer<_NSRange>, - ffi.Pointer, - _NSRange, - ffi.Pointer>)>(); + ffi.Pointer>, + ) + >(); - late final _sel_formattingContext1 = _registerName1("formattingContext"); + late final _sel_formattingContext1 = objc.registerName("formattingContext"); int _objc_msgSend_752( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_752( - obj, - sel, - ); + return __objc_msgSend_752(obj, sel); } late final __objc_msgSend_752Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_752 = __objc_msgSend_752Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer)>(); - - late final _sel_setFormattingContext_1 = - _registerName1("setFormattingContext:"); + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_752 = + __objc_msgSend_752Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_setFormattingContext_1 = objc.registerName( + "setFormattingContext:", + ); void _objc_msgSend_753( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int value, ) { - return __objc_msgSend_753( - obj, - sel, - value, - ); + return __objc_msgSend_753(obj, sel, value); } late final __objc_msgSend_753Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_753 = __objc_msgSend_753Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_getObjectValue_forString_range_error_1 = - _registerName1("getObjectValue:forString:range:error:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_753 = + __objc_msgSend_753Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_getObjectValue_forString_range_error_1 = objc.registerName( + "getObjectValue:forString:range:error:", + ); bool _objc_msgSend_754( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer> obj1, - ffi.Pointer string, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer> obj1, + ffi.Pointer string, ffi.Pointer<_NSRange> rangep, - ffi.Pointer> error, + ffi.Pointer> error, ) { - return __objc_msgSend_754( - obj, - sel, - obj1, - string, - rangep, - error, - ); + return __objc_msgSend_754(obj, sel, obj1, string, rangep, error); } late final __objc_msgSend_754Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer, + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer, + ffi.Pointer<_NSRange>, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_754 = + __objc_msgSend_754Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer, ffi.Pointer<_NSRange>, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_754 = __objc_msgSend_754Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer, - ffi.Pointer<_NSRange>, - ffi.Pointer>)>(); - - late final _sel_stringFromDate_1 = _registerName1("stringFromDate:"); - ffi.Pointer _objc_msgSend_755( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer date, - ) { - return __objc_msgSend_755( - obj, - sel, - date, - ); + ffi.Pointer>, + ) + >(); + + late final _sel_stringFromDate_1 = objc.registerName("stringFromDate:"); + ffi.Pointer _objc_msgSend_755( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer date, + ) { + return __objc_msgSend_755(obj, sel, date); } late final __objc_msgSend_755Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_755 = __objc_msgSend_755Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_dateFromString_1 = _registerName1("dateFromString:"); - late final _sel_localizedStringFromDate_dateStyle_timeStyle_1 = - _registerName1("localizedStringFromDate:dateStyle:timeStyle:"); - ffi.Pointer _objc_msgSend_756( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer date, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_755 = + __objc_msgSend_755Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_dateFromString_1 = objc.registerName("dateFromString:"); + late final _sel_localizedStringFromDate_dateStyle_timeStyle_1 = objc + .registerName("localizedStringFromDate:dateStyle:timeStyle:"); + ffi.Pointer _objc_msgSend_756( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer date, int dstyle, int tstyle, ) { - return __objc_msgSend_756( - obj, - sel, - date, - dstyle, - tstyle, - ); + return __objc_msgSend_756(obj, sel, date, dstyle, tstyle); } late final __objc_msgSend_756Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_756 = __objc_msgSend_756Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer, int, int)>(); - - late final _sel_dateFormatFromTemplate_options_locale_1 = - _registerName1("dateFormatFromTemplate:options:locale:"); - ffi.Pointer _objc_msgSend_757( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer tmplate, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_756 = + __objc_msgSend_756Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + int, + ) + >(); + + late final _sel_dateFormatFromTemplate_options_locale_1 = objc.registerName( + "dateFormatFromTemplate:options:locale:", + ); + ffi.Pointer _objc_msgSend_757( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer tmplate, int opts, - ffi.Pointer locale, + ffi.Pointer locale, ) { - return __objc_msgSend_757( - obj, - sel, - tmplate, - opts, - locale, - ); + return __objc_msgSend_757(obj, sel, tmplate, opts, locale); } late final __objc_msgSend_757Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_757 = __objc_msgSend_757Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer)>(); - - late final _sel_defaultFormatterBehavior1 = - _registerName1("defaultFormatterBehavior"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_757 = + __objc_msgSend_757Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ) + >(); + + late final _sel_defaultFormatterBehavior1 = objc.registerName( + "defaultFormatterBehavior", + ); int _objc_msgSend_758( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_758( - obj, - sel, - ); + return __objc_msgSend_758(obj, sel); } late final __objc_msgSend_758Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_758 = __objc_msgSend_758Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer)>(); - - late final _sel_setDefaultFormatterBehavior_1 = - _registerName1("setDefaultFormatterBehavior:"); + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_758 = + __objc_msgSend_758Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_setDefaultFormatterBehavior_1 = objc.registerName( + "setDefaultFormatterBehavior:", + ); void _objc_msgSend_759( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int value, ) { - return __objc_msgSend_759( - obj, - sel, - value, - ); + return __objc_msgSend_759(obj, sel, value); } late final __objc_msgSend_759Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_759 = __objc_msgSend_759Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_setLocalizedDateFormatFromTemplate_1 = - _registerName1("setLocalizedDateFormatFromTemplate:"); - late final _sel_dateFormat1 = _registerName1("dateFormat"); - late final _sel_setDateFormat_1 = _registerName1("setDateFormat:"); - late final _sel_dateStyle1 = _registerName1("dateStyle"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_759 = + __objc_msgSend_759Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_setLocalizedDateFormatFromTemplate_1 = objc.registerName( + "setLocalizedDateFormatFromTemplate:", + ); + late final _sel_dateFormat1 = objc.registerName("dateFormat"); + late final _sel_setDateFormat_1 = objc.registerName("setDateFormat:"); + late final _sel_dateStyle1 = objc.registerName("dateStyle"); int _objc_msgSend_760( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_760( - obj, - sel, - ); + return __objc_msgSend_760(obj, sel); } late final __objc_msgSend_760Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_760 = __objc_msgSend_760Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_760 = + __objc_msgSend_760Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); - late final _sel_setDateStyle_1 = _registerName1("setDateStyle:"); + late final _sel_setDateStyle_1 = objc.registerName("setDateStyle:"); void _objc_msgSend_761( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int value, ) { - return __objc_msgSend_761( - obj, - sel, - value, - ); + return __objc_msgSend_761(obj, sel, value); } late final __objc_msgSend_761Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_761 = __objc_msgSend_761Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_timeStyle1 = _registerName1("timeStyle"); - late final _sel_setTimeStyle_1 = _registerName1("setTimeStyle:"); - late final _sel_locale1 = _registerName1("locale"); - late final _sel_setLocale_1 = _registerName1("setLocale:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_761 = + __objc_msgSend_761Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_timeStyle1 = objc.registerName("timeStyle"); + late final _sel_setTimeStyle_1 = objc.registerName("setTimeStyle:"); + late final _sel_locale1 = objc.registerName("locale"); + late final _sel_setLocale_1 = objc.registerName("setLocale:"); void _objc_msgSend_762( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value, ) { - return __objc_msgSend_762( - obj, - sel, - value, - ); + return __objc_msgSend_762(obj, sel, value); } late final __objc_msgSend_762Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_762 = __objc_msgSend_762Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_generatesCalendarDates1 = - _registerName1("generatesCalendarDates"); - late final _sel_setGeneratesCalendarDates_1 = - _registerName1("setGeneratesCalendarDates:"); - late final _sel_formatterBehavior1 = _registerName1("formatterBehavior"); - late final _sel_setFormatterBehavior_1 = - _registerName1("setFormatterBehavior:"); - late final _class_NSCalendar1 = _getClass1("NSCalendar"); - late final _sel_currentCalendar1 = _registerName1("currentCalendar"); - ffi.Pointer _objc_msgSend_763( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_763( - obj, - sel, - ); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_762 = + __objc_msgSend_762Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_generatesCalendarDates1 = objc.registerName( + "generatesCalendarDates", + ); + late final _sel_setGeneratesCalendarDates_1 = objc.registerName( + "setGeneratesCalendarDates:", + ); + late final _sel_formatterBehavior1 = objc.registerName("formatterBehavior"); + late final _sel_setFormatterBehavior_1 = objc.registerName( + "setFormatterBehavior:", + ); + late final _class_NSCalendar1 = objc.getClass("NSCalendar"); + late final _sel_currentCalendar1 = objc.registerName("currentCalendar"); + ffi.Pointer _objc_msgSend_763( + ffi.Pointer obj, + ffi.Pointer sel, + ) { + return __objc_msgSend_763(obj, sel); } late final __objc_msgSend_763Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_763 = __objc_msgSend_763Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_autoupdatingCurrentCalendar1 = - _registerName1("autoupdatingCurrentCalendar"); - late final _sel_calendarWithIdentifier_1 = - _registerName1("calendarWithIdentifier:"); - ffi.Pointer _objc_msgSend_764( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer calendarIdentifierConstant, - ) { - return __objc_msgSend_764( - obj, - sel, - calendarIdentifierConstant, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_763 = + __objc_msgSend_763Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_autoupdatingCurrentCalendar1 = objc.registerName( + "autoupdatingCurrentCalendar", + ); + late final _sel_calendarWithIdentifier_1 = objc.registerName( + "calendarWithIdentifier:", + ); + ffi.Pointer _objc_msgSend_764( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer calendarIdentifierConstant, + ) { + return __objc_msgSend_764(obj, sel, calendarIdentifierConstant); } late final __objc_msgSend_764Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_764 = __objc_msgSend_764Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_initWithCalendarIdentifier_1 = - _registerName1("initWithCalendarIdentifier:"); - ffi.Pointer _objc_msgSend_765( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_765( - obj, - sel, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_764 = + __objc_msgSend_764Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_initWithCalendarIdentifier_1 = objc.registerName( + "initWithCalendarIdentifier:", + ); + ffi.Pointer _objc_msgSend_765( + ffi.Pointer obj, + ffi.Pointer sel, + ) { + return __objc_msgSend_765(obj, sel); } late final __objc_msgSend_765Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_765 = __objc_msgSend_765Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_765 = + __objc_msgSend_765Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); void _objc_msgSend_766( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value, ) { - return __objc_msgSend_766( - obj, - sel, - value, - ); + return __objc_msgSend_766(obj, sel, value); } late final __objc_msgSend_766Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_766 = __objc_msgSend_766Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_firstWeekday1 = _registerName1("firstWeekday"); - late final _sel_setFirstWeekday_1 = _registerName1("setFirstWeekday:"); - late final _sel_minimumDaysInFirstWeek1 = - _registerName1("minimumDaysInFirstWeek"); - late final _sel_setMinimumDaysInFirstWeek_1 = - _registerName1("setMinimumDaysInFirstWeek:"); - late final _sel_eraSymbols1 = _registerName1("eraSymbols"); - late final _sel_longEraSymbols1 = _registerName1("longEraSymbols"); - late final _sel_monthSymbols1 = _registerName1("monthSymbols"); - late final _sel_shortMonthSymbols1 = _registerName1("shortMonthSymbols"); - late final _sel_veryShortMonthSymbols1 = - _registerName1("veryShortMonthSymbols"); - late final _sel_standaloneMonthSymbols1 = - _registerName1("standaloneMonthSymbols"); - late final _sel_shortStandaloneMonthSymbols1 = - _registerName1("shortStandaloneMonthSymbols"); - late final _sel_veryShortStandaloneMonthSymbols1 = - _registerName1("veryShortStandaloneMonthSymbols"); - late final _sel_weekdaySymbols1 = _registerName1("weekdaySymbols"); - late final _sel_shortWeekdaySymbols1 = _registerName1("shortWeekdaySymbols"); - late final _sel_veryShortWeekdaySymbols1 = - _registerName1("veryShortWeekdaySymbols"); - late final _sel_standaloneWeekdaySymbols1 = - _registerName1("standaloneWeekdaySymbols"); - late final _sel_shortStandaloneWeekdaySymbols1 = - _registerName1("shortStandaloneWeekdaySymbols"); - late final _sel_veryShortStandaloneWeekdaySymbols1 = - _registerName1("veryShortStandaloneWeekdaySymbols"); - late final _sel_quarterSymbols1 = _registerName1("quarterSymbols"); - late final _sel_shortQuarterSymbols1 = _registerName1("shortQuarterSymbols"); - late final _sel_standaloneQuarterSymbols1 = - _registerName1("standaloneQuarterSymbols"); - late final _sel_shortStandaloneQuarterSymbols1 = - _registerName1("shortStandaloneQuarterSymbols"); - late final _sel_AMSymbol1 = _registerName1("AMSymbol"); - late final _sel_PMSymbol1 = _registerName1("PMSymbol"); - late final _sel_minimumRangeOfUnit_1 = _registerName1("minimumRangeOfUnit:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_766 = + __objc_msgSend_766Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_firstWeekday1 = objc.registerName("firstWeekday"); + late final _sel_setFirstWeekday_1 = objc.registerName("setFirstWeekday:"); + late final _sel_minimumDaysInFirstWeek1 = objc.registerName( + "minimumDaysInFirstWeek", + ); + late final _sel_setMinimumDaysInFirstWeek_1 = objc.registerName( + "setMinimumDaysInFirstWeek:", + ); + late final _sel_eraSymbols1 = objc.registerName("eraSymbols"); + late final _sel_longEraSymbols1 = objc.registerName("longEraSymbols"); + late final _sel_monthSymbols1 = objc.registerName("monthSymbols"); + late final _sel_shortMonthSymbols1 = objc.registerName("shortMonthSymbols"); + late final _sel_veryShortMonthSymbols1 = objc.registerName( + "veryShortMonthSymbols", + ); + late final _sel_standaloneMonthSymbols1 = objc.registerName( + "standaloneMonthSymbols", + ); + late final _sel_shortStandaloneMonthSymbols1 = objc.registerName( + "shortStandaloneMonthSymbols", + ); + late final _sel_veryShortStandaloneMonthSymbols1 = objc.registerName( + "veryShortStandaloneMonthSymbols", + ); + late final _sel_weekdaySymbols1 = objc.registerName("weekdaySymbols"); + late final _sel_shortWeekdaySymbols1 = objc.registerName( + "shortWeekdaySymbols", + ); + late final _sel_veryShortWeekdaySymbols1 = objc.registerName( + "veryShortWeekdaySymbols", + ); + late final _sel_standaloneWeekdaySymbols1 = objc.registerName( + "standaloneWeekdaySymbols", + ); + late final _sel_shortStandaloneWeekdaySymbols1 = objc.registerName( + "shortStandaloneWeekdaySymbols", + ); + late final _sel_veryShortStandaloneWeekdaySymbols1 = objc.registerName( + "veryShortStandaloneWeekdaySymbols", + ); + late final _sel_quarterSymbols1 = objc.registerName("quarterSymbols"); + late final _sel_shortQuarterSymbols1 = objc.registerName( + "shortQuarterSymbols", + ); + late final _sel_standaloneQuarterSymbols1 = objc.registerName( + "standaloneQuarterSymbols", + ); + late final _sel_shortStandaloneQuarterSymbols1 = objc.registerName( + "shortStandaloneQuarterSymbols", + ); + late final _sel_AMSymbol1 = objc.registerName("AMSymbol"); + late final _sel_PMSymbol1 = objc.registerName("PMSymbol"); + late final _sel_minimumRangeOfUnit_1 = objc.registerName( + "minimumRangeOfUnit:", + ); _NSRange _objc_msgSend_767( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int unit, ) { - return __objc_msgSend_767( - obj, - sel, - unit, - ); + return __objc_msgSend_767(obj, sel, unit); } late final __objc_msgSend_767Ptr = _lookup< - ffi.NativeFunction< - _NSRange Function(ffi.Pointer, ffi.Pointer, - ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_767 = __objc_msgSend_767Ptr.asFunction< - _NSRange Function(ffi.Pointer, ffi.Pointer, int)>(); + ffi.NativeFunction< + _NSRange Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_767 = + __objc_msgSend_767Ptr + .asFunction< + _NSRange Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); void _objc_msgSend_767_stret( ffi.Pointer<_NSRange> stret, - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int unit, ) { - return __objc_msgSend_767_stret( - stret, - obj, - sel, - unit, - ); + return __objc_msgSend_767_stret(stret, obj, sel, unit); } late final __objc_msgSend_767_stretPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer<_NSRange>, ffi.Pointer, - ffi.Pointer, ffi.Int32)>>('objc_msgSend_stret'); - late final __objc_msgSend_767_stret = __objc_msgSend_767_stretPtr.asFunction< - void Function(ffi.Pointer<_NSRange>, ffi.Pointer, - ffi.Pointer, int)>(); - - late final _sel_maximumRangeOfUnit_1 = _registerName1("maximumRangeOfUnit:"); - late final _sel_rangeOfUnit_inUnit_forDate_1 = - _registerName1("rangeOfUnit:inUnit:forDate:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer<_NSRange>, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend_stret'); + late final __objc_msgSend_767_stret = + __objc_msgSend_767_stretPtr + .asFunction< + void Function( + ffi.Pointer<_NSRange>, + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_maximumRangeOfUnit_1 = objc.registerName( + "maximumRangeOfUnit:", + ); + late final _sel_rangeOfUnit_inUnit_forDate_1 = objc.registerName( + "rangeOfUnit:inUnit:forDate:", + ); _NSRange _objc_msgSend_768( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int smaller, int larger, - ffi.Pointer date, + ffi.Pointer date, ) { - return __objc_msgSend_768( - obj, - sel, - smaller, - larger, - date, - ); + return __objc_msgSend_768(obj, sel, smaller, larger, date); } late final __objc_msgSend_768Ptr = _lookup< - ffi.NativeFunction< - _NSRange Function(ffi.Pointer, ffi.Pointer, - ffi.Int32, ffi.Int32, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_768 = __objc_msgSend_768Ptr.asFunction< - _NSRange Function(ffi.Pointer, ffi.Pointer, int, int, - ffi.Pointer)>(); + ffi.NativeFunction< + _NSRange Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Int32, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_768 = + __objc_msgSend_768Ptr + .asFunction< + _NSRange Function( + ffi.Pointer, + ffi.Pointer, + int, + int, + ffi.Pointer, + ) + >(); void _objc_msgSend_768_stret( ffi.Pointer<_NSRange> stret, - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int smaller, int larger, - ffi.Pointer date, + ffi.Pointer date, ) { - return __objc_msgSend_768_stret( - stret, - obj, - sel, - smaller, - larger, - date, - ); + return __objc_msgSend_768_stret(stret, obj, sel, smaller, larger, date); } late final __objc_msgSend_768_stretPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer<_NSRange>, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Int32, + ffi.Pointer, + ) + > + >('objc_msgSend_stret'); + late final __objc_msgSend_768_stret = + __objc_msgSend_768_stretPtr + .asFunction< + void Function( ffi.Pointer<_NSRange>, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Int32, - ffi.Pointer)>>('objc_msgSend_stret'); - late final __objc_msgSend_768_stret = __objc_msgSend_768_stretPtr.asFunction< - void Function(ffi.Pointer<_NSRange>, ffi.Pointer, - ffi.Pointer, int, int, ffi.Pointer)>(); - - late final _sel_ordinalityOfUnit_inUnit_forDate_1 = - _registerName1("ordinalityOfUnit:inUnit:forDate:"); + ffi.Pointer, + ffi.Pointer, + int, + int, + ffi.Pointer, + ) + >(); + + late final _sel_ordinalityOfUnit_inUnit_forDate_1 = objc.registerName( + "ordinalityOfUnit:inUnit:forDate:", + ); int _objc_msgSend_769( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int smaller, int larger, - ffi.Pointer date, + ffi.Pointer date, ) { - return __objc_msgSend_769( - obj, - sel, - smaller, - larger, - date, - ); + return __objc_msgSend_769(obj, sel, smaller, larger, date); } late final __objc_msgSend_769Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Int32, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_769 = __objc_msgSend_769Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer, int, int, - ffi.Pointer)>(); - - late final _sel_rangeOfUnit_startDate_interval_forDate_1 = - _registerName1("rangeOfUnit:startDate:interval:forDate:"); + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Int32, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_769 = + __objc_msgSend_769Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + int, + int, + ffi.Pointer, + ) + >(); + + late final _sel_rangeOfUnit_startDate_interval_forDate_1 = objc.registerName( + "rangeOfUnit:startDate:interval:forDate:", + ); bool _objc_msgSend_770( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int unit, - ffi.Pointer> datep, + ffi.Pointer> datep, ffi.Pointer tip, - ffi.Pointer date, + ffi.Pointer date, ) { - return __objc_msgSend_770( - obj, - sel, - unit, - datep, - tip, - date, - ); + return __objc_msgSend_770(obj, sel, unit, datep, tip, date); } late final __objc_msgSend_770Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer>, + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer>, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_770 = + __objc_msgSend_770Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer>, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_770 = __objc_msgSend_770Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>, - ffi.Pointer, - ffi.Pointer)>(); + ffi.Pointer, + ) + >(); - late final _class_NSDateComponents1 = _getClass1("NSDateComponents"); - late final _sel_calendar1 = _registerName1("calendar"); - ffi.Pointer _objc_msgSend_771( - ffi.Pointer obj, - ffi.Pointer sel, + late final _class_NSDateComponents1 = objc.getClass("NSDateComponents"); + late final _sel_calendar1 = objc.registerName("calendar"); + ffi.Pointer _objc_msgSend_771( + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_771( - obj, - sel, - ); + return __objc_msgSend_771(obj, sel); } late final __objc_msgSend_771Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_771 = __objc_msgSend_771Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_771 = + __objc_msgSend_771Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); - late final _sel_setCalendar_1 = _registerName1("setCalendar:"); + late final _sel_setCalendar_1 = objc.registerName("setCalendar:"); void _objc_msgSend_772( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value, ) { - return __objc_msgSend_772( - obj, - sel, - value, - ); + return __objc_msgSend_772(obj, sel, value); } late final __objc_msgSend_772Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_772 = __objc_msgSend_772Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_772 = + __objc_msgSend_772Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); - ffi.Pointer _objc_msgSend_773( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer _objc_msgSend_773( + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_773( - obj, - sel, - ); + return __objc_msgSend_773(obj, sel); } late final __objc_msgSend_773Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_773 = __objc_msgSend_773Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_773 = + __objc_msgSend_773Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); void _objc_msgSend_774( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value, ) { - return __objc_msgSend_774( - obj, - sel, - value, - ); + return __objc_msgSend_774(obj, sel, value); } late final __objc_msgSend_774Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_774 = __objc_msgSend_774Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_era1 = _registerName1("era"); - late final _sel_setEra_1 = _registerName1("setEra:"); - late final _sel_year1 = _registerName1("year"); - late final _sel_setYear_1 = _registerName1("setYear:"); - late final _sel_month1 = _registerName1("month"); - late final _sel_setMonth_1 = _registerName1("setMonth:"); - late final _sel_day1 = _registerName1("day"); - late final _sel_setDay_1 = _registerName1("setDay:"); - late final _sel_hour1 = _registerName1("hour"); - late final _sel_setHour_1 = _registerName1("setHour:"); - late final _sel_minute1 = _registerName1("minute"); - late final _sel_setMinute_1 = _registerName1("setMinute:"); - late final _sel_second1 = _registerName1("second"); - late final _sel_setSecond_1 = _registerName1("setSecond:"); - late final _sel_nanosecond1 = _registerName1("nanosecond"); - late final _sel_setNanosecond_1 = _registerName1("setNanosecond:"); - late final _sel_weekday1 = _registerName1("weekday"); - late final _sel_setWeekday_1 = _registerName1("setWeekday:"); - late final _sel_weekdayOrdinal1 = _registerName1("weekdayOrdinal"); - late final _sel_setWeekdayOrdinal_1 = _registerName1("setWeekdayOrdinal:"); - late final _sel_quarter1 = _registerName1("quarter"); - late final _sel_setQuarter_1 = _registerName1("setQuarter:"); - late final _sel_weekOfMonth1 = _registerName1("weekOfMonth"); - late final _sel_setWeekOfMonth_1 = _registerName1("setWeekOfMonth:"); - late final _sel_weekOfYear1 = _registerName1("weekOfYear"); - late final _sel_setWeekOfYear_1 = _registerName1("setWeekOfYear:"); - late final _sel_yearForWeekOfYear1 = _registerName1("yearForWeekOfYear"); - late final _sel_setYearForWeekOfYear_1 = - _registerName1("setYearForWeekOfYear:"); - late final _sel_isLeapMonth1 = _registerName1("isLeapMonth"); - late final _sel_setLeapMonth_1 = _registerName1("setLeapMonth:"); - late final _sel_week1 = _registerName1("week"); - late final _sel_setWeek_1 = _registerName1("setWeek:"); - late final _sel_setValue_forComponent_1 = - _registerName1("setValue:forComponent:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_774 = + __objc_msgSend_774Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_era1 = objc.registerName("era"); + late final _sel_setEra_1 = objc.registerName("setEra:"); + late final _sel_year1 = objc.registerName("year"); + late final _sel_setYear_1 = objc.registerName("setYear:"); + late final _sel_month1 = objc.registerName("month"); + late final _sel_setMonth_1 = objc.registerName("setMonth:"); + late final _sel_day1 = objc.registerName("day"); + late final _sel_setDay_1 = objc.registerName("setDay:"); + late final _sel_hour1 = objc.registerName("hour"); + late final _sel_setHour_1 = objc.registerName("setHour:"); + late final _sel_minute1 = objc.registerName("minute"); + late final _sel_setMinute_1 = objc.registerName("setMinute:"); + late final _sel_second1 = objc.registerName("second"); + late final _sel_setSecond_1 = objc.registerName("setSecond:"); + late final _sel_nanosecond1 = objc.registerName("nanosecond"); + late final _sel_setNanosecond_1 = objc.registerName("setNanosecond:"); + late final _sel_weekday1 = objc.registerName("weekday"); + late final _sel_setWeekday_1 = objc.registerName("setWeekday:"); + late final _sel_weekdayOrdinal1 = objc.registerName("weekdayOrdinal"); + late final _sel_setWeekdayOrdinal_1 = objc.registerName("setWeekdayOrdinal:"); + late final _sel_quarter1 = objc.registerName("quarter"); + late final _sel_setQuarter_1 = objc.registerName("setQuarter:"); + late final _sel_weekOfMonth1 = objc.registerName("weekOfMonth"); + late final _sel_setWeekOfMonth_1 = objc.registerName("setWeekOfMonth:"); + late final _sel_weekOfYear1 = objc.registerName("weekOfYear"); + late final _sel_setWeekOfYear_1 = objc.registerName("setWeekOfYear:"); + late final _sel_yearForWeekOfYear1 = objc.registerName("yearForWeekOfYear"); + late final _sel_setYearForWeekOfYear_1 = objc.registerName( + "setYearForWeekOfYear:", + ); + late final _sel_isLeapMonth1 = objc.registerName("isLeapMonth"); + late final _sel_setLeapMonth_1 = objc.registerName("setLeapMonth:"); + late final _sel_week1 = objc.registerName("week"); + late final _sel_setWeek_1 = objc.registerName("setWeek:"); + late final _sel_setValue_forComponent_1 = objc.registerName( + "setValue:forComponent:", + ); void _objc_msgSend_775( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int value, int unit, ) { - return __objc_msgSend_775( - obj, - sel, - value, - unit, - ); + return __objc_msgSend_775(obj, sel, value, unit); } late final __objc_msgSend_775Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Long, ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_775 = __objc_msgSend_775Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int, int)>(); - - late final _sel_valueForComponent_1 = _registerName1("valueForComponent:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Long, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_775 = + __objc_msgSend_775Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + int, + ) + >(); + + late final _sel_valueForComponent_1 = objc.registerName("valueForComponent:"); int _objc_msgSend_776( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int unit, ) { - return __objc_msgSend_776( - obj, - sel, - unit, - ); + return __objc_msgSend_776(obj, sel, unit); } late final __objc_msgSend_776Ptr = _lookup< - ffi.NativeFunction< - ffi.Long Function(ffi.Pointer, ffi.Pointer, - ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_776 = __objc_msgSend_776Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_isValidDate1 = _registerName1("isValidDate"); - late final _sel_isValidDateInCalendar_1 = - _registerName1("isValidDateInCalendar:"); + ffi.NativeFunction< + ffi.Long Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_776 = + __objc_msgSend_776Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_isValidDate1 = objc.registerName("isValidDate"); + late final _sel_isValidDateInCalendar_1 = objc.registerName( + "isValidDateInCalendar:", + ); bool _objc_msgSend_777( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer calendar, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer calendar, ) { - return __objc_msgSend_777( - obj, - sel, - calendar, - ); + return __objc_msgSend_777(obj, sel, calendar); } late final __objc_msgSend_777Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_777 = __objc_msgSend_777Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_dateFromComponents_1 = _registerName1("dateFromComponents:"); - ffi.Pointer _objc_msgSend_778( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer comps, - ) { - return __objc_msgSend_778( - obj, - sel, - comps, - ); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_777 = + __objc_msgSend_777Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_dateFromComponents_1 = objc.registerName( + "dateFromComponents:", + ); + ffi.Pointer _objc_msgSend_778( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer comps, + ) { + return __objc_msgSend_778(obj, sel, comps); } late final __objc_msgSend_778Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_778 = __objc_msgSend_778Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_components_fromDate_1 = - _registerName1("components:fromDate:"); - ffi.Pointer _objc_msgSend_779( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_778 = + __objc_msgSend_778Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_components_fromDate_1 = objc.registerName( + "components:fromDate:", + ); + ffi.Pointer _objc_msgSend_779( + ffi.Pointer obj, + ffi.Pointer sel, int unitFlags, - ffi.Pointer date, + ffi.Pointer date, ) { - return __objc_msgSend_779( - obj, - sel, - unitFlags, - date, - ); + return __objc_msgSend_779(obj, sel, unitFlags, date); } late final __objc_msgSend_779Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_779 = __objc_msgSend_779Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, int, ffi.Pointer)>(); - - late final _sel_dateByAddingComponents_toDate_options_1 = - _registerName1("dateByAddingComponents:toDate:options:"); - ffi.Pointer _objc_msgSend_780( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer comps, - ffi.Pointer date, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_779 = + __objc_msgSend_779Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ) + >(); + + late final _sel_dateByAddingComponents_toDate_options_1 = objc.registerName( + "dateByAddingComponents:toDate:options:", + ); + ffi.Pointer _objc_msgSend_780( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer comps, + ffi.Pointer date, int opts, ) { - return __objc_msgSend_780( - obj, - sel, - comps, - date, - opts, - ); + return __objc_msgSend_780(obj, sel, comps, date, opts); } late final __objc_msgSend_780Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_780 = __objc_msgSend_780Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int)>(); - - late final _sel_components_fromDate_toDate_options_1 = - _registerName1("components:fromDate:toDate:options:"); - ffi.Pointer _objc_msgSend_781( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_780 = + __objc_msgSend_780Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_components_fromDate_toDate_options_1 = objc.registerName( + "components:fromDate:toDate:options:", + ); + ffi.Pointer _objc_msgSend_781( + ffi.Pointer obj, + ffi.Pointer sel, int unitFlags, - ffi.Pointer startingDate, - ffi.Pointer resultDate, + ffi.Pointer startingDate, + ffi.Pointer resultDate, int opts, ) { return __objc_msgSend_781( @@ -22226,33 +27831,41 @@ class AVFAudio { } late final __objc_msgSend_781Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer, - ffi.Pointer, - ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_781 = __objc_msgSend_781Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ffi.Pointer, - int)>(); - - late final _sel_getEra_year_month_day_fromDate_1 = - _registerName1("getEra:year:month:day:fromDate:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_781 = + __objc_msgSend_781Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_getEra_year_month_day_fromDate_1 = objc.registerName( + "getEra:year:month:day:fromDate:", + ); void _objc_msgSend_782( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ffi.Pointer eraValuePointer, ffi.Pointer yearValuePointer, ffi.Pointer monthValuePointer, ffi.Pointer dayValuePointer, - ffi.Pointer date, + ffi.Pointer date, ) { return __objc_msgSend_782( obj, @@ -22266,58 +27879,76 @@ class AVFAudio { } late final __objc_msgSend_782Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_782 = + __objc_msgSend_782Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_782 = __objc_msgSend_782Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_getEra_yearForWeekOfYear_weekOfYear_weekday_fromDate_1 = - _registerName1("getEra:yearForWeekOfYear:weekOfYear:weekday:fromDate:"); - late final _sel_getHour_minute_second_nanosecond_fromDate_1 = - _registerName1("getHour:minute:second:nanosecond:fromDate:"); - late final _sel_component_fromDate_1 = _registerName1("component:fromDate:"); + ffi.Pointer, + ) + >(); + + late final _sel_getEra_yearForWeekOfYear_weekOfYear_weekday_fromDate_1 = objc + .registerName("getEra:yearForWeekOfYear:weekOfYear:weekday:fromDate:"); + late final _sel_getHour_minute_second_nanosecond_fromDate_1 = objc + .registerName("getHour:minute:second:nanosecond:fromDate:"); + late final _sel_component_fromDate_1 = objc.registerName( + "component:fromDate:", + ); int _objc_msgSend_783( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int unit, - ffi.Pointer date, + ffi.Pointer date, ) { - return __objc_msgSend_783( - obj, - sel, - unit, - date, - ); + return __objc_msgSend_783(obj, sel, unit, date); } late final __objc_msgSend_783Ptr = _lookup< - ffi.NativeFunction< - ffi.Long Function(ffi.Pointer, ffi.Pointer, - ffi.Int32, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_783 = __objc_msgSend_783Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer, int, - ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Long Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_783 = + __objc_msgSend_783Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ) + >(); late final _sel_dateWithEra_year_month_day_hour_minute_second_nanosecond_1 = - _registerName1( - "dateWithEra:year:month:day:hour:minute:second:nanosecond:"); - ffi.Pointer _objc_msgSend_784( - ffi.Pointer obj, - ffi.Pointer sel, + objc.registerName( + "dateWithEra:year:month:day:hour:minute:second:nanosecond:", + ); + ffi.Pointer _objc_msgSend_784( + ffi.Pointer obj, + ffi.Pointer sel, int eraValue, int yearValue, int monthValue, @@ -22342,227 +27973,268 @@ class AVFAudio { } late final __objc_msgSend_784Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Long, - ffi.Long, - ffi.Long, - ffi.Long, - ffi.Long, - ffi.Long, - ffi.Long, - ffi.Long)>>('objc_msgSend'); - late final __objc_msgSend_784 = __objc_msgSend_784Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, int, int, int, int, int, int, int, int)>(); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Long, + ffi.Long, + ffi.Long, + ffi.Long, + ffi.Long, + ffi.Long, + ffi.Long, + ffi.Long, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_784 = + __objc_msgSend_784Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + int, + int, + int, + int, + int, + int, + int, + ) + >(); late final _sel_dateWithEra_yearForWeekOfYear_weekOfYear_weekday_hour_minute_second_nanosecond_1 = - _registerName1( - "dateWithEra:yearForWeekOfYear:weekOfYear:weekday:hour:minute:second:nanosecond:"); - late final _sel_startOfDayForDate_1 = _registerName1("startOfDayForDate:"); - late final _sel_componentsInTimeZone_fromDate_1 = - _registerName1("componentsInTimeZone:fromDate:"); - ffi.Pointer _objc_msgSend_785( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer timezone, - ffi.Pointer date, - ) { - return __objc_msgSend_785( - obj, - sel, - timezone, - date, - ); + objc.registerName( + "dateWithEra:yearForWeekOfYear:weekOfYear:weekday:hour:minute:second:nanosecond:", + ); + late final _sel_startOfDayForDate_1 = objc.registerName("startOfDayForDate:"); + late final _sel_componentsInTimeZone_fromDate_1 = objc.registerName( + "componentsInTimeZone:fromDate:", + ); + ffi.Pointer _objc_msgSend_785( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer timezone, + ffi.Pointer date, + ) { + return __objc_msgSend_785(obj, sel, timezone, date); } late final __objc_msgSend_785Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_785 = __objc_msgSend_785Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_compareDate_toDate_toUnitGranularity_1 = - _registerName1("compareDate:toDate:toUnitGranularity:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_785 = + __objc_msgSend_785Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_compareDate_toDate_toUnitGranularity_1 = objc.registerName( + "compareDate:toDate:toUnitGranularity:", + ); int _objc_msgSend_786( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer date1, - ffi.Pointer date2, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer date1, + ffi.Pointer date2, int unit, ) { - return __objc_msgSend_786( - obj, - sel, - date1, - date2, - unit, - ); + return __objc_msgSend_786(obj, sel, date1, date2, unit); } late final __objc_msgSend_786Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_786 = __objc_msgSend_786Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_isDate_equalToDate_toUnitGranularity_1 = - _registerName1("isDate:equalToDate:toUnitGranularity:"); + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_786 = + __objc_msgSend_786Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_isDate_equalToDate_toUnitGranularity_1 = objc.registerName( + "isDate:equalToDate:toUnitGranularity:", + ); bool _objc_msgSend_787( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer date1, - ffi.Pointer date2, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer date1, + ffi.Pointer date2, int unit, ) { - return __objc_msgSend_787( - obj, - sel, - date1, - date2, - unit, - ); + return __objc_msgSend_787(obj, sel, date1, date2, unit); } late final __objc_msgSend_787Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_787 = __objc_msgSend_787Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_isDate_inSameDayAsDate_1 = - _registerName1("isDate:inSameDayAsDate:"); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_787 = + __objc_msgSend_787Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_isDate_inSameDayAsDate_1 = objc.registerName( + "isDate:inSameDayAsDate:", + ); bool _objc_msgSend_788( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer date1, - ffi.Pointer date2, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer date1, + ffi.Pointer date2, ) { - return __objc_msgSend_788( - obj, - sel, - date1, - date2, - ); + return __objc_msgSend_788(obj, sel, date1, date2); } late final __objc_msgSend_788Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_788 = __objc_msgSend_788Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_isDateInToday_1 = _registerName1("isDateInToday:"); - late final _sel_isDateInYesterday_1 = _registerName1("isDateInYesterday:"); - late final _sel_isDateInTomorrow_1 = _registerName1("isDateInTomorrow:"); - late final _sel_isDateInWeekend_1 = _registerName1("isDateInWeekend:"); - late final _sel_rangeOfWeekendStartDate_interval_containingDate_1 = - _registerName1("rangeOfWeekendStartDate:interval:containingDate:"); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_788 = + __objc_msgSend_788Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_isDateInToday_1 = objc.registerName("isDateInToday:"); + late final _sel_isDateInYesterday_1 = objc.registerName("isDateInYesterday:"); + late final _sel_isDateInTomorrow_1 = objc.registerName("isDateInTomorrow:"); + late final _sel_isDateInWeekend_1 = objc.registerName("isDateInWeekend:"); + late final _sel_rangeOfWeekendStartDate_interval_containingDate_1 = objc + .registerName("rangeOfWeekendStartDate:interval:containingDate:"); bool _objc_msgSend_789( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer> datep, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer> datep, ffi.Pointer tip, - ffi.Pointer date, + ffi.Pointer date, ) { - return __objc_msgSend_789( - obj, - sel, - datep, - tip, - date, - ); + return __objc_msgSend_789(obj, sel, datep, tip, date); } late final __objc_msgSend_789Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_789 = + __objc_msgSend_789Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_789 = __objc_msgSend_789Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_nextWeekendStartDate_interval_options_afterDate_1 = - _registerName1("nextWeekendStartDate:interval:options:afterDate:"); + ffi.Pointer, + ) + >(); + + late final _sel_nextWeekendStartDate_interval_options_afterDate_1 = objc + .registerName("nextWeekendStartDate:interval:options:afterDate:"); bool _objc_msgSend_790( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer> datep, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer> datep, ffi.Pointer tip, int options, - ffi.Pointer date, + ffi.Pointer date, ) { - return __objc_msgSend_790( - obj, - sel, - datep, - tip, - options, - date, - ); + return __objc_msgSend_790(obj, sel, datep, tip, options, date); } late final __objc_msgSend_790Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_790 = + __objc_msgSend_790Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, ffi.Pointer, - ffi.Int32, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_790 = __objc_msgSend_790Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer, - int, - ffi.Pointer)>(); + int, + ffi.Pointer, + ) + >(); late final _sel_components_fromDateComponents_toDateComponents_options_1 = - _registerName1("components:fromDateComponents:toDateComponents:options:"); - ffi.Pointer _objc_msgSend_791( - ffi.Pointer obj, - ffi.Pointer sel, + objc.registerName( + "components:fromDateComponents:toDateComponents:options:", + ); + ffi.Pointer _objc_msgSend_791( + ffi.Pointer obj, + ffi.Pointer sel, int unitFlags, - ffi.Pointer startingDateComp, - ffi.Pointer resultDateComp, + ffi.Pointer startingDateComp, + ffi.Pointer resultDateComp, int options, ) { return __objc_msgSend_791( @@ -22576,168 +28248,188 @@ class AVFAudio { } late final __objc_msgSend_791Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer, - ffi.Pointer, - ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_791 = __objc_msgSend_791Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ffi.Pointer, - int)>(); - - late final _sel_dateByAddingUnit_value_toDate_options_1 = - _registerName1("dateByAddingUnit:value:toDate:options:"); - ffi.Pointer _objc_msgSend_792( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_791 = + __objc_msgSend_791Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_dateByAddingUnit_value_toDate_options_1 = objc.registerName( + "dateByAddingUnit:value:toDate:options:", + ); + ffi.Pointer _objc_msgSend_792( + ffi.Pointer obj, + ffi.Pointer sel, int unit, int value, - ffi.Pointer date, + ffi.Pointer date, int options, ) { - return __objc_msgSend_792( - obj, - sel, - unit, - value, - date, - options, - ); + return __objc_msgSend_792(obj, sel, unit, value, date, options); } late final __objc_msgSend_792Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Long, - ffi.Pointer, - ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_792 = __objc_msgSend_792Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, int, int, ffi.Pointer, int)>(); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Long, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_792 = + __objc_msgSend_792Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + int, + ffi.Pointer, + int, + ) + >(); late final _sel_enumerateDatesStartingAfterDate_matchingComponents_options_usingBlock_1 = - _registerName1( - "enumerateDatesStartingAfterDate:matchingComponents:options:usingBlock:"); + objc.registerName( + "enumerateDatesStartingAfterDate:matchingComponents:options:usingBlock:", + ); void _objc_msgSend_793( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer start, - ffi.Pointer comps, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer start, + ffi.Pointer comps, int opts, - ffi.Pointer<_ObjCBlock> block, + ffi.Pointer block, ) { - return __objc_msgSend_793( - obj, - sel, - start, - comps, - opts, - block, - ); + return __objc_msgSend_793(obj, sel, start, comps, opts, block); } late final __objc_msgSend_793Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_793 = __objc_msgSend_793Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_nextDateAfterDate_matchingComponents_options_1 = - _registerName1("nextDateAfterDate:matchingComponents:options:"); - ffi.Pointer _objc_msgSend_794( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer date, - ffi.Pointer comps, + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_793 = + __objc_msgSend_793Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ) + >(); + + late final _sel_nextDateAfterDate_matchingComponents_options_1 = objc + .registerName("nextDateAfterDate:matchingComponents:options:"); + ffi.Pointer _objc_msgSend_794( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer date, + ffi.Pointer comps, int options, ) { - return __objc_msgSend_794( - obj, - sel, - date, - comps, - options, - ); + return __objc_msgSend_794(obj, sel, date, comps, options); } late final __objc_msgSend_794Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_794 = __objc_msgSend_794Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int)>(); - - late final _sel_nextDateAfterDate_matchingUnit_value_options_1 = - _registerName1("nextDateAfterDate:matchingUnit:value:options:"); - ffi.Pointer _objc_msgSend_795( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer date, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_794 = + __objc_msgSend_794Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_nextDateAfterDate_matchingUnit_value_options_1 = objc + .registerName("nextDateAfterDate:matchingUnit:value:options:"); + ffi.Pointer _objc_msgSend_795( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer date, int unit, int value, int options, ) { - return __objc_msgSend_795( - obj, - sel, - date, - unit, - value, - options, - ); + return __objc_msgSend_795(obj, sel, date, unit, value, options); } late final __objc_msgSend_795Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Long, - ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_795 = __objc_msgSend_795Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer, int, int, int)>(); - - late final _sel_nextDateAfterDate_matchingHour_minute_second_options_1 = - _registerName1("nextDateAfterDate:matchingHour:minute:second:options:"); - ffi.Pointer _objc_msgSend_796( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer date, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Long, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_795 = + __objc_msgSend_795Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + int, + int, + ) + >(); + + late final _sel_nextDateAfterDate_matchingHour_minute_second_options_1 = objc + .registerName("nextDateAfterDate:matchingHour:minute:second:options:"); + ffi.Pointer _objc_msgSend_796( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer date, int hourValue, int minuteValue, int secondValue, @@ -22755,692 +28447,940 @@ class AVFAudio { } late final __objc_msgSend_796Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Long, - ffi.Long, - ffi.Long, - ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_796 = __objc_msgSend_796Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer, int, int, int, int)>(); - - late final _sel_dateBySettingUnit_value_ofDate_options_1 = - _registerName1("dateBySettingUnit:value:ofDate:options:"); - late final _sel_dateBySettingHour_minute_second_ofDate_options_1 = - _registerName1("dateBySettingHour:minute:second:ofDate:options:"); - ffi.Pointer _objc_msgSend_797( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Long, + ffi.Long, + ffi.Long, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_796 = + __objc_msgSend_796Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + int, + int, + int, + ) + >(); + + late final _sel_dateBySettingUnit_value_ofDate_options_1 = objc.registerName( + "dateBySettingUnit:value:ofDate:options:", + ); + late final _sel_dateBySettingHour_minute_second_ofDate_options_1 = objc + .registerName("dateBySettingHour:minute:second:ofDate:options:"); + ffi.Pointer _objc_msgSend_797( + ffi.Pointer obj, + ffi.Pointer sel, int h, int m, int s, - ffi.Pointer date, + ffi.Pointer date, int opts, ) { - return __objc_msgSend_797( - obj, - sel, - h, - m, - s, - date, - opts, - ); + return __objc_msgSend_797(obj, sel, h, m, s, date, opts); } late final __objc_msgSend_797Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Long, - ffi.Long, - ffi.Long, - ffi.Pointer, - ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_797 = __objc_msgSend_797Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, int, int, int, ffi.Pointer, int)>(); - - late final _sel_date_matchesComponents_1 = - _registerName1("date:matchesComponents:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Long, + ffi.Long, + ffi.Long, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_797 = + __objc_msgSend_797Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + int, + int, + ffi.Pointer, + int, + ) + >(); + + late final _sel_date_matchesComponents_1 = objc.registerName( + "date:matchesComponents:", + ); bool _objc_msgSend_798( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer date, - ffi.Pointer components, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer date, + ffi.Pointer components, ) { - return __objc_msgSend_798( - obj, - sel, - date, - components, - ); + return __objc_msgSend_798(obj, sel, date, components); } late final __objc_msgSend_798Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_798 = __objc_msgSend_798Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_798 = + __objc_msgSend_798Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); void _objc_msgSend_799( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value, ) { - return __objc_msgSend_799( - obj, - sel, - value, - ); + return __objc_msgSend_799(obj, sel, value); } late final __objc_msgSend_799Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_799 = __objc_msgSend_799Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_isLenient1 = _registerName1("isLenient"); - late final _sel_setLenient_1 = _registerName1("setLenient:"); - late final _sel_twoDigitStartDate1 = _registerName1("twoDigitStartDate"); - late final _sel_setTwoDigitStartDate_1 = - _registerName1("setTwoDigitStartDate:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_799 = + __objc_msgSend_799Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_isLenient1 = objc.registerName("isLenient"); + late final _sel_setLenient_1 = objc.registerName("setLenient:"); + late final _sel_twoDigitStartDate1 = objc.registerName("twoDigitStartDate"); + late final _sel_setTwoDigitStartDate_1 = objc.registerName( + "setTwoDigitStartDate:", + ); void _objc_msgSend_800( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, - ) { - return __objc_msgSend_800( - obj, - sel, - value, - ); + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value, + ) { + return __objc_msgSend_800(obj, sel, value); } late final __objc_msgSend_800Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_800 = __objc_msgSend_800Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_defaultDate1 = _registerName1("defaultDate"); - late final _sel_setDefaultDate_1 = _registerName1("setDefaultDate:"); - late final _sel_setEraSymbols_1 = _registerName1("setEraSymbols:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_800 = + __objc_msgSend_800Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_defaultDate1 = objc.registerName("defaultDate"); + late final _sel_setDefaultDate_1 = objc.registerName("setDefaultDate:"); + late final _sel_setEraSymbols_1 = objc.registerName("setEraSymbols:"); void _objc_msgSend_801( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value, ) { - return __objc_msgSend_801( - obj, - sel, - value, - ); + return __objc_msgSend_801(obj, sel, value); } late final __objc_msgSend_801Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_801 = __objc_msgSend_801Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_setMonthSymbols_1 = _registerName1("setMonthSymbols:"); - late final _sel_setShortMonthSymbols_1 = - _registerName1("setShortMonthSymbols:"); - late final _sel_setWeekdaySymbols_1 = _registerName1("setWeekdaySymbols:"); - late final _sel_setShortWeekdaySymbols_1 = - _registerName1("setShortWeekdaySymbols:"); - late final _sel_setAMSymbol_1 = _registerName1("setAMSymbol:"); - late final _sel_setPMSymbol_1 = _registerName1("setPMSymbol:"); - late final _sel_setLongEraSymbols_1 = _registerName1("setLongEraSymbols:"); - late final _sel_setVeryShortMonthSymbols_1 = - _registerName1("setVeryShortMonthSymbols:"); - late final _sel_setStandaloneMonthSymbols_1 = - _registerName1("setStandaloneMonthSymbols:"); - late final _sel_setShortStandaloneMonthSymbols_1 = - _registerName1("setShortStandaloneMonthSymbols:"); - late final _sel_setVeryShortStandaloneMonthSymbols_1 = - _registerName1("setVeryShortStandaloneMonthSymbols:"); - late final _sel_setVeryShortWeekdaySymbols_1 = - _registerName1("setVeryShortWeekdaySymbols:"); - late final _sel_setStandaloneWeekdaySymbols_1 = - _registerName1("setStandaloneWeekdaySymbols:"); - late final _sel_setShortStandaloneWeekdaySymbols_1 = - _registerName1("setShortStandaloneWeekdaySymbols:"); - late final _sel_setVeryShortStandaloneWeekdaySymbols_1 = - _registerName1("setVeryShortStandaloneWeekdaySymbols:"); - late final _sel_setQuarterSymbols_1 = _registerName1("setQuarterSymbols:"); - late final _sel_setShortQuarterSymbols_1 = - _registerName1("setShortQuarterSymbols:"); - late final _sel_setStandaloneQuarterSymbols_1 = - _registerName1("setStandaloneQuarterSymbols:"); - late final _sel_setShortStandaloneQuarterSymbols_1 = - _registerName1("setShortStandaloneQuarterSymbols:"); - late final _sel_gregorianStartDate1 = _registerName1("gregorianStartDate"); - late final _sel_setGregorianStartDate_1 = - _registerName1("setGregorianStartDate:"); - late final _sel_doesRelativeDateFormatting1 = - _registerName1("doesRelativeDateFormatting"); - late final _sel_setDoesRelativeDateFormatting_1 = - _registerName1("setDoesRelativeDateFormatting:"); - late final _sel_initWithDateFormat_allowNaturalLanguage_1 = - _registerName1("initWithDateFormat:allowNaturalLanguage:"); - late final _sel_allowsNaturalLanguage1 = - _registerName1("allowsNaturalLanguage"); - late final _class_NSNumberFormatter1 = _getClass1("NSNumberFormatter"); - late final _sel_stringFromNumber_1 = _registerName1("stringFromNumber:"); - ffi.Pointer _objc_msgSend_802( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer number, - ) { - return __objc_msgSend_802( - obj, - sel, - number, - ); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_801 = + __objc_msgSend_801Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_setMonthSymbols_1 = objc.registerName("setMonthSymbols:"); + late final _sel_setShortMonthSymbols_1 = objc.registerName( + "setShortMonthSymbols:", + ); + late final _sel_setWeekdaySymbols_1 = objc.registerName("setWeekdaySymbols:"); + late final _sel_setShortWeekdaySymbols_1 = objc.registerName( + "setShortWeekdaySymbols:", + ); + late final _sel_setAMSymbol_1 = objc.registerName("setAMSymbol:"); + late final _sel_setPMSymbol_1 = objc.registerName("setPMSymbol:"); + late final _sel_setLongEraSymbols_1 = objc.registerName("setLongEraSymbols:"); + late final _sel_setVeryShortMonthSymbols_1 = objc.registerName( + "setVeryShortMonthSymbols:", + ); + late final _sel_setStandaloneMonthSymbols_1 = objc.registerName( + "setStandaloneMonthSymbols:", + ); + late final _sel_setShortStandaloneMonthSymbols_1 = objc.registerName( + "setShortStandaloneMonthSymbols:", + ); + late final _sel_setVeryShortStandaloneMonthSymbols_1 = objc.registerName( + "setVeryShortStandaloneMonthSymbols:", + ); + late final _sel_setVeryShortWeekdaySymbols_1 = objc.registerName( + "setVeryShortWeekdaySymbols:", + ); + late final _sel_setStandaloneWeekdaySymbols_1 = objc.registerName( + "setStandaloneWeekdaySymbols:", + ); + late final _sel_setShortStandaloneWeekdaySymbols_1 = objc.registerName( + "setShortStandaloneWeekdaySymbols:", + ); + late final _sel_setVeryShortStandaloneWeekdaySymbols_1 = objc.registerName( + "setVeryShortStandaloneWeekdaySymbols:", + ); + late final _sel_setQuarterSymbols_1 = objc.registerName("setQuarterSymbols:"); + late final _sel_setShortQuarterSymbols_1 = objc.registerName( + "setShortQuarterSymbols:", + ); + late final _sel_setStandaloneQuarterSymbols_1 = objc.registerName( + "setStandaloneQuarterSymbols:", + ); + late final _sel_setShortStandaloneQuarterSymbols_1 = objc.registerName( + "setShortStandaloneQuarterSymbols:", + ); + late final _sel_gregorianStartDate1 = objc.registerName("gregorianStartDate"); + late final _sel_setGregorianStartDate_1 = objc.registerName( + "setGregorianStartDate:", + ); + late final _sel_doesRelativeDateFormatting1 = objc.registerName( + "doesRelativeDateFormatting", + ); + late final _sel_setDoesRelativeDateFormatting_1 = objc.registerName( + "setDoesRelativeDateFormatting:", + ); + late final _sel_initWithDateFormat_allowNaturalLanguage_1 = objc.registerName( + "initWithDateFormat:allowNaturalLanguage:", + ); + late final _sel_allowsNaturalLanguage1 = objc.registerName( + "allowsNaturalLanguage", + ); + late final _class_NSNumberFormatter1 = objc.getClass("NSNumberFormatter"); + late final _sel_stringFromNumber_1 = objc.registerName("stringFromNumber:"); + ffi.Pointer _objc_msgSend_802( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer number, + ) { + return __objc_msgSend_802(obj, sel, number); } late final __objc_msgSend_802Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_802 = __objc_msgSend_802Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_numberFromString_1 = _registerName1("numberFromString:"); - ffi.Pointer _objc_msgSend_803( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer string, - ) { - return __objc_msgSend_803( - obj, - sel, - string, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_802 = + __objc_msgSend_802Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_numberFromString_1 = objc.registerName("numberFromString:"); + ffi.Pointer _objc_msgSend_803( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer string, + ) { + return __objc_msgSend_803(obj, sel, string); } late final __objc_msgSend_803Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_803 = __objc_msgSend_803Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_localizedStringFromNumber_numberStyle_1 = - _registerName1("localizedStringFromNumber:numberStyle:"); - ffi.Pointer _objc_msgSend_804( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer num, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_803 = + __objc_msgSend_803Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_localizedStringFromNumber_numberStyle_1 = objc.registerName( + "localizedStringFromNumber:numberStyle:", + ); + ffi.Pointer _objc_msgSend_804( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer num, int nstyle, ) { - return __objc_msgSend_804( - obj, - sel, - num, - nstyle, - ); + return __objc_msgSend_804(obj, sel, num, nstyle); } late final __objc_msgSend_804Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_804 = __objc_msgSend_804Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer, int)>(); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_804 = + __objc_msgSend_804Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); int _objc_msgSend_805( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_805( - obj, - sel, - ); + return __objc_msgSend_805(obj, sel); } late final __objc_msgSend_805Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_805 = __objc_msgSend_805Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_805 = + __objc_msgSend_805Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); void _objc_msgSend_806( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int behavior, ) { - return __objc_msgSend_806( - obj, - sel, - behavior, - ); + return __objc_msgSend_806(obj, sel, behavior); } late final __objc_msgSend_806Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_806 = __objc_msgSend_806Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_806 = + __objc_msgSend_806Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); - late final _sel_numberStyle1 = _registerName1("numberStyle"); + late final _sel_numberStyle1 = objc.registerName("numberStyle"); int _objc_msgSend_807( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_807( - obj, - sel, - ); + return __objc_msgSend_807(obj, sel); } late final __objc_msgSend_807Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_807 = __objc_msgSend_807Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_807 = + __objc_msgSend_807Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); - late final _sel_setNumberStyle_1 = _registerName1("setNumberStyle:"); + late final _sel_setNumberStyle_1 = objc.registerName("setNumberStyle:"); void _objc_msgSend_808( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int value, ) { - return __objc_msgSend_808( - obj, - sel, - value, - ); + return __objc_msgSend_808(obj, sel, value); } late final __objc_msgSend_808Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_808 = __objc_msgSend_808Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_generatesDecimalNumbers1 = - _registerName1("generatesDecimalNumbers"); - late final _sel_setGeneratesDecimalNumbers_1 = - _registerName1("setGeneratesDecimalNumbers:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_808 = + __objc_msgSend_808Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_generatesDecimalNumbers1 = objc.registerName( + "generatesDecimalNumbers", + ); + late final _sel_setGeneratesDecimalNumbers_1 = objc.registerName( + "setGeneratesDecimalNumbers:", + ); void _objc_msgSend_809( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int value, ) { - return __objc_msgSend_809( - obj, - sel, - value, - ); + return __objc_msgSend_809(obj, sel, value); } late final __objc_msgSend_809Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_809 = __objc_msgSend_809Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_negativeFormat1 = _registerName1("negativeFormat"); - late final _sel_setNegativeFormat_1 = _registerName1("setNegativeFormat:"); - late final _sel_textAttributesForNegativeValues1 = - _registerName1("textAttributesForNegativeValues"); - late final _sel_setTextAttributesForNegativeValues_1 = - _registerName1("setTextAttributesForNegativeValues:"); - late final _sel_positiveFormat1 = _registerName1("positiveFormat"); - late final _sel_setPositiveFormat_1 = _registerName1("setPositiveFormat:"); - late final _sel_textAttributesForPositiveValues1 = - _registerName1("textAttributesForPositiveValues"); - late final _sel_setTextAttributesForPositiveValues_1 = - _registerName1("setTextAttributesForPositiveValues:"); - late final _sel_allowsFloats1 = _registerName1("allowsFloats"); - late final _sel_setAllowsFloats_1 = _registerName1("setAllowsFloats:"); - late final _sel_setDecimalSeparator_1 = - _registerName1("setDecimalSeparator:"); - late final _sel_alwaysShowsDecimalSeparator1 = - _registerName1("alwaysShowsDecimalSeparator"); - late final _sel_setAlwaysShowsDecimalSeparator_1 = - _registerName1("setAlwaysShowsDecimalSeparator:"); - late final _sel_currencyDecimalSeparator1 = - _registerName1("currencyDecimalSeparator"); - late final _sel_setCurrencyDecimalSeparator_1 = - _registerName1("setCurrencyDecimalSeparator:"); - late final _sel_usesGroupingSeparator1 = - _registerName1("usesGroupingSeparator"); - late final _sel_setUsesGroupingSeparator_1 = - _registerName1("setUsesGroupingSeparator:"); - late final _sel_setGroupingSeparator_1 = - _registerName1("setGroupingSeparator:"); - late final _sel_zeroSymbol1 = _registerName1("zeroSymbol"); - late final _sel_setZeroSymbol_1 = _registerName1("setZeroSymbol:"); - late final _sel_textAttributesForZero1 = - _registerName1("textAttributesForZero"); - late final _sel_setTextAttributesForZero_1 = - _registerName1("setTextAttributesForZero:"); - late final _sel_nilSymbol1 = _registerName1("nilSymbol"); - late final _sel_setNilSymbol_1 = _registerName1("setNilSymbol:"); - late final _sel_textAttributesForNil1 = - _registerName1("textAttributesForNil"); - late final _sel_setTextAttributesForNil_1 = - _registerName1("setTextAttributesForNil:"); - late final _sel_notANumberSymbol1 = _registerName1("notANumberSymbol"); - late final _sel_setNotANumberSymbol_1 = - _registerName1("setNotANumberSymbol:"); - late final _sel_textAttributesForNotANumber1 = - _registerName1("textAttributesForNotANumber"); - late final _sel_setTextAttributesForNotANumber_1 = - _registerName1("setTextAttributesForNotANumber:"); - late final _sel_positiveInfinitySymbol1 = - _registerName1("positiveInfinitySymbol"); - late final _sel_setPositiveInfinitySymbol_1 = - _registerName1("setPositiveInfinitySymbol:"); - late final _sel_textAttributesForPositiveInfinity1 = - _registerName1("textAttributesForPositiveInfinity"); - late final _sel_setTextAttributesForPositiveInfinity_1 = - _registerName1("setTextAttributesForPositiveInfinity:"); - late final _sel_negativeInfinitySymbol1 = - _registerName1("negativeInfinitySymbol"); - late final _sel_setNegativeInfinitySymbol_1 = - _registerName1("setNegativeInfinitySymbol:"); - late final _sel_textAttributesForNegativeInfinity1 = - _registerName1("textAttributesForNegativeInfinity"); - late final _sel_setTextAttributesForNegativeInfinity_1 = - _registerName1("setTextAttributesForNegativeInfinity:"); - late final _sel_positivePrefix1 = _registerName1("positivePrefix"); - late final _sel_setPositivePrefix_1 = _registerName1("setPositivePrefix:"); - late final _sel_positiveSuffix1 = _registerName1("positiveSuffix"); - late final _sel_setPositiveSuffix_1 = _registerName1("setPositiveSuffix:"); - late final _sel_negativePrefix1 = _registerName1("negativePrefix"); - late final _sel_setNegativePrefix_1 = _registerName1("setNegativePrefix:"); - late final _sel_negativeSuffix1 = _registerName1("negativeSuffix"); - late final _sel_setNegativeSuffix_1 = _registerName1("setNegativeSuffix:"); - late final _sel_setCurrencyCode_1 = _registerName1("setCurrencyCode:"); - late final _sel_setCurrencySymbol_1 = _registerName1("setCurrencySymbol:"); - late final _sel_internationalCurrencySymbol1 = - _registerName1("internationalCurrencySymbol"); - late final _sel_setInternationalCurrencySymbol_1 = - _registerName1("setInternationalCurrencySymbol:"); - late final _sel_percentSymbol1 = _registerName1("percentSymbol"); - late final _sel_setPercentSymbol_1 = _registerName1("setPercentSymbol:"); - late final _sel_perMillSymbol1 = _registerName1("perMillSymbol"); - late final _sel_setPerMillSymbol_1 = _registerName1("setPerMillSymbol:"); - late final _sel_minusSign1 = _registerName1("minusSign"); - late final _sel_setMinusSign_1 = _registerName1("setMinusSign:"); - late final _sel_plusSign1 = _registerName1("plusSign"); - late final _sel_setPlusSign_1 = _registerName1("setPlusSign:"); - late final _sel_exponentSymbol1 = _registerName1("exponentSymbol"); - late final _sel_setExponentSymbol_1 = _registerName1("setExponentSymbol:"); - late final _sel_groupingSize1 = _registerName1("groupingSize"); - late final _sel_setGroupingSize_1 = _registerName1("setGroupingSize:"); - late final _sel_secondaryGroupingSize1 = - _registerName1("secondaryGroupingSize"); - late final _sel_setSecondaryGroupingSize_1 = - _registerName1("setSecondaryGroupingSize:"); - late final _sel_multiplier1 = _registerName1("multiplier"); - late final _sel_setMultiplier_1 = _registerName1("setMultiplier:"); - late final _sel_formatWidth1 = _registerName1("formatWidth"); - late final _sel_setFormatWidth_1 = _registerName1("setFormatWidth:"); - late final _sel_paddingCharacter1 = _registerName1("paddingCharacter"); - late final _sel_setPaddingCharacter_1 = - _registerName1("setPaddingCharacter:"); - late final _sel_paddingPosition1 = _registerName1("paddingPosition"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_809 = + __objc_msgSend_809Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_negativeFormat1 = objc.registerName("negativeFormat"); + late final _sel_setNegativeFormat_1 = objc.registerName("setNegativeFormat:"); + late final _sel_textAttributesForNegativeValues1 = objc.registerName( + "textAttributesForNegativeValues", + ); + late final _sel_setTextAttributesForNegativeValues_1 = objc.registerName( + "setTextAttributesForNegativeValues:", + ); + late final _sel_positiveFormat1 = objc.registerName("positiveFormat"); + late final _sel_setPositiveFormat_1 = objc.registerName("setPositiveFormat:"); + late final _sel_textAttributesForPositiveValues1 = objc.registerName( + "textAttributesForPositiveValues", + ); + late final _sel_setTextAttributesForPositiveValues_1 = objc.registerName( + "setTextAttributesForPositiveValues:", + ); + late final _sel_allowsFloats1 = objc.registerName("allowsFloats"); + late final _sel_setAllowsFloats_1 = objc.registerName("setAllowsFloats:"); + late final _sel_setDecimalSeparator_1 = objc.registerName( + "setDecimalSeparator:", + ); + late final _sel_alwaysShowsDecimalSeparator1 = objc.registerName( + "alwaysShowsDecimalSeparator", + ); + late final _sel_setAlwaysShowsDecimalSeparator_1 = objc.registerName( + "setAlwaysShowsDecimalSeparator:", + ); + late final _sel_currencyDecimalSeparator1 = objc.registerName( + "currencyDecimalSeparator", + ); + late final _sel_setCurrencyDecimalSeparator_1 = objc.registerName( + "setCurrencyDecimalSeparator:", + ); + late final _sel_usesGroupingSeparator1 = objc.registerName( + "usesGroupingSeparator", + ); + late final _sel_setUsesGroupingSeparator_1 = objc.registerName( + "setUsesGroupingSeparator:", + ); + late final _sel_setGroupingSeparator_1 = objc.registerName( + "setGroupingSeparator:", + ); + late final _sel_zeroSymbol1 = objc.registerName("zeroSymbol"); + late final _sel_setZeroSymbol_1 = objc.registerName("setZeroSymbol:"); + late final _sel_textAttributesForZero1 = objc.registerName( + "textAttributesForZero", + ); + late final _sel_setTextAttributesForZero_1 = objc.registerName( + "setTextAttributesForZero:", + ); + late final _sel_nilSymbol1 = objc.registerName("nilSymbol"); + late final _sel_setNilSymbol_1 = objc.registerName("setNilSymbol:"); + late final _sel_textAttributesForNil1 = objc.registerName( + "textAttributesForNil", + ); + late final _sel_setTextAttributesForNil_1 = objc.registerName( + "setTextAttributesForNil:", + ); + late final _sel_notANumberSymbol1 = objc.registerName("notANumberSymbol"); + late final _sel_setNotANumberSymbol_1 = objc.registerName( + "setNotANumberSymbol:", + ); + late final _sel_textAttributesForNotANumber1 = objc.registerName( + "textAttributesForNotANumber", + ); + late final _sel_setTextAttributesForNotANumber_1 = objc.registerName( + "setTextAttributesForNotANumber:", + ); + late final _sel_positiveInfinitySymbol1 = objc.registerName( + "positiveInfinitySymbol", + ); + late final _sel_setPositiveInfinitySymbol_1 = objc.registerName( + "setPositiveInfinitySymbol:", + ); + late final _sel_textAttributesForPositiveInfinity1 = objc.registerName( + "textAttributesForPositiveInfinity", + ); + late final _sel_setTextAttributesForPositiveInfinity_1 = objc.registerName( + "setTextAttributesForPositiveInfinity:", + ); + late final _sel_negativeInfinitySymbol1 = objc.registerName( + "negativeInfinitySymbol", + ); + late final _sel_setNegativeInfinitySymbol_1 = objc.registerName( + "setNegativeInfinitySymbol:", + ); + late final _sel_textAttributesForNegativeInfinity1 = objc.registerName( + "textAttributesForNegativeInfinity", + ); + late final _sel_setTextAttributesForNegativeInfinity_1 = objc.registerName( + "setTextAttributesForNegativeInfinity:", + ); + late final _sel_positivePrefix1 = objc.registerName("positivePrefix"); + late final _sel_setPositivePrefix_1 = objc.registerName("setPositivePrefix:"); + late final _sel_positiveSuffix1 = objc.registerName("positiveSuffix"); + late final _sel_setPositiveSuffix_1 = objc.registerName("setPositiveSuffix:"); + late final _sel_negativePrefix1 = objc.registerName("negativePrefix"); + late final _sel_setNegativePrefix_1 = objc.registerName("setNegativePrefix:"); + late final _sel_negativeSuffix1 = objc.registerName("negativeSuffix"); + late final _sel_setNegativeSuffix_1 = objc.registerName("setNegativeSuffix:"); + late final _sel_setCurrencyCode_1 = objc.registerName("setCurrencyCode:"); + late final _sel_setCurrencySymbol_1 = objc.registerName("setCurrencySymbol:"); + late final _sel_internationalCurrencySymbol1 = objc.registerName( + "internationalCurrencySymbol", + ); + late final _sel_setInternationalCurrencySymbol_1 = objc.registerName( + "setInternationalCurrencySymbol:", + ); + late final _sel_percentSymbol1 = objc.registerName("percentSymbol"); + late final _sel_setPercentSymbol_1 = objc.registerName("setPercentSymbol:"); + late final _sel_perMillSymbol1 = objc.registerName("perMillSymbol"); + late final _sel_setPerMillSymbol_1 = objc.registerName("setPerMillSymbol:"); + late final _sel_minusSign1 = objc.registerName("minusSign"); + late final _sel_setMinusSign_1 = objc.registerName("setMinusSign:"); + late final _sel_plusSign1 = objc.registerName("plusSign"); + late final _sel_setPlusSign_1 = objc.registerName("setPlusSign:"); + late final _sel_exponentSymbol1 = objc.registerName("exponentSymbol"); + late final _sel_setExponentSymbol_1 = objc.registerName("setExponentSymbol:"); + late final _sel_groupingSize1 = objc.registerName("groupingSize"); + late final _sel_setGroupingSize_1 = objc.registerName("setGroupingSize:"); + late final _sel_secondaryGroupingSize1 = objc.registerName( + "secondaryGroupingSize", + ); + late final _sel_setSecondaryGroupingSize_1 = objc.registerName( + "setSecondaryGroupingSize:", + ); + late final _sel_multiplier1 = objc.registerName("multiplier"); + late final _sel_setMultiplier_1 = objc.registerName("setMultiplier:"); + late final _sel_formatWidth1 = objc.registerName("formatWidth"); + late final _sel_setFormatWidth_1 = objc.registerName("setFormatWidth:"); + late final _sel_paddingCharacter1 = objc.registerName("paddingCharacter"); + late final _sel_setPaddingCharacter_1 = objc.registerName( + "setPaddingCharacter:", + ); + late final _sel_paddingPosition1 = objc.registerName("paddingPosition"); int _objc_msgSend_810( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_810( - obj, - sel, - ); + return __objc_msgSend_810(obj, sel); } late final __objc_msgSend_810Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_810 = __objc_msgSend_810Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer)>(); - - late final _sel_setPaddingPosition_1 = _registerName1("setPaddingPosition:"); + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_810 = + __objc_msgSend_810Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_setPaddingPosition_1 = objc.registerName( + "setPaddingPosition:", + ); void _objc_msgSend_811( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int value, ) { - return __objc_msgSend_811( - obj, - sel, - value, - ); + return __objc_msgSend_811(obj, sel, value); } late final __objc_msgSend_811Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_811 = __objc_msgSend_811Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_811 = + __objc_msgSend_811Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); - late final _sel_roundingMode1 = _registerName1("roundingMode"); + late final _sel_roundingMode1 = objc.registerName("roundingMode"); int _objc_msgSend_812( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_812( - obj, - sel, - ); + return __objc_msgSend_812(obj, sel); } late final __objc_msgSend_812Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_812 = __objc_msgSend_812Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_812 = + __objc_msgSend_812Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); - late final _sel_setRoundingMode_1 = _registerName1("setRoundingMode:"); + late final _sel_setRoundingMode_1 = objc.registerName("setRoundingMode:"); void _objc_msgSend_813( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int value, ) { - return __objc_msgSend_813( - obj, - sel, - value, - ); + return __objc_msgSend_813(obj, sel, value); } late final __objc_msgSend_813Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_813 = __objc_msgSend_813Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_813 = + __objc_msgSend_813Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); - late final _sel_roundingIncrement1 = _registerName1("roundingIncrement"); - ffi.Pointer _objc_msgSend_814( - ffi.Pointer obj, - ffi.Pointer sel, + late final _sel_roundingIncrement1 = objc.registerName("roundingIncrement"); + ffi.Pointer _objc_msgSend_814( + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_814( - obj, - sel, - ); + return __objc_msgSend_814(obj, sel); } late final __objc_msgSend_814Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_814 = __objc_msgSend_814Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_setRoundingIncrement_1 = - _registerName1("setRoundingIncrement:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_814 = + __objc_msgSend_814Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_setRoundingIncrement_1 = objc.registerName( + "setRoundingIncrement:", + ); void _objc_msgSend_815( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value, ) { - return __objc_msgSend_815( - obj, - sel, - value, - ); + return __objc_msgSend_815(obj, sel, value); } late final __objc_msgSend_815Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_815 = __objc_msgSend_815Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_minimumIntegerDigits1 = - _registerName1("minimumIntegerDigits"); - late final _sel_setMinimumIntegerDigits_1 = - _registerName1("setMinimumIntegerDigits:"); - late final _sel_maximumIntegerDigits1 = - _registerName1("maximumIntegerDigits"); - late final _sel_setMaximumIntegerDigits_1 = - _registerName1("setMaximumIntegerDigits:"); - late final _sel_minimumFractionDigits1 = - _registerName1("minimumFractionDigits"); - late final _sel_setMinimumFractionDigits_1 = - _registerName1("setMinimumFractionDigits:"); - late final _sel_maximumFractionDigits1 = - _registerName1("maximumFractionDigits"); - late final _sel_setMaximumFractionDigits_1 = - _registerName1("setMaximumFractionDigits:"); - late final _sel_minimum1 = _registerName1("minimum"); - late final _sel_setMinimum_1 = _registerName1("setMinimum:"); - late final _sel_maximum1 = _registerName1("maximum"); - late final _sel_setMaximum_1 = _registerName1("setMaximum:"); - late final _sel_currencyGroupingSeparator1 = - _registerName1("currencyGroupingSeparator"); - late final _sel_setCurrencyGroupingSeparator_1 = - _registerName1("setCurrencyGroupingSeparator:"); - late final _sel_usesSignificantDigits1 = - _registerName1("usesSignificantDigits"); - late final _sel_setUsesSignificantDigits_1 = - _registerName1("setUsesSignificantDigits:"); - late final _sel_minimumSignificantDigits1 = - _registerName1("minimumSignificantDigits"); - late final _sel_setMinimumSignificantDigits_1 = - _registerName1("setMinimumSignificantDigits:"); - late final _sel_maximumSignificantDigits1 = - _registerName1("maximumSignificantDigits"); - late final _sel_setMaximumSignificantDigits_1 = - _registerName1("setMaximumSignificantDigits:"); - late final _sel_isPartialStringValidationEnabled1 = - _registerName1("isPartialStringValidationEnabled"); - late final _sel_setPartialStringValidationEnabled_1 = - _registerName1("setPartialStringValidationEnabled:"); - late final _sel_hasThousandSeparators1 = - _registerName1("hasThousandSeparators"); - late final _sel_setHasThousandSeparators_1 = - _registerName1("setHasThousandSeparators:"); - late final _sel_thousandSeparator1 = _registerName1("thousandSeparator"); - late final _sel_setThousandSeparator_1 = - _registerName1("setThousandSeparator:"); - late final _sel_localizesFormat1 = _registerName1("localizesFormat"); - late final _sel_setLocalizesFormat_1 = _registerName1("setLocalizesFormat:"); - late final _sel_format1 = _registerName1("format"); - late final _sel_setFormat_1 = _registerName1("setFormat:"); - late final _sel_attributedStringForZero1 = - _registerName1("attributedStringForZero"); - late final _sel_setAttributedStringForZero_1 = - _registerName1("setAttributedStringForZero:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_815 = + __objc_msgSend_815Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_minimumIntegerDigits1 = objc.registerName( + "minimumIntegerDigits", + ); + late final _sel_setMinimumIntegerDigits_1 = objc.registerName( + "setMinimumIntegerDigits:", + ); + late final _sel_maximumIntegerDigits1 = objc.registerName( + "maximumIntegerDigits", + ); + late final _sel_setMaximumIntegerDigits_1 = objc.registerName( + "setMaximumIntegerDigits:", + ); + late final _sel_minimumFractionDigits1 = objc.registerName( + "minimumFractionDigits", + ); + late final _sel_setMinimumFractionDigits_1 = objc.registerName( + "setMinimumFractionDigits:", + ); + late final _sel_maximumFractionDigits1 = objc.registerName( + "maximumFractionDigits", + ); + late final _sel_setMaximumFractionDigits_1 = objc.registerName( + "setMaximumFractionDigits:", + ); + late final _sel_minimum1 = objc.registerName("minimum"); + late final _sel_setMinimum_1 = objc.registerName("setMinimum:"); + late final _sel_maximum1 = objc.registerName("maximum"); + late final _sel_setMaximum_1 = objc.registerName("setMaximum:"); + late final _sel_currencyGroupingSeparator1 = objc.registerName( + "currencyGroupingSeparator", + ); + late final _sel_setCurrencyGroupingSeparator_1 = objc.registerName( + "setCurrencyGroupingSeparator:", + ); + late final _sel_usesSignificantDigits1 = objc.registerName( + "usesSignificantDigits", + ); + late final _sel_setUsesSignificantDigits_1 = objc.registerName( + "setUsesSignificantDigits:", + ); + late final _sel_minimumSignificantDigits1 = objc.registerName( + "minimumSignificantDigits", + ); + late final _sel_setMinimumSignificantDigits_1 = objc.registerName( + "setMinimumSignificantDigits:", + ); + late final _sel_maximumSignificantDigits1 = objc.registerName( + "maximumSignificantDigits", + ); + late final _sel_setMaximumSignificantDigits_1 = objc.registerName( + "setMaximumSignificantDigits:", + ); + late final _sel_isPartialStringValidationEnabled1 = objc.registerName( + "isPartialStringValidationEnabled", + ); + late final _sel_setPartialStringValidationEnabled_1 = objc.registerName( + "setPartialStringValidationEnabled:", + ); + late final _sel_hasThousandSeparators1 = objc.registerName( + "hasThousandSeparators", + ); + late final _sel_setHasThousandSeparators_1 = objc.registerName( + "setHasThousandSeparators:", + ); + late final _sel_thousandSeparator1 = objc.registerName("thousandSeparator"); + late final _sel_setThousandSeparator_1 = objc.registerName( + "setThousandSeparator:", + ); + late final _sel_localizesFormat1 = objc.registerName("localizesFormat"); + late final _sel_setLocalizesFormat_1 = objc.registerName( + "setLocalizesFormat:", + ); + late final _sel_format1 = objc.registerName("format"); + late final _sel_setFormat_1 = objc.registerName("setFormat:"); + late final _sel_attributedStringForZero1 = objc.registerName( + "attributedStringForZero", + ); + late final _sel_setAttributedStringForZero_1 = objc.registerName( + "setAttributedStringForZero:", + ); void _objc_msgSend_816( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value, ) { - return __objc_msgSend_816( - obj, - sel, - value, - ); + return __objc_msgSend_816(obj, sel, value); } late final __objc_msgSend_816Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_816 = __objc_msgSend_816Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_attributedStringForNil1 = - _registerName1("attributedStringForNil"); - late final _sel_setAttributedStringForNil_1 = - _registerName1("setAttributedStringForNil:"); - late final _sel_attributedStringForNotANumber1 = - _registerName1("attributedStringForNotANumber"); - late final _sel_setAttributedStringForNotANumber_1 = - _registerName1("setAttributedStringForNotANumber:"); - late final _class_NSDecimalNumberHandler1 = - _getClass1("NSDecimalNumberHandler"); - late final _sel_defaultDecimalNumberHandler1 = - _registerName1("defaultDecimalNumberHandler"); - ffi.Pointer _objc_msgSend_817( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_817( - obj, - sel, - ); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_816 = + __objc_msgSend_816Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_attributedStringForNil1 = objc.registerName( + "attributedStringForNil", + ); + late final _sel_setAttributedStringForNil_1 = objc.registerName( + "setAttributedStringForNil:", + ); + late final _sel_attributedStringForNotANumber1 = objc.registerName( + "attributedStringForNotANumber", + ); + late final _sel_setAttributedStringForNotANumber_1 = objc.registerName( + "setAttributedStringForNotANumber:", + ); + late final _class_NSDecimalNumberHandler1 = objc.getClass( + "NSDecimalNumberHandler", + ); + late final _sel_defaultDecimalNumberHandler1 = objc.registerName( + "defaultDecimalNumberHandler", + ); + ffi.Pointer _objc_msgSend_817( + ffi.Pointer obj, + ffi.Pointer sel, + ) { + return __objc_msgSend_817(obj, sel); } late final __objc_msgSend_817Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_817 = __objc_msgSend_817Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_817 = + __objc_msgSend_817Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_initWithRoundingMode_scale_raiseOnExactness_raiseOnOverflow_raiseOnUnderflow_raiseOnDivideByZero_1 = - _registerName1( - "initWithRoundingMode:scale:raiseOnExactness:raiseOnOverflow:raiseOnUnderflow:raiseOnDivideByZero:"); + objc.registerName( + "initWithRoundingMode:scale:raiseOnExactness:raiseOnOverflow:raiseOnUnderflow:raiseOnDivideByZero:", + ); instancetype _objc_msgSend_818( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int roundingMode, int scale, bool exact, @@ -23461,1288 +29401,1668 @@ class AVFAudio { } late final __objc_msgSend_818Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Short, - ffi.Bool, - ffi.Bool, - ffi.Bool, - ffi.Bool)>>('objc_msgSend'); - late final __objc_msgSend_818 = __objc_msgSend_818Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, int, - int, bool, bool, bool, bool)>(); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Short, + ffi.Bool, + ffi.Bool, + ffi.Bool, + ffi.Bool, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_818 = + __objc_msgSend_818Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + int, + int, + bool, + bool, + bool, + bool, + ) + >(); late final _sel_decimalNumberHandlerWithRoundingMode_scale_raiseOnExactness_raiseOnOverflow_raiseOnUnderflow_raiseOnDivideByZero_1 = - _registerName1( - "decimalNumberHandlerWithRoundingMode:scale:raiseOnExactness:raiseOnOverflow:raiseOnUnderflow:raiseOnDivideByZero:"); - late final _sel_roundingBehavior1 = _registerName1("roundingBehavior"); - late final _sel_setRoundingBehavior_1 = - _registerName1("setRoundingBehavior:"); + objc.registerName( + "decimalNumberHandlerWithRoundingMode:scale:raiseOnExactness:raiseOnOverflow:raiseOnUnderflow:raiseOnDivideByZero:", + ); + late final _sel_roundingBehavior1 = objc.registerName("roundingBehavior"); + late final _sel_setRoundingBehavior_1 = objc.registerName( + "setRoundingBehavior:", + ); void _objc_msgSend_819( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value, ) { - return __objc_msgSend_819( - obj, - sel, - value, - ); + return __objc_msgSend_819(obj, sel, value); } late final __objc_msgSend_819Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_819 = __objc_msgSend_819Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _class_NSScanner1 = _getClass1("NSScanner"); - late final _sel_scanLocation1 = _registerName1("scanLocation"); - late final _sel_setScanLocation_1 = _registerName1("setScanLocation:"); - late final _sel_charactersToBeSkipped1 = - _registerName1("charactersToBeSkipped"); - ffi.Pointer _objc_msgSend_820( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_820( - obj, - sel, - ); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_819 = + __objc_msgSend_819Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _class_NSScanner1 = objc.getClass("NSScanner"); + late final _sel_scanLocation1 = objc.registerName("scanLocation"); + late final _sel_setScanLocation_1 = objc.registerName("setScanLocation:"); + late final _sel_charactersToBeSkipped1 = objc.registerName( + "charactersToBeSkipped", + ); + ffi.Pointer _objc_msgSend_820( + ffi.Pointer obj, + ffi.Pointer sel, + ) { + return __objc_msgSend_820(obj, sel); } late final __objc_msgSend_820Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_820 = __objc_msgSend_820Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_setCharactersToBeSkipped_1 = - _registerName1("setCharactersToBeSkipped:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_820 = + __objc_msgSend_820Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_setCharactersToBeSkipped_1 = objc.registerName( + "setCharactersToBeSkipped:", + ); void _objc_msgSend_821( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value, ) { - return __objc_msgSend_821( - obj, - sel, - value, - ); + return __objc_msgSend_821(obj, sel, value); } late final __objc_msgSend_821Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_821 = __objc_msgSend_821Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_caseSensitive1 = _registerName1("caseSensitive"); - late final _sel_setCaseSensitive_1 = _registerName1("setCaseSensitive:"); - late final _sel_scanInt_1 = _registerName1("scanInt:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_821 = + __objc_msgSend_821Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_caseSensitive1 = objc.registerName("caseSensitive"); + late final _sel_setCaseSensitive_1 = objc.registerName("setCaseSensitive:"); + late final _sel_scanInt_1 = objc.registerName("scanInt:"); bool _objc_msgSend_822( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ffi.Pointer result, ) { - return __objc_msgSend_822( - obj, - sel, - result, - ); + return __objc_msgSend_822(obj, sel, result); } late final __objc_msgSend_822Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_822 = __objc_msgSend_822Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_822 = + __objc_msgSend_822Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); - late final _sel_scanInteger_1 = _registerName1("scanInteger:"); + late final _sel_scanInteger_1 = objc.registerName("scanInteger:"); bool _objc_msgSend_823( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ffi.Pointer result, ) { - return __objc_msgSend_823( - obj, - sel, - result, - ); + return __objc_msgSend_823(obj, sel, result); } late final __objc_msgSend_823Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_823 = __objc_msgSend_823Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_823 = + __objc_msgSend_823Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); - late final _sel_scanLongLong_1 = _registerName1("scanLongLong:"); + late final _sel_scanLongLong_1 = objc.registerName("scanLongLong:"); bool _objc_msgSend_824( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ffi.Pointer result, ) { - return __objc_msgSend_824( - obj, - sel, - result, - ); + return __objc_msgSend_824(obj, sel, result); } late final __objc_msgSend_824Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_824 = __objc_msgSend_824Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_scanUnsignedLongLong_1 = - _registerName1("scanUnsignedLongLong:"); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_824 = + __objc_msgSend_824Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_scanUnsignedLongLong_1 = objc.registerName( + "scanUnsignedLongLong:", + ); bool _objc_msgSend_825( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ffi.Pointer result, ) { - return __objc_msgSend_825( - obj, - sel, - result, - ); + return __objc_msgSend_825(obj, sel, result); } late final __objc_msgSend_825Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_825 = __objc_msgSend_825Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_825 = + __objc_msgSend_825Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); - late final _sel_scanFloat_1 = _registerName1("scanFloat:"); + late final _sel_scanFloat_1 = objc.registerName("scanFloat:"); bool _objc_msgSend_826( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ffi.Pointer result, ) { - return __objc_msgSend_826( - obj, - sel, - result, - ); + return __objc_msgSend_826(obj, sel, result); } late final __objc_msgSend_826Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_826 = __objc_msgSend_826Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_826 = + __objc_msgSend_826Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); - late final _sel_scanDouble_1 = _registerName1("scanDouble:"); + late final _sel_scanDouble_1 = objc.registerName("scanDouble:"); bool _objc_msgSend_827( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ffi.Pointer result, ) { - return __objc_msgSend_827( - obj, - sel, - result, - ); + return __objc_msgSend_827(obj, sel, result); } late final __objc_msgSend_827Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_827 = __objc_msgSend_827Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_827 = + __objc_msgSend_827Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); - late final _sel_scanHexInt_1 = _registerName1("scanHexInt:"); + late final _sel_scanHexInt_1 = objc.registerName("scanHexInt:"); bool _objc_msgSend_828( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ffi.Pointer result, ) { - return __objc_msgSend_828( - obj, - sel, - result, - ); + return __objc_msgSend_828(obj, sel, result); } late final __objc_msgSend_828Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_828 = __objc_msgSend_828Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_scanHexLongLong_1 = _registerName1("scanHexLongLong:"); - late final _sel_scanHexFloat_1 = _registerName1("scanHexFloat:"); - late final _sel_scanHexDouble_1 = _registerName1("scanHexDouble:"); - late final _sel_scanString_intoString_1 = - _registerName1("scanString:intoString:"); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_828 = + __objc_msgSend_828Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_scanHexLongLong_1 = objc.registerName("scanHexLongLong:"); + late final _sel_scanHexFloat_1 = objc.registerName("scanHexFloat:"); + late final _sel_scanHexDouble_1 = objc.registerName("scanHexDouble:"); + late final _sel_scanString_intoString_1 = objc.registerName( + "scanString:intoString:", + ); bool _objc_msgSend_829( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer string, - ffi.Pointer> result, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer string, + ffi.Pointer> result, ) { - return __objc_msgSend_829( - obj, - sel, - string, - result, - ); + return __objc_msgSend_829(obj, sel, string, result); } late final __objc_msgSend_829Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_829 = __objc_msgSend_829Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer>)>(); - - late final _sel_scanCharactersFromSet_intoString_1 = - _registerName1("scanCharactersFromSet:intoString:"); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_829 = + __objc_msgSend_829Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + >(); + + late final _sel_scanCharactersFromSet_intoString_1 = objc.registerName( + "scanCharactersFromSet:intoString:", + ); bool _objc_msgSend_830( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer set1, - ffi.Pointer> result, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer set1, + ffi.Pointer> result, ) { - return __objc_msgSend_830( - obj, - sel, - set1, - result, - ); + return __objc_msgSend_830(obj, sel, set1, result); } late final __objc_msgSend_830Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_830 = __objc_msgSend_830Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer>)>(); - - late final _sel_scanUpToString_intoString_1 = - _registerName1("scanUpToString:intoString:"); - late final _sel_scanUpToCharactersFromSet_intoString_1 = - _registerName1("scanUpToCharactersFromSet:intoString:"); - late final _sel_isAtEnd1 = _registerName1("isAtEnd"); - late final _sel_scannerWithString_1 = _registerName1("scannerWithString:"); - late final _sel_localizedScannerWithString_1 = - _registerName1("localizedScannerWithString:"); - late final _sel_scanDecimal_1 = _registerName1("scanDecimal:"); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_830 = + __objc_msgSend_830Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + >(); + + late final _sel_scanUpToString_intoString_1 = objc.registerName( + "scanUpToString:intoString:", + ); + late final _sel_scanUpToCharactersFromSet_intoString_1 = objc.registerName( + "scanUpToCharactersFromSet:intoString:", + ); + late final _sel_isAtEnd1 = objc.registerName("isAtEnd"); + late final _sel_scannerWithString_1 = objc.registerName("scannerWithString:"); + late final _sel_localizedScannerWithString_1 = objc.registerName( + "localizedScannerWithString:", + ); + late final _sel_scanDecimal_1 = objc.registerName("scanDecimal:"); bool _objc_msgSend_831( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ffi.Pointer dcm, ) { - return __objc_msgSend_831( - obj, - sel, - dcm, - ); + return __objc_msgSend_831(obj, sel, dcm); } late final __objc_msgSend_831Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_831 = __objc_msgSend_831Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _class_NSException1 = _getClass1("NSException"); - late final _sel_exceptionWithName_reason_userInfo_1 = - _registerName1("exceptionWithName:reason:userInfo:"); - ffi.Pointer _objc_msgSend_832( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer name, - ffi.Pointer reason, - ffi.Pointer userInfo, - ) { - return __objc_msgSend_832( - obj, - sel, - name, - reason, - userInfo, - ); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_831 = + __objc_msgSend_831Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _class_NSException1 = objc.getClass("NSException"); + late final _sel_exceptionWithName_reason_userInfo_1 = objc.registerName( + "exceptionWithName:reason:userInfo:", + ); + ffi.Pointer _objc_msgSend_832( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer name, + ffi.Pointer reason, + ffi.Pointer userInfo, + ) { + return __objc_msgSend_832(obj, sel, name, reason, userInfo); } late final __objc_msgSend_832Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_832 = __objc_msgSend_832Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_initWithName_reason_userInfo_1 = - _registerName1("initWithName:reason:userInfo:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_832 = + __objc_msgSend_832Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_initWithName_reason_userInfo_1 = objc.registerName( + "initWithName:reason:userInfo:", + ); instancetype _objc_msgSend_833( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aName, - ffi.Pointer aReason, - ffi.Pointer aUserInfo, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer aName, + ffi.Pointer aReason, + ffi.Pointer aUserInfo, ) { - return __objc_msgSend_833( - obj, - sel, - aName, - aReason, - aUserInfo, - ); + return __objc_msgSend_833(obj, sel, aName, aReason, aUserInfo); } late final __objc_msgSend_833Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_833 = __objc_msgSend_833Ptr.asFunction< + ffi.NativeFunction< instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_reason1 = _registerName1("reason"); - late final _sel_raise1 = _registerName1("raise"); - late final _sel_raise_format_1 = _registerName1("raise:format:"); - late final _sel_raise_format_arguments_1 = - _registerName1("raise:format:arguments:"); + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_833 = + __objc_msgSend_833Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_reason1 = objc.registerName("reason"); + late final _sel_raise1 = objc.registerName("raise"); + late final _sel_raise_format_1 = objc.registerName("raise:format:"); + late final _sel_raise_format_arguments_1 = objc.registerName( + "raise:format:arguments:", + ); void _objc_msgSend_834( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer name, - ffi.Pointer format, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer name, + ffi.Pointer format, ffi.Pointer<__va_list_tag> argList, ) { - return __objc_msgSend_834( - obj, - sel, - name, - format, - argList, - ); + return __objc_msgSend_834(obj, sel, name, format, argList); } late final __objc_msgSend_834Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<__va_list_tag>)>>('objc_msgSend'); - late final __objc_msgSend_834 = __objc_msgSend_834Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<__va_list_tag>)>(); - - late final _class_NSFileHandle1 = _getClass1("NSFileHandle"); - late final _sel_availableData1 = _registerName1("availableData"); - late final _sel_initWithFileDescriptor_closeOnDealloc_1 = - _registerName1("initWithFileDescriptor:closeOnDealloc:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<__va_list_tag>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_834 = + __objc_msgSend_834Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<__va_list_tag>, + ) + >(); + + late final _class_NSFileHandle1 = objc.getClass("NSFileHandle"); + late final _sel_availableData1 = objc.registerName("availableData"); + late final _sel_initWithFileDescriptor_closeOnDealloc_1 = objc.registerName( + "initWithFileDescriptor:closeOnDealloc:", + ); instancetype _objc_msgSend_835( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int fd, bool closeopt, ) { - return __objc_msgSend_835( - obj, - sel, - fd, - closeopt, - ); + return __objc_msgSend_835(obj, sel, fd, closeopt); } late final __objc_msgSend_835Ptr = _lookup< - ffi.NativeFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Int, ffi.Bool)>>('objc_msgSend'); - late final __objc_msgSend_835 = __objc_msgSend_835Ptr.asFunction< + ffi.NativeFunction< instancetype Function( - ffi.Pointer, ffi.Pointer, int, bool)>(); + ffi.Pointer, + ffi.Pointer, + ffi.Int, + ffi.Bool, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_835 = + __objc_msgSend_835Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + int, + bool, + ) + >(); - late final _sel_readDataToEndOfFileAndReturnError_1 = - _registerName1("readDataToEndOfFileAndReturnError:"); - ffi.Pointer _objc_msgSend_836( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer> error, + late final _sel_readDataToEndOfFileAndReturnError_1 = objc.registerName( + "readDataToEndOfFileAndReturnError:", + ); + ffi.Pointer _objc_msgSend_836( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer> error, ) { - return __objc_msgSend_836( - obj, - sel, - error, - ); + return __objc_msgSend_836(obj, sel, error); } late final __objc_msgSend_836Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_836 = __objc_msgSend_836Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer>)>(); - - late final _sel_readDataUpToLength_error_1 = - _registerName1("readDataUpToLength:error:"); - ffi.Pointer _objc_msgSend_837( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_836 = + __objc_msgSend_836Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + >(); + + late final _sel_readDataUpToLength_error_1 = objc.registerName( + "readDataUpToLength:error:", + ); + ffi.Pointer _objc_msgSend_837( + ffi.Pointer obj, + ffi.Pointer sel, int length, - ffi.Pointer> error, + ffi.Pointer> error, ) { - return __objc_msgSend_837( - obj, - sel, - length, - error, - ); + return __objc_msgSend_837(obj, sel, length, error); } late final __objc_msgSend_837Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_837 = __objc_msgSend_837Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, int, ffi.Pointer>)>(); - - late final _sel_writeData_error_1 = _registerName1("writeData:error:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_837 = + __objc_msgSend_837Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer>, + ) + >(); + + late final _sel_writeData_error_1 = objc.registerName("writeData:error:"); bool _objc_msgSend_838( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer data, - ffi.Pointer> error, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer data, + ffi.Pointer> error, ) { - return __objc_msgSend_838( - obj, - sel, - data, - error, - ); + return __objc_msgSend_838(obj, sel, data, error); } late final __objc_msgSend_838Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_838 = __objc_msgSend_838Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer>)>(); - - late final _sel_getOffset_error_1 = _registerName1("getOffset:error:"); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_838 = + __objc_msgSend_838Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + >(); + + late final _sel_getOffset_error_1 = objc.registerName("getOffset:error:"); bool _objc_msgSend_839( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ffi.Pointer offsetInFile, - ffi.Pointer> error, + ffi.Pointer> error, ) { - return __objc_msgSend_839( - obj, - sel, - offsetInFile, - error, - ); + return __objc_msgSend_839(obj, sel, offsetInFile, error); } late final __objc_msgSend_839Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_839 = + __objc_msgSend_839Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, ffi.Pointer, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_839 = __objc_msgSend_839Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>(); - - late final _sel_seekToEndReturningOffset_error_1 = - _registerName1("seekToEndReturningOffset:error:"); - late final _sel_seekToOffset_error_1 = _registerName1("seekToOffset:error:"); + ffi.Pointer>, + ) + >(); + + late final _sel_seekToEndReturningOffset_error_1 = objc.registerName( + "seekToEndReturningOffset:error:", + ); + late final _sel_seekToOffset_error_1 = objc.registerName( + "seekToOffset:error:", + ); bool _objc_msgSend_840( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int offset, - ffi.Pointer> error, + ffi.Pointer> error, ) { - return __objc_msgSend_840( - obj, - sel, - offset, - error, - ); + return __objc_msgSend_840(obj, sel, offset, error); } late final __objc_msgSend_840Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLongLong, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_840 = __objc_msgSend_840Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, int, - ffi.Pointer>)>(); - - late final _sel_truncateAtOffset_error_1 = - _registerName1("truncateAtOffset:error:"); - late final _sel_synchronizeAndReturnError_1 = - _registerName1("synchronizeAndReturnError:"); - late final _sel_closeAndReturnError_1 = - _registerName1("closeAndReturnError:"); - late final _sel_fileHandleWithStandardInput1 = - _registerName1("fileHandleWithStandardInput"); - ffi.Pointer _objc_msgSend_841( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_841( - obj, - sel, - ); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLongLong, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_840 = + __objc_msgSend_840Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer>, + ) + >(); + + late final _sel_truncateAtOffset_error_1 = objc.registerName( + "truncateAtOffset:error:", + ); + late final _sel_synchronizeAndReturnError_1 = objc.registerName( + "synchronizeAndReturnError:", + ); + late final _sel_closeAndReturnError_1 = objc.registerName( + "closeAndReturnError:", + ); + late final _sel_fileHandleWithStandardInput1 = objc.registerName( + "fileHandleWithStandardInput", + ); + ffi.Pointer _objc_msgSend_841( + ffi.Pointer obj, + ffi.Pointer sel, + ) { + return __objc_msgSend_841(obj, sel); } late final __objc_msgSend_841Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_841 = __objc_msgSend_841Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_fileHandleWithStandardOutput1 = - _registerName1("fileHandleWithStandardOutput"); - late final _sel_fileHandleWithStandardError1 = - _registerName1("fileHandleWithStandardError"); - late final _sel_fileHandleWithNullDevice1 = - _registerName1("fileHandleWithNullDevice"); - late final _sel_fileHandleForReadingAtPath_1 = - _registerName1("fileHandleForReadingAtPath:"); - late final _sel_fileHandleForWritingAtPath_1 = - _registerName1("fileHandleForWritingAtPath:"); - late final _sel_fileHandleForUpdatingAtPath_1 = - _registerName1("fileHandleForUpdatingAtPath:"); - late final _sel_fileHandleForReadingFromURL_error_1 = - _registerName1("fileHandleForReadingFromURL:error:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_841 = + __objc_msgSend_841Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_fileHandleWithStandardOutput1 = objc.registerName( + "fileHandleWithStandardOutput", + ); + late final _sel_fileHandleWithStandardError1 = objc.registerName( + "fileHandleWithStandardError", + ); + late final _sel_fileHandleWithNullDevice1 = objc.registerName( + "fileHandleWithNullDevice", + ); + late final _sel_fileHandleForReadingAtPath_1 = objc.registerName( + "fileHandleForReadingAtPath:", + ); + late final _sel_fileHandleForWritingAtPath_1 = objc.registerName( + "fileHandleForWritingAtPath:", + ); + late final _sel_fileHandleForUpdatingAtPath_1 = objc.registerName( + "fileHandleForUpdatingAtPath:", + ); + late final _sel_fileHandleForReadingFromURL_error_1 = objc.registerName( + "fileHandleForReadingFromURL:error:", + ); instancetype _objc_msgSend_842( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, - ffi.Pointer> error, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer url, + ffi.Pointer> error, ) { - return __objc_msgSend_842( - obj, - sel, - url, - error, - ); + return __objc_msgSend_842(obj, sel, url, error); } late final __objc_msgSend_842Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_842 = __objc_msgSend_842Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer>)>(); - - late final _sel_fileHandleForWritingToURL_error_1 = - _registerName1("fileHandleForWritingToURL:error:"); - late final _sel_fileHandleForUpdatingURL_error_1 = - _registerName1("fileHandleForUpdatingURL:error:"); - late final _sel_readInBackgroundAndNotifyForModes_1 = - _registerName1("readInBackgroundAndNotifyForModes:"); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_842 = + __objc_msgSend_842Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + >(); + + late final _sel_fileHandleForWritingToURL_error_1 = objc.registerName( + "fileHandleForWritingToURL:error:", + ); + late final _sel_fileHandleForUpdatingURL_error_1 = objc.registerName( + "fileHandleForUpdatingURL:error:", + ); + late final _sel_readInBackgroundAndNotifyForModes_1 = objc.registerName( + "readInBackgroundAndNotifyForModes:", + ); void _objc_msgSend_843( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer modes, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer modes, ) { - return __objc_msgSend_843( - obj, - sel, - modes, - ); + return __objc_msgSend_843(obj, sel, modes); } late final __objc_msgSend_843Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_843 = __objc_msgSend_843Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_readInBackgroundAndNotify1 = - _registerName1("readInBackgroundAndNotify"); - late final _sel_readToEndOfFileInBackgroundAndNotifyForModes_1 = - _registerName1("readToEndOfFileInBackgroundAndNotifyForModes:"); - late final _sel_readToEndOfFileInBackgroundAndNotify1 = - _registerName1("readToEndOfFileInBackgroundAndNotify"); - late final _sel_acceptConnectionInBackgroundAndNotifyForModes_1 = - _registerName1("acceptConnectionInBackgroundAndNotifyForModes:"); - late final _sel_acceptConnectionInBackgroundAndNotify1 = - _registerName1("acceptConnectionInBackgroundAndNotify"); - late final _sel_waitForDataInBackgroundAndNotifyForModes_1 = - _registerName1("waitForDataInBackgroundAndNotifyForModes:"); - late final _sel_waitForDataInBackgroundAndNotify1 = - _registerName1("waitForDataInBackgroundAndNotify"); - late final _sel_readabilityHandler1 = _registerName1("readabilityHandler"); - ffi.Pointer<_ObjCBlock> _objc_msgSend_844( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_844( - obj, - sel, - ); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_843 = + __objc_msgSend_843Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_readInBackgroundAndNotify1 = objc.registerName( + "readInBackgroundAndNotify", + ); + late final _sel_readToEndOfFileInBackgroundAndNotifyForModes_1 = objc + .registerName("readToEndOfFileInBackgroundAndNotifyForModes:"); + late final _sel_readToEndOfFileInBackgroundAndNotify1 = objc.registerName( + "readToEndOfFileInBackgroundAndNotify", + ); + late final _sel_acceptConnectionInBackgroundAndNotifyForModes_1 = objc + .registerName("acceptConnectionInBackgroundAndNotifyForModes:"); + late final _sel_acceptConnectionInBackgroundAndNotify1 = objc.registerName( + "acceptConnectionInBackgroundAndNotify", + ); + late final _sel_waitForDataInBackgroundAndNotifyForModes_1 = objc + .registerName("waitForDataInBackgroundAndNotifyForModes:"); + late final _sel_waitForDataInBackgroundAndNotify1 = objc.registerName( + "waitForDataInBackgroundAndNotify", + ); + late final _sel_readabilityHandler1 = objc.registerName("readabilityHandler"); + ffi.Pointer _objc_msgSend_844( + ffi.Pointer obj, + ffi.Pointer sel, + ) { + return __objc_msgSend_844(obj, sel); } late final __objc_msgSend_844Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer<_ObjCBlock> Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_844 = __objc_msgSend_844Ptr.asFunction< - ffi.Pointer<_ObjCBlock> Function( - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_setReadabilityHandler_1 = - _registerName1("setReadabilityHandler:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_844 = + __objc_msgSend_844Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_setReadabilityHandler_1 = objc.registerName( + "setReadabilityHandler:", + ); void _objc_msgSend_845( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer<_ObjCBlock> value, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value, ) { - return __objc_msgSend_845( - obj, - sel, - value, - ); + return __objc_msgSend_845(obj, sel, value); } late final __objc_msgSend_845Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_845 = __objc_msgSend_845Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_writeabilityHandler1 = _registerName1("writeabilityHandler"); - late final _sel_setWriteabilityHandler_1 = - _registerName1("setWriteabilityHandler:"); - late final _sel_initWithFileDescriptor_1 = - _registerName1("initWithFileDescriptor:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_845 = + __objc_msgSend_845Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_writeabilityHandler1 = objc.registerName( + "writeabilityHandler", + ); + late final _sel_setWriteabilityHandler_1 = objc.registerName( + "setWriteabilityHandler:", + ); + late final _sel_initWithFileDescriptor_1 = objc.registerName( + "initWithFileDescriptor:", + ); instancetype _objc_msgSend_846( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int fd, ) { - return __objc_msgSend_846( - obj, - sel, - fd, - ); + return __objc_msgSend_846(obj, sel, fd); } late final __objc_msgSend_846Ptr = _lookup< - ffi.NativeFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Int)>>('objc_msgSend'); - late final __objc_msgSend_846 = __objc_msgSend_846Ptr.asFunction< + ffi.NativeFunction< instancetype Function( - ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_fileDescriptor1 = _registerName1("fileDescriptor"); - late final _sel_readDataToEndOfFile1 = _registerName1("readDataToEndOfFile"); - late final _sel_readDataOfLength_1 = _registerName1("readDataOfLength:"); - ffi.Pointer _objc_msgSend_847( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer, + ffi.Pointer, + ffi.Int, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_846 = + __objc_msgSend_846Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_fileDescriptor1 = objc.registerName("fileDescriptor"); + late final _sel_readDataToEndOfFile1 = objc.registerName( + "readDataToEndOfFile", + ); + late final _sel_readDataOfLength_1 = objc.registerName("readDataOfLength:"); + ffi.Pointer _objc_msgSend_847( + ffi.Pointer obj, + ffi.Pointer sel, int length, ) { - return __objc_msgSend_847( - obj, - sel, - length, - ); + return __objc_msgSend_847(obj, sel, length); } late final __objc_msgSend_847Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.UnsignedLong)>>('objc_msgSend'); - late final __objc_msgSend_847 = __objc_msgSend_847Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_offsetInFile1 = _registerName1("offsetInFile"); - late final _sel_seekToEndOfFile1 = _registerName1("seekToEndOfFile"); - late final _sel_seekToFileOffset_1 = _registerName1("seekToFileOffset:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_847 = + __objc_msgSend_847Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_offsetInFile1 = objc.registerName("offsetInFile"); + late final _sel_seekToEndOfFile1 = objc.registerName("seekToEndOfFile"); + late final _sel_seekToFileOffset_1 = objc.registerName("seekToFileOffset:"); void _objc_msgSend_848( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int offset, ) { - return __objc_msgSend_848( - obj, - sel, - offset, - ); + return __objc_msgSend_848(obj, sel, offset); } late final __objc_msgSend_848Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.UnsignedLongLong)>>('objc_msgSend'); - late final __objc_msgSend_848 = __objc_msgSend_848Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_truncateFileAtOffset_1 = - _registerName1("truncateFileAtOffset:"); - late final _sel_synchronizeFile1 = _registerName1("synchronizeFile"); - late final _sel_closeFile1 = _registerName1("closeFile"); - late final _class_NSHTTPCookieStorage1 = _getClass1("NSHTTPCookieStorage"); - late final _sel_sharedHTTPCookieStorage1 = - _registerName1("sharedHTTPCookieStorage"); - ffi.Pointer _objc_msgSend_849( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_849( - obj, - sel, - ); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLongLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_848 = + __objc_msgSend_848Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_truncateFileAtOffset_1 = objc.registerName( + "truncateFileAtOffset:", + ); + late final _sel_synchronizeFile1 = objc.registerName("synchronizeFile"); + late final _sel_closeFile1 = objc.registerName("closeFile"); + late final _class_NSHTTPCookieStorage1 = objc.getClass("NSHTTPCookieStorage"); + late final _sel_sharedHTTPCookieStorage1 = objc.registerName( + "sharedHTTPCookieStorage", + ); + ffi.Pointer _objc_msgSend_849( + ffi.Pointer obj, + ffi.Pointer sel, + ) { + return __objc_msgSend_849(obj, sel); } late final __objc_msgSend_849Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_849 = __objc_msgSend_849Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_sharedCookieStorageForGroupContainerIdentifier_1 = - _registerName1("sharedCookieStorageForGroupContainerIdentifier:"); - ffi.Pointer _objc_msgSend_850( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer identifier, - ) { - return __objc_msgSend_850( - obj, - sel, - identifier, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_849 = + __objc_msgSend_849Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_sharedCookieStorageForGroupContainerIdentifier_1 = objc + .registerName("sharedCookieStorageForGroupContainerIdentifier:"); + ffi.Pointer _objc_msgSend_850( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer identifier, + ) { + return __objc_msgSend_850(obj, sel, identifier); } late final __objc_msgSend_850Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_850 = __objc_msgSend_850Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_cookies1 = _registerName1("cookies"); - late final _class_NSHTTPCookie1 = _getClass1("NSHTTPCookie"); - late final _sel_initWithProperties_1 = _registerName1("initWithProperties:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_850 = + __objc_msgSend_850Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_cookies1 = objc.registerName("cookies"); + late final _class_NSHTTPCookie1 = objc.getClass("NSHTTPCookie"); + late final _sel_initWithProperties_1 = objc.registerName( + "initWithProperties:", + ); instancetype _objc_msgSend_851( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer properties, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer properties, ) { - return __objc_msgSend_851( - obj, - sel, - properties, - ); + return __objc_msgSend_851(obj, sel, properties); } late final __objc_msgSend_851Ptr = _lookup< - ffi.NativeFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_851 = __objc_msgSend_851Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_cookieWithProperties_1 = - _registerName1("cookieWithProperties:"); - ffi.Pointer _objc_msgSend_852( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer properties, - ) { - return __objc_msgSend_852( - obj, - sel, - properties, - ); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_851 = + __objc_msgSend_851Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_cookieWithProperties_1 = objc.registerName( + "cookieWithProperties:", + ); + ffi.Pointer _objc_msgSend_852( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer properties, + ) { + return __objc_msgSend_852(obj, sel, properties); } late final __objc_msgSend_852Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_852 = __objc_msgSend_852Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_requestHeaderFieldsWithCookies_1 = - _registerName1("requestHeaderFieldsWithCookies:"); - late final _sel_cookiesWithResponseHeaderFields_forURL_1 = - _registerName1("cookiesWithResponseHeaderFields:forURL:"); - ffi.Pointer _objc_msgSend_853( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer headerFields, - ffi.Pointer URL, - ) { - return __objc_msgSend_853( - obj, - sel, - headerFields, - URL, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_852 = + __objc_msgSend_852Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_requestHeaderFieldsWithCookies_1 = objc.registerName( + "requestHeaderFieldsWithCookies:", + ); + late final _sel_cookiesWithResponseHeaderFields_forURL_1 = objc.registerName( + "cookiesWithResponseHeaderFields:forURL:", + ); + ffi.Pointer _objc_msgSend_853( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer headerFields, + ffi.Pointer URL, + ) { + return __objc_msgSend_853(obj, sel, headerFields, URL); } late final __objc_msgSend_853Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_853 = __objc_msgSend_853Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_properties1 = _registerName1("properties"); - late final _sel_value1 = _registerName1("value"); - late final _sel_expiresDate1 = _registerName1("expiresDate"); - late final _sel_isSessionOnly1 = _registerName1("isSessionOnly"); - late final _sel_isSecure1 = _registerName1("isSecure"); - late final _sel_isHTTPOnly1 = _registerName1("isHTTPOnly"); - late final _sel_comment1 = _registerName1("comment"); - late final _sel_commentURL1 = _registerName1("commentURL"); - late final _sel_portList1 = _registerName1("portList"); - late final _sel_sameSitePolicy1 = _registerName1("sameSitePolicy"); - late final _sel_setCookie_1 = _registerName1("setCookie:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_853 = + __objc_msgSend_853Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_properties1 = objc.registerName("properties"); + late final _sel_value1 = objc.registerName("value"); + late final _sel_expiresDate1 = objc.registerName("expiresDate"); + late final _sel_isSessionOnly1 = objc.registerName("isSessionOnly"); + late final _sel_isSecure1 = objc.registerName("isSecure"); + late final _sel_isHTTPOnly1 = objc.registerName("isHTTPOnly"); + late final _sel_comment1 = objc.registerName("comment"); + late final _sel_commentURL1 = objc.registerName("commentURL"); + late final _sel_portList1 = objc.registerName("portList"); + late final _sel_sameSitePolicy1 = objc.registerName("sameSitePolicy"); + late final _sel_setCookie_1 = objc.registerName("setCookie:"); void _objc_msgSend_854( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer cookie, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer cookie, ) { - return __objc_msgSend_854( - obj, - sel, - cookie, - ); + return __objc_msgSend_854(obj, sel, cookie); } late final __objc_msgSend_854Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_854 = __objc_msgSend_854Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_deleteCookie_1 = _registerName1("deleteCookie:"); - late final _sel_removeCookiesSinceDate_1 = - _registerName1("removeCookiesSinceDate:"); - late final _sel_cookiesForURL_1 = _registerName1("cookiesForURL:"); - late final _sel_setCookies_forURL_mainDocumentURL_1 = - _registerName1("setCookies:forURL:mainDocumentURL:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_854 = + __objc_msgSend_854Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_deleteCookie_1 = objc.registerName("deleteCookie:"); + late final _sel_removeCookiesSinceDate_1 = objc.registerName( + "removeCookiesSinceDate:", + ); + late final _sel_cookiesForURL_1 = objc.registerName("cookiesForURL:"); + late final _sel_setCookies_forURL_mainDocumentURL_1 = objc.registerName( + "setCookies:forURL:mainDocumentURL:", + ); void _objc_msgSend_855( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer cookies, - ffi.Pointer URL, - ffi.Pointer mainDocumentURL, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer cookies, + ffi.Pointer URL, + ffi.Pointer mainDocumentURL, ) { - return __objc_msgSend_855( - obj, - sel, - cookies, - URL, - mainDocumentURL, - ); + return __objc_msgSend_855(obj, sel, cookies, URL, mainDocumentURL); } late final __objc_msgSend_855Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_855 = __objc_msgSend_855Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_cookieAcceptPolicy1 = _registerName1("cookieAcceptPolicy"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_855 = + __objc_msgSend_855Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_cookieAcceptPolicy1 = objc.registerName("cookieAcceptPolicy"); int _objc_msgSend_856( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_856( - obj, - sel, - ); + return __objc_msgSend_856(obj, sel); } late final __objc_msgSend_856Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_856 = __objc_msgSend_856Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer)>(); - - late final _sel_setCookieAcceptPolicy_1 = - _registerName1("setCookieAcceptPolicy:"); + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_856 = + __objc_msgSend_856Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_setCookieAcceptPolicy_1 = objc.registerName( + "setCookieAcceptPolicy:", + ); void _objc_msgSend_857( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int value, ) { - return __objc_msgSend_857( - obj, - sel, - value, - ); + return __objc_msgSend_857(obj, sel, value); } late final __objc_msgSend_857Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_857 = __objc_msgSend_857Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_sortedCookiesUsingDescriptors_1 = - _registerName1("sortedCookiesUsingDescriptors:"); - late final _class_NSURLSessionTask1 = _getClass1("NSURLSessionTask"); - late final _sel_taskIdentifier1 = _registerName1("taskIdentifier"); - late final _class_NSURLRequest1 = _getClass1("NSURLRequest"); - late final _sel_requestWithURL_1 = _registerName1("requestWithURL:"); - late final _sel_supportsSecureCoding1 = - _registerName1("supportsSecureCoding"); - late final _sel_requestWithURL_cachePolicy_timeoutInterval_1 = - _registerName1("requestWithURL:cachePolicy:timeoutInterval:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_857 = + __objc_msgSend_857Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_sortedCookiesUsingDescriptors_1 = objc.registerName( + "sortedCookiesUsingDescriptors:", + ); + late final _class_NSURLSessionTask1 = objc.getClass("NSURLSessionTask"); + late final _sel_taskIdentifier1 = objc.registerName("taskIdentifier"); + late final _class_NSURLRequest1 = objc.getClass("NSURLRequest"); + late final _sel_requestWithURL_1 = objc.registerName("requestWithURL:"); + late final _sel_supportsSecureCoding1 = objc.registerName( + "supportsSecureCoding", + ); + late final _sel_requestWithURL_cachePolicy_timeoutInterval_1 = objc + .registerName("requestWithURL:cachePolicy:timeoutInterval:"); instancetype _objc_msgSend_858( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer URL, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer URL, int cachePolicy, double timeoutInterval, ) { - return __objc_msgSend_858( - obj, - sel, - URL, - cachePolicy, - timeoutInterval, - ); + return __objc_msgSend_858(obj, sel, URL, cachePolicy, timeoutInterval); } late final __objc_msgSend_858Ptr = _lookup< - ffi.NativeFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Int32, ffi.Double)>>('objc_msgSend'); - late final __objc_msgSend_858 = __objc_msgSend_858Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int, double)>(); - - late final _sel_initWithURL_cachePolicy_timeoutInterval_1 = - _registerName1("initWithURL:cachePolicy:timeoutInterval:"); - late final _sel_URL1 = _registerName1("URL"); - late final _sel_cachePolicy1 = _registerName1("cachePolicy"); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Double, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_858 = + __objc_msgSend_858Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + double, + ) + >(); + + late final _sel_initWithURL_cachePolicy_timeoutInterval_1 = objc.registerName( + "initWithURL:cachePolicy:timeoutInterval:", + ); + late final _sel_URL1 = objc.registerName("URL"); + late final _sel_cachePolicy1 = objc.registerName("cachePolicy"); int _objc_msgSend_859( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_859( - obj, - sel, - ); + return __objc_msgSend_859(obj, sel); } late final __objc_msgSend_859Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_859 = __objc_msgSend_859Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer)>(); - - late final _sel_timeoutInterval1 = _registerName1("timeoutInterval"); - late final _sel_mainDocumentURL1 = _registerName1("mainDocumentURL"); - late final _sel_networkServiceType1 = _registerName1("networkServiceType"); + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_859 = + __objc_msgSend_859Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_timeoutInterval1 = objc.registerName("timeoutInterval"); + late final _sel_mainDocumentURL1 = objc.registerName("mainDocumentURL"); + late final _sel_networkServiceType1 = objc.registerName("networkServiceType"); int _objc_msgSend_860( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_860( - obj, - sel, - ); + return __objc_msgSend_860(obj, sel); } late final __objc_msgSend_860Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_860 = __objc_msgSend_860Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer)>(); - - late final _sel_allowsCellularAccess1 = - _registerName1("allowsCellularAccess"); - late final _sel_allowsExpensiveNetworkAccess1 = - _registerName1("allowsExpensiveNetworkAccess"); - late final _sel_allowsConstrainedNetworkAccess1 = - _registerName1("allowsConstrainedNetworkAccess"); - late final _sel_assumesHTTP3Capable1 = _registerName1("assumesHTTP3Capable"); - late final _sel_attribution1 = _registerName1("attribution"); + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_860 = + __objc_msgSend_860Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_allowsCellularAccess1 = objc.registerName( + "allowsCellularAccess", + ); + late final _sel_allowsExpensiveNetworkAccess1 = objc.registerName( + "allowsExpensiveNetworkAccess", + ); + late final _sel_allowsConstrainedNetworkAccess1 = objc.registerName( + "allowsConstrainedNetworkAccess", + ); + late final _sel_assumesHTTP3Capable1 = objc.registerName( + "assumesHTTP3Capable", + ); + late final _sel_attribution1 = objc.registerName("attribution"); int _objc_msgSend_861( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_861( - obj, - sel, - ); + return __objc_msgSend_861(obj, sel); } late final __objc_msgSend_861Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_861 = __objc_msgSend_861Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer)>(); - - late final _sel_requiresDNSSECValidation1 = - _registerName1("requiresDNSSECValidation"); - late final _sel_HTTPMethod1 = _registerName1("HTTPMethod"); - late final _sel_allHTTPHeaderFields1 = _registerName1("allHTTPHeaderFields"); - late final _sel_valueForHTTPHeaderField_1 = - _registerName1("valueForHTTPHeaderField:"); - late final _sel_HTTPBody1 = _registerName1("HTTPBody"); - late final _class_NSInputStream1 = _getClass1("NSInputStream"); - late final _class_NSStream1 = _getClass1("NSStream"); - late final _sel_open1 = _registerName1("open"); - late final _sel_close1 = _registerName1("close"); + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_861 = + __objc_msgSend_861Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_requiresDNSSECValidation1 = objc.registerName( + "requiresDNSSECValidation", + ); + late final _sel_HTTPMethod1 = objc.registerName("HTTPMethod"); + late final _sel_allHTTPHeaderFields1 = objc.registerName( + "allHTTPHeaderFields", + ); + late final _sel_valueForHTTPHeaderField_1 = objc.registerName( + "valueForHTTPHeaderField:", + ); + late final _sel_HTTPBody1 = objc.registerName("HTTPBody"); + late final _class_NSInputStream1 = objc.getClass("NSInputStream"); + late final _class_NSStream1 = objc.getClass("NSStream"); + late final _sel_open1 = objc.registerName("open"); + late final _sel_close1 = objc.registerName("close"); bool _objc_msgSend_862( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer property, - ffi.Pointer key, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer property, + ffi.Pointer key, ) { - return __objc_msgSend_862( - obj, - sel, - property, - key, - ); + return __objc_msgSend_862(obj, sel, property, key); } late final __objc_msgSend_862Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_862 = __objc_msgSend_862Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_streamStatus1 = _registerName1("streamStatus"); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_862 = + __objc_msgSend_862Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_streamStatus1 = objc.registerName("streamStatus"); int _objc_msgSend_863( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_863( - obj, - sel, - ); + return __objc_msgSend_863(obj, sel); } late final __objc_msgSend_863Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_863 = __objc_msgSend_863Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer)>(); - - late final _sel_streamError1 = _registerName1("streamError"); - late final _class_NSOutputStream1 = _getClass1("NSOutputStream"); - late final _sel_write_maxLength_1 = _registerName1("write:maxLength:"); + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_863 = + __objc_msgSend_863Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_streamError1 = objc.registerName("streamError"); + late final _class_NSOutputStream1 = objc.getClass("NSOutputStream"); + late final _sel_write_maxLength_1 = objc.registerName("write:maxLength:"); int _objc_msgSend_864( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ffi.Pointer buffer, int len, ) { - return __objc_msgSend_864( - obj, - sel, - buffer, - len, - ); + return __objc_msgSend_864(obj, sel, buffer, len); } late final __objc_msgSend_864Ptr = _lookup< - ffi.NativeFunction< - ffi.Long Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.UnsignedLong)>>('objc_msgSend'); - late final __objc_msgSend_864 = __objc_msgSend_864Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int)>(); - - late final _sel_hasSpaceAvailable1 = _registerName1("hasSpaceAvailable"); - late final _sel_initToMemory1 = _registerName1("initToMemory"); - late final _sel_initToBuffer_capacity_1 = - _registerName1("initToBuffer:capacity:"); + ffi.NativeFunction< + ffi.Long Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_864 = + __objc_msgSend_864Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_hasSpaceAvailable1 = objc.registerName("hasSpaceAvailable"); + late final _sel_initToMemory1 = objc.registerName("initToMemory"); + late final _sel_initToBuffer_capacity_1 = objc.registerName( + "initToBuffer:capacity:", + ); instancetype _objc_msgSend_865( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ffi.Pointer buffer, int capacity, ) { - return __objc_msgSend_865( - obj, - sel, - buffer, - capacity, - ); + return __objc_msgSend_865(obj, sel, buffer, capacity); } late final __objc_msgSend_865Ptr = _lookup< - ffi.NativeFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.UnsignedLong)>>('objc_msgSend'); - late final __objc_msgSend_865 = __objc_msgSend_865Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int)>(); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_865 = + __objc_msgSend_865Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); - late final _sel_initWithURL_append_1 = _registerName1("initWithURL:append:"); + late final _sel_initWithURL_append_1 = objc.registerName( + "initWithURL:append:", + ); instancetype _objc_msgSend_866( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer url, bool shouldAppend, ) { - return __objc_msgSend_866( - obj, - sel, - url, - shouldAppend, - ); + return __objc_msgSend_866(obj, sel, url, shouldAppend); } late final __objc_msgSend_866Ptr = _lookup< - ffi.NativeFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Bool)>>('objc_msgSend'); - late final __objc_msgSend_866 = __objc_msgSend_866Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, bool)>(); - - late final _sel_initToFileAtPath_append_1 = - _registerName1("initToFileAtPath:append:"); - late final _sel_outputStreamToMemory1 = - _registerName1("outputStreamToMemory"); - late final _sel_outputStreamToBuffer_capacity_1 = - _registerName1("outputStreamToBuffer:capacity:"); - late final _sel_outputStreamToFileAtPath_append_1 = - _registerName1("outputStreamToFileAtPath:append:"); - late final _sel_outputStreamWithURL_append_1 = - _registerName1("outputStreamWithURL:append:"); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_866 = + __objc_msgSend_866Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool, + ) + >(); + + late final _sel_initToFileAtPath_append_1 = objc.registerName( + "initToFileAtPath:append:", + ); + late final _sel_outputStreamToMemory1 = objc.registerName( + "outputStreamToMemory", + ); + late final _sel_outputStreamToBuffer_capacity_1 = objc.registerName( + "outputStreamToBuffer:capacity:", + ); + late final _sel_outputStreamToFileAtPath_append_1 = objc.registerName( + "outputStreamToFileAtPath:append:", + ); + late final _sel_outputStreamWithURL_append_1 = objc.registerName( + "outputStreamWithURL:append:", + ); late final _sel_getStreamsToHostWithName_port_inputStream_outputStream_1 = - _registerName1("getStreamsToHostWithName:port:inputStream:outputStream:"); + objc.registerName( + "getStreamsToHostWithName:port:inputStream:outputStream:", + ); void _objc_msgSend_867( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer hostname, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer hostname, int port, - ffi.Pointer> inputStream, - ffi.Pointer> outputStream, + ffi.Pointer> inputStream, + ffi.Pointer> outputStream, ) { return __objc_msgSend_867( obj, @@ -24755,2852 +31075,3639 @@ class AVFAudio { } late final __objc_msgSend_867Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Long, - ffi.Pointer>, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_867 = __objc_msgSend_867Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>, - ffi.Pointer>)>(); - - late final _class_NSHost1 = _getClass1("NSHost"); - late final _sel_currentHost1 = _registerName1("currentHost"); - late final _sel_hostWithName_1 = _registerName1("hostWithName:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Long, + ffi.Pointer>, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_867 = + __objc_msgSend_867Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer>, + ffi.Pointer>, + ) + >(); + + late final _class_NSHost1 = objc.getClass("NSHost"); + late final _sel_currentHost1 = objc.registerName("currentHost"); + late final _sel_hostWithName_1 = objc.registerName("hostWithName:"); instancetype _objc_msgSend_868( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer name, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer name, ) { - return __objc_msgSend_868( - obj, - sel, - name, - ); + return __objc_msgSend_868(obj, sel, name); } late final __objc_msgSend_868Ptr = _lookup< - ffi.NativeFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_868 = __objc_msgSend_868Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_hostWithAddress_1 = _registerName1("hostWithAddress:"); - late final _sel_isEqualToHost_1 = _registerName1("isEqualToHost:"); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_868 = + __objc_msgSend_868Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_hostWithAddress_1 = objc.registerName("hostWithAddress:"); + late final _sel_isEqualToHost_1 = objc.registerName("isEqualToHost:"); bool _objc_msgSend_869( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aHost, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer aHost, ) { - return __objc_msgSend_869( - obj, - sel, - aHost, - ); + return __objc_msgSend_869(obj, sel, aHost); } late final __objc_msgSend_869Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_869 = __objc_msgSend_869Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_names1 = _registerName1("names"); - late final _sel_address1 = _registerName1("address"); - late final _sel_addresses1 = _registerName1("addresses"); - late final _sel_localizedName1 = _registerName1("localizedName"); - late final _sel_setHostCacheEnabled_1 = - _registerName1("setHostCacheEnabled:"); - void _objc_msgSend_870( - ffi.Pointer obj, - ffi.Pointer sel, - bool flag, - ) { - return __objc_msgSend_870( - obj, - sel, - flag, - ); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_869 = + __objc_msgSend_869Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_names1 = objc.registerName("names"); + late final _sel_address1 = objc.registerName("address"); + late final _sel_addresses1 = objc.registerName("addresses"); + late final _sel_localizedName1 = objc.registerName("localizedName"); + late final _sel_setHostCacheEnabled_1 = objc.registerName( + "setHostCacheEnabled:", + ); + void _objc_msgSend_870( + ffi.Pointer obj, + ffi.Pointer sel, + bool flag, + ) { + return __objc_msgSend_870(obj, sel, flag); } late final __objc_msgSend_870Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Bool)>>('objc_msgSend'); - late final __objc_msgSend_870 = __objc_msgSend_870Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, bool)>(); - - late final _sel_isHostCacheEnabled1 = _registerName1("isHostCacheEnabled"); - late final _sel_flushHostCache1 = _registerName1("flushHostCache"); - late final _sel_getStreamsToHost_port_inputStream_outputStream_1 = - _registerName1("getStreamsToHost:port:inputStream:outputStream:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_870 = + __objc_msgSend_870Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + bool, + ) + >(); + + late final _sel_isHostCacheEnabled1 = objc.registerName("isHostCacheEnabled"); + late final _sel_flushHostCache1 = objc.registerName("flushHostCache"); + late final _sel_getStreamsToHost_port_inputStream_outputStream_1 = objc + .registerName("getStreamsToHost:port:inputStream:outputStream:"); void _objc_msgSend_871( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer host, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer host, int port, - ffi.Pointer> inputStream, - ffi.Pointer> outputStream, + ffi.Pointer> inputStream, + ffi.Pointer> outputStream, ) { - return __objc_msgSend_871( - obj, - sel, - host, - port, - inputStream, - outputStream, - ); + return __objc_msgSend_871(obj, sel, host, port, inputStream, outputStream); } late final __objc_msgSend_871Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Long, - ffi.Pointer>, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_871 = __objc_msgSend_871Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>, - ffi.Pointer>)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Long, + ffi.Pointer>, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_871 = + __objc_msgSend_871Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer>, + ffi.Pointer>, + ) + >(); late final _sel_getBoundStreamsWithBufferSize_inputStream_outputStream_1 = - _registerName1("getBoundStreamsWithBufferSize:inputStream:outputStream:"); + objc.registerName( + "getBoundStreamsWithBufferSize:inputStream:outputStream:", + ); void _objc_msgSend_872( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int bufferSize, - ffi.Pointer> inputStream, - ffi.Pointer> outputStream, + ffi.Pointer> inputStream, + ffi.Pointer> outputStream, ) { - return __objc_msgSend_872( - obj, - sel, - bufferSize, - inputStream, - outputStream, - ); + return __objc_msgSend_872(obj, sel, bufferSize, inputStream, outputStream); } late final __objc_msgSend_872Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer>, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_872 = __objc_msgSend_872Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>, - ffi.Pointer>)>(); - - late final _sel_read_maxLength_1 = _registerName1("read:maxLength:"); - late final _sel_getBuffer_length_1 = _registerName1("getBuffer:length:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer>, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_872 = + __objc_msgSend_872Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer>, + ffi.Pointer>, + ) + >(); + + late final _sel_read_maxLength_1 = objc.registerName("read:maxLength:"); + late final _sel_getBuffer_length_1 = objc.registerName("getBuffer:length:"); bool _objc_msgSend_873( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ffi.Pointer> buffer, ffi.Pointer len, ) { - return __objc_msgSend_873( - obj, - sel, - buffer, - len, - ); + return __objc_msgSend_873(obj, sel, buffer, len); } late final __objc_msgSend_873Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_873 = + __objc_msgSend_873Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, ffi.Pointer>, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_873 = __objc_msgSend_873Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer)>(); - - late final _sel_hasBytesAvailable1 = _registerName1("hasBytesAvailable"); - late final _sel_initWithFileAtPath_1 = _registerName1("initWithFileAtPath:"); - late final _sel_inputStreamWithData_1 = - _registerName1("inputStreamWithData:"); + ffi.Pointer, + ) + >(); + + late final _sel_hasBytesAvailable1 = objc.registerName("hasBytesAvailable"); + late final _sel_initWithFileAtPath_1 = objc.registerName( + "initWithFileAtPath:", + ); + late final _sel_inputStreamWithData_1 = objc.registerName( + "inputStreamWithData:", + ); instancetype _objc_msgSend_874( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer data, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer data, ) { - return __objc_msgSend_874( - obj, - sel, - data, - ); + return __objc_msgSend_874(obj, sel, data); } late final __objc_msgSend_874Ptr = _lookup< - ffi.NativeFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_874 = __objc_msgSend_874Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_inputStreamWithFileAtPath_1 = - _registerName1("inputStreamWithFileAtPath:"); - late final _sel_inputStreamWithURL_1 = _registerName1("inputStreamWithURL:"); - late final _sel_HTTPBodyStream1 = _registerName1("HTTPBodyStream"); - ffi.Pointer _objc_msgSend_875( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_875( - obj, - sel, - ); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_874 = + __objc_msgSend_874Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_inputStreamWithFileAtPath_1 = objc.registerName( + "inputStreamWithFileAtPath:", + ); + late final _sel_inputStreamWithURL_1 = objc.registerName( + "inputStreamWithURL:", + ); + late final _sel_HTTPBodyStream1 = objc.registerName("HTTPBodyStream"); + ffi.Pointer _objc_msgSend_875( + ffi.Pointer obj, + ffi.Pointer sel, + ) { + return __objc_msgSend_875(obj, sel); } late final __objc_msgSend_875Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_875 = __objc_msgSend_875Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_HTTPShouldHandleCookies1 = - _registerName1("HTTPShouldHandleCookies"); - late final _sel_HTTPShouldUsePipelining1 = - _registerName1("HTTPShouldUsePipelining"); - late final _sel_originalRequest1 = _registerName1("originalRequest"); - ffi.Pointer _objc_msgSend_876( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_876( - obj, - sel, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_875 = + __objc_msgSend_875Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_HTTPShouldHandleCookies1 = objc.registerName( + "HTTPShouldHandleCookies", + ); + late final _sel_HTTPShouldUsePipelining1 = objc.registerName( + "HTTPShouldUsePipelining", + ); + late final _sel_originalRequest1 = objc.registerName("originalRequest"); + ffi.Pointer _objc_msgSend_876( + ffi.Pointer obj, + ffi.Pointer sel, + ) { + return __objc_msgSend_876(obj, sel); } late final __objc_msgSend_876Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_876 = __objc_msgSend_876Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_currentRequest1 = _registerName1("currentRequest"); - late final _class_NSURLResponse1 = _getClass1("NSURLResponse"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_876 = + __objc_msgSend_876Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_currentRequest1 = objc.registerName("currentRequest"); + late final _class_NSURLResponse1 = objc.getClass("NSURLResponse"); late final _sel_initWithURL_MIMEType_expectedContentLength_textEncodingName_1 = - _registerName1( - "initWithURL:MIMEType:expectedContentLength:textEncodingName:"); + objc.registerName( + "initWithURL:MIMEType:expectedContentLength:textEncodingName:", + ); instancetype _objc_msgSend_877( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer URL, - ffi.Pointer MIMEType, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer URL, + ffi.Pointer MIMEType, int length, - ffi.Pointer name, + ffi.Pointer name, ) { - return __objc_msgSend_877( - obj, - sel, - URL, - MIMEType, - length, - name, - ); + return __objc_msgSend_877(obj, sel, URL, MIMEType, length, name); } late final __objc_msgSend_877Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Long, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_877 = __objc_msgSend_877Ptr.asFunction< + ffi.NativeFunction< instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer)>(); - - late final _sel_MIMEType1 = _registerName1("MIMEType"); - late final _sel_expectedContentLength1 = - _registerName1("expectedContentLength"); - late final _sel_textEncodingName1 = _registerName1("textEncodingName"); - late final _sel_suggestedFilename1 = _registerName1("suggestedFilename"); - late final _sel_response1 = _registerName1("response"); - ffi.Pointer _objc_msgSend_878( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_878( - obj, - sel, - ); + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Long, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_877 = + __objc_msgSend_877Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ) + >(); + + late final _sel_MIMEType1 = objc.registerName("MIMEType"); + late final _sel_expectedContentLength1 = objc.registerName( + "expectedContentLength", + ); + late final _sel_textEncodingName1 = objc.registerName("textEncodingName"); + late final _sel_suggestedFilename1 = objc.registerName("suggestedFilename"); + late final _sel_response1 = objc.registerName("response"); + ffi.Pointer _objc_msgSend_878( + ffi.Pointer obj, + ffi.Pointer sel, + ) { + return __objc_msgSend_878(obj, sel); } late final __objc_msgSend_878Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_878 = __objc_msgSend_878Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_progress1 = _registerName1("progress"); - ffi.Pointer _objc_msgSend_879( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_879( - obj, - sel, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_878 = + __objc_msgSend_878Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_progress1 = objc.registerName("progress"); + ffi.Pointer _objc_msgSend_879( + ffi.Pointer obj, + ffi.Pointer sel, + ) { + return __objc_msgSend_879(obj, sel); } late final __objc_msgSend_879Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_879 = __objc_msgSend_879Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_earliestBeginDate1 = _registerName1("earliestBeginDate"); - late final _sel_setEarliestBeginDate_1 = - _registerName1("setEarliestBeginDate:"); - late final _sel_countOfBytesClientExpectsToSend1 = - _registerName1("countOfBytesClientExpectsToSend"); - late final _sel_setCountOfBytesClientExpectsToSend_1 = - _registerName1("setCountOfBytesClientExpectsToSend:"); - late final _sel_countOfBytesClientExpectsToReceive1 = - _registerName1("countOfBytesClientExpectsToReceive"); - late final _sel_setCountOfBytesClientExpectsToReceive_1 = - _registerName1("setCountOfBytesClientExpectsToReceive:"); - late final _sel_countOfBytesSent1 = _registerName1("countOfBytesSent"); - late final _sel_countOfBytesReceived1 = - _registerName1("countOfBytesReceived"); - late final _sel_countOfBytesExpectedToSend1 = - _registerName1("countOfBytesExpectedToSend"); - late final _sel_countOfBytesExpectedToReceive1 = - _registerName1("countOfBytesExpectedToReceive"); - late final _sel_taskDescription1 = _registerName1("taskDescription"); - late final _sel_setTaskDescription_1 = _registerName1("setTaskDescription:"); - late final _sel_state1 = _registerName1("state"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_879 = + __objc_msgSend_879Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_earliestBeginDate1 = objc.registerName("earliestBeginDate"); + late final _sel_setEarliestBeginDate_1 = objc.registerName( + "setEarliestBeginDate:", + ); + late final _sel_countOfBytesClientExpectsToSend1 = objc.registerName( + "countOfBytesClientExpectsToSend", + ); + late final _sel_setCountOfBytesClientExpectsToSend_1 = objc.registerName( + "setCountOfBytesClientExpectsToSend:", + ); + late final _sel_countOfBytesClientExpectsToReceive1 = objc.registerName( + "countOfBytesClientExpectsToReceive", + ); + late final _sel_setCountOfBytesClientExpectsToReceive_1 = objc.registerName( + "setCountOfBytesClientExpectsToReceive:", + ); + late final _sel_countOfBytesSent1 = objc.registerName("countOfBytesSent"); + late final _sel_countOfBytesReceived1 = objc.registerName( + "countOfBytesReceived", + ); + late final _sel_countOfBytesExpectedToSend1 = objc.registerName( + "countOfBytesExpectedToSend", + ); + late final _sel_countOfBytesExpectedToReceive1 = objc.registerName( + "countOfBytesExpectedToReceive", + ); + late final _sel_taskDescription1 = objc.registerName("taskDescription"); + late final _sel_setTaskDescription_1 = objc.registerName( + "setTaskDescription:", + ); + late final _sel_state1 = objc.registerName("state"); int _objc_msgSend_880( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_880( - obj, - sel, - ); + return __objc_msgSend_880(obj, sel); } late final __objc_msgSend_880Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_880 = __objc_msgSend_880Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer)>(); - - late final _sel_suspend1 = _registerName1("suspend"); - late final _sel_priority1 = _registerName1("priority"); - late final _sel_setPriority_1 = _registerName1("setPriority:"); + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_880 = + __objc_msgSend_880Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_suspend1 = objc.registerName("suspend"); + late final _sel_priority1 = objc.registerName("priority"); + late final _sel_setPriority_1 = objc.registerName("setPriority:"); void _objc_msgSend_881( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, double value, ) { - return __objc_msgSend_881( - obj, - sel, - value, - ); + return __objc_msgSend_881(obj, sel, value); } late final __objc_msgSend_881Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Float)>>('objc_msgSend'); - late final __objc_msgSend_881 = __objc_msgSend_881Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, double)>(); - - late final _sel_prefersIncrementalDelivery1 = - _registerName1("prefersIncrementalDelivery"); - late final _sel_setPrefersIncrementalDelivery_1 = - _registerName1("setPrefersIncrementalDelivery:"); - late final _sel_storeCookies_forTask_1 = - _registerName1("storeCookies:forTask:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Float, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_881 = + __objc_msgSend_881Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + double, + ) + >(); + + late final _sel_prefersIncrementalDelivery1 = objc.registerName( + "prefersIncrementalDelivery", + ); + late final _sel_setPrefersIncrementalDelivery_1 = objc.registerName( + "setPrefersIncrementalDelivery:", + ); + late final _sel_storeCookies_forTask_1 = objc.registerName( + "storeCookies:forTask:", + ); void _objc_msgSend_882( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer cookies, - ffi.Pointer task, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer cookies, + ffi.Pointer task, ) { - return __objc_msgSend_882( - obj, - sel, - cookies, - task, - ); + return __objc_msgSend_882(obj, sel, cookies, task); } late final __objc_msgSend_882Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_882 = __objc_msgSend_882Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_getCookiesForTask_completionHandler_1 = - _registerName1("getCookiesForTask:completionHandler:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_882 = + __objc_msgSend_882Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_getCookiesForTask_completionHandler_1 = objc.registerName( + "getCookiesForTask:completionHandler:", + ); void _objc_msgSend_883( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer task, - ffi.Pointer<_ObjCBlock> completionHandler, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer task, + ffi.Pointer completionHandler, ) { - return __objc_msgSend_883( - obj, - sel, - task, - completionHandler, - ); + return __objc_msgSend_883(obj, sel, task, completionHandler); } late final __objc_msgSend_883Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_883 = __objc_msgSend_883Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer<_ObjCBlock>)>(); - - late final _class_NSIndexPath1 = _getClass1("NSIndexPath"); - late final _sel_indexPathWithIndex_1 = _registerName1("indexPathWithIndex:"); - late final _sel_indexPathWithIndexes_length_1 = - _registerName1("indexPathWithIndexes:length:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_883 = + __objc_msgSend_883Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _class_NSIndexPath1 = objc.getClass("NSIndexPath"); + late final _sel_indexPathWithIndex_1 = objc.registerName( + "indexPathWithIndex:", + ); + late final _sel_indexPathWithIndexes_length_1 = objc.registerName( + "indexPathWithIndexes:length:", + ); instancetype _objc_msgSend_884( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ffi.Pointer indexes, int length, ) { - return __objc_msgSend_884( - obj, - sel, - indexes, - length, - ); + return __objc_msgSend_884(obj, sel, indexes, length); } late final __objc_msgSend_884Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_884 = + __objc_msgSend_884Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong)>>('objc_msgSend'); - late final __objc_msgSend_884 = __objc_msgSend_884Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int)>(); - - late final _sel_initWithIndexes_length_1 = - _registerName1("initWithIndexes:length:"); - late final _sel_indexPathByAddingIndex_1 = - _registerName1("indexPathByAddingIndex:"); - ffi.Pointer _objc_msgSend_885( - ffi.Pointer obj, - ffi.Pointer sel, + int, + ) + >(); + + late final _sel_initWithIndexes_length_1 = objc.registerName( + "initWithIndexes:length:", + ); + late final _sel_indexPathByAddingIndex_1 = objc.registerName( + "indexPathByAddingIndex:", + ); + ffi.Pointer _objc_msgSend_885( + ffi.Pointer obj, + ffi.Pointer sel, int index, ) { - return __objc_msgSend_885( - obj, - sel, - index, - ); + return __objc_msgSend_885(obj, sel, index); } late final __objc_msgSend_885Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.UnsignedLong)>>('objc_msgSend'); - late final __objc_msgSend_885 = __objc_msgSend_885Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_indexPathByRemovingLastIndex1 = - _registerName1("indexPathByRemovingLastIndex"); - ffi.Pointer _objc_msgSend_886( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_886( - obj, - sel, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_885 = + __objc_msgSend_885Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_indexPathByRemovingLastIndex1 = objc.registerName( + "indexPathByRemovingLastIndex", + ); + ffi.Pointer _objc_msgSend_886( + ffi.Pointer obj, + ffi.Pointer sel, + ) { + return __objc_msgSend_886(obj, sel); } late final __objc_msgSend_886Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_886 = __objc_msgSend_886Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_indexAtPosition_1 = _registerName1("indexAtPosition:"); - late final _sel_getIndexes_range_1 = _registerName1("getIndexes:range:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_886 = + __objc_msgSend_886Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_indexAtPosition_1 = objc.registerName("indexAtPosition:"); + late final _sel_getIndexes_range_1 = objc.registerName("getIndexes:range:"); void _objc_msgSend_887( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ffi.Pointer indexes, _NSRange positionRange, ) { - return __objc_msgSend_887( - obj, - sel, - indexes, - positionRange, - ); + return __objc_msgSend_887(obj, sel, indexes, positionRange); } late final __objc_msgSend_887Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, _NSRange)>>('objc_msgSend'); - late final __objc_msgSend_887 = __objc_msgSend_887Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, _NSRange)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_887 = + __objc_msgSend_887Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange, + ) + >(); int _objc_msgSend_888( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer otherObject, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer otherObject, ) { - return __objc_msgSend_888( - obj, - sel, - otherObject, - ); + return __objc_msgSend_888(obj, sel, otherObject); } late final __objc_msgSend_888Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_888 = __objc_msgSend_888Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_getIndexes_1 = _registerName1("getIndexes:"); + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_888 = + __objc_msgSend_888Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_getIndexes_1 = objc.registerName("getIndexes:"); void _objc_msgSend_889( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ffi.Pointer indexes, ) { - return __objc_msgSend_889( - obj, - sel, - indexes, - ); + return __objc_msgSend_889(obj, sel, indexes); } late final __objc_msgSend_889Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_889 = __objc_msgSend_889Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _class_NSInflectionRule1 = _getClass1("NSInflectionRule"); - late final _sel_automaticRule1 = _registerName1("automaticRule"); - ffi.Pointer _objc_msgSend_890( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_890( - obj, - sel, - ); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_889 = + __objc_msgSend_889Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _class_NSInflectionRule1 = objc.getClass("NSInflectionRule"); + late final _sel_automaticRule1 = objc.registerName("automaticRule"); + ffi.Pointer _objc_msgSend_890( + ffi.Pointer obj, + ffi.Pointer sel, + ) { + return __objc_msgSend_890(obj, sel); } late final __objc_msgSend_890Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_890 = __objc_msgSend_890Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_canInflectLanguage_1 = _registerName1("canInflectLanguage:"); - late final _sel_canInflectPreferredLocalization1 = - _registerName1("canInflectPreferredLocalization"); - late final _class_NSMorphology1 = _getClass1("NSMorphology"); - late final _sel_grammaticalGender1 = _registerName1("grammaticalGender"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_890 = + __objc_msgSend_890Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_canInflectLanguage_1 = objc.registerName( + "canInflectLanguage:", + ); + late final _sel_canInflectPreferredLocalization1 = objc.registerName( + "canInflectPreferredLocalization", + ); + late final _class_NSMorphology1 = objc.getClass("NSMorphology"); + late final _sel_grammaticalGender1 = objc.registerName("grammaticalGender"); int _objc_msgSend_891( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_891( - obj, - sel, - ); + return __objc_msgSend_891(obj, sel); } late final __objc_msgSend_891Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_891 = __objc_msgSend_891Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer)>(); - - late final _sel_setGrammaticalGender_1 = - _registerName1("setGrammaticalGender:"); + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_891 = + __objc_msgSend_891Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_setGrammaticalGender_1 = objc.registerName( + "setGrammaticalGender:", + ); void _objc_msgSend_892( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int value, ) { - return __objc_msgSend_892( - obj, - sel, - value, - ); + return __objc_msgSend_892(obj, sel, value); } late final __objc_msgSend_892Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_892 = __objc_msgSend_892Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_892 = + __objc_msgSend_892Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); - late final _sel_partOfSpeech1 = _registerName1("partOfSpeech"); + late final _sel_partOfSpeech1 = objc.registerName("partOfSpeech"); int _objc_msgSend_893( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_893( - obj, - sel, - ); + return __objc_msgSend_893(obj, sel); } late final __objc_msgSend_893Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_893 = __objc_msgSend_893Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_893 = + __objc_msgSend_893Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); - late final _sel_setPartOfSpeech_1 = _registerName1("setPartOfSpeech:"); + late final _sel_setPartOfSpeech_1 = objc.registerName("setPartOfSpeech:"); void _objc_msgSend_894( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int value, ) { - return __objc_msgSend_894( - obj, - sel, - value, - ); + return __objc_msgSend_894(obj, sel, value); } late final __objc_msgSend_894Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_894 = __objc_msgSend_894Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_894 = + __objc_msgSend_894Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); - late final _sel_number1 = _registerName1("number"); + late final _sel_number1 = objc.registerName("number"); int _objc_msgSend_895( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_895( - obj, - sel, - ); + return __objc_msgSend_895(obj, sel); } late final __objc_msgSend_895Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_895 = __objc_msgSend_895Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_895 = + __objc_msgSend_895Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); - late final _sel_setNumber_1 = _registerName1("setNumber:"); + late final _sel_setNumber_1 = objc.registerName("setNumber:"); void _objc_msgSend_896( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int value, ) { - return __objc_msgSend_896( - obj, - sel, - value, - ); + return __objc_msgSend_896(obj, sel, value); } late final __objc_msgSend_896Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_896 = __objc_msgSend_896Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_896 = + __objc_msgSend_896Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); - late final _sel_grammaticalCase1 = _registerName1("grammaticalCase"); + late final _sel_grammaticalCase1 = objc.registerName("grammaticalCase"); int _objc_msgSend_897( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_897( - obj, - sel, - ); + return __objc_msgSend_897(obj, sel); } late final __objc_msgSend_897Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_897 = __objc_msgSend_897Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer)>(); - - late final _sel_setGrammaticalCase_1 = _registerName1("setGrammaticalCase:"); + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_897 = + __objc_msgSend_897Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_setGrammaticalCase_1 = objc.registerName( + "setGrammaticalCase:", + ); void _objc_msgSend_898( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int value, ) { - return __objc_msgSend_898( - obj, - sel, - value, - ); + return __objc_msgSend_898(obj, sel, value); } late final __objc_msgSend_898Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_898 = __objc_msgSend_898Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_898 = + __objc_msgSend_898Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); - late final _sel_determination1 = _registerName1("determination"); + late final _sel_determination1 = objc.registerName("determination"); int _objc_msgSend_899( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_899( - obj, - sel, - ); + return __objc_msgSend_899(obj, sel); } late final __objc_msgSend_899Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_899 = __objc_msgSend_899Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_899 = + __objc_msgSend_899Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); - late final _sel_setDetermination_1 = _registerName1("setDetermination:"); + late final _sel_setDetermination_1 = objc.registerName("setDetermination:"); void _objc_msgSend_900( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int value, ) { - return __objc_msgSend_900( - obj, - sel, - value, - ); + return __objc_msgSend_900(obj, sel, value); } late final __objc_msgSend_900Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_900 = __objc_msgSend_900Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_900 = + __objc_msgSend_900Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); - late final _sel_grammaticalPerson1 = _registerName1("grammaticalPerson"); + late final _sel_grammaticalPerson1 = objc.registerName("grammaticalPerson"); int _objc_msgSend_901( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_901( - obj, - sel, - ); + return __objc_msgSend_901(obj, sel); } late final __objc_msgSend_901Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_901 = __objc_msgSend_901Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer)>(); - - late final _sel_setGrammaticalPerson_1 = - _registerName1("setGrammaticalPerson:"); + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_901 = + __objc_msgSend_901Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_setGrammaticalPerson_1 = objc.registerName( + "setGrammaticalPerson:", + ); void _objc_msgSend_902( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int value, ) { - return __objc_msgSend_902( - obj, - sel, - value, - ); + return __objc_msgSend_902(obj, sel, value); } late final __objc_msgSend_902Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_902 = __objc_msgSend_902Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_902 = + __objc_msgSend_902Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); - late final _sel_pronounType1 = _registerName1("pronounType"); + late final _sel_pronounType1 = objc.registerName("pronounType"); int _objc_msgSend_903( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_903( - obj, - sel, - ); + return __objc_msgSend_903(obj, sel); } late final __objc_msgSend_903Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_903 = __objc_msgSend_903Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_903 = + __objc_msgSend_903Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); - late final _sel_setPronounType_1 = _registerName1("setPronounType:"); + late final _sel_setPronounType_1 = objc.registerName("setPronounType:"); void _objc_msgSend_904( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int value, ) { - return __objc_msgSend_904( - obj, - sel, - value, - ); + return __objc_msgSend_904(obj, sel, value); } late final __objc_msgSend_904Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_904 = __objc_msgSend_904Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_904 = + __objc_msgSend_904Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); - late final _sel_definiteness1 = _registerName1("definiteness"); + late final _sel_definiteness1 = objc.registerName("definiteness"); int _objc_msgSend_905( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_905( - obj, - sel, - ); + return __objc_msgSend_905(obj, sel); } late final __objc_msgSend_905Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_905 = __objc_msgSend_905Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_905 = + __objc_msgSend_905Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); - late final _sel_setDefiniteness_1 = _registerName1("setDefiniteness:"); + late final _sel_setDefiniteness_1 = objc.registerName("setDefiniteness:"); void _objc_msgSend_906( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int value, ) { - return __objc_msgSend_906( - obj, - sel, - value, - ); + return __objc_msgSend_906(obj, sel, value); } late final __objc_msgSend_906Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_906 = __objc_msgSend_906Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int)>(); - - late final _class_NSMorphologyCustomPronoun1 = - _getClass1("NSMorphologyCustomPronoun"); - late final _sel_isSupportedForLanguage_1 = - _registerName1("isSupportedForLanguage:"); - late final _sel_requiredKeysForLanguage_1 = - _registerName1("requiredKeysForLanguage:"); - late final _sel_subjectForm1 = _registerName1("subjectForm"); - late final _sel_setSubjectForm_1 = _registerName1("setSubjectForm:"); - late final _sel_objectForm1 = _registerName1("objectForm"); - late final _sel_setObjectForm_1 = _registerName1("setObjectForm:"); - late final _sel_possessiveForm1 = _registerName1("possessiveForm"); - late final _sel_setPossessiveForm_1 = _registerName1("setPossessiveForm:"); - late final _sel_possessiveAdjectiveForm1 = - _registerName1("possessiveAdjectiveForm"); - late final _sel_setPossessiveAdjectiveForm_1 = - _registerName1("setPossessiveAdjectiveForm:"); - late final _sel_reflexiveForm1 = _registerName1("reflexiveForm"); - late final _sel_setReflexiveForm_1 = _registerName1("setReflexiveForm:"); - late final _sel_customPronounForLanguage_1 = - _registerName1("customPronounForLanguage:"); - ffi.Pointer _objc_msgSend_907( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer language, - ) { - return __objc_msgSend_907( - obj, - sel, - language, - ); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_906 = + __objc_msgSend_906Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _class_NSMorphologyCustomPronoun1 = objc.getClass( + "NSMorphologyCustomPronoun", + ); + late final _sel_isSupportedForLanguage_1 = objc.registerName( + "isSupportedForLanguage:", + ); + late final _sel_requiredKeysForLanguage_1 = objc.registerName( + "requiredKeysForLanguage:", + ); + late final _sel_subjectForm1 = objc.registerName("subjectForm"); + late final _sel_setSubjectForm_1 = objc.registerName("setSubjectForm:"); + late final _sel_objectForm1 = objc.registerName("objectForm"); + late final _sel_setObjectForm_1 = objc.registerName("setObjectForm:"); + late final _sel_possessiveForm1 = objc.registerName("possessiveForm"); + late final _sel_setPossessiveForm_1 = objc.registerName("setPossessiveForm:"); + late final _sel_possessiveAdjectiveForm1 = objc.registerName( + "possessiveAdjectiveForm", + ); + late final _sel_setPossessiveAdjectiveForm_1 = objc.registerName( + "setPossessiveAdjectiveForm:", + ); + late final _sel_reflexiveForm1 = objc.registerName("reflexiveForm"); + late final _sel_setReflexiveForm_1 = objc.registerName("setReflexiveForm:"); + late final _sel_customPronounForLanguage_1 = objc.registerName( + "customPronounForLanguage:", + ); + ffi.Pointer _objc_msgSend_907( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer language, + ) { + return __objc_msgSend_907(obj, sel, language); } late final __objc_msgSend_907Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_907 = __objc_msgSend_907Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_setCustomPronoun_forLanguage_error_1 = - _registerName1("setCustomPronoun:forLanguage:error:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_907 = + __objc_msgSend_907Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_setCustomPronoun_forLanguage_error_1 = objc.registerName( + "setCustomPronoun:forLanguage:error:", + ); bool _objc_msgSend_908( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer features, - ffi.Pointer language, - ffi.Pointer> error, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer features, + ffi.Pointer language, + ffi.Pointer> error, ) { - return __objc_msgSend_908( - obj, - sel, - features, - language, - error, - ); + return __objc_msgSend_908(obj, sel, features, language, error); } late final __objc_msgSend_908Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_908 = __objc_msgSend_908Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>(); - - late final _sel_isUnspecified1 = _registerName1("isUnspecified"); - late final _sel_userMorphology1 = _registerName1("userMorphology"); - ffi.Pointer _objc_msgSend_909( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_909( - obj, - sel, - ); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_908 = + __objc_msgSend_908Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + >(); + + late final _sel_isUnspecified1 = objc.registerName("isUnspecified"); + late final _sel_userMorphology1 = objc.registerName("userMorphology"); + ffi.Pointer _objc_msgSend_909( + ffi.Pointer obj, + ffi.Pointer sel, + ) { + return __objc_msgSend_909(obj, sel); } late final __objc_msgSend_909Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_909 = __objc_msgSend_909Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); - - late final _class_NSOperationQueue1 = _getClass1("NSOperationQueue"); - late final _class_NSOperation1 = _getClass1("NSOperation"); - late final _sel_isConcurrent1 = _registerName1("isConcurrent"); - late final _sel_isAsynchronous1 = _registerName1("isAsynchronous"); - late final _sel_isReady1 = _registerName1("isReady"); - late final _sel_addDependency_1 = _registerName1("addDependency:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_909 = + __objc_msgSend_909Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _class_NSOperationQueue1 = objc.getClass("NSOperationQueue"); + late final _class_NSOperation1 = objc.getClass("NSOperation"); + late final _sel_isConcurrent1 = objc.registerName("isConcurrent"); + late final _sel_isAsynchronous1 = objc.registerName("isAsynchronous"); + late final _sel_isReady1 = objc.registerName("isReady"); + late final _sel_addDependency_1 = objc.registerName("addDependency:"); void _objc_msgSend_910( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer op, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer op, ) { - return __objc_msgSend_910( - obj, - sel, - op, - ); + return __objc_msgSend_910(obj, sel, op); } late final __objc_msgSend_910Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_910 = __objc_msgSend_910Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_removeDependency_1 = _registerName1("removeDependency:"); - late final _sel_dependencies1 = _registerName1("dependencies"); - late final _sel_queuePriority1 = _registerName1("queuePriority"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_910 = + __objc_msgSend_910Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_removeDependency_1 = objc.registerName("removeDependency:"); + late final _sel_dependencies1 = objc.registerName("dependencies"); + late final _sel_queuePriority1 = objc.registerName("queuePriority"); int _objc_msgSend_911( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_911( - obj, - sel, - ); + return __objc_msgSend_911(obj, sel); } late final __objc_msgSend_911Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_911 = __objc_msgSend_911Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_911 = + __objc_msgSend_911Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); - late final _sel_setQueuePriority_1 = _registerName1("setQueuePriority:"); + late final _sel_setQueuePriority_1 = objc.registerName("setQueuePriority:"); void _objc_msgSend_912( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int value, ) { - return __objc_msgSend_912( - obj, - sel, - value, - ); + return __objc_msgSend_912(obj, sel, value); } late final __objc_msgSend_912Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_912 = __objc_msgSend_912Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_completionBlock1 = _registerName1("completionBlock"); - late final _sel_setCompletionBlock_1 = _registerName1("setCompletionBlock:"); - late final _sel_waitUntilFinished1 = _registerName1("waitUntilFinished"); - late final _sel_addOperation_1 = _registerName1("addOperation:"); - late final _sel_addOperations_waitUntilFinished_1 = - _registerName1("addOperations:waitUntilFinished:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_912 = + __objc_msgSend_912Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_completionBlock1 = objc.registerName("completionBlock"); + late final _sel_setCompletionBlock_1 = objc.registerName( + "setCompletionBlock:", + ); + late final _sel_waitUntilFinished1 = objc.registerName("waitUntilFinished"); + late final _sel_addOperation_1 = objc.registerName("addOperation:"); + late final _sel_addOperations_waitUntilFinished_1 = objc.registerName( + "addOperations:waitUntilFinished:", + ); void _objc_msgSend_913( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer ops, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer ops, bool wait, ) { - return __objc_msgSend_913( - obj, - sel, - ops, - wait, - ); + return __objc_msgSend_913(obj, sel, ops, wait); } late final __objc_msgSend_913Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Bool)>>('objc_msgSend'); - late final __objc_msgSend_913 = __objc_msgSend_913Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, bool)>(); - - late final _sel_addOperationWithBlock_1 = - _registerName1("addOperationWithBlock:"); - late final _sel_addBarrierBlock_1 = _registerName1("addBarrierBlock:"); - late final _sel_maxConcurrentOperationCount1 = - _registerName1("maxConcurrentOperationCount"); - late final _sel_setMaxConcurrentOperationCount_1 = - _registerName1("setMaxConcurrentOperationCount:"); - late final _sel_isSuspended1 = _registerName1("isSuspended"); - late final _sel_setSuspended_1 = _registerName1("setSuspended:"); - late final _sel_underlyingQueue1 = _registerName1("underlyingQueue"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_913 = + __objc_msgSend_913Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool, + ) + >(); + + late final _sel_addOperationWithBlock_1 = objc.registerName( + "addOperationWithBlock:", + ); + late final _sel_addBarrierBlock_1 = objc.registerName("addBarrierBlock:"); + late final _sel_maxConcurrentOperationCount1 = objc.registerName( + "maxConcurrentOperationCount", + ); + late final _sel_setMaxConcurrentOperationCount_1 = objc.registerName( + "setMaxConcurrentOperationCount:", + ); + late final _sel_isSuspended1 = objc.registerName("isSuspended"); + late final _sel_setSuspended_1 = objc.registerName("setSuspended:"); + late final _sel_underlyingQueue1 = objc.registerName("underlyingQueue"); ffi.Pointer _objc_msgSend_914( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_914( - obj, - sel, - ); + return __objc_msgSend_914(obj, sel); } late final __objc_msgSend_914Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_914 = __objc_msgSend_914Ptr.asFunction< + ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_setUnderlyingQueue_1 = _registerName1("setUnderlyingQueue:"); + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_914 = + __objc_msgSend_914Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_setUnderlyingQueue_1 = objc.registerName( + "setUnderlyingQueue:", + ); void _objc_msgSend_915( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ffi.Pointer value, ) { - return __objc_msgSend_915( - obj, - sel, - value, - ); + return __objc_msgSend_915(obj, sel, value); } late final __objc_msgSend_915Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_915 = __objc_msgSend_915Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_cancelAllOperations1 = _registerName1("cancelAllOperations"); - late final _sel_waitUntilAllOperationsAreFinished1 = - _registerName1("waitUntilAllOperationsAreFinished"); - late final _sel_currentQueue1 = _registerName1("currentQueue"); - ffi.Pointer _objc_msgSend_916( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_916( - obj, - sel, - ); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_915 = + __objc_msgSend_915Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_cancelAllOperations1 = objc.registerName( + "cancelAllOperations", + ); + late final _sel_waitUntilAllOperationsAreFinished1 = objc.registerName( + "waitUntilAllOperationsAreFinished", + ); + late final _sel_currentQueue1 = objc.registerName("currentQueue"); + ffi.Pointer _objc_msgSend_916( + ffi.Pointer obj, + ffi.Pointer sel, + ) { + return __objc_msgSend_916(obj, sel); } late final __objc_msgSend_916Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_916 = __objc_msgSend_916Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_mainQueue1 = _registerName1("mainQueue"); - ffi.Pointer _objc_msgSend_917( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_917( - obj, - sel, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_916 = + __objc_msgSend_916Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_mainQueue1 = objc.registerName("mainQueue"); + ffi.Pointer _objc_msgSend_917( + ffi.Pointer obj, + ffi.Pointer sel, + ) { + return __objc_msgSend_917(obj, sel); } late final __objc_msgSend_917Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_917 = __objc_msgSend_917Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_operations1 = _registerName1("operations"); - late final _sel_operationCount1 = _registerName1("operationCount"); - late final _class_NSPointerArray1 = _getClass1("NSPointerArray"); - late final _sel_initWithOptions_1 = _registerName1("initWithOptions:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_917 = + __objc_msgSend_917Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_operations1 = objc.registerName("operations"); + late final _sel_operationCount1 = objc.registerName("operationCount"); + late final _class_NSPointerArray1 = objc.getClass("NSPointerArray"); + late final _sel_initWithOptions_1 = objc.registerName("initWithOptions:"); instancetype _objc_msgSend_918( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int options, ) { - return __objc_msgSend_918( - obj, - sel, - options, - ); + return __objc_msgSend_918(obj, sel, options); } late final __objc_msgSend_918Ptr = _lookup< - ffi.NativeFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_918 = __objc_msgSend_918Ptr.asFunction< + ffi.NativeFunction< instancetype Function( - ffi.Pointer, ffi.Pointer, int)>(); - - late final _class_NSPointerFunctions1 = _getClass1("NSPointerFunctions"); - late final _sel_pointerFunctionsWithOptions_1 = - _registerName1("pointerFunctionsWithOptions:"); - ffi.Pointer _objc_msgSend_919( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_918 = + __objc_msgSend_918Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _class_NSPointerFunctions1 = objc.getClass("NSPointerFunctions"); + late final _sel_pointerFunctionsWithOptions_1 = objc.registerName( + "pointerFunctionsWithOptions:", + ); + ffi.Pointer _objc_msgSend_919( + ffi.Pointer obj, + ffi.Pointer sel, int options, ) { - return __objc_msgSend_919( - obj, - sel, - options, - ); + return __objc_msgSend_919(obj, sel, options); } late final __objc_msgSend_919Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_919 = __objc_msgSend_919Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_hashFunction1 = _registerName1("hashFunction"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_919 = + __objc_msgSend_919Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_hashFunction1 = objc.registerName("hashFunction"); ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function(ffi.Pointer)>>)>> - _objc_msgSend_920( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_920( - obj, - sel, - ); + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction)> + >, + ) + > + > + _objc_msgSend_920( + ffi.Pointer obj, + ffi.Pointer sel, + ) { + return __objc_msgSend_920(obj, sel); } late final __objc_msgSend_920Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer)>>)>> - Function(ffi.Pointer, ffi.Pointer)>>( - 'objc_msgSend'); - late final __objc_msgSend_920 = __objc_msgSend_920Ptr.asFunction< + ffi.NativeFunction< ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer, + ffi.Pointer< ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer)>>)>> - Function(ffi.Pointer, ffi.Pointer)>(); - - late final _sel_setHashFunction_1 = _registerName1("setHashFunction:"); + ffi.UnsignedLong Function(ffi.Pointer) + > + >, + ) + > + > + Function(ffi.Pointer, ffi.Pointer) + > + >('objc_msgSend'); + late final __objc_msgSend_920 = + __objc_msgSend_920Ptr + .asFunction< + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function(ffi.Pointer) + > + >, + ) + > + > + Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_setHashFunction_1 = objc.registerName("setHashFunction:"); void _objc_msgSend_921( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer)>>)>> - value, + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction)> + >, + ) + > + > value, ) { - return __objc_msgSend_921( - obj, - sel, - value, - ); + return __objc_msgSend_921(obj, sel, value); } late final __objc_msgSend_921Ptr = _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer< ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer)>>)>>)>>( - 'objc_msgSend'); - late final __objc_msgSend_921 = __objc_msgSend_921Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function(ffi.Pointer) + > + >, + ) + > + >, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_921 = + __objc_msgSend_921Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< ffi.UnsignedLong Function( - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer)>>)>>)>(); - - late final _sel_isEqualFunction1 = _registerName1("isEqualFunction"); - ffi.Pointer< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer< + ffi.Pointer, + ffi.Pointer< ffi.NativeFunction< - ffi.UnsignedLong Function(ffi.Pointer)>>)>> - _objc_msgSend_922( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_922( - obj, - sel, - ); + ffi.UnsignedLong Function(ffi.Pointer) + > + >, + ) + > + >, + ) + >(); + + late final _sel_isEqualFunction1 = objc.registerName("isEqualFunction"); + ffi.Pointer< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction)> + >, + ) + > + > + _objc_msgSend_922( + ffi.Pointer obj, + ffi.Pointer sel, + ) { + return __objc_msgSend_922(obj, sel); } late final __objc_msgSend_922Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer)>>)>> - Function(ffi.Pointer, ffi.Pointer)>>( - 'objc_msgSend'); - late final __objc_msgSend_922 = __objc_msgSend_922Ptr.asFunction< + ffi.NativeFunction< ffi.Pointer< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer< ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer)>>)>> - Function(ffi.Pointer, ffi.Pointer)>(); - - late final _sel_setIsEqualFunction_1 = _registerName1("setIsEqualFunction:"); + ffi.UnsignedLong Function(ffi.Pointer) + > + >, + ) + > + > + Function(ffi.Pointer, ffi.Pointer) + > + >('objc_msgSend'); + late final __objc_msgSend_922 = + __objc_msgSend_922Ptr + .asFunction< + ffi.Pointer< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function(ffi.Pointer) + > + >, + ) + > + > + Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_setIsEqualFunction_1 = objc.registerName( + "setIsEqualFunction:", + ); void _objc_msgSend_923( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ffi.Pointer< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer)>>)>> - value, + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction)> + >, + ) + > + > value, ) { - return __objc_msgSend_923( - obj, - sel, - value, - ); + return __objc_msgSend_923(obj, sel, value); } late final __objc_msgSend_923Ptr = _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer< ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer)>>)>>)>>( - 'objc_msgSend'); - late final __objc_msgSend_923 = __objc_msgSend_923Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function(ffi.Pointer) + > + >, + ) + > + >, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_923 = + __objc_msgSend_923Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer)>>)>>)>(); - - late final _sel_sizeFunction1 = _registerName1("sizeFunction"); + ffi.Pointer, + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function(ffi.Pointer) + > + >, + ) + > + >, + ) + >(); + + late final _sel_sizeFunction1 = objc.registerName("sizeFunction"); ffi.Pointer< - ffi.NativeFunction)>> - _objc_msgSend_924( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.NativeFunction)> + > + _objc_msgSend_924( + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_924( - obj, - sel, - ); + return __objc_msgSend_924(obj, sel); } late final __objc_msgSend_924Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function(ffi.Pointer)>> - Function(ffi.Pointer, ffi.Pointer)>>( - 'objc_msgSend'); - late final __objc_msgSend_924 = __objc_msgSend_924Ptr.asFunction< + ffi.NativeFunction< ffi.Pointer< - ffi - .NativeFunction)>> - Function(ffi.Pointer, ffi.Pointer)>(); - - late final _sel_setSizeFunction_1 = _registerName1("setSizeFunction:"); + ffi.NativeFunction)> + > + Function(ffi.Pointer, ffi.Pointer) + > + >('objc_msgSend'); + late final __objc_msgSend_924 = + __objc_msgSend_924Ptr + .asFunction< + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function(ffi.Pointer) + > + > + Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_setSizeFunction_1 = objc.registerName("setSizeFunction:"); void _objc_msgSend_925( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ffi.Pointer< - ffi - .NativeFunction)>> - value, + ffi.NativeFunction)> + > value, ) { - return __objc_msgSend_925( - obj, - sel, - value, - ); + return __objc_msgSend_925(obj, sel, value); } late final __objc_msgSend_925Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction)> + >, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_925 = + __objc_msgSend_925Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer)>>)>>('objc_msgSend'); - late final __objc_msgSend_925 = __objc_msgSend_925Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function(ffi.Pointer)>>)>(); - - late final _sel_descriptionFunction1 = _registerName1("descriptionFunction"); + ffi.NativeFunction< + ffi.UnsignedLong Function(ffi.Pointer) + > + >, + ) + >(); + + late final _sel_descriptionFunction1 = objc.registerName( + "descriptionFunction", + ); ffi.Pointer< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer)>> - _objc_msgSend_926( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.NativeFunction< + ffi.Pointer Function(ffi.Pointer) + > + > + _objc_msgSend_926( + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_926( - obj, - sel, - ); + return __objc_msgSend_926(obj, sel); } - late final __objc_msgSend_926Ptr = - _lookup< - ffi.NativeFunction< - ffi.Pointer< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer)>> - Function(ffi.Pointer, ffi.Pointer)>>( - 'objc_msgSend'); - late final __objc_msgSend_926 = __objc_msgSend_926Ptr.asFunction< + late final __objc_msgSend_926Ptr = _lookup< + ffi.NativeFunction< ffi.Pointer< + ffi.NativeFunction< + ffi.Pointer Function(ffi.Pointer) + > + > + Function(ffi.Pointer, ffi.Pointer) + > + >('objc_msgSend'); + late final __objc_msgSend_926 = + __objc_msgSend_926Ptr + .asFunction< + ffi.Pointer< ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer)>> - Function(ffi.Pointer, ffi.Pointer)>(); - - late final _sel_setDescriptionFunction_1 = - _registerName1("setDescriptionFunction:"); + ffi.Pointer Function(ffi.Pointer) + > + > + Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_setDescriptionFunction_1 = objc.registerName( + "setDescriptionFunction:", + ); void _objc_msgSend_927( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ffi.Pointer< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer)>> - value, + ffi.NativeFunction< + ffi.Pointer Function(ffi.Pointer) + > + > value, ) { - return __objc_msgSend_927( - obj, - sel, - value, - ); + return __objc_msgSend_927(obj, sel, value); } late final __objc_msgSend_927Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.Pointer Function(ffi.Pointer) + > + >, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_927 = + __objc_msgSend_927Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, ffi.Pointer< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer)>>)>>('objc_msgSend'); - late final __objc_msgSend_927 = __objc_msgSend_927Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer)>>)>(); + ffi.NativeFunction< + ffi.Pointer Function(ffi.Pointer) + > + >, + ) + >(); - late final _sel_relinquishFunction1 = _registerName1("relinquishFunction"); + late final _sel_relinquishFunction1 = objc.registerName("relinquishFunction"); ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function(ffi.Pointer)>>)>> - _objc_msgSend_928( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction)> + >, + ) + > + > + _objc_msgSend_928( + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_928( - obj, - sel, - ); + return __objc_msgSend_928(obj, sel); } late final __objc_msgSend_928Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer)>>)>> - Function(ffi.Pointer, ffi.Pointer)>>( - 'objc_msgSend'); - late final __objc_msgSend_928 = __objc_msgSend_928Ptr.asFunction< + ffi.NativeFunction< ffi.Pointer< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer< ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer)>>)>> - Function(ffi.Pointer, ffi.Pointer)>(); - - late final _sel_setRelinquishFunction_1 = - _registerName1("setRelinquishFunction:"); + ffi.UnsignedLong Function(ffi.Pointer) + > + >, + ) + > + > + Function(ffi.Pointer, ffi.Pointer) + > + >('objc_msgSend'); + late final __objc_msgSend_928 = + __objc_msgSend_928Ptr + .asFunction< + ffi.Pointer< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function(ffi.Pointer) + > + >, + ) + > + > + Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_setRelinquishFunction_1 = objc.registerName( + "setRelinquishFunction:", + ); void _objc_msgSend_929( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer)>>)>> - value, + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction)> + >, + ) + > + > value, ) { - return __objc_msgSend_929( - obj, - sel, - value, - ); + return __objc_msgSend_929(obj, sel, value); } late final __objc_msgSend_929Ptr = _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer< ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer)>>)>>)>>( - 'objc_msgSend'); - late final __objc_msgSend_929 = __objc_msgSend_929Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer)>>)>>)>(); - - late final _sel_acquireFunction1 = _registerName1("acquireFunction"); - ffi.Pointer< - ffi.NativeFunction< - ffi.Pointer Function( + ffi.Void Function( ffi.Pointer, ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function(ffi.Pointer)>>, - ffi.Bool)>> _objc_msgSend_930( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.NativeFunction< + ffi.UnsignedLong Function(ffi.Pointer) + > + >, + ) + > + >, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_929 = + __objc_msgSend_929Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function(ffi.Pointer) + > + >, + ) + > + >, + ) + >(); + + late final _sel_acquireFunction1 = objc.registerName("acquireFunction"); + ffi.Pointer< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction)> + >, + ffi.Bool, + ) + > + > + _objc_msgSend_930( + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_930( - obj, - sel, - ); + return __objc_msgSend_930(obj, sel); } late final __objc_msgSend_930Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer)>>, - ffi.Bool)>> - Function(ffi.Pointer, ffi.Pointer)>>( - 'objc_msgSend'); - late final __objc_msgSend_930 = __objc_msgSend_930Ptr.asFunction< + ffi.NativeFunction< ffi.Pointer< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer)>>, - ffi.Bool)>> - Function(ffi.Pointer, ffi.Pointer)>(); - - late final _sel_setAcquireFunction_1 = _registerName1("setAcquireFunction:"); + ffi.UnsignedLong Function(ffi.Pointer) + > + >, + ffi.Bool, + ) + > + > + Function(ffi.Pointer, ffi.Pointer) + > + >('objc_msgSend'); + late final __objc_msgSend_930 = + __objc_msgSend_930Ptr + .asFunction< + ffi.Pointer< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function(ffi.Pointer) + > + >, + ffi.Bool, + ) + > + > + Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_setAcquireFunction_1 = objc.registerName( + "setAcquireFunction:", + ); void _objc_msgSend_931( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ffi.Pointer< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function(ffi.Pointer)>>, - ffi.Bool)>> - value, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction)> + >, + ffi.Bool, + ) + > + > value, ) { - return __objc_msgSend_931( - obj, - sel, - value, - ); + return __objc_msgSend_931(obj, sel, value); } late final __objc_msgSend_931Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer)>>, - ffi.Bool)>>)>>('objc_msgSend'); - late final __objc_msgSend_931 = __objc_msgSend_931Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.UnsignedLong Function(ffi.Pointer) + > + >, + ffi.Bool, + ) + > + >, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_931 = + __objc_msgSend_931Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer)>>, - ffi.Bool)>>)>(); - - late final _sel_usesStrongWriteBarrier1 = - _registerName1("usesStrongWriteBarrier"); - late final _sel_setUsesStrongWriteBarrier_1 = - _registerName1("setUsesStrongWriteBarrier:"); - late final _sel_usesWeakReadAndWriteBarriers1 = - _registerName1("usesWeakReadAndWriteBarriers"); - late final _sel_setUsesWeakReadAndWriteBarriers_1 = - _registerName1("setUsesWeakReadAndWriteBarriers:"); - late final _sel_initWithPointerFunctions_1 = - _registerName1("initWithPointerFunctions:"); + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function(ffi.Pointer) + > + >, + ffi.Bool, + ) + > + >, + ) + >(); + + late final _sel_usesStrongWriteBarrier1 = objc.registerName( + "usesStrongWriteBarrier", + ); + late final _sel_setUsesStrongWriteBarrier_1 = objc.registerName( + "setUsesStrongWriteBarrier:", + ); + late final _sel_usesWeakReadAndWriteBarriers1 = objc.registerName( + "usesWeakReadAndWriteBarriers", + ); + late final _sel_setUsesWeakReadAndWriteBarriers_1 = objc.registerName( + "setUsesWeakReadAndWriteBarriers:", + ); + late final _sel_initWithPointerFunctions_1 = objc.registerName( + "initWithPointerFunctions:", + ); instancetype _objc_msgSend_932( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer functions, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer functions, ) { - return __objc_msgSend_932( - obj, - sel, - functions, - ); + return __objc_msgSend_932(obj, sel, functions); } late final __objc_msgSend_932Ptr = _lookup< - ffi.NativeFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_932 = __objc_msgSend_932Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_pointerArrayWithOptions_1 = - _registerName1("pointerArrayWithOptions:"); - ffi.Pointer _objc_msgSend_933( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_932 = + __objc_msgSend_932Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_pointerArrayWithOptions_1 = objc.registerName( + "pointerArrayWithOptions:", + ); + ffi.Pointer _objc_msgSend_933( + ffi.Pointer obj, + ffi.Pointer sel, int options, ) { - return __objc_msgSend_933( - obj, - sel, - options, - ); + return __objc_msgSend_933(obj, sel, options); } late final __objc_msgSend_933Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_933 = __objc_msgSend_933Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_pointerArrayWithPointerFunctions_1 = - _registerName1("pointerArrayWithPointerFunctions:"); - ffi.Pointer _objc_msgSend_934( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer functions, - ) { - return __objc_msgSend_934( - obj, - sel, - functions, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_933 = + __objc_msgSend_933Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_pointerArrayWithPointerFunctions_1 = objc.registerName( + "pointerArrayWithPointerFunctions:", + ); + ffi.Pointer _objc_msgSend_934( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer functions, + ) { + return __objc_msgSend_934(obj, sel, functions); } late final __objc_msgSend_934Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_934 = __objc_msgSend_934Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_pointerFunctions1 = _registerName1("pointerFunctions"); - ffi.Pointer _objc_msgSend_935( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_935( - obj, - sel, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_934 = + __objc_msgSend_934Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_pointerFunctions1 = objc.registerName("pointerFunctions"); + ffi.Pointer _objc_msgSend_935( + ffi.Pointer obj, + ffi.Pointer sel, + ) { + return __objc_msgSend_935(obj, sel); } late final __objc_msgSend_935Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_935 = __objc_msgSend_935Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_935 = + __objc_msgSend_935Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); - late final _sel_pointerAtIndex_1 = _registerName1("pointerAtIndex:"); + late final _sel_pointerAtIndex_1 = objc.registerName("pointerAtIndex:"); ffi.Pointer _objc_msgSend_936( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int index, ) { - return __objc_msgSend_936( - obj, - sel, - index, - ); + return __objc_msgSend_936(obj, sel, index); } late final __objc_msgSend_936Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.UnsignedLong)>>('objc_msgSend'); - late final __objc_msgSend_936 = __objc_msgSend_936Ptr.asFunction< + ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_addPointer_1 = _registerName1("addPointer:"); - late final _sel_removePointerAtIndex_1 = - _registerName1("removePointerAtIndex:"); - late final _sel_insertPointer_atIndex_1 = - _registerName1("insertPointer:atIndex:"); - late final _sel_replacePointerAtIndex_withPointer_1 = - _registerName1("replacePointerAtIndex:withPointer:"); + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_936 = + __objc_msgSend_936Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_addPointer_1 = objc.registerName("addPointer:"); + late final _sel_removePointerAtIndex_1 = objc.registerName( + "removePointerAtIndex:", + ); + late final _sel_insertPointer_atIndex_1 = objc.registerName( + "insertPointer:atIndex:", + ); + late final _sel_replacePointerAtIndex_withPointer_1 = objc.registerName( + "replacePointerAtIndex:withPointer:", + ); void _objc_msgSend_937( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int index, ffi.Pointer item, ) { - return __objc_msgSend_937( - obj, - sel, - index, - item, - ); + return __objc_msgSend_937(obj, sel, index, item); } late final __objc_msgSend_937Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_937 = __objc_msgSend_937Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int, - ffi.Pointer)>(); - - late final _sel_compact1 = _registerName1("compact"); - late final _sel_setCount_1 = _registerName1("setCount:"); - late final _sel_pointerArrayWithStrongObjects1 = - _registerName1("pointerArrayWithStrongObjects"); - late final _sel_pointerArrayWithWeakObjects1 = - _registerName1("pointerArrayWithWeakObjects"); - late final _sel_strongObjectsPointerArray1 = - _registerName1("strongObjectsPointerArray"); - ffi.Pointer _objc_msgSend_938( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_938( - obj, - sel, - ); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_937 = + __objc_msgSend_937Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ) + >(); + + late final _sel_compact1 = objc.registerName("compact"); + late final _sel_setCount_1 = objc.registerName("setCount:"); + late final _sel_pointerArrayWithStrongObjects1 = objc.registerName( + "pointerArrayWithStrongObjects", + ); + late final _sel_pointerArrayWithWeakObjects1 = objc.registerName( + "pointerArrayWithWeakObjects", + ); + late final _sel_strongObjectsPointerArray1 = objc.registerName( + "strongObjectsPointerArray", + ); + ffi.Pointer _objc_msgSend_938( + ffi.Pointer obj, + ffi.Pointer sel, + ) { + return __objc_msgSend_938(obj, sel); } late final __objc_msgSend_938Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_938 = __objc_msgSend_938Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_weakObjectsPointerArray1 = - _registerName1("weakObjectsPointerArray"); - late final _class_NSProcessInfo1 = _getClass1("NSProcessInfo"); - late final _sel_processInfo1 = _registerName1("processInfo"); - ffi.Pointer _objc_msgSend_939( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_939( - obj, - sel, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_938 = + __objc_msgSend_938Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_weakObjectsPointerArray1 = objc.registerName( + "weakObjectsPointerArray", + ); + late final _class_NSProcessInfo1 = objc.getClass("NSProcessInfo"); + late final _sel_processInfo1 = objc.registerName("processInfo"); + ffi.Pointer _objc_msgSend_939( + ffi.Pointer obj, + ffi.Pointer sel, + ) { + return __objc_msgSend_939(obj, sel); } late final __objc_msgSend_939Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_939 = __objc_msgSend_939Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_environment1 = _registerName1("environment"); - late final _sel_hostName1 = _registerName1("hostName"); - late final _sel_processName1 = _registerName1("processName"); - late final _sel_setProcessName_1 = _registerName1("setProcessName:"); - late final _sel_processIdentifier1 = _registerName1("processIdentifier"); - late final _sel_globallyUniqueString1 = - _registerName1("globallyUniqueString"); - late final _sel_operatingSystem1 = _registerName1("operatingSystem"); - late final _sel_operatingSystemName1 = _registerName1("operatingSystemName"); - late final _sel_operatingSystemVersionString1 = - _registerName1("operatingSystemVersionString"); - late final _sel_operatingSystemVersion1 = - _registerName1("operatingSystemVersion"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_939 = + __objc_msgSend_939Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_environment1 = objc.registerName("environment"); + late final _sel_hostName1 = objc.registerName("hostName"); + late final _sel_processName1 = objc.registerName("processName"); + late final _sel_setProcessName_1 = objc.registerName("setProcessName:"); + late final _sel_processIdentifier1 = objc.registerName("processIdentifier"); + late final _sel_globallyUniqueString1 = objc.registerName( + "globallyUniqueString", + ); + late final _sel_operatingSystem1 = objc.registerName("operatingSystem"); + late final _sel_operatingSystemName1 = objc.registerName( + "operatingSystemName", + ); + late final _sel_operatingSystemVersionString1 = objc.registerName( + "operatingSystemVersionString", + ); + late final _sel_operatingSystemVersion1 = objc.registerName( + "operatingSystemVersion", + ); NSOperatingSystemVersion _objc_msgSend_940( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_940( - obj, - sel, - ); + return __objc_msgSend_940(obj, sel); } late final __objc_msgSend_940Ptr = _lookup< - ffi.NativeFunction< - NSOperatingSystemVersion Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_940 = __objc_msgSend_940Ptr.asFunction< + ffi.NativeFunction< NSOperatingSystemVersion Function( - ffi.Pointer, ffi.Pointer)>(); + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_940 = + __objc_msgSend_940Ptr + .asFunction< + NSOperatingSystemVersion Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); void _objc_msgSend_940_stret( ffi.Pointer stret, - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_940_stret( - stret, - obj, - sel, - ); + return __objc_msgSend_940_stret(stret, obj, sel); } late final __objc_msgSend_940_stretPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend_stret'); + late final __objc_msgSend_940_stret = + __objc_msgSend_940_stretPtr + .asFunction< + void Function( ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend_stret'); - late final __objc_msgSend_940_stret = __objc_msgSend_940_stretPtr.asFunction< - void Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_processorCount1 = _registerName1("processorCount"); - late final _sel_activeProcessorCount1 = - _registerName1("activeProcessorCount"); - late final _sel_physicalMemory1 = _registerName1("physicalMemory"); - late final _sel_isOperatingSystemAtLeastVersion_1 = - _registerName1("isOperatingSystemAtLeastVersion:"); + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_processorCount1 = objc.registerName("processorCount"); + late final _sel_activeProcessorCount1 = objc.registerName( + "activeProcessorCount", + ); + late final _sel_physicalMemory1 = objc.registerName("physicalMemory"); + late final _sel_isOperatingSystemAtLeastVersion_1 = objc.registerName( + "isOperatingSystemAtLeastVersion:", + ); bool _objc_msgSend_941( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, NSOperatingSystemVersion version, ) { - return __objc_msgSend_941( - obj, - sel, - version, - ); + return __objc_msgSend_941(obj, sel, version); } late final __objc_msgSend_941Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer, ffi.Pointer, - NSOperatingSystemVersion)>>('objc_msgSend'); - late final __objc_msgSend_941 = __objc_msgSend_941Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - NSOperatingSystemVersion)>(); - - late final _sel_systemUptime1 = _registerName1("systemUptime"); - late final _sel_disableSuddenTermination1 = - _registerName1("disableSuddenTermination"); - late final _sel_enableSuddenTermination1 = - _registerName1("enableSuddenTermination"); - late final _sel_disableAutomaticTermination_1 = - _registerName1("disableAutomaticTermination:"); - late final _sel_enableAutomaticTermination_1 = - _registerName1("enableAutomaticTermination:"); - late final _sel_automaticTerminationSupportEnabled1 = - _registerName1("automaticTerminationSupportEnabled"); - late final _sel_setAutomaticTerminationSupportEnabled_1 = - _registerName1("setAutomaticTerminationSupportEnabled:"); - late final _sel_beginActivityWithOptions_reason_1 = - _registerName1("beginActivityWithOptions:reason:"); - ffi.Pointer _objc_msgSend_942( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + NSOperatingSystemVersion, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_941 = + __objc_msgSend_941Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + NSOperatingSystemVersion, + ) + >(); + + late final _sel_systemUptime1 = objc.registerName("systemUptime"); + late final _sel_disableSuddenTermination1 = objc.registerName( + "disableSuddenTermination", + ); + late final _sel_enableSuddenTermination1 = objc.registerName( + "enableSuddenTermination", + ); + late final _sel_disableAutomaticTermination_1 = objc.registerName( + "disableAutomaticTermination:", + ); + late final _sel_enableAutomaticTermination_1 = objc.registerName( + "enableAutomaticTermination:", + ); + late final _sel_automaticTerminationSupportEnabled1 = objc.registerName( + "automaticTerminationSupportEnabled", + ); + late final _sel_setAutomaticTerminationSupportEnabled_1 = objc.registerName( + "setAutomaticTerminationSupportEnabled:", + ); + late final _sel_beginActivityWithOptions_reason_1 = objc.registerName( + "beginActivityWithOptions:reason:", + ); + ffi.Pointer _objc_msgSend_942( + ffi.Pointer obj, + ffi.Pointer sel, int options, - ffi.Pointer reason, + ffi.Pointer reason, ) { - return __objc_msgSend_942( - obj, - sel, - options, - reason, - ); + return __objc_msgSend_942(obj, sel, options, reason); } late final __objc_msgSend_942Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_942 = __objc_msgSend_942Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, int, ffi.Pointer)>(); - - late final _sel_endActivity_1 = _registerName1("endActivity:"); - late final _sel_performActivityWithOptions_reason_usingBlock_1 = - _registerName1("performActivityWithOptions:reason:usingBlock:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_942 = + __objc_msgSend_942Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ) + >(); + + late final _sel_endActivity_1 = objc.registerName("endActivity:"); + late final _sel_performActivityWithOptions_reason_usingBlock_1 = objc + .registerName("performActivityWithOptions:reason:usingBlock:"); void _objc_msgSend_943( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int options, - ffi.Pointer reason, - ffi.Pointer<_ObjCBlock> block, + ffi.Pointer reason, + ffi.Pointer block, ) { - return __objc_msgSend_943( - obj, - sel, - options, - reason, - block, - ); + return __objc_msgSend_943(obj, sel, options, reason, block); } late final __objc_msgSend_943Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_943 = __objc_msgSend_943Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int, - ffi.Pointer, ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_performExpiringActivityWithReason_usingBlock_1 = - _registerName1("performExpiringActivityWithReason:usingBlock:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_943 = + __objc_msgSend_943Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_performExpiringActivityWithReason_usingBlock_1 = objc + .registerName("performExpiringActivityWithReason:usingBlock:"); void _objc_msgSend_944( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer reason, - ffi.Pointer<_ObjCBlock> block, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer reason, + ffi.Pointer block, ) { - return __objc_msgSend_944( - obj, - sel, - reason, - block, - ); + return __objc_msgSend_944(obj, sel, reason, block); } late final __objc_msgSend_944Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_944 = __objc_msgSend_944Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_userName1 = _registerName1("userName"); - late final _sel_fullUserName1 = _registerName1("fullUserName"); - late final _sel_thermalState1 = _registerName1("thermalState"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_944 = + __objc_msgSend_944Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_userName1 = objc.registerName("userName"); + late final _sel_fullUserName1 = objc.registerName("fullUserName"); + late final _sel_thermalState1 = objc.registerName("thermalState"); int _objc_msgSend_945( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_945( - obj, - sel, - ); + return __objc_msgSend_945(obj, sel); } late final __objc_msgSend_945Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_945 = __objc_msgSend_945Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer)>(); - - late final _sel_isLowPowerModeEnabled1 = - _registerName1("isLowPowerModeEnabled"); - late final _sel_isMacCatalystApp1 = _registerName1("isMacCatalystApp"); - late final _sel_isiOSAppOnMac1 = _registerName1("isiOSAppOnMac"); - late final _class_NSTextCheckingResult1 = _getClass1("NSTextCheckingResult"); - late final _sel_resultType1 = _registerName1("resultType"); + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_945 = + __objc_msgSend_945Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_isLowPowerModeEnabled1 = objc.registerName( + "isLowPowerModeEnabled", + ); + late final _sel_isMacCatalystApp1 = objc.registerName("isMacCatalystApp"); + late final _sel_isiOSAppOnMac1 = objc.registerName("isiOSAppOnMac"); + late final _class_NSTextCheckingResult1 = objc.getClass( + "NSTextCheckingResult", + ); + late final _sel_resultType1 = objc.registerName("resultType"); int _objc_msgSend_946( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_946( - obj, - sel, - ); + return __objc_msgSend_946(obj, sel); } late final __objc_msgSend_946Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_946 = __objc_msgSend_946Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_946 = + __objc_msgSend_946Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); - late final _sel_range1 = _registerName1("range"); - late final _sel_orthography1 = _registerName1("orthography"); - ffi.Pointer _objc_msgSend_947( - ffi.Pointer obj, - ffi.Pointer sel, + late final _sel_range1 = objc.registerName("range"); + late final _sel_orthography1 = objc.registerName("orthography"); + ffi.Pointer _objc_msgSend_947( + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_947( - obj, - sel, - ); + return __objc_msgSend_947(obj, sel); } late final __objc_msgSend_947Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_947 = __objc_msgSend_947Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_grammarDetails1 = _registerName1("grammarDetails"); - late final _sel_duration1 = _registerName1("duration"); - late final _sel_components1 = _registerName1("components"); - late final _sel_replacementString1 = _registerName1("replacementString"); - late final _sel_alternativeStrings1 = _registerName1("alternativeStrings"); - late final _class_NSRegularExpression1 = _getClass1("NSRegularExpression"); - late final _sel_regularExpressionWithPattern_options_error_1 = - _registerName1("regularExpressionWithPattern:options:error:"); - ffi.Pointer _objc_msgSend_948( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer pattern, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_947 = + __objc_msgSend_947Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_grammarDetails1 = objc.registerName("grammarDetails"); + late final _sel_duration1 = objc.registerName("duration"); + late final _sel_components1 = objc.registerName("components"); + late final _sel_replacementString1 = objc.registerName("replacementString"); + late final _sel_alternativeStrings1 = objc.registerName("alternativeStrings"); + late final _class_NSRegularExpression1 = objc.getClass("NSRegularExpression"); + late final _sel_regularExpressionWithPattern_options_error_1 = objc + .registerName("regularExpressionWithPattern:options:error:"); + ffi.Pointer _objc_msgSend_948( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer pattern, int options, - ffi.Pointer> error, + ffi.Pointer> error, ) { - return __objc_msgSend_948( - obj, - sel, - pattern, - options, - error, - ); + return __objc_msgSend_948(obj, sel, pattern, options, error); } late final __objc_msgSend_948Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_948 = __objc_msgSend_948Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>)>(); - - late final _sel_initWithPattern_options_error_1 = - _registerName1("initWithPattern:options:error:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_948 = + __objc_msgSend_948Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer>, + ) + >(); + + late final _sel_initWithPattern_options_error_1 = objc.registerName( + "initWithPattern:options:error:", + ); instancetype _objc_msgSend_949( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer pattern, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer pattern, int options, - ffi.Pointer> error, + ffi.Pointer> error, ) { - return __objc_msgSend_949( - obj, - sel, - pattern, - options, - error, - ); + return __objc_msgSend_949(obj, sel, pattern, options, error); } late final __objc_msgSend_949Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_949 = __objc_msgSend_949Ptr.asFunction< + ffi.NativeFunction< instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>)>(); - - late final _sel_pattern1 = _registerName1("pattern"); - late final _sel_options1 = _registerName1("options"); + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_949 = + __objc_msgSend_949Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer>, + ) + >(); + + late final _sel_pattern1 = objc.registerName("pattern"); + late final _sel_options1 = objc.registerName("options"); int _objc_msgSend_950( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_950( - obj, - sel, - ); + return __objc_msgSend_950(obj, sel); } late final __objc_msgSend_950Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_950 = __objc_msgSend_950Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer)>(); - - late final _sel_numberOfCaptureGroups1 = - _registerName1("numberOfCaptureGroups"); - late final _sel_escapedPatternForString_1 = - _registerName1("escapedPatternForString:"); - late final _sel_enumerateMatchesInString_options_range_usingBlock_1 = - _registerName1("enumerateMatchesInString:options:range:usingBlock:"); + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_950 = + __objc_msgSend_950Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_numberOfCaptureGroups1 = objc.registerName( + "numberOfCaptureGroups", + ); + late final _sel_escapedPatternForString_1 = objc.registerName( + "escapedPatternForString:", + ); + late final _sel_enumerateMatchesInString_options_range_usingBlock_1 = objc + .registerName("enumerateMatchesInString:options:range:usingBlock:"); void _objc_msgSend_951( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer string, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer string, int options, _NSRange range, - ffi.Pointer<_ObjCBlock> block, + ffi.Pointer block, ) { - return __objc_msgSend_951( - obj, - sel, - string, - options, - range, - block, - ); + return __objc_msgSend_951(obj, sel, string, options, range, block); } late final __objc_msgSend_951Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + _NSRange, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_951 = + __objc_msgSend_951Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, _NSRange, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_951 = __objc_msgSend_951Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int, _NSRange, ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_matchesInString_options_range_1 = - _registerName1("matchesInString:options:range:"); - ffi.Pointer _objc_msgSend_952( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer string, + ffi.Pointer, + ) + >(); + + late final _sel_matchesInString_options_range_1 = objc.registerName( + "matchesInString:options:range:", + ); + ffi.Pointer _objc_msgSend_952( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer string, int options, _NSRange range, ) { - return __objc_msgSend_952( - obj, - sel, - string, - options, - range, - ); + return __objc_msgSend_952(obj, sel, string, options, range); } late final __objc_msgSend_952Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - _NSRange)>>('objc_msgSend'); - late final __objc_msgSend_952 = __objc_msgSend_952Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer, int, _NSRange)>(); - - late final _sel_numberOfMatchesInString_options_range_1 = - _registerName1("numberOfMatchesInString:options:range:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + _NSRange, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_952 = + __objc_msgSend_952Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + _NSRange, + ) + >(); + + late final _sel_numberOfMatchesInString_options_range_1 = objc.registerName( + "numberOfMatchesInString:options:range:", + ); int _objc_msgSend_953( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer string, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer string, int options, _NSRange range, ) { - return __objc_msgSend_953( - obj, - sel, - string, - options, - range, - ); + return __objc_msgSend_953(obj, sel, string, options, range); } late final __objc_msgSend_953Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - _NSRange)>>('objc_msgSend'); - late final __objc_msgSend_953 = __objc_msgSend_953Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int, _NSRange)>(); - - late final _sel_firstMatchInString_options_range_1 = - _registerName1("firstMatchInString:options:range:"); - ffi.Pointer _objc_msgSend_954( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer string, + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + _NSRange, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_953 = + __objc_msgSend_953Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + _NSRange, + ) + >(); + + late final _sel_firstMatchInString_options_range_1 = objc.registerName( + "firstMatchInString:options:range:", + ); + ffi.Pointer _objc_msgSend_954( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer string, int options, _NSRange range, ) { - return __objc_msgSend_954( - obj, - sel, - string, - options, - range, - ); + return __objc_msgSend_954(obj, sel, string, options, range); } late final __objc_msgSend_954Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - _NSRange)>>('objc_msgSend'); - late final __objc_msgSend_954 = __objc_msgSend_954Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer, int, _NSRange)>(); - - late final _sel_rangeOfFirstMatchInString_options_range_1 = - _registerName1("rangeOfFirstMatchInString:options:range:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + _NSRange, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_954 = + __objc_msgSend_954Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + _NSRange, + ) + >(); + + late final _sel_rangeOfFirstMatchInString_options_range_1 = objc.registerName( + "rangeOfFirstMatchInString:options:range:", + ); _NSRange _objc_msgSend_955( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer string, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer string, int options, _NSRange range, ) { - return __objc_msgSend_955( - obj, - sel, - string, - options, - range, - ); + return __objc_msgSend_955(obj, sel, string, options, range); } late final __objc_msgSend_955Ptr = _lookup< - ffi.NativeFunction< - _NSRange Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Int32, _NSRange)>>('objc_msgSend'); - late final __objc_msgSend_955 = __objc_msgSend_955Ptr.asFunction< - _NSRange Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int, _NSRange)>(); + ffi.NativeFunction< + _NSRange Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + _NSRange, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_955 = + __objc_msgSend_955Ptr + .asFunction< + _NSRange Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + _NSRange, + ) + >(); void _objc_msgSend_955_stret( ffi.Pointer<_NSRange> stret, - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer string, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer string, int options, _NSRange range, ) { - return __objc_msgSend_955_stret( - stret, - obj, - sel, - string, - options, - range, - ); + return __objc_msgSend_955_stret(stret, obj, sel, string, options, range); } late final __objc_msgSend_955_stretPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer<_NSRange>, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + _NSRange, + ) + > + >('objc_msgSend_stret'); + late final __objc_msgSend_955_stret = + __objc_msgSend_955_stretPtr + .asFunction< + void Function( ffi.Pointer<_NSRange>, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - _NSRange)>>('objc_msgSend_stret'); - late final __objc_msgSend_955_stret = __objc_msgSend_955_stretPtr.asFunction< - void Function(ffi.Pointer<_NSRange>, ffi.Pointer, - ffi.Pointer, ffi.Pointer, int, _NSRange)>(); + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + _NSRange, + ) + >(); late final _sel_stringByReplacingMatchesInString_options_range_withTemplate_1 = - _registerName1( - "stringByReplacingMatchesInString:options:range:withTemplate:"); - ffi.Pointer _objc_msgSend_956( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer string, + objc.registerName( + "stringByReplacingMatchesInString:options:range:withTemplate:", + ); + ffi.Pointer _objc_msgSend_956( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer string, int options, _NSRange range, - ffi.Pointer templ, + ffi.Pointer templ, ) { - return __objc_msgSend_956( - obj, - sel, - string, - options, - range, - templ, - ); + return __objc_msgSend_956(obj, sel, string, options, range, templ); } late final __objc_msgSend_956Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + _NSRange, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_956 = + __objc_msgSend_956Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, _NSRange, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_956 = __objc_msgSend_956Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - _NSRange, - ffi.Pointer)>(); + ffi.Pointer, + ) + >(); - late final _sel_replaceMatchesInString_options_range_withTemplate_1 = - _registerName1("replaceMatchesInString:options:range:withTemplate:"); + late final _sel_replaceMatchesInString_options_range_withTemplate_1 = objc + .registerName("replaceMatchesInString:options:range:withTemplate:"); int _objc_msgSend_957( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer string, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer string, int options, _NSRange range, - ffi.Pointer templ, + ffi.Pointer templ, ) { - return __objc_msgSend_957( - obj, - sel, - string, - options, - range, - templ, - ); + return __objc_msgSend_957(obj, sel, string, options, range, templ); } late final __objc_msgSend_957Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + _NSRange, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_957 = + __objc_msgSend_957Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, _NSRange, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_957 = __objc_msgSend_957Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int, _NSRange, ffi.Pointer)>(); - - late final _sel_replacementStringForResult_inString_offset_template_1 = - _registerName1("replacementStringForResult:inString:offset:template:"); - ffi.Pointer _objc_msgSend_958( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer result, - ffi.Pointer string, + ffi.Pointer, + ) + >(); + + late final _sel_replacementStringForResult_inString_offset_template_1 = objc + .registerName("replacementStringForResult:inString:offset:template:"); + ffi.Pointer _objc_msgSend_958( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer result, + ffi.Pointer string, int offset, - ffi.Pointer templ, + ffi.Pointer templ, ) { - return __objc_msgSend_958( - obj, - sel, - result, - string, - offset, - templ, - ); + return __objc_msgSend_958(obj, sel, result, string, offset, templ); } late final __objc_msgSend_958Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Long, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_958 = __objc_msgSend_958Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer)>(); - - late final _sel_escapedTemplateForString_1 = - _registerName1("escapedTemplateForString:"); - late final _sel_regularExpression1 = _registerName1("regularExpression"); - ffi.Pointer _objc_msgSend_959( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_959( - obj, - sel, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Long, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_958 = + __objc_msgSend_958Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ) + >(); + + late final _sel_escapedTemplateForString_1 = objc.registerName( + "escapedTemplateForString:", + ); + late final _sel_regularExpression1 = objc.registerName("regularExpression"); + ffi.Pointer _objc_msgSend_959( + ffi.Pointer obj, + ffi.Pointer sel, + ) { + return __objc_msgSend_959(obj, sel); } late final __objc_msgSend_959Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_959 = __objc_msgSend_959Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_phoneNumber1 = _registerName1("phoneNumber"); - late final _sel_numberOfRanges1 = _registerName1("numberOfRanges"); - late final _sel_rangeAtIndex_1 = _registerName1("rangeAtIndex:"); - late final _sel_rangeWithName_1 = _registerName1("rangeWithName:"); - late final _sel_resultByAdjustingRangesWithOffset_1 = - _registerName1("resultByAdjustingRangesWithOffset:"); - ffi.Pointer _objc_msgSend_960( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_959 = + __objc_msgSend_959Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_phoneNumber1 = objc.registerName("phoneNumber"); + late final _sel_numberOfRanges1 = objc.registerName("numberOfRanges"); + late final _sel_rangeAtIndex_1 = objc.registerName("rangeAtIndex:"); + late final _sel_rangeWithName_1 = objc.registerName("rangeWithName:"); + late final _sel_resultByAdjustingRangesWithOffset_1 = objc.registerName( + "resultByAdjustingRangesWithOffset:", + ); + ffi.Pointer _objc_msgSend_960( + ffi.Pointer obj, + ffi.Pointer sel, int offset, ) { - return __objc_msgSend_960( - obj, - sel, - offset, - ); + return __objc_msgSend_960(obj, sel, offset); } late final __objc_msgSend_960Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Long)>>('objc_msgSend'); - late final __objc_msgSend_960 = __objc_msgSend_960Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_addressComponents1 = _registerName1("addressComponents"); - late final _sel_orthographyCheckingResultWithRange_orthography_1 = - _registerName1("orthographyCheckingResultWithRange:orthography:"); - ffi.Pointer _objc_msgSend_961( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Long, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_960 = + __objc_msgSend_960Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_addressComponents1 = objc.registerName("addressComponents"); + late final _sel_orthographyCheckingResultWithRange_orthography_1 = objc + .registerName("orthographyCheckingResultWithRange:orthography:"); + ffi.Pointer _objc_msgSend_961( + ffi.Pointer obj, + ffi.Pointer sel, _NSRange range, - ffi.Pointer orthography, + ffi.Pointer orthography, ) { - return __objc_msgSend_961( - obj, - sel, - range, - orthography, - ); + return __objc_msgSend_961(obj, sel, range, orthography); } late final __objc_msgSend_961Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_961 = + __objc_msgSend_961Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, _NSRange, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_961 = __objc_msgSend_961Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, _NSRange, ffi.Pointer)>(); - - late final _sel_spellCheckingResultWithRange_1 = - _registerName1("spellCheckingResultWithRange:"); - ffi.Pointer _objc_msgSend_962( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer, + ) + >(); + + late final _sel_spellCheckingResultWithRange_1 = objc.registerName( + "spellCheckingResultWithRange:", + ); + ffi.Pointer _objc_msgSend_962( + ffi.Pointer obj, + ffi.Pointer sel, _NSRange range, ) { - return __objc_msgSend_962( - obj, - sel, - range, - ); + return __objc_msgSend_962(obj, sel, range); } late final __objc_msgSend_962Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, _NSRange)>>('objc_msgSend'); - late final __objc_msgSend_962 = __objc_msgSend_962Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer, _NSRange)>(); - - late final _sel_grammarCheckingResultWithRange_details_1 = - _registerName1("grammarCheckingResultWithRange:details:"); - ffi.Pointer _objc_msgSend_963( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_962 = + __objc_msgSend_962Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ) + >(); + + late final _sel_grammarCheckingResultWithRange_details_1 = objc.registerName( + "grammarCheckingResultWithRange:details:", + ); + ffi.Pointer _objc_msgSend_963( + ffi.Pointer obj, + ffi.Pointer sel, _NSRange range, - ffi.Pointer details, + ffi.Pointer details, ) { - return __objc_msgSend_963( - obj, - sel, - range, - details, - ); + return __objc_msgSend_963(obj, sel, range, details); } late final __objc_msgSend_963Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_963 = + __objc_msgSend_963Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, _NSRange, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_963 = __objc_msgSend_963Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, _NSRange, ffi.Pointer)>(); - - late final _sel_dateCheckingResultWithRange_date_1 = - _registerName1("dateCheckingResultWithRange:date:"); - ffi.Pointer _objc_msgSend_964( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer, + ) + >(); + + late final _sel_dateCheckingResultWithRange_date_1 = objc.registerName( + "dateCheckingResultWithRange:date:", + ); + ffi.Pointer _objc_msgSend_964( + ffi.Pointer obj, + ffi.Pointer sel, _NSRange range, - ffi.Pointer date, + ffi.Pointer date, ) { - return __objc_msgSend_964( - obj, - sel, - range, - date, - ); + return __objc_msgSend_964(obj, sel, range, date); } late final __objc_msgSend_964Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_964 = + __objc_msgSend_964Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, _NSRange, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_964 = __objc_msgSend_964Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, _NSRange, ffi.Pointer)>(); - - late final _sel_dateCheckingResultWithRange_date_timeZone_duration_1 = - _registerName1("dateCheckingResultWithRange:date:timeZone:duration:"); - ffi.Pointer _objc_msgSend_965( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer, + ) + >(); + + late final _sel_dateCheckingResultWithRange_date_timeZone_duration_1 = objc + .registerName("dateCheckingResultWithRange:date:timeZone:duration:"); + ffi.Pointer _objc_msgSend_965( + ffi.Pointer obj, + ffi.Pointer sel, _NSRange range, - ffi.Pointer date, - ffi.Pointer timeZone, + ffi.Pointer date, + ffi.Pointer timeZone, double duration, ) { - return __objc_msgSend_965( - obj, - sel, - range, - date, - timeZone, - duration, - ); + return __objc_msgSend_965(obj, sel, range, date, timeZone, duration); } late final __objc_msgSend_965Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + ffi.Pointer, + ffi.Double, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_965 = + __objc_msgSend_965Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, _NSRange, - ffi.Pointer, - ffi.Pointer, - ffi.Double)>>('objc_msgSend'); - late final __objc_msgSend_965 = __objc_msgSend_965Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - ffi.Pointer, - double)>(); - - late final _sel_addressCheckingResultWithRange_components_1 = - _registerName1("addressCheckingResultWithRange:components:"); - ffi.Pointer _objc_msgSend_966( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer, + ffi.Pointer, + double, + ) + >(); + + late final _sel_addressCheckingResultWithRange_components_1 = objc + .registerName("addressCheckingResultWithRange:components:"); + ffi.Pointer _objc_msgSend_966( + ffi.Pointer obj, + ffi.Pointer sel, _NSRange range, - ffi.Pointer components, + ffi.Pointer components, ) { - return __objc_msgSend_966( - obj, - sel, - range, - components, - ); + return __objc_msgSend_966(obj, sel, range, components); } late final __objc_msgSend_966Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_966 = + __objc_msgSend_966Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, _NSRange, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_966 = __objc_msgSend_966Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, _NSRange, ffi.Pointer)>(); - - late final _sel_linkCheckingResultWithRange_URL_1 = - _registerName1("linkCheckingResultWithRange:URL:"); - ffi.Pointer _objc_msgSend_967( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer, + ) + >(); + + late final _sel_linkCheckingResultWithRange_URL_1 = objc.registerName( + "linkCheckingResultWithRange:URL:", + ); + ffi.Pointer _objc_msgSend_967( + ffi.Pointer obj, + ffi.Pointer sel, _NSRange range, - ffi.Pointer url, + ffi.Pointer url, ) { - return __objc_msgSend_967( - obj, - sel, - range, - url, - ); + return __objc_msgSend_967(obj, sel, range, url); } late final __objc_msgSend_967Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_967 = + __objc_msgSend_967Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, _NSRange, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_967 = __objc_msgSend_967Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, _NSRange, ffi.Pointer)>(); - - late final _sel_quoteCheckingResultWithRange_replacementString_1 = - _registerName1("quoteCheckingResultWithRange:replacementString:"); - ffi.Pointer _objc_msgSend_968( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer, + ) + >(); + + late final _sel_quoteCheckingResultWithRange_replacementString_1 = objc + .registerName("quoteCheckingResultWithRange:replacementString:"); + ffi.Pointer _objc_msgSend_968( + ffi.Pointer obj, + ffi.Pointer sel, _NSRange range, - ffi.Pointer replacementString, + ffi.Pointer replacementString, ) { - return __objc_msgSend_968( - obj, - sel, - range, - replacementString, - ); + return __objc_msgSend_968(obj, sel, range, replacementString); } late final __objc_msgSend_968Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_968 = + __objc_msgSend_968Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, _NSRange, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_968 = __objc_msgSend_968Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, _NSRange, ffi.Pointer)>(); - - late final _sel_dashCheckingResultWithRange_replacementString_1 = - _registerName1("dashCheckingResultWithRange:replacementString:"); - late final _sel_replacementCheckingResultWithRange_replacementString_1 = - _registerName1("replacementCheckingResultWithRange:replacementString:"); - late final _sel_correctionCheckingResultWithRange_replacementString_1 = - _registerName1("correctionCheckingResultWithRange:replacementString:"); + ffi.Pointer, + ) + >(); + + late final _sel_dashCheckingResultWithRange_replacementString_1 = objc + .registerName("dashCheckingResultWithRange:replacementString:"); + late final _sel_replacementCheckingResultWithRange_replacementString_1 = objc + .registerName("replacementCheckingResultWithRange:replacementString:"); + late final _sel_correctionCheckingResultWithRange_replacementString_1 = objc + .registerName("correctionCheckingResultWithRange:replacementString:"); late final _sel_correctionCheckingResultWithRange_replacementString_alternativeStrings_1 = - _registerName1( - "correctionCheckingResultWithRange:replacementString:alternativeStrings:"); - ffi.Pointer _objc_msgSend_969( - ffi.Pointer obj, - ffi.Pointer sel, + objc.registerName( + "correctionCheckingResultWithRange:replacementString:alternativeStrings:", + ); + ffi.Pointer _objc_msgSend_969( + ffi.Pointer obj, + ffi.Pointer sel, _NSRange range, - ffi.Pointer replacementString, - ffi.Pointer alternativeStrings, + ffi.Pointer replacementString, + ffi.Pointer alternativeStrings, ) { return __objc_msgSend_969( obj, @@ -27612,139 +34719,166 @@ class AVFAudio { } late final __objc_msgSend_969Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_969 = + __objc_msgSend_969Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, _NSRange, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_969 = __objc_msgSend_969Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - ffi.Pointer)>(); + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_regularExpressionCheckingResultWithRanges_count_regularExpression_1 = - _registerName1( - "regularExpressionCheckingResultWithRanges:count:regularExpression:"); - ffi.Pointer _objc_msgSend_970( - ffi.Pointer obj, - ffi.Pointer sel, + objc.registerName( + "regularExpressionCheckingResultWithRanges:count:regularExpression:", + ); + ffi.Pointer _objc_msgSend_970( + ffi.Pointer obj, + ffi.Pointer sel, ffi.Pointer<_NSRange> ranges, int count, - ffi.Pointer regularExpression, + ffi.Pointer regularExpression, ) { - return __objc_msgSend_970( - obj, - sel, - ranges, - count, - regularExpression, - ); + return __objc_msgSend_970(obj, sel, ranges, count, regularExpression); } late final __objc_msgSend_970Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_NSRange>, + ffi.UnsignedLong, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_970 = + __objc_msgSend_970Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, ffi.Pointer<_NSRange>, - ffi.UnsignedLong, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_970 = __objc_msgSend_970Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_NSRange>, - int, - ffi.Pointer)>(); - - late final _sel_phoneNumberCheckingResultWithRange_phoneNumber_1 = - _registerName1("phoneNumberCheckingResultWithRange:phoneNumber:"); - late final _sel_transitInformationCheckingResultWithRange_components_1 = - _registerName1("transitInformationCheckingResultWithRange:components:"); - late final _class_NSURLCache1 = _getClass1("NSURLCache"); - late final _sel_sharedURLCache1 = _registerName1("sharedURLCache"); - ffi.Pointer _objc_msgSend_971( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_971( - obj, - sel, - ); + int, + ffi.Pointer, + ) + >(); + + late final _sel_phoneNumberCheckingResultWithRange_phoneNumber_1 = objc + .registerName("phoneNumberCheckingResultWithRange:phoneNumber:"); + late final _sel_transitInformationCheckingResultWithRange_components_1 = objc + .registerName("transitInformationCheckingResultWithRange:components:"); + late final _class_NSURLCache1 = objc.getClass("NSURLCache"); + late final _sel_sharedURLCache1 = objc.registerName("sharedURLCache"); + ffi.Pointer _objc_msgSend_971( + ffi.Pointer obj, + ffi.Pointer sel, + ) { + return __objc_msgSend_971(obj, sel); } late final __objc_msgSend_971Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_971 = __objc_msgSend_971Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_971 = + __objc_msgSend_971Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); - late final _sel_setSharedURLCache_1 = _registerName1("setSharedURLCache:"); + late final _sel_setSharedURLCache_1 = objc.registerName("setSharedURLCache:"); void _objc_msgSend_972( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value, ) { - return __objc_msgSend_972( - obj, - sel, - value, - ); + return __objc_msgSend_972(obj, sel, value); } late final __objc_msgSend_972Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_972 = __objc_msgSend_972Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_initWithMemoryCapacity_diskCapacity_diskPath_1 = - _registerName1("initWithMemoryCapacity:diskCapacity:diskPath:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_972 = + __objc_msgSend_972Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_initWithMemoryCapacity_diskCapacity_diskPath_1 = objc + .registerName("initWithMemoryCapacity:diskCapacity:diskPath:"); instancetype _objc_msgSend_973( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int memoryCapacity, int diskCapacity, - ffi.Pointer path, + ffi.Pointer path, ) { - return __objc_msgSend_973( - obj, - sel, - memoryCapacity, - diskCapacity, - path, - ); + return __objc_msgSend_973(obj, sel, memoryCapacity, diskCapacity, path); } late final __objc_msgSend_973Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ffi.UnsignedLong, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_973 = __objc_msgSend_973Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, int, - int, ffi.Pointer)>(); - - late final _sel_initWithMemoryCapacity_diskCapacity_directoryURL_1 = - _registerName1("initWithMemoryCapacity:diskCapacity:directoryURL:"); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.UnsignedLong, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_973 = + __objc_msgSend_973Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + int, + int, + ffi.Pointer, + ) + >(); + + late final _sel_initWithMemoryCapacity_diskCapacity_directoryURL_1 = objc + .registerName("initWithMemoryCapacity:diskCapacity:directoryURL:"); instancetype _objc_msgSend_974( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int memoryCapacity, int diskCapacity, - ffi.Pointer directoryURL, + ffi.Pointer directoryURL, ) { return __objc_msgSend_974( obj, @@ -27756,53 +34890,70 @@ class AVFAudio { } late final __objc_msgSend_974Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ffi.UnsignedLong, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_974 = __objc_msgSend_974Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, int, - int, ffi.Pointer)>(); - - late final _class_NSCachedURLResponse1 = _getClass1("NSCachedURLResponse"); - late final _sel_initWithResponse_data_1 = - _registerName1("initWithResponse:data:"); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.UnsignedLong, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_974 = + __objc_msgSend_974Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + int, + int, + ffi.Pointer, + ) + >(); + + late final _class_NSCachedURLResponse1 = objc.getClass("NSCachedURLResponse"); + late final _sel_initWithResponse_data_1 = objc.registerName( + "initWithResponse:data:", + ); instancetype _objc_msgSend_975( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer response, - ffi.Pointer data, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer response, + ffi.Pointer data, ) { - return __objc_msgSend_975( - obj, - sel, - response, - data, - ); + return __objc_msgSend_975(obj, sel, response, data); } late final __objc_msgSend_975Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_975 = __objc_msgSend_975Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_initWithResponse_data_userInfo_storagePolicy_1 = - _registerName1("initWithResponse:data:userInfo:storagePolicy:"); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_975 = + __objc_msgSend_975Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_initWithResponse_data_userInfo_storagePolicy_1 = objc + .registerName("initWithResponse:data:userInfo:storagePolicy:"); instancetype _objc_msgSend_976( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer response, - ffi.Pointer data, - ffi.Pointer userInfo, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer response, + ffi.Pointer data, + ffi.Pointer userInfo, int storagePolicy, ) { return __objc_msgSend_976( @@ -27816,656 +34967,803 @@ class AVFAudio { } late final __objc_msgSend_976Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_976 = __objc_msgSend_976Ptr.asFunction< + ffi.NativeFunction< instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int)>(); - - ffi.Pointer _objc_msgSend_977( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_977( - obj, - sel, - ); + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_976 = + __objc_msgSend_976Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + ffi.Pointer _objc_msgSend_977( + ffi.Pointer obj, + ffi.Pointer sel, + ) { + return __objc_msgSend_977(obj, sel); } late final __objc_msgSend_977Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_977 = __objc_msgSend_977Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_977 = + __objc_msgSend_977Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); - late final _sel_storagePolicy1 = _registerName1("storagePolicy"); + late final _sel_storagePolicy1 = objc.registerName("storagePolicy"); int _objc_msgSend_978( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_978( - obj, - sel, - ); + return __objc_msgSend_978(obj, sel); } late final __objc_msgSend_978Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_978 = __objc_msgSend_978Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer)>(); - - late final _sel_cachedResponseForRequest_1 = - _registerName1("cachedResponseForRequest:"); - ffi.Pointer _objc_msgSend_979( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer request, - ) { - return __objc_msgSend_979( - obj, - sel, - request, - ); + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_978 = + __objc_msgSend_978Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_cachedResponseForRequest_1 = objc.registerName( + "cachedResponseForRequest:", + ); + ffi.Pointer _objc_msgSend_979( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer request, + ) { + return __objc_msgSend_979(obj, sel, request); } late final __objc_msgSend_979Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_979 = __objc_msgSend_979Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_storeCachedResponse_forRequest_1 = - _registerName1("storeCachedResponse:forRequest:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_979 = + __objc_msgSend_979Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_storeCachedResponse_forRequest_1 = objc.registerName( + "storeCachedResponse:forRequest:", + ); void _objc_msgSend_980( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer cachedResponse, - ffi.Pointer request, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer cachedResponse, + ffi.Pointer request, ) { - return __objc_msgSend_980( - obj, - sel, - cachedResponse, - request, - ); + return __objc_msgSend_980(obj, sel, cachedResponse, request); } late final __objc_msgSend_980Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_980 = __objc_msgSend_980Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_removeCachedResponseForRequest_1 = - _registerName1("removeCachedResponseForRequest:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_980 = + __objc_msgSend_980Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_removeCachedResponseForRequest_1 = objc.registerName( + "removeCachedResponseForRequest:", + ); void _objc_msgSend_981( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer request, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer request, ) { - return __objc_msgSend_981( - obj, - sel, - request, - ); + return __objc_msgSend_981(obj, sel, request); } late final __objc_msgSend_981Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_981 = __objc_msgSend_981Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_removeAllCachedResponses1 = - _registerName1("removeAllCachedResponses"); - late final _sel_removeCachedResponsesSinceDate_1 = - _registerName1("removeCachedResponsesSinceDate:"); - late final _sel_memoryCapacity1 = _registerName1("memoryCapacity"); - late final _sel_setMemoryCapacity_1 = _registerName1("setMemoryCapacity:"); - late final _sel_diskCapacity1 = _registerName1("diskCapacity"); - late final _sel_setDiskCapacity_1 = _registerName1("setDiskCapacity:"); - late final _sel_currentMemoryUsage1 = _registerName1("currentMemoryUsage"); - late final _sel_currentDiskUsage1 = _registerName1("currentDiskUsage"); - late final _class_NSURLSessionDataTask1 = _getClass1("NSURLSessionDataTask"); - late final _sel_storeCachedResponse_forDataTask_1 = - _registerName1("storeCachedResponse:forDataTask:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_981 = + __objc_msgSend_981Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_removeAllCachedResponses1 = objc.registerName( + "removeAllCachedResponses", + ); + late final _sel_removeCachedResponsesSinceDate_1 = objc.registerName( + "removeCachedResponsesSinceDate:", + ); + late final _sel_memoryCapacity1 = objc.registerName("memoryCapacity"); + late final _sel_setMemoryCapacity_1 = objc.registerName("setMemoryCapacity:"); + late final _sel_diskCapacity1 = objc.registerName("diskCapacity"); + late final _sel_setDiskCapacity_1 = objc.registerName("setDiskCapacity:"); + late final _sel_currentMemoryUsage1 = objc.registerName("currentMemoryUsage"); + late final _sel_currentDiskUsage1 = objc.registerName("currentDiskUsage"); + late final _class_NSURLSessionDataTask1 = objc.getClass( + "NSURLSessionDataTask", + ); + late final _sel_storeCachedResponse_forDataTask_1 = objc.registerName( + "storeCachedResponse:forDataTask:", + ); void _objc_msgSend_982( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer cachedResponse, - ffi.Pointer dataTask, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer cachedResponse, + ffi.Pointer dataTask, ) { - return __objc_msgSend_982( - obj, - sel, - cachedResponse, - dataTask, - ); + return __objc_msgSend_982(obj, sel, cachedResponse, dataTask); } late final __objc_msgSend_982Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_982 = __objc_msgSend_982Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_getCachedResponseForDataTask_completionHandler_1 = - _registerName1("getCachedResponseForDataTask:completionHandler:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_982 = + __objc_msgSend_982Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_getCachedResponseForDataTask_completionHandler_1 = objc + .registerName("getCachedResponseForDataTask:completionHandler:"); void _objc_msgSend_983( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer dataTask, - ffi.Pointer<_ObjCBlock> completionHandler, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer dataTask, + ffi.Pointer completionHandler, ) { - return __objc_msgSend_983( - obj, - sel, - dataTask, - completionHandler, - ); + return __objc_msgSend_983(obj, sel, dataTask, completionHandler); } late final __objc_msgSend_983Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_983 = __objc_msgSend_983Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_removeCachedResponseForDataTask_1 = - _registerName1("removeCachedResponseForDataTask:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_983 = + __objc_msgSend_983Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_removeCachedResponseForDataTask_1 = objc.registerName( + "removeCachedResponseForDataTask:", + ); void _objc_msgSend_984( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer dataTask, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer dataTask, ) { - return __objc_msgSend_984( - obj, - sel, - dataTask, - ); + return __objc_msgSend_984(obj, sel, dataTask); } late final __objc_msgSend_984Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_984 = __objc_msgSend_984Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _class_NSURLConnection1 = _getClass1("NSURLConnection"); - late final _sel_initWithRequest_delegate_startImmediately_1 = - _registerName1("initWithRequest:delegate:startImmediately:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_984 = + __objc_msgSend_984Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _class_NSURLConnection1 = objc.getClass("NSURLConnection"); + late final _sel_initWithRequest_delegate_startImmediately_1 = objc + .registerName("initWithRequest:delegate:startImmediately:"); instancetype _objc_msgSend_985( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer request, - ffi.Pointer delegate, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer request, + ffi.Pointer delegate, bool startImmediately, ) { - return __objc_msgSend_985( - obj, - sel, - request, - delegate, - startImmediately, - ); + return __objc_msgSend_985(obj, sel, request, delegate, startImmediately); } late final __objc_msgSend_985Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Bool)>>('objc_msgSend'); - late final __objc_msgSend_985 = __objc_msgSend_985Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer, bool)>(); - - late final _sel_initWithRequest_delegate_1 = - _registerName1("initWithRequest:delegate:"); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_985 = + __objc_msgSend_985Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool, + ) + >(); + + late final _sel_initWithRequest_delegate_1 = objc.registerName( + "initWithRequest:delegate:", + ); instancetype _objc_msgSend_986( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer request, - ffi.Pointer delegate, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer request, + ffi.Pointer delegate, ) { - return __objc_msgSend_986( - obj, - sel, - request, - delegate, - ); + return __objc_msgSend_986(obj, sel, request, delegate); } late final __objc_msgSend_986Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_986 = __objc_msgSend_986Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_connectionWithRequest_delegate_1 = - _registerName1("connectionWithRequest:delegate:"); - ffi.Pointer _objc_msgSend_987( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer request, - ffi.Pointer delegate, - ) { - return __objc_msgSend_987( - obj, - sel, - request, - delegate, - ); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_986 = + __objc_msgSend_986Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_connectionWithRequest_delegate_1 = objc.registerName( + "connectionWithRequest:delegate:", + ); + ffi.Pointer _objc_msgSend_987( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer request, + ffi.Pointer delegate, + ) { + return __objc_msgSend_987(obj, sel, request, delegate); } late final __objc_msgSend_987Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_987 = __objc_msgSend_987Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - ffi.Pointer _objc_msgSend_988( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_988( - obj, - sel, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_987 = + __objc_msgSend_987Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + ffi.Pointer _objc_msgSend_988( + ffi.Pointer obj, + ffi.Pointer sel, + ) { + return __objc_msgSend_988(obj, sel); } late final __objc_msgSend_988Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_988 = __objc_msgSend_988Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_unscheduleFromRunLoop_forMode_1 = - _registerName1("unscheduleFromRunLoop:forMode:"); - late final _sel_setDelegateQueue_1 = _registerName1("setDelegateQueue:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_988 = + __objc_msgSend_988Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_unscheduleFromRunLoop_forMode_1 = objc.registerName( + "unscheduleFromRunLoop:forMode:", + ); + late final _sel_setDelegateQueue_1 = objc.registerName("setDelegateQueue:"); void _objc_msgSend_989( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer queue, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer queue, ) { - return __objc_msgSend_989( - obj, - sel, - queue, - ); + return __objc_msgSend_989(obj, sel, queue); } late final __objc_msgSend_989Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_989 = __objc_msgSend_989Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_989 = + __objc_msgSend_989Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); - late final _sel_canHandleRequest_1 = _registerName1("canHandleRequest:"); + late final _sel_canHandleRequest_1 = objc.registerName("canHandleRequest:"); bool _objc_msgSend_990( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer request, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer request, ) { - return __objc_msgSend_990( - obj, - sel, - request, - ); + return __objc_msgSend_990(obj, sel, request); } late final __objc_msgSend_990Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_990 = __objc_msgSend_990Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_sendSynchronousRequest_returningResponse_error_1 = - _registerName1("sendSynchronousRequest:returningResponse:error:"); - ffi.Pointer _objc_msgSend_991( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer request, - ffi.Pointer> response, - ffi.Pointer> error, - ) { - return __objc_msgSend_991( - obj, - sel, - request, - response, - error, - ); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_990 = + __objc_msgSend_990Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_sendSynchronousRequest_returningResponse_error_1 = objc + .registerName("sendSynchronousRequest:returningResponse:error:"); + ffi.Pointer _objc_msgSend_991( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer request, + ffi.Pointer> response, + ffi.Pointer> error, + ) { + return __objc_msgSend_991(obj, sel, request, response, error); } late final __objc_msgSend_991Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_991 = __objc_msgSend_991Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer>)>(); - - late final _sel_sendAsynchronousRequest_queue_completionHandler_1 = - _registerName1("sendAsynchronousRequest:queue:completionHandler:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_991 = + __objc_msgSend_991Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer>, + ) + >(); + + late final _sel_sendAsynchronousRequest_queue_completionHandler_1 = objc + .registerName("sendAsynchronousRequest:queue:completionHandler:"); void _objc_msgSend_992( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer request, - ffi.Pointer queue, - ffi.Pointer<_ObjCBlock> handler, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer request, + ffi.Pointer queue, + ffi.Pointer handler, ) { - return __objc_msgSend_992( - obj, - sel, - request, - queue, - handler, - ); + return __objc_msgSend_992(obj, sel, request, queue, handler); } late final __objc_msgSend_992Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_992 = __objc_msgSend_992Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>(); - - late final _class_NSURLCredential1 = _getClass1("NSURLCredential"); - late final _sel_persistence1 = _registerName1("persistence"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_992 = + __objc_msgSend_992Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _class_NSURLCredential1 = objc.getClass("NSURLCredential"); + late final _sel_persistence1 = objc.registerName("persistence"); int _objc_msgSend_993( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_993( - obj, - sel, - ); + return __objc_msgSend_993(obj, sel); } late final __objc_msgSend_993Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_993 = __objc_msgSend_993Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer)>(); - - late final _sel_initWithUser_password_persistence_1 = - _registerName1("initWithUser:password:persistence:"); + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_993 = + __objc_msgSend_993Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_initWithUser_password_persistence_1 = objc.registerName( + "initWithUser:password:persistence:", + ); instancetype _objc_msgSend_994( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer user, - ffi.Pointer password, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer user, + ffi.Pointer password, int persistence, ) { - return __objc_msgSend_994( - obj, - sel, - user, - password, - persistence, - ); + return __objc_msgSend_994(obj, sel, user, password, persistence); } late final __objc_msgSend_994Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_994 = __objc_msgSend_994Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_credentialWithUser_password_persistence_1 = - _registerName1("credentialWithUser:password:persistence:"); - ffi.Pointer _objc_msgSend_995( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer user, - ffi.Pointer password, + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_994 = + __objc_msgSend_994Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_credentialWithUser_password_persistence_1 = objc.registerName( + "credentialWithUser:password:persistence:", + ); + ffi.Pointer _objc_msgSend_995( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer user, + ffi.Pointer password, int persistence, ) { - return __objc_msgSend_995( - obj, - sel, - user, - password, - persistence, - ); + return __objc_msgSend_995(obj, sel, user, password, persistence); } late final __objc_msgSend_995Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_995 = __objc_msgSend_995Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int)>(); - - late final _sel_hasPassword1 = _registerName1("hasPassword"); - late final _sel_initWithIdentity_certificates_persistence_1 = - _registerName1("initWithIdentity:certificates:persistence:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_995 = + __objc_msgSend_995Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_hasPassword1 = objc.registerName("hasPassword"); + late final _sel_initWithIdentity_certificates_persistence_1 = objc + .registerName("initWithIdentity:certificates:persistence:"); instancetype _objc_msgSend_996( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ffi.Pointer<__SecIdentity> identity, - ffi.Pointer certArray, + ffi.Pointer certArray, int persistence, ) { - return __objc_msgSend_996( - obj, - sel, - identity, - certArray, - persistence, - ); + return __objc_msgSend_996(obj, sel, identity, certArray, persistence); } late final __objc_msgSend_996Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<__SecIdentity>, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_996 = + __objc_msgSend_996Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, ffi.Pointer<__SecIdentity>, - ffi.Pointer, - ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_996 = __objc_msgSend_996Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer<__SecIdentity>, ffi.Pointer, int)>(); - - late final _sel_credentialWithIdentity_certificates_persistence_1 = - _registerName1("credentialWithIdentity:certificates:persistence:"); - ffi.Pointer _objc_msgSend_997( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer, + int, + ) + >(); + + late final _sel_credentialWithIdentity_certificates_persistence_1 = objc + .registerName("credentialWithIdentity:certificates:persistence:"); + ffi.Pointer _objc_msgSend_997( + ffi.Pointer obj, + ffi.Pointer sel, ffi.Pointer<__SecIdentity> identity, - ffi.Pointer certArray, + ffi.Pointer certArray, int persistence, ) { - return __objc_msgSend_997( - obj, - sel, - identity, - certArray, - persistence, - ); + return __objc_msgSend_997(obj, sel, identity, certArray, persistence); } late final __objc_msgSend_997Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<__SecIdentity>, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_997 = + __objc_msgSend_997Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, ffi.Pointer<__SecIdentity>, - ffi.Pointer, - ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_997 = __objc_msgSend_997Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<__SecIdentity>, - ffi.Pointer, - int)>(); - - late final _sel_identity1 = _registerName1("identity"); + ffi.Pointer, + int, + ) + >(); + + late final _sel_identity1 = objc.registerName("identity"); ffi.Pointer<__SecIdentity> _objc_msgSend_998( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_998( - obj, - sel, - ); + return __objc_msgSend_998(obj, sel); } late final __objc_msgSend_998Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer<__SecIdentity> Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_998 = __objc_msgSend_998Ptr.asFunction< + ffi.NativeFunction< ffi.Pointer<__SecIdentity> Function( - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_certificates1 = _registerName1("certificates"); - late final _sel_initWithTrust_1 = _registerName1("initWithTrust:"); + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_998 = + __objc_msgSend_998Ptr + .asFunction< + ffi.Pointer<__SecIdentity> Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_certificates1 = objc.registerName("certificates"); + late final _sel_initWithTrust_1 = objc.registerName("initWithTrust:"); instancetype _objc_msgSend_999( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ffi.Pointer<__SecTrust> trust, ) { - return __objc_msgSend_999( - obj, - sel, - trust, - ); + return __objc_msgSend_999(obj, sel, trust); } late final __objc_msgSend_999Ptr = _lookup< - ffi.NativeFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer<__SecTrust>)>>('objc_msgSend'); - late final __objc_msgSend_999 = __objc_msgSend_999Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer<__SecTrust>)>(); - - late final _sel_credentialForTrust_1 = _registerName1("credentialForTrust:"); - ffi.Pointer _objc_msgSend_1000( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<__SecTrust>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_999 = + __objc_msgSend_999Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<__SecTrust>, + ) + >(); + + late final _sel_credentialForTrust_1 = objc.registerName( + "credentialForTrust:", + ); + ffi.Pointer _objc_msgSend_1000( + ffi.Pointer obj, + ffi.Pointer sel, ffi.Pointer<__SecTrust> trust, ) { - return __objc_msgSend_1000( - obj, - sel, - trust, - ); + return __objc_msgSend_1000(obj, sel, trust); } late final __objc_msgSend_1000Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer<__SecTrust>)>>('objc_msgSend'); - late final __objc_msgSend_1000 = __objc_msgSend_1000Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer<__SecTrust>)>(); - - late final _class_NSURLProtectionSpace1 = _getClass1("NSURLProtectionSpace"); - late final _sel_initWithHost_port_protocol_realm_authenticationMethod_1 = - _registerName1("initWithHost:port:protocol:realm:authenticationMethod:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<__SecTrust>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1000 = + __objc_msgSend_1000Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<__SecTrust>, + ) + >(); + + late final _class_NSURLProtectionSpace1 = objc.getClass( + "NSURLProtectionSpace", + ); + late final _sel_initWithHost_port_protocol_realm_authenticationMethod_1 = objc + .registerName("initWithHost:port:protocol:realm:authenticationMethod:"); instancetype _objc_msgSend_1001( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer host, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer host, int port, - ffi.Pointer protocol, - ffi.Pointer realm, - ffi.Pointer authenticationMethod, + ffi.Pointer protocol, + ffi.Pointer realm, + ffi.Pointer authenticationMethod, ) { return __objc_msgSend_1001( obj, @@ -28479,196 +35777,247 @@ class AVFAudio { } late final __objc_msgSend_1001Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Long, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1001 = __objc_msgSend_1001Ptr.asFunction< + ffi.NativeFunction< instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Long, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1001 = + __objc_msgSend_1001Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_initWithProxyHost_port_type_realm_authenticationMethod_1 = - _registerName1("initWithProxyHost:port:type:realm:authenticationMethod:"); - late final _sel_realm1 = _registerName1("realm"); - late final _sel_receivesCredentialSecurely1 = - _registerName1("receivesCredentialSecurely"); - late final _sel_isProxy1 = _registerName1("isProxy"); - late final _sel_proxyType1 = _registerName1("proxyType"); - late final _sel_protocol1 = _registerName1("protocol"); - late final _sel_authenticationMethod1 = - _registerName1("authenticationMethod"); - late final _sel_distinguishedNames1 = _registerName1("distinguishedNames"); - late final _sel_serverTrust1 = _registerName1("serverTrust"); + objc.registerName( + "initWithProxyHost:port:type:realm:authenticationMethod:", + ); + late final _sel_realm1 = objc.registerName("realm"); + late final _sel_receivesCredentialSecurely1 = objc.registerName( + "receivesCredentialSecurely", + ); + late final _sel_isProxy1 = objc.registerName("isProxy"); + late final _sel_proxyType1 = objc.registerName("proxyType"); + late final _sel_protocol1 = objc.registerName("protocol"); + late final _sel_authenticationMethod1 = objc.registerName( + "authenticationMethod", + ); + late final _sel_distinguishedNames1 = objc.registerName("distinguishedNames"); + late final _sel_serverTrust1 = objc.registerName("serverTrust"); ffi.Pointer<__SecTrust> _objc_msgSend_1002( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_1002( - obj, - sel, - ); + return __objc_msgSend_1002(obj, sel); } late final __objc_msgSend_1002Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer<__SecTrust> Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1002 = __objc_msgSend_1002Ptr.asFunction< + ffi.NativeFunction< ffi.Pointer<__SecTrust> Function( - ffi.Pointer, ffi.Pointer)>(); + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1002 = + __objc_msgSend_1002Ptr + .asFunction< + ffi.Pointer<__SecTrust> Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); - late final _class_NSURLCredentialStorage1 = - _getClass1("NSURLCredentialStorage"); - late final _sel_sharedCredentialStorage1 = - _registerName1("sharedCredentialStorage"); - ffi.Pointer _objc_msgSend_1003( - ffi.Pointer obj, - ffi.Pointer sel, + late final _class_NSURLCredentialStorage1 = objc.getClass( + "NSURLCredentialStorage", + ); + late final _sel_sharedCredentialStorage1 = objc.registerName( + "sharedCredentialStorage", + ); + ffi.Pointer _objc_msgSend_1003( + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_1003( - obj, - sel, - ); + return __objc_msgSend_1003(obj, sel); } late final __objc_msgSend_1003Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1003 = __objc_msgSend_1003Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_credentialsForProtectionSpace_1 = - _registerName1("credentialsForProtectionSpace:"); - ffi.Pointer _objc_msgSend_1004( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer space, - ) { - return __objc_msgSend_1004( - obj, - sel, - space, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1003 = + __objc_msgSend_1003Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_credentialsForProtectionSpace_1 = objc.registerName( + "credentialsForProtectionSpace:", + ); + ffi.Pointer _objc_msgSend_1004( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer space, + ) { + return __objc_msgSend_1004(obj, sel, space); } late final __objc_msgSend_1004Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1004 = __objc_msgSend_1004Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_allCredentials1 = _registerName1("allCredentials"); - late final _sel_setCredential_forProtectionSpace_1 = - _registerName1("setCredential:forProtectionSpace:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1004 = + __objc_msgSend_1004Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_allCredentials1 = objc.registerName("allCredentials"); + late final _sel_setCredential_forProtectionSpace_1 = objc.registerName( + "setCredential:forProtectionSpace:", + ); void _objc_msgSend_1005( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer credential, - ffi.Pointer space, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer credential, + ffi.Pointer space, ) { - return __objc_msgSend_1005( - obj, - sel, - credential, - space, - ); + return __objc_msgSend_1005(obj, sel, credential, space); } late final __objc_msgSend_1005Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1005 = __objc_msgSend_1005Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_removeCredential_forProtectionSpace_1 = - _registerName1("removeCredential:forProtectionSpace:"); - late final _sel_removeCredential_forProtectionSpace_options_1 = - _registerName1("removeCredential:forProtectionSpace:options:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1005 = + __objc_msgSend_1005Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_removeCredential_forProtectionSpace_1 = objc.registerName( + "removeCredential:forProtectionSpace:", + ); + late final _sel_removeCredential_forProtectionSpace_options_1 = objc + .registerName("removeCredential:forProtectionSpace:options:"); void _objc_msgSend_1006( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer credential, - ffi.Pointer space, - ffi.Pointer options, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer credential, + ffi.Pointer space, + ffi.Pointer options, ) { - return __objc_msgSend_1006( - obj, - sel, - credential, - space, - options, - ); + return __objc_msgSend_1006(obj, sel, credential, space, options); } late final __objc_msgSend_1006Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1006 = __objc_msgSend_1006Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_defaultCredentialForProtectionSpace_1 = - _registerName1("defaultCredentialForProtectionSpace:"); - ffi.Pointer _objc_msgSend_1007( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer space, - ) { - return __objc_msgSend_1007( - obj, - sel, - space, - ); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1006 = + __objc_msgSend_1006Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_defaultCredentialForProtectionSpace_1 = objc.registerName( + "defaultCredentialForProtectionSpace:", + ); + ffi.Pointer _objc_msgSend_1007( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer space, + ) { + return __objc_msgSend_1007(obj, sel, space); } late final __objc_msgSend_1007Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1007 = __objc_msgSend_1007Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_setDefaultCredential_forProtectionSpace_1 = - _registerName1("setDefaultCredential:forProtectionSpace:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1007 = + __objc_msgSend_1007Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_setDefaultCredential_forProtectionSpace_1 = objc.registerName( + "setDefaultCredential:forProtectionSpace:", + ); late final _sel_getCredentialsForProtectionSpace_task_completionHandler_1 = - _registerName1( - "getCredentialsForProtectionSpace:task:completionHandler:"); + objc.registerName( + "getCredentialsForProtectionSpace:task:completionHandler:", + ); void _objc_msgSend_1008( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer protectionSpace, - ffi.Pointer task, - ffi.Pointer<_ObjCBlock> completionHandler, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer protectionSpace, + ffi.Pointer task, + ffi.Pointer completionHandler, ) { return __objc_msgSend_1008( obj, @@ -28680,64 +36029,73 @@ class AVFAudio { } late final __objc_msgSend_1008Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_1008 = __objc_msgSend_1008Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_setCredential_forProtectionSpace_task_1 = - _registerName1("setCredential:forProtectionSpace:task:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1008 = + __objc_msgSend_1008Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_setCredential_forProtectionSpace_task_1 = objc.registerName( + "setCredential:forProtectionSpace:task:", + ); void _objc_msgSend_1009( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer credential, - ffi.Pointer protectionSpace, - ffi.Pointer task, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer credential, + ffi.Pointer protectionSpace, + ffi.Pointer task, ) { - return __objc_msgSend_1009( - obj, - sel, - credential, - protectionSpace, - task, - ); + return __objc_msgSend_1009(obj, sel, credential, protectionSpace, task); } late final __objc_msgSend_1009Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1009 = __objc_msgSend_1009Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_removeCredential_forProtectionSpace_options_task_1 = - _registerName1("removeCredential:forProtectionSpace:options:task:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1009 = + __objc_msgSend_1009Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_removeCredential_forProtectionSpace_options_task_1 = objc + .registerName("removeCredential:forProtectionSpace:options:task:"); void _objc_msgSend_1010( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer credential, - ffi.Pointer protectionSpace, - ffi.Pointer options, - ffi.Pointer task, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer credential, + ffi.Pointer protectionSpace, + ffi.Pointer options, + ffi.Pointer task, ) { return __objc_msgSend_1010( obj, @@ -28750,691 +36108,857 @@ class AVFAudio { } late final __objc_msgSend_1010Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1010 = __objc_msgSend_1010Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1010 = + __objc_msgSend_1010Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_getDefaultCredentialForProtectionSpace_task_completionHandler_1 = - _registerName1( - "getDefaultCredentialForProtectionSpace:task:completionHandler:"); + objc.registerName( + "getDefaultCredentialForProtectionSpace:task:completionHandler:", + ); void _objc_msgSend_1011( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer space, - ffi.Pointer task, - ffi.Pointer<_ObjCBlock> completionHandler, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer space, + ffi.Pointer task, + ffi.Pointer completionHandler, ) { - return __objc_msgSend_1011( - obj, - sel, - space, - task, - completionHandler, - ); + return __objc_msgSend_1011(obj, sel, space, task, completionHandler); } late final __objc_msgSend_1011Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_1011 = __objc_msgSend_1011Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_setDefaultCredential_forProtectionSpace_task_1 = - _registerName1("setDefaultCredential:forProtectionSpace:task:"); - late final _class_NSURLProtocol1 = _getClass1("NSURLProtocol"); - late final _sel_initWithRequest_cachedResponse_client_1 = - _registerName1("initWithRequest:cachedResponse:client:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1011 = + __objc_msgSend_1011Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_setDefaultCredential_forProtectionSpace_task_1 = objc + .registerName("setDefaultCredential:forProtectionSpace:task:"); + late final _class_NSURLProtocol1 = objc.getClass("NSURLProtocol"); + late final _sel_initWithRequest_cachedResponse_client_1 = objc.registerName( + "initWithRequest:cachedResponse:client:", + ); instancetype _objc_msgSend_1012( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer request, - ffi.Pointer cachedResponse, - ffi.Pointer client, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer request, + ffi.Pointer cachedResponse, + ffi.Pointer client, ) { - return __objc_msgSend_1012( - obj, - sel, - request, - cachedResponse, - client, - ); + return __objc_msgSend_1012(obj, sel, request, cachedResponse, client); } late final __objc_msgSend_1012Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1012 = __objc_msgSend_1012Ptr.asFunction< + ffi.NativeFunction< instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_client1 = _registerName1("client"); - late final _sel_request1 = _registerName1("request"); - late final _sel_cachedResponse1 = _registerName1("cachedResponse"); - ffi.Pointer _objc_msgSend_1013( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_1013( - obj, - sel, - ); + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1012 = + __objc_msgSend_1012Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_client1 = objc.registerName("client"); + late final _sel_request1 = objc.registerName("request"); + late final _sel_cachedResponse1 = objc.registerName("cachedResponse"); + ffi.Pointer _objc_msgSend_1013( + ffi.Pointer obj, + ffi.Pointer sel, + ) { + return __objc_msgSend_1013(obj, sel); } late final __objc_msgSend_1013Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1013 = __objc_msgSend_1013Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_canInitWithRequest_1 = _registerName1("canInitWithRequest:"); - late final _sel_canonicalRequestForRequest_1 = - _registerName1("canonicalRequestForRequest:"); - ffi.Pointer _objc_msgSend_1014( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer request, - ) { - return __objc_msgSend_1014( - obj, - sel, - request, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1013 = + __objc_msgSend_1013Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_canInitWithRequest_1 = objc.registerName( + "canInitWithRequest:", + ); + late final _sel_canonicalRequestForRequest_1 = objc.registerName( + "canonicalRequestForRequest:", + ); + ffi.Pointer _objc_msgSend_1014( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer request, + ) { + return __objc_msgSend_1014(obj, sel, request); } late final __objc_msgSend_1014Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1014 = __objc_msgSend_1014Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_requestIsCacheEquivalent_toRequest_1 = - _registerName1("requestIsCacheEquivalent:toRequest:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1014 = + __objc_msgSend_1014Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_requestIsCacheEquivalent_toRequest_1 = objc.registerName( + "requestIsCacheEquivalent:toRequest:", + ); bool _objc_msgSend_1015( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer a, - ffi.Pointer b, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer a, + ffi.Pointer b, ) { - return __objc_msgSend_1015( - obj, - sel, - a, - b, - ); + return __objc_msgSend_1015(obj, sel, a, b); } late final __objc_msgSend_1015Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1015 = __objc_msgSend_1015Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_startLoading1 = _registerName1("startLoading"); - late final _sel_stopLoading1 = _registerName1("stopLoading"); - late final _sel_propertyForKey_inRequest_1 = - _registerName1("propertyForKey:inRequest:"); - ffi.Pointer _objc_msgSend_1016( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer key, - ffi.Pointer request, - ) { - return __objc_msgSend_1016( - obj, - sel, - key, - request, - ); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1015 = + __objc_msgSend_1015Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_startLoading1 = objc.registerName("startLoading"); + late final _sel_stopLoading1 = objc.registerName("stopLoading"); + late final _sel_propertyForKey_inRequest_1 = objc.registerName( + "propertyForKey:inRequest:", + ); + ffi.Pointer _objc_msgSend_1016( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer key, + ffi.Pointer request, + ) { + return __objc_msgSend_1016(obj, sel, key, request); } late final __objc_msgSend_1016Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1016 = __objc_msgSend_1016Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - late final _class_NSMutableURLRequest1 = _getClass1("NSMutableURLRequest"); - late final _sel_setURL_1 = _registerName1("setURL:"); - late final _sel_setCachePolicy_1 = _registerName1("setCachePolicy:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1016 = + __objc_msgSend_1016Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _class_NSMutableURLRequest1 = objc.getClass("NSMutableURLRequest"); + late final _sel_setURL_1 = objc.registerName("setURL:"); + late final _sel_setCachePolicy_1 = objc.registerName("setCachePolicy:"); void _objc_msgSend_1017( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int value, ) { - return __objc_msgSend_1017( - obj, - sel, - value, - ); + return __objc_msgSend_1017(obj, sel, value); } late final __objc_msgSend_1017Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_1017 = __objc_msgSend_1017Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_setTimeoutInterval_1 = _registerName1("setTimeoutInterval:"); - late final _sel_setMainDocumentURL_1 = _registerName1("setMainDocumentURL:"); - late final _sel_setNetworkServiceType_1 = - _registerName1("setNetworkServiceType:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1017 = + __objc_msgSend_1017Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_setTimeoutInterval_1 = objc.registerName( + "setTimeoutInterval:", + ); + late final _sel_setMainDocumentURL_1 = objc.registerName( + "setMainDocumentURL:", + ); + late final _sel_setNetworkServiceType_1 = objc.registerName( + "setNetworkServiceType:", + ); void _objc_msgSend_1018( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int value, ) { - return __objc_msgSend_1018( - obj, - sel, - value, - ); + return __objc_msgSend_1018(obj, sel, value); } late final __objc_msgSend_1018Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_1018 = __objc_msgSend_1018Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_setAllowsCellularAccess_1 = - _registerName1("setAllowsCellularAccess:"); - late final _sel_setAllowsExpensiveNetworkAccess_1 = - _registerName1("setAllowsExpensiveNetworkAccess:"); - late final _sel_setAllowsConstrainedNetworkAccess_1 = - _registerName1("setAllowsConstrainedNetworkAccess:"); - late final _sel_setAssumesHTTP3Capable_1 = - _registerName1("setAssumesHTTP3Capable:"); - late final _sel_setAttribution_1 = _registerName1("setAttribution:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1018 = + __objc_msgSend_1018Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_setAllowsCellularAccess_1 = objc.registerName( + "setAllowsCellularAccess:", + ); + late final _sel_setAllowsExpensiveNetworkAccess_1 = objc.registerName( + "setAllowsExpensiveNetworkAccess:", + ); + late final _sel_setAllowsConstrainedNetworkAccess_1 = objc.registerName( + "setAllowsConstrainedNetworkAccess:", + ); + late final _sel_setAssumesHTTP3Capable_1 = objc.registerName( + "setAssumesHTTP3Capable:", + ); + late final _sel_setAttribution_1 = objc.registerName("setAttribution:"); void _objc_msgSend_1019( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int value, ) { - return __objc_msgSend_1019( - obj, - sel, - value, - ); + return __objc_msgSend_1019(obj, sel, value); } late final __objc_msgSend_1019Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_1019 = __objc_msgSend_1019Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_setRequiresDNSSECValidation_1 = - _registerName1("setRequiresDNSSECValidation:"); - late final _sel_setHTTPMethod_1 = _registerName1("setHTTPMethod:"); - late final _sel_setAllHTTPHeaderFields_1 = - _registerName1("setAllHTTPHeaderFields:"); - late final _sel_setValue_forHTTPHeaderField_1 = - _registerName1("setValue:forHTTPHeaderField:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1019 = + __objc_msgSend_1019Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_setRequiresDNSSECValidation_1 = objc.registerName( + "setRequiresDNSSECValidation:", + ); + late final _sel_setHTTPMethod_1 = objc.registerName("setHTTPMethod:"); + late final _sel_setAllHTTPHeaderFields_1 = objc.registerName( + "setAllHTTPHeaderFields:", + ); + late final _sel_setValue_forHTTPHeaderField_1 = objc.registerName( + "setValue:forHTTPHeaderField:", + ); void _objc_msgSend_1020( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, - ffi.Pointer field, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value, + ffi.Pointer field, ) { - return __objc_msgSend_1020( - obj, - sel, - value, - field, - ); + return __objc_msgSend_1020(obj, sel, value, field); } late final __objc_msgSend_1020Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1020 = __objc_msgSend_1020Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_addValue_forHTTPHeaderField_1 = - _registerName1("addValue:forHTTPHeaderField:"); - late final _sel_setHTTPBody_1 = _registerName1("setHTTPBody:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1020 = + __objc_msgSend_1020Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_addValue_forHTTPHeaderField_1 = objc.registerName( + "addValue:forHTTPHeaderField:", + ); + late final _sel_setHTTPBody_1 = objc.registerName("setHTTPBody:"); void _objc_msgSend_1021( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value, ) { - return __objc_msgSend_1021( - obj, - sel, - value, - ); + return __objc_msgSend_1021(obj, sel, value); } late final __objc_msgSend_1021Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1021 = __objc_msgSend_1021Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1021 = + __objc_msgSend_1021Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); - late final _sel_setHTTPBodyStream_1 = _registerName1("setHTTPBodyStream:"); + late final _sel_setHTTPBodyStream_1 = objc.registerName("setHTTPBodyStream:"); void _objc_msgSend_1022( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value, ) { - return __objc_msgSend_1022( - obj, - sel, - value, - ); + return __objc_msgSend_1022(obj, sel, value); } late final __objc_msgSend_1022Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1022 = __objc_msgSend_1022Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_setHTTPShouldHandleCookies_1 = - _registerName1("setHTTPShouldHandleCookies:"); - late final _sel_setHTTPShouldUsePipelining_1 = - _registerName1("setHTTPShouldUsePipelining:"); - late final _sel_setProperty_forKey_inRequest_1 = - _registerName1("setProperty:forKey:inRequest:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1022 = + __objc_msgSend_1022Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_setHTTPShouldHandleCookies_1 = objc.registerName( + "setHTTPShouldHandleCookies:", + ); + late final _sel_setHTTPShouldUsePipelining_1 = objc.registerName( + "setHTTPShouldUsePipelining:", + ); + late final _sel_setProperty_forKey_inRequest_1 = objc.registerName( + "setProperty:forKey:inRequest:", + ); void _objc_msgSend_1023( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, - ffi.Pointer key, - ffi.Pointer request, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value, + ffi.Pointer key, + ffi.Pointer request, ) { - return __objc_msgSend_1023( - obj, - sel, - value, - key, - request, - ); + return __objc_msgSend_1023(obj, sel, value, key, request); } late final __objc_msgSend_1023Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1023 = __objc_msgSend_1023Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_removePropertyForKey_inRequest_1 = - _registerName1("removePropertyForKey:inRequest:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1023 = + __objc_msgSend_1023Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_removePropertyForKey_inRequest_1 = objc.registerName( + "removePropertyForKey:inRequest:", + ); void _objc_msgSend_1024( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer key, - ffi.Pointer request, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer key, + ffi.Pointer request, ) { - return __objc_msgSend_1024( - obj, - sel, - key, - request, - ); + return __objc_msgSend_1024(obj, sel, key, request); } late final __objc_msgSend_1024Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1024 = __objc_msgSend_1024Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_registerClass_1 = _registerName1("registerClass:"); - late final _sel_unregisterClass_1 = _registerName1("unregisterClass:"); - late final _sel_canInitWithTask_1 = _registerName1("canInitWithTask:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1024 = + __objc_msgSend_1024Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_registerClass_1 = objc.registerName("registerClass:"); + late final _sel_unregisterClass_1 = objc.registerName("unregisterClass:"); + late final _sel_canInitWithTask_1 = objc.registerName("canInitWithTask:"); bool _objc_msgSend_1025( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer task, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer task, ) { - return __objc_msgSend_1025( - obj, - sel, - task, - ); + return __objc_msgSend_1025(obj, sel, task); } late final __objc_msgSend_1025Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1025 = __objc_msgSend_1025Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_initWithTask_cachedResponse_client_1 = - _registerName1("initWithTask:cachedResponse:client:"); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1025 = + __objc_msgSend_1025Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_initWithTask_cachedResponse_client_1 = objc.registerName( + "initWithTask:cachedResponse:client:", + ); instancetype _objc_msgSend_1026( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer task, - ffi.Pointer cachedResponse, - ffi.Pointer client, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer task, + ffi.Pointer cachedResponse, + ffi.Pointer client, ) { - return __objc_msgSend_1026( - obj, - sel, - task, - cachedResponse, - client, - ); + return __objc_msgSend_1026(obj, sel, task, cachedResponse, client); } late final __objc_msgSend_1026Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1026 = __objc_msgSend_1026Ptr.asFunction< + ffi.NativeFunction< instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_task1 = _registerName1("task"); - ffi.Pointer _objc_msgSend_1027( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_1027( - obj, - sel, - ); + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1026 = + __objc_msgSend_1026Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_task1 = objc.registerName("task"); + ffi.Pointer _objc_msgSend_1027( + ffi.Pointer obj, + ffi.Pointer sel, + ) { + return __objc_msgSend_1027(obj, sel); } late final __objc_msgSend_1027Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1027 = __objc_msgSend_1027Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); - - late final _class_NSXMLParser1 = _getClass1("NSXMLParser"); - late final _sel_initWithStream_1 = _registerName1("initWithStream:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1027 = + __objc_msgSend_1027Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _class_NSXMLParser1 = objc.getClass("NSXMLParser"); + late final _sel_initWithStream_1 = objc.registerName("initWithStream:"); instancetype _objc_msgSend_1028( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer stream, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer stream, ) { - return __objc_msgSend_1028( - obj, - sel, - stream, - ); + return __objc_msgSend_1028(obj, sel, stream); } late final __objc_msgSend_1028Ptr = _lookup< - ffi.NativeFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1028 = __objc_msgSend_1028Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_shouldProcessNamespaces1 = - _registerName1("shouldProcessNamespaces"); - late final _sel_setShouldProcessNamespaces_1 = - _registerName1("setShouldProcessNamespaces:"); - late final _sel_shouldReportNamespacePrefixes1 = - _registerName1("shouldReportNamespacePrefixes"); - late final _sel_setShouldReportNamespacePrefixes_1 = - _registerName1("setShouldReportNamespacePrefixes:"); - late final _sel_externalEntityResolvingPolicy1 = - _registerName1("externalEntityResolvingPolicy"); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1028 = + __objc_msgSend_1028Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_shouldProcessNamespaces1 = objc.registerName( + "shouldProcessNamespaces", + ); + late final _sel_setShouldProcessNamespaces_1 = objc.registerName( + "setShouldProcessNamespaces:", + ); + late final _sel_shouldReportNamespacePrefixes1 = objc.registerName( + "shouldReportNamespacePrefixes", + ); + late final _sel_setShouldReportNamespacePrefixes_1 = objc.registerName( + "setShouldReportNamespacePrefixes:", + ); + late final _sel_externalEntityResolvingPolicy1 = objc.registerName( + "externalEntityResolvingPolicy", + ); int _objc_msgSend_1029( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_1029( - obj, - sel, - ); + return __objc_msgSend_1029(obj, sel); } late final __objc_msgSend_1029Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1029 = __objc_msgSend_1029Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer)>(); - - late final _sel_setExternalEntityResolvingPolicy_1 = - _registerName1("setExternalEntityResolvingPolicy:"); + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1029 = + __objc_msgSend_1029Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_setExternalEntityResolvingPolicy_1 = objc.registerName( + "setExternalEntityResolvingPolicy:", + ); void _objc_msgSend_1030( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int value, ) { - return __objc_msgSend_1030( - obj, - sel, - value, - ); + return __objc_msgSend_1030(obj, sel, value); } late final __objc_msgSend_1030Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_1030 = __objc_msgSend_1030Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_allowedExternalEntityURLs1 = - _registerName1("allowedExternalEntityURLs"); - late final _sel_setAllowedExternalEntityURLs_1 = - _registerName1("setAllowedExternalEntityURLs:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1030 = + __objc_msgSend_1030Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_allowedExternalEntityURLs1 = objc.registerName( + "allowedExternalEntityURLs", + ); + late final _sel_setAllowedExternalEntityURLs_1 = objc.registerName( + "setAllowedExternalEntityURLs:", + ); void _objc_msgSend_1031( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value, ) { - return __objc_msgSend_1031( - obj, - sel, - value, - ); + return __objc_msgSend_1031(obj, sel, value); } late final __objc_msgSend_1031Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1031 = __objc_msgSend_1031Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_parse1 = _registerName1("parse"); - late final _sel_abortParsing1 = _registerName1("abortParsing"); - late final _sel_parserError1 = _registerName1("parserError"); - late final _sel_shouldResolveExternalEntities1 = - _registerName1("shouldResolveExternalEntities"); - late final _sel_setShouldResolveExternalEntities_1 = - _registerName1("setShouldResolveExternalEntities:"); - late final _sel_publicID1 = _registerName1("publicID"); - late final _sel_systemID1 = _registerName1("systemID"); - late final _sel_lineNumber1 = _registerName1("lineNumber"); - late final _sel_columnNumber1 = _registerName1("columnNumber"); - late final _class_NSFileWrapper1 = _getClass1("NSFileWrapper"); - late final _sel_initWithURL_options_error_1 = - _registerName1("initWithURL:options:error:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1031 = + __objc_msgSend_1031Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_parse1 = objc.registerName("parse"); + late final _sel_abortParsing1 = objc.registerName("abortParsing"); + late final _sel_parserError1 = objc.registerName("parserError"); + late final _sel_shouldResolveExternalEntities1 = objc.registerName( + "shouldResolveExternalEntities", + ); + late final _sel_setShouldResolveExternalEntities_1 = objc.registerName( + "setShouldResolveExternalEntities:", + ); + late final _sel_publicID1 = objc.registerName("publicID"); + late final _sel_systemID1 = objc.registerName("systemID"); + late final _sel_lineNumber1 = objc.registerName("lineNumber"); + late final _sel_columnNumber1 = objc.registerName("columnNumber"); + late final _class_NSFileWrapper1 = objc.getClass("NSFileWrapper"); + late final _sel_initWithURL_options_error_1 = objc.registerName( + "initWithURL:options:error:", + ); instancetype _objc_msgSend_1032( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer url, int options, - ffi.Pointer> outError, + ffi.Pointer> outError, ) { - return __objc_msgSend_1032( - obj, - sel, - url, - options, - outError, - ); + return __objc_msgSend_1032(obj, sel, url, options, outError); } late final __objc_msgSend_1032Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_1032 = __objc_msgSend_1032Ptr.asFunction< + ffi.NativeFunction< instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>)>(); - - late final _sel_initDirectoryWithFileWrappers_1 = - _registerName1("initDirectoryWithFileWrappers:"); - late final _sel_initRegularFileWithContents_1 = - _registerName1("initRegularFileWithContents:"); - late final _sel_initSymbolicLinkWithDestinationURL_1 = - _registerName1("initSymbolicLinkWithDestinationURL:"); - late final _sel_initWithSerializedRepresentation_1 = - _registerName1("initWithSerializedRepresentation:"); - late final _sel_isDirectory1 = _registerName1("isDirectory"); - late final _sel_isRegularFile1 = _registerName1("isRegularFile"); - late final _sel_isSymbolicLink1 = _registerName1("isSymbolicLink"); - late final _sel_preferredFilename1 = _registerName1("preferredFilename"); - late final _sel_setPreferredFilename_1 = - _registerName1("setPreferredFilename:"); - late final _sel_filename1 = _registerName1("filename"); - late final _sel_setFilename_1 = _registerName1("setFilename:"); - late final _sel_fileAttributes1 = _registerName1("fileAttributes"); - late final _sel_setFileAttributes_1 = _registerName1("setFileAttributes:"); - late final _sel_matchesContentsOfURL_1 = - _registerName1("matchesContentsOfURL:"); - late final _sel_readFromURL_options_error_1 = - _registerName1("readFromURL:options:error:"); + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1032 = + __objc_msgSend_1032Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer>, + ) + >(); + + late final _sel_initDirectoryWithFileWrappers_1 = objc.registerName( + "initDirectoryWithFileWrappers:", + ); + late final _sel_initRegularFileWithContents_1 = objc.registerName( + "initRegularFileWithContents:", + ); + late final _sel_initSymbolicLinkWithDestinationURL_1 = objc.registerName( + "initSymbolicLinkWithDestinationURL:", + ); + late final _sel_initWithSerializedRepresentation_1 = objc.registerName( + "initWithSerializedRepresentation:", + ); + late final _sel_isDirectory1 = objc.registerName("isDirectory"); + late final _sel_isRegularFile1 = objc.registerName("isRegularFile"); + late final _sel_isSymbolicLink1 = objc.registerName("isSymbolicLink"); + late final _sel_preferredFilename1 = objc.registerName("preferredFilename"); + late final _sel_setPreferredFilename_1 = objc.registerName( + "setPreferredFilename:", + ); + late final _sel_filename1 = objc.registerName("filename"); + late final _sel_setFilename_1 = objc.registerName("setFilename:"); + late final _sel_fileAttributes1 = objc.registerName("fileAttributes"); + late final _sel_setFileAttributes_1 = objc.registerName("setFileAttributes:"); + late final _sel_matchesContentsOfURL_1 = objc.registerName( + "matchesContentsOfURL:", + ); + late final _sel_readFromURL_options_error_1 = objc.registerName( + "readFromURL:options:error:", + ); bool _objc_msgSend_1033( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer url, int options, - ffi.Pointer> outError, + ffi.Pointer> outError, ) { - return __objc_msgSend_1033( - obj, - sel, - url, - options, - outError, - ); + return __objc_msgSend_1033(obj, sel, url, options, outError); } late final __objc_msgSend_1033Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_1033 = __objc_msgSend_1033Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>)>(); - - late final _sel_writeToURL_options_originalContentsURL_error_1 = - _registerName1("writeToURL:options:originalContentsURL:error:"); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1033 = + __objc_msgSend_1033Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer>, + ) + >(); + + late final _sel_writeToURL_options_originalContentsURL_error_1 = objc + .registerName("writeToURL:options:originalContentsURL:error:"); bool _objc_msgSend_1034( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer url, int options, - ffi.Pointer originalContentsURL, - ffi.Pointer> outError, + ffi.Pointer originalContentsURL, + ffi.Pointer> outError, ) { return __objc_msgSend_1034( obj, @@ -29447,912 +36971,1215 @@ class AVFAudio { } late final __objc_msgSend_1034Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_1034 = __objc_msgSend_1034Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ffi.Pointer>)>(); - - late final _sel_serializedRepresentation1 = - _registerName1("serializedRepresentation"); - late final _sel_addFileWrapper_1 = _registerName1("addFileWrapper:"); - ffi.Pointer _objc_msgSend_1035( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer child, - ) { - return __objc_msgSend_1035( - obj, - sel, - child, - ); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1034 = + __objc_msgSend_1034Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ffi.Pointer>, + ) + >(); + + late final _sel_serializedRepresentation1 = objc.registerName( + "serializedRepresentation", + ); + late final _sel_addFileWrapper_1 = objc.registerName("addFileWrapper:"); + ffi.Pointer _objc_msgSend_1035( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer child, + ) { + return __objc_msgSend_1035(obj, sel, child); } late final __objc_msgSend_1035Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1035 = __objc_msgSend_1035Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_addRegularFileWithContents_preferredFilename_1 = - _registerName1("addRegularFileWithContents:preferredFilename:"); - ffi.Pointer _objc_msgSend_1036( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer data, - ffi.Pointer fileName, - ) { - return __objc_msgSend_1036( - obj, - sel, - data, - fileName, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1035 = + __objc_msgSend_1035Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_addRegularFileWithContents_preferredFilename_1 = objc + .registerName("addRegularFileWithContents:preferredFilename:"); + ffi.Pointer _objc_msgSend_1036( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer data, + ffi.Pointer fileName, + ) { + return __objc_msgSend_1036(obj, sel, data, fileName); } late final __objc_msgSend_1036Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1036 = __objc_msgSend_1036Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_removeFileWrapper_1 = _registerName1("removeFileWrapper:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1036 = + __objc_msgSend_1036Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_removeFileWrapper_1 = objc.registerName("removeFileWrapper:"); void _objc_msgSend_1037( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer child, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer child, ) { - return __objc_msgSend_1037( - obj, - sel, - child, - ); + return __objc_msgSend_1037(obj, sel, child); } late final __objc_msgSend_1037Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1037 = __objc_msgSend_1037Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_fileWrappers1 = _registerName1("fileWrappers"); - late final _sel_keyForFileWrapper_1 = _registerName1("keyForFileWrapper:"); - ffi.Pointer _objc_msgSend_1038( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer child, - ) { - return __objc_msgSend_1038( - obj, - sel, - child, - ); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1037 = + __objc_msgSend_1037Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_fileWrappers1 = objc.registerName("fileWrappers"); + late final _sel_keyForFileWrapper_1 = objc.registerName("keyForFileWrapper:"); + ffi.Pointer _objc_msgSend_1038( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer child, + ) { + return __objc_msgSend_1038(obj, sel, child); } late final __objc_msgSend_1038Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1038 = __objc_msgSend_1038Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_regularFileContents1 = _registerName1("regularFileContents"); - late final _sel_symbolicLinkDestinationURL1 = - _registerName1("symbolicLinkDestinationURL"); - late final _sel_initSymbolicLinkWithDestination_1 = - _registerName1("initSymbolicLinkWithDestination:"); - late final _sel_needsToBeUpdatedFromPath_1 = - _registerName1("needsToBeUpdatedFromPath:"); - late final _sel_updateFromPath_1 = _registerName1("updateFromPath:"); - late final _sel_writeToFile_atomically_updateFilenames_1 = - _registerName1("writeToFile:atomically:updateFilenames:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1038 = + __objc_msgSend_1038Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_regularFileContents1 = objc.registerName( + "regularFileContents", + ); + late final _sel_symbolicLinkDestinationURL1 = objc.registerName( + "symbolicLinkDestinationURL", + ); + late final _sel_initSymbolicLinkWithDestination_1 = objc.registerName( + "initSymbolicLinkWithDestination:", + ); + late final _sel_needsToBeUpdatedFromPath_1 = objc.registerName( + "needsToBeUpdatedFromPath:", + ); + late final _sel_updateFromPath_1 = objc.registerName("updateFromPath:"); + late final _sel_writeToFile_atomically_updateFilenames_1 = objc.registerName( + "writeToFile:atomically:updateFilenames:", + ); bool _objc_msgSend_1039( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer path, bool atomicFlag, bool updateFilenamesFlag, ) { - return __objc_msgSend_1039( - obj, - sel, - path, - atomicFlag, - updateFilenamesFlag, - ); + return __objc_msgSend_1039(obj, sel, path, atomicFlag, updateFilenamesFlag); } late final __objc_msgSend_1039Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Bool, ffi.Bool)>>('objc_msgSend'); - late final __objc_msgSend_1039 = __objc_msgSend_1039Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, bool, bool)>(); - - late final _sel_addFileWithPath_1 = _registerName1("addFileWithPath:"); - late final _sel_addSymbolicLinkWithDestination_preferredFilename_1 = - _registerName1("addSymbolicLinkWithDestination:preferredFilename:"); - late final _sel_symbolicLinkDestination1 = - _registerName1("symbolicLinkDestination"); - late final _class_NSURLSession1 = _getClass1("NSURLSession"); - late final _sel_sharedSession1 = _registerName1("sharedSession"); - ffi.Pointer _objc_msgSend_1040( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_1040( - obj, - sel, - ); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.Bool, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1039 = + __objc_msgSend_1039Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool, + bool, + ) + >(); + + late final _sel_addFileWithPath_1 = objc.registerName("addFileWithPath:"); + late final _sel_addSymbolicLinkWithDestination_preferredFilename_1 = objc + .registerName("addSymbolicLinkWithDestination:preferredFilename:"); + late final _sel_symbolicLinkDestination1 = objc.registerName( + "symbolicLinkDestination", + ); + late final _class_NSURLSession1 = objc.getClass("NSURLSession"); + late final _sel_sharedSession1 = objc.registerName("sharedSession"); + ffi.Pointer _objc_msgSend_1040( + ffi.Pointer obj, + ffi.Pointer sel, + ) { + return __objc_msgSend_1040(obj, sel); } late final __objc_msgSend_1040Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1040 = __objc_msgSend_1040Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); - - late final _class_NSURLSessionConfiguration1 = - _getClass1("NSURLSessionConfiguration"); - late final _sel_defaultSessionConfiguration1 = - _registerName1("defaultSessionConfiguration"); - ffi.Pointer _objc_msgSend_1041( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_1041( - obj, - sel, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1040 = + __objc_msgSend_1040Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _class_NSURLSessionConfiguration1 = objc.getClass( + "NSURLSessionConfiguration", + ); + late final _sel_defaultSessionConfiguration1 = objc.registerName( + "defaultSessionConfiguration", + ); + ffi.Pointer _objc_msgSend_1041( + ffi.Pointer obj, + ffi.Pointer sel, + ) { + return __objc_msgSend_1041(obj, sel); } late final __objc_msgSend_1041Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1041 = __objc_msgSend_1041Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_ephemeralSessionConfiguration1 = - _registerName1("ephemeralSessionConfiguration"); - late final _sel_backgroundSessionConfigurationWithIdentifier_1 = - _registerName1("backgroundSessionConfigurationWithIdentifier:"); - ffi.Pointer _objc_msgSend_1042( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer identifier, - ) { - return __objc_msgSend_1042( - obj, - sel, - identifier, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1041 = + __objc_msgSend_1041Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_ephemeralSessionConfiguration1 = objc.registerName( + "ephemeralSessionConfiguration", + ); + late final _sel_backgroundSessionConfigurationWithIdentifier_1 = objc + .registerName("backgroundSessionConfigurationWithIdentifier:"); + ffi.Pointer _objc_msgSend_1042( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer identifier, + ) { + return __objc_msgSend_1042(obj, sel, identifier); } late final __objc_msgSend_1042Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1042 = __objc_msgSend_1042Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_identifier1 = _registerName1("identifier"); - late final _sel_requestCachePolicy1 = _registerName1("requestCachePolicy"); - late final _sel_setRequestCachePolicy_1 = - _registerName1("setRequestCachePolicy:"); - late final _sel_timeoutIntervalForRequest1 = - _registerName1("timeoutIntervalForRequest"); - late final _sel_setTimeoutIntervalForRequest_1 = - _registerName1("setTimeoutIntervalForRequest:"); - late final _sel_timeoutIntervalForResource1 = - _registerName1("timeoutIntervalForResource"); - late final _sel_setTimeoutIntervalForResource_1 = - _registerName1("setTimeoutIntervalForResource:"); - late final _sel_waitsForConnectivity1 = - _registerName1("waitsForConnectivity"); - late final _sel_setWaitsForConnectivity_1 = - _registerName1("setWaitsForConnectivity:"); - late final _sel_isDiscretionary1 = _registerName1("isDiscretionary"); - late final _sel_setDiscretionary_1 = _registerName1("setDiscretionary:"); - late final _sel_sharedContainerIdentifier1 = - _registerName1("sharedContainerIdentifier"); - late final _sel_setSharedContainerIdentifier_1 = - _registerName1("setSharedContainerIdentifier:"); - late final _sel_sessionSendsLaunchEvents1 = - _registerName1("sessionSendsLaunchEvents"); - late final _sel_setSessionSendsLaunchEvents_1 = - _registerName1("setSessionSendsLaunchEvents:"); - late final _sel_connectionProxyDictionary1 = - _registerName1("connectionProxyDictionary"); - late final _sel_setConnectionProxyDictionary_1 = - _registerName1("setConnectionProxyDictionary:"); - late final _sel_TLSMinimumSupportedProtocol1 = - _registerName1("TLSMinimumSupportedProtocol"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1042 = + __objc_msgSend_1042Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_identifier1 = objc.registerName("identifier"); + late final _sel_requestCachePolicy1 = objc.registerName("requestCachePolicy"); + late final _sel_setRequestCachePolicy_1 = objc.registerName( + "setRequestCachePolicy:", + ); + late final _sel_timeoutIntervalForRequest1 = objc.registerName( + "timeoutIntervalForRequest", + ); + late final _sel_setTimeoutIntervalForRequest_1 = objc.registerName( + "setTimeoutIntervalForRequest:", + ); + late final _sel_timeoutIntervalForResource1 = objc.registerName( + "timeoutIntervalForResource", + ); + late final _sel_setTimeoutIntervalForResource_1 = objc.registerName( + "setTimeoutIntervalForResource:", + ); + late final _sel_waitsForConnectivity1 = objc.registerName( + "waitsForConnectivity", + ); + late final _sel_setWaitsForConnectivity_1 = objc.registerName( + "setWaitsForConnectivity:", + ); + late final _sel_isDiscretionary1 = objc.registerName("isDiscretionary"); + late final _sel_setDiscretionary_1 = objc.registerName("setDiscretionary:"); + late final _sel_sharedContainerIdentifier1 = objc.registerName( + "sharedContainerIdentifier", + ); + late final _sel_setSharedContainerIdentifier_1 = objc.registerName( + "setSharedContainerIdentifier:", + ); + late final _sel_sessionSendsLaunchEvents1 = objc.registerName( + "sessionSendsLaunchEvents", + ); + late final _sel_setSessionSendsLaunchEvents_1 = objc.registerName( + "setSessionSendsLaunchEvents:", + ); + late final _sel_connectionProxyDictionary1 = objc.registerName( + "connectionProxyDictionary", + ); + late final _sel_setConnectionProxyDictionary_1 = objc.registerName( + "setConnectionProxyDictionary:", + ); + late final _sel_TLSMinimumSupportedProtocol1 = objc.registerName( + "TLSMinimumSupportedProtocol", + ); int _objc_msgSend_1043( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_1043( - obj, - sel, - ); + return __objc_msgSend_1043(obj, sel); } late final __objc_msgSend_1043Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1043 = __objc_msgSend_1043Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer)>(); - - late final _sel_setTLSMinimumSupportedProtocol_1 = - _registerName1("setTLSMinimumSupportedProtocol:"); + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1043 = + __objc_msgSend_1043Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_setTLSMinimumSupportedProtocol_1 = objc.registerName( + "setTLSMinimumSupportedProtocol:", + ); void _objc_msgSend_1044( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int value, ) { - return __objc_msgSend_1044( - obj, - sel, - value, - ); + return __objc_msgSend_1044(obj, sel, value); } late final __objc_msgSend_1044Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_1044 = __objc_msgSend_1044Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_TLSMaximumSupportedProtocol1 = - _registerName1("TLSMaximumSupportedProtocol"); - late final _sel_setTLSMaximumSupportedProtocol_1 = - _registerName1("setTLSMaximumSupportedProtocol:"); - late final _sel_TLSMinimumSupportedProtocolVersion1 = - _registerName1("TLSMinimumSupportedProtocolVersion"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1044 = + __objc_msgSend_1044Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_TLSMaximumSupportedProtocol1 = objc.registerName( + "TLSMaximumSupportedProtocol", + ); + late final _sel_setTLSMaximumSupportedProtocol_1 = objc.registerName( + "setTLSMaximumSupportedProtocol:", + ); + late final _sel_TLSMinimumSupportedProtocolVersion1 = objc.registerName( + "TLSMinimumSupportedProtocolVersion", + ); int _objc_msgSend_1045( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_1045( - obj, - sel, - ); + return __objc_msgSend_1045(obj, sel); } late final __objc_msgSend_1045Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1045 = __objc_msgSend_1045Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer)>(); - - late final _sel_setTLSMinimumSupportedProtocolVersion_1 = - _registerName1("setTLSMinimumSupportedProtocolVersion:"); + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1045 = + __objc_msgSend_1045Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_setTLSMinimumSupportedProtocolVersion_1 = objc.registerName( + "setTLSMinimumSupportedProtocolVersion:", + ); void _objc_msgSend_1046( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int value, ) { - return __objc_msgSend_1046( - obj, - sel, - value, - ); + return __objc_msgSend_1046(obj, sel, value); } late final __objc_msgSend_1046Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_1046 = __objc_msgSend_1046Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_TLSMaximumSupportedProtocolVersion1 = - _registerName1("TLSMaximumSupportedProtocolVersion"); - late final _sel_setTLSMaximumSupportedProtocolVersion_1 = - _registerName1("setTLSMaximumSupportedProtocolVersion:"); - late final _sel_HTTPShouldSetCookies1 = - _registerName1("HTTPShouldSetCookies"); - late final _sel_setHTTPShouldSetCookies_1 = - _registerName1("setHTTPShouldSetCookies:"); - late final _sel_HTTPCookieAcceptPolicy1 = - _registerName1("HTTPCookieAcceptPolicy"); - late final _sel_setHTTPCookieAcceptPolicy_1 = - _registerName1("setHTTPCookieAcceptPolicy:"); - late final _sel_HTTPAdditionalHeaders1 = - _registerName1("HTTPAdditionalHeaders"); - late final _sel_setHTTPAdditionalHeaders_1 = - _registerName1("setHTTPAdditionalHeaders:"); - late final _sel_HTTPMaximumConnectionsPerHost1 = - _registerName1("HTTPMaximumConnectionsPerHost"); - late final _sel_setHTTPMaximumConnectionsPerHost_1 = - _registerName1("setHTTPMaximumConnectionsPerHost:"); - late final _sel_HTTPCookieStorage1 = _registerName1("HTTPCookieStorage"); - ffi.Pointer _objc_msgSend_1047( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_1047( - obj, - sel, - ); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1046 = + __objc_msgSend_1046Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_TLSMaximumSupportedProtocolVersion1 = objc.registerName( + "TLSMaximumSupportedProtocolVersion", + ); + late final _sel_setTLSMaximumSupportedProtocolVersion_1 = objc.registerName( + "setTLSMaximumSupportedProtocolVersion:", + ); + late final _sel_HTTPShouldSetCookies1 = objc.registerName( + "HTTPShouldSetCookies", + ); + late final _sel_setHTTPShouldSetCookies_1 = objc.registerName( + "setHTTPShouldSetCookies:", + ); + late final _sel_HTTPCookieAcceptPolicy1 = objc.registerName( + "HTTPCookieAcceptPolicy", + ); + late final _sel_setHTTPCookieAcceptPolicy_1 = objc.registerName( + "setHTTPCookieAcceptPolicy:", + ); + late final _sel_HTTPAdditionalHeaders1 = objc.registerName( + "HTTPAdditionalHeaders", + ); + late final _sel_setHTTPAdditionalHeaders_1 = objc.registerName( + "setHTTPAdditionalHeaders:", + ); + late final _sel_HTTPMaximumConnectionsPerHost1 = objc.registerName( + "HTTPMaximumConnectionsPerHost", + ); + late final _sel_setHTTPMaximumConnectionsPerHost_1 = objc.registerName( + "setHTTPMaximumConnectionsPerHost:", + ); + late final _sel_HTTPCookieStorage1 = objc.registerName("HTTPCookieStorage"); + ffi.Pointer _objc_msgSend_1047( + ffi.Pointer obj, + ffi.Pointer sel, + ) { + return __objc_msgSend_1047(obj, sel); } late final __objc_msgSend_1047Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1047 = __objc_msgSend_1047Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_setHTTPCookieStorage_1 = - _registerName1("setHTTPCookieStorage:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1047 = + __objc_msgSend_1047Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_setHTTPCookieStorage_1 = objc.registerName( + "setHTTPCookieStorage:", + ); void _objc_msgSend_1048( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value, ) { - return __objc_msgSend_1048( - obj, - sel, - value, - ); + return __objc_msgSend_1048(obj, sel, value); } late final __objc_msgSend_1048Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1048 = __objc_msgSend_1048Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_URLCredentialStorage1 = - _registerName1("URLCredentialStorage"); - ffi.Pointer _objc_msgSend_1049( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_1049( - obj, - sel, - ); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1048 = + __objc_msgSend_1048Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_URLCredentialStorage1 = objc.registerName( + "URLCredentialStorage", + ); + ffi.Pointer _objc_msgSend_1049( + ffi.Pointer obj, + ffi.Pointer sel, + ) { + return __objc_msgSend_1049(obj, sel); } late final __objc_msgSend_1049Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1049 = __objc_msgSend_1049Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_setURLCredentialStorage_1 = - _registerName1("setURLCredentialStorage:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1049 = + __objc_msgSend_1049Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_setURLCredentialStorage_1 = objc.registerName( + "setURLCredentialStorage:", + ); void _objc_msgSend_1050( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value, ) { - return __objc_msgSend_1050( - obj, - sel, - value, - ); + return __objc_msgSend_1050(obj, sel, value); } late final __objc_msgSend_1050Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1050 = __objc_msgSend_1050Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_URLCache1 = _registerName1("URLCache"); - ffi.Pointer _objc_msgSend_1051( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_1051( - obj, - sel, - ); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1050 = + __objc_msgSend_1050Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_URLCache1 = objc.registerName("URLCache"); + ffi.Pointer _objc_msgSend_1051( + ffi.Pointer obj, + ffi.Pointer sel, + ) { + return __objc_msgSend_1051(obj, sel); } late final __objc_msgSend_1051Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1051 = __objc_msgSend_1051Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1051 = + __objc_msgSend_1051Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); - late final _sel_setURLCache_1 = _registerName1("setURLCache:"); + late final _sel_setURLCache_1 = objc.registerName("setURLCache:"); void _objc_msgSend_1052( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value, ) { - return __objc_msgSend_1052( - obj, - sel, - value, - ); + return __objc_msgSend_1052(obj, sel, value); } late final __objc_msgSend_1052Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1052 = __objc_msgSend_1052Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_shouldUseExtendedBackgroundIdleMode1 = - _registerName1("shouldUseExtendedBackgroundIdleMode"); - late final _sel_setShouldUseExtendedBackgroundIdleMode_1 = - _registerName1("setShouldUseExtendedBackgroundIdleMode:"); - late final _sel_protocolClasses1 = _registerName1("protocolClasses"); - late final _sel_setProtocolClasses_1 = _registerName1("setProtocolClasses:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1052 = + __objc_msgSend_1052Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_shouldUseExtendedBackgroundIdleMode1 = objc.registerName( + "shouldUseExtendedBackgroundIdleMode", + ); + late final _sel_setShouldUseExtendedBackgroundIdleMode_1 = objc.registerName( + "setShouldUseExtendedBackgroundIdleMode:", + ); + late final _sel_protocolClasses1 = objc.registerName("protocolClasses"); + late final _sel_setProtocolClasses_1 = objc.registerName( + "setProtocolClasses:", + ); void _objc_msgSend_1053( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value, ) { - return __objc_msgSend_1053( - obj, - sel, - value, - ); + return __objc_msgSend_1053(obj, sel, value); } late final __objc_msgSend_1053Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1053 = __objc_msgSend_1053Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_multipathServiceType1 = - _registerName1("multipathServiceType"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1053 = + __objc_msgSend_1053Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_multipathServiceType1 = objc.registerName( + "multipathServiceType", + ); int _objc_msgSend_1054( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_1054( - obj, - sel, - ); + return __objc_msgSend_1054(obj, sel); } late final __objc_msgSend_1054Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1054 = __objc_msgSend_1054Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer)>(); - - late final _sel_setMultipathServiceType_1 = - _registerName1("setMultipathServiceType:"); + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1054 = + __objc_msgSend_1054Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_setMultipathServiceType_1 = objc.registerName( + "setMultipathServiceType:", + ); void _objc_msgSend_1055( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int value, ) { - return __objc_msgSend_1055( - obj, - sel, - value, - ); + return __objc_msgSend_1055(obj, sel, value); } late final __objc_msgSend_1055Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_1055 = __objc_msgSend_1055Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_backgroundSessionConfiguration_1 = - _registerName1("backgroundSessionConfiguration:"); - late final _sel_sessionWithConfiguration_1 = - _registerName1("sessionWithConfiguration:"); - ffi.Pointer _objc_msgSend_1056( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer configuration, - ) { - return __objc_msgSend_1056( - obj, - sel, - configuration, - ); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1055 = + __objc_msgSend_1055Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_backgroundSessionConfiguration_1 = objc.registerName( + "backgroundSessionConfiguration:", + ); + late final _sel_sessionWithConfiguration_1 = objc.registerName( + "sessionWithConfiguration:", + ); + ffi.Pointer _objc_msgSend_1056( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer configuration, + ) { + return __objc_msgSend_1056(obj, sel, configuration); } late final __objc_msgSend_1056Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1056 = __objc_msgSend_1056Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_sessionWithConfiguration_delegate_delegateQueue_1 = - _registerName1("sessionWithConfiguration:delegate:delegateQueue:"); - ffi.Pointer _objc_msgSend_1057( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer configuration, - ffi.Pointer delegate, - ffi.Pointer queue, - ) { - return __objc_msgSend_1057( - obj, - sel, - configuration, - delegate, - queue, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1056 = + __objc_msgSend_1056Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_sessionWithConfiguration_delegate_delegateQueue_1 = objc + .registerName("sessionWithConfiguration:delegate:delegateQueue:"); + ffi.Pointer _objc_msgSend_1057( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer configuration, + ffi.Pointer delegate, + ffi.Pointer queue, + ) { + return __objc_msgSend_1057(obj, sel, configuration, delegate, queue); } late final __objc_msgSend_1057Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1057 = __objc_msgSend_1057Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_delegateQueue1 = _registerName1("delegateQueue"); - late final _sel_configuration1 = _registerName1("configuration"); - late final _sel_sessionDescription1 = _registerName1("sessionDescription"); - late final _sel_setSessionDescription_1 = - _registerName1("setSessionDescription:"); - late final _sel_finishTasksAndInvalidate1 = - _registerName1("finishTasksAndInvalidate"); - late final _sel_invalidateAndCancel1 = _registerName1("invalidateAndCancel"); - late final _sel_resetWithCompletionHandler_1 = - _registerName1("resetWithCompletionHandler:"); - late final _sel_flushWithCompletionHandler_1 = - _registerName1("flushWithCompletionHandler:"); - late final _sel_getTasksWithCompletionHandler_1 = - _registerName1("getTasksWithCompletionHandler:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1057 = + __objc_msgSend_1057Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_delegateQueue1 = objc.registerName("delegateQueue"); + late final _sel_configuration1 = objc.registerName("configuration"); + late final _sel_sessionDescription1 = objc.registerName("sessionDescription"); + late final _sel_setSessionDescription_1 = objc.registerName( + "setSessionDescription:", + ); + late final _sel_finishTasksAndInvalidate1 = objc.registerName( + "finishTasksAndInvalidate", + ); + late final _sel_invalidateAndCancel1 = objc.registerName( + "invalidateAndCancel", + ); + late final _sel_resetWithCompletionHandler_1 = objc.registerName( + "resetWithCompletionHandler:", + ); + late final _sel_flushWithCompletionHandler_1 = objc.registerName( + "flushWithCompletionHandler:", + ); + late final _sel_getTasksWithCompletionHandler_1 = objc.registerName( + "getTasksWithCompletionHandler:", + ); void _objc_msgSend_1058( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer<_ObjCBlock> completionHandler, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer completionHandler, ) { - return __objc_msgSend_1058( - obj, - sel, - completionHandler, - ); + return __objc_msgSend_1058(obj, sel, completionHandler); } late final __objc_msgSend_1058Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_1058 = __objc_msgSend_1058Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_getAllTasksWithCompletionHandler_1 = - _registerName1("getAllTasksWithCompletionHandler:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1058 = + __objc_msgSend_1058Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_getAllTasksWithCompletionHandler_1 = objc.registerName( + "getAllTasksWithCompletionHandler:", + ); void _objc_msgSend_1059( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer<_ObjCBlock> completionHandler, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer completionHandler, ) { - return __objc_msgSend_1059( - obj, - sel, - completionHandler, - ); + return __objc_msgSend_1059(obj, sel, completionHandler); } late final __objc_msgSend_1059Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_1059 = __objc_msgSend_1059Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_dataTaskWithRequest_1 = - _registerName1("dataTaskWithRequest:"); - ffi.Pointer _objc_msgSend_1060( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer request, - ) { - return __objc_msgSend_1060( - obj, - sel, - request, - ); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1059 = + __objc_msgSend_1059Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_dataTaskWithRequest_1 = objc.registerName( + "dataTaskWithRequest:", + ); + ffi.Pointer _objc_msgSend_1060( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer request, + ) { + return __objc_msgSend_1060(obj, sel, request); } late final __objc_msgSend_1060Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1060 = __objc_msgSend_1060Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_dataTaskWithURL_1 = _registerName1("dataTaskWithURL:"); - ffi.Pointer _objc_msgSend_1061( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, - ) { - return __objc_msgSend_1061( - obj, - sel, - url, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1060 = + __objc_msgSend_1060Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_dataTaskWithURL_1 = objc.registerName("dataTaskWithURL:"); + ffi.Pointer _objc_msgSend_1061( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer url, + ) { + return __objc_msgSend_1061(obj, sel, url); } late final __objc_msgSend_1061Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1061 = __objc_msgSend_1061Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _class_NSURLSessionUploadTask1 = - _getClass1("NSURLSessionUploadTask"); - late final _sel_cancelByProducingResumeData_1 = - _registerName1("cancelByProducingResumeData:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1061 = + __objc_msgSend_1061Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _class_NSURLSessionUploadTask1 = objc.getClass( + "NSURLSessionUploadTask", + ); + late final _sel_cancelByProducingResumeData_1 = objc.registerName( + "cancelByProducingResumeData:", + ); void _objc_msgSend_1062( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer<_ObjCBlock> completionHandler, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer completionHandler, ) { - return __objc_msgSend_1062( - obj, - sel, - completionHandler, - ); + return __objc_msgSend_1062(obj, sel, completionHandler); } late final __objc_msgSend_1062Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_1062 = __objc_msgSend_1062Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_uploadTaskWithRequest_fromFile_1 = - _registerName1("uploadTaskWithRequest:fromFile:"); - ffi.Pointer _objc_msgSend_1063( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer request, - ffi.Pointer fileURL, - ) { - return __objc_msgSend_1063( - obj, - sel, - request, - fileURL, - ); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1062 = + __objc_msgSend_1062Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_uploadTaskWithRequest_fromFile_1 = objc.registerName( + "uploadTaskWithRequest:fromFile:", + ); + ffi.Pointer _objc_msgSend_1063( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer request, + ffi.Pointer fileURL, + ) { + return __objc_msgSend_1063(obj, sel, request, fileURL); } late final __objc_msgSend_1063Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1063 = __objc_msgSend_1063Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_uploadTaskWithRequest_fromData_1 = - _registerName1("uploadTaskWithRequest:fromData:"); - ffi.Pointer _objc_msgSend_1064( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer request, - ffi.Pointer bodyData, - ) { - return __objc_msgSend_1064( - obj, - sel, - request, - bodyData, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1063 = + __objc_msgSend_1063Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_uploadTaskWithRequest_fromData_1 = objc.registerName( + "uploadTaskWithRequest:fromData:", + ); + ffi.Pointer _objc_msgSend_1064( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer request, + ffi.Pointer bodyData, + ) { + return __objc_msgSend_1064(obj, sel, request, bodyData); } late final __objc_msgSend_1064Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1064 = __objc_msgSend_1064Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_uploadTaskWithResumeData_1 = - _registerName1("uploadTaskWithResumeData:"); - ffi.Pointer _objc_msgSend_1065( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer resumeData, - ) { - return __objc_msgSend_1065( - obj, - sel, - resumeData, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1064 = + __objc_msgSend_1064Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_uploadTaskWithResumeData_1 = objc.registerName( + "uploadTaskWithResumeData:", + ); + ffi.Pointer _objc_msgSend_1065( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer resumeData, + ) { + return __objc_msgSend_1065(obj, sel, resumeData); } late final __objc_msgSend_1065Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1065 = __objc_msgSend_1065Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_uploadTaskWithStreamedRequest_1 = - _registerName1("uploadTaskWithStreamedRequest:"); - ffi.Pointer _objc_msgSend_1066( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer request, - ) { - return __objc_msgSend_1066( - obj, - sel, - request, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1065 = + __objc_msgSend_1065Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_uploadTaskWithStreamedRequest_1 = objc.registerName( + "uploadTaskWithStreamedRequest:", + ); + ffi.Pointer _objc_msgSend_1066( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer request, + ) { + return __objc_msgSend_1066(obj, sel, request); } late final __objc_msgSend_1066Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1066 = __objc_msgSend_1066Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _class_NSURLSessionDownloadTask1 = - _getClass1("NSURLSessionDownloadTask"); - late final _sel_downloadTaskWithRequest_1 = - _registerName1("downloadTaskWithRequest:"); - ffi.Pointer _objc_msgSend_1067( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer request, - ) { - return __objc_msgSend_1067( - obj, - sel, - request, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1066 = + __objc_msgSend_1066Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _class_NSURLSessionDownloadTask1 = objc.getClass( + "NSURLSessionDownloadTask", + ); + late final _sel_downloadTaskWithRequest_1 = objc.registerName( + "downloadTaskWithRequest:", + ); + ffi.Pointer _objc_msgSend_1067( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer request, + ) { + return __objc_msgSend_1067(obj, sel, request); } late final __objc_msgSend_1067Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1067 = __objc_msgSend_1067Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_downloadTaskWithURL_1 = - _registerName1("downloadTaskWithURL:"); - ffi.Pointer _objc_msgSend_1068( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, - ) { - return __objc_msgSend_1068( - obj, - sel, - url, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1067 = + __objc_msgSend_1067Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_downloadTaskWithURL_1 = objc.registerName( + "downloadTaskWithURL:", + ); + ffi.Pointer _objc_msgSend_1068( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer url, + ) { + return __objc_msgSend_1068(obj, sel, url); } late final __objc_msgSend_1068Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1068 = __objc_msgSend_1068Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_downloadTaskWithResumeData_1 = - _registerName1("downloadTaskWithResumeData:"); - ffi.Pointer _objc_msgSend_1069( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer resumeData, - ) { - return __objc_msgSend_1069( - obj, - sel, - resumeData, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1068 = + __objc_msgSend_1068Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_downloadTaskWithResumeData_1 = objc.registerName( + "downloadTaskWithResumeData:", + ); + ffi.Pointer _objc_msgSend_1069( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer resumeData, + ) { + return __objc_msgSend_1069(obj, sel, resumeData); } late final __objc_msgSend_1069Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1069 = __objc_msgSend_1069Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _class_NSURLSessionStreamTask1 = - _getClass1("NSURLSessionStreamTask"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1069 = + __objc_msgSend_1069Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _class_NSURLSessionStreamTask1 = objc.getClass( + "NSURLSessionStreamTask", + ); late final _sel_readDataOfMinLength_maxLength_timeout_completionHandler_1 = - _registerName1( - "readDataOfMinLength:maxLength:timeout:completionHandler:"); + objc.registerName( + "readDataOfMinLength:maxLength:timeout:completionHandler:", + ); void _objc_msgSend_1070( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int minBytes, int maxBytes, double timeout, - ffi.Pointer<_ObjCBlock> completionHandler, + ffi.Pointer completionHandler, ) { return __objc_msgSend_1070( obj, @@ -30365,919 +38192,1126 @@ class AVFAudio { } late final __objc_msgSend_1070Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ffi.UnsignedLong, - ffi.Double, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_1070 = __objc_msgSend_1070Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int, int, - double, ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_writeData_timeout_completionHandler_1 = - _registerName1("writeData:timeout:completionHandler:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.UnsignedLong, + ffi.Double, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1070 = + __objc_msgSend_1070Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + int, + double, + ffi.Pointer, + ) + >(); + + late final _sel_writeData_timeout_completionHandler_1 = objc.registerName( + "writeData:timeout:completionHandler:", + ); void _objc_msgSend_1071( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer data, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer data, double timeout, - ffi.Pointer<_ObjCBlock> completionHandler, + ffi.Pointer completionHandler, ) { - return __objc_msgSend_1071( - obj, - sel, - data, - timeout, - completionHandler, - ); + return __objc_msgSend_1071(obj, sel, data, timeout, completionHandler); } late final __objc_msgSend_1071Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Double, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_1071 = __objc_msgSend_1071Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, double, ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_captureStreams1 = _registerName1("captureStreams"); - late final _sel_closeWrite1 = _registerName1("closeWrite"); - late final _sel_closeRead1 = _registerName1("closeRead"); - late final _sel_startSecureConnection1 = - _registerName1("startSecureConnection"); - late final _sel_stopSecureConnection1 = - _registerName1("stopSecureConnection"); - late final _sel_streamTaskWithHostName_port_1 = - _registerName1("streamTaskWithHostName:port:"); - ffi.Pointer _objc_msgSend_1072( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer hostname, + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Double, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1071 = + __objc_msgSend_1071Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + double, + ffi.Pointer, + ) + >(); + + late final _sel_captureStreams1 = objc.registerName("captureStreams"); + late final _sel_closeWrite1 = objc.registerName("closeWrite"); + late final _sel_closeRead1 = objc.registerName("closeRead"); + late final _sel_startSecureConnection1 = objc.registerName( + "startSecureConnection", + ); + late final _sel_stopSecureConnection1 = objc.registerName( + "stopSecureConnection", + ); + late final _sel_streamTaskWithHostName_port_1 = objc.registerName( + "streamTaskWithHostName:port:", + ); + ffi.Pointer _objc_msgSend_1072( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer hostname, int port, ) { - return __objc_msgSend_1072( - obj, - sel, - hostname, - port, - ); + return __objc_msgSend_1072(obj, sel, hostname, port); } late final __objc_msgSend_1072Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Long)>>('objc_msgSend'); - late final __objc_msgSend_1072 = __objc_msgSend_1072Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer, int)>(); - - late final _class_NSNetService1 = _getClass1("NSNetService"); - late final _sel_initWithDomain_type_name_port_1 = - _registerName1("initWithDomain:type:name:port:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Long, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1072 = + __objc_msgSend_1072Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _class_NSNetService1 = objc.getClass("NSNetService"); + late final _sel_initWithDomain_type_name_port_1 = objc.registerName( + "initWithDomain:type:name:port:", + ); instancetype _objc_msgSend_1073( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer domain, - ffi.Pointer type, - ffi.Pointer name, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer domain, + ffi.Pointer type, + ffi.Pointer name, int port, ) { - return __objc_msgSend_1073( - obj, - sel, - domain, - type, - name, - port, - ); + return __objc_msgSend_1073(obj, sel, domain, type, name, port); } late final __objc_msgSend_1073Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int)>>('objc_msgSend'); - late final __objc_msgSend_1073 = __objc_msgSend_1073Ptr.asFunction< + ffi.NativeFunction< instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int)>(); - - late final _sel_initWithDomain_type_name_1 = - _registerName1("initWithDomain:type:name:"); + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1073 = + __objc_msgSend_1073Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_initWithDomain_type_name_1 = objc.registerName( + "initWithDomain:type:name:", + ); instancetype _objc_msgSend_1074( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer domain, - ffi.Pointer type, - ffi.Pointer name, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer domain, + ffi.Pointer type, + ffi.Pointer name, ) { - return __objc_msgSend_1074( - obj, - sel, - domain, - type, - name, - ); + return __objc_msgSend_1074(obj, sel, domain, type, name); } late final __objc_msgSend_1074Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1074 = __objc_msgSend_1074Ptr.asFunction< + ffi.NativeFunction< instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_includesPeerToPeer1 = _registerName1("includesPeerToPeer"); - late final _sel_setIncludesPeerToPeer_1 = - _registerName1("setIncludesPeerToPeer:"); - late final _sel_type1 = _registerName1("type"); - late final _sel_publishWithOptions_1 = _registerName1("publishWithOptions:"); + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1074 = + __objc_msgSend_1074Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_includesPeerToPeer1 = objc.registerName("includesPeerToPeer"); + late final _sel_setIncludesPeerToPeer_1 = objc.registerName( + "setIncludesPeerToPeer:", + ); + late final _sel_type1 = objc.registerName("type"); + late final _sel_publishWithOptions_1 = objc.registerName( + "publishWithOptions:", + ); void _objc_msgSend_1075( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int options, ) { - return __objc_msgSend_1075( - obj, - sel, - options, - ); + return __objc_msgSend_1075(obj, sel, options); } late final __objc_msgSend_1075Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_1075 = __objc_msgSend_1075Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_resolve1 = _registerName1("resolve"); - late final _sel_stop1 = _registerName1("stop"); - late final _sel_dictionaryFromTXTRecordData_1 = - _registerName1("dictionaryFromTXTRecordData:"); - ffi.Pointer _objc_msgSend_1076( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer txtData, - ) { - return __objc_msgSend_1076( - obj, - sel, - txtData, - ); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1075 = + __objc_msgSend_1075Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_resolve1 = objc.registerName("resolve"); + late final _sel_stop1 = objc.registerName("stop"); + late final _sel_dictionaryFromTXTRecordData_1 = objc.registerName( + "dictionaryFromTXTRecordData:", + ); + ffi.Pointer _objc_msgSend_1076( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer txtData, + ) { + return __objc_msgSend_1076(obj, sel, txtData); } late final __objc_msgSend_1076Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1076 = __objc_msgSend_1076Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_dataFromTXTRecordDictionary_1 = - _registerName1("dataFromTXTRecordDictionary:"); - ffi.Pointer _objc_msgSend_1077( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer txtDictionary, - ) { - return __objc_msgSend_1077( - obj, - sel, - txtDictionary, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1076 = + __objc_msgSend_1076Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_dataFromTXTRecordDictionary_1 = objc.registerName( + "dataFromTXTRecordDictionary:", + ); + ffi.Pointer _objc_msgSend_1077( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer txtDictionary, + ) { + return __objc_msgSend_1077(obj, sel, txtDictionary); } late final __objc_msgSend_1077Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1077 = __objc_msgSend_1077Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_resolveWithTimeout_1 = _registerName1("resolveWithTimeout:"); - late final _sel_getInputStream_outputStream_1 = - _registerName1("getInputStream:outputStream:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1077 = + __objc_msgSend_1077Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_resolveWithTimeout_1 = objc.registerName( + "resolveWithTimeout:", + ); + late final _sel_getInputStream_outputStream_1 = objc.registerName( + "getInputStream:outputStream:", + ); bool _objc_msgSend_1078( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer> inputStream, - ffi.Pointer> outputStream, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer> inputStream, + ffi.Pointer> outputStream, ) { - return __objc_msgSend_1078( - obj, - sel, - inputStream, - outputStream, - ); + return __objc_msgSend_1078(obj, sel, inputStream, outputStream); } late final __objc_msgSend_1078Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_1078 = __objc_msgSend_1078Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer>)>(); - - late final _sel_setTXTRecordData_1 = _registerName1("setTXTRecordData:"); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1078 = + __objc_msgSend_1078Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer>, + ) + >(); + + late final _sel_setTXTRecordData_1 = objc.registerName("setTXTRecordData:"); bool _objc_msgSend_1079( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer recordData, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer recordData, ) { - return __objc_msgSend_1079( - obj, - sel, - recordData, - ); + return __objc_msgSend_1079(obj, sel, recordData); } late final __objc_msgSend_1079Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1079 = __objc_msgSend_1079Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_TXTRecordData1 = _registerName1("TXTRecordData"); - late final _sel_startMonitoring1 = _registerName1("startMonitoring"); - late final _sel_stopMonitoring1 = _registerName1("stopMonitoring"); - late final _sel_streamTaskWithNetService_1 = - _registerName1("streamTaskWithNetService:"); - ffi.Pointer _objc_msgSend_1080( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer service, - ) { - return __objc_msgSend_1080( - obj, - sel, - service, - ); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1079 = + __objc_msgSend_1079Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_TXTRecordData1 = objc.registerName("TXTRecordData"); + late final _sel_startMonitoring1 = objc.registerName("startMonitoring"); + late final _sel_stopMonitoring1 = objc.registerName("stopMonitoring"); + late final _sel_streamTaskWithNetService_1 = objc.registerName( + "streamTaskWithNetService:", + ); + ffi.Pointer _objc_msgSend_1080( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer service, + ) { + return __objc_msgSend_1080(obj, sel, service); } late final __objc_msgSend_1080Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1080 = __objc_msgSend_1080Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _class_NSURLSessionWebSocketTask1 = - _getClass1("NSURLSessionWebSocketTask"); - late final _class_NSURLSessionWebSocketMessage1 = - _getClass1("NSURLSessionWebSocketMessage"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1080 = + __objc_msgSend_1080Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _class_NSURLSessionWebSocketTask1 = objc.getClass( + "NSURLSessionWebSocketTask", + ); + late final _class_NSURLSessionWebSocketMessage1 = objc.getClass( + "NSURLSessionWebSocketMessage", + ); int _objc_msgSend_1081( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_1081( - obj, - sel, - ); + return __objc_msgSend_1081(obj, sel); } late final __objc_msgSend_1081Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1081 = __objc_msgSend_1081Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer)>(); - - late final _sel_sendMessage_completionHandler_1 = - _registerName1("sendMessage:completionHandler:"); + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1081 = + __objc_msgSend_1081Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_sendMessage_completionHandler_1 = objc.registerName( + "sendMessage:completionHandler:", + ); void _objc_msgSend_1082( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer message, - ffi.Pointer<_ObjCBlock> completionHandler, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer message, + ffi.Pointer completionHandler, ) { - return __objc_msgSend_1082( - obj, - sel, - message, - completionHandler, - ); + return __objc_msgSend_1082(obj, sel, message, completionHandler); } late final __objc_msgSend_1082Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_1082 = __objc_msgSend_1082Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_receiveMessageWithCompletionHandler_1 = - _registerName1("receiveMessageWithCompletionHandler:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1082 = + __objc_msgSend_1082Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_receiveMessageWithCompletionHandler_1 = objc.registerName( + "receiveMessageWithCompletionHandler:", + ); void _objc_msgSend_1083( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer<_ObjCBlock> completionHandler, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer completionHandler, ) { - return __objc_msgSend_1083( - obj, - sel, - completionHandler, - ); + return __objc_msgSend_1083(obj, sel, completionHandler); } late final __objc_msgSend_1083Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_1083 = __objc_msgSend_1083Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_sendPingWithPongReceiveHandler_1 = - _registerName1("sendPingWithPongReceiveHandler:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1083 = + __objc_msgSend_1083Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_sendPingWithPongReceiveHandler_1 = objc.registerName( + "sendPingWithPongReceiveHandler:", + ); void _objc_msgSend_1084( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer<_ObjCBlock> pongReceiveHandler, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer pongReceiveHandler, ) { - return __objc_msgSend_1084( - obj, - sel, - pongReceiveHandler, - ); + return __objc_msgSend_1084(obj, sel, pongReceiveHandler); } late final __objc_msgSend_1084Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_1084 = __objc_msgSend_1084Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_cancelWithCloseCode_reason_1 = - _registerName1("cancelWithCloseCode:reason:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1084 = + __objc_msgSend_1084Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_cancelWithCloseCode_reason_1 = objc.registerName( + "cancelWithCloseCode:reason:", + ); void _objc_msgSend_1085( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int closeCode, - ffi.Pointer reason, + ffi.Pointer reason, ) { - return __objc_msgSend_1085( - obj, - sel, - closeCode, - reason, - ); + return __objc_msgSend_1085(obj, sel, closeCode, reason); } late final __objc_msgSend_1085Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Int32, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1085 = __objc_msgSend_1085Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int, - ffi.Pointer)>(); - - late final _sel_maximumMessageSize1 = _registerName1("maximumMessageSize"); - late final _sel_setMaximumMessageSize_1 = - _registerName1("setMaximumMessageSize:"); - late final _sel_closeCode1 = _registerName1("closeCode"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1085 = + __objc_msgSend_1085Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ) + >(); + + late final _sel_maximumMessageSize1 = objc.registerName("maximumMessageSize"); + late final _sel_setMaximumMessageSize_1 = objc.registerName( + "setMaximumMessageSize:", + ); + late final _sel_closeCode1 = objc.registerName("closeCode"); int _objc_msgSend_1086( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_1086( - obj, - sel, - ); + return __objc_msgSend_1086(obj, sel); } late final __objc_msgSend_1086Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1086 = __objc_msgSend_1086Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer)>(); - - late final _sel_closeReason1 = _registerName1("closeReason"); - late final _sel_webSocketTaskWithURL_1 = - _registerName1("webSocketTaskWithURL:"); - ffi.Pointer _objc_msgSend_1087( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, - ) { - return __objc_msgSend_1087( - obj, - sel, - url, - ); + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1086 = + __objc_msgSend_1086Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_closeReason1 = objc.registerName("closeReason"); + late final _sel_webSocketTaskWithURL_1 = objc.registerName( + "webSocketTaskWithURL:", + ); + ffi.Pointer _objc_msgSend_1087( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer url, + ) { + return __objc_msgSend_1087(obj, sel, url); } late final __objc_msgSend_1087Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1087 = __objc_msgSend_1087Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_webSocketTaskWithURL_protocols_1 = - _registerName1("webSocketTaskWithURL:protocols:"); - ffi.Pointer _objc_msgSend_1088( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, - ffi.Pointer protocols, - ) { - return __objc_msgSend_1088( - obj, - sel, - url, - protocols, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1087 = + __objc_msgSend_1087Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_webSocketTaskWithURL_protocols_1 = objc.registerName( + "webSocketTaskWithURL:protocols:", + ); + ffi.Pointer _objc_msgSend_1088( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer url, + ffi.Pointer protocols, + ) { + return __objc_msgSend_1088(obj, sel, url, protocols); } late final __objc_msgSend_1088Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1088 = __objc_msgSend_1088Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_webSocketTaskWithRequest_1 = - _registerName1("webSocketTaskWithRequest:"); - ffi.Pointer _objc_msgSend_1089( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer request, - ) { - return __objc_msgSend_1089( - obj, - sel, - request, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1088 = + __objc_msgSend_1088Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_webSocketTaskWithRequest_1 = objc.registerName( + "webSocketTaskWithRequest:", + ); + ffi.Pointer _objc_msgSend_1089( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer request, + ) { + return __objc_msgSend_1089(obj, sel, request); } late final __objc_msgSend_1089Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1089 = __objc_msgSend_1089Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_dataTaskWithRequest_completionHandler_1 = - _registerName1("dataTaskWithRequest:completionHandler:"); - ffi.Pointer _objc_msgSend_1090( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer request, - ffi.Pointer<_ObjCBlock> completionHandler, - ) { - return __objc_msgSend_1090( - obj, - sel, - request, - completionHandler, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1089 = + __objc_msgSend_1089Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_dataTaskWithRequest_completionHandler_1 = objc.registerName( + "dataTaskWithRequest:completionHandler:", + ); + ffi.Pointer _objc_msgSend_1090( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer request, + ffi.Pointer completionHandler, + ) { + return __objc_msgSend_1090(obj, sel, request, completionHandler); } late final __objc_msgSend_1090Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_1090 = __objc_msgSend_1090Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_dataTaskWithURL_completionHandler_1 = - _registerName1("dataTaskWithURL:completionHandler:"); - ffi.Pointer _objc_msgSend_1091( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, - ffi.Pointer<_ObjCBlock> completionHandler, - ) { - return __objc_msgSend_1091( - obj, - sel, - url, - completionHandler, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1090 = + __objc_msgSend_1090Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_dataTaskWithURL_completionHandler_1 = objc.registerName( + "dataTaskWithURL:completionHandler:", + ); + ffi.Pointer _objc_msgSend_1091( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer url, + ffi.Pointer completionHandler, + ) { + return __objc_msgSend_1091(obj, sel, url, completionHandler); } late final __objc_msgSend_1091Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_1091 = __objc_msgSend_1091Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_uploadTaskWithRequest_fromFile_completionHandler_1 = - _registerName1("uploadTaskWithRequest:fromFile:completionHandler:"); - ffi.Pointer _objc_msgSend_1092( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer request, - ffi.Pointer fileURL, - ffi.Pointer<_ObjCBlock> completionHandler, - ) { - return __objc_msgSend_1092( - obj, - sel, - request, - fileURL, - completionHandler, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1091 = + __objc_msgSend_1091Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_uploadTaskWithRequest_fromFile_completionHandler_1 = objc + .registerName("uploadTaskWithRequest:fromFile:completionHandler:"); + ffi.Pointer _objc_msgSend_1092( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer request, + ffi.Pointer fileURL, + ffi.Pointer completionHandler, + ) { + return __objc_msgSend_1092(obj, sel, request, fileURL, completionHandler); } late final __objc_msgSend_1092Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_1092 = __objc_msgSend_1092Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_uploadTaskWithRequest_fromData_completionHandler_1 = - _registerName1("uploadTaskWithRequest:fromData:completionHandler:"); - ffi.Pointer _objc_msgSend_1093( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer request, - ffi.Pointer bodyData, - ffi.Pointer<_ObjCBlock> completionHandler, - ) { - return __objc_msgSend_1093( - obj, - sel, - request, - bodyData, - completionHandler, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1092 = + __objc_msgSend_1092Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_uploadTaskWithRequest_fromData_completionHandler_1 = objc + .registerName("uploadTaskWithRequest:fromData:completionHandler:"); + ffi.Pointer _objc_msgSend_1093( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer request, + ffi.Pointer bodyData, + ffi.Pointer completionHandler, + ) { + return __objc_msgSend_1093(obj, sel, request, bodyData, completionHandler); } late final __objc_msgSend_1093Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_1093 = __objc_msgSend_1093Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_uploadTaskWithResumeData_completionHandler_1 = - _registerName1("uploadTaskWithResumeData:completionHandler:"); - ffi.Pointer _objc_msgSend_1094( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer resumeData, - ffi.Pointer<_ObjCBlock> completionHandler, - ) { - return __objc_msgSend_1094( - obj, - sel, - resumeData, - completionHandler, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1093 = + __objc_msgSend_1093Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_uploadTaskWithResumeData_completionHandler_1 = objc + .registerName("uploadTaskWithResumeData:completionHandler:"); + ffi.Pointer _objc_msgSend_1094( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer resumeData, + ffi.Pointer completionHandler, + ) { + return __objc_msgSend_1094(obj, sel, resumeData, completionHandler); } late final __objc_msgSend_1094Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_1094 = __objc_msgSend_1094Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_downloadTaskWithRequest_completionHandler_1 = - _registerName1("downloadTaskWithRequest:completionHandler:"); - ffi.Pointer _objc_msgSend_1095( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer request, - ffi.Pointer<_ObjCBlock> completionHandler, - ) { - return __objc_msgSend_1095( - obj, - sel, - request, - completionHandler, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1094 = + __objc_msgSend_1094Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_downloadTaskWithRequest_completionHandler_1 = objc + .registerName("downloadTaskWithRequest:completionHandler:"); + ffi.Pointer _objc_msgSend_1095( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer request, + ffi.Pointer completionHandler, + ) { + return __objc_msgSend_1095(obj, sel, request, completionHandler); } late final __objc_msgSend_1095Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_1095 = __objc_msgSend_1095Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_downloadTaskWithURL_completionHandler_1 = - _registerName1("downloadTaskWithURL:completionHandler:"); - ffi.Pointer _objc_msgSend_1096( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, - ffi.Pointer<_ObjCBlock> completionHandler, - ) { - return __objc_msgSend_1096( - obj, - sel, - url, - completionHandler, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1095 = + __objc_msgSend_1095Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_downloadTaskWithURL_completionHandler_1 = objc.registerName( + "downloadTaskWithURL:completionHandler:", + ); + ffi.Pointer _objc_msgSend_1096( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer url, + ffi.Pointer completionHandler, + ) { + return __objc_msgSend_1096(obj, sel, url, completionHandler); } late final __objc_msgSend_1096Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_1096 = __objc_msgSend_1096Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_downloadTaskWithResumeData_completionHandler_1 = - _registerName1("downloadTaskWithResumeData:completionHandler:"); - ffi.Pointer _objc_msgSend_1097( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer resumeData, - ffi.Pointer<_ObjCBlock> completionHandler, - ) { - return __objc_msgSend_1097( - obj, - sel, - resumeData, - completionHandler, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1096 = + __objc_msgSend_1096Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_downloadTaskWithResumeData_completionHandler_1 = objc + .registerName("downloadTaskWithResumeData:completionHandler:"); + ffi.Pointer _objc_msgSend_1097( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer resumeData, + ffi.Pointer completionHandler, + ) { + return __objc_msgSend_1097(obj, sel, resumeData, completionHandler); } late final __objc_msgSend_1097Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_1097 = __objc_msgSend_1097Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>(); - - late final _class_NSProtocolChecker1 = _getClass1("NSProtocolChecker"); - ffi.Pointer _objc_msgSend_1098( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_1098( - obj, - sel, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1097 = + __objc_msgSend_1097Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _class_NSProtocolChecker1 = objc.getClass("NSProtocolChecker"); + ffi.Pointer _objc_msgSend_1098( + ffi.Pointer obj, + ffi.Pointer sel, + ) { + return __objc_msgSend_1098(obj, sel); } late final __objc_msgSend_1098Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1098 = __objc_msgSend_1098Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1098 = + __objc_msgSend_1098Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); - ffi.Pointer _objc_msgSend_1099( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer _objc_msgSend_1099( + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_1099( - obj, - sel, - ); + return __objc_msgSend_1099(obj, sel); } late final __objc_msgSend_1099Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1099 = __objc_msgSend_1099Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_protocolCheckerWithTarget_protocol_1 = - _registerName1("protocolCheckerWithTarget:protocol:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1099 = + __objc_msgSend_1099Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_protocolCheckerWithTarget_protocol_1 = objc.registerName( + "protocolCheckerWithTarget:protocol:", + ); instancetype _objc_msgSend_1100( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer anObject, - ffi.Pointer aProtocol, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer anObject, + ffi.Pointer aProtocol, ) { - return __objc_msgSend_1100( - obj, - sel, - anObject, - aProtocol, - ); + return __objc_msgSend_1100(obj, sel, anObject, aProtocol); } late final __objc_msgSend_1100Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1100 = __objc_msgSend_1100Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_initWithTarget_protocol_1 = - _registerName1("initWithTarget:protocol:"); - late final _class_NSTask1 = _getClass1("NSTask"); - late final _sel_setExecutableURL_1 = _registerName1("setExecutableURL:"); - late final _sel_setEnvironment_1 = _registerName1("setEnvironment:"); - late final _sel_currentDirectoryURL1 = _registerName1("currentDirectoryURL"); - late final _sel_setCurrentDirectoryURL_1 = - _registerName1("setCurrentDirectoryURL:"); - late final _sel_launchRequirementData1 = - _registerName1("launchRequirementData"); - late final _sel_setLaunchRequirementData_1 = - _registerName1("setLaunchRequirementData:"); - late final _sel_standardInput1 = _registerName1("standardInput"); - late final _sel_setStandardInput_1 = _registerName1("setStandardInput:"); - late final _sel_standardOutput1 = _registerName1("standardOutput"); - late final _sel_setStandardOutput_1 = _registerName1("setStandardOutput:"); - late final _sel_standardError1 = _registerName1("standardError"); - late final _sel_setStandardError_1 = _registerName1("setStandardError:"); - late final _sel_launchAndReturnError_1 = - _registerName1("launchAndReturnError:"); - late final _sel_interrupt1 = _registerName1("interrupt"); - late final _sel_terminate1 = _registerName1("terminate"); - late final _sel_isRunning1 = _registerName1("isRunning"); - late final _sel_terminationStatus1 = _registerName1("terminationStatus"); - late final _sel_terminationReason1 = _registerName1("terminationReason"); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1100 = + __objc_msgSend_1100Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_initWithTarget_protocol_1 = objc.registerName( + "initWithTarget:protocol:", + ); + late final _class_NSTask1 = objc.getClass("NSTask"); + late final _sel_setExecutableURL_1 = objc.registerName("setExecutableURL:"); + late final _sel_setEnvironment_1 = objc.registerName("setEnvironment:"); + late final _sel_currentDirectoryURL1 = objc.registerName( + "currentDirectoryURL", + ); + late final _sel_setCurrentDirectoryURL_1 = objc.registerName( + "setCurrentDirectoryURL:", + ); + late final _sel_launchRequirementData1 = objc.registerName( + "launchRequirementData", + ); + late final _sel_setLaunchRequirementData_1 = objc.registerName( + "setLaunchRequirementData:", + ); + late final _sel_standardInput1 = objc.registerName("standardInput"); + late final _sel_setStandardInput_1 = objc.registerName("setStandardInput:"); + late final _sel_standardOutput1 = objc.registerName("standardOutput"); + late final _sel_setStandardOutput_1 = objc.registerName("setStandardOutput:"); + late final _sel_standardError1 = objc.registerName("standardError"); + late final _sel_setStandardError_1 = objc.registerName("setStandardError:"); + late final _sel_launchAndReturnError_1 = objc.registerName( + "launchAndReturnError:", + ); + late final _sel_interrupt1 = objc.registerName("interrupt"); + late final _sel_terminate1 = objc.registerName("terminate"); + late final _sel_isRunning1 = objc.registerName("isRunning"); + late final _sel_terminationStatus1 = objc.registerName("terminationStatus"); + late final _sel_terminationReason1 = objc.registerName("terminationReason"); int _objc_msgSend_1101( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_1101( - obj, - sel, - ); + return __objc_msgSend_1101(obj, sel); } late final __objc_msgSend_1101Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1101 = __objc_msgSend_1101Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1101 = + __objc_msgSend_1101Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); - late final _sel_terminationHandler1 = _registerName1("terminationHandler"); - ffi.Pointer<_ObjCBlock> _objc_msgSend_1102( - ffi.Pointer obj, - ffi.Pointer sel, + late final _sel_terminationHandler1 = objc.registerName("terminationHandler"); + ffi.Pointer _objc_msgSend_1102( + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_1102( - obj, - sel, - ); + return __objc_msgSend_1102(obj, sel); } late final __objc_msgSend_1102Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer<_ObjCBlock> Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1102 = __objc_msgSend_1102Ptr.asFunction< - ffi.Pointer<_ObjCBlock> Function( - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_setTerminationHandler_1 = - _registerName1("setTerminationHandler:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1102 = + __objc_msgSend_1102Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_setTerminationHandler_1 = objc.registerName( + "setTerminationHandler:", + ); void _objc_msgSend_1103( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer<_ObjCBlock> value, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value, ) { - return __objc_msgSend_1103( - obj, - sel, - value, - ); + return __objc_msgSend_1103(obj, sel, value); } late final __objc_msgSend_1103Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_1103 = __objc_msgSend_1103Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1103 = + __objc_msgSend_1103Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_launchedTaskWithExecutableURL_arguments_error_terminationHandler_1 = - _registerName1( - "launchedTaskWithExecutableURL:arguments:error:terminationHandler:"); - ffi.Pointer _objc_msgSend_1104( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, - ffi.Pointer arguments, - ffi.Pointer> error, - ffi.Pointer<_ObjCBlock> terminationHandler, + objc.registerName( + "launchedTaskWithExecutableURL:arguments:error:terminationHandler:", + ); + ffi.Pointer _objc_msgSend_1104( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer url, + ffi.Pointer arguments, + ffi.Pointer> error, + ffi.Pointer terminationHandler, ) { return __objc_msgSend_1104( obj, @@ -31290,1226 +39324,1506 @@ class AVFAudio { } late final __objc_msgSend_1104Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_1104 = __objc_msgSend_1104Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_waitUntilExit1 = _registerName1("waitUntilExit"); - late final _sel_launchPath1 = _registerName1("launchPath"); - late final _sel_setLaunchPath_1 = _registerName1("setLaunchPath:"); - late final _sel_setCurrentDirectoryPath_1 = - _registerName1("setCurrentDirectoryPath:"); - late final _sel_launch1 = _registerName1("launch"); - late final _sel_launchedTaskWithLaunchPath_arguments_1 = - _registerName1("launchedTaskWithLaunchPath:arguments:"); - ffi.Pointer _objc_msgSend_1105( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, - ffi.Pointer arguments, - ) { - return __objc_msgSend_1105( - obj, - sel, - path, - arguments, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1104 = + __objc_msgSend_1104Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer, + ) + >(); + + late final _sel_waitUntilExit1 = objc.registerName("waitUntilExit"); + late final _sel_launchPath1 = objc.registerName("launchPath"); + late final _sel_setLaunchPath_1 = objc.registerName("setLaunchPath:"); + late final _sel_setCurrentDirectoryPath_1 = objc.registerName( + "setCurrentDirectoryPath:", + ); + late final _sel_launch1 = objc.registerName("launch"); + late final _sel_launchedTaskWithLaunchPath_arguments_1 = objc.registerName( + "launchedTaskWithLaunchPath:arguments:", + ); + ffi.Pointer _objc_msgSend_1105( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer path, + ffi.Pointer arguments, + ) { + return __objc_msgSend_1105(obj, sel, path, arguments); } late final __objc_msgSend_1105Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1105 = __objc_msgSend_1105Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - late final _class_NSXMLElement1 = _getClass1("NSXMLElement"); - late final _class_NSXMLNode1 = _getClass1("NSXMLNode"); - late final _sel_initWithKind_1 = _registerName1("initWithKind:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1105 = + __objc_msgSend_1105Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _class_NSXMLElement1 = objc.getClass("NSXMLElement"); + late final _class_NSXMLNode1 = objc.getClass("NSXMLNode"); + late final _sel_initWithKind_1 = objc.registerName("initWithKind:"); instancetype _objc_msgSend_1106( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int kind, ) { - return __objc_msgSend_1106( - obj, - sel, - kind, - ); + return __objc_msgSend_1106(obj, sel, kind); } late final __objc_msgSend_1106Ptr = _lookup< - ffi.NativeFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_1106 = __objc_msgSend_1106Ptr.asFunction< + ffi.NativeFunction< instancetype Function( - ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_initWithKind_options_1 = - _registerName1("initWithKind:options:"); + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1106 = + __objc_msgSend_1106Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_initWithKind_options_1 = objc.registerName( + "initWithKind:options:", + ); instancetype _objc_msgSend_1107( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int kind, int options, ) { - return __objc_msgSend_1107( - obj, - sel, - kind, - options, - ); + return __objc_msgSend_1107(obj, sel, kind, options); } late final __objc_msgSend_1107Ptr = _lookup< - ffi.NativeFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Int32, ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_1107 = __objc_msgSend_1107Ptr.asFunction< + ffi.NativeFunction< instancetype Function( - ffi.Pointer, ffi.Pointer, int, int)>(); - - late final _sel_document1 = _registerName1("document"); - late final _sel_documentWithRootElement_1 = - _registerName1("documentWithRootElement:"); - ffi.Pointer _objc_msgSend_1108( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer element, - ) { - return __objc_msgSend_1108( - obj, - sel, - element, - ); + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1107 = + __objc_msgSend_1107Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + int, + int, + ) + >(); + + late final _sel_document1 = objc.registerName("document"); + late final _sel_documentWithRootElement_1 = objc.registerName( + "documentWithRootElement:", + ); + ffi.Pointer _objc_msgSend_1108( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer element, + ) { + return __objc_msgSend_1108(obj, sel, element); } late final __objc_msgSend_1108Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1108 = __objc_msgSend_1108Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_elementWithName_1 = _registerName1("elementWithName:"); - late final _sel_elementWithName_URI_1 = - _registerName1("elementWithName:URI:"); - ffi.Pointer _objc_msgSend_1109( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer name, - ffi.Pointer URI, - ) { - return __objc_msgSend_1109( - obj, - sel, - name, - URI, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1108 = + __objc_msgSend_1108Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_elementWithName_1 = objc.registerName("elementWithName:"); + late final _sel_elementWithName_URI_1 = objc.registerName( + "elementWithName:URI:", + ); + ffi.Pointer _objc_msgSend_1109( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer name, + ffi.Pointer URI, + ) { + return __objc_msgSend_1109(obj, sel, name, URI); } late final __objc_msgSend_1109Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1109 = __objc_msgSend_1109Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_elementWithName_stringValue_1 = - _registerName1("elementWithName:stringValue:"); - late final _sel_elementWithName_children_attributes_1 = - _registerName1("elementWithName:children:attributes:"); - ffi.Pointer _objc_msgSend_1110( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer name, - ffi.Pointer children, - ffi.Pointer attributes, - ) { - return __objc_msgSend_1110( - obj, - sel, - name, - children, - attributes, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1109 = + __objc_msgSend_1109Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_elementWithName_stringValue_1 = objc.registerName( + "elementWithName:stringValue:", + ); + late final _sel_elementWithName_children_attributes_1 = objc.registerName( + "elementWithName:children:attributes:", + ); + ffi.Pointer _objc_msgSend_1110( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer name, + ffi.Pointer children, + ffi.Pointer attributes, + ) { + return __objc_msgSend_1110(obj, sel, name, children, attributes); } late final __objc_msgSend_1110Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1110 = __objc_msgSend_1110Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_attributeWithName_stringValue_1 = - _registerName1("attributeWithName:stringValue:"); - late final _sel_attributeWithName_URI_stringValue_1 = - _registerName1("attributeWithName:URI:stringValue:"); - late final _sel_namespaceWithName_stringValue_1 = - _registerName1("namespaceWithName:stringValue:"); - late final _sel_processingInstructionWithName_stringValue_1 = - _registerName1("processingInstructionWithName:stringValue:"); - late final _sel_commentWithStringValue_1 = - _registerName1("commentWithStringValue:"); - late final _sel_textWithStringValue_1 = - _registerName1("textWithStringValue:"); - late final _sel_DTDNodeWithXMLString_1 = - _registerName1("DTDNodeWithXMLString:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1110 = + __objc_msgSend_1110Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_attributeWithName_stringValue_1 = objc.registerName( + "attributeWithName:stringValue:", + ); + late final _sel_attributeWithName_URI_stringValue_1 = objc.registerName( + "attributeWithName:URI:stringValue:", + ); + late final _sel_namespaceWithName_stringValue_1 = objc.registerName( + "namespaceWithName:stringValue:", + ); + late final _sel_processingInstructionWithName_stringValue_1 = objc + .registerName("processingInstructionWithName:stringValue:"); + late final _sel_commentWithStringValue_1 = objc.registerName( + "commentWithStringValue:", + ); + late final _sel_textWithStringValue_1 = objc.registerName( + "textWithStringValue:", + ); + late final _sel_DTDNodeWithXMLString_1 = objc.registerName( + "DTDNodeWithXMLString:", + ); int _objc_msgSend_1111( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_1111( - obj, - sel, - ); + return __objc_msgSend_1111(obj, sel); } late final __objc_msgSend_1111Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1111 = __objc_msgSend_1111Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer)>(); - - late final _sel_objectValue1 = _registerName1("objectValue"); - late final _sel_setObjectValue_1 = _registerName1("setObjectValue:"); - late final _sel_setStringValue_1 = _registerName1("setStringValue:"); - late final _sel_setStringValue_resolvingEntities_1 = - _registerName1("setStringValue:resolvingEntities:"); + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1111 = + __objc_msgSend_1111Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_objectValue1 = objc.registerName("objectValue"); + late final _sel_setObjectValue_1 = objc.registerName("setObjectValue:"); + late final _sel_setStringValue_1 = objc.registerName("setStringValue:"); + late final _sel_setStringValue_resolvingEntities_1 = objc.registerName( + "setStringValue:resolvingEntities:", + ); void _objc_msgSend_1112( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer string, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer string, bool resolve, ) { - return __objc_msgSend_1112( - obj, - sel, - string, - resolve, - ); + return __objc_msgSend_1112(obj, sel, string, resolve); } late final __objc_msgSend_1112Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Bool)>>('objc_msgSend'); - late final __objc_msgSend_1112 = __objc_msgSend_1112Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, bool)>(); - - late final _sel_index1 = _registerName1("index"); - late final _sel_level1 = _registerName1("level"); - late final _class_NSXMLDocument1 = _getClass1("NSXMLDocument"); - late final _sel_initWithXMLString_options_error_1 = - _registerName1("initWithXMLString:options:error:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1112 = + __objc_msgSend_1112Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool, + ) + >(); + + late final _sel_index1 = objc.registerName("index"); + late final _sel_level1 = objc.registerName("level"); + late final _class_NSXMLDocument1 = objc.getClass("NSXMLDocument"); + late final _sel_initWithXMLString_options_error_1 = objc.registerName( + "initWithXMLString:options:error:", + ); instancetype _objc_msgSend_1113( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer string, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer string, int mask, - ffi.Pointer> error, + ffi.Pointer> error, ) { - return __objc_msgSend_1113( - obj, - sel, - string, - mask, - error, - ); + return __objc_msgSend_1113(obj, sel, string, mask, error); } late final __objc_msgSend_1113Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_1113 = __objc_msgSend_1113Ptr.asFunction< + ffi.NativeFunction< instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>)>(); + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1113 = + __objc_msgSend_1113Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer>, + ) + >(); instancetype _objc_msgSend_1114( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer url, int mask, - ffi.Pointer> error, + ffi.Pointer> error, ) { - return __objc_msgSend_1114( - obj, - sel, - url, - mask, - error, - ); + return __objc_msgSend_1114(obj, sel, url, mask, error); } late final __objc_msgSend_1114Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_1114 = __objc_msgSend_1114Ptr.asFunction< + ffi.NativeFunction< instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>)>(); - - late final _sel_initWithData_options_error_1 = - _registerName1("initWithData:options:error:"); + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1114 = + __objc_msgSend_1114Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer>, + ) + >(); + + late final _sel_initWithData_options_error_1 = objc.registerName( + "initWithData:options:error:", + ); instancetype _objc_msgSend_1115( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer data, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer data, int mask, - ffi.Pointer> error, + ffi.Pointer> error, ) { - return __objc_msgSend_1115( - obj, - sel, - data, - mask, - error, - ); + return __objc_msgSend_1115(obj, sel, data, mask, error); } late final __objc_msgSend_1115Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_1115 = __objc_msgSend_1115Ptr.asFunction< + ffi.NativeFunction< instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>)>(); - - late final _sel_initWithRootElement_1 = - _registerName1("initWithRootElement:"); + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1115 = + __objc_msgSend_1115Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer>, + ) + >(); + + late final _sel_initWithRootElement_1 = objc.registerName( + "initWithRootElement:", + ); instancetype _objc_msgSend_1116( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer element, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer element, ) { - return __objc_msgSend_1116( - obj, - sel, - element, - ); + return __objc_msgSend_1116(obj, sel, element); } late final __objc_msgSend_1116Ptr = _lookup< - ffi.NativeFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1116 = __objc_msgSend_1116Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_replacementClassForClass_1 = - _registerName1("replacementClassForClass:"); - late final _sel_characterEncoding1 = _registerName1("characterEncoding"); - late final _sel_setCharacterEncoding_1 = - _registerName1("setCharacterEncoding:"); - late final _sel_isStandalone1 = _registerName1("isStandalone"); - late final _sel_setStandalone_1 = _registerName1("setStandalone:"); - late final _sel_documentContentKind1 = _registerName1("documentContentKind"); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1116 = + __objc_msgSend_1116Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_replacementClassForClass_1 = objc.registerName( + "replacementClassForClass:", + ); + late final _sel_characterEncoding1 = objc.registerName("characterEncoding"); + late final _sel_setCharacterEncoding_1 = objc.registerName( + "setCharacterEncoding:", + ); + late final _sel_isStandalone1 = objc.registerName("isStandalone"); + late final _sel_setStandalone_1 = objc.registerName("setStandalone:"); + late final _sel_documentContentKind1 = objc.registerName( + "documentContentKind", + ); int _objc_msgSend_1117( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_1117( - obj, - sel, - ); + return __objc_msgSend_1117(obj, sel); } late final __objc_msgSend_1117Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1117 = __objc_msgSend_1117Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer)>(); - - late final _sel_setDocumentContentKind_1 = - _registerName1("setDocumentContentKind:"); + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1117 = + __objc_msgSend_1117Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_setDocumentContentKind_1 = objc.registerName( + "setDocumentContentKind:", + ); void _objc_msgSend_1118( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int value, ) { - return __objc_msgSend_1118( - obj, - sel, - value, - ); + return __objc_msgSend_1118(obj, sel, value); } late final __objc_msgSend_1118Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_1118 = __objc_msgSend_1118Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_setMIMEType_1 = _registerName1("setMIMEType:"); - late final _class_NSXMLDTD1 = _getClass1("NSXMLDTD"); - late final _sel_setPublicID_1 = _registerName1("setPublicID:"); - late final _sel_setSystemID_1 = _registerName1("setSystemID:"); - late final _sel_insertChild_atIndex_1 = - _registerName1("insertChild:atIndex:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1118 = + __objc_msgSend_1118Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_setMIMEType_1 = objc.registerName("setMIMEType:"); + late final _class_NSXMLDTD1 = objc.getClass("NSXMLDTD"); + late final _sel_setPublicID_1 = objc.registerName("setPublicID:"); + late final _sel_setSystemID_1 = objc.registerName("setSystemID:"); + late final _sel_insertChild_atIndex_1 = objc.registerName( + "insertChild:atIndex:", + ); void _objc_msgSend_1119( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer child, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer child, int index, ) { - return __objc_msgSend_1119( - obj, - sel, - child, - index, - ); + return __objc_msgSend_1119(obj, sel, child, index); } late final __objc_msgSend_1119Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.UnsignedLong)>>('objc_msgSend'); - late final __objc_msgSend_1119 = __objc_msgSend_1119Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int)>(); - - late final _sel_insertChildren_atIndex_1 = - _registerName1("insertChildren:atIndex:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1119 = + __objc_msgSend_1119Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_insertChildren_atIndex_1 = objc.registerName( + "insertChildren:atIndex:", + ); void _objc_msgSend_1120( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer children, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer children, int index, ) { - return __objc_msgSend_1120( - obj, - sel, - children, - index, - ); + return __objc_msgSend_1120(obj, sel, children, index); } late final __objc_msgSend_1120Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.UnsignedLong)>>('objc_msgSend'); - late final __objc_msgSend_1120 = __objc_msgSend_1120Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int)>(); - - late final _sel_removeChildAtIndex_1 = _registerName1("removeChildAtIndex:"); - late final _sel_setChildren_1 = _registerName1("setChildren:"); - late final _sel_addChild_1 = _registerName1("addChild:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1120 = + __objc_msgSend_1120Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_removeChildAtIndex_1 = objc.registerName( + "removeChildAtIndex:", + ); + late final _sel_setChildren_1 = objc.registerName("setChildren:"); + late final _sel_addChild_1 = objc.registerName("addChild:"); void _objc_msgSend_1121( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer child, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer child, ) { - return __objc_msgSend_1121( - obj, - sel, - child, - ); + return __objc_msgSend_1121(obj, sel, child); } late final __objc_msgSend_1121Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1121 = __objc_msgSend_1121Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_replaceChildAtIndex_withNode_1 = - _registerName1("replaceChildAtIndex:withNode:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1121 = + __objc_msgSend_1121Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_replaceChildAtIndex_withNode_1 = objc.registerName( + "replaceChildAtIndex:withNode:", + ); void _objc_msgSend_1122( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int index, - ffi.Pointer node, + ffi.Pointer node, ) { - return __objc_msgSend_1122( - obj, - sel, - index, - node, - ); + return __objc_msgSend_1122(obj, sel, index, node); } late final __objc_msgSend_1122Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1122 = __objc_msgSend_1122Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int, - ffi.Pointer)>(); - - late final _class_NSXMLDTDNode1 = _getClass1("NSXMLDTDNode"); - late final _sel_initWithXMLString_1 = _registerName1("initWithXMLString:"); - late final _sel_DTDKind1 = _registerName1("DTDKind"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1122 = + __objc_msgSend_1122Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ) + >(); + + late final _class_NSXMLDTDNode1 = objc.getClass("NSXMLDTDNode"); + late final _sel_initWithXMLString_1 = objc.registerName("initWithXMLString:"); + late final _sel_DTDKind1 = objc.registerName("DTDKind"); int _objc_msgSend_1123( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_1123( - obj, - sel, - ); + return __objc_msgSend_1123(obj, sel); } late final __objc_msgSend_1123Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1123 = __objc_msgSend_1123Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1123 = + __objc_msgSend_1123Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); - late final _sel_setDTDKind_1 = _registerName1("setDTDKind:"); + late final _sel_setDTDKind_1 = objc.registerName("setDTDKind:"); void _objc_msgSend_1124( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int value, ) { - return __objc_msgSend_1124( - obj, - sel, - value, - ); + return __objc_msgSend_1124(obj, sel, value); } late final __objc_msgSend_1124Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_1124 = __objc_msgSend_1124Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_isExternal1 = _registerName1("isExternal"); - late final _sel_notationName1 = _registerName1("notationName"); - late final _sel_setNotationName_1 = _registerName1("setNotationName:"); - late final _sel_localNameForName_1 = _registerName1("localNameForName:"); - late final _sel_prefixForName_1 = _registerName1("prefixForName:"); - late final _sel_predefinedNamespaceForPrefix_1 = - _registerName1("predefinedNamespaceForPrefix:"); - ffi.Pointer _objc_msgSend_1125( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer name, - ) { - return __objc_msgSend_1125( - obj, - sel, - name, - ); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1124 = + __objc_msgSend_1124Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_isExternal1 = objc.registerName("isExternal"); + late final _sel_notationName1 = objc.registerName("notationName"); + late final _sel_setNotationName_1 = objc.registerName("setNotationName:"); + late final _sel_localNameForName_1 = objc.registerName("localNameForName:"); + late final _sel_prefixForName_1 = objc.registerName("prefixForName:"); + late final _sel_predefinedNamespaceForPrefix_1 = objc.registerName( + "predefinedNamespaceForPrefix:", + ); + ffi.Pointer _objc_msgSend_1125( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer name, + ) { + return __objc_msgSend_1125(obj, sel, name); } late final __objc_msgSend_1125Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1125 = __objc_msgSend_1125Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_entityDeclarationForName_1 = - _registerName1("entityDeclarationForName:"); - ffi.Pointer _objc_msgSend_1126( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer name, - ) { - return __objc_msgSend_1126( - obj, - sel, - name, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1125 = + __objc_msgSend_1125Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_entityDeclarationForName_1 = objc.registerName( + "entityDeclarationForName:", + ); + ffi.Pointer _objc_msgSend_1126( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer name, + ) { + return __objc_msgSend_1126(obj, sel, name); } late final __objc_msgSend_1126Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1126 = __objc_msgSend_1126Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_notationDeclarationForName_1 = - _registerName1("notationDeclarationForName:"); - late final _sel_elementDeclarationForName_1 = - _registerName1("elementDeclarationForName:"); - late final _sel_attributeDeclarationForName_elementName_1 = - _registerName1("attributeDeclarationForName:elementName:"); - ffi.Pointer _objc_msgSend_1127( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer name, - ffi.Pointer elementName, - ) { - return __objc_msgSend_1127( - obj, - sel, - name, - elementName, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1126 = + __objc_msgSend_1126Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_notationDeclarationForName_1 = objc.registerName( + "notationDeclarationForName:", + ); + late final _sel_elementDeclarationForName_1 = objc.registerName( + "elementDeclarationForName:", + ); + late final _sel_attributeDeclarationForName_elementName_1 = objc.registerName( + "attributeDeclarationForName:elementName:", + ); + ffi.Pointer _objc_msgSend_1127( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer name, + ffi.Pointer elementName, + ) { + return __objc_msgSend_1127(obj, sel, name, elementName); } late final __objc_msgSend_1127Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1127 = __objc_msgSend_1127Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_predefinedEntityDeclarationForName_1 = - _registerName1("predefinedEntityDeclarationForName:"); - late final _sel_DTD1 = _registerName1("DTD"); - ffi.Pointer _objc_msgSend_1128( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_1128( - obj, - sel, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1127 = + __objc_msgSend_1127Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_predefinedEntityDeclarationForName_1 = objc.registerName( + "predefinedEntityDeclarationForName:", + ); + late final _sel_DTD1 = objc.registerName("DTD"); + ffi.Pointer _objc_msgSend_1128( + ffi.Pointer obj, + ffi.Pointer sel, + ) { + return __objc_msgSend_1128(obj, sel); } late final __objc_msgSend_1128Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1128 = __objc_msgSend_1128Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1128 = + __objc_msgSend_1128Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); - late final _sel_setDTD_1 = _registerName1("setDTD:"); + late final _sel_setDTD_1 = objc.registerName("setDTD:"); void _objc_msgSend_1129( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value, ) { - return __objc_msgSend_1129( - obj, - sel, - value, - ); + return __objc_msgSend_1129(obj, sel, value); } late final __objc_msgSend_1129Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1129 = __objc_msgSend_1129Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1129 = + __objc_msgSend_1129Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); - late final _sel_setRootElement_1 = _registerName1("setRootElement:"); + late final _sel_setRootElement_1 = objc.registerName("setRootElement:"); void _objc_msgSend_1130( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer root, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer root, ) { - return __objc_msgSend_1130( - obj, - sel, - root, - ); + return __objc_msgSend_1130(obj, sel, root); } late final __objc_msgSend_1130Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1130 = __objc_msgSend_1130Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_rootElement1 = _registerName1("rootElement"); - ffi.Pointer _objc_msgSend_1131( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_1131( - obj, - sel, - ); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1130 = + __objc_msgSend_1130Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_rootElement1 = objc.registerName("rootElement"); + ffi.Pointer _objc_msgSend_1131( + ffi.Pointer obj, + ffi.Pointer sel, + ) { + return __objc_msgSend_1131(obj, sel); } late final __objc_msgSend_1131Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1131 = __objc_msgSend_1131Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_XMLData1 = _registerName1("XMLData"); - late final _sel_XMLDataWithOptions_1 = _registerName1("XMLDataWithOptions:"); - ffi.Pointer _objc_msgSend_1132( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1131 = + __objc_msgSend_1131Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_XMLData1 = objc.registerName("XMLData"); + late final _sel_XMLDataWithOptions_1 = objc.registerName( + "XMLDataWithOptions:", + ); + ffi.Pointer _objc_msgSend_1132( + ffi.Pointer obj, + ffi.Pointer sel, int options, ) { - return __objc_msgSend_1132( - obj, - sel, - options, - ); + return __objc_msgSend_1132(obj, sel, options); } late final __objc_msgSend_1132Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_1132 = __objc_msgSend_1132Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_objectByApplyingXSLT_arguments_error_1 = - _registerName1("objectByApplyingXSLT:arguments:error:"); - ffi.Pointer _objc_msgSend_1133( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer xslt, - ffi.Pointer arguments, - ffi.Pointer> error, - ) { - return __objc_msgSend_1133( - obj, - sel, - xslt, - arguments, - error, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1132 = + __objc_msgSend_1132Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_objectByApplyingXSLT_arguments_error_1 = objc.registerName( + "objectByApplyingXSLT:arguments:error:", + ); + ffi.Pointer _objc_msgSend_1133( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer xslt, + ffi.Pointer arguments, + ffi.Pointer> error, + ) { + return __objc_msgSend_1133(obj, sel, xslt, arguments, error); } late final __objc_msgSend_1133Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_1133 = __objc_msgSend_1133Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>(); - - late final _sel_objectByApplyingXSLTString_arguments_error_1 = - _registerName1("objectByApplyingXSLTString:arguments:error:"); - ffi.Pointer _objc_msgSend_1134( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer xslt, - ffi.Pointer arguments, - ffi.Pointer> error, - ) { - return __objc_msgSend_1134( - obj, - sel, - xslt, - arguments, - error, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1133 = + __objc_msgSend_1133Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + >(); + + late final _sel_objectByApplyingXSLTString_arguments_error_1 = objc + .registerName("objectByApplyingXSLTString:arguments:error:"); + ffi.Pointer _objc_msgSend_1134( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer xslt, + ffi.Pointer arguments, + ffi.Pointer> error, + ) { + return __objc_msgSend_1134(obj, sel, xslt, arguments, error); } late final __objc_msgSend_1134Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_1134 = __objc_msgSend_1134Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>(); - - late final _sel_objectByApplyingXSLTAtURL_arguments_error_1 = - _registerName1("objectByApplyingXSLTAtURL:arguments:error:"); - ffi.Pointer _objc_msgSend_1135( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer xsltURL, - ffi.Pointer argument, - ffi.Pointer> error, - ) { - return __objc_msgSend_1135( - obj, - sel, - xsltURL, - argument, - error, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1134 = + __objc_msgSend_1134Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + >(); + + late final _sel_objectByApplyingXSLTAtURL_arguments_error_1 = objc + .registerName("objectByApplyingXSLTAtURL:arguments:error:"); + ffi.Pointer _objc_msgSend_1135( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer xsltURL, + ffi.Pointer argument, + ffi.Pointer> error, + ) { + return __objc_msgSend_1135(obj, sel, xsltURL, argument, error); } late final __objc_msgSend_1135Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_1135 = __objc_msgSend_1135Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>(); - - late final _sel_validateAndReturnError_1 = - _registerName1("validateAndReturnError:"); - late final _sel_rootDocument1 = _registerName1("rootDocument"); - ffi.Pointer _objc_msgSend_1136( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_1136( - obj, - sel, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1135 = + __objc_msgSend_1135Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + >(); + + late final _sel_validateAndReturnError_1 = objc.registerName( + "validateAndReturnError:", + ); + late final _sel_rootDocument1 = objc.registerName("rootDocument"); + ffi.Pointer _objc_msgSend_1136( + ffi.Pointer obj, + ffi.Pointer sel, + ) { + return __objc_msgSend_1136(obj, sel); } late final __objc_msgSend_1136Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1136 = __objc_msgSend_1136Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_parent1 = _registerName1("parent"); - ffi.Pointer _objc_msgSend_1137( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_1137( - obj, - sel, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1136 = + __objc_msgSend_1136Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_parent1 = objc.registerName("parent"); + ffi.Pointer _objc_msgSend_1137( + ffi.Pointer obj, + ffi.Pointer sel, + ) { + return __objc_msgSend_1137(obj, sel); } late final __objc_msgSend_1137Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1137 = __objc_msgSend_1137Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_childCount1 = _registerName1("childCount"); - late final _sel_children1 = _registerName1("children"); - late final _sel_childAtIndex_1 = _registerName1("childAtIndex:"); - ffi.Pointer _objc_msgSend_1138( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1137 = + __objc_msgSend_1137Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_childCount1 = objc.registerName("childCount"); + late final _sel_children1 = objc.registerName("children"); + late final _sel_childAtIndex_1 = objc.registerName("childAtIndex:"); + ffi.Pointer _objc_msgSend_1138( + ffi.Pointer obj, + ffi.Pointer sel, int index, ) { - return __objc_msgSend_1138( - obj, - sel, - index, - ); + return __objc_msgSend_1138(obj, sel, index); } late final __objc_msgSend_1138Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.UnsignedLong)>>('objc_msgSend'); - late final __objc_msgSend_1138 = __objc_msgSend_1138Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_previousSibling1 = _registerName1("previousSibling"); - late final _sel_nextSibling1 = _registerName1("nextSibling"); - late final _sel_previousNode1 = _registerName1("previousNode"); - late final _sel_nextNode1 = _registerName1("nextNode"); - late final _sel_detach1 = _registerName1("detach"); - late final _sel_XPath1 = _registerName1("XPath"); - late final _sel_localName1 = _registerName1("localName"); - late final _sel_prefix1 = _registerName1("prefix"); - late final _sel_URI1 = _registerName1("URI"); - late final _sel_setURI_1 = _registerName1("setURI:"); - late final _sel_XMLString1 = _registerName1("XMLString"); - late final _sel_XMLStringWithOptions_1 = - _registerName1("XMLStringWithOptions:"); - ffi.Pointer _objc_msgSend_1139( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1138 = + __objc_msgSend_1138Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_previousSibling1 = objc.registerName("previousSibling"); + late final _sel_nextSibling1 = objc.registerName("nextSibling"); + late final _sel_previousNode1 = objc.registerName("previousNode"); + late final _sel_nextNode1 = objc.registerName("nextNode"); + late final _sel_detach1 = objc.registerName("detach"); + late final _sel_XPath1 = objc.registerName("XPath"); + late final _sel_localName1 = objc.registerName("localName"); + late final _sel_prefix1 = objc.registerName("prefix"); + late final _sel_URI1 = objc.registerName("URI"); + late final _sel_setURI_1 = objc.registerName("setURI:"); + late final _sel_XMLString1 = objc.registerName("XMLString"); + late final _sel_XMLStringWithOptions_1 = objc.registerName( + "XMLStringWithOptions:", + ); + ffi.Pointer _objc_msgSend_1139( + ffi.Pointer obj, + ffi.Pointer sel, int options, ) { - return __objc_msgSend_1139( - obj, - sel, - options, - ); + return __objc_msgSend_1139(obj, sel, options); } late final __objc_msgSend_1139Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_1139 = __objc_msgSend_1139Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_canonicalXMLStringPreservingComments_1 = - _registerName1("canonicalXMLStringPreservingComments:"); - ffi.Pointer _objc_msgSend_1140( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1139 = + __objc_msgSend_1139Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_canonicalXMLStringPreservingComments_1 = objc.registerName( + "canonicalXMLStringPreservingComments:", + ); + ffi.Pointer _objc_msgSend_1140( + ffi.Pointer obj, + ffi.Pointer sel, bool comments, ) { - return __objc_msgSend_1140( - obj, - sel, - comments, - ); + return __objc_msgSend_1140(obj, sel, comments); } late final __objc_msgSend_1140Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Bool)>>('objc_msgSend'); - late final __objc_msgSend_1140 = __objc_msgSend_1140Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer, bool)>(); - - late final _sel_nodesForXPath_error_1 = - _registerName1("nodesForXPath:error:"); - late final _sel_objectsForXQuery_constants_error_1 = - _registerName1("objectsForXQuery:constants:error:"); - ffi.Pointer _objc_msgSend_1141( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer xquery, - ffi.Pointer constants, - ffi.Pointer> error, - ) { - return __objc_msgSend_1141( - obj, - sel, - xquery, - constants, - error, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1140 = + __objc_msgSend_1140Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + bool, + ) + >(); + + late final _sel_nodesForXPath_error_1 = objc.registerName( + "nodesForXPath:error:", + ); + late final _sel_objectsForXQuery_constants_error_1 = objc.registerName( + "objectsForXQuery:constants:error:", + ); + ffi.Pointer _objc_msgSend_1141( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer xquery, + ffi.Pointer constants, + ffi.Pointer> error, + ) { + return __objc_msgSend_1141(obj, sel, xquery, constants, error); } late final __objc_msgSend_1141Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_1141 = __objc_msgSend_1141Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>(); - - late final _sel_objectsForXQuery_error_1 = - _registerName1("objectsForXQuery:error:"); - late final _sel_initWithName_URI_1 = _registerName1("initWithName:URI:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1141 = + __objc_msgSend_1141Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + >(); + + late final _sel_objectsForXQuery_error_1 = objc.registerName( + "objectsForXQuery:error:", + ); + late final _sel_initWithName_URI_1 = objc.registerName("initWithName:URI:"); instancetype _objc_msgSend_1142( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer name, - ffi.Pointer URI, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer name, + ffi.Pointer URI, ) { - return __objc_msgSend_1142( - obj, - sel, - name, - URI, - ); + return __objc_msgSend_1142(obj, sel, name, URI); } late final __objc_msgSend_1142Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1142 = __objc_msgSend_1142Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_initWithName_stringValue_1 = - _registerName1("initWithName:stringValue:"); - late final _sel_initWithXMLString_error_1 = - _registerName1("initWithXMLString:error:"); - late final _sel_elementsForName_1 = _registerName1("elementsForName:"); - late final _sel_elementsForLocalName_URI_1 = - _registerName1("elementsForLocalName:URI:"); - ffi.Pointer _objc_msgSend_1143( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer localName, - ffi.Pointer URI, - ) { - return __objc_msgSend_1143( - obj, - sel, - localName, - URI, - ); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1142 = + __objc_msgSend_1142Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_initWithName_stringValue_1 = objc.registerName( + "initWithName:stringValue:", + ); + late final _sel_initWithXMLString_error_1 = objc.registerName( + "initWithXMLString:error:", + ); + late final _sel_elementsForName_1 = objc.registerName("elementsForName:"); + late final _sel_elementsForLocalName_URI_1 = objc.registerName( + "elementsForLocalName:URI:", + ); + ffi.Pointer _objc_msgSend_1143( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer localName, + ffi.Pointer URI, + ) { + return __objc_msgSend_1143(obj, sel, localName, URI); } late final __objc_msgSend_1143Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1143 = __objc_msgSend_1143Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_addAttribute_1 = _registerName1("addAttribute:"); - late final _sel_removeAttributeForName_1 = - _registerName1("removeAttributeForName:"); - late final _sel_attributes1 = _registerName1("attributes"); - late final _sel_setAttributes_1 = _registerName1("setAttributes:"); - late final _sel_setAttributesWithDictionary_1 = - _registerName1("setAttributesWithDictionary:"); - late final _sel_attributeForName_1 = _registerName1("attributeForName:"); - late final _sel_attributeForLocalName_URI_1 = - _registerName1("attributeForLocalName:URI:"); - ffi.Pointer _objc_msgSend_1144( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer localName, - ffi.Pointer URI, - ) { - return __objc_msgSend_1144( - obj, - sel, - localName, - URI, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1143 = + __objc_msgSend_1143Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_addAttribute_1 = objc.registerName("addAttribute:"); + late final _sel_removeAttributeForName_1 = objc.registerName( + "removeAttributeForName:", + ); + late final _sel_attributes1 = objc.registerName("attributes"); + late final _sel_setAttributes_1 = objc.registerName("setAttributes:"); + late final _sel_setAttributesWithDictionary_1 = objc.registerName( + "setAttributesWithDictionary:", + ); + late final _sel_attributeForName_1 = objc.registerName("attributeForName:"); + late final _sel_attributeForLocalName_URI_1 = objc.registerName( + "attributeForLocalName:URI:", + ); + ffi.Pointer _objc_msgSend_1144( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer localName, + ffi.Pointer URI, + ) { + return __objc_msgSend_1144(obj, sel, localName, URI); } late final __objc_msgSend_1144Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1144 = __objc_msgSend_1144Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_addNamespace_1 = _registerName1("addNamespace:"); - late final _sel_removeNamespaceForPrefix_1 = - _registerName1("removeNamespaceForPrefix:"); - late final _sel_namespaces1 = _registerName1("namespaces"); - late final _sel_setNamespaces_1 = _registerName1("setNamespaces:"); - late final _sel_namespaceForPrefix_1 = _registerName1("namespaceForPrefix:"); - late final _sel_resolveNamespaceForName_1 = - _registerName1("resolveNamespaceForName:"); - late final _sel_resolvePrefixForNamespaceURI_1 = - _registerName1("resolvePrefixForNamespaceURI:"); - late final _sel_normalizeAdjacentTextNodesPreservingCDATA_1 = - _registerName1("normalizeAdjacentTextNodesPreservingCDATA:"); - late final _sel_setAttributesAsDictionary_1 = - _registerName1("setAttributesAsDictionary:"); - late final _class_AVAudioSession1 = _getClass1("AVAudioSession"); - late final _sel_sharedInstance1 = _registerName1("sharedInstance"); - ffi.Pointer _objc_msgSend_1145( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_1145( - obj, - sel, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1144 = + __objc_msgSend_1144Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_addNamespace_1 = objc.registerName("addNamespace:"); + late final _sel_removeNamespaceForPrefix_1 = objc.registerName( + "removeNamespaceForPrefix:", + ); + late final _sel_namespaces1 = objc.registerName("namespaces"); + late final _sel_setNamespaces_1 = objc.registerName("setNamespaces:"); + late final _sel_namespaceForPrefix_1 = objc.registerName( + "namespaceForPrefix:", + ); + late final _sel_resolveNamespaceForName_1 = objc.registerName( + "resolveNamespaceForName:", + ); + late final _sel_resolvePrefixForNamespaceURI_1 = objc.registerName( + "resolvePrefixForNamespaceURI:", + ); + late final _sel_normalizeAdjacentTextNodesPreservingCDATA_1 = objc + .registerName("normalizeAdjacentTextNodesPreservingCDATA:"); + late final _sel_setAttributesAsDictionary_1 = objc.registerName( + "setAttributesAsDictionary:", + ); + late final _class_AVAudioSession1 = objc.getClass("AVAudioSession"); + late final _sel_sharedInstance1 = objc.registerName("sharedInstance"); + ffi.Pointer _objc_msgSend_1145( + ffi.Pointer obj, + ffi.Pointer sel, + ) { + return __objc_msgSend_1145(obj, sel); } late final __objc_msgSend_1145Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1145 = __objc_msgSend_1145Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_availableCategories1 = _registerName1("availableCategories"); - late final _sel_setCategory_error_1 = _registerName1("setCategory:error:"); - late final _sel_setCategory_withOptions_error_1 = - _registerName1("setCategory:withOptions:error:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1145 = + __objc_msgSend_1145Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_availableCategories1 = objc.registerName( + "availableCategories", + ); + late final _sel_setCategory_error_1 = objc.registerName("setCategory:error:"); + late final _sel_setCategory_withOptions_error_1 = objc.registerName( + "setCategory:withOptions:error:", + ); bool _objc_msgSend_1146( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer category, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer category, int options, - ffi.Pointer> outError, + ffi.Pointer> outError, ) { - return __objc_msgSend_1146( - obj, - sel, - category, - options, - outError, - ); + return __objc_msgSend_1146(obj, sel, category, options, outError); } late final __objc_msgSend_1146Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_1146 = __objc_msgSend_1146Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>)>(); - - late final _sel_setCategory_mode_options_error_1 = - _registerName1("setCategory:mode:options:error:"); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1146 = + __objc_msgSend_1146Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer>, + ) + >(); + + late final _sel_setCategory_mode_options_error_1 = objc.registerName( + "setCategory:mode:options:error:", + ); bool _objc_msgSend_1147( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer category, - ffi.Pointer mode, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer category, + ffi.Pointer mode, int options, - ffi.Pointer> outError, + ffi.Pointer> outError, ) { - return __objc_msgSend_1147( - obj, - sel, - category, - mode, - options, - outError, - ); + return __objc_msgSend_1147(obj, sel, category, mode, options, outError); } late final __objc_msgSend_1147Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_1147 = __objc_msgSend_1147Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>)>(); - - late final _sel_setCategory_mode_routeSharingPolicy_options_error_1 = - _registerName1("setCategory:mode:routeSharingPolicy:options:error:"); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1147 = + __objc_msgSend_1147Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer>, + ) + >(); + + late final _sel_setCategory_mode_routeSharingPolicy_options_error_1 = objc + .registerName("setCategory:mode:routeSharingPolicy:options:error:"); bool _objc_msgSend_1148( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer category, - ffi.Pointer mode, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer category, + ffi.Pointer mode, int policy, int options, - ffi.Pointer> outError, + ffi.Pointer> outError, ) { return __objc_msgSend_1148( obj, @@ -32523,1028 +40837,1322 @@ class AVFAudio { } late final __objc_msgSend_1148Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Int32, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_1148 = __objc_msgSend_1148Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - int, - ffi.Pointer>)>(); - - late final _sel_category1 = _registerName1("category"); - late final _sel_categoryOptions1 = _registerName1("categoryOptions"); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Int32, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1148 = + __objc_msgSend_1148Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + int, + ffi.Pointer>, + ) + >(); + + late final _sel_category1 = objc.registerName("category"); + late final _sel_categoryOptions1 = objc.registerName("categoryOptions"); int _objc_msgSend_1149( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_1149( - obj, - sel, - ); + return __objc_msgSend_1149(obj, sel); } late final __objc_msgSend_1149Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1149 = __objc_msgSend_1149Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1149 = + __objc_msgSend_1149Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); - late final _sel_routeSharingPolicy1 = _registerName1("routeSharingPolicy"); + late final _sel_routeSharingPolicy1 = objc.registerName("routeSharingPolicy"); int _objc_msgSend_1150( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_1150( - obj, - sel, - ); + return __objc_msgSend_1150(obj, sel); } late final __objc_msgSend_1150Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1150 = __objc_msgSend_1150Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer)>(); - - late final _sel_availableModes1 = _registerName1("availableModes"); - late final _sel_setMode_error_1 = _registerName1("setMode:error:"); - late final _sel_mode1 = _registerName1("mode"); - late final _sel_setAllowHapticsAndSystemSoundsDuringRecording_error_1 = - _registerName1("setAllowHapticsAndSystemSoundsDuringRecording:error:"); + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1150 = + __objc_msgSend_1150Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_availableModes1 = objc.registerName("availableModes"); + late final _sel_setMode_error_1 = objc.registerName("setMode:error:"); + late final _sel_mode1 = objc.registerName("mode"); + late final _sel_setAllowHapticsAndSystemSoundsDuringRecording_error_1 = objc + .registerName("setAllowHapticsAndSystemSoundsDuringRecording:error:"); bool _objc_msgSend_1151( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, bool inValue, - ffi.Pointer> outError, + ffi.Pointer> outError, ) { - return __objc_msgSend_1151( - obj, - sel, - inValue, - outError, - ); + return __objc_msgSend_1151(obj, sel, inValue, outError); } late final __objc_msgSend_1151Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer, ffi.Pointer, - ffi.Bool, ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_1151 = __objc_msgSend_1151Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, bool, - ffi.Pointer>)>(); - - late final _sel_allowHapticsAndSystemSoundsDuringRecording1 = - _registerName1("allowHapticsAndSystemSoundsDuringRecording"); - late final _sel_recordPermission1 = _registerName1("recordPermission"); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1151 = + __objc_msgSend_1151Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + bool, + ffi.Pointer>, + ) + >(); + + late final _sel_allowHapticsAndSystemSoundsDuringRecording1 = objc + .registerName("allowHapticsAndSystemSoundsDuringRecording"); + late final _sel_recordPermission1 = objc.registerName("recordPermission"); int _objc_msgSend_1152( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_1152( - obj, - sel, - ); + return __objc_msgSend_1152(obj, sel); } late final __objc_msgSend_1152Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1152 = __objc_msgSend_1152Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer)>(); - - late final _sel_requestRecordPermission_1 = - _registerName1("requestRecordPermission:"); + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1152 = + __objc_msgSend_1152Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_requestRecordPermission_1 = objc.registerName( + "requestRecordPermission:", + ); void _objc_msgSend_1153( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer<_ObjCBlock> response, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer response, ) { - return __objc_msgSend_1153( - obj, - sel, - response, - ); + return __objc_msgSend_1153(obj, sel, response); } late final __objc_msgSend_1153Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_1153 = __objc_msgSend_1153Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_overrideOutputAudioPort_error_1 = - _registerName1("overrideOutputAudioPort:error:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1153 = + __objc_msgSend_1153Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_overrideOutputAudioPort_error_1 = objc.registerName( + "overrideOutputAudioPort:error:", + ); bool _objc_msgSend_1154( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int portOverride, - ffi.Pointer> outError, + ffi.Pointer> outError, ) { - return __objc_msgSend_1154( - obj, - sel, - portOverride, - outError, - ); + return __objc_msgSend_1154(obj, sel, portOverride, outError); } late final __objc_msgSend_1154Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_1154 = __objc_msgSend_1154Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, int, - ffi.Pointer>)>(); - - late final _class_AVAudioSessionPortDescription1 = - _getClass1("AVAudioSessionPortDescription"); - late final _sel_portType1 = _registerName1("portType"); - late final _sel_portName1 = _registerName1("portName"); - late final _sel_UID1 = _registerName1("UID"); - late final _sel_hasHardwareVoiceCallProcessing1 = - _registerName1("hasHardwareVoiceCallProcessing"); - late final _sel_isSpatialAudioEnabled1 = - _registerName1("isSpatialAudioEnabled"); - late final _sel_channels1 = _registerName1("channels"); - late final _sel_dataSources1 = _registerName1("dataSources"); - late final _class_AVAudioSessionDataSourceDescription1 = - _getClass1("AVAudioSessionDataSourceDescription"); - late final _sel_dataSourceID1 = _registerName1("dataSourceID"); - late final _sel_dataSourceName1 = _registerName1("dataSourceName"); - late final _sel_location1 = _registerName1("location"); - late final _sel_orientation1 = _registerName1("orientation"); - late final _sel_supportedPolarPatterns1 = - _registerName1("supportedPolarPatterns"); - late final _sel_selectedPolarPattern1 = - _registerName1("selectedPolarPattern"); - late final _sel_preferredPolarPattern1 = - _registerName1("preferredPolarPattern"); - late final _sel_setPreferredPolarPattern_error_1 = - _registerName1("setPreferredPolarPattern:error:"); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1154 = + __objc_msgSend_1154Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer>, + ) + >(); + + late final _class_AVAudioSessionPortDescription1 = objc.getClass( + "AVAudioSessionPortDescription", + ); + late final _sel_portType1 = objc.registerName("portType"); + late final _sel_portName1 = objc.registerName("portName"); + late final _sel_UID1 = objc.registerName("UID"); + late final _sel_hasHardwareVoiceCallProcessing1 = objc.registerName( + "hasHardwareVoiceCallProcessing", + ); + late final _sel_isSpatialAudioEnabled1 = objc.registerName( + "isSpatialAudioEnabled", + ); + late final _sel_channels1 = objc.registerName("channels"); + late final _sel_dataSources1 = objc.registerName("dataSources"); + late final _class_AVAudioSessionDataSourceDescription1 = objc.getClass( + "AVAudioSessionDataSourceDescription", + ); + late final _sel_dataSourceID1 = objc.registerName("dataSourceID"); + late final _sel_dataSourceName1 = objc.registerName("dataSourceName"); + late final _sel_location1 = objc.registerName("location"); + late final _sel_orientation1 = objc.registerName("orientation"); + late final _sel_supportedPolarPatterns1 = objc.registerName( + "supportedPolarPatterns", + ); + late final _sel_selectedPolarPattern1 = objc.registerName( + "selectedPolarPattern", + ); + late final _sel_preferredPolarPattern1 = objc.registerName( + "preferredPolarPattern", + ); + late final _sel_setPreferredPolarPattern_error_1 = objc.registerName( + "setPreferredPolarPattern:error:", + ); bool _objc_msgSend_1155( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer pattern, - ffi.Pointer> outError, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer pattern, + ffi.Pointer> outError, ) { - return __objc_msgSend_1155( - obj, - sel, - pattern, - outError, - ); + return __objc_msgSend_1155(obj, sel, pattern, outError); } late final __objc_msgSend_1155Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_1155 = __objc_msgSend_1155Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer>)>(); - - late final _sel_selectedDataSource1 = _registerName1("selectedDataSource"); - ffi.Pointer _objc_msgSend_1156( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_1156( - obj, - sel, - ); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1155 = + __objc_msgSend_1155Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + >(); + + late final _sel_selectedDataSource1 = objc.registerName("selectedDataSource"); + ffi.Pointer _objc_msgSend_1156( + ffi.Pointer obj, + ffi.Pointer sel, + ) { + return __objc_msgSend_1156(obj, sel); } late final __objc_msgSend_1156Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1156 = __objc_msgSend_1156Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_preferredDataSource1 = _registerName1("preferredDataSource"); - late final _sel_setPreferredDataSource_error_1 = - _registerName1("setPreferredDataSource:error:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1156 = + __objc_msgSend_1156Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_preferredDataSource1 = objc.registerName( + "preferredDataSource", + ); + late final _sel_setPreferredDataSource_error_1 = objc.registerName( + "setPreferredDataSource:error:", + ); bool _objc_msgSend_1157( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer dataSource, - ffi.Pointer> outError, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer dataSource, + ffi.Pointer> outError, ) { - return __objc_msgSend_1157( - obj, - sel, - dataSource, - outError, - ); + return __objc_msgSend_1157(obj, sel, dataSource, outError); } late final __objc_msgSend_1157Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_1157 = __objc_msgSend_1157Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer>)>(); - - late final _sel_setPreferredInput_error_1 = - _registerName1("setPreferredInput:error:"); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1157 = + __objc_msgSend_1157Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + >(); + + late final _sel_setPreferredInput_error_1 = objc.registerName( + "setPreferredInput:error:", + ); bool _objc_msgSend_1158( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer inPort, - ffi.Pointer> outError, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer inPort, + ffi.Pointer> outError, ) { - return __objc_msgSend_1158( - obj, - sel, - inPort, - outError, - ); + return __objc_msgSend_1158(obj, sel, inPort, outError); } late final __objc_msgSend_1158Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_1158 = __objc_msgSend_1158Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer>)>(); - - late final _sel_preferredInput1 = _registerName1("preferredInput"); - ffi.Pointer _objc_msgSend_1159( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_1159( - obj, - sel, - ); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1158 = + __objc_msgSend_1158Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + >(); + + late final _sel_preferredInput1 = objc.registerName("preferredInput"); + ffi.Pointer _objc_msgSend_1159( + ffi.Pointer obj, + ffi.Pointer sel, + ) { + return __objc_msgSend_1159(obj, sel); } late final __objc_msgSend_1159Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1159 = __objc_msgSend_1159Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_setPrefersNoInterruptionsFromSystemAlerts_error_1 = - _registerName1("setPrefersNoInterruptionsFromSystemAlerts:error:"); - late final _sel_prefersNoInterruptionsFromSystemAlerts1 = - _registerName1("prefersNoInterruptionsFromSystemAlerts"); - late final _sel_renderingMode1 = _registerName1("renderingMode"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1159 = + __objc_msgSend_1159Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_setPrefersNoInterruptionsFromSystemAlerts_error_1 = objc + .registerName("setPrefersNoInterruptionsFromSystemAlerts:error:"); + late final _sel_prefersNoInterruptionsFromSystemAlerts1 = objc.registerName( + "prefersNoInterruptionsFromSystemAlerts", + ); + late final _sel_renderingMode1 = objc.registerName("renderingMode"); int _objc_msgSend_1160( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_1160( - obj, - sel, - ); + return __objc_msgSend_1160(obj, sel); } late final __objc_msgSend_1160Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1160 = __objc_msgSend_1160Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer)>(); - - late final _sel_setActive_error_1 = _registerName1("setActive:error:"); - late final _sel_setActive_withOptions_error_1 = - _registerName1("setActive:withOptions:error:"); + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1160 = + __objc_msgSend_1160Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_setActive_error_1 = objc.registerName("setActive:error:"); + late final _sel_setActive_withOptions_error_1 = objc.registerName( + "setActive:withOptions:error:", + ); bool _objc_msgSend_1161( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, bool active, int options, - ffi.Pointer> outError, + ffi.Pointer> outError, ) { - return __objc_msgSend_1161( - obj, - sel, - active, - options, - outError, - ); + return __objc_msgSend_1161(obj, sel, active, options, outError); } late final __objc_msgSend_1161Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - ffi.Int32, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_1161 = __objc_msgSend_1161Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, bool, int, - ffi.Pointer>)>(); - - late final _sel_activateWithOptions_completionHandler_1 = - _registerName1("activateWithOptions:completionHandler:"); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.Int32, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1161 = + __objc_msgSend_1161Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + bool, + int, + ffi.Pointer>, + ) + >(); + + late final _sel_activateWithOptions_completionHandler_1 = objc.registerName( + "activateWithOptions:completionHandler:", + ); void _objc_msgSend_1162( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int options, - ffi.Pointer<_ObjCBlock> handler, + ffi.Pointer handler, ) { - return __objc_msgSend_1162( - obj, - sel, - options, - handler, - ); + return __objc_msgSend_1162(obj, sel, options, handler); } late final __objc_msgSend_1162Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Int32, ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_1162 = __objc_msgSend_1162Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int, - ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_setPreferredSampleRate_error_1 = - _registerName1("setPreferredSampleRate:error:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1162 = + __objc_msgSend_1162Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ) + >(); + + late final _sel_setPreferredSampleRate_error_1 = objc.registerName( + "setPreferredSampleRate:error:", + ); bool _objc_msgSend_1163( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, double sampleRate, - ffi.Pointer> outError, + ffi.Pointer> outError, ) { - return __objc_msgSend_1163( - obj, - sel, - sampleRate, - outError, - ); + return __objc_msgSend_1163(obj, sel, sampleRate, outError); } late final __objc_msgSend_1163Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Double, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_1163 = __objc_msgSend_1163Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, double, - ffi.Pointer>)>(); - - late final _sel_preferredSampleRate1 = _registerName1("preferredSampleRate"); - late final _sel_setPreferredIOBufferDuration_error_1 = - _registerName1("setPreferredIOBufferDuration:error:"); - late final _sel_preferredIOBufferDuration1 = - _registerName1("preferredIOBufferDuration"); - late final _sel_setPreferredInputNumberOfChannels_error_1 = - _registerName1("setPreferredInputNumberOfChannels:error:"); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Double, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1163 = + __objc_msgSend_1163Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + double, + ffi.Pointer>, + ) + >(); + + late final _sel_preferredSampleRate1 = objc.registerName( + "preferredSampleRate", + ); + late final _sel_setPreferredIOBufferDuration_error_1 = objc.registerName( + "setPreferredIOBufferDuration:error:", + ); + late final _sel_preferredIOBufferDuration1 = objc.registerName( + "preferredIOBufferDuration", + ); + late final _sel_setPreferredInputNumberOfChannels_error_1 = objc.registerName( + "setPreferredInputNumberOfChannels:error:", + ); bool _objc_msgSend_1164( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int count, - ffi.Pointer> outError, + ffi.Pointer> outError, ) { - return __objc_msgSend_1164( - obj, - sel, - count, - outError, - ); + return __objc_msgSend_1164(obj, sel, count, outError); } late final __objc_msgSend_1164Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer, ffi.Pointer, - ffi.Long, ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_1164 = __objc_msgSend_1164Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, int, - ffi.Pointer>)>(); - - late final _sel_preferredInputNumberOfChannels1 = - _registerName1("preferredInputNumberOfChannels"); - late final _sel_setPreferredOutputNumberOfChannels_error_1 = - _registerName1("setPreferredOutputNumberOfChannels:error:"); - late final _sel_preferredOutputNumberOfChannels1 = - _registerName1("preferredOutputNumberOfChannels"); - late final _sel_setPreferredInputOrientation_error_1 = - _registerName1("setPreferredInputOrientation:error:"); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Long, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1164 = + __objc_msgSend_1164Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer>, + ) + >(); + + late final _sel_preferredInputNumberOfChannels1 = objc.registerName( + "preferredInputNumberOfChannels", + ); + late final _sel_setPreferredOutputNumberOfChannels_error_1 = objc + .registerName("setPreferredOutputNumberOfChannels:error:"); + late final _sel_preferredOutputNumberOfChannels1 = objc.registerName( + "preferredOutputNumberOfChannels", + ); + late final _sel_setPreferredInputOrientation_error_1 = objc.registerName( + "setPreferredInputOrientation:error:", + ); bool _objc_msgSend_1165( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int orientation, - ffi.Pointer> outError, + ffi.Pointer> outError, ) { - return __objc_msgSend_1165( - obj, - sel, - orientation, - outError, - ); + return __objc_msgSend_1165(obj, sel, orientation, outError); } late final __objc_msgSend_1165Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_1165 = __objc_msgSend_1165Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, int, - ffi.Pointer>)>(); - - late final _sel_preferredInputOrientation1 = - _registerName1("preferredInputOrientation"); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1165 = + __objc_msgSend_1165Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer>, + ) + >(); + + late final _sel_preferredInputOrientation1 = objc.registerName( + "preferredInputOrientation", + ); int _objc_msgSend_1166( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_1166( - obj, - sel, - ); + return __objc_msgSend_1166(obj, sel); } late final __objc_msgSend_1166Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1166 = __objc_msgSend_1166Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer)>(); - - late final _sel_inputOrientation1 = _registerName1("inputOrientation"); - late final _sel_maximumInputNumberOfChannels1 = - _registerName1("maximumInputNumberOfChannels"); - late final _sel_maximumOutputNumberOfChannels1 = - _registerName1("maximumOutputNumberOfChannels"); - late final _sel_setInputGain_error_1 = _registerName1("setInputGain:error:"); + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1166 = + __objc_msgSend_1166Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_inputOrientation1 = objc.registerName("inputOrientation"); + late final _sel_maximumInputNumberOfChannels1 = objc.registerName( + "maximumInputNumberOfChannels", + ); + late final _sel_maximumOutputNumberOfChannels1 = objc.registerName( + "maximumOutputNumberOfChannels", + ); + late final _sel_setInputGain_error_1 = objc.registerName( + "setInputGain:error:", + ); bool _objc_msgSend_1167( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, double gain, - ffi.Pointer> outError, + ffi.Pointer> outError, ) { - return __objc_msgSend_1167( - obj, - sel, - gain, - outError, - ); + return __objc_msgSend_1167(obj, sel, gain, outError); } late final __objc_msgSend_1167Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Float, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_1167 = __objc_msgSend_1167Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, double, - ffi.Pointer>)>(); - - late final _sel_inputGain1 = _registerName1("inputGain"); - late final _sel_isInputGainSettable1 = _registerName1("isInputGainSettable"); - late final _sel_isInputAvailable1 = _registerName1("isInputAvailable"); - late final _sel_inputDataSources1 = _registerName1("inputDataSources"); - late final _sel_inputDataSource1 = _registerName1("inputDataSource"); - late final _sel_setInputDataSource_error_1 = - _registerName1("setInputDataSource:error:"); - late final _sel_outputDataSources1 = _registerName1("outputDataSources"); - late final _sel_outputDataSource1 = _registerName1("outputDataSource"); - late final _sel_setOutputDataSource_error_1 = - _registerName1("setOutputDataSource:error:"); - late final _sel_sampleRate1 = _registerName1("sampleRate"); - late final _sel_inputNumberOfChannels1 = - _registerName1("inputNumberOfChannels"); - late final _sel_outputNumberOfChannels1 = - _registerName1("outputNumberOfChannels"); - late final _sel_inputLatency1 = _registerName1("inputLatency"); - late final _sel_outputLatency1 = _registerName1("outputLatency"); - late final _sel_IOBufferDuration1 = _registerName1("IOBufferDuration"); - late final _sel_supportedOutputChannelLayouts1 = - _registerName1("supportedOutputChannelLayouts"); - late final _sel_isOtherAudioPlaying1 = _registerName1("isOtherAudioPlaying"); - late final _sel_secondaryAudioShouldBeSilencedHint1 = - _registerName1("secondaryAudioShouldBeSilencedHint"); - late final _sel_outputVolume1 = _registerName1("outputVolume"); - late final _sel_promptStyle1 = _registerName1("promptStyle"); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Float, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1167 = + __objc_msgSend_1167Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + double, + ffi.Pointer>, + ) + >(); + + late final _sel_inputGain1 = objc.registerName("inputGain"); + late final _sel_isInputGainSettable1 = objc.registerName( + "isInputGainSettable", + ); + late final _sel_isInputAvailable1 = objc.registerName("isInputAvailable"); + late final _sel_inputDataSources1 = objc.registerName("inputDataSources"); + late final _sel_inputDataSource1 = objc.registerName("inputDataSource"); + late final _sel_setInputDataSource_error_1 = objc.registerName( + "setInputDataSource:error:", + ); + late final _sel_outputDataSources1 = objc.registerName("outputDataSources"); + late final _sel_outputDataSource1 = objc.registerName("outputDataSource"); + late final _sel_setOutputDataSource_error_1 = objc.registerName( + "setOutputDataSource:error:", + ); + late final _sel_sampleRate1 = objc.registerName("sampleRate"); + late final _sel_inputNumberOfChannels1 = objc.registerName( + "inputNumberOfChannels", + ); + late final _sel_outputNumberOfChannels1 = objc.registerName( + "outputNumberOfChannels", + ); + late final _sel_inputLatency1 = objc.registerName("inputLatency"); + late final _sel_outputLatency1 = objc.registerName("outputLatency"); + late final _sel_IOBufferDuration1 = objc.registerName("IOBufferDuration"); + late final _sel_supportedOutputChannelLayouts1 = objc.registerName( + "supportedOutputChannelLayouts", + ); + late final _sel_isOtherAudioPlaying1 = objc.registerName( + "isOtherAudioPlaying", + ); + late final _sel_secondaryAudioShouldBeSilencedHint1 = objc.registerName( + "secondaryAudioShouldBeSilencedHint", + ); + late final _sel_outputVolume1 = objc.registerName("outputVolume"); + late final _sel_promptStyle1 = objc.registerName("promptStyle"); int _objc_msgSend_1168( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_1168( - obj, - sel, - ); + return __objc_msgSend_1168(obj, sel); } late final __objc_msgSend_1168Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1168 = __objc_msgSend_1168Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer)>(); - - late final _sel_availableInputs1 = _registerName1("availableInputs"); - late final _class_AVAudioSessionRouteDescription1 = - _getClass1("AVAudioSessionRouteDescription"); - late final _sel_inputs1 = _registerName1("inputs"); - late final _sel_outputs1 = _registerName1("outputs"); - late final _sel_currentRoute1 = _registerName1("currentRoute"); - ffi.Pointer _objc_msgSend_1169( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_1169( - obj, - sel, - ); + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1168 = + __objc_msgSend_1168Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_availableInputs1 = objc.registerName("availableInputs"); + late final _class_AVAudioSessionRouteDescription1 = objc.getClass( + "AVAudioSessionRouteDescription", + ); + late final _sel_inputs1 = objc.registerName("inputs"); + late final _sel_outputs1 = objc.registerName("outputs"); + late final _sel_currentRoute1 = objc.registerName("currentRoute"); + ffi.Pointer _objc_msgSend_1169( + ffi.Pointer obj, + ffi.Pointer sel, + ) { + return __objc_msgSend_1169(obj, sel); } late final __objc_msgSend_1169Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1169 = __objc_msgSend_1169Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_setAggregatedIOPreference_error_1 = - _registerName1("setAggregatedIOPreference:error:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1169 = + __objc_msgSend_1169Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_setAggregatedIOPreference_error_1 = objc.registerName( + "setAggregatedIOPreference:error:", + ); bool _objc_msgSend_1170( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int inIOType, - ffi.Pointer> outError, + ffi.Pointer> outError, ) { - return __objc_msgSend_1170( - obj, - sel, - inIOType, - outError, - ); + return __objc_msgSend_1170(obj, sel, inIOType, outError); } late final __objc_msgSend_1170Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_1170 = __objc_msgSend_1170Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, int, - ffi.Pointer>)>(); - - late final _sel_setSupportsMultichannelContent_error_1 = - _registerName1("setSupportsMultichannelContent:error:"); - late final _sel_supportsMultichannelContent1 = - _registerName1("supportsMultichannelContent"); - late final _sel_setPrefersInterruptionOnRouteDisconnect_error_1 = - _registerName1("setPrefersInterruptionOnRouteDisconnect:error:"); - late final _sel_prefersInterruptionOnRouteDisconnect1 = - _registerName1("prefersInterruptionOnRouteDisconnect"); - late final _sel_setActive_withFlags_error_1 = - _registerName1("setActive:withFlags:error:"); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1170 = + __objc_msgSend_1170Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer>, + ) + >(); + + late final _sel_setSupportsMultichannelContent_error_1 = objc.registerName( + "setSupportsMultichannelContent:error:", + ); + late final _sel_supportsMultichannelContent1 = objc.registerName( + "supportsMultichannelContent", + ); + late final _sel_setPrefersInterruptionOnRouteDisconnect_error_1 = objc + .registerName("setPrefersInterruptionOnRouteDisconnect:error:"); + late final _sel_prefersInterruptionOnRouteDisconnect1 = objc.registerName( + "prefersInterruptionOnRouteDisconnect", + ); + late final _sel_setActive_withFlags_error_1 = objc.registerName( + "setActive:withFlags:error:", + ); bool _objc_msgSend_1171( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, bool active, int flags, - ffi.Pointer> outError, + ffi.Pointer> outError, ) { - return __objc_msgSend_1171( - obj, - sel, - active, - flags, - outError, - ); + return __objc_msgSend_1171(obj, sel, active, flags, outError); } late final __objc_msgSend_1171Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - ffi.Long, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_1171 = __objc_msgSend_1171Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, bool, int, - ffi.Pointer>)>(); - - late final _sel_inputIsAvailable1 = _registerName1("inputIsAvailable"); - late final _sel_currentHardwareSampleRate1 = - _registerName1("currentHardwareSampleRate"); - late final _sel_currentHardwareInputNumberOfChannels1 = - _registerName1("currentHardwareInputNumberOfChannels"); - late final _sel_currentHardwareOutputNumberOfChannels1 = - _registerName1("currentHardwareOutputNumberOfChannels"); - late final _sel_setPreferredHardwareSampleRate_error_1 = - _registerName1("setPreferredHardwareSampleRate:error:"); - late final _sel_preferredHardwareSampleRate1 = - _registerName1("preferredHardwareSampleRate"); - late final _class_AVAudioPlayer1 = _getClass1("AVAudioPlayer"); - late final _sel_initWithData_error_1 = _registerName1("initWithData:error:"); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.Long, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1171 = + __objc_msgSend_1171Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + bool, + int, + ffi.Pointer>, + ) + >(); + + late final _sel_inputIsAvailable1 = objc.registerName("inputIsAvailable"); + late final _sel_currentHardwareSampleRate1 = objc.registerName( + "currentHardwareSampleRate", + ); + late final _sel_currentHardwareInputNumberOfChannels1 = objc.registerName( + "currentHardwareInputNumberOfChannels", + ); + late final _sel_currentHardwareOutputNumberOfChannels1 = objc.registerName( + "currentHardwareOutputNumberOfChannels", + ); + late final _sel_setPreferredHardwareSampleRate_error_1 = objc.registerName( + "setPreferredHardwareSampleRate:error:", + ); + late final _sel_preferredHardwareSampleRate1 = objc.registerName( + "preferredHardwareSampleRate", + ); + late final _class_AVAudioPlayer1 = objc.getClass("AVAudioPlayer"); + late final _sel_initWithData_error_1 = objc.registerName( + "initWithData:error:", + ); instancetype _objc_msgSend_1172( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer data, - ffi.Pointer> outError, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer data, + ffi.Pointer> outError, ) { - return __objc_msgSend_1172( - obj, - sel, - data, - outError, - ); + return __objc_msgSend_1172(obj, sel, data, outError); } late final __objc_msgSend_1172Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_1172 = __objc_msgSend_1172Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer>)>(); - - late final _sel_initWithContentsOfURL_fileTypeHint_error_1 = - _registerName1("initWithContentsOfURL:fileTypeHint:error:"); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1172 = + __objc_msgSend_1172Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + >(); + + late final _sel_initWithContentsOfURL_fileTypeHint_error_1 = objc + .registerName("initWithContentsOfURL:fileTypeHint:error:"); instancetype _objc_msgSend_1173( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, - ffi.Pointer utiString, - ffi.Pointer> outError, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer url, + ffi.Pointer utiString, + ffi.Pointer> outError, ) { - return __objc_msgSend_1173( - obj, - sel, - url, - utiString, - outError, - ); + return __objc_msgSend_1173(obj, sel, url, utiString, outError); } late final __objc_msgSend_1173Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_1173 = __objc_msgSend_1173Ptr.asFunction< + ffi.NativeFunction< instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>(); - - late final _sel_initWithData_fileTypeHint_error_1 = - _registerName1("initWithData:fileTypeHint:error:"); + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1173 = + __objc_msgSend_1173Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + >(); + + late final _sel_initWithData_fileTypeHint_error_1 = objc.registerName( + "initWithData:fileTypeHint:error:", + ); instancetype _objc_msgSend_1174( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer data, - ffi.Pointer utiString, - ffi.Pointer> outError, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer data, + ffi.Pointer utiString, + ffi.Pointer> outError, ) { - return __objc_msgSend_1174( - obj, - sel, - data, - utiString, - outError, - ); + return __objc_msgSend_1174(obj, sel, data, utiString, outError); } late final __objc_msgSend_1174Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_1174 = __objc_msgSend_1174Ptr.asFunction< + ffi.NativeFunction< instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>(); - - late final _sel_prepareToPlay1 = _registerName1("prepareToPlay"); - late final _sel_play1 = _registerName1("play"); - late final _sel_playAtTime_1 = _registerName1("playAtTime:"); + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1174 = + __objc_msgSend_1174Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + >(); + + late final _sel_prepareToPlay1 = objc.registerName("prepareToPlay"); + late final _sel_play1 = objc.registerName("play"); + late final _sel_playAtTime_1 = objc.registerName("playAtTime:"); bool _objc_msgSend_1175( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, double time, ) { - return __objc_msgSend_1175( - obj, - sel, - time, - ); + return __objc_msgSend_1175(obj, sel, time); } late final __objc_msgSend_1175Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer, ffi.Pointer, - ffi.Double)>>('objc_msgSend'); - late final __objc_msgSend_1175 = __objc_msgSend_1175Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, double)>(); - - late final _sel_isPlaying1 = _registerName1("isPlaying"); - late final _sel_numberOfChannels1 = _registerName1("numberOfChannels"); - late final _sel_currentDevice1 = _registerName1("currentDevice"); - late final _sel_setCurrentDevice_1 = _registerName1("setCurrentDevice:"); - late final _sel_url1 = _registerName1("url"); - late final _sel_pan1 = _registerName1("pan"); - late final _sel_setPan_1 = _registerName1("setPan:"); - late final _sel_volume1 = _registerName1("volume"); - late final _sel_setVolume_1 = _registerName1("setVolume:"); - late final _sel_setVolume_fadeDuration_1 = - _registerName1("setVolume:fadeDuration:"); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Double, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1175 = + __objc_msgSend_1175Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + double, + ) + >(); + + late final _sel_isPlaying1 = objc.registerName("isPlaying"); + late final _sel_numberOfChannels1 = objc.registerName("numberOfChannels"); + late final _sel_currentDevice1 = objc.registerName("currentDevice"); + late final _sel_setCurrentDevice_1 = objc.registerName("setCurrentDevice:"); + late final _sel_url1 = objc.registerName("url"); + late final _sel_pan1 = objc.registerName("pan"); + late final _sel_setPan_1 = objc.registerName("setPan:"); + late final _sel_volume1 = objc.registerName("volume"); + late final _sel_setVolume_1 = objc.registerName("setVolume:"); + late final _sel_setVolume_fadeDuration_1 = objc.registerName( + "setVolume:fadeDuration:", + ); void _objc_msgSend_1176( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, double volume, double duration, ) { - return __objc_msgSend_1176( - obj, - sel, - volume, - duration, - ); + return __objc_msgSend_1176(obj, sel, volume, duration); } late final __objc_msgSend_1176Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Float, ffi.Double)>>('objc_msgSend'); - late final __objc_msgSend_1176 = __objc_msgSend_1176Ptr.asFunction< - void Function( - ffi.Pointer, ffi.Pointer, double, double)>(); - - late final _sel_enableRate1 = _registerName1("enableRate"); - late final _sel_setEnableRate_1 = _registerName1("setEnableRate:"); - late final _sel_rate1 = _registerName1("rate"); - late final _sel_setRate_1 = _registerName1("setRate:"); - late final _sel_currentTime1 = _registerName1("currentTime"); - late final _sel_setCurrentTime_1 = _registerName1("setCurrentTime:"); - late final _sel_deviceCurrentTime1 = _registerName1("deviceCurrentTime"); - late final _sel_numberOfLoops1 = _registerName1("numberOfLoops"); - late final _sel_setNumberOfLoops_1 = _registerName1("setNumberOfLoops:"); - late final _sel_settings1 = _registerName1("settings"); - late final _class_AVAudioFormat1 = _getClass1("AVAudioFormat"); - late final _sel_initWithStreamDescription_1 = - _registerName1("initWithStreamDescription:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Float, + ffi.Double, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1176 = + __objc_msgSend_1176Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + double, + double, + ) + >(); + + late final _sel_enableRate1 = objc.registerName("enableRate"); + late final _sel_setEnableRate_1 = objc.registerName("setEnableRate:"); + late final _sel_rate1 = objc.registerName("rate"); + late final _sel_setRate_1 = objc.registerName("setRate:"); + late final _sel_currentTime1 = objc.registerName("currentTime"); + late final _sel_setCurrentTime_1 = objc.registerName("setCurrentTime:"); + late final _sel_deviceCurrentTime1 = objc.registerName("deviceCurrentTime"); + late final _sel_numberOfLoops1 = objc.registerName("numberOfLoops"); + late final _sel_setNumberOfLoops_1 = objc.registerName("setNumberOfLoops:"); + late final _sel_settings1 = objc.registerName("settings"); + late final _class_AVAudioFormat1 = objc.getClass("AVAudioFormat"); + late final _sel_initWithStreamDescription_1 = objc.registerName( + "initWithStreamDescription:", + ); instancetype _objc_msgSend_1177( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ffi.Pointer asbd, ) { - return __objc_msgSend_1177( - obj, - sel, - asbd, - ); + return __objc_msgSend_1177(obj, sel, asbd); } late final __objc_msgSend_1177Ptr = _lookup< - ffi.NativeFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1177 = __objc_msgSend_1177Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _class_AVAudioChannelLayout1 = _getClass1("AVAudioChannelLayout"); - late final _sel_initWithLayoutTag_1 = _registerName1("initWithLayoutTag:"); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1177 = + __objc_msgSend_1177Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _class_AVAudioChannelLayout1 = objc.getClass( + "AVAudioChannelLayout", + ); + late final _sel_initWithLayoutTag_1 = objc.registerName("initWithLayoutTag:"); instancetype _objc_msgSend_1178( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int layoutTag, ) { - return __objc_msgSend_1178( - obj, - sel, - layoutTag, - ); + return __objc_msgSend_1178(obj, sel, layoutTag); } late final __objc_msgSend_1178Ptr = _lookup< - ffi.NativeFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.UnsignedInt)>>('objc_msgSend'); - late final __objc_msgSend_1178 = __objc_msgSend_1178Ptr.asFunction< + ffi.NativeFunction< instancetype Function( - ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_initWithLayout_1 = _registerName1("initWithLayout:"); + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedInt, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1178 = + __objc_msgSend_1178Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_initWithLayout_1 = objc.registerName("initWithLayout:"); instancetype _objc_msgSend_1179( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ffi.Pointer layout, ) { - return __objc_msgSend_1179( - obj, - sel, - layout, - ); + return __objc_msgSend_1179(obj, sel, layout); } late final __objc_msgSend_1179Ptr = _lookup< - ffi.NativeFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1179 = __objc_msgSend_1179Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_isEqual_1 = _registerName1("isEqual:"); - late final _sel_layoutWithLayoutTag_1 = - _registerName1("layoutWithLayoutTag:"); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1179 = + __objc_msgSend_1179Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_isEqual_1 = objc.registerName("isEqual:"); + late final _sel_layoutWithLayoutTag_1 = objc.registerName( + "layoutWithLayoutTag:", + ); instancetype _objc_msgSend_1180( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int layoutTag, ) { - return __objc_msgSend_1180( - obj, - sel, - layoutTag, - ); + return __objc_msgSend_1180(obj, sel, layoutTag); } late final __objc_msgSend_1180Ptr = _lookup< - ffi.NativeFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.UnsignedInt)>>('objc_msgSend'); - late final __objc_msgSend_1180 = __objc_msgSend_1180Ptr.asFunction< + ffi.NativeFunction< instancetype Function( - ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_layoutWithLayout_1 = _registerName1("layoutWithLayout:"); - late final _sel_layoutTag1 = _registerName1("layoutTag"); - late final _sel_layout1 = _registerName1("layout"); + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedInt, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1180 = + __objc_msgSend_1180Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_layoutWithLayout_1 = objc.registerName("layoutWithLayout:"); + late final _sel_layoutTag1 = objc.registerName("layoutTag"); + late final _sel_layout1 = objc.registerName("layout"); ffi.Pointer _objc_msgSend_1181( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_1181( - obj, - sel, - ); + return __objc_msgSend_1181(obj, sel); } late final __objc_msgSend_1181Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1181 = __objc_msgSend_1181Ptr.asFunction< + ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1181 = + __objc_msgSend_1181Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); - late final _sel_channelCount1 = _registerName1("channelCount"); + late final _sel_channelCount1 = objc.registerName("channelCount"); int _objc_msgSend_1182( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_1182( - obj, - sel, - ); + return __objc_msgSend_1182(obj, sel); } late final __objc_msgSend_1182Ptr = _lookup< - ffi.NativeFunction< - ffi.Uint32 Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1182 = __objc_msgSend_1182Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer)>(); - - late final _sel_initWithStreamDescription_channelLayout_1 = - _registerName1("initWithStreamDescription:channelLayout:"); + ffi.NativeFunction< + ffi.Uint32 Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1182 = + __objc_msgSend_1182Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_initWithStreamDescription_channelLayout_1 = objc.registerName( + "initWithStreamDescription:channelLayout:", + ); instancetype _objc_msgSend_1183( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ffi.Pointer asbd, - ffi.Pointer layout, + ffi.Pointer layout, ) { - return __objc_msgSend_1183( - obj, - sel, - asbd, - layout, - ); + return __objc_msgSend_1183(obj, sel, asbd, layout); } late final __objc_msgSend_1183Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1183 = + __objc_msgSend_1183Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1183 = __objc_msgSend_1183Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); + ffi.Pointer, + ) + >(); - late final _sel_initStandardFormatWithSampleRate_channels_1 = - _registerName1("initStandardFormatWithSampleRate:channels:"); + late final _sel_initStandardFormatWithSampleRate_channels_1 = objc + .registerName("initStandardFormatWithSampleRate:channels:"); instancetype _objc_msgSend_1184( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, double sampleRate, int channels, ) { - return __objc_msgSend_1184( - obj, - sel, - sampleRate, - channels, - ); + return __objc_msgSend_1184(obj, sel, sampleRate, channels); } late final __objc_msgSend_1184Ptr = _lookup< - ffi.NativeFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Double, ffi.Uint32)>>('objc_msgSend'); - late final __objc_msgSend_1184 = __objc_msgSend_1184Ptr.asFunction< + ffi.NativeFunction< instancetype Function( - ffi.Pointer, ffi.Pointer, double, int)>(); - - late final _sel_initStandardFormatWithSampleRate_channelLayout_1 = - _registerName1("initStandardFormatWithSampleRate:channelLayout:"); + ffi.Pointer, + ffi.Pointer, + ffi.Double, + ffi.Uint32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1184 = + __objc_msgSend_1184Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + double, + int, + ) + >(); + + late final _sel_initStandardFormatWithSampleRate_channelLayout_1 = objc + .registerName("initStandardFormatWithSampleRate:channelLayout:"); instancetype _objc_msgSend_1185( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, double sampleRate, - ffi.Pointer layout, + ffi.Pointer layout, ) { - return __objc_msgSend_1185( - obj, - sel, - sampleRate, - layout, - ); + return __objc_msgSend_1185(obj, sel, sampleRate, layout); } late final __objc_msgSend_1185Ptr = _lookup< - ffi.NativeFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Double, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1185 = __objc_msgSend_1185Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - double, ffi.Pointer)>(); - - late final _sel_initWithCommonFormat_sampleRate_channels_interleaved_1 = - _registerName1("initWithCommonFormat:sampleRate:channels:interleaved:"); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Double, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1185 = + __objc_msgSend_1185Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + double, + ffi.Pointer, + ) + >(); + + late final _sel_initWithCommonFormat_sampleRate_channels_interleaved_1 = objc + .registerName("initWithCommonFormat:sampleRate:channels:interleaved:"); instancetype _objc_msgSend_1186( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int format, double sampleRate, int channels, @@ -33561,23 +42169,41 @@ class AVFAudio { } late final __objc_msgSend_1186Ptr = _lookup< - ffi.NativeFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Int32, ffi.Double, ffi.Uint32, ffi.Bool)>>('objc_msgSend'); - late final __objc_msgSend_1186 = __objc_msgSend_1186Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, int, - double, int, bool)>(); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Double, + ffi.Uint32, + ffi.Bool, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1186 = + __objc_msgSend_1186Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + int, + double, + int, + bool, + ) + >(); late final _sel_initWithCommonFormat_sampleRate_interleaved_channelLayout_1 = - _registerName1( - "initWithCommonFormat:sampleRate:interleaved:channelLayout:"); + objc.registerName( + "initWithCommonFormat:sampleRate:interleaved:channelLayout:", + ); instancetype _objc_msgSend_1187( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int format, double sampleRate, bool interleaved, - ffi.Pointer layout, + ffi.Pointer layout, ) { return __objc_msgSend_1187( obj, @@ -33590,256 +42216,295 @@ class AVFAudio { } late final __objc_msgSend_1187Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Double, - ffi.Bool, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1187 = __objc_msgSend_1187Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, int, - double, bool, ffi.Pointer)>(); - - late final _sel_initWithSettings_1 = _registerName1("initWithSettings:"); - late final _sel_initWithCMAudioFormatDescription_1 = - _registerName1("initWithCMAudioFormatDescription:"); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Double, + ffi.Bool, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1187 = + __objc_msgSend_1187Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + int, + double, + bool, + ffi.Pointer, + ) + >(); + + late final _sel_initWithSettings_1 = objc.registerName("initWithSettings:"); + late final _sel_initWithCMAudioFormatDescription_1 = objc.registerName( + "initWithCMAudioFormatDescription:", + ); instancetype _objc_msgSend_1188( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ffi.Pointer formatDescription, ) { - return __objc_msgSend_1188( - obj, - sel, - formatDescription, - ); + return __objc_msgSend_1188(obj, sel, formatDescription); } late final __objc_msgSend_1188Ptr = _lookup< - ffi.NativeFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1188 = __objc_msgSend_1188Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_isStandard1 = _registerName1("isStandard"); - late final _sel_commonFormat1 = _registerName1("commonFormat"); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1188 = + __objc_msgSend_1188Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_isStandard1 = objc.registerName("isStandard"); + late final _sel_commonFormat1 = objc.registerName("commonFormat"); int _objc_msgSend_1189( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_1189( - obj, - sel, - ); + return __objc_msgSend_1189(obj, sel); } late final __objc_msgSend_1189Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1189 = __objc_msgSend_1189Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer)>(); - - late final _sel_isInterleaved1 = _registerName1("isInterleaved"); - late final _sel_streamDescription1 = _registerName1("streamDescription"); + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1189 = + __objc_msgSend_1189Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_isInterleaved1 = objc.registerName("isInterleaved"); + late final _sel_streamDescription1 = objc.registerName("streamDescription"); ffi.Pointer _objc_msgSend_1190( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_1190( - obj, - sel, - ); + return __objc_msgSend_1190(obj, sel); } late final __objc_msgSend_1190Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1190 = __objc_msgSend_1190Ptr.asFunction< + ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1190 = + __objc_msgSend_1190Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); - late final _sel_channelLayout1 = _registerName1("channelLayout"); - ffi.Pointer _objc_msgSend_1191( - ffi.Pointer obj, - ffi.Pointer sel, + late final _sel_channelLayout1 = objc.registerName("channelLayout"); + ffi.Pointer _objc_msgSend_1191( + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_1191( - obj, - sel, - ); + return __objc_msgSend_1191(obj, sel); } late final __objc_msgSend_1191Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1191 = __objc_msgSend_1191Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_magicCookie1 = _registerName1("magicCookie"); - late final _sel_setMagicCookie_1 = _registerName1("setMagicCookie:"); - late final _sel_formatDescription1 = _registerName1("formatDescription"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1191 = + __objc_msgSend_1191Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_magicCookie1 = objc.registerName("magicCookie"); + late final _sel_setMagicCookie_1 = objc.registerName("setMagicCookie:"); + late final _sel_formatDescription1 = objc.registerName("formatDescription"); ffi.Pointer _objc_msgSend_1192( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_1192( - obj, - sel, - ); + return __objc_msgSend_1192(obj, sel); } late final __objc_msgSend_1192Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1192 = __objc_msgSend_1192Ptr.asFunction< + ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1192 = + __objc_msgSend_1192Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); - ffi.Pointer _objc_msgSend_1193( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer _objc_msgSend_1193( + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_1193( - obj, - sel, - ); + return __objc_msgSend_1193(obj, sel); } late final __objc_msgSend_1193Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1193 = __objc_msgSend_1193Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_isMeteringEnabled1 = _registerName1("isMeteringEnabled"); - late final _sel_setMeteringEnabled_1 = _registerName1("setMeteringEnabled:"); - late final _sel_updateMeters1 = _registerName1("updateMeters"); - late final _sel_peakPowerForChannel_1 = - _registerName1("peakPowerForChannel:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1193 = + __objc_msgSend_1193Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_isMeteringEnabled1 = objc.registerName("isMeteringEnabled"); + late final _sel_setMeteringEnabled_1 = objc.registerName( + "setMeteringEnabled:", + ); + late final _sel_updateMeters1 = objc.registerName("updateMeters"); + late final _sel_peakPowerForChannel_1 = objc.registerName( + "peakPowerForChannel:", + ); double _objc_msgSend_1194( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int channelNumber, ) { - return __objc_msgSend_1194( - obj, - sel, - channelNumber, - ); + return __objc_msgSend_1194(obj, sel, channelNumber); } late final __objc_msgSend_1194Ptr = _lookup< - ffi.NativeFunction< - ffi.Float Function(ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong)>>('objc_msgSend'); - late final __objc_msgSend_1194 = __objc_msgSend_1194Ptr.asFunction< - double Function(ffi.Pointer, ffi.Pointer, int)>(); + ffi.NativeFunction< + ffi.Float Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1194 = + __objc_msgSend_1194Ptr + .asFunction< + double Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); double _objc_msgSend_1194_fpret( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int channelNumber, ) { - return __objc_msgSend_1194_fpret( - obj, - sel, - channelNumber, - ); + return __objc_msgSend_1194_fpret(obj, sel, channelNumber); } late final __objc_msgSend_1194_fpretPtr = _lookup< - ffi.NativeFunction< - ffi.Float Function(ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong)>>('objc_msgSend_fpret'); + ffi.NativeFunction< + ffi.Float Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + > + >('objc_msgSend_fpret'); late final __objc_msgSend_1194_fpret = - __objc_msgSend_1194_fpretPtr.asFunction< - double Function( - ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_averagePowerForChannel_1 = - _registerName1("averagePowerForChannel:"); - late final _sel_channelAssignments1 = _registerName1("channelAssignments"); - late final _sel_setChannelAssignments_1 = - _registerName1("setChannelAssignments:"); + __objc_msgSend_1194_fpretPtr + .asFunction< + double Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_averagePowerForChannel_1 = objc.registerName( + "averagePowerForChannel:", + ); + late final _sel_channelAssignments1 = objc.registerName("channelAssignments"); + late final _sel_setChannelAssignments_1 = objc.registerName( + "setChannelAssignments:", + ); } -class _ObjCWrapper implements ffi.Finalizable { - final ffi.Pointer _id; - final AVFAudio _lib; - bool _pendingRelease; - - _ObjCWrapper._(this._id, this._lib, - {bool retain = false, bool release = false}) - : _pendingRelease = release { - if (retain) { - _lib._objc_retain(_id.cast()); - } - if (release) { - _lib._objc_releaseFinalizer2.attach(this, _id.cast(), detach: this); - } - } - - /// Releases the reference to the underlying ObjC object held by this wrapper. - /// Throws a StateError if this wrapper doesn't currently hold a reference. - void release() { - if (_pendingRelease) { - _pendingRelease = false; - _lib._objc_release(_id.cast()); - _lib._objc_releaseFinalizer2.detach(this); - } else { - throw StateError( - 'Released an ObjC object that was unowned or already released.'); - } - } - - @override - bool operator ==(Object other) { - return other is _ObjCWrapper && _id == other._id; - } - - @override - int get hashCode => _id.hashCode; - - /// Return a pointer to this object. - ffi.Pointer get pointer => _id; - - ffi.Pointer retainAndReturnPointer() { - _lib._objc_retain(_id.cast()); - return _id; - } -} +class NSObject extends objc.ObjCObjectBase { + NSObject._( + ffi.Pointer pointer, + this._lib, { + bool retain = false, + bool release = false, + }) : super(pointer, retain: retain, release: release); -class NSObject extends _ObjCWrapper { - NSObject._(ffi.Pointer id, AVFAudio lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + AVFAudio _lib; /// Returns a [NSObject] that points to the same underlying object as [other]. - static NSObject castFrom(T other) { - return NSObject._(other._id, other._lib, retain: true, release: true); + static NSObject castFrom( + AVFAudio lib, + T other, + ) { + return NSObject._(other.pointer, lib, retain: true, release: true); } /// Returns a [NSObject] that wraps the given raw object pointer. - static NSObject castFromPointer(AVFAudio lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + static NSObject castFromPointer( + AVFAudio lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSObject._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSObject]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_NSObject1); + static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSObject1, + ); } static void load(AVFAudio _lib) { @@ -33851,7 +42516,7 @@ class NSObject extends _ObjCWrapper { } NSObject init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSObject._(_ret, _lib, retain: true, release: true); } @@ -33862,7 +42527,10 @@ class NSObject extends _ObjCWrapper { static NSObject allocWithZone_(AVFAudio _lib, ffi.Pointer<_NSZone> zone) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSObject1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSObject1, + _lib._sel_allocWithZone_1, + zone, + ); return NSObject._(_ret, _lib, retain: false, release: true); } @@ -33872,109 +42540,171 @@ class NSObject extends _ObjCWrapper { } void dealloc() { - _lib._objc_msgSend_1(_id, _lib._sel_dealloc1); + _lib._objc_msgSend_1(this.pointer, _lib._sel_dealloc1); } void finalize() { - _lib._objc_msgSend_1(_id, _lib._sel_finalize1); + _lib._objc_msgSend_1(this.pointer, _lib._sel_finalize1); } NSObject copy() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_copy1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_copy1); return NSObject._(_ret, _lib, retain: false, release: true); } NSObject mutableCopy() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_mutableCopy1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_mutableCopy1); return NSObject._(_ret, _lib, retain: false, release: true); } static NSObject copyWithZone_(AVFAudio _lib, ffi.Pointer<_NSZone> zone) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSObject1, _lib._sel_copyWithZone_1, zone); + _lib._class_NSObject1, + _lib._sel_copyWithZone_1, + zone, + ); return NSObject._(_ret, _lib, retain: false, release: true); } static NSObject mutableCopyWithZone_( - AVFAudio _lib, ffi.Pointer<_NSZone> zone) { + AVFAudio _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSObject1, _lib._sel_mutableCopyWithZone_1, zone); + _lib._class_NSObject1, + _lib._sel_mutableCopyWithZone_1, + zone, + ); return NSObject._(_ret, _lib, retain: false, release: true); } static bool instancesRespondToSelector_( - AVFAudio _lib, ffi.Pointer aSelector) { - return _lib._objc_msgSend_4(_lib._class_NSObject1, - _lib._sel_instancesRespondToSelector_1, aSelector); + AVFAudio _lib, + ffi.Pointer aSelector, + ) { + return _lib._objc_msgSend_4( + _lib._class_NSObject1, + _lib._sel_instancesRespondToSelector_1, + aSelector, + ); } static bool conformsToProtocol_(AVFAudio _lib, Protocol protocol) { return _lib._objc_msgSend_5( - _lib._class_NSObject1, _lib._sel_conformsToProtocol_1, protocol._id); + _lib._class_NSObject1, + _lib._sel_conformsToProtocol_1, + protocol.pointer, + ); } ffi.Pointer> methodForSelector_( - ffi.Pointer aSelector) { - return _lib._objc_msgSend_6(_id, _lib._sel_methodForSelector_1, aSelector); + ffi.Pointer aSelector, + ) { + return _lib._objc_msgSend_6( + this.pointer, + _lib._sel_methodForSelector_1, + aSelector, + ); } static ffi.Pointer> - instanceMethodForSelector_( - AVFAudio _lib, ffi.Pointer aSelector) { - return _lib._objc_msgSend_6(_lib._class_NSObject1, - _lib._sel_instanceMethodForSelector_1, aSelector); + instanceMethodForSelector_( + AVFAudio _lib, + ffi.Pointer aSelector, + ) { + return _lib._objc_msgSend_6( + _lib._class_NSObject1, + _lib._sel_instanceMethodForSelector_1, + aSelector, + ); } - void doesNotRecognizeSelector_(ffi.Pointer aSelector) { - _lib._objc_msgSend_7(_id, _lib._sel_doesNotRecognizeSelector_1, aSelector); + void doesNotRecognizeSelector_(ffi.Pointer aSelector) { + _lib._objc_msgSend_7( + this.pointer, + _lib._sel_doesNotRecognizeSelector_1, + aSelector, + ); } - NSObject forwardingTargetForSelector_(ffi.Pointer aSelector) { + NSObject forwardingTargetForSelector_( + ffi.Pointer aSelector, + ) { final _ret = _lib._objc_msgSend_8( - _id, _lib._sel_forwardingTargetForSelector_1, aSelector); + this.pointer, + _lib._sel_forwardingTargetForSelector_1, + aSelector, + ); return NSObject._(_ret, _lib, retain: true, release: true); } void forwardInvocation_(NSInvocation anInvocation) { _lib._objc_msgSend_421( - _id, _lib._sel_forwardInvocation_1, anInvocation._id); + this.pointer, + _lib._sel_forwardInvocation_1, + anInvocation.pointer, + ); } NSMethodSignature methodSignatureForSelector_( - ffi.Pointer aSelector) { + ffi.Pointer aSelector, + ) { final _ret = _lib._objc_msgSend_422( - _id, _lib._sel_methodSignatureForSelector_1, aSelector); + this.pointer, + _lib._sel_methodSignatureForSelector_1, + aSelector, + ); return NSMethodSignature._(_ret, _lib, retain: true, release: true); } static NSMethodSignature instanceMethodSignatureForSelector_( - AVFAudio _lib, ffi.Pointer aSelector) { - final _ret = _lib._objc_msgSend_422(_lib._class_NSObject1, - _lib._sel_instanceMethodSignatureForSelector_1, aSelector); + AVFAudio _lib, + ffi.Pointer aSelector, + ) { + final _ret = _lib._objc_msgSend_422( + _lib._class_NSObject1, + _lib._sel_instanceMethodSignatureForSelector_1, + aSelector, + ); return NSMethodSignature._(_ret, _lib, retain: true, release: true); } bool allowsWeakReference() { - return _lib._objc_msgSend_12(_id, _lib._sel_allowsWeakReference1); + return _lib._objc_msgSend_12(this.pointer, _lib._sel_allowsWeakReference1); } bool retainWeakReference() { - return _lib._objc_msgSend_12(_id, _lib._sel_retainWeakReference1); + return _lib._objc_msgSend_12(this.pointer, _lib._sel_retainWeakReference1); } static bool isSubclassOfClass_(AVFAudio _lib, NSObject aClass) { return _lib._objc_msgSend_0( - _lib._class_NSObject1, _lib._sel_isSubclassOfClass_1, aClass._id); + _lib._class_NSObject1, + _lib._sel_isSubclassOfClass_1, + aClass.pointer, + ); } - static bool resolveClassMethod_(AVFAudio _lib, ffi.Pointer sel) { + static bool resolveClassMethod_( + AVFAudio _lib, + ffi.Pointer sel, + ) { return _lib._objc_msgSend_4( - _lib._class_NSObject1, _lib._sel_resolveClassMethod_1, sel); + _lib._class_NSObject1, + _lib._sel_resolveClassMethod_1, + sel, + ); } - static bool resolveInstanceMethod_(AVFAudio _lib, ffi.Pointer sel) { + static bool resolveInstanceMethod_( + AVFAudio _lib, + ffi.Pointer sel, + ) { return _lib._objc_msgSend_4( - _lib._class_NSObject1, _lib._sel_resolveInstanceMethod_1, sel); + _lib._class_NSObject1, + _lib._sel_resolveInstanceMethod_1, + sel, + ); } static int hash(AVFAudio _lib) { @@ -33982,8 +42712,10 @@ class NSObject extends _ObjCWrapper { } static NSObject superclass(AVFAudio _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSObject1, _lib._sel_superclass1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSObject1, + _lib._sel_superclass1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } @@ -33993,14 +42725,18 @@ class NSObject extends _ObjCWrapper { } static NSString description(AVFAudio _lib) { - final _ret = - _lib._objc_msgSend_21(_lib._class_NSObject1, _lib._sel_description1); + final _ret = _lib._objc_msgSend_21( + _lib._class_NSObject1, + _lib._sel_description1, + ); return NSString._(_ret, _lib, retain: true, release: true); } static NSString debugDescription(AVFAudio _lib) { final _ret = _lib._objc_msgSend_21( - _lib._class_NSObject1, _lib._sel_debugDescription1); + _lib._class_NSObject1, + _lib._sel_debugDescription1, + ); return NSString._(_ret, _lib, retain: true, release: true); } @@ -34010,25 +42746,34 @@ class NSObject extends _ObjCWrapper { static void setVersion_(AVFAudio _lib, int aVersion) { _lib._objc_msgSend_423( - _lib._class_NSObject1, _lib._sel_setVersion_1, aVersion); + _lib._class_NSObject1, + _lib._sel_setVersion_1, + aVersion, + ); } NSObject get classForCoder { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_classForCoder1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_classForCoder1); return NSObject._(_ret, _lib, retain: true, release: true); } NSObject? replacementObjectForCoder_(NSCoder coder) { final _ret = _lib._objc_msgSend_47( - _id, _lib._sel_replacementObjectForCoder_1, coder._id); + this.pointer, + _lib._sel_replacementObjectForCoder_1, + coder.pointer, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } NSObject? awakeAfterUsingCoder_(NSCoder coder) { - final _ret = - _lib._objc_msgSend_47(_id, _lib._sel_awakeAfterUsingCoder_1, coder._id); + final _ret = _lib._objc_msgSend_47( + this.pointer, + _lib._sel_awakeAfterUsingCoder_1, + coder.pointer, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: false, release: true); @@ -34036,125 +42781,175 @@ class NSObject extends _ObjCWrapper { static void poseAsClass_(AVFAudio _lib, NSObject aClass) { _lib._objc_msgSend_15( - _lib._class_NSObject1, _lib._sel_poseAsClass_1, aClass._id); + _lib._class_NSObject1, + _lib._sel_poseAsClass_1, + aClass.pointer, + ); } NSObject get autoContentAccessingProxy { - final _ret = - _lib._objc_msgSend_2(_id, _lib._sel_autoContentAccessingProxy1); + final _ret = _lib._objc_msgSend_2( + this.pointer, + _lib._sel_autoContentAccessingProxy1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } void - attemptRecoveryFromError_optionIndex_delegate_didRecoverSelector_contextInfo_( - NSError error, - int recoveryOptionIndex, - NSObject? delegate, - ffi.Pointer didRecoverSelector, - ffi.Pointer contextInfo) { + attemptRecoveryFromError_optionIndex_delegate_didRecoverSelector_contextInfo_( + NSError error, + int recoveryOptionIndex, + NSObject? delegate, + ffi.Pointer didRecoverSelector, + ffi.Pointer contextInfo, + ) { _lib._objc_msgSend_424( - _id, - _lib._sel_attemptRecoveryFromError_optionIndex_delegate_didRecoverSelector_contextInfo_1, - error._id, - recoveryOptionIndex, - delegate?._id ?? ffi.nullptr, - didRecoverSelector, - contextInfo); + this.pointer, + _lib._sel_attemptRecoveryFromError_optionIndex_delegate_didRecoverSelector_contextInfo_1, + error.pointer, + recoveryOptionIndex, + delegate?.pointer ?? ffi.nullptr, + didRecoverSelector, + contextInfo, + ); } bool attemptRecoveryFromError_optionIndex_( - NSError error, int recoveryOptionIndex) { + NSError error, + int recoveryOptionIndex, + ) { return _lib._objc_msgSend_425( - _id, - _lib._sel_attemptRecoveryFromError_optionIndex_1, - error._id, - recoveryOptionIndex); + this.pointer, + _lib._sel_attemptRecoveryFromError_optionIndex_1, + error.pointer, + recoveryOptionIndex, + ); } void performSelector_withObject_afterDelay_inModes_( - ffi.Pointer aSelector, - NSObject? anArgument, - double delay, - NSArray modes) { + ffi.Pointer aSelector, + NSObject? anArgument, + double delay, + NSArray modes, + ) { _lib._objc_msgSend_426( - _id, - _lib._sel_performSelector_withObject_afterDelay_inModes_1, - aSelector, - anArgument?._id ?? ffi.nullptr, - delay, - modes._id); + this.pointer, + _lib._sel_performSelector_withObject_afterDelay_inModes_1, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + delay, + modes.pointer, + ); } void performSelector_withObject_afterDelay_( - ffi.Pointer aSelector, NSObject? anArgument, double delay) { + ffi.Pointer aSelector, + NSObject? anArgument, + double delay, + ) { _lib._objc_msgSend_427( - _id, - _lib._sel_performSelector_withObject_afterDelay_1, - aSelector, - anArgument?._id ?? ffi.nullptr, - delay); + this.pointer, + _lib._sel_performSelector_withObject_afterDelay_1, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + delay, + ); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + AVFAudio _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSObject1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSObject1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSObject1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + AVFAudio _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSObject1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } void URL_resourceDataDidBecomeAvailable_(NSURL sender, NSData newBytes) { - _lib._objc_msgSend_428(_id, _lib._sel_URL_resourceDataDidBecomeAvailable_1, - sender._id, newBytes._id); + _lib._objc_msgSend_428( + this.pointer, + _lib._sel_URL_resourceDataDidBecomeAvailable_1, + sender.pointer, + newBytes.pointer, + ); } void URLResourceDidFinishLoading_(NSURL sender) { _lib._objc_msgSend_429( - _id, _lib._sel_URLResourceDidFinishLoading_1, sender._id); + this.pointer, + _lib._sel_URLResourceDidFinishLoading_1, + sender.pointer, + ); } void URLResourceDidCancelLoading_(NSURL sender) { _lib._objc_msgSend_429( - _id, _lib._sel_URLResourceDidCancelLoading_1, sender._id); + this.pointer, + _lib._sel_URLResourceDidCancelLoading_1, + sender.pointer, + ); } void URL_resourceDidFailLoadingWithReason_(NSURL sender, NSString reason) { _lib._objc_msgSend_430( - _id, - _lib._sel_URL_resourceDidFailLoadingWithReason_1, - sender._id, - reason._id); + this.pointer, + _lib._sel_URL_resourceDidFailLoadingWithReason_1, + sender.pointer, + reason.pointer, + ); } bool fileManager_shouldProceedAfterError_( - NSFileManager fm, NSDictionary errorInfo) { - return _lib._objc_msgSend_467(_id, - _lib._sel_fileManager_shouldProceedAfterError_1, fm._id, errorInfo._id); + NSFileManager fm, + NSDictionary errorInfo, + ) { + return _lib._objc_msgSend_467( + this.pointer, + _lib._sel_fileManager_shouldProceedAfterError_1, + fm.pointer, + errorInfo.pointer, + ); } void fileManager_willProcessPath_(NSFileManager fm, NSString path) { _lib._objc_msgSend_468( - _id, _lib._sel_fileManager_willProcessPath_1, fm._id, path._id); + this.pointer, + _lib._sel_fileManager_willProcessPath_1, + fm.pointer, + path.pointer, + ); } static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { return _lib._objc_msgSend_12( - _lib._class_NSObject1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_NSObject1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } NSObject? valueForKey_(NSString key) { - final _ret = _lib._objc_msgSend_38(_id, _lib._sel_valueForKey_1, key._id); + final _ret = _lib._objc_msgSend_38( + this.pointer, + _lib._sel_valueForKey_1, + key.pointer, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); @@ -34162,265 +42957,430 @@ class NSObject extends _ObjCWrapper { void setValue_forKey_(NSObject? value, NSString key) { _lib._objc_msgSend_135( - _id, _lib._sel_setValue_forKey_1, value?._id ?? ffi.nullptr, key._id); + this.pointer, + _lib._sel_setValue_forKey_1, + value?.pointer ?? ffi.nullptr, + key.pointer, + ); } - bool validateValue_forKey_error_(ffi.Pointer> ioValue, - NSString inKey, ffi.Pointer> outError) { - return _lib._objc_msgSend_243(_id, _lib._sel_validateValue_forKey_error_1, - ioValue, inKey._id, outError); + bool validateValue_forKey_error_( + ffi.Pointer> ioValue, + NSString inKey, + ffi.Pointer> outError, + ) { + return _lib._objc_msgSend_243( + this.pointer, + _lib._sel_validateValue_forKey_error_1, + ioValue, + inKey.pointer, + outError, + ); } NSMutableArray mutableArrayValueForKey_(NSString key) { final _ret = _lib._objc_msgSend_488( - _id, _lib._sel_mutableArrayValueForKey_1, key._id); + this.pointer, + _lib._sel_mutableArrayValueForKey_1, + key.pointer, + ); return NSMutableArray._(_ret, _lib, retain: true, release: true); } NSMutableOrderedSet mutableOrderedSetValueForKey_(NSString key) { final _ret = _lib._objc_msgSend_506( - _id, _lib._sel_mutableOrderedSetValueForKey_1, key._id); + this.pointer, + _lib._sel_mutableOrderedSetValueForKey_1, + key.pointer, + ); return NSMutableOrderedSet._(_ret, _lib, retain: true, release: true); } NSMutableSet mutableSetValueForKey_(NSString key) { - final _ret = - _lib._objc_msgSend_507(_id, _lib._sel_mutableSetValueForKey_1, key._id); + final _ret = _lib._objc_msgSend_507( + this.pointer, + _lib._sel_mutableSetValueForKey_1, + key.pointer, + ); return NSMutableSet._(_ret, _lib, retain: true, release: true); } NSObject? valueForKeyPath_(NSString keyPath) { - final _ret = - _lib._objc_msgSend_38(_id, _lib._sel_valueForKeyPath_1, keyPath._id); + final _ret = _lib._objc_msgSend_38( + this.pointer, + _lib._sel_valueForKeyPath_1, + keyPath.pointer, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } void setValue_forKeyPath_(NSObject? value, NSString keyPath) { - _lib._objc_msgSend_135(_id, _lib._sel_setValue_forKeyPath_1, - value?._id ?? ffi.nullptr, keyPath._id); + _lib._objc_msgSend_135( + this.pointer, + _lib._sel_setValue_forKeyPath_1, + value?.pointer ?? ffi.nullptr, + keyPath.pointer, + ); } bool validateValue_forKeyPath_error_( - ffi.Pointer> ioValue, - NSString inKeyPath, - ffi.Pointer> outError) { + ffi.Pointer> ioValue, + NSString inKeyPath, + ffi.Pointer> outError, + ) { return _lib._objc_msgSend_243( - _id, - _lib._sel_validateValue_forKeyPath_error_1, - ioValue, - inKeyPath._id, - outError); + this.pointer, + _lib._sel_validateValue_forKeyPath_error_1, + ioValue, + inKeyPath.pointer, + outError, + ); } NSMutableArray mutableArrayValueForKeyPath_(NSString keyPath) { final _ret = _lib._objc_msgSend_488( - _id, _lib._sel_mutableArrayValueForKeyPath_1, keyPath._id); + this.pointer, + _lib._sel_mutableArrayValueForKeyPath_1, + keyPath.pointer, + ); return NSMutableArray._(_ret, _lib, retain: true, release: true); } NSMutableOrderedSet mutableOrderedSetValueForKeyPath_(NSString keyPath) { final _ret = _lib._objc_msgSend_506( - _id, _lib._sel_mutableOrderedSetValueForKeyPath_1, keyPath._id); + this.pointer, + _lib._sel_mutableOrderedSetValueForKeyPath_1, + keyPath.pointer, + ); return NSMutableOrderedSet._(_ret, _lib, retain: true, release: true); } NSMutableSet mutableSetValueForKeyPath_(NSString keyPath) { final _ret = _lib._objc_msgSend_507( - _id, _lib._sel_mutableSetValueForKeyPath_1, keyPath._id); + this.pointer, + _lib._sel_mutableSetValueForKeyPath_1, + keyPath.pointer, + ); return NSMutableSet._(_ret, _lib, retain: true, release: true); } NSObject? valueForUndefinedKey_(NSString key) { - final _ret = - _lib._objc_msgSend_38(_id, _lib._sel_valueForUndefinedKey_1, key._id); + final _ret = _lib._objc_msgSend_38( + this.pointer, + _lib._sel_valueForUndefinedKey_1, + key.pointer, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } void setValue_forUndefinedKey_(NSObject? value, NSString key) { - _lib._objc_msgSend_135(_id, _lib._sel_setValue_forUndefinedKey_1, - value?._id ?? ffi.nullptr, key._id); + _lib._objc_msgSend_135( + this.pointer, + _lib._sel_setValue_forUndefinedKey_1, + value?.pointer ?? ffi.nullptr, + key.pointer, + ); } void setNilValueForKey_(NSString key) { - _lib._objc_msgSend_247(_id, _lib._sel_setNilValueForKey_1, key._id); + _lib._objc_msgSend_247( + this.pointer, + _lib._sel_setNilValueForKey_1, + key.pointer, + ); } NSDictionary dictionaryWithValuesForKeys_(NSArray keys) { final _ret = _lib._objc_msgSend_508( - _id, _lib._sel_dictionaryWithValuesForKeys_1, keys._id); + this.pointer, + _lib._sel_dictionaryWithValuesForKeys_1, + keys.pointer, + ); return NSDictionary._(_ret, _lib, retain: true, release: true); } void setValuesForKeysWithDictionary_(NSDictionary keyedValues) { _lib._objc_msgSend_509( - _id, _lib._sel_setValuesForKeysWithDictionary_1, keyedValues._id); + this.pointer, + _lib._sel_setValuesForKeysWithDictionary_1, + keyedValues.pointer, + ); } static bool useStoredAccessor(AVFAudio _lib) { return _lib._objc_msgSend_12( - _lib._class_NSObject1, _lib._sel_useStoredAccessor1); + _lib._class_NSObject1, + _lib._sel_useStoredAccessor1, + ); } NSObject? storedValueForKey_(NSString key) { - final _ret = - _lib._objc_msgSend_38(_id, _lib._sel_storedValueForKey_1, key._id); + final _ret = _lib._objc_msgSend_38( + this.pointer, + _lib._sel_storedValueForKey_1, + key.pointer, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } void takeStoredValue_forKey_(NSObject? value, NSString key) { - _lib._objc_msgSend_135(_id, _lib._sel_takeStoredValue_forKey_1, - value?._id ?? ffi.nullptr, key._id); + _lib._objc_msgSend_135( + this.pointer, + _lib._sel_takeStoredValue_forKey_1, + value?.pointer ?? ffi.nullptr, + key.pointer, + ); } void takeValue_forKey_(NSObject? value, NSString key) { _lib._objc_msgSend_135( - _id, _lib._sel_takeValue_forKey_1, value?._id ?? ffi.nullptr, key._id); + this.pointer, + _lib._sel_takeValue_forKey_1, + value?.pointer ?? ffi.nullptr, + key.pointer, + ); } void takeValue_forKeyPath_(NSObject? value, NSString keyPath) { - _lib._objc_msgSend_135(_id, _lib._sel_takeValue_forKeyPath_1, - value?._id ?? ffi.nullptr, keyPath._id); + _lib._objc_msgSend_135( + this.pointer, + _lib._sel_takeValue_forKeyPath_1, + value?.pointer ?? ffi.nullptr, + keyPath.pointer, + ); } NSObject? handleQueryWithUnboundKey_(NSString key) { final _ret = _lib._objc_msgSend_38( - _id, _lib._sel_handleQueryWithUnboundKey_1, key._id); + this.pointer, + _lib._sel_handleQueryWithUnboundKey_1, + key.pointer, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } void handleTakeValue_forUnboundKey_(NSObject? value, NSString key) { - _lib._objc_msgSend_135(_id, _lib._sel_handleTakeValue_forUnboundKey_1, - value?._id ?? ffi.nullptr, key._id); + _lib._objc_msgSend_135( + this.pointer, + _lib._sel_handleTakeValue_forUnboundKey_1, + value?.pointer ?? ffi.nullptr, + key.pointer, + ); } void unableToSetNilForKey_(NSString key) { - _lib._objc_msgSend_247(_id, _lib._sel_unableToSetNilForKey_1, key._id); + _lib._objc_msgSend_247( + this.pointer, + _lib._sel_unableToSetNilForKey_1, + key.pointer, + ); } NSDictionary valuesForKeys_(NSArray keys) { - final _ret = - _lib._objc_msgSend_508(_id, _lib._sel_valuesForKeys_1, keys._id); + final _ret = _lib._objc_msgSend_508( + this.pointer, + _lib._sel_valuesForKeys_1, + keys.pointer, + ); return NSDictionary._(_ret, _lib, retain: true, release: true); } void takeValuesFromDictionary_(NSDictionary properties) { _lib._objc_msgSend_509( - _id, _lib._sel_takeValuesFromDictionary_1, properties._id); + this.pointer, + _lib._sel_takeValuesFromDictionary_1, + properties.pointer, + ); } - void observeValueForKeyPath_ofObject_change_context_(NSString? keyPath, - NSObject? object, NSDictionary? change, ffi.Pointer context) { + void observeValueForKeyPath_ofObject_change_context_( + NSString? keyPath, + NSObject? object, + NSDictionary? change, + ffi.Pointer context, + ) { _lib._objc_msgSend_510( - _id, - _lib._sel_observeValueForKeyPath_ofObject_change_context_1, - keyPath?._id ?? ffi.nullptr, - object?._id ?? ffi.nullptr, - change?._id ?? ffi.nullptr, - context); + this.pointer, + _lib._sel_observeValueForKeyPath_ofObject_change_context_1, + keyPath?.pointer ?? ffi.nullptr, + object?.pointer ?? ffi.nullptr, + change?.pointer ?? ffi.nullptr, + context, + ); } - void addObserver_forKeyPath_options_context_(NSObject observer, - NSString keyPath, int options, ffi.Pointer context) { + void addObserver_forKeyPath_options_context_( + NSObject observer, + NSString keyPath, + int options, + ffi.Pointer context, + ) { _lib._objc_msgSend_139( - _id, - _lib._sel_addObserver_forKeyPath_options_context_1, - observer._id, - keyPath._id, - options, - context); + this.pointer, + _lib._sel_addObserver_forKeyPath_options_context_1, + observer.pointer, + keyPath.pointer, + options, + context, + ); } void removeObserver_forKeyPath_context_( - NSObject observer, NSString keyPath, ffi.Pointer context) { - _lib._objc_msgSend_140(_id, _lib._sel_removeObserver_forKeyPath_context_1, - observer._id, keyPath._id, context); + NSObject observer, + NSString keyPath, + ffi.Pointer context, + ) { + _lib._objc_msgSend_140( + this.pointer, + _lib._sel_removeObserver_forKeyPath_context_1, + observer.pointer, + keyPath.pointer, + context, + ); } void removeObserver_forKeyPath_(NSObject observer, NSString keyPath) { _lib._objc_msgSend_141( - _id, _lib._sel_removeObserver_forKeyPath_1, observer._id, keyPath._id); + this.pointer, + _lib._sel_removeObserver_forKeyPath_1, + observer.pointer, + keyPath.pointer, + ); } void willChangeValueForKey_(NSString key) { - _lib._objc_msgSend_247(_id, _lib._sel_willChangeValueForKey_1, key._id); + _lib._objc_msgSend_247( + this.pointer, + _lib._sel_willChangeValueForKey_1, + key.pointer, + ); } void didChangeValueForKey_(NSString key) { - _lib._objc_msgSend_247(_id, _lib._sel_didChangeValueForKey_1, key._id); + _lib._objc_msgSend_247( + this.pointer, + _lib._sel_didChangeValueForKey_1, + key.pointer, + ); } void willChange_valuesAtIndexes_forKey_( - int changeKind, NSIndexSet indexes, NSString key) { - _lib._objc_msgSend_511(_id, _lib._sel_willChange_valuesAtIndexes_forKey_1, - changeKind, indexes._id, key._id); + int changeKind, + NSIndexSet indexes, + NSString key, + ) { + _lib._objc_msgSend_511( + this.pointer, + _lib._sel_willChange_valuesAtIndexes_forKey_1, + changeKind, + indexes.pointer, + key.pointer, + ); } void didChange_valuesAtIndexes_forKey_( - int changeKind, NSIndexSet indexes, NSString key) { - _lib._objc_msgSend_511(_id, _lib._sel_didChange_valuesAtIndexes_forKey_1, - changeKind, indexes._id, key._id); + int changeKind, + NSIndexSet indexes, + NSString key, + ) { + _lib._objc_msgSend_511( + this.pointer, + _lib._sel_didChange_valuesAtIndexes_forKey_1, + changeKind, + indexes.pointer, + key.pointer, + ); } void willChangeValueForKey_withSetMutation_usingObjects_( - NSString key, int mutationKind, NSSet objects) { + NSString key, + int mutationKind, + NSSet objects, + ) { _lib._objc_msgSend_512( - _id, - _lib._sel_willChangeValueForKey_withSetMutation_usingObjects_1, - key._id, - mutationKind, - objects._id); + this.pointer, + _lib._sel_willChangeValueForKey_withSetMutation_usingObjects_1, + key.pointer, + mutationKind, + objects.pointer, + ); } void didChangeValueForKey_withSetMutation_usingObjects_( - NSString key, int mutationKind, NSSet objects) { + NSString key, + int mutationKind, + NSSet objects, + ) { _lib._objc_msgSend_512( - _id, - _lib._sel_didChangeValueForKey_withSetMutation_usingObjects_1, - key._id, - mutationKind, - objects._id); + this.pointer, + _lib._sel_didChangeValueForKey_withSetMutation_usingObjects_1, + key.pointer, + mutationKind, + objects.pointer, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSObject1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSObject1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSObject1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSObject1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } ffi.Pointer get observationInfo { - return _lib._objc_msgSend_20(_id, _lib._sel_observationInfo1); + return _lib._objc_msgSend_20(this.pointer, _lib._sel_observationInfo1); } set observationInfo(ffi.Pointer value) { - return _lib._objc_msgSend_513(_id, _lib._sel_setObservationInfo_1, value); + return _lib._objc_msgSend_513( + this.pointer, + _lib._sel_setObservationInfo_1, + value, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, NSArray keys, NSString dependentKey) { + AVFAudio _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSObject1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSObject1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } NSObject? get classForKeyedArchiver { - final _ret = _lib._objc_msgSend_17(_id, _lib._sel_classForKeyedArchiver1); + final _ret = _lib._objc_msgSend_17( + this.pointer, + _lib._sel_classForKeyedArchiver1, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); @@ -34428,7 +43388,10 @@ class NSObject extends _ObjCWrapper { NSObject? replacementObjectForKeyedArchiver_(NSKeyedArchiver archiver) { final _ret = _lib._objc_msgSend_528( - _id, _lib._sel_replacementObjectForKeyedArchiver_1, archiver._id); + this.pointer, + _lib._sel_replacementObjectForKeyedArchiver_1, + archiver.pointer, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); @@ -34436,78 +43399,101 @@ class NSObject extends _ObjCWrapper { static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { final _ret = _lib._objc_msgSend_85( - _lib._class_NSObject1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSObject1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(AVFAudio _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSObject1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSObject1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } void performSelectorOnMainThread_withObject_waitUntilDone_modes_( - ffi.Pointer aSelector, - NSObject? arg, - bool wait, - NSArray? array) { + ffi.Pointer aSelector, + NSObject? arg, + bool wait, + NSArray? array, + ) { _lib._objc_msgSend_529( - _id, - _lib._sel_performSelectorOnMainThread_withObject_waitUntilDone_modes_1, - aSelector, - arg?._id ?? ffi.nullptr, - wait, - array?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_performSelectorOnMainThread_withObject_waitUntilDone_modes_1, + aSelector, + arg?.pointer ?? ffi.nullptr, + wait, + array?.pointer ?? ffi.nullptr, + ); } void performSelectorOnMainThread_withObject_waitUntilDone_( - ffi.Pointer aSelector, NSObject? arg, bool wait) { + ffi.Pointer aSelector, + NSObject? arg, + bool wait, + ) { _lib._objc_msgSend_530( - _id, - _lib._sel_performSelectorOnMainThread_withObject_waitUntilDone_1, - aSelector, - arg?._id ?? ffi.nullptr, - wait); + this.pointer, + _lib._sel_performSelectorOnMainThread_withObject_waitUntilDone_1, + aSelector, + arg?.pointer ?? ffi.nullptr, + wait, + ); } void performSelector_onThread_withObject_waitUntilDone_modes_( - ffi.Pointer aSelector, - NSThread thr, - NSObject? arg, - bool wait, - NSArray? array) { + ffi.Pointer aSelector, + NSThread thr, + NSObject? arg, + bool wait, + NSArray? array, + ) { _lib._objc_msgSend_548( - _id, - _lib._sel_performSelector_onThread_withObject_waitUntilDone_modes_1, - aSelector, - thr._id, - arg?._id ?? ffi.nullptr, - wait, - array?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_performSelector_onThread_withObject_waitUntilDone_modes_1, + aSelector, + thr.pointer, + arg?.pointer ?? ffi.nullptr, + wait, + array?.pointer ?? ffi.nullptr, + ); } void performSelector_onThread_withObject_waitUntilDone_( - ffi.Pointer aSelector, NSThread thr, NSObject? arg, bool wait) { + ffi.Pointer aSelector, + NSThread thr, + NSObject? arg, + bool wait, + ) { _lib._objc_msgSend_549( - _id, - _lib._sel_performSelector_onThread_withObject_waitUntilDone_1, - aSelector, - thr._id, - arg?._id ?? ffi.nullptr, - wait); + this.pointer, + _lib._sel_performSelector_onThread_withObject_waitUntilDone_1, + aSelector, + thr.pointer, + arg?.pointer ?? ffi.nullptr, + wait, + ); } void performSelectorInBackground_withObject_( - ffi.Pointer aSelector, NSObject? arg) { + ffi.Pointer aSelector, + NSObject? arg, + ) { _lib._objc_msgSend_90( - _id, - _lib._sel_performSelectorInBackground_withObject_1, - aSelector, - arg?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_performSelectorInBackground_withObject_1, + aSelector, + arg?.pointer ?? ffi.nullptr, + ); } NSObject? get classForArchiver { - final _ret = _lib._objc_msgSend_17(_id, _lib._sel_classForArchiver1); + final _ret = _lib._objc_msgSend_17( + this.pointer, + _lib._sel_classForArchiver1, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); @@ -34515,64 +43501,92 @@ class NSObject extends _ObjCWrapper { NSObject? replacementObjectForArchiver_(NSArchiver archiver) { final _ret = _lib._objc_msgSend_552( - _id, _lib._sel_replacementObjectForArchiver_1, archiver._id); + this.pointer, + _lib._sel_replacementObjectForArchiver_1, + archiver.pointer, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } NSObject get classForPortCoder { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_classForPortCoder1); + final _ret = _lib._objc_msgSend_2( + this.pointer, + _lib._sel_classForPortCoder1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } NSObject? replacementObjectForPortCoder_(NSPortCoder coder) { final _ret = _lib._objc_msgSend_597( - _id, _lib._sel_replacementObjectForPortCoder_1, coder._id); + this.pointer, + _lib._sel_replacementObjectForPortCoder_1, + coder.pointer, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } NSClassDescription get classDescription { - final _ret = _lib._objc_msgSend_600(_id, _lib._sel_classDescription1); + final _ret = _lib._objc_msgSend_600( + this.pointer, + _lib._sel_classDescription1, + ); return NSClassDescription._(_ret, _lib, retain: true, release: true); } NSArray get attributeKeys { - final _ret = _lib._objc_msgSend_85(_id, _lib._sel_attributeKeys1); + final _ret = _lib._objc_msgSend_85(this.pointer, _lib._sel_attributeKeys1); return NSArray._(_ret, _lib, retain: true, release: true); } NSArray get toOneRelationshipKeys { - final _ret = _lib._objc_msgSend_85(_id, _lib._sel_toOneRelationshipKeys1); + final _ret = _lib._objc_msgSend_85( + this.pointer, + _lib._sel_toOneRelationshipKeys1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } NSArray get toManyRelationshipKeys { - final _ret = _lib._objc_msgSend_85(_id, _lib._sel_toManyRelationshipKeys1); + final _ret = _lib._objc_msgSend_85( + this.pointer, + _lib._sel_toManyRelationshipKeys1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } NSString? inverseForRelationshipKey_(NSString relationshipKey) { final _ret = _lib._objc_msgSend_186( - _id, _lib._sel_inverseForRelationshipKey_1, relationshipKey._id); + this.pointer, + _lib._sel_inverseForRelationshipKey_1, + relationshipKey.pointer, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } NSObject? scriptingValueForSpecifier_( - NSScriptObjectSpecifier objectSpecifier) { + NSScriptObjectSpecifier objectSpecifier, + ) { final _ret = _lib._objc_msgSend_649( - _id, _lib._sel_scriptingValueForSpecifier_1, objectSpecifier._id); + this.pointer, + _lib._sel_scriptingValueForSpecifier_1, + objectSpecifier.pointer, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } NSDictionary? get scriptingProperties { - final _ret = _lib._objc_msgSend_390(_id, _lib._sel_scriptingProperties1); + final _ret = _lib._objc_msgSend_390( + this.pointer, + _lib._sel_scriptingProperties1, + ); return _ret.address == 0 ? null : NSDictionary._(_ret, _lib, retain: true, release: true); @@ -34580,46 +43594,55 @@ class NSObject extends _ObjCWrapper { set scriptingProperties(NSDictionary? value) { return _lib._objc_msgSend_634( - _id, _lib._sel_setScriptingProperties_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setScriptingProperties_1, + value?.pointer ?? ffi.nullptr, + ); } NSObject? copyScriptingValue_forKey_withProperties_( - NSObject value, NSString key, NSDictionary properties) { + NSObject value, + NSString key, + NSDictionary properties, + ) { final _ret = _lib._objc_msgSend_650( - _id, - _lib._sel_copyScriptingValue_forKey_withProperties_1, - value._id, - key._id, - properties._id); + this.pointer, + _lib._sel_copyScriptingValue_forKey_withProperties_1, + value.pointer, + key.pointer, + properties.pointer, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: false, release: true); } NSObject? - newScriptingObjectOfClass_forValueForKey_withContentsValue_properties_( - NSObject objectClass, - NSString key, - NSObject? contentsValue, - NSDictionary properties) { + newScriptingObjectOfClass_forValueForKey_withContentsValue_properties_( + NSObject objectClass, + NSString key, + NSObject? contentsValue, + NSDictionary properties, + ) { final _ret = _lib._objc_msgSend_651( - _id, - _lib._sel_newScriptingObjectOfClass_forValueForKey_withContentsValue_properties_1, - objectClass._id, - key._id, - contentsValue?._id ?? ffi.nullptr, - properties._id); + this.pointer, + _lib._sel_newScriptingObjectOfClass_forValueForKey_withContentsValue_properties_1, + objectClass.pointer, + key.pointer, + contentsValue?.pointer ?? ffi.nullptr, + properties.pointer, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: false, release: true); } int get classCode { - return _lib._objc_msgSend_214(_id, _lib._sel_classCode1); + return _lib._objc_msgSend_214(this.pointer, _lib._sel_classCode1); } NSString? get className { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_className1); + final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_className1); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); @@ -34627,7 +43650,11 @@ class NSObject extends _ObjCWrapper { NSObject? valueAtIndex_inPropertyWithKey_(int index, NSString key) { final _ret = _lib._objc_msgSend_652( - _id, _lib._sel_valueAtIndex_inPropertyWithKey_1, index, key._id); + this.pointer, + _lib._sel_valueAtIndex_inPropertyWithKey_1, + index, + key.pointer, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); @@ -34635,70 +43662,107 @@ class NSObject extends _ObjCWrapper { NSObject? valueWithName_inPropertyWithKey_(NSString name, NSString key) { final _ret = _lib._objc_msgSend_175( - _id, _lib._sel_valueWithName_inPropertyWithKey_1, name._id, key._id); + this.pointer, + _lib._sel_valueWithName_inPropertyWithKey_1, + name.pointer, + key.pointer, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } NSObject? valueWithUniqueID_inPropertyWithKey_( - NSObject uniqueID, NSString key) { - final _ret = _lib._objc_msgSend_311(_id, - _lib._sel_valueWithUniqueID_inPropertyWithKey_1, uniqueID._id, key._id); + NSObject uniqueID, + NSString key, + ) { + final _ret = _lib._objc_msgSend_311( + this.pointer, + _lib._sel_valueWithUniqueID_inPropertyWithKey_1, + uniqueID.pointer, + key.pointer, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } void insertValue_atIndex_inPropertyWithKey_( - NSObject value, int index, NSString key) { + NSObject value, + int index, + NSString key, + ) { _lib._objc_msgSend_653( - _id, - _lib._sel_insertValue_atIndex_inPropertyWithKey_1, - value._id, - index, - key._id); + this.pointer, + _lib._sel_insertValue_atIndex_inPropertyWithKey_1, + value.pointer, + index, + key.pointer, + ); } void removeValueAtIndex_fromPropertyWithKey_(int index, NSString key) { - _lib._objc_msgSend_654(_id, - _lib._sel_removeValueAtIndex_fromPropertyWithKey_1, index, key._id); + _lib._objc_msgSend_654( + this.pointer, + _lib._sel_removeValueAtIndex_fromPropertyWithKey_1, + index, + key.pointer, + ); } void replaceValueAtIndex_inPropertyWithKey_withValue_( - int index, NSString key, NSObject value) { + int index, + NSString key, + NSObject value, + ) { _lib._objc_msgSend_655( - _id, - _lib._sel_replaceValueAtIndex_inPropertyWithKey_withValue_1, - index, - key._id, - value._id); + this.pointer, + _lib._sel_replaceValueAtIndex_inPropertyWithKey_withValue_1, + index, + key.pointer, + value.pointer, + ); } void insertValue_inPropertyWithKey_(NSObject value, NSString key) { _lib._objc_msgSend_656( - _id, _lib._sel_insertValue_inPropertyWithKey_1, value._id, key._id); + this.pointer, + _lib._sel_insertValue_inPropertyWithKey_1, + value.pointer, + key.pointer, + ); } NSObject? coerceValue_forKey_(NSObject? value, NSString key) { - final _ret = _lib._objc_msgSend_657(_id, _lib._sel_coerceValue_forKey_1, - value?._id ?? ffi.nullptr, key._id); + final _ret = _lib._objc_msgSend_657( + this.pointer, + _lib._sel_coerceValue_forKey_1, + value?.pointer ?? ffi.nullptr, + key.pointer, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } NSScriptObjectSpecifier? get objectSpecifier { - final _ret = _lib._objc_msgSend_632(_id, _lib._sel_objectSpecifier1); + final _ret = _lib._objc_msgSend_632( + this.pointer, + _lib._sel_objectSpecifier1, + ); return _ret.address == 0 ? null : NSScriptObjectSpecifier._(_ret, _lib, retain: true, release: true); } NSArray? indicesOfObjectsByEvaluatingObjectSpecifier_( - NSScriptObjectSpecifier specifier) { - final _ret = _lib._objc_msgSend_658(_id, - _lib._sel_indicesOfObjectsByEvaluatingObjectSpecifier_1, specifier._id); + NSScriptObjectSpecifier specifier, + ) { + final _ret = _lib._objc_msgSend_658( + this.pointer, + _lib._sel_indicesOfObjectsByEvaluatingObjectSpecifier_1, + specifier.pointer, + ); return _ret.address == 0 ? null : NSArray._(_ret, _lib, retain: true, release: true); @@ -34706,163 +43770,249 @@ class NSObject extends _ObjCWrapper { bool isEqualTo_(NSObject? object) { return _lib._objc_msgSend_217( - _id, _lib._sel_isEqualTo_1, object?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_isEqualTo_1, + object?.pointer ?? ffi.nullptr, + ); } bool isLessThanOrEqualTo_(NSObject? object) { return _lib._objc_msgSend_217( - _id, _lib._sel_isLessThanOrEqualTo_1, object?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_isLessThanOrEqualTo_1, + object?.pointer ?? ffi.nullptr, + ); } bool isLessThan_(NSObject? object) { return _lib._objc_msgSend_217( - _id, _lib._sel_isLessThan_1, object?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_isLessThan_1, + object?.pointer ?? ffi.nullptr, + ); } bool isGreaterThanOrEqualTo_(NSObject? object) { return _lib._objc_msgSend_217( - _id, _lib._sel_isGreaterThanOrEqualTo_1, object?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_isGreaterThanOrEqualTo_1, + object?.pointer ?? ffi.nullptr, + ); } bool isGreaterThan_(NSObject? object) { return _lib._objc_msgSend_217( - _id, _lib._sel_isGreaterThan_1, object?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_isGreaterThan_1, + object?.pointer ?? ffi.nullptr, + ); } bool isNotEqualTo_(NSObject? object) { return _lib._objc_msgSend_217( - _id, _lib._sel_isNotEqualTo_1, object?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_isNotEqualTo_1, + object?.pointer ?? ffi.nullptr, + ); } bool doesContain_(NSObject object) { - return _lib._objc_msgSend_0(_id, _lib._sel_doesContain_1, object._id); + return _lib._objc_msgSend_0( + this.pointer, + _lib._sel_doesContain_1, + object.pointer, + ); } bool isLike_(NSString object) { - return _lib._objc_msgSend_64(_id, _lib._sel_isLike_1, object._id); + return _lib._objc_msgSend_64( + this.pointer, + _lib._sel_isLike_1, + object.pointer, + ); } bool isCaseInsensitiveLike_(NSString object) { return _lib._objc_msgSend_64( - _id, _lib._sel_isCaseInsensitiveLike_1, object._id); + this.pointer, + _lib._sel_isCaseInsensitiveLike_1, + object.pointer, + ); } bool scriptingIsEqualTo_(NSObject object) { return _lib._objc_msgSend_0( - _id, _lib._sel_scriptingIsEqualTo_1, object._id); + this.pointer, + _lib._sel_scriptingIsEqualTo_1, + object.pointer, + ); } bool scriptingIsLessThanOrEqualTo_(NSObject object) { return _lib._objc_msgSend_0( - _id, _lib._sel_scriptingIsLessThanOrEqualTo_1, object._id); + this.pointer, + _lib._sel_scriptingIsLessThanOrEqualTo_1, + object.pointer, + ); } bool scriptingIsLessThan_(NSObject object) { return _lib._objc_msgSend_0( - _id, _lib._sel_scriptingIsLessThan_1, object._id); + this.pointer, + _lib._sel_scriptingIsLessThan_1, + object.pointer, + ); } bool scriptingIsGreaterThanOrEqualTo_(NSObject object) { return _lib._objc_msgSend_0( - _id, _lib._sel_scriptingIsGreaterThanOrEqualTo_1, object._id); + this.pointer, + _lib._sel_scriptingIsGreaterThanOrEqualTo_1, + object.pointer, + ); } bool scriptingIsGreaterThan_(NSObject object) { return _lib._objc_msgSend_0( - _id, _lib._sel_scriptingIsGreaterThan_1, object._id); + this.pointer, + _lib._sel_scriptingIsGreaterThan_1, + object.pointer, + ); } bool scriptingBeginsWith_(NSObject object) { return _lib._objc_msgSend_0( - _id, _lib._sel_scriptingBeginsWith_1, object._id); + this.pointer, + _lib._sel_scriptingBeginsWith_1, + object.pointer, + ); } bool scriptingEndsWith_(NSObject object) { - return _lib._objc_msgSend_0(_id, _lib._sel_scriptingEndsWith_1, object._id); + return _lib._objc_msgSend_0( + this.pointer, + _lib._sel_scriptingEndsWith_1, + object.pointer, + ); } bool scriptingContains_(NSObject object) { - return _lib._objc_msgSend_0(_id, _lib._sel_scriptingContains_1, object._id); + return _lib._objc_msgSend_0( + this.pointer, + _lib._sel_scriptingContains_1, + object.pointer, + ); } } -final class ObjCSel extends ffi.Opaque {} - -final class ObjCObject extends ffi.Opaque {} - -typedef instancetype = ffi.Pointer; +typedef instancetype = ffi.Pointer; typedef Dartinstancetype = NSObject; final class _NSZone extends ffi.Opaque {} -class Protocol extends _ObjCWrapper { - Protocol._(ffi.Pointer id, AVFAudio lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); +class Protocol extends objc.ObjCObjectBase { + Protocol._( + ffi.Pointer pointer, + this._lib, { + bool retain = false, + bool release = false, + }) : super(pointer, retain: retain, release: release); + + AVFAudio _lib; /// Returns a [Protocol] that points to the same underlying object as [other]. - static Protocol castFrom(T other) { - return Protocol._(other._id, other._lib, retain: true, release: true); + static Protocol castFrom( + AVFAudio lib, + T other, + ) { + return Protocol._(other.pointer, lib, retain: true, release: true); } /// Returns a [Protocol] that wraps the given raw object pointer. - static Protocol castFromPointer(AVFAudio lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + static Protocol castFromPointer( + AVFAudio lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return Protocol._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [Protocol]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_Protocol1); + static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_Protocol1, + ); } } class NSInvocation extends NSObject { - NSInvocation._(ffi.Pointer id, AVFAudio lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSInvocation._( + ffi.Pointer pointer, + AVFAudio lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSInvocation] that points to the same underlying object as [other]. - static NSInvocation castFrom(T other) { - return NSInvocation._(other._id, other._lib, retain: true, release: true); + static NSInvocation castFrom( + AVFAudio lib, + T other, + ) { + return NSInvocation._(other.pointer, lib, retain: true, release: true); } /// Returns a [NSInvocation] that wraps the given raw object pointer. static NSInvocation castFromPointer( - AVFAudio lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + AVFAudio lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSInvocation._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSInvocation]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_NSInvocation1); + static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSInvocation1, + ); } static NSInvocation invocationWithMethodSignature_( - AVFAudio _lib, NSMethodSignature sig) { - final _ret = _lib._objc_msgSend_414(_lib._class_NSInvocation1, - _lib._sel_invocationWithMethodSignature_1, sig._id); + AVFAudio _lib, + NSMethodSignature sig, + ) { + final _ret = _lib._objc_msgSend_414( + _lib._class_NSInvocation1, + _lib._sel_invocationWithMethodSignature_1, + sig.pointer, + ); return NSInvocation._(_ret, _lib, retain: true, release: true); } NSMethodSignature get methodSignature { - final _ret = _lib._objc_msgSend_415(_id, _lib._sel_methodSignature1); + final _ret = _lib._objc_msgSend_415( + this.pointer, + _lib._sel_methodSignature1, + ); return NSMethodSignature._(_ret, _lib, retain: true, release: true); } void retainArguments() { - _lib._objc_msgSend_1(_id, _lib._sel_retainArguments1); + _lib._objc_msgSend_1(this.pointer, _lib._sel_retainArguments1); } bool get argumentsRetained { - return _lib._objc_msgSend_12(_id, _lib._sel_argumentsRetained1); + return _lib._objc_msgSend_12(this.pointer, _lib._sel_argumentsRetained1); } NSObject? get target { - final _ret = _lib._objc_msgSend_17(_id, _lib._sel_target1); + final _ret = _lib._objc_msgSend_17(this.pointer, _lib._sel_target1); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); @@ -34870,433 +44020,623 @@ class NSInvocation extends NSObject { set target(NSObject? value) { return _lib._objc_msgSend_416( - _id, _lib._sel_setTarget_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setTarget_1, + value?.pointer ?? ffi.nullptr, + ); } - ffi.Pointer get selector { - return _lib._objc_msgSend_417(_id, _lib._sel_selector1); + ffi.Pointer get selector { + return _lib._objc_msgSend_417(this.pointer, _lib._sel_selector1); } - set selector(ffi.Pointer value) { - return _lib._objc_msgSend_418(_id, _lib._sel_setSelector_1, value); + set selector(ffi.Pointer value) { + return _lib._objc_msgSend_418(this.pointer, _lib._sel_setSelector_1, value); } void getReturnValue_(ffi.Pointer retLoc) { - _lib._objc_msgSend_52(_id, _lib._sel_getReturnValue_1, retLoc); + _lib._objc_msgSend_52(this.pointer, _lib._sel_getReturnValue_1, retLoc); } void setReturnValue_(ffi.Pointer retLoc) { - _lib._objc_msgSend_52(_id, _lib._sel_setReturnValue_1, retLoc); + _lib._objc_msgSend_52(this.pointer, _lib._sel_setReturnValue_1, retLoc); } void getArgument_atIndex_(ffi.Pointer argumentLocation, int idx) { _lib._objc_msgSend_419( - _id, _lib._sel_getArgument_atIndex_1, argumentLocation, idx); + this.pointer, + _lib._sel_getArgument_atIndex_1, + argumentLocation, + idx, + ); } void setArgument_atIndex_(ffi.Pointer argumentLocation, int idx) { _lib._objc_msgSend_419( - _id, _lib._sel_setArgument_atIndex_1, argumentLocation, idx); + this.pointer, + _lib._sel_setArgument_atIndex_1, + argumentLocation, + idx, + ); } void invoke() { - _lib._objc_msgSend_1(_id, _lib._sel_invoke1); + _lib._objc_msgSend_1(this.pointer, _lib._sel_invoke1); } void invokeWithTarget_(NSObject target) { - _lib._objc_msgSend_15(_id, _lib._sel_invokeWithTarget_1, target._id); + _lib._objc_msgSend_15( + this.pointer, + _lib._sel_invokeWithTarget_1, + target.pointer, + ); } void invokeUsingIMP_( - ffi.Pointer> imp) { - _lib._objc_msgSend_420(_id, _lib._sel_invokeUsingIMP_1, imp); + ffi.Pointer> imp, + ) { + _lib._objc_msgSend_420(this.pointer, _lib._sel_invokeUsingIMP_1, imp); } @override NSInvocation init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSInvocation._(_ret, _lib, retain: true, release: true); } static NSInvocation new1(AVFAudio _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSInvocation1, _lib._sel_new1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSInvocation1, + _lib._sel_new1, + ); return NSInvocation._(_ret, _lib, retain: false, release: true); } static NSInvocation allocWithZone_(AVFAudio _lib, ffi.Pointer<_NSZone> zone) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSInvocation1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSInvocation1, + _lib._sel_allocWithZone_1, + zone, + ); return NSInvocation._(_ret, _lib, retain: false, release: true); } static NSInvocation alloc(AVFAudio _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSInvocation1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSInvocation1, + _lib._sel_alloc1, + ); return NSInvocation._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + AVFAudio _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSInvocation1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSInvocation1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSInvocation1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + AVFAudio _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSInvocation1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { return _lib._objc_msgSend_12( - _lib._class_NSInvocation1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_NSInvocation1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(AVFAudio _lib) { return _lib._objc_msgSend_12( - _lib._class_NSInvocation1, _lib._sel_useStoredAccessor1); + _lib._class_NSInvocation1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSInvocation1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSInvocation1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSInvocation1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSInvocation1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, NSArray keys, NSString dependentKey) { + AVFAudio _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSInvocation1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSInvocation1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { final _ret = _lib._objc_msgSend_85( - _lib._class_NSInvocation1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSInvocation1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(AVFAudio _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSInvocation1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSInvocation1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } class NSMethodSignature extends NSObject { - NSMethodSignature._(ffi.Pointer id, AVFAudio lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSMethodSignature._( + ffi.Pointer pointer, + AVFAudio lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSMethodSignature] that points to the same underlying object as [other]. - static NSMethodSignature castFrom(T other) { - return NSMethodSignature._(other._id, other._lib, - retain: true, release: true); + static NSMethodSignature castFrom( + AVFAudio lib, + T other, + ) { + return NSMethodSignature._(other.pointer, lib, retain: true, release: true); } /// Returns a [NSMethodSignature] that wraps the given raw object pointer. static NSMethodSignature castFromPointer( - AVFAudio lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + AVFAudio lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSMethodSignature._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSMethodSignature]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0(obj._id, obj._lib._sel_isKindOfClass_1, - obj._lib._class_NSMethodSignature1); + static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSMethodSignature1, + ); } static NSMethodSignature? signatureWithObjCTypes_( - AVFAudio _lib, ffi.Pointer types) { - final _ret = _lib._objc_msgSend_9(_lib._class_NSMethodSignature1, - _lib._sel_signatureWithObjCTypes_1, types); + AVFAudio _lib, + ffi.Pointer types, + ) { + final _ret = _lib._objc_msgSend_9( + _lib._class_NSMethodSignature1, + _lib._sel_signatureWithObjCTypes_1, + types, + ); return _ret.address == 0 ? null : NSMethodSignature._(_ret, _lib, retain: true, release: true); } int get numberOfArguments { - return _lib._objc_msgSend_10(_id, _lib._sel_numberOfArguments1); + return _lib._objc_msgSend_10(this.pointer, _lib._sel_numberOfArguments1); } ffi.Pointer getArgumentTypeAtIndex_(int idx) { - return _lib._objc_msgSend_11(_id, _lib._sel_getArgumentTypeAtIndex_1, idx); + return _lib._objc_msgSend_11( + this.pointer, + _lib._sel_getArgumentTypeAtIndex_1, + idx, + ); } int get frameLength { - return _lib._objc_msgSend_10(_id, _lib._sel_frameLength1); + return _lib._objc_msgSend_10(this.pointer, _lib._sel_frameLength1); } bool isOneway() { - return _lib._objc_msgSend_12(_id, _lib._sel_isOneway1); + return _lib._objc_msgSend_12(this.pointer, _lib._sel_isOneway1); } ffi.Pointer get methodReturnType { - return _lib._objc_msgSend_13(_id, _lib._sel_methodReturnType1); + return _lib._objc_msgSend_13(this.pointer, _lib._sel_methodReturnType1); } int get methodReturnLength { - return _lib._objc_msgSend_10(_id, _lib._sel_methodReturnLength1); + return _lib._objc_msgSend_10(this.pointer, _lib._sel_methodReturnLength1); } @override NSMethodSignature init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSMethodSignature._(_ret, _lib, retain: true, release: true); } static NSMethodSignature new1(AVFAudio _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSMethodSignature1, _lib._sel_new1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSMethodSignature1, + _lib._sel_new1, + ); return NSMethodSignature._(_ret, _lib, retain: false, release: true); } static NSMethodSignature allocWithZone_( - AVFAudio _lib, ffi.Pointer<_NSZone> zone) { + AVFAudio _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSMethodSignature1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSMethodSignature1, + _lib._sel_allocWithZone_1, + zone, + ); return NSMethodSignature._(_ret, _lib, retain: false, release: true); } static NSMethodSignature alloc(AVFAudio _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSMethodSignature1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSMethodSignature1, + _lib._sel_alloc1, + ); return NSMethodSignature._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + AVFAudio _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSMethodSignature1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSMethodSignature1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSMethodSignature1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + AVFAudio _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSMethodSignature1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { - return _lib._objc_msgSend_12(_lib._class_NSMethodSignature1, - _lib._sel_accessInstanceVariablesDirectly1); + return _lib._objc_msgSend_12( + _lib._class_NSMethodSignature1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(AVFAudio _lib) { return _lib._objc_msgSend_12( - _lib._class_NSMethodSignature1, _lib._sel_useStoredAccessor1); + _lib._class_NSMethodSignature1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSMethodSignature1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSMethodSignature1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSMethodSignature1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSMethodSignature1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, NSArray keys, NSString dependentKey) { + AVFAudio _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSMethodSignature1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSMethodSignature1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_85(_lib._class_NSMethodSignature1, - _lib._sel_classFallbacksForKeyedArchiver1); + final _ret = _lib._objc_msgSend_85( + _lib._class_NSMethodSignature1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(AVFAudio _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSMethodSignature1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSMethodSignature1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } class NSSet extends NSObject { - NSSet._(ffi.Pointer id, AVFAudio lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSSet._( + ffi.Pointer pointer, + AVFAudio lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSSet] that points to the same underlying object as [other]. - static NSSet castFrom(T other) { - return NSSet._(other._id, other._lib, retain: true, release: true); + static NSSet castFrom(AVFAudio lib, T other) { + return NSSet._(other.pointer, lib, retain: true, release: true); } /// Returns a [NSSet] that wraps the given raw object pointer. - static NSSet castFromPointer(AVFAudio lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + static NSSet castFromPointer( + AVFAudio lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSSet._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSSet]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_NSSet1); + static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSSet1, + ); } int get count { - return _lib._objc_msgSend_10(_id, _lib._sel_count1); + return _lib._objc_msgSend_10(this.pointer, _lib._sel_count1); } NSObject? member_(NSObject object) { - final _ret = _lib._objc_msgSend_16(_id, _lib._sel_member_1, object._id); + final _ret = _lib._objc_msgSend_16( + this.pointer, + _lib._sel_member_1, + object.pointer, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } NSEnumerator objectEnumerator() { - final _ret = _lib._objc_msgSend_77(_id, _lib._sel_objectEnumerator1); + final _ret = _lib._objc_msgSend_77( + this.pointer, + _lib._sel_objectEnumerator1, + ); return NSEnumerator._(_ret, _lib, retain: true, release: true); } @override NSSet init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSSet._(_ret, _lib, retain: true, release: true); } NSSet initWithObjects_count_( - ffi.Pointer> objects, int cnt) { + ffi.Pointer> objects, + int cnt, + ) { final _ret = _lib._objc_msgSend_66( - _id, _lib._sel_initWithObjects_count_1, objects, cnt); + this.pointer, + _lib._sel_initWithObjects_count_1, + objects, + cnt, + ); return NSSet._(_ret, _lib, retain: true, release: true); } NSSet? initWithCoder_(NSCoder coder) { - final _ret = - _lib._objc_msgSend_47(_id, _lib._sel_initWithCoder_1, coder._id); + final _ret = _lib._objc_msgSend_47( + this.pointer, + _lib._sel_initWithCoder_1, + coder.pointer, + ); return _ret.address == 0 ? null : NSSet._(_ret, _lib, retain: true, release: true); } NSArray get allObjects { - final _ret = _lib._objc_msgSend_85(_id, _lib._sel_allObjects1); + final _ret = _lib._objc_msgSend_85(this.pointer, _lib._sel_allObjects1); return NSArray._(_ret, _lib, retain: true, release: true); } NSObject? anyObject() { - final _ret = _lib._objc_msgSend_17(_id, _lib._sel_anyObject1); + final _ret = _lib._objc_msgSend_17(this.pointer, _lib._sel_anyObject1); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } bool containsObject_(NSObject anObject) { - return _lib._objc_msgSend_0(_id, _lib._sel_containsObject_1, anObject._id); + return _lib._objc_msgSend_0( + this.pointer, + _lib._sel_containsObject_1, + anObject.pointer, + ); } NSString get description { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_description1); + final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_description1); return NSString._(_ret, _lib, retain: true, release: true); } NSString descriptionWithLocale_(NSObject? locale) { final _ret = _lib._objc_msgSend_70( - _id, _lib._sel_descriptionWithLocale_1, locale?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_descriptionWithLocale_1, + locale?.pointer ?? ffi.nullptr, + ); return NSString._(_ret, _lib, retain: true, release: true); } bool intersectsSet_(NSSet otherSet) { - return _lib._objc_msgSend_403(_id, _lib._sel_intersectsSet_1, otherSet._id); + return _lib._objc_msgSend_403( + this.pointer, + _lib._sel_intersectsSet_1, + otherSet.pointer, + ); } bool isEqualToSet_(NSSet otherSet) { - return _lib._objc_msgSend_403(_id, _lib._sel_isEqualToSet_1, otherSet._id); + return _lib._objc_msgSend_403( + this.pointer, + _lib._sel_isEqualToSet_1, + otherSet.pointer, + ); } bool isSubsetOfSet_(NSSet otherSet) { - return _lib._objc_msgSend_403(_id, _lib._sel_isSubsetOfSet_1, otherSet._id); + return _lib._objc_msgSend_403( + this.pointer, + _lib._sel_isSubsetOfSet_1, + otherSet.pointer, + ); } - void makeObjectsPerformSelector_(ffi.Pointer aSelector) { + void makeObjectsPerformSelector_(ffi.Pointer aSelector) { _lib._objc_msgSend_7( - _id, _lib._sel_makeObjectsPerformSelector_1, aSelector); + this.pointer, + _lib._sel_makeObjectsPerformSelector_1, + aSelector, + ); } void makeObjectsPerformSelector_withObject_( - ffi.Pointer aSelector, NSObject? argument) { + ffi.Pointer aSelector, + NSObject? argument, + ) { _lib._objc_msgSend_90( - _id, - _lib._sel_makeObjectsPerformSelector_withObject_1, - aSelector, - argument?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_makeObjectsPerformSelector_withObject_1, + aSelector, + argument?.pointer ?? ffi.nullptr, + ); } NSSet setByAddingObject_(NSObject anObject) { final _ret = _lib._objc_msgSend_404( - _id, _lib._sel_setByAddingObject_1, anObject._id); + this.pointer, + _lib._sel_setByAddingObject_1, + anObject.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } NSSet setByAddingObjectsFromSet_(NSSet other) { final _ret = _lib._objc_msgSend_405( - _id, _lib._sel_setByAddingObjectsFromSet_1, other._id); + this.pointer, + _lib._sel_setByAddingObjectsFromSet_1, + other.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } NSSet setByAddingObjectsFromArray_(NSArray other) { final _ret = _lib._objc_msgSend_406( - _id, _lib._sel_setByAddingObjectsFromArray_1, other._id); + this.pointer, + _lib._sel_setByAddingObjectsFromArray_1, + other.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } - void enumerateObjectsUsingBlock_(ObjCBlock_ffiVoid_ObjCObject_bool block) { + void enumerateObjectsUsingBlock_( + ObjCBlock_ffiVoid_objcObjCObject_bool block, + ) { _lib._objc_msgSend_407( - _id, _lib._sel_enumerateObjectsUsingBlock_1, block._id); + this.pointer, + _lib._sel_enumerateObjectsUsingBlock_1, + block.pointer, + ); } void enumerateObjectsWithOptions_usingBlock_( - int opts, ObjCBlock_ffiVoid_ObjCObject_bool block) { - _lib._objc_msgSend_408(_id, - _lib._sel_enumerateObjectsWithOptions_usingBlock_1, opts, block._id); + int opts, + ObjCBlock_ffiVoid_objcObjCObject_bool block, + ) { + _lib._objc_msgSend_408( + this.pointer, + _lib._sel_enumerateObjectsWithOptions_usingBlock_1, + opts, + block.pointer, + ); } - NSSet objectsPassingTest_(ObjCBlock_bool_ObjCObject_bool predicate) { + NSSet objectsPassingTest_(ObjCBlock_bool_objcObjCObject_bool predicate) { final _ret = _lib._objc_msgSend_409( - _id, _lib._sel_objectsPassingTest_1, predicate._id); + this.pointer, + _lib._sel_objectsPassingTest_1, + predicate.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } NSSet objectsWithOptions_passingTest_( - int opts, ObjCBlock_bool_ObjCObject_bool predicate) { + int opts, + ObjCBlock_bool_objcObjCObject_bool predicate, + ) { final _ret = _lib._objc_msgSend_410( - _id, _lib._sel_objectsWithOptions_passingTest_1, opts, predicate._id); + this.pointer, + _lib._sel_objectsWithOptions_passingTest_1, + opts, + predicate.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } @@ -35307,103 +44647,167 @@ class NSSet extends NSObject { static NSSet setWithObject_(AVFAudio _lib, NSObject object) { final _ret = _lib._objc_msgSend_124( - _lib._class_NSSet1, _lib._sel_setWithObject_1, object._id); + _lib._class_NSSet1, + _lib._sel_setWithObject_1, + object.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static NSSet setWithObjects_count_( - AVFAudio _lib, ffi.Pointer> objects, int cnt) { + AVFAudio _lib, + ffi.Pointer> objects, + int cnt, + ) { final _ret = _lib._objc_msgSend_66( - _lib._class_NSSet1, _lib._sel_setWithObjects_count_1, objects, cnt); + _lib._class_NSSet1, + _lib._sel_setWithObjects_count_1, + objects, + cnt, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static NSSet setWithObjects_(AVFAudio _lib, NSObject firstObj) { final _ret = _lib._objc_msgSend_124( - _lib._class_NSSet1, _lib._sel_setWithObjects_1, firstObj._id); + _lib._class_NSSet1, + _lib._sel_setWithObjects_1, + firstObj.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static NSSet setWithSet_(AVFAudio _lib, NSSet set) { final _ret = _lib._objc_msgSend_411( - _lib._class_NSSet1, _lib._sel_setWithSet_1, set._id); + _lib._class_NSSet1, + _lib._sel_setWithSet_1, + set.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static NSSet setWithArray_(AVFAudio _lib, NSArray array) { final _ret = _lib._objc_msgSend_125( - _lib._class_NSSet1, _lib._sel_setWithArray_1, array._id); + _lib._class_NSSet1, + _lib._sel_setWithArray_1, + array.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } NSSet initWithObjects_(NSObject firstObj) { - final _ret = - _lib._objc_msgSend_124(_id, _lib._sel_initWithObjects_1, firstObj._id); + final _ret = _lib._objc_msgSend_124( + this.pointer, + _lib._sel_initWithObjects_1, + firstObj.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } NSSet initWithSet_(NSSet set) { - final _ret = _lib._objc_msgSend_411(_id, _lib._sel_initWithSet_1, set._id); + final _ret = _lib._objc_msgSend_411( + this.pointer, + _lib._sel_initWithSet_1, + set.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } NSSet initWithSet_copyItems_(NSSet set, bool flag) { final _ret = _lib._objc_msgSend_412( - _id, _lib._sel_initWithSet_copyItems_1, set._id, flag); + this.pointer, + _lib._sel_initWithSet_copyItems_1, + set.pointer, + flag, + ); return NSSet._(_ret, _lib, retain: false, release: true); } NSSet initWithArray_(NSArray array) { - final _ret = - _lib._objc_msgSend_125(_id, _lib._sel_initWithArray_1, array._id); + final _ret = _lib._objc_msgSend_125( + this.pointer, + _lib._sel_initWithArray_1, + array.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } NSObject valueForKey_(NSString key) { - final _ret = _lib._objc_msgSend_31(_id, _lib._sel_valueForKey_1, key._id); + final _ret = _lib._objc_msgSend_31( + this.pointer, + _lib._sel_valueForKey_1, + key.pointer, + ); return NSObject._(_ret, _lib, retain: true, release: true); } @override void setValue_forKey_(NSObject? value, NSString key) { _lib._objc_msgSend_135( - _id, _lib._sel_setValue_forKey_1, value?._id ?? ffi.nullptr, key._id); + this.pointer, + _lib._sel_setValue_forKey_1, + value?.pointer ?? ffi.nullptr, + key.pointer, + ); } @override - void addObserver_forKeyPath_options_context_(NSObject observer, - NSString keyPath, int options, ffi.Pointer context) { + void addObserver_forKeyPath_options_context_( + NSObject observer, + NSString keyPath, + int options, + ffi.Pointer context, + ) { _lib._objc_msgSend_139( - _id, - _lib._sel_addObserver_forKeyPath_options_context_1, - observer._id, - keyPath._id, - options, - context); + this.pointer, + _lib._sel_addObserver_forKeyPath_options_context_1, + observer.pointer, + keyPath.pointer, + options, + context, + ); } @override void removeObserver_forKeyPath_context_( - NSObject observer, NSString keyPath, ffi.Pointer context) { - _lib._objc_msgSend_140(_id, _lib._sel_removeObserver_forKeyPath_context_1, - observer._id, keyPath._id, context); + NSObject observer, + NSString keyPath, + ffi.Pointer context, + ) { + _lib._objc_msgSend_140( + this.pointer, + _lib._sel_removeObserver_forKeyPath_context_1, + observer.pointer, + keyPath.pointer, + context, + ); } @override void removeObserver_forKeyPath_(NSObject observer, NSString keyPath) { _lib._objc_msgSend_141( - _id, _lib._sel_removeObserver_forKeyPath_1, observer._id, keyPath._id); + this.pointer, + _lib._sel_removeObserver_forKeyPath_1, + observer.pointer, + keyPath.pointer, + ); } NSArray sortedArrayUsingDescriptors_(NSArray sortDescriptors) { final _ret = _lib._objc_msgSend_68( - _id, _lib._sel_sortedArrayUsingDescriptors_1, sortDescriptors._id); + this.pointer, + _lib._sel_sortedArrayUsingDescriptors_1, + sortDescriptors.pointer, + ); return NSArray._(_ret, _lib, retain: true, release: true); } NSSet filteredSetUsingPredicate_(NSPredicate predicate) { final _ret = _lib._objc_msgSend_413( - _id, _lib._sel_filteredSetUsingPredicate_1, predicate._id); + this.pointer, + _lib._sel_filteredSetUsingPredicate_1, + predicate.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } @@ -35414,7 +44818,10 @@ class NSSet extends NSObject { static NSSet allocWithZone_(AVFAudio _lib, ffi.Pointer<_NSZone> zone) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSSet1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSSet1, + _lib._sel_allocWithZone_1, + zone, + ); return NSSet._(_ret, _lib, retain: false, release: true); } @@ -35424,212 +44831,302 @@ class NSSet extends NSObject { } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + AVFAudio _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSSet1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSSet1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSSet1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + AVFAudio _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSSet1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { return _lib._objc_msgSend_12( - _lib._class_NSSet1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_NSSet1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(AVFAudio _lib) { return _lib._objc_msgSend_12( - _lib._class_NSSet1, _lib._sel_useStoredAccessor1); + _lib._class_NSSet1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSSet1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSSet1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSSet1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSSet1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, NSArray keys, NSString dependentKey) { + AVFAudio _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSSet1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSSet1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { final _ret = _lib._objc_msgSend_85( - _lib._class_NSSet1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSSet1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(AVFAudio _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSSet1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSSet1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } class NSEnumerator extends NSObject { - NSEnumerator._(ffi.Pointer id, AVFAudio lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSEnumerator._( + ffi.Pointer pointer, + AVFAudio lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSEnumerator] that points to the same underlying object as [other]. - static NSEnumerator castFrom(T other) { - return NSEnumerator._(other._id, other._lib, retain: true, release: true); + static NSEnumerator castFrom( + AVFAudio lib, + T other, + ) { + return NSEnumerator._(other.pointer, lib, retain: true, release: true); } /// Returns a [NSEnumerator] that wraps the given raw object pointer. static NSEnumerator castFromPointer( - AVFAudio lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + AVFAudio lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSEnumerator._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSEnumerator]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_NSEnumerator1); + static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSEnumerator1, + ); } NSObject? nextObject() { - final _ret = _lib._objc_msgSend_17(_id, _lib._sel_nextObject1); + final _ret = _lib._objc_msgSend_17(this.pointer, _lib._sel_nextObject1); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } NSObject get allObjects { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_allObjects1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_allObjects1); return NSObject._(_ret, _lib, retain: true, release: true); } @override NSEnumerator init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSEnumerator._(_ret, _lib, retain: true, release: true); } static NSEnumerator new1(AVFAudio _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSEnumerator1, _lib._sel_new1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSEnumerator1, + _lib._sel_new1, + ); return NSEnumerator._(_ret, _lib, retain: false, release: true); } static NSEnumerator allocWithZone_(AVFAudio _lib, ffi.Pointer<_NSZone> zone) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSEnumerator1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSEnumerator1, + _lib._sel_allocWithZone_1, + zone, + ); return NSEnumerator._(_ret, _lib, retain: false, release: true); } static NSEnumerator alloc(AVFAudio _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSEnumerator1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSEnumerator1, + _lib._sel_alloc1, + ); return NSEnumerator._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + AVFAudio _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSEnumerator1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSEnumerator1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSEnumerator1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + AVFAudio _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSEnumerator1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { return _lib._objc_msgSend_12( - _lib._class_NSEnumerator1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_NSEnumerator1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(AVFAudio _lib) { return _lib._objc_msgSend_12( - _lib._class_NSEnumerator1, _lib._sel_useStoredAccessor1); + _lib._class_NSEnumerator1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSEnumerator1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSEnumerator1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSEnumerator1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSEnumerator1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, NSArray keys, NSString dependentKey) { + AVFAudio _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSEnumerator1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSEnumerator1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { final _ret = _lib._objc_msgSend_85( - _lib._class_NSEnumerator1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSEnumerator1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(AVFAudio _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSEnumerator1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSEnumerator1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } class NSString extends NSObject { - NSString._(ffi.Pointer id, AVFAudio lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSString._( + ffi.Pointer pointer, + AVFAudio lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSString] that points to the same underlying object as [other]. - static NSString castFrom(T other) { - return NSString._(other._id, other._lib, retain: true, release: true); + static NSString castFrom( + AVFAudio lib, + T other, + ) { + return NSString._(other.pointer, lib, retain: true, release: true); } /// Returns a [NSString] that wraps the given raw object pointer. - static NSString castFromPointer(AVFAudio lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + static NSString castFromPointer( + AVFAudio lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSString._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSString]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_NSString1); + static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSString1, + ); } factory NSString(AVFAudio _lib, String str) { @@ -35641,423 +45138,656 @@ class NSString extends NSObject { @override String toString() { - final data = - dataUsingEncoding_(0x94000100 /* NSUTF16LittleEndianStringEncoding */); + final data = dataUsingEncoding_( + 0x94000100 /* NSUTF16LittleEndianStringEncoding */, + ); return data!.bytes.cast().toDartString(length: length); } int get length { - return _lib._objc_msgSend_10(_id, _lib._sel_length1); + return _lib._objc_msgSend_10(this.pointer, _lib._sel_length1); } int characterAtIndex_(int index) { - return _lib._objc_msgSend_18(_id, _lib._sel_characterAtIndex_1, index); + return _lib._objc_msgSend_18( + this.pointer, + _lib._sel_characterAtIndex_1, + index, + ); } @override NSString init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSString._(_ret, _lib, retain: true, release: true); } NSString? initWithCoder_(NSCoder coder) { - final _ret = - _lib._objc_msgSend_47(_id, _lib._sel_initWithCoder_1, coder._id); + final _ret = _lib._objc_msgSend_47( + this.pointer, + _lib._sel_initWithCoder_1, + coder.pointer, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } NSString substringFromIndex_(int from) { - final _ret = - _lib._objc_msgSend_332(_id, _lib._sel_substringFromIndex_1, from); + final _ret = _lib._objc_msgSend_332( + this.pointer, + _lib._sel_substringFromIndex_1, + from, + ); return NSString._(_ret, _lib, retain: true, release: true); } NSString substringToIndex_(int to) { - final _ret = _lib._objc_msgSend_332(_id, _lib._sel_substringToIndex_1, to); + final _ret = _lib._objc_msgSend_332( + this.pointer, + _lib._sel_substringToIndex_1, + to, + ); return NSString._(_ret, _lib, retain: true, release: true); } NSString substringWithRange_(_NSRange range) { - final _ret = - _lib._objc_msgSend_333(_id, _lib._sel_substringWithRange_1, range); + final _ret = _lib._objc_msgSend_333( + this.pointer, + _lib._sel_substringWithRange_1, + range, + ); return NSString._(_ret, _lib, retain: true, release: true); } void getCharacters_range_( - ffi.Pointer buffer, _NSRange range) { - _lib._objc_msgSend_334(_id, _lib._sel_getCharacters_range_1, buffer, range); + ffi.Pointer buffer, + _NSRange range, + ) { + _lib._objc_msgSend_334( + this.pointer, + _lib._sel_getCharacters_range_1, + buffer, + range, + ); } int compare_(NSString string) { - return _lib._objc_msgSend_335(_id, _lib._sel_compare_1, string._id); + return _lib._objc_msgSend_335( + this.pointer, + _lib._sel_compare_1, + string.pointer, + ); } int compare_options_(NSString string, int mask) { return _lib._objc_msgSend_336( - _id, _lib._sel_compare_options_1, string._id, mask); + this.pointer, + _lib._sel_compare_options_1, + string.pointer, + mask, + ); } int compare_options_range_( - NSString string, int mask, _NSRange rangeOfReceiverToCompare) { - return _lib._objc_msgSend_337(_id, _lib._sel_compare_options_range_1, - string._id, mask, rangeOfReceiverToCompare); + NSString string, + int mask, + _NSRange rangeOfReceiverToCompare, + ) { + return _lib._objc_msgSend_337( + this.pointer, + _lib._sel_compare_options_range_1, + string.pointer, + mask, + rangeOfReceiverToCompare, + ); } - int compare_options_range_locale_(NSString string, int mask, - _NSRange rangeOfReceiverToCompare, NSObject? locale) { - return _lib._objc_msgSend_338(_id, _lib._sel_compare_options_range_locale_1, - string._id, mask, rangeOfReceiverToCompare, locale?._id ?? ffi.nullptr); + int compare_options_range_locale_( + NSString string, + int mask, + _NSRange rangeOfReceiverToCompare, + NSObject? locale, + ) { + return _lib._objc_msgSend_338( + this.pointer, + _lib._sel_compare_options_range_locale_1, + string.pointer, + mask, + rangeOfReceiverToCompare, + locale?.pointer ?? ffi.nullptr, + ); } int caseInsensitiveCompare_(NSString string) { return _lib._objc_msgSend_335( - _id, _lib._sel_caseInsensitiveCompare_1, string._id); + this.pointer, + _lib._sel_caseInsensitiveCompare_1, + string.pointer, + ); } int localizedCompare_(NSString string) { return _lib._objc_msgSend_335( - _id, _lib._sel_localizedCompare_1, string._id); + this.pointer, + _lib._sel_localizedCompare_1, + string.pointer, + ); } int localizedCaseInsensitiveCompare_(NSString string) { return _lib._objc_msgSend_335( - _id, _lib._sel_localizedCaseInsensitiveCompare_1, string._id); + this.pointer, + _lib._sel_localizedCaseInsensitiveCompare_1, + string.pointer, + ); } int localizedStandardCompare_(NSString string) { return _lib._objc_msgSend_335( - _id, _lib._sel_localizedStandardCompare_1, string._id); + this.pointer, + _lib._sel_localizedStandardCompare_1, + string.pointer, + ); } bool isEqualToString_(NSString aString) { - return _lib._objc_msgSend_64(_id, _lib._sel_isEqualToString_1, aString._id); + return _lib._objc_msgSend_64( + this.pointer, + _lib._sel_isEqualToString_1, + aString.pointer, + ); } bool hasPrefix_(NSString str) { - return _lib._objc_msgSend_64(_id, _lib._sel_hasPrefix_1, str._id); + return _lib._objc_msgSend_64( + this.pointer, + _lib._sel_hasPrefix_1, + str.pointer, + ); } bool hasSuffix_(NSString str) { - return _lib._objc_msgSend_64(_id, _lib._sel_hasSuffix_1, str._id); + return _lib._objc_msgSend_64( + this.pointer, + _lib._sel_hasSuffix_1, + str.pointer, + ); } NSString commonPrefixWithString_options_(NSString str, int mask) { final _ret = _lib._objc_msgSend_339( - _id, _lib._sel_commonPrefixWithString_options_1, str._id, mask); + this.pointer, + _lib._sel_commonPrefixWithString_options_1, + str.pointer, + mask, + ); return NSString._(_ret, _lib, retain: true, release: true); } bool containsString_(NSString str) { - return _lib._objc_msgSend_64(_id, _lib._sel_containsString_1, str._id); + return _lib._objc_msgSend_64( + this.pointer, + _lib._sel_containsString_1, + str.pointer, + ); } bool localizedCaseInsensitiveContainsString_(NSString str) { return _lib._objc_msgSend_64( - _id, _lib._sel_localizedCaseInsensitiveContainsString_1, str._id); + this.pointer, + _lib._sel_localizedCaseInsensitiveContainsString_1, + str.pointer, + ); } bool localizedStandardContainsString_(NSString str) { return _lib._objc_msgSend_64( - _id, _lib._sel_localizedStandardContainsString_1, str._id); + this.pointer, + _lib._sel_localizedStandardContainsString_1, + str.pointer, + ); } void localizedStandardRangeOfString_( - ffi.Pointer<_NSRange> stret, NSString str) { - _lib._objc_msgSend_useVariants1 + ffi.Pointer<_NSRange> stret, + NSString str, + ) { + objc.useMsgSendVariants ? _lib._objc_msgSend_340_stret( - stret, _id, _lib._sel_localizedStandardRangeOfString_1, str._id) + stret, + this.pointer, + _lib._sel_localizedStandardRangeOfString_1, + str.pointer, + ) : stret.ref = _lib._objc_msgSend_340( - _id, _lib._sel_localizedStandardRangeOfString_1, str._id); + this.pointer, + _lib._sel_localizedStandardRangeOfString_1, + str.pointer, + ); } void rangeOfString_(ffi.Pointer<_NSRange> stret, NSString searchString) { - _lib._objc_msgSend_useVariants1 + objc.useMsgSendVariants ? _lib._objc_msgSend_340_stret( - stret, _id, _lib._sel_rangeOfString_1, searchString._id) + stret, + this.pointer, + _lib._sel_rangeOfString_1, + searchString.pointer, + ) : stret.ref = _lib._objc_msgSend_340( - _id, _lib._sel_rangeOfString_1, searchString._id); + this.pointer, + _lib._sel_rangeOfString_1, + searchString.pointer, + ); } void rangeOfString_options_( - ffi.Pointer<_NSRange> stret, NSString searchString, int mask) { - _lib._objc_msgSend_useVariants1 - ? _lib._objc_msgSend_341_stret(stret, _id, - _lib._sel_rangeOfString_options_1, searchString._id, mask) + ffi.Pointer<_NSRange> stret, + NSString searchString, + int mask, + ) { + objc.useMsgSendVariants + ? _lib._objc_msgSend_341_stret( + stret, + this.pointer, + _lib._sel_rangeOfString_options_1, + searchString.pointer, + mask, + ) : stret.ref = _lib._objc_msgSend_341( - _id, _lib._sel_rangeOfString_options_1, searchString._id, mask); + this.pointer, + _lib._sel_rangeOfString_options_1, + searchString.pointer, + mask, + ); } - void rangeOfString_options_range_(ffi.Pointer<_NSRange> stret, - NSString searchString, int mask, _NSRange rangeOfReceiverToSearch) { - _lib._objc_msgSend_useVariants1 + void rangeOfString_options_range_( + ffi.Pointer<_NSRange> stret, + NSString searchString, + int mask, + _NSRange rangeOfReceiverToSearch, + ) { + objc.useMsgSendVariants ? _lib._objc_msgSend_342_stret( - stret, - _id, - _lib._sel_rangeOfString_options_range_1, - searchString._id, - mask, - rangeOfReceiverToSearch) + stret, + this.pointer, + _lib._sel_rangeOfString_options_range_1, + searchString.pointer, + mask, + rangeOfReceiverToSearch, + ) : stret.ref = _lib._objc_msgSend_342( - _id, - _lib._sel_rangeOfString_options_range_1, - searchString._id, - mask, - rangeOfReceiverToSearch); + this.pointer, + _lib._sel_rangeOfString_options_range_1, + searchString.pointer, + mask, + rangeOfReceiverToSearch, + ); } void rangeOfString_options_range_locale_( - ffi.Pointer<_NSRange> stret, - NSString searchString, - int mask, - _NSRange rangeOfReceiverToSearch, - NSLocale? locale) { - _lib._objc_msgSend_useVariants1 + ffi.Pointer<_NSRange> stret, + NSString searchString, + int mask, + _NSRange rangeOfReceiverToSearch, + NSLocale? locale, + ) { + objc.useMsgSendVariants ? _lib._objc_msgSend_343_stret( - stret, - _id, - _lib._sel_rangeOfString_options_range_locale_1, - searchString._id, - mask, - rangeOfReceiverToSearch, - locale?._id ?? ffi.nullptr) + stret, + this.pointer, + _lib._sel_rangeOfString_options_range_locale_1, + searchString.pointer, + mask, + rangeOfReceiverToSearch, + locale?.pointer ?? ffi.nullptr, + ) : stret.ref = _lib._objc_msgSend_343( - _id, - _lib._sel_rangeOfString_options_range_locale_1, - searchString._id, - mask, - rangeOfReceiverToSearch, - locale?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_rangeOfString_options_range_locale_1, + searchString.pointer, + mask, + rangeOfReceiverToSearch, + locale?.pointer ?? ffi.nullptr, + ); } void rangeOfCharacterFromSet_( - ffi.Pointer<_NSRange> stret, NSCharacterSet searchSet) { - _lib._objc_msgSend_useVariants1 + ffi.Pointer<_NSRange> stret, + NSCharacterSet searchSet, + ) { + objc.useMsgSendVariants ? _lib._objc_msgSend_344_stret( - stret, _id, _lib._sel_rangeOfCharacterFromSet_1, searchSet._id) + stret, + this.pointer, + _lib._sel_rangeOfCharacterFromSet_1, + searchSet.pointer, + ) : stret.ref = _lib._objc_msgSend_344( - _id, _lib._sel_rangeOfCharacterFromSet_1, searchSet._id); + this.pointer, + _lib._sel_rangeOfCharacterFromSet_1, + searchSet.pointer, + ); } void rangeOfCharacterFromSet_options_( - ffi.Pointer<_NSRange> stret, NSCharacterSet searchSet, int mask) { - _lib._objc_msgSend_useVariants1 - ? _lib._objc_msgSend_345_stret(stret, _id, - _lib._sel_rangeOfCharacterFromSet_options_1, searchSet._id, mask) - : stret.ref = _lib._objc_msgSend_345(_id, - _lib._sel_rangeOfCharacterFromSet_options_1, searchSet._id, mask); - } - - void rangeOfCharacterFromSet_options_range_(ffi.Pointer<_NSRange> stret, - NSCharacterSet searchSet, int mask, _NSRange rangeOfReceiverToSearch) { - _lib._objc_msgSend_useVariants1 + ffi.Pointer<_NSRange> stret, + NSCharacterSet searchSet, + int mask, + ) { + objc.useMsgSendVariants + ? _lib._objc_msgSend_345_stret( + stret, + this.pointer, + _lib._sel_rangeOfCharacterFromSet_options_1, + searchSet.pointer, + mask, + ) + : stret.ref = _lib._objc_msgSend_345( + this.pointer, + _lib._sel_rangeOfCharacterFromSet_options_1, + searchSet.pointer, + mask, + ); + } + + void rangeOfCharacterFromSet_options_range_( + ffi.Pointer<_NSRange> stret, + NSCharacterSet searchSet, + int mask, + _NSRange rangeOfReceiverToSearch, + ) { + objc.useMsgSendVariants ? _lib._objc_msgSend_346_stret( - stret, - _id, - _lib._sel_rangeOfCharacterFromSet_options_range_1, - searchSet._id, - mask, - rangeOfReceiverToSearch) + stret, + this.pointer, + _lib._sel_rangeOfCharacterFromSet_options_range_1, + searchSet.pointer, + mask, + rangeOfReceiverToSearch, + ) : stret.ref = _lib._objc_msgSend_346( - _id, - _lib._sel_rangeOfCharacterFromSet_options_range_1, - searchSet._id, - mask, - rangeOfReceiverToSearch); + this.pointer, + _lib._sel_rangeOfCharacterFromSet_options_range_1, + searchSet.pointer, + mask, + rangeOfReceiverToSearch, + ); } void rangeOfComposedCharacterSequenceAtIndex_( - ffi.Pointer<_NSRange> stret, int index) { - _lib._objc_msgSend_useVariants1 - ? _lib._objc_msgSend_347_stret(stret, _id, - _lib._sel_rangeOfComposedCharacterSequenceAtIndex_1, index) + ffi.Pointer<_NSRange> stret, + int index, + ) { + objc.useMsgSendVariants + ? _lib._objc_msgSend_347_stret( + stret, + this.pointer, + _lib._sel_rangeOfComposedCharacterSequenceAtIndex_1, + index, + ) : stret.ref = _lib._objc_msgSend_347( - _id, _lib._sel_rangeOfComposedCharacterSequenceAtIndex_1, index); + this.pointer, + _lib._sel_rangeOfComposedCharacterSequenceAtIndex_1, + index, + ); } void rangeOfComposedCharacterSequencesForRange_( - ffi.Pointer<_NSRange> stret, _NSRange range) { - _lib._objc_msgSend_useVariants1 - ? _lib._objc_msgSend_348_stret(stret, _id, - _lib._sel_rangeOfComposedCharacterSequencesForRange_1, range) + ffi.Pointer<_NSRange> stret, + _NSRange range, + ) { + objc.useMsgSendVariants + ? _lib._objc_msgSend_348_stret( + stret, + this.pointer, + _lib._sel_rangeOfComposedCharacterSequencesForRange_1, + range, + ) : stret.ref = _lib._objc_msgSend_348( - _id, _lib._sel_rangeOfComposedCharacterSequencesForRange_1, range); + this.pointer, + _lib._sel_rangeOfComposedCharacterSequencesForRange_1, + range, + ); } NSString stringByAppendingString_(NSString aString) { final _ret = _lib._objc_msgSend_69( - _id, _lib._sel_stringByAppendingString_1, aString._id); + this.pointer, + _lib._sel_stringByAppendingString_1, + aString.pointer, + ); return NSString._(_ret, _lib, retain: true, release: true); } NSString stringByAppendingFormat_(NSString format) { final _ret = _lib._objc_msgSend_69( - _id, _lib._sel_stringByAppendingFormat_1, format._id); + this.pointer, + _lib._sel_stringByAppendingFormat_1, + format.pointer, + ); return NSString._(_ret, _lib, retain: true, release: true); } double get doubleValue { - return _lib._objc_msgSend_useVariants1 - ? _lib._objc_msgSend_165_fpret(_id, _lib._sel_doubleValue1) - : _lib._objc_msgSend_165(_id, _lib._sel_doubleValue1); + return objc.useMsgSendVariants + ? _lib._objc_msgSend_165_fpret(this.pointer, _lib._sel_doubleValue1) + : _lib._objc_msgSend_165(this.pointer, _lib._sel_doubleValue1); } double get floatValue { - return _lib._objc_msgSend_useVariants1 - ? _lib._objc_msgSend_239_fpret(_id, _lib._sel_floatValue1) - : _lib._objc_msgSend_239(_id, _lib._sel_floatValue1); + return objc.useMsgSendVariants + ? _lib._objc_msgSend_239_fpret(this.pointer, _lib._sel_floatValue1) + : _lib._objc_msgSend_239(this.pointer, _lib._sel_floatValue1); } int get intValue { - return _lib._objc_msgSend_237(_id, _lib._sel_intValue1); + return _lib._objc_msgSend_237(this.pointer, _lib._sel_intValue1); } int get integerValue { - return _lib._objc_msgSend_83(_id, _lib._sel_integerValue1); + return _lib._objc_msgSend_83(this.pointer, _lib._sel_integerValue1); } int get longLongValue { - return _lib._objc_msgSend_238(_id, _lib._sel_longLongValue1); + return _lib._objc_msgSend_238(this.pointer, _lib._sel_longLongValue1); } bool get boolValue { - return _lib._objc_msgSend_12(_id, _lib._sel_boolValue1); + return _lib._objc_msgSend_12(this.pointer, _lib._sel_boolValue1); } NSString get uppercaseString { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_uppercaseString1); + final _ret = _lib._objc_msgSend_21( + this.pointer, + _lib._sel_uppercaseString1, + ); return NSString._(_ret, _lib, retain: true, release: true); } NSString get lowercaseString { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_lowercaseString1); + final _ret = _lib._objc_msgSend_21( + this.pointer, + _lib._sel_lowercaseString1, + ); return NSString._(_ret, _lib, retain: true, release: true); } NSString get capitalizedString { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_capitalizedString1); + final _ret = _lib._objc_msgSend_21( + this.pointer, + _lib._sel_capitalizedString1, + ); return NSString._(_ret, _lib, retain: true, release: true); } NSString get localizedUppercaseString { - final _ret = - _lib._objc_msgSend_21(_id, _lib._sel_localizedUppercaseString1); + final _ret = _lib._objc_msgSend_21( + this.pointer, + _lib._sel_localizedUppercaseString1, + ); return NSString._(_ret, _lib, retain: true, release: true); } NSString get localizedLowercaseString { - final _ret = - _lib._objc_msgSend_21(_id, _lib._sel_localizedLowercaseString1); + final _ret = _lib._objc_msgSend_21( + this.pointer, + _lib._sel_localizedLowercaseString1, + ); return NSString._(_ret, _lib, retain: true, release: true); } NSString get localizedCapitalizedString { - final _ret = - _lib._objc_msgSend_21(_id, _lib._sel_localizedCapitalizedString1); + final _ret = _lib._objc_msgSend_21( + this.pointer, + _lib._sel_localizedCapitalizedString1, + ); return NSString._(_ret, _lib, retain: true, release: true); } NSString uppercaseStringWithLocale_(NSLocale? locale) { final _ret = _lib._objc_msgSend_349( - _id, _lib._sel_uppercaseStringWithLocale_1, locale?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_uppercaseStringWithLocale_1, + locale?.pointer ?? ffi.nullptr, + ); return NSString._(_ret, _lib, retain: true, release: true); } NSString lowercaseStringWithLocale_(NSLocale? locale) { final _ret = _lib._objc_msgSend_349( - _id, _lib._sel_lowercaseStringWithLocale_1, locale?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_lowercaseStringWithLocale_1, + locale?.pointer ?? ffi.nullptr, + ); return NSString._(_ret, _lib, retain: true, release: true); } NSString capitalizedStringWithLocale_(NSLocale? locale) { - final _ret = _lib._objc_msgSend_349(_id, - _lib._sel_capitalizedStringWithLocale_1, locale?._id ?? ffi.nullptr); + final _ret = _lib._objc_msgSend_349( + this.pointer, + _lib._sel_capitalizedStringWithLocale_1, + locale?.pointer ?? ffi.nullptr, + ); return NSString._(_ret, _lib, retain: true, release: true); } void getLineStart_end_contentsEnd_forRange_( - ffi.Pointer startPtr, - ffi.Pointer lineEndPtr, - ffi.Pointer contentsEndPtr, - _NSRange range) { + ffi.Pointer startPtr, + ffi.Pointer lineEndPtr, + ffi.Pointer contentsEndPtr, + _NSRange range, + ) { _lib._objc_msgSend_350( - _id, - _lib._sel_getLineStart_end_contentsEnd_forRange_1, - startPtr, - lineEndPtr, - contentsEndPtr, - range); + this.pointer, + _lib._sel_getLineStart_end_contentsEnd_forRange_1, + startPtr, + lineEndPtr, + contentsEndPtr, + range, + ); } void lineRangeForRange_(ffi.Pointer<_NSRange> stret, _NSRange range) { - _lib._objc_msgSend_useVariants1 + objc.useMsgSendVariants ? _lib._objc_msgSend_348_stret( - stret, _id, _lib._sel_lineRangeForRange_1, range) - : stret.ref = - _lib._objc_msgSend_348(_id, _lib._sel_lineRangeForRange_1, range); + stret, + this.pointer, + _lib._sel_lineRangeForRange_1, + range, + ) + : stret.ref = _lib._objc_msgSend_348( + this.pointer, + _lib._sel_lineRangeForRange_1, + range, + ); } void getParagraphStart_end_contentsEnd_forRange_( - ffi.Pointer startPtr, - ffi.Pointer parEndPtr, - ffi.Pointer contentsEndPtr, - _NSRange range) { + ffi.Pointer startPtr, + ffi.Pointer parEndPtr, + ffi.Pointer contentsEndPtr, + _NSRange range, + ) { _lib._objc_msgSend_350( - _id, - _lib._sel_getParagraphStart_end_contentsEnd_forRange_1, - startPtr, - parEndPtr, - contentsEndPtr, - range); + this.pointer, + _lib._sel_getParagraphStart_end_contentsEnd_forRange_1, + startPtr, + parEndPtr, + contentsEndPtr, + range, + ); } void paragraphRangeForRange_(ffi.Pointer<_NSRange> stret, _NSRange range) { - _lib._objc_msgSend_useVariants1 + objc.useMsgSendVariants ? _lib._objc_msgSend_348_stret( - stret, _id, _lib._sel_paragraphRangeForRange_1, range) + stret, + this.pointer, + _lib._sel_paragraphRangeForRange_1, + range, + ) : stret.ref = _lib._objc_msgSend_348( - _id, _lib._sel_paragraphRangeForRange_1, range); + this.pointer, + _lib._sel_paragraphRangeForRange_1, + range, + ); } - void enumerateSubstringsInRange_options_usingBlock_(_NSRange range, int opts, - ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool block) { + void enumerateSubstringsInRange_options_usingBlock_( + _NSRange range, + int opts, + ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool block, + ) { _lib._objc_msgSend_351( - _id, - _lib._sel_enumerateSubstringsInRange_options_usingBlock_1, - range, - opts, - block._id); + this.pointer, + _lib._sel_enumerateSubstringsInRange_options_usingBlock_1, + range, + opts, + block.pointer, + ); } void enumerateLinesUsingBlock_(ObjCBlock_ffiVoid_NSString_bool block) { _lib._objc_msgSend_352( - _id, _lib._sel_enumerateLinesUsingBlock_1, block._id); + this.pointer, + _lib._sel_enumerateLinesUsingBlock_1, + block.pointer, + ); } ffi.Pointer get UTF8String { - return _lib._objc_msgSend_13(_id, _lib._sel_UTF8String1); + return _lib._objc_msgSend_13(this.pointer, _lib._sel_UTF8String1); } int get fastestEncoding { - return _lib._objc_msgSend_10(_id, _lib._sel_fastestEncoding1); + return _lib._objc_msgSend_10(this.pointer, _lib._sel_fastestEncoding1); } int get smallestEncoding { - return _lib._objc_msgSend_10(_id, _lib._sel_smallestEncoding1); + return _lib._objc_msgSend_10(this.pointer, _lib._sel_smallestEncoding1); } NSData? dataUsingEncoding_allowLossyConversion_(int encoding, bool lossy) { - final _ret = _lib._objc_msgSend_353(_id, - _lib._sel_dataUsingEncoding_allowLossyConversion_1, encoding, lossy); + final _ret = _lib._objc_msgSend_353( + this.pointer, + _lib._sel_dataUsingEncoding_allowLossyConversion_1, + encoding, + lossy, + ); return _ret.address == 0 ? null : NSData._(_ret, _lib, retain: true, release: true); } NSData? dataUsingEncoding_(int encoding) { - final _ret = - _lib._objc_msgSend_354(_id, _lib._sel_dataUsingEncoding_1, encoding); + final _ret = _lib._objc_msgSend_354( + this.pointer, + _lib._sel_dataUsingEncoding_1, + encoding, + ); return _ret.address == 0 ? null : NSData._(_ret, _lib, retain: true, release: true); @@ -36065,350 +45795,462 @@ class NSString extends NSObject { bool canBeConvertedToEncoding_(int encoding) { return _lib._objc_msgSend_97( - _id, _lib._sel_canBeConvertedToEncoding_1, encoding); + this.pointer, + _lib._sel_canBeConvertedToEncoding_1, + encoding, + ); } ffi.Pointer cStringUsingEncoding_(int encoding) { return _lib._objc_msgSend_11( - _id, _lib._sel_cStringUsingEncoding_1, encoding); + this.pointer, + _lib._sel_cStringUsingEncoding_1, + encoding, + ); } bool getCString_maxLength_encoding_( - ffi.Pointer buffer, int maxBufferCount, int encoding) { + ffi.Pointer buffer, + int maxBufferCount, + int encoding, + ) { return _lib._objc_msgSend_355( - _id, - _lib._sel_getCString_maxLength_encoding_1, - buffer, - maxBufferCount, - encoding); + this.pointer, + _lib._sel_getCString_maxLength_encoding_1, + buffer, + maxBufferCount, + encoding, + ); } bool getBytes_maxLength_usedLength_encoding_options_range_remainingRange_( - ffi.Pointer buffer, - int maxBufferCount, - ffi.Pointer usedBufferCount, - int encoding, - int options, - _NSRange range, - ffi.Pointer<_NSRange> leftover) { + ffi.Pointer buffer, + int maxBufferCount, + ffi.Pointer usedBufferCount, + int encoding, + int options, + _NSRange range, + ffi.Pointer<_NSRange> leftover, + ) { return _lib._objc_msgSend_356( - _id, - _lib._sel_getBytes_maxLength_usedLength_encoding_options_range_remainingRange_1, - buffer, - maxBufferCount, - usedBufferCount, - encoding, - options, - range, - leftover); + this.pointer, + _lib._sel_getBytes_maxLength_usedLength_encoding_options_range_remainingRange_1, + buffer, + maxBufferCount, + usedBufferCount, + encoding, + options, + range, + leftover, + ); } int maximumLengthOfBytesUsingEncoding_(int enc) { return _lib._objc_msgSend_94( - _id, _lib._sel_maximumLengthOfBytesUsingEncoding_1, enc); + this.pointer, + _lib._sel_maximumLengthOfBytesUsingEncoding_1, + enc, + ); } int lengthOfBytesUsingEncoding_(int enc) { return _lib._objc_msgSend_94( - _id, _lib._sel_lengthOfBytesUsingEncoding_1, enc); + this.pointer, + _lib._sel_lengthOfBytesUsingEncoding_1, + enc, + ); } static ffi.Pointer getAvailableStringEncodings( - AVFAudio _lib) { + AVFAudio _lib, + ) { return _lib._objc_msgSend_357( - _lib._class_NSString1, _lib._sel_availableStringEncodings1); + _lib._class_NSString1, + _lib._sel_availableStringEncodings1, + ); } static NSString localizedNameOfStringEncoding_(AVFAudio _lib, int encoding) { - final _ret = _lib._objc_msgSend_332(_lib._class_NSString1, - _lib._sel_localizedNameOfStringEncoding_1, encoding); + final _ret = _lib._objc_msgSend_332( + _lib._class_NSString1, + _lib._sel_localizedNameOfStringEncoding_1, + encoding, + ); return NSString._(_ret, _lib, retain: true, release: true); } static int getDefaultCStringEncoding(AVFAudio _lib) { return _lib._objc_msgSend_10( - _lib._class_NSString1, _lib._sel_defaultCStringEncoding1); + _lib._class_NSString1, + _lib._sel_defaultCStringEncoding1, + ); } NSString get decomposedStringWithCanonicalMapping { final _ret = _lib._objc_msgSend_21( - _id, _lib._sel_decomposedStringWithCanonicalMapping1); + this.pointer, + _lib._sel_decomposedStringWithCanonicalMapping1, + ); return NSString._(_ret, _lib, retain: true, release: true); } NSString get precomposedStringWithCanonicalMapping { final _ret = _lib._objc_msgSend_21( - _id, _lib._sel_precomposedStringWithCanonicalMapping1); + this.pointer, + _lib._sel_precomposedStringWithCanonicalMapping1, + ); return NSString._(_ret, _lib, retain: true, release: true); } NSString get decomposedStringWithCompatibilityMapping { final _ret = _lib._objc_msgSend_21( - _id, _lib._sel_decomposedStringWithCompatibilityMapping1); + this.pointer, + _lib._sel_decomposedStringWithCompatibilityMapping1, + ); return NSString._(_ret, _lib, retain: true, release: true); } NSString get precomposedStringWithCompatibilityMapping { final _ret = _lib._objc_msgSend_21( - _id, _lib._sel_precomposedStringWithCompatibilityMapping1); + this.pointer, + _lib._sel_precomposedStringWithCompatibilityMapping1, + ); return NSString._(_ret, _lib, retain: true, release: true); } NSArray componentsSeparatedByString_(NSString separator) { final _ret = _lib._objc_msgSend_358( - _id, _lib._sel_componentsSeparatedByString_1, separator._id); + this.pointer, + _lib._sel_componentsSeparatedByString_1, + separator.pointer, + ); return NSArray._(_ret, _lib, retain: true, release: true); } NSArray componentsSeparatedByCharactersInSet_(NSCharacterSet separator) { final _ret = _lib._objc_msgSend_359( - _id, _lib._sel_componentsSeparatedByCharactersInSet_1, separator._id); + this.pointer, + _lib._sel_componentsSeparatedByCharactersInSet_1, + separator.pointer, + ); return NSArray._(_ret, _lib, retain: true, release: true); } NSString stringByTrimmingCharactersInSet_(NSCharacterSet set) { final _ret = _lib._objc_msgSend_360( - _id, _lib._sel_stringByTrimmingCharactersInSet_1, set._id); + this.pointer, + _lib._sel_stringByTrimmingCharactersInSet_1, + set.pointer, + ); return NSString._(_ret, _lib, retain: true, release: true); } NSString stringByPaddingToLength_withString_startingAtIndex_( - int newLength, NSString padString, int padIndex) { + int newLength, + NSString padString, + int padIndex, + ) { final _ret = _lib._objc_msgSend_361( - _id, - _lib._sel_stringByPaddingToLength_withString_startingAtIndex_1, - newLength, - padString._id, - padIndex); + this.pointer, + _lib._sel_stringByPaddingToLength_withString_startingAtIndex_1, + newLength, + padString.pointer, + padIndex, + ); return NSString._(_ret, _lib, retain: true, release: true); } NSString stringByFoldingWithOptions_locale_(int options, NSLocale? locale) { final _ret = _lib._objc_msgSend_362( - _id, - _lib._sel_stringByFoldingWithOptions_locale_1, - options, - locale?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_stringByFoldingWithOptions_locale_1, + options, + locale?.pointer ?? ffi.nullptr, + ); return NSString._(_ret, _lib, retain: true, release: true); } NSString stringByReplacingOccurrencesOfString_withString_options_range_( - NSString target, - NSString replacement, - int options, - _NSRange searchRange) { + NSString target, + NSString replacement, + int options, + _NSRange searchRange, + ) { final _ret = _lib._objc_msgSend_363( - _id, - _lib._sel_stringByReplacingOccurrencesOfString_withString_options_range_1, - target._id, - replacement._id, - options, - searchRange); + this.pointer, + _lib._sel_stringByReplacingOccurrencesOfString_withString_options_range_1, + target.pointer, + replacement.pointer, + options, + searchRange, + ); return NSString._(_ret, _lib, retain: true, release: true); } NSString stringByReplacingOccurrencesOfString_withString_( - NSString target, NSString replacement) { + NSString target, + NSString replacement, + ) { final _ret = _lib._objc_msgSend_364( - _id, - _lib._sel_stringByReplacingOccurrencesOfString_withString_1, - target._id, - replacement._id); + this.pointer, + _lib._sel_stringByReplacingOccurrencesOfString_withString_1, + target.pointer, + replacement.pointer, + ); return NSString._(_ret, _lib, retain: true, release: true); } NSString stringByReplacingCharactersInRange_withString_( - _NSRange range, NSString replacement) { + _NSRange range, + NSString replacement, + ) { final _ret = _lib._objc_msgSend_365( - _id, - _lib._sel_stringByReplacingCharactersInRange_withString_1, - range, - replacement._id); + this.pointer, + _lib._sel_stringByReplacingCharactersInRange_withString_1, + range, + replacement.pointer, + ); return NSString._(_ret, _lib, retain: true, release: true); } NSString? stringByApplyingTransform_reverse_( - NSString transform, bool reverse) { - final _ret = _lib._objc_msgSend_366(_id, - _lib._sel_stringByApplyingTransform_reverse_1, transform._id, reverse); + NSString transform, + bool reverse, + ) { + final _ret = _lib._objc_msgSend_366( + this.pointer, + _lib._sel_stringByApplyingTransform_reverse_1, + transform.pointer, + reverse, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } - bool writeToURL_atomically_encoding_error_(NSURL url, bool useAuxiliaryFile, - int enc, ffi.Pointer> error) { + bool writeToURL_atomically_encoding_error_( + NSURL url, + bool useAuxiliaryFile, + int enc, + ffi.Pointer> error, + ) { return _lib._objc_msgSend_367( - _id, - _lib._sel_writeToURL_atomically_encoding_error_1, - url._id, - useAuxiliaryFile, - enc, - error); + this.pointer, + _lib._sel_writeToURL_atomically_encoding_error_1, + url.pointer, + useAuxiliaryFile, + enc, + error, + ); } bool writeToFile_atomically_encoding_error_( - NSString path, - bool useAuxiliaryFile, - int enc, - ffi.Pointer> error) { + NSString path, + bool useAuxiliaryFile, + int enc, + ffi.Pointer> error, + ) { return _lib._objc_msgSend_368( - _id, - _lib._sel_writeToFile_atomically_encoding_error_1, - path._id, - useAuxiliaryFile, - enc, - error); + this.pointer, + _lib._sel_writeToFile_atomically_encoding_error_1, + path.pointer, + useAuxiliaryFile, + enc, + error, + ); } NSString get description { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_description1); + final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_description1); return NSString._(_ret, _lib, retain: true, release: true); } int get hash { - return _lib._objc_msgSend_10(_id, _lib._sel_hash1); + return _lib._objc_msgSend_10(this.pointer, _lib._sel_hash1); } NSString initWithCharactersNoCopy_length_freeWhenDone_( - ffi.Pointer characters, int length, bool freeBuffer) { + ffi.Pointer characters, + int length, + bool freeBuffer, + ) { final _ret = _lib._objc_msgSend_369( - _id, - _lib._sel_initWithCharactersNoCopy_length_freeWhenDone_1, - characters, - length, - freeBuffer); + this.pointer, + _lib._sel_initWithCharactersNoCopy_length_freeWhenDone_1, + characters, + length, + freeBuffer, + ); return NSString._(_ret, _lib, retain: false, release: true); } NSString initWithCharactersNoCopy_length_deallocator_( - ffi.Pointer chars, - int len, - ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong? deallocator) { + ffi.Pointer chars, + int len, + ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong? deallocator, + ) { final _ret = _lib._objc_msgSend_370( - _id, - _lib._sel_initWithCharactersNoCopy_length_deallocator_1, - chars, - len, - deallocator?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_initWithCharactersNoCopy_length_deallocator_1, + chars, + len, + deallocator?.pointer ?? ffi.nullptr, + ); return NSString._(_ret, _lib, retain: false, release: true); } NSString initWithCharacters_length_( - ffi.Pointer characters, int length) { + ffi.Pointer characters, + int length, + ) { final _ret = _lib._objc_msgSend_371( - _id, _lib._sel_initWithCharacters_length_1, characters, length); + this.pointer, + _lib._sel_initWithCharacters_length_1, + characters, + length, + ); return NSString._(_ret, _lib, retain: true, release: true); } NSString? initWithUTF8String_(ffi.Pointer nullTerminatedCString) { final _ret = _lib._objc_msgSend_372( - _id, _lib._sel_initWithUTF8String_1, nullTerminatedCString); + this.pointer, + _lib._sel_initWithUTF8String_1, + nullTerminatedCString, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } NSString initWithString_(NSString aString) { - final _ret = - _lib._objc_msgSend_31(_id, _lib._sel_initWithString_1, aString._id); + final _ret = _lib._objc_msgSend_31( + this.pointer, + _lib._sel_initWithString_1, + aString.pointer, + ); return NSString._(_ret, _lib, retain: true, release: true); } NSString initWithFormat_(NSString format) { - final _ret = - _lib._objc_msgSend_31(_id, _lib._sel_initWithFormat_1, format._id); + final _ret = _lib._objc_msgSend_31( + this.pointer, + _lib._sel_initWithFormat_1, + format.pointer, + ); return NSString._(_ret, _lib, retain: true, release: true); } NSString initWithFormat_arguments_( - NSString format, ffi.Pointer<__va_list_tag> argList) { + NSString format, + ffi.Pointer<__va_list_tag> argList, + ) { final _ret = _lib._objc_msgSend_373( - _id, _lib._sel_initWithFormat_arguments_1, format._id, argList); + this.pointer, + _lib._sel_initWithFormat_arguments_1, + format.pointer, + argList, + ); return NSString._(_ret, _lib, retain: true, release: true); } NSString initWithFormat_locale_(NSString format, NSObject? locale) { - final _ret = _lib._objc_msgSend_374(_id, _lib._sel_initWithFormat_locale_1, - format._id, locale?._id ?? ffi.nullptr); + final _ret = _lib._objc_msgSend_374( + this.pointer, + _lib._sel_initWithFormat_locale_1, + format.pointer, + locale?.pointer ?? ffi.nullptr, + ); return NSString._(_ret, _lib, retain: true, release: true); } NSString initWithFormat_locale_arguments_( - NSString format, NSObject? locale, ffi.Pointer<__va_list_tag> argList) { + NSString format, + NSObject? locale, + ffi.Pointer<__va_list_tag> argList, + ) { final _ret = _lib._objc_msgSend_375( - _id, - _lib._sel_initWithFormat_locale_arguments_1, - format._id, - locale?._id ?? ffi.nullptr, - argList); + this.pointer, + _lib._sel_initWithFormat_locale_arguments_1, + format.pointer, + locale?.pointer ?? ffi.nullptr, + argList, + ); return NSString._(_ret, _lib, retain: true, release: true); } NSString? initWithValidatedFormat_validFormatSpecifiers_error_( - NSString format, - NSString validFormatSpecifiers, - ffi.Pointer> error) { + NSString format, + NSString validFormatSpecifiers, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_376( - _id, - _lib._sel_initWithValidatedFormat_validFormatSpecifiers_error_1, - format._id, - validFormatSpecifiers._id, - error); + this.pointer, + _lib._sel_initWithValidatedFormat_validFormatSpecifiers_error_1, + format.pointer, + validFormatSpecifiers.pointer, + error, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } NSString? initWithValidatedFormat_validFormatSpecifiers_locale_error_( - NSString format, - NSString validFormatSpecifiers, - NSObject? locale, - ffi.Pointer> error) { + NSString format, + NSString validFormatSpecifiers, + NSObject? locale, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_377( - _id, - _lib._sel_initWithValidatedFormat_validFormatSpecifiers_locale_error_1, - format._id, - validFormatSpecifiers._id, - locale?._id ?? ffi.nullptr, - error); + this.pointer, + _lib._sel_initWithValidatedFormat_validFormatSpecifiers_locale_error_1, + format.pointer, + validFormatSpecifiers.pointer, + locale?.pointer ?? ffi.nullptr, + error, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } NSString? initWithValidatedFormat_validFormatSpecifiers_arguments_error_( - NSString format, - NSString validFormatSpecifiers, - ffi.Pointer<__va_list_tag> argList, - ffi.Pointer> error) { + NSString format, + NSString validFormatSpecifiers, + ffi.Pointer<__va_list_tag> argList, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_378( - _id, - _lib._sel_initWithValidatedFormat_validFormatSpecifiers_arguments_error_1, - format._id, - validFormatSpecifiers._id, - argList, - error); + this.pointer, + _lib._sel_initWithValidatedFormat_validFormatSpecifiers_arguments_error_1, + format.pointer, + validFormatSpecifiers.pointer, + argList, + error, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } NSString? - initWithValidatedFormat_validFormatSpecifiers_locale_arguments_error_( - NSString format, - NSString validFormatSpecifiers, - NSObject? locale, - ffi.Pointer<__va_list_tag> argList, - ffi.Pointer> error) { + initWithValidatedFormat_validFormatSpecifiers_locale_arguments_error_( + NSString format, + NSString validFormatSpecifiers, + NSObject? locale, + ffi.Pointer<__va_list_tag> argList, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_379( - _id, - _lib._sel_initWithValidatedFormat_validFormatSpecifiers_locale_arguments_error_1, - format._id, - validFormatSpecifiers._id, - locale?._id ?? ffi.nullptr, - argList, - error); + this.pointer, + _lib._sel_initWithValidatedFormat_validFormatSpecifiers_locale_arguments_error_1, + format.pointer, + validFormatSpecifiers.pointer, + locale?.pointer ?? ffi.nullptr, + argList, + error, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); @@ -36416,47 +46258,66 @@ class NSString extends NSObject { NSString? initWithData_encoding_(NSData data, int encoding) { final _ret = _lib._objc_msgSend_380( - _id, _lib._sel_initWithData_encoding_1, data._id, encoding); + this.pointer, + _lib._sel_initWithData_encoding_1, + data.pointer, + encoding, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } NSString? initWithBytes_length_encoding_( - ffi.Pointer bytes, int len, int encoding) { + ffi.Pointer bytes, + int len, + int encoding, + ) { final _ret = _lib._objc_msgSend_381( - _id, _lib._sel_initWithBytes_length_encoding_1, bytes, len, encoding); + this.pointer, + _lib._sel_initWithBytes_length_encoding_1, + bytes, + len, + encoding, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } NSString? initWithBytesNoCopy_length_encoding_freeWhenDone_( - ffi.Pointer bytes, int len, int encoding, bool freeBuffer) { + ffi.Pointer bytes, + int len, + int encoding, + bool freeBuffer, + ) { final _ret = _lib._objc_msgSend_382( - _id, - _lib._sel_initWithBytesNoCopy_length_encoding_freeWhenDone_1, - bytes, - len, - encoding, - freeBuffer); + this.pointer, + _lib._sel_initWithBytesNoCopy_length_encoding_freeWhenDone_1, + bytes, + len, + encoding, + freeBuffer, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: false, release: true); } NSString? initWithBytesNoCopy_length_encoding_deallocator_( - ffi.Pointer bytes, - int len, - int encoding, - ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong? deallocator) { + ffi.Pointer bytes, + int len, + int encoding, + ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong? deallocator, + ) { final _ret = _lib._objc_msgSend_383( - _id, - _lib._sel_initWithBytesNoCopy_length_encoding_deallocator_1, - bytes, - len, - encoding, - deallocator?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_initWithBytesNoCopy_length_encoding_deallocator_1, + bytes, + len, + encoding, + deallocator?.pointer ?? ffi.nullptr, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: false, release: true); @@ -36469,21 +46330,36 @@ class NSString extends NSObject { static NSString stringWithString_(AVFAudio _lib, NSString string) { final _ret = _lib._objc_msgSend_31( - _lib._class_NSString1, _lib._sel_stringWithString_1, string._id); + _lib._class_NSString1, + _lib._sel_stringWithString_1, + string.pointer, + ); return NSString._(_ret, _lib, retain: true, release: true); } static NSString stringWithCharacters_length_( - AVFAudio _lib, ffi.Pointer characters, int length) { - final _ret = _lib._objc_msgSend_371(_lib._class_NSString1, - _lib._sel_stringWithCharacters_length_1, characters, length); + AVFAudio _lib, + ffi.Pointer characters, + int length, + ) { + final _ret = _lib._objc_msgSend_371( + _lib._class_NSString1, + _lib._sel_stringWithCharacters_length_1, + characters, + length, + ); return NSString._(_ret, _lib, retain: true, release: true); } static NSString? stringWithUTF8String_( - AVFAudio _lib, ffi.Pointer nullTerminatedCString) { - final _ret = _lib._objc_msgSend_372(_lib._class_NSString1, - _lib._sel_stringWithUTF8String_1, nullTerminatedCString); + AVFAudio _lib, + ffi.Pointer nullTerminatedCString, + ) { + final _ret = _lib._objc_msgSend_372( + _lib._class_NSString1, + _lib._sel_stringWithUTF8String_1, + nullTerminatedCString, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); @@ -36491,259 +46367,339 @@ class NSString extends NSObject { static NSString stringWithFormat_(AVFAudio _lib, NSString format) { final _ret = _lib._objc_msgSend_31( - _lib._class_NSString1, _lib._sel_stringWithFormat_1, format._id); + _lib._class_NSString1, + _lib._sel_stringWithFormat_1, + format.pointer, + ); return NSString._(_ret, _lib, retain: true, release: true); } static NSString localizedStringWithFormat_(AVFAudio _lib, NSString format) { - final _ret = _lib._objc_msgSend_31(_lib._class_NSString1, - _lib._sel_localizedStringWithFormat_1, format._id); + final _ret = _lib._objc_msgSend_31( + _lib._class_NSString1, + _lib._sel_localizedStringWithFormat_1, + format.pointer, + ); return NSString._(_ret, _lib, retain: true, release: true); } static NSString? stringWithValidatedFormat_validFormatSpecifiers_error_( - AVFAudio _lib, - NSString format, - NSString validFormatSpecifiers, - ffi.Pointer> error) { + AVFAudio _lib, + NSString format, + NSString validFormatSpecifiers, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_376( - _lib._class_NSString1, - _lib._sel_stringWithValidatedFormat_validFormatSpecifiers_error_1, - format._id, - validFormatSpecifiers._id, - error); + _lib._class_NSString1, + _lib._sel_stringWithValidatedFormat_validFormatSpecifiers_error_1, + format.pointer, + validFormatSpecifiers.pointer, + error, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } static NSString? - localizedStringWithValidatedFormat_validFormatSpecifiers_error_( - AVFAudio _lib, - NSString format, - NSString validFormatSpecifiers, - ffi.Pointer> error) { + localizedStringWithValidatedFormat_validFormatSpecifiers_error_( + AVFAudio _lib, + NSString format, + NSString validFormatSpecifiers, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_376( - _lib._class_NSString1, - _lib._sel_localizedStringWithValidatedFormat_validFormatSpecifiers_error_1, - format._id, - validFormatSpecifiers._id, - error); + _lib._class_NSString1, + _lib._sel_localizedStringWithValidatedFormat_validFormatSpecifiers_error_1, + format.pointer, + validFormatSpecifiers.pointer, + error, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } NSString? initWithCString_encoding_( - ffi.Pointer nullTerminatedCString, int encoding) { - final _ret = _lib._objc_msgSend_384(_id, - _lib._sel_initWithCString_encoding_1, nullTerminatedCString, encoding); + ffi.Pointer nullTerminatedCString, + int encoding, + ) { + final _ret = _lib._objc_msgSend_384( + this.pointer, + _lib._sel_initWithCString_encoding_1, + nullTerminatedCString, + encoding, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } static NSString? stringWithCString_encoding_( - AVFAudio _lib, ffi.Pointer cString, int enc) { - final _ret = _lib._objc_msgSend_384(_lib._class_NSString1, - _lib._sel_stringWithCString_encoding_1, cString, enc); + AVFAudio _lib, + ffi.Pointer cString, + int enc, + ) { + final _ret = _lib._objc_msgSend_384( + _lib._class_NSString1, + _lib._sel_stringWithCString_encoding_1, + cString, + enc, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } NSString? initWithContentsOfURL_encoding_error_( - NSURL url, int enc, ffi.Pointer> error) { - final _ret = _lib._objc_msgSend_385(_id, - _lib._sel_initWithContentsOfURL_encoding_error_1, url._id, enc, error); + NSURL url, + int enc, + ffi.Pointer> error, + ) { + final _ret = _lib._objc_msgSend_385( + this.pointer, + _lib._sel_initWithContentsOfURL_encoding_error_1, + url.pointer, + enc, + error, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } NSString? initWithContentsOfFile_encoding_error_( - NSString path, int enc, ffi.Pointer> error) { + NSString path, + int enc, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_386( - _id, - _lib._sel_initWithContentsOfFile_encoding_error_1, - path._id, - enc, - error); + this.pointer, + _lib._sel_initWithContentsOfFile_encoding_error_1, + path.pointer, + enc, + error, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } - static NSString? stringWithContentsOfURL_encoding_error_(AVFAudio _lib, - NSURL url, int enc, ffi.Pointer> error) { + static NSString? stringWithContentsOfURL_encoding_error_( + AVFAudio _lib, + NSURL url, + int enc, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_385( - _lib._class_NSString1, - _lib._sel_stringWithContentsOfURL_encoding_error_1, - url._id, - enc, - error); + _lib._class_NSString1, + _lib._sel_stringWithContentsOfURL_encoding_error_1, + url.pointer, + enc, + error, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } - static NSString? stringWithContentsOfFile_encoding_error_(AVFAudio _lib, - NSString path, int enc, ffi.Pointer> error) { + static NSString? stringWithContentsOfFile_encoding_error_( + AVFAudio _lib, + NSString path, + int enc, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_386( - _lib._class_NSString1, - _lib._sel_stringWithContentsOfFile_encoding_error_1, - path._id, - enc, - error); + _lib._class_NSString1, + _lib._sel_stringWithContentsOfFile_encoding_error_1, + path.pointer, + enc, + error, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } NSString? initWithContentsOfURL_usedEncoding_error_( - NSURL url, - ffi.Pointer enc, - ffi.Pointer> error) { + NSURL url, + ffi.Pointer enc, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_387( - _id, - _lib._sel_initWithContentsOfURL_usedEncoding_error_1, - url._id, - enc, - error); + this.pointer, + _lib._sel_initWithContentsOfURL_usedEncoding_error_1, + url.pointer, + enc, + error, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } NSString? initWithContentsOfFile_usedEncoding_error_( - NSString path, - ffi.Pointer enc, - ffi.Pointer> error) { + NSString path, + ffi.Pointer enc, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_388( - _id, - _lib._sel_initWithContentsOfFile_usedEncoding_error_1, - path._id, - enc, - error); + this.pointer, + _lib._sel_initWithContentsOfFile_usedEncoding_error_1, + path.pointer, + enc, + error, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } static NSString? stringWithContentsOfURL_usedEncoding_error_( - AVFAudio _lib, - NSURL url, - ffi.Pointer enc, - ffi.Pointer> error) { + AVFAudio _lib, + NSURL url, + ffi.Pointer enc, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_387( - _lib._class_NSString1, - _lib._sel_stringWithContentsOfURL_usedEncoding_error_1, - url._id, - enc, - error); + _lib._class_NSString1, + _lib._sel_stringWithContentsOfURL_usedEncoding_error_1, + url.pointer, + enc, + error, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } static NSString? stringWithContentsOfFile_usedEncoding_error_( - AVFAudio _lib, - NSString path, - ffi.Pointer enc, - ffi.Pointer> error) { + AVFAudio _lib, + NSString path, + ffi.Pointer enc, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_388( - _lib._class_NSString1, - _lib._sel_stringWithContentsOfFile_usedEncoding_error_1, - path._id, - enc, - error); + _lib._class_NSString1, + _lib._sel_stringWithContentsOfFile_usedEncoding_error_1, + path.pointer, + enc, + error, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } static int - stringEncodingForData_encodingOptions_convertedString_usedLossyConversion_( - AVFAudio _lib, - NSData data, - NSDictionary? opts, - ffi.Pointer> string, - ffi.Pointer usedLossyConversion) { + stringEncodingForData_encodingOptions_convertedString_usedLossyConversion_( + AVFAudio _lib, + NSData data, + NSDictionary? opts, + ffi.Pointer> string, + ffi.Pointer usedLossyConversion, + ) { return _lib._objc_msgSend_389( - _lib._class_NSString1, - _lib._sel_stringEncodingForData_encodingOptions_convertedString_usedLossyConversion_1, - data._id, - opts?._id ?? ffi.nullptr, - string, - usedLossyConversion); + _lib._class_NSString1, + _lib._sel_stringEncodingForData_encodingOptions_convertedString_usedLossyConversion_1, + data.pointer, + opts?.pointer ?? ffi.nullptr, + string, + usedLossyConversion, + ); } NSObject propertyList() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_propertyList1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_propertyList1); return NSObject._(_ret, _lib, retain: true, release: true); } NSDictionary? propertyListFromStringsFileFormat() { final _ret = _lib._objc_msgSend_390( - _id, _lib._sel_propertyListFromStringsFileFormat1); + this.pointer, + _lib._sel_propertyListFromStringsFileFormat1, + ); return _ret.address == 0 ? null : NSDictionary._(_ret, _lib, retain: true, release: true); } ffi.Pointer cString() { - return _lib._objc_msgSend_13(_id, _lib._sel_cString1); + return _lib._objc_msgSend_13(this.pointer, _lib._sel_cString1); } ffi.Pointer lossyCString() { - return _lib._objc_msgSend_13(_id, _lib._sel_lossyCString1); + return _lib._objc_msgSend_13(this.pointer, _lib._sel_lossyCString1); } int cStringLength() { - return _lib._objc_msgSend_10(_id, _lib._sel_cStringLength1); + return _lib._objc_msgSend_10(this.pointer, _lib._sel_cStringLength1); } void getCString_(ffi.Pointer bytes) { - _lib._objc_msgSend_290(_id, _lib._sel_getCString_1, bytes); + _lib._objc_msgSend_290(this.pointer, _lib._sel_getCString_1, bytes); } void getCString_maxLength_(ffi.Pointer bytes, int maxLength) { _lib._objc_msgSend_391( - _id, _lib._sel_getCString_maxLength_1, bytes, maxLength); + this.pointer, + _lib._sel_getCString_maxLength_1, + bytes, + maxLength, + ); } - void getCString_maxLength_range_remainingRange_(ffi.Pointer bytes, - int maxLength, _NSRange aRange, ffi.Pointer<_NSRange> leftoverRange) { + void getCString_maxLength_range_remainingRange_( + ffi.Pointer bytes, + int maxLength, + _NSRange aRange, + ffi.Pointer<_NSRange> leftoverRange, + ) { _lib._objc_msgSend_392( - _id, - _lib._sel_getCString_maxLength_range_remainingRange_1, - bytes, - maxLength, - aRange, - leftoverRange); + this.pointer, + _lib._sel_getCString_maxLength_range_remainingRange_1, + bytes, + maxLength, + aRange, + leftoverRange, + ); } bool writeToFile_atomically_(NSString path, bool useAuxiliaryFile) { return _lib._objc_msgSend_26( - _id, _lib._sel_writeToFile_atomically_1, path._id, useAuxiliaryFile); + this.pointer, + _lib._sel_writeToFile_atomically_1, + path.pointer, + useAuxiliaryFile, + ); } bool writeToURL_atomically_(NSURL url, bool atomically) { return _lib._objc_msgSend_134( - _id, _lib._sel_writeToURL_atomically_1, url._id, atomically); + this.pointer, + _lib._sel_writeToURL_atomically_1, + url.pointer, + atomically, + ); } NSObject? initWithContentsOfFile_(NSString path) { final _ret = _lib._objc_msgSend_38( - _id, _lib._sel_initWithContentsOfFile_1, path._id); + this.pointer, + _lib._sel_initWithContentsOfFile_1, + path.pointer, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } NSObject? initWithContentsOfURL_(NSURL url) { - final _ret = - _lib._objc_msgSend_277(_id, _lib._sel_initWithContentsOfURL_1, url._id); + final _ret = _lib._objc_msgSend_277( + this.pointer, + _lib._sel_initWithContentsOfURL_1, + url.pointer, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); @@ -36751,7 +46707,10 @@ class NSString extends NSObject { static NSObject? stringWithContentsOfFile_(AVFAudio _lib, NSString path) { final _ret = _lib._objc_msgSend_38( - _lib._class_NSString1, _lib._sel_stringWithContentsOfFile_1, path._id); + _lib._class_NSString1, + _lib._sel_stringWithContentsOfFile_1, + path.pointer, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); @@ -36759,20 +46718,27 @@ class NSString extends NSObject { static NSObject? stringWithContentsOfURL_(AVFAudio _lib, NSURL url) { final _ret = _lib._objc_msgSend_277( - _lib._class_NSString1, _lib._sel_stringWithContentsOfURL_1, url._id); + _lib._class_NSString1, + _lib._sel_stringWithContentsOfURL_1, + url.pointer, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } NSObject? initWithCStringNoCopy_length_freeWhenDone_( - ffi.Pointer bytes, int length, bool freeBuffer) { + ffi.Pointer bytes, + int length, + bool freeBuffer, + ) { final _ret = _lib._objc_msgSend_393( - _id, - _lib._sel_initWithCStringNoCopy_length_freeWhenDone_1, - bytes, - length, - freeBuffer); + this.pointer, + _lib._sel_initWithCStringNoCopy_length_freeWhenDone_1, + bytes, + length, + freeBuffer, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: false, release: true); @@ -36780,94 +46746,132 @@ class NSString extends NSObject { NSObject? initWithCString_length_(ffi.Pointer bytes, int length) { final _ret = _lib._objc_msgSend_384( - _id, _lib._sel_initWithCString_length_1, bytes, length); + this.pointer, + _lib._sel_initWithCString_length_1, + bytes, + length, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } NSObject? initWithCString_(ffi.Pointer bytes) { - final _ret = - _lib._objc_msgSend_372(_id, _lib._sel_initWithCString_1, bytes); + final _ret = _lib._objc_msgSend_372( + this.pointer, + _lib._sel_initWithCString_1, + bytes, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } static NSObject? stringWithCString_length_( - AVFAudio _lib, ffi.Pointer bytes, int length) { - final _ret = _lib._objc_msgSend_384(_lib._class_NSString1, - _lib._sel_stringWithCString_length_1, bytes, length); + AVFAudio _lib, + ffi.Pointer bytes, + int length, + ) { + final _ret = _lib._objc_msgSend_384( + _lib._class_NSString1, + _lib._sel_stringWithCString_length_1, + bytes, + length, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } static NSObject? stringWithCString_( - AVFAudio _lib, ffi.Pointer bytes) { + AVFAudio _lib, + ffi.Pointer bytes, + ) { final _ret = _lib._objc_msgSend_372( - _lib._class_NSString1, _lib._sel_stringWithCString_1, bytes); + _lib._class_NSString1, + _lib._sel_stringWithCString_1, + bytes, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } void getCharacters_(ffi.Pointer buffer) { - _lib._objc_msgSend_394(_id, _lib._sel_getCharacters_1, buffer); + _lib._objc_msgSend_394(this.pointer, _lib._sel_getCharacters_1, buffer); } NSString variantFittingPresentationWidth_(int width) { final _ret = _lib._objc_msgSend_395( - _id, _lib._sel_variantFittingPresentationWidth_1, width); + this.pointer, + _lib._sel_variantFittingPresentationWidth_1, + width, + ); return NSString._(_ret, _lib, retain: true, release: true); } static NSString pathWithComponents_(AVFAudio _lib, NSArray components) { final _ret = _lib._objc_msgSend_396( - _lib._class_NSString1, _lib._sel_pathWithComponents_1, components._id); + _lib._class_NSString1, + _lib._sel_pathWithComponents_1, + components.pointer, + ); return NSString._(_ret, _lib, retain: true, release: true); } NSArray get pathComponents { - final _ret = _lib._objc_msgSend_85(_id, _lib._sel_pathComponents1); + final _ret = _lib._objc_msgSend_85(this.pointer, _lib._sel_pathComponents1); return NSArray._(_ret, _lib, retain: true, release: true); } bool get absolutePath { - return _lib._objc_msgSend_12(_id, _lib._sel_isAbsolutePath1); + return _lib._objc_msgSend_12(this.pointer, _lib._sel_isAbsolutePath1); } NSString get lastPathComponent { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_lastPathComponent1); + final _ret = _lib._objc_msgSend_21( + this.pointer, + _lib._sel_lastPathComponent1, + ); return NSString._(_ret, _lib, retain: true, release: true); } NSString get stringByDeletingLastPathComponent { final _ret = _lib._objc_msgSend_21( - _id, _lib._sel_stringByDeletingLastPathComponent1); + this.pointer, + _lib._sel_stringByDeletingLastPathComponent1, + ); return NSString._(_ret, _lib, retain: true, release: true); } NSString stringByAppendingPathComponent_(NSString str) { final _ret = _lib._objc_msgSend_69( - _id, _lib._sel_stringByAppendingPathComponent_1, str._id); + this.pointer, + _lib._sel_stringByAppendingPathComponent_1, + str.pointer, + ); return NSString._(_ret, _lib, retain: true, release: true); } NSString get pathExtension { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_pathExtension1); + final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_pathExtension1); return NSString._(_ret, _lib, retain: true, release: true); } NSString get stringByDeletingPathExtension { - final _ret = - _lib._objc_msgSend_21(_id, _lib._sel_stringByDeletingPathExtension1); + final _ret = _lib._objc_msgSend_21( + this.pointer, + _lib._sel_stringByDeletingPathExtension1, + ); return NSString._(_ret, _lib, retain: true, release: true); } NSString? stringByAppendingPathExtension_(NSString str) { final _ret = _lib._objc_msgSend_186( - _id, _lib._sel_stringByAppendingPathExtension_1, str._id); + this.pointer, + _lib._sel_stringByAppendingPathExtension_1, + str.pointer, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); @@ -36875,72 +46879,98 @@ class NSString extends NSObject { NSString get stringByAbbreviatingWithTildeInPath { final _ret = _lib._objc_msgSend_21( - _id, _lib._sel_stringByAbbreviatingWithTildeInPath1); + this.pointer, + _lib._sel_stringByAbbreviatingWithTildeInPath1, + ); return NSString._(_ret, _lib, retain: true, release: true); } NSString get stringByExpandingTildeInPath { - final _ret = - _lib._objc_msgSend_21(_id, _lib._sel_stringByExpandingTildeInPath1); + final _ret = _lib._objc_msgSend_21( + this.pointer, + _lib._sel_stringByExpandingTildeInPath1, + ); return NSString._(_ret, _lib, retain: true, release: true); } NSString get stringByStandardizingPath { - final _ret = - _lib._objc_msgSend_21(_id, _lib._sel_stringByStandardizingPath1); + final _ret = _lib._objc_msgSend_21( + this.pointer, + _lib._sel_stringByStandardizingPath1, + ); return NSString._(_ret, _lib, retain: true, release: true); } NSString get stringByResolvingSymlinksInPath { - final _ret = - _lib._objc_msgSend_21(_id, _lib._sel_stringByResolvingSymlinksInPath1); + final _ret = _lib._objc_msgSend_21( + this.pointer, + _lib._sel_stringByResolvingSymlinksInPath1, + ); return NSString._(_ret, _lib, retain: true, release: true); } NSArray stringsByAppendingPaths_(NSArray paths) { final _ret = _lib._objc_msgSend_68( - _id, _lib._sel_stringsByAppendingPaths_1, paths._id); + this.pointer, + _lib._sel_stringsByAppendingPaths_1, + paths.pointer, + ); return NSArray._(_ret, _lib, retain: true, release: true); } int completePathIntoString_caseSensitive_matchesIntoArray_filterTypes_( - ffi.Pointer> outputName, - bool flag, - ffi.Pointer> outputArray, - NSArray? filterTypes) { + ffi.Pointer> outputName, + bool flag, + ffi.Pointer> outputArray, + NSArray? filterTypes, + ) { return _lib._objc_msgSend_397( - _id, - _lib._sel_completePathIntoString_caseSensitive_matchesIntoArray_filterTypes_1, - outputName, - flag, - outputArray, - filterTypes?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_completePathIntoString_caseSensitive_matchesIntoArray_filterTypes_1, + outputName, + flag, + outputArray, + filterTypes?.pointer ?? ffi.nullptr, + ); } ffi.Pointer get fileSystemRepresentation { - return _lib._objc_msgSend_13(_id, _lib._sel_fileSystemRepresentation1); + return _lib._objc_msgSend_13( + this.pointer, + _lib._sel_fileSystemRepresentation1, + ); } bool getFileSystemRepresentation_maxLength_( - ffi.Pointer cname, int max) { + ffi.Pointer cname, + int max, + ) { return _lib._objc_msgSend_242( - _id, _lib._sel_getFileSystemRepresentation_maxLength_1, cname, max); + this.pointer, + _lib._sel_getFileSystemRepresentation_maxLength_1, + cname, + max, + ); } NSString? stringByAddingPercentEncodingWithAllowedCharacters_( - NSCharacterSet allowedCharacters) { + NSCharacterSet allowedCharacters, + ) { final _ret = _lib._objc_msgSend_398( - _id, - _lib._sel_stringByAddingPercentEncodingWithAllowedCharacters_1, - allowedCharacters._id); + this.pointer, + _lib._sel_stringByAddingPercentEncodingWithAllowedCharacters_1, + allowedCharacters.pointer, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } NSString? get stringByRemovingPercentEncoding { - final _ret = - _lib._objc_msgSend_44(_id, _lib._sel_stringByRemovingPercentEncoding1); + final _ret = _lib._objc_msgSend_44( + this.pointer, + _lib._sel_stringByRemovingPercentEncoding1, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); @@ -36948,7 +46978,10 @@ class NSString extends NSObject { NSString? stringByAddingPercentEscapesUsingEncoding_(int enc) { final _ret = _lib._objc_msgSend_399( - _id, _lib._sel_stringByAddingPercentEscapesUsingEncoding_1, enc); + this.pointer, + _lib._sel_stringByAddingPercentEscapesUsingEncoding_1, + enc, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); @@ -36956,43 +46989,50 @@ class NSString extends NSObject { NSString? stringByReplacingPercentEscapesUsingEncoding_(int enc) { final _ret = _lib._objc_msgSend_399( - _id, _lib._sel_stringByReplacingPercentEscapesUsingEncoding_1, enc); + this.pointer, + _lib._sel_stringByReplacingPercentEscapesUsingEncoding_1, + enc, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } NSArray linguisticTagsInRange_scheme_options_orthography_tokenRanges_( - _NSRange range, - NSString scheme, - int options, - NSOrthography? orthography, - ffi.Pointer> tokenRanges) { + _NSRange range, + NSString scheme, + int options, + NSOrthography? orthography, + ffi.Pointer> tokenRanges, + ) { final _ret = _lib._objc_msgSend_401( - _id, - _lib._sel_linguisticTagsInRange_scheme_options_orthography_tokenRanges_1, - range, - scheme._id, - options, - orthography?._id ?? ffi.nullptr, - tokenRanges); + this.pointer, + _lib._sel_linguisticTagsInRange_scheme_options_orthography_tokenRanges_1, + range, + scheme.pointer, + options, + orthography?.pointer ?? ffi.nullptr, + tokenRanges, + ); return NSArray._(_ret, _lib, retain: true, release: true); } void enumerateLinguisticTagsInRange_scheme_options_orthography_usingBlock_( - _NSRange range, - NSString scheme, - int options, - NSOrthography? orthography, - ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool block) { + _NSRange range, + NSString scheme, + int options, + NSOrthography? orthography, + ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool block, + ) { _lib._objc_msgSend_402( - _id, - _lib._sel_enumerateLinguisticTagsInRange_scheme_options_orthography_usingBlock_1, - range, - scheme._id, - options, - orthography?._id ?? ffi.nullptr, - block._id); + this.pointer, + _lib._sel_enumerateLinguisticTagsInRange_scheme_options_orthography_usingBlock_1, + range, + scheme.pointer, + options, + orthography?.pointer ?? ffi.nullptr, + block.pointer, + ); } static NSString new1(AVFAudio _lib) { @@ -37002,7 +47042,10 @@ class NSString extends NSObject { static NSString allocWithZone_(AVFAudio _lib, ffi.Pointer<_NSZone> zone) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSString1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSString1, + _lib._sel_allocWithZone_1, + zone, + ); return NSString._(_ret, _lib, retain: false, release: true); } @@ -37012,65 +47055,94 @@ class NSString extends NSObject { } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + AVFAudio _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSString1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSString1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSString1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + AVFAudio _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSString1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { return _lib._objc_msgSend_12( - _lib._class_NSString1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_NSString1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(AVFAudio _lib) { return _lib._objc_msgSend_12( - _lib._class_NSString1, _lib._sel_useStoredAccessor1); + _lib._class_NSString1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSString1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSString1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSString1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSString1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, NSArray keys, NSString dependentKey) { + AVFAudio _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSString1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSString1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { final _ret = _lib._objc_msgSend_85( - _lib._class_NSString1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSString1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(AVFAudio _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSString1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSString1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } @@ -37080,282 +47152,486 @@ extension StringToNSString on String { } class NSCoder extends NSObject { - NSCoder._(ffi.Pointer id, AVFAudio lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSCoder._( + ffi.Pointer pointer, + AVFAudio lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSCoder] that points to the same underlying object as [other]. - static NSCoder castFrom(T other) { - return NSCoder._(other._id, other._lib, retain: true, release: true); + static NSCoder castFrom( + AVFAudio lib, + T other, + ) { + return NSCoder._(other.pointer, lib, retain: true, release: true); } /// Returns a [NSCoder] that wraps the given raw object pointer. - static NSCoder castFromPointer(AVFAudio lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + static NSCoder castFromPointer( + AVFAudio lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSCoder._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSCoder]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_NSCoder1); + static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSCoder1, + ); } void encodeValueOfObjCType_at_( - ffi.Pointer type, ffi.Pointer addr) { + ffi.Pointer type, + ffi.Pointer addr, + ) { _lib._objc_msgSend_19( - _id, _lib._sel_encodeValueOfObjCType_at_1, type, addr); + this.pointer, + _lib._sel_encodeValueOfObjCType_at_1, + type, + addr, + ); } void encodeDataObject_(NSData data) { - _lib._objc_msgSend_285(_id, _lib._sel_encodeDataObject_1, data._id); + _lib._objc_msgSend_285( + this.pointer, + _lib._sel_encodeDataObject_1, + data.pointer, + ); } NSData? decodeDataObject() { - final _ret = _lib._objc_msgSend_286(_id, _lib._sel_decodeDataObject1); + final _ret = _lib._objc_msgSend_286( + this.pointer, + _lib._sel_decodeDataObject1, + ); return _ret.address == 0 ? null : NSData._(_ret, _lib, retain: true, release: true); } void decodeValueOfObjCType_at_size_( - ffi.Pointer type, ffi.Pointer data, int size) { + ffi.Pointer type, + ffi.Pointer data, + int size, + ) { _lib._objc_msgSend_287( - _id, _lib._sel_decodeValueOfObjCType_at_size_1, type, data, size); + this.pointer, + _lib._sel_decodeValueOfObjCType_at_size_1, + type, + data, + size, + ); } int versionForClassName_(NSString className) { return _lib._objc_msgSend_288( - _id, _lib._sel_versionForClassName_1, className._id); + this.pointer, + _lib._sel_versionForClassName_1, + className.pointer, + ); } void encodeObject_(NSObject? object) { _lib._objc_msgSend_289( - _id, _lib._sel_encodeObject_1, object?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_encodeObject_1, + object?.pointer ?? ffi.nullptr, + ); } void encodeRootObject_(NSObject rootObject) { - _lib._objc_msgSend_15(_id, _lib._sel_encodeRootObject_1, rootObject._id); + _lib._objc_msgSend_15( + this.pointer, + _lib._sel_encodeRootObject_1, + rootObject.pointer, + ); } void encodeBycopyObject_(NSObject? anObject) { _lib._objc_msgSend_289( - _id, _lib._sel_encodeBycopyObject_1, anObject?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_encodeBycopyObject_1, + anObject?.pointer ?? ffi.nullptr, + ); } void encodeByrefObject_(NSObject? anObject) { _lib._objc_msgSend_289( - _id, _lib._sel_encodeByrefObject_1, anObject?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_encodeByrefObject_1, + anObject?.pointer ?? ffi.nullptr, + ); } void encodeConditionalObject_(NSObject? object) { _lib._objc_msgSend_289( - _id, _lib._sel_encodeConditionalObject_1, object?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_encodeConditionalObject_1, + object?.pointer ?? ffi.nullptr, + ); } void encodeValuesOfObjCTypes_(ffi.Pointer types) { - _lib._objc_msgSend_290(_id, _lib._sel_encodeValuesOfObjCTypes_1, types); + _lib._objc_msgSend_290( + this.pointer, + _lib._sel_encodeValuesOfObjCTypes_1, + types, + ); } void encodeArrayOfObjCType_count_at_( - ffi.Pointer type, int count, ffi.Pointer array) { + ffi.Pointer type, + int count, + ffi.Pointer array, + ) { _lib._objc_msgSend_291( - _id, _lib._sel_encodeArrayOfObjCType_count_at_1, type, count, array); + this.pointer, + _lib._sel_encodeArrayOfObjCType_count_at_1, + type, + count, + array, + ); } void encodeBytes_length_(ffi.Pointer byteaddr, int length) { _lib._objc_msgSend_22( - _id, _lib._sel_encodeBytes_length_1, byteaddr, length); + this.pointer, + _lib._sel_encodeBytes_length_1, + byteaddr, + length, + ); } NSObject? decodeObject() { - final _ret = _lib._objc_msgSend_17(_id, _lib._sel_decodeObject1); + final _ret = _lib._objc_msgSend_17(this.pointer, _lib._sel_decodeObject1); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } NSObject? decodeTopLevelObjectAndReturnError_( - ffi.Pointer> error) { + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_292( - _id, _lib._sel_decodeTopLevelObjectAndReturnError_1, error); + this.pointer, + _lib._sel_decodeTopLevelObjectAndReturnError_1, + error, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } void decodeValuesOfObjCTypes_(ffi.Pointer types) { - _lib._objc_msgSend_290(_id, _lib._sel_decodeValuesOfObjCTypes_1, types); + _lib._objc_msgSend_290( + this.pointer, + _lib._sel_decodeValuesOfObjCTypes_1, + types, + ); } void decodeArrayOfObjCType_count_at_( - ffi.Pointer itemType, int count, ffi.Pointer array) { - _lib._objc_msgSend_291(_id, _lib._sel_decodeArrayOfObjCType_count_at_1, - itemType, count, array); + ffi.Pointer itemType, + int count, + ffi.Pointer array, + ) { + _lib._objc_msgSend_291( + this.pointer, + _lib._sel_decodeArrayOfObjCType_count_at_1, + itemType, + count, + array, + ); } ffi.Pointer decodeBytesWithReturnedLength_( - ffi.Pointer lengthp) { + ffi.Pointer lengthp, + ) { return _lib._objc_msgSend_293( - _id, _lib._sel_decodeBytesWithReturnedLength_1, lengthp); + this.pointer, + _lib._sel_decodeBytesWithReturnedLength_1, + lengthp, + ); } void encodePropertyList_(NSObject aPropertyList) { _lib._objc_msgSend_15( - _id, _lib._sel_encodePropertyList_1, aPropertyList._id); + this.pointer, + _lib._sel_encodePropertyList_1, + aPropertyList.pointer, + ); } NSObject? decodePropertyList() { - final _ret = _lib._objc_msgSend_17(_id, _lib._sel_decodePropertyList1); + final _ret = _lib._objc_msgSend_17( + this.pointer, + _lib._sel_decodePropertyList1, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } void setObjectZone_(ffi.Pointer<_NSZone> zone) { - _lib._objc_msgSend_294(_id, _lib._sel_setObjectZone_1, zone); + _lib._objc_msgSend_294(this.pointer, _lib._sel_setObjectZone_1, zone); } ffi.Pointer<_NSZone> objectZone() { - return _lib._objc_msgSend_295(_id, _lib._sel_objectZone1); + return _lib._objc_msgSend_295(this.pointer, _lib._sel_objectZone1); } int get systemVersion { - return _lib._objc_msgSend_214(_id, _lib._sel_systemVersion1); + return _lib._objc_msgSend_214(this.pointer, _lib._sel_systemVersion1); } bool get allowsKeyedCoding { - return _lib._objc_msgSend_12(_id, _lib._sel_allowsKeyedCoding1); + return _lib._objc_msgSend_12(this.pointer, _lib._sel_allowsKeyedCoding1); } void encodeObject_forKey_(NSObject? object, NSString key) { - _lib._objc_msgSend_135(_id, _lib._sel_encodeObject_forKey_1, - object?._id ?? ffi.nullptr, key._id); + _lib._objc_msgSend_135( + this.pointer, + _lib._sel_encodeObject_forKey_1, + object?.pointer ?? ffi.nullptr, + key.pointer, + ); } void encodeConditionalObject_forKey_(NSObject? object, NSString key) { - _lib._objc_msgSend_135(_id, _lib._sel_encodeConditionalObject_forKey_1, - object?._id ?? ffi.nullptr, key._id); + _lib._objc_msgSend_135( + this.pointer, + _lib._sel_encodeConditionalObject_forKey_1, + object?.pointer ?? ffi.nullptr, + key.pointer, + ); } void encodeBool_forKey_(bool value, NSString key) { - _lib._objc_msgSend_296(_id, _lib._sel_encodeBool_forKey_1, value, key._id); + _lib._objc_msgSend_296( + this.pointer, + _lib._sel_encodeBool_forKey_1, + value, + key.pointer, + ); } void encodeInt_forKey_(int value, NSString key) { - _lib._objc_msgSend_297(_id, _lib._sel_encodeInt_forKey_1, value, key._id); + _lib._objc_msgSend_297( + this.pointer, + _lib._sel_encodeInt_forKey_1, + value, + key.pointer, + ); } void encodeInt32_forKey_(int value, NSString key) { - _lib._objc_msgSend_298(_id, _lib._sel_encodeInt32_forKey_1, value, key._id); + _lib._objc_msgSend_298( + this.pointer, + _lib._sel_encodeInt32_forKey_1, + value, + key.pointer, + ); } void encodeInt64_forKey_(int value, NSString key) { - _lib._objc_msgSend_299(_id, _lib._sel_encodeInt64_forKey_1, value, key._id); + _lib._objc_msgSend_299( + this.pointer, + _lib._sel_encodeInt64_forKey_1, + value, + key.pointer, + ); } void encodeFloat_forKey_(double value, NSString key) { - _lib._objc_msgSend_300(_id, _lib._sel_encodeFloat_forKey_1, value, key._id); + _lib._objc_msgSend_300( + this.pointer, + _lib._sel_encodeFloat_forKey_1, + value, + key.pointer, + ); } void encodeDouble_forKey_(double value, NSString key) { _lib._objc_msgSend_301( - _id, _lib._sel_encodeDouble_forKey_1, value, key._id); + this.pointer, + _lib._sel_encodeDouble_forKey_1, + value, + key.pointer, + ); } void encodeBytes_length_forKey_( - ffi.Pointer bytes, int length, NSString key) { + ffi.Pointer bytes, + int length, + NSString key, + ) { _lib._objc_msgSend_302( - _id, _lib._sel_encodeBytes_length_forKey_1, bytes, length, key._id); + this.pointer, + _lib._sel_encodeBytes_length_forKey_1, + bytes, + length, + key.pointer, + ); } bool containsValueForKey_(NSString key) { - return _lib._objc_msgSend_64(_id, _lib._sel_containsValueForKey_1, key._id); + return _lib._objc_msgSend_64( + this.pointer, + _lib._sel_containsValueForKey_1, + key.pointer, + ); } NSObject? decodeObjectForKey_(NSString key) { - final _ret = - _lib._objc_msgSend_38(_id, _lib._sel_decodeObjectForKey_1, key._id); + final _ret = _lib._objc_msgSend_38( + this.pointer, + _lib._sel_decodeObjectForKey_1, + key.pointer, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } NSObject? decodeTopLevelObjectForKey_error_( - NSString key, ffi.Pointer> error) { + NSString key, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_303( - _id, _lib._sel_decodeTopLevelObjectForKey_error_1, key._id, error); + this.pointer, + _lib._sel_decodeTopLevelObjectForKey_error_1, + key.pointer, + error, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } bool decodeBoolForKey_(NSString key) { - return _lib._objc_msgSend_64(_id, _lib._sel_decodeBoolForKey_1, key._id); + return _lib._objc_msgSend_64( + this.pointer, + _lib._sel_decodeBoolForKey_1, + key.pointer, + ); } int decodeIntForKey_(NSString key) { - return _lib._objc_msgSend_304(_id, _lib._sel_decodeIntForKey_1, key._id); + return _lib._objc_msgSend_304( + this.pointer, + _lib._sel_decodeIntForKey_1, + key.pointer, + ); } int decodeInt32ForKey_(NSString key) { - return _lib._objc_msgSend_305(_id, _lib._sel_decodeInt32ForKey_1, key._id); + return _lib._objc_msgSend_305( + this.pointer, + _lib._sel_decodeInt32ForKey_1, + key.pointer, + ); } int decodeInt64ForKey_(NSString key) { - return _lib._objc_msgSend_306(_id, _lib._sel_decodeInt64ForKey_1, key._id); + return _lib._objc_msgSend_306( + this.pointer, + _lib._sel_decodeInt64ForKey_1, + key.pointer, + ); } double decodeFloatForKey_(NSString key) { - return _lib._objc_msgSend_useVariants1 + return objc.useMsgSendVariants ? _lib._objc_msgSend_307_fpret( - _id, _lib._sel_decodeFloatForKey_1, key._id) - : _lib._objc_msgSend_307(_id, _lib._sel_decodeFloatForKey_1, key._id); + this.pointer, + _lib._sel_decodeFloatForKey_1, + key.pointer, + ) + : _lib._objc_msgSend_307( + this.pointer, + _lib._sel_decodeFloatForKey_1, + key.pointer, + ); } double decodeDoubleForKey_(NSString key) { - return _lib._objc_msgSend_useVariants1 + return objc.useMsgSendVariants ? _lib._objc_msgSend_308_fpret( - _id, _lib._sel_decodeDoubleForKey_1, key._id) - : _lib._objc_msgSend_308(_id, _lib._sel_decodeDoubleForKey_1, key._id); + this.pointer, + _lib._sel_decodeDoubleForKey_1, + key.pointer, + ) + : _lib._objc_msgSend_308( + this.pointer, + _lib._sel_decodeDoubleForKey_1, + key.pointer, + ); } ffi.Pointer decodeBytesForKey_returnedLength_( - NSString key, ffi.Pointer lengthp) { + NSString key, + ffi.Pointer lengthp, + ) { return _lib._objc_msgSend_309( - _id, _lib._sel_decodeBytesForKey_returnedLength_1, key._id, lengthp); + this.pointer, + _lib._sel_decodeBytesForKey_returnedLength_1, + key.pointer, + lengthp, + ); } void encodeInteger_forKey_(int value, NSString key) { _lib._objc_msgSend_310( - _id, _lib._sel_encodeInteger_forKey_1, value, key._id); + this.pointer, + _lib._sel_encodeInteger_forKey_1, + value, + key.pointer, + ); } int decodeIntegerForKey_(NSString key) { return _lib._objc_msgSend_288( - _id, _lib._sel_decodeIntegerForKey_1, key._id); + this.pointer, + _lib._sel_decodeIntegerForKey_1, + key.pointer, + ); } bool get requiresSecureCoding { - return _lib._objc_msgSend_12(_id, _lib._sel_requiresSecureCoding1); + return _lib._objc_msgSend_12(this.pointer, _lib._sel_requiresSecureCoding1); } NSObject? decodeObjectOfClass_forKey_(NSObject aClass, NSString key) { final _ret = _lib._objc_msgSend_311( - _id, _lib._sel_decodeObjectOfClass_forKey_1, aClass._id, key._id); + this.pointer, + _lib._sel_decodeObjectOfClass_forKey_1, + aClass.pointer, + key.pointer, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } - NSObject? decodeTopLevelObjectOfClass_forKey_error_(NSObject aClass, - NSString key, ffi.Pointer> error) { + NSObject? decodeTopLevelObjectOfClass_forKey_error_( + NSObject aClass, + NSString key, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_312( - _id, - _lib._sel_decodeTopLevelObjectOfClass_forKey_error_1, - aClass._id, - key._id, - error); + this.pointer, + _lib._sel_decodeTopLevelObjectOfClass_forKey_error_1, + aClass.pointer, + key.pointer, + error, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); @@ -37363,20 +47639,28 @@ class NSCoder extends NSObject { NSArray? decodeArrayOfObjectsOfClass_forKey_(NSObject cls, NSString key) { final _ret = _lib._objc_msgSend_313( - _id, _lib._sel_decodeArrayOfObjectsOfClass_forKey_1, cls._id, key._id); + this.pointer, + _lib._sel_decodeArrayOfObjectsOfClass_forKey_1, + cls.pointer, + key.pointer, + ); return _ret.address == 0 ? null : NSArray._(_ret, _lib, retain: true, release: true); } NSDictionary? decodeDictionaryWithKeysOfClass_objectsOfClass_forKey_( - NSObject keyCls, NSObject objectCls, NSString key) { + NSObject keyCls, + NSObject objectCls, + NSString key, + ) { final _ret = _lib._objc_msgSend_314( - _id, - _lib._sel_decodeDictionaryWithKeysOfClass_objectsOfClass_forKey_1, - keyCls._id, - objectCls._id, - key._id); + this.pointer, + _lib._sel_decodeDictionaryWithKeysOfClass_objectsOfClass_forKey_1, + keyCls.pointer, + objectCls.pointer, + key.pointer, + ); return _ret.address == 0 ? null : NSDictionary._(_ret, _lib, retain: true, release: true); @@ -37384,44 +47668,57 @@ class NSCoder extends NSObject { NSObject? decodeObjectOfClasses_forKey_(NSSet? classes, NSString key) { final _ret = _lib._objc_msgSend_315( - _id, - _lib._sel_decodeObjectOfClasses_forKey_1, - classes?._id ?? ffi.nullptr, - key._id); + this.pointer, + _lib._sel_decodeObjectOfClasses_forKey_1, + classes?.pointer ?? ffi.nullptr, + key.pointer, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } - NSObject? decodeTopLevelObjectOfClasses_forKey_error_(NSSet? classes, - NSString key, ffi.Pointer> error) { + NSObject? decodeTopLevelObjectOfClasses_forKey_error_( + NSSet? classes, + NSString key, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_316( - _id, - _lib._sel_decodeTopLevelObjectOfClasses_forKey_error_1, - classes?._id ?? ffi.nullptr, - key._id, - error); + this.pointer, + _lib._sel_decodeTopLevelObjectOfClasses_forKey_error_1, + classes?.pointer ?? ffi.nullptr, + key.pointer, + error, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } NSArray? decodeArrayOfObjectsOfClasses_forKey_(NSSet classes, NSString key) { - final _ret = _lib._objc_msgSend_317(_id, - _lib._sel_decodeArrayOfObjectsOfClasses_forKey_1, classes._id, key._id); + final _ret = _lib._objc_msgSend_317( + this.pointer, + _lib._sel_decodeArrayOfObjectsOfClasses_forKey_1, + classes.pointer, + key.pointer, + ); return _ret.address == 0 ? null : NSArray._(_ret, _lib, retain: true, release: true); } NSDictionary? decodeDictionaryWithKeysOfClasses_objectsOfClasses_forKey_( - NSSet keyClasses, NSSet objectClasses, NSString key) { + NSSet keyClasses, + NSSet objectClasses, + NSString key, + ) { final _ret = _lib._objc_msgSend_318( - _id, - _lib._sel_decodeDictionaryWithKeysOfClasses_objectsOfClasses_forKey_1, - keyClasses._id, - objectClasses._id, - key._id); + this.pointer, + _lib._sel_decodeDictionaryWithKeysOfClasses_objectsOfClasses_forKey_1, + keyClasses.pointer, + objectClasses.pointer, + key.pointer, + ); return _ret.address == 0 ? null : NSDictionary._(_ret, _lib, retain: true, release: true); @@ -37429,120 +47726,200 @@ class NSCoder extends NSObject { NSObject? decodePropertyListForKey_(NSString key) { final _ret = _lib._objc_msgSend_38( - _id, _lib._sel_decodePropertyListForKey_1, key._id); + this.pointer, + _lib._sel_decodePropertyListForKey_1, + key.pointer, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } NSSet? get allowedClasses { - final _ret = _lib._objc_msgSend_319(_id, _lib._sel_allowedClasses1); + final _ret = _lib._objc_msgSend_319( + this.pointer, + _lib._sel_allowedClasses1, + ); return _ret.address == 0 ? null : NSSet._(_ret, _lib, retain: true, release: true); } void failWithError_(NSError error) { - _lib._objc_msgSend_320(_id, _lib._sel_failWithError_1, error._id); + _lib._objc_msgSend_320( + this.pointer, + _lib._sel_failWithError_1, + error.pointer, + ); } int get decodingFailurePolicy { - return _lib._objc_msgSend_321(_id, _lib._sel_decodingFailurePolicy1); + return _lib._objc_msgSend_321( + this.pointer, + _lib._sel_decodingFailurePolicy1, + ); } NSError? get error { - final _ret = _lib._objc_msgSend_322(_id, _lib._sel_error1); + final _ret = _lib._objc_msgSend_322(this.pointer, _lib._sel_error1); return _ret.address == 0 ? null : NSError._(_ret, _lib, retain: true, release: true); } void encodeNXObject_(NSObject object) { - _lib._objc_msgSend_15(_id, _lib._sel_encodeNXObject_1, object._id); + _lib._objc_msgSend_15( + this.pointer, + _lib._sel_encodeNXObject_1, + object.pointer, + ); } NSObject? decodeNXObject() { - final _ret = _lib._objc_msgSend_17(_id, _lib._sel_decodeNXObject1); + final _ret = _lib._objc_msgSend_17(this.pointer, _lib._sel_decodeNXObject1); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } void decodeValueOfObjCType_at_( - ffi.Pointer type, ffi.Pointer data) { + ffi.Pointer type, + ffi.Pointer data, + ) { _lib._objc_msgSend_19( - _id, _lib._sel_decodeValueOfObjCType_at_1, type, data); + this.pointer, + _lib._sel_decodeValueOfObjCType_at_1, + type, + data, + ); } void encodePoint_(CGPoint point) { - _lib._objc_msgSend_323(_id, _lib._sel_encodePoint_1, point); + _lib._objc_msgSend_323(this.pointer, _lib._sel_encodePoint_1, point); } void decodePoint(ffi.Pointer stret) { - _lib._objc_msgSend_useVariants1 - ? _lib._objc_msgSend_59_stret(stret, _id, _lib._sel_decodePoint1) - : stret.ref = _lib._objc_msgSend_59(_id, _lib._sel_decodePoint1); + objc.useMsgSendVariants + ? _lib._objc_msgSend_59_stret( + stret, + this.pointer, + _lib._sel_decodePoint1, + ) + : stret.ref = _lib._objc_msgSend_59( + this.pointer, + _lib._sel_decodePoint1, + ); } void encodeSize_(CGSize size) { - _lib._objc_msgSend_324(_id, _lib._sel_encodeSize_1, size); + _lib._objc_msgSend_324(this.pointer, _lib._sel_encodeSize_1, size); } void decodeSize(ffi.Pointer stret) { - _lib._objc_msgSend_useVariants1 - ? _lib._objc_msgSend_60_stret(stret, _id, _lib._sel_decodeSize1) - : stret.ref = _lib._objc_msgSend_60(_id, _lib._sel_decodeSize1); + objc.useMsgSendVariants + ? _lib._objc_msgSend_60_stret( + stret, + this.pointer, + _lib._sel_decodeSize1, + ) + : stret.ref = _lib._objc_msgSend_60( + this.pointer, + _lib._sel_decodeSize1, + ); } void encodeRect_(CGRect rect) { - _lib._objc_msgSend_325(_id, _lib._sel_encodeRect_1, rect); + _lib._objc_msgSend_325(this.pointer, _lib._sel_encodeRect_1, rect); } void decodeRect(ffi.Pointer stret) { - _lib._objc_msgSend_useVariants1 - ? _lib._objc_msgSend_61_stret(stret, _id, _lib._sel_decodeRect1) - : stret.ref = _lib._objc_msgSend_61(_id, _lib._sel_decodeRect1); + objc.useMsgSendVariants + ? _lib._objc_msgSend_61_stret( + stret, + this.pointer, + _lib._sel_decodeRect1, + ) + : stret.ref = _lib._objc_msgSend_61( + this.pointer, + _lib._sel_decodeRect1, + ); } void encodePoint_forKey_(CGPoint point, NSString key) { - _lib._objc_msgSend_326(_id, _lib._sel_encodePoint_forKey_1, point, key._id); + _lib._objc_msgSend_326( + this.pointer, + _lib._sel_encodePoint_forKey_1, + point, + key.pointer, + ); } void encodeSize_forKey_(CGSize size, NSString key) { - _lib._objc_msgSend_327(_id, _lib._sel_encodeSize_forKey_1, size, key._id); + _lib._objc_msgSend_327( + this.pointer, + _lib._sel_encodeSize_forKey_1, + size, + key.pointer, + ); } void encodeRect_forKey_(CGRect rect, NSString key) { - _lib._objc_msgSend_328(_id, _lib._sel_encodeRect_forKey_1, rect, key._id); + _lib._objc_msgSend_328( + this.pointer, + _lib._sel_encodeRect_forKey_1, + rect, + key.pointer, + ); } void decodePointForKey_(ffi.Pointer stret, NSString key) { - _lib._objc_msgSend_useVariants1 + objc.useMsgSendVariants ? _lib._objc_msgSend_329_stret( - stret, _id, _lib._sel_decodePointForKey_1, key._id) - : stret.ref = - _lib._objc_msgSend_329(_id, _lib._sel_decodePointForKey_1, key._id); + stret, + this.pointer, + _lib._sel_decodePointForKey_1, + key.pointer, + ) + : stret.ref = _lib._objc_msgSend_329( + this.pointer, + _lib._sel_decodePointForKey_1, + key.pointer, + ); } void decodeSizeForKey_(ffi.Pointer stret, NSString key) { - _lib._objc_msgSend_useVariants1 + objc.useMsgSendVariants ? _lib._objc_msgSend_330_stret( - stret, _id, _lib._sel_decodeSizeForKey_1, key._id) - : stret.ref = - _lib._objc_msgSend_330(_id, _lib._sel_decodeSizeForKey_1, key._id); + stret, + this.pointer, + _lib._sel_decodeSizeForKey_1, + key.pointer, + ) + : stret.ref = _lib._objc_msgSend_330( + this.pointer, + _lib._sel_decodeSizeForKey_1, + key.pointer, + ); } void decodeRectForKey_(ffi.Pointer stret, NSString key) { - _lib._objc_msgSend_useVariants1 + objc.useMsgSendVariants ? _lib._objc_msgSend_331_stret( - stret, _id, _lib._sel_decodeRectForKey_1, key._id) - : stret.ref = - _lib._objc_msgSend_331(_id, _lib._sel_decodeRectForKey_1, key._id); + stret, + this.pointer, + _lib._sel_decodeRectForKey_1, + key.pointer, + ) + : stret.ref = _lib._objc_msgSend_331( + this.pointer, + _lib._sel_decodeRectForKey_1, + key.pointer, + ); } @override NSCoder init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSCoder._(_ret, _lib, retain: true, release: true); } @@ -37553,7 +47930,10 @@ class NSCoder extends NSObject { static NSCoder allocWithZone_(AVFAudio _lib, ffi.Pointer<_NSZone> zone) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSCoder1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSCoder1, + _lib._sel_allocWithZone_1, + zone, + ); return NSCoder._(_ret, _lib, retain: false, release: true); } @@ -37563,166 +47943,256 @@ class NSCoder extends NSObject { } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + AVFAudio _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSCoder1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSCoder1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSCoder1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + AVFAudio _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSCoder1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { return _lib._objc_msgSend_12( - _lib._class_NSCoder1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_NSCoder1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(AVFAudio _lib) { return _lib._objc_msgSend_12( - _lib._class_NSCoder1, _lib._sel_useStoredAccessor1); + _lib._class_NSCoder1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSCoder1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSCoder1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSCoder1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSCoder1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, NSArray keys, NSString dependentKey) { + AVFAudio _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSCoder1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSCoder1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { final _ret = _lib._objc_msgSend_85( - _lib._class_NSCoder1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSCoder1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(AVFAudio _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSCoder1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSCoder1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } class NSData extends NSObject { - NSData._(ffi.Pointer id, AVFAudio lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSData._( + ffi.Pointer pointer, + AVFAudio lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSData] that points to the same underlying object as [other]. - static NSData castFrom(T other) { - return NSData._(other._id, other._lib, retain: true, release: true); + static NSData castFrom(AVFAudio lib, T other) { + return NSData._(other.pointer, lib, retain: true, release: true); } /// Returns a [NSData] that wraps the given raw object pointer. - static NSData castFromPointer(AVFAudio lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + static NSData castFromPointer( + AVFAudio lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSData._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSData]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_NSData1); + static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSData1, + ); } int get length { - return _lib._objc_msgSend_10(_id, _lib._sel_length1); + return _lib._objc_msgSend_10(this.pointer, _lib._sel_length1); } ffi.Pointer get bytes { - return _lib._objc_msgSend_20(_id, _lib._sel_bytes1); + return _lib._objc_msgSend_20(this.pointer, _lib._sel_bytes1); } NSString get description { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_description1); + final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_description1); return NSString._(_ret, _lib, retain: true, release: true); } void getBytes_length_(ffi.Pointer buffer, int length) { - _lib._objc_msgSend_22(_id, _lib._sel_getBytes_length_1, buffer, length); + _lib._objc_msgSend_22( + this.pointer, + _lib._sel_getBytes_length_1, + buffer, + length, + ); } void getBytes_range_(ffi.Pointer buffer, _NSRange range) { - _lib._objc_msgSend_23(_id, _lib._sel_getBytes_range_1, buffer, range); + _lib._objc_msgSend_23( + this.pointer, + _lib._sel_getBytes_range_1, + buffer, + range, + ); } bool isEqualToData_(NSData other) { - return _lib._objc_msgSend_24(_id, _lib._sel_isEqualToData_1, other._id); + return _lib._objc_msgSend_24( + this.pointer, + _lib._sel_isEqualToData_1, + other.pointer, + ); } NSData subdataWithRange_(_NSRange range) { - final _ret = - _lib._objc_msgSend_25(_id, _lib._sel_subdataWithRange_1, range); + final _ret = _lib._objc_msgSend_25( + this.pointer, + _lib._sel_subdataWithRange_1, + range, + ); return NSData._(_ret, _lib, retain: true, release: true); } bool writeToFile_atomically_(NSString path, bool useAuxiliaryFile) { return _lib._objc_msgSend_26( - _id, _lib._sel_writeToFile_atomically_1, path._id, useAuxiliaryFile); + this.pointer, + _lib._sel_writeToFile_atomically_1, + path.pointer, + useAuxiliaryFile, + ); } bool writeToURL_atomically_(NSURL url, bool atomically) { return _lib._objc_msgSend_134( - _id, _lib._sel_writeToURL_atomically_1, url._id, atomically); + this.pointer, + _lib._sel_writeToURL_atomically_1, + url.pointer, + atomically, + ); } - bool writeToFile_options_error_(NSString path, int writeOptionsMask, - ffi.Pointer> errorPtr) { - return _lib._objc_msgSend_269(_id, _lib._sel_writeToFile_options_error_1, - path._id, writeOptionsMask, errorPtr); + bool writeToFile_options_error_( + NSString path, + int writeOptionsMask, + ffi.Pointer> errorPtr, + ) { + return _lib._objc_msgSend_269( + this.pointer, + _lib._sel_writeToFile_options_error_1, + path.pointer, + writeOptionsMask, + errorPtr, + ); } - bool writeToURL_options_error_(NSURL url, int writeOptionsMask, - ffi.Pointer> errorPtr) { - return _lib._objc_msgSend_270(_id, _lib._sel_writeToURL_options_error_1, - url._id, writeOptionsMask, errorPtr); + bool writeToURL_options_error_( + NSURL url, + int writeOptionsMask, + ffi.Pointer> errorPtr, + ) { + return _lib._objc_msgSend_270( + this.pointer, + _lib._sel_writeToURL_options_error_1, + url.pointer, + writeOptionsMask, + errorPtr, + ); } - void rangeOfData_options_range_(ffi.Pointer<_NSRange> stret, - NSData dataToFind, int mask, _NSRange searchRange) { - _lib._objc_msgSend_useVariants1 + void rangeOfData_options_range_( + ffi.Pointer<_NSRange> stret, + NSData dataToFind, + int mask, + _NSRange searchRange, + ) { + objc.useMsgSendVariants ? _lib._objc_msgSend_271_stret( - stret, - _id, - _lib._sel_rangeOfData_options_range_1, - dataToFind._id, - mask, - searchRange) + stret, + this.pointer, + _lib._sel_rangeOfData_options_range_1, + dataToFind.pointer, + mask, + searchRange, + ) : stret.ref = _lib._objc_msgSend_271( - _id, - _lib._sel_rangeOfData_options_range_1, - dataToFind._id, - mask, - searchRange); + this.pointer, + _lib._sel_rangeOfData_options_range_1, + dataToFind.pointer, + mask, + searchRange, + ); } void enumerateByteRangesUsingBlock_( - ObjCBlock_ffiVoid_ffiVoid_NSRange_bool block) { + ObjCBlock_ffiVoid_ffiVoid_NSRange_bool block, + ) { _lib._objc_msgSend_272( - _id, _lib._sel_enumerateByteRangesUsingBlock_1, block._id); + this.pointer, + _lib._sel_enumerateByteRangesUsingBlock_1, + block.pointer, + ); } static NSData data(AVFAudio _lib) { @@ -37731,50 +48201,80 @@ class NSData extends NSObject { } static NSData dataWithBytes_length_( - AVFAudio _lib, ffi.Pointer bytes, int length) { + AVFAudio _lib, + ffi.Pointer bytes, + int length, + ) { final _ret = _lib._objc_msgSend_273( - _lib._class_NSData1, _lib._sel_dataWithBytes_length_1, bytes, length); + _lib._class_NSData1, + _lib._sel_dataWithBytes_length_1, + bytes, + length, + ); return NSData._(_ret, _lib, retain: true, release: true); } static NSData dataWithBytesNoCopy_length_( - AVFAudio _lib, ffi.Pointer bytes, int length) { - final _ret = _lib._objc_msgSend_273(_lib._class_NSData1, - _lib._sel_dataWithBytesNoCopy_length_1, bytes, length); + AVFAudio _lib, + ffi.Pointer bytes, + int length, + ) { + final _ret = _lib._objc_msgSend_273( + _lib._class_NSData1, + _lib._sel_dataWithBytesNoCopy_length_1, + bytes, + length, + ); return NSData._(_ret, _lib, retain: false, release: true); } static NSData dataWithBytesNoCopy_length_freeWhenDone_( - AVFAudio _lib, ffi.Pointer bytes, int length, bool b) { - final _ret = _lib._objc_msgSend_274(_lib._class_NSData1, - _lib._sel_dataWithBytesNoCopy_length_freeWhenDone_1, bytes, length, b); + AVFAudio _lib, + ffi.Pointer bytes, + int length, + bool b, + ) { + final _ret = _lib._objc_msgSend_274( + _lib._class_NSData1, + _lib._sel_dataWithBytesNoCopy_length_freeWhenDone_1, + bytes, + length, + b, + ); return NSData._(_ret, _lib, retain: false, release: true); } static NSData? dataWithContentsOfFile_options_error_( - AVFAudio _lib, - NSString path, - int readOptionsMask, - ffi.Pointer> errorPtr) { + AVFAudio _lib, + NSString path, + int readOptionsMask, + ffi.Pointer> errorPtr, + ) { final _ret = _lib._objc_msgSend_275( - _lib._class_NSData1, - _lib._sel_dataWithContentsOfFile_options_error_1, - path._id, - readOptionsMask, - errorPtr); + _lib._class_NSData1, + _lib._sel_dataWithContentsOfFile_options_error_1, + path.pointer, + readOptionsMask, + errorPtr, + ); return _ret.address == 0 ? null : NSData._(_ret, _lib, retain: true, release: true); } - static NSData? dataWithContentsOfURL_options_error_(AVFAudio _lib, NSURL url, - int readOptionsMask, ffi.Pointer> errorPtr) { + static NSData? dataWithContentsOfURL_options_error_( + AVFAudio _lib, + NSURL url, + int readOptionsMask, + ffi.Pointer> errorPtr, + ) { final _ret = _lib._objc_msgSend_276( - _lib._class_NSData1, - _lib._sel_dataWithContentsOfURL_options_error_1, - url._id, - readOptionsMask, - errorPtr); + _lib._class_NSData1, + _lib._sel_dataWithContentsOfURL_options_error_1, + url.pointer, + readOptionsMask, + errorPtr, + ); return _ret.address == 0 ? null : NSData._(_ret, _lib, retain: true, release: true); @@ -37782,7 +48282,10 @@ class NSData extends NSObject { static NSData? dataWithContentsOfFile_(AVFAudio _lib, NSString path) { final _ret = _lib._objc_msgSend_38( - _lib._class_NSData1, _lib._sel_dataWithContentsOfFile_1, path._id); + _lib._class_NSData1, + _lib._sel_dataWithContentsOfFile_1, + path.pointer, + ); return _ret.address == 0 ? null : NSData._(_ret, _lib, retain: true, release: true); @@ -37790,7 +48293,10 @@ class NSData extends NSObject { static NSData? dataWithContentsOfURL_(AVFAudio _lib, NSURL url) { final _ret = _lib._objc_msgSend_277( - _lib._class_NSData1, _lib._sel_dataWithContentsOfURL_1, url._id); + _lib._class_NSData1, + _lib._sel_dataWithContentsOfURL_1, + url.pointer, + ); return _ret.address == 0 ? null : NSData._(_ret, _lib, retain: true, release: true); @@ -37798,55 +48304,83 @@ class NSData extends NSObject { NSData initWithBytes_length_(ffi.Pointer bytes, int length) { final _ret = _lib._objc_msgSend_273( - _id, _lib._sel_initWithBytes_length_1, bytes, length); + this.pointer, + _lib._sel_initWithBytes_length_1, + bytes, + length, + ); return NSData._(_ret, _lib, retain: true, release: true); } NSData initWithBytesNoCopy_length_(ffi.Pointer bytes, int length) { final _ret = _lib._objc_msgSend_273( - _id, _lib._sel_initWithBytesNoCopy_length_1, bytes, length); + this.pointer, + _lib._sel_initWithBytesNoCopy_length_1, + bytes, + length, + ); return NSData._(_ret, _lib, retain: false, release: true); } NSData initWithBytesNoCopy_length_freeWhenDone_( - ffi.Pointer bytes, int length, bool b) { - final _ret = _lib._objc_msgSend_274(_id, - _lib._sel_initWithBytesNoCopy_length_freeWhenDone_1, bytes, length, b); + ffi.Pointer bytes, + int length, + bool b, + ) { + final _ret = _lib._objc_msgSend_274( + this.pointer, + _lib._sel_initWithBytesNoCopy_length_freeWhenDone_1, + bytes, + length, + b, + ); return NSData._(_ret, _lib, retain: false, release: true); } - NSData initWithBytesNoCopy_length_deallocator_(ffi.Pointer bytes, - int length, ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong? deallocator) { + NSData initWithBytesNoCopy_length_deallocator_( + ffi.Pointer bytes, + int length, + ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong? deallocator, + ) { final _ret = _lib._objc_msgSend_278( - _id, - _lib._sel_initWithBytesNoCopy_length_deallocator_1, - bytes, - length, - deallocator?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_initWithBytesNoCopy_length_deallocator_1, + bytes, + length, + deallocator?.pointer ?? ffi.nullptr, + ); return NSData._(_ret, _lib, retain: false, release: true); } - NSData? initWithContentsOfFile_options_error_(NSString path, - int readOptionsMask, ffi.Pointer> errorPtr) { + NSData? initWithContentsOfFile_options_error_( + NSString path, + int readOptionsMask, + ffi.Pointer> errorPtr, + ) { final _ret = _lib._objc_msgSend_275( - _id, - _lib._sel_initWithContentsOfFile_options_error_1, - path._id, - readOptionsMask, - errorPtr); + this.pointer, + _lib._sel_initWithContentsOfFile_options_error_1, + path.pointer, + readOptionsMask, + errorPtr, + ); return _ret.address == 0 ? null : NSData._(_ret, _lib, retain: true, release: true); } - NSData? initWithContentsOfURL_options_error_(NSURL url, int readOptionsMask, - ffi.Pointer> errorPtr) { + NSData? initWithContentsOfURL_options_error_( + NSURL url, + int readOptionsMask, + ffi.Pointer> errorPtr, + ) { final _ret = _lib._objc_msgSend_276( - _id, - _lib._sel_initWithContentsOfURL_options_error_1, - url._id, - readOptionsMask, - errorPtr); + this.pointer, + _lib._sel_initWithContentsOfURL_options_error_1, + url.pointer, + readOptionsMask, + errorPtr, + ); return _ret.address == 0 ? null : NSData._(_ret, _lib, retain: true, release: true); @@ -37854,39 +48388,54 @@ class NSData extends NSObject { NSData? initWithContentsOfFile_(NSString path) { final _ret = _lib._objc_msgSend_38( - _id, _lib._sel_initWithContentsOfFile_1, path._id); + this.pointer, + _lib._sel_initWithContentsOfFile_1, + path.pointer, + ); return _ret.address == 0 ? null : NSData._(_ret, _lib, retain: true, release: true); } NSData? initWithContentsOfURL_(NSURL url) { - final _ret = - _lib._objc_msgSend_277(_id, _lib._sel_initWithContentsOfURL_1, url._id); + final _ret = _lib._objc_msgSend_277( + this.pointer, + _lib._sel_initWithContentsOfURL_1, + url.pointer, + ); return _ret.address == 0 ? null : NSData._(_ret, _lib, retain: true, release: true); } NSData initWithData_(NSData data) { - final _ret = - _lib._objc_msgSend_279(_id, _lib._sel_initWithData_1, data._id); + final _ret = _lib._objc_msgSend_279( + this.pointer, + _lib._sel_initWithData_1, + data.pointer, + ); return NSData._(_ret, _lib, retain: true, release: true); } static NSData dataWithData_(AVFAudio _lib, NSData data) { final _ret = _lib._objc_msgSend_279( - _lib._class_NSData1, _lib._sel_dataWithData_1, data._id); + _lib._class_NSData1, + _lib._sel_dataWithData_1, + data.pointer, + ); return NSData._(_ret, _lib, retain: true, release: true); } NSData? initWithBase64EncodedString_options_( - NSString base64String, int options) { + NSString base64String, + int options, + ) { final _ret = _lib._objc_msgSend_280( - _id, - _lib._sel_initWithBase64EncodedString_options_1, - base64String._id, - options); + this.pointer, + _lib._sel_initWithBase64EncodedString_options_1, + base64String.pointer, + options, + ); return _ret.address == 0 ? null : NSData._(_ret, _lib, retain: true, release: true); @@ -37894,13 +48443,20 @@ class NSData extends NSObject { NSString base64EncodedStringWithOptions_(int options) { final _ret = _lib._objc_msgSend_281( - _id, _lib._sel_base64EncodedStringWithOptions_1, options); + this.pointer, + _lib._sel_base64EncodedStringWithOptions_1, + options, + ); return NSString._(_ret, _lib, retain: true, release: true); } NSData? initWithBase64EncodedData_options_(NSData base64Data, int options) { - final _ret = _lib._objc_msgSend_282(_id, - _lib._sel_initWithBase64EncodedData_options_1, base64Data._id, options); + final _ret = _lib._objc_msgSend_282( + this.pointer, + _lib._sel_initWithBase64EncodedData_options_1, + base64Data.pointer, + options, + ); return _ret.address == 0 ? null : NSData._(_ret, _lib, retain: true, release: true); @@ -37908,35 +48464,53 @@ class NSData extends NSObject { NSData base64EncodedDataWithOptions_(int options) { final _ret = _lib._objc_msgSend_283( - _id, _lib._sel_base64EncodedDataWithOptions_1, options); + this.pointer, + _lib._sel_base64EncodedDataWithOptions_1, + options, + ); return NSData._(_ret, _lib, retain: true, release: true); } NSData? decompressedDataUsingAlgorithm_error_( - int algorithm, ffi.Pointer> error) { - final _ret = _lib._objc_msgSend_284(_id, - _lib._sel_decompressedDataUsingAlgorithm_error_1, algorithm, error); + int algorithm, + ffi.Pointer> error, + ) { + final _ret = _lib._objc_msgSend_284( + this.pointer, + _lib._sel_decompressedDataUsingAlgorithm_error_1, + algorithm, + error, + ); return _ret.address == 0 ? null : NSData._(_ret, _lib, retain: true, release: true); } NSData? compressedDataUsingAlgorithm_error_( - int algorithm, ffi.Pointer> error) { + int algorithm, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_284( - _id, _lib._sel_compressedDataUsingAlgorithm_error_1, algorithm, error); + this.pointer, + _lib._sel_compressedDataUsingAlgorithm_error_1, + algorithm, + error, + ); return _ret.address == 0 ? null : NSData._(_ret, _lib, retain: true, release: true); } void getBytes_(ffi.Pointer buffer) { - _lib._objc_msgSend_52(_id, _lib._sel_getBytes_1, buffer); + _lib._objc_msgSend_52(this.pointer, _lib._sel_getBytes_1, buffer); } static NSObject? dataWithContentsOfMappedFile_(AVFAudio _lib, NSString path) { - final _ret = _lib._objc_msgSend_38(_lib._class_NSData1, - _lib._sel_dataWithContentsOfMappedFile_1, path._id); + final _ret = _lib._objc_msgSend_38( + _lib._class_NSData1, + _lib._sel_dataWithContentsOfMappedFile_1, + path.pointer, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); @@ -37944,7 +48518,10 @@ class NSData extends NSObject { NSObject? initWithContentsOfMappedFile_(NSString path) { final _ret = _lib._objc_msgSend_38( - _id, _lib._sel_initWithContentsOfMappedFile_1, path._id); + this.pointer, + _lib._sel_initWithContentsOfMappedFile_1, + path.pointer, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); @@ -37952,20 +48529,23 @@ class NSData extends NSObject { NSObject? initWithBase64Encoding_(NSString base64String) { final _ret = _lib._objc_msgSend_38( - _id, _lib._sel_initWithBase64Encoding_1, base64String._id); + this.pointer, + _lib._sel_initWithBase64Encoding_1, + base64String.pointer, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } NSString base64Encoding() { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_base64Encoding1); + final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_base64Encoding1); return NSString._(_ret, _lib, retain: true, release: true); } @override NSData init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSData._(_ret, _lib, retain: true, release: true); } @@ -37976,7 +48556,10 @@ class NSData extends NSObject { static NSData allocWithZone_(AVFAudio _lib, ffi.Pointer<_NSZone> zone) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSData1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSData1, + _lib._sel_allocWithZone_1, + zone, + ); return NSData._(_ret, _lib, retain: false, release: true); } @@ -37986,65 +48569,94 @@ class NSData extends NSObject { } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + AVFAudio _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSData1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSData1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSData1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + AVFAudio _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSData1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { return _lib._objc_msgSend_12( - _lib._class_NSData1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_NSData1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(AVFAudio _lib) { return _lib._objc_msgSend_12( - _lib._class_NSData1, _lib._sel_useStoredAccessor1); + _lib._class_NSData1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSData1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSData1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSData1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSData1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, NSArray keys, NSString dependentKey) { + AVFAudio _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSData1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSData1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { final _ret = _lib._objc_msgSend_85( - _lib._class_NSData1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSData1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(AVFAudio _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSData1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSData1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } @@ -38058,131 +48670,188 @@ final class _NSRange extends ffi.Struct { } class NSURL extends NSObject { - NSURL._(ffi.Pointer id, AVFAudio lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSURL._( + ffi.Pointer pointer, + AVFAudio lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSURL] that points to the same underlying object as [other]. - static NSURL castFrom(T other) { - return NSURL._(other._id, other._lib, retain: true, release: true); + static NSURL castFrom(AVFAudio lib, T other) { + return NSURL._(other.pointer, lib, retain: true, release: true); } /// Returns a [NSURL] that wraps the given raw object pointer. - static NSURL castFromPointer(AVFAudio lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + static NSURL castFromPointer( + AVFAudio lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSURL._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSURL]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_NSURL1); + static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSURL1, + ); } NSURL? initWithScheme_host_path_( - NSString scheme, NSString? host, NSString path) { + NSString scheme, + NSString? host, + NSString path, + ) { final _ret = _lib._objc_msgSend_27( - _id, - _lib._sel_initWithScheme_host_path_1, - scheme._id, - host?._id ?? ffi.nullptr, - path._id); + this.pointer, + _lib._sel_initWithScheme_host_path_1, + scheme.pointer, + host?.pointer ?? ffi.nullptr, + path.pointer, + ); return _ret.address == 0 ? null : NSURL._(_ret, _lib, retain: true, release: true); } NSURL initFileURLWithPath_isDirectory_relativeToURL_( - NSString path, bool isDir, NSURL? baseURL) { + NSString path, + bool isDir, + NSURL? baseURL, + ) { final _ret = _lib._objc_msgSend_28( - _id, - _lib._sel_initFileURLWithPath_isDirectory_relativeToURL_1, - path._id, - isDir, - baseURL?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_initFileURLWithPath_isDirectory_relativeToURL_1, + path.pointer, + isDir, + baseURL?.pointer ?? ffi.nullptr, + ); return NSURL._(_ret, _lib, retain: true, release: true); } NSURL initFileURLWithPath_relativeToURL_(NSString path, NSURL? baseURL) { final _ret = _lib._objc_msgSend_29( - _id, - _lib._sel_initFileURLWithPath_relativeToURL_1, - path._id, - baseURL?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_initFileURLWithPath_relativeToURL_1, + path.pointer, + baseURL?.pointer ?? ffi.nullptr, + ); return NSURL._(_ret, _lib, retain: true, release: true); } NSURL initFileURLWithPath_isDirectory_(NSString path, bool isDir) { final _ret = _lib._objc_msgSend_30( - _id, _lib._sel_initFileURLWithPath_isDirectory_1, path._id, isDir); + this.pointer, + _lib._sel_initFileURLWithPath_isDirectory_1, + path.pointer, + isDir, + ); return NSURL._(_ret, _lib, retain: true, release: true); } NSURL initFileURLWithPath_(NSString path) { - final _ret = - _lib._objc_msgSend_31(_id, _lib._sel_initFileURLWithPath_1, path._id); + final _ret = _lib._objc_msgSend_31( + this.pointer, + _lib._sel_initFileURLWithPath_1, + path.pointer, + ); return NSURL._(_ret, _lib, retain: true, release: true); } static NSURL fileURLWithPath_isDirectory_relativeToURL_( - AVFAudio _lib, NSString path, bool isDir, NSURL? baseURL) { + AVFAudio _lib, + NSString path, + bool isDir, + NSURL? baseURL, + ) { final _ret = _lib._objc_msgSend_32( - _lib._class_NSURL1, - _lib._sel_fileURLWithPath_isDirectory_relativeToURL_1, - path._id, - isDir, - baseURL?._id ?? ffi.nullptr); + _lib._class_NSURL1, + _lib._sel_fileURLWithPath_isDirectory_relativeToURL_1, + path.pointer, + isDir, + baseURL?.pointer ?? ffi.nullptr, + ); return NSURL._(_ret, _lib, retain: true, release: true); } static NSURL fileURLWithPath_relativeToURL_( - AVFAudio _lib, NSString path, NSURL? baseURL) { + AVFAudio _lib, + NSString path, + NSURL? baseURL, + ) { final _ret = _lib._objc_msgSend_33( - _lib._class_NSURL1, - _lib._sel_fileURLWithPath_relativeToURL_1, - path._id, - baseURL?._id ?? ffi.nullptr); + _lib._class_NSURL1, + _lib._sel_fileURLWithPath_relativeToURL_1, + path.pointer, + baseURL?.pointer ?? ffi.nullptr, + ); return NSURL._(_ret, _lib, retain: true, release: true); } static NSURL fileURLWithPath_isDirectory_( - AVFAudio _lib, NSString path, bool isDir) { - final _ret = _lib._objc_msgSend_34(_lib._class_NSURL1, - _lib._sel_fileURLWithPath_isDirectory_1, path._id, isDir); + AVFAudio _lib, + NSString path, + bool isDir, + ) { + final _ret = _lib._objc_msgSend_34( + _lib._class_NSURL1, + _lib._sel_fileURLWithPath_isDirectory_1, + path.pointer, + isDir, + ); return NSURL._(_ret, _lib, retain: true, release: true); } static NSURL fileURLWithPath_(AVFAudio _lib, NSString path) { final _ret = _lib._objc_msgSend_35( - _lib._class_NSURL1, _lib._sel_fileURLWithPath_1, path._id); + _lib._class_NSURL1, + _lib._sel_fileURLWithPath_1, + path.pointer, + ); return NSURL._(_ret, _lib, retain: true, release: true); } NSURL initFileURLWithFileSystemRepresentation_isDirectory_relativeToURL_( - ffi.Pointer path, bool isDir, NSURL? baseURL) { + ffi.Pointer path, + bool isDir, + NSURL? baseURL, + ) { final _ret = _lib._objc_msgSend_36( - _id, - _lib._sel_initFileURLWithFileSystemRepresentation_isDirectory_relativeToURL_1, - path, - isDir, - baseURL?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_initFileURLWithFileSystemRepresentation_isDirectory_relativeToURL_1, + path, + isDir, + baseURL?.pointer ?? ffi.nullptr, + ); return NSURL._(_ret, _lib, retain: true, release: true); } static NSURL fileURLWithFileSystemRepresentation_isDirectory_relativeToURL_( - AVFAudio _lib, ffi.Pointer path, bool isDir, NSURL? baseURL) { + AVFAudio _lib, + ffi.Pointer path, + bool isDir, + NSURL? baseURL, + ) { final _ret = _lib._objc_msgSend_37( - _lib._class_NSURL1, - _lib._sel_fileURLWithFileSystemRepresentation_isDirectory_relativeToURL_1, - path, - isDir, - baseURL?._id ?? ffi.nullptr); + _lib._class_NSURL1, + _lib._sel_fileURLWithFileSystemRepresentation_isDirectory_relativeToURL_1, + path, + isDir, + baseURL?.pointer ?? ffi.nullptr, + ); return NSURL._(_ret, _lib, retain: true, release: true); } NSURL? initWithString_(NSString URLString) { - final _ret = - _lib._objc_msgSend_38(_id, _lib._sel_initWithString_1, URLString._id); + final _ret = _lib._objc_msgSend_38( + this.pointer, + _lib._sel_initWithString_1, + URLString.pointer, + ); return _ret.address == 0 ? null : NSURL._(_ret, _lib, retain: true, release: true); @@ -38190,10 +48859,11 @@ class NSURL extends NSObject { NSURL? initWithString_relativeToURL_(NSString URLString, NSURL? baseURL) { final _ret = _lib._objc_msgSend_39( - _id, - _lib._sel_initWithString_relativeToURL_1, - URLString._id, - baseURL?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_initWithString_relativeToURL_1, + URLString.pointer, + baseURL?.pointer ?? ffi.nullptr, + ); return _ret.address == 0 ? null : NSURL._(_ret, _lib, retain: true, release: true); @@ -38201,43 +48871,57 @@ class NSURL extends NSObject { static NSURL? URLWithString_(AVFAudio _lib, NSString URLString) { final _ret = _lib._objc_msgSend_38( - _lib._class_NSURL1, _lib._sel_URLWithString_1, URLString._id); + _lib._class_NSURL1, + _lib._sel_URLWithString_1, + URLString.pointer, + ); return _ret.address == 0 ? null : NSURL._(_ret, _lib, retain: true, release: true); } static NSURL? URLWithString_relativeToURL_( - AVFAudio _lib, NSString URLString, NSURL? baseURL) { + AVFAudio _lib, + NSString URLString, + NSURL? baseURL, + ) { final _ret = _lib._objc_msgSend_39( - _lib._class_NSURL1, - _lib._sel_URLWithString_relativeToURL_1, - URLString._id, - baseURL?._id ?? ffi.nullptr); + _lib._class_NSURL1, + _lib._sel_URLWithString_relativeToURL_1, + URLString.pointer, + baseURL?.pointer ?? ffi.nullptr, + ); return _ret.address == 0 ? null : NSURL._(_ret, _lib, retain: true, release: true); } NSURL? initWithString_encodingInvalidCharacters_( - NSString URLString, bool encodingInvalidCharacters) { + NSString URLString, + bool encodingInvalidCharacters, + ) { final _ret = _lib._objc_msgSend_40( - _id, - _lib._sel_initWithString_encodingInvalidCharacters_1, - URLString._id, - encodingInvalidCharacters); + this.pointer, + _lib._sel_initWithString_encodingInvalidCharacters_1, + URLString.pointer, + encodingInvalidCharacters, + ); return _ret.address == 0 ? null : NSURL._(_ret, _lib, retain: true, release: true); } static NSURL? URLWithString_encodingInvalidCharacters_( - AVFAudio _lib, NSString URLString, bool encodingInvalidCharacters) { + AVFAudio _lib, + NSString URLString, + bool encodingInvalidCharacters, + ) { final _ret = _lib._objc_msgSend_40( - _lib._class_NSURL1, - _lib._sel_URLWithString_encodingInvalidCharacters_1, - URLString._id, - encodingInvalidCharacters); + _lib._class_NSURL1, + _lib._sel_URLWithString_encodingInvalidCharacters_1, + URLString.pointer, + encodingInvalidCharacters, + ); return _ret.address == 0 ? null : NSURL._(_ret, _lib, retain: true, release: true); @@ -38245,350 +48929,436 @@ class NSURL extends NSObject { NSURL initWithDataRepresentation_relativeToURL_(NSData data, NSURL? baseURL) { final _ret = _lib._objc_msgSend_41( - _id, - _lib._sel_initWithDataRepresentation_relativeToURL_1, - data._id, - baseURL?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_initWithDataRepresentation_relativeToURL_1, + data.pointer, + baseURL?.pointer ?? ffi.nullptr, + ); return NSURL._(_ret, _lib, retain: true, release: true); } static NSURL URLWithDataRepresentation_relativeToURL_( - AVFAudio _lib, NSData data, NSURL? baseURL) { + AVFAudio _lib, + NSData data, + NSURL? baseURL, + ) { final _ret = _lib._objc_msgSend_42( - _lib._class_NSURL1, - _lib._sel_URLWithDataRepresentation_relativeToURL_1, - data._id, - baseURL?._id ?? ffi.nullptr); + _lib._class_NSURL1, + _lib._sel_URLWithDataRepresentation_relativeToURL_1, + data.pointer, + baseURL?.pointer ?? ffi.nullptr, + ); return NSURL._(_ret, _lib, retain: true, release: true); } NSURL initAbsoluteURLWithDataRepresentation_relativeToURL_( - NSData data, NSURL? baseURL) { + NSData data, + NSURL? baseURL, + ) { final _ret = _lib._objc_msgSend_41( - _id, - _lib._sel_initAbsoluteURLWithDataRepresentation_relativeToURL_1, - data._id, - baseURL?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_initAbsoluteURLWithDataRepresentation_relativeToURL_1, + data.pointer, + baseURL?.pointer ?? ffi.nullptr, + ); return NSURL._(_ret, _lib, retain: true, release: true); } static NSURL absoluteURLWithDataRepresentation_relativeToURL_( - AVFAudio _lib, NSData data, NSURL? baseURL) { + AVFAudio _lib, + NSData data, + NSURL? baseURL, + ) { final _ret = _lib._objc_msgSend_42( - _lib._class_NSURL1, - _lib._sel_absoluteURLWithDataRepresentation_relativeToURL_1, - data._id, - baseURL?._id ?? ffi.nullptr); + _lib._class_NSURL1, + _lib._sel_absoluteURLWithDataRepresentation_relativeToURL_1, + data.pointer, + baseURL?.pointer ?? ffi.nullptr, + ); return NSURL._(_ret, _lib, retain: true, release: true); } NSData get dataRepresentation { - final _ret = _lib._objc_msgSend_43(_id, _lib._sel_dataRepresentation1); + final _ret = _lib._objc_msgSend_43( + this.pointer, + _lib._sel_dataRepresentation1, + ); return NSData._(_ret, _lib, retain: true, release: true); } NSString? get absoluteString { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_absoluteString1); + final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_absoluteString1); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } NSString get relativeString { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_relativeString1); + final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_relativeString1); return NSString._(_ret, _lib, retain: true, release: true); } NSURL? get baseURL { - final _ret = _lib._objc_msgSend_45(_id, _lib._sel_baseURL1); + final _ret = _lib._objc_msgSend_45(this.pointer, _lib._sel_baseURL1); return _ret.address == 0 ? null : NSURL._(_ret, _lib, retain: true, release: true); } NSURL? get absoluteURL { - final _ret = _lib._objc_msgSend_45(_id, _lib._sel_absoluteURL1); + final _ret = _lib._objc_msgSend_45(this.pointer, _lib._sel_absoluteURL1); return _ret.address == 0 ? null : NSURL._(_ret, _lib, retain: true, release: true); } NSString? get scheme { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_scheme1); + final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_scheme1); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } NSString? get resourceSpecifier { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_resourceSpecifier1); + final _ret = _lib._objc_msgSend_44( + this.pointer, + _lib._sel_resourceSpecifier1, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } NSString? get host { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_host1); + final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_host1); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } NSNumber? get port { - final _ret = _lib._objc_msgSend_215(_id, _lib._sel_port1); + final _ret = _lib._objc_msgSend_215(this.pointer, _lib._sel_port1); return _ret.address == 0 ? null : NSNumber._(_ret, _lib, retain: true, release: true); } NSString? get user { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_user1); + final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_user1); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } NSString? get password { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_password1); + final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_password1); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } NSString? get path { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_path1); + final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_path1); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } NSString? get fragment { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_fragment1); + final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_fragment1); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } NSString? get parameterString { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_parameterString1); + final _ret = _lib._objc_msgSend_44( + this.pointer, + _lib._sel_parameterString1, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } NSString? get query { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_query1); + final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_query1); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } NSString? get relativePath { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_relativePath1); + final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_relativePath1); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } bool get hasDirectoryPath { - return _lib._objc_msgSend_12(_id, _lib._sel_hasDirectoryPath1); + return _lib._objc_msgSend_12(this.pointer, _lib._sel_hasDirectoryPath1); } bool getFileSystemRepresentation_maxLength_( - ffi.Pointer buffer, int maxBufferLength) { + ffi.Pointer buffer, + int maxBufferLength, + ) { return _lib._objc_msgSend_242( - _id, - _lib._sel_getFileSystemRepresentation_maxLength_1, - buffer, - maxBufferLength); + this.pointer, + _lib._sel_getFileSystemRepresentation_maxLength_1, + buffer, + maxBufferLength, + ); } ffi.Pointer get fileSystemRepresentation { - return _lib._objc_msgSend_13(_id, _lib._sel_fileSystemRepresentation1); + return _lib._objc_msgSend_13( + this.pointer, + _lib._sel_fileSystemRepresentation1, + ); } bool get fileURL { - return _lib._objc_msgSend_12(_id, _lib._sel_isFileURL1); + return _lib._objc_msgSend_12(this.pointer, _lib._sel_isFileURL1); } NSURL? get standardizedURL { - final _ret = _lib._objc_msgSend_45(_id, _lib._sel_standardizedURL1); + final _ret = _lib._objc_msgSend_45( + this.pointer, + _lib._sel_standardizedURL1, + ); return _ret.address == 0 ? null : NSURL._(_ret, _lib, retain: true, release: true); } bool isFileReferenceURL() { - return _lib._objc_msgSend_12(_id, _lib._sel_isFileReferenceURL1); + return _lib._objc_msgSend_12(this.pointer, _lib._sel_isFileReferenceURL1); } NSURL? fileReferenceURL() { - final _ret = _lib._objc_msgSend_45(_id, _lib._sel_fileReferenceURL1); + final _ret = _lib._objc_msgSend_45( + this.pointer, + _lib._sel_fileReferenceURL1, + ); return _ret.address == 0 ? null : NSURL._(_ret, _lib, retain: true, release: true); } NSURL? get filePathURL { - final _ret = _lib._objc_msgSend_45(_id, _lib._sel_filePathURL1); + final _ret = _lib._objc_msgSend_45(this.pointer, _lib._sel_filePathURL1); return _ret.address == 0 ? null : NSURL._(_ret, _lib, retain: true, release: true); } bool getResourceValue_forKey_error_( - ffi.Pointer> value, - NSString key, - ffi.Pointer> error) { + ffi.Pointer> value, + NSString key, + ffi.Pointer> error, + ) { return _lib._objc_msgSend_243( - _id, _lib._sel_getResourceValue_forKey_error_1, value, key._id, error); + this.pointer, + _lib._sel_getResourceValue_forKey_error_1, + value, + key.pointer, + error, + ); } NSObject? resourceValuesForKeys_error_( - NSArray keys, ffi.Pointer> error) { + NSArray keys, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_244( - _id, _lib._sel_resourceValuesForKeys_error_1, keys._id, error); + this.pointer, + _lib._sel_resourceValuesForKeys_error_1, + keys.pointer, + error, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } - bool setResourceValue_forKey_error_(NSObject? value, NSString key, - ffi.Pointer> error) { + bool setResourceValue_forKey_error_( + NSObject? value, + NSString key, + ffi.Pointer> error, + ) { return _lib._objc_msgSend_245( - _id, - _lib._sel_setResourceValue_forKey_error_1, - value?._id ?? ffi.nullptr, - key._id, - error); + this.pointer, + _lib._sel_setResourceValue_forKey_error_1, + value?.pointer ?? ffi.nullptr, + key.pointer, + error, + ); } bool setResourceValues_error_( - NSObject keyedValues, ffi.Pointer> error) { + NSObject keyedValues, + ffi.Pointer> error, + ) { return _lib._objc_msgSend_246( - _id, _lib._sel_setResourceValues_error_1, keyedValues._id, error); + this.pointer, + _lib._sel_setResourceValues_error_1, + keyedValues.pointer, + error, + ); } void removeCachedResourceValueForKey_(NSString key) { _lib._objc_msgSend_247( - _id, _lib._sel_removeCachedResourceValueForKey_1, key._id); + this.pointer, + _lib._sel_removeCachedResourceValueForKey_1, + key.pointer, + ); } void removeAllCachedResourceValues() { - _lib._objc_msgSend_1(_id, _lib._sel_removeAllCachedResourceValues1); + _lib._objc_msgSend_1( + this.pointer, + _lib._sel_removeAllCachedResourceValues1, + ); } void setTemporaryResourceValue_forKey_(NSObject? value, NSString key) { - _lib._objc_msgSend_135(_id, _lib._sel_setTemporaryResourceValue_forKey_1, - value?._id ?? ffi.nullptr, key._id); + _lib._objc_msgSend_135( + this.pointer, + _lib._sel_setTemporaryResourceValue_forKey_1, + value?.pointer ?? ffi.nullptr, + key.pointer, + ); } NSData? - bookmarkDataWithOptions_includingResourceValuesForKeys_relativeToURL_error_( - int options, - NSArray? keys, - NSURL? relativeURL, - ffi.Pointer> error) { + bookmarkDataWithOptions_includingResourceValuesForKeys_relativeToURL_error_( + int options, + NSArray? keys, + NSURL? relativeURL, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_248( - _id, - _lib._sel_bookmarkDataWithOptions_includingResourceValuesForKeys_relativeToURL_error_1, - options, - keys?._id ?? ffi.nullptr, - relativeURL?._id ?? ffi.nullptr, - error); + this.pointer, + _lib._sel_bookmarkDataWithOptions_includingResourceValuesForKeys_relativeToURL_error_1, + options, + keys?.pointer ?? ffi.nullptr, + relativeURL?.pointer ?? ffi.nullptr, + error, + ); return _ret.address == 0 ? null : NSData._(_ret, _lib, retain: true, release: true); } NSURL? - initByResolvingBookmarkData_options_relativeToURL_bookmarkDataIsStale_error_( - NSData bookmarkData, - int options, - NSURL? relativeURL, - ffi.Pointer isStale, - ffi.Pointer> error) { + initByResolvingBookmarkData_options_relativeToURL_bookmarkDataIsStale_error_( + NSData bookmarkData, + int options, + NSURL? relativeURL, + ffi.Pointer isStale, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_249( - _id, - _lib._sel_initByResolvingBookmarkData_options_relativeToURL_bookmarkDataIsStale_error_1, - bookmarkData._id, - options, - relativeURL?._id ?? ffi.nullptr, - isStale, - error); + this.pointer, + _lib._sel_initByResolvingBookmarkData_options_relativeToURL_bookmarkDataIsStale_error_1, + bookmarkData.pointer, + options, + relativeURL?.pointer ?? ffi.nullptr, + isStale, + error, + ); return _ret.address == 0 ? null : NSURL._(_ret, _lib, retain: true, release: true); } static NSURL? - URLByResolvingBookmarkData_options_relativeToURL_bookmarkDataIsStale_error_( - AVFAudio _lib, - NSData bookmarkData, - int options, - NSURL? relativeURL, - ffi.Pointer isStale, - ffi.Pointer> error) { + URLByResolvingBookmarkData_options_relativeToURL_bookmarkDataIsStale_error_( + AVFAudio _lib, + NSData bookmarkData, + int options, + NSURL? relativeURL, + ffi.Pointer isStale, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_249( - _lib._class_NSURL1, - _lib._sel_URLByResolvingBookmarkData_options_relativeToURL_bookmarkDataIsStale_error_1, - bookmarkData._id, - options, - relativeURL?._id ?? ffi.nullptr, - isStale, - error); + _lib._class_NSURL1, + _lib._sel_URLByResolvingBookmarkData_options_relativeToURL_bookmarkDataIsStale_error_1, + bookmarkData.pointer, + options, + relativeURL?.pointer ?? ffi.nullptr, + isStale, + error, + ); return _ret.address == 0 ? null : NSURL._(_ret, _lib, retain: true, release: true); } static NSObject? resourceValuesForKeys_fromBookmarkData_( - AVFAudio _lib, NSArray keys, NSData bookmarkData) { + AVFAudio _lib, + NSArray keys, + NSData bookmarkData, + ) { final _ret = _lib._objc_msgSend_250( - _lib._class_NSURL1, - _lib._sel_resourceValuesForKeys_fromBookmarkData_1, - keys._id, - bookmarkData._id); + _lib._class_NSURL1, + _lib._sel_resourceValuesForKeys_fromBookmarkData_1, + keys.pointer, + bookmarkData.pointer, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } static bool writeBookmarkData_toURL_options_error_( - AVFAudio _lib, - NSData bookmarkData, - NSURL bookmarkFileURL, - int options, - ffi.Pointer> error) { + AVFAudio _lib, + NSData bookmarkData, + NSURL bookmarkFileURL, + int options, + ffi.Pointer> error, + ) { return _lib._objc_msgSend_251( - _lib._class_NSURL1, - _lib._sel_writeBookmarkData_toURL_options_error_1, - bookmarkData._id, - bookmarkFileURL._id, - options, - error); + _lib._class_NSURL1, + _lib._sel_writeBookmarkData_toURL_options_error_1, + bookmarkData.pointer, + bookmarkFileURL.pointer, + options, + error, + ); } - static NSData? bookmarkDataWithContentsOfURL_error_(AVFAudio _lib, - NSURL bookmarkFileURL, ffi.Pointer> error) { + static NSData? bookmarkDataWithContentsOfURL_error_( + AVFAudio _lib, + NSURL bookmarkFileURL, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_252( - _lib._class_NSURL1, - _lib._sel_bookmarkDataWithContentsOfURL_error_1, - bookmarkFileURL._id, - error); + _lib._class_NSURL1, + _lib._sel_bookmarkDataWithContentsOfURL_error_1, + bookmarkFileURL.pointer, + error, + ); return _ret.address == 0 ? null : NSData._(_ret, _lib, retain: true, release: true); } - static NSURL? URLByResolvingAliasFileAtURL_options_error_(AVFAudio _lib, - NSURL url, int options, ffi.Pointer> error) { + static NSURL? URLByResolvingAliasFileAtURL_options_error_( + AVFAudio _lib, + NSURL url, + int options, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_253( - _lib._class_NSURL1, - _lib._sel_URLByResolvingAliasFileAtURL_options_error_1, - url._id, - options, - error); + _lib._class_NSURL1, + _lib._sel_URLByResolvingAliasFileAtURL_options_error_1, + url.pointer, + options, + error, + ); return _ret.address == 0 ? null : NSURL._(_ret, _lib, retain: true, release: true); @@ -38596,64 +49366,87 @@ class NSURL extends NSObject { bool startAccessingSecurityScopedResource() { return _lib._objc_msgSend_12( - _id, _lib._sel_startAccessingSecurityScopedResource1); + this.pointer, + _lib._sel_startAccessingSecurityScopedResource1, + ); } void stopAccessingSecurityScopedResource() { - _lib._objc_msgSend_1(_id, _lib._sel_stopAccessingSecurityScopedResource1); + _lib._objc_msgSend_1( + this.pointer, + _lib._sel_stopAccessingSecurityScopedResource1, + ); } bool getPromisedItemResourceValue_forKey_error_( - ffi.Pointer> value, - NSString key, - ffi.Pointer> error) { + ffi.Pointer> value, + NSString key, + ffi.Pointer> error, + ) { return _lib._objc_msgSend_243( - _id, - _lib._sel_getPromisedItemResourceValue_forKey_error_1, - value, - key._id, - error); + this.pointer, + _lib._sel_getPromisedItemResourceValue_forKey_error_1, + value, + key.pointer, + error, + ); } NSDictionary? promisedItemResourceValuesForKeys_error_( - NSArray keys, ffi.Pointer> error) { - final _ret = _lib._objc_msgSend_254(_id, - _lib._sel_promisedItemResourceValuesForKeys_error_1, keys._id, error); + NSArray keys, + ffi.Pointer> error, + ) { + final _ret = _lib._objc_msgSend_254( + this.pointer, + _lib._sel_promisedItemResourceValuesForKeys_error_1, + keys.pointer, + error, + ); return _ret.address == 0 ? null : NSDictionary._(_ret, _lib, retain: true, release: true); } bool checkPromisedItemIsReachableAndReturnError_( - ffi.Pointer> error) { + ffi.Pointer> error, + ) { return _lib._objc_msgSend_255( - _id, _lib._sel_checkPromisedItemIsReachableAndReturnError_1, error); + this.pointer, + _lib._sel_checkPromisedItemIsReachableAndReturnError_1, + error, + ); } static NSURL? fileURLWithPathComponents_(AVFAudio _lib, NSArray components) { - final _ret = _lib._objc_msgSend_256(_lib._class_NSURL1, - _lib._sel_fileURLWithPathComponents_1, components._id); + final _ret = _lib._objc_msgSend_256( + _lib._class_NSURL1, + _lib._sel_fileURLWithPathComponents_1, + components.pointer, + ); return _ret.address == 0 ? null : NSURL._(_ret, _lib, retain: true, release: true); } NSArray? get pathComponents { - final _ret = _lib._objc_msgSend_84(_id, _lib._sel_pathComponents1); + final _ret = _lib._objc_msgSend_84(this.pointer, _lib._sel_pathComponents1); return _ret.address == 0 ? null : NSArray._(_ret, _lib, retain: true, release: true); } NSString? get lastPathComponent { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_lastPathComponent1); + final _ret = _lib._objc_msgSend_44( + this.pointer, + _lib._sel_lastPathComponent1, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } NSString? get pathExtension { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_pathExtension1); + final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_pathExtension1); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); @@ -38661,27 +49454,35 @@ class NSURL extends NSObject { NSURL? URLByAppendingPathComponent_(NSString pathComponent) { final _ret = _lib._objc_msgSend_257( - _id, _lib._sel_URLByAppendingPathComponent_1, pathComponent._id); + this.pointer, + _lib._sel_URLByAppendingPathComponent_1, + pathComponent.pointer, + ); return _ret.address == 0 ? null : NSURL._(_ret, _lib, retain: true, release: true); } NSURL? URLByAppendingPathComponent_isDirectory_( - NSString pathComponent, bool isDirectory) { + NSString pathComponent, + bool isDirectory, + ) { final _ret = _lib._objc_msgSend_258( - _id, - _lib._sel_URLByAppendingPathComponent_isDirectory_1, - pathComponent._id, - isDirectory); + this.pointer, + _lib._sel_URLByAppendingPathComponent_isDirectory_1, + pathComponent.pointer, + isDirectory, + ); return _ret.address == 0 ? null : NSURL._(_ret, _lib, retain: true, release: true); } NSURL? get URLByDeletingLastPathComponent { - final _ret = - _lib._objc_msgSend_45(_id, _lib._sel_URLByDeletingLastPathComponent1); + final _ret = _lib._objc_msgSend_45( + this.pointer, + _lib._sel_URLByDeletingLastPathComponent1, + ); return _ret.address == 0 ? null : NSURL._(_ret, _lib, retain: true, release: true); @@ -38689,36 +49490,50 @@ class NSURL extends NSObject { NSURL? URLByAppendingPathExtension_(NSString pathExtension) { final _ret = _lib._objc_msgSend_257( - _id, _lib._sel_URLByAppendingPathExtension_1, pathExtension._id); + this.pointer, + _lib._sel_URLByAppendingPathExtension_1, + pathExtension.pointer, + ); return _ret.address == 0 ? null : NSURL._(_ret, _lib, retain: true, release: true); } NSURL? get URLByDeletingPathExtension { - final _ret = - _lib._objc_msgSend_45(_id, _lib._sel_URLByDeletingPathExtension1); + final _ret = _lib._objc_msgSend_45( + this.pointer, + _lib._sel_URLByDeletingPathExtension1, + ); return _ret.address == 0 ? null : NSURL._(_ret, _lib, retain: true, release: true); } bool checkResourceIsReachableAndReturnError_( - ffi.Pointer> error) { + ffi.Pointer> error, + ) { return _lib._objc_msgSend_255( - _id, _lib._sel_checkResourceIsReachableAndReturnError_1, error); + this.pointer, + _lib._sel_checkResourceIsReachableAndReturnError_1, + error, + ); } NSURL? get URLByStandardizingPath { - final _ret = _lib._objc_msgSend_45(_id, _lib._sel_URLByStandardizingPath1); + final _ret = _lib._objc_msgSend_45( + this.pointer, + _lib._sel_URLByStandardizingPath1, + ); return _ret.address == 0 ? null : NSURL._(_ret, _lib, retain: true, release: true); } NSURL? get URLByResolvingSymlinksInPath { - final _ret = - _lib._objc_msgSend_45(_id, _lib._sel_URLByResolvingSymlinksInPath1); + final _ret = _lib._objc_msgSend_45( + this.pointer, + _lib._sel_URLByResolvingSymlinksInPath1, + ); return _ret.address == 0 ? null : NSURL._(_ret, _lib, retain: true, release: true); @@ -38726,41 +49541,61 @@ class NSURL extends NSObject { NSData? resourceDataUsingCache_(bool shouldUseCache) { final _ret = _lib._objc_msgSend_259( - _id, _lib._sel_resourceDataUsingCache_1, shouldUseCache); + this.pointer, + _lib._sel_resourceDataUsingCache_1, + shouldUseCache, + ); return _ret.address == 0 ? null : NSData._(_ret, _lib, retain: true, release: true); } void loadResourceDataNotifyingClient_usingCache_( - NSObject client, bool shouldUseCache) { + NSObject client, + bool shouldUseCache, + ) { _lib._objc_msgSend_260( - _id, - _lib._sel_loadResourceDataNotifyingClient_usingCache_1, - client._id, - shouldUseCache); + this.pointer, + _lib._sel_loadResourceDataNotifyingClient_usingCache_1, + client.pointer, + shouldUseCache, + ); } NSObject? propertyForKey_(NSString propertyKey) { - final _ret = - _lib._objc_msgSend_38(_id, _lib._sel_propertyForKey_1, propertyKey._id); + final _ret = _lib._objc_msgSend_38( + this.pointer, + _lib._sel_propertyForKey_1, + propertyKey.pointer, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } bool setResourceData_(NSData data) { - return _lib._objc_msgSend_24(_id, _lib._sel_setResourceData_1, data._id); + return _lib._objc_msgSend_24( + this.pointer, + _lib._sel_setResourceData_1, + data.pointer, + ); } bool setProperty_forKey_(NSObject property, NSString propertyKey) { return _lib._objc_msgSend_261( - _id, _lib._sel_setProperty_forKey_1, property._id, propertyKey._id); + this.pointer, + _lib._sel_setProperty_forKey_1, + property.pointer, + propertyKey.pointer, + ); } NSURLHandle? URLHandleUsingCache_(bool shouldUseCache) { final _ret = _lib._objc_msgSend_268( - _id, _lib._sel_URLHandleUsingCache_1, shouldUseCache); + this.pointer, + _lib._sel_URLHandleUsingCache_1, + shouldUseCache, + ); return _ret.address == 0 ? null : NSURLHandle._(_ret, _lib, retain: true, release: true); @@ -38768,7 +49603,7 @@ class NSURL extends NSObject { @override NSURL init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSURL._(_ret, _lib, retain: true, release: true); } @@ -38779,7 +49614,10 @@ class NSURL extends NSObject { static NSURL allocWithZone_(AVFAudio _lib, ffi.Pointer<_NSZone> zone) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSURL1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSURL1, + _lib._sel_allocWithZone_1, + zone, + ); return NSURL._(_ret, _lib, retain: false, release: true); } @@ -38789,425 +49627,626 @@ class NSURL extends NSObject { } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + AVFAudio _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSURL1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSURL1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSURL1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + AVFAudio _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSURL1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { return _lib._objc_msgSend_12( - _lib._class_NSURL1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_NSURL1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(AVFAudio _lib) { return _lib._objc_msgSend_12( - _lib._class_NSURL1, _lib._sel_useStoredAccessor1); + _lib._class_NSURL1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSURL1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSURL1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSURL1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSURL1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, NSArray keys, NSString dependentKey) { + AVFAudio _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSURL1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSURL1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { final _ret = _lib._objc_msgSend_85( - _lib._class_NSURL1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSURL1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(AVFAudio _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSURL1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSURL1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } class NSNumber extends NSValue { - NSNumber._(ffi.Pointer id, AVFAudio lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSNumber._( + ffi.Pointer pointer, + AVFAudio lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSNumber] that points to the same underlying object as [other]. - static NSNumber castFrom(T other) { - return NSNumber._(other._id, other._lib, retain: true, release: true); + static NSNumber castFrom( + AVFAudio lib, + T other, + ) { + return NSNumber._(other.pointer, lib, retain: true, release: true); } /// Returns a [NSNumber] that wraps the given raw object pointer. - static NSNumber castFromPointer(AVFAudio lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + static NSNumber castFromPointer( + AVFAudio lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSNumber._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSNumber]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_NSNumber1); + static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSNumber1, + ); } @override NSNumber? initWithCoder_(NSCoder coder) { - final _ret = - _lib._objc_msgSend_47(_id, _lib._sel_initWithCoder_1, coder._id); + final _ret = _lib._objc_msgSend_47( + this.pointer, + _lib._sel_initWithCoder_1, + coder.pointer, + ); return _ret.address == 0 ? null : NSNumber._(_ret, _lib, retain: true, release: true); } NSNumber initWithChar_(int value) { - final _ret = _lib._objc_msgSend_220(_id, _lib._sel_initWithChar_1, value); + final _ret = _lib._objc_msgSend_220( + this.pointer, + _lib._sel_initWithChar_1, + value, + ); return NSNumber._(_ret, _lib, retain: true, release: true); } NSNumber initWithUnsignedChar_(int value) { - final _ret = - _lib._objc_msgSend_221(_id, _lib._sel_initWithUnsignedChar_1, value); + final _ret = _lib._objc_msgSend_221( + this.pointer, + _lib._sel_initWithUnsignedChar_1, + value, + ); return NSNumber._(_ret, _lib, retain: true, release: true); } NSNumber initWithShort_(int value) { - final _ret = _lib._objc_msgSend_222(_id, _lib._sel_initWithShort_1, value); + final _ret = _lib._objc_msgSend_222( + this.pointer, + _lib._sel_initWithShort_1, + value, + ); return NSNumber._(_ret, _lib, retain: true, release: true); } NSNumber initWithUnsignedShort_(int value) { - final _ret = - _lib._objc_msgSend_223(_id, _lib._sel_initWithUnsignedShort_1, value); + final _ret = _lib._objc_msgSend_223( + this.pointer, + _lib._sel_initWithUnsignedShort_1, + value, + ); return NSNumber._(_ret, _lib, retain: true, release: true); } NSNumber initWithInt_(int value) { - final _ret = _lib._objc_msgSend_224(_id, _lib._sel_initWithInt_1, value); + final _ret = _lib._objc_msgSend_224( + this.pointer, + _lib._sel_initWithInt_1, + value, + ); return NSNumber._(_ret, _lib, retain: true, release: true); } NSNumber initWithUnsignedInt_(int value) { - final _ret = - _lib._objc_msgSend_225(_id, _lib._sel_initWithUnsignedInt_1, value); + final _ret = _lib._objc_msgSend_225( + this.pointer, + _lib._sel_initWithUnsignedInt_1, + value, + ); return NSNumber._(_ret, _lib, retain: true, release: true); } NSNumber initWithLong_(int value) { - final _ret = _lib._objc_msgSend_226(_id, _lib._sel_initWithLong_1, value); + final _ret = _lib._objc_msgSend_226( + this.pointer, + _lib._sel_initWithLong_1, + value, + ); return NSNumber._(_ret, _lib, retain: true, release: true); } NSNumber initWithUnsignedLong_(int value) { - final _ret = - _lib._objc_msgSend_227(_id, _lib._sel_initWithUnsignedLong_1, value); + final _ret = _lib._objc_msgSend_227( + this.pointer, + _lib._sel_initWithUnsignedLong_1, + value, + ); return NSNumber._(_ret, _lib, retain: true, release: true); } NSNumber initWithLongLong_(int value) { - final _ret = - _lib._objc_msgSend_228(_id, _lib._sel_initWithLongLong_1, value); + final _ret = _lib._objc_msgSend_228( + this.pointer, + _lib._sel_initWithLongLong_1, + value, + ); return NSNumber._(_ret, _lib, retain: true, release: true); } NSNumber initWithUnsignedLongLong_(int value) { final _ret = _lib._objc_msgSend_229( - _id, _lib._sel_initWithUnsignedLongLong_1, value); + this.pointer, + _lib._sel_initWithUnsignedLongLong_1, + value, + ); return NSNumber._(_ret, _lib, retain: true, release: true); } NSNumber initWithFloat_(double value) { - final _ret = _lib._objc_msgSend_230(_id, _lib._sel_initWithFloat_1, value); + final _ret = _lib._objc_msgSend_230( + this.pointer, + _lib._sel_initWithFloat_1, + value, + ); return NSNumber._(_ret, _lib, retain: true, release: true); } NSNumber initWithDouble_(double value) { - final _ret = _lib._objc_msgSend_231(_id, _lib._sel_initWithDouble_1, value); + final _ret = _lib._objc_msgSend_231( + this.pointer, + _lib._sel_initWithDouble_1, + value, + ); return NSNumber._(_ret, _lib, retain: true, release: true); } NSNumber initWithBool_(bool value) { - final _ret = _lib._objc_msgSend_232(_id, _lib._sel_initWithBool_1, value); + final _ret = _lib._objc_msgSend_232( + this.pointer, + _lib._sel_initWithBool_1, + value, + ); return NSNumber._(_ret, _lib, retain: true, release: true); } NSNumber initWithInteger_(int value) { - final _ret = - _lib._objc_msgSend_226(_id, _lib._sel_initWithInteger_1, value); + final _ret = _lib._objc_msgSend_226( + this.pointer, + _lib._sel_initWithInteger_1, + value, + ); return NSNumber._(_ret, _lib, retain: true, release: true); } NSNumber initWithUnsignedInteger_(int value) { - final _ret = - _lib._objc_msgSend_227(_id, _lib._sel_initWithUnsignedInteger_1, value); + final _ret = _lib._objc_msgSend_227( + this.pointer, + _lib._sel_initWithUnsignedInteger_1, + value, + ); return NSNumber._(_ret, _lib, retain: true, release: true); } int get charValue { - return _lib._objc_msgSend_233(_id, _lib._sel_charValue1); + return _lib._objc_msgSend_233(this.pointer, _lib._sel_charValue1); } int get unsignedCharValue { - return _lib._objc_msgSend_234(_id, _lib._sel_unsignedCharValue1); + return _lib._objc_msgSend_234(this.pointer, _lib._sel_unsignedCharValue1); } int get shortValue { - return _lib._objc_msgSend_235(_id, _lib._sel_shortValue1); + return _lib._objc_msgSend_235(this.pointer, _lib._sel_shortValue1); } int get unsignedShortValue { - return _lib._objc_msgSend_236(_id, _lib._sel_unsignedShortValue1); + return _lib._objc_msgSend_236(this.pointer, _lib._sel_unsignedShortValue1); } int get intValue { - return _lib._objc_msgSend_237(_id, _lib._sel_intValue1); + return _lib._objc_msgSend_237(this.pointer, _lib._sel_intValue1); } int get unsignedIntValue { - return _lib._objc_msgSend_214(_id, _lib._sel_unsignedIntValue1); + return _lib._objc_msgSend_214(this.pointer, _lib._sel_unsignedIntValue1); } int get longValue { - return _lib._objc_msgSend_83(_id, _lib._sel_longValue1); + return _lib._objc_msgSend_83(this.pointer, _lib._sel_longValue1); } int get unsignedLongValue { - return _lib._objc_msgSend_10(_id, _lib._sel_unsignedLongValue1); + return _lib._objc_msgSend_10(this.pointer, _lib._sel_unsignedLongValue1); } int get longLongValue { - return _lib._objc_msgSend_238(_id, _lib._sel_longLongValue1); + return _lib._objc_msgSend_238(this.pointer, _lib._sel_longLongValue1); } int get unsignedLongLongValue { - return _lib._objc_msgSend_164(_id, _lib._sel_unsignedLongLongValue1); + return _lib._objc_msgSend_164( + this.pointer, + _lib._sel_unsignedLongLongValue1, + ); } double get floatValue { - return _lib._objc_msgSend_useVariants1 - ? _lib._objc_msgSend_239_fpret(_id, _lib._sel_floatValue1) - : _lib._objc_msgSend_239(_id, _lib._sel_floatValue1); + return objc.useMsgSendVariants + ? _lib._objc_msgSend_239_fpret(this.pointer, _lib._sel_floatValue1) + : _lib._objc_msgSend_239(this.pointer, _lib._sel_floatValue1); } double get doubleValue { - return _lib._objc_msgSend_useVariants1 - ? _lib._objc_msgSend_165_fpret(_id, _lib._sel_doubleValue1) - : _lib._objc_msgSend_165(_id, _lib._sel_doubleValue1); + return objc.useMsgSendVariants + ? _lib._objc_msgSend_165_fpret(this.pointer, _lib._sel_doubleValue1) + : _lib._objc_msgSend_165(this.pointer, _lib._sel_doubleValue1); } bool get boolValue { - return _lib._objc_msgSend_12(_id, _lib._sel_boolValue1); + return _lib._objc_msgSend_12(this.pointer, _lib._sel_boolValue1); } int get integerValue { - return _lib._objc_msgSend_83(_id, _lib._sel_integerValue1); + return _lib._objc_msgSend_83(this.pointer, _lib._sel_integerValue1); } int get unsignedIntegerValue { - return _lib._objc_msgSend_10(_id, _lib._sel_unsignedIntegerValue1); + return _lib._objc_msgSend_10(this.pointer, _lib._sel_unsignedIntegerValue1); } NSString get stringValue { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_stringValue1); + final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_stringValue1); return NSString._(_ret, _lib, retain: true, release: true); } int compare_(NSNumber otherNumber) { - return _lib._objc_msgSend_240(_id, _lib._sel_compare_1, otherNumber._id); + return _lib._objc_msgSend_240( + this.pointer, + _lib._sel_compare_1, + otherNumber.pointer, + ); } bool isEqualToNumber_(NSNumber number) { - return _lib._objc_msgSend_241(_id, _lib._sel_isEqualToNumber_1, number._id); + return _lib._objc_msgSend_241( + this.pointer, + _lib._sel_isEqualToNumber_1, + number.pointer, + ); } NSString descriptionWithLocale_(NSObject? locale) { final _ret = _lib._objc_msgSend_70( - _id, _lib._sel_descriptionWithLocale_1, locale?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_descriptionWithLocale_1, + locale?.pointer ?? ffi.nullptr, + ); return NSString._(_ret, _lib, retain: true, release: true); } static NSNumber numberWithChar_(AVFAudio _lib, int value) { final _ret = _lib._objc_msgSend_220( - _lib._class_NSNumber1, _lib._sel_numberWithChar_1, value); + _lib._class_NSNumber1, + _lib._sel_numberWithChar_1, + value, + ); return NSNumber._(_ret, _lib, retain: true, release: true); } static NSNumber numberWithUnsignedChar_(AVFAudio _lib, int value) { final _ret = _lib._objc_msgSend_221( - _lib._class_NSNumber1, _lib._sel_numberWithUnsignedChar_1, value); + _lib._class_NSNumber1, + _lib._sel_numberWithUnsignedChar_1, + value, + ); return NSNumber._(_ret, _lib, retain: true, release: true); } static NSNumber numberWithShort_(AVFAudio _lib, int value) { final _ret = _lib._objc_msgSend_222( - _lib._class_NSNumber1, _lib._sel_numberWithShort_1, value); + _lib._class_NSNumber1, + _lib._sel_numberWithShort_1, + value, + ); return NSNumber._(_ret, _lib, retain: true, release: true); } static NSNumber numberWithUnsignedShort_(AVFAudio _lib, int value) { final _ret = _lib._objc_msgSend_223( - _lib._class_NSNumber1, _lib._sel_numberWithUnsignedShort_1, value); + _lib._class_NSNumber1, + _lib._sel_numberWithUnsignedShort_1, + value, + ); return NSNumber._(_ret, _lib, retain: true, release: true); } static NSNumber numberWithInt_(AVFAudio _lib, int value) { final _ret = _lib._objc_msgSend_224( - _lib._class_NSNumber1, _lib._sel_numberWithInt_1, value); + _lib._class_NSNumber1, + _lib._sel_numberWithInt_1, + value, + ); return NSNumber._(_ret, _lib, retain: true, release: true); } static NSNumber numberWithUnsignedInt_(AVFAudio _lib, int value) { final _ret = _lib._objc_msgSend_225( - _lib._class_NSNumber1, _lib._sel_numberWithUnsignedInt_1, value); + _lib._class_NSNumber1, + _lib._sel_numberWithUnsignedInt_1, + value, + ); return NSNumber._(_ret, _lib, retain: true, release: true); } static NSNumber numberWithLong_(AVFAudio _lib, int value) { final _ret = _lib._objc_msgSend_226( - _lib._class_NSNumber1, _lib._sel_numberWithLong_1, value); + _lib._class_NSNumber1, + _lib._sel_numberWithLong_1, + value, + ); return NSNumber._(_ret, _lib, retain: true, release: true); } static NSNumber numberWithUnsignedLong_(AVFAudio _lib, int value) { final _ret = _lib._objc_msgSend_227( - _lib._class_NSNumber1, _lib._sel_numberWithUnsignedLong_1, value); + _lib._class_NSNumber1, + _lib._sel_numberWithUnsignedLong_1, + value, + ); return NSNumber._(_ret, _lib, retain: true, release: true); } static NSNumber numberWithLongLong_(AVFAudio _lib, int value) { final _ret = _lib._objc_msgSend_228( - _lib._class_NSNumber1, _lib._sel_numberWithLongLong_1, value); + _lib._class_NSNumber1, + _lib._sel_numberWithLongLong_1, + value, + ); return NSNumber._(_ret, _lib, retain: true, release: true); } static NSNumber numberWithUnsignedLongLong_(AVFAudio _lib, int value) { final _ret = _lib._objc_msgSend_229( - _lib._class_NSNumber1, _lib._sel_numberWithUnsignedLongLong_1, value); + _lib._class_NSNumber1, + _lib._sel_numberWithUnsignedLongLong_1, + value, + ); return NSNumber._(_ret, _lib, retain: true, release: true); } static NSNumber numberWithFloat_(AVFAudio _lib, double value) { final _ret = _lib._objc_msgSend_230( - _lib._class_NSNumber1, _lib._sel_numberWithFloat_1, value); + _lib._class_NSNumber1, + _lib._sel_numberWithFloat_1, + value, + ); return NSNumber._(_ret, _lib, retain: true, release: true); } static NSNumber numberWithDouble_(AVFAudio _lib, double value) { final _ret = _lib._objc_msgSend_231( - _lib._class_NSNumber1, _lib._sel_numberWithDouble_1, value); + _lib._class_NSNumber1, + _lib._sel_numberWithDouble_1, + value, + ); return NSNumber._(_ret, _lib, retain: true, release: true); } static NSNumber numberWithBool_(AVFAudio _lib, bool value) { final _ret = _lib._objc_msgSend_232( - _lib._class_NSNumber1, _lib._sel_numberWithBool_1, value); + _lib._class_NSNumber1, + _lib._sel_numberWithBool_1, + value, + ); return NSNumber._(_ret, _lib, retain: true, release: true); } static NSNumber numberWithInteger_(AVFAudio _lib, int value) { final _ret = _lib._objc_msgSend_226( - _lib._class_NSNumber1, _lib._sel_numberWithInteger_1, value); + _lib._class_NSNumber1, + _lib._sel_numberWithInteger_1, + value, + ); return NSNumber._(_ret, _lib, retain: true, release: true); } static NSNumber numberWithUnsignedInteger_(AVFAudio _lib, int value) { final _ret = _lib._objc_msgSend_227( - _lib._class_NSNumber1, _lib._sel_numberWithUnsignedInteger_1, value); + _lib._class_NSNumber1, + _lib._sel_numberWithUnsignedInteger_1, + value, + ); return NSNumber._(_ret, _lib, retain: true, release: true); } @override NSNumber initWithBytes_objCType_( - ffi.Pointer value, ffi.Pointer type) { + ffi.Pointer value, + ffi.Pointer type, + ) { final _ret = _lib._objc_msgSend_46( - _id, _lib._sel_initWithBytes_objCType_1, value, type); + this.pointer, + _lib._sel_initWithBytes_objCType_1, + value, + type, + ); return NSNumber._(_ret, _lib, retain: true, release: true); } static NSValue valueWithBytes_objCType_( - AVFAudio _lib, ffi.Pointer value, ffi.Pointer type) { - final _ret = _lib._objc_msgSend_48(_lib._class_NSNumber1, - _lib._sel_valueWithBytes_objCType_1, value, type); + AVFAudio _lib, + ffi.Pointer value, + ffi.Pointer type, + ) { + final _ret = _lib._objc_msgSend_48( + _lib._class_NSNumber1, + _lib._sel_valueWithBytes_objCType_1, + value, + type, + ); return NSValue._(_ret, _lib, retain: true, release: true); } static NSValue value_withObjCType_( - AVFAudio _lib, ffi.Pointer value, ffi.Pointer type) { + AVFAudio _lib, + ffi.Pointer value, + ffi.Pointer type, + ) { final _ret = _lib._objc_msgSend_48( - _lib._class_NSNumber1, _lib._sel_value_withObjCType_1, value, type); + _lib._class_NSNumber1, + _lib._sel_value_withObjCType_1, + value, + type, + ); return NSValue._(_ret, _lib, retain: true, release: true); } static NSValue valueWithNonretainedObject_( - AVFAudio _lib, NSObject? anObject) { - final _ret = _lib._objc_msgSend_49(_lib._class_NSNumber1, - _lib._sel_valueWithNonretainedObject_1, anObject?._id ?? ffi.nullptr); + AVFAudio _lib, + NSObject? anObject, + ) { + final _ret = _lib._objc_msgSend_49( + _lib._class_NSNumber1, + _lib._sel_valueWithNonretainedObject_1, + anObject?.pointer ?? ffi.nullptr, + ); return NSValue._(_ret, _lib, retain: true, release: true); } static NSValue valueWithPointer_( - AVFAudio _lib, ffi.Pointer pointer) { + AVFAudio _lib, + ffi.Pointer pointer, + ) { final _ret = _lib._objc_msgSend_50( - _lib._class_NSNumber1, _lib._sel_valueWithPointer_1, pointer); + _lib._class_NSNumber1, + _lib._sel_valueWithPointer_1, + pointer, + ); return NSValue._(_ret, _lib, retain: true, release: true); } static NSValue valueWithRange_(AVFAudio _lib, _NSRange range) { final _ret = _lib._objc_msgSend_53( - _lib._class_NSNumber1, _lib._sel_valueWithRange_1, range); + _lib._class_NSNumber1, + _lib._sel_valueWithRange_1, + range, + ); return NSValue._(_ret, _lib, retain: true, release: true); } static NSValue valueWithPoint_(AVFAudio _lib, CGPoint point) { final _ret = _lib._objc_msgSend_55( - _lib._class_NSNumber1, _lib._sel_valueWithPoint_1, point); + _lib._class_NSNumber1, + _lib._sel_valueWithPoint_1, + point, + ); return NSValue._(_ret, _lib, retain: true, release: true); } static NSValue valueWithSize_(AVFAudio _lib, CGSize size) { final _ret = _lib._objc_msgSend_56( - _lib._class_NSNumber1, _lib._sel_valueWithSize_1, size); + _lib._class_NSNumber1, + _lib._sel_valueWithSize_1, + size, + ); return NSValue._(_ret, _lib, retain: true, release: true); } static NSValue valueWithRect_(AVFAudio _lib, CGRect rect) { final _ret = _lib._objc_msgSend_57( - _lib._class_NSNumber1, _lib._sel_valueWithRect_1, rect); + _lib._class_NSNumber1, + _lib._sel_valueWithRect_1, + rect, + ); return NSValue._(_ret, _lib, retain: true, release: true); } static NSValue valueWithEdgeInsets_(AVFAudio _lib, NSEdgeInsets insets) { final _ret = _lib._objc_msgSend_58( - _lib._class_NSNumber1, _lib._sel_valueWithEdgeInsets_1, insets); + _lib._class_NSNumber1, + _lib._sel_valueWithEdgeInsets_1, + insets, + ); return NSValue._(_ret, _lib, retain: true, release: true); } @override NSNumber init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSNumber._(_ret, _lib, retain: true, release: true); } @@ -39218,7 +50257,10 @@ class NSNumber extends NSValue { static NSNumber allocWithZone_(AVFAudio _lib, ffi.Pointer<_NSZone> zone) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSNumber1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSNumber1, + _lib._sel_allocWithZone_1, + zone, + ); return NSNumber._(_ret, _lib, retain: false, release: true); } @@ -39228,224 +50270,342 @@ class NSNumber extends NSValue { } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + AVFAudio _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSNumber1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSNumber1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSNumber1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + AVFAudio _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSNumber1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { return _lib._objc_msgSend_12( - _lib._class_NSNumber1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_NSNumber1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(AVFAudio _lib) { return _lib._objc_msgSend_12( - _lib._class_NSNumber1, _lib._sel_useStoredAccessor1); + _lib._class_NSNumber1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSNumber1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSNumber1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSNumber1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSNumber1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, NSArray keys, NSString dependentKey) { + AVFAudio _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSNumber1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSNumber1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { final _ret = _lib._objc_msgSend_85( - _lib._class_NSNumber1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSNumber1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(AVFAudio _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSNumber1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSNumber1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } class NSValue extends NSObject { - NSValue._(ffi.Pointer id, AVFAudio lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSValue._( + ffi.Pointer pointer, + AVFAudio lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSValue] that points to the same underlying object as [other]. - static NSValue castFrom(T other) { - return NSValue._(other._id, other._lib, retain: true, release: true); + static NSValue castFrom( + AVFAudio lib, + T other, + ) { + return NSValue._(other.pointer, lib, retain: true, release: true); } /// Returns a [NSValue] that wraps the given raw object pointer. - static NSValue castFromPointer(AVFAudio lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + static NSValue castFromPointer( + AVFAudio lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSValue._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSValue]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_NSValue1); + static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSValue1, + ); } void getValue_size_(ffi.Pointer value, int size) { - _lib._objc_msgSend_22(_id, _lib._sel_getValue_size_1, value, size); + _lib._objc_msgSend_22(this.pointer, _lib._sel_getValue_size_1, value, size); } ffi.Pointer get objCType { - return _lib._objc_msgSend_13(_id, _lib._sel_objCType1); + return _lib._objc_msgSend_13(this.pointer, _lib._sel_objCType1); } NSValue initWithBytes_objCType_( - ffi.Pointer value, ffi.Pointer type) { + ffi.Pointer value, + ffi.Pointer type, + ) { final _ret = _lib._objc_msgSend_46( - _id, _lib._sel_initWithBytes_objCType_1, value, type); + this.pointer, + _lib._sel_initWithBytes_objCType_1, + value, + type, + ); return NSValue._(_ret, _lib, retain: true, release: true); } NSValue? initWithCoder_(NSCoder coder) { - final _ret = - _lib._objc_msgSend_47(_id, _lib._sel_initWithCoder_1, coder._id); + final _ret = _lib._objc_msgSend_47( + this.pointer, + _lib._sel_initWithCoder_1, + coder.pointer, + ); return _ret.address == 0 ? null : NSValue._(_ret, _lib, retain: true, release: true); } static NSValue valueWithBytes_objCType_( - AVFAudio _lib, ffi.Pointer value, ffi.Pointer type) { + AVFAudio _lib, + ffi.Pointer value, + ffi.Pointer type, + ) { final _ret = _lib._objc_msgSend_48( - _lib._class_NSValue1, _lib._sel_valueWithBytes_objCType_1, value, type); + _lib._class_NSValue1, + _lib._sel_valueWithBytes_objCType_1, + value, + type, + ); return NSValue._(_ret, _lib, retain: true, release: true); } static NSValue value_withObjCType_( - AVFAudio _lib, ffi.Pointer value, ffi.Pointer type) { + AVFAudio _lib, + ffi.Pointer value, + ffi.Pointer type, + ) { final _ret = _lib._objc_msgSend_48( - _lib._class_NSValue1, _lib._sel_value_withObjCType_1, value, type); + _lib._class_NSValue1, + _lib._sel_value_withObjCType_1, + value, + type, + ); return NSValue._(_ret, _lib, retain: true, release: true); } static NSValue valueWithNonretainedObject_( - AVFAudio _lib, NSObject? anObject) { - final _ret = _lib._objc_msgSend_49(_lib._class_NSValue1, - _lib._sel_valueWithNonretainedObject_1, anObject?._id ?? ffi.nullptr); + AVFAudio _lib, + NSObject? anObject, + ) { + final _ret = _lib._objc_msgSend_49( + _lib._class_NSValue1, + _lib._sel_valueWithNonretainedObject_1, + anObject?.pointer ?? ffi.nullptr, + ); return NSValue._(_ret, _lib, retain: true, release: true); } NSObject? get nonretainedObjectValue { - final _ret = _lib._objc_msgSend_17(_id, _lib._sel_nonretainedObjectValue1); + final _ret = _lib._objc_msgSend_17( + this.pointer, + _lib._sel_nonretainedObjectValue1, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } static NSValue valueWithPointer_( - AVFAudio _lib, ffi.Pointer pointer) { + AVFAudio _lib, + ffi.Pointer pointer, + ) { final _ret = _lib._objc_msgSend_50( - _lib._class_NSValue1, _lib._sel_valueWithPointer_1, pointer); + _lib._class_NSValue1, + _lib._sel_valueWithPointer_1, + pointer, + ); return NSValue._(_ret, _lib, retain: true, release: true); } ffi.Pointer get pointerValue { - return _lib._objc_msgSend_20(_id, _lib._sel_pointerValue1); + return _lib._objc_msgSend_20(this.pointer, _lib._sel_pointerValue1); } bool isEqualToValue_(NSValue value) { - return _lib._objc_msgSend_51(_id, _lib._sel_isEqualToValue_1, value._id); + return _lib._objc_msgSend_51( + this.pointer, + _lib._sel_isEqualToValue_1, + value.pointer, + ); } void getValue_(ffi.Pointer value) { - _lib._objc_msgSend_52(_id, _lib._sel_getValue_1, value); + _lib._objc_msgSend_52(this.pointer, _lib._sel_getValue_1, value); } static NSValue valueWithRange_(AVFAudio _lib, _NSRange range) { final _ret = _lib._objc_msgSend_53( - _lib._class_NSValue1, _lib._sel_valueWithRange_1, range); + _lib._class_NSValue1, + _lib._sel_valueWithRange_1, + range, + ); return NSValue._(_ret, _lib, retain: true, release: true); } void getRangeValue(ffi.Pointer<_NSRange> stret) { - _lib._objc_msgSend_useVariants1 - ? _lib._objc_msgSend_54_stret(stret, _id, _lib._sel_rangeValue1) - : stret.ref = _lib._objc_msgSend_54(_id, _lib._sel_rangeValue1); + objc.useMsgSendVariants + ? _lib._objc_msgSend_54_stret( + stret, + this.pointer, + _lib._sel_rangeValue1, + ) + : stret.ref = _lib._objc_msgSend_54( + this.pointer, + _lib._sel_rangeValue1, + ); } static NSValue valueWithPoint_(AVFAudio _lib, CGPoint point) { final _ret = _lib._objc_msgSend_55( - _lib._class_NSValue1, _lib._sel_valueWithPoint_1, point); + _lib._class_NSValue1, + _lib._sel_valueWithPoint_1, + point, + ); return NSValue._(_ret, _lib, retain: true, release: true); } static NSValue valueWithSize_(AVFAudio _lib, CGSize size) { final _ret = _lib._objc_msgSend_56( - _lib._class_NSValue1, _lib._sel_valueWithSize_1, size); + _lib._class_NSValue1, + _lib._sel_valueWithSize_1, + size, + ); return NSValue._(_ret, _lib, retain: true, release: true); } static NSValue valueWithRect_(AVFAudio _lib, CGRect rect) { final _ret = _lib._objc_msgSend_57( - _lib._class_NSValue1, _lib._sel_valueWithRect_1, rect); + _lib._class_NSValue1, + _lib._sel_valueWithRect_1, + rect, + ); return NSValue._(_ret, _lib, retain: true, release: true); } static NSValue valueWithEdgeInsets_(AVFAudio _lib, NSEdgeInsets insets) { final _ret = _lib._objc_msgSend_58( - _lib._class_NSValue1, _lib._sel_valueWithEdgeInsets_1, insets); + _lib._class_NSValue1, + _lib._sel_valueWithEdgeInsets_1, + insets, + ); return NSValue._(_ret, _lib, retain: true, release: true); } void getPointValue(ffi.Pointer stret) { - _lib._objc_msgSend_useVariants1 - ? _lib._objc_msgSend_59_stret(stret, _id, _lib._sel_pointValue1) - : stret.ref = _lib._objc_msgSend_59(_id, _lib._sel_pointValue1); + objc.useMsgSendVariants + ? _lib._objc_msgSend_59_stret( + stret, + this.pointer, + _lib._sel_pointValue1, + ) + : stret.ref = _lib._objc_msgSend_59( + this.pointer, + _lib._sel_pointValue1, + ); } void getSizeValue(ffi.Pointer stret) { - _lib._objc_msgSend_useVariants1 - ? _lib._objc_msgSend_60_stret(stret, _id, _lib._sel_sizeValue1) - : stret.ref = _lib._objc_msgSend_60(_id, _lib._sel_sizeValue1); + objc.useMsgSendVariants + ? _lib._objc_msgSend_60_stret(stret, this.pointer, _lib._sel_sizeValue1) + : stret.ref = _lib._objc_msgSend_60(this.pointer, _lib._sel_sizeValue1); } void getRectValue(ffi.Pointer stret) { - _lib._objc_msgSend_useVariants1 - ? _lib._objc_msgSend_61_stret(stret, _id, _lib._sel_rectValue1) - : stret.ref = _lib._objc_msgSend_61(_id, _lib._sel_rectValue1); + objc.useMsgSendVariants + ? _lib._objc_msgSend_61_stret(stret, this.pointer, _lib._sel_rectValue1) + : stret.ref = _lib._objc_msgSend_61(this.pointer, _lib._sel_rectValue1); } void getEdgeInsetsValue(ffi.Pointer stret) { - _lib._objc_msgSend_useVariants1 - ? _lib._objc_msgSend_62_stret(stret, _id, _lib._sel_edgeInsetsValue1) - : stret.ref = _lib._objc_msgSend_62(_id, _lib._sel_edgeInsetsValue1); + objc.useMsgSendVariants + ? _lib._objc_msgSend_62_stret( + stret, + this.pointer, + _lib._sel_edgeInsetsValue1, + ) + : stret.ref = _lib._objc_msgSend_62( + this.pointer, + _lib._sel_edgeInsetsValue1, + ); } @override NSValue init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSValue._(_ret, _lib, retain: true, release: true); } @@ -39456,7 +50616,10 @@ class NSValue extends NSObject { static NSValue allocWithZone_(AVFAudio _lib, ffi.Pointer<_NSZone> zone) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSValue1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSValue1, + _lib._sel_allocWithZone_1, + zone, + ); return NSValue._(_ret, _lib, retain: false, release: true); } @@ -39466,65 +50629,94 @@ class NSValue extends NSObject { } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + AVFAudio _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSValue1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSValue1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSValue1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + AVFAudio _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSValue1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { return _lib._objc_msgSend_12( - _lib._class_NSValue1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_NSValue1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(AVFAudio _lib) { return _lib._objc_msgSend_12( - _lib._class_NSValue1, _lib._sel_useStoredAccessor1); + _lib._class_NSValue1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSValue1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSValue1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSValue1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSValue1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, NSArray keys, NSString dependentKey) { + AVFAudio _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSValue1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSValue1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { final _ret = _lib._objc_msgSend_85( - _lib._class_NSValue1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSValue1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(AVFAudio _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSValue1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSValue1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } @@ -39566,52 +50758,78 @@ final class NSEdgeInsets extends ffi.Struct { } class NSArray extends NSObject { - NSArray._(ffi.Pointer id, AVFAudio lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSArray._( + ffi.Pointer pointer, + AVFAudio lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSArray] that points to the same underlying object as [other]. - static NSArray castFrom(T other) { - return NSArray._(other._id, other._lib, retain: true, release: true); + static NSArray castFrom( + AVFAudio lib, + T other, + ) { + return NSArray._(other.pointer, lib, retain: true, release: true); } /// Returns a [NSArray] that wraps the given raw object pointer. - static NSArray castFromPointer(AVFAudio lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + static NSArray castFromPointer( + AVFAudio lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSArray._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSArray]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_NSArray1); + static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSArray1, + ); } int get count { - return _lib._objc_msgSend_10(_id, _lib._sel_count1); + return _lib._objc_msgSend_10(this.pointer, _lib._sel_count1); } NSObject objectAtIndex_(int index) { - final _ret = _lib._objc_msgSend_65(_id, _lib._sel_objectAtIndex_1, index); + final _ret = _lib._objc_msgSend_65( + this.pointer, + _lib._sel_objectAtIndex_1, + index, + ); return NSObject._(_ret, _lib, retain: true, release: true); } @override NSArray init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSArray._(_ret, _lib, retain: true, release: true); } NSArray initWithObjects_count_( - ffi.Pointer> objects, int cnt) { + ffi.Pointer> objects, + int cnt, + ) { final _ret = _lib._objc_msgSend_66( - _id, _lib._sel_initWithObjects_count_1, objects, cnt); + this.pointer, + _lib._sel_initWithObjects_count_1, + objects, + cnt, + ); return NSArray._(_ret, _lib, retain: true, release: true); } NSArray? initWithCoder_(NSCoder coder) { - final _ret = - _lib._objc_msgSend_47(_id, _lib._sel_initWithCoder_1, coder._id); + final _ret = _lib._objc_msgSend_47( + this.pointer, + _lib._sel_initWithCoder_1, + coder.pointer, + ); return _ret.address == 0 ? null : NSArray._(_ret, _lib, retain: true, release: true); @@ -39619,283 +50837,427 @@ class NSArray extends NSObject { NSArray arrayByAddingObject_(NSObject anObject) { final _ret = _lib._objc_msgSend_67( - _id, _lib._sel_arrayByAddingObject_1, anObject._id); + this.pointer, + _lib._sel_arrayByAddingObject_1, + anObject.pointer, + ); return NSArray._(_ret, _lib, retain: true, release: true); } NSArray arrayByAddingObjectsFromArray_(NSArray otherArray) { final _ret = _lib._objc_msgSend_68( - _id, _lib._sel_arrayByAddingObjectsFromArray_1, otherArray._id); + this.pointer, + _lib._sel_arrayByAddingObjectsFromArray_1, + otherArray.pointer, + ); return NSArray._(_ret, _lib, retain: true, release: true); } NSString componentsJoinedByString_(NSString separator) { final _ret = _lib._objc_msgSend_69( - _id, _lib._sel_componentsJoinedByString_1, separator._id); + this.pointer, + _lib._sel_componentsJoinedByString_1, + separator.pointer, + ); return NSString._(_ret, _lib, retain: true, release: true); } bool containsObject_(NSObject anObject) { - return _lib._objc_msgSend_0(_id, _lib._sel_containsObject_1, anObject._id); + return _lib._objc_msgSend_0( + this.pointer, + _lib._sel_containsObject_1, + anObject.pointer, + ); } NSString get description { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_description1); + final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_description1); return NSString._(_ret, _lib, retain: true, release: true); } NSString descriptionWithLocale_(NSObject? locale) { final _ret = _lib._objc_msgSend_70( - _id, _lib._sel_descriptionWithLocale_1, locale?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_descriptionWithLocale_1, + locale?.pointer ?? ffi.nullptr, + ); return NSString._(_ret, _lib, retain: true, release: true); } NSString descriptionWithLocale_indent_(NSObject? locale, int level) { final _ret = _lib._objc_msgSend_71( - _id, - _lib._sel_descriptionWithLocale_indent_1, - locale?._id ?? ffi.nullptr, - level); + this.pointer, + _lib._sel_descriptionWithLocale_indent_1, + locale?.pointer ?? ffi.nullptr, + level, + ); return NSString._(_ret, _lib, retain: true, release: true); } NSObject? firstObjectCommonWithArray_(NSArray otherArray) { final _ret = _lib._objc_msgSend_72( - _id, _lib._sel_firstObjectCommonWithArray_1, otherArray._id); + this.pointer, + _lib._sel_firstObjectCommonWithArray_1, + otherArray.pointer, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } void getObjects_range_( - ffi.Pointer> objects, _NSRange range) { - _lib._objc_msgSend_73(_id, _lib._sel_getObjects_range_1, objects, range); + ffi.Pointer> objects, + _NSRange range, + ) { + _lib._objc_msgSend_73( + this.pointer, + _lib._sel_getObjects_range_1, + objects, + range, + ); } int indexOfObject_(NSObject anObject) { - return _lib._objc_msgSend_74(_id, _lib._sel_indexOfObject_1, anObject._id); + return _lib._objc_msgSend_74( + this.pointer, + _lib._sel_indexOfObject_1, + anObject.pointer, + ); } int indexOfObject_inRange_(NSObject anObject, _NSRange range) { return _lib._objc_msgSend_75( - _id, _lib._sel_indexOfObject_inRange_1, anObject._id, range); + this.pointer, + _lib._sel_indexOfObject_inRange_1, + anObject.pointer, + range, + ); } int indexOfObjectIdenticalTo_(NSObject anObject) { return _lib._objc_msgSend_74( - _id, _lib._sel_indexOfObjectIdenticalTo_1, anObject._id); + this.pointer, + _lib._sel_indexOfObjectIdenticalTo_1, + anObject.pointer, + ); } int indexOfObjectIdenticalTo_inRange_(NSObject anObject, _NSRange range) { return _lib._objc_msgSend_75( - _id, _lib._sel_indexOfObjectIdenticalTo_inRange_1, anObject._id, range); + this.pointer, + _lib._sel_indexOfObjectIdenticalTo_inRange_1, + anObject.pointer, + range, + ); } bool isEqualToArray_(NSArray otherArray) { return _lib._objc_msgSend_76( - _id, _lib._sel_isEqualToArray_1, otherArray._id); + this.pointer, + _lib._sel_isEqualToArray_1, + otherArray.pointer, + ); } NSObject? get firstObject { - final _ret = _lib._objc_msgSend_17(_id, _lib._sel_firstObject1); + final _ret = _lib._objc_msgSend_17(this.pointer, _lib._sel_firstObject1); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } NSObject? get lastObject { - final _ret = _lib._objc_msgSend_17(_id, _lib._sel_lastObject1); + final _ret = _lib._objc_msgSend_17(this.pointer, _lib._sel_lastObject1); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } NSEnumerator objectEnumerator() { - final _ret = _lib._objc_msgSend_77(_id, _lib._sel_objectEnumerator1); + final _ret = _lib._objc_msgSend_77( + this.pointer, + _lib._sel_objectEnumerator1, + ); return NSEnumerator._(_ret, _lib, retain: true, release: true); } NSEnumerator reverseObjectEnumerator() { - final _ret = _lib._objc_msgSend_77(_id, _lib._sel_reverseObjectEnumerator1); + final _ret = _lib._objc_msgSend_77( + this.pointer, + _lib._sel_reverseObjectEnumerator1, + ); return NSEnumerator._(_ret, _lib, retain: true, release: true); } NSData get sortedArrayHint { - final _ret = _lib._objc_msgSend_43(_id, _lib._sel_sortedArrayHint1); + final _ret = _lib._objc_msgSend_43( + this.pointer, + _lib._sel_sortedArrayHint1, + ); return NSData._(_ret, _lib, retain: true, release: true); } NSArray sortedArrayUsingFunction_context_( - ffi.Pointer< - ffi.NativeFunction< - ffi.Long Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>> - comparator, - ffi.Pointer context) { + ffi.Pointer< + ffi.NativeFunction< + ffi.Long Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + > comparator, + ffi.Pointer context, + ) { final _ret = _lib._objc_msgSend_78( - _id, _lib._sel_sortedArrayUsingFunction_context_1, comparator, context); + this.pointer, + _lib._sel_sortedArrayUsingFunction_context_1, + comparator, + context, + ); return NSArray._(_ret, _lib, retain: true, release: true); } NSArray sortedArrayUsingFunction_context_hint_( - ffi.Pointer< - ffi.NativeFunction< - ffi.Long Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>> - comparator, - ffi.Pointer context, - NSData? hint) { + ffi.Pointer< + ffi.NativeFunction< + ffi.Long Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + > comparator, + ffi.Pointer context, + NSData? hint, + ) { final _ret = _lib._objc_msgSend_79( - _id, - _lib._sel_sortedArrayUsingFunction_context_hint_1, - comparator, - context, - hint?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_sortedArrayUsingFunction_context_hint_1, + comparator, + context, + hint?.pointer ?? ffi.nullptr, + ); return NSArray._(_ret, _lib, retain: true, release: true); } - NSArray sortedArrayUsingSelector_(ffi.Pointer comparator) { + NSArray sortedArrayUsingSelector_(ffi.Pointer comparator) { final _ret = _lib._objc_msgSend_80( - _id, _lib._sel_sortedArrayUsingSelector_1, comparator); + this.pointer, + _lib._sel_sortedArrayUsingSelector_1, + comparator, + ); return NSArray._(_ret, _lib, retain: true, release: true); } NSArray subarrayWithRange_(_NSRange range) { - final _ret = - _lib._objc_msgSend_81(_id, _lib._sel_subarrayWithRange_1, range); + final _ret = _lib._objc_msgSend_81( + this.pointer, + _lib._sel_subarrayWithRange_1, + range, + ); return NSArray._(_ret, _lib, retain: true, release: true); } bool writeToURL_error_( - NSURL url, ffi.Pointer> error) { + NSURL url, + ffi.Pointer> error, + ) { return _lib._objc_msgSend_89( - _id, _lib._sel_writeToURL_error_1, url._id, error); + this.pointer, + _lib._sel_writeToURL_error_1, + url.pointer, + error, + ); } - void makeObjectsPerformSelector_(ffi.Pointer aSelector) { + void makeObjectsPerformSelector_(ffi.Pointer aSelector) { _lib._objc_msgSend_7( - _id, _lib._sel_makeObjectsPerformSelector_1, aSelector); + this.pointer, + _lib._sel_makeObjectsPerformSelector_1, + aSelector, + ); } void makeObjectsPerformSelector_withObject_( - ffi.Pointer aSelector, NSObject? argument) { + ffi.Pointer aSelector, + NSObject? argument, + ) { _lib._objc_msgSend_90( - _id, - _lib._sel_makeObjectsPerformSelector_withObject_1, - aSelector, - argument?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_makeObjectsPerformSelector_withObject_1, + aSelector, + argument?.pointer ?? ffi.nullptr, + ); } NSArray objectsAtIndexes_(NSIndexSet indexes) { - final _ret = - _lib._objc_msgSend_111(_id, _lib._sel_objectsAtIndexes_1, indexes._id); + final _ret = _lib._objc_msgSend_111( + this.pointer, + _lib._sel_objectsAtIndexes_1, + indexes.pointer, + ); return NSArray._(_ret, _lib, retain: true, release: true); } NSObject objectAtIndexedSubscript_(int idx) { - final _ret = - _lib._objc_msgSend_65(_id, _lib._sel_objectAtIndexedSubscript_1, idx); + final _ret = _lib._objc_msgSend_65( + this.pointer, + _lib._sel_objectAtIndexedSubscript_1, + idx, + ); return NSObject._(_ret, _lib, retain: true, release: true); } void enumerateObjectsUsingBlock_( - ObjCBlock_ffiVoid_ObjCObject_ffiUnsignedLong_bool block) { + ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool block, + ) { _lib._objc_msgSend_112( - _id, _lib._sel_enumerateObjectsUsingBlock_1, block._id); + this.pointer, + _lib._sel_enumerateObjectsUsingBlock_1, + block.pointer, + ); } void enumerateObjectsWithOptions_usingBlock_( - int opts, ObjCBlock_ffiVoid_ObjCObject_ffiUnsignedLong_bool block) { - _lib._objc_msgSend_113(_id, - _lib._sel_enumerateObjectsWithOptions_usingBlock_1, opts, block._id); + int opts, + ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool block, + ) { + _lib._objc_msgSend_113( + this.pointer, + _lib._sel_enumerateObjectsWithOptions_usingBlock_1, + opts, + block.pointer, + ); } - void enumerateObjectsAtIndexes_options_usingBlock_(NSIndexSet s, int opts, - ObjCBlock_ffiVoid_ObjCObject_ffiUnsignedLong_bool block) { + void enumerateObjectsAtIndexes_options_usingBlock_( + NSIndexSet s, + int opts, + ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool block, + ) { _lib._objc_msgSend_114( - _id, - _lib._sel_enumerateObjectsAtIndexes_options_usingBlock_1, - s._id, - opts, - block._id); + this.pointer, + _lib._sel_enumerateObjectsAtIndexes_options_usingBlock_1, + s.pointer, + opts, + block.pointer, + ); } int indexOfObjectPassingTest_( - ObjCBlock_bool_ObjCObject_ffiUnsignedLong_bool predicate) { + ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool predicate, + ) { return _lib._objc_msgSend_115( - _id, _lib._sel_indexOfObjectPassingTest_1, predicate._id); + this.pointer, + _lib._sel_indexOfObjectPassingTest_1, + predicate.pointer, + ); } int indexOfObjectWithOptions_passingTest_( - int opts, ObjCBlock_bool_ObjCObject_ffiUnsignedLong_bool predicate) { - return _lib._objc_msgSend_116(_id, - _lib._sel_indexOfObjectWithOptions_passingTest_1, opts, predicate._id); + int opts, + ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool predicate, + ) { + return _lib._objc_msgSend_116( + this.pointer, + _lib._sel_indexOfObjectWithOptions_passingTest_1, + opts, + predicate.pointer, + ); } - int indexOfObjectAtIndexes_options_passingTest_(NSIndexSet s, int opts, - ObjCBlock_bool_ObjCObject_ffiUnsignedLong_bool predicate) { + int indexOfObjectAtIndexes_options_passingTest_( + NSIndexSet s, + int opts, + ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool predicate, + ) { return _lib._objc_msgSend_117( - _id, - _lib._sel_indexOfObjectAtIndexes_options_passingTest_1, - s._id, - opts, - predicate._id); + this.pointer, + _lib._sel_indexOfObjectAtIndexes_options_passingTest_1, + s.pointer, + opts, + predicate.pointer, + ); } NSIndexSet indexesOfObjectsPassingTest_( - ObjCBlock_bool_ObjCObject_ffiUnsignedLong_bool predicate) { + ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool predicate, + ) { final _ret = _lib._objc_msgSend_118( - _id, _lib._sel_indexesOfObjectsPassingTest_1, predicate._id); + this.pointer, + _lib._sel_indexesOfObjectsPassingTest_1, + predicate.pointer, + ); return NSIndexSet._(_ret, _lib, retain: true, release: true); } NSIndexSet indexesOfObjectsWithOptions_passingTest_( - int opts, ObjCBlock_bool_ObjCObject_ffiUnsignedLong_bool predicate) { + int opts, + ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool predicate, + ) { final _ret = _lib._objc_msgSend_119( - _id, - _lib._sel_indexesOfObjectsWithOptions_passingTest_1, - opts, - predicate._id); + this.pointer, + _lib._sel_indexesOfObjectsWithOptions_passingTest_1, + opts, + predicate.pointer, + ); return NSIndexSet._(_ret, _lib, retain: true, release: true); } - NSIndexSet indexesOfObjectsAtIndexes_options_passingTest_(NSIndexSet s, - int opts, ObjCBlock_bool_ObjCObject_ffiUnsignedLong_bool predicate) { + NSIndexSet indexesOfObjectsAtIndexes_options_passingTest_( + NSIndexSet s, + int opts, + ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool predicate, + ) { final _ret = _lib._objc_msgSend_120( - _id, - _lib._sel_indexesOfObjectsAtIndexes_options_passingTest_1, - s._id, - opts, - predicate._id); + this.pointer, + _lib._sel_indexesOfObjectsAtIndexes_options_passingTest_1, + s.pointer, + opts, + predicate.pointer, + ); return NSIndexSet._(_ret, _lib, retain: true, release: true); } NSArray sortedArrayUsingComparator_( - ObjCBlock_NSComparisonResult_ObjCObject_ObjCObject cmptr) { + ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject cmptr, + ) { final _ret = _lib._objc_msgSend_121( - _id, _lib._sel_sortedArrayUsingComparator_1, cmptr._id); + this.pointer, + _lib._sel_sortedArrayUsingComparator_1, + cmptr.pointer, + ); return NSArray._(_ret, _lib, retain: true, release: true); } NSArray sortedArrayWithOptions_usingComparator_( - int opts, ObjCBlock_NSComparisonResult_ObjCObject_ObjCObject cmptr) { - final _ret = _lib._objc_msgSend_122(_id, - _lib._sel_sortedArrayWithOptions_usingComparator_1, opts, cmptr._id); + int opts, + ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject cmptr, + ) { + final _ret = _lib._objc_msgSend_122( + this.pointer, + _lib._sel_sortedArrayWithOptions_usingComparator_1, + opts, + cmptr.pointer, + ); return NSArray._(_ret, _lib, retain: true, release: true); } int indexOfObject_inSortedRange_options_usingComparator_( - NSObject obj, - _NSRange r, - int opts, - ObjCBlock_NSComparisonResult_ObjCObject_ObjCObject cmp) { + NSObject obj, + _NSRange r, + int opts, + ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject cmp, + ) { return _lib._objc_msgSend_123( - _id, - _lib._sel_indexOfObject_inSortedRange_options_usingComparator_1, - obj._id, - r, - opts, - cmp._id); + this.pointer, + _lib._sel_indexOfObject_inSortedRange_options_usingComparator_1, + obj.pointer, + r, + opts, + cmp.pointer, + ); } static NSArray array(AVFAudio _lib) { @@ -39905,103 +51267,159 @@ class NSArray extends NSObject { static NSArray arrayWithObject_(AVFAudio _lib, NSObject anObject) { final _ret = _lib._objc_msgSend_124( - _lib._class_NSArray1, _lib._sel_arrayWithObject_1, anObject._id); + _lib._class_NSArray1, + _lib._sel_arrayWithObject_1, + anObject.pointer, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSArray arrayWithObjects_count_( - AVFAudio _lib, ffi.Pointer> objects, int cnt) { + AVFAudio _lib, + ffi.Pointer> objects, + int cnt, + ) { final _ret = _lib._objc_msgSend_66( - _lib._class_NSArray1, _lib._sel_arrayWithObjects_count_1, objects, cnt); + _lib._class_NSArray1, + _lib._sel_arrayWithObjects_count_1, + objects, + cnt, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSArray arrayWithObjects_(AVFAudio _lib, NSObject firstObj) { final _ret = _lib._objc_msgSend_124( - _lib._class_NSArray1, _lib._sel_arrayWithObjects_1, firstObj._id); + _lib._class_NSArray1, + _lib._sel_arrayWithObjects_1, + firstObj.pointer, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSArray arrayWithArray_(AVFAudio _lib, NSArray array) { final _ret = _lib._objc_msgSend_125( - _lib._class_NSArray1, _lib._sel_arrayWithArray_1, array._id); + _lib._class_NSArray1, + _lib._sel_arrayWithArray_1, + array.pointer, + ); return NSArray._(_ret, _lib, retain: true, release: true); } NSArray initWithObjects_(NSObject firstObj) { - final _ret = - _lib._objc_msgSend_124(_id, _lib._sel_initWithObjects_1, firstObj._id); + final _ret = _lib._objc_msgSend_124( + this.pointer, + _lib._sel_initWithObjects_1, + firstObj.pointer, + ); return NSArray._(_ret, _lib, retain: true, release: true); } NSArray initWithArray_(NSArray array) { - final _ret = - _lib._objc_msgSend_125(_id, _lib._sel_initWithArray_1, array._id); + final _ret = _lib._objc_msgSend_125( + this.pointer, + _lib._sel_initWithArray_1, + array.pointer, + ); return NSArray._(_ret, _lib, retain: true, release: true); } NSArray initWithArray_copyItems_(NSArray array, bool flag) { final _ret = _lib._objc_msgSend_126( - _id, _lib._sel_initWithArray_copyItems_1, array._id, flag); + this.pointer, + _lib._sel_initWithArray_copyItems_1, + array.pointer, + flag, + ); return NSArray._(_ret, _lib, retain: false, release: true); } NSArray? initWithContentsOfURL_error_( - NSURL url, ffi.Pointer> error) { + NSURL url, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_127( - _id, _lib._sel_initWithContentsOfURL_error_1, url._id, error); + this.pointer, + _lib._sel_initWithContentsOfURL_error_1, + url.pointer, + error, + ); return _ret.address == 0 ? null : NSArray._(_ret, _lib, retain: true, release: true); } static NSArray? arrayWithContentsOfURL_error_( - AVFAudio _lib, NSURL url, ffi.Pointer> error) { - final _ret = _lib._objc_msgSend_127(_lib._class_NSArray1, - _lib._sel_arrayWithContentsOfURL_error_1, url._id, error); + AVFAudio _lib, + NSURL url, + ffi.Pointer> error, + ) { + final _ret = _lib._objc_msgSend_127( + _lib._class_NSArray1, + _lib._sel_arrayWithContentsOfURL_error_1, + url.pointer, + error, + ); return _ret.address == 0 ? null : NSArray._(_ret, _lib, retain: true, release: true); } NSObject differenceFromArray_withOptions_usingEquivalenceTest_( - NSArray other, int options, ObjCBlock_bool_ObjCObject_ObjCObject block) { + NSArray other, + int options, + ObjCBlock_bool_objcObjCObject_objcObjCObject block, + ) { final _ret = _lib._objc_msgSend_128( - _id, - _lib._sel_differenceFromArray_withOptions_usingEquivalenceTest_1, - other._id, - options, - block._id); + this.pointer, + _lib._sel_differenceFromArray_withOptions_usingEquivalenceTest_1, + other.pointer, + options, + block.pointer, + ); return NSObject._(_ret, _lib, retain: true, release: true); } NSObject differenceFromArray_withOptions_(NSArray other, int options) { final _ret = _lib._objc_msgSend_129( - _id, _lib._sel_differenceFromArray_withOptions_1, other._id, options); + this.pointer, + _lib._sel_differenceFromArray_withOptions_1, + other.pointer, + options, + ); return NSObject._(_ret, _lib, retain: true, release: true); } NSObject differenceFromArray_(NSArray other) { - final _ret = - _lib._objc_msgSend_125(_id, _lib._sel_differenceFromArray_1, other._id); + final _ret = _lib._objc_msgSend_125( + this.pointer, + _lib._sel_differenceFromArray_1, + other.pointer, + ); return NSObject._(_ret, _lib, retain: true, release: true); } NSArray? arrayByApplyingDifference_(NSObject difference) { final _ret = _lib._objc_msgSend_130( - _id, _lib._sel_arrayByApplyingDifference_1, difference._id); + this.pointer, + _lib._sel_arrayByApplyingDifference_1, + difference.pointer, + ); return _ret.address == 0 ? null : NSArray._(_ret, _lib, retain: true, release: true); } - void getObjects_(ffi.Pointer> objects) { - _lib._objc_msgSend_131(_id, _lib._sel_getObjects_1, objects); + void getObjects_(ffi.Pointer> objects) { + _lib._objc_msgSend_131(this.pointer, _lib._sel_getObjects_1, objects); } static NSArray? arrayWithContentsOfFile_(AVFAudio _lib, NSString path) { final _ret = _lib._objc_msgSend_132( - _lib._class_NSArray1, _lib._sel_arrayWithContentsOfFile_1, path._id); + _lib._class_NSArray1, + _lib._sel_arrayWithContentsOfFile_1, + path.pointer, + ); return _ret.address == 0 ? null : NSArray._(_ret, _lib, retain: true, release: true); @@ -40009,7 +51427,10 @@ class NSArray extends NSObject { static NSArray? arrayWithContentsOfURL_(AVFAudio _lib, NSURL url) { final _ret = _lib._objc_msgSend_133( - _lib._class_NSArray1, _lib._sel_arrayWithContentsOfURL_1, url._id); + _lib._class_NSArray1, + _lib._sel_arrayWithContentsOfURL_1, + url.pointer, + ); return _ret.address == 0 ? null : NSArray._(_ret, _lib, retain: true, release: true); @@ -40017,15 +51438,21 @@ class NSArray extends NSObject { NSArray? initWithContentsOfFile_(NSString path) { final _ret = _lib._objc_msgSend_132( - _id, _lib._sel_initWithContentsOfFile_1, path._id); + this.pointer, + _lib._sel_initWithContentsOfFile_1, + path.pointer, + ); return _ret.address == 0 ? null : NSArray._(_ret, _lib, retain: true, release: true); } NSArray? initWithContentsOfURL_(NSURL url) { - final _ret = - _lib._objc_msgSend_133(_id, _lib._sel_initWithContentsOfURL_1, url._id); + final _ret = _lib._objc_msgSend_133( + this.pointer, + _lib._sel_initWithContentsOfURL_1, + url.pointer, + ); return _ret.address == 0 ? null : NSArray._(_ret, _lib, retain: true, release: true); @@ -40033,105 +51460,155 @@ class NSArray extends NSObject { bool writeToFile_atomically_(NSString path, bool useAuxiliaryFile) { return _lib._objc_msgSend_26( - _id, _lib._sel_writeToFile_atomically_1, path._id, useAuxiliaryFile); + this.pointer, + _lib._sel_writeToFile_atomically_1, + path.pointer, + useAuxiliaryFile, + ); } bool writeToURL_atomically_(NSURL url, bool atomically) { return _lib._objc_msgSend_134( - _id, _lib._sel_writeToURL_atomically_1, url._id, atomically); + this.pointer, + _lib._sel_writeToURL_atomically_1, + url.pointer, + atomically, + ); } NSArray pathsMatchingExtensions_(NSArray filterTypes) { final _ret = _lib._objc_msgSend_68( - _id, _lib._sel_pathsMatchingExtensions_1, filterTypes._id); + this.pointer, + _lib._sel_pathsMatchingExtensions_1, + filterTypes.pointer, + ); return NSArray._(_ret, _lib, retain: true, release: true); } NSObject valueForKey_(NSString key) { - final _ret = _lib._objc_msgSend_31(_id, _lib._sel_valueForKey_1, key._id); + final _ret = _lib._objc_msgSend_31( + this.pointer, + _lib._sel_valueForKey_1, + key.pointer, + ); return NSObject._(_ret, _lib, retain: true, release: true); } @override void setValue_forKey_(NSObject? value, NSString key) { _lib._objc_msgSend_135( - _id, _lib._sel_setValue_forKey_1, value?._id ?? ffi.nullptr, key._id); + this.pointer, + _lib._sel_setValue_forKey_1, + value?.pointer ?? ffi.nullptr, + key.pointer, + ); } void addObserver_toObjectsAtIndexes_forKeyPath_options_context_( - NSObject observer, - NSIndexSet indexes, - NSString keyPath, - int options, - ffi.Pointer context) { + NSObject observer, + NSIndexSet indexes, + NSString keyPath, + int options, + ffi.Pointer context, + ) { _lib._objc_msgSend_136( - _id, - _lib._sel_addObserver_toObjectsAtIndexes_forKeyPath_options_context_1, - observer._id, - indexes._id, - keyPath._id, - options, - context); + this.pointer, + _lib._sel_addObserver_toObjectsAtIndexes_forKeyPath_options_context_1, + observer.pointer, + indexes.pointer, + keyPath.pointer, + options, + context, + ); } void removeObserver_fromObjectsAtIndexes_forKeyPath_context_( - NSObject observer, - NSIndexSet indexes, - NSString keyPath, - ffi.Pointer context) { + NSObject observer, + NSIndexSet indexes, + NSString keyPath, + ffi.Pointer context, + ) { _lib._objc_msgSend_137( - _id, - _lib._sel_removeObserver_fromObjectsAtIndexes_forKeyPath_context_1, - observer._id, - indexes._id, - keyPath._id, - context); + this.pointer, + _lib._sel_removeObserver_fromObjectsAtIndexes_forKeyPath_context_1, + observer.pointer, + indexes.pointer, + keyPath.pointer, + context, + ); } void removeObserver_fromObjectsAtIndexes_forKeyPath_( - NSObject observer, NSIndexSet indexes, NSString keyPath) { + NSObject observer, + NSIndexSet indexes, + NSString keyPath, + ) { _lib._objc_msgSend_138( - _id, - _lib._sel_removeObserver_fromObjectsAtIndexes_forKeyPath_1, - observer._id, - indexes._id, - keyPath._id); + this.pointer, + _lib._sel_removeObserver_fromObjectsAtIndexes_forKeyPath_1, + observer.pointer, + indexes.pointer, + keyPath.pointer, + ); } @override - void addObserver_forKeyPath_options_context_(NSObject observer, - NSString keyPath, int options, ffi.Pointer context) { + void addObserver_forKeyPath_options_context_( + NSObject observer, + NSString keyPath, + int options, + ffi.Pointer context, + ) { _lib._objc_msgSend_139( - _id, - _lib._sel_addObserver_forKeyPath_options_context_1, - observer._id, - keyPath._id, - options, - context); + this.pointer, + _lib._sel_addObserver_forKeyPath_options_context_1, + observer.pointer, + keyPath.pointer, + options, + context, + ); } @override void removeObserver_forKeyPath_context_( - NSObject observer, NSString keyPath, ffi.Pointer context) { - _lib._objc_msgSend_140(_id, _lib._sel_removeObserver_forKeyPath_context_1, - observer._id, keyPath._id, context); + NSObject observer, + NSString keyPath, + ffi.Pointer context, + ) { + _lib._objc_msgSend_140( + this.pointer, + _lib._sel_removeObserver_forKeyPath_context_1, + observer.pointer, + keyPath.pointer, + context, + ); } @override void removeObserver_forKeyPath_(NSObject observer, NSString keyPath) { _lib._objc_msgSend_141( - _id, _lib._sel_removeObserver_forKeyPath_1, observer._id, keyPath._id); + this.pointer, + _lib._sel_removeObserver_forKeyPath_1, + observer.pointer, + keyPath.pointer, + ); } NSArray sortedArrayUsingDescriptors_(NSArray sortDescriptors) { final _ret = _lib._objc_msgSend_68( - _id, _lib._sel_sortedArrayUsingDescriptors_1, sortDescriptors._id); + this.pointer, + _lib._sel_sortedArrayUsingDescriptors_1, + sortDescriptors.pointer, + ); return NSArray._(_ret, _lib, retain: true, release: true); } NSArray filteredArrayUsingPredicate_(NSPredicate predicate) { final _ret = _lib._objc_msgSend_219( - _id, _lib._sel_filteredArrayUsingPredicate_1, predicate._id); + this.pointer, + _lib._sel_filteredArrayUsingPredicate_1, + predicate.pointer, + ); return NSArray._(_ret, _lib, retain: true, release: true); } @@ -40142,7 +51619,10 @@ class NSArray extends NSObject { static NSArray allocWithZone_(AVFAudio _lib, ffi.Pointer<_NSZone> zone) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSArray1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSArray1, + _lib._sel_allocWithZone_1, + zone, + ); return NSArray._(_ret, _lib, retain: false, release: true); } @@ -40152,200 +51632,281 @@ class NSArray extends NSObject { } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + AVFAudio _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSArray1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSArray1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSArray1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + AVFAudio _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSArray1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { return _lib._objc_msgSend_12( - _lib._class_NSArray1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_NSArray1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(AVFAudio _lib) { return _lib._objc_msgSend_12( - _lib._class_NSArray1, _lib._sel_useStoredAccessor1); + _lib._class_NSArray1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSArray1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSArray1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSArray1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSArray1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, NSArray keys, NSString dependentKey) { + AVFAudio _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSArray1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSArray1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { final _ret = _lib._objc_msgSend_85( - _lib._class_NSArray1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSArray1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(AVFAudio _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSArray1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSArray1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } class NSError extends NSObject { - NSError._(ffi.Pointer id, AVFAudio lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSError._( + ffi.Pointer pointer, + AVFAudio lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSError] that points to the same underlying object as [other]. - static NSError castFrom(T other) { - return NSError._(other._id, other._lib, retain: true, release: true); + static NSError castFrom( + AVFAudio lib, + T other, + ) { + return NSError._(other.pointer, lib, retain: true, release: true); } /// Returns a [NSError] that wraps the given raw object pointer. - static NSError castFromPointer(AVFAudio lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + static NSError castFromPointer( + AVFAudio lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSError._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSError]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_NSError1); + static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSError1, + ); } NSError initWithDomain_code_userInfo_( - NSString domain, int code, NSObject? dict) { + NSString domain, + int code, + NSObject? dict, + ) { final _ret = _lib._objc_msgSend_82( - _id, - _lib._sel_initWithDomain_code_userInfo_1, - domain._id, - code, - dict?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_initWithDomain_code_userInfo_1, + domain.pointer, + code, + dict?.pointer ?? ffi.nullptr, + ); return NSError._(_ret, _lib, retain: true, release: true); } static NSError errorWithDomain_code_userInfo_( - AVFAudio _lib, NSString domain, int code, NSObject? dict) { + AVFAudio _lib, + NSString domain, + int code, + NSObject? dict, + ) { final _ret = _lib._objc_msgSend_82( - _lib._class_NSError1, - _lib._sel_errorWithDomain_code_userInfo_1, - domain._id, - code, - dict?._id ?? ffi.nullptr); + _lib._class_NSError1, + _lib._sel_errorWithDomain_code_userInfo_1, + domain.pointer, + code, + dict?.pointer ?? ffi.nullptr, + ); return NSError._(_ret, _lib, retain: true, release: true); } NSString get domain { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_domain1); + final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_domain1); return NSString._(_ret, _lib, retain: true, release: true); } int get code { - return _lib._objc_msgSend_83(_id, _lib._sel_code1); + return _lib._objc_msgSend_83(this.pointer, _lib._sel_code1); } NSObject get userInfo { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_userInfo1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_userInfo1); return NSObject._(_ret, _lib, retain: true, release: true); } NSString get localizedDescription { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_localizedDescription1); + final _ret = _lib._objc_msgSend_21( + this.pointer, + _lib._sel_localizedDescription1, + ); return NSString._(_ret, _lib, retain: true, release: true); } NSString? get localizedFailureReason { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_localizedFailureReason1); + final _ret = _lib._objc_msgSend_44( + this.pointer, + _lib._sel_localizedFailureReason1, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } NSString? get localizedRecoverySuggestion { - final _ret = - _lib._objc_msgSend_44(_id, _lib._sel_localizedRecoverySuggestion1); + final _ret = _lib._objc_msgSend_44( + this.pointer, + _lib._sel_localizedRecoverySuggestion1, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } NSArray? get localizedRecoveryOptions { - final _ret = - _lib._objc_msgSend_84(_id, _lib._sel_localizedRecoveryOptions1); + final _ret = _lib._objc_msgSend_84( + this.pointer, + _lib._sel_localizedRecoveryOptions1, + ); return _ret.address == 0 ? null : NSArray._(_ret, _lib, retain: true, release: true); } NSObject? get recoveryAttempter { - final _ret = _lib._objc_msgSend_17(_id, _lib._sel_recoveryAttempter1); + final _ret = _lib._objc_msgSend_17( + this.pointer, + _lib._sel_recoveryAttempter1, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } NSString? get helpAnchor { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_helpAnchor1); + final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_helpAnchor1); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } NSArray get underlyingErrors { - final _ret = _lib._objc_msgSend_85(_id, _lib._sel_underlyingErrors1); + final _ret = _lib._objc_msgSend_85( + this.pointer, + _lib._sel_underlyingErrors1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } - static void setUserInfoValueProviderForDomain_provider_(AVFAudio _lib, - NSString errorDomain, ObjCBlock_ObjCObject_NSError_NSString? provider) { + static void setUserInfoValueProviderForDomain_provider_( + AVFAudio _lib, + NSString errorDomain, + ObjCBlock_objcObjCObject_NSError_NSString? provider, + ) { _lib._objc_msgSend_86( - _lib._class_NSError1, - _lib._sel_setUserInfoValueProviderForDomain_provider_1, - errorDomain._id, - provider?._id ?? ffi.nullptr); + _lib._class_NSError1, + _lib._sel_setUserInfoValueProviderForDomain_provider_1, + errorDomain.pointer, + provider?.pointer ?? ffi.nullptr, + ); } - static ObjCBlock_ObjCObject_NSError_NSString? userInfoValueProviderForDomain_( - AVFAudio _lib, NSError err, NSString userInfoKey, NSString errorDomain) { + static ObjCBlock_objcObjCObject_NSError_NSString? + userInfoValueProviderForDomain_( + AVFAudio _lib, + NSError err, + NSString userInfoKey, + NSString errorDomain, + ) { final _ret = _lib._objc_msgSend_87( - _lib._class_NSError1, - _lib._sel_userInfoValueProviderForDomain_1, - err._id, - userInfoKey._id, - errorDomain._id); + _lib._class_NSError1, + _lib._sel_userInfoValueProviderForDomain_1, + err.pointer, + userInfoKey.pointer, + errorDomain.pointer, + ); return _ret.address == 0 ? null - : ObjCBlock_ObjCObject_NSError_NSString._(_ret, _lib, - retain: true, release: true); + : ObjCBlock_objcObjCObject_NSError_NSString._( + _ret, + _lib, + retain: true, + release: true, + ); } @override NSError init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSError._(_ret, _lib, retain: true, release: true); } @@ -40356,7 +51917,10 @@ class NSError extends NSObject { static NSError allocWithZone_(AVFAudio _lib, ffi.Pointer<_NSZone> zone) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSError1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSError1, + _lib._sel_allocWithZone_1, + zone, + ); return NSError._(_ret, _lib, retain: false, release: true); } @@ -40366,160 +51930,172 @@ class NSError extends NSObject { } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + AVFAudio _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSError1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSError1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSError1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + AVFAudio _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSError1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { return _lib._objc_msgSend_12( - _lib._class_NSError1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_NSError1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(AVFAudio _lib) { return _lib._objc_msgSend_12( - _lib._class_NSError1, _lib._sel_useStoredAccessor1); + _lib._class_NSError1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSError1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSError1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSError1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSError1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, NSArray keys, NSString dependentKey) { + AVFAudio _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSError1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSError1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { final _ret = _lib._objc_msgSend_85( - _lib._class_NSError1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSError1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(AVFAudio _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSError1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSError1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } -class _ObjCBlockBase implements ffi.Finalizable { - final ffi.Pointer<_ObjCBlock> _id; - final AVFAudio _lib; - bool _pendingRelease; - - _ObjCBlockBase._(this._id, this._lib, - {bool retain = false, bool release = false}) - : _pendingRelease = release { - if (retain) { - _lib._Block_copy(_id.cast()); - } - if (release) { - _lib._objc_releaseFinalizer11.attach(this, _id.cast(), detach: this); - } - } - - /// Releases the reference to the underlying ObjC block held by this wrapper. - /// Throws a StateError if this wrapper doesn't currently hold a reference. - void release() { - if (_pendingRelease) { - _pendingRelease = false; - _lib._Block_release(_id.cast()); - _lib._objc_releaseFinalizer11.detach(this); - } else { - throw StateError( - 'Released an ObjC block that was unowned or already released.'); - } - } - - @override - bool operator ==(Object other) { - return other is _ObjCBlockBase && _id == other._id; - } - - @override - int get hashCode => _id.hashCode; - - /// Return a pointer to this object. - ffi.Pointer<_ObjCBlock> get pointer => _id; - - ffi.Pointer<_ObjCBlock> retainAndReturnPointer() { - _lib._Block_copy(_id.cast()); - return _id; - } -} - -ffi.Pointer _ObjCBlock_ObjCObject_NSError_NSString_fnPtrTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1) => - block.ref.target - .cast< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer arg0, - ffi.Pointer arg1)>>() - .asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer)>()(arg0, arg1); -final _ObjCBlock_ObjCObject_NSError_NSString_closureRegistry = Function( - ffi.Pointer, ffi.Pointer)>{}; -int _ObjCBlock_ObjCObject_NSError_NSString_closureRegistryIndex = 0; -ffi.Pointer _ObjCBlock_ObjCObject_NSError_NSString_registerClosure( - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer) - fn) { - final id = ++_ObjCBlock_ObjCObject_NSError_NSString_closureRegistryIndex; - _ObjCBlock_ObjCObject_NSError_NSString_closureRegistry[id] = fn; +ffi.Pointer +_ObjCBlock_objcObjCObject_NSError_NSString_fnPtrTrampoline( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, +) => block.ref.target + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) + > + >() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >()(arg0, arg1); +final _ObjCBlock_objcObjCObject_NSError_NSString_closureRegistry = + < + int, + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >{}; +int _ObjCBlock_objcObjCObject_NSError_NSString_closureRegistryIndex = 0; +ffi.Pointer +_ObjCBlock_objcObjCObject_NSError_NSString_registerClosure( + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) fn, +) { + final id = ++_ObjCBlock_objcObjCObject_NSError_NSString_closureRegistryIndex; + _ObjCBlock_objcObjCObject_NSError_NSString_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } -ffi.Pointer - _ObjCBlock_ObjCObject_NSError_NSString_closureTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1) => - _ObjCBlock_ObjCObject_NSError_NSString_closureRegistry[ - block.ref.target.address]!(arg0, arg1); - -class ObjCBlock_ObjCObject_NSError_NSString extends _ObjCBlockBase { - ObjCBlock_ObjCObject_NSError_NSString._( - ffi.Pointer<_ObjCBlock> id, AVFAudio lib, - {bool retain = false, bool release = true}) - : super._(id, lib, retain: retain, release: release); +ffi.Pointer +_ObjCBlock_objcObjCObject_NSError_NSString_closureTrampoline( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, +) => _ObjCBlock_objcObjCObject_NSError_NSString_closureRegistry[block + .ref + .target + .address]!(arg0, arg1); + +class ObjCBlock_objcObjCObject_NSError_NSString extends objc.ObjCBlockBase { + ObjCBlock_objcObjCObject_NSError_NSString._( + ffi.Pointer pointer, + this._lib, { + bool retain = false, + bool release = true, + }) : super(pointer, retain: retain, release: release); + + AVFAudio _lib; /// Returns a block that wraps the given raw block pointer. - static ObjCBlock_ObjCObject_NSError_NSString castFromPointer( - AVFAudio lib, ffi.Pointer<_ObjCBlock> pointer, - {bool retain = false, bool release = false}) { - return ObjCBlock_ObjCObject_NSError_NSString._(pointer, lib, - retain: retain, release: release); + static ObjCBlock_objcObjCObject_NSError_NSString castFromPointer( + AVFAudio lib, + ffi.Pointer pointer, { + bool retain = false, + bool release = false, + }) { + return ObjCBlock_objcObjCObject_NSError_NSString._( + pointer, + lib, + retain: retain, + release: release, + ); } /// Creates a block from a C function pointer. @@ -40527,24 +52103,29 @@ class ObjCBlock_ObjCObject_NSError_NSString extends _ObjCBlockBase { /// This block must be invoked by native code running on the same thread as /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. - ObjCBlock_ObjCObject_NSError_NSString.fromFunctionPointer( - AVFAudio lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer arg0, - ffi.Pointer arg1)>> - ptr) - : this._( - lib._newBlock1( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Pointer Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer)>( - _ObjCBlock_ObjCObject_NSError_NSString_fnPtrTrampoline) - .cast(), - ptr.cast()), - lib); + ObjCBlock_objcObjCObject_NSError_NSString.fromFunctionPointer( + AVFAudio lib, + ffi.Pointer< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) + > + > ptr, + ) : this._(objc.newBlock( + _cFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >( + _ObjCBlock_objcObjCObject_NSError_NSString_fnPtrTrampoline, + ).cast(), + ptr.cast(), + ), lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -40552,295 +52133,416 @@ class ObjCBlock_ObjCObject_NSError_NSString extends _ObjCBlockBase { /// This block must be invoked by native code running on the same thread as /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. - ObjCBlock_ObjCObject_NSError_NSString.fromFunction( - AVFAudio lib, NSObject? Function(NSError, NSString) fn) - : this._( - lib._newBlock1( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Pointer Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer)>( - _ObjCBlock_ObjCObject_NSError_NSString_closureTrampoline) - .cast(), - _ObjCBlock_ObjCObject_NSError_NSString_registerClosure( - (ffi.Pointer arg0, ffi.Pointer arg1) => - fn(NSError._(arg0, lib, retain: true, release: true), NSString._(arg1, lib, retain: true, release: true)) - ?.retainAndReturnPointer() ?? - ffi.nullptr)), - lib); + ObjCBlock_objcObjCObject_NSError_NSString.fromFunction( + AVFAudio lib, + NSObject? Function(NSError, NSString) fn, + ) : this._(objc.newBlock( + _dartFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >( + _ObjCBlock_objcObjCObject_NSError_NSString_closureTrampoline, + ).cast(), + _ObjCBlock_objcObjCObject_NSError_NSString_registerClosure(( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) => + fn( + NSError._(arg0, lib, retain: true, release: true), + NSString._(arg1, lib, retain: true, release: true), + )?.retainAndReturnPointer() ?? + ffi.nullptr), + ), lib); static ffi.Pointer? _dartFuncTrampoline; - NSObject? call(NSError arg0, NSString arg1) => _id.ref.invoke + NSObject? call(NSError arg0, NSString arg1) => + pointer.ref.invoke + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, + ) + > + >() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >()(pointer, arg0.pointer, arg1.pointer) + .address == + 0 + ? null + : NSObject._(pointer.ref.invoke .cast< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1)>>() - .asFunction Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer, ffi.Pointer)>() - (_id, arg0._id, arg1._id) - .address == - 0 - ? null - : NSObject._( - _id.ref.invoke - .cast Function(ffi.Pointer<_ObjCBlock> block, ffi.Pointer arg0, ffi.Pointer arg1)>>() - .asFunction Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer, ffi.Pointer)>()(_id, arg0._id, arg1._id), - _lib, - retain: false, - release: true); -} - -final class _ObjCBlockDesc extends ffi.Struct { - @ffi.UnsignedLong() - external int reserved; - - @ffi.UnsignedLong() - external int size; - - external ffi.Pointer copy_helper; - - external ffi.Pointer dispose_helper; - - external ffi.Pointer signature; -} - -final class _ObjCBlock extends ffi.Struct { - external ffi.Pointer isa; - - @ffi.Int() - external int flags; - - @ffi.Int() - external int reserved; - - external ffi.Pointer invoke; - - external ffi.Pointer<_ObjCBlockDesc> descriptor; - - external ffi.Pointer target; + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, + ) + > + >() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >()( + pointer, + arg0.pointer, + arg1.pointer, + ), _lib, retain: false, release: true); } class NSIndexSet extends NSObject { - NSIndexSet._(ffi.Pointer id, AVFAudio lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSIndexSet._( + ffi.Pointer pointer, + AVFAudio lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSIndexSet] that points to the same underlying object as [other]. - static NSIndexSet castFrom(T other) { - return NSIndexSet._(other._id, other._lib, retain: true, release: true); + static NSIndexSet castFrom( + AVFAudio lib, + T other, + ) { + return NSIndexSet._(other.pointer, lib, retain: true, release: true); } /// Returns a [NSIndexSet] that wraps the given raw object pointer. - static NSIndexSet castFromPointer(AVFAudio lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + static NSIndexSet castFromPointer( + AVFAudio lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSIndexSet._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSIndexSet]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_NSIndexSet1); + static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSIndexSet1, + ); } static NSIndexSet indexSet(AVFAudio _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSIndexSet1, _lib._sel_indexSet1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSIndexSet1, + _lib._sel_indexSet1, + ); return NSIndexSet._(_ret, _lib, retain: true, release: true); } static NSIndexSet indexSetWithIndex_(AVFAudio _lib, int value) { final _ret = _lib._objc_msgSend_65( - _lib._class_NSIndexSet1, _lib._sel_indexSetWithIndex_1, value); + _lib._class_NSIndexSet1, + _lib._sel_indexSetWithIndex_1, + value, + ); return NSIndexSet._(_ret, _lib, retain: true, release: true); } static NSIndexSet indexSetWithIndexesInRange_(AVFAudio _lib, _NSRange range) { final _ret = _lib._objc_msgSend_91( - _lib._class_NSIndexSet1, _lib._sel_indexSetWithIndexesInRange_1, range); + _lib._class_NSIndexSet1, + _lib._sel_indexSetWithIndexesInRange_1, + range, + ); return NSIndexSet._(_ret, _lib, retain: true, release: true); } NSIndexSet initWithIndexesInRange_(_NSRange range) { - final _ret = - _lib._objc_msgSend_91(_id, _lib._sel_initWithIndexesInRange_1, range); + final _ret = _lib._objc_msgSend_91( + this.pointer, + _lib._sel_initWithIndexesInRange_1, + range, + ); return NSIndexSet._(_ret, _lib, retain: true, release: true); } NSIndexSet initWithIndexSet_(NSIndexSet indexSet) { - final _ret = - _lib._objc_msgSend_92(_id, _lib._sel_initWithIndexSet_1, indexSet._id); + final _ret = _lib._objc_msgSend_92( + this.pointer, + _lib._sel_initWithIndexSet_1, + indexSet.pointer, + ); return NSIndexSet._(_ret, _lib, retain: true, release: true); } NSIndexSet initWithIndex_(int value) { - final _ret = _lib._objc_msgSend_65(_id, _lib._sel_initWithIndex_1, value); + final _ret = _lib._objc_msgSend_65( + this.pointer, + _lib._sel_initWithIndex_1, + value, + ); return NSIndexSet._(_ret, _lib, retain: true, release: true); } bool isEqualToIndexSet_(NSIndexSet indexSet) { return _lib._objc_msgSend_93( - _id, _lib._sel_isEqualToIndexSet_1, indexSet._id); + this.pointer, + _lib._sel_isEqualToIndexSet_1, + indexSet.pointer, + ); } int get count { - return _lib._objc_msgSend_10(_id, _lib._sel_count1); + return _lib._objc_msgSend_10(this.pointer, _lib._sel_count1); } int get firstIndex { - return _lib._objc_msgSend_10(_id, _lib._sel_firstIndex1); + return _lib._objc_msgSend_10(this.pointer, _lib._sel_firstIndex1); } int get lastIndex { - return _lib._objc_msgSend_10(_id, _lib._sel_lastIndex1); + return _lib._objc_msgSend_10(this.pointer, _lib._sel_lastIndex1); } int indexGreaterThanIndex_(int value) { - return _lib._objc_msgSend_94(_id, _lib._sel_indexGreaterThanIndex_1, value); + return _lib._objc_msgSend_94( + this.pointer, + _lib._sel_indexGreaterThanIndex_1, + value, + ); } int indexLessThanIndex_(int value) { - return _lib._objc_msgSend_94(_id, _lib._sel_indexLessThanIndex_1, value); + return _lib._objc_msgSend_94( + this.pointer, + _lib._sel_indexLessThanIndex_1, + value, + ); } int indexGreaterThanOrEqualToIndex_(int value) { return _lib._objc_msgSend_94( - _id, _lib._sel_indexGreaterThanOrEqualToIndex_1, value); + this.pointer, + _lib._sel_indexGreaterThanOrEqualToIndex_1, + value, + ); } int indexLessThanOrEqualToIndex_(int value) { return _lib._objc_msgSend_94( - _id, _lib._sel_indexLessThanOrEqualToIndex_1, value); + this.pointer, + _lib._sel_indexLessThanOrEqualToIndex_1, + value, + ); } int getIndexes_maxCount_inIndexRange_( - ffi.Pointer indexBuffer, - int bufferSize, - ffi.Pointer<_NSRange> range) { + ffi.Pointer indexBuffer, + int bufferSize, + ffi.Pointer<_NSRange> range, + ) { return _lib._objc_msgSend_95( - _id, - _lib._sel_getIndexes_maxCount_inIndexRange_1, - indexBuffer, - bufferSize, - range); + this.pointer, + _lib._sel_getIndexes_maxCount_inIndexRange_1, + indexBuffer, + bufferSize, + range, + ); } int countOfIndexesInRange_(_NSRange range) { - return _lib._objc_msgSend_96(_id, _lib._sel_countOfIndexesInRange_1, range); + return _lib._objc_msgSend_96( + this.pointer, + _lib._sel_countOfIndexesInRange_1, + range, + ); } bool containsIndex_(int value) { - return _lib._objc_msgSend_97(_id, _lib._sel_containsIndex_1, value); + return _lib._objc_msgSend_97( + this.pointer, + _lib._sel_containsIndex_1, + value, + ); } bool containsIndexesInRange_(_NSRange range) { return _lib._objc_msgSend_98( - _id, _lib._sel_containsIndexesInRange_1, range); + this.pointer, + _lib._sel_containsIndexesInRange_1, + range, + ); } bool containsIndexes_(NSIndexSet indexSet) { return _lib._objc_msgSend_93( - _id, _lib._sel_containsIndexes_1, indexSet._id); + this.pointer, + _lib._sel_containsIndexes_1, + indexSet.pointer, + ); } bool intersectsIndexesInRange_(_NSRange range) { return _lib._objc_msgSend_98( - _id, _lib._sel_intersectsIndexesInRange_1, range); + this.pointer, + _lib._sel_intersectsIndexesInRange_1, + range, + ); } void enumerateIndexesUsingBlock_( - ObjCBlock_ffiVoid_ffiUnsignedLong_bool block) { + ObjCBlock_ffiVoid_ffiUnsignedLong_bool block, + ) { _lib._objc_msgSend_99( - _id, _lib._sel_enumerateIndexesUsingBlock_1, block._id); + this.pointer, + _lib._sel_enumerateIndexesUsingBlock_1, + block.pointer, + ); } void enumerateIndexesWithOptions_usingBlock_( - int opts, ObjCBlock_ffiVoid_ffiUnsignedLong_bool block) { - _lib._objc_msgSend_100(_id, - _lib._sel_enumerateIndexesWithOptions_usingBlock_1, opts, block._id); + int opts, + ObjCBlock_ffiVoid_ffiUnsignedLong_bool block, + ) { + _lib._objc_msgSend_100( + this.pointer, + _lib._sel_enumerateIndexesWithOptions_usingBlock_1, + opts, + block.pointer, + ); } void enumerateIndexesInRange_options_usingBlock_( - _NSRange range, int opts, ObjCBlock_ffiVoid_ffiUnsignedLong_bool block) { + _NSRange range, + int opts, + ObjCBlock_ffiVoid_ffiUnsignedLong_bool block, + ) { _lib._objc_msgSend_101( - _id, - _lib._sel_enumerateIndexesInRange_options_usingBlock_1, - range, - opts, - block._id); + this.pointer, + _lib._sel_enumerateIndexesInRange_options_usingBlock_1, + range, + opts, + block.pointer, + ); } int indexPassingTest_(ObjCBlock_bool_ffiUnsignedLong_bool predicate) { return _lib._objc_msgSend_102( - _id, _lib._sel_indexPassingTest_1, predicate._id); + this.pointer, + _lib._sel_indexPassingTest_1, + predicate.pointer, + ); } int indexWithOptions_passingTest_( - int opts, ObjCBlock_bool_ffiUnsignedLong_bool predicate) { + int opts, + ObjCBlock_bool_ffiUnsignedLong_bool predicate, + ) { return _lib._objc_msgSend_103( - _id, _lib._sel_indexWithOptions_passingTest_1, opts, predicate._id); + this.pointer, + _lib._sel_indexWithOptions_passingTest_1, + opts, + predicate.pointer, + ); } int indexInRange_options_passingTest_( - _NSRange range, int opts, ObjCBlock_bool_ffiUnsignedLong_bool predicate) { + _NSRange range, + int opts, + ObjCBlock_bool_ffiUnsignedLong_bool predicate, + ) { return _lib._objc_msgSend_104( - _id, - _lib._sel_indexInRange_options_passingTest_1, - range, - opts, - predicate._id); + this.pointer, + _lib._sel_indexInRange_options_passingTest_1, + range, + opts, + predicate.pointer, + ); } NSIndexSet indexesPassingTest_( - ObjCBlock_bool_ffiUnsignedLong_bool predicate) { + ObjCBlock_bool_ffiUnsignedLong_bool predicate, + ) { final _ret = _lib._objc_msgSend_105( - _id, _lib._sel_indexesPassingTest_1, predicate._id); + this.pointer, + _lib._sel_indexesPassingTest_1, + predicate.pointer, + ); return NSIndexSet._(_ret, _lib, retain: true, release: true); } NSIndexSet indexesWithOptions_passingTest_( - int opts, ObjCBlock_bool_ffiUnsignedLong_bool predicate) { + int opts, + ObjCBlock_bool_ffiUnsignedLong_bool predicate, + ) { final _ret = _lib._objc_msgSend_106( - _id, _lib._sel_indexesWithOptions_passingTest_1, opts, predicate._id); + this.pointer, + _lib._sel_indexesWithOptions_passingTest_1, + opts, + predicate.pointer, + ); return NSIndexSet._(_ret, _lib, retain: true, release: true); } NSIndexSet indexesInRange_options_passingTest_( - _NSRange range, int opts, ObjCBlock_bool_ffiUnsignedLong_bool predicate) { + _NSRange range, + int opts, + ObjCBlock_bool_ffiUnsignedLong_bool predicate, + ) { final _ret = _lib._objc_msgSend_107( - _id, - _lib._sel_indexesInRange_options_passingTest_1, - range, - opts, - predicate._id); + this.pointer, + _lib._sel_indexesInRange_options_passingTest_1, + range, + opts, + predicate.pointer, + ); return NSIndexSet._(_ret, _lib, retain: true, release: true); } void enumerateRangesUsingBlock_(ObjCBlock_ffiVoid_NSRange_bool block) { _lib._objc_msgSend_108( - _id, _lib._sel_enumerateRangesUsingBlock_1, block._id); + this.pointer, + _lib._sel_enumerateRangesUsingBlock_1, + block.pointer, + ); } void enumerateRangesWithOptions_usingBlock_( - int opts, ObjCBlock_ffiVoid_NSRange_bool block) { - _lib._objc_msgSend_109(_id, - _lib._sel_enumerateRangesWithOptions_usingBlock_1, opts, block._id); + int opts, + ObjCBlock_ffiVoid_NSRange_bool block, + ) { + _lib._objc_msgSend_109( + this.pointer, + _lib._sel_enumerateRangesWithOptions_usingBlock_1, + opts, + block.pointer, + ); } void enumerateRangesInRange_options_usingBlock_( - _NSRange range, int opts, ObjCBlock_ffiVoid_NSRange_bool block) { + _NSRange range, + int opts, + ObjCBlock_ffiVoid_NSRange_bool block, + ) { _lib._objc_msgSend_110( - _id, - _lib._sel_enumerateRangesInRange_options_usingBlock_1, - range, - opts, - block._id); + this.pointer, + _lib._sel_enumerateRangesInRange_options_usingBlock_1, + range, + opts, + block.pointer, + ); } @override NSIndexSet init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSIndexSet._(_ret, _lib, retain: true, release: true); } @@ -40851,115 +52553,168 @@ class NSIndexSet extends NSObject { static NSIndexSet allocWithZone_(AVFAudio _lib, ffi.Pointer<_NSZone> zone) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSIndexSet1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSIndexSet1, + _lib._sel_allocWithZone_1, + zone, + ); return NSIndexSet._(_ret, _lib, retain: false, release: true); } static NSIndexSet alloc(AVFAudio _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSIndexSet1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSIndexSet1, + _lib._sel_alloc1, + ); return NSIndexSet._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + AVFAudio _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSIndexSet1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSIndexSet1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSIndexSet1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + AVFAudio _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSIndexSet1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { return _lib._objc_msgSend_12( - _lib._class_NSIndexSet1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_NSIndexSet1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(AVFAudio _lib) { return _lib._objc_msgSend_12( - _lib._class_NSIndexSet1, _lib._sel_useStoredAccessor1); + _lib._class_NSIndexSet1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSIndexSet1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSIndexSet1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSIndexSet1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSIndexSet1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, NSArray keys, NSString dependentKey) { + AVFAudio _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSIndexSet1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSIndexSet1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { final _ret = _lib._objc_msgSend_85( - _lib._class_NSIndexSet1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSIndexSet1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(AVFAudio _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSIndexSet1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSIndexSet1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } void _ObjCBlock_ffiVoid_ffiUnsignedLong_bool_fnPtrTrampoline( - ffi.Pointer<_ObjCBlock> block, int arg0, ffi.Pointer arg1) => - block.ref.target - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.UnsignedLong arg0, ffi.Pointer arg1)>>() - .asFunction)>()(arg0, arg1); + ffi.Pointer block, + int arg0, + ffi.Pointer arg1, +) => block.ref.target + .cast< + ffi.NativeFunction< + ffi.Void Function(ffi.UnsignedLong arg0, ffi.Pointer arg1) + > + >() + .asFunction)>()(arg0, arg1); final _ObjCBlock_ffiVoid_ffiUnsignedLong_bool_closureRegistry = )>{}; int _ObjCBlock_ffiVoid_ffiUnsignedLong_bool_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_ffiVoid_ffiUnsignedLong_bool_registerClosure( - void Function(int, ffi.Pointer) fn) { + void Function(int, ffi.Pointer) fn, +) { final id = ++_ObjCBlock_ffiVoid_ffiUnsignedLong_bool_closureRegistryIndex; _ObjCBlock_ffiVoid_ffiUnsignedLong_bool_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } void _ObjCBlock_ffiVoid_ffiUnsignedLong_bool_closureTrampoline( - ffi.Pointer<_ObjCBlock> block, int arg0, ffi.Pointer arg1) => - _ObjCBlock_ffiVoid_ffiUnsignedLong_bool_closureRegistry[ - block.ref.target.address]!(arg0, arg1); - -class ObjCBlock_ffiVoid_ffiUnsignedLong_bool extends _ObjCBlockBase { + ffi.Pointer block, + int arg0, + ffi.Pointer arg1, +) => _ObjCBlock_ffiVoid_ffiUnsignedLong_bool_closureRegistry[block + .ref + .target + .address]!(arg0, arg1); + +class ObjCBlock_ffiVoid_ffiUnsignedLong_bool extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_ffiUnsignedLong_bool._( - ffi.Pointer<_ObjCBlock> id, AVFAudio lib, - {bool retain = false, bool release = true}) - : super._(id, lib, retain: retain, release: release); + ffi.Pointer pointer, + this._lib, { + bool retain = false, + bool release = true, + }) : super(pointer, retain: retain, release: release); + + AVFAudio _lib; /// Returns a block that wraps the given raw block pointer. static ObjCBlock_ffiVoid_ffiUnsignedLong_bool castFromPointer( - AVFAudio lib, ffi.Pointer<_ObjCBlock> pointer, - {bool retain = false, bool release = false}) { - return ObjCBlock_ffiVoid_ffiUnsignedLong_bool._(pointer, lib, - retain: retain, release: release); + AVFAudio lib, + ffi.Pointer pointer, { + bool retain = false, + bool release = false, + }) { + return ObjCBlock_ffiVoid_ffiUnsignedLong_bool._( + pointer, + lib, + retain: retain, + release: release, + ); } /// Creates a block from a C function pointer. @@ -40968,21 +52723,23 @@ class ObjCBlock_ffiVoid_ffiUnsignedLong_bool extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_ffiUnsignedLong_bool.fromFunctionPointer( - AVFAudio lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.UnsignedLong arg0, ffi.Pointer arg1)>> - ptr) - : this._( - lib._newBlock1( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, - ffi.UnsignedLong, ffi.Pointer)>( - _ObjCBlock_ffiVoid_ffiUnsignedLong_bool_fnPtrTrampoline) - .cast(), - ptr.cast()), - lib); + AVFAudio lib, + ffi.Pointer< + ffi.NativeFunction< + ffi.Void Function(ffi.UnsignedLong arg0, ffi.Pointer arg1) + > + > ptr, + ) : this._(objc.newBlock( + _cFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_ffiUnsignedLong_bool_fnPtrTrampoline).cast(), + ptr.cast(), + ), lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -40991,17 +52748,22 @@ class ObjCBlock_ffiVoid_ffiUnsignedLong_bool extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_ffiUnsignedLong_bool.fromFunction( - AVFAudio lib, void Function(int, ffi.Pointer) fn) - : this._( - lib._newBlock1( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, - ffi.UnsignedLong, ffi.Pointer)>( - _ObjCBlock_ffiVoid_ffiUnsignedLong_bool_closureTrampoline) - .cast(), - _ObjCBlock_ffiVoid_ffiUnsignedLong_bool_registerClosure( - (int arg0, ffi.Pointer arg1) => fn(arg0, arg1))), - lib); + AVFAudio lib, + void Function(int, ffi.Pointer) fn, + ) : this._(objc.newBlock( + _dartFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_ffiUnsignedLong_bool_closureTrampoline).cast(), + _ObjCBlock_ffiVoid_ffiUnsignedLong_bool_registerClosure(( + int arg0, + ffi.Pointer arg1, + ) => fn(arg0, arg1)), + ), lib); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -41014,33 +52776,46 @@ class ObjCBlock_ffiVoid_ffiUnsignedLong_bool extends _ObjCBlockBase { /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. ObjCBlock_ffiVoid_ffiUnsignedLong_bool.listener( - AVFAudio lib, void Function(int, ffi.Pointer) fn) - : this._( - lib._newBlock1( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.UnsignedLong, - ffi.Pointer)>.listener( - _ObjCBlock_ffiVoid_ffiUnsignedLong_bool_closureTrampoline) - ..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_ffiUnsignedLong_bool_registerClosure( - (int arg0, ffi.Pointer arg1) => fn(arg0, arg1))), - lib); + AVFAudio lib, + void Function(int, ffi.Pointer) fn, + ) : this._(objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer, + ) + >.listener( + _ObjCBlock_ffiVoid_ffiUnsignedLong_bool_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_ffiUnsignedLong_bool_registerClosure(( + int arg0, + ffi.Pointer arg1, + ) => fn(arg0, arg1)), + ), lib); static ffi.NativeCallable< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, ffi.UnsignedLong, - ffi.Pointer)>? _dartFuncListenerTrampoline; - - void call(int arg0, ffi.Pointer arg1) => _id.ref.invoke + ffi.Void Function( + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer, + ) + >? _dartFuncListenerTrampoline; + + void call(int arg0, ffi.Pointer arg1) => pointer.ref.invoke .cast< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer<_ObjCBlock> block, - ffi.UnsignedLong arg0, ffi.Pointer arg1)>>() + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer block, + ffi.UnsignedLong arg0, + ffi.Pointer arg1, + ) + > + >() .asFunction< - void Function(ffi.Pointer<_ObjCBlock>, int, - ffi.Pointer)>()(_id, arg0, arg1); + void Function(ffi.Pointer, int, ffi.Pointer) + >()(pointer, arg0, arg1); } abstract class NSEnumerationOptions { @@ -41049,40 +52824,59 @@ abstract class NSEnumerationOptions { } bool _ObjCBlock_bool_ffiUnsignedLong_bool_fnPtrTrampoline( - ffi.Pointer<_ObjCBlock> block, int arg0, ffi.Pointer arg1) => - block.ref.target - .cast< - ffi.NativeFunction< - ffi.Bool Function( - ffi.UnsignedLong arg0, ffi.Pointer arg1)>>() - .asFunction)>()(arg0, arg1); + ffi.Pointer block, + int arg0, + ffi.Pointer arg1, +) => block.ref.target + .cast< + ffi.NativeFunction< + ffi.Bool Function(ffi.UnsignedLong arg0, ffi.Pointer arg1) + > + >() + .asFunction)>()(arg0, arg1); final _ObjCBlock_bool_ffiUnsignedLong_bool_closureRegistry = )>{}; int _ObjCBlock_bool_ffiUnsignedLong_bool_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_bool_ffiUnsignedLong_bool_registerClosure( - bool Function(int, ffi.Pointer) fn) { + bool Function(int, ffi.Pointer) fn, +) { final id = ++_ObjCBlock_bool_ffiUnsignedLong_bool_closureRegistryIndex; _ObjCBlock_bool_ffiUnsignedLong_bool_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } bool _ObjCBlock_bool_ffiUnsignedLong_bool_closureTrampoline( - ffi.Pointer<_ObjCBlock> block, int arg0, ffi.Pointer arg1) => - _ObjCBlock_bool_ffiUnsignedLong_bool_closureRegistry[ - block.ref.target.address]!(arg0, arg1); - -class ObjCBlock_bool_ffiUnsignedLong_bool extends _ObjCBlockBase { + ffi.Pointer block, + int arg0, + ffi.Pointer arg1, +) => _ObjCBlock_bool_ffiUnsignedLong_bool_closureRegistry[block + .ref + .target + .address]!(arg0, arg1); + +class ObjCBlock_bool_ffiUnsignedLong_bool extends objc.ObjCBlockBase { ObjCBlock_bool_ffiUnsignedLong_bool._( - ffi.Pointer<_ObjCBlock> id, AVFAudio lib, - {bool retain = false, bool release = true}) - : super._(id, lib, retain: retain, release: release); + ffi.Pointer pointer, + this._lib, { + bool retain = false, + bool release = true, + }) : super(pointer, retain: retain, release: release); + + AVFAudio _lib; /// Returns a block that wraps the given raw block pointer. static ObjCBlock_bool_ffiUnsignedLong_bool castFromPointer( - AVFAudio lib, ffi.Pointer<_ObjCBlock> pointer, - {bool retain = false, bool release = false}) { - return ObjCBlock_bool_ffiUnsignedLong_bool._(pointer, lib, - retain: retain, release: release); + AVFAudio lib, + ffi.Pointer pointer, { + bool retain = false, + bool release = false, + }) { + return ObjCBlock_bool_ffiUnsignedLong_bool._( + pointer, + lib, + retain: retain, + release: release, + ); } /// Creates a block from a C function pointer. @@ -41091,23 +52885,26 @@ class ObjCBlock_bool_ffiUnsignedLong_bool extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_bool_ffiUnsignedLong_bool.fromFunctionPointer( - AVFAudio lib, - ffi.Pointer< - ffi - .NativeFunction< - ffi.Bool Function( - ffi.UnsignedLong arg0, ffi.Pointer arg1)>> - ptr) - : this._( - lib._newBlock1( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Bool Function(ffi.Pointer<_ObjCBlock>, - ffi.UnsignedLong, ffi.Pointer)>( - _ObjCBlock_bool_ffiUnsignedLong_bool_fnPtrTrampoline, - false) - .cast(), - ptr.cast()), - lib); + AVFAudio lib, + ffi.Pointer< + ffi.NativeFunction< + ffi.Bool Function(ffi.UnsignedLong arg0, ffi.Pointer arg1) + > + > ptr, + ) : this._(objc.newBlock( + _cFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer, + ) + >( + _ObjCBlock_bool_ffiUnsignedLong_bool_fnPtrTrampoline, + false, + ).cast(), + ptr.cast(), + ), lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -41116,68 +52913,96 @@ class ObjCBlock_bool_ffiUnsignedLong_bool extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_bool_ffiUnsignedLong_bool.fromFunction( - AVFAudio lib, bool Function(int, ffi.Pointer) fn) - : this._( - lib._newBlock1( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Bool Function(ffi.Pointer<_ObjCBlock>, - ffi.UnsignedLong, ffi.Pointer)>( - _ObjCBlock_bool_ffiUnsignedLong_bool_closureTrampoline, - false) - .cast(), - _ObjCBlock_bool_ffiUnsignedLong_bool_registerClosure( - (int arg0, ffi.Pointer arg1) => fn(arg0, arg1))), - lib); + AVFAudio lib, + bool Function(int, ffi.Pointer) fn, + ) : this._(objc.newBlock( + _dartFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer, + ) + >( + _ObjCBlock_bool_ffiUnsignedLong_bool_closureTrampoline, + false, + ).cast(), + _ObjCBlock_bool_ffiUnsignedLong_bool_registerClosure(( + int arg0, + ffi.Pointer arg1, + ) => fn(arg0, arg1)), + ), lib); static ffi.Pointer? _dartFuncTrampoline; - bool call(int arg0, ffi.Pointer arg1) => _id.ref.invoke + bool call(int arg0, ffi.Pointer arg1) => pointer.ref.invoke .cast< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer<_ObjCBlock> block, - ffi.UnsignedLong arg0, ffi.Pointer arg1)>>() + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer block, + ffi.UnsignedLong arg0, + ffi.Pointer arg1, + ) + > + >() .asFunction< - bool Function(ffi.Pointer<_ObjCBlock>, int, - ffi.Pointer)>()(_id, arg0, arg1); + bool Function(ffi.Pointer, int, ffi.Pointer) + >()(pointer, arg0, arg1); } void _ObjCBlock_ffiVoid_NSRange_bool_fnPtrTrampoline( - ffi.Pointer<_ObjCBlock> block, - _NSRange arg0, - ffi.Pointer arg1) => - block.ref.target - .cast< - ffi.NativeFunction< - ffi.Void Function(_NSRange arg0, ffi.Pointer arg1)>>() - .asFunction< - void Function(_NSRange, ffi.Pointer)>()(arg0, arg1); + ffi.Pointer block, + _NSRange arg0, + ffi.Pointer arg1, +) => block.ref.target + .cast< + ffi.NativeFunction< + ffi.Void Function(_NSRange arg0, ffi.Pointer arg1) + > + >() + .asFunction)>()(arg0, arg1); final _ObjCBlock_ffiVoid_NSRange_bool_closureRegistry = )>{}; int _ObjCBlock_ffiVoid_NSRange_bool_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_ffiVoid_NSRange_bool_registerClosure( - void Function(_NSRange, ffi.Pointer) fn) { + void Function(_NSRange, ffi.Pointer) fn, +) { final id = ++_ObjCBlock_ffiVoid_NSRange_bool_closureRegistryIndex; _ObjCBlock_ffiVoid_NSRange_bool_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } void _ObjCBlock_ffiVoid_NSRange_bool_closureTrampoline( - ffi.Pointer<_ObjCBlock> block, - _NSRange arg0, - ffi.Pointer arg1) => - _ObjCBlock_ffiVoid_NSRange_bool_closureRegistry[block.ref.target.address]!( - arg0, arg1); - -class ObjCBlock_ffiVoid_NSRange_bool extends _ObjCBlockBase { - ObjCBlock_ffiVoid_NSRange_bool._(ffi.Pointer<_ObjCBlock> id, AVFAudio lib, - {bool retain = false, bool release = true}) - : super._(id, lib, retain: retain, release: release); + ffi.Pointer block, + _NSRange arg0, + ffi.Pointer arg1, +) => _ObjCBlock_ffiVoid_NSRange_bool_closureRegistry[block.ref.target.address]!( + arg0, + arg1, +); + +class ObjCBlock_ffiVoid_NSRange_bool extends objc.ObjCBlockBase { + ObjCBlock_ffiVoid_NSRange_bool._( + ffi.Pointer pointer, + this._lib, { + bool retain = false, + bool release = true, + }) : super(pointer, retain: retain, release: release); + + AVFAudio _lib; /// Returns a block that wraps the given raw block pointer. static ObjCBlock_ffiVoid_NSRange_bool castFromPointer( - AVFAudio lib, ffi.Pointer<_ObjCBlock> pointer, - {bool retain = false, bool release = false}) { - return ObjCBlock_ffiVoid_NSRange_bool._(pointer, lib, - retain: retain, release: release); + AVFAudio lib, + ffi.Pointer pointer, { + bool retain = false, + bool release = false, + }) { + return ObjCBlock_ffiVoid_NSRange_bool._( + pointer, + lib, + retain: retain, + release: release, + ); } /// Creates a block from a C function pointer. @@ -41186,20 +53011,23 @@ class ObjCBlock_ffiVoid_NSRange_bool extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSRange_bool.fromFunctionPointer( - AVFAudio lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function(_NSRange arg0, ffi.Pointer arg1)>> - ptr) - : this._( - lib._newBlock1( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, _NSRange, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_NSRange_bool_fnPtrTrampoline) - .cast(), - ptr.cast()), - lib); + AVFAudio lib, + ffi.Pointer< + ffi.NativeFunction< + ffi.Void Function(_NSRange arg0, ffi.Pointer arg1) + > + > ptr, + ) : this._(objc.newBlock( + _cFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + _NSRange, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_NSRange_bool_fnPtrTrampoline).cast(), + ptr.cast(), + ), lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -41208,18 +53036,22 @@ class ObjCBlock_ffiVoid_NSRange_bool extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSRange_bool.fromFunction( - AVFAudio lib, void Function(_NSRange, ffi.Pointer) fn) - : this._( - lib._newBlock1( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, _NSRange, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_NSRange_bool_closureTrampoline) - .cast(), - _ObjCBlock_ffiVoid_NSRange_bool_registerClosure( - (_NSRange arg0, ffi.Pointer arg1) => - fn(arg0, arg1))), - lib); + AVFAudio lib, + void Function(_NSRange, ffi.Pointer) fn, + ) : this._(objc.newBlock( + _dartFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + _NSRange, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_NSRange_bool_closureTrampoline).cast(), + _ObjCBlock_ffiVoid_NSRange_bool_registerClosure(( + _NSRange arg0, + ffi.Pointer arg1, + ) => fn(arg0, arg1)), + ), lib); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -41232,80 +53064,123 @@ class ObjCBlock_ffiVoid_NSRange_bool extends _ObjCBlockBase { /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. ObjCBlock_ffiVoid_NSRange_bool.listener( - AVFAudio lib, void Function(_NSRange, ffi.Pointer) fn) - : this._( - lib._newBlock1( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, _NSRange, - ffi.Pointer)>.listener( - _ObjCBlock_ffiVoid_NSRange_bool_closureTrampoline) - ..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSRange_bool_registerClosure( - (_NSRange arg0, ffi.Pointer arg1) => - fn(arg0, arg1))), - lib); + AVFAudio lib, + void Function(_NSRange, ffi.Pointer) fn, + ) : this._(objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + _NSRange, + ffi.Pointer, + ) + >.listener( + _ObjCBlock_ffiVoid_NSRange_bool_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSRange_bool_registerClosure(( + _NSRange arg0, + ffi.Pointer arg1, + ) => fn(arg0, arg1)), + ), lib); static ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, _NSRange, ffi.Pointer)>? - _dartFuncListenerTrampoline; - - void call(_NSRange arg0, ffi.Pointer arg1) => _id.ref.invoke + ffi.Void Function( + ffi.Pointer, + _NSRange, + ffi.Pointer, + ) + >? _dartFuncListenerTrampoline; + + void call(_NSRange arg0, ffi.Pointer arg1) => pointer.ref.invoke .cast< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer<_ObjCBlock> block, _NSRange arg0, - ffi.Pointer arg1)>>() + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer block, + _NSRange arg0, + ffi.Pointer arg1, + ) + > + >() .asFunction< - void Function(ffi.Pointer<_ObjCBlock>, _NSRange, - ffi.Pointer)>()(_id, arg0, arg1); + void Function( + ffi.Pointer, + _NSRange, + ffi.Pointer, + ) + >()(pointer, arg0, arg1); } -void _ObjCBlock_ffiVoid_ObjCObject_ffiUnsignedLong_bool_fnPtrTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - int arg1, - ffi.Pointer arg2) => - block.ref.target - .cast< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer arg0, - ffi.UnsignedLong arg1, ffi.Pointer arg2)>>() - .asFunction< - void Function(ffi.Pointer, int, - ffi.Pointer)>()(arg0, arg1, arg2); -final _ObjCBlock_ffiVoid_ObjCObject_ffiUnsignedLong_bool_closureRegistry = - , int, ffi.Pointer)>{}; -int _ObjCBlock_ffiVoid_ObjCObject_ffiUnsignedLong_bool_closureRegistryIndex = 0; +void _ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool_fnPtrTrampoline( + ffi.Pointer block, + ffi.Pointer arg0, + int arg1, + ffi.Pointer arg2, +) => block.ref.target + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.UnsignedLong arg1, + ffi.Pointer arg2, + ) + > + >() + .asFunction< + void Function(ffi.Pointer, int, ffi.Pointer) + >()(arg0, arg1, arg2); +final _ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool_closureRegistry = + < + int, + void Function(ffi.Pointer, int, ffi.Pointer) + >{}; +int +_ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool_closureRegistryIndex = 0; ffi.Pointer - _ObjCBlock_ffiVoid_ObjCObject_ffiUnsignedLong_bool_registerClosure( - void Function(ffi.Pointer, int, ffi.Pointer) fn) { +_ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool_registerClosure( + void Function(ffi.Pointer, int, ffi.Pointer) fn, +) { final id = - ++_ObjCBlock_ffiVoid_ObjCObject_ffiUnsignedLong_bool_closureRegistryIndex; - _ObjCBlock_ffiVoid_ObjCObject_ffiUnsignedLong_bool_closureRegistry[id] = fn; + ++_ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool_closureRegistryIndex; + _ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool_closureRegistry[id] = + fn; return ffi.Pointer.fromAddress(id); } -void _ObjCBlock_ffiVoid_ObjCObject_ffiUnsignedLong_bool_closureTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - int arg1, - ffi.Pointer arg2) => - _ObjCBlock_ffiVoid_ObjCObject_ffiUnsignedLong_bool_closureRegistry[ - block.ref.target.address]!(arg0, arg1, arg2); - -class ObjCBlock_ffiVoid_ObjCObject_ffiUnsignedLong_bool extends _ObjCBlockBase { - ObjCBlock_ffiVoid_ObjCObject_ffiUnsignedLong_bool._( - ffi.Pointer<_ObjCBlock> id, AVFAudio lib, - {bool retain = false, bool release = true}) - : super._(id, lib, retain: retain, release: release); +void _ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool_closureTrampoline( + ffi.Pointer block, + ffi.Pointer arg0, + int arg1, + ffi.Pointer arg2, +) => + _ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool_closureRegistry[block + .ref + .target + .address]!(arg0, arg1, arg2); + +class ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool + extends objc.ObjCBlockBase { + ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool._( + ffi.Pointer pointer, + this._lib, { + bool retain = false, + bool release = true, + }) : super(pointer, retain: retain, release: release); + + AVFAudio _lib; /// Returns a block that wraps the given raw block pointer. - static ObjCBlock_ffiVoid_ObjCObject_ffiUnsignedLong_bool castFromPointer( - AVFAudio lib, ffi.Pointer<_ObjCBlock> pointer, - {bool retain = false, bool release = false}) { - return ObjCBlock_ffiVoid_ObjCObject_ffiUnsignedLong_bool._(pointer, lib, - retain: retain, release: release); + static ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool castFromPointer( + AVFAudio lib, + ffi.Pointer pointer, { + bool retain = false, + bool release = false, + }) { + return ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool._( + pointer, + lib, + retain: retain, + release: release, + ); } /// Creates a block from a C function pointer. @@ -41313,25 +53188,31 @@ class ObjCBlock_ffiVoid_ObjCObject_ffiUnsignedLong_bool extends _ObjCBlockBase { /// This block must be invoked by native code running on the same thread as /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. - ObjCBlock_ffiVoid_ObjCObject_ffiUnsignedLong_bool.fromFunctionPointer( - AVFAudio lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer arg0, - ffi.UnsignedLong arg1, ffi.Pointer arg2)>> - ptr) - : this._( - lib._newBlock1( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_ObjCObject_ffiUnsignedLong_bool_fnPtrTrampoline) - .cast(), - ptr.cast()), - lib); + ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool.fromFunctionPointer( + AVFAudio lib, + ffi.Pointer< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.UnsignedLong arg1, + ffi.Pointer arg2, + ) + > + > ptr, + ) : this._(objc.newBlock( + _cFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer, + ) + >( + _ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool_fnPtrTrampoline, + ).cast(), + ptr.cast(), + ), lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -41339,23 +53220,32 @@ class ObjCBlock_ffiVoid_ObjCObject_ffiUnsignedLong_bool extends _ObjCBlockBase { /// This block must be invoked by native code running on the same thread as /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. - ObjCBlock_ffiVoid_ObjCObject_ffiUnsignedLong_bool.fromFunction( - AVFAudio lib, void Function(NSObject, int, ffi.Pointer) fn) - : this._( - lib._newBlock1( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_ObjCObject_ffiUnsignedLong_bool_closureTrampoline) - .cast(), - _ObjCBlock_ffiVoid_ObjCObject_ffiUnsignedLong_bool_registerClosure( - (ffi.Pointer arg0, int arg1, - ffi.Pointer arg2) => - fn(NSObject._(arg0, lib, retain: true, release: true), arg1, arg2))), - lib); + ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool.fromFunction( + AVFAudio lib, + void Function(NSObject, int, ffi.Pointer) fn, + ) : this._(objc.newBlock( + _dartFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer, + ) + >( + _ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool_closureTrampoline, + ).cast(), + _ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool_registerClosure(( + ffi.Pointer arg0, + int arg1, + ffi.Pointer arg2, + ) => fn(NSObject._( + arg0, + lib, + retain: true, + release: true, + ), arg1, arg2)), + ), lib); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -41367,91 +53257,134 @@ class ObjCBlock_ffiVoid_ObjCObject_ffiUnsignedLong_bool extends _ObjCBlockBase { /// /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. - ObjCBlock_ffiVoid_ObjCObject_ffiUnsignedLong_bool.listener( - AVFAudio lib, void Function(NSObject, int, ffi.Pointer) fn) - : this._( - lib._newBlock1( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer)>.listener( - _ObjCBlock_ffiVoid_ObjCObject_ffiUnsignedLong_bool_closureTrampoline) - ..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_ObjCObject_ffiUnsignedLong_bool_registerClosure( - (ffi.Pointer arg0, int arg1, - ffi.Pointer arg2) => - fn(NSObject._(arg0, lib, retain: true, release: true), arg1, arg2))), - lib); + ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool.listener( + AVFAudio lib, + void Function(NSObject, int, ffi.Pointer) fn, + ) : this._(objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer, + ) + >.listener( + _ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool_registerClosure(( + ffi.Pointer arg0, + int arg1, + ffi.Pointer arg2, + ) => fn(NSObject._( + arg0, + lib, + retain: true, + release: true, + ), arg1, arg2)), + ), lib); static ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer)>? _dartFuncListenerTrampoline; - - void call(NSObject arg0, int arg1, ffi.Pointer arg2) => - _id.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.UnsignedLong arg1, - ffi.Pointer arg2)>>() - .asFunction< - void Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer, - int, ffi.Pointer)>()(_id, arg0._id, arg1, arg2); + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer, + ) + >? _dartFuncListenerTrampoline; + + void call(NSObject arg0, int arg1, ffi.Pointer arg2) => pointer + .ref + .invoke + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.UnsignedLong arg1, + ffi.Pointer arg2, + ) + > + >() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ) + >()(pointer, arg0.pointer, arg1, arg2); } -bool _ObjCBlock_bool_ObjCObject_ffiUnsignedLong_bool_fnPtrTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - int arg1, - ffi.Pointer arg2) => - block.ref.target - .cast< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer arg0, - ffi.UnsignedLong arg1, ffi.Pointer arg2)>>() - .asFunction< - bool Function(ffi.Pointer, int, - ffi.Pointer)>()(arg0, arg1, arg2); -final _ObjCBlock_bool_ObjCObject_ffiUnsignedLong_bool_closureRegistry = - , int, ffi.Pointer)>{}; -int _ObjCBlock_bool_ObjCObject_ffiUnsignedLong_bool_closureRegistryIndex = 0; +bool _ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool_fnPtrTrampoline( + ffi.Pointer block, + ffi.Pointer arg0, + int arg1, + ffi.Pointer arg2, +) => block.ref.target + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer arg0, + ffi.UnsignedLong arg1, + ffi.Pointer arg2, + ) + > + >() + .asFunction< + bool Function(ffi.Pointer, int, ffi.Pointer) + >()(arg0, arg1, arg2); +final _ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool_closureRegistry = + < + int, + bool Function(ffi.Pointer, int, ffi.Pointer) + >{}; +int _ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool_closureRegistryIndex = + 0; ffi.Pointer - _ObjCBlock_bool_ObjCObject_ffiUnsignedLong_bool_registerClosure( - bool Function(ffi.Pointer, int, ffi.Pointer) fn) { +_ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool_registerClosure( + bool Function(ffi.Pointer, int, ffi.Pointer) fn, +) { final id = - ++_ObjCBlock_bool_ObjCObject_ffiUnsignedLong_bool_closureRegistryIndex; - _ObjCBlock_bool_ObjCObject_ffiUnsignedLong_bool_closureRegistry[id] = fn; + ++_ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool_closureRegistryIndex; + _ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } -bool _ObjCBlock_bool_ObjCObject_ffiUnsignedLong_bool_closureTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - int arg1, - ffi.Pointer arg2) => - _ObjCBlock_bool_ObjCObject_ffiUnsignedLong_bool_closureRegistry[ - block.ref.target.address]!(arg0, arg1, arg2); - -class ObjCBlock_bool_ObjCObject_ffiUnsignedLong_bool extends _ObjCBlockBase { - ObjCBlock_bool_ObjCObject_ffiUnsignedLong_bool._( - ffi.Pointer<_ObjCBlock> id, AVFAudio lib, - {bool retain = false, bool release = true}) - : super._(id, lib, retain: retain, release: release); +bool _ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool_closureTrampoline( + ffi.Pointer block, + ffi.Pointer arg0, + int arg1, + ffi.Pointer arg2, +) => _ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool_closureRegistry[block + .ref + .target + .address]!(arg0, arg1, arg2); + +class ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool + extends objc.ObjCBlockBase { + ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool._( + ffi.Pointer pointer, + this._lib, { + bool retain = false, + bool release = true, + }) : super(pointer, retain: retain, release: release); + + AVFAudio _lib; /// Returns a block that wraps the given raw block pointer. - static ObjCBlock_bool_ObjCObject_ffiUnsignedLong_bool castFromPointer( - AVFAudio lib, ffi.Pointer<_ObjCBlock> pointer, - {bool retain = false, bool release = false}) { - return ObjCBlock_bool_ObjCObject_ffiUnsignedLong_bool._(pointer, lib, - retain: retain, release: release); + static ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool castFromPointer( + AVFAudio lib, + ffi.Pointer pointer, { + bool retain = false, + bool release = false, + }) { + return ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool._( + pointer, + lib, + retain: retain, + release: release, + ); } /// Creates a block from a C function pointer. @@ -41459,26 +53392,32 @@ class ObjCBlock_bool_ObjCObject_ffiUnsignedLong_bool extends _ObjCBlockBase { /// This block must be invoked by native code running on the same thread as /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. - ObjCBlock_bool_ObjCObject_ffiUnsignedLong_bool.fromFunctionPointer( - AVFAudio lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer arg0, - ffi.UnsignedLong arg1, ffi.Pointer arg2)>> - ptr) - : this._( - lib._newBlock1( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Bool Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer)>( - _ObjCBlock_bool_ObjCObject_ffiUnsignedLong_bool_fnPtrTrampoline, - false) - .cast(), - ptr.cast()), - lib); + ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool.fromFunctionPointer( + AVFAudio lib, + ffi.Pointer< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer arg0, + ffi.UnsignedLong arg1, + ffi.Pointer arg2, + ) + > + > ptr, + ) : this._(objc.newBlock( + _cFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer, + ) + >( + _ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool_fnPtrTrampoline, + false, + ).cast(), + ptr.cast(), + ), lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -41486,84 +53425,129 @@ class ObjCBlock_bool_ObjCObject_ffiUnsignedLong_bool extends _ObjCBlockBase { /// This block must be invoked by native code running on the same thread as /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. - ObjCBlock_bool_ObjCObject_ffiUnsignedLong_bool.fromFunction( - AVFAudio lib, bool Function(NSObject, int, ffi.Pointer) fn) - : this._( - lib._newBlock1( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Bool Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer)>( - _ObjCBlock_bool_ObjCObject_ffiUnsignedLong_bool_closureTrampoline, false) - .cast(), - _ObjCBlock_bool_ObjCObject_ffiUnsignedLong_bool_registerClosure( - (ffi.Pointer arg0, int arg1, - ffi.Pointer arg2) => - fn(NSObject._(arg0, lib, retain: true, release: true), arg1, arg2))), - lib); + ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool.fromFunction( + AVFAudio lib, + bool Function(NSObject, int, ffi.Pointer) fn, + ) : this._(objc.newBlock( + _dartFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer, + ) + >( + _ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool_closureTrampoline, + false, + ).cast(), + _ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool_registerClosure(( + ffi.Pointer arg0, + int arg1, + ffi.Pointer arg2, + ) => fn(NSObject._( + arg0, + lib, + retain: true, + release: true, + ), arg1, arg2)), + ), lib); static ffi.Pointer? _dartFuncTrampoline; - bool call(NSObject arg0, int arg1, ffi.Pointer arg2) => - _id.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.UnsignedLong arg1, - ffi.Pointer arg2)>>() - .asFunction< - bool Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer, - int, ffi.Pointer)>()(_id, arg0._id, arg1, arg2); + bool call(NSObject arg0, int arg1, ffi.Pointer arg2) => pointer + .ref + .invoke + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.UnsignedLong arg1, + ffi.Pointer arg2, + ) + > + >() + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ) + >()(pointer, arg0.pointer, arg1, arg2); } -int _ObjCBlock_NSComparisonResult_ObjCObject_ObjCObject_fnPtrTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1) => - block.ref.target - .cast< - ffi.NativeFunction< - ffi.Int32 Function(ffi.Pointer arg0, - ffi.Pointer arg1)>>() - .asFunction< - int Function(ffi.Pointer, - ffi.Pointer)>()(arg0, arg1); -final _ObjCBlock_NSComparisonResult_ObjCObject_ObjCObject_closureRegistry = - , ffi.Pointer)>{}; -int _ObjCBlock_NSComparisonResult_ObjCObject_ObjCObject_closureRegistryIndex = +int _ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject_fnPtrTrampoline( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, +) => block.ref.target + .cast< + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) + > + >() + .asFunction< + int Function(ffi.Pointer, ffi.Pointer) + >()(arg0, arg1); +final _ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject_closureRegistry = + < + int, + int Function(ffi.Pointer, ffi.Pointer) + >{}; +int +_ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject_closureRegistryIndex = 0; ffi.Pointer - _ObjCBlock_NSComparisonResult_ObjCObject_ObjCObject_registerClosure( - int Function(ffi.Pointer, ffi.Pointer) fn) { +_ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject_registerClosure( + int Function(ffi.Pointer, ffi.Pointer) fn, +) { final id = - ++_ObjCBlock_NSComparisonResult_ObjCObject_ObjCObject_closureRegistryIndex; - _ObjCBlock_NSComparisonResult_ObjCObject_ObjCObject_closureRegistry[id] = fn; + ++_ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject_closureRegistryIndex; + _ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject_closureRegistry[id] = + fn; return ffi.Pointer.fromAddress(id); } -int _ObjCBlock_NSComparisonResult_ObjCObject_ObjCObject_closureTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1) => - _ObjCBlock_NSComparisonResult_ObjCObject_ObjCObject_closureRegistry[ - block.ref.target.address]!(arg0, arg1); - -class ObjCBlock_NSComparisonResult_ObjCObject_ObjCObject - extends _ObjCBlockBase { - ObjCBlock_NSComparisonResult_ObjCObject_ObjCObject._( - ffi.Pointer<_ObjCBlock> id, AVFAudio lib, - {bool retain = false, bool release = true}) - : super._(id, lib, retain: retain, release: release); +int +_ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject_closureTrampoline( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, +) => + _ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject_closureRegistry[block + .ref + .target + .address]!(arg0, arg1); + +class ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject + extends objc.ObjCBlockBase { + ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject._( + ffi.Pointer pointer, + this._lib, { + bool retain = false, + bool release = true, + }) : super(pointer, retain: retain, release: release); + + AVFAudio _lib; /// Returns a block that wraps the given raw block pointer. - static ObjCBlock_NSComparisonResult_ObjCObject_ObjCObject castFromPointer( - AVFAudio lib, ffi.Pointer<_ObjCBlock> pointer, - {bool retain = false, bool release = false}) { - return ObjCBlock_NSComparisonResult_ObjCObject_ObjCObject._(pointer, lib, - retain: retain, release: release); + static ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject + castFromPointer( + AVFAudio lib, + ffi.Pointer pointer, { + bool retain = false, + bool release = false, + }) { + return ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject._( + pointer, + lib, + retain: retain, + release: release, + ); } /// Creates a block from a C function pointer. @@ -41571,25 +53555,30 @@ class ObjCBlock_NSComparisonResult_ObjCObject_ObjCObject /// This block must be invoked by native code running on the same thread as /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. - ObjCBlock_NSComparisonResult_ObjCObject_ObjCObject.fromFunctionPointer( - AVFAudio lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Int32 Function(ffi.Pointer arg0, - ffi.Pointer arg1)>> - ptr) - : this._( - lib._newBlock1( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Int32 Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer)>( - _ObjCBlock_NSComparisonResult_ObjCObject_ObjCObject_fnPtrTrampoline, - 0) - .cast(), - ptr.cast()), - lib); + ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject.fromFunctionPointer( + AVFAudio lib, + ffi.Pointer< + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) + > + > ptr, + ) : this._(objc.newBlock( + _cFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >( + _ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject_fnPtrTrampoline, + 0, + ).cast(), + ptr.cast(), + ), lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -41597,31 +53586,50 @@ class ObjCBlock_NSComparisonResult_ObjCObject_ObjCObject /// This block must be invoked by native code running on the same thread as /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. - ObjCBlock_NSComparisonResult_ObjCObject_ObjCObject.fromFunction( - AVFAudio lib, int Function(NSObject, NSObject) fn) - : this._( - lib._newBlock1( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Int32 Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer, ffi.Pointer)>( - _ObjCBlock_NSComparisonResult_ObjCObject_ObjCObject_closureTrampoline, 0) - .cast(), - _ObjCBlock_NSComparisonResult_ObjCObject_ObjCObject_registerClosure( - (ffi.Pointer arg0, ffi.Pointer arg1) => fn( - NSObject._(arg0, lib, retain: true, release: true), - NSObject._(arg1, lib, retain: true, release: true)))), - lib); + ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject.fromFunction( + AVFAudio lib, + int Function(NSObject, NSObject) fn, + ) : this._(objc.newBlock( + _dartFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >( + _ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject_closureTrampoline, + 0, + ).cast(), + _ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject_registerClosure( + ( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) => fn( + NSObject._(arg0, lib, retain: true, release: true), + NSObject._(arg1, lib, retain: true, release: true), + ), + ), + ), lib); static ffi.Pointer? _dartFuncTrampoline; - int call(NSObject arg0, NSObject arg1) => _id.ref.invoke + int call(NSObject arg0, NSObject arg1) => pointer.ref.invoke .cast< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1)>>() + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, + ) + > + >() .asFunction< - int Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer, - ffi.Pointer)>()(_id, arg0._id, arg1._id); + int Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >()(pointer, arg0.pointer, arg1.pointer); } abstract class NSComparisonResult { @@ -41649,47 +53657,70 @@ abstract class NSOrderedCollectionDifferenceCalculationOptions { static const int NSOrderedCollectionDifferenceCalculationInferMoves = 4; } -bool _ObjCBlock_bool_ObjCObject_ObjCObject_fnPtrTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1) => - block.ref.target - .cast< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer arg0, - ffi.Pointer arg1)>>() - .asFunction< - bool Function(ffi.Pointer, - ffi.Pointer)>()(arg0, arg1); -final _ObjCBlock_bool_ObjCObject_ObjCObject_closureRegistry = - , ffi.Pointer)>{}; -int _ObjCBlock_bool_ObjCObject_ObjCObject_closureRegistryIndex = 0; -ffi.Pointer _ObjCBlock_bool_ObjCObject_ObjCObject_registerClosure( - bool Function(ffi.Pointer, ffi.Pointer) fn) { - final id = ++_ObjCBlock_bool_ObjCObject_ObjCObject_closureRegistryIndex; - _ObjCBlock_bool_ObjCObject_ObjCObject_closureRegistry[id] = fn; +bool _ObjCBlock_bool_objcObjCObject_objcObjCObject_fnPtrTrampoline( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, +) => block.ref.target + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) + > + >() + .asFunction< + bool Function(ffi.Pointer, ffi.Pointer) + >()(arg0, arg1); +final _ObjCBlock_bool_objcObjCObject_objcObjCObject_closureRegistry = + < + int, + bool Function(ffi.Pointer, ffi.Pointer) + >{}; +int _ObjCBlock_bool_objcObjCObject_objcObjCObject_closureRegistryIndex = 0; +ffi.Pointer +_ObjCBlock_bool_objcObjCObject_objcObjCObject_registerClosure( + bool Function(ffi.Pointer, ffi.Pointer) fn, +) { + final id = + ++_ObjCBlock_bool_objcObjCObject_objcObjCObject_closureRegistryIndex; + _ObjCBlock_bool_objcObjCObject_objcObjCObject_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } -bool _ObjCBlock_bool_ObjCObject_ObjCObject_closureTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1) => - _ObjCBlock_bool_ObjCObject_ObjCObject_closureRegistry[ - block.ref.target.address]!(arg0, arg1); - -class ObjCBlock_bool_ObjCObject_ObjCObject extends _ObjCBlockBase { - ObjCBlock_bool_ObjCObject_ObjCObject._( - ffi.Pointer<_ObjCBlock> id, AVFAudio lib, - {bool retain = false, bool release = true}) - : super._(id, lib, retain: retain, release: release); +bool _ObjCBlock_bool_objcObjCObject_objcObjCObject_closureTrampoline( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, +) => _ObjCBlock_bool_objcObjCObject_objcObjCObject_closureRegistry[block + .ref + .target + .address]!(arg0, arg1); + +class ObjCBlock_bool_objcObjCObject_objcObjCObject extends objc.ObjCBlockBase { + ObjCBlock_bool_objcObjCObject_objcObjCObject._( + ffi.Pointer pointer, + this._lib, { + bool retain = false, + bool release = true, + }) : super(pointer, retain: retain, release: release); + + AVFAudio _lib; /// Returns a block that wraps the given raw block pointer. - static ObjCBlock_bool_ObjCObject_ObjCObject castFromPointer( - AVFAudio lib, ffi.Pointer<_ObjCBlock> pointer, - {bool retain = false, bool release = false}) { - return ObjCBlock_bool_ObjCObject_ObjCObject._(pointer, lib, - retain: retain, release: release); + static ObjCBlock_bool_objcObjCObject_objcObjCObject castFromPointer( + AVFAudio lib, + ffi.Pointer pointer, { + bool retain = false, + bool release = false, + }) { + return ObjCBlock_bool_objcObjCObject_objcObjCObject._( + pointer, + lib, + retain: retain, + release: release, + ); } /// Creates a block from a C function pointer. @@ -41697,27 +53728,30 @@ class ObjCBlock_bool_ObjCObject_ObjCObject extends _ObjCBlockBase { /// This block must be invoked by native code running on the same thread as /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. - ObjCBlock_bool_ObjCObject_ObjCObject.fromFunctionPointer( - AVFAudio lib, - ffi.Pointer< - ffi - .NativeFunction< - ffi.Bool Function(ffi.Pointer arg0, - ffi.Pointer arg1)>> - ptr) - : this._( - lib - ._newBlock1( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Bool Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer)>( - _ObjCBlock_bool_ObjCObject_ObjCObject_fnPtrTrampoline, - false) - .cast(), - ptr.cast()), - lib); + ObjCBlock_bool_objcObjCObject_objcObjCObject.fromFunctionPointer( + AVFAudio lib, + ffi.Pointer< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) + > + > ptr, + ) : this._(objc.newBlock( + _cFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >( + _ObjCBlock_bool_objcObjCObject_objcObjCObject_fnPtrTrampoline, + false, + ).cast(), + ptr.cast(), + ), lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -41725,34 +53759,48 @@ class ObjCBlock_bool_ObjCObject_ObjCObject extends _ObjCBlockBase { /// This block must be invoked by native code running on the same thread as /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. - ObjCBlock_bool_ObjCObject_ObjCObject.fromFunction( - AVFAudio lib, bool Function(NSObject, NSObject) fn) - : this._( - lib._newBlock1( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Bool Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer)>( - _ObjCBlock_bool_ObjCObject_ObjCObject_closureTrampoline, - false) - .cast(), - _ObjCBlock_bool_ObjCObject_ObjCObject_registerClosure( - (ffi.Pointer arg0, ffi.Pointer arg1) => - fn(NSObject._(arg0, lib, retain: true, release: true), NSObject._(arg1, lib, retain: true, release: true)))), - lib); + ObjCBlock_bool_objcObjCObject_objcObjCObject.fromFunction( + AVFAudio lib, + bool Function(NSObject, NSObject) fn, + ) : this._(objc.newBlock( + _dartFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >( + _ObjCBlock_bool_objcObjCObject_objcObjCObject_closureTrampoline, + false, + ).cast(), + _ObjCBlock_bool_objcObjCObject_objcObjCObject_registerClosure(( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) => fn( + NSObject._(arg0, lib, retain: true, release: true), + NSObject._(arg1, lib, retain: true, release: true), + )), + ), lib); static ffi.Pointer? _dartFuncTrampoline; - bool call(NSObject arg0, NSObject arg1) => _id.ref.invoke + bool call(NSObject arg0, NSObject arg1) => pointer.ref.invoke .cast< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1)>>() + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, + ) + > + >() .asFunction< - bool Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer, - ffi.Pointer)>()(_id, arg0._id, arg1._id); + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >()(pointer, arg0.pointer, arg1.pointer); } abstract class NSKeyValueObservingOptions { @@ -41763,59 +53811,89 @@ abstract class NSKeyValueObservingOptions { } class NSPredicate extends NSObject { - NSPredicate._(ffi.Pointer id, AVFAudio lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSPredicate._( + ffi.Pointer pointer, + AVFAudio lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSPredicate] that points to the same underlying object as [other]. - static NSPredicate castFrom(T other) { - return NSPredicate._(other._id, other._lib, retain: true, release: true); + static NSPredicate castFrom( + AVFAudio lib, + T other, + ) { + return NSPredicate._(other.pointer, lib, retain: true, release: true); } /// Returns a [NSPredicate] that wraps the given raw object pointer. static NSPredicate castFromPointer( - AVFAudio lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + AVFAudio lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSPredicate._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSPredicate]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_NSPredicate1); + static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSPredicate1, + ); } static NSPredicate predicateWithFormat_argumentArray_( - AVFAudio _lib, NSString predicateFormat, NSArray? arguments) { + AVFAudio _lib, + NSString predicateFormat, + NSArray? arguments, + ) { final _ret = _lib._objc_msgSend_142( - _lib._class_NSPredicate1, - _lib._sel_predicateWithFormat_argumentArray_1, - predicateFormat._id, - arguments?._id ?? ffi.nullptr); + _lib._class_NSPredicate1, + _lib._sel_predicateWithFormat_argumentArray_1, + predicateFormat.pointer, + arguments?.pointer ?? ffi.nullptr, + ); return NSPredicate._(_ret, _lib, retain: true, release: true); } static NSPredicate predicateWithFormat_( - AVFAudio _lib, NSString predicateFormat) { - final _ret = _lib._objc_msgSend_143(_lib._class_NSPredicate1, - _lib._sel_predicateWithFormat_1, predicateFormat._id); + AVFAudio _lib, + NSString predicateFormat, + ) { + final _ret = _lib._objc_msgSend_143( + _lib._class_NSPredicate1, + _lib._sel_predicateWithFormat_1, + predicateFormat.pointer, + ); return NSPredicate._(_ret, _lib, retain: true, release: true); } - static NSPredicate predicateWithFormat_arguments_(AVFAudio _lib, - NSString predicateFormat, ffi.Pointer<__va_list_tag> argList) { + static NSPredicate predicateWithFormat_arguments_( + AVFAudio _lib, + NSString predicateFormat, + ffi.Pointer<__va_list_tag> argList, + ) { final _ret = _lib._objc_msgSend_144( - _lib._class_NSPredicate1, - _lib._sel_predicateWithFormat_arguments_1, - predicateFormat._id, - argList); + _lib._class_NSPredicate1, + _lib._sel_predicateWithFormat_arguments_1, + predicateFormat.pointer, + argList, + ); return NSPredicate._(_ret, _lib, retain: true, release: true); } static NSPredicate? predicateFromMetadataQueryString_( - AVFAudio _lib, NSString queryString) { - final _ret = _lib._objc_msgSend_145(_lib._class_NSPredicate1, - _lib._sel_predicateFromMetadataQueryString_1, queryString._id); + AVFAudio _lib, + NSString queryString, + ) { + final _ret = _lib._objc_msgSend_145( + _lib._class_NSPredicate1, + _lib._sel_predicateFromMetadataQueryString_1, + queryString.pointer, + ); return _ret.address == 0 ? null : NSPredicate._(_ret, _lib, retain: true, release: true); @@ -41823,49 +53901,69 @@ class NSPredicate extends NSObject { static NSPredicate predicateWithValue_(AVFAudio _lib, bool value) { final _ret = _lib._objc_msgSend_146( - _lib._class_NSPredicate1, _lib._sel_predicateWithValue_1, value); + _lib._class_NSPredicate1, + _lib._sel_predicateWithValue_1, + value, + ); return NSPredicate._(_ret, _lib, retain: true, release: true); } static NSPredicate predicateWithBlock_( - AVFAudio _lib, ObjCBlock_bool_ObjCObject_NSDictionary block) { + AVFAudio _lib, + ObjCBlock_bool_objcObjCObject_NSDictionary block, + ) { final _ret = _lib._objc_msgSend_216( - _lib._class_NSPredicate1, _lib._sel_predicateWithBlock_1, block._id); + _lib._class_NSPredicate1, + _lib._sel_predicateWithBlock_1, + block.pointer, + ); return NSPredicate._(_ret, _lib, retain: true, release: true); } NSString get predicateFormat { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_predicateFormat1); + final _ret = _lib._objc_msgSend_21( + this.pointer, + _lib._sel_predicateFormat1, + ); return NSString._(_ret, _lib, retain: true, release: true); } NSPredicate predicateWithSubstitutionVariables_(NSDictionary variables) { final _ret = _lib._objc_msgSend_159( - _id, _lib._sel_predicateWithSubstitutionVariables_1, variables._id); + this.pointer, + _lib._sel_predicateWithSubstitutionVariables_1, + variables.pointer, + ); return NSPredicate._(_ret, _lib, retain: true, release: true); } bool evaluateWithObject_(NSObject? object) { return _lib._objc_msgSend_217( - _id, _lib._sel_evaluateWithObject_1, object?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_evaluateWithObject_1, + object?.pointer ?? ffi.nullptr, + ); } bool evaluateWithObject_substitutionVariables_( - NSObject? object, NSDictionary? bindings) { + NSObject? object, + NSDictionary? bindings, + ) { return _lib._objc_msgSend_218( - _id, - _lib._sel_evaluateWithObject_substitutionVariables_1, - object?._id ?? ffi.nullptr, - bindings?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_evaluateWithObject_substitutionVariables_1, + object?.pointer ?? ffi.nullptr, + bindings?.pointer ?? ffi.nullptr, + ); } void allowEvaluation() { - _lib._objc_msgSend_1(_id, _lib._sel_allowEvaluation1); + _lib._objc_msgSend_1(this.pointer, _lib._sel_allowEvaluation1); } @override NSPredicate init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSPredicate._(_ret, _lib, retain: true, release: true); } @@ -41876,76 +53974,110 @@ class NSPredicate extends NSObject { static NSPredicate allocWithZone_(AVFAudio _lib, ffi.Pointer<_NSZone> zone) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSPredicate1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSPredicate1, + _lib._sel_allocWithZone_1, + zone, + ); return NSPredicate._(_ret, _lib, retain: false, release: true); } static NSPredicate alloc(AVFAudio _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSPredicate1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSPredicate1, + _lib._sel_alloc1, + ); return NSPredicate._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + AVFAudio _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSPredicate1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSPredicate1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSPredicate1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + AVFAudio _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSPredicate1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { return _lib._objc_msgSend_12( - _lib._class_NSPredicate1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_NSPredicate1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(AVFAudio _lib) { return _lib._objc_msgSend_12( - _lib._class_NSPredicate1, _lib._sel_useStoredAccessor1); + _lib._class_NSPredicate1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSPredicate1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSPredicate1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSPredicate1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSPredicate1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, NSArray keys, NSString dependentKey) { + AVFAudio _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSPredicate1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSPredicate1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { final _ret = _lib._objc_msgSend_85( - _lib._class_NSPredicate1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSPredicate1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(AVFAudio _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSPredicate1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSPredicate1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } @@ -41962,47 +54094,69 @@ final class __va_list_tag extends ffi.Struct { external ffi.Pointer reg_save_area; } -bool _ObjCBlock_bool_ObjCObject_NSDictionary_fnPtrTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1) => - block.ref.target - .cast< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer arg0, - ffi.Pointer arg1)>>() - .asFunction< - bool Function(ffi.Pointer, - ffi.Pointer)>()(arg0, arg1); -final _ObjCBlock_bool_ObjCObject_NSDictionary_closureRegistry = - , ffi.Pointer)>{}; -int _ObjCBlock_bool_ObjCObject_NSDictionary_closureRegistryIndex = 0; -ffi.Pointer _ObjCBlock_bool_ObjCObject_NSDictionary_registerClosure( - bool Function(ffi.Pointer, ffi.Pointer) fn) { - final id = ++_ObjCBlock_bool_ObjCObject_NSDictionary_closureRegistryIndex; - _ObjCBlock_bool_ObjCObject_NSDictionary_closureRegistry[id] = fn; +bool _ObjCBlock_bool_objcObjCObject_NSDictionary_fnPtrTrampoline( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, +) => block.ref.target + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) + > + >() + .asFunction< + bool Function(ffi.Pointer, ffi.Pointer) + >()(arg0, arg1); +final _ObjCBlock_bool_objcObjCObject_NSDictionary_closureRegistry = + < + int, + bool Function(ffi.Pointer, ffi.Pointer) + >{}; +int _ObjCBlock_bool_objcObjCObject_NSDictionary_closureRegistryIndex = 0; +ffi.Pointer +_ObjCBlock_bool_objcObjCObject_NSDictionary_registerClosure( + bool Function(ffi.Pointer, ffi.Pointer) fn, +) { + final id = ++_ObjCBlock_bool_objcObjCObject_NSDictionary_closureRegistryIndex; + _ObjCBlock_bool_objcObjCObject_NSDictionary_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } -bool _ObjCBlock_bool_ObjCObject_NSDictionary_closureTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1) => - _ObjCBlock_bool_ObjCObject_NSDictionary_closureRegistry[ - block.ref.target.address]!(arg0, arg1); - -class ObjCBlock_bool_ObjCObject_NSDictionary extends _ObjCBlockBase { - ObjCBlock_bool_ObjCObject_NSDictionary._( - ffi.Pointer<_ObjCBlock> id, AVFAudio lib, - {bool retain = false, bool release = true}) - : super._(id, lib, retain: retain, release: release); +bool _ObjCBlock_bool_objcObjCObject_NSDictionary_closureTrampoline( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, +) => _ObjCBlock_bool_objcObjCObject_NSDictionary_closureRegistry[block + .ref + .target + .address]!(arg0, arg1); + +class ObjCBlock_bool_objcObjCObject_NSDictionary extends objc.ObjCBlockBase { + ObjCBlock_bool_objcObjCObject_NSDictionary._( + ffi.Pointer pointer, + this._lib, { + bool retain = false, + bool release = true, + }) : super(pointer, retain: retain, release: release); + + AVFAudio _lib; /// Returns a block that wraps the given raw block pointer. - static ObjCBlock_bool_ObjCObject_NSDictionary castFromPointer( - AVFAudio lib, ffi.Pointer<_ObjCBlock> pointer, - {bool retain = false, bool release = false}) { - return ObjCBlock_bool_ObjCObject_NSDictionary._(pointer, lib, - retain: retain, release: release); + static ObjCBlock_bool_objcObjCObject_NSDictionary castFromPointer( + AVFAudio lib, + ffi.Pointer pointer, { + bool retain = false, + bool release = false, + }) { + return ObjCBlock_bool_objcObjCObject_NSDictionary._( + pointer, + lib, + retain: retain, + release: release, + ); } /// Creates a block from a C function pointer. @@ -42010,25 +54164,30 @@ class ObjCBlock_bool_ObjCObject_NSDictionary extends _ObjCBlockBase { /// This block must be invoked by native code running on the same thread as /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. - ObjCBlock_bool_ObjCObject_NSDictionary.fromFunctionPointer( - AVFAudio lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer arg0, - ffi.Pointer arg1)>> - ptr) - : this._( - lib._newBlock1( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Bool Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer)>( - _ObjCBlock_bool_ObjCObject_NSDictionary_fnPtrTrampoline, - false) - .cast(), - ptr.cast()), - lib); + ObjCBlock_bool_objcObjCObject_NSDictionary.fromFunctionPointer( + AVFAudio lib, + ffi.Pointer< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) + > + > ptr, + ) : this._(objc.newBlock( + _cFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >( + _ObjCBlock_bool_objcObjCObject_NSDictionary_fnPtrTrampoline, + false, + ).cast(), + ptr.cast(), + ), lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -42036,245 +54195,368 @@ class ObjCBlock_bool_ObjCObject_NSDictionary extends _ObjCBlockBase { /// This block must be invoked by native code running on the same thread as /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. - ObjCBlock_bool_ObjCObject_NSDictionary.fromFunction( - AVFAudio lib, bool Function(NSObject?, NSDictionary?) fn) - : this._( - lib._newBlock1( - _dartFuncTrampoline ??= - ffi.Pointer.fromFunction, ffi.Pointer, ffi.Pointer)>( - _ObjCBlock_bool_ObjCObject_NSDictionary_closureTrampoline, false) - .cast(), - _ObjCBlock_bool_ObjCObject_NSDictionary_registerClosure( - (ffi.Pointer arg0, ffi.Pointer arg1) => fn( - arg0.address == 0 - ? null - : NSObject._(arg0, lib, retain: true, release: true), - arg1.address == 0 ? null : NSDictionary._(arg1, lib, retain: true, release: true)))), - lib); + ObjCBlock_bool_objcObjCObject_NSDictionary.fromFunction( + AVFAudio lib, + bool Function(NSObject?, NSDictionary?) fn, + ) : this._(objc.newBlock( + _dartFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >( + _ObjCBlock_bool_objcObjCObject_NSDictionary_closureTrampoline, + false, + ).cast(), + _ObjCBlock_bool_objcObjCObject_NSDictionary_registerClosure(( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) => fn( + arg0.address == 0 + ? null + : NSObject._(arg0, lib, retain: true, release: true), + arg1.address == 0 + ? null + : NSDictionary._(arg1, lib, retain: true, release: true), + )), + ), lib); static ffi.Pointer? _dartFuncTrampoline; - bool call(NSObject? arg0, NSDictionary? arg1) => _id.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1)>>() - .asFunction< - bool Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer, - ffi.Pointer)>()( - _id, arg0?._id ?? ffi.nullptr, arg1?._id ?? ffi.nullptr); + bool call(NSObject? arg0, NSDictionary? arg1) => pointer.ref.invoke + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, + ) + > + >() + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >()(pointer, arg0?.pointer ?? ffi.nullptr, arg1?.pointer ?? ffi.nullptr); } class NSDictionary extends NSObject { - NSDictionary._(ffi.Pointer id, AVFAudio lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSDictionary._( + ffi.Pointer pointer, + AVFAudio lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSDictionary] that points to the same underlying object as [other]. - static NSDictionary castFrom(T other) { - return NSDictionary._(other._id, other._lib, retain: true, release: true); + static NSDictionary castFrom( + AVFAudio lib, + T other, + ) { + return NSDictionary._(other.pointer, lib, retain: true, release: true); } /// Returns a [NSDictionary] that wraps the given raw object pointer. static NSDictionary castFromPointer( - AVFAudio lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + AVFAudio lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSDictionary._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSDictionary]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_NSDictionary1); + static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSDictionary1, + ); } int get count { - return _lib._objc_msgSend_10(_id, _lib._sel_count1); + return _lib._objc_msgSend_10(this.pointer, _lib._sel_count1); } NSObject? objectForKey_(NSObject aKey) { - final _ret = _lib._objc_msgSend_16(_id, _lib._sel_objectForKey_1, aKey._id); + final _ret = _lib._objc_msgSend_16( + this.pointer, + _lib._sel_objectForKey_1, + aKey.pointer, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } NSEnumerator keyEnumerator() { - final _ret = _lib._objc_msgSend_77(_id, _lib._sel_keyEnumerator1); + final _ret = _lib._objc_msgSend_77(this.pointer, _lib._sel_keyEnumerator1); return NSEnumerator._(_ret, _lib, retain: true, release: true); } @override NSDictionary init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSDictionary._(_ret, _lib, retain: true, release: true); } NSDictionary initWithObjects_forKeys_count_( - ffi.Pointer> objects, - ffi.Pointer> keys, - int cnt) { + ffi.Pointer> objects, + ffi.Pointer> keys, + int cnt, + ) { final _ret = _lib._objc_msgSend_147( - _id, _lib._sel_initWithObjects_forKeys_count_1, objects, keys, cnt); + this.pointer, + _lib._sel_initWithObjects_forKeys_count_1, + objects, + keys, + cnt, + ); return NSDictionary._(_ret, _lib, retain: true, release: true); } NSDictionary? initWithCoder_(NSCoder coder) { - final _ret = - _lib._objc_msgSend_47(_id, _lib._sel_initWithCoder_1, coder._id); + final _ret = _lib._objc_msgSend_47( + this.pointer, + _lib._sel_initWithCoder_1, + coder.pointer, + ); return _ret.address == 0 ? null : NSDictionary._(_ret, _lib, retain: true, release: true); } NSArray get allKeys { - final _ret = _lib._objc_msgSend_85(_id, _lib._sel_allKeys1); + final _ret = _lib._objc_msgSend_85(this.pointer, _lib._sel_allKeys1); return NSArray._(_ret, _lib, retain: true, release: true); } NSArray allKeysForObject_(NSObject anObject) { - final _ret = - _lib._objc_msgSend_67(_id, _lib._sel_allKeysForObject_1, anObject._id); + final _ret = _lib._objc_msgSend_67( + this.pointer, + _lib._sel_allKeysForObject_1, + anObject.pointer, + ); return NSArray._(_ret, _lib, retain: true, release: true); } NSArray get allValues { - final _ret = _lib._objc_msgSend_85(_id, _lib._sel_allValues1); + final _ret = _lib._objc_msgSend_85(this.pointer, _lib._sel_allValues1); return NSArray._(_ret, _lib, retain: true, release: true); } NSString get description { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_description1); + final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_description1); return NSString._(_ret, _lib, retain: true, release: true); } NSString get descriptionInStringsFileFormat { - final _ret = - _lib._objc_msgSend_21(_id, _lib._sel_descriptionInStringsFileFormat1); + final _ret = _lib._objc_msgSend_21( + this.pointer, + _lib._sel_descriptionInStringsFileFormat1, + ); return NSString._(_ret, _lib, retain: true, release: true); } NSString descriptionWithLocale_(NSObject? locale) { final _ret = _lib._objc_msgSend_70( - _id, _lib._sel_descriptionWithLocale_1, locale?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_descriptionWithLocale_1, + locale?.pointer ?? ffi.nullptr, + ); return NSString._(_ret, _lib, retain: true, release: true); } NSString descriptionWithLocale_indent_(NSObject? locale, int level) { final _ret = _lib._objc_msgSend_71( - _id, - _lib._sel_descriptionWithLocale_indent_1, - locale?._id ?? ffi.nullptr, - level); + this.pointer, + _lib._sel_descriptionWithLocale_indent_1, + locale?.pointer ?? ffi.nullptr, + level, + ); return NSString._(_ret, _lib, retain: true, release: true); } bool isEqualToDictionary_(NSDictionary otherDictionary) { return _lib._objc_msgSend_148( - _id, _lib._sel_isEqualToDictionary_1, otherDictionary._id); + this.pointer, + _lib._sel_isEqualToDictionary_1, + otherDictionary.pointer, + ); } NSEnumerator objectEnumerator() { - final _ret = _lib._objc_msgSend_77(_id, _lib._sel_objectEnumerator1); + final _ret = _lib._objc_msgSend_77( + this.pointer, + _lib._sel_objectEnumerator1, + ); return NSEnumerator._(_ret, _lib, retain: true, release: true); } NSArray objectsForKeys_notFoundMarker_(NSArray keys, NSObject marker) { final _ret = _lib._objc_msgSend_149( - _id, _lib._sel_objectsForKeys_notFoundMarker_1, keys._id, marker._id); + this.pointer, + _lib._sel_objectsForKeys_notFoundMarker_1, + keys.pointer, + marker.pointer, + ); return NSArray._(_ret, _lib, retain: true, release: true); } bool writeToURL_error_( - NSURL url, ffi.Pointer> error) { + NSURL url, + ffi.Pointer> error, + ) { return _lib._objc_msgSend_89( - _id, _lib._sel_writeToURL_error_1, url._id, error); + this.pointer, + _lib._sel_writeToURL_error_1, + url.pointer, + error, + ); } - NSArray keysSortedByValueUsingSelector_(ffi.Pointer comparator) { + NSArray keysSortedByValueUsingSelector_( + ffi.Pointer comparator, + ) { final _ret = _lib._objc_msgSend_80( - _id, _lib._sel_keysSortedByValueUsingSelector_1, comparator); + this.pointer, + _lib._sel_keysSortedByValueUsingSelector_1, + comparator, + ); return NSArray._(_ret, _lib, retain: true, release: true); } - void getObjects_andKeys_count_(ffi.Pointer> objects, - ffi.Pointer> keys, int count) { + void getObjects_andKeys_count_( + ffi.Pointer> objects, + ffi.Pointer> keys, + int count, + ) { _lib._objc_msgSend_150( - _id, _lib._sel_getObjects_andKeys_count_1, objects, keys, count); + this.pointer, + _lib._sel_getObjects_andKeys_count_1, + objects, + keys, + count, + ); } NSObject? objectForKeyedSubscript_(NSObject key) { final _ret = _lib._objc_msgSend_16( - _id, _lib._sel_objectForKeyedSubscript_1, key._id); + this.pointer, + _lib._sel_objectForKeyedSubscript_1, + key.pointer, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } void enumerateKeysAndObjectsUsingBlock_( - ObjCBlock_ffiVoid_ObjCObject_ObjCObject_bool block) { + ObjCBlock_ffiVoid_objcObjCObject_objcObjCObject_bool block, + ) { _lib._objc_msgSend_151( - _id, _lib._sel_enumerateKeysAndObjectsUsingBlock_1, block._id); + this.pointer, + _lib._sel_enumerateKeysAndObjectsUsingBlock_1, + block.pointer, + ); } void enumerateKeysAndObjectsWithOptions_usingBlock_( - int opts, ObjCBlock_ffiVoid_ObjCObject_ObjCObject_bool block) { + int opts, + ObjCBlock_ffiVoid_objcObjCObject_objcObjCObject_bool block, + ) { _lib._objc_msgSend_152( - _id, - _lib._sel_enumerateKeysAndObjectsWithOptions_usingBlock_1, - opts, - block._id); + this.pointer, + _lib._sel_enumerateKeysAndObjectsWithOptions_usingBlock_1, + opts, + block.pointer, + ); } NSArray keysSortedByValueUsingComparator_( - ObjCBlock_NSComparisonResult_ObjCObject_ObjCObject cmptr) { + ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject cmptr, + ) { final _ret = _lib._objc_msgSend_121( - _id, _lib._sel_keysSortedByValueUsingComparator_1, cmptr._id); + this.pointer, + _lib._sel_keysSortedByValueUsingComparator_1, + cmptr.pointer, + ); return NSArray._(_ret, _lib, retain: true, release: true); } NSArray keysSortedByValueWithOptions_usingComparator_( - int opts, ObjCBlock_NSComparisonResult_ObjCObject_ObjCObject cmptr) { + int opts, + ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject cmptr, + ) { final _ret = _lib._objc_msgSend_122( - _id, - _lib._sel_keysSortedByValueWithOptions_usingComparator_1, - opts, - cmptr._id); + this.pointer, + _lib._sel_keysSortedByValueWithOptions_usingComparator_1, + opts, + cmptr.pointer, + ); return NSArray._(_ret, _lib, retain: true, release: true); } NSObject keysOfEntriesPassingTest_( - ObjCBlock_bool_ObjCObject_ObjCObject_bool predicate) { + ObjCBlock_bool_objcObjCObject_objcObjCObject_bool predicate, + ) { final _ret = _lib._objc_msgSend_153( - _id, _lib._sel_keysOfEntriesPassingTest_1, predicate._id); + this.pointer, + _lib._sel_keysOfEntriesPassingTest_1, + predicate.pointer, + ); return NSObject._(_ret, _lib, retain: true, release: true); } NSObject keysOfEntriesWithOptions_passingTest_( - int opts, ObjCBlock_bool_ObjCObject_ObjCObject_bool predicate) { - final _ret = _lib._objc_msgSend_154(_id, - _lib._sel_keysOfEntriesWithOptions_passingTest_1, opts, predicate._id); + int opts, + ObjCBlock_bool_objcObjCObject_objcObjCObject_bool predicate, + ) { + final _ret = _lib._objc_msgSend_154( + this.pointer, + _lib._sel_keysOfEntriesWithOptions_passingTest_1, + opts, + predicate.pointer, + ); return NSObject._(_ret, _lib, retain: true, release: true); } - void getObjects_andKeys_(ffi.Pointer> objects, - ffi.Pointer> keys) { - _lib._objc_msgSend_155(_id, _lib._sel_getObjects_andKeys_1, objects, keys); + void getObjects_andKeys_( + ffi.Pointer> objects, + ffi.Pointer> keys, + ) { + _lib._objc_msgSend_155( + this.pointer, + _lib._sel_getObjects_andKeys_1, + objects, + keys, + ); } static NSDictionary? dictionaryWithContentsOfFile_( - AVFAudio _lib, NSString path) { - final _ret = _lib._objc_msgSend_156(_lib._class_NSDictionary1, - _lib._sel_dictionaryWithContentsOfFile_1, path._id); + AVFAudio _lib, + NSString path, + ) { + final _ret = _lib._objc_msgSend_156( + _lib._class_NSDictionary1, + _lib._sel_dictionaryWithContentsOfFile_1, + path.pointer, + ); return _ret.address == 0 ? null : NSDictionary._(_ret, _lib, retain: true, release: true); } static NSDictionary? dictionaryWithContentsOfURL_(AVFAudio _lib, NSURL url) { - final _ret = _lib._objc_msgSend_157(_lib._class_NSDictionary1, - _lib._sel_dictionaryWithContentsOfURL_1, url._id); + final _ret = _lib._objc_msgSend_157( + _lib._class_NSDictionary1, + _lib._sel_dictionaryWithContentsOfURL_1, + url.pointer, + ); return _ret.address == 0 ? null : NSDictionary._(_ret, _lib, retain: true, release: true); @@ -42282,15 +54564,21 @@ class NSDictionary extends NSObject { NSDictionary? initWithContentsOfFile_(NSString path) { final _ret = _lib._objc_msgSend_156( - _id, _lib._sel_initWithContentsOfFile_1, path._id); + this.pointer, + _lib._sel_initWithContentsOfFile_1, + path.pointer, + ); return _ret.address == 0 ? null : NSDictionary._(_ret, _lib, retain: true, release: true); } NSDictionary? initWithContentsOfURL_(NSURL url) { - final _ret = - _lib._objc_msgSend_157(_id, _lib._sel_initWithContentsOfURL_1, url._id); + final _ret = _lib._objc_msgSend_157( + this.pointer, + _lib._sel_initWithContentsOfURL_1, + url.pointer, + ); return _ret.address == 0 ? null : NSDictionary._(_ret, _lib, retain: true, release: true); @@ -42298,96 +54586,165 @@ class NSDictionary extends NSObject { bool writeToFile_atomically_(NSString path, bool useAuxiliaryFile) { return _lib._objc_msgSend_26( - _id, _lib._sel_writeToFile_atomically_1, path._id, useAuxiliaryFile); + this.pointer, + _lib._sel_writeToFile_atomically_1, + path.pointer, + useAuxiliaryFile, + ); } bool writeToURL_atomically_(NSURL url, bool atomically) { return _lib._objc_msgSend_134( - _id, _lib._sel_writeToURL_atomically_1, url._id, atomically); + this.pointer, + _lib._sel_writeToURL_atomically_1, + url.pointer, + atomically, + ); } static NSDictionary dictionary(AVFAudio _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSDictionary1, _lib._sel_dictionary1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSDictionary1, + _lib._sel_dictionary1, + ); return NSDictionary._(_ret, _lib, retain: true, release: true); } static NSDictionary dictionaryWithObject_forKey_( - AVFAudio _lib, NSObject object, NSObject key) { - final _ret = _lib._objc_msgSend_158(_lib._class_NSDictionary1, - _lib._sel_dictionaryWithObject_forKey_1, object._id, key._id); + AVFAudio _lib, + NSObject object, + NSObject key, + ) { + final _ret = _lib._objc_msgSend_158( + _lib._class_NSDictionary1, + _lib._sel_dictionaryWithObject_forKey_1, + object.pointer, + key.pointer, + ); return NSDictionary._(_ret, _lib, retain: true, release: true); } static NSDictionary dictionaryWithObjects_forKeys_count_( - AVFAudio _lib, - ffi.Pointer> objects, - ffi.Pointer> keys, - int cnt) { - final _ret = _lib._objc_msgSend_147(_lib._class_NSDictionary1, - _lib._sel_dictionaryWithObjects_forKeys_count_1, objects, keys, cnt); + AVFAudio _lib, + ffi.Pointer> objects, + ffi.Pointer> keys, + int cnt, + ) { + final _ret = _lib._objc_msgSend_147( + _lib._class_NSDictionary1, + _lib._sel_dictionaryWithObjects_forKeys_count_1, + objects, + keys, + cnt, + ); return NSDictionary._(_ret, _lib, retain: true, release: true); } static NSDictionary dictionaryWithObjectsAndKeys_( - AVFAudio _lib, NSObject firstObject) { - final _ret = _lib._objc_msgSend_124(_lib._class_NSDictionary1, - _lib._sel_dictionaryWithObjectsAndKeys_1, firstObject._id); + AVFAudio _lib, + NSObject firstObject, + ) { + final _ret = _lib._objc_msgSend_124( + _lib._class_NSDictionary1, + _lib._sel_dictionaryWithObjectsAndKeys_1, + firstObject.pointer, + ); return NSDictionary._(_ret, _lib, retain: true, release: true); } static NSDictionary dictionaryWithDictionary_( - AVFAudio _lib, NSDictionary dict) { - final _ret = _lib._objc_msgSend_159(_lib._class_NSDictionary1, - _lib._sel_dictionaryWithDictionary_1, dict._id); + AVFAudio _lib, + NSDictionary dict, + ) { + final _ret = _lib._objc_msgSend_159( + _lib._class_NSDictionary1, + _lib._sel_dictionaryWithDictionary_1, + dict.pointer, + ); return NSDictionary._(_ret, _lib, retain: true, release: true); } static NSDictionary dictionaryWithObjects_forKeys_( - AVFAudio _lib, NSArray objects, NSArray keys) { - final _ret = _lib._objc_msgSend_160(_lib._class_NSDictionary1, - _lib._sel_dictionaryWithObjects_forKeys_1, objects._id, keys._id); + AVFAudio _lib, + NSArray objects, + NSArray keys, + ) { + final _ret = _lib._objc_msgSend_160( + _lib._class_NSDictionary1, + _lib._sel_dictionaryWithObjects_forKeys_1, + objects.pointer, + keys.pointer, + ); return NSDictionary._(_ret, _lib, retain: true, release: true); } NSDictionary initWithObjectsAndKeys_(NSObject firstObject) { final _ret = _lib._objc_msgSend_124( - _id, _lib._sel_initWithObjectsAndKeys_1, firstObject._id); + this.pointer, + _lib._sel_initWithObjectsAndKeys_1, + firstObject.pointer, + ); return NSDictionary._(_ret, _lib, retain: true, release: true); } NSDictionary initWithDictionary_(NSDictionary otherDictionary) { final _ret = _lib._objc_msgSend_159( - _id, _lib._sel_initWithDictionary_1, otherDictionary._id); + this.pointer, + _lib._sel_initWithDictionary_1, + otherDictionary.pointer, + ); return NSDictionary._(_ret, _lib, retain: true, release: true); } NSDictionary initWithDictionary_copyItems_( - NSDictionary otherDictionary, bool flag) { - final _ret = _lib._objc_msgSend_161(_id, - _lib._sel_initWithDictionary_copyItems_1, otherDictionary._id, flag); + NSDictionary otherDictionary, + bool flag, + ) { + final _ret = _lib._objc_msgSend_161( + this.pointer, + _lib._sel_initWithDictionary_copyItems_1, + otherDictionary.pointer, + flag, + ); return NSDictionary._(_ret, _lib, retain: false, release: true); } NSDictionary initWithObjects_forKeys_(NSArray objects, NSArray keys) { final _ret = _lib._objc_msgSend_160( - _id, _lib._sel_initWithObjects_forKeys_1, objects._id, keys._id); + this.pointer, + _lib._sel_initWithObjects_forKeys_1, + objects.pointer, + keys.pointer, + ); return NSDictionary._(_ret, _lib, retain: true, release: true); } NSDictionary? initWithContentsOfURL_error_( - NSURL url, ffi.Pointer> error) { + NSURL url, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_162( - _id, _lib._sel_initWithContentsOfURL_error_1, url._id, error); + this.pointer, + _lib._sel_initWithContentsOfURL_error_1, + url.pointer, + error, + ); return _ret.address == 0 ? null : NSDictionary._(_ret, _lib, retain: true, release: true); } static NSDictionary? dictionaryWithContentsOfURL_error_( - AVFAudio _lib, NSURL url, ffi.Pointer> error) { - final _ret = _lib._objc_msgSend_162(_lib._class_NSDictionary1, - _lib._sel_dictionaryWithContentsOfURL_error_1, url._id, error); + AVFAudio _lib, + NSURL url, + ffi.Pointer> error, + ) { + final _ret = _lib._objc_msgSend_162( + _lib._class_NSDictionary1, + _lib._sel_dictionaryWithContentsOfURL_error_1, + url.pointer, + error, + ); return _ret.address == 0 ? null : NSDictionary._(_ret, _lib, retain: true, release: true); @@ -42395,104 +54752,125 @@ class NSDictionary extends NSObject { static NSObject sharedKeySetForKeys_(AVFAudio _lib, NSArray keys) { final _ret = _lib._objc_msgSend_125( - _lib._class_NSDictionary1, _lib._sel_sharedKeySetForKeys_1, keys._id); + _lib._class_NSDictionary1, + _lib._sel_sharedKeySetForKeys_1, + keys.pointer, + ); return NSObject._(_ret, _lib, retain: true, release: true); } int countByEnumeratingWithState_objects_count_( - ffi.Pointer state, - ffi.Pointer> buffer, - int len) { + ffi.Pointer state, + ffi.Pointer> buffer, + int len, + ) { return _lib._objc_msgSend_163( - _id, - _lib._sel_countByEnumeratingWithState_objects_count_1, - state, - buffer, - len); + this.pointer, + _lib._sel_countByEnumeratingWithState_objects_count_1, + state, + buffer, + len, + ); } int fileSize() { - return _lib._objc_msgSend_164(_id, _lib._sel_fileSize1); + return _lib._objc_msgSend_164(this.pointer, _lib._sel_fileSize1); } NSDate? fileModificationDate() { - final _ret = _lib._objc_msgSend_183(_id, _lib._sel_fileModificationDate1); + final _ret = _lib._objc_msgSend_183( + this.pointer, + _lib._sel_fileModificationDate1, + ); return _ret.address == 0 ? null : NSDate._(_ret, _lib, retain: true, release: true); } NSString? fileType() { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_fileType1); + final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_fileType1); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } int filePosixPermissions() { - return _lib._objc_msgSend_10(_id, _lib._sel_filePosixPermissions1); + return _lib._objc_msgSend_10(this.pointer, _lib._sel_filePosixPermissions1); } NSString? fileOwnerAccountName() { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_fileOwnerAccountName1); + final _ret = _lib._objc_msgSend_44( + this.pointer, + _lib._sel_fileOwnerAccountName1, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } NSString? fileGroupOwnerAccountName() { - final _ret = - _lib._objc_msgSend_44(_id, _lib._sel_fileGroupOwnerAccountName1); + final _ret = _lib._objc_msgSend_44( + this.pointer, + _lib._sel_fileGroupOwnerAccountName1, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } int fileSystemNumber() { - return _lib._objc_msgSend_83(_id, _lib._sel_fileSystemNumber1); + return _lib._objc_msgSend_83(this.pointer, _lib._sel_fileSystemNumber1); } int fileSystemFileNumber() { - return _lib._objc_msgSend_10(_id, _lib._sel_fileSystemFileNumber1); + return _lib._objc_msgSend_10(this.pointer, _lib._sel_fileSystemFileNumber1); } bool fileExtensionHidden() { - return _lib._objc_msgSend_12(_id, _lib._sel_fileExtensionHidden1); + return _lib._objc_msgSend_12(this.pointer, _lib._sel_fileExtensionHidden1); } int fileHFSCreatorCode() { - return _lib._objc_msgSend_214(_id, _lib._sel_fileHFSCreatorCode1); + return _lib._objc_msgSend_214(this.pointer, _lib._sel_fileHFSCreatorCode1); } int fileHFSTypeCode() { - return _lib._objc_msgSend_214(_id, _lib._sel_fileHFSTypeCode1); + return _lib._objc_msgSend_214(this.pointer, _lib._sel_fileHFSTypeCode1); } bool fileIsImmutable() { - return _lib._objc_msgSend_12(_id, _lib._sel_fileIsImmutable1); + return _lib._objc_msgSend_12(this.pointer, _lib._sel_fileIsImmutable1); } bool fileIsAppendOnly() { - return _lib._objc_msgSend_12(_id, _lib._sel_fileIsAppendOnly1); + return _lib._objc_msgSend_12(this.pointer, _lib._sel_fileIsAppendOnly1); } NSDate? fileCreationDate() { - final _ret = _lib._objc_msgSend_183(_id, _lib._sel_fileCreationDate1); + final _ret = _lib._objc_msgSend_183( + this.pointer, + _lib._sel_fileCreationDate1, + ); return _ret.address == 0 ? null : NSDate._(_ret, _lib, retain: true, release: true); } NSNumber? fileOwnerAccountID() { - final _ret = _lib._objc_msgSend_215(_id, _lib._sel_fileOwnerAccountID1); + final _ret = _lib._objc_msgSend_215( + this.pointer, + _lib._sel_fileOwnerAccountID1, + ); return _ret.address == 0 ? null : NSNumber._(_ret, _lib, retain: true, release: true); } NSNumber? fileGroupOwnerAccountID() { - final _ret = - _lib._objc_msgSend_215(_id, _lib._sel_fileGroupOwnerAccountID1); + final _ret = _lib._objc_msgSend_215( + this.pointer, + _lib._sel_fileGroupOwnerAccountID1, + ); return _ret.address == 0 ? null : NSNumber._(_ret, _lib, retain: true, release: true); @@ -42500,144 +54878,216 @@ class NSDictionary extends NSObject { @override NSObject? valueForKey_(NSString key) { - final _ret = _lib._objc_msgSend_38(_id, _lib._sel_valueForKey_1, key._id); + final _ret = _lib._objc_msgSend_38( + this.pointer, + _lib._sel_valueForKey_1, + key.pointer, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } static NSDictionary new1(AVFAudio _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSDictionary1, _lib._sel_new1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSDictionary1, + _lib._sel_new1, + ); return NSDictionary._(_ret, _lib, retain: false, release: true); } static NSDictionary allocWithZone_(AVFAudio _lib, ffi.Pointer<_NSZone> zone) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSDictionary1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSDictionary1, + _lib._sel_allocWithZone_1, + zone, + ); return NSDictionary._(_ret, _lib, retain: false, release: true); } static NSDictionary alloc(AVFAudio _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSDictionary1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSDictionary1, + _lib._sel_alloc1, + ); return NSDictionary._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + AVFAudio _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSDictionary1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSDictionary1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSDictionary1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + AVFAudio _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSDictionary1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { return _lib._objc_msgSend_12( - _lib._class_NSDictionary1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_NSDictionary1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(AVFAudio _lib) { return _lib._objc_msgSend_12( - _lib._class_NSDictionary1, _lib._sel_useStoredAccessor1); + _lib._class_NSDictionary1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSDictionary1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSDictionary1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSDictionary1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSDictionary1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, NSArray keys, NSString dependentKey) { + AVFAudio _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSDictionary1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSDictionary1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { final _ret = _lib._objc_msgSend_85( - _lib._class_NSDictionary1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSDictionary1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(AVFAudio _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSDictionary1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSDictionary1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } -void _ObjCBlock_ffiVoid_ObjCObject_ObjCObject_bool_fnPtrTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2) => - block.ref.target - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2)>>() - .asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>()(arg0, arg1, arg2); -final _ObjCBlock_ffiVoid_ObjCObject_ObjCObject_bool_closureRegistry = , ffi.Pointer, - ffi.Pointer)>{}; -int _ObjCBlock_ffiVoid_ObjCObject_ObjCObject_bool_closureRegistryIndex = 0; +void _ObjCBlock_ffiVoid_objcObjCObject_objcObjCObject_bool_fnPtrTrampoline( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, +) => block.ref.target + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, + ) + > + >() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >()(arg0, arg1, arg2); +final _ObjCBlock_ffiVoid_objcObjCObject_objcObjCObject_bool_closureRegistry = + < + int, + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >{}; +int _ObjCBlock_ffiVoid_objcObjCObject_objcObjCObject_bool_closureRegistryIndex = + 0; ffi.Pointer - _ObjCBlock_ffiVoid_ObjCObject_ObjCObject_bool_registerClosure( - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer) - fn) { +_ObjCBlock_ffiVoid_objcObjCObject_objcObjCObject_bool_registerClosure( + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) fn, +) { final id = - ++_ObjCBlock_ffiVoid_ObjCObject_ObjCObject_bool_closureRegistryIndex; - _ObjCBlock_ffiVoid_ObjCObject_ObjCObject_bool_closureRegistry[id] = fn; + ++_ObjCBlock_ffiVoid_objcObjCObject_objcObjCObject_bool_closureRegistryIndex; + _ObjCBlock_ffiVoid_objcObjCObject_objcObjCObject_bool_closureRegistry[id] = + fn; return ffi.Pointer.fromAddress(id); } -void _ObjCBlock_ffiVoid_ObjCObject_ObjCObject_bool_closureTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2) => - _ObjCBlock_ffiVoid_ObjCObject_ObjCObject_bool_closureRegistry[ - block.ref.target.address]!(arg0, arg1, arg2); - -class ObjCBlock_ffiVoid_ObjCObject_ObjCObject_bool extends _ObjCBlockBase { - ObjCBlock_ffiVoid_ObjCObject_ObjCObject_bool._( - ffi.Pointer<_ObjCBlock> id, AVFAudio lib, - {bool retain = false, bool release = true}) - : super._(id, lib, retain: retain, release: release); +void _ObjCBlock_ffiVoid_objcObjCObject_objcObjCObject_bool_closureTrampoline( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, +) => _ObjCBlock_ffiVoid_objcObjCObject_objcObjCObject_bool_closureRegistry[block + .ref + .target + .address]!(arg0, arg1, arg2); + +class ObjCBlock_ffiVoid_objcObjCObject_objcObjCObject_bool + extends objc.ObjCBlockBase { + ObjCBlock_ffiVoid_objcObjCObject_objcObjCObject_bool._( + ffi.Pointer pointer, + this._lib, { + bool retain = false, + bool release = true, + }) : super(pointer, retain: retain, release: release); + + AVFAudio _lib; /// Returns a block that wraps the given raw block pointer. - static ObjCBlock_ffiVoid_ObjCObject_ObjCObject_bool castFromPointer( - AVFAudio lib, ffi.Pointer<_ObjCBlock> pointer, - {bool retain = false, bool release = false}) { - return ObjCBlock_ffiVoid_ObjCObject_ObjCObject_bool._(pointer, lib, - retain: retain, release: release); + static ObjCBlock_ffiVoid_objcObjCObject_objcObjCObject_bool castFromPointer( + AVFAudio lib, + ffi.Pointer pointer, { + bool retain = false, + bool release = false, + }) { + return ObjCBlock_ffiVoid_objcObjCObject_objcObjCObject_bool._( + pointer, + lib, + retain: retain, + release: release, + ); } /// Creates a block from a C function pointer. @@ -42645,27 +55095,31 @@ class ObjCBlock_ffiVoid_ObjCObject_ObjCObject_bool extends _ObjCBlockBase { /// This block must be invoked by native code running on the same thread as /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. - ObjCBlock_ffiVoid_ObjCObject_ObjCObject_bool.fromFunctionPointer( - AVFAudio lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2)>> - ptr) - : this._( - lib._newBlock1( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_ObjCObject_ObjCObject_bool_fnPtrTrampoline) - .cast(), - ptr.cast()), - lib); + ObjCBlock_ffiVoid_objcObjCObject_objcObjCObject_bool.fromFunctionPointer( + AVFAudio lib, + ffi.Pointer< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, + ) + > + > ptr, + ) : this._(objc.newBlock( + _cFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >( + _ObjCBlock_ffiVoid_objcObjCObject_objcObjCObject_bool_fnPtrTrampoline, + ).cast(), + ptr.cast(), + ), lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -42673,23 +55127,31 @@ class ObjCBlock_ffiVoid_ObjCObject_ObjCObject_bool extends _ObjCBlockBase { /// This block must be invoked by native code running on the same thread as /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. - ObjCBlock_ffiVoid_ObjCObject_ObjCObject_bool.fromFunction( - AVFAudio lib, void Function(NSObject, NSObject, ffi.Pointer) fn) - : this._( - lib._newBlock1( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_ObjCObject_ObjCObject_bool_closureTrampoline) - .cast(), - _ObjCBlock_ffiVoid_ObjCObject_ObjCObject_bool_registerClosure( - (ffi.Pointer arg0, ffi.Pointer arg1, - ffi.Pointer arg2) => - fn(NSObject._(arg0, lib, retain: true, release: true), NSObject._(arg1, lib, retain: true, release: true), arg2))), - lib); + ObjCBlock_ffiVoid_objcObjCObject_objcObjCObject_bool.fromFunction( + AVFAudio lib, + void Function(NSObject, NSObject, ffi.Pointer) fn, + ) : this._(objc.newBlock( + _dartFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >( + _ObjCBlock_ffiVoid_objcObjCObject_objcObjCObject_bool_closureTrampoline, + ).cast(), + _ObjCBlock_ffiVoid_objcObjCObject_objcObjCObject_bool_registerClosure(( + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, + ) => fn( + NSObject._(arg0, lib, retain: true, release: true), + NSObject._(arg1, lib, retain: true, release: true), + arg2, + )), + ), lib); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -42701,99 +55163,144 @@ class ObjCBlock_ffiVoid_ObjCObject_ObjCObject_bool extends _ObjCBlockBase { /// /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. - ObjCBlock_ffiVoid_ObjCObject_ObjCObject_bool.listener( - AVFAudio lib, void Function(NSObject, NSObject, ffi.Pointer) fn) - : this._( - lib._newBlock1( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>.listener( - _ObjCBlock_ffiVoid_ObjCObject_ObjCObject_bool_closureTrampoline) - ..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_ObjCObject_ObjCObject_bool_registerClosure( - (ffi.Pointer arg0, ffi.Pointer arg1, ffi.Pointer arg2) => fn( - NSObject._(arg0, lib, retain: true, release: true), - NSObject._(arg1, lib, retain: true, release: true), - arg2))), - lib); + ObjCBlock_ffiVoid_objcObjCObject_objcObjCObject_bool.listener( + AVFAudio lib, + void Function(NSObject, NSObject, ffi.Pointer) fn, + ) : this._(objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >.listener( + _ObjCBlock_ffiVoid_objcObjCObject_objcObjCObject_bool_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_objcObjCObject_objcObjCObject_bool_registerClosure(( + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, + ) => fn( + NSObject._(arg0, lib, retain: true, release: true), + NSObject._(arg1, lib, retain: true, release: true), + arg2, + )), + ), lib); static ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>? _dartFuncListenerTrampoline; - - void call(NSObject arg0, NSObject arg1, ffi.Pointer arg2) => - _id.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2)>>() - .asFunction< - void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>()(_id, arg0._id, arg1._id, arg2); + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >? _dartFuncListenerTrampoline; + + void call(NSObject arg0, NSObject arg1, ffi.Pointer arg2) => pointer + .ref + .invoke + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, + ) + > + >() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >()(pointer, arg0.pointer, arg1.pointer, arg2); } -bool _ObjCBlock_bool_ObjCObject_ObjCObject_bool_fnPtrTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2) => - block.ref.target - .cast< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2)>>() - .asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>()(arg0, arg1, arg2); -final _ObjCBlock_bool_ObjCObject_ObjCObject_bool_closureRegistry = , ffi.Pointer, - ffi.Pointer)>{}; -int _ObjCBlock_bool_ObjCObject_ObjCObject_bool_closureRegistryIndex = 0; +bool _ObjCBlock_bool_objcObjCObject_objcObjCObject_bool_fnPtrTrampoline( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, +) => block.ref.target + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, + ) + > + >() + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >()(arg0, arg1, arg2); +final _ObjCBlock_bool_objcObjCObject_objcObjCObject_bool_closureRegistry = + < + int, + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >{}; +int _ObjCBlock_bool_objcObjCObject_objcObjCObject_bool_closureRegistryIndex = 0; ffi.Pointer - _ObjCBlock_bool_ObjCObject_ObjCObject_bool_registerClosure( - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer) - fn) { - final id = ++_ObjCBlock_bool_ObjCObject_ObjCObject_bool_closureRegistryIndex; - _ObjCBlock_bool_ObjCObject_ObjCObject_bool_closureRegistry[id] = fn; +_ObjCBlock_bool_objcObjCObject_objcObjCObject_bool_registerClosure( + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) fn, +) { + final id = + ++_ObjCBlock_bool_objcObjCObject_objcObjCObject_bool_closureRegistryIndex; + _ObjCBlock_bool_objcObjCObject_objcObjCObject_bool_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } -bool _ObjCBlock_bool_ObjCObject_ObjCObject_bool_closureTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2) => - _ObjCBlock_bool_ObjCObject_ObjCObject_bool_closureRegistry[ - block.ref.target.address]!(arg0, arg1, arg2); - -class ObjCBlock_bool_ObjCObject_ObjCObject_bool extends _ObjCBlockBase { - ObjCBlock_bool_ObjCObject_ObjCObject_bool._( - ffi.Pointer<_ObjCBlock> id, AVFAudio lib, - {bool retain = false, bool release = true}) - : super._(id, lib, retain: retain, release: release); +bool _ObjCBlock_bool_objcObjCObject_objcObjCObject_bool_closureTrampoline( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, +) => _ObjCBlock_bool_objcObjCObject_objcObjCObject_bool_closureRegistry[block + .ref + .target + .address]!(arg0, arg1, arg2); + +class ObjCBlock_bool_objcObjCObject_objcObjCObject_bool + extends objc.ObjCBlockBase { + ObjCBlock_bool_objcObjCObject_objcObjCObject_bool._( + ffi.Pointer pointer, + this._lib, { + bool retain = false, + bool release = true, + }) : super(pointer, retain: retain, release: release); + + AVFAudio _lib; /// Returns a block that wraps the given raw block pointer. - static ObjCBlock_bool_ObjCObject_ObjCObject_bool castFromPointer( - AVFAudio lib, ffi.Pointer<_ObjCBlock> pointer, - {bool retain = false, bool release = false}) { - return ObjCBlock_bool_ObjCObject_ObjCObject_bool._(pointer, lib, - retain: retain, release: release); + static ObjCBlock_bool_objcObjCObject_objcObjCObject_bool castFromPointer( + AVFAudio lib, + ffi.Pointer pointer, { + bool retain = false, + bool release = false, + }) { + return ObjCBlock_bool_objcObjCObject_objcObjCObject_bool._( + pointer, + lib, + retain: retain, + release: release, + ); } /// Creates a block from a C function pointer. @@ -42801,28 +55308,32 @@ class ObjCBlock_bool_ObjCObject_ObjCObject_bool extends _ObjCBlockBase { /// This block must be invoked by native code running on the same thread as /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. - ObjCBlock_bool_ObjCObject_ObjCObject_bool.fromFunctionPointer( - AVFAudio lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2)>> - ptr) - : this._( - lib._newBlock1( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Bool Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>( - _ObjCBlock_bool_ObjCObject_ObjCObject_bool_fnPtrTrampoline, - false) - .cast(), - ptr.cast()), - lib); + ObjCBlock_bool_objcObjCObject_objcObjCObject_bool.fromFunctionPointer( + AVFAudio lib, + ffi.Pointer< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, + ) + > + > ptr, + ) : this._(objc.newBlock( + _cFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >( + _ObjCBlock_bool_objcObjCObject_objcObjCObject_bool_fnPtrTrampoline, + false, + ).cast(), + ptr.cast(), + ), lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -42830,47 +55341,62 @@ class ObjCBlock_bool_ObjCObject_ObjCObject_bool extends _ObjCBlockBase { /// This block must be invoked by native code running on the same thread as /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. - ObjCBlock_bool_ObjCObject_ObjCObject_bool.fromFunction( - AVFAudio lib, bool Function(NSObject, NSObject, ffi.Pointer) fn) - : this._( - lib._newBlock1( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Bool Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>( - _ObjCBlock_bool_ObjCObject_ObjCObject_bool_closureTrampoline, false) - .cast(), - _ObjCBlock_bool_ObjCObject_ObjCObject_bool_registerClosure( - (ffi.Pointer arg0, ffi.Pointer arg1, - ffi.Pointer arg2) => - fn(NSObject._(arg0, lib, retain: true, release: true), NSObject._(arg1, lib, retain: true, release: true), arg2))), - lib); + ObjCBlock_bool_objcObjCObject_objcObjCObject_bool.fromFunction( + AVFAudio lib, + bool Function(NSObject, NSObject, ffi.Pointer) fn, + ) : this._(objc.newBlock( + _dartFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >( + _ObjCBlock_bool_objcObjCObject_objcObjCObject_bool_closureTrampoline, + false, + ).cast(), + _ObjCBlock_bool_objcObjCObject_objcObjCObject_bool_registerClosure(( + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, + ) => fn( + NSObject._(arg0, lib, retain: true, release: true), + NSObject._(arg1, lib, retain: true, release: true), + arg2, + )), + ), lib); static ffi.Pointer? _dartFuncTrampoline; - bool call(NSObject arg0, NSObject arg1, ffi.Pointer arg2) => - _id.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2)>>() - .asFunction< - bool Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>()(_id, arg0._id, arg1._id, arg2); + bool call(NSObject arg0, NSObject arg1, ffi.Pointer arg2) => pointer + .ref + .invoke + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, + ) + > + >() + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >()(pointer, arg0.pointer, arg1.pointer, arg2); } final class NSFastEnumerationState extends ffi.Struct { @ffi.UnsignedLong() external int state; - external ffi.Pointer> itemsPtr; + external ffi.Pointer> itemsPtr; external ffi.Pointer mutationsPtr; @@ -42879,116 +55405,173 @@ final class NSFastEnumerationState extends ffi.Struct { } class NSDate extends NSObject { - NSDate._(ffi.Pointer id, AVFAudio lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSDate._( + ffi.Pointer pointer, + AVFAudio lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSDate] that points to the same underlying object as [other]. - static NSDate castFrom(T other) { - return NSDate._(other._id, other._lib, retain: true, release: true); + static NSDate castFrom(AVFAudio lib, T other) { + return NSDate._(other.pointer, lib, retain: true, release: true); } /// Returns a [NSDate] that wraps the given raw object pointer. - static NSDate castFromPointer(AVFAudio lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + static NSDate castFromPointer( + AVFAudio lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSDate._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSDate]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_NSDate1); + static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSDate1, + ); } double get timeIntervalSinceReferenceDate { - return _lib._objc_msgSend_useVariants1 + return objc.useMsgSendVariants ? _lib._objc_msgSend_165_fpret( - _id, _lib._sel_timeIntervalSinceReferenceDate1) + this.pointer, + _lib._sel_timeIntervalSinceReferenceDate1, + ) : _lib._objc_msgSend_165( - _id, _lib._sel_timeIntervalSinceReferenceDate1); + this.pointer, + _lib._sel_timeIntervalSinceReferenceDate1, + ); } @override NSDate init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSDate._(_ret, _lib, retain: true, release: true); } NSDate initWithTimeIntervalSinceReferenceDate_(double ti) { final _ret = _lib._objc_msgSend_166( - _id, _lib._sel_initWithTimeIntervalSinceReferenceDate_1, ti); + this.pointer, + _lib._sel_initWithTimeIntervalSinceReferenceDate_1, + ti, + ); return NSDate._(_ret, _lib, retain: true, release: true); } NSDate? initWithCoder_(NSCoder coder) { - final _ret = - _lib._objc_msgSend_47(_id, _lib._sel_initWithCoder_1, coder._id); + final _ret = _lib._objc_msgSend_47( + this.pointer, + _lib._sel_initWithCoder_1, + coder.pointer, + ); return _ret.address == 0 ? null : NSDate._(_ret, _lib, retain: true, release: true); } double timeIntervalSinceDate_(NSDate anotherDate) { - return _lib._objc_msgSend_useVariants1 + return objc.useMsgSendVariants ? _lib._objc_msgSend_167_fpret( - _id, _lib._sel_timeIntervalSinceDate_1, anotherDate._id) + this.pointer, + _lib._sel_timeIntervalSinceDate_1, + anotherDate.pointer, + ) : _lib._objc_msgSend_167( - _id, _lib._sel_timeIntervalSinceDate_1, anotherDate._id); + this.pointer, + _lib._sel_timeIntervalSinceDate_1, + anotherDate.pointer, + ); } double get timeIntervalSinceNow { - return _lib._objc_msgSend_useVariants1 - ? _lib._objc_msgSend_165_fpret(_id, _lib._sel_timeIntervalSinceNow1) - : _lib._objc_msgSend_165(_id, _lib._sel_timeIntervalSinceNow1); + return objc.useMsgSendVariants + ? _lib._objc_msgSend_165_fpret( + this.pointer, + _lib._sel_timeIntervalSinceNow1, + ) + : _lib._objc_msgSend_165(this.pointer, _lib._sel_timeIntervalSinceNow1); } double get timeIntervalSince1970 { - return _lib._objc_msgSend_useVariants1 - ? _lib._objc_msgSend_165_fpret(_id, _lib._sel_timeIntervalSince19701) - : _lib._objc_msgSend_165(_id, _lib._sel_timeIntervalSince19701); + return objc.useMsgSendVariants + ? _lib._objc_msgSend_165_fpret( + this.pointer, + _lib._sel_timeIntervalSince19701, + ) + : _lib._objc_msgSend_165( + this.pointer, + _lib._sel_timeIntervalSince19701, + ); } NSObject addTimeInterval_(double seconds) { - final _ret = - _lib._objc_msgSend_166(_id, _lib._sel_addTimeInterval_1, seconds); + final _ret = _lib._objc_msgSend_166( + this.pointer, + _lib._sel_addTimeInterval_1, + seconds, + ); return NSObject._(_ret, _lib, retain: true, release: true); } NSDate dateByAddingTimeInterval_(double ti) { - final _ret = - _lib._objc_msgSend_166(_id, _lib._sel_dateByAddingTimeInterval_1, ti); + final _ret = _lib._objc_msgSend_166( + this.pointer, + _lib._sel_dateByAddingTimeInterval_1, + ti, + ); return NSDate._(_ret, _lib, retain: true, release: true); } NSDate earlierDate_(NSDate anotherDate) { - final _ret = - _lib._objc_msgSend_168(_id, _lib._sel_earlierDate_1, anotherDate._id); + final _ret = _lib._objc_msgSend_168( + this.pointer, + _lib._sel_earlierDate_1, + anotherDate.pointer, + ); return NSDate._(_ret, _lib, retain: true, release: true); } NSDate laterDate_(NSDate anotherDate) { - final _ret = - _lib._objc_msgSend_168(_id, _lib._sel_laterDate_1, anotherDate._id); + final _ret = _lib._objc_msgSend_168( + this.pointer, + _lib._sel_laterDate_1, + anotherDate.pointer, + ); return NSDate._(_ret, _lib, retain: true, release: true); } int compare_(NSDate other) { - return _lib._objc_msgSend_169(_id, _lib._sel_compare_1, other._id); + return _lib._objc_msgSend_169( + this.pointer, + _lib._sel_compare_1, + other.pointer, + ); } bool isEqualToDate_(NSDate otherDate) { return _lib._objc_msgSend_170( - _id, _lib._sel_isEqualToDate_1, otherDate._id); + this.pointer, + _lib._sel_isEqualToDate_1, + otherDate.pointer, + ); } NSString get description { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_description1); + final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_description1); return NSString._(_ret, _lib, retain: true, release: true); } NSString descriptionWithLocale_(NSObject? locale) { final _ret = _lib._objc_msgSend_70( - _id, _lib._sel_descriptionWithLocale_1, locale?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_descriptionWithLocale_1, + locale?.pointer ?? ffi.nullptr, + ); return NSString._(_ret, _lib, retain: true, release: true); } @@ -42999,39 +55582,61 @@ class NSDate extends NSObject { static NSDate dateWithTimeIntervalSinceNow_(AVFAudio _lib, double secs) { final _ret = _lib._objc_msgSend_166( - _lib._class_NSDate1, _lib._sel_dateWithTimeIntervalSinceNow_1, secs); + _lib._class_NSDate1, + _lib._sel_dateWithTimeIntervalSinceNow_1, + secs, + ); return NSDate._(_ret, _lib, retain: true, release: true); } static NSDate dateWithTimeIntervalSinceReferenceDate_( - AVFAudio _lib, double ti) { - final _ret = _lib._objc_msgSend_166(_lib._class_NSDate1, - _lib._sel_dateWithTimeIntervalSinceReferenceDate_1, ti); + AVFAudio _lib, + double ti, + ) { + final _ret = _lib._objc_msgSend_166( + _lib._class_NSDate1, + _lib._sel_dateWithTimeIntervalSinceReferenceDate_1, + ti, + ); return NSDate._(_ret, _lib, retain: true, release: true); } static NSDate dateWithTimeIntervalSince1970_(AVFAudio _lib, double secs) { final _ret = _lib._objc_msgSend_166( - _lib._class_NSDate1, _lib._sel_dateWithTimeIntervalSince1970_1, secs); + _lib._class_NSDate1, + _lib._sel_dateWithTimeIntervalSince1970_1, + secs, + ); return NSDate._(_ret, _lib, retain: true, release: true); } static NSDate dateWithTimeInterval_sinceDate_( - AVFAudio _lib, double secsToBeAdded, NSDate date) { - final _ret = _lib._objc_msgSend_171(_lib._class_NSDate1, - _lib._sel_dateWithTimeInterval_sinceDate_1, secsToBeAdded, date._id); + AVFAudio _lib, + double secsToBeAdded, + NSDate date, + ) { + final _ret = _lib._objc_msgSend_171( + _lib._class_NSDate1, + _lib._sel_dateWithTimeInterval_sinceDate_1, + secsToBeAdded, + date.pointer, + ); return NSDate._(_ret, _lib, retain: true, release: true); } static NSDate getDistantFuture(AVFAudio _lib) { - final _ret = - _lib._objc_msgSend_172(_lib._class_NSDate1, _lib._sel_distantFuture1); + final _ret = _lib._objc_msgSend_172( + _lib._class_NSDate1, + _lib._sel_distantFuture1, + ); return NSDate._(_ret, _lib, retain: true, release: true); } static NSDate getDistantPast(AVFAudio _lib) { - final _ret = - _lib._objc_msgSend_172(_lib._class_NSDate1, _lib._sel_distantPast1); + final _ret = _lib._objc_msgSend_172( + _lib._class_NSDate1, + _lib._sel_distantPast1, + ); return NSDate._(_ret, _lib, retain: true, release: true); } @@ -43042,38 +55647,57 @@ class NSDate extends NSObject { NSDate initWithTimeIntervalSinceNow_(double secs) { final _ret = _lib._objc_msgSend_166( - _id, _lib._sel_initWithTimeIntervalSinceNow_1, secs); + this.pointer, + _lib._sel_initWithTimeIntervalSinceNow_1, + secs, + ); return NSDate._(_ret, _lib, retain: true, release: true); } NSDate initWithTimeIntervalSince1970_(double secs) { final _ret = _lib._objc_msgSend_166( - _id, _lib._sel_initWithTimeIntervalSince1970_1, secs); + this.pointer, + _lib._sel_initWithTimeIntervalSince1970_1, + secs, + ); return NSDate._(_ret, _lib, retain: true, release: true); } NSDate initWithTimeInterval_sinceDate_(double secsToBeAdded, NSDate date) { - final _ret = _lib._objc_msgSend_171(_id, - _lib._sel_initWithTimeInterval_sinceDate_1, secsToBeAdded, date._id); + final _ret = _lib._objc_msgSend_171( + this.pointer, + _lib._sel_initWithTimeInterval_sinceDate_1, + secsToBeAdded, + date.pointer, + ); return NSDate._(_ret, _lib, retain: true, release: true); } static NSObject? dateWithNaturalLanguageString_locale_( - AVFAudio _lib, NSString string, NSObject? locale) { + AVFAudio _lib, + NSString string, + NSObject? locale, + ) { final _ret = _lib._objc_msgSend_173( - _lib._class_NSDate1, - _lib._sel_dateWithNaturalLanguageString_locale_1, - string._id, - locale?._id ?? ffi.nullptr); + _lib._class_NSDate1, + _lib._sel_dateWithNaturalLanguageString_locale_1, + string.pointer, + locale?.pointer ?? ffi.nullptr, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } static NSObject? dateWithNaturalLanguageString_( - AVFAudio _lib, NSString string) { - final _ret = _lib._objc_msgSend_38(_lib._class_NSDate1, - _lib._sel_dateWithNaturalLanguageString_1, string._id); + AVFAudio _lib, + NSString string, + ) { + final _ret = _lib._objc_msgSend_38( + _lib._class_NSDate1, + _lib._sel_dateWithNaturalLanguageString_1, + string.pointer, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); @@ -43081,36 +55705,49 @@ class NSDate extends NSObject { static NSObject dateWithString_(AVFAudio _lib, NSString aString) { final _ret = _lib._objc_msgSend_31( - _lib._class_NSDate1, _lib._sel_dateWithString_1, aString._id); + _lib._class_NSDate1, + _lib._sel_dateWithString_1, + aString.pointer, + ); return NSObject._(_ret, _lib, retain: true, release: true); } NSCalendarDate dateWithCalendarFormat_timeZone_( - NSString? format, NSTimeZone? aTimeZone) { + NSString? format, + NSTimeZone? aTimeZone, + ) { final _ret = _lib._objc_msgSend_212( - _id, - _lib._sel_dateWithCalendarFormat_timeZone_1, - format?._id ?? ffi.nullptr, - aTimeZone?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_dateWithCalendarFormat_timeZone_1, + format?.pointer ?? ffi.nullptr, + aTimeZone?.pointer ?? ffi.nullptr, + ); return NSCalendarDate._(_ret, _lib, retain: true, release: true); } NSString? descriptionWithCalendarFormat_timeZone_locale_( - NSString? format, NSTimeZone? aTimeZone, NSObject? locale) { + NSString? format, + NSTimeZone? aTimeZone, + NSObject? locale, + ) { final _ret = _lib._objc_msgSend_213( - _id, - _lib._sel_descriptionWithCalendarFormat_timeZone_locale_1, - format?._id ?? ffi.nullptr, - aTimeZone?._id ?? ffi.nullptr, - locale?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_descriptionWithCalendarFormat_timeZone_locale_1, + format?.pointer ?? ffi.nullptr, + aTimeZone?.pointer ?? ffi.nullptr, + locale?.pointer ?? ffi.nullptr, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } NSObject? initWithString_(NSString description) { - final _ret = - _lib._objc_msgSend_38(_id, _lib._sel_initWithString_1, description._id); + final _ret = _lib._objc_msgSend_38( + this.pointer, + _lib._sel_initWithString_1, + description.pointer, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); @@ -43123,7 +55760,10 @@ class NSDate extends NSObject { static NSDate allocWithZone_(AVFAudio _lib, ffi.Pointer<_NSZone> zone) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSDate1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSDate1, + _lib._sel_allocWithZone_1, + zone, + ); return NSDate._(_ret, _lib, retain: false, release: true); } @@ -43133,242 +55773,325 @@ class NSDate extends NSObject { } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + AVFAudio _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSDate1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSDate1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSDate1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + AVFAudio _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSDate1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { return _lib._objc_msgSend_12( - _lib._class_NSDate1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_NSDate1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(AVFAudio _lib) { return _lib._objc_msgSend_12( - _lib._class_NSDate1, _lib._sel_useStoredAccessor1); + _lib._class_NSDate1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSDate1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSDate1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSDate1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSDate1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, NSArray keys, NSString dependentKey) { + AVFAudio _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSDate1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSDate1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { final _ret = _lib._objc_msgSend_85( - _lib._class_NSDate1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSDate1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(AVFAudio _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSDate1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSDate1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } class NSCalendarDate extends NSDate { - NSCalendarDate._(ffi.Pointer id, AVFAudio lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSCalendarDate._( + ffi.Pointer pointer, + AVFAudio lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSCalendarDate] that points to the same underlying object as [other]. - static NSCalendarDate castFrom(T other) { - return NSCalendarDate._(other._id, other._lib, retain: true, release: true); + static NSCalendarDate castFrom( + AVFAudio lib, + T other, + ) { + return NSCalendarDate._(other.pointer, lib, retain: true, release: true); } /// Returns a [NSCalendarDate] that wraps the given raw object pointer. static NSCalendarDate castFromPointer( - AVFAudio lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + AVFAudio lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSCalendarDate._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSCalendarDate]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0(obj._id, obj._lib._sel_isKindOfClass_1, - obj._lib._class_NSCalendarDate1); + static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSCalendarDate1, + ); } static NSObject calendarDate(AVFAudio _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSCalendarDate1, _lib._sel_calendarDate1); + _lib._class_NSCalendarDate1, + _lib._sel_calendarDate1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } static NSObject? dateWithString_calendarFormat_locale_( - AVFAudio _lib, NSString description, NSString format, NSObject? locale) { + AVFAudio _lib, + NSString description, + NSString format, + NSObject? locale, + ) { final _ret = _lib._objc_msgSend_174( - _lib._class_NSCalendarDate1, - _lib._sel_dateWithString_calendarFormat_locale_1, - description._id, - format._id, - locale?._id ?? ffi.nullptr); + _lib._class_NSCalendarDate1, + _lib._sel_dateWithString_calendarFormat_locale_1, + description.pointer, + format.pointer, + locale?.pointer ?? ffi.nullptr, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } static NSObject? dateWithString_calendarFormat_( - AVFAudio _lib, NSString description, NSString format) { - final _ret = _lib._objc_msgSend_175(_lib._class_NSCalendarDate1, - _lib._sel_dateWithString_calendarFormat_1, description._id, format._id); + AVFAudio _lib, + NSString description, + NSString format, + ) { + final _ret = _lib._objc_msgSend_175( + _lib._class_NSCalendarDate1, + _lib._sel_dateWithString_calendarFormat_1, + description.pointer, + format.pointer, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } static NSObject dateWithYear_month_day_hour_minute_second_timeZone_( - AVFAudio _lib, - int year, - int month, - int day, - int hour, - int minute, - int second, - NSTimeZone? aTimeZone) { + AVFAudio _lib, + int year, + int month, + int day, + int hour, + int minute, + int second, + NSTimeZone? aTimeZone, + ) { final _ret = _lib._objc_msgSend_206( - _lib._class_NSCalendarDate1, - _lib._sel_dateWithYear_month_day_hour_minute_second_timeZone_1, - year, - month, - day, - hour, - minute, - second, - aTimeZone?._id ?? ffi.nullptr); + _lib._class_NSCalendarDate1, + _lib._sel_dateWithYear_month_day_hour_minute_second_timeZone_1, + year, + month, + day, + hour, + minute, + second, + aTimeZone?.pointer ?? ffi.nullptr, + ); return NSObject._(_ret, _lib, retain: true, release: true); } NSCalendarDate dateByAddingYears_months_days_hours_minutes_seconds_( - int year, int month, int day, int hour, int minute, int second) { + int year, + int month, + int day, + int hour, + int minute, + int second, + ) { final _ret = _lib._objc_msgSend_207( - _id, - _lib._sel_dateByAddingYears_months_days_hours_minutes_seconds_1, - year, - month, - day, - hour, - minute, - second); + this.pointer, + _lib._sel_dateByAddingYears_months_days_hours_minutes_seconds_1, + year, + month, + day, + hour, + minute, + second, + ); return NSCalendarDate._(_ret, _lib, retain: true, release: true); } int dayOfCommonEra() { - return _lib._objc_msgSend_83(_id, _lib._sel_dayOfCommonEra1); + return _lib._objc_msgSend_83(this.pointer, _lib._sel_dayOfCommonEra1); } int dayOfMonth() { - return _lib._objc_msgSend_83(_id, _lib._sel_dayOfMonth1); + return _lib._objc_msgSend_83(this.pointer, _lib._sel_dayOfMonth1); } int dayOfWeek() { - return _lib._objc_msgSend_83(_id, _lib._sel_dayOfWeek1); + return _lib._objc_msgSend_83(this.pointer, _lib._sel_dayOfWeek1); } int dayOfYear() { - return _lib._objc_msgSend_83(_id, _lib._sel_dayOfYear1); + return _lib._objc_msgSend_83(this.pointer, _lib._sel_dayOfYear1); } int hourOfDay() { - return _lib._objc_msgSend_83(_id, _lib._sel_hourOfDay1); + return _lib._objc_msgSend_83(this.pointer, _lib._sel_hourOfDay1); } int minuteOfHour() { - return _lib._objc_msgSend_83(_id, _lib._sel_minuteOfHour1); + return _lib._objc_msgSend_83(this.pointer, _lib._sel_minuteOfHour1); } int monthOfYear() { - return _lib._objc_msgSend_83(_id, _lib._sel_monthOfYear1); + return _lib._objc_msgSend_83(this.pointer, _lib._sel_monthOfYear1); } int secondOfMinute() { - return _lib._objc_msgSend_83(_id, _lib._sel_secondOfMinute1); + return _lib._objc_msgSend_83(this.pointer, _lib._sel_secondOfMinute1); } int yearOfCommonEra() { - return _lib._objc_msgSend_83(_id, _lib._sel_yearOfCommonEra1); + return _lib._objc_msgSend_83(this.pointer, _lib._sel_yearOfCommonEra1); } NSString calendarFormat() { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_calendarFormat1); + final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_calendarFormat1); return NSString._(_ret, _lib, retain: true, release: true); } NSString descriptionWithCalendarFormat_locale_( - NSString format, NSObject? locale) { + NSString format, + NSObject? locale, + ) { final _ret = _lib._objc_msgSend_208( - _id, - _lib._sel_descriptionWithCalendarFormat_locale_1, - format._id, - locale?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_descriptionWithCalendarFormat_locale_1, + format.pointer, + locale?.pointer ?? ffi.nullptr, + ); return NSString._(_ret, _lib, retain: true, release: true); } NSString descriptionWithCalendarFormat_(NSString format) { final _ret = _lib._objc_msgSend_69( - _id, _lib._sel_descriptionWithCalendarFormat_1, format._id); + this.pointer, + _lib._sel_descriptionWithCalendarFormat_1, + format.pointer, + ); return NSString._(_ret, _lib, retain: true, release: true); } @override NSString descriptionWithLocale_(NSObject? locale) { final _ret = _lib._objc_msgSend_70( - _id, _lib._sel_descriptionWithLocale_1, locale?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_descriptionWithLocale_1, + locale?.pointer ?? ffi.nullptr, + ); return NSString._(_ret, _lib, retain: true, release: true); } NSTimeZone timeZone() { - final _ret = _lib._objc_msgSend_179(_id, _lib._sel_timeZone1); + final _ret = _lib._objc_msgSend_179(this.pointer, _lib._sel_timeZone1); return NSTimeZone._(_ret, _lib, retain: true, release: true); } NSObject? initWithString_calendarFormat_locale_( - NSString description, NSString format, NSObject? locale) { + NSString description, + NSString format, + NSObject? locale, + ) { final _ret = _lib._objc_msgSend_174( - _id, - _lib._sel_initWithString_calendarFormat_locale_1, - description._id, - format._id, - locale?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_initWithString_calendarFormat_locale_1, + description.pointer, + format.pointer, + locale?.pointer ?? ffi.nullptr, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } NSObject? initWithString_calendarFormat_( - NSString description, NSString format) { - final _ret = _lib._objc_msgSend_175(_id, - _lib._sel_initWithString_calendarFormat_1, description._id, format._id); + NSString description, + NSString format, + ) { + final _ret = _lib._objc_msgSend_175( + this.pointer, + _lib._sel_initWithString_calendarFormat_1, + description.pointer, + format.pointer, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); @@ -43376,93 +56099,116 @@ class NSCalendarDate extends NSDate { @override NSObject? initWithString_(NSString description) { - final _ret = - _lib._objc_msgSend_38(_id, _lib._sel_initWithString_1, description._id); + final _ret = _lib._objc_msgSend_38( + this.pointer, + _lib._sel_initWithString_1, + description.pointer, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } NSObject initWithYear_month_day_hour_minute_second_timeZone_( - int year, - int month, - int day, - int hour, - int minute, - int second, - NSTimeZone? aTimeZone) { + int year, + int month, + int day, + int hour, + int minute, + int second, + NSTimeZone? aTimeZone, + ) { final _ret = _lib._objc_msgSend_206( - _id, - _lib._sel_initWithYear_month_day_hour_minute_second_timeZone_1, - year, - month, - day, - hour, - minute, - second, - aTimeZone?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_initWithYear_month_day_hour_minute_second_timeZone_1, + year, + month, + day, + hour, + minute, + second, + aTimeZone?.pointer ?? ffi.nullptr, + ); return NSObject._(_ret, _lib, retain: true, release: true); } void setCalendarFormat_(NSString? format) { _lib._objc_msgSend_209( - _id, _lib._sel_setCalendarFormat_1, format?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setCalendarFormat_1, + format?.pointer ?? ffi.nullptr, + ); } void setTimeZone_(NSTimeZone? aTimeZone) { _lib._objc_msgSend_210( - _id, _lib._sel_setTimeZone_1, aTimeZone?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setTimeZone_1, + aTimeZone?.pointer ?? ffi.nullptr, + ); } void years_months_days_hours_minutes_seconds_sinceDate_( - ffi.Pointer yp, - ffi.Pointer mop, - ffi.Pointer dp, - ffi.Pointer hp, - ffi.Pointer mip, - ffi.Pointer sp, - NSCalendarDate date) { + ffi.Pointer yp, + ffi.Pointer mop, + ffi.Pointer dp, + ffi.Pointer hp, + ffi.Pointer mip, + ffi.Pointer sp, + NSCalendarDate date, + ) { _lib._objc_msgSend_211( - _id, - _lib._sel_years_months_days_hours_minutes_seconds_sinceDate_1, - yp, - mop, - dp, - hp, - mip, - sp, - date._id); + this.pointer, + _lib._sel_years_months_days_hours_minutes_seconds_sinceDate_1, + yp, + mop, + dp, + hp, + mip, + sp, + date.pointer, + ); } static NSDate getDistantFuture(AVFAudio _lib) { final _ret = _lib._objc_msgSend_172( - _lib._class_NSCalendarDate1, _lib._sel_distantFuture1); + _lib._class_NSCalendarDate1, + _lib._sel_distantFuture1, + ); return NSDate._(_ret, _lib, retain: true, release: true); } static NSDate getDistantPast(AVFAudio _lib) { final _ret = _lib._objc_msgSend_172( - _lib._class_NSCalendarDate1, _lib._sel_distantPast1); + _lib._class_NSCalendarDate1, + _lib._sel_distantPast1, + ); return NSDate._(_ret, _lib, retain: true, release: true); } @override NSCalendarDate init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSCalendarDate._(_ret, _lib, retain: true, release: true); } @override NSCalendarDate initWithTimeIntervalSinceReferenceDate_(double ti) { final _ret = _lib._objc_msgSend_166( - _id, _lib._sel_initWithTimeIntervalSinceReferenceDate_1, ti); + this.pointer, + _lib._sel_initWithTimeIntervalSinceReferenceDate_1, + ti, + ); return NSCalendarDate._(_ret, _lib, retain: true, release: true); } @override NSCalendarDate? initWithCoder_(NSCoder coder) { - final _ret = - _lib._objc_msgSend_47(_id, _lib._sel_initWithCoder_1, coder._id); + final _ret = _lib._objc_msgSend_47( + this.pointer, + _lib._sel_initWithCoder_1, + coder.pointer, + ); return _ret.address == 0 ? null : NSCalendarDate._(_ret, _lib, retain: true, release: true); @@ -43470,89 +56216,139 @@ class NSCalendarDate extends NSDate { @override NSCalendarDate dateByAddingTimeInterval_(double ti) { - final _ret = - _lib._objc_msgSend_166(_id, _lib._sel_dateByAddingTimeInterval_1, ti); + final _ret = _lib._objc_msgSend_166( + this.pointer, + _lib._sel_dateByAddingTimeInterval_1, + ti, + ); return NSCalendarDate._(_ret, _lib, retain: true, release: true); } static NSCalendarDate date(AVFAudio _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSCalendarDate1, _lib._sel_date1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSCalendarDate1, + _lib._sel_date1, + ); return NSCalendarDate._(_ret, _lib, retain: true, release: true); } static NSCalendarDate dateWithTimeIntervalSinceNow_( - AVFAudio _lib, double secs) { - final _ret = _lib._objc_msgSend_166(_lib._class_NSCalendarDate1, - _lib._sel_dateWithTimeIntervalSinceNow_1, secs); + AVFAudio _lib, + double secs, + ) { + final _ret = _lib._objc_msgSend_166( + _lib._class_NSCalendarDate1, + _lib._sel_dateWithTimeIntervalSinceNow_1, + secs, + ); return NSCalendarDate._(_ret, _lib, retain: true, release: true); } static NSCalendarDate dateWithTimeIntervalSinceReferenceDate_( - AVFAudio _lib, double ti) { - final _ret = _lib._objc_msgSend_166(_lib._class_NSCalendarDate1, - _lib._sel_dateWithTimeIntervalSinceReferenceDate_1, ti); + AVFAudio _lib, + double ti, + ) { + final _ret = _lib._objc_msgSend_166( + _lib._class_NSCalendarDate1, + _lib._sel_dateWithTimeIntervalSinceReferenceDate_1, + ti, + ); return NSCalendarDate._(_ret, _lib, retain: true, release: true); } static NSCalendarDate dateWithTimeIntervalSince1970_( - AVFAudio _lib, double secs) { - final _ret = _lib._objc_msgSend_166(_lib._class_NSCalendarDate1, - _lib._sel_dateWithTimeIntervalSince1970_1, secs); + AVFAudio _lib, + double secs, + ) { + final _ret = _lib._objc_msgSend_166( + _lib._class_NSCalendarDate1, + _lib._sel_dateWithTimeIntervalSince1970_1, + secs, + ); return NSCalendarDate._(_ret, _lib, retain: true, release: true); } static NSCalendarDate dateWithTimeInterval_sinceDate_( - AVFAudio _lib, double secsToBeAdded, NSDate date) { - final _ret = _lib._objc_msgSend_171(_lib._class_NSCalendarDate1, - _lib._sel_dateWithTimeInterval_sinceDate_1, secsToBeAdded, date._id); + AVFAudio _lib, + double secsToBeAdded, + NSDate date, + ) { + final _ret = _lib._objc_msgSend_171( + _lib._class_NSCalendarDate1, + _lib._sel_dateWithTimeInterval_sinceDate_1, + secsToBeAdded, + date.pointer, + ); return NSCalendarDate._(_ret, _lib, retain: true, release: true); } static NSDate getNow(AVFAudio _lib) { - final _ret = - _lib._objc_msgSend_172(_lib._class_NSCalendarDate1, _lib._sel_now1); + final _ret = _lib._objc_msgSend_172( + _lib._class_NSCalendarDate1, + _lib._sel_now1, + ); return NSDate._(_ret, _lib, retain: true, release: true); } @override NSCalendarDate initWithTimeIntervalSinceNow_(double secs) { final _ret = _lib._objc_msgSend_166( - _id, _lib._sel_initWithTimeIntervalSinceNow_1, secs); + this.pointer, + _lib._sel_initWithTimeIntervalSinceNow_1, + secs, + ); return NSCalendarDate._(_ret, _lib, retain: true, release: true); } @override NSCalendarDate initWithTimeIntervalSince1970_(double secs) { final _ret = _lib._objc_msgSend_166( - _id, _lib._sel_initWithTimeIntervalSince1970_1, secs); + this.pointer, + _lib._sel_initWithTimeIntervalSince1970_1, + secs, + ); return NSCalendarDate._(_ret, _lib, retain: true, release: true); } @override NSCalendarDate initWithTimeInterval_sinceDate_( - double secsToBeAdded, NSDate date) { - final _ret = _lib._objc_msgSend_171(_id, - _lib._sel_initWithTimeInterval_sinceDate_1, secsToBeAdded, date._id); + double secsToBeAdded, + NSDate date, + ) { + final _ret = _lib._objc_msgSend_171( + this.pointer, + _lib._sel_initWithTimeInterval_sinceDate_1, + secsToBeAdded, + date.pointer, + ); return NSCalendarDate._(_ret, _lib, retain: true, release: true); } static NSObject? dateWithNaturalLanguageString_locale_( - AVFAudio _lib, NSString string, NSObject? locale) { + AVFAudio _lib, + NSString string, + NSObject? locale, + ) { final _ret = _lib._objc_msgSend_173( - _lib._class_NSCalendarDate1, - _lib._sel_dateWithNaturalLanguageString_locale_1, - string._id, - locale?._id ?? ffi.nullptr); + _lib._class_NSCalendarDate1, + _lib._sel_dateWithNaturalLanguageString_locale_1, + string.pointer, + locale?.pointer ?? ffi.nullptr, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } static NSObject? dateWithNaturalLanguageString_( - AVFAudio _lib, NSString string) { - final _ret = _lib._objc_msgSend_38(_lib._class_NSCalendarDate1, - _lib._sel_dateWithNaturalLanguageString_1, string._id); + AVFAudio _lib, + NSString string, + ) { + final _ret = _lib._objc_msgSend_38( + _lib._class_NSCalendarDate1, + _lib._sel_dateWithNaturalLanguageString_1, + string.pointer, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); @@ -43560,133 +56356,193 @@ class NSCalendarDate extends NSDate { static NSObject dateWithString_(AVFAudio _lib, NSString aString) { final _ret = _lib._objc_msgSend_31( - _lib._class_NSCalendarDate1, _lib._sel_dateWithString_1, aString._id); + _lib._class_NSCalendarDate1, + _lib._sel_dateWithString_1, + aString.pointer, + ); return NSObject._(_ret, _lib, retain: true, release: true); } static NSCalendarDate new1(AVFAudio _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSCalendarDate1, _lib._sel_new1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSCalendarDate1, + _lib._sel_new1, + ); return NSCalendarDate._(_ret, _lib, retain: false, release: true); } static NSCalendarDate allocWithZone_( - AVFAudio _lib, ffi.Pointer<_NSZone> zone) { + AVFAudio _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSCalendarDate1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSCalendarDate1, + _lib._sel_allocWithZone_1, + zone, + ); return NSCalendarDate._(_ret, _lib, retain: false, release: true); } static NSCalendarDate alloc(AVFAudio _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSCalendarDate1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSCalendarDate1, + _lib._sel_alloc1, + ); return NSCalendarDate._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + AVFAudio _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSCalendarDate1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSCalendarDate1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSCalendarDate1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + AVFAudio _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSCalendarDate1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { - return _lib._objc_msgSend_12(_lib._class_NSCalendarDate1, - _lib._sel_accessInstanceVariablesDirectly1); + return _lib._objc_msgSend_12( + _lib._class_NSCalendarDate1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(AVFAudio _lib) { return _lib._objc_msgSend_12( - _lib._class_NSCalendarDate1, _lib._sel_useStoredAccessor1); + _lib._class_NSCalendarDate1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSCalendarDate1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSCalendarDate1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSCalendarDate1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSCalendarDate1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, NSArray keys, NSString dependentKey) { + AVFAudio _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSCalendarDate1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSCalendarDate1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { final _ret = _lib._objc_msgSend_85( - _lib._class_NSCalendarDate1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSCalendarDate1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(AVFAudio _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSCalendarDate1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSCalendarDate1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } class NSTimeZone extends NSObject { - NSTimeZone._(ffi.Pointer id, AVFAudio lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSTimeZone._( + ffi.Pointer pointer, + AVFAudio lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSTimeZone] that points to the same underlying object as [other]. - static NSTimeZone castFrom(T other) { - return NSTimeZone._(other._id, other._lib, retain: true, release: true); + static NSTimeZone castFrom( + AVFAudio lib, + T other, + ) { + return NSTimeZone._(other.pointer, lib, retain: true, release: true); } /// Returns a [NSTimeZone] that wraps the given raw object pointer. - static NSTimeZone castFromPointer(AVFAudio lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + static NSTimeZone castFromPointer( + AVFAudio lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSTimeZone._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSTimeZone]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_NSTimeZone1); + static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSTimeZone1, + ); } NSString get name { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_name1); + final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_name1); return NSString._(_ret, _lib, retain: true, release: true); } NSData get data { - final _ret = _lib._objc_msgSend_43(_id, _lib._sel_data1); + final _ret = _lib._objc_msgSend_43(this.pointer, _lib._sel_data1); return NSData._(_ret, _lib, retain: true, release: true); } int secondsFromGMTForDate_(NSDate aDate) { return _lib._objc_msgSend_176( - _id, _lib._sel_secondsFromGMTForDate_1, aDate._id); + this.pointer, + _lib._sel_secondsFromGMTForDate_1, + aDate.pointer, + ); } NSString? abbreviationForDate_(NSDate aDate) { - final _ret = - _lib._objc_msgSend_177(_id, _lib._sel_abbreviationForDate_1, aDate._id); + final _ret = _lib._objc_msgSend_177( + this.pointer, + _lib._sel_abbreviationForDate_1, + aDate.pointer, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); @@ -43694,20 +56550,32 @@ class NSTimeZone extends NSObject { bool isDaylightSavingTimeForDate_(NSDate aDate) { return _lib._objc_msgSend_170( - _id, _lib._sel_isDaylightSavingTimeForDate_1, aDate._id); + this.pointer, + _lib._sel_isDaylightSavingTimeForDate_1, + aDate.pointer, + ); } double daylightSavingTimeOffsetForDate_(NSDate aDate) { - return _lib._objc_msgSend_useVariants1 + return objc.useMsgSendVariants ? _lib._objc_msgSend_167_fpret( - _id, _lib._sel_daylightSavingTimeOffsetForDate_1, aDate._id) + this.pointer, + _lib._sel_daylightSavingTimeOffsetForDate_1, + aDate.pointer, + ) : _lib._objc_msgSend_167( - _id, _lib._sel_daylightSavingTimeOffsetForDate_1, aDate._id); + this.pointer, + _lib._sel_daylightSavingTimeOffsetForDate_1, + aDate.pointer, + ); } NSDate? nextDaylightSavingTimeTransitionAfterDate_(NSDate aDate) { final _ret = _lib._objc_msgSend_178( - _id, _lib._sel_nextDaylightSavingTimeTransitionAfterDate_1, aDate._id); + this.pointer, + _lib._sel_nextDaylightSavingTimeTransitionAfterDate_1, + aDate.pointer, + ); return _ret.address == 0 ? null : NSDate._(_ret, _lib, retain: true, release: true); @@ -43715,97 +56583,132 @@ class NSTimeZone extends NSObject { static NSTimeZone getSystemTimeZone(AVFAudio _lib) { final _ret = _lib._objc_msgSend_179( - _lib._class_NSTimeZone1, _lib._sel_systemTimeZone1); + _lib._class_NSTimeZone1, + _lib._sel_systemTimeZone1, + ); return NSTimeZone._(_ret, _lib, retain: true, release: true); } static void resetSystemTimeZone(AVFAudio _lib) { _lib._objc_msgSend_1( - _lib._class_NSTimeZone1, _lib._sel_resetSystemTimeZone1); + _lib._class_NSTimeZone1, + _lib._sel_resetSystemTimeZone1, + ); } static NSTimeZone getDefaultTimeZone(AVFAudio _lib) { final _ret = _lib._objc_msgSend_179( - _lib._class_NSTimeZone1, _lib._sel_defaultTimeZone1); + _lib._class_NSTimeZone1, + _lib._sel_defaultTimeZone1, + ); return NSTimeZone._(_ret, _lib, retain: true, release: true); } static void setDefaultTimeZone(AVFAudio _lib, NSTimeZone value) { return _lib._objc_msgSend_180( - _lib._class_NSTimeZone1, _lib._sel_setDefaultTimeZone_1, value._id); + _lib._class_NSTimeZone1, + _lib._sel_setDefaultTimeZone_1, + value.pointer, + ); } static NSTimeZone getLocalTimeZone(AVFAudio _lib) { final _ret = _lib._objc_msgSend_179( - _lib._class_NSTimeZone1, _lib._sel_localTimeZone1); + _lib._class_NSTimeZone1, + _lib._sel_localTimeZone1, + ); return NSTimeZone._(_ret, _lib, retain: true, release: true); } static NSArray getKnownTimeZoneNames(AVFAudio _lib) { final _ret = _lib._objc_msgSend_85( - _lib._class_NSTimeZone1, _lib._sel_knownTimeZoneNames1); + _lib._class_NSTimeZone1, + _lib._sel_knownTimeZoneNames1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSDictionary getAbbreviationDictionary(AVFAudio _lib) { final _ret = _lib._objc_msgSend_181( - _lib._class_NSTimeZone1, _lib._sel_abbreviationDictionary1); + _lib._class_NSTimeZone1, + _lib._sel_abbreviationDictionary1, + ); return NSDictionary._(_ret, _lib, retain: true, release: true); } static void setAbbreviationDictionary(AVFAudio _lib, NSDictionary value) { - return _lib._objc_msgSend_182(_lib._class_NSTimeZone1, - _lib._sel_setAbbreviationDictionary_1, value._id); + return _lib._objc_msgSend_182( + _lib._class_NSTimeZone1, + _lib._sel_setAbbreviationDictionary_1, + value.pointer, + ); } static NSString getTimeZoneDataVersion(AVFAudio _lib) { final _ret = _lib._objc_msgSend_21( - _lib._class_NSTimeZone1, _lib._sel_timeZoneDataVersion1); + _lib._class_NSTimeZone1, + _lib._sel_timeZoneDataVersion1, + ); return NSString._(_ret, _lib, retain: true, release: true); } int get secondsFromGMT { - return _lib._objc_msgSend_83(_id, _lib._sel_secondsFromGMT1); + return _lib._objc_msgSend_83(this.pointer, _lib._sel_secondsFromGMT1); } NSString? get abbreviation { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_abbreviation1); + final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_abbreviation1); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } bool get daylightSavingTime { - return _lib._objc_msgSend_12(_id, _lib._sel_isDaylightSavingTime1); + return _lib._objc_msgSend_12(this.pointer, _lib._sel_isDaylightSavingTime1); } double get daylightSavingTimeOffset { - return _lib._objc_msgSend_useVariants1 - ? _lib._objc_msgSend_165_fpret(_id, _lib._sel_daylightSavingTimeOffset1) - : _lib._objc_msgSend_165(_id, _lib._sel_daylightSavingTimeOffset1); + return objc.useMsgSendVariants + ? _lib._objc_msgSend_165_fpret( + this.pointer, + _lib._sel_daylightSavingTimeOffset1, + ) + : _lib._objc_msgSend_165( + this.pointer, + _lib._sel_daylightSavingTimeOffset1, + ); } NSDate? get nextDaylightSavingTimeTransition { final _ret = _lib._objc_msgSend_183( - _id, _lib._sel_nextDaylightSavingTimeTransition1); + this.pointer, + _lib._sel_nextDaylightSavingTimeTransition1, + ); return _ret.address == 0 ? null : NSDate._(_ret, _lib, retain: true, release: true); } NSString get description { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_description1); + final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_description1); return NSString._(_ret, _lib, retain: true, release: true); } bool isEqualToTimeZone_(NSTimeZone aTimeZone) { return _lib._objc_msgSend_184( - _id, _lib._sel_isEqualToTimeZone_1, aTimeZone._id); + this.pointer, + _lib._sel_isEqualToTimeZone_1, + aTimeZone.pointer, + ); } NSString? localizedName_locale_(int style, NSLocale? locale) { - final _ret = _lib._objc_msgSend_203(_id, _lib._sel_localizedName_locale_1, - style, locale?._id ?? ffi.nullptr); + final _ret = _lib._objc_msgSend_203( + this.pointer, + _lib._sel_localizedName_locale_1, + style, + locale?.pointer ?? ffi.nullptr, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); @@ -43813,50 +56716,72 @@ class NSTimeZone extends NSObject { static NSTimeZone? timeZoneWithName_(AVFAudio _lib, NSString tzName) { final _ret = _lib._objc_msgSend_38( - _lib._class_NSTimeZone1, _lib._sel_timeZoneWithName_1, tzName._id); + _lib._class_NSTimeZone1, + _lib._sel_timeZoneWithName_1, + tzName.pointer, + ); return _ret.address == 0 ? null : NSTimeZone._(_ret, _lib, retain: true, release: true); } static NSTimeZone? timeZoneWithName_data_( - AVFAudio _lib, NSString tzName, NSData? aData) { + AVFAudio _lib, + NSString tzName, + NSData? aData, + ) { final _ret = _lib._objc_msgSend_204( - _lib._class_NSTimeZone1, - _lib._sel_timeZoneWithName_data_1, - tzName._id, - aData?._id ?? ffi.nullptr); + _lib._class_NSTimeZone1, + _lib._sel_timeZoneWithName_data_1, + tzName.pointer, + aData?.pointer ?? ffi.nullptr, + ); return _ret.address == 0 ? null : NSTimeZone._(_ret, _lib, retain: true, release: true); } NSTimeZone? initWithName_(NSString tzName) { - final _ret = - _lib._objc_msgSend_38(_id, _lib._sel_initWithName_1, tzName._id); + final _ret = _lib._objc_msgSend_38( + this.pointer, + _lib._sel_initWithName_1, + tzName.pointer, + ); return _ret.address == 0 ? null : NSTimeZone._(_ret, _lib, retain: true, release: true); } NSTimeZone? initWithName_data_(NSString tzName, NSData? aData) { - final _ret = _lib._objc_msgSend_204(_id, _lib._sel_initWithName_data_1, - tzName._id, aData?._id ?? ffi.nullptr); + final _ret = _lib._objc_msgSend_204( + this.pointer, + _lib._sel_initWithName_data_1, + tzName.pointer, + aData?.pointer ?? ffi.nullptr, + ); return _ret.address == 0 ? null : NSTimeZone._(_ret, _lib, retain: true, release: true); } static NSTimeZone timeZoneForSecondsFromGMT_(AVFAudio _lib, int seconds) { - final _ret = _lib._objc_msgSend_205(_lib._class_NSTimeZone1, - _lib._sel_timeZoneForSecondsFromGMT_1, seconds); + final _ret = _lib._objc_msgSend_205( + _lib._class_NSTimeZone1, + _lib._sel_timeZoneForSecondsFromGMT_1, + seconds, + ); return NSTimeZone._(_ret, _lib, retain: true, release: true); } static NSTimeZone? timeZoneWithAbbreviation_( - AVFAudio _lib, NSString abbreviation) { - final _ret = _lib._objc_msgSend_38(_lib._class_NSTimeZone1, - _lib._sel_timeZoneWithAbbreviation_1, abbreviation._id); + AVFAudio _lib, + NSString abbreviation, + ) { + final _ret = _lib._objc_msgSend_38( + _lib._class_NSTimeZone1, + _lib._sel_timeZoneWithAbbreviation_1, + abbreviation.pointer, + ); return _ret.address == 0 ? null : NSTimeZone._(_ret, _lib, retain: true, release: true); @@ -43864,7 +56789,7 @@ class NSTimeZone extends NSObject { @override NSTimeZone init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSTimeZone._(_ret, _lib, retain: true, release: true); } @@ -43875,76 +56800,110 @@ class NSTimeZone extends NSObject { static NSTimeZone allocWithZone_(AVFAudio _lib, ffi.Pointer<_NSZone> zone) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSTimeZone1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSTimeZone1, + _lib._sel_allocWithZone_1, + zone, + ); return NSTimeZone._(_ret, _lib, retain: false, release: true); } static NSTimeZone alloc(AVFAudio _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSTimeZone1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSTimeZone1, + _lib._sel_alloc1, + ); return NSTimeZone._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + AVFAudio _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSTimeZone1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSTimeZone1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSTimeZone1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + AVFAudio _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSTimeZone1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { return _lib._objc_msgSend_12( - _lib._class_NSTimeZone1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_NSTimeZone1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(AVFAudio _lib) { return _lib._objc_msgSend_12( - _lib._class_NSTimeZone1, _lib._sel_useStoredAccessor1); + _lib._class_NSTimeZone1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSTimeZone1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSTimeZone1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSTimeZone1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSTimeZone1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, NSArray keys, NSString dependentKey) { + AVFAudio _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSTimeZone1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSTimeZone1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { final _ret = _lib._objc_msgSend_85( - _lib._class_NSTimeZone1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSTimeZone1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(AVFAudio _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSTimeZone1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSTimeZone1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } @@ -43959,29 +56918,46 @@ abstract class NSTimeZoneNameStyle { } class NSLocale extends NSObject { - NSLocale._(ffi.Pointer id, AVFAudio lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSLocale._( + ffi.Pointer pointer, + AVFAudio lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSLocale] that points to the same underlying object as [other]. - static NSLocale castFrom(T other) { - return NSLocale._(other._id, other._lib, retain: true, release: true); + static NSLocale castFrom( + AVFAudio lib, + T other, + ) { + return NSLocale._(other.pointer, lib, retain: true, release: true); } /// Returns a [NSLocale] that wraps the given raw object pointer. - static NSLocale castFromPointer(AVFAudio lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + static NSLocale castFromPointer( + AVFAudio lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSLocale._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSLocale]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_NSLocale1); + static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSLocale1, + ); } NSObject? objectForKey_(NSString key) { - final _ret = _lib._objc_msgSend_38(_id, _lib._sel_objectForKey_1, key._id); + final _ret = _lib._objc_msgSend_38( + this.pointer, + _lib._sel_objectForKey_1, + key.pointer, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); @@ -43989,7 +56965,11 @@ class NSLocale extends NSObject { NSString? displayNameForKey_value_(NSString key, NSObject value) { final _ret = _lib._objc_msgSend_185( - _id, _lib._sel_displayNameForKey_value_1, key._id, value._id); + this.pointer, + _lib._sel_displayNameForKey_value_1, + key.pointer, + value.pointer, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); @@ -43997,49 +56977,67 @@ class NSLocale extends NSObject { NSLocale initWithLocaleIdentifier_(NSString string) { final _ret = _lib._objc_msgSend_31( - _id, _lib._sel_initWithLocaleIdentifier_1, string._id); + this.pointer, + _lib._sel_initWithLocaleIdentifier_1, + string.pointer, + ); return NSLocale._(_ret, _lib, retain: true, release: true); } NSLocale? initWithCoder_(NSCoder coder) { - final _ret = - _lib._objc_msgSend_47(_id, _lib._sel_initWithCoder_1, coder._id); + final _ret = _lib._objc_msgSend_47( + this.pointer, + _lib._sel_initWithCoder_1, + coder.pointer, + ); return _ret.address == 0 ? null : NSLocale._(_ret, _lib, retain: true, release: true); } NSString get localeIdentifier { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_localeIdentifier1); + final _ret = _lib._objc_msgSend_21( + this.pointer, + _lib._sel_localeIdentifier1, + ); return NSString._(_ret, _lib, retain: true, release: true); } NSString localizedStringForLocaleIdentifier_(NSString localeIdentifier) { - final _ret = _lib._objc_msgSend_69(_id, - _lib._sel_localizedStringForLocaleIdentifier_1, localeIdentifier._id); + final _ret = _lib._objc_msgSend_69( + this.pointer, + _lib._sel_localizedStringForLocaleIdentifier_1, + localeIdentifier.pointer, + ); return NSString._(_ret, _lib, retain: true, release: true); } NSString get languageCode { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_languageCode1); + final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_languageCode1); return NSString._(_ret, _lib, retain: true, release: true); } NSString? localizedStringForLanguageCode_(NSString languageCode) { final _ret = _lib._objc_msgSend_186( - _id, _lib._sel_localizedStringForLanguageCode_1, languageCode._id); + this.pointer, + _lib._sel_localizedStringForLanguageCode_1, + languageCode.pointer, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } NSString get languageIdentifier { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_languageIdentifier1); + final _ret = _lib._objc_msgSend_21( + this.pointer, + _lib._sel_languageIdentifier1, + ); return NSString._(_ret, _lib, retain: true, release: true); } NSString? get countryCode { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_countryCode1); + final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_countryCode1); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); @@ -44047,21 +57045,24 @@ class NSLocale extends NSObject { NSString? localizedStringForCountryCode_(NSString countryCode) { final _ret = _lib._objc_msgSend_186( - _id, _lib._sel_localizedStringForCountryCode_1, countryCode._id); + this.pointer, + _lib._sel_localizedStringForCountryCode_1, + countryCode.pointer, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } NSString? get regionCode { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_regionCode1); + final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_regionCode1); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } NSString? get scriptCode { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_scriptCode1); + final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_scriptCode1); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); @@ -44069,14 +57070,17 @@ class NSLocale extends NSObject { NSString? localizedStringForScriptCode_(NSString scriptCode) { final _ret = _lib._objc_msgSend_186( - _id, _lib._sel_localizedStringForScriptCode_1, scriptCode._id); + this.pointer, + _lib._sel_localizedStringForScriptCode_1, + scriptCode.pointer, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } NSString? get variantCode { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_variantCode1); + final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_variantCode1); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); @@ -44084,71 +57088,92 @@ class NSLocale extends NSObject { NSString? localizedStringForVariantCode_(NSString variantCode) { final _ret = _lib._objc_msgSend_186( - _id, _lib._sel_localizedStringForVariantCode_1, variantCode._id); + this.pointer, + _lib._sel_localizedStringForVariantCode_1, + variantCode.pointer, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } NSCharacterSet get exemplarCharacterSet { - final _ret = _lib._objc_msgSend_187(_id, _lib._sel_exemplarCharacterSet1); + final _ret = _lib._objc_msgSend_187( + this.pointer, + _lib._sel_exemplarCharacterSet1, + ); return NSCharacterSet._(_ret, _lib, retain: true, release: true); } NSString get calendarIdentifier { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_calendarIdentifier1); + final _ret = _lib._objc_msgSend_21( + this.pointer, + _lib._sel_calendarIdentifier1, + ); return NSString._(_ret, _lib, retain: true, release: true); } NSString? localizedStringForCalendarIdentifier_(NSString calendarIdentifier) { final _ret = _lib._objc_msgSend_186( - _id, - _lib._sel_localizedStringForCalendarIdentifier_1, - calendarIdentifier._id); + this.pointer, + _lib._sel_localizedStringForCalendarIdentifier_1, + calendarIdentifier.pointer, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } NSString? get collationIdentifier { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_collationIdentifier1); + final _ret = _lib._objc_msgSend_44( + this.pointer, + _lib._sel_collationIdentifier1, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } NSString? localizedStringForCollationIdentifier_( - NSString collationIdentifier) { + NSString collationIdentifier, + ) { final _ret = _lib._objc_msgSend_186( - _id, - _lib._sel_localizedStringForCollationIdentifier_1, - collationIdentifier._id); + this.pointer, + _lib._sel_localizedStringForCollationIdentifier_1, + collationIdentifier.pointer, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } bool get usesMetricSystem { - return _lib._objc_msgSend_12(_id, _lib._sel_usesMetricSystem1); + return _lib._objc_msgSend_12(this.pointer, _lib._sel_usesMetricSystem1); } NSString get decimalSeparator { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_decimalSeparator1); + final _ret = _lib._objc_msgSend_21( + this.pointer, + _lib._sel_decimalSeparator1, + ); return NSString._(_ret, _lib, retain: true, release: true); } NSString get groupingSeparator { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_groupingSeparator1); + final _ret = _lib._objc_msgSend_21( + this.pointer, + _lib._sel_groupingSeparator1, + ); return NSString._(_ret, _lib, retain: true, release: true); } NSString get currencySymbol { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_currencySymbol1); + final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_currencySymbol1); return NSString._(_ret, _lib, retain: true, release: true); } NSString? get currencyCode { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_currencyCode1); + final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_currencyCode1); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); @@ -44156,169 +57181,243 @@ class NSLocale extends NSObject { NSString? localizedStringForCurrencyCode_(NSString currencyCode) { final _ret = _lib._objc_msgSend_186( - _id, _lib._sel_localizedStringForCurrencyCode_1, currencyCode._id); + this.pointer, + _lib._sel_localizedStringForCurrencyCode_1, + currencyCode.pointer, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } NSString get collatorIdentifier { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_collatorIdentifier1); + final _ret = _lib._objc_msgSend_21( + this.pointer, + _lib._sel_collatorIdentifier1, + ); return NSString._(_ret, _lib, retain: true, release: true); } NSString? localizedStringForCollatorIdentifier_(NSString collatorIdentifier) { final _ret = _lib._objc_msgSend_186( - _id, - _lib._sel_localizedStringForCollatorIdentifier_1, - collatorIdentifier._id); + this.pointer, + _lib._sel_localizedStringForCollatorIdentifier_1, + collatorIdentifier.pointer, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } NSString get quotationBeginDelimiter { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_quotationBeginDelimiter1); + final _ret = _lib._objc_msgSend_21( + this.pointer, + _lib._sel_quotationBeginDelimiter1, + ); return NSString._(_ret, _lib, retain: true, release: true); } NSString get quotationEndDelimiter { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_quotationEndDelimiter1); + final _ret = _lib._objc_msgSend_21( + this.pointer, + _lib._sel_quotationEndDelimiter1, + ); return NSString._(_ret, _lib, retain: true, release: true); } NSString get alternateQuotationBeginDelimiter { - final _ret = - _lib._objc_msgSend_21(_id, _lib._sel_alternateQuotationBeginDelimiter1); + final _ret = _lib._objc_msgSend_21( + this.pointer, + _lib._sel_alternateQuotationBeginDelimiter1, + ); return NSString._(_ret, _lib, retain: true, release: true); } NSString get alternateQuotationEndDelimiter { - final _ret = - _lib._objc_msgSend_21(_id, _lib._sel_alternateQuotationEndDelimiter1); + final _ret = _lib._objc_msgSend_21( + this.pointer, + _lib._sel_alternateQuotationEndDelimiter1, + ); return NSString._(_ret, _lib, retain: true, release: true); } static NSLocale getAutoupdatingCurrentLocale(AVFAudio _lib) { final _ret = _lib._objc_msgSend_197( - _lib._class_NSLocale1, _lib._sel_autoupdatingCurrentLocale1); + _lib._class_NSLocale1, + _lib._sel_autoupdatingCurrentLocale1, + ); return NSLocale._(_ret, _lib, retain: true, release: true); } static NSLocale getCurrentLocale(AVFAudio _lib) { - final _ret = - _lib._objc_msgSend_197(_lib._class_NSLocale1, _lib._sel_currentLocale1); + final _ret = _lib._objc_msgSend_197( + _lib._class_NSLocale1, + _lib._sel_currentLocale1, + ); return NSLocale._(_ret, _lib, retain: true, release: true); } static NSLocale getSystemLocale(AVFAudio _lib) { - final _ret = - _lib._objc_msgSend_197(_lib._class_NSLocale1, _lib._sel_systemLocale1); + final _ret = _lib._objc_msgSend_197( + _lib._class_NSLocale1, + _lib._sel_systemLocale1, + ); return NSLocale._(_ret, _lib, retain: true, release: true); } static NSLocale localeWithLocaleIdentifier_(AVFAudio _lib, NSString ident) { - final _ret = _lib._objc_msgSend_31(_lib._class_NSLocale1, - _lib._sel_localeWithLocaleIdentifier_1, ident._id); + final _ret = _lib._objc_msgSend_31( + _lib._class_NSLocale1, + _lib._sel_localeWithLocaleIdentifier_1, + ident.pointer, + ); return NSLocale._(_ret, _lib, retain: true, release: true); } @override NSLocale init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSLocale._(_ret, _lib, retain: true, release: true); } static NSArray getAvailableLocaleIdentifiers(AVFAudio _lib) { final _ret = _lib._objc_msgSend_85( - _lib._class_NSLocale1, _lib._sel_availableLocaleIdentifiers1); + _lib._class_NSLocale1, + _lib._sel_availableLocaleIdentifiers1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSArray getISOLanguageCodes(AVFAudio _lib) { final _ret = _lib._objc_msgSend_85( - _lib._class_NSLocale1, _lib._sel_ISOLanguageCodes1); + _lib._class_NSLocale1, + _lib._sel_ISOLanguageCodes1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSArray getISOCountryCodes(AVFAudio _lib) { final _ret = _lib._objc_msgSend_85( - _lib._class_NSLocale1, _lib._sel_ISOCountryCodes1); + _lib._class_NSLocale1, + _lib._sel_ISOCountryCodes1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSArray getISOCurrencyCodes(AVFAudio _lib) { final _ret = _lib._objc_msgSend_85( - _lib._class_NSLocale1, _lib._sel_ISOCurrencyCodes1); + _lib._class_NSLocale1, + _lib._sel_ISOCurrencyCodes1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSArray getCommonISOCurrencyCodes(AVFAudio _lib) { final _ret = _lib._objc_msgSend_85( - _lib._class_NSLocale1, _lib._sel_commonISOCurrencyCodes1); + _lib._class_NSLocale1, + _lib._sel_commonISOCurrencyCodes1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSArray getPreferredLanguages(AVFAudio _lib) { final _ret = _lib._objc_msgSend_85( - _lib._class_NSLocale1, _lib._sel_preferredLanguages1); + _lib._class_NSLocale1, + _lib._sel_preferredLanguages1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSDictionary componentsFromLocaleIdentifier_( - AVFAudio _lib, NSString string) { - final _ret = _lib._objc_msgSend_198(_lib._class_NSLocale1, - _lib._sel_componentsFromLocaleIdentifier_1, string._id); + AVFAudio _lib, + NSString string, + ) { + final _ret = _lib._objc_msgSend_198( + _lib._class_NSLocale1, + _lib._sel_componentsFromLocaleIdentifier_1, + string.pointer, + ); return NSDictionary._(_ret, _lib, retain: true, release: true); } static NSString localeIdentifierFromComponents_( - AVFAudio _lib, NSDictionary dict) { - final _ret = _lib._objc_msgSend_199(_lib._class_NSLocale1, - _lib._sel_localeIdentifierFromComponents_1, dict._id); + AVFAudio _lib, + NSDictionary dict, + ) { + final _ret = _lib._objc_msgSend_199( + _lib._class_NSLocale1, + _lib._sel_localeIdentifierFromComponents_1, + dict.pointer, + ); return NSString._(_ret, _lib, retain: true, release: true); } static NSString canonicalLocaleIdentifierFromString_( - AVFAudio _lib, NSString string) { - final _ret = _lib._objc_msgSend_69(_lib._class_NSLocale1, - _lib._sel_canonicalLocaleIdentifierFromString_1, string._id); + AVFAudio _lib, + NSString string, + ) { + final _ret = _lib._objc_msgSend_69( + _lib._class_NSLocale1, + _lib._sel_canonicalLocaleIdentifierFromString_1, + string.pointer, + ); return NSString._(_ret, _lib, retain: true, release: true); } static NSString canonicalLanguageIdentifierFromString_( - AVFAudio _lib, NSString string) { - final _ret = _lib._objc_msgSend_69(_lib._class_NSLocale1, - _lib._sel_canonicalLanguageIdentifierFromString_1, string._id); + AVFAudio _lib, + NSString string, + ) { + final _ret = _lib._objc_msgSend_69( + _lib._class_NSLocale1, + _lib._sel_canonicalLanguageIdentifierFromString_1, + string.pointer, + ); return NSString._(_ret, _lib, retain: true, release: true); } static NSString? localeIdentifierFromWindowsLocaleCode_( - AVFAudio _lib, int lcid) { - final _ret = _lib._objc_msgSend_200(_lib._class_NSLocale1, - _lib._sel_localeIdentifierFromWindowsLocaleCode_1, lcid); + AVFAudio _lib, + int lcid, + ) { + final _ret = _lib._objc_msgSend_200( + _lib._class_NSLocale1, + _lib._sel_localeIdentifierFromWindowsLocaleCode_1, + lcid, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } static int windowsLocaleCodeFromLocaleIdentifier_( - AVFAudio _lib, NSString localeIdentifier) { + AVFAudio _lib, + NSString localeIdentifier, + ) { return _lib._objc_msgSend_201( - _lib._class_NSLocale1, - _lib._sel_windowsLocaleCodeFromLocaleIdentifier_1, - localeIdentifier._id); + _lib._class_NSLocale1, + _lib._sel_windowsLocaleCodeFromLocaleIdentifier_1, + localeIdentifier.pointer, + ); } static int characterDirectionForLanguage_( - AVFAudio _lib, NSString isoLangCode) { - return _lib._objc_msgSend_202(_lib._class_NSLocale1, - _lib._sel_characterDirectionForLanguage_1, isoLangCode._id); + AVFAudio _lib, + NSString isoLangCode, + ) { + return _lib._objc_msgSend_202( + _lib._class_NSLocale1, + _lib._sel_characterDirectionForLanguage_1, + isoLangCode.pointer, + ); } static int lineDirectionForLanguage_(AVFAudio _lib, NSString isoLangCode) { - return _lib._objc_msgSend_202(_lib._class_NSLocale1, - _lib._sel_lineDirectionForLanguage_1, isoLangCode._id); + return _lib._objc_msgSend_202( + _lib._class_NSLocale1, + _lib._sel_lineDirectionForLanguage_1, + isoLangCode.pointer, + ); } static NSLocale new1(AVFAudio _lib) { @@ -44328,7 +57427,10 @@ class NSLocale extends NSObject { static NSLocale allocWithZone_(AVFAudio _lib, ffi.Pointer<_NSZone> zone) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSLocale1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSLocale1, + _lib._sel_allocWithZone_1, + zone, + ); return NSLocale._(_ret, _lib, retain: false, release: true); } @@ -44338,367 +57440,525 @@ class NSLocale extends NSObject { } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + AVFAudio _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSLocale1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSLocale1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSLocale1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + AVFAudio _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSLocale1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { return _lib._objc_msgSend_12( - _lib._class_NSLocale1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_NSLocale1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(AVFAudio _lib) { return _lib._objc_msgSend_12( - _lib._class_NSLocale1, _lib._sel_useStoredAccessor1); + _lib._class_NSLocale1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSLocale1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSLocale1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSLocale1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSLocale1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, NSArray keys, NSString dependentKey) { + AVFAudio _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSLocale1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSLocale1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { final _ret = _lib._objc_msgSend_85( - _lib._class_NSLocale1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSLocale1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(AVFAudio _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSLocale1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSLocale1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } class NSCharacterSet extends NSObject { - NSCharacterSet._(ffi.Pointer id, AVFAudio lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSCharacterSet._( + ffi.Pointer pointer, + AVFAudio lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSCharacterSet] that points to the same underlying object as [other]. - static NSCharacterSet castFrom(T other) { - return NSCharacterSet._(other._id, other._lib, retain: true, release: true); + static NSCharacterSet castFrom( + AVFAudio lib, + T other, + ) { + return NSCharacterSet._(other.pointer, lib, retain: true, release: true); } /// Returns a [NSCharacterSet] that wraps the given raw object pointer. static NSCharacterSet castFromPointer( - AVFAudio lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + AVFAudio lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSCharacterSet._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSCharacterSet]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0(obj._id, obj._lib._sel_isKindOfClass_1, - obj._lib._class_NSCharacterSet1); + static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSCharacterSet1, + ); } static NSCharacterSet getControlCharacterSet(AVFAudio _lib) { final _ret = _lib._objc_msgSend_187( - _lib._class_NSCharacterSet1, _lib._sel_controlCharacterSet1); + _lib._class_NSCharacterSet1, + _lib._sel_controlCharacterSet1, + ); return NSCharacterSet._(_ret, _lib, retain: true, release: true); } static NSCharacterSet getWhitespaceCharacterSet(AVFAudio _lib) { final _ret = _lib._objc_msgSend_187( - _lib._class_NSCharacterSet1, _lib._sel_whitespaceCharacterSet1); + _lib._class_NSCharacterSet1, + _lib._sel_whitespaceCharacterSet1, + ); return NSCharacterSet._(_ret, _lib, retain: true, release: true); } static NSCharacterSet getWhitespaceAndNewlineCharacterSet(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_187(_lib._class_NSCharacterSet1, - _lib._sel_whitespaceAndNewlineCharacterSet1); + final _ret = _lib._objc_msgSend_187( + _lib._class_NSCharacterSet1, + _lib._sel_whitespaceAndNewlineCharacterSet1, + ); return NSCharacterSet._(_ret, _lib, retain: true, release: true); } static NSCharacterSet getDecimalDigitCharacterSet(AVFAudio _lib) { final _ret = _lib._objc_msgSend_187( - _lib._class_NSCharacterSet1, _lib._sel_decimalDigitCharacterSet1); + _lib._class_NSCharacterSet1, + _lib._sel_decimalDigitCharacterSet1, + ); return NSCharacterSet._(_ret, _lib, retain: true, release: true); } static NSCharacterSet getLetterCharacterSet(AVFAudio _lib) { final _ret = _lib._objc_msgSend_187( - _lib._class_NSCharacterSet1, _lib._sel_letterCharacterSet1); + _lib._class_NSCharacterSet1, + _lib._sel_letterCharacterSet1, + ); return NSCharacterSet._(_ret, _lib, retain: true, release: true); } static NSCharacterSet getLowercaseLetterCharacterSet(AVFAudio _lib) { final _ret = _lib._objc_msgSend_187( - _lib._class_NSCharacterSet1, _lib._sel_lowercaseLetterCharacterSet1); + _lib._class_NSCharacterSet1, + _lib._sel_lowercaseLetterCharacterSet1, + ); return NSCharacterSet._(_ret, _lib, retain: true, release: true); } static NSCharacterSet getUppercaseLetterCharacterSet(AVFAudio _lib) { final _ret = _lib._objc_msgSend_187( - _lib._class_NSCharacterSet1, _lib._sel_uppercaseLetterCharacterSet1); + _lib._class_NSCharacterSet1, + _lib._sel_uppercaseLetterCharacterSet1, + ); return NSCharacterSet._(_ret, _lib, retain: true, release: true); } static NSCharacterSet getNonBaseCharacterSet(AVFAudio _lib) { final _ret = _lib._objc_msgSend_187( - _lib._class_NSCharacterSet1, _lib._sel_nonBaseCharacterSet1); + _lib._class_NSCharacterSet1, + _lib._sel_nonBaseCharacterSet1, + ); return NSCharacterSet._(_ret, _lib, retain: true, release: true); } static NSCharacterSet getAlphanumericCharacterSet(AVFAudio _lib) { final _ret = _lib._objc_msgSend_187( - _lib._class_NSCharacterSet1, _lib._sel_alphanumericCharacterSet1); + _lib._class_NSCharacterSet1, + _lib._sel_alphanumericCharacterSet1, + ); return NSCharacterSet._(_ret, _lib, retain: true, release: true); } static NSCharacterSet getDecomposableCharacterSet(AVFAudio _lib) { final _ret = _lib._objc_msgSend_187( - _lib._class_NSCharacterSet1, _lib._sel_decomposableCharacterSet1); + _lib._class_NSCharacterSet1, + _lib._sel_decomposableCharacterSet1, + ); return NSCharacterSet._(_ret, _lib, retain: true, release: true); } static NSCharacterSet getIllegalCharacterSet(AVFAudio _lib) { final _ret = _lib._objc_msgSend_187( - _lib._class_NSCharacterSet1, _lib._sel_illegalCharacterSet1); + _lib._class_NSCharacterSet1, + _lib._sel_illegalCharacterSet1, + ); return NSCharacterSet._(_ret, _lib, retain: true, release: true); } static NSCharacterSet getPunctuationCharacterSet(AVFAudio _lib) { final _ret = _lib._objc_msgSend_187( - _lib._class_NSCharacterSet1, _lib._sel_punctuationCharacterSet1); + _lib._class_NSCharacterSet1, + _lib._sel_punctuationCharacterSet1, + ); return NSCharacterSet._(_ret, _lib, retain: true, release: true); } static NSCharacterSet getCapitalizedLetterCharacterSet(AVFAudio _lib) { final _ret = _lib._objc_msgSend_187( - _lib._class_NSCharacterSet1, _lib._sel_capitalizedLetterCharacterSet1); + _lib._class_NSCharacterSet1, + _lib._sel_capitalizedLetterCharacterSet1, + ); return NSCharacterSet._(_ret, _lib, retain: true, release: true); } static NSCharacterSet getSymbolCharacterSet(AVFAudio _lib) { final _ret = _lib._objc_msgSend_187( - _lib._class_NSCharacterSet1, _lib._sel_symbolCharacterSet1); + _lib._class_NSCharacterSet1, + _lib._sel_symbolCharacterSet1, + ); return NSCharacterSet._(_ret, _lib, retain: true, release: true); } static NSCharacterSet getNewlineCharacterSet(AVFAudio _lib) { final _ret = _lib._objc_msgSend_187( - _lib._class_NSCharacterSet1, _lib._sel_newlineCharacterSet1); + _lib._class_NSCharacterSet1, + _lib._sel_newlineCharacterSet1, + ); return NSCharacterSet._(_ret, _lib, retain: false, release: true); } static NSCharacterSet characterSetWithRange_(AVFAudio _lib, _NSRange aRange) { final _ret = _lib._objc_msgSend_188( - _lib._class_NSCharacterSet1, _lib._sel_characterSetWithRange_1, aRange); + _lib._class_NSCharacterSet1, + _lib._sel_characterSetWithRange_1, + aRange, + ); return NSCharacterSet._(_ret, _lib, retain: true, release: true); } static NSCharacterSet characterSetWithCharactersInString_( - AVFAudio _lib, NSString aString) { - final _ret = _lib._objc_msgSend_189(_lib._class_NSCharacterSet1, - _lib._sel_characterSetWithCharactersInString_1, aString._id); + AVFAudio _lib, + NSString aString, + ) { + final _ret = _lib._objc_msgSend_189( + _lib._class_NSCharacterSet1, + _lib._sel_characterSetWithCharactersInString_1, + aString.pointer, + ); return NSCharacterSet._(_ret, _lib, retain: true, release: true); } static NSCharacterSet characterSetWithBitmapRepresentation_( - AVFAudio _lib, NSData data) { - final _ret = _lib._objc_msgSend_190(_lib._class_NSCharacterSet1, - _lib._sel_characterSetWithBitmapRepresentation_1, data._id); + AVFAudio _lib, + NSData data, + ) { + final _ret = _lib._objc_msgSend_190( + _lib._class_NSCharacterSet1, + _lib._sel_characterSetWithBitmapRepresentation_1, + data.pointer, + ); return NSCharacterSet._(_ret, _lib, retain: true, release: true); } static NSCharacterSet? characterSetWithContentsOfFile_( - AVFAudio _lib, NSString fName) { - final _ret = _lib._objc_msgSend_191(_lib._class_NSCharacterSet1, - _lib._sel_characterSetWithContentsOfFile_1, fName._id); + AVFAudio _lib, + NSString fName, + ) { + final _ret = _lib._objc_msgSend_191( + _lib._class_NSCharacterSet1, + _lib._sel_characterSetWithContentsOfFile_1, + fName.pointer, + ); return _ret.address == 0 ? null : NSCharacterSet._(_ret, _lib, retain: true, release: true); } NSCharacterSet initWithCoder_(NSCoder coder) { - final _ret = - _lib._objc_msgSend_192(_id, _lib._sel_initWithCoder_1, coder._id); + final _ret = _lib._objc_msgSend_192( + this.pointer, + _lib._sel_initWithCoder_1, + coder.pointer, + ); return NSCharacterSet._(_ret, _lib, retain: true, release: true); } bool characterIsMember_(int aCharacter) { return _lib._objc_msgSend_193( - _id, _lib._sel_characterIsMember_1, aCharacter); + this.pointer, + _lib._sel_characterIsMember_1, + aCharacter, + ); } NSData get bitmapRepresentation { - final _ret = _lib._objc_msgSend_43(_id, _lib._sel_bitmapRepresentation1); + final _ret = _lib._objc_msgSend_43( + this.pointer, + _lib._sel_bitmapRepresentation1, + ); return NSData._(_ret, _lib, retain: true, release: true); } NSCharacterSet get invertedSet { - final _ret = _lib._objc_msgSend_187(_id, _lib._sel_invertedSet1); + final _ret = _lib._objc_msgSend_187(this.pointer, _lib._sel_invertedSet1); return NSCharacterSet._(_ret, _lib, retain: true, release: true); } bool longCharacterIsMember_(int theLongChar) { return _lib._objc_msgSend_194( - _id, _lib._sel_longCharacterIsMember_1, theLongChar); + this.pointer, + _lib._sel_longCharacterIsMember_1, + theLongChar, + ); } bool isSupersetOfSet_(NSCharacterSet theOtherSet) { return _lib._objc_msgSend_195( - _id, _lib._sel_isSupersetOfSet_1, theOtherSet._id); + this.pointer, + _lib._sel_isSupersetOfSet_1, + theOtherSet.pointer, + ); } bool hasMemberInPlane_(int thePlane) { - return _lib._objc_msgSend_196(_id, _lib._sel_hasMemberInPlane_1, thePlane); + return _lib._objc_msgSend_196( + this.pointer, + _lib._sel_hasMemberInPlane_1, + thePlane, + ); } static NSCharacterSet getURLUserAllowedCharacterSet(AVFAudio _lib) { final _ret = _lib._objc_msgSend_187( - _lib._class_NSCharacterSet1, _lib._sel_URLUserAllowedCharacterSet1); + _lib._class_NSCharacterSet1, + _lib._sel_URLUserAllowedCharacterSet1, + ); return NSCharacterSet._(_ret, _lib, retain: true, release: true); } static NSCharacterSet getURLPasswordAllowedCharacterSet(AVFAudio _lib) { final _ret = _lib._objc_msgSend_187( - _lib._class_NSCharacterSet1, _lib._sel_URLPasswordAllowedCharacterSet1); + _lib._class_NSCharacterSet1, + _lib._sel_URLPasswordAllowedCharacterSet1, + ); return NSCharacterSet._(_ret, _lib, retain: true, release: true); } static NSCharacterSet getURLHostAllowedCharacterSet(AVFAudio _lib) { final _ret = _lib._objc_msgSend_187( - _lib._class_NSCharacterSet1, _lib._sel_URLHostAllowedCharacterSet1); + _lib._class_NSCharacterSet1, + _lib._sel_URLHostAllowedCharacterSet1, + ); return NSCharacterSet._(_ret, _lib, retain: true, release: true); } static NSCharacterSet getURLPathAllowedCharacterSet(AVFAudio _lib) { final _ret = _lib._objc_msgSend_187( - _lib._class_NSCharacterSet1, _lib._sel_URLPathAllowedCharacterSet1); + _lib._class_NSCharacterSet1, + _lib._sel_URLPathAllowedCharacterSet1, + ); return NSCharacterSet._(_ret, _lib, retain: true, release: true); } static NSCharacterSet getURLQueryAllowedCharacterSet(AVFAudio _lib) { final _ret = _lib._objc_msgSend_187( - _lib._class_NSCharacterSet1, _lib._sel_URLQueryAllowedCharacterSet1); + _lib._class_NSCharacterSet1, + _lib._sel_URLQueryAllowedCharacterSet1, + ); return NSCharacterSet._(_ret, _lib, retain: true, release: true); } static NSCharacterSet getURLFragmentAllowedCharacterSet(AVFAudio _lib) { final _ret = _lib._objc_msgSend_187( - _lib._class_NSCharacterSet1, _lib._sel_URLFragmentAllowedCharacterSet1); + _lib._class_NSCharacterSet1, + _lib._sel_URLFragmentAllowedCharacterSet1, + ); return NSCharacterSet._(_ret, _lib, retain: true, release: true); } @override NSCharacterSet init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSCharacterSet._(_ret, _lib, retain: true, release: true); } static NSCharacterSet new1(AVFAudio _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSCharacterSet1, _lib._sel_new1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSCharacterSet1, + _lib._sel_new1, + ); return NSCharacterSet._(_ret, _lib, retain: false, release: true); } static NSCharacterSet allocWithZone_( - AVFAudio _lib, ffi.Pointer<_NSZone> zone) { + AVFAudio _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSCharacterSet1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSCharacterSet1, + _lib._sel_allocWithZone_1, + zone, + ); return NSCharacterSet._(_ret, _lib, retain: false, release: true); } static NSCharacterSet alloc(AVFAudio _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSCharacterSet1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSCharacterSet1, + _lib._sel_alloc1, + ); return NSCharacterSet._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + AVFAudio _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSCharacterSet1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSCharacterSet1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSCharacterSet1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + AVFAudio _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSCharacterSet1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { - return _lib._objc_msgSend_12(_lib._class_NSCharacterSet1, - _lib._sel_accessInstanceVariablesDirectly1); + return _lib._objc_msgSend_12( + _lib._class_NSCharacterSet1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(AVFAudio _lib) { return _lib._objc_msgSend_12( - _lib._class_NSCharacterSet1, _lib._sel_useStoredAccessor1); + _lib._class_NSCharacterSet1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSCharacterSet1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSCharacterSet1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSCharacterSet1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSCharacterSet1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, NSArray keys, NSString dependentKey) { + AVFAudio _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSCharacterSet1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSCharacterSet1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { final _ret = _lib._objc_msgSend_85( - _lib._class_NSCharacterSet1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSCharacterSet1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(AVFAudio _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSCharacterSet1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSCharacterSet1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } @@ -44729,147 +57989,211 @@ abstract class NSURLBookmarkResolutionOptions { } class NSURLHandle extends NSObject { - NSURLHandle._(ffi.Pointer id, AVFAudio lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSURLHandle._( + ffi.Pointer pointer, + AVFAudio lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSURLHandle] that points to the same underlying object as [other]. - static NSURLHandle castFrom(T other) { - return NSURLHandle._(other._id, other._lib, retain: true, release: true); + static NSURLHandle castFrom( + AVFAudio lib, + T other, + ) { + return NSURLHandle._(other.pointer, lib, retain: true, release: true); } /// Returns a [NSURLHandle] that wraps the given raw object pointer. static NSURLHandle castFromPointer( - AVFAudio lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + AVFAudio lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSURLHandle._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSURLHandle]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_NSURLHandle1); + static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSURLHandle1, + ); } static void registerURLHandleClass_( - AVFAudio _lib, NSObject anURLHandleSubclass) { - _lib._objc_msgSend_15(_lib._class_NSURLHandle1, - _lib._sel_registerURLHandleClass_1, anURLHandleSubclass._id); + AVFAudio _lib, + NSObject anURLHandleSubclass, + ) { + _lib._objc_msgSend_15( + _lib._class_NSURLHandle1, + _lib._sel_registerURLHandleClass_1, + anURLHandleSubclass.pointer, + ); } static NSObject URLHandleClassForURL_(AVFAudio _lib, NSURL anURL) { final _ret = _lib._objc_msgSend_262( - _lib._class_NSURLHandle1, _lib._sel_URLHandleClassForURL_1, anURL._id); + _lib._class_NSURLHandle1, + _lib._sel_URLHandleClassForURL_1, + anURL.pointer, + ); return NSObject._(_ret, _lib, retain: true, release: true); } int status() { - return _lib._objc_msgSend_263(_id, _lib._sel_status1); + return _lib._objc_msgSend_263(this.pointer, _lib._sel_status1); } NSString failureReason() { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_failureReason1); + final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_failureReason1); return NSString._(_ret, _lib, retain: true, release: true); } void addClient_(NSObject client) { - _lib._objc_msgSend_15(_id, _lib._sel_addClient_1, client._id); + _lib._objc_msgSend_15(this.pointer, _lib._sel_addClient_1, client.pointer); } void removeClient_(NSObject client) { - _lib._objc_msgSend_15(_id, _lib._sel_removeClient_1, client._id); + _lib._objc_msgSend_15( + this.pointer, + _lib._sel_removeClient_1, + client.pointer, + ); } void loadInBackground() { - _lib._objc_msgSend_1(_id, _lib._sel_loadInBackground1); + _lib._objc_msgSend_1(this.pointer, _lib._sel_loadInBackground1); } void cancelLoadInBackground() { - _lib._objc_msgSend_1(_id, _lib._sel_cancelLoadInBackground1); + _lib._objc_msgSend_1(this.pointer, _lib._sel_cancelLoadInBackground1); } NSData resourceData() { - final _ret = _lib._objc_msgSend_43(_id, _lib._sel_resourceData1); + final _ret = _lib._objc_msgSend_43(this.pointer, _lib._sel_resourceData1); return NSData._(_ret, _lib, retain: true, release: true); } NSData availableResourceData() { - final _ret = _lib._objc_msgSend_43(_id, _lib._sel_availableResourceData1); + final _ret = _lib._objc_msgSend_43( + this.pointer, + _lib._sel_availableResourceData1, + ); return NSData._(_ret, _lib, retain: true, release: true); } int expectedResourceDataSize() { - return _lib._objc_msgSend_238(_id, _lib._sel_expectedResourceDataSize1); + return _lib._objc_msgSend_238( + this.pointer, + _lib._sel_expectedResourceDataSize1, + ); } void flushCachedData() { - _lib._objc_msgSend_1(_id, _lib._sel_flushCachedData1); + _lib._objc_msgSend_1(this.pointer, _lib._sel_flushCachedData1); } void backgroundLoadDidFailWithReason_(NSString reason) { _lib._objc_msgSend_247( - _id, _lib._sel_backgroundLoadDidFailWithReason_1, reason._id); + this.pointer, + _lib._sel_backgroundLoadDidFailWithReason_1, + reason.pointer, + ); } void didLoadBytes_loadComplete_(NSData newBytes, bool yorn) { _lib._objc_msgSend_264( - _id, _lib._sel_didLoadBytes_loadComplete_1, newBytes._id, yorn); + this.pointer, + _lib._sel_didLoadBytes_loadComplete_1, + newBytes.pointer, + yorn, + ); } static bool canInitWithURL_(AVFAudio _lib, NSURL anURL) { return _lib._objc_msgSend_265( - _lib._class_NSURLHandle1, _lib._sel_canInitWithURL_1, anURL._id); + _lib._class_NSURLHandle1, + _lib._sel_canInitWithURL_1, + anURL.pointer, + ); } static NSURLHandle cachedHandleForURL_(AVFAudio _lib, NSURL anURL) { final _ret = _lib._objc_msgSend_266( - _lib._class_NSURLHandle1, _lib._sel_cachedHandleForURL_1, anURL._id); + _lib._class_NSURLHandle1, + _lib._sel_cachedHandleForURL_1, + anURL.pointer, + ); return NSURLHandle._(_ret, _lib, retain: true, release: true); } NSObject initWithURL_cached_(NSURL anURL, bool willCache) { final _ret = _lib._objc_msgSend_267( - _id, _lib._sel_initWithURL_cached_1, anURL._id, willCache); + this.pointer, + _lib._sel_initWithURL_cached_1, + anURL.pointer, + willCache, + ); return NSObject._(_ret, _lib, retain: true, release: true); } NSObject propertyForKey_(NSString propertyKey) { - final _ret = - _lib._objc_msgSend_31(_id, _lib._sel_propertyForKey_1, propertyKey._id); + final _ret = _lib._objc_msgSend_31( + this.pointer, + _lib._sel_propertyForKey_1, + propertyKey.pointer, + ); return NSObject._(_ret, _lib, retain: true, release: true); } NSObject propertyForKeyIfAvailable_(NSString propertyKey) { final _ret = _lib._objc_msgSend_31( - _id, _lib._sel_propertyForKeyIfAvailable_1, propertyKey._id); + this.pointer, + _lib._sel_propertyForKeyIfAvailable_1, + propertyKey.pointer, + ); return NSObject._(_ret, _lib, retain: true, release: true); } bool writeProperty_forKey_(NSObject propertyValue, NSString propertyKey) { - return _lib._objc_msgSend_261(_id, _lib._sel_writeProperty_forKey_1, - propertyValue._id, propertyKey._id); + return _lib._objc_msgSend_261( + this.pointer, + _lib._sel_writeProperty_forKey_1, + propertyValue.pointer, + propertyKey.pointer, + ); } bool writeData_(NSData data) { - return _lib._objc_msgSend_24(_id, _lib._sel_writeData_1, data._id); + return _lib._objc_msgSend_24( + this.pointer, + _lib._sel_writeData_1, + data.pointer, + ); } NSData loadInForeground() { - final _ret = _lib._objc_msgSend_43(_id, _lib._sel_loadInForeground1); + final _ret = _lib._objc_msgSend_43( + this.pointer, + _lib._sel_loadInForeground1, + ); return NSData._(_ret, _lib, retain: true, release: true); } void beginLoadInBackground() { - _lib._objc_msgSend_1(_id, _lib._sel_beginLoadInBackground1); + _lib._objc_msgSend_1(this.pointer, _lib._sel_beginLoadInBackground1); } void endLoadInBackground() { - _lib._objc_msgSend_1(_id, _lib._sel_endLoadInBackground1); + _lib._objc_msgSend_1(this.pointer, _lib._sel_endLoadInBackground1); } @override NSURLHandle init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSURLHandle._(_ret, _lib, retain: true, release: true); } @@ -44880,76 +58204,110 @@ class NSURLHandle extends NSObject { static NSURLHandle allocWithZone_(AVFAudio _lib, ffi.Pointer<_NSZone> zone) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSURLHandle1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSURLHandle1, + _lib._sel_allocWithZone_1, + zone, + ); return NSURLHandle._(_ret, _lib, retain: false, release: true); } static NSURLHandle alloc(AVFAudio _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSURLHandle1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSURLHandle1, + _lib._sel_alloc1, + ); return NSURLHandle._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + AVFAudio _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSURLHandle1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSURLHandle1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSURLHandle1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + AVFAudio _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSURLHandle1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { return _lib._objc_msgSend_12( - _lib._class_NSURLHandle1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_NSURLHandle1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(AVFAudio _lib) { return _lib._objc_msgSend_12( - _lib._class_NSURLHandle1, _lib._sel_useStoredAccessor1); + _lib._class_NSURLHandle1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSURLHandle1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSURLHandle1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSURLHandle1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSURLHandle1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, NSArray keys, NSString dependentKey) { + AVFAudio _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSURLHandle1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSURLHandle1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { final _ret = _lib._objc_msgSend_85( - _lib._class_NSURLHandle1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSURLHandle1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(AVFAudio _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLHandle1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSURLHandle1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } @@ -44968,8 +58326,7 @@ abstract class NSDataWritingOptions { static const int NSDataWritingFileProtectionComplete = 536870912; static const int NSDataWritingFileProtectionCompleteUnlessOpen = 805306368; static const int - NSDataWritingFileProtectionCompleteUntilFirstUserAuthentication = - 1073741824; + NSDataWritingFileProtectionCompleteUntilFirstUserAuthentication = 1073741824; static const int NSDataWritingFileProtectionCompleteWhenUserInactive = 1342177280; static const int NSDataWritingFileProtectionMask = 4026531840; @@ -44982,48 +58339,70 @@ abstract class NSDataSearchOptions { } void _ObjCBlock_ffiVoid_ffiVoid_NSRange_bool_fnPtrTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - _NSRange arg1, - ffi.Pointer arg2) => - block.ref.target - .cast< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer arg0, _NSRange arg1, - ffi.Pointer arg2)>>() - .asFunction< - void Function(ffi.Pointer, _NSRange, - ffi.Pointer)>()(arg0, arg1, arg2); -final _ObjCBlock_ffiVoid_ffiVoid_NSRange_bool_closureRegistry = , _NSRange, ffi.Pointer)>{}; + ffi.Pointer block, + ffi.Pointer arg0, + _NSRange arg1, + ffi.Pointer arg2, +) => block.ref.target + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + _NSRange arg1, + ffi.Pointer arg2, + ) + > + >() + .asFunction< + void Function(ffi.Pointer, _NSRange, ffi.Pointer) + >()(arg0, arg1, arg2); +final _ObjCBlock_ffiVoid_ffiVoid_NSRange_bool_closureRegistry = + < + int, + void Function(ffi.Pointer, _NSRange, ffi.Pointer) + >{}; int _ObjCBlock_ffiVoid_ffiVoid_NSRange_bool_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_ffiVoid_ffiVoid_NSRange_bool_registerClosure( - void Function(ffi.Pointer, _NSRange, ffi.Pointer) fn) { + void Function(ffi.Pointer, _NSRange, ffi.Pointer) fn, +) { final id = ++_ObjCBlock_ffiVoid_ffiVoid_NSRange_bool_closureRegistryIndex; _ObjCBlock_ffiVoid_ffiVoid_NSRange_bool_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } void _ObjCBlock_ffiVoid_ffiVoid_NSRange_bool_closureTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - _NSRange arg1, - ffi.Pointer arg2) => - _ObjCBlock_ffiVoid_ffiVoid_NSRange_bool_closureRegistry[ - block.ref.target.address]!(arg0, arg1, arg2); - -class ObjCBlock_ffiVoid_ffiVoid_NSRange_bool extends _ObjCBlockBase { + ffi.Pointer block, + ffi.Pointer arg0, + _NSRange arg1, + ffi.Pointer arg2, +) => _ObjCBlock_ffiVoid_ffiVoid_NSRange_bool_closureRegistry[block + .ref + .target + .address]!(arg0, arg1, arg2); + +class ObjCBlock_ffiVoid_ffiVoid_NSRange_bool extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_ffiVoid_NSRange_bool._( - ffi.Pointer<_ObjCBlock> id, AVFAudio lib, - {bool retain = false, bool release = true}) - : super._(id, lib, retain: retain, release: release); + ffi.Pointer pointer, + this._lib, { + bool retain = false, + bool release = true, + }) : super(pointer, retain: retain, release: release); + + AVFAudio _lib; /// Returns a block that wraps the given raw block pointer. static ObjCBlock_ffiVoid_ffiVoid_NSRange_bool castFromPointer( - AVFAudio lib, ffi.Pointer<_ObjCBlock> pointer, - {bool retain = false, bool release = false}) { - return ObjCBlock_ffiVoid_ffiVoid_NSRange_bool._(pointer, lib, - retain: retain, release: release); + AVFAudio lib, + ffi.Pointer pointer, { + bool retain = false, + bool release = false, + }) { + return ObjCBlock_ffiVoid_ffiVoid_NSRange_bool._( + pointer, + lib, + retain: retain, + release: release, + ); } /// Creates a block from a C function pointer. @@ -45032,24 +58411,28 @@ class ObjCBlock_ffiVoid_ffiVoid_NSRange_bool extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_ffiVoid_NSRange_bool.fromFunctionPointer( - AVFAudio lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer arg0, _NSRange arg1, - ffi.Pointer arg2)>> - ptr) - : this._( - lib._newBlock1( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - _NSRange, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_ffiVoid_NSRange_bool_fnPtrTrampoline) - .cast(), - ptr.cast()), - lib); + AVFAudio lib, + ffi.Pointer< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + _NSRange arg1, + ffi.Pointer arg2, + ) + > + > ptr, + ) : this._(objc.newBlock( + _cFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_ffiVoid_NSRange_bool_fnPtrTrampoline).cast(), + ptr.cast(), + ), lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -45057,23 +58440,25 @@ class ObjCBlock_ffiVoid_ffiVoid_NSRange_bool extends _ObjCBlockBase { /// This block must be invoked by native code running on the same thread as /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. - ObjCBlock_ffiVoid_ffiVoid_NSRange_bool.fromFunction(AVFAudio lib, - void Function(ffi.Pointer, _NSRange, ffi.Pointer) fn) - : this._( - lib._newBlock1( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - _NSRange, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_ffiVoid_NSRange_bool_closureTrampoline) - .cast(), - _ObjCBlock_ffiVoid_ffiVoid_NSRange_bool_registerClosure( - (ffi.Pointer arg0, _NSRange arg1, - ffi.Pointer arg2) => - fn(arg0, arg1, arg2))), - lib); + ObjCBlock_ffiVoid_ffiVoid_NSRange_bool.fromFunction( + AVFAudio lib, + void Function(ffi.Pointer, _NSRange, ffi.Pointer) fn, + ) : this._(objc.newBlock( + _dartFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_ffiVoid_NSRange_bool_closureTrampoline).cast(), + _ObjCBlock_ffiVoid_ffiVoid_NSRange_bool_registerClosure(( + ffi.Pointer arg0, + _NSRange arg1, + ffi.Pointer arg2, + ) => fn(arg0, arg1, arg2)), + ), lib); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -45085,42 +58470,60 @@ class ObjCBlock_ffiVoid_ffiVoid_NSRange_bool extends _ObjCBlockBase { /// /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. - ObjCBlock_ffiVoid_ffiVoid_NSRange_bool.listener(AVFAudio lib, - void Function(ffi.Pointer, _NSRange, ffi.Pointer) fn) - : this._( - lib._newBlock1( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - _NSRange, - ffi.Pointer)>.listener( - _ObjCBlock_ffiVoid_ffiVoid_NSRange_bool_closureTrampoline) - ..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_ffiVoid_NSRange_bool_registerClosure( - (ffi.Pointer arg0, _NSRange arg1, - ffi.Pointer arg2) => - fn(arg0, arg1, arg2))), - lib); + ObjCBlock_ffiVoid_ffiVoid_NSRange_bool.listener( + AVFAudio lib, + void Function(ffi.Pointer, _NSRange, ffi.Pointer) fn, + ) : this._(objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + ) + >.listener( + _ObjCBlock_ffiVoid_ffiVoid_NSRange_bool_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_ffiVoid_NSRange_bool_registerClosure(( + ffi.Pointer arg0, + _NSRange arg1, + ffi.Pointer arg2, + ) => fn(arg0, arg1, arg2)), + ), lib); static ffi.NativeCallable< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer, - _NSRange, ffi.Pointer)>? _dartFuncListenerTrampoline; - - void call(ffi.Pointer arg0, _NSRange arg1, - ffi.Pointer arg2) => - _id.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - _NSRange arg1, - ffi.Pointer arg2)>>() - .asFunction< - void Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer, - _NSRange, ffi.Pointer)>()(_id, arg0, arg1, arg2); + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + ) + >? _dartFuncListenerTrampoline; + + void call( + ffi.Pointer arg0, + _NSRange arg1, + ffi.Pointer arg2, + ) => pointer.ref.invoke + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer block, + ffi.Pointer arg0, + _NSRange arg1, + ffi.Pointer arg2, + ) + > + >() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + ) + >()(pointer, arg0, arg1, arg2); } abstract class NSDataReadingOptions { @@ -45133,41 +58536,60 @@ abstract class NSDataReadingOptions { } void _ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong_fnPtrTrampoline( - ffi.Pointer<_ObjCBlock> block, ffi.Pointer arg0, int arg1) => - block.ref.target - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, ffi.UnsignedLong arg1)>>() - .asFunction, int)>()(arg0, arg1); + ffi.Pointer block, + ffi.Pointer arg0, + int arg1, +) => block.ref.target + .cast< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer arg0, ffi.UnsignedLong arg1) + > + >() + .asFunction, int)>()(arg0, arg1); final _ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong_closureRegistry = , int)>{}; int _ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong_closureRegistryIndex = 0; ffi.Pointer - _ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong_registerClosure( - void Function(ffi.Pointer, int) fn) { +_ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong_registerClosure( + void Function(ffi.Pointer, int) fn, +) { final id = ++_ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong_closureRegistryIndex; _ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } void _ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong_closureTrampoline( - ffi.Pointer<_ObjCBlock> block, ffi.Pointer arg0, int arg1) => - _ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong_closureRegistry[ - block.ref.target.address]!(arg0, arg1); - -class ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong extends _ObjCBlockBase { + ffi.Pointer block, + ffi.Pointer arg0, + int arg1, +) => _ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong_closureRegistry[block + .ref + .target + .address]!(arg0, arg1); + +class ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong._( - ffi.Pointer<_ObjCBlock> id, AVFAudio lib, - {bool retain = false, bool release = true}) - : super._(id, lib, retain: retain, release: release); + ffi.Pointer pointer, + this._lib, { + bool retain = false, + bool release = true, + }) : super(pointer, retain: retain, release: release); + + AVFAudio _lib; /// Returns a block that wraps the given raw block pointer. static ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong castFromPointer( - AVFAudio lib, ffi.Pointer<_ObjCBlock> pointer, - {bool retain = false, bool release = false}) { - return ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong._(pointer, lib, - retain: retain, release: release); + AVFAudio lib, + ffi.Pointer pointer, { + bool retain = false, + bool release = false, + }) { + return ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong._( + pointer, + lib, + retain: retain, + release: release, + ); } /// Creates a block from a C function pointer. @@ -45176,21 +58598,25 @@ class ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong.fromFunctionPointer( - AVFAudio lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, ffi.UnsignedLong arg1)>> - ptr) - : this._( - lib._newBlock1( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, - ffi.Pointer, ffi.UnsignedLong)>( - _ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong_fnPtrTrampoline) - .cast(), - ptr.cast()), - lib); + AVFAudio lib, + ffi.Pointer< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer arg0, ffi.UnsignedLong arg1) + > + > ptr, + ) : this._(objc.newBlock( + _cFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + >( + _ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong_fnPtrTrampoline, + ).cast(), + ptr.cast(), + ), lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -45199,17 +58625,24 @@ class ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong.fromFunction( - AVFAudio lib, void Function(ffi.Pointer, int) fn) - : this._( - lib._newBlock1( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, - ffi.Pointer, ffi.UnsignedLong)>( - _ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong_closureTrampoline) - .cast(), - _ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong_registerClosure( - (ffi.Pointer arg0, int arg1) => fn(arg0, arg1))), - lib); + AVFAudio lib, + void Function(ffi.Pointer, int) fn, + ) : this._(objc.newBlock( + _dartFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + >( + _ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong_closureTrampoline, + ).cast(), + _ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong_registerClosure(( + ffi.Pointer arg0, + int arg1, + ) => fn(arg0, arg1)), + ), lib); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -45222,33 +58655,46 @@ class ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong extends _ObjCBlockBase { /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong.listener( - AVFAudio lib, void Function(ffi.Pointer, int) fn) - : this._( - lib._newBlock1( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.UnsignedLong)>.listener( - _ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong_closureTrampoline) - ..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong_registerClosure( - (ffi.Pointer arg0, int arg1) => fn(arg0, arg1))), - lib); + AVFAudio lib, + void Function(ffi.Pointer, int) fn, + ) : this._(objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + >.listener( + _ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong_registerClosure(( + ffi.Pointer arg0, + int arg1, + ) => fn(arg0, arg1)), + ), lib); static ffi.NativeCallable< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer, - ffi.UnsignedLong)>? _dartFuncListenerTrampoline; - - void call(ffi.Pointer arg0, int arg1) => _id.ref.invoke + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + >? _dartFuncListenerTrampoline; + + void call(ffi.Pointer arg0, int arg1) => pointer.ref.invoke .cast< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, ffi.UnsignedLong arg1)>>() + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.UnsignedLong arg1, + ) + > + >() .asFunction< - void Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer, - int)>()(_id, arg0, arg1); + void Function(ffi.Pointer, ffi.Pointer, int) + >()(pointer, arg0, arg1); } abstract class NSDataBase64DecodingOptions { @@ -45300,28 +58746,50 @@ abstract class NSStringEnumerationOptions { } void _ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool_fnPtrTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - _NSRange arg1, - _NSRange arg2, - ffi.Pointer arg3) => - block.ref.target - .cast< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer arg0, _NSRange arg1, - _NSRange arg2, ffi.Pointer arg3)>>() - .asFunction< - void Function(ffi.Pointer, _NSRange, _NSRange, - ffi.Pointer)>()(arg0, arg1, arg2, arg3); -final _ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool_closureRegistry = , _NSRange, _NSRange, ffi.Pointer)>{}; + ffi.Pointer block, + ffi.Pointer arg0, + _NSRange arg1, + _NSRange arg2, + ffi.Pointer arg3, +) => block.ref.target + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + _NSRange arg1, + _NSRange arg2, + ffi.Pointer arg3, + ) + > + >() + .asFunction< + void Function( + ffi.Pointer, + _NSRange, + _NSRange, + ffi.Pointer, + ) + >()(arg0, arg1, arg2, arg3); +final _ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool_closureRegistry = + < + int, + void Function( + ffi.Pointer, + _NSRange, + _NSRange, + ffi.Pointer, + ) + >{}; int _ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool_closureRegistryIndex = 0; ffi.Pointer - _ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool_registerClosure( - void Function(ffi.Pointer, _NSRange, _NSRange, - ffi.Pointer) - fn) { +_ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool_registerClosure( + void Function( + ffi.Pointer, + _NSRange, + _NSRange, + ffi.Pointer, + ) fn, +) { final id = ++_ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool_closureRegistryIndex; _ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool_closureRegistry[id] = fn; @@ -45329,26 +58797,40 @@ ffi.Pointer } void _ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool_closureTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - _NSRange arg1, - _NSRange arg2, - ffi.Pointer arg3) => - _ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool_closureRegistry[ - block.ref.target.address]!(arg0, arg1, arg2, arg3); - -class ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool extends _ObjCBlockBase { + ffi.Pointer block, + ffi.Pointer arg0, + _NSRange arg1, + _NSRange arg2, + ffi.Pointer arg3, +) => _ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool_closureRegistry[block + .ref + .target + .address]!(arg0, arg1, arg2, arg3); + +class ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool + extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool._( - ffi.Pointer<_ObjCBlock> id, AVFAudio lib, - {bool retain = false, bool release = true}) - : super._(id, lib, retain: retain, release: release); + ffi.Pointer pointer, + this._lib, { + bool retain = false, + bool release = true, + }) : super(pointer, retain: retain, release: release); + + AVFAudio _lib; /// Returns a block that wraps the given raw block pointer. static ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool castFromPointer( - AVFAudio lib, ffi.Pointer<_ObjCBlock> pointer, - {bool retain = false, bool release = false}) { - return ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool._(pointer, lib, - retain: retain, release: release); + AVFAudio lib, + ffi.Pointer pointer, { + bool retain = false, + bool release = false, + }) { + return ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool._( + pointer, + lib, + retain: retain, + release: release, + ); } /// Creates a block from a C function pointer. @@ -45357,25 +58839,32 @@ class ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool.fromFunctionPointer( - AVFAudio lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer arg0, _NSRange arg1, - _NSRange arg2, ffi.Pointer arg3)>> - ptr) - : this._( - lib._newBlock1( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - _NSRange, - _NSRange, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool_fnPtrTrampoline) - .cast(), - ptr.cast()), - lib); + AVFAudio lib, + ffi.Pointer< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + _NSRange arg1, + _NSRange arg2, + ffi.Pointer arg3, + ) + > + > ptr, + ) : this._(objc.newBlock( + _cFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + _NSRange, + ffi.Pointer, + ) + >( + _ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool_fnPtrTrampoline, + ).cast(), + ptr.cast(), + ), lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -45383,24 +58872,36 @@ class ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool extends _ObjCBlockBase { /// This block must be invoked by native code running on the same thread as /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. - ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool.fromFunction(AVFAudio lib, - void Function(NSString?, _NSRange, _NSRange, ffi.Pointer) fn) - : this._( - lib._newBlock1( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - _NSRange, - _NSRange, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool_closureTrampoline) - .cast(), - _ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool_registerClosure( - (ffi.Pointer arg0, _NSRange arg1, _NSRange arg2, - ffi.Pointer arg3) => - fn(arg0.address == 0 ? null : NSString._(arg0, lib, retain: true, release: true), arg1, arg2, arg3))), - lib); + ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool.fromFunction( + AVFAudio lib, + void Function(NSString?, _NSRange, _NSRange, ffi.Pointer) fn, + ) : this._(objc.newBlock( + _dartFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + _NSRange, + ffi.Pointer, + ) + >( + _ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool_closureTrampoline, + ).cast(), + _ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool_registerClosure(( + ffi.Pointer arg0, + _NSRange arg1, + _NSRange arg2, + ffi.Pointer arg3, + ) => fn( + arg0.address == 0 + ? null + : NSString._(arg0, lib, retain: true, release: true), + arg1, + arg2, + arg3, + )), + ), lib); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -45412,95 +58913,134 @@ class ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool extends _ObjCBlockBase { /// /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. - ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool.listener(AVFAudio lib, - void Function(NSString?, _NSRange, _NSRange, ffi.Pointer) fn) - : this._( - lib._newBlock1( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - _NSRange, - _NSRange, - ffi.Pointer)>.listener( - _ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool_closureTrampoline) - ..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool_registerClosure( - (ffi.Pointer arg0, _NSRange arg1, _NSRange arg2, - ffi.Pointer arg3) => - fn(arg0.address == 0 ? null : NSString._(arg0, lib, retain: true, release: true), arg1, arg2, arg3))), - lib); + ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool.listener( + AVFAudio lib, + void Function(NSString?, _NSRange, _NSRange, ffi.Pointer) fn, + ) : this._(objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + _NSRange, + ffi.Pointer, + ) + >.listener( + _ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool_registerClosure(( + ffi.Pointer arg0, + _NSRange arg1, + _NSRange arg2, + ffi.Pointer arg3, + ) => fn( + arg0.address == 0 + ? null + : NSString._(arg0, lib, retain: true, release: true), + arg1, + arg2, + arg3, + )), + ), lib); static ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + _NSRange, + ffi.Pointer, + ) + >? _dartFuncListenerTrampoline; + + void call( + NSString? arg0, + _NSRange arg1, + _NSRange arg2, + ffi.Pointer arg3, + ) => pointer.ref.invoke + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer block, + ffi.Pointer arg0, + _NSRange arg1, + _NSRange arg2, + ffi.Pointer arg3, + ) + > + >() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, _NSRange, _NSRange, - ffi.Pointer)>? _dartFuncListenerTrampoline; - - void call(NSString? arg0, _NSRange arg1, _NSRange arg2, - ffi.Pointer arg3) => - _id.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - _NSRange arg1, - _NSRange arg2, - ffi.Pointer arg3)>>() - .asFunction< - void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - _NSRange, - _NSRange, - ffi.Pointer)>()( - _id, arg0?._id ?? ffi.nullptr, arg1, arg2, arg3); + ffi.Pointer, + ) + >()(pointer, arg0?.pointer ?? ffi.nullptr, arg1, arg2, arg3); } void _ObjCBlock_ffiVoid_NSString_bool_fnPtrTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1) => - block.ref.target - .cast< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer arg0, - ffi.Pointer arg1)>>() - .asFunction< - void Function( - ffi.Pointer, ffi.Pointer)>()(arg0, arg1); + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, +) => block.ref.target + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) + > + >() + .asFunction< + void Function(ffi.Pointer, ffi.Pointer) + >()(arg0, arg1); final _ObjCBlock_ffiVoid_NSString_bool_closureRegistry = - , ffi.Pointer)>{}; + , ffi.Pointer)>{}; int _ObjCBlock_ffiVoid_NSString_bool_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_ffiVoid_NSString_bool_registerClosure( - void Function(ffi.Pointer, ffi.Pointer) fn) { + void Function(ffi.Pointer, ffi.Pointer) fn, +) { final id = ++_ObjCBlock_ffiVoid_NSString_bool_closureRegistryIndex; _ObjCBlock_ffiVoid_NSString_bool_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } void _ObjCBlock_ffiVoid_NSString_bool_closureTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1) => - _ObjCBlock_ffiVoid_NSString_bool_closureRegistry[block.ref.target.address]!( - arg0, arg1); - -class ObjCBlock_ffiVoid_NSString_bool extends _ObjCBlockBase { - ObjCBlock_ffiVoid_NSString_bool._(ffi.Pointer<_ObjCBlock> id, AVFAudio lib, - {bool retain = false, bool release = true}) - : super._(id, lib, retain: retain, release: release); + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, +) => _ObjCBlock_ffiVoid_NSString_bool_closureRegistry[block + .ref + .target + .address]!(arg0, arg1); + +class ObjCBlock_ffiVoid_NSString_bool extends objc.ObjCBlockBase { + ObjCBlock_ffiVoid_NSString_bool._( + ffi.Pointer pointer, + this._lib, { + bool retain = false, + bool release = true, + }) : super(pointer, retain: retain, release: release); + + AVFAudio _lib; /// Returns a block that wraps the given raw block pointer. static ObjCBlock_ffiVoid_NSString_bool castFromPointer( - AVFAudio lib, ffi.Pointer<_ObjCBlock> pointer, - {bool retain = false, bool release = false}) { - return ObjCBlock_ffiVoid_NSString_bool._(pointer, lib, - retain: retain, release: release); + AVFAudio lib, + ffi.Pointer pointer, { + bool retain = false, + bool release = false, + }) { + return ObjCBlock_ffiVoid_NSString_bool._( + pointer, + lib, + retain: retain, + release: release, + ); } /// Creates a block from a C function pointer. @@ -45509,24 +59049,26 @@ class ObjCBlock_ffiVoid_NSString_bool extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSString_bool.fromFunctionPointer( - AVFAudio lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer arg0, - ffi.Pointer arg1)>> - ptr) - : this._( - lib - ._newBlock1( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_NSString_bool_fnPtrTrampoline) - .cast(), - ptr.cast()), - lib); + AVFAudio lib, + ffi.Pointer< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) + > + > ptr, + ) : this._(objc.newBlock( + _cFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_NSString_bool_fnPtrTrampoline).cast(), + ptr.cast(), + ), lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -45535,21 +59077,22 @@ class ObjCBlock_ffiVoid_NSString_bool extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSString_bool.fromFunction( - AVFAudio lib, void Function(NSString, ffi.Pointer) fn) - : this._( - lib._newBlock1( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_NSString_bool_closureTrampoline) - .cast(), - _ObjCBlock_ffiVoid_NSString_bool_registerClosure( - (ffi.Pointer arg0, ffi.Pointer arg1) => fn( - NSString._(arg0, lib, retain: true, release: true), - arg1))), - lib); + AVFAudio lib, + void Function(NSString, ffi.Pointer) fn, + ) : this._(objc.newBlock( + _dartFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_NSString_bool_closureTrampoline).cast(), + _ObjCBlock_ffiVoid_NSString_bool_registerClosure(( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) => fn(NSString._(arg0, lib, retain: true, release: true), arg1)), + ), lib); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -45562,35 +59105,50 @@ class ObjCBlock_ffiVoid_NSString_bool extends _ObjCBlockBase { /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. ObjCBlock_ffiVoid_NSString_bool.listener( - AVFAudio lib, void Function(NSString, ffi.Pointer) fn) - : this._( - lib._newBlock1( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer)>.listener( - _ObjCBlock_ffiVoid_NSString_bool_closureTrampoline) - ..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSString_bool_registerClosure( - (ffi.Pointer arg0, ffi.Pointer arg1) => - fn(NSString._(arg0, lib, retain: true, release: true), - arg1))), - lib); + AVFAudio lib, + void Function(NSString, ffi.Pointer) fn, + ) : this._(objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >.listener( + _ObjCBlock_ffiVoid_NSString_bool_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSString_bool_registerClosure(( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) => fn(NSString._(arg0, lib, retain: true, release: true), arg1)), + ), lib); static ffi.NativeCallable< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer, - ffi.Pointer)>? _dartFuncListenerTrampoline; - - void call(NSString arg0, ffi.Pointer arg1) => _id.ref.invoke + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >? _dartFuncListenerTrampoline; + + void call(NSString arg0, ffi.Pointer arg1) => pointer.ref.invoke .cast< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, ffi.Pointer arg1)>>() + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, + ) + > + >() .asFunction< - void Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer, - ffi.Pointer)>()(_id, arg0._id, arg1); + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >()(pointer, arg0.pointer, arg1); } abstract class NSStringEncodingConversionOptions { @@ -45599,23 +59157,30 @@ abstract class NSStringEncodingConversionOptions { } void _ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong_fnPtrTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - int arg1) => - block.ref.target - .cast< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer arg0, - ffi.UnsignedLong arg1)>>() - .asFunction, int)>()( - arg0, arg1); + ffi.Pointer block, + ffi.Pointer arg0, + int arg1, +) => block.ref.target + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.UnsignedLong arg1, + ) + > + >() + .asFunction, int)>()( + arg0, + arg1, +); final _ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong_closureRegistry = , int)>{}; int _ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong_closureRegistryIndex = 0; ffi.Pointer - _ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong_registerClosure( - void Function(ffi.Pointer, int) fn) { +_ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong_registerClosure( + void Function(ffi.Pointer, int) fn, +) { final id = ++_ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong_closureRegistryIndex; _ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong_closureRegistry[id] = fn; @@ -45623,25 +59188,38 @@ ffi.Pointer } void _ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong_closureTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - int arg1) => - _ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong_closureRegistry[ - block.ref.target.address]!(arg0, arg1); + ffi.Pointer block, + ffi.Pointer arg0, + int arg1, +) => _ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong_closureRegistry[block + .ref + .target + .address]!(arg0, arg1); class ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong - extends _ObjCBlockBase { + extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong._( - ffi.Pointer<_ObjCBlock> id, AVFAudio lib, - {bool retain = false, bool release = true}) - : super._(id, lib, retain: retain, release: release); + ffi.Pointer pointer, + this._lib, { + bool retain = false, + bool release = true, + }) : super(pointer, retain: retain, release: release); + + AVFAudio _lib; /// Returns a block that wraps the given raw block pointer. static ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong castFromPointer( - AVFAudio lib, ffi.Pointer<_ObjCBlock> pointer, - {bool retain = false, bool release = false}) { - return ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong._(pointer, lib, - retain: retain, release: release); + AVFAudio lib, + ffi.Pointer pointer, { + bool retain = false, + bool release = false, + }) { + return ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong._( + pointer, + lib, + retain: retain, + release: release, + ); } /// Creates a block from a C function pointer. @@ -45650,23 +59228,28 @@ class ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong.fromFunctionPointer( - AVFAudio lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer arg0, - ffi.UnsignedLong arg1)>> - ptr) - : this._( - lib._newBlock1( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.UnsignedLong)>( - _ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong_fnPtrTrampoline) - .cast(), - ptr.cast()), - lib); + AVFAudio lib, + ffi.Pointer< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.UnsignedLong arg1, + ) + > + > ptr, + ) : this._(objc.newBlock( + _cFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + >( + _ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong_fnPtrTrampoline, + ).cast(), + ptr.cast(), + ), lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -45675,20 +59258,24 @@ class ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong.fromFunction( - AVFAudio lib, void Function(ffi.Pointer, int) fn) - : this._( - lib._newBlock1( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.UnsignedLong)>( - _ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong_closureTrampoline) - .cast(), - _ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong_registerClosure( - (ffi.Pointer arg0, int arg1) => - fn(arg0, arg1))), - lib); + AVFAudio lib, + void Function(ffi.Pointer, int) fn, + ) : this._(objc.newBlock( + _dartFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + >( + _ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong_closureTrampoline, + ).cast(), + _ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong_registerClosure(( + ffi.Pointer arg0, + int arg1, + ) => fn(arg0, arg1)), + ), lib); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -45701,36 +59288,50 @@ class ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong.listener( - AVFAudio lib, void Function(ffi.Pointer, int) fn) - : this._( - lib._newBlock1( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.UnsignedLong)>.listener( - _ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong_closureTrampoline) - ..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong_registerClosure( - (ffi.Pointer arg0, int arg1) => - fn(arg0, arg1))), - lib); + AVFAudio lib, + void Function(ffi.Pointer, int) fn, + ) : this._(objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + >.listener( + _ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong_registerClosure(( + ffi.Pointer arg0, + int arg1, + ) => fn(arg0, arg1)), + ), lib); static ffi.NativeCallable< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer, - ffi.UnsignedLong)>? _dartFuncListenerTrampoline; - - void call(ffi.Pointer arg0, int arg1) => _id.ref.invoke + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + >? _dartFuncListenerTrampoline; + + void call(ffi.Pointer arg0, int arg1) => pointer.ref.invoke .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.UnsignedLong arg1)>>() + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.UnsignedLong arg1, + ) + > + >() .asFunction< - void Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer, - int)>()(_id, arg0, arg1); + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >()(pointer, arg0, arg1); } abstract class NSLinguisticTaggerOptions { @@ -45742,56 +59343,80 @@ abstract class NSLinguisticTaggerOptions { } class NSOrthography extends NSObject { - NSOrthography._(ffi.Pointer id, AVFAudio lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSOrthography._( + ffi.Pointer pointer, + AVFAudio lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSOrthography] that points to the same underlying object as [other]. - static NSOrthography castFrom(T other) { - return NSOrthography._(other._id, other._lib, retain: true, release: true); + static NSOrthography castFrom( + AVFAudio lib, + T other, + ) { + return NSOrthography._(other.pointer, lib, retain: true, release: true); } /// Returns a [NSOrthography] that wraps the given raw object pointer. static NSOrthography castFromPointer( - AVFAudio lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + AVFAudio lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSOrthography._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSOrthography]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_NSOrthography1); + static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSOrthography1, + ); } NSString get dominantScript { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_dominantScript1); + final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_dominantScript1); return NSString._(_ret, _lib, retain: true, release: true); } NSDictionary get languageMap { - final _ret = _lib._objc_msgSend_181(_id, _lib._sel_languageMap1); + final _ret = _lib._objc_msgSend_181(this.pointer, _lib._sel_languageMap1); return NSDictionary._(_ret, _lib, retain: true, release: true); } NSOrthography initWithDominantScript_languageMap_( - NSString script, NSDictionary map) { - final _ret = _lib._objc_msgSend_400(_id, - _lib._sel_initWithDominantScript_languageMap_1, script._id, map._id); + NSString script, + NSDictionary map, + ) { + final _ret = _lib._objc_msgSend_400( + this.pointer, + _lib._sel_initWithDominantScript_languageMap_1, + script.pointer, + map.pointer, + ); return NSOrthography._(_ret, _lib, retain: true, release: true); } NSOrthography? initWithCoder_(NSCoder coder) { - final _ret = - _lib._objc_msgSend_47(_id, _lib._sel_initWithCoder_1, coder._id); + final _ret = _lib._objc_msgSend_47( + this.pointer, + _lib._sel_initWithCoder_1, + coder.pointer, + ); return _ret.address == 0 ? null : NSOrthography._(_ret, _lib, retain: true, release: true); } NSArray? languagesForScript_(NSString script) { - final _ret = - _lib._objc_msgSend_132(_id, _lib._sel_languagesForScript_1, script._id); + final _ret = _lib._objc_msgSend_132( + this.pointer, + _lib._sel_languagesForScript_1, + script.pointer, + ); return _ret.address == 0 ? null : NSArray._(_ret, _lib, retain: true, release: true); @@ -45799,173 +59424,245 @@ class NSOrthography extends NSObject { NSString? dominantLanguageForScript_(NSString script) { final _ret = _lib._objc_msgSend_186( - _id, _lib._sel_dominantLanguageForScript_1, script._id); + this.pointer, + _lib._sel_dominantLanguageForScript_1, + script.pointer, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } NSString get dominantLanguage { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_dominantLanguage1); + final _ret = _lib._objc_msgSend_21( + this.pointer, + _lib._sel_dominantLanguage1, + ); return NSString._(_ret, _lib, retain: true, release: true); } NSArray get allScripts { - final _ret = _lib._objc_msgSend_85(_id, _lib._sel_allScripts1); + final _ret = _lib._objc_msgSend_85(this.pointer, _lib._sel_allScripts1); return NSArray._(_ret, _lib, retain: true, release: true); } NSArray get allLanguages { - final _ret = _lib._objc_msgSend_85(_id, _lib._sel_allLanguages1); + final _ret = _lib._objc_msgSend_85(this.pointer, _lib._sel_allLanguages1); return NSArray._(_ret, _lib, retain: true, release: true); } static NSOrthography defaultOrthographyForLanguage_( - AVFAudio _lib, NSString language) { - final _ret = _lib._objc_msgSend_31(_lib._class_NSOrthography1, - _lib._sel_defaultOrthographyForLanguage_1, language._id); + AVFAudio _lib, + NSString language, + ) { + final _ret = _lib._objc_msgSend_31( + _lib._class_NSOrthography1, + _lib._sel_defaultOrthographyForLanguage_1, + language.pointer, + ); return NSOrthography._(_ret, _lib, retain: true, release: true); } static NSOrthography orthographyWithDominantScript_languageMap_( - AVFAudio _lib, NSString script, NSDictionary map) { + AVFAudio _lib, + NSString script, + NSDictionary map, + ) { final _ret = _lib._objc_msgSend_400( - _lib._class_NSOrthography1, - _lib._sel_orthographyWithDominantScript_languageMap_1, - script._id, - map._id); + _lib._class_NSOrthography1, + _lib._sel_orthographyWithDominantScript_languageMap_1, + script.pointer, + map.pointer, + ); return NSOrthography._(_ret, _lib, retain: true, release: true); } @override NSOrthography init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSOrthography._(_ret, _lib, retain: true, release: true); } static NSOrthography new1(AVFAudio _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSOrthography1, _lib._sel_new1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSOrthography1, + _lib._sel_new1, + ); return NSOrthography._(_ret, _lib, retain: false, release: true); } static NSOrthography allocWithZone_( - AVFAudio _lib, ffi.Pointer<_NSZone> zone) { + AVFAudio _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSOrthography1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSOrthography1, + _lib._sel_allocWithZone_1, + zone, + ); return NSOrthography._(_ret, _lib, retain: false, release: true); } static NSOrthography alloc(AVFAudio _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSOrthography1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSOrthography1, + _lib._sel_alloc1, + ); return NSOrthography._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + AVFAudio _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSOrthography1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSOrthography1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSOrthography1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + AVFAudio _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSOrthography1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { return _lib._objc_msgSend_12( - _lib._class_NSOrthography1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_NSOrthography1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(AVFAudio _lib) { return _lib._objc_msgSend_12( - _lib._class_NSOrthography1, _lib._sel_useStoredAccessor1); + _lib._class_NSOrthography1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSOrthography1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSOrthography1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSOrthography1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSOrthography1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, NSArray keys, NSString dependentKey) { + AVFAudio _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSOrthography1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSOrthography1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { final _ret = _lib._objc_msgSend_85( - _lib._class_NSOrthography1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSOrthography1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(AVFAudio _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSOrthography1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSOrthography1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } -void _ObjCBlock_ffiVoid_ObjCObject_bool_fnPtrTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1) => - block.ref.target - .cast< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer arg0, - ffi.Pointer arg1)>>() - .asFunction< - void Function( - ffi.Pointer, ffi.Pointer)>()(arg0, arg1); -final _ObjCBlock_ffiVoid_ObjCObject_bool_closureRegistry = - , ffi.Pointer)>{}; -int _ObjCBlock_ffiVoid_ObjCObject_bool_closureRegistryIndex = 0; -ffi.Pointer _ObjCBlock_ffiVoid_ObjCObject_bool_registerClosure( - void Function(ffi.Pointer, ffi.Pointer) fn) { - final id = ++_ObjCBlock_ffiVoid_ObjCObject_bool_closureRegistryIndex; - _ObjCBlock_ffiVoid_ObjCObject_bool_closureRegistry[id] = fn; +void _ObjCBlock_ffiVoid_objcObjCObject_bool_fnPtrTrampoline( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, +) => block.ref.target + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) + > + >() + .asFunction< + void Function(ffi.Pointer, ffi.Pointer) + >()(arg0, arg1); +final _ObjCBlock_ffiVoid_objcObjCObject_bool_closureRegistry = + , ffi.Pointer)>{}; +int _ObjCBlock_ffiVoid_objcObjCObject_bool_closureRegistryIndex = 0; +ffi.Pointer _ObjCBlock_ffiVoid_objcObjCObject_bool_registerClosure( + void Function(ffi.Pointer, ffi.Pointer) fn, +) { + final id = ++_ObjCBlock_ffiVoid_objcObjCObject_bool_closureRegistryIndex; + _ObjCBlock_ffiVoid_objcObjCObject_bool_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } -void _ObjCBlock_ffiVoid_ObjCObject_bool_closureTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1) => - _ObjCBlock_ffiVoid_ObjCObject_bool_closureRegistry[ - block.ref.target.address]!(arg0, arg1); - -class ObjCBlock_ffiVoid_ObjCObject_bool extends _ObjCBlockBase { - ObjCBlock_ffiVoid_ObjCObject_bool._(ffi.Pointer<_ObjCBlock> id, AVFAudio lib, - {bool retain = false, bool release = true}) - : super._(id, lib, retain: retain, release: release); +void _ObjCBlock_ffiVoid_objcObjCObject_bool_closureTrampoline( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, +) => _ObjCBlock_ffiVoid_objcObjCObject_bool_closureRegistry[block + .ref + .target + .address]!(arg0, arg1); + +class ObjCBlock_ffiVoid_objcObjCObject_bool extends objc.ObjCBlockBase { + ObjCBlock_ffiVoid_objcObjCObject_bool._( + ffi.Pointer pointer, + this._lib, { + bool retain = false, + bool release = true, + }) : super(pointer, retain: retain, release: release); + + AVFAudio _lib; /// Returns a block that wraps the given raw block pointer. - static ObjCBlock_ffiVoid_ObjCObject_bool castFromPointer( - AVFAudio lib, ffi.Pointer<_ObjCBlock> pointer, - {bool retain = false, bool release = false}) { - return ObjCBlock_ffiVoid_ObjCObject_bool._(pointer, lib, - retain: retain, release: release); + static ObjCBlock_ffiVoid_objcObjCObject_bool castFromPointer( + AVFAudio lib, + ffi.Pointer pointer, { + bool retain = false, + bool release = false, + }) { + return ObjCBlock_ffiVoid_objcObjCObject_bool._( + pointer, + lib, + retain: retain, + release: release, + ); } /// Creates a block from a C function pointer. @@ -45973,25 +59670,27 @@ class ObjCBlock_ffiVoid_ObjCObject_bool extends _ObjCBlockBase { /// This block must be invoked by native code running on the same thread as /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. - ObjCBlock_ffiVoid_ObjCObject_bool.fromFunctionPointer( - AVFAudio lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer arg0, - ffi.Pointer arg1)>> - ptr) - : this._( - lib - ._newBlock1( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_ObjCObject_bool_fnPtrTrampoline) - .cast(), - ptr.cast()), - lib); + ObjCBlock_ffiVoid_objcObjCObject_bool.fromFunctionPointer( + AVFAudio lib, + ffi.Pointer< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) + > + > ptr, + ) : this._(objc.newBlock( + _cFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_objcObjCObject_bool_fnPtrTrampoline).cast(), + ptr.cast(), + ), lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -45999,22 +59698,23 @@ class ObjCBlock_ffiVoid_ObjCObject_bool extends _ObjCBlockBase { /// This block must be invoked by native code running on the same thread as /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. - ObjCBlock_ffiVoid_ObjCObject_bool.fromFunction( - AVFAudio lib, void Function(NSObject, ffi.Pointer) fn) - : this._( - lib._newBlock1( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_ObjCObject_bool_closureTrampoline) - .cast(), - _ObjCBlock_ffiVoid_ObjCObject_bool_registerClosure( - (ffi.Pointer arg0, ffi.Pointer arg1) => fn( - NSObject._(arg0, lib, retain: true, release: true), - arg1))), - lib); + ObjCBlock_ffiVoid_objcObjCObject_bool.fromFunction( + AVFAudio lib, + void Function(NSObject, ffi.Pointer) fn, + ) : this._(objc.newBlock( + _dartFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_objcObjCObject_bool_closureTrampoline).cast(), + _ObjCBlock_ffiVoid_objcObjCObject_bool_registerClosure(( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) => fn(NSObject._(arg0, lib, retain: true, release: true), arg1)), + ), lib); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -46026,78 +59726,112 @@ class ObjCBlock_ffiVoid_ObjCObject_bool extends _ObjCBlockBase { /// /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. - ObjCBlock_ffiVoid_ObjCObject_bool.listener( - AVFAudio lib, void Function(NSObject, ffi.Pointer) fn) - : this._( - lib._newBlock1( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer)>.listener( - _ObjCBlock_ffiVoid_ObjCObject_bool_closureTrampoline) - ..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_ObjCObject_bool_registerClosure( - (ffi.Pointer arg0, ffi.Pointer arg1) => - fn(NSObject._(arg0, lib, retain: true, release: true), - arg1))), - lib); + ObjCBlock_ffiVoid_objcObjCObject_bool.listener( + AVFAudio lib, + void Function(NSObject, ffi.Pointer) fn, + ) : this._(objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >.listener( + _ObjCBlock_ffiVoid_objcObjCObject_bool_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_objcObjCObject_bool_registerClosure(( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) => fn(NSObject._(arg0, lib, retain: true, release: true), arg1)), + ), lib); static ffi.NativeCallable< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer, - ffi.Pointer)>? _dartFuncListenerTrampoline; - - void call(NSObject arg0, ffi.Pointer arg1) => _id.ref.invoke + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >? _dartFuncListenerTrampoline; + + void call(NSObject arg0, ffi.Pointer arg1) => pointer.ref.invoke .cast< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, ffi.Pointer arg1)>>() + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, + ) + > + >() .asFunction< - void Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer, - ffi.Pointer)>()(_id, arg0._id, arg1); + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >()(pointer, arg0.pointer, arg1); } -bool _ObjCBlock_bool_ObjCObject_bool_fnPtrTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1) => - block.ref.target - .cast< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer arg0, - ffi.Pointer arg1)>>() - .asFunction< - bool Function( - ffi.Pointer, ffi.Pointer)>()(arg0, arg1); -final _ObjCBlock_bool_ObjCObject_bool_closureRegistry = - , ffi.Pointer)>{}; -int _ObjCBlock_bool_ObjCObject_bool_closureRegistryIndex = 0; -ffi.Pointer _ObjCBlock_bool_ObjCObject_bool_registerClosure( - bool Function(ffi.Pointer, ffi.Pointer) fn) { - final id = ++_ObjCBlock_bool_ObjCObject_bool_closureRegistryIndex; - _ObjCBlock_bool_ObjCObject_bool_closureRegistry[id] = fn; +bool _ObjCBlock_bool_objcObjCObject_bool_fnPtrTrampoline( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, +) => block.ref.target + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) + > + >() + .asFunction< + bool Function(ffi.Pointer, ffi.Pointer) + >()(arg0, arg1); +final _ObjCBlock_bool_objcObjCObject_bool_closureRegistry = + , ffi.Pointer)>{}; +int _ObjCBlock_bool_objcObjCObject_bool_closureRegistryIndex = 0; +ffi.Pointer _ObjCBlock_bool_objcObjCObject_bool_registerClosure( + bool Function(ffi.Pointer, ffi.Pointer) fn, +) { + final id = ++_ObjCBlock_bool_objcObjCObject_bool_closureRegistryIndex; + _ObjCBlock_bool_objcObjCObject_bool_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } -bool _ObjCBlock_bool_ObjCObject_bool_closureTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1) => - _ObjCBlock_bool_ObjCObject_bool_closureRegistry[block.ref.target.address]!( - arg0, arg1); - -class ObjCBlock_bool_ObjCObject_bool extends _ObjCBlockBase { - ObjCBlock_bool_ObjCObject_bool._(ffi.Pointer<_ObjCBlock> id, AVFAudio lib, - {bool retain = false, bool release = true}) - : super._(id, lib, retain: retain, release: release); +bool _ObjCBlock_bool_objcObjCObject_bool_closureTrampoline( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, +) => _ObjCBlock_bool_objcObjCObject_bool_closureRegistry[block + .ref + .target + .address]!(arg0, arg1); + +class ObjCBlock_bool_objcObjCObject_bool extends objc.ObjCBlockBase { + ObjCBlock_bool_objcObjCObject_bool._( + ffi.Pointer pointer, + this._lib, { + bool retain = false, + bool release = true, + }) : super(pointer, retain: retain, release: release); + + AVFAudio _lib; /// Returns a block that wraps the given raw block pointer. - static ObjCBlock_bool_ObjCObject_bool castFromPointer( - AVFAudio lib, ffi.Pointer<_ObjCBlock> pointer, - {bool retain = false, bool release = false}) { - return ObjCBlock_bool_ObjCObject_bool._(pointer, lib, - retain: retain, release: release); + static ObjCBlock_bool_objcObjCObject_bool castFromPointer( + AVFAudio lib, + ffi.Pointer pointer, { + bool retain = false, + bool release = false, + }) { + return ObjCBlock_bool_objcObjCObject_bool._( + pointer, + lib, + retain: retain, + release: release, + ); } /// Creates a block from a C function pointer. @@ -46105,24 +59839,30 @@ class ObjCBlock_bool_ObjCObject_bool extends _ObjCBlockBase { /// This block must be invoked by native code running on the same thread as /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. - ObjCBlock_bool_ObjCObject_bool.fromFunctionPointer( - AVFAudio lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer arg0, - ffi.Pointer arg1)>> - ptr) - : this._( - lib._newBlock1( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Bool Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer)>( - _ObjCBlock_bool_ObjCObject_bool_fnPtrTrampoline, false) - .cast(), - ptr.cast()), - lib); + ObjCBlock_bool_objcObjCObject_bool.fromFunctionPointer( + AVFAudio lib, + ffi.Pointer< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) + > + > ptr, + ) : this._(objc.newBlock( + _cFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >( + _ObjCBlock_bool_objcObjCObject_bool_fnPtrTrampoline, + false, + ).cast(), + ptr.cast(), + ), lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -46130,97 +59870,133 @@ class ObjCBlock_bool_ObjCObject_bool extends _ObjCBlockBase { /// This block must be invoked by native code running on the same thread as /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. - ObjCBlock_bool_ObjCObject_bool.fromFunction( - AVFAudio lib, bool Function(NSObject, ffi.Pointer) fn) - : this._( - lib._newBlock1( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Bool Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer)>( - _ObjCBlock_bool_ObjCObject_bool_closureTrampoline, false) - .cast(), - _ObjCBlock_bool_ObjCObject_bool_registerClosure( - (ffi.Pointer arg0, - ffi.Pointer arg1) => - fn(NSObject._(arg0, lib, retain: true, release: true), arg1))), - lib); + ObjCBlock_bool_objcObjCObject_bool.fromFunction( + AVFAudio lib, + bool Function(NSObject, ffi.Pointer) fn, + ) : this._(objc.newBlock( + _dartFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >( + _ObjCBlock_bool_objcObjCObject_bool_closureTrampoline, + false, + ).cast(), + _ObjCBlock_bool_objcObjCObject_bool_registerClosure(( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) => fn(NSObject._(arg0, lib, retain: true, release: true), arg1)), + ), lib); static ffi.Pointer? _dartFuncTrampoline; - bool call(NSObject arg0, ffi.Pointer arg1) => _id.ref.invoke + bool call(NSObject arg0, ffi.Pointer arg1) => pointer.ref.invoke .cast< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, ffi.Pointer arg1)>>() + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, + ) + > + >() .asFunction< - bool Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer, - ffi.Pointer)>()(_id, arg0._id, arg1); + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >()(pointer, arg0.pointer, arg1); } class NSFileManager extends NSObject { - NSFileManager._(ffi.Pointer id, AVFAudio lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSFileManager._( + ffi.Pointer pointer, + AVFAudio lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSFileManager] that points to the same underlying object as [other]. - static NSFileManager castFrom(T other) { - return NSFileManager._(other._id, other._lib, retain: true, release: true); + static NSFileManager castFrom( + AVFAudio lib, + T other, + ) { + return NSFileManager._(other.pointer, lib, retain: true, release: true); } /// Returns a [NSFileManager] that wraps the given raw object pointer. static NSFileManager castFromPointer( - AVFAudio lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + AVFAudio lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSFileManager._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSFileManager]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_NSFileManager1); + static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSFileManager1, + ); } static NSFileManager getDefaultManager(AVFAudio _lib) { final _ret = _lib._objc_msgSend_431( - _lib._class_NSFileManager1, _lib._sel_defaultManager1); + _lib._class_NSFileManager1, + _lib._sel_defaultManager1, + ); return NSFileManager._(_ret, _lib, retain: true, release: true); } NSArray? mountedVolumeURLsIncludingResourceValuesForKeys_options_( - NSArray? propertyKeys, int options) { + NSArray? propertyKeys, + int options, + ) { final _ret = _lib._objc_msgSend_432( - _id, - _lib._sel_mountedVolumeURLsIncludingResourceValuesForKeys_options_1, - propertyKeys?._id ?? ffi.nullptr, - options); + this.pointer, + _lib._sel_mountedVolumeURLsIncludingResourceValuesForKeys_options_1, + propertyKeys?.pointer ?? ffi.nullptr, + options, + ); return _ret.address == 0 ? null : NSArray._(_ret, _lib, retain: true, release: true); } void unmountVolumeAtURL_options_completionHandler_( - NSURL url, int mask, ObjCBlock_ffiVoid_NSError completionHandler) { + NSURL url, + int mask, + ObjCBlock_ffiVoid_NSError completionHandler, + ) { _lib._objc_msgSend_433( - _id, - _lib._sel_unmountVolumeAtURL_options_completionHandler_1, - url._id, - mask, - completionHandler._id); + this.pointer, + _lib._sel_unmountVolumeAtURL_options_completionHandler_1, + url.pointer, + mask, + completionHandler.pointer, + ); } NSArray? contentsOfDirectoryAtURL_includingPropertiesForKeys_options_error_( - NSURL url, - NSArray? keys, - int mask, - ffi.Pointer> error) { + NSURL url, + NSArray? keys, + int mask, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_434( - _id, - _lib._sel_contentsOfDirectoryAtURL_includingPropertiesForKeys_options_error_1, - url._id, - keys?._id ?? ffi.nullptr, - mask, - error); + this.pointer, + _lib._sel_contentsOfDirectoryAtURL_includingPropertiesForKeys_options_error_1, + url.pointer, + keys?.pointer ?? ffi.nullptr, + mask, + error, + ); return _ret.address == 0 ? null : NSArray._(_ret, _lib, retain: true, release: true); @@ -46228,85 +60004,101 @@ class NSFileManager extends NSObject { NSArray URLsForDirectory_inDomains_(int directory, int domainMask) { final _ret = _lib._objc_msgSend_435( - _id, _lib._sel_URLsForDirectory_inDomains_1, directory, domainMask); + this.pointer, + _lib._sel_URLsForDirectory_inDomains_1, + directory, + domainMask, + ); return NSArray._(_ret, _lib, retain: true, release: true); } NSURL? URLForDirectory_inDomain_appropriateForURL_create_error_( - int directory, - int domain, - NSURL? url, - bool shouldCreate, - ffi.Pointer> error) { + int directory, + int domain, + NSURL? url, + bool shouldCreate, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_436( - _id, - _lib._sel_URLForDirectory_inDomain_appropriateForURL_create_error_1, - directory, - domain, - url?._id ?? ffi.nullptr, - shouldCreate, - error); + this.pointer, + _lib._sel_URLForDirectory_inDomain_appropriateForURL_create_error_1, + directory, + domain, + url?.pointer ?? ffi.nullptr, + shouldCreate, + error, + ); return _ret.address == 0 ? null : NSURL._(_ret, _lib, retain: true, release: true); } bool getRelationship_ofDirectoryAtURL_toItemAtURL_error_( - ffi.Pointer outRelationship, - NSURL directoryURL, - NSURL otherURL, - ffi.Pointer> error) { + ffi.Pointer outRelationship, + NSURL directoryURL, + NSURL otherURL, + ffi.Pointer> error, + ) { return _lib._objc_msgSend_437( - _id, - _lib._sel_getRelationship_ofDirectoryAtURL_toItemAtURL_error_1, - outRelationship, - directoryURL._id, - otherURL._id, - error); + this.pointer, + _lib._sel_getRelationship_ofDirectoryAtURL_toItemAtURL_error_1, + outRelationship, + directoryURL.pointer, + otherURL.pointer, + error, + ); } bool getRelationship_ofDirectory_inDomain_toItemAtURL_error_( - ffi.Pointer outRelationship, - int directory, - int domainMask, - NSURL url, - ffi.Pointer> error) { + ffi.Pointer outRelationship, + int directory, + int domainMask, + NSURL url, + ffi.Pointer> error, + ) { return _lib._objc_msgSend_438( - _id, - _lib._sel_getRelationship_ofDirectory_inDomain_toItemAtURL_error_1, - outRelationship, - directory, - domainMask, - url._id, - error); + this.pointer, + _lib._sel_getRelationship_ofDirectory_inDomain_toItemAtURL_error_1, + outRelationship, + directory, + domainMask, + url.pointer, + error, + ); } bool createDirectoryAtURL_withIntermediateDirectories_attributes_error_( - NSURL url, - bool createIntermediates, - NSDictionary? attributes, - ffi.Pointer> error) { + NSURL url, + bool createIntermediates, + NSDictionary? attributes, + ffi.Pointer> error, + ) { return _lib._objc_msgSend_439( - _id, - _lib._sel_createDirectoryAtURL_withIntermediateDirectories_attributes_error_1, - url._id, - createIntermediates, - attributes?._id ?? ffi.nullptr, - error); + this.pointer, + _lib._sel_createDirectoryAtURL_withIntermediateDirectories_attributes_error_1, + url.pointer, + createIntermediates, + attributes?.pointer ?? ffi.nullptr, + error, + ); } bool createSymbolicLinkAtURL_withDestinationURL_error_( - NSURL url, NSURL destURL, ffi.Pointer> error) { + NSURL url, + NSURL destURL, + ffi.Pointer> error, + ) { return _lib._objc_msgSend_440( - _id, - _lib._sel_createSymbolicLinkAtURL_withDestinationURL_error_1, - url._id, - destURL._id, - error); + this.pointer, + _lib._sel_createSymbolicLinkAtURL_withDestinationURL_error_1, + url.pointer, + destURL.pointer, + error, + ); } NSObject? get delegate { - final _ret = _lib._objc_msgSend_17(_id, _lib._sel_delegate1); + final _ret = _lib._objc_msgSend_17(this.pointer, _lib._sel_delegate1); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); @@ -46314,151 +60106,260 @@ class NSFileManager extends NSObject { set delegate(NSObject? value) { return _lib._objc_msgSend_416( - _id, _lib._sel_setDelegate_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setDelegate_1, + value?.pointer ?? ffi.nullptr, + ); } - bool setAttributes_ofItemAtPath_error_(NSDictionary attributes, NSString path, - ffi.Pointer> error) { + bool setAttributes_ofItemAtPath_error_( + NSDictionary attributes, + NSString path, + ffi.Pointer> error, + ) { return _lib._objc_msgSend_441( - _id, - _lib._sel_setAttributes_ofItemAtPath_error_1, - attributes._id, - path._id, - error); + this.pointer, + _lib._sel_setAttributes_ofItemAtPath_error_1, + attributes.pointer, + path.pointer, + error, + ); } bool createDirectoryAtPath_withIntermediateDirectories_attributes_error_( - NSString path, - bool createIntermediates, - NSDictionary? attributes, - ffi.Pointer> error) { + NSString path, + bool createIntermediates, + NSDictionary? attributes, + ffi.Pointer> error, + ) { return _lib._objc_msgSend_442( - _id, - _lib._sel_createDirectoryAtPath_withIntermediateDirectories_attributes_error_1, - path._id, - createIntermediates, - attributes?._id ?? ffi.nullptr, - error); + this.pointer, + _lib._sel_createDirectoryAtPath_withIntermediateDirectories_attributes_error_1, + path.pointer, + createIntermediates, + attributes?.pointer ?? ffi.nullptr, + error, + ); } NSArray? contentsOfDirectoryAtPath_error_( - NSString path, ffi.Pointer> error) { + NSString path, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_443( - _id, _lib._sel_contentsOfDirectoryAtPath_error_1, path._id, error); + this.pointer, + _lib._sel_contentsOfDirectoryAtPath_error_1, + path.pointer, + error, + ); return _ret.address == 0 ? null : NSArray._(_ret, _lib, retain: true, release: true); } NSArray? subpathsOfDirectoryAtPath_error_( - NSString path, ffi.Pointer> error) { + NSString path, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_443( - _id, _lib._sel_subpathsOfDirectoryAtPath_error_1, path._id, error); + this.pointer, + _lib._sel_subpathsOfDirectoryAtPath_error_1, + path.pointer, + error, + ); return _ret.address == 0 ? null : NSArray._(_ret, _lib, retain: true, release: true); } NSDictionary? attributesOfItemAtPath_error_( - NSString path, ffi.Pointer> error) { + NSString path, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_444( - _id, _lib._sel_attributesOfItemAtPath_error_1, path._id, error); + this.pointer, + _lib._sel_attributesOfItemAtPath_error_1, + path.pointer, + error, + ); return _ret.address == 0 ? null : NSDictionary._(_ret, _lib, retain: true, release: true); } NSDictionary? attributesOfFileSystemForPath_error_( - NSString path, ffi.Pointer> error) { + NSString path, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_444( - _id, _lib._sel_attributesOfFileSystemForPath_error_1, path._id, error); + this.pointer, + _lib._sel_attributesOfFileSystemForPath_error_1, + path.pointer, + error, + ); return _ret.address == 0 ? null : NSDictionary._(_ret, _lib, retain: true, release: true); } - bool createSymbolicLinkAtPath_withDestinationPath_error_(NSString path, - NSString destPath, ffi.Pointer> error) { + bool createSymbolicLinkAtPath_withDestinationPath_error_( + NSString path, + NSString destPath, + ffi.Pointer> error, + ) { return _lib._objc_msgSend_445( - _id, - _lib._sel_createSymbolicLinkAtPath_withDestinationPath_error_1, - path._id, - destPath._id, - error); + this.pointer, + _lib._sel_createSymbolicLinkAtPath_withDestinationPath_error_1, + path.pointer, + destPath.pointer, + error, + ); } NSString? destinationOfSymbolicLinkAtPath_error_( - NSString path, ffi.Pointer> error) { - final _ret = _lib._objc_msgSend_446(_id, - _lib._sel_destinationOfSymbolicLinkAtPath_error_1, path._id, error); + NSString path, + ffi.Pointer> error, + ) { + final _ret = _lib._objc_msgSend_446( + this.pointer, + _lib._sel_destinationOfSymbolicLinkAtPath_error_1, + path.pointer, + error, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } - bool copyItemAtPath_toPath_error_(NSString srcPath, NSString dstPath, - ffi.Pointer> error) { - return _lib._objc_msgSend_445(_id, _lib._sel_copyItemAtPath_toPath_error_1, - srcPath._id, dstPath._id, error); + bool copyItemAtPath_toPath_error_( + NSString srcPath, + NSString dstPath, + ffi.Pointer> error, + ) { + return _lib._objc_msgSend_445( + this.pointer, + _lib._sel_copyItemAtPath_toPath_error_1, + srcPath.pointer, + dstPath.pointer, + error, + ); } - bool moveItemAtPath_toPath_error_(NSString srcPath, NSString dstPath, - ffi.Pointer> error) { - return _lib._objc_msgSend_445(_id, _lib._sel_moveItemAtPath_toPath_error_1, - srcPath._id, dstPath._id, error); + bool moveItemAtPath_toPath_error_( + NSString srcPath, + NSString dstPath, + ffi.Pointer> error, + ) { + return _lib._objc_msgSend_445( + this.pointer, + _lib._sel_moveItemAtPath_toPath_error_1, + srcPath.pointer, + dstPath.pointer, + error, + ); } - bool linkItemAtPath_toPath_error_(NSString srcPath, NSString dstPath, - ffi.Pointer> error) { - return _lib._objc_msgSend_445(_id, _lib._sel_linkItemAtPath_toPath_error_1, - srcPath._id, dstPath._id, error); + bool linkItemAtPath_toPath_error_( + NSString srcPath, + NSString dstPath, + ffi.Pointer> error, + ) { + return _lib._objc_msgSend_445( + this.pointer, + _lib._sel_linkItemAtPath_toPath_error_1, + srcPath.pointer, + dstPath.pointer, + error, + ); } bool removeItemAtPath_error_( - NSString path, ffi.Pointer> error) { + NSString path, + ffi.Pointer> error, + ) { return _lib._objc_msgSend_447( - _id, _lib._sel_removeItemAtPath_error_1, path._id, error); + this.pointer, + _lib._sel_removeItemAtPath_error_1, + path.pointer, + error, + ); } bool copyItemAtURL_toURL_error_( - NSURL srcURL, NSURL dstURL, ffi.Pointer> error) { - return _lib._objc_msgSend_440(_id, _lib._sel_copyItemAtURL_toURL_error_1, - srcURL._id, dstURL._id, error); + NSURL srcURL, + NSURL dstURL, + ffi.Pointer> error, + ) { + return _lib._objc_msgSend_440( + this.pointer, + _lib._sel_copyItemAtURL_toURL_error_1, + srcURL.pointer, + dstURL.pointer, + error, + ); } bool moveItemAtURL_toURL_error_( - NSURL srcURL, NSURL dstURL, ffi.Pointer> error) { - return _lib._objc_msgSend_440(_id, _lib._sel_moveItemAtURL_toURL_error_1, - srcURL._id, dstURL._id, error); + NSURL srcURL, + NSURL dstURL, + ffi.Pointer> error, + ) { + return _lib._objc_msgSend_440( + this.pointer, + _lib._sel_moveItemAtURL_toURL_error_1, + srcURL.pointer, + dstURL.pointer, + error, + ); } bool linkItemAtURL_toURL_error_( - NSURL srcURL, NSURL dstURL, ffi.Pointer> error) { - return _lib._objc_msgSend_440(_id, _lib._sel_linkItemAtURL_toURL_error_1, - srcURL._id, dstURL._id, error); + NSURL srcURL, + NSURL dstURL, + ffi.Pointer> error, + ) { + return _lib._objc_msgSend_440( + this.pointer, + _lib._sel_linkItemAtURL_toURL_error_1, + srcURL.pointer, + dstURL.pointer, + error, + ); } bool removeItemAtURL_error_( - NSURL URL, ffi.Pointer> error) { + NSURL URL, + ffi.Pointer> error, + ) { return _lib._objc_msgSend_89( - _id, _lib._sel_removeItemAtURL_error_1, URL._id, error); + this.pointer, + _lib._sel_removeItemAtURL_error_1, + URL.pointer, + error, + ); } bool trashItemAtURL_resultingItemURL_error_( - NSURL url, - ffi.Pointer> outResultingURL, - ffi.Pointer> error) { + NSURL url, + ffi.Pointer> outResultingURL, + ffi.Pointer> error, + ) { return _lib._objc_msgSend_448( - _id, - _lib._sel_trashItemAtURL_resultingItemURL_error_1, - url._id, - outResultingURL, - error); + this.pointer, + _lib._sel_trashItemAtURL_resultingItemURL_error_1, + url.pointer, + outResultingURL, + error, + ); } NSDictionary? fileAttributesAtPath_traverseLink_(NSString path, bool yorn) { final _ret = _lib._objc_msgSend_449( - _id, _lib._sel_fileAttributesAtPath_traverseLink_1, path._id, yorn); + this.pointer, + _lib._sel_fileAttributesAtPath_traverseLink_1, + path.pointer, + yorn, + ); return _ret.address == 0 ? null : NSDictionary._(_ret, _lib, retain: true, release: true); @@ -46466,12 +60367,19 @@ class NSFileManager extends NSObject { bool changeFileAttributes_atPath_(NSDictionary attributes, NSString path) { return _lib._objc_msgSend_450( - _id, _lib._sel_changeFileAttributes_atPath_1, attributes._id, path._id); + this.pointer, + _lib._sel_changeFileAttributes_atPath_1, + attributes.pointer, + path.pointer, + ); } NSArray? directoryContentsAtPath_(NSString path) { final _ret = _lib._objc_msgSend_132( - _id, _lib._sel_directoryContentsAtPath_1, path._id); + this.pointer, + _lib._sel_directoryContentsAtPath_1, + path.pointer, + ); return _ret.address == 0 ? null : NSArray._(_ret, _lib, retain: true, release: true); @@ -46479,7 +60387,10 @@ class NSFileManager extends NSObject { NSDictionary? fileSystemAttributesAtPath_(NSString path) { final _ret = _lib._objc_msgSend_156( - _id, _lib._sel_fileSystemAttributesAtPath_1, path._id); + this.pointer, + _lib._sel_fileSystemAttributesAtPath_1, + path.pointer, + ); return _ret.address == 0 ? null : NSDictionary._(_ret, _lib, retain: true, release: true); @@ -46487,285 +60398,428 @@ class NSFileManager extends NSObject { NSString? pathContentOfSymbolicLinkAtPath_(NSString path) { final _ret = _lib._objc_msgSend_186( - _id, _lib._sel_pathContentOfSymbolicLinkAtPath_1, path._id); + this.pointer, + _lib._sel_pathContentOfSymbolicLinkAtPath_1, + path.pointer, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } bool createSymbolicLinkAtPath_pathContent_( - NSString path, NSString otherpath) { + NSString path, + NSString otherpath, + ) { return _lib._objc_msgSend_451( - _id, - _lib._sel_createSymbolicLinkAtPath_pathContent_1, - path._id, - otherpath._id); + this.pointer, + _lib._sel_createSymbolicLinkAtPath_pathContent_1, + path.pointer, + otherpath.pointer, + ); } bool createDirectoryAtPath_attributes_( - NSString path, NSDictionary attributes) { - return _lib._objc_msgSend_452(_id, - _lib._sel_createDirectoryAtPath_attributes_1, path._id, attributes._id); + NSString path, + NSDictionary attributes, + ) { + return _lib._objc_msgSend_452( + this.pointer, + _lib._sel_createDirectoryAtPath_attributes_1, + path.pointer, + attributes.pointer, + ); } bool linkPath_toPath_handler_( - NSString src, NSString dest, NSObject? handler) { - return _lib._objc_msgSend_453(_id, _lib._sel_linkPath_toPath_handler_1, - src._id, dest._id, handler?._id ?? ffi.nullptr); + NSString src, + NSString dest, + NSObject? handler, + ) { + return _lib._objc_msgSend_453( + this.pointer, + _lib._sel_linkPath_toPath_handler_1, + src.pointer, + dest.pointer, + handler?.pointer ?? ffi.nullptr, + ); } bool copyPath_toPath_handler_( - NSString src, NSString dest, NSObject? handler) { - return _lib._objc_msgSend_453(_id, _lib._sel_copyPath_toPath_handler_1, - src._id, dest._id, handler?._id ?? ffi.nullptr); + NSString src, + NSString dest, + NSObject? handler, + ) { + return _lib._objc_msgSend_453( + this.pointer, + _lib._sel_copyPath_toPath_handler_1, + src.pointer, + dest.pointer, + handler?.pointer ?? ffi.nullptr, + ); } bool movePath_toPath_handler_( - NSString src, NSString dest, NSObject? handler) { - return _lib._objc_msgSend_453(_id, _lib._sel_movePath_toPath_handler_1, - src._id, dest._id, handler?._id ?? ffi.nullptr); + NSString src, + NSString dest, + NSObject? handler, + ) { + return _lib._objc_msgSend_453( + this.pointer, + _lib._sel_movePath_toPath_handler_1, + src.pointer, + dest.pointer, + handler?.pointer ?? ffi.nullptr, + ); } bool removeFileAtPath_handler_(NSString path, NSObject? handler) { - return _lib._objc_msgSend_454(_id, _lib._sel_removeFileAtPath_handler_1, - path._id, handler?._id ?? ffi.nullptr); + return _lib._objc_msgSend_454( + this.pointer, + _lib._sel_removeFileAtPath_handler_1, + path.pointer, + handler?.pointer ?? ffi.nullptr, + ); } NSString get currentDirectoryPath { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_currentDirectoryPath1); + final _ret = _lib._objc_msgSend_21( + this.pointer, + _lib._sel_currentDirectoryPath1, + ); return NSString._(_ret, _lib, retain: true, release: true); } bool changeCurrentDirectoryPath_(NSString path) { return _lib._objc_msgSend_64( - _id, _lib._sel_changeCurrentDirectoryPath_1, path._id); + this.pointer, + _lib._sel_changeCurrentDirectoryPath_1, + path.pointer, + ); } bool fileExistsAtPath_(NSString path) { - return _lib._objc_msgSend_64(_id, _lib._sel_fileExistsAtPath_1, path._id); + return _lib._objc_msgSend_64( + this.pointer, + _lib._sel_fileExistsAtPath_1, + path.pointer, + ); } bool fileExistsAtPath_isDirectory_( - NSString path, ffi.Pointer isDirectory) { + NSString path, + ffi.Pointer isDirectory, + ) { return _lib._objc_msgSend_455( - _id, _lib._sel_fileExistsAtPath_isDirectory_1, path._id, isDirectory); + this.pointer, + _lib._sel_fileExistsAtPath_isDirectory_1, + path.pointer, + isDirectory, + ); } bool isReadableFileAtPath_(NSString path) { return _lib._objc_msgSend_64( - _id, _lib._sel_isReadableFileAtPath_1, path._id); + this.pointer, + _lib._sel_isReadableFileAtPath_1, + path.pointer, + ); } bool isWritableFileAtPath_(NSString path) { return _lib._objc_msgSend_64( - _id, _lib._sel_isWritableFileAtPath_1, path._id); + this.pointer, + _lib._sel_isWritableFileAtPath_1, + path.pointer, + ); } bool isExecutableFileAtPath_(NSString path) { return _lib._objc_msgSend_64( - _id, _lib._sel_isExecutableFileAtPath_1, path._id); + this.pointer, + _lib._sel_isExecutableFileAtPath_1, + path.pointer, + ); } bool isDeletableFileAtPath_(NSString path) { return _lib._objc_msgSend_64( - _id, _lib._sel_isDeletableFileAtPath_1, path._id); + this.pointer, + _lib._sel_isDeletableFileAtPath_1, + path.pointer, + ); } bool contentsEqualAtPath_andPath_(NSString path1, NSString path2) { return _lib._objc_msgSend_451( - _id, _lib._sel_contentsEqualAtPath_andPath_1, path1._id, path2._id); + this.pointer, + _lib._sel_contentsEqualAtPath_andPath_1, + path1.pointer, + path2.pointer, + ); } NSString displayNameAtPath_(NSString path) { - final _ret = - _lib._objc_msgSend_69(_id, _lib._sel_displayNameAtPath_1, path._id); + final _ret = _lib._objc_msgSend_69( + this.pointer, + _lib._sel_displayNameAtPath_1, + path.pointer, + ); return NSString._(_ret, _lib, retain: true, release: true); } NSArray? componentsToDisplayForPath_(NSString path) { final _ret = _lib._objc_msgSend_132( - _id, _lib._sel_componentsToDisplayForPath_1, path._id); + this.pointer, + _lib._sel_componentsToDisplayForPath_1, + path.pointer, + ); return _ret.address == 0 ? null : NSArray._(_ret, _lib, retain: true, release: true); } NSObject? enumeratorAtPath_(NSString path) { - final _ret = - _lib._objc_msgSend_38(_id, _lib._sel_enumeratorAtPath_1, path._id); + final _ret = _lib._objc_msgSend_38( + this.pointer, + _lib._sel_enumeratorAtPath_1, + path.pointer, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } NSObject? enumeratorAtURL_includingPropertiesForKeys_options_errorHandler_( - NSURL url, - NSArray? keys, - int mask, - ObjCBlock_bool_NSURL_NSError? handler) { + NSURL url, + NSArray? keys, + int mask, + ObjCBlock_bool_NSURL_NSError? handler, + ) { final _ret = _lib._objc_msgSend_456( - _id, - _lib._sel_enumeratorAtURL_includingPropertiesForKeys_options_errorHandler_1, - url._id, - keys?._id ?? ffi.nullptr, - mask, - handler?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_enumeratorAtURL_includingPropertiesForKeys_options_errorHandler_1, + url.pointer, + keys?.pointer ?? ffi.nullptr, + mask, + handler?.pointer ?? ffi.nullptr, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } NSArray? subpathsAtPath_(NSString path) { - final _ret = - _lib._objc_msgSend_132(_id, _lib._sel_subpathsAtPath_1, path._id); + final _ret = _lib._objc_msgSend_132( + this.pointer, + _lib._sel_subpathsAtPath_1, + path.pointer, + ); return _ret.address == 0 ? null : NSArray._(_ret, _lib, retain: true, release: true); } NSData? contentsAtPath_(NSString path) { - final _ret = - _lib._objc_msgSend_457(_id, _lib._sel_contentsAtPath_1, path._id); + final _ret = _lib._objc_msgSend_457( + this.pointer, + _lib._sel_contentsAtPath_1, + path.pointer, + ); return _ret.address == 0 ? null : NSData._(_ret, _lib, retain: true, release: true); } bool createFileAtPath_contents_attributes_( - NSString path, NSData? data, NSDictionary? attr) { + NSString path, + NSData? data, + NSDictionary? attr, + ) { return _lib._objc_msgSend_458( - _id, - _lib._sel_createFileAtPath_contents_attributes_1, - path._id, - data?._id ?? ffi.nullptr, - attr?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_createFileAtPath_contents_attributes_1, + path.pointer, + data?.pointer ?? ffi.nullptr, + attr?.pointer ?? ffi.nullptr, + ); } ffi.Pointer fileSystemRepresentationWithPath_(NSString path) { return _lib._objc_msgSend_459( - _id, _lib._sel_fileSystemRepresentationWithPath_1, path._id); + this.pointer, + _lib._sel_fileSystemRepresentationWithPath_1, + path.pointer, + ); } NSString stringWithFileSystemRepresentation_length_( - ffi.Pointer str, int len) { + ffi.Pointer str, + int len, + ) { final _ret = _lib._objc_msgSend_460( - _id, _lib._sel_stringWithFileSystemRepresentation_length_1, str, len); + this.pointer, + _lib._sel_stringWithFileSystemRepresentation_length_1, + str, + len, + ); return NSString._(_ret, _lib, retain: true, release: true); } bool - replaceItemAtURL_withItemAtURL_backupItemName_options_resultingItemURL_error_( - NSURL originalItemURL, - NSURL newItemURL, - NSString? backupItemName, - int options, - ffi.Pointer> resultingURL, - ffi.Pointer> error) { + replaceItemAtURL_withItemAtURL_backupItemName_options_resultingItemURL_error_( + NSURL originalItemURL, + NSURL newItemURL, + NSString? backupItemName, + int options, + ffi.Pointer> resultingURL, + ffi.Pointer> error, + ) { return _lib._objc_msgSend_461( - _id, - _lib._sel_replaceItemAtURL_withItemAtURL_backupItemName_options_resultingItemURL_error_1, - originalItemURL._id, - newItemURL._id, - backupItemName?._id ?? ffi.nullptr, - options, - resultingURL, - error); - } - - bool setUbiquitous_itemAtURL_destinationURL_error_(bool flag, NSURL url, - NSURL destinationURL, ffi.Pointer> error) { + this.pointer, + _lib._sel_replaceItemAtURL_withItemAtURL_backupItemName_options_resultingItemURL_error_1, + originalItemURL.pointer, + newItemURL.pointer, + backupItemName?.pointer ?? ffi.nullptr, + options, + resultingURL, + error, + ); + } + + bool setUbiquitous_itemAtURL_destinationURL_error_( + bool flag, + NSURL url, + NSURL destinationURL, + ffi.Pointer> error, + ) { return _lib._objc_msgSend_462( - _id, - _lib._sel_setUbiquitous_itemAtURL_destinationURL_error_1, - flag, - url._id, - destinationURL._id, - error); + this.pointer, + _lib._sel_setUbiquitous_itemAtURL_destinationURL_error_1, + flag, + url.pointer, + destinationURL.pointer, + error, + ); } bool isUbiquitousItemAtURL_(NSURL url) { return _lib._objc_msgSend_265( - _id, _lib._sel_isUbiquitousItemAtURL_1, url._id); + this.pointer, + _lib._sel_isUbiquitousItemAtURL_1, + url.pointer, + ); } bool startDownloadingUbiquitousItemAtURL_error_( - NSURL url, ffi.Pointer> error) { - return _lib._objc_msgSend_89(_id, - _lib._sel_startDownloadingUbiquitousItemAtURL_error_1, url._id, error); + NSURL url, + ffi.Pointer> error, + ) { + return _lib._objc_msgSend_89( + this.pointer, + _lib._sel_startDownloadingUbiquitousItemAtURL_error_1, + url.pointer, + error, + ); } bool evictUbiquitousItemAtURL_error_( - NSURL url, ffi.Pointer> error) { + NSURL url, + ffi.Pointer> error, + ) { return _lib._objc_msgSend_89( - _id, _lib._sel_evictUbiquitousItemAtURL_error_1, url._id, error); + this.pointer, + _lib._sel_evictUbiquitousItemAtURL_error_1, + url.pointer, + error, + ); } NSURL? URLForUbiquityContainerIdentifier_(NSString? containerIdentifier) { final _ret = _lib._objc_msgSend_463( - _id, - _lib._sel_URLForUbiquityContainerIdentifier_1, - containerIdentifier?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_URLForUbiquityContainerIdentifier_1, + containerIdentifier?.pointer ?? ffi.nullptr, + ); return _ret.address == 0 ? null : NSURL._(_ret, _lib, retain: true, release: true); } NSURL? URLForPublishingUbiquitousItemAtURL_expirationDate_error_( - NSURL url, - ffi.Pointer> outDate, - ffi.Pointer> error) { + NSURL url, + ffi.Pointer> outDate, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_464( - _id, - _lib._sel_URLForPublishingUbiquitousItemAtURL_expirationDate_error_1, - url._id, - outDate, - error); + this.pointer, + _lib._sel_URLForPublishingUbiquitousItemAtURL_expirationDate_error_1, + url.pointer, + outDate, + error, + ); return _ret.address == 0 ? null : NSURL._(_ret, _lib, retain: true, release: true); } NSObject? get ubiquityIdentityToken { - final _ret = _lib._objc_msgSend_17(_id, _lib._sel_ubiquityIdentityToken1); + final _ret = _lib._objc_msgSend_17( + this.pointer, + _lib._sel_ubiquityIdentityToken1, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } void getFileProviderServicesForItemAtURL_completionHandler_( - NSURL url, ObjCBlock_ffiVoid_NSDictionary_NSError completionHandler) { + NSURL url, + ObjCBlock_ffiVoid_NSDictionary_NSError completionHandler, + ) { _lib._objc_msgSend_465( - _id, - _lib._sel_getFileProviderServicesForItemAtURL_completionHandler_1, - url._id, - completionHandler._id); + this.pointer, + _lib._sel_getFileProviderServicesForItemAtURL_completionHandler_1, + url.pointer, + completionHandler.pointer, + ); } NSURL? containerURLForSecurityApplicationGroupIdentifier_( - NSString groupIdentifier) { + NSString groupIdentifier, + ) { final _ret = _lib._objc_msgSend_257( - _id, - _lib._sel_containerURLForSecurityApplicationGroupIdentifier_1, - groupIdentifier._id); + this.pointer, + _lib._sel_containerURLForSecurityApplicationGroupIdentifier_1, + groupIdentifier.pointer, + ); return _ret.address == 0 ? null : NSURL._(_ret, _lib, retain: true, release: true); } NSURL get homeDirectoryForCurrentUser { - final _ret = - _lib._objc_msgSend_466(_id, _lib._sel_homeDirectoryForCurrentUser1); + final _ret = _lib._objc_msgSend_466( + this.pointer, + _lib._sel_homeDirectoryForCurrentUser1, + ); return NSURL._(_ret, _lib, retain: true, release: true); } NSURL get temporaryDirectory { - final _ret = _lib._objc_msgSend_466(_id, _lib._sel_temporaryDirectory1); + final _ret = _lib._objc_msgSend_466( + this.pointer, + _lib._sel_temporaryDirectory1, + ); return NSURL._(_ret, _lib, retain: true, release: true); } NSURL? homeDirectoryForUser_(NSString userName) { final _ret = _lib._objc_msgSend_257( - _id, _lib._sel_homeDirectoryForUser_1, userName._id); + this.pointer, + _lib._sel_homeDirectoryForUser_1, + userName.pointer, + ); return _ret.address == 0 ? null : NSURL._(_ret, _lib, retain: true, release: true); @@ -46773,89 +60827,127 @@ class NSFileManager extends NSObject { @override NSFileManager init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSFileManager._(_ret, _lib, retain: true, release: true); } static NSFileManager new1(AVFAudio _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSFileManager1, _lib._sel_new1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSFileManager1, + _lib._sel_new1, + ); return NSFileManager._(_ret, _lib, retain: false, release: true); } static NSFileManager allocWithZone_( - AVFAudio _lib, ffi.Pointer<_NSZone> zone) { + AVFAudio _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSFileManager1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSFileManager1, + _lib._sel_allocWithZone_1, + zone, + ); return NSFileManager._(_ret, _lib, retain: false, release: true); } static NSFileManager alloc(AVFAudio _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSFileManager1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSFileManager1, + _lib._sel_alloc1, + ); return NSFileManager._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + AVFAudio _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSFileManager1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSFileManager1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSFileManager1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + AVFAudio _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSFileManager1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { return _lib._objc_msgSend_12( - _lib._class_NSFileManager1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_NSFileManager1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(AVFAudio _lib) { return _lib._objc_msgSend_12( - _lib._class_NSFileManager1, _lib._sel_useStoredAccessor1); + _lib._class_NSFileManager1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSFileManager1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSFileManager1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSFileManager1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSFileManager1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, NSArray keys, NSString dependentKey) { + AVFAudio _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSFileManager1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSFileManager1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { final _ret = _lib._objc_msgSend_85( - _lib._class_NSFileManager1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSFileManager1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(AVFAudio _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSFileManager1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSFileManager1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } @@ -46871,37 +60963,54 @@ abstract class NSFileManagerUnmountOptions { } void _ObjCBlock_ffiVoid_NSError_fnPtrTrampoline( - ffi.Pointer<_ObjCBlock> block, ffi.Pointer arg0) => - block.ref.target - .cast< - ffi - .NativeFunction arg0)>>() - .asFunction)>()(arg0); + ffi.Pointer block, + ffi.Pointer arg0, +) => block.ref.target + .cast< + ffi.NativeFunction arg0)> + >() + .asFunction)>()(arg0); final _ObjCBlock_ffiVoid_NSError_closureRegistry = - )>{}; + )>{}; int _ObjCBlock_ffiVoid_NSError_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_ffiVoid_NSError_registerClosure( - void Function(ffi.Pointer) fn) { + void Function(ffi.Pointer) fn, +) { final id = ++_ObjCBlock_ffiVoid_NSError_closureRegistryIndex; _ObjCBlock_ffiVoid_NSError_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } void _ObjCBlock_ffiVoid_NSError_closureTrampoline( - ffi.Pointer<_ObjCBlock> block, ffi.Pointer arg0) => - _ObjCBlock_ffiVoid_NSError_closureRegistry[block.ref.target.address]!(arg0); - -class ObjCBlock_ffiVoid_NSError extends _ObjCBlockBase { - ObjCBlock_ffiVoid_NSError._(ffi.Pointer<_ObjCBlock> id, AVFAudio lib, - {bool retain = false, bool release = true}) - : super._(id, lib, retain: retain, release: release); + ffi.Pointer block, + ffi.Pointer arg0, +) => _ObjCBlock_ffiVoid_NSError_closureRegistry[block.ref.target.address]!( + arg0, +); + +class ObjCBlock_ffiVoid_NSError extends objc.ObjCBlockBase { + ObjCBlock_ffiVoid_NSError._( + ffi.Pointer pointer, + this._lib, { + bool retain = false, + bool release = true, + }) : super(pointer, retain: retain, release: release); + + AVFAudio _lib; /// Returns a block that wraps the given raw block pointer. static ObjCBlock_ffiVoid_NSError castFromPointer( - AVFAudio lib, ffi.Pointer<_ObjCBlock> pointer, - {bool retain = false, bool release = false}) { - return ObjCBlock_ffiVoid_NSError._(pointer, lib, - retain: retain, release: release); + AVFAudio lib, + ffi.Pointer pointer, { + bool retain = false, + bool release = false, + }) { + return ObjCBlock_ffiVoid_NSError._( + pointer, + lib, + retain: retain, + release: release, + ); } /// Creates a block from a C function pointer. @@ -46910,20 +61019,20 @@ class ObjCBlock_ffiVoid_NSError extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSError.fromFunctionPointer( - AVFAudio lib, - ffi.Pointer< - ffi - .NativeFunction arg0)>> - ptr) - : this._( - lib._newBlock1( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_NSError_fnPtrTrampoline) - .cast(), - ptr.cast()), - lib); + AVFAudio lib, + ffi.Pointer< + ffi.NativeFunction arg0)> + > ptr, + ) : this._(objc.newBlock( + _cFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_NSError_fnPtrTrampoline).cast(), + ptr.cast(), + ), lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -46932,19 +61041,24 @@ class ObjCBlock_ffiVoid_NSError extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSError.fromFunction( - AVFAudio lib, void Function(NSError?) fn) - : this._( - lib._newBlock1( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_NSError_closureTrampoline) - .cast(), - _ObjCBlock_ffiVoid_NSError_registerClosure( - (ffi.Pointer arg0) => fn(arg0.address == 0 - ? null - : NSError._(arg0, lib, retain: true, release: true)))), - lib); + AVFAudio lib, + void Function(NSError?) fn, + ) : this._(objc.newBlock( + _dartFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_NSError_closureTrampoline).cast(), + _ObjCBlock_ffiVoid_NSError_registerClosure(( + ffi.Pointer arg0, + ) => fn( + arg0.address == 0 + ? null + : NSError._(arg0, lib, retain: true, release: true), + )), + ), lib); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -46957,32 +61071,41 @@ class ObjCBlock_ffiVoid_NSError extends _ObjCBlockBase { /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. ObjCBlock_ffiVoid_NSError.listener(AVFAudio lib, void Function(NSError?) fn) - : this._( - lib._newBlock1( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, - ffi.Pointer)>.listener( - _ObjCBlock_ffiVoid_NSError_closureTrampoline) - ..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSError_registerClosure( - (ffi.Pointer arg0) => fn(arg0.address == 0 - ? null - : NSError._(arg0, lib, retain: true, release: true)))), - lib); + : this._(objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ) + >.listener( + _ObjCBlock_ffiVoid_NSError_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSError_registerClosure(( + ffi.Pointer arg0, + ) => fn( + arg0.address == 0 + ? null + : NSError._(arg0, lib, retain: true, release: true), + )), + ), lib); static ffi.NativeCallable< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer)>? - _dartFuncListenerTrampoline; + ffi.Void Function(ffi.Pointer, ffi.Pointer) + >? _dartFuncListenerTrampoline; - void call(NSError? arg0) => _id.ref.invoke + void call(NSError? arg0) => pointer.ref.invoke .cast< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0)>>() + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer block, + ffi.Pointer arg0, + ) + > + >() .asFunction< - void Function(ffi.Pointer<_ObjCBlock>, - ffi.Pointer)>()(_id, arg0?._id ?? ffi.nullptr); + void Function(ffi.Pointer, ffi.Pointer) + >()(pointer, arg0?.pointer ?? ffi.nullptr); } abstract class NSDirectoryEnumerationOptions { @@ -47038,45 +61161,67 @@ abstract class NSURLRelationship { } bool _ObjCBlock_bool_NSURL_NSError_fnPtrTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1) => - block.ref.target - .cast< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer arg0, - ffi.Pointer arg1)>>() - .asFunction< - bool Function(ffi.Pointer, - ffi.Pointer)>()(arg0, arg1); + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, +) => block.ref.target + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) + > + >() + .asFunction< + bool Function(ffi.Pointer, ffi.Pointer) + >()(arg0, arg1); final _ObjCBlock_bool_NSURL_NSError_closureRegistry = - , ffi.Pointer)>{}; + < + int, + bool Function(ffi.Pointer, ffi.Pointer) + >{}; int _ObjCBlock_bool_NSURL_NSError_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_bool_NSURL_NSError_registerClosure( - bool Function(ffi.Pointer, ffi.Pointer) fn) { + bool Function(ffi.Pointer, ffi.Pointer) fn, +) { final id = ++_ObjCBlock_bool_NSURL_NSError_closureRegistryIndex; _ObjCBlock_bool_NSURL_NSError_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } bool _ObjCBlock_bool_NSURL_NSError_closureTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1) => - _ObjCBlock_bool_NSURL_NSError_closureRegistry[block.ref.target.address]!( - arg0, arg1); - -class ObjCBlock_bool_NSURL_NSError extends _ObjCBlockBase { - ObjCBlock_bool_NSURL_NSError._(ffi.Pointer<_ObjCBlock> id, AVFAudio lib, - {bool retain = false, bool release = true}) - : super._(id, lib, retain: retain, release: release); + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, +) => _ObjCBlock_bool_NSURL_NSError_closureRegistry[block.ref.target.address]!( + arg0, + arg1, +); + +class ObjCBlock_bool_NSURL_NSError extends objc.ObjCBlockBase { + ObjCBlock_bool_NSURL_NSError._( + ffi.Pointer pointer, + this._lib, { + bool retain = false, + bool release = true, + }) : super(pointer, retain: retain, release: release); + + AVFAudio _lib; /// Returns a block that wraps the given raw block pointer. static ObjCBlock_bool_NSURL_NSError castFromPointer( - AVFAudio lib, ffi.Pointer<_ObjCBlock> pointer, - {bool retain = false, bool release = false}) { - return ObjCBlock_bool_NSURL_NSError._(pointer, lib, - retain: retain, release: release); + AVFAudio lib, + ffi.Pointer pointer, { + bool retain = false, + bool release = false, + }) { + return ObjCBlock_bool_NSURL_NSError._( + pointer, + lib, + retain: retain, + release: release, + ); } /// Creates a block from a C function pointer. @@ -47085,20 +61230,26 @@ class ObjCBlock_bool_NSURL_NSError extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_bool_NSURL_NSError.fromFunctionPointer( - AVFAudio lib, - ffi.Pointer arg0, ffi.Pointer arg1)>> - ptr) - : this._( - lib._newBlock1( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Bool Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer)>( - _ObjCBlock_bool_NSURL_NSError_fnPtrTrampoline, false) - .cast(), - ptr.cast()), - lib); + AVFAudio lib, + ffi.Pointer< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) + > + > ptr, + ) : this._(objc.newBlock( + _cFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(_ObjCBlock_bool_NSURL_NSError_fnPtrTrampoline, false).cast(), + ptr.cast(), + ), lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -47106,31 +61257,45 @@ class ObjCBlock_bool_NSURL_NSError extends _ObjCBlockBase { /// This block must be invoked by native code running on the same thread as /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. - ObjCBlock_bool_NSURL_NSError.fromFunction(AVFAudio lib, bool Function(NSURL, NSError) fn) - : this._( - lib._newBlock1( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Bool Function( - ffi.Pointer<_ObjCBlock>, ffi.Pointer, ffi.Pointer)>( - _ObjCBlock_bool_NSURL_NSError_closureTrampoline, false) - .cast(), - _ObjCBlock_bool_NSURL_NSError_registerClosure( - (ffi.Pointer arg0, ffi.Pointer arg1) => fn( - NSURL._(arg0, lib, retain: true, release: true), - NSError._(arg1, lib, retain: true, release: true)))), - lib); + ObjCBlock_bool_NSURL_NSError.fromFunction( + AVFAudio lib, + bool Function(NSURL, NSError) fn, + ) : this._(objc.newBlock( + _dartFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(_ObjCBlock_bool_NSURL_NSError_closureTrampoline, false).cast(), + _ObjCBlock_bool_NSURL_NSError_registerClosure(( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) => fn( + NSURL._(arg0, lib, retain: true, release: true), + NSError._(arg1, lib, retain: true, release: true), + )), + ), lib); static ffi.Pointer? _dartFuncTrampoline; - bool call(NSURL arg0, NSError arg1) => _id.ref.invoke + bool call(NSURL arg0, NSError arg1) => pointer.ref.invoke .cast< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1)>>() + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, + ) + > + >() .asFunction< - bool Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer, - ffi.Pointer)>()(_id, arg0._id, arg1._id); + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >()(pointer, arg0.pointer, arg1.pointer); } abstract class NSFileManagerItemReplacementOptions { @@ -47139,46 +61304,67 @@ abstract class NSFileManagerItemReplacementOptions { } void _ObjCBlock_ffiVoid_NSDictionary_NSError_fnPtrTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1) => - block.ref.target - .cast< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer arg0, - ffi.Pointer arg1)>>() - .asFunction< - void Function(ffi.Pointer, - ffi.Pointer)>()(arg0, arg1); + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, +) => block.ref.target + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) + > + >() + .asFunction< + void Function(ffi.Pointer, ffi.Pointer) + >()(arg0, arg1); final _ObjCBlock_ffiVoid_NSDictionary_NSError_closureRegistry = - , ffi.Pointer)>{}; + < + int, + void Function(ffi.Pointer, ffi.Pointer) + >{}; int _ObjCBlock_ffiVoid_NSDictionary_NSError_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_ffiVoid_NSDictionary_NSError_registerClosure( - void Function(ffi.Pointer, ffi.Pointer) fn) { + void Function(ffi.Pointer, ffi.Pointer) fn, +) { final id = ++_ObjCBlock_ffiVoid_NSDictionary_NSError_closureRegistryIndex; _ObjCBlock_ffiVoid_NSDictionary_NSError_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } void _ObjCBlock_ffiVoid_NSDictionary_NSError_closureTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1) => - _ObjCBlock_ffiVoid_NSDictionary_NSError_closureRegistry[ - block.ref.target.address]!(arg0, arg1); - -class ObjCBlock_ffiVoid_NSDictionary_NSError extends _ObjCBlockBase { + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, +) => _ObjCBlock_ffiVoid_NSDictionary_NSError_closureRegistry[block + .ref + .target + .address]!(arg0, arg1); + +class ObjCBlock_ffiVoid_NSDictionary_NSError extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSDictionary_NSError._( - ffi.Pointer<_ObjCBlock> id, AVFAudio lib, - {bool retain = false, bool release = true}) - : super._(id, lib, retain: retain, release: release); + ffi.Pointer pointer, + this._lib, { + bool retain = false, + bool release = true, + }) : super(pointer, retain: retain, release: release); + + AVFAudio _lib; /// Returns a block that wraps the given raw block pointer. static ObjCBlock_ffiVoid_NSDictionary_NSError castFromPointer( - AVFAudio lib, ffi.Pointer<_ObjCBlock> pointer, - {bool retain = false, bool release = false}) { - return ObjCBlock_ffiVoid_NSDictionary_NSError._(pointer, lib, - retain: retain, release: release); + AVFAudio lib, + ffi.Pointer pointer, { + bool retain = false, + bool release = false, + }) { + return ObjCBlock_ffiVoid_NSDictionary_NSError._( + pointer, + lib, + retain: retain, + release: release, + ); } /// Creates a block from a C function pointer. @@ -47187,23 +61373,26 @@ class ObjCBlock_ffiVoid_NSDictionary_NSError extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSDictionary_NSError.fromFunctionPointer( - AVFAudio lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer arg0, - ffi.Pointer arg1)>> - ptr) - : this._( - lib._newBlock1( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_NSDictionary_NSError_fnPtrTrampoline) - .cast(), - ptr.cast()), - lib); + AVFAudio lib, + ffi.Pointer< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) + > + > ptr, + ) : this._(objc.newBlock( + _cFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_NSDictionary_NSError_fnPtrTrampoline).cast(), + ptr.cast(), + ), lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -47212,19 +61401,29 @@ class ObjCBlock_ffiVoid_NSDictionary_NSError extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSDictionary_NSError.fromFunction( - AVFAudio lib, void Function(NSDictionary?, NSError?) fn) - : this._( - lib._newBlock1( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, ffi.Pointer, ffi.Pointer)>( - _ObjCBlock_ffiVoid_NSDictionary_NSError_closureTrampoline) - .cast(), - _ObjCBlock_ffiVoid_NSDictionary_NSError_registerClosure( - (ffi.Pointer arg0, ffi.Pointer arg1) => fn( - arg0.address == 0 ? null : NSDictionary._(arg0, lib, retain: true, release: true), - arg1.address == 0 ? null : NSError._(arg1, lib, retain: true, release: true)))), - lib); + AVFAudio lib, + void Function(NSDictionary?, NSError?) fn, + ) : this._(objc.newBlock( + _dartFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_NSDictionary_NSError_closureTrampoline).cast(), + _ObjCBlock_ffiVoid_NSDictionary_NSError_registerClosure(( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) => fn( + arg0.address == 0 + ? null + : NSDictionary._(arg0, lib, retain: true, release: true), + arg1.address == 0 + ? null + : NSError._(arg1, lib, retain: true, release: true), + )), + ), lib); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -47237,100 +61436,154 @@ class ObjCBlock_ffiVoid_NSDictionary_NSError extends _ObjCBlockBase { /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. ObjCBlock_ffiVoid_NSDictionary_NSError.listener( - AVFAudio lib, void Function(NSDictionary?, NSError?) fn) - : this._( - lib._newBlock1( - (_dartFuncListenerTrampoline ??= ffi - .NativeCallable, ffi.Pointer, ffi.Pointer)>.listener( - _ObjCBlock_ffiVoid_NSDictionary_NSError_closureTrampoline) - ..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSDictionary_NSError_registerClosure( - (ffi.Pointer arg0, ffi.Pointer arg1) => fn( - arg0.address == 0 - ? null - : NSDictionary._(arg0, lib, retain: true, release: true), - arg1.address == 0 ? null : NSError._(arg1, lib, retain: true, release: true)))), - lib); + AVFAudio lib, + void Function(NSDictionary?, NSError?) fn, + ) : this._(objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >.listener( + _ObjCBlock_ffiVoid_NSDictionary_NSError_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSDictionary_NSError_registerClosure(( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) => fn( + arg0.address == 0 + ? null + : NSDictionary._(arg0, lib, retain: true, release: true), + arg1.address == 0 + ? null + : NSError._(arg1, lib, retain: true, release: true), + )), + ), lib); static ffi.NativeCallable< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer, - ffi.Pointer)>? _dartFuncListenerTrampoline; - - void call(NSDictionary? arg0, NSError? arg1) => _id.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1)>>() - .asFunction< - void Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer, - ffi.Pointer)>()( - _id, arg0?._id ?? ffi.nullptr, arg1?._id ?? ffi.nullptr); + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >? _dartFuncListenerTrampoline; + + void call(NSDictionary? arg0, NSError? arg1) => pointer.ref.invoke + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, + ) + > + >() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >()(pointer, arg0?.pointer ?? ffi.nullptr, arg1?.pointer ?? ffi.nullptr); } class NSMutableArray extends NSArray { - NSMutableArray._(ffi.Pointer id, AVFAudio lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSMutableArray._( + ffi.Pointer pointer, + AVFAudio lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSMutableArray] that points to the same underlying object as [other]. - static NSMutableArray castFrom(T other) { - return NSMutableArray._(other._id, other._lib, retain: true, release: true); + static NSMutableArray castFrom( + AVFAudio lib, + T other, + ) { + return NSMutableArray._(other.pointer, lib, retain: true, release: true); } /// Returns a [NSMutableArray] that wraps the given raw object pointer. static NSMutableArray castFromPointer( - AVFAudio lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + AVFAudio lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSMutableArray._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSMutableArray]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0(obj._id, obj._lib._sel_isKindOfClass_1, - obj._lib._class_NSMutableArray1); + static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSMutableArray1, + ); } void addObject_(NSObject anObject) { - _lib._objc_msgSend_15(_id, _lib._sel_addObject_1, anObject._id); + _lib._objc_msgSend_15( + this.pointer, + _lib._sel_addObject_1, + anObject.pointer, + ); } void insertObject_atIndex_(NSObject anObject, int index) { _lib._objc_msgSend_469( - _id, _lib._sel_insertObject_atIndex_1, anObject._id, index); + this.pointer, + _lib._sel_insertObject_atIndex_1, + anObject.pointer, + index, + ); } void removeLastObject() { - _lib._objc_msgSend_1(_id, _lib._sel_removeLastObject1); + _lib._objc_msgSend_1(this.pointer, _lib._sel_removeLastObject1); } void removeObjectAtIndex_(int index) { - _lib._objc_msgSend_470(_id, _lib._sel_removeObjectAtIndex_1, index); + _lib._objc_msgSend_470( + this.pointer, + _lib._sel_removeObjectAtIndex_1, + index, + ); } void replaceObjectAtIndex_withObject_(int index, NSObject anObject) { _lib._objc_msgSend_471( - _id, _lib._sel_replaceObjectAtIndex_withObject_1, index, anObject._id); + this.pointer, + _lib._sel_replaceObjectAtIndex_withObject_1, + index, + anObject.pointer, + ); } @override NSMutableArray init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSMutableArray._(_ret, _lib, retain: true, release: true); } NSMutableArray initWithCapacity_(int numItems) { - final _ret = - _lib._objc_msgSend_65(_id, _lib._sel_initWithCapacity_1, numItems); + final _ret = _lib._objc_msgSend_65( + this.pointer, + _lib._sel_initWithCapacity_1, + numItems, + ); return NSMutableArray._(_ret, _lib, retain: true, release: true); } @override NSMutableArray? initWithCoder_(NSCoder coder) { - final _ret = - _lib._objc_msgSend_47(_id, _lib._sel_initWithCoder_1, coder._id); + final _ret = _lib._objc_msgSend_47( + this.pointer, + _lib._sel_initWithCoder_1, + coder.pointer, + ); return _ret.address == 0 ? null : NSMutableArray._(_ret, _lib, retain: true, release: true); @@ -47338,140 +61591,238 @@ class NSMutableArray extends NSArray { void addObjectsFromArray_(NSArray otherArray) { _lib._objc_msgSend_472( - _id, _lib._sel_addObjectsFromArray_1, otherArray._id); + this.pointer, + _lib._sel_addObjectsFromArray_1, + otherArray.pointer, + ); } void exchangeObjectAtIndex_withObjectAtIndex_(int idx1, int idx2) { _lib._objc_msgSend_473( - _id, _lib._sel_exchangeObjectAtIndex_withObjectAtIndex_1, idx1, idx2); + this.pointer, + _lib._sel_exchangeObjectAtIndex_withObjectAtIndex_1, + idx1, + idx2, + ); } void removeAllObjects() { - _lib._objc_msgSend_1(_id, _lib._sel_removeAllObjects1); + _lib._objc_msgSend_1(this.pointer, _lib._sel_removeAllObjects1); } void removeObject_inRange_(NSObject anObject, _NSRange range) { _lib._objc_msgSend_474( - _id, _lib._sel_removeObject_inRange_1, anObject._id, range); + this.pointer, + _lib._sel_removeObject_inRange_1, + anObject.pointer, + range, + ); } void removeObject_(NSObject anObject) { - _lib._objc_msgSend_15(_id, _lib._sel_removeObject_1, anObject._id); + _lib._objc_msgSend_15( + this.pointer, + _lib._sel_removeObject_1, + anObject.pointer, + ); } void removeObjectIdenticalTo_inRange_(NSObject anObject, _NSRange range) { _lib._objc_msgSend_474( - _id, _lib._sel_removeObjectIdenticalTo_inRange_1, anObject._id, range); + this.pointer, + _lib._sel_removeObjectIdenticalTo_inRange_1, + anObject.pointer, + range, + ); } void removeObjectIdenticalTo_(NSObject anObject) { _lib._objc_msgSend_15( - _id, _lib._sel_removeObjectIdenticalTo_1, anObject._id); + this.pointer, + _lib._sel_removeObjectIdenticalTo_1, + anObject.pointer, + ); } void removeObjectsFromIndices_numIndices_( - ffi.Pointer indices, int cnt) { + ffi.Pointer indices, + int cnt, + ) { _lib._objc_msgSend_475( - _id, _lib._sel_removeObjectsFromIndices_numIndices_1, indices, cnt); + this.pointer, + _lib._sel_removeObjectsFromIndices_numIndices_1, + indices, + cnt, + ); } void removeObjectsInArray_(NSArray otherArray) { _lib._objc_msgSend_472( - _id, _lib._sel_removeObjectsInArray_1, otherArray._id); + this.pointer, + _lib._sel_removeObjectsInArray_1, + otherArray.pointer, + ); } void removeObjectsInRange_(_NSRange range) { - _lib._objc_msgSend_476(_id, _lib._sel_removeObjectsInRange_1, range); + _lib._objc_msgSend_476( + this.pointer, + _lib._sel_removeObjectsInRange_1, + range, + ); } void replaceObjectsInRange_withObjectsFromArray_range_( - _NSRange range, NSArray otherArray, _NSRange otherRange) { + _NSRange range, + NSArray otherArray, + _NSRange otherRange, + ) { _lib._objc_msgSend_477( - _id, - _lib._sel_replaceObjectsInRange_withObjectsFromArray_range_1, - range, - otherArray._id, - otherRange); + this.pointer, + _lib._sel_replaceObjectsInRange_withObjectsFromArray_range_1, + range, + otherArray.pointer, + otherRange, + ); } void replaceObjectsInRange_withObjectsFromArray_( - _NSRange range, NSArray otherArray) { + _NSRange range, + NSArray otherArray, + ) { _lib._objc_msgSend_478( - _id, - _lib._sel_replaceObjectsInRange_withObjectsFromArray_1, - range, - otherArray._id); + this.pointer, + _lib._sel_replaceObjectsInRange_withObjectsFromArray_1, + range, + otherArray.pointer, + ); } void setArray_(NSArray otherArray) { - _lib._objc_msgSend_472(_id, _lib._sel_setArray_1, otherArray._id); + _lib._objc_msgSend_472( + this.pointer, + _lib._sel_setArray_1, + otherArray.pointer, + ); } void sortUsingFunction_context_( - ffi.Pointer< - ffi.NativeFunction< - ffi.Long Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>> - compare, - ffi.Pointer context) { + ffi.Pointer< + ffi.NativeFunction< + ffi.Long Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + > compare, + ffi.Pointer context, + ) { _lib._objc_msgSend_479( - _id, _lib._sel_sortUsingFunction_context_1, compare, context); + this.pointer, + _lib._sel_sortUsingFunction_context_1, + compare, + context, + ); } - void sortUsingSelector_(ffi.Pointer comparator) { - _lib._objc_msgSend_7(_id, _lib._sel_sortUsingSelector_1, comparator); + void sortUsingSelector_(ffi.Pointer comparator) { + _lib._objc_msgSend_7( + this.pointer, + _lib._sel_sortUsingSelector_1, + comparator, + ); } void insertObjects_atIndexes_(NSArray objects, NSIndexSet indexes) { _lib._objc_msgSend_480( - _id, _lib._sel_insertObjects_atIndexes_1, objects._id, indexes._id); + this.pointer, + _lib._sel_insertObjects_atIndexes_1, + objects.pointer, + indexes.pointer, + ); } void removeObjectsAtIndexes_(NSIndexSet indexes) { _lib._objc_msgSend_481( - _id, _lib._sel_removeObjectsAtIndexes_1, indexes._id); + this.pointer, + _lib._sel_removeObjectsAtIndexes_1, + indexes.pointer, + ); } void replaceObjectsAtIndexes_withObjects_( - NSIndexSet indexes, NSArray objects) { - _lib._objc_msgSend_482(_id, _lib._sel_replaceObjectsAtIndexes_withObjects_1, - indexes._id, objects._id); + NSIndexSet indexes, + NSArray objects, + ) { + _lib._objc_msgSend_482( + this.pointer, + _lib._sel_replaceObjectsAtIndexes_withObjects_1, + indexes.pointer, + objects.pointer, + ); } void setObject_atIndexedSubscript_(NSObject obj, int idx) { _lib._objc_msgSend_469( - _id, _lib._sel_setObject_atIndexedSubscript_1, obj._id, idx); + this.pointer, + _lib._sel_setObject_atIndexedSubscript_1, + obj.pointer, + idx, + ); } void sortUsingComparator_( - ObjCBlock_NSComparisonResult_ObjCObject_ObjCObject cmptr) { - _lib._objc_msgSend_483(_id, _lib._sel_sortUsingComparator_1, cmptr._id); + ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject cmptr, + ) { + _lib._objc_msgSend_483( + this.pointer, + _lib._sel_sortUsingComparator_1, + cmptr.pointer, + ); } void sortWithOptions_usingComparator_( - int opts, ObjCBlock_NSComparisonResult_ObjCObject_ObjCObject cmptr) { + int opts, + ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject cmptr, + ) { _lib._objc_msgSend_484( - _id, _lib._sel_sortWithOptions_usingComparator_1, opts, cmptr._id); + this.pointer, + _lib._sel_sortWithOptions_usingComparator_1, + opts, + cmptr.pointer, + ); } static NSMutableArray arrayWithCapacity_(AVFAudio _lib, int numItems) { final _ret = _lib._objc_msgSend_65( - _lib._class_NSMutableArray1, _lib._sel_arrayWithCapacity_1, numItems); + _lib._class_NSMutableArray1, + _lib._sel_arrayWithCapacity_1, + numItems, + ); return NSMutableArray._(_ret, _lib, retain: true, release: true); } static NSMutableArray? arrayWithContentsOfFile_( - AVFAudio _lib, NSString path) { - final _ret = _lib._objc_msgSend_485(_lib._class_NSMutableArray1, - _lib._sel_arrayWithContentsOfFile_1, path._id); + AVFAudio _lib, + NSString path, + ) { + final _ret = _lib._objc_msgSend_485( + _lib._class_NSMutableArray1, + _lib._sel_arrayWithContentsOfFile_1, + path.pointer, + ); return _ret.address == 0 ? null : NSMutableArray._(_ret, _lib, retain: true, release: true); } static NSMutableArray? arrayWithContentsOfURL_(AVFAudio _lib, NSURL url) { - final _ret = _lib._objc_msgSend_486(_lib._class_NSMutableArray1, - _lib._sel_arrayWithContentsOfURL_1, url._id); + final _ret = _lib._objc_msgSend_486( + _lib._class_NSMutableArray1, + _lib._sel_arrayWithContentsOfURL_1, + url.pointer, + ); return _ret.address == 0 ? null : NSMutableArray._(_ret, _lib, retain: true, release: true); @@ -47479,228 +61830,350 @@ class NSMutableArray extends NSArray { NSMutableArray? initWithContentsOfFile_(NSString path) { final _ret = _lib._objc_msgSend_485( - _id, _lib._sel_initWithContentsOfFile_1, path._id); + this.pointer, + _lib._sel_initWithContentsOfFile_1, + path.pointer, + ); return _ret.address == 0 ? null : NSMutableArray._(_ret, _lib, retain: true, release: true); } NSMutableArray? initWithContentsOfURL_(NSURL url) { - final _ret = - _lib._objc_msgSend_486(_id, _lib._sel_initWithContentsOfURL_1, url._id); + final _ret = _lib._objc_msgSend_486( + this.pointer, + _lib._sel_initWithContentsOfURL_1, + url.pointer, + ); return _ret.address == 0 ? null : NSMutableArray._(_ret, _lib, retain: true, release: true); } void applyDifference_(NSObject difference) { - _lib._objc_msgSend_15(_id, _lib._sel_applyDifference_1, difference._id); + _lib._objc_msgSend_15( + this.pointer, + _lib._sel_applyDifference_1, + difference.pointer, + ); } void sortUsingDescriptors_(NSArray sortDescriptors) { _lib._objc_msgSend_472( - _id, _lib._sel_sortUsingDescriptors_1, sortDescriptors._id); + this.pointer, + _lib._sel_sortUsingDescriptors_1, + sortDescriptors.pointer, + ); } void filterUsingPredicate_(NSPredicate predicate) { _lib._objc_msgSend_487( - _id, _lib._sel_filterUsingPredicate_1, predicate._id); + this.pointer, + _lib._sel_filterUsingPredicate_1, + predicate.pointer, + ); } @override NSMutableArray initWithObjects_count_( - ffi.Pointer> objects, int cnt) { + ffi.Pointer> objects, + int cnt, + ) { final _ret = _lib._objc_msgSend_66( - _id, _lib._sel_initWithObjects_count_1, objects, cnt); + this.pointer, + _lib._sel_initWithObjects_count_1, + objects, + cnt, + ); return NSMutableArray._(_ret, _lib, retain: true, release: true); } static NSMutableArray array(AVFAudio _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSMutableArray1, _lib._sel_array1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSMutableArray1, + _lib._sel_array1, + ); return NSMutableArray._(_ret, _lib, retain: true, release: true); } static NSMutableArray arrayWithObject_(AVFAudio _lib, NSObject anObject) { final _ret = _lib._objc_msgSend_124( - _lib._class_NSMutableArray1, _lib._sel_arrayWithObject_1, anObject._id); + _lib._class_NSMutableArray1, + _lib._sel_arrayWithObject_1, + anObject.pointer, + ); return NSMutableArray._(_ret, _lib, retain: true, release: true); } static NSMutableArray arrayWithObjects_count_( - AVFAudio _lib, ffi.Pointer> objects, int cnt) { - final _ret = _lib._objc_msgSend_66(_lib._class_NSMutableArray1, - _lib._sel_arrayWithObjects_count_1, objects, cnt); + AVFAudio _lib, + ffi.Pointer> objects, + int cnt, + ) { + final _ret = _lib._objc_msgSend_66( + _lib._class_NSMutableArray1, + _lib._sel_arrayWithObjects_count_1, + objects, + cnt, + ); return NSMutableArray._(_ret, _lib, retain: true, release: true); } static NSMutableArray arrayWithObjects_(AVFAudio _lib, NSObject firstObj) { - final _ret = _lib._objc_msgSend_124(_lib._class_NSMutableArray1, - _lib._sel_arrayWithObjects_1, firstObj._id); + final _ret = _lib._objc_msgSend_124( + _lib._class_NSMutableArray1, + _lib._sel_arrayWithObjects_1, + firstObj.pointer, + ); return NSMutableArray._(_ret, _lib, retain: true, release: true); } static NSMutableArray arrayWithArray_(AVFAudio _lib, NSArray array) { final _ret = _lib._objc_msgSend_125( - _lib._class_NSMutableArray1, _lib._sel_arrayWithArray_1, array._id); + _lib._class_NSMutableArray1, + _lib._sel_arrayWithArray_1, + array.pointer, + ); return NSMutableArray._(_ret, _lib, retain: true, release: true); } @override NSMutableArray initWithObjects_(NSObject firstObj) { - final _ret = - _lib._objc_msgSend_124(_id, _lib._sel_initWithObjects_1, firstObj._id); + final _ret = _lib._objc_msgSend_124( + this.pointer, + _lib._sel_initWithObjects_1, + firstObj.pointer, + ); return NSMutableArray._(_ret, _lib, retain: true, release: true); } @override NSMutableArray initWithArray_(NSArray array) { - final _ret = - _lib._objc_msgSend_125(_id, _lib._sel_initWithArray_1, array._id); + final _ret = _lib._objc_msgSend_125( + this.pointer, + _lib._sel_initWithArray_1, + array.pointer, + ); return NSMutableArray._(_ret, _lib, retain: true, release: true); } @override NSMutableArray initWithArray_copyItems_(NSArray array, bool flag) { final _ret = _lib._objc_msgSend_126( - _id, _lib._sel_initWithArray_copyItems_1, array._id, flag); + this.pointer, + _lib._sel_initWithArray_copyItems_1, + array.pointer, + flag, + ); return NSMutableArray._(_ret, _lib, retain: false, release: true); } static NSArray? arrayWithContentsOfURL_error_( - AVFAudio _lib, NSURL url, ffi.Pointer> error) { - final _ret = _lib._objc_msgSend_127(_lib._class_NSMutableArray1, - _lib._sel_arrayWithContentsOfURL_error_1, url._id, error); + AVFAudio _lib, + NSURL url, + ffi.Pointer> error, + ) { + final _ret = _lib._objc_msgSend_127( + _lib._class_NSMutableArray1, + _lib._sel_arrayWithContentsOfURL_error_1, + url.pointer, + error, + ); return _ret.address == 0 ? null : NSArray._(_ret, _lib, retain: true, release: true); } static NSMutableArray new1(AVFAudio _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSMutableArray1, _lib._sel_new1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSMutableArray1, + _lib._sel_new1, + ); return NSMutableArray._(_ret, _lib, retain: false, release: true); } static NSMutableArray allocWithZone_( - AVFAudio _lib, ffi.Pointer<_NSZone> zone) { + AVFAudio _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSMutableArray1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSMutableArray1, + _lib._sel_allocWithZone_1, + zone, + ); return NSMutableArray._(_ret, _lib, retain: false, release: true); } static NSMutableArray alloc(AVFAudio _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSMutableArray1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSMutableArray1, + _lib._sel_alloc1, + ); return NSMutableArray._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + AVFAudio _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSMutableArray1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSMutableArray1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSMutableArray1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + AVFAudio _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSMutableArray1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { - return _lib._objc_msgSend_12(_lib._class_NSMutableArray1, - _lib._sel_accessInstanceVariablesDirectly1); + return _lib._objc_msgSend_12( + _lib._class_NSMutableArray1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(AVFAudio _lib) { return _lib._objc_msgSend_12( - _lib._class_NSMutableArray1, _lib._sel_useStoredAccessor1); + _lib._class_NSMutableArray1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSMutableArray1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSMutableArray1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSMutableArray1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSMutableArray1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, NSArray keys, NSString dependentKey) { + AVFAudio _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSMutableArray1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSMutableArray1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { final _ret = _lib._objc_msgSend_85( - _lib._class_NSMutableArray1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSMutableArray1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(AVFAudio _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSMutableArray1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSMutableArray1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } class NSMutableOrderedSet extends NSOrderedSet { - NSMutableOrderedSet._(ffi.Pointer id, AVFAudio lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSMutableOrderedSet._( + ffi.Pointer pointer, + AVFAudio lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSMutableOrderedSet] that points to the same underlying object as [other]. - static NSMutableOrderedSet castFrom(T other) { - return NSMutableOrderedSet._(other._id, other._lib, - retain: true, release: true); + static NSMutableOrderedSet castFrom( + AVFAudio lib, + T other, + ) { + return NSMutableOrderedSet._( + other.pointer, + lib, + retain: true, + release: true, + ); } /// Returns a [NSMutableOrderedSet] that wraps the given raw object pointer. static NSMutableOrderedSet castFromPointer( - AVFAudio lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + AVFAudio lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSMutableOrderedSet._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSMutableOrderedSet]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0(obj._id, obj._lib._sel_isKindOfClass_1, - obj._lib._class_NSMutableOrderedSet1); + static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSMutableOrderedSet1, + ); } void insertObject_atIndex_(NSObject object, int idx) { _lib._objc_msgSend_469( - _id, _lib._sel_insertObject_atIndex_1, object._id, idx); + this.pointer, + _lib._sel_insertObject_atIndex_1, + object.pointer, + idx, + ); } void removeObjectAtIndex_(int idx) { - _lib._objc_msgSend_470(_id, _lib._sel_removeObjectAtIndex_1, idx); + _lib._objc_msgSend_470(this.pointer, _lib._sel_removeObjectAtIndex_1, idx); } void replaceObjectAtIndex_withObject_(int idx, NSObject object) { _lib._objc_msgSend_471( - _id, _lib._sel_replaceObjectAtIndex_withObject_1, idx, object._id); + this.pointer, + _lib._sel_replaceObjectAtIndex_withObject_1, + idx, + object.pointer, + ); } @override NSMutableOrderedSet? initWithCoder_(NSCoder coder) { - final _ret = - _lib._objc_msgSend_47(_id, _lib._sel_initWithCoder_1, coder._id); + final _ret = _lib._objc_msgSend_47( + this.pointer, + _lib._sel_initWithCoder_1, + coder.pointer, + ); return _ret.address == 0 ? null : NSMutableOrderedSet._(_ret, _lib, retain: true, release: true); @@ -47708,467 +62181,756 @@ class NSMutableOrderedSet extends NSOrderedSet { @override NSMutableOrderedSet init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSMutableOrderedSet._(_ret, _lib, retain: true, release: true); } NSMutableOrderedSet initWithCapacity_(int numItems) { - final _ret = - _lib._objc_msgSend_65(_id, _lib._sel_initWithCapacity_1, numItems); + final _ret = _lib._objc_msgSend_65( + this.pointer, + _lib._sel_initWithCapacity_1, + numItems, + ); return NSMutableOrderedSet._(_ret, _lib, retain: true, release: true); } void addObject_(NSObject object) { - _lib._objc_msgSend_15(_id, _lib._sel_addObject_1, object._id); + _lib._objc_msgSend_15(this.pointer, _lib._sel_addObject_1, object.pointer); } void addObjects_count_( - ffi.Pointer> objects, int count) { - _lib._objc_msgSend_500(_id, _lib._sel_addObjects_count_1, objects, count); + ffi.Pointer> objects, + int count, + ) { + _lib._objc_msgSend_500( + this.pointer, + _lib._sel_addObjects_count_1, + objects, + count, + ); } void addObjectsFromArray_(NSArray array) { - _lib._objc_msgSend_472(_id, _lib._sel_addObjectsFromArray_1, array._id); + _lib._objc_msgSend_472( + this.pointer, + _lib._sel_addObjectsFromArray_1, + array.pointer, + ); } void exchangeObjectAtIndex_withObjectAtIndex_(int idx1, int idx2) { _lib._objc_msgSend_473( - _id, _lib._sel_exchangeObjectAtIndex_withObjectAtIndex_1, idx1, idx2); + this.pointer, + _lib._sel_exchangeObjectAtIndex_withObjectAtIndex_1, + idx1, + idx2, + ); } void moveObjectsAtIndexes_toIndex_(NSIndexSet indexes, int idx) { _lib._objc_msgSend_501( - _id, _lib._sel_moveObjectsAtIndexes_toIndex_1, indexes._id, idx); + this.pointer, + _lib._sel_moveObjectsAtIndexes_toIndex_1, + indexes.pointer, + idx, + ); } void insertObjects_atIndexes_(NSArray objects, NSIndexSet indexes) { _lib._objc_msgSend_480( - _id, _lib._sel_insertObjects_atIndexes_1, objects._id, indexes._id); + this.pointer, + _lib._sel_insertObjects_atIndexes_1, + objects.pointer, + indexes.pointer, + ); } void setObject_atIndex_(NSObject obj, int idx) { - _lib._objc_msgSend_469(_id, _lib._sel_setObject_atIndex_1, obj._id, idx); + _lib._objc_msgSend_469( + this.pointer, + _lib._sel_setObject_atIndex_1, + obj.pointer, + idx, + ); } void setObject_atIndexedSubscript_(NSObject obj, int idx) { _lib._objc_msgSend_469( - _id, _lib._sel_setObject_atIndexedSubscript_1, obj._id, idx); + this.pointer, + _lib._sel_setObject_atIndexedSubscript_1, + obj.pointer, + idx, + ); } void replaceObjectsInRange_withObjects_count_( - _NSRange range, ffi.Pointer> objects, int count) { + _NSRange range, + ffi.Pointer> objects, + int count, + ) { _lib._objc_msgSend_502( - _id, - _lib._sel_replaceObjectsInRange_withObjects_count_1, - range, - objects, - count); + this.pointer, + _lib._sel_replaceObjectsInRange_withObjects_count_1, + range, + objects, + count, + ); } void replaceObjectsAtIndexes_withObjects_( - NSIndexSet indexes, NSArray objects) { - _lib._objc_msgSend_482(_id, _lib._sel_replaceObjectsAtIndexes_withObjects_1, - indexes._id, objects._id); + NSIndexSet indexes, + NSArray objects, + ) { + _lib._objc_msgSend_482( + this.pointer, + _lib._sel_replaceObjectsAtIndexes_withObjects_1, + indexes.pointer, + objects.pointer, + ); } void removeObjectsInRange_(_NSRange range) { - _lib._objc_msgSend_476(_id, _lib._sel_removeObjectsInRange_1, range); + _lib._objc_msgSend_476( + this.pointer, + _lib._sel_removeObjectsInRange_1, + range, + ); } void removeObjectsAtIndexes_(NSIndexSet indexes) { _lib._objc_msgSend_481( - _id, _lib._sel_removeObjectsAtIndexes_1, indexes._id); + this.pointer, + _lib._sel_removeObjectsAtIndexes_1, + indexes.pointer, + ); } void removeAllObjects() { - _lib._objc_msgSend_1(_id, _lib._sel_removeAllObjects1); + _lib._objc_msgSend_1(this.pointer, _lib._sel_removeAllObjects1); } void removeObject_(NSObject object) { - _lib._objc_msgSend_15(_id, _lib._sel_removeObject_1, object._id); + _lib._objc_msgSend_15( + this.pointer, + _lib._sel_removeObject_1, + object.pointer, + ); } void removeObjectsInArray_(NSArray array) { - _lib._objc_msgSend_472(_id, _lib._sel_removeObjectsInArray_1, array._id); + _lib._objc_msgSend_472( + this.pointer, + _lib._sel_removeObjectsInArray_1, + array.pointer, + ); } void intersectOrderedSet_(NSOrderedSet other) { - _lib._objc_msgSend_503(_id, _lib._sel_intersectOrderedSet_1, other._id); + _lib._objc_msgSend_503( + this.pointer, + _lib._sel_intersectOrderedSet_1, + other.pointer, + ); } void minusOrderedSet_(NSOrderedSet other) { - _lib._objc_msgSend_503(_id, _lib._sel_minusOrderedSet_1, other._id); + _lib._objc_msgSend_503( + this.pointer, + _lib._sel_minusOrderedSet_1, + other.pointer, + ); } void unionOrderedSet_(NSOrderedSet other) { - _lib._objc_msgSend_503(_id, _lib._sel_unionOrderedSet_1, other._id); + _lib._objc_msgSend_503( + this.pointer, + _lib._sel_unionOrderedSet_1, + other.pointer, + ); } void intersectSet_(NSSet other) { - _lib._objc_msgSend_504(_id, _lib._sel_intersectSet_1, other._id); + _lib._objc_msgSend_504( + this.pointer, + _lib._sel_intersectSet_1, + other.pointer, + ); } void minusSet_(NSSet other) { - _lib._objc_msgSend_504(_id, _lib._sel_minusSet_1, other._id); + _lib._objc_msgSend_504(this.pointer, _lib._sel_minusSet_1, other.pointer); } void unionSet_(NSSet other) { - _lib._objc_msgSend_504(_id, _lib._sel_unionSet_1, other._id); + _lib._objc_msgSend_504(this.pointer, _lib._sel_unionSet_1, other.pointer); } void sortUsingComparator_( - ObjCBlock_NSComparisonResult_ObjCObject_ObjCObject cmptr) { - _lib._objc_msgSend_483(_id, _lib._sel_sortUsingComparator_1, cmptr._id); + ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject cmptr, + ) { + _lib._objc_msgSend_483( + this.pointer, + _lib._sel_sortUsingComparator_1, + cmptr.pointer, + ); } void sortWithOptions_usingComparator_( - int opts, ObjCBlock_NSComparisonResult_ObjCObject_ObjCObject cmptr) { + int opts, + ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject cmptr, + ) { _lib._objc_msgSend_484( - _id, _lib._sel_sortWithOptions_usingComparator_1, opts, cmptr._id); + this.pointer, + _lib._sel_sortWithOptions_usingComparator_1, + opts, + cmptr.pointer, + ); } - void sortRange_options_usingComparator_(_NSRange range, int opts, - ObjCBlock_NSComparisonResult_ObjCObject_ObjCObject cmptr) { - _lib._objc_msgSend_505(_id, _lib._sel_sortRange_options_usingComparator_1, - range, opts, cmptr._id); + void sortRange_options_usingComparator_( + _NSRange range, + int opts, + ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject cmptr, + ) { + _lib._objc_msgSend_505( + this.pointer, + _lib._sel_sortRange_options_usingComparator_1, + range, + opts, + cmptr.pointer, + ); } static NSMutableOrderedSet orderedSetWithCapacity_( - AVFAudio _lib, int numItems) { - final _ret = _lib._objc_msgSend_65(_lib._class_NSMutableOrderedSet1, - _lib._sel_orderedSetWithCapacity_1, numItems); + AVFAudio _lib, + int numItems, + ) { + final _ret = _lib._objc_msgSend_65( + _lib._class_NSMutableOrderedSet1, + _lib._sel_orderedSetWithCapacity_1, + numItems, + ); return NSMutableOrderedSet._(_ret, _lib, retain: true, release: true); } void applyDifference_(NSObject difference) { - _lib._objc_msgSend_15(_id, _lib._sel_applyDifference_1, difference._id); + _lib._objc_msgSend_15( + this.pointer, + _lib._sel_applyDifference_1, + difference.pointer, + ); } void sortUsingDescriptors_(NSArray sortDescriptors) { _lib._objc_msgSend_472( - _id, _lib._sel_sortUsingDescriptors_1, sortDescriptors._id); + this.pointer, + _lib._sel_sortUsingDescriptors_1, + sortDescriptors.pointer, + ); } void filterUsingPredicate_(NSPredicate p) { - _lib._objc_msgSend_487(_id, _lib._sel_filterUsingPredicate_1, p._id); + _lib._objc_msgSend_487( + this.pointer, + _lib._sel_filterUsingPredicate_1, + p.pointer, + ); } @override NSMutableOrderedSet initWithObjects_count_( - ffi.Pointer> objects, int cnt) { + ffi.Pointer> objects, + int cnt, + ) { final _ret = _lib._objc_msgSend_66( - _id, _lib._sel_initWithObjects_count_1, objects, cnt); + this.pointer, + _lib._sel_initWithObjects_count_1, + objects, + cnt, + ); return NSMutableOrderedSet._(_ret, _lib, retain: true, release: true); } static NSMutableOrderedSet orderedSet(AVFAudio _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSMutableOrderedSet1, _lib._sel_orderedSet1); + _lib._class_NSMutableOrderedSet1, + _lib._sel_orderedSet1, + ); return NSMutableOrderedSet._(_ret, _lib, retain: true, release: true); } static NSMutableOrderedSet orderedSetWithObject_( - AVFAudio _lib, NSObject object) { - final _ret = _lib._objc_msgSend_124(_lib._class_NSMutableOrderedSet1, - _lib._sel_orderedSetWithObject_1, object._id); + AVFAudio _lib, + NSObject object, + ) { + final _ret = _lib._objc_msgSend_124( + _lib._class_NSMutableOrderedSet1, + _lib._sel_orderedSetWithObject_1, + object.pointer, + ); return NSMutableOrderedSet._(_ret, _lib, retain: true, release: true); } static NSMutableOrderedSet orderedSetWithObjects_count_( - AVFAudio _lib, ffi.Pointer> objects, int cnt) { - final _ret = _lib._objc_msgSend_66(_lib._class_NSMutableOrderedSet1, - _lib._sel_orderedSetWithObjects_count_1, objects, cnt); + AVFAudio _lib, + ffi.Pointer> objects, + int cnt, + ) { + final _ret = _lib._objc_msgSend_66( + _lib._class_NSMutableOrderedSet1, + _lib._sel_orderedSetWithObjects_count_1, + objects, + cnt, + ); return NSMutableOrderedSet._(_ret, _lib, retain: true, release: true); } static NSMutableOrderedSet orderedSetWithObjects_( - AVFAudio _lib, NSObject firstObj) { - final _ret = _lib._objc_msgSend_124(_lib._class_NSMutableOrderedSet1, - _lib._sel_orderedSetWithObjects_1, firstObj._id); + AVFAudio _lib, + NSObject firstObj, + ) { + final _ret = _lib._objc_msgSend_124( + _lib._class_NSMutableOrderedSet1, + _lib._sel_orderedSetWithObjects_1, + firstObj.pointer, + ); return NSMutableOrderedSet._(_ret, _lib, retain: true, release: true); } static NSMutableOrderedSet orderedSetWithOrderedSet_( - AVFAudio _lib, NSOrderedSet set) { - final _ret = _lib._objc_msgSend_492(_lib._class_NSMutableOrderedSet1, - _lib._sel_orderedSetWithOrderedSet_1, set._id); + AVFAudio _lib, + NSOrderedSet set, + ) { + final _ret = _lib._objc_msgSend_492( + _lib._class_NSMutableOrderedSet1, + _lib._sel_orderedSetWithOrderedSet_1, + set.pointer, + ); return NSMutableOrderedSet._(_ret, _lib, retain: true, release: true); } static NSMutableOrderedSet orderedSetWithOrderedSet_range_copyItems_( - AVFAudio _lib, NSOrderedSet set, _NSRange range, bool flag) { + AVFAudio _lib, + NSOrderedSet set, + _NSRange range, + bool flag, + ) { final _ret = _lib._objc_msgSend_493( - _lib._class_NSMutableOrderedSet1, - _lib._sel_orderedSetWithOrderedSet_range_copyItems_1, - set._id, - range, - flag); + _lib._class_NSMutableOrderedSet1, + _lib._sel_orderedSetWithOrderedSet_range_copyItems_1, + set.pointer, + range, + flag, + ); return NSMutableOrderedSet._(_ret, _lib, retain: false, release: true); } static NSMutableOrderedSet orderedSetWithArray_( - AVFAudio _lib, NSArray array) { - final _ret = _lib._objc_msgSend_125(_lib._class_NSMutableOrderedSet1, - _lib._sel_orderedSetWithArray_1, array._id); + AVFAudio _lib, + NSArray array, + ) { + final _ret = _lib._objc_msgSend_125( + _lib._class_NSMutableOrderedSet1, + _lib._sel_orderedSetWithArray_1, + array.pointer, + ); return NSMutableOrderedSet._(_ret, _lib, retain: true, release: true); } static NSMutableOrderedSet orderedSetWithArray_range_copyItems_( - AVFAudio _lib, NSArray array, _NSRange range, bool flag) { + AVFAudio _lib, + NSArray array, + _NSRange range, + bool flag, + ) { final _ret = _lib._objc_msgSend_494( - _lib._class_NSMutableOrderedSet1, - _lib._sel_orderedSetWithArray_range_copyItems_1, - array._id, - range, - flag); + _lib._class_NSMutableOrderedSet1, + _lib._sel_orderedSetWithArray_range_copyItems_1, + array.pointer, + range, + flag, + ); return NSMutableOrderedSet._(_ret, _lib, retain: false, release: true); } static NSMutableOrderedSet orderedSetWithSet_(AVFAudio _lib, NSSet set) { - final _ret = _lib._objc_msgSend_411(_lib._class_NSMutableOrderedSet1, - _lib._sel_orderedSetWithSet_1, set._id); + final _ret = _lib._objc_msgSend_411( + _lib._class_NSMutableOrderedSet1, + _lib._sel_orderedSetWithSet_1, + set.pointer, + ); return NSMutableOrderedSet._(_ret, _lib, retain: true, release: true); } static NSMutableOrderedSet orderedSetWithSet_copyItems_( - AVFAudio _lib, NSSet set, bool flag) { - final _ret = _lib._objc_msgSend_412(_lib._class_NSMutableOrderedSet1, - _lib._sel_orderedSetWithSet_copyItems_1, set._id, flag); + AVFAudio _lib, + NSSet set, + bool flag, + ) { + final _ret = _lib._objc_msgSend_412( + _lib._class_NSMutableOrderedSet1, + _lib._sel_orderedSetWithSet_copyItems_1, + set.pointer, + flag, + ); return NSMutableOrderedSet._(_ret, _lib, retain: false, release: true); } @override NSMutableOrderedSet initWithObject_(NSObject object) { - final _ret = - _lib._objc_msgSend_124(_id, _lib._sel_initWithObject_1, object._id); + final _ret = _lib._objc_msgSend_124( + this.pointer, + _lib._sel_initWithObject_1, + object.pointer, + ); return NSMutableOrderedSet._(_ret, _lib, retain: true, release: true); } @override NSMutableOrderedSet initWithObjects_(NSObject firstObj) { - final _ret = - _lib._objc_msgSend_124(_id, _lib._sel_initWithObjects_1, firstObj._id); + final _ret = _lib._objc_msgSend_124( + this.pointer, + _lib._sel_initWithObjects_1, + firstObj.pointer, + ); return NSMutableOrderedSet._(_ret, _lib, retain: true, release: true); } @override NSMutableOrderedSet initWithOrderedSet_(NSOrderedSet set) { - final _ret = - _lib._objc_msgSend_492(_id, _lib._sel_initWithOrderedSet_1, set._id); + final _ret = _lib._objc_msgSend_492( + this.pointer, + _lib._sel_initWithOrderedSet_1, + set.pointer, + ); return NSMutableOrderedSet._(_ret, _lib, retain: true, release: true); } @override NSMutableOrderedSet initWithOrderedSet_copyItems_( - NSOrderedSet set, bool flag) { + NSOrderedSet set, + bool flag, + ) { final _ret = _lib._objc_msgSend_495( - _id, _lib._sel_initWithOrderedSet_copyItems_1, set._id, flag); + this.pointer, + _lib._sel_initWithOrderedSet_copyItems_1, + set.pointer, + flag, + ); return NSMutableOrderedSet._(_ret, _lib, retain: false, release: true); } @override NSMutableOrderedSet initWithOrderedSet_range_copyItems_( - NSOrderedSet set, _NSRange range, bool flag) { - final _ret = _lib._objc_msgSend_493(_id, - _lib._sel_initWithOrderedSet_range_copyItems_1, set._id, range, flag); + NSOrderedSet set, + _NSRange range, + bool flag, + ) { + final _ret = _lib._objc_msgSend_493( + this.pointer, + _lib._sel_initWithOrderedSet_range_copyItems_1, + set.pointer, + range, + flag, + ); return NSMutableOrderedSet._(_ret, _lib, retain: false, release: true); } @override NSMutableOrderedSet initWithArray_(NSArray array) { - final _ret = - _lib._objc_msgSend_125(_id, _lib._sel_initWithArray_1, array._id); + final _ret = _lib._objc_msgSend_125( + this.pointer, + _lib._sel_initWithArray_1, + array.pointer, + ); return NSMutableOrderedSet._(_ret, _lib, retain: true, release: true); } @override NSMutableOrderedSet initWithArray_copyItems_(NSArray set, bool flag) { final _ret = _lib._objc_msgSend_126( - _id, _lib._sel_initWithArray_copyItems_1, set._id, flag); + this.pointer, + _lib._sel_initWithArray_copyItems_1, + set.pointer, + flag, + ); return NSMutableOrderedSet._(_ret, _lib, retain: false, release: true); } @override NSMutableOrderedSet initWithArray_range_copyItems_( - NSArray set, _NSRange range, bool flag) { + NSArray set, + _NSRange range, + bool flag, + ) { final _ret = _lib._objc_msgSend_494( - _id, _lib._sel_initWithArray_range_copyItems_1, set._id, range, flag); + this.pointer, + _lib._sel_initWithArray_range_copyItems_1, + set.pointer, + range, + flag, + ); return NSMutableOrderedSet._(_ret, _lib, retain: false, release: true); } @override NSMutableOrderedSet initWithSet_(NSSet set) { - final _ret = _lib._objc_msgSend_411(_id, _lib._sel_initWithSet_1, set._id); + final _ret = _lib._objc_msgSend_411( + this.pointer, + _lib._sel_initWithSet_1, + set.pointer, + ); return NSMutableOrderedSet._(_ret, _lib, retain: true, release: true); } @override NSMutableOrderedSet initWithSet_copyItems_(NSSet set, bool flag) { final _ret = _lib._objc_msgSend_412( - _id, _lib._sel_initWithSet_copyItems_1, set._id, flag); + this.pointer, + _lib._sel_initWithSet_copyItems_1, + set.pointer, + flag, + ); return NSMutableOrderedSet._(_ret, _lib, retain: false, release: true); } static NSMutableOrderedSet new1(AVFAudio _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSMutableOrderedSet1, _lib._sel_new1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSMutableOrderedSet1, + _lib._sel_new1, + ); return NSMutableOrderedSet._(_ret, _lib, retain: false, release: true); } static NSMutableOrderedSet allocWithZone_( - AVFAudio _lib, ffi.Pointer<_NSZone> zone) { + AVFAudio _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSMutableOrderedSet1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSMutableOrderedSet1, + _lib._sel_allocWithZone_1, + zone, + ); return NSMutableOrderedSet._(_ret, _lib, retain: false, release: true); } static NSMutableOrderedSet alloc(AVFAudio _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSMutableOrderedSet1, _lib._sel_alloc1); + _lib._class_NSMutableOrderedSet1, + _lib._sel_alloc1, + ); return NSMutableOrderedSet._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + AVFAudio _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSMutableOrderedSet1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSMutableOrderedSet1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSMutableOrderedSet1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + AVFAudio _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSMutableOrderedSet1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { - return _lib._objc_msgSend_12(_lib._class_NSMutableOrderedSet1, - _lib._sel_accessInstanceVariablesDirectly1); + return _lib._objc_msgSend_12( + _lib._class_NSMutableOrderedSet1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(AVFAudio _lib) { return _lib._objc_msgSend_12( - _lib._class_NSMutableOrderedSet1, _lib._sel_useStoredAccessor1); + _lib._class_NSMutableOrderedSet1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSMutableOrderedSet1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSMutableOrderedSet1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSMutableOrderedSet1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSMutableOrderedSet1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, NSArray keys, NSString dependentKey) { + AVFAudio _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSMutableOrderedSet1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSMutableOrderedSet1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_85(_lib._class_NSMutableOrderedSet1, - _lib._sel_classFallbacksForKeyedArchiver1); + final _ret = _lib._objc_msgSend_85( + _lib._class_NSMutableOrderedSet1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(AVFAudio _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSMutableOrderedSet1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSMutableOrderedSet1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } class NSOrderedSet extends NSObject { - NSOrderedSet._(ffi.Pointer id, AVFAudio lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSOrderedSet._( + ffi.Pointer pointer, + AVFAudio lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSOrderedSet] that points to the same underlying object as [other]. - static NSOrderedSet castFrom(T other) { - return NSOrderedSet._(other._id, other._lib, retain: true, release: true); + static NSOrderedSet castFrom( + AVFAudio lib, + T other, + ) { + return NSOrderedSet._(other.pointer, lib, retain: true, release: true); } /// Returns a [NSOrderedSet] that wraps the given raw object pointer. static NSOrderedSet castFromPointer( - AVFAudio lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + AVFAudio lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSOrderedSet._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSOrderedSet]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_NSOrderedSet1); + static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSOrderedSet1, + ); } int get count { - return _lib._objc_msgSend_10(_id, _lib._sel_count1); + return _lib._objc_msgSend_10(this.pointer, _lib._sel_count1); } NSObject objectAtIndex_(int idx) { - final _ret = _lib._objc_msgSend_65(_id, _lib._sel_objectAtIndex_1, idx); + final _ret = _lib._objc_msgSend_65( + this.pointer, + _lib._sel_objectAtIndex_1, + idx, + ); return NSObject._(_ret, _lib, retain: true, release: true); } int indexOfObject_(NSObject object) { - return _lib._objc_msgSend_74(_id, _lib._sel_indexOfObject_1, object._id); + return _lib._objc_msgSend_74( + this.pointer, + _lib._sel_indexOfObject_1, + object.pointer, + ); } @override NSOrderedSet init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSOrderedSet._(_ret, _lib, retain: true, release: true); } NSOrderedSet initWithObjects_count_( - ffi.Pointer> objects, int cnt) { + ffi.Pointer> objects, + int cnt, + ) { final _ret = _lib._objc_msgSend_66( - _id, _lib._sel_initWithObjects_count_1, objects, cnt); + this.pointer, + _lib._sel_initWithObjects_count_1, + objects, + cnt, + ); return NSOrderedSet._(_ret, _lib, retain: true, release: true); } NSOrderedSet? initWithCoder_(NSCoder coder) { - final _ret = - _lib._objc_msgSend_47(_id, _lib._sel_initWithCoder_1, coder._id); + final _ret = _lib._objc_msgSend_47( + this.pointer, + _lib._sel_initWithCoder_1, + coder.pointer, + ); return _ret.address == 0 ? null : NSOrderedSet._(_ret, _lib, retain: true, release: true); } void getObjects_range_( - ffi.Pointer> objects, _NSRange range) { - _lib._objc_msgSend_73(_id, _lib._sel_getObjects_range_1, objects, range); + ffi.Pointer> objects, + _NSRange range, + ) { + _lib._objc_msgSend_73( + this.pointer, + _lib._sel_getObjects_range_1, + objects, + range, + ); } NSArray objectsAtIndexes_(NSIndexSet indexes) { - final _ret = - _lib._objc_msgSend_111(_id, _lib._sel_objectsAtIndexes_1, indexes._id); + final _ret = _lib._objc_msgSend_111( + this.pointer, + _lib._sel_objectsAtIndexes_1, + indexes.pointer, + ); return NSArray._(_ret, _lib, retain: true, release: true); } NSObject? get firstObject { - final _ret = _lib._objc_msgSend_17(_id, _lib._sel_firstObject1); + final _ret = _lib._objc_msgSend_17(this.pointer, _lib._sel_firstObject1); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } NSObject? get lastObject { - final _ret = _lib._objc_msgSend_17(_id, _lib._sel_lastObject1); + final _ret = _lib._objc_msgSend_17(this.pointer, _lib._sel_lastObject1); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); @@ -48176,515 +62938,790 @@ class NSOrderedSet extends NSObject { bool isEqualToOrderedSet_(NSOrderedSet other) { return _lib._objc_msgSend_489( - _id, _lib._sel_isEqualToOrderedSet_1, other._id); + this.pointer, + _lib._sel_isEqualToOrderedSet_1, + other.pointer, + ); } bool containsObject_(NSObject object) { - return _lib._objc_msgSend_0(_id, _lib._sel_containsObject_1, object._id); + return _lib._objc_msgSend_0( + this.pointer, + _lib._sel_containsObject_1, + object.pointer, + ); } bool intersectsOrderedSet_(NSOrderedSet other) { return _lib._objc_msgSend_489( - _id, _lib._sel_intersectsOrderedSet_1, other._id); + this.pointer, + _lib._sel_intersectsOrderedSet_1, + other.pointer, + ); } bool intersectsSet_(NSSet set) { - return _lib._objc_msgSend_403(_id, _lib._sel_intersectsSet_1, set._id); + return _lib._objc_msgSend_403( + this.pointer, + _lib._sel_intersectsSet_1, + set.pointer, + ); } bool isSubsetOfOrderedSet_(NSOrderedSet other) { return _lib._objc_msgSend_489( - _id, _lib._sel_isSubsetOfOrderedSet_1, other._id); + this.pointer, + _lib._sel_isSubsetOfOrderedSet_1, + other.pointer, + ); } bool isSubsetOfSet_(NSSet set) { - return _lib._objc_msgSend_403(_id, _lib._sel_isSubsetOfSet_1, set._id); + return _lib._objc_msgSend_403( + this.pointer, + _lib._sel_isSubsetOfSet_1, + set.pointer, + ); } NSObject objectAtIndexedSubscript_(int idx) { - final _ret = - _lib._objc_msgSend_65(_id, _lib._sel_objectAtIndexedSubscript_1, idx); + final _ret = _lib._objc_msgSend_65( + this.pointer, + _lib._sel_objectAtIndexedSubscript_1, + idx, + ); return NSObject._(_ret, _lib, retain: true, release: true); } NSEnumerator objectEnumerator() { - final _ret = _lib._objc_msgSend_77(_id, _lib._sel_objectEnumerator1); + final _ret = _lib._objc_msgSend_77( + this.pointer, + _lib._sel_objectEnumerator1, + ); return NSEnumerator._(_ret, _lib, retain: true, release: true); } NSEnumerator reverseObjectEnumerator() { - final _ret = _lib._objc_msgSend_77(_id, _lib._sel_reverseObjectEnumerator1); + final _ret = _lib._objc_msgSend_77( + this.pointer, + _lib._sel_reverseObjectEnumerator1, + ); return NSEnumerator._(_ret, _lib, retain: true, release: true); } NSOrderedSet get reversedOrderedSet { - final _ret = _lib._objc_msgSend_490(_id, _lib._sel_reversedOrderedSet1); + final _ret = _lib._objc_msgSend_490( + this.pointer, + _lib._sel_reversedOrderedSet1, + ); return NSOrderedSet._(_ret, _lib, retain: true, release: true); } NSArray get array { - final _ret = _lib._objc_msgSend_85(_id, _lib._sel_array1); + final _ret = _lib._objc_msgSend_85(this.pointer, _lib._sel_array1); return NSArray._(_ret, _lib, retain: true, release: true); } NSSet get set1 { - final _ret = _lib._objc_msgSend_491(_id, _lib._sel_set1); + final _ret = _lib._objc_msgSend_491(this.pointer, _lib._sel_set1); return NSSet._(_ret, _lib, retain: true, release: true); } void enumerateObjectsUsingBlock_( - ObjCBlock_ffiVoid_ObjCObject_ffiUnsignedLong_bool block) { + ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool block, + ) { _lib._objc_msgSend_112( - _id, _lib._sel_enumerateObjectsUsingBlock_1, block._id); + this.pointer, + _lib._sel_enumerateObjectsUsingBlock_1, + block.pointer, + ); } void enumerateObjectsWithOptions_usingBlock_( - int opts, ObjCBlock_ffiVoid_ObjCObject_ffiUnsignedLong_bool block) { - _lib._objc_msgSend_113(_id, - _lib._sel_enumerateObjectsWithOptions_usingBlock_1, opts, block._id); + int opts, + ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool block, + ) { + _lib._objc_msgSend_113( + this.pointer, + _lib._sel_enumerateObjectsWithOptions_usingBlock_1, + opts, + block.pointer, + ); } - void enumerateObjectsAtIndexes_options_usingBlock_(NSIndexSet s, int opts, - ObjCBlock_ffiVoid_ObjCObject_ffiUnsignedLong_bool block) { + void enumerateObjectsAtIndexes_options_usingBlock_( + NSIndexSet s, + int opts, + ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool block, + ) { _lib._objc_msgSend_114( - _id, - _lib._sel_enumerateObjectsAtIndexes_options_usingBlock_1, - s._id, - opts, - block._id); + this.pointer, + _lib._sel_enumerateObjectsAtIndexes_options_usingBlock_1, + s.pointer, + opts, + block.pointer, + ); } int indexOfObjectPassingTest_( - ObjCBlock_bool_ObjCObject_ffiUnsignedLong_bool predicate) { + ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool predicate, + ) { return _lib._objc_msgSend_115( - _id, _lib._sel_indexOfObjectPassingTest_1, predicate._id); + this.pointer, + _lib._sel_indexOfObjectPassingTest_1, + predicate.pointer, + ); } int indexOfObjectWithOptions_passingTest_( - int opts, ObjCBlock_bool_ObjCObject_ffiUnsignedLong_bool predicate) { - return _lib._objc_msgSend_116(_id, - _lib._sel_indexOfObjectWithOptions_passingTest_1, opts, predicate._id); + int opts, + ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool predicate, + ) { + return _lib._objc_msgSend_116( + this.pointer, + _lib._sel_indexOfObjectWithOptions_passingTest_1, + opts, + predicate.pointer, + ); } - int indexOfObjectAtIndexes_options_passingTest_(NSIndexSet s, int opts, - ObjCBlock_bool_ObjCObject_ffiUnsignedLong_bool predicate) { + int indexOfObjectAtIndexes_options_passingTest_( + NSIndexSet s, + int opts, + ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool predicate, + ) { return _lib._objc_msgSend_117( - _id, - _lib._sel_indexOfObjectAtIndexes_options_passingTest_1, - s._id, - opts, - predicate._id); + this.pointer, + _lib._sel_indexOfObjectAtIndexes_options_passingTest_1, + s.pointer, + opts, + predicate.pointer, + ); } NSIndexSet indexesOfObjectsPassingTest_( - ObjCBlock_bool_ObjCObject_ffiUnsignedLong_bool predicate) { + ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool predicate, + ) { final _ret = _lib._objc_msgSend_118( - _id, _lib._sel_indexesOfObjectsPassingTest_1, predicate._id); + this.pointer, + _lib._sel_indexesOfObjectsPassingTest_1, + predicate.pointer, + ); return NSIndexSet._(_ret, _lib, retain: true, release: true); } NSIndexSet indexesOfObjectsWithOptions_passingTest_( - int opts, ObjCBlock_bool_ObjCObject_ffiUnsignedLong_bool predicate) { + int opts, + ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool predicate, + ) { final _ret = _lib._objc_msgSend_119( - _id, - _lib._sel_indexesOfObjectsWithOptions_passingTest_1, - opts, - predicate._id); + this.pointer, + _lib._sel_indexesOfObjectsWithOptions_passingTest_1, + opts, + predicate.pointer, + ); return NSIndexSet._(_ret, _lib, retain: true, release: true); } - NSIndexSet indexesOfObjectsAtIndexes_options_passingTest_(NSIndexSet s, - int opts, ObjCBlock_bool_ObjCObject_ffiUnsignedLong_bool predicate) { + NSIndexSet indexesOfObjectsAtIndexes_options_passingTest_( + NSIndexSet s, + int opts, + ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool predicate, + ) { final _ret = _lib._objc_msgSend_120( - _id, - _lib._sel_indexesOfObjectsAtIndexes_options_passingTest_1, - s._id, - opts, - predicate._id); + this.pointer, + _lib._sel_indexesOfObjectsAtIndexes_options_passingTest_1, + s.pointer, + opts, + predicate.pointer, + ); return NSIndexSet._(_ret, _lib, retain: true, release: true); } int indexOfObject_inSortedRange_options_usingComparator_( - NSObject object, - _NSRange range, - int opts, - ObjCBlock_NSComparisonResult_ObjCObject_ObjCObject cmp) { + NSObject object, + _NSRange range, + int opts, + ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject cmp, + ) { return _lib._objc_msgSend_123( - _id, - _lib._sel_indexOfObject_inSortedRange_options_usingComparator_1, - object._id, - range, - opts, - cmp._id); + this.pointer, + _lib._sel_indexOfObject_inSortedRange_options_usingComparator_1, + object.pointer, + range, + opts, + cmp.pointer, + ); } NSArray sortedArrayUsingComparator_( - ObjCBlock_NSComparisonResult_ObjCObject_ObjCObject cmptr) { + ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject cmptr, + ) { final _ret = _lib._objc_msgSend_121( - _id, _lib._sel_sortedArrayUsingComparator_1, cmptr._id); + this.pointer, + _lib._sel_sortedArrayUsingComparator_1, + cmptr.pointer, + ); return NSArray._(_ret, _lib, retain: true, release: true); } NSArray sortedArrayWithOptions_usingComparator_( - int opts, ObjCBlock_NSComparisonResult_ObjCObject_ObjCObject cmptr) { - final _ret = _lib._objc_msgSend_122(_id, - _lib._sel_sortedArrayWithOptions_usingComparator_1, opts, cmptr._id); + int opts, + ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject cmptr, + ) { + final _ret = _lib._objc_msgSend_122( + this.pointer, + _lib._sel_sortedArrayWithOptions_usingComparator_1, + opts, + cmptr.pointer, + ); return NSArray._(_ret, _lib, retain: true, release: true); } NSString get description { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_description1); + final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_description1); return NSString._(_ret, _lib, retain: true, release: true); } NSString descriptionWithLocale_(NSObject? locale) { final _ret = _lib._objc_msgSend_70( - _id, _lib._sel_descriptionWithLocale_1, locale?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_descriptionWithLocale_1, + locale?.pointer ?? ffi.nullptr, + ); return NSString._(_ret, _lib, retain: true, release: true); } NSString descriptionWithLocale_indent_(NSObject? locale, int level) { final _ret = _lib._objc_msgSend_71( - _id, - _lib._sel_descriptionWithLocale_indent_1, - locale?._id ?? ffi.nullptr, - level); + this.pointer, + _lib._sel_descriptionWithLocale_indent_1, + locale?.pointer ?? ffi.nullptr, + level, + ); return NSString._(_ret, _lib, retain: true, release: true); } static NSOrderedSet orderedSet(AVFAudio _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSOrderedSet1, _lib._sel_orderedSet1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSOrderedSet1, + _lib._sel_orderedSet1, + ); return NSOrderedSet._(_ret, _lib, retain: true, release: true); } static NSOrderedSet orderedSetWithObject_(AVFAudio _lib, NSObject object) { - final _ret = _lib._objc_msgSend_124(_lib._class_NSOrderedSet1, - _lib._sel_orderedSetWithObject_1, object._id); + final _ret = _lib._objc_msgSend_124( + _lib._class_NSOrderedSet1, + _lib._sel_orderedSetWithObject_1, + object.pointer, + ); return NSOrderedSet._(_ret, _lib, retain: true, release: true); } static NSOrderedSet orderedSetWithObjects_count_( - AVFAudio _lib, ffi.Pointer> objects, int cnt) { - final _ret = _lib._objc_msgSend_66(_lib._class_NSOrderedSet1, - _lib._sel_orderedSetWithObjects_count_1, objects, cnt); + AVFAudio _lib, + ffi.Pointer> objects, + int cnt, + ) { + final _ret = _lib._objc_msgSend_66( + _lib._class_NSOrderedSet1, + _lib._sel_orderedSetWithObjects_count_1, + objects, + cnt, + ); return NSOrderedSet._(_ret, _lib, retain: true, release: true); } static NSOrderedSet orderedSetWithObjects_(AVFAudio _lib, NSObject firstObj) { - final _ret = _lib._objc_msgSend_124(_lib._class_NSOrderedSet1, - _lib._sel_orderedSetWithObjects_1, firstObj._id); + final _ret = _lib._objc_msgSend_124( + _lib._class_NSOrderedSet1, + _lib._sel_orderedSetWithObjects_1, + firstObj.pointer, + ); return NSOrderedSet._(_ret, _lib, retain: true, release: true); } static NSOrderedSet orderedSetWithOrderedSet_( - AVFAudio _lib, NSOrderedSet set) { - final _ret = _lib._objc_msgSend_492(_lib._class_NSOrderedSet1, - _lib._sel_orderedSetWithOrderedSet_1, set._id); + AVFAudio _lib, + NSOrderedSet set, + ) { + final _ret = _lib._objc_msgSend_492( + _lib._class_NSOrderedSet1, + _lib._sel_orderedSetWithOrderedSet_1, + set.pointer, + ); return NSOrderedSet._(_ret, _lib, retain: true, release: true); } static NSOrderedSet orderedSetWithOrderedSet_range_copyItems_( - AVFAudio _lib, NSOrderedSet set, _NSRange range, bool flag) { + AVFAudio _lib, + NSOrderedSet set, + _NSRange range, + bool flag, + ) { final _ret = _lib._objc_msgSend_493( - _lib._class_NSOrderedSet1, - _lib._sel_orderedSetWithOrderedSet_range_copyItems_1, - set._id, - range, - flag); + _lib._class_NSOrderedSet1, + _lib._sel_orderedSetWithOrderedSet_range_copyItems_1, + set.pointer, + range, + flag, + ); return NSOrderedSet._(_ret, _lib, retain: false, release: true); } static NSOrderedSet orderedSetWithArray_(AVFAudio _lib, NSArray array) { final _ret = _lib._objc_msgSend_125( - _lib._class_NSOrderedSet1, _lib._sel_orderedSetWithArray_1, array._id); + _lib._class_NSOrderedSet1, + _lib._sel_orderedSetWithArray_1, + array.pointer, + ); return NSOrderedSet._(_ret, _lib, retain: true, release: true); } static NSOrderedSet orderedSetWithArray_range_copyItems_( - AVFAudio _lib, NSArray array, _NSRange range, bool flag) { + AVFAudio _lib, + NSArray array, + _NSRange range, + bool flag, + ) { final _ret = _lib._objc_msgSend_494( - _lib._class_NSOrderedSet1, - _lib._sel_orderedSetWithArray_range_copyItems_1, - array._id, - range, - flag); + _lib._class_NSOrderedSet1, + _lib._sel_orderedSetWithArray_range_copyItems_1, + array.pointer, + range, + flag, + ); return NSOrderedSet._(_ret, _lib, retain: false, release: true); } static NSOrderedSet orderedSetWithSet_(AVFAudio _lib, NSSet set) { final _ret = _lib._objc_msgSend_411( - _lib._class_NSOrderedSet1, _lib._sel_orderedSetWithSet_1, set._id); + _lib._class_NSOrderedSet1, + _lib._sel_orderedSetWithSet_1, + set.pointer, + ); return NSOrderedSet._(_ret, _lib, retain: true, release: true); } static NSOrderedSet orderedSetWithSet_copyItems_( - AVFAudio _lib, NSSet set, bool flag) { - final _ret = _lib._objc_msgSend_412(_lib._class_NSOrderedSet1, - _lib._sel_orderedSetWithSet_copyItems_1, set._id, flag); + AVFAudio _lib, + NSSet set, + bool flag, + ) { + final _ret = _lib._objc_msgSend_412( + _lib._class_NSOrderedSet1, + _lib._sel_orderedSetWithSet_copyItems_1, + set.pointer, + flag, + ); return NSOrderedSet._(_ret, _lib, retain: false, release: true); } NSOrderedSet initWithObject_(NSObject object) { - final _ret = - _lib._objc_msgSend_124(_id, _lib._sel_initWithObject_1, object._id); + final _ret = _lib._objc_msgSend_124( + this.pointer, + _lib._sel_initWithObject_1, + object.pointer, + ); return NSOrderedSet._(_ret, _lib, retain: true, release: true); } NSOrderedSet initWithObjects_(NSObject firstObj) { - final _ret = - _lib._objc_msgSend_124(_id, _lib._sel_initWithObjects_1, firstObj._id); + final _ret = _lib._objc_msgSend_124( + this.pointer, + _lib._sel_initWithObjects_1, + firstObj.pointer, + ); return NSOrderedSet._(_ret, _lib, retain: true, release: true); } NSOrderedSet initWithOrderedSet_(NSOrderedSet set) { - final _ret = - _lib._objc_msgSend_492(_id, _lib._sel_initWithOrderedSet_1, set._id); + final _ret = _lib._objc_msgSend_492( + this.pointer, + _lib._sel_initWithOrderedSet_1, + set.pointer, + ); return NSOrderedSet._(_ret, _lib, retain: true, release: true); } NSOrderedSet initWithOrderedSet_copyItems_(NSOrderedSet set, bool flag) { final _ret = _lib._objc_msgSend_495( - _id, _lib._sel_initWithOrderedSet_copyItems_1, set._id, flag); + this.pointer, + _lib._sel_initWithOrderedSet_copyItems_1, + set.pointer, + flag, + ); return NSOrderedSet._(_ret, _lib, retain: false, release: true); } NSOrderedSet initWithOrderedSet_range_copyItems_( - NSOrderedSet set, _NSRange range, bool flag) { - final _ret = _lib._objc_msgSend_493(_id, - _lib._sel_initWithOrderedSet_range_copyItems_1, set._id, range, flag); + NSOrderedSet set, + _NSRange range, + bool flag, + ) { + final _ret = _lib._objc_msgSend_493( + this.pointer, + _lib._sel_initWithOrderedSet_range_copyItems_1, + set.pointer, + range, + flag, + ); return NSOrderedSet._(_ret, _lib, retain: false, release: true); } NSOrderedSet initWithArray_(NSArray array) { - final _ret = - _lib._objc_msgSend_125(_id, _lib._sel_initWithArray_1, array._id); + final _ret = _lib._objc_msgSend_125( + this.pointer, + _lib._sel_initWithArray_1, + array.pointer, + ); return NSOrderedSet._(_ret, _lib, retain: true, release: true); } NSOrderedSet initWithArray_copyItems_(NSArray set, bool flag) { final _ret = _lib._objc_msgSend_126( - _id, _lib._sel_initWithArray_copyItems_1, set._id, flag); + this.pointer, + _lib._sel_initWithArray_copyItems_1, + set.pointer, + flag, + ); return NSOrderedSet._(_ret, _lib, retain: false, release: true); } NSOrderedSet initWithArray_range_copyItems_( - NSArray set, _NSRange range, bool flag) { + NSArray set, + _NSRange range, + bool flag, + ) { final _ret = _lib._objc_msgSend_494( - _id, _lib._sel_initWithArray_range_copyItems_1, set._id, range, flag); + this.pointer, + _lib._sel_initWithArray_range_copyItems_1, + set.pointer, + range, + flag, + ); return NSOrderedSet._(_ret, _lib, retain: false, release: true); } NSOrderedSet initWithSet_(NSSet set) { - final _ret = _lib._objc_msgSend_411(_id, _lib._sel_initWithSet_1, set._id); + final _ret = _lib._objc_msgSend_411( + this.pointer, + _lib._sel_initWithSet_1, + set.pointer, + ); return NSOrderedSet._(_ret, _lib, retain: true, release: true); } NSOrderedSet initWithSet_copyItems_(NSSet set, bool flag) { final _ret = _lib._objc_msgSend_412( - _id, _lib._sel_initWithSet_copyItems_1, set._id, flag); + this.pointer, + _lib._sel_initWithSet_copyItems_1, + set.pointer, + flag, + ); return NSOrderedSet._(_ret, _lib, retain: false, release: true); } NSObject differenceFromOrderedSet_withOptions_usingEquivalenceTest_( - NSOrderedSet other, - int options, - ObjCBlock_bool_ObjCObject_ObjCObject block) { + NSOrderedSet other, + int options, + ObjCBlock_bool_objcObjCObject_objcObjCObject block, + ) { final _ret = _lib._objc_msgSend_496( - _id, - _lib._sel_differenceFromOrderedSet_withOptions_usingEquivalenceTest_1, - other._id, - options, - block._id); + this.pointer, + _lib._sel_differenceFromOrderedSet_withOptions_usingEquivalenceTest_1, + other.pointer, + options, + block.pointer, + ); return NSObject._(_ret, _lib, retain: true, release: true); } NSObject differenceFromOrderedSet_withOptions_( - NSOrderedSet other, int options) { - final _ret = _lib._objc_msgSend_497(_id, - _lib._sel_differenceFromOrderedSet_withOptions_1, other._id, options); + NSOrderedSet other, + int options, + ) { + final _ret = _lib._objc_msgSend_497( + this.pointer, + _lib._sel_differenceFromOrderedSet_withOptions_1, + other.pointer, + options, + ); return NSObject._(_ret, _lib, retain: true, release: true); } NSObject differenceFromOrderedSet_(NSOrderedSet other) { final _ret = _lib._objc_msgSend_492( - _id, _lib._sel_differenceFromOrderedSet_1, other._id); + this.pointer, + _lib._sel_differenceFromOrderedSet_1, + other.pointer, + ); return NSObject._(_ret, _lib, retain: true, release: true); } NSOrderedSet? orderedSetByApplyingDifference_(NSObject difference) { final _ret = _lib._objc_msgSend_498( - _id, _lib._sel_orderedSetByApplyingDifference_1, difference._id); + this.pointer, + _lib._sel_orderedSetByApplyingDifference_1, + difference.pointer, + ); return _ret.address == 0 ? null : NSOrderedSet._(_ret, _lib, retain: true, release: true); } NSObject valueForKey_(NSString key) { - final _ret = _lib._objc_msgSend_31(_id, _lib._sel_valueForKey_1, key._id); + final _ret = _lib._objc_msgSend_31( + this.pointer, + _lib._sel_valueForKey_1, + key.pointer, + ); return NSObject._(_ret, _lib, retain: true, release: true); } @override void setValue_forKey_(NSObject? value, NSString key) { _lib._objc_msgSend_135( - _id, _lib._sel_setValue_forKey_1, value?._id ?? ffi.nullptr, key._id); + this.pointer, + _lib._sel_setValue_forKey_1, + value?.pointer ?? ffi.nullptr, + key.pointer, + ); } @override - void addObserver_forKeyPath_options_context_(NSObject observer, - NSString keyPath, int options, ffi.Pointer context) { + void addObserver_forKeyPath_options_context_( + NSObject observer, + NSString keyPath, + int options, + ffi.Pointer context, + ) { _lib._objc_msgSend_139( - _id, - _lib._sel_addObserver_forKeyPath_options_context_1, - observer._id, - keyPath._id, - options, - context); + this.pointer, + _lib._sel_addObserver_forKeyPath_options_context_1, + observer.pointer, + keyPath.pointer, + options, + context, + ); } @override void removeObserver_forKeyPath_context_( - NSObject observer, NSString keyPath, ffi.Pointer context) { - _lib._objc_msgSend_140(_id, _lib._sel_removeObserver_forKeyPath_context_1, - observer._id, keyPath._id, context); + NSObject observer, + NSString keyPath, + ffi.Pointer context, + ) { + _lib._objc_msgSend_140( + this.pointer, + _lib._sel_removeObserver_forKeyPath_context_1, + observer.pointer, + keyPath.pointer, + context, + ); } @override void removeObserver_forKeyPath_(NSObject observer, NSString keyPath) { _lib._objc_msgSend_141( - _id, _lib._sel_removeObserver_forKeyPath_1, observer._id, keyPath._id); + this.pointer, + _lib._sel_removeObserver_forKeyPath_1, + observer.pointer, + keyPath.pointer, + ); } NSArray sortedArrayUsingDescriptors_(NSArray sortDescriptors) { final _ret = _lib._objc_msgSend_68( - _id, _lib._sel_sortedArrayUsingDescriptors_1, sortDescriptors._id); + this.pointer, + _lib._sel_sortedArrayUsingDescriptors_1, + sortDescriptors.pointer, + ); return NSArray._(_ret, _lib, retain: true, release: true); } NSOrderedSet filteredOrderedSetUsingPredicate_(NSPredicate p) { final _ret = _lib._objc_msgSend_499( - _id, _lib._sel_filteredOrderedSetUsingPredicate_1, p._id); + this.pointer, + _lib._sel_filteredOrderedSetUsingPredicate_1, + p.pointer, + ); return NSOrderedSet._(_ret, _lib, retain: true, release: true); } static NSOrderedSet new1(AVFAudio _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSOrderedSet1, _lib._sel_new1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSOrderedSet1, + _lib._sel_new1, + ); return NSOrderedSet._(_ret, _lib, retain: false, release: true); } static NSOrderedSet allocWithZone_(AVFAudio _lib, ffi.Pointer<_NSZone> zone) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSOrderedSet1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSOrderedSet1, + _lib._sel_allocWithZone_1, + zone, + ); return NSOrderedSet._(_ret, _lib, retain: false, release: true); } static NSOrderedSet alloc(AVFAudio _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSOrderedSet1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSOrderedSet1, + _lib._sel_alloc1, + ); return NSOrderedSet._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + AVFAudio _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSOrderedSet1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSOrderedSet1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSOrderedSet1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + AVFAudio _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSOrderedSet1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { return _lib._objc_msgSend_12( - _lib._class_NSOrderedSet1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_NSOrderedSet1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(AVFAudio _lib) { return _lib._objc_msgSend_12( - _lib._class_NSOrderedSet1, _lib._sel_useStoredAccessor1); + _lib._class_NSOrderedSet1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSOrderedSet1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSOrderedSet1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSOrderedSet1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSOrderedSet1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, NSArray keys, NSString dependentKey) { + AVFAudio _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSOrderedSet1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSOrderedSet1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { final _ret = _lib._objc_msgSend_85( - _lib._class_NSOrderedSet1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSOrderedSet1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(AVFAudio _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSOrderedSet1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSOrderedSet1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } class NSMutableSet extends NSSet { - NSMutableSet._(ffi.Pointer id, AVFAudio lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSMutableSet._( + ffi.Pointer pointer, + AVFAudio lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSMutableSet] that points to the same underlying object as [other]. - static NSMutableSet castFrom(T other) { - return NSMutableSet._(other._id, other._lib, retain: true, release: true); + static NSMutableSet castFrom( + AVFAudio lib, + T other, + ) { + return NSMutableSet._(other.pointer, lib, retain: true, release: true); } /// Returns a [NSMutableSet] that wraps the given raw object pointer. static NSMutableSet castFromPointer( - AVFAudio lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + AVFAudio lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSMutableSet._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSMutableSet]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_NSMutableSet1); + static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSMutableSet1, + ); } void addObject_(NSObject object) { - _lib._objc_msgSend_15(_id, _lib._sel_addObject_1, object._id); + _lib._objc_msgSend_15(this.pointer, _lib._sel_addObject_1, object.pointer); } void removeObject_(NSObject object) { - _lib._objc_msgSend_15(_id, _lib._sel_removeObject_1, object._id); + _lib._objc_msgSend_15( + this.pointer, + _lib._sel_removeObject_1, + object.pointer, + ); } @override NSMutableSet? initWithCoder_(NSCoder coder) { - final _ret = - _lib._objc_msgSend_47(_id, _lib._sel_initWithCoder_1, coder._id); + final _ret = _lib._objc_msgSend_47( + this.pointer, + _lib._sel_initWithCoder_1, + coder.pointer, + ); return _ret.address == 0 ? null : NSMutableSet._(_ret, _lib, retain: true, release: true); @@ -48692,201 +63729,303 @@ class NSMutableSet extends NSSet { @override NSMutableSet init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSMutableSet._(_ret, _lib, retain: true, release: true); } NSMutableSet initWithCapacity_(int numItems) { - final _ret = - _lib._objc_msgSend_65(_id, _lib._sel_initWithCapacity_1, numItems); + final _ret = _lib._objc_msgSend_65( + this.pointer, + _lib._sel_initWithCapacity_1, + numItems, + ); return NSMutableSet._(_ret, _lib, retain: true, release: true); } void addObjectsFromArray_(NSArray array) { - _lib._objc_msgSend_472(_id, _lib._sel_addObjectsFromArray_1, array._id); + _lib._objc_msgSend_472( + this.pointer, + _lib._sel_addObjectsFromArray_1, + array.pointer, + ); } void intersectSet_(NSSet otherSet) { - _lib._objc_msgSend_504(_id, _lib._sel_intersectSet_1, otherSet._id); + _lib._objc_msgSend_504( + this.pointer, + _lib._sel_intersectSet_1, + otherSet.pointer, + ); } void minusSet_(NSSet otherSet) { - _lib._objc_msgSend_504(_id, _lib._sel_minusSet_1, otherSet._id); + _lib._objc_msgSend_504( + this.pointer, + _lib._sel_minusSet_1, + otherSet.pointer, + ); } void removeAllObjects() { - _lib._objc_msgSend_1(_id, _lib._sel_removeAllObjects1); + _lib._objc_msgSend_1(this.pointer, _lib._sel_removeAllObjects1); } void unionSet_(NSSet otherSet) { - _lib._objc_msgSend_504(_id, _lib._sel_unionSet_1, otherSet._id); + _lib._objc_msgSend_504( + this.pointer, + _lib._sel_unionSet_1, + otherSet.pointer, + ); } void setSet_(NSSet otherSet) { - _lib._objc_msgSend_504(_id, _lib._sel_setSet_1, otherSet._id); + _lib._objc_msgSend_504(this.pointer, _lib._sel_setSet_1, otherSet.pointer); } static NSMutableSet setWithCapacity_(AVFAudio _lib, int numItems) { final _ret = _lib._objc_msgSend_65( - _lib._class_NSMutableSet1, _lib._sel_setWithCapacity_1, numItems); + _lib._class_NSMutableSet1, + _lib._sel_setWithCapacity_1, + numItems, + ); return NSMutableSet._(_ret, _lib, retain: true, release: true); } void filterUsingPredicate_(NSPredicate predicate) { _lib._objc_msgSend_487( - _id, _lib._sel_filterUsingPredicate_1, predicate._id); + this.pointer, + _lib._sel_filterUsingPredicate_1, + predicate.pointer, + ); } @override NSMutableSet initWithObjects_count_( - ffi.Pointer> objects, int cnt) { + ffi.Pointer> objects, + int cnt, + ) { final _ret = _lib._objc_msgSend_66( - _id, _lib._sel_initWithObjects_count_1, objects, cnt); + this.pointer, + _lib._sel_initWithObjects_count_1, + objects, + cnt, + ); return NSMutableSet._(_ret, _lib, retain: true, release: true); } static NSMutableSet set1(AVFAudio _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSMutableSet1, _lib._sel_set1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSMutableSet1, + _lib._sel_set1, + ); return NSMutableSet._(_ret, _lib, retain: true, release: true); } static NSMutableSet setWithObject_(AVFAudio _lib, NSObject object) { final _ret = _lib._objc_msgSend_124( - _lib._class_NSMutableSet1, _lib._sel_setWithObject_1, object._id); + _lib._class_NSMutableSet1, + _lib._sel_setWithObject_1, + object.pointer, + ); return NSMutableSet._(_ret, _lib, retain: true, release: true); } static NSMutableSet setWithObjects_count_( - AVFAudio _lib, ffi.Pointer> objects, int cnt) { - final _ret = _lib._objc_msgSend_66(_lib._class_NSMutableSet1, - _lib._sel_setWithObjects_count_1, objects, cnt); + AVFAudio _lib, + ffi.Pointer> objects, + int cnt, + ) { + final _ret = _lib._objc_msgSend_66( + _lib._class_NSMutableSet1, + _lib._sel_setWithObjects_count_1, + objects, + cnt, + ); return NSMutableSet._(_ret, _lib, retain: true, release: true); } static NSMutableSet setWithObjects_(AVFAudio _lib, NSObject firstObj) { final _ret = _lib._objc_msgSend_124( - _lib._class_NSMutableSet1, _lib._sel_setWithObjects_1, firstObj._id); + _lib._class_NSMutableSet1, + _lib._sel_setWithObjects_1, + firstObj.pointer, + ); return NSMutableSet._(_ret, _lib, retain: true, release: true); } static NSMutableSet setWithSet_(AVFAudio _lib, NSSet set) { final _ret = _lib._objc_msgSend_411( - _lib._class_NSMutableSet1, _lib._sel_setWithSet_1, set._id); + _lib._class_NSMutableSet1, + _lib._sel_setWithSet_1, + set.pointer, + ); return NSMutableSet._(_ret, _lib, retain: true, release: true); } static NSMutableSet setWithArray_(AVFAudio _lib, NSArray array) { final _ret = _lib._objc_msgSend_125( - _lib._class_NSMutableSet1, _lib._sel_setWithArray_1, array._id); + _lib._class_NSMutableSet1, + _lib._sel_setWithArray_1, + array.pointer, + ); return NSMutableSet._(_ret, _lib, retain: true, release: true); } @override NSMutableSet initWithObjects_(NSObject firstObj) { - final _ret = - _lib._objc_msgSend_124(_id, _lib._sel_initWithObjects_1, firstObj._id); + final _ret = _lib._objc_msgSend_124( + this.pointer, + _lib._sel_initWithObjects_1, + firstObj.pointer, + ); return NSMutableSet._(_ret, _lib, retain: true, release: true); } @override NSMutableSet initWithSet_(NSSet set) { - final _ret = _lib._objc_msgSend_411(_id, _lib._sel_initWithSet_1, set._id); + final _ret = _lib._objc_msgSend_411( + this.pointer, + _lib._sel_initWithSet_1, + set.pointer, + ); return NSMutableSet._(_ret, _lib, retain: true, release: true); } @override NSMutableSet initWithSet_copyItems_(NSSet set, bool flag) { final _ret = _lib._objc_msgSend_412( - _id, _lib._sel_initWithSet_copyItems_1, set._id, flag); + this.pointer, + _lib._sel_initWithSet_copyItems_1, + set.pointer, + flag, + ); return NSMutableSet._(_ret, _lib, retain: false, release: true); } @override NSMutableSet initWithArray_(NSArray array) { - final _ret = - _lib._objc_msgSend_125(_id, _lib._sel_initWithArray_1, array._id); + final _ret = _lib._objc_msgSend_125( + this.pointer, + _lib._sel_initWithArray_1, + array.pointer, + ); return NSMutableSet._(_ret, _lib, retain: true, release: true); } static NSMutableSet new1(AVFAudio _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSMutableSet1, _lib._sel_new1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSMutableSet1, + _lib._sel_new1, + ); return NSMutableSet._(_ret, _lib, retain: false, release: true); } static NSMutableSet allocWithZone_(AVFAudio _lib, ffi.Pointer<_NSZone> zone) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSMutableSet1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSMutableSet1, + _lib._sel_allocWithZone_1, + zone, + ); return NSMutableSet._(_ret, _lib, retain: false, release: true); } static NSMutableSet alloc(AVFAudio _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSMutableSet1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSMutableSet1, + _lib._sel_alloc1, + ); return NSMutableSet._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + AVFAudio _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSMutableSet1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSMutableSet1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSMutableSet1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + AVFAudio _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSMutableSet1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { return _lib._objc_msgSend_12( - _lib._class_NSMutableSet1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_NSMutableSet1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(AVFAudio _lib) { return _lib._objc_msgSend_12( - _lib._class_NSMutableSet1, _lib._sel_useStoredAccessor1); + _lib._class_NSMutableSet1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSMutableSet1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSMutableSet1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSMutableSet1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSMutableSet1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, NSArray keys, NSString dependentKey) { + AVFAudio _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSMutableSet1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSMutableSet1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { final _ret = _lib._objc_msgSend_85( - _lib._class_NSMutableSet1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSMutableSet1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(AVFAudio _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSMutableSet1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSMutableSet1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } @@ -48906,46 +64045,62 @@ abstract class NSKeyValueSetMutationKind { } class NSKeyedArchiver extends NSCoder { - NSKeyedArchiver._(ffi.Pointer id, AVFAudio lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSKeyedArchiver._( + ffi.Pointer pointer, + AVFAudio lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSKeyedArchiver] that points to the same underlying object as [other]. - static NSKeyedArchiver castFrom(T other) { - return NSKeyedArchiver._(other._id, other._lib, - retain: true, release: true); + static NSKeyedArchiver castFrom( + AVFAudio lib, + T other, + ) { + return NSKeyedArchiver._(other.pointer, lib, retain: true, release: true); } /// Returns a [NSKeyedArchiver] that wraps the given raw object pointer. static NSKeyedArchiver castFromPointer( - AVFAudio lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + AVFAudio lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSKeyedArchiver._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSKeyedArchiver]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0(obj._id, obj._lib._sel_isKindOfClass_1, - obj._lib._class_NSKeyedArchiver1); + static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSKeyedArchiver1, + ); } NSKeyedArchiver initRequiringSecureCoding_(bool requiresSecureCoding) { final _ret = _lib._objc_msgSend_514( - _id, _lib._sel_initRequiringSecureCoding_1, requiresSecureCoding); + this.pointer, + _lib._sel_initRequiringSecureCoding_1, + requiresSecureCoding, + ); return NSKeyedArchiver._(_ret, _lib, retain: true, release: true); } static NSData? archivedDataWithRootObject_requiringSecureCoding_error_( - AVFAudio _lib, - NSObject object, - bool requiresSecureCoding, - ffi.Pointer> error) { + AVFAudio _lib, + NSObject object, + bool requiresSecureCoding, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_515( - _lib._class_NSKeyedArchiver1, - _lib._sel_archivedDataWithRootObject_requiringSecureCoding_error_1, - object._id, - requiresSecureCoding, - error); + _lib._class_NSKeyedArchiver1, + _lib._sel_archivedDataWithRootObject_requiringSecureCoding_error_1, + object.pointer, + requiresSecureCoding, + error, + ); return _ret.address == 0 ? null : NSData._(_ret, _lib, retain: true, release: true); @@ -48953,31 +64108,46 @@ class NSKeyedArchiver extends NSCoder { @override NSKeyedArchiver init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSKeyedArchiver._(_ret, _lib, retain: true, release: true); } NSKeyedArchiver initForWritingWithMutableData_(NSMutableData data) { final _ret = _lib._objc_msgSend_521( - _id, _lib._sel_initForWritingWithMutableData_1, data._id); + this.pointer, + _lib._sel_initForWritingWithMutableData_1, + data.pointer, + ); return NSKeyedArchiver._(_ret, _lib, retain: true, release: true); } static NSData archivedDataWithRootObject_( - AVFAudio _lib, NSObject rootObject) { - final _ret = _lib._objc_msgSend_522(_lib._class_NSKeyedArchiver1, - _lib._sel_archivedDataWithRootObject_1, rootObject._id); + AVFAudio _lib, + NSObject rootObject, + ) { + final _ret = _lib._objc_msgSend_522( + _lib._class_NSKeyedArchiver1, + _lib._sel_archivedDataWithRootObject_1, + rootObject.pointer, + ); return NSData._(_ret, _lib, retain: true, release: true); } static bool archiveRootObject_toFile_( - AVFAudio _lib, NSObject rootObject, NSString path) { - return _lib._objc_msgSend_261(_lib._class_NSKeyedArchiver1, - _lib._sel_archiveRootObject_toFile_1, rootObject._id, path._id); + AVFAudio _lib, + NSObject rootObject, + NSString path, + ) { + return _lib._objc_msgSend_261( + _lib._class_NSKeyedArchiver1, + _lib._sel_archiveRootObject_toFile_1, + rootObject.pointer, + path.pointer, + ); } NSObject? get delegate { - final _ret = _lib._objc_msgSend_17(_id, _lib._sel_delegate1); + final _ret = _lib._objc_msgSend_17(this.pointer, _lib._sel_delegate1); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); @@ -48985,38 +64155,52 @@ class NSKeyedArchiver extends NSCoder { set delegate(NSObject? value) { return _lib._objc_msgSend_416( - _id, _lib._sel_setDelegate_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setDelegate_1, + value?.pointer ?? ffi.nullptr, + ); } int get outputFormat { - return _lib._objc_msgSend_523(_id, _lib._sel_outputFormat1); + return _lib._objc_msgSend_523(this.pointer, _lib._sel_outputFormat1); } set outputFormat(int value) { - return _lib._objc_msgSend_524(_id, _lib._sel_setOutputFormat_1, value); + return _lib._objc_msgSend_524( + this.pointer, + _lib._sel_setOutputFormat_1, + value, + ); } NSData get encodedData { - final _ret = _lib._objc_msgSend_43(_id, _lib._sel_encodedData1); + final _ret = _lib._objc_msgSend_43(this.pointer, _lib._sel_encodedData1); return NSData._(_ret, _lib, retain: true, release: true); } void finishEncoding() { - _lib._objc_msgSend_1(_id, _lib._sel_finishEncoding1); + _lib._objc_msgSend_1(this.pointer, _lib._sel_finishEncoding1); } static void setClassName_forClass_( - AVFAudio _lib, NSString? codedName, NSObject cls) { + AVFAudio _lib, + NSString? codedName, + NSObject cls, + ) { _lib._objc_msgSend_525( - _lib._class_NSKeyedArchiver1, - _lib._sel_setClassName_forClass_1, - codedName?._id ?? ffi.nullptr, - cls._id); + _lib._class_NSKeyedArchiver1, + _lib._sel_setClassName_forClass_1, + codedName?.pointer ?? ffi.nullptr, + cls.pointer, + ); } static NSString? classNameForClass_(AVFAudio _lib, NSObject cls) { final _ret = _lib._objc_msgSend_526( - _lib._class_NSKeyedArchiver1, _lib._sel_classNameForClass_1, cls._id); + _lib._class_NSKeyedArchiver1, + _lib._sel_classNameForClass_1, + cls.pointer, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); @@ -49024,222 +64208,342 @@ class NSKeyedArchiver extends NSCoder { @override void encodeObject_forKey_(NSObject? object, NSString key) { - _lib._objc_msgSend_135(_id, _lib._sel_encodeObject_forKey_1, - object?._id ?? ffi.nullptr, key._id); + _lib._objc_msgSend_135( + this.pointer, + _lib._sel_encodeObject_forKey_1, + object?.pointer ?? ffi.nullptr, + key.pointer, + ); } @override void encodeConditionalObject_forKey_(NSObject? object, NSString key) { - _lib._objc_msgSend_135(_id, _lib._sel_encodeConditionalObject_forKey_1, - object?._id ?? ffi.nullptr, key._id); + _lib._objc_msgSend_135( + this.pointer, + _lib._sel_encodeConditionalObject_forKey_1, + object?.pointer ?? ffi.nullptr, + key.pointer, + ); } @override void encodeBool_forKey_(bool value, NSString key) { - _lib._objc_msgSend_296(_id, _lib._sel_encodeBool_forKey_1, value, key._id); + _lib._objc_msgSend_296( + this.pointer, + _lib._sel_encodeBool_forKey_1, + value, + key.pointer, + ); } @override void encodeInt_forKey_(int value, NSString key) { - _lib._objc_msgSend_297(_id, _lib._sel_encodeInt_forKey_1, value, key._id); + _lib._objc_msgSend_297( + this.pointer, + _lib._sel_encodeInt_forKey_1, + value, + key.pointer, + ); } @override void encodeInt32_forKey_(int value, NSString key) { - _lib._objc_msgSend_298(_id, _lib._sel_encodeInt32_forKey_1, value, key._id); + _lib._objc_msgSend_298( + this.pointer, + _lib._sel_encodeInt32_forKey_1, + value, + key.pointer, + ); } @override void encodeInt64_forKey_(int value, NSString key) { - _lib._objc_msgSend_299(_id, _lib._sel_encodeInt64_forKey_1, value, key._id); + _lib._objc_msgSend_299( + this.pointer, + _lib._sel_encodeInt64_forKey_1, + value, + key.pointer, + ); } @override void encodeFloat_forKey_(double value, NSString key) { - _lib._objc_msgSend_300(_id, _lib._sel_encodeFloat_forKey_1, value, key._id); + _lib._objc_msgSend_300( + this.pointer, + _lib._sel_encodeFloat_forKey_1, + value, + key.pointer, + ); } @override void encodeDouble_forKey_(double value, NSString key) { _lib._objc_msgSend_301( - _id, _lib._sel_encodeDouble_forKey_1, value, key._id); + this.pointer, + _lib._sel_encodeDouble_forKey_1, + value, + key.pointer, + ); } @override void encodeBytes_length_forKey_( - ffi.Pointer bytes, int length, NSString key) { + ffi.Pointer bytes, + int length, + NSString key, + ) { _lib._objc_msgSend_302( - _id, _lib._sel_encodeBytes_length_forKey_1, bytes, length, key._id); + this.pointer, + _lib._sel_encodeBytes_length_forKey_1, + bytes, + length, + key.pointer, + ); } @override bool get requiresSecureCoding { - return _lib._objc_msgSend_12(_id, _lib._sel_requiresSecureCoding1); + return _lib._objc_msgSend_12(this.pointer, _lib._sel_requiresSecureCoding1); } set requiresSecureCoding(bool value) { return _lib._objc_msgSend_527( - _id, _lib._sel_setRequiresSecureCoding_1, value); + this.pointer, + _lib._sel_setRequiresSecureCoding_1, + value, + ); } static NSKeyedArchiver new1(AVFAudio _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSKeyedArchiver1, _lib._sel_new1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSKeyedArchiver1, + _lib._sel_new1, + ); return NSKeyedArchiver._(_ret, _lib, retain: false, release: true); } static NSKeyedArchiver allocWithZone_( - AVFAudio _lib, ffi.Pointer<_NSZone> zone) { + AVFAudio _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSKeyedArchiver1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSKeyedArchiver1, + _lib._sel_allocWithZone_1, + zone, + ); return NSKeyedArchiver._(_ret, _lib, retain: false, release: true); } static NSKeyedArchiver alloc(AVFAudio _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSKeyedArchiver1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSKeyedArchiver1, + _lib._sel_alloc1, + ); return NSKeyedArchiver._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + AVFAudio _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSKeyedArchiver1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSKeyedArchiver1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSKeyedArchiver1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + AVFAudio _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSKeyedArchiver1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { - return _lib._objc_msgSend_12(_lib._class_NSKeyedArchiver1, - _lib._sel_accessInstanceVariablesDirectly1); + return _lib._objc_msgSend_12( + _lib._class_NSKeyedArchiver1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(AVFAudio _lib) { return _lib._objc_msgSend_12( - _lib._class_NSKeyedArchiver1, _lib._sel_useStoredAccessor1); + _lib._class_NSKeyedArchiver1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSKeyedArchiver1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSKeyedArchiver1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSKeyedArchiver1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSKeyedArchiver1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, NSArray keys, NSString dependentKey) { + AVFAudio _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSKeyedArchiver1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSKeyedArchiver1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_85(_lib._class_NSKeyedArchiver1, - _lib._sel_classFallbacksForKeyedArchiver1); + final _ret = _lib._objc_msgSend_85( + _lib._class_NSKeyedArchiver1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(AVFAudio _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSKeyedArchiver1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSKeyedArchiver1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } class NSMutableData extends NSData { - NSMutableData._(ffi.Pointer id, AVFAudio lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSMutableData._( + ffi.Pointer pointer, + AVFAudio lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSMutableData] that points to the same underlying object as [other]. - static NSMutableData castFrom(T other) { - return NSMutableData._(other._id, other._lib, retain: true, release: true); + static NSMutableData castFrom( + AVFAudio lib, + T other, + ) { + return NSMutableData._(other.pointer, lib, retain: true, release: true); } /// Returns a [NSMutableData] that wraps the given raw object pointer. static NSMutableData castFromPointer( - AVFAudio lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + AVFAudio lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSMutableData._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSMutableData]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_NSMutableData1); + static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSMutableData1, + ); } ffi.Pointer get mutableBytes { - return _lib._objc_msgSend_20(_id, _lib._sel_mutableBytes1); + return _lib._objc_msgSend_20(this.pointer, _lib._sel_mutableBytes1); } @override int get length { - return _lib._objc_msgSend_10(_id, _lib._sel_length1); + return _lib._objc_msgSend_10(this.pointer, _lib._sel_length1); } set length(int value) { - return _lib._objc_msgSend_516(_id, _lib._sel_setLength_1, value); + return _lib._objc_msgSend_516(this.pointer, _lib._sel_setLength_1, value); } void appendBytes_length_(ffi.Pointer bytes, int length) { - _lib._objc_msgSend_22(_id, _lib._sel_appendBytes_length_1, bytes, length); + _lib._objc_msgSend_22( + this.pointer, + _lib._sel_appendBytes_length_1, + bytes, + length, + ); } void appendData_(NSData other) { - _lib._objc_msgSend_285(_id, _lib._sel_appendData_1, other._id); + _lib._objc_msgSend_285(this.pointer, _lib._sel_appendData_1, other.pointer); } void increaseLengthBy_(int extraLength) { - _lib._objc_msgSend_470(_id, _lib._sel_increaseLengthBy_1, extraLength); + _lib._objc_msgSend_470( + this.pointer, + _lib._sel_increaseLengthBy_1, + extraLength, + ); } void replaceBytesInRange_withBytes_( - _NSRange range, ffi.Pointer bytes) { + _NSRange range, + ffi.Pointer bytes, + ) { _lib._objc_msgSend_517( - _id, _lib._sel_replaceBytesInRange_withBytes_1, range, bytes); + this.pointer, + _lib._sel_replaceBytesInRange_withBytes_1, + range, + bytes, + ); } void resetBytesInRange_(_NSRange range) { - _lib._objc_msgSend_476(_id, _lib._sel_resetBytesInRange_1, range); + _lib._objc_msgSend_476(this.pointer, _lib._sel_resetBytesInRange_1, range); } void setData_(NSData data) { - _lib._objc_msgSend_285(_id, _lib._sel_setData_1, data._id); + _lib._objc_msgSend_285(this.pointer, _lib._sel_setData_1, data.pointer); } - void replaceBytesInRange_withBytes_length_(_NSRange range, - ffi.Pointer replacementBytes, int replacementLength) { + void replaceBytesInRange_withBytes_length_( + _NSRange range, + ffi.Pointer replacementBytes, + int replacementLength, + ) { _lib._objc_msgSend_518( - _id, - _lib._sel_replaceBytesInRange_withBytes_length_1, - range, - replacementBytes, - replacementLength); + this.pointer, + _lib._sel_replaceBytesInRange_withBytes_length_1, + range, + replacementBytes, + replacementLength, + ); } static NSMutableData? dataWithCapacity_(AVFAudio _lib, int aNumItems) { final _ret = _lib._objc_msgSend_519( - _lib._class_NSMutableData1, _lib._sel_dataWithCapacity_1, aNumItems); + _lib._class_NSMutableData1, + _lib._sel_dataWithCapacity_1, + aNumItems, + ); return _ret.address == 0 ? null : NSMutableData._(_ret, _lib, retain: true, release: true); @@ -49247,102 +64551,155 @@ class NSMutableData extends NSData { static NSMutableData? dataWithLength_(AVFAudio _lib, int length) { final _ret = _lib._objc_msgSend_519( - _lib._class_NSMutableData1, _lib._sel_dataWithLength_1, length); + _lib._class_NSMutableData1, + _lib._sel_dataWithLength_1, + length, + ); return _ret.address == 0 ? null : NSMutableData._(_ret, _lib, retain: true, release: true); } NSMutableData? initWithCapacity_(int capacity) { - final _ret = - _lib._objc_msgSend_519(_id, _lib._sel_initWithCapacity_1, capacity); + final _ret = _lib._objc_msgSend_519( + this.pointer, + _lib._sel_initWithCapacity_1, + capacity, + ); return _ret.address == 0 ? null : NSMutableData._(_ret, _lib, retain: true, release: true); } NSMutableData? initWithLength_(int length) { - final _ret = - _lib._objc_msgSend_519(_id, _lib._sel_initWithLength_1, length); + final _ret = _lib._objc_msgSend_519( + this.pointer, + _lib._sel_initWithLength_1, + length, + ); return _ret.address == 0 ? null : NSMutableData._(_ret, _lib, retain: true, release: true); } bool decompressUsingAlgorithm_error_( - int algorithm, ffi.Pointer> error) { + int algorithm, + ffi.Pointer> error, + ) { return _lib._objc_msgSend_520( - _id, _lib._sel_decompressUsingAlgorithm_error_1, algorithm, error); + this.pointer, + _lib._sel_decompressUsingAlgorithm_error_1, + algorithm, + error, + ); } bool compressUsingAlgorithm_error_( - int algorithm, ffi.Pointer> error) { + int algorithm, + ffi.Pointer> error, + ) { return _lib._objc_msgSend_520( - _id, _lib._sel_compressUsingAlgorithm_error_1, algorithm, error); + this.pointer, + _lib._sel_compressUsingAlgorithm_error_1, + algorithm, + error, + ); } static NSMutableData data(AVFAudio _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSMutableData1, _lib._sel_data1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSMutableData1, + _lib._sel_data1, + ); return NSMutableData._(_ret, _lib, retain: true, release: true); } static NSMutableData dataWithBytes_length_( - AVFAudio _lib, ffi.Pointer bytes, int length) { - final _ret = _lib._objc_msgSend_273(_lib._class_NSMutableData1, - _lib._sel_dataWithBytes_length_1, bytes, length); + AVFAudio _lib, + ffi.Pointer bytes, + int length, + ) { + final _ret = _lib._objc_msgSend_273( + _lib._class_NSMutableData1, + _lib._sel_dataWithBytes_length_1, + bytes, + length, + ); return NSMutableData._(_ret, _lib, retain: true, release: true); } static NSMutableData dataWithBytesNoCopy_length_( - AVFAudio _lib, ffi.Pointer bytes, int length) { - final _ret = _lib._objc_msgSend_273(_lib._class_NSMutableData1, - _lib._sel_dataWithBytesNoCopy_length_1, bytes, length); + AVFAudio _lib, + ffi.Pointer bytes, + int length, + ) { + final _ret = _lib._objc_msgSend_273( + _lib._class_NSMutableData1, + _lib._sel_dataWithBytesNoCopy_length_1, + bytes, + length, + ); return NSMutableData._(_ret, _lib, retain: false, release: true); } static NSMutableData dataWithBytesNoCopy_length_freeWhenDone_( - AVFAudio _lib, ffi.Pointer bytes, int length, bool b) { - final _ret = _lib._objc_msgSend_274(_lib._class_NSMutableData1, - _lib._sel_dataWithBytesNoCopy_length_freeWhenDone_1, bytes, length, b); + AVFAudio _lib, + ffi.Pointer bytes, + int length, + bool b, + ) { + final _ret = _lib._objc_msgSend_274( + _lib._class_NSMutableData1, + _lib._sel_dataWithBytesNoCopy_length_freeWhenDone_1, + bytes, + length, + b, + ); return NSMutableData._(_ret, _lib, retain: false, release: true); } static NSMutableData? dataWithContentsOfFile_options_error_( - AVFAudio _lib, - NSString path, - int readOptionsMask, - ffi.Pointer> errorPtr) { + AVFAudio _lib, + NSString path, + int readOptionsMask, + ffi.Pointer> errorPtr, + ) { final _ret = _lib._objc_msgSend_275( - _lib._class_NSMutableData1, - _lib._sel_dataWithContentsOfFile_options_error_1, - path._id, - readOptionsMask, - errorPtr); + _lib._class_NSMutableData1, + _lib._sel_dataWithContentsOfFile_options_error_1, + path.pointer, + readOptionsMask, + errorPtr, + ); return _ret.address == 0 ? null : NSMutableData._(_ret, _lib, retain: true, release: true); } static NSMutableData? dataWithContentsOfURL_options_error_( - AVFAudio _lib, - NSURL url, - int readOptionsMask, - ffi.Pointer> errorPtr) { + AVFAudio _lib, + NSURL url, + int readOptionsMask, + ffi.Pointer> errorPtr, + ) { final _ret = _lib._objc_msgSend_276( - _lib._class_NSMutableData1, - _lib._sel_dataWithContentsOfURL_options_error_1, - url._id, - readOptionsMask, - errorPtr); + _lib._class_NSMutableData1, + _lib._sel_dataWithContentsOfURL_options_error_1, + url.pointer, + readOptionsMask, + errorPtr, + ); return _ret.address == 0 ? null : NSMutableData._(_ret, _lib, retain: true, release: true); } static NSMutableData? dataWithContentsOfFile_(AVFAudio _lib, NSString path) { - final _ret = _lib._objc_msgSend_38(_lib._class_NSMutableData1, - _lib._sel_dataWithContentsOfFile_1, path._id); + final _ret = _lib._objc_msgSend_38( + _lib._class_NSMutableData1, + _lib._sel_dataWithContentsOfFile_1, + path.pointer, + ); return _ret.address == 0 ? null : NSMutableData._(_ret, _lib, retain: true, release: true); @@ -49350,7 +64707,10 @@ class NSMutableData extends NSData { static NSMutableData? dataWithContentsOfURL_(AVFAudio _lib, NSURL url) { final _ret = _lib._objc_msgSend_277( - _lib._class_NSMutableData1, _lib._sel_dataWithContentsOfURL_1, url._id); + _lib._class_NSMutableData1, + _lib._sel_dataWithContentsOfURL_1, + url.pointer, + ); return _ret.address == 0 ? null : NSMutableData._(_ret, _lib, retain: true, release: true); @@ -49359,63 +64719,91 @@ class NSMutableData extends NSData { @override NSMutableData initWithBytes_length_(ffi.Pointer bytes, int length) { final _ret = _lib._objc_msgSend_273( - _id, _lib._sel_initWithBytes_length_1, bytes, length); + this.pointer, + _lib._sel_initWithBytes_length_1, + bytes, + length, + ); return NSMutableData._(_ret, _lib, retain: true, release: true); } @override NSMutableData initWithBytesNoCopy_length_( - ffi.Pointer bytes, int length) { + ffi.Pointer bytes, + int length, + ) { final _ret = _lib._objc_msgSend_273( - _id, _lib._sel_initWithBytesNoCopy_length_1, bytes, length); + this.pointer, + _lib._sel_initWithBytesNoCopy_length_1, + bytes, + length, + ); return NSMutableData._(_ret, _lib, retain: false, release: true); } @override NSMutableData initWithBytesNoCopy_length_freeWhenDone_( - ffi.Pointer bytes, int length, bool b) { - final _ret = _lib._objc_msgSend_274(_id, - _lib._sel_initWithBytesNoCopy_length_freeWhenDone_1, bytes, length, b); + ffi.Pointer bytes, + int length, + bool b, + ) { + final _ret = _lib._objc_msgSend_274( + this.pointer, + _lib._sel_initWithBytesNoCopy_length_freeWhenDone_1, + bytes, + length, + b, + ); return NSMutableData._(_ret, _lib, retain: false, release: true); } @override NSMutableData initWithBytesNoCopy_length_deallocator_( - ffi.Pointer bytes, - int length, - ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong? deallocator) { + ffi.Pointer bytes, + int length, + ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong? deallocator, + ) { final _ret = _lib._objc_msgSend_278( - _id, - _lib._sel_initWithBytesNoCopy_length_deallocator_1, - bytes, - length, - deallocator?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_initWithBytesNoCopy_length_deallocator_1, + bytes, + length, + deallocator?.pointer ?? ffi.nullptr, + ); return NSMutableData._(_ret, _lib, retain: false, release: true); } @override - NSMutableData? initWithContentsOfFile_options_error_(NSString path, - int readOptionsMask, ffi.Pointer> errorPtr) { + NSMutableData? initWithContentsOfFile_options_error_( + NSString path, + int readOptionsMask, + ffi.Pointer> errorPtr, + ) { final _ret = _lib._objc_msgSend_275( - _id, - _lib._sel_initWithContentsOfFile_options_error_1, - path._id, - readOptionsMask, - errorPtr); + this.pointer, + _lib._sel_initWithContentsOfFile_options_error_1, + path.pointer, + readOptionsMask, + errorPtr, + ); return _ret.address == 0 ? null : NSMutableData._(_ret, _lib, retain: true, release: true); } @override - NSMutableData? initWithContentsOfURL_options_error_(NSURL url, - int readOptionsMask, ffi.Pointer> errorPtr) { + NSMutableData? initWithContentsOfURL_options_error_( + NSURL url, + int readOptionsMask, + ffi.Pointer> errorPtr, + ) { final _ret = _lib._objc_msgSend_276( - _id, - _lib._sel_initWithContentsOfURL_options_error_1, - url._id, - readOptionsMask, - errorPtr); + this.pointer, + _lib._sel_initWithContentsOfURL_options_error_1, + url.pointer, + readOptionsMask, + errorPtr, + ); return _ret.address == 0 ? null : NSMutableData._(_ret, _lib, retain: true, release: true); @@ -49424,7 +64812,10 @@ class NSMutableData extends NSData { @override NSMutableData? initWithContentsOfFile_(NSString path) { final _ret = _lib._objc_msgSend_38( - _id, _lib._sel_initWithContentsOfFile_1, path._id); + this.pointer, + _lib._sel_initWithContentsOfFile_1, + path.pointer, + ); return _ret.address == 0 ? null : NSMutableData._(_ret, _lib, retain: true, release: true); @@ -49432,8 +64823,11 @@ class NSMutableData extends NSData { @override NSMutableData? initWithContentsOfURL_(NSURL url) { - final _ret = - _lib._objc_msgSend_277(_id, _lib._sel_initWithContentsOfURL_1, url._id); + final _ret = _lib._objc_msgSend_277( + this.pointer, + _lib._sel_initWithContentsOfURL_1, + url.pointer, + ); return _ret.address == 0 ? null : NSMutableData._(_ret, _lib, retain: true, release: true); @@ -49441,25 +64835,34 @@ class NSMutableData extends NSData { @override NSMutableData initWithData_(NSData data) { - final _ret = - _lib._objc_msgSend_279(_id, _lib._sel_initWithData_1, data._id); + final _ret = _lib._objc_msgSend_279( + this.pointer, + _lib._sel_initWithData_1, + data.pointer, + ); return NSMutableData._(_ret, _lib, retain: true, release: true); } static NSMutableData dataWithData_(AVFAudio _lib, NSData data) { final _ret = _lib._objc_msgSend_279( - _lib._class_NSMutableData1, _lib._sel_dataWithData_1, data._id); + _lib._class_NSMutableData1, + _lib._sel_dataWithData_1, + data.pointer, + ); return NSMutableData._(_ret, _lib, retain: true, release: true); } @override NSMutableData? initWithBase64EncodedString_options_( - NSString base64String, int options) { + NSString base64String, + int options, + ) { final _ret = _lib._objc_msgSend_280( - _id, - _lib._sel_initWithBase64EncodedString_options_1, - base64String._id, - options); + this.pointer, + _lib._sel_initWithBase64EncodedString_options_1, + base64String.pointer, + options, + ); return _ret.address == 0 ? null : NSMutableData._(_ret, _lib, retain: true, release: true); @@ -49467,9 +64870,15 @@ class NSMutableData extends NSData { @override NSMutableData? initWithBase64EncodedData_options_( - NSData base64Data, int options) { - final _ret = _lib._objc_msgSend_282(_id, - _lib._sel_initWithBase64EncodedData_options_1, base64Data._id, options); + NSData base64Data, + int options, + ) { + final _ret = _lib._objc_msgSend_282( + this.pointer, + _lib._sel_initWithBase64EncodedData_options_1, + base64Data.pointer, + options, + ); return _ret.address == 0 ? null : NSMutableData._(_ret, _lib, retain: true, release: true); @@ -49477,9 +64886,15 @@ class NSMutableData extends NSData { @override NSMutableData? decompressedDataUsingAlgorithm_error_( - int algorithm, ffi.Pointer> error) { - final _ret = _lib._objc_msgSend_284(_id, - _lib._sel_decompressedDataUsingAlgorithm_error_1, algorithm, error); + int algorithm, + ffi.Pointer> error, + ) { + final _ret = _lib._objc_msgSend_284( + this.pointer, + _lib._sel_decompressedDataUsingAlgorithm_error_1, + algorithm, + error, + ); return _ret.address == 0 ? null : NSMutableData._(_ret, _lib, retain: true, release: true); @@ -49487,17 +64902,26 @@ class NSMutableData extends NSData { @override NSMutableData? compressedDataUsingAlgorithm_error_( - int algorithm, ffi.Pointer> error) { + int algorithm, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_284( - _id, _lib._sel_compressedDataUsingAlgorithm_error_1, algorithm, error); + this.pointer, + _lib._sel_compressedDataUsingAlgorithm_error_1, + algorithm, + error, + ); return _ret.address == 0 ? null : NSMutableData._(_ret, _lib, retain: true, release: true); } static NSObject? dataWithContentsOfMappedFile_(AVFAudio _lib, NSString path) { - final _ret = _lib._objc_msgSend_38(_lib._class_NSMutableData1, - _lib._sel_dataWithContentsOfMappedFile_1, path._id); + final _ret = _lib._objc_msgSend_38( + _lib._class_NSMutableData1, + _lib._sel_dataWithContentsOfMappedFile_1, + path.pointer, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); @@ -49505,89 +64929,127 @@ class NSMutableData extends NSData { @override NSMutableData init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSMutableData._(_ret, _lib, retain: true, release: true); } static NSMutableData new1(AVFAudio _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSMutableData1, _lib._sel_new1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSMutableData1, + _lib._sel_new1, + ); return NSMutableData._(_ret, _lib, retain: false, release: true); } static NSMutableData allocWithZone_( - AVFAudio _lib, ffi.Pointer<_NSZone> zone) { + AVFAudio _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSMutableData1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSMutableData1, + _lib._sel_allocWithZone_1, + zone, + ); return NSMutableData._(_ret, _lib, retain: false, release: true); } static NSMutableData alloc(AVFAudio _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSMutableData1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSMutableData1, + _lib._sel_alloc1, + ); return NSMutableData._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + AVFAudio _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSMutableData1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSMutableData1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSMutableData1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + AVFAudio _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSMutableData1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { return _lib._objc_msgSend_12( - _lib._class_NSMutableData1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_NSMutableData1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(AVFAudio _lib) { return _lib._objc_msgSend_12( - _lib._class_NSMutableData1, _lib._sel_useStoredAccessor1); + _lib._class_NSMutableData1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSMutableData1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSMutableData1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSMutableData1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSMutableData1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, NSArray keys, NSString dependentKey) { + AVFAudio _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSMutableData1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSMutableData1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { final _ret = _lib._objc_msgSend_85( - _lib._class_NSMutableData1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSMutableData1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(AVFAudio _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSMutableData1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSMutableData1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } @@ -49599,67 +65061,103 @@ abstract class NSPropertyListFormat { } class NSThread extends NSObject { - NSThread._(ffi.Pointer id, AVFAudio lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSThread._( + ffi.Pointer pointer, + AVFAudio lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSThread] that points to the same underlying object as [other]. - static NSThread castFrom(T other) { - return NSThread._(other._id, other._lib, retain: true, release: true); + static NSThread castFrom( + AVFAudio lib, + T other, + ) { + return NSThread._(other.pointer, lib, retain: true, release: true); } /// Returns a [NSThread] that wraps the given raw object pointer. - static NSThread castFromPointer(AVFAudio lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + static NSThread castFromPointer( + AVFAudio lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSThread._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSThread]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_NSThread1); + static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSThread1, + ); } static NSThread getCurrentThread(AVFAudio _lib) { - final _ret = - _lib._objc_msgSend_531(_lib._class_NSThread1, _lib._sel_currentThread1); + final _ret = _lib._objc_msgSend_531( + _lib._class_NSThread1, + _lib._sel_currentThread1, + ); return NSThread._(_ret, _lib, retain: true, release: true); } static void detachNewThreadWithBlock_( - AVFAudio _lib, ObjCBlock_ffiVoid block) { + AVFAudio _lib, + ObjCBlock_ffiVoid block, + ) { _lib._objc_msgSend_532( - _lib._class_NSThread1, _lib._sel_detachNewThreadWithBlock_1, block._id); + _lib._class_NSThread1, + _lib._sel_detachNewThreadWithBlock_1, + block.pointer, + ); } - static void detachNewThreadSelector_toTarget_withObject_(AVFAudio _lib, - ffi.Pointer selector, NSObject target, NSObject? argument) { + static void detachNewThreadSelector_toTarget_withObject_( + AVFAudio _lib, + ffi.Pointer selector, + NSObject target, + NSObject? argument, + ) { _lib._objc_msgSend_533( - _lib._class_NSThread1, - _lib._sel_detachNewThreadSelector_toTarget_withObject_1, - selector, - target._id, - argument?._id ?? ffi.nullptr); + _lib._class_NSThread1, + _lib._sel_detachNewThreadSelector_toTarget_withObject_1, + selector, + target.pointer, + argument?.pointer ?? ffi.nullptr, + ); } static bool isMultiThreaded(AVFAudio _lib) { return _lib._objc_msgSend_12( - _lib._class_NSThread1, _lib._sel_isMultiThreaded1); + _lib._class_NSThread1, + _lib._sel_isMultiThreaded1, + ); } NSMutableDictionary get threadDictionary { - final _ret = _lib._objc_msgSend_539(_id, _lib._sel_threadDictionary1); + final _ret = _lib._objc_msgSend_539( + this.pointer, + _lib._sel_threadDictionary1, + ); return NSMutableDictionary._(_ret, _lib, retain: true, release: true); } static void sleepUntilDate_(AVFAudio _lib, NSDate date) { _lib._objc_msgSend_540( - _lib._class_NSThread1, _lib._sel_sleepUntilDate_1, date._id); + _lib._class_NSThread1, + _lib._sel_sleepUntilDate_1, + date.pointer, + ); } static void sleepForTimeInterval_(AVFAudio _lib, double ti) { _lib._objc_msgSend_541( - _lib._class_NSThread1, _lib._sel_sleepForTimeInterval_1, ti); + _lib._class_NSThread1, + _lib._sel_sleepForTimeInterval_1, + ti, + ); } static void exit(AVFAudio _lib) { @@ -49667,37 +65165,49 @@ class NSThread extends NSObject { } double get threadPriority { - return _lib._objc_msgSend_useVariants1 - ? _lib._objc_msgSend_165_fpret(_id, _lib._sel_threadPriority1) - : _lib._objc_msgSend_165(_id, _lib._sel_threadPriority1); + return objc.useMsgSendVariants + ? _lib._objc_msgSend_165_fpret(this.pointer, _lib._sel_threadPriority1) + : _lib._objc_msgSend_165(this.pointer, _lib._sel_threadPriority1); } set threadPriority(double value) { - return _lib._objc_msgSend_542(_id, _lib._sel_setThreadPriority_1, value); + return _lib._objc_msgSend_542( + this.pointer, + _lib._sel_setThreadPriority_1, + value, + ); } int get qualityOfService { - return _lib._objc_msgSend_543(_id, _lib._sel_qualityOfService1); + return _lib._objc_msgSend_543(this.pointer, _lib._sel_qualityOfService1); } set qualityOfService(int value) { - return _lib._objc_msgSend_544(_id, _lib._sel_setQualityOfService_1, value); + return _lib._objc_msgSend_544( + this.pointer, + _lib._sel_setQualityOfService_1, + value, + ); } static NSArray getCallStackReturnAddresses(AVFAudio _lib) { final _ret = _lib._objc_msgSend_85( - _lib._class_NSThread1, _lib._sel_callStackReturnAddresses1); + _lib._class_NSThread1, + _lib._sel_callStackReturnAddresses1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSArray getCallStackSymbols(AVFAudio _lib) { final _ret = _lib._objc_msgSend_85( - _lib._class_NSThread1, _lib._sel_callStackSymbols1); + _lib._class_NSThread1, + _lib._sel_callStackSymbols1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } NSString? get name { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_name1); + final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_name1); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); @@ -49705,72 +65215,88 @@ class NSThread extends NSObject { set name(NSString? value) { return _lib._objc_msgSend_545( - _id, _lib._sel_setName_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setName_1, + value?.pointer ?? ffi.nullptr, + ); } int get stackSize { - return _lib._objc_msgSend_10(_id, _lib._sel_stackSize1); + return _lib._objc_msgSend_10(this.pointer, _lib._sel_stackSize1); } set stackSize(int value) { - return _lib._objc_msgSend_516(_id, _lib._sel_setStackSize_1, value); + return _lib._objc_msgSend_516( + this.pointer, + _lib._sel_setStackSize_1, + value, + ); } bool get isMainThread { - return _lib._objc_msgSend_12(_id, _lib._sel_isMainThread1); + return _lib._objc_msgSend_12(this.pointer, _lib._sel_isMainThread1); } static NSThread getMainThread(AVFAudio _lib) { - final _ret = - _lib._objc_msgSend_531(_lib._class_NSThread1, _lib._sel_mainThread1); + final _ret = _lib._objc_msgSend_531( + _lib._class_NSThread1, + _lib._sel_mainThread1, + ); return NSThread._(_ret, _lib, retain: true, release: true); } @override NSThread init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSThread._(_ret, _lib, retain: true, release: true); } NSThread initWithTarget_selector_object_( - NSObject target, ffi.Pointer selector, NSObject? argument) { + NSObject target, + ffi.Pointer selector, + NSObject? argument, + ) { final _ret = _lib._objc_msgSend_546( - _id, - _lib._sel_initWithTarget_selector_object_1, - target._id, - selector, - argument?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_initWithTarget_selector_object_1, + target.pointer, + selector, + argument?.pointer ?? ffi.nullptr, + ); return NSThread._(_ret, _lib, retain: true, release: true); } NSThread initWithBlock_(ObjCBlock_ffiVoid block) { - final _ret = - _lib._objc_msgSend_547(_id, _lib._sel_initWithBlock_1, block._id); + final _ret = _lib._objc_msgSend_547( + this.pointer, + _lib._sel_initWithBlock_1, + block.pointer, + ); return NSThread._(_ret, _lib, retain: true, release: true); } bool get executing { - return _lib._objc_msgSend_12(_id, _lib._sel_isExecuting1); + return _lib._objc_msgSend_12(this.pointer, _lib._sel_isExecuting1); } bool get finished { - return _lib._objc_msgSend_12(_id, _lib._sel_isFinished1); + return _lib._objc_msgSend_12(this.pointer, _lib._sel_isFinished1); } bool get cancelled { - return _lib._objc_msgSend_12(_id, _lib._sel_isCancelled1); + return _lib._objc_msgSend_12(this.pointer, _lib._sel_isCancelled1); } void cancel() { - _lib._objc_msgSend_1(_id, _lib._sel_cancel1); + _lib._objc_msgSend_1(this.pointer, _lib._sel_cancel1); } void start() { - _lib._objc_msgSend_1(_id, _lib._sel_start1); + _lib._objc_msgSend_1(this.pointer, _lib._sel_start1); } void main() { - _lib._objc_msgSend_1(_id, _lib._sel_main1); + _lib._objc_msgSend_1(this.pointer, _lib._sel_main1); } static NSThread new1(AVFAudio _lib) { @@ -49780,7 +65306,10 @@ class NSThread extends NSObject { static NSThread allocWithZone_(AVFAudio _lib, ffi.Pointer<_NSZone> zone) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSThread1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSThread1, + _lib._sel_allocWithZone_1, + zone, + ); return NSThread._(_ret, _lib, retain: false, release: true); } @@ -49790,72 +65319,99 @@ class NSThread extends NSObject { } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + AVFAudio _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSThread1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSThread1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSThread1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + AVFAudio _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSThread1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { return _lib._objc_msgSend_12( - _lib._class_NSThread1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_NSThread1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(AVFAudio _lib) { return _lib._objc_msgSend_12( - _lib._class_NSThread1, _lib._sel_useStoredAccessor1); + _lib._class_NSThread1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSThread1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSThread1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSThread1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSThread1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, NSArray keys, NSString dependentKey) { + AVFAudio _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSThread1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSThread1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { final _ret = _lib._objc_msgSend_85( - _lib._class_NSThread1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSThread1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(AVFAudio _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSThread1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSThread1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } -void _ObjCBlock_ffiVoid_fnPtrTrampoline( - ffi.Pointer<_ObjCBlock> block, -) => +void _ObjCBlock_ffiVoid_fnPtrTrampoline(ffi.Pointer block) => block.ref.target .cast>() .asFunction()(); @@ -49868,19 +65424,26 @@ ffi.Pointer _ObjCBlock_ffiVoid_registerClosure(void Function() fn) { } void _ObjCBlock_ffiVoid_closureTrampoline( - ffi.Pointer<_ObjCBlock> block, -) => - _ObjCBlock_ffiVoid_closureRegistry[block.ref.target.address]!(); + ffi.Pointer block, +) => _ObjCBlock_ffiVoid_closureRegistry[block.ref.target.address]!(); + +class ObjCBlock_ffiVoid extends objc.ObjCBlockBase { + ObjCBlock_ffiVoid._( + ffi.Pointer pointer, + this._lib, { + bool retain = false, + bool release = true, + }) : super(pointer, retain: retain, release: release); -class ObjCBlock_ffiVoid extends _ObjCBlockBase { - ObjCBlock_ffiVoid._(ffi.Pointer<_ObjCBlock> id, AVFAudio lib, - {bool retain = false, bool release = true}) - : super._(id, lib, retain: retain, release: release); + AVFAudio _lib; /// Returns a block that wraps the given raw block pointer. static ObjCBlock_ffiVoid castFromPointer( - AVFAudio lib, ffi.Pointer<_ObjCBlock> pointer, - {bool retain = false, bool release = false}) { + AVFAudio lib, + ffi.Pointer pointer, { + bool retain = false, + bool release = false, + }) { return ObjCBlock_ffiVoid._(pointer, lib, retain: retain, release: release); } @@ -49890,15 +65453,15 @@ class ObjCBlock_ffiVoid extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid.fromFunctionPointer( - AVFAudio lib, ffi.Pointer> ptr) - : this._( - lib._newBlock1( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function(ffi.Pointer<_ObjCBlock>)>( - _ObjCBlock_ffiVoid_fnPtrTrampoline) - .cast(), - ptr.cast()), - lib); + AVFAudio lib, + ffi.Pointer> ptr, + ) : this._(objc.newBlock( + _cFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function(ffi.Pointer) + >(_ObjCBlock_ffiVoid_fnPtrTrampoline).cast(), + ptr.cast(), + ), lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -49907,14 +65470,13 @@ class ObjCBlock_ffiVoid extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid.fromFunction(AVFAudio lib, void Function() fn) - : this._( - lib._newBlock1( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function(ffi.Pointer<_ObjCBlock>)>( - _ObjCBlock_ffiVoid_closureTrampoline) - .cast(), - _ObjCBlock_ffiVoid_registerClosure(() => fn())), - lib); + : this._(objc.newBlock( + _dartFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function(ffi.Pointer) + >(_ObjCBlock_ffiVoid_closureTrampoline).cast(), + _ObjCBlock_ffiVoid_registerClosure(() => fn()), + ), lib); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -49927,78 +65489,105 @@ class ObjCBlock_ffiVoid extends _ObjCBlockBase { /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. ObjCBlock_ffiVoid.listener(AVFAudio lib, void Function() fn) - : this._( - lib._newBlock1( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>)>.listener( - _ObjCBlock_ffiVoid_closureTrampoline) - ..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_registerClosure(() => fn())), - lib); - static ffi.NativeCallable)>? - _dartFuncListenerTrampoline; - - void call() => _id.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer<_ObjCBlock> block)>>() - .asFunction)>()( - _id, - ); + : this._(objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function(ffi.Pointer) + >.listener( + _ObjCBlock_ffiVoid_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_registerClosure(() => fn()), + ), lib); + static ffi.NativeCallable)>? + _dartFuncListenerTrampoline; + + void call() => pointer.ref.invoke + .cast< + ffi.NativeFunction block)> + >() + .asFunction)>()(pointer); } class NSMutableDictionary extends NSDictionary { - NSMutableDictionary._(ffi.Pointer id, AVFAudio lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSMutableDictionary._( + ffi.Pointer pointer, + AVFAudio lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSMutableDictionary] that points to the same underlying object as [other]. - static NSMutableDictionary castFrom(T other) { - return NSMutableDictionary._(other._id, other._lib, - retain: true, release: true); + static NSMutableDictionary castFrom( + AVFAudio lib, + T other, + ) { + return NSMutableDictionary._( + other.pointer, + lib, + retain: true, + release: true, + ); } /// Returns a [NSMutableDictionary] that wraps the given raw object pointer. static NSMutableDictionary castFromPointer( - AVFAudio lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + AVFAudio lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSMutableDictionary._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSMutableDictionary]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0(obj._id, obj._lib._sel_isKindOfClass_1, - obj._lib._class_NSMutableDictionary1); + static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSMutableDictionary1, + ); } void removeObjectForKey_(NSObject aKey) { - _lib._objc_msgSend_15(_id, _lib._sel_removeObjectForKey_1, aKey._id); + _lib._objc_msgSend_15( + this.pointer, + _lib._sel_removeObjectForKey_1, + aKey.pointer, + ); } void setObject_forKey_(NSObject anObject, NSObject aKey) { _lib._objc_msgSend_534( - _id, _lib._sel_setObject_forKey_1, anObject._id, aKey._id); + this.pointer, + _lib._sel_setObject_forKey_1, + anObject.pointer, + aKey.pointer, + ); } @override NSMutableDictionary init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSMutableDictionary._(_ret, _lib, retain: true, release: true); } NSMutableDictionary initWithCapacity_(int numItems) { - final _ret = - _lib._objc_msgSend_65(_id, _lib._sel_initWithCapacity_1, numItems); + final _ret = _lib._objc_msgSend_65( + this.pointer, + _lib._sel_initWithCapacity_1, + numItems, + ); return NSMutableDictionary._(_ret, _lib, retain: true, release: true); } @override NSMutableDictionary? initWithCoder_(NSCoder coder) { - final _ret = - _lib._objc_msgSend_47(_id, _lib._sel_initWithCoder_1, coder._id); + final _ret = _lib._objc_msgSend_47( + this.pointer, + _lib._sel_initWithCoder_1, + coder.pointer, + ); return _ret.address == 0 ? null : NSMutableDictionary._(_ret, _lib, retain: true, release: true); @@ -50006,46 +65595,76 @@ class NSMutableDictionary extends NSDictionary { void addEntriesFromDictionary_(NSDictionary otherDictionary) { _lib._objc_msgSend_509( - _id, _lib._sel_addEntriesFromDictionary_1, otherDictionary._id); + this.pointer, + _lib._sel_addEntriesFromDictionary_1, + otherDictionary.pointer, + ); } void removeAllObjects() { - _lib._objc_msgSend_1(_id, _lib._sel_removeAllObjects1); + _lib._objc_msgSend_1(this.pointer, _lib._sel_removeAllObjects1); } void removeObjectsForKeys_(NSArray keyArray) { - _lib._objc_msgSend_472(_id, _lib._sel_removeObjectsForKeys_1, keyArray._id); + _lib._objc_msgSend_472( + this.pointer, + _lib._sel_removeObjectsForKeys_1, + keyArray.pointer, + ); } void setDictionary_(NSDictionary otherDictionary) { - _lib._objc_msgSend_509(_id, _lib._sel_setDictionary_1, otherDictionary._id); + _lib._objc_msgSend_509( + this.pointer, + _lib._sel_setDictionary_1, + otherDictionary.pointer, + ); } void setObject_forKeyedSubscript_(NSObject? obj, NSObject key) { - _lib._objc_msgSend_535(_id, _lib._sel_setObject_forKeyedSubscript_1, - obj?._id ?? ffi.nullptr, key._id); + _lib._objc_msgSend_535( + this.pointer, + _lib._sel_setObject_forKeyedSubscript_1, + obj?.pointer ?? ffi.nullptr, + key.pointer, + ); } static NSMutableDictionary dictionaryWithCapacity_( - AVFAudio _lib, int numItems) { - final _ret = _lib._objc_msgSend_65(_lib._class_NSMutableDictionary1, - _lib._sel_dictionaryWithCapacity_1, numItems); + AVFAudio _lib, + int numItems, + ) { + final _ret = _lib._objc_msgSend_65( + _lib._class_NSMutableDictionary1, + _lib._sel_dictionaryWithCapacity_1, + numItems, + ); return NSMutableDictionary._(_ret, _lib, retain: true, release: true); } static NSMutableDictionary? dictionaryWithContentsOfFile_( - AVFAudio _lib, NSString path) { - final _ret = _lib._objc_msgSend_536(_lib._class_NSMutableDictionary1, - _lib._sel_dictionaryWithContentsOfFile_1, path._id); + AVFAudio _lib, + NSString path, + ) { + final _ret = _lib._objc_msgSend_536( + _lib._class_NSMutableDictionary1, + _lib._sel_dictionaryWithContentsOfFile_1, + path.pointer, + ); return _ret.address == 0 ? null : NSMutableDictionary._(_ret, _lib, retain: true, release: true); } static NSMutableDictionary? dictionaryWithContentsOfURL_( - AVFAudio _lib, NSURL url) { - final _ret = _lib._objc_msgSend_537(_lib._class_NSMutableDictionary1, - _lib._sel_dictionaryWithContentsOfURL_1, url._id); + AVFAudio _lib, + NSURL url, + ) { + final _ret = _lib._objc_msgSend_537( + _lib._class_NSMutableDictionary1, + _lib._sel_dictionaryWithContentsOfURL_1, + url.pointer, + ); return _ret.address == 0 ? null : NSMutableDictionary._(_ret, _lib, retain: true, release: true); @@ -50053,209 +65672,326 @@ class NSMutableDictionary extends NSDictionary { NSMutableDictionary? initWithContentsOfFile_(NSString path) { final _ret = _lib._objc_msgSend_536( - _id, _lib._sel_initWithContentsOfFile_1, path._id); + this.pointer, + _lib._sel_initWithContentsOfFile_1, + path.pointer, + ); return _ret.address == 0 ? null : NSMutableDictionary._(_ret, _lib, retain: true, release: true); } NSMutableDictionary? initWithContentsOfURL_(NSURL url) { - final _ret = - _lib._objc_msgSend_537(_id, _lib._sel_initWithContentsOfURL_1, url._id); + final _ret = _lib._objc_msgSend_537( + this.pointer, + _lib._sel_initWithContentsOfURL_1, + url.pointer, + ); return _ret.address == 0 ? null : NSMutableDictionary._(_ret, _lib, retain: true, release: true); } static NSMutableDictionary dictionaryWithSharedKeySet_( - AVFAudio _lib, NSObject keyset) { - final _ret = _lib._objc_msgSend_538(_lib._class_NSMutableDictionary1, - _lib._sel_dictionaryWithSharedKeySet_1, keyset._id); + AVFAudio _lib, + NSObject keyset, + ) { + final _ret = _lib._objc_msgSend_538( + _lib._class_NSMutableDictionary1, + _lib._sel_dictionaryWithSharedKeySet_1, + keyset.pointer, + ); return NSMutableDictionary._(_ret, _lib, retain: true, release: true); } void setValue_forKey_(NSObject? value, NSString key) { _lib._objc_msgSend_135( - _id, _lib._sel_setValue_forKey_1, value?._id ?? ffi.nullptr, key._id); + this.pointer, + _lib._sel_setValue_forKey_1, + value?.pointer ?? ffi.nullptr, + key.pointer, + ); } @override NSMutableDictionary initWithObjects_forKeys_count_( - ffi.Pointer> objects, - ffi.Pointer> keys, - int cnt) { + ffi.Pointer> objects, + ffi.Pointer> keys, + int cnt, + ) { final _ret = _lib._objc_msgSend_147( - _id, _lib._sel_initWithObjects_forKeys_count_1, objects, keys, cnt); + this.pointer, + _lib._sel_initWithObjects_forKeys_count_1, + objects, + keys, + cnt, + ); return NSMutableDictionary._(_ret, _lib, retain: true, release: true); } static NSMutableDictionary dictionary(AVFAudio _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSMutableDictionary1, _lib._sel_dictionary1); + _lib._class_NSMutableDictionary1, + _lib._sel_dictionary1, + ); return NSMutableDictionary._(_ret, _lib, retain: true, release: true); } static NSMutableDictionary dictionaryWithObject_forKey_( - AVFAudio _lib, NSObject object, NSObject key) { - final _ret = _lib._objc_msgSend_158(_lib._class_NSMutableDictionary1, - _lib._sel_dictionaryWithObject_forKey_1, object._id, key._id); + AVFAudio _lib, + NSObject object, + NSObject key, + ) { + final _ret = _lib._objc_msgSend_158( + _lib._class_NSMutableDictionary1, + _lib._sel_dictionaryWithObject_forKey_1, + object.pointer, + key.pointer, + ); return NSMutableDictionary._(_ret, _lib, retain: true, release: true); } static NSMutableDictionary dictionaryWithObjects_forKeys_count_( - AVFAudio _lib, - ffi.Pointer> objects, - ffi.Pointer> keys, - int cnt) { - final _ret = _lib._objc_msgSend_147(_lib._class_NSMutableDictionary1, - _lib._sel_dictionaryWithObjects_forKeys_count_1, objects, keys, cnt); + AVFAudio _lib, + ffi.Pointer> objects, + ffi.Pointer> keys, + int cnt, + ) { + final _ret = _lib._objc_msgSend_147( + _lib._class_NSMutableDictionary1, + _lib._sel_dictionaryWithObjects_forKeys_count_1, + objects, + keys, + cnt, + ); return NSMutableDictionary._(_ret, _lib, retain: true, release: true); } static NSMutableDictionary dictionaryWithObjectsAndKeys_( - AVFAudio _lib, NSObject firstObject) { - final _ret = _lib._objc_msgSend_124(_lib._class_NSMutableDictionary1, - _lib._sel_dictionaryWithObjectsAndKeys_1, firstObject._id); + AVFAudio _lib, + NSObject firstObject, + ) { + final _ret = _lib._objc_msgSend_124( + _lib._class_NSMutableDictionary1, + _lib._sel_dictionaryWithObjectsAndKeys_1, + firstObject.pointer, + ); return NSMutableDictionary._(_ret, _lib, retain: true, release: true); } static NSMutableDictionary dictionaryWithDictionary_( - AVFAudio _lib, NSDictionary dict) { - final _ret = _lib._objc_msgSend_159(_lib._class_NSMutableDictionary1, - _lib._sel_dictionaryWithDictionary_1, dict._id); + AVFAudio _lib, + NSDictionary dict, + ) { + final _ret = _lib._objc_msgSend_159( + _lib._class_NSMutableDictionary1, + _lib._sel_dictionaryWithDictionary_1, + dict.pointer, + ); return NSMutableDictionary._(_ret, _lib, retain: true, release: true); } static NSMutableDictionary dictionaryWithObjects_forKeys_( - AVFAudio _lib, NSArray objects, NSArray keys) { - final _ret = _lib._objc_msgSend_160(_lib._class_NSMutableDictionary1, - _lib._sel_dictionaryWithObjects_forKeys_1, objects._id, keys._id); + AVFAudio _lib, + NSArray objects, + NSArray keys, + ) { + final _ret = _lib._objc_msgSend_160( + _lib._class_NSMutableDictionary1, + _lib._sel_dictionaryWithObjects_forKeys_1, + objects.pointer, + keys.pointer, + ); return NSMutableDictionary._(_ret, _lib, retain: true, release: true); } @override NSMutableDictionary initWithObjectsAndKeys_(NSObject firstObject) { final _ret = _lib._objc_msgSend_124( - _id, _lib._sel_initWithObjectsAndKeys_1, firstObject._id); + this.pointer, + _lib._sel_initWithObjectsAndKeys_1, + firstObject.pointer, + ); return NSMutableDictionary._(_ret, _lib, retain: true, release: true); } @override NSMutableDictionary initWithDictionary_(NSDictionary otherDictionary) { final _ret = _lib._objc_msgSend_159( - _id, _lib._sel_initWithDictionary_1, otherDictionary._id); + this.pointer, + _lib._sel_initWithDictionary_1, + otherDictionary.pointer, + ); return NSMutableDictionary._(_ret, _lib, retain: true, release: true); } @override NSMutableDictionary initWithDictionary_copyItems_( - NSDictionary otherDictionary, bool flag) { - final _ret = _lib._objc_msgSend_161(_id, - _lib._sel_initWithDictionary_copyItems_1, otherDictionary._id, flag); + NSDictionary otherDictionary, + bool flag, + ) { + final _ret = _lib._objc_msgSend_161( + this.pointer, + _lib._sel_initWithDictionary_copyItems_1, + otherDictionary.pointer, + flag, + ); return NSMutableDictionary._(_ret, _lib, retain: false, release: true); } @override NSMutableDictionary initWithObjects_forKeys_(NSArray objects, NSArray keys) { final _ret = _lib._objc_msgSend_160( - _id, _lib._sel_initWithObjects_forKeys_1, objects._id, keys._id); + this.pointer, + _lib._sel_initWithObjects_forKeys_1, + objects.pointer, + keys.pointer, + ); return NSMutableDictionary._(_ret, _lib, retain: true, release: true); } static NSDictionary? dictionaryWithContentsOfURL_error_( - AVFAudio _lib, NSURL url, ffi.Pointer> error) { - final _ret = _lib._objc_msgSend_162(_lib._class_NSMutableDictionary1, - _lib._sel_dictionaryWithContentsOfURL_error_1, url._id, error); + AVFAudio _lib, + NSURL url, + ffi.Pointer> error, + ) { + final _ret = _lib._objc_msgSend_162( + _lib._class_NSMutableDictionary1, + _lib._sel_dictionaryWithContentsOfURL_error_1, + url.pointer, + error, + ); return _ret.address == 0 ? null : NSDictionary._(_ret, _lib, retain: true, release: true); } static NSObject sharedKeySetForKeys_(AVFAudio _lib, NSArray keys) { - final _ret = _lib._objc_msgSend_125(_lib._class_NSMutableDictionary1, - _lib._sel_sharedKeySetForKeys_1, keys._id); + final _ret = _lib._objc_msgSend_125( + _lib._class_NSMutableDictionary1, + _lib._sel_sharedKeySetForKeys_1, + keys.pointer, + ); return NSObject._(_ret, _lib, retain: true, release: true); } static NSMutableDictionary new1(AVFAudio _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSMutableDictionary1, _lib._sel_new1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSMutableDictionary1, + _lib._sel_new1, + ); return NSMutableDictionary._(_ret, _lib, retain: false, release: true); } static NSMutableDictionary allocWithZone_( - AVFAudio _lib, ffi.Pointer<_NSZone> zone) { + AVFAudio _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSMutableDictionary1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSMutableDictionary1, + _lib._sel_allocWithZone_1, + zone, + ); return NSMutableDictionary._(_ret, _lib, retain: false, release: true); } static NSMutableDictionary alloc(AVFAudio _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSMutableDictionary1, _lib._sel_alloc1); + _lib._class_NSMutableDictionary1, + _lib._sel_alloc1, + ); return NSMutableDictionary._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + AVFAudio _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSMutableDictionary1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSMutableDictionary1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSMutableDictionary1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + AVFAudio _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSMutableDictionary1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { - return _lib._objc_msgSend_12(_lib._class_NSMutableDictionary1, - _lib._sel_accessInstanceVariablesDirectly1); + return _lib._objc_msgSend_12( + _lib._class_NSMutableDictionary1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(AVFAudio _lib) { return _lib._objc_msgSend_12( - _lib._class_NSMutableDictionary1, _lib._sel_useStoredAccessor1); + _lib._class_NSMutableDictionary1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSMutableDictionary1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSMutableDictionary1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSMutableDictionary1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSMutableDictionary1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, NSArray keys, NSString dependentKey) { + AVFAudio _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSMutableDictionary1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSMutableDictionary1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_85(_lib._class_NSMutableDictionary1, - _lib._sel_classFallbacksForKeyedArchiver1); + final _ret = _lib._objc_msgSend_85( + _lib._class_NSMutableDictionary1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(AVFAudio _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSMutableDictionary1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSMutableDictionary1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } @@ -50269,71 +66005,115 @@ abstract class NSQualityOfService { } class NSArchiver extends NSCoder { - NSArchiver._(ffi.Pointer id, AVFAudio lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSArchiver._( + ffi.Pointer pointer, + AVFAudio lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSArchiver] that points to the same underlying object as [other]. - static NSArchiver castFrom(T other) { - return NSArchiver._(other._id, other._lib, retain: true, release: true); + static NSArchiver castFrom( + AVFAudio lib, + T other, + ) { + return NSArchiver._(other.pointer, lib, retain: true, release: true); } /// Returns a [NSArchiver] that wraps the given raw object pointer. - static NSArchiver castFromPointer(AVFAudio lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + static NSArchiver castFromPointer( + AVFAudio lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSArchiver._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSArchiver]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_NSArchiver1); + static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSArchiver1, + ); } NSArchiver initForWritingWithMutableData_(NSMutableData mdata) { final _ret = _lib._objc_msgSend_521( - _id, _lib._sel_initForWritingWithMutableData_1, mdata._id); + this.pointer, + _lib._sel_initForWritingWithMutableData_1, + mdata.pointer, + ); return NSArchiver._(_ret, _lib, retain: true, release: true); } NSMutableData get archiverData { - final _ret = _lib._objc_msgSend_550(_id, _lib._sel_archiverData1); + final _ret = _lib._objc_msgSend_550(this.pointer, _lib._sel_archiverData1); return NSMutableData._(_ret, _lib, retain: true, release: true); } @override void encodeRootObject_(NSObject rootObject) { - _lib._objc_msgSend_15(_id, _lib._sel_encodeRootObject_1, rootObject._id); + _lib._objc_msgSend_15( + this.pointer, + _lib._sel_encodeRootObject_1, + rootObject.pointer, + ); } @override void encodeConditionalObject_(NSObject? object) { _lib._objc_msgSend_289( - _id, _lib._sel_encodeConditionalObject_1, object?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_encodeConditionalObject_1, + object?.pointer ?? ffi.nullptr, + ); } static NSData archivedDataWithRootObject_( - AVFAudio _lib, NSObject rootObject) { - final _ret = _lib._objc_msgSend_522(_lib._class_NSArchiver1, - _lib._sel_archivedDataWithRootObject_1, rootObject._id); + AVFAudio _lib, + NSObject rootObject, + ) { + final _ret = _lib._objc_msgSend_522( + _lib._class_NSArchiver1, + _lib._sel_archivedDataWithRootObject_1, + rootObject.pointer, + ); return NSData._(_ret, _lib, retain: true, release: true); } static bool archiveRootObject_toFile_( - AVFAudio _lib, NSObject rootObject, NSString path) { - return _lib._objc_msgSend_261(_lib._class_NSArchiver1, - _lib._sel_archiveRootObject_toFile_1, rootObject._id, path._id); + AVFAudio _lib, + NSObject rootObject, + NSString path, + ) { + return _lib._objc_msgSend_261( + _lib._class_NSArchiver1, + _lib._sel_archiveRootObject_toFile_1, + rootObject.pointer, + path.pointer, + ); } void encodeClassName_intoClassName_( - NSString trueName, NSString inArchiveName) { - _lib._objc_msgSend_551(_id, _lib._sel_encodeClassName_intoClassName_1, - trueName._id, inArchiveName._id); + NSString trueName, + NSString inArchiveName, + ) { + _lib._objc_msgSend_551( + this.pointer, + _lib._sel_encodeClassName_intoClassName_1, + trueName.pointer, + inArchiveName.pointer, + ); } NSString? classNameEncodedForTrueClassName_(NSString trueName) { final _ret = _lib._objc_msgSend_186( - _id, _lib._sel_classNameEncodedForTrueClassName_1, trueName._id); + this.pointer, + _lib._sel_classNameEncodedForTrueClassName_1, + trueName.pointer, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); @@ -50341,12 +66121,16 @@ class NSArchiver extends NSCoder { void replaceObject_withObject_(NSObject object, NSObject newObject) { _lib._objc_msgSend_534( - _id, _lib._sel_replaceObject_withObject_1, object._id, newObject._id); + this.pointer, + _lib._sel_replaceObject_withObject_1, + object.pointer, + newObject.pointer, + ); } @override NSArchiver init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSArchiver._(_ret, _lib, retain: true, release: true); } @@ -50357,158 +66141,220 @@ class NSArchiver extends NSCoder { static NSArchiver allocWithZone_(AVFAudio _lib, ffi.Pointer<_NSZone> zone) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSArchiver1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSArchiver1, + _lib._sel_allocWithZone_1, + zone, + ); return NSArchiver._(_ret, _lib, retain: false, release: true); } static NSArchiver alloc(AVFAudio _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSArchiver1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSArchiver1, + _lib._sel_alloc1, + ); return NSArchiver._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + AVFAudio _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSArchiver1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSArchiver1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSArchiver1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + AVFAudio _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSArchiver1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { return _lib._objc_msgSend_12( - _lib._class_NSArchiver1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_NSArchiver1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(AVFAudio _lib) { return _lib._objc_msgSend_12( - _lib._class_NSArchiver1, _lib._sel_useStoredAccessor1); + _lib._class_NSArchiver1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSArchiver1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSArchiver1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSArchiver1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSArchiver1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, NSArray keys, NSString dependentKey) { + AVFAudio _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSArchiver1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSArchiver1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { final _ret = _lib._objc_msgSend_85( - _lib._class_NSArchiver1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSArchiver1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(AVFAudio _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSArchiver1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSArchiver1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } class NSPortCoder extends NSCoder { - NSPortCoder._(ffi.Pointer id, AVFAudio lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSPortCoder._( + ffi.Pointer pointer, + AVFAudio lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSPortCoder] that points to the same underlying object as [other]. - static NSPortCoder castFrom(T other) { - return NSPortCoder._(other._id, other._lib, retain: true, release: true); + static NSPortCoder castFrom( + AVFAudio lib, + T other, + ) { + return NSPortCoder._(other.pointer, lib, retain: true, release: true); } /// Returns a [NSPortCoder] that wraps the given raw object pointer. static NSPortCoder castFromPointer( - AVFAudio lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + AVFAudio lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSPortCoder._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSPortCoder]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_NSPortCoder1); + static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSPortCoder1, + ); } bool isBycopy() { - return _lib._objc_msgSend_12(_id, _lib._sel_isBycopy1); + return _lib._objc_msgSend_12(this.pointer, _lib._sel_isBycopy1); } bool isByref() { - return _lib._objc_msgSend_12(_id, _lib._sel_isByref1); + return _lib._objc_msgSend_12(this.pointer, _lib._sel_isByref1); } void encodePortObject_(NSPort aport) { - _lib._objc_msgSend_593(_id, _lib._sel_encodePortObject_1, aport._id); + _lib._objc_msgSend_593( + this.pointer, + _lib._sel_encodePortObject_1, + aport.pointer, + ); } NSPort? decodePortObject() { - final _ret = _lib._objc_msgSend_594(_id, _lib._sel_decodePortObject1); + final _ret = _lib._objc_msgSend_594( + this.pointer, + _lib._sel_decodePortObject1, + ); return _ret.address == 0 ? null : NSPort._(_ret, _lib, retain: true, release: true); } NSConnection? connection() { - final _ret = _lib._objc_msgSend_595(_id, _lib._sel_connection1); + final _ret = _lib._objc_msgSend_595(this.pointer, _lib._sel_connection1); return _ret.address == 0 ? null : NSConnection._(_ret, _lib, retain: true, release: true); } static NSObject portCoderWithReceivePort_sendPort_components_( - AVFAudio _lib, NSPort? rcvPort, NSPort? sndPort, NSArray? comps) { + AVFAudio _lib, + NSPort? rcvPort, + NSPort? sndPort, + NSArray? comps, + ) { final _ret = _lib._objc_msgSend_596( - _lib._class_NSPortCoder1, - _lib._sel_portCoderWithReceivePort_sendPort_components_1, - rcvPort?._id ?? ffi.nullptr, - sndPort?._id ?? ffi.nullptr, - comps?._id ?? ffi.nullptr); + _lib._class_NSPortCoder1, + _lib._sel_portCoderWithReceivePort_sendPort_components_1, + rcvPort?.pointer ?? ffi.nullptr, + sndPort?.pointer ?? ffi.nullptr, + comps?.pointer ?? ffi.nullptr, + ); return NSObject._(_ret, _lib, retain: true, release: true); } NSObject initWithReceivePort_sendPort_components_( - NSPort? rcvPort, NSPort? sndPort, NSArray? comps) { + NSPort? rcvPort, + NSPort? sndPort, + NSArray? comps, + ) { final _ret = _lib._objc_msgSend_596( - _id, - _lib._sel_initWithReceivePort_sendPort_components_1, - rcvPort?._id ?? ffi.nullptr, - sndPort?._id ?? ffi.nullptr, - comps?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_initWithReceivePort_sendPort_components_1, + rcvPort?.pointer ?? ffi.nullptr, + sndPort?.pointer ?? ffi.nullptr, + comps?.pointer ?? ffi.nullptr, + ); return NSObject._(_ret, _lib, retain: true, release: true); } void dispatch() { - _lib._objc_msgSend_1(_id, _lib._sel_dispatch1); + _lib._objc_msgSend_1(this.pointer, _lib._sel_dispatch1); } @override NSPortCoder init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSPortCoder._(_ret, _lib, retain: true, release: true); } @@ -50519,100 +66365,144 @@ class NSPortCoder extends NSCoder { static NSPortCoder allocWithZone_(AVFAudio _lib, ffi.Pointer<_NSZone> zone) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSPortCoder1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSPortCoder1, + _lib._sel_allocWithZone_1, + zone, + ); return NSPortCoder._(_ret, _lib, retain: false, release: true); } static NSPortCoder alloc(AVFAudio _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSPortCoder1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSPortCoder1, + _lib._sel_alloc1, + ); return NSPortCoder._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + AVFAudio _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSPortCoder1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSPortCoder1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSPortCoder1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + AVFAudio _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSPortCoder1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { return _lib._objc_msgSend_12( - _lib._class_NSPortCoder1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_NSPortCoder1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(AVFAudio _lib) { return _lib._objc_msgSend_12( - _lib._class_NSPortCoder1, _lib._sel_useStoredAccessor1); + _lib._class_NSPortCoder1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSPortCoder1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSPortCoder1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSPortCoder1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSPortCoder1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, NSArray keys, NSString dependentKey) { + AVFAudio _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSPortCoder1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSPortCoder1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { final _ret = _lib._objc_msgSend_85( - _lib._class_NSPortCoder1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSPortCoder1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(AVFAudio _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSPortCoder1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSPortCoder1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } class NSPort extends NSObject { - NSPort._(ffi.Pointer id, AVFAudio lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSPort._( + ffi.Pointer pointer, + AVFAudio lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSPort] that points to the same underlying object as [other]. - static NSPort castFrom(T other) { - return NSPort._(other._id, other._lib, retain: true, release: true); + static NSPort castFrom(AVFAudio lib, T other) { + return NSPort._(other.pointer, lib, retain: true, release: true); } /// Returns a [NSPort] that wraps the given raw object pointer. - static NSPort castFromPointer(AVFAudio lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + static NSPort castFromPointer( + AVFAudio lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSPort._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSPort]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_NSPort1); + static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSPort1, + ); } static NSPort port(AVFAudio _lib) { @@ -50621,20 +66511,23 @@ class NSPort extends NSObject { } void invalidate() { - _lib._objc_msgSend_1(_id, _lib._sel_invalidate1); + _lib._objc_msgSend_1(this.pointer, _lib._sel_invalidate1); } bool get valid { - return _lib._objc_msgSend_12(_id, _lib._sel_isValid1); + return _lib._objc_msgSend_12(this.pointer, _lib._sel_isValid1); } void setDelegate_(NSObject? anObject) { _lib._objc_msgSend_289( - _id, _lib._sel_setDelegate_1, anObject?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setDelegate_1, + anObject?.pointer ?? ffi.nullptr, + ); } NSObject? delegate() { - final _ret = _lib._objc_msgSend_17(_id, _lib._sel_delegate1); + final _ret = _lib._objc_msgSend_17(this.pointer, _lib._sel_delegate1); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); @@ -50642,67 +66535,91 @@ class NSPort extends NSObject { void scheduleInRunLoop_forMode_(NSRunLoop runLoop, NSString mode) { _lib._objc_msgSend_569( - _id, _lib._sel_scheduleInRunLoop_forMode_1, runLoop._id, mode._id); + this.pointer, + _lib._sel_scheduleInRunLoop_forMode_1, + runLoop.pointer, + mode.pointer, + ); } void removeFromRunLoop_forMode_(NSRunLoop runLoop, NSString mode) { _lib._objc_msgSend_569( - _id, _lib._sel_removeFromRunLoop_forMode_1, runLoop._id, mode._id); + this.pointer, + _lib._sel_removeFromRunLoop_forMode_1, + runLoop.pointer, + mode.pointer, + ); } int get reservedSpaceLength { - return _lib._objc_msgSend_10(_id, _lib._sel_reservedSpaceLength1); + return _lib._objc_msgSend_10(this.pointer, _lib._sel_reservedSpaceLength1); } bool sendBeforeDate_components_from_reserved_( - NSDate limitDate, - NSMutableArray? components, - NSPort? receivePort, - int headerSpaceReserved) { + NSDate limitDate, + NSMutableArray? components, + NSPort? receivePort, + int headerSpaceReserved, + ) { return _lib._objc_msgSend_570( - _id, - _lib._sel_sendBeforeDate_components_from_reserved_1, - limitDate._id, - components?._id ?? ffi.nullptr, - receivePort?._id ?? ffi.nullptr, - headerSpaceReserved); + this.pointer, + _lib._sel_sendBeforeDate_components_from_reserved_1, + limitDate.pointer, + components?.pointer ?? ffi.nullptr, + receivePort?.pointer ?? ffi.nullptr, + headerSpaceReserved, + ); } bool sendBeforeDate_msgid_components_from_reserved_( - NSDate limitDate, - int msgID, - NSMutableArray? components, - NSPort? receivePort, - int headerSpaceReserved) { + NSDate limitDate, + int msgID, + NSMutableArray? components, + NSPort? receivePort, + int headerSpaceReserved, + ) { return _lib._objc_msgSend_571( - _id, - _lib._sel_sendBeforeDate_msgid_components_from_reserved_1, - limitDate._id, - msgID, - components?._id ?? ffi.nullptr, - receivePort?._id ?? ffi.nullptr, - headerSpaceReserved); + this.pointer, + _lib._sel_sendBeforeDate_msgid_components_from_reserved_1, + limitDate.pointer, + msgID, + components?.pointer ?? ffi.nullptr, + receivePort?.pointer ?? ffi.nullptr, + headerSpaceReserved, + ); } void addConnection_toRunLoop_forMode_( - NSConnection conn, NSRunLoop runLoop, NSString mode) { - _lib._objc_msgSend_592(_id, _lib._sel_addConnection_toRunLoop_forMode_1, - conn._id, runLoop._id, mode._id); + NSConnection conn, + NSRunLoop runLoop, + NSString mode, + ) { + _lib._objc_msgSend_592( + this.pointer, + _lib._sel_addConnection_toRunLoop_forMode_1, + conn.pointer, + runLoop.pointer, + mode.pointer, + ); } void removeConnection_fromRunLoop_forMode_( - NSConnection conn, NSRunLoop runLoop, NSString mode) { + NSConnection conn, + NSRunLoop runLoop, + NSString mode, + ) { _lib._objc_msgSend_592( - _id, - _lib._sel_removeConnection_fromRunLoop_forMode_1, - conn._id, - runLoop._id, - mode._id); + this.pointer, + _lib._sel_removeConnection_fromRunLoop_forMode_1, + conn.pointer, + runLoop.pointer, + mode.pointer, + ); } @override NSPort init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSPort._(_ret, _lib, retain: true, release: true); } @@ -50713,7 +66630,10 @@ class NSPort extends NSObject { static NSPort allocWithZone_(AVFAudio _lib, ffi.Pointer<_NSZone> zone) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSPort1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSPort1, + _lib._sel_allocWithZone_1, + zone, + ); return NSPort._(_ret, _lib, retain: false, release: true); } @@ -50723,202 +66643,292 @@ class NSPort extends NSObject { } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + AVFAudio _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSPort1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSPort1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSPort1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + AVFAudio _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSPort1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { return _lib._objc_msgSend_12( - _lib._class_NSPort1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_NSPort1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(AVFAudio _lib) { return _lib._objc_msgSend_12( - _lib._class_NSPort1, _lib._sel_useStoredAccessor1); + _lib._class_NSPort1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSPort1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSPort1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSPort1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSPort1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, NSArray keys, NSString dependentKey) { + AVFAudio _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSPort1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSPort1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { final _ret = _lib._objc_msgSend_85( - _lib._class_NSPort1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSPort1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(AVFAudio _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSPort1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSPort1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } class NSRunLoop extends NSObject { - NSRunLoop._(ffi.Pointer id, AVFAudio lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSRunLoop._( + ffi.Pointer pointer, + AVFAudio lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSRunLoop] that points to the same underlying object as [other]. - static NSRunLoop castFrom(T other) { - return NSRunLoop._(other._id, other._lib, retain: true, release: true); + static NSRunLoop castFrom( + AVFAudio lib, + T other, + ) { + return NSRunLoop._(other.pointer, lib, retain: true, release: true); } /// Returns a [NSRunLoop] that wraps the given raw object pointer. - static NSRunLoop castFromPointer(AVFAudio lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + static NSRunLoop castFromPointer( + AVFAudio lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSRunLoop._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSRunLoop]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_NSRunLoop1); + static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSRunLoop1, + ); } static NSRunLoop getCurrentRunLoop(AVFAudio _lib) { final _ret = _lib._objc_msgSend_554( - _lib._class_NSRunLoop1, _lib._sel_currentRunLoop1); + _lib._class_NSRunLoop1, + _lib._sel_currentRunLoop1, + ); return NSRunLoop._(_ret, _lib, retain: true, release: true); } static NSRunLoop getMainRunLoop(AVFAudio _lib) { - final _ret = - _lib._objc_msgSend_554(_lib._class_NSRunLoop1, _lib._sel_mainRunLoop1); + final _ret = _lib._objc_msgSend_554( + _lib._class_NSRunLoop1, + _lib._sel_mainRunLoop1, + ); return NSRunLoop._(_ret, _lib, retain: true, release: true); } NSString? get currentMode { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_currentMode1); + final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_currentMode1); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } ffi.Pointer<__CFRunLoop> getCFRunLoop() { - return _lib._objc_msgSend_555(_id, _lib._sel_getCFRunLoop1); + return _lib._objc_msgSend_555(this.pointer, _lib._sel_getCFRunLoop1); } void addTimer_forMode_(NSTimer timer, NSString mode) { _lib._objc_msgSend_562( - _id, _lib._sel_addTimer_forMode_1, timer._id, mode._id); + this.pointer, + _lib._sel_addTimer_forMode_1, + timer.pointer, + mode.pointer, + ); } void addPort_forMode_(NSPort aPort, NSString mode) { _lib._objc_msgSend_563( - _id, _lib._sel_addPort_forMode_1, aPort._id, mode._id); + this.pointer, + _lib._sel_addPort_forMode_1, + aPort.pointer, + mode.pointer, + ); } void removePort_forMode_(NSPort aPort, NSString mode) { _lib._objc_msgSend_563( - _id, _lib._sel_removePort_forMode_1, aPort._id, mode._id); + this.pointer, + _lib._sel_removePort_forMode_1, + aPort.pointer, + mode.pointer, + ); } NSDate? limitDateForMode_(NSString mode) { - final _ret = - _lib._objc_msgSend_564(_id, _lib._sel_limitDateForMode_1, mode._id); + final _ret = _lib._objc_msgSend_564( + this.pointer, + _lib._sel_limitDateForMode_1, + mode.pointer, + ); return _ret.address == 0 ? null : NSDate._(_ret, _lib, retain: true, release: true); } void acceptInputForMode_beforeDate_(NSString mode, NSDate limitDate) { - _lib._objc_msgSend_565(_id, _lib._sel_acceptInputForMode_beforeDate_1, - mode._id, limitDate._id); + _lib._objc_msgSend_565( + this.pointer, + _lib._sel_acceptInputForMode_beforeDate_1, + mode.pointer, + limitDate.pointer, + ); } void run() { - _lib._objc_msgSend_1(_id, _lib._sel_run1); + _lib._objc_msgSend_1(this.pointer, _lib._sel_run1); } void runUntilDate_(NSDate limitDate) { - _lib._objc_msgSend_540(_id, _lib._sel_runUntilDate_1, limitDate._id); + _lib._objc_msgSend_540( + this.pointer, + _lib._sel_runUntilDate_1, + limitDate.pointer, + ); } bool runMode_beforeDate_(NSString mode, NSDate limitDate) { return _lib._objc_msgSend_566( - _id, _lib._sel_runMode_beforeDate_1, mode._id, limitDate._id); + this.pointer, + _lib._sel_runMode_beforeDate_1, + mode.pointer, + limitDate.pointer, + ); } void configureAsServer() { - _lib._objc_msgSend_1(_id, _lib._sel_configureAsServer1); + _lib._objc_msgSend_1(this.pointer, _lib._sel_configureAsServer1); } void performInModes_block_(NSArray modes, ObjCBlock_ffiVoid block) { _lib._objc_msgSend_567( - _id, _lib._sel_performInModes_block_1, modes._id, block._id); + this.pointer, + _lib._sel_performInModes_block_1, + modes.pointer, + block.pointer, + ); } void performBlock_(ObjCBlock_ffiVoid block) { - _lib._objc_msgSend_532(_id, _lib._sel_performBlock_1, block._id); + _lib._objc_msgSend_532( + this.pointer, + _lib._sel_performBlock_1, + block.pointer, + ); } void performSelector_target_argument_order_modes_( - ffi.Pointer aSelector, - NSObject target, - NSObject? arg, - int order, - NSArray modes) { + ffi.Pointer aSelector, + NSObject target, + NSObject? arg, + int order, + NSArray modes, + ) { _lib._objc_msgSend_568( - _id, - _lib._sel_performSelector_target_argument_order_modes_1, - aSelector, - target._id, - arg?._id ?? ffi.nullptr, - order, - modes._id); + this.pointer, + _lib._sel_performSelector_target_argument_order_modes_1, + aSelector, + target.pointer, + arg?.pointer ?? ffi.nullptr, + order, + modes.pointer, + ); } void cancelPerformSelector_target_argument_( - ffi.Pointer aSelector, NSObject target, NSObject? arg) { + ffi.Pointer aSelector, + NSObject target, + NSObject? arg, + ) { _lib._objc_msgSend_533( - _id, - _lib._sel_cancelPerformSelector_target_argument_1, - aSelector, - target._id, - arg?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_cancelPerformSelector_target_argument_1, + aSelector, + target.pointer, + arg?.pointer ?? ffi.nullptr, + ); } void cancelPerformSelectorsWithTarget_(NSObject target) { _lib._objc_msgSend_15( - _id, _lib._sel_cancelPerformSelectorsWithTarget_1, target._id); + this.pointer, + _lib._sel_cancelPerformSelectorsWithTarget_1, + target.pointer, + ); } @override NSRunLoop init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSRunLoop._(_ret, _lib, retain: true, release: true); } @@ -50929,7 +66939,10 @@ class NSRunLoop extends NSObject { static NSRunLoop allocWithZone_(AVFAudio _lib, ffi.Pointer<_NSZone> zone) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSRunLoop1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSRunLoop1, + _lib._sel_allocWithZone_1, + zone, + ); return NSRunLoop._(_ret, _lib, retain: false, release: true); } @@ -50939,65 +66952,94 @@ class NSRunLoop extends NSObject { } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + AVFAudio _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSRunLoop1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSRunLoop1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSRunLoop1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + AVFAudio _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSRunLoop1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { return _lib._objc_msgSend_12( - _lib._class_NSRunLoop1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_NSRunLoop1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(AVFAudio _lib) { return _lib._objc_msgSend_12( - _lib._class_NSRunLoop1, _lib._sel_useStoredAccessor1); + _lib._class_NSRunLoop1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSRunLoop1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSRunLoop1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSRunLoop1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSRunLoop1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, NSArray keys, NSString dependentKey) { + AVFAudio _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSRunLoop1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSRunLoop1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { final _ret = _lib._objc_msgSend_85( - _lib._class_NSRunLoop1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSRunLoop1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(AVFAudio _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSRunLoop1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSRunLoop1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } @@ -51005,178 +67047,230 @@ class NSRunLoop extends NSObject { final class __CFRunLoop extends ffi.Opaque {} class NSTimer extends NSObject { - NSTimer._(ffi.Pointer id, AVFAudio lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSTimer._( + ffi.Pointer pointer, + AVFAudio lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSTimer] that points to the same underlying object as [other]. - static NSTimer castFrom(T other) { - return NSTimer._(other._id, other._lib, retain: true, release: true); + static NSTimer castFrom( + AVFAudio lib, + T other, + ) { + return NSTimer._(other.pointer, lib, retain: true, release: true); } /// Returns a [NSTimer] that wraps the given raw object pointer. - static NSTimer castFromPointer(AVFAudio lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + static NSTimer castFromPointer( + AVFAudio lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSTimer._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSTimer]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_NSTimer1); + static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSTimer1, + ); } static NSTimer timerWithTimeInterval_invocation_repeats_( - AVFAudio _lib, double ti, NSInvocation invocation, bool yesOrNo) { + AVFAudio _lib, + double ti, + NSInvocation invocation, + bool yesOrNo, + ) { final _ret = _lib._objc_msgSend_556( - _lib._class_NSTimer1, - _lib._sel_timerWithTimeInterval_invocation_repeats_1, - ti, - invocation._id, - yesOrNo); + _lib._class_NSTimer1, + _lib._sel_timerWithTimeInterval_invocation_repeats_1, + ti, + invocation.pointer, + yesOrNo, + ); return NSTimer._(_ret, _lib, retain: true, release: true); } static NSTimer scheduledTimerWithTimeInterval_invocation_repeats_( - AVFAudio _lib, double ti, NSInvocation invocation, bool yesOrNo) { + AVFAudio _lib, + double ti, + NSInvocation invocation, + bool yesOrNo, + ) { final _ret = _lib._objc_msgSend_556( - _lib._class_NSTimer1, - _lib._sel_scheduledTimerWithTimeInterval_invocation_repeats_1, - ti, - invocation._id, - yesOrNo); + _lib._class_NSTimer1, + _lib._sel_scheduledTimerWithTimeInterval_invocation_repeats_1, + ti, + invocation.pointer, + yesOrNo, + ); return NSTimer._(_ret, _lib, retain: true, release: true); } static NSTimer timerWithTimeInterval_target_selector_userInfo_repeats_( - AVFAudio _lib, - double ti, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? userInfo, - bool yesOrNo) { + AVFAudio _lib, + double ti, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? userInfo, + bool yesOrNo, + ) { final _ret = _lib._objc_msgSend_557( - _lib._class_NSTimer1, - _lib._sel_timerWithTimeInterval_target_selector_userInfo_repeats_1, - ti, - aTarget._id, - aSelector, - userInfo?._id ?? ffi.nullptr, - yesOrNo); + _lib._class_NSTimer1, + _lib._sel_timerWithTimeInterval_target_selector_userInfo_repeats_1, + ti, + aTarget.pointer, + aSelector, + userInfo?.pointer ?? ffi.nullptr, + yesOrNo, + ); return NSTimer._(_ret, _lib, retain: true, release: true); } static NSTimer - scheduledTimerWithTimeInterval_target_selector_userInfo_repeats_( - AVFAudio _lib, - double ti, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? userInfo, - bool yesOrNo) { + scheduledTimerWithTimeInterval_target_selector_userInfo_repeats_( + AVFAudio _lib, + double ti, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? userInfo, + bool yesOrNo, + ) { final _ret = _lib._objc_msgSend_557( - _lib._class_NSTimer1, - _lib._sel_scheduledTimerWithTimeInterval_target_selector_userInfo_repeats_1, - ti, - aTarget._id, - aSelector, - userInfo?._id ?? ffi.nullptr, - yesOrNo); + _lib._class_NSTimer1, + _lib._sel_scheduledTimerWithTimeInterval_target_selector_userInfo_repeats_1, + ti, + aTarget.pointer, + aSelector, + userInfo?.pointer ?? ffi.nullptr, + yesOrNo, + ); return NSTimer._(_ret, _lib, retain: true, release: true); } - static NSTimer timerWithTimeInterval_repeats_block_(AVFAudio _lib, - double interval, bool repeats, ObjCBlock_ffiVoid_NSTimer block) { + static NSTimer timerWithTimeInterval_repeats_block_( + AVFAudio _lib, + double interval, + bool repeats, + ObjCBlock_ffiVoid_NSTimer block, + ) { final _ret = _lib._objc_msgSend_558( - _lib._class_NSTimer1, - _lib._sel_timerWithTimeInterval_repeats_block_1, - interval, - repeats, - block._id); + _lib._class_NSTimer1, + _lib._sel_timerWithTimeInterval_repeats_block_1, + interval, + repeats, + block.pointer, + ); return NSTimer._(_ret, _lib, retain: true, release: true); } - static NSTimer scheduledTimerWithTimeInterval_repeats_block_(AVFAudio _lib, - double interval, bool repeats, ObjCBlock_ffiVoid_NSTimer block) { + static NSTimer scheduledTimerWithTimeInterval_repeats_block_( + AVFAudio _lib, + double interval, + bool repeats, + ObjCBlock_ffiVoid_NSTimer block, + ) { final _ret = _lib._objc_msgSend_558( - _lib._class_NSTimer1, - _lib._sel_scheduledTimerWithTimeInterval_repeats_block_1, - interval, - repeats, - block._id); + _lib._class_NSTimer1, + _lib._sel_scheduledTimerWithTimeInterval_repeats_block_1, + interval, + repeats, + block.pointer, + ); return NSTimer._(_ret, _lib, retain: true, release: true); } - NSTimer initWithFireDate_interval_repeats_block_(NSDate date, double interval, - bool repeats, ObjCBlock_ffiVoid_NSTimer block) { + NSTimer initWithFireDate_interval_repeats_block_( + NSDate date, + double interval, + bool repeats, + ObjCBlock_ffiVoid_NSTimer block, + ) { final _ret = _lib._objc_msgSend_559( - _id, - _lib._sel_initWithFireDate_interval_repeats_block_1, - date._id, - interval, - repeats, - block._id); + this.pointer, + _lib._sel_initWithFireDate_interval_repeats_block_1, + date.pointer, + interval, + repeats, + block.pointer, + ); return NSTimer._(_ret, _lib, retain: true, release: true); } NSTimer initWithFireDate_interval_target_selector_userInfo_repeats_( - NSDate date, - double ti, - NSObject t, - ffi.Pointer s, - NSObject? ui, - bool rep) { + NSDate date, + double ti, + NSObject t, + ffi.Pointer s, + NSObject? ui, + bool rep, + ) { final _ret = _lib._objc_msgSend_560( - _id, - _lib._sel_initWithFireDate_interval_target_selector_userInfo_repeats_1, - date._id, - ti, - t._id, - s, - ui?._id ?? ffi.nullptr, - rep); + this.pointer, + _lib._sel_initWithFireDate_interval_target_selector_userInfo_repeats_1, + date.pointer, + ti, + t.pointer, + s, + ui?.pointer ?? ffi.nullptr, + rep, + ); return NSTimer._(_ret, _lib, retain: true, release: true); } void fire() { - _lib._objc_msgSend_1(_id, _lib._sel_fire1); + _lib._objc_msgSend_1(this.pointer, _lib._sel_fire1); } NSDate get fireDate { - final _ret = _lib._objc_msgSend_172(_id, _lib._sel_fireDate1); + final _ret = _lib._objc_msgSend_172(this.pointer, _lib._sel_fireDate1); return NSDate._(_ret, _lib, retain: true, release: true); } set fireDate(NSDate value) { - return _lib._objc_msgSend_561(_id, _lib._sel_setFireDate_1, value._id); + return _lib._objc_msgSend_561( + this.pointer, + _lib._sel_setFireDate_1, + value.pointer, + ); } double get timeInterval { - return _lib._objc_msgSend_useVariants1 - ? _lib._objc_msgSend_165_fpret(_id, _lib._sel_timeInterval1) - : _lib._objc_msgSend_165(_id, _lib._sel_timeInterval1); + return objc.useMsgSendVariants + ? _lib._objc_msgSend_165_fpret(this.pointer, _lib._sel_timeInterval1) + : _lib._objc_msgSend_165(this.pointer, _lib._sel_timeInterval1); } double get tolerance { - return _lib._objc_msgSend_useVariants1 - ? _lib._objc_msgSend_165_fpret(_id, _lib._sel_tolerance1) - : _lib._objc_msgSend_165(_id, _lib._sel_tolerance1); + return objc.useMsgSendVariants + ? _lib._objc_msgSend_165_fpret(this.pointer, _lib._sel_tolerance1) + : _lib._objc_msgSend_165(this.pointer, _lib._sel_tolerance1); } set tolerance(double value) { - return _lib._objc_msgSend_542(_id, _lib._sel_setTolerance_1, value); + return _lib._objc_msgSend_542( + this.pointer, + _lib._sel_setTolerance_1, + value, + ); } void invalidate() { - _lib._objc_msgSend_1(_id, _lib._sel_invalidate1); + _lib._objc_msgSend_1(this.pointer, _lib._sel_invalidate1); } bool get valid { - return _lib._objc_msgSend_12(_id, _lib._sel_isValid1); + return _lib._objc_msgSend_12(this.pointer, _lib._sel_isValid1); } NSObject? get userInfo { - final _ret = _lib._objc_msgSend_17(_id, _lib._sel_userInfo1); + final _ret = _lib._objc_msgSend_17(this.pointer, _lib._sel_userInfo1); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); @@ -51184,7 +67278,7 @@ class NSTimer extends NSObject { @override NSTimer init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSTimer._(_ret, _lib, retain: true, release: true); } @@ -51195,7 +67289,10 @@ class NSTimer extends NSObject { static NSTimer allocWithZone_(AVFAudio _lib, ffi.Pointer<_NSZone> zone) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSTimer1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSTimer1, + _lib._sel_allocWithZone_1, + zone, + ); return NSTimer._(_ret, _lib, retain: false, release: true); } @@ -51205,101 +67302,147 @@ class NSTimer extends NSObject { } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + AVFAudio _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSTimer1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSTimer1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSTimer1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + AVFAudio _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSTimer1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { return _lib._objc_msgSend_12( - _lib._class_NSTimer1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_NSTimer1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(AVFAudio _lib) { return _lib._objc_msgSend_12( - _lib._class_NSTimer1, _lib._sel_useStoredAccessor1); + _lib._class_NSTimer1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSTimer1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSTimer1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSTimer1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSTimer1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, NSArray keys, NSString dependentKey) { + AVFAudio _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSTimer1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSTimer1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { final _ret = _lib._objc_msgSend_85( - _lib._class_NSTimer1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSTimer1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(AVFAudio _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSTimer1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSTimer1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } void _ObjCBlock_ffiVoid_NSTimer_fnPtrTrampoline( - ffi.Pointer<_ObjCBlock> block, ffi.Pointer arg0) => - block.ref.target - .cast< - ffi - .NativeFunction arg0)>>() - .asFunction)>()(arg0); + ffi.Pointer block, + ffi.Pointer arg0, +) => block.ref.target + .cast< + ffi.NativeFunction arg0)> + >() + .asFunction)>()(arg0); final _ObjCBlock_ffiVoid_NSTimer_closureRegistry = - )>{}; + )>{}; int _ObjCBlock_ffiVoid_NSTimer_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_ffiVoid_NSTimer_registerClosure( - void Function(ffi.Pointer) fn) { + void Function(ffi.Pointer) fn, +) { final id = ++_ObjCBlock_ffiVoid_NSTimer_closureRegistryIndex; _ObjCBlock_ffiVoid_NSTimer_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } void _ObjCBlock_ffiVoid_NSTimer_closureTrampoline( - ffi.Pointer<_ObjCBlock> block, ffi.Pointer arg0) => - _ObjCBlock_ffiVoid_NSTimer_closureRegistry[block.ref.target.address]!(arg0); - -class ObjCBlock_ffiVoid_NSTimer extends _ObjCBlockBase { - ObjCBlock_ffiVoid_NSTimer._(ffi.Pointer<_ObjCBlock> id, AVFAudio lib, - {bool retain = false, bool release = true}) - : super._(id, lib, retain: retain, release: release); + ffi.Pointer block, + ffi.Pointer arg0, +) => _ObjCBlock_ffiVoid_NSTimer_closureRegistry[block.ref.target.address]!( + arg0, +); + +class ObjCBlock_ffiVoid_NSTimer extends objc.ObjCBlockBase { + ObjCBlock_ffiVoid_NSTimer._( + ffi.Pointer pointer, + this._lib, { + bool retain = false, + bool release = true, + }) : super(pointer, retain: retain, release: release); + + AVFAudio _lib; /// Returns a block that wraps the given raw block pointer. static ObjCBlock_ffiVoid_NSTimer castFromPointer( - AVFAudio lib, ffi.Pointer<_ObjCBlock> pointer, - {bool retain = false, bool release = false}) { - return ObjCBlock_ffiVoid_NSTimer._(pointer, lib, - retain: retain, release: release); + AVFAudio lib, + ffi.Pointer pointer, { + bool retain = false, + bool release = false, + }) { + return ObjCBlock_ffiVoid_NSTimer._( + pointer, + lib, + retain: retain, + release: release, + ); } /// Creates a block from a C function pointer. @@ -51308,20 +67451,20 @@ class ObjCBlock_ffiVoid_NSTimer extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSTimer.fromFunctionPointer( - AVFAudio lib, - ffi.Pointer< - ffi - .NativeFunction arg0)>> - ptr) - : this._( - lib._newBlock1( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_NSTimer_fnPtrTrampoline) - .cast(), - ptr.cast()), - lib); + AVFAudio lib, + ffi.Pointer< + ffi.NativeFunction arg0)> + > ptr, + ) : this._(objc.newBlock( + _cFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_NSTimer_fnPtrTrampoline).cast(), + ptr.cast(), + ), lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -51330,18 +67473,20 @@ class ObjCBlock_ffiVoid_NSTimer extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSTimer.fromFunction( - AVFAudio lib, void Function(NSTimer) fn) - : this._( - lib._newBlock1( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_NSTimer_closureTrampoline) - .cast(), - _ObjCBlock_ffiVoid_NSTimer_registerClosure( - (ffi.Pointer arg0) => - fn(NSTimer._(arg0, lib, retain: true, release: true)))), - lib); + AVFAudio lib, + void Function(NSTimer) fn, + ) : this._(objc.newBlock( + _dartFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_NSTimer_closureTrampoline).cast(), + _ObjCBlock_ffiVoid_NSTimer_registerClosure(( + ffi.Pointer arg0, + ) => fn(NSTimer._(arg0, lib, retain: true, release: true))), + ), lib); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -51354,174 +67499,228 @@ class ObjCBlock_ffiVoid_NSTimer extends _ObjCBlockBase { /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. ObjCBlock_ffiVoid_NSTimer.listener(AVFAudio lib, void Function(NSTimer) fn) - : this._( - lib._newBlock1( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, - ffi.Pointer)>.listener( - _ObjCBlock_ffiVoid_NSTimer_closureTrampoline) - ..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSTimer_registerClosure( - (ffi.Pointer arg0) => - fn(NSTimer._(arg0, lib, retain: true, release: true)))), - lib); + : this._(objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ) + >.listener( + _ObjCBlock_ffiVoid_NSTimer_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSTimer_registerClosure(( + ffi.Pointer arg0, + ) => fn(NSTimer._(arg0, lib, retain: true, release: true))), + ), lib); static ffi.NativeCallable< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer)>? - _dartFuncListenerTrampoline; + ffi.Void Function(ffi.Pointer, ffi.Pointer) + >? _dartFuncListenerTrampoline; - void call(NSTimer arg0) => _id.ref.invoke + void call(NSTimer arg0) => pointer.ref.invoke .cast< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0)>>() + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer block, + ffi.Pointer arg0, + ) + > + >() .asFunction< - void Function(ffi.Pointer<_ObjCBlock>, - ffi.Pointer)>()(_id, arg0._id); + void Function(ffi.Pointer, ffi.Pointer) + >()(pointer, arg0.pointer); } class NSConnection extends NSObject { - NSConnection._(ffi.Pointer id, AVFAudio lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSConnection._( + ffi.Pointer pointer, + AVFAudio lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSConnection] that points to the same underlying object as [other]. - static NSConnection castFrom(T other) { - return NSConnection._(other._id, other._lib, retain: true, release: true); + static NSConnection castFrom( + AVFAudio lib, + T other, + ) { + return NSConnection._(other.pointer, lib, retain: true, release: true); } /// Returns a [NSConnection] that wraps the given raw object pointer. static NSConnection castFromPointer( - AVFAudio lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + AVFAudio lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSConnection._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSConnection]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_NSConnection1); + static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSConnection1, + ); } NSDictionary get statistics { - final _ret = _lib._objc_msgSend_181(_id, _lib._sel_statistics1); + final _ret = _lib._objc_msgSend_181(this.pointer, _lib._sel_statistics1); return NSDictionary._(_ret, _lib, retain: true, release: true); } static NSArray allConnections(AVFAudio _lib) { final _ret = _lib._objc_msgSend_85( - _lib._class_NSConnection1, _lib._sel_allConnections1); + _lib._class_NSConnection1, + _lib._sel_allConnections1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSConnection defaultConnection(AVFAudio _lib) { final _ret = _lib._objc_msgSend_572( - _lib._class_NSConnection1, _lib._sel_defaultConnection1); + _lib._class_NSConnection1, + _lib._sel_defaultConnection1, + ); return NSConnection._(_ret, _lib, retain: true, release: true); } static NSConnection? connectionWithRegisteredName_host_( - AVFAudio _lib, NSString name, NSString? hostName) { + AVFAudio _lib, + NSString name, + NSString? hostName, + ) { final _ret = _lib._objc_msgSend_573( - _lib._class_NSConnection1, - _lib._sel_connectionWithRegisteredName_host_1, - name._id, - hostName?._id ?? ffi.nullptr); + _lib._class_NSConnection1, + _lib._sel_connectionWithRegisteredName_host_1, + name.pointer, + hostName?.pointer ?? ffi.nullptr, + ); return _ret.address == 0 ? null : NSConnection._(_ret, _lib, retain: true, release: true); } static NSConnection? connectionWithRegisteredName_host_usingNameServer_( - AVFAudio _lib, - NSString name, - NSString? hostName, - NSPortNameServer server) { + AVFAudio _lib, + NSString name, + NSString? hostName, + NSPortNameServer server, + ) { final _ret = _lib._objc_msgSend_578( - _lib._class_NSConnection1, - _lib._sel_connectionWithRegisteredName_host_usingNameServer_1, - name._id, - hostName?._id ?? ffi.nullptr, - server._id); + _lib._class_NSConnection1, + _lib._sel_connectionWithRegisteredName_host_usingNameServer_1, + name.pointer, + hostName?.pointer ?? ffi.nullptr, + server.pointer, + ); return _ret.address == 0 ? null : NSConnection._(_ret, _lib, retain: true, release: true); } static NSDistantObject? rootProxyForConnectionWithRegisteredName_host_( - AVFAudio _lib, NSString name, NSString? hostName) { + AVFAudio _lib, + NSString name, + NSString? hostName, + ) { final _ret = _lib._objc_msgSend_583( - _lib._class_NSConnection1, - _lib._sel_rootProxyForConnectionWithRegisteredName_host_1, - name._id, - hostName?._id ?? ffi.nullptr); + _lib._class_NSConnection1, + _lib._sel_rootProxyForConnectionWithRegisteredName_host_1, + name.pointer, + hostName?.pointer ?? ffi.nullptr, + ); return _ret.address == 0 ? null : NSDistantObject._(_ret, _lib, retain: true, release: true); } static NSDistantObject? - rootProxyForConnectionWithRegisteredName_host_usingNameServer_( - AVFAudio _lib, - NSString name, - NSString? hostName, - NSPortNameServer server) { + rootProxyForConnectionWithRegisteredName_host_usingNameServer_( + AVFAudio _lib, + NSString name, + NSString? hostName, + NSPortNameServer server, + ) { final _ret = _lib._objc_msgSend_584( - _lib._class_NSConnection1, - _lib._sel_rootProxyForConnectionWithRegisteredName_host_usingNameServer_1, - name._id, - hostName?._id ?? ffi.nullptr, - server._id); + _lib._class_NSConnection1, + _lib._sel_rootProxyForConnectionWithRegisteredName_host_usingNameServer_1, + name.pointer, + hostName?.pointer ?? ffi.nullptr, + server.pointer, + ); return _ret.address == 0 ? null : NSDistantObject._(_ret, _lib, retain: true, release: true); } static NSConnection? serviceConnectionWithName_rootObject_usingNameServer_( - AVFAudio _lib, NSString name, NSObject root, NSPortNameServer server) { + AVFAudio _lib, + NSString name, + NSObject root, + NSPortNameServer server, + ) { final _ret = _lib._objc_msgSend_585( - _lib._class_NSConnection1, - _lib._sel_serviceConnectionWithName_rootObject_usingNameServer_1, - name._id, - root._id, - server._id); + _lib._class_NSConnection1, + _lib._sel_serviceConnectionWithName_rootObject_usingNameServer_1, + name.pointer, + root.pointer, + server.pointer, + ); return _ret.address == 0 ? null : NSConnection._(_ret, _lib, retain: true, release: true); } static NSConnection? serviceConnectionWithName_rootObject_( - AVFAudio _lib, NSString name, NSObject root) { - final _ret = _lib._objc_msgSend_586(_lib._class_NSConnection1, - _lib._sel_serviceConnectionWithName_rootObject_1, name._id, root._id); + AVFAudio _lib, + NSString name, + NSObject root, + ) { + final _ret = _lib._objc_msgSend_586( + _lib._class_NSConnection1, + _lib._sel_serviceConnectionWithName_rootObject_1, + name.pointer, + root.pointer, + ); return _ret.address == 0 ? null : NSConnection._(_ret, _lib, retain: true, release: true); } double get requestTimeout { - return _lib._objc_msgSend_useVariants1 - ? _lib._objc_msgSend_165_fpret(_id, _lib._sel_requestTimeout1) - : _lib._objc_msgSend_165(_id, _lib._sel_requestTimeout1); + return objc.useMsgSendVariants + ? _lib._objc_msgSend_165_fpret(this.pointer, _lib._sel_requestTimeout1) + : _lib._objc_msgSend_165(this.pointer, _lib._sel_requestTimeout1); } set requestTimeout(double value) { - return _lib._objc_msgSend_542(_id, _lib._sel_setRequestTimeout_1, value); + return _lib._objc_msgSend_542( + this.pointer, + _lib._sel_setRequestTimeout_1, + value, + ); } double get replyTimeout { - return _lib._objc_msgSend_useVariants1 - ? _lib._objc_msgSend_165_fpret(_id, _lib._sel_replyTimeout1) - : _lib._objc_msgSend_165(_id, _lib._sel_replyTimeout1); + return objc.useMsgSendVariants + ? _lib._objc_msgSend_165_fpret(this.pointer, _lib._sel_replyTimeout1) + : _lib._objc_msgSend_165(this.pointer, _lib._sel_replyTimeout1); } set replyTimeout(double value) { - return _lib._objc_msgSend_542(_id, _lib._sel_setReplyTimeout_1, value); + return _lib._objc_msgSend_542( + this.pointer, + _lib._sel_setReplyTimeout_1, + value, + ); } NSObject? get rootObject { - final _ret = _lib._objc_msgSend_17(_id, _lib._sel_rootObject1); + final _ret = _lib._objc_msgSend_17(this.pointer, _lib._sel_rootObject1); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); @@ -51529,11 +67728,14 @@ class NSConnection extends NSObject { set rootObject(NSObject? value) { return _lib._objc_msgSend_416( - _id, _lib._sel_setRootObject_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setRootObject_1, + value?.pointer ?? ffi.nullptr, + ); } NSObject? get delegate { - final _ret = _lib._objc_msgSend_17(_id, _lib._sel_delegate1); + final _ret = _lib._objc_msgSend_17(this.pointer, _lib._sel_delegate1); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); @@ -51541,62 +67743,89 @@ class NSConnection extends NSObject { set delegate(NSObject? value) { return _lib._objc_msgSend_416( - _id, _lib._sel_setDelegate_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setDelegate_1, + value?.pointer ?? ffi.nullptr, + ); } bool get independentConversationQueueing { return _lib._objc_msgSend_12( - _id, _lib._sel_independentConversationQueueing1); + this.pointer, + _lib._sel_independentConversationQueueing1, + ); } set independentConversationQueueing(bool value) { return _lib._objc_msgSend_527( - _id, _lib._sel_setIndependentConversationQueueing_1, value); + this.pointer, + _lib._sel_setIndependentConversationQueueing_1, + value, + ); } bool get valid { - return _lib._objc_msgSend_12(_id, _lib._sel_isValid1); + return _lib._objc_msgSend_12(this.pointer, _lib._sel_isValid1); } NSDistantObject get rootProxy { - final _ret = _lib._objc_msgSend_587(_id, _lib._sel_rootProxy1); + final _ret = _lib._objc_msgSend_587(this.pointer, _lib._sel_rootProxy1); return NSDistantObject._(_ret, _lib, retain: true, release: true); } void invalidate() { - _lib._objc_msgSend_1(_id, _lib._sel_invalidate1); + _lib._objc_msgSend_1(this.pointer, _lib._sel_invalidate1); } void addRequestMode_(NSString rmode) { - _lib._objc_msgSend_247(_id, _lib._sel_addRequestMode_1, rmode._id); + _lib._objc_msgSend_247( + this.pointer, + _lib._sel_addRequestMode_1, + rmode.pointer, + ); } void removeRequestMode_(NSString rmode) { - _lib._objc_msgSend_247(_id, _lib._sel_removeRequestMode_1, rmode._id); + _lib._objc_msgSend_247( + this.pointer, + _lib._sel_removeRequestMode_1, + rmode.pointer, + ); } NSArray get requestModes { - final _ret = _lib._objc_msgSend_85(_id, _lib._sel_requestModes1); + final _ret = _lib._objc_msgSend_85(this.pointer, _lib._sel_requestModes1); return NSArray._(_ret, _lib, retain: true, release: true); } bool registerName_(NSString? name) { return _lib._objc_msgSend_588( - _id, _lib._sel_registerName_1, name?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_registerName_1, + name?.pointer ?? ffi.nullptr, + ); } bool registerName_withNameServer_(NSString? name, NSPortNameServer server) { - return _lib._objc_msgSend_589(_id, _lib._sel_registerName_withNameServer_1, - name?._id ?? ffi.nullptr, server._id); + return _lib._objc_msgSend_589( + this.pointer, + _lib._sel_registerName_withNameServer_1, + name?.pointer ?? ffi.nullptr, + server.pointer, + ); } static NSConnection? connectionWithReceivePort_sendPort_( - AVFAudio _lib, NSPort? receivePort, NSPort? sendPort) { + AVFAudio _lib, + NSPort? receivePort, + NSPort? sendPort, + ) { final _ret = _lib._objc_msgSend_590( - _lib._class_NSConnection1, - _lib._sel_connectionWithReceivePort_sendPort_1, - receivePort?._id ?? ffi.nullptr, - sendPort?._id ?? ffi.nullptr); + _lib._class_NSConnection1, + _lib._sel_connectionWithReceivePort_sendPort_1, + receivePort?.pointer ?? ffi.nullptr, + sendPort?.pointer ?? ffi.nullptr, + ); return _ret.address == 0 ? null : NSConnection._(_ret, _lib, retain: true, release: true); @@ -51604,189 +67833,261 @@ class NSConnection extends NSObject { static NSObject? currentConversation(AVFAudio _lib) { final _ret = _lib._objc_msgSend_17( - _lib._class_NSConnection1, _lib._sel_currentConversation1); + _lib._class_NSConnection1, + _lib._sel_currentConversation1, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } NSConnection? initWithReceivePort_sendPort_( - NSPort? receivePort, NSPort? sendPort) { + NSPort? receivePort, + NSPort? sendPort, + ) { final _ret = _lib._objc_msgSend_590( - _id, - _lib._sel_initWithReceivePort_sendPort_1, - receivePort?._id ?? ffi.nullptr, - sendPort?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_initWithReceivePort_sendPort_1, + receivePort?.pointer ?? ffi.nullptr, + sendPort?.pointer ?? ffi.nullptr, + ); return _ret.address == 0 ? null : NSConnection._(_ret, _lib, retain: true, release: true); } NSPort get sendPort { - final _ret = _lib._objc_msgSend_553(_id, _lib._sel_sendPort1); + final _ret = _lib._objc_msgSend_553(this.pointer, _lib._sel_sendPort1); return NSPort._(_ret, _lib, retain: true, release: true); } NSPort get receivePort { - final _ret = _lib._objc_msgSend_553(_id, _lib._sel_receivePort1); + final _ret = _lib._objc_msgSend_553(this.pointer, _lib._sel_receivePort1); return NSPort._(_ret, _lib, retain: true, release: true); } void enableMultipleThreads() { - _lib._objc_msgSend_1(_id, _lib._sel_enableMultipleThreads1); + _lib._objc_msgSend_1(this.pointer, _lib._sel_enableMultipleThreads1); } bool get multipleThreadsEnabled { - return _lib._objc_msgSend_12(_id, _lib._sel_multipleThreadsEnabled1); + return _lib._objc_msgSend_12( + this.pointer, + _lib._sel_multipleThreadsEnabled1, + ); } void addRunLoop_(NSRunLoop runloop) { - _lib._objc_msgSend_591(_id, _lib._sel_addRunLoop_1, runloop._id); + _lib._objc_msgSend_591( + this.pointer, + _lib._sel_addRunLoop_1, + runloop.pointer, + ); } void removeRunLoop_(NSRunLoop runloop) { - _lib._objc_msgSend_591(_id, _lib._sel_removeRunLoop_1, runloop._id); + _lib._objc_msgSend_591( + this.pointer, + _lib._sel_removeRunLoop_1, + runloop.pointer, + ); } void runInNewThread() { - _lib._objc_msgSend_1(_id, _lib._sel_runInNewThread1); + _lib._objc_msgSend_1(this.pointer, _lib._sel_runInNewThread1); } NSArray get remoteObjects { - final _ret = _lib._objc_msgSend_85(_id, _lib._sel_remoteObjects1); + final _ret = _lib._objc_msgSend_85(this.pointer, _lib._sel_remoteObjects1); return NSArray._(_ret, _lib, retain: true, release: true); } NSArray get localObjects { - final _ret = _lib._objc_msgSend_85(_id, _lib._sel_localObjects1); + final _ret = _lib._objc_msgSend_85(this.pointer, _lib._sel_localObjects1); return NSArray._(_ret, _lib, retain: true, release: true); } void dispatchWithComponents_(NSArray components) { _lib._objc_msgSend_472( - _id, _lib._sel_dispatchWithComponents_1, components._id); + this.pointer, + _lib._sel_dispatchWithComponents_1, + components.pointer, + ); } @override NSConnection init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSConnection._(_ret, _lib, retain: true, release: true); } static NSConnection new1(AVFAudio _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSConnection1, _lib._sel_new1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSConnection1, + _lib._sel_new1, + ); return NSConnection._(_ret, _lib, retain: false, release: true); } static NSConnection allocWithZone_(AVFAudio _lib, ffi.Pointer<_NSZone> zone) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSConnection1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSConnection1, + _lib._sel_allocWithZone_1, + zone, + ); return NSConnection._(_ret, _lib, retain: false, release: true); } static NSConnection alloc(AVFAudio _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSConnection1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSConnection1, + _lib._sel_alloc1, + ); return NSConnection._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + AVFAudio _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSConnection1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSConnection1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSConnection1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + AVFAudio _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSConnection1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { return _lib._objc_msgSend_12( - _lib._class_NSConnection1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_NSConnection1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(AVFAudio _lib) { return _lib._objc_msgSend_12( - _lib._class_NSConnection1, _lib._sel_useStoredAccessor1); + _lib._class_NSConnection1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSConnection1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSConnection1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSConnection1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSConnection1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, NSArray keys, NSString dependentKey) { + AVFAudio _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSConnection1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSConnection1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { final _ret = _lib._objc_msgSend_85( - _lib._class_NSConnection1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSConnection1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(AVFAudio _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSConnection1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSConnection1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } class NSPortNameServer extends NSObject { - NSPortNameServer._(ffi.Pointer id, AVFAudio lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSPortNameServer._( + ffi.Pointer pointer, + AVFAudio lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSPortNameServer] that points to the same underlying object as [other]. - static NSPortNameServer castFrom(T other) { - return NSPortNameServer._(other._id, other._lib, - retain: true, release: true); + static NSPortNameServer castFrom( + AVFAudio lib, + T other, + ) { + return NSPortNameServer._(other.pointer, lib, retain: true, release: true); } /// Returns a [NSPortNameServer] that wraps the given raw object pointer. static NSPortNameServer castFromPointer( - AVFAudio lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + AVFAudio lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSPortNameServer._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSPortNameServer]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0(obj._id, obj._lib._sel_isKindOfClass_1, - obj._lib._class_NSPortNameServer1); + static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSPortNameServer1, + ); } static NSPortNameServer systemDefaultPortNameServer(AVFAudio _lib) { final _ret = _lib._objc_msgSend_574( - _lib._class_NSPortNameServer1, _lib._sel_systemDefaultPortNameServer1); + _lib._class_NSPortNameServer1, + _lib._sel_systemDefaultPortNameServer1, + ); return NSPortNameServer._(_ret, _lib, retain: true, release: true); } NSPort? portForName_(NSString name) { - final _ret = _lib._objc_msgSend_575(_id, _lib._sel_portForName_1, name._id); + final _ret = _lib._objc_msgSend_575( + this.pointer, + _lib._sel_portForName_1, + name.pointer, + ); return _ret.address == 0 ? null : NSPort._(_ret, _lib, retain: true, release: true); @@ -51794,7 +68095,11 @@ class NSPortNameServer extends NSObject { NSPort? portForName_host_(NSString name, NSString? host) { final _ret = _lib._objc_msgSend_576( - _id, _lib._sel_portForName_host_1, name._id, host?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_portForName_host_1, + name.pointer, + host?.pointer ?? ffi.nullptr, + ); return _ret.address == 0 ? null : NSPort._(_ret, _lib, retain: true, release: true); @@ -51802,161 +68107,247 @@ class NSPortNameServer extends NSObject { bool registerPort_name_(NSPort port, NSString name) { return _lib._objc_msgSend_577( - _id, _lib._sel_registerPort_name_1, port._id, name._id); + this.pointer, + _lib._sel_registerPort_name_1, + port.pointer, + name.pointer, + ); } bool removePortForName_(NSString name) { - return _lib._objc_msgSend_64(_id, _lib._sel_removePortForName_1, name._id); + return _lib._objc_msgSend_64( + this.pointer, + _lib._sel_removePortForName_1, + name.pointer, + ); } @override NSPortNameServer init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSPortNameServer._(_ret, _lib, retain: true, release: true); } static NSPortNameServer new1(AVFAudio _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSPortNameServer1, _lib._sel_new1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSPortNameServer1, + _lib._sel_new1, + ); return NSPortNameServer._(_ret, _lib, retain: false, release: true); } static NSPortNameServer allocWithZone_( - AVFAudio _lib, ffi.Pointer<_NSZone> zone) { + AVFAudio _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSPortNameServer1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSPortNameServer1, + _lib._sel_allocWithZone_1, + zone, + ); return NSPortNameServer._(_ret, _lib, retain: false, release: true); } static NSPortNameServer alloc(AVFAudio _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSPortNameServer1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSPortNameServer1, + _lib._sel_alloc1, + ); return NSPortNameServer._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + AVFAudio _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSPortNameServer1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSPortNameServer1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSPortNameServer1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + AVFAudio _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSPortNameServer1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { - return _lib._objc_msgSend_12(_lib._class_NSPortNameServer1, - _lib._sel_accessInstanceVariablesDirectly1); + return _lib._objc_msgSend_12( + _lib._class_NSPortNameServer1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(AVFAudio _lib) { return _lib._objc_msgSend_12( - _lib._class_NSPortNameServer1, _lib._sel_useStoredAccessor1); + _lib._class_NSPortNameServer1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSPortNameServer1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSPortNameServer1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSPortNameServer1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSPortNameServer1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, NSArray keys, NSString dependentKey) { + AVFAudio _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSPortNameServer1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSPortNameServer1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_85(_lib._class_NSPortNameServer1, - _lib._sel_classFallbacksForKeyedArchiver1); + final _ret = _lib._objc_msgSend_85( + _lib._class_NSPortNameServer1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(AVFAudio _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSPortNameServer1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSPortNameServer1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } class NSDistantObject extends NSProxy { - NSDistantObject._(ffi.Pointer id, AVFAudio lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSDistantObject._( + ffi.Pointer pointer, + AVFAudio lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSDistantObject] that points to the same underlying object as [other]. - static NSDistantObject castFrom(T other) { - return NSDistantObject._(other._id, other._lib, - retain: true, release: true); + static NSDistantObject castFrom( + AVFAudio lib, + T other, + ) { + return NSDistantObject._(other.pointer, lib, retain: true, release: true); } /// Returns a [NSDistantObject] that wraps the given raw object pointer. static NSDistantObject castFromPointer( - AVFAudio lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + AVFAudio lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSDistantObject._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSDistantObject]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0(obj._id, obj._lib._sel_isKindOfClass_1, - obj._lib._class_NSDistantObject1); + static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSDistantObject1, + ); } static NSObject? proxyWithTarget_connection_( - AVFAudio _lib, NSObject target, NSConnection connection) { - final _ret = _lib._objc_msgSend_580(_lib._class_NSDistantObject1, - _lib._sel_proxyWithTarget_connection_1, target._id, connection._id); + AVFAudio _lib, + NSObject target, + NSConnection connection, + ) { + final _ret = _lib._objc_msgSend_580( + _lib._class_NSDistantObject1, + _lib._sel_proxyWithTarget_connection_1, + target.pointer, + connection.pointer, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } NSDistantObject? initWithTarget_connection_( - NSObject target, NSConnection connection) { + NSObject target, + NSConnection connection, + ) { final _ret = _lib._objc_msgSend_580( - _id, _lib._sel_initWithTarget_connection_1, target._id, connection._id); + this.pointer, + _lib._sel_initWithTarget_connection_1, + target.pointer, + connection.pointer, + ); return _ret.address == 0 ? null : NSDistantObject._(_ret, _lib, retain: true, release: true); } static NSObject proxyWithLocal_connection_( - AVFAudio _lib, NSObject target, NSConnection connection) { - final _ret = _lib._objc_msgSend_581(_lib._class_NSDistantObject1, - _lib._sel_proxyWithLocal_connection_1, target._id, connection._id); + AVFAudio _lib, + NSObject target, + NSConnection connection, + ) { + final _ret = _lib._objc_msgSend_581( + _lib._class_NSDistantObject1, + _lib._sel_proxyWithLocal_connection_1, + target.pointer, + connection.pointer, + ); return NSObject._(_ret, _lib, retain: true, release: true); } NSDistantObject initWithLocal_connection_( - NSObject target, NSConnection connection) { + NSObject target, + NSConnection connection, + ) { final _ret = _lib._objc_msgSend_581( - _id, _lib._sel_initWithLocal_connection_1, target._id, connection._id); + this.pointer, + _lib._sel_initWithLocal_connection_1, + target.pointer, + connection.pointer, + ); return NSDistantObject._(_ret, _lib, retain: true, release: true); } NSDistantObject? initWithCoder_(NSCoder inCoder) { - final _ret = - _lib._objc_msgSend_47(_id, _lib._sel_initWithCoder_1, inCoder._id); + final _ret = _lib._objc_msgSend_47( + this.pointer, + _lib._sel_initWithCoder_1, + inCoder.pointer, + ); return _ret.address == 0 ? null : NSDistantObject._(_ret, _lib, retain: true, release: true); @@ -51964,47 +68355,75 @@ class NSDistantObject extends NSProxy { void setProtocolForProxy_(Protocol? proto) { _lib._objc_msgSend_582( - _id, _lib._sel_setProtocolForProxy_1, proto?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setProtocolForProxy_1, + proto?.pointer ?? ffi.nullptr, + ); } NSConnection get connectionForProxy { - final _ret = _lib._objc_msgSend_572(_id, _lib._sel_connectionForProxy1); + final _ret = _lib._objc_msgSend_572( + this.pointer, + _lib._sel_connectionForProxy1, + ); return NSConnection._(_ret, _lib, retain: true, release: true); } static NSObject alloc(AVFAudio _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSDistantObject1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSDistantObject1, + _lib._sel_alloc1, + ); return NSObject._(_ret, _lib, retain: false, release: true); } static bool respondsToSelector_( - AVFAudio _lib, ffi.Pointer aSelector) { - return _lib._objc_msgSend_4(_lib._class_NSDistantObject1, - _lib._sel_respondsToSelector_1, aSelector); + AVFAudio _lib, + ffi.Pointer aSelector, + ) { + return _lib._objc_msgSend_4( + _lib._class_NSDistantObject1, + _lib._sel_respondsToSelector_1, + aSelector, + ); } } -class NSProxy extends _ObjCWrapper { - NSProxy._(ffi.Pointer id, AVFAudio lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); +class NSProxy extends objc.ObjCObjectBase { + NSProxy._( + ffi.Pointer pointer, + this._lib, { + bool retain = false, + bool release = false, + }) : super(pointer, retain: retain, release: release); + + AVFAudio _lib; /// Returns a [NSProxy] that points to the same underlying object as [other]. - static NSProxy castFrom(T other) { - return NSProxy._(other._id, other._lib, retain: true, release: true); + static NSProxy castFrom( + AVFAudio lib, + T other, + ) { + return NSProxy._(other.pointer, lib, retain: true, release: true); } /// Returns a [NSProxy] that wraps the given raw object pointer. - static NSProxy castFromPointer(AVFAudio lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + static NSProxy castFromPointer( + AVFAudio lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSProxy._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSProxy]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_NSProxy1); + static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSProxy1, + ); } static NSObject alloc(AVFAudio _lib) { @@ -52014,7 +68433,10 @@ class NSProxy extends _ObjCWrapper { static NSObject allocWithZone_(AVFAudio _lib, ffi.Pointer<_NSZone> zone) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSProxy1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSProxy1, + _lib._sel_allocWithZone_1, + zone, + ); return NSObject._(_ret, _lib, retain: false, release: true); } @@ -52024,92 +68446,136 @@ class NSProxy extends _ObjCWrapper { } void forwardInvocation_(NSInvocation invocation) { - _lib._objc_msgSend_421(_id, _lib._sel_forwardInvocation_1, invocation._id); + _lib._objc_msgSend_421( + this.pointer, + _lib._sel_forwardInvocation_1, + invocation.pointer, + ); } - NSMethodSignature? methodSignatureForSelector_(ffi.Pointer sel) { + NSMethodSignature? methodSignatureForSelector_( + ffi.Pointer sel, + ) { final _ret = _lib._objc_msgSend_579( - _id, _lib._sel_methodSignatureForSelector_1, sel); + this.pointer, + _lib._sel_methodSignatureForSelector_1, + sel, + ); return _ret.address == 0 ? null : NSMethodSignature._(_ret, _lib, retain: true, release: true); } void dealloc() { - _lib._objc_msgSend_1(_id, _lib._sel_dealloc1); + _lib._objc_msgSend_1(this.pointer, _lib._sel_dealloc1); } void finalize() { - _lib._objc_msgSend_1(_id, _lib._sel_finalize1); + _lib._objc_msgSend_1(this.pointer, _lib._sel_finalize1); } NSString get description { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_description1); + final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_description1); return NSString._(_ret, _lib, retain: true, release: true); } NSString get debugDescription { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_debugDescription1); + final _ret = _lib._objc_msgSend_21( + this.pointer, + _lib._sel_debugDescription1, + ); return NSString._(_ret, _lib, retain: true, release: true); } static bool respondsToSelector_( - AVFAudio _lib, ffi.Pointer aSelector) { + AVFAudio _lib, + ffi.Pointer aSelector, + ) { return _lib._objc_msgSend_4( - _lib._class_NSProxy1, _lib._sel_respondsToSelector_1, aSelector); + _lib._class_NSProxy1, + _lib._sel_respondsToSelector_1, + aSelector, + ); } bool allowsWeakReference() { - return _lib._objc_msgSend_12(_id, _lib._sel_allowsWeakReference1); + return _lib._objc_msgSend_12(this.pointer, _lib._sel_allowsWeakReference1); } bool retainWeakReference() { - return _lib._objc_msgSend_12(_id, _lib._sel_retainWeakReference1); + return _lib._objc_msgSend_12(this.pointer, _lib._sel_retainWeakReference1); } } class NSClassDescription extends NSObject { - NSClassDescription._(ffi.Pointer id, AVFAudio lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSClassDescription._( + ffi.Pointer pointer, + AVFAudio lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSClassDescription] that points to the same underlying object as [other]. - static NSClassDescription castFrom(T other) { - return NSClassDescription._(other._id, other._lib, - retain: true, release: true); + static NSClassDescription castFrom( + AVFAudio lib, + T other, + ) { + return NSClassDescription._( + other.pointer, + lib, + retain: true, + release: true, + ); } /// Returns a [NSClassDescription] that wraps the given raw object pointer. static NSClassDescription castFromPointer( - AVFAudio lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + AVFAudio lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSClassDescription._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSClassDescription]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0(obj._id, obj._lib._sel_isKindOfClass_1, - obj._lib._class_NSClassDescription1); + static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSClassDescription1, + ); } static void registerClassDescription_forClass_( - AVFAudio _lib, NSClassDescription description, NSObject aClass) { + AVFAudio _lib, + NSClassDescription description, + NSObject aClass, + ) { _lib._objc_msgSend_598( - _lib._class_NSClassDescription1, - _lib._sel_registerClassDescription_forClass_1, - description._id, - aClass._id); + _lib._class_NSClassDescription1, + _lib._sel_registerClassDescription_forClass_1, + description.pointer, + aClass.pointer, + ); } static void invalidateClassDescriptionCache(AVFAudio _lib) { - _lib._objc_msgSend_1(_lib._class_NSClassDescription1, - _lib._sel_invalidateClassDescriptionCache1); + _lib._objc_msgSend_1( + _lib._class_NSClassDescription1, + _lib._sel_invalidateClassDescriptionCache1, + ); } static NSClassDescription? classDescriptionForClass_( - AVFAudio _lib, NSObject aClass) { - final _ret = _lib._objc_msgSend_599(_lib._class_NSClassDescription1, - _lib._sel_classDescriptionForClass_1, aClass._id); + AVFAudio _lib, + NSObject aClass, + ) { + final _ret = _lib._objc_msgSend_599( + _lib._class_NSClassDescription1, + _lib._sel_classDescriptionForClass_1, + aClass.pointer, + ); return _ret.address == 0 ? null : NSClassDescription._(_ret, _lib, retain: true, release: true); @@ -52117,26 +68583,35 @@ class NSClassDescription extends NSObject { @override NSArray get attributeKeys { - final _ret = _lib._objc_msgSend_85(_id, _lib._sel_attributeKeys1); + final _ret = _lib._objc_msgSend_85(this.pointer, _lib._sel_attributeKeys1); return NSArray._(_ret, _lib, retain: true, release: true); } @override NSArray get toOneRelationshipKeys { - final _ret = _lib._objc_msgSend_85(_id, _lib._sel_toOneRelationshipKeys1); + final _ret = _lib._objc_msgSend_85( + this.pointer, + _lib._sel_toOneRelationshipKeys1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } @override NSArray get toManyRelationshipKeys { - final _ret = _lib._objc_msgSend_85(_id, _lib._sel_toManyRelationshipKeys1); + final _ret = _lib._objc_msgSend_85( + this.pointer, + _lib._sel_toManyRelationshipKeys1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } @override NSString? inverseForRelationshipKey_(NSString relationshipKey) { final _ret = _lib._objc_msgSend_186( - _id, _lib._sel_inverseForRelationshipKey_1, relationshipKey._id); + this.pointer, + _lib._sel_inverseForRelationshipKey_1, + relationshipKey.pointer, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); @@ -52144,161 +68619,235 @@ class NSClassDescription extends NSObject { @override NSClassDescription init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSClassDescription._(_ret, _lib, retain: true, release: true); } static NSClassDescription new1(AVFAudio _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSClassDescription1, _lib._sel_new1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSClassDescription1, + _lib._sel_new1, + ); return NSClassDescription._(_ret, _lib, retain: false, release: true); } static NSClassDescription allocWithZone_( - AVFAudio _lib, ffi.Pointer<_NSZone> zone) { + AVFAudio _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSClassDescription1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSClassDescription1, + _lib._sel_allocWithZone_1, + zone, + ); return NSClassDescription._(_ret, _lib, retain: false, release: true); } static NSClassDescription alloc(AVFAudio _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSClassDescription1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSClassDescription1, + _lib._sel_alloc1, + ); return NSClassDescription._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + AVFAudio _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSClassDescription1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSClassDescription1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSClassDescription1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + AVFAudio _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSClassDescription1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { - return _lib._objc_msgSend_12(_lib._class_NSClassDescription1, - _lib._sel_accessInstanceVariablesDirectly1); + return _lib._objc_msgSend_12( + _lib._class_NSClassDescription1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(AVFAudio _lib) { return _lib._objc_msgSend_12( - _lib._class_NSClassDescription1, _lib._sel_useStoredAccessor1); + _lib._class_NSClassDescription1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSClassDescription1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSClassDescription1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSClassDescription1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSClassDescription1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, NSArray keys, NSString dependentKey) { + AVFAudio _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSClassDescription1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSClassDescription1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_85(_lib._class_NSClassDescription1, - _lib._sel_classFallbacksForKeyedArchiver1); + final _ret = _lib._objc_msgSend_85( + _lib._class_NSClassDescription1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(AVFAudio _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSClassDescription1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSClassDescription1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } class NSScriptObjectSpecifier extends NSObject { - NSScriptObjectSpecifier._(ffi.Pointer id, AVFAudio lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSScriptObjectSpecifier._( + ffi.Pointer pointer, + AVFAudio lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSScriptObjectSpecifier] that points to the same underlying object as [other]. - static NSScriptObjectSpecifier castFrom(T other) { - return NSScriptObjectSpecifier._(other._id, other._lib, - retain: true, release: true); + static NSScriptObjectSpecifier castFrom( + AVFAudio lib, + T other, + ) { + return NSScriptObjectSpecifier._( + other.pointer, + lib, + retain: true, + release: true, + ); } /// Returns a [NSScriptObjectSpecifier] that wraps the given raw object pointer. static NSScriptObjectSpecifier castFromPointer( - AVFAudio lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { - return NSScriptObjectSpecifier._(other, lib, - retain: retain, release: release); + AVFAudio lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { + return NSScriptObjectSpecifier._( + other, + lib, + retain: retain, + release: release, + ); } /// Returns whether [obj] is an instance of [NSScriptObjectSpecifier]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0(obj._id, obj._lib._sel_isKindOfClass_1, - obj._lib._class_NSScriptObjectSpecifier1); + static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSScriptObjectSpecifier1, + ); } static NSScriptObjectSpecifier? objectSpecifierWithDescriptor_( - AVFAudio _lib, NSAppleEventDescriptor descriptor) { - final _ret = _lib._objc_msgSend_624(_lib._class_NSScriptObjectSpecifier1, - _lib._sel_objectSpecifierWithDescriptor_1, descriptor._id); + AVFAudio _lib, + NSAppleEventDescriptor descriptor, + ) { + final _ret = _lib._objc_msgSend_624( + _lib._class_NSScriptObjectSpecifier1, + _lib._sel_objectSpecifierWithDescriptor_1, + descriptor.pointer, + ); return _ret.address == 0 ? null : NSScriptObjectSpecifier._(_ret, _lib, retain: true, release: true); } NSScriptObjectSpecifier initWithContainerSpecifier_key_( - NSScriptObjectSpecifier container, NSString property) { + NSScriptObjectSpecifier container, + NSString property, + ) { final _ret = _lib._objc_msgSend_625( - _id, - _lib._sel_initWithContainerSpecifier_key_1, - container._id, - property._id); + this.pointer, + _lib._sel_initWithContainerSpecifier_key_1, + container.pointer, + property.pointer, + ); return NSScriptObjectSpecifier._(_ret, _lib, retain: true, release: true); } NSScriptObjectSpecifier - initWithContainerClassDescription_containerSpecifier_key_( - NSScriptClassDescription classDesc, - NSScriptObjectSpecifier? container, - NSString property) { + initWithContainerClassDescription_containerSpecifier_key_( + NSScriptClassDescription classDesc, + NSScriptObjectSpecifier? container, + NSString property, + ) { final _ret = _lib._objc_msgSend_645( - _id, - _lib._sel_initWithContainerClassDescription_containerSpecifier_key_1, - classDesc._id, - container?._id ?? ffi.nullptr, - property._id); + this.pointer, + _lib._sel_initWithContainerClassDescription_containerSpecifier_key_1, + classDesc.pointer, + container?.pointer ?? ffi.nullptr, + property.pointer, + ); return NSScriptObjectSpecifier._(_ret, _lib, retain: true, release: true); } NSScriptObjectSpecifier? initWithCoder_(NSCoder inCoder) { - final _ret = - _lib._objc_msgSend_47(_id, _lib._sel_initWithCoder_1, inCoder._id); + final _ret = _lib._objc_msgSend_47( + this.pointer, + _lib._sel_initWithCoder_1, + inCoder.pointer, + ); return _ret.address == 0 ? null : NSScriptObjectSpecifier._(_ret, _lib, retain: true, release: true); } NSScriptObjectSpecifier? get childSpecifier { - final _ret = _lib._objc_msgSend_632(_id, _lib._sel_childSpecifier1); + final _ret = _lib._objc_msgSend_632( + this.pointer, + _lib._sel_childSpecifier1, + ); return _ret.address == 0 ? null : NSScriptObjectSpecifier._(_ret, _lib, retain: true, release: true); @@ -52306,11 +68855,17 @@ class NSScriptObjectSpecifier extends NSObject { set childSpecifier(NSScriptObjectSpecifier? value) { return _lib._objc_msgSend_633( - _id, _lib._sel_setChildSpecifier_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setChildSpecifier_1, + value?.pointer ?? ffi.nullptr, + ); } NSScriptObjectSpecifier? get containerSpecifier { - final _ret = _lib._objc_msgSend_632(_id, _lib._sel_containerSpecifier1); + final _ret = _lib._objc_msgSend_632( + this.pointer, + _lib._sel_containerSpecifier1, + ); return _ret.address == 0 ? null : NSScriptObjectSpecifier._(_ret, _lib, retain: true, release: true); @@ -52318,101 +68873,143 @@ class NSScriptObjectSpecifier extends NSObject { set containerSpecifier(NSScriptObjectSpecifier? value) { return _lib._objc_msgSend_633( - _id, _lib._sel_setContainerSpecifier_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setContainerSpecifier_1, + value?.pointer ?? ffi.nullptr, + ); } bool get containerIsObjectBeingTested { - return _lib._objc_msgSend_12(_id, _lib._sel_containerIsObjectBeingTested1); + return _lib._objc_msgSend_12( + this.pointer, + _lib._sel_containerIsObjectBeingTested1, + ); } set containerIsObjectBeingTested(bool value) { return _lib._objc_msgSend_527( - _id, _lib._sel_setContainerIsObjectBeingTested_1, value); + this.pointer, + _lib._sel_setContainerIsObjectBeingTested_1, + value, + ); } bool get containerIsRangeContainerObject { return _lib._objc_msgSend_12( - _id, _lib._sel_containerIsRangeContainerObject1); + this.pointer, + _lib._sel_containerIsRangeContainerObject1, + ); } set containerIsRangeContainerObject(bool value) { return _lib._objc_msgSend_527( - _id, _lib._sel_setContainerIsRangeContainerObject_1, value); + this.pointer, + _lib._sel_setContainerIsRangeContainerObject_1, + value, + ); } NSString get key { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_key1); + final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_key1); return NSString._(_ret, _lib, retain: true, release: true); } set key(NSString value) { - return _lib._objc_msgSend_646(_id, _lib._sel_setKey_1, value._id); + return _lib._objc_msgSend_646( + this.pointer, + _lib._sel_setKey_1, + value.pointer, + ); } NSScriptClassDescription? get containerClassDescription { - final _ret = - _lib._objc_msgSend_628(_id, _lib._sel_containerClassDescription1); + final _ret = _lib._objc_msgSend_628( + this.pointer, + _lib._sel_containerClassDescription1, + ); return _ret.address == 0 ? null : NSScriptClassDescription._(_ret, _lib, retain: true, release: true); } set containerClassDescription(NSScriptClassDescription? value) { - return _lib._objc_msgSend_647(_id, _lib._sel_setContainerClassDescription_1, - value?._id ?? ffi.nullptr); + return _lib._objc_msgSend_647( + this.pointer, + _lib._sel_setContainerClassDescription_1, + value?.pointer ?? ffi.nullptr, + ); } NSScriptClassDescription? get keyClassDescription { - final _ret = _lib._objc_msgSend_628(_id, _lib._sel_keyClassDescription1); + final _ret = _lib._objc_msgSend_628( + this.pointer, + _lib._sel_keyClassDescription1, + ); return _ret.address == 0 ? null : NSScriptClassDescription._(_ret, _lib, retain: true, release: true); } ffi.Pointer indicesOfObjectsByEvaluatingWithContainer_count_( - NSObject container, ffi.Pointer count) { + NSObject container, + ffi.Pointer count, + ) { return _lib._objc_msgSend_648( - _id, - _lib._sel_indicesOfObjectsByEvaluatingWithContainer_count_1, - container._id, - count); + this.pointer, + _lib._sel_indicesOfObjectsByEvaluatingWithContainer_count_1, + container.pointer, + count, + ); } NSObject? objectsByEvaluatingWithContainers_(NSObject containers) { final _ret = _lib._objc_msgSend_16( - _id, _lib._sel_objectsByEvaluatingWithContainers_1, containers._id); + this.pointer, + _lib._sel_objectsByEvaluatingWithContainers_1, + containers.pointer, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } NSObject? get objectsByEvaluatingSpecifier { - final _ret = - _lib._objc_msgSend_17(_id, _lib._sel_objectsByEvaluatingSpecifier1); + final _ret = _lib._objc_msgSend_17( + this.pointer, + _lib._sel_objectsByEvaluatingSpecifier1, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } int get evaluationErrorNumber { - return _lib._objc_msgSend_83(_id, _lib._sel_evaluationErrorNumber1); + return _lib._objc_msgSend_83( + this.pointer, + _lib._sel_evaluationErrorNumber1, + ); } set evaluationErrorNumber(int value) { return _lib._objc_msgSend_635( - _id, _lib._sel_setEvaluationErrorNumber_1, value); + this.pointer, + _lib._sel_setEvaluationErrorNumber_1, + value, + ); } NSScriptObjectSpecifier? get evaluationErrorSpecifier { - final _ret = - _lib._objc_msgSend_632(_id, _lib._sel_evaluationErrorSpecifier1); + final _ret = _lib._objc_msgSend_632( + this.pointer, + _lib._sel_evaluationErrorSpecifier1, + ); return _ret.address == 0 ? null : NSScriptObjectSpecifier._(_ret, _lib, retain: true, release: true); } NSAppleEventDescriptor? get descriptor { - final _ret = _lib._objc_msgSend_636(_id, _lib._sel_descriptor1); + final _ret = _lib._objc_msgSend_636(this.pointer, _lib._sel_descriptor1); return _ret.address == 0 ? null : NSAppleEventDescriptor._(_ret, _lib, retain: true, release: true); @@ -52420,406 +69017,562 @@ class NSScriptObjectSpecifier extends NSObject { @override NSScriptObjectSpecifier init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSScriptObjectSpecifier._(_ret, _lib, retain: true, release: true); } static NSScriptObjectSpecifier new1(AVFAudio _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSScriptObjectSpecifier1, _lib._sel_new1); + _lib._class_NSScriptObjectSpecifier1, + _lib._sel_new1, + ); return NSScriptObjectSpecifier._(_ret, _lib, retain: false, release: true); } static NSScriptObjectSpecifier allocWithZone_( - AVFAudio _lib, ffi.Pointer<_NSZone> zone) { + AVFAudio _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSScriptObjectSpecifier1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSScriptObjectSpecifier1, + _lib._sel_allocWithZone_1, + zone, + ); return NSScriptObjectSpecifier._(_ret, _lib, retain: false, release: true); } static NSScriptObjectSpecifier alloc(AVFAudio _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSScriptObjectSpecifier1, _lib._sel_alloc1); + _lib._class_NSScriptObjectSpecifier1, + _lib._sel_alloc1, + ); return NSScriptObjectSpecifier._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + AVFAudio _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSScriptObjectSpecifier1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSScriptObjectSpecifier1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSScriptObjectSpecifier1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + AVFAudio _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSScriptObjectSpecifier1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { - return _lib._objc_msgSend_12(_lib._class_NSScriptObjectSpecifier1, - _lib._sel_accessInstanceVariablesDirectly1); + return _lib._objc_msgSend_12( + _lib._class_NSScriptObjectSpecifier1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(AVFAudio _lib) { return _lib._objc_msgSend_12( - _lib._class_NSScriptObjectSpecifier1, _lib._sel_useStoredAccessor1); + _lib._class_NSScriptObjectSpecifier1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSScriptObjectSpecifier1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSScriptObjectSpecifier1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSScriptObjectSpecifier1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSScriptObjectSpecifier1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, NSArray keys, NSString dependentKey) { + AVFAudio _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSScriptObjectSpecifier1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSScriptObjectSpecifier1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_85(_lib._class_NSScriptObjectSpecifier1, - _lib._sel_classFallbacksForKeyedArchiver1); + final _ret = _lib._objc_msgSend_85( + _lib._class_NSScriptObjectSpecifier1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2(_lib._class_NSScriptObjectSpecifier1, - _lib._sel_classForKeyedUnarchiver1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSScriptObjectSpecifier1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } class NSAppleEventDescriptor extends NSObject { - NSAppleEventDescriptor._(ffi.Pointer id, AVFAudio lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSAppleEventDescriptor._( + ffi.Pointer pointer, + AVFAudio lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSAppleEventDescriptor] that points to the same underlying object as [other]. - static NSAppleEventDescriptor castFrom(T other) { - return NSAppleEventDescriptor._(other._id, other._lib, - retain: true, release: true); + static NSAppleEventDescriptor castFrom( + AVFAudio lib, + T other, + ) { + return NSAppleEventDescriptor._( + other.pointer, + lib, + retain: true, + release: true, + ); } /// Returns a [NSAppleEventDescriptor] that wraps the given raw object pointer. static NSAppleEventDescriptor castFromPointer( - AVFAudio lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { - return NSAppleEventDescriptor._(other, lib, - retain: retain, release: release); + AVFAudio lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { + return NSAppleEventDescriptor._( + other, + lib, + retain: retain, + release: release, + ); } /// Returns whether [obj] is an instance of [NSAppleEventDescriptor]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0(obj._id, obj._lib._sel_isKindOfClass_1, - obj._lib._class_NSAppleEventDescriptor1); + static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSAppleEventDescriptor1, + ); } static NSAppleEventDescriptor nullDescriptor(AVFAudio _lib) { final _ret = _lib._objc_msgSend_601( - _lib._class_NSAppleEventDescriptor1, _lib._sel_nullDescriptor1); + _lib._class_NSAppleEventDescriptor1, + _lib._sel_nullDescriptor1, + ); return NSAppleEventDescriptor._(_ret, _lib, retain: true, release: true); } static NSAppleEventDescriptor? descriptorWithDescriptorType_bytes_length_( - AVFAudio _lib, - int descriptorType, - ffi.Pointer bytes, - int byteCount) { + AVFAudio _lib, + int descriptorType, + ffi.Pointer bytes, + int byteCount, + ) { final _ret = _lib._objc_msgSend_602( - _lib._class_NSAppleEventDescriptor1, - _lib._sel_descriptorWithDescriptorType_bytes_length_1, - descriptorType, - bytes, - byteCount); + _lib._class_NSAppleEventDescriptor1, + _lib._sel_descriptorWithDescriptorType_bytes_length_1, + descriptorType, + bytes, + byteCount, + ); return _ret.address == 0 ? null : NSAppleEventDescriptor._(_ret, _lib, retain: true, release: true); } static NSAppleEventDescriptor? descriptorWithDescriptorType_data_( - AVFAudio _lib, int descriptorType, NSData? data) { + AVFAudio _lib, + int descriptorType, + NSData? data, + ) { final _ret = _lib._objc_msgSend_603( - _lib._class_NSAppleEventDescriptor1, - _lib._sel_descriptorWithDescriptorType_data_1, - descriptorType, - data?._id ?? ffi.nullptr); + _lib._class_NSAppleEventDescriptor1, + _lib._sel_descriptorWithDescriptorType_data_1, + descriptorType, + data?.pointer ?? ffi.nullptr, + ); return _ret.address == 0 ? null : NSAppleEventDescriptor._(_ret, _lib, retain: true, release: true); } static NSAppleEventDescriptor descriptorWithBoolean_( - AVFAudio _lib, int boolean) { - final _ret = _lib._objc_msgSend_604(_lib._class_NSAppleEventDescriptor1, - _lib._sel_descriptorWithBoolean_1, boolean); + AVFAudio _lib, + int boolean, + ) { + final _ret = _lib._objc_msgSend_604( + _lib._class_NSAppleEventDescriptor1, + _lib._sel_descriptorWithBoolean_1, + boolean, + ); return NSAppleEventDescriptor._(_ret, _lib, retain: true, release: true); } static NSAppleEventDescriptor descriptorWithEnumCode_( - AVFAudio _lib, int enumerator) { - final _ret = _lib._objc_msgSend_605(_lib._class_NSAppleEventDescriptor1, - _lib._sel_descriptorWithEnumCode_1, enumerator); + AVFAudio _lib, + int enumerator, + ) { + final _ret = _lib._objc_msgSend_605( + _lib._class_NSAppleEventDescriptor1, + _lib._sel_descriptorWithEnumCode_1, + enumerator, + ); return NSAppleEventDescriptor._(_ret, _lib, retain: true, release: true); } static NSAppleEventDescriptor descriptorWithInt32_( - AVFAudio _lib, int signedInt) { - final _ret = _lib._objc_msgSend_606(_lib._class_NSAppleEventDescriptor1, - _lib._sel_descriptorWithInt32_1, signedInt); + AVFAudio _lib, + int signedInt, + ) { + final _ret = _lib._objc_msgSend_606( + _lib._class_NSAppleEventDescriptor1, + _lib._sel_descriptorWithInt32_1, + signedInt, + ); return NSAppleEventDescriptor._(_ret, _lib, retain: true, release: true); } static NSAppleEventDescriptor descriptorWithDouble_( - AVFAudio _lib, double doubleValue) { - final _ret = _lib._objc_msgSend_607(_lib._class_NSAppleEventDescriptor1, - _lib._sel_descriptorWithDouble_1, doubleValue); + AVFAudio _lib, + double doubleValue, + ) { + final _ret = _lib._objc_msgSend_607( + _lib._class_NSAppleEventDescriptor1, + _lib._sel_descriptorWithDouble_1, + doubleValue, + ); return NSAppleEventDescriptor._(_ret, _lib, retain: true, release: true); } static NSAppleEventDescriptor descriptorWithTypeCode_( - AVFAudio _lib, int typeCode) { - final _ret = _lib._objc_msgSend_605(_lib._class_NSAppleEventDescriptor1, - _lib._sel_descriptorWithTypeCode_1, typeCode); + AVFAudio _lib, + int typeCode, + ) { + final _ret = _lib._objc_msgSend_605( + _lib._class_NSAppleEventDescriptor1, + _lib._sel_descriptorWithTypeCode_1, + typeCode, + ); return NSAppleEventDescriptor._(_ret, _lib, retain: true, release: true); } static NSAppleEventDescriptor descriptorWithString_( - AVFAudio _lib, NSString string) { - final _ret = _lib._objc_msgSend_608(_lib._class_NSAppleEventDescriptor1, - _lib._sel_descriptorWithString_1, string._id); + AVFAudio _lib, + NSString string, + ) { + final _ret = _lib._objc_msgSend_608( + _lib._class_NSAppleEventDescriptor1, + _lib._sel_descriptorWithString_1, + string.pointer, + ); return NSAppleEventDescriptor._(_ret, _lib, retain: true, release: true); } static NSAppleEventDescriptor descriptorWithDate_( - AVFAudio _lib, NSDate date) { - final _ret = _lib._objc_msgSend_609(_lib._class_NSAppleEventDescriptor1, - _lib._sel_descriptorWithDate_1, date._id); + AVFAudio _lib, + NSDate date, + ) { + final _ret = _lib._objc_msgSend_609( + _lib._class_NSAppleEventDescriptor1, + _lib._sel_descriptorWithDate_1, + date.pointer, + ); return NSAppleEventDescriptor._(_ret, _lib, retain: true, release: true); } static NSAppleEventDescriptor descriptorWithFileURL_( - AVFAudio _lib, NSURL fileURL) { - final _ret = _lib._objc_msgSend_610(_lib._class_NSAppleEventDescriptor1, - _lib._sel_descriptorWithFileURL_1, fileURL._id); + AVFAudio _lib, + NSURL fileURL, + ) { + final _ret = _lib._objc_msgSend_610( + _lib._class_NSAppleEventDescriptor1, + _lib._sel_descriptorWithFileURL_1, + fileURL.pointer, + ); return NSAppleEventDescriptor._(_ret, _lib, retain: true, release: true); } static NSAppleEventDescriptor - appleEventWithEventClass_eventID_targetDescriptor_returnID_transactionID_( - AVFAudio _lib, - int eventClass, - int eventID, - NSAppleEventDescriptor? targetDescriptor, - int returnID, - int transactionID) { + appleEventWithEventClass_eventID_targetDescriptor_returnID_transactionID_( + AVFAudio _lib, + int eventClass, + int eventID, + NSAppleEventDescriptor? targetDescriptor, + int returnID, + int transactionID, + ) { final _ret = _lib._objc_msgSend_611( - _lib._class_NSAppleEventDescriptor1, - _lib._sel_appleEventWithEventClass_eventID_targetDescriptor_returnID_transactionID_1, - eventClass, - eventID, - targetDescriptor?._id ?? ffi.nullptr, - returnID, - transactionID); + _lib._class_NSAppleEventDescriptor1, + _lib._sel_appleEventWithEventClass_eventID_targetDescriptor_returnID_transactionID_1, + eventClass, + eventID, + targetDescriptor?.pointer ?? ffi.nullptr, + returnID, + transactionID, + ); return NSAppleEventDescriptor._(_ret, _lib, retain: true, release: true); } static NSAppleEventDescriptor listDescriptor(AVFAudio _lib) { final _ret = _lib._objc_msgSend_601( - _lib._class_NSAppleEventDescriptor1, _lib._sel_listDescriptor1); + _lib._class_NSAppleEventDescriptor1, + _lib._sel_listDescriptor1, + ); return NSAppleEventDescriptor._(_ret, _lib, retain: true, release: true); } static NSAppleEventDescriptor recordDescriptor(AVFAudio _lib) { final _ret = _lib._objc_msgSend_601( - _lib._class_NSAppleEventDescriptor1, _lib._sel_recordDescriptor1); + _lib._class_NSAppleEventDescriptor1, + _lib._sel_recordDescriptor1, + ); return NSAppleEventDescriptor._(_ret, _lib, retain: true, release: true); } static NSAppleEventDescriptor currentProcessDescriptor(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_601(_lib._class_NSAppleEventDescriptor1, - _lib._sel_currentProcessDescriptor1); + final _ret = _lib._objc_msgSend_601( + _lib._class_NSAppleEventDescriptor1, + _lib._sel_currentProcessDescriptor1, + ); return NSAppleEventDescriptor._(_ret, _lib, retain: true, release: true); } static NSAppleEventDescriptor descriptorWithProcessIdentifier_( - AVFAudio _lib, int processIdentifier) { - final _ret = _lib._objc_msgSend_606(_lib._class_NSAppleEventDescriptor1, - _lib._sel_descriptorWithProcessIdentifier_1, processIdentifier); + AVFAudio _lib, + int processIdentifier, + ) { + final _ret = _lib._objc_msgSend_606( + _lib._class_NSAppleEventDescriptor1, + _lib._sel_descriptorWithProcessIdentifier_1, + processIdentifier, + ); return NSAppleEventDescriptor._(_ret, _lib, retain: true, release: true); } static NSAppleEventDescriptor descriptorWithBundleIdentifier_( - AVFAudio _lib, NSString bundleIdentifier) { - final _ret = _lib._objc_msgSend_608(_lib._class_NSAppleEventDescriptor1, - _lib._sel_descriptorWithBundleIdentifier_1, bundleIdentifier._id); + AVFAudio _lib, + NSString bundleIdentifier, + ) { + final _ret = _lib._objc_msgSend_608( + _lib._class_NSAppleEventDescriptor1, + _lib._sel_descriptorWithBundleIdentifier_1, + bundleIdentifier.pointer, + ); return NSAppleEventDescriptor._(_ret, _lib, retain: true, release: true); } static NSAppleEventDescriptor descriptorWithApplicationURL_( - AVFAudio _lib, NSURL applicationURL) { - final _ret = _lib._objc_msgSend_610(_lib._class_NSAppleEventDescriptor1, - _lib._sel_descriptorWithApplicationURL_1, applicationURL._id); + AVFAudio _lib, + NSURL applicationURL, + ) { + final _ret = _lib._objc_msgSend_610( + _lib._class_NSAppleEventDescriptor1, + _lib._sel_descriptorWithApplicationURL_1, + applicationURL.pointer, + ); return NSAppleEventDescriptor._(_ret, _lib, retain: true, release: true); } NSAppleEventDescriptor initWithAEDescNoCopy_(ffi.Pointer aeDesc) { - final _ret = - _lib._objc_msgSend_612(_id, _lib._sel_initWithAEDescNoCopy_1, aeDesc); + final _ret = _lib._objc_msgSend_612( + this.pointer, + _lib._sel_initWithAEDescNoCopy_1, + aeDesc, + ); return NSAppleEventDescriptor._(_ret, _lib, retain: false, release: true); } NSAppleEventDescriptor? initWithDescriptorType_bytes_length_( - int descriptorType, ffi.Pointer bytes, int byteCount) { + int descriptorType, + ffi.Pointer bytes, + int byteCount, + ) { final _ret = _lib._objc_msgSend_613( - _id, - _lib._sel_initWithDescriptorType_bytes_length_1, - descriptorType, - bytes, - byteCount); + this.pointer, + _lib._sel_initWithDescriptorType_bytes_length_1, + descriptorType, + bytes, + byteCount, + ); return _ret.address == 0 ? null : NSAppleEventDescriptor._(_ret, _lib, retain: true, release: true); } NSAppleEventDescriptor? initWithDescriptorType_data_( - int descriptorType, NSData? data) { + int descriptorType, + NSData? data, + ) { final _ret = _lib._objc_msgSend_614( - _id, - _lib._sel_initWithDescriptorType_data_1, - descriptorType, - data?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_initWithDescriptorType_data_1, + descriptorType, + data?.pointer ?? ffi.nullptr, + ); return _ret.address == 0 ? null : NSAppleEventDescriptor._(_ret, _lib, retain: true, release: true); } NSAppleEventDescriptor - initWithEventClass_eventID_targetDescriptor_returnID_transactionID_( - int eventClass, - int eventID, - NSAppleEventDescriptor? targetDescriptor, - int returnID, - int transactionID) { + initWithEventClass_eventID_targetDescriptor_returnID_transactionID_( + int eventClass, + int eventID, + NSAppleEventDescriptor? targetDescriptor, + int returnID, + int transactionID, + ) { final _ret = _lib._objc_msgSend_615( - _id, - _lib._sel_initWithEventClass_eventID_targetDescriptor_returnID_transactionID_1, - eventClass, - eventID, - targetDescriptor?._id ?? ffi.nullptr, - returnID, - transactionID); + this.pointer, + _lib._sel_initWithEventClass_eventID_targetDescriptor_returnID_transactionID_1, + eventClass, + eventID, + targetDescriptor?.pointer ?? ffi.nullptr, + returnID, + transactionID, + ); return NSAppleEventDescriptor._(_ret, _lib, retain: true, release: true); } NSAppleEventDescriptor initListDescriptor() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_initListDescriptor1); + final _ret = _lib._objc_msgSend_2( + this.pointer, + _lib._sel_initListDescriptor1, + ); return NSAppleEventDescriptor._(_ret, _lib, retain: true, release: true); } NSAppleEventDescriptor initRecordDescriptor() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_initRecordDescriptor1); + final _ret = _lib._objc_msgSend_2( + this.pointer, + _lib._sel_initRecordDescriptor1, + ); return NSAppleEventDescriptor._(_ret, _lib, retain: true, release: true); } ffi.Pointer get aeDesc { - return _lib._objc_msgSend_616(_id, _lib._sel_aeDesc1); + return _lib._objc_msgSend_616(this.pointer, _lib._sel_aeDesc1); } int get descriptorType { - return _lib._objc_msgSend_214(_id, _lib._sel_descriptorType1); + return _lib._objc_msgSend_214(this.pointer, _lib._sel_descriptorType1); } NSData get data { - final _ret = _lib._objc_msgSend_43(_id, _lib._sel_data1); + final _ret = _lib._objc_msgSend_43(this.pointer, _lib._sel_data1); return NSData._(_ret, _lib, retain: true, release: true); } int get booleanValue { - return _lib._objc_msgSend_234(_id, _lib._sel_booleanValue1); + return _lib._objc_msgSend_234(this.pointer, _lib._sel_booleanValue1); } int get enumCodeValue { - return _lib._objc_msgSend_214(_id, _lib._sel_enumCodeValue1); + return _lib._objc_msgSend_214(this.pointer, _lib._sel_enumCodeValue1); } int get int32Value { - return _lib._objc_msgSend_237(_id, _lib._sel_int32Value1); + return _lib._objc_msgSend_237(this.pointer, _lib._sel_int32Value1); } double get doubleValue { - return _lib._objc_msgSend_useVariants1 - ? _lib._objc_msgSend_165_fpret(_id, _lib._sel_doubleValue1) - : _lib._objc_msgSend_165(_id, _lib._sel_doubleValue1); + return objc.useMsgSendVariants + ? _lib._objc_msgSend_165_fpret(this.pointer, _lib._sel_doubleValue1) + : _lib._objc_msgSend_165(this.pointer, _lib._sel_doubleValue1); } int get typeCodeValue { - return _lib._objc_msgSend_214(_id, _lib._sel_typeCodeValue1); + return _lib._objc_msgSend_214(this.pointer, _lib._sel_typeCodeValue1); } NSString? get stringValue { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_stringValue1); + final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_stringValue1); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } NSDate? get dateValue { - final _ret = _lib._objc_msgSend_183(_id, _lib._sel_dateValue1); + final _ret = _lib._objc_msgSend_183(this.pointer, _lib._sel_dateValue1); return _ret.address == 0 ? null : NSDate._(_ret, _lib, retain: true, release: true); } NSURL? get fileURLValue { - final _ret = _lib._objc_msgSend_45(_id, _lib._sel_fileURLValue1); + final _ret = _lib._objc_msgSend_45(this.pointer, _lib._sel_fileURLValue1); return _ret.address == 0 ? null : NSURL._(_ret, _lib, retain: true, release: true); } int get eventClass { - return _lib._objc_msgSend_214(_id, _lib._sel_eventClass1); + return _lib._objc_msgSend_214(this.pointer, _lib._sel_eventClass1); } int get eventID { - return _lib._objc_msgSend_214(_id, _lib._sel_eventID1); + return _lib._objc_msgSend_214(this.pointer, _lib._sel_eventID1); } int get returnID { - return _lib._objc_msgSend_235(_id, _lib._sel_returnID1); + return _lib._objc_msgSend_235(this.pointer, _lib._sel_returnID1); } int get transactionID { - return _lib._objc_msgSend_237(_id, _lib._sel_transactionID1); + return _lib._objc_msgSend_237(this.pointer, _lib._sel_transactionID1); } void setParamDescriptor_forKeyword_( - NSAppleEventDescriptor descriptor, int keyword) { - _lib._objc_msgSend_617(_id, _lib._sel_setParamDescriptor_forKeyword_1, - descriptor._id, keyword); + NSAppleEventDescriptor descriptor, + int keyword, + ) { + _lib._objc_msgSend_617( + this.pointer, + _lib._sel_setParamDescriptor_forKeyword_1, + descriptor.pointer, + keyword, + ); } NSAppleEventDescriptor? paramDescriptorForKeyword_(int keyword) { final _ret = _lib._objc_msgSend_618( - _id, _lib._sel_paramDescriptorForKeyword_1, keyword); + this.pointer, + _lib._sel_paramDescriptorForKeyword_1, + keyword, + ); return _ret.address == 0 ? null : NSAppleEventDescriptor._(_ret, _lib, retain: true, release: true); @@ -52827,70 +69580,106 @@ class NSAppleEventDescriptor extends NSObject { void removeParamDescriptorWithKeyword_(int keyword) { _lib._objc_msgSend_619( - _id, _lib._sel_removeParamDescriptorWithKeyword_1, keyword); + this.pointer, + _lib._sel_removeParamDescriptorWithKeyword_1, + keyword, + ); } void setAttributeDescriptor_forKeyword_( - NSAppleEventDescriptor descriptor, int keyword) { - _lib._objc_msgSend_617(_id, _lib._sel_setAttributeDescriptor_forKeyword_1, - descriptor._id, keyword); + NSAppleEventDescriptor descriptor, + int keyword, + ) { + _lib._objc_msgSend_617( + this.pointer, + _lib._sel_setAttributeDescriptor_forKeyword_1, + descriptor.pointer, + keyword, + ); } NSAppleEventDescriptor? attributeDescriptorForKeyword_(int keyword) { final _ret = _lib._objc_msgSend_618( - _id, _lib._sel_attributeDescriptorForKeyword_1, keyword); + this.pointer, + _lib._sel_attributeDescriptorForKeyword_1, + keyword, + ); return _ret.address == 0 ? null : NSAppleEventDescriptor._(_ret, _lib, retain: true, release: true); } - NSAppleEventDescriptor? sendEventWithOptions_timeout_error_(int sendOptions, - double timeoutInSeconds, ffi.Pointer> error) { + NSAppleEventDescriptor? sendEventWithOptions_timeout_error_( + int sendOptions, + double timeoutInSeconds, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_620( - _id, - _lib._sel_sendEventWithOptions_timeout_error_1, - sendOptions, - timeoutInSeconds, - error); + this.pointer, + _lib._sel_sendEventWithOptions_timeout_error_1, + sendOptions, + timeoutInSeconds, + error, + ); return _ret.address == 0 ? null : NSAppleEventDescriptor._(_ret, _lib, retain: true, release: true); } bool get isRecordDescriptor { - return _lib._objc_msgSend_12(_id, _lib._sel_isRecordDescriptor1); + return _lib._objc_msgSend_12(this.pointer, _lib._sel_isRecordDescriptor1); } int get numberOfItems { - return _lib._objc_msgSend_83(_id, _lib._sel_numberOfItems1); + return _lib._objc_msgSend_83(this.pointer, _lib._sel_numberOfItems1); } void insertDescriptor_atIndex_(NSAppleEventDescriptor descriptor, int index) { _lib._objc_msgSend_621( - _id, _lib._sel_insertDescriptor_atIndex_1, descriptor._id, index); + this.pointer, + _lib._sel_insertDescriptor_atIndex_1, + descriptor.pointer, + index, + ); } NSAppleEventDescriptor? descriptorAtIndex_(int index) { - final _ret = - _lib._objc_msgSend_622(_id, _lib._sel_descriptorAtIndex_1, index); + final _ret = _lib._objc_msgSend_622( + this.pointer, + _lib._sel_descriptorAtIndex_1, + index, + ); return _ret.address == 0 ? null : NSAppleEventDescriptor._(_ret, _lib, retain: true, release: true); } void removeDescriptorAtIndex_(int index) { - _lib._objc_msgSend_423(_id, _lib._sel_removeDescriptorAtIndex_1, index); + _lib._objc_msgSend_423( + this.pointer, + _lib._sel_removeDescriptorAtIndex_1, + index, + ); } void setDescriptor_forKeyword_( - NSAppleEventDescriptor descriptor, int keyword) { + NSAppleEventDescriptor descriptor, + int keyword, + ) { _lib._objc_msgSend_617( - _id, _lib._sel_setDescriptor_forKeyword_1, descriptor._id, keyword); + this.pointer, + _lib._sel_setDescriptor_forKeyword_1, + descriptor.pointer, + keyword, + ); } NSAppleEventDescriptor? descriptorForKeyword_(int keyword) { - final _ret = - _lib._objc_msgSend_618(_id, _lib._sel_descriptorForKeyword_1, keyword); + final _ret = _lib._objc_msgSend_618( + this.pointer, + _lib._sel_descriptorForKeyword_1, + keyword, + ); return _ret.address == 0 ? null : NSAppleEventDescriptor._(_ret, _lib, retain: true, release: true); @@ -52898,17 +69687,26 @@ class NSAppleEventDescriptor extends NSObject { void removeDescriptorWithKeyword_(int keyword) { _lib._objc_msgSend_619( - _id, _lib._sel_removeDescriptorWithKeyword_1, keyword); + this.pointer, + _lib._sel_removeDescriptorWithKeyword_1, + keyword, + ); } int keywordForDescriptorAtIndex_(int index) { return _lib._objc_msgSend_623( - _id, _lib._sel_keywordForDescriptorAtIndex_1, index); + this.pointer, + _lib._sel_keywordForDescriptorAtIndex_1, + index, + ); } NSAppleEventDescriptor? coerceToDescriptorType_(int descriptorType) { final _ret = _lib._objc_msgSend_618( - _id, _lib._sel_coerceToDescriptorType_1, descriptorType); + this.pointer, + _lib._sel_coerceToDescriptorType_1, + descriptorType, + ); return _ret.address == 0 ? null : NSAppleEventDescriptor._(_ret, _lib, retain: true, release: true); @@ -52916,89 +69714,127 @@ class NSAppleEventDescriptor extends NSObject { @override NSAppleEventDescriptor init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSAppleEventDescriptor._(_ret, _lib, retain: true, release: true); } static NSAppleEventDescriptor new1(AVFAudio _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSAppleEventDescriptor1, _lib._sel_new1); + _lib._class_NSAppleEventDescriptor1, + _lib._sel_new1, + ); return NSAppleEventDescriptor._(_ret, _lib, retain: false, release: true); } static NSAppleEventDescriptor allocWithZone_( - AVFAudio _lib, ffi.Pointer<_NSZone> zone) { + AVFAudio _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSAppleEventDescriptor1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSAppleEventDescriptor1, + _lib._sel_allocWithZone_1, + zone, + ); return NSAppleEventDescriptor._(_ret, _lib, retain: false, release: true); } static NSAppleEventDescriptor alloc(AVFAudio _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSAppleEventDescriptor1, _lib._sel_alloc1); + _lib._class_NSAppleEventDescriptor1, + _lib._sel_alloc1, + ); return NSAppleEventDescriptor._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + AVFAudio _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSAppleEventDescriptor1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSAppleEventDescriptor1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSAppleEventDescriptor1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + AVFAudio _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSAppleEventDescriptor1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { - return _lib._objc_msgSend_12(_lib._class_NSAppleEventDescriptor1, - _lib._sel_accessInstanceVariablesDirectly1); + return _lib._objc_msgSend_12( + _lib._class_NSAppleEventDescriptor1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(AVFAudio _lib) { return _lib._objc_msgSend_12( - _lib._class_NSAppleEventDescriptor1, _lib._sel_useStoredAccessor1); + _lib._class_NSAppleEventDescriptor1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSAppleEventDescriptor1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSAppleEventDescriptor1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSAppleEventDescriptor1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSAppleEventDescriptor1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, NSArray keys, NSString dependentKey) { + AVFAudio _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSAppleEventDescriptor1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSAppleEventDescriptor1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_85(_lib._class_NSAppleEventDescriptor1, - _lib._sel_classFallbacksForKeyedArchiver1); + final _ret = _lib._objc_msgSend_85( + _lib._class_NSAppleEventDescriptor1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2(_lib._class_NSAppleEventDescriptor1, - _lib._sel_classForKeyedUnarchiver1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSAppleEventDescriptor1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } @@ -53028,102 +69864,151 @@ abstract class NSAppleEventSendOptions { } class NSScriptClassDescription extends NSClassDescription { - NSScriptClassDescription._(ffi.Pointer id, AVFAudio lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSScriptClassDescription._( + ffi.Pointer pointer, + AVFAudio lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSScriptClassDescription] that points to the same underlying object as [other]. - static NSScriptClassDescription castFrom(T other) { - return NSScriptClassDescription._(other._id, other._lib, - retain: true, release: true); + static NSScriptClassDescription castFrom( + AVFAudio lib, + T other, + ) { + return NSScriptClassDescription._( + other.pointer, + lib, + retain: true, + release: true, + ); } /// Returns a [NSScriptClassDescription] that wraps the given raw object pointer. static NSScriptClassDescription castFromPointer( - AVFAudio lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { - return NSScriptClassDescription._(other, lib, - retain: retain, release: release); + AVFAudio lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { + return NSScriptClassDescription._( + other, + lib, + retain: retain, + release: release, + ); } /// Returns whether [obj] is an instance of [NSScriptClassDescription]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0(obj._id, obj._lib._sel_isKindOfClass_1, - obj._lib._class_NSScriptClassDescription1); + static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSScriptClassDescription1, + ); } static NSScriptClassDescription? classDescriptionForClass_( - AVFAudio _lib, NSObject aClass) { - final _ret = _lib._objc_msgSend_626(_lib._class_NSScriptClassDescription1, - _lib._sel_classDescriptionForClass_1, aClass._id); + AVFAudio _lib, + NSObject aClass, + ) { + final _ret = _lib._objc_msgSend_626( + _lib._class_NSScriptClassDescription1, + _lib._sel_classDescriptionForClass_1, + aClass.pointer, + ); return _ret.address == 0 ? null : NSScriptClassDescription._(_ret, _lib, retain: true, release: true); } NSScriptClassDescription? initWithSuiteName_className_dictionary_( - NSString suiteName, NSString className, NSDictionary? classDeclaration) { + NSString suiteName, + NSString className, + NSDictionary? classDeclaration, + ) { final _ret = _lib._objc_msgSend_627( - _id, - _lib._sel_initWithSuiteName_className_dictionary_1, - suiteName._id, - className._id, - classDeclaration?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_initWithSuiteName_className_dictionary_1, + suiteName.pointer, + className.pointer, + classDeclaration?.pointer ?? ffi.nullptr, + ); return _ret.address == 0 ? null : NSScriptClassDescription._(_ret, _lib, retain: true, release: true); } NSString? get suiteName { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_suiteName1); + final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_suiteName1); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } NSString? get className { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_className1); + final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_className1); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } NSString? get implementationClassName { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_implementationClassName1); + final _ret = _lib._objc_msgSend_44( + this.pointer, + _lib._sel_implementationClassName1, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } NSScriptClassDescription? get superclassDescription { - final _ret = _lib._objc_msgSend_628(_id, _lib._sel_superclassDescription1); + final _ret = _lib._objc_msgSend_628( + this.pointer, + _lib._sel_superclassDescription1, + ); return _ret.address == 0 ? null : NSScriptClassDescription._(_ret, _lib, retain: true, release: true); } int get appleEventCode { - return _lib._objc_msgSend_214(_id, _lib._sel_appleEventCode1); + return _lib._objc_msgSend_214(this.pointer, _lib._sel_appleEventCode1); } bool matchesAppleEventCode_(int appleEventCode) { return _lib._objc_msgSend_194( - _id, _lib._sel_matchesAppleEventCode_1, appleEventCode); + this.pointer, + _lib._sel_matchesAppleEventCode_1, + appleEventCode, + ); } bool supportsCommand_(NSScriptCommandDescription commandDescription) { return _lib._objc_msgSend_641( - _id, _lib._sel_supportsCommand_1, commandDescription._id); + this.pointer, + _lib._sel_supportsCommand_1, + commandDescription.pointer, + ); } - ffi.Pointer selectorForCommand_( - NSScriptCommandDescription commandDescription) { + ffi.Pointer selectorForCommand_( + NSScriptCommandDescription commandDescription, + ) { return _lib._objc_msgSend_642( - _id, _lib._sel_selectorForCommand_1, commandDescription._id); + this.pointer, + _lib._sel_selectorForCommand_1, + commandDescription.pointer, + ); } NSString? typeForKey_(NSString key) { - final _ret = _lib._objc_msgSend_186(_id, _lib._sel_typeForKey_1, key._id); + final _ret = _lib._objc_msgSend_186( + this.pointer, + _lib._sel_typeForKey_1, + key.pointer, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); @@ -53131,7 +70016,10 @@ class NSScriptClassDescription extends NSClassDescription { NSScriptClassDescription? classDescriptionForKey_(NSString key) { final _ret = _lib._objc_msgSend_643( - _id, _lib._sel_classDescriptionForKey_1, key._id); + this.pointer, + _lib._sel_classDescriptionForKey_1, + key.pointer, + ); return _ret.address == 0 ? null : NSScriptClassDescription._(_ret, _lib, retain: true, release: true); @@ -53139,20 +70027,28 @@ class NSScriptClassDescription extends NSClassDescription { int appleEventCodeForKey_(NSString key) { return _lib._objc_msgSend_629( - _id, _lib._sel_appleEventCodeForKey_1, key._id); + this.pointer, + _lib._sel_appleEventCodeForKey_1, + key.pointer, + ); } NSString? keyWithAppleEventCode_(int appleEventCode) { final _ret = _lib._objc_msgSend_644( - _id, _lib._sel_keyWithAppleEventCode_1, appleEventCode); + this.pointer, + _lib._sel_keyWithAppleEventCode_1, + appleEventCode, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } NSString? get defaultSubcontainerAttributeKey { - final _ret = - _lib._objc_msgSend_44(_id, _lib._sel_defaultSubcontainerAttributeKey1); + final _ret = _lib._objc_msgSend_44( + this.pointer, + _lib._sel_defaultSubcontainerAttributeKey1, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); @@ -53160,233 +70056,329 @@ class NSScriptClassDescription extends NSClassDescription { bool isLocationRequiredToCreateForKey_(NSString toManyRelationshipKey) { return _lib._objc_msgSend_64( - _id, - _lib._sel_isLocationRequiredToCreateForKey_1, - toManyRelationshipKey._id); + this.pointer, + _lib._sel_isLocationRequiredToCreateForKey_1, + toManyRelationshipKey.pointer, + ); } bool hasPropertyForKey_(NSString key) { - return _lib._objc_msgSend_64(_id, _lib._sel_hasPropertyForKey_1, key._id); + return _lib._objc_msgSend_64( + this.pointer, + _lib._sel_hasPropertyForKey_1, + key.pointer, + ); } bool hasOrderedToManyRelationshipForKey_(NSString key) { return _lib._objc_msgSend_64( - _id, _lib._sel_hasOrderedToManyRelationshipForKey_1, key._id); + this.pointer, + _lib._sel_hasOrderedToManyRelationshipForKey_1, + key.pointer, + ); } bool hasReadablePropertyForKey_(NSString key) { return _lib._objc_msgSend_64( - _id, _lib._sel_hasReadablePropertyForKey_1, key._id); + this.pointer, + _lib._sel_hasReadablePropertyForKey_1, + key.pointer, + ); } bool hasWritablePropertyForKey_(NSString key) { return _lib._objc_msgSend_64( - _id, _lib._sel_hasWritablePropertyForKey_1, key._id); + this.pointer, + _lib._sel_hasWritablePropertyForKey_1, + key.pointer, + ); } bool isReadOnlyKey_(NSString key) { - return _lib._objc_msgSend_64(_id, _lib._sel_isReadOnlyKey_1, key._id); + return _lib._objc_msgSend_64( + this.pointer, + _lib._sel_isReadOnlyKey_1, + key.pointer, + ); } static void registerClassDescription_forClass_( - AVFAudio _lib, NSClassDescription description, NSObject aClass) { + AVFAudio _lib, + NSClassDescription description, + NSObject aClass, + ) { _lib._objc_msgSend_598( - _lib._class_NSScriptClassDescription1, - _lib._sel_registerClassDescription_forClass_1, - description._id, - aClass._id); + _lib._class_NSScriptClassDescription1, + _lib._sel_registerClassDescription_forClass_1, + description.pointer, + aClass.pointer, + ); } static void invalidateClassDescriptionCache(AVFAudio _lib) { - _lib._objc_msgSend_1(_lib._class_NSScriptClassDescription1, - _lib._sel_invalidateClassDescriptionCache1); + _lib._objc_msgSend_1( + _lib._class_NSScriptClassDescription1, + _lib._sel_invalidateClassDescriptionCache1, + ); } @override NSScriptClassDescription init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSScriptClassDescription._(_ret, _lib, retain: true, release: true); } static NSScriptClassDescription new1(AVFAudio _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSScriptClassDescription1, _lib._sel_new1); + _lib._class_NSScriptClassDescription1, + _lib._sel_new1, + ); return NSScriptClassDescription._(_ret, _lib, retain: false, release: true); } static NSScriptClassDescription allocWithZone_( - AVFAudio _lib, ffi.Pointer<_NSZone> zone) { + AVFAudio _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSScriptClassDescription1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSScriptClassDescription1, + _lib._sel_allocWithZone_1, + zone, + ); return NSScriptClassDescription._(_ret, _lib, retain: false, release: true); } static NSScriptClassDescription alloc(AVFAudio _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSScriptClassDescription1, _lib._sel_alloc1); + _lib._class_NSScriptClassDescription1, + _lib._sel_alloc1, + ); return NSScriptClassDescription._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + AVFAudio _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSScriptClassDescription1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSScriptClassDescription1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSScriptClassDescription1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + AVFAudio _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSScriptClassDescription1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { - return _lib._objc_msgSend_12(_lib._class_NSScriptClassDescription1, - _lib._sel_accessInstanceVariablesDirectly1); + return _lib._objc_msgSend_12( + _lib._class_NSScriptClassDescription1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(AVFAudio _lib) { return _lib._objc_msgSend_12( - _lib._class_NSScriptClassDescription1, _lib._sel_useStoredAccessor1); + _lib._class_NSScriptClassDescription1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSScriptClassDescription1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSScriptClassDescription1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSScriptClassDescription1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSScriptClassDescription1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, NSArray keys, NSString dependentKey) { + AVFAudio _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSScriptClassDescription1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSScriptClassDescription1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_85(_lib._class_NSScriptClassDescription1, - _lib._sel_classFallbacksForKeyedArchiver1); + final _ret = _lib._objc_msgSend_85( + _lib._class_NSScriptClassDescription1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2(_lib._class_NSScriptClassDescription1, - _lib._sel_classForKeyedUnarchiver1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSScriptClassDescription1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } class NSScriptCommandDescription extends NSObject { - NSScriptCommandDescription._(ffi.Pointer id, AVFAudio lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSScriptCommandDescription._( + ffi.Pointer pointer, + AVFAudio lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSScriptCommandDescription] that points to the same underlying object as [other]. - static NSScriptCommandDescription castFrom(T other) { - return NSScriptCommandDescription._(other._id, other._lib, - retain: true, release: true); + static NSScriptCommandDescription castFrom( + AVFAudio lib, + T other, + ) { + return NSScriptCommandDescription._( + other.pointer, + lib, + retain: true, + release: true, + ); } /// Returns a [NSScriptCommandDescription] that wraps the given raw object pointer. static NSScriptCommandDescription castFromPointer( - AVFAudio lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { - return NSScriptCommandDescription._(other, lib, - retain: retain, release: release); + AVFAudio lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { + return NSScriptCommandDescription._( + other, + lib, + retain: retain, + release: release, + ); } /// Returns whether [obj] is an instance of [NSScriptCommandDescription]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0(obj._id, obj._lib._sel_isKindOfClass_1, - obj._lib._class_NSScriptCommandDescription1); + static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSScriptCommandDescription1, + ); } @override NSObject init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSObject._(_ret, _lib, retain: true, release: true); } NSScriptCommandDescription? initWithSuiteName_commandName_dictionary_( - NSString suiteName, - NSString commandName, - NSDictionary? commandDeclaration) { + NSString suiteName, + NSString commandName, + NSDictionary? commandDeclaration, + ) { final _ret = _lib._objc_msgSend_627( - _id, - _lib._sel_initWithSuiteName_commandName_dictionary_1, - suiteName._id, - commandName._id, - commandDeclaration?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_initWithSuiteName_commandName_dictionary_1, + suiteName.pointer, + commandName.pointer, + commandDeclaration?.pointer ?? ffi.nullptr, + ); return _ret.address == 0 ? null : NSScriptCommandDescription._(_ret, _lib, retain: true, release: true); } NSScriptCommandDescription? initWithCoder_(NSCoder inCoder) { - final _ret = - _lib._objc_msgSend_47(_id, _lib._sel_initWithCoder_1, inCoder._id); + final _ret = _lib._objc_msgSend_47( + this.pointer, + _lib._sel_initWithCoder_1, + inCoder.pointer, + ); return _ret.address == 0 ? null : NSScriptCommandDescription._(_ret, _lib, retain: true, release: true); } NSString get suiteName { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_suiteName1); + final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_suiteName1); return NSString._(_ret, _lib, retain: true, release: true); } NSString get commandName { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_commandName1); + final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_commandName1); return NSString._(_ret, _lib, retain: true, release: true); } int get appleEventClassCode { - return _lib._objc_msgSend_214(_id, _lib._sel_appleEventClassCode1); + return _lib._objc_msgSend_214(this.pointer, _lib._sel_appleEventClassCode1); } int get appleEventCode { - return _lib._objc_msgSend_214(_id, _lib._sel_appleEventCode1); + return _lib._objc_msgSend_214(this.pointer, _lib._sel_appleEventCode1); } NSString get commandClassName { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_commandClassName1); + final _ret = _lib._objc_msgSend_21( + this.pointer, + _lib._sel_commandClassName1, + ); return NSString._(_ret, _lib, retain: true, release: true); } NSString? get returnType { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_returnType1); + final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_returnType1); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } int get appleEventCodeForReturnType { - return _lib._objc_msgSend_214(_id, _lib._sel_appleEventCodeForReturnType1); + return _lib._objc_msgSend_214( + this.pointer, + _lib._sel_appleEventCodeForReturnType1, + ); } NSArray get argumentNames { - final _ret = _lib._objc_msgSend_85(_id, _lib._sel_argumentNames1); + final _ret = _lib._objc_msgSend_85(this.pointer, _lib._sel_argumentNames1); return NSArray._(_ret, _lib, retain: true, release: true); } NSString? typeForArgumentWithName_(NSString argumentName) { final _ret = _lib._objc_msgSend_186( - _id, _lib._sel_typeForArgumentWithName_1, argumentName._id); + this.pointer, + _lib._sel_typeForArgumentWithName_1, + argumentName.pointer, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); @@ -53394,158 +70386,248 @@ class NSScriptCommandDescription extends NSObject { int appleEventCodeForArgumentWithName_(NSString argumentName) { return _lib._objc_msgSend_629( - _id, _lib._sel_appleEventCodeForArgumentWithName_1, argumentName._id); + this.pointer, + _lib._sel_appleEventCodeForArgumentWithName_1, + argumentName.pointer, + ); } bool isOptionalArgumentWithName_(NSString argumentName) { return _lib._objc_msgSend_64( - _id, _lib._sel_isOptionalArgumentWithName_1, argumentName._id); + this.pointer, + _lib._sel_isOptionalArgumentWithName_1, + argumentName.pointer, + ); } NSScriptCommand createCommandInstance() { - final _ret = _lib._objc_msgSend_639(_id, _lib._sel_createCommandInstance1); + final _ret = _lib._objc_msgSend_639( + this.pointer, + _lib._sel_createCommandInstance1, + ); return NSScriptCommand._(_ret, _lib, retain: true, release: true); } NSScriptCommand createCommandInstanceWithZone_(ffi.Pointer<_NSZone> zone) { final _ret = _lib._objc_msgSend_640( - _id, _lib._sel_createCommandInstanceWithZone_1, zone); + this.pointer, + _lib._sel_createCommandInstanceWithZone_1, + zone, + ); return NSScriptCommand._(_ret, _lib, retain: true, release: true); } static NSScriptCommandDescription new1(AVFAudio _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSScriptCommandDescription1, _lib._sel_new1); - return NSScriptCommandDescription._(_ret, _lib, - retain: false, release: true); + _lib._class_NSScriptCommandDescription1, + _lib._sel_new1, + ); + return NSScriptCommandDescription._( + _ret, + _lib, + retain: false, + release: true, + ); } static NSScriptCommandDescription allocWithZone_( - AVFAudio _lib, ffi.Pointer<_NSZone> zone) { - final _ret = _lib._objc_msgSend_3(_lib._class_NSScriptCommandDescription1, - _lib._sel_allocWithZone_1, zone); - return NSScriptCommandDescription._(_ret, _lib, - retain: false, release: true); + AVFAudio _lib, + ffi.Pointer<_NSZone> zone, + ) { + final _ret = _lib._objc_msgSend_3( + _lib._class_NSScriptCommandDescription1, + _lib._sel_allocWithZone_1, + zone, + ); + return NSScriptCommandDescription._( + _ret, + _lib, + retain: false, + release: true, + ); } static NSScriptCommandDescription alloc(AVFAudio _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSScriptCommandDescription1, _lib._sel_alloc1); - return NSScriptCommandDescription._(_ret, _lib, - retain: false, release: true); + _lib._class_NSScriptCommandDescription1, + _lib._sel_alloc1, + ); + return NSScriptCommandDescription._( + _ret, + _lib, + retain: false, + release: true, + ); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + AVFAudio _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSScriptCommandDescription1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSScriptCommandDescription1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSScriptCommandDescription1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + AVFAudio _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSScriptCommandDescription1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { - return _lib._objc_msgSend_12(_lib._class_NSScriptCommandDescription1, - _lib._sel_accessInstanceVariablesDirectly1); + return _lib._objc_msgSend_12( + _lib._class_NSScriptCommandDescription1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(AVFAudio _lib) { return _lib._objc_msgSend_12( - _lib._class_NSScriptCommandDescription1, _lib._sel_useStoredAccessor1); + _lib._class_NSScriptCommandDescription1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSScriptCommandDescription1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSScriptCommandDescription1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSScriptCommandDescription1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSScriptCommandDescription1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, NSArray keys, NSString dependentKey) { + AVFAudio _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSScriptCommandDescription1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSScriptCommandDescription1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_85(_lib._class_NSScriptCommandDescription1, - _lib._sel_classFallbacksForKeyedArchiver1); + final _ret = _lib._objc_msgSend_85( + _lib._class_NSScriptCommandDescription1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2(_lib._class_NSScriptCommandDescription1, - _lib._sel_classForKeyedUnarchiver1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSScriptCommandDescription1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } class NSScriptCommand extends NSObject { - NSScriptCommand._(ffi.Pointer id, AVFAudio lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSScriptCommand._( + ffi.Pointer pointer, + AVFAudio lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSScriptCommand] that points to the same underlying object as [other]. - static NSScriptCommand castFrom(T other) { - return NSScriptCommand._(other._id, other._lib, - retain: true, release: true); + static NSScriptCommand castFrom( + AVFAudio lib, + T other, + ) { + return NSScriptCommand._(other.pointer, lib, retain: true, release: true); } /// Returns a [NSScriptCommand] that wraps the given raw object pointer. static NSScriptCommand castFromPointer( - AVFAudio lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + AVFAudio lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSScriptCommand._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSScriptCommand]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0(obj._id, obj._lib._sel_isKindOfClass_1, - obj._lib._class_NSScriptCommand1); + static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSScriptCommand1, + ); } NSScriptCommand initWithCommandDescription_( - NSScriptCommandDescription commandDef) { + NSScriptCommandDescription commandDef, + ) { final _ret = _lib._objc_msgSend_630( - _id, _lib._sel_initWithCommandDescription_1, commandDef._id); + this.pointer, + _lib._sel_initWithCommandDescription_1, + commandDef.pointer, + ); return NSScriptCommand._(_ret, _lib, retain: true, release: true); } NSScriptCommand? initWithCoder_(NSCoder inCoder) { - final _ret = - _lib._objc_msgSend_47(_id, _lib._sel_initWithCoder_1, inCoder._id); + final _ret = _lib._objc_msgSend_47( + this.pointer, + _lib._sel_initWithCoder_1, + inCoder.pointer, + ); return _ret.address == 0 ? null : NSScriptCommand._(_ret, _lib, retain: true, release: true); } NSScriptCommandDescription get commandDescription { - final _ret = _lib._objc_msgSend_631(_id, _lib._sel_commandDescription1); - return NSScriptCommandDescription._(_ret, _lib, - retain: true, release: true); + final _ret = _lib._objc_msgSend_631( + this.pointer, + _lib._sel_commandDescription1, + ); + return NSScriptCommandDescription._( + _ret, + _lib, + retain: true, + release: true, + ); } NSObject? get directParameter { - final _ret = _lib._objc_msgSend_17(_id, _lib._sel_directParameter1); + final _ret = _lib._objc_msgSend_17( + this.pointer, + _lib._sel_directParameter1, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); @@ -53553,11 +70635,17 @@ class NSScriptCommand extends NSObject { set directParameter(NSObject? value) { return _lib._objc_msgSend_416( - _id, _lib._sel_setDirectParameter_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setDirectParameter_1, + value?.pointer ?? ffi.nullptr, + ); } NSScriptObjectSpecifier? get receiversSpecifier { - final _ret = _lib._objc_msgSend_632(_id, _lib._sel_receiversSpecifier1); + final _ret = _lib._objc_msgSend_632( + this.pointer, + _lib._sel_receiversSpecifier1, + ); return _ret.address == 0 ? null : NSScriptObjectSpecifier._(_ret, _lib, retain: true, release: true); @@ -53565,18 +70653,24 @@ class NSScriptCommand extends NSObject { set receiversSpecifier(NSScriptObjectSpecifier? value) { return _lib._objc_msgSend_633( - _id, _lib._sel_setReceiversSpecifier_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setReceiversSpecifier_1, + value?.pointer ?? ffi.nullptr, + ); } NSObject? get evaluatedReceivers { - final _ret = _lib._objc_msgSend_17(_id, _lib._sel_evaluatedReceivers1); + final _ret = _lib._objc_msgSend_17( + this.pointer, + _lib._sel_evaluatedReceivers1, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } NSDictionary? get arguments { - final _ret = _lib._objc_msgSend_390(_id, _lib._sel_arguments1); + final _ret = _lib._objc_msgSend_390(this.pointer, _lib._sel_arguments1); return _ret.address == 0 ? null : NSDictionary._(_ret, _lib, retain: true, release: true); @@ -53584,46 +70678,60 @@ class NSScriptCommand extends NSObject { set arguments(NSDictionary? value) { return _lib._objc_msgSend_634( - _id, _lib._sel_setArguments_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setArguments_1, + value?.pointer ?? ffi.nullptr, + ); } NSDictionary? get evaluatedArguments { - final _ret = _lib._objc_msgSend_390(_id, _lib._sel_evaluatedArguments1); + final _ret = _lib._objc_msgSend_390( + this.pointer, + _lib._sel_evaluatedArguments1, + ); return _ret.address == 0 ? null : NSDictionary._(_ret, _lib, retain: true, release: true); } bool get wellFormed { - return _lib._objc_msgSend_12(_id, _lib._sel_isWellFormed1); + return _lib._objc_msgSend_12(this.pointer, _lib._sel_isWellFormed1); } NSObject? performDefaultImplementation() { - final _ret = - _lib._objc_msgSend_17(_id, _lib._sel_performDefaultImplementation1); + final _ret = _lib._objc_msgSend_17( + this.pointer, + _lib._sel_performDefaultImplementation1, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } NSObject? executeCommand() { - final _ret = _lib._objc_msgSend_17(_id, _lib._sel_executeCommand1); + final _ret = _lib._objc_msgSend_17(this.pointer, _lib._sel_executeCommand1); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } int get scriptErrorNumber { - return _lib._objc_msgSend_83(_id, _lib._sel_scriptErrorNumber1); + return _lib._objc_msgSend_83(this.pointer, _lib._sel_scriptErrorNumber1); } set scriptErrorNumber(int value) { - return _lib._objc_msgSend_635(_id, _lib._sel_setScriptErrorNumber_1, value); + return _lib._objc_msgSend_635( + this.pointer, + _lib._sel_setScriptErrorNumber_1, + value, + ); } NSAppleEventDescriptor? get scriptErrorOffendingObjectDescriptor { final _ret = _lib._objc_msgSend_636( - _id, _lib._sel_scriptErrorOffendingObjectDescriptor1); + this.pointer, + _lib._sel_scriptErrorOffendingObjectDescriptor1, + ); return _ret.address == 0 ? null : NSAppleEventDescriptor._(_ret, _lib, retain: true, release: true); @@ -53631,14 +70739,17 @@ class NSScriptCommand extends NSObject { set scriptErrorOffendingObjectDescriptor(NSAppleEventDescriptor? value) { return _lib._objc_msgSend_637( - _id, - _lib._sel_setScriptErrorOffendingObjectDescriptor_1, - value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setScriptErrorOffendingObjectDescriptor_1, + value?.pointer ?? ffi.nullptr, + ); } NSAppleEventDescriptor? get scriptErrorExpectedTypeDescriptor { final _ret = _lib._objc_msgSend_636( - _id, _lib._sel_scriptErrorExpectedTypeDescriptor1); + this.pointer, + _lib._sel_scriptErrorExpectedTypeDescriptor1, + ); return _ret.address == 0 ? null : NSAppleEventDescriptor._(_ret, _lib, retain: true, release: true); @@ -53646,13 +70757,17 @@ class NSScriptCommand extends NSObject { set scriptErrorExpectedTypeDescriptor(NSAppleEventDescriptor? value) { return _lib._objc_msgSend_637( - _id, - _lib._sel_setScriptErrorExpectedTypeDescriptor_1, - value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setScriptErrorExpectedTypeDescriptor_1, + value?.pointer ?? ffi.nullptr, + ); } NSString? get scriptErrorString { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_scriptErrorString1); + final _ret = _lib._objc_msgSend_44( + this.pointer, + _lib._sel_scriptErrorString1, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); @@ -53660,239 +70775,318 @@ class NSScriptCommand extends NSObject { set scriptErrorString(NSString? value) { return _lib._objc_msgSend_545( - _id, _lib._sel_setScriptErrorString_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setScriptErrorString_1, + value?.pointer ?? ffi.nullptr, + ); } static NSScriptCommand? currentCommand(AVFAudio _lib) { final _ret = _lib._objc_msgSend_638( - _lib._class_NSScriptCommand1, _lib._sel_currentCommand1); + _lib._class_NSScriptCommand1, + _lib._sel_currentCommand1, + ); return _ret.address == 0 ? null : NSScriptCommand._(_ret, _lib, retain: true, release: true); } NSAppleEventDescriptor? get appleEvent { - final _ret = _lib._objc_msgSend_636(_id, _lib._sel_appleEvent1); + final _ret = _lib._objc_msgSend_636(this.pointer, _lib._sel_appleEvent1); return _ret.address == 0 ? null : NSAppleEventDescriptor._(_ret, _lib, retain: true, release: true); } void suspendExecution() { - _lib._objc_msgSend_1(_id, _lib._sel_suspendExecution1); + _lib._objc_msgSend_1(this.pointer, _lib._sel_suspendExecution1); } void resumeExecutionWithResult_(NSObject? result) { _lib._objc_msgSend_289( - _id, _lib._sel_resumeExecutionWithResult_1, result?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_resumeExecutionWithResult_1, + result?.pointer ?? ffi.nullptr, + ); } @override NSScriptCommand init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSScriptCommand._(_ret, _lib, retain: true, release: true); } static NSScriptCommand new1(AVFAudio _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSScriptCommand1, _lib._sel_new1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSScriptCommand1, + _lib._sel_new1, + ); return NSScriptCommand._(_ret, _lib, retain: false, release: true); } static NSScriptCommand allocWithZone_( - AVFAudio _lib, ffi.Pointer<_NSZone> zone) { + AVFAudio _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSScriptCommand1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSScriptCommand1, + _lib._sel_allocWithZone_1, + zone, + ); return NSScriptCommand._(_ret, _lib, retain: false, release: true); } static NSScriptCommand alloc(AVFAudio _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSScriptCommand1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSScriptCommand1, + _lib._sel_alloc1, + ); return NSScriptCommand._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + AVFAudio _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSScriptCommand1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSScriptCommand1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSScriptCommand1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + AVFAudio _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSScriptCommand1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { - return _lib._objc_msgSend_12(_lib._class_NSScriptCommand1, - _lib._sel_accessInstanceVariablesDirectly1); + return _lib._objc_msgSend_12( + _lib._class_NSScriptCommand1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(AVFAudio _lib) { return _lib._objc_msgSend_12( - _lib._class_NSScriptCommand1, _lib._sel_useStoredAccessor1); + _lib._class_NSScriptCommand1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSScriptCommand1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSScriptCommand1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSScriptCommand1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSScriptCommand1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, NSArray keys, NSString dependentKey) { + AVFAudio _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSScriptCommand1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSScriptCommand1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_85(_lib._class_NSScriptCommand1, - _lib._sel_classFallbacksForKeyedArchiver1); + final _ret = _lib._objc_msgSend_85( + _lib._class_NSScriptCommand1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(AVFAudio _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSScriptCommand1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSScriptCommand1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } class NSItemProvider extends NSObject { - NSItemProvider._(ffi.Pointer id, AVFAudio lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSItemProvider._( + ffi.Pointer pointer, + AVFAudio lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSItemProvider] that points to the same underlying object as [other]. - static NSItemProvider castFrom(T other) { - return NSItemProvider._(other._id, other._lib, retain: true, release: true); + static NSItemProvider castFrom( + AVFAudio lib, + T other, + ) { + return NSItemProvider._(other.pointer, lib, retain: true, release: true); } /// Returns a [NSItemProvider] that wraps the given raw object pointer. static NSItemProvider castFromPointer( - AVFAudio lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + AVFAudio lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSItemProvider._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSItemProvider]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0(obj._id, obj._lib._sel_isKindOfClass_1, - obj._lib._class_NSItemProvider1); + static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSItemProvider1, + ); } @override NSItemProvider init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSItemProvider._(_ret, _lib, retain: true, release: true); } void registerDataRepresentationForTypeIdentifier_visibility_loadHandler_( - NSString typeIdentifier, - int visibility, - ObjCBlock_NSProgress_ffiVoidNSDataNSError loadHandler) { + NSString typeIdentifier, + int visibility, + ObjCBlock_NSProgress_ffiVoidNSDataNSError loadHandler, + ) { _lib._objc_msgSend_673( - _id, - _lib._sel_registerDataRepresentationForTypeIdentifier_visibility_loadHandler_1, - typeIdentifier._id, - visibility, - loadHandler._id); + this.pointer, + _lib._sel_registerDataRepresentationForTypeIdentifier_visibility_loadHandler_1, + typeIdentifier.pointer, + visibility, + loadHandler.pointer, + ); } void - registerFileRepresentationForTypeIdentifier_fileOptions_visibility_loadHandler_( - NSString typeIdentifier, - int fileOptions, - int visibility, - ObjCBlock_NSProgress_ffiVoidNSURLboolNSError loadHandler) { + registerFileRepresentationForTypeIdentifier_fileOptions_visibility_loadHandler_( + NSString typeIdentifier, + int fileOptions, + int visibility, + ObjCBlock_NSProgress_ffiVoidNSURLboolNSError loadHandler, + ) { _lib._objc_msgSend_674( - _id, - _lib._sel_registerFileRepresentationForTypeIdentifier_fileOptions_visibility_loadHandler_1, - typeIdentifier._id, - fileOptions, - visibility, - loadHandler._id); + this.pointer, + _lib._sel_registerFileRepresentationForTypeIdentifier_fileOptions_visibility_loadHandler_1, + typeIdentifier.pointer, + fileOptions, + visibility, + loadHandler.pointer, + ); } NSArray get registeredTypeIdentifiers { - final _ret = - _lib._objc_msgSend_85(_id, _lib._sel_registeredTypeIdentifiers1); + final _ret = _lib._objc_msgSend_85( + this.pointer, + _lib._sel_registeredTypeIdentifiers1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } NSArray registeredTypeIdentifiersWithFileOptions_(int fileOptions) { final _ret = _lib._objc_msgSend_675( - _id, _lib._sel_registeredTypeIdentifiersWithFileOptions_1, fileOptions); + this.pointer, + _lib._sel_registeredTypeIdentifiersWithFileOptions_1, + fileOptions, + ); return NSArray._(_ret, _lib, retain: true, release: true); } bool hasItemConformingToTypeIdentifier_(NSString typeIdentifier) { return _lib._objc_msgSend_64( - _id, _lib._sel_hasItemConformingToTypeIdentifier_1, typeIdentifier._id); + this.pointer, + _lib._sel_hasItemConformingToTypeIdentifier_1, + typeIdentifier.pointer, + ); } bool hasRepresentationConformingToTypeIdentifier_fileOptions_( - NSString typeIdentifier, int fileOptions) { + NSString typeIdentifier, + int fileOptions, + ) { return _lib._objc_msgSend_676( - _id, - _lib._sel_hasRepresentationConformingToTypeIdentifier_fileOptions_1, - typeIdentifier._id, - fileOptions); + this.pointer, + _lib._sel_hasRepresentationConformingToTypeIdentifier_fileOptions_1, + typeIdentifier.pointer, + fileOptions, + ); } NSProgress loadDataRepresentationForTypeIdentifier_completionHandler_( - NSString typeIdentifier, - ObjCBlock_ffiVoid_NSData_NSError completionHandler) { + NSString typeIdentifier, + ObjCBlock_ffiVoid_NSData_NSError completionHandler, + ) { final _ret = _lib._objc_msgSend_677( - _id, - _lib._sel_loadDataRepresentationForTypeIdentifier_completionHandler_1, - typeIdentifier._id, - completionHandler._id); + this.pointer, + _lib._sel_loadDataRepresentationForTypeIdentifier_completionHandler_1, + typeIdentifier.pointer, + completionHandler.pointer, + ); return NSProgress._(_ret, _lib, retain: true, release: true); } NSProgress loadFileRepresentationForTypeIdentifier_completionHandler_( - NSString typeIdentifier, - ObjCBlock_ffiVoid_NSURL_NSError completionHandler) { + NSString typeIdentifier, + ObjCBlock_ffiVoid_NSURL_NSError completionHandler, + ) { final _ret = _lib._objc_msgSend_678( - _id, - _lib._sel_loadFileRepresentationForTypeIdentifier_completionHandler_1, - typeIdentifier._id, - completionHandler._id); + this.pointer, + _lib._sel_loadFileRepresentationForTypeIdentifier_completionHandler_1, + typeIdentifier.pointer, + completionHandler.pointer, + ); return NSProgress._(_ret, _lib, retain: true, release: true); } NSProgress loadInPlaceFileRepresentationForTypeIdentifier_completionHandler_( - NSString typeIdentifier, - ObjCBlock_ffiVoid_NSURL_bool_NSError completionHandler) { + NSString typeIdentifier, + ObjCBlock_ffiVoid_NSURL_bool_NSError completionHandler, + ) { final _ret = _lib._objc_msgSend_679( - _id, - _lib._sel_loadInPlaceFileRepresentationForTypeIdentifier_completionHandler_1, - typeIdentifier._id, - completionHandler._id); + this.pointer, + _lib._sel_loadInPlaceFileRepresentationForTypeIdentifier_completionHandler_1, + typeIdentifier.pointer, + completionHandler.pointer, + ); return NSProgress._(_ret, _lib, retain: true, release: true); } NSString? get suggestedName { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_suggestedName1); + final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_suggestedName1); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); @@ -53900,193 +71094,272 @@ class NSItemProvider extends NSObject { set suggestedName(NSString? value) { return _lib._objc_msgSend_545( - _id, _lib._sel_setSuggestedName_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setSuggestedName_1, + value?.pointer ?? ffi.nullptr, + ); } NSItemProvider initWithObject_(NSObject object) { - final _ret = - _lib._objc_msgSend_124(_id, _lib._sel_initWithObject_1, object._id); + final _ret = _lib._objc_msgSend_124( + this.pointer, + _lib._sel_initWithObject_1, + object.pointer, + ); return NSItemProvider._(_ret, _lib, retain: true, release: true); } void registerObject_visibility_(NSObject object, int visibility) { _lib._objc_msgSend_680( - _id, _lib._sel_registerObject_visibility_1, object._id, visibility); + this.pointer, + _lib._sel_registerObject_visibility_1, + object.pointer, + visibility, + ); } void registerObjectOfClass_visibility_loadHandler_( - NSObject aClass, - int visibility, - ObjCBlock_NSProgress_ffiVoidObjCObjectNSError loadHandler) { + NSObject aClass, + int visibility, + ObjCBlock_NSProgress_ffiVoidobjcObjCObjectNSError loadHandler, + ) { _lib._objc_msgSend_681( - _id, - _lib._sel_registerObjectOfClass_visibility_loadHandler_1, - aClass._id, - visibility, - loadHandler._id); + this.pointer, + _lib._sel_registerObjectOfClass_visibility_loadHandler_1, + aClass.pointer, + visibility, + loadHandler.pointer, + ); } bool canLoadObjectOfClass_(NSObject aClass) { return _lib._objc_msgSend_0( - _id, _lib._sel_canLoadObjectOfClass_1, aClass._id); + this.pointer, + _lib._sel_canLoadObjectOfClass_1, + aClass.pointer, + ); } NSProgress loadObjectOfClass_completionHandler_( - NSObject aClass, ObjCBlock_ffiVoid_ObjCObject_NSError completionHandler) { + NSObject aClass, + ObjCBlock_ffiVoid_objcObjCObject_NSError completionHandler, + ) { final _ret = _lib._objc_msgSend_682( - _id, - _lib._sel_loadObjectOfClass_completionHandler_1, - aClass._id, - completionHandler._id); + this.pointer, + _lib._sel_loadObjectOfClass_completionHandler_1, + aClass.pointer, + completionHandler.pointer, + ); return NSProgress._(_ret, _lib, retain: true, release: true); } NSItemProvider initWithItem_typeIdentifier_( - NSObject? item, NSString? typeIdentifier) { + NSObject? item, + NSString? typeIdentifier, + ) { final _ret = _lib._objc_msgSend_683( - _id, - _lib._sel_initWithItem_typeIdentifier_1, - item?._id ?? ffi.nullptr, - typeIdentifier?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_initWithItem_typeIdentifier_1, + item?.pointer ?? ffi.nullptr, + typeIdentifier?.pointer ?? ffi.nullptr, + ); return NSItemProvider._(_ret, _lib, retain: true, release: true); } NSItemProvider? initWithContentsOfURL_(NSURL fileURL) { final _ret = _lib._objc_msgSend_277( - _id, _lib._sel_initWithContentsOfURL_1, fileURL._id); + this.pointer, + _lib._sel_initWithContentsOfURL_1, + fileURL.pointer, + ); return _ret.address == 0 ? null : NSItemProvider._(_ret, _lib, retain: true, release: true); } void registerItemForTypeIdentifier_loadHandler_( - NSString typeIdentifier, - ObjCBlock_ffiVoid_ffiVoidObjCObjectNSError_ObjCObject_NSDictionary - loadHandler) { + NSString typeIdentifier, + ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary + loadHandler, + ) { _lib._objc_msgSend_684( - _id, - _lib._sel_registerItemForTypeIdentifier_loadHandler_1, - typeIdentifier._id, - loadHandler._id); + this.pointer, + _lib._sel_registerItemForTypeIdentifier_loadHandler_1, + typeIdentifier.pointer, + loadHandler.pointer, + ); } void loadItemForTypeIdentifier_options_completionHandler_( - NSString typeIdentifier, - NSDictionary? options, - ObjCBlock_ffiVoid_ObjCObject_NSError1? completionHandler) { + NSString typeIdentifier, + NSDictionary? options, + ObjCBlock_ffiVoid_objcObjCObject_NSError1? completionHandler, + ) { _lib._objc_msgSend_685( - _id, - _lib._sel_loadItemForTypeIdentifier_options_completionHandler_1, - typeIdentifier._id, - options?._id ?? ffi.nullptr, - completionHandler?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_loadItemForTypeIdentifier_options_completionHandler_1, + typeIdentifier.pointer, + options?.pointer ?? ffi.nullptr, + completionHandler?.pointer ?? ffi.nullptr, + ); } - ObjCBlock_ffiVoid_ffiVoidObjCObjectNSError_ObjCObject_NSDictionary? - get previewImageHandler { - final _ret = _lib._objc_msgSend_686(_id, _lib._sel_previewImageHandler1); + ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary? + get previewImageHandler { + final _ret = _lib._objc_msgSend_686( + this.pointer, + _lib._sel_previewImageHandler1, + ); return _ret.address == 0 ? null - : ObjCBlock_ffiVoid_ffiVoidObjCObjectNSError_ObjCObject_NSDictionary._( - _ret, _lib, - retain: true, release: true); + : ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary._( + _ret, + _lib, + retain: true, + release: true, + ); } set previewImageHandler( - ObjCBlock_ffiVoid_ffiVoidObjCObjectNSError_ObjCObject_NSDictionary? - value) { + ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary? + value, + ) { return _lib._objc_msgSend_687( - _id, _lib._sel_setPreviewImageHandler_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setPreviewImageHandler_1, + value?.pointer ?? ffi.nullptr, + ); } - void loadPreviewImageWithOptions_completionHandler_(NSDictionary options, - ObjCBlock_ffiVoid_ObjCObject_NSError1 completionHandler) { + void loadPreviewImageWithOptions_completionHandler_( + NSDictionary options, + ObjCBlock_ffiVoid_objcObjCObject_NSError1 completionHandler, + ) { _lib._objc_msgSend_688( - _id, - _lib._sel_loadPreviewImageWithOptions_completionHandler_1, - options._id, - completionHandler._id); + this.pointer, + _lib._sel_loadPreviewImageWithOptions_completionHandler_1, + options.pointer, + completionHandler.pointer, + ); } static NSItemProvider new1(AVFAudio _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSItemProvider1, _lib._sel_new1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSItemProvider1, + _lib._sel_new1, + ); return NSItemProvider._(_ret, _lib, retain: false, release: true); } static NSItemProvider allocWithZone_( - AVFAudio _lib, ffi.Pointer<_NSZone> zone) { + AVFAudio _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSItemProvider1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSItemProvider1, + _lib._sel_allocWithZone_1, + zone, + ); return NSItemProvider._(_ret, _lib, retain: false, release: true); } static NSItemProvider alloc(AVFAudio _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSItemProvider1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSItemProvider1, + _lib._sel_alloc1, + ); return NSItemProvider._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + AVFAudio _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSItemProvider1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSItemProvider1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSItemProvider1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + AVFAudio _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSItemProvider1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { - return _lib._objc_msgSend_12(_lib._class_NSItemProvider1, - _lib._sel_accessInstanceVariablesDirectly1); + return _lib._objc_msgSend_12( + _lib._class_NSItemProvider1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(AVFAudio _lib) { return _lib._objc_msgSend_12( - _lib._class_NSItemProvider1, _lib._sel_useStoredAccessor1); + _lib._class_NSItemProvider1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSItemProvider1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSItemProvider1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSItemProvider1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSItemProvider1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, NSArray keys, NSString dependentKey) { + AVFAudio _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSItemProvider1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSItemProvider1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { final _ret = _lib._objc_msgSend_85( - _lib._class_NSItemProvider1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSItemProvider1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(AVFAudio _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSItemProvider1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSItemProvider1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } @@ -54098,45 +71371,63 @@ abstract class NSItemProviderRepresentationVisibility { static const int NSItemProviderRepresentationVisibilityOwnProcess = 3; } -ffi.Pointer< - ObjCObject> _ObjCBlock_NSProgress_ffiVoidNSDataNSError_fnPtrTrampoline( - ffi.Pointer<_ObjCBlock> block, ffi.Pointer<_ObjCBlock> arg0) => - block.ref.target - .cast< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer<_ObjCBlock> arg0)>>() - .asFunction< - ffi.Pointer Function(ffi.Pointer<_ObjCBlock>)>()(arg0); +ffi.Pointer +_ObjCBlock_NSProgress_ffiVoidNSDataNSError_fnPtrTrampoline( + ffi.Pointer block, + ffi.Pointer arg0, +) => block.ref.target + .cast< + ffi.NativeFunction< + ffi.Pointer Function(ffi.Pointer arg0) + > + >() + .asFunction< + ffi.Pointer Function(ffi.Pointer) + >()(arg0); final _ObjCBlock_NSProgress_ffiVoidNSDataNSError_closureRegistry = - Function(ffi.Pointer<_ObjCBlock>)>{}; + Function(ffi.Pointer)>{}; int _ObjCBlock_NSProgress_ffiVoidNSDataNSError_closureRegistryIndex = 0; ffi.Pointer - _ObjCBlock_NSProgress_ffiVoidNSDataNSError_registerClosure( - ffi.Pointer Function(ffi.Pointer<_ObjCBlock>) fn) { +_ObjCBlock_NSProgress_ffiVoidNSDataNSError_registerClosure( + ffi.Pointer Function(ffi.Pointer) fn, +) { final id = ++_ObjCBlock_NSProgress_ffiVoidNSDataNSError_closureRegistryIndex; _ObjCBlock_NSProgress_ffiVoidNSDataNSError_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } -ffi.Pointer - _ObjCBlock_NSProgress_ffiVoidNSDataNSError_closureTrampoline( - ffi.Pointer<_ObjCBlock> block, ffi.Pointer<_ObjCBlock> arg0) => - _ObjCBlock_NSProgress_ffiVoidNSDataNSError_closureRegistry[ - block.ref.target.address]!(arg0); +ffi.Pointer +_ObjCBlock_NSProgress_ffiVoidNSDataNSError_closureTrampoline( + ffi.Pointer block, + ffi.Pointer arg0, +) => _ObjCBlock_NSProgress_ffiVoidNSDataNSError_closureRegistry[block + .ref + .target + .address]!(arg0); -class ObjCBlock_NSProgress_ffiVoidNSDataNSError extends _ObjCBlockBase { +class ObjCBlock_NSProgress_ffiVoidNSDataNSError extends objc.ObjCBlockBase { ObjCBlock_NSProgress_ffiVoidNSDataNSError._( - ffi.Pointer<_ObjCBlock> id, AVFAudio lib, - {bool retain = false, bool release = true}) - : super._(id, lib, retain: retain, release: release); + ffi.Pointer pointer, + this._lib, { + bool retain = false, + bool release = true, + }) : super(pointer, retain: retain, release: release); + + AVFAudio _lib; /// Returns a block that wraps the given raw block pointer. static ObjCBlock_NSProgress_ffiVoidNSDataNSError castFromPointer( - AVFAudio lib, ffi.Pointer<_ObjCBlock> pointer, - {bool retain = false, bool release = false}) { - return ObjCBlock_NSProgress_ffiVoidNSDataNSError._(pointer, lib, - retain: retain, release: release); + AVFAudio lib, + ffi.Pointer pointer, { + bool retain = false, + bool release = false, + }) { + return ObjCBlock_NSProgress_ffiVoidNSDataNSError._( + pointer, + lib, + retain: retain, + release: release, + ); } /// Creates a block from a C function pointer. @@ -54145,22 +71436,24 @@ class ObjCBlock_NSProgress_ffiVoidNSDataNSError extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_NSProgress_ffiVoidNSDataNSError.fromFunctionPointer( - AVFAudio lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer<_ObjCBlock> arg0)>> - ptr) - : this._( - lib._newBlock1( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Pointer Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer<_ObjCBlock>)>( - _ObjCBlock_NSProgress_ffiVoidNSDataNSError_fnPtrTrampoline) - .cast(), - ptr.cast()), - lib); + AVFAudio lib, + ffi.Pointer< + ffi.NativeFunction< + ffi.Pointer Function(ffi.Pointer arg0) + > + > ptr, + ) : this._(objc.newBlock( + _cFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >( + _ObjCBlock_NSProgress_ffiVoidNSDataNSError_fnPtrTrampoline, + ).cast(), + ptr.cast(), + ), lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -54169,197 +71462,284 @@ class ObjCBlock_NSProgress_ffiVoidNSDataNSError extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_NSProgress_ffiVoidNSDataNSError.fromFunction( - AVFAudio lib, NSProgress? Function(ObjCBlock_ffiVoid_NSData_NSError) fn) - : this._( - lib._newBlock1( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Pointer Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer<_ObjCBlock>)>( - _ObjCBlock_NSProgress_ffiVoidNSDataNSError_closureTrampoline) - .cast(), - _ObjCBlock_NSProgress_ffiVoidNSDataNSError_registerClosure( - (ffi.Pointer<_ObjCBlock> arg0) => - fn(ObjCBlock_ffiVoid_NSData_NSError._(arg0, lib, retain: true, release: true)) - ?.retainAndReturnPointer() ?? - ffi.nullptr)), - lib); + AVFAudio lib, + NSProgress? Function(ObjCBlock_ffiVoid_NSData_NSError) fn, + ) : this._(objc.newBlock( + _dartFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >( + _ObjCBlock_NSProgress_ffiVoidNSDataNSError_closureTrampoline, + ).cast(), + _ObjCBlock_NSProgress_ffiVoidNSDataNSError_registerClosure(( + ffi.Pointer arg0, + ) => + fn(ObjCBlock_ffiVoid_NSData_NSError._( + arg0, + lib, + retain: true, + release: true, + ))?.retainAndReturnPointer() ?? + ffi.nullptr), + ), lib); static ffi.Pointer? _dartFuncTrampoline; - NSProgress? call(ObjCBlock_ffiVoid_NSData_NSError arg0) => _id.ref.invoke + NSProgress? call(ObjCBlock_ffiVoid_NSData_NSError arg0) => + pointer.ref.invoke + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer block, + ffi.Pointer arg0, + ) + > + >() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >()(pointer, arg0.pointer) + .address == + 0 + ? null + : NSProgress._(pointer.ref.invoke .cast< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer<_ObjCBlock> arg0)>>() - .asFunction Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer<_ObjCBlock>)>() - (_id, arg0._id) - .address == - 0 - ? null - : NSProgress._( - _id.ref.invoke - .cast Function(ffi.Pointer<_ObjCBlock> block, ffi.Pointer<_ObjCBlock> arg0)>>() - .asFunction Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer<_ObjCBlock>)>()(_id, arg0._id), - _lib, - retain: false, - release: true); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer block, + ffi.Pointer arg0, + ) + > + >() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >()(pointer, arg0.pointer), _lib, retain: false, release: true); } class NSProgress extends NSObject { - NSProgress._(ffi.Pointer id, AVFAudio lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSProgress._( + ffi.Pointer pointer, + AVFAudio lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSProgress] that points to the same underlying object as [other]. - static NSProgress castFrom(T other) { - return NSProgress._(other._id, other._lib, retain: true, release: true); + static NSProgress castFrom( + AVFAudio lib, + T other, + ) { + return NSProgress._(other.pointer, lib, retain: true, release: true); } /// Returns a [NSProgress] that wraps the given raw object pointer. - static NSProgress castFromPointer(AVFAudio lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + static NSProgress castFromPointer( + AVFAudio lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSProgress._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSProgress]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_NSProgress1); + static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSProgress1, + ); } static NSProgress? currentProgress(AVFAudio _lib) { final _ret = _lib._objc_msgSend_659( - _lib._class_NSProgress1, _lib._sel_currentProgress1); + _lib._class_NSProgress1, + _lib._sel_currentProgress1, + ); return _ret.address == 0 ? null : NSProgress._(_ret, _lib, retain: true, release: true); } static NSProgress progressWithTotalUnitCount_(AVFAudio _lib, int unitCount) { - final _ret = _lib._objc_msgSend_660(_lib._class_NSProgress1, - _lib._sel_progressWithTotalUnitCount_1, unitCount); + final _ret = _lib._objc_msgSend_660( + _lib._class_NSProgress1, + _lib._sel_progressWithTotalUnitCount_1, + unitCount, + ); return NSProgress._(_ret, _lib, retain: true, release: true); } static NSProgress discreteProgressWithTotalUnitCount_( - AVFAudio _lib, int unitCount) { - final _ret = _lib._objc_msgSend_660(_lib._class_NSProgress1, - _lib._sel_discreteProgressWithTotalUnitCount_1, unitCount); + AVFAudio _lib, + int unitCount, + ) { + final _ret = _lib._objc_msgSend_660( + _lib._class_NSProgress1, + _lib._sel_discreteProgressWithTotalUnitCount_1, + unitCount, + ); return NSProgress._(_ret, _lib, retain: true, release: true); } static NSProgress progressWithTotalUnitCount_parent_pendingUnitCount_( - AVFAudio _lib, - int unitCount, - NSProgress parent, - int portionOfParentTotalUnitCount) { + AVFAudio _lib, + int unitCount, + NSProgress parent, + int portionOfParentTotalUnitCount, + ) { final _ret = _lib._objc_msgSend_661( - _lib._class_NSProgress1, - _lib._sel_progressWithTotalUnitCount_parent_pendingUnitCount_1, - unitCount, - parent._id, - portionOfParentTotalUnitCount); + _lib._class_NSProgress1, + _lib._sel_progressWithTotalUnitCount_parent_pendingUnitCount_1, + unitCount, + parent.pointer, + portionOfParentTotalUnitCount, + ); return NSProgress._(_ret, _lib, retain: true, release: true); } NSProgress initWithParent_userInfo_( - NSProgress? parentProgressOrNil, NSObject? userInfoOrNil) { + NSProgress? parentProgressOrNil, + NSObject? userInfoOrNil, + ) { final _ret = _lib._objc_msgSend_662( - _id, - _lib._sel_initWithParent_userInfo_1, - parentProgressOrNil?._id ?? ffi.nullptr, - userInfoOrNil?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_initWithParent_userInfo_1, + parentProgressOrNil?.pointer ?? ffi.nullptr, + userInfoOrNil?.pointer ?? ffi.nullptr, + ); return NSProgress._(_ret, _lib, retain: true, release: true); } void becomeCurrentWithPendingUnitCount_(int unitCount) { _lib._objc_msgSend_663( - _id, _lib._sel_becomeCurrentWithPendingUnitCount_1, unitCount); + this.pointer, + _lib._sel_becomeCurrentWithPendingUnitCount_1, + unitCount, + ); } void performAsCurrentWithPendingUnitCount_usingBlock_( - int unitCount, ObjCBlock_ffiVoid work) { + int unitCount, + ObjCBlock_ffiVoid work, + ) { _lib._objc_msgSend_664( - _id, - _lib._sel_performAsCurrentWithPendingUnitCount_usingBlock_1, - unitCount, - work._id); + this.pointer, + _lib._sel_performAsCurrentWithPendingUnitCount_usingBlock_1, + unitCount, + work.pointer, + ); } void resignCurrent() { - _lib._objc_msgSend_1(_id, _lib._sel_resignCurrent1); + _lib._objc_msgSend_1(this.pointer, _lib._sel_resignCurrent1); } void addChild_withPendingUnitCount_(NSProgress child, int inUnitCount) { _lib._objc_msgSend_665( - _id, _lib._sel_addChild_withPendingUnitCount_1, child._id, inUnitCount); + this.pointer, + _lib._sel_addChild_withPendingUnitCount_1, + child.pointer, + inUnitCount, + ); } int get totalUnitCount { - return _lib._objc_msgSend_666(_id, _lib._sel_totalUnitCount1); + return _lib._objc_msgSend_666(this.pointer, _lib._sel_totalUnitCount1); } set totalUnitCount(int value) { - return _lib._objc_msgSend_667(_id, _lib._sel_setTotalUnitCount_1, value); + return _lib._objc_msgSend_667( + this.pointer, + _lib._sel_setTotalUnitCount_1, + value, + ); } int get completedUnitCount { - return _lib._objc_msgSend_666(_id, _lib._sel_completedUnitCount1); + return _lib._objc_msgSend_666(this.pointer, _lib._sel_completedUnitCount1); } set completedUnitCount(int value) { return _lib._objc_msgSend_667( - _id, _lib._sel_setCompletedUnitCount_1, value); + this.pointer, + _lib._sel_setCompletedUnitCount_1, + value, + ); } NSString get localizedDescription { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_localizedDescription1); + final _ret = _lib._objc_msgSend_21( + this.pointer, + _lib._sel_localizedDescription1, + ); return NSString._(_ret, _lib, retain: true, release: true); } set localizedDescription(NSString value) { return _lib._objc_msgSend_646( - _id, _lib._sel_setLocalizedDescription_1, value._id); + this.pointer, + _lib._sel_setLocalizedDescription_1, + value.pointer, + ); } NSString get localizedAdditionalDescription { - final _ret = - _lib._objc_msgSend_21(_id, _lib._sel_localizedAdditionalDescription1); + final _ret = _lib._objc_msgSend_21( + this.pointer, + _lib._sel_localizedAdditionalDescription1, + ); return NSString._(_ret, _lib, retain: true, release: true); } set localizedAdditionalDescription(NSString value) { return _lib._objc_msgSend_646( - _id, _lib._sel_setLocalizedAdditionalDescription_1, value._id); + this.pointer, + _lib._sel_setLocalizedAdditionalDescription_1, + value.pointer, + ); } bool get cancellable { - return _lib._objc_msgSend_12(_id, _lib._sel_isCancellable1); + return _lib._objc_msgSend_12(this.pointer, _lib._sel_isCancellable1); } set cancellable(bool value) { - return _lib._objc_msgSend_527(_id, _lib._sel_setCancellable_1, value); + return _lib._objc_msgSend_527( + this.pointer, + _lib._sel_setCancellable_1, + value, + ); } bool get pausable { - return _lib._objc_msgSend_12(_id, _lib._sel_isPausable1); + return _lib._objc_msgSend_12(this.pointer, _lib._sel_isPausable1); } set pausable(bool value) { - return _lib._objc_msgSend_527(_id, _lib._sel_setPausable_1, value); + return _lib._objc_msgSend_527(this.pointer, _lib._sel_setPausable_1, value); } bool get cancelled { - return _lib._objc_msgSend_12(_id, _lib._sel_isCancelled1); + return _lib._objc_msgSend_12(this.pointer, _lib._sel_isCancelled1); } bool get paused { - return _lib._objc_msgSend_12(_id, _lib._sel_isPaused1); + return _lib._objc_msgSend_12(this.pointer, _lib._sel_isPaused1); } ObjCBlock_ffiVoid? get cancellationHandler { - final _ret = _lib._objc_msgSend_668(_id, _lib._sel_cancellationHandler1); + final _ret = _lib._objc_msgSend_668( + this.pointer, + _lib._sel_cancellationHandler1, + ); return _ret.address == 0 ? null : ObjCBlock_ffiVoid._(_ret, _lib, retain: true, release: true); @@ -54367,11 +71747,17 @@ class NSProgress extends NSObject { set cancellationHandler(ObjCBlock_ffiVoid? value) { return _lib._objc_msgSend_669( - _id, _lib._sel_setCancellationHandler_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setCancellationHandler_1, + value?.pointer ?? ffi.nullptr, + ); } ObjCBlock_ffiVoid? get pausingHandler { - final _ret = _lib._objc_msgSend_668(_id, _lib._sel_pausingHandler1); + final _ret = _lib._objc_msgSend_668( + this.pointer, + _lib._sel_pausingHandler1, + ); return _ret.address == 0 ? null : ObjCBlock_ffiVoid._(_ret, _lib, retain: true, release: true); @@ -54379,11 +71765,17 @@ class NSProgress extends NSObject { set pausingHandler(ObjCBlock_ffiVoid? value) { return _lib._objc_msgSend_669( - _id, _lib._sel_setPausingHandler_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setPausingHandler_1, + value?.pointer ?? ffi.nullptr, + ); } ObjCBlock_ffiVoid? get resumingHandler { - final _ret = _lib._objc_msgSend_668(_id, _lib._sel_resumingHandler1); + final _ret = _lib._objc_msgSend_668( + this.pointer, + _lib._sel_resumingHandler1, + ); return _ret.address == 0 ? null : ObjCBlock_ffiVoid._(_ret, _lib, retain: true, release: true); @@ -54391,47 +71783,57 @@ class NSProgress extends NSObject { set resumingHandler(ObjCBlock_ffiVoid? value) { return _lib._objc_msgSend_669( - _id, _lib._sel_setResumingHandler_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setResumingHandler_1, + value?.pointer ?? ffi.nullptr, + ); } void setUserInfoObject_forKey_(NSObject? objectOrNil, NSString key) { - _lib._objc_msgSend_135(_id, _lib._sel_setUserInfoObject_forKey_1, - objectOrNil?._id ?? ffi.nullptr, key._id); + _lib._objc_msgSend_135( + this.pointer, + _lib._sel_setUserInfoObject_forKey_1, + objectOrNil?.pointer ?? ffi.nullptr, + key.pointer, + ); } bool get indeterminate { - return _lib._objc_msgSend_12(_id, _lib._sel_isIndeterminate1); + return _lib._objc_msgSend_12(this.pointer, _lib._sel_isIndeterminate1); } double get fractionCompleted { - return _lib._objc_msgSend_useVariants1 - ? _lib._objc_msgSend_165_fpret(_id, _lib._sel_fractionCompleted1) - : _lib._objc_msgSend_165(_id, _lib._sel_fractionCompleted1); + return objc.useMsgSendVariants + ? _lib._objc_msgSend_165_fpret( + this.pointer, + _lib._sel_fractionCompleted1, + ) + : _lib._objc_msgSend_165(this.pointer, _lib._sel_fractionCompleted1); } bool get finished { - return _lib._objc_msgSend_12(_id, _lib._sel_isFinished1); + return _lib._objc_msgSend_12(this.pointer, _lib._sel_isFinished1); } void cancel() { - _lib._objc_msgSend_1(_id, _lib._sel_cancel1); + _lib._objc_msgSend_1(this.pointer, _lib._sel_cancel1); } void pause() { - _lib._objc_msgSend_1(_id, _lib._sel_pause1); + _lib._objc_msgSend_1(this.pointer, _lib._sel_pause1); } void resume() { - _lib._objc_msgSend_1(_id, _lib._sel_resume1); + _lib._objc_msgSend_1(this.pointer, _lib._sel_resume1); } NSObject get userInfo { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_userInfo1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_userInfo1); return NSObject._(_ret, _lib, retain: true, release: true); } NSString? get kind { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_kind1); + final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_kind1); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); @@ -54439,11 +71841,17 @@ class NSProgress extends NSObject { set kind(NSString? value) { return _lib._objc_msgSend_545( - _id, _lib._sel_setKind_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setKind_1, + value?.pointer ?? ffi.nullptr, + ); } NSNumber? get estimatedTimeRemaining { - final _ret = _lib._objc_msgSend_215(_id, _lib._sel_estimatedTimeRemaining1); + final _ret = _lib._objc_msgSend_215( + this.pointer, + _lib._sel_estimatedTimeRemaining1, + ); return _ret.address == 0 ? null : NSNumber._(_ret, _lib, retain: true, release: true); @@ -54451,11 +71859,14 @@ class NSProgress extends NSObject { set estimatedTimeRemaining(NSNumber? value) { return _lib._objc_msgSend_670( - _id, _lib._sel_setEstimatedTimeRemaining_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setEstimatedTimeRemaining_1, + value?.pointer ?? ffi.nullptr, + ); } NSNumber? get throughput { - final _ret = _lib._objc_msgSend_215(_id, _lib._sel_throughput1); + final _ret = _lib._objc_msgSend_215(this.pointer, _lib._sel_throughput1); return _ret.address == 0 ? null : NSNumber._(_ret, _lib, retain: true, release: true); @@ -54463,11 +71874,17 @@ class NSProgress extends NSObject { set throughput(NSNumber? value) { return _lib._objc_msgSend_670( - _id, _lib._sel_setThroughput_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setThroughput_1, + value?.pointer ?? ffi.nullptr, + ); } NSString? get fileOperationKind { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_fileOperationKind1); + final _ret = _lib._objc_msgSend_44( + this.pointer, + _lib._sel_fileOperationKind1, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); @@ -54475,11 +71892,14 @@ class NSProgress extends NSObject { set fileOperationKind(NSString? value) { return _lib._objc_msgSend_545( - _id, _lib._sel_setFileOperationKind_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setFileOperationKind_1, + value?.pointer ?? ffi.nullptr, + ); } NSURL? get fileURL { - final _ret = _lib._objc_msgSend_45(_id, _lib._sel_fileURL1); + final _ret = _lib._objc_msgSend_45(this.pointer, _lib._sel_fileURL1); return _ret.address == 0 ? null : NSURL._(_ret, _lib, retain: true, release: true); @@ -54487,11 +71907,17 @@ class NSProgress extends NSObject { set fileURL(NSURL? value) { return _lib._objc_msgSend_671( - _id, _lib._sel_setFileURL_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setFileURL_1, + value?.pointer ?? ffi.nullptr, + ); } NSNumber? get fileTotalCount { - final _ret = _lib._objc_msgSend_215(_id, _lib._sel_fileTotalCount1); + final _ret = _lib._objc_msgSend_215( + this.pointer, + _lib._sel_fileTotalCount1, + ); return _ret.address == 0 ? null : NSNumber._(_ret, _lib, retain: true, release: true); @@ -54499,11 +71925,17 @@ class NSProgress extends NSObject { set fileTotalCount(NSNumber? value) { return _lib._objc_msgSend_670( - _id, _lib._sel_setFileTotalCount_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setFileTotalCount_1, + value?.pointer ?? ffi.nullptr, + ); } NSNumber? get fileCompletedCount { - final _ret = _lib._objc_msgSend_215(_id, _lib._sel_fileCompletedCount1); + final _ret = _lib._objc_msgSend_215( + this.pointer, + _lib._sel_fileCompletedCount1, + ); return _ret.address == 0 ? null : NSNumber._(_ret, _lib, retain: true, release: true); @@ -54511,39 +71943,49 @@ class NSProgress extends NSObject { set fileCompletedCount(NSNumber? value) { return _lib._objc_msgSend_670( - _id, _lib._sel_setFileCompletedCount_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setFileCompletedCount_1, + value?.pointer ?? ffi.nullptr, + ); } void publish() { - _lib._objc_msgSend_1(_id, _lib._sel_publish1); + _lib._objc_msgSend_1(this.pointer, _lib._sel_publish1); } void unpublish() { - _lib._objc_msgSend_1(_id, _lib._sel_unpublish1); + _lib._objc_msgSend_1(this.pointer, _lib._sel_unpublish1); } - static NSObject addSubscriberForFileURL_withPublishingHandler_(AVFAudio _lib, - NSURL url, ObjCBlock_ffiVoid_NSProgress publishingHandler) { + static NSObject addSubscriberForFileURL_withPublishingHandler_( + AVFAudio _lib, + NSURL url, + ObjCBlock_ffiVoid_NSProgress publishingHandler, + ) { final _ret = _lib._objc_msgSend_672( - _lib._class_NSProgress1, - _lib._sel_addSubscriberForFileURL_withPublishingHandler_1, - url._id, - publishingHandler._id); + _lib._class_NSProgress1, + _lib._sel_addSubscriberForFileURL_withPublishingHandler_1, + url.pointer, + publishingHandler.pointer, + ); return NSObject._(_ret, _lib, retain: true, release: true); } static void removeSubscriber_(AVFAudio _lib, NSObject subscriber) { _lib._objc_msgSend_15( - _lib._class_NSProgress1, _lib._sel_removeSubscriber_1, subscriber._id); + _lib._class_NSProgress1, + _lib._sel_removeSubscriber_1, + subscriber.pointer, + ); } bool get old { - return _lib._objc_msgSend_12(_id, _lib._sel_isOld1); + return _lib._objc_msgSend_12(this.pointer, _lib._sel_isOld1); } @override NSProgress init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSProgress._(_ret, _lib, retain: true, release: true); } @@ -54554,115 +71996,167 @@ class NSProgress extends NSObject { static NSProgress allocWithZone_(AVFAudio _lib, ffi.Pointer<_NSZone> zone) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSProgress1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSProgress1, + _lib._sel_allocWithZone_1, + zone, + ); return NSProgress._(_ret, _lib, retain: false, release: true); } static NSProgress alloc(AVFAudio _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSProgress1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSProgress1, + _lib._sel_alloc1, + ); return NSProgress._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + AVFAudio _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSProgress1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSProgress1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSProgress1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + AVFAudio _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSProgress1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { return _lib._objc_msgSend_12( - _lib._class_NSProgress1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_NSProgress1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(AVFAudio _lib) { return _lib._objc_msgSend_12( - _lib._class_NSProgress1, _lib._sel_useStoredAccessor1); + _lib._class_NSProgress1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSProgress1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSProgress1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSProgress1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSProgress1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, NSArray keys, NSString dependentKey) { + AVFAudio _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSProgress1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSProgress1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { final _ret = _lib._objc_msgSend_85( - _lib._class_NSProgress1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSProgress1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(AVFAudio _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSProgress1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSProgress1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } -ffi.Pointer<_ObjCBlock> _ObjCBlock_ffiVoid_NSProgress_fnPtrTrampoline( - ffi.Pointer<_ObjCBlock> block, ffi.Pointer arg0) => - block.ref.target - .cast< - ffi.NativeFunction< - ffi.Pointer<_ObjCBlock> Function( - ffi.Pointer arg0)>>() - .asFunction< - ffi.Pointer<_ObjCBlock> Function(ffi.Pointer)>()(arg0); +ffi.Pointer _ObjCBlock_ffiVoid_NSProgress_fnPtrTrampoline( + ffi.Pointer block, + ffi.Pointer arg0, +) => block.ref.target + .cast< + ffi.NativeFunction< + ffi.Pointer Function(ffi.Pointer arg0) + > + >() + .asFunction< + ffi.Pointer Function(ffi.Pointer) + >()(arg0); final _ObjCBlock_ffiVoid_NSProgress_closureRegistry = - Function(ffi.Pointer)>{}; + Function(ffi.Pointer)>{}; int _ObjCBlock_ffiVoid_NSProgress_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_ffiVoid_NSProgress_registerClosure( - ffi.Pointer<_ObjCBlock> Function(ffi.Pointer) fn) { + ffi.Pointer Function(ffi.Pointer) fn, +) { final id = ++_ObjCBlock_ffiVoid_NSProgress_closureRegistryIndex; _ObjCBlock_ffiVoid_NSProgress_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } -ffi.Pointer<_ObjCBlock> _ObjCBlock_ffiVoid_NSProgress_closureTrampoline( - ffi.Pointer<_ObjCBlock> block, ffi.Pointer arg0) => - _ObjCBlock_ffiVoid_NSProgress_closureRegistry[block.ref.target.address]!( - arg0); +ffi.Pointer _ObjCBlock_ffiVoid_NSProgress_closureTrampoline( + ffi.Pointer block, + ffi.Pointer arg0, +) => _ObjCBlock_ffiVoid_NSProgress_closureRegistry[block.ref.target.address]!( + arg0, +); + +class ObjCBlock_ffiVoid_NSProgress extends objc.ObjCBlockBase { + ObjCBlock_ffiVoid_NSProgress._( + ffi.Pointer pointer, + this._lib, { + bool retain = false, + bool release = true, + }) : super(pointer, retain: retain, release: release); -class ObjCBlock_ffiVoid_NSProgress extends _ObjCBlockBase { - ObjCBlock_ffiVoid_NSProgress._(ffi.Pointer<_ObjCBlock> id, AVFAudio lib, - {bool retain = false, bool release = true}) - : super._(id, lib, retain: retain, release: release); + AVFAudio _lib; /// Returns a block that wraps the given raw block pointer. static ObjCBlock_ffiVoid_NSProgress castFromPointer( - AVFAudio lib, ffi.Pointer<_ObjCBlock> pointer, - {bool retain = false, bool release = false}) { - return ObjCBlock_ffiVoid_NSProgress._(pointer, lib, - retain: retain, release: release); + AVFAudio lib, + ffi.Pointer pointer, { + bool retain = false, + bool release = false, + }) { + return ObjCBlock_ffiVoid_NSProgress._( + pointer, + lib, + retain: retain, + release: release, + ); } /// Creates a block from a C function pointer. @@ -54671,22 +72165,22 @@ class ObjCBlock_ffiVoid_NSProgress extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSProgress.fromFunctionPointer( - AVFAudio lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Pointer<_ObjCBlock> Function( - ffi.Pointer arg0)>> - ptr) - : this._( - lib._newBlock1( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Pointer<_ObjCBlock> Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_NSProgress_fnPtrTrampoline) - .cast(), - ptr.cast()), - lib); + AVFAudio lib, + ffi.Pointer< + ffi.NativeFunction< + ffi.Pointer Function(ffi.Pointer arg0) + > + > ptr, + ) : this._(objc.newBlock( + _cFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_NSProgress_fnPtrTrampoline).cast(), + ptr.cast(), + ), lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -54695,83 +72189,127 @@ class ObjCBlock_ffiVoid_NSProgress extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSProgress.fromFunction( - AVFAudio lib, ObjCBlock_ffiVoid? Function(NSProgress) fn) - : this._( - lib._newBlock1( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Pointer<_ObjCBlock> Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_NSProgress_closureTrampoline) - .cast(), - _ObjCBlock_ffiVoid_NSProgress_registerClosure( - (ffi.Pointer arg0) => - fn(NSProgress._(arg0, lib, retain: true, release: true)) - ?.retainAndReturnPointer() ?? - ffi.nullptr)), - lib); + AVFAudio lib, + ObjCBlock_ffiVoid? Function(NSProgress) fn, + ) : this._(objc.newBlock( + _dartFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_NSProgress_closureTrampoline).cast(), + _ObjCBlock_ffiVoid_NSProgress_registerClosure(( + ffi.Pointer arg0, + ) => + fn(NSProgress._( + arg0, + lib, + retain: true, + release: true, + ))?.retainAndReturnPointer() ?? + ffi.nullptr), + ), lib); static ffi.Pointer? _dartFuncTrampoline; - ObjCBlock_ffiVoid? call(NSProgress arg0) => _id.ref.invoke + ObjCBlock_ffiVoid? call(NSProgress arg0) => + pointer.ref.invoke + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer block, + ffi.Pointer arg0, + ) + > + >() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >()(pointer, arg0.pointer) + .address == + 0 + ? null + : ObjCBlock_ffiVoid._(pointer.ref.invoke .cast< - ffi.NativeFunction< - ffi.Pointer<_ObjCBlock> Function( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0)>>() - .asFunction Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer)>() - (_id, arg0._id) - .address == - 0 - ? null - : ObjCBlock_ffiVoid._( - _id.ref.invoke - .cast Function(ffi.Pointer<_ObjCBlock> block, ffi.Pointer arg0)>>() - .asFunction Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer)>()(_id, arg0._id), - _lib, - retain: false, - release: true); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer block, + ffi.Pointer arg0, + ) + > + >() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >()(pointer, arg0.pointer), _lib, retain: false, release: true); } void _ObjCBlock_ffiVoid_NSData_NSError_fnPtrTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1) => - block.ref.target - .cast< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer arg0, - ffi.Pointer arg1)>>() - .asFunction< - void Function(ffi.Pointer, - ffi.Pointer)>()(arg0, arg1); + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, +) => block.ref.target + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) + > + >() + .asFunction< + void Function(ffi.Pointer, ffi.Pointer) + >()(arg0, arg1); final _ObjCBlock_ffiVoid_NSData_NSError_closureRegistry = - , ffi.Pointer)>{}; + < + int, + void Function(ffi.Pointer, ffi.Pointer) + >{}; int _ObjCBlock_ffiVoid_NSData_NSError_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_ffiVoid_NSData_NSError_registerClosure( - void Function(ffi.Pointer, ffi.Pointer) fn) { + void Function(ffi.Pointer, ffi.Pointer) fn, +) { final id = ++_ObjCBlock_ffiVoid_NSData_NSError_closureRegistryIndex; _ObjCBlock_ffiVoid_NSData_NSError_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } void _ObjCBlock_ffiVoid_NSData_NSError_closureTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1) => - _ObjCBlock_ffiVoid_NSData_NSError_closureRegistry[ - block.ref.target.address]!(arg0, arg1); - -class ObjCBlock_ffiVoid_NSData_NSError extends _ObjCBlockBase { - ObjCBlock_ffiVoid_NSData_NSError._(ffi.Pointer<_ObjCBlock> id, AVFAudio lib, - {bool retain = false, bool release = true}) - : super._(id, lib, retain: retain, release: release); + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, +) => _ObjCBlock_ffiVoid_NSData_NSError_closureRegistry[block + .ref + .target + .address]!(arg0, arg1); + +class ObjCBlock_ffiVoid_NSData_NSError extends objc.ObjCBlockBase { + ObjCBlock_ffiVoid_NSData_NSError._( + ffi.Pointer pointer, + this._lib, { + bool retain = false, + bool release = true, + }) : super(pointer, retain: retain, release: release); + + AVFAudio _lib; /// Returns a block that wraps the given raw block pointer. static ObjCBlock_ffiVoid_NSData_NSError castFromPointer( - AVFAudio lib, ffi.Pointer<_ObjCBlock> pointer, - {bool retain = false, bool release = false}) { - return ObjCBlock_ffiVoid_NSData_NSError._(pointer, lib, - retain: retain, release: release); + AVFAudio lib, + ffi.Pointer pointer, { + bool retain = false, + bool release = false, + }) { + return ObjCBlock_ffiVoid_NSData_NSError._( + pointer, + lib, + retain: retain, + release: release, + ); } /// Creates a block from a C function pointer. @@ -54780,23 +72318,26 @@ class ObjCBlock_ffiVoid_NSData_NSError extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSData_NSError.fromFunctionPointer( - AVFAudio lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer arg0, - ffi.Pointer arg1)>> - ptr) - : this._( - lib._newBlock1( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_NSData_NSError_fnPtrTrampoline) - .cast(), - ptr.cast()), - lib); + AVFAudio lib, + ffi.Pointer< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) + > + > ptr, + ) : this._(objc.newBlock( + _cFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_NSData_NSError_fnPtrTrampoline).cast(), + ptr.cast(), + ), lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -54805,22 +72346,29 @@ class ObjCBlock_ffiVoid_NSData_NSError extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSData_NSError.fromFunction( - AVFAudio lib, void Function(NSData?, NSError?) fn) - : this._( - lib._newBlock1( - _dartFuncTrampoline ??= - ffi.Pointer.fromFunction, ffi.Pointer, ffi.Pointer)>( - _ObjCBlock_ffiVoid_NSData_NSError_closureTrampoline) - .cast(), - _ObjCBlock_ffiVoid_NSData_NSError_registerClosure( - (ffi.Pointer arg0, ffi.Pointer arg1) => fn( - arg0.address == 0 - ? null - : NSData._(arg0, lib, retain: true, release: true), - arg1.address == 0 - ? null - : NSError._(arg1, lib, retain: true, release: true)))), - lib); + AVFAudio lib, + void Function(NSData?, NSError?) fn, + ) : this._(objc.newBlock( + _dartFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_NSData_NSError_closureTrampoline).cast(), + _ObjCBlock_ffiVoid_NSData_NSError_registerClosure(( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) => fn( + arg0.address == 0 + ? null + : NSData._(arg0, lib, retain: true, release: true), + arg1.address == 0 + ? null + : NSError._(arg1, lib, retain: true, release: true), + )), + ), lib); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -54833,87 +72381,121 @@ class ObjCBlock_ffiVoid_NSData_NSError extends _ObjCBlockBase { /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. ObjCBlock_ffiVoid_NSData_NSError.listener( - AVFAudio lib, void Function(NSData?, NSError?) fn) - : this._( - lib._newBlock1( - (_dartFuncListenerTrampoline ??= - ffi.NativeCallable, ffi.Pointer, ffi.Pointer)>.listener( - _ObjCBlock_ffiVoid_NSData_NSError_closureTrampoline) - ..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSData_NSError_registerClosure( - (ffi.Pointer arg0, ffi.Pointer arg1) => fn( - arg0.address == 0 - ? null - : NSData._(arg0, lib, retain: true, release: true), - arg1.address == 0 - ? null - : NSError._(arg1, lib, - retain: true, release: true)))), - lib); + AVFAudio lib, + void Function(NSData?, NSError?) fn, + ) : this._(objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >.listener( + _ObjCBlock_ffiVoid_NSData_NSError_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSData_NSError_registerClosure(( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) => fn( + arg0.address == 0 + ? null + : NSData._(arg0, lib, retain: true, release: true), + arg1.address == 0 + ? null + : NSError._(arg1, lib, retain: true, release: true), + )), + ), lib); static ffi.NativeCallable< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer, - ffi.Pointer)>? _dartFuncListenerTrampoline; - - void call(NSData? arg0, NSError? arg1) => _id.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1)>>() - .asFunction< - void Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer, - ffi.Pointer)>()( - _id, arg0?._id ?? ffi.nullptr, arg1?._id ?? ffi.nullptr); + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >? _dartFuncListenerTrampoline; + + void call(NSData? arg0, NSError? arg1) => pointer.ref.invoke + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, + ) + > + >() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >()(pointer, arg0?.pointer ?? ffi.nullptr, arg1?.pointer ?? ffi.nullptr); } abstract class NSItemProviderFileOptions { static const int NSItemProviderFileOptionOpenInPlace = 1; } -ffi.Pointer - _ObjCBlock_NSProgress_ffiVoidNSURLboolNSError_fnPtrTrampoline( - ffi.Pointer<_ObjCBlock> block, ffi.Pointer<_ObjCBlock> arg0) => - block.ref.target - .cast< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer<_ObjCBlock> arg0)>>() - .asFunction< - ffi.Pointer Function( - ffi.Pointer<_ObjCBlock>)>()(arg0); +ffi.Pointer +_ObjCBlock_NSProgress_ffiVoidNSURLboolNSError_fnPtrTrampoline( + ffi.Pointer block, + ffi.Pointer arg0, +) => block.ref.target + .cast< + ffi.NativeFunction< + ffi.Pointer Function(ffi.Pointer arg0) + > + >() + .asFunction< + ffi.Pointer Function(ffi.Pointer) + >()(arg0); final _ObjCBlock_NSProgress_ffiVoidNSURLboolNSError_closureRegistry = - Function(ffi.Pointer<_ObjCBlock>)>{}; + Function(ffi.Pointer)>{}; int _ObjCBlock_NSProgress_ffiVoidNSURLboolNSError_closureRegistryIndex = 0; ffi.Pointer - _ObjCBlock_NSProgress_ffiVoidNSURLboolNSError_registerClosure( - ffi.Pointer Function(ffi.Pointer<_ObjCBlock>) fn) { +_ObjCBlock_NSProgress_ffiVoidNSURLboolNSError_registerClosure( + ffi.Pointer Function(ffi.Pointer) fn, +) { final id = ++_ObjCBlock_NSProgress_ffiVoidNSURLboolNSError_closureRegistryIndex; _ObjCBlock_NSProgress_ffiVoidNSURLboolNSError_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } -ffi.Pointer - _ObjCBlock_NSProgress_ffiVoidNSURLboolNSError_closureTrampoline( - ffi.Pointer<_ObjCBlock> block, ffi.Pointer<_ObjCBlock> arg0) => - _ObjCBlock_NSProgress_ffiVoidNSURLboolNSError_closureRegistry[ - block.ref.target.address]!(arg0); +ffi.Pointer +_ObjCBlock_NSProgress_ffiVoidNSURLboolNSError_closureTrampoline( + ffi.Pointer block, + ffi.Pointer arg0, +) => _ObjCBlock_NSProgress_ffiVoidNSURLboolNSError_closureRegistry[block + .ref + .target + .address]!(arg0); -class ObjCBlock_NSProgress_ffiVoidNSURLboolNSError extends _ObjCBlockBase { +class ObjCBlock_NSProgress_ffiVoidNSURLboolNSError extends objc.ObjCBlockBase { ObjCBlock_NSProgress_ffiVoidNSURLboolNSError._( - ffi.Pointer<_ObjCBlock> id, AVFAudio lib, - {bool retain = false, bool release = true}) - : super._(id, lib, retain: retain, release: release); + ffi.Pointer pointer, + this._lib, { + bool retain = false, + bool release = true, + }) : super(pointer, retain: retain, release: release); + + AVFAudio _lib; /// Returns a block that wraps the given raw block pointer. static ObjCBlock_NSProgress_ffiVoidNSURLboolNSError castFromPointer( - AVFAudio lib, ffi.Pointer<_ObjCBlock> pointer, - {bool retain = false, bool release = false}) { - return ObjCBlock_NSProgress_ffiVoidNSURLboolNSError._(pointer, lib, - retain: retain, release: release); + AVFAudio lib, + ffi.Pointer pointer, { + bool retain = false, + bool release = false, + }) { + return ObjCBlock_NSProgress_ffiVoidNSURLboolNSError._( + pointer, + lib, + retain: retain, + release: release, + ); } /// Creates a block from a C function pointer. @@ -54922,22 +72504,24 @@ class ObjCBlock_NSProgress_ffiVoidNSURLboolNSError extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_NSProgress_ffiVoidNSURLboolNSError.fromFunctionPointer( - AVFAudio lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer<_ObjCBlock> arg0)>> - ptr) - : this._( - lib._newBlock1( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Pointer Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer<_ObjCBlock>)>( - _ObjCBlock_NSProgress_ffiVoidNSURLboolNSError_fnPtrTrampoline) - .cast(), - ptr.cast()), - lib); + AVFAudio lib, + ffi.Pointer< + ffi.NativeFunction< + ffi.Pointer Function(ffi.Pointer arg0) + > + > ptr, + ) : this._(objc.newBlock( + _cFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >( + _ObjCBlock_NSProgress_ffiVoidNSURLboolNSError_fnPtrTrampoline, + ).cast(), + ptr.cast(), + ), lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -54945,87 +72529,145 @@ class ObjCBlock_NSProgress_ffiVoidNSURLboolNSError extends _ObjCBlockBase { /// This block must be invoked by native code running on the same thread as /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. - ObjCBlock_NSProgress_ffiVoidNSURLboolNSError.fromFunction(AVFAudio lib, - NSProgress? Function(ObjCBlock_ffiVoid_NSURL_bool_NSError) fn) - : this._( - lib._newBlock1( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Pointer Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer<_ObjCBlock>)>( - _ObjCBlock_NSProgress_ffiVoidNSURLboolNSError_closureTrampoline) - .cast(), - _ObjCBlock_NSProgress_ffiVoidNSURLboolNSError_registerClosure( - (ffi.Pointer<_ObjCBlock> arg0) => - fn(ObjCBlock_ffiVoid_NSURL_bool_NSError._(arg0, lib, retain: true, release: true)) - ?.retainAndReturnPointer() ?? - ffi.nullptr)), - lib); + ObjCBlock_NSProgress_ffiVoidNSURLboolNSError.fromFunction( + AVFAudio lib, + NSProgress? Function(ObjCBlock_ffiVoid_NSURL_bool_NSError) fn, + ) : this._(objc.newBlock( + _dartFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >( + _ObjCBlock_NSProgress_ffiVoidNSURLboolNSError_closureTrampoline, + ).cast(), + _ObjCBlock_NSProgress_ffiVoidNSURLboolNSError_registerClosure(( + ffi.Pointer arg0, + ) => + fn(ObjCBlock_ffiVoid_NSURL_bool_NSError._( + arg0, + lib, + retain: true, + release: true, + ))?.retainAndReturnPointer() ?? + ffi.nullptr), + ), lib); static ffi.Pointer? _dartFuncTrampoline; - NSProgress? call(ObjCBlock_ffiVoid_NSURL_bool_NSError arg0) => _id.ref.invoke + NSProgress? call(ObjCBlock_ffiVoid_NSURL_bool_NSError arg0) => + pointer.ref.invoke + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer block, + ffi.Pointer arg0, + ) + > + >() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >()(pointer, arg0.pointer) + .address == + 0 + ? null + : NSProgress._(pointer.ref.invoke .cast< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer<_ObjCBlock> arg0)>>() - .asFunction Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer<_ObjCBlock>)>() - (_id, arg0._id) - .address == - 0 - ? null - : NSProgress._( - _id.ref.invoke - .cast Function(ffi.Pointer<_ObjCBlock> block, ffi.Pointer<_ObjCBlock> arg0)>>() - .asFunction Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer<_ObjCBlock>)>()(_id, arg0._id), - _lib, - retain: false, - release: true); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer block, + ffi.Pointer arg0, + ) + > + >() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >()(pointer, arg0.pointer), _lib, retain: false, release: true); } void _ObjCBlock_ffiVoid_NSURL_bool_NSError_fnPtrTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - bool arg1, - ffi.Pointer arg2) => - block.ref.target - .cast< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer arg0, ffi.Bool arg1, - ffi.Pointer arg2)>>() - .asFunction< - void Function(ffi.Pointer, bool, - ffi.Pointer)>()(arg0, arg1, arg2); -final _ObjCBlock_ffiVoid_NSURL_bool_NSError_closureRegistry = , bool, ffi.Pointer)>{}; + ffi.Pointer block, + ffi.Pointer arg0, + bool arg1, + ffi.Pointer arg2, +) => block.ref.target + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Bool arg1, + ffi.Pointer arg2, + ) + > + >() + .asFunction< + void Function( + ffi.Pointer, + bool, + ffi.Pointer, + ) + >()(arg0, arg1, arg2); +final _ObjCBlock_ffiVoid_NSURL_bool_NSError_closureRegistry = + < + int, + void Function( + ffi.Pointer, + bool, + ffi.Pointer, + ) + >{}; int _ObjCBlock_ffiVoid_NSURL_bool_NSError_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_ffiVoid_NSURL_bool_NSError_registerClosure( - void Function(ffi.Pointer, bool, ffi.Pointer) fn) { + void Function( + ffi.Pointer, + bool, + ffi.Pointer, + ) fn, +) { final id = ++_ObjCBlock_ffiVoid_NSURL_bool_NSError_closureRegistryIndex; _ObjCBlock_ffiVoid_NSURL_bool_NSError_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } void _ObjCBlock_ffiVoid_NSURL_bool_NSError_closureTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - bool arg1, - ffi.Pointer arg2) => - _ObjCBlock_ffiVoid_NSURL_bool_NSError_closureRegistry[ - block.ref.target.address]!(arg0, arg1, arg2); - -class ObjCBlock_ffiVoid_NSURL_bool_NSError extends _ObjCBlockBase { + ffi.Pointer block, + ffi.Pointer arg0, + bool arg1, + ffi.Pointer arg2, +) => _ObjCBlock_ffiVoid_NSURL_bool_NSError_closureRegistry[block + .ref + .target + .address]!(arg0, arg1, arg2); + +class ObjCBlock_ffiVoid_NSURL_bool_NSError extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSURL_bool_NSError._( - ffi.Pointer<_ObjCBlock> id, AVFAudio lib, - {bool retain = false, bool release = true}) - : super._(id, lib, retain: retain, release: release); + ffi.Pointer pointer, + this._lib, { + bool retain = false, + bool release = true, + }) : super(pointer, retain: retain, release: release); + + AVFAudio _lib; /// Returns a block that wraps the given raw block pointer. static ObjCBlock_ffiVoid_NSURL_bool_NSError castFromPointer( - AVFAudio lib, ffi.Pointer<_ObjCBlock> pointer, - {bool retain = false, bool release = false}) { - return ObjCBlock_ffiVoid_NSURL_bool_NSError._(pointer, lib, - retain: retain, release: release); + AVFAudio lib, + ffi.Pointer pointer, { + bool retain = false, + bool release = false, + }) { + return ObjCBlock_ffiVoid_NSURL_bool_NSError._( + pointer, + lib, + retain: retain, + release: release, + ); } /// Creates a block from a C function pointer. @@ -55034,24 +72676,28 @@ class ObjCBlock_ffiVoid_NSURL_bool_NSError extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSURL_bool_NSError.fromFunctionPointer( - AVFAudio lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer arg0, ffi.Bool arg1, - ffi.Pointer arg2)>> - ptr) - : this._( - lib._newBlock1( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Bool, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_NSURL_bool_NSError_fnPtrTrampoline) - .cast(), - ptr.cast()), - lib); + AVFAudio lib, + ffi.Pointer< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Bool arg1, + ffi.Pointer arg2, + ) + > + > ptr, + ) : this._(objc.newBlock( + _cFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_NSURL_bool_NSError_fnPtrTrampoline).cast(), + ptr.cast(), + ), lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -55060,23 +72706,32 @@ class ObjCBlock_ffiVoid_NSURL_bool_NSError extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSURL_bool_NSError.fromFunction( - AVFAudio lib, void Function(NSURL?, bool, NSError?) fn) - : this._( - lib._newBlock1( - _dartFuncTrampoline ??= - ffi.Pointer.fromFunction, ffi.Pointer, ffi.Bool, ffi.Pointer)>( - _ObjCBlock_ffiVoid_NSURL_bool_NSError_closureTrampoline) - .cast(), - _ObjCBlock_ffiVoid_NSURL_bool_NSError_registerClosure( - (ffi.Pointer arg0, bool arg1, ffi.Pointer arg2) => fn( - arg0.address == 0 - ? null - : NSURL._(arg0, lib, retain: true, release: true), - arg1, - arg2.address == 0 - ? null - : NSError._(arg2, lib, retain: true, release: true)))), - lib); + AVFAudio lib, + void Function(NSURL?, bool, NSError?) fn, + ) : this._(objc.newBlock( + _dartFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_NSURL_bool_NSError_closureTrampoline).cast(), + _ObjCBlock_ffiVoid_NSURL_bool_NSError_registerClosure(( + ffi.Pointer arg0, + bool arg1, + ffi.Pointer arg2, + ) => fn( + arg0.address == 0 + ? null + : NSURL._(arg0, lib, retain: true, release: true), + arg1, + arg2.address == 0 + ? null + : NSError._(arg2, lib, retain: true, release: true), + )), + ), lib); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -55089,84 +72744,132 @@ class ObjCBlock_ffiVoid_NSURL_bool_NSError extends _ObjCBlockBase { /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. ObjCBlock_ffiVoid_NSURL_bool_NSError.listener( - AVFAudio lib, void Function(NSURL?, bool, NSError?) fn) - : this._( - lib._newBlock1( - (_dartFuncListenerTrampoline ??= - ffi.NativeCallable, ffi.Pointer, ffi.Bool, ffi.Pointer)>.listener( - _ObjCBlock_ffiVoid_NSURL_bool_NSError_closureTrampoline) - ..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSURL_bool_NSError_registerClosure( - (ffi.Pointer arg0, bool arg1, ffi.Pointer arg2) => fn( - arg0.address == 0 - ? null - : NSURL._(arg0, lib, retain: true, release: true), - arg1, - arg2.address == 0 - ? null - : NSError._(arg2, lib, - retain: true, release: true)))), - lib); + AVFAudio lib, + void Function(NSURL?, bool, NSError?) fn, + ) : this._(objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.Pointer, + ) + >.listener( + _ObjCBlock_ffiVoid_NSURL_bool_NSError_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSURL_bool_NSError_registerClosure(( + ffi.Pointer arg0, + bool arg1, + ffi.Pointer arg2, + ) => fn( + arg0.address == 0 + ? null + : NSURL._(arg0, lib, retain: true, release: true), + arg1, + arg2.address == 0 + ? null + : NSError._(arg2, lib, retain: true, release: true), + )), + ), lib); static ffi.NativeCallable< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer, - ffi.Bool, ffi.Pointer)>? _dartFuncListenerTrampoline; - - void call(NSURL? arg0, bool arg1, NSError? arg2) => _id.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Bool arg1, - ffi.Pointer arg2)>>() - .asFunction< - void Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer, - bool, ffi.Pointer)>()( - _id, arg0?._id ?? ffi.nullptr, arg1, arg2?._id ?? ffi.nullptr); + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.Pointer, + ) + >? _dartFuncListenerTrampoline; + + void call(NSURL? arg0, bool arg1, NSError? arg2) => pointer.ref.invoke + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Bool arg1, + ffi.Pointer arg2, + ) + > + >() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + bool, + ffi.Pointer, + ) + >()( + pointer, + arg0?.pointer ?? ffi.nullptr, + arg1, + arg2?.pointer ?? ffi.nullptr, + ); } void _ObjCBlock_ffiVoid_NSURL_NSError_fnPtrTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1) => - block.ref.target - .cast< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer arg0, - ffi.Pointer arg1)>>() - .asFunction< - void Function(ffi.Pointer, - ffi.Pointer)>()(arg0, arg1); + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, +) => block.ref.target + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) + > + >() + .asFunction< + void Function(ffi.Pointer, ffi.Pointer) + >()(arg0, arg1); final _ObjCBlock_ffiVoid_NSURL_NSError_closureRegistry = - , ffi.Pointer)>{}; + < + int, + void Function(ffi.Pointer, ffi.Pointer) + >{}; int _ObjCBlock_ffiVoid_NSURL_NSError_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_ffiVoid_NSURL_NSError_registerClosure( - void Function(ffi.Pointer, ffi.Pointer) fn) { + void Function(ffi.Pointer, ffi.Pointer) fn, +) { final id = ++_ObjCBlock_ffiVoid_NSURL_NSError_closureRegistryIndex; _ObjCBlock_ffiVoid_NSURL_NSError_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } void _ObjCBlock_ffiVoid_NSURL_NSError_closureTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1) => - _ObjCBlock_ffiVoid_NSURL_NSError_closureRegistry[block.ref.target.address]!( - arg0, arg1); - -class ObjCBlock_ffiVoid_NSURL_NSError extends _ObjCBlockBase { - ObjCBlock_ffiVoid_NSURL_NSError._(ffi.Pointer<_ObjCBlock> id, AVFAudio lib, - {bool retain = false, bool release = true}) - : super._(id, lib, retain: retain, release: release); + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, +) => _ObjCBlock_ffiVoid_NSURL_NSError_closureRegistry[block + .ref + .target + .address]!(arg0, arg1); + +class ObjCBlock_ffiVoid_NSURL_NSError extends objc.ObjCBlockBase { + ObjCBlock_ffiVoid_NSURL_NSError._( + ffi.Pointer pointer, + this._lib, { + bool retain = false, + bool release = true, + }) : super(pointer, retain: retain, release: release); + + AVFAudio _lib; /// Returns a block that wraps the given raw block pointer. static ObjCBlock_ffiVoid_NSURL_NSError castFromPointer( - AVFAudio lib, ffi.Pointer<_ObjCBlock> pointer, - {bool retain = false, bool release = false}) { - return ObjCBlock_ffiVoid_NSURL_NSError._(pointer, lib, - retain: retain, release: release); + AVFAudio lib, + ffi.Pointer pointer, { + bool retain = false, + bool release = false, + }) { + return ObjCBlock_ffiVoid_NSURL_NSError._( + pointer, + lib, + retain: retain, + release: release, + ); } /// Creates a block from a C function pointer. @@ -55175,23 +72878,26 @@ class ObjCBlock_ffiVoid_NSURL_NSError extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSURL_NSError.fromFunctionPointer( - AVFAudio lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer arg0, - ffi.Pointer arg1)>> - ptr) - : this._( - lib._newBlock1( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_NSURL_NSError_fnPtrTrampoline) - .cast(), - ptr.cast()), - lib); + AVFAudio lib, + ffi.Pointer< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) + > + > ptr, + ) : this._(objc.newBlock( + _cFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_NSURL_NSError_fnPtrTrampoline).cast(), + ptr.cast(), + ), lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -55200,21 +72906,29 @@ class ObjCBlock_ffiVoid_NSURL_NSError extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSURL_NSError.fromFunction( - AVFAudio lib, void Function(NSURL?, NSError?) fn) - : this._( - lib._newBlock1( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_NSURL_NSError_closureTrampoline) - .cast(), - _ObjCBlock_ffiVoid_NSURL_NSError_registerClosure( - (ffi.Pointer arg0, ffi.Pointer arg1) => fn( - arg0.address == 0 ? null : NSURL._(arg0, lib, retain: true, release: true), - arg1.address == 0 ? null : NSError._(arg1, lib, retain: true, release: true)))), - lib); + AVFAudio lib, + void Function(NSURL?, NSError?) fn, + ) : this._(objc.newBlock( + _dartFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_NSURL_NSError_closureTrampoline).cast(), + _ObjCBlock_ffiVoid_NSURL_NSError_registerClosure(( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) => fn( + arg0.address == 0 + ? null + : NSURL._(arg0, lib, retain: true, release: true), + arg1.address == 0 + ? null + : NSError._(arg1, lib, retain: true, release: true), + )), + ), lib); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -55227,83 +72941,118 @@ class ObjCBlock_ffiVoid_NSURL_NSError extends _ObjCBlockBase { /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. ObjCBlock_ffiVoid_NSURL_NSError.listener( - AVFAudio lib, void Function(NSURL?, NSError?) fn) - : this._( - lib._newBlock1( - (_dartFuncListenerTrampoline ??= - ffi.NativeCallable, ffi.Pointer, ffi.Pointer)>.listener( - _ObjCBlock_ffiVoid_NSURL_NSError_closureTrampoline) - ..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSURL_NSError_registerClosure( - (ffi.Pointer arg0, ffi.Pointer arg1) => fn( - arg0.address == 0 - ? null - : NSURL._(arg0, lib, retain: true, release: true), - arg1.address == 0 - ? null - : NSError._(arg1, lib, - retain: true, release: true)))), - lib); + AVFAudio lib, + void Function(NSURL?, NSError?) fn, + ) : this._(objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >.listener( + _ObjCBlock_ffiVoid_NSURL_NSError_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSURL_NSError_registerClosure(( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) => fn( + arg0.address == 0 + ? null + : NSURL._(arg0, lib, retain: true, release: true), + arg1.address == 0 + ? null + : NSError._(arg1, lib, retain: true, release: true), + )), + ), lib); static ffi.NativeCallable< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer, - ffi.Pointer)>? _dartFuncListenerTrampoline; - - void call(NSURL? arg0, NSError? arg1) => _id.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1)>>() - .asFunction< - void Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer, - ffi.Pointer)>()( - _id, arg0?._id ?? ffi.nullptr, arg1?._id ?? ffi.nullptr); + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >? _dartFuncListenerTrampoline; + + void call(NSURL? arg0, NSError? arg1) => pointer.ref.invoke + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, + ) + > + >() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >()(pointer, arg0?.pointer ?? ffi.nullptr, arg1?.pointer ?? ffi.nullptr); } -ffi.Pointer - _ObjCBlock_NSProgress_ffiVoidObjCObjectNSError_fnPtrTrampoline( - ffi.Pointer<_ObjCBlock> block, ffi.Pointer<_ObjCBlock> arg0) => - block.ref.target - .cast< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer<_ObjCBlock> arg0)>>() - .asFunction< - ffi.Pointer Function( - ffi.Pointer<_ObjCBlock>)>()(arg0); -final _ObjCBlock_NSProgress_ffiVoidObjCObjectNSError_closureRegistry = - Function(ffi.Pointer<_ObjCBlock>)>{}; -int _ObjCBlock_NSProgress_ffiVoidObjCObjectNSError_closureRegistryIndex = 0; +ffi.Pointer +_ObjCBlock_NSProgress_ffiVoidobjcObjCObjectNSError_fnPtrTrampoline( + ffi.Pointer block, + ffi.Pointer arg0, +) => block.ref.target + .cast< + ffi.NativeFunction< + ffi.Pointer Function(ffi.Pointer arg0) + > + >() + .asFunction< + ffi.Pointer Function(ffi.Pointer) + >()(arg0); +final _ObjCBlock_NSProgress_ffiVoidobjcObjCObjectNSError_closureRegistry = + Function(ffi.Pointer)>{}; +int _ObjCBlock_NSProgress_ffiVoidobjcObjCObjectNSError_closureRegistryIndex = 0; ffi.Pointer - _ObjCBlock_NSProgress_ffiVoidObjCObjectNSError_registerClosure( - ffi.Pointer Function(ffi.Pointer<_ObjCBlock>) fn) { +_ObjCBlock_NSProgress_ffiVoidobjcObjCObjectNSError_registerClosure( + ffi.Pointer Function(ffi.Pointer) fn, +) { final id = - ++_ObjCBlock_NSProgress_ffiVoidObjCObjectNSError_closureRegistryIndex; - _ObjCBlock_NSProgress_ffiVoidObjCObjectNSError_closureRegistry[id] = fn; + ++_ObjCBlock_NSProgress_ffiVoidobjcObjCObjectNSError_closureRegistryIndex; + _ObjCBlock_NSProgress_ffiVoidobjcObjCObjectNSError_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } -ffi.Pointer - _ObjCBlock_NSProgress_ffiVoidObjCObjectNSError_closureTrampoline( - ffi.Pointer<_ObjCBlock> block, ffi.Pointer<_ObjCBlock> arg0) => - _ObjCBlock_NSProgress_ffiVoidObjCObjectNSError_closureRegistry[ - block.ref.target.address]!(arg0); - -class ObjCBlock_NSProgress_ffiVoidObjCObjectNSError extends _ObjCBlockBase { - ObjCBlock_NSProgress_ffiVoidObjCObjectNSError._( - ffi.Pointer<_ObjCBlock> id, AVFAudio lib, - {bool retain = false, bool release = true}) - : super._(id, lib, retain: retain, release: release); +ffi.Pointer +_ObjCBlock_NSProgress_ffiVoidobjcObjCObjectNSError_closureTrampoline( + ffi.Pointer block, + ffi.Pointer arg0, +) => _ObjCBlock_NSProgress_ffiVoidobjcObjCObjectNSError_closureRegistry[block + .ref + .target + .address]!(arg0); + +class ObjCBlock_NSProgress_ffiVoidobjcObjCObjectNSError + extends objc.ObjCBlockBase { + ObjCBlock_NSProgress_ffiVoidobjcObjCObjectNSError._( + ffi.Pointer pointer, + this._lib, { + bool retain = false, + bool release = true, + }) : super(pointer, retain: retain, release: release); + + AVFAudio _lib; /// Returns a block that wraps the given raw block pointer. - static ObjCBlock_NSProgress_ffiVoidObjCObjectNSError castFromPointer( - AVFAudio lib, ffi.Pointer<_ObjCBlock> pointer, - {bool retain = false, bool release = false}) { - return ObjCBlock_NSProgress_ffiVoidObjCObjectNSError._(pointer, lib, - retain: retain, release: release); + static ObjCBlock_NSProgress_ffiVoidobjcObjCObjectNSError castFromPointer( + AVFAudio lib, + ffi.Pointer pointer, { + bool retain = false, + bool release = false, + }) { + return ObjCBlock_NSProgress_ffiVoidobjcObjCObjectNSError._( + pointer, + lib, + retain: retain, + release: release, + ); } /// Creates a block from a C function pointer. @@ -55311,23 +73060,25 @@ class ObjCBlock_NSProgress_ffiVoidObjCObjectNSError extends _ObjCBlockBase { /// This block must be invoked by native code running on the same thread as /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. - ObjCBlock_NSProgress_ffiVoidObjCObjectNSError.fromFunctionPointer( - AVFAudio lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer<_ObjCBlock> arg0)>> - ptr) - : this._( - lib._newBlock1( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Pointer Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer<_ObjCBlock>)>( - _ObjCBlock_NSProgress_ffiVoidObjCObjectNSError_fnPtrTrampoline) - .cast(), - ptr.cast()), - lib); + ObjCBlock_NSProgress_ffiVoidobjcObjCObjectNSError.fromFunctionPointer( + AVFAudio lib, + ffi.Pointer< + ffi.NativeFunction< + ffi.Pointer Function(ffi.Pointer arg0) + > + > ptr, + ) : this._(objc.newBlock( + _cFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >( + _ObjCBlock_NSProgress_ffiVoidobjcObjCObjectNSError_fnPtrTrampoline, + ).cast(), + ptr.cast(), + ), lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -55335,85 +73086,130 @@ class ObjCBlock_NSProgress_ffiVoidObjCObjectNSError extends _ObjCBlockBase { /// This block must be invoked by native code running on the same thread as /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. - ObjCBlock_NSProgress_ffiVoidObjCObjectNSError.fromFunction(AVFAudio lib, - NSProgress? Function(ObjCBlock_ffiVoid_ObjCObject_NSError) fn) - : this._( - lib._newBlock1( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Pointer Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer<_ObjCBlock>)>( - _ObjCBlock_NSProgress_ffiVoidObjCObjectNSError_closureTrampoline) - .cast(), - _ObjCBlock_NSProgress_ffiVoidObjCObjectNSError_registerClosure( - (ffi.Pointer<_ObjCBlock> arg0) => - fn(ObjCBlock_ffiVoid_ObjCObject_NSError._(arg0, lib, retain: true, release: true)) - ?.retainAndReturnPointer() ?? - ffi.nullptr)), - lib); + ObjCBlock_NSProgress_ffiVoidobjcObjCObjectNSError.fromFunction( + AVFAudio lib, + NSProgress? Function(ObjCBlock_ffiVoid_objcObjCObject_NSError) fn, + ) : this._(objc.newBlock( + _dartFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >( + _ObjCBlock_NSProgress_ffiVoidobjcObjCObjectNSError_closureTrampoline, + ).cast(), + _ObjCBlock_NSProgress_ffiVoidobjcObjCObjectNSError_registerClosure(( + ffi.Pointer arg0, + ) => + fn(ObjCBlock_ffiVoid_objcObjCObject_NSError._( + arg0, + lib, + retain: true, + release: true, + ))?.retainAndReturnPointer() ?? + ffi.nullptr), + ), lib); static ffi.Pointer? _dartFuncTrampoline; - NSProgress? call(ObjCBlock_ffiVoid_ObjCObject_NSError arg0) => _id.ref.invoke + NSProgress? call(ObjCBlock_ffiVoid_objcObjCObject_NSError arg0) => + pointer.ref.invoke + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer block, + ffi.Pointer arg0, + ) + > + >() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >()(pointer, arg0.pointer) + .address == + 0 + ? null + : NSProgress._(pointer.ref.invoke .cast< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer<_ObjCBlock> arg0)>>() - .asFunction Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer<_ObjCBlock>)>() - (_id, arg0._id) - .address == - 0 - ? null - : NSProgress._( - _id.ref.invoke - .cast Function(ffi.Pointer<_ObjCBlock> block, ffi.Pointer<_ObjCBlock> arg0)>>() - .asFunction Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer<_ObjCBlock>)>()(_id, arg0._id), - _lib, - retain: false, - release: true); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer block, + ffi.Pointer arg0, + ) + > + >() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >()(pointer, arg0.pointer), _lib, retain: false, release: true); } -void _ObjCBlock_ffiVoid_ObjCObject_NSError_fnPtrTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1) => - block.ref.target - .cast< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer arg0, - ffi.Pointer arg1)>>() - .asFunction< - void Function(ffi.Pointer, - ffi.Pointer)>()(arg0, arg1); -final _ObjCBlock_ffiVoid_ObjCObject_NSError_closureRegistry = - , ffi.Pointer)>{}; -int _ObjCBlock_ffiVoid_ObjCObject_NSError_closureRegistryIndex = 0; -ffi.Pointer _ObjCBlock_ffiVoid_ObjCObject_NSError_registerClosure( - void Function(ffi.Pointer, ffi.Pointer) fn) { - final id = ++_ObjCBlock_ffiVoid_ObjCObject_NSError_closureRegistryIndex; - _ObjCBlock_ffiVoid_ObjCObject_NSError_closureRegistry[id] = fn; +void _ObjCBlock_ffiVoid_objcObjCObject_NSError_fnPtrTrampoline( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, +) => block.ref.target + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) + > + >() + .asFunction< + void Function(ffi.Pointer, ffi.Pointer) + >()(arg0, arg1); +final _ObjCBlock_ffiVoid_objcObjCObject_NSError_closureRegistry = + < + int, + void Function(ffi.Pointer, ffi.Pointer) + >{}; +int _ObjCBlock_ffiVoid_objcObjCObject_NSError_closureRegistryIndex = 0; +ffi.Pointer _ObjCBlock_ffiVoid_objcObjCObject_NSError_registerClosure( + void Function(ffi.Pointer, ffi.Pointer) fn, +) { + final id = ++_ObjCBlock_ffiVoid_objcObjCObject_NSError_closureRegistryIndex; + _ObjCBlock_ffiVoid_objcObjCObject_NSError_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } -void _ObjCBlock_ffiVoid_ObjCObject_NSError_closureTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1) => - _ObjCBlock_ffiVoid_ObjCObject_NSError_closureRegistry[ - block.ref.target.address]!(arg0, arg1); - -class ObjCBlock_ffiVoid_ObjCObject_NSError extends _ObjCBlockBase { - ObjCBlock_ffiVoid_ObjCObject_NSError._( - ffi.Pointer<_ObjCBlock> id, AVFAudio lib, - {bool retain = false, bool release = true}) - : super._(id, lib, retain: retain, release: release); +void _ObjCBlock_ffiVoid_objcObjCObject_NSError_closureTrampoline( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, +) => _ObjCBlock_ffiVoid_objcObjCObject_NSError_closureRegistry[block + .ref + .target + .address]!(arg0, arg1); + +class ObjCBlock_ffiVoid_objcObjCObject_NSError extends objc.ObjCBlockBase { + ObjCBlock_ffiVoid_objcObjCObject_NSError._( + ffi.Pointer pointer, + this._lib, { + bool retain = false, + bool release = true, + }) : super(pointer, retain: retain, release: release); + + AVFAudio _lib; /// Returns a block that wraps the given raw block pointer. - static ObjCBlock_ffiVoid_ObjCObject_NSError castFromPointer( - AVFAudio lib, ffi.Pointer<_ObjCBlock> pointer, - {bool retain = false, bool release = false}) { - return ObjCBlock_ffiVoid_ObjCObject_NSError._(pointer, lib, - retain: retain, release: release); + static ObjCBlock_ffiVoid_objcObjCObject_NSError castFromPointer( + AVFAudio lib, + ffi.Pointer pointer, { + bool retain = false, + bool release = false, + }) { + return ObjCBlock_ffiVoid_objcObjCObject_NSError._( + pointer, + lib, + retain: retain, + release: release, + ); } /// Creates a block from a C function pointer. @@ -55421,24 +73217,27 @@ class ObjCBlock_ffiVoid_ObjCObject_NSError extends _ObjCBlockBase { /// This block must be invoked by native code running on the same thread as /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. - ObjCBlock_ffiVoid_ObjCObject_NSError.fromFunctionPointer( - AVFAudio lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer arg0, - ffi.Pointer arg1)>> - ptr) - : this._( - lib._newBlock1( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_ObjCObject_NSError_fnPtrTrampoline) - .cast(), - ptr.cast()), - lib); + ObjCBlock_ffiVoid_objcObjCObject_NSError.fromFunctionPointer( + AVFAudio lib, + ffi.Pointer< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) + > + > ptr, + ) : this._(objc.newBlock( + _cFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_objcObjCObject_NSError_fnPtrTrampoline).cast(), + ptr.cast(), + ), lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -55446,21 +73245,32 @@ class ObjCBlock_ffiVoid_ObjCObject_NSError extends _ObjCBlockBase { /// This block must be invoked by native code running on the same thread as /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. - ObjCBlock_ffiVoid_ObjCObject_NSError.fromFunction(AVFAudio lib, void Function(NSObject?, NSError?) fn) - : this._( - lib._newBlock1( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_ObjCObject_NSError_closureTrampoline) - .cast(), - _ObjCBlock_ffiVoid_ObjCObject_NSError_registerClosure( - (ffi.Pointer arg0, ffi.Pointer arg1) => fn( - arg0.address == 0 ? null : NSObject._(arg0, lib, retain: true, release: true), - arg1.address == 0 ? null : NSError._(arg1, lib, retain: true, release: true)))), - lib); + ObjCBlock_ffiVoid_objcObjCObject_NSError.fromFunction( + AVFAudio lib, + void Function(NSObject?, NSError?) fn, + ) : this._(objc.newBlock( + _dartFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >( + _ObjCBlock_ffiVoid_objcObjCObject_NSError_closureTrampoline, + ).cast(), + _ObjCBlock_ffiVoid_objcObjCObject_NSError_registerClosure(( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) => fn( + arg0.address == 0 + ? null + : NSObject._(arg0, lib, retain: true, release: true), + arg1.address == 0 + ? null + : NSError._(arg1, lib, retain: true, release: true), + )), + ), lib); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -55472,99 +73282,147 @@ class ObjCBlock_ffiVoid_ObjCObject_NSError extends _ObjCBlockBase { /// /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. - ObjCBlock_ffiVoid_ObjCObject_NSError.listener( - AVFAudio lib, void Function(NSObject?, NSError?) fn) - : this._( - lib._newBlock1( - (_dartFuncListenerTrampoline ??= - ffi.NativeCallable, ffi.Pointer, ffi.Pointer)>.listener( - _ObjCBlock_ffiVoid_ObjCObject_NSError_closureTrampoline) - ..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_ObjCObject_NSError_registerClosure( - (ffi.Pointer arg0, ffi.Pointer arg1) => fn( - arg0.address == 0 - ? null - : NSObject._(arg0, lib, - retain: true, release: true), - arg1.address == 0 - ? null - : NSError._(arg1, lib, retain: true, release: true)))), - lib); + ObjCBlock_ffiVoid_objcObjCObject_NSError.listener( + AVFAudio lib, + void Function(NSObject?, NSError?) fn, + ) : this._(objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >.listener( + _ObjCBlock_ffiVoid_objcObjCObject_NSError_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_objcObjCObject_NSError_registerClosure(( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) => fn( + arg0.address == 0 + ? null + : NSObject._(arg0, lib, retain: true, release: true), + arg1.address == 0 + ? null + : NSError._(arg1, lib, retain: true, release: true), + )), + ), lib); static ffi.NativeCallable< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer, - ffi.Pointer)>? _dartFuncListenerTrampoline; - - void call(NSObject? arg0, NSError? arg1) => _id.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1)>>() - .asFunction< - void Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer, - ffi.Pointer)>()( - _id, arg0?._id ?? ffi.nullptr, arg1?._id ?? ffi.nullptr); + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >? _dartFuncListenerTrampoline; + + void call(NSObject? arg0, NSError? arg1) => pointer.ref.invoke + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, + ) + > + >() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >()(pointer, arg0?.pointer ?? ffi.nullptr, arg1?.pointer ?? ffi.nullptr); } void - _ObjCBlock_ffiVoid_ffiVoidObjCObjectNSError_ObjCObject_NSDictionary_fnPtrTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer<_ObjCBlock> arg0, - ffi.Pointer arg1, - ffi.Pointer arg2) => - block.ref.target - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock> arg0, - ffi.Pointer arg1, - ffi.Pointer arg2)>>() - .asFunction< - void Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer, - ffi.Pointer)>()(arg0, arg1, arg2); -final _ObjCBlock_ffiVoid_ffiVoidObjCObjectNSError_ObjCObject_NSDictionary_closureRegistry = - , ffi.Pointer, - ffi.Pointer)>{}; -int _ObjCBlock_ffiVoid_ffiVoidObjCObjectNSError_ObjCObject_NSDictionary_closureRegistryIndex = +_ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary_fnPtrTrampoline( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, +) => block.ref.target + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, + ) + > + >() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >()(arg0, arg1, arg2); +final _ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary_closureRegistry = + < + int, + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >{}; +int +_ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary_closureRegistryIndex = 0; ffi.Pointer - _ObjCBlock_ffiVoid_ffiVoidObjCObjectNSError_ObjCObject_NSDictionary_registerClosure( - void Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer, - ffi.Pointer) - fn) { +_ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary_registerClosure( + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) fn, +) { final id = - ++_ObjCBlock_ffiVoid_ffiVoidObjCObjectNSError_ObjCObject_NSDictionary_closureRegistryIndex; - _ObjCBlock_ffiVoid_ffiVoidObjCObjectNSError_ObjCObject_NSDictionary_closureRegistry[ - id] = fn; + ++_ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary_closureRegistryIndex; + _ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary_closureRegistry[id] = + fn; return ffi.Pointer.fromAddress(id); } -void _ObjCBlock_ffiVoid_ffiVoidObjCObjectNSError_ObjCObject_NSDictionary_closureTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer<_ObjCBlock> arg0, - ffi.Pointer arg1, - ffi.Pointer arg2) => - _ObjCBlock_ffiVoid_ffiVoidObjCObjectNSError_ObjCObject_NSDictionary_closureRegistry[ - block.ref.target.address]!(arg0, arg1, arg2); - -class ObjCBlock_ffiVoid_ffiVoidObjCObjectNSError_ObjCObject_NSDictionary - extends _ObjCBlockBase { - ObjCBlock_ffiVoid_ffiVoidObjCObjectNSError_ObjCObject_NSDictionary._( - ffi.Pointer<_ObjCBlock> id, AVFAudio lib, - {bool retain = false, bool release = true}) - : super._(id, lib, retain: retain, release: release); +void +_ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary_closureTrampoline( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, +) => + _ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary_closureRegistry[block + .ref + .target + .address]!(arg0, arg1, arg2); + +class ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary + extends objc.ObjCBlockBase { + ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary._( + ffi.Pointer pointer, + this._lib, { + bool retain = false, + bool release = true, + }) : super(pointer, retain: retain, release: release); + + AVFAudio _lib; /// Returns a block that wraps the given raw block pointer. - static ObjCBlock_ffiVoid_ffiVoidObjCObjectNSError_ObjCObject_NSDictionary - castFromPointer(AVFAudio lib, ffi.Pointer<_ObjCBlock> pointer, - {bool retain = false, bool release = false}) { - return ObjCBlock_ffiVoid_ffiVoidObjCObjectNSError_ObjCObject_NSDictionary._( - pointer, lib, - retain: retain, release: release); + static ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary + castFromPointer( + AVFAudio lib, + ffi.Pointer pointer, { + bool retain = false, + bool release = false, + }) { + return ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary._( + pointer, + lib, + retain: retain, + release: release, + ); } /// Creates a block from a C function pointer. @@ -55572,27 +73430,31 @@ class ObjCBlock_ffiVoid_ffiVoidObjCObjectNSError_ObjCObject_NSDictionary /// This block must be invoked by native code running on the same thread as /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. - ObjCBlock_ffiVoid_ffiVoidObjCObjectNSError_ObjCObject_NSDictionary.fromFunctionPointer( - AVFAudio lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock> arg0, - ffi.Pointer arg1, - ffi.Pointer arg2)>> - ptr) - : this._( - lib._newBlock1( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_ffiVoidObjCObjectNSError_ObjCObject_NSDictionary_fnPtrTrampoline) - .cast(), - ptr.cast()), - lib); + ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary.fromFunctionPointer( + AVFAudio lib, + ffi.Pointer< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, + ) + > + > ptr, + ) : this._(objc.newBlock( + _cFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >( + _ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary_fnPtrTrampoline, + ).cast(), + ptr.cast(), + ), lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -55600,22 +73462,42 @@ class ObjCBlock_ffiVoid_ffiVoidObjCObjectNSError_ObjCObject_NSDictionary /// This block must be invoked by native code running on the same thread as /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. - ObjCBlock_ffiVoid_ffiVoidObjCObjectNSError_ObjCObject_NSDictionary.fromFunction( - AVFAudio lib, - void Function(ObjCBlock_ffiVoid_ObjCObject_NSError1, NSObject, NSDictionary) - fn) - : this._( - lib._newBlock1( - _dartFuncTrampoline ??= - ffi.Pointer.fromFunction, ffi.Pointer<_ObjCBlock>, ffi.Pointer, ffi.Pointer)>( - _ObjCBlock_ffiVoid_ffiVoidObjCObjectNSError_ObjCObject_NSDictionary_closureTrampoline) - .cast(), - _ObjCBlock_ffiVoid_ffiVoidObjCObjectNSError_ObjCObject_NSDictionary_registerClosure( - (ffi.Pointer<_ObjCBlock> arg0, ffi.Pointer arg1, ffi.Pointer arg2) => fn( - ObjCBlock_ffiVoid_ObjCObject_NSError1._(arg0, lib, retain: true, release: true), - NSObject._(arg1, lib, retain: true, release: true), - NSDictionary._(arg2, lib, retain: true, release: true)))), - lib); + ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary.fromFunction( + AVFAudio lib, + void Function( + ObjCBlock_ffiVoid_objcObjCObject_NSError1, + NSObject, + NSDictionary, + ) fn, + ) : this._(objc.newBlock( + _dartFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >( + _ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary_closureTrampoline, + ).cast(), + _ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary_registerClosure( + ( + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, + ) => fn( + ObjCBlock_ffiVoid_objcObjCObject_NSError1._( + arg0, + lib, + retain: true, + release: true, + ), + NSObject._(arg1, lib, retain: true, release: true), + NSDictionary._(arg2, lib, retain: true, release: true), + ), + ), + ), lib); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -55627,92 +73509,140 @@ class ObjCBlock_ffiVoid_ffiVoidObjCObjectNSError_ObjCObject_NSDictionary /// /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. - ObjCBlock_ffiVoid_ffiVoidObjCObjectNSError_ObjCObject_NSDictionary.listener( - AVFAudio lib, - void Function(ObjCBlock_ffiVoid_ObjCObject_NSError1, NSObject, NSDictionary) - fn) - : this._( - lib._newBlock1( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable, ffi.Pointer<_ObjCBlock>, ffi.Pointer, ffi.Pointer)>.listener( - _ObjCBlock_ffiVoid_ffiVoidObjCObjectNSError_ObjCObject_NSDictionary_closureTrampoline) - ..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_ffiVoidObjCObjectNSError_ObjCObject_NSDictionary_registerClosure( - (ffi.Pointer<_ObjCBlock> arg0, ffi.Pointer arg1, - ffi.Pointer arg2) => - fn( - ObjCBlock_ffiVoid_ObjCObject_NSError1._(arg0, lib, retain: true, release: true), - NSObject._(arg1, lib, retain: true, release: true), - NSDictionary._(arg2, lib, retain: true, release: true)))), - lib); + ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary.listener( + AVFAudio lib, + void Function( + ObjCBlock_ffiVoid_objcObjCObject_NSError1, + NSObject, + NSDictionary, + ) fn, + ) : this._(objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >.listener( + _ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary_registerClosure( + ( + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, + ) => fn( + ObjCBlock_ffiVoid_objcObjCObject_NSError1._( + arg0, + lib, + retain: true, + release: true, + ), + NSObject._(arg1, lib, retain: true, release: true), + NSDictionary._(arg2, lib, retain: true, release: true), + ), + ), + ), lib); static ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer)>? _dartFuncListenerTrampoline; - - void call(ObjCBlock_ffiVoid_ObjCObject_NSError1 arg0, NSObject arg1, - NSDictionary arg2) => - _id.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer<_ObjCBlock> arg0, - ffi.Pointer arg1, - ffi.Pointer arg2)>>() - .asFunction< - void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer)>()( - _id, arg0._id, arg1._id, arg2._id); + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >? _dartFuncListenerTrampoline; + + void call( + ObjCBlock_ffiVoid_objcObjCObject_NSError1 arg0, + NSObject arg1, + NSDictionary arg2, + ) => pointer.ref.invoke + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, + ) + > + >() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >()(pointer, arg0.pointer, arg1.pointer, arg2.pointer); } -void _ObjCBlock_ffiVoid_ObjCObject_NSError1_fnPtrTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1) => - block.ref.target - .cast< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer arg0, - ffi.Pointer arg1)>>() - .asFunction< - void Function(ffi.Pointer, - ffi.Pointer)>()(arg0, arg1); -final _ObjCBlock_ffiVoid_ObjCObject_NSError1_closureRegistry = - , ffi.Pointer)>{}; -int _ObjCBlock_ffiVoid_ObjCObject_NSError1_closureRegistryIndex = 0; -ffi.Pointer _ObjCBlock_ffiVoid_ObjCObject_NSError1_registerClosure( - void Function(ffi.Pointer, ffi.Pointer) fn) { - final id = ++_ObjCBlock_ffiVoid_ObjCObject_NSError1_closureRegistryIndex; - _ObjCBlock_ffiVoid_ObjCObject_NSError1_closureRegistry[id] = fn; +void _ObjCBlock_ffiVoid_objcObjCObject_NSError1_fnPtrTrampoline( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, +) => block.ref.target + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) + > + >() + .asFunction< + void Function(ffi.Pointer, ffi.Pointer) + >()(arg0, arg1); +final _ObjCBlock_ffiVoid_objcObjCObject_NSError1_closureRegistry = + < + int, + void Function(ffi.Pointer, ffi.Pointer) + >{}; +int _ObjCBlock_ffiVoid_objcObjCObject_NSError1_closureRegistryIndex = 0; +ffi.Pointer +_ObjCBlock_ffiVoid_objcObjCObject_NSError1_registerClosure( + void Function(ffi.Pointer, ffi.Pointer) fn, +) { + final id = ++_ObjCBlock_ffiVoid_objcObjCObject_NSError1_closureRegistryIndex; + _ObjCBlock_ffiVoid_objcObjCObject_NSError1_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } -void _ObjCBlock_ffiVoid_ObjCObject_NSError1_closureTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1) => - _ObjCBlock_ffiVoid_ObjCObject_NSError1_closureRegistry[ - block.ref.target.address]!(arg0, arg1); - -class ObjCBlock_ffiVoid_ObjCObject_NSError1 extends _ObjCBlockBase { - ObjCBlock_ffiVoid_ObjCObject_NSError1._( - ffi.Pointer<_ObjCBlock> id, AVFAudio lib, - {bool retain = false, bool release = true}) - : super._(id, lib, retain: retain, release: release); +void _ObjCBlock_ffiVoid_objcObjCObject_NSError1_closureTrampoline( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, +) => _ObjCBlock_ffiVoid_objcObjCObject_NSError1_closureRegistry[block + .ref + .target + .address]!(arg0, arg1); + +class ObjCBlock_ffiVoid_objcObjCObject_NSError1 extends objc.ObjCBlockBase { + ObjCBlock_ffiVoid_objcObjCObject_NSError1._( + ffi.Pointer pointer, + this._lib, { + bool retain = false, + bool release = true, + }) : super(pointer, retain: retain, release: release); + + AVFAudio _lib; /// Returns a block that wraps the given raw block pointer. - static ObjCBlock_ffiVoid_ObjCObject_NSError1 castFromPointer( - AVFAudio lib, ffi.Pointer<_ObjCBlock> pointer, - {bool retain = false, bool release = false}) { - return ObjCBlock_ffiVoid_ObjCObject_NSError1._(pointer, lib, - retain: retain, release: release); + static ObjCBlock_ffiVoid_objcObjCObject_NSError1 castFromPointer( + AVFAudio lib, + ffi.Pointer pointer, { + bool retain = false, + bool release = false, + }) { + return ObjCBlock_ffiVoid_objcObjCObject_NSError1._( + pointer, + lib, + retain: retain, + release: release, + ); } /// Creates a block from a C function pointer. @@ -55720,24 +73650,29 @@ class ObjCBlock_ffiVoid_ObjCObject_NSError1 extends _ObjCBlockBase { /// This block must be invoked by native code running on the same thread as /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. - ObjCBlock_ffiVoid_ObjCObject_NSError1.fromFunctionPointer( - AVFAudio lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer arg0, - ffi.Pointer arg1)>> - ptr) - : this._( - lib._newBlock1( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_ObjCObject_NSError1_fnPtrTrampoline) - .cast(), - ptr.cast()), - lib); + ObjCBlock_ffiVoid_objcObjCObject_NSError1.fromFunctionPointer( + AVFAudio lib, + ffi.Pointer< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) + > + > ptr, + ) : this._(objc.newBlock( + _cFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >( + _ObjCBlock_ffiVoid_objcObjCObject_NSError1_fnPtrTrampoline, + ).cast(), + ptr.cast(), + ), lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -55745,21 +73680,30 @@ class ObjCBlock_ffiVoid_ObjCObject_NSError1 extends _ObjCBlockBase { /// This block must be invoked by native code running on the same thread as /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. - ObjCBlock_ffiVoid_ObjCObject_NSError1.fromFunction(AVFAudio lib, void Function(NSObject?, NSError) fn) - : this._( - lib._newBlock1( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_ObjCObject_NSError1_closureTrampoline) - .cast(), - _ObjCBlock_ffiVoid_ObjCObject_NSError1_registerClosure( - (ffi.Pointer arg0, ffi.Pointer arg1) => fn( - arg0.address == 0 ? null : NSObject._(arg0, lib, retain: true, release: true), - NSError._(arg1, lib, retain: true, release: true)))), - lib); + ObjCBlock_ffiVoid_objcObjCObject_NSError1.fromFunction( + AVFAudio lib, + void Function(NSObject?, NSError) fn, + ) : this._(objc.newBlock( + _dartFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >( + _ObjCBlock_ffiVoid_objcObjCObject_NSError1_closureTrampoline, + ).cast(), + _ObjCBlock_ffiVoid_objcObjCObject_NSError1_registerClosure(( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) => fn( + arg0.address == 0 + ? null + : NSObject._(arg0, lib, retain: true, release: true), + NSError._(arg1, lib, retain: true, release: true), + )), + ), lib); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -55771,195 +73715,291 @@ class ObjCBlock_ffiVoid_ObjCObject_NSError1 extends _ObjCBlockBase { /// /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. - ObjCBlock_ffiVoid_ObjCObject_NSError1.listener( - AVFAudio lib, void Function(NSObject?, NSError) fn) - : this._( - lib._newBlock1( - (_dartFuncListenerTrampoline ??= ffi - .NativeCallable, ffi.Pointer, ffi.Pointer)>.listener( - _ObjCBlock_ffiVoid_ObjCObject_NSError1_closureTrampoline) - ..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_ObjCObject_NSError1_registerClosure( - (ffi.Pointer arg0, ffi.Pointer arg1) => fn( - arg0.address == 0 - ? null - : NSObject._(arg0, lib, retain: true, release: true), - NSError._(arg1, lib, retain: true, release: true)))), - lib); + ObjCBlock_ffiVoid_objcObjCObject_NSError1.listener( + AVFAudio lib, + void Function(NSObject?, NSError) fn, + ) : this._(objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >.listener( + _ObjCBlock_ffiVoid_objcObjCObject_NSError1_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_objcObjCObject_NSError1_registerClosure(( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) => fn( + arg0.address == 0 + ? null + : NSObject._(arg0, lib, retain: true, release: true), + NSError._(arg1, lib, retain: true, release: true), + )), + ), lib); static ffi.NativeCallable< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer, - ffi.Pointer)>? _dartFuncListenerTrampoline; - - void call(NSObject? arg0, NSError arg1) => _id.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1)>>() - .asFunction< - void Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer, - ffi.Pointer)>()( - _id, arg0?._id ?? ffi.nullptr, arg1._id); + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >? _dartFuncListenerTrampoline; + + void call(NSObject? arg0, NSError arg1) => pointer.ref.invoke + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, + ) + > + >() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >()(pointer, arg0?.pointer ?? ffi.nullptr, arg1.pointer); } class NSMutableString extends NSString { - NSMutableString._(ffi.Pointer id, AVFAudio lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSMutableString._( + ffi.Pointer pointer, + AVFAudio lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSMutableString] that points to the same underlying object as [other]. - static NSMutableString castFrom(T other) { - return NSMutableString._(other._id, other._lib, - retain: true, release: true); + static NSMutableString castFrom( + AVFAudio lib, + T other, + ) { + return NSMutableString._(other.pointer, lib, retain: true, release: true); } /// Returns a [NSMutableString] that wraps the given raw object pointer. static NSMutableString castFromPointer( - AVFAudio lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + AVFAudio lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSMutableString._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSMutableString]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0(obj._id, obj._lib._sel_isKindOfClass_1, - obj._lib._class_NSMutableString1); + static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSMutableString1, + ); } void replaceCharactersInRange_withString_(_NSRange range, NSString aString) { - _lib._objc_msgSend_689(_id, _lib._sel_replaceCharactersInRange_withString_1, - range, aString._id); + _lib._objc_msgSend_689( + this.pointer, + _lib._sel_replaceCharactersInRange_withString_1, + range, + aString.pointer, + ); } void insertString_atIndex_(NSString aString, int loc) { _lib._objc_msgSend_690( - _id, _lib._sel_insertString_atIndex_1, aString._id, loc); + this.pointer, + _lib._sel_insertString_atIndex_1, + aString.pointer, + loc, + ); } void deleteCharactersInRange_(_NSRange range) { - _lib._objc_msgSend_476(_id, _lib._sel_deleteCharactersInRange_1, range); + _lib._objc_msgSend_476( + this.pointer, + _lib._sel_deleteCharactersInRange_1, + range, + ); } void appendString_(NSString aString) { - _lib._objc_msgSend_247(_id, _lib._sel_appendString_1, aString._id); + _lib._objc_msgSend_247( + this.pointer, + _lib._sel_appendString_1, + aString.pointer, + ); } void appendFormat_(NSString format) { - _lib._objc_msgSend_247(_id, _lib._sel_appendFormat_1, format._id); + _lib._objc_msgSend_247( + this.pointer, + _lib._sel_appendFormat_1, + format.pointer, + ); } void setString_(NSString aString) { - _lib._objc_msgSend_247(_id, _lib._sel_setString_1, aString._id); + _lib._objc_msgSend_247( + this.pointer, + _lib._sel_setString_1, + aString.pointer, + ); } - int replaceOccurrencesOfString_withString_options_range_(NSString target, - NSString replacement, int options, _NSRange searchRange) { + int replaceOccurrencesOfString_withString_options_range_( + NSString target, + NSString replacement, + int options, + _NSRange searchRange, + ) { return _lib._objc_msgSend_691( - _id, - _lib._sel_replaceOccurrencesOfString_withString_options_range_1, - target._id, - replacement._id, - options, - searchRange); + this.pointer, + _lib._sel_replaceOccurrencesOfString_withString_options_range_1, + target.pointer, + replacement.pointer, + options, + searchRange, + ); } - bool applyTransform_reverse_range_updatedRange_(NSString transform, - bool reverse, _NSRange range, ffi.Pointer<_NSRange> resultingRange) { + bool applyTransform_reverse_range_updatedRange_( + NSString transform, + bool reverse, + _NSRange range, + ffi.Pointer<_NSRange> resultingRange, + ) { return _lib._objc_msgSend_692( - _id, - _lib._sel_applyTransform_reverse_range_updatedRange_1, - transform._id, - reverse, - range, - resultingRange); + this.pointer, + _lib._sel_applyTransform_reverse_range_updatedRange_1, + transform.pointer, + reverse, + range, + resultingRange, + ); } NSMutableString initWithCapacity_(int capacity) { - final _ret = - _lib._objc_msgSend_693(_id, _lib._sel_initWithCapacity_1, capacity); + final _ret = _lib._objc_msgSend_693( + this.pointer, + _lib._sel_initWithCapacity_1, + capacity, + ); return NSMutableString._(_ret, _lib, retain: true, release: true); } static NSMutableString stringWithCapacity_(AVFAudio _lib, int capacity) { final _ret = _lib._objc_msgSend_693( - _lib._class_NSMutableString1, _lib._sel_stringWithCapacity_1, capacity); + _lib._class_NSMutableString1, + _lib._sel_stringWithCapacity_1, + capacity, + ); return NSMutableString._(_ret, _lib, retain: true, release: true); } @override NSMutableString init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSMutableString._(_ret, _lib, retain: true, release: true); } @override NSMutableString? initWithCoder_(NSCoder coder) { - final _ret = - _lib._objc_msgSend_47(_id, _lib._sel_initWithCoder_1, coder._id); + final _ret = _lib._objc_msgSend_47( + this.pointer, + _lib._sel_initWithCoder_1, + coder.pointer, + ); return _ret.address == 0 ? null : NSMutableString._(_ret, _lib, retain: true, release: true); } static ffi.Pointer getAvailableStringEncodings( - AVFAudio _lib) { + AVFAudio _lib, + ) { return _lib._objc_msgSend_357( - _lib._class_NSMutableString1, _lib._sel_availableStringEncodings1); + _lib._class_NSMutableString1, + _lib._sel_availableStringEncodings1, + ); } static NSString localizedNameOfStringEncoding_(AVFAudio _lib, int encoding) { - final _ret = _lib._objc_msgSend_332(_lib._class_NSMutableString1, - _lib._sel_localizedNameOfStringEncoding_1, encoding); + final _ret = _lib._objc_msgSend_332( + _lib._class_NSMutableString1, + _lib._sel_localizedNameOfStringEncoding_1, + encoding, + ); return NSString._(_ret, _lib, retain: true, release: true); } static int getDefaultCStringEncoding(AVFAudio _lib) { return _lib._objc_msgSend_10( - _lib._class_NSMutableString1, _lib._sel_defaultCStringEncoding1); + _lib._class_NSMutableString1, + _lib._sel_defaultCStringEncoding1, + ); } @override NSMutableString initWithCharactersNoCopy_length_freeWhenDone_( - ffi.Pointer characters, int length, bool freeBuffer) { + ffi.Pointer characters, + int length, + bool freeBuffer, + ) { final _ret = _lib._objc_msgSend_369( - _id, - _lib._sel_initWithCharactersNoCopy_length_freeWhenDone_1, - characters, - length, - freeBuffer); + this.pointer, + _lib._sel_initWithCharactersNoCopy_length_freeWhenDone_1, + characters, + length, + freeBuffer, + ); return NSMutableString._(_ret, _lib, retain: false, release: true); } @override NSMutableString initWithCharactersNoCopy_length_deallocator_( - ffi.Pointer chars, - int len, - ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong? deallocator) { + ffi.Pointer chars, + int len, + ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong? deallocator, + ) { final _ret = _lib._objc_msgSend_370( - _id, - _lib._sel_initWithCharactersNoCopy_length_deallocator_1, - chars, - len, - deallocator?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_initWithCharactersNoCopy_length_deallocator_1, + chars, + len, + deallocator?.pointer ?? ffi.nullptr, + ); return NSMutableString._(_ret, _lib, retain: false, release: true); } @override NSMutableString initWithCharacters_length_( - ffi.Pointer characters, int length) { + ffi.Pointer characters, + int length, + ) { final _ret = _lib._objc_msgSend_371( - _id, _lib._sel_initWithCharacters_length_1, characters, length); + this.pointer, + _lib._sel_initWithCharacters_length_1, + characters, + length, + ); return NSMutableString._(_ret, _lib, retain: true, release: true); } @override NSMutableString? initWithUTF8String_( - ffi.Pointer nullTerminatedCString) { + ffi.Pointer nullTerminatedCString, + ) { final _ret = _lib._objc_msgSend_372( - _id, _lib._sel_initWithUTF8String_1, nullTerminatedCString); + this.pointer, + _lib._sel_initWithUTF8String_1, + nullTerminatedCString, + ); return _ret.address == 0 ? null : NSMutableString._(_ret, _lib, retain: true, release: true); @@ -55967,56 +74007,78 @@ class NSMutableString extends NSString { @override NSMutableString initWithString_(NSString aString) { - final _ret = - _lib._objc_msgSend_31(_id, _lib._sel_initWithString_1, aString._id); + final _ret = _lib._objc_msgSend_31( + this.pointer, + _lib._sel_initWithString_1, + aString.pointer, + ); return NSMutableString._(_ret, _lib, retain: true, release: true); } @override NSMutableString initWithFormat_(NSString format) { - final _ret = - _lib._objc_msgSend_31(_id, _lib._sel_initWithFormat_1, format._id); + final _ret = _lib._objc_msgSend_31( + this.pointer, + _lib._sel_initWithFormat_1, + format.pointer, + ); return NSMutableString._(_ret, _lib, retain: true, release: true); } @override NSMutableString initWithFormat_arguments_( - NSString format, ffi.Pointer<__va_list_tag> argList) { + NSString format, + ffi.Pointer<__va_list_tag> argList, + ) { final _ret = _lib._objc_msgSend_373( - _id, _lib._sel_initWithFormat_arguments_1, format._id, argList); + this.pointer, + _lib._sel_initWithFormat_arguments_1, + format.pointer, + argList, + ); return NSMutableString._(_ret, _lib, retain: true, release: true); } @override NSMutableString initWithFormat_locale_(NSString format, NSObject? locale) { - final _ret = _lib._objc_msgSend_374(_id, _lib._sel_initWithFormat_locale_1, - format._id, locale?._id ?? ffi.nullptr); + final _ret = _lib._objc_msgSend_374( + this.pointer, + _lib._sel_initWithFormat_locale_1, + format.pointer, + locale?.pointer ?? ffi.nullptr, + ); return NSMutableString._(_ret, _lib, retain: true, release: true); } @override NSMutableString initWithFormat_locale_arguments_( - NSString format, NSObject? locale, ffi.Pointer<__va_list_tag> argList) { + NSString format, + NSObject? locale, + ffi.Pointer<__va_list_tag> argList, + ) { final _ret = _lib._objc_msgSend_375( - _id, - _lib._sel_initWithFormat_locale_arguments_1, - format._id, - locale?._id ?? ffi.nullptr, - argList); + this.pointer, + _lib._sel_initWithFormat_locale_arguments_1, + format.pointer, + locale?.pointer ?? ffi.nullptr, + argList, + ); return NSMutableString._(_ret, _lib, retain: true, release: true); } @override NSMutableString? initWithValidatedFormat_validFormatSpecifiers_error_( - NSString format, - NSString validFormatSpecifiers, - ffi.Pointer> error) { + NSString format, + NSString validFormatSpecifiers, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_376( - _id, - _lib._sel_initWithValidatedFormat_validFormatSpecifiers_error_1, - format._id, - validFormatSpecifiers._id, - error); + this.pointer, + _lib._sel_initWithValidatedFormat_validFormatSpecifiers_error_1, + format.pointer, + validFormatSpecifiers.pointer, + error, + ); return _ret.address == 0 ? null : NSMutableString._(_ret, _lib, retain: true, release: true); @@ -56024,17 +74086,19 @@ class NSMutableString extends NSString { @override NSMutableString? initWithValidatedFormat_validFormatSpecifiers_locale_error_( - NSString format, - NSString validFormatSpecifiers, - NSObject? locale, - ffi.Pointer> error) { + NSString format, + NSString validFormatSpecifiers, + NSObject? locale, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_377( - _id, - _lib._sel_initWithValidatedFormat_validFormatSpecifiers_locale_error_1, - format._id, - validFormatSpecifiers._id, - locale?._id ?? ffi.nullptr, - error); + this.pointer, + _lib._sel_initWithValidatedFormat_validFormatSpecifiers_locale_error_1, + format.pointer, + validFormatSpecifiers.pointer, + locale?.pointer ?? ffi.nullptr, + error, + ); return _ret.address == 0 ? null : NSMutableString._(_ret, _lib, retain: true, release: true); @@ -56042,18 +74106,20 @@ class NSMutableString extends NSString { @override NSMutableString? - initWithValidatedFormat_validFormatSpecifiers_arguments_error_( - NSString format, - NSString validFormatSpecifiers, - ffi.Pointer<__va_list_tag> argList, - ffi.Pointer> error) { + initWithValidatedFormat_validFormatSpecifiers_arguments_error_( + NSString format, + NSString validFormatSpecifiers, + ffi.Pointer<__va_list_tag> argList, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_378( - _id, - _lib._sel_initWithValidatedFormat_validFormatSpecifiers_arguments_error_1, - format._id, - validFormatSpecifiers._id, - argList, - error); + this.pointer, + _lib._sel_initWithValidatedFormat_validFormatSpecifiers_arguments_error_1, + format.pointer, + validFormatSpecifiers.pointer, + argList, + error, + ); return _ret.address == 0 ? null : NSMutableString._(_ret, _lib, retain: true, release: true); @@ -56061,20 +74127,22 @@ class NSMutableString extends NSString { @override NSMutableString? - initWithValidatedFormat_validFormatSpecifiers_locale_arguments_error_( - NSString format, - NSString validFormatSpecifiers, - NSObject? locale, - ffi.Pointer<__va_list_tag> argList, - ffi.Pointer> error) { + initWithValidatedFormat_validFormatSpecifiers_locale_arguments_error_( + NSString format, + NSString validFormatSpecifiers, + NSObject? locale, + ffi.Pointer<__va_list_tag> argList, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_379( - _id, - _lib._sel_initWithValidatedFormat_validFormatSpecifiers_locale_arguments_error_1, - format._id, - validFormatSpecifiers._id, - locale?._id ?? ffi.nullptr, - argList, - error); + this.pointer, + _lib._sel_initWithValidatedFormat_validFormatSpecifiers_locale_arguments_error_1, + format.pointer, + validFormatSpecifiers.pointer, + locale?.pointer ?? ffi.nullptr, + argList, + error, + ); return _ret.address == 0 ? null : NSMutableString._(_ret, _lib, retain: true, release: true); @@ -56083,7 +74151,11 @@ class NSMutableString extends NSString { @override NSMutableString? initWithData_encoding_(NSData data, int encoding) { final _ret = _lib._objc_msgSend_380( - _id, _lib._sel_initWithData_encoding_1, data._id, encoding); + this.pointer, + _lib._sel_initWithData_encoding_1, + data.pointer, + encoding, + ); return _ret.address == 0 ? null : NSMutableString._(_ret, _lib, retain: true, release: true); @@ -56091,9 +74163,17 @@ class NSMutableString extends NSString { @override NSMutableString? initWithBytes_length_encoding_( - ffi.Pointer bytes, int len, int encoding) { + ffi.Pointer bytes, + int len, + int encoding, + ) { final _ret = _lib._objc_msgSend_381( - _id, _lib._sel_initWithBytes_length_encoding_1, bytes, len, encoding); + this.pointer, + _lib._sel_initWithBytes_length_encoding_1, + bytes, + len, + encoding, + ); return _ret.address == 0 ? null : NSMutableString._(_ret, _lib, retain: true, release: true); @@ -56101,14 +74181,19 @@ class NSMutableString extends NSString { @override NSMutableString? initWithBytesNoCopy_length_encoding_freeWhenDone_( - ffi.Pointer bytes, int len, int encoding, bool freeBuffer) { + ffi.Pointer bytes, + int len, + int encoding, + bool freeBuffer, + ) { final _ret = _lib._objc_msgSend_382( - _id, - _lib._sel_initWithBytesNoCopy_length_encoding_freeWhenDone_1, - bytes, - len, - encoding, - freeBuffer); + this.pointer, + _lib._sel_initWithBytesNoCopy_length_encoding_freeWhenDone_1, + bytes, + len, + encoding, + freeBuffer, + ); return _ret.address == 0 ? null : NSMutableString._(_ret, _lib, retain: false, release: true); @@ -56116,45 +74201,64 @@ class NSMutableString extends NSString { @override NSMutableString? initWithBytesNoCopy_length_encoding_deallocator_( - ffi.Pointer bytes, - int len, - int encoding, - ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong? deallocator) { + ffi.Pointer bytes, + int len, + int encoding, + ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong? deallocator, + ) { final _ret = _lib._objc_msgSend_383( - _id, - _lib._sel_initWithBytesNoCopy_length_encoding_deallocator_1, - bytes, - len, - encoding, - deallocator?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_initWithBytesNoCopy_length_encoding_deallocator_1, + bytes, + len, + encoding, + deallocator?.pointer ?? ffi.nullptr, + ); return _ret.address == 0 ? null : NSMutableString._(_ret, _lib, retain: false, release: true); } static NSMutableString string(AVFAudio _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSMutableString1, _lib._sel_string1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSMutableString1, + _lib._sel_string1, + ); return NSMutableString._(_ret, _lib, retain: true, release: true); } static NSMutableString stringWithString_(AVFAudio _lib, NSString string) { final _ret = _lib._objc_msgSend_31( - _lib._class_NSMutableString1, _lib._sel_stringWithString_1, string._id); + _lib._class_NSMutableString1, + _lib._sel_stringWithString_1, + string.pointer, + ); return NSMutableString._(_ret, _lib, retain: true, release: true); } static NSMutableString stringWithCharacters_length_( - AVFAudio _lib, ffi.Pointer characters, int length) { - final _ret = _lib._objc_msgSend_371(_lib._class_NSMutableString1, - _lib._sel_stringWithCharacters_length_1, characters, length); + AVFAudio _lib, + ffi.Pointer characters, + int length, + ) { + final _ret = _lib._objc_msgSend_371( + _lib._class_NSMutableString1, + _lib._sel_stringWithCharacters_length_1, + characters, + length, + ); return NSMutableString._(_ret, _lib, retain: true, release: true); } static NSMutableString? stringWithUTF8String_( - AVFAudio _lib, ffi.Pointer nullTerminatedCString) { - final _ret = _lib._objc_msgSend_372(_lib._class_NSMutableString1, - _lib._sel_stringWithUTF8String_1, nullTerminatedCString); + AVFAudio _lib, + ffi.Pointer nullTerminatedCString, + ) { + final _ret = _lib._objc_msgSend_372( + _lib._class_NSMutableString1, + _lib._sel_stringWithUTF8String_1, + nullTerminatedCString, + ); return _ret.address == 0 ? null : NSMutableString._(_ret, _lib, retain: true, release: true); @@ -56162,46 +74266,58 @@ class NSMutableString extends NSString { static NSMutableString stringWithFormat_(AVFAudio _lib, NSString format) { final _ret = _lib._objc_msgSend_31( - _lib._class_NSMutableString1, _lib._sel_stringWithFormat_1, format._id); + _lib._class_NSMutableString1, + _lib._sel_stringWithFormat_1, + format.pointer, + ); return NSMutableString._(_ret, _lib, retain: true, release: true); } static NSMutableString localizedStringWithFormat_( - AVFAudio _lib, NSString format) { - final _ret = _lib._objc_msgSend_31(_lib._class_NSMutableString1, - _lib._sel_localizedStringWithFormat_1, format._id); + AVFAudio _lib, + NSString format, + ) { + final _ret = _lib._objc_msgSend_31( + _lib._class_NSMutableString1, + _lib._sel_localizedStringWithFormat_1, + format.pointer, + ); return NSMutableString._(_ret, _lib, retain: true, release: true); } static NSMutableString? - stringWithValidatedFormat_validFormatSpecifiers_error_( - AVFAudio _lib, - NSString format, - NSString validFormatSpecifiers, - ffi.Pointer> error) { + stringWithValidatedFormat_validFormatSpecifiers_error_( + AVFAudio _lib, + NSString format, + NSString validFormatSpecifiers, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_376( - _lib._class_NSMutableString1, - _lib._sel_stringWithValidatedFormat_validFormatSpecifiers_error_1, - format._id, - validFormatSpecifiers._id, - error); + _lib._class_NSMutableString1, + _lib._sel_stringWithValidatedFormat_validFormatSpecifiers_error_1, + format.pointer, + validFormatSpecifiers.pointer, + error, + ); return _ret.address == 0 ? null : NSMutableString._(_ret, _lib, retain: true, release: true); } static NSMutableString? - localizedStringWithValidatedFormat_validFormatSpecifiers_error_( - AVFAudio _lib, - NSString format, - NSString validFormatSpecifiers, - ffi.Pointer> error) { + localizedStringWithValidatedFormat_validFormatSpecifiers_error_( + AVFAudio _lib, + NSString format, + NSString validFormatSpecifiers, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_376( - _lib._class_NSMutableString1, - _lib._sel_localizedStringWithValidatedFormat_validFormatSpecifiers_error_1, - format._id, - validFormatSpecifiers._id, - error); + _lib._class_NSMutableString1, + _lib._sel_localizedStringWithValidatedFormat_validFormatSpecifiers_error_1, + format.pointer, + validFormatSpecifiers.pointer, + error, + ); return _ret.address == 0 ? null : NSMutableString._(_ret, _lib, retain: true, release: true); @@ -56209,18 +74325,31 @@ class NSMutableString extends NSString { @override NSMutableString? initWithCString_encoding_( - ffi.Pointer nullTerminatedCString, int encoding) { - final _ret = _lib._objc_msgSend_384(_id, - _lib._sel_initWithCString_encoding_1, nullTerminatedCString, encoding); + ffi.Pointer nullTerminatedCString, + int encoding, + ) { + final _ret = _lib._objc_msgSend_384( + this.pointer, + _lib._sel_initWithCString_encoding_1, + nullTerminatedCString, + encoding, + ); return _ret.address == 0 ? null : NSMutableString._(_ret, _lib, retain: true, release: true); } static NSMutableString? stringWithCString_encoding_( - AVFAudio _lib, ffi.Pointer cString, int enc) { - final _ret = _lib._objc_msgSend_384(_lib._class_NSMutableString1, - _lib._sel_stringWithCString_encoding_1, cString, enc); + AVFAudio _lib, + ffi.Pointer cString, + int enc, + ) { + final _ret = _lib._objc_msgSend_384( + _lib._class_NSMutableString1, + _lib._sel_stringWithCString_encoding_1, + cString, + enc, + ); return _ret.address == 0 ? null : NSMutableString._(_ret, _lib, retain: true, release: true); @@ -56228,9 +74357,17 @@ class NSMutableString extends NSString { @override NSMutableString? initWithContentsOfURL_encoding_error_( - NSURL url, int enc, ffi.Pointer> error) { - final _ret = _lib._objc_msgSend_385(_id, - _lib._sel_initWithContentsOfURL_encoding_error_1, url._id, enc, error); + NSURL url, + int enc, + ffi.Pointer> error, + ) { + final _ret = _lib._objc_msgSend_385( + this.pointer, + _lib._sel_initWithContentsOfURL_encoding_error_1, + url.pointer, + enc, + error, + ); return _ret.address == 0 ? null : NSMutableString._(_ret, _lib, retain: true, release: true); @@ -56238,42 +74375,53 @@ class NSMutableString extends NSString { @override NSMutableString? initWithContentsOfFile_encoding_error_( - NSString path, int enc, ffi.Pointer> error) { + NSString path, + int enc, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_386( - _id, - _lib._sel_initWithContentsOfFile_encoding_error_1, - path._id, - enc, - error); + this.pointer, + _lib._sel_initWithContentsOfFile_encoding_error_1, + path.pointer, + enc, + error, + ); return _ret.address == 0 ? null : NSMutableString._(_ret, _lib, retain: true, release: true); } - static NSMutableString? stringWithContentsOfURL_encoding_error_(AVFAudio _lib, - NSURL url, int enc, ffi.Pointer> error) { + static NSMutableString? stringWithContentsOfURL_encoding_error_( + AVFAudio _lib, + NSURL url, + int enc, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_385( - _lib._class_NSMutableString1, - _lib._sel_stringWithContentsOfURL_encoding_error_1, - url._id, - enc, - error); + _lib._class_NSMutableString1, + _lib._sel_stringWithContentsOfURL_encoding_error_1, + url.pointer, + enc, + error, + ); return _ret.address == 0 ? null : NSMutableString._(_ret, _lib, retain: true, release: true); } static NSMutableString? stringWithContentsOfFile_encoding_error_( - AVFAudio _lib, - NSString path, - int enc, - ffi.Pointer> error) { + AVFAudio _lib, + NSString path, + int enc, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_386( - _lib._class_NSMutableString1, - _lib._sel_stringWithContentsOfFile_encoding_error_1, - path._id, - enc, - error); + _lib._class_NSMutableString1, + _lib._sel_stringWithContentsOfFile_encoding_error_1, + path.pointer, + enc, + error, + ); return _ret.address == 0 ? null : NSMutableString._(_ret, _lib, retain: true, release: true); @@ -56281,15 +74429,17 @@ class NSMutableString extends NSString { @override NSMutableString? initWithContentsOfURL_usedEncoding_error_( - NSURL url, - ffi.Pointer enc, - ffi.Pointer> error) { + NSURL url, + ffi.Pointer enc, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_387( - _id, - _lib._sel_initWithContentsOfURL_usedEncoding_error_1, - url._id, - enc, - error); + this.pointer, + _lib._sel_initWithContentsOfURL_usedEncoding_error_1, + url.pointer, + enc, + error, + ); return _ret.address == 0 ? null : NSMutableString._(_ret, _lib, retain: true, release: true); @@ -56297,400 +74447,555 @@ class NSMutableString extends NSString { @override NSMutableString? initWithContentsOfFile_usedEncoding_error_( - NSString path, - ffi.Pointer enc, - ffi.Pointer> error) { + NSString path, + ffi.Pointer enc, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_388( - _id, - _lib._sel_initWithContentsOfFile_usedEncoding_error_1, - path._id, - enc, - error); + this.pointer, + _lib._sel_initWithContentsOfFile_usedEncoding_error_1, + path.pointer, + enc, + error, + ); return _ret.address == 0 ? null : NSMutableString._(_ret, _lib, retain: true, release: true); } static NSMutableString? stringWithContentsOfURL_usedEncoding_error_( - AVFAudio _lib, - NSURL url, - ffi.Pointer enc, - ffi.Pointer> error) { + AVFAudio _lib, + NSURL url, + ffi.Pointer enc, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_387( - _lib._class_NSMutableString1, - _lib._sel_stringWithContentsOfURL_usedEncoding_error_1, - url._id, - enc, - error); + _lib._class_NSMutableString1, + _lib._sel_stringWithContentsOfURL_usedEncoding_error_1, + url.pointer, + enc, + error, + ); return _ret.address == 0 ? null : NSMutableString._(_ret, _lib, retain: true, release: true); } static NSMutableString? stringWithContentsOfFile_usedEncoding_error_( - AVFAudio _lib, - NSString path, - ffi.Pointer enc, - ffi.Pointer> error) { + AVFAudio _lib, + NSString path, + ffi.Pointer enc, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_388( - _lib._class_NSMutableString1, - _lib._sel_stringWithContentsOfFile_usedEncoding_error_1, - path._id, - enc, - error); + _lib._class_NSMutableString1, + _lib._sel_stringWithContentsOfFile_usedEncoding_error_1, + path.pointer, + enc, + error, + ); return _ret.address == 0 ? null : NSMutableString._(_ret, _lib, retain: true, release: true); } static int - stringEncodingForData_encodingOptions_convertedString_usedLossyConversion_( - AVFAudio _lib, - NSData data, - NSDictionary? opts, - ffi.Pointer> string, - ffi.Pointer usedLossyConversion) { + stringEncodingForData_encodingOptions_convertedString_usedLossyConversion_( + AVFAudio _lib, + NSData data, + NSDictionary? opts, + ffi.Pointer> string, + ffi.Pointer usedLossyConversion, + ) { return _lib._objc_msgSend_389( - _lib._class_NSMutableString1, - _lib._sel_stringEncodingForData_encodingOptions_convertedString_usedLossyConversion_1, - data._id, - opts?._id ?? ffi.nullptr, - string, - usedLossyConversion); + _lib._class_NSMutableString1, + _lib._sel_stringEncodingForData_encodingOptions_convertedString_usedLossyConversion_1, + data.pointer, + opts?.pointer ?? ffi.nullptr, + string, + usedLossyConversion, + ); } static NSObject? stringWithContentsOfFile_(AVFAudio _lib, NSString path) { - final _ret = _lib._objc_msgSend_38(_lib._class_NSMutableString1, - _lib._sel_stringWithContentsOfFile_1, path._id); + final _ret = _lib._objc_msgSend_38( + _lib._class_NSMutableString1, + _lib._sel_stringWithContentsOfFile_1, + path.pointer, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } static NSObject? stringWithContentsOfURL_(AVFAudio _lib, NSURL url) { - final _ret = _lib._objc_msgSend_277(_lib._class_NSMutableString1, - _lib._sel_stringWithContentsOfURL_1, url._id); + final _ret = _lib._objc_msgSend_277( + _lib._class_NSMutableString1, + _lib._sel_stringWithContentsOfURL_1, + url.pointer, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } static NSObject? stringWithCString_length_( - AVFAudio _lib, ffi.Pointer bytes, int length) { - final _ret = _lib._objc_msgSend_384(_lib._class_NSMutableString1, - _lib._sel_stringWithCString_length_1, bytes, length); + AVFAudio _lib, + ffi.Pointer bytes, + int length, + ) { + final _ret = _lib._objc_msgSend_384( + _lib._class_NSMutableString1, + _lib._sel_stringWithCString_length_1, + bytes, + length, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } static NSObject? stringWithCString_( - AVFAudio _lib, ffi.Pointer bytes) { + AVFAudio _lib, + ffi.Pointer bytes, + ) { final _ret = _lib._objc_msgSend_372( - _lib._class_NSMutableString1, _lib._sel_stringWithCString_1, bytes); + _lib._class_NSMutableString1, + _lib._sel_stringWithCString_1, + bytes, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } static NSString pathWithComponents_(AVFAudio _lib, NSArray components) { - final _ret = _lib._objc_msgSend_396(_lib._class_NSMutableString1, - _lib._sel_pathWithComponents_1, components._id); + final _ret = _lib._objc_msgSend_396( + _lib._class_NSMutableString1, + _lib._sel_pathWithComponents_1, + components.pointer, + ); return NSString._(_ret, _lib, retain: true, release: true); } static NSMutableString new1(AVFAudio _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSMutableString1, _lib._sel_new1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSMutableString1, + _lib._sel_new1, + ); return NSMutableString._(_ret, _lib, retain: false, release: true); } static NSMutableString allocWithZone_( - AVFAudio _lib, ffi.Pointer<_NSZone> zone) { + AVFAudio _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSMutableString1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSMutableString1, + _lib._sel_allocWithZone_1, + zone, + ); return NSMutableString._(_ret, _lib, retain: false, release: true); } static NSMutableString alloc(AVFAudio _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSMutableString1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSMutableString1, + _lib._sel_alloc1, + ); return NSMutableString._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + AVFAudio _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSMutableString1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSMutableString1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSMutableString1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + AVFAudio _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSMutableString1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { - return _lib._objc_msgSend_12(_lib._class_NSMutableString1, - _lib._sel_accessInstanceVariablesDirectly1); + return _lib._objc_msgSend_12( + _lib._class_NSMutableString1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(AVFAudio _lib) { return _lib._objc_msgSend_12( - _lib._class_NSMutableString1, _lib._sel_useStoredAccessor1); + _lib._class_NSMutableString1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSMutableString1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSMutableString1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSMutableString1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSMutableString1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, NSArray keys, NSString dependentKey) { + AVFAudio _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSMutableString1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSMutableString1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_85(_lib._class_NSMutableString1, - _lib._sel_classFallbacksForKeyedArchiver1); + final _ret = _lib._objc_msgSend_85( + _lib._class_NSMutableString1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(AVFAudio _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSMutableString1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSMutableString1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } class NSNotification extends NSObject { - NSNotification._(ffi.Pointer id, AVFAudio lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSNotification._( + ffi.Pointer pointer, + AVFAudio lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSNotification] that points to the same underlying object as [other]. - static NSNotification castFrom(T other) { - return NSNotification._(other._id, other._lib, retain: true, release: true); + static NSNotification castFrom( + AVFAudio lib, + T other, + ) { + return NSNotification._(other.pointer, lib, retain: true, release: true); } /// Returns a [NSNotification] that wraps the given raw object pointer. static NSNotification castFromPointer( - AVFAudio lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + AVFAudio lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSNotification._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSNotification]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0(obj._id, obj._lib._sel_isKindOfClass_1, - obj._lib._class_NSNotification1); + static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSNotification1, + ); } NSString get name { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_name1); + final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_name1); return NSString._(_ret, _lib, retain: true, release: true); } NSObject? get object { - final _ret = _lib._objc_msgSend_17(_id, _lib._sel_object1); + final _ret = _lib._objc_msgSend_17(this.pointer, _lib._sel_object1); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } NSDictionary? get userInfo { - final _ret = _lib._objc_msgSend_390(_id, _lib._sel_userInfo1); + final _ret = _lib._objc_msgSend_390(this.pointer, _lib._sel_userInfo1); return _ret.address == 0 ? null : NSDictionary._(_ret, _lib, retain: true, release: true); } NSNotification initWithName_object_userInfo_( - NSString name, NSObject? object, NSDictionary? userInfo) { + NSString name, + NSObject? object, + NSDictionary? userInfo, + ) { final _ret = _lib._objc_msgSend_694( - _id, - _lib._sel_initWithName_object_userInfo_1, - name._id, - object?._id ?? ffi.nullptr, - userInfo?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_initWithName_object_userInfo_1, + name.pointer, + object?.pointer ?? ffi.nullptr, + userInfo?.pointer ?? ffi.nullptr, + ); return NSNotification._(_ret, _lib, retain: true, release: true); } NSNotification? initWithCoder_(NSCoder coder) { - final _ret = - _lib._objc_msgSend_47(_id, _lib._sel_initWithCoder_1, coder._id); + final _ret = _lib._objc_msgSend_47( + this.pointer, + _lib._sel_initWithCoder_1, + coder.pointer, + ); return _ret.address == 0 ? null : NSNotification._(_ret, _lib, retain: true, release: true); } static NSNotification notificationWithName_object_( - AVFAudio _lib, NSString aName, NSObject? anObject) { + AVFAudio _lib, + NSString aName, + NSObject? anObject, + ) { final _ret = _lib._objc_msgSend_374( - _lib._class_NSNotification1, - _lib._sel_notificationWithName_object_1, - aName._id, - anObject?._id ?? ffi.nullptr); + _lib._class_NSNotification1, + _lib._sel_notificationWithName_object_1, + aName.pointer, + anObject?.pointer ?? ffi.nullptr, + ); return NSNotification._(_ret, _lib, retain: true, release: true); } - static NSNotification notificationWithName_object_userInfo_(AVFAudio _lib, - NSString aName, NSObject? anObject, NSDictionary? aUserInfo) { + static NSNotification notificationWithName_object_userInfo_( + AVFAudio _lib, + NSString aName, + NSObject? anObject, + NSDictionary? aUserInfo, + ) { final _ret = _lib._objc_msgSend_694( - _lib._class_NSNotification1, - _lib._sel_notificationWithName_object_userInfo_1, - aName._id, - anObject?._id ?? ffi.nullptr, - aUserInfo?._id ?? ffi.nullptr); + _lib._class_NSNotification1, + _lib._sel_notificationWithName_object_userInfo_1, + aName.pointer, + anObject?.pointer ?? ffi.nullptr, + aUserInfo?.pointer ?? ffi.nullptr, + ); return NSNotification._(_ret, _lib, retain: true, release: true); } @override NSNotification init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSNotification._(_ret, _lib, retain: true, release: true); } static NSNotification new1(AVFAudio _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSNotification1, _lib._sel_new1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSNotification1, + _lib._sel_new1, + ); return NSNotification._(_ret, _lib, retain: false, release: true); } static NSNotification allocWithZone_( - AVFAudio _lib, ffi.Pointer<_NSZone> zone) { + AVFAudio _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSNotification1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSNotification1, + _lib._sel_allocWithZone_1, + zone, + ); return NSNotification._(_ret, _lib, retain: false, release: true); } static NSNotification alloc(AVFAudio _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSNotification1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSNotification1, + _lib._sel_alloc1, + ); return NSNotification._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + AVFAudio _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSNotification1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSNotification1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSNotification1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + AVFAudio _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSNotification1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { - return _lib._objc_msgSend_12(_lib._class_NSNotification1, - _lib._sel_accessInstanceVariablesDirectly1); + return _lib._objc_msgSend_12( + _lib._class_NSNotification1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(AVFAudio _lib) { return _lib._objc_msgSend_12( - _lib._class_NSNotification1, _lib._sel_useStoredAccessor1); + _lib._class_NSNotification1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSNotification1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSNotification1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSNotification1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSNotification1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, NSArray keys, NSString dependentKey) { + AVFAudio _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSNotification1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSNotification1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { final _ret = _lib._objc_msgSend_85( - _lib._class_NSNotification1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSNotification1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(AVFAudio _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSNotification1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSNotification1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } class NSBundle extends NSObject { - NSBundle._(ffi.Pointer id, AVFAudio lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSBundle._( + ffi.Pointer pointer, + AVFAudio lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSBundle] that points to the same underlying object as [other]. - static NSBundle castFrom(T other) { - return NSBundle._(other._id, other._lib, retain: true, release: true); + static NSBundle castFrom( + AVFAudio lib, + T other, + ) { + return NSBundle._(other.pointer, lib, retain: true, release: true); } /// Returns a [NSBundle] that wraps the given raw object pointer. - static NSBundle castFromPointer(AVFAudio lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + static NSBundle castFromPointer( + AVFAudio lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSBundle._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSBundle]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_NSBundle1); + static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSBundle1, + ); } static NSBundle getMainBundle(AVFAudio _lib) { - final _ret = - _lib._objc_msgSend_695(_lib._class_NSBundle1, _lib._sel_mainBundle1); + final _ret = _lib._objc_msgSend_695( + _lib._class_NSBundle1, + _lib._sel_mainBundle1, + ); return NSBundle._(_ret, _lib, retain: true, release: true); } static NSBundle? bundleWithPath_(AVFAudio _lib, NSString path) { final _ret = _lib._objc_msgSend_38( - _lib._class_NSBundle1, _lib._sel_bundleWithPath_1, path._id); + _lib._class_NSBundle1, + _lib._sel_bundleWithPath_1, + path.pointer, + ); return _ret.address == 0 ? null : NSBundle._(_ret, _lib, retain: true, release: true); } NSBundle? initWithPath_(NSString path) { - final _ret = _lib._objc_msgSend_38(_id, _lib._sel_initWithPath_1, path._id); + final _ret = _lib._objc_msgSend_38( + this.pointer, + _lib._sel_initWithPath_1, + path.pointer, + ); return _ret.address == 0 ? null : NSBundle._(_ret, _lib, retain: true, release: true); @@ -56698,14 +75003,21 @@ class NSBundle extends NSObject { static NSBundle? bundleWithURL_(AVFAudio _lib, NSURL url) { final _ret = _lib._objc_msgSend_277( - _lib._class_NSBundle1, _lib._sel_bundleWithURL_1, url._id); + _lib._class_NSBundle1, + _lib._sel_bundleWithURL_1, + url.pointer, + ); return _ret.address == 0 ? null : NSBundle._(_ret, _lib, retain: true, release: true); } NSBundle? initWithURL_(NSURL url) { - final _ret = _lib._objc_msgSend_277(_id, _lib._sel_initWithURL_1, url._id); + final _ret = _lib._objc_msgSend_277( + this.pointer, + _lib._sel_initWithURL_1, + url.pointer, + ); return _ret.address == 0 ? null : NSBundle._(_ret, _lib, retain: true, release: true); @@ -56713,65 +75025,84 @@ class NSBundle extends NSObject { static NSBundle bundleForClass_(AVFAudio _lib, NSObject aClass) { final _ret = _lib._objc_msgSend_696( - _lib._class_NSBundle1, _lib._sel_bundleForClass_1, aClass._id); + _lib._class_NSBundle1, + _lib._sel_bundleForClass_1, + aClass.pointer, + ); return NSBundle._(_ret, _lib, retain: true, release: true); } static NSBundle? bundleWithIdentifier_(AVFAudio _lib, NSString identifier) { - final _ret = _lib._objc_msgSend_697(_lib._class_NSBundle1, - _lib._sel_bundleWithIdentifier_1, identifier._id); + final _ret = _lib._objc_msgSend_697( + _lib._class_NSBundle1, + _lib._sel_bundleWithIdentifier_1, + identifier.pointer, + ); return _ret.address == 0 ? null : NSBundle._(_ret, _lib, retain: true, release: true); } static NSArray getAllBundles(AVFAudio _lib) { - final _ret = - _lib._objc_msgSend_85(_lib._class_NSBundle1, _lib._sel_allBundles1); + final _ret = _lib._objc_msgSend_85( + _lib._class_NSBundle1, + _lib._sel_allBundles1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSArray getAllFrameworks(AVFAudio _lib) { - final _ret = - _lib._objc_msgSend_85(_lib._class_NSBundle1, _lib._sel_allFrameworks1); + final _ret = _lib._objc_msgSend_85( + _lib._class_NSBundle1, + _lib._sel_allFrameworks1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } bool load() { - return _lib._objc_msgSend_12(_id, _lib._sel_load1); + return _lib._objc_msgSend_12(this.pointer, _lib._sel_load1); } bool get loaded { - return _lib._objc_msgSend_12(_id, _lib._sel_isLoaded1); + return _lib._objc_msgSend_12(this.pointer, _lib._sel_isLoaded1); } bool unload() { - return _lib._objc_msgSend_12(_id, _lib._sel_unload1); + return _lib._objc_msgSend_12(this.pointer, _lib._sel_unload1); } - bool preflightAndReturnError_(ffi.Pointer> error) { + bool preflightAndReturnError_( + ffi.Pointer> error, + ) { return _lib._objc_msgSend_255( - _id, _lib._sel_preflightAndReturnError_1, error); + this.pointer, + _lib._sel_preflightAndReturnError_1, + error, + ); } - bool loadAndReturnError_(ffi.Pointer> error) { - return _lib._objc_msgSend_255(_id, _lib._sel_loadAndReturnError_1, error); + bool loadAndReturnError_(ffi.Pointer> error) { + return _lib._objc_msgSend_255( + this.pointer, + _lib._sel_loadAndReturnError_1, + error, + ); } NSURL get bundleURL { - final _ret = _lib._objc_msgSend_466(_id, _lib._sel_bundleURL1); + final _ret = _lib._objc_msgSend_466(this.pointer, _lib._sel_bundleURL1); return NSURL._(_ret, _lib, retain: true, release: true); } NSURL? get resourceURL { - final _ret = _lib._objc_msgSend_45(_id, _lib._sel_resourceURL1); + final _ret = _lib._objc_msgSend_45(this.pointer, _lib._sel_resourceURL1); return _ret.address == 0 ? null : NSURL._(_ret, _lib, retain: true, release: true); } NSURL? get executableURL { - final _ret = _lib._objc_msgSend_45(_id, _lib._sel_executableURL1); + final _ret = _lib._objc_msgSend_45(this.pointer, _lib._sel_executableURL1); return _ret.address == 0 ? null : NSURL._(_ret, _lib, retain: true, release: true); @@ -56779,61 +75110,79 @@ class NSBundle extends NSObject { NSURL? URLForAuxiliaryExecutable_(NSString executableName) { final _ret = _lib._objc_msgSend_257( - _id, _lib._sel_URLForAuxiliaryExecutable_1, executableName._id); + this.pointer, + _lib._sel_URLForAuxiliaryExecutable_1, + executableName.pointer, + ); return _ret.address == 0 ? null : NSURL._(_ret, _lib, retain: true, release: true); } NSURL? get privateFrameworksURL { - final _ret = _lib._objc_msgSend_45(_id, _lib._sel_privateFrameworksURL1); + final _ret = _lib._objc_msgSend_45( + this.pointer, + _lib._sel_privateFrameworksURL1, + ); return _ret.address == 0 ? null : NSURL._(_ret, _lib, retain: true, release: true); } NSURL? get sharedFrameworksURL { - final _ret = _lib._objc_msgSend_45(_id, _lib._sel_sharedFrameworksURL1); + final _ret = _lib._objc_msgSend_45( + this.pointer, + _lib._sel_sharedFrameworksURL1, + ); return _ret.address == 0 ? null : NSURL._(_ret, _lib, retain: true, release: true); } NSURL? get sharedSupportURL { - final _ret = _lib._objc_msgSend_45(_id, _lib._sel_sharedSupportURL1); + final _ret = _lib._objc_msgSend_45( + this.pointer, + _lib._sel_sharedSupportURL1, + ); return _ret.address == 0 ? null : NSURL._(_ret, _lib, retain: true, release: true); } NSURL? get builtInPlugInsURL { - final _ret = _lib._objc_msgSend_45(_id, _lib._sel_builtInPlugInsURL1); + final _ret = _lib._objc_msgSend_45( + this.pointer, + _lib._sel_builtInPlugInsURL1, + ); return _ret.address == 0 ? null : NSURL._(_ret, _lib, retain: true, release: true); } NSURL? get appStoreReceiptURL { - final _ret = _lib._objc_msgSend_45(_id, _lib._sel_appStoreReceiptURL1); + final _ret = _lib._objc_msgSend_45( + this.pointer, + _lib._sel_appStoreReceiptURL1, + ); return _ret.address == 0 ? null : NSURL._(_ret, _lib, retain: true, release: true); } NSString get bundlePath { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_bundlePath1); + final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_bundlePath1); return NSString._(_ret, _lib, retain: true, release: true); } NSString? get resourcePath { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_resourcePath1); + final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_resourcePath1); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } NSString? get executablePath { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_executablePath1); + final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_executablePath1); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); @@ -56841,66 +75190,88 @@ class NSBundle extends NSObject { NSString? pathForAuxiliaryExecutable_(NSString executableName) { final _ret = _lib._objc_msgSend_186( - _id, _lib._sel_pathForAuxiliaryExecutable_1, executableName._id); + this.pointer, + _lib._sel_pathForAuxiliaryExecutable_1, + executableName.pointer, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } NSString? get privateFrameworksPath { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_privateFrameworksPath1); + final _ret = _lib._objc_msgSend_44( + this.pointer, + _lib._sel_privateFrameworksPath1, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } NSString? get sharedFrameworksPath { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_sharedFrameworksPath1); + final _ret = _lib._objc_msgSend_44( + this.pointer, + _lib._sel_sharedFrameworksPath1, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } NSString? get sharedSupportPath { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_sharedSupportPath1); + final _ret = _lib._objc_msgSend_44( + this.pointer, + _lib._sel_sharedSupportPath1, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } NSString? get builtInPlugInsPath { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_builtInPlugInsPath1); + final _ret = _lib._objc_msgSend_44( + this.pointer, + _lib._sel_builtInPlugInsPath1, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } static NSURL? URLForResource_withExtension_subdirectory_inBundleWithURL_( - AVFAudio _lib, - NSString? name, - NSString? ext, - NSString? subpath, - NSURL bundleURL) { + AVFAudio _lib, + NSString? name, + NSString? ext, + NSString? subpath, + NSURL bundleURL, + ) { final _ret = _lib._objc_msgSend_698( - _lib._class_NSBundle1, - _lib._sel_URLForResource_withExtension_subdirectory_inBundleWithURL_1, - name?._id ?? ffi.nullptr, - ext?._id ?? ffi.nullptr, - subpath?._id ?? ffi.nullptr, - bundleURL._id); + _lib._class_NSBundle1, + _lib._sel_URLForResource_withExtension_subdirectory_inBundleWithURL_1, + name?.pointer ?? ffi.nullptr, + ext?.pointer ?? ffi.nullptr, + subpath?.pointer ?? ffi.nullptr, + bundleURL.pointer, + ); return _ret.address == 0 ? null : NSURL._(_ret, _lib, retain: true, release: true); } static NSArray? URLsForResourcesWithExtension_subdirectory_inBundleWithURL_( - AVFAudio _lib, NSString? ext, NSString? subpath, NSURL bundleURL) { + AVFAudio _lib, + NSString? ext, + NSString? subpath, + NSURL bundleURL, + ) { final _ret = _lib._objc_msgSend_699( - _lib._class_NSBundle1, - _lib._sel_URLsForResourcesWithExtension_subdirectory_inBundleWithURL_1, - ext?._id ?? ffi.nullptr, - subpath?._id ?? ffi.nullptr, - bundleURL._id); + _lib._class_NSBundle1, + _lib._sel_URLsForResourcesWithExtension_subdirectory_inBundleWithURL_1, + ext?.pointer ?? ffi.nullptr, + subpath?.pointer ?? ffi.nullptr, + bundleURL.pointer, + ); return _ret.address == 0 ? null : NSArray._(_ret, _lib, retain: true, release: true); @@ -56908,162 +75279,217 @@ class NSBundle extends NSObject { NSURL? URLForResource_withExtension_(NSString? name, NSString? ext) { final _ret = _lib._objc_msgSend_700( - _id, - _lib._sel_URLForResource_withExtension_1, - name?._id ?? ffi.nullptr, - ext?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_URLForResource_withExtension_1, + name?.pointer ?? ffi.nullptr, + ext?.pointer ?? ffi.nullptr, + ); return _ret.address == 0 ? null : NSURL._(_ret, _lib, retain: true, release: true); } NSURL? URLForResource_withExtension_subdirectory_( - NSString? name, NSString? ext, NSString? subpath) { + NSString? name, + NSString? ext, + NSString? subpath, + ) { final _ret = _lib._objc_msgSend_701( - _id, - _lib._sel_URLForResource_withExtension_subdirectory_1, - name?._id ?? ffi.nullptr, - ext?._id ?? ffi.nullptr, - subpath?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_URLForResource_withExtension_subdirectory_1, + name?.pointer ?? ffi.nullptr, + ext?.pointer ?? ffi.nullptr, + subpath?.pointer ?? ffi.nullptr, + ); return _ret.address == 0 ? null : NSURL._(_ret, _lib, retain: true, release: true); } - NSURL? URLForResource_withExtension_subdirectory_localization_(NSString? name, - NSString? ext, NSString? subpath, NSString? localizationName) { + NSURL? URLForResource_withExtension_subdirectory_localization_( + NSString? name, + NSString? ext, + NSString? subpath, + NSString? localizationName, + ) { final _ret = _lib._objc_msgSend_702( - _id, - _lib._sel_URLForResource_withExtension_subdirectory_localization_1, - name?._id ?? ffi.nullptr, - ext?._id ?? ffi.nullptr, - subpath?._id ?? ffi.nullptr, - localizationName?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_URLForResource_withExtension_subdirectory_localization_1, + name?.pointer ?? ffi.nullptr, + ext?.pointer ?? ffi.nullptr, + subpath?.pointer ?? ffi.nullptr, + localizationName?.pointer ?? ffi.nullptr, + ); return _ret.address == 0 ? null : NSURL._(_ret, _lib, retain: true, release: true); } NSArray? URLsForResourcesWithExtension_subdirectory_( - NSString? ext, NSString? subpath) { + NSString? ext, + NSString? subpath, + ) { final _ret = _lib._objc_msgSend_703( - _id, - _lib._sel_URLsForResourcesWithExtension_subdirectory_1, - ext?._id ?? ffi.nullptr, - subpath?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_URLsForResourcesWithExtension_subdirectory_1, + ext?.pointer ?? ffi.nullptr, + subpath?.pointer ?? ffi.nullptr, + ); return _ret.address == 0 ? null : NSArray._(_ret, _lib, retain: true, release: true); } NSArray? URLsForResourcesWithExtension_subdirectory_localization_( - NSString? ext, NSString? subpath, NSString? localizationName) { + NSString? ext, + NSString? subpath, + NSString? localizationName, + ) { final _ret = _lib._objc_msgSend_704( - _id, - _lib._sel_URLsForResourcesWithExtension_subdirectory_localization_1, - ext?._id ?? ffi.nullptr, - subpath?._id ?? ffi.nullptr, - localizationName?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_URLsForResourcesWithExtension_subdirectory_localization_1, + ext?.pointer ?? ffi.nullptr, + subpath?.pointer ?? ffi.nullptr, + localizationName?.pointer ?? ffi.nullptr, + ); return _ret.address == 0 ? null : NSArray._(_ret, _lib, retain: true, release: true); } static NSString? pathForResource_ofType_inDirectory_( - AVFAudio _lib, NSString? name, NSString? ext, NSString bundlePath) { + AVFAudio _lib, + NSString? name, + NSString? ext, + NSString bundlePath, + ) { final _ret = _lib._objc_msgSend_705( - _lib._class_NSBundle1, - _lib._sel_pathForResource_ofType_inDirectory_1, - name?._id ?? ffi.nullptr, - ext?._id ?? ffi.nullptr, - bundlePath._id); + _lib._class_NSBundle1, + _lib._sel_pathForResource_ofType_inDirectory_1, + name?.pointer ?? ffi.nullptr, + ext?.pointer ?? ffi.nullptr, + bundlePath.pointer, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } static NSArray pathsForResourcesOfType_inDirectory_( - AVFAudio _lib, NSString? ext, NSString bundlePath) { + AVFAudio _lib, + NSString? ext, + NSString bundlePath, + ) { final _ret = _lib._objc_msgSend_706( - _lib._class_NSBundle1, - _lib._sel_pathsForResourcesOfType_inDirectory_1, - ext?._id ?? ffi.nullptr, - bundlePath._id); + _lib._class_NSBundle1, + _lib._sel_pathsForResourcesOfType_inDirectory_1, + ext?.pointer ?? ffi.nullptr, + bundlePath.pointer, + ); return NSArray._(_ret, _lib, retain: true, release: true); } NSString? pathForResource_ofType_(NSString? name, NSString? ext) { - final _ret = _lib._objc_msgSend_707(_id, _lib._sel_pathForResource_ofType_1, - name?._id ?? ffi.nullptr, ext?._id ?? ffi.nullptr); + final _ret = _lib._objc_msgSend_707( + this.pointer, + _lib._sel_pathForResource_ofType_1, + name?.pointer ?? ffi.nullptr, + ext?.pointer ?? ffi.nullptr, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } - NSString? pathForResource_ofType_inDirectory_forLocalization_(NSString? name, - NSString? ext, NSString? subpath, NSString? localizationName) { + NSString? pathForResource_ofType_inDirectory_forLocalization_( + NSString? name, + NSString? ext, + NSString? subpath, + NSString? localizationName, + ) { final _ret = _lib._objc_msgSend_708( - _id, - _lib._sel_pathForResource_ofType_inDirectory_forLocalization_1, - name?._id ?? ffi.nullptr, - ext?._id ?? ffi.nullptr, - subpath?._id ?? ffi.nullptr, - localizationName?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_pathForResource_ofType_inDirectory_forLocalization_1, + name?.pointer ?? ffi.nullptr, + ext?.pointer ?? ffi.nullptr, + subpath?.pointer ?? ffi.nullptr, + localizationName?.pointer ?? ffi.nullptr, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } NSArray pathsForResourcesOfType_inDirectory_forLocalization_( - NSString? ext, NSString? subpath, NSString? localizationName) { + NSString? ext, + NSString? subpath, + NSString? localizationName, + ) { final _ret = _lib._objc_msgSend_709( - _id, - _lib._sel_pathsForResourcesOfType_inDirectory_forLocalization_1, - ext?._id ?? ffi.nullptr, - subpath?._id ?? ffi.nullptr, - localizationName?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_pathsForResourcesOfType_inDirectory_forLocalization_1, + ext?.pointer ?? ffi.nullptr, + subpath?.pointer ?? ffi.nullptr, + localizationName?.pointer ?? ffi.nullptr, + ); return NSArray._(_ret, _lib, retain: true, release: true); } NSString localizedStringForKey_value_table_( - NSString key, NSString? value, NSString? tableName) { + NSString key, + NSString? value, + NSString? tableName, + ) { final _ret = _lib._objc_msgSend_710( - _id, - _lib._sel_localizedStringForKey_value_table_1, - key._id, - value?._id ?? ffi.nullptr, - tableName?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_localizedStringForKey_value_table_1, + key.pointer, + value?.pointer ?? ffi.nullptr, + tableName?.pointer ?? ffi.nullptr, + ); return NSString._(_ret, _lib, retain: true, release: true); } NSAttributedString localizedAttributedStringForKey_value_table_( - NSString key, NSString? value, NSString? tableName) { + NSString key, + NSString? value, + NSString? tableName, + ) { final _ret = _lib._objc_msgSend_736( - _id, - _lib._sel_localizedAttributedStringForKey_value_table_1, - key._id, - value?._id ?? ffi.nullptr, - tableName?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_localizedAttributedStringForKey_value_table_1, + key.pointer, + value?.pointer ?? ffi.nullptr, + tableName?.pointer ?? ffi.nullptr, + ); return NSAttributedString._(_ret, _lib, retain: true, release: true); } NSString? get bundleIdentifier { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_bundleIdentifier1); + final _ret = _lib._objc_msgSend_44( + this.pointer, + _lib._sel_bundleIdentifier1, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } NSDictionary? get infoDictionary { - final _ret = _lib._objc_msgSend_390(_id, _lib._sel_infoDictionary1); + final _ret = _lib._objc_msgSend_390( + this.pointer, + _lib._sel_infoDictionary1, + ); return _ret.address == 0 ? null : NSDictionary._(_ret, _lib, retain: true, release: true); } NSDictionary? get localizedInfoDictionary { - final _ret = - _lib._objc_msgSend_390(_id, _lib._sel_localizedInfoDictionary1); + final _ret = _lib._objc_msgSend_390( + this.pointer, + _lib._sel_localizedInfoDictionary1, + ); return _ret.address == 0 ? null : NSDictionary._(_ret, _lib, retain: true, release: true); @@ -57071,63 +75497,87 @@ class NSBundle extends NSObject { NSObject? objectForInfoDictionaryKey_(NSString key) { final _ret = _lib._objc_msgSend_38( - _id, _lib._sel_objectForInfoDictionaryKey_1, key._id); + this.pointer, + _lib._sel_objectForInfoDictionaryKey_1, + key.pointer, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } NSObject? classNamed_(NSString className) { - final _ret = - _lib._objc_msgSend_38(_id, _lib._sel_classNamed_1, className._id); + final _ret = _lib._objc_msgSend_38( + this.pointer, + _lib._sel_classNamed_1, + className.pointer, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } NSObject? get principalClass { - final _ret = _lib._objc_msgSend_17(_id, _lib._sel_principalClass1); + final _ret = _lib._objc_msgSend_17(this.pointer, _lib._sel_principalClass1); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } NSArray get preferredLocalizations { - final _ret = _lib._objc_msgSend_85(_id, _lib._sel_preferredLocalizations1); + final _ret = _lib._objc_msgSend_85( + this.pointer, + _lib._sel_preferredLocalizations1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } NSArray get localizations { - final _ret = _lib._objc_msgSend_85(_id, _lib._sel_localizations1); + final _ret = _lib._objc_msgSend_85(this.pointer, _lib._sel_localizations1); return NSArray._(_ret, _lib, retain: true, release: true); } NSString? get developmentLocalization { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_developmentLocalization1); + final _ret = _lib._objc_msgSend_44( + this.pointer, + _lib._sel_developmentLocalization1, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } static NSArray preferredLocalizationsFromArray_( - AVFAudio _lib, NSArray localizationsArray) { - final _ret = _lib._objc_msgSend_68(_lib._class_NSBundle1, - _lib._sel_preferredLocalizationsFromArray_1, localizationsArray._id); + AVFAudio _lib, + NSArray localizationsArray, + ) { + final _ret = _lib._objc_msgSend_68( + _lib._class_NSBundle1, + _lib._sel_preferredLocalizationsFromArray_1, + localizationsArray.pointer, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSArray preferredLocalizationsFromArray_forPreferences_( - AVFAudio _lib, NSArray localizationsArray, NSArray? preferencesArray) { + AVFAudio _lib, + NSArray localizationsArray, + NSArray? preferencesArray, + ) { final _ret = _lib._objc_msgSend_737( - _lib._class_NSBundle1, - _lib._sel_preferredLocalizationsFromArray_forPreferences_1, - localizationsArray._id, - preferencesArray?._id ?? ffi.nullptr); + _lib._class_NSBundle1, + _lib._sel_preferredLocalizationsFromArray_forPreferences_1, + localizationsArray.pointer, + preferencesArray?.pointer ?? ffi.nullptr, + ); return NSArray._(_ret, _lib, retain: true, release: true); } NSArray? get executableArchitectures { - final _ret = _lib._objc_msgSend_84(_id, _lib._sel_executableArchitectures1); + final _ret = _lib._objc_msgSend_84( + this.pointer, + _lib._sel_executableArchitectures1, + ); return _ret.address == 0 ? null : NSArray._(_ret, _lib, retain: true, release: true); @@ -57135,20 +75585,30 @@ class NSBundle extends NSObject { void setPreservationPriority_forTags_(double priority, NSSet tags) { _lib._objc_msgSend_738( - _id, _lib._sel_setPreservationPriority_forTags_1, priority, tags._id); + this.pointer, + _lib._sel_setPreservationPriority_forTags_1, + priority, + tags.pointer, + ); } double preservationPriorityForTag_(NSString tag) { - return _lib._objc_msgSend_useVariants1 + return objc.useMsgSendVariants ? _lib._objc_msgSend_308_fpret( - _id, _lib._sel_preservationPriorityForTag_1, tag._id) + this.pointer, + _lib._sel_preservationPriorityForTag_1, + tag.pointer, + ) : _lib._objc_msgSend_308( - _id, _lib._sel_preservationPriorityForTag_1, tag._id); + this.pointer, + _lib._sel_preservationPriorityForTag_1, + tag.pointer, + ); } @override NSBundle init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSBundle._(_ret, _lib, retain: true, release: true); } @@ -57159,7 +75619,10 @@ class NSBundle extends NSObject { static NSBundle allocWithZone_(AVFAudio _lib, ffi.Pointer<_NSZone> zone) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSBundle1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSBundle1, + _lib._sel_allocWithZone_1, + zone, + ); return NSBundle._(_ret, _lib, retain: false, release: true); } @@ -57169,117 +75632,172 @@ class NSBundle extends NSObject { } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + AVFAudio _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSBundle1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSBundle1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSBundle1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + AVFAudio _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSBundle1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { return _lib._objc_msgSend_12( - _lib._class_NSBundle1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_NSBundle1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(AVFAudio _lib) { return _lib._objc_msgSend_12( - _lib._class_NSBundle1, _lib._sel_useStoredAccessor1); + _lib._class_NSBundle1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSBundle1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSBundle1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSBundle1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSBundle1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, NSArray keys, NSString dependentKey) { + AVFAudio _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSBundle1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSBundle1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { final _ret = _lib._objc_msgSend_85( - _lib._class_NSBundle1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSBundle1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(AVFAudio _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSBundle1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSBundle1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } class NSAttributedString extends NSObject { - NSAttributedString._(ffi.Pointer id, AVFAudio lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSAttributedString._( + ffi.Pointer pointer, + AVFAudio lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSAttributedString] that points to the same underlying object as [other]. - static NSAttributedString castFrom(T other) { - return NSAttributedString._(other._id, other._lib, - retain: true, release: true); + static NSAttributedString castFrom( + AVFAudio lib, + T other, + ) { + return NSAttributedString._( + other.pointer, + lib, + retain: true, + release: true, + ); } /// Returns a [NSAttributedString] that wraps the given raw object pointer. static NSAttributedString castFromPointer( - AVFAudio lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + AVFAudio lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSAttributedString._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSAttributedString]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0(obj._id, obj._lib._sel_isKindOfClass_1, - obj._lib._class_NSAttributedString1); + static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSAttributedString1, + ); } NSString get string { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_string1); + final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_string1); return NSString._(_ret, _lib, retain: true, release: true); } NSDictionary attributesAtIndex_effectiveRange_( - int location, ffi.Pointer<_NSRange> range) { + int location, + ffi.Pointer<_NSRange> range, + ) { final _ret = _lib._objc_msgSend_711( - _id, _lib._sel_attributesAtIndex_effectiveRange_1, location, range); + this.pointer, + _lib._sel_attributesAtIndex_effectiveRange_1, + location, + range, + ); return NSDictionary._(_ret, _lib, retain: true, release: true); } int get length { - return _lib._objc_msgSend_10(_id, _lib._sel_length1); + return _lib._objc_msgSend_10(this.pointer, _lib._sel_length1); } NSObject? attribute_atIndex_effectiveRange_( - NSString attrName, int location, ffi.Pointer<_NSRange> range) { + NSString attrName, + int location, + ffi.Pointer<_NSRange> range, + ) { final _ret = _lib._objc_msgSend_712( - _id, - _lib._sel_attribute_atIndex_effectiveRange_1, - attrName._id, - location, - range); + this.pointer, + _lib._sel_attribute_atIndex_effectiveRange_1, + attrName.pointer, + location, + range, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); @@ -57287,30 +75805,42 @@ class NSAttributedString extends NSObject { NSAttributedString attributedSubstringFromRange_(_NSRange range) { final _ret = _lib._objc_msgSend_713( - _id, _lib._sel_attributedSubstringFromRange_1, range); + this.pointer, + _lib._sel_attributedSubstringFromRange_1, + range, + ); return NSAttributedString._(_ret, _lib, retain: true, release: true); } NSDictionary attributesAtIndex_longestEffectiveRange_inRange_( - int location, ffi.Pointer<_NSRange> range, _NSRange rangeLimit) { + int location, + ffi.Pointer<_NSRange> range, + _NSRange rangeLimit, + ) { final _ret = _lib._objc_msgSend_714( - _id, - _lib._sel_attributesAtIndex_longestEffectiveRange_inRange_1, - location, - range, - rangeLimit); + this.pointer, + _lib._sel_attributesAtIndex_longestEffectiveRange_inRange_1, + location, + range, + rangeLimit, + ); return NSDictionary._(_ret, _lib, retain: true, release: true); } - NSObject? attribute_atIndex_longestEffectiveRange_inRange_(NSString attrName, - int location, ffi.Pointer<_NSRange> range, _NSRange rangeLimit) { + NSObject? attribute_atIndex_longestEffectiveRange_inRange_( + NSString attrName, + int location, + ffi.Pointer<_NSRange> range, + _NSRange rangeLimit, + ) { final _ret = _lib._objc_msgSend_715( - _id, - _lib._sel_attribute_atIndex_longestEffectiveRange_inRange_1, - attrName._id, - location, - range, - rangeLimit); + this.pointer, + _lib._sel_attribute_atIndex_longestEffectiveRange_inRange_1, + attrName.pointer, + location, + range, + rangeLimit, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); @@ -57318,295 +75848,387 @@ class NSAttributedString extends NSObject { bool isEqualToAttributedString_(NSAttributedString other) { return _lib._objc_msgSend_716( - _id, _lib._sel_isEqualToAttributedString_1, other._id); + this.pointer, + _lib._sel_isEqualToAttributedString_1, + other.pointer, + ); } NSAttributedString initWithString_(NSString str) { - final _ret = - _lib._objc_msgSend_31(_id, _lib._sel_initWithString_1, str._id); + final _ret = _lib._objc_msgSend_31( + this.pointer, + _lib._sel_initWithString_1, + str.pointer, + ); return NSAttributedString._(_ret, _lib, retain: true, release: true); } NSAttributedString initWithString_attributes_( - NSString str, NSDictionary? attrs) { + NSString str, + NSDictionary? attrs, + ) { final _ret = _lib._objc_msgSend_717( - _id, - _lib._sel_initWithString_attributes_1, - str._id, - attrs?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_initWithString_attributes_1, + str.pointer, + attrs?.pointer ?? ffi.nullptr, + ); return NSAttributedString._(_ret, _lib, retain: true, release: true); } NSAttributedString initWithAttributedString_(NSAttributedString attrStr) { final _ret = _lib._objc_msgSend_718( - _id, _lib._sel_initWithAttributedString_1, attrStr._id); + this.pointer, + _lib._sel_initWithAttributedString_1, + attrStr.pointer, + ); return NSAttributedString._(_ret, _lib, retain: true, release: true); } - void enumerateAttributesInRange_options_usingBlock_(_NSRange enumerationRange, - int opts, ObjCBlock_ffiVoid_NSDictionary_NSRange_bool block) { + void enumerateAttributesInRange_options_usingBlock_( + _NSRange enumerationRange, + int opts, + ObjCBlock_ffiVoid_NSDictionary_NSRange_bool block, + ) { _lib._objc_msgSend_719( - _id, - _lib._sel_enumerateAttributesInRange_options_usingBlock_1, - enumerationRange, - opts, - block._id); + this.pointer, + _lib._sel_enumerateAttributesInRange_options_usingBlock_1, + enumerationRange, + opts, + block.pointer, + ); } void enumerateAttribute_inRange_options_usingBlock_( - NSString attrName, - _NSRange enumerationRange, - int opts, - ObjCBlock_ffiVoid_ObjCObject_NSRange_bool block) { + NSString attrName, + _NSRange enumerationRange, + int opts, + ObjCBlock_ffiVoid_objcObjCObject_NSRange_bool block, + ) { _lib._objc_msgSend_720( - _id, - _lib._sel_enumerateAttribute_inRange_options_usingBlock_1, - attrName._id, - enumerationRange, - opts, - block._id); + this.pointer, + _lib._sel_enumerateAttribute_inRange_options_usingBlock_1, + attrName.pointer, + enumerationRange, + opts, + block.pointer, + ); } NSAttributedString? - initWithContentsOfMarkdownFileAtURL_options_baseURL_error_( - NSURL markdownFile, - NSAttributedStringMarkdownParsingOptions? options, - NSURL? baseURL, - ffi.Pointer> error) { + initWithContentsOfMarkdownFileAtURL_options_baseURL_error_( + NSURL markdownFile, + NSAttributedStringMarkdownParsingOptions? options, + NSURL? baseURL, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_725( - _id, - _lib._sel_initWithContentsOfMarkdownFileAtURL_options_baseURL_error_1, - markdownFile._id, - options?._id ?? ffi.nullptr, - baseURL?._id ?? ffi.nullptr, - error); + this.pointer, + _lib._sel_initWithContentsOfMarkdownFileAtURL_options_baseURL_error_1, + markdownFile.pointer, + options?.pointer ?? ffi.nullptr, + baseURL?.pointer ?? ffi.nullptr, + error, + ); return _ret.address == 0 ? null : NSAttributedString._(_ret, _lib, retain: true, release: true); } NSAttributedString? initWithMarkdown_options_baseURL_error_( - NSData markdown, - NSAttributedStringMarkdownParsingOptions? options, - NSURL? baseURL, - ffi.Pointer> error) { + NSData markdown, + NSAttributedStringMarkdownParsingOptions? options, + NSURL? baseURL, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_726( - _id, - _lib._sel_initWithMarkdown_options_baseURL_error_1, - markdown._id, - options?._id ?? ffi.nullptr, - baseURL?._id ?? ffi.nullptr, - error); + this.pointer, + _lib._sel_initWithMarkdown_options_baseURL_error_1, + markdown.pointer, + options?.pointer ?? ffi.nullptr, + baseURL?.pointer ?? ffi.nullptr, + error, + ); return _ret.address == 0 ? null : NSAttributedString._(_ret, _lib, retain: true, release: true); } NSAttributedString? initWithMarkdownString_options_baseURL_error_( - NSString markdownString, - NSAttributedStringMarkdownParsingOptions? options, - NSURL? baseURL, - ffi.Pointer> error) { + NSString markdownString, + NSAttributedStringMarkdownParsingOptions? options, + NSURL? baseURL, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_727( - _id, - _lib._sel_initWithMarkdownString_options_baseURL_error_1, - markdownString._id, - options?._id ?? ffi.nullptr, - baseURL?._id ?? ffi.nullptr, - error); + this.pointer, + _lib._sel_initWithMarkdownString_options_baseURL_error_1, + markdownString.pointer, + options?.pointer ?? ffi.nullptr, + baseURL?.pointer ?? ffi.nullptr, + error, + ); return _ret.address == 0 ? null : NSAttributedString._(_ret, _lib, retain: true, release: true); } NSAttributedString initWithFormat_options_locale_( - NSAttributedString format, int options, NSLocale? locale) { + NSAttributedString format, + int options, + NSLocale? locale, + ) { final _ret = _lib._objc_msgSend_728( - _id, - _lib._sel_initWithFormat_options_locale_1, - format._id, - options, - locale?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_initWithFormat_options_locale_1, + format.pointer, + options, + locale?.pointer ?? ffi.nullptr, + ); return NSAttributedString._(_ret, _lib, retain: true, release: true); } NSAttributedString initWithFormat_options_locale_arguments_( - NSAttributedString format, - int options, - NSLocale? locale, - ffi.Pointer<__va_list_tag> arguments) { + NSAttributedString format, + int options, + NSLocale? locale, + ffi.Pointer<__va_list_tag> arguments, + ) { final _ret = _lib._objc_msgSend_729( - _id, - _lib._sel_initWithFormat_options_locale_arguments_1, - format._id, - options, - locale?._id ?? ffi.nullptr, - arguments); + this.pointer, + _lib._sel_initWithFormat_options_locale_arguments_1, + format.pointer, + options, + locale?.pointer ?? ffi.nullptr, + arguments, + ); return NSAttributedString._(_ret, _lib, retain: true, release: true); } static NSAttributedString localizedAttributedStringWithFormat_( - AVFAudio _lib, NSAttributedString format) { - final _ret = _lib._objc_msgSend_718(_lib._class_NSAttributedString1, - _lib._sel_localizedAttributedStringWithFormat_1, format._id); + AVFAudio _lib, + NSAttributedString format, + ) { + final _ret = _lib._objc_msgSend_718( + _lib._class_NSAttributedString1, + _lib._sel_localizedAttributedStringWithFormat_1, + format.pointer, + ); return NSAttributedString._(_ret, _lib, retain: true, release: true); } static NSAttributedString localizedAttributedStringWithFormat_options_( - AVFAudio _lib, NSAttributedString format, int options) { + AVFAudio _lib, + NSAttributedString format, + int options, + ) { final _ret = _lib._objc_msgSend_730( - _lib._class_NSAttributedString1, - _lib._sel_localizedAttributedStringWithFormat_options_1, - format._id, - options); + _lib._class_NSAttributedString1, + _lib._sel_localizedAttributedStringWithFormat_options_1, + format.pointer, + options, + ); return NSAttributedString._(_ret, _lib, retain: true, release: true); } NSAttributedString initWithFormat_options_locale_context_( - NSAttributedString format, - int options, - NSLocale? locale, - NSDictionary context) { + NSAttributedString format, + int options, + NSLocale? locale, + NSDictionary context, + ) { final _ret = _lib._objc_msgSend_731( - _id, - _lib._sel_initWithFormat_options_locale_context_1, - format._id, - options, - locale?._id ?? ffi.nullptr, - context._id); + this.pointer, + _lib._sel_initWithFormat_options_locale_context_1, + format.pointer, + options, + locale?.pointer ?? ffi.nullptr, + context.pointer, + ); return NSAttributedString._(_ret, _lib, retain: true, release: true); } NSAttributedString initWithFormat_options_locale_context_arguments_( - NSAttributedString format, - int options, - NSLocale? locale, - NSDictionary context, - ffi.Pointer<__va_list_tag> arguments) { + NSAttributedString format, + int options, + NSLocale? locale, + NSDictionary context, + ffi.Pointer<__va_list_tag> arguments, + ) { final _ret = _lib._objc_msgSend_732( - _id, - _lib._sel_initWithFormat_options_locale_context_arguments_1, - format._id, - options, - locale?._id ?? ffi.nullptr, - context._id, - arguments); + this.pointer, + _lib._sel_initWithFormat_options_locale_context_arguments_1, + format.pointer, + options, + locale?.pointer ?? ffi.nullptr, + context.pointer, + arguments, + ); return NSAttributedString._(_ret, _lib, retain: true, release: true); } static NSAttributedString localizedAttributedStringWithFormat_context_( - AVFAudio _lib, NSAttributedString format, NSDictionary context) { + AVFAudio _lib, + NSAttributedString format, + NSDictionary context, + ) { final _ret = _lib._objc_msgSend_733( - _lib._class_NSAttributedString1, - _lib._sel_localizedAttributedStringWithFormat_context_1, - format._id, - context._id); + _lib._class_NSAttributedString1, + _lib._sel_localizedAttributedStringWithFormat_context_1, + format.pointer, + context.pointer, + ); return NSAttributedString._(_ret, _lib, retain: true, release: true); } static NSAttributedString - localizedAttributedStringWithFormat_options_context_(AVFAudio _lib, - NSAttributedString format, int options, NSDictionary context) { + localizedAttributedStringWithFormat_options_context_( + AVFAudio _lib, + NSAttributedString format, + int options, + NSDictionary context, + ) { final _ret = _lib._objc_msgSend_734( - _lib._class_NSAttributedString1, - _lib._sel_localizedAttributedStringWithFormat_options_context_1, - format._id, - options, - context._id); + _lib._class_NSAttributedString1, + _lib._sel_localizedAttributedStringWithFormat_options_context_1, + format.pointer, + options, + context.pointer, + ); return NSAttributedString._(_ret, _lib, retain: true, release: true); } NSAttributedString attributedStringByInflectingString() { final _ret = _lib._objc_msgSend_735( - _id, _lib._sel_attributedStringByInflectingString1); + this.pointer, + _lib._sel_attributedStringByInflectingString1, + ); return NSAttributedString._(_ret, _lib, retain: true, release: true); } @override NSAttributedString init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSAttributedString._(_ret, _lib, retain: true, release: true); } static NSAttributedString new1(AVFAudio _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSAttributedString1, _lib._sel_new1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSAttributedString1, + _lib._sel_new1, + ); return NSAttributedString._(_ret, _lib, retain: false, release: true); } static NSAttributedString allocWithZone_( - AVFAudio _lib, ffi.Pointer<_NSZone> zone) { + AVFAudio _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSAttributedString1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSAttributedString1, + _lib._sel_allocWithZone_1, + zone, + ); return NSAttributedString._(_ret, _lib, retain: false, release: true); } static NSAttributedString alloc(AVFAudio _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSAttributedString1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSAttributedString1, + _lib._sel_alloc1, + ); return NSAttributedString._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + AVFAudio _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSAttributedString1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSAttributedString1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSAttributedString1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + AVFAudio _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSAttributedString1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { - return _lib._objc_msgSend_12(_lib._class_NSAttributedString1, - _lib._sel_accessInstanceVariablesDirectly1); + return _lib._objc_msgSend_12( + _lib._class_NSAttributedString1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(AVFAudio _lib) { return _lib._objc_msgSend_12( - _lib._class_NSAttributedString1, _lib._sel_useStoredAccessor1); + _lib._class_NSAttributedString1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSAttributedString1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSAttributedString1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSAttributedString1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSAttributedString1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, NSArray keys, NSString dependentKey) { + AVFAudio _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSAttributedString1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSAttributedString1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_85(_lib._class_NSAttributedString1, - _lib._sel_classFallbacksForKeyedArchiver1); + final _ret = _lib._objc_msgSend_85( + _lib._class_NSAttributedString1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(AVFAudio _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSAttributedString1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSAttributedString1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } @@ -57614,29 +76236,49 @@ class NSAttributedString extends NSObject { abstract class NSAttributedStringEnumerationOptions { static const int NSAttributedStringEnumerationReverse = 2; static const int - NSAttributedStringEnumerationLongestEffectiveRangeNotRequired = 1048576; + NSAttributedStringEnumerationLongestEffectiveRangeNotRequired = 1048576; } void _ObjCBlock_ffiVoid_NSDictionary_NSRange_bool_fnPtrTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - _NSRange arg1, - ffi.Pointer arg2) => - block.ref.target - .cast< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer arg0, _NSRange arg1, - ffi.Pointer arg2)>>() - .asFunction< - void Function(ffi.Pointer, _NSRange, - ffi.Pointer)>()(arg0, arg1, arg2); -final _ObjCBlock_ffiVoid_NSDictionary_NSRange_bool_closureRegistry = , _NSRange, ffi.Pointer)>{}; + ffi.Pointer block, + ffi.Pointer arg0, + _NSRange arg1, + ffi.Pointer arg2, +) => block.ref.target + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + _NSRange arg1, + ffi.Pointer arg2, + ) + > + >() + .asFunction< + void Function( + ffi.Pointer, + _NSRange, + ffi.Pointer, + ) + >()(arg0, arg1, arg2); +final _ObjCBlock_ffiVoid_NSDictionary_NSRange_bool_closureRegistry = + < + int, + void Function( + ffi.Pointer, + _NSRange, + ffi.Pointer, + ) + >{}; int _ObjCBlock_ffiVoid_NSDictionary_NSRange_bool_closureRegistryIndex = 0; ffi.Pointer - _ObjCBlock_ffiVoid_NSDictionary_NSRange_bool_registerClosure( - void Function(ffi.Pointer, _NSRange, ffi.Pointer) - fn) { +_ObjCBlock_ffiVoid_NSDictionary_NSRange_bool_registerClosure( + void Function( + ffi.Pointer, + _NSRange, + ffi.Pointer, + ) fn, +) { final id = ++_ObjCBlock_ffiVoid_NSDictionary_NSRange_bool_closureRegistryIndex; _ObjCBlock_ffiVoid_NSDictionary_NSRange_bool_closureRegistry[id] = fn; @@ -57644,25 +76286,38 @@ ffi.Pointer } void _ObjCBlock_ffiVoid_NSDictionary_NSRange_bool_closureTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - _NSRange arg1, - ffi.Pointer arg2) => - _ObjCBlock_ffiVoid_NSDictionary_NSRange_bool_closureRegistry[ - block.ref.target.address]!(arg0, arg1, arg2); - -class ObjCBlock_ffiVoid_NSDictionary_NSRange_bool extends _ObjCBlockBase { + ffi.Pointer block, + ffi.Pointer arg0, + _NSRange arg1, + ffi.Pointer arg2, +) => _ObjCBlock_ffiVoid_NSDictionary_NSRange_bool_closureRegistry[block + .ref + .target + .address]!(arg0, arg1, arg2); + +class ObjCBlock_ffiVoid_NSDictionary_NSRange_bool extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSDictionary_NSRange_bool._( - ffi.Pointer<_ObjCBlock> id, AVFAudio lib, - {bool retain = false, bool release = true}) - : super._(id, lib, retain: retain, release: release); + ffi.Pointer pointer, + this._lib, { + bool retain = false, + bool release = true, + }) : super(pointer, retain: retain, release: release); + + AVFAudio _lib; /// Returns a block that wraps the given raw block pointer. static ObjCBlock_ffiVoid_NSDictionary_NSRange_bool castFromPointer( - AVFAudio lib, ffi.Pointer<_ObjCBlock> pointer, - {bool retain = false, bool release = false}) { - return ObjCBlock_ffiVoid_NSDictionary_NSRange_bool._(pointer, lib, - retain: retain, release: release); + AVFAudio lib, + ffi.Pointer pointer, { + bool retain = false, + bool release = false, + }) { + return ObjCBlock_ffiVoid_NSDictionary_NSRange_bool._( + pointer, + lib, + retain: retain, + release: release, + ); } /// Creates a block from a C function pointer. @@ -57671,24 +76326,30 @@ class ObjCBlock_ffiVoid_NSDictionary_NSRange_bool extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSDictionary_NSRange_bool.fromFunctionPointer( - AVFAudio lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer arg0, _NSRange arg1, - ffi.Pointer arg2)>> - ptr) - : this._( - lib._newBlock1( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - _NSRange, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_NSDictionary_NSRange_bool_fnPtrTrampoline) - .cast(), - ptr.cast()), - lib); + AVFAudio lib, + ffi.Pointer< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + _NSRange arg1, + ffi.Pointer arg2, + ) + > + > ptr, + ) : this._(objc.newBlock( + _cFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + ) + >( + _ObjCBlock_ffiVoid_NSDictionary_NSRange_bool_fnPtrTrampoline, + ).cast(), + ptr.cast(), + ), lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -57696,23 +76357,32 @@ class ObjCBlock_ffiVoid_NSDictionary_NSRange_bool extends _ObjCBlockBase { /// This block must be invoked by native code running on the same thread as /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. - ObjCBlock_ffiVoid_NSDictionary_NSRange_bool.fromFunction(AVFAudio lib, - void Function(NSDictionary, _NSRange, ffi.Pointer) fn) - : this._( - lib._newBlock1( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - _NSRange, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_NSDictionary_NSRange_bool_closureTrampoline) - .cast(), - _ObjCBlock_ffiVoid_NSDictionary_NSRange_bool_registerClosure( - (ffi.Pointer arg0, _NSRange arg1, - ffi.Pointer arg2) => - fn(NSDictionary._(arg0, lib, retain: true, release: true), arg1, arg2))), - lib); + ObjCBlock_ffiVoid_NSDictionary_NSRange_bool.fromFunction( + AVFAudio lib, + void Function(NSDictionary, _NSRange, ffi.Pointer) fn, + ) : this._(objc.newBlock( + _dartFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + ) + >( + _ObjCBlock_ffiVoid_NSDictionary_NSRange_bool_closureTrampoline, + ).cast(), + _ObjCBlock_ffiVoid_NSDictionary_NSRange_bool_registerClosure(( + ffi.Pointer arg0, + _NSRange arg1, + ffi.Pointer arg2, + ) => fn(NSDictionary._( + arg0, + lib, + retain: true, + release: true, + ), arg1, arg2)), + ), lib); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -57724,91 +76394,146 @@ class ObjCBlock_ffiVoid_NSDictionary_NSRange_bool extends _ObjCBlockBase { /// /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. - ObjCBlock_ffiVoid_NSDictionary_NSRange_bool.listener(AVFAudio lib, - void Function(NSDictionary, _NSRange, ffi.Pointer) fn) - : this._( - lib._newBlock1( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - _NSRange, - ffi.Pointer)>.listener( - _ObjCBlock_ffiVoid_NSDictionary_NSRange_bool_closureTrampoline) - ..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSDictionary_NSRange_bool_registerClosure( - (ffi.Pointer arg0, _NSRange arg1, - ffi.Pointer arg2) => - fn(NSDictionary._(arg0, lib, retain: true, release: true), arg1, arg2))), - lib); + ObjCBlock_ffiVoid_NSDictionary_NSRange_bool.listener( + AVFAudio lib, + void Function(NSDictionary, _NSRange, ffi.Pointer) fn, + ) : this._(objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + ) + >.listener( + _ObjCBlock_ffiVoid_NSDictionary_NSRange_bool_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSDictionary_NSRange_bool_registerClosure(( + ffi.Pointer arg0, + _NSRange arg1, + ffi.Pointer arg2, + ) => fn(NSDictionary._( + arg0, + lib, + retain: true, + release: true, + ), arg1, arg2)), + ), lib); static ffi.NativeCallable< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer, - _NSRange, ffi.Pointer)>? _dartFuncListenerTrampoline; - - void call(NSDictionary arg0, _NSRange arg1, ffi.Pointer arg2) => - _id.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - _NSRange arg1, - ffi.Pointer arg2)>>() - .asFunction< - void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - _NSRange, - ffi.Pointer)>()(_id, arg0._id, arg1, arg2); + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + ) + >? _dartFuncListenerTrampoline; + + void call( + NSDictionary arg0, + _NSRange arg1, + ffi.Pointer arg2, + ) => pointer.ref.invoke + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer block, + ffi.Pointer arg0, + _NSRange arg1, + ffi.Pointer arg2, + ) + > + >() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + ) + >()(pointer, arg0.pointer, arg1, arg2); } -void _ObjCBlock_ffiVoid_ObjCObject_NSRange_bool_fnPtrTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - _NSRange arg1, - ffi.Pointer arg2) => - block.ref.target - .cast< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer arg0, _NSRange arg1, - ffi.Pointer arg2)>>() - .asFunction< - void Function(ffi.Pointer, _NSRange, - ffi.Pointer)>()(arg0, arg1, arg2); -final _ObjCBlock_ffiVoid_ObjCObject_NSRange_bool_closureRegistry = , _NSRange, ffi.Pointer)>{}; -int _ObjCBlock_ffiVoid_ObjCObject_NSRange_bool_closureRegistryIndex = 0; +void _ObjCBlock_ffiVoid_objcObjCObject_NSRange_bool_fnPtrTrampoline( + ffi.Pointer block, + ffi.Pointer arg0, + _NSRange arg1, + ffi.Pointer arg2, +) => block.ref.target + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + _NSRange arg1, + ffi.Pointer arg2, + ) + > + >() + .asFunction< + void Function( + ffi.Pointer, + _NSRange, + ffi.Pointer, + ) + >()(arg0, arg1, arg2); +final _ObjCBlock_ffiVoid_objcObjCObject_NSRange_bool_closureRegistry = + < + int, + void Function( + ffi.Pointer, + _NSRange, + ffi.Pointer, + ) + >{}; +int _ObjCBlock_ffiVoid_objcObjCObject_NSRange_bool_closureRegistryIndex = 0; ffi.Pointer - _ObjCBlock_ffiVoid_ObjCObject_NSRange_bool_registerClosure( - void Function(ffi.Pointer, _NSRange, ffi.Pointer) - fn) { - final id = ++_ObjCBlock_ffiVoid_ObjCObject_NSRange_bool_closureRegistryIndex; - _ObjCBlock_ffiVoid_ObjCObject_NSRange_bool_closureRegistry[id] = fn; +_ObjCBlock_ffiVoid_objcObjCObject_NSRange_bool_registerClosure( + void Function( + ffi.Pointer, + _NSRange, + ffi.Pointer, + ) fn, +) { + final id = + ++_ObjCBlock_ffiVoid_objcObjCObject_NSRange_bool_closureRegistryIndex; + _ObjCBlock_ffiVoid_objcObjCObject_NSRange_bool_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } -void _ObjCBlock_ffiVoid_ObjCObject_NSRange_bool_closureTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - _NSRange arg1, - ffi.Pointer arg2) => - _ObjCBlock_ffiVoid_ObjCObject_NSRange_bool_closureRegistry[ - block.ref.target.address]!(arg0, arg1, arg2); - -class ObjCBlock_ffiVoid_ObjCObject_NSRange_bool extends _ObjCBlockBase { - ObjCBlock_ffiVoid_ObjCObject_NSRange_bool._( - ffi.Pointer<_ObjCBlock> id, AVFAudio lib, - {bool retain = false, bool release = true}) - : super._(id, lib, retain: retain, release: release); +void _ObjCBlock_ffiVoid_objcObjCObject_NSRange_bool_closureTrampoline( + ffi.Pointer block, + ffi.Pointer arg0, + _NSRange arg1, + ffi.Pointer arg2, +) => _ObjCBlock_ffiVoid_objcObjCObject_NSRange_bool_closureRegistry[block + .ref + .target + .address]!(arg0, arg1, arg2); + +class ObjCBlock_ffiVoid_objcObjCObject_NSRange_bool extends objc.ObjCBlockBase { + ObjCBlock_ffiVoid_objcObjCObject_NSRange_bool._( + ffi.Pointer pointer, + this._lib, { + bool retain = false, + bool release = true, + }) : super(pointer, retain: retain, release: release); + + AVFAudio _lib; /// Returns a block that wraps the given raw block pointer. - static ObjCBlock_ffiVoid_ObjCObject_NSRange_bool castFromPointer( - AVFAudio lib, ffi.Pointer<_ObjCBlock> pointer, - {bool retain = false, bool release = false}) { - return ObjCBlock_ffiVoid_ObjCObject_NSRange_bool._(pointer, lib, - retain: retain, release: release); + static ObjCBlock_ffiVoid_objcObjCObject_NSRange_bool castFromPointer( + AVFAudio lib, + ffi.Pointer pointer, { + bool retain = false, + bool release = false, + }) { + return ObjCBlock_ffiVoid_objcObjCObject_NSRange_bool._( + pointer, + lib, + retain: retain, + release: release, + ); } /// Creates a block from a C function pointer. @@ -57816,25 +76541,31 @@ class ObjCBlock_ffiVoid_ObjCObject_NSRange_bool extends _ObjCBlockBase { /// This block must be invoked by native code running on the same thread as /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. - ObjCBlock_ffiVoid_ObjCObject_NSRange_bool.fromFunctionPointer( - AVFAudio lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer arg0, _NSRange arg1, - ffi.Pointer arg2)>> - ptr) - : this._( - lib._newBlock1( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - _NSRange, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_ObjCObject_NSRange_bool_fnPtrTrampoline) - .cast(), - ptr.cast()), - lib); + ObjCBlock_ffiVoid_objcObjCObject_NSRange_bool.fromFunctionPointer( + AVFAudio lib, + ffi.Pointer< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + _NSRange arg1, + ffi.Pointer arg2, + ) + > + > ptr, + ) : this._(objc.newBlock( + _cFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + ) + >( + _ObjCBlock_ffiVoid_objcObjCObject_NSRange_bool_fnPtrTrampoline, + ).cast(), + ptr.cast(), + ), lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -57842,23 +76573,33 @@ class ObjCBlock_ffiVoid_ObjCObject_NSRange_bool extends _ObjCBlockBase { /// This block must be invoked by native code running on the same thread as /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. - ObjCBlock_ffiVoid_ObjCObject_NSRange_bool.fromFunction(AVFAudio lib, - void Function(NSObject?, _NSRange, ffi.Pointer) fn) - : this._( - lib._newBlock1( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - _NSRange, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_ObjCObject_NSRange_bool_closureTrampoline) - .cast(), - _ObjCBlock_ffiVoid_ObjCObject_NSRange_bool_registerClosure( - (ffi.Pointer arg0, _NSRange arg1, - ffi.Pointer arg2) => - fn(arg0.address == 0 ? null : NSObject._(arg0, lib, retain: true, release: true), arg1, arg2))), - lib); + ObjCBlock_ffiVoid_objcObjCObject_NSRange_bool.fromFunction( + AVFAudio lib, + void Function(NSObject?, _NSRange, ffi.Pointer) fn, + ) : this._(objc.newBlock( + _dartFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + ) + >( + _ObjCBlock_ffiVoid_objcObjCObject_NSRange_bool_closureTrampoline, + ).cast(), + _ObjCBlock_ffiVoid_objcObjCObject_NSRange_bool_registerClosure(( + ffi.Pointer arg0, + _NSRange arg1, + ffi.Pointer arg2, + ) => fn( + arg0.address == 0 + ? null + : NSObject._(arg0, lib, retain: true, release: true), + arg1, + arg2, + )), + ), lib); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -57870,105 +76611,164 @@ class ObjCBlock_ffiVoid_ObjCObject_NSRange_bool extends _ObjCBlockBase { /// /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. - ObjCBlock_ffiVoid_ObjCObject_NSRange_bool.listener(AVFAudio lib, - void Function(NSObject?, _NSRange, ffi.Pointer) fn) - : this._( - lib._newBlock1( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - _NSRange, - ffi.Pointer)>.listener( - _ObjCBlock_ffiVoid_ObjCObject_NSRange_bool_closureTrampoline) - ..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_ObjCObject_NSRange_bool_registerClosure( - (ffi.Pointer arg0, _NSRange arg1, - ffi.Pointer arg2) => - fn(arg0.address == 0 ? null : NSObject._(arg0, lib, retain: true, release: true), arg1, arg2))), - lib); + ObjCBlock_ffiVoid_objcObjCObject_NSRange_bool.listener( + AVFAudio lib, + void Function(NSObject?, _NSRange, ffi.Pointer) fn, + ) : this._(objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + ) + >.listener( + _ObjCBlock_ffiVoid_objcObjCObject_NSRange_bool_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_objcObjCObject_NSRange_bool_registerClosure(( + ffi.Pointer arg0, + _NSRange arg1, + ffi.Pointer arg2, + ) => fn( + arg0.address == 0 + ? null + : NSObject._(arg0, lib, retain: true, release: true), + arg1, + arg2, + )), + ), lib); static ffi.NativeCallable< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer, - _NSRange, ffi.Pointer)>? _dartFuncListenerTrampoline; - - void call(NSObject? arg0, _NSRange arg1, ffi.Pointer arg2) => _id - .ref.invoke - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - _NSRange arg1, - ffi.Pointer arg2)>>() - .asFunction< - void Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer, - _NSRange, ffi.Pointer)>()( - _id, arg0?._id ?? ffi.nullptr, arg1, arg2); + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + ) + >? _dartFuncListenerTrampoline; + + void call( + NSObject? arg0, + _NSRange arg1, + ffi.Pointer arg2, + ) => pointer.ref.invoke + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer block, + ffi.Pointer arg0, + _NSRange arg1, + ffi.Pointer arg2, + ) + > + >() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + ) + >()(pointer, arg0?.pointer ?? ffi.nullptr, arg1, arg2); } class NSAttributedStringMarkdownParsingOptions extends NSObject { NSAttributedStringMarkdownParsingOptions._( - ffi.Pointer id, AVFAudio lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + ffi.Pointer pointer, + AVFAudio lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSAttributedStringMarkdownParsingOptions] that points to the same underlying object as [other]. - static NSAttributedStringMarkdownParsingOptions - castFrom(T other) { - return NSAttributedStringMarkdownParsingOptions._(other._id, other._lib, - retain: true, release: true); + static NSAttributedStringMarkdownParsingOptions castFrom< + T extends objc.ObjCObjectBase + >(AVFAudio lib, T other) { + return NSAttributedStringMarkdownParsingOptions._( + other.pointer, + lib, + retain: true, + release: true, + ); } /// Returns a [NSAttributedStringMarkdownParsingOptions] that wraps the given raw object pointer. static NSAttributedStringMarkdownParsingOptions castFromPointer( - AVFAudio lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { - return NSAttributedStringMarkdownParsingOptions._(other, lib, - retain: retain, release: release); + AVFAudio lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { + return NSAttributedStringMarkdownParsingOptions._( + other, + lib, + retain: retain, + release: release, + ); } /// Returns whether [obj] is an instance of [NSAttributedStringMarkdownParsingOptions]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0(obj._id, obj._lib._sel_isKindOfClass_1, - obj._lib._class_NSAttributedStringMarkdownParsingOptions1); + static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSAttributedStringMarkdownParsingOptions1, + ); } @override NSAttributedStringMarkdownParsingOptions init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); - return NSAttributedStringMarkdownParsingOptions._(_ret, _lib, - retain: true, release: true); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); + return NSAttributedStringMarkdownParsingOptions._( + _ret, + _lib, + retain: true, + release: true, + ); } bool get allowsExtendedAttributes { - return _lib._objc_msgSend_12(_id, _lib._sel_allowsExtendedAttributes1); + return _lib._objc_msgSend_12( + this.pointer, + _lib._sel_allowsExtendedAttributes1, + ); } set allowsExtendedAttributes(bool value) { return _lib._objc_msgSend_527( - _id, _lib._sel_setAllowsExtendedAttributes_1, value); + this.pointer, + _lib._sel_setAllowsExtendedAttributes_1, + value, + ); } int get interpretedSyntax { - return _lib._objc_msgSend_721(_id, _lib._sel_interpretedSyntax1); + return _lib._objc_msgSend_721(this.pointer, _lib._sel_interpretedSyntax1); } set interpretedSyntax(int value) { - return _lib._objc_msgSend_722(_id, _lib._sel_setInterpretedSyntax_1, value); + return _lib._objc_msgSend_722( + this.pointer, + _lib._sel_setInterpretedSyntax_1, + value, + ); } int get failurePolicy { - return _lib._objc_msgSend_723(_id, _lib._sel_failurePolicy1); + return _lib._objc_msgSend_723(this.pointer, _lib._sel_failurePolicy1); } set failurePolicy(int value) { - return _lib._objc_msgSend_724(_id, _lib._sel_setFailurePolicy_1, value); + return _lib._objc_msgSend_724( + this.pointer, + _lib._sel_setFailurePolicy_1, + value, + ); } NSString? get languageCode { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_languageCode1); + final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_languageCode1); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); @@ -57976,112 +76776,159 @@ class NSAttributedStringMarkdownParsingOptions extends NSObject { set languageCode(NSString? value) { return _lib._objc_msgSend_545( - _id, _lib._sel_setLanguageCode_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setLanguageCode_1, + value?.pointer ?? ffi.nullptr, + ); } bool get appliesSourcePositionAttributes { return _lib._objc_msgSend_12( - _id, _lib._sel_appliesSourcePositionAttributes1); + this.pointer, + _lib._sel_appliesSourcePositionAttributes1, + ); } set appliesSourcePositionAttributes(bool value) { return _lib._objc_msgSend_527( - _id, _lib._sel_setAppliesSourcePositionAttributes_1, value); + this.pointer, + _lib._sel_setAppliesSourcePositionAttributes_1, + value, + ); } static NSAttributedStringMarkdownParsingOptions new1(AVFAudio _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSAttributedStringMarkdownParsingOptions1, _lib._sel_new1); - return NSAttributedStringMarkdownParsingOptions._(_ret, _lib, - retain: false, release: true); + _lib._class_NSAttributedStringMarkdownParsingOptions1, + _lib._sel_new1, + ); + return NSAttributedStringMarkdownParsingOptions._( + _ret, + _lib, + retain: false, + release: true, + ); } static NSAttributedStringMarkdownParsingOptions allocWithZone_( - AVFAudio _lib, ffi.Pointer<_NSZone> zone) { + AVFAudio _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSAttributedStringMarkdownParsingOptions1, - _lib._sel_allocWithZone_1, - zone); - return NSAttributedStringMarkdownParsingOptions._(_ret, _lib, - retain: false, release: true); + _lib._class_NSAttributedStringMarkdownParsingOptions1, + _lib._sel_allocWithZone_1, + zone, + ); + return NSAttributedStringMarkdownParsingOptions._( + _ret, + _lib, + retain: false, + release: true, + ); } static NSAttributedStringMarkdownParsingOptions alloc(AVFAudio _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSAttributedStringMarkdownParsingOptions1, - _lib._sel_alloc1); - return NSAttributedStringMarkdownParsingOptions._(_ret, _lib, - retain: false, release: true); + _lib._class_NSAttributedStringMarkdownParsingOptions1, + _lib._sel_alloc1, + ); + return NSAttributedStringMarkdownParsingOptions._( + _ret, + _lib, + retain: false, + release: true, + ); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + AVFAudio _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSAttributedStringMarkdownParsingOptions1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSAttributedStringMarkdownParsingOptions1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSAttributedStringMarkdownParsingOptions1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + AVFAudio _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSAttributedStringMarkdownParsingOptions1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { return _lib._objc_msgSend_12( - _lib._class_NSAttributedStringMarkdownParsingOptions1, - _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_NSAttributedStringMarkdownParsingOptions1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(AVFAudio _lib) { return _lib._objc_msgSend_12( - _lib._class_NSAttributedStringMarkdownParsingOptions1, - _lib._sel_useStoredAccessor1); + _lib._class_NSAttributedStringMarkdownParsingOptions1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, NSString key) { + AVFAudio _lib, + NSString key, + ) { final _ret = _lib._objc_msgSend_63( - _lib._class_NSAttributedStringMarkdownParsingOptions1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key._id); + _lib._class_NSAttributedStringMarkdownParsingOptions1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, NSString key) { + AVFAudio _lib, + NSString key, + ) { return _lib._objc_msgSend_64( - _lib._class_NSAttributedStringMarkdownParsingOptions1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key._id); + _lib._class_NSAttributedStringMarkdownParsingOptions1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, NSArray keys, NSString dependentKey) { + AVFAudio _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSAttributedStringMarkdownParsingOptions1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSAttributedStringMarkdownParsingOptions1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { final _ret = _lib._objc_msgSend_85( - _lib._class_NSAttributedStringMarkdownParsingOptions1, - _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSAttributedStringMarkdownParsingOptions1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(AVFAudio _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSAttributedStringMarkdownParsingOptions1, - _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSAttributedStringMarkdownParsingOptions1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } @@ -58090,160 +76937,235 @@ abstract class NSAttributedStringMarkdownInterpretedSyntax { static const int NSAttributedStringMarkdownInterpretedSyntaxFull = 0; static const int NSAttributedStringMarkdownInterpretedSyntaxInlineOnly = 1; static const int - NSAttributedStringMarkdownInterpretedSyntaxInlineOnlyPreservingWhitespace = - 2; + NSAttributedStringMarkdownInterpretedSyntaxInlineOnlyPreservingWhitespace = 2; } abstract class NSAttributedStringMarkdownParsingFailurePolicy { static const int NSAttributedStringMarkdownParsingFailureReturnError = 0; static const int - NSAttributedStringMarkdownParsingFailureReturnPartiallyParsedIfPossible = - 1; + NSAttributedStringMarkdownParsingFailureReturnPartiallyParsedIfPossible = 1; } abstract class NSAttributedStringFormattingOptions { static const int - NSAttributedStringFormattingInsertArgumentAttributesWithoutMerging = 1; + NSAttributedStringFormattingInsertArgumentAttributesWithoutMerging = 1; static const int NSAttributedStringFormattingApplyReplacementIndexAttribute = 2; } class NSMutableAttributedString extends NSAttributedString { - NSMutableAttributedString._(ffi.Pointer id, AVFAudio lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSMutableAttributedString._( + ffi.Pointer pointer, + AVFAudio lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSMutableAttributedString] that points to the same underlying object as [other]. - static NSMutableAttributedString castFrom(T other) { - return NSMutableAttributedString._(other._id, other._lib, - retain: true, release: true); + static NSMutableAttributedString castFrom( + AVFAudio lib, + T other, + ) { + return NSMutableAttributedString._( + other.pointer, + lib, + retain: true, + release: true, + ); } /// Returns a [NSMutableAttributedString] that wraps the given raw object pointer. static NSMutableAttributedString castFromPointer( - AVFAudio lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { - return NSMutableAttributedString._(other, lib, - retain: retain, release: release); + AVFAudio lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { + return NSMutableAttributedString._( + other, + lib, + retain: retain, + release: release, + ); } /// Returns whether [obj] is an instance of [NSMutableAttributedString]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0(obj._id, obj._lib._sel_isKindOfClass_1, - obj._lib._class_NSMutableAttributedString1); + static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSMutableAttributedString1, + ); } void replaceCharactersInRange_withString_(_NSRange range, NSString str) { _lib._objc_msgSend_689( - _id, _lib._sel_replaceCharactersInRange_withString_1, range, str._id); + this.pointer, + _lib._sel_replaceCharactersInRange_withString_1, + range, + str.pointer, + ); } void setAttributes_range_(NSDictionary? attrs, _NSRange range) { _lib._objc_msgSend_739( - _id, _lib._sel_setAttributes_range_1, attrs?._id ?? ffi.nullptr, range); + this.pointer, + _lib._sel_setAttributes_range_1, + attrs?.pointer ?? ffi.nullptr, + range, + ); } NSMutableString get mutableString { - final _ret = _lib._objc_msgSend_740(_id, _lib._sel_mutableString1); + final _ret = _lib._objc_msgSend_740(this.pointer, _lib._sel_mutableString1); return NSMutableString._(_ret, _lib, retain: true, release: true); } void addAttribute_value_range_( - NSString name, NSObject value, _NSRange range) { + NSString name, + NSObject value, + _NSRange range, + ) { _lib._objc_msgSend_741( - _id, _lib._sel_addAttribute_value_range_1, name._id, value._id, range); + this.pointer, + _lib._sel_addAttribute_value_range_1, + name.pointer, + value.pointer, + range, + ); } void addAttributes_range_(NSDictionary attrs, _NSRange range) { _lib._objc_msgSend_742( - _id, _lib._sel_addAttributes_range_1, attrs._id, range); + this.pointer, + _lib._sel_addAttributes_range_1, + attrs.pointer, + range, + ); } void removeAttribute_range_(NSString name, _NSRange range) { _lib._objc_msgSend_743( - _id, _lib._sel_removeAttribute_range_1, name._id, range); + this.pointer, + _lib._sel_removeAttribute_range_1, + name.pointer, + range, + ); } void replaceCharactersInRange_withAttributedString_( - _NSRange range, NSAttributedString attrString) { + _NSRange range, + NSAttributedString attrString, + ) { _lib._objc_msgSend_744( - _id, - _lib._sel_replaceCharactersInRange_withAttributedString_1, - range, - attrString._id); + this.pointer, + _lib._sel_replaceCharactersInRange_withAttributedString_1, + range, + attrString.pointer, + ); } void insertAttributedString_atIndex_(NSAttributedString attrString, int loc) { _lib._objc_msgSend_745( - _id, _lib._sel_insertAttributedString_atIndex_1, attrString._id, loc); + this.pointer, + _lib._sel_insertAttributedString_atIndex_1, + attrString.pointer, + loc, + ); } void appendAttributedString_(NSAttributedString attrString) { _lib._objc_msgSend_746( - _id, _lib._sel_appendAttributedString_1, attrString._id); + this.pointer, + _lib._sel_appendAttributedString_1, + attrString.pointer, + ); } void deleteCharactersInRange_(_NSRange range) { - _lib._objc_msgSend_476(_id, _lib._sel_deleteCharactersInRange_1, range); + _lib._objc_msgSend_476( + this.pointer, + _lib._sel_deleteCharactersInRange_1, + range, + ); } void setAttributedString_(NSAttributedString attrString) { _lib._objc_msgSend_746( - _id, _lib._sel_setAttributedString_1, attrString._id); + this.pointer, + _lib._sel_setAttributedString_1, + attrString.pointer, + ); } void beginEditing() { - _lib._objc_msgSend_1(_id, _lib._sel_beginEditing1); + _lib._objc_msgSend_1(this.pointer, _lib._sel_beginEditing1); } void endEditing() { - _lib._objc_msgSend_1(_id, _lib._sel_endEditing1); + _lib._objc_msgSend_1(this.pointer, _lib._sel_endEditing1); } void appendLocalizedFormat_(NSAttributedString format) { - _lib._objc_msgSend_746(_id, _lib._sel_appendLocalizedFormat_1, format._id); + _lib._objc_msgSend_746( + this.pointer, + _lib._sel_appendLocalizedFormat_1, + format.pointer, + ); } @override NSMutableAttributedString initWithString_(NSString str) { - final _ret = - _lib._objc_msgSend_31(_id, _lib._sel_initWithString_1, str._id); + final _ret = _lib._objc_msgSend_31( + this.pointer, + _lib._sel_initWithString_1, + str.pointer, + ); return NSMutableAttributedString._(_ret, _lib, retain: true, release: true); } @override NSMutableAttributedString initWithString_attributes_( - NSString str, NSDictionary? attrs) { + NSString str, + NSDictionary? attrs, + ) { final _ret = _lib._objc_msgSend_717( - _id, - _lib._sel_initWithString_attributes_1, - str._id, - attrs?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_initWithString_attributes_1, + str.pointer, + attrs?.pointer ?? ffi.nullptr, + ); return NSMutableAttributedString._(_ret, _lib, retain: true, release: true); } @override NSMutableAttributedString initWithAttributedString_( - NSAttributedString attrStr) { + NSAttributedString attrStr, + ) { final _ret = _lib._objc_msgSend_718( - _id, _lib._sel_initWithAttributedString_1, attrStr._id); + this.pointer, + _lib._sel_initWithAttributedString_1, + attrStr.pointer, + ); return NSMutableAttributedString._(_ret, _lib, retain: true, release: true); } @override NSMutableAttributedString? - initWithContentsOfMarkdownFileAtURL_options_baseURL_error_( - NSURL markdownFile, - NSAttributedStringMarkdownParsingOptions? options, - NSURL? baseURL, - ffi.Pointer> error) { + initWithContentsOfMarkdownFileAtURL_options_baseURL_error_( + NSURL markdownFile, + NSAttributedStringMarkdownParsingOptions? options, + NSURL? baseURL, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_725( - _id, - _lib._sel_initWithContentsOfMarkdownFileAtURL_options_baseURL_error_1, - markdownFile._id, - options?._id ?? ffi.nullptr, - baseURL?._id ?? ffi.nullptr, - error); + this.pointer, + _lib._sel_initWithContentsOfMarkdownFileAtURL_options_baseURL_error_1, + markdownFile.pointer, + options?.pointer ?? ffi.nullptr, + baseURL?.pointer ?? ffi.nullptr, + error, + ); return _ret.address == 0 ? null : NSMutableAttributedString._(_ret, _lib, retain: true, release: true); @@ -58251,17 +77173,19 @@ class NSMutableAttributedString extends NSAttributedString { @override NSMutableAttributedString? initWithMarkdown_options_baseURL_error_( - NSData markdown, - NSAttributedStringMarkdownParsingOptions? options, - NSURL? baseURL, - ffi.Pointer> error) { + NSData markdown, + NSAttributedStringMarkdownParsingOptions? options, + NSURL? baseURL, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_726( - _id, - _lib._sel_initWithMarkdown_options_baseURL_error_1, - markdown._id, - options?._id ?? ffi.nullptr, - baseURL?._id ?? ffi.nullptr, - error); + this.pointer, + _lib._sel_initWithMarkdown_options_baseURL_error_1, + markdown.pointer, + options?.pointer ?? ffi.nullptr, + baseURL?.pointer ?? ffi.nullptr, + error, + ); return _ret.address == 0 ? null : NSMutableAttributedString._(_ret, _lib, retain: true, release: true); @@ -58269,17 +77193,19 @@ class NSMutableAttributedString extends NSAttributedString { @override NSMutableAttributedString? initWithMarkdownString_options_baseURL_error_( - NSString markdownString, - NSAttributedStringMarkdownParsingOptions? options, - NSURL? baseURL, - ffi.Pointer> error) { + NSString markdownString, + NSAttributedStringMarkdownParsingOptions? options, + NSURL? baseURL, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_727( - _id, - _lib._sel_initWithMarkdownString_options_baseURL_error_1, - markdownString._id, - options?._id ?? ffi.nullptr, - baseURL?._id ?? ffi.nullptr, - error); + this.pointer, + _lib._sel_initWithMarkdownString_options_baseURL_error_1, + markdownString.pointer, + options?.pointer ?? ffi.nullptr, + baseURL?.pointer ?? ffi.nullptr, + error, + ); return _ret.address == 0 ? null : NSMutableAttributedString._(_ret, _lib, retain: true, release: true); @@ -58287,276 +77213,387 @@ class NSMutableAttributedString extends NSAttributedString { @override NSMutableAttributedString initWithFormat_options_locale_( - NSAttributedString format, int options, NSLocale? locale) { + NSAttributedString format, + int options, + NSLocale? locale, + ) { final _ret = _lib._objc_msgSend_728( - _id, - _lib._sel_initWithFormat_options_locale_1, - format._id, - options, - locale?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_initWithFormat_options_locale_1, + format.pointer, + options, + locale?.pointer ?? ffi.nullptr, + ); return NSMutableAttributedString._(_ret, _lib, retain: true, release: true); } @override NSMutableAttributedString initWithFormat_options_locale_arguments_( - NSAttributedString format, - int options, - NSLocale? locale, - ffi.Pointer<__va_list_tag> arguments) { + NSAttributedString format, + int options, + NSLocale? locale, + ffi.Pointer<__va_list_tag> arguments, + ) { final _ret = _lib._objc_msgSend_729( - _id, - _lib._sel_initWithFormat_options_locale_arguments_1, - format._id, - options, - locale?._id ?? ffi.nullptr, - arguments); + this.pointer, + _lib._sel_initWithFormat_options_locale_arguments_1, + format.pointer, + options, + locale?.pointer ?? ffi.nullptr, + arguments, + ); return NSMutableAttributedString._(_ret, _lib, retain: true, release: true); } static NSMutableAttributedString localizedAttributedStringWithFormat_( - AVFAudio _lib, NSAttributedString format) { - final _ret = _lib._objc_msgSend_718(_lib._class_NSMutableAttributedString1, - _lib._sel_localizedAttributedStringWithFormat_1, format._id); + AVFAudio _lib, + NSAttributedString format, + ) { + final _ret = _lib._objc_msgSend_718( + _lib._class_NSMutableAttributedString1, + _lib._sel_localizedAttributedStringWithFormat_1, + format.pointer, + ); return NSMutableAttributedString._(_ret, _lib, retain: true, release: true); } static NSMutableAttributedString localizedAttributedStringWithFormat_options_( - AVFAudio _lib, NSAttributedString format, int options) { + AVFAudio _lib, + NSAttributedString format, + int options, + ) { final _ret = _lib._objc_msgSend_730( - _lib._class_NSMutableAttributedString1, - _lib._sel_localizedAttributedStringWithFormat_options_1, - format._id, - options); + _lib._class_NSMutableAttributedString1, + _lib._sel_localizedAttributedStringWithFormat_options_1, + format.pointer, + options, + ); return NSMutableAttributedString._(_ret, _lib, retain: true, release: true); } @override NSMutableAttributedString initWithFormat_options_locale_context_( - NSAttributedString format, - int options, - NSLocale? locale, - NSDictionary context) { + NSAttributedString format, + int options, + NSLocale? locale, + NSDictionary context, + ) { final _ret = _lib._objc_msgSend_731( - _id, - _lib._sel_initWithFormat_options_locale_context_1, - format._id, - options, - locale?._id ?? ffi.nullptr, - context._id); + this.pointer, + _lib._sel_initWithFormat_options_locale_context_1, + format.pointer, + options, + locale?.pointer ?? ffi.nullptr, + context.pointer, + ); return NSMutableAttributedString._(_ret, _lib, retain: true, release: true); } @override NSMutableAttributedString initWithFormat_options_locale_context_arguments_( - NSAttributedString format, - int options, - NSLocale? locale, - NSDictionary context, - ffi.Pointer<__va_list_tag> arguments) { + NSAttributedString format, + int options, + NSLocale? locale, + NSDictionary context, + ffi.Pointer<__va_list_tag> arguments, + ) { final _ret = _lib._objc_msgSend_732( - _id, - _lib._sel_initWithFormat_options_locale_context_arguments_1, - format._id, - options, - locale?._id ?? ffi.nullptr, - context._id, - arguments); + this.pointer, + _lib._sel_initWithFormat_options_locale_context_arguments_1, + format.pointer, + options, + locale?.pointer ?? ffi.nullptr, + context.pointer, + arguments, + ); return NSMutableAttributedString._(_ret, _lib, retain: true, release: true); } static NSMutableAttributedString localizedAttributedStringWithFormat_context_( - AVFAudio _lib, NSAttributedString format, NSDictionary context) { + AVFAudio _lib, + NSAttributedString format, + NSDictionary context, + ) { final _ret = _lib._objc_msgSend_733( - _lib._class_NSMutableAttributedString1, - _lib._sel_localizedAttributedStringWithFormat_context_1, - format._id, - context._id); + _lib._class_NSMutableAttributedString1, + _lib._sel_localizedAttributedStringWithFormat_context_1, + format.pointer, + context.pointer, + ); return NSMutableAttributedString._(_ret, _lib, retain: true, release: true); } static NSMutableAttributedString - localizedAttributedStringWithFormat_options_context_(AVFAudio _lib, - NSAttributedString format, int options, NSDictionary context) { + localizedAttributedStringWithFormat_options_context_( + AVFAudio _lib, + NSAttributedString format, + int options, + NSDictionary context, + ) { final _ret = _lib._objc_msgSend_734( - _lib._class_NSMutableAttributedString1, - _lib._sel_localizedAttributedStringWithFormat_options_context_1, - format._id, - options, - context._id); + _lib._class_NSMutableAttributedString1, + _lib._sel_localizedAttributedStringWithFormat_options_context_1, + format.pointer, + options, + context.pointer, + ); return NSMutableAttributedString._(_ret, _lib, retain: true, release: true); } @override NSMutableAttributedString init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSMutableAttributedString._(_ret, _lib, retain: true, release: true); } static NSMutableAttributedString new1(AVFAudio _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSMutableAttributedString1, _lib._sel_new1); - return NSMutableAttributedString._(_ret, _lib, - retain: false, release: true); + _lib._class_NSMutableAttributedString1, + _lib._sel_new1, + ); + return NSMutableAttributedString._( + _ret, + _lib, + retain: false, + release: true, + ); } static NSMutableAttributedString allocWithZone_( - AVFAudio _lib, ffi.Pointer<_NSZone> zone) { - final _ret = _lib._objc_msgSend_3(_lib._class_NSMutableAttributedString1, - _lib._sel_allocWithZone_1, zone); - return NSMutableAttributedString._(_ret, _lib, - retain: false, release: true); + AVFAudio _lib, + ffi.Pointer<_NSZone> zone, + ) { + final _ret = _lib._objc_msgSend_3( + _lib._class_NSMutableAttributedString1, + _lib._sel_allocWithZone_1, + zone, + ); + return NSMutableAttributedString._( + _ret, + _lib, + retain: false, + release: true, + ); } static NSMutableAttributedString alloc(AVFAudio _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSMutableAttributedString1, _lib._sel_alloc1); - return NSMutableAttributedString._(_ret, _lib, - retain: false, release: true); + _lib._class_NSMutableAttributedString1, + _lib._sel_alloc1, + ); + return NSMutableAttributedString._( + _ret, + _lib, + retain: false, + release: true, + ); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + AVFAudio _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSMutableAttributedString1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSMutableAttributedString1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSMutableAttributedString1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + AVFAudio _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSMutableAttributedString1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { - return _lib._objc_msgSend_12(_lib._class_NSMutableAttributedString1, - _lib._sel_accessInstanceVariablesDirectly1); + return _lib._objc_msgSend_12( + _lib._class_NSMutableAttributedString1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(AVFAudio _lib) { return _lib._objc_msgSend_12( - _lib._class_NSMutableAttributedString1, _lib._sel_useStoredAccessor1); + _lib._class_NSMutableAttributedString1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSMutableAttributedString1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSMutableAttributedString1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSMutableAttributedString1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSMutableAttributedString1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, NSArray keys, NSString dependentKey) { + AVFAudio _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSMutableAttributedString1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSMutableAttributedString1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_85(_lib._class_NSMutableAttributedString1, - _lib._sel_classFallbacksForKeyedArchiver1); + final _ret = _lib._objc_msgSend_85( + _lib._class_NSMutableAttributedString1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2(_lib._class_NSMutableAttributedString1, - _lib._sel_classForKeyedUnarchiver1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSMutableAttributedString1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } class NSDateFormatter extends NSFormatter { - NSDateFormatter._(ffi.Pointer id, AVFAudio lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSDateFormatter._( + ffi.Pointer pointer, + AVFAudio lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSDateFormatter] that points to the same underlying object as [other]. - static NSDateFormatter castFrom(T other) { - return NSDateFormatter._(other._id, other._lib, - retain: true, release: true); + static NSDateFormatter castFrom( + AVFAudio lib, + T other, + ) { + return NSDateFormatter._(other.pointer, lib, retain: true, release: true); } /// Returns a [NSDateFormatter] that wraps the given raw object pointer. static NSDateFormatter castFromPointer( - AVFAudio lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + AVFAudio lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSDateFormatter._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSDateFormatter]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0(obj._id, obj._lib._sel_isKindOfClass_1, - obj._lib._class_NSDateFormatter1); + static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSDateFormatter1, + ); } int get formattingContext { - return _lib._objc_msgSend_752(_id, _lib._sel_formattingContext1); + return _lib._objc_msgSend_752(this.pointer, _lib._sel_formattingContext1); } set formattingContext(int value) { - return _lib._objc_msgSend_753(_id, _lib._sel_setFormattingContext_1, value); + return _lib._objc_msgSend_753( + this.pointer, + _lib._sel_setFormattingContext_1, + value, + ); } bool getObjectValue_forString_range_error_( - ffi.Pointer> obj, - NSString string, - ffi.Pointer<_NSRange> rangep, - ffi.Pointer> error) { + ffi.Pointer> obj, + NSString string, + ffi.Pointer<_NSRange> rangep, + ffi.Pointer> error, + ) { return _lib._objc_msgSend_754( - _id, - _lib._sel_getObjectValue_forString_range_error_1, - obj, - string._id, - rangep, - error); + this.pointer, + _lib._sel_getObjectValue_forString_range_error_1, + obj, + string.pointer, + rangep, + error, + ); } NSString stringFromDate_(NSDate date) { - final _ret = - _lib._objc_msgSend_755(_id, _lib._sel_stringFromDate_1, date._id); + final _ret = _lib._objc_msgSend_755( + this.pointer, + _lib._sel_stringFromDate_1, + date.pointer, + ); return NSString._(_ret, _lib, retain: true, release: true); } NSDate? dateFromString_(NSString string) { - final _ret = - _lib._objc_msgSend_564(_id, _lib._sel_dateFromString_1, string._id); + final _ret = _lib._objc_msgSend_564( + this.pointer, + _lib._sel_dateFromString_1, + string.pointer, + ); return _ret.address == 0 ? null : NSDate._(_ret, _lib, retain: true, release: true); } static NSString localizedStringFromDate_dateStyle_timeStyle_( - AVFAudio _lib, NSDate date, int dstyle, int tstyle) { + AVFAudio _lib, + NSDate date, + int dstyle, + int tstyle, + ) { final _ret = _lib._objc_msgSend_756( - _lib._class_NSDateFormatter1, - _lib._sel_localizedStringFromDate_dateStyle_timeStyle_1, - date._id, - dstyle, - tstyle); + _lib._class_NSDateFormatter1, + _lib._sel_localizedStringFromDate_dateStyle_timeStyle_1, + date.pointer, + dstyle, + tstyle, + ); return NSString._(_ret, _lib, retain: true, release: true); } static NSString? dateFormatFromTemplate_options_locale_( - AVFAudio _lib, NSString tmplate, int opts, NSLocale? locale) { + AVFAudio _lib, + NSString tmplate, + int opts, + NSLocale? locale, + ) { final _ret = _lib._objc_msgSend_757( - _lib._class_NSDateFormatter1, - _lib._sel_dateFormatFromTemplate_options_locale_1, - tmplate._id, - opts, - locale?._id ?? ffi.nullptr); + _lib._class_NSDateFormatter1, + _lib._sel_dateFormatFromTemplate_options_locale_1, + tmplate.pointer, + opts, + locale?.pointer ?? ffi.nullptr, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); @@ -58564,98 +77601,143 @@ class NSDateFormatter extends NSFormatter { static int getDefaultFormatterBehavior(AVFAudio _lib) { return _lib._objc_msgSend_758( - _lib._class_NSDateFormatter1, _lib._sel_defaultFormatterBehavior1); + _lib._class_NSDateFormatter1, + _lib._sel_defaultFormatterBehavior1, + ); } static void setDefaultFormatterBehavior(AVFAudio _lib, int value) { - return _lib._objc_msgSend_759(_lib._class_NSDateFormatter1, - _lib._sel_setDefaultFormatterBehavior_1, value); + return _lib._objc_msgSend_759( + _lib._class_NSDateFormatter1, + _lib._sel_setDefaultFormatterBehavior_1, + value, + ); } void setLocalizedDateFormatFromTemplate_(NSString dateFormatTemplate) { - _lib._objc_msgSend_247(_id, _lib._sel_setLocalizedDateFormatFromTemplate_1, - dateFormatTemplate._id); + _lib._objc_msgSend_247( + this.pointer, + _lib._sel_setLocalizedDateFormatFromTemplate_1, + dateFormatTemplate.pointer, + ); } NSString get dateFormat { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_dateFormat1); + final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_dateFormat1); return NSString._(_ret, _lib, retain: true, release: true); } set dateFormat(NSString value) { - return _lib._objc_msgSend_646(_id, _lib._sel_setDateFormat_1, value._id); + return _lib._objc_msgSend_646( + this.pointer, + _lib._sel_setDateFormat_1, + value.pointer, + ); } int get dateStyle { - return _lib._objc_msgSend_760(_id, _lib._sel_dateStyle1); + return _lib._objc_msgSend_760(this.pointer, _lib._sel_dateStyle1); } set dateStyle(int value) { - return _lib._objc_msgSend_761(_id, _lib._sel_setDateStyle_1, value); + return _lib._objc_msgSend_761( + this.pointer, + _lib._sel_setDateStyle_1, + value, + ); } int get timeStyle { - return _lib._objc_msgSend_760(_id, _lib._sel_timeStyle1); + return _lib._objc_msgSend_760(this.pointer, _lib._sel_timeStyle1); } set timeStyle(int value) { - return _lib._objc_msgSend_761(_id, _lib._sel_setTimeStyle_1, value); + return _lib._objc_msgSend_761( + this.pointer, + _lib._sel_setTimeStyle_1, + value, + ); } NSLocale get locale { - final _ret = _lib._objc_msgSend_197(_id, _lib._sel_locale1); + final _ret = _lib._objc_msgSend_197(this.pointer, _lib._sel_locale1); return NSLocale._(_ret, _lib, retain: true, release: true); } set locale(NSLocale value) { - return _lib._objc_msgSend_762(_id, _lib._sel_setLocale_1, value._id); + return _lib._objc_msgSend_762( + this.pointer, + _lib._sel_setLocale_1, + value.pointer, + ); } bool get generatesCalendarDates { - return _lib._objc_msgSend_12(_id, _lib._sel_generatesCalendarDates1); + return _lib._objc_msgSend_12( + this.pointer, + _lib._sel_generatesCalendarDates1, + ); } set generatesCalendarDates(bool value) { return _lib._objc_msgSend_527( - _id, _lib._sel_setGeneratesCalendarDates_1, value); + this.pointer, + _lib._sel_setGeneratesCalendarDates_1, + value, + ); } int get formatterBehavior { - return _lib._objc_msgSend_758(_id, _lib._sel_formatterBehavior1); + return _lib._objc_msgSend_758(this.pointer, _lib._sel_formatterBehavior1); } set formatterBehavior(int value) { - return _lib._objc_msgSend_759(_id, _lib._sel_setFormatterBehavior_1, value); + return _lib._objc_msgSend_759( + this.pointer, + _lib._sel_setFormatterBehavior_1, + value, + ); } NSTimeZone get timeZone { - final _ret = _lib._objc_msgSend_179(_id, _lib._sel_timeZone1); + final _ret = _lib._objc_msgSend_179(this.pointer, _lib._sel_timeZone1); return NSTimeZone._(_ret, _lib, retain: true, release: true); } set timeZone(NSTimeZone value) { - return _lib._objc_msgSend_180(_id, _lib._sel_setTimeZone_1, value._id); + return _lib._objc_msgSend_180( + this.pointer, + _lib._sel_setTimeZone_1, + value.pointer, + ); } NSCalendar get calendar { - final _ret = _lib._objc_msgSend_763(_id, _lib._sel_calendar1); + final _ret = _lib._objc_msgSend_763(this.pointer, _lib._sel_calendar1); return NSCalendar._(_ret, _lib, retain: true, release: true); } set calendar(NSCalendar value) { - return _lib._objc_msgSend_799(_id, _lib._sel_setCalendar_1, value._id); + return _lib._objc_msgSend_799( + this.pointer, + _lib._sel_setCalendar_1, + value.pointer, + ); } bool get lenient { - return _lib._objc_msgSend_12(_id, _lib._sel_isLenient1); + return _lib._objc_msgSend_12(this.pointer, _lib._sel_isLenient1); } set lenient(bool value) { - return _lib._objc_msgSend_527(_id, _lib._sel_setLenient_1, value); + return _lib._objc_msgSend_527(this.pointer, _lib._sel_setLenient_1, value); } NSDate? get twoDigitStartDate { - final _ret = _lib._objc_msgSend_183(_id, _lib._sel_twoDigitStartDate1); + final _ret = _lib._objc_msgSend_183( + this.pointer, + _lib._sel_twoDigitStartDate1, + ); return _ret.address == 0 ? null : NSDate._(_ret, _lib, retain: true, release: true); @@ -58663,11 +77745,14 @@ class NSDateFormatter extends NSFormatter { set twoDigitStartDate(NSDate? value) { return _lib._objc_msgSend_800( - _id, _lib._sel_setTwoDigitStartDate_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setTwoDigitStartDate_1, + value?.pointer ?? ffi.nullptr, + ); } NSDate? get defaultDate { - final _ret = _lib._objc_msgSend_183(_id, _lib._sel_defaultDate1); + final _ret = _lib._objc_msgSend_183(this.pointer, _lib._sel_defaultDate1); return _ret.address == 0 ? null : NSDate._(_ret, _lib, retain: true, release: true); @@ -58675,214 +77760,316 @@ class NSDateFormatter extends NSFormatter { set defaultDate(NSDate? value) { return _lib._objc_msgSend_800( - _id, _lib._sel_setDefaultDate_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setDefaultDate_1, + value?.pointer ?? ffi.nullptr, + ); } NSArray get eraSymbols { - final _ret = _lib._objc_msgSend_85(_id, _lib._sel_eraSymbols1); + final _ret = _lib._objc_msgSend_85(this.pointer, _lib._sel_eraSymbols1); return NSArray._(_ret, _lib, retain: true, release: true); } set eraSymbols(NSArray value) { - return _lib._objc_msgSend_801(_id, _lib._sel_setEraSymbols_1, value._id); + return _lib._objc_msgSend_801( + this.pointer, + _lib._sel_setEraSymbols_1, + value.pointer, + ); } NSArray get monthSymbols { - final _ret = _lib._objc_msgSend_85(_id, _lib._sel_monthSymbols1); + final _ret = _lib._objc_msgSend_85(this.pointer, _lib._sel_monthSymbols1); return NSArray._(_ret, _lib, retain: true, release: true); } set monthSymbols(NSArray value) { - return _lib._objc_msgSend_801(_id, _lib._sel_setMonthSymbols_1, value._id); + return _lib._objc_msgSend_801( + this.pointer, + _lib._sel_setMonthSymbols_1, + value.pointer, + ); } NSArray get shortMonthSymbols { - final _ret = _lib._objc_msgSend_85(_id, _lib._sel_shortMonthSymbols1); + final _ret = _lib._objc_msgSend_85( + this.pointer, + _lib._sel_shortMonthSymbols1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } set shortMonthSymbols(NSArray value) { return _lib._objc_msgSend_801( - _id, _lib._sel_setShortMonthSymbols_1, value._id); + this.pointer, + _lib._sel_setShortMonthSymbols_1, + value.pointer, + ); } NSArray get weekdaySymbols { - final _ret = _lib._objc_msgSend_85(_id, _lib._sel_weekdaySymbols1); + final _ret = _lib._objc_msgSend_85(this.pointer, _lib._sel_weekdaySymbols1); return NSArray._(_ret, _lib, retain: true, release: true); } set weekdaySymbols(NSArray value) { return _lib._objc_msgSend_801( - _id, _lib._sel_setWeekdaySymbols_1, value._id); + this.pointer, + _lib._sel_setWeekdaySymbols_1, + value.pointer, + ); } NSArray get shortWeekdaySymbols { - final _ret = _lib._objc_msgSend_85(_id, _lib._sel_shortWeekdaySymbols1); + final _ret = _lib._objc_msgSend_85( + this.pointer, + _lib._sel_shortWeekdaySymbols1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } set shortWeekdaySymbols(NSArray value) { return _lib._objc_msgSend_801( - _id, _lib._sel_setShortWeekdaySymbols_1, value._id); + this.pointer, + _lib._sel_setShortWeekdaySymbols_1, + value.pointer, + ); } NSString get AMSymbol { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_AMSymbol1); + final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_AMSymbol1); return NSString._(_ret, _lib, retain: true, release: true); } set AMSymbol(NSString value) { - return _lib._objc_msgSend_646(_id, _lib._sel_setAMSymbol_1, value._id); + return _lib._objc_msgSend_646( + this.pointer, + _lib._sel_setAMSymbol_1, + value.pointer, + ); } NSString get PMSymbol { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_PMSymbol1); + final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_PMSymbol1); return NSString._(_ret, _lib, retain: true, release: true); } set PMSymbol(NSString value) { - return _lib._objc_msgSend_646(_id, _lib._sel_setPMSymbol_1, value._id); + return _lib._objc_msgSend_646( + this.pointer, + _lib._sel_setPMSymbol_1, + value.pointer, + ); } NSArray get longEraSymbols { - final _ret = _lib._objc_msgSend_85(_id, _lib._sel_longEraSymbols1); + final _ret = _lib._objc_msgSend_85(this.pointer, _lib._sel_longEraSymbols1); return NSArray._(_ret, _lib, retain: true, release: true); } set longEraSymbols(NSArray value) { return _lib._objc_msgSend_801( - _id, _lib._sel_setLongEraSymbols_1, value._id); + this.pointer, + _lib._sel_setLongEraSymbols_1, + value.pointer, + ); } NSArray get veryShortMonthSymbols { - final _ret = _lib._objc_msgSend_85(_id, _lib._sel_veryShortMonthSymbols1); + final _ret = _lib._objc_msgSend_85( + this.pointer, + _lib._sel_veryShortMonthSymbols1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } set veryShortMonthSymbols(NSArray value) { return _lib._objc_msgSend_801( - _id, _lib._sel_setVeryShortMonthSymbols_1, value._id); + this.pointer, + _lib._sel_setVeryShortMonthSymbols_1, + value.pointer, + ); } NSArray get standaloneMonthSymbols { - final _ret = _lib._objc_msgSend_85(_id, _lib._sel_standaloneMonthSymbols1); + final _ret = _lib._objc_msgSend_85( + this.pointer, + _lib._sel_standaloneMonthSymbols1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } set standaloneMonthSymbols(NSArray value) { return _lib._objc_msgSend_801( - _id, _lib._sel_setStandaloneMonthSymbols_1, value._id); + this.pointer, + _lib._sel_setStandaloneMonthSymbols_1, + value.pointer, + ); } NSArray get shortStandaloneMonthSymbols { - final _ret = - _lib._objc_msgSend_85(_id, _lib._sel_shortStandaloneMonthSymbols1); + final _ret = _lib._objc_msgSend_85( + this.pointer, + _lib._sel_shortStandaloneMonthSymbols1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } set shortStandaloneMonthSymbols(NSArray value) { return _lib._objc_msgSend_801( - _id, _lib._sel_setShortStandaloneMonthSymbols_1, value._id); + this.pointer, + _lib._sel_setShortStandaloneMonthSymbols_1, + value.pointer, + ); } NSArray get veryShortStandaloneMonthSymbols { - final _ret = - _lib._objc_msgSend_85(_id, _lib._sel_veryShortStandaloneMonthSymbols1); + final _ret = _lib._objc_msgSend_85( + this.pointer, + _lib._sel_veryShortStandaloneMonthSymbols1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } set veryShortStandaloneMonthSymbols(NSArray value) { return _lib._objc_msgSend_801( - _id, _lib._sel_setVeryShortStandaloneMonthSymbols_1, value._id); + this.pointer, + _lib._sel_setVeryShortStandaloneMonthSymbols_1, + value.pointer, + ); } NSArray get veryShortWeekdaySymbols { - final _ret = _lib._objc_msgSend_85(_id, _lib._sel_veryShortWeekdaySymbols1); + final _ret = _lib._objc_msgSend_85( + this.pointer, + _lib._sel_veryShortWeekdaySymbols1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } set veryShortWeekdaySymbols(NSArray value) { return _lib._objc_msgSend_801( - _id, _lib._sel_setVeryShortWeekdaySymbols_1, value._id); + this.pointer, + _lib._sel_setVeryShortWeekdaySymbols_1, + value.pointer, + ); } NSArray get standaloneWeekdaySymbols { - final _ret = - _lib._objc_msgSend_85(_id, _lib._sel_standaloneWeekdaySymbols1); + final _ret = _lib._objc_msgSend_85( + this.pointer, + _lib._sel_standaloneWeekdaySymbols1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } set standaloneWeekdaySymbols(NSArray value) { return _lib._objc_msgSend_801( - _id, _lib._sel_setStandaloneWeekdaySymbols_1, value._id); + this.pointer, + _lib._sel_setStandaloneWeekdaySymbols_1, + value.pointer, + ); } NSArray get shortStandaloneWeekdaySymbols { - final _ret = - _lib._objc_msgSend_85(_id, _lib._sel_shortStandaloneWeekdaySymbols1); + final _ret = _lib._objc_msgSend_85( + this.pointer, + _lib._sel_shortStandaloneWeekdaySymbols1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } set shortStandaloneWeekdaySymbols(NSArray value) { return _lib._objc_msgSend_801( - _id, _lib._sel_setShortStandaloneWeekdaySymbols_1, value._id); + this.pointer, + _lib._sel_setShortStandaloneWeekdaySymbols_1, + value.pointer, + ); } NSArray get veryShortStandaloneWeekdaySymbols { final _ret = _lib._objc_msgSend_85( - _id, _lib._sel_veryShortStandaloneWeekdaySymbols1); + this.pointer, + _lib._sel_veryShortStandaloneWeekdaySymbols1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } set veryShortStandaloneWeekdaySymbols(NSArray value) { return _lib._objc_msgSend_801( - _id, _lib._sel_setVeryShortStandaloneWeekdaySymbols_1, value._id); + this.pointer, + _lib._sel_setVeryShortStandaloneWeekdaySymbols_1, + value.pointer, + ); } NSArray get quarterSymbols { - final _ret = _lib._objc_msgSend_85(_id, _lib._sel_quarterSymbols1); + final _ret = _lib._objc_msgSend_85(this.pointer, _lib._sel_quarterSymbols1); return NSArray._(_ret, _lib, retain: true, release: true); } set quarterSymbols(NSArray value) { return _lib._objc_msgSend_801( - _id, _lib._sel_setQuarterSymbols_1, value._id); + this.pointer, + _lib._sel_setQuarterSymbols_1, + value.pointer, + ); } NSArray get shortQuarterSymbols { - final _ret = _lib._objc_msgSend_85(_id, _lib._sel_shortQuarterSymbols1); + final _ret = _lib._objc_msgSend_85( + this.pointer, + _lib._sel_shortQuarterSymbols1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } set shortQuarterSymbols(NSArray value) { return _lib._objc_msgSend_801( - _id, _lib._sel_setShortQuarterSymbols_1, value._id); + this.pointer, + _lib._sel_setShortQuarterSymbols_1, + value.pointer, + ); } NSArray get standaloneQuarterSymbols { - final _ret = - _lib._objc_msgSend_85(_id, _lib._sel_standaloneQuarterSymbols1); + final _ret = _lib._objc_msgSend_85( + this.pointer, + _lib._sel_standaloneQuarterSymbols1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } set standaloneQuarterSymbols(NSArray value) { return _lib._objc_msgSend_801( - _id, _lib._sel_setStandaloneQuarterSymbols_1, value._id); + this.pointer, + _lib._sel_setStandaloneQuarterSymbols_1, + value.pointer, + ); } NSArray get shortStandaloneQuarterSymbols { - final _ret = - _lib._objc_msgSend_85(_id, _lib._sel_shortStandaloneQuarterSymbols1); + final _ret = _lib._objc_msgSend_85( + this.pointer, + _lib._sel_shortStandaloneQuarterSymbols1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } set shortStandaloneQuarterSymbols(NSArray value) { return _lib._objc_msgSend_801( - _id, _lib._sel_setShortStandaloneQuarterSymbols_1, value._id); + this.pointer, + _lib._sel_setShortStandaloneQuarterSymbols_1, + value.pointer, + ); } NSDate? get gregorianStartDate { - final _ret = _lib._objc_msgSend_183(_id, _lib._sel_gregorianStartDate1); + final _ret = _lib._objc_msgSend_183( + this.pointer, + _lib._sel_gregorianStartDate1, + ); return _ret.address == 0 ? null : NSDate._(_ret, _lib, retain: true, release: true); @@ -58890,156 +78077,230 @@ class NSDateFormatter extends NSFormatter { set gregorianStartDate(NSDate? value) { return _lib._objc_msgSend_800( - _id, _lib._sel_setGregorianStartDate_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setGregorianStartDate_1, + value?.pointer ?? ffi.nullptr, + ); } bool get doesRelativeDateFormatting { - return _lib._objc_msgSend_12(_id, _lib._sel_doesRelativeDateFormatting1); + return _lib._objc_msgSend_12( + this.pointer, + _lib._sel_doesRelativeDateFormatting1, + ); } set doesRelativeDateFormatting(bool value) { return _lib._objc_msgSend_527( - _id, _lib._sel_setDoesRelativeDateFormatting_1, value); + this.pointer, + _lib._sel_setDoesRelativeDateFormatting_1, + value, + ); } NSObject initWithDateFormat_allowNaturalLanguage_( - NSString format, bool flag) { - final _ret = _lib._objc_msgSend_30(_id, - _lib._sel_initWithDateFormat_allowNaturalLanguage_1, format._id, flag); + NSString format, + bool flag, + ) { + final _ret = _lib._objc_msgSend_30( + this.pointer, + _lib._sel_initWithDateFormat_allowNaturalLanguage_1, + format.pointer, + flag, + ); return NSObject._(_ret, _lib, retain: true, release: true); } bool allowsNaturalLanguage() { - return _lib._objc_msgSend_12(_id, _lib._sel_allowsNaturalLanguage1); + return _lib._objc_msgSend_12( + this.pointer, + _lib._sel_allowsNaturalLanguage1, + ); } @override NSDateFormatter init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSDateFormatter._(_ret, _lib, retain: true, release: true); } static NSDateFormatter new1(AVFAudio _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSDateFormatter1, _lib._sel_new1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSDateFormatter1, + _lib._sel_new1, + ); return NSDateFormatter._(_ret, _lib, retain: false, release: true); } static NSDateFormatter allocWithZone_( - AVFAudio _lib, ffi.Pointer<_NSZone> zone) { + AVFAudio _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSDateFormatter1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSDateFormatter1, + _lib._sel_allocWithZone_1, + zone, + ); return NSDateFormatter._(_ret, _lib, retain: false, release: true); } static NSDateFormatter alloc(AVFAudio _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSDateFormatter1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSDateFormatter1, + _lib._sel_alloc1, + ); return NSDateFormatter._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + AVFAudio _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSDateFormatter1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSDateFormatter1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSDateFormatter1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + AVFAudio _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSDateFormatter1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { - return _lib._objc_msgSend_12(_lib._class_NSDateFormatter1, - _lib._sel_accessInstanceVariablesDirectly1); + return _lib._objc_msgSend_12( + _lib._class_NSDateFormatter1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(AVFAudio _lib) { return _lib._objc_msgSend_12( - _lib._class_NSDateFormatter1, _lib._sel_useStoredAccessor1); + _lib._class_NSDateFormatter1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSDateFormatter1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSDateFormatter1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSDateFormatter1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSDateFormatter1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, NSArray keys, NSString dependentKey) { + AVFAudio _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSDateFormatter1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSDateFormatter1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_85(_lib._class_NSDateFormatter1, - _lib._sel_classFallbacksForKeyedArchiver1); + final _ret = _lib._objc_msgSend_85( + _lib._class_NSDateFormatter1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(AVFAudio _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSDateFormatter1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSDateFormatter1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } class NSFormatter extends NSObject { - NSFormatter._(ffi.Pointer id, AVFAudio lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSFormatter._( + ffi.Pointer pointer, + AVFAudio lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSFormatter] that points to the same underlying object as [other]. - static NSFormatter castFrom(T other) { - return NSFormatter._(other._id, other._lib, retain: true, release: true); + static NSFormatter castFrom( + AVFAudio lib, + T other, + ) { + return NSFormatter._(other.pointer, lib, retain: true, release: true); } /// Returns a [NSFormatter] that wraps the given raw object pointer. static NSFormatter castFromPointer( - AVFAudio lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + AVFAudio lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSFormatter._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSFormatter]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_NSFormatter1); + static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSFormatter1, + ); } NSString? stringForObjectValue_(NSObject? obj) { final _ret = _lib._objc_msgSend_747( - _id, _lib._sel_stringForObjectValue_1, obj?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_stringForObjectValue_1, + obj?.pointer ?? ffi.nullptr, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } NSAttributedString? attributedStringForObjectValue_withDefaultAttributes_( - NSObject obj, NSDictionary? attrs) { + NSObject obj, + NSDictionary? attrs, + ) { final _ret = _lib._objc_msgSend_748( - _id, - _lib._sel_attributedStringForObjectValue_withDefaultAttributes_1, - obj._id, - attrs?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_attributedStringForObjectValue_withDefaultAttributes_1, + obj.pointer, + attrs?.pointer ?? ffi.nullptr, + ); return _ret.address == 0 ? null : NSAttributedString._(_ret, _lib, retain: true, release: true); @@ -59047,56 +78308,65 @@ class NSFormatter extends NSObject { NSString? editingStringForObjectValue_(NSObject obj) { final _ret = _lib._objc_msgSend_526( - _id, _lib._sel_editingStringForObjectValue_1, obj._id); + this.pointer, + _lib._sel_editingStringForObjectValue_1, + obj.pointer, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } bool getObjectValue_forString_errorDescription_( - ffi.Pointer> obj, - NSString string, - ffi.Pointer> error) { + ffi.Pointer> obj, + NSString string, + ffi.Pointer> error, + ) { return _lib._objc_msgSend_749( - _id, - _lib._sel_getObjectValue_forString_errorDescription_1, - obj, - string._id, - error); + this.pointer, + _lib._sel_getObjectValue_forString_errorDescription_1, + obj, + string.pointer, + error, + ); } bool isPartialStringValid_newEditingString_errorDescription_( - NSString partialString, - ffi.Pointer> newString, - ffi.Pointer> error) { + NSString partialString, + ffi.Pointer> newString, + ffi.Pointer> error, + ) { return _lib._objc_msgSend_750( - _id, - _lib._sel_isPartialStringValid_newEditingString_errorDescription_1, - partialString._id, - newString, - error); + this.pointer, + _lib._sel_isPartialStringValid_newEditingString_errorDescription_1, + partialString.pointer, + newString, + error, + ); } bool - isPartialStringValid_proposedSelectedRange_originalString_originalSelectedRange_errorDescription_( - ffi.Pointer> partialStringPtr, - ffi.Pointer<_NSRange> proposedSelRangePtr, - NSString origString, - _NSRange origSelRange, - ffi.Pointer> error) { + isPartialStringValid_proposedSelectedRange_originalString_originalSelectedRange_errorDescription_( + ffi.Pointer> partialStringPtr, + ffi.Pointer<_NSRange> proposedSelRangePtr, + NSString origString, + _NSRange origSelRange, + ffi.Pointer> error, + ) { return _lib._objc_msgSend_751( - _id, - _lib._sel_isPartialStringValid_proposedSelectedRange_originalString_originalSelectedRange_errorDescription_1, - partialStringPtr, - proposedSelRangePtr, - origString._id, - origSelRange, - error); + this.pointer, + _lib._sel_isPartialStringValid_proposedSelectedRange_originalString_originalSelectedRange_errorDescription_1, + partialStringPtr, + proposedSelRangePtr, + origString.pointer, + origSelRange, + error, + ); } @override NSFormatter init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSFormatter._(_ret, _lib, retain: true, release: true); } @@ -59107,76 +78377,110 @@ class NSFormatter extends NSObject { static NSFormatter allocWithZone_(AVFAudio _lib, ffi.Pointer<_NSZone> zone) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSFormatter1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSFormatter1, + _lib._sel_allocWithZone_1, + zone, + ); return NSFormatter._(_ret, _lib, retain: false, release: true); } static NSFormatter alloc(AVFAudio _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSFormatter1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSFormatter1, + _lib._sel_alloc1, + ); return NSFormatter._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + AVFAudio _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSFormatter1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSFormatter1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSFormatter1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + AVFAudio _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSFormatter1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { return _lib._objc_msgSend_12( - _lib._class_NSFormatter1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_NSFormatter1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(AVFAudio _lib) { return _lib._objc_msgSend_12( - _lib._class_NSFormatter1, _lib._sel_useStoredAccessor1); + _lib._class_NSFormatter1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSFormatter1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSFormatter1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSFormatter1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSFormatter1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, NSArray keys, NSString dependentKey) { + AVFAudio _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSFormatter1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSFormatter1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { final _ret = _lib._objc_msgSend_85( - _lib._class_NSFormatter1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSFormatter1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(AVFAudio _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSFormatter1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSFormatter1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } @@ -59205,43 +78509,65 @@ abstract class NSDateFormatterBehavior { } class NSCalendar extends NSObject { - NSCalendar._(ffi.Pointer id, AVFAudio lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSCalendar._( + ffi.Pointer pointer, + AVFAudio lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSCalendar] that points to the same underlying object as [other]. - static NSCalendar castFrom(T other) { - return NSCalendar._(other._id, other._lib, retain: true, release: true); + static NSCalendar castFrom( + AVFAudio lib, + T other, + ) { + return NSCalendar._(other.pointer, lib, retain: true, release: true); } /// Returns a [NSCalendar] that wraps the given raw object pointer. - static NSCalendar castFromPointer(AVFAudio lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + static NSCalendar castFromPointer( + AVFAudio lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSCalendar._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSCalendar]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_NSCalendar1); + static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSCalendar1, + ); } static NSCalendar getCurrentCalendar(AVFAudio _lib) { final _ret = _lib._objc_msgSend_763( - _lib._class_NSCalendar1, _lib._sel_currentCalendar1); + _lib._class_NSCalendar1, + _lib._sel_currentCalendar1, + ); return NSCalendar._(_ret, _lib, retain: true, release: true); } static NSCalendar getAutoupdatingCurrentCalendar(AVFAudio _lib) { final _ret = _lib._objc_msgSend_763( - _lib._class_NSCalendar1, _lib._sel_autoupdatingCurrentCalendar1); + _lib._class_NSCalendar1, + _lib._sel_autoupdatingCurrentCalendar1, + ); return NSCalendar._(_ret, _lib, retain: true, release: true); } static NSCalendar? calendarWithIdentifier_( - AVFAudio _lib, NSString calendarIdentifierConstant) { - final _ret = _lib._objc_msgSend_764(_lib._class_NSCalendar1, - _lib._sel_calendarWithIdentifier_1, calendarIdentifierConstant._id); + AVFAudio _lib, + NSString calendarIdentifierConstant, + ) { + final _ret = _lib._objc_msgSend_764( + _lib._class_NSCalendar1, + _lib._sel_calendarWithIdentifier_1, + calendarIdentifierConstant.pointer, + ); return _ret.address == 0 ? null : NSCalendar._(_ret, _lib, retain: true, release: true); @@ -59249,25 +78575,31 @@ class NSCalendar extends NSObject { @override NSCalendar init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSCalendar._(_ret, _lib, retain: true, release: true); } NSObject? initWithCalendarIdentifier_(NSString ident) { final _ret = _lib._objc_msgSend_38( - _id, _lib._sel_initWithCalendarIdentifier_1, ident._id); + this.pointer, + _lib._sel_initWithCalendarIdentifier_1, + ident.pointer, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } NSString get calendarIdentifier { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_calendarIdentifier1); + final _ret = _lib._objc_msgSend_21( + this.pointer, + _lib._sel_calendarIdentifier1, + ); return NSString._(_ret, _lib, retain: true, release: true); } NSLocale? get locale { - final _ret = _lib._objc_msgSend_765(_id, _lib._sel_locale1); + final _ret = _lib._objc_msgSend_765(this.pointer, _lib._sel_locale1); return _ret.address == 0 ? null : NSLocale._(_ret, _lib, retain: true, release: true); @@ -59275,189 +78607,277 @@ class NSCalendar extends NSObject { set locale(NSLocale? value) { return _lib._objc_msgSend_766( - _id, _lib._sel_setLocale_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setLocale_1, + value?.pointer ?? ffi.nullptr, + ); } NSTimeZone get timeZone { - final _ret = _lib._objc_msgSend_179(_id, _lib._sel_timeZone1); + final _ret = _lib._objc_msgSend_179(this.pointer, _lib._sel_timeZone1); return NSTimeZone._(_ret, _lib, retain: true, release: true); } set timeZone(NSTimeZone value) { - return _lib._objc_msgSend_180(_id, _lib._sel_setTimeZone_1, value._id); + return _lib._objc_msgSend_180( + this.pointer, + _lib._sel_setTimeZone_1, + value.pointer, + ); } int get firstWeekday { - return _lib._objc_msgSend_10(_id, _lib._sel_firstWeekday1); + return _lib._objc_msgSend_10(this.pointer, _lib._sel_firstWeekday1); } set firstWeekday(int value) { - return _lib._objc_msgSend_516(_id, _lib._sel_setFirstWeekday_1, value); + return _lib._objc_msgSend_516( + this.pointer, + _lib._sel_setFirstWeekday_1, + value, + ); } int get minimumDaysInFirstWeek { - return _lib._objc_msgSend_10(_id, _lib._sel_minimumDaysInFirstWeek1); + return _lib._objc_msgSend_10( + this.pointer, + _lib._sel_minimumDaysInFirstWeek1, + ); } set minimumDaysInFirstWeek(int value) { return _lib._objc_msgSend_516( - _id, _lib._sel_setMinimumDaysInFirstWeek_1, value); + this.pointer, + _lib._sel_setMinimumDaysInFirstWeek_1, + value, + ); } NSArray get eraSymbols { - final _ret = _lib._objc_msgSend_85(_id, _lib._sel_eraSymbols1); + final _ret = _lib._objc_msgSend_85(this.pointer, _lib._sel_eraSymbols1); return NSArray._(_ret, _lib, retain: true, release: true); } NSArray get longEraSymbols { - final _ret = _lib._objc_msgSend_85(_id, _lib._sel_longEraSymbols1); + final _ret = _lib._objc_msgSend_85(this.pointer, _lib._sel_longEraSymbols1); return NSArray._(_ret, _lib, retain: true, release: true); } NSArray get monthSymbols { - final _ret = _lib._objc_msgSend_85(_id, _lib._sel_monthSymbols1); + final _ret = _lib._objc_msgSend_85(this.pointer, _lib._sel_monthSymbols1); return NSArray._(_ret, _lib, retain: true, release: true); } NSArray get shortMonthSymbols { - final _ret = _lib._objc_msgSend_85(_id, _lib._sel_shortMonthSymbols1); + final _ret = _lib._objc_msgSend_85( + this.pointer, + _lib._sel_shortMonthSymbols1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } NSArray get veryShortMonthSymbols { - final _ret = _lib._objc_msgSend_85(_id, _lib._sel_veryShortMonthSymbols1); + final _ret = _lib._objc_msgSend_85( + this.pointer, + _lib._sel_veryShortMonthSymbols1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } NSArray get standaloneMonthSymbols { - final _ret = _lib._objc_msgSend_85(_id, _lib._sel_standaloneMonthSymbols1); + final _ret = _lib._objc_msgSend_85( + this.pointer, + _lib._sel_standaloneMonthSymbols1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } NSArray get shortStandaloneMonthSymbols { - final _ret = - _lib._objc_msgSend_85(_id, _lib._sel_shortStandaloneMonthSymbols1); + final _ret = _lib._objc_msgSend_85( + this.pointer, + _lib._sel_shortStandaloneMonthSymbols1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } NSArray get veryShortStandaloneMonthSymbols { - final _ret = - _lib._objc_msgSend_85(_id, _lib._sel_veryShortStandaloneMonthSymbols1); + final _ret = _lib._objc_msgSend_85( + this.pointer, + _lib._sel_veryShortStandaloneMonthSymbols1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } NSArray get weekdaySymbols { - final _ret = _lib._objc_msgSend_85(_id, _lib._sel_weekdaySymbols1); + final _ret = _lib._objc_msgSend_85(this.pointer, _lib._sel_weekdaySymbols1); return NSArray._(_ret, _lib, retain: true, release: true); } NSArray get shortWeekdaySymbols { - final _ret = _lib._objc_msgSend_85(_id, _lib._sel_shortWeekdaySymbols1); + final _ret = _lib._objc_msgSend_85( + this.pointer, + _lib._sel_shortWeekdaySymbols1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } NSArray get veryShortWeekdaySymbols { - final _ret = _lib._objc_msgSend_85(_id, _lib._sel_veryShortWeekdaySymbols1); + final _ret = _lib._objc_msgSend_85( + this.pointer, + _lib._sel_veryShortWeekdaySymbols1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } NSArray get standaloneWeekdaySymbols { - final _ret = - _lib._objc_msgSend_85(_id, _lib._sel_standaloneWeekdaySymbols1); + final _ret = _lib._objc_msgSend_85( + this.pointer, + _lib._sel_standaloneWeekdaySymbols1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } NSArray get shortStandaloneWeekdaySymbols { - final _ret = - _lib._objc_msgSend_85(_id, _lib._sel_shortStandaloneWeekdaySymbols1); + final _ret = _lib._objc_msgSend_85( + this.pointer, + _lib._sel_shortStandaloneWeekdaySymbols1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } NSArray get veryShortStandaloneWeekdaySymbols { final _ret = _lib._objc_msgSend_85( - _id, _lib._sel_veryShortStandaloneWeekdaySymbols1); + this.pointer, + _lib._sel_veryShortStandaloneWeekdaySymbols1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } NSArray get quarterSymbols { - final _ret = _lib._objc_msgSend_85(_id, _lib._sel_quarterSymbols1); + final _ret = _lib._objc_msgSend_85(this.pointer, _lib._sel_quarterSymbols1); return NSArray._(_ret, _lib, retain: true, release: true); } NSArray get shortQuarterSymbols { - final _ret = _lib._objc_msgSend_85(_id, _lib._sel_shortQuarterSymbols1); + final _ret = _lib._objc_msgSend_85( + this.pointer, + _lib._sel_shortQuarterSymbols1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } NSArray get standaloneQuarterSymbols { - final _ret = - _lib._objc_msgSend_85(_id, _lib._sel_standaloneQuarterSymbols1); + final _ret = _lib._objc_msgSend_85( + this.pointer, + _lib._sel_standaloneQuarterSymbols1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } NSArray get shortStandaloneQuarterSymbols { - final _ret = - _lib._objc_msgSend_85(_id, _lib._sel_shortStandaloneQuarterSymbols1); + final _ret = _lib._objc_msgSend_85( + this.pointer, + _lib._sel_shortStandaloneQuarterSymbols1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } NSString get AMSymbol { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_AMSymbol1); + final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_AMSymbol1); return NSString._(_ret, _lib, retain: true, release: true); } NSString get PMSymbol { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_PMSymbol1); + final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_PMSymbol1); return NSString._(_ret, _lib, retain: true, release: true); } void minimumRangeOfUnit_(ffi.Pointer<_NSRange> stret, int unit) { - _lib._objc_msgSend_useVariants1 + objc.useMsgSendVariants ? _lib._objc_msgSend_767_stret( - stret, _id, _lib._sel_minimumRangeOfUnit_1, unit) - : stret.ref = - _lib._objc_msgSend_767(_id, _lib._sel_minimumRangeOfUnit_1, unit); + stret, + this.pointer, + _lib._sel_minimumRangeOfUnit_1, + unit, + ) + : stret.ref = _lib._objc_msgSend_767( + this.pointer, + _lib._sel_minimumRangeOfUnit_1, + unit, + ); } void maximumRangeOfUnit_(ffi.Pointer<_NSRange> stret, int unit) { - _lib._objc_msgSend_useVariants1 + objc.useMsgSendVariants ? _lib._objc_msgSend_767_stret( - stret, _id, _lib._sel_maximumRangeOfUnit_1, unit) - : stret.ref = - _lib._objc_msgSend_767(_id, _lib._sel_maximumRangeOfUnit_1, unit); + stret, + this.pointer, + _lib._sel_maximumRangeOfUnit_1, + unit, + ) + : stret.ref = _lib._objc_msgSend_767( + this.pointer, + _lib._sel_maximumRangeOfUnit_1, + unit, + ); } void rangeOfUnit_inUnit_forDate_( - ffi.Pointer<_NSRange> stret, int smaller, int larger, NSDate date) { - _lib._objc_msgSend_useVariants1 - ? _lib._objc_msgSend_768_stret(stret, _id, - _lib._sel_rangeOfUnit_inUnit_forDate_1, smaller, larger, date._id) - : stret.ref = _lib._objc_msgSend_768(_id, - _lib._sel_rangeOfUnit_inUnit_forDate_1, smaller, larger, date._id); + ffi.Pointer<_NSRange> stret, + int smaller, + int larger, + NSDate date, + ) { + objc.useMsgSendVariants + ? _lib._objc_msgSend_768_stret( + stret, + this.pointer, + _lib._sel_rangeOfUnit_inUnit_forDate_1, + smaller, + larger, + date.pointer, + ) + : stret.ref = _lib._objc_msgSend_768( + this.pointer, + _lib._sel_rangeOfUnit_inUnit_forDate_1, + smaller, + larger, + date.pointer, + ); } int ordinalityOfUnit_inUnit_forDate_(int smaller, int larger, NSDate date) { - return _lib._objc_msgSend_769(_id, - _lib._sel_ordinalityOfUnit_inUnit_forDate_1, smaller, larger, date._id); + return _lib._objc_msgSend_769( + this.pointer, + _lib._sel_ordinalityOfUnit_inUnit_forDate_1, + smaller, + larger, + date.pointer, + ); } bool rangeOfUnit_startDate_interval_forDate_( - int unit, - ffi.Pointer> datep, - ffi.Pointer tip, - NSDate date) { + int unit, + ffi.Pointer> datep, + ffi.Pointer tip, + NSDate date, + ) { return _lib._objc_msgSend_770( - _id, - _lib._sel_rangeOfUnit_startDate_interval_forDate_1, - unit, - datep, - tip, - date._id); + this.pointer, + _lib._sel_rangeOfUnit_startDate_interval_forDate_1, + unit, + datep, + tip, + date.pointer, + ); } NSDate? dateFromComponents_(NSDateComponents comps) { - final _ret = - _lib._objc_msgSend_778(_id, _lib._sel_dateFromComponents_1, comps._id); + final _ret = _lib._objc_msgSend_778( + this.pointer, + _lib._sel_dateFromComponents_1, + comps.pointer, + ); return _ret.address == 0 ? null : NSDate._(_ret, _lib, retain: true, release: true); @@ -59465,328 +78885,431 @@ class NSCalendar extends NSObject { NSDateComponents components_fromDate_(int unitFlags, NSDate date) { final _ret = _lib._objc_msgSend_779( - _id, _lib._sel_components_fromDate_1, unitFlags, date._id); + this.pointer, + _lib._sel_components_fromDate_1, + unitFlags, + date.pointer, + ); return NSDateComponents._(_ret, _lib, retain: true, release: true); } NSDate? dateByAddingComponents_toDate_options_( - NSDateComponents comps, NSDate date, int opts) { + NSDateComponents comps, + NSDate date, + int opts, + ) { final _ret = _lib._objc_msgSend_780( - _id, - _lib._sel_dateByAddingComponents_toDate_options_1, - comps._id, - date._id, - opts); + this.pointer, + _lib._sel_dateByAddingComponents_toDate_options_1, + comps.pointer, + date.pointer, + opts, + ); return _ret.address == 0 ? null : NSDate._(_ret, _lib, retain: true, release: true); } NSDateComponents components_fromDate_toDate_options_( - int unitFlags, NSDate startingDate, NSDate resultDate, int opts) { + int unitFlags, + NSDate startingDate, + NSDate resultDate, + int opts, + ) { final _ret = _lib._objc_msgSend_781( - _id, - _lib._sel_components_fromDate_toDate_options_1, - unitFlags, - startingDate._id, - resultDate._id, - opts); + this.pointer, + _lib._sel_components_fromDate_toDate_options_1, + unitFlags, + startingDate.pointer, + resultDate.pointer, + opts, + ); return NSDateComponents._(_ret, _lib, retain: true, release: true); } void getEra_year_month_day_fromDate_( - ffi.Pointer eraValuePointer, - ffi.Pointer yearValuePointer, - ffi.Pointer monthValuePointer, - ffi.Pointer dayValuePointer, - NSDate date) { + ffi.Pointer eraValuePointer, + ffi.Pointer yearValuePointer, + ffi.Pointer monthValuePointer, + ffi.Pointer dayValuePointer, + NSDate date, + ) { _lib._objc_msgSend_782( - _id, - _lib._sel_getEra_year_month_day_fromDate_1, - eraValuePointer, - yearValuePointer, - monthValuePointer, - dayValuePointer, - date._id); + this.pointer, + _lib._sel_getEra_year_month_day_fromDate_1, + eraValuePointer, + yearValuePointer, + monthValuePointer, + dayValuePointer, + date.pointer, + ); } void getEra_yearForWeekOfYear_weekOfYear_weekday_fromDate_( - ffi.Pointer eraValuePointer, - ffi.Pointer yearValuePointer, - ffi.Pointer weekValuePointer, - ffi.Pointer weekdayValuePointer, - NSDate date) { + ffi.Pointer eraValuePointer, + ffi.Pointer yearValuePointer, + ffi.Pointer weekValuePointer, + ffi.Pointer weekdayValuePointer, + NSDate date, + ) { _lib._objc_msgSend_782( - _id, - _lib._sel_getEra_yearForWeekOfYear_weekOfYear_weekday_fromDate_1, - eraValuePointer, - yearValuePointer, - weekValuePointer, - weekdayValuePointer, - date._id); + this.pointer, + _lib._sel_getEra_yearForWeekOfYear_weekOfYear_weekday_fromDate_1, + eraValuePointer, + yearValuePointer, + weekValuePointer, + weekdayValuePointer, + date.pointer, + ); } void getHour_minute_second_nanosecond_fromDate_( - ffi.Pointer hourValuePointer, - ffi.Pointer minuteValuePointer, - ffi.Pointer secondValuePointer, - ffi.Pointer nanosecondValuePointer, - NSDate date) { + ffi.Pointer hourValuePointer, + ffi.Pointer minuteValuePointer, + ffi.Pointer secondValuePointer, + ffi.Pointer nanosecondValuePointer, + NSDate date, + ) { _lib._objc_msgSend_782( - _id, - _lib._sel_getHour_minute_second_nanosecond_fromDate_1, - hourValuePointer, - minuteValuePointer, - secondValuePointer, - nanosecondValuePointer, - date._id); + this.pointer, + _lib._sel_getHour_minute_second_nanosecond_fromDate_1, + hourValuePointer, + minuteValuePointer, + secondValuePointer, + nanosecondValuePointer, + date.pointer, + ); } int component_fromDate_(int unit, NSDate date) { return _lib._objc_msgSend_783( - _id, _lib._sel_component_fromDate_1, unit, date._id); + this.pointer, + _lib._sel_component_fromDate_1, + unit, + date.pointer, + ); } NSDate? dateWithEra_year_month_day_hour_minute_second_nanosecond_( - int eraValue, - int yearValue, - int monthValue, - int dayValue, - int hourValue, - int minuteValue, - int secondValue, - int nanosecondValue) { + int eraValue, + int yearValue, + int monthValue, + int dayValue, + int hourValue, + int minuteValue, + int secondValue, + int nanosecondValue, + ) { final _ret = _lib._objc_msgSend_784( - _id, - _lib._sel_dateWithEra_year_month_day_hour_minute_second_nanosecond_1, - eraValue, - yearValue, - monthValue, - dayValue, - hourValue, - minuteValue, - secondValue, - nanosecondValue); + this.pointer, + _lib._sel_dateWithEra_year_month_day_hour_minute_second_nanosecond_1, + eraValue, + yearValue, + monthValue, + dayValue, + hourValue, + minuteValue, + secondValue, + nanosecondValue, + ); return _ret.address == 0 ? null : NSDate._(_ret, _lib, retain: true, release: true); } NSDate? - dateWithEra_yearForWeekOfYear_weekOfYear_weekday_hour_minute_second_nanosecond_( - int eraValue, - int yearValue, - int weekValue, - int weekdayValue, - int hourValue, - int minuteValue, - int secondValue, - int nanosecondValue) { + dateWithEra_yearForWeekOfYear_weekOfYear_weekday_hour_minute_second_nanosecond_( + int eraValue, + int yearValue, + int weekValue, + int weekdayValue, + int hourValue, + int minuteValue, + int secondValue, + int nanosecondValue, + ) { final _ret = _lib._objc_msgSend_784( - _id, - _lib._sel_dateWithEra_yearForWeekOfYear_weekOfYear_weekday_hour_minute_second_nanosecond_1, - eraValue, - yearValue, - weekValue, - weekdayValue, - hourValue, - minuteValue, - secondValue, - nanosecondValue); + this.pointer, + _lib._sel_dateWithEra_yearForWeekOfYear_weekOfYear_weekday_hour_minute_second_nanosecond_1, + eraValue, + yearValue, + weekValue, + weekdayValue, + hourValue, + minuteValue, + secondValue, + nanosecondValue, + ); return _ret.address == 0 ? null : NSDate._(_ret, _lib, retain: true, release: true); } NSDate startOfDayForDate_(NSDate date) { - final _ret = - _lib._objc_msgSend_168(_id, _lib._sel_startOfDayForDate_1, date._id); + final _ret = _lib._objc_msgSend_168( + this.pointer, + _lib._sel_startOfDayForDate_1, + date.pointer, + ); return NSDate._(_ret, _lib, retain: true, release: true); } NSDateComponents componentsInTimeZone_fromDate_( - NSTimeZone timezone, NSDate date) { + NSTimeZone timezone, + NSDate date, + ) { final _ret = _lib._objc_msgSend_785( - _id, _lib._sel_componentsInTimeZone_fromDate_1, timezone._id, date._id); + this.pointer, + _lib._sel_componentsInTimeZone_fromDate_1, + timezone.pointer, + date.pointer, + ); return NSDateComponents._(_ret, _lib, retain: true, release: true); } int compareDate_toDate_toUnitGranularity_( - NSDate date1, NSDate date2, int unit) { + NSDate date1, + NSDate date2, + int unit, + ) { return _lib._objc_msgSend_786( - _id, - _lib._sel_compareDate_toDate_toUnitGranularity_1, - date1._id, - date2._id, - unit); + this.pointer, + _lib._sel_compareDate_toDate_toUnitGranularity_1, + date1.pointer, + date2.pointer, + unit, + ); } bool isDate_equalToDate_toUnitGranularity_( - NSDate date1, NSDate date2, int unit) { + NSDate date1, + NSDate date2, + int unit, + ) { return _lib._objc_msgSend_787( - _id, - _lib._sel_isDate_equalToDate_toUnitGranularity_1, - date1._id, - date2._id, - unit); + this.pointer, + _lib._sel_isDate_equalToDate_toUnitGranularity_1, + date1.pointer, + date2.pointer, + unit, + ); } bool isDate_inSameDayAsDate_(NSDate date1, NSDate date2) { return _lib._objc_msgSend_788( - _id, _lib._sel_isDate_inSameDayAsDate_1, date1._id, date2._id); + this.pointer, + _lib._sel_isDate_inSameDayAsDate_1, + date1.pointer, + date2.pointer, + ); } bool isDateInToday_(NSDate date) { - return _lib._objc_msgSend_170(_id, _lib._sel_isDateInToday_1, date._id); + return _lib._objc_msgSend_170( + this.pointer, + _lib._sel_isDateInToday_1, + date.pointer, + ); } bool isDateInYesterday_(NSDate date) { - return _lib._objc_msgSend_170(_id, _lib._sel_isDateInYesterday_1, date._id); + return _lib._objc_msgSend_170( + this.pointer, + _lib._sel_isDateInYesterday_1, + date.pointer, + ); } bool isDateInTomorrow_(NSDate date) { - return _lib._objc_msgSend_170(_id, _lib._sel_isDateInTomorrow_1, date._id); + return _lib._objc_msgSend_170( + this.pointer, + _lib._sel_isDateInTomorrow_1, + date.pointer, + ); } bool isDateInWeekend_(NSDate date) { - return _lib._objc_msgSend_170(_id, _lib._sel_isDateInWeekend_1, date._id); + return _lib._objc_msgSend_170( + this.pointer, + _lib._sel_isDateInWeekend_1, + date.pointer, + ); } bool rangeOfWeekendStartDate_interval_containingDate_( - ffi.Pointer> datep, - ffi.Pointer tip, - NSDate date) { + ffi.Pointer> datep, + ffi.Pointer tip, + NSDate date, + ) { return _lib._objc_msgSend_789( - _id, - _lib._sel_rangeOfWeekendStartDate_interval_containingDate_1, - datep, - tip, - date._id); + this.pointer, + _lib._sel_rangeOfWeekendStartDate_interval_containingDate_1, + datep, + tip, + date.pointer, + ); } bool nextWeekendStartDate_interval_options_afterDate_( - ffi.Pointer> datep, - ffi.Pointer tip, - int options, - NSDate date) { + ffi.Pointer> datep, + ffi.Pointer tip, + int options, + NSDate date, + ) { return _lib._objc_msgSend_790( - _id, - _lib._sel_nextWeekendStartDate_interval_options_afterDate_1, - datep, - tip, - options, - date._id); + this.pointer, + _lib._sel_nextWeekendStartDate_interval_options_afterDate_1, + datep, + tip, + options, + date.pointer, + ); } NSDateComponents components_fromDateComponents_toDateComponents_options_( - int unitFlags, - NSDateComponents startingDateComp, - NSDateComponents resultDateComp, - int options) { + int unitFlags, + NSDateComponents startingDateComp, + NSDateComponents resultDateComp, + int options, + ) { final _ret = _lib._objc_msgSend_791( - _id, - _lib._sel_components_fromDateComponents_toDateComponents_options_1, - unitFlags, - startingDateComp._id, - resultDateComp._id, - options); + this.pointer, + _lib._sel_components_fromDateComponents_toDateComponents_options_1, + unitFlags, + startingDateComp.pointer, + resultDateComp.pointer, + options, + ); return NSDateComponents._(_ret, _lib, retain: true, release: true); } NSDate? dateByAddingUnit_value_toDate_options_( - int unit, int value, NSDate date, int options) { + int unit, + int value, + NSDate date, + int options, + ) { final _ret = _lib._objc_msgSend_792( - _id, - _lib._sel_dateByAddingUnit_value_toDate_options_1, - unit, - value, - date._id, - options); + this.pointer, + _lib._sel_dateByAddingUnit_value_toDate_options_1, + unit, + value, + date.pointer, + options, + ); return _ret.address == 0 ? null : NSDate._(_ret, _lib, retain: true, release: true); } void enumerateDatesStartingAfterDate_matchingComponents_options_usingBlock_( - NSDate start, - NSDateComponents comps, - int opts, - ObjCBlock_ffiVoid_NSDate_bool_bool block) { + NSDate start, + NSDateComponents comps, + int opts, + ObjCBlock_ffiVoid_NSDate_bool_bool block, + ) { _lib._objc_msgSend_793( - _id, - _lib._sel_enumerateDatesStartingAfterDate_matchingComponents_options_usingBlock_1, - start._id, - comps._id, - opts, - block._id); + this.pointer, + _lib._sel_enumerateDatesStartingAfterDate_matchingComponents_options_usingBlock_1, + start.pointer, + comps.pointer, + opts, + block.pointer, + ); } NSDate? nextDateAfterDate_matchingComponents_options_( - NSDate date, NSDateComponents comps, int options) { + NSDate date, + NSDateComponents comps, + int options, + ) { final _ret = _lib._objc_msgSend_794( - _id, - _lib._sel_nextDateAfterDate_matchingComponents_options_1, - date._id, - comps._id, - options); + this.pointer, + _lib._sel_nextDateAfterDate_matchingComponents_options_1, + date.pointer, + comps.pointer, + options, + ); return _ret.address == 0 ? null : NSDate._(_ret, _lib, retain: true, release: true); } NSDate? nextDateAfterDate_matchingUnit_value_options_( - NSDate date, int unit, int value, int options) { + NSDate date, + int unit, + int value, + int options, + ) { final _ret = _lib._objc_msgSend_795( - _id, - _lib._sel_nextDateAfterDate_matchingUnit_value_options_1, - date._id, - unit, - value, - options); + this.pointer, + _lib._sel_nextDateAfterDate_matchingUnit_value_options_1, + date.pointer, + unit, + value, + options, + ); return _ret.address == 0 ? null : NSDate._(_ret, _lib, retain: true, release: true); } - NSDate? nextDateAfterDate_matchingHour_minute_second_options_(NSDate date, - int hourValue, int minuteValue, int secondValue, int options) { + NSDate? nextDateAfterDate_matchingHour_minute_second_options_( + NSDate date, + int hourValue, + int minuteValue, + int secondValue, + int options, + ) { final _ret = _lib._objc_msgSend_796( - _id, - _lib._sel_nextDateAfterDate_matchingHour_minute_second_options_1, - date._id, - hourValue, - minuteValue, - secondValue, - options); + this.pointer, + _lib._sel_nextDateAfterDate_matchingHour_minute_second_options_1, + date.pointer, + hourValue, + minuteValue, + secondValue, + options, + ); return _ret.address == 0 ? null : NSDate._(_ret, _lib, retain: true, release: true); } NSDate? dateBySettingUnit_value_ofDate_options_( - int unit, int v, NSDate date, int opts) { + int unit, + int v, + NSDate date, + int opts, + ) { final _ret = _lib._objc_msgSend_792( - _id, - _lib._sel_dateBySettingUnit_value_ofDate_options_1, - unit, - v, - date._id, - opts); + this.pointer, + _lib._sel_dateBySettingUnit_value_ofDate_options_1, + unit, + v, + date.pointer, + opts, + ); return _ret.address == 0 ? null : NSDate._(_ret, _lib, retain: true, release: true); } NSDate? dateBySettingHour_minute_second_ofDate_options_( - int h, int m, int s, NSDate date, int opts) { + int h, + int m, + int s, + NSDate date, + int opts, + ) { final _ret = _lib._objc_msgSend_797( - _id, - _lib._sel_dateBySettingHour_minute_second_ofDate_options_1, - h, - m, - s, - date._id, - opts); + this.pointer, + _lib._sel_dateBySettingHour_minute_second_ofDate_options_1, + h, + m, + s, + date.pointer, + opts, + ); return _ret.address == 0 ? null : NSDate._(_ret, _lib, retain: true, release: true); @@ -59794,7 +79317,11 @@ class NSCalendar extends NSObject { bool date_matchesComponents_(NSDate date, NSDateComponents components) { return _lib._objc_msgSend_798( - _id, _lib._sel_date_matchesComponents_1, date._id, components._id); + this.pointer, + _lib._sel_date_matchesComponents_1, + date.pointer, + components.pointer, + ); } static NSCalendar new1(AVFAudio _lib) { @@ -59804,76 +79331,110 @@ class NSCalendar extends NSObject { static NSCalendar allocWithZone_(AVFAudio _lib, ffi.Pointer<_NSZone> zone) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSCalendar1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSCalendar1, + _lib._sel_allocWithZone_1, + zone, + ); return NSCalendar._(_ret, _lib, retain: false, release: true); } static NSCalendar alloc(AVFAudio _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSCalendar1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSCalendar1, + _lib._sel_alloc1, + ); return NSCalendar._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + AVFAudio _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSCalendar1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSCalendar1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSCalendar1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + AVFAudio _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSCalendar1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { return _lib._objc_msgSend_12( - _lib._class_NSCalendar1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_NSCalendar1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(AVFAudio _lib) { return _lib._objc_msgSend_12( - _lib._class_NSCalendar1, _lib._sel_useStoredAccessor1); + _lib._class_NSCalendar1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSCalendar1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSCalendar1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSCalendar1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSCalendar1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, NSArray keys, NSString dependentKey) { + AVFAudio _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSCalendar1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSCalendar1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { final _ret = _lib._objc_msgSend_85( - _lib._class_NSCalendar1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSCalendar1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(AVFAudio _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSCalendar1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSCalendar1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } @@ -59914,31 +79475,42 @@ abstract class NSCalendarUnit { } class NSDateComponents extends NSObject { - NSDateComponents._(ffi.Pointer id, AVFAudio lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSDateComponents._( + ffi.Pointer pointer, + AVFAudio lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSDateComponents] that points to the same underlying object as [other]. - static NSDateComponents castFrom(T other) { - return NSDateComponents._(other._id, other._lib, - retain: true, release: true); + static NSDateComponents castFrom( + AVFAudio lib, + T other, + ) { + return NSDateComponents._(other.pointer, lib, retain: true, release: true); } /// Returns a [NSDateComponents] that wraps the given raw object pointer. static NSDateComponents castFromPointer( - AVFAudio lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + AVFAudio lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSDateComponents._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSDateComponents]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0(obj._id, obj._lib._sel_isKindOfClass_1, - obj._lib._class_NSDateComponents1); + static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSDateComponents1, + ); } NSCalendar? get calendar { - final _ret = _lib._objc_msgSend_771(_id, _lib._sel_calendar1); + final _ret = _lib._objc_msgSend_771(this.pointer, _lib._sel_calendar1); return _ret.address == 0 ? null : NSCalendar._(_ret, _lib, retain: true, release: true); @@ -59946,11 +79518,14 @@ class NSDateComponents extends NSObject { set calendar(NSCalendar? value) { return _lib._objc_msgSend_772( - _id, _lib._sel_setCalendar_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setCalendar_1, + value?.pointer ?? ffi.nullptr, + ); } NSTimeZone? get timeZone { - final _ret = _lib._objc_msgSend_773(_id, _lib._sel_timeZone1); + final _ret = _lib._objc_msgSend_773(this.pointer, _lib._sel_timeZone1); return _ret.address == 0 ? null : NSTimeZone._(_ret, _lib, retain: true, release: true); @@ -59958,246 +79533,323 @@ class NSDateComponents extends NSObject { set timeZone(NSTimeZone? value) { return _lib._objc_msgSend_774( - _id, _lib._sel_setTimeZone_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setTimeZone_1, + value?.pointer ?? ffi.nullptr, + ); } int get era { - return _lib._objc_msgSend_83(_id, _lib._sel_era1); + return _lib._objc_msgSend_83(this.pointer, _lib._sel_era1); } set era(int value) { - return _lib._objc_msgSend_635(_id, _lib._sel_setEra_1, value); + return _lib._objc_msgSend_635(this.pointer, _lib._sel_setEra_1, value); } int get year { - return _lib._objc_msgSend_83(_id, _lib._sel_year1); + return _lib._objc_msgSend_83(this.pointer, _lib._sel_year1); } set year(int value) { - return _lib._objc_msgSend_635(_id, _lib._sel_setYear_1, value); + return _lib._objc_msgSend_635(this.pointer, _lib._sel_setYear_1, value); } int get month { - return _lib._objc_msgSend_83(_id, _lib._sel_month1); + return _lib._objc_msgSend_83(this.pointer, _lib._sel_month1); } set month(int value) { - return _lib._objc_msgSend_635(_id, _lib._sel_setMonth_1, value); + return _lib._objc_msgSend_635(this.pointer, _lib._sel_setMonth_1, value); } int get day { - return _lib._objc_msgSend_83(_id, _lib._sel_day1); + return _lib._objc_msgSend_83(this.pointer, _lib._sel_day1); } set day(int value) { - return _lib._objc_msgSend_635(_id, _lib._sel_setDay_1, value); + return _lib._objc_msgSend_635(this.pointer, _lib._sel_setDay_1, value); } int get hour { - return _lib._objc_msgSend_83(_id, _lib._sel_hour1); + return _lib._objc_msgSend_83(this.pointer, _lib._sel_hour1); } set hour(int value) { - return _lib._objc_msgSend_635(_id, _lib._sel_setHour_1, value); + return _lib._objc_msgSend_635(this.pointer, _lib._sel_setHour_1, value); } int get minute { - return _lib._objc_msgSend_83(_id, _lib._sel_minute1); + return _lib._objc_msgSend_83(this.pointer, _lib._sel_minute1); } set minute(int value) { - return _lib._objc_msgSend_635(_id, _lib._sel_setMinute_1, value); + return _lib._objc_msgSend_635(this.pointer, _lib._sel_setMinute_1, value); } int get second { - return _lib._objc_msgSend_83(_id, _lib._sel_second1); + return _lib._objc_msgSend_83(this.pointer, _lib._sel_second1); } set second(int value) { - return _lib._objc_msgSend_635(_id, _lib._sel_setSecond_1, value); + return _lib._objc_msgSend_635(this.pointer, _lib._sel_setSecond_1, value); } int get nanosecond { - return _lib._objc_msgSend_83(_id, _lib._sel_nanosecond1); + return _lib._objc_msgSend_83(this.pointer, _lib._sel_nanosecond1); } set nanosecond(int value) { - return _lib._objc_msgSend_635(_id, _lib._sel_setNanosecond_1, value); + return _lib._objc_msgSend_635( + this.pointer, + _lib._sel_setNanosecond_1, + value, + ); } int get weekday { - return _lib._objc_msgSend_83(_id, _lib._sel_weekday1); + return _lib._objc_msgSend_83(this.pointer, _lib._sel_weekday1); } set weekday(int value) { - return _lib._objc_msgSend_635(_id, _lib._sel_setWeekday_1, value); + return _lib._objc_msgSend_635(this.pointer, _lib._sel_setWeekday_1, value); } int get weekdayOrdinal { - return _lib._objc_msgSend_83(_id, _lib._sel_weekdayOrdinal1); + return _lib._objc_msgSend_83(this.pointer, _lib._sel_weekdayOrdinal1); } set weekdayOrdinal(int value) { - return _lib._objc_msgSend_635(_id, _lib._sel_setWeekdayOrdinal_1, value); + return _lib._objc_msgSend_635( + this.pointer, + _lib._sel_setWeekdayOrdinal_1, + value, + ); } int get quarter { - return _lib._objc_msgSend_83(_id, _lib._sel_quarter1); + return _lib._objc_msgSend_83(this.pointer, _lib._sel_quarter1); } set quarter(int value) { - return _lib._objc_msgSend_635(_id, _lib._sel_setQuarter_1, value); + return _lib._objc_msgSend_635(this.pointer, _lib._sel_setQuarter_1, value); } int get weekOfMonth { - return _lib._objc_msgSend_83(_id, _lib._sel_weekOfMonth1); + return _lib._objc_msgSend_83(this.pointer, _lib._sel_weekOfMonth1); } set weekOfMonth(int value) { - return _lib._objc_msgSend_635(_id, _lib._sel_setWeekOfMonth_1, value); + return _lib._objc_msgSend_635( + this.pointer, + _lib._sel_setWeekOfMonth_1, + value, + ); } int get weekOfYear { - return _lib._objc_msgSend_83(_id, _lib._sel_weekOfYear1); + return _lib._objc_msgSend_83(this.pointer, _lib._sel_weekOfYear1); } set weekOfYear(int value) { - return _lib._objc_msgSend_635(_id, _lib._sel_setWeekOfYear_1, value); + return _lib._objc_msgSend_635( + this.pointer, + _lib._sel_setWeekOfYear_1, + value, + ); } int get yearForWeekOfYear { - return _lib._objc_msgSend_83(_id, _lib._sel_yearForWeekOfYear1); + return _lib._objc_msgSend_83(this.pointer, _lib._sel_yearForWeekOfYear1); } set yearForWeekOfYear(int value) { - return _lib._objc_msgSend_635(_id, _lib._sel_setYearForWeekOfYear_1, value); + return _lib._objc_msgSend_635( + this.pointer, + _lib._sel_setYearForWeekOfYear_1, + value, + ); } bool get leapMonth { - return _lib._objc_msgSend_12(_id, _lib._sel_isLeapMonth1); + return _lib._objc_msgSend_12(this.pointer, _lib._sel_isLeapMonth1); } set leapMonth(bool value) { - return _lib._objc_msgSend_527(_id, _lib._sel_setLeapMonth_1, value); + return _lib._objc_msgSend_527( + this.pointer, + _lib._sel_setLeapMonth_1, + value, + ); } NSDate? get date { - final _ret = _lib._objc_msgSend_183(_id, _lib._sel_date1); + final _ret = _lib._objc_msgSend_183(this.pointer, _lib._sel_date1); return _ret.address == 0 ? null : NSDate._(_ret, _lib, retain: true, release: true); } int week() { - return _lib._objc_msgSend_83(_id, _lib._sel_week1); + return _lib._objc_msgSend_83(this.pointer, _lib._sel_week1); } void setWeek_(int v) { - _lib._objc_msgSend_423(_id, _lib._sel_setWeek_1, v); + _lib._objc_msgSend_423(this.pointer, _lib._sel_setWeek_1, v); } void setValue_forComponent_(int value, int unit) { - _lib._objc_msgSend_775(_id, _lib._sel_setValue_forComponent_1, value, unit); + _lib._objc_msgSend_775( + this.pointer, + _lib._sel_setValue_forComponent_1, + value, + unit, + ); } int valueForComponent_(int unit) { - return _lib._objc_msgSend_776(_id, _lib._sel_valueForComponent_1, unit); + return _lib._objc_msgSend_776( + this.pointer, + _lib._sel_valueForComponent_1, + unit, + ); } bool get validDate { - return _lib._objc_msgSend_12(_id, _lib._sel_isValidDate1); + return _lib._objc_msgSend_12(this.pointer, _lib._sel_isValidDate1); } bool isValidDateInCalendar_(NSCalendar calendar) { return _lib._objc_msgSend_777( - _id, _lib._sel_isValidDateInCalendar_1, calendar._id); + this.pointer, + _lib._sel_isValidDateInCalendar_1, + calendar.pointer, + ); } @override NSDateComponents init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSDateComponents._(_ret, _lib, retain: true, release: true); } static NSDateComponents new1(AVFAudio _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSDateComponents1, _lib._sel_new1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSDateComponents1, + _lib._sel_new1, + ); return NSDateComponents._(_ret, _lib, retain: false, release: true); } static NSDateComponents allocWithZone_( - AVFAudio _lib, ffi.Pointer<_NSZone> zone) { + AVFAudio _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSDateComponents1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSDateComponents1, + _lib._sel_allocWithZone_1, + zone, + ); return NSDateComponents._(_ret, _lib, retain: false, release: true); } static NSDateComponents alloc(AVFAudio _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSDateComponents1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSDateComponents1, + _lib._sel_alloc1, + ); return NSDateComponents._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + AVFAudio _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSDateComponents1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSDateComponents1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSDateComponents1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + AVFAudio _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSDateComponents1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { - return _lib._objc_msgSend_12(_lib._class_NSDateComponents1, - _lib._sel_accessInstanceVariablesDirectly1); + return _lib._objc_msgSend_12( + _lib._class_NSDateComponents1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(AVFAudio _lib) { return _lib._objc_msgSend_12( - _lib._class_NSDateComponents1, _lib._sel_useStoredAccessor1); + _lib._class_NSDateComponents1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSDateComponents1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSDateComponents1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSDateComponents1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSDateComponents1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, NSArray keys, NSString dependentKey) { + AVFAudio _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSDateComponents1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSDateComponents1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_85(_lib._class_NSDateComponents1, - _lib._sel_classFallbacksForKeyedArchiver1); + final _ret = _lib._objc_msgSend_85( + _lib._class_NSDateComponents1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(AVFAudio _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSDateComponents1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSDateComponents1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } @@ -60214,47 +79866,70 @@ abstract class NSCalendarOptions { } void _ObjCBlock_ffiVoid_NSDate_bool_bool_fnPtrTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - bool arg1, - ffi.Pointer arg2) => - block.ref.target - .cast< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer arg0, ffi.Bool arg1, - ffi.Pointer arg2)>>() - .asFunction< - void Function(ffi.Pointer, bool, - ffi.Pointer)>()(arg0, arg1, arg2); -final _ObjCBlock_ffiVoid_NSDate_bool_bool_closureRegistry = , bool, ffi.Pointer)>{}; + ffi.Pointer block, + ffi.Pointer arg0, + bool arg1, + ffi.Pointer arg2, +) => block.ref.target + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Bool arg1, + ffi.Pointer arg2, + ) + > + >() + .asFunction< + void Function(ffi.Pointer, bool, ffi.Pointer) + >()(arg0, arg1, arg2); +final _ObjCBlock_ffiVoid_NSDate_bool_bool_closureRegistry = + < + int, + void Function(ffi.Pointer, bool, ffi.Pointer) + >{}; int _ObjCBlock_ffiVoid_NSDate_bool_bool_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_ffiVoid_NSDate_bool_bool_registerClosure( - void Function(ffi.Pointer, bool, ffi.Pointer) fn) { + void Function(ffi.Pointer, bool, ffi.Pointer) fn, +) { final id = ++_ObjCBlock_ffiVoid_NSDate_bool_bool_closureRegistryIndex; _ObjCBlock_ffiVoid_NSDate_bool_bool_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } void _ObjCBlock_ffiVoid_NSDate_bool_bool_closureTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - bool arg1, - ffi.Pointer arg2) => - _ObjCBlock_ffiVoid_NSDate_bool_bool_closureRegistry[ - block.ref.target.address]!(arg0, arg1, arg2); - -class ObjCBlock_ffiVoid_NSDate_bool_bool extends _ObjCBlockBase { - ObjCBlock_ffiVoid_NSDate_bool_bool._(ffi.Pointer<_ObjCBlock> id, AVFAudio lib, - {bool retain = false, bool release = true}) - : super._(id, lib, retain: retain, release: release); + ffi.Pointer block, + ffi.Pointer arg0, + bool arg1, + ffi.Pointer arg2, +) => _ObjCBlock_ffiVoid_NSDate_bool_bool_closureRegistry[block + .ref + .target + .address]!(arg0, arg1, arg2); + +class ObjCBlock_ffiVoid_NSDate_bool_bool extends objc.ObjCBlockBase { + ObjCBlock_ffiVoid_NSDate_bool_bool._( + ffi.Pointer pointer, + this._lib, { + bool retain = false, + bool release = true, + }) : super(pointer, retain: retain, release: release); + + AVFAudio _lib; /// Returns a block that wraps the given raw block pointer. static ObjCBlock_ffiVoid_NSDate_bool_bool castFromPointer( - AVFAudio lib, ffi.Pointer<_ObjCBlock> pointer, - {bool retain = false, bool release = false}) { - return ObjCBlock_ffiVoid_NSDate_bool_bool._(pointer, lib, - retain: retain, release: release); + AVFAudio lib, + ffi.Pointer pointer, { + bool retain = false, + bool release = false, + }) { + return ObjCBlock_ffiVoid_NSDate_bool_bool._( + pointer, + lib, + retain: retain, + release: release, + ); } /// Creates a block from a C function pointer. @@ -60263,24 +79938,28 @@ class ObjCBlock_ffiVoid_NSDate_bool_bool extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSDate_bool_bool.fromFunctionPointer( - AVFAudio lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer arg0, ffi.Bool arg1, - ffi.Pointer arg2)>> - ptr) - : this._( - lib._newBlock1( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Bool, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_NSDate_bool_bool_fnPtrTrampoline) - .cast(), - ptr.cast()), - lib); + AVFAudio lib, + ffi.Pointer< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Bool arg1, + ffi.Pointer arg2, + ) + > + > ptr, + ) : this._(objc.newBlock( + _cFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_NSDate_bool_bool_fnPtrTrampoline).cast(), + ptr.cast(), + ), lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -60289,22 +79968,30 @@ class ObjCBlock_ffiVoid_NSDate_bool_bool extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSDate_bool_bool.fromFunction( - AVFAudio lib, void Function(NSDate?, bool, ffi.Pointer) fn) - : this._( - lib._newBlock1( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Bool, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_NSDate_bool_bool_closureTrampoline) - .cast(), - _ObjCBlock_ffiVoid_NSDate_bool_bool_registerClosure( - (ffi.Pointer arg0, bool arg1, - ffi.Pointer arg2) => - fn(arg0.address == 0 ? null : NSDate._(arg0, lib, retain: true, release: true), arg1, arg2))), - lib); + AVFAudio lib, + void Function(NSDate?, bool, ffi.Pointer) fn, + ) : this._(objc.newBlock( + _dartFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_NSDate_bool_bool_closureTrampoline).cast(), + _ObjCBlock_ffiVoid_NSDate_bool_bool_registerClosure(( + ffi.Pointer arg0, + bool arg1, + ffi.Pointer arg2, + ) => fn( + arg0.address == 0 + ? null + : NSDate._(arg0, lib, retain: true, release: true), + arg1, + arg2, + )), + ), lib); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -60317,169 +80004,249 @@ class ObjCBlock_ffiVoid_NSDate_bool_bool extends _ObjCBlockBase { /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. ObjCBlock_ffiVoid_NSDate_bool_bool.listener( - AVFAudio lib, void Function(NSDate?, bool, ffi.Pointer) fn) - : this._( - lib._newBlock1( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Bool, - ffi.Pointer)>.listener( - _ObjCBlock_ffiVoid_NSDate_bool_bool_closureTrampoline) - ..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSDate_bool_bool_registerClosure( - (ffi.Pointer arg0, bool arg1, - ffi.Pointer arg2) => - fn(arg0.address == 0 ? null : NSDate._(arg0, lib, retain: true, release: true), arg1, arg2))), - lib); + AVFAudio lib, + void Function(NSDate?, bool, ffi.Pointer) fn, + ) : this._(objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.Pointer, + ) + >.listener( + _ObjCBlock_ffiVoid_NSDate_bool_bool_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSDate_bool_bool_registerClosure(( + ffi.Pointer arg0, + bool arg1, + ffi.Pointer arg2, + ) => fn( + arg0.address == 0 + ? null + : NSDate._(arg0, lib, retain: true, release: true), + arg1, + arg2, + )), + ), lib); static ffi.NativeCallable< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer, - ffi.Bool, ffi.Pointer)>? _dartFuncListenerTrampoline; - - void call(NSDate? arg0, bool arg1, ffi.Pointer arg2) => - _id.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Bool arg1, - ffi.Pointer arg2)>>() - .asFunction< - void Function(ffi.Pointer<_ObjCBlock>, - ffi.Pointer, bool, ffi.Pointer)>()( - _id, arg0?._id ?? ffi.nullptr, arg1, arg2); + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.Pointer, + ) + >? _dartFuncListenerTrampoline; + + void call(NSDate? arg0, bool arg1, ffi.Pointer arg2) => pointer + .ref + .invoke + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Bool arg1, + ffi.Pointer arg2, + ) + > + >() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + bool, + ffi.Pointer, + ) + >()(pointer, arg0?.pointer ?? ffi.nullptr, arg1, arg2); } class NSNumberFormatter extends NSFormatter { - NSNumberFormatter._(ffi.Pointer id, AVFAudio lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSNumberFormatter._( + ffi.Pointer pointer, + AVFAudio lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSNumberFormatter] that points to the same underlying object as [other]. - static NSNumberFormatter castFrom(T other) { - return NSNumberFormatter._(other._id, other._lib, - retain: true, release: true); + static NSNumberFormatter castFrom( + AVFAudio lib, + T other, + ) { + return NSNumberFormatter._(other.pointer, lib, retain: true, release: true); } /// Returns a [NSNumberFormatter] that wraps the given raw object pointer. static NSNumberFormatter castFromPointer( - AVFAudio lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + AVFAudio lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSNumberFormatter._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSNumberFormatter]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0(obj._id, obj._lib._sel_isKindOfClass_1, - obj._lib._class_NSNumberFormatter1); + static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSNumberFormatter1, + ); } int get formattingContext { - return _lib._objc_msgSend_752(_id, _lib._sel_formattingContext1); + return _lib._objc_msgSend_752(this.pointer, _lib._sel_formattingContext1); } set formattingContext(int value) { - return _lib._objc_msgSend_753(_id, _lib._sel_setFormattingContext_1, value); + return _lib._objc_msgSend_753( + this.pointer, + _lib._sel_setFormattingContext_1, + value, + ); } bool getObjectValue_forString_range_error_( - ffi.Pointer> obj, - NSString string, - ffi.Pointer<_NSRange> rangep, - ffi.Pointer> error) { + ffi.Pointer> obj, + NSString string, + ffi.Pointer<_NSRange> rangep, + ffi.Pointer> error, + ) { return _lib._objc_msgSend_754( - _id, - _lib._sel_getObjectValue_forString_range_error_1, - obj, - string._id, - rangep, - error); + this.pointer, + _lib._sel_getObjectValue_forString_range_error_1, + obj, + string.pointer, + rangep, + error, + ); } NSString? stringFromNumber_(NSNumber number) { - final _ret = - _lib._objc_msgSend_802(_id, _lib._sel_stringFromNumber_1, number._id); + final _ret = _lib._objc_msgSend_802( + this.pointer, + _lib._sel_stringFromNumber_1, + number.pointer, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } NSNumber? numberFromString_(NSString string) { - final _ret = - _lib._objc_msgSend_803(_id, _lib._sel_numberFromString_1, string._id); + final _ret = _lib._objc_msgSend_803( + this.pointer, + _lib._sel_numberFromString_1, + string.pointer, + ); return _ret.address == 0 ? null : NSNumber._(_ret, _lib, retain: true, release: true); } static NSString localizedStringFromNumber_numberStyle_( - AVFAudio _lib, NSNumber num, int nstyle) { - final _ret = _lib._objc_msgSend_804(_lib._class_NSNumberFormatter1, - _lib._sel_localizedStringFromNumber_numberStyle_1, num._id, nstyle); + AVFAudio _lib, + NSNumber num, + int nstyle, + ) { + final _ret = _lib._objc_msgSend_804( + _lib._class_NSNumberFormatter1, + _lib._sel_localizedStringFromNumber_numberStyle_1, + num.pointer, + nstyle, + ); return NSString._(_ret, _lib, retain: true, release: true); } static int defaultFormatterBehavior(AVFAudio _lib) { return _lib._objc_msgSend_805( - _lib._class_NSNumberFormatter1, _lib._sel_defaultFormatterBehavior1); + _lib._class_NSNumberFormatter1, + _lib._sel_defaultFormatterBehavior1, + ); } static void setDefaultFormatterBehavior_(AVFAudio _lib, int behavior) { - _lib._objc_msgSend_806(_lib._class_NSNumberFormatter1, - _lib._sel_setDefaultFormatterBehavior_1, behavior); + _lib._objc_msgSend_806( + _lib._class_NSNumberFormatter1, + _lib._sel_setDefaultFormatterBehavior_1, + behavior, + ); } int get numberStyle { - return _lib._objc_msgSend_807(_id, _lib._sel_numberStyle1); + return _lib._objc_msgSend_807(this.pointer, _lib._sel_numberStyle1); } set numberStyle(int value) { - return _lib._objc_msgSend_808(_id, _lib._sel_setNumberStyle_1, value); + return _lib._objc_msgSend_808( + this.pointer, + _lib._sel_setNumberStyle_1, + value, + ); } NSLocale get locale { - final _ret = _lib._objc_msgSend_197(_id, _lib._sel_locale1); + final _ret = _lib._objc_msgSend_197(this.pointer, _lib._sel_locale1); return NSLocale._(_ret, _lib, retain: true, release: true); } set locale(NSLocale value) { - return _lib._objc_msgSend_762(_id, _lib._sel_setLocale_1, value._id); + return _lib._objc_msgSend_762( + this.pointer, + _lib._sel_setLocale_1, + value.pointer, + ); } bool get generatesDecimalNumbers { - return _lib._objc_msgSend_12(_id, _lib._sel_generatesDecimalNumbers1); + return _lib._objc_msgSend_12( + this.pointer, + _lib._sel_generatesDecimalNumbers1, + ); } set generatesDecimalNumbers(bool value) { return _lib._objc_msgSend_527( - _id, _lib._sel_setGeneratesDecimalNumbers_1, value); + this.pointer, + _lib._sel_setGeneratesDecimalNumbers_1, + value, + ); } int get formatterBehavior { - return _lib._objc_msgSend_805(_id, _lib._sel_formatterBehavior1); + return _lib._objc_msgSend_805(this.pointer, _lib._sel_formatterBehavior1); } set formatterBehavior(int value) { - return _lib._objc_msgSend_809(_id, _lib._sel_setFormatterBehavior_1, value); + return _lib._objc_msgSend_809( + this.pointer, + _lib._sel_setFormatterBehavior_1, + value, + ); } NSString get negativeFormat { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_negativeFormat1); + final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_negativeFormat1); return NSString._(_ret, _lib, retain: true, release: true); } set negativeFormat(NSString value) { return _lib._objc_msgSend_646( - _id, _lib._sel_setNegativeFormat_1, value._id); + this.pointer, + _lib._sel_setNegativeFormat_1, + value.pointer, + ); } NSDictionary? get textAttributesForNegativeValues { - final _ret = - _lib._objc_msgSend_390(_id, _lib._sel_textAttributesForNegativeValues1); + final _ret = _lib._objc_msgSend_390( + this.pointer, + _lib._sel_textAttributesForNegativeValues1, + ); return _ret.address == 0 ? null : NSDictionary._(_ret, _lib, retain: true, release: true); @@ -60487,24 +80254,30 @@ class NSNumberFormatter extends NSFormatter { set textAttributesForNegativeValues(NSDictionary? value) { return _lib._objc_msgSend_634( - _id, - _lib._sel_setTextAttributesForNegativeValues_1, - value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setTextAttributesForNegativeValues_1, + value?.pointer ?? ffi.nullptr, + ); } NSString get positiveFormat { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_positiveFormat1); + final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_positiveFormat1); return NSString._(_ret, _lib, retain: true, release: true); } set positiveFormat(NSString value) { return _lib._objc_msgSend_646( - _id, _lib._sel_setPositiveFormat_1, value._id); + this.pointer, + _lib._sel_setPositiveFormat_1, + value.pointer, + ); } NSDictionary? get textAttributesForPositiveValues { - final _ret = - _lib._objc_msgSend_390(_id, _lib._sel_textAttributesForPositiveValues1); + final _ret = _lib._objc_msgSend_390( + this.pointer, + _lib._sel_textAttributesForPositiveValues1, + ); return _ret.address == 0 ? null : NSDictionary._(_ret, _lib, retain: true, release: true); @@ -60512,70 +80285,104 @@ class NSNumberFormatter extends NSFormatter { set textAttributesForPositiveValues(NSDictionary? value) { return _lib._objc_msgSend_634( - _id, - _lib._sel_setTextAttributesForPositiveValues_1, - value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setTextAttributesForPositiveValues_1, + value?.pointer ?? ffi.nullptr, + ); } bool get allowsFloats { - return _lib._objc_msgSend_12(_id, _lib._sel_allowsFloats1); + return _lib._objc_msgSend_12(this.pointer, _lib._sel_allowsFloats1); } set allowsFloats(bool value) { - return _lib._objc_msgSend_527(_id, _lib._sel_setAllowsFloats_1, value); + return _lib._objc_msgSend_527( + this.pointer, + _lib._sel_setAllowsFloats_1, + value, + ); } NSString get decimalSeparator { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_decimalSeparator1); + final _ret = _lib._objc_msgSend_21( + this.pointer, + _lib._sel_decimalSeparator1, + ); return NSString._(_ret, _lib, retain: true, release: true); } set decimalSeparator(NSString value) { return _lib._objc_msgSend_646( - _id, _lib._sel_setDecimalSeparator_1, value._id); + this.pointer, + _lib._sel_setDecimalSeparator_1, + value.pointer, + ); } bool get alwaysShowsDecimalSeparator { - return _lib._objc_msgSend_12(_id, _lib._sel_alwaysShowsDecimalSeparator1); + return _lib._objc_msgSend_12( + this.pointer, + _lib._sel_alwaysShowsDecimalSeparator1, + ); } set alwaysShowsDecimalSeparator(bool value) { return _lib._objc_msgSend_527( - _id, _lib._sel_setAlwaysShowsDecimalSeparator_1, value); + this.pointer, + _lib._sel_setAlwaysShowsDecimalSeparator_1, + value, + ); } NSString get currencyDecimalSeparator { - final _ret = - _lib._objc_msgSend_21(_id, _lib._sel_currencyDecimalSeparator1); + final _ret = _lib._objc_msgSend_21( + this.pointer, + _lib._sel_currencyDecimalSeparator1, + ); return NSString._(_ret, _lib, retain: true, release: true); } set currencyDecimalSeparator(NSString value) { return _lib._objc_msgSend_646( - _id, _lib._sel_setCurrencyDecimalSeparator_1, value._id); + this.pointer, + _lib._sel_setCurrencyDecimalSeparator_1, + value.pointer, + ); } bool get usesGroupingSeparator { - return _lib._objc_msgSend_12(_id, _lib._sel_usesGroupingSeparator1); + return _lib._objc_msgSend_12( + this.pointer, + _lib._sel_usesGroupingSeparator1, + ); } set usesGroupingSeparator(bool value) { return _lib._objc_msgSend_527( - _id, _lib._sel_setUsesGroupingSeparator_1, value); + this.pointer, + _lib._sel_setUsesGroupingSeparator_1, + value, + ); } NSString get groupingSeparator { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_groupingSeparator1); + final _ret = _lib._objc_msgSend_21( + this.pointer, + _lib._sel_groupingSeparator1, + ); return NSString._(_ret, _lib, retain: true, release: true); } set groupingSeparator(NSString value) { return _lib._objc_msgSend_646( - _id, _lib._sel_setGroupingSeparator_1, value._id); + this.pointer, + _lib._sel_setGroupingSeparator_1, + value.pointer, + ); } NSString? get zeroSymbol { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_zeroSymbol1); + final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_zeroSymbol1); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); @@ -60583,11 +80390,17 @@ class NSNumberFormatter extends NSFormatter { set zeroSymbol(NSString? value) { return _lib._objc_msgSend_545( - _id, _lib._sel_setZeroSymbol_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setZeroSymbol_1, + value?.pointer ?? ffi.nullptr, + ); } NSDictionary? get textAttributesForZero { - final _ret = _lib._objc_msgSend_390(_id, _lib._sel_textAttributesForZero1); + final _ret = _lib._objc_msgSend_390( + this.pointer, + _lib._sel_textAttributesForZero1, + ); return _ret.address == 0 ? null : NSDictionary._(_ret, _lib, retain: true, release: true); @@ -60595,20 +80408,30 @@ class NSNumberFormatter extends NSFormatter { set textAttributesForZero(NSDictionary? value) { return _lib._objc_msgSend_634( - _id, _lib._sel_setTextAttributesForZero_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setTextAttributesForZero_1, + value?.pointer ?? ffi.nullptr, + ); } NSString get nilSymbol { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_nilSymbol1); + final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_nilSymbol1); return NSString._(_ret, _lib, retain: true, release: true); } set nilSymbol(NSString value) { - return _lib._objc_msgSend_646(_id, _lib._sel_setNilSymbol_1, value._id); + return _lib._objc_msgSend_646( + this.pointer, + _lib._sel_setNilSymbol_1, + value.pointer, + ); } NSDictionary? get textAttributesForNil { - final _ret = _lib._objc_msgSend_390(_id, _lib._sel_textAttributesForNil1); + final _ret = _lib._objc_msgSend_390( + this.pointer, + _lib._sel_textAttributesForNil1, + ); return _ret.address == 0 ? null : NSDictionary._(_ret, _lib, retain: true, release: true); @@ -60616,45 +80439,67 @@ class NSNumberFormatter extends NSFormatter { set textAttributesForNil(NSDictionary? value) { return _lib._objc_msgSend_634( - _id, _lib._sel_setTextAttributesForNil_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setTextAttributesForNil_1, + value?.pointer ?? ffi.nullptr, + ); } NSString get notANumberSymbol { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_notANumberSymbol1); + final _ret = _lib._objc_msgSend_21( + this.pointer, + _lib._sel_notANumberSymbol1, + ); return NSString._(_ret, _lib, retain: true, release: true); } set notANumberSymbol(NSString value) { return _lib._objc_msgSend_646( - _id, _lib._sel_setNotANumberSymbol_1, value._id); + this.pointer, + _lib._sel_setNotANumberSymbol_1, + value.pointer, + ); } NSDictionary? get textAttributesForNotANumber { - final _ret = - _lib._objc_msgSend_390(_id, _lib._sel_textAttributesForNotANumber1); + final _ret = _lib._objc_msgSend_390( + this.pointer, + _lib._sel_textAttributesForNotANumber1, + ); return _ret.address == 0 ? null : NSDictionary._(_ret, _lib, retain: true, release: true); } set textAttributesForNotANumber(NSDictionary? value) { - return _lib._objc_msgSend_634(_id, - _lib._sel_setTextAttributesForNotANumber_1, value?._id ?? ffi.nullptr); + return _lib._objc_msgSend_634( + this.pointer, + _lib._sel_setTextAttributesForNotANumber_1, + value?.pointer ?? ffi.nullptr, + ); } NSString get positiveInfinitySymbol { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_positiveInfinitySymbol1); + final _ret = _lib._objc_msgSend_21( + this.pointer, + _lib._sel_positiveInfinitySymbol1, + ); return NSString._(_ret, _lib, retain: true, release: true); } set positiveInfinitySymbol(NSString value) { return _lib._objc_msgSend_646( - _id, _lib._sel_setPositiveInfinitySymbol_1, value._id); + this.pointer, + _lib._sel_setPositiveInfinitySymbol_1, + value.pointer, + ); } NSDictionary? get textAttributesForPositiveInfinity { final _ret = _lib._objc_msgSend_390( - _id, _lib._sel_textAttributesForPositiveInfinity1); + this.pointer, + _lib._sel_textAttributesForPositiveInfinity1, + ); return _ret.address == 0 ? null : NSDictionary._(_ret, _lib, retain: true, release: true); @@ -60662,24 +80507,33 @@ class NSNumberFormatter extends NSFormatter { set textAttributesForPositiveInfinity(NSDictionary? value) { return _lib._objc_msgSend_634( - _id, - _lib._sel_setTextAttributesForPositiveInfinity_1, - value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setTextAttributesForPositiveInfinity_1, + value?.pointer ?? ffi.nullptr, + ); } NSString get negativeInfinitySymbol { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_negativeInfinitySymbol1); + final _ret = _lib._objc_msgSend_21( + this.pointer, + _lib._sel_negativeInfinitySymbol1, + ); return NSString._(_ret, _lib, retain: true, release: true); } set negativeInfinitySymbol(NSString value) { return _lib._objc_msgSend_646( - _id, _lib._sel_setNegativeInfinitySymbol_1, value._id); + this.pointer, + _lib._sel_setNegativeInfinitySymbol_1, + value.pointer, + ); } NSDictionary? get textAttributesForNegativeInfinity { final _ret = _lib._objc_msgSend_390( - _id, _lib._sel_textAttributesForNegativeInfinity1); + this.pointer, + _lib._sel_textAttributesForNegativeInfinity1, + ); return _ret.address == 0 ? null : NSDictionary._(_ret, _lib, retain: true, release: true); @@ -60687,146 +80541,200 @@ class NSNumberFormatter extends NSFormatter { set textAttributesForNegativeInfinity(NSDictionary? value) { return _lib._objc_msgSend_634( - _id, - _lib._sel_setTextAttributesForNegativeInfinity_1, - value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setTextAttributesForNegativeInfinity_1, + value?.pointer ?? ffi.nullptr, + ); } NSString get positivePrefix { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_positivePrefix1); + final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_positivePrefix1); return NSString._(_ret, _lib, retain: true, release: true); } set positivePrefix(NSString value) { return _lib._objc_msgSend_646( - _id, _lib._sel_setPositivePrefix_1, value._id); + this.pointer, + _lib._sel_setPositivePrefix_1, + value.pointer, + ); } NSString get positiveSuffix { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_positiveSuffix1); + final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_positiveSuffix1); return NSString._(_ret, _lib, retain: true, release: true); } set positiveSuffix(NSString value) { return _lib._objc_msgSend_646( - _id, _lib._sel_setPositiveSuffix_1, value._id); + this.pointer, + _lib._sel_setPositiveSuffix_1, + value.pointer, + ); } NSString get negativePrefix { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_negativePrefix1); + final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_negativePrefix1); return NSString._(_ret, _lib, retain: true, release: true); } set negativePrefix(NSString value) { return _lib._objc_msgSend_646( - _id, _lib._sel_setNegativePrefix_1, value._id); + this.pointer, + _lib._sel_setNegativePrefix_1, + value.pointer, + ); } NSString get negativeSuffix { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_negativeSuffix1); + final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_negativeSuffix1); return NSString._(_ret, _lib, retain: true, release: true); } set negativeSuffix(NSString value) { return _lib._objc_msgSend_646( - _id, _lib._sel_setNegativeSuffix_1, value._id); + this.pointer, + _lib._sel_setNegativeSuffix_1, + value.pointer, + ); } NSString get currencyCode { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_currencyCode1); + final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_currencyCode1); return NSString._(_ret, _lib, retain: true, release: true); } set currencyCode(NSString value) { - return _lib._objc_msgSend_646(_id, _lib._sel_setCurrencyCode_1, value._id); + return _lib._objc_msgSend_646( + this.pointer, + _lib._sel_setCurrencyCode_1, + value.pointer, + ); } NSString get currencySymbol { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_currencySymbol1); + final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_currencySymbol1); return NSString._(_ret, _lib, retain: true, release: true); } set currencySymbol(NSString value) { return _lib._objc_msgSend_646( - _id, _lib._sel_setCurrencySymbol_1, value._id); + this.pointer, + _lib._sel_setCurrencySymbol_1, + value.pointer, + ); } NSString get internationalCurrencySymbol { - final _ret = - _lib._objc_msgSend_21(_id, _lib._sel_internationalCurrencySymbol1); + final _ret = _lib._objc_msgSend_21( + this.pointer, + _lib._sel_internationalCurrencySymbol1, + ); return NSString._(_ret, _lib, retain: true, release: true); } set internationalCurrencySymbol(NSString value) { return _lib._objc_msgSend_646( - _id, _lib._sel_setInternationalCurrencySymbol_1, value._id); + this.pointer, + _lib._sel_setInternationalCurrencySymbol_1, + value.pointer, + ); } NSString get percentSymbol { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_percentSymbol1); + final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_percentSymbol1); return NSString._(_ret, _lib, retain: true, release: true); } set percentSymbol(NSString value) { - return _lib._objc_msgSend_646(_id, _lib._sel_setPercentSymbol_1, value._id); + return _lib._objc_msgSend_646( + this.pointer, + _lib._sel_setPercentSymbol_1, + value.pointer, + ); } NSString get perMillSymbol { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_perMillSymbol1); + final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_perMillSymbol1); return NSString._(_ret, _lib, retain: true, release: true); } set perMillSymbol(NSString value) { - return _lib._objc_msgSend_646(_id, _lib._sel_setPerMillSymbol_1, value._id); + return _lib._objc_msgSend_646( + this.pointer, + _lib._sel_setPerMillSymbol_1, + value.pointer, + ); } NSString get minusSign { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_minusSign1); + final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_minusSign1); return NSString._(_ret, _lib, retain: true, release: true); } set minusSign(NSString value) { - return _lib._objc_msgSend_646(_id, _lib._sel_setMinusSign_1, value._id); + return _lib._objc_msgSend_646( + this.pointer, + _lib._sel_setMinusSign_1, + value.pointer, + ); } NSString get plusSign { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_plusSign1); + final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_plusSign1); return NSString._(_ret, _lib, retain: true, release: true); } set plusSign(NSString value) { - return _lib._objc_msgSend_646(_id, _lib._sel_setPlusSign_1, value._id); + return _lib._objc_msgSend_646( + this.pointer, + _lib._sel_setPlusSign_1, + value.pointer, + ); } NSString get exponentSymbol { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_exponentSymbol1); + final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_exponentSymbol1); return NSString._(_ret, _lib, retain: true, release: true); } set exponentSymbol(NSString value) { return _lib._objc_msgSend_646( - _id, _lib._sel_setExponentSymbol_1, value._id); + this.pointer, + _lib._sel_setExponentSymbol_1, + value.pointer, + ); } int get groupingSize { - return _lib._objc_msgSend_10(_id, _lib._sel_groupingSize1); + return _lib._objc_msgSend_10(this.pointer, _lib._sel_groupingSize1); } set groupingSize(int value) { - return _lib._objc_msgSend_516(_id, _lib._sel_setGroupingSize_1, value); + return _lib._objc_msgSend_516( + this.pointer, + _lib._sel_setGroupingSize_1, + value, + ); } int get secondaryGroupingSize { - return _lib._objc_msgSend_10(_id, _lib._sel_secondaryGroupingSize1); + return _lib._objc_msgSend_10( + this.pointer, + _lib._sel_secondaryGroupingSize1, + ); } set secondaryGroupingSize(int value) { return _lib._objc_msgSend_516( - _id, _lib._sel_setSecondaryGroupingSize_1, value); + this.pointer, + _lib._sel_setSecondaryGroupingSize_1, + value, + ); } NSNumber? get multiplier { - final _ret = _lib._objc_msgSend_215(_id, _lib._sel_multiplier1); + final _ret = _lib._objc_msgSend_215(this.pointer, _lib._sel_multiplier1); return _ret.address == 0 ? null : NSNumber._(_ret, _lib, retain: true, release: true); @@ -60834,91 +80742,136 @@ class NSNumberFormatter extends NSFormatter { set multiplier(NSNumber? value) { return _lib._objc_msgSend_670( - _id, _lib._sel_setMultiplier_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setMultiplier_1, + value?.pointer ?? ffi.nullptr, + ); } int get formatWidth { - return _lib._objc_msgSend_10(_id, _lib._sel_formatWidth1); + return _lib._objc_msgSend_10(this.pointer, _lib._sel_formatWidth1); } set formatWidth(int value) { - return _lib._objc_msgSend_516(_id, _lib._sel_setFormatWidth_1, value); + return _lib._objc_msgSend_516( + this.pointer, + _lib._sel_setFormatWidth_1, + value, + ); } NSString get paddingCharacter { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_paddingCharacter1); + final _ret = _lib._objc_msgSend_21( + this.pointer, + _lib._sel_paddingCharacter1, + ); return NSString._(_ret, _lib, retain: true, release: true); } set paddingCharacter(NSString value) { return _lib._objc_msgSend_646( - _id, _lib._sel_setPaddingCharacter_1, value._id); + this.pointer, + _lib._sel_setPaddingCharacter_1, + value.pointer, + ); } int get paddingPosition { - return _lib._objc_msgSend_810(_id, _lib._sel_paddingPosition1); + return _lib._objc_msgSend_810(this.pointer, _lib._sel_paddingPosition1); } set paddingPosition(int value) { - return _lib._objc_msgSend_811(_id, _lib._sel_setPaddingPosition_1, value); + return _lib._objc_msgSend_811( + this.pointer, + _lib._sel_setPaddingPosition_1, + value, + ); } int get roundingMode { - return _lib._objc_msgSend_812(_id, _lib._sel_roundingMode1); + return _lib._objc_msgSend_812(this.pointer, _lib._sel_roundingMode1); } set roundingMode(int value) { - return _lib._objc_msgSend_813(_id, _lib._sel_setRoundingMode_1, value); + return _lib._objc_msgSend_813( + this.pointer, + _lib._sel_setRoundingMode_1, + value, + ); } NSNumber get roundingIncrement { - final _ret = _lib._objc_msgSend_814(_id, _lib._sel_roundingIncrement1); + final _ret = _lib._objc_msgSend_814( + this.pointer, + _lib._sel_roundingIncrement1, + ); return NSNumber._(_ret, _lib, retain: true, release: true); } set roundingIncrement(NSNumber value) { return _lib._objc_msgSend_815( - _id, _lib._sel_setRoundingIncrement_1, value._id); + this.pointer, + _lib._sel_setRoundingIncrement_1, + value.pointer, + ); } int get minimumIntegerDigits { - return _lib._objc_msgSend_10(_id, _lib._sel_minimumIntegerDigits1); + return _lib._objc_msgSend_10(this.pointer, _lib._sel_minimumIntegerDigits1); } set minimumIntegerDigits(int value) { return _lib._objc_msgSend_516( - _id, _lib._sel_setMinimumIntegerDigits_1, value); + this.pointer, + _lib._sel_setMinimumIntegerDigits_1, + value, + ); } int get maximumIntegerDigits { - return _lib._objc_msgSend_10(_id, _lib._sel_maximumIntegerDigits1); + return _lib._objc_msgSend_10(this.pointer, _lib._sel_maximumIntegerDigits1); } set maximumIntegerDigits(int value) { return _lib._objc_msgSend_516( - _id, _lib._sel_setMaximumIntegerDigits_1, value); + this.pointer, + _lib._sel_setMaximumIntegerDigits_1, + value, + ); } int get minimumFractionDigits { - return _lib._objc_msgSend_10(_id, _lib._sel_minimumFractionDigits1); + return _lib._objc_msgSend_10( + this.pointer, + _lib._sel_minimumFractionDigits1, + ); } set minimumFractionDigits(int value) { return _lib._objc_msgSend_516( - _id, _lib._sel_setMinimumFractionDigits_1, value); + this.pointer, + _lib._sel_setMinimumFractionDigits_1, + value, + ); } int get maximumFractionDigits { - return _lib._objc_msgSend_10(_id, _lib._sel_maximumFractionDigits1); + return _lib._objc_msgSend_10( + this.pointer, + _lib._sel_maximumFractionDigits1, + ); } set maximumFractionDigits(int value) { return _lib._objc_msgSend_516( - _id, _lib._sel_setMaximumFractionDigits_1, value); + this.pointer, + _lib._sel_setMaximumFractionDigits_1, + value, + ); } NSNumber? get minimum { - final _ret = _lib._objc_msgSend_215(_id, _lib._sel_minimum1); + final _ret = _lib._objc_msgSend_215(this.pointer, _lib._sel_minimum1); return _ret.address == 0 ? null : NSNumber._(_ret, _lib, retain: true, release: true); @@ -60926,11 +80879,14 @@ class NSNumberFormatter extends NSFormatter { set minimum(NSNumber? value) { return _lib._objc_msgSend_670( - _id, _lib._sel_setMinimum_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setMinimum_1, + value?.pointer ?? ffi.nullptr, + ); } NSNumber? get maximum { - final _ret = _lib._objc_msgSend_215(_id, _lib._sel_maximum1); + final _ret = _lib._objc_msgSend_215(this.pointer, _lib._sel_maximum1); return _ret.address == 0 ? null : NSNumber._(_ret, _lib, retain: true, release: true); @@ -60938,228 +80894,339 @@ class NSNumberFormatter extends NSFormatter { set maximum(NSNumber? value) { return _lib._objc_msgSend_670( - _id, _lib._sel_setMaximum_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setMaximum_1, + value?.pointer ?? ffi.nullptr, + ); } NSString get currencyGroupingSeparator { - final _ret = - _lib._objc_msgSend_21(_id, _lib._sel_currencyGroupingSeparator1); + final _ret = _lib._objc_msgSend_21( + this.pointer, + _lib._sel_currencyGroupingSeparator1, + ); return NSString._(_ret, _lib, retain: true, release: true); } set currencyGroupingSeparator(NSString value) { return _lib._objc_msgSend_646( - _id, _lib._sel_setCurrencyGroupingSeparator_1, value._id); + this.pointer, + _lib._sel_setCurrencyGroupingSeparator_1, + value.pointer, + ); } bool get lenient { - return _lib._objc_msgSend_12(_id, _lib._sel_isLenient1); + return _lib._objc_msgSend_12(this.pointer, _lib._sel_isLenient1); } set lenient(bool value) { - return _lib._objc_msgSend_527(_id, _lib._sel_setLenient_1, value); + return _lib._objc_msgSend_527(this.pointer, _lib._sel_setLenient_1, value); } bool get usesSignificantDigits { - return _lib._objc_msgSend_12(_id, _lib._sel_usesSignificantDigits1); + return _lib._objc_msgSend_12( + this.pointer, + _lib._sel_usesSignificantDigits1, + ); } set usesSignificantDigits(bool value) { return _lib._objc_msgSend_527( - _id, _lib._sel_setUsesSignificantDigits_1, value); + this.pointer, + _lib._sel_setUsesSignificantDigits_1, + value, + ); } int get minimumSignificantDigits { - return _lib._objc_msgSend_10(_id, _lib._sel_minimumSignificantDigits1); + return _lib._objc_msgSend_10( + this.pointer, + _lib._sel_minimumSignificantDigits1, + ); } set minimumSignificantDigits(int value) { return _lib._objc_msgSend_516( - _id, _lib._sel_setMinimumSignificantDigits_1, value); + this.pointer, + _lib._sel_setMinimumSignificantDigits_1, + value, + ); } int get maximumSignificantDigits { - return _lib._objc_msgSend_10(_id, _lib._sel_maximumSignificantDigits1); + return _lib._objc_msgSend_10( + this.pointer, + _lib._sel_maximumSignificantDigits1, + ); } set maximumSignificantDigits(int value) { return _lib._objc_msgSend_516( - _id, _lib._sel_setMaximumSignificantDigits_1, value); + this.pointer, + _lib._sel_setMaximumSignificantDigits_1, + value, + ); } bool get partialStringValidationEnabled { return _lib._objc_msgSend_12( - _id, _lib._sel_isPartialStringValidationEnabled1); + this.pointer, + _lib._sel_isPartialStringValidationEnabled1, + ); } set partialStringValidationEnabled(bool value) { return _lib._objc_msgSend_527( - _id, _lib._sel_setPartialStringValidationEnabled_1, value); + this.pointer, + _lib._sel_setPartialStringValidationEnabled_1, + value, + ); } bool get hasThousandSeparators { - return _lib._objc_msgSend_12(_id, _lib._sel_hasThousandSeparators1); + return _lib._objc_msgSend_12( + this.pointer, + _lib._sel_hasThousandSeparators1, + ); } set hasThousandSeparators(bool value) { return _lib._objc_msgSend_527( - _id, _lib._sel_setHasThousandSeparators_1, value); + this.pointer, + _lib._sel_setHasThousandSeparators_1, + value, + ); } NSString get thousandSeparator { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_thousandSeparator1); + final _ret = _lib._objc_msgSend_21( + this.pointer, + _lib._sel_thousandSeparator1, + ); return NSString._(_ret, _lib, retain: true, release: true); } set thousandSeparator(NSString value) { return _lib._objc_msgSend_646( - _id, _lib._sel_setThousandSeparator_1, value._id); + this.pointer, + _lib._sel_setThousandSeparator_1, + value.pointer, + ); } bool get localizesFormat { - return _lib._objc_msgSend_12(_id, _lib._sel_localizesFormat1); + return _lib._objc_msgSend_12(this.pointer, _lib._sel_localizesFormat1); } set localizesFormat(bool value) { - return _lib._objc_msgSend_527(_id, _lib._sel_setLocalizesFormat_1, value); + return _lib._objc_msgSend_527( + this.pointer, + _lib._sel_setLocalizesFormat_1, + value, + ); } NSString get format { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_format1); + final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_format1); return NSString._(_ret, _lib, retain: true, release: true); } set format(NSString value) { - return _lib._objc_msgSend_646(_id, _lib._sel_setFormat_1, value._id); + return _lib._objc_msgSend_646( + this.pointer, + _lib._sel_setFormat_1, + value.pointer, + ); } NSAttributedString get attributedStringForZero { - final _ret = - _lib._objc_msgSend_735(_id, _lib._sel_attributedStringForZero1); + final _ret = _lib._objc_msgSend_735( + this.pointer, + _lib._sel_attributedStringForZero1, + ); return NSAttributedString._(_ret, _lib, retain: true, release: true); } set attributedStringForZero(NSAttributedString value) { return _lib._objc_msgSend_816( - _id, _lib._sel_setAttributedStringForZero_1, value._id); + this.pointer, + _lib._sel_setAttributedStringForZero_1, + value.pointer, + ); } NSAttributedString get attributedStringForNil { - final _ret = _lib._objc_msgSend_735(_id, _lib._sel_attributedStringForNil1); + final _ret = _lib._objc_msgSend_735( + this.pointer, + _lib._sel_attributedStringForNil1, + ); return NSAttributedString._(_ret, _lib, retain: true, release: true); } set attributedStringForNil(NSAttributedString value) { return _lib._objc_msgSend_816( - _id, _lib._sel_setAttributedStringForNil_1, value._id); + this.pointer, + _lib._sel_setAttributedStringForNil_1, + value.pointer, + ); } NSAttributedString get attributedStringForNotANumber { - final _ret = - _lib._objc_msgSend_735(_id, _lib._sel_attributedStringForNotANumber1); + final _ret = _lib._objc_msgSend_735( + this.pointer, + _lib._sel_attributedStringForNotANumber1, + ); return NSAttributedString._(_ret, _lib, retain: true, release: true); } set attributedStringForNotANumber(NSAttributedString value) { return _lib._objc_msgSend_816( - _id, _lib._sel_setAttributedStringForNotANumber_1, value._id); + this.pointer, + _lib._sel_setAttributedStringForNotANumber_1, + value.pointer, + ); } NSDecimalNumberHandler get roundingBehavior { - final _ret = _lib._objc_msgSend_817(_id, _lib._sel_roundingBehavior1); + final _ret = _lib._objc_msgSend_817( + this.pointer, + _lib._sel_roundingBehavior1, + ); return NSDecimalNumberHandler._(_ret, _lib, retain: true, release: true); } set roundingBehavior(NSDecimalNumberHandler value) { return _lib._objc_msgSend_819( - _id, _lib._sel_setRoundingBehavior_1, value._id); + this.pointer, + _lib._sel_setRoundingBehavior_1, + value.pointer, + ); } @override NSNumberFormatter init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSNumberFormatter._(_ret, _lib, retain: true, release: true); } static NSNumberFormatter new1(AVFAudio _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSNumberFormatter1, _lib._sel_new1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSNumberFormatter1, + _lib._sel_new1, + ); return NSNumberFormatter._(_ret, _lib, retain: false, release: true); } static NSNumberFormatter allocWithZone_( - AVFAudio _lib, ffi.Pointer<_NSZone> zone) { + AVFAudio _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSNumberFormatter1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSNumberFormatter1, + _lib._sel_allocWithZone_1, + zone, + ); return NSNumberFormatter._(_ret, _lib, retain: false, release: true); } static NSNumberFormatter alloc(AVFAudio _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSNumberFormatter1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSNumberFormatter1, + _lib._sel_alloc1, + ); return NSNumberFormatter._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + AVFAudio _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSNumberFormatter1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSNumberFormatter1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSNumberFormatter1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + AVFAudio _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSNumberFormatter1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { - return _lib._objc_msgSend_12(_lib._class_NSNumberFormatter1, - _lib._sel_accessInstanceVariablesDirectly1); + return _lib._objc_msgSend_12( + _lib._class_NSNumberFormatter1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(AVFAudio _lib) { return _lib._objc_msgSend_12( - _lib._class_NSNumberFormatter1, _lib._sel_useStoredAccessor1); + _lib._class_NSNumberFormatter1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSNumberFormatter1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSNumberFormatter1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSNumberFormatter1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSNumberFormatter1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, NSArray keys, NSString dependentKey) { + AVFAudio _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSNumberFormatter1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSNumberFormatter1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_85(_lib._class_NSNumberFormatter1, - _lib._sel_classFallbacksForKeyedArchiver1); + final _ret = _lib._objc_msgSend_85( + _lib._class_NSNumberFormatter1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(AVFAudio _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSNumberFormatter1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSNumberFormatter1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } @@ -61201,162 +81268,226 @@ abstract class NSNumberFormatterRoundingMode { } class NSDecimalNumberHandler extends NSObject { - NSDecimalNumberHandler._(ffi.Pointer id, AVFAudio lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSDecimalNumberHandler._( + ffi.Pointer pointer, + AVFAudio lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSDecimalNumberHandler] that points to the same underlying object as [other]. - static NSDecimalNumberHandler castFrom(T other) { - return NSDecimalNumberHandler._(other._id, other._lib, - retain: true, release: true); + static NSDecimalNumberHandler castFrom( + AVFAudio lib, + T other, + ) { + return NSDecimalNumberHandler._( + other.pointer, + lib, + retain: true, + release: true, + ); } /// Returns a [NSDecimalNumberHandler] that wraps the given raw object pointer. static NSDecimalNumberHandler castFromPointer( - AVFAudio lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { - return NSDecimalNumberHandler._(other, lib, - retain: retain, release: release); + AVFAudio lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { + return NSDecimalNumberHandler._( + other, + lib, + retain: retain, + release: release, + ); } /// Returns whether [obj] is an instance of [NSDecimalNumberHandler]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0(obj._id, obj._lib._sel_isKindOfClass_1, - obj._lib._class_NSDecimalNumberHandler1); + static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSDecimalNumberHandler1, + ); } static NSDecimalNumberHandler getDefaultDecimalNumberHandler(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_817(_lib._class_NSDecimalNumberHandler1, - _lib._sel_defaultDecimalNumberHandler1); + final _ret = _lib._objc_msgSend_817( + _lib._class_NSDecimalNumberHandler1, + _lib._sel_defaultDecimalNumberHandler1, + ); return NSDecimalNumberHandler._(_ret, _lib, retain: true, release: true); } NSDecimalNumberHandler - initWithRoundingMode_scale_raiseOnExactness_raiseOnOverflow_raiseOnUnderflow_raiseOnDivideByZero_( - int roundingMode, - int scale, - bool exact, - bool overflow, - bool underflow, - bool divideByZero) { + initWithRoundingMode_scale_raiseOnExactness_raiseOnOverflow_raiseOnUnderflow_raiseOnDivideByZero_( + int roundingMode, + int scale, + bool exact, + bool overflow, + bool underflow, + bool divideByZero, + ) { final _ret = _lib._objc_msgSend_818( - _id, - _lib._sel_initWithRoundingMode_scale_raiseOnExactness_raiseOnOverflow_raiseOnUnderflow_raiseOnDivideByZero_1, - roundingMode, - scale, - exact, - overflow, - underflow, - divideByZero); + this.pointer, + _lib._sel_initWithRoundingMode_scale_raiseOnExactness_raiseOnOverflow_raiseOnUnderflow_raiseOnDivideByZero_1, + roundingMode, + scale, + exact, + overflow, + underflow, + divideByZero, + ); return NSDecimalNumberHandler._(_ret, _lib, retain: true, release: true); } static NSDecimalNumberHandler - decimalNumberHandlerWithRoundingMode_scale_raiseOnExactness_raiseOnOverflow_raiseOnUnderflow_raiseOnDivideByZero_( - AVFAudio _lib, - int roundingMode, - int scale, - bool exact, - bool overflow, - bool underflow, - bool divideByZero) { + decimalNumberHandlerWithRoundingMode_scale_raiseOnExactness_raiseOnOverflow_raiseOnUnderflow_raiseOnDivideByZero_( + AVFAudio _lib, + int roundingMode, + int scale, + bool exact, + bool overflow, + bool underflow, + bool divideByZero, + ) { final _ret = _lib._objc_msgSend_818( - _lib._class_NSDecimalNumberHandler1, - _lib._sel_decimalNumberHandlerWithRoundingMode_scale_raiseOnExactness_raiseOnOverflow_raiseOnUnderflow_raiseOnDivideByZero_1, - roundingMode, - scale, - exact, - overflow, - underflow, - divideByZero); + _lib._class_NSDecimalNumberHandler1, + _lib._sel_decimalNumberHandlerWithRoundingMode_scale_raiseOnExactness_raiseOnOverflow_raiseOnUnderflow_raiseOnDivideByZero_1, + roundingMode, + scale, + exact, + overflow, + underflow, + divideByZero, + ); return NSDecimalNumberHandler._(_ret, _lib, retain: true, release: true); } @override NSDecimalNumberHandler init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSDecimalNumberHandler._(_ret, _lib, retain: true, release: true); } static NSDecimalNumberHandler new1(AVFAudio _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSDecimalNumberHandler1, _lib._sel_new1); + _lib._class_NSDecimalNumberHandler1, + _lib._sel_new1, + ); return NSDecimalNumberHandler._(_ret, _lib, retain: false, release: true); } static NSDecimalNumberHandler allocWithZone_( - AVFAudio _lib, ffi.Pointer<_NSZone> zone) { + AVFAudio _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSDecimalNumberHandler1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSDecimalNumberHandler1, + _lib._sel_allocWithZone_1, + zone, + ); return NSDecimalNumberHandler._(_ret, _lib, retain: false, release: true); } static NSDecimalNumberHandler alloc(AVFAudio _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSDecimalNumberHandler1, _lib._sel_alloc1); + _lib._class_NSDecimalNumberHandler1, + _lib._sel_alloc1, + ); return NSDecimalNumberHandler._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + AVFAudio _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSDecimalNumberHandler1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSDecimalNumberHandler1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSDecimalNumberHandler1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + AVFAudio _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSDecimalNumberHandler1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { - return _lib._objc_msgSend_12(_lib._class_NSDecimalNumberHandler1, - _lib._sel_accessInstanceVariablesDirectly1); + return _lib._objc_msgSend_12( + _lib._class_NSDecimalNumberHandler1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(AVFAudio _lib) { return _lib._objc_msgSend_12( - _lib._class_NSDecimalNumberHandler1, _lib._sel_useStoredAccessor1); + _lib._class_NSDecimalNumberHandler1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSDecimalNumberHandler1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSDecimalNumberHandler1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSDecimalNumberHandler1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSDecimalNumberHandler1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, NSArray keys, NSString dependentKey) { + AVFAudio _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSDecimalNumberHandler1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSDecimalNumberHandler1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_85(_lib._class_NSDecimalNumberHandler1, - _lib._sel_classFallbacksForKeyedArchiver1); + final _ret = _lib._objc_msgSend_85( + _lib._class_NSDecimalNumberHandler1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2(_lib._class_NSDecimalNumberHandler1, - _lib._sel_classForKeyedUnarchiver1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSDecimalNumberHandler1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } @@ -61369,42 +81500,62 @@ abstract class NSRoundingMode { } class NSScanner extends NSObject { - NSScanner._(ffi.Pointer id, AVFAudio lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSScanner._( + ffi.Pointer pointer, + AVFAudio lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSScanner] that points to the same underlying object as [other]. - static NSScanner castFrom(T other) { - return NSScanner._(other._id, other._lib, retain: true, release: true); + static NSScanner castFrom( + AVFAudio lib, + T other, + ) { + return NSScanner._(other.pointer, lib, retain: true, release: true); } /// Returns a [NSScanner] that wraps the given raw object pointer. - static NSScanner castFromPointer(AVFAudio lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + static NSScanner castFromPointer( + AVFAudio lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSScanner._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSScanner]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_NSScanner1); + static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSScanner1, + ); } NSString get string { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_string1); + final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_string1); return NSString._(_ret, _lib, retain: true, release: true); } int get scanLocation { - return _lib._objc_msgSend_10(_id, _lib._sel_scanLocation1); + return _lib._objc_msgSend_10(this.pointer, _lib._sel_scanLocation1); } set scanLocation(int value) { - return _lib._objc_msgSend_516(_id, _lib._sel_setScanLocation_1, value); + return _lib._objc_msgSend_516( + this.pointer, + _lib._sel_setScanLocation_1, + value, + ); } NSCharacterSet? get charactersToBeSkipped { - final _ret = _lib._objc_msgSend_820(_id, _lib._sel_charactersToBeSkipped1); + final _ret = _lib._objc_msgSend_820( + this.pointer, + _lib._sel_charactersToBeSkipped1, + ); return _ret.address == 0 ? null : NSCharacterSet._(_ret, _lib, retain: true, release: true); @@ -61412,19 +81563,26 @@ class NSScanner extends NSObject { set charactersToBeSkipped(NSCharacterSet? value) { return _lib._objc_msgSend_821( - _id, _lib._sel_setCharactersToBeSkipped_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setCharactersToBeSkipped_1, + value?.pointer ?? ffi.nullptr, + ); } bool get caseSensitive { - return _lib._objc_msgSend_12(_id, _lib._sel_caseSensitive1); + return _lib._objc_msgSend_12(this.pointer, _lib._sel_caseSensitive1); } set caseSensitive(bool value) { - return _lib._objc_msgSend_527(_id, _lib._sel_setCaseSensitive_1, value); + return _lib._objc_msgSend_527( + this.pointer, + _lib._sel_setCaseSensitive_1, + value, + ); } NSObject? get locale { - final _ret = _lib._objc_msgSend_17(_id, _lib._sel_locale1); + final _ret = _lib._objc_msgSend_17(this.pointer, _lib._sel_locale1); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); @@ -61432,103 +81590,162 @@ class NSScanner extends NSObject { set locale(NSObject? value) { return _lib._objc_msgSend_416( - _id, _lib._sel_setLocale_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setLocale_1, + value?.pointer ?? ffi.nullptr, + ); } NSScanner initWithString_(NSString string) { - final _ret = - _lib._objc_msgSend_31(_id, _lib._sel_initWithString_1, string._id); + final _ret = _lib._objc_msgSend_31( + this.pointer, + _lib._sel_initWithString_1, + string.pointer, + ); return NSScanner._(_ret, _lib, retain: true, release: true); } bool scanInt_(ffi.Pointer result) { - return _lib._objc_msgSend_822(_id, _lib._sel_scanInt_1, result); + return _lib._objc_msgSend_822(this.pointer, _lib._sel_scanInt_1, result); } bool scanInteger_(ffi.Pointer result) { - return _lib._objc_msgSend_823(_id, _lib._sel_scanInteger_1, result); + return _lib._objc_msgSend_823( + this.pointer, + _lib._sel_scanInteger_1, + result, + ); } bool scanLongLong_(ffi.Pointer result) { - return _lib._objc_msgSend_824(_id, _lib._sel_scanLongLong_1, result); + return _lib._objc_msgSend_824( + this.pointer, + _lib._sel_scanLongLong_1, + result, + ); } bool scanUnsignedLongLong_(ffi.Pointer result) { return _lib._objc_msgSend_825( - _id, _lib._sel_scanUnsignedLongLong_1, result); + this.pointer, + _lib._sel_scanUnsignedLongLong_1, + result, + ); } bool scanFloat_(ffi.Pointer result) { - return _lib._objc_msgSend_826(_id, _lib._sel_scanFloat_1, result); + return _lib._objc_msgSend_826(this.pointer, _lib._sel_scanFloat_1, result); } bool scanDouble_(ffi.Pointer result) { - return _lib._objc_msgSend_827(_id, _lib._sel_scanDouble_1, result); + return _lib._objc_msgSend_827(this.pointer, _lib._sel_scanDouble_1, result); } bool scanHexInt_(ffi.Pointer result) { - return _lib._objc_msgSend_828(_id, _lib._sel_scanHexInt_1, result); + return _lib._objc_msgSend_828(this.pointer, _lib._sel_scanHexInt_1, result); } bool scanHexLongLong_(ffi.Pointer result) { - return _lib._objc_msgSend_825(_id, _lib._sel_scanHexLongLong_1, result); + return _lib._objc_msgSend_825( + this.pointer, + _lib._sel_scanHexLongLong_1, + result, + ); } bool scanHexFloat_(ffi.Pointer result) { - return _lib._objc_msgSend_826(_id, _lib._sel_scanHexFloat_1, result); + return _lib._objc_msgSend_826( + this.pointer, + _lib._sel_scanHexFloat_1, + result, + ); } bool scanHexDouble_(ffi.Pointer result) { - return _lib._objc_msgSend_827(_id, _lib._sel_scanHexDouble_1, result); + return _lib._objc_msgSend_827( + this.pointer, + _lib._sel_scanHexDouble_1, + result, + ); } bool scanString_intoString_( - NSString string, ffi.Pointer> result) { + NSString string, + ffi.Pointer> result, + ) { return _lib._objc_msgSend_829( - _id, _lib._sel_scanString_intoString_1, string._id, result); + this.pointer, + _lib._sel_scanString_intoString_1, + string.pointer, + result, + ); } bool scanCharactersFromSet_intoString_( - NSCharacterSet set, ffi.Pointer> result) { + NSCharacterSet set, + ffi.Pointer> result, + ) { return _lib._objc_msgSend_830( - _id, _lib._sel_scanCharactersFromSet_intoString_1, set._id, result); + this.pointer, + _lib._sel_scanCharactersFromSet_intoString_1, + set.pointer, + result, + ); } bool scanUpToString_intoString_( - NSString string, ffi.Pointer> result) { + NSString string, + ffi.Pointer> result, + ) { return _lib._objc_msgSend_829( - _id, _lib._sel_scanUpToString_intoString_1, string._id, result); + this.pointer, + _lib._sel_scanUpToString_intoString_1, + string.pointer, + result, + ); } bool scanUpToCharactersFromSet_intoString_( - NSCharacterSet set, ffi.Pointer> result) { + NSCharacterSet set, + ffi.Pointer> result, + ) { return _lib._objc_msgSend_830( - _id, _lib._sel_scanUpToCharactersFromSet_intoString_1, set._id, result); + this.pointer, + _lib._sel_scanUpToCharactersFromSet_intoString_1, + set.pointer, + result, + ); } bool get atEnd { - return _lib._objc_msgSend_12(_id, _lib._sel_isAtEnd1); + return _lib._objc_msgSend_12(this.pointer, _lib._sel_isAtEnd1); } static NSScanner scannerWithString_(AVFAudio _lib, NSString string) { final _ret = _lib._objc_msgSend_31( - _lib._class_NSScanner1, _lib._sel_scannerWithString_1, string._id); + _lib._class_NSScanner1, + _lib._sel_scannerWithString_1, + string.pointer, + ); return NSScanner._(_ret, _lib, retain: true, release: true); } static NSObject localizedScannerWithString_(AVFAudio _lib, NSString string) { - final _ret = _lib._objc_msgSend_31(_lib._class_NSScanner1, - _lib._sel_localizedScannerWithString_1, string._id); + final _ret = _lib._objc_msgSend_31( + _lib._class_NSScanner1, + _lib._sel_localizedScannerWithString_1, + string.pointer, + ); return NSObject._(_ret, _lib, retain: true, release: true); } bool scanDecimal_(ffi.Pointer dcm) { - return _lib._objc_msgSend_831(_id, _lib._sel_scanDecimal_1, dcm); + return _lib._objc_msgSend_831(this.pointer, _lib._sel_scanDecimal_1, dcm); } @override NSScanner init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSScanner._(_ret, _lib, retain: true, release: true); } @@ -61539,7 +81756,10 @@ class NSScanner extends NSObject { static NSScanner allocWithZone_(AVFAudio _lib, ffi.Pointer<_NSZone> zone) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSScanner1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSScanner1, + _lib._sel_allocWithZone_1, + zone, + ); return NSScanner._(_ret, _lib, retain: false, release: true); } @@ -61549,65 +81769,94 @@ class NSScanner extends NSObject { } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + AVFAudio _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSScanner1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSScanner1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSScanner1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + AVFAudio _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSScanner1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { return _lib._objc_msgSend_12( - _lib._class_NSScanner1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_NSScanner1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(AVFAudio _lib) { return _lib._objc_msgSend_12( - _lib._class_NSScanner1, _lib._sel_useStoredAccessor1); + _lib._class_NSScanner1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSScanner1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSScanner1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSScanner1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSScanner1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, NSArray keys, NSString dependentKey) { + AVFAudio _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSScanner1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSScanner1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { final _ret = _lib._objc_msgSend_85( - _lib._class_NSScanner1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSScanner1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(AVFAudio _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSScanner1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSScanner1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } @@ -61615,98 +81864,137 @@ class NSScanner extends NSObject { final class NSDecimal extends ffi.Opaque {} class NSException extends NSObject { - NSException._(ffi.Pointer id, AVFAudio lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSException._( + ffi.Pointer pointer, + AVFAudio lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSException] that points to the same underlying object as [other]. - static NSException castFrom(T other) { - return NSException._(other._id, other._lib, retain: true, release: true); + static NSException castFrom( + AVFAudio lib, + T other, + ) { + return NSException._(other.pointer, lib, retain: true, release: true); } /// Returns a [NSException] that wraps the given raw object pointer. static NSException castFromPointer( - AVFAudio lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + AVFAudio lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSException._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSException]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_NSException1); + static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSException1, + ); } static NSException exceptionWithName_reason_userInfo_( - AVFAudio _lib, NSString name, NSString? reason, NSDictionary? userInfo) { + AVFAudio _lib, + NSString name, + NSString? reason, + NSDictionary? userInfo, + ) { final _ret = _lib._objc_msgSend_832( - _lib._class_NSException1, - _lib._sel_exceptionWithName_reason_userInfo_1, - name._id, - reason?._id ?? ffi.nullptr, - userInfo?._id ?? ffi.nullptr); + _lib._class_NSException1, + _lib._sel_exceptionWithName_reason_userInfo_1, + name.pointer, + reason?.pointer ?? ffi.nullptr, + userInfo?.pointer ?? ffi.nullptr, + ); return NSException._(_ret, _lib, retain: true, release: true); } NSException initWithName_reason_userInfo_( - NSString aName, NSString? aReason, NSDictionary? aUserInfo) { + NSString aName, + NSString? aReason, + NSDictionary? aUserInfo, + ) { final _ret = _lib._objc_msgSend_833( - _id, - _lib._sel_initWithName_reason_userInfo_1, - aName._id, - aReason?._id ?? ffi.nullptr, - aUserInfo?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_initWithName_reason_userInfo_1, + aName.pointer, + aReason?.pointer ?? ffi.nullptr, + aUserInfo?.pointer ?? ffi.nullptr, + ); return NSException._(_ret, _lib, retain: true, release: true); } NSString get name { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_name1); + final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_name1); return NSString._(_ret, _lib, retain: true, release: true); } NSString? get reason { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_reason1); + final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_reason1); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } NSDictionary? get userInfo { - final _ret = _lib._objc_msgSend_390(_id, _lib._sel_userInfo1); + final _ret = _lib._objc_msgSend_390(this.pointer, _lib._sel_userInfo1); return _ret.address == 0 ? null : NSDictionary._(_ret, _lib, retain: true, release: true); } NSArray get callStackReturnAddresses { - final _ret = - _lib._objc_msgSend_85(_id, _lib._sel_callStackReturnAddresses1); + final _ret = _lib._objc_msgSend_85( + this.pointer, + _lib._sel_callStackReturnAddresses1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } NSArray get callStackSymbols { - final _ret = _lib._objc_msgSend_85(_id, _lib._sel_callStackSymbols1); + final _ret = _lib._objc_msgSend_85( + this.pointer, + _lib._sel_callStackSymbols1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } void raise() { - _lib._objc_msgSend_1(_id, _lib._sel_raise1); + _lib._objc_msgSend_1(this.pointer, _lib._sel_raise1); } static void raise_format_(AVFAudio _lib, NSString name, NSString format) { - _lib._objc_msgSend_551(_lib._class_NSException1, _lib._sel_raise_format_1, - name._id, format._id); + _lib._objc_msgSend_551( + _lib._class_NSException1, + _lib._sel_raise_format_1, + name.pointer, + format.pointer, + ); } - static void raise_format_arguments_(AVFAudio _lib, NSString name, - NSString format, ffi.Pointer<__va_list_tag> argList) { - _lib._objc_msgSend_834(_lib._class_NSException1, - _lib._sel_raise_format_arguments_1, name._id, format._id, argList); + static void raise_format_arguments_( + AVFAudio _lib, + NSString name, + NSString format, + ffi.Pointer<__va_list_tag> argList, + ) { + _lib._objc_msgSend_834( + _lib._class_NSException1, + _lib._sel_raise_format_arguments_1, + name.pointer, + format.pointer, + argList, + ); } @override NSException init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSException._(_ret, _lib, retain: true, release: true); } @@ -61717,496 +82005,741 @@ class NSException extends NSObject { static NSException allocWithZone_(AVFAudio _lib, ffi.Pointer<_NSZone> zone) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSException1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSException1, + _lib._sel_allocWithZone_1, + zone, + ); return NSException._(_ret, _lib, retain: false, release: true); } static NSException alloc(AVFAudio _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSException1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSException1, + _lib._sel_alloc1, + ); return NSException._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + AVFAudio _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSException1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSException1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSException1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + AVFAudio _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSException1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { return _lib._objc_msgSend_12( - _lib._class_NSException1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_NSException1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(AVFAudio _lib) { return _lib._objc_msgSend_12( - _lib._class_NSException1, _lib._sel_useStoredAccessor1); + _lib._class_NSException1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSException1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSException1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSException1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSException1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, NSArray keys, NSString dependentKey) { + AVFAudio _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSException1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSException1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { final _ret = _lib._objc_msgSend_85( - _lib._class_NSException1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSException1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(AVFAudio _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSException1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSException1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } class NSFileHandle extends NSObject { - NSFileHandle._(ffi.Pointer id, AVFAudio lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSFileHandle._( + ffi.Pointer pointer, + AVFAudio lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSFileHandle] that points to the same underlying object as [other]. - static NSFileHandle castFrom(T other) { - return NSFileHandle._(other._id, other._lib, retain: true, release: true); + static NSFileHandle castFrom( + AVFAudio lib, + T other, + ) { + return NSFileHandle._(other.pointer, lib, retain: true, release: true); } /// Returns a [NSFileHandle] that wraps the given raw object pointer. static NSFileHandle castFromPointer( - AVFAudio lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + AVFAudio lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSFileHandle._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSFileHandle]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_NSFileHandle1); + static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSFileHandle1, + ); } NSData get availableData { - final _ret = _lib._objc_msgSend_43(_id, _lib._sel_availableData1); + final _ret = _lib._objc_msgSend_43(this.pointer, _lib._sel_availableData1); return NSData._(_ret, _lib, retain: true, release: true); } NSFileHandle initWithFileDescriptor_closeOnDealloc_(int fd, bool closeopt) { final _ret = _lib._objc_msgSend_835( - _id, _lib._sel_initWithFileDescriptor_closeOnDealloc_1, fd, closeopt); + this.pointer, + _lib._sel_initWithFileDescriptor_closeOnDealloc_1, + fd, + closeopt, + ); return NSFileHandle._(_ret, _lib, retain: true, release: true); } NSFileHandle? initWithCoder_(NSCoder coder) { - final _ret = - _lib._objc_msgSend_47(_id, _lib._sel_initWithCoder_1, coder._id); + final _ret = _lib._objc_msgSend_47( + this.pointer, + _lib._sel_initWithCoder_1, + coder.pointer, + ); return _ret.address == 0 ? null : NSFileHandle._(_ret, _lib, retain: true, release: true); } NSData? readDataToEndOfFileAndReturnError_( - ffi.Pointer> error) { + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_836( - _id, _lib._sel_readDataToEndOfFileAndReturnError_1, error); + this.pointer, + _lib._sel_readDataToEndOfFileAndReturnError_1, + error, + ); return _ret.address == 0 ? null : NSData._(_ret, _lib, retain: true, release: true); } NSData? readDataUpToLength_error_( - int length, ffi.Pointer> error) { + int length, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_837( - _id, _lib._sel_readDataUpToLength_error_1, length, error); + this.pointer, + _lib._sel_readDataUpToLength_error_1, + length, + error, + ); return _ret.address == 0 ? null : NSData._(_ret, _lib, retain: true, release: true); } bool writeData_error_( - NSData data, ffi.Pointer> error) { + NSData data, + ffi.Pointer> error, + ) { return _lib._objc_msgSend_838( - _id, _lib._sel_writeData_error_1, data._id, error); + this.pointer, + _lib._sel_writeData_error_1, + data.pointer, + error, + ); } - bool getOffset_error_(ffi.Pointer offsetInFile, - ffi.Pointer> error) { + bool getOffset_error_( + ffi.Pointer offsetInFile, + ffi.Pointer> error, + ) { return _lib._objc_msgSend_839( - _id, _lib._sel_getOffset_error_1, offsetInFile, error); + this.pointer, + _lib._sel_getOffset_error_1, + offsetInFile, + error, + ); } bool seekToEndReturningOffset_error_( - ffi.Pointer offsetInFile, - ffi.Pointer> error) { + ffi.Pointer offsetInFile, + ffi.Pointer> error, + ) { return _lib._objc_msgSend_839( - _id, _lib._sel_seekToEndReturningOffset_error_1, offsetInFile, error); + this.pointer, + _lib._sel_seekToEndReturningOffset_error_1, + offsetInFile, + error, + ); } bool seekToOffset_error_( - int offset, ffi.Pointer> error) { + int offset, + ffi.Pointer> error, + ) { return _lib._objc_msgSend_840( - _id, _lib._sel_seekToOffset_error_1, offset, error); + this.pointer, + _lib._sel_seekToOffset_error_1, + offset, + error, + ); } bool truncateAtOffset_error_( - int offset, ffi.Pointer> error) { + int offset, + ffi.Pointer> error, + ) { return _lib._objc_msgSend_840( - _id, _lib._sel_truncateAtOffset_error_1, offset, error); + this.pointer, + _lib._sel_truncateAtOffset_error_1, + offset, + error, + ); } - bool synchronizeAndReturnError_(ffi.Pointer> error) { + bool synchronizeAndReturnError_( + ffi.Pointer> error, + ) { return _lib._objc_msgSend_255( - _id, _lib._sel_synchronizeAndReturnError_1, error); + this.pointer, + _lib._sel_synchronizeAndReturnError_1, + error, + ); } - bool closeAndReturnError_(ffi.Pointer> error) { - return _lib._objc_msgSend_255(_id, _lib._sel_closeAndReturnError_1, error); + bool closeAndReturnError_(ffi.Pointer> error) { + return _lib._objc_msgSend_255( + this.pointer, + _lib._sel_closeAndReturnError_1, + error, + ); } static NSFileHandle getFileHandleWithStandardInput(AVFAudio _lib) { final _ret = _lib._objc_msgSend_841( - _lib._class_NSFileHandle1, _lib._sel_fileHandleWithStandardInput1); + _lib._class_NSFileHandle1, + _lib._sel_fileHandleWithStandardInput1, + ); return NSFileHandle._(_ret, _lib, retain: true, release: true); } static NSFileHandle getFileHandleWithStandardOutput(AVFAudio _lib) { final _ret = _lib._objc_msgSend_841( - _lib._class_NSFileHandle1, _lib._sel_fileHandleWithStandardOutput1); + _lib._class_NSFileHandle1, + _lib._sel_fileHandleWithStandardOutput1, + ); return NSFileHandle._(_ret, _lib, retain: true, release: true); } static NSFileHandle getFileHandleWithStandardError(AVFAudio _lib) { final _ret = _lib._objc_msgSend_841( - _lib._class_NSFileHandle1, _lib._sel_fileHandleWithStandardError1); + _lib._class_NSFileHandle1, + _lib._sel_fileHandleWithStandardError1, + ); return NSFileHandle._(_ret, _lib, retain: true, release: true); } static NSFileHandle getFileHandleWithNullDevice(AVFAudio _lib) { final _ret = _lib._objc_msgSend_841( - _lib._class_NSFileHandle1, _lib._sel_fileHandleWithNullDevice1); + _lib._class_NSFileHandle1, + _lib._sel_fileHandleWithNullDevice1, + ); return NSFileHandle._(_ret, _lib, retain: true, release: true); } static NSFileHandle? fileHandleForReadingAtPath_( - AVFAudio _lib, NSString path) { - final _ret = _lib._objc_msgSend_38(_lib._class_NSFileHandle1, - _lib._sel_fileHandleForReadingAtPath_1, path._id); + AVFAudio _lib, + NSString path, + ) { + final _ret = _lib._objc_msgSend_38( + _lib._class_NSFileHandle1, + _lib._sel_fileHandleForReadingAtPath_1, + path.pointer, + ); return _ret.address == 0 ? null : NSFileHandle._(_ret, _lib, retain: true, release: true); } static NSFileHandle? fileHandleForWritingAtPath_( - AVFAudio _lib, NSString path) { - final _ret = _lib._objc_msgSend_38(_lib._class_NSFileHandle1, - _lib._sel_fileHandleForWritingAtPath_1, path._id); + AVFAudio _lib, + NSString path, + ) { + final _ret = _lib._objc_msgSend_38( + _lib._class_NSFileHandle1, + _lib._sel_fileHandleForWritingAtPath_1, + path.pointer, + ); return _ret.address == 0 ? null : NSFileHandle._(_ret, _lib, retain: true, release: true); } static NSFileHandle? fileHandleForUpdatingAtPath_( - AVFAudio _lib, NSString path) { - final _ret = _lib._objc_msgSend_38(_lib._class_NSFileHandle1, - _lib._sel_fileHandleForUpdatingAtPath_1, path._id); + AVFAudio _lib, + NSString path, + ) { + final _ret = _lib._objc_msgSend_38( + _lib._class_NSFileHandle1, + _lib._sel_fileHandleForUpdatingAtPath_1, + path.pointer, + ); return _ret.address == 0 ? null : NSFileHandle._(_ret, _lib, retain: true, release: true); } static NSFileHandle? fileHandleForReadingFromURL_error_( - AVFAudio _lib, NSURL url, ffi.Pointer> error) { - final _ret = _lib._objc_msgSend_842(_lib._class_NSFileHandle1, - _lib._sel_fileHandleForReadingFromURL_error_1, url._id, error); + AVFAudio _lib, + NSURL url, + ffi.Pointer> error, + ) { + final _ret = _lib._objc_msgSend_842( + _lib._class_NSFileHandle1, + _lib._sel_fileHandleForReadingFromURL_error_1, + url.pointer, + error, + ); return _ret.address == 0 ? null : NSFileHandle._(_ret, _lib, retain: true, release: true); } static NSFileHandle? fileHandleForWritingToURL_error_( - AVFAudio _lib, NSURL url, ffi.Pointer> error) { - final _ret = _lib._objc_msgSend_842(_lib._class_NSFileHandle1, - _lib._sel_fileHandleForWritingToURL_error_1, url._id, error); + AVFAudio _lib, + NSURL url, + ffi.Pointer> error, + ) { + final _ret = _lib._objc_msgSend_842( + _lib._class_NSFileHandle1, + _lib._sel_fileHandleForWritingToURL_error_1, + url.pointer, + error, + ); return _ret.address == 0 ? null : NSFileHandle._(_ret, _lib, retain: true, release: true); } static NSFileHandle? fileHandleForUpdatingURL_error_( - AVFAudio _lib, NSURL url, ffi.Pointer> error) { - final _ret = _lib._objc_msgSend_842(_lib._class_NSFileHandle1, - _lib._sel_fileHandleForUpdatingURL_error_1, url._id, error); + AVFAudio _lib, + NSURL url, + ffi.Pointer> error, + ) { + final _ret = _lib._objc_msgSend_842( + _lib._class_NSFileHandle1, + _lib._sel_fileHandleForUpdatingURL_error_1, + url.pointer, + error, + ); return _ret.address == 0 ? null : NSFileHandle._(_ret, _lib, retain: true, release: true); } void readInBackgroundAndNotifyForModes_(NSArray? modes) { - _lib._objc_msgSend_843(_id, _lib._sel_readInBackgroundAndNotifyForModes_1, - modes?._id ?? ffi.nullptr); + _lib._objc_msgSend_843( + this.pointer, + _lib._sel_readInBackgroundAndNotifyForModes_1, + modes?.pointer ?? ffi.nullptr, + ); } void readInBackgroundAndNotify() { - _lib._objc_msgSend_1(_id, _lib._sel_readInBackgroundAndNotify1); + _lib._objc_msgSend_1(this.pointer, _lib._sel_readInBackgroundAndNotify1); } void readToEndOfFileInBackgroundAndNotifyForModes_(NSArray? modes) { _lib._objc_msgSend_843( - _id, - _lib._sel_readToEndOfFileInBackgroundAndNotifyForModes_1, - modes?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_readToEndOfFileInBackgroundAndNotifyForModes_1, + modes?.pointer ?? ffi.nullptr, + ); } void readToEndOfFileInBackgroundAndNotify() { - _lib._objc_msgSend_1(_id, _lib._sel_readToEndOfFileInBackgroundAndNotify1); + _lib._objc_msgSend_1( + this.pointer, + _lib._sel_readToEndOfFileInBackgroundAndNotify1, + ); } void acceptConnectionInBackgroundAndNotifyForModes_(NSArray? modes) { _lib._objc_msgSend_843( - _id, - _lib._sel_acceptConnectionInBackgroundAndNotifyForModes_1, - modes?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_acceptConnectionInBackgroundAndNotifyForModes_1, + modes?.pointer ?? ffi.nullptr, + ); } void acceptConnectionInBackgroundAndNotify() { - _lib._objc_msgSend_1(_id, _lib._sel_acceptConnectionInBackgroundAndNotify1); + _lib._objc_msgSend_1( + this.pointer, + _lib._sel_acceptConnectionInBackgroundAndNotify1, + ); } void waitForDataInBackgroundAndNotifyForModes_(NSArray? modes) { _lib._objc_msgSend_843( - _id, - _lib._sel_waitForDataInBackgroundAndNotifyForModes_1, - modes?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_waitForDataInBackgroundAndNotifyForModes_1, + modes?.pointer ?? ffi.nullptr, + ); } void waitForDataInBackgroundAndNotify() { - _lib._objc_msgSend_1(_id, _lib._sel_waitForDataInBackgroundAndNotify1); + _lib._objc_msgSend_1( + this.pointer, + _lib._sel_waitForDataInBackgroundAndNotify1, + ); } ObjCBlock_ffiVoid_NSFileHandle? get readabilityHandler { - final _ret = _lib._objc_msgSend_844(_id, _lib._sel_readabilityHandler1); + final _ret = _lib._objc_msgSend_844( + this.pointer, + _lib._sel_readabilityHandler1, + ); return _ret.address == 0 ? null - : ObjCBlock_ffiVoid_NSFileHandle._(_ret, _lib, - retain: true, release: true); + : ObjCBlock_ffiVoid_NSFileHandle._( + _ret, + _lib, + retain: true, + release: true, + ); } set readabilityHandler(ObjCBlock_ffiVoid_NSFileHandle? value) { return _lib._objc_msgSend_845( - _id, _lib._sel_setReadabilityHandler_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setReadabilityHandler_1, + value?.pointer ?? ffi.nullptr, + ); } ObjCBlock_ffiVoid_NSFileHandle? get writeabilityHandler { - final _ret = _lib._objc_msgSend_844(_id, _lib._sel_writeabilityHandler1); + final _ret = _lib._objc_msgSend_844( + this.pointer, + _lib._sel_writeabilityHandler1, + ); return _ret.address == 0 ? null - : ObjCBlock_ffiVoid_NSFileHandle._(_ret, _lib, - retain: true, release: true); + : ObjCBlock_ffiVoid_NSFileHandle._( + _ret, + _lib, + retain: true, + release: true, + ); } set writeabilityHandler(ObjCBlock_ffiVoid_NSFileHandle? value) { return _lib._objc_msgSend_845( - _id, _lib._sel_setWriteabilityHandler_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setWriteabilityHandler_1, + value?.pointer ?? ffi.nullptr, + ); } NSFileHandle initWithFileDescriptor_(int fd) { - final _ret = - _lib._objc_msgSend_846(_id, _lib._sel_initWithFileDescriptor_1, fd); + final _ret = _lib._objc_msgSend_846( + this.pointer, + _lib._sel_initWithFileDescriptor_1, + fd, + ); return NSFileHandle._(_ret, _lib, retain: true, release: true); } int get fileDescriptor { - return _lib._objc_msgSend_237(_id, _lib._sel_fileDescriptor1); + return _lib._objc_msgSend_237(this.pointer, _lib._sel_fileDescriptor1); } NSData readDataToEndOfFile() { - final _ret = _lib._objc_msgSend_43(_id, _lib._sel_readDataToEndOfFile1); + final _ret = _lib._objc_msgSend_43( + this.pointer, + _lib._sel_readDataToEndOfFile1, + ); return NSData._(_ret, _lib, retain: true, release: true); } NSData readDataOfLength_(int length) { - final _ret = - _lib._objc_msgSend_847(_id, _lib._sel_readDataOfLength_1, length); + final _ret = _lib._objc_msgSend_847( + this.pointer, + _lib._sel_readDataOfLength_1, + length, + ); return NSData._(_ret, _lib, retain: true, release: true); } void writeData_(NSData data) { - _lib._objc_msgSend_285(_id, _lib._sel_writeData_1, data._id); + _lib._objc_msgSend_285(this.pointer, _lib._sel_writeData_1, data.pointer); } int get offsetInFile { - return _lib._objc_msgSend_164(_id, _lib._sel_offsetInFile1); + return _lib._objc_msgSend_164(this.pointer, _lib._sel_offsetInFile1); } int seekToEndOfFile() { - return _lib._objc_msgSend_164(_id, _lib._sel_seekToEndOfFile1); + return _lib._objc_msgSend_164(this.pointer, _lib._sel_seekToEndOfFile1); } void seekToFileOffset_(int offset) { - _lib._objc_msgSend_848(_id, _lib._sel_seekToFileOffset_1, offset); + _lib._objc_msgSend_848(this.pointer, _lib._sel_seekToFileOffset_1, offset); } void truncateFileAtOffset_(int offset) { - _lib._objc_msgSend_848(_id, _lib._sel_truncateFileAtOffset_1, offset); + _lib._objc_msgSend_848( + this.pointer, + _lib._sel_truncateFileAtOffset_1, + offset, + ); } void synchronizeFile() { - _lib._objc_msgSend_1(_id, _lib._sel_synchronizeFile1); + _lib._objc_msgSend_1(this.pointer, _lib._sel_synchronizeFile1); } void closeFile() { - _lib._objc_msgSend_1(_id, _lib._sel_closeFile1); + _lib._objc_msgSend_1(this.pointer, _lib._sel_closeFile1); } @override NSFileHandle init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSFileHandle._(_ret, _lib, retain: true, release: true); } static NSFileHandle new1(AVFAudio _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSFileHandle1, _lib._sel_new1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSFileHandle1, + _lib._sel_new1, + ); return NSFileHandle._(_ret, _lib, retain: false, release: true); } static NSFileHandle allocWithZone_(AVFAudio _lib, ffi.Pointer<_NSZone> zone) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSFileHandle1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSFileHandle1, + _lib._sel_allocWithZone_1, + zone, + ); return NSFileHandle._(_ret, _lib, retain: false, release: true); } static NSFileHandle alloc(AVFAudio _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSFileHandle1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSFileHandle1, + _lib._sel_alloc1, + ); return NSFileHandle._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + AVFAudio _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSFileHandle1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSFileHandle1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSFileHandle1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + AVFAudio _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSFileHandle1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { return _lib._objc_msgSend_12( - _lib._class_NSFileHandle1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_NSFileHandle1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(AVFAudio _lib) { return _lib._objc_msgSend_12( - _lib._class_NSFileHandle1, _lib._sel_useStoredAccessor1); + _lib._class_NSFileHandle1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSFileHandle1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSFileHandle1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSFileHandle1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSFileHandle1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, NSArray keys, NSString dependentKey) { + AVFAudio _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSFileHandle1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSFileHandle1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { final _ret = _lib._objc_msgSend_85( - _lib._class_NSFileHandle1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSFileHandle1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(AVFAudio _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSFileHandle1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSFileHandle1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } void _ObjCBlock_ffiVoid_NSFileHandle_fnPtrTrampoline( - ffi.Pointer<_ObjCBlock> block, ffi.Pointer arg0) => - block.ref.target - .cast< - ffi - .NativeFunction arg0)>>() - .asFunction)>()(arg0); + ffi.Pointer block, + ffi.Pointer arg0, +) => block.ref.target + .cast< + ffi.NativeFunction arg0)> + >() + .asFunction)>()(arg0); final _ObjCBlock_ffiVoid_NSFileHandle_closureRegistry = - )>{}; + )>{}; int _ObjCBlock_ffiVoid_NSFileHandle_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_ffiVoid_NSFileHandle_registerClosure( - void Function(ffi.Pointer) fn) { + void Function(ffi.Pointer) fn, +) { final id = ++_ObjCBlock_ffiVoid_NSFileHandle_closureRegistryIndex; _ObjCBlock_ffiVoid_NSFileHandle_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } void _ObjCBlock_ffiVoid_NSFileHandle_closureTrampoline( - ffi.Pointer<_ObjCBlock> block, ffi.Pointer arg0) => - _ObjCBlock_ffiVoid_NSFileHandle_closureRegistry[block.ref.target.address]!( - arg0); - -class ObjCBlock_ffiVoid_NSFileHandle extends _ObjCBlockBase { - ObjCBlock_ffiVoid_NSFileHandle._(ffi.Pointer<_ObjCBlock> id, AVFAudio lib, - {bool retain = false, bool release = true}) - : super._(id, lib, retain: retain, release: release); + ffi.Pointer block, + ffi.Pointer arg0, +) => _ObjCBlock_ffiVoid_NSFileHandle_closureRegistry[block.ref.target.address]!( + arg0, +); + +class ObjCBlock_ffiVoid_NSFileHandle extends objc.ObjCBlockBase { + ObjCBlock_ffiVoid_NSFileHandle._( + ffi.Pointer pointer, + this._lib, { + bool retain = false, + bool release = true, + }) : super(pointer, retain: retain, release: release); + + AVFAudio _lib; /// Returns a block that wraps the given raw block pointer. static ObjCBlock_ffiVoid_NSFileHandle castFromPointer( - AVFAudio lib, ffi.Pointer<_ObjCBlock> pointer, - {bool retain = false, bool release = false}) { - return ObjCBlock_ffiVoid_NSFileHandle._(pointer, lib, - retain: retain, release: release); + AVFAudio lib, + ffi.Pointer pointer, { + bool retain = false, + bool release = false, + }) { + return ObjCBlock_ffiVoid_NSFileHandle._( + pointer, + lib, + retain: retain, + release: release, + ); } /// Creates a block from a C function pointer. @@ -62215,20 +82748,20 @@ class ObjCBlock_ffiVoid_NSFileHandle extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSFileHandle.fromFunctionPointer( - AVFAudio lib, - ffi.Pointer< - ffi - .NativeFunction arg0)>> - ptr) - : this._( - lib._newBlock1( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_NSFileHandle_fnPtrTrampoline) - .cast(), - ptr.cast()), - lib); + AVFAudio lib, + ffi.Pointer< + ffi.NativeFunction arg0)> + > ptr, + ) : this._(objc.newBlock( + _cFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_NSFileHandle_fnPtrTrampoline).cast(), + ptr.cast(), + ), lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -62237,19 +82770,20 @@ class ObjCBlock_ffiVoid_NSFileHandle extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSFileHandle.fromFunction( - AVFAudio lib, void Function(NSFileHandle) fn) - : this._( - lib._newBlock1( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_NSFileHandle_closureTrampoline) - .cast(), - _ObjCBlock_ffiVoid_NSFileHandle_registerClosure((ffi - .Pointer - arg0) => - fn(NSFileHandle._(arg0, lib, retain: true, release: true)))), - lib); + AVFAudio lib, + void Function(NSFileHandle) fn, + ) : this._(objc.newBlock( + _dartFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_NSFileHandle_closureTrampoline).cast(), + _ObjCBlock_ffiVoid_NSFileHandle_registerClosure(( + ffi.Pointer arg0, + ) => fn(NSFileHandle._(arg0, lib, retain: true, release: true))), + ), lib); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -62262,356 +82796,481 @@ class ObjCBlock_ffiVoid_NSFileHandle extends _ObjCBlockBase { /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. ObjCBlock_ffiVoid_NSFileHandle.listener( - AVFAudio lib, void Function(NSFileHandle) fn) - : this._( - lib._newBlock1( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, - ffi.Pointer)>.listener( - _ObjCBlock_ffiVoid_NSFileHandle_closureTrampoline) - ..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSFileHandle_registerClosure( - (ffi.Pointer arg0) => fn(NSFileHandle._( - arg0, lib, - retain: true, release: true)))), - lib); + AVFAudio lib, + void Function(NSFileHandle) fn, + ) : this._(objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ) + >.listener( + _ObjCBlock_ffiVoid_NSFileHandle_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSFileHandle_registerClosure(( + ffi.Pointer arg0, + ) => fn(NSFileHandle._(arg0, lib, retain: true, release: true))), + ), lib); static ffi.NativeCallable< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer)>? - _dartFuncListenerTrampoline; + ffi.Void Function(ffi.Pointer, ffi.Pointer) + >? _dartFuncListenerTrampoline; - void call(NSFileHandle arg0) => _id.ref.invoke + void call(NSFileHandle arg0) => pointer.ref.invoke .cast< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0)>>() + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer block, + ffi.Pointer arg0, + ) + > + >() .asFunction< - void Function(ffi.Pointer<_ObjCBlock>, - ffi.Pointer)>()(_id, arg0._id); + void Function(ffi.Pointer, ffi.Pointer) + >()(pointer, arg0.pointer); } class NSHTTPCookieStorage extends NSObject { - NSHTTPCookieStorage._(ffi.Pointer id, AVFAudio lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSHTTPCookieStorage._( + ffi.Pointer pointer, + AVFAudio lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSHTTPCookieStorage] that points to the same underlying object as [other]. - static NSHTTPCookieStorage castFrom(T other) { - return NSHTTPCookieStorage._(other._id, other._lib, - retain: true, release: true); + static NSHTTPCookieStorage castFrom( + AVFAudio lib, + T other, + ) { + return NSHTTPCookieStorage._( + other.pointer, + lib, + retain: true, + release: true, + ); } /// Returns a [NSHTTPCookieStorage] that wraps the given raw object pointer. static NSHTTPCookieStorage castFromPointer( - AVFAudio lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + AVFAudio lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSHTTPCookieStorage._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSHTTPCookieStorage]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0(obj._id, obj._lib._sel_isKindOfClass_1, - obj._lib._class_NSHTTPCookieStorage1); + static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSHTTPCookieStorage1, + ); } static NSHTTPCookieStorage getSharedHTTPCookieStorage(AVFAudio _lib) { final _ret = _lib._objc_msgSend_849( - _lib._class_NSHTTPCookieStorage1, _lib._sel_sharedHTTPCookieStorage1); + _lib._class_NSHTTPCookieStorage1, + _lib._sel_sharedHTTPCookieStorage1, + ); return NSHTTPCookieStorage._(_ret, _lib, retain: true, release: true); } static NSHTTPCookieStorage sharedCookieStorageForGroupContainerIdentifier_( - AVFAudio _lib, NSString identifier) { + AVFAudio _lib, + NSString identifier, + ) { final _ret = _lib._objc_msgSend_850( - _lib._class_NSHTTPCookieStorage1, - _lib._sel_sharedCookieStorageForGroupContainerIdentifier_1, - identifier._id); + _lib._class_NSHTTPCookieStorage1, + _lib._sel_sharedCookieStorageForGroupContainerIdentifier_1, + identifier.pointer, + ); return NSHTTPCookieStorage._(_ret, _lib, retain: true, release: true); } NSArray? get cookies { - final _ret = _lib._objc_msgSend_84(_id, _lib._sel_cookies1); + final _ret = _lib._objc_msgSend_84(this.pointer, _lib._sel_cookies1); return _ret.address == 0 ? null : NSArray._(_ret, _lib, retain: true, release: true); } void setCookie_(NSHTTPCookie cookie) { - _lib._objc_msgSend_854(_id, _lib._sel_setCookie_1, cookie._id); + _lib._objc_msgSend_854(this.pointer, _lib._sel_setCookie_1, cookie.pointer); } void deleteCookie_(NSHTTPCookie cookie) { - _lib._objc_msgSend_854(_id, _lib._sel_deleteCookie_1, cookie._id); + _lib._objc_msgSend_854( + this.pointer, + _lib._sel_deleteCookie_1, + cookie.pointer, + ); } void removeCookiesSinceDate_(NSDate date) { - _lib._objc_msgSend_540(_id, _lib._sel_removeCookiesSinceDate_1, date._id); + _lib._objc_msgSend_540( + this.pointer, + _lib._sel_removeCookiesSinceDate_1, + date.pointer, + ); } NSArray? cookiesForURL_(NSURL URL) { - final _ret = - _lib._objc_msgSend_133(_id, _lib._sel_cookiesForURL_1, URL._id); + final _ret = _lib._objc_msgSend_133( + this.pointer, + _lib._sel_cookiesForURL_1, + URL.pointer, + ); return _ret.address == 0 ? null : NSArray._(_ret, _lib, retain: true, release: true); } void setCookies_forURL_mainDocumentURL_( - NSArray cookies, NSURL? URL, NSURL? mainDocumentURL) { + NSArray cookies, + NSURL? URL, + NSURL? mainDocumentURL, + ) { _lib._objc_msgSend_855( - _id, - _lib._sel_setCookies_forURL_mainDocumentURL_1, - cookies._id, - URL?._id ?? ffi.nullptr, - mainDocumentURL?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setCookies_forURL_mainDocumentURL_1, + cookies.pointer, + URL?.pointer ?? ffi.nullptr, + mainDocumentURL?.pointer ?? ffi.nullptr, + ); } int get cookieAcceptPolicy { - return _lib._objc_msgSend_856(_id, _lib._sel_cookieAcceptPolicy1); + return _lib._objc_msgSend_856(this.pointer, _lib._sel_cookieAcceptPolicy1); } set cookieAcceptPolicy(int value) { return _lib._objc_msgSend_857( - _id, _lib._sel_setCookieAcceptPolicy_1, value); + this.pointer, + _lib._sel_setCookieAcceptPolicy_1, + value, + ); } NSArray sortedCookiesUsingDescriptors_(NSArray sortOrder) { final _ret = _lib._objc_msgSend_68( - _id, _lib._sel_sortedCookiesUsingDescriptors_1, sortOrder._id); + this.pointer, + _lib._sel_sortedCookiesUsingDescriptors_1, + sortOrder.pointer, + ); return NSArray._(_ret, _lib, retain: true, release: true); } void storeCookies_forTask_(NSArray cookies, NSURLSessionTask task) { _lib._objc_msgSend_882( - _id, _lib._sel_storeCookies_forTask_1, cookies._id, task._id); + this.pointer, + _lib._sel_storeCookies_forTask_1, + cookies.pointer, + task.pointer, + ); } void getCookiesForTask_completionHandler_( - NSURLSessionTask task, ObjCBlock_ffiVoid_NSArray completionHandler) { - _lib._objc_msgSend_883(_id, _lib._sel_getCookiesForTask_completionHandler_1, - task._id, completionHandler._id); + NSURLSessionTask task, + ObjCBlock_ffiVoid_NSArray completionHandler, + ) { + _lib._objc_msgSend_883( + this.pointer, + _lib._sel_getCookiesForTask_completionHandler_1, + task.pointer, + completionHandler.pointer, + ); } @override NSHTTPCookieStorage init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSHTTPCookieStorage._(_ret, _lib, retain: true, release: true); } static NSHTTPCookieStorage new1(AVFAudio _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSHTTPCookieStorage1, _lib._sel_new1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSHTTPCookieStorage1, + _lib._sel_new1, + ); return NSHTTPCookieStorage._(_ret, _lib, retain: false, release: true); } static NSHTTPCookieStorage allocWithZone_( - AVFAudio _lib, ffi.Pointer<_NSZone> zone) { + AVFAudio _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSHTTPCookieStorage1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSHTTPCookieStorage1, + _lib._sel_allocWithZone_1, + zone, + ); return NSHTTPCookieStorage._(_ret, _lib, retain: false, release: true); } static NSHTTPCookieStorage alloc(AVFAudio _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSHTTPCookieStorage1, _lib._sel_alloc1); + _lib._class_NSHTTPCookieStorage1, + _lib._sel_alloc1, + ); return NSHTTPCookieStorage._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + AVFAudio _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSHTTPCookieStorage1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSHTTPCookieStorage1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSHTTPCookieStorage1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + AVFAudio _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSHTTPCookieStorage1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { - return _lib._objc_msgSend_12(_lib._class_NSHTTPCookieStorage1, - _lib._sel_accessInstanceVariablesDirectly1); + return _lib._objc_msgSend_12( + _lib._class_NSHTTPCookieStorage1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(AVFAudio _lib) { return _lib._objc_msgSend_12( - _lib._class_NSHTTPCookieStorage1, _lib._sel_useStoredAccessor1); + _lib._class_NSHTTPCookieStorage1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSHTTPCookieStorage1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSHTTPCookieStorage1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSHTTPCookieStorage1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSHTTPCookieStorage1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, NSArray keys, NSString dependentKey) { + AVFAudio _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSHTTPCookieStorage1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSHTTPCookieStorage1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_85(_lib._class_NSHTTPCookieStorage1, - _lib._sel_classFallbacksForKeyedArchiver1); + final _ret = _lib._objc_msgSend_85( + _lib._class_NSHTTPCookieStorage1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(AVFAudio _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSHTTPCookieStorage1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSHTTPCookieStorage1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } class NSHTTPCookie extends NSObject { - NSHTTPCookie._(ffi.Pointer id, AVFAudio lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSHTTPCookie._( + ffi.Pointer pointer, + AVFAudio lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSHTTPCookie] that points to the same underlying object as [other]. - static NSHTTPCookie castFrom(T other) { - return NSHTTPCookie._(other._id, other._lib, retain: true, release: true); + static NSHTTPCookie castFrom( + AVFAudio lib, + T other, + ) { + return NSHTTPCookie._(other.pointer, lib, retain: true, release: true); } /// Returns a [NSHTTPCookie] that wraps the given raw object pointer. static NSHTTPCookie castFromPointer( - AVFAudio lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + AVFAudio lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSHTTPCookie._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSHTTPCookie]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_NSHTTPCookie1); + static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSHTTPCookie1, + ); } NSHTTPCookie? initWithProperties_(NSDictionary properties) { final _ret = _lib._objc_msgSend_851( - _id, _lib._sel_initWithProperties_1, properties._id); + this.pointer, + _lib._sel_initWithProperties_1, + properties.pointer, + ); return _ret.address == 0 ? null : NSHTTPCookie._(_ret, _lib, retain: true, release: true); } static NSHTTPCookie? cookieWithProperties_( - AVFAudio _lib, NSDictionary properties) { - final _ret = _lib._objc_msgSend_852(_lib._class_NSHTTPCookie1, - _lib._sel_cookieWithProperties_1, properties._id); + AVFAudio _lib, + NSDictionary properties, + ) { + final _ret = _lib._objc_msgSend_852( + _lib._class_NSHTTPCookie1, + _lib._sel_cookieWithProperties_1, + properties.pointer, + ); return _ret.address == 0 ? null : NSHTTPCookie._(_ret, _lib, retain: true, release: true); } static NSDictionary requestHeaderFieldsWithCookies_( - AVFAudio _lib, NSArray cookies) { - final _ret = _lib._objc_msgSend_508(_lib._class_NSHTTPCookie1, - _lib._sel_requestHeaderFieldsWithCookies_1, cookies._id); + AVFAudio _lib, + NSArray cookies, + ) { + final _ret = _lib._objc_msgSend_508( + _lib._class_NSHTTPCookie1, + _lib._sel_requestHeaderFieldsWithCookies_1, + cookies.pointer, + ); return NSDictionary._(_ret, _lib, retain: true, release: true); } static NSArray cookiesWithResponseHeaderFields_forURL_( - AVFAudio _lib, NSDictionary headerFields, NSURL URL) { + AVFAudio _lib, + NSDictionary headerFields, + NSURL URL, + ) { final _ret = _lib._objc_msgSend_853( - _lib._class_NSHTTPCookie1, - _lib._sel_cookiesWithResponseHeaderFields_forURL_1, - headerFields._id, - URL._id); + _lib._class_NSHTTPCookie1, + _lib._sel_cookiesWithResponseHeaderFields_forURL_1, + headerFields.pointer, + URL.pointer, + ); return NSArray._(_ret, _lib, retain: true, release: true); } NSDictionary? get properties { - final _ret = _lib._objc_msgSend_390(_id, _lib._sel_properties1); + final _ret = _lib._objc_msgSend_390(this.pointer, _lib._sel_properties1); return _ret.address == 0 ? null : NSDictionary._(_ret, _lib, retain: true, release: true); } int get version { - return _lib._objc_msgSend_10(_id, _lib._sel_version1); + return _lib._objc_msgSend_10(this.pointer, _lib._sel_version1); } NSString get name { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_name1); + final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_name1); return NSString._(_ret, _lib, retain: true, release: true); } NSString get value { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_value1); + final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_value1); return NSString._(_ret, _lib, retain: true, release: true); } NSDate? get expiresDate { - final _ret = _lib._objc_msgSend_183(_id, _lib._sel_expiresDate1); + final _ret = _lib._objc_msgSend_183(this.pointer, _lib._sel_expiresDate1); return _ret.address == 0 ? null : NSDate._(_ret, _lib, retain: true, release: true); } bool get sessionOnly { - return _lib._objc_msgSend_12(_id, _lib._sel_isSessionOnly1); + return _lib._objc_msgSend_12(this.pointer, _lib._sel_isSessionOnly1); } NSString get domain { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_domain1); + final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_domain1); return NSString._(_ret, _lib, retain: true, release: true); } NSString get path { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_path1); + final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_path1); return NSString._(_ret, _lib, retain: true, release: true); } bool get secure { - return _lib._objc_msgSend_12(_id, _lib._sel_isSecure1); + return _lib._objc_msgSend_12(this.pointer, _lib._sel_isSecure1); } bool get HTTPOnly { - return _lib._objc_msgSend_12(_id, _lib._sel_isHTTPOnly1); + return _lib._objc_msgSend_12(this.pointer, _lib._sel_isHTTPOnly1); } NSString? get comment { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_comment1); + final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_comment1); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } NSURL? get commentURL { - final _ret = _lib._objc_msgSend_45(_id, _lib._sel_commentURL1); + final _ret = _lib._objc_msgSend_45(this.pointer, _lib._sel_commentURL1); return _ret.address == 0 ? null : NSURL._(_ret, _lib, retain: true, release: true); } NSArray? get portList { - final _ret = _lib._objc_msgSend_84(_id, _lib._sel_portList1); + final _ret = _lib._objc_msgSend_84(this.pointer, _lib._sel_portList1); return _ret.address == 0 ? null : NSArray._(_ret, _lib, retain: true, release: true); } NSString? get sameSitePolicy { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_sameSitePolicy1); + final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_sameSitePolicy1); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); @@ -62619,88 +83278,124 @@ class NSHTTPCookie extends NSObject { @override NSHTTPCookie init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSHTTPCookie._(_ret, _lib, retain: true, release: true); } static NSHTTPCookie new1(AVFAudio _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSHTTPCookie1, _lib._sel_new1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSHTTPCookie1, + _lib._sel_new1, + ); return NSHTTPCookie._(_ret, _lib, retain: false, release: true); } static NSHTTPCookie allocWithZone_(AVFAudio _lib, ffi.Pointer<_NSZone> zone) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSHTTPCookie1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSHTTPCookie1, + _lib._sel_allocWithZone_1, + zone, + ); return NSHTTPCookie._(_ret, _lib, retain: false, release: true); } static NSHTTPCookie alloc(AVFAudio _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSHTTPCookie1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSHTTPCookie1, + _lib._sel_alloc1, + ); return NSHTTPCookie._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + AVFAudio _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSHTTPCookie1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSHTTPCookie1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSHTTPCookie1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + AVFAudio _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSHTTPCookie1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { return _lib._objc_msgSend_12( - _lib._class_NSHTTPCookie1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_NSHTTPCookie1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(AVFAudio _lib) { return _lib._objc_msgSend_12( - _lib._class_NSHTTPCookie1, _lib._sel_useStoredAccessor1); + _lib._class_NSHTTPCookie1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSHTTPCookie1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSHTTPCookie1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSHTTPCookie1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSHTTPCookie1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, NSArray keys, NSString dependentKey) { + AVFAudio _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSHTTPCookie1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSHTTPCookie1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { final _ret = _lib._objc_msgSend_85( - _lib._class_NSHTTPCookie1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSHTTPCookie1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(AVFAudio _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSHTTPCookie1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSHTTPCookie1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } @@ -62712,56 +83407,73 @@ abstract class NSHTTPCookieAcceptPolicy { } class NSURLSessionTask extends NSObject { - NSURLSessionTask._(ffi.Pointer id, AVFAudio lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSURLSessionTask._( + ffi.Pointer pointer, + AVFAudio lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSURLSessionTask] that points to the same underlying object as [other]. - static NSURLSessionTask castFrom(T other) { - return NSURLSessionTask._(other._id, other._lib, - retain: true, release: true); + static NSURLSessionTask castFrom( + AVFAudio lib, + T other, + ) { + return NSURLSessionTask._(other.pointer, lib, retain: true, release: true); } /// Returns a [NSURLSessionTask] that wraps the given raw object pointer. static NSURLSessionTask castFromPointer( - AVFAudio lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + AVFAudio lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSURLSessionTask._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSURLSessionTask]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0(obj._id, obj._lib._sel_isKindOfClass_1, - obj._lib._class_NSURLSessionTask1); + static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSURLSessionTask1, + ); } int get taskIdentifier { - return _lib._objc_msgSend_10(_id, _lib._sel_taskIdentifier1); + return _lib._objc_msgSend_10(this.pointer, _lib._sel_taskIdentifier1); } NSURLRequest? get originalRequest { - final _ret = _lib._objc_msgSend_876(_id, _lib._sel_originalRequest1); + final _ret = _lib._objc_msgSend_876( + this.pointer, + _lib._sel_originalRequest1, + ); return _ret.address == 0 ? null : NSURLRequest._(_ret, _lib, retain: true, release: true); } NSURLRequest? get currentRequest { - final _ret = _lib._objc_msgSend_876(_id, _lib._sel_currentRequest1); + final _ret = _lib._objc_msgSend_876( + this.pointer, + _lib._sel_currentRequest1, + ); return _ret.address == 0 ? null : NSURLRequest._(_ret, _lib, retain: true, release: true); } NSURLResponse? get response { - final _ret = _lib._objc_msgSend_878(_id, _lib._sel_response1); + final _ret = _lib._objc_msgSend_878(this.pointer, _lib._sel_response1); return _ret.address == 0 ? null : NSURLResponse._(_ret, _lib, retain: true, release: true); } NSObject? get delegate { - final _ret = _lib._objc_msgSend_17(_id, _lib._sel_delegate1); + final _ret = _lib._objc_msgSend_17(this.pointer, _lib._sel_delegate1); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); @@ -62769,16 +83481,22 @@ class NSURLSessionTask extends NSObject { set delegate(NSObject? value) { return _lib._objc_msgSend_416( - _id, _lib._sel_setDelegate_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setDelegate_1, + value?.pointer ?? ffi.nullptr, + ); } NSProgress get progress { - final _ret = _lib._objc_msgSend_879(_id, _lib._sel_progress1); + final _ret = _lib._objc_msgSend_879(this.pointer, _lib._sel_progress1); return NSProgress._(_ret, _lib, retain: true, release: true); } NSDate? get earliestBeginDate { - final _ret = _lib._objc_msgSend_183(_id, _lib._sel_earliestBeginDate1); + final _ret = _lib._objc_msgSend_183( + this.pointer, + _lib._sel_earliestBeginDate1, + ); return _ret.address == 0 ? null : NSDate._(_ret, _lib, retain: true, release: true); @@ -62786,48 +83504,72 @@ class NSURLSessionTask extends NSObject { set earliestBeginDate(NSDate? value) { return _lib._objc_msgSend_800( - _id, _lib._sel_setEarliestBeginDate_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setEarliestBeginDate_1, + value?.pointer ?? ffi.nullptr, + ); } int get countOfBytesClientExpectsToSend { return _lib._objc_msgSend_666( - _id, _lib._sel_countOfBytesClientExpectsToSend1); + this.pointer, + _lib._sel_countOfBytesClientExpectsToSend1, + ); } set countOfBytesClientExpectsToSend(int value) { return _lib._objc_msgSend_667( - _id, _lib._sel_setCountOfBytesClientExpectsToSend_1, value); + this.pointer, + _lib._sel_setCountOfBytesClientExpectsToSend_1, + value, + ); } int get countOfBytesClientExpectsToReceive { return _lib._objc_msgSend_666( - _id, _lib._sel_countOfBytesClientExpectsToReceive1); + this.pointer, + _lib._sel_countOfBytesClientExpectsToReceive1, + ); } set countOfBytesClientExpectsToReceive(int value) { return _lib._objc_msgSend_667( - _id, _lib._sel_setCountOfBytesClientExpectsToReceive_1, value); + this.pointer, + _lib._sel_setCountOfBytesClientExpectsToReceive_1, + value, + ); } int get countOfBytesSent { - return _lib._objc_msgSend_666(_id, _lib._sel_countOfBytesSent1); + return _lib._objc_msgSend_666(this.pointer, _lib._sel_countOfBytesSent1); } int get countOfBytesReceived { - return _lib._objc_msgSend_666(_id, _lib._sel_countOfBytesReceived1); + return _lib._objc_msgSend_666( + this.pointer, + _lib._sel_countOfBytesReceived1, + ); } int get countOfBytesExpectedToSend { - return _lib._objc_msgSend_666(_id, _lib._sel_countOfBytesExpectedToSend1); + return _lib._objc_msgSend_666( + this.pointer, + _lib._sel_countOfBytesExpectedToSend1, + ); } int get countOfBytesExpectedToReceive { return _lib._objc_msgSend_666( - _id, _lib._sel_countOfBytesExpectedToReceive1); + this.pointer, + _lib._sel_countOfBytesExpectedToReceive1, + ); } NSString? get taskDescription { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_taskDescription1); + final _ret = _lib._objc_msgSend_44( + this.pointer, + _lib._sel_taskDescription1, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); @@ -62835,263 +83577,354 @@ class NSURLSessionTask extends NSObject { set taskDescription(NSString? value) { return _lib._objc_msgSend_545( - _id, _lib._sel_setTaskDescription_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setTaskDescription_1, + value?.pointer ?? ffi.nullptr, + ); } void cancel() { - _lib._objc_msgSend_1(_id, _lib._sel_cancel1); + _lib._objc_msgSend_1(this.pointer, _lib._sel_cancel1); } int get state { - return _lib._objc_msgSend_880(_id, _lib._sel_state1); + return _lib._objc_msgSend_880(this.pointer, _lib._sel_state1); } NSError? get error { - final _ret = _lib._objc_msgSend_322(_id, _lib._sel_error1); + final _ret = _lib._objc_msgSend_322(this.pointer, _lib._sel_error1); return _ret.address == 0 ? null : NSError._(_ret, _lib, retain: true, release: true); } void suspend() { - _lib._objc_msgSend_1(_id, _lib._sel_suspend1); + _lib._objc_msgSend_1(this.pointer, _lib._sel_suspend1); } void resume() { - _lib._objc_msgSend_1(_id, _lib._sel_resume1); + _lib._objc_msgSend_1(this.pointer, _lib._sel_resume1); } double get priority { - return _lib._objc_msgSend_useVariants1 - ? _lib._objc_msgSend_239_fpret(_id, _lib._sel_priority1) - : _lib._objc_msgSend_239(_id, _lib._sel_priority1); + return objc.useMsgSendVariants + ? _lib._objc_msgSend_239_fpret(this.pointer, _lib._sel_priority1) + : _lib._objc_msgSend_239(this.pointer, _lib._sel_priority1); } set priority(double value) { - return _lib._objc_msgSend_881(_id, _lib._sel_setPriority_1, value); + return _lib._objc_msgSend_881(this.pointer, _lib._sel_setPriority_1, value); } bool get prefersIncrementalDelivery { - return _lib._objc_msgSend_12(_id, _lib._sel_prefersIncrementalDelivery1); + return _lib._objc_msgSend_12( + this.pointer, + _lib._sel_prefersIncrementalDelivery1, + ); } set prefersIncrementalDelivery(bool value) { return _lib._objc_msgSend_527( - _id, _lib._sel_setPrefersIncrementalDelivery_1, value); + this.pointer, + _lib._sel_setPrefersIncrementalDelivery_1, + value, + ); } @override NSURLSessionTask init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSURLSessionTask._(_ret, _lib, retain: true, release: true); } static NSURLSessionTask new1(AVFAudio _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSURLSessionTask1, _lib._sel_new1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSURLSessionTask1, + _lib._sel_new1, + ); return NSURLSessionTask._(_ret, _lib, retain: false, release: true); } static NSURLSessionTask allocWithZone_( - AVFAudio _lib, ffi.Pointer<_NSZone> zone) { + AVFAudio _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSURLSessionTask1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSURLSessionTask1, + _lib._sel_allocWithZone_1, + zone, + ); return NSURLSessionTask._(_ret, _lib, retain: false, release: true); } static NSURLSessionTask alloc(AVFAudio _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSURLSessionTask1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSURLSessionTask1, + _lib._sel_alloc1, + ); return NSURLSessionTask._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + AVFAudio _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSURLSessionTask1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSURLSessionTask1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSURLSessionTask1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + AVFAudio _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSURLSessionTask1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { - return _lib._objc_msgSend_12(_lib._class_NSURLSessionTask1, - _lib._sel_accessInstanceVariablesDirectly1); + return _lib._objc_msgSend_12( + _lib._class_NSURLSessionTask1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(AVFAudio _lib) { return _lib._objc_msgSend_12( - _lib._class_NSURLSessionTask1, _lib._sel_useStoredAccessor1); + _lib._class_NSURLSessionTask1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSURLSessionTask1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSURLSessionTask1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSURLSessionTask1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSURLSessionTask1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, NSArray keys, NSString dependentKey) { + AVFAudio _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSURLSessionTask1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSURLSessionTask1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_85(_lib._class_NSURLSessionTask1, - _lib._sel_classFallbacksForKeyedArchiver1); + final _ret = _lib._objc_msgSend_85( + _lib._class_NSURLSessionTask1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(AVFAudio _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLSessionTask1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSURLSessionTask1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } class NSURLRequest extends NSObject { - NSURLRequest._(ffi.Pointer id, AVFAudio lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSURLRequest._( + ffi.Pointer pointer, + AVFAudio lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSURLRequest] that points to the same underlying object as [other]. - static NSURLRequest castFrom(T other) { - return NSURLRequest._(other._id, other._lib, retain: true, release: true); + static NSURLRequest castFrom( + AVFAudio lib, + T other, + ) { + return NSURLRequest._(other.pointer, lib, retain: true, release: true); } /// Returns a [NSURLRequest] that wraps the given raw object pointer. static NSURLRequest castFromPointer( - AVFAudio lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + AVFAudio lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSURLRequest._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSURLRequest]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_NSURLRequest1); + static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSURLRequest1, + ); } static NSURLRequest requestWithURL_(AVFAudio _lib, NSURL URL) { final _ret = _lib._objc_msgSend_262( - _lib._class_NSURLRequest1, _lib._sel_requestWithURL_1, URL._id); + _lib._class_NSURLRequest1, + _lib._sel_requestWithURL_1, + URL.pointer, + ); return NSURLRequest._(_ret, _lib, retain: true, release: true); } static bool getSupportsSecureCoding(AVFAudio _lib) { return _lib._objc_msgSend_12( - _lib._class_NSURLRequest1, _lib._sel_supportsSecureCoding1); + _lib._class_NSURLRequest1, + _lib._sel_supportsSecureCoding1, + ); } static NSURLRequest requestWithURL_cachePolicy_timeoutInterval_( - AVFAudio _lib, NSURL URL, int cachePolicy, double timeoutInterval) { + AVFAudio _lib, + NSURL URL, + int cachePolicy, + double timeoutInterval, + ) { final _ret = _lib._objc_msgSend_858( - _lib._class_NSURLRequest1, - _lib._sel_requestWithURL_cachePolicy_timeoutInterval_1, - URL._id, - cachePolicy, - timeoutInterval); + _lib._class_NSURLRequest1, + _lib._sel_requestWithURL_cachePolicy_timeoutInterval_1, + URL.pointer, + cachePolicy, + timeoutInterval, + ); return NSURLRequest._(_ret, _lib, retain: true, release: true); } NSURLRequest initWithURL_(NSURL URL) { - final _ret = _lib._objc_msgSend_262(_id, _lib._sel_initWithURL_1, URL._id); + final _ret = _lib._objc_msgSend_262( + this.pointer, + _lib._sel_initWithURL_1, + URL.pointer, + ); return NSURLRequest._(_ret, _lib, retain: true, release: true); } NSURLRequest initWithURL_cachePolicy_timeoutInterval_( - NSURL URL, int cachePolicy, double timeoutInterval) { + NSURL URL, + int cachePolicy, + double timeoutInterval, + ) { final _ret = _lib._objc_msgSend_858( - _id, - _lib._sel_initWithURL_cachePolicy_timeoutInterval_1, - URL._id, - cachePolicy, - timeoutInterval); + this.pointer, + _lib._sel_initWithURL_cachePolicy_timeoutInterval_1, + URL.pointer, + cachePolicy, + timeoutInterval, + ); return NSURLRequest._(_ret, _lib, retain: true, release: true); } NSURL? get URL { - final _ret = _lib._objc_msgSend_45(_id, _lib._sel_URL1); + final _ret = _lib._objc_msgSend_45(this.pointer, _lib._sel_URL1); return _ret.address == 0 ? null : NSURL._(_ret, _lib, retain: true, release: true); } int get cachePolicy { - return _lib._objc_msgSend_859(_id, _lib._sel_cachePolicy1); + return _lib._objc_msgSend_859(this.pointer, _lib._sel_cachePolicy1); } double get timeoutInterval { - return _lib._objc_msgSend_useVariants1 - ? _lib._objc_msgSend_165_fpret(_id, _lib._sel_timeoutInterval1) - : _lib._objc_msgSend_165(_id, _lib._sel_timeoutInterval1); + return objc.useMsgSendVariants + ? _lib._objc_msgSend_165_fpret(this.pointer, _lib._sel_timeoutInterval1) + : _lib._objc_msgSend_165(this.pointer, _lib._sel_timeoutInterval1); } NSURL? get mainDocumentURL { - final _ret = _lib._objc_msgSend_45(_id, _lib._sel_mainDocumentURL1); + final _ret = _lib._objc_msgSend_45( + this.pointer, + _lib._sel_mainDocumentURL1, + ); return _ret.address == 0 ? null : NSURL._(_ret, _lib, retain: true, release: true); } int get networkServiceType { - return _lib._objc_msgSend_860(_id, _lib._sel_networkServiceType1); + return _lib._objc_msgSend_860(this.pointer, _lib._sel_networkServiceType1); } bool get allowsCellularAccess { - return _lib._objc_msgSend_12(_id, _lib._sel_allowsCellularAccess1); + return _lib._objc_msgSend_12(this.pointer, _lib._sel_allowsCellularAccess1); } bool get allowsExpensiveNetworkAccess { - return _lib._objc_msgSend_12(_id, _lib._sel_allowsExpensiveNetworkAccess1); + return _lib._objc_msgSend_12( + this.pointer, + _lib._sel_allowsExpensiveNetworkAccess1, + ); } bool get allowsConstrainedNetworkAccess { return _lib._objc_msgSend_12( - _id, _lib._sel_allowsConstrainedNetworkAccess1); + this.pointer, + _lib._sel_allowsConstrainedNetworkAccess1, + ); } bool get assumesHTTP3Capable { - return _lib._objc_msgSend_12(_id, _lib._sel_assumesHTTP3Capable1); + return _lib._objc_msgSend_12(this.pointer, _lib._sel_assumesHTTP3Capable1); } int get attribution { - return _lib._objc_msgSend_861(_id, _lib._sel_attribution1); + return _lib._objc_msgSend_861(this.pointer, _lib._sel_attribution1); } bool get requiresDNSSECValidation { - return _lib._objc_msgSend_12(_id, _lib._sel_requiresDNSSECValidation1); + return _lib._objc_msgSend_12( + this.pointer, + _lib._sel_requiresDNSSECValidation1, + ); } NSString? get HTTPMethod { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_HTTPMethod1); + final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_HTTPMethod1); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } NSDictionary? get allHTTPHeaderFields { - final _ret = _lib._objc_msgSend_390(_id, _lib._sel_allHTTPHeaderFields1); + final _ret = _lib._objc_msgSend_390( + this.pointer, + _lib._sel_allHTTPHeaderFields1, + ); return _ret.address == 0 ? null : NSDictionary._(_ret, _lib, retain: true, release: true); @@ -63099,118 +83932,166 @@ class NSURLRequest extends NSObject { NSString? valueForHTTPHeaderField_(NSString field) { final _ret = _lib._objc_msgSend_186( - _id, _lib._sel_valueForHTTPHeaderField_1, field._id); + this.pointer, + _lib._sel_valueForHTTPHeaderField_1, + field.pointer, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } NSData? get HTTPBody { - final _ret = _lib._objc_msgSend_286(_id, _lib._sel_HTTPBody1); + final _ret = _lib._objc_msgSend_286(this.pointer, _lib._sel_HTTPBody1); return _ret.address == 0 ? null : NSData._(_ret, _lib, retain: true, release: true); } NSInputStream? get HTTPBodyStream { - final _ret = _lib._objc_msgSend_875(_id, _lib._sel_HTTPBodyStream1); + final _ret = _lib._objc_msgSend_875( + this.pointer, + _lib._sel_HTTPBodyStream1, + ); return _ret.address == 0 ? null : NSInputStream._(_ret, _lib, retain: true, release: true); } bool get HTTPShouldHandleCookies { - return _lib._objc_msgSend_12(_id, _lib._sel_HTTPShouldHandleCookies1); + return _lib._objc_msgSend_12( + this.pointer, + _lib._sel_HTTPShouldHandleCookies1, + ); } bool get HTTPShouldUsePipelining { - return _lib._objc_msgSend_12(_id, _lib._sel_HTTPShouldUsePipelining1); + return _lib._objc_msgSend_12( + this.pointer, + _lib._sel_HTTPShouldUsePipelining1, + ); } @override NSURLRequest init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSURLRequest._(_ret, _lib, retain: true, release: true); } static NSURLRequest new1(AVFAudio _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSURLRequest1, _lib._sel_new1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSURLRequest1, + _lib._sel_new1, + ); return NSURLRequest._(_ret, _lib, retain: false, release: true); } static NSURLRequest allocWithZone_(AVFAudio _lib, ffi.Pointer<_NSZone> zone) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSURLRequest1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSURLRequest1, + _lib._sel_allocWithZone_1, + zone, + ); return NSURLRequest._(_ret, _lib, retain: false, release: true); } static NSURLRequest alloc(AVFAudio _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSURLRequest1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSURLRequest1, + _lib._sel_alloc1, + ); return NSURLRequest._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + AVFAudio _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSURLRequest1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSURLRequest1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSURLRequest1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + AVFAudio _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSURLRequest1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { return _lib._objc_msgSend_12( - _lib._class_NSURLRequest1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_NSURLRequest1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(AVFAudio _lib) { return _lib._objc_msgSend_12( - _lib._class_NSURLRequest1, _lib._sel_useStoredAccessor1); + _lib._class_NSURLRequest1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSURLRequest1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSURLRequest1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSURLRequest1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSURLRequest1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, NSArray keys, NSString dependentKey) { + AVFAudio _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSURLRequest1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSURLRequest1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { final _ret = _lib._objc_msgSend_85( - _lib._class_NSURLRequest1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSURLRequest1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(AVFAudio _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLRequest1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSURLRequest1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } @@ -63243,58 +84124,91 @@ abstract class NSURLRequestAttribution { } class NSInputStream extends NSStream { - NSInputStream._(ffi.Pointer id, AVFAudio lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSInputStream._( + ffi.Pointer pointer, + AVFAudio lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSInputStream] that points to the same underlying object as [other]. - static NSInputStream castFrom(T other) { - return NSInputStream._(other._id, other._lib, retain: true, release: true); + static NSInputStream castFrom( + AVFAudio lib, + T other, + ) { + return NSInputStream._(other.pointer, lib, retain: true, release: true); } /// Returns a [NSInputStream] that wraps the given raw object pointer. static NSInputStream castFromPointer( - AVFAudio lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + AVFAudio lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSInputStream._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSInputStream]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_NSInputStream1); + static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSInputStream1, + ); } int read_maxLength_(ffi.Pointer buffer, int len) { - return _lib._objc_msgSend_864(_id, _lib._sel_read_maxLength_1, buffer, len); + return _lib._objc_msgSend_864( + this.pointer, + _lib._sel_read_maxLength_1, + buffer, + len, + ); } - bool getBuffer_length_(ffi.Pointer> buffer, - ffi.Pointer len) { + bool getBuffer_length_( + ffi.Pointer> buffer, + ffi.Pointer len, + ) { return _lib._objc_msgSend_873( - _id, _lib._sel_getBuffer_length_1, buffer, len); + this.pointer, + _lib._sel_getBuffer_length_1, + buffer, + len, + ); } bool get hasBytesAvailable { - return _lib._objc_msgSend_12(_id, _lib._sel_hasBytesAvailable1); + return _lib._objc_msgSend_12(this.pointer, _lib._sel_hasBytesAvailable1); } NSInputStream initWithData_(NSData data) { - final _ret = - _lib._objc_msgSend_279(_id, _lib._sel_initWithData_1, data._id); + final _ret = _lib._objc_msgSend_279( + this.pointer, + _lib._sel_initWithData_1, + data.pointer, + ); return NSInputStream._(_ret, _lib, retain: true, release: true); } NSInputStream? initWithURL_(NSURL url) { - final _ret = _lib._objc_msgSend_277(_id, _lib._sel_initWithURL_1, url._id); + final _ret = _lib._objc_msgSend_277( + this.pointer, + _lib._sel_initWithURL_1, + url.pointer, + ); return _ret.address == 0 ? null : NSInputStream._(_ret, _lib, retain: true, release: true); } NSInputStream? initWithFileAtPath_(NSString path) { - final _ret = - _lib._objc_msgSend_38(_id, _lib._sel_initWithFileAtPath_1, path._id); + final _ret = _lib._objc_msgSend_38( + this.pointer, + _lib._sel_initWithFileAtPath_1, + path.pointer, + ); return _ret.address == 0 ? null : NSInputStream._(_ret, _lib, retain: true, release: true); @@ -63302,16 +84216,24 @@ class NSInputStream extends NSStream { static NSInputStream? inputStreamWithData_(AVFAudio _lib, NSData data) { final _ret = _lib._objc_msgSend_874( - _lib._class_NSInputStream1, _lib._sel_inputStreamWithData_1, data._id); + _lib._class_NSInputStream1, + _lib._sel_inputStreamWithData_1, + data.pointer, + ); return _ret.address == 0 ? null : NSInputStream._(_ret, _lib, retain: true, release: true); } static NSInputStream? inputStreamWithFileAtPath_( - AVFAudio _lib, NSString path) { - final _ret = _lib._objc_msgSend_38(_lib._class_NSInputStream1, - _lib._sel_inputStreamWithFileAtPath_1, path._id); + AVFAudio _lib, + NSString path, + ) { + final _ret = _lib._objc_msgSend_38( + _lib._class_NSInputStream1, + _lib._sel_inputStreamWithFileAtPath_1, + path.pointer, + ); return _ret.address == 0 ? null : NSInputStream._(_ret, _lib, retain: true, release: true); @@ -63319,176 +84241,236 @@ class NSInputStream extends NSStream { static NSInputStream? inputStreamWithURL_(AVFAudio _lib, NSURL url) { final _ret = _lib._objc_msgSend_277( - _lib._class_NSInputStream1, _lib._sel_inputStreamWithURL_1, url._id); + _lib._class_NSInputStream1, + _lib._sel_inputStreamWithURL_1, + url.pointer, + ); return _ret.address == 0 ? null : NSInputStream._(_ret, _lib, retain: true, release: true); } static void getStreamsToHostWithName_port_inputStream_outputStream_( - AVFAudio _lib, - NSString hostname, - int port, - ffi.Pointer> inputStream, - ffi.Pointer> outputStream) { + AVFAudio _lib, + NSString hostname, + int port, + ffi.Pointer> inputStream, + ffi.Pointer> outputStream, + ) { _lib._objc_msgSend_867( - _lib._class_NSInputStream1, - _lib._sel_getStreamsToHostWithName_port_inputStream_outputStream_1, - hostname._id, - port, - inputStream, - outputStream); + _lib._class_NSInputStream1, + _lib._sel_getStreamsToHostWithName_port_inputStream_outputStream_1, + hostname.pointer, + port, + inputStream, + outputStream, + ); } static void getStreamsToHost_port_inputStream_outputStream_( - AVFAudio _lib, - NSHost host, - int port, - ffi.Pointer> inputStream, - ffi.Pointer> outputStream) { + AVFAudio _lib, + NSHost host, + int port, + ffi.Pointer> inputStream, + ffi.Pointer> outputStream, + ) { _lib._objc_msgSend_871( - _lib._class_NSInputStream1, - _lib._sel_getStreamsToHost_port_inputStream_outputStream_1, - host._id, - port, - inputStream, - outputStream); + _lib._class_NSInputStream1, + _lib._sel_getStreamsToHost_port_inputStream_outputStream_1, + host.pointer, + port, + inputStream, + outputStream, + ); } static void getBoundStreamsWithBufferSize_inputStream_outputStream_( - AVFAudio _lib, - int bufferSize, - ffi.Pointer> inputStream, - ffi.Pointer> outputStream) { + AVFAudio _lib, + int bufferSize, + ffi.Pointer> inputStream, + ffi.Pointer> outputStream, + ) { _lib._objc_msgSend_872( - _lib._class_NSInputStream1, - _lib._sel_getBoundStreamsWithBufferSize_inputStream_outputStream_1, - bufferSize, - inputStream, - outputStream); + _lib._class_NSInputStream1, + _lib._sel_getBoundStreamsWithBufferSize_inputStream_outputStream_1, + bufferSize, + inputStream, + outputStream, + ); } @override NSInputStream init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSInputStream._(_ret, _lib, retain: true, release: true); } static NSInputStream new1(AVFAudio _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSInputStream1, _lib._sel_new1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSInputStream1, + _lib._sel_new1, + ); return NSInputStream._(_ret, _lib, retain: false, release: true); } static NSInputStream allocWithZone_( - AVFAudio _lib, ffi.Pointer<_NSZone> zone) { + AVFAudio _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSInputStream1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSInputStream1, + _lib._sel_allocWithZone_1, + zone, + ); return NSInputStream._(_ret, _lib, retain: false, release: true); } static NSInputStream alloc(AVFAudio _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSInputStream1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSInputStream1, + _lib._sel_alloc1, + ); return NSInputStream._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + AVFAudio _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSInputStream1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSInputStream1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSInputStream1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + AVFAudio _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSInputStream1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { return _lib._objc_msgSend_12( - _lib._class_NSInputStream1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_NSInputStream1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(AVFAudio _lib) { return _lib._objc_msgSend_12( - _lib._class_NSInputStream1, _lib._sel_useStoredAccessor1); + _lib._class_NSInputStream1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSInputStream1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSInputStream1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSInputStream1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSInputStream1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, NSArray keys, NSString dependentKey) { + AVFAudio _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSInputStream1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSInputStream1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { final _ret = _lib._objc_msgSend_85( - _lib._class_NSInputStream1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSInputStream1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(AVFAudio _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSInputStream1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSInputStream1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } class NSStream extends NSObject { - NSStream._(ffi.Pointer id, AVFAudio lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSStream._( + ffi.Pointer pointer, + AVFAudio lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSStream] that points to the same underlying object as [other]. - static NSStream castFrom(T other) { - return NSStream._(other._id, other._lib, retain: true, release: true); + static NSStream castFrom( + AVFAudio lib, + T other, + ) { + return NSStream._(other.pointer, lib, retain: true, release: true); } /// Returns a [NSStream] that wraps the given raw object pointer. - static NSStream castFromPointer(AVFAudio lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + static NSStream castFromPointer( + AVFAudio lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSStream._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSStream]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_NSStream1); + static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSStream1, + ); } void open() { - _lib._objc_msgSend_1(_id, _lib._sel_open1); + _lib._objc_msgSend_1(this.pointer, _lib._sel_open1); } void close() { - _lib._objc_msgSend_1(_id, _lib._sel_close1); + _lib._objc_msgSend_1(this.pointer, _lib._sel_close1); } NSObject? get delegate { - final _ret = _lib._objc_msgSend_17(_id, _lib._sel_delegate1); + final _ret = _lib._objc_msgSend_17(this.pointer, _lib._sel_delegate1); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); @@ -63496,89 +84478,113 @@ class NSStream extends NSObject { set delegate(NSObject? value) { return _lib._objc_msgSend_416( - _id, _lib._sel_setDelegate_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setDelegate_1, + value?.pointer ?? ffi.nullptr, + ); } NSObject? propertyForKey_(NSString key) { - final _ret = - _lib._objc_msgSend_38(_id, _lib._sel_propertyForKey_1, key._id); + final _ret = _lib._objc_msgSend_38( + this.pointer, + _lib._sel_propertyForKey_1, + key.pointer, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } bool setProperty_forKey_(NSObject? property, NSString key) { - return _lib._objc_msgSend_862(_id, _lib._sel_setProperty_forKey_1, - property?._id ?? ffi.nullptr, key._id); + return _lib._objc_msgSend_862( + this.pointer, + _lib._sel_setProperty_forKey_1, + property?.pointer ?? ffi.nullptr, + key.pointer, + ); } void scheduleInRunLoop_forMode_(NSRunLoop aRunLoop, NSString mode) { _lib._objc_msgSend_569( - _id, _lib._sel_scheduleInRunLoop_forMode_1, aRunLoop._id, mode._id); + this.pointer, + _lib._sel_scheduleInRunLoop_forMode_1, + aRunLoop.pointer, + mode.pointer, + ); } void removeFromRunLoop_forMode_(NSRunLoop aRunLoop, NSString mode) { _lib._objc_msgSend_569( - _id, _lib._sel_removeFromRunLoop_forMode_1, aRunLoop._id, mode._id); + this.pointer, + _lib._sel_removeFromRunLoop_forMode_1, + aRunLoop.pointer, + mode.pointer, + ); } int get streamStatus { - return _lib._objc_msgSend_863(_id, _lib._sel_streamStatus1); + return _lib._objc_msgSend_863(this.pointer, _lib._sel_streamStatus1); } NSError? get streamError { - final _ret = _lib._objc_msgSend_322(_id, _lib._sel_streamError1); + final _ret = _lib._objc_msgSend_322(this.pointer, _lib._sel_streamError1); return _ret.address == 0 ? null : NSError._(_ret, _lib, retain: true, release: true); } static void getStreamsToHostWithName_port_inputStream_outputStream_( - AVFAudio _lib, - NSString hostname, - int port, - ffi.Pointer> inputStream, - ffi.Pointer> outputStream) { + AVFAudio _lib, + NSString hostname, + int port, + ffi.Pointer> inputStream, + ffi.Pointer> outputStream, + ) { _lib._objc_msgSend_867( - _lib._class_NSStream1, - _lib._sel_getStreamsToHostWithName_port_inputStream_outputStream_1, - hostname._id, - port, - inputStream, - outputStream); + _lib._class_NSStream1, + _lib._sel_getStreamsToHostWithName_port_inputStream_outputStream_1, + hostname.pointer, + port, + inputStream, + outputStream, + ); } static void getStreamsToHost_port_inputStream_outputStream_( - AVFAudio _lib, - NSHost host, - int port, - ffi.Pointer> inputStream, - ffi.Pointer> outputStream) { + AVFAudio _lib, + NSHost host, + int port, + ffi.Pointer> inputStream, + ffi.Pointer> outputStream, + ) { _lib._objc_msgSend_871( - _lib._class_NSStream1, - _lib._sel_getStreamsToHost_port_inputStream_outputStream_1, - host._id, - port, - inputStream, - outputStream); + _lib._class_NSStream1, + _lib._sel_getStreamsToHost_port_inputStream_outputStream_1, + host.pointer, + port, + inputStream, + outputStream, + ); } static void getBoundStreamsWithBufferSize_inputStream_outputStream_( - AVFAudio _lib, - int bufferSize, - ffi.Pointer> inputStream, - ffi.Pointer> outputStream) { + AVFAudio _lib, + int bufferSize, + ffi.Pointer> inputStream, + ffi.Pointer> outputStream, + ) { _lib._objc_msgSend_872( - _lib._class_NSStream1, - _lib._sel_getBoundStreamsWithBufferSize_inputStream_outputStream_1, - bufferSize, - inputStream, - outputStream); + _lib._class_NSStream1, + _lib._sel_getBoundStreamsWithBufferSize_inputStream_outputStream_1, + bufferSize, + inputStream, + outputStream, + ); } @override NSStream init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSStream._(_ret, _lib, retain: true, release: true); } @@ -63589,7 +84595,10 @@ class NSStream extends NSObject { static NSStream allocWithZone_(AVFAudio _lib, ffi.Pointer<_NSZone> zone) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSStream1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSStream1, + _lib._sel_allocWithZone_1, + zone, + ); return NSStream._(_ret, _lib, retain: false, release: true); } @@ -63599,65 +84608,94 @@ class NSStream extends NSObject { } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + AVFAudio _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSStream1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSStream1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSStream1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + AVFAudio _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSStream1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { return _lib._objc_msgSend_12( - _lib._class_NSStream1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_NSStream1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(AVFAudio _lib) { return _lib._objc_msgSend_12( - _lib._class_NSStream1, _lib._sel_useStoredAccessor1); + _lib._class_NSStream1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSStream1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSStream1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSStream1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSStream1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, NSArray keys, NSString dependentKey) { + AVFAudio _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSStream1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSStream1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { final _ret = _lib._objc_msgSend_85( - _lib._class_NSStream1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSStream1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(AVFAudio _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSStream1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSStream1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } @@ -63674,52 +84712,78 @@ abstract class NSStreamStatus { } class NSOutputStream extends NSStream { - NSOutputStream._(ffi.Pointer id, AVFAudio lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSOutputStream._( + ffi.Pointer pointer, + AVFAudio lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSOutputStream] that points to the same underlying object as [other]. - static NSOutputStream castFrom(T other) { - return NSOutputStream._(other._id, other._lib, retain: true, release: true); + static NSOutputStream castFrom( + AVFAudio lib, + T other, + ) { + return NSOutputStream._(other.pointer, lib, retain: true, release: true); } /// Returns a [NSOutputStream] that wraps the given raw object pointer. static NSOutputStream castFromPointer( - AVFAudio lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + AVFAudio lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSOutputStream._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSOutputStream]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0(obj._id, obj._lib._sel_isKindOfClass_1, - obj._lib._class_NSOutputStream1); + static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSOutputStream1, + ); } int write_maxLength_(ffi.Pointer buffer, int len) { return _lib._objc_msgSend_864( - _id, _lib._sel_write_maxLength_1, buffer, len); + this.pointer, + _lib._sel_write_maxLength_1, + buffer, + len, + ); } bool get hasSpaceAvailable { - return _lib._objc_msgSend_12(_id, _lib._sel_hasSpaceAvailable1); + return _lib._objc_msgSend_12(this.pointer, _lib._sel_hasSpaceAvailable1); } NSOutputStream initToMemory() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_initToMemory1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_initToMemory1); return NSOutputStream._(_ret, _lib, retain: true, release: true); } NSOutputStream initToBuffer_capacity_( - ffi.Pointer buffer, int capacity) { + ffi.Pointer buffer, + int capacity, + ) { final _ret = _lib._objc_msgSend_865( - _id, _lib._sel_initToBuffer_capacity_1, buffer, capacity); + this.pointer, + _lib._sel_initToBuffer_capacity_1, + buffer, + capacity, + ); return NSOutputStream._(_ret, _lib, retain: true, release: true); } NSOutputStream? initWithURL_append_(NSURL url, bool shouldAppend) { final _ret = _lib._objc_msgSend_866( - _id, _lib._sel_initWithURL_append_1, url._id, shouldAppend); + this.pointer, + _lib._sel_initWithURL_append_1, + url.pointer, + shouldAppend, + ); return _ret.address == 0 ? null : NSOutputStream._(_ret, _lib, retain: true, release: true); @@ -63727,7 +84791,11 @@ class NSOutputStream extends NSStream { NSOutputStream? initToFileAtPath_append_(NSString path, bool shouldAppend) { final _ret = _lib._objc_msgSend_40( - _id, _lib._sel_initToFileAtPath_append_1, path._id, shouldAppend); + this.pointer, + _lib._sel_initToFileAtPath_append_1, + path.pointer, + shouldAppend, + ); return _ret.address == 0 ? null : NSOutputStream._(_ret, _lib, retain: true, release: true); @@ -63735,235 +84803,324 @@ class NSOutputStream extends NSStream { static NSOutputStream outputStreamToMemory(AVFAudio _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSOutputStream1, _lib._sel_outputStreamToMemory1); + _lib._class_NSOutputStream1, + _lib._sel_outputStreamToMemory1, + ); return NSOutputStream._(_ret, _lib, retain: true, release: true); } static NSOutputStream outputStreamToBuffer_capacity_( - AVFAudio _lib, ffi.Pointer buffer, int capacity) { - final _ret = _lib._objc_msgSend_865(_lib._class_NSOutputStream1, - _lib._sel_outputStreamToBuffer_capacity_1, buffer, capacity); + AVFAudio _lib, + ffi.Pointer buffer, + int capacity, + ) { + final _ret = _lib._objc_msgSend_865( + _lib._class_NSOutputStream1, + _lib._sel_outputStreamToBuffer_capacity_1, + buffer, + capacity, + ); return NSOutputStream._(_ret, _lib, retain: true, release: true); } static NSOutputStream outputStreamToFileAtPath_append_( - AVFAudio _lib, NSString path, bool shouldAppend) { - final _ret = _lib._objc_msgSend_30(_lib._class_NSOutputStream1, - _lib._sel_outputStreamToFileAtPath_append_1, path._id, shouldAppend); + AVFAudio _lib, + NSString path, + bool shouldAppend, + ) { + final _ret = _lib._objc_msgSend_30( + _lib._class_NSOutputStream1, + _lib._sel_outputStreamToFileAtPath_append_1, + path.pointer, + shouldAppend, + ); return NSOutputStream._(_ret, _lib, retain: true, release: true); } static NSOutputStream? outputStreamWithURL_append_( - AVFAudio _lib, NSURL url, bool shouldAppend) { - final _ret = _lib._objc_msgSend_866(_lib._class_NSOutputStream1, - _lib._sel_outputStreamWithURL_append_1, url._id, shouldAppend); + AVFAudio _lib, + NSURL url, + bool shouldAppend, + ) { + final _ret = _lib._objc_msgSend_866( + _lib._class_NSOutputStream1, + _lib._sel_outputStreamWithURL_append_1, + url.pointer, + shouldAppend, + ); return _ret.address == 0 ? null : NSOutputStream._(_ret, _lib, retain: true, release: true); } static void getStreamsToHostWithName_port_inputStream_outputStream_( - AVFAudio _lib, - NSString hostname, - int port, - ffi.Pointer> inputStream, - ffi.Pointer> outputStream) { + AVFAudio _lib, + NSString hostname, + int port, + ffi.Pointer> inputStream, + ffi.Pointer> outputStream, + ) { _lib._objc_msgSend_867( - _lib._class_NSOutputStream1, - _lib._sel_getStreamsToHostWithName_port_inputStream_outputStream_1, - hostname._id, - port, - inputStream, - outputStream); + _lib._class_NSOutputStream1, + _lib._sel_getStreamsToHostWithName_port_inputStream_outputStream_1, + hostname.pointer, + port, + inputStream, + outputStream, + ); } static void getStreamsToHost_port_inputStream_outputStream_( - AVFAudio _lib, - NSHost host, - int port, - ffi.Pointer> inputStream, - ffi.Pointer> outputStream) { + AVFAudio _lib, + NSHost host, + int port, + ffi.Pointer> inputStream, + ffi.Pointer> outputStream, + ) { _lib._objc_msgSend_871( - _lib._class_NSOutputStream1, - _lib._sel_getStreamsToHost_port_inputStream_outputStream_1, - host._id, - port, - inputStream, - outputStream); + _lib._class_NSOutputStream1, + _lib._sel_getStreamsToHost_port_inputStream_outputStream_1, + host.pointer, + port, + inputStream, + outputStream, + ); } static void getBoundStreamsWithBufferSize_inputStream_outputStream_( - AVFAudio _lib, - int bufferSize, - ffi.Pointer> inputStream, - ffi.Pointer> outputStream) { + AVFAudio _lib, + int bufferSize, + ffi.Pointer> inputStream, + ffi.Pointer> outputStream, + ) { _lib._objc_msgSend_872( - _lib._class_NSOutputStream1, - _lib._sel_getBoundStreamsWithBufferSize_inputStream_outputStream_1, - bufferSize, - inputStream, - outputStream); + _lib._class_NSOutputStream1, + _lib._sel_getBoundStreamsWithBufferSize_inputStream_outputStream_1, + bufferSize, + inputStream, + outputStream, + ); } @override NSOutputStream init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSOutputStream._(_ret, _lib, retain: true, release: true); } static NSOutputStream new1(AVFAudio _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSOutputStream1, _lib._sel_new1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSOutputStream1, + _lib._sel_new1, + ); return NSOutputStream._(_ret, _lib, retain: false, release: true); } static NSOutputStream allocWithZone_( - AVFAudio _lib, ffi.Pointer<_NSZone> zone) { + AVFAudio _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSOutputStream1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSOutputStream1, + _lib._sel_allocWithZone_1, + zone, + ); return NSOutputStream._(_ret, _lib, retain: false, release: true); } static NSOutputStream alloc(AVFAudio _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSOutputStream1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSOutputStream1, + _lib._sel_alloc1, + ); return NSOutputStream._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + AVFAudio _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSOutputStream1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSOutputStream1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSOutputStream1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + AVFAudio _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSOutputStream1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { - return _lib._objc_msgSend_12(_lib._class_NSOutputStream1, - _lib._sel_accessInstanceVariablesDirectly1); + return _lib._objc_msgSend_12( + _lib._class_NSOutputStream1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(AVFAudio _lib) { return _lib._objc_msgSend_12( - _lib._class_NSOutputStream1, _lib._sel_useStoredAccessor1); + _lib._class_NSOutputStream1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSOutputStream1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSOutputStream1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSOutputStream1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSOutputStream1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, NSArray keys, NSString dependentKey) { + AVFAudio _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSOutputStream1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSOutputStream1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { final _ret = _lib._objc_msgSend_85( - _lib._class_NSOutputStream1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSOutputStream1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(AVFAudio _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSOutputStream1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSOutputStream1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } class NSHost extends NSObject { - NSHost._(ffi.Pointer id, AVFAudio lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSHost._( + ffi.Pointer pointer, + AVFAudio lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSHost] that points to the same underlying object as [other]. - static NSHost castFrom(T other) { - return NSHost._(other._id, other._lib, retain: true, release: true); + static NSHost castFrom(AVFAudio lib, T other) { + return NSHost._(other.pointer, lib, retain: true, release: true); } /// Returns a [NSHost] that wraps the given raw object pointer. - static NSHost castFromPointer(AVFAudio lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + static NSHost castFromPointer( + AVFAudio lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSHost._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSHost]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_NSHost1); + static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSHost1, + ); } static NSHost currentHost(AVFAudio _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSHost1, _lib._sel_currentHost1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSHost1, + _lib._sel_currentHost1, + ); return NSHost._(_ret, _lib, retain: true, release: true); } static NSHost hostWithName_(AVFAudio _lib, NSString? name) { - final _ret = _lib._objc_msgSend_868(_lib._class_NSHost1, - _lib._sel_hostWithName_1, name?._id ?? ffi.nullptr); + final _ret = _lib._objc_msgSend_868( + _lib._class_NSHost1, + _lib._sel_hostWithName_1, + name?.pointer ?? ffi.nullptr, + ); return NSHost._(_ret, _lib, retain: true, release: true); } static NSHost hostWithAddress_(AVFAudio _lib, NSString address) { final _ret = _lib._objc_msgSend_31( - _lib._class_NSHost1, _lib._sel_hostWithAddress_1, address._id); + _lib._class_NSHost1, + _lib._sel_hostWithAddress_1, + address.pointer, + ); return NSHost._(_ret, _lib, retain: true, release: true); } bool isEqualToHost_(NSHost aHost) { - return _lib._objc_msgSend_869(_id, _lib._sel_isEqualToHost_1, aHost._id); + return _lib._objc_msgSend_869( + this.pointer, + _lib._sel_isEqualToHost_1, + aHost.pointer, + ); } NSString? get name { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_name1); + final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_name1); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } NSArray get names { - final _ret = _lib._objc_msgSend_85(_id, _lib._sel_names1); + final _ret = _lib._objc_msgSend_85(this.pointer, _lib._sel_names1); return NSArray._(_ret, _lib, retain: true, release: true); } NSString? get address { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_address1); + final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_address1); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } NSArray get addresses { - final _ret = _lib._objc_msgSend_85(_id, _lib._sel_addresses1); + final _ret = _lib._objc_msgSend_85(this.pointer, _lib._sel_addresses1); return NSArray._(_ret, _lib, retain: true, release: true); } NSString? get localizedName { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_localizedName1); + final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_localizedName1); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); @@ -63971,12 +85128,17 @@ class NSHost extends NSObject { static void setHostCacheEnabled_(AVFAudio _lib, bool flag) { _lib._objc_msgSend_870( - _lib._class_NSHost1, _lib._sel_setHostCacheEnabled_1, flag); + _lib._class_NSHost1, + _lib._sel_setHostCacheEnabled_1, + flag, + ); } static bool isHostCacheEnabled(AVFAudio _lib) { return _lib._objc_msgSend_12( - _lib._class_NSHost1, _lib._sel_isHostCacheEnabled1); + _lib._class_NSHost1, + _lib._sel_isHostCacheEnabled1, + ); } static void flushHostCache(AVFAudio _lib) { @@ -63985,7 +85147,7 @@ class NSHost extends NSObject { @override NSHost init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSHost._(_ret, _lib, retain: true, release: true); } @@ -63996,7 +85158,10 @@ class NSHost extends NSObject { static NSHost allocWithZone_(AVFAudio _lib, ffi.Pointer<_NSZone> zone) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSHost1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSHost1, + _lib._sel_allocWithZone_1, + zone, + ); return NSHost._(_ret, _lib, retain: false, release: true); } @@ -64006,131 +85171,186 @@ class NSHost extends NSObject { } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + AVFAudio _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSHost1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSHost1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSHost1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + AVFAudio _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSHost1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { return _lib._objc_msgSend_12( - _lib._class_NSHost1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_NSHost1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(AVFAudio _lib) { return _lib._objc_msgSend_12( - _lib._class_NSHost1, _lib._sel_useStoredAccessor1); + _lib._class_NSHost1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSHost1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSHost1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSHost1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSHost1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, NSArray keys, NSString dependentKey) { + AVFAudio _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSHost1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSHost1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { final _ret = _lib._objc_msgSend_85( - _lib._class_NSHost1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSHost1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(AVFAudio _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSHost1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSHost1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } class NSURLResponse extends NSObject { - NSURLResponse._(ffi.Pointer id, AVFAudio lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSURLResponse._( + ffi.Pointer pointer, + AVFAudio lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSURLResponse] that points to the same underlying object as [other]. - static NSURLResponse castFrom(T other) { - return NSURLResponse._(other._id, other._lib, retain: true, release: true); + static NSURLResponse castFrom( + AVFAudio lib, + T other, + ) { + return NSURLResponse._(other.pointer, lib, retain: true, release: true); } /// Returns a [NSURLResponse] that wraps the given raw object pointer. static NSURLResponse castFromPointer( - AVFAudio lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + AVFAudio lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSURLResponse._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSURLResponse]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_NSURLResponse1); + static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSURLResponse1, + ); } NSURLResponse initWithURL_MIMEType_expectedContentLength_textEncodingName_( - NSURL URL, NSString? MIMEType, int length, NSString? name) { + NSURL URL, + NSString? MIMEType, + int length, + NSString? name, + ) { final _ret = _lib._objc_msgSend_877( - _id, - _lib._sel_initWithURL_MIMEType_expectedContentLength_textEncodingName_1, - URL._id, - MIMEType?._id ?? ffi.nullptr, - length, - name?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_initWithURL_MIMEType_expectedContentLength_textEncodingName_1, + URL.pointer, + MIMEType?.pointer ?? ffi.nullptr, + length, + name?.pointer ?? ffi.nullptr, + ); return NSURLResponse._(_ret, _lib, retain: true, release: true); } NSURL? get URL { - final _ret = _lib._objc_msgSend_45(_id, _lib._sel_URL1); + final _ret = _lib._objc_msgSend_45(this.pointer, _lib._sel_URL1); return _ret.address == 0 ? null : NSURL._(_ret, _lib, retain: true, release: true); } NSString? get MIMEType { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_MIMEType1); + final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_MIMEType1); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } int get expectedContentLength { - return _lib._objc_msgSend_238(_id, _lib._sel_expectedContentLength1); + return _lib._objc_msgSend_238( + this.pointer, + _lib._sel_expectedContentLength1, + ); } NSString? get textEncodingName { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_textEncodingName1); + final _ret = _lib._objc_msgSend_44( + this.pointer, + _lib._sel_textEncodingName1, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } NSString? get suggestedFilename { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_suggestedFilename1); + final _ret = _lib._objc_msgSend_44( + this.pointer, + _lib._sel_suggestedFilename1, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); @@ -64138,89 +85358,127 @@ class NSURLResponse extends NSObject { @override NSURLResponse init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSURLResponse._(_ret, _lib, retain: true, release: true); } static NSURLResponse new1(AVFAudio _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSURLResponse1, _lib._sel_new1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSURLResponse1, + _lib._sel_new1, + ); return NSURLResponse._(_ret, _lib, retain: false, release: true); } static NSURLResponse allocWithZone_( - AVFAudio _lib, ffi.Pointer<_NSZone> zone) { + AVFAudio _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSURLResponse1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSURLResponse1, + _lib._sel_allocWithZone_1, + zone, + ); return NSURLResponse._(_ret, _lib, retain: false, release: true); } static NSURLResponse alloc(AVFAudio _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSURLResponse1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSURLResponse1, + _lib._sel_alloc1, + ); return NSURLResponse._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + AVFAudio _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSURLResponse1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSURLResponse1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSURLResponse1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + AVFAudio _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSURLResponse1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { return _lib._objc_msgSend_12( - _lib._class_NSURLResponse1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_NSURLResponse1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(AVFAudio _lib) { return _lib._objc_msgSend_12( - _lib._class_NSURLResponse1, _lib._sel_useStoredAccessor1); + _lib._class_NSURLResponse1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSURLResponse1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSURLResponse1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSURLResponse1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSURLResponse1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, NSArray keys, NSString dependentKey) { + AVFAudio _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSURLResponse1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSURLResponse1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { final _ret = _lib._objc_msgSend_85( - _lib._class_NSURLResponse1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSURLResponse1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(AVFAudio _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLResponse1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSURLResponse1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } @@ -64233,37 +85491,54 @@ abstract class NSURLSessionTaskState { } void _ObjCBlock_ffiVoid_NSArray_fnPtrTrampoline( - ffi.Pointer<_ObjCBlock> block, ffi.Pointer arg0) => - block.ref.target - .cast< - ffi - .NativeFunction arg0)>>() - .asFunction)>()(arg0); + ffi.Pointer block, + ffi.Pointer arg0, +) => block.ref.target + .cast< + ffi.NativeFunction arg0)> + >() + .asFunction)>()(arg0); final _ObjCBlock_ffiVoid_NSArray_closureRegistry = - )>{}; + )>{}; int _ObjCBlock_ffiVoid_NSArray_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_ffiVoid_NSArray_registerClosure( - void Function(ffi.Pointer) fn) { + void Function(ffi.Pointer) fn, +) { final id = ++_ObjCBlock_ffiVoid_NSArray_closureRegistryIndex; _ObjCBlock_ffiVoid_NSArray_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } void _ObjCBlock_ffiVoid_NSArray_closureTrampoline( - ffi.Pointer<_ObjCBlock> block, ffi.Pointer arg0) => - _ObjCBlock_ffiVoid_NSArray_closureRegistry[block.ref.target.address]!(arg0); - -class ObjCBlock_ffiVoid_NSArray extends _ObjCBlockBase { - ObjCBlock_ffiVoid_NSArray._(ffi.Pointer<_ObjCBlock> id, AVFAudio lib, - {bool retain = false, bool release = true}) - : super._(id, lib, retain: retain, release: release); + ffi.Pointer block, + ffi.Pointer arg0, +) => _ObjCBlock_ffiVoid_NSArray_closureRegistry[block.ref.target.address]!( + arg0, +); + +class ObjCBlock_ffiVoid_NSArray extends objc.ObjCBlockBase { + ObjCBlock_ffiVoid_NSArray._( + ffi.Pointer pointer, + this._lib, { + bool retain = false, + bool release = true, + }) : super(pointer, retain: retain, release: release); + + AVFAudio _lib; /// Returns a block that wraps the given raw block pointer. static ObjCBlock_ffiVoid_NSArray castFromPointer( - AVFAudio lib, ffi.Pointer<_ObjCBlock> pointer, - {bool retain = false, bool release = false}) { - return ObjCBlock_ffiVoid_NSArray._(pointer, lib, - retain: retain, release: release); + AVFAudio lib, + ffi.Pointer pointer, { + bool retain = false, + bool release = false, + }) { + return ObjCBlock_ffiVoid_NSArray._( + pointer, + lib, + retain: retain, + release: release, + ); } /// Creates a block from a C function pointer. @@ -64272,20 +85547,20 @@ class ObjCBlock_ffiVoid_NSArray extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSArray.fromFunctionPointer( - AVFAudio lib, - ffi.Pointer< - ffi - .NativeFunction arg0)>> - ptr) - : this._( - lib._newBlock1( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_NSArray_fnPtrTrampoline) - .cast(), - ptr.cast()), - lib); + AVFAudio lib, + ffi.Pointer< + ffi.NativeFunction arg0)> + > ptr, + ) : this._(objc.newBlock( + _cFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_NSArray_fnPtrTrampoline).cast(), + ptr.cast(), + ), lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -64294,19 +85569,24 @@ class ObjCBlock_ffiVoid_NSArray extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSArray.fromFunction( - AVFAudio lib, void Function(NSArray?) fn) - : this._( - lib._newBlock1( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_NSArray_closureTrampoline) - .cast(), - _ObjCBlock_ffiVoid_NSArray_registerClosure( - (ffi.Pointer arg0) => fn(arg0.address == 0 - ? null - : NSArray._(arg0, lib, retain: true, release: true)))), - lib); + AVFAudio lib, + void Function(NSArray?) fn, + ) : this._(objc.newBlock( + _dartFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_NSArray_closureTrampoline).cast(), + _ObjCBlock_ffiVoid_NSArray_registerClosure(( + ffi.Pointer arg0, + ) => fn( + arg0.address == 0 + ? null + : NSArray._(arg0, lib, retain: true, release: true), + )), + ), lib); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -64319,119 +85599,179 @@ class ObjCBlock_ffiVoid_NSArray extends _ObjCBlockBase { /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. ObjCBlock_ffiVoid_NSArray.listener(AVFAudio lib, void Function(NSArray?) fn) - : this._( - lib._newBlock1( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, - ffi.Pointer)>.listener( - _ObjCBlock_ffiVoid_NSArray_closureTrampoline) - ..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSArray_registerClosure( - (ffi.Pointer arg0) => fn(arg0.address == 0 - ? null - : NSArray._(arg0, lib, retain: true, release: true)))), - lib); + : this._(objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ) + >.listener( + _ObjCBlock_ffiVoid_NSArray_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSArray_registerClosure(( + ffi.Pointer arg0, + ) => fn( + arg0.address == 0 + ? null + : NSArray._(arg0, lib, retain: true, release: true), + )), + ), lib); static ffi.NativeCallable< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer)>? - _dartFuncListenerTrampoline; + ffi.Void Function(ffi.Pointer, ffi.Pointer) + >? _dartFuncListenerTrampoline; - void call(NSArray? arg0) => _id.ref.invoke + void call(NSArray? arg0) => pointer.ref.invoke .cast< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0)>>() + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer block, + ffi.Pointer arg0, + ) + > + >() .asFunction< - void Function(ffi.Pointer<_ObjCBlock>, - ffi.Pointer)>()(_id, arg0?._id ?? ffi.nullptr); + void Function(ffi.Pointer, ffi.Pointer) + >()(pointer, arg0?.pointer ?? ffi.nullptr); } class NSIndexPath extends NSObject { - NSIndexPath._(ffi.Pointer id, AVFAudio lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSIndexPath._( + ffi.Pointer pointer, + AVFAudio lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSIndexPath] that points to the same underlying object as [other]. - static NSIndexPath castFrom(T other) { - return NSIndexPath._(other._id, other._lib, retain: true, release: true); + static NSIndexPath castFrom( + AVFAudio lib, + T other, + ) { + return NSIndexPath._(other.pointer, lib, retain: true, release: true); } /// Returns a [NSIndexPath] that wraps the given raw object pointer. static NSIndexPath castFromPointer( - AVFAudio lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + AVFAudio lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSIndexPath._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSIndexPath]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_NSIndexPath1); + static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSIndexPath1, + ); } static NSIndexPath indexPathWithIndex_(AVFAudio _lib, int index) { final _ret = _lib._objc_msgSend_65( - _lib._class_NSIndexPath1, _lib._sel_indexPathWithIndex_1, index); + _lib._class_NSIndexPath1, + _lib._sel_indexPathWithIndex_1, + index, + ); return NSIndexPath._(_ret, _lib, retain: true, release: true); } static NSIndexPath indexPathWithIndexes_length_( - AVFAudio _lib, ffi.Pointer indexes, int length) { - final _ret = _lib._objc_msgSend_884(_lib._class_NSIndexPath1, - _lib._sel_indexPathWithIndexes_length_1, indexes, length); + AVFAudio _lib, + ffi.Pointer indexes, + int length, + ) { + final _ret = _lib._objc_msgSend_884( + _lib._class_NSIndexPath1, + _lib._sel_indexPathWithIndexes_length_1, + indexes, + length, + ); return NSIndexPath._(_ret, _lib, retain: true, release: true); } NSIndexPath initWithIndexes_length_( - ffi.Pointer indexes, int length) { + ffi.Pointer indexes, + int length, + ) { final _ret = _lib._objc_msgSend_884( - _id, _lib._sel_initWithIndexes_length_1, indexes, length); + this.pointer, + _lib._sel_initWithIndexes_length_1, + indexes, + length, + ); return NSIndexPath._(_ret, _lib, retain: true, release: true); } NSIndexPath initWithIndex_(int index) { - final _ret = _lib._objc_msgSend_65(_id, _lib._sel_initWithIndex_1, index); + final _ret = _lib._objc_msgSend_65( + this.pointer, + _lib._sel_initWithIndex_1, + index, + ); return NSIndexPath._(_ret, _lib, retain: true, release: true); } NSIndexPath indexPathByAddingIndex_(int index) { - final _ret = - _lib._objc_msgSend_885(_id, _lib._sel_indexPathByAddingIndex_1, index); + final _ret = _lib._objc_msgSend_885( + this.pointer, + _lib._sel_indexPathByAddingIndex_1, + index, + ); return NSIndexPath._(_ret, _lib, retain: true, release: true); } NSIndexPath indexPathByRemovingLastIndex() { - final _ret = - _lib._objc_msgSend_886(_id, _lib._sel_indexPathByRemovingLastIndex1); + final _ret = _lib._objc_msgSend_886( + this.pointer, + _lib._sel_indexPathByRemovingLastIndex1, + ); return NSIndexPath._(_ret, _lib, retain: true, release: true); } int indexAtPosition_(int position) { - return _lib._objc_msgSend_94(_id, _lib._sel_indexAtPosition_1, position); + return _lib._objc_msgSend_94( + this.pointer, + _lib._sel_indexAtPosition_1, + position, + ); } int get length { - return _lib._objc_msgSend_10(_id, _lib._sel_length1); + return _lib._objc_msgSend_10(this.pointer, _lib._sel_length1); } void getIndexes_range_( - ffi.Pointer indexes, _NSRange positionRange) { + ffi.Pointer indexes, + _NSRange positionRange, + ) { _lib._objc_msgSend_887( - _id, _lib._sel_getIndexes_range_1, indexes, positionRange); + this.pointer, + _lib._sel_getIndexes_range_1, + indexes, + positionRange, + ); } int compare_(NSIndexPath otherObject) { - return _lib._objc_msgSend_888(_id, _lib._sel_compare_1, otherObject._id); + return _lib._objc_msgSend_888( + this.pointer, + _lib._sel_compare_1, + otherObject.pointer, + ); } void getIndexes_(ffi.Pointer indexes) { - _lib._objc_msgSend_889(_id, _lib._sel_getIndexes_1, indexes); + _lib._objc_msgSend_889(this.pointer, _lib._sel_getIndexes_1, indexes); } @override NSIndexPath init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSIndexPath._(_ret, _lib, retain: true, release: true); } @@ -64442,408 +85782,583 @@ class NSIndexPath extends NSObject { static NSIndexPath allocWithZone_(AVFAudio _lib, ffi.Pointer<_NSZone> zone) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSIndexPath1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSIndexPath1, + _lib._sel_allocWithZone_1, + zone, + ); return NSIndexPath._(_ret, _lib, retain: false, release: true); } static NSIndexPath alloc(AVFAudio _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSIndexPath1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSIndexPath1, + _lib._sel_alloc1, + ); return NSIndexPath._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + AVFAudio _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSIndexPath1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSIndexPath1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSIndexPath1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + AVFAudio _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSIndexPath1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { return _lib._objc_msgSend_12( - _lib._class_NSIndexPath1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_NSIndexPath1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(AVFAudio _lib) { return _lib._objc_msgSend_12( - _lib._class_NSIndexPath1, _lib._sel_useStoredAccessor1); + _lib._class_NSIndexPath1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSIndexPath1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSIndexPath1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSIndexPath1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSIndexPath1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, NSArray keys, NSString dependentKey) { + AVFAudio _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSIndexPath1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSIndexPath1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { final _ret = _lib._objc_msgSend_85( - _lib._class_NSIndexPath1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSIndexPath1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(AVFAudio _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSIndexPath1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSIndexPath1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } class NSInflectionRule extends NSObject { - NSInflectionRule._(ffi.Pointer id, AVFAudio lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSInflectionRule._( + ffi.Pointer pointer, + AVFAudio lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSInflectionRule] that points to the same underlying object as [other]. - static NSInflectionRule castFrom(T other) { - return NSInflectionRule._(other._id, other._lib, - retain: true, release: true); + static NSInflectionRule castFrom( + AVFAudio lib, + T other, + ) { + return NSInflectionRule._(other.pointer, lib, retain: true, release: true); } /// Returns a [NSInflectionRule] that wraps the given raw object pointer. static NSInflectionRule castFromPointer( - AVFAudio lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + AVFAudio lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSInflectionRule._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSInflectionRule]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0(obj._id, obj._lib._sel_isKindOfClass_1, - obj._lib._class_NSInflectionRule1); + static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSInflectionRule1, + ); } @override NSObject init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSObject._(_ret, _lib, retain: true, release: true); } static NSInflectionRule getAutomaticRule(AVFAudio _lib) { final _ret = _lib._objc_msgSend_890( - _lib._class_NSInflectionRule1, _lib._sel_automaticRule1); + _lib._class_NSInflectionRule1, + _lib._sel_automaticRule1, + ); return NSInflectionRule._(_ret, _lib, retain: true, release: true); } static bool canInflectLanguage_(AVFAudio _lib, NSString language) { - return _lib._objc_msgSend_64(_lib._class_NSInflectionRule1, - _lib._sel_canInflectLanguage_1, language._id); + return _lib._objc_msgSend_64( + _lib._class_NSInflectionRule1, + _lib._sel_canInflectLanguage_1, + language.pointer, + ); } static bool getCanInflectPreferredLocalization(AVFAudio _lib) { - return _lib._objc_msgSend_12(_lib._class_NSInflectionRule1, - _lib._sel_canInflectPreferredLocalization1); + return _lib._objc_msgSend_12( + _lib._class_NSInflectionRule1, + _lib._sel_canInflectPreferredLocalization1, + ); } static NSInflectionRule new1(AVFAudio _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSInflectionRule1, _lib._sel_new1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSInflectionRule1, + _lib._sel_new1, + ); return NSInflectionRule._(_ret, _lib, retain: false, release: true); } static NSInflectionRule allocWithZone_( - AVFAudio _lib, ffi.Pointer<_NSZone> zone) { + AVFAudio _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSInflectionRule1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSInflectionRule1, + _lib._sel_allocWithZone_1, + zone, + ); return NSInflectionRule._(_ret, _lib, retain: false, release: true); } static NSInflectionRule alloc(AVFAudio _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSInflectionRule1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSInflectionRule1, + _lib._sel_alloc1, + ); return NSInflectionRule._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + AVFAudio _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSInflectionRule1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSInflectionRule1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSInflectionRule1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + AVFAudio _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSInflectionRule1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { - return _lib._objc_msgSend_12(_lib._class_NSInflectionRule1, - _lib._sel_accessInstanceVariablesDirectly1); + return _lib._objc_msgSend_12( + _lib._class_NSInflectionRule1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(AVFAudio _lib) { return _lib._objc_msgSend_12( - _lib._class_NSInflectionRule1, _lib._sel_useStoredAccessor1); + _lib._class_NSInflectionRule1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSInflectionRule1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSInflectionRule1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSInflectionRule1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSInflectionRule1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, NSArray keys, NSString dependentKey) { + AVFAudio _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSInflectionRule1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSInflectionRule1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_85(_lib._class_NSInflectionRule1, - _lib._sel_classFallbacksForKeyedArchiver1); + final _ret = _lib._objc_msgSend_85( + _lib._class_NSInflectionRule1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(AVFAudio _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSInflectionRule1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSInflectionRule1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } class NSMorphology extends NSObject { - NSMorphology._(ffi.Pointer id, AVFAudio lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSMorphology._( + ffi.Pointer pointer, + AVFAudio lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSMorphology] that points to the same underlying object as [other]. - static NSMorphology castFrom(T other) { - return NSMorphology._(other._id, other._lib, retain: true, release: true); + static NSMorphology castFrom( + AVFAudio lib, + T other, + ) { + return NSMorphology._(other.pointer, lib, retain: true, release: true); } /// Returns a [NSMorphology] that wraps the given raw object pointer. static NSMorphology castFromPointer( - AVFAudio lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + AVFAudio lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSMorphology._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSMorphology]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_NSMorphology1); + static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSMorphology1, + ); } int get grammaticalGender { - return _lib._objc_msgSend_891(_id, _lib._sel_grammaticalGender1); + return _lib._objc_msgSend_891(this.pointer, _lib._sel_grammaticalGender1); } set grammaticalGender(int value) { - return _lib._objc_msgSend_892(_id, _lib._sel_setGrammaticalGender_1, value); + return _lib._objc_msgSend_892( + this.pointer, + _lib._sel_setGrammaticalGender_1, + value, + ); } int get partOfSpeech { - return _lib._objc_msgSend_893(_id, _lib._sel_partOfSpeech1); + return _lib._objc_msgSend_893(this.pointer, _lib._sel_partOfSpeech1); } set partOfSpeech(int value) { - return _lib._objc_msgSend_894(_id, _lib._sel_setPartOfSpeech_1, value); + return _lib._objc_msgSend_894( + this.pointer, + _lib._sel_setPartOfSpeech_1, + value, + ); } int get number { - return _lib._objc_msgSend_895(_id, _lib._sel_number1); + return _lib._objc_msgSend_895(this.pointer, _lib._sel_number1); } set number(int value) { - return _lib._objc_msgSend_896(_id, _lib._sel_setNumber_1, value); + return _lib._objc_msgSend_896(this.pointer, _lib._sel_setNumber_1, value); } int get grammaticalCase { - return _lib._objc_msgSend_897(_id, _lib._sel_grammaticalCase1); + return _lib._objc_msgSend_897(this.pointer, _lib._sel_grammaticalCase1); } set grammaticalCase(int value) { - return _lib._objc_msgSend_898(_id, _lib._sel_setGrammaticalCase_1, value); + return _lib._objc_msgSend_898( + this.pointer, + _lib._sel_setGrammaticalCase_1, + value, + ); } int get determination { - return _lib._objc_msgSend_899(_id, _lib._sel_determination1); + return _lib._objc_msgSend_899(this.pointer, _lib._sel_determination1); } set determination(int value) { - return _lib._objc_msgSend_900(_id, _lib._sel_setDetermination_1, value); + return _lib._objc_msgSend_900( + this.pointer, + _lib._sel_setDetermination_1, + value, + ); } int get grammaticalPerson { - return _lib._objc_msgSend_901(_id, _lib._sel_grammaticalPerson1); + return _lib._objc_msgSend_901(this.pointer, _lib._sel_grammaticalPerson1); } set grammaticalPerson(int value) { - return _lib._objc_msgSend_902(_id, _lib._sel_setGrammaticalPerson_1, value); + return _lib._objc_msgSend_902( + this.pointer, + _lib._sel_setGrammaticalPerson_1, + value, + ); } int get pronounType { - return _lib._objc_msgSend_903(_id, _lib._sel_pronounType1); + return _lib._objc_msgSend_903(this.pointer, _lib._sel_pronounType1); } set pronounType(int value) { - return _lib._objc_msgSend_904(_id, _lib._sel_setPronounType_1, value); + return _lib._objc_msgSend_904( + this.pointer, + _lib._sel_setPronounType_1, + value, + ); } int get definiteness { - return _lib._objc_msgSend_905(_id, _lib._sel_definiteness1); + return _lib._objc_msgSend_905(this.pointer, _lib._sel_definiteness1); } set definiteness(int value) { - return _lib._objc_msgSend_906(_id, _lib._sel_setDefiniteness_1, value); + return _lib._objc_msgSend_906( + this.pointer, + _lib._sel_setDefiniteness_1, + value, + ); } NSMorphologyCustomPronoun? customPronounForLanguage_(NSString language) { final _ret = _lib._objc_msgSend_907( - _id, _lib._sel_customPronounForLanguage_1, language._id); + this.pointer, + _lib._sel_customPronounForLanguage_1, + language.pointer, + ); return _ret.address == 0 ? null : NSMorphologyCustomPronoun._(_ret, _lib, retain: true, release: true); } - bool setCustomPronoun_forLanguage_error_(NSMorphologyCustomPronoun? features, - NSString language, ffi.Pointer> error) { + bool setCustomPronoun_forLanguage_error_( + NSMorphologyCustomPronoun? features, + NSString language, + ffi.Pointer> error, + ) { return _lib._objc_msgSend_908( - _id, - _lib._sel_setCustomPronoun_forLanguage_error_1, - features?._id ?? ffi.nullptr, - language._id, - error); + this.pointer, + _lib._sel_setCustomPronoun_forLanguage_error_1, + features?.pointer ?? ffi.nullptr, + language.pointer, + error, + ); } bool get unspecified { - return _lib._objc_msgSend_12(_id, _lib._sel_isUnspecified1); + return _lib._objc_msgSend_12(this.pointer, _lib._sel_isUnspecified1); } static NSMorphology getUserMorphology(AVFAudio _lib) { final _ret = _lib._objc_msgSend_909( - _lib._class_NSMorphology1, _lib._sel_userMorphology1); + _lib._class_NSMorphology1, + _lib._sel_userMorphology1, + ); return NSMorphology._(_ret, _lib, retain: true, release: true); } @override NSMorphology init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSMorphology._(_ret, _lib, retain: true, release: true); } static NSMorphology new1(AVFAudio _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSMorphology1, _lib._sel_new1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSMorphology1, + _lib._sel_new1, + ); return NSMorphology._(_ret, _lib, retain: false, release: true); } static NSMorphology allocWithZone_(AVFAudio _lib, ffi.Pointer<_NSZone> zone) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSMorphology1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSMorphology1, + _lib._sel_allocWithZone_1, + zone, + ); return NSMorphology._(_ret, _lib, retain: false, release: true); } static NSMorphology alloc(AVFAudio _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSMorphology1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSMorphology1, + _lib._sel_alloc1, + ); return NSMorphology._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + AVFAudio _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSMorphology1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSMorphology1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSMorphology1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + AVFAudio _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSMorphology1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { return _lib._objc_msgSend_12( - _lib._class_NSMorphology1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_NSMorphology1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(AVFAudio _lib) { return _lib._objc_msgSend_12( - _lib._class_NSMorphology1, _lib._sel_useStoredAccessor1); + _lib._class_NSMorphology1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSMorphology1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSMorphology1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSMorphology1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSMorphology1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, NSArray keys, NSString dependentKey) { + AVFAudio _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSMorphology1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSMorphology1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { final _ret = _lib._objc_msgSend_85( - _lib._class_NSMorphology1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSMorphology1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(AVFAudio _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSMorphology1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSMorphology1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } @@ -64928,43 +86443,69 @@ abstract class NSGrammaticalDefiniteness { } class NSMorphologyCustomPronoun extends NSObject { - NSMorphologyCustomPronoun._(ffi.Pointer id, AVFAudio lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSMorphologyCustomPronoun._( + ffi.Pointer pointer, + AVFAudio lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSMorphologyCustomPronoun] that points to the same underlying object as [other]. - static NSMorphologyCustomPronoun castFrom(T other) { - return NSMorphologyCustomPronoun._(other._id, other._lib, - retain: true, release: true); + static NSMorphologyCustomPronoun castFrom( + AVFAudio lib, + T other, + ) { + return NSMorphologyCustomPronoun._( + other.pointer, + lib, + retain: true, + release: true, + ); } /// Returns a [NSMorphologyCustomPronoun] that wraps the given raw object pointer. static NSMorphologyCustomPronoun castFromPointer( - AVFAudio lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { - return NSMorphologyCustomPronoun._(other, lib, - retain: retain, release: release); + AVFAudio lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { + return NSMorphologyCustomPronoun._( + other, + lib, + retain: retain, + release: release, + ); } /// Returns whether [obj] is an instance of [NSMorphologyCustomPronoun]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0(obj._id, obj._lib._sel_isKindOfClass_1, - obj._lib._class_NSMorphologyCustomPronoun1); + static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSMorphologyCustomPronoun1, + ); } static bool isSupportedForLanguage_(AVFAudio _lib, NSString language) { - return _lib._objc_msgSend_64(_lib._class_NSMorphologyCustomPronoun1, - _lib._sel_isSupportedForLanguage_1, language._id); + return _lib._objc_msgSend_64( + _lib._class_NSMorphologyCustomPronoun1, + _lib._sel_isSupportedForLanguage_1, + language.pointer, + ); } static NSArray requiredKeysForLanguage_(AVFAudio _lib, NSString language) { - final _ret = _lib._objc_msgSend_358(_lib._class_NSMorphologyCustomPronoun1, - _lib._sel_requiredKeysForLanguage_1, language._id); + final _ret = _lib._objc_msgSend_358( + _lib._class_NSMorphologyCustomPronoun1, + _lib._sel_requiredKeysForLanguage_1, + language.pointer, + ); return NSArray._(_ret, _lib, retain: true, release: true); } NSString? get subjectForm { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_subjectForm1); + final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_subjectForm1); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); @@ -64972,11 +86513,14 @@ class NSMorphologyCustomPronoun extends NSObject { set subjectForm(NSString? value) { return _lib._objc_msgSend_545( - _id, _lib._sel_setSubjectForm_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setSubjectForm_1, + value?.pointer ?? ffi.nullptr, + ); } NSString? get objectForm { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_objectForm1); + final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_objectForm1); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); @@ -64984,11 +86528,14 @@ class NSMorphologyCustomPronoun extends NSObject { set objectForm(NSString? value) { return _lib._objc_msgSend_545( - _id, _lib._sel_setObjectForm_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setObjectForm_1, + value?.pointer ?? ffi.nullptr, + ); } NSString? get possessiveForm { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_possessiveForm1); + final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_possessiveForm1); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); @@ -64996,11 +86543,17 @@ class NSMorphologyCustomPronoun extends NSObject { set possessiveForm(NSString? value) { return _lib._objc_msgSend_545( - _id, _lib._sel_setPossessiveForm_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setPossessiveForm_1, + value?.pointer ?? ffi.nullptr, + ); } NSString? get possessiveAdjectiveForm { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_possessiveAdjectiveForm1); + final _ret = _lib._objc_msgSend_44( + this.pointer, + _lib._sel_possessiveAdjectiveForm1, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); @@ -65008,11 +86561,14 @@ class NSMorphologyCustomPronoun extends NSObject { set possessiveAdjectiveForm(NSString? value) { return _lib._objc_msgSend_545( - _id, _lib._sel_setPossessiveAdjectiveForm_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setPossessiveAdjectiveForm_1, + value?.pointer ?? ffi.nullptr, + ); } NSString? get reflexiveForm { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_reflexiveForm1); + final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_reflexiveForm1); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); @@ -65020,166 +86576,252 @@ class NSMorphologyCustomPronoun extends NSObject { set reflexiveForm(NSString? value) { return _lib._objc_msgSend_545( - _id, _lib._sel_setReflexiveForm_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setReflexiveForm_1, + value?.pointer ?? ffi.nullptr, + ); } @override NSMorphologyCustomPronoun init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSMorphologyCustomPronoun._(_ret, _lib, retain: true, release: true); } static NSMorphologyCustomPronoun new1(AVFAudio _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSMorphologyCustomPronoun1, _lib._sel_new1); - return NSMorphologyCustomPronoun._(_ret, _lib, - retain: false, release: true); + _lib._class_NSMorphologyCustomPronoun1, + _lib._sel_new1, + ); + return NSMorphologyCustomPronoun._( + _ret, + _lib, + retain: false, + release: true, + ); } static NSMorphologyCustomPronoun allocWithZone_( - AVFAudio _lib, ffi.Pointer<_NSZone> zone) { - final _ret = _lib._objc_msgSend_3(_lib._class_NSMorphologyCustomPronoun1, - _lib._sel_allocWithZone_1, zone); - return NSMorphologyCustomPronoun._(_ret, _lib, - retain: false, release: true); + AVFAudio _lib, + ffi.Pointer<_NSZone> zone, + ) { + final _ret = _lib._objc_msgSend_3( + _lib._class_NSMorphologyCustomPronoun1, + _lib._sel_allocWithZone_1, + zone, + ); + return NSMorphologyCustomPronoun._( + _ret, + _lib, + retain: false, + release: true, + ); } static NSMorphologyCustomPronoun alloc(AVFAudio _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSMorphologyCustomPronoun1, _lib._sel_alloc1); - return NSMorphologyCustomPronoun._(_ret, _lib, - retain: false, release: true); + _lib._class_NSMorphologyCustomPronoun1, + _lib._sel_alloc1, + ); + return NSMorphologyCustomPronoun._( + _ret, + _lib, + retain: false, + release: true, + ); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + AVFAudio _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSMorphologyCustomPronoun1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSMorphologyCustomPronoun1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSMorphologyCustomPronoun1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + AVFAudio _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSMorphologyCustomPronoun1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { - return _lib._objc_msgSend_12(_lib._class_NSMorphologyCustomPronoun1, - _lib._sel_accessInstanceVariablesDirectly1); + return _lib._objc_msgSend_12( + _lib._class_NSMorphologyCustomPronoun1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(AVFAudio _lib) { return _lib._objc_msgSend_12( - _lib._class_NSMorphologyCustomPronoun1, _lib._sel_useStoredAccessor1); + _lib._class_NSMorphologyCustomPronoun1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSMorphologyCustomPronoun1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSMorphologyCustomPronoun1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSMorphologyCustomPronoun1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSMorphologyCustomPronoun1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, NSArray keys, NSString dependentKey) { + AVFAudio _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSMorphologyCustomPronoun1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSMorphologyCustomPronoun1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_85(_lib._class_NSMorphologyCustomPronoun1, - _lib._sel_classFallbacksForKeyedArchiver1); + final _ret = _lib._objc_msgSend_85( + _lib._class_NSMorphologyCustomPronoun1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2(_lib._class_NSMorphologyCustomPronoun1, - _lib._sel_classForKeyedUnarchiver1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSMorphologyCustomPronoun1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } class NSOperationQueue extends NSObject { - NSOperationQueue._(ffi.Pointer id, AVFAudio lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSOperationQueue._( + ffi.Pointer pointer, + AVFAudio lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSOperationQueue] that points to the same underlying object as [other]. - static NSOperationQueue castFrom(T other) { - return NSOperationQueue._(other._id, other._lib, - retain: true, release: true); + static NSOperationQueue castFrom( + AVFAudio lib, + T other, + ) { + return NSOperationQueue._(other.pointer, lib, retain: true, release: true); } /// Returns a [NSOperationQueue] that wraps the given raw object pointer. static NSOperationQueue castFromPointer( - AVFAudio lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + AVFAudio lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSOperationQueue._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSOperationQueue]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0(obj._id, obj._lib._sel_isKindOfClass_1, - obj._lib._class_NSOperationQueue1); + static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSOperationQueue1, + ); } NSProgress get progress { - final _ret = _lib._objc_msgSend_879(_id, _lib._sel_progress1); + final _ret = _lib._objc_msgSend_879(this.pointer, _lib._sel_progress1); return NSProgress._(_ret, _lib, retain: true, release: true); } void addOperation_(NSOperation op) { - _lib._objc_msgSend_910(_id, _lib._sel_addOperation_1, op._id); + _lib._objc_msgSend_910(this.pointer, _lib._sel_addOperation_1, op.pointer); } void addOperations_waitUntilFinished_(NSArray ops, bool wait) { _lib._objc_msgSend_913( - _id, _lib._sel_addOperations_waitUntilFinished_1, ops._id, wait); + this.pointer, + _lib._sel_addOperations_waitUntilFinished_1, + ops.pointer, + wait, + ); } void addOperationWithBlock_(ObjCBlock_ffiVoid block) { - _lib._objc_msgSend_532(_id, _lib._sel_addOperationWithBlock_1, block._id); + _lib._objc_msgSend_532( + this.pointer, + _lib._sel_addOperationWithBlock_1, + block.pointer, + ); } void addBarrierBlock_(ObjCBlock_ffiVoid barrier) { - _lib._objc_msgSend_532(_id, _lib._sel_addBarrierBlock_1, barrier._id); + _lib._objc_msgSend_532( + this.pointer, + _lib._sel_addBarrierBlock_1, + barrier.pointer, + ); } int get maxConcurrentOperationCount { - return _lib._objc_msgSend_83(_id, _lib._sel_maxConcurrentOperationCount1); + return _lib._objc_msgSend_83( + this.pointer, + _lib._sel_maxConcurrentOperationCount1, + ); } set maxConcurrentOperationCount(int value) { return _lib._objc_msgSend_635( - _id, _lib._sel_setMaxConcurrentOperationCount_1, value); + this.pointer, + _lib._sel_setMaxConcurrentOperationCount_1, + value, + ); } bool get suspended { - return _lib._objc_msgSend_12(_id, _lib._sel_isSuspended1); + return _lib._objc_msgSend_12(this.pointer, _lib._sel_isSuspended1); } set suspended(bool value) { - return _lib._objc_msgSend_527(_id, _lib._sel_setSuspended_1, value); + return _lib._objc_msgSend_527( + this.pointer, + _lib._sel_setSuspended_1, + value, + ); } NSString? get name { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_name1); + final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_name1); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); @@ -65187,36 +86829,52 @@ class NSOperationQueue extends NSObject { set name(NSString? value) { return _lib._objc_msgSend_545( - _id, _lib._sel_setName_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setName_1, + value?.pointer ?? ffi.nullptr, + ); } int get qualityOfService { - return _lib._objc_msgSend_543(_id, _lib._sel_qualityOfService1); + return _lib._objc_msgSend_543(this.pointer, _lib._sel_qualityOfService1); } set qualityOfService(int value) { - return _lib._objc_msgSend_544(_id, _lib._sel_setQualityOfService_1, value); + return _lib._objc_msgSend_544( + this.pointer, + _lib._sel_setQualityOfService_1, + value, + ); } ffi.Pointer get underlyingQueue { - return _lib._objc_msgSend_914(_id, _lib._sel_underlyingQueue1); + return _lib._objc_msgSend_914(this.pointer, _lib._sel_underlyingQueue1); } set underlyingQueue(ffi.Pointer value) { - return _lib._objc_msgSend_915(_id, _lib._sel_setUnderlyingQueue_1, value); + return _lib._objc_msgSend_915( + this.pointer, + _lib._sel_setUnderlyingQueue_1, + value, + ); } void cancelAllOperations() { - _lib._objc_msgSend_1(_id, _lib._sel_cancelAllOperations1); + _lib._objc_msgSend_1(this.pointer, _lib._sel_cancelAllOperations1); } void waitUntilAllOperationsAreFinished() { - _lib._objc_msgSend_1(_id, _lib._sel_waitUntilAllOperationsAreFinished1); + _lib._objc_msgSend_1( + this.pointer, + _lib._sel_waitUntilAllOperationsAreFinished1, + ); } static NSOperationQueue? getCurrentQueue(AVFAudio _lib) { final _ret = _lib._objc_msgSend_916( - _lib._class_NSOperationQueue1, _lib._sel_currentQueue1); + _lib._class_NSOperationQueue1, + _lib._sel_currentQueue1, + ); return _ret.address == 0 ? null : NSOperationQueue._(_ret, _lib, retain: true, release: true); @@ -65224,190 +86882,253 @@ class NSOperationQueue extends NSObject { static NSOperationQueue getMainQueue(AVFAudio _lib) { final _ret = _lib._objc_msgSend_917( - _lib._class_NSOperationQueue1, _lib._sel_mainQueue1); + _lib._class_NSOperationQueue1, + _lib._sel_mainQueue1, + ); return NSOperationQueue._(_ret, _lib, retain: true, release: true); } NSArray get operations { - final _ret = _lib._objc_msgSend_85(_id, _lib._sel_operations1); + final _ret = _lib._objc_msgSend_85(this.pointer, _lib._sel_operations1); return NSArray._(_ret, _lib, retain: true, release: true); } int get operationCount { - return _lib._objc_msgSend_10(_id, _lib._sel_operationCount1); + return _lib._objc_msgSend_10(this.pointer, _lib._sel_operationCount1); } @override NSOperationQueue init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSOperationQueue._(_ret, _lib, retain: true, release: true); } static NSOperationQueue new1(AVFAudio _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSOperationQueue1, _lib._sel_new1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSOperationQueue1, + _lib._sel_new1, + ); return NSOperationQueue._(_ret, _lib, retain: false, release: true); } static NSOperationQueue allocWithZone_( - AVFAudio _lib, ffi.Pointer<_NSZone> zone) { + AVFAudio _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSOperationQueue1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSOperationQueue1, + _lib._sel_allocWithZone_1, + zone, + ); return NSOperationQueue._(_ret, _lib, retain: false, release: true); } static NSOperationQueue alloc(AVFAudio _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSOperationQueue1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSOperationQueue1, + _lib._sel_alloc1, + ); return NSOperationQueue._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + AVFAudio _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSOperationQueue1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSOperationQueue1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSOperationQueue1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + AVFAudio _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSOperationQueue1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { - return _lib._objc_msgSend_12(_lib._class_NSOperationQueue1, - _lib._sel_accessInstanceVariablesDirectly1); + return _lib._objc_msgSend_12( + _lib._class_NSOperationQueue1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(AVFAudio _lib) { return _lib._objc_msgSend_12( - _lib._class_NSOperationQueue1, _lib._sel_useStoredAccessor1); + _lib._class_NSOperationQueue1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSOperationQueue1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSOperationQueue1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSOperationQueue1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSOperationQueue1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, NSArray keys, NSString dependentKey) { + AVFAudio _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSOperationQueue1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSOperationQueue1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_85(_lib._class_NSOperationQueue1, - _lib._sel_classFallbacksForKeyedArchiver1); + final _ret = _lib._objc_msgSend_85( + _lib._class_NSOperationQueue1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(AVFAudio _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSOperationQueue1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSOperationQueue1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } class NSOperation extends NSObject { - NSOperation._(ffi.Pointer id, AVFAudio lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSOperation._( + ffi.Pointer pointer, + AVFAudio lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSOperation] that points to the same underlying object as [other]. - static NSOperation castFrom(T other) { - return NSOperation._(other._id, other._lib, retain: true, release: true); + static NSOperation castFrom( + AVFAudio lib, + T other, + ) { + return NSOperation._(other.pointer, lib, retain: true, release: true); } /// Returns a [NSOperation] that wraps the given raw object pointer. static NSOperation castFromPointer( - AVFAudio lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + AVFAudio lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSOperation._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSOperation]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_NSOperation1); + static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSOperation1, + ); } void start() { - _lib._objc_msgSend_1(_id, _lib._sel_start1); + _lib._objc_msgSend_1(this.pointer, _lib._sel_start1); } void main() { - _lib._objc_msgSend_1(_id, _lib._sel_main1); + _lib._objc_msgSend_1(this.pointer, _lib._sel_main1); } bool get cancelled { - return _lib._objc_msgSend_12(_id, _lib._sel_isCancelled1); + return _lib._objc_msgSend_12(this.pointer, _lib._sel_isCancelled1); } void cancel() { - _lib._objc_msgSend_1(_id, _lib._sel_cancel1); + _lib._objc_msgSend_1(this.pointer, _lib._sel_cancel1); } bool get executing { - return _lib._objc_msgSend_12(_id, _lib._sel_isExecuting1); + return _lib._objc_msgSend_12(this.pointer, _lib._sel_isExecuting1); } bool get finished { - return _lib._objc_msgSend_12(_id, _lib._sel_isFinished1); + return _lib._objc_msgSend_12(this.pointer, _lib._sel_isFinished1); } bool get concurrent { - return _lib._objc_msgSend_12(_id, _lib._sel_isConcurrent1); + return _lib._objc_msgSend_12(this.pointer, _lib._sel_isConcurrent1); } bool get asynchronous { - return _lib._objc_msgSend_12(_id, _lib._sel_isAsynchronous1); + return _lib._objc_msgSend_12(this.pointer, _lib._sel_isAsynchronous1); } bool get ready { - return _lib._objc_msgSend_12(_id, _lib._sel_isReady1); + return _lib._objc_msgSend_12(this.pointer, _lib._sel_isReady1); } void addDependency_(NSOperation op) { - _lib._objc_msgSend_910(_id, _lib._sel_addDependency_1, op._id); + _lib._objc_msgSend_910(this.pointer, _lib._sel_addDependency_1, op.pointer); } void removeDependency_(NSOperation op) { - _lib._objc_msgSend_910(_id, _lib._sel_removeDependency_1, op._id); + _lib._objc_msgSend_910( + this.pointer, + _lib._sel_removeDependency_1, + op.pointer, + ); } NSArray get dependencies { - final _ret = _lib._objc_msgSend_85(_id, _lib._sel_dependencies1); + final _ret = _lib._objc_msgSend_85(this.pointer, _lib._sel_dependencies1); return NSArray._(_ret, _lib, retain: true, release: true); } int get queuePriority { - return _lib._objc_msgSend_911(_id, _lib._sel_queuePriority1); + return _lib._objc_msgSend_911(this.pointer, _lib._sel_queuePriority1); } set queuePriority(int value) { - return _lib._objc_msgSend_912(_id, _lib._sel_setQueuePriority_1, value); + return _lib._objc_msgSend_912( + this.pointer, + _lib._sel_setQueuePriority_1, + value, + ); } ObjCBlock_ffiVoid? get completionBlock { - final _ret = _lib._objc_msgSend_668(_id, _lib._sel_completionBlock1); + final _ret = _lib._objc_msgSend_668( + this.pointer, + _lib._sel_completionBlock1, + ); return _ret.address == 0 ? null : ObjCBlock_ffiVoid._(_ret, _lib, retain: true, release: true); @@ -65415,33 +87136,44 @@ class NSOperation extends NSObject { set completionBlock(ObjCBlock_ffiVoid? value) { return _lib._objc_msgSend_669( - _id, _lib._sel_setCompletionBlock_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setCompletionBlock_1, + value?.pointer ?? ffi.nullptr, + ); } void waitUntilFinished() { - _lib._objc_msgSend_1(_id, _lib._sel_waitUntilFinished1); + _lib._objc_msgSend_1(this.pointer, _lib._sel_waitUntilFinished1); } double get threadPriority { - return _lib._objc_msgSend_useVariants1 - ? _lib._objc_msgSend_165_fpret(_id, _lib._sel_threadPriority1) - : _lib._objc_msgSend_165(_id, _lib._sel_threadPriority1); + return objc.useMsgSendVariants + ? _lib._objc_msgSend_165_fpret(this.pointer, _lib._sel_threadPriority1) + : _lib._objc_msgSend_165(this.pointer, _lib._sel_threadPriority1); } set threadPriority(double value) { - return _lib._objc_msgSend_542(_id, _lib._sel_setThreadPriority_1, value); + return _lib._objc_msgSend_542( + this.pointer, + _lib._sel_setThreadPriority_1, + value, + ); } int get qualityOfService { - return _lib._objc_msgSend_543(_id, _lib._sel_qualityOfService1); + return _lib._objc_msgSend_543(this.pointer, _lib._sel_qualityOfService1); } set qualityOfService(int value) { - return _lib._objc_msgSend_544(_id, _lib._sel_setQualityOfService_1, value); + return _lib._objc_msgSend_544( + this.pointer, + _lib._sel_setQualityOfService_1, + value, + ); } NSString? get name { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_name1); + final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_name1); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); @@ -65449,12 +87181,15 @@ class NSOperation extends NSObject { set name(NSString? value) { return _lib._objc_msgSend_545( - _id, _lib._sel_setName_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setName_1, + value?.pointer ?? ffi.nullptr, + ); } @override NSOperation init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSOperation._(_ret, _lib, retain: true, release: true); } @@ -65465,76 +87200,110 @@ class NSOperation extends NSObject { static NSOperation allocWithZone_(AVFAudio _lib, ffi.Pointer<_NSZone> zone) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSOperation1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSOperation1, + _lib._sel_allocWithZone_1, + zone, + ); return NSOperation._(_ret, _lib, retain: false, release: true); } static NSOperation alloc(AVFAudio _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSOperation1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSOperation1, + _lib._sel_alloc1, + ); return NSOperation._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + AVFAudio _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSOperation1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSOperation1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSOperation1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + AVFAudio _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSOperation1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { return _lib._objc_msgSend_12( - _lib._class_NSOperation1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_NSOperation1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(AVFAudio _lib) { return _lib._objc_msgSend_12( - _lib._class_NSOperation1, _lib._sel_useStoredAccessor1); + _lib._class_NSOperation1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSOperation1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSOperation1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSOperation1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSOperation1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, NSArray keys, NSString dependentKey) { + AVFAudio _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSOperation1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSOperation1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { final _ret = _lib._objc_msgSend_85( - _lib._class_NSOperation1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSOperation1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(AVFAudio _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSOperation1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSOperation1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } @@ -65550,206 +87319,300 @@ abstract class NSOperationQueuePriority { final class dispatch_queue_s extends ffi.Opaque {} class NSPointerArray extends NSObject { - NSPointerArray._(ffi.Pointer id, AVFAudio lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSPointerArray._( + ffi.Pointer pointer, + AVFAudio lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSPointerArray] that points to the same underlying object as [other]. - static NSPointerArray castFrom(T other) { - return NSPointerArray._(other._id, other._lib, retain: true, release: true); + static NSPointerArray castFrom( + AVFAudio lib, + T other, + ) { + return NSPointerArray._(other.pointer, lib, retain: true, release: true); } /// Returns a [NSPointerArray] that wraps the given raw object pointer. static NSPointerArray castFromPointer( - AVFAudio lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + AVFAudio lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSPointerArray._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSPointerArray]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0(obj._id, obj._lib._sel_isKindOfClass_1, - obj._lib._class_NSPointerArray1); + static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSPointerArray1, + ); } NSPointerArray initWithOptions_(int options) { - final _ret = - _lib._objc_msgSend_918(_id, _lib._sel_initWithOptions_1, options); + final _ret = _lib._objc_msgSend_918( + this.pointer, + _lib._sel_initWithOptions_1, + options, + ); return NSPointerArray._(_ret, _lib, retain: true, release: true); } NSPointerArray initWithPointerFunctions_(NSPointerFunctions functions) { final _ret = _lib._objc_msgSend_932( - _id, _lib._sel_initWithPointerFunctions_1, functions._id); + this.pointer, + _lib._sel_initWithPointerFunctions_1, + functions.pointer, + ); return NSPointerArray._(_ret, _lib, retain: true, release: true); } static NSPointerArray pointerArrayWithOptions_(AVFAudio _lib, int options) { - final _ret = _lib._objc_msgSend_933(_lib._class_NSPointerArray1, - _lib._sel_pointerArrayWithOptions_1, options); + final _ret = _lib._objc_msgSend_933( + _lib._class_NSPointerArray1, + _lib._sel_pointerArrayWithOptions_1, + options, + ); return NSPointerArray._(_ret, _lib, retain: true, release: true); } static NSPointerArray pointerArrayWithPointerFunctions_( - AVFAudio _lib, NSPointerFunctions functions) { - final _ret = _lib._objc_msgSend_934(_lib._class_NSPointerArray1, - _lib._sel_pointerArrayWithPointerFunctions_1, functions._id); + AVFAudio _lib, + NSPointerFunctions functions, + ) { + final _ret = _lib._objc_msgSend_934( + _lib._class_NSPointerArray1, + _lib._sel_pointerArrayWithPointerFunctions_1, + functions.pointer, + ); return NSPointerArray._(_ret, _lib, retain: true, release: true); } NSPointerFunctions get pointerFunctions { - final _ret = _lib._objc_msgSend_935(_id, _lib._sel_pointerFunctions1); + final _ret = _lib._objc_msgSend_935( + this.pointer, + _lib._sel_pointerFunctions1, + ); return NSPointerFunctions._(_ret, _lib, retain: true, release: true); } ffi.Pointer pointerAtIndex_(int index) { - return _lib._objc_msgSend_936(_id, _lib._sel_pointerAtIndex_1, index); + return _lib._objc_msgSend_936( + this.pointer, + _lib._sel_pointerAtIndex_1, + index, + ); } void addPointer_(ffi.Pointer pointer) { - _lib._objc_msgSend_52(_id, _lib._sel_addPointer_1, pointer); + _lib._objc_msgSend_52(this.pointer, _lib._sel_addPointer_1, pointer); } void removePointerAtIndex_(int index) { - _lib._objc_msgSend_470(_id, _lib._sel_removePointerAtIndex_1, index); + _lib._objc_msgSend_470( + this.pointer, + _lib._sel_removePointerAtIndex_1, + index, + ); } void insertPointer_atIndex_(ffi.Pointer item, int index) { - _lib._objc_msgSend_22(_id, _lib._sel_insertPointer_atIndex_1, item, index); + _lib._objc_msgSend_22( + this.pointer, + _lib._sel_insertPointer_atIndex_1, + item, + index, + ); } void replacePointerAtIndex_withPointer_( - int index, ffi.Pointer item) { + int index, + ffi.Pointer item, + ) { _lib._objc_msgSend_937( - _id, _lib._sel_replacePointerAtIndex_withPointer_1, index, item); + this.pointer, + _lib._sel_replacePointerAtIndex_withPointer_1, + index, + item, + ); } void compact() { - _lib._objc_msgSend_1(_id, _lib._sel_compact1); + _lib._objc_msgSend_1(this.pointer, _lib._sel_compact1); } int get count { - return _lib._objc_msgSend_10(_id, _lib._sel_count1); + return _lib._objc_msgSend_10(this.pointer, _lib._sel_count1); } set count(int value) { - return _lib._objc_msgSend_516(_id, _lib._sel_setCount_1, value); + return _lib._objc_msgSend_516(this.pointer, _lib._sel_setCount_1, value); } static NSObject pointerArrayWithStrongObjects(AVFAudio _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSPointerArray1, _lib._sel_pointerArrayWithStrongObjects1); + _lib._class_NSPointerArray1, + _lib._sel_pointerArrayWithStrongObjects1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } static NSObject pointerArrayWithWeakObjects(AVFAudio _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSPointerArray1, _lib._sel_pointerArrayWithWeakObjects1); + _lib._class_NSPointerArray1, + _lib._sel_pointerArrayWithWeakObjects1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } static NSPointerArray strongObjectsPointerArray(AVFAudio _lib) { final _ret = _lib._objc_msgSend_938( - _lib._class_NSPointerArray1, _lib._sel_strongObjectsPointerArray1); + _lib._class_NSPointerArray1, + _lib._sel_strongObjectsPointerArray1, + ); return NSPointerArray._(_ret, _lib, retain: true, release: true); } static NSPointerArray weakObjectsPointerArray(AVFAudio _lib) { final _ret = _lib._objc_msgSend_938( - _lib._class_NSPointerArray1, _lib._sel_weakObjectsPointerArray1); + _lib._class_NSPointerArray1, + _lib._sel_weakObjectsPointerArray1, + ); return NSPointerArray._(_ret, _lib, retain: true, release: true); } NSArray get allObjects { - final _ret = _lib._objc_msgSend_85(_id, _lib._sel_allObjects1); + final _ret = _lib._objc_msgSend_85(this.pointer, _lib._sel_allObjects1); return NSArray._(_ret, _lib, retain: true, release: true); } @override NSPointerArray init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSPointerArray._(_ret, _lib, retain: true, release: true); } static NSPointerArray new1(AVFAudio _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSPointerArray1, _lib._sel_new1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSPointerArray1, + _lib._sel_new1, + ); return NSPointerArray._(_ret, _lib, retain: false, release: true); } static NSPointerArray allocWithZone_( - AVFAudio _lib, ffi.Pointer<_NSZone> zone) { + AVFAudio _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSPointerArray1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSPointerArray1, + _lib._sel_allocWithZone_1, + zone, + ); return NSPointerArray._(_ret, _lib, retain: false, release: true); } static NSPointerArray alloc(AVFAudio _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSPointerArray1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSPointerArray1, + _lib._sel_alloc1, + ); return NSPointerArray._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + AVFAudio _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSPointerArray1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSPointerArray1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSPointerArray1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + AVFAudio _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSPointerArray1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { - return _lib._objc_msgSend_12(_lib._class_NSPointerArray1, - _lib._sel_accessInstanceVariablesDirectly1); + return _lib._objc_msgSend_12( + _lib._class_NSPointerArray1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(AVFAudio _lib) { return _lib._objc_msgSend_12( - _lib._class_NSPointerArray1, _lib._sel_useStoredAccessor1); + _lib._class_NSPointerArray1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSPointerArray1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSPointerArray1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSPointerArray1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSPointerArray1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, NSArray keys, NSString dependentKey) { + AVFAudio _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSPointerArray1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSPointerArray1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { final _ret = _lib._objc_msgSend_85( - _lib._class_NSPointerArray1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSPointerArray1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(AVFAudio _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSPointerArray1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSPointerArray1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } @@ -65771,555 +87634,778 @@ abstract class NSPointerFunctionsOptions { } class NSPointerFunctions extends NSObject { - NSPointerFunctions._(ffi.Pointer id, AVFAudio lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSPointerFunctions._( + ffi.Pointer pointer, + AVFAudio lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSPointerFunctions] that points to the same underlying object as [other]. - static NSPointerFunctions castFrom(T other) { - return NSPointerFunctions._(other._id, other._lib, - retain: true, release: true); + static NSPointerFunctions castFrom( + AVFAudio lib, + T other, + ) { + return NSPointerFunctions._( + other.pointer, + lib, + retain: true, + release: true, + ); } /// Returns a [NSPointerFunctions] that wraps the given raw object pointer. static NSPointerFunctions castFromPointer( - AVFAudio lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + AVFAudio lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSPointerFunctions._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSPointerFunctions]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0(obj._id, obj._lib._sel_isKindOfClass_1, - obj._lib._class_NSPointerFunctions1); + static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSPointerFunctions1, + ); } NSPointerFunctions initWithOptions_(int options) { - final _ret = - _lib._objc_msgSend_918(_id, _lib._sel_initWithOptions_1, options); + final _ret = _lib._objc_msgSend_918( + this.pointer, + _lib._sel_initWithOptions_1, + options, + ); return NSPointerFunctions._(_ret, _lib, retain: true, release: true); } static NSPointerFunctions pointerFunctionsWithOptions_( - AVFAudio _lib, int options) { - final _ret = _lib._objc_msgSend_919(_lib._class_NSPointerFunctions1, - _lib._sel_pointerFunctionsWithOptions_1, options); + AVFAudio _lib, + int options, + ) { + final _ret = _lib._objc_msgSend_919( + _lib._class_NSPointerFunctions1, + _lib._sel_pointerFunctionsWithOptions_1, + options, + ); return NSPointerFunctions._(_ret, _lib, retain: true, release: true); } ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function(ffi.Pointer)>>)>> - get hashFunction { - return _lib._objc_msgSend_920(_id, _lib._sel_hashFunction1); + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction)> + >, + ) + > + > + get hashFunction { + return _lib._objc_msgSend_920(this.pointer, _lib._sel_hashFunction1); } set hashFunction( - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer)>>)>> - value) { - return _lib._objc_msgSend_921(_id, _lib._sel_setHashFunction_1, value); + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction)> + >, + ) + > + > value, + ) { + return _lib._objc_msgSend_921( + this.pointer, + _lib._sel_setHashFunction_1, + value, + ); } ffi.Pointer< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function(ffi.Pointer)>>)>> - get isEqualFunction { - return _lib._objc_msgSend_922(_id, _lib._sel_isEqualFunction1); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction)> + >, + ) + > + > + get isEqualFunction { + return _lib._objc_msgSend_922(this.pointer, _lib._sel_isEqualFunction1); } set isEqualFunction( - ffi.Pointer< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer)>>)>> - value) { - return _lib._objc_msgSend_923(_id, _lib._sel_setIsEqualFunction_1, value); + ffi.Pointer< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction)> + >, + ) + > + > value, + ) { + return _lib._objc_msgSend_923( + this.pointer, + _lib._sel_setIsEqualFunction_1, + value, + ); } ffi.Pointer< - ffi.NativeFunction)>> - get sizeFunction { - return _lib._objc_msgSend_924(_id, _lib._sel_sizeFunction1); + ffi.NativeFunction)> + > + get sizeFunction { + return _lib._objc_msgSend_924(this.pointer, _lib._sel_sizeFunction1); } set sizeFunction( - ffi.Pointer< - ffi - .NativeFunction)>> - value) { - return _lib._objc_msgSend_925(_id, _lib._sel_setSizeFunction_1, value); + ffi.Pointer< + ffi.NativeFunction)> + > value, + ) { + return _lib._objc_msgSend_925( + this.pointer, + _lib._sel_setSizeFunction_1, + value, + ); } ffi.Pointer< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer)>> - get descriptionFunction { - return _lib._objc_msgSend_926(_id, _lib._sel_descriptionFunction1); + ffi.NativeFunction< + ffi.Pointer Function(ffi.Pointer) + > + > + get descriptionFunction { + return _lib._objc_msgSend_926(this.pointer, _lib._sel_descriptionFunction1); } set descriptionFunction( - ffi.Pointer< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer)>> - value) { + ffi.Pointer< + ffi.NativeFunction< + ffi.Pointer Function(ffi.Pointer) + > + > value, + ) { return _lib._objc_msgSend_927( - _id, _lib._sel_setDescriptionFunction_1, value); + this.pointer, + _lib._sel_setDescriptionFunction_1, + value, + ); } ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function(ffi.Pointer)>>)>> - get relinquishFunction { - return _lib._objc_msgSend_928(_id, _lib._sel_relinquishFunction1); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction)> + >, + ) + > + > + get relinquishFunction { + return _lib._objc_msgSend_928(this.pointer, _lib._sel_relinquishFunction1); } set relinquishFunction( - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer)>>)>> - value) { + ffi.Pointer< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction)> + >, + ) + > + > value, + ) { return _lib._objc_msgSend_929( - _id, _lib._sel_setRelinquishFunction_1, value); + this.pointer, + _lib._sel_setRelinquishFunction_1, + value, + ); } ffi.Pointer< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function(ffi.Pointer)>>, - ffi.Bool)>> get acquireFunction { - return _lib._objc_msgSend_930(_id, _lib._sel_acquireFunction1); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction)> + >, + ffi.Bool, + ) + > + > + get acquireFunction { + return _lib._objc_msgSend_930(this.pointer, _lib._sel_acquireFunction1); } set acquireFunction( - ffi.Pointer< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer)>>, - ffi.Bool)>> - value) { - return _lib._objc_msgSend_931(_id, _lib._sel_setAcquireFunction_1, value); + ffi.Pointer< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction)> + >, + ffi.Bool, + ) + > + > value, + ) { + return _lib._objc_msgSend_931( + this.pointer, + _lib._sel_setAcquireFunction_1, + value, + ); } bool get usesStrongWriteBarrier { - return _lib._objc_msgSend_12(_id, _lib._sel_usesStrongWriteBarrier1); + return _lib._objc_msgSend_12( + this.pointer, + _lib._sel_usesStrongWriteBarrier1, + ); } set usesStrongWriteBarrier(bool value) { return _lib._objc_msgSend_527( - _id, _lib._sel_setUsesStrongWriteBarrier_1, value); + this.pointer, + _lib._sel_setUsesStrongWriteBarrier_1, + value, + ); } bool get usesWeakReadAndWriteBarriers { - return _lib._objc_msgSend_12(_id, _lib._sel_usesWeakReadAndWriteBarriers1); + return _lib._objc_msgSend_12( + this.pointer, + _lib._sel_usesWeakReadAndWriteBarriers1, + ); } set usesWeakReadAndWriteBarriers(bool value) { return _lib._objc_msgSend_527( - _id, _lib._sel_setUsesWeakReadAndWriteBarriers_1, value); + this.pointer, + _lib._sel_setUsesWeakReadAndWriteBarriers_1, + value, + ); } @override NSPointerFunctions init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSPointerFunctions._(_ret, _lib, retain: true, release: true); } static NSPointerFunctions new1(AVFAudio _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSPointerFunctions1, _lib._sel_new1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSPointerFunctions1, + _lib._sel_new1, + ); return NSPointerFunctions._(_ret, _lib, retain: false, release: true); } static NSPointerFunctions allocWithZone_( - AVFAudio _lib, ffi.Pointer<_NSZone> zone) { + AVFAudio _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSPointerFunctions1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSPointerFunctions1, + _lib._sel_allocWithZone_1, + zone, + ); return NSPointerFunctions._(_ret, _lib, retain: false, release: true); } static NSPointerFunctions alloc(AVFAudio _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSPointerFunctions1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSPointerFunctions1, + _lib._sel_alloc1, + ); return NSPointerFunctions._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + AVFAudio _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSPointerFunctions1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSPointerFunctions1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSPointerFunctions1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + AVFAudio _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSPointerFunctions1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { - return _lib._objc_msgSend_12(_lib._class_NSPointerFunctions1, - _lib._sel_accessInstanceVariablesDirectly1); + return _lib._objc_msgSend_12( + _lib._class_NSPointerFunctions1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(AVFAudio _lib) { return _lib._objc_msgSend_12( - _lib._class_NSPointerFunctions1, _lib._sel_useStoredAccessor1); + _lib._class_NSPointerFunctions1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSPointerFunctions1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSPointerFunctions1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSPointerFunctions1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSPointerFunctions1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, NSArray keys, NSString dependentKey) { + AVFAudio _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSPointerFunctions1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSPointerFunctions1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_85(_lib._class_NSPointerFunctions1, - _lib._sel_classFallbacksForKeyedArchiver1); + final _ret = _lib._objc_msgSend_85( + _lib._class_NSPointerFunctions1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(AVFAudio _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSPointerFunctions1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSPointerFunctions1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } class NSProcessInfo extends NSObject { - NSProcessInfo._(ffi.Pointer id, AVFAudio lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSProcessInfo._( + ffi.Pointer pointer, + AVFAudio lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSProcessInfo] that points to the same underlying object as [other]. - static NSProcessInfo castFrom(T other) { - return NSProcessInfo._(other._id, other._lib, retain: true, release: true); + static NSProcessInfo castFrom( + AVFAudio lib, + T other, + ) { + return NSProcessInfo._(other.pointer, lib, retain: true, release: true); } /// Returns a [NSProcessInfo] that wraps the given raw object pointer. static NSProcessInfo castFromPointer( - AVFAudio lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + AVFAudio lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSProcessInfo._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSProcessInfo]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_NSProcessInfo1); + static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSProcessInfo1, + ); } static NSProcessInfo getProcessInfo(AVFAudio _lib) { final _ret = _lib._objc_msgSend_939( - _lib._class_NSProcessInfo1, _lib._sel_processInfo1); + _lib._class_NSProcessInfo1, + _lib._sel_processInfo1, + ); return NSProcessInfo._(_ret, _lib, retain: true, release: true); } NSDictionary get environment { - final _ret = _lib._objc_msgSend_181(_id, _lib._sel_environment1); + final _ret = _lib._objc_msgSend_181(this.pointer, _lib._sel_environment1); return NSDictionary._(_ret, _lib, retain: true, release: true); } NSArray get arguments { - final _ret = _lib._objc_msgSend_85(_id, _lib._sel_arguments1); + final _ret = _lib._objc_msgSend_85(this.pointer, _lib._sel_arguments1); return NSArray._(_ret, _lib, retain: true, release: true); } NSString get hostName { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_hostName1); + final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_hostName1); return NSString._(_ret, _lib, retain: true, release: true); } NSString get processName { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_processName1); + final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_processName1); return NSString._(_ret, _lib, retain: true, release: true); } set processName(NSString value) { - return _lib._objc_msgSend_646(_id, _lib._sel_setProcessName_1, value._id); + return _lib._objc_msgSend_646( + this.pointer, + _lib._sel_setProcessName_1, + value.pointer, + ); } int get processIdentifier { - return _lib._objc_msgSend_237(_id, _lib._sel_processIdentifier1); + return _lib._objc_msgSend_237(this.pointer, _lib._sel_processIdentifier1); } NSString get globallyUniqueString { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_globallyUniqueString1); + final _ret = _lib._objc_msgSend_21( + this.pointer, + _lib._sel_globallyUniqueString1, + ); return NSString._(_ret, _lib, retain: true, release: true); } int operatingSystem() { - return _lib._objc_msgSend_10(_id, _lib._sel_operatingSystem1); + return _lib._objc_msgSend_10(this.pointer, _lib._sel_operatingSystem1); } NSString operatingSystemName() { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_operatingSystemName1); + final _ret = _lib._objc_msgSend_21( + this.pointer, + _lib._sel_operatingSystemName1, + ); return NSString._(_ret, _lib, retain: true, release: true); } NSString get operatingSystemVersionString { - final _ret = - _lib._objc_msgSend_21(_id, _lib._sel_operatingSystemVersionString1); + final _ret = _lib._objc_msgSend_21( + this.pointer, + _lib._sel_operatingSystemVersionString1, + ); return NSString._(_ret, _lib, retain: true, release: true); } void getOperatingSystemVersion(ffi.Pointer stret) { - _lib._objc_msgSend_useVariants1 + objc.useMsgSendVariants ? _lib._objc_msgSend_940_stret( - stret, _id, _lib._sel_operatingSystemVersion1) - : stret.ref = - _lib._objc_msgSend_940(_id, _lib._sel_operatingSystemVersion1); + stret, + this.pointer, + _lib._sel_operatingSystemVersion1, + ) + : stret.ref = _lib._objc_msgSend_940( + this.pointer, + _lib._sel_operatingSystemVersion1, + ); } int get processorCount { - return _lib._objc_msgSend_10(_id, _lib._sel_processorCount1); + return _lib._objc_msgSend_10(this.pointer, _lib._sel_processorCount1); } int get activeProcessorCount { - return _lib._objc_msgSend_10(_id, _lib._sel_activeProcessorCount1); + return _lib._objc_msgSend_10(this.pointer, _lib._sel_activeProcessorCount1); } int get physicalMemory { - return _lib._objc_msgSend_164(_id, _lib._sel_physicalMemory1); + return _lib._objc_msgSend_164(this.pointer, _lib._sel_physicalMemory1); } bool isOperatingSystemAtLeastVersion_(NSOperatingSystemVersion version) { return _lib._objc_msgSend_941( - _id, _lib._sel_isOperatingSystemAtLeastVersion_1, version); + this.pointer, + _lib._sel_isOperatingSystemAtLeastVersion_1, + version, + ); } double get systemUptime { - return _lib._objc_msgSend_useVariants1 - ? _lib._objc_msgSend_165_fpret(_id, _lib._sel_systemUptime1) - : _lib._objc_msgSend_165(_id, _lib._sel_systemUptime1); + return objc.useMsgSendVariants + ? _lib._objc_msgSend_165_fpret(this.pointer, _lib._sel_systemUptime1) + : _lib._objc_msgSend_165(this.pointer, _lib._sel_systemUptime1); } void disableSuddenTermination() { - _lib._objc_msgSend_1(_id, _lib._sel_disableSuddenTermination1); + _lib._objc_msgSend_1(this.pointer, _lib._sel_disableSuddenTermination1); } void enableSuddenTermination() { - _lib._objc_msgSend_1(_id, _lib._sel_enableSuddenTermination1); + _lib._objc_msgSend_1(this.pointer, _lib._sel_enableSuddenTermination1); } void disableAutomaticTermination_(NSString reason) { _lib._objc_msgSend_247( - _id, _lib._sel_disableAutomaticTermination_1, reason._id); + this.pointer, + _lib._sel_disableAutomaticTermination_1, + reason.pointer, + ); } void enableAutomaticTermination_(NSString reason) { _lib._objc_msgSend_247( - _id, _lib._sel_enableAutomaticTermination_1, reason._id); + this.pointer, + _lib._sel_enableAutomaticTermination_1, + reason.pointer, + ); } bool get automaticTerminationSupportEnabled { return _lib._objc_msgSend_12( - _id, _lib._sel_automaticTerminationSupportEnabled1); + this.pointer, + _lib._sel_automaticTerminationSupportEnabled1, + ); } set automaticTerminationSupportEnabled(bool value) { return _lib._objc_msgSend_527( - _id, _lib._sel_setAutomaticTerminationSupportEnabled_1, value); + this.pointer, + _lib._sel_setAutomaticTerminationSupportEnabled_1, + value, + ); } NSObject beginActivityWithOptions_reason_(int options, NSString reason) { final _ret = _lib._objc_msgSend_942( - _id, _lib._sel_beginActivityWithOptions_reason_1, options, reason._id); + this.pointer, + _lib._sel_beginActivityWithOptions_reason_1, + options, + reason.pointer, + ); return NSObject._(_ret, _lib, retain: true, release: true); } void endActivity_(NSObject activity) { - _lib._objc_msgSend_15(_id, _lib._sel_endActivity_1, activity._id); + _lib._objc_msgSend_15( + this.pointer, + _lib._sel_endActivity_1, + activity.pointer, + ); } void performActivityWithOptions_reason_usingBlock_( - int options, NSString reason, ObjCBlock_ffiVoid block) { + int options, + NSString reason, + ObjCBlock_ffiVoid block, + ) { _lib._objc_msgSend_943( - _id, - _lib._sel_performActivityWithOptions_reason_usingBlock_1, - options, - reason._id, - block._id); + this.pointer, + _lib._sel_performActivityWithOptions_reason_usingBlock_1, + options, + reason.pointer, + block.pointer, + ); } void performExpiringActivityWithReason_usingBlock_( - NSString reason, ObjCBlock_ffiVoid_bool block) { + NSString reason, + ObjCBlock_ffiVoid_bool block, + ) { _lib._objc_msgSend_944( - _id, - _lib._sel_performExpiringActivityWithReason_usingBlock_1, - reason._id, - block._id); + this.pointer, + _lib._sel_performExpiringActivityWithReason_usingBlock_1, + reason.pointer, + block.pointer, + ); } NSString get userName { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_userName1); + final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_userName1); return NSString._(_ret, _lib, retain: true, release: true); } NSString get fullUserName { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_fullUserName1); + final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_fullUserName1); return NSString._(_ret, _lib, retain: true, release: true); } int get thermalState { - return _lib._objc_msgSend_945(_id, _lib._sel_thermalState1); + return _lib._objc_msgSend_945(this.pointer, _lib._sel_thermalState1); } bool get lowPowerModeEnabled { - return _lib._objc_msgSend_12(_id, _lib._sel_isLowPowerModeEnabled1); + return _lib._objc_msgSend_12( + this.pointer, + _lib._sel_isLowPowerModeEnabled1, + ); } bool get macCatalystApp { - return _lib._objc_msgSend_12(_id, _lib._sel_isMacCatalystApp1); + return _lib._objc_msgSend_12(this.pointer, _lib._sel_isMacCatalystApp1); } bool get iOSAppOnMac { - return _lib._objc_msgSend_12(_id, _lib._sel_isiOSAppOnMac1); + return _lib._objc_msgSend_12(this.pointer, _lib._sel_isiOSAppOnMac1); } @override NSProcessInfo init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSProcessInfo._(_ret, _lib, retain: true, release: true); } static NSProcessInfo new1(AVFAudio _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSProcessInfo1, _lib._sel_new1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSProcessInfo1, + _lib._sel_new1, + ); return NSProcessInfo._(_ret, _lib, retain: false, release: true); } static NSProcessInfo allocWithZone_( - AVFAudio _lib, ffi.Pointer<_NSZone> zone) { + AVFAudio _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSProcessInfo1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSProcessInfo1, + _lib._sel_allocWithZone_1, + zone, + ); return NSProcessInfo._(_ret, _lib, retain: false, release: true); } static NSProcessInfo alloc(AVFAudio _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSProcessInfo1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSProcessInfo1, + _lib._sel_alloc1, + ); return NSProcessInfo._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + AVFAudio _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSProcessInfo1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSProcessInfo1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSProcessInfo1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + AVFAudio _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSProcessInfo1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { return _lib._objc_msgSend_12( - _lib._class_NSProcessInfo1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_NSProcessInfo1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(AVFAudio _lib) { return _lib._objc_msgSend_12( - _lib._class_NSProcessInfo1, _lib._sel_useStoredAccessor1); + _lib._class_NSProcessInfo1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSProcessInfo1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSProcessInfo1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSProcessInfo1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSProcessInfo1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, NSArray keys, NSString dependentKey) { + AVFAudio _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSProcessInfo1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSProcessInfo1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { final _ret = _lib._objc_msgSend_85( - _lib._class_NSProcessInfo1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSProcessInfo1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(AVFAudio _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSProcessInfo1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSProcessInfo1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } @@ -66350,34 +88436,49 @@ abstract class NSActivityOptions { } void _ObjCBlock_ffiVoid_bool_fnPtrTrampoline( - ffi.Pointer<_ObjCBlock> block, bool arg0) => - block.ref.target - .cast>() - .asFunction()(arg0); + ffi.Pointer block, + bool arg0, +) => block.ref.target + .cast>() + .asFunction()(arg0); final _ObjCBlock_ffiVoid_bool_closureRegistry = {}; int _ObjCBlock_ffiVoid_bool_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_ffiVoid_bool_registerClosure( - void Function(bool) fn) { + void Function(bool) fn, +) { final id = ++_ObjCBlock_ffiVoid_bool_closureRegistryIndex; _ObjCBlock_ffiVoid_bool_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } void _ObjCBlock_ffiVoid_bool_closureTrampoline( - ffi.Pointer<_ObjCBlock> block, bool arg0) => - _ObjCBlock_ffiVoid_bool_closureRegistry[block.ref.target.address]!(arg0); + ffi.Pointer block, + bool arg0, +) => _ObjCBlock_ffiVoid_bool_closureRegistry[block.ref.target.address]!(arg0); + +class ObjCBlock_ffiVoid_bool extends objc.ObjCBlockBase { + ObjCBlock_ffiVoid_bool._( + ffi.Pointer pointer, + this._lib, { + bool retain = false, + bool release = true, + }) : super(pointer, retain: retain, release: release); -class ObjCBlock_ffiVoid_bool extends _ObjCBlockBase { - ObjCBlock_ffiVoid_bool._(ffi.Pointer<_ObjCBlock> id, AVFAudio lib, - {bool retain = false, bool release = true}) - : super._(id, lib, retain: retain, release: release); + AVFAudio _lib; /// Returns a block that wraps the given raw block pointer. static ObjCBlock_ffiVoid_bool castFromPointer( - AVFAudio lib, ffi.Pointer<_ObjCBlock> pointer, - {bool retain = false, bool release = false}) { - return ObjCBlock_ffiVoid_bool._(pointer, lib, - retain: retain, release: release); + AVFAudio lib, + ffi.Pointer pointer, { + bool retain = false, + bool release = false, + }) { + return ObjCBlock_ffiVoid_bool._( + pointer, + lib, + retain: retain, + release: release, + ); } /// Creates a block from a C function pointer. @@ -66385,16 +88486,16 @@ class ObjCBlock_ffiVoid_bool extends _ObjCBlockBase { /// This block must be invoked by native code running on the same thread as /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. - ObjCBlock_ffiVoid_bool.fromFunctionPointer(AVFAudio lib, - ffi.Pointer> ptr) - : this._( - lib._newBlock1( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, - ffi.Bool)>(_ObjCBlock_ffiVoid_bool_fnPtrTrampoline) - .cast(), - ptr.cast()), - lib); + ObjCBlock_ffiVoid_bool.fromFunctionPointer( + AVFAudio lib, + ffi.Pointer> ptr, + ) : this._(objc.newBlock( + _cFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function(ffi.Pointer, ffi.Bool) + >(_ObjCBlock_ffiVoid_bool_fnPtrTrampoline).cast(), + ptr.cast(), + ), lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -66403,16 +88504,13 @@ class ObjCBlock_ffiVoid_bool extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_bool.fromFunction(AVFAudio lib, void Function(bool) fn) - : this._( - lib._newBlock1( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, ffi.Bool)>( - _ObjCBlock_ffiVoid_bool_closureTrampoline) - .cast(), - _ObjCBlock_ffiVoid_bool_registerClosure( - (bool arg0) => fn(arg0))), - lib); + : this._(objc.newBlock( + _dartFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function(ffi.Pointer, ffi.Bool) + >(_ObjCBlock_ffiVoid_bool_closureTrampoline).cast(), + _ObjCBlock_ffiVoid_bool_registerClosure((bool arg0) => fn(arg0)), + ), lib); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -66425,28 +88523,30 @@ class ObjCBlock_ffiVoid_bool extends _ObjCBlockBase { /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. ObjCBlock_ffiVoid_bool.listener(AVFAudio lib, void Function(bool) fn) - : this._( - lib._newBlock1( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, ffi.Bool)>.listener( - _ObjCBlock_ffiVoid_bool_closureTrampoline) - ..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_bool_registerClosure( - (bool arg0) => fn(arg0))), - lib); - static ffi - .NativeCallable, ffi.Bool)>? - _dartFuncListenerTrampoline; - - void call(bool arg0) => _id.ref.invoke + : this._(objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function(ffi.Pointer, ffi.Bool) + >.listener( + _ObjCBlock_ffiVoid_bool_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_bool_registerClosure((bool arg0) => fn(arg0)), + ), lib); + static ffi.NativeCallable< + ffi.Void Function(ffi.Pointer, ffi.Bool) + >? _dartFuncListenerTrampoline; + + void call(bool arg0) => pointer.ref.invoke .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock> block, ffi.Bool arg0)>>() - .asFunction, bool)>()(_id, arg0); + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer block, ffi.Bool arg0) + > + >() + .asFunction, bool)>()( + pointer, + arg0, + ); } abstract class NSProcessInfoThermalState { @@ -66457,387 +88557,538 @@ abstract class NSProcessInfoThermalState { } class NSTextCheckingResult extends NSObject { - NSTextCheckingResult._(ffi.Pointer id, AVFAudio lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSTextCheckingResult._( + ffi.Pointer pointer, + AVFAudio lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSTextCheckingResult] that points to the same underlying object as [other]. - static NSTextCheckingResult castFrom(T other) { - return NSTextCheckingResult._(other._id, other._lib, - retain: true, release: true); + static NSTextCheckingResult castFrom( + AVFAudio lib, + T other, + ) { + return NSTextCheckingResult._( + other.pointer, + lib, + retain: true, + release: true, + ); } /// Returns a [NSTextCheckingResult] that wraps the given raw object pointer. static NSTextCheckingResult castFromPointer( - AVFAudio lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + AVFAudio lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSTextCheckingResult._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSTextCheckingResult]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0(obj._id, obj._lib._sel_isKindOfClass_1, - obj._lib._class_NSTextCheckingResult1); + static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSTextCheckingResult1, + ); } int get resultType { - return _lib._objc_msgSend_946(_id, _lib._sel_resultType1); + return _lib._objc_msgSend_946(this.pointer, _lib._sel_resultType1); } void getRange(ffi.Pointer<_NSRange> stret) { - _lib._objc_msgSend_useVariants1 - ? _lib._objc_msgSend_54_stret(stret, _id, _lib._sel_range1) - : stret.ref = _lib._objc_msgSend_54(_id, _lib._sel_range1); + objc.useMsgSendVariants + ? _lib._objc_msgSend_54_stret(stret, this.pointer, _lib._sel_range1) + : stret.ref = _lib._objc_msgSend_54(this.pointer, _lib._sel_range1); } NSOrthography? get orthography { - final _ret = _lib._objc_msgSend_947(_id, _lib._sel_orthography1); + final _ret = _lib._objc_msgSend_947(this.pointer, _lib._sel_orthography1); return _ret.address == 0 ? null : NSOrthography._(_ret, _lib, retain: true, release: true); } NSArray? get grammarDetails { - final _ret = _lib._objc_msgSend_84(_id, _lib._sel_grammarDetails1); + final _ret = _lib._objc_msgSend_84(this.pointer, _lib._sel_grammarDetails1); return _ret.address == 0 ? null : NSArray._(_ret, _lib, retain: true, release: true); } NSDate? get date { - final _ret = _lib._objc_msgSend_183(_id, _lib._sel_date1); + final _ret = _lib._objc_msgSend_183(this.pointer, _lib._sel_date1); return _ret.address == 0 ? null : NSDate._(_ret, _lib, retain: true, release: true); } NSTimeZone? get timeZone { - final _ret = _lib._objc_msgSend_773(_id, _lib._sel_timeZone1); + final _ret = _lib._objc_msgSend_773(this.pointer, _lib._sel_timeZone1); return _ret.address == 0 ? null : NSTimeZone._(_ret, _lib, retain: true, release: true); } double get duration { - return _lib._objc_msgSend_useVariants1 - ? _lib._objc_msgSend_165_fpret(_id, _lib._sel_duration1) - : _lib._objc_msgSend_165(_id, _lib._sel_duration1); + return objc.useMsgSendVariants + ? _lib._objc_msgSend_165_fpret(this.pointer, _lib._sel_duration1) + : _lib._objc_msgSend_165(this.pointer, _lib._sel_duration1); } NSDictionary? get components { - final _ret = _lib._objc_msgSend_390(_id, _lib._sel_components1); + final _ret = _lib._objc_msgSend_390(this.pointer, _lib._sel_components1); return _ret.address == 0 ? null : NSDictionary._(_ret, _lib, retain: true, release: true); } NSURL? get URL { - final _ret = _lib._objc_msgSend_45(_id, _lib._sel_URL1); + final _ret = _lib._objc_msgSend_45(this.pointer, _lib._sel_URL1); return _ret.address == 0 ? null : NSURL._(_ret, _lib, retain: true, release: true); } NSString? get replacementString { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_replacementString1); + final _ret = _lib._objc_msgSend_44( + this.pointer, + _lib._sel_replacementString1, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } NSArray? get alternativeStrings { - final _ret = _lib._objc_msgSend_84(_id, _lib._sel_alternativeStrings1); + final _ret = _lib._objc_msgSend_84( + this.pointer, + _lib._sel_alternativeStrings1, + ); return _ret.address == 0 ? null : NSArray._(_ret, _lib, retain: true, release: true); } NSRegularExpression? get regularExpression { - final _ret = _lib._objc_msgSend_959(_id, _lib._sel_regularExpression1); + final _ret = _lib._objc_msgSend_959( + this.pointer, + _lib._sel_regularExpression1, + ); return _ret.address == 0 ? null : NSRegularExpression._(_ret, _lib, retain: true, release: true); } NSString? get phoneNumber { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_phoneNumber1); + final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_phoneNumber1); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } int get numberOfRanges { - return _lib._objc_msgSend_10(_id, _lib._sel_numberOfRanges1); + return _lib._objc_msgSend_10(this.pointer, _lib._sel_numberOfRanges1); } void rangeAtIndex_(ffi.Pointer<_NSRange> stret, int idx) { - _lib._objc_msgSend_useVariants1 + objc.useMsgSendVariants ? _lib._objc_msgSend_347_stret( - stret, _id, _lib._sel_rangeAtIndex_1, idx) - : stret.ref = - _lib._objc_msgSend_347(_id, _lib._sel_rangeAtIndex_1, idx); + stret, + this.pointer, + _lib._sel_rangeAtIndex_1, + idx, + ) + : stret.ref = _lib._objc_msgSend_347( + this.pointer, + _lib._sel_rangeAtIndex_1, + idx, + ); } void rangeWithName_(ffi.Pointer<_NSRange> stret, NSString name) { - _lib._objc_msgSend_useVariants1 + objc.useMsgSendVariants ? _lib._objc_msgSend_340_stret( - stret, _id, _lib._sel_rangeWithName_1, name._id) - : stret.ref = - _lib._objc_msgSend_340(_id, _lib._sel_rangeWithName_1, name._id); + stret, + this.pointer, + _lib._sel_rangeWithName_1, + name.pointer, + ) + : stret.ref = _lib._objc_msgSend_340( + this.pointer, + _lib._sel_rangeWithName_1, + name.pointer, + ); } NSTextCheckingResult resultByAdjustingRangesWithOffset_(int offset) { final _ret = _lib._objc_msgSend_960( - _id, _lib._sel_resultByAdjustingRangesWithOffset_1, offset); + this.pointer, + _lib._sel_resultByAdjustingRangesWithOffset_1, + offset, + ); return NSTextCheckingResult._(_ret, _lib, retain: true, release: true); } NSDictionary? get addressComponents { - final _ret = _lib._objc_msgSend_390(_id, _lib._sel_addressComponents1); + final _ret = _lib._objc_msgSend_390( + this.pointer, + _lib._sel_addressComponents1, + ); return _ret.address == 0 ? null : NSDictionary._(_ret, _lib, retain: true, release: true); } static NSTextCheckingResult orthographyCheckingResultWithRange_orthography_( - AVFAudio _lib, _NSRange range, NSOrthography orthography) { + AVFAudio _lib, + _NSRange range, + NSOrthography orthography, + ) { final _ret = _lib._objc_msgSend_961( - _lib._class_NSTextCheckingResult1, - _lib._sel_orthographyCheckingResultWithRange_orthography_1, - range, - orthography._id); + _lib._class_NSTextCheckingResult1, + _lib._sel_orthographyCheckingResultWithRange_orthography_1, + range, + orthography.pointer, + ); return NSTextCheckingResult._(_ret, _lib, retain: true, release: true); } static NSTextCheckingResult spellCheckingResultWithRange_( - AVFAudio _lib, _NSRange range) { - final _ret = _lib._objc_msgSend_962(_lib._class_NSTextCheckingResult1, - _lib._sel_spellCheckingResultWithRange_1, range); + AVFAudio _lib, + _NSRange range, + ) { + final _ret = _lib._objc_msgSend_962( + _lib._class_NSTextCheckingResult1, + _lib._sel_spellCheckingResultWithRange_1, + range, + ); return NSTextCheckingResult._(_ret, _lib, retain: true, release: true); } static NSTextCheckingResult grammarCheckingResultWithRange_details_( - AVFAudio _lib, _NSRange range, NSArray details) { - final _ret = _lib._objc_msgSend_963(_lib._class_NSTextCheckingResult1, - _lib._sel_grammarCheckingResultWithRange_details_1, range, details._id); + AVFAudio _lib, + _NSRange range, + NSArray details, + ) { + final _ret = _lib._objc_msgSend_963( + _lib._class_NSTextCheckingResult1, + _lib._sel_grammarCheckingResultWithRange_details_1, + range, + details.pointer, + ); return NSTextCheckingResult._(_ret, _lib, retain: true, release: true); } static NSTextCheckingResult dateCheckingResultWithRange_date_( - AVFAudio _lib, _NSRange range, NSDate date) { - final _ret = _lib._objc_msgSend_964(_lib._class_NSTextCheckingResult1, - _lib._sel_dateCheckingResultWithRange_date_1, range, date._id); + AVFAudio _lib, + _NSRange range, + NSDate date, + ) { + final _ret = _lib._objc_msgSend_964( + _lib._class_NSTextCheckingResult1, + _lib._sel_dateCheckingResultWithRange_date_1, + range, + date.pointer, + ); return NSTextCheckingResult._(_ret, _lib, retain: true, release: true); } static NSTextCheckingResult - dateCheckingResultWithRange_date_timeZone_duration_(AVFAudio _lib, - _NSRange range, NSDate date, NSTimeZone timeZone, double duration) { + dateCheckingResultWithRange_date_timeZone_duration_( + AVFAudio _lib, + _NSRange range, + NSDate date, + NSTimeZone timeZone, + double duration, + ) { final _ret = _lib._objc_msgSend_965( - _lib._class_NSTextCheckingResult1, - _lib._sel_dateCheckingResultWithRange_date_timeZone_duration_1, - range, - date._id, - timeZone._id, - duration); + _lib._class_NSTextCheckingResult1, + _lib._sel_dateCheckingResultWithRange_date_timeZone_duration_1, + range, + date.pointer, + timeZone.pointer, + duration, + ); return NSTextCheckingResult._(_ret, _lib, retain: true, release: true); } static NSTextCheckingResult addressCheckingResultWithRange_components_( - AVFAudio _lib, _NSRange range, NSDictionary components) { + AVFAudio _lib, + _NSRange range, + NSDictionary components, + ) { final _ret = _lib._objc_msgSend_966( - _lib._class_NSTextCheckingResult1, - _lib._sel_addressCheckingResultWithRange_components_1, - range, - components._id); + _lib._class_NSTextCheckingResult1, + _lib._sel_addressCheckingResultWithRange_components_1, + range, + components.pointer, + ); return NSTextCheckingResult._(_ret, _lib, retain: true, release: true); } static NSTextCheckingResult linkCheckingResultWithRange_URL_( - AVFAudio _lib, _NSRange range, NSURL url) { - final _ret = _lib._objc_msgSend_967(_lib._class_NSTextCheckingResult1, - _lib._sel_linkCheckingResultWithRange_URL_1, range, url._id); + AVFAudio _lib, + _NSRange range, + NSURL url, + ) { + final _ret = _lib._objc_msgSend_967( + _lib._class_NSTextCheckingResult1, + _lib._sel_linkCheckingResultWithRange_URL_1, + range, + url.pointer, + ); return NSTextCheckingResult._(_ret, _lib, retain: true, release: true); } static NSTextCheckingResult quoteCheckingResultWithRange_replacementString_( - AVFAudio _lib, _NSRange range, NSString replacementString) { + AVFAudio _lib, + _NSRange range, + NSString replacementString, + ) { final _ret = _lib._objc_msgSend_968( - _lib._class_NSTextCheckingResult1, - _lib._sel_quoteCheckingResultWithRange_replacementString_1, - range, - replacementString._id); + _lib._class_NSTextCheckingResult1, + _lib._sel_quoteCheckingResultWithRange_replacementString_1, + range, + replacementString.pointer, + ); return NSTextCheckingResult._(_ret, _lib, retain: true, release: true); } static NSTextCheckingResult dashCheckingResultWithRange_replacementString_( - AVFAudio _lib, _NSRange range, NSString replacementString) { + AVFAudio _lib, + _NSRange range, + NSString replacementString, + ) { final _ret = _lib._objc_msgSend_968( - _lib._class_NSTextCheckingResult1, - _lib._sel_dashCheckingResultWithRange_replacementString_1, - range, - replacementString._id); + _lib._class_NSTextCheckingResult1, + _lib._sel_dashCheckingResultWithRange_replacementString_1, + range, + replacementString.pointer, + ); return NSTextCheckingResult._(_ret, _lib, retain: true, release: true); } static NSTextCheckingResult - replacementCheckingResultWithRange_replacementString_( - AVFAudio _lib, _NSRange range, NSString replacementString) { + replacementCheckingResultWithRange_replacementString_( + AVFAudio _lib, + _NSRange range, + NSString replacementString, + ) { final _ret = _lib._objc_msgSend_968( - _lib._class_NSTextCheckingResult1, - _lib._sel_replacementCheckingResultWithRange_replacementString_1, - range, - replacementString._id); + _lib._class_NSTextCheckingResult1, + _lib._sel_replacementCheckingResultWithRange_replacementString_1, + range, + replacementString.pointer, + ); return NSTextCheckingResult._(_ret, _lib, retain: true, release: true); } static NSTextCheckingResult - correctionCheckingResultWithRange_replacementString_( - AVFAudio _lib, _NSRange range, NSString replacementString) { + correctionCheckingResultWithRange_replacementString_( + AVFAudio _lib, + _NSRange range, + NSString replacementString, + ) { final _ret = _lib._objc_msgSend_968( - _lib._class_NSTextCheckingResult1, - _lib._sel_correctionCheckingResultWithRange_replacementString_1, - range, - replacementString._id); + _lib._class_NSTextCheckingResult1, + _lib._sel_correctionCheckingResultWithRange_replacementString_1, + range, + replacementString.pointer, + ); return NSTextCheckingResult._(_ret, _lib, retain: true, release: true); } static NSTextCheckingResult - correctionCheckingResultWithRange_replacementString_alternativeStrings_( - AVFAudio _lib, - _NSRange range, - NSString replacementString, - NSArray alternativeStrings) { + correctionCheckingResultWithRange_replacementString_alternativeStrings_( + AVFAudio _lib, + _NSRange range, + NSString replacementString, + NSArray alternativeStrings, + ) { final _ret = _lib._objc_msgSend_969( - _lib._class_NSTextCheckingResult1, - _lib._sel_correctionCheckingResultWithRange_replacementString_alternativeStrings_1, - range, - replacementString._id, - alternativeStrings._id); + _lib._class_NSTextCheckingResult1, + _lib._sel_correctionCheckingResultWithRange_replacementString_alternativeStrings_1, + range, + replacementString.pointer, + alternativeStrings.pointer, + ); return NSTextCheckingResult._(_ret, _lib, retain: true, release: true); } static NSTextCheckingResult - regularExpressionCheckingResultWithRanges_count_regularExpression_( - AVFAudio _lib, - ffi.Pointer<_NSRange> ranges, - int count, - NSRegularExpression regularExpression) { + regularExpressionCheckingResultWithRanges_count_regularExpression_( + AVFAudio _lib, + ffi.Pointer<_NSRange> ranges, + int count, + NSRegularExpression regularExpression, + ) { final _ret = _lib._objc_msgSend_970( - _lib._class_NSTextCheckingResult1, - _lib._sel_regularExpressionCheckingResultWithRanges_count_regularExpression_1, - ranges, - count, - regularExpression._id); + _lib._class_NSTextCheckingResult1, + _lib._sel_regularExpressionCheckingResultWithRanges_count_regularExpression_1, + ranges, + count, + regularExpression.pointer, + ); return NSTextCheckingResult._(_ret, _lib, retain: true, release: true); } static NSTextCheckingResult phoneNumberCheckingResultWithRange_phoneNumber_( - AVFAudio _lib, _NSRange range, NSString phoneNumber) { + AVFAudio _lib, + _NSRange range, + NSString phoneNumber, + ) { final _ret = _lib._objc_msgSend_968( - _lib._class_NSTextCheckingResult1, - _lib._sel_phoneNumberCheckingResultWithRange_phoneNumber_1, - range, - phoneNumber._id); + _lib._class_NSTextCheckingResult1, + _lib._sel_phoneNumberCheckingResultWithRange_phoneNumber_1, + range, + phoneNumber.pointer, + ); return NSTextCheckingResult._(_ret, _lib, retain: true, release: true); } static NSTextCheckingResult - transitInformationCheckingResultWithRange_components_( - AVFAudio _lib, _NSRange range, NSDictionary components) { + transitInformationCheckingResultWithRange_components_( + AVFAudio _lib, + _NSRange range, + NSDictionary components, + ) { final _ret = _lib._objc_msgSend_966( - _lib._class_NSTextCheckingResult1, - _lib._sel_transitInformationCheckingResultWithRange_components_1, - range, - components._id); + _lib._class_NSTextCheckingResult1, + _lib._sel_transitInformationCheckingResultWithRange_components_1, + range, + components.pointer, + ); return NSTextCheckingResult._(_ret, _lib, retain: true, release: true); } @override NSTextCheckingResult init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSTextCheckingResult._(_ret, _lib, retain: true, release: true); } static NSTextCheckingResult new1(AVFAudio _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSTextCheckingResult1, _lib._sel_new1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSTextCheckingResult1, + _lib._sel_new1, + ); return NSTextCheckingResult._(_ret, _lib, retain: false, release: true); } static NSTextCheckingResult allocWithZone_( - AVFAudio _lib, ffi.Pointer<_NSZone> zone) { + AVFAudio _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSTextCheckingResult1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSTextCheckingResult1, + _lib._sel_allocWithZone_1, + zone, + ); return NSTextCheckingResult._(_ret, _lib, retain: false, release: true); } static NSTextCheckingResult alloc(AVFAudio _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSTextCheckingResult1, _lib._sel_alloc1); + _lib._class_NSTextCheckingResult1, + _lib._sel_alloc1, + ); return NSTextCheckingResult._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + AVFAudio _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSTextCheckingResult1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSTextCheckingResult1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSTextCheckingResult1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + AVFAudio _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSTextCheckingResult1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { - return _lib._objc_msgSend_12(_lib._class_NSTextCheckingResult1, - _lib._sel_accessInstanceVariablesDirectly1); + return _lib._objc_msgSend_12( + _lib._class_NSTextCheckingResult1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(AVFAudio _lib) { return _lib._objc_msgSend_12( - _lib._class_NSTextCheckingResult1, _lib._sel_useStoredAccessor1); + _lib._class_NSTextCheckingResult1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSTextCheckingResult1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSTextCheckingResult1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSTextCheckingResult1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSTextCheckingResult1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, NSArray keys, NSString dependentKey) { + AVFAudio _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSTextCheckingResult1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSTextCheckingResult1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_85(_lib._class_NSTextCheckingResult1, - _lib._sel_classFallbacksForKeyedArchiver1); + final _ret = _lib._objc_msgSend_85( + _lib._class_NSTextCheckingResult1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(AVFAudio _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSTextCheckingResult1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSTextCheckingResult1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } @@ -66859,264 +89110,373 @@ abstract class NSTextCheckingType { } class NSRegularExpression extends NSObject { - NSRegularExpression._(ffi.Pointer id, AVFAudio lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSRegularExpression._( + ffi.Pointer pointer, + AVFAudio lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSRegularExpression] that points to the same underlying object as [other]. - static NSRegularExpression castFrom(T other) { - return NSRegularExpression._(other._id, other._lib, - retain: true, release: true); + static NSRegularExpression castFrom( + AVFAudio lib, + T other, + ) { + return NSRegularExpression._( + other.pointer, + lib, + retain: true, + release: true, + ); } /// Returns a [NSRegularExpression] that wraps the given raw object pointer. static NSRegularExpression castFromPointer( - AVFAudio lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + AVFAudio lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSRegularExpression._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSRegularExpression]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0(obj._id, obj._lib._sel_isKindOfClass_1, - obj._lib._class_NSRegularExpression1); + static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSRegularExpression1, + ); } static NSRegularExpression? regularExpressionWithPattern_options_error_( - AVFAudio _lib, - NSString pattern, - int options, - ffi.Pointer> error) { + AVFAudio _lib, + NSString pattern, + int options, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_948( - _lib._class_NSRegularExpression1, - _lib._sel_regularExpressionWithPattern_options_error_1, - pattern._id, - options, - error); + _lib._class_NSRegularExpression1, + _lib._sel_regularExpressionWithPattern_options_error_1, + pattern.pointer, + options, + error, + ); return _ret.address == 0 ? null : NSRegularExpression._(_ret, _lib, retain: true, release: true); } - NSRegularExpression? initWithPattern_options_error_(NSString pattern, - int options, ffi.Pointer> error) { - final _ret = _lib._objc_msgSend_949(_id, - _lib._sel_initWithPattern_options_error_1, pattern._id, options, error); + NSRegularExpression? initWithPattern_options_error_( + NSString pattern, + int options, + ffi.Pointer> error, + ) { + final _ret = _lib._objc_msgSend_949( + this.pointer, + _lib._sel_initWithPattern_options_error_1, + pattern.pointer, + options, + error, + ); return _ret.address == 0 ? null : NSRegularExpression._(_ret, _lib, retain: true, release: true); } NSString get pattern { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_pattern1); + final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_pattern1); return NSString._(_ret, _lib, retain: true, release: true); } int get options { - return _lib._objc_msgSend_950(_id, _lib._sel_options1); + return _lib._objc_msgSend_950(this.pointer, _lib._sel_options1); } int get numberOfCaptureGroups { - return _lib._objc_msgSend_10(_id, _lib._sel_numberOfCaptureGroups1); + return _lib._objc_msgSend_10( + this.pointer, + _lib._sel_numberOfCaptureGroups1, + ); } static NSString escapedPatternForString_(AVFAudio _lib, NSString string) { - final _ret = _lib._objc_msgSend_69(_lib._class_NSRegularExpression1, - _lib._sel_escapedPatternForString_1, string._id); + final _ret = _lib._objc_msgSend_69( + _lib._class_NSRegularExpression1, + _lib._sel_escapedPatternForString_1, + string.pointer, + ); return NSString._(_ret, _lib, retain: true, release: true); } void enumerateMatchesInString_options_range_usingBlock_( - NSString string, - int options, - _NSRange range, - ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool block) { + NSString string, + int options, + _NSRange range, + ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool block, + ) { _lib._objc_msgSend_951( - _id, - _lib._sel_enumerateMatchesInString_options_range_usingBlock_1, - string._id, - options, - range, - block._id); + this.pointer, + _lib._sel_enumerateMatchesInString_options_range_usingBlock_1, + string.pointer, + options, + range, + block.pointer, + ); } NSArray matchesInString_options_range_( - NSString string, int options, _NSRange range) { - final _ret = _lib._objc_msgSend_952(_id, - _lib._sel_matchesInString_options_range_1, string._id, options, range); + NSString string, + int options, + _NSRange range, + ) { + final _ret = _lib._objc_msgSend_952( + this.pointer, + _lib._sel_matchesInString_options_range_1, + string.pointer, + options, + range, + ); return NSArray._(_ret, _lib, retain: true, release: true); } int numberOfMatchesInString_options_range_( - NSString string, int options, _NSRange range) { + NSString string, + int options, + _NSRange range, + ) { return _lib._objc_msgSend_953( - _id, - _lib._sel_numberOfMatchesInString_options_range_1, - string._id, - options, - range); + this.pointer, + _lib._sel_numberOfMatchesInString_options_range_1, + string.pointer, + options, + range, + ); } NSTextCheckingResult? firstMatchInString_options_range_( - NSString string, int options, _NSRange range) { + NSString string, + int options, + _NSRange range, + ) { final _ret = _lib._objc_msgSend_954( - _id, - _lib._sel_firstMatchInString_options_range_1, - string._id, - options, - range); + this.pointer, + _lib._sel_firstMatchInString_options_range_1, + string.pointer, + options, + range, + ); return _ret.address == 0 ? null : NSTextCheckingResult._(_ret, _lib, retain: true, release: true); } - void rangeOfFirstMatchInString_options_range_(ffi.Pointer<_NSRange> stret, - NSString string, int options, _NSRange range) { - _lib._objc_msgSend_useVariants1 + void rangeOfFirstMatchInString_options_range_( + ffi.Pointer<_NSRange> stret, + NSString string, + int options, + _NSRange range, + ) { + objc.useMsgSendVariants ? _lib._objc_msgSend_955_stret( - stret, - _id, - _lib._sel_rangeOfFirstMatchInString_options_range_1, - string._id, - options, - range) + stret, + this.pointer, + _lib._sel_rangeOfFirstMatchInString_options_range_1, + string.pointer, + options, + range, + ) : stret.ref = _lib._objc_msgSend_955( - _id, - _lib._sel_rangeOfFirstMatchInString_options_range_1, - string._id, - options, - range); + this.pointer, + _lib._sel_rangeOfFirstMatchInString_options_range_1, + string.pointer, + options, + range, + ); } NSString stringByReplacingMatchesInString_options_range_withTemplate_( - NSString string, int options, _NSRange range, NSString templ) { + NSString string, + int options, + _NSRange range, + NSString templ, + ) { final _ret = _lib._objc_msgSend_956( - _id, - _lib._sel_stringByReplacingMatchesInString_options_range_withTemplate_1, - string._id, - options, - range, - templ._id); + this.pointer, + _lib._sel_stringByReplacingMatchesInString_options_range_withTemplate_1, + string.pointer, + options, + range, + templ.pointer, + ); return NSString._(_ret, _lib, retain: true, release: true); } int replaceMatchesInString_options_range_withTemplate_( - NSMutableString string, int options, _NSRange range, NSString templ) { + NSMutableString string, + int options, + _NSRange range, + NSString templ, + ) { return _lib._objc_msgSend_957( - _id, - _lib._sel_replaceMatchesInString_options_range_withTemplate_1, - string._id, - options, - range, - templ._id); + this.pointer, + _lib._sel_replaceMatchesInString_options_range_withTemplate_1, + string.pointer, + options, + range, + templ.pointer, + ); } NSString replacementStringForResult_inString_offset_template_( - NSTextCheckingResult result, - NSString string, - int offset, - NSString templ) { + NSTextCheckingResult result, + NSString string, + int offset, + NSString templ, + ) { final _ret = _lib._objc_msgSend_958( - _id, - _lib._sel_replacementStringForResult_inString_offset_template_1, - result._id, - string._id, - offset, - templ._id); + this.pointer, + _lib._sel_replacementStringForResult_inString_offset_template_1, + result.pointer, + string.pointer, + offset, + templ.pointer, + ); return NSString._(_ret, _lib, retain: true, release: true); } static NSString escapedTemplateForString_(AVFAudio _lib, NSString string) { - final _ret = _lib._objc_msgSend_69(_lib._class_NSRegularExpression1, - _lib._sel_escapedTemplateForString_1, string._id); + final _ret = _lib._objc_msgSend_69( + _lib._class_NSRegularExpression1, + _lib._sel_escapedTemplateForString_1, + string.pointer, + ); return NSString._(_ret, _lib, retain: true, release: true); } @override NSRegularExpression init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSRegularExpression._(_ret, _lib, retain: true, release: true); } static NSRegularExpression new1(AVFAudio _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSRegularExpression1, _lib._sel_new1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSRegularExpression1, + _lib._sel_new1, + ); return NSRegularExpression._(_ret, _lib, retain: false, release: true); } static NSRegularExpression allocWithZone_( - AVFAudio _lib, ffi.Pointer<_NSZone> zone) { + AVFAudio _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSRegularExpression1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSRegularExpression1, + _lib._sel_allocWithZone_1, + zone, + ); return NSRegularExpression._(_ret, _lib, retain: false, release: true); } static NSRegularExpression alloc(AVFAudio _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSRegularExpression1, _lib._sel_alloc1); + _lib._class_NSRegularExpression1, + _lib._sel_alloc1, + ); return NSRegularExpression._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + AVFAudio _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSRegularExpression1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSRegularExpression1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSRegularExpression1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + AVFAudio _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSRegularExpression1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { - return _lib._objc_msgSend_12(_lib._class_NSRegularExpression1, - _lib._sel_accessInstanceVariablesDirectly1); + return _lib._objc_msgSend_12( + _lib._class_NSRegularExpression1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(AVFAudio _lib) { return _lib._objc_msgSend_12( - _lib._class_NSRegularExpression1, _lib._sel_useStoredAccessor1); + _lib._class_NSRegularExpression1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSRegularExpression1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSRegularExpression1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSRegularExpression1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSRegularExpression1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, NSArray keys, NSString dependentKey) { + AVFAudio _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSRegularExpression1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSRegularExpression1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_85(_lib._class_NSRegularExpression1, - _lib._sel_classFallbacksForKeyedArchiver1); + final _ret = _lib._objc_msgSend_85( + _lib._class_NSRegularExpression1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(AVFAudio _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSRegularExpression1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSRegularExpression1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } @@ -67140,55 +89500,80 @@ abstract class NSMatchingOptions { } void - _ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool_fnPtrTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - int arg1, - ffi.Pointer arg2) => - block.ref.target - .cast< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer arg0, - ffi.Int32 arg1, ffi.Pointer arg2)>>() - .asFunction< - void Function(ffi.Pointer, int, - ffi.Pointer)>()(arg0, arg1, arg2); +_ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool_fnPtrTrampoline( + ffi.Pointer block, + ffi.Pointer arg0, + int arg1, + ffi.Pointer arg2, +) => block.ref.target + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Int32 arg1, + ffi.Pointer arg2, + ) + > + >() + .asFunction< + void Function(ffi.Pointer, int, ffi.Pointer) + >()(arg0, arg1, arg2); final _ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool_closureRegistry = - , int, ffi.Pointer)>{}; -int _ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool_closureRegistryIndex = + < + int, + void Function(ffi.Pointer, int, ffi.Pointer) + >{}; +int +_ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool_closureRegistryIndex = 0; ffi.Pointer - _ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool_registerClosure( - void Function(ffi.Pointer, int, ffi.Pointer) fn) { +_ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool_registerClosure( + void Function(ffi.Pointer, int, ffi.Pointer) fn, +) { final id = ++_ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool_closureRegistryIndex; - _ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool_closureRegistry[ - id] = fn; + _ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool_closureRegistry[id] = + fn; return ffi.Pointer.fromAddress(id); } -void _ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool_closureTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - int arg1, - ffi.Pointer arg2) => - _ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool_closureRegistry[ - block.ref.target.address]!(arg0, arg1, arg2); +void +_ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool_closureTrampoline( + ffi.Pointer block, + ffi.Pointer arg0, + int arg1, + ffi.Pointer arg2, +) => + _ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool_closureRegistry[block + .ref + .target + .address]!(arg0, arg1, arg2); class ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool - extends _ObjCBlockBase { + extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool._( - ffi.Pointer<_ObjCBlock> id, AVFAudio lib, - {bool retain = false, bool release = true}) - : super._(id, lib, retain: retain, release: release); + ffi.Pointer pointer, + this._lib, { + bool retain = false, + bool release = true, + }) : super(pointer, retain: retain, release: release); + + AVFAudio _lib; /// Returns a block that wraps the given raw block pointer. static ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool - castFromPointer(AVFAudio lib, ffi.Pointer<_ObjCBlock> pointer, - {bool retain = false, bool release = false}) { + castFromPointer( + AVFAudio lib, + ffi.Pointer pointer, { + bool retain = false, + bool release = false, + }) { return ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool._( - pointer, lib, - retain: retain, release: release); + pointer, + lib, + retain: retain, + release: release, + ); } /// Creates a block from a C function pointer. @@ -67197,24 +89582,30 @@ class ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool.fromFunctionPointer( - AVFAudio lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer arg0, - ffi.Int32 arg1, ffi.Pointer arg2)>> - ptr) - : this._( - lib._newBlock1( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Int32, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool_fnPtrTrampoline) - .cast(), - ptr.cast()), - lib); + AVFAudio lib, + ffi.Pointer< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Int32 arg1, + ffi.Pointer arg2, + ) + > + > ptr, + ) : this._(objc.newBlock( + _cFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ) + >( + _ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool_fnPtrTrampoline, + ).cast(), + ptr.cast(), + ), lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -67223,23 +89614,39 @@ class ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool.fromFunction( - AVFAudio lib, - void Function(NSTextCheckingResult?, int, ffi.Pointer) fn) - : this._( - lib._newBlock1( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Int32, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool_closureTrampoline) - .cast(), - _ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool_registerClosure( - (ffi.Pointer arg0, int arg1, - ffi.Pointer arg2) => - fn(arg0.address == 0 ? null : NSTextCheckingResult._(arg0, lib, retain: true, release: true), arg1, arg2))), - lib); + AVFAudio lib, + void Function(NSTextCheckingResult?, int, ffi.Pointer) fn, + ) : this._(objc.newBlock( + _dartFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ) + >( + _ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool_closureTrampoline, + ).cast(), + _ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool_registerClosure( + ( + ffi.Pointer arg0, + int arg1, + ffi.Pointer arg2, + ) => fn( + arg0.address == 0 + ? null + : NSTextCheckingResult._( + arg0, + lib, + retain: true, + release: true, + ), + arg1, + arg2, + ), + ), + ), lib); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -67252,42 +89659,72 @@ class ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool.listener( - AVFAudio lib, - void Function(NSTextCheckingResult?, int, ffi.Pointer) fn) - : this._( - lib._newBlock1( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Int32, - ffi.Pointer)>.listener( - _ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool_closureTrampoline) - ..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool_registerClosure( - (ffi.Pointer arg0, int arg1, - ffi.Pointer arg2) => - fn(arg0.address == 0 ? null : NSTextCheckingResult._(arg0, lib, retain: true, release: true), arg1, arg2))), - lib); + AVFAudio lib, + void Function(NSTextCheckingResult?, int, ffi.Pointer) fn, + ) : this._(objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ) + >.listener( + _ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool_registerClosure( + ( + ffi.Pointer arg0, + int arg1, + ffi.Pointer arg2, + ) => fn( + arg0.address == 0 + ? null + : NSTextCheckingResult._( + arg0, + lib, + retain: true, + release: true, + ), + arg1, + arg2, + ), + ), + ), lib); static ffi.NativeCallable< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer, - ffi.Int32, ffi.Pointer)>? _dartFuncListenerTrampoline; - - void call(NSTextCheckingResult? arg0, int arg1, ffi.Pointer arg2) => - _id.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Int32 arg1, - ffi.Pointer arg2)>>() - .asFunction< - void Function(ffi.Pointer<_ObjCBlock>, - ffi.Pointer, int, ffi.Pointer)>()( - _id, arg0?._id ?? ffi.nullptr, arg1, arg2); + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ) + >? _dartFuncListenerTrampoline; + + void call( + NSTextCheckingResult? arg0, + int arg1, + ffi.Pointer arg2, + ) => pointer.ref.invoke + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Int32 arg1, + ffi.Pointer arg2, + ) + > + >() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ) + >()(pointer, arg0?.pointer ?? ffi.nullptr, arg1, arg2); } abstract class NSMatchingFlags { @@ -67299,136 +89736,196 @@ abstract class NSMatchingFlags { } class NSURLCache extends NSObject { - NSURLCache._(ffi.Pointer id, AVFAudio lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSURLCache._( + ffi.Pointer pointer, + AVFAudio lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSURLCache] that points to the same underlying object as [other]. - static NSURLCache castFrom(T other) { - return NSURLCache._(other._id, other._lib, retain: true, release: true); + static NSURLCache castFrom( + AVFAudio lib, + T other, + ) { + return NSURLCache._(other.pointer, lib, retain: true, release: true); } /// Returns a [NSURLCache] that wraps the given raw object pointer. - static NSURLCache castFromPointer(AVFAudio lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + static NSURLCache castFromPointer( + AVFAudio lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSURLCache._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSURLCache]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_NSURLCache1); + static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSURLCache1, + ); } static NSURLCache getSharedURLCache(AVFAudio _lib) { final _ret = _lib._objc_msgSend_971( - _lib._class_NSURLCache1, _lib._sel_sharedURLCache1); + _lib._class_NSURLCache1, + _lib._sel_sharedURLCache1, + ); return NSURLCache._(_ret, _lib, retain: true, release: true); } static void setSharedURLCache(AVFAudio _lib, NSURLCache value) { return _lib._objc_msgSend_972( - _lib._class_NSURLCache1, _lib._sel_setSharedURLCache_1, value._id); + _lib._class_NSURLCache1, + _lib._sel_setSharedURLCache_1, + value.pointer, + ); } NSURLCache initWithMemoryCapacity_diskCapacity_diskPath_( - int memoryCapacity, int diskCapacity, NSString? path) { + int memoryCapacity, + int diskCapacity, + NSString? path, + ) { final _ret = _lib._objc_msgSend_973( - _id, - _lib._sel_initWithMemoryCapacity_diskCapacity_diskPath_1, - memoryCapacity, - diskCapacity, - path?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_initWithMemoryCapacity_diskCapacity_diskPath_1, + memoryCapacity, + diskCapacity, + path?.pointer ?? ffi.nullptr, + ); return NSURLCache._(_ret, _lib, retain: true, release: true); } NSURLCache initWithMemoryCapacity_diskCapacity_directoryURL_( - int memoryCapacity, int diskCapacity, NSURL? directoryURL) { + int memoryCapacity, + int diskCapacity, + NSURL? directoryURL, + ) { final _ret = _lib._objc_msgSend_974( - _id, - _lib._sel_initWithMemoryCapacity_diskCapacity_directoryURL_1, - memoryCapacity, - diskCapacity, - directoryURL?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_initWithMemoryCapacity_diskCapacity_directoryURL_1, + memoryCapacity, + diskCapacity, + directoryURL?.pointer ?? ffi.nullptr, + ); return NSURLCache._(_ret, _lib, retain: true, release: true); } NSCachedURLResponse? cachedResponseForRequest_(NSURLRequest request) { final _ret = _lib._objc_msgSend_979( - _id, _lib._sel_cachedResponseForRequest_1, request._id); + this.pointer, + _lib._sel_cachedResponseForRequest_1, + request.pointer, + ); return _ret.address == 0 ? null : NSCachedURLResponse._(_ret, _lib, retain: true, release: true); } void storeCachedResponse_forRequest_( - NSCachedURLResponse cachedResponse, NSURLRequest request) { - _lib._objc_msgSend_980(_id, _lib._sel_storeCachedResponse_forRequest_1, - cachedResponse._id, request._id); + NSCachedURLResponse cachedResponse, + NSURLRequest request, + ) { + _lib._objc_msgSend_980( + this.pointer, + _lib._sel_storeCachedResponse_forRequest_1, + cachedResponse.pointer, + request.pointer, + ); } void removeCachedResponseForRequest_(NSURLRequest request) { _lib._objc_msgSend_981( - _id, _lib._sel_removeCachedResponseForRequest_1, request._id); + this.pointer, + _lib._sel_removeCachedResponseForRequest_1, + request.pointer, + ); } void removeAllCachedResponses() { - _lib._objc_msgSend_1(_id, _lib._sel_removeAllCachedResponses1); + _lib._objc_msgSend_1(this.pointer, _lib._sel_removeAllCachedResponses1); } void removeCachedResponsesSinceDate_(NSDate date) { _lib._objc_msgSend_540( - _id, _lib._sel_removeCachedResponsesSinceDate_1, date._id); + this.pointer, + _lib._sel_removeCachedResponsesSinceDate_1, + date.pointer, + ); } int get memoryCapacity { - return _lib._objc_msgSend_10(_id, _lib._sel_memoryCapacity1); + return _lib._objc_msgSend_10(this.pointer, _lib._sel_memoryCapacity1); } set memoryCapacity(int value) { - return _lib._objc_msgSend_516(_id, _lib._sel_setMemoryCapacity_1, value); + return _lib._objc_msgSend_516( + this.pointer, + _lib._sel_setMemoryCapacity_1, + value, + ); } int get diskCapacity { - return _lib._objc_msgSend_10(_id, _lib._sel_diskCapacity1); + return _lib._objc_msgSend_10(this.pointer, _lib._sel_diskCapacity1); } set diskCapacity(int value) { - return _lib._objc_msgSend_516(_id, _lib._sel_setDiskCapacity_1, value); + return _lib._objc_msgSend_516( + this.pointer, + _lib._sel_setDiskCapacity_1, + value, + ); } int get currentMemoryUsage { - return _lib._objc_msgSend_10(_id, _lib._sel_currentMemoryUsage1); + return _lib._objc_msgSend_10(this.pointer, _lib._sel_currentMemoryUsage1); } int get currentDiskUsage { - return _lib._objc_msgSend_10(_id, _lib._sel_currentDiskUsage1); + return _lib._objc_msgSend_10(this.pointer, _lib._sel_currentDiskUsage1); } void storeCachedResponse_forDataTask_( - NSCachedURLResponse cachedResponse, NSURLSessionDataTask dataTask) { - _lib._objc_msgSend_982(_id, _lib._sel_storeCachedResponse_forDataTask_1, - cachedResponse._id, dataTask._id); + NSCachedURLResponse cachedResponse, + NSURLSessionDataTask dataTask, + ) { + _lib._objc_msgSend_982( + this.pointer, + _lib._sel_storeCachedResponse_forDataTask_1, + cachedResponse.pointer, + dataTask.pointer, + ); } void getCachedResponseForDataTask_completionHandler_( - NSURLSessionDataTask dataTask, - ObjCBlock_ffiVoid_NSCachedURLResponse completionHandler) { + NSURLSessionDataTask dataTask, + ObjCBlock_ffiVoid_NSCachedURLResponse completionHandler, + ) { _lib._objc_msgSend_983( - _id, - _lib._sel_getCachedResponseForDataTask_completionHandler_1, - dataTask._id, - completionHandler._id); + this.pointer, + _lib._sel_getCachedResponseForDataTask_completionHandler_1, + dataTask.pointer, + completionHandler.pointer, + ); } void removeCachedResponseForDataTask_(NSURLSessionDataTask dataTask) { _lib._objc_msgSend_984( - _id, _lib._sel_removeCachedResponseForDataTask_1, dataTask._id); + this.pointer, + _lib._sel_removeCachedResponseForDataTask_1, + dataTask.pointer, + ); } @override NSURLCache init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSURLCache._(_ret, _lib, retain: true, release: true); } @@ -67439,232 +89936,328 @@ class NSURLCache extends NSObject { static NSURLCache allocWithZone_(AVFAudio _lib, ffi.Pointer<_NSZone> zone) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSURLCache1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSURLCache1, + _lib._sel_allocWithZone_1, + zone, + ); return NSURLCache._(_ret, _lib, retain: false, release: true); } static NSURLCache alloc(AVFAudio _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSURLCache1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSURLCache1, + _lib._sel_alloc1, + ); return NSURLCache._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + AVFAudio _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSURLCache1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSURLCache1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSURLCache1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + AVFAudio _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSURLCache1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { return _lib._objc_msgSend_12( - _lib._class_NSURLCache1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_NSURLCache1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(AVFAudio _lib) { return _lib._objc_msgSend_12( - _lib._class_NSURLCache1, _lib._sel_useStoredAccessor1); + _lib._class_NSURLCache1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSURLCache1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSURLCache1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSURLCache1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSURLCache1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, NSArray keys, NSString dependentKey) { + AVFAudio _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSURLCache1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSURLCache1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { final _ret = _lib._objc_msgSend_85( - _lib._class_NSURLCache1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSURLCache1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(AVFAudio _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLCache1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSURLCache1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } class NSCachedURLResponse extends NSObject { - NSCachedURLResponse._(ffi.Pointer id, AVFAudio lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSCachedURLResponse._( + ffi.Pointer pointer, + AVFAudio lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSCachedURLResponse] that points to the same underlying object as [other]. - static NSCachedURLResponse castFrom(T other) { - return NSCachedURLResponse._(other._id, other._lib, - retain: true, release: true); + static NSCachedURLResponse castFrom( + AVFAudio lib, + T other, + ) { + return NSCachedURLResponse._( + other.pointer, + lib, + retain: true, + release: true, + ); } /// Returns a [NSCachedURLResponse] that wraps the given raw object pointer. static NSCachedURLResponse castFromPointer( - AVFAudio lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + AVFAudio lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSCachedURLResponse._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSCachedURLResponse]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0(obj._id, obj._lib._sel_isKindOfClass_1, - obj._lib._class_NSCachedURLResponse1); + static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSCachedURLResponse1, + ); } NSCachedURLResponse initWithResponse_data_( - NSURLResponse response, NSData data) { + NSURLResponse response, + NSData data, + ) { final _ret = _lib._objc_msgSend_975( - _id, _lib._sel_initWithResponse_data_1, response._id, data._id); + this.pointer, + _lib._sel_initWithResponse_data_1, + response.pointer, + data.pointer, + ); return NSCachedURLResponse._(_ret, _lib, retain: true, release: true); } NSCachedURLResponse initWithResponse_data_userInfo_storagePolicy_( - NSURLResponse response, - NSData data, - NSDictionary? userInfo, - int storagePolicy) { + NSURLResponse response, + NSData data, + NSDictionary? userInfo, + int storagePolicy, + ) { final _ret = _lib._objc_msgSend_976( - _id, - _lib._sel_initWithResponse_data_userInfo_storagePolicy_1, - response._id, - data._id, - userInfo?._id ?? ffi.nullptr, - storagePolicy); + this.pointer, + _lib._sel_initWithResponse_data_userInfo_storagePolicy_1, + response.pointer, + data.pointer, + userInfo?.pointer ?? ffi.nullptr, + storagePolicy, + ); return NSCachedURLResponse._(_ret, _lib, retain: true, release: true); } NSURLResponse get response { - final _ret = _lib._objc_msgSend_977(_id, _lib._sel_response1); + final _ret = _lib._objc_msgSend_977(this.pointer, _lib._sel_response1); return NSURLResponse._(_ret, _lib, retain: true, release: true); } NSData get data { - final _ret = _lib._objc_msgSend_43(_id, _lib._sel_data1); + final _ret = _lib._objc_msgSend_43(this.pointer, _lib._sel_data1); return NSData._(_ret, _lib, retain: true, release: true); } NSDictionary? get userInfo { - final _ret = _lib._objc_msgSend_390(_id, _lib._sel_userInfo1); + final _ret = _lib._objc_msgSend_390(this.pointer, _lib._sel_userInfo1); return _ret.address == 0 ? null : NSDictionary._(_ret, _lib, retain: true, release: true); } int get storagePolicy { - return _lib._objc_msgSend_978(_id, _lib._sel_storagePolicy1); + return _lib._objc_msgSend_978(this.pointer, _lib._sel_storagePolicy1); } @override NSCachedURLResponse init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSCachedURLResponse._(_ret, _lib, retain: true, release: true); } static NSCachedURLResponse new1(AVFAudio _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSCachedURLResponse1, _lib._sel_new1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSCachedURLResponse1, + _lib._sel_new1, + ); return NSCachedURLResponse._(_ret, _lib, retain: false, release: true); } static NSCachedURLResponse allocWithZone_( - AVFAudio _lib, ffi.Pointer<_NSZone> zone) { + AVFAudio _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSCachedURLResponse1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSCachedURLResponse1, + _lib._sel_allocWithZone_1, + zone, + ); return NSCachedURLResponse._(_ret, _lib, retain: false, release: true); } static NSCachedURLResponse alloc(AVFAudio _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSCachedURLResponse1, _lib._sel_alloc1); + _lib._class_NSCachedURLResponse1, + _lib._sel_alloc1, + ); return NSCachedURLResponse._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + AVFAudio _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSCachedURLResponse1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSCachedURLResponse1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSCachedURLResponse1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + AVFAudio _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSCachedURLResponse1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { - return _lib._objc_msgSend_12(_lib._class_NSCachedURLResponse1, - _lib._sel_accessInstanceVariablesDirectly1); + return _lib._objc_msgSend_12( + _lib._class_NSCachedURLResponse1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(AVFAudio _lib) { return _lib._objc_msgSend_12( - _lib._class_NSCachedURLResponse1, _lib._sel_useStoredAccessor1); + _lib._class_NSCachedURLResponse1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSCachedURLResponse1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSCachedURLResponse1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSCachedURLResponse1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSCachedURLResponse1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, NSArray keys, NSString dependentKey) { + AVFAudio _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSCachedURLResponse1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSCachedURLResponse1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_85(_lib._class_NSCachedURLResponse1, - _lib._sel_classFallbacksForKeyedArchiver1); + final _ret = _lib._objc_msgSend_85( + _lib._class_NSCachedURLResponse1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(AVFAudio _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSCachedURLResponse1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSCachedURLResponse1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } @@ -67676,152 +90269,222 @@ abstract class NSURLCacheStoragePolicy { } class NSURLSessionDataTask extends NSURLSessionTask { - NSURLSessionDataTask._(ffi.Pointer id, AVFAudio lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSURLSessionDataTask._( + ffi.Pointer pointer, + AVFAudio lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSURLSessionDataTask] that points to the same underlying object as [other]. - static NSURLSessionDataTask castFrom(T other) { - return NSURLSessionDataTask._(other._id, other._lib, - retain: true, release: true); + static NSURLSessionDataTask castFrom( + AVFAudio lib, + T other, + ) { + return NSURLSessionDataTask._( + other.pointer, + lib, + retain: true, + release: true, + ); } /// Returns a [NSURLSessionDataTask] that wraps the given raw object pointer. static NSURLSessionDataTask castFromPointer( - AVFAudio lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + AVFAudio lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSURLSessionDataTask._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSURLSessionDataTask]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0(obj._id, obj._lib._sel_isKindOfClass_1, - obj._lib._class_NSURLSessionDataTask1); + static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSURLSessionDataTask1, + ); } @override NSURLSessionDataTask init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSURLSessionDataTask._(_ret, _lib, retain: true, release: true); } static NSURLSessionDataTask new1(AVFAudio _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSURLSessionDataTask1, _lib._sel_new1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSURLSessionDataTask1, + _lib._sel_new1, + ); return NSURLSessionDataTask._(_ret, _lib, retain: false, release: true); } static NSURLSessionDataTask allocWithZone_( - AVFAudio _lib, ffi.Pointer<_NSZone> zone) { + AVFAudio _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSURLSessionDataTask1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSURLSessionDataTask1, + _lib._sel_allocWithZone_1, + zone, + ); return NSURLSessionDataTask._(_ret, _lib, retain: false, release: true); } static NSURLSessionDataTask alloc(AVFAudio _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLSessionDataTask1, _lib._sel_alloc1); + _lib._class_NSURLSessionDataTask1, + _lib._sel_alloc1, + ); return NSURLSessionDataTask._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + AVFAudio _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSURLSessionDataTask1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSURLSessionDataTask1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSURLSessionDataTask1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + AVFAudio _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSURLSessionDataTask1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { - return _lib._objc_msgSend_12(_lib._class_NSURLSessionDataTask1, - _lib._sel_accessInstanceVariablesDirectly1); + return _lib._objc_msgSend_12( + _lib._class_NSURLSessionDataTask1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(AVFAudio _lib) { return _lib._objc_msgSend_12( - _lib._class_NSURLSessionDataTask1, _lib._sel_useStoredAccessor1); + _lib._class_NSURLSessionDataTask1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSURLSessionDataTask1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSURLSessionDataTask1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSURLSessionDataTask1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSURLSessionDataTask1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, NSArray keys, NSString dependentKey) { + AVFAudio _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSURLSessionDataTask1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSURLSessionDataTask1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_85(_lib._class_NSURLSessionDataTask1, - _lib._sel_classFallbacksForKeyedArchiver1); + final _ret = _lib._objc_msgSend_85( + _lib._class_NSURLSessionDataTask1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(AVFAudio _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLSessionDataTask1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSURLSessionDataTask1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } void _ObjCBlock_ffiVoid_NSCachedURLResponse_fnPtrTrampoline( - ffi.Pointer<_ObjCBlock> block, ffi.Pointer arg0) => - block.ref.target - .cast< - ffi - .NativeFunction arg0)>>() - .asFunction)>()(arg0); + ffi.Pointer block, + ffi.Pointer arg0, +) => block.ref.target + .cast< + ffi.NativeFunction arg0)> + >() + .asFunction)>()(arg0); final _ObjCBlock_ffiVoid_NSCachedURLResponse_closureRegistry = - )>{}; + )>{}; int _ObjCBlock_ffiVoid_NSCachedURLResponse_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_ffiVoid_NSCachedURLResponse_registerClosure( - void Function(ffi.Pointer) fn) { + void Function(ffi.Pointer) fn, +) { final id = ++_ObjCBlock_ffiVoid_NSCachedURLResponse_closureRegistryIndex; _ObjCBlock_ffiVoid_NSCachedURLResponse_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } void _ObjCBlock_ffiVoid_NSCachedURLResponse_closureTrampoline( - ffi.Pointer<_ObjCBlock> block, ffi.Pointer arg0) => - _ObjCBlock_ffiVoid_NSCachedURLResponse_closureRegistry[ - block.ref.target.address]!(arg0); - -class ObjCBlock_ffiVoid_NSCachedURLResponse extends _ObjCBlockBase { + ffi.Pointer block, + ffi.Pointer arg0, +) => _ObjCBlock_ffiVoid_NSCachedURLResponse_closureRegistry[block + .ref + .target + .address]!(arg0); + +class ObjCBlock_ffiVoid_NSCachedURLResponse extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSCachedURLResponse._( - ffi.Pointer<_ObjCBlock> id, AVFAudio lib, - {bool retain = false, bool release = true}) - : super._(id, lib, retain: retain, release: release); + ffi.Pointer pointer, + this._lib, { + bool retain = false, + bool release = true, + }) : super(pointer, retain: retain, release: release); + + AVFAudio _lib; /// Returns a block that wraps the given raw block pointer. static ObjCBlock_ffiVoid_NSCachedURLResponse castFromPointer( - AVFAudio lib, ffi.Pointer<_ObjCBlock> pointer, - {bool retain = false, bool release = false}) { - return ObjCBlock_ffiVoid_NSCachedURLResponse._(pointer, lib, - retain: retain, release: release); + AVFAudio lib, + ffi.Pointer pointer, { + bool retain = false, + bool release = false, + }) { + return ObjCBlock_ffiVoid_NSCachedURLResponse._( + pointer, + lib, + retain: retain, + release: release, + ); } /// Creates a block from a C function pointer. @@ -67830,20 +90493,20 @@ class ObjCBlock_ffiVoid_NSCachedURLResponse extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSCachedURLResponse.fromFunctionPointer( - AVFAudio lib, - ffi.Pointer< - ffi - .NativeFunction arg0)>> - ptr) - : this._( - lib._newBlock1( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_NSCachedURLResponse_fnPtrTrampoline) - .cast(), - ptr.cast()), - lib); + AVFAudio lib, + ffi.Pointer< + ffi.NativeFunction arg0)> + > ptr, + ) : this._(objc.newBlock( + _cFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_NSCachedURLResponse_fnPtrTrampoline).cast(), + ptr.cast(), + ), lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -67852,19 +90515,24 @@ class ObjCBlock_ffiVoid_NSCachedURLResponse extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSCachedURLResponse.fromFunction( - AVFAudio lib, void Function(NSCachedURLResponse?) fn) - : this._( - lib._newBlock1( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_NSCachedURLResponse_closureTrampoline) - .cast(), - _ObjCBlock_ffiVoid_NSCachedURLResponse_registerClosure( - (ffi.Pointer arg0) => fn(arg0.address == 0 - ? null - : NSCachedURLResponse._(arg0, lib, retain: true, release: true)))), - lib); + AVFAudio lib, + void Function(NSCachedURLResponse?) fn, + ) : this._(objc.newBlock( + _dartFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_NSCachedURLResponse_closureTrampoline).cast(), + _ObjCBlock_ffiVoid_NSCachedURLResponse_registerClosure(( + ffi.Pointer arg0, + ) => fn( + arg0.address == 0 + ? null + : NSCachedURLResponse._(arg0, lib, retain: true, release: true), + )), + ), lib); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -67877,275 +90545,386 @@ class ObjCBlock_ffiVoid_NSCachedURLResponse extends _ObjCBlockBase { /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. ObjCBlock_ffiVoid_NSCachedURLResponse.listener( - AVFAudio lib, void Function(NSCachedURLResponse?) fn) - : this._( - lib._newBlock1( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, - ffi.Pointer)>.listener( - _ObjCBlock_ffiVoid_NSCachedURLResponse_closureTrampoline) - ..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSCachedURLResponse_registerClosure( - (ffi.Pointer arg0) => fn( - arg0.address == 0 ? null : NSCachedURLResponse._(arg0, lib, retain: true, release: true)))), - lib); + AVFAudio lib, + void Function(NSCachedURLResponse?) fn, + ) : this._(objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ) + >.listener( + _ObjCBlock_ffiVoid_NSCachedURLResponse_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSCachedURLResponse_registerClosure(( + ffi.Pointer arg0, + ) => fn( + arg0.address == 0 + ? null + : NSCachedURLResponse._(arg0, lib, retain: true, release: true), + )), + ), lib); static ffi.NativeCallable< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer)>? - _dartFuncListenerTrampoline; + ffi.Void Function(ffi.Pointer, ffi.Pointer) + >? _dartFuncListenerTrampoline; - void call(NSCachedURLResponse? arg0) => _id.ref.invoke + void call(NSCachedURLResponse? arg0) => pointer.ref.invoke .cast< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0)>>() + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer block, + ffi.Pointer arg0, + ) + > + >() .asFunction< - void Function(ffi.Pointer<_ObjCBlock>, - ffi.Pointer)>()(_id, arg0?._id ?? ffi.nullptr); + void Function(ffi.Pointer, ffi.Pointer) + >()(pointer, arg0?.pointer ?? ffi.nullptr); } class NSURLConnection extends NSObject { - NSURLConnection._(ffi.Pointer id, AVFAudio lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSURLConnection._( + ffi.Pointer pointer, + AVFAudio lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSURLConnection] that points to the same underlying object as [other]. - static NSURLConnection castFrom(T other) { - return NSURLConnection._(other._id, other._lib, - retain: true, release: true); + static NSURLConnection castFrom( + AVFAudio lib, + T other, + ) { + return NSURLConnection._(other.pointer, lib, retain: true, release: true); } /// Returns a [NSURLConnection] that wraps the given raw object pointer. static NSURLConnection castFromPointer( - AVFAudio lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + AVFAudio lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSURLConnection._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSURLConnection]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0(obj._id, obj._lib._sel_isKindOfClass_1, - obj._lib._class_NSURLConnection1); + static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSURLConnection1, + ); } NSURLConnection? initWithRequest_delegate_startImmediately_( - NSURLRequest request, NSObject? delegate, bool startImmediately) { + NSURLRequest request, + NSObject? delegate, + bool startImmediately, + ) { final _ret = _lib._objc_msgSend_985( - _id, - _lib._sel_initWithRequest_delegate_startImmediately_1, - request._id, - delegate?._id ?? ffi.nullptr, - startImmediately); + this.pointer, + _lib._sel_initWithRequest_delegate_startImmediately_1, + request.pointer, + delegate?.pointer ?? ffi.nullptr, + startImmediately, + ); return _ret.address == 0 ? null : NSURLConnection._(_ret, _lib, retain: true, release: true); } NSURLConnection? initWithRequest_delegate_( - NSURLRequest request, NSObject? delegate) { + NSURLRequest request, + NSObject? delegate, + ) { final _ret = _lib._objc_msgSend_986( - _id, - _lib._sel_initWithRequest_delegate_1, - request._id, - delegate?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_initWithRequest_delegate_1, + request.pointer, + delegate?.pointer ?? ffi.nullptr, + ); return _ret.address == 0 ? null : NSURLConnection._(_ret, _lib, retain: true, release: true); } static NSURLConnection? connectionWithRequest_delegate_( - AVFAudio _lib, NSURLRequest request, NSObject? delegate) { + AVFAudio _lib, + NSURLRequest request, + NSObject? delegate, + ) { final _ret = _lib._objc_msgSend_987( - _lib._class_NSURLConnection1, - _lib._sel_connectionWithRequest_delegate_1, - request._id, - delegate?._id ?? ffi.nullptr); + _lib._class_NSURLConnection1, + _lib._sel_connectionWithRequest_delegate_1, + request.pointer, + delegate?.pointer ?? ffi.nullptr, + ); return _ret.address == 0 ? null : NSURLConnection._(_ret, _lib, retain: true, release: true); } NSURLRequest get originalRequest { - final _ret = _lib._objc_msgSend_988(_id, _lib._sel_originalRequest1); + final _ret = _lib._objc_msgSend_988( + this.pointer, + _lib._sel_originalRequest1, + ); return NSURLRequest._(_ret, _lib, retain: true, release: true); } NSURLRequest get currentRequest { - final _ret = _lib._objc_msgSend_988(_id, _lib._sel_currentRequest1); + final _ret = _lib._objc_msgSend_988( + this.pointer, + _lib._sel_currentRequest1, + ); return NSURLRequest._(_ret, _lib, retain: true, release: true); } void start() { - _lib._objc_msgSend_1(_id, _lib._sel_start1); + _lib._objc_msgSend_1(this.pointer, _lib._sel_start1); } void cancel() { - _lib._objc_msgSend_1(_id, _lib._sel_cancel1); + _lib._objc_msgSend_1(this.pointer, _lib._sel_cancel1); } void scheduleInRunLoop_forMode_(NSRunLoop aRunLoop, NSString mode) { _lib._objc_msgSend_569( - _id, _lib._sel_scheduleInRunLoop_forMode_1, aRunLoop._id, mode._id); + this.pointer, + _lib._sel_scheduleInRunLoop_forMode_1, + aRunLoop.pointer, + mode.pointer, + ); } void unscheduleFromRunLoop_forMode_(NSRunLoop aRunLoop, NSString mode) { _lib._objc_msgSend_569( - _id, _lib._sel_unscheduleFromRunLoop_forMode_1, aRunLoop._id, mode._id); + this.pointer, + _lib._sel_unscheduleFromRunLoop_forMode_1, + aRunLoop.pointer, + mode.pointer, + ); } void setDelegateQueue_(NSOperationQueue? queue) { _lib._objc_msgSend_989( - _id, _lib._sel_setDelegateQueue_1, queue?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setDelegateQueue_1, + queue?.pointer ?? ffi.nullptr, + ); } static bool canHandleRequest_(AVFAudio _lib, NSURLRequest request) { - return _lib._objc_msgSend_990(_lib._class_NSURLConnection1, - _lib._sel_canHandleRequest_1, request._id); + return _lib._objc_msgSend_990( + _lib._class_NSURLConnection1, + _lib._sel_canHandleRequest_1, + request.pointer, + ); } static NSData? sendSynchronousRequest_returningResponse_error_( - AVFAudio _lib, - NSURLRequest request, - ffi.Pointer> response, - ffi.Pointer> error) { + AVFAudio _lib, + NSURLRequest request, + ffi.Pointer> response, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_991( - _lib._class_NSURLConnection1, - _lib._sel_sendSynchronousRequest_returningResponse_error_1, - request._id, - response, - error); + _lib._class_NSURLConnection1, + _lib._sel_sendSynchronousRequest_returningResponse_error_1, + request.pointer, + response, + error, + ); return _ret.address == 0 ? null : NSData._(_ret, _lib, retain: true, release: true); } static void sendAsynchronousRequest_queue_completionHandler_( - AVFAudio _lib, - NSURLRequest request, - NSOperationQueue queue, - ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError handler) { + AVFAudio _lib, + NSURLRequest request, + NSOperationQueue queue, + ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError handler, + ) { _lib._objc_msgSend_992( - _lib._class_NSURLConnection1, - _lib._sel_sendAsynchronousRequest_queue_completionHandler_1, - request._id, - queue._id, - handler._id); + _lib._class_NSURLConnection1, + _lib._sel_sendAsynchronousRequest_queue_completionHandler_1, + request.pointer, + queue.pointer, + handler.pointer, + ); } @override NSURLConnection init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSURLConnection._(_ret, _lib, retain: true, release: true); } static NSURLConnection new1(AVFAudio _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSURLConnection1, _lib._sel_new1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSURLConnection1, + _lib._sel_new1, + ); return NSURLConnection._(_ret, _lib, retain: false, release: true); } static NSURLConnection allocWithZone_( - AVFAudio _lib, ffi.Pointer<_NSZone> zone) { + AVFAudio _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSURLConnection1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSURLConnection1, + _lib._sel_allocWithZone_1, + zone, + ); return NSURLConnection._(_ret, _lib, retain: false, release: true); } static NSURLConnection alloc(AVFAudio _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSURLConnection1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSURLConnection1, + _lib._sel_alloc1, + ); return NSURLConnection._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + AVFAudio _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSURLConnection1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSURLConnection1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSURLConnection1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + AVFAudio _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSURLConnection1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { - return _lib._objc_msgSend_12(_lib._class_NSURLConnection1, - _lib._sel_accessInstanceVariablesDirectly1); + return _lib._objc_msgSend_12( + _lib._class_NSURLConnection1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(AVFAudio _lib) { return _lib._objc_msgSend_12( - _lib._class_NSURLConnection1, _lib._sel_useStoredAccessor1); + _lib._class_NSURLConnection1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSURLConnection1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSURLConnection1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSURLConnection1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSURLConnection1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, NSArray keys, NSString dependentKey) { + AVFAudio _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSURLConnection1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSURLConnection1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_85(_lib._class_NSURLConnection1, - _lib._sel_classFallbacksForKeyedArchiver1); + final _ret = _lib._objc_msgSend_85( + _lib._class_NSURLConnection1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(AVFAudio _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLConnection1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSURLConnection1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } void _ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError_fnPtrTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2) => - block.ref.target - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2)>>() - .asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>()(arg0, arg1, arg2); -final _ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError_closureRegistry = , ffi.Pointer, - ffi.Pointer)>{}; + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, +) => block.ref.target + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, + ) + > + >() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >()(arg0, arg1, arg2); +final _ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError_closureRegistry = + < + int, + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >{}; int _ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError_closureRegistryIndex = 0; ffi.Pointer - _ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError_registerClosure( - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer) - fn) { +_ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError_registerClosure( + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) fn, +) { final id = ++_ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError_closureRegistryIndex; _ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError_closureRegistry[id] = fn; @@ -68153,25 +90932,39 @@ ffi.Pointer } void _ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError_closureTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2) => - _ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError_closureRegistry[ - block.ref.target.address]!(arg0, arg1, arg2); - -class ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError extends _ObjCBlockBase { + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, +) => _ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError_closureRegistry[block + .ref + .target + .address]!(arg0, arg1, arg2); + +class ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError + extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError._( - ffi.Pointer<_ObjCBlock> id, AVFAudio lib, - {bool retain = false, bool release = true}) - : super._(id, lib, retain: retain, release: release); + ffi.Pointer pointer, + this._lib, { + bool retain = false, + bool release = true, + }) : super(pointer, retain: retain, release: release); + + AVFAudio _lib; /// Returns a block that wraps the given raw block pointer. static ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError castFromPointer( - AVFAudio lib, ffi.Pointer<_ObjCBlock> pointer, - {bool retain = false, bool release = false}) { - return ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError._(pointer, lib, - retain: retain, release: release); + AVFAudio lib, + ffi.Pointer pointer, { + bool retain = false, + bool release = false, + }) { + return ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError._( + pointer, + lib, + retain: retain, + release: release, + ); } /// Creates a block from a C function pointer. @@ -68180,26 +90973,30 @@ class ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError.fromFunctionPointer( - AVFAudio lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2)>> - ptr) - : this._( - lib._newBlock1( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError_fnPtrTrampoline) - .cast(), - ptr.cast()), - lib); + AVFAudio lib, + ffi.Pointer< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, + ) + > + > ptr, + ) : this._(objc.newBlock( + _cFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >( + _ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError_fnPtrTrampoline, + ).cast(), + ptr.cast(), + ), lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -68208,23 +91005,36 @@ class ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError.fromFunction( - AVFAudio lib, void Function(NSURLResponse?, NSData?, NSError?) fn) - : this._( - lib._newBlock1( - _dartFuncTrampoline ??= - ffi.Pointer.fromFunction, ffi.Pointer, ffi.Pointer, ffi.Pointer)>( - _ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError_closureTrampoline) - .cast(), - _ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError_registerClosure( - (ffi.Pointer arg0, ffi.Pointer arg1, - ffi.Pointer arg2) => - fn( - arg0.address == 0 - ? null - : NSURLResponse._(arg0, lib, retain: true, release: true), - arg1.address == 0 ? null : NSData._(arg1, lib, retain: true, release: true), - arg2.address == 0 ? null : NSError._(arg2, lib, retain: true, release: true)))), - lib); + AVFAudio lib, + void Function(NSURLResponse?, NSData?, NSError?) fn, + ) : this._(objc.newBlock( + _dartFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >( + _ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError_closureTrampoline, + ).cast(), + _ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError_registerClosure(( + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, + ) => fn( + arg0.address == 0 + ? null + : NSURLResponse._(arg0, lib, retain: true, release: true), + arg1.address == 0 + ? null + : NSData._(arg1, lib, retain: true, release: true), + arg2.address == 0 + ? null + : NSError._(arg2, lib, retain: true, release: true), + )), + ), lib); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -68237,250 +91047,346 @@ class ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError extends _ObjCBlockBase { /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError.listener( - AVFAudio lib, void Function(NSURLResponse?, NSData?, NSError?) fn) - : this._( - lib._newBlock1( - (_dartFuncListenerTrampoline ??= - ffi.NativeCallable, ffi.Pointer, ffi.Pointer, ffi.Pointer)>.listener( - _ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError_closureTrampoline) - ..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError_registerClosure( - (ffi.Pointer arg0, ffi.Pointer arg1, - ffi.Pointer arg2) => - fn( - arg0.address == 0 - ? null - : NSURLResponse._(arg0, lib, retain: true, release: true), - arg1.address == 0 ? null : NSData._(arg1, lib, retain: true, release: true), - arg2.address == 0 ? null : NSError._(arg2, lib, retain: true, release: true)))), - lib); + AVFAudio lib, + void Function(NSURLResponse?, NSData?, NSError?) fn, + ) : this._(objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >.listener( + _ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError_registerClosure(( + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, + ) => fn( + arg0.address == 0 + ? null + : NSURLResponse._(arg0, lib, retain: true, release: true), + arg1.address == 0 + ? null + : NSData._(arg1, lib, retain: true, release: true), + arg2.address == 0 + ? null + : NSError._(arg2, lib, retain: true, release: true), + )), + ), lib); static ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>? _dartFuncListenerTrampoline; - - void call(NSURLResponse? arg0, NSData? arg1, NSError? arg2) => _id.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2)>>() - .asFunction< - void Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>()( - _id, - arg0?._id ?? ffi.nullptr, - arg1?._id ?? ffi.nullptr, - arg2?._id ?? ffi.nullptr); + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >? _dartFuncListenerTrampoline; + + void call(NSURLResponse? arg0, NSData? arg1, NSError? arg2) => pointer + .ref + .invoke + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, + ) + > + >() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >()( + pointer, + arg0?.pointer ?? ffi.nullptr, + arg1?.pointer ?? ffi.nullptr, + arg2?.pointer ?? ffi.nullptr, + ); } class NSURLCredential extends NSObject { - NSURLCredential._(ffi.Pointer id, AVFAudio lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSURLCredential._( + ffi.Pointer pointer, + AVFAudio lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSURLCredential] that points to the same underlying object as [other]. - static NSURLCredential castFrom(T other) { - return NSURLCredential._(other._id, other._lib, - retain: true, release: true); + static NSURLCredential castFrom( + AVFAudio lib, + T other, + ) { + return NSURLCredential._(other.pointer, lib, retain: true, release: true); } /// Returns a [NSURLCredential] that wraps the given raw object pointer. static NSURLCredential castFromPointer( - AVFAudio lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + AVFAudio lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSURLCredential._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSURLCredential]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0(obj._id, obj._lib._sel_isKindOfClass_1, - obj._lib._class_NSURLCredential1); + static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSURLCredential1, + ); } int get persistence { - return _lib._objc_msgSend_993(_id, _lib._sel_persistence1); + return _lib._objc_msgSend_993(this.pointer, _lib._sel_persistence1); } NSURLCredential initWithUser_password_persistence_( - NSString user, NSString password, int persistence) { + NSString user, + NSString password, + int persistence, + ) { final _ret = _lib._objc_msgSend_994( - _id, - _lib._sel_initWithUser_password_persistence_1, - user._id, - password._id, - persistence); + this.pointer, + _lib._sel_initWithUser_password_persistence_1, + user.pointer, + password.pointer, + persistence, + ); return NSURLCredential._(_ret, _lib, retain: true, release: true); } static NSURLCredential credentialWithUser_password_persistence_( - AVFAudio _lib, NSString user, NSString password, int persistence) { + AVFAudio _lib, + NSString user, + NSString password, + int persistence, + ) { final _ret = _lib._objc_msgSend_995( - _lib._class_NSURLCredential1, - _lib._sel_credentialWithUser_password_persistence_1, - user._id, - password._id, - persistence); + _lib._class_NSURLCredential1, + _lib._sel_credentialWithUser_password_persistence_1, + user.pointer, + password.pointer, + persistence, + ); return NSURLCredential._(_ret, _lib, retain: true, release: true); } NSString? get user { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_user1); + final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_user1); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } NSString? get password { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_password1); + final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_password1); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } bool get hasPassword { - return _lib._objc_msgSend_12(_id, _lib._sel_hasPassword1); + return _lib._objc_msgSend_12(this.pointer, _lib._sel_hasPassword1); } NSURLCredential initWithIdentity_certificates_persistence_( - ffi.Pointer<__SecIdentity> identity, - NSArray? certArray, - int persistence) { + ffi.Pointer<__SecIdentity> identity, + NSArray? certArray, + int persistence, + ) { final _ret = _lib._objc_msgSend_996( - _id, - _lib._sel_initWithIdentity_certificates_persistence_1, - identity, - certArray?._id ?? ffi.nullptr, - persistence); + this.pointer, + _lib._sel_initWithIdentity_certificates_persistence_1, + identity, + certArray?.pointer ?? ffi.nullptr, + persistence, + ); return NSURLCredential._(_ret, _lib, retain: true, release: true); } static NSURLCredential credentialWithIdentity_certificates_persistence_( - AVFAudio _lib, - ffi.Pointer<__SecIdentity> identity, - NSArray? certArray, - int persistence) { + AVFAudio _lib, + ffi.Pointer<__SecIdentity> identity, + NSArray? certArray, + int persistence, + ) { final _ret = _lib._objc_msgSend_997( - _lib._class_NSURLCredential1, - _lib._sel_credentialWithIdentity_certificates_persistence_1, - identity, - certArray?._id ?? ffi.nullptr, - persistence); + _lib._class_NSURLCredential1, + _lib._sel_credentialWithIdentity_certificates_persistence_1, + identity, + certArray?.pointer ?? ffi.nullptr, + persistence, + ); return NSURLCredential._(_ret, _lib, retain: true, release: true); } ffi.Pointer<__SecIdentity> get identity { - return _lib._objc_msgSend_998(_id, _lib._sel_identity1); + return _lib._objc_msgSend_998(this.pointer, _lib._sel_identity1); } NSArray get certificates { - final _ret = _lib._objc_msgSend_85(_id, _lib._sel_certificates1); + final _ret = _lib._objc_msgSend_85(this.pointer, _lib._sel_certificates1); return NSArray._(_ret, _lib, retain: true, release: true); } NSURLCredential initWithTrust_(ffi.Pointer<__SecTrust> trust) { - final _ret = _lib._objc_msgSend_999(_id, _lib._sel_initWithTrust_1, trust); + final _ret = _lib._objc_msgSend_999( + this.pointer, + _lib._sel_initWithTrust_1, + trust, + ); return NSURLCredential._(_ret, _lib, retain: true, release: true); } static NSURLCredential credentialForTrust_( - AVFAudio _lib, ffi.Pointer<__SecTrust> trust) { + AVFAudio _lib, + ffi.Pointer<__SecTrust> trust, + ) { final _ret = _lib._objc_msgSend_1000( - _lib._class_NSURLCredential1, _lib._sel_credentialForTrust_1, trust); + _lib._class_NSURLCredential1, + _lib._sel_credentialForTrust_1, + trust, + ); return NSURLCredential._(_ret, _lib, retain: true, release: true); } @override NSURLCredential init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSURLCredential._(_ret, _lib, retain: true, release: true); } static NSURLCredential new1(AVFAudio _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSURLCredential1, _lib._sel_new1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSURLCredential1, + _lib._sel_new1, + ); return NSURLCredential._(_ret, _lib, retain: false, release: true); } static NSURLCredential allocWithZone_( - AVFAudio _lib, ffi.Pointer<_NSZone> zone) { + AVFAudio _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSURLCredential1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSURLCredential1, + _lib._sel_allocWithZone_1, + zone, + ); return NSURLCredential._(_ret, _lib, retain: false, release: true); } static NSURLCredential alloc(AVFAudio _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSURLCredential1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSURLCredential1, + _lib._sel_alloc1, + ); return NSURLCredential._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + AVFAudio _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSURLCredential1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSURLCredential1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSURLCredential1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + AVFAudio _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSURLCredential1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { - return _lib._objc_msgSend_12(_lib._class_NSURLCredential1, - _lib._sel_accessInstanceVariablesDirectly1); + return _lib._objc_msgSend_12( + _lib._class_NSURLCredential1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(AVFAudio _lib) { return _lib._objc_msgSend_12( - _lib._class_NSURLCredential1, _lib._sel_useStoredAccessor1); + _lib._class_NSURLCredential1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSURLCredential1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSURLCredential1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSURLCredential1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSURLCredential1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, NSArray keys, NSString dependentKey) { + AVFAudio _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSURLCredential1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSURLCredential1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_85(_lib._class_NSURLCredential1, - _lib._sel_classFallbacksForKeyedArchiver1); + final _ret = _lib._objc_msgSend_85( + _lib._class_NSURLCredential1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(AVFAudio _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLCredential1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSURLCredential1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } @@ -68497,473 +91403,656 @@ final class __SecIdentity extends ffi.Opaque {} final class __SecTrust extends ffi.Opaque {} class NSURLProtectionSpace extends NSObject { - NSURLProtectionSpace._(ffi.Pointer id, AVFAudio lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSURLProtectionSpace._( + ffi.Pointer pointer, + AVFAudio lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSURLProtectionSpace] that points to the same underlying object as [other]. - static NSURLProtectionSpace castFrom(T other) { - return NSURLProtectionSpace._(other._id, other._lib, - retain: true, release: true); + static NSURLProtectionSpace castFrom( + AVFAudio lib, + T other, + ) { + return NSURLProtectionSpace._( + other.pointer, + lib, + retain: true, + release: true, + ); } /// Returns a [NSURLProtectionSpace] that wraps the given raw object pointer. static NSURLProtectionSpace castFromPointer( - AVFAudio lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + AVFAudio lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSURLProtectionSpace._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSURLProtectionSpace]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0(obj._id, obj._lib._sel_isKindOfClass_1, - obj._lib._class_NSURLProtectionSpace1); + static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSURLProtectionSpace1, + ); } NSURLProtectionSpace initWithHost_port_protocol_realm_authenticationMethod_( - NSString host, - int port, - NSString? protocol, - NSString? realm, - NSString? authenticationMethod) { + NSString host, + int port, + NSString? protocol, + NSString? realm, + NSString? authenticationMethod, + ) { final _ret = _lib._objc_msgSend_1001( - _id, - _lib._sel_initWithHost_port_protocol_realm_authenticationMethod_1, - host._id, - port, - protocol?._id ?? ffi.nullptr, - realm?._id ?? ffi.nullptr, - authenticationMethod?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_initWithHost_port_protocol_realm_authenticationMethod_1, + host.pointer, + port, + protocol?.pointer ?? ffi.nullptr, + realm?.pointer ?? ffi.nullptr, + authenticationMethod?.pointer ?? ffi.nullptr, + ); return NSURLProtectionSpace._(_ret, _lib, retain: true, release: true); } NSURLProtectionSpace initWithProxyHost_port_type_realm_authenticationMethod_( - NSString host, - int port, - NSString? type, - NSString? realm, - NSString? authenticationMethod) { + NSString host, + int port, + NSString? type, + NSString? realm, + NSString? authenticationMethod, + ) { final _ret = _lib._objc_msgSend_1001( - _id, - _lib._sel_initWithProxyHost_port_type_realm_authenticationMethod_1, - host._id, - port, - type?._id ?? ffi.nullptr, - realm?._id ?? ffi.nullptr, - authenticationMethod?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_initWithProxyHost_port_type_realm_authenticationMethod_1, + host.pointer, + port, + type?.pointer ?? ffi.nullptr, + realm?.pointer ?? ffi.nullptr, + authenticationMethod?.pointer ?? ffi.nullptr, + ); return NSURLProtectionSpace._(_ret, _lib, retain: true, release: true); } NSString? get realm { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_realm1); + final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_realm1); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } bool get receivesCredentialSecurely { - return _lib._objc_msgSend_12(_id, _lib._sel_receivesCredentialSecurely1); + return _lib._objc_msgSend_12( + this.pointer, + _lib._sel_receivesCredentialSecurely1, + ); } bool get isProxy { - return _lib._objc_msgSend_12(_id, _lib._sel_isProxy1); + return _lib._objc_msgSend_12(this.pointer, _lib._sel_isProxy1); } NSString get host { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_host1); + final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_host1); return NSString._(_ret, _lib, retain: true, release: true); } int get port { - return _lib._objc_msgSend_83(_id, _lib._sel_port1); + return _lib._objc_msgSend_83(this.pointer, _lib._sel_port1); } NSString? get proxyType { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_proxyType1); + final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_proxyType1); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } NSString? get protocol { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_protocol1); + final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_protocol1); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } NSString get authenticationMethod { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_authenticationMethod1); + final _ret = _lib._objc_msgSend_21( + this.pointer, + _lib._sel_authenticationMethod1, + ); return NSString._(_ret, _lib, retain: true, release: true); } NSArray? get distinguishedNames { - final _ret = _lib._objc_msgSend_84(_id, _lib._sel_distinguishedNames1); + final _ret = _lib._objc_msgSend_84( + this.pointer, + _lib._sel_distinguishedNames1, + ); return _ret.address == 0 ? null : NSArray._(_ret, _lib, retain: true, release: true); } ffi.Pointer<__SecTrust> get serverTrust { - return _lib._objc_msgSend_1002(_id, _lib._sel_serverTrust1); + return _lib._objc_msgSend_1002(this.pointer, _lib._sel_serverTrust1); } @override NSURLProtectionSpace init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSURLProtectionSpace._(_ret, _lib, retain: true, release: true); } static NSURLProtectionSpace new1(AVFAudio _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSURLProtectionSpace1, _lib._sel_new1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSURLProtectionSpace1, + _lib._sel_new1, + ); return NSURLProtectionSpace._(_ret, _lib, retain: false, release: true); } static NSURLProtectionSpace allocWithZone_( - AVFAudio _lib, ffi.Pointer<_NSZone> zone) { + AVFAudio _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSURLProtectionSpace1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSURLProtectionSpace1, + _lib._sel_allocWithZone_1, + zone, + ); return NSURLProtectionSpace._(_ret, _lib, retain: false, release: true); } static NSURLProtectionSpace alloc(AVFAudio _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLProtectionSpace1, _lib._sel_alloc1); + _lib._class_NSURLProtectionSpace1, + _lib._sel_alloc1, + ); return NSURLProtectionSpace._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + AVFAudio _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSURLProtectionSpace1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSURLProtectionSpace1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSURLProtectionSpace1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + AVFAudio _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSURLProtectionSpace1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { - return _lib._objc_msgSend_12(_lib._class_NSURLProtectionSpace1, - _lib._sel_accessInstanceVariablesDirectly1); + return _lib._objc_msgSend_12( + _lib._class_NSURLProtectionSpace1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(AVFAudio _lib) { return _lib._objc_msgSend_12( - _lib._class_NSURLProtectionSpace1, _lib._sel_useStoredAccessor1); + _lib._class_NSURLProtectionSpace1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSURLProtectionSpace1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSURLProtectionSpace1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSURLProtectionSpace1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSURLProtectionSpace1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, NSArray keys, NSString dependentKey) { + AVFAudio _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSURLProtectionSpace1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSURLProtectionSpace1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_85(_lib._class_NSURLProtectionSpace1, - _lib._sel_classFallbacksForKeyedArchiver1); + final _ret = _lib._objc_msgSend_85( + _lib._class_NSURLProtectionSpace1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(AVFAudio _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLProtectionSpace1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSURLProtectionSpace1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } class NSURLCredentialStorage extends NSObject { - NSURLCredentialStorage._(ffi.Pointer id, AVFAudio lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSURLCredentialStorage._( + ffi.Pointer pointer, + AVFAudio lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSURLCredentialStorage] that points to the same underlying object as [other]. - static NSURLCredentialStorage castFrom(T other) { - return NSURLCredentialStorage._(other._id, other._lib, - retain: true, release: true); + static NSURLCredentialStorage castFrom( + AVFAudio lib, + T other, + ) { + return NSURLCredentialStorage._( + other.pointer, + lib, + retain: true, + release: true, + ); } /// Returns a [NSURLCredentialStorage] that wraps the given raw object pointer. static NSURLCredentialStorage castFromPointer( - AVFAudio lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { - return NSURLCredentialStorage._(other, lib, - retain: retain, release: release); + AVFAudio lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { + return NSURLCredentialStorage._( + other, + lib, + retain: retain, + release: release, + ); } /// Returns whether [obj] is an instance of [NSURLCredentialStorage]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0(obj._id, obj._lib._sel_isKindOfClass_1, - obj._lib._class_NSURLCredentialStorage1); + static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSURLCredentialStorage1, + ); } static NSURLCredentialStorage getSharedCredentialStorage(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_1003(_lib._class_NSURLCredentialStorage1, - _lib._sel_sharedCredentialStorage1); + final _ret = _lib._objc_msgSend_1003( + _lib._class_NSURLCredentialStorage1, + _lib._sel_sharedCredentialStorage1, + ); return NSURLCredentialStorage._(_ret, _lib, retain: true, release: true); } NSDictionary? credentialsForProtectionSpace_(NSURLProtectionSpace space) { final _ret = _lib._objc_msgSend_1004( - _id, _lib._sel_credentialsForProtectionSpace_1, space._id); + this.pointer, + _lib._sel_credentialsForProtectionSpace_1, + space.pointer, + ); return _ret.address == 0 ? null : NSDictionary._(_ret, _lib, retain: true, release: true); } NSDictionary get allCredentials { - final _ret = _lib._objc_msgSend_181(_id, _lib._sel_allCredentials1); + final _ret = _lib._objc_msgSend_181( + this.pointer, + _lib._sel_allCredentials1, + ); return NSDictionary._(_ret, _lib, retain: true, release: true); } void setCredential_forProtectionSpace_( - NSURLCredential credential, NSURLProtectionSpace space) { - _lib._objc_msgSend_1005(_id, _lib._sel_setCredential_forProtectionSpace_1, - credential._id, space._id); + NSURLCredential credential, + NSURLProtectionSpace space, + ) { + _lib._objc_msgSend_1005( + this.pointer, + _lib._sel_setCredential_forProtectionSpace_1, + credential.pointer, + space.pointer, + ); } void removeCredential_forProtectionSpace_( - NSURLCredential credential, NSURLProtectionSpace space) { + NSURLCredential credential, + NSURLProtectionSpace space, + ) { _lib._objc_msgSend_1005( - _id, - _lib._sel_removeCredential_forProtectionSpace_1, - credential._id, - space._id); + this.pointer, + _lib._sel_removeCredential_forProtectionSpace_1, + credential.pointer, + space.pointer, + ); } - void removeCredential_forProtectionSpace_options_(NSURLCredential credential, - NSURLProtectionSpace space, NSDictionary? options) { + void removeCredential_forProtectionSpace_options_( + NSURLCredential credential, + NSURLProtectionSpace space, + NSDictionary? options, + ) { _lib._objc_msgSend_1006( - _id, - _lib._sel_removeCredential_forProtectionSpace_options_1, - credential._id, - space._id, - options?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_removeCredential_forProtectionSpace_options_1, + credential.pointer, + space.pointer, + options?.pointer ?? ffi.nullptr, + ); } NSURLCredential? defaultCredentialForProtectionSpace_( - NSURLProtectionSpace space) { + NSURLProtectionSpace space, + ) { final _ret = _lib._objc_msgSend_1007( - _id, _lib._sel_defaultCredentialForProtectionSpace_1, space._id); + this.pointer, + _lib._sel_defaultCredentialForProtectionSpace_1, + space.pointer, + ); return _ret.address == 0 ? null : NSURLCredential._(_ret, _lib, retain: true, release: true); } void setDefaultCredential_forProtectionSpace_( - NSURLCredential credential, NSURLProtectionSpace space) { + NSURLCredential credential, + NSURLProtectionSpace space, + ) { _lib._objc_msgSend_1005( - _id, - _lib._sel_setDefaultCredential_forProtectionSpace_1, - credential._id, - space._id); + this.pointer, + _lib._sel_setDefaultCredential_forProtectionSpace_1, + credential.pointer, + space.pointer, + ); } void getCredentialsForProtectionSpace_task_completionHandler_( - NSURLProtectionSpace protectionSpace, - NSURLSessionTask task, - ObjCBlock_ffiVoid_NSDictionary completionHandler) { + NSURLProtectionSpace protectionSpace, + NSURLSessionTask task, + ObjCBlock_ffiVoid_NSDictionary completionHandler, + ) { _lib._objc_msgSend_1008( - _id, - _lib._sel_getCredentialsForProtectionSpace_task_completionHandler_1, - protectionSpace._id, - task._id, - completionHandler._id); + this.pointer, + _lib._sel_getCredentialsForProtectionSpace_task_completionHandler_1, + protectionSpace.pointer, + task.pointer, + completionHandler.pointer, + ); } - void setCredential_forProtectionSpace_task_(NSURLCredential credential, - NSURLProtectionSpace protectionSpace, NSURLSessionTask task) { + void setCredential_forProtectionSpace_task_( + NSURLCredential credential, + NSURLProtectionSpace protectionSpace, + NSURLSessionTask task, + ) { _lib._objc_msgSend_1009( - _id, - _lib._sel_setCredential_forProtectionSpace_task_1, - credential._id, - protectionSpace._id, - task._id); + this.pointer, + _lib._sel_setCredential_forProtectionSpace_task_1, + credential.pointer, + protectionSpace.pointer, + task.pointer, + ); } void removeCredential_forProtectionSpace_options_task_( - NSURLCredential credential, - NSURLProtectionSpace protectionSpace, - NSDictionary? options, - NSURLSessionTask task) { + NSURLCredential credential, + NSURLProtectionSpace protectionSpace, + NSDictionary? options, + NSURLSessionTask task, + ) { _lib._objc_msgSend_1010( - _id, - _lib._sel_removeCredential_forProtectionSpace_options_task_1, - credential._id, - protectionSpace._id, - options?._id ?? ffi.nullptr, - task._id); + this.pointer, + _lib._sel_removeCredential_forProtectionSpace_options_task_1, + credential.pointer, + protectionSpace.pointer, + options?.pointer ?? ffi.nullptr, + task.pointer, + ); } void getDefaultCredentialForProtectionSpace_task_completionHandler_( - NSURLProtectionSpace space, - NSURLSessionTask task, - ObjCBlock_ffiVoid_NSURLCredential completionHandler) { + NSURLProtectionSpace space, + NSURLSessionTask task, + ObjCBlock_ffiVoid_NSURLCredential completionHandler, + ) { _lib._objc_msgSend_1011( - _id, - _lib._sel_getDefaultCredentialForProtectionSpace_task_completionHandler_1, - space._id, - task._id, - completionHandler._id); + this.pointer, + _lib._sel_getDefaultCredentialForProtectionSpace_task_completionHandler_1, + space.pointer, + task.pointer, + completionHandler.pointer, + ); } - void setDefaultCredential_forProtectionSpace_task_(NSURLCredential credential, - NSURLProtectionSpace protectionSpace, NSURLSessionTask task) { + void setDefaultCredential_forProtectionSpace_task_( + NSURLCredential credential, + NSURLProtectionSpace protectionSpace, + NSURLSessionTask task, + ) { _lib._objc_msgSend_1009( - _id, - _lib._sel_setDefaultCredential_forProtectionSpace_task_1, - credential._id, - protectionSpace._id, - task._id); + this.pointer, + _lib._sel_setDefaultCredential_forProtectionSpace_task_1, + credential.pointer, + protectionSpace.pointer, + task.pointer, + ); } @override NSURLCredentialStorage init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSURLCredentialStorage._(_ret, _lib, retain: true, release: true); } static NSURLCredentialStorage new1(AVFAudio _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLCredentialStorage1, _lib._sel_new1); + _lib._class_NSURLCredentialStorage1, + _lib._sel_new1, + ); return NSURLCredentialStorage._(_ret, _lib, retain: false, release: true); } static NSURLCredentialStorage allocWithZone_( - AVFAudio _lib, ffi.Pointer<_NSZone> zone) { + AVFAudio _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSURLCredentialStorage1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSURLCredentialStorage1, + _lib._sel_allocWithZone_1, + zone, + ); return NSURLCredentialStorage._(_ret, _lib, retain: false, release: true); } static NSURLCredentialStorage alloc(AVFAudio _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLCredentialStorage1, _lib._sel_alloc1); + _lib._class_NSURLCredentialStorage1, + _lib._sel_alloc1, + ); return NSURLCredentialStorage._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + AVFAudio _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSURLCredentialStorage1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSURLCredentialStorage1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSURLCredentialStorage1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + AVFAudio _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSURLCredentialStorage1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { - return _lib._objc_msgSend_12(_lib._class_NSURLCredentialStorage1, - _lib._sel_accessInstanceVariablesDirectly1); + return _lib._objc_msgSend_12( + _lib._class_NSURLCredentialStorage1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(AVFAudio _lib) { return _lib._objc_msgSend_12( - _lib._class_NSURLCredentialStorage1, _lib._sel_useStoredAccessor1); + _lib._class_NSURLCredentialStorage1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSURLCredentialStorage1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSURLCredentialStorage1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSURLCredentialStorage1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSURLCredentialStorage1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, NSArray keys, NSString dependentKey) { + AVFAudio _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSURLCredentialStorage1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSURLCredentialStorage1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_85(_lib._class_NSURLCredentialStorage1, - _lib._sel_classFallbacksForKeyedArchiver1); + final _ret = _lib._objc_msgSend_85( + _lib._class_NSURLCredentialStorage1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2(_lib._class_NSURLCredentialStorage1, - _lib._sel_classForKeyedUnarchiver1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSURLCredentialStorage1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } void _ObjCBlock_ffiVoid_NSDictionary_fnPtrTrampoline( - ffi.Pointer<_ObjCBlock> block, ffi.Pointer arg0) => - block.ref.target - .cast< - ffi - .NativeFunction arg0)>>() - .asFunction)>()(arg0); + ffi.Pointer block, + ffi.Pointer arg0, +) => block.ref.target + .cast< + ffi.NativeFunction arg0)> + >() + .asFunction)>()(arg0); final _ObjCBlock_ffiVoid_NSDictionary_closureRegistry = - )>{}; + )>{}; int _ObjCBlock_ffiVoid_NSDictionary_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_ffiVoid_NSDictionary_registerClosure( - void Function(ffi.Pointer) fn) { + void Function(ffi.Pointer) fn, +) { final id = ++_ObjCBlock_ffiVoid_NSDictionary_closureRegistryIndex; _ObjCBlock_ffiVoid_NSDictionary_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } void _ObjCBlock_ffiVoid_NSDictionary_closureTrampoline( - ffi.Pointer<_ObjCBlock> block, ffi.Pointer arg0) => - _ObjCBlock_ffiVoid_NSDictionary_closureRegistry[block.ref.target.address]!( - arg0); - -class ObjCBlock_ffiVoid_NSDictionary extends _ObjCBlockBase { - ObjCBlock_ffiVoid_NSDictionary._(ffi.Pointer<_ObjCBlock> id, AVFAudio lib, - {bool retain = false, bool release = true}) - : super._(id, lib, retain: retain, release: release); + ffi.Pointer block, + ffi.Pointer arg0, +) => _ObjCBlock_ffiVoid_NSDictionary_closureRegistry[block.ref.target.address]!( + arg0, +); + +class ObjCBlock_ffiVoid_NSDictionary extends objc.ObjCBlockBase { + ObjCBlock_ffiVoid_NSDictionary._( + ffi.Pointer pointer, + this._lib, { + bool retain = false, + bool release = true, + }) : super(pointer, retain: retain, release: release); + + AVFAudio _lib; /// Returns a block that wraps the given raw block pointer. static ObjCBlock_ffiVoid_NSDictionary castFromPointer( - AVFAudio lib, ffi.Pointer<_ObjCBlock> pointer, - {bool retain = false, bool release = false}) { - return ObjCBlock_ffiVoid_NSDictionary._(pointer, lib, - retain: retain, release: release); + AVFAudio lib, + ffi.Pointer pointer, { + bool retain = false, + bool release = false, + }) { + return ObjCBlock_ffiVoid_NSDictionary._( + pointer, + lib, + retain: retain, + release: release, + ); } /// Creates a block from a C function pointer. @@ -68972,20 +92061,20 @@ class ObjCBlock_ffiVoid_NSDictionary extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSDictionary.fromFunctionPointer( - AVFAudio lib, - ffi.Pointer< - ffi - .NativeFunction arg0)>> - ptr) - : this._( - lib._newBlock1( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_NSDictionary_fnPtrTrampoline) - .cast(), - ptr.cast()), - lib); + AVFAudio lib, + ffi.Pointer< + ffi.NativeFunction arg0)> + > ptr, + ) : this._(objc.newBlock( + _cFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_NSDictionary_fnPtrTrampoline).cast(), + ptr.cast(), + ), lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -68994,19 +92083,24 @@ class ObjCBlock_ffiVoid_NSDictionary extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSDictionary.fromFunction( - AVFAudio lib, void Function(NSDictionary?) fn) - : this._( - lib._newBlock1( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_NSDictionary_closureTrampoline) - .cast(), - _ObjCBlock_ffiVoid_NSDictionary_registerClosure( - (ffi.Pointer arg0) => fn(arg0.address == 0 - ? null - : NSDictionary._(arg0, lib, retain: true, release: true)))), - lib); + AVFAudio lib, + void Function(NSDictionary?) fn, + ) : this._(objc.newBlock( + _dartFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_NSDictionary_closureTrampoline).cast(), + _ObjCBlock_ffiVoid_NSDictionary_registerClosure(( + ffi.Pointer arg0, + ) => fn( + arg0.address == 0 + ? null + : NSDictionary._(arg0, lib, retain: true, release: true), + )), + ), lib); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -69019,68 +92113,95 @@ class ObjCBlock_ffiVoid_NSDictionary extends _ObjCBlockBase { /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. ObjCBlock_ffiVoid_NSDictionary.listener( - AVFAudio lib, void Function(NSDictionary?) fn) - : this._( - lib._newBlock1( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, - ffi.Pointer)>.listener( - _ObjCBlock_ffiVoid_NSDictionary_closureTrampoline) - ..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSDictionary_registerClosure( - (ffi.Pointer arg0) => fn(arg0.address == 0 - ? null - : NSDictionary._(arg0, lib, retain: true, release: true)))), - lib); + AVFAudio lib, + void Function(NSDictionary?) fn, + ) : this._(objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ) + >.listener( + _ObjCBlock_ffiVoid_NSDictionary_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSDictionary_registerClosure(( + ffi.Pointer arg0, + ) => fn( + arg0.address == 0 + ? null + : NSDictionary._(arg0, lib, retain: true, release: true), + )), + ), lib); static ffi.NativeCallable< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer)>? - _dartFuncListenerTrampoline; + ffi.Void Function(ffi.Pointer, ffi.Pointer) + >? _dartFuncListenerTrampoline; - void call(NSDictionary? arg0) => _id.ref.invoke + void call(NSDictionary? arg0) => pointer.ref.invoke .cast< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0)>>() + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer block, + ffi.Pointer arg0, + ) + > + >() .asFunction< - void Function(ffi.Pointer<_ObjCBlock>, - ffi.Pointer)>()(_id, arg0?._id ?? ffi.nullptr); + void Function(ffi.Pointer, ffi.Pointer) + >()(pointer, arg0?.pointer ?? ffi.nullptr); } void _ObjCBlock_ffiVoid_NSURLCredential_fnPtrTrampoline( - ffi.Pointer<_ObjCBlock> block, ffi.Pointer arg0) => - block.ref.target - .cast< - ffi - .NativeFunction arg0)>>() - .asFunction)>()(arg0); + ffi.Pointer block, + ffi.Pointer arg0, +) => block.ref.target + .cast< + ffi.NativeFunction arg0)> + >() + .asFunction)>()(arg0); final _ObjCBlock_ffiVoid_NSURLCredential_closureRegistry = - )>{}; + )>{}; int _ObjCBlock_ffiVoid_NSURLCredential_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_ffiVoid_NSURLCredential_registerClosure( - void Function(ffi.Pointer) fn) { + void Function(ffi.Pointer) fn, +) { final id = ++_ObjCBlock_ffiVoid_NSURLCredential_closureRegistryIndex; _ObjCBlock_ffiVoid_NSURLCredential_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } void _ObjCBlock_ffiVoid_NSURLCredential_closureTrampoline( - ffi.Pointer<_ObjCBlock> block, ffi.Pointer arg0) => - _ObjCBlock_ffiVoid_NSURLCredential_closureRegistry[ - block.ref.target.address]!(arg0); - -class ObjCBlock_ffiVoid_NSURLCredential extends _ObjCBlockBase { - ObjCBlock_ffiVoid_NSURLCredential._(ffi.Pointer<_ObjCBlock> id, AVFAudio lib, - {bool retain = false, bool release = true}) - : super._(id, lib, retain: retain, release: release); + ffi.Pointer block, + ffi.Pointer arg0, +) => _ObjCBlock_ffiVoid_NSURLCredential_closureRegistry[block + .ref + .target + .address]!(arg0); + +class ObjCBlock_ffiVoid_NSURLCredential extends objc.ObjCBlockBase { + ObjCBlock_ffiVoid_NSURLCredential._( + ffi.Pointer pointer, + this._lib, { + bool retain = false, + bool release = true, + }) : super(pointer, retain: retain, release: release); + + AVFAudio _lib; /// Returns a block that wraps the given raw block pointer. static ObjCBlock_ffiVoid_NSURLCredential castFromPointer( - AVFAudio lib, ffi.Pointer<_ObjCBlock> pointer, - {bool retain = false, bool release = false}) { - return ObjCBlock_ffiVoid_NSURLCredential._(pointer, lib, - retain: retain, release: release); + AVFAudio lib, + ffi.Pointer pointer, { + bool retain = false, + bool release = false, + }) { + return ObjCBlock_ffiVoid_NSURLCredential._( + pointer, + lib, + retain: retain, + release: release, + ); } /// Creates a block from a C function pointer. @@ -69089,20 +92210,20 @@ class ObjCBlock_ffiVoid_NSURLCredential extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSURLCredential.fromFunctionPointer( - AVFAudio lib, - ffi.Pointer< - ffi - .NativeFunction arg0)>> - ptr) - : this._( - lib._newBlock1( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_NSURLCredential_fnPtrTrampoline) - .cast(), - ptr.cast()), - lib); + AVFAudio lib, + ffi.Pointer< + ffi.NativeFunction arg0)> + > ptr, + ) : this._(objc.newBlock( + _cFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_NSURLCredential_fnPtrTrampoline).cast(), + ptr.cast(), + ), lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -69111,19 +92232,24 @@ class ObjCBlock_ffiVoid_NSURLCredential extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSURLCredential.fromFunction( - AVFAudio lib, void Function(NSURLCredential?) fn) - : this._( - lib._newBlock1( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_NSURLCredential_closureTrampoline) - .cast(), - _ObjCBlock_ffiVoid_NSURLCredential_registerClosure( - (ffi.Pointer arg0) => fn(arg0.address == 0 - ? null - : NSURLCredential._(arg0, lib, retain: true, release: true)))), - lib); + AVFAudio lib, + void Function(NSURLCredential?) fn, + ) : this._(objc.newBlock( + _dartFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_NSURLCredential_closureTrampoline).cast(), + _ObjCBlock_ffiVoid_NSURLCredential_registerClosure(( + ffi.Pointer arg0, + ) => fn( + arg0.address == 0 + ? null + : NSURLCredential._(arg0, lib, retain: true, release: true), + )), + ), lib); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -69136,167 +92262,243 @@ class ObjCBlock_ffiVoid_NSURLCredential extends _ObjCBlockBase { /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. ObjCBlock_ffiVoid_NSURLCredential.listener( - AVFAudio lib, void Function(NSURLCredential?) fn) - : this._( - lib._newBlock1( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, ffi.Pointer)>.listener( - _ObjCBlock_ffiVoid_NSURLCredential_closureTrampoline) - ..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSURLCredential_registerClosure( - (ffi.Pointer arg0) => fn(arg0.address == 0 - ? null - : NSURLCredential._(arg0, lib, retain: true, release: true)))), - lib); + AVFAudio lib, + void Function(NSURLCredential?) fn, + ) : this._(objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ) + >.listener( + _ObjCBlock_ffiVoid_NSURLCredential_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSURLCredential_registerClosure(( + ffi.Pointer arg0, + ) => fn( + arg0.address == 0 + ? null + : NSURLCredential._(arg0, lib, retain: true, release: true), + )), + ), lib); static ffi.NativeCallable< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer)>? - _dartFuncListenerTrampoline; + ffi.Void Function(ffi.Pointer, ffi.Pointer) + >? _dartFuncListenerTrampoline; - void call(NSURLCredential? arg0) => _id.ref.invoke + void call(NSURLCredential? arg0) => pointer.ref.invoke .cast< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0)>>() + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer block, + ffi.Pointer arg0, + ) + > + >() .asFunction< - void Function(ffi.Pointer<_ObjCBlock>, - ffi.Pointer)>()(_id, arg0?._id ?? ffi.nullptr); + void Function(ffi.Pointer, ffi.Pointer) + >()(pointer, arg0?.pointer ?? ffi.nullptr); } class NSURLProtocol extends NSObject { - NSURLProtocol._(ffi.Pointer id, AVFAudio lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSURLProtocol._( + ffi.Pointer pointer, + AVFAudio lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSURLProtocol] that points to the same underlying object as [other]. - static NSURLProtocol castFrom(T other) { - return NSURLProtocol._(other._id, other._lib, retain: true, release: true); + static NSURLProtocol castFrom( + AVFAudio lib, + T other, + ) { + return NSURLProtocol._(other.pointer, lib, retain: true, release: true); } /// Returns a [NSURLProtocol] that wraps the given raw object pointer. static NSURLProtocol castFromPointer( - AVFAudio lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + AVFAudio lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSURLProtocol._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSURLProtocol]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_NSURLProtocol1); + static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSURLProtocol1, + ); } - NSURLProtocol initWithRequest_cachedResponse_client_(NSURLRequest request, - NSCachedURLResponse? cachedResponse, NSObject? client) { + NSURLProtocol initWithRequest_cachedResponse_client_( + NSURLRequest request, + NSCachedURLResponse? cachedResponse, + NSObject? client, + ) { final _ret = _lib._objc_msgSend_1012( - _id, - _lib._sel_initWithRequest_cachedResponse_client_1, - request._id, - cachedResponse?._id ?? ffi.nullptr, - client?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_initWithRequest_cachedResponse_client_1, + request.pointer, + cachedResponse?.pointer ?? ffi.nullptr, + client?.pointer ?? ffi.nullptr, + ); return NSURLProtocol._(_ret, _lib, retain: true, release: true); } NSObject? get client { - final _ret = _lib._objc_msgSend_17(_id, _lib._sel_client1); + final _ret = _lib._objc_msgSend_17(this.pointer, _lib._sel_client1); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } NSURLRequest get request { - final _ret = _lib._objc_msgSend_988(_id, _lib._sel_request1); + final _ret = _lib._objc_msgSend_988(this.pointer, _lib._sel_request1); return NSURLRequest._(_ret, _lib, retain: true, release: true); } NSCachedURLResponse? get cachedResponse { - final _ret = _lib._objc_msgSend_1013(_id, _lib._sel_cachedResponse1); + final _ret = _lib._objc_msgSend_1013( + this.pointer, + _lib._sel_cachedResponse1, + ); return _ret.address == 0 ? null : NSCachedURLResponse._(_ret, _lib, retain: true, release: true); } static bool canInitWithRequest_(AVFAudio _lib, NSURLRequest request) { - return _lib._objc_msgSend_990(_lib._class_NSURLProtocol1, - _lib._sel_canInitWithRequest_1, request._id); + return _lib._objc_msgSend_990( + _lib._class_NSURLProtocol1, + _lib._sel_canInitWithRequest_1, + request.pointer, + ); } static NSURLRequest canonicalRequestForRequest_( - AVFAudio _lib, NSURLRequest request) { - final _ret = _lib._objc_msgSend_1014(_lib._class_NSURLProtocol1, - _lib._sel_canonicalRequestForRequest_1, request._id); + AVFAudio _lib, + NSURLRequest request, + ) { + final _ret = _lib._objc_msgSend_1014( + _lib._class_NSURLProtocol1, + _lib._sel_canonicalRequestForRequest_1, + request.pointer, + ); return NSURLRequest._(_ret, _lib, retain: true, release: true); } static bool requestIsCacheEquivalent_toRequest_( - AVFAudio _lib, NSURLRequest a, NSURLRequest b) { - return _lib._objc_msgSend_1015(_lib._class_NSURLProtocol1, - _lib._sel_requestIsCacheEquivalent_toRequest_1, a._id, b._id); + AVFAudio _lib, + NSURLRequest a, + NSURLRequest b, + ) { + return _lib._objc_msgSend_1015( + _lib._class_NSURLProtocol1, + _lib._sel_requestIsCacheEquivalent_toRequest_1, + a.pointer, + b.pointer, + ); } void startLoading() { - _lib._objc_msgSend_1(_id, _lib._sel_startLoading1); + _lib._objc_msgSend_1(this.pointer, _lib._sel_startLoading1); } void stopLoading() { - _lib._objc_msgSend_1(_id, _lib._sel_stopLoading1); + _lib._objc_msgSend_1(this.pointer, _lib._sel_stopLoading1); } static NSObject? propertyForKey_inRequest_( - AVFAudio _lib, NSString key, NSURLRequest request) { - final _ret = _lib._objc_msgSend_1016(_lib._class_NSURLProtocol1, - _lib._sel_propertyForKey_inRequest_1, key._id, request._id); + AVFAudio _lib, + NSString key, + NSURLRequest request, + ) { + final _ret = _lib._objc_msgSend_1016( + _lib._class_NSURLProtocol1, + _lib._sel_propertyForKey_inRequest_1, + key.pointer, + request.pointer, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } - static void setProperty_forKey_inRequest_(AVFAudio _lib, NSObject value, - NSString key, NSMutableURLRequest request) { + static void setProperty_forKey_inRequest_( + AVFAudio _lib, + NSObject value, + NSString key, + NSMutableURLRequest request, + ) { _lib._objc_msgSend_1023( - _lib._class_NSURLProtocol1, - _lib._sel_setProperty_forKey_inRequest_1, - value._id, - key._id, - request._id); + _lib._class_NSURLProtocol1, + _lib._sel_setProperty_forKey_inRequest_1, + value.pointer, + key.pointer, + request.pointer, + ); } static void removePropertyForKey_inRequest_( - AVFAudio _lib, NSString key, NSMutableURLRequest request) { - _lib._objc_msgSend_1024(_lib._class_NSURLProtocol1, - _lib._sel_removePropertyForKey_inRequest_1, key._id, request._id); + AVFAudio _lib, + NSString key, + NSMutableURLRequest request, + ) { + _lib._objc_msgSend_1024( + _lib._class_NSURLProtocol1, + _lib._sel_removePropertyForKey_inRequest_1, + key.pointer, + request.pointer, + ); } static bool registerClass_(AVFAudio _lib, NSObject protocolClass) { - return _lib._objc_msgSend_0(_lib._class_NSURLProtocol1, - _lib._sel_registerClass_1, protocolClass._id); + return _lib._objc_msgSend_0( + _lib._class_NSURLProtocol1, + _lib._sel_registerClass_1, + protocolClass.pointer, + ); } static void unregisterClass_(AVFAudio _lib, NSObject protocolClass) { - _lib._objc_msgSend_15(_lib._class_NSURLProtocol1, - _lib._sel_unregisterClass_1, protocolClass._id); + _lib._objc_msgSend_15( + _lib._class_NSURLProtocol1, + _lib._sel_unregisterClass_1, + protocolClass.pointer, + ); } static bool canInitWithTask_(AVFAudio _lib, NSURLSessionTask task) { return _lib._objc_msgSend_1025( - _lib._class_NSURLProtocol1, _lib._sel_canInitWithTask_1, task._id); + _lib._class_NSURLProtocol1, + _lib._sel_canInitWithTask_1, + task.pointer, + ); } - NSURLProtocol initWithTask_cachedResponse_client_(NSURLSessionTask task, - NSCachedURLResponse? cachedResponse, NSObject? client) { + NSURLProtocol initWithTask_cachedResponse_client_( + NSURLSessionTask task, + NSCachedURLResponse? cachedResponse, + NSObject? client, + ) { final _ret = _lib._objc_msgSend_1026( - _id, - _lib._sel_initWithTask_cachedResponse_client_1, - task._id, - cachedResponse?._id ?? ffi.nullptr, - client?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_initWithTask_cachedResponse_client_1, + task.pointer, + cachedResponse?.pointer ?? ffi.nullptr, + client?.pointer ?? ffi.nullptr, + ); return NSURLProtocol._(_ret, _lib, retain: true, release: true); } NSURLSessionTask? get task { - final _ret = _lib._objc_msgSend_1027(_id, _lib._sel_task1); + final _ret = _lib._objc_msgSend_1027(this.pointer, _lib._sel_task1); return _ret.address == 0 ? null : NSURLSessionTask._(_ret, _lib, retain: true, release: true); @@ -69304,120 +92506,174 @@ class NSURLProtocol extends NSObject { @override NSURLProtocol init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSURLProtocol._(_ret, _lib, retain: true, release: true); } static NSURLProtocol new1(AVFAudio _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSURLProtocol1, _lib._sel_new1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSURLProtocol1, + _lib._sel_new1, + ); return NSURLProtocol._(_ret, _lib, retain: false, release: true); } static NSURLProtocol allocWithZone_( - AVFAudio _lib, ffi.Pointer<_NSZone> zone) { + AVFAudio _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSURLProtocol1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSURLProtocol1, + _lib._sel_allocWithZone_1, + zone, + ); return NSURLProtocol._(_ret, _lib, retain: false, release: true); } static NSURLProtocol alloc(AVFAudio _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSURLProtocol1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSURLProtocol1, + _lib._sel_alloc1, + ); return NSURLProtocol._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + AVFAudio _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSURLProtocol1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSURLProtocol1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSURLProtocol1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + AVFAudio _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSURLProtocol1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { return _lib._objc_msgSend_12( - _lib._class_NSURLProtocol1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_NSURLProtocol1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(AVFAudio _lib) { return _lib._objc_msgSend_12( - _lib._class_NSURLProtocol1, _lib._sel_useStoredAccessor1); + _lib._class_NSURLProtocol1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSURLProtocol1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSURLProtocol1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSURLProtocol1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSURLProtocol1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, NSArray keys, NSString dependentKey) { + AVFAudio _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSURLProtocol1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSURLProtocol1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { final _ret = _lib._objc_msgSend_85( - _lib._class_NSURLProtocol1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSURLProtocol1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(AVFAudio _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLProtocol1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSURLProtocol1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } class NSMutableURLRequest extends NSURLRequest { - NSMutableURLRequest._(ffi.Pointer id, AVFAudio lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSMutableURLRequest._( + ffi.Pointer pointer, + AVFAudio lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSMutableURLRequest] that points to the same underlying object as [other]. - static NSMutableURLRequest castFrom(T other) { - return NSMutableURLRequest._(other._id, other._lib, - retain: true, release: true); + static NSMutableURLRequest castFrom( + AVFAudio lib, + T other, + ) { + return NSMutableURLRequest._( + other.pointer, + lib, + retain: true, + release: true, + ); } /// Returns a [NSMutableURLRequest] that wraps the given raw object pointer. static NSMutableURLRequest castFromPointer( - AVFAudio lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + AVFAudio lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSMutableURLRequest._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSMutableURLRequest]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0(obj._id, obj._lib._sel_isKindOfClass_1, - obj._lib._class_NSMutableURLRequest1); + static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSMutableURLRequest1, + ); } @override NSURL? get URL { - final _ret = _lib._objc_msgSend_45(_id, _lib._sel_URL1); + final _ret = _lib._objc_msgSend_45(this.pointer, _lib._sel_URL1); return _ret.address == 0 ? null : NSURL._(_ret, _lib, retain: true, release: true); @@ -69425,32 +92681,46 @@ class NSMutableURLRequest extends NSURLRequest { set URL(NSURL? value) { return _lib._objc_msgSend_671( - _id, _lib._sel_setURL_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setURL_1, + value?.pointer ?? ffi.nullptr, + ); } @override int get cachePolicy { - return _lib._objc_msgSend_859(_id, _lib._sel_cachePolicy1); + return _lib._objc_msgSend_859(this.pointer, _lib._sel_cachePolicy1); } set cachePolicy(int value) { - return _lib._objc_msgSend_1017(_id, _lib._sel_setCachePolicy_1, value); + return _lib._objc_msgSend_1017( + this.pointer, + _lib._sel_setCachePolicy_1, + value, + ); } @override double get timeoutInterval { - return _lib._objc_msgSend_useVariants1 - ? _lib._objc_msgSend_165_fpret(_id, _lib._sel_timeoutInterval1) - : _lib._objc_msgSend_165(_id, _lib._sel_timeoutInterval1); + return objc.useMsgSendVariants + ? _lib._objc_msgSend_165_fpret(this.pointer, _lib._sel_timeoutInterval1) + : _lib._objc_msgSend_165(this.pointer, _lib._sel_timeoutInterval1); } set timeoutInterval(double value) { - return _lib._objc_msgSend_542(_id, _lib._sel_setTimeoutInterval_1, value); + return _lib._objc_msgSend_542( + this.pointer, + _lib._sel_setTimeoutInterval_1, + value, + ); } @override NSURL? get mainDocumentURL { - final _ret = _lib._objc_msgSend_45(_id, _lib._sel_mainDocumentURL1); + final _ret = _lib._objc_msgSend_45( + this.pointer, + _lib._sel_mainDocumentURL1, + ); return _ret.address == 0 ? null : NSURL._(_ret, _lib, retain: true, release: true); @@ -69458,91 +92728,131 @@ class NSMutableURLRequest extends NSURLRequest { set mainDocumentURL(NSURL? value) { return _lib._objc_msgSend_671( - _id, _lib._sel_setMainDocumentURL_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setMainDocumentURL_1, + value?.pointer ?? ffi.nullptr, + ); } @override int get networkServiceType { - return _lib._objc_msgSend_860(_id, _lib._sel_networkServiceType1); + return _lib._objc_msgSend_860(this.pointer, _lib._sel_networkServiceType1); } set networkServiceType(int value) { return _lib._objc_msgSend_1018( - _id, _lib._sel_setNetworkServiceType_1, value); + this.pointer, + _lib._sel_setNetworkServiceType_1, + value, + ); } @override bool get allowsCellularAccess { - return _lib._objc_msgSend_12(_id, _lib._sel_allowsCellularAccess1); + return _lib._objc_msgSend_12(this.pointer, _lib._sel_allowsCellularAccess1); } set allowsCellularAccess(bool value) { return _lib._objc_msgSend_527( - _id, _lib._sel_setAllowsCellularAccess_1, value); + this.pointer, + _lib._sel_setAllowsCellularAccess_1, + value, + ); } @override bool get allowsExpensiveNetworkAccess { - return _lib._objc_msgSend_12(_id, _lib._sel_allowsExpensiveNetworkAccess1); + return _lib._objc_msgSend_12( + this.pointer, + _lib._sel_allowsExpensiveNetworkAccess1, + ); } set allowsExpensiveNetworkAccess(bool value) { return _lib._objc_msgSend_527( - _id, _lib._sel_setAllowsExpensiveNetworkAccess_1, value); + this.pointer, + _lib._sel_setAllowsExpensiveNetworkAccess_1, + value, + ); } @override bool get allowsConstrainedNetworkAccess { return _lib._objc_msgSend_12( - _id, _lib._sel_allowsConstrainedNetworkAccess1); + this.pointer, + _lib._sel_allowsConstrainedNetworkAccess1, + ); } set allowsConstrainedNetworkAccess(bool value) { return _lib._objc_msgSend_527( - _id, _lib._sel_setAllowsConstrainedNetworkAccess_1, value); + this.pointer, + _lib._sel_setAllowsConstrainedNetworkAccess_1, + value, + ); } @override bool get assumesHTTP3Capable { - return _lib._objc_msgSend_12(_id, _lib._sel_assumesHTTP3Capable1); + return _lib._objc_msgSend_12(this.pointer, _lib._sel_assumesHTTP3Capable1); } set assumesHTTP3Capable(bool value) { return _lib._objc_msgSend_527( - _id, _lib._sel_setAssumesHTTP3Capable_1, value); + this.pointer, + _lib._sel_setAssumesHTTP3Capable_1, + value, + ); } @override int get attribution { - return _lib._objc_msgSend_861(_id, _lib._sel_attribution1); + return _lib._objc_msgSend_861(this.pointer, _lib._sel_attribution1); } set attribution(int value) { - return _lib._objc_msgSend_1019(_id, _lib._sel_setAttribution_1, value); + return _lib._objc_msgSend_1019( + this.pointer, + _lib._sel_setAttribution_1, + value, + ); } @override bool get requiresDNSSECValidation { - return _lib._objc_msgSend_12(_id, _lib._sel_requiresDNSSECValidation1); + return _lib._objc_msgSend_12( + this.pointer, + _lib._sel_requiresDNSSECValidation1, + ); } set requiresDNSSECValidation(bool value) { return _lib._objc_msgSend_527( - _id, _lib._sel_setRequiresDNSSECValidation_1, value); + this.pointer, + _lib._sel_setRequiresDNSSECValidation_1, + value, + ); } NSString get HTTPMethod { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_HTTPMethod1); + final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_HTTPMethod1); return NSString._(_ret, _lib, retain: true, release: true); } set HTTPMethod(NSString value) { - return _lib._objc_msgSend_646(_id, _lib._sel_setHTTPMethod_1, value._id); + return _lib._objc_msgSend_646( + this.pointer, + _lib._sel_setHTTPMethod_1, + value.pointer, + ); } @override NSDictionary? get allHTTPHeaderFields { - final _ret = _lib._objc_msgSend_390(_id, _lib._sel_allHTTPHeaderFields1); + final _ret = _lib._objc_msgSend_390( + this.pointer, + _lib._sel_allHTTPHeaderFields1, + ); return _ret.address == 0 ? null : NSDictionary._(_ret, _lib, retain: true, release: true); @@ -69550,22 +92860,33 @@ class NSMutableURLRequest extends NSURLRequest { set allHTTPHeaderFields(NSDictionary? value) { return _lib._objc_msgSend_634( - _id, _lib._sel_setAllHTTPHeaderFields_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setAllHTTPHeaderFields_1, + value?.pointer ?? ffi.nullptr, + ); } void setValue_forHTTPHeaderField_(NSString? value, NSString field) { - _lib._objc_msgSend_1020(_id, _lib._sel_setValue_forHTTPHeaderField_1, - value?._id ?? ffi.nullptr, field._id); + _lib._objc_msgSend_1020( + this.pointer, + _lib._sel_setValue_forHTTPHeaderField_1, + value?.pointer ?? ffi.nullptr, + field.pointer, + ); } void addValue_forHTTPHeaderField_(NSString value, NSString field) { _lib._objc_msgSend_551( - _id, _lib._sel_addValue_forHTTPHeaderField_1, value._id, field._id); + this.pointer, + _lib._sel_addValue_forHTTPHeaderField_1, + value.pointer, + field.pointer, + ); } @override NSData? get HTTPBody { - final _ret = _lib._objc_msgSend_286(_id, _lib._sel_HTTPBody1); + final _ret = _lib._objc_msgSend_286(this.pointer, _lib._sel_HTTPBody1); return _ret.address == 0 ? null : NSData._(_ret, _lib, retain: true, release: true); @@ -69573,12 +92894,18 @@ class NSMutableURLRequest extends NSURLRequest { set HTTPBody(NSData? value) { return _lib._objc_msgSend_1021( - _id, _lib._sel_setHTTPBody_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setHTTPBody_1, + value?.pointer ?? ffi.nullptr, + ); } @override NSInputStream? get HTTPBodyStream { - final _ret = _lib._objc_msgSend_875(_id, _lib._sel_HTTPBodyStream1); + final _ret = _lib._objc_msgSend_875( + this.pointer, + _lib._sel_HTTPBodyStream1, + ); return _ret.address == 0 ? null : NSInputStream._(_ret, _lib, retain: true, release: true); @@ -69586,203 +92913,295 @@ class NSMutableURLRequest extends NSURLRequest { set HTTPBodyStream(NSInputStream? value) { return _lib._objc_msgSend_1022( - _id, _lib._sel_setHTTPBodyStream_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setHTTPBodyStream_1, + value?.pointer ?? ffi.nullptr, + ); } @override bool get HTTPShouldHandleCookies { - return _lib._objc_msgSend_12(_id, _lib._sel_HTTPShouldHandleCookies1); + return _lib._objc_msgSend_12( + this.pointer, + _lib._sel_HTTPShouldHandleCookies1, + ); } set HTTPShouldHandleCookies(bool value) { return _lib._objc_msgSend_527( - _id, _lib._sel_setHTTPShouldHandleCookies_1, value); + this.pointer, + _lib._sel_setHTTPShouldHandleCookies_1, + value, + ); } @override bool get HTTPShouldUsePipelining { - return _lib._objc_msgSend_12(_id, _lib._sel_HTTPShouldUsePipelining1); + return _lib._objc_msgSend_12( + this.pointer, + _lib._sel_HTTPShouldUsePipelining1, + ); } set HTTPShouldUsePipelining(bool value) { return _lib._objc_msgSend_527( - _id, _lib._sel_setHTTPShouldUsePipelining_1, value); + this.pointer, + _lib._sel_setHTTPShouldUsePipelining_1, + value, + ); } static NSMutableURLRequest requestWithURL_(AVFAudio _lib, NSURL URL) { final _ret = _lib._objc_msgSend_262( - _lib._class_NSMutableURLRequest1, _lib._sel_requestWithURL_1, URL._id); + _lib._class_NSMutableURLRequest1, + _lib._sel_requestWithURL_1, + URL.pointer, + ); return NSMutableURLRequest._(_ret, _lib, retain: true, release: true); } static bool getSupportsSecureCoding(AVFAudio _lib) { return _lib._objc_msgSend_12( - _lib._class_NSMutableURLRequest1, _lib._sel_supportsSecureCoding1); + _lib._class_NSMutableURLRequest1, + _lib._sel_supportsSecureCoding1, + ); } static NSMutableURLRequest requestWithURL_cachePolicy_timeoutInterval_( - AVFAudio _lib, NSURL URL, int cachePolicy, double timeoutInterval) { + AVFAudio _lib, + NSURL URL, + int cachePolicy, + double timeoutInterval, + ) { final _ret = _lib._objc_msgSend_858( - _lib._class_NSMutableURLRequest1, - _lib._sel_requestWithURL_cachePolicy_timeoutInterval_1, - URL._id, - cachePolicy, - timeoutInterval); + _lib._class_NSMutableURLRequest1, + _lib._sel_requestWithURL_cachePolicy_timeoutInterval_1, + URL.pointer, + cachePolicy, + timeoutInterval, + ); return NSMutableURLRequest._(_ret, _lib, retain: true, release: true); } @override NSMutableURLRequest initWithURL_(NSURL URL) { - final _ret = _lib._objc_msgSend_262(_id, _lib._sel_initWithURL_1, URL._id); + final _ret = _lib._objc_msgSend_262( + this.pointer, + _lib._sel_initWithURL_1, + URL.pointer, + ); return NSMutableURLRequest._(_ret, _lib, retain: true, release: true); } @override NSMutableURLRequest initWithURL_cachePolicy_timeoutInterval_( - NSURL URL, int cachePolicy, double timeoutInterval) { + NSURL URL, + int cachePolicy, + double timeoutInterval, + ) { final _ret = _lib._objc_msgSend_858( - _id, - _lib._sel_initWithURL_cachePolicy_timeoutInterval_1, - URL._id, - cachePolicy, - timeoutInterval); + this.pointer, + _lib._sel_initWithURL_cachePolicy_timeoutInterval_1, + URL.pointer, + cachePolicy, + timeoutInterval, + ); return NSMutableURLRequest._(_ret, _lib, retain: true, release: true); } @override NSMutableURLRequest init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSMutableURLRequest._(_ret, _lib, retain: true, release: true); } static NSMutableURLRequest new1(AVFAudio _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSMutableURLRequest1, _lib._sel_new1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSMutableURLRequest1, + _lib._sel_new1, + ); return NSMutableURLRequest._(_ret, _lib, retain: false, release: true); } static NSMutableURLRequest allocWithZone_( - AVFAudio _lib, ffi.Pointer<_NSZone> zone) { + AVFAudio _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSMutableURLRequest1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSMutableURLRequest1, + _lib._sel_allocWithZone_1, + zone, + ); return NSMutableURLRequest._(_ret, _lib, retain: false, release: true); } static NSMutableURLRequest alloc(AVFAudio _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSMutableURLRequest1, _lib._sel_alloc1); + _lib._class_NSMutableURLRequest1, + _lib._sel_alloc1, + ); return NSMutableURLRequest._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + AVFAudio _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSMutableURLRequest1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSMutableURLRequest1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSMutableURLRequest1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + AVFAudio _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSMutableURLRequest1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { - return _lib._objc_msgSend_12(_lib._class_NSMutableURLRequest1, - _lib._sel_accessInstanceVariablesDirectly1); + return _lib._objc_msgSend_12( + _lib._class_NSMutableURLRequest1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(AVFAudio _lib) { return _lib._objc_msgSend_12( - _lib._class_NSMutableURLRequest1, _lib._sel_useStoredAccessor1); + _lib._class_NSMutableURLRequest1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSMutableURLRequest1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSMutableURLRequest1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSMutableURLRequest1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSMutableURLRequest1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, NSArray keys, NSString dependentKey) { + AVFAudio _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSMutableURLRequest1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSMutableURLRequest1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_85(_lib._class_NSMutableURLRequest1, - _lib._sel_classFallbacksForKeyedArchiver1); + final _ret = _lib._objc_msgSend_85( + _lib._class_NSMutableURLRequest1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(AVFAudio _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSMutableURLRequest1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSMutableURLRequest1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } class NSXMLParser extends NSObject { - NSXMLParser._(ffi.Pointer id, AVFAudio lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSXMLParser._( + ffi.Pointer pointer, + AVFAudio lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSXMLParser] that points to the same underlying object as [other]. - static NSXMLParser castFrom(T other) { - return NSXMLParser._(other._id, other._lib, retain: true, release: true); + static NSXMLParser castFrom( + AVFAudio lib, + T other, + ) { + return NSXMLParser._(other.pointer, lib, retain: true, release: true); } /// Returns a [NSXMLParser] that wraps the given raw object pointer. static NSXMLParser castFromPointer( - AVFAudio lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + AVFAudio lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSXMLParser._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSXMLParser]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_NSXMLParser1); + static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSXMLParser1, + ); } NSXMLParser? initWithContentsOfURL_(NSURL url) { - final _ret = - _lib._objc_msgSend_277(_id, _lib._sel_initWithContentsOfURL_1, url._id); + final _ret = _lib._objc_msgSend_277( + this.pointer, + _lib._sel_initWithContentsOfURL_1, + url.pointer, + ); return _ret.address == 0 ? null : NSXMLParser._(_ret, _lib, retain: true, release: true); } NSXMLParser initWithData_(NSData data) { - final _ret = - _lib._objc_msgSend_279(_id, _lib._sel_initWithData_1, data._id); + final _ret = _lib._objc_msgSend_279( + this.pointer, + _lib._sel_initWithData_1, + data.pointer, + ); return NSXMLParser._(_ret, _lib, retain: true, release: true); } NSXMLParser initWithStream_(NSInputStream stream) { - final _ret = - _lib._objc_msgSend_1028(_id, _lib._sel_initWithStream_1, stream._id); + final _ret = _lib._objc_msgSend_1028( + this.pointer, + _lib._sel_initWithStream_1, + stream.pointer, + ); return NSXMLParser._(_ret, _lib, retain: true, release: true); } NSObject? get delegate { - final _ret = _lib._objc_msgSend_17(_id, _lib._sel_delegate1); + final _ret = _lib._objc_msgSend_17(this.pointer, _lib._sel_delegate1); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); @@ -69790,99 +93209,130 @@ class NSXMLParser extends NSObject { set delegate(NSObject? value) { return _lib._objc_msgSend_416( - _id, _lib._sel_setDelegate_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setDelegate_1, + value?.pointer ?? ffi.nullptr, + ); } bool get shouldProcessNamespaces { - return _lib._objc_msgSend_12(_id, _lib._sel_shouldProcessNamespaces1); + return _lib._objc_msgSend_12( + this.pointer, + _lib._sel_shouldProcessNamespaces1, + ); } set shouldProcessNamespaces(bool value) { return _lib._objc_msgSend_527( - _id, _lib._sel_setShouldProcessNamespaces_1, value); + this.pointer, + _lib._sel_setShouldProcessNamespaces_1, + value, + ); } bool get shouldReportNamespacePrefixes { - return _lib._objc_msgSend_12(_id, _lib._sel_shouldReportNamespacePrefixes1); + return _lib._objc_msgSend_12( + this.pointer, + _lib._sel_shouldReportNamespacePrefixes1, + ); } set shouldReportNamespacePrefixes(bool value) { return _lib._objc_msgSend_527( - _id, _lib._sel_setShouldReportNamespacePrefixes_1, value); + this.pointer, + _lib._sel_setShouldReportNamespacePrefixes_1, + value, + ); } int get externalEntityResolvingPolicy { return _lib._objc_msgSend_1029( - _id, _lib._sel_externalEntityResolvingPolicy1); + this.pointer, + _lib._sel_externalEntityResolvingPolicy1, + ); } set externalEntityResolvingPolicy(int value) { return _lib._objc_msgSend_1030( - _id, _lib._sel_setExternalEntityResolvingPolicy_1, value); + this.pointer, + _lib._sel_setExternalEntityResolvingPolicy_1, + value, + ); } NSSet? get allowedExternalEntityURLs { - final _ret = - _lib._objc_msgSend_319(_id, _lib._sel_allowedExternalEntityURLs1); + final _ret = _lib._objc_msgSend_319( + this.pointer, + _lib._sel_allowedExternalEntityURLs1, + ); return _ret.address == 0 ? null : NSSet._(_ret, _lib, retain: true, release: true); } set allowedExternalEntityURLs(NSSet? value) { - return _lib._objc_msgSend_1031(_id, - _lib._sel_setAllowedExternalEntityURLs_1, value?._id ?? ffi.nullptr); + return _lib._objc_msgSend_1031( + this.pointer, + _lib._sel_setAllowedExternalEntityURLs_1, + value?.pointer ?? ffi.nullptr, + ); } bool parse() { - return _lib._objc_msgSend_12(_id, _lib._sel_parse1); + return _lib._objc_msgSend_12(this.pointer, _lib._sel_parse1); } void abortParsing() { - _lib._objc_msgSend_1(_id, _lib._sel_abortParsing1); + _lib._objc_msgSend_1(this.pointer, _lib._sel_abortParsing1); } NSError? get parserError { - final _ret = _lib._objc_msgSend_322(_id, _lib._sel_parserError1); + final _ret = _lib._objc_msgSend_322(this.pointer, _lib._sel_parserError1); return _ret.address == 0 ? null : NSError._(_ret, _lib, retain: true, release: true); } bool get shouldResolveExternalEntities { - return _lib._objc_msgSend_12(_id, _lib._sel_shouldResolveExternalEntities1); + return _lib._objc_msgSend_12( + this.pointer, + _lib._sel_shouldResolveExternalEntities1, + ); } set shouldResolveExternalEntities(bool value) { return _lib._objc_msgSend_527( - _id, _lib._sel_setShouldResolveExternalEntities_1, value); + this.pointer, + _lib._sel_setShouldResolveExternalEntities_1, + value, + ); } NSString? get publicID { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_publicID1); + final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_publicID1); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } NSString? get systemID { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_systemID1); + final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_systemID1); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } int get lineNumber { - return _lib._objc_msgSend_83(_id, _lib._sel_lineNumber1); + return _lib._objc_msgSend_83(this.pointer, _lib._sel_lineNumber1); } int get columnNumber { - return _lib._objc_msgSend_83(_id, _lib._sel_columnNumber1); + return _lib._objc_msgSend_83(this.pointer, _lib._sel_columnNumber1); } @override NSXMLParser init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSXMLParser._(_ret, _lib, retain: true, release: true); } @@ -69893,76 +93343,110 @@ class NSXMLParser extends NSObject { static NSXMLParser allocWithZone_(AVFAudio _lib, ffi.Pointer<_NSZone> zone) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSXMLParser1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSXMLParser1, + _lib._sel_allocWithZone_1, + zone, + ); return NSXMLParser._(_ret, _lib, retain: false, release: true); } static NSXMLParser alloc(AVFAudio _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSXMLParser1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSXMLParser1, + _lib._sel_alloc1, + ); return NSXMLParser._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + AVFAudio _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSXMLParser1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSXMLParser1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSXMLParser1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + AVFAudio _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSXMLParser1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { return _lib._objc_msgSend_12( - _lib._class_NSXMLParser1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_NSXMLParser1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(AVFAudio _lib) { return _lib._objc_msgSend_12( - _lib._class_NSXMLParser1, _lib._sel_useStoredAccessor1); + _lib._class_NSXMLParser1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSXMLParser1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSXMLParser1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSXMLParser1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSXMLParser1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, NSArray keys, NSString dependentKey) { + AVFAudio _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSXMLParser1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSXMLParser1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { final _ret = _lib._objc_msgSend_85( - _lib._class_NSXMLParser1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSXMLParser1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(AVFAudio _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSXMLParser1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSXMLParser1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } @@ -69975,89 +93459,127 @@ abstract class NSXMLParserExternalEntityResolvingPolicy { } class NSFileWrapper extends NSObject { - NSFileWrapper._(ffi.Pointer id, AVFAudio lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSFileWrapper._( + ffi.Pointer pointer, + AVFAudio lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSFileWrapper] that points to the same underlying object as [other]. - static NSFileWrapper castFrom(T other) { - return NSFileWrapper._(other._id, other._lib, retain: true, release: true); + static NSFileWrapper castFrom( + AVFAudio lib, + T other, + ) { + return NSFileWrapper._(other.pointer, lib, retain: true, release: true); } /// Returns a [NSFileWrapper] that wraps the given raw object pointer. static NSFileWrapper castFromPointer( - AVFAudio lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + AVFAudio lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSFileWrapper._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSFileWrapper]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_NSFileWrapper1); + static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSFileWrapper1, + ); } NSFileWrapper? initWithURL_options_error_( - NSURL url, int options, ffi.Pointer> outError) { + NSURL url, + int options, + ffi.Pointer> outError, + ) { final _ret = _lib._objc_msgSend_1032( - _id, _lib._sel_initWithURL_options_error_1, url._id, options, outError); + this.pointer, + _lib._sel_initWithURL_options_error_1, + url.pointer, + options, + outError, + ); return _ret.address == 0 ? null : NSFileWrapper._(_ret, _lib, retain: true, release: true); } NSFileWrapper initDirectoryWithFileWrappers_( - NSDictionary childrenByPreferredName) { - final _ret = _lib._objc_msgSend_159(_id, - _lib._sel_initDirectoryWithFileWrappers_1, childrenByPreferredName._id); + NSDictionary childrenByPreferredName, + ) { + final _ret = _lib._objc_msgSend_159( + this.pointer, + _lib._sel_initDirectoryWithFileWrappers_1, + childrenByPreferredName.pointer, + ); return NSFileWrapper._(_ret, _lib, retain: true, release: true); } NSFileWrapper initRegularFileWithContents_(NSData contents) { final _ret = _lib._objc_msgSend_279( - _id, _lib._sel_initRegularFileWithContents_1, contents._id); + this.pointer, + _lib._sel_initRegularFileWithContents_1, + contents.pointer, + ); return NSFileWrapper._(_ret, _lib, retain: true, release: true); } NSFileWrapper initSymbolicLinkWithDestinationURL_(NSURL url) { final _ret = _lib._objc_msgSend_262( - _id, _lib._sel_initSymbolicLinkWithDestinationURL_1, url._id); + this.pointer, + _lib._sel_initSymbolicLinkWithDestinationURL_1, + url.pointer, + ); return NSFileWrapper._(_ret, _lib, retain: true, release: true); } NSFileWrapper? initWithSerializedRepresentation_( - NSData serializeRepresentation) { + NSData serializeRepresentation, + ) { final _ret = _lib._objc_msgSend_874( - _id, - _lib._sel_initWithSerializedRepresentation_1, - serializeRepresentation._id); + this.pointer, + _lib._sel_initWithSerializedRepresentation_1, + serializeRepresentation.pointer, + ); return _ret.address == 0 ? null : NSFileWrapper._(_ret, _lib, retain: true, release: true); } NSFileWrapper? initWithCoder_(NSCoder inCoder) { - final _ret = - _lib._objc_msgSend_47(_id, _lib._sel_initWithCoder_1, inCoder._id); + final _ret = _lib._objc_msgSend_47( + this.pointer, + _lib._sel_initWithCoder_1, + inCoder.pointer, + ); return _ret.address == 0 ? null : NSFileWrapper._(_ret, _lib, retain: true, release: true); } bool get directory { - return _lib._objc_msgSend_12(_id, _lib._sel_isDirectory1); + return _lib._objc_msgSend_12(this.pointer, _lib._sel_isDirectory1); } bool get regularFile { - return _lib._objc_msgSend_12(_id, _lib._sel_isRegularFile1); + return _lib._objc_msgSend_12(this.pointer, _lib._sel_isRegularFile1); } bool get symbolicLink { - return _lib._objc_msgSend_12(_id, _lib._sel_isSymbolicLink1); + return _lib._objc_msgSend_12(this.pointer, _lib._sel_isSymbolicLink1); } NSString? get preferredFilename { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_preferredFilename1); + final _ret = _lib._objc_msgSend_44( + this.pointer, + _lib._sel_preferredFilename1, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); @@ -70065,11 +93587,14 @@ class NSFileWrapper extends NSObject { set preferredFilename(NSString? value) { return _lib._objc_msgSend_545( - _id, _lib._sel_setPreferredFilename_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setPreferredFilename_1, + value?.pointer ?? ffi.nullptr, + ); } NSString? get filename { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_filename1); + final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_filename1); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); @@ -70077,104 +93602,150 @@ class NSFileWrapper extends NSObject { set filename(NSString? value) { return _lib._objc_msgSend_545( - _id, _lib._sel_setFilename_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setFilename_1, + value?.pointer ?? ffi.nullptr, + ); } NSDictionary get fileAttributes { - final _ret = _lib._objc_msgSend_181(_id, _lib._sel_fileAttributes1); + final _ret = _lib._objc_msgSend_181( + this.pointer, + _lib._sel_fileAttributes1, + ); return NSDictionary._(_ret, _lib, retain: true, release: true); } set fileAttributes(NSDictionary value) { return _lib._objc_msgSend_182( - _id, _lib._sel_setFileAttributes_1, value._id); + this.pointer, + _lib._sel_setFileAttributes_1, + value.pointer, + ); } bool matchesContentsOfURL_(NSURL url) { return _lib._objc_msgSend_265( - _id, _lib._sel_matchesContentsOfURL_1, url._id); + this.pointer, + _lib._sel_matchesContentsOfURL_1, + url.pointer, + ); } bool readFromURL_options_error_( - NSURL url, int options, ffi.Pointer> outError) { + NSURL url, + int options, + ffi.Pointer> outError, + ) { return _lib._objc_msgSend_1033( - _id, _lib._sel_readFromURL_options_error_1, url._id, options, outError); + this.pointer, + _lib._sel_readFromURL_options_error_1, + url.pointer, + options, + outError, + ); } bool writeToURL_options_originalContentsURL_error_( - NSURL url, - int options, - NSURL? originalContentsURL, - ffi.Pointer> outError) { + NSURL url, + int options, + NSURL? originalContentsURL, + ffi.Pointer> outError, + ) { return _lib._objc_msgSend_1034( - _id, - _lib._sel_writeToURL_options_originalContentsURL_error_1, - url._id, - options, - originalContentsURL?._id ?? ffi.nullptr, - outError); + this.pointer, + _lib._sel_writeToURL_options_originalContentsURL_error_1, + url.pointer, + options, + originalContentsURL?.pointer ?? ffi.nullptr, + outError, + ); } NSData? get serializedRepresentation { - final _ret = - _lib._objc_msgSend_286(_id, _lib._sel_serializedRepresentation1); + final _ret = _lib._objc_msgSend_286( + this.pointer, + _lib._sel_serializedRepresentation1, + ); return _ret.address == 0 ? null : NSData._(_ret, _lib, retain: true, release: true); } NSString addFileWrapper_(NSFileWrapper child) { - final _ret = - _lib._objc_msgSend_1035(_id, _lib._sel_addFileWrapper_1, child._id); + final _ret = _lib._objc_msgSend_1035( + this.pointer, + _lib._sel_addFileWrapper_1, + child.pointer, + ); return NSString._(_ret, _lib, retain: true, release: true); } NSString addRegularFileWithContents_preferredFilename_( - NSData data, NSString fileName) { + NSData data, + NSString fileName, + ) { final _ret = _lib._objc_msgSend_1036( - _id, - _lib._sel_addRegularFileWithContents_preferredFilename_1, - data._id, - fileName._id); + this.pointer, + _lib._sel_addRegularFileWithContents_preferredFilename_1, + data.pointer, + fileName.pointer, + ); return NSString._(_ret, _lib, retain: true, release: true); } void removeFileWrapper_(NSFileWrapper child) { - _lib._objc_msgSend_1037(_id, _lib._sel_removeFileWrapper_1, child._id); + _lib._objc_msgSend_1037( + this.pointer, + _lib._sel_removeFileWrapper_1, + child.pointer, + ); } NSDictionary? get fileWrappers { - final _ret = _lib._objc_msgSend_390(_id, _lib._sel_fileWrappers1); + final _ret = _lib._objc_msgSend_390(this.pointer, _lib._sel_fileWrappers1); return _ret.address == 0 ? null : NSDictionary._(_ret, _lib, retain: true, release: true); } NSString? keyForFileWrapper_(NSFileWrapper child) { - final _ret = - _lib._objc_msgSend_1038(_id, _lib._sel_keyForFileWrapper_1, child._id); + final _ret = _lib._objc_msgSend_1038( + this.pointer, + _lib._sel_keyForFileWrapper_1, + child.pointer, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } NSData? get regularFileContents { - final _ret = _lib._objc_msgSend_286(_id, _lib._sel_regularFileContents1); + final _ret = _lib._objc_msgSend_286( + this.pointer, + _lib._sel_regularFileContents1, + ); return _ret.address == 0 ? null : NSData._(_ret, _lib, retain: true, release: true); } NSURL? get symbolicLinkDestinationURL { - final _ret = - _lib._objc_msgSend_45(_id, _lib._sel_symbolicLinkDestinationURL1); + final _ret = _lib._objc_msgSend_45( + this.pointer, + _lib._sel_symbolicLinkDestinationURL1, + ); return _ret.address == 0 ? null : NSURL._(_ret, _lib, retain: true, release: true); } NSObject? initWithPath_(NSString path) { - final _ret = _lib._objc_msgSend_38(_id, _lib._sel_initWithPath_1, path._id); + final _ret = _lib._objc_msgSend_38( + this.pointer, + _lib._sel_initWithPath_1, + path.pointer, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); @@ -70182,135 +93753,196 @@ class NSFileWrapper extends NSObject { NSObject initSymbolicLinkWithDestination_(NSString path) { final _ret = _lib._objc_msgSend_31( - _id, _lib._sel_initSymbolicLinkWithDestination_1, path._id); + this.pointer, + _lib._sel_initSymbolicLinkWithDestination_1, + path.pointer, + ); return NSObject._(_ret, _lib, retain: true, release: true); } bool needsToBeUpdatedFromPath_(NSString path) { return _lib._objc_msgSend_64( - _id, _lib._sel_needsToBeUpdatedFromPath_1, path._id); + this.pointer, + _lib._sel_needsToBeUpdatedFromPath_1, + path.pointer, + ); } bool updateFromPath_(NSString path) { - return _lib._objc_msgSend_64(_id, _lib._sel_updateFromPath_1, path._id); + return _lib._objc_msgSend_64( + this.pointer, + _lib._sel_updateFromPath_1, + path.pointer, + ); } bool writeToFile_atomically_updateFilenames_( - NSString path, bool atomicFlag, bool updateFilenamesFlag) { + NSString path, + bool atomicFlag, + bool updateFilenamesFlag, + ) { return _lib._objc_msgSend_1039( - _id, - _lib._sel_writeToFile_atomically_updateFilenames_1, - path._id, - atomicFlag, - updateFilenamesFlag); + this.pointer, + _lib._sel_writeToFile_atomically_updateFilenames_1, + path.pointer, + atomicFlag, + updateFilenamesFlag, + ); } NSString addFileWithPath_(NSString path) { - final _ret = - _lib._objc_msgSend_69(_id, _lib._sel_addFileWithPath_1, path._id); + final _ret = _lib._objc_msgSend_69( + this.pointer, + _lib._sel_addFileWithPath_1, + path.pointer, + ); return NSString._(_ret, _lib, retain: true, release: true); } NSString addSymbolicLinkWithDestination_preferredFilename_( - NSString path, NSString filename) { + NSString path, + NSString filename, + ) { final _ret = _lib._objc_msgSend_364( - _id, - _lib._sel_addSymbolicLinkWithDestination_preferredFilename_1, - path._id, - filename._id); + this.pointer, + _lib._sel_addSymbolicLinkWithDestination_preferredFilename_1, + path.pointer, + filename.pointer, + ); return NSString._(_ret, _lib, retain: true, release: true); } NSString symbolicLinkDestination() { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_symbolicLinkDestination1); + final _ret = _lib._objc_msgSend_21( + this.pointer, + _lib._sel_symbolicLinkDestination1, + ); return NSString._(_ret, _lib, retain: true, release: true); } @override NSFileWrapper init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSFileWrapper._(_ret, _lib, retain: true, release: true); } static NSFileWrapper new1(AVFAudio _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSFileWrapper1, _lib._sel_new1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSFileWrapper1, + _lib._sel_new1, + ); return NSFileWrapper._(_ret, _lib, retain: false, release: true); } static NSFileWrapper allocWithZone_( - AVFAudio _lib, ffi.Pointer<_NSZone> zone) { + AVFAudio _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSFileWrapper1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSFileWrapper1, + _lib._sel_allocWithZone_1, + zone, + ); return NSFileWrapper._(_ret, _lib, retain: false, release: true); } static NSFileWrapper alloc(AVFAudio _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSFileWrapper1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSFileWrapper1, + _lib._sel_alloc1, + ); return NSFileWrapper._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + AVFAudio _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSFileWrapper1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSFileWrapper1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSFileWrapper1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + AVFAudio _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSFileWrapper1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { return _lib._objc_msgSend_12( - _lib._class_NSFileWrapper1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_NSFileWrapper1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(AVFAudio _lib) { return _lib._objc_msgSend_12( - _lib._class_NSFileWrapper1, _lib._sel_useStoredAccessor1); + _lib._class_NSFileWrapper1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSFileWrapper1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSFileWrapper1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSFileWrapper1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSFileWrapper1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, NSArray keys, NSString dependentKey) { + AVFAudio _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSFileWrapper1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSFileWrapper1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { final _ret = _lib._objc_msgSend_85( - _lib._class_NSFileWrapper1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSFileWrapper1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(AVFAudio _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSFileWrapper1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSFileWrapper1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } @@ -70326,74 +93958,101 @@ abstract class NSFileWrapperWritingOptions { } class NSURLSession extends NSObject { - NSURLSession._(ffi.Pointer id, AVFAudio lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSURLSession._( + ffi.Pointer pointer, + AVFAudio lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSURLSession] that points to the same underlying object as [other]. - static NSURLSession castFrom(T other) { - return NSURLSession._(other._id, other._lib, retain: true, release: true); + static NSURLSession castFrom( + AVFAudio lib, + T other, + ) { + return NSURLSession._(other.pointer, lib, retain: true, release: true); } /// Returns a [NSURLSession] that wraps the given raw object pointer. static NSURLSession castFromPointer( - AVFAudio lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + AVFAudio lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSURLSession._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSURLSession]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_NSURLSession1); + static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSURLSession1, + ); } static NSURLSession getSharedSession(AVFAudio _lib) { final _ret = _lib._objc_msgSend_1040( - _lib._class_NSURLSession1, _lib._sel_sharedSession1); + _lib._class_NSURLSession1, + _lib._sel_sharedSession1, + ); return NSURLSession._(_ret, _lib, retain: true, release: true); } static NSURLSession sessionWithConfiguration_( - AVFAudio _lib, NSURLSessionConfiguration configuration) { - final _ret = _lib._objc_msgSend_1056(_lib._class_NSURLSession1, - _lib._sel_sessionWithConfiguration_1, configuration._id); + AVFAudio _lib, + NSURLSessionConfiguration configuration, + ) { + final _ret = _lib._objc_msgSend_1056( + _lib._class_NSURLSession1, + _lib._sel_sessionWithConfiguration_1, + configuration.pointer, + ); return NSURLSession._(_ret, _lib, retain: true, release: true); } static NSURLSession sessionWithConfiguration_delegate_delegateQueue_( - AVFAudio _lib, - NSURLSessionConfiguration configuration, - NSObject? delegate, - NSOperationQueue? queue) { + AVFAudio _lib, + NSURLSessionConfiguration configuration, + NSObject? delegate, + NSOperationQueue? queue, + ) { final _ret = _lib._objc_msgSend_1057( - _lib._class_NSURLSession1, - _lib._sel_sessionWithConfiguration_delegate_delegateQueue_1, - configuration._id, - delegate?._id ?? ffi.nullptr, - queue?._id ?? ffi.nullptr); + _lib._class_NSURLSession1, + _lib._sel_sessionWithConfiguration_delegate_delegateQueue_1, + configuration.pointer, + delegate?.pointer ?? ffi.nullptr, + queue?.pointer ?? ffi.nullptr, + ); return NSURLSession._(_ret, _lib, retain: true, release: true); } NSOperationQueue get delegateQueue { - final _ret = _lib._objc_msgSend_917(_id, _lib._sel_delegateQueue1); + final _ret = _lib._objc_msgSend_917(this.pointer, _lib._sel_delegateQueue1); return NSOperationQueue._(_ret, _lib, retain: true, release: true); } NSObject? get delegate { - final _ret = _lib._objc_msgSend_17(_id, _lib._sel_delegate1); + final _ret = _lib._objc_msgSend_17(this.pointer, _lib._sel_delegate1); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } NSURLSessionConfiguration get configuration { - final _ret = _lib._objc_msgSend_1041(_id, _lib._sel_configuration1); + final _ret = _lib._objc_msgSend_1041( + this.pointer, + _lib._sel_configuration1, + ); return NSURLSessionConfiguration._(_ret, _lib, retain: true, release: true); } NSString? get sessionDescription { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_sessionDescription1); + final _ret = _lib._objc_msgSend_44( + this.pointer, + _lib._sel_sessionDescription1, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); @@ -70401,559 +94060,818 @@ class NSURLSession extends NSObject { set sessionDescription(NSString? value) { return _lib._objc_msgSend_545( - _id, _lib._sel_setSessionDescription_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setSessionDescription_1, + value?.pointer ?? ffi.nullptr, + ); } void finishTasksAndInvalidate() { - _lib._objc_msgSend_1(_id, _lib._sel_finishTasksAndInvalidate1); + _lib._objc_msgSend_1(this.pointer, _lib._sel_finishTasksAndInvalidate1); } void invalidateAndCancel() { - _lib._objc_msgSend_1(_id, _lib._sel_invalidateAndCancel1); + _lib._objc_msgSend_1(this.pointer, _lib._sel_invalidateAndCancel1); } void resetWithCompletionHandler_(ObjCBlock_ffiVoid completionHandler) { _lib._objc_msgSend_532( - _id, _lib._sel_resetWithCompletionHandler_1, completionHandler._id); + this.pointer, + _lib._sel_resetWithCompletionHandler_1, + completionHandler.pointer, + ); } void flushWithCompletionHandler_(ObjCBlock_ffiVoid completionHandler) { _lib._objc_msgSend_532( - _id, _lib._sel_flushWithCompletionHandler_1, completionHandler._id); + this.pointer, + _lib._sel_flushWithCompletionHandler_1, + completionHandler.pointer, + ); } void getTasksWithCompletionHandler_( - ObjCBlock_ffiVoid_NSArray_NSArray_NSArray completionHandler) { + ObjCBlock_ffiVoid_NSArray_NSArray_NSArray completionHandler, + ) { _lib._objc_msgSend_1058( - _id, _lib._sel_getTasksWithCompletionHandler_1, completionHandler._id); + this.pointer, + _lib._sel_getTasksWithCompletionHandler_1, + completionHandler.pointer, + ); } void getAllTasksWithCompletionHandler_( - ObjCBlock_ffiVoid_NSArray1 completionHandler) { - _lib._objc_msgSend_1059(_id, _lib._sel_getAllTasksWithCompletionHandler_1, - completionHandler._id); + ObjCBlock_ffiVoid_NSArray1 completionHandler, + ) { + _lib._objc_msgSend_1059( + this.pointer, + _lib._sel_getAllTasksWithCompletionHandler_1, + completionHandler.pointer, + ); } NSURLSessionDataTask dataTaskWithRequest_(NSURLRequest request) { final _ret = _lib._objc_msgSend_1060( - _id, _lib._sel_dataTaskWithRequest_1, request._id); + this.pointer, + _lib._sel_dataTaskWithRequest_1, + request.pointer, + ); return NSURLSessionDataTask._(_ret, _lib, retain: true, release: true); } NSURLSessionDataTask dataTaskWithURL_(NSURL url) { - final _ret = - _lib._objc_msgSend_1061(_id, _lib._sel_dataTaskWithURL_1, url._id); + final _ret = _lib._objc_msgSend_1061( + this.pointer, + _lib._sel_dataTaskWithURL_1, + url.pointer, + ); return NSURLSessionDataTask._(_ret, _lib, retain: true, release: true); } NSURLSessionUploadTask uploadTaskWithRequest_fromFile_( - NSURLRequest request, NSURL fileURL) { - final _ret = _lib._objc_msgSend_1063(_id, - _lib._sel_uploadTaskWithRequest_fromFile_1, request._id, fileURL._id); + NSURLRequest request, + NSURL fileURL, + ) { + final _ret = _lib._objc_msgSend_1063( + this.pointer, + _lib._sel_uploadTaskWithRequest_fromFile_1, + request.pointer, + fileURL.pointer, + ); return NSURLSessionUploadTask._(_ret, _lib, retain: true, release: true); } NSURLSessionUploadTask uploadTaskWithRequest_fromData_( - NSURLRequest request, NSData bodyData) { - final _ret = _lib._objc_msgSend_1064(_id, - _lib._sel_uploadTaskWithRequest_fromData_1, request._id, bodyData._id); + NSURLRequest request, + NSData bodyData, + ) { + final _ret = _lib._objc_msgSend_1064( + this.pointer, + _lib._sel_uploadTaskWithRequest_fromData_1, + request.pointer, + bodyData.pointer, + ); return NSURLSessionUploadTask._(_ret, _lib, retain: true, release: true); } NSURLSessionUploadTask uploadTaskWithResumeData_(NSData resumeData) { final _ret = _lib._objc_msgSend_1065( - _id, _lib._sel_uploadTaskWithResumeData_1, resumeData._id); + this.pointer, + _lib._sel_uploadTaskWithResumeData_1, + resumeData.pointer, + ); return NSURLSessionUploadTask._(_ret, _lib, retain: true, release: true); } NSURLSessionUploadTask uploadTaskWithStreamedRequest_(NSURLRequest request) { final _ret = _lib._objc_msgSend_1066( - _id, _lib._sel_uploadTaskWithStreamedRequest_1, request._id); + this.pointer, + _lib._sel_uploadTaskWithStreamedRequest_1, + request.pointer, + ); return NSURLSessionUploadTask._(_ret, _lib, retain: true, release: true); } NSURLSessionDownloadTask downloadTaskWithRequest_(NSURLRequest request) { final _ret = _lib._objc_msgSend_1067( - _id, _lib._sel_downloadTaskWithRequest_1, request._id); + this.pointer, + _lib._sel_downloadTaskWithRequest_1, + request.pointer, + ); return NSURLSessionDownloadTask._(_ret, _lib, retain: true, release: true); } NSURLSessionDownloadTask downloadTaskWithURL_(NSURL url) { - final _ret = - _lib._objc_msgSend_1068(_id, _lib._sel_downloadTaskWithURL_1, url._id); + final _ret = _lib._objc_msgSend_1068( + this.pointer, + _lib._sel_downloadTaskWithURL_1, + url.pointer, + ); return NSURLSessionDownloadTask._(_ret, _lib, retain: true, release: true); } NSURLSessionDownloadTask downloadTaskWithResumeData_(NSData resumeData) { final _ret = _lib._objc_msgSend_1069( - _id, _lib._sel_downloadTaskWithResumeData_1, resumeData._id); + this.pointer, + _lib._sel_downloadTaskWithResumeData_1, + resumeData.pointer, + ); return NSURLSessionDownloadTask._(_ret, _lib, retain: true, release: true); } NSURLSessionStreamTask streamTaskWithHostName_port_( - NSString hostname, int port) { + NSString hostname, + int port, + ) { final _ret = _lib._objc_msgSend_1072( - _id, _lib._sel_streamTaskWithHostName_port_1, hostname._id, port); + this.pointer, + _lib._sel_streamTaskWithHostName_port_1, + hostname.pointer, + port, + ); return NSURLSessionStreamTask._(_ret, _lib, retain: true, release: true); } NSURLSessionStreamTask streamTaskWithNetService_(NSNetService service) { final _ret = _lib._objc_msgSend_1080( - _id, _lib._sel_streamTaskWithNetService_1, service._id); + this.pointer, + _lib._sel_streamTaskWithNetService_1, + service.pointer, + ); return NSURLSessionStreamTask._(_ret, _lib, retain: true, release: true); } NSURLSessionWebSocketTask webSocketTaskWithURL_(NSURL url) { - final _ret = - _lib._objc_msgSend_1087(_id, _lib._sel_webSocketTaskWithURL_1, url._id); + final _ret = _lib._objc_msgSend_1087( + this.pointer, + _lib._sel_webSocketTaskWithURL_1, + url.pointer, + ); return NSURLSessionWebSocketTask._(_ret, _lib, retain: true, release: true); } NSURLSessionWebSocketTask webSocketTaskWithURL_protocols_( - NSURL url, NSArray protocols) { - final _ret = _lib._objc_msgSend_1088(_id, - _lib._sel_webSocketTaskWithURL_protocols_1, url._id, protocols._id); + NSURL url, + NSArray protocols, + ) { + final _ret = _lib._objc_msgSend_1088( + this.pointer, + _lib._sel_webSocketTaskWithURL_protocols_1, + url.pointer, + protocols.pointer, + ); return NSURLSessionWebSocketTask._(_ret, _lib, retain: true, release: true); } NSURLSessionWebSocketTask webSocketTaskWithRequest_(NSURLRequest request) { final _ret = _lib._objc_msgSend_1089( - _id, _lib._sel_webSocketTaskWithRequest_1, request._id); + this.pointer, + _lib._sel_webSocketTaskWithRequest_1, + request.pointer, + ); return NSURLSessionWebSocketTask._(_ret, _lib, retain: true, release: true); } @override NSURLSession init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSURLSession._(_ret, _lib, retain: true, release: true); } static NSURLSession new1(AVFAudio _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSURLSession1, _lib._sel_new1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSURLSession1, + _lib._sel_new1, + ); return NSURLSession._(_ret, _lib, retain: false, release: true); } NSURLSessionDataTask dataTaskWithRequest_completionHandler_( - NSURLRequest request, - ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError completionHandler) { + NSURLRequest request, + ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError completionHandler, + ) { final _ret = _lib._objc_msgSend_1090( - _id, - _lib._sel_dataTaskWithRequest_completionHandler_1, - request._id, - completionHandler._id); + this.pointer, + _lib._sel_dataTaskWithRequest_completionHandler_1, + request.pointer, + completionHandler.pointer, + ); return NSURLSessionDataTask._(_ret, _lib, retain: true, release: true); } - NSURLSessionDataTask dataTaskWithURL_completionHandler_(NSURL url, - ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError completionHandler) { + NSURLSessionDataTask dataTaskWithURL_completionHandler_( + NSURL url, + ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError completionHandler, + ) { final _ret = _lib._objc_msgSend_1091( - _id, - _lib._sel_dataTaskWithURL_completionHandler_1, - url._id, - completionHandler._id); + this.pointer, + _lib._sel_dataTaskWithURL_completionHandler_1, + url.pointer, + completionHandler.pointer, + ); return NSURLSessionDataTask._(_ret, _lib, retain: true, release: true); } NSURLSessionUploadTask uploadTaskWithRequest_fromFile_completionHandler_( - NSURLRequest request, - NSURL fileURL, - ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError completionHandler) { + NSURLRequest request, + NSURL fileURL, + ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError completionHandler, + ) { final _ret = _lib._objc_msgSend_1092( - _id, - _lib._sel_uploadTaskWithRequest_fromFile_completionHandler_1, - request._id, - fileURL._id, - completionHandler._id); + this.pointer, + _lib._sel_uploadTaskWithRequest_fromFile_completionHandler_1, + request.pointer, + fileURL.pointer, + completionHandler.pointer, + ); return NSURLSessionUploadTask._(_ret, _lib, retain: true, release: true); } NSURLSessionUploadTask uploadTaskWithRequest_fromData_completionHandler_( - NSURLRequest request, - NSData? bodyData, - ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError completionHandler) { + NSURLRequest request, + NSData? bodyData, + ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError completionHandler, + ) { final _ret = _lib._objc_msgSend_1093( - _id, - _lib._sel_uploadTaskWithRequest_fromData_completionHandler_1, - request._id, - bodyData?._id ?? ffi.nullptr, - completionHandler._id); + this.pointer, + _lib._sel_uploadTaskWithRequest_fromData_completionHandler_1, + request.pointer, + bodyData?.pointer ?? ffi.nullptr, + completionHandler.pointer, + ); return NSURLSessionUploadTask._(_ret, _lib, retain: true, release: true); } NSURLSessionUploadTask uploadTaskWithResumeData_completionHandler_( - NSData resumeData, - ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError completionHandler) { + NSData resumeData, + ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError completionHandler, + ) { final _ret = _lib._objc_msgSend_1094( - _id, - _lib._sel_uploadTaskWithResumeData_completionHandler_1, - resumeData._id, - completionHandler._id); + this.pointer, + _lib._sel_uploadTaskWithResumeData_completionHandler_1, + resumeData.pointer, + completionHandler.pointer, + ); return NSURLSessionUploadTask._(_ret, _lib, retain: true, release: true); } NSURLSessionDownloadTask downloadTaskWithRequest_completionHandler_( - NSURLRequest request, - ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError completionHandler) { + NSURLRequest request, + ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError completionHandler, + ) { final _ret = _lib._objc_msgSend_1095( - _id, - _lib._sel_downloadTaskWithRequest_completionHandler_1, - request._id, - completionHandler._id); + this.pointer, + _lib._sel_downloadTaskWithRequest_completionHandler_1, + request.pointer, + completionHandler.pointer, + ); return NSURLSessionDownloadTask._(_ret, _lib, retain: true, release: true); } - NSURLSessionDownloadTask downloadTaskWithURL_completionHandler_(NSURL url, - ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError completionHandler) { + NSURLSessionDownloadTask downloadTaskWithURL_completionHandler_( + NSURL url, + ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError completionHandler, + ) { final _ret = _lib._objc_msgSend_1096( - _id, - _lib._sel_downloadTaskWithURL_completionHandler_1, - url._id, - completionHandler._id); + this.pointer, + _lib._sel_downloadTaskWithURL_completionHandler_1, + url.pointer, + completionHandler.pointer, + ); return NSURLSessionDownloadTask._(_ret, _lib, retain: true, release: true); } NSURLSessionDownloadTask downloadTaskWithResumeData_completionHandler_( - NSData resumeData, - ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError completionHandler) { + NSData resumeData, + ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError completionHandler, + ) { final _ret = _lib._objc_msgSend_1097( - _id, - _lib._sel_downloadTaskWithResumeData_completionHandler_1, - resumeData._id, - completionHandler._id); + this.pointer, + _lib._sel_downloadTaskWithResumeData_completionHandler_1, + resumeData.pointer, + completionHandler.pointer, + ); return NSURLSessionDownloadTask._(_ret, _lib, retain: true, release: true); } static NSURLSession allocWithZone_(AVFAudio _lib, ffi.Pointer<_NSZone> zone) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSURLSession1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSURLSession1, + _lib._sel_allocWithZone_1, + zone, + ); return NSURLSession._(_ret, _lib, retain: false, release: true); } static NSURLSession alloc(AVFAudio _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSURLSession1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSURLSession1, + _lib._sel_alloc1, + ); return NSURLSession._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + AVFAudio _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSURLSession1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSURLSession1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSURLSession1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + AVFAudio _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSURLSession1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { return _lib._objc_msgSend_12( - _lib._class_NSURLSession1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_NSURLSession1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(AVFAudio _lib) { return _lib._objc_msgSend_12( - _lib._class_NSURLSession1, _lib._sel_useStoredAccessor1); + _lib._class_NSURLSession1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSURLSession1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSURLSession1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSURLSession1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSURLSession1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, NSArray keys, NSString dependentKey) { + AVFAudio _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSURLSession1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSURLSession1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { final _ret = _lib._objc_msgSend_85( - _lib._class_NSURLSession1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSURLSession1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(AVFAudio _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLSession1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSURLSession1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } class NSURLSessionConfiguration extends NSObject { - NSURLSessionConfiguration._(ffi.Pointer id, AVFAudio lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSURLSessionConfiguration._( + ffi.Pointer pointer, + AVFAudio lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSURLSessionConfiguration] that points to the same underlying object as [other]. - static NSURLSessionConfiguration castFrom(T other) { - return NSURLSessionConfiguration._(other._id, other._lib, - retain: true, release: true); + static NSURLSessionConfiguration castFrom( + AVFAudio lib, + T other, + ) { + return NSURLSessionConfiguration._( + other.pointer, + lib, + retain: true, + release: true, + ); } /// Returns a [NSURLSessionConfiguration] that wraps the given raw object pointer. static NSURLSessionConfiguration castFromPointer( - AVFAudio lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { - return NSURLSessionConfiguration._(other, lib, - retain: retain, release: release); + AVFAudio lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { + return NSURLSessionConfiguration._( + other, + lib, + retain: retain, + release: release, + ); } /// Returns whether [obj] is an instance of [NSURLSessionConfiguration]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0(obj._id, obj._lib._sel_isKindOfClass_1, - obj._lib._class_NSURLSessionConfiguration1); + static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSURLSessionConfiguration1, + ); } static NSURLSessionConfiguration getDefaultSessionConfiguration( - AVFAudio _lib) { - final _ret = _lib._objc_msgSend_1041(_lib._class_NSURLSessionConfiguration1, - _lib._sel_defaultSessionConfiguration1); + AVFAudio _lib, + ) { + final _ret = _lib._objc_msgSend_1041( + _lib._class_NSURLSessionConfiguration1, + _lib._sel_defaultSessionConfiguration1, + ); return NSURLSessionConfiguration._(_ret, _lib, retain: true, release: true); } static NSURLSessionConfiguration getEphemeralSessionConfiguration( - AVFAudio _lib) { - final _ret = _lib._objc_msgSend_1041(_lib._class_NSURLSessionConfiguration1, - _lib._sel_ephemeralSessionConfiguration1); + AVFAudio _lib, + ) { + final _ret = _lib._objc_msgSend_1041( + _lib._class_NSURLSessionConfiguration1, + _lib._sel_ephemeralSessionConfiguration1, + ); return NSURLSessionConfiguration._(_ret, _lib, retain: true, release: true); } static NSURLSessionConfiguration - backgroundSessionConfigurationWithIdentifier_( - AVFAudio _lib, NSString identifier) { + backgroundSessionConfigurationWithIdentifier_( + AVFAudio _lib, + NSString identifier, + ) { final _ret = _lib._objc_msgSend_1042( - _lib._class_NSURLSessionConfiguration1, - _lib._sel_backgroundSessionConfigurationWithIdentifier_1, - identifier._id); + _lib._class_NSURLSessionConfiguration1, + _lib._sel_backgroundSessionConfigurationWithIdentifier_1, + identifier.pointer, + ); return NSURLSessionConfiguration._(_ret, _lib, retain: true, release: true); } NSString? get identifier { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_identifier1); + final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_identifier1); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } int get requestCachePolicy { - return _lib._objc_msgSend_859(_id, _lib._sel_requestCachePolicy1); + return _lib._objc_msgSend_859(this.pointer, _lib._sel_requestCachePolicy1); } set requestCachePolicy(int value) { return _lib._objc_msgSend_1017( - _id, _lib._sel_setRequestCachePolicy_1, value); + this.pointer, + _lib._sel_setRequestCachePolicy_1, + value, + ); } double get timeoutIntervalForRequest { - return _lib._objc_msgSend_useVariants1 + return objc.useMsgSendVariants ? _lib._objc_msgSend_165_fpret( - _id, _lib._sel_timeoutIntervalForRequest1) - : _lib._objc_msgSend_165(_id, _lib._sel_timeoutIntervalForRequest1); + this.pointer, + _lib._sel_timeoutIntervalForRequest1, + ) + : _lib._objc_msgSend_165( + this.pointer, + _lib._sel_timeoutIntervalForRequest1, + ); } set timeoutIntervalForRequest(double value) { return _lib._objc_msgSend_542( - _id, _lib._sel_setTimeoutIntervalForRequest_1, value); + this.pointer, + _lib._sel_setTimeoutIntervalForRequest_1, + value, + ); } double get timeoutIntervalForResource { - return _lib._objc_msgSend_useVariants1 + return objc.useMsgSendVariants ? _lib._objc_msgSend_165_fpret( - _id, _lib._sel_timeoutIntervalForResource1) - : _lib._objc_msgSend_165(_id, _lib._sel_timeoutIntervalForResource1); + this.pointer, + _lib._sel_timeoutIntervalForResource1, + ) + : _lib._objc_msgSend_165( + this.pointer, + _lib._sel_timeoutIntervalForResource1, + ); } set timeoutIntervalForResource(double value) { return _lib._objc_msgSend_542( - _id, _lib._sel_setTimeoutIntervalForResource_1, value); + this.pointer, + _lib._sel_setTimeoutIntervalForResource_1, + value, + ); } int get networkServiceType { - return _lib._objc_msgSend_860(_id, _lib._sel_networkServiceType1); + return _lib._objc_msgSend_860(this.pointer, _lib._sel_networkServiceType1); } set networkServiceType(int value) { return _lib._objc_msgSend_1018( - _id, _lib._sel_setNetworkServiceType_1, value); + this.pointer, + _lib._sel_setNetworkServiceType_1, + value, + ); } bool get allowsCellularAccess { - return _lib._objc_msgSend_12(_id, _lib._sel_allowsCellularAccess1); + return _lib._objc_msgSend_12(this.pointer, _lib._sel_allowsCellularAccess1); } set allowsCellularAccess(bool value) { return _lib._objc_msgSend_527( - _id, _lib._sel_setAllowsCellularAccess_1, value); + this.pointer, + _lib._sel_setAllowsCellularAccess_1, + value, + ); } bool get allowsExpensiveNetworkAccess { - return _lib._objc_msgSend_12(_id, _lib._sel_allowsExpensiveNetworkAccess1); + return _lib._objc_msgSend_12( + this.pointer, + _lib._sel_allowsExpensiveNetworkAccess1, + ); } set allowsExpensiveNetworkAccess(bool value) { return _lib._objc_msgSend_527( - _id, _lib._sel_setAllowsExpensiveNetworkAccess_1, value); + this.pointer, + _lib._sel_setAllowsExpensiveNetworkAccess_1, + value, + ); } bool get allowsConstrainedNetworkAccess { return _lib._objc_msgSend_12( - _id, _lib._sel_allowsConstrainedNetworkAccess1); + this.pointer, + _lib._sel_allowsConstrainedNetworkAccess1, + ); } set allowsConstrainedNetworkAccess(bool value) { return _lib._objc_msgSend_527( - _id, _lib._sel_setAllowsConstrainedNetworkAccess_1, value); + this.pointer, + _lib._sel_setAllowsConstrainedNetworkAccess_1, + value, + ); } bool get requiresDNSSECValidation { - return _lib._objc_msgSend_12(_id, _lib._sel_requiresDNSSECValidation1); + return _lib._objc_msgSend_12( + this.pointer, + _lib._sel_requiresDNSSECValidation1, + ); } set requiresDNSSECValidation(bool value) { return _lib._objc_msgSend_527( - _id, _lib._sel_setRequiresDNSSECValidation_1, value); + this.pointer, + _lib._sel_setRequiresDNSSECValidation_1, + value, + ); } bool get waitsForConnectivity { - return _lib._objc_msgSend_12(_id, _lib._sel_waitsForConnectivity1); + return _lib._objc_msgSend_12(this.pointer, _lib._sel_waitsForConnectivity1); } set waitsForConnectivity(bool value) { return _lib._objc_msgSend_527( - _id, _lib._sel_setWaitsForConnectivity_1, value); + this.pointer, + _lib._sel_setWaitsForConnectivity_1, + value, + ); } bool get discretionary { - return _lib._objc_msgSend_12(_id, _lib._sel_isDiscretionary1); + return _lib._objc_msgSend_12(this.pointer, _lib._sel_isDiscretionary1); } set discretionary(bool value) { - return _lib._objc_msgSend_527(_id, _lib._sel_setDiscretionary_1, value); + return _lib._objc_msgSend_527( + this.pointer, + _lib._sel_setDiscretionary_1, + value, + ); } NSString? get sharedContainerIdentifier { - final _ret = - _lib._objc_msgSend_44(_id, _lib._sel_sharedContainerIdentifier1); + final _ret = _lib._objc_msgSend_44( + this.pointer, + _lib._sel_sharedContainerIdentifier1, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } set sharedContainerIdentifier(NSString? value) { - return _lib._objc_msgSend_545(_id, _lib._sel_setSharedContainerIdentifier_1, - value?._id ?? ffi.nullptr); + return _lib._objc_msgSend_545( + this.pointer, + _lib._sel_setSharedContainerIdentifier_1, + value?.pointer ?? ffi.nullptr, + ); } bool get sessionSendsLaunchEvents { - return _lib._objc_msgSend_12(_id, _lib._sel_sessionSendsLaunchEvents1); + return _lib._objc_msgSend_12( + this.pointer, + _lib._sel_sessionSendsLaunchEvents1, + ); } set sessionSendsLaunchEvents(bool value) { return _lib._objc_msgSend_527( - _id, _lib._sel_setSessionSendsLaunchEvents_1, value); + this.pointer, + _lib._sel_setSessionSendsLaunchEvents_1, + value, + ); } NSDictionary? get connectionProxyDictionary { - final _ret = - _lib._objc_msgSend_390(_id, _lib._sel_connectionProxyDictionary1); + final _ret = _lib._objc_msgSend_390( + this.pointer, + _lib._sel_connectionProxyDictionary1, + ); return _ret.address == 0 ? null : NSDictionary._(_ret, _lib, retain: true, release: true); } set connectionProxyDictionary(NSDictionary? value) { - return _lib._objc_msgSend_634(_id, _lib._sel_setConnectionProxyDictionary_1, - value?._id ?? ffi.nullptr); + return _lib._objc_msgSend_634( + this.pointer, + _lib._sel_setConnectionProxyDictionary_1, + value?.pointer ?? ffi.nullptr, + ); } int get TLSMinimumSupportedProtocol { - return _lib._objc_msgSend_1043(_id, _lib._sel_TLSMinimumSupportedProtocol1); + return _lib._objc_msgSend_1043( + this.pointer, + _lib._sel_TLSMinimumSupportedProtocol1, + ); } set TLSMinimumSupportedProtocol(int value) { return _lib._objc_msgSend_1044( - _id, _lib._sel_setTLSMinimumSupportedProtocol_1, value); + this.pointer, + _lib._sel_setTLSMinimumSupportedProtocol_1, + value, + ); } int get TLSMaximumSupportedProtocol { - return _lib._objc_msgSend_1043(_id, _lib._sel_TLSMaximumSupportedProtocol1); + return _lib._objc_msgSend_1043( + this.pointer, + _lib._sel_TLSMaximumSupportedProtocol1, + ); } set TLSMaximumSupportedProtocol(int value) { return _lib._objc_msgSend_1044( - _id, _lib._sel_setTLSMaximumSupportedProtocol_1, value); + this.pointer, + _lib._sel_setTLSMaximumSupportedProtocol_1, + value, + ); } int get TLSMinimumSupportedProtocolVersion { return _lib._objc_msgSend_1045( - _id, _lib._sel_TLSMinimumSupportedProtocolVersion1); + this.pointer, + _lib._sel_TLSMinimumSupportedProtocolVersion1, + ); } set TLSMinimumSupportedProtocolVersion(int value) { return _lib._objc_msgSend_1046( - _id, _lib._sel_setTLSMinimumSupportedProtocolVersion_1, value); + this.pointer, + _lib._sel_setTLSMinimumSupportedProtocolVersion_1, + value, + ); } int get TLSMaximumSupportedProtocolVersion { return _lib._objc_msgSend_1045( - _id, _lib._sel_TLSMaximumSupportedProtocolVersion1); + this.pointer, + _lib._sel_TLSMaximumSupportedProtocolVersion1, + ); } set TLSMaximumSupportedProtocolVersion(int value) { return _lib._objc_msgSend_1046( - _id, _lib._sel_setTLSMaximumSupportedProtocolVersion_1, value); + this.pointer, + _lib._sel_setTLSMaximumSupportedProtocolVersion_1, + value, + ); } bool get HTTPShouldUsePipelining { - return _lib._objc_msgSend_12(_id, _lib._sel_HTTPShouldUsePipelining1); + return _lib._objc_msgSend_12( + this.pointer, + _lib._sel_HTTPShouldUsePipelining1, + ); } set HTTPShouldUsePipelining(bool value) { return _lib._objc_msgSend_527( - _id, _lib._sel_setHTTPShouldUsePipelining_1, value); + this.pointer, + _lib._sel_setHTTPShouldUsePipelining_1, + value, + ); } bool get HTTPShouldSetCookies { - return _lib._objc_msgSend_12(_id, _lib._sel_HTTPShouldSetCookies1); + return _lib._objc_msgSend_12(this.pointer, _lib._sel_HTTPShouldSetCookies1); } set HTTPShouldSetCookies(bool value) { return _lib._objc_msgSend_527( - _id, _lib._sel_setHTTPShouldSetCookies_1, value); + this.pointer, + _lib._sel_setHTTPShouldSetCookies_1, + value, + ); } int get HTTPCookieAcceptPolicy { - return _lib._objc_msgSend_856(_id, _lib._sel_HTTPCookieAcceptPolicy1); + return _lib._objc_msgSend_856( + this.pointer, + _lib._sel_HTTPCookieAcceptPolicy1, + ); } set HTTPCookieAcceptPolicy(int value) { return _lib._objc_msgSend_857( - _id, _lib._sel_setHTTPCookieAcceptPolicy_1, value); + this.pointer, + _lib._sel_setHTTPCookieAcceptPolicy_1, + value, + ); } NSDictionary? get HTTPAdditionalHeaders { - final _ret = _lib._objc_msgSend_390(_id, _lib._sel_HTTPAdditionalHeaders1); + final _ret = _lib._objc_msgSend_390( + this.pointer, + _lib._sel_HTTPAdditionalHeaders1, + ); return _ret.address == 0 ? null : NSDictionary._(_ret, _lib, retain: true, release: true); @@ -70961,20 +94879,32 @@ class NSURLSessionConfiguration extends NSObject { set HTTPAdditionalHeaders(NSDictionary? value) { return _lib._objc_msgSend_634( - _id, _lib._sel_setHTTPAdditionalHeaders_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setHTTPAdditionalHeaders_1, + value?.pointer ?? ffi.nullptr, + ); } int get HTTPMaximumConnectionsPerHost { - return _lib._objc_msgSend_83(_id, _lib._sel_HTTPMaximumConnectionsPerHost1); + return _lib._objc_msgSend_83( + this.pointer, + _lib._sel_HTTPMaximumConnectionsPerHost1, + ); } set HTTPMaximumConnectionsPerHost(int value) { return _lib._objc_msgSend_635( - _id, _lib._sel_setHTTPMaximumConnectionsPerHost_1, value); + this.pointer, + _lib._sel_setHTTPMaximumConnectionsPerHost_1, + value, + ); } NSHTTPCookieStorage? get HTTPCookieStorage { - final _ret = _lib._objc_msgSend_1047(_id, _lib._sel_HTTPCookieStorage1); + final _ret = _lib._objc_msgSend_1047( + this.pointer, + _lib._sel_HTTPCookieStorage1, + ); return _ret.address == 0 ? null : NSHTTPCookieStorage._(_ret, _lib, retain: true, release: true); @@ -70982,11 +94912,17 @@ class NSURLSessionConfiguration extends NSObject { set HTTPCookieStorage(NSHTTPCookieStorage? value) { return _lib._objc_msgSend_1048( - _id, _lib._sel_setHTTPCookieStorage_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setHTTPCookieStorage_1, + value?.pointer ?? ffi.nullptr, + ); } NSURLCredentialStorage? get URLCredentialStorage { - final _ret = _lib._objc_msgSend_1049(_id, _lib._sel_URLCredentialStorage1); + final _ret = _lib._objc_msgSend_1049( + this.pointer, + _lib._sel_URLCredentialStorage1, + ); return _ret.address == 0 ? null : NSURLCredentialStorage._(_ret, _lib, retain: true, release: true); @@ -70994,11 +94930,14 @@ class NSURLSessionConfiguration extends NSObject { set URLCredentialStorage(NSURLCredentialStorage? value) { return _lib._objc_msgSend_1050( - _id, _lib._sel_setURLCredentialStorage_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setURLCredentialStorage_1, + value?.pointer ?? ffi.nullptr, + ); } NSURLCache? get URLCache { - final _ret = _lib._objc_msgSend_1051(_id, _lib._sel_URLCache1); + final _ret = _lib._objc_msgSend_1051(this.pointer, _lib._sel_URLCache1); return _ret.address == 0 ? null : NSURLCache._(_ret, _lib, retain: true, release: true); @@ -71006,21 +94945,32 @@ class NSURLSessionConfiguration extends NSObject { set URLCache(NSURLCache? value) { return _lib._objc_msgSend_1052( - _id, _lib._sel_setURLCache_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setURLCache_1, + value?.pointer ?? ffi.nullptr, + ); } bool get shouldUseExtendedBackgroundIdleMode { return _lib._objc_msgSend_12( - _id, _lib._sel_shouldUseExtendedBackgroundIdleMode1); + this.pointer, + _lib._sel_shouldUseExtendedBackgroundIdleMode1, + ); } set shouldUseExtendedBackgroundIdleMode(bool value) { return _lib._objc_msgSend_527( - _id, _lib._sel_setShouldUseExtendedBackgroundIdleMode_1, value); + this.pointer, + _lib._sel_setShouldUseExtendedBackgroundIdleMode_1, + value, + ); } NSArray? get protocolClasses { - final _ret = _lib._objc_msgSend_84(_id, _lib._sel_protocolClasses1); + final _ret = _lib._objc_msgSend_84( + this.pointer, + _lib._sel_protocolClasses1, + ); return _ret.address == 0 ? null : NSArray._(_ret, _lib, retain: true, release: true); @@ -71028,113 +94978,177 @@ class NSURLSessionConfiguration extends NSObject { set protocolClasses(NSArray? value) { return _lib._objc_msgSend_1053( - _id, _lib._sel_setProtocolClasses_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setProtocolClasses_1, + value?.pointer ?? ffi.nullptr, + ); } int get multipathServiceType { - return _lib._objc_msgSend_1054(_id, _lib._sel_multipathServiceType1); + return _lib._objc_msgSend_1054( + this.pointer, + _lib._sel_multipathServiceType1, + ); } set multipathServiceType(int value) { return _lib._objc_msgSend_1055( - _id, _lib._sel_setMultipathServiceType_1, value); + this.pointer, + _lib._sel_setMultipathServiceType_1, + value, + ); } @override NSURLSessionConfiguration init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSURLSessionConfiguration._(_ret, _lib, retain: true, release: true); } static NSURLSessionConfiguration new1(AVFAudio _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLSessionConfiguration1, _lib._sel_new1); - return NSURLSessionConfiguration._(_ret, _lib, - retain: false, release: true); + _lib._class_NSURLSessionConfiguration1, + _lib._sel_new1, + ); + return NSURLSessionConfiguration._( + _ret, + _lib, + retain: false, + release: true, + ); } static NSURLSessionConfiguration backgroundSessionConfiguration_( - AVFAudio _lib, NSString identifier) { - final _ret = _lib._objc_msgSend_1042(_lib._class_NSURLSessionConfiguration1, - _lib._sel_backgroundSessionConfiguration_1, identifier._id); + AVFAudio _lib, + NSString identifier, + ) { + final _ret = _lib._objc_msgSend_1042( + _lib._class_NSURLSessionConfiguration1, + _lib._sel_backgroundSessionConfiguration_1, + identifier.pointer, + ); return NSURLSessionConfiguration._(_ret, _lib, retain: true, release: true); } static NSURLSessionConfiguration allocWithZone_( - AVFAudio _lib, ffi.Pointer<_NSZone> zone) { - final _ret = _lib._objc_msgSend_3(_lib._class_NSURLSessionConfiguration1, - _lib._sel_allocWithZone_1, zone); - return NSURLSessionConfiguration._(_ret, _lib, - retain: false, release: true); + AVFAudio _lib, + ffi.Pointer<_NSZone> zone, + ) { + final _ret = _lib._objc_msgSend_3( + _lib._class_NSURLSessionConfiguration1, + _lib._sel_allocWithZone_1, + zone, + ); + return NSURLSessionConfiguration._( + _ret, + _lib, + retain: false, + release: true, + ); } static NSURLSessionConfiguration alloc(AVFAudio _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLSessionConfiguration1, _lib._sel_alloc1); - return NSURLSessionConfiguration._(_ret, _lib, - retain: false, release: true); + _lib._class_NSURLSessionConfiguration1, + _lib._sel_alloc1, + ); + return NSURLSessionConfiguration._( + _ret, + _lib, + retain: false, + release: true, + ); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + AVFAudio _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSURLSessionConfiguration1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSURLSessionConfiguration1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSURLSessionConfiguration1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + AVFAudio _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSURLSessionConfiguration1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { - return _lib._objc_msgSend_12(_lib._class_NSURLSessionConfiguration1, - _lib._sel_accessInstanceVariablesDirectly1); + return _lib._objc_msgSend_12( + _lib._class_NSURLSessionConfiguration1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(AVFAudio _lib) { return _lib._objc_msgSend_12( - _lib._class_NSURLSessionConfiguration1, _lib._sel_useStoredAccessor1); + _lib._class_NSURLSessionConfiguration1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSURLSessionConfiguration1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSURLSessionConfiguration1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSURLSessionConfiguration1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSURLSessionConfiguration1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, NSArray keys, NSString dependentKey) { + AVFAudio _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSURLSessionConfiguration1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSURLSessionConfiguration1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_85(_lib._class_NSURLSessionConfiguration1, - _lib._sel_classFallbacksForKeyedArchiver1); + final _ret = _lib._objc_msgSend_85( + _lib._class_NSURLSessionConfiguration1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2(_lib._class_NSURLSessionConfiguration1, - _lib._sel_classForKeyedUnarchiver1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSURLSessionConfiguration1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } @@ -71172,54 +95186,83 @@ abstract class NSURLSessionMultipathServiceType { } void _ObjCBlock_ffiVoid_NSArray_NSArray_NSArray_fnPtrTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2) => - block.ref.target - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2)>>() - .asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>()(arg0, arg1, arg2); -final _ObjCBlock_ffiVoid_NSArray_NSArray_NSArray_closureRegistry = , ffi.Pointer, - ffi.Pointer)>{}; + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, +) => block.ref.target + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, + ) + > + >() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >()(arg0, arg1, arg2); +final _ObjCBlock_ffiVoid_NSArray_NSArray_NSArray_closureRegistry = + < + int, + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >{}; int _ObjCBlock_ffiVoid_NSArray_NSArray_NSArray_closureRegistryIndex = 0; ffi.Pointer - _ObjCBlock_ffiVoid_NSArray_NSArray_NSArray_registerClosure( - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer) - fn) { +_ObjCBlock_ffiVoid_NSArray_NSArray_NSArray_registerClosure( + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) fn, +) { final id = ++_ObjCBlock_ffiVoid_NSArray_NSArray_NSArray_closureRegistryIndex; _ObjCBlock_ffiVoid_NSArray_NSArray_NSArray_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } void _ObjCBlock_ffiVoid_NSArray_NSArray_NSArray_closureTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2) => - _ObjCBlock_ffiVoid_NSArray_NSArray_NSArray_closureRegistry[ - block.ref.target.address]!(arg0, arg1, arg2); - -class ObjCBlock_ffiVoid_NSArray_NSArray_NSArray extends _ObjCBlockBase { + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, +) => _ObjCBlock_ffiVoid_NSArray_NSArray_NSArray_closureRegistry[block + .ref + .target + .address]!(arg0, arg1, arg2); + +class ObjCBlock_ffiVoid_NSArray_NSArray_NSArray extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSArray_NSArray_NSArray._( - ffi.Pointer<_ObjCBlock> id, AVFAudio lib, - {bool retain = false, bool release = true}) - : super._(id, lib, retain: retain, release: release); + ffi.Pointer pointer, + this._lib, { + bool retain = false, + bool release = true, + }) : super(pointer, retain: retain, release: release); + + AVFAudio _lib; /// Returns a block that wraps the given raw block pointer. static ObjCBlock_ffiVoid_NSArray_NSArray_NSArray castFromPointer( - AVFAudio lib, ffi.Pointer<_ObjCBlock> pointer, - {bool retain = false, bool release = false}) { - return ObjCBlock_ffiVoid_NSArray_NSArray_NSArray._(pointer, lib, - retain: retain, release: release); + AVFAudio lib, + ffi.Pointer pointer, { + bool retain = false, + bool release = false, + }) { + return ObjCBlock_ffiVoid_NSArray_NSArray_NSArray._( + pointer, + lib, + retain: retain, + release: release, + ); } /// Creates a block from a C function pointer. @@ -71228,26 +95271,30 @@ class ObjCBlock_ffiVoid_NSArray_NSArray_NSArray extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSArray_NSArray_NSArray.fromFunctionPointer( - AVFAudio lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2)>> - ptr) - : this._( - lib._newBlock1( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_NSArray_NSArray_NSArray_fnPtrTrampoline) - .cast(), - ptr.cast()), - lib); + AVFAudio lib, + ffi.Pointer< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, + ) + > + > ptr, + ) : this._(objc.newBlock( + _cFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >( + _ObjCBlock_ffiVoid_NSArray_NSArray_NSArray_fnPtrTrampoline, + ).cast(), + ptr.cast(), + ), lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -71255,23 +95302,31 @@ class ObjCBlock_ffiVoid_NSArray_NSArray_NSArray extends _ObjCBlockBase { /// This block must be invoked by native code running on the same thread as /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. - ObjCBlock_ffiVoid_NSArray_NSArray_NSArray.fromFunction(AVFAudio lib, void Function(NSArray, NSArray, NSArray) fn) - : this._( - lib._newBlock1( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_NSArray_NSArray_NSArray_closureTrampoline) - .cast(), - _ObjCBlock_ffiVoid_NSArray_NSArray_NSArray_registerClosure( - (ffi.Pointer arg0, ffi.Pointer arg1, ffi.Pointer arg2) => fn( - NSArray._(arg0, lib, retain: true, release: true), - NSArray._(arg1, lib, retain: true, release: true), - NSArray._(arg2, lib, retain: true, release: true)))), - lib); + ObjCBlock_ffiVoid_NSArray_NSArray_NSArray.fromFunction( + AVFAudio lib, + void Function(NSArray, NSArray, NSArray) fn, + ) : this._(objc.newBlock( + _dartFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >( + _ObjCBlock_ffiVoid_NSArray_NSArray_NSArray_closureTrampoline, + ).cast(), + _ObjCBlock_ffiVoid_NSArray_NSArray_NSArray_registerClosure(( + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, + ) => fn( + NSArray._(arg0, lib, retain: true, release: true), + NSArray._(arg1, lib, retain: true, release: true), + NSArray._(arg2, lib, retain: true, release: true), + )), + ), lib); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -71283,81 +95338,111 @@ class ObjCBlock_ffiVoid_NSArray_NSArray_NSArray extends _ObjCBlockBase { /// /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. - ObjCBlock_ffiVoid_NSArray_NSArray_NSArray.listener(AVFAudio lib, void Function(NSArray, NSArray, NSArray) fn) - : this._( - lib._newBlock1( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>.listener( - _ObjCBlock_ffiVoid_NSArray_NSArray_NSArray_closureTrampoline) - ..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSArray_NSArray_NSArray_registerClosure( - (ffi.Pointer arg0, ffi.Pointer arg1, ffi.Pointer arg2) => fn( - NSArray._(arg0, lib, retain: true, release: true), - NSArray._(arg1, lib, retain: true, release: true), - NSArray._(arg2, lib, retain: true, release: true)))), - lib); + ObjCBlock_ffiVoid_NSArray_NSArray_NSArray.listener( + AVFAudio lib, + void Function(NSArray, NSArray, NSArray) fn, + ) : this._(objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >.listener( + _ObjCBlock_ffiVoid_NSArray_NSArray_NSArray_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSArray_NSArray_NSArray_registerClosure(( + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, + ) => fn( + NSArray._(arg0, lib, retain: true, release: true), + NSArray._(arg1, lib, retain: true, release: true), + NSArray._(arg2, lib, retain: true, release: true), + )), + ), lib); static ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>? _dartFuncListenerTrampoline; - - void call(NSArray arg0, NSArray arg1, NSArray arg2) => _id.ref.invoke + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >? _dartFuncListenerTrampoline; + + void call(NSArray arg0, NSArray arg1, NSArray arg2) => pointer.ref.invoke .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2)>>() + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, + ) + > + >() .asFunction< - void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>()(_id, arg0._id, arg1._id, arg2._id); + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >()(pointer, arg0.pointer, arg1.pointer, arg2.pointer); } void _ObjCBlock_ffiVoid_NSArray1_fnPtrTrampoline( - ffi.Pointer<_ObjCBlock> block, ffi.Pointer arg0) => - block.ref.target - .cast< - ffi - .NativeFunction arg0)>>() - .asFunction)>()(arg0); + ffi.Pointer block, + ffi.Pointer arg0, +) => block.ref.target + .cast< + ffi.NativeFunction arg0)> + >() + .asFunction)>()(arg0); final _ObjCBlock_ffiVoid_NSArray1_closureRegistry = - )>{}; + )>{}; int _ObjCBlock_ffiVoid_NSArray1_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_ffiVoid_NSArray1_registerClosure( - void Function(ffi.Pointer) fn) { + void Function(ffi.Pointer) fn, +) { final id = ++_ObjCBlock_ffiVoid_NSArray1_closureRegistryIndex; _ObjCBlock_ffiVoid_NSArray1_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } void _ObjCBlock_ffiVoid_NSArray1_closureTrampoline( - ffi.Pointer<_ObjCBlock> block, ffi.Pointer arg0) => - _ObjCBlock_ffiVoid_NSArray1_closureRegistry[block.ref.target.address]!( - arg0); - -class ObjCBlock_ffiVoid_NSArray1 extends _ObjCBlockBase { - ObjCBlock_ffiVoid_NSArray1._(ffi.Pointer<_ObjCBlock> id, AVFAudio lib, - {bool retain = false, bool release = true}) - : super._(id, lib, retain: retain, release: release); + ffi.Pointer block, + ffi.Pointer arg0, +) => _ObjCBlock_ffiVoid_NSArray1_closureRegistry[block.ref.target.address]!( + arg0, +); + +class ObjCBlock_ffiVoid_NSArray1 extends objc.ObjCBlockBase { + ObjCBlock_ffiVoid_NSArray1._( + ffi.Pointer pointer, + this._lib, { + bool retain = false, + bool release = true, + }) : super(pointer, retain: retain, release: release); + + AVFAudio _lib; /// Returns a block that wraps the given raw block pointer. static ObjCBlock_ffiVoid_NSArray1 castFromPointer( - AVFAudio lib, ffi.Pointer<_ObjCBlock> pointer, - {bool retain = false, bool release = false}) { - return ObjCBlock_ffiVoid_NSArray1._(pointer, lib, - retain: retain, release: release); + AVFAudio lib, + ffi.Pointer pointer, { + bool retain = false, + bool release = false, + }) { + return ObjCBlock_ffiVoid_NSArray1._( + pointer, + lib, + retain: retain, + release: release, + ); } /// Creates a block from a C function pointer. @@ -71366,20 +95451,20 @@ class ObjCBlock_ffiVoid_NSArray1 extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSArray1.fromFunctionPointer( - AVFAudio lib, - ffi.Pointer< - ffi - .NativeFunction arg0)>> - ptr) - : this._( - lib._newBlock1( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_NSArray1_fnPtrTrampoline) - .cast(), - ptr.cast()), - lib); + AVFAudio lib, + ffi.Pointer< + ffi.NativeFunction arg0)> + > ptr, + ) : this._(objc.newBlock( + _cFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_NSArray1_fnPtrTrampoline).cast(), + ptr.cast(), + ), lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -71388,18 +95473,20 @@ class ObjCBlock_ffiVoid_NSArray1 extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSArray1.fromFunction( - AVFAudio lib, void Function(NSArray) fn) - : this._( - lib._newBlock1( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_NSArray1_closureTrampoline) - .cast(), - _ObjCBlock_ffiVoid_NSArray1_registerClosure( - (ffi.Pointer arg0) => - fn(NSArray._(arg0, lib, retain: true, release: true)))), - lib); + AVFAudio lib, + void Function(NSArray) fn, + ) : this._(objc.newBlock( + _dartFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_NSArray1_closureTrampoline).cast(), + _ObjCBlock_ffiVoid_NSArray1_registerClosure(( + ffi.Pointer arg0, + ) => fn(NSArray._(arg0, lib, retain: true, release: true))), + ), lib); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -71412,185 +95499,268 @@ class ObjCBlock_ffiVoid_NSArray1 extends _ObjCBlockBase { /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. ObjCBlock_ffiVoid_NSArray1.listener(AVFAudio lib, void Function(NSArray) fn) - : this._( - lib._newBlock1( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, - ffi.Pointer)>.listener( - _ObjCBlock_ffiVoid_NSArray1_closureTrampoline) - ..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSArray1_registerClosure( - (ffi.Pointer arg0) => - fn(NSArray._(arg0, lib, retain: true, release: true)))), - lib); + : this._(objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ) + >.listener( + _ObjCBlock_ffiVoid_NSArray1_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSArray1_registerClosure(( + ffi.Pointer arg0, + ) => fn(NSArray._(arg0, lib, retain: true, release: true))), + ), lib); static ffi.NativeCallable< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer)>? - _dartFuncListenerTrampoline; + ffi.Void Function(ffi.Pointer, ffi.Pointer) + >? _dartFuncListenerTrampoline; - void call(NSArray arg0) => _id.ref.invoke + void call(NSArray arg0) => pointer.ref.invoke .cast< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0)>>() + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer block, + ffi.Pointer arg0, + ) + > + >() .asFunction< - void Function(ffi.Pointer<_ObjCBlock>, - ffi.Pointer)>()(_id, arg0._id); + void Function(ffi.Pointer, ffi.Pointer) + >()(pointer, arg0.pointer); } class NSURLSessionUploadTask extends NSURLSessionDataTask { - NSURLSessionUploadTask._(ffi.Pointer id, AVFAudio lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSURLSessionUploadTask._( + ffi.Pointer pointer, + AVFAudio lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSURLSessionUploadTask] that points to the same underlying object as [other]. - static NSURLSessionUploadTask castFrom(T other) { - return NSURLSessionUploadTask._(other._id, other._lib, - retain: true, release: true); + static NSURLSessionUploadTask castFrom( + AVFAudio lib, + T other, + ) { + return NSURLSessionUploadTask._( + other.pointer, + lib, + retain: true, + release: true, + ); } /// Returns a [NSURLSessionUploadTask] that wraps the given raw object pointer. static NSURLSessionUploadTask castFromPointer( - AVFAudio lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { - return NSURLSessionUploadTask._(other, lib, - retain: retain, release: release); + AVFAudio lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { + return NSURLSessionUploadTask._( + other, + lib, + retain: retain, + release: release, + ); } /// Returns whether [obj] is an instance of [NSURLSessionUploadTask]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0(obj._id, obj._lib._sel_isKindOfClass_1, - obj._lib._class_NSURLSessionUploadTask1); + static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSURLSessionUploadTask1, + ); } @override NSURLSessionUploadTask init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSURLSessionUploadTask._(_ret, _lib, retain: true, release: true); } static NSURLSessionUploadTask new1(AVFAudio _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLSessionUploadTask1, _lib._sel_new1); + _lib._class_NSURLSessionUploadTask1, + _lib._sel_new1, + ); return NSURLSessionUploadTask._(_ret, _lib, retain: false, release: true); } void cancelByProducingResumeData_( - ObjCBlock_ffiVoid_NSData completionHandler) { + ObjCBlock_ffiVoid_NSData completionHandler, + ) { _lib._objc_msgSend_1062( - _id, _lib._sel_cancelByProducingResumeData_1, completionHandler._id); + this.pointer, + _lib._sel_cancelByProducingResumeData_1, + completionHandler.pointer, + ); } static NSURLSessionUploadTask allocWithZone_( - AVFAudio _lib, ffi.Pointer<_NSZone> zone) { + AVFAudio _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSURLSessionUploadTask1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSURLSessionUploadTask1, + _lib._sel_allocWithZone_1, + zone, + ); return NSURLSessionUploadTask._(_ret, _lib, retain: false, release: true); } static NSURLSessionUploadTask alloc(AVFAudio _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLSessionUploadTask1, _lib._sel_alloc1); + _lib._class_NSURLSessionUploadTask1, + _lib._sel_alloc1, + ); return NSURLSessionUploadTask._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + AVFAudio _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSURLSessionUploadTask1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSURLSessionUploadTask1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSURLSessionUploadTask1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + AVFAudio _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSURLSessionUploadTask1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { - return _lib._objc_msgSend_12(_lib._class_NSURLSessionUploadTask1, - _lib._sel_accessInstanceVariablesDirectly1); + return _lib._objc_msgSend_12( + _lib._class_NSURLSessionUploadTask1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(AVFAudio _lib) { return _lib._objc_msgSend_12( - _lib._class_NSURLSessionUploadTask1, _lib._sel_useStoredAccessor1); + _lib._class_NSURLSessionUploadTask1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSURLSessionUploadTask1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSURLSessionUploadTask1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSURLSessionUploadTask1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSURLSessionUploadTask1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, NSArray keys, NSString dependentKey) { + AVFAudio _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSURLSessionUploadTask1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSURLSessionUploadTask1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_85(_lib._class_NSURLSessionUploadTask1, - _lib._sel_classFallbacksForKeyedArchiver1); + final _ret = _lib._objc_msgSend_85( + _lib._class_NSURLSessionUploadTask1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2(_lib._class_NSURLSessionUploadTask1, - _lib._sel_classForKeyedUnarchiver1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSURLSessionUploadTask1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } void _ObjCBlock_ffiVoid_NSData_fnPtrTrampoline( - ffi.Pointer<_ObjCBlock> block, ffi.Pointer arg0) => - block.ref.target - .cast< - ffi - .NativeFunction arg0)>>() - .asFunction)>()(arg0); + ffi.Pointer block, + ffi.Pointer arg0, +) => block.ref.target + .cast< + ffi.NativeFunction arg0)> + >() + .asFunction)>()(arg0); final _ObjCBlock_ffiVoid_NSData_closureRegistry = - )>{}; + )>{}; int _ObjCBlock_ffiVoid_NSData_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_ffiVoid_NSData_registerClosure( - void Function(ffi.Pointer) fn) { + void Function(ffi.Pointer) fn, +) { final id = ++_ObjCBlock_ffiVoid_NSData_closureRegistryIndex; _ObjCBlock_ffiVoid_NSData_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } void _ObjCBlock_ffiVoid_NSData_closureTrampoline( - ffi.Pointer<_ObjCBlock> block, ffi.Pointer arg0) => - _ObjCBlock_ffiVoid_NSData_closureRegistry[block.ref.target.address]!(arg0); + ffi.Pointer block, + ffi.Pointer arg0, +) => _ObjCBlock_ffiVoid_NSData_closureRegistry[block.ref.target.address]!(arg0); + +class ObjCBlock_ffiVoid_NSData extends objc.ObjCBlockBase { + ObjCBlock_ffiVoid_NSData._( + ffi.Pointer pointer, + this._lib, { + bool retain = false, + bool release = true, + }) : super(pointer, retain: retain, release: release); -class ObjCBlock_ffiVoid_NSData extends _ObjCBlockBase { - ObjCBlock_ffiVoid_NSData._(ffi.Pointer<_ObjCBlock> id, AVFAudio lib, - {bool retain = false, bool release = true}) - : super._(id, lib, retain: retain, release: release); + AVFAudio _lib; /// Returns a block that wraps the given raw block pointer. static ObjCBlock_ffiVoid_NSData castFromPointer( - AVFAudio lib, ffi.Pointer<_ObjCBlock> pointer, - {bool retain = false, bool release = false}) { - return ObjCBlock_ffiVoid_NSData._(pointer, lib, - retain: retain, release: release); + AVFAudio lib, + ffi.Pointer pointer, { + bool retain = false, + bool release = false, + }) { + return ObjCBlock_ffiVoid_NSData._( + pointer, + lib, + retain: retain, + release: release, + ); } /// Creates a block from a C function pointer. @@ -71599,20 +95769,20 @@ class ObjCBlock_ffiVoid_NSData extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSData.fromFunctionPointer( - AVFAudio lib, - ffi.Pointer< - ffi - .NativeFunction arg0)>> - ptr) - : this._( - lib._newBlock1( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_NSData_fnPtrTrampoline) - .cast(), - ptr.cast()), - lib); + AVFAudio lib, + ffi.Pointer< + ffi.NativeFunction arg0)> + > ptr, + ) : this._(objc.newBlock( + _cFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_NSData_fnPtrTrampoline).cast(), + ptr.cast(), + ), lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -71621,18 +95791,22 @@ class ObjCBlock_ffiVoid_NSData extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSData.fromFunction(AVFAudio lib, void Function(NSData?) fn) - : this._( - lib._newBlock1( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_NSData_closureTrampoline) - .cast(), - _ObjCBlock_ffiVoid_NSData_registerClosure( - (ffi.Pointer arg0) => fn(arg0.address == 0 - ? null - : NSData._(arg0, lib, retain: true, release: true)))), - lib); + : this._(objc.newBlock( + _dartFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_NSData_closureTrampoline).cast(), + _ObjCBlock_ffiVoid_NSData_registerClosure(( + ffi.Pointer arg0, + ) => fn( + arg0.address == 0 + ? null + : NSData._(arg0, lib, retain: true, release: true), + )), + ), lib); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -71645,355 +95819,524 @@ class ObjCBlock_ffiVoid_NSData extends _ObjCBlockBase { /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. ObjCBlock_ffiVoid_NSData.listener(AVFAudio lib, void Function(NSData?) fn) - : this._( - lib._newBlock1( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, - ffi.Pointer)>.listener( - _ObjCBlock_ffiVoid_NSData_closureTrampoline) - ..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSData_registerClosure( - (ffi.Pointer arg0) => fn(arg0.address == 0 - ? null - : NSData._(arg0, lib, retain: true, release: true)))), - lib); + : this._(objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ) + >.listener( + _ObjCBlock_ffiVoid_NSData_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSData_registerClosure(( + ffi.Pointer arg0, + ) => fn( + arg0.address == 0 + ? null + : NSData._(arg0, lib, retain: true, release: true), + )), + ), lib); static ffi.NativeCallable< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer)>? - _dartFuncListenerTrampoline; + ffi.Void Function(ffi.Pointer, ffi.Pointer) + >? _dartFuncListenerTrampoline; - void call(NSData? arg0) => _id.ref.invoke + void call(NSData? arg0) => pointer.ref.invoke .cast< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0)>>() + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer block, + ffi.Pointer arg0, + ) + > + >() .asFunction< - void Function(ffi.Pointer<_ObjCBlock>, - ffi.Pointer)>()(_id, arg0?._id ?? ffi.nullptr); + void Function(ffi.Pointer, ffi.Pointer) + >()(pointer, arg0?.pointer ?? ffi.nullptr); } class NSURLSessionDownloadTask extends NSURLSessionTask { - NSURLSessionDownloadTask._(ffi.Pointer id, AVFAudio lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSURLSessionDownloadTask._( + ffi.Pointer pointer, + AVFAudio lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSURLSessionDownloadTask] that points to the same underlying object as [other]. - static NSURLSessionDownloadTask castFrom(T other) { - return NSURLSessionDownloadTask._(other._id, other._lib, - retain: true, release: true); + static NSURLSessionDownloadTask castFrom( + AVFAudio lib, + T other, + ) { + return NSURLSessionDownloadTask._( + other.pointer, + lib, + retain: true, + release: true, + ); } /// Returns a [NSURLSessionDownloadTask] that wraps the given raw object pointer. static NSURLSessionDownloadTask castFromPointer( - AVFAudio lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { - return NSURLSessionDownloadTask._(other, lib, - retain: retain, release: release); + AVFAudio lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { + return NSURLSessionDownloadTask._( + other, + lib, + retain: retain, + release: release, + ); } /// Returns whether [obj] is an instance of [NSURLSessionDownloadTask]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0(obj._id, obj._lib._sel_isKindOfClass_1, - obj._lib._class_NSURLSessionDownloadTask1); + static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSURLSessionDownloadTask1, + ); } void cancelByProducingResumeData_( - ObjCBlock_ffiVoid_NSData completionHandler) { + ObjCBlock_ffiVoid_NSData completionHandler, + ) { _lib._objc_msgSend_1062( - _id, _lib._sel_cancelByProducingResumeData_1, completionHandler._id); + this.pointer, + _lib._sel_cancelByProducingResumeData_1, + completionHandler.pointer, + ); } @override NSURLSessionDownloadTask init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSURLSessionDownloadTask._(_ret, _lib, retain: true, release: true); } static NSURLSessionDownloadTask new1(AVFAudio _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLSessionDownloadTask1, _lib._sel_new1); + _lib._class_NSURLSessionDownloadTask1, + _lib._sel_new1, + ); return NSURLSessionDownloadTask._(_ret, _lib, retain: false, release: true); } static NSURLSessionDownloadTask allocWithZone_( - AVFAudio _lib, ffi.Pointer<_NSZone> zone) { + AVFAudio _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSURLSessionDownloadTask1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSURLSessionDownloadTask1, + _lib._sel_allocWithZone_1, + zone, + ); return NSURLSessionDownloadTask._(_ret, _lib, retain: false, release: true); } static NSURLSessionDownloadTask alloc(AVFAudio _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLSessionDownloadTask1, _lib._sel_alloc1); + _lib._class_NSURLSessionDownloadTask1, + _lib._sel_alloc1, + ); return NSURLSessionDownloadTask._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + AVFAudio _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSURLSessionDownloadTask1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSURLSessionDownloadTask1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSURLSessionDownloadTask1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + AVFAudio _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSURLSessionDownloadTask1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { - return _lib._objc_msgSend_12(_lib._class_NSURLSessionDownloadTask1, - _lib._sel_accessInstanceVariablesDirectly1); + return _lib._objc_msgSend_12( + _lib._class_NSURLSessionDownloadTask1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(AVFAudio _lib) { return _lib._objc_msgSend_12( - _lib._class_NSURLSessionDownloadTask1, _lib._sel_useStoredAccessor1); + _lib._class_NSURLSessionDownloadTask1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSURLSessionDownloadTask1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSURLSessionDownloadTask1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSURLSessionDownloadTask1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSURLSessionDownloadTask1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, NSArray keys, NSString dependentKey) { + AVFAudio _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSURLSessionDownloadTask1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSURLSessionDownloadTask1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_85(_lib._class_NSURLSessionDownloadTask1, - _lib._sel_classFallbacksForKeyedArchiver1); + final _ret = _lib._objc_msgSend_85( + _lib._class_NSURLSessionDownloadTask1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2(_lib._class_NSURLSessionDownloadTask1, - _lib._sel_classForKeyedUnarchiver1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSURLSessionDownloadTask1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } class NSURLSessionStreamTask extends NSURLSessionTask { - NSURLSessionStreamTask._(ffi.Pointer id, AVFAudio lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSURLSessionStreamTask._( + ffi.Pointer pointer, + AVFAudio lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSURLSessionStreamTask] that points to the same underlying object as [other]. - static NSURLSessionStreamTask castFrom(T other) { - return NSURLSessionStreamTask._(other._id, other._lib, - retain: true, release: true); + static NSURLSessionStreamTask castFrom( + AVFAudio lib, + T other, + ) { + return NSURLSessionStreamTask._( + other.pointer, + lib, + retain: true, + release: true, + ); } /// Returns a [NSURLSessionStreamTask] that wraps the given raw object pointer. static NSURLSessionStreamTask castFromPointer( - AVFAudio lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { - return NSURLSessionStreamTask._(other, lib, - retain: retain, release: release); + AVFAudio lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { + return NSURLSessionStreamTask._( + other, + lib, + retain: retain, + release: release, + ); } /// Returns whether [obj] is an instance of [NSURLSessionStreamTask]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0(obj._id, obj._lib._sel_isKindOfClass_1, - obj._lib._class_NSURLSessionStreamTask1); + static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSURLSessionStreamTask1, + ); } void readDataOfMinLength_maxLength_timeout_completionHandler_( - int minBytes, - int maxBytes, - double timeout, - ObjCBlock_ffiVoid_NSData_bool_NSError completionHandler) { + int minBytes, + int maxBytes, + double timeout, + ObjCBlock_ffiVoid_NSData_bool_NSError completionHandler, + ) { _lib._objc_msgSend_1070( - _id, - _lib._sel_readDataOfMinLength_maxLength_timeout_completionHandler_1, - minBytes, - maxBytes, - timeout, - completionHandler._id); + this.pointer, + _lib._sel_readDataOfMinLength_maxLength_timeout_completionHandler_1, + minBytes, + maxBytes, + timeout, + completionHandler.pointer, + ); } - void writeData_timeout_completionHandler_(NSData data, double timeout, - ObjCBlock_ffiVoid_NSError completionHandler) { + void writeData_timeout_completionHandler_( + NSData data, + double timeout, + ObjCBlock_ffiVoid_NSError completionHandler, + ) { _lib._objc_msgSend_1071( - _id, - _lib._sel_writeData_timeout_completionHandler_1, - data._id, - timeout, - completionHandler._id); + this.pointer, + _lib._sel_writeData_timeout_completionHandler_1, + data.pointer, + timeout, + completionHandler.pointer, + ); } void captureStreams() { - _lib._objc_msgSend_1(_id, _lib._sel_captureStreams1); + _lib._objc_msgSend_1(this.pointer, _lib._sel_captureStreams1); } void closeWrite() { - _lib._objc_msgSend_1(_id, _lib._sel_closeWrite1); + _lib._objc_msgSend_1(this.pointer, _lib._sel_closeWrite1); } void closeRead() { - _lib._objc_msgSend_1(_id, _lib._sel_closeRead1); + _lib._objc_msgSend_1(this.pointer, _lib._sel_closeRead1); } void startSecureConnection() { - _lib._objc_msgSend_1(_id, _lib._sel_startSecureConnection1); + _lib._objc_msgSend_1(this.pointer, _lib._sel_startSecureConnection1); } void stopSecureConnection() { - _lib._objc_msgSend_1(_id, _lib._sel_stopSecureConnection1); + _lib._objc_msgSend_1(this.pointer, _lib._sel_stopSecureConnection1); } @override NSURLSessionStreamTask init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSURLSessionStreamTask._(_ret, _lib, retain: true, release: true); } static NSURLSessionStreamTask new1(AVFAudio _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLSessionStreamTask1, _lib._sel_new1); + _lib._class_NSURLSessionStreamTask1, + _lib._sel_new1, + ); return NSURLSessionStreamTask._(_ret, _lib, retain: false, release: true); } static NSURLSessionStreamTask allocWithZone_( - AVFAudio _lib, ffi.Pointer<_NSZone> zone) { + AVFAudio _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSURLSessionStreamTask1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSURLSessionStreamTask1, + _lib._sel_allocWithZone_1, + zone, + ); return NSURLSessionStreamTask._(_ret, _lib, retain: false, release: true); } static NSURLSessionStreamTask alloc(AVFAudio _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLSessionStreamTask1, _lib._sel_alloc1); + _lib._class_NSURLSessionStreamTask1, + _lib._sel_alloc1, + ); return NSURLSessionStreamTask._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + AVFAudio _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSURLSessionStreamTask1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSURLSessionStreamTask1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSURLSessionStreamTask1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + AVFAudio _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSURLSessionStreamTask1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { - return _lib._objc_msgSend_12(_lib._class_NSURLSessionStreamTask1, - _lib._sel_accessInstanceVariablesDirectly1); + return _lib._objc_msgSend_12( + _lib._class_NSURLSessionStreamTask1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(AVFAudio _lib) { return _lib._objc_msgSend_12( - _lib._class_NSURLSessionStreamTask1, _lib._sel_useStoredAccessor1); + _lib._class_NSURLSessionStreamTask1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSURLSessionStreamTask1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSURLSessionStreamTask1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSURLSessionStreamTask1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSURLSessionStreamTask1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, NSArray keys, NSString dependentKey) { + AVFAudio _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSURLSessionStreamTask1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSURLSessionStreamTask1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_85(_lib._class_NSURLSessionStreamTask1, - _lib._sel_classFallbacksForKeyedArchiver1); + final _ret = _lib._objc_msgSend_85( + _lib._class_NSURLSessionStreamTask1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2(_lib._class_NSURLSessionStreamTask1, - _lib._sel_classForKeyedUnarchiver1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSURLSessionStreamTask1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } void _ObjCBlock_ffiVoid_NSData_bool_NSError_fnPtrTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - bool arg1, - ffi.Pointer arg2) => - block.ref.target - .cast< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer arg0, ffi.Bool arg1, - ffi.Pointer arg2)>>() - .asFunction< - void Function(ffi.Pointer, bool, - ffi.Pointer)>()(arg0, arg1, arg2); -final _ObjCBlock_ffiVoid_NSData_bool_NSError_closureRegistry = , bool, ffi.Pointer)>{}; + ffi.Pointer block, + ffi.Pointer arg0, + bool arg1, + ffi.Pointer arg2, +) => block.ref.target + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Bool arg1, + ffi.Pointer arg2, + ) + > + >() + .asFunction< + void Function( + ffi.Pointer, + bool, + ffi.Pointer, + ) + >()(arg0, arg1, arg2); +final _ObjCBlock_ffiVoid_NSData_bool_NSError_closureRegistry = + < + int, + void Function( + ffi.Pointer, + bool, + ffi.Pointer, + ) + >{}; int _ObjCBlock_ffiVoid_NSData_bool_NSError_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_ffiVoid_NSData_bool_NSError_registerClosure( - void Function(ffi.Pointer, bool, ffi.Pointer) fn) { + void Function( + ffi.Pointer, + bool, + ffi.Pointer, + ) fn, +) { final id = ++_ObjCBlock_ffiVoid_NSData_bool_NSError_closureRegistryIndex; _ObjCBlock_ffiVoid_NSData_bool_NSError_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } void _ObjCBlock_ffiVoid_NSData_bool_NSError_closureTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - bool arg1, - ffi.Pointer arg2) => - _ObjCBlock_ffiVoid_NSData_bool_NSError_closureRegistry[ - block.ref.target.address]!(arg0, arg1, arg2); - -class ObjCBlock_ffiVoid_NSData_bool_NSError extends _ObjCBlockBase { + ffi.Pointer block, + ffi.Pointer arg0, + bool arg1, + ffi.Pointer arg2, +) => _ObjCBlock_ffiVoid_NSData_bool_NSError_closureRegistry[block + .ref + .target + .address]!(arg0, arg1, arg2); + +class ObjCBlock_ffiVoid_NSData_bool_NSError extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSData_bool_NSError._( - ffi.Pointer<_ObjCBlock> id, AVFAudio lib, - {bool retain = false, bool release = true}) - : super._(id, lib, retain: retain, release: release); + ffi.Pointer pointer, + this._lib, { + bool retain = false, + bool release = true, + }) : super(pointer, retain: retain, release: release); + + AVFAudio _lib; /// Returns a block that wraps the given raw block pointer. static ObjCBlock_ffiVoid_NSData_bool_NSError castFromPointer( - AVFAudio lib, ffi.Pointer<_ObjCBlock> pointer, - {bool retain = false, bool release = false}) { - return ObjCBlock_ffiVoid_NSData_bool_NSError._(pointer, lib, - retain: retain, release: release); + AVFAudio lib, + ffi.Pointer pointer, { + bool retain = false, + bool release = false, + }) { + return ObjCBlock_ffiVoid_NSData_bool_NSError._( + pointer, + lib, + retain: retain, + release: release, + ); } /// Creates a block from a C function pointer. @@ -72002,24 +96345,28 @@ class ObjCBlock_ffiVoid_NSData_bool_NSError extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSData_bool_NSError.fromFunctionPointer( - AVFAudio lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer arg0, ffi.Bool arg1, - ffi.Pointer arg2)>> - ptr) - : this._( - lib._newBlock1( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Bool, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_NSData_bool_NSError_fnPtrTrampoline) - .cast(), - ptr.cast()), - lib); + AVFAudio lib, + ffi.Pointer< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Bool arg1, + ffi.Pointer arg2, + ) + > + > ptr, + ) : this._(objc.newBlock( + _cFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_NSData_bool_NSError_fnPtrTrampoline).cast(), + ptr.cast(), + ), lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -72027,23 +96374,31 @@ class ObjCBlock_ffiVoid_NSData_bool_NSError extends _ObjCBlockBase { /// This block must be invoked by native code running on the same thread as /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. - ObjCBlock_ffiVoid_NSData_bool_NSError.fromFunction(AVFAudio lib, void Function(NSData, bool, NSError?) fn) - : this._( - lib._newBlock1( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Bool, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_NSData_bool_NSError_closureTrampoline) - .cast(), - _ObjCBlock_ffiVoid_NSData_bool_NSError_registerClosure( - (ffi.Pointer arg0, bool arg1, ffi.Pointer arg2) => fn( - NSData._(arg0, lib, retain: true, release: true), - arg1, - arg2.address == 0 ? null : NSError._(arg2, lib, retain: true, release: true)))), - lib); + ObjCBlock_ffiVoid_NSData_bool_NSError.fromFunction( + AVFAudio lib, + void Function(NSData, bool, NSError?) fn, + ) : this._(objc.newBlock( + _dartFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_NSData_bool_NSError_closureTrampoline).cast(), + _ObjCBlock_ffiVoid_NSData_bool_NSError_registerClosure(( + ffi.Pointer arg0, + bool arg1, + ffi.Pointer arg2, + ) => fn( + NSData._(arg0, lib, retain: true, release: true), + arg1, + arg2.address == 0 + ? null + : NSError._(arg2, lib, retain: true, release: true), + )), + ), lib); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -72056,96 +96411,150 @@ class ObjCBlock_ffiVoid_NSData_bool_NSError extends _ObjCBlockBase { /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. ObjCBlock_ffiVoid_NSData_bool_NSError.listener( - AVFAudio lib, void Function(NSData, bool, NSError?) fn) - : this._( - lib._newBlock1( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Bool, - ffi.Pointer)>.listener( - _ObjCBlock_ffiVoid_NSData_bool_NSError_closureTrampoline) - ..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSData_bool_NSError_registerClosure( - (ffi.Pointer arg0, bool arg1, - ffi.Pointer arg2) => - fn(NSData._(arg0, lib, retain: true, release: true), arg1, arg2.address == 0 ? null : NSError._(arg2, lib, retain: true, release: true)))), - lib); + AVFAudio lib, + void Function(NSData, bool, NSError?) fn, + ) : this._(objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.Pointer, + ) + >.listener( + _ObjCBlock_ffiVoid_NSData_bool_NSError_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSData_bool_NSError_registerClosure(( + ffi.Pointer arg0, + bool arg1, + ffi.Pointer arg2, + ) => fn( + NSData._(arg0, lib, retain: true, release: true), + arg1, + arg2.address == 0 + ? null + : NSError._(arg2, lib, retain: true, release: true), + )), + ), lib); static ffi.NativeCallable< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer, - ffi.Bool, ffi.Pointer)>? _dartFuncListenerTrampoline; - - void call(NSData arg0, bool arg1, NSError? arg2) => _id.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Bool arg1, - ffi.Pointer arg2)>>() - .asFunction< - void Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer, - bool, ffi.Pointer)>()( - _id, arg0._id, arg1, arg2?._id ?? ffi.nullptr); + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.Pointer, + ) + >? _dartFuncListenerTrampoline; + + void call(NSData arg0, bool arg1, NSError? arg2) => pointer.ref.invoke + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Bool arg1, + ffi.Pointer arg2, + ) + > + >() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + bool, + ffi.Pointer, + ) + >()(pointer, arg0.pointer, arg1, arg2?.pointer ?? ffi.nullptr); } class NSNetService extends NSObject { - NSNetService._(ffi.Pointer id, AVFAudio lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSNetService._( + ffi.Pointer pointer, + AVFAudio lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSNetService] that points to the same underlying object as [other]. - static NSNetService castFrom(T other) { - return NSNetService._(other._id, other._lib, retain: true, release: true); + static NSNetService castFrom( + AVFAudio lib, + T other, + ) { + return NSNetService._(other.pointer, lib, retain: true, release: true); } /// Returns a [NSNetService] that wraps the given raw object pointer. static NSNetService castFromPointer( - AVFAudio lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + AVFAudio lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSNetService._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSNetService]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_NSNetService1); + static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSNetService1, + ); } NSNetService initWithDomain_type_name_port_( - NSString domain, NSString type, NSString name, int port) { + NSString domain, + NSString type, + NSString name, + int port, + ) { final _ret = _lib._objc_msgSend_1073( - _id, - _lib._sel_initWithDomain_type_name_port_1, - domain._id, - type._id, - name._id, - port); + this.pointer, + _lib._sel_initWithDomain_type_name_port_1, + domain.pointer, + type.pointer, + name.pointer, + port, + ); return NSNetService._(_ret, _lib, retain: true, release: true); } NSNetService initWithDomain_type_name_( - NSString domain, NSString type, NSString name) { - final _ret = _lib._objc_msgSend_1074(_id, - _lib._sel_initWithDomain_type_name_1, domain._id, type._id, name._id); + NSString domain, + NSString type, + NSString name, + ) { + final _ret = _lib._objc_msgSend_1074( + this.pointer, + _lib._sel_initWithDomain_type_name_1, + domain.pointer, + type.pointer, + name.pointer, + ); return NSNetService._(_ret, _lib, retain: true, release: true); } void scheduleInRunLoop_forMode_(NSRunLoop aRunLoop, NSString mode) { _lib._objc_msgSend_569( - _id, _lib._sel_scheduleInRunLoop_forMode_1, aRunLoop._id, mode._id); + this.pointer, + _lib._sel_scheduleInRunLoop_forMode_1, + aRunLoop.pointer, + mode.pointer, + ); } void removeFromRunLoop_forMode_(NSRunLoop aRunLoop, NSString mode) { _lib._objc_msgSend_569( - _id, _lib._sel_removeFromRunLoop_forMode_1, aRunLoop._id, mode._id); + this.pointer, + _lib._sel_removeFromRunLoop_forMode_1, + aRunLoop.pointer, + mode.pointer, + ); } NSObject? get delegate { - final _ret = _lib._objc_msgSend_17(_id, _lib._sel_delegate1); + final _ret = _lib._objc_msgSend_17(this.pointer, _lib._sel_delegate1); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); @@ -72153,196 +96562,264 @@ class NSNetService extends NSObject { set delegate(NSObject? value) { return _lib._objc_msgSend_416( - _id, _lib._sel_setDelegate_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setDelegate_1, + value?.pointer ?? ffi.nullptr, + ); } bool get includesPeerToPeer { - return _lib._objc_msgSend_12(_id, _lib._sel_includesPeerToPeer1); + return _lib._objc_msgSend_12(this.pointer, _lib._sel_includesPeerToPeer1); } set includesPeerToPeer(bool value) { return _lib._objc_msgSend_527( - _id, _lib._sel_setIncludesPeerToPeer_1, value); + this.pointer, + _lib._sel_setIncludesPeerToPeer_1, + value, + ); } NSString get name { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_name1); + final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_name1); return NSString._(_ret, _lib, retain: true, release: true); } NSString get type { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_type1); + final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_type1); return NSString._(_ret, _lib, retain: true, release: true); } NSString get domain { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_domain1); + final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_domain1); return NSString._(_ret, _lib, retain: true, release: true); } NSString? get hostName { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_hostName1); + final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_hostName1); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } NSArray? get addresses { - final _ret = _lib._objc_msgSend_84(_id, _lib._sel_addresses1); + final _ret = _lib._objc_msgSend_84(this.pointer, _lib._sel_addresses1); return _ret.address == 0 ? null : NSArray._(_ret, _lib, retain: true, release: true); } int get port { - return _lib._objc_msgSend_83(_id, _lib._sel_port1); + return _lib._objc_msgSend_83(this.pointer, _lib._sel_port1); } void publish() { - _lib._objc_msgSend_1(_id, _lib._sel_publish1); + _lib._objc_msgSend_1(this.pointer, _lib._sel_publish1); } void publishWithOptions_(int options) { - _lib._objc_msgSend_1075(_id, _lib._sel_publishWithOptions_1, options); + _lib._objc_msgSend_1075( + this.pointer, + _lib._sel_publishWithOptions_1, + options, + ); } void resolve() { - _lib._objc_msgSend_1(_id, _lib._sel_resolve1); + _lib._objc_msgSend_1(this.pointer, _lib._sel_resolve1); } void stop() { - _lib._objc_msgSend_1(_id, _lib._sel_stop1); + _lib._objc_msgSend_1(this.pointer, _lib._sel_stop1); } static NSDictionary dictionaryFromTXTRecordData_( - AVFAudio _lib, NSData txtData) { - final _ret = _lib._objc_msgSend_1076(_lib._class_NSNetService1, - _lib._sel_dictionaryFromTXTRecordData_1, txtData._id); + AVFAudio _lib, + NSData txtData, + ) { + final _ret = _lib._objc_msgSend_1076( + _lib._class_NSNetService1, + _lib._sel_dictionaryFromTXTRecordData_1, + txtData.pointer, + ); return NSDictionary._(_ret, _lib, retain: true, release: true); } static NSData dataFromTXTRecordDictionary_( - AVFAudio _lib, NSDictionary txtDictionary) { - final _ret = _lib._objc_msgSend_1077(_lib._class_NSNetService1, - _lib._sel_dataFromTXTRecordDictionary_1, txtDictionary._id); + AVFAudio _lib, + NSDictionary txtDictionary, + ) { + final _ret = _lib._objc_msgSend_1077( + _lib._class_NSNetService1, + _lib._sel_dataFromTXTRecordDictionary_1, + txtDictionary.pointer, + ); return NSData._(_ret, _lib, retain: true, release: true); } void resolveWithTimeout_(double timeout) { - _lib._objc_msgSend_541(_id, _lib._sel_resolveWithTimeout_1, timeout); + _lib._objc_msgSend_541( + this.pointer, + _lib._sel_resolveWithTimeout_1, + timeout, + ); } bool getInputStream_outputStream_( - ffi.Pointer> inputStream, - ffi.Pointer> outputStream) { - return _lib._objc_msgSend_1078(_id, _lib._sel_getInputStream_outputStream_1, - inputStream, outputStream); + ffi.Pointer> inputStream, + ffi.Pointer> outputStream, + ) { + return _lib._objc_msgSend_1078( + this.pointer, + _lib._sel_getInputStream_outputStream_1, + inputStream, + outputStream, + ); } bool setTXTRecordData_(NSData? recordData) { return _lib._objc_msgSend_1079( - _id, _lib._sel_setTXTRecordData_1, recordData?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setTXTRecordData_1, + recordData?.pointer ?? ffi.nullptr, + ); } NSData? TXTRecordData() { - final _ret = _lib._objc_msgSend_286(_id, _lib._sel_TXTRecordData1); + final _ret = _lib._objc_msgSend_286(this.pointer, _lib._sel_TXTRecordData1); return _ret.address == 0 ? null : NSData._(_ret, _lib, retain: true, release: true); } void startMonitoring() { - _lib._objc_msgSend_1(_id, _lib._sel_startMonitoring1); + _lib._objc_msgSend_1(this.pointer, _lib._sel_startMonitoring1); } void stopMonitoring() { - _lib._objc_msgSend_1(_id, _lib._sel_stopMonitoring1); + _lib._objc_msgSend_1(this.pointer, _lib._sel_stopMonitoring1); } @override NSNetService init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSNetService._(_ret, _lib, retain: true, release: true); } static NSNetService new1(AVFAudio _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSNetService1, _lib._sel_new1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSNetService1, + _lib._sel_new1, + ); return NSNetService._(_ret, _lib, retain: false, release: true); } static NSNetService allocWithZone_(AVFAudio _lib, ffi.Pointer<_NSZone> zone) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSNetService1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSNetService1, + _lib._sel_allocWithZone_1, + zone, + ); return NSNetService._(_ret, _lib, retain: false, release: true); } static NSNetService alloc(AVFAudio _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSNetService1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSNetService1, + _lib._sel_alloc1, + ); return NSNetService._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + AVFAudio _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSNetService1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSNetService1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSNetService1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + AVFAudio _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSNetService1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { return _lib._objc_msgSend_12( - _lib._class_NSNetService1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_NSNetService1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(AVFAudio _lib) { return _lib._objc_msgSend_12( - _lib._class_NSNetService1, _lib._sel_useStoredAccessor1); + _lib._class_NSNetService1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSNetService1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSNetService1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSNetService1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSNetService1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, NSArray keys, NSString dependentKey) { + AVFAudio _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSNetService1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSNetService1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { final _ret = _lib._objc_msgSend_85( - _lib._class_NSNetService1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSNetService1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(AVFAudio _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSNetService1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSNetService1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } @@ -72353,69 +96830,109 @@ abstract class NSNetServiceOptions { } class NSURLSessionWebSocketTask extends NSURLSessionTask { - NSURLSessionWebSocketTask._(ffi.Pointer id, AVFAudio lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSURLSessionWebSocketTask._( + ffi.Pointer pointer, + AVFAudio lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSURLSessionWebSocketTask] that points to the same underlying object as [other]. - static NSURLSessionWebSocketTask castFrom(T other) { - return NSURLSessionWebSocketTask._(other._id, other._lib, - retain: true, release: true); + static NSURLSessionWebSocketTask castFrom( + AVFAudio lib, + T other, + ) { + return NSURLSessionWebSocketTask._( + other.pointer, + lib, + retain: true, + release: true, + ); } /// Returns a [NSURLSessionWebSocketTask] that wraps the given raw object pointer. static NSURLSessionWebSocketTask castFromPointer( - AVFAudio lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { - return NSURLSessionWebSocketTask._(other, lib, - retain: retain, release: release); + AVFAudio lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { + return NSURLSessionWebSocketTask._( + other, + lib, + retain: retain, + release: release, + ); } /// Returns whether [obj] is an instance of [NSURLSessionWebSocketTask]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0(obj._id, obj._lib._sel_isKindOfClass_1, - obj._lib._class_NSURLSessionWebSocketTask1); + static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSURLSessionWebSocketTask1, + ); } - void sendMessage_completionHandler_(NSURLSessionWebSocketMessage message, - ObjCBlock_ffiVoid_NSError completionHandler) { - _lib._objc_msgSend_1082(_id, _lib._sel_sendMessage_completionHandler_1, - message._id, completionHandler._id); + void sendMessage_completionHandler_( + NSURLSessionWebSocketMessage message, + ObjCBlock_ffiVoid_NSError completionHandler, + ) { + _lib._objc_msgSend_1082( + this.pointer, + _lib._sel_sendMessage_completionHandler_1, + message.pointer, + completionHandler.pointer, + ); } void receiveMessageWithCompletionHandler_( - ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError - completionHandler) { - _lib._objc_msgSend_1083(_id, - _lib._sel_receiveMessageWithCompletionHandler_1, completionHandler._id); + ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError completionHandler, + ) { + _lib._objc_msgSend_1083( + this.pointer, + _lib._sel_receiveMessageWithCompletionHandler_1, + completionHandler.pointer, + ); } void sendPingWithPongReceiveHandler_( - ObjCBlock_ffiVoid_NSError pongReceiveHandler) { - _lib._objc_msgSend_1084(_id, _lib._sel_sendPingWithPongReceiveHandler_1, - pongReceiveHandler._id); + ObjCBlock_ffiVoid_NSError pongReceiveHandler, + ) { + _lib._objc_msgSend_1084( + this.pointer, + _lib._sel_sendPingWithPongReceiveHandler_1, + pongReceiveHandler.pointer, + ); } void cancelWithCloseCode_reason_(int closeCode, NSData? reason) { - _lib._objc_msgSend_1085(_id, _lib._sel_cancelWithCloseCode_reason_1, - closeCode, reason?._id ?? ffi.nullptr); + _lib._objc_msgSend_1085( + this.pointer, + _lib._sel_cancelWithCloseCode_reason_1, + closeCode, + reason?.pointer ?? ffi.nullptr, + ); } int get maximumMessageSize { - return _lib._objc_msgSend_83(_id, _lib._sel_maximumMessageSize1); + return _lib._objc_msgSend_83(this.pointer, _lib._sel_maximumMessageSize1); } set maximumMessageSize(int value) { return _lib._objc_msgSend_635( - _id, _lib._sel_setMaximumMessageSize_1, value); + this.pointer, + _lib._sel_setMaximumMessageSize_1, + value, + ); } int get closeCode { - return _lib._objc_msgSend_1086(_id, _lib._sel_closeCode1); + return _lib._objc_msgSend_1086(this.pointer, _lib._sel_closeCode1); } NSData? get closeReason { - final _ret = _lib._objc_msgSend_286(_id, _lib._sel_closeReason1); + final _ret = _lib._objc_msgSend_286(this.pointer, _lib._sel_closeReason1); return _ret.address == 0 ? null : NSData._(_ret, _lib, retain: true, release: true); @@ -72423,149 +96940,232 @@ class NSURLSessionWebSocketTask extends NSURLSessionTask { @override NSURLSessionWebSocketTask init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSURLSessionWebSocketTask._(_ret, _lib, retain: true, release: true); } static NSURLSessionWebSocketTask new1(AVFAudio _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLSessionWebSocketTask1, _lib._sel_new1); - return NSURLSessionWebSocketTask._(_ret, _lib, - retain: false, release: true); + _lib._class_NSURLSessionWebSocketTask1, + _lib._sel_new1, + ); + return NSURLSessionWebSocketTask._( + _ret, + _lib, + retain: false, + release: true, + ); } static NSURLSessionWebSocketTask allocWithZone_( - AVFAudio _lib, ffi.Pointer<_NSZone> zone) { - final _ret = _lib._objc_msgSend_3(_lib._class_NSURLSessionWebSocketTask1, - _lib._sel_allocWithZone_1, zone); - return NSURLSessionWebSocketTask._(_ret, _lib, - retain: false, release: true); + AVFAudio _lib, + ffi.Pointer<_NSZone> zone, + ) { + final _ret = _lib._objc_msgSend_3( + _lib._class_NSURLSessionWebSocketTask1, + _lib._sel_allocWithZone_1, + zone, + ); + return NSURLSessionWebSocketTask._( + _ret, + _lib, + retain: false, + release: true, + ); } static NSURLSessionWebSocketTask alloc(AVFAudio _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLSessionWebSocketTask1, _lib._sel_alloc1); - return NSURLSessionWebSocketTask._(_ret, _lib, - retain: false, release: true); + _lib._class_NSURLSessionWebSocketTask1, + _lib._sel_alloc1, + ); + return NSURLSessionWebSocketTask._( + _ret, + _lib, + retain: false, + release: true, + ); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + AVFAudio _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSURLSessionWebSocketTask1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSURLSessionWebSocketTask1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSURLSessionWebSocketTask1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + AVFAudio _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSURLSessionWebSocketTask1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { - return _lib._objc_msgSend_12(_lib._class_NSURLSessionWebSocketTask1, - _lib._sel_accessInstanceVariablesDirectly1); + return _lib._objc_msgSend_12( + _lib._class_NSURLSessionWebSocketTask1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(AVFAudio _lib) { return _lib._objc_msgSend_12( - _lib._class_NSURLSessionWebSocketTask1, _lib._sel_useStoredAccessor1); + _lib._class_NSURLSessionWebSocketTask1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSURLSessionWebSocketTask1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSURLSessionWebSocketTask1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSURLSessionWebSocketTask1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSURLSessionWebSocketTask1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, NSArray keys, NSString dependentKey) { + AVFAudio _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSURLSessionWebSocketTask1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSURLSessionWebSocketTask1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_85(_lib._class_NSURLSessionWebSocketTask1, - _lib._sel_classFallbacksForKeyedArchiver1); + final _ret = _lib._objc_msgSend_85( + _lib._class_NSURLSessionWebSocketTask1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2(_lib._class_NSURLSessionWebSocketTask1, - _lib._sel_classForKeyedUnarchiver1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSURLSessionWebSocketTask1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } class NSURLSessionWebSocketMessage extends NSObject { - NSURLSessionWebSocketMessage._(ffi.Pointer id, AVFAudio lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSURLSessionWebSocketMessage._( + ffi.Pointer pointer, + AVFAudio lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSURLSessionWebSocketMessage] that points to the same underlying object as [other]. - static NSURLSessionWebSocketMessage castFrom( - T other) { - return NSURLSessionWebSocketMessage._(other._id, other._lib, - retain: true, release: true); + static NSURLSessionWebSocketMessage castFrom( + AVFAudio lib, + T other, + ) { + return NSURLSessionWebSocketMessage._( + other.pointer, + lib, + retain: true, + release: true, + ); } /// Returns a [NSURLSessionWebSocketMessage] that wraps the given raw object pointer. static NSURLSessionWebSocketMessage castFromPointer( - AVFAudio lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { - return NSURLSessionWebSocketMessage._(other, lib, - retain: retain, release: release); + AVFAudio lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { + return NSURLSessionWebSocketMessage._( + other, + lib, + retain: retain, + release: release, + ); } /// Returns whether [obj] is an instance of [NSURLSessionWebSocketMessage]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0(obj._id, obj._lib._sel_isKindOfClass_1, - obj._lib._class_NSURLSessionWebSocketMessage1); + static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSURLSessionWebSocketMessage1, + ); } NSURLSessionWebSocketMessage initWithData_(NSData data) { - final _ret = - _lib._objc_msgSend_279(_id, _lib._sel_initWithData_1, data._id); - return NSURLSessionWebSocketMessage._(_ret, _lib, - retain: true, release: true); + final _ret = _lib._objc_msgSend_279( + this.pointer, + _lib._sel_initWithData_1, + data.pointer, + ); + return NSURLSessionWebSocketMessage._( + _ret, + _lib, + retain: true, + release: true, + ); } NSURLSessionWebSocketMessage initWithString_(NSString string) { - final _ret = - _lib._objc_msgSend_31(_id, _lib._sel_initWithString_1, string._id); - return NSURLSessionWebSocketMessage._(_ret, _lib, - retain: true, release: true); + final _ret = _lib._objc_msgSend_31( + this.pointer, + _lib._sel_initWithString_1, + string.pointer, + ); + return NSURLSessionWebSocketMessage._( + _ret, + _lib, + retain: true, + release: true, + ); } int get type { - return _lib._objc_msgSend_1081(_id, _lib._sel_type1); + return _lib._objc_msgSend_1081(this.pointer, _lib._sel_type1); } NSData? get data { - final _ret = _lib._objc_msgSend_286(_id, _lib._sel_data1); + final _ret = _lib._objc_msgSend_286(this.pointer, _lib._sel_data1); return _ret.address == 0 ? null : NSData._(_ret, _lib, retain: true, release: true); } NSString? get string { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_string1); + final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_string1); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); @@ -72573,96 +97173,147 @@ class NSURLSessionWebSocketMessage extends NSObject { @override NSURLSessionWebSocketMessage init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); - return NSURLSessionWebSocketMessage._(_ret, _lib, - retain: true, release: true); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); + return NSURLSessionWebSocketMessage._( + _ret, + _lib, + retain: true, + release: true, + ); } static NSURLSessionWebSocketMessage new1(AVFAudio _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLSessionWebSocketMessage1, _lib._sel_new1); - return NSURLSessionWebSocketMessage._(_ret, _lib, - retain: false, release: true); + _lib._class_NSURLSessionWebSocketMessage1, + _lib._sel_new1, + ); + return NSURLSessionWebSocketMessage._( + _ret, + _lib, + retain: false, + release: true, + ); } static NSURLSessionWebSocketMessage allocWithZone_( - AVFAudio _lib, ffi.Pointer<_NSZone> zone) { - final _ret = _lib._objc_msgSend_3(_lib._class_NSURLSessionWebSocketMessage1, - _lib._sel_allocWithZone_1, zone); - return NSURLSessionWebSocketMessage._(_ret, _lib, - retain: false, release: true); + AVFAudio _lib, + ffi.Pointer<_NSZone> zone, + ) { + final _ret = _lib._objc_msgSend_3( + _lib._class_NSURLSessionWebSocketMessage1, + _lib._sel_allocWithZone_1, + zone, + ); + return NSURLSessionWebSocketMessage._( + _ret, + _lib, + retain: false, + release: true, + ); } static NSURLSessionWebSocketMessage alloc(AVFAudio _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLSessionWebSocketMessage1, _lib._sel_alloc1); - return NSURLSessionWebSocketMessage._(_ret, _lib, - retain: false, release: true); + _lib._class_NSURLSessionWebSocketMessage1, + _lib._sel_alloc1, + ); + return NSURLSessionWebSocketMessage._( + _ret, + _lib, + retain: false, + release: true, + ); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + AVFAudio _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSURLSessionWebSocketMessage1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSURLSessionWebSocketMessage1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSURLSessionWebSocketMessage1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + AVFAudio _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSURLSessionWebSocketMessage1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { - return _lib._objc_msgSend_12(_lib._class_NSURLSessionWebSocketMessage1, - _lib._sel_accessInstanceVariablesDirectly1); + return _lib._objc_msgSend_12( + _lib._class_NSURLSessionWebSocketMessage1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(AVFAudio _lib) { - return _lib._objc_msgSend_12(_lib._class_NSURLSessionWebSocketMessage1, - _lib._sel_useStoredAccessor1); + return _lib._objc_msgSend_12( + _lib._class_NSURLSessionWebSocketMessage1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, NSString key) { + AVFAudio _lib, + NSString key, + ) { final _ret = _lib._objc_msgSend_63( - _lib._class_NSURLSessionWebSocketMessage1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key._id); + _lib._class_NSURLSessionWebSocketMessage1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSURLSessionWebSocketMessage1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSURLSessionWebSocketMessage1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, NSArray keys, NSString dependentKey) { + AVFAudio _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSURLSessionWebSocketMessage1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSURLSessionWebSocketMessage1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { final _ret = _lib._objc_msgSend_85( - _lib._class_NSURLSessionWebSocketMessage1, - _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSURLSessionWebSocketMessage1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2(_lib._class_NSURLSessionWebSocketMessage1, - _lib._sel_classForKeyedUnarchiver1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSURLSessionWebSocketMessage1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } @@ -72673,24 +97324,33 @@ abstract class NSURLSessionWebSocketMessageType { } void _ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError_fnPtrTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1) => - block.ref.target - .cast< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer arg0, - ffi.Pointer arg1)>>() - .asFunction< - void Function(ffi.Pointer, - ffi.Pointer)>()(arg0, arg1); + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, +) => block.ref.target + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) + > + >() + .asFunction< + void Function(ffi.Pointer, ffi.Pointer) + >()(arg0, arg1); final _ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError_closureRegistry = - , ffi.Pointer)>{}; -int _ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError_closureRegistryIndex = + < + int, + void Function(ffi.Pointer, ffi.Pointer) + >{}; +int +_ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError_closureRegistryIndex = 0; ffi.Pointer - _ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError_registerClosure( - void Function(ffi.Pointer, ffi.Pointer) fn) { +_ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError_registerClosure( + void Function(ffi.Pointer, ffi.Pointer) fn, +) { final id = ++_ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError_closureRegistryIndex; _ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError_closureRegistry[id] = @@ -72699,26 +97359,39 @@ ffi.Pointer } void _ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError_closureTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1) => - _ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError_closureRegistry[ - block.ref.target.address]!(arg0, arg1); + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, +) => + _ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError_closureRegistry[block + .ref + .target + .address]!(arg0, arg1); class ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError - extends _ObjCBlockBase { + extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError._( - ffi.Pointer<_ObjCBlock> id, AVFAudio lib, - {bool retain = false, bool release = true}) - : super._(id, lib, retain: retain, release: release); + ffi.Pointer pointer, + this._lib, { + bool retain = false, + bool release = true, + }) : super(pointer, retain: retain, release: release); + + AVFAudio _lib; /// Returns a block that wraps the given raw block pointer. static ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError castFromPointer( - AVFAudio lib, ffi.Pointer<_ObjCBlock> pointer, - {bool retain = false, bool release = false}) { + AVFAudio lib, + ffi.Pointer pointer, { + bool retain = false, + bool release = false, + }) { return ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError._( - pointer, lib, - retain: retain, release: release); + pointer, + lib, + retain: retain, + release: release, + ); } /// Creates a block from a C function pointer. @@ -72727,23 +97400,28 @@ class ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError.fromFunctionPointer( - AVFAudio lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer arg0, - ffi.Pointer arg1)>> - ptr) - : this._( - lib._newBlock1( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError_fnPtrTrampoline) - .cast(), - ptr.cast()), - lib); + AVFAudio lib, + ffi.Pointer< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) + > + > ptr, + ) : this._(objc.newBlock( + _cFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >( + _ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError_fnPtrTrampoline, + ).cast(), + ptr.cast(), + ), lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -72752,21 +97430,38 @@ class ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError.fromFunction( - AVFAudio lib, void Function(NSURLSessionWebSocketMessage?, NSError?) fn) - : this._( - lib._newBlock1( - _dartFuncTrampoline ??= - ffi.Pointer.fromFunction, ffi.Pointer, ffi.Pointer)>( - _ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError_closureTrampoline) - .cast(), - _ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError_registerClosure( - (ffi.Pointer arg0, ffi.Pointer arg1) => fn( - arg0.address == 0 - ? null - : NSURLSessionWebSocketMessage._(arg0, lib, - retain: true, release: true), - arg1.address == 0 ? null : NSError._(arg1, lib, retain: true, release: true)))), - lib); + AVFAudio lib, + void Function(NSURLSessionWebSocketMessage?, NSError?) fn, + ) : this._(objc.newBlock( + _dartFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >( + _ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError_closureTrampoline, + ).cast(), + _ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError_registerClosure( + ( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) => fn( + arg0.address == 0 + ? null + : NSURLSessionWebSocketMessage._( + arg0, + lib, + retain: true, + release: true, + ), + arg1.address == 0 + ? null + : NSError._(arg1, lib, retain: true, release: true), + ), + ), + ), lib); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -72779,39 +97474,66 @@ class ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError.listener( - AVFAudio lib, void Function(NSURLSessionWebSocketMessage?, NSError?) fn) - : this._( - lib._newBlock1( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable, ffi.Pointer, ffi.Pointer)>.listener( - _ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError_closureTrampoline) - ..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError_registerClosure( - (ffi.Pointer arg0, ffi.Pointer arg1) => fn( - arg0.address == 0 - ? null - : NSURLSessionWebSocketMessage._(arg0, lib, - retain: true, release: true), - arg1.address == 0 - ? null - : NSError._(arg1, lib, retain: true, release: true)))), - lib); + AVFAudio lib, + void Function(NSURLSessionWebSocketMessage?, NSError?) fn, + ) : this._(objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >.listener( + _ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError_registerClosure( + ( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) => fn( + arg0.address == 0 + ? null + : NSURLSessionWebSocketMessage._( + arg0, + lib, + retain: true, + release: true, + ), + arg1.address == 0 + ? null + : NSError._(arg1, lib, retain: true, release: true), + ), + ), + ), lib); static ffi.NativeCallable< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer, - ffi.Pointer)>? _dartFuncListenerTrampoline; - - void call(NSURLSessionWebSocketMessage? arg0, NSError? arg1) => _id.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1)>>() - .asFunction< - void Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer, - ffi.Pointer)>()( - _id, arg0?._id ?? ffi.nullptr, arg1?._id ?? ffi.nullptr); + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >? _dartFuncListenerTrampoline; + + void call(NSURLSessionWebSocketMessage? arg0, NSError? arg1) => pointer + .ref + .invoke + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, + ) + > + >() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >()(pointer, arg0?.pointer ?? ffi.nullptr, arg1?.pointer ?? ffi.nullptr); } abstract class NSURLSessionWebSocketCloseCode { @@ -72832,29 +97554,45 @@ abstract class NSURLSessionWebSocketCloseCode { } void _ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError_fnPtrTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2) => - block.ref.target - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2)>>() - .asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>()(arg0, arg1, arg2); -final _ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError_closureRegistry = , ffi.Pointer, - ffi.Pointer)>{}; + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, +) => block.ref.target + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, + ) + > + >() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >()(arg0, arg1, arg2); +final _ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError_closureRegistry = + < + int, + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >{}; int _ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError_closureRegistryIndex = 0; ffi.Pointer - _ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError_registerClosure( - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer) - fn) { +_ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError_registerClosure( + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) fn, +) { final id = ++_ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError_closureRegistryIndex; _ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError_closureRegistry[id] = fn; @@ -72862,25 +97600,39 @@ ffi.Pointer } void _ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError_closureTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2) => - _ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError_closureRegistry[ - block.ref.target.address]!(arg0, arg1, arg2); - -class ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError extends _ObjCBlockBase { + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, +) => _ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError_closureRegistry[block + .ref + .target + .address]!(arg0, arg1, arg2); + +class ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError + extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError._( - ffi.Pointer<_ObjCBlock> id, AVFAudio lib, - {bool retain = false, bool release = true}) - : super._(id, lib, retain: retain, release: release); + ffi.Pointer pointer, + this._lib, { + bool retain = false, + bool release = true, + }) : super(pointer, retain: retain, release: release); + + AVFAudio _lib; /// Returns a block that wraps the given raw block pointer. static ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError castFromPointer( - AVFAudio lib, ffi.Pointer<_ObjCBlock> pointer, - {bool retain = false, bool release = false}) { - return ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError._(pointer, lib, - retain: retain, release: release); + AVFAudio lib, + ffi.Pointer pointer, { + bool retain = false, + bool release = false, + }) { + return ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError._( + pointer, + lib, + retain: retain, + release: release, + ); } /// Creates a block from a C function pointer. @@ -72889,26 +97641,30 @@ class ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError.fromFunctionPointer( - AVFAudio lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2)>> - ptr) - : this._( - lib._newBlock1( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError_fnPtrTrampoline) - .cast(), - ptr.cast()), - lib); + AVFAudio lib, + ffi.Pointer< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, + ) + > + > ptr, + ) : this._(objc.newBlock( + _cFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >( + _ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError_fnPtrTrampoline, + ).cast(), + ptr.cast(), + ), lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -72917,23 +97673,36 @@ class ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError.fromFunction( - AVFAudio lib, void Function(NSData?, NSURLResponse?, NSError?) fn) - : this._( - lib._newBlock1( - _dartFuncTrampoline ??= - ffi.Pointer.fromFunction, ffi.Pointer, ffi.Pointer, ffi.Pointer)>( - _ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError_closureTrampoline) - .cast(), - _ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError_registerClosure( - (ffi.Pointer arg0, ffi.Pointer arg1, - ffi.Pointer arg2) => - fn( - arg0.address == 0 - ? null - : NSData._(arg0, lib, retain: true, release: true), - arg1.address == 0 ? null : NSURLResponse._(arg1, lib, retain: true, release: true), - arg2.address == 0 ? null : NSError._(arg2, lib, retain: true, release: true)))), - lib); + AVFAudio lib, + void Function(NSData?, NSURLResponse?, NSError?) fn, + ) : this._(objc.newBlock( + _dartFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >( + _ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError_closureTrampoline, + ).cast(), + _ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError_registerClosure(( + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, + ) => fn( + arg0.address == 0 + ? null + : NSData._(arg0, lib, retain: true, release: true), + arg1.address == 0 + ? null + : NSURLResponse._(arg1, lib, retain: true, release: true), + arg2.address == 0 + ? null + : NSError._(arg2, lib, retain: true, release: true), + )), + ), lib); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -72946,75 +97715,114 @@ class ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError extends _ObjCBlockBase { /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError.listener( - AVFAudio lib, void Function(NSData?, NSURLResponse?, NSError?) fn) - : this._( - lib._newBlock1( - (_dartFuncListenerTrampoline ??= - ffi.NativeCallable, ffi.Pointer, ffi.Pointer, ffi.Pointer)>.listener( - _ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError_closureTrampoline) - ..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError_registerClosure((ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2) => - fn( - arg0.address == 0 - ? null - : NSData._(arg0, lib, retain: true, release: true), - arg1.address == 0 - ? null - : NSURLResponse._(arg1, lib, retain: true, release: true), - arg2.address == 0 ? null : NSError._(arg2, lib, retain: true, release: true)))), - lib); + AVFAudio lib, + void Function(NSData?, NSURLResponse?, NSError?) fn, + ) : this._(objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >.listener( + _ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError_registerClosure(( + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, + ) => fn( + arg0.address == 0 + ? null + : NSData._(arg0, lib, retain: true, release: true), + arg1.address == 0 + ? null + : NSURLResponse._(arg1, lib, retain: true, release: true), + arg2.address == 0 + ? null + : NSError._(arg2, lib, retain: true, release: true), + )), + ), lib); static ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>? _dartFuncListenerTrampoline; - - void call(NSData? arg0, NSURLResponse? arg1, NSError? arg2) => _id.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2)>>() - .asFunction< - void Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>()( - _id, - arg0?._id ?? ffi.nullptr, - arg1?._id ?? ffi.nullptr, - arg2?._id ?? ffi.nullptr); + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >? _dartFuncListenerTrampoline; + + void call(NSData? arg0, NSURLResponse? arg1, NSError? arg2) => pointer + .ref + .invoke + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, + ) + > + >() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >()( + pointer, + arg0?.pointer ?? ffi.nullptr, + arg1?.pointer ?? ffi.nullptr, + arg2?.pointer ?? ffi.nullptr, + ); } void _ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError_fnPtrTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2) => - block.ref.target - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2)>>() - .asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>()(arg0, arg1, arg2); -final _ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError_closureRegistry = , ffi.Pointer, - ffi.Pointer)>{}; + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, +) => block.ref.target + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, + ) + > + >() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >()(arg0, arg1, arg2); +final _ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError_closureRegistry = + < + int, + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >{}; int _ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError_closureRegistryIndex = 0; ffi.Pointer - _ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError_registerClosure( - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer) - fn) { +_ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError_registerClosure( + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) fn, +) { final id = ++_ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError_closureRegistryIndex; _ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError_closureRegistry[id] = fn; @@ -73022,25 +97830,38 @@ ffi.Pointer } void _ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError_closureTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2) => - _ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError_closureRegistry[ - block.ref.target.address]!(arg0, arg1, arg2); - -class ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError extends _ObjCBlockBase { + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, +) => _ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError_closureRegistry[block + .ref + .target + .address]!(arg0, arg1, arg2); + +class ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError._( - ffi.Pointer<_ObjCBlock> id, AVFAudio lib, - {bool retain = false, bool release = true}) - : super._(id, lib, retain: retain, release: release); + ffi.Pointer pointer, + this._lib, { + bool retain = false, + bool release = true, + }) : super(pointer, retain: retain, release: release); + + AVFAudio _lib; /// Returns a block that wraps the given raw block pointer. static ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError castFromPointer( - AVFAudio lib, ffi.Pointer<_ObjCBlock> pointer, - {bool retain = false, bool release = false}) { - return ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError._(pointer, lib, - retain: retain, release: release); + AVFAudio lib, + ffi.Pointer pointer, { + bool retain = false, + bool release = false, + }) { + return ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError._( + pointer, + lib, + retain: retain, + release: release, + ); } /// Creates a block from a C function pointer. @@ -73049,26 +97870,30 @@ class ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError.fromFunctionPointer( - AVFAudio lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2)>> - ptr) - : this._( - lib._newBlock1( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError_fnPtrTrampoline) - .cast(), - ptr.cast()), - lib); + AVFAudio lib, + ffi.Pointer< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, + ) + > + > ptr, + ) : this._(objc.newBlock( + _cFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >( + _ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError_fnPtrTrampoline, + ).cast(), + ptr.cast(), + ), lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -73077,23 +97902,36 @@ class ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError.fromFunction( - AVFAudio lib, void Function(NSURL?, NSURLResponse?, NSError?) fn) - : this._( - lib._newBlock1( - _dartFuncTrampoline ??= - ffi.Pointer.fromFunction, ffi.Pointer, ffi.Pointer, ffi.Pointer)>( - _ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError_closureTrampoline) - .cast(), - _ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError_registerClosure( - (ffi.Pointer arg0, ffi.Pointer arg1, ffi.Pointer arg2) => fn( - arg0.address == 0 - ? null - : NSURL._(arg0, lib, retain: true, release: true), - arg1.address == 0 - ? null - : NSURLResponse._(arg1, lib, retain: true, release: true), - arg2.address == 0 ? null : NSError._(arg2, lib, retain: true, release: true)))), - lib); + AVFAudio lib, + void Function(NSURL?, NSURLResponse?, NSError?) fn, + ) : this._(objc.newBlock( + _dartFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >( + _ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError_closureTrampoline, + ).cast(), + _ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError_registerClosure(( + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, + ) => fn( + arg0.address == 0 + ? null + : NSURL._(arg0, lib, retain: true, release: true), + arg1.address == 0 + ? null + : NSURLResponse._(arg1, lib, retain: true, release: true), + arg2.address == 0 + ? null + : NSError._(arg2, lib, retain: true, release: true), + )), + ), lib); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -73106,145 +97944,208 @@ class ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError extends _ObjCBlockBase { /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError.listener( - AVFAudio lib, void Function(NSURL?, NSURLResponse?, NSError?) fn) - : this._( - lib._newBlock1( - (_dartFuncListenerTrampoline ??= - ffi.NativeCallable, ffi.Pointer, ffi.Pointer, ffi.Pointer)>.listener( - _ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError_closureTrampoline) - ..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError_registerClosure( - (ffi.Pointer arg0, ffi.Pointer arg1, - ffi.Pointer arg2) => - fn( - arg0.address == 0 - ? null - : NSURL._(arg0, lib, retain: true, release: true), - arg1.address == 0 ? null : NSURLResponse._(arg1, lib, retain: true, release: true), - arg2.address == 0 ? null : NSError._(arg2, lib, retain: true, release: true)))), - lib); + AVFAudio lib, + void Function(NSURL?, NSURLResponse?, NSError?) fn, + ) : this._(objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >.listener( + _ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError_registerClosure(( + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, + ) => fn( + arg0.address == 0 + ? null + : NSURL._(arg0, lib, retain: true, release: true), + arg1.address == 0 + ? null + : NSURLResponse._(arg1, lib, retain: true, release: true), + arg2.address == 0 + ? null + : NSError._(arg2, lib, retain: true, release: true), + )), + ), lib); static ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>? _dartFuncListenerTrampoline; - - void call(NSURL? arg0, NSURLResponse? arg1, NSError? arg2) => _id.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2)>>() - .asFunction< - void Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>()( - _id, - arg0?._id ?? ffi.nullptr, - arg1?._id ?? ffi.nullptr, - arg2?._id ?? ffi.nullptr); + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >? _dartFuncListenerTrampoline; + + void call(NSURL? arg0, NSURLResponse? arg1, NSError? arg2) => pointer + .ref + .invoke + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, + ) + > + >() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >()( + pointer, + arg0?.pointer ?? ffi.nullptr, + arg1?.pointer ?? ffi.nullptr, + arg2?.pointer ?? ffi.nullptr, + ); } class NSProtocolChecker extends NSProxy { - NSProtocolChecker._(ffi.Pointer id, AVFAudio lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSProtocolChecker._( + ffi.Pointer pointer, + AVFAudio lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSProtocolChecker] that points to the same underlying object as [other]. - static NSProtocolChecker castFrom(T other) { - return NSProtocolChecker._(other._id, other._lib, - retain: true, release: true); + static NSProtocolChecker castFrom( + AVFAudio lib, + T other, + ) { + return NSProtocolChecker._(other.pointer, lib, retain: true, release: true); } /// Returns a [NSProtocolChecker] that wraps the given raw object pointer. static NSProtocolChecker castFromPointer( - AVFAudio lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + AVFAudio lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSProtocolChecker._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSProtocolChecker]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0(obj._id, obj._lib._sel_isKindOfClass_1, - obj._lib._class_NSProtocolChecker1); + static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSProtocolChecker1, + ); } Protocol get protocol { - final _ret = _lib._objc_msgSend_1098(_id, _lib._sel_protocol1); + final _ret = _lib._objc_msgSend_1098(this.pointer, _lib._sel_protocol1); return Protocol._(_ret, _lib, retain: true, release: true); } NSObject? get target { - final _ret = _lib._objc_msgSend_1099(_id, _lib._sel_target1); + final _ret = _lib._objc_msgSend_1099(this.pointer, _lib._sel_target1); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } static NSProtocolChecker protocolCheckerWithTarget_protocol_( - AVFAudio _lib, NSObject anObject, Protocol aProtocol) { + AVFAudio _lib, + NSObject anObject, + Protocol aProtocol, + ) { final _ret = _lib._objc_msgSend_1100( - _lib._class_NSProtocolChecker1, - _lib._sel_protocolCheckerWithTarget_protocol_1, - anObject._id, - aProtocol._id); + _lib._class_NSProtocolChecker1, + _lib._sel_protocolCheckerWithTarget_protocol_1, + anObject.pointer, + aProtocol.pointer, + ); return NSProtocolChecker._(_ret, _lib, retain: true, release: true); } NSProtocolChecker initWithTarget_protocol_( - NSObject anObject, Protocol aProtocol) { + NSObject anObject, + Protocol aProtocol, + ) { final _ret = _lib._objc_msgSend_1100( - _id, _lib._sel_initWithTarget_protocol_1, anObject._id, aProtocol._id); + this.pointer, + _lib._sel_initWithTarget_protocol_1, + anObject.pointer, + aProtocol.pointer, + ); return NSProtocolChecker._(_ret, _lib, retain: true, release: true); } static NSObject alloc(AVFAudio _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSProtocolChecker1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSProtocolChecker1, + _lib._sel_alloc1, + ); return NSObject._(_ret, _lib, retain: false, release: true); } static bool respondsToSelector_( - AVFAudio _lib, ffi.Pointer aSelector) { - return _lib._objc_msgSend_4(_lib._class_NSProtocolChecker1, - _lib._sel_respondsToSelector_1, aSelector); + AVFAudio _lib, + ffi.Pointer aSelector, + ) { + return _lib._objc_msgSend_4( + _lib._class_NSProtocolChecker1, + _lib._sel_respondsToSelector_1, + aSelector, + ); } } class NSTask extends NSObject { - NSTask._(ffi.Pointer id, AVFAudio lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSTask._( + ffi.Pointer pointer, + AVFAudio lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSTask] that points to the same underlying object as [other]. - static NSTask castFrom(T other) { - return NSTask._(other._id, other._lib, retain: true, release: true); + static NSTask castFrom(AVFAudio lib, T other) { + return NSTask._(other.pointer, lib, retain: true, release: true); } /// Returns a [NSTask] that wraps the given raw object pointer. - static NSTask castFromPointer(AVFAudio lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + static NSTask castFromPointer( + AVFAudio lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSTask._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSTask]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_NSTask1); + static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSTask1, + ); } @override NSTask init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSTask._(_ret, _lib, retain: true, release: true); } NSURL? get executableURL { - final _ret = _lib._objc_msgSend_45(_id, _lib._sel_executableURL1); + final _ret = _lib._objc_msgSend_45(this.pointer, _lib._sel_executableURL1); return _ret.address == 0 ? null : NSURL._(_ret, _lib, retain: true, release: true); @@ -73252,11 +98153,14 @@ class NSTask extends NSObject { set executableURL(NSURL? value) { return _lib._objc_msgSend_671( - _id, _lib._sel_setExecutableURL_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setExecutableURL_1, + value?.pointer ?? ffi.nullptr, + ); } NSArray? get arguments { - final _ret = _lib._objc_msgSend_84(_id, _lib._sel_arguments1); + final _ret = _lib._objc_msgSend_84(this.pointer, _lib._sel_arguments1); return _ret.address == 0 ? null : NSArray._(_ret, _lib, retain: true, release: true); @@ -73264,11 +98168,14 @@ class NSTask extends NSObject { set arguments(NSArray? value) { return _lib._objc_msgSend_1053( - _id, _lib._sel_setArguments_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setArguments_1, + value?.pointer ?? ffi.nullptr, + ); } NSDictionary? get environment { - final _ret = _lib._objc_msgSend_390(_id, _lib._sel_environment1); + final _ret = _lib._objc_msgSend_390(this.pointer, _lib._sel_environment1); return _ret.address == 0 ? null : NSDictionary._(_ret, _lib, retain: true, release: true); @@ -73276,11 +98183,17 @@ class NSTask extends NSObject { set environment(NSDictionary? value) { return _lib._objc_msgSend_634( - _id, _lib._sel_setEnvironment_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setEnvironment_1, + value?.pointer ?? ffi.nullptr, + ); } NSURL? get currentDirectoryURL { - final _ret = _lib._objc_msgSend_45(_id, _lib._sel_currentDirectoryURL1); + final _ret = _lib._objc_msgSend_45( + this.pointer, + _lib._sel_currentDirectoryURL1, + ); return _ret.address == 0 ? null : NSURL._(_ret, _lib, retain: true, release: true); @@ -73288,11 +98201,17 @@ class NSTask extends NSObject { set currentDirectoryURL(NSURL? value) { return _lib._objc_msgSend_671( - _id, _lib._sel_setCurrentDirectoryURL_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setCurrentDirectoryURL_1, + value?.pointer ?? ffi.nullptr, + ); } NSData? get launchRequirementData { - final _ret = _lib._objc_msgSend_286(_id, _lib._sel_launchRequirementData1); + final _ret = _lib._objc_msgSend_286( + this.pointer, + _lib._sel_launchRequirementData1, + ); return _ret.address == 0 ? null : NSData._(_ret, _lib, retain: true, release: true); @@ -73300,11 +98219,14 @@ class NSTask extends NSObject { set launchRequirementData(NSData? value) { return _lib._objc_msgSend_1021( - _id, _lib._sel_setLaunchRequirementData_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setLaunchRequirementData_1, + value?.pointer ?? ffi.nullptr, + ); } NSObject? get standardInput { - final _ret = _lib._objc_msgSend_17(_id, _lib._sel_standardInput1); + final _ret = _lib._objc_msgSend_17(this.pointer, _lib._sel_standardInput1); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); @@ -73312,11 +98234,14 @@ class NSTask extends NSObject { set standardInput(NSObject? value) { return _lib._objc_msgSend_416( - _id, _lib._sel_setStandardInput_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setStandardInput_1, + value?.pointer ?? ffi.nullptr, + ); } NSObject? get standardOutput { - final _ret = _lib._objc_msgSend_17(_id, _lib._sel_standardOutput1); + final _ret = _lib._objc_msgSend_17(this.pointer, _lib._sel_standardOutput1); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); @@ -73324,11 +98249,14 @@ class NSTask extends NSObject { set standardOutput(NSObject? value) { return _lib._objc_msgSend_416( - _id, _lib._sel_setStandardOutput_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setStandardOutput_1, + value?.pointer ?? ffi.nullptr, + ); } NSObject? get standardError { - final _ret = _lib._objc_msgSend_17(_id, _lib._sel_standardError1); + final _ret = _lib._objc_msgSend_17(this.pointer, _lib._sel_standardError1); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); @@ -73336,47 +98264,57 @@ class NSTask extends NSObject { set standardError(NSObject? value) { return _lib._objc_msgSend_416( - _id, _lib._sel_setStandardError_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setStandardError_1, + value?.pointer ?? ffi.nullptr, + ); } - bool launchAndReturnError_(ffi.Pointer> error) { - return _lib._objc_msgSend_255(_id, _lib._sel_launchAndReturnError_1, error); + bool launchAndReturnError_(ffi.Pointer> error) { + return _lib._objc_msgSend_255( + this.pointer, + _lib._sel_launchAndReturnError_1, + error, + ); } void interrupt() { - _lib._objc_msgSend_1(_id, _lib._sel_interrupt1); + _lib._objc_msgSend_1(this.pointer, _lib._sel_interrupt1); } void terminate() { - _lib._objc_msgSend_1(_id, _lib._sel_terminate1); + _lib._objc_msgSend_1(this.pointer, _lib._sel_terminate1); } bool suspend() { - return _lib._objc_msgSend_12(_id, _lib._sel_suspend1); + return _lib._objc_msgSend_12(this.pointer, _lib._sel_suspend1); } bool resume() { - return _lib._objc_msgSend_12(_id, _lib._sel_resume1); + return _lib._objc_msgSend_12(this.pointer, _lib._sel_resume1); } int get processIdentifier { - return _lib._objc_msgSend_237(_id, _lib._sel_processIdentifier1); + return _lib._objc_msgSend_237(this.pointer, _lib._sel_processIdentifier1); } bool get running { - return _lib._objc_msgSend_12(_id, _lib._sel_isRunning1); + return _lib._objc_msgSend_12(this.pointer, _lib._sel_isRunning1); } int get terminationStatus { - return _lib._objc_msgSend_237(_id, _lib._sel_terminationStatus1); + return _lib._objc_msgSend_237(this.pointer, _lib._sel_terminationStatus1); } int get terminationReason { - return _lib._objc_msgSend_1101(_id, _lib._sel_terminationReason1); + return _lib._objc_msgSend_1101(this.pointer, _lib._sel_terminationReason1); } ObjCBlock_ffiVoid_NSTask? get terminationHandler { - final _ret = _lib._objc_msgSend_1102(_id, _lib._sel_terminationHandler1); + final _ret = _lib._objc_msgSend_1102( + this.pointer, + _lib._sel_terminationHandler1, + ); return _ret.address == 0 ? null : ObjCBlock_ffiVoid_NSTask._(_ret, _lib, retain: true, release: true); @@ -73384,42 +98322,51 @@ class NSTask extends NSObject { set terminationHandler(ObjCBlock_ffiVoid_NSTask? value) { return _lib._objc_msgSend_1103( - _id, _lib._sel_setTerminationHandler_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setTerminationHandler_1, + value?.pointer ?? ffi.nullptr, + ); } int get qualityOfService { - return _lib._objc_msgSend_543(_id, _lib._sel_qualityOfService1); + return _lib._objc_msgSend_543(this.pointer, _lib._sel_qualityOfService1); } set qualityOfService(int value) { - return _lib._objc_msgSend_544(_id, _lib._sel_setQualityOfService_1, value); + return _lib._objc_msgSend_544( + this.pointer, + _lib._sel_setQualityOfService_1, + value, + ); } static NSTask? - launchedTaskWithExecutableURL_arguments_error_terminationHandler_( - AVFAudio _lib, - NSURL url, - NSArray arguments, - ffi.Pointer> error, - ObjCBlock_ffiVoid_NSTask? terminationHandler) { + launchedTaskWithExecutableURL_arguments_error_terminationHandler_( + AVFAudio _lib, + NSURL url, + NSArray arguments, + ffi.Pointer> error, + ObjCBlock_ffiVoid_NSTask? terminationHandler, + ) { final _ret = _lib._objc_msgSend_1104( - _lib._class_NSTask1, - _lib._sel_launchedTaskWithExecutableURL_arguments_error_terminationHandler_1, - url._id, - arguments._id, - error, - terminationHandler?._id ?? ffi.nullptr); + _lib._class_NSTask1, + _lib._sel_launchedTaskWithExecutableURL_arguments_error_terminationHandler_1, + url.pointer, + arguments.pointer, + error, + terminationHandler?.pointer ?? ffi.nullptr, + ); return _ret.address == 0 ? null : NSTask._(_ret, _lib, retain: true, release: true); } void waitUntilExit() { - _lib._objc_msgSend_1(_id, _lib._sel_waitUntilExit1); + _lib._objc_msgSend_1(this.pointer, _lib._sel_waitUntilExit1); } NSString? get launchPath { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_launchPath1); + final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_launchPath1); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); @@ -73427,30 +98374,43 @@ class NSTask extends NSObject { set launchPath(NSString? value) { return _lib._objc_msgSend_545( - _id, _lib._sel_setLaunchPath_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setLaunchPath_1, + value?.pointer ?? ffi.nullptr, + ); } NSString get currentDirectoryPath { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_currentDirectoryPath1); + final _ret = _lib._objc_msgSend_21( + this.pointer, + _lib._sel_currentDirectoryPath1, + ); return NSString._(_ret, _lib, retain: true, release: true); } set currentDirectoryPath(NSString value) { return _lib._objc_msgSend_646( - _id, _lib._sel_setCurrentDirectoryPath_1, value._id); + this.pointer, + _lib._sel_setCurrentDirectoryPath_1, + value.pointer, + ); } void launch() { - _lib._objc_msgSend_1(_id, _lib._sel_launch1); + _lib._objc_msgSend_1(this.pointer, _lib._sel_launch1); } static NSTask launchedTaskWithLaunchPath_arguments_( - AVFAudio _lib, NSString path, NSArray arguments) { + AVFAudio _lib, + NSString path, + NSArray arguments, + ) { final _ret = _lib._objc_msgSend_1105( - _lib._class_NSTask1, - _lib._sel_launchedTaskWithLaunchPath_arguments_1, - path._id, - arguments._id); + _lib._class_NSTask1, + _lib._sel_launchedTaskWithLaunchPath_arguments_1, + path.pointer, + arguments.pointer, + ); return NSTask._(_ret, _lib, retain: true, release: true); } @@ -73461,7 +98421,10 @@ class NSTask extends NSObject { static NSTask allocWithZone_(AVFAudio _lib, ffi.Pointer<_NSZone> zone) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSTask1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSTask1, + _lib._sel_allocWithZone_1, + zone, + ); return NSTask._(_ret, _lib, retain: false, release: true); } @@ -73471,65 +98434,94 @@ class NSTask extends NSObject { } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + AVFAudio _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSTask1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSTask1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSTask1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + AVFAudio _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSTask1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { return _lib._objc_msgSend_12( - _lib._class_NSTask1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_NSTask1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(AVFAudio _lib) { return _lib._objc_msgSend_12( - _lib._class_NSTask1, _lib._sel_useStoredAccessor1); + _lib._class_NSTask1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSTask1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSTask1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSTask1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSTask1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, NSArray keys, NSString dependentKey) { + AVFAudio _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSTask1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSTask1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { final _ret = _lib._objc_msgSend_85( - _lib._class_NSTask1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSTask1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(AVFAudio _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSTask1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSTask1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } @@ -73540,37 +98532,52 @@ abstract class NSTaskTerminationReason { } void _ObjCBlock_ffiVoid_NSTask_fnPtrTrampoline( - ffi.Pointer<_ObjCBlock> block, ffi.Pointer arg0) => - block.ref.target - .cast< - ffi - .NativeFunction arg0)>>() - .asFunction)>()(arg0); + ffi.Pointer block, + ffi.Pointer arg0, +) => block.ref.target + .cast< + ffi.NativeFunction arg0)> + >() + .asFunction)>()(arg0); final _ObjCBlock_ffiVoid_NSTask_closureRegistry = - )>{}; + )>{}; int _ObjCBlock_ffiVoid_NSTask_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_ffiVoid_NSTask_registerClosure( - void Function(ffi.Pointer) fn) { + void Function(ffi.Pointer) fn, +) { final id = ++_ObjCBlock_ffiVoid_NSTask_closureRegistryIndex; _ObjCBlock_ffiVoid_NSTask_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } void _ObjCBlock_ffiVoid_NSTask_closureTrampoline( - ffi.Pointer<_ObjCBlock> block, ffi.Pointer arg0) => - _ObjCBlock_ffiVoid_NSTask_closureRegistry[block.ref.target.address]!(arg0); + ffi.Pointer block, + ffi.Pointer arg0, +) => _ObjCBlock_ffiVoid_NSTask_closureRegistry[block.ref.target.address]!(arg0); + +class ObjCBlock_ffiVoid_NSTask extends objc.ObjCBlockBase { + ObjCBlock_ffiVoid_NSTask._( + ffi.Pointer pointer, + this._lib, { + bool retain = false, + bool release = true, + }) : super(pointer, retain: retain, release: release); -class ObjCBlock_ffiVoid_NSTask extends _ObjCBlockBase { - ObjCBlock_ffiVoid_NSTask._(ffi.Pointer<_ObjCBlock> id, AVFAudio lib, - {bool retain = false, bool release = true}) - : super._(id, lib, retain: retain, release: release); + AVFAudio _lib; /// Returns a block that wraps the given raw block pointer. static ObjCBlock_ffiVoid_NSTask castFromPointer( - AVFAudio lib, ffi.Pointer<_ObjCBlock> pointer, - {bool retain = false, bool release = false}) { - return ObjCBlock_ffiVoid_NSTask._(pointer, lib, - retain: retain, release: release); + AVFAudio lib, + ffi.Pointer pointer, { + bool retain = false, + bool release = false, + }) { + return ObjCBlock_ffiVoid_NSTask._( + pointer, + lib, + retain: retain, + release: release, + ); } /// Creates a block from a C function pointer. @@ -73579,20 +98586,20 @@ class ObjCBlock_ffiVoid_NSTask extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSTask.fromFunctionPointer( - AVFAudio lib, - ffi.Pointer< - ffi - .NativeFunction arg0)>> - ptr) - : this._( - lib._newBlock1( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_NSTask_fnPtrTrampoline) - .cast(), - ptr.cast()), - lib); + AVFAudio lib, + ffi.Pointer< + ffi.NativeFunction arg0)> + > ptr, + ) : this._(objc.newBlock( + _cFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_NSTask_fnPtrTrampoline).cast(), + ptr.cast(), + ), lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -73601,17 +98608,18 @@ class ObjCBlock_ffiVoid_NSTask extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSTask.fromFunction(AVFAudio lib, void Function(NSTask) fn) - : this._( - lib._newBlock1( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_NSTask_closureTrampoline) - .cast(), - _ObjCBlock_ffiVoid_NSTask_registerClosure( - (ffi.Pointer arg0) => - fn(NSTask._(arg0, lib, retain: true, release: true)))), - lib); + : this._(objc.newBlock( + _dartFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_NSTask_closureTrampoline).cast(), + _ObjCBlock_ffiVoid_NSTask_registerClosure(( + ffi.Pointer arg0, + ) => fn(NSTask._(arg0, lib, retain: true, release: true))), + ), lib); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -73624,80 +98632,113 @@ class ObjCBlock_ffiVoid_NSTask extends _ObjCBlockBase { /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. ObjCBlock_ffiVoid_NSTask.listener(AVFAudio lib, void Function(NSTask) fn) - : this._( - lib._newBlock1( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, - ffi.Pointer)>.listener( - _ObjCBlock_ffiVoid_NSTask_closureTrampoline) - ..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSTask_registerClosure( - (ffi.Pointer arg0) => - fn(NSTask._(arg0, lib, retain: true, release: true)))), - lib); + : this._(objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ) + >.listener( + _ObjCBlock_ffiVoid_NSTask_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSTask_registerClosure(( + ffi.Pointer arg0, + ) => fn(NSTask._(arg0, lib, retain: true, release: true))), + ), lib); static ffi.NativeCallable< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer)>? - _dartFuncListenerTrampoline; + ffi.Void Function(ffi.Pointer, ffi.Pointer) + >? _dartFuncListenerTrampoline; - void call(NSTask arg0) => _id.ref.invoke + void call(NSTask arg0) => pointer.ref.invoke .cast< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0)>>() + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer block, + ffi.Pointer arg0, + ) + > + >() .asFunction< - void Function(ffi.Pointer<_ObjCBlock>, - ffi.Pointer)>()(_id, arg0._id); + void Function(ffi.Pointer, ffi.Pointer) + >()(pointer, arg0.pointer); } class NSXMLElement extends NSXMLNode { - NSXMLElement._(ffi.Pointer id, AVFAudio lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSXMLElement._( + ffi.Pointer pointer, + AVFAudio lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSXMLElement] that points to the same underlying object as [other]. - static NSXMLElement castFrom(T other) { - return NSXMLElement._(other._id, other._lib, retain: true, release: true); + static NSXMLElement castFrom( + AVFAudio lib, + T other, + ) { + return NSXMLElement._(other.pointer, lib, retain: true, release: true); } /// Returns a [NSXMLElement] that wraps the given raw object pointer. static NSXMLElement castFromPointer( - AVFAudio lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + AVFAudio lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSXMLElement._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSXMLElement]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_NSXMLElement1); + static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSXMLElement1, + ); } NSXMLElement initWithName_(NSString name) { - final _ret = _lib._objc_msgSend_31(_id, _lib._sel_initWithName_1, name._id); + final _ret = _lib._objc_msgSend_31( + this.pointer, + _lib._sel_initWithName_1, + name.pointer, + ); return NSXMLElement._(_ret, _lib, retain: true, release: true); } NSXMLElement initWithName_URI_(NSString name, NSString? URI) { final _ret = _lib._objc_msgSend_1142( - _id, _lib._sel_initWithName_URI_1, name._id, URI?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_initWithName_URI_1, + name.pointer, + URI?.pointer ?? ffi.nullptr, + ); return NSXMLElement._(_ret, _lib, retain: true, release: true); } NSXMLElement initWithName_stringValue_(NSString name, NSString? string) { final _ret = _lib._objc_msgSend_1142( - _id, - _lib._sel_initWithName_stringValue_1, - name._id, - string?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_initWithName_stringValue_1, + name.pointer, + string?.pointer ?? ffi.nullptr, + ); return NSXMLElement._(_ret, _lib, retain: true, release: true); } NSXMLElement? initWithXMLString_error_( - NSString string, ffi.Pointer> error) { + NSString string, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_303( - _id, _lib._sel_initWithXMLString_error_1, string._id, error); + this.pointer, + _lib._sel_initWithXMLString_error_1, + string.pointer, + error, + ); return _ret.address == 0 ? null : NSXMLElement._(_ret, _lib, retain: true, release: true); @@ -73706,35 +98747,51 @@ class NSXMLElement extends NSXMLNode { @override NSXMLElement initWithKind_options_(int kind, int options) { final _ret = _lib._objc_msgSend_1107( - _id, _lib._sel_initWithKind_options_1, kind, options); + this.pointer, + _lib._sel_initWithKind_options_1, + kind, + options, + ); return NSXMLElement._(_ret, _lib, retain: true, release: true); } NSArray elementsForName_(NSString name) { - final _ret = - _lib._objc_msgSend_358(_id, _lib._sel_elementsForName_1, name._id); + final _ret = _lib._objc_msgSend_358( + this.pointer, + _lib._sel_elementsForName_1, + name.pointer, + ); return NSArray._(_ret, _lib, retain: true, release: true); } NSArray elementsForLocalName_URI_(NSString localName, NSString? URI) { final _ret = _lib._objc_msgSend_1143( - _id, - _lib._sel_elementsForLocalName_URI_1, - localName._id, - URI?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_elementsForLocalName_URI_1, + localName.pointer, + URI?.pointer ?? ffi.nullptr, + ); return NSArray._(_ret, _lib, retain: true, release: true); } void addAttribute_(NSXMLNode attribute) { - _lib._objc_msgSend_1121(_id, _lib._sel_addAttribute_1, attribute._id); + _lib._objc_msgSend_1121( + this.pointer, + _lib._sel_addAttribute_1, + attribute.pointer, + ); } void removeAttributeForName_(NSString name) { - _lib._objc_msgSend_247(_id, _lib._sel_removeAttributeForName_1, name._id); + _lib._objc_msgSend_247( + this.pointer, + _lib._sel_removeAttributeForName_1, + name.pointer, + ); } NSArray? get attributes { - final _ret = _lib._objc_msgSend_84(_id, _lib._sel_attributes1); + final _ret = _lib._objc_msgSend_84(this.pointer, _lib._sel_attributes1); return _ret.address == 0 ? null : NSArray._(_ret, _lib, retain: true, release: true); @@ -73742,17 +98799,26 @@ class NSXMLElement extends NSXMLNode { set attributes(NSArray? value) { return _lib._objc_msgSend_1053( - _id, _lib._sel_setAttributes_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setAttributes_1, + value?.pointer ?? ffi.nullptr, + ); } void setAttributesWithDictionary_(NSDictionary attributes) { _lib._objc_msgSend_509( - _id, _lib._sel_setAttributesWithDictionary_1, attributes._id); + this.pointer, + _lib._sel_setAttributesWithDictionary_1, + attributes.pointer, + ); } NSXMLNode? attributeForName_(NSString name) { - final _ret = - _lib._objc_msgSend_1125(_id, _lib._sel_attributeForName_1, name._id); + final _ret = _lib._objc_msgSend_1125( + this.pointer, + _lib._sel_attributeForName_1, + name.pointer, + ); return _ret.address == 0 ? null : NSXMLNode._(_ret, _lib, retain: true, release: true); @@ -73760,25 +98826,34 @@ class NSXMLElement extends NSXMLNode { NSXMLNode? attributeForLocalName_URI_(NSString localName, NSString? URI) { final _ret = _lib._objc_msgSend_1144( - _id, - _lib._sel_attributeForLocalName_URI_1, - localName._id, - URI?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_attributeForLocalName_URI_1, + localName.pointer, + URI?.pointer ?? ffi.nullptr, + ); return _ret.address == 0 ? null : NSXMLNode._(_ret, _lib, retain: true, release: true); } void addNamespace_(NSXMLNode aNamespace) { - _lib._objc_msgSend_1121(_id, _lib._sel_addNamespace_1, aNamespace._id); + _lib._objc_msgSend_1121( + this.pointer, + _lib._sel_addNamespace_1, + aNamespace.pointer, + ); } void removeNamespaceForPrefix_(NSString name) { - _lib._objc_msgSend_247(_id, _lib._sel_removeNamespaceForPrefix_1, name._id); + _lib._objc_msgSend_247( + this.pointer, + _lib._sel_removeNamespaceForPrefix_1, + name.pointer, + ); } NSArray? get namespaces { - final _ret = _lib._objc_msgSend_84(_id, _lib._sel_namespaces1); + final _ret = _lib._objc_msgSend_84(this.pointer, _lib._sel_namespaces1); return _ret.address == 0 ? null : NSArray._(_ret, _lib, retain: true, release: true); @@ -73786,12 +98861,18 @@ class NSXMLElement extends NSXMLNode { set namespaces(NSArray? value) { return _lib._objc_msgSend_1053( - _id, _lib._sel_setNamespaces_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setNamespaces_1, + value?.pointer ?? ffi.nullptr, + ); } NSXMLNode? namespaceForPrefix_(NSString name) { - final _ret = - _lib._objc_msgSend_1125(_id, _lib._sel_namespaceForPrefix_1, name._id); + final _ret = _lib._objc_msgSend_1125( + this.pointer, + _lib._sel_namespaceForPrefix_1, + name.pointer, + ); return _ret.address == 0 ? null : NSXMLNode._(_ret, _lib, retain: true, release: true); @@ -73799,7 +98880,10 @@ class NSXMLElement extends NSXMLNode { NSXMLNode? resolveNamespaceForName_(NSString name) { final _ret = _lib._objc_msgSend_1125( - _id, _lib._sel_resolveNamespaceForName_1, name._id); + this.pointer, + _lib._sel_resolveNamespaceForName_1, + name.pointer, + ); return _ret.address == 0 ? null : NSXMLNode._(_ret, _lib, retain: true, release: true); @@ -73807,7 +98891,10 @@ class NSXMLElement extends NSXMLNode { NSString? resolvePrefixForNamespaceURI_(NSString namespaceURI) { final _ret = _lib._objc_msgSend_186( - _id, _lib._sel_resolvePrefixForNamespaceURI_1, namespaceURI._id); + this.pointer, + _lib._sel_resolvePrefixForNamespaceURI_1, + namespaceURI.pointer, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); @@ -73815,148 +98902,234 @@ class NSXMLElement extends NSXMLNode { void insertChild_atIndex_(NSXMLNode child, int index) { _lib._objc_msgSend_1119( - _id, _lib._sel_insertChild_atIndex_1, child._id, index); + this.pointer, + _lib._sel_insertChild_atIndex_1, + child.pointer, + index, + ); } void insertChildren_atIndex_(NSArray children, int index) { _lib._objc_msgSend_1120( - _id, _lib._sel_insertChildren_atIndex_1, children._id, index); + this.pointer, + _lib._sel_insertChildren_atIndex_1, + children.pointer, + index, + ); } void removeChildAtIndex_(int index) { - _lib._objc_msgSend_470(_id, _lib._sel_removeChildAtIndex_1, index); + _lib._objc_msgSend_470(this.pointer, _lib._sel_removeChildAtIndex_1, index); } void setChildren_(NSArray? children) { _lib._objc_msgSend_843( - _id, _lib._sel_setChildren_1, children?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setChildren_1, + children?.pointer ?? ffi.nullptr, + ); } void addChild_(NSXMLNode child) { - _lib._objc_msgSend_1121(_id, _lib._sel_addChild_1, child._id); + _lib._objc_msgSend_1121(this.pointer, _lib._sel_addChild_1, child.pointer); } void replaceChildAtIndex_withNode_(int index, NSXMLNode node) { _lib._objc_msgSend_1122( - _id, _lib._sel_replaceChildAtIndex_withNode_1, index, node._id); + this.pointer, + _lib._sel_replaceChildAtIndex_withNode_1, + index, + node.pointer, + ); } void normalizeAdjacentTextNodesPreservingCDATA_(bool preserve) { _lib._objc_msgSend_870( - _id, _lib._sel_normalizeAdjacentTextNodesPreservingCDATA_1, preserve); + this.pointer, + _lib._sel_normalizeAdjacentTextNodesPreservingCDATA_1, + preserve, + ); } void setAttributesAsDictionary_(NSDictionary attributes) { _lib._objc_msgSend_509( - _id, _lib._sel_setAttributesAsDictionary_1, attributes._id); + this.pointer, + _lib._sel_setAttributesAsDictionary_1, + attributes.pointer, + ); } @override NSXMLElement init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSXMLElement._(_ret, _lib, retain: true, release: true); } @override NSXMLElement initWithKind_(int kind) { - final _ret = _lib._objc_msgSend_1106(_id, _lib._sel_initWithKind_1, kind); + final _ret = _lib._objc_msgSend_1106( + this.pointer, + _lib._sel_initWithKind_1, + kind, + ); return NSXMLElement._(_ret, _lib, retain: true, release: true); } static NSObject document(AVFAudio _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSXMLElement1, _lib._sel_document1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSXMLElement1, + _lib._sel_document1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } static NSObject documentWithRootElement_( - AVFAudio _lib, NSXMLElement element) { - final _ret = _lib._objc_msgSend_1108(_lib._class_NSXMLElement1, - _lib._sel_documentWithRootElement_1, element._id); + AVFAudio _lib, + NSXMLElement element, + ) { + final _ret = _lib._objc_msgSend_1108( + _lib._class_NSXMLElement1, + _lib._sel_documentWithRootElement_1, + element.pointer, + ); return NSObject._(_ret, _lib, retain: true, release: true); } static NSObject elementWithName_(AVFAudio _lib, NSString name) { final _ret = _lib._objc_msgSend_31( - _lib._class_NSXMLElement1, _lib._sel_elementWithName_1, name._id); + _lib._class_NSXMLElement1, + _lib._sel_elementWithName_1, + name.pointer, + ); return NSObject._(_ret, _lib, retain: true, release: true); } static NSObject elementWithName_URI_( - AVFAudio _lib, NSString name, NSString URI) { - final _ret = _lib._objc_msgSend_1109(_lib._class_NSXMLElement1, - _lib._sel_elementWithName_URI_1, name._id, URI._id); + AVFAudio _lib, + NSString name, + NSString URI, + ) { + final _ret = _lib._objc_msgSend_1109( + _lib._class_NSXMLElement1, + _lib._sel_elementWithName_URI_1, + name.pointer, + URI.pointer, + ); return NSObject._(_ret, _lib, retain: true, release: true); } static NSObject elementWithName_stringValue_( - AVFAudio _lib, NSString name, NSString string) { - final _ret = _lib._objc_msgSend_1109(_lib._class_NSXMLElement1, - _lib._sel_elementWithName_stringValue_1, name._id, string._id); + AVFAudio _lib, + NSString name, + NSString string, + ) { + final _ret = _lib._objc_msgSend_1109( + _lib._class_NSXMLElement1, + _lib._sel_elementWithName_stringValue_1, + name.pointer, + string.pointer, + ); return NSObject._(_ret, _lib, retain: true, release: true); } static NSObject elementWithName_children_attributes_( - AVFAudio _lib, NSString name, NSArray? children, NSArray? attributes) { + AVFAudio _lib, + NSString name, + NSArray? children, + NSArray? attributes, + ) { final _ret = _lib._objc_msgSend_1110( - _lib._class_NSXMLElement1, - _lib._sel_elementWithName_children_attributes_1, - name._id, - children?._id ?? ffi.nullptr, - attributes?._id ?? ffi.nullptr); + _lib._class_NSXMLElement1, + _lib._sel_elementWithName_children_attributes_1, + name.pointer, + children?.pointer ?? ffi.nullptr, + attributes?.pointer ?? ffi.nullptr, + ); return NSObject._(_ret, _lib, retain: true, release: true); } static NSObject attributeWithName_stringValue_( - AVFAudio _lib, NSString name, NSString stringValue) { - final _ret = _lib._objc_msgSend_1109(_lib._class_NSXMLElement1, - _lib._sel_attributeWithName_stringValue_1, name._id, stringValue._id); + AVFAudio _lib, + NSString name, + NSString stringValue, + ) { + final _ret = _lib._objc_msgSend_1109( + _lib._class_NSXMLElement1, + _lib._sel_attributeWithName_stringValue_1, + name.pointer, + stringValue.pointer, + ); return NSObject._(_ret, _lib, retain: true, release: true); } static NSObject attributeWithName_URI_stringValue_( - AVFAudio _lib, NSString name, NSString URI, NSString stringValue) { + AVFAudio _lib, + NSString name, + NSString URI, + NSString stringValue, + ) { final _ret = _lib._objc_msgSend_1074( - _lib._class_NSXMLElement1, - _lib._sel_attributeWithName_URI_stringValue_1, - name._id, - URI._id, - stringValue._id); + _lib._class_NSXMLElement1, + _lib._sel_attributeWithName_URI_stringValue_1, + name.pointer, + URI.pointer, + stringValue.pointer, + ); return NSObject._(_ret, _lib, retain: true, release: true); } static NSObject namespaceWithName_stringValue_( - AVFAudio _lib, NSString name, NSString stringValue) { - final _ret = _lib._objc_msgSend_1109(_lib._class_NSXMLElement1, - _lib._sel_namespaceWithName_stringValue_1, name._id, stringValue._id); + AVFAudio _lib, + NSString name, + NSString stringValue, + ) { + final _ret = _lib._objc_msgSend_1109( + _lib._class_NSXMLElement1, + _lib._sel_namespaceWithName_stringValue_1, + name.pointer, + stringValue.pointer, + ); return NSObject._(_ret, _lib, retain: true, release: true); } static NSObject processingInstructionWithName_stringValue_( - AVFAudio _lib, NSString name, NSString stringValue) { + AVFAudio _lib, + NSString name, + NSString stringValue, + ) { final _ret = _lib._objc_msgSend_1109( - _lib._class_NSXMLElement1, - _lib._sel_processingInstructionWithName_stringValue_1, - name._id, - stringValue._id); + _lib._class_NSXMLElement1, + _lib._sel_processingInstructionWithName_stringValue_1, + name.pointer, + stringValue.pointer, + ); return NSObject._(_ret, _lib, retain: true, release: true); } static NSObject commentWithStringValue_(AVFAudio _lib, NSString stringValue) { - final _ret = _lib._objc_msgSend_31(_lib._class_NSXMLElement1, - _lib._sel_commentWithStringValue_1, stringValue._id); + final _ret = _lib._objc_msgSend_31( + _lib._class_NSXMLElement1, + _lib._sel_commentWithStringValue_1, + stringValue.pointer, + ); return NSObject._(_ret, _lib, retain: true, release: true); } static NSObject textWithStringValue_(AVFAudio _lib, NSString stringValue) { - final _ret = _lib._objc_msgSend_31(_lib._class_NSXMLElement1, - _lib._sel_textWithStringValue_1, stringValue._id); + final _ret = _lib._objc_msgSend_31( + _lib._class_NSXMLElement1, + _lib._sel_textWithStringValue_1, + stringValue.pointer, + ); return NSObject._(_ret, _lib, retain: true, release: true); } static NSObject? DTDNodeWithXMLString_(AVFAudio _lib, NSString string) { - final _ret = _lib._objc_msgSend_38(_lib._class_NSXMLElement1, - _lib._sel_DTDNodeWithXMLString_1, string._id); + final _ret = _lib._objc_msgSend_38( + _lib._class_NSXMLElement1, + _lib._sel_DTDNodeWithXMLString_1, + string.pointer, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); @@ -73964,253 +99137,382 @@ class NSXMLElement extends NSXMLNode { static NSString localNameForName_(AVFAudio _lib, NSString name) { final _ret = _lib._objc_msgSend_69( - _lib._class_NSXMLElement1, _lib._sel_localNameForName_1, name._id); + _lib._class_NSXMLElement1, + _lib._sel_localNameForName_1, + name.pointer, + ); return NSString._(_ret, _lib, retain: true, release: true); } static NSString? prefixForName_(AVFAudio _lib, NSString name) { final _ret = _lib._objc_msgSend_186( - _lib._class_NSXMLElement1, _lib._sel_prefixForName_1, name._id); + _lib._class_NSXMLElement1, + _lib._sel_prefixForName_1, + name.pointer, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } static NSXMLNode? predefinedNamespaceForPrefix_( - AVFAudio _lib, NSString name) { - final _ret = _lib._objc_msgSend_1125(_lib._class_NSXMLElement1, - _lib._sel_predefinedNamespaceForPrefix_1, name._id); + AVFAudio _lib, + NSString name, + ) { + final _ret = _lib._objc_msgSend_1125( + _lib._class_NSXMLElement1, + _lib._sel_predefinedNamespaceForPrefix_1, + name.pointer, + ); return _ret.address == 0 ? null : NSXMLNode._(_ret, _lib, retain: true, release: true); } static NSXMLElement new1(AVFAudio _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSXMLElement1, _lib._sel_new1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSXMLElement1, + _lib._sel_new1, + ); return NSXMLElement._(_ret, _lib, retain: false, release: true); } static NSXMLElement allocWithZone_(AVFAudio _lib, ffi.Pointer<_NSZone> zone) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSXMLElement1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSXMLElement1, + _lib._sel_allocWithZone_1, + zone, + ); return NSXMLElement._(_ret, _lib, retain: false, release: true); } static NSXMLElement alloc(AVFAudio _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSXMLElement1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSXMLElement1, + _lib._sel_alloc1, + ); return NSXMLElement._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + AVFAudio _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSXMLElement1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSXMLElement1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSXMLElement1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + AVFAudio _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSXMLElement1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { return _lib._objc_msgSend_12( - _lib._class_NSXMLElement1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_NSXMLElement1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(AVFAudio _lib) { return _lib._objc_msgSend_12( - _lib._class_NSXMLElement1, _lib._sel_useStoredAccessor1); + _lib._class_NSXMLElement1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSXMLElement1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSXMLElement1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSXMLElement1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSXMLElement1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, NSArray keys, NSString dependentKey) { + AVFAudio _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSXMLElement1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSXMLElement1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { final _ret = _lib._objc_msgSend_85( - _lib._class_NSXMLElement1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSXMLElement1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(AVFAudio _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSXMLElement1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSXMLElement1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } class NSXMLNode extends NSObject { - NSXMLNode._(ffi.Pointer id, AVFAudio lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSXMLNode._( + ffi.Pointer pointer, + AVFAudio lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSXMLNode] that points to the same underlying object as [other]. - static NSXMLNode castFrom(T other) { - return NSXMLNode._(other._id, other._lib, retain: true, release: true); + static NSXMLNode castFrom( + AVFAudio lib, + T other, + ) { + return NSXMLNode._(other.pointer, lib, retain: true, release: true); } /// Returns a [NSXMLNode] that wraps the given raw object pointer. - static NSXMLNode castFromPointer(AVFAudio lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + static NSXMLNode castFromPointer( + AVFAudio lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSXMLNode._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSXMLNode]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_NSXMLNode1); + static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSXMLNode1, + ); } @override NSXMLNode init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSXMLNode._(_ret, _lib, retain: true, release: true); } NSXMLNode initWithKind_(int kind) { - final _ret = _lib._objc_msgSend_1106(_id, _lib._sel_initWithKind_1, kind); + final _ret = _lib._objc_msgSend_1106( + this.pointer, + _lib._sel_initWithKind_1, + kind, + ); return NSXMLNode._(_ret, _lib, retain: true, release: true); } NSXMLNode initWithKind_options_(int kind, int options) { final _ret = _lib._objc_msgSend_1107( - _id, _lib._sel_initWithKind_options_1, kind, options); + this.pointer, + _lib._sel_initWithKind_options_1, + kind, + options, + ); return NSXMLNode._(_ret, _lib, retain: true, release: true); } static NSObject document(AVFAudio _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSXMLNode1, _lib._sel_document1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSXMLNode1, + _lib._sel_document1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } static NSObject documentWithRootElement_( - AVFAudio _lib, NSXMLElement element) { - final _ret = _lib._objc_msgSend_1108(_lib._class_NSXMLNode1, - _lib._sel_documentWithRootElement_1, element._id); + AVFAudio _lib, + NSXMLElement element, + ) { + final _ret = _lib._objc_msgSend_1108( + _lib._class_NSXMLNode1, + _lib._sel_documentWithRootElement_1, + element.pointer, + ); return NSObject._(_ret, _lib, retain: true, release: true); } static NSObject elementWithName_(AVFAudio _lib, NSString name) { final _ret = _lib._objc_msgSend_31( - _lib._class_NSXMLNode1, _lib._sel_elementWithName_1, name._id); + _lib._class_NSXMLNode1, + _lib._sel_elementWithName_1, + name.pointer, + ); return NSObject._(_ret, _lib, retain: true, release: true); } static NSObject elementWithName_URI_( - AVFAudio _lib, NSString name, NSString URI) { - final _ret = _lib._objc_msgSend_1109(_lib._class_NSXMLNode1, - _lib._sel_elementWithName_URI_1, name._id, URI._id); + AVFAudio _lib, + NSString name, + NSString URI, + ) { + final _ret = _lib._objc_msgSend_1109( + _lib._class_NSXMLNode1, + _lib._sel_elementWithName_URI_1, + name.pointer, + URI.pointer, + ); return NSObject._(_ret, _lib, retain: true, release: true); } static NSObject elementWithName_stringValue_( - AVFAudio _lib, NSString name, NSString string) { - final _ret = _lib._objc_msgSend_1109(_lib._class_NSXMLNode1, - _lib._sel_elementWithName_stringValue_1, name._id, string._id); + AVFAudio _lib, + NSString name, + NSString string, + ) { + final _ret = _lib._objc_msgSend_1109( + _lib._class_NSXMLNode1, + _lib._sel_elementWithName_stringValue_1, + name.pointer, + string.pointer, + ); return NSObject._(_ret, _lib, retain: true, release: true); } static NSObject elementWithName_children_attributes_( - AVFAudio _lib, NSString name, NSArray? children, NSArray? attributes) { + AVFAudio _lib, + NSString name, + NSArray? children, + NSArray? attributes, + ) { final _ret = _lib._objc_msgSend_1110( - _lib._class_NSXMLNode1, - _lib._sel_elementWithName_children_attributes_1, - name._id, - children?._id ?? ffi.nullptr, - attributes?._id ?? ffi.nullptr); + _lib._class_NSXMLNode1, + _lib._sel_elementWithName_children_attributes_1, + name.pointer, + children?.pointer ?? ffi.nullptr, + attributes?.pointer ?? ffi.nullptr, + ); return NSObject._(_ret, _lib, retain: true, release: true); } static NSObject attributeWithName_stringValue_( - AVFAudio _lib, NSString name, NSString stringValue) { - final _ret = _lib._objc_msgSend_1109(_lib._class_NSXMLNode1, - _lib._sel_attributeWithName_stringValue_1, name._id, stringValue._id); + AVFAudio _lib, + NSString name, + NSString stringValue, + ) { + final _ret = _lib._objc_msgSend_1109( + _lib._class_NSXMLNode1, + _lib._sel_attributeWithName_stringValue_1, + name.pointer, + stringValue.pointer, + ); return NSObject._(_ret, _lib, retain: true, release: true); } static NSObject attributeWithName_URI_stringValue_( - AVFAudio _lib, NSString name, NSString URI, NSString stringValue) { + AVFAudio _lib, + NSString name, + NSString URI, + NSString stringValue, + ) { final _ret = _lib._objc_msgSend_1074( - _lib._class_NSXMLNode1, - _lib._sel_attributeWithName_URI_stringValue_1, - name._id, - URI._id, - stringValue._id); + _lib._class_NSXMLNode1, + _lib._sel_attributeWithName_URI_stringValue_1, + name.pointer, + URI.pointer, + stringValue.pointer, + ); return NSObject._(_ret, _lib, retain: true, release: true); } static NSObject namespaceWithName_stringValue_( - AVFAudio _lib, NSString name, NSString stringValue) { - final _ret = _lib._objc_msgSend_1109(_lib._class_NSXMLNode1, - _lib._sel_namespaceWithName_stringValue_1, name._id, stringValue._id); + AVFAudio _lib, + NSString name, + NSString stringValue, + ) { + final _ret = _lib._objc_msgSend_1109( + _lib._class_NSXMLNode1, + _lib._sel_namespaceWithName_stringValue_1, + name.pointer, + stringValue.pointer, + ); return NSObject._(_ret, _lib, retain: true, release: true); } static NSObject processingInstructionWithName_stringValue_( - AVFAudio _lib, NSString name, NSString stringValue) { + AVFAudio _lib, + NSString name, + NSString stringValue, + ) { final _ret = _lib._objc_msgSend_1109( - _lib._class_NSXMLNode1, - _lib._sel_processingInstructionWithName_stringValue_1, - name._id, - stringValue._id); + _lib._class_NSXMLNode1, + _lib._sel_processingInstructionWithName_stringValue_1, + name.pointer, + stringValue.pointer, + ); return NSObject._(_ret, _lib, retain: true, release: true); } static NSObject commentWithStringValue_(AVFAudio _lib, NSString stringValue) { - final _ret = _lib._objc_msgSend_31(_lib._class_NSXMLNode1, - _lib._sel_commentWithStringValue_1, stringValue._id); + final _ret = _lib._objc_msgSend_31( + _lib._class_NSXMLNode1, + _lib._sel_commentWithStringValue_1, + stringValue.pointer, + ); return NSObject._(_ret, _lib, retain: true, release: true); } static NSObject textWithStringValue_(AVFAudio _lib, NSString stringValue) { - final _ret = _lib._objc_msgSend_31(_lib._class_NSXMLNode1, - _lib._sel_textWithStringValue_1, stringValue._id); + final _ret = _lib._objc_msgSend_31( + _lib._class_NSXMLNode1, + _lib._sel_textWithStringValue_1, + stringValue.pointer, + ); return NSObject._(_ret, _lib, retain: true, release: true); } static NSObject? DTDNodeWithXMLString_(AVFAudio _lib, NSString string) { final _ret = _lib._objc_msgSend_38( - _lib._class_NSXMLNode1, _lib._sel_DTDNodeWithXMLString_1, string._id); + _lib._class_NSXMLNode1, + _lib._sel_DTDNodeWithXMLString_1, + string.pointer, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } int get kind { - return _lib._objc_msgSend_1111(_id, _lib._sel_kind1); + return _lib._objc_msgSend_1111(this.pointer, _lib._sel_kind1); } NSString? get name { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_name1); + final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_name1); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); @@ -74218,11 +99520,14 @@ class NSXMLNode extends NSObject { set name(NSString? value) { return _lib._objc_msgSend_545( - _id, _lib._sel_setName_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setName_1, + value?.pointer ?? ffi.nullptr, + ); } NSObject? get objectValue { - final _ret = _lib._objc_msgSend_17(_id, _lib._sel_objectValue1); + final _ret = _lib._objc_msgSend_17(this.pointer, _lib._sel_objectValue1); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); @@ -74230,11 +99535,14 @@ class NSXMLNode extends NSObject { set objectValue(NSObject? value) { return _lib._objc_msgSend_416( - _id, _lib._sel_setObjectValue_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setObjectValue_1, + value?.pointer ?? ffi.nullptr, + ); } NSString? get stringValue { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_stringValue1); + final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_stringValue1); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); @@ -74242,109 +99550,123 @@ class NSXMLNode extends NSObject { set stringValue(NSString? value) { return _lib._objc_msgSend_545( - _id, _lib._sel_setStringValue_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setStringValue_1, + value?.pointer ?? ffi.nullptr, + ); } void setStringValue_resolvingEntities_(NSString string, bool resolve) { _lib._objc_msgSend_1112( - _id, _lib._sel_setStringValue_resolvingEntities_1, string._id, resolve); + this.pointer, + _lib._sel_setStringValue_resolvingEntities_1, + string.pointer, + resolve, + ); } int get index { - return _lib._objc_msgSend_10(_id, _lib._sel_index1); + return _lib._objc_msgSend_10(this.pointer, _lib._sel_index1); } int get level { - return _lib._objc_msgSend_10(_id, _lib._sel_level1); + return _lib._objc_msgSend_10(this.pointer, _lib._sel_level1); } NSXMLDocument? get rootDocument { - final _ret = _lib._objc_msgSend_1136(_id, _lib._sel_rootDocument1); + final _ret = _lib._objc_msgSend_1136(this.pointer, _lib._sel_rootDocument1); return _ret.address == 0 ? null : NSXMLDocument._(_ret, _lib, retain: true, release: true); } NSXMLNode? get parent { - final _ret = _lib._objc_msgSend_1137(_id, _lib._sel_parent1); + final _ret = _lib._objc_msgSend_1137(this.pointer, _lib._sel_parent1); return _ret.address == 0 ? null : NSXMLNode._(_ret, _lib, retain: true, release: true); } int get childCount { - return _lib._objc_msgSend_10(_id, _lib._sel_childCount1); + return _lib._objc_msgSend_10(this.pointer, _lib._sel_childCount1); } NSArray? get children { - final _ret = _lib._objc_msgSend_84(_id, _lib._sel_children1); + final _ret = _lib._objc_msgSend_84(this.pointer, _lib._sel_children1); return _ret.address == 0 ? null : NSArray._(_ret, _lib, retain: true, release: true); } NSXMLNode? childAtIndex_(int index) { - final _ret = _lib._objc_msgSend_1138(_id, _lib._sel_childAtIndex_1, index); + final _ret = _lib._objc_msgSend_1138( + this.pointer, + _lib._sel_childAtIndex_1, + index, + ); return _ret.address == 0 ? null : NSXMLNode._(_ret, _lib, retain: true, release: true); } NSXMLNode? get previousSibling { - final _ret = _lib._objc_msgSend_1137(_id, _lib._sel_previousSibling1); + final _ret = _lib._objc_msgSend_1137( + this.pointer, + _lib._sel_previousSibling1, + ); return _ret.address == 0 ? null : NSXMLNode._(_ret, _lib, retain: true, release: true); } NSXMLNode? get nextSibling { - final _ret = _lib._objc_msgSend_1137(_id, _lib._sel_nextSibling1); + final _ret = _lib._objc_msgSend_1137(this.pointer, _lib._sel_nextSibling1); return _ret.address == 0 ? null : NSXMLNode._(_ret, _lib, retain: true, release: true); } NSXMLNode? get previousNode { - final _ret = _lib._objc_msgSend_1137(_id, _lib._sel_previousNode1); + final _ret = _lib._objc_msgSend_1137(this.pointer, _lib._sel_previousNode1); return _ret.address == 0 ? null : NSXMLNode._(_ret, _lib, retain: true, release: true); } NSXMLNode? get nextNode { - final _ret = _lib._objc_msgSend_1137(_id, _lib._sel_nextNode1); + final _ret = _lib._objc_msgSend_1137(this.pointer, _lib._sel_nextNode1); return _ret.address == 0 ? null : NSXMLNode._(_ret, _lib, retain: true, release: true); } void detach() { - _lib._objc_msgSend_1(_id, _lib._sel_detach1); + _lib._objc_msgSend_1(this.pointer, _lib._sel_detach1); } NSString? get XPath { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_XPath1); + final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_XPath1); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } NSString? get localName { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_localName1); + final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_localName1); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } NSString? get prefix { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_prefix1); + final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_prefix1); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } NSString? get URI { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_URI1); + final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_URI1); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); @@ -74352,80 +99674,116 @@ class NSXMLNode extends NSObject { set URI(NSString? value) { return _lib._objc_msgSend_545( - _id, _lib._sel_setURI_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setURI_1, + value?.pointer ?? ffi.nullptr, + ); } static NSString localNameForName_(AVFAudio _lib, NSString name) { final _ret = _lib._objc_msgSend_69( - _lib._class_NSXMLNode1, _lib._sel_localNameForName_1, name._id); + _lib._class_NSXMLNode1, + _lib._sel_localNameForName_1, + name.pointer, + ); return NSString._(_ret, _lib, retain: true, release: true); } static NSString? prefixForName_(AVFAudio _lib, NSString name) { final _ret = _lib._objc_msgSend_186( - _lib._class_NSXMLNode1, _lib._sel_prefixForName_1, name._id); + _lib._class_NSXMLNode1, + _lib._sel_prefixForName_1, + name.pointer, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } static NSXMLNode? predefinedNamespaceForPrefix_( - AVFAudio _lib, NSString name) { - final _ret = _lib._objc_msgSend_1125(_lib._class_NSXMLNode1, - _lib._sel_predefinedNamespaceForPrefix_1, name._id); + AVFAudio _lib, + NSString name, + ) { + final _ret = _lib._objc_msgSend_1125( + _lib._class_NSXMLNode1, + _lib._sel_predefinedNamespaceForPrefix_1, + name.pointer, + ); return _ret.address == 0 ? null : NSXMLNode._(_ret, _lib, retain: true, release: true); } NSString get description { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_description1); + final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_description1); return NSString._(_ret, _lib, retain: true, release: true); } NSString get XMLString { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_XMLString1); + final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_XMLString1); return NSString._(_ret, _lib, retain: true, release: true); } NSString XMLStringWithOptions_(int options) { - final _ret = - _lib._objc_msgSend_1139(_id, _lib._sel_XMLStringWithOptions_1, options); + final _ret = _lib._objc_msgSend_1139( + this.pointer, + _lib._sel_XMLStringWithOptions_1, + options, + ); return NSString._(_ret, _lib, retain: true, release: true); } NSString canonicalXMLStringPreservingComments_(bool comments) { final _ret = _lib._objc_msgSend_1140( - _id, _lib._sel_canonicalXMLStringPreservingComments_1, comments); + this.pointer, + _lib._sel_canonicalXMLStringPreservingComments_1, + comments, + ); return NSString._(_ret, _lib, retain: true, release: true); } NSArray? nodesForXPath_error_( - NSString xpath, ffi.Pointer> error) { + NSString xpath, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_443( - _id, _lib._sel_nodesForXPath_error_1, xpath._id, error); + this.pointer, + _lib._sel_nodesForXPath_error_1, + xpath.pointer, + error, + ); return _ret.address == 0 ? null : NSArray._(_ret, _lib, retain: true, release: true); } - NSArray? objectsForXQuery_constants_error_(NSString xquery, - NSDictionary? constants, ffi.Pointer> error) { + NSArray? objectsForXQuery_constants_error_( + NSString xquery, + NSDictionary? constants, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_1141( - _id, - _lib._sel_objectsForXQuery_constants_error_1, - xquery._id, - constants?._id ?? ffi.nullptr, - error); + this.pointer, + _lib._sel_objectsForXQuery_constants_error_1, + xquery.pointer, + constants?.pointer ?? ffi.nullptr, + error, + ); return _ret.address == 0 ? null : NSArray._(_ret, _lib, retain: true, release: true); } NSArray? objectsForXQuery_error_( - NSString xquery, ffi.Pointer> error) { + NSString xquery, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_443( - _id, _lib._sel_objectsForXQuery_error_1, xquery._id, error); + this.pointer, + _lib._sel_objectsForXQuery_error_1, + xquery.pointer, + error, + ); return _ret.address == 0 ? null : NSArray._(_ret, _lib, retain: true, release: true); @@ -74438,7 +99796,10 @@ class NSXMLNode extends NSObject { static NSXMLNode allocWithZone_(AVFAudio _lib, ffi.Pointer<_NSZone> zone) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSXMLNode1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSXMLNode1, + _lib._sel_allocWithZone_1, + zone, + ); return NSXMLNode._(_ret, _lib, retain: false, release: true); } @@ -74448,65 +99809,94 @@ class NSXMLNode extends NSObject { } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + AVFAudio _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSXMLNode1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSXMLNode1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSXMLNode1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + AVFAudio _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSXMLNode1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { return _lib._objc_msgSend_12( - _lib._class_NSXMLNode1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_NSXMLNode1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(AVFAudio _lib) { return _lib._objc_msgSend_12( - _lib._class_NSXMLNode1, _lib._sel_useStoredAccessor1); + _lib._class_NSXMLNode1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSXMLNode1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSXMLNode1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSXMLNode1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSXMLNode1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, NSArray keys, NSString dependentKey) { + AVFAudio _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSXMLNode1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSXMLNode1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { final _ret = _lib._objc_msgSend_85( - _lib._class_NSXMLNode1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSXMLNode1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(AVFAudio _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSXMLNode1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSXMLNode1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } @@ -74559,56 +99949,92 @@ abstract class NSXMLNodeOptions { } class NSXMLDocument extends NSXMLNode { - NSXMLDocument._(ffi.Pointer id, AVFAudio lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSXMLDocument._( + ffi.Pointer pointer, + AVFAudio lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSXMLDocument] that points to the same underlying object as [other]. - static NSXMLDocument castFrom(T other) { - return NSXMLDocument._(other._id, other._lib, retain: true, release: true); + static NSXMLDocument castFrom( + AVFAudio lib, + T other, + ) { + return NSXMLDocument._(other.pointer, lib, retain: true, release: true); } /// Returns a [NSXMLDocument] that wraps the given raw object pointer. static NSXMLDocument castFromPointer( - AVFAudio lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + AVFAudio lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSXMLDocument._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSXMLDocument]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_NSXMLDocument1); + static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSXMLDocument1, + ); } @override NSXMLDocument init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSXMLDocument._(_ret, _lib, retain: true, release: true); } NSXMLDocument? initWithXMLString_options_error_( - NSString string, int mask, ffi.Pointer> error) { - final _ret = _lib._objc_msgSend_1113(_id, - _lib._sel_initWithXMLString_options_error_1, string._id, mask, error); + NSString string, + int mask, + ffi.Pointer> error, + ) { + final _ret = _lib._objc_msgSend_1113( + this.pointer, + _lib._sel_initWithXMLString_options_error_1, + string.pointer, + mask, + error, + ); return _ret.address == 0 ? null : NSXMLDocument._(_ret, _lib, retain: true, release: true); } NSXMLDocument? initWithContentsOfURL_options_error_( - NSURL url, int mask, ffi.Pointer> error) { - final _ret = _lib._objc_msgSend_1114(_id, - _lib._sel_initWithContentsOfURL_options_error_1, url._id, mask, error); + NSURL url, + int mask, + ffi.Pointer> error, + ) { + final _ret = _lib._objc_msgSend_1114( + this.pointer, + _lib._sel_initWithContentsOfURL_options_error_1, + url.pointer, + mask, + error, + ); return _ret.address == 0 ? null : NSXMLDocument._(_ret, _lib, retain: true, release: true); } NSXMLDocument? initWithData_options_error_( - NSData data, int mask, ffi.Pointer> error) { + NSData data, + int mask, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_1115( - _id, _lib._sel_initWithData_options_error_1, data._id, mask, error); + this.pointer, + _lib._sel_initWithData_options_error_1, + data.pointer, + mask, + error, + ); return _ret.address == 0 ? null : NSXMLDocument._(_ret, _lib, retain: true, release: true); @@ -74616,18 +100042,27 @@ class NSXMLDocument extends NSXMLNode { NSXMLDocument initWithRootElement_(NSXMLElement? element) { final _ret = _lib._objc_msgSend_1116( - _id, _lib._sel_initWithRootElement_1, element?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_initWithRootElement_1, + element?.pointer ?? ffi.nullptr, + ); return NSXMLDocument._(_ret, _lib, retain: true, release: true); } static NSObject replacementClassForClass_(AVFAudio _lib, NSObject cls) { - final _ret = _lib._objc_msgSend_124(_lib._class_NSXMLDocument1, - _lib._sel_replacementClassForClass_1, cls._id); + final _ret = _lib._objc_msgSend_124( + _lib._class_NSXMLDocument1, + _lib._sel_replacementClassForClass_1, + cls.pointer, + ); return NSObject._(_ret, _lib, retain: true, release: true); } NSString? get characterEncoding { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_characterEncoding1); + final _ret = _lib._objc_msgSend_44( + this.pointer, + _lib._sel_characterEncoding1, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); @@ -74635,11 +100070,14 @@ class NSXMLDocument extends NSXMLNode { set characterEncoding(NSString? value) { return _lib._objc_msgSend_545( - _id, _lib._sel_setCharacterEncoding_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setCharacterEncoding_1, + value?.pointer ?? ffi.nullptr, + ); } NSString? get version { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_version1); + final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_version1); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); @@ -74647,28 +100085,41 @@ class NSXMLDocument extends NSXMLNode { set version(NSString? value) { return _lib._objc_msgSend_545( - _id, _lib._sel_setVersion_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setVersion_1, + value?.pointer ?? ffi.nullptr, + ); } bool get standalone { - return _lib._objc_msgSend_12(_id, _lib._sel_isStandalone1); + return _lib._objc_msgSend_12(this.pointer, _lib._sel_isStandalone1); } set standalone(bool value) { - return _lib._objc_msgSend_527(_id, _lib._sel_setStandalone_1, value); + return _lib._objc_msgSend_527( + this.pointer, + _lib._sel_setStandalone_1, + value, + ); } int get documentContentKind { - return _lib._objc_msgSend_1117(_id, _lib._sel_documentContentKind1); + return _lib._objc_msgSend_1117( + this.pointer, + _lib._sel_documentContentKind1, + ); } set documentContentKind(int value) { return _lib._objc_msgSend_1118( - _id, _lib._sel_setDocumentContentKind_1, value); + this.pointer, + _lib._sel_setDocumentContentKind_1, + value, + ); } NSString? get MIMEType { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_MIMEType1); + final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_MIMEType1); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); @@ -74676,11 +100127,14 @@ class NSXMLDocument extends NSXMLNode { set MIMEType(NSString? value) { return _lib._objc_msgSend_545( - _id, _lib._sel_setMIMEType_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setMIMEType_1, + value?.pointer ?? ffi.nullptr, + ); } NSXMLDTD? get DTD { - final _ret = _lib._objc_msgSend_1128(_id, _lib._sel_DTD1); + final _ret = _lib._objc_msgSend_1128(this.pointer, _lib._sel_DTD1); return _ret.address == 0 ? null : NSXMLDTD._(_ret, _lib, retain: true, release: true); @@ -74688,15 +100142,22 @@ class NSXMLDocument extends NSXMLNode { set DTD(NSXMLDTD? value) { return _lib._objc_msgSend_1129( - _id, _lib._sel_setDTD_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setDTD_1, + value?.pointer ?? ffi.nullptr, + ); } void setRootElement_(NSXMLElement root) { - _lib._objc_msgSend_1130(_id, _lib._sel_setRootElement_1, root._id); + _lib._objc_msgSend_1130( + this.pointer, + _lib._sel_setRootElement_1, + root.pointer, + ); } NSXMLElement? rootElement() { - final _ret = _lib._objc_msgSend_1131(_id, _lib._sel_rootElement1); + final _ret = _lib._objc_msgSend_1131(this.pointer, _lib._sel_rootElement1); return _ret.address == 0 ? null : NSXMLElement._(_ret, _lib, retain: true, release: true); @@ -74704,194 +100165,298 @@ class NSXMLDocument extends NSXMLNode { void insertChild_atIndex_(NSXMLNode child, int index) { _lib._objc_msgSend_1119( - _id, _lib._sel_insertChild_atIndex_1, child._id, index); + this.pointer, + _lib._sel_insertChild_atIndex_1, + child.pointer, + index, + ); } void insertChildren_atIndex_(NSArray children, int index) { _lib._objc_msgSend_1120( - _id, _lib._sel_insertChildren_atIndex_1, children._id, index); + this.pointer, + _lib._sel_insertChildren_atIndex_1, + children.pointer, + index, + ); } void removeChildAtIndex_(int index) { - _lib._objc_msgSend_470(_id, _lib._sel_removeChildAtIndex_1, index); + _lib._objc_msgSend_470(this.pointer, _lib._sel_removeChildAtIndex_1, index); } void setChildren_(NSArray? children) { _lib._objc_msgSend_843( - _id, _lib._sel_setChildren_1, children?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setChildren_1, + children?.pointer ?? ffi.nullptr, + ); } void addChild_(NSXMLNode child) { - _lib._objc_msgSend_1121(_id, _lib._sel_addChild_1, child._id); + _lib._objc_msgSend_1121(this.pointer, _lib._sel_addChild_1, child.pointer); } void replaceChildAtIndex_withNode_(int index, NSXMLNode node) { _lib._objc_msgSend_1122( - _id, _lib._sel_replaceChildAtIndex_withNode_1, index, node._id); + this.pointer, + _lib._sel_replaceChildAtIndex_withNode_1, + index, + node.pointer, + ); } NSData get XMLData { - final _ret = _lib._objc_msgSend_43(_id, _lib._sel_XMLData1); + final _ret = _lib._objc_msgSend_43(this.pointer, _lib._sel_XMLData1); return NSData._(_ret, _lib, retain: true, release: true); } NSData XMLDataWithOptions_(int options) { - final _ret = - _lib._objc_msgSend_1132(_id, _lib._sel_XMLDataWithOptions_1, options); + final _ret = _lib._objc_msgSend_1132( + this.pointer, + _lib._sel_XMLDataWithOptions_1, + options, + ); return NSData._(_ret, _lib, retain: true, release: true); } - NSObject? objectByApplyingXSLT_arguments_error_(NSData xslt, - NSDictionary? arguments, ffi.Pointer> error) { + NSObject? objectByApplyingXSLT_arguments_error_( + NSData xslt, + NSDictionary? arguments, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_1133( - _id, - _lib._sel_objectByApplyingXSLT_arguments_error_1, - xslt._id, - arguments?._id ?? ffi.nullptr, - error); + this.pointer, + _lib._sel_objectByApplyingXSLT_arguments_error_1, + xslt.pointer, + arguments?.pointer ?? ffi.nullptr, + error, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } - NSObject? objectByApplyingXSLTString_arguments_error_(NSString xslt, - NSDictionary? arguments, ffi.Pointer> error) { + NSObject? objectByApplyingXSLTString_arguments_error_( + NSString xslt, + NSDictionary? arguments, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_1134( - _id, - _lib._sel_objectByApplyingXSLTString_arguments_error_1, - xslt._id, - arguments?._id ?? ffi.nullptr, - error); + this.pointer, + _lib._sel_objectByApplyingXSLTString_arguments_error_1, + xslt.pointer, + arguments?.pointer ?? ffi.nullptr, + error, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } - NSObject? objectByApplyingXSLTAtURL_arguments_error_(NSURL xsltURL, - NSDictionary? argument, ffi.Pointer> error) { + NSObject? objectByApplyingXSLTAtURL_arguments_error_( + NSURL xsltURL, + NSDictionary? argument, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_1135( - _id, - _lib._sel_objectByApplyingXSLTAtURL_arguments_error_1, - xsltURL._id, - argument?._id ?? ffi.nullptr, - error); + this.pointer, + _lib._sel_objectByApplyingXSLTAtURL_arguments_error_1, + xsltURL.pointer, + argument?.pointer ?? ffi.nullptr, + error, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } - bool validateAndReturnError_(ffi.Pointer> error) { + bool validateAndReturnError_( + ffi.Pointer> error, + ) { return _lib._objc_msgSend_255( - _id, _lib._sel_validateAndReturnError_1, error); + this.pointer, + _lib._sel_validateAndReturnError_1, + error, + ); } @override NSXMLDocument initWithKind_(int kind) { - final _ret = _lib._objc_msgSend_1106(_id, _lib._sel_initWithKind_1, kind); + final _ret = _lib._objc_msgSend_1106( + this.pointer, + _lib._sel_initWithKind_1, + kind, + ); return NSXMLDocument._(_ret, _lib, retain: true, release: true); } @override NSXMLDocument initWithKind_options_(int kind, int options) { final _ret = _lib._objc_msgSend_1107( - _id, _lib._sel_initWithKind_options_1, kind, options); + this.pointer, + _lib._sel_initWithKind_options_1, + kind, + options, + ); return NSXMLDocument._(_ret, _lib, retain: true, release: true); } static NSObject document(AVFAudio _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSXMLDocument1, _lib._sel_document1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSXMLDocument1, + _lib._sel_document1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } static NSObject documentWithRootElement_( - AVFAudio _lib, NSXMLElement element) { - final _ret = _lib._objc_msgSend_1108(_lib._class_NSXMLDocument1, - _lib._sel_documentWithRootElement_1, element._id); + AVFAudio _lib, + NSXMLElement element, + ) { + final _ret = _lib._objc_msgSend_1108( + _lib._class_NSXMLDocument1, + _lib._sel_documentWithRootElement_1, + element.pointer, + ); return NSObject._(_ret, _lib, retain: true, release: true); } static NSObject elementWithName_(AVFAudio _lib, NSString name) { final _ret = _lib._objc_msgSend_31( - _lib._class_NSXMLDocument1, _lib._sel_elementWithName_1, name._id); + _lib._class_NSXMLDocument1, + _lib._sel_elementWithName_1, + name.pointer, + ); return NSObject._(_ret, _lib, retain: true, release: true); } static NSObject elementWithName_URI_( - AVFAudio _lib, NSString name, NSString URI) { - final _ret = _lib._objc_msgSend_1109(_lib._class_NSXMLDocument1, - _lib._sel_elementWithName_URI_1, name._id, URI._id); + AVFAudio _lib, + NSString name, + NSString URI, + ) { + final _ret = _lib._objc_msgSend_1109( + _lib._class_NSXMLDocument1, + _lib._sel_elementWithName_URI_1, + name.pointer, + URI.pointer, + ); return NSObject._(_ret, _lib, retain: true, release: true); } static NSObject elementWithName_stringValue_( - AVFAudio _lib, NSString name, NSString string) { - final _ret = _lib._objc_msgSend_1109(_lib._class_NSXMLDocument1, - _lib._sel_elementWithName_stringValue_1, name._id, string._id); + AVFAudio _lib, + NSString name, + NSString string, + ) { + final _ret = _lib._objc_msgSend_1109( + _lib._class_NSXMLDocument1, + _lib._sel_elementWithName_stringValue_1, + name.pointer, + string.pointer, + ); return NSObject._(_ret, _lib, retain: true, release: true); } static NSObject elementWithName_children_attributes_( - AVFAudio _lib, NSString name, NSArray? children, NSArray? attributes) { + AVFAudio _lib, + NSString name, + NSArray? children, + NSArray? attributes, + ) { final _ret = _lib._objc_msgSend_1110( - _lib._class_NSXMLDocument1, - _lib._sel_elementWithName_children_attributes_1, - name._id, - children?._id ?? ffi.nullptr, - attributes?._id ?? ffi.nullptr); + _lib._class_NSXMLDocument1, + _lib._sel_elementWithName_children_attributes_1, + name.pointer, + children?.pointer ?? ffi.nullptr, + attributes?.pointer ?? ffi.nullptr, + ); return NSObject._(_ret, _lib, retain: true, release: true); } static NSObject attributeWithName_stringValue_( - AVFAudio _lib, NSString name, NSString stringValue) { - final _ret = _lib._objc_msgSend_1109(_lib._class_NSXMLDocument1, - _lib._sel_attributeWithName_stringValue_1, name._id, stringValue._id); + AVFAudio _lib, + NSString name, + NSString stringValue, + ) { + final _ret = _lib._objc_msgSend_1109( + _lib._class_NSXMLDocument1, + _lib._sel_attributeWithName_stringValue_1, + name.pointer, + stringValue.pointer, + ); return NSObject._(_ret, _lib, retain: true, release: true); } static NSObject attributeWithName_URI_stringValue_( - AVFAudio _lib, NSString name, NSString URI, NSString stringValue) { + AVFAudio _lib, + NSString name, + NSString URI, + NSString stringValue, + ) { final _ret = _lib._objc_msgSend_1074( - _lib._class_NSXMLDocument1, - _lib._sel_attributeWithName_URI_stringValue_1, - name._id, - URI._id, - stringValue._id); + _lib._class_NSXMLDocument1, + _lib._sel_attributeWithName_URI_stringValue_1, + name.pointer, + URI.pointer, + stringValue.pointer, + ); return NSObject._(_ret, _lib, retain: true, release: true); } static NSObject namespaceWithName_stringValue_( - AVFAudio _lib, NSString name, NSString stringValue) { - final _ret = _lib._objc_msgSend_1109(_lib._class_NSXMLDocument1, - _lib._sel_namespaceWithName_stringValue_1, name._id, stringValue._id); + AVFAudio _lib, + NSString name, + NSString stringValue, + ) { + final _ret = _lib._objc_msgSend_1109( + _lib._class_NSXMLDocument1, + _lib._sel_namespaceWithName_stringValue_1, + name.pointer, + stringValue.pointer, + ); return NSObject._(_ret, _lib, retain: true, release: true); } static NSObject processingInstructionWithName_stringValue_( - AVFAudio _lib, NSString name, NSString stringValue) { + AVFAudio _lib, + NSString name, + NSString stringValue, + ) { final _ret = _lib._objc_msgSend_1109( - _lib._class_NSXMLDocument1, - _lib._sel_processingInstructionWithName_stringValue_1, - name._id, - stringValue._id); + _lib._class_NSXMLDocument1, + _lib._sel_processingInstructionWithName_stringValue_1, + name.pointer, + stringValue.pointer, + ); return NSObject._(_ret, _lib, retain: true, release: true); } static NSObject commentWithStringValue_(AVFAudio _lib, NSString stringValue) { - final _ret = _lib._objc_msgSend_31(_lib._class_NSXMLDocument1, - _lib._sel_commentWithStringValue_1, stringValue._id); + final _ret = _lib._objc_msgSend_31( + _lib._class_NSXMLDocument1, + _lib._sel_commentWithStringValue_1, + stringValue.pointer, + ); return NSObject._(_ret, _lib, retain: true, release: true); } static NSObject textWithStringValue_(AVFAudio _lib, NSString stringValue) { - final _ret = _lib._objc_msgSend_31(_lib._class_NSXMLDocument1, - _lib._sel_textWithStringValue_1, stringValue._id); + final _ret = _lib._objc_msgSend_31( + _lib._class_NSXMLDocument1, + _lib._sel_textWithStringValue_1, + stringValue.pointer, + ); return NSObject._(_ret, _lib, retain: true, release: true); } static NSObject? DTDNodeWithXMLString_(AVFAudio _lib, NSString string) { - final _ret = _lib._objc_msgSend_38(_lib._class_NSXMLDocument1, - _lib._sel_DTDNodeWithXMLString_1, string._id); + final _ret = _lib._objc_msgSend_38( + _lib._class_NSXMLDocument1, + _lib._sel_DTDNodeWithXMLString_1, + string.pointer, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); @@ -74899,106 +100464,155 @@ class NSXMLDocument extends NSXMLNode { static NSString localNameForName_(AVFAudio _lib, NSString name) { final _ret = _lib._objc_msgSend_69( - _lib._class_NSXMLDocument1, _lib._sel_localNameForName_1, name._id); + _lib._class_NSXMLDocument1, + _lib._sel_localNameForName_1, + name.pointer, + ); return NSString._(_ret, _lib, retain: true, release: true); } static NSString? prefixForName_(AVFAudio _lib, NSString name) { final _ret = _lib._objc_msgSend_186( - _lib._class_NSXMLDocument1, _lib._sel_prefixForName_1, name._id); + _lib._class_NSXMLDocument1, + _lib._sel_prefixForName_1, + name.pointer, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } static NSXMLNode? predefinedNamespaceForPrefix_( - AVFAudio _lib, NSString name) { - final _ret = _lib._objc_msgSend_1125(_lib._class_NSXMLDocument1, - _lib._sel_predefinedNamespaceForPrefix_1, name._id); + AVFAudio _lib, + NSString name, + ) { + final _ret = _lib._objc_msgSend_1125( + _lib._class_NSXMLDocument1, + _lib._sel_predefinedNamespaceForPrefix_1, + name.pointer, + ); return _ret.address == 0 ? null : NSXMLNode._(_ret, _lib, retain: true, release: true); } static NSXMLDocument new1(AVFAudio _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSXMLDocument1, _lib._sel_new1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSXMLDocument1, + _lib._sel_new1, + ); return NSXMLDocument._(_ret, _lib, retain: false, release: true); } static NSXMLDocument allocWithZone_( - AVFAudio _lib, ffi.Pointer<_NSZone> zone) { + AVFAudio _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSXMLDocument1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSXMLDocument1, + _lib._sel_allocWithZone_1, + zone, + ); return NSXMLDocument._(_ret, _lib, retain: false, release: true); } static NSXMLDocument alloc(AVFAudio _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSXMLDocument1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSXMLDocument1, + _lib._sel_alloc1, + ); return NSXMLDocument._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + AVFAudio _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSXMLDocument1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSXMLDocument1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSXMLDocument1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + AVFAudio _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSXMLDocument1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { return _lib._objc_msgSend_12( - _lib._class_NSXMLDocument1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_NSXMLDocument1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(AVFAudio _lib) { return _lib._objc_msgSend_12( - _lib._class_NSXMLDocument1, _lib._sel_useStoredAccessor1); + _lib._class_NSXMLDocument1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSXMLDocument1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSXMLDocument1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSXMLDocument1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSXMLDocument1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, NSArray keys, NSString dependentKey) { + AVFAudio _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSXMLDocument1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSXMLDocument1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { final _ret = _lib._objc_msgSend_85( - _lib._class_NSXMLDocument1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSXMLDocument1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(AVFAudio _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSXMLDocument1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSXMLDocument1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } @@ -75011,60 +100625,93 @@ abstract class NSXMLDocumentContentKind { } class NSXMLDTD extends NSXMLNode { - NSXMLDTD._(ffi.Pointer id, AVFAudio lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSXMLDTD._( + ffi.Pointer pointer, + AVFAudio lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSXMLDTD] that points to the same underlying object as [other]. - static NSXMLDTD castFrom(T other) { - return NSXMLDTD._(other._id, other._lib, retain: true, release: true); + static NSXMLDTD castFrom( + AVFAudio lib, + T other, + ) { + return NSXMLDTD._(other.pointer, lib, retain: true, release: true); } /// Returns a [NSXMLDTD] that wraps the given raw object pointer. - static NSXMLDTD castFromPointer(AVFAudio lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + static NSXMLDTD castFromPointer( + AVFAudio lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSXMLDTD._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSXMLDTD]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_NSXMLDTD1); + static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSXMLDTD1, + ); } @override NSXMLDTD init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSXMLDTD._(_ret, _lib, retain: true, release: true); } @override NSXMLDTD initWithKind_options_(int kind, int options) { final _ret = _lib._objc_msgSend_1107( - _id, _lib._sel_initWithKind_options_1, kind, options); + this.pointer, + _lib._sel_initWithKind_options_1, + kind, + options, + ); return NSXMLDTD._(_ret, _lib, retain: true, release: true); } NSXMLDTD? initWithContentsOfURL_options_error_( - NSURL url, int mask, ffi.Pointer> error) { - final _ret = _lib._objc_msgSend_1114(_id, - _lib._sel_initWithContentsOfURL_options_error_1, url._id, mask, error); + NSURL url, + int mask, + ffi.Pointer> error, + ) { + final _ret = _lib._objc_msgSend_1114( + this.pointer, + _lib._sel_initWithContentsOfURL_options_error_1, + url.pointer, + mask, + error, + ); return _ret.address == 0 ? null : NSXMLDTD._(_ret, _lib, retain: true, release: true); } NSXMLDTD? initWithData_options_error_( - NSData data, int mask, ffi.Pointer> error) { + NSData data, + int mask, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_1115( - _id, _lib._sel_initWithData_options_error_1, data._id, mask, error); + this.pointer, + _lib._sel_initWithData_options_error_1, + data.pointer, + mask, + error, + ); return _ret.address == 0 ? null : NSXMLDTD._(_ret, _lib, retain: true, release: true); } NSString? get publicID { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_publicID1); + final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_publicID1); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); @@ -75072,11 +100719,14 @@ class NSXMLDTD extends NSXMLNode { set publicID(NSString? value) { return _lib._objc_msgSend_545( - _id, _lib._sel_setPublicID_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setPublicID_1, + value?.pointer ?? ffi.nullptr, + ); } NSString? get systemID { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_systemID1); + final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_systemID1); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); @@ -75084,40 +100734,61 @@ class NSXMLDTD extends NSXMLNode { set systemID(NSString? value) { return _lib._objc_msgSend_545( - _id, _lib._sel_setSystemID_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setSystemID_1, + value?.pointer ?? ffi.nullptr, + ); } void insertChild_atIndex_(NSXMLNode child, int index) { _lib._objc_msgSend_1119( - _id, _lib._sel_insertChild_atIndex_1, child._id, index); + this.pointer, + _lib._sel_insertChild_atIndex_1, + child.pointer, + index, + ); } void insertChildren_atIndex_(NSArray children, int index) { _lib._objc_msgSend_1120( - _id, _lib._sel_insertChildren_atIndex_1, children._id, index); + this.pointer, + _lib._sel_insertChildren_atIndex_1, + children.pointer, + index, + ); } void removeChildAtIndex_(int index) { - _lib._objc_msgSend_470(_id, _lib._sel_removeChildAtIndex_1, index); + _lib._objc_msgSend_470(this.pointer, _lib._sel_removeChildAtIndex_1, index); } void setChildren_(NSArray? children) { _lib._objc_msgSend_843( - _id, _lib._sel_setChildren_1, children?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setChildren_1, + children?.pointer ?? ffi.nullptr, + ); } void addChild_(NSXMLNode child) { - _lib._objc_msgSend_1121(_id, _lib._sel_addChild_1, child._id); + _lib._objc_msgSend_1121(this.pointer, _lib._sel_addChild_1, child.pointer); } void replaceChildAtIndex_withNode_(int index, NSXMLNode node) { _lib._objc_msgSend_1122( - _id, _lib._sel_replaceChildAtIndex_withNode_1, index, node._id); + this.pointer, + _lib._sel_replaceChildAtIndex_withNode_1, + index, + node.pointer, + ); } NSXMLDTDNode? entityDeclarationForName_(NSString name) { final _ret = _lib._objc_msgSend_1126( - _id, _lib._sel_entityDeclarationForName_1, name._id); + this.pointer, + _lib._sel_entityDeclarationForName_1, + name.pointer, + ); return _ret.address == 0 ? null : NSXMLDTDNode._(_ret, _lib, retain: true, release: true); @@ -75125,7 +100796,10 @@ class NSXMLDTD extends NSXMLNode { NSXMLDTDNode? notationDeclarationForName_(NSString name) { final _ret = _lib._objc_msgSend_1126( - _id, _lib._sel_notationDeclarationForName_1, name._id); + this.pointer, + _lib._sel_notationDeclarationForName_1, + name.pointer, + ); return _ret.address == 0 ? null : NSXMLDTDNode._(_ret, _lib, retain: true, release: true); @@ -75133,28 +100807,39 @@ class NSXMLDTD extends NSXMLNode { NSXMLDTDNode? elementDeclarationForName_(NSString name) { final _ret = _lib._objc_msgSend_1126( - _id, _lib._sel_elementDeclarationForName_1, name._id); + this.pointer, + _lib._sel_elementDeclarationForName_1, + name.pointer, + ); return _ret.address == 0 ? null : NSXMLDTDNode._(_ret, _lib, retain: true, release: true); } NSXMLDTDNode? attributeDeclarationForName_elementName_( - NSString name, NSString elementName) { + NSString name, + NSString elementName, + ) { final _ret = _lib._objc_msgSend_1127( - _id, - _lib._sel_attributeDeclarationForName_elementName_1, - name._id, - elementName._id); + this.pointer, + _lib._sel_attributeDeclarationForName_elementName_1, + name.pointer, + elementName.pointer, + ); return _ret.address == 0 ? null : NSXMLDTDNode._(_ret, _lib, retain: true, release: true); } static NSXMLDTDNode? predefinedEntityDeclarationForName_( - AVFAudio _lib, NSString name) { - final _ret = _lib._objc_msgSend_1126(_lib._class_NSXMLDTD1, - _lib._sel_predefinedEntityDeclarationForName_1, name._id); + AVFAudio _lib, + NSString name, + ) { + final _ret = _lib._objc_msgSend_1126( + _lib._class_NSXMLDTD1, + _lib._sel_predefinedEntityDeclarationForName_1, + name.pointer, + ); return _ret.address == 0 ? null : NSXMLDTDNode._(_ret, _lib, retain: true, release: true); @@ -75162,104 +100847,169 @@ class NSXMLDTD extends NSXMLNode { @override NSXMLDTD initWithKind_(int kind) { - final _ret = _lib._objc_msgSend_1106(_id, _lib._sel_initWithKind_1, kind); + final _ret = _lib._objc_msgSend_1106( + this.pointer, + _lib._sel_initWithKind_1, + kind, + ); return NSXMLDTD._(_ret, _lib, retain: true, release: true); } static NSObject document(AVFAudio _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSXMLDTD1, _lib._sel_document1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSXMLDTD1, + _lib._sel_document1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } static NSObject documentWithRootElement_( - AVFAudio _lib, NSXMLElement element) { - final _ret = _lib._objc_msgSend_1108(_lib._class_NSXMLDTD1, - _lib._sel_documentWithRootElement_1, element._id); + AVFAudio _lib, + NSXMLElement element, + ) { + final _ret = _lib._objc_msgSend_1108( + _lib._class_NSXMLDTD1, + _lib._sel_documentWithRootElement_1, + element.pointer, + ); return NSObject._(_ret, _lib, retain: true, release: true); } static NSObject elementWithName_(AVFAudio _lib, NSString name) { final _ret = _lib._objc_msgSend_31( - _lib._class_NSXMLDTD1, _lib._sel_elementWithName_1, name._id); + _lib._class_NSXMLDTD1, + _lib._sel_elementWithName_1, + name.pointer, + ); return NSObject._(_ret, _lib, retain: true, release: true); } static NSObject elementWithName_URI_( - AVFAudio _lib, NSString name, NSString URI) { - final _ret = _lib._objc_msgSend_1109(_lib._class_NSXMLDTD1, - _lib._sel_elementWithName_URI_1, name._id, URI._id); + AVFAudio _lib, + NSString name, + NSString URI, + ) { + final _ret = _lib._objc_msgSend_1109( + _lib._class_NSXMLDTD1, + _lib._sel_elementWithName_URI_1, + name.pointer, + URI.pointer, + ); return NSObject._(_ret, _lib, retain: true, release: true); } static NSObject elementWithName_stringValue_( - AVFAudio _lib, NSString name, NSString string) { - final _ret = _lib._objc_msgSend_1109(_lib._class_NSXMLDTD1, - _lib._sel_elementWithName_stringValue_1, name._id, string._id); + AVFAudio _lib, + NSString name, + NSString string, + ) { + final _ret = _lib._objc_msgSend_1109( + _lib._class_NSXMLDTD1, + _lib._sel_elementWithName_stringValue_1, + name.pointer, + string.pointer, + ); return NSObject._(_ret, _lib, retain: true, release: true); } static NSObject elementWithName_children_attributes_( - AVFAudio _lib, NSString name, NSArray? children, NSArray? attributes) { + AVFAudio _lib, + NSString name, + NSArray? children, + NSArray? attributes, + ) { final _ret = _lib._objc_msgSend_1110( - _lib._class_NSXMLDTD1, - _lib._sel_elementWithName_children_attributes_1, - name._id, - children?._id ?? ffi.nullptr, - attributes?._id ?? ffi.nullptr); + _lib._class_NSXMLDTD1, + _lib._sel_elementWithName_children_attributes_1, + name.pointer, + children?.pointer ?? ffi.nullptr, + attributes?.pointer ?? ffi.nullptr, + ); return NSObject._(_ret, _lib, retain: true, release: true); } static NSObject attributeWithName_stringValue_( - AVFAudio _lib, NSString name, NSString stringValue) { - final _ret = _lib._objc_msgSend_1109(_lib._class_NSXMLDTD1, - _lib._sel_attributeWithName_stringValue_1, name._id, stringValue._id); + AVFAudio _lib, + NSString name, + NSString stringValue, + ) { + final _ret = _lib._objc_msgSend_1109( + _lib._class_NSXMLDTD1, + _lib._sel_attributeWithName_stringValue_1, + name.pointer, + stringValue.pointer, + ); return NSObject._(_ret, _lib, retain: true, release: true); } static NSObject attributeWithName_URI_stringValue_( - AVFAudio _lib, NSString name, NSString URI, NSString stringValue) { + AVFAudio _lib, + NSString name, + NSString URI, + NSString stringValue, + ) { final _ret = _lib._objc_msgSend_1074( - _lib._class_NSXMLDTD1, - _lib._sel_attributeWithName_URI_stringValue_1, - name._id, - URI._id, - stringValue._id); + _lib._class_NSXMLDTD1, + _lib._sel_attributeWithName_URI_stringValue_1, + name.pointer, + URI.pointer, + stringValue.pointer, + ); return NSObject._(_ret, _lib, retain: true, release: true); } static NSObject namespaceWithName_stringValue_( - AVFAudio _lib, NSString name, NSString stringValue) { - final _ret = _lib._objc_msgSend_1109(_lib._class_NSXMLDTD1, - _lib._sel_namespaceWithName_stringValue_1, name._id, stringValue._id); + AVFAudio _lib, + NSString name, + NSString stringValue, + ) { + final _ret = _lib._objc_msgSend_1109( + _lib._class_NSXMLDTD1, + _lib._sel_namespaceWithName_stringValue_1, + name.pointer, + stringValue.pointer, + ); return NSObject._(_ret, _lib, retain: true, release: true); } static NSObject processingInstructionWithName_stringValue_( - AVFAudio _lib, NSString name, NSString stringValue) { + AVFAudio _lib, + NSString name, + NSString stringValue, + ) { final _ret = _lib._objc_msgSend_1109( - _lib._class_NSXMLDTD1, - _lib._sel_processingInstructionWithName_stringValue_1, - name._id, - stringValue._id); + _lib._class_NSXMLDTD1, + _lib._sel_processingInstructionWithName_stringValue_1, + name.pointer, + stringValue.pointer, + ); return NSObject._(_ret, _lib, retain: true, release: true); } static NSObject commentWithStringValue_(AVFAudio _lib, NSString stringValue) { - final _ret = _lib._objc_msgSend_31(_lib._class_NSXMLDTD1, - _lib._sel_commentWithStringValue_1, stringValue._id); + final _ret = _lib._objc_msgSend_31( + _lib._class_NSXMLDTD1, + _lib._sel_commentWithStringValue_1, + stringValue.pointer, + ); return NSObject._(_ret, _lib, retain: true, release: true); } static NSObject textWithStringValue_(AVFAudio _lib, NSString stringValue) { - final _ret = _lib._objc_msgSend_31(_lib._class_NSXMLDTD1, - _lib._sel_textWithStringValue_1, stringValue._id); + final _ret = _lib._objc_msgSend_31( + _lib._class_NSXMLDTD1, + _lib._sel_textWithStringValue_1, + stringValue.pointer, + ); return NSObject._(_ret, _lib, retain: true, release: true); } static NSObject? DTDNodeWithXMLString_(AVFAudio _lib, NSString string) { final _ret = _lib._objc_msgSend_38( - _lib._class_NSXMLDTD1, _lib._sel_DTDNodeWithXMLString_1, string._id); + _lib._class_NSXMLDTD1, + _lib._sel_DTDNodeWithXMLString_1, + string.pointer, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); @@ -75267,22 +101017,33 @@ class NSXMLDTD extends NSXMLNode { static NSString localNameForName_(AVFAudio _lib, NSString name) { final _ret = _lib._objc_msgSend_69( - _lib._class_NSXMLDTD1, _lib._sel_localNameForName_1, name._id); + _lib._class_NSXMLDTD1, + _lib._sel_localNameForName_1, + name.pointer, + ); return NSString._(_ret, _lib, retain: true, release: true); } static NSString? prefixForName_(AVFAudio _lib, NSString name) { final _ret = _lib._objc_msgSend_186( - _lib._class_NSXMLDTD1, _lib._sel_prefixForName_1, name._id); + _lib._class_NSXMLDTD1, + _lib._sel_prefixForName_1, + name.pointer, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } static NSXMLNode? predefinedNamespaceForPrefix_( - AVFAudio _lib, NSString name) { - final _ret = _lib._objc_msgSend_1125(_lib._class_NSXMLDTD1, - _lib._sel_predefinedNamespaceForPrefix_1, name._id); + AVFAudio _lib, + NSString name, + ) { + final _ret = _lib._objc_msgSend_1125( + _lib._class_NSXMLDTD1, + _lib._sel_predefinedNamespaceForPrefix_1, + name.pointer, + ); return _ret.address == 0 ? null : NSXMLNode._(_ret, _lib, retain: true, release: true); @@ -75295,7 +101056,10 @@ class NSXMLDTD extends NSXMLNode { static NSXMLDTD allocWithZone_(AVFAudio _lib, ffi.Pointer<_NSZone> zone) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSXMLDTD1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSXMLDTD1, + _lib._sel_allocWithZone_1, + zone, + ); return NSXMLDTD._(_ret, _lib, retain: false, release: true); } @@ -75305,95 +101069,139 @@ class NSXMLDTD extends NSXMLNode { } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + AVFAudio _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSXMLDTD1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSXMLDTD1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSXMLDTD1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + AVFAudio _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSXMLDTD1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { return _lib._objc_msgSend_12( - _lib._class_NSXMLDTD1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_NSXMLDTD1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(AVFAudio _lib) { return _lib._objc_msgSend_12( - _lib._class_NSXMLDTD1, _lib._sel_useStoredAccessor1); + _lib._class_NSXMLDTD1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSXMLDTD1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSXMLDTD1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSXMLDTD1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSXMLDTD1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, NSArray keys, NSString dependentKey) { + AVFAudio _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSXMLDTD1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSXMLDTD1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { final _ret = _lib._objc_msgSend_85( - _lib._class_NSXMLDTD1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSXMLDTD1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(AVFAudio _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSXMLDTD1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSXMLDTD1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } class NSXMLDTDNode extends NSXMLNode { - NSXMLDTDNode._(ffi.Pointer id, AVFAudio lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSXMLDTDNode._( + ffi.Pointer pointer, + AVFAudio lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSXMLDTDNode] that points to the same underlying object as [other]. - static NSXMLDTDNode castFrom(T other) { - return NSXMLDTDNode._(other._id, other._lib, retain: true, release: true); + static NSXMLDTDNode castFrom( + AVFAudio lib, + T other, + ) { + return NSXMLDTDNode._(other.pointer, lib, retain: true, release: true); } /// Returns a [NSXMLDTDNode] that wraps the given raw object pointer. static NSXMLDTDNode castFromPointer( - AVFAudio lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + AVFAudio lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSXMLDTDNode._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSXMLDTDNode]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_NSXMLDTDNode1); + static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSXMLDTDNode1, + ); } NSXMLDTDNode? initWithXMLString_(NSString string) { - final _ret = - _lib._objc_msgSend_38(_id, _lib._sel_initWithXMLString_1, string._id); + final _ret = _lib._objc_msgSend_38( + this.pointer, + _lib._sel_initWithXMLString_1, + string.pointer, + ); return _ret.address == 0 ? null : NSXMLDTDNode._(_ret, _lib, retain: true, release: true); @@ -75402,30 +101210,34 @@ class NSXMLDTDNode extends NSXMLNode { @override NSXMLDTDNode initWithKind_options_(int kind, int options) { final _ret = _lib._objc_msgSend_1107( - _id, _lib._sel_initWithKind_options_1, kind, options); + this.pointer, + _lib._sel_initWithKind_options_1, + kind, + options, + ); return NSXMLDTDNode._(_ret, _lib, retain: true, release: true); } @override NSXMLDTDNode init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSXMLDTDNode._(_ret, _lib, retain: true, release: true); } int get DTDKind { - return _lib._objc_msgSend_1123(_id, _lib._sel_DTDKind1); + return _lib._objc_msgSend_1123(this.pointer, _lib._sel_DTDKind1); } set DTDKind(int value) { - return _lib._objc_msgSend_1124(_id, _lib._sel_setDTDKind_1, value); + return _lib._objc_msgSend_1124(this.pointer, _lib._sel_setDTDKind_1, value); } bool get external1 { - return _lib._objc_msgSend_12(_id, _lib._sel_isExternal1); + return _lib._objc_msgSend_12(this.pointer, _lib._sel_isExternal1); } NSString? get publicID { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_publicID1); + final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_publicID1); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); @@ -75433,11 +101245,14 @@ class NSXMLDTDNode extends NSXMLNode { set publicID(NSString? value) { return _lib._objc_msgSend_545( - _id, _lib._sel_setPublicID_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setPublicID_1, + value?.pointer ?? ffi.nullptr, + ); } NSString? get systemID { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_systemID1); + final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_systemID1); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); @@ -75445,11 +101260,14 @@ class NSXMLDTDNode extends NSXMLNode { set systemID(NSString? value) { return _lib._objc_msgSend_545( - _id, _lib._sel_setSystemID_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setSystemID_1, + value?.pointer ?? ffi.nullptr, + ); } NSString? get notationName { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_notationName1); + final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_notationName1); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); @@ -75457,109 +101275,177 @@ class NSXMLDTDNode extends NSXMLNode { set notationName(NSString? value) { return _lib._objc_msgSend_545( - _id, _lib._sel_setNotationName_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setNotationName_1, + value?.pointer ?? ffi.nullptr, + ); } @override NSXMLDTDNode initWithKind_(int kind) { - final _ret = _lib._objc_msgSend_1106(_id, _lib._sel_initWithKind_1, kind); + final _ret = _lib._objc_msgSend_1106( + this.pointer, + _lib._sel_initWithKind_1, + kind, + ); return NSXMLDTDNode._(_ret, _lib, retain: true, release: true); } static NSObject document(AVFAudio _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSXMLDTDNode1, _lib._sel_document1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSXMLDTDNode1, + _lib._sel_document1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } static NSObject documentWithRootElement_( - AVFAudio _lib, NSXMLElement element) { - final _ret = _lib._objc_msgSend_1108(_lib._class_NSXMLDTDNode1, - _lib._sel_documentWithRootElement_1, element._id); + AVFAudio _lib, + NSXMLElement element, + ) { + final _ret = _lib._objc_msgSend_1108( + _lib._class_NSXMLDTDNode1, + _lib._sel_documentWithRootElement_1, + element.pointer, + ); return NSObject._(_ret, _lib, retain: true, release: true); } static NSObject elementWithName_(AVFAudio _lib, NSString name) { final _ret = _lib._objc_msgSend_31( - _lib._class_NSXMLDTDNode1, _lib._sel_elementWithName_1, name._id); + _lib._class_NSXMLDTDNode1, + _lib._sel_elementWithName_1, + name.pointer, + ); return NSObject._(_ret, _lib, retain: true, release: true); } static NSObject elementWithName_URI_( - AVFAudio _lib, NSString name, NSString URI) { - final _ret = _lib._objc_msgSend_1109(_lib._class_NSXMLDTDNode1, - _lib._sel_elementWithName_URI_1, name._id, URI._id); + AVFAudio _lib, + NSString name, + NSString URI, + ) { + final _ret = _lib._objc_msgSend_1109( + _lib._class_NSXMLDTDNode1, + _lib._sel_elementWithName_URI_1, + name.pointer, + URI.pointer, + ); return NSObject._(_ret, _lib, retain: true, release: true); } static NSObject elementWithName_stringValue_( - AVFAudio _lib, NSString name, NSString string) { - final _ret = _lib._objc_msgSend_1109(_lib._class_NSXMLDTDNode1, - _lib._sel_elementWithName_stringValue_1, name._id, string._id); + AVFAudio _lib, + NSString name, + NSString string, + ) { + final _ret = _lib._objc_msgSend_1109( + _lib._class_NSXMLDTDNode1, + _lib._sel_elementWithName_stringValue_1, + name.pointer, + string.pointer, + ); return NSObject._(_ret, _lib, retain: true, release: true); } static NSObject elementWithName_children_attributes_( - AVFAudio _lib, NSString name, NSArray? children, NSArray? attributes) { + AVFAudio _lib, + NSString name, + NSArray? children, + NSArray? attributes, + ) { final _ret = _lib._objc_msgSend_1110( - _lib._class_NSXMLDTDNode1, - _lib._sel_elementWithName_children_attributes_1, - name._id, - children?._id ?? ffi.nullptr, - attributes?._id ?? ffi.nullptr); + _lib._class_NSXMLDTDNode1, + _lib._sel_elementWithName_children_attributes_1, + name.pointer, + children?.pointer ?? ffi.nullptr, + attributes?.pointer ?? ffi.nullptr, + ); return NSObject._(_ret, _lib, retain: true, release: true); } static NSObject attributeWithName_stringValue_( - AVFAudio _lib, NSString name, NSString stringValue) { - final _ret = _lib._objc_msgSend_1109(_lib._class_NSXMLDTDNode1, - _lib._sel_attributeWithName_stringValue_1, name._id, stringValue._id); + AVFAudio _lib, + NSString name, + NSString stringValue, + ) { + final _ret = _lib._objc_msgSend_1109( + _lib._class_NSXMLDTDNode1, + _lib._sel_attributeWithName_stringValue_1, + name.pointer, + stringValue.pointer, + ); return NSObject._(_ret, _lib, retain: true, release: true); } static NSObject attributeWithName_URI_stringValue_( - AVFAudio _lib, NSString name, NSString URI, NSString stringValue) { + AVFAudio _lib, + NSString name, + NSString URI, + NSString stringValue, + ) { final _ret = _lib._objc_msgSend_1074( - _lib._class_NSXMLDTDNode1, - _lib._sel_attributeWithName_URI_stringValue_1, - name._id, - URI._id, - stringValue._id); + _lib._class_NSXMLDTDNode1, + _lib._sel_attributeWithName_URI_stringValue_1, + name.pointer, + URI.pointer, + stringValue.pointer, + ); return NSObject._(_ret, _lib, retain: true, release: true); } static NSObject namespaceWithName_stringValue_( - AVFAudio _lib, NSString name, NSString stringValue) { - final _ret = _lib._objc_msgSend_1109(_lib._class_NSXMLDTDNode1, - _lib._sel_namespaceWithName_stringValue_1, name._id, stringValue._id); + AVFAudio _lib, + NSString name, + NSString stringValue, + ) { + final _ret = _lib._objc_msgSend_1109( + _lib._class_NSXMLDTDNode1, + _lib._sel_namespaceWithName_stringValue_1, + name.pointer, + stringValue.pointer, + ); return NSObject._(_ret, _lib, retain: true, release: true); } static NSObject processingInstructionWithName_stringValue_( - AVFAudio _lib, NSString name, NSString stringValue) { + AVFAudio _lib, + NSString name, + NSString stringValue, + ) { final _ret = _lib._objc_msgSend_1109( - _lib._class_NSXMLDTDNode1, - _lib._sel_processingInstructionWithName_stringValue_1, - name._id, - stringValue._id); + _lib._class_NSXMLDTDNode1, + _lib._sel_processingInstructionWithName_stringValue_1, + name.pointer, + stringValue.pointer, + ); return NSObject._(_ret, _lib, retain: true, release: true); } static NSObject commentWithStringValue_(AVFAudio _lib, NSString stringValue) { - final _ret = _lib._objc_msgSend_31(_lib._class_NSXMLDTDNode1, - _lib._sel_commentWithStringValue_1, stringValue._id); + final _ret = _lib._objc_msgSend_31( + _lib._class_NSXMLDTDNode1, + _lib._sel_commentWithStringValue_1, + stringValue.pointer, + ); return NSObject._(_ret, _lib, retain: true, release: true); } static NSObject textWithStringValue_(AVFAudio _lib, NSString stringValue) { - final _ret = _lib._objc_msgSend_31(_lib._class_NSXMLDTDNode1, - _lib._sel_textWithStringValue_1, stringValue._id); + final _ret = _lib._objc_msgSend_31( + _lib._class_NSXMLDTDNode1, + _lib._sel_textWithStringValue_1, + stringValue.pointer, + ); return NSObject._(_ret, _lib, retain: true, release: true); } static NSObject? DTDNodeWithXMLString_(AVFAudio _lib, NSString string) { - final _ret = _lib._objc_msgSend_38(_lib._class_NSXMLDTDNode1, - _lib._sel_DTDNodeWithXMLString_1, string._id); + final _ret = _lib._objc_msgSend_38( + _lib._class_NSXMLDTDNode1, + _lib._sel_DTDNodeWithXMLString_1, + string.pointer, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); @@ -75567,105 +101453,152 @@ class NSXMLDTDNode extends NSXMLNode { static NSString localNameForName_(AVFAudio _lib, NSString name) { final _ret = _lib._objc_msgSend_69( - _lib._class_NSXMLDTDNode1, _lib._sel_localNameForName_1, name._id); + _lib._class_NSXMLDTDNode1, + _lib._sel_localNameForName_1, + name.pointer, + ); return NSString._(_ret, _lib, retain: true, release: true); } static NSString? prefixForName_(AVFAudio _lib, NSString name) { final _ret = _lib._objc_msgSend_186( - _lib._class_NSXMLDTDNode1, _lib._sel_prefixForName_1, name._id); + _lib._class_NSXMLDTDNode1, + _lib._sel_prefixForName_1, + name.pointer, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } static NSXMLNode? predefinedNamespaceForPrefix_( - AVFAudio _lib, NSString name) { - final _ret = _lib._objc_msgSend_1125(_lib._class_NSXMLDTDNode1, - _lib._sel_predefinedNamespaceForPrefix_1, name._id); + AVFAudio _lib, + NSString name, + ) { + final _ret = _lib._objc_msgSend_1125( + _lib._class_NSXMLDTDNode1, + _lib._sel_predefinedNamespaceForPrefix_1, + name.pointer, + ); return _ret.address == 0 ? null : NSXMLNode._(_ret, _lib, retain: true, release: true); } static NSXMLDTDNode new1(AVFAudio _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSXMLDTDNode1, _lib._sel_new1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSXMLDTDNode1, + _lib._sel_new1, + ); return NSXMLDTDNode._(_ret, _lib, retain: false, release: true); } static NSXMLDTDNode allocWithZone_(AVFAudio _lib, ffi.Pointer<_NSZone> zone) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSXMLDTDNode1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSXMLDTDNode1, + _lib._sel_allocWithZone_1, + zone, + ); return NSXMLDTDNode._(_ret, _lib, retain: false, release: true); } static NSXMLDTDNode alloc(AVFAudio _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSXMLDTDNode1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSXMLDTDNode1, + _lib._sel_alloc1, + ); return NSXMLDTDNode._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + AVFAudio _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSXMLDTDNode1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSXMLDTDNode1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSXMLDTDNode1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + AVFAudio _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSXMLDTDNode1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { return _lib._objc_msgSend_12( - _lib._class_NSXMLDTDNode1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_NSXMLDTDNode1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(AVFAudio _lib) { return _lib._objc_msgSend_12( - _lib._class_NSXMLDTDNode1, _lib._sel_useStoredAccessor1); + _lib._class_NSXMLDTDNode1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSXMLDTDNode1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSXMLDTDNode1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSXMLDTDNode1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSXMLDTDNode1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, NSArray keys, NSString dependentKey) { + AVFAudio _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSXMLDTDNode1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSXMLDTDNode1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { final _ret = _lib._objc_msgSend_85( - _lib._class_NSXMLDTDNode1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSXMLDTDNode1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(AVFAudio _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSXMLDTDNode1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSXMLDTDNode1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } @@ -75694,428 +101627,644 @@ abstract class NSXMLDTDNodeKind { } class AVAudioSession extends NSObject { - AVAudioSession._(ffi.Pointer id, AVFAudio lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + AVAudioSession._( + ffi.Pointer pointer, + AVFAudio lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [AVAudioSession] that points to the same underlying object as [other]. - static AVAudioSession castFrom(T other) { - return AVAudioSession._(other._id, other._lib, retain: true, release: true); + static AVAudioSession castFrom( + AVFAudio lib, + T other, + ) { + return AVAudioSession._(other.pointer, lib, retain: true, release: true); } /// Returns a [AVAudioSession] that wraps the given raw object pointer. static AVAudioSession castFromPointer( - AVFAudio lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + AVFAudio lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return AVAudioSession._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [AVAudioSession]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0(obj._id, obj._lib._sel_isKindOfClass_1, - obj._lib._class_AVAudioSession1); + static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_AVAudioSession1, + ); } static AVAudioSession sharedInstance(AVFAudio _lib) { final _ret = _lib._objc_msgSend_1145( - _lib._class_AVAudioSession1, _lib._sel_sharedInstance1); + _lib._class_AVAudioSession1, + _lib._sel_sharedInstance1, + ); return AVAudioSession._(_ret, _lib, retain: true, release: true); } NSArray get availableCategories { - final _ret = _lib._objc_msgSend_85(_id, _lib._sel_availableCategories1); + final _ret = _lib._objc_msgSend_85( + this.pointer, + _lib._sel_availableCategories1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } bool setCategory_error_( - NSString category, ffi.Pointer> outError) { + NSString category, + ffi.Pointer> outError, + ) { return _lib._objc_msgSend_447( - _id, _lib._sel_setCategory_error_1, category._id, outError); + this.pointer, + _lib._sel_setCategory_error_1, + category.pointer, + outError, + ); } - bool setCategory_withOptions_error_(NSString category, int options, - ffi.Pointer> outError) { + bool setCategory_withOptions_error_( + NSString category, + int options, + ffi.Pointer> outError, + ) { return _lib._objc_msgSend_1146( - _id, - _lib._sel_setCategory_withOptions_error_1, - category._id, - options, - outError); + this.pointer, + _lib._sel_setCategory_withOptions_error_1, + category.pointer, + options, + outError, + ); } - bool setCategory_mode_options_error_(NSString category, NSString mode, - int options, ffi.Pointer> outError) { + bool setCategory_mode_options_error_( + NSString category, + NSString mode, + int options, + ffi.Pointer> outError, + ) { return _lib._objc_msgSend_1147( - _id, - _lib._sel_setCategory_mode_options_error_1, - category._id, - mode._id, - options, - outError); + this.pointer, + _lib._sel_setCategory_mode_options_error_1, + category.pointer, + mode.pointer, + options, + outError, + ); } bool setCategory_mode_routeSharingPolicy_options_error_( - NSString category, - NSString mode, - int policy, - int options, - ffi.Pointer> outError) { + NSString category, + NSString mode, + int policy, + int options, + ffi.Pointer> outError, + ) { return _lib._objc_msgSend_1148( - _id, - _lib._sel_setCategory_mode_routeSharingPolicy_options_error_1, - category._id, - mode._id, - policy, - options, - outError); + this.pointer, + _lib._sel_setCategory_mode_routeSharingPolicy_options_error_1, + category.pointer, + mode.pointer, + policy, + options, + outError, + ); } NSString get category { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_category1); + final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_category1); return NSString._(_ret, _lib, retain: true, release: true); } int get categoryOptions { - return _lib._objc_msgSend_1149(_id, _lib._sel_categoryOptions1); + return _lib._objc_msgSend_1149(this.pointer, _lib._sel_categoryOptions1); } int get routeSharingPolicy { - return _lib._objc_msgSend_1150(_id, _lib._sel_routeSharingPolicy1); + return _lib._objc_msgSend_1150(this.pointer, _lib._sel_routeSharingPolicy1); } NSArray get availableModes { - final _ret = _lib._objc_msgSend_85(_id, _lib._sel_availableModes1); + final _ret = _lib._objc_msgSend_85(this.pointer, _lib._sel_availableModes1); return NSArray._(_ret, _lib, retain: true, release: true); } bool setMode_error_( - NSString mode, ffi.Pointer> outError) { + NSString mode, + ffi.Pointer> outError, + ) { return _lib._objc_msgSend_447( - _id, _lib._sel_setMode_error_1, mode._id, outError); + this.pointer, + _lib._sel_setMode_error_1, + mode.pointer, + outError, + ); } NSString get mode { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_mode1); + final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_mode1); return NSString._(_ret, _lib, retain: true, release: true); } bool setAllowHapticsAndSystemSoundsDuringRecording_error_( - bool inValue, ffi.Pointer> outError) { + bool inValue, + ffi.Pointer> outError, + ) { return _lib._objc_msgSend_1151( - _id, - _lib._sel_setAllowHapticsAndSystemSoundsDuringRecording_error_1, - inValue, - outError); + this.pointer, + _lib._sel_setAllowHapticsAndSystemSoundsDuringRecording_error_1, + inValue, + outError, + ); } bool get allowHapticsAndSystemSoundsDuringRecording { return _lib._objc_msgSend_12( - _id, _lib._sel_allowHapticsAndSystemSoundsDuringRecording1); + this.pointer, + _lib._sel_allowHapticsAndSystemSoundsDuringRecording1, + ); } int get recordPermission { - return _lib._objc_msgSend_1152(_id, _lib._sel_recordPermission1); + return _lib._objc_msgSend_1152(this.pointer, _lib._sel_recordPermission1); } void requestRecordPermission_(ObjCBlock_ffiVoid_bool response) { _lib._objc_msgSend_1153( - _id, _lib._sel_requestRecordPermission_1, response._id); + this.pointer, + _lib._sel_requestRecordPermission_1, + response.pointer, + ); } bool overrideOutputAudioPort_error_( - int portOverride, ffi.Pointer> outError) { + int portOverride, + ffi.Pointer> outError, + ) { return _lib._objc_msgSend_1154( - _id, _lib._sel_overrideOutputAudioPort_error_1, portOverride, outError); + this.pointer, + _lib._sel_overrideOutputAudioPort_error_1, + portOverride, + outError, + ); } - bool setPreferredInput_error_(AVAudioSessionPortDescription? inPort, - ffi.Pointer> outError) { - return _lib._objc_msgSend_1158(_id, _lib._sel_setPreferredInput_error_1, - inPort?._id ?? ffi.nullptr, outError); + bool setPreferredInput_error_( + AVAudioSessionPortDescription? inPort, + ffi.Pointer> outError, + ) { + return _lib._objc_msgSend_1158( + this.pointer, + _lib._sel_setPreferredInput_error_1, + inPort?.pointer ?? ffi.nullptr, + outError, + ); } AVAudioSessionPortDescription? get preferredInput { - final _ret = _lib._objc_msgSend_1159(_id, _lib._sel_preferredInput1); + final _ret = _lib._objc_msgSend_1159( + this.pointer, + _lib._sel_preferredInput1, + ); return _ret.address == 0 ? null - : AVAudioSessionPortDescription._(_ret, _lib, - retain: true, release: true); + : AVAudioSessionPortDescription._( + _ret, + _lib, + retain: true, + release: true, + ); } bool setPrefersNoInterruptionsFromSystemAlerts_error_( - bool inValue, ffi.Pointer> outError) { + bool inValue, + ffi.Pointer> outError, + ) { return _lib._objc_msgSend_1151( - _id, - _lib._sel_setPrefersNoInterruptionsFromSystemAlerts_error_1, - inValue, - outError); + this.pointer, + _lib._sel_setPrefersNoInterruptionsFromSystemAlerts_error_1, + inValue, + outError, + ); } bool get prefersNoInterruptionsFromSystemAlerts { return _lib._objc_msgSend_12( - _id, _lib._sel_prefersNoInterruptionsFromSystemAlerts1); + this.pointer, + _lib._sel_prefersNoInterruptionsFromSystemAlerts1, + ); } int get renderingMode { - return _lib._objc_msgSend_1160(_id, _lib._sel_renderingMode1); + return _lib._objc_msgSend_1160(this.pointer, _lib._sel_renderingMode1); } bool setActive_error_( - bool active, ffi.Pointer> outError) { + bool active, + ffi.Pointer> outError, + ) { return _lib._objc_msgSend_1151( - _id, _lib._sel_setActive_error_1, active, outError); + this.pointer, + _lib._sel_setActive_error_1, + active, + outError, + ); } bool setActive_withOptions_error_( - bool active, int options, ffi.Pointer> outError) { - return _lib._objc_msgSend_1161(_id, _lib._sel_setActive_withOptions_error_1, - active, options, outError); + bool active, + int options, + ffi.Pointer> outError, + ) { + return _lib._objc_msgSend_1161( + this.pointer, + _lib._sel_setActive_withOptions_error_1, + active, + options, + outError, + ); } void activateWithOptions_completionHandler_( - int options, ObjCBlock_ffiVoid_bool_NSError handler) { + int options, + ObjCBlock_ffiVoid_bool_NSError handler, + ) { _lib._objc_msgSend_1162( - _id, - _lib._sel_activateWithOptions_completionHandler_1, - options, - handler._id); + this.pointer, + _lib._sel_activateWithOptions_completionHandler_1, + options, + handler.pointer, + ); } bool setPreferredSampleRate_error_( - double sampleRate, ffi.Pointer> outError) { + double sampleRate, + ffi.Pointer> outError, + ) { return _lib._objc_msgSend_1163( - _id, _lib._sel_setPreferredSampleRate_error_1, sampleRate, outError); + this.pointer, + _lib._sel_setPreferredSampleRate_error_1, + sampleRate, + outError, + ); } double get preferredSampleRate { - return _lib._objc_msgSend_useVariants1 - ? _lib._objc_msgSend_165_fpret(_id, _lib._sel_preferredSampleRate1) - : _lib._objc_msgSend_165(_id, _lib._sel_preferredSampleRate1); + return objc.useMsgSendVariants + ? _lib._objc_msgSend_165_fpret( + this.pointer, + _lib._sel_preferredSampleRate1, + ) + : _lib._objc_msgSend_165(this.pointer, _lib._sel_preferredSampleRate1); } bool setPreferredIOBufferDuration_error_( - double duration, ffi.Pointer> outError) { - return _lib._objc_msgSend_1163(_id, - _lib._sel_setPreferredIOBufferDuration_error_1, duration, outError); + double duration, + ffi.Pointer> outError, + ) { + return _lib._objc_msgSend_1163( + this.pointer, + _lib._sel_setPreferredIOBufferDuration_error_1, + duration, + outError, + ); } double get preferredIOBufferDuration { - return _lib._objc_msgSend_useVariants1 + return objc.useMsgSendVariants ? _lib._objc_msgSend_165_fpret( - _id, _lib._sel_preferredIOBufferDuration1) - : _lib._objc_msgSend_165(_id, _lib._sel_preferredIOBufferDuration1); + this.pointer, + _lib._sel_preferredIOBufferDuration1, + ) + : _lib._objc_msgSend_165( + this.pointer, + _lib._sel_preferredIOBufferDuration1, + ); } bool setPreferredInputNumberOfChannels_error_( - int count, ffi.Pointer> outError) { - return _lib._objc_msgSend_1164(_id, - _lib._sel_setPreferredInputNumberOfChannels_error_1, count, outError); + int count, + ffi.Pointer> outError, + ) { + return _lib._objc_msgSend_1164( + this.pointer, + _lib._sel_setPreferredInputNumberOfChannels_error_1, + count, + outError, + ); } int get preferredInputNumberOfChannels { return _lib._objc_msgSend_83( - _id, _lib._sel_preferredInputNumberOfChannels1); + this.pointer, + _lib._sel_preferredInputNumberOfChannels1, + ); } bool setPreferredOutputNumberOfChannels_error_( - int count, ffi.Pointer> outError) { - return _lib._objc_msgSend_1164(_id, - _lib._sel_setPreferredOutputNumberOfChannels_error_1, count, outError); + int count, + ffi.Pointer> outError, + ) { + return _lib._objc_msgSend_1164( + this.pointer, + _lib._sel_setPreferredOutputNumberOfChannels_error_1, + count, + outError, + ); } int get preferredOutputNumberOfChannels { return _lib._objc_msgSend_83( - _id, _lib._sel_preferredOutputNumberOfChannels1); + this.pointer, + _lib._sel_preferredOutputNumberOfChannels1, + ); } bool setPreferredInputOrientation_error_( - int orientation, ffi.Pointer> outError) { - return _lib._objc_msgSend_1165(_id, - _lib._sel_setPreferredInputOrientation_error_1, orientation, outError); + int orientation, + ffi.Pointer> outError, + ) { + return _lib._objc_msgSend_1165( + this.pointer, + _lib._sel_setPreferredInputOrientation_error_1, + orientation, + outError, + ); } int get preferredInputOrientation { - return _lib._objc_msgSend_1166(_id, _lib._sel_preferredInputOrientation1); + return _lib._objc_msgSend_1166( + this.pointer, + _lib._sel_preferredInputOrientation1, + ); } int get inputOrientation { - return _lib._objc_msgSend_1166(_id, _lib._sel_inputOrientation1); + return _lib._objc_msgSend_1166(this.pointer, _lib._sel_inputOrientation1); } int get maximumInputNumberOfChannels { - return _lib._objc_msgSend_83(_id, _lib._sel_maximumInputNumberOfChannels1); + return _lib._objc_msgSend_83( + this.pointer, + _lib._sel_maximumInputNumberOfChannels1, + ); } int get maximumOutputNumberOfChannels { - return _lib._objc_msgSend_83(_id, _lib._sel_maximumOutputNumberOfChannels1); + return _lib._objc_msgSend_83( + this.pointer, + _lib._sel_maximumOutputNumberOfChannels1, + ); } bool setInputGain_error_( - double gain, ffi.Pointer> outError) { + double gain, + ffi.Pointer> outError, + ) { return _lib._objc_msgSend_1167( - _id, _lib._sel_setInputGain_error_1, gain, outError); + this.pointer, + _lib._sel_setInputGain_error_1, + gain, + outError, + ); } double get inputGain { - return _lib._objc_msgSend_useVariants1 - ? _lib._objc_msgSend_239_fpret(_id, _lib._sel_inputGain1) - : _lib._objc_msgSend_239(_id, _lib._sel_inputGain1); + return objc.useMsgSendVariants + ? _lib._objc_msgSend_239_fpret(this.pointer, _lib._sel_inputGain1) + : _lib._objc_msgSend_239(this.pointer, _lib._sel_inputGain1); } bool get inputGainSettable { - return _lib._objc_msgSend_12(_id, _lib._sel_isInputGainSettable1); + return _lib._objc_msgSend_12(this.pointer, _lib._sel_isInputGainSettable1); } bool get inputAvailable { - return _lib._objc_msgSend_12(_id, _lib._sel_isInputAvailable1); + return _lib._objc_msgSend_12(this.pointer, _lib._sel_isInputAvailable1); } NSArray? get inputDataSources { - final _ret = _lib._objc_msgSend_84(_id, _lib._sel_inputDataSources1); + final _ret = _lib._objc_msgSend_84( + this.pointer, + _lib._sel_inputDataSources1, + ); return _ret.address == 0 ? null : NSArray._(_ret, _lib, retain: true, release: true); } AVAudioSessionDataSourceDescription? get inputDataSource { - final _ret = _lib._objc_msgSend_1156(_id, _lib._sel_inputDataSource1); + final _ret = _lib._objc_msgSend_1156( + this.pointer, + _lib._sel_inputDataSource1, + ); return _ret.address == 0 ? null - : AVAudioSessionDataSourceDescription._(_ret, _lib, - retain: true, release: true); + : AVAudioSessionDataSourceDescription._( + _ret, + _lib, + retain: true, + release: true, + ); } bool setInputDataSource_error_( - AVAudioSessionDataSourceDescription? dataSource, - ffi.Pointer> outError) { - return _lib._objc_msgSend_1157(_id, _lib._sel_setInputDataSource_error_1, - dataSource?._id ?? ffi.nullptr, outError); + AVAudioSessionDataSourceDescription? dataSource, + ffi.Pointer> outError, + ) { + return _lib._objc_msgSend_1157( + this.pointer, + _lib._sel_setInputDataSource_error_1, + dataSource?.pointer ?? ffi.nullptr, + outError, + ); } NSArray? get outputDataSources { - final _ret = _lib._objc_msgSend_84(_id, _lib._sel_outputDataSources1); + final _ret = _lib._objc_msgSend_84( + this.pointer, + _lib._sel_outputDataSources1, + ); return _ret.address == 0 ? null : NSArray._(_ret, _lib, retain: true, release: true); } AVAudioSessionDataSourceDescription? get outputDataSource { - final _ret = _lib._objc_msgSend_1156(_id, _lib._sel_outputDataSource1); + final _ret = _lib._objc_msgSend_1156( + this.pointer, + _lib._sel_outputDataSource1, + ); return _ret.address == 0 ? null - : AVAudioSessionDataSourceDescription._(_ret, _lib, - retain: true, release: true); + : AVAudioSessionDataSourceDescription._( + _ret, + _lib, + retain: true, + release: true, + ); } bool setOutputDataSource_error_( - AVAudioSessionDataSourceDescription? dataSource, - ffi.Pointer> outError) { - return _lib._objc_msgSend_1157(_id, _lib._sel_setOutputDataSource_error_1, - dataSource?._id ?? ffi.nullptr, outError); + AVAudioSessionDataSourceDescription? dataSource, + ffi.Pointer> outError, + ) { + return _lib._objc_msgSend_1157( + this.pointer, + _lib._sel_setOutputDataSource_error_1, + dataSource?.pointer ?? ffi.nullptr, + outError, + ); } double get sampleRate { - return _lib._objc_msgSend_useVariants1 - ? _lib._objc_msgSend_165_fpret(_id, _lib._sel_sampleRate1) - : _lib._objc_msgSend_165(_id, _lib._sel_sampleRate1); + return objc.useMsgSendVariants + ? _lib._objc_msgSend_165_fpret(this.pointer, _lib._sel_sampleRate1) + : _lib._objc_msgSend_165(this.pointer, _lib._sel_sampleRate1); } int get inputNumberOfChannels { - return _lib._objc_msgSend_83(_id, _lib._sel_inputNumberOfChannels1); + return _lib._objc_msgSend_83( + this.pointer, + _lib._sel_inputNumberOfChannels1, + ); } int get outputNumberOfChannels { - return _lib._objc_msgSend_83(_id, _lib._sel_outputNumberOfChannels1); + return _lib._objc_msgSend_83( + this.pointer, + _lib._sel_outputNumberOfChannels1, + ); } double get inputLatency { - return _lib._objc_msgSend_useVariants1 - ? _lib._objc_msgSend_165_fpret(_id, _lib._sel_inputLatency1) - : _lib._objc_msgSend_165(_id, _lib._sel_inputLatency1); + return objc.useMsgSendVariants + ? _lib._objc_msgSend_165_fpret(this.pointer, _lib._sel_inputLatency1) + : _lib._objc_msgSend_165(this.pointer, _lib._sel_inputLatency1); } double get outputLatency { - return _lib._objc_msgSend_useVariants1 - ? _lib._objc_msgSend_165_fpret(_id, _lib._sel_outputLatency1) - : _lib._objc_msgSend_165(_id, _lib._sel_outputLatency1); + return objc.useMsgSendVariants + ? _lib._objc_msgSend_165_fpret(this.pointer, _lib._sel_outputLatency1) + : _lib._objc_msgSend_165(this.pointer, _lib._sel_outputLatency1); } double get IOBufferDuration { - return _lib._objc_msgSend_useVariants1 - ? _lib._objc_msgSend_165_fpret(_id, _lib._sel_IOBufferDuration1) - : _lib._objc_msgSend_165(_id, _lib._sel_IOBufferDuration1); + return objc.useMsgSendVariants + ? _lib._objc_msgSend_165_fpret( + this.pointer, + _lib._sel_IOBufferDuration1, + ) + : _lib._objc_msgSend_165(this.pointer, _lib._sel_IOBufferDuration1); } NSArray get supportedOutputChannelLayouts { - final _ret = - _lib._objc_msgSend_85(_id, _lib._sel_supportedOutputChannelLayouts1); + final _ret = _lib._objc_msgSend_85( + this.pointer, + _lib._sel_supportedOutputChannelLayouts1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } bool get otherAudioPlaying { - return _lib._objc_msgSend_12(_id, _lib._sel_isOtherAudioPlaying1); + return _lib._objc_msgSend_12(this.pointer, _lib._sel_isOtherAudioPlaying1); } bool get secondaryAudioShouldBeSilencedHint { return _lib._objc_msgSend_12( - _id, _lib._sel_secondaryAudioShouldBeSilencedHint1); + this.pointer, + _lib._sel_secondaryAudioShouldBeSilencedHint1, + ); } double get outputVolume { - return _lib._objc_msgSend_useVariants1 - ? _lib._objc_msgSend_239_fpret(_id, _lib._sel_outputVolume1) - : _lib._objc_msgSend_239(_id, _lib._sel_outputVolume1); + return objc.useMsgSendVariants + ? _lib._objc_msgSend_239_fpret(this.pointer, _lib._sel_outputVolume1) + : _lib._objc_msgSend_239(this.pointer, _lib._sel_outputVolume1); } int get promptStyle { - return _lib._objc_msgSend_1168(_id, _lib._sel_promptStyle1); + return _lib._objc_msgSend_1168(this.pointer, _lib._sel_promptStyle1); } NSArray? get availableInputs { - final _ret = _lib._objc_msgSend_84(_id, _lib._sel_availableInputs1); + final _ret = _lib._objc_msgSend_84( + this.pointer, + _lib._sel_availableInputs1, + ); return _ret.address == 0 ? null : NSArray._(_ret, _lib, retain: true, release: true); } AVAudioSessionRouteDescription get currentRoute { - final _ret = _lib._objc_msgSend_1169(_id, _lib._sel_currentRoute1); - return AVAudioSessionRouteDescription._(_ret, _lib, - retain: true, release: true); + final _ret = _lib._objc_msgSend_1169(this.pointer, _lib._sel_currentRoute1); + return AVAudioSessionRouteDescription._( + _ret, + _lib, + retain: true, + release: true, + ); } bool setAggregatedIOPreference_error_( - int inIOType, ffi.Pointer> outError) { + int inIOType, + ffi.Pointer> outError, + ) { return _lib._objc_msgSend_1170( - _id, _lib._sel_setAggregatedIOPreference_error_1, inIOType, outError); + this.pointer, + _lib._sel_setAggregatedIOPreference_error_1, + inIOType, + outError, + ); } bool setSupportsMultichannelContent_error_( - bool inValue, ffi.Pointer> outError) { - return _lib._objc_msgSend_1151(_id, - _lib._sel_setSupportsMultichannelContent_error_1, inValue, outError); + bool inValue, + ffi.Pointer> outError, + ) { + return _lib._objc_msgSend_1151( + this.pointer, + _lib._sel_setSupportsMultichannelContent_error_1, + inValue, + outError, + ); } bool get supportsMultichannelContent { - return _lib._objc_msgSend_12(_id, _lib._sel_supportsMultichannelContent1); + return _lib._objc_msgSend_12( + this.pointer, + _lib._sel_supportsMultichannelContent1, + ); } bool setPrefersInterruptionOnRouteDisconnect_error_( - bool inValue, ffi.Pointer> outError) { + bool inValue, + ffi.Pointer> outError, + ) { return _lib._objc_msgSend_1151( - _id, - _lib._sel_setPrefersInterruptionOnRouteDisconnect_error_1, - inValue, - outError); + this.pointer, + _lib._sel_setPrefersInterruptionOnRouteDisconnect_error_1, + inValue, + outError, + ); } bool get prefersInterruptionOnRouteDisconnect { return _lib._objc_msgSend_12( - _id, _lib._sel_prefersInterruptionOnRouteDisconnect1); + this.pointer, + _lib._sel_prefersInterruptionOnRouteDisconnect1, + ); } NSObject? get delegate { - final _ret = _lib._objc_msgSend_17(_id, _lib._sel_delegate1); + final _ret = _lib._objc_msgSend_17(this.pointer, _lib._sel_delegate1); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); @@ -76123,134 +102272,203 @@ class AVAudioSession extends NSObject { set delegate(NSObject? value) { return _lib._objc_msgSend_416( - _id, _lib._sel_setDelegate_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setDelegate_1, + value?.pointer ?? ffi.nullptr, + ); } @override AVAudioSession init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return AVAudioSession._(_ret, _lib, retain: true, release: true); } bool setActive_withFlags_error_( - bool active, int flags, ffi.Pointer> outError) { + bool active, + int flags, + ffi.Pointer> outError, + ) { return _lib._objc_msgSend_1171( - _id, _lib._sel_setActive_withFlags_error_1, active, flags, outError); + this.pointer, + _lib._sel_setActive_withFlags_error_1, + active, + flags, + outError, + ); } bool get inputIsAvailable { - return _lib._objc_msgSend_12(_id, _lib._sel_inputIsAvailable1); + return _lib._objc_msgSend_12(this.pointer, _lib._sel_inputIsAvailable1); } double get currentHardwareSampleRate { - return _lib._objc_msgSend_useVariants1 + return objc.useMsgSendVariants ? _lib._objc_msgSend_165_fpret( - _id, _lib._sel_currentHardwareSampleRate1) - : _lib._objc_msgSend_165(_id, _lib._sel_currentHardwareSampleRate1); + this.pointer, + _lib._sel_currentHardwareSampleRate1, + ) + : _lib._objc_msgSend_165( + this.pointer, + _lib._sel_currentHardwareSampleRate1, + ); } int get currentHardwareInputNumberOfChannels { return _lib._objc_msgSend_83( - _id, _lib._sel_currentHardwareInputNumberOfChannels1); + this.pointer, + _lib._sel_currentHardwareInputNumberOfChannels1, + ); } int get currentHardwareOutputNumberOfChannels { return _lib._objc_msgSend_83( - _id, _lib._sel_currentHardwareOutputNumberOfChannels1); + this.pointer, + _lib._sel_currentHardwareOutputNumberOfChannels1, + ); } bool setPreferredHardwareSampleRate_error_( - double sampleRate, ffi.Pointer> outError) { - return _lib._objc_msgSend_1163(_id, - _lib._sel_setPreferredHardwareSampleRate_error_1, sampleRate, outError); + double sampleRate, + ffi.Pointer> outError, + ) { + return _lib._objc_msgSend_1163( + this.pointer, + _lib._sel_setPreferredHardwareSampleRate_error_1, + sampleRate, + outError, + ); } double get preferredHardwareSampleRate { - return _lib._objc_msgSend_useVariants1 + return objc.useMsgSendVariants ? _lib._objc_msgSend_165_fpret( - _id, _lib._sel_preferredHardwareSampleRate1) - : _lib._objc_msgSend_165(_id, _lib._sel_preferredHardwareSampleRate1); + this.pointer, + _lib._sel_preferredHardwareSampleRate1, + ) + : _lib._objc_msgSend_165( + this.pointer, + _lib._sel_preferredHardwareSampleRate1, + ); } static AVAudioSession new1(AVFAudio _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_AVAudioSession1, _lib._sel_new1); + final _ret = _lib._objc_msgSend_2( + _lib._class_AVAudioSession1, + _lib._sel_new1, + ); return AVAudioSession._(_ret, _lib, retain: false, release: true); } static AVAudioSession allocWithZone_( - AVFAudio _lib, ffi.Pointer<_NSZone> zone) { + AVFAudio _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_AVAudioSession1, _lib._sel_allocWithZone_1, zone); + _lib._class_AVAudioSession1, + _lib._sel_allocWithZone_1, + zone, + ); return AVAudioSession._(_ret, _lib, retain: false, release: true); } static AVAudioSession alloc(AVFAudio _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_AVAudioSession1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_AVAudioSession1, + _lib._sel_alloc1, + ); return AVAudioSession._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + AVFAudio _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_AVAudioSession1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_AVAudioSession1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_AVAudioSession1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + AVFAudio _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_AVAudioSession1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { - return _lib._objc_msgSend_12(_lib._class_AVAudioSession1, - _lib._sel_accessInstanceVariablesDirectly1); + return _lib._objc_msgSend_12( + _lib._class_AVAudioSession1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(AVFAudio _lib) { return _lib._objc_msgSend_12( - _lib._class_AVAudioSession1, _lib._sel_useStoredAccessor1); + _lib._class_AVAudioSession1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_AVAudioSession1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_AVAudioSession1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_AVAudioSession1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_AVAudioSession1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, NSArray keys, NSString dependentKey) { + AVFAudio _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_AVAudioSession1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_AVAudioSession1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { final _ret = _lib._objc_msgSend_85( - _lib._class_AVAudioSession1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_AVAudioSession1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(AVFAudio _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_AVAudioSession1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_AVAudioSession1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } @@ -76261,11 +102479,11 @@ abstract class AVAudioSessionCategoryOptions { static const int AVAudioSessionCategoryOptionAllowBluetooth = 4; static const int AVAudioSessionCategoryOptionDefaultToSpeaker = 8; static const int - AVAudioSessionCategoryOptionInterruptSpokenAudioAndMixWithOthers = 17; + AVAudioSessionCategoryOptionInterruptSpokenAudioAndMixWithOthers = 17; static const int AVAudioSessionCategoryOptionAllowBluetoothA2DP = 32; static const int AVAudioSessionCategoryOptionAllowAirPlay = 64; static const int - AVAudioSessionCategoryOptionOverrideMutedMicrophoneInterruption = 128; + AVAudioSessionCategoryOptionOverrideMutedMicrophoneInterruption = 128; } abstract class AVAudioSessionRouteSharingPolicy { @@ -76288,374 +102506,535 @@ abstract class AVAudioSessionPortOverride { } class AVAudioSessionPortDescription extends NSObject { - AVAudioSessionPortDescription._(ffi.Pointer id, AVFAudio lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + AVAudioSessionPortDescription._( + ffi.Pointer pointer, + AVFAudio lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [AVAudioSessionPortDescription] that points to the same underlying object as [other]. - static AVAudioSessionPortDescription castFrom( - T other) { - return AVAudioSessionPortDescription._(other._id, other._lib, - retain: true, release: true); + static AVAudioSessionPortDescription castFrom( + AVFAudio lib, + T other, + ) { + return AVAudioSessionPortDescription._( + other.pointer, + lib, + retain: true, + release: true, + ); } /// Returns a [AVAudioSessionPortDescription] that wraps the given raw object pointer. static AVAudioSessionPortDescription castFromPointer( - AVFAudio lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { - return AVAudioSessionPortDescription._(other, lib, - retain: retain, release: release); + AVFAudio lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { + return AVAudioSessionPortDescription._( + other, + lib, + retain: retain, + release: release, + ); } /// Returns whether [obj] is an instance of [AVAudioSessionPortDescription]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0(obj._id, obj._lib._sel_isKindOfClass_1, - obj._lib._class_AVAudioSessionPortDescription1); + static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_AVAudioSessionPortDescription1, + ); } NSString get portType { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_portType1); + final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_portType1); return NSString._(_ret, _lib, retain: true, release: true); } NSString get portName { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_portName1); + final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_portName1); return NSString._(_ret, _lib, retain: true, release: true); } NSString get UID { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_UID1); + final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_UID1); return NSString._(_ret, _lib, retain: true, release: true); } bool get hasHardwareVoiceCallProcessing { return _lib._objc_msgSend_12( - _id, _lib._sel_hasHardwareVoiceCallProcessing1); + this.pointer, + _lib._sel_hasHardwareVoiceCallProcessing1, + ); } bool get spatialAudioEnabled { - return _lib._objc_msgSend_12(_id, _lib._sel_isSpatialAudioEnabled1); + return _lib._objc_msgSend_12( + this.pointer, + _lib._sel_isSpatialAudioEnabled1, + ); } NSArray? get channels { - final _ret = _lib._objc_msgSend_84(_id, _lib._sel_channels1); + final _ret = _lib._objc_msgSend_84(this.pointer, _lib._sel_channels1); return _ret.address == 0 ? null : NSArray._(_ret, _lib, retain: true, release: true); } NSArray? get dataSources { - final _ret = _lib._objc_msgSend_84(_id, _lib._sel_dataSources1); + final _ret = _lib._objc_msgSend_84(this.pointer, _lib._sel_dataSources1); return _ret.address == 0 ? null : NSArray._(_ret, _lib, retain: true, release: true); } AVAudioSessionDataSourceDescription? get selectedDataSource { - final _ret = _lib._objc_msgSend_1156(_id, _lib._sel_selectedDataSource1); + final _ret = _lib._objc_msgSend_1156( + this.pointer, + _lib._sel_selectedDataSource1, + ); return _ret.address == 0 ? null - : AVAudioSessionDataSourceDescription._(_ret, _lib, - retain: true, release: true); + : AVAudioSessionDataSourceDescription._( + _ret, + _lib, + retain: true, + release: true, + ); } AVAudioSessionDataSourceDescription? get preferredDataSource { - final _ret = _lib._objc_msgSend_1156(_id, _lib._sel_preferredDataSource1); + final _ret = _lib._objc_msgSend_1156( + this.pointer, + _lib._sel_preferredDataSource1, + ); return _ret.address == 0 ? null - : AVAudioSessionDataSourceDescription._(_ret, _lib, - retain: true, release: true); + : AVAudioSessionDataSourceDescription._( + _ret, + _lib, + retain: true, + release: true, + ); } bool setPreferredDataSource_error_( - AVAudioSessionDataSourceDescription? dataSource, - ffi.Pointer> outError) { + AVAudioSessionDataSourceDescription? dataSource, + ffi.Pointer> outError, + ) { return _lib._objc_msgSend_1157( - _id, - _lib._sel_setPreferredDataSource_error_1, - dataSource?._id ?? ffi.nullptr, - outError); + this.pointer, + _lib._sel_setPreferredDataSource_error_1, + dataSource?.pointer ?? ffi.nullptr, + outError, + ); } @override AVAudioSessionPortDescription init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); - return AVAudioSessionPortDescription._(_ret, _lib, - retain: true, release: true); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); + return AVAudioSessionPortDescription._( + _ret, + _lib, + retain: true, + release: true, + ); } static AVAudioSessionPortDescription new1(AVFAudio _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_AVAudioSessionPortDescription1, _lib._sel_new1); - return AVAudioSessionPortDescription._(_ret, _lib, - retain: false, release: true); + _lib._class_AVAudioSessionPortDescription1, + _lib._sel_new1, + ); + return AVAudioSessionPortDescription._( + _ret, + _lib, + retain: false, + release: true, + ); } static AVAudioSessionPortDescription allocWithZone_( - AVFAudio _lib, ffi.Pointer<_NSZone> zone) { + AVFAudio _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_AVAudioSessionPortDescription1, - _lib._sel_allocWithZone_1, - zone); - return AVAudioSessionPortDescription._(_ret, _lib, - retain: false, release: true); + _lib._class_AVAudioSessionPortDescription1, + _lib._sel_allocWithZone_1, + zone, + ); + return AVAudioSessionPortDescription._( + _ret, + _lib, + retain: false, + release: true, + ); } static AVAudioSessionPortDescription alloc(AVFAudio _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_AVAudioSessionPortDescription1, _lib._sel_alloc1); - return AVAudioSessionPortDescription._(_ret, _lib, - retain: false, release: true); + _lib._class_AVAudioSessionPortDescription1, + _lib._sel_alloc1, + ); + return AVAudioSessionPortDescription._( + _ret, + _lib, + retain: false, + release: true, + ); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + AVFAudio _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_AVAudioSessionPortDescription1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_AVAudioSessionPortDescription1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_AVAudioSessionPortDescription1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + AVFAudio _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_AVAudioSessionPortDescription1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { - return _lib._objc_msgSend_12(_lib._class_AVAudioSessionPortDescription1, - _lib._sel_accessInstanceVariablesDirectly1); + return _lib._objc_msgSend_12( + _lib._class_AVAudioSessionPortDescription1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(AVFAudio _lib) { - return _lib._objc_msgSend_12(_lib._class_AVAudioSessionPortDescription1, - _lib._sel_useStoredAccessor1); + return _lib._objc_msgSend_12( + _lib._class_AVAudioSessionPortDescription1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, NSString key) { + AVFAudio _lib, + NSString key, + ) { final _ret = _lib._objc_msgSend_63( - _lib._class_AVAudioSessionPortDescription1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key._id); + _lib._class_AVAudioSessionPortDescription1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_AVAudioSessionPortDescription1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_AVAudioSessionPortDescription1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, NSArray keys, NSString dependentKey) { + AVFAudio _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_AVAudioSessionPortDescription1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_AVAudioSessionPortDescription1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { final _ret = _lib._objc_msgSend_85( - _lib._class_AVAudioSessionPortDescription1, - _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_AVAudioSessionPortDescription1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(AVFAudio _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_AVAudioSessionPortDescription1, - _lib._sel_classForKeyedUnarchiver1); + _lib._class_AVAudioSessionPortDescription1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } class AVAudioSessionDataSourceDescription extends NSObject { AVAudioSessionDataSourceDescription._( - ffi.Pointer id, AVFAudio lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + ffi.Pointer pointer, + AVFAudio lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [AVAudioSessionDataSourceDescription] that points to the same underlying object as [other]. - static AVAudioSessionDataSourceDescription castFrom( - T other) { - return AVAudioSessionDataSourceDescription._(other._id, other._lib, - retain: true, release: true); + static AVAudioSessionDataSourceDescription castFrom< + T extends objc.ObjCObjectBase + >(AVFAudio lib, T other) { + return AVAudioSessionDataSourceDescription._( + other.pointer, + lib, + retain: true, + release: true, + ); } /// Returns a [AVAudioSessionDataSourceDescription] that wraps the given raw object pointer. static AVAudioSessionDataSourceDescription castFromPointer( - AVFAudio lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { - return AVAudioSessionDataSourceDescription._(other, lib, - retain: retain, release: release); + AVFAudio lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { + return AVAudioSessionDataSourceDescription._( + other, + lib, + retain: retain, + release: release, + ); } /// Returns whether [obj] is an instance of [AVAudioSessionDataSourceDescription]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0(obj._id, obj._lib._sel_isKindOfClass_1, - obj._lib._class_AVAudioSessionDataSourceDescription1); + static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_AVAudioSessionDataSourceDescription1, + ); } NSNumber get dataSourceID { - final _ret = _lib._objc_msgSend_814(_id, _lib._sel_dataSourceID1); + final _ret = _lib._objc_msgSend_814(this.pointer, _lib._sel_dataSourceID1); return NSNumber._(_ret, _lib, retain: true, release: true); } NSString get dataSourceName { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_dataSourceName1); + final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_dataSourceName1); return NSString._(_ret, _lib, retain: true, release: true); } NSString? get location { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_location1); + final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_location1); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } NSString? get orientation { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_orientation1); + final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_orientation1); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } NSArray? get supportedPolarPatterns { - final _ret = _lib._objc_msgSend_84(_id, _lib._sel_supportedPolarPatterns1); + final _ret = _lib._objc_msgSend_84( + this.pointer, + _lib._sel_supportedPolarPatterns1, + ); return _ret.address == 0 ? null : NSArray._(_ret, _lib, retain: true, release: true); } NSString? get selectedPolarPattern { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_selectedPolarPattern1); + final _ret = _lib._objc_msgSend_44( + this.pointer, + _lib._sel_selectedPolarPattern1, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } NSString? get preferredPolarPattern { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_preferredPolarPattern1); + final _ret = _lib._objc_msgSend_44( + this.pointer, + _lib._sel_preferredPolarPattern1, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } bool setPreferredPolarPattern_error_( - NSString? pattern, ffi.Pointer> outError) { + NSString? pattern, + ffi.Pointer> outError, + ) { return _lib._objc_msgSend_1155( - _id, - _lib._sel_setPreferredPolarPattern_error_1, - pattern?._id ?? ffi.nullptr, - outError); + this.pointer, + _lib._sel_setPreferredPolarPattern_error_1, + pattern?.pointer ?? ffi.nullptr, + outError, + ); } @override AVAudioSessionDataSourceDescription init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); - return AVAudioSessionDataSourceDescription._(_ret, _lib, - retain: true, release: true); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); + return AVAudioSessionDataSourceDescription._( + _ret, + _lib, + retain: true, + release: true, + ); } static AVAudioSessionDataSourceDescription new1(AVFAudio _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_AVAudioSessionDataSourceDescription1, _lib._sel_new1); - return AVAudioSessionDataSourceDescription._(_ret, _lib, - retain: false, release: true); + _lib._class_AVAudioSessionDataSourceDescription1, + _lib._sel_new1, + ); + return AVAudioSessionDataSourceDescription._( + _ret, + _lib, + retain: false, + release: true, + ); } static AVAudioSessionDataSourceDescription allocWithZone_( - AVFAudio _lib, ffi.Pointer<_NSZone> zone) { + AVFAudio _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_AVAudioSessionDataSourceDescription1, - _lib._sel_allocWithZone_1, - zone); - return AVAudioSessionDataSourceDescription._(_ret, _lib, - retain: false, release: true); + _lib._class_AVAudioSessionDataSourceDescription1, + _lib._sel_allocWithZone_1, + zone, + ); + return AVAudioSessionDataSourceDescription._( + _ret, + _lib, + retain: false, + release: true, + ); } static AVAudioSessionDataSourceDescription alloc(AVFAudio _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_AVAudioSessionDataSourceDescription1, _lib._sel_alloc1); - return AVAudioSessionDataSourceDescription._(_ret, _lib, - retain: false, release: true); + _lib._class_AVAudioSessionDataSourceDescription1, + _lib._sel_alloc1, + ); + return AVAudioSessionDataSourceDescription._( + _ret, + _lib, + retain: false, + release: true, + ); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + AVFAudio _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_AVAudioSessionDataSourceDescription1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_AVAudioSessionDataSourceDescription1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_AVAudioSessionDataSourceDescription1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + AVFAudio _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_AVAudioSessionDataSourceDescription1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { return _lib._objc_msgSend_12( - _lib._class_AVAudioSessionDataSourceDescription1, - _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_AVAudioSessionDataSourceDescription1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(AVFAudio _lib) { return _lib._objc_msgSend_12( - _lib._class_AVAudioSessionDataSourceDescription1, - _lib._sel_useStoredAccessor1); + _lib._class_AVAudioSessionDataSourceDescription1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, NSString key) { + AVFAudio _lib, + NSString key, + ) { final _ret = _lib._objc_msgSend_63( - _lib._class_AVAudioSessionDataSourceDescription1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key._id); + _lib._class_AVAudioSessionDataSourceDescription1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, NSString key) { + AVFAudio _lib, + NSString key, + ) { return _lib._objc_msgSend_64( - _lib._class_AVAudioSessionDataSourceDescription1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key._id); + _lib._class_AVAudioSessionDataSourceDescription1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, NSArray keys, NSString dependentKey) { + AVFAudio _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_AVAudioSessionDataSourceDescription1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_AVAudioSessionDataSourceDescription1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { final _ret = _lib._objc_msgSend_85( - _lib._class_AVAudioSessionDataSourceDescription1, - _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_AVAudioSessionDataSourceDescription1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(AVFAudio _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_AVAudioSessionDataSourceDescription1, - _lib._sel_classForKeyedUnarchiver1); + _lib._class_AVAudioSessionDataSourceDescription1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } @@ -76678,43 +103057,62 @@ abstract class AVAudioSessionActivationOptions { } void _ObjCBlock_ffiVoid_bool_NSError_fnPtrTrampoline( - ffi.Pointer<_ObjCBlock> block, - bool arg0, - ffi.Pointer arg1) => - block.ref.target - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Bool arg0, ffi.Pointer arg1)>>() - .asFunction)>()(arg0, arg1); + ffi.Pointer block, + bool arg0, + ffi.Pointer arg1, +) => block.ref.target + .cast< + ffi.NativeFunction< + ffi.Void Function(ffi.Bool arg0, ffi.Pointer arg1) + > + >() + .asFunction)>()( + arg0, + arg1, +); final _ObjCBlock_ffiVoid_bool_NSError_closureRegistry = - )>{}; + )>{}; int _ObjCBlock_ffiVoid_bool_NSError_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_ffiVoid_bool_NSError_registerClosure( - void Function(bool, ffi.Pointer) fn) { + void Function(bool, ffi.Pointer) fn, +) { final id = ++_ObjCBlock_ffiVoid_bool_NSError_closureRegistryIndex; _ObjCBlock_ffiVoid_bool_NSError_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } void _ObjCBlock_ffiVoid_bool_NSError_closureTrampoline( - ffi.Pointer<_ObjCBlock> block, - bool arg0, - ffi.Pointer arg1) => - _ObjCBlock_ffiVoid_bool_NSError_closureRegistry[block.ref.target.address]!( - arg0, arg1); - -class ObjCBlock_ffiVoid_bool_NSError extends _ObjCBlockBase { - ObjCBlock_ffiVoid_bool_NSError._(ffi.Pointer<_ObjCBlock> id, AVFAudio lib, - {bool retain = false, bool release = true}) - : super._(id, lib, retain: retain, release: release); + ffi.Pointer block, + bool arg0, + ffi.Pointer arg1, +) => _ObjCBlock_ffiVoid_bool_NSError_closureRegistry[block.ref.target.address]!( + arg0, + arg1, +); + +class ObjCBlock_ffiVoid_bool_NSError extends objc.ObjCBlockBase { + ObjCBlock_ffiVoid_bool_NSError._( + ffi.Pointer pointer, + this._lib, { + bool retain = false, + bool release = true, + }) : super(pointer, retain: retain, release: release); + + AVFAudio _lib; /// Returns a block that wraps the given raw block pointer. static ObjCBlock_ffiVoid_bool_NSError castFromPointer( - AVFAudio lib, ffi.Pointer<_ObjCBlock> pointer, - {bool retain = false, bool release = false}) { - return ObjCBlock_ffiVoid_bool_NSError._(pointer, lib, - retain: retain, release: release); + AVFAudio lib, + ffi.Pointer pointer, { + bool retain = false, + bool release = false, + }) { + return ObjCBlock_ffiVoid_bool_NSError._( + pointer, + lib, + retain: retain, + release: release, + ); } /// Creates a block from a C function pointer. @@ -76723,21 +103121,23 @@ class ObjCBlock_ffiVoid_bool_NSError extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_bool_NSError.fromFunctionPointer( - AVFAudio lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.Bool arg0, ffi.Pointer arg1)>> - ptr) - : this._( - lib._newBlock1( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, ffi.Bool, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_bool_NSError_fnPtrTrampoline) - .cast(), - ptr.cast()), - lib); + AVFAudio lib, + ffi.Pointer< + ffi.NativeFunction< + ffi.Void Function(ffi.Bool arg0, ffi.Pointer arg1) + > + > ptr, + ) : this._(objc.newBlock( + _cFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Bool, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_bool_NSError_fnPtrTrampoline).cast(), + ptr.cast(), + ), lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -76746,18 +103146,27 @@ class ObjCBlock_ffiVoid_bool_NSError extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_bool_NSError.fromFunction( - AVFAudio lib, void Function(bool, NSError?) fn) - : this._( - lib._newBlock1( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, ffi.Bool, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_bool_NSError_closureTrampoline) - .cast(), - _ObjCBlock_ffiVoid_bool_NSError_registerClosure( - (bool arg0, ffi.Pointer arg1) => fn(arg0, - arg1.address == 0 ? null : NSError._(arg1, lib, retain: true, release: true)))), - lib); + AVFAudio lib, + void Function(bool, NSError?) fn, + ) : this._(objc.newBlock( + _dartFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Bool, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_bool_NSError_closureTrampoline).cast(), + _ObjCBlock_ffiVoid_bool_NSError_registerClosure(( + bool arg0, + ffi.Pointer arg1, + ) => fn( + arg0, + arg1.address == 0 + ? null + : NSError._(arg1, lib, retain: true, release: true), + )), + ), lib); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -76770,33 +103179,55 @@ class ObjCBlock_ffiVoid_bool_NSError extends _ObjCBlockBase { /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. ObjCBlock_ffiVoid_bool_NSError.listener( - AVFAudio lib, void Function(bool, NSError?) fn) - : this._( - lib._newBlock1( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, ffi.Bool, - ffi.Pointer)>.listener( - _ObjCBlock_ffiVoid_bool_NSError_closureTrampoline) - ..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_bool_NSError_registerClosure( - (bool arg0, ffi.Pointer arg1) => fn(arg0, - arg1.address == 0 ? null : NSError._(arg1, lib, retain: true, release: true)))), - lib); + AVFAudio lib, + void Function(bool, NSError?) fn, + ) : this._(objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Bool, + ffi.Pointer, + ) + >.listener( + _ObjCBlock_ffiVoid_bool_NSError_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_bool_NSError_registerClosure(( + bool arg0, + ffi.Pointer arg1, + ) => fn( + arg0, + arg1.address == 0 + ? null + : NSError._(arg1, lib, retain: true, release: true), + )), + ), lib); static ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, ffi.Bool, ffi.Pointer)>? - _dartFuncListenerTrampoline; - - void call(bool arg0, NSError? arg1) => _id.ref.invoke + ffi.Void Function( + ffi.Pointer, + ffi.Bool, + ffi.Pointer, + ) + >? _dartFuncListenerTrampoline; + + void call(bool arg0, NSError? arg1) => pointer.ref.invoke .cast< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer<_ObjCBlock> block, ffi.Bool arg0, - ffi.Pointer arg1)>>() + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer block, + ffi.Bool arg0, + ffi.Pointer arg1, + ) + > + >() .asFunction< - void Function(ffi.Pointer<_ObjCBlock>, bool, - ffi.Pointer)>()(_id, arg0, arg1?._id ?? ffi.nullptr); + void Function( + ffi.Pointer, + bool, + ffi.Pointer, + ) + >()(pointer, arg0, arg1?.pointer ?? ffi.nullptr); } abstract class AVAudioStereoOrientation { @@ -76814,136 +103245,203 @@ abstract class AVAudioSessionPromptStyle { } class AVAudioSessionRouteDescription extends NSObject { - AVAudioSessionRouteDescription._(ffi.Pointer id, AVFAudio lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + AVAudioSessionRouteDescription._( + ffi.Pointer pointer, + AVFAudio lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [AVAudioSessionRouteDescription] that points to the same underlying object as [other]. - static AVAudioSessionRouteDescription castFrom( - T other) { - return AVAudioSessionRouteDescription._(other._id, other._lib, - retain: true, release: true); + static AVAudioSessionRouteDescription castFrom( + AVFAudio lib, + T other, + ) { + return AVAudioSessionRouteDescription._( + other.pointer, + lib, + retain: true, + release: true, + ); } /// Returns a [AVAudioSessionRouteDescription] that wraps the given raw object pointer. static AVAudioSessionRouteDescription castFromPointer( - AVFAudio lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { - return AVAudioSessionRouteDescription._(other, lib, - retain: retain, release: release); + AVFAudio lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { + return AVAudioSessionRouteDescription._( + other, + lib, + retain: retain, + release: release, + ); } /// Returns whether [obj] is an instance of [AVAudioSessionRouteDescription]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0(obj._id, obj._lib._sel_isKindOfClass_1, - obj._lib._class_AVAudioSessionRouteDescription1); + static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_AVAudioSessionRouteDescription1, + ); } NSArray get inputs { - final _ret = _lib._objc_msgSend_85(_id, _lib._sel_inputs1); + final _ret = _lib._objc_msgSend_85(this.pointer, _lib._sel_inputs1); return NSArray._(_ret, _lib, retain: true, release: true); } NSArray get outputs { - final _ret = _lib._objc_msgSend_85(_id, _lib._sel_outputs1); + final _ret = _lib._objc_msgSend_85(this.pointer, _lib._sel_outputs1); return NSArray._(_ret, _lib, retain: true, release: true); } @override AVAudioSessionRouteDescription init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); - return AVAudioSessionRouteDescription._(_ret, _lib, - retain: true, release: true); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); + return AVAudioSessionRouteDescription._( + _ret, + _lib, + retain: true, + release: true, + ); } static AVAudioSessionRouteDescription new1(AVFAudio _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_AVAudioSessionRouteDescription1, _lib._sel_new1); - return AVAudioSessionRouteDescription._(_ret, _lib, - retain: false, release: true); + _lib._class_AVAudioSessionRouteDescription1, + _lib._sel_new1, + ); + return AVAudioSessionRouteDescription._( + _ret, + _lib, + retain: false, + release: true, + ); } static AVAudioSessionRouteDescription allocWithZone_( - AVFAudio _lib, ffi.Pointer<_NSZone> zone) { + AVFAudio _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_AVAudioSessionRouteDescription1, - _lib._sel_allocWithZone_1, - zone); - return AVAudioSessionRouteDescription._(_ret, _lib, - retain: false, release: true); + _lib._class_AVAudioSessionRouteDescription1, + _lib._sel_allocWithZone_1, + zone, + ); + return AVAudioSessionRouteDescription._( + _ret, + _lib, + retain: false, + release: true, + ); } static AVAudioSessionRouteDescription alloc(AVFAudio _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_AVAudioSessionRouteDescription1, _lib._sel_alloc1); - return AVAudioSessionRouteDescription._(_ret, _lib, - retain: false, release: true); + _lib._class_AVAudioSessionRouteDescription1, + _lib._sel_alloc1, + ); + return AVAudioSessionRouteDescription._( + _ret, + _lib, + retain: false, + release: true, + ); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + AVFAudio _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_AVAudioSessionRouteDescription1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_AVAudioSessionRouteDescription1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_AVAudioSessionRouteDescription1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + AVFAudio _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_AVAudioSessionRouteDescription1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { - return _lib._objc_msgSend_12(_lib._class_AVAudioSessionRouteDescription1, - _lib._sel_accessInstanceVariablesDirectly1); + return _lib._objc_msgSend_12( + _lib._class_AVAudioSessionRouteDescription1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(AVFAudio _lib) { - return _lib._objc_msgSend_12(_lib._class_AVAudioSessionRouteDescription1, - _lib._sel_useStoredAccessor1); + return _lib._objc_msgSend_12( + _lib._class_AVAudioSessionRouteDescription1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, NSString key) { + AVFAudio _lib, + NSString key, + ) { final _ret = _lib._objc_msgSend_63( - _lib._class_AVAudioSessionRouteDescription1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key._id); + _lib._class_AVAudioSessionRouteDescription1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_AVAudioSessionRouteDescription1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_AVAudioSessionRouteDescription1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, NSArray keys, NSString dependentKey) { + AVFAudio _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_AVAudioSessionRouteDescription1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_AVAudioSessionRouteDescription1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { final _ret = _lib._objc_msgSend_85( - _lib._class_AVAudioSessionRouteDescription1, - _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_AVAudioSessionRouteDescription1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(AVFAudio _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_AVAudioSessionRouteDescription1, - _lib._sel_classForKeyedUnarchiver1); + _lib._class_AVAudioSessionRouteDescription1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } @@ -76954,108 +103452,140 @@ abstract class AVAudioSessionIOType { } class AVAudioPlayer extends NSObject { - AVAudioPlayer._(ffi.Pointer id, AVFAudio lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + AVAudioPlayer._( + ffi.Pointer pointer, + AVFAudio lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [AVAudioPlayer] that points to the same underlying object as [other]. - static AVAudioPlayer castFrom(T other) { - return AVAudioPlayer._(other._id, other._lib, retain: true, release: true); + static AVAudioPlayer castFrom( + AVFAudio lib, + T other, + ) { + return AVAudioPlayer._(other.pointer, lib, retain: true, release: true); } /// Returns a [AVAudioPlayer] that wraps the given raw object pointer. static AVAudioPlayer castFromPointer( - AVFAudio lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + AVFAudio lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return AVAudioPlayer._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [AVAudioPlayer]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_AVAudioPlayer1); + static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_AVAudioPlayer1, + ); } AVAudioPlayer? initWithContentsOfURL_error_( - NSURL url, ffi.Pointer> outError) { + NSURL url, + ffi.Pointer> outError, + ) { final _ret = _lib._objc_msgSend_842( - _id, _lib._sel_initWithContentsOfURL_error_1, url._id, outError); + this.pointer, + _lib._sel_initWithContentsOfURL_error_1, + url.pointer, + outError, + ); return _ret.address == 0 ? null : AVAudioPlayer._(_ret, _lib, retain: true, release: true); } AVAudioPlayer? initWithData_error_( - NSData data, ffi.Pointer> outError) { + NSData data, + ffi.Pointer> outError, + ) { final _ret = _lib._objc_msgSend_1172( - _id, _lib._sel_initWithData_error_1, data._id, outError); + this.pointer, + _lib._sel_initWithData_error_1, + data.pointer, + outError, + ); return _ret.address == 0 ? null : AVAudioPlayer._(_ret, _lib, retain: true, release: true); } - AVAudioPlayer? initWithContentsOfURL_fileTypeHint_error_(NSURL url, - NSString? utiString, ffi.Pointer> outError) { + AVAudioPlayer? initWithContentsOfURL_fileTypeHint_error_( + NSURL url, + NSString? utiString, + ffi.Pointer> outError, + ) { final _ret = _lib._objc_msgSend_1173( - _id, - _lib._sel_initWithContentsOfURL_fileTypeHint_error_1, - url._id, - utiString?._id ?? ffi.nullptr, - outError); + this.pointer, + _lib._sel_initWithContentsOfURL_fileTypeHint_error_1, + url.pointer, + utiString?.pointer ?? ffi.nullptr, + outError, + ); return _ret.address == 0 ? null : AVAudioPlayer._(_ret, _lib, retain: true, release: true); } - AVAudioPlayer? initWithData_fileTypeHint_error_(NSData data, - NSString? utiString, ffi.Pointer> outError) { + AVAudioPlayer? initWithData_fileTypeHint_error_( + NSData data, + NSString? utiString, + ffi.Pointer> outError, + ) { final _ret = _lib._objc_msgSend_1174( - _id, - _lib._sel_initWithData_fileTypeHint_error_1, - data._id, - utiString?._id ?? ffi.nullptr, - outError); + this.pointer, + _lib._sel_initWithData_fileTypeHint_error_1, + data.pointer, + utiString?.pointer ?? ffi.nullptr, + outError, + ); return _ret.address == 0 ? null : AVAudioPlayer._(_ret, _lib, retain: true, release: true); } bool prepareToPlay() { - return _lib._objc_msgSend_12(_id, _lib._sel_prepareToPlay1); + return _lib._objc_msgSend_12(this.pointer, _lib._sel_prepareToPlay1); } bool play() { - return _lib._objc_msgSend_12(_id, _lib._sel_play1); + return _lib._objc_msgSend_12(this.pointer, _lib._sel_play1); } bool playAtTime_(double time) { - return _lib._objc_msgSend_1175(_id, _lib._sel_playAtTime_1, time); + return _lib._objc_msgSend_1175(this.pointer, _lib._sel_playAtTime_1, time); } void pause() { - _lib._objc_msgSend_1(_id, _lib._sel_pause1); + _lib._objc_msgSend_1(this.pointer, _lib._sel_pause1); } void stop() { - _lib._objc_msgSend_1(_id, _lib._sel_stop1); + _lib._objc_msgSend_1(this.pointer, _lib._sel_stop1); } bool get playing { - return _lib._objc_msgSend_12(_id, _lib._sel_isPlaying1); + return _lib._objc_msgSend_12(this.pointer, _lib._sel_isPlaying1); } int get numberOfChannels { - return _lib._objc_msgSend_10(_id, _lib._sel_numberOfChannels1); + return _lib._objc_msgSend_10(this.pointer, _lib._sel_numberOfChannels1); } double get duration { - return _lib._objc_msgSend_useVariants1 - ? _lib._objc_msgSend_165_fpret(_id, _lib._sel_duration1) - : _lib._objc_msgSend_165(_id, _lib._sel_duration1); + return objc.useMsgSendVariants + ? _lib._objc_msgSend_165_fpret(this.pointer, _lib._sel_duration1) + : _lib._objc_msgSend_165(this.pointer, _lib._sel_duration1); } NSString? get currentDevice { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_currentDevice1); + final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_currentDevice1); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); @@ -77063,11 +103593,14 @@ class AVAudioPlayer extends NSObject { set currentDevice(NSString? value) { return _lib._objc_msgSend_545( - _id, _lib._sel_setCurrentDevice_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setCurrentDevice_1, + value?.pointer ?? ffi.nullptr, + ); } NSObject? get delegate { - final _ret = _lib._objc_msgSend_17(_id, _lib._sel_delegate1); + final _ret = _lib._objc_msgSend_17(this.pointer, _lib._sel_delegate1); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); @@ -77075,130 +103608,171 @@ class AVAudioPlayer extends NSObject { set delegate(NSObject? value) { return _lib._objc_msgSend_416( - _id, _lib._sel_setDelegate_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setDelegate_1, + value?.pointer ?? ffi.nullptr, + ); } NSURL? get url { - final _ret = _lib._objc_msgSend_45(_id, _lib._sel_url1); + final _ret = _lib._objc_msgSend_45(this.pointer, _lib._sel_url1); return _ret.address == 0 ? null : NSURL._(_ret, _lib, retain: true, release: true); } NSData? get data { - final _ret = _lib._objc_msgSend_286(_id, _lib._sel_data1); + final _ret = _lib._objc_msgSend_286(this.pointer, _lib._sel_data1); return _ret.address == 0 ? null : NSData._(_ret, _lib, retain: true, release: true); } double get pan { - return _lib._objc_msgSend_useVariants1 - ? _lib._objc_msgSend_239_fpret(_id, _lib._sel_pan1) - : _lib._objc_msgSend_239(_id, _lib._sel_pan1); + return objc.useMsgSendVariants + ? _lib._objc_msgSend_239_fpret(this.pointer, _lib._sel_pan1) + : _lib._objc_msgSend_239(this.pointer, _lib._sel_pan1); } set pan(double value) { - return _lib._objc_msgSend_881(_id, _lib._sel_setPan_1, value); + return _lib._objc_msgSend_881(this.pointer, _lib._sel_setPan_1, value); } double get volume { - return _lib._objc_msgSend_useVariants1 - ? _lib._objc_msgSend_239_fpret(_id, _lib._sel_volume1) - : _lib._objc_msgSend_239(_id, _lib._sel_volume1); + return objc.useMsgSendVariants + ? _lib._objc_msgSend_239_fpret(this.pointer, _lib._sel_volume1) + : _lib._objc_msgSend_239(this.pointer, _lib._sel_volume1); } set volume(double value) { - return _lib._objc_msgSend_881(_id, _lib._sel_setVolume_1, value); + return _lib._objc_msgSend_881(this.pointer, _lib._sel_setVolume_1, value); } void setVolume_fadeDuration_(double volume, double duration) { _lib._objc_msgSend_1176( - _id, _lib._sel_setVolume_fadeDuration_1, volume, duration); + this.pointer, + _lib._sel_setVolume_fadeDuration_1, + volume, + duration, + ); } bool get enableRate { - return _lib._objc_msgSend_12(_id, _lib._sel_enableRate1); + return _lib._objc_msgSend_12(this.pointer, _lib._sel_enableRate1); } set enableRate(bool value) { - return _lib._objc_msgSend_527(_id, _lib._sel_setEnableRate_1, value); + return _lib._objc_msgSend_527( + this.pointer, + _lib._sel_setEnableRate_1, + value, + ); } double get rate { - return _lib._objc_msgSend_useVariants1 - ? _lib._objc_msgSend_239_fpret(_id, _lib._sel_rate1) - : _lib._objc_msgSend_239(_id, _lib._sel_rate1); + return objc.useMsgSendVariants + ? _lib._objc_msgSend_239_fpret(this.pointer, _lib._sel_rate1) + : _lib._objc_msgSend_239(this.pointer, _lib._sel_rate1); } set rate(double value) { - return _lib._objc_msgSend_881(_id, _lib._sel_setRate_1, value); + return _lib._objc_msgSend_881(this.pointer, _lib._sel_setRate_1, value); } double get currentTime { - return _lib._objc_msgSend_useVariants1 - ? _lib._objc_msgSend_165_fpret(_id, _lib._sel_currentTime1) - : _lib._objc_msgSend_165(_id, _lib._sel_currentTime1); + return objc.useMsgSendVariants + ? _lib._objc_msgSend_165_fpret(this.pointer, _lib._sel_currentTime1) + : _lib._objc_msgSend_165(this.pointer, _lib._sel_currentTime1); } set currentTime(double value) { - return _lib._objc_msgSend_542(_id, _lib._sel_setCurrentTime_1, value); + return _lib._objc_msgSend_542( + this.pointer, + _lib._sel_setCurrentTime_1, + value, + ); } double get deviceCurrentTime { - return _lib._objc_msgSend_useVariants1 - ? _lib._objc_msgSend_165_fpret(_id, _lib._sel_deviceCurrentTime1) - : _lib._objc_msgSend_165(_id, _lib._sel_deviceCurrentTime1); + return objc.useMsgSendVariants + ? _lib._objc_msgSend_165_fpret( + this.pointer, + _lib._sel_deviceCurrentTime1, + ) + : _lib._objc_msgSend_165(this.pointer, _lib._sel_deviceCurrentTime1); } int get numberOfLoops { - return _lib._objc_msgSend_83(_id, _lib._sel_numberOfLoops1); + return _lib._objc_msgSend_83(this.pointer, _lib._sel_numberOfLoops1); } set numberOfLoops(int value) { - return _lib._objc_msgSend_635(_id, _lib._sel_setNumberOfLoops_1, value); + return _lib._objc_msgSend_635( + this.pointer, + _lib._sel_setNumberOfLoops_1, + value, + ); } NSDictionary get settings { - final _ret = _lib._objc_msgSend_181(_id, _lib._sel_settings1); + final _ret = _lib._objc_msgSend_181(this.pointer, _lib._sel_settings1); return NSDictionary._(_ret, _lib, retain: true, release: true); } AVAudioFormat get format { - final _ret = _lib._objc_msgSend_1193(_id, _lib._sel_format1); + final _ret = _lib._objc_msgSend_1193(this.pointer, _lib._sel_format1); return AVAudioFormat._(_ret, _lib, retain: true, release: true); } bool get meteringEnabled { - return _lib._objc_msgSend_12(_id, _lib._sel_isMeteringEnabled1); + return _lib._objc_msgSend_12(this.pointer, _lib._sel_isMeteringEnabled1); } set meteringEnabled(bool value) { - return _lib._objc_msgSend_527(_id, _lib._sel_setMeteringEnabled_1, value); + return _lib._objc_msgSend_527( + this.pointer, + _lib._sel_setMeteringEnabled_1, + value, + ); } void updateMeters() { - _lib._objc_msgSend_1(_id, _lib._sel_updateMeters1); + _lib._objc_msgSend_1(this.pointer, _lib._sel_updateMeters1); } double peakPowerForChannel_(int channelNumber) { - return _lib._objc_msgSend_useVariants1 + return objc.useMsgSendVariants ? _lib._objc_msgSend_1194_fpret( - _id, _lib._sel_peakPowerForChannel_1, channelNumber) + this.pointer, + _lib._sel_peakPowerForChannel_1, + channelNumber, + ) : _lib._objc_msgSend_1194( - _id, _lib._sel_peakPowerForChannel_1, channelNumber); + this.pointer, + _lib._sel_peakPowerForChannel_1, + channelNumber, + ); } double averagePowerForChannel_(int channelNumber) { - return _lib._objc_msgSend_useVariants1 + return objc.useMsgSendVariants ? _lib._objc_msgSend_1194_fpret( - _id, _lib._sel_averagePowerForChannel_1, channelNumber) + this.pointer, + _lib._sel_averagePowerForChannel_1, + channelNumber, + ) : _lib._objc_msgSend_1194( - _id, _lib._sel_averagePowerForChannel_1, channelNumber); + this.pointer, + _lib._sel_averagePowerForChannel_1, + channelNumber, + ); } NSArray? get channelAssignments { - final _ret = _lib._objc_msgSend_84(_id, _lib._sel_channelAssignments1); + final _ret = _lib._objc_msgSend_84( + this.pointer, + _lib._sel_channelAssignments1, + ); return _ret.address == 0 ? null : NSArray._(_ret, _lib, retain: true, release: true); @@ -77206,248 +103780,334 @@ class AVAudioPlayer extends NSObject { set channelAssignments(NSArray? value) { return _lib._objc_msgSend_1053( - _id, _lib._sel_setChannelAssignments_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setChannelAssignments_1, + value?.pointer ?? ffi.nullptr, + ); } @override AVAudioPlayer init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return AVAudioPlayer._(_ret, _lib, retain: true, release: true); } static AVAudioPlayer new1(AVFAudio _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_AVAudioPlayer1, _lib._sel_new1); + final _ret = _lib._objc_msgSend_2( + _lib._class_AVAudioPlayer1, + _lib._sel_new1, + ); return AVAudioPlayer._(_ret, _lib, retain: false, release: true); } static AVAudioPlayer allocWithZone_( - AVFAudio _lib, ffi.Pointer<_NSZone> zone) { + AVFAudio _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_AVAudioPlayer1, _lib._sel_allocWithZone_1, zone); + _lib._class_AVAudioPlayer1, + _lib._sel_allocWithZone_1, + zone, + ); return AVAudioPlayer._(_ret, _lib, retain: false, release: true); } static AVAudioPlayer alloc(AVFAudio _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_AVAudioPlayer1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_AVAudioPlayer1, + _lib._sel_alloc1, + ); return AVAudioPlayer._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + AVFAudio _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_AVAudioPlayer1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_AVAudioPlayer1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_AVAudioPlayer1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + AVFAudio _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_AVAudioPlayer1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { return _lib._objc_msgSend_12( - _lib._class_AVAudioPlayer1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_AVAudioPlayer1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(AVFAudio _lib) { return _lib._objc_msgSend_12( - _lib._class_AVAudioPlayer1, _lib._sel_useStoredAccessor1); + _lib._class_AVAudioPlayer1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_AVAudioPlayer1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_AVAudioPlayer1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_AVAudioPlayer1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_AVAudioPlayer1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, NSArray keys, NSString dependentKey) { + AVFAudio _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_AVAudioPlayer1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_AVAudioPlayer1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { final _ret = _lib._objc_msgSend_85( - _lib._class_AVAudioPlayer1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_AVAudioPlayer1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(AVFAudio _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_AVAudioPlayer1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_AVAudioPlayer1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } class AVAudioFormat extends NSObject { - AVAudioFormat._(ffi.Pointer id, AVFAudio lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + AVAudioFormat._( + ffi.Pointer pointer, + AVFAudio lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [AVAudioFormat] that points to the same underlying object as [other]. - static AVAudioFormat castFrom(T other) { - return AVAudioFormat._(other._id, other._lib, retain: true, release: true); + static AVAudioFormat castFrom( + AVFAudio lib, + T other, + ) { + return AVAudioFormat._(other.pointer, lib, retain: true, release: true); } /// Returns a [AVAudioFormat] that wraps the given raw object pointer. static AVAudioFormat castFromPointer( - AVFAudio lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + AVFAudio lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return AVAudioFormat._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [AVAudioFormat]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_AVAudioFormat1); + static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_AVAudioFormat1, + ); } AVAudioFormat? initWithStreamDescription_( - ffi.Pointer asbd) { + ffi.Pointer asbd, + ) { final _ret = _lib._objc_msgSend_1177( - _id, _lib._sel_initWithStreamDescription_1, asbd); + this.pointer, + _lib._sel_initWithStreamDescription_1, + asbd, + ); return _ret.address == 0 ? null : AVAudioFormat._(_ret, _lib, retain: true, release: true); } AVAudioFormat? initWithStreamDescription_channelLayout_( - ffi.Pointer asbd, - AVAudioChannelLayout? layout) { + ffi.Pointer asbd, + AVAudioChannelLayout? layout, + ) { final _ret = _lib._objc_msgSend_1183( - _id, - _lib._sel_initWithStreamDescription_channelLayout_1, - asbd, - layout?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_initWithStreamDescription_channelLayout_1, + asbd, + layout?.pointer ?? ffi.nullptr, + ); return _ret.address == 0 ? null : AVAudioFormat._(_ret, _lib, retain: true, release: true); } AVAudioFormat? initStandardFormatWithSampleRate_channels_( - double sampleRate, int channels) { + double sampleRate, + int channels, + ) { final _ret = _lib._objc_msgSend_1184( - _id, - _lib._sel_initStandardFormatWithSampleRate_channels_1, - sampleRate, - channels); + this.pointer, + _lib._sel_initStandardFormatWithSampleRate_channels_1, + sampleRate, + channels, + ); return _ret.address == 0 ? null : AVAudioFormat._(_ret, _lib, retain: true, release: true); } AVAudioFormat initStandardFormatWithSampleRate_channelLayout_( - double sampleRate, AVAudioChannelLayout layout) { + double sampleRate, + AVAudioChannelLayout layout, + ) { final _ret = _lib._objc_msgSend_1185( - _id, - _lib._sel_initStandardFormatWithSampleRate_channelLayout_1, - sampleRate, - layout._id); + this.pointer, + _lib._sel_initStandardFormatWithSampleRate_channelLayout_1, + sampleRate, + layout.pointer, + ); return AVAudioFormat._(_ret, _lib, retain: true, release: true); } AVAudioFormat? initWithCommonFormat_sampleRate_channels_interleaved_( - int format, double sampleRate, int channels, bool interleaved) { + int format, + double sampleRate, + int channels, + bool interleaved, + ) { final _ret = _lib._objc_msgSend_1186( - _id, - _lib._sel_initWithCommonFormat_sampleRate_channels_interleaved_1, - format, - sampleRate, - channels, - interleaved); + this.pointer, + _lib._sel_initWithCommonFormat_sampleRate_channels_interleaved_1, + format, + sampleRate, + channels, + interleaved, + ); return _ret.address == 0 ? null : AVAudioFormat._(_ret, _lib, retain: true, release: true); } AVAudioFormat initWithCommonFormat_sampleRate_interleaved_channelLayout_( - int format, - double sampleRate, - bool interleaved, - AVAudioChannelLayout layout) { + int format, + double sampleRate, + bool interleaved, + AVAudioChannelLayout layout, + ) { final _ret = _lib._objc_msgSend_1187( - _id, - _lib._sel_initWithCommonFormat_sampleRate_interleaved_channelLayout_1, - format, - sampleRate, - interleaved, - layout._id); + this.pointer, + _lib._sel_initWithCommonFormat_sampleRate_interleaved_channelLayout_1, + format, + sampleRate, + interleaved, + layout.pointer, + ); return AVAudioFormat._(_ret, _lib, retain: true, release: true); } AVAudioFormat? initWithSettings_(NSDictionary settings) { - final _ret = - _lib._objc_msgSend_851(_id, _lib._sel_initWithSettings_1, settings._id); + final _ret = _lib._objc_msgSend_851( + this.pointer, + _lib._sel_initWithSettings_1, + settings.pointer, + ); return _ret.address == 0 ? null : AVAudioFormat._(_ret, _lib, retain: true, release: true); } AVAudioFormat initWithCMAudioFormatDescription_( - ffi.Pointer formatDescription) { + ffi.Pointer formatDescription, + ) { final _ret = _lib._objc_msgSend_1188( - _id, _lib._sel_initWithCMAudioFormatDescription_1, formatDescription); + this.pointer, + _lib._sel_initWithCMAudioFormatDescription_1, + formatDescription, + ); return AVAudioFormat._(_ret, _lib, retain: true, release: true); } bool isEqual_(NSObject object) { - return _lib._objc_msgSend_0(_id, _lib._sel_isEqual_1, object._id); + return _lib._objc_msgSend_0( + this.pointer, + _lib._sel_isEqual_1, + object.pointer, + ); } bool get standard { - return _lib._objc_msgSend_12(_id, _lib._sel_isStandard1); + return _lib._objc_msgSend_12(this.pointer, _lib._sel_isStandard1); } int get commonFormat { - return _lib._objc_msgSend_1189(_id, _lib._sel_commonFormat1); + return _lib._objc_msgSend_1189(this.pointer, _lib._sel_commonFormat1); } int get channelCount { - return _lib._objc_msgSend_1182(_id, _lib._sel_channelCount1); + return _lib._objc_msgSend_1182(this.pointer, _lib._sel_channelCount1); } double get sampleRate { - return _lib._objc_msgSend_useVariants1 - ? _lib._objc_msgSend_165_fpret(_id, _lib._sel_sampleRate1) - : _lib._objc_msgSend_165(_id, _lib._sel_sampleRate1); + return objc.useMsgSendVariants + ? _lib._objc_msgSend_165_fpret(this.pointer, _lib._sel_sampleRate1) + : _lib._objc_msgSend_165(this.pointer, _lib._sel_sampleRate1); } bool get interleaved { - return _lib._objc_msgSend_12(_id, _lib._sel_isInterleaved1); + return _lib._objc_msgSend_12(this.pointer, _lib._sel_isInterleaved1); } ffi.Pointer get streamDescription { - return _lib._objc_msgSend_1190(_id, _lib._sel_streamDescription1); + return _lib._objc_msgSend_1190(this.pointer, _lib._sel_streamDescription1); } AVAudioChannelLayout? get channelLayout { - final _ret = _lib._objc_msgSend_1191(_id, _lib._sel_channelLayout1); + final _ret = _lib._objc_msgSend_1191( + this.pointer, + _lib._sel_channelLayout1, + ); return _ret.address == 0 ? null : AVAudioChannelLayout._(_ret, _lib, retain: true, release: true); } NSData? get magicCookie { - final _ret = _lib._objc_msgSend_286(_id, _lib._sel_magicCookie1); + final _ret = _lib._objc_msgSend_286(this.pointer, _lib._sel_magicCookie1); return _ret.address == 0 ? null : NSData._(_ret, _lib, retain: true, release: true); @@ -77455,103 +104115,144 @@ class AVAudioFormat extends NSObject { set magicCookie(NSData? value) { return _lib._objc_msgSend_1021( - _id, _lib._sel_setMagicCookie_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setMagicCookie_1, + value?.pointer ?? ffi.nullptr, + ); } NSDictionary get settings { - final _ret = _lib._objc_msgSend_181(_id, _lib._sel_settings1); + final _ret = _lib._objc_msgSend_181(this.pointer, _lib._sel_settings1); return NSDictionary._(_ret, _lib, retain: true, release: true); } ffi.Pointer get formatDescription { - return _lib._objc_msgSend_1192(_id, _lib._sel_formatDescription1); + return _lib._objc_msgSend_1192(this.pointer, _lib._sel_formatDescription1); } @override AVAudioFormat init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return AVAudioFormat._(_ret, _lib, retain: true, release: true); } static AVAudioFormat new1(AVFAudio _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_AVAudioFormat1, _lib._sel_new1); + final _ret = _lib._objc_msgSend_2( + _lib._class_AVAudioFormat1, + _lib._sel_new1, + ); return AVAudioFormat._(_ret, _lib, retain: false, release: true); } static AVAudioFormat allocWithZone_( - AVFAudio _lib, ffi.Pointer<_NSZone> zone) { + AVFAudio _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_AVAudioFormat1, _lib._sel_allocWithZone_1, zone); + _lib._class_AVAudioFormat1, + _lib._sel_allocWithZone_1, + zone, + ); return AVAudioFormat._(_ret, _lib, retain: false, release: true); } static AVAudioFormat alloc(AVFAudio _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_AVAudioFormat1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_AVAudioFormat1, + _lib._sel_alloc1, + ); return AVAudioFormat._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + AVFAudio _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_AVAudioFormat1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_AVAudioFormat1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_AVAudioFormat1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + AVFAudio _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_AVAudioFormat1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { return _lib._objc_msgSend_12( - _lib._class_AVAudioFormat1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_AVAudioFormat1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(AVFAudio _lib) { return _lib._objc_msgSend_12( - _lib._class_AVAudioFormat1, _lib._sel_useStoredAccessor1); + _lib._class_AVAudioFormat1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_AVAudioFormat1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_AVAudioFormat1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_AVAudioFormat1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_AVAudioFormat1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, NSArray keys, NSString dependentKey) { + AVFAudio _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_AVAudioFormat1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_AVAudioFormat1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { final _ret = _lib._objc_msgSend_85( - _lib._class_AVAudioFormat1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_AVAudioFormat1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(AVFAudio _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_AVAudioFormat1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_AVAudioFormat1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } @@ -77586,158 +104287,232 @@ final class AudioStreamBasicDescription extends ffi.Struct { } class AVAudioChannelLayout extends NSObject { - AVAudioChannelLayout._(ffi.Pointer id, AVFAudio lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + AVAudioChannelLayout._( + ffi.Pointer pointer, + AVFAudio lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [AVAudioChannelLayout] that points to the same underlying object as [other]. - static AVAudioChannelLayout castFrom(T other) { - return AVAudioChannelLayout._(other._id, other._lib, - retain: true, release: true); + static AVAudioChannelLayout castFrom( + AVFAudio lib, + T other, + ) { + return AVAudioChannelLayout._( + other.pointer, + lib, + retain: true, + release: true, + ); } /// Returns a [AVAudioChannelLayout] that wraps the given raw object pointer. static AVAudioChannelLayout castFromPointer( - AVFAudio lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + AVFAudio lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return AVAudioChannelLayout._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [AVAudioChannelLayout]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0(obj._id, obj._lib._sel_isKindOfClass_1, - obj._lib._class_AVAudioChannelLayout1); + static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_AVAudioChannelLayout1, + ); } @override AVAudioChannelLayout init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return AVAudioChannelLayout._(_ret, _lib, retain: true, release: true); } AVAudioChannelLayout? initWithLayoutTag_(int layoutTag) { - final _ret = - _lib._objc_msgSend_1178(_id, _lib._sel_initWithLayoutTag_1, layoutTag); + final _ret = _lib._objc_msgSend_1178( + this.pointer, + _lib._sel_initWithLayoutTag_1, + layoutTag, + ); return _ret.address == 0 ? null : AVAudioChannelLayout._(_ret, _lib, retain: true, release: true); } AVAudioChannelLayout initWithLayout_(ffi.Pointer layout) { - final _ret = - _lib._objc_msgSend_1179(_id, _lib._sel_initWithLayout_1, layout); + final _ret = _lib._objc_msgSend_1179( + this.pointer, + _lib._sel_initWithLayout_1, + layout, + ); return AVAudioChannelLayout._(_ret, _lib, retain: true, release: true); } bool isEqual_(NSObject object) { - return _lib._objc_msgSend_0(_id, _lib._sel_isEqual_1, object._id); + return _lib._objc_msgSend_0( + this.pointer, + _lib._sel_isEqual_1, + object.pointer, + ); } static AVAudioChannelLayout layoutWithLayoutTag_( - AVFAudio _lib, int layoutTag) { - final _ret = _lib._objc_msgSend_1180(_lib._class_AVAudioChannelLayout1, - _lib._sel_layoutWithLayoutTag_1, layoutTag); + AVFAudio _lib, + int layoutTag, + ) { + final _ret = _lib._objc_msgSend_1180( + _lib._class_AVAudioChannelLayout1, + _lib._sel_layoutWithLayoutTag_1, + layoutTag, + ); return AVAudioChannelLayout._(_ret, _lib, retain: true, release: true); } static AVAudioChannelLayout layoutWithLayout_( - AVFAudio _lib, ffi.Pointer layout) { - final _ret = _lib._objc_msgSend_1179(_lib._class_AVAudioChannelLayout1, - _lib._sel_layoutWithLayout_1, layout); + AVFAudio _lib, + ffi.Pointer layout, + ) { + final _ret = _lib._objc_msgSend_1179( + _lib._class_AVAudioChannelLayout1, + _lib._sel_layoutWithLayout_1, + layout, + ); return AVAudioChannelLayout._(_ret, _lib, retain: true, release: true); } int get layoutTag { - return _lib._objc_msgSend_214(_id, _lib._sel_layoutTag1); + return _lib._objc_msgSend_214(this.pointer, _lib._sel_layoutTag1); } ffi.Pointer get layout { - return _lib._objc_msgSend_1181(_id, _lib._sel_layout1); + return _lib._objc_msgSend_1181(this.pointer, _lib._sel_layout1); } int get channelCount { - return _lib._objc_msgSend_1182(_id, _lib._sel_channelCount1); + return _lib._objc_msgSend_1182(this.pointer, _lib._sel_channelCount1); } static AVAudioChannelLayout new1(AVFAudio _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_AVAudioChannelLayout1, _lib._sel_new1); + final _ret = _lib._objc_msgSend_2( + _lib._class_AVAudioChannelLayout1, + _lib._sel_new1, + ); return AVAudioChannelLayout._(_ret, _lib, retain: false, release: true); } static AVAudioChannelLayout allocWithZone_( - AVFAudio _lib, ffi.Pointer<_NSZone> zone) { + AVFAudio _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_AVAudioChannelLayout1, _lib._sel_allocWithZone_1, zone); + _lib._class_AVAudioChannelLayout1, + _lib._sel_allocWithZone_1, + zone, + ); return AVAudioChannelLayout._(_ret, _lib, retain: false, release: true); } static AVAudioChannelLayout alloc(AVFAudio _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_AVAudioChannelLayout1, _lib._sel_alloc1); + _lib._class_AVAudioChannelLayout1, + _lib._sel_alloc1, + ); return AVAudioChannelLayout._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + AVFAudio _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_AVAudioChannelLayout1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_AVAudioChannelLayout1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_AVAudioChannelLayout1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + AVFAudio _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_AVAudioChannelLayout1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { - return _lib._objc_msgSend_12(_lib._class_AVAudioChannelLayout1, - _lib._sel_accessInstanceVariablesDirectly1); + return _lib._objc_msgSend_12( + _lib._class_AVAudioChannelLayout1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(AVFAudio _lib) { return _lib._objc_msgSend_12( - _lib._class_AVAudioChannelLayout1, _lib._sel_useStoredAccessor1); + _lib._class_AVAudioChannelLayout1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_AVAudioChannelLayout1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_AVAudioChannelLayout1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_AVAudioChannelLayout1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + AVFAudio _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_AVAudioChannelLayout1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, NSArray keys, NSString dependentKey) { + AVFAudio _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_AVAudioChannelLayout1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_AVAudioChannelLayout1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_85(_lib._class_AVAudioChannelLayout1, - _lib._sel_classFallbacksForKeyedArchiver1); + final _ret = _lib._objc_msgSend_85( + _lib._class_AVAudioChannelLayout1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(AVFAudio _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_AVAudioChannelLayout1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_AVAudioChannelLayout1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } diff --git a/pkgs/ffigen/example/objective_c/pubspec.yaml b/pkgs/ffigen/example/objective_c/pubspec.yaml index a912faaff..392085f8b 100644 --- a/pkgs/ffigen/example/objective_c/pubspec.yaml +++ b/pkgs/ffigen/example/objective_c/pubspec.yaml @@ -13,3 +13,7 @@ dev_dependencies: ffigen: path: '../../' lints: ^2.0.0 + +dependency_overrides: + objective_c: + path: ../../../objective_c/ diff --git a/pkgs/ffigen/lib/src/code_generator/imports.dart b/pkgs/ffigen/lib/src/code_generator/imports.dart index f620909b6..86237f558 100644 --- a/pkgs/ffigen/lib/src/code_generator/imports.dart +++ b/pkgs/ffigen/lib/src/code_generator/imports.dart @@ -76,6 +76,8 @@ class SelfImportedType extends Type { final ffiImport = LibraryImport('ffi', 'dart:ffi'); final ffiPkgImport = LibraryImport('pkg_ffi', 'package:ffi/ffi.dart'); +final objcPkgImport = + LibraryImport('objc', 'package:objective_c/objective_c.dart'); final self = LibraryImport('self', ''); final voidType = ImportedType(ffiImport, 'Void', 'void'); @@ -99,5 +101,6 @@ final doubleType = ImportedType(ffiImport, 'Double', 'double', '0.0'); final sizeType = ImportedType(ffiImport, 'Size', 'int', '0'); final wCharType = ImportedType(ffiImport, 'WChar', 'int', '0'); -final objCObjectType = Struct(name: 'ObjCObject'); -final objCSelType = Struct(name: 'ObjCSel'); +final objCObjectType = ImportedType(objcPkgImport, 'ObjCObject', 'ObjCObject'); +final objCSelType = ImportedType(objcPkgImport, 'ObjCSelector', 'ObjCSelector'); +final objCBlockType = ImportedType(objcPkgImport, 'ObjCBlock', 'ObjCBlock'); diff --git a/pkgs/ffigen/lib/src/code_generator/library.dart b/pkgs/ffigen/lib/src/code_generator/library.dart index 60ad7c3ff..ef9149b5d 100644 --- a/pkgs/ffigen/lib/src/code_generator/library.dart +++ b/pkgs/ffigen/lib/src/code_generator/library.dart @@ -150,8 +150,8 @@ class Library { /// Formats a file using the Dart formatter. void _dartFormat(String path) { final sdkPath = getSdkPath(); - final result = Process.runSync( - p.join(sdkPath, 'bin', 'dart'), ['format', path], + final result = Process.runSync(p.join(sdkPath, 'bin', 'dart'), + ['format', '--enable-experiment=tall-style', path], runInShell: Platform.isWindows); if (result.stderr.toString().isNotEmpty) { _logger.severe(result.stderr); diff --git a/pkgs/ffigen/lib/src/code_generator/objc_block.dart b/pkgs/ffigen/lib/src/code_generator/objc_block.dart index 6101f79da..8ba4ce82e 100644 --- a/pkgs/ffigen/lib/src/code_generator/objc_block.dart +++ b/pkgs/ffigen/lib/src/code_generator/objc_block.dart @@ -47,8 +47,6 @@ class ObjCBlock extends BindingType { BindingString toBindingString(Writer w) { final s = StringBuffer(); - builtInFunctions.ensureBlockUtilsExist(w, s); - final params = []; for (int i = 0; i < argTypes.length; ++i) { params.add(Parameter(name: 'arg$i', type: argTypes[i])); @@ -56,7 +54,7 @@ class ObjCBlock extends BindingType { final isVoid = returnType == voidType; final voidPtr = PointerType(voidType).getCType(w); - final blockPtr = PointerType(builtInFunctions.blockStruct); + final blockPtr = PointerType(objCBlockType); final funcType = FunctionType(returnType: returnType, parameters: params); final natFnType = NativeFunc(funcType); final natFnPtr = PointerType(natFnType).getCType(w); @@ -130,10 +128,12 @@ $returnFfiDartType $closureTrampoline($blockCType block, $paramsFfiDartType) => final defaultValue = returnType.getDefaultValue(w, '_lib'); final exceptionalReturn = defaultValue == null ? '' : ', $defaultValue'; s.write(''' -class $name extends _ObjCBlockBase { - $name._($blockCType id, ${w.className} lib, +class $name extends ${builtInFunctions.blockBase.gen(w)} { + $name._($blockCType pointer, this._lib, {bool retain = false, bool release = true}) : - super._(id, lib, retain: retain, release: release); + super(pointer, retain: retain, release: release); + + ${w.className} _lib; /// Returns a block that wraps the given raw block pointer. static $name castFromPointer(${w.className} lib, $blockCType pointer, @@ -147,7 +147,7 @@ class $name extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. $name.fromFunctionPointer(${w.className} lib, $natFnPtr ptr) : - this._(lib.${builtInFunctions.newBlock.name}( + this._(${builtInFunctions.newBlock.gen(w)}( _cFuncTrampoline ??= ${w.ffiLibraryPrefix}.Pointer.fromFunction< $trampFuncCType>($funcPtrTrampoline $exceptionalReturn).cast(), ptr.cast()), lib); @@ -159,7 +159,7 @@ class $name extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. $name.fromFunction(${w.className} lib, $funcDartType fn) : - this._(lib.${builtInFunctions.newBlock.name}( + this._(${builtInFunctions.newBlock.gen(w)}( _dartFuncTrampoline ??= ${w.ffiLibraryPrefix}.Pointer.fromFunction< $trampFuncCType>($closureTrampoline $exceptionalReturn).cast(), $registerClosure($convFn)), lib); @@ -180,7 +180,7 @@ class $name extends _ObjCBlockBase { /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. $name.listener(${w.className} lib, $funcDartType fn) : - this._(lib.${builtInFunctions.newBlock.name}( + this._(${builtInFunctions.newBlock.gen(w)}( (_dartFuncListenerTrampoline ??= $nativeCallableType.listener( $closureTrampoline $exceptionalReturn)..keepIsolateAlive = false).nativeFunction.cast(), @@ -197,8 +197,8 @@ class $name extends _ObjCBlockBase { p.type.convertDartTypeToFfiDartType(w, p.name, objCRetain: false)) .join(', '); final callMethodInvocation = ''' -_id.ref.invoke.cast<$natTrampFnType>().asFunction<$trampFuncFfiDartType>()( - _id, $callMethodArgs)'''; +pointer.ref.invoke.cast<$natTrampFnType>().asFunction<$trampFuncFfiDartType>()( + pointer, $callMethodArgs)'''; s.write(returnType.convertFfiDartTypeToDartType( w, callMethodInvocation, '_lib', objCRetain: false)); @@ -218,12 +218,10 @@ _id.ref.invoke.cast<$natTrampFnType>().asFunction<$trampFuncFfiDartType>()( for (final t in argTypes) { t.addDependencies(dependencies); } - builtInFunctions.addBlockDependencies(dependencies); } @override - String getCType(Writer w) => - PointerType(builtInFunctions.blockStruct).getCType(w); + String getCType(Writer w) => PointerType(objCBlockType).getCType(w); @override String getDartType(Writer w) => name; diff --git a/pkgs/ffigen/lib/src/code_generator/objc_built_in_functions.dart b/pkgs/ffigen/lib/src/code_generator/objc_built_in_functions.dart index e3b75dd94..0049f8198 100644 --- a/pkgs/ffigen/lib/src/code_generator/objc_built_in_functions.dart +++ b/pkgs/ffigen/lib/src/code_generator/objc_built_in_functions.dart @@ -9,90 +9,16 @@ import 'writer.dart'; /// Built in functions used by the Objective C bindings. class ObjCBuiltInFunctions { - late final _registerNameFunc = Func( - name: '_sel_registerName', - originalName: 'sel_registerName', - returnType: PointerType(objCSelType), - parameters: [Parameter(name: 'str', type: PointerType(charType))], - isInternal: true, - ); - late final registerName = ObjCInternalFunction( - '_registerName', _registerNameFunc, (Writer w, String name) { - final selType = _registerNameFunc.functionType.returnType.getCType(w); - return ''' -$selType $name(String name) { - final cstr = name.toNativeUtf8(); - final sel = ${_registerNameFunc.name}(cstr.cast()); - ${w.ffiPkgLibraryPrefix}.calloc.free(cstr); - return sel; -} -'''; - }); - - late final _getClassFunc = Func( - name: '_objc_getClass', - originalName: 'objc_getClass', - returnType: PointerType(objCObjectType), - parameters: [Parameter(name: 'str', type: PointerType(charType))], - isInternal: true, - ); - late final getClass = - ObjCInternalFunction('_getClass', _getClassFunc, (Writer w, String name) { - final objType = _getClassFunc.functionType.returnType.getCType(w); - return ''' -$objType $name(String name) { - final cstr = name.toNativeUtf8(); - final clazz = ${_getClassFunc.name}(cstr.cast()); - ${w.ffiPkgLibraryPrefix}.calloc.free(cstr); - if (clazz == ${w.ffiLibraryPrefix}.nullptr) { - throw Exception('Failed to load Objective-C class: \$name'); - } - return clazz; -} -'''; - }); - - late final _retainFunc = Func( - name: '_objc_retain', - originalName: 'objc_retain', - returnType: PointerType(objCObjectType), - parameters: [Parameter(name: 'value', type: PointerType(objCObjectType))], - isInternal: true, - ); - late final _releaseFunc = Func( - name: '_objc_release', - originalName: 'objc_release', - returnType: voidType, - parameters: [Parameter(name: 'value', type: PointerType(objCObjectType))], - isInternal: true, - ); - late final _releaseFinalizer = ObjCInternalGlobal( - '_objc_releaseFinalizer', - (Writer w) => '${w.ffiLibraryPrefix}.NativeFinalizer(' - '${_releaseFunc.funcPointerName}.cast())', - _releaseFunc, - ); - - late final _blockCopyFunc = Func( - name: '_Block_copy', - originalName: '_Block_copy', - returnType: PointerType(voidType), - parameters: [Parameter(name: 'value', type: PointerType(voidType))], - isInternal: true, - ); - late final _blockReleaseFunc = Func( - name: '_Block_release', - originalName: '_Block_release', - returnType: voidType, - parameters: [Parameter(name: 'value', type: PointerType(voidType))], - isInternal: true, - ); - late final _blockReleaseFinalizer = ObjCInternalGlobal( - '_objc_releaseFinalizer', - (Writer w) => '${w.ffiLibraryPrefix}.NativeFinalizer(' - '${_blockReleaseFunc.funcPointerName}.cast())', - _blockReleaseFunc, - ); + late final registerName = ObjCImport('registerName'); + late final getClass = ObjCImport('getClass'); + late final objectRetain = ObjCImport('objectRetain'); + late final objectRelease = ObjCImport('objectRelease'); + late final newBlock = ObjCImport('newBlock'); + late final blockCopy = ObjCImport('blockCopy'); + late final blockRelease = ObjCImport('blockRelease'); + late final useMsgSendVariants = ObjCImport('useMsgSendVariants'); + late final objectBase = ObjCImport('ObjCObjectBase'); + late final blockBase = ObjCImport('ObjCBlockBase'); // We need to load a separate instance of objc_msgSend for each signature. If // the return type is a struct, we need to use objc_msgSend_stret instead, and @@ -108,196 +34,18 @@ $objType $name(String name) { '_objc_msgSend_${_msgSendFuncs.length}', returnType, params, - _msgSendUseVariants); + useMsgSendVariants); } - late final _msgSendUseVariants = ObjCInternalGlobal( - '_objc_msgSend_useVariants', - (Writer w) => ''' -${w.ffiLibraryPrefix}.Abi.current() == ${w.ffiLibraryPrefix}.Abi.iosX64 || -${w.ffiLibraryPrefix}.Abi.current() == ${w.ffiLibraryPrefix}.Abi.macosX64 -'''); - final _selObjects = {}; ObjCInternalGlobal getSelObject(String methodName) { return _selObjects[methodName] ??= ObjCInternalGlobal( '_sel_${methodName.replaceAll(":", "_")}', - (Writer w) => '${registerName.name}("$methodName")', - registerName, + (Writer w) => '${registerName.gen(w)}("$methodName")', ); } - // See https://clang.llvm.org/docs/Block-ABI-Apple.html - late final blockStruct = Struct( - name: '_ObjCBlock', - isInternal: true, - members: [ - Member(name: 'isa', type: PointerType(voidType)), - Member(name: 'flags', type: intType), - Member(name: 'reserved', type: intType), - Member(name: 'invoke', type: PointerType(voidType)), - Member(name: 'descriptor', type: PointerType(blockDescStruct)), - Member(name: 'target', type: PointerType(voidType)), - ], - ); - late final blockDescStruct = Struct( - name: '_ObjCBlockDesc', - isInternal: true, - members: [ - Member(name: 'reserved', type: unsignedLongType), - Member(name: 'size', type: unsignedLongType), - Member(name: 'copy_helper', type: PointerType(voidType)), - Member(name: 'dispose_helper', type: PointerType(voidType)), - Member(name: 'signature', type: PointerType(charType)), - ], - ); - late final newBlockDesc = - ObjCInternalFunction('_newBlockDesc', null, (Writer w, String name) { - final blockType = blockStruct.getCType(w); - final descType = blockDescStruct.getCType(w); - final descPtr = PointerType(blockDescStruct).getCType(w); - return ''' -$descPtr $name() { - final d = ${w.ffiPkgLibraryPrefix}.calloc.allocate<$descType>( - ${w.ffiLibraryPrefix}.sizeOf<$descType>()); - d.ref.reserved = 0; - d.ref.size = ${w.ffiLibraryPrefix}.sizeOf<$blockType>(); - d.ref.copy_helper = ${w.ffiLibraryPrefix}.nullptr; - d.ref.dispose_helper = ${w.ffiLibraryPrefix}.nullptr; - d.ref.signature = ${w.ffiLibraryPrefix}.nullptr; - return d; -} -'''; - }); - late final blockDescSingleton = ObjCInternalGlobal( - '_objc_block_desc', - (Writer w) => '${newBlockDesc.name}()', - blockDescStruct, - ); - late final concreteGlobalBlock = ObjCInternalGlobal( - '_objc_concrete_global_block', - (Writer w) => '${w.lookupFuncIdentifier}<${voidType.getCType(w)}>(' - "'_NSConcreteGlobalBlock')", - ); - late final newBlock = ObjCInternalFunction('_newBlock', _blockCopyFunc, - (Writer w, String name) { - final blockType = blockStruct.getCType(w); - final blockPtr = PointerType(blockStruct).getCType(w); - final voidPtr = PointerType(voidType).getCType(w); - return ''' -$blockPtr $name($voidPtr invoke, $voidPtr target) { - final b = ${w.ffiPkgLibraryPrefix}.calloc.allocate<$blockType>( - ${w.ffiLibraryPrefix}.sizeOf<$blockType>()); - b.ref.isa = ${concreteGlobalBlock.name}; - b.ref.flags = 0; - b.ref.reserved = 0; - b.ref.invoke = invoke; - b.ref.target = target; - b.ref.descriptor = ${blockDescSingleton.name}; - final copy = ${_blockCopyFunc.name}(b.cast()).cast<$blockType>(); - ${w.ffiPkgLibraryPrefix}.calloc.free(b); - return copy; -} -'''; - }); - - void _writeFinalizableClass( - Writer w, - StringBuffer s, - String name, - String kind, - String idType, - String retain, - String release, - String finalizer) { - s.write(''' -class $name implements ${w.ffiLibraryPrefix}.Finalizable { - final $idType _id; - final ${w.className} _lib; - bool _pendingRelease; - - $name._(this._id, this._lib, - {bool retain = false, bool release = false}) : _pendingRelease = release { - if (retain) { - _lib.$retain(_id.cast()); - } - if (release) { - _lib.$finalizer.attach(this, _id.cast(), detach: this); - } - } - - /// Releases the reference to the underlying ObjC $kind held by this wrapper. - /// Throws a StateError if this wrapper doesn't currently hold a reference. - void release() { - if (_pendingRelease) { - _pendingRelease = false; - _lib.$release(_id.cast()); - _lib.$finalizer.detach(this); - } else { - throw StateError( - 'Released an ObjC $kind that was unowned or already released.'); - } - } - - @override - bool operator ==(Object other) { - return other is $name && _id == other._id; - } - - @override - int get hashCode => _id.hashCode; - - /// Return a pointer to this object. - $idType get pointer => _id; - - /// Retain a reference to this object and then return the pointer. This - /// reference must be released when you are done with it. If you wrap this - /// reference in another object, make sure to release it but not retain it: - /// `castFromPointer(lib, pointer, retain: false, release: true)` - $idType retainAndReturnPointer() { - _lib.$retain(_id.cast()); - return _id; - } -} -'''); - } - - bool utilsExist = false; - void ensureUtilsExist(Writer w, StringBuffer s) { - if (utilsExist) return; - utilsExist = true; - _writeFinalizableClass( - w, - s, - '_ObjCWrapper', - 'object', - PointerType(objCObjectType).getCType(w), - _retainFunc.name, - _releaseFunc.name, - _releaseFinalizer.name); - } - - bool blockUtilsExist = false; - void ensureBlockUtilsExist(Writer w, StringBuffer s) { - if (blockUtilsExist) return; - blockUtilsExist = true; - _writeFinalizableClass( - w, - s, - '_ObjCBlockBase', - 'block', - PointerType(blockStruct).getCType(w), - _blockCopyFunc.name, - _blockReleaseFunc.name, - _blockReleaseFinalizer.name); - } - void addDependencies(Set dependencies) { - registerName.addDependencies(dependencies); - getClass.addDependencies(dependencies); - _retainFunc.addDependencies(dependencies); - _releaseFunc.addDependencies(dependencies); - _releaseFinalizer.addDependencies(dependencies); for (final msgSendFunc in _msgSendFuncs.values) { msgSendFunc.addDependencies(dependencies); } @@ -306,17 +54,6 @@ class $name implements ${w.ffiLibraryPrefix}.Finalizable { } } - void addBlockDependencies(Set dependencies) { - newBlockDesc.addDependencies(dependencies); - blockDescSingleton.addDependencies(dependencies); - blockStruct.addDependencies(dependencies); - concreteGlobalBlock.addDependencies(dependencies); - newBlock.addDependencies(dependencies); - _blockCopyFunc.addDependencies(dependencies); - _blockReleaseFunc.addDependencies(dependencies); - _blockReleaseFinalizer.addDependencies(dependencies); - } - final _interfaceRegistry = {}; void registerInterface(ObjCInterface interface) { _interfaceRegistry[interface.originalName] = interface; @@ -361,37 +98,20 @@ extension StringToNSString on String { } } -/// Functions only used internally by ObjC bindings, which may or may not wrap a -/// native function, such as getClass. -class ObjCInternalFunction extends LookUpBinding { - final Func? _wrappedFunction; - final String Function(Writer, String) _toBindingString; +/// A function, global variable, or helper type defined in package:objective_c. +class ObjCImport { + String name; - ObjCInternalFunction( - String name, this._wrappedFunction, this._toBindingString) - : super(originalName: name, name: name, isInternal: true); - - @override - BindingString toBindingString(Writer w) { - name = w.wrapperLevelUniqueNamer.makeUnique(name); - return BindingString( - type: BindingStringType.func, string: _toBindingString(w, name)); - } + ObjCImport(this.name); - @override - void addDependencies(Set dependencies) { - if (dependencies.contains(this)) return; - dependencies.add(this); - _wrappedFunction?.addDependencies(dependencies); - } + String gen(Writer w) => '${w.objcPkgPrefix}.$name'; } /// Globals only used internally by ObjC bindings, such as classes and SELs. class ObjCInternalGlobal extends LookUpBinding { final String Function(Writer) makeValue; - Binding? binding; - ObjCInternalGlobal(String name, this.makeValue, [this.binding]) + ObjCInternalGlobal(String name, this.makeValue) : super(originalName: name, name: name, isInternal: true); @override @@ -406,7 +126,6 @@ class ObjCInternalGlobal extends LookUpBinding { void addDependencies(Set dependencies) { if (dependencies.contains(this)) return; dependencies.add(this); - binding?.addDependencies(dependencies); } } @@ -443,7 +162,7 @@ enum ObjCMsgSendVariant { /// arg. class ObjCMsgSendFunc { final ObjCMsgSendVariant variant; - final ObjCInternalGlobal useVariants; + final ObjCImport useVariants; // [normalFunc] is always a reference to the normal objc_msgSend function. If // the [variant] is fpret or stret, then [variantFunc] is a reference to the @@ -496,14 +215,12 @@ class ObjCMsgSendFunc { bool get isStret => variant == ObjCMsgSendVariant.stret; void addDependencies(Set dependencies) { - if (variant != ObjCMsgSendVariant.normal) { - useVariants.addDependencies(dependencies); - } normalFunc.addDependencies(dependencies); variantFunc?.addDependencies(dependencies); } - String invoke(String lib, String target, String sel, Iterable params, + String invoke( + Writer w, String lib, String target, String sel, Iterable params, {String? structRetPtr}) { final normalCall = _invoke(normalFunc.name, lib, target, sel, params); switch (variant) { @@ -511,11 +228,11 @@ class ObjCMsgSendFunc { return normalCall; case ObjCMsgSendVariant.fpret: final fpretCall = _invoke(variantFunc!.name, lib, target, sel, params); - return '$lib.${useVariants.name} ? $fpretCall : $normalCall'; + return '${useVariants.gen(w)} ? $fpretCall : $normalCall'; case ObjCMsgSendVariant.stret: final stretCall = _invoke(variantFunc!.name, lib, target, sel, params, structRetPtr: structRetPtr); - return '$lib.${useVariants.name} ? $stretCall : ' + return '${useVariants.gen(w)} ? $stretCall : ' '$structRetPtr.ref = $normalCall'; } } diff --git a/pkgs/ffigen/lib/src/code_generator/objc_interface.dart b/pkgs/ffigen/lib/src/code_generator/objc_interface.dart index eafe6c892..a2b8a49e8 100644 --- a/pkgs/ffigen/lib/src/code_generator/objc_interface.dart +++ b/pkgs/ffigen/lib/src/code_generator/objc_interface.dart @@ -83,37 +83,47 @@ class ObjCInterface extends BindingType { s.write(makeDartDoc(dartDoc!)); } - final uniqueNamer = UniqueNamer({name, '_id', '_lib'}); + final uniqueNamer = UniqueNamer({name, 'pointer', '_lib'}); final natLib = w.className; - builtInFunctions.ensureUtilsExist(w, s); - final objType = PointerType(objCObjectType).getCType(w); + final rawObjType = PointerType(objCObjectType).getCType(w); + final wrapObjType = builtInFunctions.objectBase.gen(w); + + // The deepest member of the inheritance tree that lives in this library + // (rather than package:objective_c) needs a reference to the native library + // object. That reference can't live in package:objective_c's classes + // because it's specific to this generated library. + final ownsLib = superType == null; // Class declaration. s.write(''' -class $name extends ${superType?.name ?? '_ObjCWrapper'} { - $name._($objType id, $natLib lib, +class $name extends ${superType?.name ?? wrapObjType} { + $name._($rawObjType pointer, ${ownsLib ? 'this._lib' : '$natLib lib'}, {bool retain = false, bool release = false}) : - super._(id, lib, retain: retain, release: release); + ${ownsLib ? 'super(pointer, ' : 'super._(pointer, lib,'} + retain: retain, release: release); + + ${ownsLib ? '$natLib _lib;' : ''} /// Returns a [$name] that points to the same underlying object as [other]. - static $name castFrom(T other) { - return $name._(other._id, other._lib, retain: true, release: true); + static $name castFrom($natLib lib, T other) { + return $name._(other.pointer, lib, retain: true, release: true); } /// Returns a [$name] that wraps the given raw object pointer. - static $name castFromPointer($natLib lib, $objType other, + static $name castFromPointer($natLib lib, $rawObjType other, {bool retain = false, bool release = false}) { return $name._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [$name]. - static bool isInstance(_ObjCWrapper obj) { + static bool isInstance($natLib lib, $wrapObjType obj) { return ${_isKindOfClassMsgSend.invoke( - 'obj._lib', - 'obj._id', - 'obj._lib.${_isKindOfClass.name}', - ['obj._lib.${_classObject.name}'], + w, + 'lib', + 'obj.pointer', + 'lib.${_isKindOfClass.name}', + ['lib.${_classObject.name}'], )}; } @@ -204,8 +214,9 @@ class $name extends ${superType?.name ?? '_ObjCWrapper'} { s.write(' ${convertReturn ? 'final _ret = ' : 'return '}'); } s.write(m.msgSend!.invoke( + w, '_lib', - isStatic ? '_lib.${_classObject.name}' : '_id', + isStatic ? '_lib.${_classObject.name}' : 'this.pointer', '_lib.${m.selObject!.name}', m.params.map((p) => p.type .convertDartTypeToFfiDartType(w, p.name, objCRetain: false)), @@ -241,10 +252,8 @@ class $name extends ${superType?.name ?? '_ObjCWrapper'} { dependencies.add(this); builtInFunctions.addDependencies(dependencies); - _classObject = ObjCInternalGlobal( - '_class_$originalName', - (Writer w) => '${builtInFunctions.getClass.name}("$lookupName")', - builtInFunctions.getClass) + _classObject = ObjCInternalGlobal('_class_$originalName', + (Writer w) => '${builtInFunctions.getClass.gen(w)}("$lookupName")') ..addDependencies(dependencies); _isKindOfClass = builtInFunctions.getSelObject('isKindOfClass:'); _isKindOfClassMsgSend = builtInFunctions.getMsgSendFunc( @@ -412,7 +421,7 @@ class $name extends ${superType?.name ?? '_ObjCWrapper'} { ObjCInterface.generateGetId(value, objCRetain); static String generateGetId(String value, bool objCRetain) => - objCRetain ? '$value.retainAndReturnPointer()' : '$value._id'; + objCRetain ? '$value.retainAndReturnPointer()' : '$value.pointer'; @override String convertFfiDartTypeToDartType( diff --git a/pkgs/ffigen/lib/src/code_generator/writer.dart b/pkgs/ffigen/lib/src/code_generator/writer.dart index 8193de1c0..cec1fdd4b 100644 --- a/pkgs/ffigen/lib/src/code_generator/writer.dart +++ b/pkgs/ffigen/lib/src/code_generator/writer.dart @@ -60,6 +60,19 @@ class Writer { return _ffiPkgLibraryPrefix = import.prefix; } + String? _objcPkgPrefix; + String get objcPkgPrefix { + if (_objcPkgPrefix != null) { + return _objcPkgPrefix!; + } + + final import = _usedImports.firstWhere( + (element) => element.name == objcPkgImport.name, + orElse: () => objcPkgImport); + _usedImports.add(import); + return _objcPkgPrefix = import.prefix; + } + late String selfImportPrefix = () { final import = _usedImports .firstWhere((element) => element.name == self.name, orElse: () => self); diff --git a/pkgs/ffigen/pubspec.yaml b/pkgs/ffigen/pubspec.yaml index 006cc8c9f..72b810fec 100644 --- a/pkgs/ffigen/pubspec.yaml +++ b/pkgs/ffigen/pubspec.yaml @@ -17,21 +17,26 @@ environment: sdk: '>=3.3.0-252.0.dev <4.0.0' dependencies: - ffi: ^2.0.1 - yaml: ^3.0.0 - path: ^1.8.0 - quiver: ^3.0.0 args: ^2.0.0 - logging: ^1.0.0 cli_util: ^0.4.0 - glob: ^2.0.0 + collection: ^1.18.0 + ffi: ^2.0.1 file: ^7.0.0 + glob: ^2.0.0 + logging: ^1.0.0 package_config: ^2.1.0 + path: ^1.8.0 + objective_c: ^0.0.1 + quiver: ^3.0.0 + yaml: ^3.0.0 yaml_edit: ^2.0.3 - collection: ^1.18.0 dev_dependencies: - lints: ^2.0.1 - test: ^1.16.2 json_schema: ^5.1.1 + lints: ^2.0.1 meta: ^1.11.0 + test: ^1.16.2 + +dependency_overrides: + objective_c: + path: ../objective_c/ diff --git a/pkgs/objective_c/.gitignore b/pkgs/objective_c/.gitignore new file mode 100644 index 000000000..ac5aa9893 --- /dev/null +++ b/pkgs/objective_c/.gitignore @@ -0,0 +1,29 @@ +# Miscellaneous +*.class +*.log +*.pyc +*.swp +.DS_Store +.atom/ +.buildlog/ +.history +.svn/ +migrate_working_dir/ + +# IntelliJ related +*.iml +*.ipr +*.iws +.idea/ + +# The .vscode folder contains launch configuration and tasks you configure in +# VS Code which you may wish to be included in version control, so this line +# is commented out by default. +#.vscode/ + +# Flutter/Dart/Pub related +# Libraries should not include pubspec.lock, per https://dart.dev/guides/libraries/private-files#pubspeclock. +/pubspec.lock +**/doc/api/ +.dart_tool/ +build/ diff --git a/pkgs/objective_c/.metadata b/pkgs/objective_c/.metadata new file mode 100644 index 000000000..a41ab896b --- /dev/null +++ b/pkgs/objective_c/.metadata @@ -0,0 +1,33 @@ +# This file tracks properties of this Flutter project. +# Used by Flutter tool to assess capabilities and perform upgrades etc. +# +# This file should be version controlled and should not be manually edited. + +version: + revision: "aedce673f760bc19f13aa0600e2c1df9ae502117" + channel: "master" + +project_type: plugin_ffi + +# Tracks metadata for the flutter migrate command +migration: + platforms: + - platform: root + create_revision: aedce673f760bc19f13aa0600e2c1df9ae502117 + base_revision: aedce673f760bc19f13aa0600e2c1df9ae502117 + - platform: ios + create_revision: aedce673f760bc19f13aa0600e2c1df9ae502117 + base_revision: aedce673f760bc19f13aa0600e2c1df9ae502117 + - platform: macos + create_revision: aedce673f760bc19f13aa0600e2c1df9ae502117 + base_revision: aedce673f760bc19f13aa0600e2c1df9ae502117 + + # User provided section + + # List of Local paths (relative to this file) that should be + # ignored by the migrate tool. + # + # Files that are not part of the templates will be ignored by default. + unmanaged_files: + - 'lib/main.dart' + - 'ios/Runner.xcodeproj/project.pbxproj' diff --git a/pkgs/objective_c/CHANGELOG.md b/pkgs/objective_c/CHANGELOG.md new file mode 100644 index 000000000..79f4d109d --- /dev/null +++ b/pkgs/objective_c/CHANGELOG.md @@ -0,0 +1,5 @@ +## 0.0.1 + +- Move sharable code from ffigen's generated code into this package, including + ObjCObjectBase, and ObjCBlockBase, as well as the core Objective C runtime + functions (except objc_msgSend, which is library specific). diff --git a/pkgs/objective_c/LICENSE b/pkgs/objective_c/LICENSE new file mode 100644 index 000000000..b03a78868 --- /dev/null +++ b/pkgs/objective_c/LICENSE @@ -0,0 +1,27 @@ +Copyright 2024, the Dart project authors. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above + copyright notice, this list of conditions and the following + disclaimer in the documentation and/or other materials provided + with the distribution. + * Neither the name of Google LLC nor the names of its + contributors may be used to endorse or promote products derived + from this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/pkgs/objective_c/README.md b/pkgs/objective_c/README.md new file mode 100644 index 000000000..aec4bce06 --- /dev/null +++ b/pkgs/objective_c/README.md @@ -0,0 +1,4 @@ +# objective_c + +A library to access Objective C from Dart and Flutter that acts as a support +library for package:ffigen. diff --git a/pkgs/objective_c/analysis_options.yaml b/pkgs/objective_c/analysis_options.yaml new file mode 100644 index 000000000..22c406e13 --- /dev/null +++ b/pkgs/objective_c/analysis_options.yaml @@ -0,0 +1,6 @@ +include: package:flutter_lints/flutter.yaml + +analyzer: + language: + strict-casts: true + strict-inference: true diff --git a/pkgs/objective_c/ffigen.yaml b/pkgs/objective_c/ffigen.yaml new file mode 100644 index 000000000..63105bbd0 --- /dev/null +++ b/pkgs/objective_c/ffigen.yaml @@ -0,0 +1,32 @@ +# Run with `dart run ffigen --config ffigen.yaml`. +name: ObjectiveCBindings +description: | + Bindings for `src/objective_c.h` and `src/objective_c_runtime.h`. + + Regenerate bindings with `dart run ffigen --config ffigen.yaml`. +output: 'lib/src/objective_c_bindings_generated.dart' +headers: + entry-points: + - 'src/objective_c.h' + - 'src/objective_c_runtime.h' +ffi-native: +functions: + leaf: + include: + - '.*' + rename: + 'sel_registerName': 'registerName' + 'objc_getClass': 'getClass' + 'objc_retain': 'objectRetain' + 'objc_release': 'objectRelease' + 'Block_copy': 'blockCopy' + 'Block_release': 'blockRelease' +globals: + include: + - _NSConcreteGlobalBlock + rename: + '_(.*)': '$1' +preamble: | + // ignore_for_file: always_specify_types + // ignore_for_file: camel_case_types + // ignore_for_file: non_constant_identifier_names diff --git a/pkgs/objective_c/ios/Classes/objective_c.c b/pkgs/objective_c/ios/Classes/objective_c.c new file mode 100644 index 000000000..ddf898c3b --- /dev/null +++ b/pkgs/objective_c/ios/Classes/objective_c.c @@ -0,0 +1,7 @@ +// Copyright (c) 2024, the Dart project authors. Please see the AUTHORS file +// for details. All rights reserved. Use of this source code is governed by a +// BSD-style license that can be found in the LICENSE file. + +// Relative import to be able to reuse the C sources. +// See the comment in ../{projectName}}.podspec for more information. +#include "../../src/objective_c.c" diff --git a/pkgs/objective_c/ios/objective_c.podspec b/pkgs/objective_c/ios/objective_c.podspec new file mode 100644 index 000000000..eb71727b6 --- /dev/null +++ b/pkgs/objective_c/ios/objective_c.podspec @@ -0,0 +1,28 @@ +# +# To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html. +# Run `pod lib lint objective_c.podspec` to validate before publishing. +# +Pod::Spec.new do |s| + s.name = 'objective_c' + s.version = '0.0.1' + s.summary = 'A library to access Objective C from Dart and Flutter that acts as a support library for package:ffigen.' + s.description = <<-DESC +A library to access Objective C from Dart and Flutter that acts as a support library for package:ffigen. + DESC + s.homepage = 'http://example.com' + s.license = { :file => '../LICENSE' } + s.author = { 'Your Company' => 'email@example.com' } + + # This will ensure the source files in Classes/ are included in the native + # builds of apps using this FFI plugin. Podspec does not support relative + # paths, so Classes contains a forwarder C file that relatively imports + # `../src/*` so that the C sources can be shared among all target platforms. + s.source = { :path => '.' } + s.source_files = 'Classes/**/*' + s.dependency 'Flutter' + s.platform = :ios, '12.0' + + # Flutter.framework does not contain a i386 slice. + s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES', 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'i386' } + s.swift_version = '5.0' +end diff --git a/pkgs/objective_c/lib/objective_c.dart b/pkgs/objective_c/lib/objective_c.dart new file mode 100644 index 000000000..7688f22ee --- /dev/null +++ b/pkgs/objective_c/lib/objective_c.dart @@ -0,0 +1,8 @@ +// Copyright (c) 2024, the Dart project authors. Please see the AUTHORS file +// for details. All rights reserved. Use of this source code is governed by a +// BSD-style license that can be found in the LICENSE file. + +export 'src/core.dart'; +export 'src/objective_c_bindings_generated.dart' show + ObjCSelector, ObjCObject, ObjCBlock, + objectRetain, objectRelease, blockCopy, blockRelease; diff --git a/pkgs/objective_c/lib/src/core.dart b/pkgs/objective_c/lib/src/core.dart new file mode 100644 index 000000000..5756458c8 --- /dev/null +++ b/pkgs/objective_c/lib/src/core.dart @@ -0,0 +1,150 @@ +// Copyright (c) 2024, the Dart project authors. Please see the AUTHORS file +// for details. All rights reserved. Use of this source code is governed by a +// BSD-style license that can be found in the LICENSE file. + +import 'dart:async'; +import 'dart:ffi'; +import 'dart:io'; +import 'dart:isolate'; + +import 'package:ffi/ffi.dart'; + +import 'objective_c_bindings_generated.dart' as objc; + +Pointer registerName(String name) { + final cstr = name.toNativeUtf8(); + final sel = objc.registerName(cstr.cast()); + calloc.free(cstr); + return sel; +} + +Pointer getClass(String name) { + final cstr = name.toNativeUtf8(); + final clazz = objc.getClass(cstr.cast()); + calloc.free(cstr); + if (clazz == nullptr) { + throw Exception('Failed to load Objective-C class: $name'); + } + return clazz; +} + +final useMsgSendVariants = + Abi.current() == Abi.iosX64 || Abi.current() == Abi.macosX64; + +class _ObjCFinalizable implements Finalizable { + final Pointer _ptr; + bool _pendingRelease; + + _ObjCFinalizable(this._ptr, {required bool retain, required bool release}) + : _pendingRelease = release { + if (retain) { + _retain(_ptr.cast()); + } + if (release) { + _finalizer.attach(this, _ptr.cast(), detach: this); + } + } + + /// Releases the reference to the underlying ObjC object held by this wrapper. + /// Throws a StateError if this wrapper doesn't currently hold a reference. + void release() { + if (_pendingRelease) { + _pendingRelease = false; + _release(_ptr.cast()); + _finalizer.detach(this); + } else { + throw StateError( + 'Released an ObjC object that was unowned or already released.'); + } + } + + @override + bool operator ==(Object other) { + return other is _ObjCFinalizable && _ptr == other._ptr; + } + + @override + int get hashCode => _ptr.hashCode; + + /// Return a pointer to this object. + Pointer get pointer => _ptr; + + /// Retain a reference to this object and then return the pointer. This + /// reference must be released when you are done with it. If you wrap this + /// reference in another object, make sure to release it but not retain it: + /// `castFromPointer(lib, pointer, retain: false, release: true)` + Pointer retainAndReturnPointer() { + _retain(_ptr.cast()); + return _ptr; + } + + NativeFinalizer get _finalizer => throw UnimplementedError(); + void _retain(Pointer pointer) => throw UnimplementedError(); + void _release(Pointer pointer) => throw UnimplementedError(); +} + +class ObjCObjectBase extends _ObjCFinalizable { + ObjCObjectBase(Pointer ptr, + {required bool retain, required bool release}) + : super(ptr, retain: retain, release: release); + + static final _objectFinalizer = NativeFinalizer( + Native.addressOf)>>( + objc.objectRelease) + .cast()); + + @override + NativeFinalizer get _finalizer => _objectFinalizer; + + @override + void _retain(Pointer ptr) => objc.objectRetain(ptr); + + @override + void _release(Pointer ptr) => objc.objectRelease(ptr); +} + +class ObjCBlockBase extends _ObjCFinalizable { + ObjCBlockBase(Pointer ptr, + {required bool retain, required bool release}) + : super(ptr, retain: retain, release: release); + + static final _blockFinalizer = NativeFinalizer( + Native.addressOf)>>( + objc.blockRelease) + .cast()); + + @override + NativeFinalizer get _finalizer => _blockFinalizer; + + @override + void _retain(Pointer ptr) => objc.blockCopy(ptr); + + @override + void _release(Pointer ptr) => objc.blockRelease(ptr); +} + +Pointer _newBlockDesc() { + final desc = + calloc.allocate(sizeOf()); + desc.ref.reserved = 0; + desc.ref.size = sizeOf(); + desc.ref.copy_helper = nullptr; + desc.ref.dispose_helper = nullptr; + desc.ref.signature = nullptr; + return desc; +} + +final _blockDesc = _newBlockDesc(); + +Pointer newBlock(Pointer invoke, Pointer target) { + final b = calloc.allocate(sizeOf()); + b.ref.isa = objc.NSConcreteGlobalBlock; + b.ref.flags = 0; + b.ref.reserved = 0; + b.ref.invoke = invoke; + b.ref.target = target; + b.ref.descriptor = _blockDesc; + final copy = objc.blockCopy(b.cast()).cast(); + calloc.free(b); + return copy; +} diff --git a/pkgs/objective_c/lib/src/objective_c_bindings_generated.dart b/pkgs/objective_c/lib/src/objective_c_bindings_generated.dart new file mode 100644 index 000000000..07acc0c8d --- /dev/null +++ b/pkgs/objective_c/lib/src/objective_c_bindings_generated.dart @@ -0,0 +1,94 @@ +// ignore_for_file: always_specify_types +// ignore_for_file: camel_case_types +// ignore_for_file: non_constant_identifier_names + +// AUTO GENERATED FILE, DO NOT EDIT. +// +// Generated by `package:ffigen`. +// ignore_for_file: type=lint +import 'dart:ffi' as ffi; + +@ffi.Native Function(ffi.Pointer)>( + symbol: "sel_registerName", isLeaf: true) +external ffi.Pointer registerName( + ffi.Pointer name, +); + +@ffi.Native Function(ffi.Pointer)>( + symbol: "objc_getClass", isLeaf: true) +external ffi.Pointer getClass( + ffi.Pointer name, +); + +@ffi.Native Function(ffi.Pointer)>( + symbol: "objc_retain", isLeaf: true) +external ffi.Pointer objectRetain( + ffi.Pointer object, +); + +@ffi.Native)>( + symbol: "objc_release", isLeaf: true) +external void objectRelease( + ffi.Pointer object, +); + +@ffi.Native>(symbol: "_NSConcreteGlobalBlock") +external final ffi.Pointer NSConcreteGlobalBlock; + +@ffi.Native Function(ffi.Pointer)>( + symbol: "Block_copy", isLeaf: true) +external ffi.Pointer blockCopy( + ffi.Pointer object, +); + +@ffi.Native)>( + symbol: "Block_release", isLeaf: true) +external void blockRelease( + ffi.Pointer object, +); + +final class _ObjCSelector extends ffi.Opaque {} + +final class _ObjCObject extends ffi.Opaque {} + +typedef ObjCSelector = _ObjCSelector; +typedef ObjCObject = _ObjCObject; + +final class _ObjCBlockDesc extends ffi.Struct { + @ffi.UnsignedLong() + external int reserved; + + @ffi.UnsignedLong() + external int size; + + external ffi.Pointer< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer dst, ffi.Pointer src)>> + copy_helper; + + external ffi + .Pointer src)>> + dispose_helper; + + external ffi.Pointer signature; +} + +final class _ObjCBlock extends ffi.Struct { + external ffi.Pointer isa; + + @ffi.Int() + external int flags; + + @ffi.Int() + external int reserved; + + external ffi.Pointer invoke; + + external ffi.Pointer descriptor; + + external ffi.Pointer target; +} + +typedef ObjCBlockDesc = _ObjCBlockDesc; +typedef ObjCBlock = _ObjCBlock; diff --git a/pkgs/objective_c/macos/Classes/objective_c.c b/pkgs/objective_c/macos/Classes/objective_c.c new file mode 100644 index 000000000..7e5b54067 --- /dev/null +++ b/pkgs/objective_c/macos/Classes/objective_c.c @@ -0,0 +1,3 @@ +// Relative import to be able to reuse the C sources. +// See the comment in ../{projectName}}.podspec for more information. +#include "../../src/objective_c.c" diff --git a/pkgs/objective_c/macos/objective_c.podspec b/pkgs/objective_c/macos/objective_c.podspec new file mode 100644 index 000000000..e7c2df57a --- /dev/null +++ b/pkgs/objective_c/macos/objective_c.podspec @@ -0,0 +1,27 @@ +# +# To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html. +# Run `pod lib lint objective_c.podspec` to validate before publishing. +# +Pod::Spec.new do |s| + s.name = 'objective_c' + s.version = '0.0.1' + s.summary = 'A library to access Objective C from Dart and Flutter that acts as a support library for package:ffigen.' + s.description = <<-DESC +A library to access Objective C from Dart and Flutter that acts as a support library for package:ffigen. + DESC + s.homepage = 'http://example.com' + s.license = { :file => '../LICENSE' } + s.author = { 'Your Company' => 'email@example.com' } + + # This will ensure the source files in Classes/ are included in the native + # builds of apps using this FFI plugin. Podspec does not support relative + # paths, so Classes contains a forwarder C file that relatively imports + # `../src/*` so that the C sources can be shared among all target platforms. + s.source = { :path => '.' } + s.source_files = 'Classes/**/*' + s.dependency 'FlutterMacOS' + + s.platform = :osx, '10.11' + s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES' } + s.swift_version = '5.0' +end diff --git a/pkgs/objective_c/pubspec.yaml b/pkgs/objective_c/pubspec.yaml new file mode 100644 index 000000000..f8c9ce817 --- /dev/null +++ b/pkgs/objective_c/pubspec.yaml @@ -0,0 +1,39 @@ +# Copyright (c) 2024, the Dart project authors. Please see the AUTHORS file +# for details. All rights reserved. Use of this source code is governed by a +# BSD-style license that can be found in the LICENSE file. + +name: objective_c +description: "A library to access Objective C from Dart and Flutter that acts as a support library for package:ffigen." +version: 0.0.1-wip +repository: https://github.com/dart-lang/native/tree/main/pkgs/objective_c + +topics: + - interop + - ffi + - objective_c + - codegen + +environment: + sdk: '>=3.3.0 <4.0.0' + flutter: '>=3.3.0' + +dependencies: + flutter: + sdk: flutter + ffi: ^2.1.0 + plugin_platform_interface: ^2.0.2 + +dev_dependencies: + ffigen: ^11.0.0 + flutter_test: + sdk: flutter + flutter_lints: ^3.0.0 + test: ^1.25.0 + +flutter: + plugin: + platforms: + ios: + ffiPlugin: true + macos: + ffiPlugin: true diff --git a/pkgs/objective_c/src/CMakeLists.txt b/pkgs/objective_c/src/CMakeLists.txt new file mode 100644 index 000000000..5280751ef --- /dev/null +++ b/pkgs/objective_c/src/CMakeLists.txt @@ -0,0 +1,17 @@ +# The Flutter tooling requires that developers have CMake 3.10 or later +# installed. You should not increase this version, as doing so will cause +# the plugin to fail to compile for some customers of the plugin. +cmake_minimum_required(VERSION 3.10) + +project(objective_c_library VERSION 0.0.1 LANGUAGES C) + +add_library(objective_c SHARED + "objective_c.c" +) + +set_target_properties(objective_c PROPERTIES + PUBLIC_HEADER objective_c.h + OUTPUT_NAME "objective_c" +) + +target_compile_definitions(objective_c PUBLIC DART_SHARED_LIB) diff --git a/pkgs/objective_c/src/objective_c.c b/pkgs/objective_c/src/objective_c.c new file mode 100644 index 000000000..2b31b25a0 --- /dev/null +++ b/pkgs/objective_c/src/objective_c.c @@ -0,0 +1,5 @@ +// Copyright (c) 2024, the Dart project authors. Please see the AUTHORS file +// for details. All rights reserved. Use of this source code is governed by a +// BSD-style license that can be found in the LICENSE file. + +#include "objective_c.h" diff --git a/pkgs/objective_c/src/objective_c.h b/pkgs/objective_c/src/objective_c.h new file mode 100644 index 000000000..72f84ea5f --- /dev/null +++ b/pkgs/objective_c/src/objective_c.h @@ -0,0 +1,5 @@ +// Copyright (c) 2024, the Dart project authors. Please see the AUTHORS file +// for details. All rights reserved. Use of this source code is governed by a +// BSD-style license that can be found in the LICENSE file. + +#include "objective_c_runtime.h" diff --git a/pkgs/objective_c/src/objective_c_runtime.h b/pkgs/objective_c/src/objective_c_runtime.h new file mode 100644 index 000000000..1dfd0cf3c --- /dev/null +++ b/pkgs/objective_c/src/objective_c_runtime.h @@ -0,0 +1,40 @@ +// Copyright (c) 2024, the Dart project authors. Please see the AUTHORS file +// for details. All rights reserved. Use of this source code is governed by a +// BSD-style license that can be found in the LICENSE file. + +// This file exposes a subset of the Objective C runtime. Ideally we'd just run +// ffigen directly on the runtime headers that come with XCode, but those +// headers don't have everything we need (e.g. the ObjCBlock struct). + +typedef struct _ObjCSelector ObjCSelector; +typedef struct _ObjCObject ObjCObject; + +ObjCSelector* sel_registerName(const char *name); +ObjCObject* objc_getClass(const char *name); +ObjCObject* objc_retain(ObjCObject* object); +void objc_release(ObjCObject* object); + +// See https://clang.llvm.org/docs/Block-ABI-Apple.html +typedef struct _ObjCBlockDesc { + unsigned long int reserved; + unsigned long int size; // sizeof(_ObjCBlock) + void (*copy_helper)(void *dst, void *src); + void (*dispose_helper)(void *src); + const char *signature; +} ObjCBlockDesc; + +extern void* const _NSConcreteGlobalBlock; + +typedef struct _ObjCBlock { + void *isa; // _NSConcreteGlobalBlock + int flags; + int reserved; + void *invoke; // RET (*invoke)(ObjCBlock *, ARGS...); + ObjCBlockDesc *descriptor; + + // Captured variables follow. These are specific to our use case. + void* target; +} ObjCBlock; + +ObjCBlock* Block_copy(ObjCBlock* object); +void Block_release(ObjCBlock* object); From c2036a10fc6b396e9ecac8709440dbfba802cbb8 Mon Sep 17 00:00:00 2001 From: Liam Appelbe Date: Tue, 2 Apr 2024 16:21:16 +1300 Subject: [PATCH 02/21] Fix some of the PR health warnings --- README.md | 2 +- pkgs/ffigen/CHANGELOG.md | 1 + .../objective_c/avf_audio_bindings.dart | 4 + pkgs/ffigen/example/objective_c/config.yaml | 4 + pkgs/ffigen/example/objective_c/pubspec.yaml | 1 + pkgs/ffigen/example/swift/config.yaml | 4 + pkgs/ffigen/example/swift/pubspec.yaml | 5 + .../example/swift/swift_api_bindings.dart | 111068 +++++++++------ pkgs/ffigen/pubspec.yaml | 2 +- pkgs/objective_c/CHANGELOG.md | 2 +- pkgs/objective_c/README.md | 4 +- pkgs/objective_c/ffigen.yaml | 4 + pkgs/objective_c/ios/objective_c.podspec | 4 +- .../src/objective_c_bindings_generated.dart | 16 +- pkgs/objective_c/macos/objective_c.podspec | 4 +- pkgs/objective_c/pubspec.yaml | 2 +- 16 files changed, 68418 insertions(+), 42709 deletions(-) diff --git a/README.md b/README.md index 2cd9431a7..9ca27b9e8 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ building and bundling. | --- | --- | --- | | [ffi](pkgs/ffi/) | Utilities for working with Foreign Function Interface (FFI) code. | [![pub package](https://img.shields.io/pub/v/ffi.svg)](https://pub.dev/packages/ffi) | | [ffigen](pkgs/ffigen/) | Generator for FFI bindings, using LibClang to parse C, Objective-C, and Swift files. | [![pub package](https://img.shields.io/pub/v/ffigen.svg)](https://pub.dev/packages/ffigen) | -| [objective_c](pkgs/objective_c/) | A library to access Objective C from Dart and Flutter that acts as a support library for package:ffigen. | [![pub package](https://img.shields.io/pub/v/objective_c.svg)](https://pub.dev/packages/objective_c) | +| [objective_c](pkgs/objective_c/) | A library to access Objective C from Flutter that acts as a support library for package:ffigen. | [![pub package](https://img.shields.io/pub/v/objective_c.svg)](https://pub.dev/packages/objective_c) | | [jni](pkgs/jni/) | A library to access JNI from Dart and Flutter that acts as a support library for `package:jnigen`. | [![pub package](https://img.shields.io/pub/v/jni.svg)](https://pub.dev/packages/jni) | | [jnigen](pkgs/jnigen/) | A Dart bindings generator for Java and Kotlin that uses JNI under the hood to interop with Java virtual machine. | [![pub package](https://img.shields.io/pub/v/jnigen.svg)](https://pub.dev/packages/jnigen) | | [native_assets_builder](pkgs/native_assets_builder/) | This package is the backend that invokes top-level `build.dart` scripts. | [![pub package](https://img.shields.io/pub/v/native_assets_builder.svg)](https://pub.dev/packages/native_assets_builder) | diff --git a/pkgs/ffigen/CHANGELOG.md b/pkgs/ffigen/CHANGELOG.md index 2058fce29..0e4a40602 100644 --- a/pkgs/ffigen/CHANGELOG.md +++ b/pkgs/ffigen/CHANGELOG.md @@ -5,6 +5,7 @@ `ffi-native` option. - Add `retainAndReturnPointer` method to ObjC objects and blocks, and add `castFromPointer` method to blocks. +- Use `package:objective_c` in ObjC bindings. ## 11.0.0 diff --git a/pkgs/ffigen/example/objective_c/avf_audio_bindings.dart b/pkgs/ffigen/example/objective_c/avf_audio_bindings.dart index ce9afb607..cff129c7a 100644 --- a/pkgs/ffigen/example/objective_c/avf_audio_bindings.dart +++ b/pkgs/ffigen/example/objective_c/avf_audio_bindings.dart @@ -1,3 +1,7 @@ +// Copyright (c) 2024, the Dart project authors. Please see the AUTHORS file +// for details. All rights reserved. Use of this source code is governed by a +// BSD-style license that can be found in the LICENSE file. + // ignore_for_file: camel_case_types, non_constant_identifier_names, unused_element, unused_field, void_checks, annotate_overrides, no_leading_underscores_for_local_identifiers, library_private_types_in_public_api // AUTO GENERATED FILE, DO NOT EDIT. diff --git a/pkgs/ffigen/example/objective_c/config.yaml b/pkgs/ffigen/example/objective_c/config.yaml index 3a76517eb..799c2efa1 100644 --- a/pkgs/ffigen/example/objective_c/config.yaml +++ b/pkgs/ffigen/example/objective_c/config.yaml @@ -12,4 +12,8 @@ headers: entry-points: - '/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioPlayer.h' preamble: | + // Copyright (c) 2024, the Dart project authors. Please see the AUTHORS file + // for details. All rights reserved. Use of this source code is governed by a + // BSD-style license that can be found in the LICENSE file. + // ignore_for_file: camel_case_types, non_constant_identifier_names, unused_element, unused_field, void_checks, annotate_overrides, no_leading_underscores_for_local_identifiers, library_private_types_in_public_api diff --git a/pkgs/ffigen/example/objective_c/pubspec.yaml b/pkgs/ffigen/example/objective_c/pubspec.yaml index 392085f8b..6b687f598 100644 --- a/pkgs/ffigen/example/objective_c/pubspec.yaml +++ b/pkgs/ffigen/example/objective_c/pubspec.yaml @@ -9,6 +9,7 @@ environment: dependencies: ffi: ^2.0.1 + objective_c: ^0.0.1 dev_dependencies: ffigen: path: '../../' diff --git a/pkgs/ffigen/example/swift/config.yaml b/pkgs/ffigen/example/swift/config.yaml index 7f820baab..74c703df3 100644 --- a/pkgs/ffigen/example/swift/config.yaml +++ b/pkgs/ffigen/example/swift/config.yaml @@ -14,6 +14,10 @@ headers: entry-points: - 'third_party/swift_api.h' preamble: | + // Copyright (c) 2024, the Dart project authors. Please see the AUTHORS file + // for details. All rights reserved. Use of this source code is governed by a + // BSD-style license that can be found in the LICENSE file. + // ignore_for_file: camel_case_types, non_constant_identifier_names // ignore_for_file: unused_element, unused_field, return_of_invalid_type // ignore_for_file: void_checks, annotate_overrides diff --git a/pkgs/ffigen/example/swift/pubspec.yaml b/pkgs/ffigen/example/swift/pubspec.yaml index de19bf246..737d3fb6c 100644 --- a/pkgs/ffigen/example/swift/pubspec.yaml +++ b/pkgs/ffigen/example/swift/pubspec.yaml @@ -9,7 +9,12 @@ environment: dependencies: ffi: ^2.0.1 + objective_c: ^0.0.1 dev_dependencies: ffigen: path: "../../" lints: ^2.0.0 + +dependency_overrides: + objective_c: + path: ../../../objective_c/ diff --git a/pkgs/ffigen/example/swift/swift_api_bindings.dart b/pkgs/ffigen/example/swift/swift_api_bindings.dart index 8be24b151..f09a7666b 100644 --- a/pkgs/ffigen/example/swift/swift_api_bindings.dart +++ b/pkgs/ffigen/example/swift/swift_api_bindings.dart @@ -1,3 +1,7 @@ +// Copyright (c) 2024, the Dart project authors. Please see the AUTHORS file +// for details. All rights reserved. Use of this source code is governed by a +// BSD-style license that can be found in the LICENSE file. + // ignore_for_file: camel_case_types, non_constant_identifier_names // ignore_for_file: unused_element, unused_field, return_of_invalid_type // ignore_for_file: void_checks, annotate_overrides @@ -9,3630 +13,4495 @@ // Generated by `package:ffigen`. // ignore_for_file: type=lint import 'dart:ffi' as ffi; +import 'package:objective_c/objective_c.dart' as objc; import 'package:ffi/ffi.dart' as pkg_ffi; /// Bindings for swift_api. class SwiftLibrary { /// Holds the symbol lookup function. - final ffi.Pointer Function(String symbolName) - _lookup; + final ffi.Pointer Function( + String symbolName, + ) _lookup; /// The symbols are looked up in [dynamicLibrary]. SwiftLibrary(ffi.DynamicLibrary dynamicLibrary) - : _lookup = dynamicLibrary.lookup; + : _lookup = dynamicLibrary.lookup; /// The symbols are looked up with [lookup]. SwiftLibrary.fromLookup( - ffi.Pointer Function(String symbolName) - lookup) - : _lookup = lookup; - - ffi.Pointer _registerName1(String name) { - final cstr = name.toNativeUtf8(); - final sel = _sel_registerName(cstr.cast()); - pkg_ffi.calloc.free(cstr); - return sel; - } - - ffi.Pointer _sel_registerName( - ffi.Pointer str, - ) { - return __sel_registerName( - str, - ); - } - - late final __sel_registerNamePtr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer)>>('sel_registerName'); - late final __sel_registerName = __sel_registerNamePtr - .asFunction Function(ffi.Pointer)>(); - - ffi.Pointer _getClass1(String name) { - final cstr = name.toNativeUtf8(); - final clazz = _objc_getClass(cstr.cast()); - pkg_ffi.calloc.free(cstr); - if (clazz == ffi.nullptr) { - throw Exception('Failed to load Objective-C class: $name'); - } - return clazz; - } - - ffi.Pointer _objc_getClass( - ffi.Pointer str, - ) { - return __objc_getClass( - str, - ); - } - - late final __objc_getClassPtr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer)>>('objc_getClass'); - late final __objc_getClass = __objc_getClassPtr - .asFunction Function(ffi.Pointer)>(); - - ffi.Pointer _objc_retain( - ffi.Pointer value, - ) { - return __objc_retain( - value, - ); - } - - late final __objc_retainPtr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer)>>('objc_retain'); - late final __objc_retain = __objc_retainPtr - .asFunction Function(ffi.Pointer)>(); - - void _objc_release( - ffi.Pointer value, - ) { - return __objc_release( - value, - ); - } + ffi.Pointer Function(String symbolName) lookup, + ) : _lookup = lookup; - late final __objc_releasePtr = - _lookup)>>( - 'objc_release'); - late final __objc_release = - __objc_releasePtr.asFunction)>(); - - late final _objc_releaseFinalizer2 = - ffi.NativeFinalizer(__objc_releasePtr.cast()); - late final _class_NSObject1 = _getClass1("NSObject"); - late final _sel_load1 = _registerName1("load"); + late final _class_NSObject1 = objc.getClass("NSObject"); + late final _sel_load1 = objc.registerName("load"); void _objc_msgSend_1( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_1( - obj, - sel, - ); + return __objc_msgSend_1(obj, sel); } late final __objc_msgSend_1Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1 = __objc_msgSend_1Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1 = + __objc_msgSend_1Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); - late final _sel_initialize1 = _registerName1("initialize"); - late final _sel_init1 = _registerName1("init"); + late final _sel_initialize1 = objc.registerName("initialize"); + late final _sel_init1 = objc.registerName("init"); instancetype _objc_msgSend_2( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_2( - obj, - sel, - ); + return __objc_msgSend_2(obj, sel); } late final __objc_msgSend_2Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_2 = __objc_msgSend_2Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer)>(); - - late final _sel_new1 = _registerName1("new"); - late final _sel_allocWithZone_1 = _registerName1("allocWithZone:"); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_2 = + __objc_msgSend_2Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_new1 = objc.registerName("new"); + late final _sel_allocWithZone_1 = objc.registerName("allocWithZone:"); instancetype _objc_msgSend_3( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ffi.Pointer<_NSZone> zone, ) { - return __objc_msgSend_3( - obj, - sel, - zone, - ); + return __objc_msgSend_3(obj, sel, zone); } late final __objc_msgSend_3Ptr = _lookup< - ffi.NativeFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer<_NSZone>)>>('objc_msgSend'); - late final __objc_msgSend_3 = __objc_msgSend_3Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer<_NSZone>)>(); - - late final _sel_alloc1 = _registerName1("alloc"); - late final _sel_dealloc1 = _registerName1("dealloc"); - late final _sel_finalize1 = _registerName1("finalize"); - late final _sel_copy1 = _registerName1("copy"); - late final _sel_mutableCopy1 = _registerName1("mutableCopy"); - late final _sel_copyWithZone_1 = _registerName1("copyWithZone:"); - late final _sel_mutableCopyWithZone_1 = - _registerName1("mutableCopyWithZone:"); - late final _sel_instancesRespondToSelector_1 = - _registerName1("instancesRespondToSelector:"); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_NSZone>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_3 = + __objc_msgSend_3Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_NSZone>, + ) + >(); + + late final _sel_alloc1 = objc.registerName("alloc"); + late final _sel_dealloc1 = objc.registerName("dealloc"); + late final _sel_finalize1 = objc.registerName("finalize"); + late final _sel_copy1 = objc.registerName("copy"); + late final _sel_mutableCopy1 = objc.registerName("mutableCopy"); + late final _sel_copyWithZone_1 = objc.registerName("copyWithZone:"); + late final _sel_mutableCopyWithZone_1 = objc.registerName( + "mutableCopyWithZone:", + ); + late final _sel_instancesRespondToSelector_1 = objc.registerName( + "instancesRespondToSelector:", + ); bool _objc_msgSend_4( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aSelector, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer aSelector, ) { - return __objc_msgSend_4( - obj, - sel, - aSelector, - ); + return __objc_msgSend_4(obj, sel, aSelector); } late final __objc_msgSend_4Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_4 = __objc_msgSend_4Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_4 = + __objc_msgSend_4Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); bool _objc_msgSend_0( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer clazz, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer clazz, ) { - return __objc_msgSend_0( - obj, - sel, - clazz, - ); + return __objc_msgSend_0(obj, sel, clazz); } late final __objc_msgSend_0Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_0 = __objc_msgSend_0Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_isKindOfClass_1 = _registerName1("isKindOfClass:"); - late final _class_Protocol1 = _getClass1("Protocol"); - late final _sel_conformsToProtocol_1 = _registerName1("conformsToProtocol:"); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_0 = + __objc_msgSend_0Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_isKindOfClass_1 = objc.registerName("isKindOfClass:"); + late final _class_Protocol1 = objc.getClass("Protocol"); + late final _sel_conformsToProtocol_1 = objc.registerName( + "conformsToProtocol:", + ); bool _objc_msgSend_5( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer protocol, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer protocol, ) { - return __objc_msgSend_5( - obj, - sel, - protocol, - ); + return __objc_msgSend_5(obj, sel, protocol); } late final __objc_msgSend_5Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_5 = __objc_msgSend_5Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_5 = + __objc_msgSend_5Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); - late final _sel_methodForSelector_1 = _registerName1("methodForSelector:"); + late final _sel_methodForSelector_1 = objc.registerName("methodForSelector:"); ffi.Pointer> _objc_msgSend_6( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aSelector, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer aSelector, ) { - return __objc_msgSend_6( - obj, - sel, - aSelector, - ); + return __objc_msgSend_6(obj, sel, aSelector); } late final __objc_msgSend_6Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer> Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_6 = __objc_msgSend_6Ptr.asFunction< + ffi.NativeFunction< ffi.Pointer> Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_instanceMethodForSelector_1 = - _registerName1("instanceMethodForSelector:"); - late final _sel_doesNotRecognizeSelector_1 = - _registerName1("doesNotRecognizeSelector:"); + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_6 = + __objc_msgSend_6Ptr + .asFunction< + ffi.Pointer> Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_instanceMethodForSelector_1 = objc.registerName( + "instanceMethodForSelector:", + ); + late final _sel_doesNotRecognizeSelector_1 = objc.registerName( + "doesNotRecognizeSelector:", + ); void _objc_msgSend_7( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aSelector, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer aSelector, ) { - return __objc_msgSend_7( - obj, - sel, - aSelector, - ); + return __objc_msgSend_7(obj, sel, aSelector); } late final __objc_msgSend_7Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_7 = __objc_msgSend_7Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_forwardingTargetForSelector_1 = - _registerName1("forwardingTargetForSelector:"); - ffi.Pointer _objc_msgSend_8( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aSelector, - ) { - return __objc_msgSend_8( - obj, - sel, - aSelector, - ); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_7 = + __objc_msgSend_7Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_forwardingTargetForSelector_1 = objc.registerName( + "forwardingTargetForSelector:", + ); + ffi.Pointer _objc_msgSend_8( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer aSelector, + ) { + return __objc_msgSend_8(obj, sel, aSelector); } late final __objc_msgSend_8Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_8 = __objc_msgSend_8Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _class_NSInvocation1 = _getClass1("NSInvocation"); - late final _class_NSMethodSignature1 = _getClass1("NSMethodSignature"); - late final _sel_signatureWithObjCTypes_1 = - _registerName1("signatureWithObjCTypes:"); - ffi.Pointer _objc_msgSend_9( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_8 = + __objc_msgSend_8Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _class_NSInvocation1 = objc.getClass("NSInvocation"); + late final _class_NSMethodSignature1 = objc.getClass("NSMethodSignature"); + late final _sel_signatureWithObjCTypes_1 = objc.registerName( + "signatureWithObjCTypes:", + ); + ffi.Pointer _objc_msgSend_9( + ffi.Pointer obj, + ffi.Pointer sel, ffi.Pointer types, ) { - return __objc_msgSend_9( - obj, - sel, - types, - ); + return __objc_msgSend_9(obj, sel, types); } late final __objc_msgSend_9Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_9 = __objc_msgSend_9Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_9 = + __objc_msgSend_9Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); - late final _sel_numberOfArguments1 = _registerName1("numberOfArguments"); + late final _sel_numberOfArguments1 = objc.registerName("numberOfArguments"); int _objc_msgSend_10( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_10( - obj, - sel, - ); + return __objc_msgSend_10(obj, sel); } late final __objc_msgSend_10Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_10 = __objc_msgSend_10Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer)>(); - - late final _sel_getArgumentTypeAtIndex_1 = - _registerName1("getArgumentTypeAtIndex:"); + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_10 = + __objc_msgSend_10Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_getArgumentTypeAtIndex_1 = objc.registerName( + "getArgumentTypeAtIndex:", + ); ffi.Pointer _objc_msgSend_11( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int idx, ) { - return __objc_msgSend_11( - obj, - sel, - idx, - ); + return __objc_msgSend_11(obj, sel, idx); } late final __objc_msgSend_11Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.UnsignedLong)>>('objc_msgSend'); - late final __objc_msgSend_11 = __objc_msgSend_11Ptr.asFunction< + ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_frameLength1 = _registerName1("frameLength"); - late final _sel_isOneway1 = _registerName1("isOneway"); + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_11 = + __objc_msgSend_11Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_frameLength1 = objc.registerName("frameLength"); + late final _sel_isOneway1 = objc.registerName("isOneway"); bool _objc_msgSend_12( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_12( - obj, - sel, - ); + return __objc_msgSend_12(obj, sel); } late final __objc_msgSend_12Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_12 = __objc_msgSend_12Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_12 = + __objc_msgSend_12Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); - late final _sel_methodReturnType1 = _registerName1("methodReturnType"); + late final _sel_methodReturnType1 = objc.registerName("methodReturnType"); ffi.Pointer _objc_msgSend_13( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_13( - obj, - sel, - ); + return __objc_msgSend_13(obj, sel); } late final __objc_msgSend_13Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_13 = __objc_msgSend_13Ptr.asFunction< + ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_13 = + __objc_msgSend_13Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); - late final _sel_methodReturnLength1 = _registerName1("methodReturnLength"); + late final _sel_methodReturnLength1 = objc.registerName("methodReturnLength"); late final _sel_cancelPreviousPerformRequestsWithTarget_selector_object_1 = - _registerName1( - "cancelPreviousPerformRequestsWithTarget:selector:object:"); + objc.registerName( + "cancelPreviousPerformRequestsWithTarget:selector:object:", + ); void _objc_msgSend_14( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aTarget, - ffi.Pointer aSelector, - ffi.Pointer anArgument, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer aTarget, + ffi.Pointer aSelector, + ffi.Pointer anArgument, ) { - return __objc_msgSend_14( - obj, - sel, - aTarget, - aSelector, - anArgument, - ); + return __objc_msgSend_14(obj, sel, aTarget, aSelector, anArgument); } late final __objc_msgSend_14Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_14 = __objc_msgSend_14Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_cancelPreviousPerformRequestsWithTarget_1 = - _registerName1("cancelPreviousPerformRequestsWithTarget:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_14 = + __objc_msgSend_14Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_cancelPreviousPerformRequestsWithTarget_1 = objc.registerName( + "cancelPreviousPerformRequestsWithTarget:", + ); void _objc_msgSend_15( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aTarget, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer aTarget, ) { - return __objc_msgSend_15( - obj, - sel, - aTarget, - ); + return __objc_msgSend_15(obj, sel, aTarget); } late final __objc_msgSend_15Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_15 = __objc_msgSend_15Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_accessInstanceVariablesDirectly1 = - _registerName1("accessInstanceVariablesDirectly"); - late final _sel_useStoredAccessor1 = _registerName1("useStoredAccessor"); - late final _class_NSSet1 = _getClass1("NSSet"); - late final _sel_count1 = _registerName1("count"); - late final _sel_member_1 = _registerName1("member:"); - ffi.Pointer _objc_msgSend_16( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer object, - ) { - return __objc_msgSend_16( - obj, - sel, - object, - ); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_15 = + __objc_msgSend_15Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_accessInstanceVariablesDirectly1 = objc.registerName( + "accessInstanceVariablesDirectly", + ); + late final _sel_useStoredAccessor1 = objc.registerName("useStoredAccessor"); + late final _class_NSSet1 = objc.getClass("NSSet"); + late final _sel_count1 = objc.registerName("count"); + late final _sel_member_1 = objc.registerName("member:"); + ffi.Pointer _objc_msgSend_16( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer object, + ) { + return __objc_msgSend_16(obj, sel, object); } late final __objc_msgSend_16Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_16 = __objc_msgSend_16Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _class_NSEnumerator1 = _getClass1("NSEnumerator"); - late final _sel_nextObject1 = _registerName1("nextObject"); - ffi.Pointer _objc_msgSend_17( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_17( - obj, - sel, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_16 = + __objc_msgSend_16Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _class_NSEnumerator1 = objc.getClass("NSEnumerator"); + late final _sel_nextObject1 = objc.registerName("nextObject"); + ffi.Pointer _objc_msgSend_17( + ffi.Pointer obj, + ffi.Pointer sel, + ) { + return __objc_msgSend_17(obj, sel); } late final __objc_msgSend_17Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_17 = __objc_msgSend_17Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_allObjects1 = _registerName1("allObjects"); - late final _class_NSString1 = _getClass1("NSString"); - late final _sel_length1 = _registerName1("length"); - late final _sel_characterAtIndex_1 = _registerName1("characterAtIndex:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_17 = + __objc_msgSend_17Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_allObjects1 = objc.registerName("allObjects"); + late final _class_NSString1 = objc.getClass("NSString"); + late final _sel_length1 = objc.registerName("length"); + late final _sel_characterAtIndex_1 = objc.registerName("characterAtIndex:"); int _objc_msgSend_18( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int index, ) { - return __objc_msgSend_18( - obj, - sel, - index, - ); + return __objc_msgSend_18(obj, sel, index); } late final __objc_msgSend_18Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedShort Function(ffi.Pointer, - ffi.Pointer, ffi.UnsignedLong)>>('objc_msgSend'); - late final __objc_msgSend_18 = __objc_msgSend_18Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer, int)>(); - - late final _class_NSCoder1 = _getClass1("NSCoder"); - late final _sel_encodeValueOfObjCType_at_1 = - _registerName1("encodeValueOfObjCType:at:"); + ffi.NativeFunction< + ffi.UnsignedShort Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_18 = + __objc_msgSend_18Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _class_NSCoder1 = objc.getClass("NSCoder"); + late final _sel_encodeValueOfObjCType_at_1 = objc.registerName( + "encodeValueOfObjCType:at:", + ); void _objc_msgSend_19( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ffi.Pointer type, ffi.Pointer addr, ) { - return __objc_msgSend_19( - obj, - sel, - type, - addr, - ); + return __objc_msgSend_19(obj, sel, type, addr); } late final __objc_msgSend_19Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_19 = __objc_msgSend_19Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _class_NSData1 = _getClass1("NSData"); - late final _sel_bytes1 = _registerName1("bytes"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_19 = + __objc_msgSend_19Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _class_NSData1 = objc.getClass("NSData"); + late final _sel_bytes1 = objc.registerName("bytes"); ffi.Pointer _objc_msgSend_20( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_20( - obj, - sel, - ); + return __objc_msgSend_20(obj, sel); } late final __objc_msgSend_20Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_20 = __objc_msgSend_20Ptr.asFunction< + ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_20 = + __objc_msgSend_20Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); - late final _sel_description1 = _registerName1("description"); - ffi.Pointer _objc_msgSend_21( - ffi.Pointer obj, - ffi.Pointer sel, + late final _sel_description1 = objc.registerName("description"); + ffi.Pointer _objc_msgSend_21( + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_21( - obj, - sel, - ); + return __objc_msgSend_21(obj, sel); } late final __objc_msgSend_21Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_21 = __objc_msgSend_21Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_21 = + __objc_msgSend_21Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); - late final _sel_getBytes_length_1 = _registerName1("getBytes:length:"); + late final _sel_getBytes_length_1 = objc.registerName("getBytes:length:"); void _objc_msgSend_22( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ffi.Pointer buffer, int length, ) { - return __objc_msgSend_22( - obj, - sel, - buffer, - length, - ); + return __objc_msgSend_22(obj, sel, buffer, length); } late final __objc_msgSend_22Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.UnsignedLong)>>('objc_msgSend'); - late final __objc_msgSend_22 = __objc_msgSend_22Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_22 = + __objc_msgSend_22Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); - late final _sel_getBytes_range_1 = _registerName1("getBytes:range:"); + late final _sel_getBytes_range_1 = objc.registerName("getBytes:range:"); void _objc_msgSend_23( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ffi.Pointer buffer, _NSRange range, ) { - return __objc_msgSend_23( - obj, - sel, - buffer, - range, - ); + return __objc_msgSend_23(obj, sel, buffer, range); } late final __objc_msgSend_23Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, _NSRange)>>('objc_msgSend'); - late final __objc_msgSend_23 = __objc_msgSend_23Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, _NSRange)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_23 = + __objc_msgSend_23Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange, + ) + >(); - late final _sel_isEqualToData_1 = _registerName1("isEqualToData:"); + late final _sel_isEqualToData_1 = objc.registerName("isEqualToData:"); bool _objc_msgSend_24( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer other, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer other, ) { - return __objc_msgSend_24( - obj, - sel, - other, - ); + return __objc_msgSend_24(obj, sel, other); } late final __objc_msgSend_24Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_24 = __objc_msgSend_24Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_subdataWithRange_1 = _registerName1("subdataWithRange:"); - ffi.Pointer _objc_msgSend_25( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_24 = + __objc_msgSend_24Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_subdataWithRange_1 = objc.registerName("subdataWithRange:"); + ffi.Pointer _objc_msgSend_25( + ffi.Pointer obj, + ffi.Pointer sel, _NSRange range, ) { - return __objc_msgSend_25( - obj, - sel, - range, - ); + return __objc_msgSend_25(obj, sel, range); } late final __objc_msgSend_25Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, _NSRange)>>('objc_msgSend'); - late final __objc_msgSend_25 = __objc_msgSend_25Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer, _NSRange)>(); - - late final _sel_writeToFile_atomically_1 = - _registerName1("writeToFile:atomically:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_25 = + __objc_msgSend_25Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ) + >(); + + late final _sel_writeToFile_atomically_1 = objc.registerName( + "writeToFile:atomically:", + ); bool _objc_msgSend_26( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer path, bool useAuxiliaryFile, ) { - return __objc_msgSend_26( - obj, - sel, - path, - useAuxiliaryFile, - ); + return __objc_msgSend_26(obj, sel, path, useAuxiliaryFile); } late final __objc_msgSend_26Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Bool)>>('objc_msgSend'); - late final __objc_msgSend_26 = __objc_msgSend_26Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, bool)>(); - - late final _class_NSURL1 = _getClass1("NSURL"); - late final _sel_initWithScheme_host_path_1 = - _registerName1("initWithScheme:host:path:"); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_26 = + __objc_msgSend_26Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool, + ) + >(); + + late final _class_NSURL1 = objc.getClass("NSURL"); + late final _sel_initWithScheme_host_path_1 = objc.registerName( + "initWithScheme:host:path:", + ); instancetype _objc_msgSend_27( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer scheme, - ffi.Pointer host, - ffi.Pointer path, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer scheme, + ffi.Pointer host, + ffi.Pointer path, ) { - return __objc_msgSend_27( - obj, - sel, - scheme, - host, - path, - ); + return __objc_msgSend_27(obj, sel, scheme, host, path); } late final __objc_msgSend_27Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_27 = __objc_msgSend_27Ptr.asFunction< + ffi.NativeFunction< instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_initFileURLWithPath_isDirectory_relativeToURL_1 = - _registerName1("initFileURLWithPath:isDirectory:relativeToURL:"); + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_27 = + __objc_msgSend_27Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_initFileURLWithPath_isDirectory_relativeToURL_1 = objc + .registerName("initFileURLWithPath:isDirectory:relativeToURL:"); instancetype _objc_msgSend_28( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer path, bool isDir, - ffi.Pointer baseURL, + ffi.Pointer baseURL, ) { - return __objc_msgSend_28( - obj, - sel, - path, - isDir, - baseURL, - ); + return __objc_msgSend_28(obj, sel, path, isDir, baseURL); } late final __objc_msgSend_28Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_28 = __objc_msgSend_28Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, bool, ffi.Pointer)>(); - - late final _sel_initFileURLWithPath_relativeToURL_1 = - _registerName1("initFileURLWithPath:relativeToURL:"); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_28 = + __objc_msgSend_28Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool, + ffi.Pointer, + ) + >(); + + late final _sel_initFileURLWithPath_relativeToURL_1 = objc.registerName( + "initFileURLWithPath:relativeToURL:", + ); instancetype _objc_msgSend_29( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, - ffi.Pointer baseURL, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer path, + ffi.Pointer baseURL, ) { - return __objc_msgSend_29( - obj, - sel, - path, - baseURL, - ); + return __objc_msgSend_29(obj, sel, path, baseURL); } late final __objc_msgSend_29Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_29 = __objc_msgSend_29Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_initFileURLWithPath_isDirectory_1 = - _registerName1("initFileURLWithPath:isDirectory:"); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_29 = + __objc_msgSend_29Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_initFileURLWithPath_isDirectory_1 = objc.registerName( + "initFileURLWithPath:isDirectory:", + ); instancetype _objc_msgSend_30( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer path, bool isDir, ) { - return __objc_msgSend_30( - obj, - sel, - path, - isDir, - ); + return __objc_msgSend_30(obj, sel, path, isDir); } late final __objc_msgSend_30Ptr = _lookup< - ffi.NativeFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Bool)>>('objc_msgSend'); - late final __objc_msgSend_30 = __objc_msgSend_30Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, bool)>(); - - late final _sel_initFileURLWithPath_1 = - _registerName1("initFileURLWithPath:"); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_30 = + __objc_msgSend_30Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool, + ) + >(); + + late final _sel_initFileURLWithPath_1 = objc.registerName( + "initFileURLWithPath:", + ); instancetype _objc_msgSend_31( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer path, ) { - return __objc_msgSend_31( - obj, - sel, - path, - ); + return __objc_msgSend_31(obj, sel, path); } late final __objc_msgSend_31Ptr = _lookup< - ffi.NativeFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_31 = __objc_msgSend_31Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_fileURLWithPath_isDirectory_relativeToURL_1 = - _registerName1("fileURLWithPath:isDirectory:relativeToURL:"); - ffi.Pointer _objc_msgSend_32( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_31 = + __objc_msgSend_31Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_fileURLWithPath_isDirectory_relativeToURL_1 = objc + .registerName("fileURLWithPath:isDirectory:relativeToURL:"); + ffi.Pointer _objc_msgSend_32( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer path, bool isDir, - ffi.Pointer baseURL, + ffi.Pointer baseURL, ) { - return __objc_msgSend_32( - obj, - sel, - path, - isDir, - baseURL, - ); + return __objc_msgSend_32(obj, sel, path, isDir, baseURL); } late final __objc_msgSend_32Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_32 = __objc_msgSend_32Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - ffi.Pointer)>(); - - late final _sel_fileURLWithPath_relativeToURL_1 = - _registerName1("fileURLWithPath:relativeToURL:"); - ffi.Pointer _objc_msgSend_33( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, - ffi.Pointer baseURL, - ) { - return __objc_msgSend_33( - obj, - sel, - path, - baseURL, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_32 = + __objc_msgSend_32Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool, + ffi.Pointer, + ) + >(); + + late final _sel_fileURLWithPath_relativeToURL_1 = objc.registerName( + "fileURLWithPath:relativeToURL:", + ); + ffi.Pointer _objc_msgSend_33( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer path, + ffi.Pointer baseURL, + ) { + return __objc_msgSend_33(obj, sel, path, baseURL); } late final __objc_msgSend_33Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_33 = __objc_msgSend_33Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_fileURLWithPath_isDirectory_1 = - _registerName1("fileURLWithPath:isDirectory:"); - ffi.Pointer _objc_msgSend_34( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_33 = + __objc_msgSend_33Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_fileURLWithPath_isDirectory_1 = objc.registerName( + "fileURLWithPath:isDirectory:", + ); + ffi.Pointer _objc_msgSend_34( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer path, bool isDir, ) { - return __objc_msgSend_34( - obj, - sel, - path, - isDir, - ); + return __objc_msgSend_34(obj, sel, path, isDir); } late final __objc_msgSend_34Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Bool)>>('objc_msgSend'); - late final __objc_msgSend_34 = __objc_msgSend_34Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer, bool)>(); - - late final _sel_fileURLWithPath_1 = _registerName1("fileURLWithPath:"); - ffi.Pointer _objc_msgSend_35( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, - ) { - return __objc_msgSend_35( - obj, - sel, - path, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_34 = + __objc_msgSend_34Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool, + ) + >(); + + late final _sel_fileURLWithPath_1 = objc.registerName("fileURLWithPath:"); + ffi.Pointer _objc_msgSend_35( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer path, + ) { + return __objc_msgSend_35(obj, sel, path); } late final __objc_msgSend_35Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_35 = __objc_msgSend_35Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_35 = + __objc_msgSend_35Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_initFileURLWithFileSystemRepresentation_isDirectory_relativeToURL_1 = - _registerName1( - "initFileURLWithFileSystemRepresentation:isDirectory:relativeToURL:"); + objc.registerName( + "initFileURLWithFileSystemRepresentation:isDirectory:relativeToURL:", + ); instancetype _objc_msgSend_36( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ffi.Pointer path, bool isDir, - ffi.Pointer baseURL, + ffi.Pointer baseURL, ) { - return __objc_msgSend_36( - obj, - sel, - path, - isDir, - baseURL, - ); + return __objc_msgSend_36(obj, sel, path, isDir, baseURL); } late final __objc_msgSend_36Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_36 = + __objc_msgSend_36Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, ffi.Pointer, - ffi.Bool, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_36 = __objc_msgSend_36Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, bool, ffi.Pointer)>(); + bool, + ffi.Pointer, + ) + >(); late final _sel_fileURLWithFileSystemRepresentation_isDirectory_relativeToURL_1 = - _registerName1( - "fileURLWithFileSystemRepresentation:isDirectory:relativeToURL:"); - ffi.Pointer _objc_msgSend_37( - ffi.Pointer obj, - ffi.Pointer sel, + objc.registerName( + "fileURLWithFileSystemRepresentation:isDirectory:relativeToURL:", + ); + ffi.Pointer _objc_msgSend_37( + ffi.Pointer obj, + ffi.Pointer sel, ffi.Pointer path, bool isDir, - ffi.Pointer baseURL, + ffi.Pointer baseURL, ) { - return __objc_msgSend_37( - obj, - sel, - path, - isDir, - baseURL, - ); + return __objc_msgSend_37(obj, sel, path, isDir, baseURL); } late final __objc_msgSend_37Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_37 = + __objc_msgSend_37Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, ffi.Pointer, - ffi.Bool, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_37 = __objc_msgSend_37Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - ffi.Pointer)>(); + bool, + ffi.Pointer, + ) + >(); - late final _sel_initWithString_1 = _registerName1("initWithString:"); + late final _sel_initWithString_1 = objc.registerName("initWithString:"); instancetype _objc_msgSend_38( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer URLString, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer URLString, ) { - return __objc_msgSend_38( - obj, - sel, - URLString, - ); + return __objc_msgSend_38(obj, sel, URLString); } late final __objc_msgSend_38Ptr = _lookup< - ffi.NativeFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_38 = __objc_msgSend_38Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_initWithString_relativeToURL_1 = - _registerName1("initWithString:relativeToURL:"); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_38 = + __objc_msgSend_38Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_initWithString_relativeToURL_1 = objc.registerName( + "initWithString:relativeToURL:", + ); instancetype _objc_msgSend_39( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer URLString, - ffi.Pointer baseURL, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer URLString, + ffi.Pointer baseURL, ) { - return __objc_msgSend_39( - obj, - sel, - URLString, - baseURL, - ); + return __objc_msgSend_39(obj, sel, URLString, baseURL); } late final __objc_msgSend_39Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_39 = __objc_msgSend_39Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_URLWithString_1 = _registerName1("URLWithString:"); - late final _sel_URLWithString_relativeToURL_1 = - _registerName1("URLWithString:relativeToURL:"); - late final _sel_initWithString_encodingInvalidCharacters_1 = - _registerName1("initWithString:encodingInvalidCharacters:"); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_39 = + __objc_msgSend_39Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_URLWithString_1 = objc.registerName("URLWithString:"); + late final _sel_URLWithString_relativeToURL_1 = objc.registerName( + "URLWithString:relativeToURL:", + ); + late final _sel_initWithString_encodingInvalidCharacters_1 = objc + .registerName("initWithString:encodingInvalidCharacters:"); instancetype _objc_msgSend_40( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer URLString, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer URLString, bool encodingInvalidCharacters, ) { - return __objc_msgSend_40( - obj, - sel, - URLString, - encodingInvalidCharacters, - ); + return __objc_msgSend_40(obj, sel, URLString, encodingInvalidCharacters); } late final __objc_msgSend_40Ptr = _lookup< - ffi.NativeFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Bool)>>('objc_msgSend'); - late final __objc_msgSend_40 = __objc_msgSend_40Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, bool)>(); - - late final _sel_URLWithString_encodingInvalidCharacters_1 = - _registerName1("URLWithString:encodingInvalidCharacters:"); - late final _sel_initWithDataRepresentation_relativeToURL_1 = - _registerName1("initWithDataRepresentation:relativeToURL:"); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_40 = + __objc_msgSend_40Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool, + ) + >(); + + late final _sel_URLWithString_encodingInvalidCharacters_1 = objc.registerName( + "URLWithString:encodingInvalidCharacters:", + ); + late final _sel_initWithDataRepresentation_relativeToURL_1 = objc + .registerName("initWithDataRepresentation:relativeToURL:"); instancetype _objc_msgSend_41( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer data, - ffi.Pointer baseURL, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer data, + ffi.Pointer baseURL, ) { - return __objc_msgSend_41( - obj, - sel, - data, - baseURL, - ); + return __objc_msgSend_41(obj, sel, data, baseURL); } late final __objc_msgSend_41Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_41 = __objc_msgSend_41Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_URLWithDataRepresentation_relativeToURL_1 = - _registerName1("URLWithDataRepresentation:relativeToURL:"); - ffi.Pointer _objc_msgSend_42( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer data, - ffi.Pointer baseURL, - ) { - return __objc_msgSend_42( - obj, - sel, - data, - baseURL, - ); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_41 = + __objc_msgSend_41Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_URLWithDataRepresentation_relativeToURL_1 = objc.registerName( + "URLWithDataRepresentation:relativeToURL:", + ); + ffi.Pointer _objc_msgSend_42( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer data, + ffi.Pointer baseURL, + ) { + return __objc_msgSend_42(obj, sel, data, baseURL); } late final __objc_msgSend_42Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_42 = __objc_msgSend_42Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_initAbsoluteURLWithDataRepresentation_relativeToURL_1 = - _registerName1("initAbsoluteURLWithDataRepresentation:relativeToURL:"); - late final _sel_absoluteURLWithDataRepresentation_relativeToURL_1 = - _registerName1("absoluteURLWithDataRepresentation:relativeToURL:"); - late final _sel_dataRepresentation1 = _registerName1("dataRepresentation"); - ffi.Pointer _objc_msgSend_43( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_43( - obj, - sel, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_42 = + __objc_msgSend_42Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_initAbsoluteURLWithDataRepresentation_relativeToURL_1 = objc + .registerName("initAbsoluteURLWithDataRepresentation:relativeToURL:"); + late final _sel_absoluteURLWithDataRepresentation_relativeToURL_1 = objc + .registerName("absoluteURLWithDataRepresentation:relativeToURL:"); + late final _sel_dataRepresentation1 = objc.registerName("dataRepresentation"); + ffi.Pointer _objc_msgSend_43( + ffi.Pointer obj, + ffi.Pointer sel, + ) { + return __objc_msgSend_43(obj, sel); } late final __objc_msgSend_43Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_43 = __objc_msgSend_43Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_absoluteString1 = _registerName1("absoluteString"); - ffi.Pointer _objc_msgSend_44( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_44( - obj, - sel, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_43 = + __objc_msgSend_43Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_absoluteString1 = objc.registerName("absoluteString"); + ffi.Pointer _objc_msgSend_44( + ffi.Pointer obj, + ffi.Pointer sel, + ) { + return __objc_msgSend_44(obj, sel); } late final __objc_msgSend_44Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_44 = __objc_msgSend_44Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_relativeString1 = _registerName1("relativeString"); - late final _sel_baseURL1 = _registerName1("baseURL"); - ffi.Pointer _objc_msgSend_45( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_45( - obj, - sel, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_44 = + __objc_msgSend_44Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_relativeString1 = objc.registerName("relativeString"); + late final _sel_baseURL1 = objc.registerName("baseURL"); + ffi.Pointer _objc_msgSend_45( + ffi.Pointer obj, + ffi.Pointer sel, + ) { + return __objc_msgSend_45(obj, sel); } late final __objc_msgSend_45Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_45 = __objc_msgSend_45Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_absoluteURL1 = _registerName1("absoluteURL"); - late final _sel_scheme1 = _registerName1("scheme"); - late final _sel_resourceSpecifier1 = _registerName1("resourceSpecifier"); - late final _sel_host1 = _registerName1("host"); - late final _class_NSNumber1 = _getClass1("NSNumber"); - late final _class_NSValue1 = _getClass1("NSValue"); - late final _sel_getValue_size_1 = _registerName1("getValue:size:"); - late final _sel_objCType1 = _registerName1("objCType"); - late final _sel_initWithBytes_objCType_1 = - _registerName1("initWithBytes:objCType:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_45 = + __objc_msgSend_45Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_absoluteURL1 = objc.registerName("absoluteURL"); + late final _sel_scheme1 = objc.registerName("scheme"); + late final _sel_resourceSpecifier1 = objc.registerName("resourceSpecifier"); + late final _sel_host1 = objc.registerName("host"); + late final _class_NSNumber1 = objc.getClass("NSNumber"); + late final _class_NSValue1 = objc.getClass("NSValue"); + late final _sel_getValue_size_1 = objc.registerName("getValue:size:"); + late final _sel_objCType1 = objc.registerName("objCType"); + late final _sel_initWithBytes_objCType_1 = objc.registerName( + "initWithBytes:objCType:", + ); instancetype _objc_msgSend_46( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ffi.Pointer value, ffi.Pointer type, ) { - return __objc_msgSend_46( - obj, - sel, - value, - type, - ); + return __objc_msgSend_46(obj, sel, value, type); } late final __objc_msgSend_46Ptr = _lookup< - ffi.NativeFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_46 = __objc_msgSend_46Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_46 = + __objc_msgSend_46Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); - late final _sel_initWithCoder_1 = _registerName1("initWithCoder:"); + late final _sel_initWithCoder_1 = objc.registerName("initWithCoder:"); instancetype _objc_msgSend_47( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer coder, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer coder, ) { - return __objc_msgSend_47( - obj, - sel, - coder, - ); + return __objc_msgSend_47(obj, sel, coder); } late final __objc_msgSend_47Ptr = _lookup< - ffi.NativeFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_47 = __objc_msgSend_47Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_valueWithBytes_objCType_1 = - _registerName1("valueWithBytes:objCType:"); - ffi.Pointer _objc_msgSend_48( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_47 = + __objc_msgSend_47Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_valueWithBytes_objCType_1 = objc.registerName( + "valueWithBytes:objCType:", + ); + ffi.Pointer _objc_msgSend_48( + ffi.Pointer obj, + ffi.Pointer sel, ffi.Pointer value, ffi.Pointer type, ) { - return __objc_msgSend_48( - obj, - sel, - value, - type, - ); + return __objc_msgSend_48(obj, sel, value, type); } late final __objc_msgSend_48Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_48 = + __objc_msgSend_48Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_48 = __objc_msgSend_48Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); + ffi.Pointer, + ) + >(); - late final _sel_value_withObjCType_1 = _registerName1("value:withObjCType:"); - late final _sel_valueWithNonretainedObject_1 = - _registerName1("valueWithNonretainedObject:"); - ffi.Pointer _objc_msgSend_49( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer anObject, + late final _sel_value_withObjCType_1 = objc.registerName( + "value:withObjCType:", + ); + late final _sel_valueWithNonretainedObject_1 = objc.registerName( + "valueWithNonretainedObject:", + ); + ffi.Pointer _objc_msgSend_49( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer anObject, ) { - return __objc_msgSend_49( - obj, - sel, - anObject, - ); + return __objc_msgSend_49(obj, sel, anObject); } late final __objc_msgSend_49Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_49 = __objc_msgSend_49Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_nonretainedObjectValue1 = - _registerName1("nonretainedObjectValue"); - late final _sel_valueWithPointer_1 = _registerName1("valueWithPointer:"); - ffi.Pointer _objc_msgSend_50( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_49 = + __objc_msgSend_49Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_nonretainedObjectValue1 = objc.registerName( + "nonretainedObjectValue", + ); + late final _sel_valueWithPointer_1 = objc.registerName("valueWithPointer:"); + ffi.Pointer _objc_msgSend_50( + ffi.Pointer obj, + ffi.Pointer sel, ffi.Pointer pointer, ) { - return __objc_msgSend_50( - obj, - sel, - pointer, - ); + return __objc_msgSend_50(obj, sel, pointer); } late final __objc_msgSend_50Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_50 = __objc_msgSend_50Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_pointerValue1 = _registerName1("pointerValue"); - late final _sel_isEqualToValue_1 = _registerName1("isEqualToValue:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_50 = + __objc_msgSend_50Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_pointerValue1 = objc.registerName("pointerValue"); + late final _sel_isEqualToValue_1 = objc.registerName("isEqualToValue:"); bool _objc_msgSend_51( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value, ) { - return __objc_msgSend_51( - obj, - sel, - value, - ); + return __objc_msgSend_51(obj, sel, value); } late final __objc_msgSend_51Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_51 = __objc_msgSend_51Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_51 = + __objc_msgSend_51Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); - late final _sel_getValue_1 = _registerName1("getValue:"); + late final _sel_getValue_1 = objc.registerName("getValue:"); void _objc_msgSend_52( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ffi.Pointer value, ) { - return __objc_msgSend_52( - obj, - sel, - value, - ); + return __objc_msgSend_52(obj, sel, value); } late final __objc_msgSend_52Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_52 = __objc_msgSend_52Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_valueWithRange_1 = _registerName1("valueWithRange:"); - ffi.Pointer _objc_msgSend_53( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_52 = + __objc_msgSend_52Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_valueWithRange_1 = objc.registerName("valueWithRange:"); + ffi.Pointer _objc_msgSend_53( + ffi.Pointer obj, + ffi.Pointer sel, _NSRange range, ) { - return __objc_msgSend_53( - obj, - sel, - range, - ); + return __objc_msgSend_53(obj, sel, range); } late final __objc_msgSend_53Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, _NSRange)>>('objc_msgSend'); - late final __objc_msgSend_53 = __objc_msgSend_53Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer, _NSRange)>(); - - late final _sel_rangeValue1 = _registerName1("rangeValue"); - late final _objc_msgSend_useVariants1 = ffi.Abi.current() == ffi.Abi.iosX64 || - ffi.Abi.current() == ffi.Abi.macosX64; + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_53 = + __objc_msgSend_53Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ) + >(); + + late final _sel_rangeValue1 = objc.registerName("rangeValue"); _NSRange _objc_msgSend_54( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_54( - obj, - sel, - ); + return __objc_msgSend_54(obj, sel); } late final __objc_msgSend_54Ptr = _lookup< - ffi.NativeFunction< - _NSRange Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_54 = __objc_msgSend_54Ptr.asFunction< - _NSRange Function(ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + _NSRange Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_54 = + __objc_msgSend_54Ptr + .asFunction< + _NSRange Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); void _objc_msgSend_54_stret( ffi.Pointer<_NSRange> stret, - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_54_stret( - stret, - obj, - sel, - ); + return __objc_msgSend_54_stret(stret, obj, sel); } late final __objc_msgSend_54_stretPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer<_NSRange>, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend_stret'); - late final __objc_msgSend_54_stret = __objc_msgSend_54_stretPtr.asFunction< - void Function(ffi.Pointer<_NSRange>, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_valueWithPoint_1 = _registerName1("valueWithPoint:"); - ffi.Pointer _objc_msgSend_55( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer<_NSRange>, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend_stret'); + late final __objc_msgSend_54_stret = + __objc_msgSend_54_stretPtr + .asFunction< + void Function( + ffi.Pointer<_NSRange>, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_valueWithPoint_1 = objc.registerName("valueWithPoint:"); + ffi.Pointer _objc_msgSend_55( + ffi.Pointer obj, + ffi.Pointer sel, CGPoint point, ) { - return __objc_msgSend_55( - obj, - sel, - point, - ); + return __objc_msgSend_55(obj, sel, point); } late final __objc_msgSend_55Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, CGPoint)>>('objc_msgSend'); - late final __objc_msgSend_55 = __objc_msgSend_55Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer, CGPoint)>(); - - late final _sel_valueWithSize_1 = _registerName1("valueWithSize:"); - ffi.Pointer _objc_msgSend_56( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + CGPoint, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_55 = + __objc_msgSend_55Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + CGPoint, + ) + >(); + + late final _sel_valueWithSize_1 = objc.registerName("valueWithSize:"); + ffi.Pointer _objc_msgSend_56( + ffi.Pointer obj, + ffi.Pointer sel, CGSize size, ) { - return __objc_msgSend_56( - obj, - sel, - size, - ); + return __objc_msgSend_56(obj, sel, size); } late final __objc_msgSend_56Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, CGSize)>>('objc_msgSend'); - late final __objc_msgSend_56 = __objc_msgSend_56Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer, CGSize)>(); - - late final _sel_valueWithRect_1 = _registerName1("valueWithRect:"); - ffi.Pointer _objc_msgSend_57( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + CGSize, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_56 = + __objc_msgSend_56Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + CGSize, + ) + >(); + + late final _sel_valueWithRect_1 = objc.registerName("valueWithRect:"); + ffi.Pointer _objc_msgSend_57( + ffi.Pointer obj, + ffi.Pointer sel, CGRect rect, ) { - return __objc_msgSend_57( - obj, - sel, - rect, - ); + return __objc_msgSend_57(obj, sel, rect); } late final __objc_msgSend_57Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, CGRect)>>('objc_msgSend'); - late final __objc_msgSend_57 = __objc_msgSend_57Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer, CGRect)>(); - - late final _sel_valueWithEdgeInsets_1 = - _registerName1("valueWithEdgeInsets:"); - ffi.Pointer _objc_msgSend_58( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + CGRect, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_57 = + __objc_msgSend_57Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + CGRect, + ) + >(); + + late final _sel_valueWithEdgeInsets_1 = objc.registerName( + "valueWithEdgeInsets:", + ); + ffi.Pointer _objc_msgSend_58( + ffi.Pointer obj, + ffi.Pointer sel, NSEdgeInsets insets, ) { - return __objc_msgSend_58( - obj, - sel, - insets, - ); + return __objc_msgSend_58(obj, sel, insets); } late final __objc_msgSend_58Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, NSEdgeInsets)>>('objc_msgSend'); - late final __objc_msgSend_58 = __objc_msgSend_58Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer, NSEdgeInsets)>(); - - late final _sel_pointValue1 = _registerName1("pointValue"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + NSEdgeInsets, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_58 = + __objc_msgSend_58Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + NSEdgeInsets, + ) + >(); + + late final _sel_pointValue1 = objc.registerName("pointValue"); CGPoint _objc_msgSend_59( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_59( - obj, - sel, - ); + return __objc_msgSend_59(obj, sel); } late final __objc_msgSend_59Ptr = _lookup< - ffi.NativeFunction< - CGPoint Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_59 = __objc_msgSend_59Ptr.asFunction< - CGPoint Function(ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + CGPoint Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_59 = + __objc_msgSend_59Ptr + .asFunction< + CGPoint Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); void _objc_msgSend_59_stret( ffi.Pointer stret, - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_59_stret( - stret, - obj, - sel, - ); + return __objc_msgSend_59_stret(stret, obj, sel); } late final __objc_msgSend_59_stretPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend_stret'); - late final __objc_msgSend_59_stret = __objc_msgSend_59_stretPtr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend_stret'); + late final __objc_msgSend_59_stret = + __objc_msgSend_59_stretPtr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); - late final _sel_sizeValue1 = _registerName1("sizeValue"); + late final _sel_sizeValue1 = objc.registerName("sizeValue"); CGSize _objc_msgSend_60( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_60( - obj, - sel, - ); + return __objc_msgSend_60(obj, sel); } late final __objc_msgSend_60Ptr = _lookup< - ffi.NativeFunction< - CGSize Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_60 = __objc_msgSend_60Ptr.asFunction< - CGSize Function(ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + CGSize Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_60 = + __objc_msgSend_60Ptr + .asFunction< + CGSize Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); void _objc_msgSend_60_stret( ffi.Pointer stret, - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_60_stret( - stret, - obj, - sel, - ); + return __objc_msgSend_60_stret(stret, obj, sel); } late final __objc_msgSend_60_stretPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend_stret'); - late final __objc_msgSend_60_stret = __objc_msgSend_60_stretPtr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend_stret'); + late final __objc_msgSend_60_stret = + __objc_msgSend_60_stretPtr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); - late final _sel_rectValue1 = _registerName1("rectValue"); + late final _sel_rectValue1 = objc.registerName("rectValue"); CGRect _objc_msgSend_61( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_61( - obj, - sel, - ); + return __objc_msgSend_61(obj, sel); } late final __objc_msgSend_61Ptr = _lookup< - ffi.NativeFunction< - CGRect Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_61 = __objc_msgSend_61Ptr.asFunction< - CGRect Function(ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + CGRect Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_61 = + __objc_msgSend_61Ptr + .asFunction< + CGRect Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); void _objc_msgSend_61_stret( ffi.Pointer stret, - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_61_stret( - stret, - obj, - sel, - ); + return __objc_msgSend_61_stret(stret, obj, sel); } late final __objc_msgSend_61_stretPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend_stret'); - late final __objc_msgSend_61_stret = __objc_msgSend_61_stretPtr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend_stret'); + late final __objc_msgSend_61_stret = + __objc_msgSend_61_stretPtr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); - late final _sel_edgeInsetsValue1 = _registerName1("edgeInsetsValue"); + late final _sel_edgeInsetsValue1 = objc.registerName("edgeInsetsValue"); NSEdgeInsets _objc_msgSend_62( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_62( - obj, - sel, - ); + return __objc_msgSend_62(obj, sel); } late final __objc_msgSend_62Ptr = _lookup< - ffi.NativeFunction< - NSEdgeInsets Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_62 = __objc_msgSend_62Ptr.asFunction< - NSEdgeInsets Function(ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + NSEdgeInsets Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_62 = + __objc_msgSend_62Ptr + .asFunction< + NSEdgeInsets Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); void _objc_msgSend_62_stret( ffi.Pointer stret, - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_62_stret( - stret, - obj, - sel, - ); + return __objc_msgSend_62_stret(stret, obj, sel); } late final __objc_msgSend_62_stretPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend_stret'); - late final __objc_msgSend_62_stret = __objc_msgSend_62_stretPtr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_keyPathsForValuesAffectingValueForKey_1 = - _registerName1("keyPathsForValuesAffectingValueForKey:"); - ffi.Pointer _objc_msgSend_63( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer key, - ) { - return __objc_msgSend_63( - obj, - sel, - key, - ); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend_stret'); + late final __objc_msgSend_62_stret = + __objc_msgSend_62_stretPtr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_keyPathsForValuesAffectingValueForKey_1 = objc.registerName( + "keyPathsForValuesAffectingValueForKey:", + ); + ffi.Pointer _objc_msgSend_63( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer key, + ) { + return __objc_msgSend_63(obj, sel, key); } late final __objc_msgSend_63Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_63 = __objc_msgSend_63Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_automaticallyNotifiesObserversForKey_1 = - _registerName1("automaticallyNotifiesObserversForKey:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_63 = + __objc_msgSend_63Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_automaticallyNotifiesObserversForKey_1 = objc.registerName( + "automaticallyNotifiesObserversForKey:", + ); bool _objc_msgSend_64( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer key, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer key, ) { - return __objc_msgSend_64( - obj, - sel, - key, - ); + return __objc_msgSend_64(obj, sel, key); } late final __objc_msgSend_64Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_64 = __objc_msgSend_64Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _class_NSArray1 = _getClass1("NSArray"); - late final _sel_objectAtIndex_1 = _registerName1("objectAtIndex:"); - ffi.Pointer _objc_msgSend_65( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_64 = + __objc_msgSend_64Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _class_NSArray1 = objc.getClass("NSArray"); + late final _sel_objectAtIndex_1 = objc.registerName("objectAtIndex:"); + ffi.Pointer _objc_msgSend_65( + ffi.Pointer obj, + ffi.Pointer sel, int index, ) { - return __objc_msgSend_65( - obj, - sel, - index, - ); + return __objc_msgSend_65(obj, sel, index); } late final __objc_msgSend_65Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.UnsignedLong)>>('objc_msgSend'); - late final __objc_msgSend_65 = __objc_msgSend_65Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_initWithObjects_count_1 = - _registerName1("initWithObjects:count:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_65 = + __objc_msgSend_65Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_initWithObjects_count_1 = objc.registerName( + "initWithObjects:count:", + ); instancetype _objc_msgSend_66( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer> objects, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer> objects, int cnt, ) { - return __objc_msgSend_66( - obj, - sel, - objects, - cnt, - ); + return __objc_msgSend_66(obj, sel, objects, cnt); } late final __objc_msgSend_66Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.UnsignedLong)>>('objc_msgSend'); - late final __objc_msgSend_66 = __objc_msgSend_66Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer>, int)>(); - - late final _sel_arrayByAddingObject_1 = - _registerName1("arrayByAddingObject:"); - ffi.Pointer _objc_msgSend_67( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer anObject, - ) { - return __objc_msgSend_67( - obj, - sel, - anObject, - ); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_66 = + __objc_msgSend_66Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + int, + ) + >(); + + late final _sel_arrayByAddingObject_1 = objc.registerName( + "arrayByAddingObject:", + ); + ffi.Pointer _objc_msgSend_67( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer anObject, + ) { + return __objc_msgSend_67(obj, sel, anObject); } late final __objc_msgSend_67Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_67 = __objc_msgSend_67Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_arrayByAddingObjectsFromArray_1 = - _registerName1("arrayByAddingObjectsFromArray:"); - ffi.Pointer _objc_msgSend_68( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer otherArray, - ) { - return __objc_msgSend_68( - obj, - sel, - otherArray, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_67 = + __objc_msgSend_67Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_arrayByAddingObjectsFromArray_1 = objc.registerName( + "arrayByAddingObjectsFromArray:", + ); + ffi.Pointer _objc_msgSend_68( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer otherArray, + ) { + return __objc_msgSend_68(obj, sel, otherArray); } late final __objc_msgSend_68Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_68 = __objc_msgSend_68Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_componentsJoinedByString_1 = - _registerName1("componentsJoinedByString:"); - ffi.Pointer _objc_msgSend_69( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer separator, - ) { - return __objc_msgSend_69( - obj, - sel, - separator, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_68 = + __objc_msgSend_68Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_componentsJoinedByString_1 = objc.registerName( + "componentsJoinedByString:", + ); + ffi.Pointer _objc_msgSend_69( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer separator, + ) { + return __objc_msgSend_69(obj, sel, separator); } late final __objc_msgSend_69Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_69 = __objc_msgSend_69Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_containsObject_1 = _registerName1("containsObject:"); - late final _sel_descriptionWithLocale_1 = - _registerName1("descriptionWithLocale:"); - ffi.Pointer _objc_msgSend_70( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer locale, - ) { - return __objc_msgSend_70( - obj, - sel, - locale, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_69 = + __objc_msgSend_69Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_containsObject_1 = objc.registerName("containsObject:"); + late final _sel_descriptionWithLocale_1 = objc.registerName( + "descriptionWithLocale:", + ); + ffi.Pointer _objc_msgSend_70( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer locale, + ) { + return __objc_msgSend_70(obj, sel, locale); } late final __objc_msgSend_70Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_70 = __objc_msgSend_70Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_descriptionWithLocale_indent_1 = - _registerName1("descriptionWithLocale:indent:"); - ffi.Pointer _objc_msgSend_71( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer locale, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_70 = + __objc_msgSend_70Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_descriptionWithLocale_indent_1 = objc.registerName( + "descriptionWithLocale:indent:", + ); + ffi.Pointer _objc_msgSend_71( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer locale, int level, ) { - return __objc_msgSend_71( - obj, - sel, - locale, - level, - ); + return __objc_msgSend_71(obj, sel, locale, level); } late final __objc_msgSend_71Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong)>>('objc_msgSend'); - late final __objc_msgSend_71 = __objc_msgSend_71Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_firstObjectCommonWithArray_1 = - _registerName1("firstObjectCommonWithArray:"); - ffi.Pointer _objc_msgSend_72( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer otherArray, - ) { - return __objc_msgSend_72( - obj, - sel, - otherArray, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_71 = + __objc_msgSend_71Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_firstObjectCommonWithArray_1 = objc.registerName( + "firstObjectCommonWithArray:", + ); + ffi.Pointer _objc_msgSend_72( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer otherArray, + ) { + return __objc_msgSend_72(obj, sel, otherArray); } late final __objc_msgSend_72Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_72 = __objc_msgSend_72Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_getObjects_range_1 = _registerName1("getObjects:range:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_72 = + __objc_msgSend_72Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_getObjects_range_1 = objc.registerName("getObjects:range:"); void _objc_msgSend_73( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer> objects, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer> objects, _NSRange range, ) { - return __objc_msgSend_73( - obj, - sel, - objects, - range, - ); + return __objc_msgSend_73(obj, sel, objects, range); } late final __objc_msgSend_73Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer>, _NSRange)>>('objc_msgSend'); - late final __objc_msgSend_73 = __objc_msgSend_73Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer>, _NSRange)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + _NSRange, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_73 = + __objc_msgSend_73Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + _NSRange, + ) + >(); - late final _sel_indexOfObject_1 = _registerName1("indexOfObject:"); + late final _sel_indexOfObject_1 = objc.registerName("indexOfObject:"); int _objc_msgSend_74( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer anObject, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer anObject, ) { - return __objc_msgSend_74( - obj, - sel, - anObject, - ); + return __objc_msgSend_74(obj, sel, anObject); } late final __objc_msgSend_74Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedLong Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_74 = __objc_msgSend_74Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_indexOfObject_inRange_1 = - _registerName1("indexOfObject:inRange:"); + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_74 = + __objc_msgSend_74Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_indexOfObject_inRange_1 = objc.registerName( + "indexOfObject:inRange:", + ); int _objc_msgSend_75( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer anObject, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer anObject, _NSRange range, ) { - return __objc_msgSend_75( - obj, - sel, - anObject, - range, - ); + return __objc_msgSend_75(obj, sel, anObject, range); } late final __objc_msgSend_75Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - _NSRange)>>('objc_msgSend'); - late final __objc_msgSend_75 = __objc_msgSend_75Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, _NSRange)>(); - - late final _sel_indexOfObjectIdenticalTo_1 = - _registerName1("indexOfObjectIdenticalTo:"); - late final _sel_indexOfObjectIdenticalTo_inRange_1 = - _registerName1("indexOfObjectIdenticalTo:inRange:"); - late final _sel_isEqualToArray_1 = _registerName1("isEqualToArray:"); + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_75 = + __objc_msgSend_75Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange, + ) + >(); + + late final _sel_indexOfObjectIdenticalTo_1 = objc.registerName( + "indexOfObjectIdenticalTo:", + ); + late final _sel_indexOfObjectIdenticalTo_inRange_1 = objc.registerName( + "indexOfObjectIdenticalTo:inRange:", + ); + late final _sel_isEqualToArray_1 = objc.registerName("isEqualToArray:"); bool _objc_msgSend_76( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer otherArray, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer otherArray, ) { - return __objc_msgSend_76( - obj, - sel, - otherArray, - ); + return __objc_msgSend_76(obj, sel, otherArray); } late final __objc_msgSend_76Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_76 = __objc_msgSend_76Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_firstObject1 = _registerName1("firstObject"); - late final _sel_lastObject1 = _registerName1("lastObject"); - late final _sel_objectEnumerator1 = _registerName1("objectEnumerator"); - ffi.Pointer _objc_msgSend_77( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_77( - obj, - sel, - ); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_76 = + __objc_msgSend_76Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_firstObject1 = objc.registerName("firstObject"); + late final _sel_lastObject1 = objc.registerName("lastObject"); + late final _sel_objectEnumerator1 = objc.registerName("objectEnumerator"); + ffi.Pointer _objc_msgSend_77( + ffi.Pointer obj, + ffi.Pointer sel, + ) { + return __objc_msgSend_77(obj, sel); } late final __objc_msgSend_77Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_77 = __objc_msgSend_77Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_reverseObjectEnumerator1 = - _registerName1("reverseObjectEnumerator"); - late final _sel_sortedArrayHint1 = _registerName1("sortedArrayHint"); - late final _sel_sortedArrayUsingFunction_context_1 = - _registerName1("sortedArrayUsingFunction:context:"); - ffi.Pointer _objc_msgSend_78( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_77 = + __objc_msgSend_77Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_reverseObjectEnumerator1 = objc.registerName( + "reverseObjectEnumerator", + ); + late final _sel_sortedArrayHint1 = objc.registerName("sortedArrayHint"); + late final _sel_sortedArrayUsingFunction_context_1 = objc.registerName( + "sortedArrayUsingFunction:context:", + ); + ffi.Pointer _objc_msgSend_78( + ffi.Pointer obj, + ffi.Pointer sel, ffi.Pointer< - ffi.NativeFunction< - ffi.Long Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>> - comparator, + ffi.NativeFunction< + ffi.Long Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + > comparator, ffi.Pointer context, ) { - return __objc_msgSend_78( - obj, - sel, - comparator, - context, - ); + return __objc_msgSend_78(obj, sel, comparator, context); } late final __objc_msgSend_78Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.Long Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_78 = + __objc_msgSend_78Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, ffi.Pointer< - ffi.NativeFunction< - ffi.Long Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_78 = __objc_msgSend_78Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.Long Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>, - ffi.Pointer)>(); - - late final _sel_sortedArrayUsingFunction_context_hint_1 = - _registerName1("sortedArrayUsingFunction:context:hint:"); - ffi.Pointer _objc_msgSend_79( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.NativeFunction< + ffi.Long Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >, + ffi.Pointer, + ) + >(); + + late final _sel_sortedArrayUsingFunction_context_hint_1 = objc.registerName( + "sortedArrayUsingFunction:context:hint:", + ); + ffi.Pointer _objc_msgSend_79( + ffi.Pointer obj, + ffi.Pointer sel, ffi.Pointer< - ffi.NativeFunction< - ffi.Long Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>> - comparator, + ffi.NativeFunction< + ffi.Long Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + > comparator, ffi.Pointer context, - ffi.Pointer hint, + ffi.Pointer hint, ) { - return __objc_msgSend_79( - obj, - sel, - comparator, - context, - hint, - ); + return __objc_msgSend_79(obj, sel, comparator, context, hint); } late final __objc_msgSend_79Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.Long Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_79 = + __objc_msgSend_79Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, ffi.Pointer< - ffi.NativeFunction< - ffi.Long Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>, + ffi.NativeFunction< + ffi.Long Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_79 = __objc_msgSend_79Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.Long Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>, - ffi.Pointer, - ffi.Pointer)>(); + ffi.Pointer, + ) + >(); - late final _sel_sortedArrayUsingSelector_1 = - _registerName1("sortedArrayUsingSelector:"); - ffi.Pointer _objc_msgSend_80( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer comparator, + late final _sel_sortedArrayUsingSelector_1 = objc.registerName( + "sortedArrayUsingSelector:", + ); + ffi.Pointer _objc_msgSend_80( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer comparator, ) { - return __objc_msgSend_80( - obj, - sel, - comparator, - ); + return __objc_msgSend_80(obj, sel, comparator); } late final __objc_msgSend_80Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_80 = __objc_msgSend_80Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_subarrayWithRange_1 = _registerName1("subarrayWithRange:"); - ffi.Pointer _objc_msgSend_81( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_80 = + __objc_msgSend_80Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_subarrayWithRange_1 = objc.registerName("subarrayWithRange:"); + ffi.Pointer _objc_msgSend_81( + ffi.Pointer obj, + ffi.Pointer sel, _NSRange range, ) { - return __objc_msgSend_81( - obj, - sel, - range, - ); + return __objc_msgSend_81(obj, sel, range); } late final __objc_msgSend_81Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, _NSRange)>>('objc_msgSend'); - late final __objc_msgSend_81 = __objc_msgSend_81Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer, _NSRange)>(); - - late final _class_NSError1 = _getClass1("NSError"); - late final _sel_initWithDomain_code_userInfo_1 = - _registerName1("initWithDomain:code:userInfo:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_81 = + __objc_msgSend_81Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ) + >(); + + late final _class_NSError1 = objc.getClass("NSError"); + late final _sel_initWithDomain_code_userInfo_1 = objc.registerName( + "initWithDomain:code:userInfo:", + ); instancetype _objc_msgSend_82( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer domain, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer domain, int code, - ffi.Pointer dict, + ffi.Pointer dict, ) { - return __objc_msgSend_82( - obj, - sel, - domain, - code, - dict, - ); + return __objc_msgSend_82(obj, sel, domain, code, dict); } late final __objc_msgSend_82Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Long, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_82 = __objc_msgSend_82Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int, ffi.Pointer)>(); - - late final _sel_errorWithDomain_code_userInfo_1 = - _registerName1("errorWithDomain:code:userInfo:"); - late final _sel_domain1 = _registerName1("domain"); - late final _sel_code1 = _registerName1("code"); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Long, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_82 = + __objc_msgSend_82Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ) + >(); + + late final _sel_errorWithDomain_code_userInfo_1 = objc.registerName( + "errorWithDomain:code:userInfo:", + ); + late final _sel_domain1 = objc.registerName("domain"); + late final _sel_code1 = objc.registerName("code"); int _objc_msgSend_83( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_83( - obj, - sel, - ); + return __objc_msgSend_83(obj, sel); } late final __objc_msgSend_83Ptr = _lookup< - ffi.NativeFunction< - ffi.Long Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_83 = __objc_msgSend_83Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer)>(); - - late final _sel_userInfo1 = _registerName1("userInfo"); - late final _sel_localizedDescription1 = - _registerName1("localizedDescription"); - late final _sel_localizedFailureReason1 = - _registerName1("localizedFailureReason"); - late final _sel_localizedRecoverySuggestion1 = - _registerName1("localizedRecoverySuggestion"); - late final _sel_localizedRecoveryOptions1 = - _registerName1("localizedRecoveryOptions"); - ffi.Pointer _objc_msgSend_84( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_84( - obj, - sel, - ); + ffi.NativeFunction< + ffi.Long Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_83 = + __objc_msgSend_83Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_userInfo1 = objc.registerName("userInfo"); + late final _sel_localizedDescription1 = objc.registerName( + "localizedDescription", + ); + late final _sel_localizedFailureReason1 = objc.registerName( + "localizedFailureReason", + ); + late final _sel_localizedRecoverySuggestion1 = objc.registerName( + "localizedRecoverySuggestion", + ); + late final _sel_localizedRecoveryOptions1 = objc.registerName( + "localizedRecoveryOptions", + ); + ffi.Pointer _objc_msgSend_84( + ffi.Pointer obj, + ffi.Pointer sel, + ) { + return __objc_msgSend_84(obj, sel); } late final __objc_msgSend_84Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_84 = __objc_msgSend_84Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_recoveryAttempter1 = _registerName1("recoveryAttempter"); - late final _sel_helpAnchor1 = _registerName1("helpAnchor"); - late final _sel_underlyingErrors1 = _registerName1("underlyingErrors"); - ffi.Pointer _objc_msgSend_85( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_85( - obj, - sel, - ); - } - - late final __objc_msgSend_85Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_85 = __objc_msgSend_85Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); - - ffi.Pointer<_ObjCBlockDesc> _newBlockDesc1() { - final d = - pkg_ffi.calloc.allocate<_ObjCBlockDesc>(ffi.sizeOf<_ObjCBlockDesc>()); - d.ref.reserved = 0; - d.ref.size = ffi.sizeOf<_ObjCBlock>(); - d.ref.copy_helper = ffi.nullptr; - d.ref.dispose_helper = ffi.nullptr; - d.ref.signature = ffi.nullptr; - return d; - } - - late final _objc_block_desc1 = _newBlockDesc1(); - late final _objc_concrete_global_block1 = - _lookup('_NSConcreteGlobalBlock'); - ffi.Pointer<_ObjCBlock> _newBlock1( - ffi.Pointer invoke, ffi.Pointer target) { - final b = pkg_ffi.calloc.allocate<_ObjCBlock>(ffi.sizeOf<_ObjCBlock>()); - b.ref.isa = _objc_concrete_global_block1; - b.ref.flags = 0; - b.ref.reserved = 0; - b.ref.invoke = invoke; - b.ref.target = target; - b.ref.descriptor = _objc_block_desc1; - final copy = _Block_copy(b.cast()).cast<_ObjCBlock>(); - pkg_ffi.calloc.free(b); - return copy; - } - - ffi.Pointer _Block_copy( - ffi.Pointer value, - ) { - return __Block_copy( - value, - ); - } - - late final __Block_copyPtr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer)>>('_Block_copy'); - late final __Block_copy = __Block_copyPtr - .asFunction Function(ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_84 = + __objc_msgSend_84Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); - void _Block_release( - ffi.Pointer value, + late final _sel_recoveryAttempter1 = objc.registerName("recoveryAttempter"); + late final _sel_helpAnchor1 = objc.registerName("helpAnchor"); + late final _sel_underlyingErrors1 = objc.registerName("underlyingErrors"); + ffi.Pointer _objc_msgSend_85( + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __Block_release( - value, - ); + return __objc_msgSend_85(obj, sel); } - late final __Block_releasePtr = - _lookup)>>( - '_Block_release'); - late final __Block_release = - __Block_releasePtr.asFunction)>(); - - late final _objc_releaseFinalizer11 = - ffi.NativeFinalizer(__Block_releasePtr.cast()); - late final _sel_setUserInfoValueProviderForDomain_provider_1 = - _registerName1("setUserInfoValueProviderForDomain:provider:"); + late final __objc_msgSend_85Ptr = _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_85 = + __objc_msgSend_85Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_setUserInfoValueProviderForDomain_provider_1 = objc + .registerName("setUserInfoValueProviderForDomain:provider:"); void _objc_msgSend_86( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer errorDomain, - ffi.Pointer<_ObjCBlock> provider, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer errorDomain, + ffi.Pointer provider, ) { - return __objc_msgSend_86( - obj, - sel, - errorDomain, - provider, - ); + return __objc_msgSend_86(obj, sel, errorDomain, provider); } late final __objc_msgSend_86Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_86 = __objc_msgSend_86Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_userInfoValueProviderForDomain_1 = - _registerName1("userInfoValueProviderForDomain:"); - ffi.Pointer<_ObjCBlock> _objc_msgSend_87( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer err, - ffi.Pointer userInfoKey, - ffi.Pointer errorDomain, - ) { - return __objc_msgSend_87( - obj, - sel, - err, - userInfoKey, - errorDomain, - ); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_86 = + __objc_msgSend_86Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_userInfoValueProviderForDomain_1 = objc.registerName( + "userInfoValueProviderForDomain:", + ); + ffi.Pointer _objc_msgSend_87( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer err, + ffi.Pointer userInfoKey, + ffi.Pointer errorDomain, + ) { + return __objc_msgSend_87(obj, sel, err, userInfoKey, errorDomain); } late final __objc_msgSend_87Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer<_ObjCBlock> Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_87 = __objc_msgSend_87Ptr.asFunction< - ffi.Pointer<_ObjCBlock> Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_setKeys_triggerChangeNotificationsForDependentKey_1 = - _registerName1("setKeys:triggerChangeNotificationsForDependentKey:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_87 = + __objc_msgSend_87Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_setKeys_triggerChangeNotificationsForDependentKey_1 = objc + .registerName("setKeys:triggerChangeNotificationsForDependentKey:"); void _objc_msgSend_88( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer keys, - ffi.Pointer dependentKey, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer keys, + ffi.Pointer dependentKey, ) { - return __objc_msgSend_88( - obj, - sel, - keys, - dependentKey, - ); + return __objc_msgSend_88(obj, sel, keys, dependentKey); } late final __objc_msgSend_88Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_88 = __objc_msgSend_88Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_classFallbacksForKeyedArchiver1 = - _registerName1("classFallbacksForKeyedArchiver"); - late final _sel_classForKeyedUnarchiver1 = - _registerName1("classForKeyedUnarchiver"); - late final _sel_writeToURL_error_1 = _registerName1("writeToURL:error:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_88 = + __objc_msgSend_88Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_classFallbacksForKeyedArchiver1 = objc.registerName( + "classFallbacksForKeyedArchiver", + ); + late final _sel_classForKeyedUnarchiver1 = objc.registerName( + "classForKeyedUnarchiver", + ); + late final _sel_writeToURL_error_1 = objc.registerName("writeToURL:error:"); bool _objc_msgSend_89( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, - ffi.Pointer> error, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer url, + ffi.Pointer> error, ) { - return __objc_msgSend_89( - obj, - sel, - url, - error, - ); + return __objc_msgSend_89(obj, sel, url, error); } late final __objc_msgSend_89Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_89 = __objc_msgSend_89Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer>)>(); - - late final _sel_makeObjectsPerformSelector_1 = - _registerName1("makeObjectsPerformSelector:"); - late final _sel_makeObjectsPerformSelector_withObject_1 = - _registerName1("makeObjectsPerformSelector:withObject:"); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_89 = + __objc_msgSend_89Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + >(); + + late final _sel_makeObjectsPerformSelector_1 = objc.registerName( + "makeObjectsPerformSelector:", + ); + late final _sel_makeObjectsPerformSelector_withObject_1 = objc.registerName( + "makeObjectsPerformSelector:withObject:", + ); void _objc_msgSend_90( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aSelector, - ffi.Pointer argument, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer aSelector, + ffi.Pointer argument, ) { - return __objc_msgSend_90( - obj, - sel, - aSelector, - argument, - ); + return __objc_msgSend_90(obj, sel, aSelector, argument); } late final __objc_msgSend_90Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_90 = __objc_msgSend_90Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _class_NSIndexSet1 = _getClass1("NSIndexSet"); - late final _sel_indexSet1 = _registerName1("indexSet"); - late final _sel_indexSetWithIndex_1 = _registerName1("indexSetWithIndex:"); - late final _sel_indexSetWithIndexesInRange_1 = - _registerName1("indexSetWithIndexesInRange:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_90 = + __objc_msgSend_90Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _class_NSIndexSet1 = objc.getClass("NSIndexSet"); + late final _sel_indexSet1 = objc.registerName("indexSet"); + late final _sel_indexSetWithIndex_1 = objc.registerName("indexSetWithIndex:"); + late final _sel_indexSetWithIndexesInRange_1 = objc.registerName( + "indexSetWithIndexesInRange:", + ); instancetype _objc_msgSend_91( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, _NSRange range, ) { - return __objc_msgSend_91( - obj, - sel, - range, - ); + return __objc_msgSend_91(obj, sel, range); } late final __objc_msgSend_91Ptr = _lookup< - ffi.NativeFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - _NSRange)>>('objc_msgSend'); - late final __objc_msgSend_91 = __objc_msgSend_91Ptr.asFunction< + ffi.NativeFunction< instancetype Function( - ffi.Pointer, ffi.Pointer, _NSRange)>(); + ffi.Pointer, + ffi.Pointer, + _NSRange, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_91 = + __objc_msgSend_91Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ) + >(); - late final _sel_initWithIndexesInRange_1 = - _registerName1("initWithIndexesInRange:"); - late final _sel_initWithIndexSet_1 = _registerName1("initWithIndexSet:"); + late final _sel_initWithIndexesInRange_1 = objc.registerName( + "initWithIndexesInRange:", + ); + late final _sel_initWithIndexSet_1 = objc.registerName("initWithIndexSet:"); instancetype _objc_msgSend_92( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer indexSet, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer indexSet, ) { - return __objc_msgSend_92( - obj, - sel, - indexSet, - ); + return __objc_msgSend_92(obj, sel, indexSet); } late final __objc_msgSend_92Ptr = _lookup< - ffi.NativeFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_92 = __objc_msgSend_92Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_initWithIndex_1 = _registerName1("initWithIndex:"); - late final _sel_isEqualToIndexSet_1 = _registerName1("isEqualToIndexSet:"); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_92 = + __objc_msgSend_92Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_initWithIndex_1 = objc.registerName("initWithIndex:"); + late final _sel_isEqualToIndexSet_1 = objc.registerName("isEqualToIndexSet:"); bool _objc_msgSend_93( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer indexSet, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer indexSet, ) { - return __objc_msgSend_93( - obj, - sel, - indexSet, - ); + return __objc_msgSend_93(obj, sel, indexSet); } late final __objc_msgSend_93Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_93 = __objc_msgSend_93Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_firstIndex1 = _registerName1("firstIndex"); - late final _sel_lastIndex1 = _registerName1("lastIndex"); - late final _sel_indexGreaterThanIndex_1 = - _registerName1("indexGreaterThanIndex:"); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_93 = + __objc_msgSend_93Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_firstIndex1 = objc.registerName("firstIndex"); + late final _sel_lastIndex1 = objc.registerName("lastIndex"); + late final _sel_indexGreaterThanIndex_1 = objc.registerName( + "indexGreaterThanIndex:", + ); int _objc_msgSend_94( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int value, ) { - return __objc_msgSend_94( - obj, - sel, - value, - ); + return __objc_msgSend_94(obj, sel, value); } late final __objc_msgSend_94Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedLong Function(ffi.Pointer, - ffi.Pointer, ffi.UnsignedLong)>>('objc_msgSend'); - late final __objc_msgSend_94 = __objc_msgSend_94Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_indexLessThanIndex_1 = _registerName1("indexLessThanIndex:"); - late final _sel_indexGreaterThanOrEqualToIndex_1 = - _registerName1("indexGreaterThanOrEqualToIndex:"); - late final _sel_indexLessThanOrEqualToIndex_1 = - _registerName1("indexLessThanOrEqualToIndex:"); - late final _sel_getIndexes_maxCount_inIndexRange_1 = - _registerName1("getIndexes:maxCount:inIndexRange:"); + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_94 = + __objc_msgSend_94Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_indexLessThanIndex_1 = objc.registerName( + "indexLessThanIndex:", + ); + late final _sel_indexGreaterThanOrEqualToIndex_1 = objc.registerName( + "indexGreaterThanOrEqualToIndex:", + ); + late final _sel_indexLessThanOrEqualToIndex_1 = objc.registerName( + "indexLessThanOrEqualToIndex:", + ); + late final _sel_getIndexes_maxCount_inIndexRange_1 = objc.registerName( + "getIndexes:maxCount:inIndexRange:", + ); int _objc_msgSend_95( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ffi.Pointer indexBuffer, int bufferSize, ffi.Pointer<_NSRange> range, ) { - return __objc_msgSend_95( - obj, - sel, - indexBuffer, - bufferSize, - range, - ); + return __objc_msgSend_95(obj, sel, indexBuffer, bufferSize, range); } late final __objc_msgSend_95Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer, - ffi.Pointer, + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer<_NSRange>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_95 = + __objc_msgSend_95Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer<_NSRange>)>>('objc_msgSend'); - late final __objc_msgSend_95 = __objc_msgSend_95Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int, ffi.Pointer<_NSRange>)>(); - - late final _sel_countOfIndexesInRange_1 = - _registerName1("countOfIndexesInRange:"); + int, + ffi.Pointer<_NSRange>, + ) + >(); + + late final _sel_countOfIndexesInRange_1 = objc.registerName( + "countOfIndexesInRange:", + ); int _objc_msgSend_96( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, _NSRange range, ) { - return __objc_msgSend_96( - obj, - sel, - range, - ); + return __objc_msgSend_96(obj, sel, range); } late final __objc_msgSend_96Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedLong Function(ffi.Pointer, - ffi.Pointer, _NSRange)>>('objc_msgSend'); - late final __objc_msgSend_96 = __objc_msgSend_96Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer, _NSRange)>(); + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_96 = + __objc_msgSend_96Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ) + >(); - late final _sel_containsIndex_1 = _registerName1("containsIndex:"); + late final _sel_containsIndex_1 = objc.registerName("containsIndex:"); bool _objc_msgSend_97( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int value, ) { - return __objc_msgSend_97( - obj, - sel, - value, - ); + return __objc_msgSend_97(obj, sel, value); } late final __objc_msgSend_97Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong)>>('objc_msgSend'); - late final __objc_msgSend_97 = __objc_msgSend_97Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_containsIndexesInRange_1 = - _registerName1("containsIndexesInRange:"); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_97 = + __objc_msgSend_97Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_containsIndexesInRange_1 = objc.registerName( + "containsIndexesInRange:", + ); bool _objc_msgSend_98( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, _NSRange range, ) { - return __objc_msgSend_98( - obj, - sel, - range, - ); + return __objc_msgSend_98(obj, sel, range); } late final __objc_msgSend_98Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer, ffi.Pointer, - _NSRange)>>('objc_msgSend'); - late final __objc_msgSend_98 = __objc_msgSend_98Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, _NSRange)>(); - - late final _sel_containsIndexes_1 = _registerName1("containsIndexes:"); - late final _sel_intersectsIndexesInRange_1 = - _registerName1("intersectsIndexesInRange:"); - late final _sel_enumerateIndexesUsingBlock_1 = - _registerName1("enumerateIndexesUsingBlock:"); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_98 = + __objc_msgSend_98Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ) + >(); + + late final _sel_containsIndexes_1 = objc.registerName("containsIndexes:"); + late final _sel_intersectsIndexesInRange_1 = objc.registerName( + "intersectsIndexesInRange:", + ); + late final _sel_enumerateIndexesUsingBlock_1 = objc.registerName( + "enumerateIndexesUsingBlock:", + ); void _objc_msgSend_99( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer<_ObjCBlock> block, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer block, ) { - return __objc_msgSend_99( - obj, - sel, - block, - ); + return __objc_msgSend_99(obj, sel, block); } late final __objc_msgSend_99Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_99 = __objc_msgSend_99Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_enumerateIndexesWithOptions_usingBlock_1 = - _registerName1("enumerateIndexesWithOptions:usingBlock:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_99 = + __objc_msgSend_99Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_enumerateIndexesWithOptions_usingBlock_1 = objc.registerName( + "enumerateIndexesWithOptions:usingBlock:", + ); void _objc_msgSend_100( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int opts, - ffi.Pointer<_ObjCBlock> block, + ffi.Pointer block, ) { - return __objc_msgSend_100( - obj, - sel, - opts, - block, - ); + return __objc_msgSend_100(obj, sel, opts, block); } late final __objc_msgSend_100Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Int32, ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_100 = __objc_msgSend_100Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int, - ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_enumerateIndexesInRange_options_usingBlock_1 = - _registerName1("enumerateIndexesInRange:options:usingBlock:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_100 = + __objc_msgSend_100Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ) + >(); + + late final _sel_enumerateIndexesInRange_options_usingBlock_1 = objc + .registerName("enumerateIndexesInRange:options:usingBlock:"); void _objc_msgSend_101( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, _NSRange range, int opts, - ffi.Pointer<_ObjCBlock> block, + ffi.Pointer block, ) { - return __objc_msgSend_101( - obj, - sel, - range, - opts, - block, - ); + return __objc_msgSend_101(obj, sel, range, opts, block); } late final __objc_msgSend_101Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - _NSRange, ffi.Int32, ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_101 = __objc_msgSend_101Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, _NSRange, - int, ffi.Pointer<_ObjCBlock>)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Int32, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_101 = + __objc_msgSend_101Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + int, + ffi.Pointer, + ) + >(); - late final _sel_indexPassingTest_1 = _registerName1("indexPassingTest:"); + late final _sel_indexPassingTest_1 = objc.registerName("indexPassingTest:"); int _objc_msgSend_102( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer<_ObjCBlock> predicate, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer predicate, ) { - return __objc_msgSend_102( - obj, - sel, - predicate, - ); + return __objc_msgSend_102(obj, sel, predicate); } late final __objc_msgSend_102Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedLong Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_102 = __objc_msgSend_102Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_indexWithOptions_passingTest_1 = - _registerName1("indexWithOptions:passingTest:"); + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_102 = + __objc_msgSend_102Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_indexWithOptions_passingTest_1 = objc.registerName( + "indexWithOptions:passingTest:", + ); int _objc_msgSend_103( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int opts, - ffi.Pointer<_ObjCBlock> predicate, + ffi.Pointer predicate, ) { - return __objc_msgSend_103( - obj, - sel, - opts, - predicate, - ); + return __objc_msgSend_103(obj, sel, opts, predicate); } late final __objc_msgSend_103Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_103 = __objc_msgSend_103Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer, int, - ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_indexInRange_options_passingTest_1 = - _registerName1("indexInRange:options:passingTest:"); + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_103 = + __objc_msgSend_103Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ) + >(); + + late final _sel_indexInRange_options_passingTest_1 = objc.registerName( + "indexInRange:options:passingTest:", + ); int _objc_msgSend_104( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, _NSRange range, int opts, - ffi.Pointer<_ObjCBlock> predicate, + ffi.Pointer predicate, ) { - return __objc_msgSend_104( - obj, - sel, - range, - opts, - predicate, - ); + return __objc_msgSend_104(obj, sel, range, opts, predicate); } late final __objc_msgSend_104Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer, - ffi.Pointer, + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Int32, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_104 = + __objc_msgSend_104Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, _NSRange, - ffi.Int32, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_104 = __objc_msgSend_104Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer, _NSRange, int, - ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_indexesPassingTest_1 = _registerName1("indexesPassingTest:"); - ffi.Pointer _objc_msgSend_105( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer<_ObjCBlock> predicate, - ) { - return __objc_msgSend_105( - obj, - sel, - predicate, - ); + int, + ffi.Pointer, + ) + >(); + + late final _sel_indexesPassingTest_1 = objc.registerName( + "indexesPassingTest:", + ); + ffi.Pointer _objc_msgSend_105( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer predicate, + ) { + return __objc_msgSend_105(obj, sel, predicate); } late final __objc_msgSend_105Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_105 = __objc_msgSend_105Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_indexesWithOptions_passingTest_1 = - _registerName1("indexesWithOptions:passingTest:"); - ffi.Pointer _objc_msgSend_106( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_105 = + __objc_msgSend_105Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_indexesWithOptions_passingTest_1 = objc.registerName( + "indexesWithOptions:passingTest:", + ); + ffi.Pointer _objc_msgSend_106( + ffi.Pointer obj, + ffi.Pointer sel, int opts, - ffi.Pointer<_ObjCBlock> predicate, + ffi.Pointer predicate, ) { - return __objc_msgSend_106( - obj, - sel, - opts, - predicate, - ); + return __objc_msgSend_106(obj, sel, opts, predicate); } late final __objc_msgSend_106Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_106 = __objc_msgSend_106Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, int, ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_indexesInRange_options_passingTest_1 = - _registerName1("indexesInRange:options:passingTest:"); - ffi.Pointer _objc_msgSend_107( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_106 = + __objc_msgSend_106Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ) + >(); + + late final _sel_indexesInRange_options_passingTest_1 = objc.registerName( + "indexesInRange:options:passingTest:", + ); + ffi.Pointer _objc_msgSend_107( + ffi.Pointer obj, + ffi.Pointer sel, _NSRange range, int opts, - ffi.Pointer<_ObjCBlock> predicate, + ffi.Pointer predicate, ) { - return __objc_msgSend_107( - obj, - sel, - range, - opts, - predicate, - ); + return __objc_msgSend_107(obj, sel, range, opts, predicate); } late final __objc_msgSend_107Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Int32, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_107 = + __objc_msgSend_107Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, _NSRange, - ffi.Int32, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_107 = __objc_msgSend_107Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, _NSRange, int, ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_enumerateRangesUsingBlock_1 = - _registerName1("enumerateRangesUsingBlock:"); + int, + ffi.Pointer, + ) + >(); + + late final _sel_enumerateRangesUsingBlock_1 = objc.registerName( + "enumerateRangesUsingBlock:", + ); void _objc_msgSend_108( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer<_ObjCBlock> block, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer block, ) { - return __objc_msgSend_108( - obj, - sel, - block, - ); + return __objc_msgSend_108(obj, sel, block); } late final __objc_msgSend_108Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_108 = __objc_msgSend_108Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_enumerateRangesWithOptions_usingBlock_1 = - _registerName1("enumerateRangesWithOptions:usingBlock:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_108 = + __objc_msgSend_108Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_enumerateRangesWithOptions_usingBlock_1 = objc.registerName( + "enumerateRangesWithOptions:usingBlock:", + ); void _objc_msgSend_109( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int opts, - ffi.Pointer<_ObjCBlock> block, + ffi.Pointer block, ) { - return __objc_msgSend_109( - obj, - sel, - opts, - block, - ); + return __objc_msgSend_109(obj, sel, opts, block); } late final __objc_msgSend_109Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Int32, ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_109 = __objc_msgSend_109Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int, - ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_enumerateRangesInRange_options_usingBlock_1 = - _registerName1("enumerateRangesInRange:options:usingBlock:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_109 = + __objc_msgSend_109Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ) + >(); + + late final _sel_enumerateRangesInRange_options_usingBlock_1 = objc + .registerName("enumerateRangesInRange:options:usingBlock:"); void _objc_msgSend_110( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, _NSRange range, int opts, - ffi.Pointer<_ObjCBlock> block, + ffi.Pointer block, ) { - return __objc_msgSend_110( - obj, - sel, - range, - opts, - block, - ); + return __objc_msgSend_110(obj, sel, range, opts, block); } late final __objc_msgSend_110Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - _NSRange, ffi.Int32, ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_110 = __objc_msgSend_110Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, _NSRange, - int, ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_objectsAtIndexes_1 = _registerName1("objectsAtIndexes:"); - ffi.Pointer _objc_msgSend_111( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer indexes, - ) { - return __objc_msgSend_111( - obj, - sel, - indexes, - ); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Int32, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_110 = + __objc_msgSend_110Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + int, + ffi.Pointer, + ) + >(); + + late final _sel_objectsAtIndexes_1 = objc.registerName("objectsAtIndexes:"); + ffi.Pointer _objc_msgSend_111( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer indexes, + ) { + return __objc_msgSend_111(obj, sel, indexes); } late final __objc_msgSend_111Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_111 = __objc_msgSend_111Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_objectAtIndexedSubscript_1 = - _registerName1("objectAtIndexedSubscript:"); - late final _sel_enumerateObjectsUsingBlock_1 = - _registerName1("enumerateObjectsUsingBlock:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_111 = + __objc_msgSend_111Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_objectAtIndexedSubscript_1 = objc.registerName( + "objectAtIndexedSubscript:", + ); + late final _sel_enumerateObjectsUsingBlock_1 = objc.registerName( + "enumerateObjectsUsingBlock:", + ); void _objc_msgSend_112( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer<_ObjCBlock> block, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer block, ) { - return __objc_msgSend_112( - obj, - sel, - block, - ); + return __objc_msgSend_112(obj, sel, block); } late final __objc_msgSend_112Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_112 = __objc_msgSend_112Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_enumerateObjectsWithOptions_usingBlock_1 = - _registerName1("enumerateObjectsWithOptions:usingBlock:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_112 = + __objc_msgSend_112Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_enumerateObjectsWithOptions_usingBlock_1 = objc.registerName( + "enumerateObjectsWithOptions:usingBlock:", + ); void _objc_msgSend_113( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int opts, - ffi.Pointer<_ObjCBlock> block, + ffi.Pointer block, ) { - return __objc_msgSend_113( - obj, - sel, - opts, - block, - ); + return __objc_msgSend_113(obj, sel, opts, block); } late final __objc_msgSend_113Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Int32, ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_113 = __objc_msgSend_113Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int, - ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_enumerateObjectsAtIndexes_options_usingBlock_1 = - _registerName1("enumerateObjectsAtIndexes:options:usingBlock:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_113 = + __objc_msgSend_113Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ) + >(); + + late final _sel_enumerateObjectsAtIndexes_options_usingBlock_1 = objc + .registerName("enumerateObjectsAtIndexes:options:usingBlock:"); void _objc_msgSend_114( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer s, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer s, int opts, - ffi.Pointer<_ObjCBlock> block, + ffi.Pointer block, ) { - return __objc_msgSend_114( - obj, - sel, - s, - opts, - block, - ); + return __objc_msgSend_114(obj, sel, s, opts, block); } late final __objc_msgSend_114Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_114 = __objc_msgSend_114Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int, ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_indexOfObjectPassingTest_1 = - _registerName1("indexOfObjectPassingTest:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_114 = + __objc_msgSend_114Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ) + >(); + + late final _sel_indexOfObjectPassingTest_1 = objc.registerName( + "indexOfObjectPassingTest:", + ); int _objc_msgSend_115( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer<_ObjCBlock> predicate, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer predicate, ) { - return __objc_msgSend_115( - obj, - sel, - predicate, - ); + return __objc_msgSend_115(obj, sel, predicate); } late final __objc_msgSend_115Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedLong Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_115 = __objc_msgSend_115Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_indexOfObjectWithOptions_passingTest_1 = - _registerName1("indexOfObjectWithOptions:passingTest:"); + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_115 = + __objc_msgSend_115Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_indexOfObjectWithOptions_passingTest_1 = objc.registerName( + "indexOfObjectWithOptions:passingTest:", + ); int _objc_msgSend_116( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int opts, - ffi.Pointer<_ObjCBlock> predicate, + ffi.Pointer predicate, ) { - return __objc_msgSend_116( - obj, - sel, - opts, - predicate, - ); + return __objc_msgSend_116(obj, sel, opts, predicate); } late final __objc_msgSend_116Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_116 = __objc_msgSend_116Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer, int, - ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_indexOfObjectAtIndexes_options_passingTest_1 = - _registerName1("indexOfObjectAtIndexes:options:passingTest:"); + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_116 = + __objc_msgSend_116Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ) + >(); + + late final _sel_indexOfObjectAtIndexes_options_passingTest_1 = objc + .registerName("indexOfObjectAtIndexes:options:passingTest:"); int _objc_msgSend_117( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer s, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer s, int opts, - ffi.Pointer<_ObjCBlock> predicate, + ffi.Pointer predicate, ) { - return __objc_msgSend_117( - obj, - sel, - s, - opts, - predicate, - ); + return __objc_msgSend_117(obj, sel, s, opts, predicate); } late final __objc_msgSend_117Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_117 = __objc_msgSend_117Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int, ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_indexesOfObjectsPassingTest_1 = - _registerName1("indexesOfObjectsPassingTest:"); - ffi.Pointer _objc_msgSend_118( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer<_ObjCBlock> predicate, - ) { - return __objc_msgSend_118( - obj, - sel, - predicate, - ); + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_117 = + __objc_msgSend_117Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ) + >(); + + late final _sel_indexesOfObjectsPassingTest_1 = objc.registerName( + "indexesOfObjectsPassingTest:", + ); + ffi.Pointer _objc_msgSend_118( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer predicate, + ) { + return __objc_msgSend_118(obj, sel, predicate); } late final __objc_msgSend_118Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_118 = __objc_msgSend_118Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_indexesOfObjectsWithOptions_passingTest_1 = - _registerName1("indexesOfObjectsWithOptions:passingTest:"); - ffi.Pointer _objc_msgSend_119( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_118 = + __objc_msgSend_118Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_indexesOfObjectsWithOptions_passingTest_1 = objc.registerName( + "indexesOfObjectsWithOptions:passingTest:", + ); + ffi.Pointer _objc_msgSend_119( + ffi.Pointer obj, + ffi.Pointer sel, int opts, - ffi.Pointer<_ObjCBlock> predicate, + ffi.Pointer predicate, ) { - return __objc_msgSend_119( - obj, - sel, - opts, - predicate, - ); + return __objc_msgSend_119(obj, sel, opts, predicate); } late final __objc_msgSend_119Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_119 = __objc_msgSend_119Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, int, ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_indexesOfObjectsAtIndexes_options_passingTest_1 = - _registerName1("indexesOfObjectsAtIndexes:options:passingTest:"); - ffi.Pointer _objc_msgSend_120( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer s, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_119 = + __objc_msgSend_119Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ) + >(); + + late final _sel_indexesOfObjectsAtIndexes_options_passingTest_1 = objc + .registerName("indexesOfObjectsAtIndexes:options:passingTest:"); + ffi.Pointer _objc_msgSend_120( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer s, int opts, - ffi.Pointer<_ObjCBlock> predicate, + ffi.Pointer predicate, ) { - return __objc_msgSend_120( - obj, - sel, - s, - opts, - predicate, - ); + return __objc_msgSend_120(obj, sel, s, opts, predicate); } late final __objc_msgSend_120Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_120 = __objc_msgSend_120Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_sortedArrayUsingComparator_1 = - _registerName1("sortedArrayUsingComparator:"); - ffi.Pointer _objc_msgSend_121( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer<_ObjCBlock> cmptr, - ) { - return __objc_msgSend_121( - obj, - sel, - cmptr, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_120 = + __objc_msgSend_120Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ) + >(); + + late final _sel_sortedArrayUsingComparator_1 = objc.registerName( + "sortedArrayUsingComparator:", + ); + ffi.Pointer _objc_msgSend_121( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer cmptr, + ) { + return __objc_msgSend_121(obj, sel, cmptr); } late final __objc_msgSend_121Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_121 = __objc_msgSend_121Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_sortedArrayWithOptions_usingComparator_1 = - _registerName1("sortedArrayWithOptions:usingComparator:"); - ffi.Pointer _objc_msgSend_122( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_121 = + __objc_msgSend_121Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_sortedArrayWithOptions_usingComparator_1 = objc.registerName( + "sortedArrayWithOptions:usingComparator:", + ); + ffi.Pointer _objc_msgSend_122( + ffi.Pointer obj, + ffi.Pointer sel, int opts, - ffi.Pointer<_ObjCBlock> cmptr, + ffi.Pointer cmptr, ) { - return __objc_msgSend_122( - obj, - sel, - opts, - cmptr, - ); + return __objc_msgSend_122(obj, sel, opts, cmptr); } late final __objc_msgSend_122Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_122 = __objc_msgSend_122Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, int, ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_indexOfObject_inSortedRange_options_usingComparator_1 = - _registerName1("indexOfObject:inSortedRange:options:usingComparator:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_122 = + __objc_msgSend_122Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ) + >(); + + late final _sel_indexOfObject_inSortedRange_options_usingComparator_1 = objc + .registerName("indexOfObject:inSortedRange:options:usingComparator:"); int _objc_msgSend_123( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer obj1, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer obj1, _NSRange r, int opts, - ffi.Pointer<_ObjCBlock> cmp, + ffi.Pointer cmp, ) { - return __objc_msgSend_123( - obj, - sel, - obj1, - r, - opts, - cmp, - ); + return __objc_msgSend_123(obj, sel, obj1, r, opts, cmp); } late final __objc_msgSend_123Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Int32, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_123 = + __objc_msgSend_123Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, _NSRange, - ffi.Int32, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_123 = __objc_msgSend_123Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, _NSRange, int, ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_array1 = _registerName1("array"); - late final _sel_arrayWithObject_1 = _registerName1("arrayWithObject:"); + int, + ffi.Pointer, + ) + >(); + + late final _sel_array1 = objc.registerName("array"); + late final _sel_arrayWithObject_1 = objc.registerName("arrayWithObject:"); instancetype _objc_msgSend_124( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer anObject, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer anObject, ) { - return __objc_msgSend_124( - obj, - sel, - anObject, - ); + return __objc_msgSend_124(obj, sel, anObject); } late final __objc_msgSend_124Ptr = _lookup< - ffi.NativeFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_124 = __objc_msgSend_124Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_arrayWithObjects_count_1 = - _registerName1("arrayWithObjects:count:"); - late final _sel_arrayWithObjects_1 = _registerName1("arrayWithObjects:"); - late final _sel_arrayWithArray_1 = _registerName1("arrayWithArray:"); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_124 = + __objc_msgSend_124Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_arrayWithObjects_count_1 = objc.registerName( + "arrayWithObjects:count:", + ); + late final _sel_arrayWithObjects_1 = objc.registerName("arrayWithObjects:"); + late final _sel_arrayWithArray_1 = objc.registerName("arrayWithArray:"); instancetype _objc_msgSend_125( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer array, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer array, ) { - return __objc_msgSend_125( - obj, - sel, - array, - ); + return __objc_msgSend_125(obj, sel, array); } late final __objc_msgSend_125Ptr = _lookup< - ffi.NativeFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_125 = __objc_msgSend_125Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_initWithObjects_1 = _registerName1("initWithObjects:"); - late final _sel_initWithArray_1 = _registerName1("initWithArray:"); - late final _sel_initWithArray_copyItems_1 = - _registerName1("initWithArray:copyItems:"); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_125 = + __objc_msgSend_125Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_initWithObjects_1 = objc.registerName("initWithObjects:"); + late final _sel_initWithArray_1 = objc.registerName("initWithArray:"); + late final _sel_initWithArray_copyItems_1 = objc.registerName( + "initWithArray:copyItems:", + ); instancetype _objc_msgSend_126( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer array, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer array, bool flag, ) { - return __objc_msgSend_126( - obj, - sel, - array, - flag, - ); + return __objc_msgSend_126(obj, sel, array, flag); } late final __objc_msgSend_126Ptr = _lookup< - ffi.NativeFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Bool)>>('objc_msgSend'); - late final __objc_msgSend_126 = __objc_msgSend_126Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, bool)>(); - - late final _sel_initWithContentsOfURL_error_1 = - _registerName1("initWithContentsOfURL:error:"); - ffi.Pointer _objc_msgSend_127( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, - ffi.Pointer> error, - ) { - return __objc_msgSend_127( - obj, - sel, - url, - error, - ); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_126 = + __objc_msgSend_126Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool, + ) + >(); + + late final _sel_initWithContentsOfURL_error_1 = objc.registerName( + "initWithContentsOfURL:error:", + ); + ffi.Pointer _objc_msgSend_127( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer url, + ffi.Pointer> error, + ) { + return __objc_msgSend_127(obj, sel, url, error); } late final __objc_msgSend_127Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_127 = __objc_msgSend_127Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>(); - - late final _sel_arrayWithContentsOfURL_error_1 = - _registerName1("arrayWithContentsOfURL:error:"); - late final _sel_differenceFromArray_withOptions_usingEquivalenceTest_1 = - _registerName1("differenceFromArray:withOptions:usingEquivalenceTest:"); - ffi.Pointer _objc_msgSend_128( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer other, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_127 = + __objc_msgSend_127Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + >(); + + late final _sel_arrayWithContentsOfURL_error_1 = objc.registerName( + "arrayWithContentsOfURL:error:", + ); + late final _sel_differenceFromArray_withOptions_usingEquivalenceTest_1 = objc + .registerName("differenceFromArray:withOptions:usingEquivalenceTest:"); + ffi.Pointer _objc_msgSend_128( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer other, int options, - ffi.Pointer<_ObjCBlock> block, + ffi.Pointer block, ) { - return __objc_msgSend_128( - obj, - sel, - other, - options, - block, - ); + return __objc_msgSend_128(obj, sel, other, options, block); } late final __objc_msgSend_128Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_128 = __objc_msgSend_128Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_differenceFromArray_withOptions_1 = - _registerName1("differenceFromArray:withOptions:"); - ffi.Pointer _objc_msgSend_129( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer other, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_128 = + __objc_msgSend_128Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ) + >(); + + late final _sel_differenceFromArray_withOptions_1 = objc.registerName( + "differenceFromArray:withOptions:", + ); + ffi.Pointer _objc_msgSend_129( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer other, int options, ) { - return __objc_msgSend_129( - obj, - sel, - other, - options, - ); + return __objc_msgSend_129(obj, sel, other, options); } late final __objc_msgSend_129Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_129 = __objc_msgSend_129Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_differenceFromArray_1 = - _registerName1("differenceFromArray:"); - late final _sel_arrayByApplyingDifference_1 = - _registerName1("arrayByApplyingDifference:"); - ffi.Pointer _objc_msgSend_130( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer difference, - ) { - return __objc_msgSend_130( - obj, - sel, - difference, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_129 = + __objc_msgSend_129Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_differenceFromArray_1 = objc.registerName( + "differenceFromArray:", + ); + late final _sel_arrayByApplyingDifference_1 = objc.registerName( + "arrayByApplyingDifference:", + ); + ffi.Pointer _objc_msgSend_130( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer difference, + ) { + return __objc_msgSend_130(obj, sel, difference); } late final __objc_msgSend_130Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_130 = __objc_msgSend_130Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_getObjects_1 = _registerName1("getObjects:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_130 = + __objc_msgSend_130Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_getObjects_1 = objc.registerName("getObjects:"); void _objc_msgSend_131( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer> objects, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer> objects, ) { - return __objc_msgSend_131( - obj, - sel, - objects, - ); + return __objc_msgSend_131(obj, sel, objects); } late final __objc_msgSend_131Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_131 = __objc_msgSend_131Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer>)>(); - - late final _sel_arrayWithContentsOfFile_1 = - _registerName1("arrayWithContentsOfFile:"); - ffi.Pointer _objc_msgSend_132( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, - ) { - return __objc_msgSend_132( - obj, - sel, - path, - ); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_131 = + __objc_msgSend_131Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + >(); + + late final _sel_arrayWithContentsOfFile_1 = objc.registerName( + "arrayWithContentsOfFile:", + ); + ffi.Pointer _objc_msgSend_132( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer path, + ) { + return __objc_msgSend_132(obj, sel, path); } late final __objc_msgSend_132Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_132 = __objc_msgSend_132Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_arrayWithContentsOfURL_1 = - _registerName1("arrayWithContentsOfURL:"); - ffi.Pointer _objc_msgSend_133( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, - ) { - return __objc_msgSend_133( - obj, - sel, - url, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_132 = + __objc_msgSend_132Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_arrayWithContentsOfURL_1 = objc.registerName( + "arrayWithContentsOfURL:", + ); + ffi.Pointer _objc_msgSend_133( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer url, + ) { + return __objc_msgSend_133(obj, sel, url); } late final __objc_msgSend_133Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_133 = __objc_msgSend_133Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_initWithContentsOfFile_1 = - _registerName1("initWithContentsOfFile:"); - late final _sel_initWithContentsOfURL_1 = - _registerName1("initWithContentsOfURL:"); - late final _sel_writeToURL_atomically_1 = - _registerName1("writeToURL:atomically:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_133 = + __objc_msgSend_133Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_initWithContentsOfFile_1 = objc.registerName( + "initWithContentsOfFile:", + ); + late final _sel_initWithContentsOfURL_1 = objc.registerName( + "initWithContentsOfURL:", + ); + late final _sel_writeToURL_atomically_1 = objc.registerName( + "writeToURL:atomically:", + ); bool _objc_msgSend_134( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer url, bool atomically, ) { - return __objc_msgSend_134( - obj, - sel, - url, - atomically, - ); + return __objc_msgSend_134(obj, sel, url, atomically); } late final __objc_msgSend_134Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Bool)>>('objc_msgSend'); - late final __objc_msgSend_134 = __objc_msgSend_134Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, bool)>(); - - late final _sel_pathsMatchingExtensions_1 = - _registerName1("pathsMatchingExtensions:"); - late final _sel_valueForKey_1 = _registerName1("valueForKey:"); - late final _sel_setValue_forKey_1 = _registerName1("setValue:forKey:"); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_134 = + __objc_msgSend_134Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool, + ) + >(); + + late final _sel_pathsMatchingExtensions_1 = objc.registerName( + "pathsMatchingExtensions:", + ); + late final _sel_valueForKey_1 = objc.registerName("valueForKey:"); + late final _sel_setValue_forKey_1 = objc.registerName("setValue:forKey:"); void _objc_msgSend_135( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, - ffi.Pointer key, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value, + ffi.Pointer key, ) { - return __objc_msgSend_135( - obj, - sel, - value, - key, - ); + return __objc_msgSend_135(obj, sel, value, key); } late final __objc_msgSend_135Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_135 = __objc_msgSend_135Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_135 = + __objc_msgSend_135Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_addObserver_toObjectsAtIndexes_forKeyPath_options_context_1 = - _registerName1( - "addObserver:toObjectsAtIndexes:forKeyPath:options:context:"); + objc.registerName( + "addObserver:toObjectsAtIndexes:forKeyPath:options:context:", + ); void _objc_msgSend_136( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer observer, - ffi.Pointer indexes, - ffi.Pointer keyPath, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer observer, + ffi.Pointer indexes, + ffi.Pointer keyPath, int options, ffi.Pointer context, ) { @@ -3648,1943 +4517,2479 @@ class SwiftLibrary { } late final __objc_msgSend_136Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_136 = __objc_msgSend_136Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_136 = + __objc_msgSend_136Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ) + >(); late final _sel_removeObserver_fromObjectsAtIndexes_forKeyPath_context_1 = - _registerName1("removeObserver:fromObjectsAtIndexes:forKeyPath:context:"); + objc.registerName( + "removeObserver:fromObjectsAtIndexes:forKeyPath:context:", + ); void _objc_msgSend_137( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer observer, - ffi.Pointer indexes, - ffi.Pointer keyPath, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer observer, + ffi.Pointer indexes, + ffi.Pointer keyPath, ffi.Pointer context, ) { - return __objc_msgSend_137( - obj, - sel, - observer, - indexes, - keyPath, - context, - ); + return __objc_msgSend_137(obj, sel, observer, indexes, keyPath, context); } late final __objc_msgSend_137Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_137 = __objc_msgSend_137Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_removeObserver_fromObjectsAtIndexes_forKeyPath_1 = - _registerName1("removeObserver:fromObjectsAtIndexes:forKeyPath:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_137 = + __objc_msgSend_137Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_removeObserver_fromObjectsAtIndexes_forKeyPath_1 = objc + .registerName("removeObserver:fromObjectsAtIndexes:forKeyPath:"); void _objc_msgSend_138( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer observer, - ffi.Pointer indexes, - ffi.Pointer keyPath, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer observer, + ffi.Pointer indexes, + ffi.Pointer keyPath, ) { - return __objc_msgSend_138( - obj, - sel, - observer, - indexes, - keyPath, - ); + return __objc_msgSend_138(obj, sel, observer, indexes, keyPath); } late final __objc_msgSend_138Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_138 = __objc_msgSend_138Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_addObserver_forKeyPath_options_context_1 = - _registerName1("addObserver:forKeyPath:options:context:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_138 = + __objc_msgSend_138Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_addObserver_forKeyPath_options_context_1 = objc.registerName( + "addObserver:forKeyPath:options:context:", + ); void _objc_msgSend_139( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer observer, - ffi.Pointer keyPath, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer observer, + ffi.Pointer keyPath, int options, ffi.Pointer context, ) { - return __objc_msgSend_139( - obj, - sel, - observer, - keyPath, - options, - context, - ); + return __objc_msgSend_139(obj, sel, observer, keyPath, options, context); } late final __objc_msgSend_139Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_139 = __objc_msgSend_139Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_139 = + __objc_msgSend_139Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ) + >(); - late final _sel_removeObserver_forKeyPath_context_1 = - _registerName1("removeObserver:forKeyPath:context:"); + late final _sel_removeObserver_forKeyPath_context_1 = objc.registerName( + "removeObserver:forKeyPath:context:", + ); void _objc_msgSend_140( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer observer, - ffi.Pointer keyPath, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer observer, + ffi.Pointer keyPath, ffi.Pointer context, ) { - return __objc_msgSend_140( - obj, - sel, - observer, - keyPath, - context, - ); + return __objc_msgSend_140(obj, sel, observer, keyPath, context); } late final __objc_msgSend_140Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_140 = __objc_msgSend_140Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_removeObserver_forKeyPath_1 = - _registerName1("removeObserver:forKeyPath:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_140 = + __objc_msgSend_140Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_removeObserver_forKeyPath_1 = objc.registerName( + "removeObserver:forKeyPath:", + ); void _objc_msgSend_141( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer observer, - ffi.Pointer keyPath, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer observer, + ffi.Pointer keyPath, ) { - return __objc_msgSend_141( - obj, - sel, - observer, - keyPath, - ); + return __objc_msgSend_141(obj, sel, observer, keyPath); } late final __objc_msgSend_141Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_141 = __objc_msgSend_141Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_sortedArrayUsingDescriptors_1 = - _registerName1("sortedArrayUsingDescriptors:"); - late final _class_NSPredicate1 = _getClass1("NSPredicate"); - late final _sel_predicateWithFormat_argumentArray_1 = - _registerName1("predicateWithFormat:argumentArray:"); - ffi.Pointer _objc_msgSend_142( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer predicateFormat, - ffi.Pointer arguments, - ) { - return __objc_msgSend_142( - obj, - sel, - predicateFormat, - arguments, - ); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_141 = + __objc_msgSend_141Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_sortedArrayUsingDescriptors_1 = objc.registerName( + "sortedArrayUsingDescriptors:", + ); + late final _class_NSPredicate1 = objc.getClass("NSPredicate"); + late final _sel_predicateWithFormat_argumentArray_1 = objc.registerName( + "predicateWithFormat:argumentArray:", + ); + ffi.Pointer _objc_msgSend_142( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer predicateFormat, + ffi.Pointer arguments, + ) { + return __objc_msgSend_142(obj, sel, predicateFormat, arguments); } late final __objc_msgSend_142Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_142 = __objc_msgSend_142Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_predicateWithFormat_1 = - _registerName1("predicateWithFormat:"); - ffi.Pointer _objc_msgSend_143( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer predicateFormat, - ) { - return __objc_msgSend_143( - obj, - sel, - predicateFormat, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_142 = + __objc_msgSend_142Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_predicateWithFormat_1 = objc.registerName( + "predicateWithFormat:", + ); + ffi.Pointer _objc_msgSend_143( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer predicateFormat, + ) { + return __objc_msgSend_143(obj, sel, predicateFormat); } late final __objc_msgSend_143Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_143 = __objc_msgSend_143Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_predicateWithFormat_arguments_1 = - _registerName1("predicateWithFormat:arguments:"); - ffi.Pointer _objc_msgSend_144( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer predicateFormat, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_143 = + __objc_msgSend_143Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_predicateWithFormat_arguments_1 = objc.registerName( + "predicateWithFormat:arguments:", + ); + ffi.Pointer _objc_msgSend_144( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer predicateFormat, ffi.Pointer<__va_list_tag> argList, ) { - return __objc_msgSend_144( - obj, - sel, - predicateFormat, - argList, - ); + return __objc_msgSend_144(obj, sel, predicateFormat, argList); } late final __objc_msgSend_144Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<__va_list_tag>)>>('objc_msgSend'); - late final __objc_msgSend_144 = __objc_msgSend_144Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<__va_list_tag>)>(); - - late final _sel_predicateFromMetadataQueryString_1 = - _registerName1("predicateFromMetadataQueryString:"); - ffi.Pointer _objc_msgSend_145( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer queryString, - ) { - return __objc_msgSend_145( - obj, - sel, - queryString, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<__va_list_tag>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_144 = + __objc_msgSend_144Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<__va_list_tag>, + ) + >(); + + late final _sel_predicateFromMetadataQueryString_1 = objc.registerName( + "predicateFromMetadataQueryString:", + ); + ffi.Pointer _objc_msgSend_145( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer queryString, + ) { + return __objc_msgSend_145(obj, sel, queryString); } late final __objc_msgSend_145Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_145 = __objc_msgSend_145Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_predicateWithValue_1 = _registerName1("predicateWithValue:"); - ffi.Pointer _objc_msgSend_146( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_145 = + __objc_msgSend_145Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_predicateWithValue_1 = objc.registerName( + "predicateWithValue:", + ); + ffi.Pointer _objc_msgSend_146( + ffi.Pointer obj, + ffi.Pointer sel, bool value, ) { - return __objc_msgSend_146( - obj, - sel, - value, - ); + return __objc_msgSend_146(obj, sel, value); } late final __objc_msgSend_146Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Bool)>>('objc_msgSend'); - late final __objc_msgSend_146 = __objc_msgSend_146Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer, bool)>(); - - late final _class_NSDictionary1 = _getClass1("NSDictionary"); - late final _sel_objectForKey_1 = _registerName1("objectForKey:"); - late final _sel_keyEnumerator1 = _registerName1("keyEnumerator"); - late final _sel_initWithObjects_forKeys_count_1 = - _registerName1("initWithObjects:forKeys:count:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_146 = + __objc_msgSend_146Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + bool, + ) + >(); + + late final _class_NSDictionary1 = objc.getClass("NSDictionary"); + late final _sel_objectForKey_1 = objc.registerName("objectForKey:"); + late final _sel_keyEnumerator1 = objc.registerName("keyEnumerator"); + late final _sel_initWithObjects_forKeys_count_1 = objc.registerName( + "initWithObjects:forKeys:count:", + ); instancetype _objc_msgSend_147( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer> objects, - ffi.Pointer> keys, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer> objects, + ffi.Pointer> keys, int cnt, ) { - return __objc_msgSend_147( - obj, - sel, - objects, - keys, - cnt, - ); + return __objc_msgSend_147(obj, sel, objects, keys, cnt); } late final __objc_msgSend_147Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer>, - ffi.UnsignedLong)>>('objc_msgSend'); - late final __objc_msgSend_147 = __objc_msgSend_147Ptr.asFunction< + ffi.NativeFunction< instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer>, - int)>(); - - late final _sel_allKeys1 = _registerName1("allKeys"); - late final _sel_allKeysForObject_1 = _registerName1("allKeysForObject:"); - late final _sel_allValues1 = _registerName1("allValues"); - late final _sel_descriptionInStringsFileFormat1 = - _registerName1("descriptionInStringsFileFormat"); - late final _sel_isEqualToDictionary_1 = - _registerName1("isEqualToDictionary:"); + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer>, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_147 = + __objc_msgSend_147Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer>, + int, + ) + >(); + + late final _sel_allKeys1 = objc.registerName("allKeys"); + late final _sel_allKeysForObject_1 = objc.registerName("allKeysForObject:"); + late final _sel_allValues1 = objc.registerName("allValues"); + late final _sel_descriptionInStringsFileFormat1 = objc.registerName( + "descriptionInStringsFileFormat", + ); + late final _sel_isEqualToDictionary_1 = objc.registerName( + "isEqualToDictionary:", + ); bool _objc_msgSend_148( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer otherDictionary, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer otherDictionary, ) { - return __objc_msgSend_148( - obj, - sel, - otherDictionary, - ); + return __objc_msgSend_148(obj, sel, otherDictionary); } late final __objc_msgSend_148Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_148 = __objc_msgSend_148Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_objectsForKeys_notFoundMarker_1 = - _registerName1("objectsForKeys:notFoundMarker:"); - ffi.Pointer _objc_msgSend_149( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer keys, - ffi.Pointer marker, - ) { - return __objc_msgSend_149( - obj, - sel, - keys, - marker, - ); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_148 = + __objc_msgSend_148Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_objectsForKeys_notFoundMarker_1 = objc.registerName( + "objectsForKeys:notFoundMarker:", + ); + ffi.Pointer _objc_msgSend_149( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer keys, + ffi.Pointer marker, + ) { + return __objc_msgSend_149(obj, sel, keys, marker); } late final __objc_msgSend_149Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_149 = __objc_msgSend_149Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_keysSortedByValueUsingSelector_1 = - _registerName1("keysSortedByValueUsingSelector:"); - late final _sel_getObjects_andKeys_count_1 = - _registerName1("getObjects:andKeys:count:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_149 = + __objc_msgSend_149Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_keysSortedByValueUsingSelector_1 = objc.registerName( + "keysSortedByValueUsingSelector:", + ); + late final _sel_getObjects_andKeys_count_1 = objc.registerName( + "getObjects:andKeys:count:", + ); void _objc_msgSend_150( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer> objects, - ffi.Pointer> keys, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer> objects, + ffi.Pointer> keys, int count, ) { - return __objc_msgSend_150( - obj, - sel, - objects, - keys, - count, - ); + return __objc_msgSend_150(obj, sel, objects, keys, count); } late final __objc_msgSend_150Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer>, - ffi.UnsignedLong)>>('objc_msgSend'); - late final __objc_msgSend_150 = __objc_msgSend_150Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer>, - int)>(); - - late final _sel_objectForKeyedSubscript_1 = - _registerName1("objectForKeyedSubscript:"); - late final _sel_enumerateKeysAndObjectsUsingBlock_1 = - _registerName1("enumerateKeysAndObjectsUsingBlock:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer>, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_150 = + __objc_msgSend_150Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer>, + int, + ) + >(); + + late final _sel_objectForKeyedSubscript_1 = objc.registerName( + "objectForKeyedSubscript:", + ); + late final _sel_enumerateKeysAndObjectsUsingBlock_1 = objc.registerName( + "enumerateKeysAndObjectsUsingBlock:", + ); void _objc_msgSend_151( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer<_ObjCBlock> block, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer block, ) { - return __objc_msgSend_151( - obj, - sel, - block, - ); + return __objc_msgSend_151(obj, sel, block); } late final __objc_msgSend_151Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_151 = __objc_msgSend_151Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_enumerateKeysAndObjectsWithOptions_usingBlock_1 = - _registerName1("enumerateKeysAndObjectsWithOptions:usingBlock:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_151 = + __objc_msgSend_151Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_enumerateKeysAndObjectsWithOptions_usingBlock_1 = objc + .registerName("enumerateKeysAndObjectsWithOptions:usingBlock:"); void _objc_msgSend_152( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int opts, - ffi.Pointer<_ObjCBlock> block, + ffi.Pointer block, ) { - return __objc_msgSend_152( - obj, - sel, - opts, - block, - ); + return __objc_msgSend_152(obj, sel, opts, block); } late final __objc_msgSend_152Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Int32, ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_152 = __objc_msgSend_152Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int, - ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_keysSortedByValueUsingComparator_1 = - _registerName1("keysSortedByValueUsingComparator:"); - late final _sel_keysSortedByValueWithOptions_usingComparator_1 = - _registerName1("keysSortedByValueWithOptions:usingComparator:"); - late final _sel_keysOfEntriesPassingTest_1 = - _registerName1("keysOfEntriesPassingTest:"); - ffi.Pointer _objc_msgSend_153( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer<_ObjCBlock> predicate, - ) { - return __objc_msgSend_153( - obj, - sel, - predicate, - ); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_152 = + __objc_msgSend_152Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ) + >(); + + late final _sel_keysSortedByValueUsingComparator_1 = objc.registerName( + "keysSortedByValueUsingComparator:", + ); + late final _sel_keysSortedByValueWithOptions_usingComparator_1 = objc + .registerName("keysSortedByValueWithOptions:usingComparator:"); + late final _sel_keysOfEntriesPassingTest_1 = objc.registerName( + "keysOfEntriesPassingTest:", + ); + ffi.Pointer _objc_msgSend_153( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer predicate, + ) { + return __objc_msgSend_153(obj, sel, predicate); } late final __objc_msgSend_153Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_153 = __objc_msgSend_153Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_keysOfEntriesWithOptions_passingTest_1 = - _registerName1("keysOfEntriesWithOptions:passingTest:"); - ffi.Pointer _objc_msgSend_154( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_153 = + __objc_msgSend_153Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_keysOfEntriesWithOptions_passingTest_1 = objc.registerName( + "keysOfEntriesWithOptions:passingTest:", + ); + ffi.Pointer _objc_msgSend_154( + ffi.Pointer obj, + ffi.Pointer sel, int opts, - ffi.Pointer<_ObjCBlock> predicate, + ffi.Pointer predicate, ) { - return __objc_msgSend_154( - obj, - sel, - opts, - predicate, - ); + return __objc_msgSend_154(obj, sel, opts, predicate); } late final __objc_msgSend_154Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_154 = __objc_msgSend_154Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, int, ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_getObjects_andKeys_1 = _registerName1("getObjects:andKeys:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_154 = + __objc_msgSend_154Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ) + >(); + + late final _sel_getObjects_andKeys_1 = objc.registerName( + "getObjects:andKeys:", + ); void _objc_msgSend_155( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer> objects, - ffi.Pointer> keys, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer> objects, + ffi.Pointer> keys, ) { - return __objc_msgSend_155( - obj, - sel, - objects, - keys, - ); + return __objc_msgSend_155(obj, sel, objects, keys); } late final __objc_msgSend_155Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_155 = __objc_msgSend_155Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer>)>(); - - late final _sel_dictionaryWithContentsOfFile_1 = - _registerName1("dictionaryWithContentsOfFile:"); - ffi.Pointer _objc_msgSend_156( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, - ) { - return __objc_msgSend_156( - obj, - sel, - path, - ); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_155 = + __objc_msgSend_155Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer>, + ) + >(); + + late final _sel_dictionaryWithContentsOfFile_1 = objc.registerName( + "dictionaryWithContentsOfFile:", + ); + ffi.Pointer _objc_msgSend_156( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer path, + ) { + return __objc_msgSend_156(obj, sel, path); } late final __objc_msgSend_156Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_156 = __objc_msgSend_156Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_dictionaryWithContentsOfURL_1 = - _registerName1("dictionaryWithContentsOfURL:"); - ffi.Pointer _objc_msgSend_157( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, - ) { - return __objc_msgSend_157( - obj, - sel, - url, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_156 = + __objc_msgSend_156Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_dictionaryWithContentsOfURL_1 = objc.registerName( + "dictionaryWithContentsOfURL:", + ); + ffi.Pointer _objc_msgSend_157( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer url, + ) { + return __objc_msgSend_157(obj, sel, url); } late final __objc_msgSend_157Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_157 = __objc_msgSend_157Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_dictionary1 = _registerName1("dictionary"); - late final _sel_dictionaryWithObject_forKey_1 = - _registerName1("dictionaryWithObject:forKey:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_157 = + __objc_msgSend_157Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_dictionary1 = objc.registerName("dictionary"); + late final _sel_dictionaryWithObject_forKey_1 = objc.registerName( + "dictionaryWithObject:forKey:", + ); instancetype _objc_msgSend_158( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer object, - ffi.Pointer key, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer object, + ffi.Pointer key, ) { - return __objc_msgSend_158( - obj, - sel, - object, - key, - ); + return __objc_msgSend_158(obj, sel, object, key); } late final __objc_msgSend_158Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_158 = __objc_msgSend_158Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_dictionaryWithObjects_forKeys_count_1 = - _registerName1("dictionaryWithObjects:forKeys:count:"); - late final _sel_dictionaryWithObjectsAndKeys_1 = - _registerName1("dictionaryWithObjectsAndKeys:"); - late final _sel_dictionaryWithDictionary_1 = - _registerName1("dictionaryWithDictionary:"); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_158 = + __objc_msgSend_158Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_dictionaryWithObjects_forKeys_count_1 = objc.registerName( + "dictionaryWithObjects:forKeys:count:", + ); + late final _sel_dictionaryWithObjectsAndKeys_1 = objc.registerName( + "dictionaryWithObjectsAndKeys:", + ); + late final _sel_dictionaryWithDictionary_1 = objc.registerName( + "dictionaryWithDictionary:", + ); instancetype _objc_msgSend_159( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer dict, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer dict, ) { - return __objc_msgSend_159( - obj, - sel, - dict, - ); + return __objc_msgSend_159(obj, sel, dict); } late final __objc_msgSend_159Ptr = _lookup< - ffi.NativeFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_159 = __objc_msgSend_159Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_dictionaryWithObjects_forKeys_1 = - _registerName1("dictionaryWithObjects:forKeys:"); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_159 = + __objc_msgSend_159Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_dictionaryWithObjects_forKeys_1 = objc.registerName( + "dictionaryWithObjects:forKeys:", + ); instancetype _objc_msgSend_160( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer objects, - ffi.Pointer keys, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer objects, + ffi.Pointer keys, ) { - return __objc_msgSend_160( - obj, - sel, - objects, - keys, - ); + return __objc_msgSend_160(obj, sel, objects, keys); } late final __objc_msgSend_160Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_160 = __objc_msgSend_160Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_initWithObjectsAndKeys_1 = - _registerName1("initWithObjectsAndKeys:"); - late final _sel_initWithDictionary_1 = _registerName1("initWithDictionary:"); - late final _sel_initWithDictionary_copyItems_1 = - _registerName1("initWithDictionary:copyItems:"); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_160 = + __objc_msgSend_160Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_initWithObjectsAndKeys_1 = objc.registerName( + "initWithObjectsAndKeys:", + ); + late final _sel_initWithDictionary_1 = objc.registerName( + "initWithDictionary:", + ); + late final _sel_initWithDictionary_copyItems_1 = objc.registerName( + "initWithDictionary:copyItems:", + ); instancetype _objc_msgSend_161( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer otherDictionary, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer otherDictionary, bool flag, ) { - return __objc_msgSend_161( - obj, - sel, - otherDictionary, - flag, - ); + return __objc_msgSend_161(obj, sel, otherDictionary, flag); } late final __objc_msgSend_161Ptr = _lookup< - ffi.NativeFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Bool)>>('objc_msgSend'); - late final __objc_msgSend_161 = __objc_msgSend_161Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, bool)>(); - - late final _sel_initWithObjects_forKeys_1 = - _registerName1("initWithObjects:forKeys:"); - ffi.Pointer _objc_msgSend_162( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, - ffi.Pointer> error, - ) { - return __objc_msgSend_162( - obj, - sel, - url, - error, - ); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_161 = + __objc_msgSend_161Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool, + ) + >(); + + late final _sel_initWithObjects_forKeys_1 = objc.registerName( + "initWithObjects:forKeys:", + ); + ffi.Pointer _objc_msgSend_162( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer url, + ffi.Pointer> error, + ) { + return __objc_msgSend_162(obj, sel, url, error); } late final __objc_msgSend_162Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_162 = __objc_msgSend_162Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>(); - - late final _sel_dictionaryWithContentsOfURL_error_1 = - _registerName1("dictionaryWithContentsOfURL:error:"); - late final _sel_sharedKeySetForKeys_1 = - _registerName1("sharedKeySetForKeys:"); - late final _sel_countByEnumeratingWithState_objects_count_1 = - _registerName1("countByEnumeratingWithState:objects:count:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_162 = + __objc_msgSend_162Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + >(); + + late final _sel_dictionaryWithContentsOfURL_error_1 = objc.registerName( + "dictionaryWithContentsOfURL:error:", + ); + late final _sel_sharedKeySetForKeys_1 = objc.registerName( + "sharedKeySetForKeys:", + ); + late final _sel_countByEnumeratingWithState_objects_count_1 = objc + .registerName("countByEnumeratingWithState:objects:count:"); int _objc_msgSend_163( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ffi.Pointer state, - ffi.Pointer> buffer, + ffi.Pointer> buffer, int len, ) { - return __objc_msgSend_163( - obj, - sel, - state, - buffer, - len, - ); + return __objc_msgSend_163(obj, sel, state, buffer, len); } late final __objc_msgSend_163Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer, - ffi.Pointer, + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_163 = + __objc_msgSend_163Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, ffi.Pointer, - ffi.Pointer>, - ffi.UnsignedLong)>>('objc_msgSend'); - late final __objc_msgSend_163 = __objc_msgSend_163Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - int)>(); - - late final _sel_fileSize1 = _registerName1("fileSize"); + ffi.Pointer>, + int, + ) + >(); + + late final _sel_fileSize1 = objc.registerName("fileSize"); int _objc_msgSend_164( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_164( - obj, - sel, - ); + return __objc_msgSend_164(obj, sel); } late final __objc_msgSend_164Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedLongLong Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_164 = __objc_msgSend_164Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer)>(); - - late final _class_NSDate1 = _getClass1("NSDate"); - late final _sel_timeIntervalSinceReferenceDate1 = - _registerName1("timeIntervalSinceReferenceDate"); + ffi.NativeFunction< + ffi.UnsignedLongLong Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_164 = + __objc_msgSend_164Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _class_NSDate1 = objc.getClass("NSDate"); + late final _sel_timeIntervalSinceReferenceDate1 = objc.registerName( + "timeIntervalSinceReferenceDate", + ); double _objc_msgSend_165( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_165( - obj, - sel, - ); + return __objc_msgSend_165(obj, sel); } late final __objc_msgSend_165Ptr = _lookup< - ffi.NativeFunction< - ffi.Double Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_165 = __objc_msgSend_165Ptr.asFunction< - double Function(ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Double Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_165 = + __objc_msgSend_165Ptr + .asFunction< + double Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); double _objc_msgSend_165_fpret( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_165_fpret( - obj, - sel, - ); + return __objc_msgSend_165_fpret(obj, sel); } late final __objc_msgSend_165_fpretPtr = _lookup< - ffi.NativeFunction< - ffi.Double Function(ffi.Pointer, - ffi.Pointer)>>('objc_msgSend_fpret'); - late final __objc_msgSend_165_fpret = __objc_msgSend_165_fpretPtr.asFunction< - double Function(ffi.Pointer, ffi.Pointer)>(); - - late final _sel_initWithTimeIntervalSinceReferenceDate_1 = - _registerName1("initWithTimeIntervalSinceReferenceDate:"); + ffi.NativeFunction< + ffi.Double Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend_fpret'); + late final __objc_msgSend_165_fpret = + __objc_msgSend_165_fpretPtr + .asFunction< + double Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_initWithTimeIntervalSinceReferenceDate_1 = objc.registerName( + "initWithTimeIntervalSinceReferenceDate:", + ); instancetype _objc_msgSend_166( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, double ti, ) { - return __objc_msgSend_166( - obj, - sel, - ti, - ); + return __objc_msgSend_166(obj, sel, ti); } late final __objc_msgSend_166Ptr = _lookup< - ffi.NativeFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Double)>>('objc_msgSend'); - late final __objc_msgSend_166 = __objc_msgSend_166Ptr.asFunction< + ffi.NativeFunction< instancetype Function( - ffi.Pointer, ffi.Pointer, double)>(); - - late final _sel_timeIntervalSinceDate_1 = - _registerName1("timeIntervalSinceDate:"); + ffi.Pointer, + ffi.Pointer, + ffi.Double, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_166 = + __objc_msgSend_166Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + double, + ) + >(); + + late final _sel_timeIntervalSinceDate_1 = objc.registerName( + "timeIntervalSinceDate:", + ); double _objc_msgSend_167( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer anotherDate, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer anotherDate, ) { - return __objc_msgSend_167( - obj, - sel, - anotherDate, - ); + return __objc_msgSend_167(obj, sel, anotherDate); } late final __objc_msgSend_167Ptr = _lookup< - ffi.NativeFunction< - ffi.Double Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_167 = __objc_msgSend_167Ptr.asFunction< - double Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Double Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_167 = + __objc_msgSend_167Ptr + .asFunction< + double Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); double _objc_msgSend_167_fpret( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer anotherDate, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer anotherDate, ) { - return __objc_msgSend_167_fpret( - obj, - sel, - anotherDate, - ); + return __objc_msgSend_167_fpret(obj, sel, anotherDate); } late final __objc_msgSend_167_fpretPtr = _lookup< - ffi.NativeFunction< - ffi.Double Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend_fpret'); - late final __objc_msgSend_167_fpret = __objc_msgSend_167_fpretPtr.asFunction< - double Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_timeIntervalSinceNow1 = - _registerName1("timeIntervalSinceNow"); - late final _sel_timeIntervalSince19701 = - _registerName1("timeIntervalSince1970"); - late final _sel_addTimeInterval_1 = _registerName1("addTimeInterval:"); - late final _sel_dateByAddingTimeInterval_1 = - _registerName1("dateByAddingTimeInterval:"); - late final _sel_earlierDate_1 = _registerName1("earlierDate:"); - ffi.Pointer _objc_msgSend_168( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer anotherDate, - ) { - return __objc_msgSend_168( - obj, - sel, - anotherDate, - ); + ffi.NativeFunction< + ffi.Double Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend_fpret'); + late final __objc_msgSend_167_fpret = + __objc_msgSend_167_fpretPtr + .asFunction< + double Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_timeIntervalSinceNow1 = objc.registerName( + "timeIntervalSinceNow", + ); + late final _sel_timeIntervalSince19701 = objc.registerName( + "timeIntervalSince1970", + ); + late final _sel_addTimeInterval_1 = objc.registerName("addTimeInterval:"); + late final _sel_dateByAddingTimeInterval_1 = objc.registerName( + "dateByAddingTimeInterval:", + ); + late final _sel_earlierDate_1 = objc.registerName("earlierDate:"); + ffi.Pointer _objc_msgSend_168( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer anotherDate, + ) { + return __objc_msgSend_168(obj, sel, anotherDate); } late final __objc_msgSend_168Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_168 = __objc_msgSend_168Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_laterDate_1 = _registerName1("laterDate:"); - late final _sel_compare_1 = _registerName1("compare:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_168 = + __objc_msgSend_168Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_laterDate_1 = objc.registerName("laterDate:"); + late final _sel_compare_1 = objc.registerName("compare:"); int _objc_msgSend_169( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer other, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer other, ) { - return __objc_msgSend_169( - obj, - sel, - other, - ); + return __objc_msgSend_169(obj, sel, other); } late final __objc_msgSend_169Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_169 = __objc_msgSend_169Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_isEqualToDate_1 = _registerName1("isEqualToDate:"); + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_169 = + __objc_msgSend_169Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_isEqualToDate_1 = objc.registerName("isEqualToDate:"); bool _objc_msgSend_170( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer otherDate, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer otherDate, ) { - return __objc_msgSend_170( - obj, - sel, - otherDate, - ); + return __objc_msgSend_170(obj, sel, otherDate); } late final __objc_msgSend_170Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_170 = __objc_msgSend_170Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_date1 = _registerName1("date"); - late final _sel_dateWithTimeIntervalSinceNow_1 = - _registerName1("dateWithTimeIntervalSinceNow:"); - late final _sel_dateWithTimeIntervalSinceReferenceDate_1 = - _registerName1("dateWithTimeIntervalSinceReferenceDate:"); - late final _sel_dateWithTimeIntervalSince1970_1 = - _registerName1("dateWithTimeIntervalSince1970:"); - late final _sel_dateWithTimeInterval_sinceDate_1 = - _registerName1("dateWithTimeInterval:sinceDate:"); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_170 = + __objc_msgSend_170Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_date1 = objc.registerName("date"); + late final _sel_dateWithTimeIntervalSinceNow_1 = objc.registerName( + "dateWithTimeIntervalSinceNow:", + ); + late final _sel_dateWithTimeIntervalSinceReferenceDate_1 = objc.registerName( + "dateWithTimeIntervalSinceReferenceDate:", + ); + late final _sel_dateWithTimeIntervalSince1970_1 = objc.registerName( + "dateWithTimeIntervalSince1970:", + ); + late final _sel_dateWithTimeInterval_sinceDate_1 = objc.registerName( + "dateWithTimeInterval:sinceDate:", + ); instancetype _objc_msgSend_171( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, double secsToBeAdded, - ffi.Pointer date, + ffi.Pointer date, ) { - return __objc_msgSend_171( - obj, - sel, - secsToBeAdded, - date, - ); + return __objc_msgSend_171(obj, sel, secsToBeAdded, date); } late final __objc_msgSend_171Ptr = _lookup< - ffi.NativeFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Double, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_171 = __objc_msgSend_171Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - double, ffi.Pointer)>(); - - late final _sel_distantFuture1 = _registerName1("distantFuture"); - ffi.Pointer _objc_msgSend_172( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_172( - obj, - sel, - ); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Double, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_171 = + __objc_msgSend_171Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + double, + ffi.Pointer, + ) + >(); + + late final _sel_distantFuture1 = objc.registerName("distantFuture"); + ffi.Pointer _objc_msgSend_172( + ffi.Pointer obj, + ffi.Pointer sel, + ) { + return __objc_msgSend_172(obj, sel); } late final __objc_msgSend_172Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_172 = __objc_msgSend_172Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_distantPast1 = _registerName1("distantPast"); - late final _sel_now1 = _registerName1("now"); - late final _sel_initWithTimeIntervalSinceNow_1 = - _registerName1("initWithTimeIntervalSinceNow:"); - late final _sel_initWithTimeIntervalSince1970_1 = - _registerName1("initWithTimeIntervalSince1970:"); - late final _sel_initWithTimeInterval_sinceDate_1 = - _registerName1("initWithTimeInterval:sinceDate:"); - late final _sel_dateWithNaturalLanguageString_locale_1 = - _registerName1("dateWithNaturalLanguageString:locale:"); - ffi.Pointer _objc_msgSend_173( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer string, - ffi.Pointer locale, - ) { - return __objc_msgSend_173( - obj, - sel, - string, - locale, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_172 = + __objc_msgSend_172Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_distantPast1 = objc.registerName("distantPast"); + late final _sel_now1 = objc.registerName("now"); + late final _sel_initWithTimeIntervalSinceNow_1 = objc.registerName( + "initWithTimeIntervalSinceNow:", + ); + late final _sel_initWithTimeIntervalSince1970_1 = objc.registerName( + "initWithTimeIntervalSince1970:", + ); + late final _sel_initWithTimeInterval_sinceDate_1 = objc.registerName( + "initWithTimeInterval:sinceDate:", + ); + late final _sel_dateWithNaturalLanguageString_locale_1 = objc.registerName( + "dateWithNaturalLanguageString:locale:", + ); + ffi.Pointer _objc_msgSend_173( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer string, + ffi.Pointer locale, + ) { + return __objc_msgSend_173(obj, sel, string, locale); } late final __objc_msgSend_173Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_173 = __objc_msgSend_173Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_dateWithNaturalLanguageString_1 = - _registerName1("dateWithNaturalLanguageString:"); - late final _sel_dateWithString_1 = _registerName1("dateWithString:"); - late final _class_NSCalendarDate1 = _getClass1("NSCalendarDate"); - late final _sel_calendarDate1 = _registerName1("calendarDate"); - late final _sel_dateWithString_calendarFormat_locale_1 = - _registerName1("dateWithString:calendarFormat:locale:"); - ffi.Pointer _objc_msgSend_174( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer description, - ffi.Pointer format, - ffi.Pointer locale, - ) { - return __objc_msgSend_174( - obj, - sel, - description, - format, - locale, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_173 = + __objc_msgSend_173Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_dateWithNaturalLanguageString_1 = objc.registerName( + "dateWithNaturalLanguageString:", + ); + late final _sel_dateWithString_1 = objc.registerName("dateWithString:"); + late final _class_NSCalendarDate1 = objc.getClass("NSCalendarDate"); + late final _sel_calendarDate1 = objc.registerName("calendarDate"); + late final _sel_dateWithString_calendarFormat_locale_1 = objc.registerName( + "dateWithString:calendarFormat:locale:", + ); + ffi.Pointer _objc_msgSend_174( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer description, + ffi.Pointer format, + ffi.Pointer locale, + ) { + return __objc_msgSend_174(obj, sel, description, format, locale); } late final __objc_msgSend_174Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_174 = __objc_msgSend_174Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_dateWithString_calendarFormat_1 = - _registerName1("dateWithString:calendarFormat:"); - ffi.Pointer _objc_msgSend_175( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer description, - ffi.Pointer format, - ) { - return __objc_msgSend_175( - obj, - sel, - description, - format, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_174 = + __objc_msgSend_174Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_dateWithString_calendarFormat_1 = objc.registerName( + "dateWithString:calendarFormat:", + ); + ffi.Pointer _objc_msgSend_175( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer description, + ffi.Pointer format, + ) { + return __objc_msgSend_175(obj, sel, description, format); } late final __objc_msgSend_175Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_175 = __objc_msgSend_175Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - late final _class_NSTimeZone1 = _getClass1("NSTimeZone"); - late final _sel_name1 = _registerName1("name"); - late final _sel_data1 = _registerName1("data"); - late final _sel_secondsFromGMTForDate_1 = - _registerName1("secondsFromGMTForDate:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_175 = + __objc_msgSend_175Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _class_NSTimeZone1 = objc.getClass("NSTimeZone"); + late final _sel_name1 = objc.registerName("name"); + late final _sel_data1 = objc.registerName("data"); + late final _sel_secondsFromGMTForDate_1 = objc.registerName( + "secondsFromGMTForDate:", + ); int _objc_msgSend_176( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aDate, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer aDate, ) { - return __objc_msgSend_176( - obj, - sel, - aDate, - ); + return __objc_msgSend_176(obj, sel, aDate); } late final __objc_msgSend_176Ptr = _lookup< - ffi.NativeFunction< - ffi.Long Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_176 = __objc_msgSend_176Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_abbreviationForDate_1 = - _registerName1("abbreviationForDate:"); - ffi.Pointer _objc_msgSend_177( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aDate, - ) { - return __objc_msgSend_177( - obj, - sel, - aDate, - ); + ffi.NativeFunction< + ffi.Long Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_176 = + __objc_msgSend_176Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_abbreviationForDate_1 = objc.registerName( + "abbreviationForDate:", + ); + ffi.Pointer _objc_msgSend_177( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer aDate, + ) { + return __objc_msgSend_177(obj, sel, aDate); } late final __objc_msgSend_177Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_177 = __objc_msgSend_177Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_isDaylightSavingTimeForDate_1 = - _registerName1("isDaylightSavingTimeForDate:"); - late final _sel_daylightSavingTimeOffsetForDate_1 = - _registerName1("daylightSavingTimeOffsetForDate:"); - late final _sel_nextDaylightSavingTimeTransitionAfterDate_1 = - _registerName1("nextDaylightSavingTimeTransitionAfterDate:"); - ffi.Pointer _objc_msgSend_178( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aDate, - ) { - return __objc_msgSend_178( - obj, - sel, - aDate, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_177 = + __objc_msgSend_177Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_isDaylightSavingTimeForDate_1 = objc.registerName( + "isDaylightSavingTimeForDate:", + ); + late final _sel_daylightSavingTimeOffsetForDate_1 = objc.registerName( + "daylightSavingTimeOffsetForDate:", + ); + late final _sel_nextDaylightSavingTimeTransitionAfterDate_1 = objc + .registerName("nextDaylightSavingTimeTransitionAfterDate:"); + ffi.Pointer _objc_msgSend_178( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer aDate, + ) { + return __objc_msgSend_178(obj, sel, aDate); } late final __objc_msgSend_178Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_178 = __objc_msgSend_178Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_systemTimeZone1 = _registerName1("systemTimeZone"); - ffi.Pointer _objc_msgSend_179( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_179( - obj, - sel, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_178 = + __objc_msgSend_178Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_systemTimeZone1 = objc.registerName("systemTimeZone"); + ffi.Pointer _objc_msgSend_179( + ffi.Pointer obj, + ffi.Pointer sel, + ) { + return __objc_msgSend_179(obj, sel); } late final __objc_msgSend_179Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_179 = __objc_msgSend_179Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_resetSystemTimeZone1 = _registerName1("resetSystemTimeZone"); - late final _sel_defaultTimeZone1 = _registerName1("defaultTimeZone"); - late final _sel_setDefaultTimeZone_1 = _registerName1("setDefaultTimeZone:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_179 = + __objc_msgSend_179Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_resetSystemTimeZone1 = objc.registerName( + "resetSystemTimeZone", + ); + late final _sel_defaultTimeZone1 = objc.registerName("defaultTimeZone"); + late final _sel_setDefaultTimeZone_1 = objc.registerName( + "setDefaultTimeZone:", + ); void _objc_msgSend_180( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value, ) { - return __objc_msgSend_180( - obj, - sel, - value, - ); + return __objc_msgSend_180(obj, sel, value); } late final __objc_msgSend_180Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_180 = __objc_msgSend_180Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_localTimeZone1 = _registerName1("localTimeZone"); - late final _sel_knownTimeZoneNames1 = _registerName1("knownTimeZoneNames"); - late final _sel_abbreviationDictionary1 = - _registerName1("abbreviationDictionary"); - ffi.Pointer _objc_msgSend_181( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_181( - obj, - sel, - ); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_180 = + __objc_msgSend_180Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_localTimeZone1 = objc.registerName("localTimeZone"); + late final _sel_knownTimeZoneNames1 = objc.registerName("knownTimeZoneNames"); + late final _sel_abbreviationDictionary1 = objc.registerName( + "abbreviationDictionary", + ); + ffi.Pointer _objc_msgSend_181( + ffi.Pointer obj, + ffi.Pointer sel, + ) { + return __objc_msgSend_181(obj, sel); } late final __objc_msgSend_181Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_181 = __objc_msgSend_181Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_setAbbreviationDictionary_1 = - _registerName1("setAbbreviationDictionary:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_181 = + __objc_msgSend_181Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_setAbbreviationDictionary_1 = objc.registerName( + "setAbbreviationDictionary:", + ); void _objc_msgSend_182( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value, ) { - return __objc_msgSend_182( - obj, - sel, - value, - ); + return __objc_msgSend_182(obj, sel, value); } late final __objc_msgSend_182Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_182 = __objc_msgSend_182Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_timeZoneDataVersion1 = _registerName1("timeZoneDataVersion"); - late final _sel_secondsFromGMT1 = _registerName1("secondsFromGMT"); - late final _sel_abbreviation1 = _registerName1("abbreviation"); - late final _sel_isDaylightSavingTime1 = - _registerName1("isDaylightSavingTime"); - late final _sel_daylightSavingTimeOffset1 = - _registerName1("daylightSavingTimeOffset"); - late final _sel_nextDaylightSavingTimeTransition1 = - _registerName1("nextDaylightSavingTimeTransition"); - ffi.Pointer _objc_msgSend_183( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_183( - obj, - sel, - ); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_182 = + __objc_msgSend_182Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_timeZoneDataVersion1 = objc.registerName( + "timeZoneDataVersion", + ); + late final _sel_secondsFromGMT1 = objc.registerName("secondsFromGMT"); + late final _sel_abbreviation1 = objc.registerName("abbreviation"); + late final _sel_isDaylightSavingTime1 = objc.registerName( + "isDaylightSavingTime", + ); + late final _sel_daylightSavingTimeOffset1 = objc.registerName( + "daylightSavingTimeOffset", + ); + late final _sel_nextDaylightSavingTimeTransition1 = objc.registerName( + "nextDaylightSavingTimeTransition", + ); + ffi.Pointer _objc_msgSend_183( + ffi.Pointer obj, + ffi.Pointer sel, + ) { + return __objc_msgSend_183(obj, sel); } late final __objc_msgSend_183Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_183 = __objc_msgSend_183Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_183 = + __objc_msgSend_183Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); - late final _sel_isEqualToTimeZone_1 = _registerName1("isEqualToTimeZone:"); + late final _sel_isEqualToTimeZone_1 = objc.registerName("isEqualToTimeZone:"); bool _objc_msgSend_184( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aTimeZone, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer aTimeZone, ) { - return __objc_msgSend_184( - obj, - sel, - aTimeZone, - ); + return __objc_msgSend_184(obj, sel, aTimeZone); } late final __objc_msgSend_184Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_184 = __objc_msgSend_184Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _class_NSLocale1 = _getClass1("NSLocale"); - late final _sel_displayNameForKey_value_1 = - _registerName1("displayNameForKey:value:"); - ffi.Pointer _objc_msgSend_185( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer key, - ffi.Pointer value, - ) { - return __objc_msgSend_185( - obj, - sel, - key, - value, - ); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_184 = + __objc_msgSend_184Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _class_NSLocale1 = objc.getClass("NSLocale"); + late final _sel_displayNameForKey_value_1 = objc.registerName( + "displayNameForKey:value:", + ); + ffi.Pointer _objc_msgSend_185( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer key, + ffi.Pointer value, + ) { + return __objc_msgSend_185(obj, sel, key, value); } late final __objc_msgSend_185Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_185 = __objc_msgSend_185Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_initWithLocaleIdentifier_1 = - _registerName1("initWithLocaleIdentifier:"); - late final _sel_localeIdentifier1 = _registerName1("localeIdentifier"); - late final _sel_localizedStringForLocaleIdentifier_1 = - _registerName1("localizedStringForLocaleIdentifier:"); - late final _sel_languageCode1 = _registerName1("languageCode"); - late final _sel_localizedStringForLanguageCode_1 = - _registerName1("localizedStringForLanguageCode:"); - ffi.Pointer _objc_msgSend_186( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer languageCode, - ) { - return __objc_msgSend_186( - obj, - sel, - languageCode, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_185 = + __objc_msgSend_185Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_initWithLocaleIdentifier_1 = objc.registerName( + "initWithLocaleIdentifier:", + ); + late final _sel_localeIdentifier1 = objc.registerName("localeIdentifier"); + late final _sel_localizedStringForLocaleIdentifier_1 = objc.registerName( + "localizedStringForLocaleIdentifier:", + ); + late final _sel_languageCode1 = objc.registerName("languageCode"); + late final _sel_localizedStringForLanguageCode_1 = objc.registerName( + "localizedStringForLanguageCode:", + ); + ffi.Pointer _objc_msgSend_186( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer languageCode, + ) { + return __objc_msgSend_186(obj, sel, languageCode); } late final __objc_msgSend_186Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_186 = __objc_msgSend_186Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_languageIdentifier1 = _registerName1("languageIdentifier"); - late final _sel_countryCode1 = _registerName1("countryCode"); - late final _sel_localizedStringForCountryCode_1 = - _registerName1("localizedStringForCountryCode:"); - late final _sel_regionCode1 = _registerName1("regionCode"); - late final _sel_scriptCode1 = _registerName1("scriptCode"); - late final _sel_localizedStringForScriptCode_1 = - _registerName1("localizedStringForScriptCode:"); - late final _sel_variantCode1 = _registerName1("variantCode"); - late final _sel_localizedStringForVariantCode_1 = - _registerName1("localizedStringForVariantCode:"); - late final _class_NSCharacterSet1 = _getClass1("NSCharacterSet"); - late final _sel_controlCharacterSet1 = _registerName1("controlCharacterSet"); - ffi.Pointer _objc_msgSend_187( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_187( - obj, - sel, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_186 = + __objc_msgSend_186Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_languageIdentifier1 = objc.registerName("languageIdentifier"); + late final _sel_countryCode1 = objc.registerName("countryCode"); + late final _sel_localizedStringForCountryCode_1 = objc.registerName( + "localizedStringForCountryCode:", + ); + late final _sel_regionCode1 = objc.registerName("regionCode"); + late final _sel_scriptCode1 = objc.registerName("scriptCode"); + late final _sel_localizedStringForScriptCode_1 = objc.registerName( + "localizedStringForScriptCode:", + ); + late final _sel_variantCode1 = objc.registerName("variantCode"); + late final _sel_localizedStringForVariantCode_1 = objc.registerName( + "localizedStringForVariantCode:", + ); + late final _class_NSCharacterSet1 = objc.getClass("NSCharacterSet"); + late final _sel_controlCharacterSet1 = objc.registerName( + "controlCharacterSet", + ); + ffi.Pointer _objc_msgSend_187( + ffi.Pointer obj, + ffi.Pointer sel, + ) { + return __objc_msgSend_187(obj, sel); } late final __objc_msgSend_187Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_187 = __objc_msgSend_187Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_whitespaceCharacterSet1 = - _registerName1("whitespaceCharacterSet"); - late final _sel_whitespaceAndNewlineCharacterSet1 = - _registerName1("whitespaceAndNewlineCharacterSet"); - late final _sel_decimalDigitCharacterSet1 = - _registerName1("decimalDigitCharacterSet"); - late final _sel_letterCharacterSet1 = _registerName1("letterCharacterSet"); - late final _sel_lowercaseLetterCharacterSet1 = - _registerName1("lowercaseLetterCharacterSet"); - late final _sel_uppercaseLetterCharacterSet1 = - _registerName1("uppercaseLetterCharacterSet"); - late final _sel_nonBaseCharacterSet1 = _registerName1("nonBaseCharacterSet"); - late final _sel_alphanumericCharacterSet1 = - _registerName1("alphanumericCharacterSet"); - late final _sel_decomposableCharacterSet1 = - _registerName1("decomposableCharacterSet"); - late final _sel_illegalCharacterSet1 = _registerName1("illegalCharacterSet"); - late final _sel_punctuationCharacterSet1 = - _registerName1("punctuationCharacterSet"); - late final _sel_capitalizedLetterCharacterSet1 = - _registerName1("capitalizedLetterCharacterSet"); - late final _sel_symbolCharacterSet1 = _registerName1("symbolCharacterSet"); - late final _sel_newlineCharacterSet1 = _registerName1("newlineCharacterSet"); - late final _sel_characterSetWithRange_1 = - _registerName1("characterSetWithRange:"); - ffi.Pointer _objc_msgSend_188( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_187 = + __objc_msgSend_187Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_whitespaceCharacterSet1 = objc.registerName( + "whitespaceCharacterSet", + ); + late final _sel_whitespaceAndNewlineCharacterSet1 = objc.registerName( + "whitespaceAndNewlineCharacterSet", + ); + late final _sel_decimalDigitCharacterSet1 = objc.registerName( + "decimalDigitCharacterSet", + ); + late final _sel_letterCharacterSet1 = objc.registerName("letterCharacterSet"); + late final _sel_lowercaseLetterCharacterSet1 = objc.registerName( + "lowercaseLetterCharacterSet", + ); + late final _sel_uppercaseLetterCharacterSet1 = objc.registerName( + "uppercaseLetterCharacterSet", + ); + late final _sel_nonBaseCharacterSet1 = objc.registerName( + "nonBaseCharacterSet", + ); + late final _sel_alphanumericCharacterSet1 = objc.registerName( + "alphanumericCharacterSet", + ); + late final _sel_decomposableCharacterSet1 = objc.registerName( + "decomposableCharacterSet", + ); + late final _sel_illegalCharacterSet1 = objc.registerName( + "illegalCharacterSet", + ); + late final _sel_punctuationCharacterSet1 = objc.registerName( + "punctuationCharacterSet", + ); + late final _sel_capitalizedLetterCharacterSet1 = objc.registerName( + "capitalizedLetterCharacterSet", + ); + late final _sel_symbolCharacterSet1 = objc.registerName("symbolCharacterSet"); + late final _sel_newlineCharacterSet1 = objc.registerName( + "newlineCharacterSet", + ); + late final _sel_characterSetWithRange_1 = objc.registerName( + "characterSetWithRange:", + ); + ffi.Pointer _objc_msgSend_188( + ffi.Pointer obj, + ffi.Pointer sel, _NSRange aRange, ) { - return __objc_msgSend_188( - obj, - sel, - aRange, - ); + return __objc_msgSend_188(obj, sel, aRange); } late final __objc_msgSend_188Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, _NSRange)>>('objc_msgSend'); - late final __objc_msgSend_188 = __objc_msgSend_188Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer, _NSRange)>(); - - late final _sel_characterSetWithCharactersInString_1 = - _registerName1("characterSetWithCharactersInString:"); - ffi.Pointer _objc_msgSend_189( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aString, - ) { - return __objc_msgSend_189( - obj, - sel, - aString, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_188 = + __objc_msgSend_188Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ) + >(); + + late final _sel_characterSetWithCharactersInString_1 = objc.registerName( + "characterSetWithCharactersInString:", + ); + ffi.Pointer _objc_msgSend_189( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer aString, + ) { + return __objc_msgSend_189(obj, sel, aString); } late final __objc_msgSend_189Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_189 = __objc_msgSend_189Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_characterSetWithBitmapRepresentation_1 = - _registerName1("characterSetWithBitmapRepresentation:"); - ffi.Pointer _objc_msgSend_190( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer data, - ) { - return __objc_msgSend_190( - obj, - sel, - data, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_189 = + __objc_msgSend_189Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_characterSetWithBitmapRepresentation_1 = objc.registerName( + "characterSetWithBitmapRepresentation:", + ); + ffi.Pointer _objc_msgSend_190( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer data, + ) { + return __objc_msgSend_190(obj, sel, data); } late final __objc_msgSend_190Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_190 = __objc_msgSend_190Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_characterSetWithContentsOfFile_1 = - _registerName1("characterSetWithContentsOfFile:"); - ffi.Pointer _objc_msgSend_191( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer fName, - ) { - return __objc_msgSend_191( - obj, - sel, - fName, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_190 = + __objc_msgSend_190Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_characterSetWithContentsOfFile_1 = objc.registerName( + "characterSetWithContentsOfFile:", + ); + ffi.Pointer _objc_msgSend_191( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer fName, + ) { + return __objc_msgSend_191(obj, sel, fName); } late final __objc_msgSend_191Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_191 = __objc_msgSend_191Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_191 = + __objc_msgSend_191Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); instancetype _objc_msgSend_192( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer coder, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer coder, ) { - return __objc_msgSend_192( - obj, - sel, - coder, - ); + return __objc_msgSend_192(obj, sel, coder); } late final __objc_msgSend_192Ptr = _lookup< - ffi.NativeFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_192 = __objc_msgSend_192Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_characterIsMember_1 = _registerName1("characterIsMember:"); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_192 = + __objc_msgSend_192Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_characterIsMember_1 = objc.registerName("characterIsMember:"); bool _objc_msgSend_193( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int aCharacter, ) { - return __objc_msgSend_193( - obj, - sel, - aCharacter, - ); + return __objc_msgSend_193(obj, sel, aCharacter); } late final __objc_msgSend_193Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer, ffi.Pointer, - ffi.UnsignedShort)>>('objc_msgSend'); - late final __objc_msgSend_193 = __objc_msgSend_193Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_bitmapRepresentation1 = - _registerName1("bitmapRepresentation"); - late final _sel_invertedSet1 = _registerName1("invertedSet"); - late final _sel_longCharacterIsMember_1 = - _registerName1("longCharacterIsMember:"); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedShort, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_193 = + __objc_msgSend_193Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_bitmapRepresentation1 = objc.registerName( + "bitmapRepresentation", + ); + late final _sel_invertedSet1 = objc.registerName("invertedSet"); + late final _sel_longCharacterIsMember_1 = objc.registerName( + "longCharacterIsMember:", + ); bool _objc_msgSend_194( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int theLongChar, ) { - return __objc_msgSend_194( - obj, - sel, - theLongChar, - ); + return __objc_msgSend_194(obj, sel, theLongChar); } late final __objc_msgSend_194Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer, ffi.Pointer, - ffi.UnsignedInt)>>('objc_msgSend'); - late final __objc_msgSend_194 = __objc_msgSend_194Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, int)>(); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedInt, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_194 = + __objc_msgSend_194Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); - late final _sel_isSupersetOfSet_1 = _registerName1("isSupersetOfSet:"); + late final _sel_isSupersetOfSet_1 = objc.registerName("isSupersetOfSet:"); bool _objc_msgSend_195( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer theOtherSet, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer theOtherSet, ) { - return __objc_msgSend_195( - obj, - sel, - theOtherSet, - ); + return __objc_msgSend_195(obj, sel, theOtherSet); } late final __objc_msgSend_195Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_195 = __objc_msgSend_195Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_195 = + __objc_msgSend_195Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); - late final _sel_hasMemberInPlane_1 = _registerName1("hasMemberInPlane:"); + late final _sel_hasMemberInPlane_1 = objc.registerName("hasMemberInPlane:"); bool _objc_msgSend_196( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int thePlane, ) { - return __objc_msgSend_196( - obj, - sel, - thePlane, - ); + return __objc_msgSend_196(obj, sel, thePlane); } late final __objc_msgSend_196Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer, ffi.Pointer, - ffi.Uint8)>>('objc_msgSend'); - late final __objc_msgSend_196 = __objc_msgSend_196Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_URLUserAllowedCharacterSet1 = - _registerName1("URLUserAllowedCharacterSet"); - late final _sel_URLPasswordAllowedCharacterSet1 = - _registerName1("URLPasswordAllowedCharacterSet"); - late final _sel_URLHostAllowedCharacterSet1 = - _registerName1("URLHostAllowedCharacterSet"); - late final _sel_URLPathAllowedCharacterSet1 = - _registerName1("URLPathAllowedCharacterSet"); - late final _sel_URLQueryAllowedCharacterSet1 = - _registerName1("URLQueryAllowedCharacterSet"); - late final _sel_URLFragmentAllowedCharacterSet1 = - _registerName1("URLFragmentAllowedCharacterSet"); - late final _sel_exemplarCharacterSet1 = - _registerName1("exemplarCharacterSet"); - late final _sel_calendarIdentifier1 = _registerName1("calendarIdentifier"); - late final _sel_localizedStringForCalendarIdentifier_1 = - _registerName1("localizedStringForCalendarIdentifier:"); - late final _sel_collationIdentifier1 = _registerName1("collationIdentifier"); - late final _sel_localizedStringForCollationIdentifier_1 = - _registerName1("localizedStringForCollationIdentifier:"); - late final _sel_usesMetricSystem1 = _registerName1("usesMetricSystem"); - late final _sel_decimalSeparator1 = _registerName1("decimalSeparator"); - late final _sel_groupingSeparator1 = _registerName1("groupingSeparator"); - late final _sel_currencySymbol1 = _registerName1("currencySymbol"); - late final _sel_currencyCode1 = _registerName1("currencyCode"); - late final _sel_localizedStringForCurrencyCode_1 = - _registerName1("localizedStringForCurrencyCode:"); - late final _sel_collatorIdentifier1 = _registerName1("collatorIdentifier"); - late final _sel_localizedStringForCollatorIdentifier_1 = - _registerName1("localizedStringForCollatorIdentifier:"); - late final _sel_quotationBeginDelimiter1 = - _registerName1("quotationBeginDelimiter"); - late final _sel_quotationEndDelimiter1 = - _registerName1("quotationEndDelimiter"); - late final _sel_alternateQuotationBeginDelimiter1 = - _registerName1("alternateQuotationBeginDelimiter"); - late final _sel_alternateQuotationEndDelimiter1 = - _registerName1("alternateQuotationEndDelimiter"); - late final _sel_autoupdatingCurrentLocale1 = - _registerName1("autoupdatingCurrentLocale"); - ffi.Pointer _objc_msgSend_197( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_197( - obj, - sel, - ); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Uint8, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_196 = + __objc_msgSend_196Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_URLUserAllowedCharacterSet1 = objc.registerName( + "URLUserAllowedCharacterSet", + ); + late final _sel_URLPasswordAllowedCharacterSet1 = objc.registerName( + "URLPasswordAllowedCharacterSet", + ); + late final _sel_URLHostAllowedCharacterSet1 = objc.registerName( + "URLHostAllowedCharacterSet", + ); + late final _sel_URLPathAllowedCharacterSet1 = objc.registerName( + "URLPathAllowedCharacterSet", + ); + late final _sel_URLQueryAllowedCharacterSet1 = objc.registerName( + "URLQueryAllowedCharacterSet", + ); + late final _sel_URLFragmentAllowedCharacterSet1 = objc.registerName( + "URLFragmentAllowedCharacterSet", + ); + late final _sel_exemplarCharacterSet1 = objc.registerName( + "exemplarCharacterSet", + ); + late final _sel_calendarIdentifier1 = objc.registerName("calendarIdentifier"); + late final _sel_localizedStringForCalendarIdentifier_1 = objc.registerName( + "localizedStringForCalendarIdentifier:", + ); + late final _sel_collationIdentifier1 = objc.registerName( + "collationIdentifier", + ); + late final _sel_localizedStringForCollationIdentifier_1 = objc.registerName( + "localizedStringForCollationIdentifier:", + ); + late final _sel_usesMetricSystem1 = objc.registerName("usesMetricSystem"); + late final _sel_decimalSeparator1 = objc.registerName("decimalSeparator"); + late final _sel_groupingSeparator1 = objc.registerName("groupingSeparator"); + late final _sel_currencySymbol1 = objc.registerName("currencySymbol"); + late final _sel_currencyCode1 = objc.registerName("currencyCode"); + late final _sel_localizedStringForCurrencyCode_1 = objc.registerName( + "localizedStringForCurrencyCode:", + ); + late final _sel_collatorIdentifier1 = objc.registerName("collatorIdentifier"); + late final _sel_localizedStringForCollatorIdentifier_1 = objc.registerName( + "localizedStringForCollatorIdentifier:", + ); + late final _sel_quotationBeginDelimiter1 = objc.registerName( + "quotationBeginDelimiter", + ); + late final _sel_quotationEndDelimiter1 = objc.registerName( + "quotationEndDelimiter", + ); + late final _sel_alternateQuotationBeginDelimiter1 = objc.registerName( + "alternateQuotationBeginDelimiter", + ); + late final _sel_alternateQuotationEndDelimiter1 = objc.registerName( + "alternateQuotationEndDelimiter", + ); + late final _sel_autoupdatingCurrentLocale1 = objc.registerName( + "autoupdatingCurrentLocale", + ); + ffi.Pointer _objc_msgSend_197( + ffi.Pointer obj, + ffi.Pointer sel, + ) { + return __objc_msgSend_197(obj, sel); } late final __objc_msgSend_197Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_197 = __objc_msgSend_197Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_currentLocale1 = _registerName1("currentLocale"); - late final _sel_systemLocale1 = _registerName1("systemLocale"); - late final _sel_localeWithLocaleIdentifier_1 = - _registerName1("localeWithLocaleIdentifier:"); - late final _sel_availableLocaleIdentifiers1 = - _registerName1("availableLocaleIdentifiers"); - late final _sel_ISOLanguageCodes1 = _registerName1("ISOLanguageCodes"); - late final _sel_ISOCountryCodes1 = _registerName1("ISOCountryCodes"); - late final _sel_ISOCurrencyCodes1 = _registerName1("ISOCurrencyCodes"); - late final _sel_commonISOCurrencyCodes1 = - _registerName1("commonISOCurrencyCodes"); - late final _sel_preferredLanguages1 = _registerName1("preferredLanguages"); - late final _sel_componentsFromLocaleIdentifier_1 = - _registerName1("componentsFromLocaleIdentifier:"); - ffi.Pointer _objc_msgSend_198( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer string, - ) { - return __objc_msgSend_198( - obj, - sel, - string, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_197 = + __objc_msgSend_197Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_currentLocale1 = objc.registerName("currentLocale"); + late final _sel_systemLocale1 = objc.registerName("systemLocale"); + late final _sel_localeWithLocaleIdentifier_1 = objc.registerName( + "localeWithLocaleIdentifier:", + ); + late final _sel_availableLocaleIdentifiers1 = objc.registerName( + "availableLocaleIdentifiers", + ); + late final _sel_ISOLanguageCodes1 = objc.registerName("ISOLanguageCodes"); + late final _sel_ISOCountryCodes1 = objc.registerName("ISOCountryCodes"); + late final _sel_ISOCurrencyCodes1 = objc.registerName("ISOCurrencyCodes"); + late final _sel_commonISOCurrencyCodes1 = objc.registerName( + "commonISOCurrencyCodes", + ); + late final _sel_preferredLanguages1 = objc.registerName("preferredLanguages"); + late final _sel_componentsFromLocaleIdentifier_1 = objc.registerName( + "componentsFromLocaleIdentifier:", + ); + ffi.Pointer _objc_msgSend_198( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer string, + ) { + return __objc_msgSend_198(obj, sel, string); } late final __objc_msgSend_198Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_198 = __objc_msgSend_198Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_localeIdentifierFromComponents_1 = - _registerName1("localeIdentifierFromComponents:"); - ffi.Pointer _objc_msgSend_199( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer dict, - ) { - return __objc_msgSend_199( - obj, - sel, - dict, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_198 = + __objc_msgSend_198Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_localeIdentifierFromComponents_1 = objc.registerName( + "localeIdentifierFromComponents:", + ); + ffi.Pointer _objc_msgSend_199( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer dict, + ) { + return __objc_msgSend_199(obj, sel, dict); } late final __objc_msgSend_199Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_199 = __objc_msgSend_199Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_canonicalLocaleIdentifierFromString_1 = - _registerName1("canonicalLocaleIdentifierFromString:"); - late final _sel_canonicalLanguageIdentifierFromString_1 = - _registerName1("canonicalLanguageIdentifierFromString:"); - late final _sel_localeIdentifierFromWindowsLocaleCode_1 = - _registerName1("localeIdentifierFromWindowsLocaleCode:"); - ffi.Pointer _objc_msgSend_200( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_199 = + __objc_msgSend_199Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_canonicalLocaleIdentifierFromString_1 = objc.registerName( + "canonicalLocaleIdentifierFromString:", + ); + late final _sel_canonicalLanguageIdentifierFromString_1 = objc.registerName( + "canonicalLanguageIdentifierFromString:", + ); + late final _sel_localeIdentifierFromWindowsLocaleCode_1 = objc.registerName( + "localeIdentifierFromWindowsLocaleCode:", + ); + ffi.Pointer _objc_msgSend_200( + ffi.Pointer obj, + ffi.Pointer sel, int lcid, ) { - return __objc_msgSend_200( - obj, - sel, - lcid, - ); + return __objc_msgSend_200(obj, sel, lcid); } late final __objc_msgSend_200Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Uint32)>>('objc_msgSend'); - late final __objc_msgSend_200 = __objc_msgSend_200Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_windowsLocaleCodeFromLocaleIdentifier_1 = - _registerName1("windowsLocaleCodeFromLocaleIdentifier:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Uint32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_200 = + __objc_msgSend_200Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_windowsLocaleCodeFromLocaleIdentifier_1 = objc.registerName( + "windowsLocaleCodeFromLocaleIdentifier:", + ); int _objc_msgSend_201( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer localeIdentifier, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer localeIdentifier, ) { - return __objc_msgSend_201( - obj, - sel, - localeIdentifier, - ); + return __objc_msgSend_201(obj, sel, localeIdentifier); } late final __objc_msgSend_201Ptr = _lookup< - ffi.NativeFunction< - ffi.Uint32 Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_201 = __objc_msgSend_201Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_characterDirectionForLanguage_1 = - _registerName1("characterDirectionForLanguage:"); + ffi.NativeFunction< + ffi.Uint32 Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_201 = + __objc_msgSend_201Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_characterDirectionForLanguage_1 = objc.registerName( + "characterDirectionForLanguage:", + ); int _objc_msgSend_202( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer isoLangCode, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer isoLangCode, ) { - return __objc_msgSend_202( - obj, - sel, - isoLangCode, - ); + return __objc_msgSend_202(obj, sel, isoLangCode); } late final __objc_msgSend_202Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_202 = __objc_msgSend_202Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_lineDirectionForLanguage_1 = - _registerName1("lineDirectionForLanguage:"); - late final _sel_localizedName_locale_1 = - _registerName1("localizedName:locale:"); - ffi.Pointer _objc_msgSend_203( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_202 = + __objc_msgSend_202Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_lineDirectionForLanguage_1 = objc.registerName( + "lineDirectionForLanguage:", + ); + late final _sel_localizedName_locale_1 = objc.registerName( + "localizedName:locale:", + ); + ffi.Pointer _objc_msgSend_203( + ffi.Pointer obj, + ffi.Pointer sel, int style, - ffi.Pointer locale, + ffi.Pointer locale, ) { - return __objc_msgSend_203( - obj, - sel, - style, - locale, - ); + return __objc_msgSend_203(obj, sel, style, locale); } late final __objc_msgSend_203Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_203 = __objc_msgSend_203Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, int, ffi.Pointer)>(); - - late final _sel_timeZoneWithName_1 = _registerName1("timeZoneWithName:"); - late final _sel_timeZoneWithName_data_1 = - _registerName1("timeZoneWithName:data:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_203 = + __objc_msgSend_203Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ) + >(); + + late final _sel_timeZoneWithName_1 = objc.registerName("timeZoneWithName:"); + late final _sel_timeZoneWithName_data_1 = objc.registerName( + "timeZoneWithName:data:", + ); instancetype _objc_msgSend_204( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer tzName, - ffi.Pointer aData, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer tzName, + ffi.Pointer aData, ) { - return __objc_msgSend_204( - obj, - sel, - tzName, - aData, - ); + return __objc_msgSend_204(obj, sel, tzName, aData); } late final __objc_msgSend_204Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_204 = __objc_msgSend_204Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_initWithName_1 = _registerName1("initWithName:"); - late final _sel_initWithName_data_1 = _registerName1("initWithName:data:"); - late final _sel_timeZoneForSecondsFromGMT_1 = - _registerName1("timeZoneForSecondsFromGMT:"); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_204 = + __objc_msgSend_204Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_initWithName_1 = objc.registerName("initWithName:"); + late final _sel_initWithName_data_1 = objc.registerName("initWithName:data:"); + late final _sel_timeZoneForSecondsFromGMT_1 = objc.registerName( + "timeZoneForSecondsFromGMT:", + ); instancetype _objc_msgSend_205( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int seconds, ) { - return __objc_msgSend_205( - obj, - sel, - seconds, - ); + return __objc_msgSend_205(obj, sel, seconds); } late final __objc_msgSend_205Ptr = _lookup< - ffi.NativeFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Long)>>('objc_msgSend'); - late final __objc_msgSend_205 = __objc_msgSend_205Ptr.asFunction< + ffi.NativeFunction< instancetype Function( - ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_timeZoneWithAbbreviation_1 = - _registerName1("timeZoneWithAbbreviation:"); - late final _sel_dateWithYear_month_day_hour_minute_second_timeZone_1 = - _registerName1("dateWithYear:month:day:hour:minute:second:timeZone:"); - ffi.Pointer _objc_msgSend_206( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer, + ffi.Pointer, + ffi.Long, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_205 = + __objc_msgSend_205Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_timeZoneWithAbbreviation_1 = objc.registerName( + "timeZoneWithAbbreviation:", + ); + late final _sel_dateWithYear_month_day_hour_minute_second_timeZone_1 = objc + .registerName("dateWithYear:month:day:hour:minute:second:timeZone:"); + ffi.Pointer _objc_msgSend_206( + ffi.Pointer obj, + ffi.Pointer sel, int year, int month, int day, int hour, int minute, int second, - ffi.Pointer aTimeZone, + ffi.Pointer aTimeZone, ) { return __objc_msgSend_206( obj, @@ -5600,34 +7005,41 @@ class SwiftLibrary { } late final __objc_msgSend_206Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Long, - ffi.UnsignedLong, - ffi.UnsignedLong, - ffi.UnsignedLong, - ffi.UnsignedLong, - ffi.UnsignedLong, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_206 = __objc_msgSend_206Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - int, - int, - int, - int, - int, - ffi.Pointer)>(); - - late final _sel_dateByAddingYears_months_days_hours_minutes_seconds_1 = - _registerName1("dateByAddingYears:months:days:hours:minutes:seconds:"); - ffi.Pointer _objc_msgSend_207( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Long, + ffi.UnsignedLong, + ffi.UnsignedLong, + ffi.UnsignedLong, + ffi.UnsignedLong, + ffi.UnsignedLong, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_206 = + __objc_msgSend_206Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + int, + int, + int, + int, + int, + ffi.Pointer, + ) + >(); + + late final _sel_dateByAddingYears_months_days_hours_minutes_seconds_1 = objc + .registerName("dateByAddingYears:months:days:hours:minutes:seconds:"); + ffi.Pointer _objc_msgSend_207( + ffi.Pointer obj, + ffi.Pointer sel, int year, int month, int day, @@ -5635,1127 +7047,1418 @@ class SwiftLibrary { int minute, int second, ) { - return __objc_msgSend_207( - obj, - sel, - year, - month, - day, - hour, - minute, - second, - ); + return __objc_msgSend_207(obj, sel, year, month, day, hour, minute, second); } late final __objc_msgSend_207Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Long, - ffi.Long, - ffi.Long, - ffi.Long, - ffi.Long, - ffi.Long)>>('objc_msgSend'); - late final __objc_msgSend_207 = __objc_msgSend_207Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, int, int, int, int, int, int)>(); - - late final _sel_dayOfCommonEra1 = _registerName1("dayOfCommonEra"); - late final _sel_dayOfMonth1 = _registerName1("dayOfMonth"); - late final _sel_dayOfWeek1 = _registerName1("dayOfWeek"); - late final _sel_dayOfYear1 = _registerName1("dayOfYear"); - late final _sel_hourOfDay1 = _registerName1("hourOfDay"); - late final _sel_minuteOfHour1 = _registerName1("minuteOfHour"); - late final _sel_monthOfYear1 = _registerName1("monthOfYear"); - late final _sel_secondOfMinute1 = _registerName1("secondOfMinute"); - late final _sel_yearOfCommonEra1 = _registerName1("yearOfCommonEra"); - late final _sel_calendarFormat1 = _registerName1("calendarFormat"); - late final _sel_descriptionWithCalendarFormat_locale_1 = - _registerName1("descriptionWithCalendarFormat:locale:"); - ffi.Pointer _objc_msgSend_208( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer format, - ffi.Pointer locale, - ) { - return __objc_msgSend_208( - obj, - sel, - format, - locale, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Long, + ffi.Long, + ffi.Long, + ffi.Long, + ffi.Long, + ffi.Long, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_207 = + __objc_msgSend_207Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + int, + int, + int, + int, + int, + ) + >(); + + late final _sel_dayOfCommonEra1 = objc.registerName("dayOfCommonEra"); + late final _sel_dayOfMonth1 = objc.registerName("dayOfMonth"); + late final _sel_dayOfWeek1 = objc.registerName("dayOfWeek"); + late final _sel_dayOfYear1 = objc.registerName("dayOfYear"); + late final _sel_hourOfDay1 = objc.registerName("hourOfDay"); + late final _sel_minuteOfHour1 = objc.registerName("minuteOfHour"); + late final _sel_monthOfYear1 = objc.registerName("monthOfYear"); + late final _sel_secondOfMinute1 = objc.registerName("secondOfMinute"); + late final _sel_yearOfCommonEra1 = objc.registerName("yearOfCommonEra"); + late final _sel_calendarFormat1 = objc.registerName("calendarFormat"); + late final _sel_descriptionWithCalendarFormat_locale_1 = objc.registerName( + "descriptionWithCalendarFormat:locale:", + ); + ffi.Pointer _objc_msgSend_208( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer format, + ffi.Pointer locale, + ) { + return __objc_msgSend_208(obj, sel, format, locale); } late final __objc_msgSend_208Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_208 = __objc_msgSend_208Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_descriptionWithCalendarFormat_1 = - _registerName1("descriptionWithCalendarFormat:"); - late final _sel_timeZone1 = _registerName1("timeZone"); - late final _sel_initWithString_calendarFormat_locale_1 = - _registerName1("initWithString:calendarFormat:locale:"); - late final _sel_initWithString_calendarFormat_1 = - _registerName1("initWithString:calendarFormat:"); - late final _sel_initWithYear_month_day_hour_minute_second_timeZone_1 = - _registerName1("initWithYear:month:day:hour:minute:second:timeZone:"); - late final _sel_setCalendarFormat_1 = _registerName1("setCalendarFormat:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_208 = + __objc_msgSend_208Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_descriptionWithCalendarFormat_1 = objc.registerName( + "descriptionWithCalendarFormat:", + ); + late final _sel_timeZone1 = objc.registerName("timeZone"); + late final _sel_initWithString_calendarFormat_locale_1 = objc.registerName( + "initWithString:calendarFormat:locale:", + ); + late final _sel_initWithString_calendarFormat_1 = objc.registerName( + "initWithString:calendarFormat:", + ); + late final _sel_initWithYear_month_day_hour_minute_second_timeZone_1 = objc + .registerName("initWithYear:month:day:hour:minute:second:timeZone:"); + late final _sel_setCalendarFormat_1 = objc.registerName("setCalendarFormat:"); void _objc_msgSend_209( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer format, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer format, ) { - return __objc_msgSend_209( - obj, - sel, - format, - ); + return __objc_msgSend_209(obj, sel, format); } late final __objc_msgSend_209Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_209 = __objc_msgSend_209Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_209 = + __objc_msgSend_209Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); - late final _sel_setTimeZone_1 = _registerName1("setTimeZone:"); + late final _sel_setTimeZone_1 = objc.registerName("setTimeZone:"); void _objc_msgSend_210( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aTimeZone, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer aTimeZone, ) { - return __objc_msgSend_210( - obj, - sel, - aTimeZone, - ); + return __objc_msgSend_210(obj, sel, aTimeZone); } late final __objc_msgSend_210Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_210 = __objc_msgSend_210Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_years_months_days_hours_minutes_seconds_sinceDate_1 = - _registerName1("years:months:days:hours:minutes:seconds:sinceDate:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_210 = + __objc_msgSend_210Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_years_months_days_hours_minutes_seconds_sinceDate_1 = objc + .registerName("years:months:days:hours:minutes:seconds:sinceDate:"); void _objc_msgSend_211( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ffi.Pointer yp, ffi.Pointer mop, ffi.Pointer dp, ffi.Pointer hp, ffi.Pointer mip, ffi.Pointer sp, - ffi.Pointer date, + ffi.Pointer date, ) { - return __objc_msgSend_211( - obj, - sel, - yp, - mop, - dp, - hp, - mip, - sp, - date, - ); + return __objc_msgSend_211(obj, sel, yp, mop, dp, hp, mip, sp, date); } late final __objc_msgSend_211Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_211 = + __objc_msgSend_211Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_211 = __objc_msgSend_211Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_dateWithCalendarFormat_timeZone_1 = - _registerName1("dateWithCalendarFormat:timeZone:"); - ffi.Pointer _objc_msgSend_212( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer format, - ffi.Pointer aTimeZone, - ) { - return __objc_msgSend_212( - obj, - sel, - format, - aTimeZone, - ); + ffi.Pointer, + ) + >(); + + late final _sel_dateWithCalendarFormat_timeZone_1 = objc.registerName( + "dateWithCalendarFormat:timeZone:", + ); + ffi.Pointer _objc_msgSend_212( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer format, + ffi.Pointer aTimeZone, + ) { + return __objc_msgSend_212(obj, sel, format, aTimeZone); } late final __objc_msgSend_212Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_212 = __objc_msgSend_212Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_descriptionWithCalendarFormat_timeZone_locale_1 = - _registerName1("descriptionWithCalendarFormat:timeZone:locale:"); - ffi.Pointer _objc_msgSend_213( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer format, - ffi.Pointer aTimeZone, - ffi.Pointer locale, - ) { - return __objc_msgSend_213( - obj, - sel, - format, - aTimeZone, - locale, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_212 = + __objc_msgSend_212Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_descriptionWithCalendarFormat_timeZone_locale_1 = objc + .registerName("descriptionWithCalendarFormat:timeZone:locale:"); + ffi.Pointer _objc_msgSend_213( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer format, + ffi.Pointer aTimeZone, + ffi.Pointer locale, + ) { + return __objc_msgSend_213(obj, sel, format, aTimeZone, locale); } late final __objc_msgSend_213Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_213 = __objc_msgSend_213Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_fileModificationDate1 = - _registerName1("fileModificationDate"); - late final _sel_fileType1 = _registerName1("fileType"); - late final _sel_filePosixPermissions1 = - _registerName1("filePosixPermissions"); - late final _sel_fileOwnerAccountName1 = - _registerName1("fileOwnerAccountName"); - late final _sel_fileGroupOwnerAccountName1 = - _registerName1("fileGroupOwnerAccountName"); - late final _sel_fileSystemNumber1 = _registerName1("fileSystemNumber"); - late final _sel_fileSystemFileNumber1 = - _registerName1("fileSystemFileNumber"); - late final _sel_fileExtensionHidden1 = _registerName1("fileExtensionHidden"); - late final _sel_fileHFSCreatorCode1 = _registerName1("fileHFSCreatorCode"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_213 = + __objc_msgSend_213Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_fileModificationDate1 = objc.registerName( + "fileModificationDate", + ); + late final _sel_fileType1 = objc.registerName("fileType"); + late final _sel_filePosixPermissions1 = objc.registerName( + "filePosixPermissions", + ); + late final _sel_fileOwnerAccountName1 = objc.registerName( + "fileOwnerAccountName", + ); + late final _sel_fileGroupOwnerAccountName1 = objc.registerName( + "fileGroupOwnerAccountName", + ); + late final _sel_fileSystemNumber1 = objc.registerName("fileSystemNumber"); + late final _sel_fileSystemFileNumber1 = objc.registerName( + "fileSystemFileNumber", + ); + late final _sel_fileExtensionHidden1 = objc.registerName( + "fileExtensionHidden", + ); + late final _sel_fileHFSCreatorCode1 = objc.registerName("fileHFSCreatorCode"); int _objc_msgSend_214( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_214( - obj, - sel, - ); + return __objc_msgSend_214(obj, sel); } late final __objc_msgSend_214Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedInt Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_214 = __objc_msgSend_214Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer)>(); - - late final _sel_fileHFSTypeCode1 = _registerName1("fileHFSTypeCode"); - late final _sel_fileIsImmutable1 = _registerName1("fileIsImmutable"); - late final _sel_fileIsAppendOnly1 = _registerName1("fileIsAppendOnly"); - late final _sel_fileCreationDate1 = _registerName1("fileCreationDate"); - late final _sel_fileOwnerAccountID1 = _registerName1("fileOwnerAccountID"); - ffi.Pointer _objc_msgSend_215( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_215( - obj, - sel, - ); + ffi.NativeFunction< + ffi.UnsignedInt Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_214 = + __objc_msgSend_214Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_fileHFSTypeCode1 = objc.registerName("fileHFSTypeCode"); + late final _sel_fileIsImmutable1 = objc.registerName("fileIsImmutable"); + late final _sel_fileIsAppendOnly1 = objc.registerName("fileIsAppendOnly"); + late final _sel_fileCreationDate1 = objc.registerName("fileCreationDate"); + late final _sel_fileOwnerAccountID1 = objc.registerName("fileOwnerAccountID"); + ffi.Pointer _objc_msgSend_215( + ffi.Pointer obj, + ffi.Pointer sel, + ) { + return __objc_msgSend_215(obj, sel); } late final __objc_msgSend_215Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_215 = __objc_msgSend_215Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_fileGroupOwnerAccountID1 = - _registerName1("fileGroupOwnerAccountID"); - late final _sel_predicateWithBlock_1 = _registerName1("predicateWithBlock:"); - ffi.Pointer _objc_msgSend_216( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer<_ObjCBlock> block, - ) { - return __objc_msgSend_216( - obj, - sel, - block, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_215 = + __objc_msgSend_215Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_fileGroupOwnerAccountID1 = objc.registerName( + "fileGroupOwnerAccountID", + ); + late final _sel_predicateWithBlock_1 = objc.registerName( + "predicateWithBlock:", + ); + ffi.Pointer _objc_msgSend_216( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer block, + ) { + return __objc_msgSend_216(obj, sel, block); } late final __objc_msgSend_216Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_216 = __objc_msgSend_216Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_predicateFormat1 = _registerName1("predicateFormat"); - late final _sel_predicateWithSubstitutionVariables_1 = - _registerName1("predicateWithSubstitutionVariables:"); - late final _sel_evaluateWithObject_1 = _registerName1("evaluateWithObject:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_216 = + __objc_msgSend_216Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_predicateFormat1 = objc.registerName("predicateFormat"); + late final _sel_predicateWithSubstitutionVariables_1 = objc.registerName( + "predicateWithSubstitutionVariables:", + ); + late final _sel_evaluateWithObject_1 = objc.registerName( + "evaluateWithObject:", + ); bool _objc_msgSend_217( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer object, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer object, ) { - return __objc_msgSend_217( - obj, - sel, - object, - ); + return __objc_msgSend_217(obj, sel, object); } late final __objc_msgSend_217Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_217 = __objc_msgSend_217Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_evaluateWithObject_substitutionVariables_1 = - _registerName1("evaluateWithObject:substitutionVariables:"); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_217 = + __objc_msgSend_217Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_evaluateWithObject_substitutionVariables_1 = objc + .registerName("evaluateWithObject:substitutionVariables:"); bool _objc_msgSend_218( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer object, - ffi.Pointer bindings, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer object, + ffi.Pointer bindings, ) { - return __objc_msgSend_218( - obj, - sel, - object, - bindings, - ); + return __objc_msgSend_218(obj, sel, object, bindings); } late final __objc_msgSend_218Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_218 = __objc_msgSend_218Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_allowEvaluation1 = _registerName1("allowEvaluation"); - late final _sel_filteredArrayUsingPredicate_1 = - _registerName1("filteredArrayUsingPredicate:"); - ffi.Pointer _objc_msgSend_219( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer predicate, - ) { - return __objc_msgSend_219( - obj, - sel, - predicate, - ); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_218 = + __objc_msgSend_218Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_allowEvaluation1 = objc.registerName("allowEvaluation"); + late final _sel_filteredArrayUsingPredicate_1 = objc.registerName( + "filteredArrayUsingPredicate:", + ); + ffi.Pointer _objc_msgSend_219( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer predicate, + ) { + return __objc_msgSend_219(obj, sel, predicate); } late final __objc_msgSend_219Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_219 = __objc_msgSend_219Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_initWithChar_1 = _registerName1("initWithChar:"); - ffi.Pointer _objc_msgSend_220( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_219 = + __objc_msgSend_219Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_initWithChar_1 = objc.registerName("initWithChar:"); + ffi.Pointer _objc_msgSend_220( + ffi.Pointer obj, + ffi.Pointer sel, int value, ) { - return __objc_msgSend_220( - obj, - sel, - value, - ); + return __objc_msgSend_220(obj, sel, value); } late final __objc_msgSend_220Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Char)>>('objc_msgSend'); - late final __objc_msgSend_220 = __objc_msgSend_220Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_initWithUnsignedChar_1 = - _registerName1("initWithUnsignedChar:"); - ffi.Pointer _objc_msgSend_221( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Char, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_220 = + __objc_msgSend_220Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_initWithUnsignedChar_1 = objc.registerName( + "initWithUnsignedChar:", + ); + ffi.Pointer _objc_msgSend_221( + ffi.Pointer obj, + ffi.Pointer sel, int value, ) { - return __objc_msgSend_221( - obj, - sel, - value, - ); + return __objc_msgSend_221(obj, sel, value); } late final __objc_msgSend_221Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.UnsignedChar)>>('objc_msgSend'); - late final __objc_msgSend_221 = __objc_msgSend_221Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_initWithShort_1 = _registerName1("initWithShort:"); - ffi.Pointer _objc_msgSend_222( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedChar, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_221 = + __objc_msgSend_221Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_initWithShort_1 = objc.registerName("initWithShort:"); + ffi.Pointer _objc_msgSend_222( + ffi.Pointer obj, + ffi.Pointer sel, int value, ) { - return __objc_msgSend_222( - obj, - sel, - value, - ); + return __objc_msgSend_222(obj, sel, value); } late final __objc_msgSend_222Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Short)>>('objc_msgSend'); - late final __objc_msgSend_222 = __objc_msgSend_222Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_initWithUnsignedShort_1 = - _registerName1("initWithUnsignedShort:"); - ffi.Pointer _objc_msgSend_223( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Short, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_222 = + __objc_msgSend_222Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_initWithUnsignedShort_1 = objc.registerName( + "initWithUnsignedShort:", + ); + ffi.Pointer _objc_msgSend_223( + ffi.Pointer obj, + ffi.Pointer sel, int value, ) { - return __objc_msgSend_223( - obj, - sel, - value, - ); + return __objc_msgSend_223(obj, sel, value); } late final __objc_msgSend_223Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.UnsignedShort)>>('objc_msgSend'); - late final __objc_msgSend_223 = __objc_msgSend_223Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_initWithInt_1 = _registerName1("initWithInt:"); - ffi.Pointer _objc_msgSend_224( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedShort, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_223 = + __objc_msgSend_223Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_initWithInt_1 = objc.registerName("initWithInt:"); + ffi.Pointer _objc_msgSend_224( + ffi.Pointer obj, + ffi.Pointer sel, int value, ) { - return __objc_msgSend_224( - obj, - sel, - value, - ); + return __objc_msgSend_224(obj, sel, value); } late final __objc_msgSend_224Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Int)>>('objc_msgSend'); - late final __objc_msgSend_224 = __objc_msgSend_224Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_initWithUnsignedInt_1 = - _registerName1("initWithUnsignedInt:"); - ffi.Pointer _objc_msgSend_225( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_224 = + __objc_msgSend_224Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_initWithUnsignedInt_1 = objc.registerName( + "initWithUnsignedInt:", + ); + ffi.Pointer _objc_msgSend_225( + ffi.Pointer obj, + ffi.Pointer sel, int value, ) { - return __objc_msgSend_225( - obj, - sel, - value, - ); + return __objc_msgSend_225(obj, sel, value); } late final __objc_msgSend_225Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.UnsignedInt)>>('objc_msgSend'); - late final __objc_msgSend_225 = __objc_msgSend_225Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_initWithLong_1 = _registerName1("initWithLong:"); - ffi.Pointer _objc_msgSend_226( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedInt, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_225 = + __objc_msgSend_225Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_initWithLong_1 = objc.registerName("initWithLong:"); + ffi.Pointer _objc_msgSend_226( + ffi.Pointer obj, + ffi.Pointer sel, int value, ) { - return __objc_msgSend_226( - obj, - sel, - value, - ); + return __objc_msgSend_226(obj, sel, value); } late final __objc_msgSend_226Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Long)>>('objc_msgSend'); - late final __objc_msgSend_226 = __objc_msgSend_226Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_initWithUnsignedLong_1 = - _registerName1("initWithUnsignedLong:"); - ffi.Pointer _objc_msgSend_227( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Long, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_226 = + __objc_msgSend_226Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_initWithUnsignedLong_1 = objc.registerName( + "initWithUnsignedLong:", + ); + ffi.Pointer _objc_msgSend_227( + ffi.Pointer obj, + ffi.Pointer sel, int value, ) { - return __objc_msgSend_227( - obj, - sel, - value, - ); + return __objc_msgSend_227(obj, sel, value); } late final __objc_msgSend_227Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.UnsignedLong)>>('objc_msgSend'); - late final __objc_msgSend_227 = __objc_msgSend_227Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_initWithLongLong_1 = _registerName1("initWithLongLong:"); - ffi.Pointer _objc_msgSend_228( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_227 = + __objc_msgSend_227Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_initWithLongLong_1 = objc.registerName("initWithLongLong:"); + ffi.Pointer _objc_msgSend_228( + ffi.Pointer obj, + ffi.Pointer sel, int value, ) { - return __objc_msgSend_228( - obj, - sel, - value, - ); + return __objc_msgSend_228(obj, sel, value); } late final __objc_msgSend_228Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.LongLong)>>('objc_msgSend'); - late final __objc_msgSend_228 = __objc_msgSend_228Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_initWithUnsignedLongLong_1 = - _registerName1("initWithUnsignedLongLong:"); - ffi.Pointer _objc_msgSend_229( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.LongLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_228 = + __objc_msgSend_228Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_initWithUnsignedLongLong_1 = objc.registerName( + "initWithUnsignedLongLong:", + ); + ffi.Pointer _objc_msgSend_229( + ffi.Pointer obj, + ffi.Pointer sel, int value, ) { - return __objc_msgSend_229( - obj, - sel, - value, - ); + return __objc_msgSend_229(obj, sel, value); } late final __objc_msgSend_229Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.UnsignedLongLong)>>('objc_msgSend'); - late final __objc_msgSend_229 = __objc_msgSend_229Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_initWithFloat_1 = _registerName1("initWithFloat:"); - ffi.Pointer _objc_msgSend_230( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLongLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_229 = + __objc_msgSend_229Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_initWithFloat_1 = objc.registerName("initWithFloat:"); + ffi.Pointer _objc_msgSend_230( + ffi.Pointer obj, + ffi.Pointer sel, double value, ) { - return __objc_msgSend_230( - obj, - sel, - value, - ); + return __objc_msgSend_230(obj, sel, value); } late final __objc_msgSend_230Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Float)>>('objc_msgSend'); - late final __objc_msgSend_230 = __objc_msgSend_230Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer, double)>(); - - late final _sel_initWithDouble_1 = _registerName1("initWithDouble:"); - ffi.Pointer _objc_msgSend_231( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Float, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_230 = + __objc_msgSend_230Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + double, + ) + >(); + + late final _sel_initWithDouble_1 = objc.registerName("initWithDouble:"); + ffi.Pointer _objc_msgSend_231( + ffi.Pointer obj, + ffi.Pointer sel, double value, ) { - return __objc_msgSend_231( - obj, - sel, - value, - ); + return __objc_msgSend_231(obj, sel, value); } late final __objc_msgSend_231Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Double)>>('objc_msgSend'); - late final __objc_msgSend_231 = __objc_msgSend_231Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer, double)>(); - - late final _sel_initWithBool_1 = _registerName1("initWithBool:"); - ffi.Pointer _objc_msgSend_232( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Double, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_231 = + __objc_msgSend_231Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + double, + ) + >(); + + late final _sel_initWithBool_1 = objc.registerName("initWithBool:"); + ffi.Pointer _objc_msgSend_232( + ffi.Pointer obj, + ffi.Pointer sel, bool value, ) { - return __objc_msgSend_232( - obj, - sel, - value, - ); + return __objc_msgSend_232(obj, sel, value); } late final __objc_msgSend_232Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Bool)>>('objc_msgSend'); - late final __objc_msgSend_232 = __objc_msgSend_232Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer, bool)>(); - - late final _sel_initWithInteger_1 = _registerName1("initWithInteger:"); - late final _sel_initWithUnsignedInteger_1 = - _registerName1("initWithUnsignedInteger:"); - late final _sel_charValue1 = _registerName1("charValue"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_232 = + __objc_msgSend_232Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + bool, + ) + >(); + + late final _sel_initWithInteger_1 = objc.registerName("initWithInteger:"); + late final _sel_initWithUnsignedInteger_1 = objc.registerName( + "initWithUnsignedInteger:", + ); + late final _sel_charValue1 = objc.registerName("charValue"); int _objc_msgSend_233( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_233( - obj, - sel, - ); + return __objc_msgSend_233(obj, sel); } late final __objc_msgSend_233Ptr = _lookup< - ffi.NativeFunction< - ffi.Char Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_233 = __objc_msgSend_233Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Char Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_233 = + __objc_msgSend_233Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); - late final _sel_unsignedCharValue1 = _registerName1("unsignedCharValue"); + late final _sel_unsignedCharValue1 = objc.registerName("unsignedCharValue"); int _objc_msgSend_234( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_234( - obj, - sel, - ); + return __objc_msgSend_234(obj, sel); } late final __objc_msgSend_234Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedChar Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_234 = __objc_msgSend_234Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.UnsignedChar Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_234 = + __objc_msgSend_234Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); - late final _sel_shortValue1 = _registerName1("shortValue"); + late final _sel_shortValue1 = objc.registerName("shortValue"); int _objc_msgSend_235( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_235( - obj, - sel, - ); + return __objc_msgSend_235(obj, sel); } late final __objc_msgSend_235Ptr = _lookup< - ffi.NativeFunction< - ffi.Short Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_235 = __objc_msgSend_235Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Short Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_235 = + __objc_msgSend_235Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); - late final _sel_unsignedShortValue1 = _registerName1("unsignedShortValue"); + late final _sel_unsignedShortValue1 = objc.registerName("unsignedShortValue"); int _objc_msgSend_236( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_236( - obj, - sel, - ); + return __objc_msgSend_236(obj, sel); } late final __objc_msgSend_236Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedShort Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_236 = __objc_msgSend_236Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.UnsignedShort Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_236 = + __objc_msgSend_236Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); - late final _sel_intValue1 = _registerName1("intValue"); + late final _sel_intValue1 = objc.registerName("intValue"); int _objc_msgSend_237( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_237( - obj, - sel, - ); + return __objc_msgSend_237(obj, sel); } late final __objc_msgSend_237Ptr = _lookup< - ffi.NativeFunction< - ffi.Int Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_237 = __objc_msgSend_237Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer)>(); - - late final _sel_unsignedIntValue1 = _registerName1("unsignedIntValue"); - late final _sel_longValue1 = _registerName1("longValue"); - late final _sel_unsignedLongValue1 = _registerName1("unsignedLongValue"); - late final _sel_longLongValue1 = _registerName1("longLongValue"); + ffi.NativeFunction< + ffi.Int Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_237 = + __objc_msgSend_237Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_unsignedIntValue1 = objc.registerName("unsignedIntValue"); + late final _sel_longValue1 = objc.registerName("longValue"); + late final _sel_unsignedLongValue1 = objc.registerName("unsignedLongValue"); + late final _sel_longLongValue1 = objc.registerName("longLongValue"); int _objc_msgSend_238( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_238( - obj, - sel, - ); + return __objc_msgSend_238(obj, sel); } late final __objc_msgSend_238Ptr = _lookup< - ffi.NativeFunction< - ffi.LongLong Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_238 = __objc_msgSend_238Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer)>(); - - late final _sel_unsignedLongLongValue1 = - _registerName1("unsignedLongLongValue"); - late final _sel_floatValue1 = _registerName1("floatValue"); + ffi.NativeFunction< + ffi.LongLong Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_238 = + __objc_msgSend_238Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_unsignedLongLongValue1 = objc.registerName( + "unsignedLongLongValue", + ); + late final _sel_floatValue1 = objc.registerName("floatValue"); double _objc_msgSend_239( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_239( - obj, - sel, - ); + return __objc_msgSend_239(obj, sel); } late final __objc_msgSend_239Ptr = _lookup< - ffi.NativeFunction< - ffi.Float Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_239 = __objc_msgSend_239Ptr.asFunction< - double Function(ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Float Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_239 = + __objc_msgSend_239Ptr + .asFunction< + double Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); double _objc_msgSend_239_fpret( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_239_fpret( - obj, - sel, - ); + return __objc_msgSend_239_fpret(obj, sel); } late final __objc_msgSend_239_fpretPtr = _lookup< - ffi.NativeFunction< - ffi.Float Function(ffi.Pointer, - ffi.Pointer)>>('objc_msgSend_fpret'); - late final __objc_msgSend_239_fpret = __objc_msgSend_239_fpretPtr.asFunction< - double Function(ffi.Pointer, ffi.Pointer)>(); - - late final _sel_doubleValue1 = _registerName1("doubleValue"); - late final _sel_boolValue1 = _registerName1("boolValue"); - late final _sel_integerValue1 = _registerName1("integerValue"); - late final _sel_unsignedIntegerValue1 = - _registerName1("unsignedIntegerValue"); - late final _sel_stringValue1 = _registerName1("stringValue"); + ffi.NativeFunction< + ffi.Float Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend_fpret'); + late final __objc_msgSend_239_fpret = + __objc_msgSend_239_fpretPtr + .asFunction< + double Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_doubleValue1 = objc.registerName("doubleValue"); + late final _sel_boolValue1 = objc.registerName("boolValue"); + late final _sel_integerValue1 = objc.registerName("integerValue"); + late final _sel_unsignedIntegerValue1 = objc.registerName( + "unsignedIntegerValue", + ); + late final _sel_stringValue1 = objc.registerName("stringValue"); int _objc_msgSend_240( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer otherNumber, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer otherNumber, ) { - return __objc_msgSend_240( - obj, - sel, - otherNumber, - ); + return __objc_msgSend_240(obj, sel, otherNumber); } late final __objc_msgSend_240Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_240 = __objc_msgSend_240Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_isEqualToNumber_1 = _registerName1("isEqualToNumber:"); + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_240 = + __objc_msgSend_240Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_isEqualToNumber_1 = objc.registerName("isEqualToNumber:"); bool _objc_msgSend_241( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer number, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer number, ) { - return __objc_msgSend_241( - obj, - sel, - number, - ); + return __objc_msgSend_241(obj, sel, number); } late final __objc_msgSend_241Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_241 = __objc_msgSend_241Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_numberWithChar_1 = _registerName1("numberWithChar:"); - late final _sel_numberWithUnsignedChar_1 = - _registerName1("numberWithUnsignedChar:"); - late final _sel_numberWithShort_1 = _registerName1("numberWithShort:"); - late final _sel_numberWithUnsignedShort_1 = - _registerName1("numberWithUnsignedShort:"); - late final _sel_numberWithInt_1 = _registerName1("numberWithInt:"); - late final _sel_numberWithUnsignedInt_1 = - _registerName1("numberWithUnsignedInt:"); - late final _sel_numberWithLong_1 = _registerName1("numberWithLong:"); - late final _sel_numberWithUnsignedLong_1 = - _registerName1("numberWithUnsignedLong:"); - late final _sel_numberWithLongLong_1 = _registerName1("numberWithLongLong:"); - late final _sel_numberWithUnsignedLongLong_1 = - _registerName1("numberWithUnsignedLongLong:"); - late final _sel_numberWithFloat_1 = _registerName1("numberWithFloat:"); - late final _sel_numberWithDouble_1 = _registerName1("numberWithDouble:"); - late final _sel_numberWithBool_1 = _registerName1("numberWithBool:"); - late final _sel_numberWithInteger_1 = _registerName1("numberWithInteger:"); - late final _sel_numberWithUnsignedInteger_1 = - _registerName1("numberWithUnsignedInteger:"); - late final _sel_port1 = _registerName1("port"); - late final _sel_user1 = _registerName1("user"); - late final _sel_password1 = _registerName1("password"); - late final _sel_path1 = _registerName1("path"); - late final _sel_fragment1 = _registerName1("fragment"); - late final _sel_parameterString1 = _registerName1("parameterString"); - late final _sel_query1 = _registerName1("query"); - late final _sel_relativePath1 = _registerName1("relativePath"); - late final _sel_hasDirectoryPath1 = _registerName1("hasDirectoryPath"); - late final _sel_getFileSystemRepresentation_maxLength_1 = - _registerName1("getFileSystemRepresentation:maxLength:"); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_241 = + __objc_msgSend_241Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_numberWithChar_1 = objc.registerName("numberWithChar:"); + late final _sel_numberWithUnsignedChar_1 = objc.registerName( + "numberWithUnsignedChar:", + ); + late final _sel_numberWithShort_1 = objc.registerName("numberWithShort:"); + late final _sel_numberWithUnsignedShort_1 = objc.registerName( + "numberWithUnsignedShort:", + ); + late final _sel_numberWithInt_1 = objc.registerName("numberWithInt:"); + late final _sel_numberWithUnsignedInt_1 = objc.registerName( + "numberWithUnsignedInt:", + ); + late final _sel_numberWithLong_1 = objc.registerName("numberWithLong:"); + late final _sel_numberWithUnsignedLong_1 = objc.registerName( + "numberWithUnsignedLong:", + ); + late final _sel_numberWithLongLong_1 = objc.registerName( + "numberWithLongLong:", + ); + late final _sel_numberWithUnsignedLongLong_1 = objc.registerName( + "numberWithUnsignedLongLong:", + ); + late final _sel_numberWithFloat_1 = objc.registerName("numberWithFloat:"); + late final _sel_numberWithDouble_1 = objc.registerName("numberWithDouble:"); + late final _sel_numberWithBool_1 = objc.registerName("numberWithBool:"); + late final _sel_numberWithInteger_1 = objc.registerName("numberWithInteger:"); + late final _sel_numberWithUnsignedInteger_1 = objc.registerName( + "numberWithUnsignedInteger:", + ); + late final _sel_port1 = objc.registerName("port"); + late final _sel_user1 = objc.registerName("user"); + late final _sel_password1 = objc.registerName("password"); + late final _sel_path1 = objc.registerName("path"); + late final _sel_fragment1 = objc.registerName("fragment"); + late final _sel_parameterString1 = objc.registerName("parameterString"); + late final _sel_query1 = objc.registerName("query"); + late final _sel_relativePath1 = objc.registerName("relativePath"); + late final _sel_hasDirectoryPath1 = objc.registerName("hasDirectoryPath"); + late final _sel_getFileSystemRepresentation_maxLength_1 = objc.registerName( + "getFileSystemRepresentation:maxLength:", + ); bool _objc_msgSend_242( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ffi.Pointer buffer, int maxBufferLength, ) { - return __objc_msgSend_242( - obj, - sel, - buffer, - maxBufferLength, - ); + return __objc_msgSend_242(obj, sel, buffer, maxBufferLength); } late final __objc_msgSend_242Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.UnsignedLong)>>('objc_msgSend'); - late final __objc_msgSend_242 = __objc_msgSend_242Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int)>(); - - late final _sel_fileSystemRepresentation1 = - _registerName1("fileSystemRepresentation"); - late final _sel_isFileURL1 = _registerName1("isFileURL"); - late final _sel_standardizedURL1 = _registerName1("standardizedURL"); - late final _sel_isFileReferenceURL1 = _registerName1("isFileReferenceURL"); - late final _sel_fileReferenceURL1 = _registerName1("fileReferenceURL"); - late final _sel_filePathURL1 = _registerName1("filePathURL"); - late final _sel_getResourceValue_forKey_error_1 = - _registerName1("getResourceValue:forKey:error:"); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_242 = + __objc_msgSend_242Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_fileSystemRepresentation1 = objc.registerName( + "fileSystemRepresentation", + ); + late final _sel_isFileURL1 = objc.registerName("isFileURL"); + late final _sel_standardizedURL1 = objc.registerName("standardizedURL"); + late final _sel_isFileReferenceURL1 = objc.registerName("isFileReferenceURL"); + late final _sel_fileReferenceURL1 = objc.registerName("fileReferenceURL"); + late final _sel_filePathURL1 = objc.registerName("filePathURL"); + late final _sel_getResourceValue_forKey_error_1 = objc.registerName( + "getResourceValue:forKey:error:", + ); bool _objc_msgSend_243( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer> value, - ffi.Pointer key, - ffi.Pointer> error, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer> value, + ffi.Pointer key, + ffi.Pointer> error, ) { - return __objc_msgSend_243( - obj, - sel, - value, - key, - error, - ); + return __objc_msgSend_243(obj, sel, value, key, error); } late final __objc_msgSend_243Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_243 = __objc_msgSend_243Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer, - ffi.Pointer>)>(); - - late final _sel_resourceValuesForKeys_error_1 = - _registerName1("resourceValuesForKeys:error:"); - ffi.Pointer _objc_msgSend_244( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer keys, - ffi.Pointer> error, - ) { - return __objc_msgSend_244( - obj, - sel, - keys, - error, - ); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_243 = + __objc_msgSend_243Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer, + ffi.Pointer>, + ) + >(); + + late final _sel_resourceValuesForKeys_error_1 = objc.registerName( + "resourceValuesForKeys:error:", + ); + ffi.Pointer _objc_msgSend_244( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer keys, + ffi.Pointer> error, + ) { + return __objc_msgSend_244(obj, sel, keys, error); } late final __objc_msgSend_244Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_244 = __objc_msgSend_244Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>(); - - late final _sel_setResourceValue_forKey_error_1 = - _registerName1("setResourceValue:forKey:error:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_244 = + __objc_msgSend_244Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + >(); + + late final _sel_setResourceValue_forKey_error_1 = objc.registerName( + "setResourceValue:forKey:error:", + ); bool _objc_msgSend_245( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, - ffi.Pointer key, - ffi.Pointer> error, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value, + ffi.Pointer key, + ffi.Pointer> error, ) { - return __objc_msgSend_245( - obj, - sel, - value, - key, - error, - ); + return __objc_msgSend_245(obj, sel, value, key, error); } late final __objc_msgSend_245Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_245 = __objc_msgSend_245Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>(); - - late final _sel_setResourceValues_error_1 = - _registerName1("setResourceValues:error:"); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_245 = + __objc_msgSend_245Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + >(); + + late final _sel_setResourceValues_error_1 = objc.registerName( + "setResourceValues:error:", + ); bool _objc_msgSend_246( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer keyedValues, - ffi.Pointer> error, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer keyedValues, + ffi.Pointer> error, ) { - return __objc_msgSend_246( - obj, - sel, - keyedValues, - error, - ); + return __objc_msgSend_246(obj, sel, keyedValues, error); } late final __objc_msgSend_246Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_246 = __objc_msgSend_246Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer>)>(); - - late final _sel_removeCachedResourceValueForKey_1 = - _registerName1("removeCachedResourceValueForKey:"); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_246 = + __objc_msgSend_246Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + >(); + + late final _sel_removeCachedResourceValueForKey_1 = objc.registerName( + "removeCachedResourceValueForKey:", + ); void _objc_msgSend_247( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer key, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer key, ) { - return __objc_msgSend_247( - obj, - sel, - key, - ); + return __objc_msgSend_247(obj, sel, key); } late final __objc_msgSend_247Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_247 = __objc_msgSend_247Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_removeAllCachedResourceValues1 = - _registerName1("removeAllCachedResourceValues"); - late final _sel_setTemporaryResourceValue_forKey_1 = - _registerName1("setTemporaryResourceValue:forKey:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_247 = + __objc_msgSend_247Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_removeAllCachedResourceValues1 = objc.registerName( + "removeAllCachedResourceValues", + ); + late final _sel_setTemporaryResourceValue_forKey_1 = objc.registerName( + "setTemporaryResourceValue:forKey:", + ); late final _sel_bookmarkDataWithOptions_includingResourceValuesForKeys_relativeToURL_error_1 = - _registerName1( - "bookmarkDataWithOptions:includingResourceValuesForKeys:relativeToURL:error:"); - ffi.Pointer _objc_msgSend_248( - ffi.Pointer obj, - ffi.Pointer sel, + objc.registerName( + "bookmarkDataWithOptions:includingResourceValuesForKeys:relativeToURL:error:", + ); + ffi.Pointer _objc_msgSend_248( + ffi.Pointer obj, + ffi.Pointer sel, int options, - ffi.Pointer keys, - ffi.Pointer relativeURL, - ffi.Pointer> error, + ffi.Pointer keys, + ffi.Pointer relativeURL, + ffi.Pointer> error, ) { - return __objc_msgSend_248( - obj, - sel, - options, - keys, - relativeURL, - error, - ); + return __objc_msgSend_248(obj, sel, options, keys, relativeURL, error); } late final __objc_msgSend_248Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_248 = __objc_msgSend_248Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>(); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_248 = + __objc_msgSend_248Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + >(); late final _sel_initByResolvingBookmarkData_options_relativeToURL_bookmarkDataIsStale_error_1 = - _registerName1( - "initByResolvingBookmarkData:options:relativeToURL:bookmarkDataIsStale:error:"); + objc.registerName( + "initByResolvingBookmarkData:options:relativeToURL:bookmarkDataIsStale:error:", + ); instancetype _objc_msgSend_249( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer bookmarkData, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer bookmarkData, int options, - ffi.Pointer relativeURL, + ffi.Pointer relativeURL, ffi.Pointer isStale, - ffi.Pointer> error, + ffi.Pointer> error, ) { return __objc_msgSend_249( obj, @@ -6769,67 +8472,79 @@ class SwiftLibrary { } late final __objc_msgSend_249Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_249 = __objc_msgSend_249Ptr.asFunction< + ffi.NativeFunction< instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>(); + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_249 = + __objc_msgSend_249Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + >(); late final _sel_URLByResolvingBookmarkData_options_relativeToURL_bookmarkDataIsStale_error_1 = - _registerName1( - "URLByResolvingBookmarkData:options:relativeToURL:bookmarkDataIsStale:error:"); - late final _sel_resourceValuesForKeys_fromBookmarkData_1 = - _registerName1("resourceValuesForKeys:fromBookmarkData:"); - ffi.Pointer _objc_msgSend_250( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer keys, - ffi.Pointer bookmarkData, - ) { - return __objc_msgSend_250( - obj, - sel, - keys, - bookmarkData, - ); + objc.registerName( + "URLByResolvingBookmarkData:options:relativeToURL:bookmarkDataIsStale:error:", + ); + late final _sel_resourceValuesForKeys_fromBookmarkData_1 = objc.registerName( + "resourceValuesForKeys:fromBookmarkData:", + ); + ffi.Pointer _objc_msgSend_250( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer keys, + ffi.Pointer bookmarkData, + ) { + return __objc_msgSend_250(obj, sel, keys, bookmarkData); } late final __objc_msgSend_250Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_250 = __objc_msgSend_250Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_writeBookmarkData_toURL_options_error_1 = - _registerName1("writeBookmarkData:toURL:options:error:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_250 = + __objc_msgSend_250Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_writeBookmarkData_toURL_options_error_1 = objc.registerName( + "writeBookmarkData:toURL:options:error:", + ); bool _objc_msgSend_251( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer bookmarkData, - ffi.Pointer bookmarkFileURL, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer bookmarkData, + ffi.Pointer bookmarkFileURL, int options, - ffi.Pointer> error, + ffi.Pointer> error, ) { return __objc_msgSend_251( obj, @@ -6842,584 +8557,737 @@ class SwiftLibrary { } late final __objc_msgSend_251Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_251 = __objc_msgSend_251Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>)>(); - - late final _sel_bookmarkDataWithContentsOfURL_error_1 = - _registerName1("bookmarkDataWithContentsOfURL:error:"); - ffi.Pointer _objc_msgSend_252( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer bookmarkFileURL, - ffi.Pointer> error, - ) { - return __objc_msgSend_252( - obj, - sel, - bookmarkFileURL, - error, - ); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_251 = + __objc_msgSend_251Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer>, + ) + >(); + + late final _sel_bookmarkDataWithContentsOfURL_error_1 = objc.registerName( + "bookmarkDataWithContentsOfURL:error:", + ); + ffi.Pointer _objc_msgSend_252( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer bookmarkFileURL, + ffi.Pointer> error, + ) { + return __objc_msgSend_252(obj, sel, bookmarkFileURL, error); } late final __objc_msgSend_252Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_252 = __objc_msgSend_252Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>(); - - late final _sel_URLByResolvingAliasFileAtURL_options_error_1 = - _registerName1("URLByResolvingAliasFileAtURL:options:error:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_252 = + __objc_msgSend_252Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + >(); + + late final _sel_URLByResolvingAliasFileAtURL_options_error_1 = objc + .registerName("URLByResolvingAliasFileAtURL:options:error:"); instancetype _objc_msgSend_253( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer url, int options, - ffi.Pointer> error, + ffi.Pointer> error, ) { - return __objc_msgSend_253( - obj, - sel, - url, - options, - error, - ); + return __objc_msgSend_253(obj, sel, url, options, error); } late final __objc_msgSend_253Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_253 = __objc_msgSend_253Ptr.asFunction< + ffi.NativeFunction< instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>)>(); - - late final _sel_startAccessingSecurityScopedResource1 = - _registerName1("startAccessingSecurityScopedResource"); - late final _sel_stopAccessingSecurityScopedResource1 = - _registerName1("stopAccessingSecurityScopedResource"); - late final _sel_getPromisedItemResourceValue_forKey_error_1 = - _registerName1("getPromisedItemResourceValue:forKey:error:"); - late final _sel_promisedItemResourceValuesForKeys_error_1 = - _registerName1("promisedItemResourceValuesForKeys:error:"); - ffi.Pointer _objc_msgSend_254( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer keys, - ffi.Pointer> error, - ) { - return __objc_msgSend_254( - obj, - sel, - keys, - error, - ); + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_253 = + __objc_msgSend_253Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer>, + ) + >(); + + late final _sel_startAccessingSecurityScopedResource1 = objc.registerName( + "startAccessingSecurityScopedResource", + ); + late final _sel_stopAccessingSecurityScopedResource1 = objc.registerName( + "stopAccessingSecurityScopedResource", + ); + late final _sel_getPromisedItemResourceValue_forKey_error_1 = objc + .registerName("getPromisedItemResourceValue:forKey:error:"); + late final _sel_promisedItemResourceValuesForKeys_error_1 = objc.registerName( + "promisedItemResourceValuesForKeys:error:", + ); + ffi.Pointer _objc_msgSend_254( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer keys, + ffi.Pointer> error, + ) { + return __objc_msgSend_254(obj, sel, keys, error); } late final __objc_msgSend_254Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_254 = __objc_msgSend_254Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>(); - - late final _sel_checkPromisedItemIsReachableAndReturnError_1 = - _registerName1("checkPromisedItemIsReachableAndReturnError:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_254 = + __objc_msgSend_254Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + >(); + + late final _sel_checkPromisedItemIsReachableAndReturnError_1 = objc + .registerName("checkPromisedItemIsReachableAndReturnError:"); bool _objc_msgSend_255( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer> error, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer> error, ) { - return __objc_msgSend_255( - obj, - sel, - error, - ); + return __objc_msgSend_255(obj, sel, error); } late final __objc_msgSend_255Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_255 = __objc_msgSend_255Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer>)>(); - - late final _sel_fileURLWithPathComponents_1 = - _registerName1("fileURLWithPathComponents:"); - ffi.Pointer _objc_msgSend_256( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer components, - ) { - return __objc_msgSend_256( - obj, - sel, - components, - ); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_255 = + __objc_msgSend_255Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + >(); + + late final _sel_fileURLWithPathComponents_1 = objc.registerName( + "fileURLWithPathComponents:", + ); + ffi.Pointer _objc_msgSend_256( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer components, + ) { + return __objc_msgSend_256(obj, sel, components); } late final __objc_msgSend_256Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_256 = __objc_msgSend_256Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_pathComponents1 = _registerName1("pathComponents"); - late final _sel_lastPathComponent1 = _registerName1("lastPathComponent"); - late final _sel_pathExtension1 = _registerName1("pathExtension"); - late final _sel_URLByAppendingPathComponent_1 = - _registerName1("URLByAppendingPathComponent:"); - ffi.Pointer _objc_msgSend_257( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer pathComponent, - ) { - return __objc_msgSend_257( - obj, - sel, - pathComponent, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_256 = + __objc_msgSend_256Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_pathComponents1 = objc.registerName("pathComponents"); + late final _sel_lastPathComponent1 = objc.registerName("lastPathComponent"); + late final _sel_pathExtension1 = objc.registerName("pathExtension"); + late final _sel_URLByAppendingPathComponent_1 = objc.registerName( + "URLByAppendingPathComponent:", + ); + ffi.Pointer _objc_msgSend_257( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer pathComponent, + ) { + return __objc_msgSend_257(obj, sel, pathComponent); } late final __objc_msgSend_257Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_257 = __objc_msgSend_257Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_URLByAppendingPathComponent_isDirectory_1 = - _registerName1("URLByAppendingPathComponent:isDirectory:"); - ffi.Pointer _objc_msgSend_258( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer pathComponent, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_257 = + __objc_msgSend_257Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_URLByAppendingPathComponent_isDirectory_1 = objc.registerName( + "URLByAppendingPathComponent:isDirectory:", + ); + ffi.Pointer _objc_msgSend_258( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer pathComponent, bool isDirectory, ) { - return __objc_msgSend_258( - obj, - sel, - pathComponent, - isDirectory, - ); + return __objc_msgSend_258(obj, sel, pathComponent, isDirectory); } late final __objc_msgSend_258Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Bool)>>('objc_msgSend'); - late final __objc_msgSend_258 = __objc_msgSend_258Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer, bool)>(); - - late final _sel_URLByDeletingLastPathComponent1 = - _registerName1("URLByDeletingLastPathComponent"); - late final _sel_URLByAppendingPathExtension_1 = - _registerName1("URLByAppendingPathExtension:"); - late final _sel_URLByDeletingPathExtension1 = - _registerName1("URLByDeletingPathExtension"); - late final _sel_checkResourceIsReachableAndReturnError_1 = - _registerName1("checkResourceIsReachableAndReturnError:"); - late final _sel_URLByStandardizingPath1 = - _registerName1("URLByStandardizingPath"); - late final _sel_URLByResolvingSymlinksInPath1 = - _registerName1("URLByResolvingSymlinksInPath"); - late final _sel_resourceDataUsingCache_1 = - _registerName1("resourceDataUsingCache:"); - ffi.Pointer _objc_msgSend_259( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_258 = + __objc_msgSend_258Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool, + ) + >(); + + late final _sel_URLByDeletingLastPathComponent1 = objc.registerName( + "URLByDeletingLastPathComponent", + ); + late final _sel_URLByAppendingPathExtension_1 = objc.registerName( + "URLByAppendingPathExtension:", + ); + late final _sel_URLByDeletingPathExtension1 = objc.registerName( + "URLByDeletingPathExtension", + ); + late final _sel_checkResourceIsReachableAndReturnError_1 = objc.registerName( + "checkResourceIsReachableAndReturnError:", + ); + late final _sel_URLByStandardizingPath1 = objc.registerName( + "URLByStandardizingPath", + ); + late final _sel_URLByResolvingSymlinksInPath1 = objc.registerName( + "URLByResolvingSymlinksInPath", + ); + late final _sel_resourceDataUsingCache_1 = objc.registerName( + "resourceDataUsingCache:", + ); + ffi.Pointer _objc_msgSend_259( + ffi.Pointer obj, + ffi.Pointer sel, bool shouldUseCache, ) { - return __objc_msgSend_259( - obj, - sel, - shouldUseCache, - ); + return __objc_msgSend_259(obj, sel, shouldUseCache); } late final __objc_msgSend_259Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Bool)>>('objc_msgSend'); - late final __objc_msgSend_259 = __objc_msgSend_259Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer, bool)>(); - - late final _sel_loadResourceDataNotifyingClient_usingCache_1 = - _registerName1("loadResourceDataNotifyingClient:usingCache:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_259 = + __objc_msgSend_259Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + bool, + ) + >(); + + late final _sel_loadResourceDataNotifyingClient_usingCache_1 = objc + .registerName("loadResourceDataNotifyingClient:usingCache:"); void _objc_msgSend_260( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer client, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer client, bool shouldUseCache, ) { - return __objc_msgSend_260( - obj, - sel, - client, - shouldUseCache, - ); + return __objc_msgSend_260(obj, sel, client, shouldUseCache); } late final __objc_msgSend_260Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Bool)>>('objc_msgSend'); - late final __objc_msgSend_260 = __objc_msgSend_260Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, bool)>(); - - late final _sel_propertyForKey_1 = _registerName1("propertyForKey:"); - late final _sel_setResourceData_1 = _registerName1("setResourceData:"); - late final _sel_setProperty_forKey_1 = _registerName1("setProperty:forKey:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_260 = + __objc_msgSend_260Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool, + ) + >(); + + late final _sel_propertyForKey_1 = objc.registerName("propertyForKey:"); + late final _sel_setResourceData_1 = objc.registerName("setResourceData:"); + late final _sel_setProperty_forKey_1 = objc.registerName( + "setProperty:forKey:", + ); bool _objc_msgSend_261( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer property, - ffi.Pointer propertyKey, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer property, + ffi.Pointer propertyKey, ) { - return __objc_msgSend_261( - obj, - sel, - property, - propertyKey, - ); + return __objc_msgSend_261(obj, sel, property, propertyKey); } late final __objc_msgSend_261Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_261 = __objc_msgSend_261Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _class_NSURLHandle1 = _getClass1("NSURLHandle"); - late final _sel_registerURLHandleClass_1 = - _registerName1("registerURLHandleClass:"); - late final _sel_URLHandleClassForURL_1 = - _registerName1("URLHandleClassForURL:"); - ffi.Pointer _objc_msgSend_262( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer anURL, - ) { - return __objc_msgSend_262( - obj, - sel, - anURL, - ); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_261 = + __objc_msgSend_261Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _class_NSURLHandle1 = objc.getClass("NSURLHandle"); + late final _sel_registerURLHandleClass_1 = objc.registerName( + "registerURLHandleClass:", + ); + late final _sel_URLHandleClassForURL_1 = objc.registerName( + "URLHandleClassForURL:", + ); + ffi.Pointer _objc_msgSend_262( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer anURL, + ) { + return __objc_msgSend_262(obj, sel, anURL); } late final __objc_msgSend_262Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_262 = __objc_msgSend_262Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_status1 = _registerName1("status"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_262 = + __objc_msgSend_262Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_status1 = objc.registerName("status"); int _objc_msgSend_263( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_263( - obj, - sel, - ); + return __objc_msgSend_263(obj, sel); } late final __objc_msgSend_263Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_263 = __objc_msgSend_263Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer)>(); - - late final _sel_failureReason1 = _registerName1("failureReason"); - late final _sel_addClient_1 = _registerName1("addClient:"); - late final _sel_removeClient_1 = _registerName1("removeClient:"); - late final _sel_loadInBackground1 = _registerName1("loadInBackground"); - late final _sel_cancelLoadInBackground1 = - _registerName1("cancelLoadInBackground"); - late final _sel_resourceData1 = _registerName1("resourceData"); - late final _sel_availableResourceData1 = - _registerName1("availableResourceData"); - late final _sel_expectedResourceDataSize1 = - _registerName1("expectedResourceDataSize"); - late final _sel_flushCachedData1 = _registerName1("flushCachedData"); - late final _sel_backgroundLoadDidFailWithReason_1 = - _registerName1("backgroundLoadDidFailWithReason:"); - late final _sel_didLoadBytes_loadComplete_1 = - _registerName1("didLoadBytes:loadComplete:"); + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_263 = + __objc_msgSend_263Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_failureReason1 = objc.registerName("failureReason"); + late final _sel_addClient_1 = objc.registerName("addClient:"); + late final _sel_removeClient_1 = objc.registerName("removeClient:"); + late final _sel_loadInBackground1 = objc.registerName("loadInBackground"); + late final _sel_cancelLoadInBackground1 = objc.registerName( + "cancelLoadInBackground", + ); + late final _sel_resourceData1 = objc.registerName("resourceData"); + late final _sel_availableResourceData1 = objc.registerName( + "availableResourceData", + ); + late final _sel_expectedResourceDataSize1 = objc.registerName( + "expectedResourceDataSize", + ); + late final _sel_flushCachedData1 = objc.registerName("flushCachedData"); + late final _sel_backgroundLoadDidFailWithReason_1 = objc.registerName( + "backgroundLoadDidFailWithReason:", + ); + late final _sel_didLoadBytes_loadComplete_1 = objc.registerName( + "didLoadBytes:loadComplete:", + ); void _objc_msgSend_264( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer newBytes, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer newBytes, bool yorn, ) { - return __objc_msgSend_264( - obj, - sel, - newBytes, - yorn, - ); + return __objc_msgSend_264(obj, sel, newBytes, yorn); } late final __objc_msgSend_264Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Bool)>>('objc_msgSend'); - late final __objc_msgSend_264 = __objc_msgSend_264Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, bool)>(); - - late final _sel_canInitWithURL_1 = _registerName1("canInitWithURL:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_264 = + __objc_msgSend_264Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool, + ) + >(); + + late final _sel_canInitWithURL_1 = objc.registerName("canInitWithURL:"); bool _objc_msgSend_265( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer anURL, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer anURL, ) { - return __objc_msgSend_265( - obj, - sel, - anURL, - ); + return __objc_msgSend_265(obj, sel, anURL); } late final __objc_msgSend_265Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_265 = __objc_msgSend_265Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_cachedHandleForURL_1 = _registerName1("cachedHandleForURL:"); - ffi.Pointer _objc_msgSend_266( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer anURL, - ) { - return __objc_msgSend_266( - obj, - sel, - anURL, - ); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_265 = + __objc_msgSend_265Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_cachedHandleForURL_1 = objc.registerName( + "cachedHandleForURL:", + ); + ffi.Pointer _objc_msgSend_266( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer anURL, + ) { + return __objc_msgSend_266(obj, sel, anURL); } late final __objc_msgSend_266Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_266 = __objc_msgSend_266Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_initWithURL_cached_1 = _registerName1("initWithURL:cached:"); - ffi.Pointer _objc_msgSend_267( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer anURL, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_266 = + __objc_msgSend_266Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_initWithURL_cached_1 = objc.registerName( + "initWithURL:cached:", + ); + ffi.Pointer _objc_msgSend_267( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer anURL, bool willCache, ) { - return __objc_msgSend_267( - obj, - sel, - anURL, - willCache, - ); + return __objc_msgSend_267(obj, sel, anURL, willCache); } late final __objc_msgSend_267Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Bool)>>('objc_msgSend'); - late final __objc_msgSend_267 = __objc_msgSend_267Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer, bool)>(); - - late final _sel_propertyForKeyIfAvailable_1 = - _registerName1("propertyForKeyIfAvailable:"); - late final _sel_writeProperty_forKey_1 = - _registerName1("writeProperty:forKey:"); - late final _sel_writeData_1 = _registerName1("writeData:"); - late final _sel_loadInForeground1 = _registerName1("loadInForeground"); - late final _sel_beginLoadInBackground1 = - _registerName1("beginLoadInBackground"); - late final _sel_endLoadInBackground1 = _registerName1("endLoadInBackground"); - late final _sel_URLHandleUsingCache_1 = - _registerName1("URLHandleUsingCache:"); - ffi.Pointer _objc_msgSend_268( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_267 = + __objc_msgSend_267Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool, + ) + >(); + + late final _sel_propertyForKeyIfAvailable_1 = objc.registerName( + "propertyForKeyIfAvailable:", + ); + late final _sel_writeProperty_forKey_1 = objc.registerName( + "writeProperty:forKey:", + ); + late final _sel_writeData_1 = objc.registerName("writeData:"); + late final _sel_loadInForeground1 = objc.registerName("loadInForeground"); + late final _sel_beginLoadInBackground1 = objc.registerName( + "beginLoadInBackground", + ); + late final _sel_endLoadInBackground1 = objc.registerName( + "endLoadInBackground", + ); + late final _sel_URLHandleUsingCache_1 = objc.registerName( + "URLHandleUsingCache:", + ); + ffi.Pointer _objc_msgSend_268( + ffi.Pointer obj, + ffi.Pointer sel, bool shouldUseCache, ) { - return __objc_msgSend_268( - obj, - sel, - shouldUseCache, - ); + return __objc_msgSend_268(obj, sel, shouldUseCache); } late final __objc_msgSend_268Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Bool)>>('objc_msgSend'); - late final __objc_msgSend_268 = __objc_msgSend_268Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer, bool)>(); - - late final _sel_writeToFile_options_error_1 = - _registerName1("writeToFile:options:error:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_268 = + __objc_msgSend_268Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + bool, + ) + >(); + + late final _sel_writeToFile_options_error_1 = objc.registerName( + "writeToFile:options:error:", + ); bool _objc_msgSend_269( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer path, int writeOptionsMask, - ffi.Pointer> errorPtr, + ffi.Pointer> errorPtr, ) { - return __objc_msgSend_269( - obj, - sel, - path, - writeOptionsMask, - errorPtr, - ); + return __objc_msgSend_269(obj, sel, path, writeOptionsMask, errorPtr); } late final __objc_msgSend_269Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_269 = __objc_msgSend_269Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>)>(); - - late final _sel_writeToURL_options_error_1 = - _registerName1("writeToURL:options:error:"); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_269 = + __objc_msgSend_269Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer>, + ) + >(); + + late final _sel_writeToURL_options_error_1 = objc.registerName( + "writeToURL:options:error:", + ); bool _objc_msgSend_270( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer url, int writeOptionsMask, - ffi.Pointer> errorPtr, + ffi.Pointer> errorPtr, ) { - return __objc_msgSend_270( - obj, - sel, - url, - writeOptionsMask, - errorPtr, - ); + return __objc_msgSend_270(obj, sel, url, writeOptionsMask, errorPtr); } late final __objc_msgSend_270Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_270 = __objc_msgSend_270Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>)>(); - - late final _sel_rangeOfData_options_range_1 = - _registerName1("rangeOfData:options:range:"); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_270 = + __objc_msgSend_270Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer>, + ) + >(); + + late final _sel_rangeOfData_options_range_1 = objc.registerName( + "rangeOfData:options:range:", + ); _NSRange _objc_msgSend_271( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer dataToFind, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer dataToFind, int mask, _NSRange searchRange, ) { - return __objc_msgSend_271( - obj, - sel, - dataToFind, - mask, - searchRange, - ); + return __objc_msgSend_271(obj, sel, dataToFind, mask, searchRange); } late final __objc_msgSend_271Ptr = _lookup< - ffi.NativeFunction< - _NSRange Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Int32, _NSRange)>>('objc_msgSend'); - late final __objc_msgSend_271 = __objc_msgSend_271Ptr.asFunction< - _NSRange Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int, _NSRange)>(); + ffi.NativeFunction< + _NSRange Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + _NSRange, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_271 = + __objc_msgSend_271Ptr + .asFunction< + _NSRange Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + _NSRange, + ) + >(); void _objc_msgSend_271_stret( ffi.Pointer<_NSRange> stret, - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer dataToFind, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer dataToFind, int mask, _NSRange searchRange, ) { @@ -7434,1813 +9302,2325 @@ class SwiftLibrary { } late final __objc_msgSend_271_stretPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer<_NSRange>, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + _NSRange, + ) + > + >('objc_msgSend_stret'); + late final __objc_msgSend_271_stret = + __objc_msgSend_271_stretPtr + .asFunction< + void Function( ffi.Pointer<_NSRange>, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - _NSRange)>>('objc_msgSend_stret'); - late final __objc_msgSend_271_stret = __objc_msgSend_271_stretPtr.asFunction< - void Function(ffi.Pointer<_NSRange>, ffi.Pointer, - ffi.Pointer, ffi.Pointer, int, _NSRange)>(); - - late final _sel_enumerateByteRangesUsingBlock_1 = - _registerName1("enumerateByteRangesUsingBlock:"); + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + _NSRange, + ) + >(); + + late final _sel_enumerateByteRangesUsingBlock_1 = objc.registerName( + "enumerateByteRangesUsingBlock:", + ); void _objc_msgSend_272( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer<_ObjCBlock> block, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer block, ) { - return __objc_msgSend_272( - obj, - sel, - block, - ); + return __objc_msgSend_272(obj, sel, block); } late final __objc_msgSend_272Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_272 = __objc_msgSend_272Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_dataWithBytes_length_1 = - _registerName1("dataWithBytes:length:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_272 = + __objc_msgSend_272Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_dataWithBytes_length_1 = objc.registerName( + "dataWithBytes:length:", + ); instancetype _objc_msgSend_273( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ffi.Pointer bytes, int length, ) { - return __objc_msgSend_273( - obj, - sel, - bytes, - length, - ); + return __objc_msgSend_273(obj, sel, bytes, length); } late final __objc_msgSend_273Ptr = _lookup< - ffi.NativeFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.UnsignedLong)>>('objc_msgSend'); - late final __objc_msgSend_273 = __objc_msgSend_273Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int)>(); - - late final _sel_dataWithBytesNoCopy_length_1 = - _registerName1("dataWithBytesNoCopy:length:"); - late final _sel_dataWithBytesNoCopy_length_freeWhenDone_1 = - _registerName1("dataWithBytesNoCopy:length:freeWhenDone:"); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_273 = + __objc_msgSend_273Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_dataWithBytesNoCopy_length_1 = objc.registerName( + "dataWithBytesNoCopy:length:", + ); + late final _sel_dataWithBytesNoCopy_length_freeWhenDone_1 = objc.registerName( + "dataWithBytesNoCopy:length:freeWhenDone:", + ); instancetype _objc_msgSend_274( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ffi.Pointer bytes, int length, bool b, ) { - return __objc_msgSend_274( - obj, - sel, - bytes, - length, - b, - ); + return __objc_msgSend_274(obj, sel, bytes, length, b); } late final __objc_msgSend_274Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Bool, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_274 = + __objc_msgSend_274Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, - ffi.Bool)>>('objc_msgSend'); - late final __objc_msgSend_274 = __objc_msgSend_274Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int, bool)>(); - - late final _sel_dataWithContentsOfFile_options_error_1 = - _registerName1("dataWithContentsOfFile:options:error:"); + int, + bool, + ) + >(); + + late final _sel_dataWithContentsOfFile_options_error_1 = objc.registerName( + "dataWithContentsOfFile:options:error:", + ); instancetype _objc_msgSend_275( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer path, int readOptionsMask, - ffi.Pointer> errorPtr, + ffi.Pointer> errorPtr, ) { - return __objc_msgSend_275( - obj, - sel, - path, - readOptionsMask, - errorPtr, - ); + return __objc_msgSend_275(obj, sel, path, readOptionsMask, errorPtr); } late final __objc_msgSend_275Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_275 = __objc_msgSend_275Ptr.asFunction< + ffi.NativeFunction< instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>)>(); - - late final _sel_dataWithContentsOfURL_options_error_1 = - _registerName1("dataWithContentsOfURL:options:error:"); + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_275 = + __objc_msgSend_275Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer>, + ) + >(); + + late final _sel_dataWithContentsOfURL_options_error_1 = objc.registerName( + "dataWithContentsOfURL:options:error:", + ); instancetype _objc_msgSend_276( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer url, int readOptionsMask, - ffi.Pointer> errorPtr, + ffi.Pointer> errorPtr, ) { - return __objc_msgSend_276( - obj, - sel, - url, - readOptionsMask, - errorPtr, - ); + return __objc_msgSend_276(obj, sel, url, readOptionsMask, errorPtr); } late final __objc_msgSend_276Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_276 = __objc_msgSend_276Ptr.asFunction< + ffi.NativeFunction< instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>)>(); - - late final _sel_dataWithContentsOfFile_1 = - _registerName1("dataWithContentsOfFile:"); - late final _sel_dataWithContentsOfURL_1 = - _registerName1("dataWithContentsOfURL:"); + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_276 = + __objc_msgSend_276Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer>, + ) + >(); + + late final _sel_dataWithContentsOfFile_1 = objc.registerName( + "dataWithContentsOfFile:", + ); + late final _sel_dataWithContentsOfURL_1 = objc.registerName( + "dataWithContentsOfURL:", + ); instancetype _objc_msgSend_277( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer url, ) { - return __objc_msgSend_277( - obj, - sel, - url, - ); + return __objc_msgSend_277(obj, sel, url); } late final __objc_msgSend_277Ptr = _lookup< - ffi.NativeFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_277 = __objc_msgSend_277Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_initWithBytes_length_1 = - _registerName1("initWithBytes:length:"); - late final _sel_initWithBytesNoCopy_length_1 = - _registerName1("initWithBytesNoCopy:length:"); - late final _sel_initWithBytesNoCopy_length_freeWhenDone_1 = - _registerName1("initWithBytesNoCopy:length:freeWhenDone:"); - late final _sel_initWithBytesNoCopy_length_deallocator_1 = - _registerName1("initWithBytesNoCopy:length:deallocator:"); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_277 = + __objc_msgSend_277Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_initWithBytes_length_1 = objc.registerName( + "initWithBytes:length:", + ); + late final _sel_initWithBytesNoCopy_length_1 = objc.registerName( + "initWithBytesNoCopy:length:", + ); + late final _sel_initWithBytesNoCopy_length_freeWhenDone_1 = objc.registerName( + "initWithBytesNoCopy:length:freeWhenDone:", + ); + late final _sel_initWithBytesNoCopy_length_deallocator_1 = objc.registerName( + "initWithBytesNoCopy:length:deallocator:", + ); instancetype _objc_msgSend_278( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ffi.Pointer bytes, int length, - ffi.Pointer<_ObjCBlock> deallocator, + ffi.Pointer deallocator, ) { - return __objc_msgSend_278( - obj, - sel, - bytes, - length, - deallocator, - ); + return __objc_msgSend_278(obj, sel, bytes, length, deallocator); } late final __objc_msgSend_278Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_278 = + __objc_msgSend_278Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_278 = __objc_msgSend_278Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int, ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_initWithContentsOfFile_options_error_1 = - _registerName1("initWithContentsOfFile:options:error:"); - late final _sel_initWithContentsOfURL_options_error_1 = - _registerName1("initWithContentsOfURL:options:error:"); - late final _sel_initWithData_1 = _registerName1("initWithData:"); + int, + ffi.Pointer, + ) + >(); + + late final _sel_initWithContentsOfFile_options_error_1 = objc.registerName( + "initWithContentsOfFile:options:error:", + ); + late final _sel_initWithContentsOfURL_options_error_1 = objc.registerName( + "initWithContentsOfURL:options:error:", + ); + late final _sel_initWithData_1 = objc.registerName("initWithData:"); instancetype _objc_msgSend_279( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer data, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer data, ) { - return __objc_msgSend_279( - obj, - sel, - data, - ); + return __objc_msgSend_279(obj, sel, data); } late final __objc_msgSend_279Ptr = _lookup< - ffi.NativeFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_279 = __objc_msgSend_279Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_dataWithData_1 = _registerName1("dataWithData:"); - late final _sel_initWithBase64EncodedString_options_1 = - _registerName1("initWithBase64EncodedString:options:"); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_279 = + __objc_msgSend_279Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_dataWithData_1 = objc.registerName("dataWithData:"); + late final _sel_initWithBase64EncodedString_options_1 = objc.registerName( + "initWithBase64EncodedString:options:", + ); instancetype _objc_msgSend_280( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer base64String, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer base64String, int options, ) { - return __objc_msgSend_280( - obj, - sel, - base64String, - options, - ); + return __objc_msgSend_280(obj, sel, base64String, options); } late final __objc_msgSend_280Ptr = _lookup< - ffi.NativeFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_280 = __objc_msgSend_280Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int)>(); - - late final _sel_base64EncodedStringWithOptions_1 = - _registerName1("base64EncodedStringWithOptions:"); - ffi.Pointer _objc_msgSend_281( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_280 = + __objc_msgSend_280Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_base64EncodedStringWithOptions_1 = objc.registerName( + "base64EncodedStringWithOptions:", + ); + ffi.Pointer _objc_msgSend_281( + ffi.Pointer obj, + ffi.Pointer sel, int options, ) { - return __objc_msgSend_281( - obj, - sel, - options, - ); + return __objc_msgSend_281(obj, sel, options); } late final __objc_msgSend_281Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_281 = __objc_msgSend_281Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_initWithBase64EncodedData_options_1 = - _registerName1("initWithBase64EncodedData:options:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_281 = + __objc_msgSend_281Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_initWithBase64EncodedData_options_1 = objc.registerName( + "initWithBase64EncodedData:options:", + ); instancetype _objc_msgSend_282( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer base64Data, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer base64Data, int options, ) { - return __objc_msgSend_282( - obj, - sel, - base64Data, - options, - ); + return __objc_msgSend_282(obj, sel, base64Data, options); } late final __objc_msgSend_282Ptr = _lookup< - ffi.NativeFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_282 = __objc_msgSend_282Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int)>(); - - late final _sel_base64EncodedDataWithOptions_1 = - _registerName1("base64EncodedDataWithOptions:"); - ffi.Pointer _objc_msgSend_283( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_282 = + __objc_msgSend_282Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_base64EncodedDataWithOptions_1 = objc.registerName( + "base64EncodedDataWithOptions:", + ); + ffi.Pointer _objc_msgSend_283( + ffi.Pointer obj, + ffi.Pointer sel, int options, ) { - return __objc_msgSend_283( - obj, - sel, - options, - ); + return __objc_msgSend_283(obj, sel, options); } late final __objc_msgSend_283Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_283 = __objc_msgSend_283Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_decompressedDataUsingAlgorithm_error_1 = - _registerName1("decompressedDataUsingAlgorithm:error:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_283 = + __objc_msgSend_283Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_decompressedDataUsingAlgorithm_error_1 = objc.registerName( + "decompressedDataUsingAlgorithm:error:", + ); instancetype _objc_msgSend_284( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int algorithm, - ffi.Pointer> error, + ffi.Pointer> error, ) { - return __objc_msgSend_284( - obj, - sel, - algorithm, - error, - ); + return __objc_msgSend_284(obj, sel, algorithm, error); } late final __objc_msgSend_284Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_284 = __objc_msgSend_284Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, int, - ffi.Pointer>)>(); - - late final _sel_compressedDataUsingAlgorithm_error_1 = - _registerName1("compressedDataUsingAlgorithm:error:"); - late final _sel_getBytes_1 = _registerName1("getBytes:"); - late final _sel_dataWithContentsOfMappedFile_1 = - _registerName1("dataWithContentsOfMappedFile:"); - late final _sel_initWithContentsOfMappedFile_1 = - _registerName1("initWithContentsOfMappedFile:"); - late final _sel_initWithBase64Encoding_1 = - _registerName1("initWithBase64Encoding:"); - late final _sel_base64Encoding1 = _registerName1("base64Encoding"); - late final _sel_encodeDataObject_1 = _registerName1("encodeDataObject:"); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_284 = + __objc_msgSend_284Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer>, + ) + >(); + + late final _sel_compressedDataUsingAlgorithm_error_1 = objc.registerName( + "compressedDataUsingAlgorithm:error:", + ); + late final _sel_getBytes_1 = objc.registerName("getBytes:"); + late final _sel_dataWithContentsOfMappedFile_1 = objc.registerName( + "dataWithContentsOfMappedFile:", + ); + late final _sel_initWithContentsOfMappedFile_1 = objc.registerName( + "initWithContentsOfMappedFile:", + ); + late final _sel_initWithBase64Encoding_1 = objc.registerName( + "initWithBase64Encoding:", + ); + late final _sel_base64Encoding1 = objc.registerName("base64Encoding"); + late final _sel_encodeDataObject_1 = objc.registerName("encodeDataObject:"); void _objc_msgSend_285( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer data, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer data, ) { - return __objc_msgSend_285( - obj, - sel, - data, - ); + return __objc_msgSend_285(obj, sel, data); } late final __objc_msgSend_285Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_285 = __objc_msgSend_285Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_decodeDataObject1 = _registerName1("decodeDataObject"); - ffi.Pointer _objc_msgSend_286( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_286( - obj, - sel, - ); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_285 = + __objc_msgSend_285Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_decodeDataObject1 = objc.registerName("decodeDataObject"); + ffi.Pointer _objc_msgSend_286( + ffi.Pointer obj, + ffi.Pointer sel, + ) { + return __objc_msgSend_286(obj, sel); } late final __objc_msgSend_286Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_286 = __objc_msgSend_286Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_decodeValueOfObjCType_at_size_1 = - _registerName1("decodeValueOfObjCType:at:size:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_286 = + __objc_msgSend_286Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_decodeValueOfObjCType_at_size_1 = objc.registerName( + "decodeValueOfObjCType:at:size:", + ); void _objc_msgSend_287( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ffi.Pointer type, ffi.Pointer data, int size, ) { - return __objc_msgSend_287( - obj, - sel, - type, - data, - size, - ); + return __objc_msgSend_287(obj, sel, type, data, size); } late final __objc_msgSend_287Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_287 = + __objc_msgSend_287Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong)>>('objc_msgSend'); - late final __objc_msgSend_287 = __objc_msgSend_287Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer, int)>(); + int, + ) + >(); - late final _sel_versionForClassName_1 = - _registerName1("versionForClassName:"); + late final _sel_versionForClassName_1 = objc.registerName( + "versionForClassName:", + ); int _objc_msgSend_288( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer className, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer className, ) { - return __objc_msgSend_288( - obj, - sel, - className, - ); + return __objc_msgSend_288(obj, sel, className); } late final __objc_msgSend_288Ptr = _lookup< - ffi.NativeFunction< - ffi.Long Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_288 = __objc_msgSend_288Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_encodeObject_1 = _registerName1("encodeObject:"); + ffi.NativeFunction< + ffi.Long Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_288 = + __objc_msgSend_288Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_encodeObject_1 = objc.registerName("encodeObject:"); void _objc_msgSend_289( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer object, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer object, ) { - return __objc_msgSend_289( - obj, - sel, - object, - ); + return __objc_msgSend_289(obj, sel, object); } late final __objc_msgSend_289Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_289 = __objc_msgSend_289Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_encodeRootObject_1 = _registerName1("encodeRootObject:"); - late final _sel_encodeBycopyObject_1 = _registerName1("encodeBycopyObject:"); - late final _sel_encodeByrefObject_1 = _registerName1("encodeByrefObject:"); - late final _sel_encodeConditionalObject_1 = - _registerName1("encodeConditionalObject:"); - late final _sel_encodeValuesOfObjCTypes_1 = - _registerName1("encodeValuesOfObjCTypes:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_289 = + __objc_msgSend_289Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_encodeRootObject_1 = objc.registerName("encodeRootObject:"); + late final _sel_encodeBycopyObject_1 = objc.registerName( + "encodeBycopyObject:", + ); + late final _sel_encodeByrefObject_1 = objc.registerName("encodeByrefObject:"); + late final _sel_encodeConditionalObject_1 = objc.registerName( + "encodeConditionalObject:", + ); + late final _sel_encodeValuesOfObjCTypes_1 = objc.registerName( + "encodeValuesOfObjCTypes:", + ); void _objc_msgSend_290( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ffi.Pointer types, ) { - return __objc_msgSend_290( - obj, - sel, - types, - ); + return __objc_msgSend_290(obj, sel, types); } late final __objc_msgSend_290Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_290 = __objc_msgSend_290Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_encodeArrayOfObjCType_count_at_1 = - _registerName1("encodeArrayOfObjCType:count:at:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_290 = + __objc_msgSend_290Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_encodeArrayOfObjCType_count_at_1 = objc.registerName( + "encodeArrayOfObjCType:count:at:", + ); void _objc_msgSend_291( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ffi.Pointer type, int count, ffi.Pointer array, ) { - return __objc_msgSend_291( - obj, - sel, - type, - count, - array, - ); + return __objc_msgSend_291(obj, sel, type, count, array); } late final __objc_msgSend_291Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_291 = + __objc_msgSend_291Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_291 = __objc_msgSend_291Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int, ffi.Pointer)>(); - - late final _sel_encodeBytes_length_1 = _registerName1("encodeBytes:length:"); - late final _sel_decodeObject1 = _registerName1("decodeObject"); - late final _sel_decodeTopLevelObjectAndReturnError_1 = - _registerName1("decodeTopLevelObjectAndReturnError:"); - ffi.Pointer _objc_msgSend_292( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer> error, - ) { - return __objc_msgSend_292( - obj, - sel, - error, - ); + int, + ffi.Pointer, + ) + >(); + + late final _sel_encodeBytes_length_1 = objc.registerName( + "encodeBytes:length:", + ); + late final _sel_decodeObject1 = objc.registerName("decodeObject"); + late final _sel_decodeTopLevelObjectAndReturnError_1 = objc.registerName( + "decodeTopLevelObjectAndReturnError:", + ); + ffi.Pointer _objc_msgSend_292( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer> error, + ) { + return __objc_msgSend_292(obj, sel, error); } late final __objc_msgSend_292Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_292 = __objc_msgSend_292Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer>)>(); - - late final _sel_decodeValuesOfObjCTypes_1 = - _registerName1("decodeValuesOfObjCTypes:"); - late final _sel_decodeArrayOfObjCType_count_at_1 = - _registerName1("decodeArrayOfObjCType:count:at:"); - late final _sel_decodeBytesWithReturnedLength_1 = - _registerName1("decodeBytesWithReturnedLength:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_292 = + __objc_msgSend_292Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + >(); + + late final _sel_decodeValuesOfObjCTypes_1 = objc.registerName( + "decodeValuesOfObjCTypes:", + ); + late final _sel_decodeArrayOfObjCType_count_at_1 = objc.registerName( + "decodeArrayOfObjCType:count:at:", + ); + late final _sel_decodeBytesWithReturnedLength_1 = objc.registerName( + "decodeBytesWithReturnedLength:", + ); ffi.Pointer _objc_msgSend_293( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ffi.Pointer lengthp, ) { - return __objc_msgSend_293( - obj, - sel, - lengthp, - ); + return __objc_msgSend_293(obj, sel, lengthp); } late final __objc_msgSend_293Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_293 = __objc_msgSend_293Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_encodePropertyList_1 = _registerName1("encodePropertyList:"); - late final _sel_decodePropertyList1 = _registerName1("decodePropertyList"); - late final _sel_setObjectZone_1 = _registerName1("setObjectZone:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_293 = + __objc_msgSend_293Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_encodePropertyList_1 = objc.registerName( + "encodePropertyList:", + ); + late final _sel_decodePropertyList1 = objc.registerName("decodePropertyList"); + late final _sel_setObjectZone_1 = objc.registerName("setObjectZone:"); void _objc_msgSend_294( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ffi.Pointer<_NSZone> zone, ) { - return __objc_msgSend_294( - obj, - sel, - zone, - ); + return __objc_msgSend_294(obj, sel, zone); } late final __objc_msgSend_294Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer<_NSZone>)>>('objc_msgSend'); - late final __objc_msgSend_294 = __objc_msgSend_294Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer<_NSZone>)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_NSZone>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_294 = + __objc_msgSend_294Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_NSZone>, + ) + >(); - late final _sel_objectZone1 = _registerName1("objectZone"); + late final _sel_objectZone1 = objc.registerName("objectZone"); ffi.Pointer<_NSZone> _objc_msgSend_295( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_295( - obj, - sel, - ); + return __objc_msgSend_295(obj, sel); } late final __objc_msgSend_295Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer<_NSZone> Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_295 = __objc_msgSend_295Ptr.asFunction< + ffi.NativeFunction< ffi.Pointer<_NSZone> Function( - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_systemVersion1 = _registerName1("systemVersion"); - late final _sel_allowsKeyedCoding1 = _registerName1("allowsKeyedCoding"); - late final _sel_encodeObject_forKey_1 = - _registerName1("encodeObject:forKey:"); - late final _sel_encodeConditionalObject_forKey_1 = - _registerName1("encodeConditionalObject:forKey:"); - late final _sel_encodeBool_forKey_1 = _registerName1("encodeBool:forKey:"); + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_295 = + __objc_msgSend_295Ptr + .asFunction< + ffi.Pointer<_NSZone> Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_systemVersion1 = objc.registerName("systemVersion"); + late final _sel_allowsKeyedCoding1 = objc.registerName("allowsKeyedCoding"); + late final _sel_encodeObject_forKey_1 = objc.registerName( + "encodeObject:forKey:", + ); + late final _sel_encodeConditionalObject_forKey_1 = objc.registerName( + "encodeConditionalObject:forKey:", + ); + late final _sel_encodeBool_forKey_1 = objc.registerName("encodeBool:forKey:"); void _objc_msgSend_296( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, bool value, - ffi.Pointer key, + ffi.Pointer key, ) { - return __objc_msgSend_296( - obj, - sel, - value, - key, - ); + return __objc_msgSend_296(obj, sel, value, key); } late final __objc_msgSend_296Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Bool, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_296 = __objc_msgSend_296Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, bool, - ffi.Pointer)>(); - - late final _sel_encodeInt_forKey_1 = _registerName1("encodeInt:forKey:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_296 = + __objc_msgSend_296Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + bool, + ffi.Pointer, + ) + >(); + + late final _sel_encodeInt_forKey_1 = objc.registerName("encodeInt:forKey:"); void _objc_msgSend_297( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int value, - ffi.Pointer key, + ffi.Pointer key, ) { - return __objc_msgSend_297( - obj, - sel, - value, - key, - ); + return __objc_msgSend_297(obj, sel, value, key); } late final __objc_msgSend_297Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Int, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_297 = __objc_msgSend_297Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int, - ffi.Pointer)>(); - - late final _sel_encodeInt32_forKey_1 = _registerName1("encodeInt32:forKey:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_297 = + __objc_msgSend_297Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ) + >(); + + late final _sel_encodeInt32_forKey_1 = objc.registerName( + "encodeInt32:forKey:", + ); void _objc_msgSend_298( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int value, - ffi.Pointer key, + ffi.Pointer key, ) { - return __objc_msgSend_298( - obj, - sel, - value, - key, - ); + return __objc_msgSend_298(obj, sel, value, key); } late final __objc_msgSend_298Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Int32, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_298 = __objc_msgSend_298Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int, - ffi.Pointer)>(); - - late final _sel_encodeInt64_forKey_1 = _registerName1("encodeInt64:forKey:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_298 = + __objc_msgSend_298Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ) + >(); + + late final _sel_encodeInt64_forKey_1 = objc.registerName( + "encodeInt64:forKey:", + ); void _objc_msgSend_299( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int value, - ffi.Pointer key, + ffi.Pointer key, ) { - return __objc_msgSend_299( - obj, - sel, - value, - key, - ); + return __objc_msgSend_299(obj, sel, value, key); } late final __objc_msgSend_299Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Int64, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_299 = __objc_msgSend_299Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int, - ffi.Pointer)>(); - - late final _sel_encodeFloat_forKey_1 = _registerName1("encodeFloat:forKey:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int64, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_299 = + __objc_msgSend_299Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ) + >(); + + late final _sel_encodeFloat_forKey_1 = objc.registerName( + "encodeFloat:forKey:", + ); void _objc_msgSend_300( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, double value, - ffi.Pointer key, + ffi.Pointer key, ) { - return __objc_msgSend_300( - obj, - sel, - value, - key, - ); + return __objc_msgSend_300(obj, sel, value, key); } late final __objc_msgSend_300Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Float, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_300 = __objc_msgSend_300Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, double, - ffi.Pointer)>(); - - late final _sel_encodeDouble_forKey_1 = - _registerName1("encodeDouble:forKey:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Float, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_300 = + __objc_msgSend_300Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + double, + ffi.Pointer, + ) + >(); + + late final _sel_encodeDouble_forKey_1 = objc.registerName( + "encodeDouble:forKey:", + ); void _objc_msgSend_301( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, double value, - ffi.Pointer key, + ffi.Pointer key, ) { - return __objc_msgSend_301( - obj, - sel, - value, - key, - ); + return __objc_msgSend_301(obj, sel, value, key); } late final __objc_msgSend_301Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Double, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_301 = __objc_msgSend_301Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, double, - ffi.Pointer)>(); - - late final _sel_encodeBytes_length_forKey_1 = - _registerName1("encodeBytes:length:forKey:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Double, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_301 = + __objc_msgSend_301Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + double, + ffi.Pointer, + ) + >(); + + late final _sel_encodeBytes_length_forKey_1 = objc.registerName( + "encodeBytes:length:forKey:", + ); void _objc_msgSend_302( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ffi.Pointer bytes, int length, - ffi.Pointer key, + ffi.Pointer key, ) { - return __objc_msgSend_302( - obj, - sel, - bytes, - length, - key, - ); + return __objc_msgSend_302(obj, sel, bytes, length, key); } late final __objc_msgSend_302Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_302 = + __objc_msgSend_302Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_302 = __objc_msgSend_302Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int, ffi.Pointer)>(); - - late final _sel_containsValueForKey_1 = - _registerName1("containsValueForKey:"); - late final _sel_decodeObjectForKey_1 = _registerName1("decodeObjectForKey:"); - late final _sel_decodeTopLevelObjectForKey_error_1 = - _registerName1("decodeTopLevelObjectForKey:error:"); - ffi.Pointer _objc_msgSend_303( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer key, - ffi.Pointer> error, - ) { - return __objc_msgSend_303( - obj, - sel, - key, - error, - ); + int, + ffi.Pointer, + ) + >(); + + late final _sel_containsValueForKey_1 = objc.registerName( + "containsValueForKey:", + ); + late final _sel_decodeObjectForKey_1 = objc.registerName( + "decodeObjectForKey:", + ); + late final _sel_decodeTopLevelObjectForKey_error_1 = objc.registerName( + "decodeTopLevelObjectForKey:error:", + ); + ffi.Pointer _objc_msgSend_303( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer key, + ffi.Pointer> error, + ) { + return __objc_msgSend_303(obj, sel, key, error); } late final __objc_msgSend_303Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_303 = __objc_msgSend_303Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>(); - - late final _sel_decodeBoolForKey_1 = _registerName1("decodeBoolForKey:"); - late final _sel_decodeIntForKey_1 = _registerName1("decodeIntForKey:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_303 = + __objc_msgSend_303Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + >(); + + late final _sel_decodeBoolForKey_1 = objc.registerName("decodeBoolForKey:"); + late final _sel_decodeIntForKey_1 = objc.registerName("decodeIntForKey:"); int _objc_msgSend_304( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer key, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer key, ) { - return __objc_msgSend_304( - obj, - sel, - key, - ); + return __objc_msgSend_304(obj, sel, key); } late final __objc_msgSend_304Ptr = _lookup< - ffi.NativeFunction< - ffi.Int Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_304 = __objc_msgSend_304Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_decodeInt32ForKey_1 = _registerName1("decodeInt32ForKey:"); + ffi.NativeFunction< + ffi.Int Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_304 = + __objc_msgSend_304Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_decodeInt32ForKey_1 = objc.registerName("decodeInt32ForKey:"); int _objc_msgSend_305( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer key, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer key, ) { - return __objc_msgSend_305( - obj, - sel, - key, - ); + return __objc_msgSend_305(obj, sel, key); } late final __objc_msgSend_305Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_305 = __objc_msgSend_305Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_decodeInt64ForKey_1 = _registerName1("decodeInt64ForKey:"); + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_305 = + __objc_msgSend_305Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_decodeInt64ForKey_1 = objc.registerName("decodeInt64ForKey:"); int _objc_msgSend_306( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer key, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer key, ) { - return __objc_msgSend_306( - obj, - sel, - key, - ); + return __objc_msgSend_306(obj, sel, key); } late final __objc_msgSend_306Ptr = _lookup< - ffi.NativeFunction< - ffi.Int64 Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_306 = __objc_msgSend_306Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_decodeFloatForKey_1 = _registerName1("decodeFloatForKey:"); + ffi.NativeFunction< + ffi.Int64 Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_306 = + __objc_msgSend_306Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_decodeFloatForKey_1 = objc.registerName("decodeFloatForKey:"); double _objc_msgSend_307( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer key, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer key, ) { - return __objc_msgSend_307( - obj, - sel, - key, - ); + return __objc_msgSend_307(obj, sel, key); } late final __objc_msgSend_307Ptr = _lookup< - ffi.NativeFunction< - ffi.Float Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_307 = __objc_msgSend_307Ptr.asFunction< - double Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Float Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_307 = + __objc_msgSend_307Ptr + .asFunction< + double Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); double _objc_msgSend_307_fpret( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer key, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer key, ) { - return __objc_msgSend_307_fpret( - obj, - sel, - key, - ); + return __objc_msgSend_307_fpret(obj, sel, key); } late final __objc_msgSend_307_fpretPtr = _lookup< - ffi.NativeFunction< - ffi.Float Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend_fpret'); - late final __objc_msgSend_307_fpret = __objc_msgSend_307_fpretPtr.asFunction< - double Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_decodeDoubleForKey_1 = _registerName1("decodeDoubleForKey:"); + ffi.NativeFunction< + ffi.Float Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend_fpret'); + late final __objc_msgSend_307_fpret = + __objc_msgSend_307_fpretPtr + .asFunction< + double Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_decodeDoubleForKey_1 = objc.registerName( + "decodeDoubleForKey:", + ); double _objc_msgSend_308( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer key, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer key, ) { - return __objc_msgSend_308( - obj, - sel, - key, - ); + return __objc_msgSend_308(obj, sel, key); } late final __objc_msgSend_308Ptr = _lookup< - ffi.NativeFunction< - ffi.Double Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_308 = __objc_msgSend_308Ptr.asFunction< - double Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Double Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_308 = + __objc_msgSend_308Ptr + .asFunction< + double Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); double _objc_msgSend_308_fpret( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer key, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer key, ) { - return __objc_msgSend_308_fpret( - obj, - sel, - key, - ); + return __objc_msgSend_308_fpret(obj, sel, key); } late final __objc_msgSend_308_fpretPtr = _lookup< - ffi.NativeFunction< - ffi.Double Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend_fpret'); - late final __objc_msgSend_308_fpret = __objc_msgSend_308_fpretPtr.asFunction< - double Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_decodeBytesForKey_returnedLength_1 = - _registerName1("decodeBytesForKey:returnedLength:"); + ffi.NativeFunction< + ffi.Double Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend_fpret'); + late final __objc_msgSend_308_fpret = + __objc_msgSend_308_fpretPtr + .asFunction< + double Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_decodeBytesForKey_returnedLength_1 = objc.registerName( + "decodeBytesForKey:returnedLength:", + ); ffi.Pointer _objc_msgSend_309( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer key, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer key, ffi.Pointer lengthp, ) { - return __objc_msgSend_309( - obj, - sel, - key, - lengthp, - ); + return __objc_msgSend_309(obj, sel, key, lengthp); } late final __objc_msgSend_309Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_309 = __objc_msgSend_309Ptr.asFunction< + ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_309 = + __objc_msgSend_309Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); - late final _sel_encodeInteger_forKey_1 = - _registerName1("encodeInteger:forKey:"); + late final _sel_encodeInteger_forKey_1 = objc.registerName( + "encodeInteger:forKey:", + ); void _objc_msgSend_310( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int value, - ffi.Pointer key, + ffi.Pointer key, ) { - return __objc_msgSend_310( - obj, - sel, - value, - key, - ); + return __objc_msgSend_310(obj, sel, value, key); } late final __objc_msgSend_310Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Long, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_310 = __objc_msgSend_310Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int, - ffi.Pointer)>(); - - late final _sel_decodeIntegerForKey_1 = - _registerName1("decodeIntegerForKey:"); - late final _sel_requiresSecureCoding1 = - _registerName1("requiresSecureCoding"); - late final _sel_decodeObjectOfClass_forKey_1 = - _registerName1("decodeObjectOfClass:forKey:"); - ffi.Pointer _objc_msgSend_311( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aClass, - ffi.Pointer key, - ) { - return __objc_msgSend_311( - obj, - sel, - aClass, - key, - ); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Long, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_310 = + __objc_msgSend_310Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ) + >(); + + late final _sel_decodeIntegerForKey_1 = objc.registerName( + "decodeIntegerForKey:", + ); + late final _sel_requiresSecureCoding1 = objc.registerName( + "requiresSecureCoding", + ); + late final _sel_decodeObjectOfClass_forKey_1 = objc.registerName( + "decodeObjectOfClass:forKey:", + ); + ffi.Pointer _objc_msgSend_311( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer aClass, + ffi.Pointer key, + ) { + return __objc_msgSend_311(obj, sel, aClass, key); } late final __objc_msgSend_311Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_311 = __objc_msgSend_311Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_decodeTopLevelObjectOfClass_forKey_error_1 = - _registerName1("decodeTopLevelObjectOfClass:forKey:error:"); - ffi.Pointer _objc_msgSend_312( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aClass, - ffi.Pointer key, - ffi.Pointer> error, - ) { - return __objc_msgSend_312( - obj, - sel, - aClass, - key, - error, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_311 = + __objc_msgSend_311Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_decodeTopLevelObjectOfClass_forKey_error_1 = objc + .registerName("decodeTopLevelObjectOfClass:forKey:error:"); + ffi.Pointer _objc_msgSend_312( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer aClass, + ffi.Pointer key, + ffi.Pointer> error, + ) { + return __objc_msgSend_312(obj, sel, aClass, key, error); } late final __objc_msgSend_312Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_312 = __objc_msgSend_312Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>(); - - late final _sel_decodeArrayOfObjectsOfClass_forKey_1 = - _registerName1("decodeArrayOfObjectsOfClass:forKey:"); - ffi.Pointer _objc_msgSend_313( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer cls, - ffi.Pointer key, - ) { - return __objc_msgSend_313( - obj, - sel, - cls, - key, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_312 = + __objc_msgSend_312Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + >(); + + late final _sel_decodeArrayOfObjectsOfClass_forKey_1 = objc.registerName( + "decodeArrayOfObjectsOfClass:forKey:", + ); + ffi.Pointer _objc_msgSend_313( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer cls, + ffi.Pointer key, + ) { + return __objc_msgSend_313(obj, sel, cls, key); } late final __objc_msgSend_313Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_313 = __objc_msgSend_313Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_decodeDictionaryWithKeysOfClass_objectsOfClass_forKey_1 = - _registerName1("decodeDictionaryWithKeysOfClass:objectsOfClass:forKey:"); - ffi.Pointer _objc_msgSend_314( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer keyCls, - ffi.Pointer objectCls, - ffi.Pointer key, - ) { - return __objc_msgSend_314( - obj, - sel, - keyCls, - objectCls, - key, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_313 = + __objc_msgSend_313Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_decodeDictionaryWithKeysOfClass_objectsOfClass_forKey_1 = objc + .registerName("decodeDictionaryWithKeysOfClass:objectsOfClass:forKey:"); + ffi.Pointer _objc_msgSend_314( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer keyCls, + ffi.Pointer objectCls, + ffi.Pointer key, + ) { + return __objc_msgSend_314(obj, sel, keyCls, objectCls, key); } late final __objc_msgSend_314Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_314 = __objc_msgSend_314Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_decodeObjectOfClasses_forKey_1 = - _registerName1("decodeObjectOfClasses:forKey:"); - ffi.Pointer _objc_msgSend_315( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer classes, - ffi.Pointer key, - ) { - return __objc_msgSend_315( - obj, - sel, - classes, - key, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_314 = + __objc_msgSend_314Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_decodeObjectOfClasses_forKey_1 = objc.registerName( + "decodeObjectOfClasses:forKey:", + ); + ffi.Pointer _objc_msgSend_315( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer classes, + ffi.Pointer key, + ) { + return __objc_msgSend_315(obj, sel, classes, key); } late final __objc_msgSend_315Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_315 = __objc_msgSend_315Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_decodeTopLevelObjectOfClasses_forKey_error_1 = - _registerName1("decodeTopLevelObjectOfClasses:forKey:error:"); - ffi.Pointer _objc_msgSend_316( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer classes, - ffi.Pointer key, - ffi.Pointer> error, - ) { - return __objc_msgSend_316( - obj, - sel, - classes, - key, - error, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_315 = + __objc_msgSend_315Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_decodeTopLevelObjectOfClasses_forKey_error_1 = objc + .registerName("decodeTopLevelObjectOfClasses:forKey:error:"); + ffi.Pointer _objc_msgSend_316( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer classes, + ffi.Pointer key, + ffi.Pointer> error, + ) { + return __objc_msgSend_316(obj, sel, classes, key, error); } late final __objc_msgSend_316Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_316 = __objc_msgSend_316Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>(); - - late final _sel_decodeArrayOfObjectsOfClasses_forKey_1 = - _registerName1("decodeArrayOfObjectsOfClasses:forKey:"); - ffi.Pointer _objc_msgSend_317( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer classes, - ffi.Pointer key, - ) { - return __objc_msgSend_317( - obj, - sel, - classes, - key, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_316 = + __objc_msgSend_316Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + >(); + + late final _sel_decodeArrayOfObjectsOfClasses_forKey_1 = objc.registerName( + "decodeArrayOfObjectsOfClasses:forKey:", + ); + ffi.Pointer _objc_msgSend_317( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer classes, + ffi.Pointer key, + ) { + return __objc_msgSend_317(obj, sel, classes, key); } late final __objc_msgSend_317Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_317 = __objc_msgSend_317Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_317 = + __objc_msgSend_317Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_decodeDictionaryWithKeysOfClasses_objectsOfClasses_forKey_1 = - _registerName1( - "decodeDictionaryWithKeysOfClasses:objectsOfClasses:forKey:"); - ffi.Pointer _objc_msgSend_318( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer keyClasses, - ffi.Pointer objectClasses, - ffi.Pointer key, - ) { - return __objc_msgSend_318( - obj, - sel, - keyClasses, - objectClasses, - key, - ); + objc.registerName( + "decodeDictionaryWithKeysOfClasses:objectsOfClasses:forKey:", + ); + ffi.Pointer _objc_msgSend_318( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer keyClasses, + ffi.Pointer objectClasses, + ffi.Pointer key, + ) { + return __objc_msgSend_318(obj, sel, keyClasses, objectClasses, key); } late final __objc_msgSend_318Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_318 = __objc_msgSend_318Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_decodePropertyListForKey_1 = - _registerName1("decodePropertyListForKey:"); - late final _sel_allowedClasses1 = _registerName1("allowedClasses"); - ffi.Pointer _objc_msgSend_319( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_319( - obj, - sel, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_318 = + __objc_msgSend_318Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_decodePropertyListForKey_1 = objc.registerName( + "decodePropertyListForKey:", + ); + late final _sel_allowedClasses1 = objc.registerName("allowedClasses"); + ffi.Pointer _objc_msgSend_319( + ffi.Pointer obj, + ffi.Pointer sel, + ) { + return __objc_msgSend_319(obj, sel); } late final __objc_msgSend_319Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_319 = __objc_msgSend_319Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_319 = + __objc_msgSend_319Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); - late final _sel_failWithError_1 = _registerName1("failWithError:"); + late final _sel_failWithError_1 = objc.registerName("failWithError:"); void _objc_msgSend_320( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer error, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer error, ) { - return __objc_msgSend_320( - obj, - sel, - error, - ); + return __objc_msgSend_320(obj, sel, error); } late final __objc_msgSend_320Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_320 = __objc_msgSend_320Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_decodingFailurePolicy1 = - _registerName1("decodingFailurePolicy"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_320 = + __objc_msgSend_320Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_decodingFailurePolicy1 = objc.registerName( + "decodingFailurePolicy", + ); int _objc_msgSend_321( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_321( - obj, - sel, - ); + return __objc_msgSend_321(obj, sel); } late final __objc_msgSend_321Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_321 = __objc_msgSend_321Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_321 = + __objc_msgSend_321Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); - late final _sel_error1 = _registerName1("error"); - ffi.Pointer _objc_msgSend_322( - ffi.Pointer obj, - ffi.Pointer sel, + late final _sel_error1 = objc.registerName("error"); + ffi.Pointer _objc_msgSend_322( + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_322( - obj, - sel, - ); + return __objc_msgSend_322(obj, sel); } late final __objc_msgSend_322Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_322 = __objc_msgSend_322Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_encodeNXObject_1 = _registerName1("encodeNXObject:"); - late final _sel_decodeNXObject1 = _registerName1("decodeNXObject"); - late final _sel_decodeValueOfObjCType_at_1 = - _registerName1("decodeValueOfObjCType:at:"); - late final _sel_encodePoint_1 = _registerName1("encodePoint:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_322 = + __objc_msgSend_322Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_encodeNXObject_1 = objc.registerName("encodeNXObject:"); + late final _sel_decodeNXObject1 = objc.registerName("decodeNXObject"); + late final _sel_decodeValueOfObjCType_at_1 = objc.registerName( + "decodeValueOfObjCType:at:", + ); + late final _sel_encodePoint_1 = objc.registerName("encodePoint:"); void _objc_msgSend_323( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, CGPoint point, ) { - return __objc_msgSend_323( - obj, - sel, - point, - ); + return __objc_msgSend_323(obj, sel, point); } late final __objc_msgSend_323Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - CGPoint)>>('objc_msgSend'); - late final __objc_msgSend_323 = __objc_msgSend_323Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, CGPoint)>(); - - late final _sel_decodePoint1 = _registerName1("decodePoint"); - late final _sel_encodeSize_1 = _registerName1("encodeSize:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + CGPoint, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_323 = + __objc_msgSend_323Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + CGPoint, + ) + >(); + + late final _sel_decodePoint1 = objc.registerName("decodePoint"); + late final _sel_encodeSize_1 = objc.registerName("encodeSize:"); void _objc_msgSend_324( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, CGSize size, ) { - return __objc_msgSend_324( - obj, - sel, - size, - ); + return __objc_msgSend_324(obj, sel, size); } late final __objc_msgSend_324Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - CGSize)>>('objc_msgSend'); - late final __objc_msgSend_324 = __objc_msgSend_324Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, CGSize)>(); - - late final _sel_decodeSize1 = _registerName1("decodeSize"); - late final _sel_encodeRect_1 = _registerName1("encodeRect:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + CGSize, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_324 = + __objc_msgSend_324Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + CGSize, + ) + >(); + + late final _sel_decodeSize1 = objc.registerName("decodeSize"); + late final _sel_encodeRect_1 = objc.registerName("encodeRect:"); void _objc_msgSend_325( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, CGRect rect, ) { - return __objc_msgSend_325( - obj, - sel, - rect, - ); + return __objc_msgSend_325(obj, sel, rect); } late final __objc_msgSend_325Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - CGRect)>>('objc_msgSend'); - late final __objc_msgSend_325 = __objc_msgSend_325Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, CGRect)>(); - - late final _sel_decodeRect1 = _registerName1("decodeRect"); - late final _sel_encodePoint_forKey_1 = _registerName1("encodePoint:forKey:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + CGRect, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_325 = + __objc_msgSend_325Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + CGRect, + ) + >(); + + late final _sel_decodeRect1 = objc.registerName("decodeRect"); + late final _sel_encodePoint_forKey_1 = objc.registerName( + "encodePoint:forKey:", + ); void _objc_msgSend_326( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, CGPoint point, - ffi.Pointer key, + ffi.Pointer key, ) { - return __objc_msgSend_326( - obj, - sel, - point, - key, - ); + return __objc_msgSend_326(obj, sel, point, key); } late final __objc_msgSend_326Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - CGPoint, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_326 = __objc_msgSend_326Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, CGPoint, - ffi.Pointer)>(); - - late final _sel_encodeSize_forKey_1 = _registerName1("encodeSize:forKey:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + CGPoint, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_326 = + __objc_msgSend_326Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + CGPoint, + ffi.Pointer, + ) + >(); + + late final _sel_encodeSize_forKey_1 = objc.registerName("encodeSize:forKey:"); void _objc_msgSend_327( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, CGSize size, - ffi.Pointer key, + ffi.Pointer key, ) { - return __objc_msgSend_327( - obj, - sel, - size, - key, - ); + return __objc_msgSend_327(obj, sel, size, key); } late final __objc_msgSend_327Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - CGSize, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_327 = __objc_msgSend_327Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, CGSize, - ffi.Pointer)>(); - - late final _sel_encodeRect_forKey_1 = _registerName1("encodeRect:forKey:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + CGSize, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_327 = + __objc_msgSend_327Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + CGSize, + ffi.Pointer, + ) + >(); + + late final _sel_encodeRect_forKey_1 = objc.registerName("encodeRect:forKey:"); void _objc_msgSend_328( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, CGRect rect, - ffi.Pointer key, + ffi.Pointer key, ) { - return __objc_msgSend_328( - obj, - sel, - rect, - key, - ); + return __objc_msgSend_328(obj, sel, rect, key); } late final __objc_msgSend_328Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - CGRect, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_328 = __objc_msgSend_328Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, CGRect, - ffi.Pointer)>(); - - late final _sel_decodePointForKey_1 = _registerName1("decodePointForKey:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + CGRect, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_328 = + __objc_msgSend_328Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + CGRect, + ffi.Pointer, + ) + >(); + + late final _sel_decodePointForKey_1 = objc.registerName("decodePointForKey:"); CGPoint _objc_msgSend_329( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer key, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer key, ) { - return __objc_msgSend_329( - obj, - sel, - key, - ); + return __objc_msgSend_329(obj, sel, key); } late final __objc_msgSend_329Ptr = _lookup< - ffi.NativeFunction< - CGPoint Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_329 = __objc_msgSend_329Ptr.asFunction< - CGPoint Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); + ffi.NativeFunction< + CGPoint Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_329 = + __objc_msgSend_329Ptr + .asFunction< + CGPoint Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); void _objc_msgSend_329_stret( ffi.Pointer stret, - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer key, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer key, ) { - return __objc_msgSend_329_stret( - stret, - obj, - sel, - key, - ); + return __objc_msgSend_329_stret(stret, obj, sel, key); } late final __objc_msgSend_329_stretPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend_stret'); + late final __objc_msgSend_329_stret = + __objc_msgSend_329_stretPtr + .asFunction< + void Function( ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend_stret'); - late final __objc_msgSend_329_stret = __objc_msgSend_329_stretPtr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_decodeSizeForKey_1 = _registerName1("decodeSizeForKey:"); + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_decodeSizeForKey_1 = objc.registerName("decodeSizeForKey:"); CGSize _objc_msgSend_330( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer key, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer key, ) { - return __objc_msgSend_330( - obj, - sel, - key, - ); + return __objc_msgSend_330(obj, sel, key); } late final __objc_msgSend_330Ptr = _lookup< - ffi.NativeFunction< - CGSize Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_330 = __objc_msgSend_330Ptr.asFunction< - CGSize Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); + ffi.NativeFunction< + CGSize Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_330 = + __objc_msgSend_330Ptr + .asFunction< + CGSize Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); void _objc_msgSend_330_stret( ffi.Pointer stret, - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer key, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer key, ) { - return __objc_msgSend_330_stret( - stret, - obj, - sel, - key, - ); + return __objc_msgSend_330_stret(stret, obj, sel, key); } late final __objc_msgSend_330_stretPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend_stret'); + late final __objc_msgSend_330_stret = + __objc_msgSend_330_stretPtr + .asFunction< + void Function( ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend_stret'); - late final __objc_msgSend_330_stret = __objc_msgSend_330_stretPtr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_decodeRectForKey_1 = _registerName1("decodeRectForKey:"); + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_decodeRectForKey_1 = objc.registerName("decodeRectForKey:"); CGRect _objc_msgSend_331( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer key, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer key, ) { - return __objc_msgSend_331( - obj, - sel, - key, - ); + return __objc_msgSend_331(obj, sel, key); } late final __objc_msgSend_331Ptr = _lookup< - ffi.NativeFunction< - CGRect Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_331 = __objc_msgSend_331Ptr.asFunction< - CGRect Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); + ffi.NativeFunction< + CGRect Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_331 = + __objc_msgSend_331Ptr + .asFunction< + CGRect Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); void _objc_msgSend_331_stret( ffi.Pointer stret, - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer key, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer key, ) { - return __objc_msgSend_331_stret( - stret, - obj, - sel, - key, - ); + return __objc_msgSend_331_stret(stret, obj, sel, key); } late final __objc_msgSend_331_stretPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend_stret'); + late final __objc_msgSend_331_stret = + __objc_msgSend_331_stretPtr + .asFunction< + void Function( ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend_stret'); - late final __objc_msgSend_331_stret = __objc_msgSend_331_stretPtr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_substringFromIndex_1 = _registerName1("substringFromIndex:"); - ffi.Pointer _objc_msgSend_332( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_substringFromIndex_1 = objc.registerName( + "substringFromIndex:", + ); + ffi.Pointer _objc_msgSend_332( + ffi.Pointer obj, + ffi.Pointer sel, int from, ) { - return __objc_msgSend_332( - obj, - sel, - from, - ); + return __objc_msgSend_332(obj, sel, from); } late final __objc_msgSend_332Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.UnsignedLong)>>('objc_msgSend'); - late final __objc_msgSend_332 = __objc_msgSend_332Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_substringToIndex_1 = _registerName1("substringToIndex:"); - late final _sel_substringWithRange_1 = _registerName1("substringWithRange:"); - ffi.Pointer _objc_msgSend_333( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_332 = + __objc_msgSend_332Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_substringToIndex_1 = objc.registerName("substringToIndex:"); + late final _sel_substringWithRange_1 = objc.registerName( + "substringWithRange:", + ); + ffi.Pointer _objc_msgSend_333( + ffi.Pointer obj, + ffi.Pointer sel, _NSRange range, ) { - return __objc_msgSend_333( - obj, - sel, - range, - ); + return __objc_msgSend_333(obj, sel, range); } late final __objc_msgSend_333Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, _NSRange)>>('objc_msgSend'); - late final __objc_msgSend_333 = __objc_msgSend_333Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer, _NSRange)>(); - - late final _sel_getCharacters_range_1 = - _registerName1("getCharacters:range:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_333 = + __objc_msgSend_333Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ) + >(); + + late final _sel_getCharacters_range_1 = objc.registerName( + "getCharacters:range:", + ); void _objc_msgSend_334( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ffi.Pointer buffer, _NSRange range, ) { - return __objc_msgSend_334( - obj, - sel, - buffer, - range, - ); + return __objc_msgSend_334(obj, sel, buffer, range); } late final __objc_msgSend_334Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, _NSRange)>>('objc_msgSend'); - late final __objc_msgSend_334 = __objc_msgSend_334Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, _NSRange)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_334 = + __objc_msgSend_334Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange, + ) + >(); int _objc_msgSend_335( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer string, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer string, ) { - return __objc_msgSend_335( - obj, - sel, - string, - ); + return __objc_msgSend_335(obj, sel, string); } late final __objc_msgSend_335Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_335 = __objc_msgSend_335Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_compare_options_1 = _registerName1("compare:options:"); + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_335 = + __objc_msgSend_335Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_compare_options_1 = objc.registerName("compare:options:"); int _objc_msgSend_336( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer string, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer string, int mask, ) { - return __objc_msgSend_336( - obj, - sel, - string, - mask, - ); + return __objc_msgSend_336(obj, sel, string, mask); } late final __objc_msgSend_336Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_336 = __objc_msgSend_336Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int)>(); - - late final _sel_compare_options_range_1 = - _registerName1("compare:options:range:"); + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_336 = + __objc_msgSend_336Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_compare_options_range_1 = objc.registerName( + "compare:options:range:", + ); int _objc_msgSend_337( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer string, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer string, int mask, _NSRange rangeOfReceiverToCompare, ) { - return __objc_msgSend_337( - obj, - sel, - string, - mask, - rangeOfReceiverToCompare, - ); + return __objc_msgSend_337(obj, sel, string, mask, rangeOfReceiverToCompare); } late final __objc_msgSend_337Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Int32, _NSRange)>>('objc_msgSend'); - late final __objc_msgSend_337 = __objc_msgSend_337Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int, _NSRange)>(); - - late final _sel_compare_options_range_locale_1 = - _registerName1("compare:options:range:locale:"); + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + _NSRange, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_337 = + __objc_msgSend_337Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + _NSRange, + ) + >(); + + late final _sel_compare_options_range_locale_1 = objc.registerName( + "compare:options:range:locale:", + ); int _objc_msgSend_338( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer string, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer string, int mask, _NSRange rangeOfReceiverToCompare, - ffi.Pointer locale, + ffi.Pointer locale, ) { return __objc_msgSend_338( obj, @@ -9253,166 +11633,217 @@ class SwiftLibrary { } late final __objc_msgSend_338Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + _NSRange, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_338 = + __objc_msgSend_338Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, _NSRange, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_338 = __objc_msgSend_338Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int, _NSRange, ffi.Pointer)>(); - - late final _sel_caseInsensitiveCompare_1 = - _registerName1("caseInsensitiveCompare:"); - late final _sel_localizedCompare_1 = _registerName1("localizedCompare:"); - late final _sel_localizedCaseInsensitiveCompare_1 = - _registerName1("localizedCaseInsensitiveCompare:"); - late final _sel_localizedStandardCompare_1 = - _registerName1("localizedStandardCompare:"); - late final _sel_isEqualToString_1 = _registerName1("isEqualToString:"); - late final _sel_hasPrefix_1 = _registerName1("hasPrefix:"); - late final _sel_hasSuffix_1 = _registerName1("hasSuffix:"); - late final _sel_commonPrefixWithString_options_1 = - _registerName1("commonPrefixWithString:options:"); - ffi.Pointer _objc_msgSend_339( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer str, + ffi.Pointer, + ) + >(); + + late final _sel_caseInsensitiveCompare_1 = objc.registerName( + "caseInsensitiveCompare:", + ); + late final _sel_localizedCompare_1 = objc.registerName("localizedCompare:"); + late final _sel_localizedCaseInsensitiveCompare_1 = objc.registerName( + "localizedCaseInsensitiveCompare:", + ); + late final _sel_localizedStandardCompare_1 = objc.registerName( + "localizedStandardCompare:", + ); + late final _sel_isEqualToString_1 = objc.registerName("isEqualToString:"); + late final _sel_hasPrefix_1 = objc.registerName("hasPrefix:"); + late final _sel_hasSuffix_1 = objc.registerName("hasSuffix:"); + late final _sel_commonPrefixWithString_options_1 = objc.registerName( + "commonPrefixWithString:options:", + ); + ffi.Pointer _objc_msgSend_339( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer str, int mask, ) { - return __objc_msgSend_339( - obj, - sel, - str, - mask, - ); + return __objc_msgSend_339(obj, sel, str, mask); } late final __objc_msgSend_339Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_339 = __objc_msgSend_339Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_containsString_1 = _registerName1("containsString:"); - late final _sel_localizedCaseInsensitiveContainsString_1 = - _registerName1("localizedCaseInsensitiveContainsString:"); - late final _sel_localizedStandardContainsString_1 = - _registerName1("localizedStandardContainsString:"); - late final _sel_localizedStandardRangeOfString_1 = - _registerName1("localizedStandardRangeOfString:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_339 = + __objc_msgSend_339Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_containsString_1 = objc.registerName("containsString:"); + late final _sel_localizedCaseInsensitiveContainsString_1 = objc.registerName( + "localizedCaseInsensitiveContainsString:", + ); + late final _sel_localizedStandardContainsString_1 = objc.registerName( + "localizedStandardContainsString:", + ); + late final _sel_localizedStandardRangeOfString_1 = objc.registerName( + "localizedStandardRangeOfString:", + ); _NSRange _objc_msgSend_340( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer str, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer str, ) { - return __objc_msgSend_340( - obj, - sel, - str, - ); + return __objc_msgSend_340(obj, sel, str); } late final __objc_msgSend_340Ptr = _lookup< - ffi.NativeFunction< - _NSRange Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_340 = __objc_msgSend_340Ptr.asFunction< - _NSRange Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); + ffi.NativeFunction< + _NSRange Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_340 = + __objc_msgSend_340Ptr + .asFunction< + _NSRange Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); void _objc_msgSend_340_stret( ffi.Pointer<_NSRange> stret, - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer str, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer str, ) { - return __objc_msgSend_340_stret( - stret, - obj, - sel, - str, - ); + return __objc_msgSend_340_stret(stret, obj, sel, str); } late final __objc_msgSend_340_stretPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer<_NSRange>, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend_stret'); + late final __objc_msgSend_340_stret = + __objc_msgSend_340_stretPtr + .asFunction< + void Function( ffi.Pointer<_NSRange>, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend_stret'); - late final __objc_msgSend_340_stret = __objc_msgSend_340_stretPtr.asFunction< - void Function(ffi.Pointer<_NSRange>, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_rangeOfString_1 = _registerName1("rangeOfString:"); - late final _sel_rangeOfString_options_1 = - _registerName1("rangeOfString:options:"); + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_rangeOfString_1 = objc.registerName("rangeOfString:"); + late final _sel_rangeOfString_options_1 = objc.registerName( + "rangeOfString:options:", + ); _NSRange _objc_msgSend_341( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer searchString, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer searchString, int mask, ) { - return __objc_msgSend_341( - obj, - sel, - searchString, - mask, - ); + return __objc_msgSend_341(obj, sel, searchString, mask); } late final __objc_msgSend_341Ptr = _lookup< - ffi.NativeFunction< - _NSRange Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_341 = __objc_msgSend_341Ptr.asFunction< - _NSRange Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int)>(); + ffi.NativeFunction< + _NSRange Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_341 = + __objc_msgSend_341Ptr + .asFunction< + _NSRange Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); void _objc_msgSend_341_stret( ffi.Pointer<_NSRange> stret, - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer searchString, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer searchString, int mask, ) { - return __objc_msgSend_341_stret( - stret, - obj, - sel, - searchString, - mask, - ); + return __objc_msgSend_341_stret(stret, obj, sel, searchString, mask); } late final __objc_msgSend_341_stretPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer<_NSRange>, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend_stret'); + late final __objc_msgSend_341_stret = + __objc_msgSend_341_stretPtr + .asFunction< + void Function( ffi.Pointer<_NSRange>, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32)>>('objc_msgSend_stret'); - late final __objc_msgSend_341_stret = __objc_msgSend_341_stretPtr.asFunction< - void Function(ffi.Pointer<_NSRange>, ffi.Pointer, - ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_rangeOfString_options_range_1 = - _registerName1("rangeOfString:options:range:"); + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_rangeOfString_options_range_1 = objc.registerName( + "rangeOfString:options:range:", + ); _NSRange _objc_msgSend_342( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer searchString, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer searchString, int mask, _NSRange rangeOfReceiverToSearch, ) { @@ -9426,18 +11857,33 @@ class SwiftLibrary { } late final __objc_msgSend_342Ptr = _lookup< - ffi.NativeFunction< - _NSRange Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Int32, _NSRange)>>('objc_msgSend'); - late final __objc_msgSend_342 = __objc_msgSend_342Ptr.asFunction< - _NSRange Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int, _NSRange)>(); + ffi.NativeFunction< + _NSRange Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + _NSRange, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_342 = + __objc_msgSend_342Ptr + .asFunction< + _NSRange Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + _NSRange, + ) + >(); void _objc_msgSend_342_stret( ffi.Pointer<_NSRange> stret, - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer searchString, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer searchString, int mask, _NSRange rangeOfReceiverToSearch, ) { @@ -9452,27 +11898,40 @@ class SwiftLibrary { } late final __objc_msgSend_342_stretPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer<_NSRange>, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + _NSRange, + ) + > + >('objc_msgSend_stret'); + late final __objc_msgSend_342_stret = + __objc_msgSend_342_stretPtr + .asFunction< + void Function( ffi.Pointer<_NSRange>, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - _NSRange)>>('objc_msgSend_stret'); - late final __objc_msgSend_342_stret = __objc_msgSend_342_stretPtr.asFunction< - void Function(ffi.Pointer<_NSRange>, ffi.Pointer, - ffi.Pointer, ffi.Pointer, int, _NSRange)>(); - - late final _sel_rangeOfString_options_range_locale_1 = - _registerName1("rangeOfString:options:range:locale:"); + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + _NSRange, + ) + >(); + + late final _sel_rangeOfString_options_range_locale_1 = objc.registerName( + "rangeOfString:options:range:locale:", + ); _NSRange _objc_msgSend_343( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer searchString, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer searchString, int mask, _NSRange rangeOfReceiverToSearch, - ffi.Pointer locale, + ffi.Pointer locale, ) { return __objc_msgSend_343( obj, @@ -9485,26 +11944,38 @@ class SwiftLibrary { } late final __objc_msgSend_343Ptr = _lookup< - ffi.NativeFunction< - _NSRange Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, + ffi.NativeFunction< + _NSRange Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + _NSRange, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_343 = + __objc_msgSend_343Ptr + .asFunction< + _NSRange Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, _NSRange, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_343 = __objc_msgSend_343Ptr.asFunction< - _NSRange Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int, _NSRange, ffi.Pointer)>(); + ffi.Pointer, + ) + >(); void _objc_msgSend_343_stret( ffi.Pointer<_NSRange> stret, - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer searchString, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer searchString, int mask, _NSRange rangeOfReceiverToSearch, - ffi.Pointer locale, + ffi.Pointer locale, ) { return __objc_msgSend_343_stret( stret, @@ -9518,130 +11989,165 @@ class SwiftLibrary { } late final __objc_msgSend_343_stretPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer<_NSRange>, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + _NSRange, + ffi.Pointer, + ) + > + >('objc_msgSend_stret'); + late final __objc_msgSend_343_stret = + __objc_msgSend_343_stretPtr + .asFunction< + void Function( ffi.Pointer<_NSRange>, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, _NSRange, - ffi.Pointer)>>('objc_msgSend_stret'); - late final __objc_msgSend_343_stret = __objc_msgSend_343_stretPtr.asFunction< - void Function( - ffi.Pointer<_NSRange>, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - _NSRange, - ffi.Pointer)>(); + ffi.Pointer, + ) + >(); - late final _sel_rangeOfCharacterFromSet_1 = - _registerName1("rangeOfCharacterFromSet:"); + late final _sel_rangeOfCharacterFromSet_1 = objc.registerName( + "rangeOfCharacterFromSet:", + ); _NSRange _objc_msgSend_344( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer searchSet, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer searchSet, ) { - return __objc_msgSend_344( - obj, - sel, - searchSet, - ); + return __objc_msgSend_344(obj, sel, searchSet); } late final __objc_msgSend_344Ptr = _lookup< - ffi.NativeFunction< - _NSRange Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_344 = __objc_msgSend_344Ptr.asFunction< - _NSRange Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); + ffi.NativeFunction< + _NSRange Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_344 = + __objc_msgSend_344Ptr + .asFunction< + _NSRange Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); void _objc_msgSend_344_stret( ffi.Pointer<_NSRange> stret, - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer searchSet, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer searchSet, ) { - return __objc_msgSend_344_stret( - stret, - obj, - sel, - searchSet, - ); + return __objc_msgSend_344_stret(stret, obj, sel, searchSet); } late final __objc_msgSend_344_stretPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer<_NSRange>, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend_stret'); + late final __objc_msgSend_344_stret = + __objc_msgSend_344_stretPtr + .asFunction< + void Function( ffi.Pointer<_NSRange>, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend_stret'); - late final __objc_msgSend_344_stret = __objc_msgSend_344_stretPtr.asFunction< - void Function(ffi.Pointer<_NSRange>, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_rangeOfCharacterFromSet_options_1 = - _registerName1("rangeOfCharacterFromSet:options:"); + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_rangeOfCharacterFromSet_options_1 = objc.registerName( + "rangeOfCharacterFromSet:options:", + ); _NSRange _objc_msgSend_345( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer searchSet, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer searchSet, int mask, ) { - return __objc_msgSend_345( - obj, - sel, - searchSet, - mask, - ); + return __objc_msgSend_345(obj, sel, searchSet, mask); } late final __objc_msgSend_345Ptr = _lookup< - ffi.NativeFunction< - _NSRange Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_345 = __objc_msgSend_345Ptr.asFunction< - _NSRange Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int)>(); + ffi.NativeFunction< + _NSRange Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_345 = + __objc_msgSend_345Ptr + .asFunction< + _NSRange Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); void _objc_msgSend_345_stret( ffi.Pointer<_NSRange> stret, - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer searchSet, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer searchSet, int mask, ) { - return __objc_msgSend_345_stret( - stret, - obj, - sel, - searchSet, - mask, - ); + return __objc_msgSend_345_stret(stret, obj, sel, searchSet, mask); } late final __objc_msgSend_345_stretPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer<_NSRange>, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend_stret'); + late final __objc_msgSend_345_stret = + __objc_msgSend_345_stretPtr + .asFunction< + void Function( ffi.Pointer<_NSRange>, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32)>>('objc_msgSend_stret'); - late final __objc_msgSend_345_stret = __objc_msgSend_345_stretPtr.asFunction< - void Function(ffi.Pointer<_NSRange>, ffi.Pointer, - ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_rangeOfCharacterFromSet_options_range_1 = - _registerName1("rangeOfCharacterFromSet:options:range:"); + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_rangeOfCharacterFromSet_options_range_1 = objc.registerName( + "rangeOfCharacterFromSet:options:range:", + ); _NSRange _objc_msgSend_346( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer searchSet, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer searchSet, int mask, _NSRange rangeOfReceiverToSearch, ) { @@ -9655,18 +12161,33 @@ class SwiftLibrary { } late final __objc_msgSend_346Ptr = _lookup< - ffi.NativeFunction< - _NSRange Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Int32, _NSRange)>>('objc_msgSend'); - late final __objc_msgSend_346 = __objc_msgSend_346Ptr.asFunction< - _NSRange Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int, _NSRange)>(); + ffi.NativeFunction< + _NSRange Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + _NSRange, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_346 = + __objc_msgSend_346Ptr + .asFunction< + _NSRange Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + _NSRange, + ) + >(); void _objc_msgSend_346_stret( ffi.Pointer<_NSRange> stret, - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer searchSet, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer searchSet, int mask, _NSRange rangeOfReceiverToSearch, ) { @@ -9681,149 +12202,209 @@ class SwiftLibrary { } late final __objc_msgSend_346_stretPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer<_NSRange>, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + _NSRange, + ) + > + >('objc_msgSend_stret'); + late final __objc_msgSend_346_stret = + __objc_msgSend_346_stretPtr + .asFunction< + void Function( ffi.Pointer<_NSRange>, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - _NSRange)>>('objc_msgSend_stret'); - late final __objc_msgSend_346_stret = __objc_msgSend_346_stretPtr.asFunction< - void Function(ffi.Pointer<_NSRange>, ffi.Pointer, - ffi.Pointer, ffi.Pointer, int, _NSRange)>(); - - late final _sel_rangeOfComposedCharacterSequenceAtIndex_1 = - _registerName1("rangeOfComposedCharacterSequenceAtIndex:"); + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + _NSRange, + ) + >(); + + late final _sel_rangeOfComposedCharacterSequenceAtIndex_1 = objc.registerName( + "rangeOfComposedCharacterSequenceAtIndex:", + ); _NSRange _objc_msgSend_347( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int index, ) { - return __objc_msgSend_347( - obj, - sel, - index, - ); + return __objc_msgSend_347(obj, sel, index); } late final __objc_msgSend_347Ptr = _lookup< - ffi.NativeFunction< - _NSRange Function(ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong)>>('objc_msgSend'); - late final __objc_msgSend_347 = __objc_msgSend_347Ptr.asFunction< - _NSRange Function(ffi.Pointer, ffi.Pointer, int)>(); + ffi.NativeFunction< + _NSRange Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_347 = + __objc_msgSend_347Ptr + .asFunction< + _NSRange Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); void _objc_msgSend_347_stret( ffi.Pointer<_NSRange> stret, - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int index, ) { - return __objc_msgSend_347_stret( - stret, - obj, - sel, - index, - ); + return __objc_msgSend_347_stret(stret, obj, sel, index); } late final __objc_msgSend_347_stretPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer<_NSRange>, ffi.Pointer, - ffi.Pointer, ffi.UnsignedLong)>>('objc_msgSend_stret'); - late final __objc_msgSend_347_stret = __objc_msgSend_347_stretPtr.asFunction< - void Function(ffi.Pointer<_NSRange>, ffi.Pointer, - ffi.Pointer, int)>(); - - late final _sel_rangeOfComposedCharacterSequencesForRange_1 = - _registerName1("rangeOfComposedCharacterSequencesForRange:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer<_NSRange>, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + > + >('objc_msgSend_stret'); + late final __objc_msgSend_347_stret = + __objc_msgSend_347_stretPtr + .asFunction< + void Function( + ffi.Pointer<_NSRange>, + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_rangeOfComposedCharacterSequencesForRange_1 = objc + .registerName("rangeOfComposedCharacterSequencesForRange:"); _NSRange _objc_msgSend_348( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, _NSRange range, ) { - return __objc_msgSend_348( - obj, - sel, - range, - ); + return __objc_msgSend_348(obj, sel, range); } late final __objc_msgSend_348Ptr = _lookup< - ffi.NativeFunction< - _NSRange Function(ffi.Pointer, ffi.Pointer, - _NSRange)>>('objc_msgSend'); - late final __objc_msgSend_348 = __objc_msgSend_348Ptr.asFunction< + ffi.NativeFunction< _NSRange Function( - ffi.Pointer, ffi.Pointer, _NSRange)>(); + ffi.Pointer, + ffi.Pointer, + _NSRange, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_348 = + __objc_msgSend_348Ptr + .asFunction< + _NSRange Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ) + >(); void _objc_msgSend_348_stret( ffi.Pointer<_NSRange> stret, - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, _NSRange range, ) { - return __objc_msgSend_348_stret( - stret, - obj, - sel, - range, - ); + return __objc_msgSend_348_stret(stret, obj, sel, range); } late final __objc_msgSend_348_stretPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer<_NSRange>, ffi.Pointer, - ffi.Pointer, _NSRange)>>('objc_msgSend_stret'); - late final __objc_msgSend_348_stret = __objc_msgSend_348_stretPtr.asFunction< - void Function(ffi.Pointer<_NSRange>, ffi.Pointer, - ffi.Pointer, _NSRange)>(); - - late final _sel_stringByAppendingString_1 = - _registerName1("stringByAppendingString:"); - late final _sel_stringByAppendingFormat_1 = - _registerName1("stringByAppendingFormat:"); - late final _sel_uppercaseString1 = _registerName1("uppercaseString"); - late final _sel_lowercaseString1 = _registerName1("lowercaseString"); - late final _sel_capitalizedString1 = _registerName1("capitalizedString"); - late final _sel_localizedUppercaseString1 = - _registerName1("localizedUppercaseString"); - late final _sel_localizedLowercaseString1 = - _registerName1("localizedLowercaseString"); - late final _sel_localizedCapitalizedString1 = - _registerName1("localizedCapitalizedString"); - late final _sel_uppercaseStringWithLocale_1 = - _registerName1("uppercaseStringWithLocale:"); - ffi.Pointer _objc_msgSend_349( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer locale, - ) { - return __objc_msgSend_349( - obj, - sel, - locale, - ); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer<_NSRange>, + ffi.Pointer, + ffi.Pointer, + _NSRange, + ) + > + >('objc_msgSend_stret'); + late final __objc_msgSend_348_stret = + __objc_msgSend_348_stretPtr + .asFunction< + void Function( + ffi.Pointer<_NSRange>, + ffi.Pointer, + ffi.Pointer, + _NSRange, + ) + >(); + + late final _sel_stringByAppendingString_1 = objc.registerName( + "stringByAppendingString:", + ); + late final _sel_stringByAppendingFormat_1 = objc.registerName( + "stringByAppendingFormat:", + ); + late final _sel_uppercaseString1 = objc.registerName("uppercaseString"); + late final _sel_lowercaseString1 = objc.registerName("lowercaseString"); + late final _sel_capitalizedString1 = objc.registerName("capitalizedString"); + late final _sel_localizedUppercaseString1 = objc.registerName( + "localizedUppercaseString", + ); + late final _sel_localizedLowercaseString1 = objc.registerName( + "localizedLowercaseString", + ); + late final _sel_localizedCapitalizedString1 = objc.registerName( + "localizedCapitalizedString", + ); + late final _sel_uppercaseStringWithLocale_1 = objc.registerName( + "uppercaseStringWithLocale:", + ); + ffi.Pointer _objc_msgSend_349( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer locale, + ) { + return __objc_msgSend_349(obj, sel, locale); } late final __objc_msgSend_349Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_349 = __objc_msgSend_349Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_lowercaseStringWithLocale_1 = - _registerName1("lowercaseStringWithLocale:"); - late final _sel_capitalizedStringWithLocale_1 = - _registerName1("capitalizedStringWithLocale:"); - late final _sel_getLineStart_end_contentsEnd_forRange_1 = - _registerName1("getLineStart:end:contentsEnd:forRange:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_349 = + __objc_msgSend_349Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_lowercaseStringWithLocale_1 = objc.registerName( + "lowercaseStringWithLocale:", + ); + late final _sel_capitalizedStringWithLocale_1 = objc.registerName( + "capitalizedStringWithLocale:", + ); + late final _sel_getLineStart_end_contentsEnd_forRange_1 = objc.registerName( + "getLineStart:end:contentsEnd:forRange:", + ); void _objc_msgSend_350( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ffi.Pointer startPtr, ffi.Pointer lineEndPtr, ffi.Pointer contentsEndPtr, @@ -9840,167 +12421,214 @@ class SwiftLibrary { } late final __objc_msgSend_350Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_350 = + __objc_msgSend_350Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - _NSRange)>>('objc_msgSend'); - late final __objc_msgSend_350 = __objc_msgSend_350Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - _NSRange)>(); - - late final _sel_lineRangeForRange_1 = _registerName1("lineRangeForRange:"); - late final _sel_getParagraphStart_end_contentsEnd_forRange_1 = - _registerName1("getParagraphStart:end:contentsEnd:forRange:"); - late final _sel_paragraphRangeForRange_1 = - _registerName1("paragraphRangeForRange:"); - late final _sel_enumerateSubstringsInRange_options_usingBlock_1 = - _registerName1("enumerateSubstringsInRange:options:usingBlock:"); + _NSRange, + ) + >(); + + late final _sel_lineRangeForRange_1 = objc.registerName("lineRangeForRange:"); + late final _sel_getParagraphStart_end_contentsEnd_forRange_1 = objc + .registerName("getParagraphStart:end:contentsEnd:forRange:"); + late final _sel_paragraphRangeForRange_1 = objc.registerName( + "paragraphRangeForRange:", + ); + late final _sel_enumerateSubstringsInRange_options_usingBlock_1 = objc + .registerName("enumerateSubstringsInRange:options:usingBlock:"); void _objc_msgSend_351( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, _NSRange range, int opts, - ffi.Pointer<_ObjCBlock> block, + ffi.Pointer block, ) { - return __objc_msgSend_351( - obj, - sel, - range, - opts, - block, - ); + return __objc_msgSend_351(obj, sel, range, opts, block); } late final __objc_msgSend_351Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - _NSRange, ffi.Int32, ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_351 = __objc_msgSend_351Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, _NSRange, - int, ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_enumerateLinesUsingBlock_1 = - _registerName1("enumerateLinesUsingBlock:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Int32, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_351 = + __objc_msgSend_351Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + int, + ffi.Pointer, + ) + >(); + + late final _sel_enumerateLinesUsingBlock_1 = objc.registerName( + "enumerateLinesUsingBlock:", + ); void _objc_msgSend_352( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer<_ObjCBlock> block, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer block, ) { - return __objc_msgSend_352( - obj, - sel, - block, - ); + return __objc_msgSend_352(obj, sel, block); } late final __objc_msgSend_352Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_352 = __objc_msgSend_352Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_UTF8String1 = _registerName1("UTF8String"); - late final _sel_fastestEncoding1 = _registerName1("fastestEncoding"); - late final _sel_smallestEncoding1 = _registerName1("smallestEncoding"); - late final _sel_dataUsingEncoding_allowLossyConversion_1 = - _registerName1("dataUsingEncoding:allowLossyConversion:"); - ffi.Pointer _objc_msgSend_353( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_352 = + __objc_msgSend_352Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_UTF8String1 = objc.registerName("UTF8String"); + late final _sel_fastestEncoding1 = objc.registerName("fastestEncoding"); + late final _sel_smallestEncoding1 = objc.registerName("smallestEncoding"); + late final _sel_dataUsingEncoding_allowLossyConversion_1 = objc.registerName( + "dataUsingEncoding:allowLossyConversion:", + ); + ffi.Pointer _objc_msgSend_353( + ffi.Pointer obj, + ffi.Pointer sel, int encoding, bool lossy, ) { - return __objc_msgSend_353( - obj, - sel, - encoding, - lossy, - ); + return __objc_msgSend_353(obj, sel, encoding, lossy); } late final __objc_msgSend_353Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ffi.Bool)>>('objc_msgSend'); - late final __objc_msgSend_353 = __objc_msgSend_353Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer, int, bool)>(); - - late final _sel_dataUsingEncoding_1 = _registerName1("dataUsingEncoding:"); - ffi.Pointer _objc_msgSend_354( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Bool, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_353 = + __objc_msgSend_353Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + bool, + ) + >(); + + late final _sel_dataUsingEncoding_1 = objc.registerName("dataUsingEncoding:"); + ffi.Pointer _objc_msgSend_354( + ffi.Pointer obj, + ffi.Pointer sel, int encoding, ) { - return __objc_msgSend_354( - obj, - sel, - encoding, - ); + return __objc_msgSend_354(obj, sel, encoding); } late final __objc_msgSend_354Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.UnsignedLong)>>('objc_msgSend'); - late final __objc_msgSend_354 = __objc_msgSend_354Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_canBeConvertedToEncoding_1 = - _registerName1("canBeConvertedToEncoding:"); - late final _sel_cStringUsingEncoding_1 = - _registerName1("cStringUsingEncoding:"); - late final _sel_getCString_maxLength_encoding_1 = - _registerName1("getCString:maxLength:encoding:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_354 = + __objc_msgSend_354Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_canBeConvertedToEncoding_1 = objc.registerName( + "canBeConvertedToEncoding:", + ); + late final _sel_cStringUsingEncoding_1 = objc.registerName( + "cStringUsingEncoding:", + ); + late final _sel_getCString_maxLength_encoding_1 = objc.registerName( + "getCString:maxLength:encoding:", + ); bool _objc_msgSend_355( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ffi.Pointer buffer, int maxBufferCount, int encoding, ) { - return __objc_msgSend_355( - obj, - sel, - buffer, - maxBufferCount, - encoding, - ); + return __objc_msgSend_355(obj, sel, buffer, maxBufferCount, encoding); } late final __objc_msgSend_355Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_355 = + __objc_msgSend_355Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, - ffi.UnsignedLong)>>('objc_msgSend'); - late final __objc_msgSend_355 = __objc_msgSend_355Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int, int)>(); + int, + int, + ) + >(); late final _sel_getBytes_maxLength_usedLength_encoding_options_range_remainingRange_1 = - _registerName1( - "getBytes:maxLength:usedLength:encoding:options:range:remainingRange:"); + objc.registerName( + "getBytes:maxLength:usedLength:encoding:options:range:remainingRange:", + ); bool _objc_msgSend_356( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ffi.Pointer buffer, int maxBufferCount, ffi.Pointer usedBufferCount, @@ -10023,196 +12651,253 @@ class SwiftLibrary { } late final __objc_msgSend_356Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Int32, + _NSRange, + ffi.Pointer<_NSRange>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_356 = + __objc_msgSend_356Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, + int, ffi.Pointer, - ffi.UnsignedLong, - ffi.Int32, + int, + int, _NSRange, - ffi.Pointer<_NSRange>)>>('objc_msgSend'); - late final __objc_msgSend_356 = __objc_msgSend_356Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - int, - int, - _NSRange, - ffi.Pointer<_NSRange>)>(); - - late final _sel_maximumLengthOfBytesUsingEncoding_1 = - _registerName1("maximumLengthOfBytesUsingEncoding:"); - late final _sel_lengthOfBytesUsingEncoding_1 = - _registerName1("lengthOfBytesUsingEncoding:"); - late final _sel_availableStringEncodings1 = - _registerName1("availableStringEncodings"); + ffi.Pointer<_NSRange>, + ) + >(); + + late final _sel_maximumLengthOfBytesUsingEncoding_1 = objc.registerName( + "maximumLengthOfBytesUsingEncoding:", + ); + late final _sel_lengthOfBytesUsingEncoding_1 = objc.registerName( + "lengthOfBytesUsingEncoding:", + ); + late final _sel_availableStringEncodings1 = objc.registerName( + "availableStringEncodings", + ); ffi.Pointer _objc_msgSend_357( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_357( - obj, - sel, - ); + return __objc_msgSend_357(obj, sel); } late final __objc_msgSend_357Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_357 = __objc_msgSend_357Ptr.asFunction< + ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_localizedNameOfStringEncoding_1 = - _registerName1("localizedNameOfStringEncoding:"); - late final _sel_defaultCStringEncoding1 = - _registerName1("defaultCStringEncoding"); - late final _sel_decomposedStringWithCanonicalMapping1 = - _registerName1("decomposedStringWithCanonicalMapping"); - late final _sel_precomposedStringWithCanonicalMapping1 = - _registerName1("precomposedStringWithCanonicalMapping"); - late final _sel_decomposedStringWithCompatibilityMapping1 = - _registerName1("decomposedStringWithCompatibilityMapping"); - late final _sel_precomposedStringWithCompatibilityMapping1 = - _registerName1("precomposedStringWithCompatibilityMapping"); - late final _sel_componentsSeparatedByString_1 = - _registerName1("componentsSeparatedByString:"); - ffi.Pointer _objc_msgSend_358( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer separator, - ) { - return __objc_msgSend_358( - obj, - sel, - separator, - ); + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_357 = + __objc_msgSend_357Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_localizedNameOfStringEncoding_1 = objc.registerName( + "localizedNameOfStringEncoding:", + ); + late final _sel_defaultCStringEncoding1 = objc.registerName( + "defaultCStringEncoding", + ); + late final _sel_decomposedStringWithCanonicalMapping1 = objc.registerName( + "decomposedStringWithCanonicalMapping", + ); + late final _sel_precomposedStringWithCanonicalMapping1 = objc.registerName( + "precomposedStringWithCanonicalMapping", + ); + late final _sel_decomposedStringWithCompatibilityMapping1 = objc.registerName( + "decomposedStringWithCompatibilityMapping", + ); + late final _sel_precomposedStringWithCompatibilityMapping1 = objc + .registerName("precomposedStringWithCompatibilityMapping"); + late final _sel_componentsSeparatedByString_1 = objc.registerName( + "componentsSeparatedByString:", + ); + ffi.Pointer _objc_msgSend_358( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer separator, + ) { + return __objc_msgSend_358(obj, sel, separator); } late final __objc_msgSend_358Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_358 = __objc_msgSend_358Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_componentsSeparatedByCharactersInSet_1 = - _registerName1("componentsSeparatedByCharactersInSet:"); - ffi.Pointer _objc_msgSend_359( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer separator, - ) { - return __objc_msgSend_359( - obj, - sel, - separator, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_358 = + __objc_msgSend_358Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_componentsSeparatedByCharactersInSet_1 = objc.registerName( + "componentsSeparatedByCharactersInSet:", + ); + ffi.Pointer _objc_msgSend_359( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer separator, + ) { + return __objc_msgSend_359(obj, sel, separator); } late final __objc_msgSend_359Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_359 = __objc_msgSend_359Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_stringByTrimmingCharactersInSet_1 = - _registerName1("stringByTrimmingCharactersInSet:"); - ffi.Pointer _objc_msgSend_360( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer set1, - ) { - return __objc_msgSend_360( - obj, - sel, - set1, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_359 = + __objc_msgSend_359Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_stringByTrimmingCharactersInSet_1 = objc.registerName( + "stringByTrimmingCharactersInSet:", + ); + ffi.Pointer _objc_msgSend_360( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer set1, + ) { + return __objc_msgSend_360(obj, sel, set1); } late final __objc_msgSend_360Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_360 = __objc_msgSend_360Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_stringByPaddingToLength_withString_startingAtIndex_1 = - _registerName1("stringByPaddingToLength:withString:startingAtIndex:"); - ffi.Pointer _objc_msgSend_361( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_360 = + __objc_msgSend_360Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_stringByPaddingToLength_withString_startingAtIndex_1 = objc + .registerName("stringByPaddingToLength:withString:startingAtIndex:"); + ffi.Pointer _objc_msgSend_361( + ffi.Pointer obj, + ffi.Pointer sel, int newLength, - ffi.Pointer padString, + ffi.Pointer padString, int padIndex, ) { - return __objc_msgSend_361( - obj, - sel, - newLength, - padString, - padIndex, - ); + return __objc_msgSend_361(obj, sel, newLength, padString, padIndex); } late final __objc_msgSend_361Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer, - ffi.UnsignedLong)>>('objc_msgSend'); - late final __objc_msgSend_361 = __objc_msgSend_361Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, int, ffi.Pointer, int)>(); - - late final _sel_stringByFoldingWithOptions_locale_1 = - _registerName1("stringByFoldingWithOptions:locale:"); - ffi.Pointer _objc_msgSend_362( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_361 = + __objc_msgSend_361Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + int, + ) + >(); + + late final _sel_stringByFoldingWithOptions_locale_1 = objc.registerName( + "stringByFoldingWithOptions:locale:", + ); + ffi.Pointer _objc_msgSend_362( + ffi.Pointer obj, + ffi.Pointer sel, int options, - ffi.Pointer locale, + ffi.Pointer locale, ) { - return __objc_msgSend_362( - obj, - sel, - options, - locale, - ); + return __objc_msgSend_362(obj, sel, options, locale); } late final __objc_msgSend_362Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_362 = __objc_msgSend_362Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, int, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_362 = + __objc_msgSend_362Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ) + >(); late final _sel_stringByReplacingOccurrencesOfString_withString_options_range_1 = - _registerName1( - "stringByReplacingOccurrencesOfString:withString:options:range:"); - ffi.Pointer _objc_msgSend_363( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer target, - ffi.Pointer replacement, + objc.registerName( + "stringByReplacingOccurrencesOfString:withString:options:range:", + ); + ffi.Pointer _objc_msgSend_363( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer target, + ffi.Pointer replacement, int options, _NSRange searchRange, ) { @@ -10227,425 +12912,488 @@ class SwiftLibrary { } late final __objc_msgSend_363Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - _NSRange)>>('objc_msgSend'); - late final __objc_msgSend_363 = __objc_msgSend_363Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - _NSRange)>(); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + _NSRange, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_363 = + __objc_msgSend_363Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + _NSRange, + ) + >(); - late final _sel_stringByReplacingOccurrencesOfString_withString_1 = - _registerName1("stringByReplacingOccurrencesOfString:withString:"); - ffi.Pointer _objc_msgSend_364( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer target, - ffi.Pointer replacement, + late final _sel_stringByReplacingOccurrencesOfString_withString_1 = objc + .registerName("stringByReplacingOccurrencesOfString:withString:"); + ffi.Pointer _objc_msgSend_364( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer target, + ffi.Pointer replacement, ) { - return __objc_msgSend_364( - obj, - sel, - target, - replacement, - ); + return __objc_msgSend_364(obj, sel, target, replacement); } late final __objc_msgSend_364Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_364 = __objc_msgSend_364Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_stringByReplacingCharactersInRange_withString_1 = - _registerName1("stringByReplacingCharactersInRange:withString:"); - ffi.Pointer _objc_msgSend_365( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_364 = + __objc_msgSend_364Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_stringByReplacingCharactersInRange_withString_1 = objc + .registerName("stringByReplacingCharactersInRange:withString:"); + ffi.Pointer _objc_msgSend_365( + ffi.Pointer obj, + ffi.Pointer sel, _NSRange range, - ffi.Pointer replacement, + ffi.Pointer replacement, ) { - return __objc_msgSend_365( - obj, - sel, - range, - replacement, - ); + return __objc_msgSend_365(obj, sel, range, replacement); } late final __objc_msgSend_365Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_365 = + __objc_msgSend_365Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, _NSRange, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_365 = __objc_msgSend_365Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, _NSRange, ffi.Pointer)>(); - - late final _sel_stringByApplyingTransform_reverse_1 = - _registerName1("stringByApplyingTransform:reverse:"); - ffi.Pointer _objc_msgSend_366( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer transform, + ffi.Pointer, + ) + >(); + + late final _sel_stringByApplyingTransform_reverse_1 = objc.registerName( + "stringByApplyingTransform:reverse:", + ); + ffi.Pointer _objc_msgSend_366( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer transform, bool reverse, ) { - return __objc_msgSend_366( - obj, - sel, - transform, - reverse, - ); + return __objc_msgSend_366(obj, sel, transform, reverse); } late final __objc_msgSend_366Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Bool)>>('objc_msgSend'); - late final __objc_msgSend_366 = __objc_msgSend_366Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer, bool)>(); - - late final _sel_writeToURL_atomically_encoding_error_1 = - _registerName1("writeToURL:atomically:encoding:error:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_366 = + __objc_msgSend_366Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool, + ) + >(); + + late final _sel_writeToURL_atomically_encoding_error_1 = objc.registerName( + "writeToURL:atomically:encoding:error:", + ); bool _objc_msgSend_367( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer url, bool useAuxiliaryFile, int enc, - ffi.Pointer> error, + ffi.Pointer> error, ) { - return __objc_msgSend_367( - obj, - sel, - url, - useAuxiliaryFile, - enc, - error, - ); + return __objc_msgSend_367(obj, sel, url, useAuxiliaryFile, enc, error); } late final __objc_msgSend_367Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - ffi.UnsignedLong, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_367 = __objc_msgSend_367Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - int, - ffi.Pointer>)>(); - - late final _sel_writeToFile_atomically_encoding_error_1 = - _registerName1("writeToFile:atomically:encoding:error:"); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.UnsignedLong, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_367 = + __objc_msgSend_367Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool, + int, + ffi.Pointer>, + ) + >(); + + late final _sel_writeToFile_atomically_encoding_error_1 = objc.registerName( + "writeToFile:atomically:encoding:error:", + ); bool _objc_msgSend_368( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer path, bool useAuxiliaryFile, int enc, - ffi.Pointer> error, + ffi.Pointer> error, ) { - return __objc_msgSend_368( - obj, - sel, - path, - useAuxiliaryFile, - enc, - error, - ); + return __objc_msgSend_368(obj, sel, path, useAuxiliaryFile, enc, error); } late final __objc_msgSend_368Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - ffi.UnsignedLong, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_368 = __objc_msgSend_368Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - int, - ffi.Pointer>)>(); - - late final _sel_hash1 = _registerName1("hash"); - late final _sel_initWithCharactersNoCopy_length_freeWhenDone_1 = - _registerName1("initWithCharactersNoCopy:length:freeWhenDone:"); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.UnsignedLong, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_368 = + __objc_msgSend_368Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool, + int, + ffi.Pointer>, + ) + >(); + + late final _sel_hash1 = objc.registerName("hash"); + late final _sel_initWithCharactersNoCopy_length_freeWhenDone_1 = objc + .registerName("initWithCharactersNoCopy:length:freeWhenDone:"); instancetype _objc_msgSend_369( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ffi.Pointer characters, int length, bool freeBuffer, ) { - return __objc_msgSend_369( - obj, - sel, - characters, - length, - freeBuffer, - ); + return __objc_msgSend_369(obj, sel, characters, length, freeBuffer); } late final __objc_msgSend_369Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Bool, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_369 = + __objc_msgSend_369Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, - ffi.Bool)>>('objc_msgSend'); - late final __objc_msgSend_369 = __objc_msgSend_369Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int, bool)>(); - - late final _sel_initWithCharactersNoCopy_length_deallocator_1 = - _registerName1("initWithCharactersNoCopy:length:deallocator:"); + int, + bool, + ) + >(); + + late final _sel_initWithCharactersNoCopy_length_deallocator_1 = objc + .registerName("initWithCharactersNoCopy:length:deallocator:"); instancetype _objc_msgSend_370( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ffi.Pointer chars, int len, - ffi.Pointer<_ObjCBlock> deallocator, + ffi.Pointer deallocator, ) { - return __objc_msgSend_370( - obj, - sel, - chars, - len, - deallocator, - ); + return __objc_msgSend_370(obj, sel, chars, len, deallocator); } late final __objc_msgSend_370Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_370 = + __objc_msgSend_370Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_370 = __objc_msgSend_370Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int, ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_initWithCharacters_length_1 = - _registerName1("initWithCharacters:length:"); + int, + ffi.Pointer, + ) + >(); + + late final _sel_initWithCharacters_length_1 = objc.registerName( + "initWithCharacters:length:", + ); instancetype _objc_msgSend_371( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ffi.Pointer characters, int length, ) { - return __objc_msgSend_371( - obj, - sel, - characters, - length, - ); + return __objc_msgSend_371(obj, sel, characters, length); } late final __objc_msgSend_371Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_371 = + __objc_msgSend_371Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong)>>('objc_msgSend'); - late final __objc_msgSend_371 = __objc_msgSend_371Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int)>(); + int, + ) + >(); - late final _sel_initWithUTF8String_1 = _registerName1("initWithUTF8String:"); + late final _sel_initWithUTF8String_1 = objc.registerName( + "initWithUTF8String:", + ); instancetype _objc_msgSend_372( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ffi.Pointer nullTerminatedCString, ) { - return __objc_msgSend_372( - obj, - sel, - nullTerminatedCString, - ); + return __objc_msgSend_372(obj, sel, nullTerminatedCString); } late final __objc_msgSend_372Ptr = _lookup< - ffi.NativeFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_372 = __objc_msgSend_372Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_initWithFormat_1 = _registerName1("initWithFormat:"); - late final _sel_initWithFormat_arguments_1 = - _registerName1("initWithFormat:arguments:"); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_372 = + __objc_msgSend_372Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_initWithFormat_1 = objc.registerName("initWithFormat:"); + late final _sel_initWithFormat_arguments_1 = objc.registerName( + "initWithFormat:arguments:", + ); instancetype _objc_msgSend_373( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer format, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer format, ffi.Pointer<__va_list_tag> argList, ) { - return __objc_msgSend_373( - obj, - sel, - format, - argList, - ); + return __objc_msgSend_373(obj, sel, format, argList); } late final __objc_msgSend_373Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<__va_list_tag>)>>('objc_msgSend'); - late final __objc_msgSend_373 = __objc_msgSend_373Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer<__va_list_tag>)>(); - - late final _sel_initWithFormat_locale_1 = - _registerName1("initWithFormat:locale:"); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<__va_list_tag>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_373 = + __objc_msgSend_373Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<__va_list_tag>, + ) + >(); + + late final _sel_initWithFormat_locale_1 = objc.registerName( + "initWithFormat:locale:", + ); instancetype _objc_msgSend_374( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer format, - ffi.Pointer locale, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer format, + ffi.Pointer locale, ) { - return __objc_msgSend_374( - obj, - sel, - format, - locale, - ); + return __objc_msgSend_374(obj, sel, format, locale); } late final __objc_msgSend_374Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_374 = __objc_msgSend_374Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_initWithFormat_locale_arguments_1 = - _registerName1("initWithFormat:locale:arguments:"); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_374 = + __objc_msgSend_374Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_initWithFormat_locale_arguments_1 = objc.registerName( + "initWithFormat:locale:arguments:", + ); instancetype _objc_msgSend_375( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer format, - ffi.Pointer locale, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer format, + ffi.Pointer locale, ffi.Pointer<__va_list_tag> argList, ) { - return __objc_msgSend_375( - obj, - sel, - format, - locale, - argList, - ); + return __objc_msgSend_375(obj, sel, format, locale, argList); } late final __objc_msgSend_375Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<__va_list_tag>)>>('objc_msgSend'); - late final __objc_msgSend_375 = __objc_msgSend_375Ptr.asFunction< + ffi.NativeFunction< instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<__va_list_tag>)>(); - - late final _sel_initWithValidatedFormat_validFormatSpecifiers_error_1 = - _registerName1("initWithValidatedFormat:validFormatSpecifiers:error:"); + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<__va_list_tag>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_375 = + __objc_msgSend_375Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<__va_list_tag>, + ) + >(); + + late final _sel_initWithValidatedFormat_validFormatSpecifiers_error_1 = objc + .registerName("initWithValidatedFormat:validFormatSpecifiers:error:"); instancetype _objc_msgSend_376( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer format, - ffi.Pointer validFormatSpecifiers, - ffi.Pointer> error, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer format, + ffi.Pointer validFormatSpecifiers, + ffi.Pointer> error, ) { - return __objc_msgSend_376( - obj, - sel, - format, - validFormatSpecifiers, - error, - ); + return __objc_msgSend_376(obj, sel, format, validFormatSpecifiers, error); } late final __objc_msgSend_376Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_376 = __objc_msgSend_376Ptr.asFunction< + ffi.NativeFunction< instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>(); + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_376 = + __objc_msgSend_376Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + >(); late final _sel_initWithValidatedFormat_validFormatSpecifiers_locale_error_1 = - _registerName1( - "initWithValidatedFormat:validFormatSpecifiers:locale:error:"); + objc.registerName( + "initWithValidatedFormat:validFormatSpecifiers:locale:error:", + ); instancetype _objc_msgSend_377( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer format, - ffi.Pointer validFormatSpecifiers, - ffi.Pointer locale, - ffi.Pointer> error, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer format, + ffi.Pointer validFormatSpecifiers, + ffi.Pointer locale, + ffi.Pointer> error, ) { return __objc_msgSend_377( obj, @@ -10658,33 +13406,41 @@ class SwiftLibrary { } late final __objc_msgSend_377Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_377 = __objc_msgSend_377Ptr.asFunction< + ffi.NativeFunction< instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>(); + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_377 = + __objc_msgSend_377Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + >(); late final _sel_initWithValidatedFormat_validFormatSpecifiers_arguments_error_1 = - _registerName1( - "initWithValidatedFormat:validFormatSpecifiers:arguments:error:"); + objc.registerName( + "initWithValidatedFormat:validFormatSpecifiers:arguments:error:", + ); instancetype _objc_msgSend_378( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer format, - ffi.Pointer validFormatSpecifiers, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer format, + ffi.Pointer validFormatSpecifiers, ffi.Pointer<__va_list_tag> argList, - ffi.Pointer> error, + ffi.Pointer> error, ) { return __objc_msgSend_378( obj, @@ -10697,34 +13453,42 @@ class SwiftLibrary { } late final __objc_msgSend_378Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<__va_list_tag>, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_378 = __objc_msgSend_378Ptr.asFunction< + ffi.NativeFunction< instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<__va_list_tag>, - ffi.Pointer>)>(); + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<__va_list_tag>, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_378 = + __objc_msgSend_378Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<__va_list_tag>, + ffi.Pointer>, + ) + >(); late final _sel_initWithValidatedFormat_validFormatSpecifiers_locale_arguments_error_1 = - _registerName1( - "initWithValidatedFormat:validFormatSpecifiers:locale:arguments:error:"); + objc.registerName( + "initWithValidatedFormat:validFormatSpecifiers:locale:arguments:error:", + ); instancetype _objc_msgSend_379( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer format, - ffi.Pointer validFormatSpecifiers, - ffi.Pointer locale, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer format, + ffi.Pointer validFormatSpecifiers, + ffi.Pointer locale, ffi.Pointer<__va_list_tag> argList, - ffi.Pointer> error, + ffi.Pointer> error, ) { return __objc_msgSend_379( obj, @@ -10738,338 +13502,393 @@ class SwiftLibrary { } late final __objc_msgSend_379Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<__va_list_tag>, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_379 = __objc_msgSend_379Ptr.asFunction< + ffi.NativeFunction< instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<__va_list_tag>, - ffi.Pointer>)>(); - - late final _sel_initWithData_encoding_1 = - _registerName1("initWithData:encoding:"); + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<__va_list_tag>, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_379 = + __objc_msgSend_379Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<__va_list_tag>, + ffi.Pointer>, + ) + >(); + + late final _sel_initWithData_encoding_1 = objc.registerName( + "initWithData:encoding:", + ); instancetype _objc_msgSend_380( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer data, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer data, int encoding, ) { - return __objc_msgSend_380( - obj, - sel, - data, - encoding, - ); + return __objc_msgSend_380(obj, sel, data, encoding); } late final __objc_msgSend_380Ptr = _lookup< - ffi.NativeFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.UnsignedLong)>>('objc_msgSend'); - late final __objc_msgSend_380 = __objc_msgSend_380Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int)>(); - - late final _sel_initWithBytes_length_encoding_1 = - _registerName1("initWithBytes:length:encoding:"); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_380 = + __objc_msgSend_380Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_initWithBytes_length_encoding_1 = objc.registerName( + "initWithBytes:length:encoding:", + ); instancetype _objc_msgSend_381( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ffi.Pointer bytes, int len, int encoding, ) { - return __objc_msgSend_381( - obj, - sel, - bytes, - len, - encoding, - ); + return __objc_msgSend_381(obj, sel, bytes, len, encoding); } late final __objc_msgSend_381Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_381 = + __objc_msgSend_381Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, - ffi.UnsignedLong)>>('objc_msgSend'); - late final __objc_msgSend_381 = __objc_msgSend_381Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int, int)>(); - - late final _sel_initWithBytesNoCopy_length_encoding_freeWhenDone_1 = - _registerName1("initWithBytesNoCopy:length:encoding:freeWhenDone:"); + int, + int, + ) + >(); + + late final _sel_initWithBytesNoCopy_length_encoding_freeWhenDone_1 = objc + .registerName("initWithBytesNoCopy:length:encoding:freeWhenDone:"); instancetype _objc_msgSend_382( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ffi.Pointer bytes, int len, int encoding, bool freeBuffer, ) { - return __objc_msgSend_382( - obj, - sel, - bytes, - len, - encoding, - freeBuffer, - ); + return __objc_msgSend_382(obj, sel, bytes, len, encoding, freeBuffer); } late final __objc_msgSend_382Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.UnsignedLong, + ffi.Bool, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_382 = + __objc_msgSend_382Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, - ffi.UnsignedLong, - ffi.Bool)>>('objc_msgSend'); - late final __objc_msgSend_382 = __objc_msgSend_382Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int, int, bool)>(); - - late final _sel_initWithBytesNoCopy_length_encoding_deallocator_1 = - _registerName1("initWithBytesNoCopy:length:encoding:deallocator:"); + int, + int, + bool, + ) + >(); + + late final _sel_initWithBytesNoCopy_length_encoding_deallocator_1 = objc + .registerName("initWithBytesNoCopy:length:encoding:deallocator:"); instancetype _objc_msgSend_383( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ffi.Pointer bytes, int len, int encoding, - ffi.Pointer<_ObjCBlock> deallocator, + ffi.Pointer deallocator, ) { - return __objc_msgSend_383( - obj, - sel, - bytes, - len, - encoding, - deallocator, - ); + return __objc_msgSend_383(obj, sel, bytes, len, encoding, deallocator); } late final __objc_msgSend_383Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.UnsignedLong, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_383 = + __objc_msgSend_383Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, - ffi.UnsignedLong, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_383 = __objc_msgSend_383Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int, int, ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_string1 = _registerName1("string"); - late final _sel_stringWithString_1 = _registerName1("stringWithString:"); - late final _sel_stringWithCharacters_length_1 = - _registerName1("stringWithCharacters:length:"); - late final _sel_stringWithUTF8String_1 = - _registerName1("stringWithUTF8String:"); - late final _sel_stringWithFormat_1 = _registerName1("stringWithFormat:"); - late final _sel_localizedStringWithFormat_1 = - _registerName1("localizedStringWithFormat:"); - late final _sel_stringWithValidatedFormat_validFormatSpecifiers_error_1 = - _registerName1("stringWithValidatedFormat:validFormatSpecifiers:error:"); + int, + int, + ffi.Pointer, + ) + >(); + + late final _sel_string1 = objc.registerName("string"); + late final _sel_stringWithString_1 = objc.registerName("stringWithString:"); + late final _sel_stringWithCharacters_length_1 = objc.registerName( + "stringWithCharacters:length:", + ); + late final _sel_stringWithUTF8String_1 = objc.registerName( + "stringWithUTF8String:", + ); + late final _sel_stringWithFormat_1 = objc.registerName("stringWithFormat:"); + late final _sel_localizedStringWithFormat_1 = objc.registerName( + "localizedStringWithFormat:", + ); + late final _sel_stringWithValidatedFormat_validFormatSpecifiers_error_1 = objc + .registerName("stringWithValidatedFormat:validFormatSpecifiers:error:"); late final _sel_localizedStringWithValidatedFormat_validFormatSpecifiers_error_1 = - _registerName1( - "localizedStringWithValidatedFormat:validFormatSpecifiers:error:"); - late final _sel_initWithCString_encoding_1 = - _registerName1("initWithCString:encoding:"); + objc.registerName( + "localizedStringWithValidatedFormat:validFormatSpecifiers:error:", + ); + late final _sel_initWithCString_encoding_1 = objc.registerName( + "initWithCString:encoding:", + ); instancetype _objc_msgSend_384( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ffi.Pointer nullTerminatedCString, int encoding, ) { - return __objc_msgSend_384( - obj, - sel, - nullTerminatedCString, - encoding, - ); + return __objc_msgSend_384(obj, sel, nullTerminatedCString, encoding); } late final __objc_msgSend_384Ptr = _lookup< - ffi.NativeFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.UnsignedLong)>>('objc_msgSend'); - late final __objc_msgSend_384 = __objc_msgSend_384Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int)>(); - - late final _sel_stringWithCString_encoding_1 = - _registerName1("stringWithCString:encoding:"); - late final _sel_initWithContentsOfURL_encoding_error_1 = - _registerName1("initWithContentsOfURL:encoding:error:"); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_384 = + __objc_msgSend_384Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_stringWithCString_encoding_1 = objc.registerName( + "stringWithCString:encoding:", + ); + late final _sel_initWithContentsOfURL_encoding_error_1 = objc.registerName( + "initWithContentsOfURL:encoding:error:", + ); instancetype _objc_msgSend_385( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer url, int enc, - ffi.Pointer> error, + ffi.Pointer> error, ) { - return __objc_msgSend_385( - obj, - sel, - url, - enc, - error, - ); + return __objc_msgSend_385(obj, sel, url, enc, error); } late final __objc_msgSend_385Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_385 = __objc_msgSend_385Ptr.asFunction< + ffi.NativeFunction< instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>)>(); - - late final _sel_initWithContentsOfFile_encoding_error_1 = - _registerName1("initWithContentsOfFile:encoding:error:"); + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_385 = + __objc_msgSend_385Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer>, + ) + >(); + + late final _sel_initWithContentsOfFile_encoding_error_1 = objc.registerName( + "initWithContentsOfFile:encoding:error:", + ); instancetype _objc_msgSend_386( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer path, int enc, - ffi.Pointer> error, + ffi.Pointer> error, ) { - return __objc_msgSend_386( - obj, - sel, - path, - enc, - error, - ); + return __objc_msgSend_386(obj, sel, path, enc, error); } late final __objc_msgSend_386Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_386 = __objc_msgSend_386Ptr.asFunction< + ffi.NativeFunction< instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>)>(); - - late final _sel_stringWithContentsOfURL_encoding_error_1 = - _registerName1("stringWithContentsOfURL:encoding:error:"); - late final _sel_stringWithContentsOfFile_encoding_error_1 = - _registerName1("stringWithContentsOfFile:encoding:error:"); - late final _sel_initWithContentsOfURL_usedEncoding_error_1 = - _registerName1("initWithContentsOfURL:usedEncoding:error:"); + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_386 = + __objc_msgSend_386Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer>, + ) + >(); + + late final _sel_stringWithContentsOfURL_encoding_error_1 = objc.registerName( + "stringWithContentsOfURL:encoding:error:", + ); + late final _sel_stringWithContentsOfFile_encoding_error_1 = objc.registerName( + "stringWithContentsOfFile:encoding:error:", + ); + late final _sel_initWithContentsOfURL_usedEncoding_error_1 = objc + .registerName("initWithContentsOfURL:usedEncoding:error:"); instancetype _objc_msgSend_387( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer url, ffi.Pointer enc, - ffi.Pointer> error, + ffi.Pointer> error, ) { - return __objc_msgSend_387( - obj, - sel, - url, - enc, - error, - ); + return __objc_msgSend_387(obj, sel, url, enc, error); } late final __objc_msgSend_387Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_387 = __objc_msgSend_387Ptr.asFunction< + ffi.NativeFunction< instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>(); - - late final _sel_initWithContentsOfFile_usedEncoding_error_1 = - _registerName1("initWithContentsOfFile:usedEncoding:error:"); + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_387 = + __objc_msgSend_387Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + >(); + + late final _sel_initWithContentsOfFile_usedEncoding_error_1 = objc + .registerName("initWithContentsOfFile:usedEncoding:error:"); instancetype _objc_msgSend_388( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer path, ffi.Pointer enc, - ffi.Pointer> error, + ffi.Pointer> error, ) { - return __objc_msgSend_388( - obj, - sel, - path, - enc, - error, - ); + return __objc_msgSend_388(obj, sel, path, enc, error); } late final __objc_msgSend_388Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_388 = __objc_msgSend_388Ptr.asFunction< + ffi.NativeFunction< instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>(); - - late final _sel_stringWithContentsOfURL_usedEncoding_error_1 = - _registerName1("stringWithContentsOfURL:usedEncoding:error:"); - late final _sel_stringWithContentsOfFile_usedEncoding_error_1 = - _registerName1("stringWithContentsOfFile:usedEncoding:error:"); + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_388 = + __objc_msgSend_388Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + >(); + + late final _sel_stringWithContentsOfURL_usedEncoding_error_1 = objc + .registerName("stringWithContentsOfURL:usedEncoding:error:"); + late final _sel_stringWithContentsOfFile_usedEncoding_error_1 = objc + .registerName("stringWithContentsOfFile:usedEncoding:error:"); late final _sel_stringEncodingForData_encodingOptions_convertedString_usedLossyConversion_1 = - _registerName1( - "stringEncodingForData:encodingOptions:convertedString:usedLossyConversion:"); + objc.registerName( + "stringEncodingForData:encodingOptions:convertedString:usedLossyConversion:", + ); int _objc_msgSend_389( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer data, - ffi.Pointer opts, - ffi.Pointer> string, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer data, + ffi.Pointer opts, + ffi.Pointer> string, ffi.Pointer usedLossyConversion, ) { return __objc_msgSend_389( @@ -11083,77 +13902,100 @@ class SwiftLibrary { } late final __objc_msgSend_389Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_389 = __objc_msgSend_389Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer)>(); - - late final _sel_propertyList1 = _registerName1("propertyList"); - late final _sel_propertyListFromStringsFileFormat1 = - _registerName1("propertyListFromStringsFileFormat"); - ffi.Pointer _objc_msgSend_390( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_390( - obj, - sel, - ); + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_389 = + __objc_msgSend_389Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer, + ) + >(); + + late final _sel_propertyList1 = objc.registerName("propertyList"); + late final _sel_propertyListFromStringsFileFormat1 = objc.registerName( + "propertyListFromStringsFileFormat", + ); + ffi.Pointer _objc_msgSend_390( + ffi.Pointer obj, + ffi.Pointer sel, + ) { + return __objc_msgSend_390(obj, sel); } late final __objc_msgSend_390Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_390 = __objc_msgSend_390Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_cString1 = _registerName1("cString"); - late final _sel_lossyCString1 = _registerName1("lossyCString"); - late final _sel_cStringLength1 = _registerName1("cStringLength"); - late final _sel_getCString_1 = _registerName1("getCString:"); - late final _sel_getCString_maxLength_1 = - _registerName1("getCString:maxLength:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_390 = + __objc_msgSend_390Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_cString1 = objc.registerName("cString"); + late final _sel_lossyCString1 = objc.registerName("lossyCString"); + late final _sel_cStringLength1 = objc.registerName("cStringLength"); + late final _sel_getCString_1 = objc.registerName("getCString:"); + late final _sel_getCString_maxLength_1 = objc.registerName( + "getCString:maxLength:", + ); void _objc_msgSend_391( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ffi.Pointer bytes, int maxLength, ) { - return __objc_msgSend_391( - obj, - sel, - bytes, - maxLength, - ); + return __objc_msgSend_391(obj, sel, bytes, maxLength); } late final __objc_msgSend_391Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.UnsignedLong)>>('objc_msgSend'); - late final __objc_msgSend_391 = __objc_msgSend_391Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int)>(); - - late final _sel_getCString_maxLength_range_remainingRange_1 = - _registerName1("getCString:maxLength:range:remainingRange:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_391 = + __objc_msgSend_391Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_getCString_maxLength_range_remainingRange_1 = objc + .registerName("getCString:maxLength:range:remainingRange:"); void _objc_msgSend_392( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ffi.Pointer bytes, int maxLength, _NSRange aRange, @@ -11170,151 +14012,206 @@ class SwiftLibrary { } late final __objc_msgSend_392Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + _NSRange, + ffi.Pointer<_NSRange>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_392 = + __objc_msgSend_392Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, + int, _NSRange, - ffi.Pointer<_NSRange>)>>('objc_msgSend'); - late final __objc_msgSend_392 = __objc_msgSend_392Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int, _NSRange, ffi.Pointer<_NSRange>)>(); - - late final _sel_stringWithContentsOfFile_1 = - _registerName1("stringWithContentsOfFile:"); - late final _sel_stringWithContentsOfURL_1 = - _registerName1("stringWithContentsOfURL:"); - late final _sel_initWithCStringNoCopy_length_freeWhenDone_1 = - _registerName1("initWithCStringNoCopy:length:freeWhenDone:"); - ffi.Pointer _objc_msgSend_393( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer<_NSRange>, + ) + >(); + + late final _sel_stringWithContentsOfFile_1 = objc.registerName( + "stringWithContentsOfFile:", + ); + late final _sel_stringWithContentsOfURL_1 = objc.registerName( + "stringWithContentsOfURL:", + ); + late final _sel_initWithCStringNoCopy_length_freeWhenDone_1 = objc + .registerName("initWithCStringNoCopy:length:freeWhenDone:"); + ffi.Pointer _objc_msgSend_393( + ffi.Pointer obj, + ffi.Pointer sel, ffi.Pointer bytes, int length, bool freeBuffer, ) { - return __objc_msgSend_393( - obj, - sel, - bytes, - length, - freeBuffer, - ); + return __objc_msgSend_393(obj, sel, bytes, length, freeBuffer); } late final __objc_msgSend_393Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Bool, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_393 = + __objc_msgSend_393Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, - ffi.Bool)>>('objc_msgSend'); - late final __objc_msgSend_393 = __objc_msgSend_393Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer, int, bool)>(); - - late final _sel_initWithCString_length_1 = - _registerName1("initWithCString:length:"); - late final _sel_initWithCString_1 = _registerName1("initWithCString:"); - late final _sel_stringWithCString_length_1 = - _registerName1("stringWithCString:length:"); - late final _sel_stringWithCString_1 = _registerName1("stringWithCString:"); - late final _sel_getCharacters_1 = _registerName1("getCharacters:"); + int, + bool, + ) + >(); + + late final _sel_initWithCString_length_1 = objc.registerName( + "initWithCString:length:", + ); + late final _sel_initWithCString_1 = objc.registerName("initWithCString:"); + late final _sel_stringWithCString_length_1 = objc.registerName( + "stringWithCString:length:", + ); + late final _sel_stringWithCString_1 = objc.registerName("stringWithCString:"); + late final _sel_getCharacters_1 = objc.registerName("getCharacters:"); void _objc_msgSend_394( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ffi.Pointer buffer, ) { - return __objc_msgSend_394( - obj, - sel, - buffer, - ); + return __objc_msgSend_394(obj, sel, buffer); } late final __objc_msgSend_394Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_394 = __objc_msgSend_394Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_variantFittingPresentationWidth_1 = - _registerName1("variantFittingPresentationWidth:"); - ffi.Pointer _objc_msgSend_395( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_394 = + __objc_msgSend_394Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_variantFittingPresentationWidth_1 = objc.registerName( + "variantFittingPresentationWidth:", + ); + ffi.Pointer _objc_msgSend_395( + ffi.Pointer obj, + ffi.Pointer sel, int width, ) { - return __objc_msgSend_395( - obj, - sel, - width, - ); + return __objc_msgSend_395(obj, sel, width); } late final __objc_msgSend_395Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Long)>>('objc_msgSend'); - late final __objc_msgSend_395 = __objc_msgSend_395Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_pathWithComponents_1 = _registerName1("pathWithComponents:"); - ffi.Pointer _objc_msgSend_396( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer components, - ) { - return __objc_msgSend_396( - obj, - sel, - components, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Long, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_395 = + __objc_msgSend_395Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_pathWithComponents_1 = objc.registerName( + "pathWithComponents:", + ); + ffi.Pointer _objc_msgSend_396( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer components, + ) { + return __objc_msgSend_396(obj, sel, components); } late final __objc_msgSend_396Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_396 = __objc_msgSend_396Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_isAbsolutePath1 = _registerName1("isAbsolutePath"); - late final _sel_stringByDeletingLastPathComponent1 = - _registerName1("stringByDeletingLastPathComponent"); - late final _sel_stringByAppendingPathComponent_1 = - _registerName1("stringByAppendingPathComponent:"); - late final _sel_stringByDeletingPathExtension1 = - _registerName1("stringByDeletingPathExtension"); - late final _sel_stringByAppendingPathExtension_1 = - _registerName1("stringByAppendingPathExtension:"); - late final _sel_stringByAbbreviatingWithTildeInPath1 = - _registerName1("stringByAbbreviatingWithTildeInPath"); - late final _sel_stringByExpandingTildeInPath1 = - _registerName1("stringByExpandingTildeInPath"); - late final _sel_stringByStandardizingPath1 = - _registerName1("stringByStandardizingPath"); - late final _sel_stringByResolvingSymlinksInPath1 = - _registerName1("stringByResolvingSymlinksInPath"); - late final _sel_stringsByAppendingPaths_1 = - _registerName1("stringsByAppendingPaths:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_396 = + __objc_msgSend_396Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_isAbsolutePath1 = objc.registerName("isAbsolutePath"); + late final _sel_stringByDeletingLastPathComponent1 = objc.registerName( + "stringByDeletingLastPathComponent", + ); + late final _sel_stringByAppendingPathComponent_1 = objc.registerName( + "stringByAppendingPathComponent:", + ); + late final _sel_stringByDeletingPathExtension1 = objc.registerName( + "stringByDeletingPathExtension", + ); + late final _sel_stringByAppendingPathExtension_1 = objc.registerName( + "stringByAppendingPathExtension:", + ); + late final _sel_stringByAbbreviatingWithTildeInPath1 = objc.registerName( + "stringByAbbreviatingWithTildeInPath", + ); + late final _sel_stringByExpandingTildeInPath1 = objc.registerName( + "stringByExpandingTildeInPath", + ); + late final _sel_stringByStandardizingPath1 = objc.registerName( + "stringByStandardizingPath", + ); + late final _sel_stringByResolvingSymlinksInPath1 = objc.registerName( + "stringByResolvingSymlinksInPath", + ); + late final _sel_stringsByAppendingPaths_1 = objc.registerName( + "stringsByAppendingPaths:", + ); late final _sel_completePathIntoString_caseSensitive_matchesIntoArray_filterTypes_1 = - _registerName1( - "completePathIntoString:caseSensitive:matchesIntoArray:filterTypes:"); + objc.registerName( + "completePathIntoString:caseSensitive:matchesIntoArray:filterTypes:", + ); int _objc_msgSend_397( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer> outputName, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer> outputName, bool flag, - ffi.Pointer> outputArray, - ffi.Pointer filterTypes, + ffi.Pointer> outputArray, + ffi.Pointer filterTypes, ) { return __objc_msgSend_397( obj, @@ -11327,122 +14224,155 @@ class SwiftLibrary { } late final __objc_msgSend_397Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Bool, - ffi.Pointer>, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_397 = __objc_msgSend_397Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - bool, - ffi.Pointer>, - ffi.Pointer)>(); - - late final _sel_stringByAddingPercentEncodingWithAllowedCharacters_1 = - _registerName1("stringByAddingPercentEncodingWithAllowedCharacters:"); - ffi.Pointer _objc_msgSend_398( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer allowedCharacters, - ) { - return __objc_msgSend_398( - obj, - sel, - allowedCharacters, - ); + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Bool, + ffi.Pointer>, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_397 = + __objc_msgSend_397Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + bool, + ffi.Pointer>, + ffi.Pointer, + ) + >(); + + late final _sel_stringByAddingPercentEncodingWithAllowedCharacters_1 = objc + .registerName("stringByAddingPercentEncodingWithAllowedCharacters:"); + ffi.Pointer _objc_msgSend_398( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer allowedCharacters, + ) { + return __objc_msgSend_398(obj, sel, allowedCharacters); } late final __objc_msgSend_398Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_398 = __objc_msgSend_398Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_stringByRemovingPercentEncoding1 = - _registerName1("stringByRemovingPercentEncoding"); - late final _sel_stringByAddingPercentEscapesUsingEncoding_1 = - _registerName1("stringByAddingPercentEscapesUsingEncoding:"); - ffi.Pointer _objc_msgSend_399( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_398 = + __objc_msgSend_398Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_stringByRemovingPercentEncoding1 = objc.registerName( + "stringByRemovingPercentEncoding", + ); + late final _sel_stringByAddingPercentEscapesUsingEncoding_1 = objc + .registerName("stringByAddingPercentEscapesUsingEncoding:"); + ffi.Pointer _objc_msgSend_399( + ffi.Pointer obj, + ffi.Pointer sel, int enc, ) { - return __objc_msgSend_399( - obj, - sel, - enc, - ); + return __objc_msgSend_399(obj, sel, enc); } late final __objc_msgSend_399Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.UnsignedLong)>>('objc_msgSend'); - late final __objc_msgSend_399 = __objc_msgSend_399Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_stringByReplacingPercentEscapesUsingEncoding_1 = - _registerName1("stringByReplacingPercentEscapesUsingEncoding:"); - late final _class_NSOrthography1 = _getClass1("NSOrthography"); - late final _sel_dominantScript1 = _registerName1("dominantScript"); - late final _sel_languageMap1 = _registerName1("languageMap"); - late final _sel_initWithDominantScript_languageMap_1 = - _registerName1("initWithDominantScript:languageMap:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_399 = + __objc_msgSend_399Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_stringByReplacingPercentEscapesUsingEncoding_1 = objc + .registerName("stringByReplacingPercentEscapesUsingEncoding:"); + late final _class_NSOrthography1 = objc.getClass("NSOrthography"); + late final _sel_dominantScript1 = objc.registerName("dominantScript"); + late final _sel_languageMap1 = objc.registerName("languageMap"); + late final _sel_initWithDominantScript_languageMap_1 = objc.registerName( + "initWithDominantScript:languageMap:", + ); instancetype _objc_msgSend_400( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer script, - ffi.Pointer map, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer script, + ffi.Pointer map, ) { - return __objc_msgSend_400( - obj, - sel, - script, - map, - ); + return __objc_msgSend_400(obj, sel, script, map); } late final __objc_msgSend_400Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_400 = __objc_msgSend_400Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_languagesForScript_1 = _registerName1("languagesForScript:"); - late final _sel_dominantLanguageForScript_1 = - _registerName1("dominantLanguageForScript:"); - late final _sel_dominantLanguage1 = _registerName1("dominantLanguage"); - late final _sel_allScripts1 = _registerName1("allScripts"); - late final _sel_allLanguages1 = _registerName1("allLanguages"); - late final _sel_defaultOrthographyForLanguage_1 = - _registerName1("defaultOrthographyForLanguage:"); - late final _sel_orthographyWithDominantScript_languageMap_1 = - _registerName1("orthographyWithDominantScript:languageMap:"); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_400 = + __objc_msgSend_400Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_languagesForScript_1 = objc.registerName( + "languagesForScript:", + ); + late final _sel_dominantLanguageForScript_1 = objc.registerName( + "dominantLanguageForScript:", + ); + late final _sel_dominantLanguage1 = objc.registerName("dominantLanguage"); + late final _sel_allScripts1 = objc.registerName("allScripts"); + late final _sel_allLanguages1 = objc.registerName("allLanguages"); + late final _sel_defaultOrthographyForLanguage_1 = objc.registerName( + "defaultOrthographyForLanguage:", + ); + late final _sel_orthographyWithDominantScript_languageMap_1 = objc + .registerName("orthographyWithDominantScript:languageMap:"); late final _sel_linguisticTagsInRange_scheme_options_orthography_tokenRanges_1 = - _registerName1( - "linguisticTagsInRange:scheme:options:orthography:tokenRanges:"); - ffi.Pointer _objc_msgSend_401( - ffi.Pointer obj, - ffi.Pointer sel, + objc.registerName( + "linguisticTagsInRange:scheme:options:orthography:tokenRanges:", + ); + ffi.Pointer _objc_msgSend_401( + ffi.Pointer obj, + ffi.Pointer sel, _NSRange range, - ffi.Pointer scheme, + ffi.Pointer scheme, int options, - ffi.Pointer orthography, - ffi.Pointer> tokenRanges, + ffi.Pointer orthography, + ffi.Pointer> tokenRanges, ) { return __objc_msgSend_401( obj, @@ -11456,36 +14386,44 @@ class SwiftLibrary { } late final __objc_msgSend_401Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_401 = + __objc_msgSend_401Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, _NSRange, - ffi.Pointer, - ffi.Int32, - ffi.Pointer, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_401 = __objc_msgSend_401Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - int, - ffi.Pointer, - ffi.Pointer>)>(); + ffi.Pointer, + int, + ffi.Pointer, + ffi.Pointer>, + ) + >(); late final _sel_enumerateLinguisticTagsInRange_scheme_options_orthography_usingBlock_1 = - _registerName1( - "enumerateLinguisticTagsInRange:scheme:options:orthography:usingBlock:"); + objc.registerName( + "enumerateLinguisticTagsInRange:scheme:options:orthography:usingBlock:", + ); void _objc_msgSend_402( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, _NSRange range, - ffi.Pointer scheme, + ffi.Pointer scheme, int options, - ffi.Pointer orthography, - ffi.Pointer<_ObjCBlock> block, + ffi.Pointer orthography, + ffi.Pointer block, ) { return __objc_msgSend_402( obj, @@ -11499,528 +14437,705 @@ class SwiftLibrary { } late final __objc_msgSend_402Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_402 = + __objc_msgSend_402Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, _NSRange, - ffi.Pointer, - ffi.Int32, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_402 = __objc_msgSend_402Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - int, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_anyObject1 = _registerName1("anyObject"); - late final _sel_intersectsSet_1 = _registerName1("intersectsSet:"); + ffi.Pointer, + int, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_anyObject1 = objc.registerName("anyObject"); + late final _sel_intersectsSet_1 = objc.registerName("intersectsSet:"); bool _objc_msgSend_403( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer otherSet, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer otherSet, ) { - return __objc_msgSend_403( - obj, - sel, - otherSet, - ); + return __objc_msgSend_403(obj, sel, otherSet); } late final __objc_msgSend_403Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_403 = __objc_msgSend_403Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_isEqualToSet_1 = _registerName1("isEqualToSet:"); - late final _sel_isSubsetOfSet_1 = _registerName1("isSubsetOfSet:"); - late final _sel_setByAddingObject_1 = _registerName1("setByAddingObject:"); - ffi.Pointer _objc_msgSend_404( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer anObject, - ) { - return __objc_msgSend_404( - obj, - sel, - anObject, - ); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_403 = + __objc_msgSend_403Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_isEqualToSet_1 = objc.registerName("isEqualToSet:"); + late final _sel_isSubsetOfSet_1 = objc.registerName("isSubsetOfSet:"); + late final _sel_setByAddingObject_1 = objc.registerName("setByAddingObject:"); + ffi.Pointer _objc_msgSend_404( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer anObject, + ) { + return __objc_msgSend_404(obj, sel, anObject); } late final __objc_msgSend_404Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_404 = __objc_msgSend_404Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_setByAddingObjectsFromSet_1 = - _registerName1("setByAddingObjectsFromSet:"); - ffi.Pointer _objc_msgSend_405( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer other, - ) { - return __objc_msgSend_405( - obj, - sel, - other, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_404 = + __objc_msgSend_404Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_setByAddingObjectsFromSet_1 = objc.registerName( + "setByAddingObjectsFromSet:", + ); + ffi.Pointer _objc_msgSend_405( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer other, + ) { + return __objc_msgSend_405(obj, sel, other); } late final __objc_msgSend_405Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_405 = __objc_msgSend_405Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_setByAddingObjectsFromArray_1 = - _registerName1("setByAddingObjectsFromArray:"); - ffi.Pointer _objc_msgSend_406( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer other, - ) { - return __objc_msgSend_406( - obj, - sel, - other, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_405 = + __objc_msgSend_405Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_setByAddingObjectsFromArray_1 = objc.registerName( + "setByAddingObjectsFromArray:", + ); + ffi.Pointer _objc_msgSend_406( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer other, + ) { + return __objc_msgSend_406(obj, sel, other); } late final __objc_msgSend_406Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_406 = __objc_msgSend_406Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_406 = + __objc_msgSend_406Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); void _objc_msgSend_407( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer<_ObjCBlock> block, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer block, ) { - return __objc_msgSend_407( - obj, - sel, - block, - ); + return __objc_msgSend_407(obj, sel, block); } late final __objc_msgSend_407Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_407 = __objc_msgSend_407Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_407 = + __objc_msgSend_407Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); void _objc_msgSend_408( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int opts, - ffi.Pointer<_ObjCBlock> block, + ffi.Pointer block, ) { - return __objc_msgSend_408( - obj, - sel, - opts, - block, - ); + return __objc_msgSend_408(obj, sel, opts, block); } late final __objc_msgSend_408Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Int32, ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_408 = __objc_msgSend_408Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int, - ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_objectsPassingTest_1 = _registerName1("objectsPassingTest:"); - ffi.Pointer _objc_msgSend_409( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer<_ObjCBlock> predicate, - ) { - return __objc_msgSend_409( - obj, - sel, - predicate, - ); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_408 = + __objc_msgSend_408Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ) + >(); + + late final _sel_objectsPassingTest_1 = objc.registerName( + "objectsPassingTest:", + ); + ffi.Pointer _objc_msgSend_409( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer predicate, + ) { + return __objc_msgSend_409(obj, sel, predicate); } late final __objc_msgSend_409Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_409 = __objc_msgSend_409Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_objectsWithOptions_passingTest_1 = - _registerName1("objectsWithOptions:passingTest:"); - ffi.Pointer _objc_msgSend_410( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_409 = + __objc_msgSend_409Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_objectsWithOptions_passingTest_1 = objc.registerName( + "objectsWithOptions:passingTest:", + ); + ffi.Pointer _objc_msgSend_410( + ffi.Pointer obj, + ffi.Pointer sel, int opts, - ffi.Pointer<_ObjCBlock> predicate, + ffi.Pointer predicate, ) { - return __objc_msgSend_410( - obj, - sel, - opts, - predicate, - ); + return __objc_msgSend_410(obj, sel, opts, predicate); } late final __objc_msgSend_410Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_410 = __objc_msgSend_410Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, int, ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_set1 = _registerName1("set"); - late final _sel_setWithObject_1 = _registerName1("setWithObject:"); - late final _sel_setWithObjects_count_1 = - _registerName1("setWithObjects:count:"); - late final _sel_setWithObjects_1 = _registerName1("setWithObjects:"); - late final _sel_setWithSet_1 = _registerName1("setWithSet:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_410 = + __objc_msgSend_410Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ) + >(); + + late final _sel_set1 = objc.registerName("set"); + late final _sel_setWithObject_1 = objc.registerName("setWithObject:"); + late final _sel_setWithObjects_count_1 = objc.registerName( + "setWithObjects:count:", + ); + late final _sel_setWithObjects_1 = objc.registerName("setWithObjects:"); + late final _sel_setWithSet_1 = objc.registerName("setWithSet:"); instancetype _objc_msgSend_411( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer set1, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer set1, ) { - return __objc_msgSend_411( - obj, - sel, - set1, - ); + return __objc_msgSend_411(obj, sel, set1); } late final __objc_msgSend_411Ptr = _lookup< - ffi.NativeFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_411 = __objc_msgSend_411Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_setWithArray_1 = _registerName1("setWithArray:"); - late final _sel_initWithSet_1 = _registerName1("initWithSet:"); - late final _sel_initWithSet_copyItems_1 = - _registerName1("initWithSet:copyItems:"); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_411 = + __objc_msgSend_411Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_setWithArray_1 = objc.registerName("setWithArray:"); + late final _sel_initWithSet_1 = objc.registerName("initWithSet:"); + late final _sel_initWithSet_copyItems_1 = objc.registerName( + "initWithSet:copyItems:", + ); instancetype _objc_msgSend_412( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer set1, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer set1, bool flag, ) { - return __objc_msgSend_412( - obj, - sel, - set1, - flag, - ); + return __objc_msgSend_412(obj, sel, set1, flag); } late final __objc_msgSend_412Ptr = _lookup< - ffi.NativeFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Bool)>>('objc_msgSend'); - late final __objc_msgSend_412 = __objc_msgSend_412Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, bool)>(); - - late final _sel_filteredSetUsingPredicate_1 = - _registerName1("filteredSetUsingPredicate:"); - ffi.Pointer _objc_msgSend_413( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer predicate, - ) { - return __objc_msgSend_413( - obj, - sel, - predicate, - ); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_412 = + __objc_msgSend_412Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool, + ) + >(); + + late final _sel_filteredSetUsingPredicate_1 = objc.registerName( + "filteredSetUsingPredicate:", + ); + ffi.Pointer _objc_msgSend_413( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer predicate, + ) { + return __objc_msgSend_413(obj, sel, predicate); } late final __objc_msgSend_413Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_413 = __objc_msgSend_413Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_invocationWithMethodSignature_1 = - _registerName1("invocationWithMethodSignature:"); - ffi.Pointer _objc_msgSend_414( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer sig, - ) { - return __objc_msgSend_414( - obj, - sel, - sig, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_413 = + __objc_msgSend_413Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_invocationWithMethodSignature_1 = objc.registerName( + "invocationWithMethodSignature:", + ); + ffi.Pointer _objc_msgSend_414( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer sig, + ) { + return __objc_msgSend_414(obj, sel, sig); } late final __objc_msgSend_414Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_414 = __objc_msgSend_414Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_methodSignature1 = _registerName1("methodSignature"); - ffi.Pointer _objc_msgSend_415( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_415( - obj, - sel, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_414 = + __objc_msgSend_414Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_methodSignature1 = objc.registerName("methodSignature"); + ffi.Pointer _objc_msgSend_415( + ffi.Pointer obj, + ffi.Pointer sel, + ) { + return __objc_msgSend_415(obj, sel); } late final __objc_msgSend_415Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_415 = __objc_msgSend_415Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_retainArguments1 = _registerName1("retainArguments"); - late final _sel_argumentsRetained1 = _registerName1("argumentsRetained"); - late final _sel_target1 = _registerName1("target"); - late final _sel_setTarget_1 = _registerName1("setTarget:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_415 = + __objc_msgSend_415Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_retainArguments1 = objc.registerName("retainArguments"); + late final _sel_argumentsRetained1 = objc.registerName("argumentsRetained"); + late final _sel_target1 = objc.registerName("target"); + late final _sel_setTarget_1 = objc.registerName("setTarget:"); void _objc_msgSend_416( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value, ) { - return __objc_msgSend_416( - obj, - sel, - value, - ); + return __objc_msgSend_416(obj, sel, value); } late final __objc_msgSend_416Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_416 = __objc_msgSend_416Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_selector1 = _registerName1("selector"); - ffi.Pointer _objc_msgSend_417( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_417( - obj, - sel, - ); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_416 = + __objc_msgSend_416Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_selector1 = objc.registerName("selector"); + ffi.Pointer _objc_msgSend_417( + ffi.Pointer obj, + ffi.Pointer sel, + ) { + return __objc_msgSend_417(obj, sel); } late final __objc_msgSend_417Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_417 = __objc_msgSend_417Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_417 = + __objc_msgSend_417Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); - late final _sel_setSelector_1 = _registerName1("setSelector:"); + late final _sel_setSelector_1 = objc.registerName("setSelector:"); void _objc_msgSend_418( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value, ) { - return __objc_msgSend_418( - obj, - sel, - value, - ); + return __objc_msgSend_418(obj, sel, value); } late final __objc_msgSend_418Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_418 = __objc_msgSend_418Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_getReturnValue_1 = _registerName1("getReturnValue:"); - late final _sel_setReturnValue_1 = _registerName1("setReturnValue:"); - late final _sel_getArgument_atIndex_1 = - _registerName1("getArgument:atIndex:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_418 = + __objc_msgSend_418Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_getReturnValue_1 = objc.registerName("getReturnValue:"); + late final _sel_setReturnValue_1 = objc.registerName("setReturnValue:"); + late final _sel_getArgument_atIndex_1 = objc.registerName( + "getArgument:atIndex:", + ); void _objc_msgSend_419( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ffi.Pointer argumentLocation, int idx, ) { - return __objc_msgSend_419( - obj, - sel, - argumentLocation, - idx, - ); + return __objc_msgSend_419(obj, sel, argumentLocation, idx); } late final __objc_msgSend_419Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Long)>>('objc_msgSend'); - late final __objc_msgSend_419 = __objc_msgSend_419Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int)>(); - - late final _sel_setArgument_atIndex_1 = - _registerName1("setArgument:atIndex:"); - late final _sel_invoke1 = _registerName1("invoke"); - late final _sel_invokeWithTarget_1 = _registerName1("invokeWithTarget:"); - late final _sel_invokeUsingIMP_1 = _registerName1("invokeUsingIMP:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Long, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_419 = + __objc_msgSend_419Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_setArgument_atIndex_1 = objc.registerName( + "setArgument:atIndex:", + ); + late final _sel_invoke1 = objc.registerName("invoke"); + late final _sel_invokeWithTarget_1 = objc.registerName("invokeWithTarget:"); + late final _sel_invokeUsingIMP_1 = objc.registerName("invokeUsingIMP:"); void _objc_msgSend_420( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ffi.Pointer> imp, ) { - return __objc_msgSend_420( - obj, - sel, - imp, - ); + return __objc_msgSend_420(obj, sel, imp); } late final __objc_msgSend_420Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer>)>>( - 'objc_msgSend'); - late final __objc_msgSend_420 = __objc_msgSend_420Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer>)>(); - - late final _sel_forwardInvocation_1 = _registerName1("forwardInvocation:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_420 = + __objc_msgSend_420Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + >(); + + late final _sel_forwardInvocation_1 = objc.registerName("forwardInvocation:"); void _objc_msgSend_421( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer anInvocation, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer anInvocation, ) { - return __objc_msgSend_421( - obj, - sel, - anInvocation, - ); + return __objc_msgSend_421(obj, sel, anInvocation); } late final __objc_msgSend_421Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_421 = __objc_msgSend_421Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_methodSignatureForSelector_1 = - _registerName1("methodSignatureForSelector:"); - ffi.Pointer _objc_msgSend_422( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aSelector, - ) { - return __objc_msgSend_422( - obj, - sel, - aSelector, - ); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_421 = + __objc_msgSend_421Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_methodSignatureForSelector_1 = objc.registerName( + "methodSignatureForSelector:", + ); + ffi.Pointer _objc_msgSend_422( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer aSelector, + ) { + return __objc_msgSend_422(obj, sel, aSelector); } late final __objc_msgSend_422Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_422 = __objc_msgSend_422Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_instanceMethodSignatureForSelector_1 = - _registerName1("instanceMethodSignatureForSelector:"); - late final _sel_allowsWeakReference1 = _registerName1("allowsWeakReference"); - late final _sel_retainWeakReference1 = _registerName1("retainWeakReference"); - late final _sel_isSubclassOfClass_1 = _registerName1("isSubclassOfClass:"); - late final _sel_resolveClassMethod_1 = _registerName1("resolveClassMethod:"); - late final _sel_resolveInstanceMethod_1 = - _registerName1("resolveInstanceMethod:"); - late final _sel_superclass1 = _registerName1("superclass"); - late final _sel_class1 = _registerName1("class"); - late final _sel_debugDescription1 = _registerName1("debugDescription"); - late final _sel_version1 = _registerName1("version"); - late final _sel_setVersion_1 = _registerName1("setVersion:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_422 = + __objc_msgSend_422Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_instanceMethodSignatureForSelector_1 = objc.registerName( + "instanceMethodSignatureForSelector:", + ); + late final _sel_allowsWeakReference1 = objc.registerName( + "allowsWeakReference", + ); + late final _sel_retainWeakReference1 = objc.registerName( + "retainWeakReference", + ); + late final _sel_isSubclassOfClass_1 = objc.registerName("isSubclassOfClass:"); + late final _sel_resolveClassMethod_1 = objc.registerName( + "resolveClassMethod:", + ); + late final _sel_resolveInstanceMethod_1 = objc.registerName( + "resolveInstanceMethod:", + ); + late final _sel_superclass1 = objc.registerName("superclass"); + late final _sel_class1 = objc.registerName("class"); + late final _sel_debugDescription1 = objc.registerName("debugDescription"); + late final _sel_version1 = objc.registerName("version"); + late final _sel_setVersion_1 = objc.registerName("setVersion:"); void _objc_msgSend_423( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int aVersion, ) { - return __objc_msgSend_423( - obj, - sel, - aVersion, - ); + return __objc_msgSend_423(obj, sel, aVersion); } late final __objc_msgSend_423Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Long)>>('objc_msgSend'); - late final __objc_msgSend_423 = __objc_msgSend_423Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_classForCoder1 = _registerName1("classForCoder"); - late final _sel_replacementObjectForCoder_1 = - _registerName1("replacementObjectForCoder:"); - late final _sel_awakeAfterUsingCoder_1 = - _registerName1("awakeAfterUsingCoder:"); - late final _sel_poseAsClass_1 = _registerName1("poseAsClass:"); - late final _sel_autoContentAccessingProxy1 = - _registerName1("autoContentAccessingProxy"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Long, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_423 = + __objc_msgSend_423Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_classForCoder1 = objc.registerName("classForCoder"); + late final _sel_replacementObjectForCoder_1 = objc.registerName( + "replacementObjectForCoder:", + ); + late final _sel_awakeAfterUsingCoder_1 = objc.registerName( + "awakeAfterUsingCoder:", + ); + late final _sel_poseAsClass_1 = objc.registerName("poseAsClass:"); + late final _sel_autoContentAccessingProxy1 = objc.registerName( + "autoContentAccessingProxy", + ); late final _sel_attemptRecoveryFromError_optionIndex_delegate_didRecoverSelector_contextInfo_1 = - _registerName1( - "attemptRecoveryFromError:optionIndex:delegate:didRecoverSelector:contextInfo:"); + objc.registerName( + "attemptRecoveryFromError:optionIndex:delegate:didRecoverSelector:contextInfo:", + ); void _objc_msgSend_424( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer error, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer error, int recoveryOptionIndex, - ffi.Pointer delegate, - ffi.Pointer didRecoverSelector, + ffi.Pointer delegate, + ffi.Pointer didRecoverSelector, ffi.Pointer contextInfo, ) { return __objc_msgSend_424( @@ -12035,347 +15150,418 @@ class SwiftLibrary { } late final __objc_msgSend_424Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_424 = __objc_msgSend_424Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_424 = + __objc_msgSend_424Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); - late final _sel_attemptRecoveryFromError_optionIndex_1 = - _registerName1("attemptRecoveryFromError:optionIndex:"); + late final _sel_attemptRecoveryFromError_optionIndex_1 = objc.registerName( + "attemptRecoveryFromError:optionIndex:", + ); bool _objc_msgSend_425( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer error, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer error, int recoveryOptionIndex, ) { - return __objc_msgSend_425( - obj, - sel, - error, - recoveryOptionIndex, - ); + return __objc_msgSend_425(obj, sel, error, recoveryOptionIndex); } late final __objc_msgSend_425Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.UnsignedLong)>>('objc_msgSend'); - late final __objc_msgSend_425 = __objc_msgSend_425Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int)>(); - - late final _sel_performSelector_withObject_afterDelay_inModes_1 = - _registerName1("performSelector:withObject:afterDelay:inModes:"); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_425 = + __objc_msgSend_425Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_performSelector_withObject_afterDelay_inModes_1 = objc + .registerName("performSelector:withObject:afterDelay:inModes:"); void _objc_msgSend_426( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aSelector, - ffi.Pointer anArgument, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer aSelector, + ffi.Pointer anArgument, double delay, - ffi.Pointer modes, + ffi.Pointer modes, ) { - return __objc_msgSend_426( - obj, - sel, - aSelector, - anArgument, - delay, - modes, - ); + return __objc_msgSend_426(obj, sel, aSelector, anArgument, delay, modes); } late final __objc_msgSend_426Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Double, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_426 = __objc_msgSend_426Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - double, - ffi.Pointer)>(); - - late final _sel_performSelector_withObject_afterDelay_1 = - _registerName1("performSelector:withObject:afterDelay:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Double, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_426 = + __objc_msgSend_426Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + double, + ffi.Pointer, + ) + >(); + + late final _sel_performSelector_withObject_afterDelay_1 = objc.registerName( + "performSelector:withObject:afterDelay:", + ); void _objc_msgSend_427( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aSelector, - ffi.Pointer anArgument, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer aSelector, + ffi.Pointer anArgument, double delay, ) { - return __objc_msgSend_427( - obj, - sel, - aSelector, - anArgument, - delay, - ); + return __objc_msgSend_427(obj, sel, aSelector, anArgument, delay); } late final __objc_msgSend_427Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Double)>>('objc_msgSend'); - late final __objc_msgSend_427 = __objc_msgSend_427Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer, double)>(); - - late final _sel_URL_resourceDataDidBecomeAvailable_1 = - _registerName1("URL:resourceDataDidBecomeAvailable:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Double, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_427 = + __objc_msgSend_427Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + double, + ) + >(); + + late final _sel_URL_resourceDataDidBecomeAvailable_1 = objc.registerName( + "URL:resourceDataDidBecomeAvailable:", + ); void _objc_msgSend_428( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer sender, - ffi.Pointer newBytes, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer sender, + ffi.Pointer newBytes, ) { - return __objc_msgSend_428( - obj, - sel, - sender, - newBytes, - ); + return __objc_msgSend_428(obj, sel, sender, newBytes); } late final __objc_msgSend_428Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_428 = __objc_msgSend_428Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_URLResourceDidFinishLoading_1 = - _registerName1("URLResourceDidFinishLoading:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_428 = + __objc_msgSend_428Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_URLResourceDidFinishLoading_1 = objc.registerName( + "URLResourceDidFinishLoading:", + ); void _objc_msgSend_429( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer sender, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer sender, ) { - return __objc_msgSend_429( - obj, - sel, - sender, - ); + return __objc_msgSend_429(obj, sel, sender); } late final __objc_msgSend_429Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_429 = __objc_msgSend_429Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_URLResourceDidCancelLoading_1 = - _registerName1("URLResourceDidCancelLoading:"); - late final _sel_URL_resourceDidFailLoadingWithReason_1 = - _registerName1("URL:resourceDidFailLoadingWithReason:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_429 = + __objc_msgSend_429Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_URLResourceDidCancelLoading_1 = objc.registerName( + "URLResourceDidCancelLoading:", + ); + late final _sel_URL_resourceDidFailLoadingWithReason_1 = objc.registerName( + "URL:resourceDidFailLoadingWithReason:", + ); void _objc_msgSend_430( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer sender, - ffi.Pointer reason, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer sender, + ffi.Pointer reason, ) { - return __objc_msgSend_430( - obj, - sel, - sender, - reason, - ); + return __objc_msgSend_430(obj, sel, sender, reason); } late final __objc_msgSend_430Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_430 = __objc_msgSend_430Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _class_NSFileManager1 = _getClass1("NSFileManager"); - late final _sel_defaultManager1 = _registerName1("defaultManager"); - ffi.Pointer _objc_msgSend_431( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_431( - obj, - sel, - ); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_430 = + __objc_msgSend_430Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _class_NSFileManager1 = objc.getClass("NSFileManager"); + late final _sel_defaultManager1 = objc.registerName("defaultManager"); + ffi.Pointer _objc_msgSend_431( + ffi.Pointer obj, + ffi.Pointer sel, + ) { + return __objc_msgSend_431(obj, sel); } late final __objc_msgSend_431Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_431 = __objc_msgSend_431Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_431 = + __objc_msgSend_431Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_mountedVolumeURLsIncludingResourceValuesForKeys_options_1 = - _registerName1( - "mountedVolumeURLsIncludingResourceValuesForKeys:options:"); - ffi.Pointer _objc_msgSend_432( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer propertyKeys, + objc.registerName( + "mountedVolumeURLsIncludingResourceValuesForKeys:options:", + ); + ffi.Pointer _objc_msgSend_432( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer propertyKeys, int options, ) { - return __objc_msgSend_432( - obj, - sel, - propertyKeys, - options, - ); + return __objc_msgSend_432(obj, sel, propertyKeys, options); } late final __objc_msgSend_432Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_432 = __objc_msgSend_432Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_unmountVolumeAtURL_options_completionHandler_1 = - _registerName1("unmountVolumeAtURL:options:completionHandler:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_432 = + __objc_msgSend_432Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_unmountVolumeAtURL_options_completionHandler_1 = objc + .registerName("unmountVolumeAtURL:options:completionHandler:"); void _objc_msgSend_433( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer url, int mask, - ffi.Pointer<_ObjCBlock> completionHandler, + ffi.Pointer completionHandler, ) { - return __objc_msgSend_433( - obj, - sel, - url, - mask, - completionHandler, - ); + return __objc_msgSend_433(obj, sel, url, mask, completionHandler); } late final __objc_msgSend_433Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_433 = __objc_msgSend_433Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int, ffi.Pointer<_ObjCBlock>)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_433 = + __objc_msgSend_433Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ) + >(); late final _sel_contentsOfDirectoryAtURL_includingPropertiesForKeys_options_error_1 = - _registerName1( - "contentsOfDirectoryAtURL:includingPropertiesForKeys:options:error:"); - ffi.Pointer _objc_msgSend_434( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, - ffi.Pointer keys, + objc.registerName( + "contentsOfDirectoryAtURL:includingPropertiesForKeys:options:error:", + ); + ffi.Pointer _objc_msgSend_434( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer url, + ffi.Pointer keys, int mask, - ffi.Pointer> error, + ffi.Pointer> error, ) { - return __objc_msgSend_434( - obj, - sel, - url, - keys, - mask, - error, - ); + return __objc_msgSend_434(obj, sel, url, keys, mask, error); } late final __objc_msgSend_434Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_434 = __objc_msgSend_434Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>)>(); - - late final _sel_URLsForDirectory_inDomains_1 = - _registerName1("URLsForDirectory:inDomains:"); - ffi.Pointer _objc_msgSend_435( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_434 = + __objc_msgSend_434Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer>, + ) + >(); + + late final _sel_URLsForDirectory_inDomains_1 = objc.registerName( + "URLsForDirectory:inDomains:", + ); + ffi.Pointer _objc_msgSend_435( + ffi.Pointer obj, + ffi.Pointer sel, int directory, int domainMask, ) { - return __objc_msgSend_435( - obj, - sel, - directory, - domainMask, - ); + return __objc_msgSend_435(obj, sel, directory, domainMask); } late final __objc_msgSend_435Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Int32, ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_435 = __objc_msgSend_435Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer, int, int)>(); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_435 = + __objc_msgSend_435Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + int, + ) + >(); late final _sel_URLForDirectory_inDomain_appropriateForURL_create_error_1 = - _registerName1( - "URLForDirectory:inDomain:appropriateForURL:create:error:"); - ffi.Pointer _objc_msgSend_436( - ffi.Pointer obj, - ffi.Pointer sel, + objc.registerName( + "URLForDirectory:inDomain:appropriateForURL:create:error:", + ); + ffi.Pointer _objc_msgSend_436( + ffi.Pointer obj, + ffi.Pointer sel, int directory, int domain, - ffi.Pointer url, + ffi.Pointer url, bool shouldCreate, - ffi.Pointer> error, + ffi.Pointer> error, ) { return __objc_msgSend_436( obj, @@ -12389,34 +15575,41 @@ class SwiftLibrary { } late final __objc_msgSend_436Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Int32, - ffi.Pointer, - ffi.Bool, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_436 = __objc_msgSend_436Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - int, - ffi.Pointer, - bool, - ffi.Pointer>)>(); - - late final _sel_getRelationship_ofDirectoryAtURL_toItemAtURL_error_1 = - _registerName1("getRelationship:ofDirectoryAtURL:toItemAtURL:error:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Int32, + ffi.Pointer, + ffi.Bool, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_436 = + __objc_msgSend_436Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + int, + ffi.Pointer, + bool, + ffi.Pointer>, + ) + >(); + + late final _sel_getRelationship_ofDirectoryAtURL_toItemAtURL_error_1 = objc + .registerName("getRelationship:ofDirectoryAtURL:toItemAtURL:error:"); bool _objc_msgSend_437( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ffi.Pointer outRelationship, - ffi.Pointer directoryURL, - ffi.Pointer otherURL, - ffi.Pointer> error, + ffi.Pointer directoryURL, + ffi.Pointer otherURL, + ffi.Pointer> error, ) { return __objc_msgSend_437( obj, @@ -12429,33 +15622,42 @@ class SwiftLibrary { } late final __objc_msgSend_437Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_437 = + __objc_msgSend_437Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_437 = __objc_msgSend_437Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>(); + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + >(); late final _sel_getRelationship_ofDirectory_inDomain_toItemAtURL_error_1 = - _registerName1("getRelationship:ofDirectory:inDomain:toItemAtURL:error:"); + objc.registerName( + "getRelationship:ofDirectory:inDomain:toItemAtURL:error:", + ); bool _objc_msgSend_438( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ffi.Pointer outRelationship, int directory, int domainMask, - ffi.Pointer url, - ffi.Pointer> error, + ffi.Pointer url, + ffi.Pointer> error, ) { return __objc_msgSend_438( obj, @@ -12469,35 +15671,43 @@ class SwiftLibrary { } late final __objc_msgSend_438Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Int32, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_438 = + __objc_msgSend_438Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, ffi.Pointer, - ffi.Int32, - ffi.Int32, - ffi.Pointer, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_438 = __objc_msgSend_438Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - int, - ffi.Pointer, - ffi.Pointer>)>(); + int, + int, + ffi.Pointer, + ffi.Pointer>, + ) + >(); late final _sel_createDirectoryAtURL_withIntermediateDirectories_attributes_error_1 = - _registerName1( - "createDirectoryAtURL:withIntermediateDirectories:attributes:error:"); + objc.registerName( + "createDirectoryAtURL:withIntermediateDirectories:attributes:error:", + ); bool _objc_msgSend_439( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer url, bool createIntermediates, - ffi.Pointer attributes, - ffi.Pointer> error, + ffi.Pointer attributes, + ffi.Pointer> error, ) { return __objc_msgSend_439( obj, @@ -12510,103 +15720,114 @@ class SwiftLibrary { } late final __objc_msgSend_439Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - ffi.Pointer, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_439 = __objc_msgSend_439Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - ffi.Pointer, - ffi.Pointer>)>(); - - late final _sel_createSymbolicLinkAtURL_withDestinationURL_error_1 = - _registerName1("createSymbolicLinkAtURL:withDestinationURL:error:"); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_439 = + __objc_msgSend_439Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool, + ffi.Pointer, + ffi.Pointer>, + ) + >(); + + late final _sel_createSymbolicLinkAtURL_withDestinationURL_error_1 = objc + .registerName("createSymbolicLinkAtURL:withDestinationURL:error:"); bool _objc_msgSend_440( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, - ffi.Pointer destURL, - ffi.Pointer> error, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer url, + ffi.Pointer destURL, + ffi.Pointer> error, ) { - return __objc_msgSend_440( - obj, - sel, - url, - destURL, - error, - ); + return __objc_msgSend_440(obj, sel, url, destURL, error); } late final __objc_msgSend_440Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_440 = __objc_msgSend_440Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>(); - - late final _sel_delegate1 = _registerName1("delegate"); - late final _sel_setDelegate_1 = _registerName1("setDelegate:"); - late final _sel_setAttributes_ofItemAtPath_error_1 = - _registerName1("setAttributes:ofItemAtPath:error:"); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_440 = + __objc_msgSend_440Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + >(); + + late final _sel_delegate1 = objc.registerName("delegate"); + late final _sel_setDelegate_1 = objc.registerName("setDelegate:"); + late final _sel_setAttributes_ofItemAtPath_error_1 = objc.registerName( + "setAttributes:ofItemAtPath:error:", + ); bool _objc_msgSend_441( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer attributes, - ffi.Pointer path, - ffi.Pointer> error, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer attributes, + ffi.Pointer path, + ffi.Pointer> error, ) { - return __objc_msgSend_441( - obj, - sel, - attributes, - path, - error, - ); + return __objc_msgSend_441(obj, sel, attributes, path, error); } late final __objc_msgSend_441Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_441 = __objc_msgSend_441Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>(); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_441 = + __objc_msgSend_441Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + >(); late final _sel_createDirectoryAtPath_withIntermediateDirectories_attributes_error_1 = - _registerName1( - "createDirectoryAtPath:withIntermediateDirectories:attributes:error:"); + objc.registerName( + "createDirectoryAtPath:withIntermediateDirectories:attributes:error:", + ); bool _objc_msgSend_442( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer path, bool createIntermediates, - ffi.Pointer attributes, - ffi.Pointer> error, + ffi.Pointer attributes, + ffi.Pointer> error, ) { return __objc_msgSend_442( obj, @@ -12619,604 +15840,716 @@ class SwiftLibrary { } late final __objc_msgSend_442Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - ffi.Pointer, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_442 = __objc_msgSend_442Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - ffi.Pointer, - ffi.Pointer>)>(); - - late final _sel_contentsOfDirectoryAtPath_error_1 = - _registerName1("contentsOfDirectoryAtPath:error:"); - ffi.Pointer _objc_msgSend_443( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, - ffi.Pointer> error, - ) { - return __objc_msgSend_443( - obj, - sel, - path, - error, - ); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_442 = + __objc_msgSend_442Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool, + ffi.Pointer, + ffi.Pointer>, + ) + >(); + + late final _sel_contentsOfDirectoryAtPath_error_1 = objc.registerName( + "contentsOfDirectoryAtPath:error:", + ); + ffi.Pointer _objc_msgSend_443( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer path, + ffi.Pointer> error, + ) { + return __objc_msgSend_443(obj, sel, path, error); } late final __objc_msgSend_443Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_443 = __objc_msgSend_443Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>(); - - late final _sel_subpathsOfDirectoryAtPath_error_1 = - _registerName1("subpathsOfDirectoryAtPath:error:"); - late final _sel_attributesOfItemAtPath_error_1 = - _registerName1("attributesOfItemAtPath:error:"); - ffi.Pointer _objc_msgSend_444( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, - ffi.Pointer> error, - ) { - return __objc_msgSend_444( - obj, - sel, - path, - error, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_443 = + __objc_msgSend_443Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + >(); + + late final _sel_subpathsOfDirectoryAtPath_error_1 = objc.registerName( + "subpathsOfDirectoryAtPath:error:", + ); + late final _sel_attributesOfItemAtPath_error_1 = objc.registerName( + "attributesOfItemAtPath:error:", + ); + ffi.Pointer _objc_msgSend_444( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer path, + ffi.Pointer> error, + ) { + return __objc_msgSend_444(obj, sel, path, error); } late final __objc_msgSend_444Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_444 = __objc_msgSend_444Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>(); - - late final _sel_attributesOfFileSystemForPath_error_1 = - _registerName1("attributesOfFileSystemForPath:error:"); - late final _sel_createSymbolicLinkAtPath_withDestinationPath_error_1 = - _registerName1("createSymbolicLinkAtPath:withDestinationPath:error:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_444 = + __objc_msgSend_444Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + >(); + + late final _sel_attributesOfFileSystemForPath_error_1 = objc.registerName( + "attributesOfFileSystemForPath:error:", + ); + late final _sel_createSymbolicLinkAtPath_withDestinationPath_error_1 = objc + .registerName("createSymbolicLinkAtPath:withDestinationPath:error:"); bool _objc_msgSend_445( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, - ffi.Pointer destPath, - ffi.Pointer> error, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer path, + ffi.Pointer destPath, + ffi.Pointer> error, ) { - return __objc_msgSend_445( - obj, - sel, - path, - destPath, - error, - ); + return __objc_msgSend_445(obj, sel, path, destPath, error); } late final __objc_msgSend_445Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_445 = __objc_msgSend_445Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>(); - - late final _sel_destinationOfSymbolicLinkAtPath_error_1 = - _registerName1("destinationOfSymbolicLinkAtPath:error:"); - ffi.Pointer _objc_msgSend_446( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, - ffi.Pointer> error, - ) { - return __objc_msgSend_446( - obj, - sel, - path, - error, - ); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_445 = + __objc_msgSend_445Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + >(); + + late final _sel_destinationOfSymbolicLinkAtPath_error_1 = objc.registerName( + "destinationOfSymbolicLinkAtPath:error:", + ); + ffi.Pointer _objc_msgSend_446( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer path, + ffi.Pointer> error, + ) { + return __objc_msgSend_446(obj, sel, path, error); } late final __objc_msgSend_446Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_446 = __objc_msgSend_446Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>(); - - late final _sel_copyItemAtPath_toPath_error_1 = - _registerName1("copyItemAtPath:toPath:error:"); - late final _sel_moveItemAtPath_toPath_error_1 = - _registerName1("moveItemAtPath:toPath:error:"); - late final _sel_linkItemAtPath_toPath_error_1 = - _registerName1("linkItemAtPath:toPath:error:"); - late final _sel_removeItemAtPath_error_1 = - _registerName1("removeItemAtPath:error:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_446 = + __objc_msgSend_446Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + >(); + + late final _sel_copyItemAtPath_toPath_error_1 = objc.registerName( + "copyItemAtPath:toPath:error:", + ); + late final _sel_moveItemAtPath_toPath_error_1 = objc.registerName( + "moveItemAtPath:toPath:error:", + ); + late final _sel_linkItemAtPath_toPath_error_1 = objc.registerName( + "linkItemAtPath:toPath:error:", + ); + late final _sel_removeItemAtPath_error_1 = objc.registerName( + "removeItemAtPath:error:", + ); bool _objc_msgSend_447( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, - ffi.Pointer> error, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer path, + ffi.Pointer> error, ) { - return __objc_msgSend_447( - obj, - sel, - path, - error, - ); + return __objc_msgSend_447(obj, sel, path, error); } late final __objc_msgSend_447Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_447 = __objc_msgSend_447Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer>)>(); - - late final _sel_copyItemAtURL_toURL_error_1 = - _registerName1("copyItemAtURL:toURL:error:"); - late final _sel_moveItemAtURL_toURL_error_1 = - _registerName1("moveItemAtURL:toURL:error:"); - late final _sel_linkItemAtURL_toURL_error_1 = - _registerName1("linkItemAtURL:toURL:error:"); - late final _sel_removeItemAtURL_error_1 = - _registerName1("removeItemAtURL:error:"); - late final _sel_trashItemAtURL_resultingItemURL_error_1 = - _registerName1("trashItemAtURL:resultingItemURL:error:"); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_447 = + __objc_msgSend_447Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + >(); + + late final _sel_copyItemAtURL_toURL_error_1 = objc.registerName( + "copyItemAtURL:toURL:error:", + ); + late final _sel_moveItemAtURL_toURL_error_1 = objc.registerName( + "moveItemAtURL:toURL:error:", + ); + late final _sel_linkItemAtURL_toURL_error_1 = objc.registerName( + "linkItemAtURL:toURL:error:", + ); + late final _sel_removeItemAtURL_error_1 = objc.registerName( + "removeItemAtURL:error:", + ); + late final _sel_trashItemAtURL_resultingItemURL_error_1 = objc.registerName( + "trashItemAtURL:resultingItemURL:error:", + ); bool _objc_msgSend_448( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, - ffi.Pointer> outResultingURL, - ffi.Pointer> error, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer url, + ffi.Pointer> outResultingURL, + ffi.Pointer> error, ) { - return __objc_msgSend_448( - obj, - sel, - url, - outResultingURL, - error, - ); + return __objc_msgSend_448(obj, sel, url, outResultingURL, error); } late final __objc_msgSend_448Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_448 = __objc_msgSend_448Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer>)>(); - - late final _sel_fileAttributesAtPath_traverseLink_1 = - _registerName1("fileAttributesAtPath:traverseLink:"); - ffi.Pointer _objc_msgSend_449( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_448 = + __objc_msgSend_448Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer>, + ) + >(); + + late final _sel_fileAttributesAtPath_traverseLink_1 = objc.registerName( + "fileAttributesAtPath:traverseLink:", + ); + ffi.Pointer _objc_msgSend_449( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer path, bool yorn, ) { - return __objc_msgSend_449( - obj, - sel, - path, - yorn, - ); + return __objc_msgSend_449(obj, sel, path, yorn); } late final __objc_msgSend_449Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Bool)>>('objc_msgSend'); - late final __objc_msgSend_449 = __objc_msgSend_449Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer, bool)>(); - - late final _sel_changeFileAttributes_atPath_1 = - _registerName1("changeFileAttributes:atPath:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_449 = + __objc_msgSend_449Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool, + ) + >(); + + late final _sel_changeFileAttributes_atPath_1 = objc.registerName( + "changeFileAttributes:atPath:", + ); bool _objc_msgSend_450( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer attributes, - ffi.Pointer path, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer attributes, + ffi.Pointer path, ) { - return __objc_msgSend_450( - obj, - sel, - attributes, - path, - ); + return __objc_msgSend_450(obj, sel, attributes, path); } late final __objc_msgSend_450Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_450 = __objc_msgSend_450Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_directoryContentsAtPath_1 = - _registerName1("directoryContentsAtPath:"); - late final _sel_fileSystemAttributesAtPath_1 = - _registerName1("fileSystemAttributesAtPath:"); - late final _sel_pathContentOfSymbolicLinkAtPath_1 = - _registerName1("pathContentOfSymbolicLinkAtPath:"); - late final _sel_createSymbolicLinkAtPath_pathContent_1 = - _registerName1("createSymbolicLinkAtPath:pathContent:"); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_450 = + __objc_msgSend_450Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_directoryContentsAtPath_1 = objc.registerName( + "directoryContentsAtPath:", + ); + late final _sel_fileSystemAttributesAtPath_1 = objc.registerName( + "fileSystemAttributesAtPath:", + ); + late final _sel_pathContentOfSymbolicLinkAtPath_1 = objc.registerName( + "pathContentOfSymbolicLinkAtPath:", + ); + late final _sel_createSymbolicLinkAtPath_pathContent_1 = objc.registerName( + "createSymbolicLinkAtPath:pathContent:", + ); bool _objc_msgSend_451( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, - ffi.Pointer otherpath, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer path, + ffi.Pointer otherpath, ) { - return __objc_msgSend_451( - obj, - sel, - path, - otherpath, - ); + return __objc_msgSend_451(obj, sel, path, otherpath); } late final __objc_msgSend_451Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_451 = __objc_msgSend_451Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_createDirectoryAtPath_attributes_1 = - _registerName1("createDirectoryAtPath:attributes:"); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_451 = + __objc_msgSend_451Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_createDirectoryAtPath_attributes_1 = objc.registerName( + "createDirectoryAtPath:attributes:", + ); bool _objc_msgSend_452( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, - ffi.Pointer attributes, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer path, + ffi.Pointer attributes, ) { - return __objc_msgSend_452( - obj, - sel, - path, - attributes, - ); + return __objc_msgSend_452(obj, sel, path, attributes); } late final __objc_msgSend_452Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_452 = __objc_msgSend_452Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_linkPath_toPath_handler_1 = - _registerName1("linkPath:toPath:handler:"); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_452 = + __objc_msgSend_452Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_linkPath_toPath_handler_1 = objc.registerName( + "linkPath:toPath:handler:", + ); bool _objc_msgSend_453( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer src, - ffi.Pointer dest, - ffi.Pointer handler, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer src, + ffi.Pointer dest, + ffi.Pointer handler, ) { - return __objc_msgSend_453( - obj, - sel, - src, - dest, - handler, - ); + return __objc_msgSend_453(obj, sel, src, dest, handler); } late final __objc_msgSend_453Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_453 = __objc_msgSend_453Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_copyPath_toPath_handler_1 = - _registerName1("copyPath:toPath:handler:"); - late final _sel_movePath_toPath_handler_1 = - _registerName1("movePath:toPath:handler:"); - late final _sel_removeFileAtPath_handler_1 = - _registerName1("removeFileAtPath:handler:"); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_453 = + __objc_msgSend_453Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_copyPath_toPath_handler_1 = objc.registerName( + "copyPath:toPath:handler:", + ); + late final _sel_movePath_toPath_handler_1 = objc.registerName( + "movePath:toPath:handler:", + ); + late final _sel_removeFileAtPath_handler_1 = objc.registerName( + "removeFileAtPath:handler:", + ); bool _objc_msgSend_454( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, - ffi.Pointer handler, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer path, + ffi.Pointer handler, ) { - return __objc_msgSend_454( - obj, - sel, - path, - handler, - ); + return __objc_msgSend_454(obj, sel, path, handler); } late final __objc_msgSend_454Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_454 = __objc_msgSend_454Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_currentDirectoryPath1 = - _registerName1("currentDirectoryPath"); - late final _sel_changeCurrentDirectoryPath_1 = - _registerName1("changeCurrentDirectoryPath:"); - late final _sel_fileExistsAtPath_1 = _registerName1("fileExistsAtPath:"); - late final _sel_fileExistsAtPath_isDirectory_1 = - _registerName1("fileExistsAtPath:isDirectory:"); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_454 = + __objc_msgSend_454Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_currentDirectoryPath1 = objc.registerName( + "currentDirectoryPath", + ); + late final _sel_changeCurrentDirectoryPath_1 = objc.registerName( + "changeCurrentDirectoryPath:", + ); + late final _sel_fileExistsAtPath_1 = objc.registerName("fileExistsAtPath:"); + late final _sel_fileExistsAtPath_isDirectory_1 = objc.registerName( + "fileExistsAtPath:isDirectory:", + ); bool _objc_msgSend_455( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer path, ffi.Pointer isDirectory, ) { - return __objc_msgSend_455( - obj, - sel, - path, - isDirectory, - ); + return __objc_msgSend_455(obj, sel, path, isDirectory); } late final __objc_msgSend_455Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_455 = __objc_msgSend_455Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_isReadableFileAtPath_1 = - _registerName1("isReadableFileAtPath:"); - late final _sel_isWritableFileAtPath_1 = - _registerName1("isWritableFileAtPath:"); - late final _sel_isExecutableFileAtPath_1 = - _registerName1("isExecutableFileAtPath:"); - late final _sel_isDeletableFileAtPath_1 = - _registerName1("isDeletableFileAtPath:"); - late final _sel_contentsEqualAtPath_andPath_1 = - _registerName1("contentsEqualAtPath:andPath:"); - late final _sel_displayNameAtPath_1 = _registerName1("displayNameAtPath:"); - late final _sel_componentsToDisplayForPath_1 = - _registerName1("componentsToDisplayForPath:"); - late final _sel_enumeratorAtPath_1 = _registerName1("enumeratorAtPath:"); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_455 = + __objc_msgSend_455Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_isReadableFileAtPath_1 = objc.registerName( + "isReadableFileAtPath:", + ); + late final _sel_isWritableFileAtPath_1 = objc.registerName( + "isWritableFileAtPath:", + ); + late final _sel_isExecutableFileAtPath_1 = objc.registerName( + "isExecutableFileAtPath:", + ); + late final _sel_isDeletableFileAtPath_1 = objc.registerName( + "isDeletableFileAtPath:", + ); + late final _sel_contentsEqualAtPath_andPath_1 = objc.registerName( + "contentsEqualAtPath:andPath:", + ); + late final _sel_displayNameAtPath_1 = objc.registerName("displayNameAtPath:"); + late final _sel_componentsToDisplayForPath_1 = objc.registerName( + "componentsToDisplayForPath:", + ); + late final _sel_enumeratorAtPath_1 = objc.registerName("enumeratorAtPath:"); late final _sel_enumeratorAtURL_includingPropertiesForKeys_options_errorHandler_1 = - _registerName1( - "enumeratorAtURL:includingPropertiesForKeys:options:errorHandler:"); - ffi.Pointer _objc_msgSend_456( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, - ffi.Pointer keys, + objc.registerName( + "enumeratorAtURL:includingPropertiesForKeys:options:errorHandler:", + ); + ffi.Pointer _objc_msgSend_456( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer url, + ffi.Pointer keys, int mask, - ffi.Pointer<_ObjCBlock> handler, + ffi.Pointer handler, ) { - return __objc_msgSend_456( - obj, - sel, - url, - keys, - mask, - handler, - ); + return __objc_msgSend_456(obj, sel, url, keys, mask, handler); } late final __objc_msgSend_456Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_456 = __objc_msgSend_456Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_subpathsAtPath_1 = _registerName1("subpathsAtPath:"); - late final _sel_contentsAtPath_1 = _registerName1("contentsAtPath:"); - ffi.Pointer _objc_msgSend_457( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, - ) { - return __objc_msgSend_457( - obj, - sel, - path, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_456 = + __objc_msgSend_456Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ) + >(); + + late final _sel_subpathsAtPath_1 = objc.registerName("subpathsAtPath:"); + late final _sel_contentsAtPath_1 = objc.registerName("contentsAtPath:"); + ffi.Pointer _objc_msgSend_457( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer path, + ) { + return __objc_msgSend_457(obj, sel, path); } late final __objc_msgSend_457Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_457 = __objc_msgSend_457Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_createFileAtPath_contents_attributes_1 = - _registerName1("createFileAtPath:contents:attributes:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_457 = + __objc_msgSend_457Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_createFileAtPath_contents_attributes_1 = objc.registerName( + "createFileAtPath:contents:attributes:", + ); bool _objc_msgSend_458( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, - ffi.Pointer data, - ffi.Pointer attr, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer path, + ffi.Pointer data, + ffi.Pointer attr, ) { - return __objc_msgSend_458( - obj, - sel, - path, - data, - attr, - ); + return __objc_msgSend_458(obj, sel, path, data, attr); } late final __objc_msgSend_458Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_458 = __objc_msgSend_458Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_fileSystemRepresentationWithPath_1 = - _registerName1("fileSystemRepresentationWithPath:"); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_458 = + __objc_msgSend_458Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_fileSystemRepresentationWithPath_1 = objc.registerName( + "fileSystemRepresentationWithPath:", + ); ffi.Pointer _objc_msgSend_459( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer path, ) { - return __objc_msgSend_459( - obj, - sel, - path, - ); + return __objc_msgSend_459(obj, sel, path); } late final __objc_msgSend_459Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_459 = __objc_msgSend_459Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_stringWithFileSystemRepresentation_length_1 = - _registerName1("stringWithFileSystemRepresentation:length:"); - ffi.Pointer _objc_msgSend_460( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_459 = + __objc_msgSend_459Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_stringWithFileSystemRepresentation_length_1 = objc + .registerName("stringWithFileSystemRepresentation:length:"); + ffi.Pointer _objc_msgSend_460( + ffi.Pointer obj, + ffi.Pointer sel, ffi.Pointer str, int len, ) { - return __objc_msgSend_460( - obj, - sel, - str, - len, - ); + return __objc_msgSend_460(obj, sel, str, len); } late final __objc_msgSend_460Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_460 = + __objc_msgSend_460Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong)>>('objc_msgSend'); - late final __objc_msgSend_460 = __objc_msgSend_460Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer, int)>(); + int, + ) + >(); late final _sel_replaceItemAtURL_withItemAtURL_backupItemName_options_resultingItemURL_error_1 = - _registerName1( - "replaceItemAtURL:withItemAtURL:backupItemName:options:resultingItemURL:error:"); + objc.registerName( + "replaceItemAtURL:withItemAtURL:backupItemName:options:resultingItemURL:error:", + ); bool _objc_msgSend_461( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer originalItemURL, - ffi.Pointer newItemURL, - ffi.Pointer backupItemName, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer originalItemURL, + ffi.Pointer newItemURL, + ffi.Pointer backupItemName, int options, - ffi.Pointer> resultingURL, - ffi.Pointer> error, + ffi.Pointer> resultingURL, + ffi.Pointer> error, ) { return __objc_msgSend_461( obj, @@ -13231,1550 +16564,2009 @@ class SwiftLibrary { } late final __objc_msgSend_461Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer>, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_461 = __objc_msgSend_461Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>, - ffi.Pointer>)>(); - - late final _sel_setUbiquitous_itemAtURL_destinationURL_error_1 = - _registerName1("setUbiquitous:itemAtURL:destinationURL:error:"); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer>, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_461 = + __objc_msgSend_461Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer>, + ffi.Pointer>, + ) + >(); + + late final _sel_setUbiquitous_itemAtURL_destinationURL_error_1 = objc + .registerName("setUbiquitous:itemAtURL:destinationURL:error:"); bool _objc_msgSend_462( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, bool flag, - ffi.Pointer url, - ffi.Pointer destinationURL, - ffi.Pointer> error, + ffi.Pointer url, + ffi.Pointer destinationURL, + ffi.Pointer> error, ) { - return __objc_msgSend_462( - obj, - sel, - flag, - url, - destinationURL, - error, - ); + return __objc_msgSend_462(obj, sel, flag, url, destinationURL, error); } late final __objc_msgSend_462Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_462 = __objc_msgSend_462Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - bool, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>(); - - late final _sel_isUbiquitousItemAtURL_1 = - _registerName1("isUbiquitousItemAtURL:"); - late final _sel_startDownloadingUbiquitousItemAtURL_error_1 = - _registerName1("startDownloadingUbiquitousItemAtURL:error:"); - late final _sel_evictUbiquitousItemAtURL_error_1 = - _registerName1("evictUbiquitousItemAtURL:error:"); - late final _sel_URLForUbiquityContainerIdentifier_1 = - _registerName1("URLForUbiquityContainerIdentifier:"); - ffi.Pointer _objc_msgSend_463( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer containerIdentifier, - ) { - return __objc_msgSend_463( - obj, - sel, - containerIdentifier, - ); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_462 = + __objc_msgSend_462Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + bool, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + >(); + + late final _sel_isUbiquitousItemAtURL_1 = objc.registerName( + "isUbiquitousItemAtURL:", + ); + late final _sel_startDownloadingUbiquitousItemAtURL_error_1 = objc + .registerName("startDownloadingUbiquitousItemAtURL:error:"); + late final _sel_evictUbiquitousItemAtURL_error_1 = objc.registerName( + "evictUbiquitousItemAtURL:error:", + ); + late final _sel_URLForUbiquityContainerIdentifier_1 = objc.registerName( + "URLForUbiquityContainerIdentifier:", + ); + ffi.Pointer _objc_msgSend_463( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer containerIdentifier, + ) { + return __objc_msgSend_463(obj, sel, containerIdentifier); } late final __objc_msgSend_463Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_463 = __objc_msgSend_463Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_463 = + __objc_msgSend_463Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_URLForPublishingUbiquitousItemAtURL_expirationDate_error_1 = - _registerName1( - "URLForPublishingUbiquitousItemAtURL:expirationDate:error:"); - ffi.Pointer _objc_msgSend_464( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, - ffi.Pointer> outDate, - ffi.Pointer> error, - ) { - return __objc_msgSend_464( - obj, - sel, - url, - outDate, - error, - ); + objc.registerName( + "URLForPublishingUbiquitousItemAtURL:expirationDate:error:", + ); + ffi.Pointer _objc_msgSend_464( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer url, + ffi.Pointer> outDate, + ffi.Pointer> error, + ) { + return __objc_msgSend_464(obj, sel, url, outDate, error); } late final __objc_msgSend_464Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_464 = __objc_msgSend_464Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer>)>(); - - late final _sel_ubiquityIdentityToken1 = - _registerName1("ubiquityIdentityToken"); - late final _sel_getFileProviderServicesForItemAtURL_completionHandler_1 = - _registerName1("getFileProviderServicesForItemAtURL:completionHandler:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_464 = + __objc_msgSend_464Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer>, + ) + >(); + + late final _sel_ubiquityIdentityToken1 = objc.registerName( + "ubiquityIdentityToken", + ); + late final _sel_getFileProviderServicesForItemAtURL_completionHandler_1 = objc + .registerName("getFileProviderServicesForItemAtURL:completionHandler:"); void _objc_msgSend_465( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, - ffi.Pointer<_ObjCBlock> completionHandler, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer url, + ffi.Pointer completionHandler, ) { - return __objc_msgSend_465( - obj, - sel, - url, - completionHandler, - ); + return __objc_msgSend_465(obj, sel, url, completionHandler); } late final __objc_msgSend_465Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_465 = __objc_msgSend_465Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_containerURLForSecurityApplicationGroupIdentifier_1 = - _registerName1("containerURLForSecurityApplicationGroupIdentifier:"); - late final _sel_homeDirectoryForCurrentUser1 = - _registerName1("homeDirectoryForCurrentUser"); - ffi.Pointer _objc_msgSend_466( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_466( - obj, - sel, - ); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_465 = + __objc_msgSend_465Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_containerURLForSecurityApplicationGroupIdentifier_1 = objc + .registerName("containerURLForSecurityApplicationGroupIdentifier:"); + late final _sel_homeDirectoryForCurrentUser1 = objc.registerName( + "homeDirectoryForCurrentUser", + ); + ffi.Pointer _objc_msgSend_466( + ffi.Pointer obj, + ffi.Pointer sel, + ) { + return __objc_msgSend_466(obj, sel); } late final __objc_msgSend_466Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_466 = __objc_msgSend_466Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_temporaryDirectory1 = _registerName1("temporaryDirectory"); - late final _sel_homeDirectoryForUser_1 = - _registerName1("homeDirectoryForUser:"); - late final _sel_fileManager_shouldProceedAfterError_1 = - _registerName1("fileManager:shouldProceedAfterError:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_466 = + __objc_msgSend_466Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_temporaryDirectory1 = objc.registerName("temporaryDirectory"); + late final _sel_homeDirectoryForUser_1 = objc.registerName( + "homeDirectoryForUser:", + ); + late final _sel_fileManager_shouldProceedAfterError_1 = objc.registerName( + "fileManager:shouldProceedAfterError:", + ); bool _objc_msgSend_467( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer fm, - ffi.Pointer errorInfo, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer fm, + ffi.Pointer errorInfo, ) { - return __objc_msgSend_467( - obj, - sel, - fm, - errorInfo, - ); + return __objc_msgSend_467(obj, sel, fm, errorInfo); } late final __objc_msgSend_467Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_467 = __objc_msgSend_467Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_fileManager_willProcessPath_1 = - _registerName1("fileManager:willProcessPath:"); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_467 = + __objc_msgSend_467Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_fileManager_willProcessPath_1 = objc.registerName( + "fileManager:willProcessPath:", + ); void _objc_msgSend_468( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer fm, - ffi.Pointer path, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer fm, + ffi.Pointer path, ) { - return __objc_msgSend_468( - obj, - sel, - fm, - path, - ); + return __objc_msgSend_468(obj, sel, fm, path); } late final __objc_msgSend_468Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_468 = __objc_msgSend_468Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_validateValue_forKey_error_1 = - _registerName1("validateValue:forKey:error:"); - late final _class_NSMutableArray1 = _getClass1("NSMutableArray"); - late final _sel_addObject_1 = _registerName1("addObject:"); - late final _sel_insertObject_atIndex_1 = - _registerName1("insertObject:atIndex:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_468 = + __objc_msgSend_468Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_validateValue_forKey_error_1 = objc.registerName( + "validateValue:forKey:error:", + ); + late final _class_NSMutableArray1 = objc.getClass("NSMutableArray"); + late final _sel_addObject_1 = objc.registerName("addObject:"); + late final _sel_insertObject_atIndex_1 = objc.registerName( + "insertObject:atIndex:", + ); void _objc_msgSend_469( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer anObject, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer anObject, int index, ) { - return __objc_msgSend_469( - obj, - sel, - anObject, - index, - ); + return __objc_msgSend_469(obj, sel, anObject, index); } late final __objc_msgSend_469Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.UnsignedLong)>>('objc_msgSend'); - late final __objc_msgSend_469 = __objc_msgSend_469Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int)>(); - - late final _sel_removeLastObject1 = _registerName1("removeLastObject"); - late final _sel_removeObjectAtIndex_1 = - _registerName1("removeObjectAtIndex:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_469 = + __objc_msgSend_469Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_removeLastObject1 = objc.registerName("removeLastObject"); + late final _sel_removeObjectAtIndex_1 = objc.registerName( + "removeObjectAtIndex:", + ); void _objc_msgSend_470( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int index, ) { - return __objc_msgSend_470( - obj, - sel, - index, - ); + return __objc_msgSend_470(obj, sel, index); } late final __objc_msgSend_470Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong)>>('objc_msgSend'); - late final __objc_msgSend_470 = __objc_msgSend_470Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_replaceObjectAtIndex_withObject_1 = - _registerName1("replaceObjectAtIndex:withObject:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_470 = + __objc_msgSend_470Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_replaceObjectAtIndex_withObject_1 = objc.registerName( + "replaceObjectAtIndex:withObject:", + ); void _objc_msgSend_471( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int index, - ffi.Pointer anObject, + ffi.Pointer anObject, ) { - return __objc_msgSend_471( - obj, - sel, - index, - anObject, - ); + return __objc_msgSend_471(obj, sel, index, anObject); } late final __objc_msgSend_471Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_471 = __objc_msgSend_471Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int, - ffi.Pointer)>(); - - late final _sel_initWithCapacity_1 = _registerName1("initWithCapacity:"); - late final _sel_addObjectsFromArray_1 = - _registerName1("addObjectsFromArray:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_471 = + __objc_msgSend_471Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ) + >(); + + late final _sel_initWithCapacity_1 = objc.registerName("initWithCapacity:"); + late final _sel_addObjectsFromArray_1 = objc.registerName( + "addObjectsFromArray:", + ); void _objc_msgSend_472( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer otherArray, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer otherArray, ) { - return __objc_msgSend_472( - obj, - sel, - otherArray, - ); + return __objc_msgSend_472(obj, sel, otherArray); } late final __objc_msgSend_472Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_472 = __objc_msgSend_472Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_exchangeObjectAtIndex_withObjectAtIndex_1 = - _registerName1("exchangeObjectAtIndex:withObjectAtIndex:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_472 = + __objc_msgSend_472Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_exchangeObjectAtIndex_withObjectAtIndex_1 = objc.registerName( + "exchangeObjectAtIndex:withObjectAtIndex:", + ); void _objc_msgSend_473( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int idx1, int idx2, ) { - return __objc_msgSend_473( - obj, - sel, - idx1, - idx2, - ); + return __objc_msgSend_473(obj, sel, idx1, idx2); } late final __objc_msgSend_473Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, ffi.UnsignedLong)>>('objc_msgSend'); - late final __objc_msgSend_473 = __objc_msgSend_473Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int, int)>(); - - late final _sel_removeAllObjects1 = _registerName1("removeAllObjects"); - late final _sel_removeObject_inRange_1 = - _registerName1("removeObject:inRange:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_473 = + __objc_msgSend_473Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + int, + ) + >(); + + late final _sel_removeAllObjects1 = objc.registerName("removeAllObjects"); + late final _sel_removeObject_inRange_1 = objc.registerName( + "removeObject:inRange:", + ); void _objc_msgSend_474( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer anObject, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer anObject, _NSRange range, ) { - return __objc_msgSend_474( - obj, - sel, - anObject, - range, - ); + return __objc_msgSend_474(obj, sel, anObject, range); } late final __objc_msgSend_474Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, _NSRange)>>('objc_msgSend'); - late final __objc_msgSend_474 = __objc_msgSend_474Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, _NSRange)>(); - - late final _sel_removeObject_1 = _registerName1("removeObject:"); - late final _sel_removeObjectIdenticalTo_inRange_1 = - _registerName1("removeObjectIdenticalTo:inRange:"); - late final _sel_removeObjectIdenticalTo_1 = - _registerName1("removeObjectIdenticalTo:"); - late final _sel_removeObjectsFromIndices_numIndices_1 = - _registerName1("removeObjectsFromIndices:numIndices:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_474 = + __objc_msgSend_474Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange, + ) + >(); + + late final _sel_removeObject_1 = objc.registerName("removeObject:"); + late final _sel_removeObjectIdenticalTo_inRange_1 = objc.registerName( + "removeObjectIdenticalTo:inRange:", + ); + late final _sel_removeObjectIdenticalTo_1 = objc.registerName( + "removeObjectIdenticalTo:", + ); + late final _sel_removeObjectsFromIndices_numIndices_1 = objc.registerName( + "removeObjectsFromIndices:numIndices:", + ); void _objc_msgSend_475( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ffi.Pointer indices, int cnt, ) { - return __objc_msgSend_475( - obj, - sel, - indices, - cnt, - ); + return __objc_msgSend_475(obj, sel, indices, cnt); } late final __objc_msgSend_475Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_475 = + __objc_msgSend_475Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong)>>('objc_msgSend'); - late final __objc_msgSend_475 = __objc_msgSend_475Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int)>(); - - late final _sel_removeObjectsInArray_1 = - _registerName1("removeObjectsInArray:"); - late final _sel_removeObjectsInRange_1 = - _registerName1("removeObjectsInRange:"); + int, + ) + >(); + + late final _sel_removeObjectsInArray_1 = objc.registerName( + "removeObjectsInArray:", + ); + late final _sel_removeObjectsInRange_1 = objc.registerName( + "removeObjectsInRange:", + ); void _objc_msgSend_476( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, _NSRange range, ) { - return __objc_msgSend_476( - obj, - sel, - range, - ); + return __objc_msgSend_476(obj, sel, range); } late final __objc_msgSend_476Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - _NSRange)>>('objc_msgSend'); - late final __objc_msgSend_476 = __objc_msgSend_476Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, _NSRange)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_476 = + __objc_msgSend_476Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ) + >(); - late final _sel_replaceObjectsInRange_withObjectsFromArray_range_1 = - _registerName1("replaceObjectsInRange:withObjectsFromArray:range:"); + late final _sel_replaceObjectsInRange_withObjectsFromArray_range_1 = objc + .registerName("replaceObjectsInRange:withObjectsFromArray:range:"); void _objc_msgSend_477( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, _NSRange range, - ffi.Pointer otherArray, + ffi.Pointer otherArray, _NSRange otherRange, ) { - return __objc_msgSend_477( - obj, - sel, - range, - otherArray, - otherRange, - ); + return __objc_msgSend_477(obj, sel, range, otherArray, otherRange); } late final __objc_msgSend_477Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - _NSRange, ffi.Pointer, _NSRange)>>('objc_msgSend'); - late final __objc_msgSend_477 = __objc_msgSend_477Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, _NSRange, - ffi.Pointer, _NSRange)>(); - - late final _sel_replaceObjectsInRange_withObjectsFromArray_1 = - _registerName1("replaceObjectsInRange:withObjectsFromArray:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + _NSRange, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_477 = + __objc_msgSend_477Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + _NSRange, + ) + >(); + + late final _sel_replaceObjectsInRange_withObjectsFromArray_1 = objc + .registerName("replaceObjectsInRange:withObjectsFromArray:"); void _objc_msgSend_478( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, _NSRange range, - ffi.Pointer otherArray, + ffi.Pointer otherArray, ) { - return __objc_msgSend_478( - obj, - sel, - range, - otherArray, - ); + return __objc_msgSend_478(obj, sel, range, otherArray); } late final __objc_msgSend_478Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - _NSRange, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_478 = __objc_msgSend_478Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, _NSRange, - ffi.Pointer)>(); - - late final _sel_setArray_1 = _registerName1("setArray:"); - late final _sel_sortUsingFunction_context_1 = - _registerName1("sortUsingFunction:context:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_478 = + __objc_msgSend_478Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + ) + >(); + + late final _sel_setArray_1 = objc.registerName("setArray:"); + late final _sel_sortUsingFunction_context_1 = objc.registerName( + "sortUsingFunction:context:", + ); void _objc_msgSend_479( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ffi.Pointer< - ffi.NativeFunction< - ffi.Long Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>> - compare, + ffi.NativeFunction< + ffi.Long Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + > compare, ffi.Pointer context, ) { - return __objc_msgSend_479( - obj, - sel, - compare, - context, - ); + return __objc_msgSend_479(obj, sel, compare, context); } late final __objc_msgSend_479Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.Long Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_479 = + __objc_msgSend_479Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, ffi.Pointer< - ffi.NativeFunction< - ffi.Long Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_479 = __objc_msgSend_479Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.Long Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>, - ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Long Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >, + ffi.Pointer, + ) + >(); - late final _sel_sortUsingSelector_1 = _registerName1("sortUsingSelector:"); - late final _sel_insertObjects_atIndexes_1 = - _registerName1("insertObjects:atIndexes:"); + late final _sel_sortUsingSelector_1 = objc.registerName("sortUsingSelector:"); + late final _sel_insertObjects_atIndexes_1 = objc.registerName( + "insertObjects:atIndexes:", + ); void _objc_msgSend_480( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer objects, - ffi.Pointer indexes, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer objects, + ffi.Pointer indexes, ) { - return __objc_msgSend_480( - obj, - sel, - objects, - indexes, - ); + return __objc_msgSend_480(obj, sel, objects, indexes); } late final __objc_msgSend_480Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_480 = __objc_msgSend_480Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_removeObjectsAtIndexes_1 = - _registerName1("removeObjectsAtIndexes:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_480 = + __objc_msgSend_480Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_removeObjectsAtIndexes_1 = objc.registerName( + "removeObjectsAtIndexes:", + ); void _objc_msgSend_481( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer indexes, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer indexes, ) { - return __objc_msgSend_481( - obj, - sel, - indexes, - ); + return __objc_msgSend_481(obj, sel, indexes); } late final __objc_msgSend_481Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_481 = __objc_msgSend_481Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_replaceObjectsAtIndexes_withObjects_1 = - _registerName1("replaceObjectsAtIndexes:withObjects:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_481 = + __objc_msgSend_481Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_replaceObjectsAtIndexes_withObjects_1 = objc.registerName( + "replaceObjectsAtIndexes:withObjects:", + ); void _objc_msgSend_482( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer indexes, - ffi.Pointer objects, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer indexes, + ffi.Pointer objects, ) { - return __objc_msgSend_482( - obj, - sel, - indexes, - objects, - ); + return __objc_msgSend_482(obj, sel, indexes, objects); } late final __objc_msgSend_482Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_482 = __objc_msgSend_482Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_setObject_atIndexedSubscript_1 = - _registerName1("setObject:atIndexedSubscript:"); - late final _sel_sortUsingComparator_1 = - _registerName1("sortUsingComparator:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_482 = + __objc_msgSend_482Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_setObject_atIndexedSubscript_1 = objc.registerName( + "setObject:atIndexedSubscript:", + ); + late final _sel_sortUsingComparator_1 = objc.registerName( + "sortUsingComparator:", + ); void _objc_msgSend_483( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer<_ObjCBlock> cmptr, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer cmptr, ) { - return __objc_msgSend_483( - obj, - sel, - cmptr, - ); + return __objc_msgSend_483(obj, sel, cmptr); } late final __objc_msgSend_483Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_483 = __objc_msgSend_483Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_sortWithOptions_usingComparator_1 = - _registerName1("sortWithOptions:usingComparator:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_483 = + __objc_msgSend_483Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_sortWithOptions_usingComparator_1 = objc.registerName( + "sortWithOptions:usingComparator:", + ); void _objc_msgSend_484( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int opts, - ffi.Pointer<_ObjCBlock> cmptr, + ffi.Pointer cmptr, ) { - return __objc_msgSend_484( - obj, - sel, - opts, - cmptr, - ); + return __objc_msgSend_484(obj, sel, opts, cmptr); } late final __objc_msgSend_484Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Int32, ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_484 = __objc_msgSend_484Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int, - ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_arrayWithCapacity_1 = _registerName1("arrayWithCapacity:"); - ffi.Pointer _objc_msgSend_485( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, - ) { - return __objc_msgSend_485( - obj, - sel, - path, - ); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_484 = + __objc_msgSend_484Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ) + >(); + + late final _sel_arrayWithCapacity_1 = objc.registerName("arrayWithCapacity:"); + ffi.Pointer _objc_msgSend_485( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer path, + ) { + return __objc_msgSend_485(obj, sel, path); } late final __objc_msgSend_485Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_485 = __objc_msgSend_485Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - ffi.Pointer _objc_msgSend_486( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, - ) { - return __objc_msgSend_486( - obj, - sel, - url, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_485 = + __objc_msgSend_485Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + ffi.Pointer _objc_msgSend_486( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer url, + ) { + return __objc_msgSend_486(obj, sel, url); } late final __objc_msgSend_486Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_486 = __objc_msgSend_486Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_applyDifference_1 = _registerName1("applyDifference:"); - late final _sel_sortUsingDescriptors_1 = - _registerName1("sortUsingDescriptors:"); - late final _sel_filterUsingPredicate_1 = - _registerName1("filterUsingPredicate:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_486 = + __objc_msgSend_486Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_applyDifference_1 = objc.registerName("applyDifference:"); + late final _sel_sortUsingDescriptors_1 = objc.registerName( + "sortUsingDescriptors:", + ); + late final _sel_filterUsingPredicate_1 = objc.registerName( + "filterUsingPredicate:", + ); void _objc_msgSend_487( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer predicate, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer predicate, ) { - return __objc_msgSend_487( - obj, - sel, - predicate, - ); + return __objc_msgSend_487(obj, sel, predicate); } late final __objc_msgSend_487Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_487 = __objc_msgSend_487Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_mutableArrayValueForKey_1 = - _registerName1("mutableArrayValueForKey:"); - ffi.Pointer _objc_msgSend_488( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer key, - ) { - return __objc_msgSend_488( - obj, - sel, - key, - ); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_487 = + __objc_msgSend_487Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_mutableArrayValueForKey_1 = objc.registerName( + "mutableArrayValueForKey:", + ); + ffi.Pointer _objc_msgSend_488( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer key, + ) { + return __objc_msgSend_488(obj, sel, key); } late final __objc_msgSend_488Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_488 = __objc_msgSend_488Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _class_NSMutableOrderedSet1 = _getClass1("NSMutableOrderedSet"); - late final _class_NSOrderedSet1 = _getClass1("NSOrderedSet"); - late final _sel_isEqualToOrderedSet_1 = - _registerName1("isEqualToOrderedSet:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_488 = + __objc_msgSend_488Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _class_NSMutableOrderedSet1 = objc.getClass("NSMutableOrderedSet"); + late final _class_NSOrderedSet1 = objc.getClass("NSOrderedSet"); + late final _sel_isEqualToOrderedSet_1 = objc.registerName( + "isEqualToOrderedSet:", + ); bool _objc_msgSend_489( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer other, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer other, ) { - return __objc_msgSend_489( - obj, - sel, - other, - ); + return __objc_msgSend_489(obj, sel, other); } late final __objc_msgSend_489Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_489 = __objc_msgSend_489Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_intersectsOrderedSet_1 = - _registerName1("intersectsOrderedSet:"); - late final _sel_isSubsetOfOrderedSet_1 = - _registerName1("isSubsetOfOrderedSet:"); - late final _sel_reversedOrderedSet1 = _registerName1("reversedOrderedSet"); - ffi.Pointer _objc_msgSend_490( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_490( - obj, - sel, - ); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_489 = + __objc_msgSend_489Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_intersectsOrderedSet_1 = objc.registerName( + "intersectsOrderedSet:", + ); + late final _sel_isSubsetOfOrderedSet_1 = objc.registerName( + "isSubsetOfOrderedSet:", + ); + late final _sel_reversedOrderedSet1 = objc.registerName("reversedOrderedSet"); + ffi.Pointer _objc_msgSend_490( + ffi.Pointer obj, + ffi.Pointer sel, + ) { + return __objc_msgSend_490(obj, sel); } late final __objc_msgSend_490Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_490 = __objc_msgSend_490Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_490 = + __objc_msgSend_490Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); - ffi.Pointer _objc_msgSend_491( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer _objc_msgSend_491( + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_491( - obj, - sel, - ); + return __objc_msgSend_491(obj, sel); } late final __objc_msgSend_491Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_491 = __objc_msgSend_491Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_orderedSet1 = _registerName1("orderedSet"); - late final _sel_orderedSetWithObject_1 = - _registerName1("orderedSetWithObject:"); - late final _sel_orderedSetWithObjects_count_1 = - _registerName1("orderedSetWithObjects:count:"); - late final _sel_orderedSetWithObjects_1 = - _registerName1("orderedSetWithObjects:"); - late final _sel_orderedSetWithOrderedSet_1 = - _registerName1("orderedSetWithOrderedSet:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_491 = + __objc_msgSend_491Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_orderedSet1 = objc.registerName("orderedSet"); + late final _sel_orderedSetWithObject_1 = objc.registerName( + "orderedSetWithObject:", + ); + late final _sel_orderedSetWithObjects_count_1 = objc.registerName( + "orderedSetWithObjects:count:", + ); + late final _sel_orderedSetWithObjects_1 = objc.registerName( + "orderedSetWithObjects:", + ); + late final _sel_orderedSetWithOrderedSet_1 = objc.registerName( + "orderedSetWithOrderedSet:", + ); instancetype _objc_msgSend_492( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer set1, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer set1, ) { - return __objc_msgSend_492( - obj, - sel, - set1, - ); + return __objc_msgSend_492(obj, sel, set1); } late final __objc_msgSend_492Ptr = _lookup< - ffi.NativeFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_492 = __objc_msgSend_492Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_orderedSetWithOrderedSet_range_copyItems_1 = - _registerName1("orderedSetWithOrderedSet:range:copyItems:"); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_492 = + __objc_msgSend_492Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_orderedSetWithOrderedSet_range_copyItems_1 = objc + .registerName("orderedSetWithOrderedSet:range:copyItems:"); instancetype _objc_msgSend_493( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer set1, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer set1, _NSRange range, bool flag, ) { - return __objc_msgSend_493( - obj, - sel, - set1, - range, - flag, - ); + return __objc_msgSend_493(obj, sel, set1, range, flag); } late final __objc_msgSend_493Ptr = _lookup< - ffi.NativeFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, _NSRange, ffi.Bool)>>('objc_msgSend'); - late final __objc_msgSend_493 = __objc_msgSend_493Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, _NSRange, bool)>(); - - late final _sel_orderedSetWithArray_1 = - _registerName1("orderedSetWithArray:"); - late final _sel_orderedSetWithArray_range_copyItems_1 = - _registerName1("orderedSetWithArray:range:copyItems:"); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Bool, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_493 = + __objc_msgSend_493Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange, + bool, + ) + >(); + + late final _sel_orderedSetWithArray_1 = objc.registerName( + "orderedSetWithArray:", + ); + late final _sel_orderedSetWithArray_range_copyItems_1 = objc.registerName( + "orderedSetWithArray:range:copyItems:", + ); instancetype _objc_msgSend_494( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer array, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer array, _NSRange range, bool flag, ) { - return __objc_msgSend_494( - obj, - sel, - array, - range, - flag, - ); + return __objc_msgSend_494(obj, sel, array, range, flag); } late final __objc_msgSend_494Ptr = _lookup< - ffi.NativeFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, _NSRange, ffi.Bool)>>('objc_msgSend'); - late final __objc_msgSend_494 = __objc_msgSend_494Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, _NSRange, bool)>(); - - late final _sel_orderedSetWithSet_1 = _registerName1("orderedSetWithSet:"); - late final _sel_orderedSetWithSet_copyItems_1 = - _registerName1("orderedSetWithSet:copyItems:"); - late final _sel_initWithObject_1 = _registerName1("initWithObject:"); - late final _sel_initWithOrderedSet_1 = _registerName1("initWithOrderedSet:"); - late final _sel_initWithOrderedSet_copyItems_1 = - _registerName1("initWithOrderedSet:copyItems:"); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Bool, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_494 = + __objc_msgSend_494Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange, + bool, + ) + >(); + + late final _sel_orderedSetWithSet_1 = objc.registerName("orderedSetWithSet:"); + late final _sel_orderedSetWithSet_copyItems_1 = objc.registerName( + "orderedSetWithSet:copyItems:", + ); + late final _sel_initWithObject_1 = objc.registerName("initWithObject:"); + late final _sel_initWithOrderedSet_1 = objc.registerName( + "initWithOrderedSet:", + ); + late final _sel_initWithOrderedSet_copyItems_1 = objc.registerName( + "initWithOrderedSet:copyItems:", + ); instancetype _objc_msgSend_495( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer set1, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer set1, bool flag, ) { - return __objc_msgSend_495( - obj, - sel, - set1, - flag, - ); + return __objc_msgSend_495(obj, sel, set1, flag); } late final __objc_msgSend_495Ptr = _lookup< - ffi.NativeFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Bool)>>('objc_msgSend'); - late final __objc_msgSend_495 = __objc_msgSend_495Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, bool)>(); - - late final _sel_initWithOrderedSet_range_copyItems_1 = - _registerName1("initWithOrderedSet:range:copyItems:"); - late final _sel_initWithArray_range_copyItems_1 = - _registerName1("initWithArray:range:copyItems:"); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_495 = + __objc_msgSend_495Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool, + ) + >(); + + late final _sel_initWithOrderedSet_range_copyItems_1 = objc.registerName( + "initWithOrderedSet:range:copyItems:", + ); + late final _sel_initWithArray_range_copyItems_1 = objc.registerName( + "initWithArray:range:copyItems:", + ); late final _sel_differenceFromOrderedSet_withOptions_usingEquivalenceTest_1 = - _registerName1( - "differenceFromOrderedSet:withOptions:usingEquivalenceTest:"); - ffi.Pointer _objc_msgSend_496( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer other, + objc.registerName( + "differenceFromOrderedSet:withOptions:usingEquivalenceTest:", + ); + ffi.Pointer _objc_msgSend_496( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer other, int options, - ffi.Pointer<_ObjCBlock> block, + ffi.Pointer block, ) { - return __objc_msgSend_496( - obj, - sel, - other, - options, - block, - ); + return __objc_msgSend_496(obj, sel, other, options, block); } late final __objc_msgSend_496Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_496 = __objc_msgSend_496Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_differenceFromOrderedSet_withOptions_1 = - _registerName1("differenceFromOrderedSet:withOptions:"); - ffi.Pointer _objc_msgSend_497( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer other, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_496 = + __objc_msgSend_496Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ) + >(); + + late final _sel_differenceFromOrderedSet_withOptions_1 = objc.registerName( + "differenceFromOrderedSet:withOptions:", + ); + ffi.Pointer _objc_msgSend_497( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer other, int options, ) { - return __objc_msgSend_497( - obj, - sel, - other, - options, - ); + return __objc_msgSend_497(obj, sel, other, options); } late final __objc_msgSend_497Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_497 = __objc_msgSend_497Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_differenceFromOrderedSet_1 = - _registerName1("differenceFromOrderedSet:"); - late final _sel_orderedSetByApplyingDifference_1 = - _registerName1("orderedSetByApplyingDifference:"); - ffi.Pointer _objc_msgSend_498( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer difference, - ) { - return __objc_msgSend_498( - obj, - sel, - difference, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_497 = + __objc_msgSend_497Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_differenceFromOrderedSet_1 = objc.registerName( + "differenceFromOrderedSet:", + ); + late final _sel_orderedSetByApplyingDifference_1 = objc.registerName( + "orderedSetByApplyingDifference:", + ); + ffi.Pointer _objc_msgSend_498( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer difference, + ) { + return __objc_msgSend_498(obj, sel, difference); } late final __objc_msgSend_498Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_498 = __objc_msgSend_498Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_filteredOrderedSetUsingPredicate_1 = - _registerName1("filteredOrderedSetUsingPredicate:"); - ffi.Pointer _objc_msgSend_499( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer p, - ) { - return __objc_msgSend_499( - obj, - sel, - p, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_498 = + __objc_msgSend_498Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_filteredOrderedSetUsingPredicate_1 = objc.registerName( + "filteredOrderedSetUsingPredicate:", + ); + ffi.Pointer _objc_msgSend_499( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer p, + ) { + return __objc_msgSend_499(obj, sel, p); } late final __objc_msgSend_499Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_499 = __objc_msgSend_499Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_addObjects_count_1 = _registerName1("addObjects:count:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_499 = + __objc_msgSend_499Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_addObjects_count_1 = objc.registerName("addObjects:count:"); void _objc_msgSend_500( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer> objects, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer> objects, int count, ) { - return __objc_msgSend_500( - obj, - sel, - objects, - count, - ); + return __objc_msgSend_500(obj, sel, objects, count); } late final __objc_msgSend_500Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.UnsignedLong)>>('objc_msgSend'); - late final __objc_msgSend_500 = __objc_msgSend_500Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer>, int)>(); - - late final _sel_moveObjectsAtIndexes_toIndex_1 = - _registerName1("moveObjectsAtIndexes:toIndex:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_500 = + __objc_msgSend_500Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + int, + ) + >(); + + late final _sel_moveObjectsAtIndexes_toIndex_1 = objc.registerName( + "moveObjectsAtIndexes:toIndex:", + ); void _objc_msgSend_501( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer indexes, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer indexes, int idx, ) { - return __objc_msgSend_501( - obj, - sel, - indexes, - idx, - ); + return __objc_msgSend_501(obj, sel, indexes, idx); } late final __objc_msgSend_501Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.UnsignedLong)>>('objc_msgSend'); - late final __objc_msgSend_501 = __objc_msgSend_501Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int)>(); - - late final _sel_setObject_atIndex_1 = _registerName1("setObject:atIndex:"); - late final _sel_replaceObjectsInRange_withObjects_count_1 = - _registerName1("replaceObjectsInRange:withObjects:count:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_501 = + __objc_msgSend_501Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_setObject_atIndex_1 = objc.registerName("setObject:atIndex:"); + late final _sel_replaceObjectsInRange_withObjects_count_1 = objc.registerName( + "replaceObjectsInRange:withObjects:count:", + ); void _objc_msgSend_502( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, _NSRange range, - ffi.Pointer> objects, + ffi.Pointer> objects, int count, ) { - return __objc_msgSend_502( - obj, - sel, - range, - objects, - count, - ); + return __objc_msgSend_502(obj, sel, range, objects, count); } late final __objc_msgSend_502Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer>, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_502 = + __objc_msgSend_502Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, _NSRange, - ffi.Pointer>, - ffi.UnsignedLong)>>('objc_msgSend'); - late final __objc_msgSend_502 = __objc_msgSend_502Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, _NSRange, - ffi.Pointer>, int)>(); - - late final _sel_intersectOrderedSet_1 = - _registerName1("intersectOrderedSet:"); + ffi.Pointer>, + int, + ) + >(); + + late final _sel_intersectOrderedSet_1 = objc.registerName( + "intersectOrderedSet:", + ); void _objc_msgSend_503( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer other, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer other, ) { - return __objc_msgSend_503( - obj, - sel, - other, - ); + return __objc_msgSend_503(obj, sel, other); } late final __objc_msgSend_503Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_503 = __objc_msgSend_503Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_minusOrderedSet_1 = _registerName1("minusOrderedSet:"); - late final _sel_unionOrderedSet_1 = _registerName1("unionOrderedSet:"); - late final _sel_intersectSet_1 = _registerName1("intersectSet:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_503 = + __objc_msgSend_503Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_minusOrderedSet_1 = objc.registerName("minusOrderedSet:"); + late final _sel_unionOrderedSet_1 = objc.registerName("unionOrderedSet:"); + late final _sel_intersectSet_1 = objc.registerName("intersectSet:"); void _objc_msgSend_504( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer other, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer other, ) { - return __objc_msgSend_504( - obj, - sel, - other, - ); + return __objc_msgSend_504(obj, sel, other); } late final __objc_msgSend_504Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_504 = __objc_msgSend_504Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_minusSet_1 = _registerName1("minusSet:"); - late final _sel_unionSet_1 = _registerName1("unionSet:"); - late final _sel_sortRange_options_usingComparator_1 = - _registerName1("sortRange:options:usingComparator:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_504 = + __objc_msgSend_504Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_minusSet_1 = objc.registerName("minusSet:"); + late final _sel_unionSet_1 = objc.registerName("unionSet:"); + late final _sel_sortRange_options_usingComparator_1 = objc.registerName( + "sortRange:options:usingComparator:", + ); void _objc_msgSend_505( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, _NSRange range, int opts, - ffi.Pointer<_ObjCBlock> cmptr, + ffi.Pointer cmptr, ) { - return __objc_msgSend_505( - obj, - sel, - range, - opts, - cmptr, - ); + return __objc_msgSend_505(obj, sel, range, opts, cmptr); } late final __objc_msgSend_505Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - _NSRange, ffi.Int32, ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_505 = __objc_msgSend_505Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, _NSRange, - int, ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_orderedSetWithCapacity_1 = - _registerName1("orderedSetWithCapacity:"); - late final _sel_mutableOrderedSetValueForKey_1 = - _registerName1("mutableOrderedSetValueForKey:"); - ffi.Pointer _objc_msgSend_506( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer key, - ) { - return __objc_msgSend_506( - obj, - sel, - key, - ); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Int32, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_505 = + __objc_msgSend_505Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + int, + ffi.Pointer, + ) + >(); + + late final _sel_orderedSetWithCapacity_1 = objc.registerName( + "orderedSetWithCapacity:", + ); + late final _sel_mutableOrderedSetValueForKey_1 = objc.registerName( + "mutableOrderedSetValueForKey:", + ); + ffi.Pointer _objc_msgSend_506( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer key, + ) { + return __objc_msgSend_506(obj, sel, key); } late final __objc_msgSend_506Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_506 = __objc_msgSend_506Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _class_NSMutableSet1 = _getClass1("NSMutableSet"); - late final _sel_setSet_1 = _registerName1("setSet:"); - late final _sel_setWithCapacity_1 = _registerName1("setWithCapacity:"); - late final _sel_mutableSetValueForKey_1 = - _registerName1("mutableSetValueForKey:"); - ffi.Pointer _objc_msgSend_507( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer key, - ) { - return __objc_msgSend_507( - obj, - sel, - key, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_506 = + __objc_msgSend_506Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _class_NSMutableSet1 = objc.getClass("NSMutableSet"); + late final _sel_setSet_1 = objc.registerName("setSet:"); + late final _sel_setWithCapacity_1 = objc.registerName("setWithCapacity:"); + late final _sel_mutableSetValueForKey_1 = objc.registerName( + "mutableSetValueForKey:", + ); + ffi.Pointer _objc_msgSend_507( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer key, + ) { + return __objc_msgSend_507(obj, sel, key); } late final __objc_msgSend_507Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_507 = __objc_msgSend_507Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_valueForKeyPath_1 = _registerName1("valueForKeyPath:"); - late final _sel_setValue_forKeyPath_1 = - _registerName1("setValue:forKeyPath:"); - late final _sel_validateValue_forKeyPath_error_1 = - _registerName1("validateValue:forKeyPath:error:"); - late final _sel_mutableArrayValueForKeyPath_1 = - _registerName1("mutableArrayValueForKeyPath:"); - late final _sel_mutableOrderedSetValueForKeyPath_1 = - _registerName1("mutableOrderedSetValueForKeyPath:"); - late final _sel_mutableSetValueForKeyPath_1 = - _registerName1("mutableSetValueForKeyPath:"); - late final _sel_valueForUndefinedKey_1 = - _registerName1("valueForUndefinedKey:"); - late final _sel_setValue_forUndefinedKey_1 = - _registerName1("setValue:forUndefinedKey:"); - late final _sel_setNilValueForKey_1 = _registerName1("setNilValueForKey:"); - late final _sel_dictionaryWithValuesForKeys_1 = - _registerName1("dictionaryWithValuesForKeys:"); - ffi.Pointer _objc_msgSend_508( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer keys, - ) { - return __objc_msgSend_508( - obj, - sel, - keys, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_507 = + __objc_msgSend_507Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_valueForKeyPath_1 = objc.registerName("valueForKeyPath:"); + late final _sel_setValue_forKeyPath_1 = objc.registerName( + "setValue:forKeyPath:", + ); + late final _sel_validateValue_forKeyPath_error_1 = objc.registerName( + "validateValue:forKeyPath:error:", + ); + late final _sel_mutableArrayValueForKeyPath_1 = objc.registerName( + "mutableArrayValueForKeyPath:", + ); + late final _sel_mutableOrderedSetValueForKeyPath_1 = objc.registerName( + "mutableOrderedSetValueForKeyPath:", + ); + late final _sel_mutableSetValueForKeyPath_1 = objc.registerName( + "mutableSetValueForKeyPath:", + ); + late final _sel_valueForUndefinedKey_1 = objc.registerName( + "valueForUndefinedKey:", + ); + late final _sel_setValue_forUndefinedKey_1 = objc.registerName( + "setValue:forUndefinedKey:", + ); + late final _sel_setNilValueForKey_1 = objc.registerName("setNilValueForKey:"); + late final _sel_dictionaryWithValuesForKeys_1 = objc.registerName( + "dictionaryWithValuesForKeys:", + ); + ffi.Pointer _objc_msgSend_508( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer keys, + ) { + return __objc_msgSend_508(obj, sel, keys); } late final __objc_msgSend_508Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_508 = __objc_msgSend_508Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_setValuesForKeysWithDictionary_1 = - _registerName1("setValuesForKeysWithDictionary:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_508 = + __objc_msgSend_508Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_setValuesForKeysWithDictionary_1 = objc.registerName( + "setValuesForKeysWithDictionary:", + ); void _objc_msgSend_509( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer keyedValues, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer keyedValues, ) { - return __objc_msgSend_509( - obj, - sel, - keyedValues, - ); + return __objc_msgSend_509(obj, sel, keyedValues); } late final __objc_msgSend_509Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_509 = __objc_msgSend_509Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_storedValueForKey_1 = _registerName1("storedValueForKey:"); - late final _sel_takeStoredValue_forKey_1 = - _registerName1("takeStoredValue:forKey:"); - late final _sel_takeValue_forKey_1 = _registerName1("takeValue:forKey:"); - late final _sel_takeValue_forKeyPath_1 = - _registerName1("takeValue:forKeyPath:"); - late final _sel_handleQueryWithUnboundKey_1 = - _registerName1("handleQueryWithUnboundKey:"); - late final _sel_handleTakeValue_forUnboundKey_1 = - _registerName1("handleTakeValue:forUnboundKey:"); - late final _sel_unableToSetNilForKey_1 = - _registerName1("unableToSetNilForKey:"); - late final _sel_valuesForKeys_1 = _registerName1("valuesForKeys:"); - late final _sel_takeValuesFromDictionary_1 = - _registerName1("takeValuesFromDictionary:"); - late final _sel_observeValueForKeyPath_ofObject_change_context_1 = - _registerName1("observeValueForKeyPath:ofObject:change:context:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_509 = + __objc_msgSend_509Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_storedValueForKey_1 = objc.registerName("storedValueForKey:"); + late final _sel_takeStoredValue_forKey_1 = objc.registerName( + "takeStoredValue:forKey:", + ); + late final _sel_takeValue_forKey_1 = objc.registerName("takeValue:forKey:"); + late final _sel_takeValue_forKeyPath_1 = objc.registerName( + "takeValue:forKeyPath:", + ); + late final _sel_handleQueryWithUnboundKey_1 = objc.registerName( + "handleQueryWithUnboundKey:", + ); + late final _sel_handleTakeValue_forUnboundKey_1 = objc.registerName( + "handleTakeValue:forUnboundKey:", + ); + late final _sel_unableToSetNilForKey_1 = objc.registerName( + "unableToSetNilForKey:", + ); + late final _sel_valuesForKeys_1 = objc.registerName("valuesForKeys:"); + late final _sel_takeValuesFromDictionary_1 = objc.registerName( + "takeValuesFromDictionary:", + ); + late final _sel_observeValueForKeyPath_ofObject_change_context_1 = objc + .registerName("observeValueForKeyPath:ofObject:change:context:"); void _objc_msgSend_510( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer keyPath, - ffi.Pointer object, - ffi.Pointer change, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer keyPath, + ffi.Pointer object, + ffi.Pointer change, ffi.Pointer context, ) { - return __objc_msgSend_510( - obj, - sel, - keyPath, - object, - change, - context, - ); + return __objc_msgSend_510(obj, sel, keyPath, object, change, context); } late final __objc_msgSend_510Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_510 = __objc_msgSend_510Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_willChangeValueForKey_1 = - _registerName1("willChangeValueForKey:"); - late final _sel_didChangeValueForKey_1 = - _registerName1("didChangeValueForKey:"); - late final _sel_willChange_valuesAtIndexes_forKey_1 = - _registerName1("willChange:valuesAtIndexes:forKey:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_510 = + __objc_msgSend_510Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_willChangeValueForKey_1 = objc.registerName( + "willChangeValueForKey:", + ); + late final _sel_didChangeValueForKey_1 = objc.registerName( + "didChangeValueForKey:", + ); + late final _sel_willChange_valuesAtIndexes_forKey_1 = objc.registerName( + "willChange:valuesAtIndexes:forKey:", + ); void _objc_msgSend_511( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int changeKind, - ffi.Pointer indexes, - ffi.Pointer key, + ffi.Pointer indexes, + ffi.Pointer key, ) { - return __objc_msgSend_511( - obj, - sel, - changeKind, - indexes, - key, - ); + return __objc_msgSend_511(obj, sel, changeKind, indexes, key); } late final __objc_msgSend_511Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_511 = __objc_msgSend_511Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_didChange_valuesAtIndexes_forKey_1 = - _registerName1("didChange:valuesAtIndexes:forKey:"); - late final _sel_willChangeValueForKey_withSetMutation_usingObjects_1 = - _registerName1("willChangeValueForKey:withSetMutation:usingObjects:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_511 = + __objc_msgSend_511Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_didChange_valuesAtIndexes_forKey_1 = objc.registerName( + "didChange:valuesAtIndexes:forKey:", + ); + late final _sel_willChangeValueForKey_withSetMutation_usingObjects_1 = objc + .registerName("willChangeValueForKey:withSetMutation:usingObjects:"); void _objc_msgSend_512( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer key, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer key, int mutationKind, - ffi.Pointer objects, + ffi.Pointer objects, ) { - return __objc_msgSend_512( - obj, - sel, - key, - mutationKind, - objects, - ); + return __objc_msgSend_512(obj, sel, key, mutationKind, objects); } late final __objc_msgSend_512Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_512 = __objc_msgSend_512Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int, ffi.Pointer)>(); - - late final _sel_didChangeValueForKey_withSetMutation_usingObjects_1 = - _registerName1("didChangeValueForKey:withSetMutation:usingObjects:"); - late final _sel_observationInfo1 = _registerName1("observationInfo"); - late final _sel_setObservationInfo_1 = _registerName1("setObservationInfo:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_512 = + __objc_msgSend_512Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ) + >(); + + late final _sel_didChangeValueForKey_withSetMutation_usingObjects_1 = objc + .registerName("didChangeValueForKey:withSetMutation:usingObjects:"); + late final _sel_observationInfo1 = objc.registerName("observationInfo"); + late final _sel_setObservationInfo_1 = objc.registerName( + "setObservationInfo:", + ); void _objc_msgSend_513( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ffi.Pointer value, ) { - return __objc_msgSend_513( - obj, - sel, - value, - ); + return __objc_msgSend_513(obj, sel, value); } late final __objc_msgSend_513Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_513 = __objc_msgSend_513Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_classForKeyedArchiver1 = - _registerName1("classForKeyedArchiver"); - late final _class_NSKeyedArchiver1 = _getClass1("NSKeyedArchiver"); - late final _sel_initRequiringSecureCoding_1 = - _registerName1("initRequiringSecureCoding:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_513 = + __objc_msgSend_513Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_classForKeyedArchiver1 = objc.registerName( + "classForKeyedArchiver", + ); + late final _class_NSKeyedArchiver1 = objc.getClass("NSKeyedArchiver"); + late final _sel_initRequiringSecureCoding_1 = objc.registerName( + "initRequiringSecureCoding:", + ); instancetype _objc_msgSend_514( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, bool requiresSecureCoding, ) { - return __objc_msgSend_514( - obj, - sel, - requiresSecureCoding, - ); + return __objc_msgSend_514(obj, sel, requiresSecureCoding); } late final __objc_msgSend_514Ptr = _lookup< - ffi.NativeFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Bool)>>('objc_msgSend'); - late final __objc_msgSend_514 = __objc_msgSend_514Ptr.asFunction< + ffi.NativeFunction< instancetype Function( - ffi.Pointer, ffi.Pointer, bool)>(); + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_514 = + __objc_msgSend_514Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + bool, + ) + >(); late final _sel_archivedDataWithRootObject_requiringSecureCoding_error_1 = - _registerName1("archivedDataWithRootObject:requiringSecureCoding:error:"); - ffi.Pointer _objc_msgSend_515( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer object, + objc.registerName( + "archivedDataWithRootObject:requiringSecureCoding:error:", + ); + ffi.Pointer _objc_msgSend_515( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer object, bool requiresSecureCoding, - ffi.Pointer> error, + ffi.Pointer> error, ) { - return __objc_msgSend_515( - obj, - sel, - object, - requiresSecureCoding, - error, - ); + return __objc_msgSend_515(obj, sel, object, requiresSecureCoding, error); } late final __objc_msgSend_515Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_515 = __objc_msgSend_515Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - ffi.Pointer>)>(); - - late final _class_NSMutableData1 = _getClass1("NSMutableData"); - late final _sel_mutableBytes1 = _registerName1("mutableBytes"); - late final _sel_setLength_1 = _registerName1("setLength:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_515 = + __objc_msgSend_515Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool, + ffi.Pointer>, + ) + >(); + + late final _class_NSMutableData1 = objc.getClass("NSMutableData"); + late final _sel_mutableBytes1 = objc.registerName("mutableBytes"); + late final _sel_setLength_1 = objc.registerName("setLength:"); void _objc_msgSend_516( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int value, ) { - return __objc_msgSend_516( - obj, - sel, - value, - ); + return __objc_msgSend_516(obj, sel, value); } late final __objc_msgSend_516Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong)>>('objc_msgSend'); - late final __objc_msgSend_516 = __objc_msgSend_516Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_appendBytes_length_1 = _registerName1("appendBytes:length:"); - late final _sel_appendData_1 = _registerName1("appendData:"); - late final _sel_increaseLengthBy_1 = _registerName1("increaseLengthBy:"); - late final _sel_replaceBytesInRange_withBytes_1 = - _registerName1("replaceBytesInRange:withBytes:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_516 = + __objc_msgSend_516Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_appendBytes_length_1 = objc.registerName( + "appendBytes:length:", + ); + late final _sel_appendData_1 = objc.registerName("appendData:"); + late final _sel_increaseLengthBy_1 = objc.registerName("increaseLengthBy:"); + late final _sel_replaceBytesInRange_withBytes_1 = objc.registerName( + "replaceBytesInRange:withBytes:", + ); void _objc_msgSend_517( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, _NSRange range, ffi.Pointer bytes, ) { - return __objc_msgSend_517( - obj, - sel, - range, - bytes, - ); + return __objc_msgSend_517(obj, sel, range, bytes); } late final __objc_msgSend_517Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - _NSRange, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_517 = __objc_msgSend_517Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, _NSRange, - ffi.Pointer)>(); - - late final _sel_resetBytesInRange_1 = _registerName1("resetBytesInRange:"); - late final _sel_setData_1 = _registerName1("setData:"); - late final _sel_replaceBytesInRange_withBytes_length_1 = - _registerName1("replaceBytesInRange:withBytes:length:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_517 = + __objc_msgSend_517Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + ) + >(); + + late final _sel_resetBytesInRange_1 = objc.registerName("resetBytesInRange:"); + late final _sel_setData_1 = objc.registerName("setData:"); + late final _sel_replaceBytesInRange_withBytes_length_1 = objc.registerName( + "replaceBytesInRange:withBytes:length:", + ); void _objc_msgSend_518( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, _NSRange range, ffi.Pointer replacementBytes, int replacementLength, @@ -14789,992 +18581,1249 @@ class SwiftLibrary { } late final __objc_msgSend_518Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_518 = + __objc_msgSend_518Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, _NSRange, ffi.Pointer, - ffi.UnsignedLong)>>('objc_msgSend'); - late final __objc_msgSend_518 = __objc_msgSend_518Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, _NSRange, - ffi.Pointer, int)>(); + int, + ) + >(); - late final _sel_dataWithCapacity_1 = _registerName1("dataWithCapacity:"); + late final _sel_dataWithCapacity_1 = objc.registerName("dataWithCapacity:"); instancetype _objc_msgSend_519( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int aNumItems, ) { - return __objc_msgSend_519( - obj, - sel, - aNumItems, - ); + return __objc_msgSend_519(obj, sel, aNumItems); } late final __objc_msgSend_519Ptr = _lookup< - ffi.NativeFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong)>>('objc_msgSend'); - late final __objc_msgSend_519 = __objc_msgSend_519Ptr.asFunction< + ffi.NativeFunction< instancetype Function( - ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_dataWithLength_1 = _registerName1("dataWithLength:"); - late final _sel_initWithLength_1 = _registerName1("initWithLength:"); - late final _sel_decompressUsingAlgorithm_error_1 = - _registerName1("decompressUsingAlgorithm:error:"); + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_519 = + __objc_msgSend_519Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_dataWithLength_1 = objc.registerName("dataWithLength:"); + late final _sel_initWithLength_1 = objc.registerName("initWithLength:"); + late final _sel_decompressUsingAlgorithm_error_1 = objc.registerName( + "decompressUsingAlgorithm:error:", + ); bool _objc_msgSend_520( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int algorithm, - ffi.Pointer> error, + ffi.Pointer> error, ) { - return __objc_msgSend_520( - obj, - sel, - algorithm, - error, - ); + return __objc_msgSend_520(obj, sel, algorithm, error); } late final __objc_msgSend_520Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_520 = __objc_msgSend_520Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, int, - ffi.Pointer>)>(); - - late final _sel_compressUsingAlgorithm_error_1 = - _registerName1("compressUsingAlgorithm:error:"); - late final _sel_initForWritingWithMutableData_1 = - _registerName1("initForWritingWithMutableData:"); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_520 = + __objc_msgSend_520Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer>, + ) + >(); + + late final _sel_compressUsingAlgorithm_error_1 = objc.registerName( + "compressUsingAlgorithm:error:", + ); + late final _sel_initForWritingWithMutableData_1 = objc.registerName( + "initForWritingWithMutableData:", + ); instancetype _objc_msgSend_521( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer data, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer data, ) { - return __objc_msgSend_521( - obj, - sel, - data, - ); + return __objc_msgSend_521(obj, sel, data); } late final __objc_msgSend_521Ptr = _lookup< - ffi.NativeFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_521 = __objc_msgSend_521Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_archivedDataWithRootObject_1 = - _registerName1("archivedDataWithRootObject:"); - ffi.Pointer _objc_msgSend_522( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer rootObject, - ) { - return __objc_msgSend_522( - obj, - sel, - rootObject, - ); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_521 = + __objc_msgSend_521Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_archivedDataWithRootObject_1 = objc.registerName( + "archivedDataWithRootObject:", + ); + ffi.Pointer _objc_msgSend_522( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer rootObject, + ) { + return __objc_msgSend_522(obj, sel, rootObject); } late final __objc_msgSend_522Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_522 = __objc_msgSend_522Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_archiveRootObject_toFile_1 = - _registerName1("archiveRootObject:toFile:"); - late final _sel_outputFormat1 = _registerName1("outputFormat"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_522 = + __objc_msgSend_522Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_archiveRootObject_toFile_1 = objc.registerName( + "archiveRootObject:toFile:", + ); + late final _sel_outputFormat1 = objc.registerName("outputFormat"); int _objc_msgSend_523( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_523( - obj, - sel, - ); + return __objc_msgSend_523(obj, sel); } late final __objc_msgSend_523Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_523 = __objc_msgSend_523Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_523 = + __objc_msgSend_523Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); - late final _sel_setOutputFormat_1 = _registerName1("setOutputFormat:"); + late final _sel_setOutputFormat_1 = objc.registerName("setOutputFormat:"); void _objc_msgSend_524( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int value, ) { - return __objc_msgSend_524( - obj, - sel, - value, - ); + return __objc_msgSend_524(obj, sel, value); } late final __objc_msgSend_524Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_524 = __objc_msgSend_524Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_encodedData1 = _registerName1("encodedData"); - late final _sel_finishEncoding1 = _registerName1("finishEncoding"); - late final _sel_setClassName_forClass_1 = - _registerName1("setClassName:forClass:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_524 = + __objc_msgSend_524Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_encodedData1 = objc.registerName("encodedData"); + late final _sel_finishEncoding1 = objc.registerName("finishEncoding"); + late final _sel_setClassName_forClass_1 = objc.registerName( + "setClassName:forClass:", + ); void _objc_msgSend_525( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer codedName, - ffi.Pointer cls, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer codedName, + ffi.Pointer cls, ) { - return __objc_msgSend_525( - obj, - sel, - codedName, - cls, - ); + return __objc_msgSend_525(obj, sel, codedName, cls); } late final __objc_msgSend_525Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_525 = __objc_msgSend_525Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_classNameForClass_1 = _registerName1("classNameForClass:"); - ffi.Pointer _objc_msgSend_526( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer cls, - ) { - return __objc_msgSend_526( - obj, - sel, - cls, - ); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_525 = + __objc_msgSend_525Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_classNameForClass_1 = objc.registerName("classNameForClass:"); + ffi.Pointer _objc_msgSend_526( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer cls, + ) { + return __objc_msgSend_526(obj, sel, cls); } late final __objc_msgSend_526Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_526 = __objc_msgSend_526Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_setRequiresSecureCoding_1 = - _registerName1("setRequiresSecureCoding:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_526 = + __objc_msgSend_526Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_setRequiresSecureCoding_1 = objc.registerName( + "setRequiresSecureCoding:", + ); void _objc_msgSend_527( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, bool value, ) { - return __objc_msgSend_527( - obj, - sel, - value, - ); + return __objc_msgSend_527(obj, sel, value); } late final __objc_msgSend_527Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Bool)>>('objc_msgSend'); - late final __objc_msgSend_527 = __objc_msgSend_527Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, bool)>(); - - late final _sel_replacementObjectForKeyedArchiver_1 = - _registerName1("replacementObjectForKeyedArchiver:"); - ffi.Pointer _objc_msgSend_528( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer archiver, - ) { - return __objc_msgSend_528( - obj, - sel, - archiver, - ); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_527 = + __objc_msgSend_527Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + bool, + ) + >(); + + late final _sel_replacementObjectForKeyedArchiver_1 = objc.registerName( + "replacementObjectForKeyedArchiver:", + ); + ffi.Pointer _objc_msgSend_528( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer archiver, + ) { + return __objc_msgSend_528(obj, sel, archiver); } late final __objc_msgSend_528Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_528 = __objc_msgSend_528Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_528 = + __objc_msgSend_528Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_performSelectorOnMainThread_withObject_waitUntilDone_modes_1 = - _registerName1( - "performSelectorOnMainThread:withObject:waitUntilDone:modes:"); + objc.registerName( + "performSelectorOnMainThread:withObject:waitUntilDone:modes:", + ); void _objc_msgSend_529( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aSelector, - ffi.Pointer arg, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer aSelector, + ffi.Pointer arg, bool wait, - ffi.Pointer array, + ffi.Pointer array, ) { - return __objc_msgSend_529( - obj, - sel, - aSelector, - arg, - wait, - array, - ); + return __objc_msgSend_529(obj, sel, aSelector, arg, wait, array); } late final __objc_msgSend_529Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_529 = __objc_msgSend_529Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - ffi.Pointer)>(); - - late final _sel_performSelectorOnMainThread_withObject_waitUntilDone_1 = - _registerName1("performSelectorOnMainThread:withObject:waitUntilDone:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_529 = + __objc_msgSend_529Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool, + ffi.Pointer, + ) + >(); + + late final _sel_performSelectorOnMainThread_withObject_waitUntilDone_1 = objc + .registerName("performSelectorOnMainThread:withObject:waitUntilDone:"); void _objc_msgSend_530( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aSelector, - ffi.Pointer arg, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer aSelector, + ffi.Pointer arg, bool wait, ) { - return __objc_msgSend_530( - obj, - sel, - aSelector, - arg, - wait, - ); + return __objc_msgSend_530(obj, sel, aSelector, arg, wait); } late final __objc_msgSend_530Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Bool)>>('objc_msgSend'); - late final __objc_msgSend_530 = __objc_msgSend_530Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer, bool)>(); - - late final _class_NSThread1 = _getClass1("NSThread"); - late final _sel_currentThread1 = _registerName1("currentThread"); - ffi.Pointer _objc_msgSend_531( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_531( - obj, - sel, - ); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_530 = + __objc_msgSend_530Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool, + ) + >(); + + late final _class_NSThread1 = objc.getClass("NSThread"); + late final _sel_currentThread1 = objc.registerName("currentThread"); + ffi.Pointer _objc_msgSend_531( + ffi.Pointer obj, + ffi.Pointer sel, + ) { + return __objc_msgSend_531(obj, sel); } late final __objc_msgSend_531Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_531 = __objc_msgSend_531Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_detachNewThreadWithBlock_1 = - _registerName1("detachNewThreadWithBlock:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_531 = + __objc_msgSend_531Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_detachNewThreadWithBlock_1 = objc.registerName( + "detachNewThreadWithBlock:", + ); void _objc_msgSend_532( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer<_ObjCBlock> block, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer block, ) { - return __objc_msgSend_532( - obj, - sel, - block, - ); + return __objc_msgSend_532(obj, sel, block); } late final __objc_msgSend_532Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_532 = __objc_msgSend_532Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_detachNewThreadSelector_toTarget_withObject_1 = - _registerName1("detachNewThreadSelector:toTarget:withObject:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_532 = + __objc_msgSend_532Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_detachNewThreadSelector_toTarget_withObject_1 = objc + .registerName("detachNewThreadSelector:toTarget:withObject:"); void _objc_msgSend_533( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer selector, - ffi.Pointer target, - ffi.Pointer argument, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer selector, + ffi.Pointer target, + ffi.Pointer argument, ) { - return __objc_msgSend_533( - obj, - sel, - selector, - target, - argument, - ); + return __objc_msgSend_533(obj, sel, selector, target, argument); } late final __objc_msgSend_533Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_533 = __objc_msgSend_533Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_isMultiThreaded1 = _registerName1("isMultiThreaded"); - late final _class_NSMutableDictionary1 = _getClass1("NSMutableDictionary"); - late final _sel_removeObjectForKey_1 = _registerName1("removeObjectForKey:"); - late final _sel_setObject_forKey_1 = _registerName1("setObject:forKey:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_533 = + __objc_msgSend_533Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_isMultiThreaded1 = objc.registerName("isMultiThreaded"); + late final _class_NSMutableDictionary1 = objc.getClass("NSMutableDictionary"); + late final _sel_removeObjectForKey_1 = objc.registerName( + "removeObjectForKey:", + ); + late final _sel_setObject_forKey_1 = objc.registerName("setObject:forKey:"); void _objc_msgSend_534( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer anObject, - ffi.Pointer aKey, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer anObject, + ffi.Pointer aKey, ) { - return __objc_msgSend_534( - obj, - sel, - anObject, - aKey, - ); + return __objc_msgSend_534(obj, sel, anObject, aKey); } late final __objc_msgSend_534Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_534 = __objc_msgSend_534Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_addEntriesFromDictionary_1 = - _registerName1("addEntriesFromDictionary:"); - late final _sel_removeObjectsForKeys_1 = - _registerName1("removeObjectsForKeys:"); - late final _sel_setDictionary_1 = _registerName1("setDictionary:"); - late final _sel_setObject_forKeyedSubscript_1 = - _registerName1("setObject:forKeyedSubscript:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_534 = + __objc_msgSend_534Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_addEntriesFromDictionary_1 = objc.registerName( + "addEntriesFromDictionary:", + ); + late final _sel_removeObjectsForKeys_1 = objc.registerName( + "removeObjectsForKeys:", + ); + late final _sel_setDictionary_1 = objc.registerName("setDictionary:"); + late final _sel_setObject_forKeyedSubscript_1 = objc.registerName( + "setObject:forKeyedSubscript:", + ); void _objc_msgSend_535( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer obj1, - ffi.Pointer key, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer obj1, + ffi.Pointer key, ) { - return __objc_msgSend_535( - obj, - sel, - obj1, - key, - ); + return __objc_msgSend_535(obj, sel, obj1, key); } late final __objc_msgSend_535Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_535 = __objc_msgSend_535Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_dictionaryWithCapacity_1 = - _registerName1("dictionaryWithCapacity:"); - ffi.Pointer _objc_msgSend_536( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, - ) { - return __objc_msgSend_536( - obj, - sel, - path, - ); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_535 = + __objc_msgSend_535Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_dictionaryWithCapacity_1 = objc.registerName( + "dictionaryWithCapacity:", + ); + ffi.Pointer _objc_msgSend_536( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer path, + ) { + return __objc_msgSend_536(obj, sel, path); } late final __objc_msgSend_536Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_536 = __objc_msgSend_536Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - ffi.Pointer _objc_msgSend_537( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, - ) { - return __objc_msgSend_537( - obj, - sel, - url, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_536 = + __objc_msgSend_536Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + ffi.Pointer _objc_msgSend_537( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer url, + ) { + return __objc_msgSend_537(obj, sel, url); } late final __objc_msgSend_537Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_537 = __objc_msgSend_537Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_dictionaryWithSharedKeySet_1 = - _registerName1("dictionaryWithSharedKeySet:"); - ffi.Pointer _objc_msgSend_538( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer keyset, - ) { - return __objc_msgSend_538( - obj, - sel, - keyset, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_537 = + __objc_msgSend_537Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_dictionaryWithSharedKeySet_1 = objc.registerName( + "dictionaryWithSharedKeySet:", + ); + ffi.Pointer _objc_msgSend_538( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer keyset, + ) { + return __objc_msgSend_538(obj, sel, keyset); } late final __objc_msgSend_538Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_538 = __objc_msgSend_538Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_threadDictionary1 = _registerName1("threadDictionary"); - ffi.Pointer _objc_msgSend_539( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_539( - obj, - sel, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_538 = + __objc_msgSend_538Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_threadDictionary1 = objc.registerName("threadDictionary"); + ffi.Pointer _objc_msgSend_539( + ffi.Pointer obj, + ffi.Pointer sel, + ) { + return __objc_msgSend_539(obj, sel); } late final __objc_msgSend_539Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_539 = __objc_msgSend_539Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_539 = + __objc_msgSend_539Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); - late final _sel_sleepUntilDate_1 = _registerName1("sleepUntilDate:"); + late final _sel_sleepUntilDate_1 = objc.registerName("sleepUntilDate:"); void _objc_msgSend_540( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer date, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer date, ) { - return __objc_msgSend_540( - obj, - sel, - date, - ); + return __objc_msgSend_540(obj, sel, date); } late final __objc_msgSend_540Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_540 = __objc_msgSend_540Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_sleepForTimeInterval_1 = - _registerName1("sleepForTimeInterval:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_540 = + __objc_msgSend_540Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_sleepForTimeInterval_1 = objc.registerName( + "sleepForTimeInterval:", + ); void _objc_msgSend_541( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, double ti, ) { - return __objc_msgSend_541( - obj, - sel, - ti, - ); + return __objc_msgSend_541(obj, sel, ti); } late final __objc_msgSend_541Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Double)>>('objc_msgSend'); - late final __objc_msgSend_541 = __objc_msgSend_541Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, double)>(); - - late final _sel_exit1 = _registerName1("exit"); - late final _sel_threadPriority1 = _registerName1("threadPriority"); - late final _sel_setThreadPriority_1 = _registerName1("setThreadPriority:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Double, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_541 = + __objc_msgSend_541Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + double, + ) + >(); + + late final _sel_exit1 = objc.registerName("exit"); + late final _sel_threadPriority1 = objc.registerName("threadPriority"); + late final _sel_setThreadPriority_1 = objc.registerName("setThreadPriority:"); void _objc_msgSend_542( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, double value, ) { - return __objc_msgSend_542( - obj, - sel, - value, - ); + return __objc_msgSend_542(obj, sel, value); } late final __objc_msgSend_542Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Double)>>('objc_msgSend'); - late final __objc_msgSend_542 = __objc_msgSend_542Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, double)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Double, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_542 = + __objc_msgSend_542Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + double, + ) + >(); - late final _sel_qualityOfService1 = _registerName1("qualityOfService"); + late final _sel_qualityOfService1 = objc.registerName("qualityOfService"); int _objc_msgSend_543( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_543( - obj, - sel, - ); + return __objc_msgSend_543(obj, sel); } late final __objc_msgSend_543Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_543 = __objc_msgSend_543Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer)>(); - - late final _sel_setQualityOfService_1 = - _registerName1("setQualityOfService:"); + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_543 = + __objc_msgSend_543Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_setQualityOfService_1 = objc.registerName( + "setQualityOfService:", + ); void _objc_msgSend_544( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int value, ) { - return __objc_msgSend_544( - obj, - sel, - value, - ); + return __objc_msgSend_544(obj, sel, value); } late final __objc_msgSend_544Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_544 = __objc_msgSend_544Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_callStackReturnAddresses1 = - _registerName1("callStackReturnAddresses"); - late final _sel_callStackSymbols1 = _registerName1("callStackSymbols"); - late final _sel_setName_1 = _registerName1("setName:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_544 = + __objc_msgSend_544Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_callStackReturnAddresses1 = objc.registerName( + "callStackReturnAddresses", + ); + late final _sel_callStackSymbols1 = objc.registerName("callStackSymbols"); + late final _sel_setName_1 = objc.registerName("setName:"); void _objc_msgSend_545( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value, ) { - return __objc_msgSend_545( - obj, - sel, - value, - ); + return __objc_msgSend_545(obj, sel, value); } late final __objc_msgSend_545Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_545 = __objc_msgSend_545Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_stackSize1 = _registerName1("stackSize"); - late final _sel_setStackSize_1 = _registerName1("setStackSize:"); - late final _sel_isMainThread1 = _registerName1("isMainThread"); - late final _sel_mainThread1 = _registerName1("mainThread"); - late final _sel_initWithTarget_selector_object_1 = - _registerName1("initWithTarget:selector:object:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_545 = + __objc_msgSend_545Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_stackSize1 = objc.registerName("stackSize"); + late final _sel_setStackSize_1 = objc.registerName("setStackSize:"); + late final _sel_isMainThread1 = objc.registerName("isMainThread"); + late final _sel_mainThread1 = objc.registerName("mainThread"); + late final _sel_initWithTarget_selector_object_1 = objc.registerName( + "initWithTarget:selector:object:", + ); instancetype _objc_msgSend_546( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer target, - ffi.Pointer selector, - ffi.Pointer argument, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer target, + ffi.Pointer selector, + ffi.Pointer argument, ) { - return __objc_msgSend_546( - obj, - sel, - target, - selector, - argument, - ); + return __objc_msgSend_546(obj, sel, target, selector, argument); } late final __objc_msgSend_546Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_546 = __objc_msgSend_546Ptr.asFunction< + ffi.NativeFunction< instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_initWithBlock_1 = _registerName1("initWithBlock:"); + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_546 = + __objc_msgSend_546Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_initWithBlock_1 = objc.registerName("initWithBlock:"); instancetype _objc_msgSend_547( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer<_ObjCBlock> block, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer block, ) { - return __objc_msgSend_547( - obj, - sel, - block, - ); + return __objc_msgSend_547(obj, sel, block); } late final __objc_msgSend_547Ptr = _lookup< - ffi.NativeFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_547 = __objc_msgSend_547Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_isExecuting1 = _registerName1("isExecuting"); - late final _sel_isFinished1 = _registerName1("isFinished"); - late final _sel_isCancelled1 = _registerName1("isCancelled"); - late final _sel_cancel1 = _registerName1("cancel"); - late final _sel_start1 = _registerName1("start"); - late final _sel_main1 = _registerName1("main"); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_547 = + __objc_msgSend_547Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_isExecuting1 = objc.registerName("isExecuting"); + late final _sel_isFinished1 = objc.registerName("isFinished"); + late final _sel_isCancelled1 = objc.registerName("isCancelled"); + late final _sel_cancel1 = objc.registerName("cancel"); + late final _sel_start1 = objc.registerName("start"); + late final _sel_main1 = objc.registerName("main"); late final _sel_performSelector_onThread_withObject_waitUntilDone_modes_1 = - _registerName1( - "performSelector:onThread:withObject:waitUntilDone:modes:"); + objc.registerName( + "performSelector:onThread:withObject:waitUntilDone:modes:", + ); void _objc_msgSend_548( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aSelector, - ffi.Pointer thr, - ffi.Pointer arg, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer aSelector, + ffi.Pointer thr, + ffi.Pointer arg, bool wait, - ffi.Pointer array, + ffi.Pointer array, ) { - return __objc_msgSend_548( - obj, - sel, - aSelector, - thr, - arg, - wait, - array, - ); + return __objc_msgSend_548(obj, sel, aSelector, thr, arg, wait, array); } late final __objc_msgSend_548Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_548 = __objc_msgSend_548Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - ffi.Pointer)>(); - - late final _sel_performSelector_onThread_withObject_waitUntilDone_1 = - _registerName1("performSelector:onThread:withObject:waitUntilDone:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_548 = + __objc_msgSend_548Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool, + ffi.Pointer, + ) + >(); + + late final _sel_performSelector_onThread_withObject_waitUntilDone_1 = objc + .registerName("performSelector:onThread:withObject:waitUntilDone:"); void _objc_msgSend_549( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aSelector, - ffi.Pointer thr, - ffi.Pointer arg, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer aSelector, + ffi.Pointer thr, + ffi.Pointer arg, bool wait, ) { - return __objc_msgSend_549( - obj, - sel, - aSelector, - thr, - arg, - wait, - ); + return __objc_msgSend_549(obj, sel, aSelector, thr, arg, wait); } late final __objc_msgSend_549Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Bool)>>('objc_msgSend'); - late final __objc_msgSend_549 = __objc_msgSend_549Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool)>(); - - late final _sel_performSelectorInBackground_withObject_1 = - _registerName1("performSelectorInBackground:withObject:"); - late final _sel_classForArchiver1 = _registerName1("classForArchiver"); - late final _class_NSArchiver1 = _getClass1("NSArchiver"); - late final _sel_archiverData1 = _registerName1("archiverData"); - ffi.Pointer _objc_msgSend_550( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_550( - obj, - sel, - ); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_549 = + __objc_msgSend_549Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool, + ) + >(); + + late final _sel_performSelectorInBackground_withObject_1 = objc.registerName( + "performSelectorInBackground:withObject:", + ); + late final _sel_classForArchiver1 = objc.registerName("classForArchiver"); + late final _class_NSArchiver1 = objc.getClass("NSArchiver"); + late final _sel_archiverData1 = objc.registerName("archiverData"); + ffi.Pointer _objc_msgSend_550( + ffi.Pointer obj, + ffi.Pointer sel, + ) { + return __objc_msgSend_550(obj, sel); } late final __objc_msgSend_550Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_550 = __objc_msgSend_550Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_encodeClassName_intoClassName_1 = - _registerName1("encodeClassName:intoClassName:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_550 = + __objc_msgSend_550Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_encodeClassName_intoClassName_1 = objc.registerName( + "encodeClassName:intoClassName:", + ); void _objc_msgSend_551( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer trueName, - ffi.Pointer inArchiveName, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer trueName, + ffi.Pointer inArchiveName, ) { - return __objc_msgSend_551( - obj, - sel, - trueName, - inArchiveName, - ); + return __objc_msgSend_551(obj, sel, trueName, inArchiveName); } late final __objc_msgSend_551Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_551 = __objc_msgSend_551Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_classNameEncodedForTrueClassName_1 = - _registerName1("classNameEncodedForTrueClassName:"); - late final _sel_replaceObject_withObject_1 = - _registerName1("replaceObject:withObject:"); - late final _sel_replacementObjectForArchiver_1 = - _registerName1("replacementObjectForArchiver:"); - ffi.Pointer _objc_msgSend_552( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer archiver, - ) { - return __objc_msgSend_552( - obj, - sel, - archiver, - ); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_551 = + __objc_msgSend_551Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_classNameEncodedForTrueClassName_1 = objc.registerName( + "classNameEncodedForTrueClassName:", + ); + late final _sel_replaceObject_withObject_1 = objc.registerName( + "replaceObject:withObject:", + ); + late final _sel_replacementObjectForArchiver_1 = objc.registerName( + "replacementObjectForArchiver:", + ); + ffi.Pointer _objc_msgSend_552( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer archiver, + ) { + return __objc_msgSend_552(obj, sel, archiver); } late final __objc_msgSend_552Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_552 = __objc_msgSend_552Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_classForPortCoder1 = _registerName1("classForPortCoder"); - late final _class_NSPortCoder1 = _getClass1("NSPortCoder"); - late final _sel_isBycopy1 = _registerName1("isBycopy"); - late final _sel_isByref1 = _registerName1("isByref"); - late final _class_NSPort1 = _getClass1("NSPort"); - ffi.Pointer _objc_msgSend_553( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_553( - obj, - sel, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_552 = + __objc_msgSend_552Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_classForPortCoder1 = objc.registerName("classForPortCoder"); + late final _class_NSPortCoder1 = objc.getClass("NSPortCoder"); + late final _sel_isBycopy1 = objc.registerName("isBycopy"); + late final _sel_isByref1 = objc.registerName("isByref"); + late final _class_NSPort1 = objc.getClass("NSPort"); + ffi.Pointer _objc_msgSend_553( + ffi.Pointer obj, + ffi.Pointer sel, + ) { + return __objc_msgSend_553(obj, sel); } late final __objc_msgSend_553Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_553 = __objc_msgSend_553Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_invalidate1 = _registerName1("invalidate"); - late final _sel_isValid1 = _registerName1("isValid"); - late final _class_NSRunLoop1 = _getClass1("NSRunLoop"); - late final _sel_currentRunLoop1 = _registerName1("currentRunLoop"); - ffi.Pointer _objc_msgSend_554( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_554( - obj, - sel, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_553 = + __objc_msgSend_553Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_invalidate1 = objc.registerName("invalidate"); + late final _sel_isValid1 = objc.registerName("isValid"); + late final _class_NSRunLoop1 = objc.getClass("NSRunLoop"); + late final _sel_currentRunLoop1 = objc.registerName("currentRunLoop"); + ffi.Pointer _objc_msgSend_554( + ffi.Pointer obj, + ffi.Pointer sel, + ) { + return __objc_msgSend_554(obj, sel); } late final __objc_msgSend_554Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_554 = __objc_msgSend_554Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_mainRunLoop1 = _registerName1("mainRunLoop"); - late final _sel_currentMode1 = _registerName1("currentMode"); - late final _sel_getCFRunLoop1 = _registerName1("getCFRunLoop"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_554 = + __objc_msgSend_554Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_mainRunLoop1 = objc.registerName("mainRunLoop"); + late final _sel_currentMode1 = objc.registerName("currentMode"); + late final _sel_getCFRunLoop1 = objc.registerName("getCFRunLoop"); ffi.Pointer<__CFRunLoop> _objc_msgSend_555( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_555( - obj, - sel, - ); + return __objc_msgSend_555(obj, sel); } late final __objc_msgSend_555Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer<__CFRunLoop> Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_555 = __objc_msgSend_555Ptr.asFunction< + ffi.NativeFunction< ffi.Pointer<__CFRunLoop> Function( - ffi.Pointer, ffi.Pointer)>(); - - late final _class_NSTimer1 = _getClass1("NSTimer"); - late final _sel_timerWithTimeInterval_invocation_repeats_1 = - _registerName1("timerWithTimeInterval:invocation:repeats:"); - ffi.Pointer _objc_msgSend_556( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_555 = + __objc_msgSend_555Ptr + .asFunction< + ffi.Pointer<__CFRunLoop> Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _class_NSTimer1 = objc.getClass("NSTimer"); + late final _sel_timerWithTimeInterval_invocation_repeats_1 = objc + .registerName("timerWithTimeInterval:invocation:repeats:"); + ffi.Pointer _objc_msgSend_556( + ffi.Pointer obj, + ffi.Pointer sel, double ti, - ffi.Pointer invocation, + ffi.Pointer invocation, bool yesOrNo, ) { - return __objc_msgSend_556( - obj, - sel, - ti, - invocation, - yesOrNo, - ); + return __objc_msgSend_556(obj, sel, ti, invocation, yesOrNo); } late final __objc_msgSend_556Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Double, - ffi.Pointer, - ffi.Bool)>>('objc_msgSend'); - late final __objc_msgSend_556 = __objc_msgSend_556Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, double, ffi.Pointer, bool)>(); - - late final _sel_scheduledTimerWithTimeInterval_invocation_repeats_1 = - _registerName1("scheduledTimerWithTimeInterval:invocation:repeats:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Double, + ffi.Pointer, + ffi.Bool, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_556 = + __objc_msgSend_556Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + double, + ffi.Pointer, + bool, + ) + >(); + + late final _sel_scheduledTimerWithTimeInterval_invocation_repeats_1 = objc + .registerName("scheduledTimerWithTimeInterval:invocation:repeats:"); late final _sel_timerWithTimeInterval_target_selector_userInfo_repeats_1 = - _registerName1("timerWithTimeInterval:target:selector:userInfo:repeats:"); - ffi.Pointer _objc_msgSend_557( - ffi.Pointer obj, - ffi.Pointer sel, + objc.registerName( + "timerWithTimeInterval:target:selector:userInfo:repeats:", + ); + ffi.Pointer _objc_msgSend_557( + ffi.Pointer obj, + ffi.Pointer sel, double ti, - ffi.Pointer aTarget, - ffi.Pointer aSelector, - ffi.Pointer userInfo, + ffi.Pointer aTarget, + ffi.Pointer aSelector, + ffi.Pointer userInfo, bool yesOrNo, ) { return __objc_msgSend_557( @@ -15789,408 +19838,483 @@ class SwiftLibrary { } late final __objc_msgSend_557Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Double, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Bool)>>('objc_msgSend'); - late final __objc_msgSend_557 = __objc_msgSend_557Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - double, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool)>(); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Double, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_557 = + __objc_msgSend_557Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + double, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool, + ) + >(); late final _sel_scheduledTimerWithTimeInterval_target_selector_userInfo_repeats_1 = - _registerName1( - "scheduledTimerWithTimeInterval:target:selector:userInfo:repeats:"); - late final _sel_timerWithTimeInterval_repeats_block_1 = - _registerName1("timerWithTimeInterval:repeats:block:"); - ffi.Pointer _objc_msgSend_558( - ffi.Pointer obj, - ffi.Pointer sel, + objc.registerName( + "scheduledTimerWithTimeInterval:target:selector:userInfo:repeats:", + ); + late final _sel_timerWithTimeInterval_repeats_block_1 = objc.registerName( + "timerWithTimeInterval:repeats:block:", + ); + ffi.Pointer _objc_msgSend_558( + ffi.Pointer obj, + ffi.Pointer sel, double interval, bool repeats, - ffi.Pointer<_ObjCBlock> block, + ffi.Pointer block, ) { - return __objc_msgSend_558( - obj, - sel, - interval, - repeats, - block, - ); + return __objc_msgSend_558(obj, sel, interval, repeats, block); } late final __objc_msgSend_558Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Double, - ffi.Bool, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_558 = __objc_msgSend_558Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, double, bool, ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_scheduledTimerWithTimeInterval_repeats_block_1 = - _registerName1("scheduledTimerWithTimeInterval:repeats:block:"); - late final _sel_initWithFireDate_interval_repeats_block_1 = - _registerName1("initWithFireDate:interval:repeats:block:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Double, + ffi.Bool, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_558 = + __objc_msgSend_558Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + double, + bool, + ffi.Pointer, + ) + >(); + + late final _sel_scheduledTimerWithTimeInterval_repeats_block_1 = objc + .registerName("scheduledTimerWithTimeInterval:repeats:block:"); + late final _sel_initWithFireDate_interval_repeats_block_1 = objc.registerName( + "initWithFireDate:interval:repeats:block:", + ); instancetype _objc_msgSend_559( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer date, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer date, double interval, bool repeats, - ffi.Pointer<_ObjCBlock> block, + ffi.Pointer block, ) { - return __objc_msgSend_559( - obj, - sel, - date, - interval, - repeats, - block, - ); + return __objc_msgSend_559(obj, sel, date, interval, repeats, block); } late final __objc_msgSend_559Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Double, - ffi.Bool, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_559 = __objc_msgSend_559Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, double, bool, ffi.Pointer<_ObjCBlock>)>(); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Double, + ffi.Bool, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_559 = + __objc_msgSend_559Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + double, + bool, + ffi.Pointer, + ) + >(); late final _sel_initWithFireDate_interval_target_selector_userInfo_repeats_1 = - _registerName1( - "initWithFireDate:interval:target:selector:userInfo:repeats:"); + objc.registerName( + "initWithFireDate:interval:target:selector:userInfo:repeats:", + ); instancetype _objc_msgSend_560( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer date, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer date, double ti, - ffi.Pointer t, - ffi.Pointer s, - ffi.Pointer ui, + ffi.Pointer t, + ffi.Pointer s, + ffi.Pointer ui, bool rep, ) { - return __objc_msgSend_560( - obj, - sel, - date, - ti, - t, - s, - ui, - rep, - ); + return __objc_msgSend_560(obj, sel, date, ti, t, s, ui, rep); } late final __objc_msgSend_560Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Double, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Bool)>>('objc_msgSend'); - late final __objc_msgSend_560 = __objc_msgSend_560Ptr.asFunction< + ffi.NativeFunction< instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - double, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool)>(); - - late final _sel_fire1 = _registerName1("fire"); - late final _sel_fireDate1 = _registerName1("fireDate"); - late final _sel_setFireDate_1 = _registerName1("setFireDate:"); + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Double, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_560 = + __objc_msgSend_560Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + double, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool, + ) + >(); + + late final _sel_fire1 = objc.registerName("fire"); + late final _sel_fireDate1 = objc.registerName("fireDate"); + late final _sel_setFireDate_1 = objc.registerName("setFireDate:"); void _objc_msgSend_561( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value, ) { - return __objc_msgSend_561( - obj, - sel, - value, - ); + return __objc_msgSend_561(obj, sel, value); } late final __objc_msgSend_561Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_561 = __objc_msgSend_561Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_timeInterval1 = _registerName1("timeInterval"); - late final _sel_tolerance1 = _registerName1("tolerance"); - late final _sel_setTolerance_1 = _registerName1("setTolerance:"); - late final _sel_addTimer_forMode_1 = _registerName1("addTimer:forMode:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_561 = + __objc_msgSend_561Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_timeInterval1 = objc.registerName("timeInterval"); + late final _sel_tolerance1 = objc.registerName("tolerance"); + late final _sel_setTolerance_1 = objc.registerName("setTolerance:"); + late final _sel_addTimer_forMode_1 = objc.registerName("addTimer:forMode:"); void _objc_msgSend_562( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer timer, - ffi.Pointer mode, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer timer, + ffi.Pointer mode, ) { - return __objc_msgSend_562( - obj, - sel, - timer, - mode, - ); + return __objc_msgSend_562(obj, sel, timer, mode); } late final __objc_msgSend_562Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_562 = __objc_msgSend_562Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_addPort_forMode_1 = _registerName1("addPort:forMode:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_562 = + __objc_msgSend_562Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_addPort_forMode_1 = objc.registerName("addPort:forMode:"); void _objc_msgSend_563( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aPort, - ffi.Pointer mode, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer aPort, + ffi.Pointer mode, ) { - return __objc_msgSend_563( - obj, - sel, - aPort, - mode, - ); + return __objc_msgSend_563(obj, sel, aPort, mode); } late final __objc_msgSend_563Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_563 = __objc_msgSend_563Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_removePort_forMode_1 = _registerName1("removePort:forMode:"); - late final _sel_limitDateForMode_1 = _registerName1("limitDateForMode:"); - ffi.Pointer _objc_msgSend_564( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer mode, - ) { - return __objc_msgSend_564( - obj, - sel, - mode, - ); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_563 = + __objc_msgSend_563Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_removePort_forMode_1 = objc.registerName( + "removePort:forMode:", + ); + late final _sel_limitDateForMode_1 = objc.registerName("limitDateForMode:"); + ffi.Pointer _objc_msgSend_564( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer mode, + ) { + return __objc_msgSend_564(obj, sel, mode); } late final __objc_msgSend_564Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_564 = __objc_msgSend_564Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_acceptInputForMode_beforeDate_1 = - _registerName1("acceptInputForMode:beforeDate:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_564 = + __objc_msgSend_564Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_acceptInputForMode_beforeDate_1 = objc.registerName( + "acceptInputForMode:beforeDate:", + ); void _objc_msgSend_565( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer mode, - ffi.Pointer limitDate, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer mode, + ffi.Pointer limitDate, ) { - return __objc_msgSend_565( - obj, - sel, - mode, - limitDate, - ); + return __objc_msgSend_565(obj, sel, mode, limitDate); } late final __objc_msgSend_565Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_565 = __objc_msgSend_565Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_run1 = _registerName1("run"); - late final _sel_runUntilDate_1 = _registerName1("runUntilDate:"); - late final _sel_runMode_beforeDate_1 = _registerName1("runMode:beforeDate:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_565 = + __objc_msgSend_565Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_run1 = objc.registerName("run"); + late final _sel_runUntilDate_1 = objc.registerName("runUntilDate:"); + late final _sel_runMode_beforeDate_1 = objc.registerName( + "runMode:beforeDate:", + ); bool _objc_msgSend_566( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer mode, - ffi.Pointer limitDate, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer mode, + ffi.Pointer limitDate, ) { - return __objc_msgSend_566( - obj, - sel, - mode, - limitDate, - ); + return __objc_msgSend_566(obj, sel, mode, limitDate); } late final __objc_msgSend_566Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_566 = __objc_msgSend_566Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_configureAsServer1 = _registerName1("configureAsServer"); - late final _sel_performInModes_block_1 = - _registerName1("performInModes:block:"); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_566 = + __objc_msgSend_566Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_configureAsServer1 = objc.registerName("configureAsServer"); + late final _sel_performInModes_block_1 = objc.registerName( + "performInModes:block:", + ); void _objc_msgSend_567( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer modes, - ffi.Pointer<_ObjCBlock> block, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer modes, + ffi.Pointer block, ) { - return __objc_msgSend_567( - obj, - sel, - modes, - block, - ); + return __objc_msgSend_567(obj, sel, modes, block); } late final __objc_msgSend_567Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_567 = __objc_msgSend_567Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_performBlock_1 = _registerName1("performBlock:"); - late final _sel_performSelector_target_argument_order_modes_1 = - _registerName1("performSelector:target:argument:order:modes:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_567 = + __objc_msgSend_567Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_performBlock_1 = objc.registerName("performBlock:"); + late final _sel_performSelector_target_argument_order_modes_1 = objc + .registerName("performSelector:target:argument:order:modes:"); void _objc_msgSend_568( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aSelector, - ffi.Pointer target, - ffi.Pointer arg, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer aSelector, + ffi.Pointer target, + ffi.Pointer arg, int order, - ffi.Pointer modes, + ffi.Pointer modes, ) { - return __objc_msgSend_568( - obj, - sel, - aSelector, - target, - arg, - order, - modes, - ); + return __objc_msgSend_568(obj, sel, aSelector, target, arg, order, modes); } late final __objc_msgSend_568Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_568 = __objc_msgSend_568Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer)>(); - - late final _sel_cancelPerformSelector_target_argument_1 = - _registerName1("cancelPerformSelector:target:argument:"); - late final _sel_cancelPerformSelectorsWithTarget_1 = - _registerName1("cancelPerformSelectorsWithTarget:"); - late final _sel_scheduleInRunLoop_forMode_1 = - _registerName1("scheduleInRunLoop:forMode:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_568 = + __objc_msgSend_568Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ) + >(); + + late final _sel_cancelPerformSelector_target_argument_1 = objc.registerName( + "cancelPerformSelector:target:argument:", + ); + late final _sel_cancelPerformSelectorsWithTarget_1 = objc.registerName( + "cancelPerformSelectorsWithTarget:", + ); + late final _sel_scheduleInRunLoop_forMode_1 = objc.registerName( + "scheduleInRunLoop:forMode:", + ); void _objc_msgSend_569( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer runLoop, - ffi.Pointer mode, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer runLoop, + ffi.Pointer mode, ) { - return __objc_msgSend_569( - obj, - sel, - runLoop, - mode, - ); + return __objc_msgSend_569(obj, sel, runLoop, mode); } late final __objc_msgSend_569Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_569 = __objc_msgSend_569Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_removeFromRunLoop_forMode_1 = - _registerName1("removeFromRunLoop:forMode:"); - late final _sel_reservedSpaceLength1 = _registerName1("reservedSpaceLength"); - late final _sel_sendBeforeDate_components_from_reserved_1 = - _registerName1("sendBeforeDate:components:from:reserved:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_569 = + __objc_msgSend_569Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_removeFromRunLoop_forMode_1 = objc.registerName( + "removeFromRunLoop:forMode:", + ); + late final _sel_reservedSpaceLength1 = objc.registerName( + "reservedSpaceLength", + ); + late final _sel_sendBeforeDate_components_from_reserved_1 = objc.registerName( + "sendBeforeDate:components:from:reserved:", + ); bool _objc_msgSend_570( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer limitDate, - ffi.Pointer components, - ffi.Pointer receivePort, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer limitDate, + ffi.Pointer components, + ffi.Pointer receivePort, int headerSpaceReserved, ) { return __objc_msgSend_570( @@ -16204,32 +20328,39 @@ class SwiftLibrary { } late final __objc_msgSend_570Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong)>>('objc_msgSend'); - late final __objc_msgSend_570 = __objc_msgSend_570Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int)>(); - - late final _sel_sendBeforeDate_msgid_components_from_reserved_1 = - _registerName1("sendBeforeDate:msgid:components:from:reserved:"); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_570 = + __objc_msgSend_570Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_sendBeforeDate_msgid_components_from_reserved_1 = objc + .registerName("sendBeforeDate:msgid:components:from:reserved:"); bool _objc_msgSend_571( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer limitDate, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer limitDate, int msgID, - ffi.Pointer components, - ffi.Pointer receivePort, + ffi.Pointer components, + ffi.Pointer receivePort, int headerSpaceReserved, ) { return __objc_msgSend_571( @@ -16244,1061 +20375,1312 @@ class SwiftLibrary { } late final __objc_msgSend_571Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong)>>('objc_msgSend'); - late final __objc_msgSend_571 = __objc_msgSend_571Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ffi.Pointer, - int)>(); - - late final _class_NSConnection1 = _getClass1("NSConnection"); - late final _sel_statistics1 = _registerName1("statistics"); - late final _sel_allConnections1 = _registerName1("allConnections"); - late final _sel_defaultConnection1 = _registerName1("defaultConnection"); - ffi.Pointer _objc_msgSend_572( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_572( - obj, - sel, - ); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_571 = + __objc_msgSend_571Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _class_NSConnection1 = objc.getClass("NSConnection"); + late final _sel_statistics1 = objc.registerName("statistics"); + late final _sel_allConnections1 = objc.registerName("allConnections"); + late final _sel_defaultConnection1 = objc.registerName("defaultConnection"); + ffi.Pointer _objc_msgSend_572( + ffi.Pointer obj, + ffi.Pointer sel, + ) { + return __objc_msgSend_572(obj, sel); } late final __objc_msgSend_572Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_572 = __objc_msgSend_572Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_connectionWithRegisteredName_host_1 = - _registerName1("connectionWithRegisteredName:host:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_572 = + __objc_msgSend_572Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_connectionWithRegisteredName_host_1 = objc.registerName( + "connectionWithRegisteredName:host:", + ); instancetype _objc_msgSend_573( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer name, - ffi.Pointer hostName, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer name, + ffi.Pointer hostName, ) { - return __objc_msgSend_573( - obj, - sel, - name, - hostName, - ); + return __objc_msgSend_573(obj, sel, name, hostName); } late final __objc_msgSend_573Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_573 = __objc_msgSend_573Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _class_NSPortNameServer1 = _getClass1("NSPortNameServer"); - late final _sel_systemDefaultPortNameServer1 = - _registerName1("systemDefaultPortNameServer"); - ffi.Pointer _objc_msgSend_574( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_574( - obj, - sel, - ); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_573 = + __objc_msgSend_573Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _class_NSPortNameServer1 = objc.getClass("NSPortNameServer"); + late final _sel_systemDefaultPortNameServer1 = objc.registerName( + "systemDefaultPortNameServer", + ); + ffi.Pointer _objc_msgSend_574( + ffi.Pointer obj, + ffi.Pointer sel, + ) { + return __objc_msgSend_574(obj, sel); } late final __objc_msgSend_574Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_574 = __objc_msgSend_574Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_portForName_1 = _registerName1("portForName:"); - ffi.Pointer _objc_msgSend_575( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer name, - ) { - return __objc_msgSend_575( - obj, - sel, - name, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_574 = + __objc_msgSend_574Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_portForName_1 = objc.registerName("portForName:"); + ffi.Pointer _objc_msgSend_575( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer name, + ) { + return __objc_msgSend_575(obj, sel, name); } late final __objc_msgSend_575Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_575 = __objc_msgSend_575Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_portForName_host_1 = _registerName1("portForName:host:"); - ffi.Pointer _objc_msgSend_576( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer name, - ffi.Pointer host, - ) { - return __objc_msgSend_576( - obj, - sel, - name, - host, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_575 = + __objc_msgSend_575Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_portForName_host_1 = objc.registerName("portForName:host:"); + ffi.Pointer _objc_msgSend_576( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer name, + ffi.Pointer host, + ) { + return __objc_msgSend_576(obj, sel, name, host); } late final __objc_msgSend_576Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_576 = __objc_msgSend_576Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_registerPort_name_1 = _registerName1("registerPort:name:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_576 = + __objc_msgSend_576Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_registerPort_name_1 = objc.registerName("registerPort:name:"); bool _objc_msgSend_577( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer port, - ffi.Pointer name, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer port, + ffi.Pointer name, ) { - return __objc_msgSend_577( - obj, - sel, - port, - name, - ); + return __objc_msgSend_577(obj, sel, port, name); } late final __objc_msgSend_577Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_577 = __objc_msgSend_577Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_removePortForName_1 = _registerName1("removePortForName:"); - late final _sel_connectionWithRegisteredName_host_usingNameServer_1 = - _registerName1("connectionWithRegisteredName:host:usingNameServer:"); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_577 = + __objc_msgSend_577Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_removePortForName_1 = objc.registerName("removePortForName:"); + late final _sel_connectionWithRegisteredName_host_usingNameServer_1 = objc + .registerName("connectionWithRegisteredName:host:usingNameServer:"); instancetype _objc_msgSend_578( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer name, - ffi.Pointer hostName, - ffi.Pointer server, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer name, + ffi.Pointer hostName, + ffi.Pointer server, ) { - return __objc_msgSend_578( - obj, - sel, - name, - hostName, - server, - ); + return __objc_msgSend_578(obj, sel, name, hostName, server); } late final __objc_msgSend_578Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_578 = __objc_msgSend_578Ptr.asFunction< + ffi.NativeFunction< instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - late final _class_NSDistantObject1 = _getClass1("NSDistantObject"); - late final _class_NSProxy1 = _getClass1("NSProxy"); - ffi.Pointer _objc_msgSend_579( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer sel1, - ) { - return __objc_msgSend_579( - obj, - sel, - sel1, - ); + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_578 = + __objc_msgSend_578Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _class_NSDistantObject1 = objc.getClass("NSDistantObject"); + late final _class_NSProxy1 = objc.getClass("NSProxy"); + ffi.Pointer _objc_msgSend_579( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer sel1, + ) { + return __objc_msgSend_579(obj, sel, sel1); } late final __objc_msgSend_579Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_579 = __objc_msgSend_579Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_respondsToSelector_1 = _registerName1("respondsToSelector:"); - late final _sel_proxyWithTarget_connection_1 = - _registerName1("proxyWithTarget:connection:"); - ffi.Pointer _objc_msgSend_580( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer target, - ffi.Pointer connection, - ) { - return __objc_msgSend_580( - obj, - sel, - target, - connection, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_579 = + __objc_msgSend_579Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_respondsToSelector_1 = objc.registerName( + "respondsToSelector:", + ); + late final _sel_proxyWithTarget_connection_1 = objc.registerName( + "proxyWithTarget:connection:", + ); + ffi.Pointer _objc_msgSend_580( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer target, + ffi.Pointer connection, + ) { + return __objc_msgSend_580(obj, sel, target, connection); } late final __objc_msgSend_580Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_580 = __objc_msgSend_580Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_initWithTarget_connection_1 = - _registerName1("initWithTarget:connection:"); - late final _sel_proxyWithLocal_connection_1 = - _registerName1("proxyWithLocal:connection:"); - ffi.Pointer _objc_msgSend_581( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer target, - ffi.Pointer connection, - ) { - return __objc_msgSend_581( - obj, - sel, - target, - connection, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_580 = + __objc_msgSend_580Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_initWithTarget_connection_1 = objc.registerName( + "initWithTarget:connection:", + ); + late final _sel_proxyWithLocal_connection_1 = objc.registerName( + "proxyWithLocal:connection:", + ); + ffi.Pointer _objc_msgSend_581( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer target, + ffi.Pointer connection, + ) { + return __objc_msgSend_581(obj, sel, target, connection); } late final __objc_msgSend_581Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_581 = __objc_msgSend_581Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_initWithLocal_connection_1 = - _registerName1("initWithLocal:connection:"); - late final _sel_setProtocolForProxy_1 = - _registerName1("setProtocolForProxy:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_581 = + __objc_msgSend_581Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_initWithLocal_connection_1 = objc.registerName( + "initWithLocal:connection:", + ); + late final _sel_setProtocolForProxy_1 = objc.registerName( + "setProtocolForProxy:", + ); void _objc_msgSend_582( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer proto, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer proto, ) { - return __objc_msgSend_582( - obj, - sel, - proto, - ); + return __objc_msgSend_582(obj, sel, proto); } late final __objc_msgSend_582Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_582 = __objc_msgSend_582Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_connectionForProxy1 = _registerName1("connectionForProxy"); - late final _sel_rootProxyForConnectionWithRegisteredName_host_1 = - _registerName1("rootProxyForConnectionWithRegisteredName:host:"); - ffi.Pointer _objc_msgSend_583( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer name, - ffi.Pointer hostName, - ) { - return __objc_msgSend_583( - obj, - sel, - name, - hostName, - ); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_582 = + __objc_msgSend_582Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_connectionForProxy1 = objc.registerName("connectionForProxy"); + late final _sel_rootProxyForConnectionWithRegisteredName_host_1 = objc + .registerName("rootProxyForConnectionWithRegisteredName:host:"); + ffi.Pointer _objc_msgSend_583( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer name, + ffi.Pointer hostName, + ) { + return __objc_msgSend_583(obj, sel, name, hostName); } late final __objc_msgSend_583Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_583 = __objc_msgSend_583Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_583 = + __objc_msgSend_583Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_rootProxyForConnectionWithRegisteredName_host_usingNameServer_1 = - _registerName1( - "rootProxyForConnectionWithRegisteredName:host:usingNameServer:"); - ffi.Pointer _objc_msgSend_584( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer name, - ffi.Pointer hostName, - ffi.Pointer server, - ) { - return __objc_msgSend_584( - obj, - sel, - name, - hostName, - server, - ); + objc.registerName( + "rootProxyForConnectionWithRegisteredName:host:usingNameServer:", + ); + ffi.Pointer _objc_msgSend_584( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer name, + ffi.Pointer hostName, + ffi.Pointer server, + ) { + return __objc_msgSend_584(obj, sel, name, hostName, server); } late final __objc_msgSend_584Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_584 = __objc_msgSend_584Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_serviceConnectionWithName_rootObject_usingNameServer_1 = - _registerName1("serviceConnectionWithName:rootObject:usingNameServer:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_584 = + __objc_msgSend_584Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_serviceConnectionWithName_rootObject_usingNameServer_1 = objc + .registerName("serviceConnectionWithName:rootObject:usingNameServer:"); instancetype _objc_msgSend_585( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer name, - ffi.Pointer root, - ffi.Pointer server, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer name, + ffi.Pointer root, + ffi.Pointer server, ) { - return __objc_msgSend_585( - obj, - sel, - name, - root, - server, - ); + return __objc_msgSend_585(obj, sel, name, root, server); } late final __objc_msgSend_585Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_585 = __objc_msgSend_585Ptr.asFunction< + ffi.NativeFunction< instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_serviceConnectionWithName_rootObject_1 = - _registerName1("serviceConnectionWithName:rootObject:"); + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_585 = + __objc_msgSend_585Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_serviceConnectionWithName_rootObject_1 = objc.registerName( + "serviceConnectionWithName:rootObject:", + ); instancetype _objc_msgSend_586( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer name, - ffi.Pointer root, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer name, + ffi.Pointer root, ) { - return __objc_msgSend_586( - obj, - sel, - name, - root, - ); + return __objc_msgSend_586(obj, sel, name, root); } late final __objc_msgSend_586Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_586 = __objc_msgSend_586Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_requestTimeout1 = _registerName1("requestTimeout"); - late final _sel_setRequestTimeout_1 = _registerName1("setRequestTimeout:"); - late final _sel_replyTimeout1 = _registerName1("replyTimeout"); - late final _sel_setReplyTimeout_1 = _registerName1("setReplyTimeout:"); - late final _sel_rootObject1 = _registerName1("rootObject"); - late final _sel_setRootObject_1 = _registerName1("setRootObject:"); - late final _sel_independentConversationQueueing1 = - _registerName1("independentConversationQueueing"); - late final _sel_setIndependentConversationQueueing_1 = - _registerName1("setIndependentConversationQueueing:"); - late final _sel_rootProxy1 = _registerName1("rootProxy"); - ffi.Pointer _objc_msgSend_587( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_587( - obj, - sel, - ); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_586 = + __objc_msgSend_586Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_requestTimeout1 = objc.registerName("requestTimeout"); + late final _sel_setRequestTimeout_1 = objc.registerName("setRequestTimeout:"); + late final _sel_replyTimeout1 = objc.registerName("replyTimeout"); + late final _sel_setReplyTimeout_1 = objc.registerName("setReplyTimeout:"); + late final _sel_rootObject1 = objc.registerName("rootObject"); + late final _sel_setRootObject_1 = objc.registerName("setRootObject:"); + late final _sel_independentConversationQueueing1 = objc.registerName( + "independentConversationQueueing", + ); + late final _sel_setIndependentConversationQueueing_1 = objc.registerName( + "setIndependentConversationQueueing:", + ); + late final _sel_rootProxy1 = objc.registerName("rootProxy"); + ffi.Pointer _objc_msgSend_587( + ffi.Pointer obj, + ffi.Pointer sel, + ) { + return __objc_msgSend_587(obj, sel); } late final __objc_msgSend_587Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_587 = __objc_msgSend_587Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_addRequestMode_1 = _registerName1("addRequestMode:"); - late final _sel_removeRequestMode_1 = _registerName1("removeRequestMode:"); - late final _sel_requestModes1 = _registerName1("requestModes"); - late final _sel_registerName_1 = _registerName1("registerName:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_587 = + __objc_msgSend_587Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_addRequestMode_1 = objc.registerName("addRequestMode:"); + late final _sel_removeRequestMode_1 = objc.registerName("removeRequestMode:"); + late final _sel_requestModes1 = objc.registerName("requestModes"); + late final _sel_registerName_1 = objc.registerName("registerName:"); bool _objc_msgSend_588( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer name, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer name, ) { - return __objc_msgSend_588( - obj, - sel, - name, - ); + return __objc_msgSend_588(obj, sel, name); } late final __objc_msgSend_588Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_588 = __objc_msgSend_588Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_registerName_withNameServer_1 = - _registerName1("registerName:withNameServer:"); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_588 = + __objc_msgSend_588Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_registerName_withNameServer_1 = objc.registerName( + "registerName:withNameServer:", + ); bool _objc_msgSend_589( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer name, - ffi.Pointer server, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer name, + ffi.Pointer server, ) { - return __objc_msgSend_589( - obj, - sel, - name, - server, - ); + return __objc_msgSend_589(obj, sel, name, server); } late final __objc_msgSend_589Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_589 = __objc_msgSend_589Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_connectionWithReceivePort_sendPort_1 = - _registerName1("connectionWithReceivePort:sendPort:"); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_589 = + __objc_msgSend_589Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_connectionWithReceivePort_sendPort_1 = objc.registerName( + "connectionWithReceivePort:sendPort:", + ); instancetype _objc_msgSend_590( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer receivePort, - ffi.Pointer sendPort, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer receivePort, + ffi.Pointer sendPort, ) { - return __objc_msgSend_590( - obj, - sel, - receivePort, - sendPort, - ); + return __objc_msgSend_590(obj, sel, receivePort, sendPort); } late final __objc_msgSend_590Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_590 = __objc_msgSend_590Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_currentConversation1 = _registerName1("currentConversation"); - late final _sel_initWithReceivePort_sendPort_1 = - _registerName1("initWithReceivePort:sendPort:"); - late final _sel_sendPort1 = _registerName1("sendPort"); - late final _sel_receivePort1 = _registerName1("receivePort"); - late final _sel_enableMultipleThreads1 = - _registerName1("enableMultipleThreads"); - late final _sel_multipleThreadsEnabled1 = - _registerName1("multipleThreadsEnabled"); - late final _sel_addRunLoop_1 = _registerName1("addRunLoop:"); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_590 = + __objc_msgSend_590Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_currentConversation1 = objc.registerName( + "currentConversation", + ); + late final _sel_initWithReceivePort_sendPort_1 = objc.registerName( + "initWithReceivePort:sendPort:", + ); + late final _sel_sendPort1 = objc.registerName("sendPort"); + late final _sel_receivePort1 = objc.registerName("receivePort"); + late final _sel_enableMultipleThreads1 = objc.registerName( + "enableMultipleThreads", + ); + late final _sel_multipleThreadsEnabled1 = objc.registerName( + "multipleThreadsEnabled", + ); + late final _sel_addRunLoop_1 = objc.registerName("addRunLoop:"); void _objc_msgSend_591( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer runloop, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer runloop, ) { - return __objc_msgSend_591( - obj, - sel, - runloop, - ); + return __objc_msgSend_591(obj, sel, runloop); } late final __objc_msgSend_591Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_591 = __objc_msgSend_591Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_removeRunLoop_1 = _registerName1("removeRunLoop:"); - late final _sel_runInNewThread1 = _registerName1("runInNewThread"); - late final _sel_remoteObjects1 = _registerName1("remoteObjects"); - late final _sel_localObjects1 = _registerName1("localObjects"); - late final _sel_dispatchWithComponents_1 = - _registerName1("dispatchWithComponents:"); - late final _sel_addConnection_toRunLoop_forMode_1 = - _registerName1("addConnection:toRunLoop:forMode:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_591 = + __objc_msgSend_591Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_removeRunLoop_1 = objc.registerName("removeRunLoop:"); + late final _sel_runInNewThread1 = objc.registerName("runInNewThread"); + late final _sel_remoteObjects1 = objc.registerName("remoteObjects"); + late final _sel_localObjects1 = objc.registerName("localObjects"); + late final _sel_dispatchWithComponents_1 = objc.registerName( + "dispatchWithComponents:", + ); + late final _sel_addConnection_toRunLoop_forMode_1 = objc.registerName( + "addConnection:toRunLoop:forMode:", + ); void _objc_msgSend_592( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer conn, - ffi.Pointer runLoop, - ffi.Pointer mode, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer conn, + ffi.Pointer runLoop, + ffi.Pointer mode, ) { - return __objc_msgSend_592( - obj, - sel, - conn, - runLoop, - mode, - ); + return __objc_msgSend_592(obj, sel, conn, runLoop, mode); } late final __objc_msgSend_592Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_592 = __objc_msgSend_592Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_removeConnection_fromRunLoop_forMode_1 = - _registerName1("removeConnection:fromRunLoop:forMode:"); - late final _sel_encodePortObject_1 = _registerName1("encodePortObject:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_592 = + __objc_msgSend_592Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_removeConnection_fromRunLoop_forMode_1 = objc.registerName( + "removeConnection:fromRunLoop:forMode:", + ); + late final _sel_encodePortObject_1 = objc.registerName("encodePortObject:"); void _objc_msgSend_593( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aport, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer aport, ) { - return __objc_msgSend_593( - obj, - sel, - aport, - ); + return __objc_msgSend_593(obj, sel, aport); } late final __objc_msgSend_593Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_593 = __objc_msgSend_593Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_decodePortObject1 = _registerName1("decodePortObject"); - ffi.Pointer _objc_msgSend_594( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_594( - obj, - sel, - ); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_593 = + __objc_msgSend_593Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_decodePortObject1 = objc.registerName("decodePortObject"); + ffi.Pointer _objc_msgSend_594( + ffi.Pointer obj, + ffi.Pointer sel, + ) { + return __objc_msgSend_594(obj, sel); } late final __objc_msgSend_594Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_594 = __objc_msgSend_594Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_connection1 = _registerName1("connection"); - ffi.Pointer _objc_msgSend_595( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_595( - obj, - sel, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_594 = + __objc_msgSend_594Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_connection1 = objc.registerName("connection"); + ffi.Pointer _objc_msgSend_595( + ffi.Pointer obj, + ffi.Pointer sel, + ) { + return __objc_msgSend_595(obj, sel); } late final __objc_msgSend_595Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_595 = __objc_msgSend_595Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_portCoderWithReceivePort_sendPort_components_1 = - _registerName1("portCoderWithReceivePort:sendPort:components:"); - ffi.Pointer _objc_msgSend_596( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer rcvPort, - ffi.Pointer sndPort, - ffi.Pointer comps, - ) { - return __objc_msgSend_596( - obj, - sel, - rcvPort, - sndPort, - comps, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_595 = + __objc_msgSend_595Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_portCoderWithReceivePort_sendPort_components_1 = objc + .registerName("portCoderWithReceivePort:sendPort:components:"); + ffi.Pointer _objc_msgSend_596( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer rcvPort, + ffi.Pointer sndPort, + ffi.Pointer comps, + ) { + return __objc_msgSend_596(obj, sel, rcvPort, sndPort, comps); } late final __objc_msgSend_596Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_596 = __objc_msgSend_596Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_initWithReceivePort_sendPort_components_1 = - _registerName1("initWithReceivePort:sendPort:components:"); - late final _sel_dispatch1 = _registerName1("dispatch"); - late final _sel_replacementObjectForPortCoder_1 = - _registerName1("replacementObjectForPortCoder:"); - ffi.Pointer _objc_msgSend_597( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer coder, - ) { - return __objc_msgSend_597( - obj, - sel, - coder, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_596 = + __objc_msgSend_596Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_initWithReceivePort_sendPort_components_1 = objc.registerName( + "initWithReceivePort:sendPort:components:", + ); + late final _sel_dispatch1 = objc.registerName("dispatch"); + late final _sel_replacementObjectForPortCoder_1 = objc.registerName( + "replacementObjectForPortCoder:", + ); + ffi.Pointer _objc_msgSend_597( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer coder, + ) { + return __objc_msgSend_597(obj, sel, coder); } late final __objc_msgSend_597Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_597 = __objc_msgSend_597Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _class_NSClassDescription1 = _getClass1("NSClassDescription"); - late final _sel_registerClassDescription_forClass_1 = - _registerName1("registerClassDescription:forClass:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_597 = + __objc_msgSend_597Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _class_NSClassDescription1 = objc.getClass("NSClassDescription"); + late final _sel_registerClassDescription_forClass_1 = objc.registerName( + "registerClassDescription:forClass:", + ); void _objc_msgSend_598( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer description, - ffi.Pointer aClass, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer description, + ffi.Pointer aClass, ) { - return __objc_msgSend_598( - obj, - sel, - description, - aClass, - ); + return __objc_msgSend_598(obj, sel, description, aClass); } late final __objc_msgSend_598Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_598 = __objc_msgSend_598Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_invalidateClassDescriptionCache1 = - _registerName1("invalidateClassDescriptionCache"); - late final _sel_classDescriptionForClass_1 = - _registerName1("classDescriptionForClass:"); - ffi.Pointer _objc_msgSend_599( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aClass, - ) { - return __objc_msgSend_599( - obj, - sel, - aClass, - ); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_598 = + __objc_msgSend_598Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_invalidateClassDescriptionCache1 = objc.registerName( + "invalidateClassDescriptionCache", + ); + late final _sel_classDescriptionForClass_1 = objc.registerName( + "classDescriptionForClass:", + ); + ffi.Pointer _objc_msgSend_599( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer aClass, + ) { + return __objc_msgSend_599(obj, sel, aClass); } late final __objc_msgSend_599Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_599 = __objc_msgSend_599Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_attributeKeys1 = _registerName1("attributeKeys"); - late final _sel_toOneRelationshipKeys1 = - _registerName1("toOneRelationshipKeys"); - late final _sel_toManyRelationshipKeys1 = - _registerName1("toManyRelationshipKeys"); - late final _sel_inverseForRelationshipKey_1 = - _registerName1("inverseForRelationshipKey:"); - late final _sel_classDescription1 = _registerName1("classDescription"); - ffi.Pointer _objc_msgSend_600( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_600( - obj, - sel, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_599 = + __objc_msgSend_599Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_attributeKeys1 = objc.registerName("attributeKeys"); + late final _sel_toOneRelationshipKeys1 = objc.registerName( + "toOneRelationshipKeys", + ); + late final _sel_toManyRelationshipKeys1 = objc.registerName( + "toManyRelationshipKeys", + ); + late final _sel_inverseForRelationshipKey_1 = objc.registerName( + "inverseForRelationshipKey:", + ); + late final _sel_classDescription1 = objc.registerName("classDescription"); + ffi.Pointer _objc_msgSend_600( + ffi.Pointer obj, + ffi.Pointer sel, + ) { + return __objc_msgSend_600(obj, sel); } late final __objc_msgSend_600Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_600 = __objc_msgSend_600Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); - - late final _class_NSScriptObjectSpecifier1 = - _getClass1("NSScriptObjectSpecifier"); - late final _class_NSAppleEventDescriptor1 = - _getClass1("NSAppleEventDescriptor"); - late final _sel_nullDescriptor1 = _registerName1("nullDescriptor"); - ffi.Pointer _objc_msgSend_601( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_601( - obj, - sel, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_600 = + __objc_msgSend_600Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _class_NSScriptObjectSpecifier1 = objc.getClass( + "NSScriptObjectSpecifier", + ); + late final _class_NSAppleEventDescriptor1 = objc.getClass( + "NSAppleEventDescriptor", + ); + late final _sel_nullDescriptor1 = objc.registerName("nullDescriptor"); + ffi.Pointer _objc_msgSend_601( + ffi.Pointer obj, + ffi.Pointer sel, + ) { + return __objc_msgSend_601(obj, sel); } late final __objc_msgSend_601Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_601 = __objc_msgSend_601Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_descriptorWithDescriptorType_bytes_length_1 = - _registerName1("descriptorWithDescriptorType:bytes:length:"); - ffi.Pointer _objc_msgSend_602( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_601 = + __objc_msgSend_601Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_descriptorWithDescriptorType_bytes_length_1 = objc + .registerName("descriptorWithDescriptorType:bytes:length:"); + ffi.Pointer _objc_msgSend_602( + ffi.Pointer obj, + ffi.Pointer sel, int descriptorType, ffi.Pointer bytes, int byteCount, ) { - return __objc_msgSend_602( - obj, - sel, - descriptorType, - bytes, - byteCount, - ); + return __objc_msgSend_602(obj, sel, descriptorType, bytes, byteCount); } late final __objc_msgSend_602Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedInt, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedInt, + ffi.Pointer, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_602 = + __objc_msgSend_602Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, ffi.Pointer, - ffi.UnsignedLong)>>('objc_msgSend'); - late final __objc_msgSend_602 = __objc_msgSend_602Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, int, ffi.Pointer, int)>(); - - late final _sel_descriptorWithDescriptorType_data_1 = - _registerName1("descriptorWithDescriptorType:data:"); - ffi.Pointer _objc_msgSend_603( - ffi.Pointer obj, - ffi.Pointer sel, + int, + ) + >(); + + late final _sel_descriptorWithDescriptorType_data_1 = objc.registerName( + "descriptorWithDescriptorType:data:", + ); + ffi.Pointer _objc_msgSend_603( + ffi.Pointer obj, + ffi.Pointer sel, int descriptorType, - ffi.Pointer data, + ffi.Pointer data, ) { - return __objc_msgSend_603( - obj, - sel, - descriptorType, - data, - ); + return __objc_msgSend_603(obj, sel, descriptorType, data); } late final __objc_msgSend_603Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedInt, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_603 = __objc_msgSend_603Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, int, ffi.Pointer)>(); - - late final _sel_descriptorWithBoolean_1 = - _registerName1("descriptorWithBoolean:"); - ffi.Pointer _objc_msgSend_604( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedInt, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_603 = + __objc_msgSend_603Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ) + >(); + + late final _sel_descriptorWithBoolean_1 = objc.registerName( + "descriptorWithBoolean:", + ); + ffi.Pointer _objc_msgSend_604( + ffi.Pointer obj, + ffi.Pointer sel, int boolean, ) { - return __objc_msgSend_604( - obj, - sel, - boolean, - ); + return __objc_msgSend_604(obj, sel, boolean); } late final __objc_msgSend_604Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.UnsignedChar)>>('objc_msgSend'); - late final __objc_msgSend_604 = __objc_msgSend_604Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_descriptorWithEnumCode_1 = - _registerName1("descriptorWithEnumCode:"); - ffi.Pointer _objc_msgSend_605( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedChar, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_604 = + __objc_msgSend_604Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_descriptorWithEnumCode_1 = objc.registerName( + "descriptorWithEnumCode:", + ); + ffi.Pointer _objc_msgSend_605( + ffi.Pointer obj, + ffi.Pointer sel, int enumerator, ) { - return __objc_msgSend_605( - obj, - sel, - enumerator, - ); + return __objc_msgSend_605(obj, sel, enumerator); } late final __objc_msgSend_605Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.UnsignedInt)>>('objc_msgSend'); - late final __objc_msgSend_605 = __objc_msgSend_605Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_descriptorWithInt32_1 = - _registerName1("descriptorWithInt32:"); - ffi.Pointer _objc_msgSend_606( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedInt, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_605 = + __objc_msgSend_605Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_descriptorWithInt32_1 = objc.registerName( + "descriptorWithInt32:", + ); + ffi.Pointer _objc_msgSend_606( + ffi.Pointer obj, + ffi.Pointer sel, int signedInt, ) { - return __objc_msgSend_606( - obj, - sel, - signedInt, - ); + return __objc_msgSend_606(obj, sel, signedInt); } late final __objc_msgSend_606Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Int)>>('objc_msgSend'); - late final __objc_msgSend_606 = __objc_msgSend_606Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_descriptorWithDouble_1 = - _registerName1("descriptorWithDouble:"); - ffi.Pointer _objc_msgSend_607( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_606 = + __objc_msgSend_606Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_descriptorWithDouble_1 = objc.registerName( + "descriptorWithDouble:", + ); + ffi.Pointer _objc_msgSend_607( + ffi.Pointer obj, + ffi.Pointer sel, double doubleValue, ) { - return __objc_msgSend_607( - obj, - sel, - doubleValue, - ); + return __objc_msgSend_607(obj, sel, doubleValue); } late final __objc_msgSend_607Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Double)>>('objc_msgSend'); - late final __objc_msgSend_607 = __objc_msgSend_607Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer, double)>(); - - late final _sel_descriptorWithTypeCode_1 = - _registerName1("descriptorWithTypeCode:"); - late final _sel_descriptorWithString_1 = - _registerName1("descriptorWithString:"); - ffi.Pointer _objc_msgSend_608( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer string, - ) { - return __objc_msgSend_608( - obj, - sel, - string, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Double, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_607 = + __objc_msgSend_607Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + double, + ) + >(); + + late final _sel_descriptorWithTypeCode_1 = objc.registerName( + "descriptorWithTypeCode:", + ); + late final _sel_descriptorWithString_1 = objc.registerName( + "descriptorWithString:", + ); + ffi.Pointer _objc_msgSend_608( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer string, + ) { + return __objc_msgSend_608(obj, sel, string); } late final __objc_msgSend_608Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_608 = __objc_msgSend_608Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_descriptorWithDate_1 = _registerName1("descriptorWithDate:"); - ffi.Pointer _objc_msgSend_609( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer date, - ) { - return __objc_msgSend_609( - obj, - sel, - date, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_608 = + __objc_msgSend_608Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_descriptorWithDate_1 = objc.registerName( + "descriptorWithDate:", + ); + ffi.Pointer _objc_msgSend_609( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer date, + ) { + return __objc_msgSend_609(obj, sel, date); } late final __objc_msgSend_609Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_609 = __objc_msgSend_609Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_descriptorWithFileURL_1 = - _registerName1("descriptorWithFileURL:"); - ffi.Pointer _objc_msgSend_610( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer fileURL, - ) { - return __objc_msgSend_610( - obj, - sel, - fileURL, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_609 = + __objc_msgSend_609Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_descriptorWithFileURL_1 = objc.registerName( + "descriptorWithFileURL:", + ); + ffi.Pointer _objc_msgSend_610( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer fileURL, + ) { + return __objc_msgSend_610(obj, sel, fileURL); } late final __objc_msgSend_610Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_610 = __objc_msgSend_610Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_610 = + __objc_msgSend_610Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_appleEventWithEventClass_eventID_targetDescriptor_returnID_transactionID_1 = - _registerName1( - "appleEventWithEventClass:eventID:targetDescriptor:returnID:transactionID:"); - ffi.Pointer _objc_msgSend_611( - ffi.Pointer obj, - ffi.Pointer sel, + objc.registerName( + "appleEventWithEventClass:eventID:targetDescriptor:returnID:transactionID:", + ); + ffi.Pointer _objc_msgSend_611( + ffi.Pointer obj, + ffi.Pointer sel, int eventClass, int eventID, - ffi.Pointer targetDescriptor, + ffi.Pointer targetDescriptor, int returnID, int transactionID, ) { @@ -17314,114 +21696,155 @@ class SwiftLibrary { } late final __objc_msgSend_611Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedInt, - ffi.UnsignedInt, - ffi.Pointer, - ffi.Short, - ffi.Int)>>('objc_msgSend'); - late final __objc_msgSend_611 = __objc_msgSend_611Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, int, int, ffi.Pointer, int, int)>(); - - late final _sel_listDescriptor1 = _registerName1("listDescriptor"); - late final _sel_recordDescriptor1 = _registerName1("recordDescriptor"); - late final _sel_currentProcessDescriptor1 = - _registerName1("currentProcessDescriptor"); - late final _sel_descriptorWithProcessIdentifier_1 = - _registerName1("descriptorWithProcessIdentifier:"); - late final _sel_descriptorWithBundleIdentifier_1 = - _registerName1("descriptorWithBundleIdentifier:"); - late final _sel_descriptorWithApplicationURL_1 = - _registerName1("descriptorWithApplicationURL:"); - late final _sel_initWithAEDescNoCopy_1 = - _registerName1("initWithAEDescNoCopy:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedInt, + ffi.UnsignedInt, + ffi.Pointer, + ffi.Short, + ffi.Int, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_611 = + __objc_msgSend_611Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + int, + ffi.Pointer, + int, + int, + ) + >(); + + late final _sel_listDescriptor1 = objc.registerName("listDescriptor"); + late final _sel_recordDescriptor1 = objc.registerName("recordDescriptor"); + late final _sel_currentProcessDescriptor1 = objc.registerName( + "currentProcessDescriptor", + ); + late final _sel_descriptorWithProcessIdentifier_1 = objc.registerName( + "descriptorWithProcessIdentifier:", + ); + late final _sel_descriptorWithBundleIdentifier_1 = objc.registerName( + "descriptorWithBundleIdentifier:", + ); + late final _sel_descriptorWithApplicationURL_1 = objc.registerName( + "descriptorWithApplicationURL:", + ); + late final _sel_initWithAEDescNoCopy_1 = objc.registerName( + "initWithAEDescNoCopy:", + ); instancetype _objc_msgSend_612( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ffi.Pointer aeDesc, ) { - return __objc_msgSend_612( - obj, - sel, - aeDesc, - ); + return __objc_msgSend_612(obj, sel, aeDesc); } late final __objc_msgSend_612Ptr = _lookup< - ffi.NativeFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_612 = __objc_msgSend_612Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_initWithDescriptorType_bytes_length_1 = - _registerName1("initWithDescriptorType:bytes:length:"); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_612 = + __objc_msgSend_612Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_initWithDescriptorType_bytes_length_1 = objc.registerName( + "initWithDescriptorType:bytes:length:", + ); instancetype _objc_msgSend_613( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int descriptorType, ffi.Pointer bytes, int byteCount, ) { - return __objc_msgSend_613( - obj, - sel, - descriptorType, - bytes, - byteCount, - ); + return __objc_msgSend_613(obj, sel, descriptorType, bytes, byteCount); } late final __objc_msgSend_613Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedInt, + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedInt, + ffi.Pointer, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_613 = + __objc_msgSend_613Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + int, ffi.Pointer, - ffi.UnsignedLong)>>('objc_msgSend'); - late final __objc_msgSend_613 = __objc_msgSend_613Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, int, - ffi.Pointer, int)>(); + int, + ) + >(); - late final _sel_initWithDescriptorType_data_1 = - _registerName1("initWithDescriptorType:data:"); + late final _sel_initWithDescriptorType_data_1 = objc.registerName( + "initWithDescriptorType:data:", + ); instancetype _objc_msgSend_614( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int descriptorType, - ffi.Pointer data, + ffi.Pointer data, ) { - return __objc_msgSend_614( - obj, - sel, - descriptorType, - data, - ); + return __objc_msgSend_614(obj, sel, descriptorType, data); } late final __objc_msgSend_614Ptr = _lookup< - ffi.NativeFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.UnsignedInt, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_614 = __objc_msgSend_614Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, int, - ffi.Pointer)>(); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedInt, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_614 = + __objc_msgSend_614Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ) + >(); late final _sel_initWithEventClass_eventID_targetDescriptor_returnID_transactionID_1 = - _registerName1( - "initWithEventClass:eventID:targetDescriptor:returnID:transactionID:"); + objc.registerName( + "initWithEventClass:eventID:targetDescriptor:returnID:transactionID:", + ); instancetype _objc_msgSend_615( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int eventClass, int eventID, - ffi.Pointer targetDescriptor, + ffi.Pointer targetDescriptor, int returnID, int transactionID, ) { @@ -17437,959 +21860,1256 @@ class SwiftLibrary { } late final __objc_msgSend_615Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedInt, - ffi.UnsignedInt, - ffi.Pointer, - ffi.Short, - ffi.Int)>>('objc_msgSend'); - late final __objc_msgSend_615 = __objc_msgSend_615Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, int, - int, ffi.Pointer, int, int)>(); - - late final _sel_initListDescriptor1 = _registerName1("initListDescriptor"); - late final _sel_initRecordDescriptor1 = - _registerName1("initRecordDescriptor"); - late final _sel_aeDesc1 = _registerName1("aeDesc"); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedInt, + ffi.UnsignedInt, + ffi.Pointer, + ffi.Short, + ffi.Int, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_615 = + __objc_msgSend_615Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + int, + int, + ffi.Pointer, + int, + int, + ) + >(); + + late final _sel_initListDescriptor1 = objc.registerName("initListDescriptor"); + late final _sel_initRecordDescriptor1 = objc.registerName( + "initRecordDescriptor", + ); + late final _sel_aeDesc1 = objc.registerName("aeDesc"); ffi.Pointer _objc_msgSend_616( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_616( - obj, - sel, - ); + return __objc_msgSend_616(obj, sel); } late final __objc_msgSend_616Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_616 = __objc_msgSend_616Ptr.asFunction< + ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_descriptorType1 = _registerName1("descriptorType"); - late final _sel_booleanValue1 = _registerName1("booleanValue"); - late final _sel_enumCodeValue1 = _registerName1("enumCodeValue"); - late final _sel_int32Value1 = _registerName1("int32Value"); - late final _sel_typeCodeValue1 = _registerName1("typeCodeValue"); - late final _sel_dateValue1 = _registerName1("dateValue"); - late final _sel_fileURLValue1 = _registerName1("fileURLValue"); - late final _sel_eventClass1 = _registerName1("eventClass"); - late final _sel_eventID1 = _registerName1("eventID"); - late final _sel_returnID1 = _registerName1("returnID"); - late final _sel_transactionID1 = _registerName1("transactionID"); - late final _sel_setParamDescriptor_forKeyword_1 = - _registerName1("setParamDescriptor:forKeyword:"); + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_616 = + __objc_msgSend_616Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_descriptorType1 = objc.registerName("descriptorType"); + late final _sel_booleanValue1 = objc.registerName("booleanValue"); + late final _sel_enumCodeValue1 = objc.registerName("enumCodeValue"); + late final _sel_int32Value1 = objc.registerName("int32Value"); + late final _sel_typeCodeValue1 = objc.registerName("typeCodeValue"); + late final _sel_dateValue1 = objc.registerName("dateValue"); + late final _sel_fileURLValue1 = objc.registerName("fileURLValue"); + late final _sel_eventClass1 = objc.registerName("eventClass"); + late final _sel_eventID1 = objc.registerName("eventID"); + late final _sel_returnID1 = objc.registerName("returnID"); + late final _sel_transactionID1 = objc.registerName("transactionID"); + late final _sel_setParamDescriptor_forKeyword_1 = objc.registerName( + "setParamDescriptor:forKeyword:", + ); void _objc_msgSend_617( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer descriptor, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer descriptor, int keyword, ) { - return __objc_msgSend_617( - obj, - sel, - descriptor, - keyword, - ); + return __objc_msgSend_617(obj, sel, descriptor, keyword); } late final __objc_msgSend_617Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.UnsignedInt)>>('objc_msgSend'); - late final __objc_msgSend_617 = __objc_msgSend_617Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int)>(); - - late final _sel_paramDescriptorForKeyword_1 = - _registerName1("paramDescriptorForKeyword:"); - ffi.Pointer _objc_msgSend_618( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedInt, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_617 = + __objc_msgSend_617Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_paramDescriptorForKeyword_1 = objc.registerName( + "paramDescriptorForKeyword:", + ); + ffi.Pointer _objc_msgSend_618( + ffi.Pointer obj, + ffi.Pointer sel, int keyword, ) { - return __objc_msgSend_618( - obj, - sel, - keyword, - ); + return __objc_msgSend_618(obj, sel, keyword); } late final __objc_msgSend_618Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.UnsignedInt)>>('objc_msgSend'); - late final __objc_msgSend_618 = __objc_msgSend_618Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_removeParamDescriptorWithKeyword_1 = - _registerName1("removeParamDescriptorWithKeyword:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedInt, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_618 = + __objc_msgSend_618Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_removeParamDescriptorWithKeyword_1 = objc.registerName( + "removeParamDescriptorWithKeyword:", + ); void _objc_msgSend_619( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int keyword, ) { - return __objc_msgSend_619( - obj, - sel, - keyword, - ); + return __objc_msgSend_619(obj, sel, keyword); } late final __objc_msgSend_619Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.UnsignedInt)>>('objc_msgSend'); - late final __objc_msgSend_619 = __objc_msgSend_619Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_setAttributeDescriptor_forKeyword_1 = - _registerName1("setAttributeDescriptor:forKeyword:"); - late final _sel_attributeDescriptorForKeyword_1 = - _registerName1("attributeDescriptorForKeyword:"); - late final _sel_sendEventWithOptions_timeout_error_1 = - _registerName1("sendEventWithOptions:timeout:error:"); - ffi.Pointer _objc_msgSend_620( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedInt, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_619 = + __objc_msgSend_619Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_setAttributeDescriptor_forKeyword_1 = objc.registerName( + "setAttributeDescriptor:forKeyword:", + ); + late final _sel_attributeDescriptorForKeyword_1 = objc.registerName( + "attributeDescriptorForKeyword:", + ); + late final _sel_sendEventWithOptions_timeout_error_1 = objc.registerName( + "sendEventWithOptions:timeout:error:", + ); + ffi.Pointer _objc_msgSend_620( + ffi.Pointer obj, + ffi.Pointer sel, int sendOptions, double timeoutInSeconds, - ffi.Pointer> error, + ffi.Pointer> error, ) { - return __objc_msgSend_620( - obj, - sel, - sendOptions, - timeoutInSeconds, - error, - ); + return __objc_msgSend_620(obj, sel, sendOptions, timeoutInSeconds, error); } late final __objc_msgSend_620Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Double, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_620 = __objc_msgSend_620Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - double, - ffi.Pointer>)>(); - - late final _sel_isRecordDescriptor1 = _registerName1("isRecordDescriptor"); - late final _sel_numberOfItems1 = _registerName1("numberOfItems"); - late final _sel_insertDescriptor_atIndex_1 = - _registerName1("insertDescriptor:atIndex:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Double, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_620 = + __objc_msgSend_620Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + double, + ffi.Pointer>, + ) + >(); + + late final _sel_isRecordDescriptor1 = objc.registerName("isRecordDescriptor"); + late final _sel_numberOfItems1 = objc.registerName("numberOfItems"); + late final _sel_insertDescriptor_atIndex_1 = objc.registerName( + "insertDescriptor:atIndex:", + ); void _objc_msgSend_621( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer descriptor, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer descriptor, int index, ) { - return __objc_msgSend_621( - obj, - sel, - descriptor, - index, - ); + return __objc_msgSend_621(obj, sel, descriptor, index); } late final __objc_msgSend_621Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Long)>>('objc_msgSend'); - late final __objc_msgSend_621 = __objc_msgSend_621Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int)>(); - - late final _sel_descriptorAtIndex_1 = _registerName1("descriptorAtIndex:"); - ffi.Pointer _objc_msgSend_622( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Long, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_621 = + __objc_msgSend_621Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_descriptorAtIndex_1 = objc.registerName("descriptorAtIndex:"); + ffi.Pointer _objc_msgSend_622( + ffi.Pointer obj, + ffi.Pointer sel, int index, ) { - return __objc_msgSend_622( - obj, - sel, - index, - ); + return __objc_msgSend_622(obj, sel, index); } late final __objc_msgSend_622Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Long)>>('objc_msgSend'); - late final __objc_msgSend_622 = __objc_msgSend_622Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_removeDescriptorAtIndex_1 = - _registerName1("removeDescriptorAtIndex:"); - late final _sel_setDescriptor_forKeyword_1 = - _registerName1("setDescriptor:forKeyword:"); - late final _sel_descriptorForKeyword_1 = - _registerName1("descriptorForKeyword:"); - late final _sel_removeDescriptorWithKeyword_1 = - _registerName1("removeDescriptorWithKeyword:"); - late final _sel_keywordForDescriptorAtIndex_1 = - _registerName1("keywordForDescriptorAtIndex:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Long, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_622 = + __objc_msgSend_622Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_removeDescriptorAtIndex_1 = objc.registerName( + "removeDescriptorAtIndex:", + ); + late final _sel_setDescriptor_forKeyword_1 = objc.registerName( + "setDescriptor:forKeyword:", + ); + late final _sel_descriptorForKeyword_1 = objc.registerName( + "descriptorForKeyword:", + ); + late final _sel_removeDescriptorWithKeyword_1 = objc.registerName( + "removeDescriptorWithKeyword:", + ); + late final _sel_keywordForDescriptorAtIndex_1 = objc.registerName( + "keywordForDescriptorAtIndex:", + ); int _objc_msgSend_623( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int index, ) { - return __objc_msgSend_623( - obj, - sel, - index, - ); + return __objc_msgSend_623(obj, sel, index); } late final __objc_msgSend_623Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedInt Function(ffi.Pointer, - ffi.Pointer, ffi.Long)>>('objc_msgSend'); - late final __objc_msgSend_623 = __objc_msgSend_623Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_coerceToDescriptorType_1 = - _registerName1("coerceToDescriptorType:"); - late final _sel_objectSpecifierWithDescriptor_1 = - _registerName1("objectSpecifierWithDescriptor:"); - ffi.Pointer _objc_msgSend_624( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer descriptor, - ) { - return __objc_msgSend_624( - obj, - sel, - descriptor, - ); + ffi.NativeFunction< + ffi.UnsignedInt Function( + ffi.Pointer, + ffi.Pointer, + ffi.Long, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_623 = + __objc_msgSend_623Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_coerceToDescriptorType_1 = objc.registerName( + "coerceToDescriptorType:", + ); + late final _sel_objectSpecifierWithDescriptor_1 = objc.registerName( + "objectSpecifierWithDescriptor:", + ); + ffi.Pointer _objc_msgSend_624( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer descriptor, + ) { + return __objc_msgSend_624(obj, sel, descriptor); } late final __objc_msgSend_624Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_624 = __objc_msgSend_624Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_initWithContainerSpecifier_key_1 = - _registerName1("initWithContainerSpecifier:key:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_624 = + __objc_msgSend_624Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_initWithContainerSpecifier_key_1 = objc.registerName( + "initWithContainerSpecifier:key:", + ); instancetype _objc_msgSend_625( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer container, - ffi.Pointer property, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer container, + ffi.Pointer property, ) { - return __objc_msgSend_625( - obj, - sel, - container, - property, - ); + return __objc_msgSend_625(obj, sel, container, property); } late final __objc_msgSend_625Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_625 = __objc_msgSend_625Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _class_NSScriptClassDescription1 = - _getClass1("NSScriptClassDescription"); - ffi.Pointer _objc_msgSend_626( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aClass, - ) { - return __objc_msgSend_626( - obj, - sel, - aClass, - ); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_625 = + __objc_msgSend_625Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _class_NSScriptClassDescription1 = objc.getClass( + "NSScriptClassDescription", + ); + ffi.Pointer _objc_msgSend_626( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer aClass, + ) { + return __objc_msgSend_626(obj, sel, aClass); } late final __objc_msgSend_626Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_626 = __objc_msgSend_626Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_initWithSuiteName_className_dictionary_1 = - _registerName1("initWithSuiteName:className:dictionary:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_626 = + __objc_msgSend_626Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_initWithSuiteName_className_dictionary_1 = objc.registerName( + "initWithSuiteName:className:dictionary:", + ); instancetype _objc_msgSend_627( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer suiteName, - ffi.Pointer className, - ffi.Pointer classDeclaration, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer suiteName, + ffi.Pointer className, + ffi.Pointer classDeclaration, ) { - return __objc_msgSend_627( - obj, - sel, - suiteName, - className, - classDeclaration, - ); + return __objc_msgSend_627(obj, sel, suiteName, className, classDeclaration); } late final __objc_msgSend_627Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_627 = __objc_msgSend_627Ptr.asFunction< + ffi.NativeFunction< instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_suiteName1 = _registerName1("suiteName"); - late final _sel_className1 = _registerName1("className"); - late final _sel_implementationClassName1 = - _registerName1("implementationClassName"); - late final _sel_superclassDescription1 = - _registerName1("superclassDescription"); - ffi.Pointer _objc_msgSend_628( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_628( - obj, - sel, - ); + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_627 = + __objc_msgSend_627Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_suiteName1 = objc.registerName("suiteName"); + late final _sel_className1 = objc.registerName("className"); + late final _sel_implementationClassName1 = objc.registerName( + "implementationClassName", + ); + late final _sel_superclassDescription1 = objc.registerName( + "superclassDescription", + ); + ffi.Pointer _objc_msgSend_628( + ffi.Pointer obj, + ffi.Pointer sel, + ) { + return __objc_msgSend_628(obj, sel); } late final __objc_msgSend_628Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_628 = __objc_msgSend_628Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_appleEventCode1 = _registerName1("appleEventCode"); - late final _sel_matchesAppleEventCode_1 = - _registerName1("matchesAppleEventCode:"); - late final _class_NSScriptCommandDescription1 = - _getClass1("NSScriptCommandDescription"); - late final _sel_initWithSuiteName_commandName_dictionary_1 = - _registerName1("initWithSuiteName:commandName:dictionary:"); - late final _sel_commandName1 = _registerName1("commandName"); - late final _sel_appleEventClassCode1 = _registerName1("appleEventClassCode"); - late final _sel_commandClassName1 = _registerName1("commandClassName"); - late final _sel_returnType1 = _registerName1("returnType"); - late final _sel_appleEventCodeForReturnType1 = - _registerName1("appleEventCodeForReturnType"); - late final _sel_argumentNames1 = _registerName1("argumentNames"); - late final _sel_typeForArgumentWithName_1 = - _registerName1("typeForArgumentWithName:"); - late final _sel_appleEventCodeForArgumentWithName_1 = - _registerName1("appleEventCodeForArgumentWithName:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_628 = + __objc_msgSend_628Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_appleEventCode1 = objc.registerName("appleEventCode"); + late final _sel_matchesAppleEventCode_1 = objc.registerName( + "matchesAppleEventCode:", + ); + late final _class_NSScriptCommandDescription1 = objc.getClass( + "NSScriptCommandDescription", + ); + late final _sel_initWithSuiteName_commandName_dictionary_1 = objc + .registerName("initWithSuiteName:commandName:dictionary:"); + late final _sel_commandName1 = objc.registerName("commandName"); + late final _sel_appleEventClassCode1 = objc.registerName( + "appleEventClassCode", + ); + late final _sel_commandClassName1 = objc.registerName("commandClassName"); + late final _sel_returnType1 = objc.registerName("returnType"); + late final _sel_appleEventCodeForReturnType1 = objc.registerName( + "appleEventCodeForReturnType", + ); + late final _sel_argumentNames1 = objc.registerName("argumentNames"); + late final _sel_typeForArgumentWithName_1 = objc.registerName( + "typeForArgumentWithName:", + ); + late final _sel_appleEventCodeForArgumentWithName_1 = objc.registerName( + "appleEventCodeForArgumentWithName:", + ); int _objc_msgSend_629( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer argumentName, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer argumentName, ) { - return __objc_msgSend_629( - obj, - sel, - argumentName, - ); + return __objc_msgSend_629(obj, sel, argumentName); } late final __objc_msgSend_629Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedInt Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_629 = __objc_msgSend_629Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_isOptionalArgumentWithName_1 = - _registerName1("isOptionalArgumentWithName:"); - late final _class_NSScriptCommand1 = _getClass1("NSScriptCommand"); - late final _sel_initWithCommandDescription_1 = - _registerName1("initWithCommandDescription:"); + ffi.NativeFunction< + ffi.UnsignedInt Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_629 = + __objc_msgSend_629Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_isOptionalArgumentWithName_1 = objc.registerName( + "isOptionalArgumentWithName:", + ); + late final _class_NSScriptCommand1 = objc.getClass("NSScriptCommand"); + late final _sel_initWithCommandDescription_1 = objc.registerName( + "initWithCommandDescription:", + ); instancetype _objc_msgSend_630( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer commandDef, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer commandDef, ) { - return __objc_msgSend_630( - obj, - sel, - commandDef, - ); + return __objc_msgSend_630(obj, sel, commandDef); } late final __objc_msgSend_630Ptr = _lookup< - ffi.NativeFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_630 = __objc_msgSend_630Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_commandDescription1 = _registerName1("commandDescription"); - ffi.Pointer _objc_msgSend_631( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_631( - obj, - sel, - ); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_630 = + __objc_msgSend_630Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_commandDescription1 = objc.registerName("commandDescription"); + ffi.Pointer _objc_msgSend_631( + ffi.Pointer obj, + ffi.Pointer sel, + ) { + return __objc_msgSend_631(obj, sel); } late final __objc_msgSend_631Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_631 = __objc_msgSend_631Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_directParameter1 = _registerName1("directParameter"); - late final _sel_setDirectParameter_1 = _registerName1("setDirectParameter:"); - late final _sel_receiversSpecifier1 = _registerName1("receiversSpecifier"); - ffi.Pointer _objc_msgSend_632( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_632( - obj, - sel, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_631 = + __objc_msgSend_631Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_directParameter1 = objc.registerName("directParameter"); + late final _sel_setDirectParameter_1 = objc.registerName( + "setDirectParameter:", + ); + late final _sel_receiversSpecifier1 = objc.registerName("receiversSpecifier"); + ffi.Pointer _objc_msgSend_632( + ffi.Pointer obj, + ffi.Pointer sel, + ) { + return __objc_msgSend_632(obj, sel); } late final __objc_msgSend_632Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_632 = __objc_msgSend_632Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_setReceiversSpecifier_1 = - _registerName1("setReceiversSpecifier:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_632 = + __objc_msgSend_632Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_setReceiversSpecifier_1 = objc.registerName( + "setReceiversSpecifier:", + ); void _objc_msgSend_633( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value, ) { - return __objc_msgSend_633( - obj, - sel, - value, - ); + return __objc_msgSend_633(obj, sel, value); } late final __objc_msgSend_633Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_633 = __objc_msgSend_633Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_evaluatedReceivers1 = _registerName1("evaluatedReceivers"); - late final _sel_arguments1 = _registerName1("arguments"); - late final _sel_setArguments_1 = _registerName1("setArguments:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_633 = + __objc_msgSend_633Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_evaluatedReceivers1 = objc.registerName("evaluatedReceivers"); + late final _sel_arguments1 = objc.registerName("arguments"); + late final _sel_setArguments_1 = objc.registerName("setArguments:"); void _objc_msgSend_634( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value, ) { - return __objc_msgSend_634( - obj, - sel, - value, - ); + return __objc_msgSend_634(obj, sel, value); } late final __objc_msgSend_634Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_634 = __objc_msgSend_634Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_evaluatedArguments1 = _registerName1("evaluatedArguments"); - late final _sel_isWellFormed1 = _registerName1("isWellFormed"); - late final _sel_performDefaultImplementation1 = - _registerName1("performDefaultImplementation"); - late final _sel_executeCommand1 = _registerName1("executeCommand"); - late final _sel_scriptErrorNumber1 = _registerName1("scriptErrorNumber"); - late final _sel_setScriptErrorNumber_1 = - _registerName1("setScriptErrorNumber:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_634 = + __objc_msgSend_634Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_evaluatedArguments1 = objc.registerName("evaluatedArguments"); + late final _sel_isWellFormed1 = objc.registerName("isWellFormed"); + late final _sel_performDefaultImplementation1 = objc.registerName( + "performDefaultImplementation", + ); + late final _sel_executeCommand1 = objc.registerName("executeCommand"); + late final _sel_scriptErrorNumber1 = objc.registerName("scriptErrorNumber"); + late final _sel_setScriptErrorNumber_1 = objc.registerName( + "setScriptErrorNumber:", + ); void _objc_msgSend_635( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int value, ) { - return __objc_msgSend_635( - obj, - sel, - value, - ); + return __objc_msgSend_635(obj, sel, value); } late final __objc_msgSend_635Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Long)>>('objc_msgSend'); - late final __objc_msgSend_635 = __objc_msgSend_635Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_scriptErrorOffendingObjectDescriptor1 = - _registerName1("scriptErrorOffendingObjectDescriptor"); - ffi.Pointer _objc_msgSend_636( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_636( - obj, - sel, - ); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Long, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_635 = + __objc_msgSend_635Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_scriptErrorOffendingObjectDescriptor1 = objc.registerName( + "scriptErrorOffendingObjectDescriptor", + ); + ffi.Pointer _objc_msgSend_636( + ffi.Pointer obj, + ffi.Pointer sel, + ) { + return __objc_msgSend_636(obj, sel); } late final __objc_msgSend_636Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_636 = __objc_msgSend_636Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_setScriptErrorOffendingObjectDescriptor_1 = - _registerName1("setScriptErrorOffendingObjectDescriptor:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_636 = + __objc_msgSend_636Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_setScriptErrorOffendingObjectDescriptor_1 = objc.registerName( + "setScriptErrorOffendingObjectDescriptor:", + ); void _objc_msgSend_637( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value, ) { - return __objc_msgSend_637( - obj, - sel, - value, - ); + return __objc_msgSend_637(obj, sel, value); } late final __objc_msgSend_637Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_637 = __objc_msgSend_637Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_scriptErrorExpectedTypeDescriptor1 = - _registerName1("scriptErrorExpectedTypeDescriptor"); - late final _sel_setScriptErrorExpectedTypeDescriptor_1 = - _registerName1("setScriptErrorExpectedTypeDescriptor:"); - late final _sel_scriptErrorString1 = _registerName1("scriptErrorString"); - late final _sel_setScriptErrorString_1 = - _registerName1("setScriptErrorString:"); - late final _sel_currentCommand1 = _registerName1("currentCommand"); - ffi.Pointer _objc_msgSend_638( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_638( - obj, - sel, - ); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_637 = + __objc_msgSend_637Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_scriptErrorExpectedTypeDescriptor1 = objc.registerName( + "scriptErrorExpectedTypeDescriptor", + ); + late final _sel_setScriptErrorExpectedTypeDescriptor_1 = objc.registerName( + "setScriptErrorExpectedTypeDescriptor:", + ); + late final _sel_scriptErrorString1 = objc.registerName("scriptErrorString"); + late final _sel_setScriptErrorString_1 = objc.registerName( + "setScriptErrorString:", + ); + late final _sel_currentCommand1 = objc.registerName("currentCommand"); + ffi.Pointer _objc_msgSend_638( + ffi.Pointer obj, + ffi.Pointer sel, + ) { + return __objc_msgSend_638(obj, sel); } late final __objc_msgSend_638Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_638 = __objc_msgSend_638Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_appleEvent1 = _registerName1("appleEvent"); - late final _sel_suspendExecution1 = _registerName1("suspendExecution"); - late final _sel_resumeExecutionWithResult_1 = - _registerName1("resumeExecutionWithResult:"); - late final _sel_createCommandInstance1 = - _registerName1("createCommandInstance"); - ffi.Pointer _objc_msgSend_639( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_639( - obj, - sel, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_638 = + __objc_msgSend_638Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_appleEvent1 = objc.registerName("appleEvent"); + late final _sel_suspendExecution1 = objc.registerName("suspendExecution"); + late final _sel_resumeExecutionWithResult_1 = objc.registerName( + "resumeExecutionWithResult:", + ); + late final _sel_createCommandInstance1 = objc.registerName( + "createCommandInstance", + ); + ffi.Pointer _objc_msgSend_639( + ffi.Pointer obj, + ffi.Pointer sel, + ) { + return __objc_msgSend_639(obj, sel); } late final __objc_msgSend_639Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_639 = __objc_msgSend_639Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_createCommandInstanceWithZone_1 = - _registerName1("createCommandInstanceWithZone:"); - ffi.Pointer _objc_msgSend_640( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_639 = + __objc_msgSend_639Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_createCommandInstanceWithZone_1 = objc.registerName( + "createCommandInstanceWithZone:", + ); + ffi.Pointer _objc_msgSend_640( + ffi.Pointer obj, + ffi.Pointer sel, ffi.Pointer<_NSZone> zone, ) { - return __objc_msgSend_640( - obj, - sel, - zone, - ); + return __objc_msgSend_640(obj, sel, zone); } late final __objc_msgSend_640Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer<_NSZone>)>>('objc_msgSend'); - late final __objc_msgSend_640 = __objc_msgSend_640Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer<_NSZone>)>(); - - late final _sel_supportsCommand_1 = _registerName1("supportsCommand:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_NSZone>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_640 = + __objc_msgSend_640Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_NSZone>, + ) + >(); + + late final _sel_supportsCommand_1 = objc.registerName("supportsCommand:"); bool _objc_msgSend_641( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer commandDescription, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer commandDescription, ) { - return __objc_msgSend_641( - obj, - sel, - commandDescription, - ); + return __objc_msgSend_641(obj, sel, commandDescription); } late final __objc_msgSend_641Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_641 = __objc_msgSend_641Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_selectorForCommand_1 = _registerName1("selectorForCommand:"); - ffi.Pointer _objc_msgSend_642( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer commandDescription, - ) { - return __objc_msgSend_642( - obj, - sel, - commandDescription, - ); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_641 = + __objc_msgSend_641Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_selectorForCommand_1 = objc.registerName( + "selectorForCommand:", + ); + ffi.Pointer _objc_msgSend_642( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer commandDescription, + ) { + return __objc_msgSend_642(obj, sel, commandDescription); } late final __objc_msgSend_642Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_642 = __objc_msgSend_642Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_typeForKey_1 = _registerName1("typeForKey:"); - late final _sel_classDescriptionForKey_1 = - _registerName1("classDescriptionForKey:"); - ffi.Pointer _objc_msgSend_643( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer key, - ) { - return __objc_msgSend_643( - obj, - sel, - key, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_642 = + __objc_msgSend_642Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_typeForKey_1 = objc.registerName("typeForKey:"); + late final _sel_classDescriptionForKey_1 = objc.registerName( + "classDescriptionForKey:", + ); + ffi.Pointer _objc_msgSend_643( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer key, + ) { + return __objc_msgSend_643(obj, sel, key); } late final __objc_msgSend_643Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_643 = __objc_msgSend_643Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_appleEventCodeForKey_1 = - _registerName1("appleEventCodeForKey:"); - late final _sel_keyWithAppleEventCode_1 = - _registerName1("keyWithAppleEventCode:"); - ffi.Pointer _objc_msgSend_644( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_643 = + __objc_msgSend_643Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_appleEventCodeForKey_1 = objc.registerName( + "appleEventCodeForKey:", + ); + late final _sel_keyWithAppleEventCode_1 = objc.registerName( + "keyWithAppleEventCode:", + ); + ffi.Pointer _objc_msgSend_644( + ffi.Pointer obj, + ffi.Pointer sel, int appleEventCode, ) { - return __objc_msgSend_644( - obj, - sel, - appleEventCode, - ); + return __objc_msgSend_644(obj, sel, appleEventCode); } late final __objc_msgSend_644Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.UnsignedInt)>>('objc_msgSend'); - late final __objc_msgSend_644 = __objc_msgSend_644Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_defaultSubcontainerAttributeKey1 = - _registerName1("defaultSubcontainerAttributeKey"); - late final _sel_isLocationRequiredToCreateForKey_1 = - _registerName1("isLocationRequiredToCreateForKey:"); - late final _sel_hasPropertyForKey_1 = _registerName1("hasPropertyForKey:"); - late final _sel_hasOrderedToManyRelationshipForKey_1 = - _registerName1("hasOrderedToManyRelationshipForKey:"); - late final _sel_hasReadablePropertyForKey_1 = - _registerName1("hasReadablePropertyForKey:"); - late final _sel_hasWritablePropertyForKey_1 = - _registerName1("hasWritablePropertyForKey:"); - late final _sel_isReadOnlyKey_1 = _registerName1("isReadOnlyKey:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedInt, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_644 = + __objc_msgSend_644Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_defaultSubcontainerAttributeKey1 = objc.registerName( + "defaultSubcontainerAttributeKey", + ); + late final _sel_isLocationRequiredToCreateForKey_1 = objc.registerName( + "isLocationRequiredToCreateForKey:", + ); + late final _sel_hasPropertyForKey_1 = objc.registerName("hasPropertyForKey:"); + late final _sel_hasOrderedToManyRelationshipForKey_1 = objc.registerName( + "hasOrderedToManyRelationshipForKey:", + ); + late final _sel_hasReadablePropertyForKey_1 = objc.registerName( + "hasReadablePropertyForKey:", + ); + late final _sel_hasWritablePropertyForKey_1 = objc.registerName( + "hasWritablePropertyForKey:", + ); + late final _sel_isReadOnlyKey_1 = objc.registerName("isReadOnlyKey:"); late final _sel_initWithContainerClassDescription_containerSpecifier_key_1 = - _registerName1( - "initWithContainerClassDescription:containerSpecifier:key:"); + objc.registerName( + "initWithContainerClassDescription:containerSpecifier:key:", + ); instancetype _objc_msgSend_645( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer classDesc, - ffi.Pointer container, - ffi.Pointer property, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer classDesc, + ffi.Pointer container, + ffi.Pointer property, ) { - return __objc_msgSend_645( - obj, - sel, - classDesc, - container, - property, - ); + return __objc_msgSend_645(obj, sel, classDesc, container, property); } late final __objc_msgSend_645Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_645 = __objc_msgSend_645Ptr.asFunction< + ffi.NativeFunction< instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_childSpecifier1 = _registerName1("childSpecifier"); - late final _sel_setChildSpecifier_1 = _registerName1("setChildSpecifier:"); - late final _sel_containerSpecifier1 = _registerName1("containerSpecifier"); - late final _sel_setContainerSpecifier_1 = - _registerName1("setContainerSpecifier:"); - late final _sel_containerIsObjectBeingTested1 = - _registerName1("containerIsObjectBeingTested"); - late final _sel_setContainerIsObjectBeingTested_1 = - _registerName1("setContainerIsObjectBeingTested:"); - late final _sel_containerIsRangeContainerObject1 = - _registerName1("containerIsRangeContainerObject"); - late final _sel_setContainerIsRangeContainerObject_1 = - _registerName1("setContainerIsRangeContainerObject:"); - late final _sel_key1 = _registerName1("key"); - late final _sel_setKey_1 = _registerName1("setKey:"); + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_645 = + __objc_msgSend_645Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_childSpecifier1 = objc.registerName("childSpecifier"); + late final _sel_setChildSpecifier_1 = objc.registerName("setChildSpecifier:"); + late final _sel_containerSpecifier1 = objc.registerName("containerSpecifier"); + late final _sel_setContainerSpecifier_1 = objc.registerName( + "setContainerSpecifier:", + ); + late final _sel_containerIsObjectBeingTested1 = objc.registerName( + "containerIsObjectBeingTested", + ); + late final _sel_setContainerIsObjectBeingTested_1 = objc.registerName( + "setContainerIsObjectBeingTested:", + ); + late final _sel_containerIsRangeContainerObject1 = objc.registerName( + "containerIsRangeContainerObject", + ); + late final _sel_setContainerIsRangeContainerObject_1 = objc.registerName( + "setContainerIsRangeContainerObject:", + ); + late final _sel_key1 = objc.registerName("key"); + late final _sel_setKey_1 = objc.registerName("setKey:"); void _objc_msgSend_646( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value, ) { - return __objc_msgSend_646( - obj, - sel, - value, - ); + return __objc_msgSend_646(obj, sel, value); } late final __objc_msgSend_646Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_646 = __objc_msgSend_646Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_containerClassDescription1 = - _registerName1("containerClassDescription"); - late final _sel_setContainerClassDescription_1 = - _registerName1("setContainerClassDescription:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_646 = + __objc_msgSend_646Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_containerClassDescription1 = objc.registerName( + "containerClassDescription", + ); + late final _sel_setContainerClassDescription_1 = objc.registerName( + "setContainerClassDescription:", + ); void _objc_msgSend_647( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value, ) { - return __objc_msgSend_647( - obj, - sel, - value, - ); + return __objc_msgSend_647(obj, sel, value); } late final __objc_msgSend_647Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_647 = __objc_msgSend_647Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_keyClassDescription1 = _registerName1("keyClassDescription"); - late final _sel_indicesOfObjectsByEvaluatingWithContainer_count_1 = - _registerName1("indicesOfObjectsByEvaluatingWithContainer:count:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_647 = + __objc_msgSend_647Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_keyClassDescription1 = objc.registerName( + "keyClassDescription", + ); + late final _sel_indicesOfObjectsByEvaluatingWithContainer_count_1 = objc + .registerName("indicesOfObjectsByEvaluatingWithContainer:count:"); ffi.Pointer _objc_msgSend_648( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer container, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer container, ffi.Pointer count, ) { - return __objc_msgSend_648( - obj, - sel, - container, - count, - ); + return __objc_msgSend_648(obj, sel, container, count); } late final __objc_msgSend_648Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_648 = __objc_msgSend_648Ptr.asFunction< + ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_objectsByEvaluatingWithContainers_1 = - _registerName1("objectsByEvaluatingWithContainers:"); - late final _sel_objectsByEvaluatingSpecifier1 = - _registerName1("objectsByEvaluatingSpecifier"); - late final _sel_evaluationErrorNumber1 = - _registerName1("evaluationErrorNumber"); - late final _sel_setEvaluationErrorNumber_1 = - _registerName1("setEvaluationErrorNumber:"); - late final _sel_evaluationErrorSpecifier1 = - _registerName1("evaluationErrorSpecifier"); - late final _sel_descriptor1 = _registerName1("descriptor"); - late final _sel_scriptingValueForSpecifier_1 = - _registerName1("scriptingValueForSpecifier:"); - ffi.Pointer _objc_msgSend_649( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer objectSpecifier, - ) { - return __objc_msgSend_649( - obj, - sel, - objectSpecifier, - ); + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_648 = + __objc_msgSend_648Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_objectsByEvaluatingWithContainers_1 = objc.registerName( + "objectsByEvaluatingWithContainers:", + ); + late final _sel_objectsByEvaluatingSpecifier1 = objc.registerName( + "objectsByEvaluatingSpecifier", + ); + late final _sel_evaluationErrorNumber1 = objc.registerName( + "evaluationErrorNumber", + ); + late final _sel_setEvaluationErrorNumber_1 = objc.registerName( + "setEvaluationErrorNumber:", + ); + late final _sel_evaluationErrorSpecifier1 = objc.registerName( + "evaluationErrorSpecifier", + ); + late final _sel_descriptor1 = objc.registerName("descriptor"); + late final _sel_scriptingValueForSpecifier_1 = objc.registerName( + "scriptingValueForSpecifier:", + ); + ffi.Pointer _objc_msgSend_649( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer objectSpecifier, + ) { + return __objc_msgSend_649(obj, sel, objectSpecifier); } late final __objc_msgSend_649Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_649 = __objc_msgSend_649Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_scriptingProperties1 = _registerName1("scriptingProperties"); - late final _sel_setScriptingProperties_1 = - _registerName1("setScriptingProperties:"); - late final _sel_copyScriptingValue_forKey_withProperties_1 = - _registerName1("copyScriptingValue:forKey:withProperties:"); - ffi.Pointer _objc_msgSend_650( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, - ffi.Pointer key, - ffi.Pointer properties, - ) { - return __objc_msgSend_650( - obj, - sel, - value, - key, - properties, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_649 = + __objc_msgSend_649Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_scriptingProperties1 = objc.registerName( + "scriptingProperties", + ); + late final _sel_setScriptingProperties_1 = objc.registerName( + "setScriptingProperties:", + ); + late final _sel_copyScriptingValue_forKey_withProperties_1 = objc + .registerName("copyScriptingValue:forKey:withProperties:"); + ffi.Pointer _objc_msgSend_650( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value, + ffi.Pointer key, + ffi.Pointer properties, + ) { + return __objc_msgSend_650(obj, sel, value, key, properties); } late final __objc_msgSend_650Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_650 = __objc_msgSend_650Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_650 = + __objc_msgSend_650Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_newScriptingObjectOfClass_forValueForKey_withContentsValue_properties_1 = - _registerName1( - "newScriptingObjectOfClass:forValueForKey:withContentsValue:properties:"); - ffi.Pointer _objc_msgSend_651( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer objectClass, - ffi.Pointer key, - ffi.Pointer contentsValue, - ffi.Pointer properties, + objc.registerName( + "newScriptingObjectOfClass:forValueForKey:withContentsValue:properties:", + ); + ffi.Pointer _objc_msgSend_651( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer objectClass, + ffi.Pointer key, + ffi.Pointer contentsValue, + ffi.Pointer properties, ) { return __objc_msgSend_651( obj, @@ -18402,295 +23122,372 @@ class SwiftLibrary { } late final __objc_msgSend_651Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_651 = __objc_msgSend_651Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_classCode1 = _registerName1("classCode"); - late final _sel_valueAtIndex_inPropertyWithKey_1 = - _registerName1("valueAtIndex:inPropertyWithKey:"); - ffi.Pointer _objc_msgSend_652( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_651 = + __objc_msgSend_651Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_classCode1 = objc.registerName("classCode"); + late final _sel_valueAtIndex_inPropertyWithKey_1 = objc.registerName( + "valueAtIndex:inPropertyWithKey:", + ); + ffi.Pointer _objc_msgSend_652( + ffi.Pointer obj, + ffi.Pointer sel, int index, - ffi.Pointer key, + ffi.Pointer key, ) { - return __objc_msgSend_652( - obj, - sel, - index, - key, - ); + return __objc_msgSend_652(obj, sel, index, key); } late final __objc_msgSend_652Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_652 = __objc_msgSend_652Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, int, ffi.Pointer)>(); - - late final _sel_valueWithName_inPropertyWithKey_1 = - _registerName1("valueWithName:inPropertyWithKey:"); - late final _sel_valueWithUniqueID_inPropertyWithKey_1 = - _registerName1("valueWithUniqueID:inPropertyWithKey:"); - late final _sel_insertValue_atIndex_inPropertyWithKey_1 = - _registerName1("insertValue:atIndex:inPropertyWithKey:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_652 = + __objc_msgSend_652Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ) + >(); + + late final _sel_valueWithName_inPropertyWithKey_1 = objc.registerName( + "valueWithName:inPropertyWithKey:", + ); + late final _sel_valueWithUniqueID_inPropertyWithKey_1 = objc.registerName( + "valueWithUniqueID:inPropertyWithKey:", + ); + late final _sel_insertValue_atIndex_inPropertyWithKey_1 = objc.registerName( + "insertValue:atIndex:inPropertyWithKey:", + ); void _objc_msgSend_653( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value, int index, - ffi.Pointer key, + ffi.Pointer key, ) { - return __objc_msgSend_653( - obj, - sel, - value, - index, - key, - ); + return __objc_msgSend_653(obj, sel, value, index, key); } late final __objc_msgSend_653Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_653 = __objc_msgSend_653Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int, ffi.Pointer)>(); - - late final _sel_removeValueAtIndex_fromPropertyWithKey_1 = - _registerName1("removeValueAtIndex:fromPropertyWithKey:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_653 = + __objc_msgSend_653Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ) + >(); + + late final _sel_removeValueAtIndex_fromPropertyWithKey_1 = objc.registerName( + "removeValueAtIndex:fromPropertyWithKey:", + ); void _objc_msgSend_654( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int index, - ffi.Pointer key, + ffi.Pointer key, ) { - return __objc_msgSend_654( - obj, - sel, - index, - key, - ); + return __objc_msgSend_654(obj, sel, index, key); } late final __objc_msgSend_654Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_654 = __objc_msgSend_654Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int, - ffi.Pointer)>(); - - late final _sel_replaceValueAtIndex_inPropertyWithKey_withValue_1 = - _registerName1("replaceValueAtIndex:inPropertyWithKey:withValue:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_654 = + __objc_msgSend_654Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ) + >(); + + late final _sel_replaceValueAtIndex_inPropertyWithKey_withValue_1 = objc + .registerName("replaceValueAtIndex:inPropertyWithKey:withValue:"); void _objc_msgSend_655( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int index, - ffi.Pointer key, - ffi.Pointer value, + ffi.Pointer key, + ffi.Pointer value, ) { - return __objc_msgSend_655( - obj, - sel, - index, - key, - value, - ); + return __objc_msgSend_655(obj, sel, index, key, value); } late final __objc_msgSend_655Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_655 = __objc_msgSend_655Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_insertValue_inPropertyWithKey_1 = - _registerName1("insertValue:inPropertyWithKey:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_655 = + __objc_msgSend_655Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_insertValue_inPropertyWithKey_1 = objc.registerName( + "insertValue:inPropertyWithKey:", + ); void _objc_msgSend_656( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, - ffi.Pointer key, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value, + ffi.Pointer key, ) { - return __objc_msgSend_656( - obj, - sel, - value, - key, - ); + return __objc_msgSend_656(obj, sel, value, key); } late final __objc_msgSend_656Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_656 = __objc_msgSend_656Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_coerceValue_forKey_1 = _registerName1("coerceValue:forKey:"); - ffi.Pointer _objc_msgSend_657( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, - ffi.Pointer key, - ) { - return __objc_msgSend_657( - obj, - sel, - value, - key, - ); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_656 = + __objc_msgSend_656Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_coerceValue_forKey_1 = objc.registerName( + "coerceValue:forKey:", + ); + ffi.Pointer _objc_msgSend_657( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value, + ffi.Pointer key, + ) { + return __objc_msgSend_657(obj, sel, value, key); } late final __objc_msgSend_657Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_657 = __objc_msgSend_657Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_objectSpecifier1 = _registerName1("objectSpecifier"); - late final _sel_indicesOfObjectsByEvaluatingObjectSpecifier_1 = - _registerName1("indicesOfObjectsByEvaluatingObjectSpecifier:"); - ffi.Pointer _objc_msgSend_658( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer specifier, - ) { - return __objc_msgSend_658( - obj, - sel, - specifier, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_657 = + __objc_msgSend_657Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_objectSpecifier1 = objc.registerName("objectSpecifier"); + late final _sel_indicesOfObjectsByEvaluatingObjectSpecifier_1 = objc + .registerName("indicesOfObjectsByEvaluatingObjectSpecifier:"); + ffi.Pointer _objc_msgSend_658( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer specifier, + ) { + return __objc_msgSend_658(obj, sel, specifier); } late final __objc_msgSend_658Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_658 = __objc_msgSend_658Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_isEqualTo_1 = _registerName1("isEqualTo:"); - late final _sel_isLessThanOrEqualTo_1 = - _registerName1("isLessThanOrEqualTo:"); - late final _sel_isLessThan_1 = _registerName1("isLessThan:"); - late final _sel_isGreaterThanOrEqualTo_1 = - _registerName1("isGreaterThanOrEqualTo:"); - late final _sel_isGreaterThan_1 = _registerName1("isGreaterThan:"); - late final _sel_isNotEqualTo_1 = _registerName1("isNotEqualTo:"); - late final _sel_doesContain_1 = _registerName1("doesContain:"); - late final _sel_isLike_1 = _registerName1("isLike:"); - late final _sel_isCaseInsensitiveLike_1 = - _registerName1("isCaseInsensitiveLike:"); - late final _sel_scriptingIsEqualTo_1 = _registerName1("scriptingIsEqualTo:"); - late final _sel_scriptingIsLessThanOrEqualTo_1 = - _registerName1("scriptingIsLessThanOrEqualTo:"); - late final _sel_scriptingIsLessThan_1 = - _registerName1("scriptingIsLessThan:"); - late final _sel_scriptingIsGreaterThanOrEqualTo_1 = - _registerName1("scriptingIsGreaterThanOrEqualTo:"); - late final _sel_scriptingIsGreaterThan_1 = - _registerName1("scriptingIsGreaterThan:"); - late final _sel_scriptingBeginsWith_1 = - _registerName1("scriptingBeginsWith:"); - late final _sel_scriptingEndsWith_1 = _registerName1("scriptingEndsWith:"); - late final _sel_scriptingContains_1 = _registerName1("scriptingContains:"); - late final _class_NSItemProvider1 = _getClass1("NSItemProvider"); - late final _class_NSProgress1 = _getClass1("NSProgress"); - late final _sel_currentProgress1 = _registerName1("currentProgress"); - ffi.Pointer _objc_msgSend_659( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_659( - obj, - sel, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_658 = + __objc_msgSend_658Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_isEqualTo_1 = objc.registerName("isEqualTo:"); + late final _sel_isLessThanOrEqualTo_1 = objc.registerName( + "isLessThanOrEqualTo:", + ); + late final _sel_isLessThan_1 = objc.registerName("isLessThan:"); + late final _sel_isGreaterThanOrEqualTo_1 = objc.registerName( + "isGreaterThanOrEqualTo:", + ); + late final _sel_isGreaterThan_1 = objc.registerName("isGreaterThan:"); + late final _sel_isNotEqualTo_1 = objc.registerName("isNotEqualTo:"); + late final _sel_doesContain_1 = objc.registerName("doesContain:"); + late final _sel_isLike_1 = objc.registerName("isLike:"); + late final _sel_isCaseInsensitiveLike_1 = objc.registerName( + "isCaseInsensitiveLike:", + ); + late final _sel_scriptingIsEqualTo_1 = objc.registerName( + "scriptingIsEqualTo:", + ); + late final _sel_scriptingIsLessThanOrEqualTo_1 = objc.registerName( + "scriptingIsLessThanOrEqualTo:", + ); + late final _sel_scriptingIsLessThan_1 = objc.registerName( + "scriptingIsLessThan:", + ); + late final _sel_scriptingIsGreaterThanOrEqualTo_1 = objc.registerName( + "scriptingIsGreaterThanOrEqualTo:", + ); + late final _sel_scriptingIsGreaterThan_1 = objc.registerName( + "scriptingIsGreaterThan:", + ); + late final _sel_scriptingBeginsWith_1 = objc.registerName( + "scriptingBeginsWith:", + ); + late final _sel_scriptingEndsWith_1 = objc.registerName("scriptingEndsWith:"); + late final _sel_scriptingContains_1 = objc.registerName("scriptingContains:"); + late final _class_NSItemProvider1 = objc.getClass("NSItemProvider"); + late final _class_NSProgress1 = objc.getClass("NSProgress"); + late final _sel_currentProgress1 = objc.registerName("currentProgress"); + ffi.Pointer _objc_msgSend_659( + ffi.Pointer obj, + ffi.Pointer sel, + ) { + return __objc_msgSend_659(obj, sel); } late final __objc_msgSend_659Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_659 = __objc_msgSend_659Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_progressWithTotalUnitCount_1 = - _registerName1("progressWithTotalUnitCount:"); - ffi.Pointer _objc_msgSend_660( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_659 = + __objc_msgSend_659Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_progressWithTotalUnitCount_1 = objc.registerName( + "progressWithTotalUnitCount:", + ); + ffi.Pointer _objc_msgSend_660( + ffi.Pointer obj, + ffi.Pointer sel, int unitCount, ) { - return __objc_msgSend_660( - obj, - sel, - unitCount, - ); + return __objc_msgSend_660(obj, sel, unitCount); } late final __objc_msgSend_660Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Int64)>>('objc_msgSend'); - late final __objc_msgSend_660 = __objc_msgSend_660Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_discreteProgressWithTotalUnitCount_1 = - _registerName1("discreteProgressWithTotalUnitCount:"); - late final _sel_progressWithTotalUnitCount_parent_pendingUnitCount_1 = - _registerName1("progressWithTotalUnitCount:parent:pendingUnitCount:"); - ffi.Pointer _objc_msgSend_661( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int64, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_660 = + __objc_msgSend_660Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_discreteProgressWithTotalUnitCount_1 = objc.registerName( + "discreteProgressWithTotalUnitCount:", + ); + late final _sel_progressWithTotalUnitCount_parent_pendingUnitCount_1 = objc + .registerName("progressWithTotalUnitCount:parent:pendingUnitCount:"); + ffi.Pointer _objc_msgSend_661( + ffi.Pointer obj, + ffi.Pointer sel, int unitCount, - ffi.Pointer parent, + ffi.Pointer parent, int portionOfParentTotalUnitCount, ) { return __objc_msgSend_661( @@ -18703,318 +23500,420 @@ class SwiftLibrary { } late final __objc_msgSend_661Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int64, - ffi.Pointer, - ffi.Int64)>>('objc_msgSend'); - late final __objc_msgSend_661 = __objc_msgSend_661Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, int, ffi.Pointer, int)>(); - - late final _sel_initWithParent_userInfo_1 = - _registerName1("initWithParent:userInfo:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int64, + ffi.Pointer, + ffi.Int64, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_661 = + __objc_msgSend_661Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + int, + ) + >(); + + late final _sel_initWithParent_userInfo_1 = objc.registerName( + "initWithParent:userInfo:", + ); instancetype _objc_msgSend_662( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer parentProgressOrNil, - ffi.Pointer userInfoOrNil, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer parentProgressOrNil, + ffi.Pointer userInfoOrNil, ) { - return __objc_msgSend_662( - obj, - sel, - parentProgressOrNil, - userInfoOrNil, - ); + return __objc_msgSend_662(obj, sel, parentProgressOrNil, userInfoOrNil); } late final __objc_msgSend_662Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_662 = __objc_msgSend_662Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_becomeCurrentWithPendingUnitCount_1 = - _registerName1("becomeCurrentWithPendingUnitCount:"); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_662 = + __objc_msgSend_662Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_becomeCurrentWithPendingUnitCount_1 = objc.registerName( + "becomeCurrentWithPendingUnitCount:", + ); void _objc_msgSend_663( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int unitCount, ) { - return __objc_msgSend_663( - obj, - sel, - unitCount, - ); + return __objc_msgSend_663(obj, sel, unitCount); } late final __objc_msgSend_663Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Int64)>>('objc_msgSend'); - late final __objc_msgSend_663 = __objc_msgSend_663Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_performAsCurrentWithPendingUnitCount_usingBlock_1 = - _registerName1("performAsCurrentWithPendingUnitCount:usingBlock:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int64, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_663 = + __objc_msgSend_663Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_performAsCurrentWithPendingUnitCount_usingBlock_1 = objc + .registerName("performAsCurrentWithPendingUnitCount:usingBlock:"); void _objc_msgSend_664( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int unitCount, - ffi.Pointer<_ObjCBlock> work, + ffi.Pointer work, ) { - return __objc_msgSend_664( - obj, - sel, - unitCount, - work, - ); + return __objc_msgSend_664(obj, sel, unitCount, work); } late final __objc_msgSend_664Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Int64, ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_664 = __objc_msgSend_664Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int, - ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_resignCurrent1 = _registerName1("resignCurrent"); - late final _sel_addChild_withPendingUnitCount_1 = - _registerName1("addChild:withPendingUnitCount:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int64, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_664 = + __objc_msgSend_664Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ) + >(); + + late final _sel_resignCurrent1 = objc.registerName("resignCurrent"); + late final _sel_addChild_withPendingUnitCount_1 = objc.registerName( + "addChild:withPendingUnitCount:", + ); void _objc_msgSend_665( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer child, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer child, int inUnitCount, ) { - return __objc_msgSend_665( - obj, - sel, - child, - inUnitCount, - ); + return __objc_msgSend_665(obj, sel, child, inUnitCount); } late final __objc_msgSend_665Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Int64)>>('objc_msgSend'); - late final __objc_msgSend_665 = __objc_msgSend_665Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int)>(); - - late final _sel_totalUnitCount1 = _registerName1("totalUnitCount"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int64, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_665 = + __objc_msgSend_665Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_totalUnitCount1 = objc.registerName("totalUnitCount"); int _objc_msgSend_666( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_666( - obj, - sel, - ); + return __objc_msgSend_666(obj, sel); } late final __objc_msgSend_666Ptr = _lookup< - ffi.NativeFunction< - ffi.Int64 Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_666 = __objc_msgSend_666Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Int64 Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_666 = + __objc_msgSend_666Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); - late final _sel_setTotalUnitCount_1 = _registerName1("setTotalUnitCount:"); + late final _sel_setTotalUnitCount_1 = objc.registerName("setTotalUnitCount:"); void _objc_msgSend_667( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int value, ) { - return __objc_msgSend_667( - obj, - sel, - value, - ); + return __objc_msgSend_667(obj, sel, value); } late final __objc_msgSend_667Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Int64)>>('objc_msgSend'); - late final __objc_msgSend_667 = __objc_msgSend_667Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_completedUnitCount1 = _registerName1("completedUnitCount"); - late final _sel_setCompletedUnitCount_1 = - _registerName1("setCompletedUnitCount:"); - late final _sel_setLocalizedDescription_1 = - _registerName1("setLocalizedDescription:"); - late final _sel_localizedAdditionalDescription1 = - _registerName1("localizedAdditionalDescription"); - late final _sel_setLocalizedAdditionalDescription_1 = - _registerName1("setLocalizedAdditionalDescription:"); - late final _sel_isCancellable1 = _registerName1("isCancellable"); - late final _sel_setCancellable_1 = _registerName1("setCancellable:"); - late final _sel_isPausable1 = _registerName1("isPausable"); - late final _sel_setPausable_1 = _registerName1("setPausable:"); - late final _sel_isPaused1 = _registerName1("isPaused"); - late final _sel_cancellationHandler1 = _registerName1("cancellationHandler"); - ffi.Pointer<_ObjCBlock> _objc_msgSend_668( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_668( - obj, - sel, - ); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int64, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_667 = + __objc_msgSend_667Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_completedUnitCount1 = objc.registerName("completedUnitCount"); + late final _sel_setCompletedUnitCount_1 = objc.registerName( + "setCompletedUnitCount:", + ); + late final _sel_setLocalizedDescription_1 = objc.registerName( + "setLocalizedDescription:", + ); + late final _sel_localizedAdditionalDescription1 = objc.registerName( + "localizedAdditionalDescription", + ); + late final _sel_setLocalizedAdditionalDescription_1 = objc.registerName( + "setLocalizedAdditionalDescription:", + ); + late final _sel_isCancellable1 = objc.registerName("isCancellable"); + late final _sel_setCancellable_1 = objc.registerName("setCancellable:"); + late final _sel_isPausable1 = objc.registerName("isPausable"); + late final _sel_setPausable_1 = objc.registerName("setPausable:"); + late final _sel_isPaused1 = objc.registerName("isPaused"); + late final _sel_cancellationHandler1 = objc.registerName( + "cancellationHandler", + ); + ffi.Pointer _objc_msgSend_668( + ffi.Pointer obj, + ffi.Pointer sel, + ) { + return __objc_msgSend_668(obj, sel); } late final __objc_msgSend_668Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer<_ObjCBlock> Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_668 = __objc_msgSend_668Ptr.asFunction< - ffi.Pointer<_ObjCBlock> Function( - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_setCancellationHandler_1 = - _registerName1("setCancellationHandler:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_668 = + __objc_msgSend_668Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_setCancellationHandler_1 = objc.registerName( + "setCancellationHandler:", + ); void _objc_msgSend_669( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer<_ObjCBlock> value, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value, ) { - return __objc_msgSend_669( - obj, - sel, - value, - ); + return __objc_msgSend_669(obj, sel, value); } late final __objc_msgSend_669Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_669 = __objc_msgSend_669Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_pausingHandler1 = _registerName1("pausingHandler"); - late final _sel_setPausingHandler_1 = _registerName1("setPausingHandler:"); - late final _sel_resumingHandler1 = _registerName1("resumingHandler"); - late final _sel_setResumingHandler_1 = _registerName1("setResumingHandler:"); - late final _sel_setUserInfoObject_forKey_1 = - _registerName1("setUserInfoObject:forKey:"); - late final _sel_isIndeterminate1 = _registerName1("isIndeterminate"); - late final _sel_fractionCompleted1 = _registerName1("fractionCompleted"); - late final _sel_pause1 = _registerName1("pause"); - late final _sel_resume1 = _registerName1("resume"); - late final _sel_kind1 = _registerName1("kind"); - late final _sel_setKind_1 = _registerName1("setKind:"); - late final _sel_estimatedTimeRemaining1 = - _registerName1("estimatedTimeRemaining"); - late final _sel_setEstimatedTimeRemaining_1 = - _registerName1("setEstimatedTimeRemaining:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_669 = + __objc_msgSend_669Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_pausingHandler1 = objc.registerName("pausingHandler"); + late final _sel_setPausingHandler_1 = objc.registerName("setPausingHandler:"); + late final _sel_resumingHandler1 = objc.registerName("resumingHandler"); + late final _sel_setResumingHandler_1 = objc.registerName( + "setResumingHandler:", + ); + late final _sel_setUserInfoObject_forKey_1 = objc.registerName( + "setUserInfoObject:forKey:", + ); + late final _sel_isIndeterminate1 = objc.registerName("isIndeterminate"); + late final _sel_fractionCompleted1 = objc.registerName("fractionCompleted"); + late final _sel_pause1 = objc.registerName("pause"); + late final _sel_resume1 = objc.registerName("resume"); + late final _sel_kind1 = objc.registerName("kind"); + late final _sel_setKind_1 = objc.registerName("setKind:"); + late final _sel_estimatedTimeRemaining1 = objc.registerName( + "estimatedTimeRemaining", + ); + late final _sel_setEstimatedTimeRemaining_1 = objc.registerName( + "setEstimatedTimeRemaining:", + ); void _objc_msgSend_670( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value, ) { - return __objc_msgSend_670( - obj, - sel, - value, - ); + return __objc_msgSend_670(obj, sel, value); } late final __objc_msgSend_670Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_670 = __objc_msgSend_670Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_throughput1 = _registerName1("throughput"); - late final _sel_setThroughput_1 = _registerName1("setThroughput:"); - late final _sel_fileOperationKind1 = _registerName1("fileOperationKind"); - late final _sel_setFileOperationKind_1 = - _registerName1("setFileOperationKind:"); - late final _sel_fileURL1 = _registerName1("fileURL"); - late final _sel_setFileURL_1 = _registerName1("setFileURL:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_670 = + __objc_msgSend_670Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_throughput1 = objc.registerName("throughput"); + late final _sel_setThroughput_1 = objc.registerName("setThroughput:"); + late final _sel_fileOperationKind1 = objc.registerName("fileOperationKind"); + late final _sel_setFileOperationKind_1 = objc.registerName( + "setFileOperationKind:", + ); + late final _sel_fileURL1 = objc.registerName("fileURL"); + late final _sel_setFileURL_1 = objc.registerName("setFileURL:"); void _objc_msgSend_671( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value, ) { - return __objc_msgSend_671( - obj, - sel, - value, - ); + return __objc_msgSend_671(obj, sel, value); } late final __objc_msgSend_671Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_671 = __objc_msgSend_671Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_fileTotalCount1 = _registerName1("fileTotalCount"); - late final _sel_setFileTotalCount_1 = _registerName1("setFileTotalCount:"); - late final _sel_fileCompletedCount1 = _registerName1("fileCompletedCount"); - late final _sel_setFileCompletedCount_1 = - _registerName1("setFileCompletedCount:"); - late final _sel_publish1 = _registerName1("publish"); - late final _sel_unpublish1 = _registerName1("unpublish"); - late final _sel_addSubscriberForFileURL_withPublishingHandler_1 = - _registerName1("addSubscriberForFileURL:withPublishingHandler:"); - ffi.Pointer _objc_msgSend_672( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, - ffi.Pointer<_ObjCBlock> publishingHandler, - ) { - return __objc_msgSend_672( - obj, - sel, - url, - publishingHandler, - ); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_671 = + __objc_msgSend_671Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_fileTotalCount1 = objc.registerName("fileTotalCount"); + late final _sel_setFileTotalCount_1 = objc.registerName("setFileTotalCount:"); + late final _sel_fileCompletedCount1 = objc.registerName("fileCompletedCount"); + late final _sel_setFileCompletedCount_1 = objc.registerName( + "setFileCompletedCount:", + ); + late final _sel_publish1 = objc.registerName("publish"); + late final _sel_unpublish1 = objc.registerName("unpublish"); + late final _sel_addSubscriberForFileURL_withPublishingHandler_1 = objc + .registerName("addSubscriberForFileURL:withPublishingHandler:"); + ffi.Pointer _objc_msgSend_672( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer url, + ffi.Pointer publishingHandler, + ) { + return __objc_msgSend_672(obj, sel, url, publishingHandler); } late final __objc_msgSend_672Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_672 = __objc_msgSend_672Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_removeSubscriber_1 = _registerName1("removeSubscriber:"); - late final _sel_isOld1 = _registerName1("isOld"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_672 = + __objc_msgSend_672Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_removeSubscriber_1 = objc.registerName("removeSubscriber:"); + late final _sel_isOld1 = objc.registerName("isOld"); late final _sel_registerDataRepresentationForTypeIdentifier_visibility_loadHandler_1 = - _registerName1( - "registerDataRepresentationForTypeIdentifier:visibility:loadHandler:"); + objc.registerName( + "registerDataRepresentationForTypeIdentifier:visibility:loadHandler:", + ); void _objc_msgSend_673( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer typeIdentifier, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer typeIdentifier, int visibility, - ffi.Pointer<_ObjCBlock> loadHandler, + ffi.Pointer loadHandler, ) { return __objc_msgSend_673( obj, @@ -19026,27 +23925,39 @@ class SwiftLibrary { } late final __objc_msgSend_673Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_673 = __objc_msgSend_673Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int, ffi.Pointer<_ObjCBlock>)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_673 = + __objc_msgSend_673Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ) + >(); late final _sel_registerFileRepresentationForTypeIdentifier_fileOptions_visibility_loadHandler_1 = - _registerName1( - "registerFileRepresentationForTypeIdentifier:fileOptions:visibility:loadHandler:"); + objc.registerName( + "registerFileRepresentationForTypeIdentifier:fileOptions:visibility:loadHandler:", + ); void _objc_msgSend_674( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer typeIdentifier, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer typeIdentifier, int fileOptions, int visibility, - ffi.Pointer<_ObjCBlock> loadHandler, + ffi.Pointer loadHandler, ) { return __objc_msgSend_674( obj, @@ -19059,312 +23970,380 @@ class SwiftLibrary { } late final __objc_msgSend_674Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Int32, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_674 = __objc_msgSend_674Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int, int, ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_registeredTypeIdentifiers1 = - _registerName1("registeredTypeIdentifiers"); - late final _sel_registeredTypeIdentifiersWithFileOptions_1 = - _registerName1("registeredTypeIdentifiersWithFileOptions:"); - ffi.Pointer _objc_msgSend_675( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Int32, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_674 = + __objc_msgSend_674Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + int, + ffi.Pointer, + ) + >(); + + late final _sel_registeredTypeIdentifiers1 = objc.registerName( + "registeredTypeIdentifiers", + ); + late final _sel_registeredTypeIdentifiersWithFileOptions_1 = objc + .registerName("registeredTypeIdentifiersWithFileOptions:"); + ffi.Pointer _objc_msgSend_675( + ffi.Pointer obj, + ffi.Pointer sel, int fileOptions, ) { - return __objc_msgSend_675( - obj, - sel, - fileOptions, - ); + return __objc_msgSend_675(obj, sel, fileOptions); } late final __objc_msgSend_675Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_675 = __objc_msgSend_675Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_hasItemConformingToTypeIdentifier_1 = - _registerName1("hasItemConformingToTypeIdentifier:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_675 = + __objc_msgSend_675Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_hasItemConformingToTypeIdentifier_1 = objc.registerName( + "hasItemConformingToTypeIdentifier:", + ); late final _sel_hasRepresentationConformingToTypeIdentifier_fileOptions_1 = - _registerName1( - "hasRepresentationConformingToTypeIdentifier:fileOptions:"); + objc.registerName( + "hasRepresentationConformingToTypeIdentifier:fileOptions:", + ); bool _objc_msgSend_676( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer typeIdentifier, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer typeIdentifier, int fileOptions, ) { - return __objc_msgSend_676( - obj, - sel, - typeIdentifier, - fileOptions, - ); + return __objc_msgSend_676(obj, sel, typeIdentifier, fileOptions); } late final __objc_msgSend_676Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_676 = __objc_msgSend_676Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int)>(); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_676 = + __objc_msgSend_676Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); late final _sel_loadDataRepresentationForTypeIdentifier_completionHandler_1 = - _registerName1( - "loadDataRepresentationForTypeIdentifier:completionHandler:"); - ffi.Pointer _objc_msgSend_677( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer typeIdentifier, - ffi.Pointer<_ObjCBlock> completionHandler, - ) { - return __objc_msgSend_677( - obj, - sel, - typeIdentifier, - completionHandler, - ); + objc.registerName( + "loadDataRepresentationForTypeIdentifier:completionHandler:", + ); + ffi.Pointer _objc_msgSend_677( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer typeIdentifier, + ffi.Pointer completionHandler, + ) { + return __objc_msgSend_677(obj, sel, typeIdentifier, completionHandler); } late final __objc_msgSend_677Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_677 = __objc_msgSend_677Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>(); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_677 = + __objc_msgSend_677Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_loadFileRepresentationForTypeIdentifier_completionHandler_1 = - _registerName1( - "loadFileRepresentationForTypeIdentifier:completionHandler:"); - ffi.Pointer _objc_msgSend_678( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer typeIdentifier, - ffi.Pointer<_ObjCBlock> completionHandler, - ) { - return __objc_msgSend_678( - obj, - sel, - typeIdentifier, - completionHandler, - ); + objc.registerName( + "loadFileRepresentationForTypeIdentifier:completionHandler:", + ); + ffi.Pointer _objc_msgSend_678( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer typeIdentifier, + ffi.Pointer completionHandler, + ) { + return __objc_msgSend_678(obj, sel, typeIdentifier, completionHandler); } late final __objc_msgSend_678Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_678 = __objc_msgSend_678Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>(); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_678 = + __objc_msgSend_678Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_loadInPlaceFileRepresentationForTypeIdentifier_completionHandler_1 = - _registerName1( - "loadInPlaceFileRepresentationForTypeIdentifier:completionHandler:"); - ffi.Pointer _objc_msgSend_679( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer typeIdentifier, - ffi.Pointer<_ObjCBlock> completionHandler, - ) { - return __objc_msgSend_679( - obj, - sel, - typeIdentifier, - completionHandler, - ); + objc.registerName( + "loadInPlaceFileRepresentationForTypeIdentifier:completionHandler:", + ); + ffi.Pointer _objc_msgSend_679( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer typeIdentifier, + ffi.Pointer completionHandler, + ) { + return __objc_msgSend_679(obj, sel, typeIdentifier, completionHandler); } late final __objc_msgSend_679Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_679 = __objc_msgSend_679Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_suggestedName1 = _registerName1("suggestedName"); - late final _sel_setSuggestedName_1 = _registerName1("setSuggestedName:"); - late final _sel_registerObject_visibility_1 = - _registerName1("registerObject:visibility:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_679 = + __objc_msgSend_679Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_suggestedName1 = objc.registerName("suggestedName"); + late final _sel_setSuggestedName_1 = objc.registerName("setSuggestedName:"); + late final _sel_registerObject_visibility_1 = objc.registerName( + "registerObject:visibility:", + ); void _objc_msgSend_680( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer object, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer object, int visibility, ) { - return __objc_msgSend_680( - obj, - sel, - object, - visibility, - ); + return __objc_msgSend_680(obj, sel, object, visibility); } late final __objc_msgSend_680Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_680 = __objc_msgSend_680Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int)>(); - - late final _sel_registerObjectOfClass_visibility_loadHandler_1 = - _registerName1("registerObjectOfClass:visibility:loadHandler:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_680 = + __objc_msgSend_680Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_registerObjectOfClass_visibility_loadHandler_1 = objc + .registerName("registerObjectOfClass:visibility:loadHandler:"); void _objc_msgSend_681( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aClass, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer aClass, int visibility, - ffi.Pointer<_ObjCBlock> loadHandler, + ffi.Pointer loadHandler, ) { - return __objc_msgSend_681( - obj, - sel, - aClass, - visibility, - loadHandler, - ); + return __objc_msgSend_681(obj, sel, aClass, visibility, loadHandler); } late final __objc_msgSend_681Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_681 = __objc_msgSend_681Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int, ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_canLoadObjectOfClass_1 = - _registerName1("canLoadObjectOfClass:"); - late final _sel_loadObjectOfClass_completionHandler_1 = - _registerName1("loadObjectOfClass:completionHandler:"); - ffi.Pointer _objc_msgSend_682( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aClass, - ffi.Pointer<_ObjCBlock> completionHandler, - ) { - return __objc_msgSend_682( - obj, - sel, - aClass, - completionHandler, - ); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_681 = + __objc_msgSend_681Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ) + >(); + + late final _sel_canLoadObjectOfClass_1 = objc.registerName( + "canLoadObjectOfClass:", + ); + late final _sel_loadObjectOfClass_completionHandler_1 = objc.registerName( + "loadObjectOfClass:completionHandler:", + ); + ffi.Pointer _objc_msgSend_682( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer aClass, + ffi.Pointer completionHandler, + ) { + return __objc_msgSend_682(obj, sel, aClass, completionHandler); } late final __objc_msgSend_682Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_682 = __objc_msgSend_682Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_initWithItem_typeIdentifier_1 = - _registerName1("initWithItem:typeIdentifier:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_682 = + __objc_msgSend_682Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_initWithItem_typeIdentifier_1 = objc.registerName( + "initWithItem:typeIdentifier:", + ); instancetype _objc_msgSend_683( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer item, - ffi.Pointer typeIdentifier, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer item, + ffi.Pointer typeIdentifier, ) { - return __objc_msgSend_683( - obj, - sel, - item, - typeIdentifier, - ); + return __objc_msgSend_683(obj, sel, item, typeIdentifier); } late final __objc_msgSend_683Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_683 = __objc_msgSend_683Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_registerItemForTypeIdentifier_loadHandler_1 = - _registerName1("registerItemForTypeIdentifier:loadHandler:"); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_683 = + __objc_msgSend_683Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_registerItemForTypeIdentifier_loadHandler_1 = objc + .registerName("registerItemForTypeIdentifier:loadHandler:"); void _objc_msgSend_684( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer typeIdentifier, - ffi.Pointer<_ObjCBlock> loadHandler, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer typeIdentifier, + ffi.Pointer loadHandler, ) { - return __objc_msgSend_684( - obj, - sel, - typeIdentifier, - loadHandler, - ); + return __objc_msgSend_684(obj, sel, typeIdentifier, loadHandler); } late final __objc_msgSend_684Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_684 = __objc_msgSend_684Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_loadItemForTypeIdentifier_options_completionHandler_1 = - _registerName1("loadItemForTypeIdentifier:options:completionHandler:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_684 = + __objc_msgSend_684Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_loadItemForTypeIdentifier_options_completionHandler_1 = objc + .registerName("loadItemForTypeIdentifier:options:completionHandler:"); void _objc_msgSend_685( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer typeIdentifier, - ffi.Pointer options, - ffi.Pointer<_ObjCBlock> completionHandler, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer typeIdentifier, + ffi.Pointer options, + ffi.Pointer completionHandler, ) { return __objc_msgSend_685( obj, @@ -19376,150 +24355,197 @@ class SwiftLibrary { } late final __objc_msgSend_685Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_685 = __objc_msgSend_685Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_previewImageHandler1 = _registerName1("previewImageHandler"); - ffi.Pointer<_ObjCBlock> _objc_msgSend_686( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_686( - obj, - sel, - ); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_685 = + __objc_msgSend_685Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_previewImageHandler1 = objc.registerName( + "previewImageHandler", + ); + ffi.Pointer _objc_msgSend_686( + ffi.Pointer obj, + ffi.Pointer sel, + ) { + return __objc_msgSend_686(obj, sel); } late final __objc_msgSend_686Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer<_ObjCBlock> Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_686 = __objc_msgSend_686Ptr.asFunction< - ffi.Pointer<_ObjCBlock> Function( - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_setPreviewImageHandler_1 = - _registerName1("setPreviewImageHandler:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_686 = + __objc_msgSend_686Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_setPreviewImageHandler_1 = objc.registerName( + "setPreviewImageHandler:", + ); void _objc_msgSend_687( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer<_ObjCBlock> value, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value, ) { - return __objc_msgSend_687( - obj, - sel, - value, - ); + return __objc_msgSend_687(obj, sel, value); } late final __objc_msgSend_687Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_687 = __objc_msgSend_687Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_loadPreviewImageWithOptions_completionHandler_1 = - _registerName1("loadPreviewImageWithOptions:completionHandler:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_687 = + __objc_msgSend_687Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_loadPreviewImageWithOptions_completionHandler_1 = objc + .registerName("loadPreviewImageWithOptions:completionHandler:"); void _objc_msgSend_688( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer options, - ffi.Pointer<_ObjCBlock> completionHandler, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer options, + ffi.Pointer completionHandler, ) { - return __objc_msgSend_688( - obj, - sel, - options, - completionHandler, - ); + return __objc_msgSend_688(obj, sel, options, completionHandler); } late final __objc_msgSend_688Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_688 = __objc_msgSend_688Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer<_ObjCBlock>)>(); - - late final _class_NSMutableString1 = _getClass1("NSMutableString"); - late final _sel_replaceCharactersInRange_withString_1 = - _registerName1("replaceCharactersInRange:withString:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_688 = + __objc_msgSend_688Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _class_NSMutableString1 = objc.getClass("NSMutableString"); + late final _sel_replaceCharactersInRange_withString_1 = objc.registerName( + "replaceCharactersInRange:withString:", + ); void _objc_msgSend_689( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, _NSRange range, - ffi.Pointer aString, + ffi.Pointer aString, ) { - return __objc_msgSend_689( - obj, - sel, - range, - aString, - ); + return __objc_msgSend_689(obj, sel, range, aString); } late final __objc_msgSend_689Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - _NSRange, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_689 = __objc_msgSend_689Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, _NSRange, - ffi.Pointer)>(); - - late final _sel_insertString_atIndex_1 = - _registerName1("insertString:atIndex:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_689 = + __objc_msgSend_689Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + ) + >(); + + late final _sel_insertString_atIndex_1 = objc.registerName( + "insertString:atIndex:", + ); void _objc_msgSend_690( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aString, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer aString, int loc, ) { - return __objc_msgSend_690( - obj, - sel, - aString, - loc, - ); + return __objc_msgSend_690(obj, sel, aString, loc); } late final __objc_msgSend_690Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.UnsignedLong)>>('objc_msgSend'); - late final __objc_msgSend_690 = __objc_msgSend_690Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int)>(); - - late final _sel_deleteCharactersInRange_1 = - _registerName1("deleteCharactersInRange:"); - late final _sel_appendString_1 = _registerName1("appendString:"); - late final _sel_appendFormat_1 = _registerName1("appendFormat:"); - late final _sel_setString_1 = _registerName1("setString:"); - late final _sel_replaceOccurrencesOfString_withString_options_range_1 = - _registerName1("replaceOccurrencesOfString:withString:options:range:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_690 = + __objc_msgSend_690Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_deleteCharactersInRange_1 = objc.registerName( + "deleteCharactersInRange:", + ); + late final _sel_appendString_1 = objc.registerName("appendString:"); + late final _sel_appendFormat_1 = objc.registerName("appendFormat:"); + late final _sel_setString_1 = objc.registerName("setString:"); + late final _sel_replaceOccurrencesOfString_withString_options_range_1 = objc + .registerName("replaceOccurrencesOfString:withString:options:range:"); int _objc_msgSend_691( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer target, - ffi.Pointer replacement, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer target, + ffi.Pointer replacement, int options, _NSRange searchRange, ) { @@ -19534,24 +24560,36 @@ class SwiftLibrary { } late final __objc_msgSend_691Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - _NSRange)>>('objc_msgSend'); - late final __objc_msgSend_691 = __objc_msgSend_691Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer, int, _NSRange)>(); - - late final _sel_applyTransform_reverse_range_updatedRange_1 = - _registerName1("applyTransform:reverse:range:updatedRange:"); + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + _NSRange, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_691 = + __objc_msgSend_691Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + _NSRange, + ) + >(); + + late final _sel_applyTransform_reverse_range_updatedRange_1 = objc + .registerName("applyTransform:reverse:range:updatedRange:"); bool _objc_msgSend_692( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer transform, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer transform, bool reverse, _NSRange range, ffi.Pointer<_NSRange> resultingRange, @@ -19567,874 +24605,1006 @@ class SwiftLibrary { } late final __objc_msgSend_692Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Bool, + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + _NSRange, + ffi.Pointer<_NSRange>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_692 = + __objc_msgSend_692Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool, _NSRange, - ffi.Pointer<_NSRange>)>>('objc_msgSend'); - late final __objc_msgSend_692 = __objc_msgSend_692Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, bool, _NSRange, ffi.Pointer<_NSRange>)>(); - - ffi.Pointer _objc_msgSend_693( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer<_NSRange>, + ) + >(); + + ffi.Pointer _objc_msgSend_693( + ffi.Pointer obj, + ffi.Pointer sel, int capacity, ) { - return __objc_msgSend_693( - obj, - sel, - capacity, - ); + return __objc_msgSend_693(obj, sel, capacity); } late final __objc_msgSend_693Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.UnsignedLong)>>('objc_msgSend'); - late final __objc_msgSend_693 = __objc_msgSend_693Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_stringWithCapacity_1 = _registerName1("stringWithCapacity:"); - late final _class_NSNotification1 = _getClass1("NSNotification"); - late final _sel_object1 = _registerName1("object"); - late final _sel_initWithName_object_userInfo_1 = - _registerName1("initWithName:object:userInfo:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_693 = + __objc_msgSend_693Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_stringWithCapacity_1 = objc.registerName( + "stringWithCapacity:", + ); + late final _class_NSNotification1 = objc.getClass("NSNotification"); + late final _sel_object1 = objc.registerName("object"); + late final _sel_initWithName_object_userInfo_1 = objc.registerName( + "initWithName:object:userInfo:", + ); instancetype _objc_msgSend_694( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer name, - ffi.Pointer object, - ffi.Pointer userInfo, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer name, + ffi.Pointer object, + ffi.Pointer userInfo, ) { - return __objc_msgSend_694( - obj, - sel, - name, - object, - userInfo, - ); + return __objc_msgSend_694(obj, sel, name, object, userInfo); } late final __objc_msgSend_694Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_694 = __objc_msgSend_694Ptr.asFunction< + ffi.NativeFunction< instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_notificationWithName_object_1 = - _registerName1("notificationWithName:object:"); - late final _sel_notificationWithName_object_userInfo_1 = - _registerName1("notificationWithName:object:userInfo:"); - late final _class_NSBundle1 = _getClass1("NSBundle"); - late final _sel_mainBundle1 = _registerName1("mainBundle"); - ffi.Pointer _objc_msgSend_695( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_695( - obj, - sel, - ); + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_694 = + __objc_msgSend_694Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_notificationWithName_object_1 = objc.registerName( + "notificationWithName:object:", + ); + late final _sel_notificationWithName_object_userInfo_1 = objc.registerName( + "notificationWithName:object:userInfo:", + ); + late final _class_NSBundle1 = objc.getClass("NSBundle"); + late final _sel_mainBundle1 = objc.registerName("mainBundle"); + ffi.Pointer _objc_msgSend_695( + ffi.Pointer obj, + ffi.Pointer sel, + ) { + return __objc_msgSend_695(obj, sel); } late final __objc_msgSend_695Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_695 = __objc_msgSend_695Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_bundleWithPath_1 = _registerName1("bundleWithPath:"); - late final _sel_initWithPath_1 = _registerName1("initWithPath:"); - late final _sel_bundleWithURL_1 = _registerName1("bundleWithURL:"); - late final _sel_initWithURL_1 = _registerName1("initWithURL:"); - late final _sel_bundleForClass_1 = _registerName1("bundleForClass:"); - ffi.Pointer _objc_msgSend_696( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aClass, - ) { - return __objc_msgSend_696( - obj, - sel, - aClass, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_695 = + __objc_msgSend_695Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_bundleWithPath_1 = objc.registerName("bundleWithPath:"); + late final _sel_initWithPath_1 = objc.registerName("initWithPath:"); + late final _sel_bundleWithURL_1 = objc.registerName("bundleWithURL:"); + late final _sel_initWithURL_1 = objc.registerName("initWithURL:"); + late final _sel_bundleForClass_1 = objc.registerName("bundleForClass:"); + ffi.Pointer _objc_msgSend_696( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer aClass, + ) { + return __objc_msgSend_696(obj, sel, aClass); } late final __objc_msgSend_696Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_696 = __objc_msgSend_696Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_bundleWithIdentifier_1 = - _registerName1("bundleWithIdentifier:"); - ffi.Pointer _objc_msgSend_697( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer identifier, - ) { - return __objc_msgSend_697( - obj, - sel, - identifier, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_696 = + __objc_msgSend_696Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_bundleWithIdentifier_1 = objc.registerName( + "bundleWithIdentifier:", + ); + ffi.Pointer _objc_msgSend_697( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer identifier, + ) { + return __objc_msgSend_697(obj, sel, identifier); } late final __objc_msgSend_697Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_697 = __objc_msgSend_697Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_allBundles1 = _registerName1("allBundles"); - late final _sel_allFrameworks1 = _registerName1("allFrameworks"); - late final _sel_isLoaded1 = _registerName1("isLoaded"); - late final _sel_unload1 = _registerName1("unload"); - late final _sel_preflightAndReturnError_1 = - _registerName1("preflightAndReturnError:"); - late final _sel_loadAndReturnError_1 = _registerName1("loadAndReturnError:"); - late final _sel_bundleURL1 = _registerName1("bundleURL"); - late final _sel_resourceURL1 = _registerName1("resourceURL"); - late final _sel_executableURL1 = _registerName1("executableURL"); - late final _sel_URLForAuxiliaryExecutable_1 = - _registerName1("URLForAuxiliaryExecutable:"); - late final _sel_privateFrameworksURL1 = - _registerName1("privateFrameworksURL"); - late final _sel_sharedFrameworksURL1 = _registerName1("sharedFrameworksURL"); - late final _sel_sharedSupportURL1 = _registerName1("sharedSupportURL"); - late final _sel_builtInPlugInsURL1 = _registerName1("builtInPlugInsURL"); - late final _sel_appStoreReceiptURL1 = _registerName1("appStoreReceiptURL"); - late final _sel_bundlePath1 = _registerName1("bundlePath"); - late final _sel_resourcePath1 = _registerName1("resourcePath"); - late final _sel_executablePath1 = _registerName1("executablePath"); - late final _sel_pathForAuxiliaryExecutable_1 = - _registerName1("pathForAuxiliaryExecutable:"); - late final _sel_privateFrameworksPath1 = - _registerName1("privateFrameworksPath"); - late final _sel_sharedFrameworksPath1 = - _registerName1("sharedFrameworksPath"); - late final _sel_sharedSupportPath1 = _registerName1("sharedSupportPath"); - late final _sel_builtInPlugInsPath1 = _registerName1("builtInPlugInsPath"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_697 = + __objc_msgSend_697Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_allBundles1 = objc.registerName("allBundles"); + late final _sel_allFrameworks1 = objc.registerName("allFrameworks"); + late final _sel_isLoaded1 = objc.registerName("isLoaded"); + late final _sel_unload1 = objc.registerName("unload"); + late final _sel_preflightAndReturnError_1 = objc.registerName( + "preflightAndReturnError:", + ); + late final _sel_loadAndReturnError_1 = objc.registerName( + "loadAndReturnError:", + ); + late final _sel_bundleURL1 = objc.registerName("bundleURL"); + late final _sel_resourceURL1 = objc.registerName("resourceURL"); + late final _sel_executableURL1 = objc.registerName("executableURL"); + late final _sel_URLForAuxiliaryExecutable_1 = objc.registerName( + "URLForAuxiliaryExecutable:", + ); + late final _sel_privateFrameworksURL1 = objc.registerName( + "privateFrameworksURL", + ); + late final _sel_sharedFrameworksURL1 = objc.registerName( + "sharedFrameworksURL", + ); + late final _sel_sharedSupportURL1 = objc.registerName("sharedSupportURL"); + late final _sel_builtInPlugInsURL1 = objc.registerName("builtInPlugInsURL"); + late final _sel_appStoreReceiptURL1 = objc.registerName("appStoreReceiptURL"); + late final _sel_bundlePath1 = objc.registerName("bundlePath"); + late final _sel_resourcePath1 = objc.registerName("resourcePath"); + late final _sel_executablePath1 = objc.registerName("executablePath"); + late final _sel_pathForAuxiliaryExecutable_1 = objc.registerName( + "pathForAuxiliaryExecutable:", + ); + late final _sel_privateFrameworksPath1 = objc.registerName( + "privateFrameworksPath", + ); + late final _sel_sharedFrameworksPath1 = objc.registerName( + "sharedFrameworksPath", + ); + late final _sel_sharedSupportPath1 = objc.registerName("sharedSupportPath"); + late final _sel_builtInPlugInsPath1 = objc.registerName("builtInPlugInsPath"); late final _sel_URLForResource_withExtension_subdirectory_inBundleWithURL_1 = - _registerName1( - "URLForResource:withExtension:subdirectory:inBundleWithURL:"); - ffi.Pointer _objc_msgSend_698( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer name, - ffi.Pointer ext, - ffi.Pointer subpath, - ffi.Pointer bundleURL, - ) { - return __objc_msgSend_698( - obj, - sel, - name, - ext, - subpath, - bundleURL, - ); + objc.registerName( + "URLForResource:withExtension:subdirectory:inBundleWithURL:", + ); + ffi.Pointer _objc_msgSend_698( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer name, + ffi.Pointer ext, + ffi.Pointer subpath, + ffi.Pointer bundleURL, + ) { + return __objc_msgSend_698(obj, sel, name, ext, subpath, bundleURL); } late final __objc_msgSend_698Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_698 = __objc_msgSend_698Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_698 = + __objc_msgSend_698Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_URLsForResourcesWithExtension_subdirectory_inBundleWithURL_1 = - _registerName1( - "URLsForResourcesWithExtension:subdirectory:inBundleWithURL:"); - ffi.Pointer _objc_msgSend_699( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer ext, - ffi.Pointer subpath, - ffi.Pointer bundleURL, - ) { - return __objc_msgSend_699( - obj, - sel, - ext, - subpath, - bundleURL, - ); + objc.registerName( + "URLsForResourcesWithExtension:subdirectory:inBundleWithURL:", + ); + ffi.Pointer _objc_msgSend_699( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer ext, + ffi.Pointer subpath, + ffi.Pointer bundleURL, + ) { + return __objc_msgSend_699(obj, sel, ext, subpath, bundleURL); } late final __objc_msgSend_699Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_699 = __objc_msgSend_699Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_URLForResource_withExtension_1 = - _registerName1("URLForResource:withExtension:"); - ffi.Pointer _objc_msgSend_700( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer name, - ffi.Pointer ext, - ) { - return __objc_msgSend_700( - obj, - sel, - name, - ext, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_699 = + __objc_msgSend_699Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_URLForResource_withExtension_1 = objc.registerName( + "URLForResource:withExtension:", + ); + ffi.Pointer _objc_msgSend_700( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer name, + ffi.Pointer ext, + ) { + return __objc_msgSend_700(obj, sel, name, ext); } late final __objc_msgSend_700Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_700 = __objc_msgSend_700Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_URLForResource_withExtension_subdirectory_1 = - _registerName1("URLForResource:withExtension:subdirectory:"); - ffi.Pointer _objc_msgSend_701( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer name, - ffi.Pointer ext, - ffi.Pointer subpath, - ) { - return __objc_msgSend_701( - obj, - sel, - name, - ext, - subpath, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_700 = + __objc_msgSend_700Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_URLForResource_withExtension_subdirectory_1 = objc + .registerName("URLForResource:withExtension:subdirectory:"); + ffi.Pointer _objc_msgSend_701( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer name, + ffi.Pointer ext, + ffi.Pointer subpath, + ) { + return __objc_msgSend_701(obj, sel, name, ext, subpath); } late final __objc_msgSend_701Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_701 = __objc_msgSend_701Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_701 = + __objc_msgSend_701Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_URLForResource_withExtension_subdirectory_localization_1 = - _registerName1("URLForResource:withExtension:subdirectory:localization:"); - ffi.Pointer _objc_msgSend_702( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer name, - ffi.Pointer ext, - ffi.Pointer subpath, - ffi.Pointer localizationName, - ) { - return __objc_msgSend_702( - obj, - sel, - name, - ext, - subpath, - localizationName, - ); + objc.registerName( + "URLForResource:withExtension:subdirectory:localization:", + ); + ffi.Pointer _objc_msgSend_702( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer name, + ffi.Pointer ext, + ffi.Pointer subpath, + ffi.Pointer localizationName, + ) { + return __objc_msgSend_702(obj, sel, name, ext, subpath, localizationName); } late final __objc_msgSend_702Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_702 = __objc_msgSend_702Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_URLsForResourcesWithExtension_subdirectory_1 = - _registerName1("URLsForResourcesWithExtension:subdirectory:"); - ffi.Pointer _objc_msgSend_703( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer ext, - ffi.Pointer subpath, - ) { - return __objc_msgSend_703( - obj, - sel, - ext, - subpath, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_702 = + __objc_msgSend_702Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_URLsForResourcesWithExtension_subdirectory_1 = objc + .registerName("URLsForResourcesWithExtension:subdirectory:"); + ffi.Pointer _objc_msgSend_703( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer ext, + ffi.Pointer subpath, + ) { + return __objc_msgSend_703(obj, sel, ext, subpath); } late final __objc_msgSend_703Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_703 = __objc_msgSend_703Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_703 = + __objc_msgSend_703Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_URLsForResourcesWithExtension_subdirectory_localization_1 = - _registerName1( - "URLsForResourcesWithExtension:subdirectory:localization:"); - ffi.Pointer _objc_msgSend_704( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer ext, - ffi.Pointer subpath, - ffi.Pointer localizationName, - ) { - return __objc_msgSend_704( - obj, - sel, - ext, - subpath, - localizationName, - ); + objc.registerName( + "URLsForResourcesWithExtension:subdirectory:localization:", + ); + ffi.Pointer _objc_msgSend_704( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer ext, + ffi.Pointer subpath, + ffi.Pointer localizationName, + ) { + return __objc_msgSend_704(obj, sel, ext, subpath, localizationName); } late final __objc_msgSend_704Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_704 = __objc_msgSend_704Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_pathForResource_ofType_inDirectory_1 = - _registerName1("pathForResource:ofType:inDirectory:"); - ffi.Pointer _objc_msgSend_705( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer name, - ffi.Pointer ext, - ffi.Pointer bundlePath, - ) { - return __objc_msgSend_705( - obj, - sel, - name, - ext, - bundlePath, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_704 = + __objc_msgSend_704Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_pathForResource_ofType_inDirectory_1 = objc.registerName( + "pathForResource:ofType:inDirectory:", + ); + ffi.Pointer _objc_msgSend_705( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer name, + ffi.Pointer ext, + ffi.Pointer bundlePath, + ) { + return __objc_msgSend_705(obj, sel, name, ext, bundlePath); } late final __objc_msgSend_705Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_705 = __objc_msgSend_705Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_pathsForResourcesOfType_inDirectory_1 = - _registerName1("pathsForResourcesOfType:inDirectory:"); - ffi.Pointer _objc_msgSend_706( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer ext, - ffi.Pointer bundlePath, - ) { - return __objc_msgSend_706( - obj, - sel, - ext, - bundlePath, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_705 = + __objc_msgSend_705Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_pathsForResourcesOfType_inDirectory_1 = objc.registerName( + "pathsForResourcesOfType:inDirectory:", + ); + ffi.Pointer _objc_msgSend_706( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer ext, + ffi.Pointer bundlePath, + ) { + return __objc_msgSend_706(obj, sel, ext, bundlePath); } late final __objc_msgSend_706Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_706 = __objc_msgSend_706Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_pathForResource_ofType_1 = - _registerName1("pathForResource:ofType:"); - ffi.Pointer _objc_msgSend_707( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer name, - ffi.Pointer ext, - ) { - return __objc_msgSend_707( - obj, - sel, - name, - ext, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_706 = + __objc_msgSend_706Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_pathForResource_ofType_1 = objc.registerName( + "pathForResource:ofType:", + ); + ffi.Pointer _objc_msgSend_707( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer name, + ffi.Pointer ext, + ) { + return __objc_msgSend_707(obj, sel, name, ext); } late final __objc_msgSend_707Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_707 = __objc_msgSend_707Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_pathForResource_ofType_inDirectory_forLocalization_1 = - _registerName1("pathForResource:ofType:inDirectory:forLocalization:"); - ffi.Pointer _objc_msgSend_708( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer name, - ffi.Pointer ext, - ffi.Pointer subpath, - ffi.Pointer localizationName, - ) { - return __objc_msgSend_708( - obj, - sel, - name, - ext, - subpath, - localizationName, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_707 = + __objc_msgSend_707Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_pathForResource_ofType_inDirectory_forLocalization_1 = objc + .registerName("pathForResource:ofType:inDirectory:forLocalization:"); + ffi.Pointer _objc_msgSend_708( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer name, + ffi.Pointer ext, + ffi.Pointer subpath, + ffi.Pointer localizationName, + ) { + return __objc_msgSend_708(obj, sel, name, ext, subpath, localizationName); } late final __objc_msgSend_708Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_708 = __objc_msgSend_708Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_pathsForResourcesOfType_inDirectory_forLocalization_1 = - _registerName1("pathsForResourcesOfType:inDirectory:forLocalization:"); - ffi.Pointer _objc_msgSend_709( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer ext, - ffi.Pointer subpath, - ffi.Pointer localizationName, - ) { - return __objc_msgSend_709( - obj, - sel, - ext, - subpath, - localizationName, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_708 = + __objc_msgSend_708Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_pathsForResourcesOfType_inDirectory_forLocalization_1 = objc + .registerName("pathsForResourcesOfType:inDirectory:forLocalization:"); + ffi.Pointer _objc_msgSend_709( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer ext, + ffi.Pointer subpath, + ffi.Pointer localizationName, + ) { + return __objc_msgSend_709(obj, sel, ext, subpath, localizationName); } late final __objc_msgSend_709Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_709 = __objc_msgSend_709Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_localizedStringForKey_value_table_1 = - _registerName1("localizedStringForKey:value:table:"); - ffi.Pointer _objc_msgSend_710( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer key, - ffi.Pointer value, - ffi.Pointer tableName, - ) { - return __objc_msgSend_710( - obj, - sel, - key, - value, - tableName, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_709 = + __objc_msgSend_709Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_localizedStringForKey_value_table_1 = objc.registerName( + "localizedStringForKey:value:table:", + ); + ffi.Pointer _objc_msgSend_710( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer key, + ffi.Pointer value, + ffi.Pointer tableName, + ) { + return __objc_msgSend_710(obj, sel, key, value, tableName); } late final __objc_msgSend_710Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_710 = __objc_msgSend_710Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - late final _class_NSAttributedString1 = _getClass1("NSAttributedString"); - late final _sel_attributesAtIndex_effectiveRange_1 = - _registerName1("attributesAtIndex:effectiveRange:"); - ffi.Pointer _objc_msgSend_711( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_710 = + __objc_msgSend_710Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _class_NSAttributedString1 = objc.getClass("NSAttributedString"); + late final _sel_attributesAtIndex_effectiveRange_1 = objc.registerName( + "attributesAtIndex:effectiveRange:", + ); + ffi.Pointer _objc_msgSend_711( + ffi.Pointer obj, + ffi.Pointer sel, int location, ffi.Pointer<_NSRange> range, ) { - return __objc_msgSend_711( - obj, - sel, - location, - range, - ); + return __objc_msgSend_711(obj, sel, location, range); } late final __objc_msgSend_711Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer<_NSRange>)>>('objc_msgSend'); - late final __objc_msgSend_711 = __objc_msgSend_711Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, int, ffi.Pointer<_NSRange>)>(); - - late final _sel_attribute_atIndex_effectiveRange_1 = - _registerName1("attribute:atIndex:effectiveRange:"); - ffi.Pointer _objc_msgSend_712( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer attrName, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer<_NSRange>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_711 = + __objc_msgSend_711Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer<_NSRange>, + ) + >(); + + late final _sel_attribute_atIndex_effectiveRange_1 = objc.registerName( + "attribute:atIndex:effectiveRange:", + ); + ffi.Pointer _objc_msgSend_712( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer attrName, int location, ffi.Pointer<_NSRange> range, ) { - return __objc_msgSend_712( - obj, - sel, - attrName, - location, - range, - ); + return __objc_msgSend_712(obj, sel, attrName, location, range); } late final __objc_msgSend_712Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer<_NSRange>)>>('objc_msgSend'); - late final __objc_msgSend_712 = __objc_msgSend_712Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer<_NSRange>)>(); - - late final _sel_attributedSubstringFromRange_1 = - _registerName1("attributedSubstringFromRange:"); - ffi.Pointer _objc_msgSend_713( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer<_NSRange>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_712 = + __objc_msgSend_712Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer<_NSRange>, + ) + >(); + + late final _sel_attributedSubstringFromRange_1 = objc.registerName( + "attributedSubstringFromRange:", + ); + ffi.Pointer _objc_msgSend_713( + ffi.Pointer obj, + ffi.Pointer sel, _NSRange range, ) { - return __objc_msgSend_713( - obj, - sel, - range, - ); + return __objc_msgSend_713(obj, sel, range); } late final __objc_msgSend_713Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, _NSRange)>>('objc_msgSend'); - late final __objc_msgSend_713 = __objc_msgSend_713Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer, _NSRange)>(); - - late final _sel_attributesAtIndex_longestEffectiveRange_inRange_1 = - _registerName1("attributesAtIndex:longestEffectiveRange:inRange:"); - ffi.Pointer _objc_msgSend_714( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_713 = + __objc_msgSend_713Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ) + >(); + + late final _sel_attributesAtIndex_longestEffectiveRange_inRange_1 = objc + .registerName("attributesAtIndex:longestEffectiveRange:inRange:"); + ffi.Pointer _objc_msgSend_714( + ffi.Pointer obj, + ffi.Pointer sel, int location, ffi.Pointer<_NSRange> range, _NSRange rangeLimit, ) { - return __objc_msgSend_714( - obj, - sel, - location, - range, - rangeLimit, - ); + return __objc_msgSend_714(obj, sel, location, range, rangeLimit); } late final __objc_msgSend_714Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer<_NSRange>, + _NSRange, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_714 = + __objc_msgSend_714Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, ffi.Pointer<_NSRange>, - _NSRange)>>('objc_msgSend'); - late final __objc_msgSend_714 = __objc_msgSend_714Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, int, ffi.Pointer<_NSRange>, _NSRange)>(); - - late final _sel_attribute_atIndex_longestEffectiveRange_inRange_1 = - _registerName1("attribute:atIndex:longestEffectiveRange:inRange:"); - ffi.Pointer _objc_msgSend_715( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer attrName, + _NSRange, + ) + >(); + + late final _sel_attribute_atIndex_longestEffectiveRange_inRange_1 = objc + .registerName("attribute:atIndex:longestEffectiveRange:inRange:"); + ffi.Pointer _objc_msgSend_715( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer attrName, int location, ffi.Pointer<_NSRange> range, _NSRange rangeLimit, ) { - return __objc_msgSend_715( - obj, - sel, - attrName, - location, - range, - rangeLimit, - ); + return __objc_msgSend_715(obj, sel, attrName, location, range, rangeLimit); } late final __objc_msgSend_715Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer<_NSRange>, + _NSRange, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_715 = + __objc_msgSend_715Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, ffi.Pointer<_NSRange>, - _NSRange)>>('objc_msgSend'); - late final __objc_msgSend_715 = __objc_msgSend_715Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer<_NSRange>, - _NSRange)>(); + _NSRange, + ) + >(); - late final _sel_isEqualToAttributedString_1 = - _registerName1("isEqualToAttributedString:"); + late final _sel_isEqualToAttributedString_1 = objc.registerName( + "isEqualToAttributedString:", + ); bool _objc_msgSend_716( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer other, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer other, ) { - return __objc_msgSend_716( - obj, - sel, - other, - ); + return __objc_msgSend_716(obj, sel, other); } late final __objc_msgSend_716Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_716 = __objc_msgSend_716Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_initWithString_attributes_1 = - _registerName1("initWithString:attributes:"); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_716 = + __objc_msgSend_716Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_initWithString_attributes_1 = objc.registerName( + "initWithString:attributes:", + ); instancetype _objc_msgSend_717( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer str, - ffi.Pointer attrs, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer str, + ffi.Pointer attrs, ) { - return __objc_msgSend_717( - obj, - sel, - str, - attrs, - ); + return __objc_msgSend_717(obj, sel, str, attrs); } late final __objc_msgSend_717Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_717 = __objc_msgSend_717Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_initWithAttributedString_1 = - _registerName1("initWithAttributedString:"); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_717 = + __objc_msgSend_717Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_initWithAttributedString_1 = objc.registerName( + "initWithAttributedString:", + ); instancetype _objc_msgSend_718( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer attrStr, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer attrStr, ) { - return __objc_msgSend_718( - obj, - sel, - attrStr, - ); + return __objc_msgSend_718(obj, sel, attrStr); } late final __objc_msgSend_718Ptr = _lookup< - ffi.NativeFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_718 = __objc_msgSend_718Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_enumerateAttributesInRange_options_usingBlock_1 = - _registerName1("enumerateAttributesInRange:options:usingBlock:"); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_718 = + __objc_msgSend_718Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_enumerateAttributesInRange_options_usingBlock_1 = objc + .registerName("enumerateAttributesInRange:options:usingBlock:"); void _objc_msgSend_719( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, _NSRange enumerationRange, int opts, - ffi.Pointer<_ObjCBlock> block, + ffi.Pointer block, ) { - return __objc_msgSend_719( - obj, - sel, - enumerationRange, - opts, - block, - ); + return __objc_msgSend_719(obj, sel, enumerationRange, opts, block); } late final __objc_msgSend_719Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - _NSRange, ffi.Int32, ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_719 = __objc_msgSend_719Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, _NSRange, - int, ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_enumerateAttribute_inRange_options_usingBlock_1 = - _registerName1("enumerateAttribute:inRange:options:usingBlock:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Int32, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_719 = + __objc_msgSend_719Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + int, + ffi.Pointer, + ) + >(); + + late final _sel_enumerateAttribute_inRange_options_usingBlock_1 = objc + .registerName("enumerateAttribute:inRange:options:usingBlock:"); void _objc_msgSend_720( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer attrName, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer attrName, _NSRange enumerationRange, int opts, - ffi.Pointer<_ObjCBlock> block, + ffi.Pointer block, ) { return __objc_msgSend_720( obj, @@ -20447,192 +25617,242 @@ class SwiftLibrary { } late final __objc_msgSend_720Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Int32, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_720 = + __objc_msgSend_720Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, _NSRange, - ffi.Int32, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_720 = __objc_msgSend_720Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, _NSRange, int, ffi.Pointer<_ObjCBlock>)>(); - - late final _class_NSAttributedStringMarkdownParsingOptions1 = - _getClass1("NSAttributedStringMarkdownParsingOptions"); - late final _sel_allowsExtendedAttributes1 = - _registerName1("allowsExtendedAttributes"); - late final _sel_setAllowsExtendedAttributes_1 = - _registerName1("setAllowsExtendedAttributes:"); - late final _sel_interpretedSyntax1 = _registerName1("interpretedSyntax"); + int, + ffi.Pointer, + ) + >(); + + late final _class_NSAttributedStringMarkdownParsingOptions1 = objc.getClass( + "NSAttributedStringMarkdownParsingOptions", + ); + late final _sel_allowsExtendedAttributes1 = objc.registerName( + "allowsExtendedAttributes", + ); + late final _sel_setAllowsExtendedAttributes_1 = objc.registerName( + "setAllowsExtendedAttributes:", + ); + late final _sel_interpretedSyntax1 = objc.registerName("interpretedSyntax"); int _objc_msgSend_721( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_721( - obj, - sel, - ); + return __objc_msgSend_721(obj, sel); } late final __objc_msgSend_721Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_721 = __objc_msgSend_721Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer)>(); - - late final _sel_setInterpretedSyntax_1 = - _registerName1("setInterpretedSyntax:"); + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_721 = + __objc_msgSend_721Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_setInterpretedSyntax_1 = objc.registerName( + "setInterpretedSyntax:", + ); void _objc_msgSend_722( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int value, ) { - return __objc_msgSend_722( - obj, - sel, - value, - ); + return __objc_msgSend_722(obj, sel, value); } late final __objc_msgSend_722Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_722 = __objc_msgSend_722Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_722 = + __objc_msgSend_722Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); - late final _sel_failurePolicy1 = _registerName1("failurePolicy"); + late final _sel_failurePolicy1 = objc.registerName("failurePolicy"); int _objc_msgSend_723( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_723( - obj, - sel, - ); + return __objc_msgSend_723(obj, sel); } late final __objc_msgSend_723Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_723 = __objc_msgSend_723Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_723 = + __objc_msgSend_723Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); - late final _sel_setFailurePolicy_1 = _registerName1("setFailurePolicy:"); + late final _sel_setFailurePolicy_1 = objc.registerName("setFailurePolicy:"); void _objc_msgSend_724( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int value, ) { - return __objc_msgSend_724( - obj, - sel, - value, - ); + return __objc_msgSend_724(obj, sel, value); } late final __objc_msgSend_724Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_724 = __objc_msgSend_724Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_setLanguageCode_1 = _registerName1("setLanguageCode:"); - late final _sel_appliesSourcePositionAttributes1 = - _registerName1("appliesSourcePositionAttributes"); - late final _sel_setAppliesSourcePositionAttributes_1 = - _registerName1("setAppliesSourcePositionAttributes:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_724 = + __objc_msgSend_724Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_setLanguageCode_1 = objc.registerName("setLanguageCode:"); + late final _sel_appliesSourcePositionAttributes1 = objc.registerName( + "appliesSourcePositionAttributes", + ); + late final _sel_setAppliesSourcePositionAttributes_1 = objc.registerName( + "setAppliesSourcePositionAttributes:", + ); late final _sel_initWithContentsOfMarkdownFileAtURL_options_baseURL_error_1 = - _registerName1( - "initWithContentsOfMarkdownFileAtURL:options:baseURL:error:"); + objc.registerName( + "initWithContentsOfMarkdownFileAtURL:options:baseURL:error:", + ); instancetype _objc_msgSend_725( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer markdownFile, - ffi.Pointer options, - ffi.Pointer baseURL, - ffi.Pointer> error, - ) { - return __objc_msgSend_725( - obj, - sel, - markdownFile, - options, - baseURL, - error, - ); + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer markdownFile, + ffi.Pointer options, + ffi.Pointer baseURL, + ffi.Pointer> error, + ) { + return __objc_msgSend_725(obj, sel, markdownFile, options, baseURL, error); } late final __objc_msgSend_725Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_725 = __objc_msgSend_725Ptr.asFunction< + ffi.NativeFunction< instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>(); - - late final _sel_initWithMarkdown_options_baseURL_error_1 = - _registerName1("initWithMarkdown:options:baseURL:error:"); + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_725 = + __objc_msgSend_725Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + >(); + + late final _sel_initWithMarkdown_options_baseURL_error_1 = objc.registerName( + "initWithMarkdown:options:baseURL:error:", + ); instancetype _objc_msgSend_726( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer markdown, - ffi.Pointer options, - ffi.Pointer baseURL, - ffi.Pointer> error, - ) { - return __objc_msgSend_726( - obj, - sel, - markdown, - options, - baseURL, - error, - ); + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer markdown, + ffi.Pointer options, + ffi.Pointer baseURL, + ffi.Pointer> error, + ) { + return __objc_msgSend_726(obj, sel, markdown, options, baseURL, error); } late final __objc_msgSend_726Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_726 = __objc_msgSend_726Ptr.asFunction< + ffi.NativeFunction< instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>(); - - late final _sel_initWithMarkdownString_options_baseURL_error_1 = - _registerName1("initWithMarkdownString:options:baseURL:error:"); + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_726 = + __objc_msgSend_726Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + >(); + + late final _sel_initWithMarkdownString_options_baseURL_error_1 = objc + .registerName("initWithMarkdownString:options:baseURL:error:"); instancetype _objc_msgSend_727( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer markdownString, - ffi.Pointer options, - ffi.Pointer baseURL, - ffi.Pointer> error, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer markdownString, + ffi.Pointer options, + ffi.Pointer baseURL, + ffi.Pointer> error, ) { return __objc_msgSend_727( obj, @@ -20645,164 +25865,188 @@ class SwiftLibrary { } late final __objc_msgSend_727Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_727 = __objc_msgSend_727Ptr.asFunction< + ffi.NativeFunction< instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>(); - - late final _sel_initWithFormat_options_locale_1 = - _registerName1("initWithFormat:options:locale:"); + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_727 = + __objc_msgSend_727Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + >(); + + late final _sel_initWithFormat_options_locale_1 = objc.registerName( + "initWithFormat:options:locale:", + ); instancetype _objc_msgSend_728( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer format, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer format, int options, - ffi.Pointer locale, + ffi.Pointer locale, ) { - return __objc_msgSend_728( - obj, - sel, - format, - options, - locale, - ); + return __objc_msgSend_728(obj, sel, format, options, locale); } late final __objc_msgSend_728Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_728 = __objc_msgSend_728Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int, ffi.Pointer)>(); - - late final _sel_initWithFormat_options_locale_arguments_1 = - _registerName1("initWithFormat:options:locale:arguments:"); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_728 = + __objc_msgSend_728Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ) + >(); + + late final _sel_initWithFormat_options_locale_arguments_1 = objc.registerName( + "initWithFormat:options:locale:arguments:", + ); instancetype _objc_msgSend_729( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer format, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer format, int options, - ffi.Pointer locale, + ffi.Pointer locale, ffi.Pointer<__va_list_tag> arguments, ) { - return __objc_msgSend_729( - obj, - sel, - format, - options, - locale, - arguments, - ); + return __objc_msgSend_729(obj, sel, format, options, locale, arguments); } late final __objc_msgSend_729Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer, - ffi.Pointer<__va_list_tag>)>>('objc_msgSend'); - late final __objc_msgSend_729 = __objc_msgSend_729Ptr.asFunction< + ffi.NativeFunction< instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ffi.Pointer<__va_list_tag>)>(); - - late final _sel_localizedAttributedStringWithFormat_1 = - _registerName1("localizedAttributedStringWithFormat:"); - late final _sel_localizedAttributedStringWithFormat_options_1 = - _registerName1("localizedAttributedStringWithFormat:options:"); + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ffi.Pointer<__va_list_tag>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_729 = + __objc_msgSend_729Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ffi.Pointer<__va_list_tag>, + ) + >(); + + late final _sel_localizedAttributedStringWithFormat_1 = objc.registerName( + "localizedAttributedStringWithFormat:", + ); + late final _sel_localizedAttributedStringWithFormat_options_1 = objc + .registerName("localizedAttributedStringWithFormat:options:"); instancetype _objc_msgSend_730( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer format, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer format, int options, ) { - return __objc_msgSend_730( - obj, - sel, - format, - options, - ); + return __objc_msgSend_730(obj, sel, format, options); } late final __objc_msgSend_730Ptr = _lookup< - ffi.NativeFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_730 = __objc_msgSend_730Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int)>(); - - late final _sel_initWithFormat_options_locale_context_1 = - _registerName1("initWithFormat:options:locale:context:"); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_730 = + __objc_msgSend_730Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_initWithFormat_options_locale_context_1 = objc.registerName( + "initWithFormat:options:locale:context:", + ); instancetype _objc_msgSend_731( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer format, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer format, int options, - ffi.Pointer locale, - ffi.Pointer context, + ffi.Pointer locale, + ffi.Pointer context, ) { - return __objc_msgSend_731( - obj, - sel, - format, - options, - locale, - context, - ); + return __objc_msgSend_731(obj, sel, format, options, locale, context); } late final __objc_msgSend_731Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_731 = __objc_msgSend_731Ptr.asFunction< + ffi.NativeFunction< instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_initWithFormat_options_locale_context_arguments_1 = - _registerName1("initWithFormat:options:locale:context:arguments:"); + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_731 = + __objc_msgSend_731Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_initWithFormat_options_locale_context_arguments_1 = objc + .registerName("initWithFormat:options:locale:context:arguments:"); instancetype _objc_msgSend_732( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer format, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer format, int options, - ffi.Pointer locale, - ffi.Pointer context, + ffi.Pointer locale, + ffi.Pointer context, ffi.Pointer<__va_list_tag> arguments, ) { return __objc_msgSend_732( @@ -20817,543 +26061,669 @@ class SwiftLibrary { } late final __objc_msgSend_732Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<__va_list_tag>)>>('objc_msgSend'); - late final __objc_msgSend_732 = __objc_msgSend_732Ptr.asFunction< + ffi.NativeFunction< instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<__va_list_tag>)>(); + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<__va_list_tag>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_732 = + __objc_msgSend_732Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<__va_list_tag>, + ) + >(); - late final _sel_localizedAttributedStringWithFormat_context_1 = - _registerName1("localizedAttributedStringWithFormat:context:"); + late final _sel_localizedAttributedStringWithFormat_context_1 = objc + .registerName("localizedAttributedStringWithFormat:context:"); instancetype _objc_msgSend_733( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer format, - ffi.Pointer context, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer format, + ffi.Pointer context, ) { - return __objc_msgSend_733( - obj, - sel, - format, - context, - ); + return __objc_msgSend_733(obj, sel, format, context); } late final __objc_msgSend_733Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_733 = __objc_msgSend_733Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_localizedAttributedStringWithFormat_options_context_1 = - _registerName1("localizedAttributedStringWithFormat:options:context:"); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_733 = + __objc_msgSend_733Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_localizedAttributedStringWithFormat_options_context_1 = objc + .registerName("localizedAttributedStringWithFormat:options:context:"); instancetype _objc_msgSend_734( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer format, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer format, int options, - ffi.Pointer context, + ffi.Pointer context, ) { - return __objc_msgSend_734( - obj, - sel, - format, - options, - context, - ); + return __objc_msgSend_734(obj, sel, format, options, context); } late final __objc_msgSend_734Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_734 = __objc_msgSend_734Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int, ffi.Pointer)>(); - - late final _sel_attributedStringByInflectingString1 = - _registerName1("attributedStringByInflectingString"); - ffi.Pointer _objc_msgSend_735( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_735( - obj, - sel, - ); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_734 = + __objc_msgSend_734Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ) + >(); + + late final _sel_attributedStringByInflectingString1 = objc.registerName( + "attributedStringByInflectingString", + ); + ffi.Pointer _objc_msgSend_735( + ffi.Pointer obj, + ffi.Pointer sel, + ) { + return __objc_msgSend_735(obj, sel); } late final __objc_msgSend_735Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_735 = __objc_msgSend_735Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_localizedAttributedStringForKey_value_table_1 = - _registerName1("localizedAttributedStringForKey:value:table:"); - ffi.Pointer _objc_msgSend_736( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer key, - ffi.Pointer value, - ffi.Pointer tableName, - ) { - return __objc_msgSend_736( - obj, - sel, - key, - value, - tableName, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_735 = + __objc_msgSend_735Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_localizedAttributedStringForKey_value_table_1 = objc + .registerName("localizedAttributedStringForKey:value:table:"); + ffi.Pointer _objc_msgSend_736( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer key, + ffi.Pointer value, + ffi.Pointer tableName, + ) { + return __objc_msgSend_736(obj, sel, key, value, tableName); } late final __objc_msgSend_736Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_736 = __objc_msgSend_736Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_bundleIdentifier1 = _registerName1("bundleIdentifier"); - late final _sel_infoDictionary1 = _registerName1("infoDictionary"); - late final _sel_localizedInfoDictionary1 = - _registerName1("localizedInfoDictionary"); - late final _sel_objectForInfoDictionaryKey_1 = - _registerName1("objectForInfoDictionaryKey:"); - late final _sel_classNamed_1 = _registerName1("classNamed:"); - late final _sel_principalClass1 = _registerName1("principalClass"); - late final _sel_preferredLocalizations1 = - _registerName1("preferredLocalizations"); - late final _sel_localizations1 = _registerName1("localizations"); - late final _sel_developmentLocalization1 = - _registerName1("developmentLocalization"); - late final _sel_preferredLocalizationsFromArray_1 = - _registerName1("preferredLocalizationsFromArray:"); - late final _sel_preferredLocalizationsFromArray_forPreferences_1 = - _registerName1("preferredLocalizationsFromArray:forPreferences:"); - ffi.Pointer _objc_msgSend_737( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer localizationsArray, - ffi.Pointer preferencesArray, - ) { - return __objc_msgSend_737( - obj, - sel, - localizationsArray, - preferencesArray, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_736 = + __objc_msgSend_736Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_bundleIdentifier1 = objc.registerName("bundleIdentifier"); + late final _sel_infoDictionary1 = objc.registerName("infoDictionary"); + late final _sel_localizedInfoDictionary1 = objc.registerName( + "localizedInfoDictionary", + ); + late final _sel_objectForInfoDictionaryKey_1 = objc.registerName( + "objectForInfoDictionaryKey:", + ); + late final _sel_classNamed_1 = objc.registerName("classNamed:"); + late final _sel_principalClass1 = objc.registerName("principalClass"); + late final _sel_preferredLocalizations1 = objc.registerName( + "preferredLocalizations", + ); + late final _sel_localizations1 = objc.registerName("localizations"); + late final _sel_developmentLocalization1 = objc.registerName( + "developmentLocalization", + ); + late final _sel_preferredLocalizationsFromArray_1 = objc.registerName( + "preferredLocalizationsFromArray:", + ); + late final _sel_preferredLocalizationsFromArray_forPreferences_1 = objc + .registerName("preferredLocalizationsFromArray:forPreferences:"); + ffi.Pointer _objc_msgSend_737( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer localizationsArray, + ffi.Pointer preferencesArray, + ) { + return __objc_msgSend_737(obj, sel, localizationsArray, preferencesArray); } late final __objc_msgSend_737Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_737 = __objc_msgSend_737Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_executableArchitectures1 = - _registerName1("executableArchitectures"); - late final _sel_setPreservationPriority_forTags_1 = - _registerName1("setPreservationPriority:forTags:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_737 = + __objc_msgSend_737Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_executableArchitectures1 = objc.registerName( + "executableArchitectures", + ); + late final _sel_setPreservationPriority_forTags_1 = objc.registerName( + "setPreservationPriority:forTags:", + ); void _objc_msgSend_738( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, double priority, - ffi.Pointer tags, + ffi.Pointer tags, ) { - return __objc_msgSend_738( - obj, - sel, - priority, - tags, - ); + return __objc_msgSend_738(obj, sel, priority, tags); } late final __objc_msgSend_738Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Double, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_738 = __objc_msgSend_738Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, double, - ffi.Pointer)>(); - - late final _sel_preservationPriorityForTag_1 = - _registerName1("preservationPriorityForTag:"); - late final _class_NSMutableAttributedString1 = - _getClass1("NSMutableAttributedString"); - late final _sel_setAttributes_range_1 = - _registerName1("setAttributes:range:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Double, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_738 = + __objc_msgSend_738Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + double, + ffi.Pointer, + ) + >(); + + late final _sel_preservationPriorityForTag_1 = objc.registerName( + "preservationPriorityForTag:", + ); + late final _class_NSMutableAttributedString1 = objc.getClass( + "NSMutableAttributedString", + ); + late final _sel_setAttributes_range_1 = objc.registerName( + "setAttributes:range:", + ); void _objc_msgSend_739( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer attrs, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer attrs, _NSRange range, ) { - return __objc_msgSend_739( - obj, - sel, - attrs, - range, - ); + return __objc_msgSend_739(obj, sel, attrs, range); } late final __objc_msgSend_739Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, _NSRange)>>('objc_msgSend'); - late final __objc_msgSend_739 = __objc_msgSend_739Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, _NSRange)>(); - - late final _sel_mutableString1 = _registerName1("mutableString"); - ffi.Pointer _objc_msgSend_740( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_740( - obj, - sel, - ); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_739 = + __objc_msgSend_739Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange, + ) + >(); + + late final _sel_mutableString1 = objc.registerName("mutableString"); + ffi.Pointer _objc_msgSend_740( + ffi.Pointer obj, + ffi.Pointer sel, + ) { + return __objc_msgSend_740(obj, sel); } late final __objc_msgSend_740Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_740 = __objc_msgSend_740Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_addAttribute_value_range_1 = - _registerName1("addAttribute:value:range:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_740 = + __objc_msgSend_740Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_addAttribute_value_range_1 = objc.registerName( + "addAttribute:value:range:", + ); void _objc_msgSend_741( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer name, - ffi.Pointer value, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer name, + ffi.Pointer value, _NSRange range, ) { - return __objc_msgSend_741( - obj, - sel, - name, - value, - range, - ); + return __objc_msgSend_741(obj, sel, name, value, range); } late final __objc_msgSend_741Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - _NSRange)>>('objc_msgSend'); - late final __objc_msgSend_741 = __objc_msgSend_741Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer, _NSRange)>(); - - late final _sel_addAttributes_range_1 = - _registerName1("addAttributes:range:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_741 = + __objc_msgSend_741Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange, + ) + >(); + + late final _sel_addAttributes_range_1 = objc.registerName( + "addAttributes:range:", + ); void _objc_msgSend_742( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer attrs, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer attrs, _NSRange range, ) { - return __objc_msgSend_742( - obj, - sel, - attrs, - range, - ); + return __objc_msgSend_742(obj, sel, attrs, range); } late final __objc_msgSend_742Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, _NSRange)>>('objc_msgSend'); - late final __objc_msgSend_742 = __objc_msgSend_742Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, _NSRange)>(); - - late final _sel_removeAttribute_range_1 = - _registerName1("removeAttribute:range:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_742 = + __objc_msgSend_742Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange, + ) + >(); + + late final _sel_removeAttribute_range_1 = objc.registerName( + "removeAttribute:range:", + ); void _objc_msgSend_743( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer name, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer name, _NSRange range, ) { - return __objc_msgSend_743( - obj, - sel, - name, - range, - ); + return __objc_msgSend_743(obj, sel, name, range); } late final __objc_msgSend_743Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, _NSRange)>>('objc_msgSend'); - late final __objc_msgSend_743 = __objc_msgSend_743Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, _NSRange)>(); - - late final _sel_replaceCharactersInRange_withAttributedString_1 = - _registerName1("replaceCharactersInRange:withAttributedString:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_743 = + __objc_msgSend_743Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange, + ) + >(); + + late final _sel_replaceCharactersInRange_withAttributedString_1 = objc + .registerName("replaceCharactersInRange:withAttributedString:"); void _objc_msgSend_744( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, _NSRange range, - ffi.Pointer attrString, + ffi.Pointer attrString, ) { - return __objc_msgSend_744( - obj, - sel, - range, - attrString, - ); + return __objc_msgSend_744(obj, sel, range, attrString); } late final __objc_msgSend_744Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - _NSRange, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_744 = __objc_msgSend_744Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, _NSRange, - ffi.Pointer)>(); - - late final _sel_insertAttributedString_atIndex_1 = - _registerName1("insertAttributedString:atIndex:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_744 = + __objc_msgSend_744Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + ) + >(); + + late final _sel_insertAttributedString_atIndex_1 = objc.registerName( + "insertAttributedString:atIndex:", + ); void _objc_msgSend_745( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer attrString, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer attrString, int loc, ) { - return __objc_msgSend_745( - obj, - sel, - attrString, - loc, - ); + return __objc_msgSend_745(obj, sel, attrString, loc); } late final __objc_msgSend_745Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.UnsignedLong)>>('objc_msgSend'); - late final __objc_msgSend_745 = __objc_msgSend_745Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int)>(); - - late final _sel_appendAttributedString_1 = - _registerName1("appendAttributedString:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_745 = + __objc_msgSend_745Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_appendAttributedString_1 = objc.registerName( + "appendAttributedString:", + ); void _objc_msgSend_746( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer attrString, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer attrString, ) { - return __objc_msgSend_746( - obj, - sel, - attrString, - ); + return __objc_msgSend_746(obj, sel, attrString); } late final __objc_msgSend_746Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_746 = __objc_msgSend_746Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_setAttributedString_1 = - _registerName1("setAttributedString:"); - late final _sel_beginEditing1 = _registerName1("beginEditing"); - late final _sel_endEditing1 = _registerName1("endEditing"); - late final _sel_appendLocalizedFormat_1 = - _registerName1("appendLocalizedFormat:"); - late final _class_NSDateFormatter1 = _getClass1("NSDateFormatter"); - late final _class_NSFormatter1 = _getClass1("NSFormatter"); - late final _sel_stringForObjectValue_1 = - _registerName1("stringForObjectValue:"); - ffi.Pointer _objc_msgSend_747( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer obj1, - ) { - return __objc_msgSend_747( - obj, - sel, - obj1, - ); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_746 = + __objc_msgSend_746Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_setAttributedString_1 = objc.registerName( + "setAttributedString:", + ); + late final _sel_beginEditing1 = objc.registerName("beginEditing"); + late final _sel_endEditing1 = objc.registerName("endEditing"); + late final _sel_appendLocalizedFormat_1 = objc.registerName( + "appendLocalizedFormat:", + ); + late final _class_NSDateFormatter1 = objc.getClass("NSDateFormatter"); + late final _class_NSFormatter1 = objc.getClass("NSFormatter"); + late final _sel_stringForObjectValue_1 = objc.registerName( + "stringForObjectValue:", + ); + ffi.Pointer _objc_msgSend_747( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer obj1, + ) { + return __objc_msgSend_747(obj, sel, obj1); } late final __objc_msgSend_747Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_747 = __objc_msgSend_747Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_attributedStringForObjectValue_withDefaultAttributes_1 = - _registerName1("attributedStringForObjectValue:withDefaultAttributes:"); - ffi.Pointer _objc_msgSend_748( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer obj1, - ffi.Pointer attrs, - ) { - return __objc_msgSend_748( - obj, - sel, - obj1, - attrs, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_747 = + __objc_msgSend_747Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_attributedStringForObjectValue_withDefaultAttributes_1 = objc + .registerName("attributedStringForObjectValue:withDefaultAttributes:"); + ffi.Pointer _objc_msgSend_748( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer obj1, + ffi.Pointer attrs, + ) { + return __objc_msgSend_748(obj, sel, obj1, attrs); } late final __objc_msgSend_748Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_748 = __objc_msgSend_748Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_editingStringForObjectValue_1 = - _registerName1("editingStringForObjectValue:"); - late final _sel_getObjectValue_forString_errorDescription_1 = - _registerName1("getObjectValue:forString:errorDescription:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_748 = + __objc_msgSend_748Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_editingStringForObjectValue_1 = objc.registerName( + "editingStringForObjectValue:", + ); + late final _sel_getObjectValue_forString_errorDescription_1 = objc + .registerName("getObjectValue:forString:errorDescription:"); bool _objc_msgSend_749( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer> obj1, - ffi.Pointer string, - ffi.Pointer> error, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer> obj1, + ffi.Pointer string, + ffi.Pointer> error, ) { - return __objc_msgSend_749( - obj, - sel, - obj1, - string, - error, - ); + return __objc_msgSend_749(obj, sel, obj1, string, error); } late final __objc_msgSend_749Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_749 = __objc_msgSend_749Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer, - ffi.Pointer>)>(); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_749 = + __objc_msgSend_749Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer, + ffi.Pointer>, + ) + >(); late final _sel_isPartialStringValid_newEditingString_errorDescription_1 = - _registerName1("isPartialStringValid:newEditingString:errorDescription:"); + objc.registerName( + "isPartialStringValid:newEditingString:errorDescription:", + ); bool _objc_msgSend_750( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer partialString, - ffi.Pointer> newString, - ffi.Pointer> error, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer partialString, + ffi.Pointer> newString, + ffi.Pointer> error, ) { - return __objc_msgSend_750( - obj, - sel, - partialString, - newString, - error, - ); + return __objc_msgSend_750(obj, sel, partialString, newString, error); } late final __objc_msgSend_750Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_750 = __objc_msgSend_750Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer>)>(); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_750 = + __objc_msgSend_750Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer>, + ) + >(); late final _sel_isPartialStringValid_proposedSelectedRange_originalString_originalSelectedRange_errorDescription_1 = - _registerName1( - "isPartialStringValid:proposedSelectedRange:originalString:originalSelectedRange:errorDescription:"); + objc.registerName( + "isPartialStringValid:proposedSelectedRange:originalString:originalSelectedRange:errorDescription:", + ); bool _objc_msgSend_751( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer> partialStringPtr, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer> partialStringPtr, ffi.Pointer<_NSRange> proposedSelRangePtr, - ffi.Pointer origString, + ffi.Pointer origString, _NSRange origSelRange, - ffi.Pointer> error, + ffi.Pointer> error, ) { return __objc_msgSend_751( obj, @@ -21367,857 +26737,1096 @@ class SwiftLibrary { } late final __objc_msgSend_751Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer<_NSRange>, + ffi.Pointer, + _NSRange, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_751 = + __objc_msgSend_751Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, ffi.Pointer<_NSRange>, - ffi.Pointer, + ffi.Pointer, _NSRange, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_751 = __objc_msgSend_751Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer<_NSRange>, - ffi.Pointer, - _NSRange, - ffi.Pointer>)>(); + ffi.Pointer>, + ) + >(); - late final _sel_formattingContext1 = _registerName1("formattingContext"); + late final _sel_formattingContext1 = objc.registerName("formattingContext"); int _objc_msgSend_752( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_752( - obj, - sel, - ); + return __objc_msgSend_752(obj, sel); } late final __objc_msgSend_752Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_752 = __objc_msgSend_752Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer)>(); - - late final _sel_setFormattingContext_1 = - _registerName1("setFormattingContext:"); + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_752 = + __objc_msgSend_752Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_setFormattingContext_1 = objc.registerName( + "setFormattingContext:", + ); void _objc_msgSend_753( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int value, ) { - return __objc_msgSend_753( - obj, - sel, - value, - ); + return __objc_msgSend_753(obj, sel, value); } late final __objc_msgSend_753Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_753 = __objc_msgSend_753Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_getObjectValue_forString_range_error_1 = - _registerName1("getObjectValue:forString:range:error:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_753 = + __objc_msgSend_753Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_getObjectValue_forString_range_error_1 = objc.registerName( + "getObjectValue:forString:range:error:", + ); bool _objc_msgSend_754( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer> obj1, - ffi.Pointer string, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer> obj1, + ffi.Pointer string, ffi.Pointer<_NSRange> rangep, - ffi.Pointer> error, + ffi.Pointer> error, ) { - return __objc_msgSend_754( - obj, - sel, - obj1, - string, - rangep, - error, - ); + return __objc_msgSend_754(obj, sel, obj1, string, rangep, error); } late final __objc_msgSend_754Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer, + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer, + ffi.Pointer<_NSRange>, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_754 = + __objc_msgSend_754Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer, ffi.Pointer<_NSRange>, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_754 = __objc_msgSend_754Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer, - ffi.Pointer<_NSRange>, - ffi.Pointer>)>(); - - late final _sel_stringFromDate_1 = _registerName1("stringFromDate:"); - ffi.Pointer _objc_msgSend_755( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer date, - ) { - return __objc_msgSend_755( - obj, - sel, - date, - ); + ffi.Pointer>, + ) + >(); + + late final _sel_stringFromDate_1 = objc.registerName("stringFromDate:"); + ffi.Pointer _objc_msgSend_755( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer date, + ) { + return __objc_msgSend_755(obj, sel, date); } late final __objc_msgSend_755Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_755 = __objc_msgSend_755Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_dateFromString_1 = _registerName1("dateFromString:"); - late final _sel_localizedStringFromDate_dateStyle_timeStyle_1 = - _registerName1("localizedStringFromDate:dateStyle:timeStyle:"); - ffi.Pointer _objc_msgSend_756( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer date, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_755 = + __objc_msgSend_755Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_dateFromString_1 = objc.registerName("dateFromString:"); + late final _sel_localizedStringFromDate_dateStyle_timeStyle_1 = objc + .registerName("localizedStringFromDate:dateStyle:timeStyle:"); + ffi.Pointer _objc_msgSend_756( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer date, int dstyle, int tstyle, ) { - return __objc_msgSend_756( - obj, - sel, - date, - dstyle, - tstyle, - ); + return __objc_msgSend_756(obj, sel, date, dstyle, tstyle); } late final __objc_msgSend_756Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_756 = __objc_msgSend_756Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer, int, int)>(); - - late final _sel_dateFormatFromTemplate_options_locale_1 = - _registerName1("dateFormatFromTemplate:options:locale:"); - ffi.Pointer _objc_msgSend_757( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer tmplate, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_756 = + __objc_msgSend_756Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + int, + ) + >(); + + late final _sel_dateFormatFromTemplate_options_locale_1 = objc.registerName( + "dateFormatFromTemplate:options:locale:", + ); + ffi.Pointer _objc_msgSend_757( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer tmplate, int opts, - ffi.Pointer locale, + ffi.Pointer locale, ) { - return __objc_msgSend_757( - obj, - sel, - tmplate, - opts, - locale, - ); + return __objc_msgSend_757(obj, sel, tmplate, opts, locale); } late final __objc_msgSend_757Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_757 = __objc_msgSend_757Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer)>(); - - late final _sel_defaultFormatterBehavior1 = - _registerName1("defaultFormatterBehavior"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_757 = + __objc_msgSend_757Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ) + >(); + + late final _sel_defaultFormatterBehavior1 = objc.registerName( + "defaultFormatterBehavior", + ); int _objc_msgSend_758( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_758( - obj, - sel, - ); + return __objc_msgSend_758(obj, sel); } late final __objc_msgSend_758Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_758 = __objc_msgSend_758Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer)>(); - - late final _sel_setDefaultFormatterBehavior_1 = - _registerName1("setDefaultFormatterBehavior:"); + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_758 = + __objc_msgSend_758Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_setDefaultFormatterBehavior_1 = objc.registerName( + "setDefaultFormatterBehavior:", + ); void _objc_msgSend_759( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int value, ) { - return __objc_msgSend_759( - obj, - sel, - value, - ); + return __objc_msgSend_759(obj, sel, value); } late final __objc_msgSend_759Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_759 = __objc_msgSend_759Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_setLocalizedDateFormatFromTemplate_1 = - _registerName1("setLocalizedDateFormatFromTemplate:"); - late final _sel_dateFormat1 = _registerName1("dateFormat"); - late final _sel_setDateFormat_1 = _registerName1("setDateFormat:"); - late final _sel_dateStyle1 = _registerName1("dateStyle"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_759 = + __objc_msgSend_759Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_setLocalizedDateFormatFromTemplate_1 = objc.registerName( + "setLocalizedDateFormatFromTemplate:", + ); + late final _sel_dateFormat1 = objc.registerName("dateFormat"); + late final _sel_setDateFormat_1 = objc.registerName("setDateFormat:"); + late final _sel_dateStyle1 = objc.registerName("dateStyle"); int _objc_msgSend_760( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_760( - obj, - sel, - ); + return __objc_msgSend_760(obj, sel); } late final __objc_msgSend_760Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_760 = __objc_msgSend_760Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_760 = + __objc_msgSend_760Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); - late final _sel_setDateStyle_1 = _registerName1("setDateStyle:"); + late final _sel_setDateStyle_1 = objc.registerName("setDateStyle:"); void _objc_msgSend_761( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int value, ) { - return __objc_msgSend_761( - obj, - sel, - value, - ); + return __objc_msgSend_761(obj, sel, value); } late final __objc_msgSend_761Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_761 = __objc_msgSend_761Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_timeStyle1 = _registerName1("timeStyle"); - late final _sel_setTimeStyle_1 = _registerName1("setTimeStyle:"); - late final _sel_locale1 = _registerName1("locale"); - late final _sel_setLocale_1 = _registerName1("setLocale:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_761 = + __objc_msgSend_761Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_timeStyle1 = objc.registerName("timeStyle"); + late final _sel_setTimeStyle_1 = objc.registerName("setTimeStyle:"); + late final _sel_locale1 = objc.registerName("locale"); + late final _sel_setLocale_1 = objc.registerName("setLocale:"); void _objc_msgSend_762( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value, ) { - return __objc_msgSend_762( - obj, - sel, - value, - ); + return __objc_msgSend_762(obj, sel, value); } late final __objc_msgSend_762Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_762 = __objc_msgSend_762Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_generatesCalendarDates1 = - _registerName1("generatesCalendarDates"); - late final _sel_setGeneratesCalendarDates_1 = - _registerName1("setGeneratesCalendarDates:"); - late final _sel_formatterBehavior1 = _registerName1("formatterBehavior"); - late final _sel_setFormatterBehavior_1 = - _registerName1("setFormatterBehavior:"); - late final _class_NSCalendar1 = _getClass1("NSCalendar"); - late final _sel_currentCalendar1 = _registerName1("currentCalendar"); - ffi.Pointer _objc_msgSend_763( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_763( - obj, - sel, - ); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_762 = + __objc_msgSend_762Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_generatesCalendarDates1 = objc.registerName( + "generatesCalendarDates", + ); + late final _sel_setGeneratesCalendarDates_1 = objc.registerName( + "setGeneratesCalendarDates:", + ); + late final _sel_formatterBehavior1 = objc.registerName("formatterBehavior"); + late final _sel_setFormatterBehavior_1 = objc.registerName( + "setFormatterBehavior:", + ); + late final _class_NSCalendar1 = objc.getClass("NSCalendar"); + late final _sel_currentCalendar1 = objc.registerName("currentCalendar"); + ffi.Pointer _objc_msgSend_763( + ffi.Pointer obj, + ffi.Pointer sel, + ) { + return __objc_msgSend_763(obj, sel); } late final __objc_msgSend_763Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_763 = __objc_msgSend_763Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_autoupdatingCurrentCalendar1 = - _registerName1("autoupdatingCurrentCalendar"); - late final _sel_calendarWithIdentifier_1 = - _registerName1("calendarWithIdentifier:"); - ffi.Pointer _objc_msgSend_764( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer calendarIdentifierConstant, - ) { - return __objc_msgSend_764( - obj, - sel, - calendarIdentifierConstant, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_763 = + __objc_msgSend_763Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_autoupdatingCurrentCalendar1 = objc.registerName( + "autoupdatingCurrentCalendar", + ); + late final _sel_calendarWithIdentifier_1 = objc.registerName( + "calendarWithIdentifier:", + ); + ffi.Pointer _objc_msgSend_764( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer calendarIdentifierConstant, + ) { + return __objc_msgSend_764(obj, sel, calendarIdentifierConstant); } late final __objc_msgSend_764Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_764 = __objc_msgSend_764Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_initWithCalendarIdentifier_1 = - _registerName1("initWithCalendarIdentifier:"); - ffi.Pointer _objc_msgSend_765( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_765( - obj, - sel, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_764 = + __objc_msgSend_764Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_initWithCalendarIdentifier_1 = objc.registerName( + "initWithCalendarIdentifier:", + ); + ffi.Pointer _objc_msgSend_765( + ffi.Pointer obj, + ffi.Pointer sel, + ) { + return __objc_msgSend_765(obj, sel); } late final __objc_msgSend_765Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_765 = __objc_msgSend_765Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_765 = + __objc_msgSend_765Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); void _objc_msgSend_766( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value, ) { - return __objc_msgSend_766( - obj, - sel, - value, - ); + return __objc_msgSend_766(obj, sel, value); } late final __objc_msgSend_766Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_766 = __objc_msgSend_766Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_firstWeekday1 = _registerName1("firstWeekday"); - late final _sel_setFirstWeekday_1 = _registerName1("setFirstWeekday:"); - late final _sel_minimumDaysInFirstWeek1 = - _registerName1("minimumDaysInFirstWeek"); - late final _sel_setMinimumDaysInFirstWeek_1 = - _registerName1("setMinimumDaysInFirstWeek:"); - late final _sel_eraSymbols1 = _registerName1("eraSymbols"); - late final _sel_longEraSymbols1 = _registerName1("longEraSymbols"); - late final _sel_monthSymbols1 = _registerName1("monthSymbols"); - late final _sel_shortMonthSymbols1 = _registerName1("shortMonthSymbols"); - late final _sel_veryShortMonthSymbols1 = - _registerName1("veryShortMonthSymbols"); - late final _sel_standaloneMonthSymbols1 = - _registerName1("standaloneMonthSymbols"); - late final _sel_shortStandaloneMonthSymbols1 = - _registerName1("shortStandaloneMonthSymbols"); - late final _sel_veryShortStandaloneMonthSymbols1 = - _registerName1("veryShortStandaloneMonthSymbols"); - late final _sel_weekdaySymbols1 = _registerName1("weekdaySymbols"); - late final _sel_shortWeekdaySymbols1 = _registerName1("shortWeekdaySymbols"); - late final _sel_veryShortWeekdaySymbols1 = - _registerName1("veryShortWeekdaySymbols"); - late final _sel_standaloneWeekdaySymbols1 = - _registerName1("standaloneWeekdaySymbols"); - late final _sel_shortStandaloneWeekdaySymbols1 = - _registerName1("shortStandaloneWeekdaySymbols"); - late final _sel_veryShortStandaloneWeekdaySymbols1 = - _registerName1("veryShortStandaloneWeekdaySymbols"); - late final _sel_quarterSymbols1 = _registerName1("quarterSymbols"); - late final _sel_shortQuarterSymbols1 = _registerName1("shortQuarterSymbols"); - late final _sel_standaloneQuarterSymbols1 = - _registerName1("standaloneQuarterSymbols"); - late final _sel_shortStandaloneQuarterSymbols1 = - _registerName1("shortStandaloneQuarterSymbols"); - late final _sel_AMSymbol1 = _registerName1("AMSymbol"); - late final _sel_PMSymbol1 = _registerName1("PMSymbol"); - late final _sel_minimumRangeOfUnit_1 = _registerName1("minimumRangeOfUnit:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_766 = + __objc_msgSend_766Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_firstWeekday1 = objc.registerName("firstWeekday"); + late final _sel_setFirstWeekday_1 = objc.registerName("setFirstWeekday:"); + late final _sel_minimumDaysInFirstWeek1 = objc.registerName( + "minimumDaysInFirstWeek", + ); + late final _sel_setMinimumDaysInFirstWeek_1 = objc.registerName( + "setMinimumDaysInFirstWeek:", + ); + late final _sel_eraSymbols1 = objc.registerName("eraSymbols"); + late final _sel_longEraSymbols1 = objc.registerName("longEraSymbols"); + late final _sel_monthSymbols1 = objc.registerName("monthSymbols"); + late final _sel_shortMonthSymbols1 = objc.registerName("shortMonthSymbols"); + late final _sel_veryShortMonthSymbols1 = objc.registerName( + "veryShortMonthSymbols", + ); + late final _sel_standaloneMonthSymbols1 = objc.registerName( + "standaloneMonthSymbols", + ); + late final _sel_shortStandaloneMonthSymbols1 = objc.registerName( + "shortStandaloneMonthSymbols", + ); + late final _sel_veryShortStandaloneMonthSymbols1 = objc.registerName( + "veryShortStandaloneMonthSymbols", + ); + late final _sel_weekdaySymbols1 = objc.registerName("weekdaySymbols"); + late final _sel_shortWeekdaySymbols1 = objc.registerName( + "shortWeekdaySymbols", + ); + late final _sel_veryShortWeekdaySymbols1 = objc.registerName( + "veryShortWeekdaySymbols", + ); + late final _sel_standaloneWeekdaySymbols1 = objc.registerName( + "standaloneWeekdaySymbols", + ); + late final _sel_shortStandaloneWeekdaySymbols1 = objc.registerName( + "shortStandaloneWeekdaySymbols", + ); + late final _sel_veryShortStandaloneWeekdaySymbols1 = objc.registerName( + "veryShortStandaloneWeekdaySymbols", + ); + late final _sel_quarterSymbols1 = objc.registerName("quarterSymbols"); + late final _sel_shortQuarterSymbols1 = objc.registerName( + "shortQuarterSymbols", + ); + late final _sel_standaloneQuarterSymbols1 = objc.registerName( + "standaloneQuarterSymbols", + ); + late final _sel_shortStandaloneQuarterSymbols1 = objc.registerName( + "shortStandaloneQuarterSymbols", + ); + late final _sel_AMSymbol1 = objc.registerName("AMSymbol"); + late final _sel_PMSymbol1 = objc.registerName("PMSymbol"); + late final _sel_minimumRangeOfUnit_1 = objc.registerName( + "minimumRangeOfUnit:", + ); _NSRange _objc_msgSend_767( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int unit, ) { - return __objc_msgSend_767( - obj, - sel, - unit, - ); + return __objc_msgSend_767(obj, sel, unit); } late final __objc_msgSend_767Ptr = _lookup< - ffi.NativeFunction< - _NSRange Function(ffi.Pointer, ffi.Pointer, - ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_767 = __objc_msgSend_767Ptr.asFunction< - _NSRange Function(ffi.Pointer, ffi.Pointer, int)>(); + ffi.NativeFunction< + _NSRange Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_767 = + __objc_msgSend_767Ptr + .asFunction< + _NSRange Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); void _objc_msgSend_767_stret( ffi.Pointer<_NSRange> stret, - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int unit, ) { - return __objc_msgSend_767_stret( - stret, - obj, - sel, - unit, - ); + return __objc_msgSend_767_stret(stret, obj, sel, unit); } late final __objc_msgSend_767_stretPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer<_NSRange>, ffi.Pointer, - ffi.Pointer, ffi.Int32)>>('objc_msgSend_stret'); - late final __objc_msgSend_767_stret = __objc_msgSend_767_stretPtr.asFunction< - void Function(ffi.Pointer<_NSRange>, ffi.Pointer, - ffi.Pointer, int)>(); - - late final _sel_maximumRangeOfUnit_1 = _registerName1("maximumRangeOfUnit:"); - late final _sel_rangeOfUnit_inUnit_forDate_1 = - _registerName1("rangeOfUnit:inUnit:forDate:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer<_NSRange>, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend_stret'); + late final __objc_msgSend_767_stret = + __objc_msgSend_767_stretPtr + .asFunction< + void Function( + ffi.Pointer<_NSRange>, + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_maximumRangeOfUnit_1 = objc.registerName( + "maximumRangeOfUnit:", + ); + late final _sel_rangeOfUnit_inUnit_forDate_1 = objc.registerName( + "rangeOfUnit:inUnit:forDate:", + ); _NSRange _objc_msgSend_768( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int smaller, int larger, - ffi.Pointer date, + ffi.Pointer date, ) { - return __objc_msgSend_768( - obj, - sel, - smaller, - larger, - date, - ); + return __objc_msgSend_768(obj, sel, smaller, larger, date); } late final __objc_msgSend_768Ptr = _lookup< - ffi.NativeFunction< - _NSRange Function(ffi.Pointer, ffi.Pointer, - ffi.Int32, ffi.Int32, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_768 = __objc_msgSend_768Ptr.asFunction< - _NSRange Function(ffi.Pointer, ffi.Pointer, int, int, - ffi.Pointer)>(); + ffi.NativeFunction< + _NSRange Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Int32, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_768 = + __objc_msgSend_768Ptr + .asFunction< + _NSRange Function( + ffi.Pointer, + ffi.Pointer, + int, + int, + ffi.Pointer, + ) + >(); void _objc_msgSend_768_stret( ffi.Pointer<_NSRange> stret, - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int smaller, int larger, - ffi.Pointer date, + ffi.Pointer date, ) { - return __objc_msgSend_768_stret( - stret, - obj, - sel, - smaller, - larger, - date, - ); + return __objc_msgSend_768_stret(stret, obj, sel, smaller, larger, date); } late final __objc_msgSend_768_stretPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer<_NSRange>, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Int32, + ffi.Pointer, + ) + > + >('objc_msgSend_stret'); + late final __objc_msgSend_768_stret = + __objc_msgSend_768_stretPtr + .asFunction< + void Function( ffi.Pointer<_NSRange>, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Int32, - ffi.Pointer)>>('objc_msgSend_stret'); - late final __objc_msgSend_768_stret = __objc_msgSend_768_stretPtr.asFunction< - void Function(ffi.Pointer<_NSRange>, ffi.Pointer, - ffi.Pointer, int, int, ffi.Pointer)>(); - - late final _sel_ordinalityOfUnit_inUnit_forDate_1 = - _registerName1("ordinalityOfUnit:inUnit:forDate:"); + ffi.Pointer, + ffi.Pointer, + int, + int, + ffi.Pointer, + ) + >(); + + late final _sel_ordinalityOfUnit_inUnit_forDate_1 = objc.registerName( + "ordinalityOfUnit:inUnit:forDate:", + ); int _objc_msgSend_769( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int smaller, int larger, - ffi.Pointer date, + ffi.Pointer date, ) { - return __objc_msgSend_769( - obj, - sel, - smaller, - larger, - date, - ); + return __objc_msgSend_769(obj, sel, smaller, larger, date); } late final __objc_msgSend_769Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Int32, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_769 = __objc_msgSend_769Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer, int, int, - ffi.Pointer)>(); - - late final _sel_rangeOfUnit_startDate_interval_forDate_1 = - _registerName1("rangeOfUnit:startDate:interval:forDate:"); + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Int32, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_769 = + __objc_msgSend_769Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + int, + int, + ffi.Pointer, + ) + >(); + + late final _sel_rangeOfUnit_startDate_interval_forDate_1 = objc.registerName( + "rangeOfUnit:startDate:interval:forDate:", + ); bool _objc_msgSend_770( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int unit, - ffi.Pointer> datep, + ffi.Pointer> datep, ffi.Pointer tip, - ffi.Pointer date, + ffi.Pointer date, ) { - return __objc_msgSend_770( - obj, - sel, - unit, - datep, - tip, - date, - ); + return __objc_msgSend_770(obj, sel, unit, datep, tip, date); } late final __objc_msgSend_770Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer>, + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer>, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_770 = + __objc_msgSend_770Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer>, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_770 = __objc_msgSend_770Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>, - ffi.Pointer, - ffi.Pointer)>(); + ffi.Pointer, + ) + >(); - late final _class_NSDateComponents1 = _getClass1("NSDateComponents"); - late final _sel_calendar1 = _registerName1("calendar"); - ffi.Pointer _objc_msgSend_771( - ffi.Pointer obj, - ffi.Pointer sel, + late final _class_NSDateComponents1 = objc.getClass("NSDateComponents"); + late final _sel_calendar1 = objc.registerName("calendar"); + ffi.Pointer _objc_msgSend_771( + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_771( - obj, - sel, - ); + return __objc_msgSend_771(obj, sel); } late final __objc_msgSend_771Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_771 = __objc_msgSend_771Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_771 = + __objc_msgSend_771Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); - late final _sel_setCalendar_1 = _registerName1("setCalendar:"); + late final _sel_setCalendar_1 = objc.registerName("setCalendar:"); void _objc_msgSend_772( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value, ) { - return __objc_msgSend_772( - obj, - sel, - value, - ); + return __objc_msgSend_772(obj, sel, value); } late final __objc_msgSend_772Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_772 = __objc_msgSend_772Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_772 = + __objc_msgSend_772Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); - ffi.Pointer _objc_msgSend_773( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer _objc_msgSend_773( + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_773( - obj, - sel, - ); + return __objc_msgSend_773(obj, sel); } late final __objc_msgSend_773Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_773 = __objc_msgSend_773Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_773 = + __objc_msgSend_773Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); void _objc_msgSend_774( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value, ) { - return __objc_msgSend_774( - obj, - sel, - value, - ); + return __objc_msgSend_774(obj, sel, value); } late final __objc_msgSend_774Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_774 = __objc_msgSend_774Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_era1 = _registerName1("era"); - late final _sel_setEra_1 = _registerName1("setEra:"); - late final _sel_year1 = _registerName1("year"); - late final _sel_setYear_1 = _registerName1("setYear:"); - late final _sel_month1 = _registerName1("month"); - late final _sel_setMonth_1 = _registerName1("setMonth:"); - late final _sel_day1 = _registerName1("day"); - late final _sel_setDay_1 = _registerName1("setDay:"); - late final _sel_hour1 = _registerName1("hour"); - late final _sel_setHour_1 = _registerName1("setHour:"); - late final _sel_minute1 = _registerName1("minute"); - late final _sel_setMinute_1 = _registerName1("setMinute:"); - late final _sel_second1 = _registerName1("second"); - late final _sel_setSecond_1 = _registerName1("setSecond:"); - late final _sel_nanosecond1 = _registerName1("nanosecond"); - late final _sel_setNanosecond_1 = _registerName1("setNanosecond:"); - late final _sel_weekday1 = _registerName1("weekday"); - late final _sel_setWeekday_1 = _registerName1("setWeekday:"); - late final _sel_weekdayOrdinal1 = _registerName1("weekdayOrdinal"); - late final _sel_setWeekdayOrdinal_1 = _registerName1("setWeekdayOrdinal:"); - late final _sel_quarter1 = _registerName1("quarter"); - late final _sel_setQuarter_1 = _registerName1("setQuarter:"); - late final _sel_weekOfMonth1 = _registerName1("weekOfMonth"); - late final _sel_setWeekOfMonth_1 = _registerName1("setWeekOfMonth:"); - late final _sel_weekOfYear1 = _registerName1("weekOfYear"); - late final _sel_setWeekOfYear_1 = _registerName1("setWeekOfYear:"); - late final _sel_yearForWeekOfYear1 = _registerName1("yearForWeekOfYear"); - late final _sel_setYearForWeekOfYear_1 = - _registerName1("setYearForWeekOfYear:"); - late final _sel_isLeapMonth1 = _registerName1("isLeapMonth"); - late final _sel_setLeapMonth_1 = _registerName1("setLeapMonth:"); - late final _sel_week1 = _registerName1("week"); - late final _sel_setWeek_1 = _registerName1("setWeek:"); - late final _sel_setValue_forComponent_1 = - _registerName1("setValue:forComponent:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_774 = + __objc_msgSend_774Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_era1 = objc.registerName("era"); + late final _sel_setEra_1 = objc.registerName("setEra:"); + late final _sel_year1 = objc.registerName("year"); + late final _sel_setYear_1 = objc.registerName("setYear:"); + late final _sel_month1 = objc.registerName("month"); + late final _sel_setMonth_1 = objc.registerName("setMonth:"); + late final _sel_day1 = objc.registerName("day"); + late final _sel_setDay_1 = objc.registerName("setDay:"); + late final _sel_hour1 = objc.registerName("hour"); + late final _sel_setHour_1 = objc.registerName("setHour:"); + late final _sel_minute1 = objc.registerName("minute"); + late final _sel_setMinute_1 = objc.registerName("setMinute:"); + late final _sel_second1 = objc.registerName("second"); + late final _sel_setSecond_1 = objc.registerName("setSecond:"); + late final _sel_nanosecond1 = objc.registerName("nanosecond"); + late final _sel_setNanosecond_1 = objc.registerName("setNanosecond:"); + late final _sel_weekday1 = objc.registerName("weekday"); + late final _sel_setWeekday_1 = objc.registerName("setWeekday:"); + late final _sel_weekdayOrdinal1 = objc.registerName("weekdayOrdinal"); + late final _sel_setWeekdayOrdinal_1 = objc.registerName("setWeekdayOrdinal:"); + late final _sel_quarter1 = objc.registerName("quarter"); + late final _sel_setQuarter_1 = objc.registerName("setQuarter:"); + late final _sel_weekOfMonth1 = objc.registerName("weekOfMonth"); + late final _sel_setWeekOfMonth_1 = objc.registerName("setWeekOfMonth:"); + late final _sel_weekOfYear1 = objc.registerName("weekOfYear"); + late final _sel_setWeekOfYear_1 = objc.registerName("setWeekOfYear:"); + late final _sel_yearForWeekOfYear1 = objc.registerName("yearForWeekOfYear"); + late final _sel_setYearForWeekOfYear_1 = objc.registerName( + "setYearForWeekOfYear:", + ); + late final _sel_isLeapMonth1 = objc.registerName("isLeapMonth"); + late final _sel_setLeapMonth_1 = objc.registerName("setLeapMonth:"); + late final _sel_week1 = objc.registerName("week"); + late final _sel_setWeek_1 = objc.registerName("setWeek:"); + late final _sel_setValue_forComponent_1 = objc.registerName( + "setValue:forComponent:", + ); void _objc_msgSend_775( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int value, int unit, ) { - return __objc_msgSend_775( - obj, - sel, - value, - unit, - ); + return __objc_msgSend_775(obj, sel, value, unit); } late final __objc_msgSend_775Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Long, ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_775 = __objc_msgSend_775Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int, int)>(); - - late final _sel_valueForComponent_1 = _registerName1("valueForComponent:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Long, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_775 = + __objc_msgSend_775Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + int, + ) + >(); + + late final _sel_valueForComponent_1 = objc.registerName("valueForComponent:"); int _objc_msgSend_776( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int unit, ) { - return __objc_msgSend_776( - obj, - sel, - unit, - ); + return __objc_msgSend_776(obj, sel, unit); } late final __objc_msgSend_776Ptr = _lookup< - ffi.NativeFunction< - ffi.Long Function(ffi.Pointer, ffi.Pointer, - ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_776 = __objc_msgSend_776Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_isValidDate1 = _registerName1("isValidDate"); - late final _sel_isValidDateInCalendar_1 = - _registerName1("isValidDateInCalendar:"); + ffi.NativeFunction< + ffi.Long Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_776 = + __objc_msgSend_776Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_isValidDate1 = objc.registerName("isValidDate"); + late final _sel_isValidDateInCalendar_1 = objc.registerName( + "isValidDateInCalendar:", + ); bool _objc_msgSend_777( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer calendar, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer calendar, ) { - return __objc_msgSend_777( - obj, - sel, - calendar, - ); + return __objc_msgSend_777(obj, sel, calendar); } late final __objc_msgSend_777Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_777 = __objc_msgSend_777Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_dateFromComponents_1 = _registerName1("dateFromComponents:"); - ffi.Pointer _objc_msgSend_778( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer comps, - ) { - return __objc_msgSend_778( - obj, - sel, - comps, - ); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_777 = + __objc_msgSend_777Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_dateFromComponents_1 = objc.registerName( + "dateFromComponents:", + ); + ffi.Pointer _objc_msgSend_778( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer comps, + ) { + return __objc_msgSend_778(obj, sel, comps); } late final __objc_msgSend_778Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_778 = __objc_msgSend_778Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_components_fromDate_1 = - _registerName1("components:fromDate:"); - ffi.Pointer _objc_msgSend_779( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_778 = + __objc_msgSend_778Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_components_fromDate_1 = objc.registerName( + "components:fromDate:", + ); + ffi.Pointer _objc_msgSend_779( + ffi.Pointer obj, + ffi.Pointer sel, int unitFlags, - ffi.Pointer date, + ffi.Pointer date, ) { - return __objc_msgSend_779( - obj, - sel, - unitFlags, - date, - ); + return __objc_msgSend_779(obj, sel, unitFlags, date); } late final __objc_msgSend_779Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_779 = __objc_msgSend_779Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, int, ffi.Pointer)>(); - - late final _sel_dateByAddingComponents_toDate_options_1 = - _registerName1("dateByAddingComponents:toDate:options:"); - ffi.Pointer _objc_msgSend_780( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer comps, - ffi.Pointer date, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_779 = + __objc_msgSend_779Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ) + >(); + + late final _sel_dateByAddingComponents_toDate_options_1 = objc.registerName( + "dateByAddingComponents:toDate:options:", + ); + ffi.Pointer _objc_msgSend_780( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer comps, + ffi.Pointer date, int opts, ) { - return __objc_msgSend_780( - obj, - sel, - comps, - date, - opts, - ); + return __objc_msgSend_780(obj, sel, comps, date, opts); } late final __objc_msgSend_780Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_780 = __objc_msgSend_780Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int)>(); - - late final _sel_components_fromDate_toDate_options_1 = - _registerName1("components:fromDate:toDate:options:"); - ffi.Pointer _objc_msgSend_781( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_780 = + __objc_msgSend_780Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_components_fromDate_toDate_options_1 = objc.registerName( + "components:fromDate:toDate:options:", + ); + ffi.Pointer _objc_msgSend_781( + ffi.Pointer obj, + ffi.Pointer sel, int unitFlags, - ffi.Pointer startingDate, - ffi.Pointer resultDate, + ffi.Pointer startingDate, + ffi.Pointer resultDate, int opts, ) { return __objc_msgSend_781( @@ -22231,33 +27840,41 @@ class SwiftLibrary { } late final __objc_msgSend_781Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer, - ffi.Pointer, - ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_781 = __objc_msgSend_781Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ffi.Pointer, - int)>(); - - late final _sel_getEra_year_month_day_fromDate_1 = - _registerName1("getEra:year:month:day:fromDate:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_781 = + __objc_msgSend_781Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_getEra_year_month_day_fromDate_1 = objc.registerName( + "getEra:year:month:day:fromDate:", + ); void _objc_msgSend_782( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ffi.Pointer eraValuePointer, ffi.Pointer yearValuePointer, ffi.Pointer monthValuePointer, ffi.Pointer dayValuePointer, - ffi.Pointer date, + ffi.Pointer date, ) { return __objc_msgSend_782( obj, @@ -22271,58 +27888,76 @@ class SwiftLibrary { } late final __objc_msgSend_782Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_782 = + __objc_msgSend_782Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_782 = __objc_msgSend_782Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_getEra_yearForWeekOfYear_weekOfYear_weekday_fromDate_1 = - _registerName1("getEra:yearForWeekOfYear:weekOfYear:weekday:fromDate:"); - late final _sel_getHour_minute_second_nanosecond_fromDate_1 = - _registerName1("getHour:minute:second:nanosecond:fromDate:"); - late final _sel_component_fromDate_1 = _registerName1("component:fromDate:"); + ffi.Pointer, + ) + >(); + + late final _sel_getEra_yearForWeekOfYear_weekOfYear_weekday_fromDate_1 = objc + .registerName("getEra:yearForWeekOfYear:weekOfYear:weekday:fromDate:"); + late final _sel_getHour_minute_second_nanosecond_fromDate_1 = objc + .registerName("getHour:minute:second:nanosecond:fromDate:"); + late final _sel_component_fromDate_1 = objc.registerName( + "component:fromDate:", + ); int _objc_msgSend_783( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int unit, - ffi.Pointer date, + ffi.Pointer date, ) { - return __objc_msgSend_783( - obj, - sel, - unit, - date, - ); + return __objc_msgSend_783(obj, sel, unit, date); } late final __objc_msgSend_783Ptr = _lookup< - ffi.NativeFunction< - ffi.Long Function(ffi.Pointer, ffi.Pointer, - ffi.Int32, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_783 = __objc_msgSend_783Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer, int, - ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Long Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_783 = + __objc_msgSend_783Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ) + >(); late final _sel_dateWithEra_year_month_day_hour_minute_second_nanosecond_1 = - _registerName1( - "dateWithEra:year:month:day:hour:minute:second:nanosecond:"); - ffi.Pointer _objc_msgSend_784( - ffi.Pointer obj, - ffi.Pointer sel, + objc.registerName( + "dateWithEra:year:month:day:hour:minute:second:nanosecond:", + ); + ffi.Pointer _objc_msgSend_784( + ffi.Pointer obj, + ffi.Pointer sel, int eraValue, int yearValue, int monthValue, @@ -22347,227 +27982,268 @@ class SwiftLibrary { } late final __objc_msgSend_784Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Long, - ffi.Long, - ffi.Long, - ffi.Long, - ffi.Long, - ffi.Long, - ffi.Long, - ffi.Long)>>('objc_msgSend'); - late final __objc_msgSend_784 = __objc_msgSend_784Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, int, int, int, int, int, int, int, int)>(); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Long, + ffi.Long, + ffi.Long, + ffi.Long, + ffi.Long, + ffi.Long, + ffi.Long, + ffi.Long, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_784 = + __objc_msgSend_784Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + int, + int, + int, + int, + int, + int, + int, + ) + >(); late final _sel_dateWithEra_yearForWeekOfYear_weekOfYear_weekday_hour_minute_second_nanosecond_1 = - _registerName1( - "dateWithEra:yearForWeekOfYear:weekOfYear:weekday:hour:minute:second:nanosecond:"); - late final _sel_startOfDayForDate_1 = _registerName1("startOfDayForDate:"); - late final _sel_componentsInTimeZone_fromDate_1 = - _registerName1("componentsInTimeZone:fromDate:"); - ffi.Pointer _objc_msgSend_785( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer timezone, - ffi.Pointer date, - ) { - return __objc_msgSend_785( - obj, - sel, - timezone, - date, - ); + objc.registerName( + "dateWithEra:yearForWeekOfYear:weekOfYear:weekday:hour:minute:second:nanosecond:", + ); + late final _sel_startOfDayForDate_1 = objc.registerName("startOfDayForDate:"); + late final _sel_componentsInTimeZone_fromDate_1 = objc.registerName( + "componentsInTimeZone:fromDate:", + ); + ffi.Pointer _objc_msgSend_785( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer timezone, + ffi.Pointer date, + ) { + return __objc_msgSend_785(obj, sel, timezone, date); } late final __objc_msgSend_785Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_785 = __objc_msgSend_785Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_compareDate_toDate_toUnitGranularity_1 = - _registerName1("compareDate:toDate:toUnitGranularity:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_785 = + __objc_msgSend_785Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_compareDate_toDate_toUnitGranularity_1 = objc.registerName( + "compareDate:toDate:toUnitGranularity:", + ); int _objc_msgSend_786( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer date1, - ffi.Pointer date2, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer date1, + ffi.Pointer date2, int unit, ) { - return __objc_msgSend_786( - obj, - sel, - date1, - date2, - unit, - ); + return __objc_msgSend_786(obj, sel, date1, date2, unit); } late final __objc_msgSend_786Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_786 = __objc_msgSend_786Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_isDate_equalToDate_toUnitGranularity_1 = - _registerName1("isDate:equalToDate:toUnitGranularity:"); + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_786 = + __objc_msgSend_786Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_isDate_equalToDate_toUnitGranularity_1 = objc.registerName( + "isDate:equalToDate:toUnitGranularity:", + ); bool _objc_msgSend_787( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer date1, - ffi.Pointer date2, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer date1, + ffi.Pointer date2, int unit, ) { - return __objc_msgSend_787( - obj, - sel, - date1, - date2, - unit, - ); + return __objc_msgSend_787(obj, sel, date1, date2, unit); } late final __objc_msgSend_787Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_787 = __objc_msgSend_787Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_isDate_inSameDayAsDate_1 = - _registerName1("isDate:inSameDayAsDate:"); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_787 = + __objc_msgSend_787Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_isDate_inSameDayAsDate_1 = objc.registerName( + "isDate:inSameDayAsDate:", + ); bool _objc_msgSend_788( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer date1, - ffi.Pointer date2, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer date1, + ffi.Pointer date2, ) { - return __objc_msgSend_788( - obj, - sel, - date1, - date2, - ); + return __objc_msgSend_788(obj, sel, date1, date2); } late final __objc_msgSend_788Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_788 = __objc_msgSend_788Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_isDateInToday_1 = _registerName1("isDateInToday:"); - late final _sel_isDateInYesterday_1 = _registerName1("isDateInYesterday:"); - late final _sel_isDateInTomorrow_1 = _registerName1("isDateInTomorrow:"); - late final _sel_isDateInWeekend_1 = _registerName1("isDateInWeekend:"); - late final _sel_rangeOfWeekendStartDate_interval_containingDate_1 = - _registerName1("rangeOfWeekendStartDate:interval:containingDate:"); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_788 = + __objc_msgSend_788Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_isDateInToday_1 = objc.registerName("isDateInToday:"); + late final _sel_isDateInYesterday_1 = objc.registerName("isDateInYesterday:"); + late final _sel_isDateInTomorrow_1 = objc.registerName("isDateInTomorrow:"); + late final _sel_isDateInWeekend_1 = objc.registerName("isDateInWeekend:"); + late final _sel_rangeOfWeekendStartDate_interval_containingDate_1 = objc + .registerName("rangeOfWeekendStartDate:interval:containingDate:"); bool _objc_msgSend_789( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer> datep, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer> datep, ffi.Pointer tip, - ffi.Pointer date, + ffi.Pointer date, ) { - return __objc_msgSend_789( - obj, - sel, - datep, - tip, - date, - ); + return __objc_msgSend_789(obj, sel, datep, tip, date); } late final __objc_msgSend_789Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_789 = + __objc_msgSend_789Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_789 = __objc_msgSend_789Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_nextWeekendStartDate_interval_options_afterDate_1 = - _registerName1("nextWeekendStartDate:interval:options:afterDate:"); + ffi.Pointer, + ) + >(); + + late final _sel_nextWeekendStartDate_interval_options_afterDate_1 = objc + .registerName("nextWeekendStartDate:interval:options:afterDate:"); bool _objc_msgSend_790( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer> datep, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer> datep, ffi.Pointer tip, int options, - ffi.Pointer date, + ffi.Pointer date, ) { - return __objc_msgSend_790( - obj, - sel, - datep, - tip, - options, - date, - ); + return __objc_msgSend_790(obj, sel, datep, tip, options, date); } late final __objc_msgSend_790Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_790 = + __objc_msgSend_790Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, ffi.Pointer, - ffi.Int32, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_790 = __objc_msgSend_790Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer, - int, - ffi.Pointer)>(); + int, + ffi.Pointer, + ) + >(); late final _sel_components_fromDateComponents_toDateComponents_options_1 = - _registerName1("components:fromDateComponents:toDateComponents:options:"); - ffi.Pointer _objc_msgSend_791( - ffi.Pointer obj, - ffi.Pointer sel, + objc.registerName( + "components:fromDateComponents:toDateComponents:options:", + ); + ffi.Pointer _objc_msgSend_791( + ffi.Pointer obj, + ffi.Pointer sel, int unitFlags, - ffi.Pointer startingDateComp, - ffi.Pointer resultDateComp, + ffi.Pointer startingDateComp, + ffi.Pointer resultDateComp, int options, ) { return __objc_msgSend_791( @@ -22581,168 +28257,188 @@ class SwiftLibrary { } late final __objc_msgSend_791Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer, - ffi.Pointer, - ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_791 = __objc_msgSend_791Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ffi.Pointer, - int)>(); - - late final _sel_dateByAddingUnit_value_toDate_options_1 = - _registerName1("dateByAddingUnit:value:toDate:options:"); - ffi.Pointer _objc_msgSend_792( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_791 = + __objc_msgSend_791Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_dateByAddingUnit_value_toDate_options_1 = objc.registerName( + "dateByAddingUnit:value:toDate:options:", + ); + ffi.Pointer _objc_msgSend_792( + ffi.Pointer obj, + ffi.Pointer sel, int unit, int value, - ffi.Pointer date, + ffi.Pointer date, int options, ) { - return __objc_msgSend_792( - obj, - sel, - unit, - value, - date, - options, - ); + return __objc_msgSend_792(obj, sel, unit, value, date, options); } late final __objc_msgSend_792Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Long, - ffi.Pointer, - ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_792 = __objc_msgSend_792Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, int, int, ffi.Pointer, int)>(); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Long, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_792 = + __objc_msgSend_792Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + int, + ffi.Pointer, + int, + ) + >(); late final _sel_enumerateDatesStartingAfterDate_matchingComponents_options_usingBlock_1 = - _registerName1( - "enumerateDatesStartingAfterDate:matchingComponents:options:usingBlock:"); + objc.registerName( + "enumerateDatesStartingAfterDate:matchingComponents:options:usingBlock:", + ); void _objc_msgSend_793( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer start, - ffi.Pointer comps, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer start, + ffi.Pointer comps, int opts, - ffi.Pointer<_ObjCBlock> block, + ffi.Pointer block, ) { - return __objc_msgSend_793( - obj, - sel, - start, - comps, - opts, - block, - ); + return __objc_msgSend_793(obj, sel, start, comps, opts, block); } late final __objc_msgSend_793Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_793 = __objc_msgSend_793Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_nextDateAfterDate_matchingComponents_options_1 = - _registerName1("nextDateAfterDate:matchingComponents:options:"); - ffi.Pointer _objc_msgSend_794( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer date, - ffi.Pointer comps, + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_793 = + __objc_msgSend_793Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ) + >(); + + late final _sel_nextDateAfterDate_matchingComponents_options_1 = objc + .registerName("nextDateAfterDate:matchingComponents:options:"); + ffi.Pointer _objc_msgSend_794( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer date, + ffi.Pointer comps, int options, ) { - return __objc_msgSend_794( - obj, - sel, - date, - comps, - options, - ); + return __objc_msgSend_794(obj, sel, date, comps, options); } late final __objc_msgSend_794Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_794 = __objc_msgSend_794Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int)>(); - - late final _sel_nextDateAfterDate_matchingUnit_value_options_1 = - _registerName1("nextDateAfterDate:matchingUnit:value:options:"); - ffi.Pointer _objc_msgSend_795( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer date, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_794 = + __objc_msgSend_794Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_nextDateAfterDate_matchingUnit_value_options_1 = objc + .registerName("nextDateAfterDate:matchingUnit:value:options:"); + ffi.Pointer _objc_msgSend_795( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer date, int unit, int value, int options, ) { - return __objc_msgSend_795( - obj, - sel, - date, - unit, - value, - options, - ); + return __objc_msgSend_795(obj, sel, date, unit, value, options); } late final __objc_msgSend_795Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Long, - ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_795 = __objc_msgSend_795Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer, int, int, int)>(); - - late final _sel_nextDateAfterDate_matchingHour_minute_second_options_1 = - _registerName1("nextDateAfterDate:matchingHour:minute:second:options:"); - ffi.Pointer _objc_msgSend_796( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer date, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Long, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_795 = + __objc_msgSend_795Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + int, + int, + ) + >(); + + late final _sel_nextDateAfterDate_matchingHour_minute_second_options_1 = objc + .registerName("nextDateAfterDate:matchingHour:minute:second:options:"); + ffi.Pointer _objc_msgSend_796( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer date, int hourValue, int minuteValue, int secondValue, @@ -22760,692 +28456,940 @@ class SwiftLibrary { } late final __objc_msgSend_796Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Long, - ffi.Long, - ffi.Long, - ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_796 = __objc_msgSend_796Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer, int, int, int, int)>(); - - late final _sel_dateBySettingUnit_value_ofDate_options_1 = - _registerName1("dateBySettingUnit:value:ofDate:options:"); - late final _sel_dateBySettingHour_minute_second_ofDate_options_1 = - _registerName1("dateBySettingHour:minute:second:ofDate:options:"); - ffi.Pointer _objc_msgSend_797( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Long, + ffi.Long, + ffi.Long, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_796 = + __objc_msgSend_796Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + int, + int, + int, + ) + >(); + + late final _sel_dateBySettingUnit_value_ofDate_options_1 = objc.registerName( + "dateBySettingUnit:value:ofDate:options:", + ); + late final _sel_dateBySettingHour_minute_second_ofDate_options_1 = objc + .registerName("dateBySettingHour:minute:second:ofDate:options:"); + ffi.Pointer _objc_msgSend_797( + ffi.Pointer obj, + ffi.Pointer sel, int h, int m, int s, - ffi.Pointer date, + ffi.Pointer date, int opts, ) { - return __objc_msgSend_797( - obj, - sel, - h, - m, - s, - date, - opts, - ); + return __objc_msgSend_797(obj, sel, h, m, s, date, opts); } late final __objc_msgSend_797Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Long, - ffi.Long, - ffi.Long, - ffi.Pointer, - ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_797 = __objc_msgSend_797Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, int, int, int, ffi.Pointer, int)>(); - - late final _sel_date_matchesComponents_1 = - _registerName1("date:matchesComponents:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Long, + ffi.Long, + ffi.Long, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_797 = + __objc_msgSend_797Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + int, + int, + ffi.Pointer, + int, + ) + >(); + + late final _sel_date_matchesComponents_1 = objc.registerName( + "date:matchesComponents:", + ); bool _objc_msgSend_798( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer date, - ffi.Pointer components, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer date, + ffi.Pointer components, ) { - return __objc_msgSend_798( - obj, - sel, - date, - components, - ); + return __objc_msgSend_798(obj, sel, date, components); } late final __objc_msgSend_798Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_798 = __objc_msgSend_798Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_798 = + __objc_msgSend_798Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); void _objc_msgSend_799( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value, ) { - return __objc_msgSend_799( - obj, - sel, - value, - ); + return __objc_msgSend_799(obj, sel, value); } late final __objc_msgSend_799Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_799 = __objc_msgSend_799Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_isLenient1 = _registerName1("isLenient"); - late final _sel_setLenient_1 = _registerName1("setLenient:"); - late final _sel_twoDigitStartDate1 = _registerName1("twoDigitStartDate"); - late final _sel_setTwoDigitStartDate_1 = - _registerName1("setTwoDigitStartDate:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_799 = + __objc_msgSend_799Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_isLenient1 = objc.registerName("isLenient"); + late final _sel_setLenient_1 = objc.registerName("setLenient:"); + late final _sel_twoDigitStartDate1 = objc.registerName("twoDigitStartDate"); + late final _sel_setTwoDigitStartDate_1 = objc.registerName( + "setTwoDigitStartDate:", + ); void _objc_msgSend_800( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value, ) { - return __objc_msgSend_800( - obj, - sel, - value, - ); + return __objc_msgSend_800(obj, sel, value); } late final __objc_msgSend_800Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_800 = __objc_msgSend_800Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_defaultDate1 = _registerName1("defaultDate"); - late final _sel_setDefaultDate_1 = _registerName1("setDefaultDate:"); - late final _sel_setEraSymbols_1 = _registerName1("setEraSymbols:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_800 = + __objc_msgSend_800Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_defaultDate1 = objc.registerName("defaultDate"); + late final _sel_setDefaultDate_1 = objc.registerName("setDefaultDate:"); + late final _sel_setEraSymbols_1 = objc.registerName("setEraSymbols:"); void _objc_msgSend_801( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value, ) { - return __objc_msgSend_801( - obj, - sel, - value, - ); + return __objc_msgSend_801(obj, sel, value); } late final __objc_msgSend_801Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_801 = __objc_msgSend_801Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_setMonthSymbols_1 = _registerName1("setMonthSymbols:"); - late final _sel_setShortMonthSymbols_1 = - _registerName1("setShortMonthSymbols:"); - late final _sel_setWeekdaySymbols_1 = _registerName1("setWeekdaySymbols:"); - late final _sel_setShortWeekdaySymbols_1 = - _registerName1("setShortWeekdaySymbols:"); - late final _sel_setAMSymbol_1 = _registerName1("setAMSymbol:"); - late final _sel_setPMSymbol_1 = _registerName1("setPMSymbol:"); - late final _sel_setLongEraSymbols_1 = _registerName1("setLongEraSymbols:"); - late final _sel_setVeryShortMonthSymbols_1 = - _registerName1("setVeryShortMonthSymbols:"); - late final _sel_setStandaloneMonthSymbols_1 = - _registerName1("setStandaloneMonthSymbols:"); - late final _sel_setShortStandaloneMonthSymbols_1 = - _registerName1("setShortStandaloneMonthSymbols:"); - late final _sel_setVeryShortStandaloneMonthSymbols_1 = - _registerName1("setVeryShortStandaloneMonthSymbols:"); - late final _sel_setVeryShortWeekdaySymbols_1 = - _registerName1("setVeryShortWeekdaySymbols:"); - late final _sel_setStandaloneWeekdaySymbols_1 = - _registerName1("setStandaloneWeekdaySymbols:"); - late final _sel_setShortStandaloneWeekdaySymbols_1 = - _registerName1("setShortStandaloneWeekdaySymbols:"); - late final _sel_setVeryShortStandaloneWeekdaySymbols_1 = - _registerName1("setVeryShortStandaloneWeekdaySymbols:"); - late final _sel_setQuarterSymbols_1 = _registerName1("setQuarterSymbols:"); - late final _sel_setShortQuarterSymbols_1 = - _registerName1("setShortQuarterSymbols:"); - late final _sel_setStandaloneQuarterSymbols_1 = - _registerName1("setStandaloneQuarterSymbols:"); - late final _sel_setShortStandaloneQuarterSymbols_1 = - _registerName1("setShortStandaloneQuarterSymbols:"); - late final _sel_gregorianStartDate1 = _registerName1("gregorianStartDate"); - late final _sel_setGregorianStartDate_1 = - _registerName1("setGregorianStartDate:"); - late final _sel_doesRelativeDateFormatting1 = - _registerName1("doesRelativeDateFormatting"); - late final _sel_setDoesRelativeDateFormatting_1 = - _registerName1("setDoesRelativeDateFormatting:"); - late final _sel_initWithDateFormat_allowNaturalLanguage_1 = - _registerName1("initWithDateFormat:allowNaturalLanguage:"); - late final _sel_allowsNaturalLanguage1 = - _registerName1("allowsNaturalLanguage"); - late final _class_NSNumberFormatter1 = _getClass1("NSNumberFormatter"); - late final _sel_stringFromNumber_1 = _registerName1("stringFromNumber:"); - ffi.Pointer _objc_msgSend_802( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer number, - ) { - return __objc_msgSend_802( - obj, - sel, - number, - ); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_801 = + __objc_msgSend_801Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_setMonthSymbols_1 = objc.registerName("setMonthSymbols:"); + late final _sel_setShortMonthSymbols_1 = objc.registerName( + "setShortMonthSymbols:", + ); + late final _sel_setWeekdaySymbols_1 = objc.registerName("setWeekdaySymbols:"); + late final _sel_setShortWeekdaySymbols_1 = objc.registerName( + "setShortWeekdaySymbols:", + ); + late final _sel_setAMSymbol_1 = objc.registerName("setAMSymbol:"); + late final _sel_setPMSymbol_1 = objc.registerName("setPMSymbol:"); + late final _sel_setLongEraSymbols_1 = objc.registerName("setLongEraSymbols:"); + late final _sel_setVeryShortMonthSymbols_1 = objc.registerName( + "setVeryShortMonthSymbols:", + ); + late final _sel_setStandaloneMonthSymbols_1 = objc.registerName( + "setStandaloneMonthSymbols:", + ); + late final _sel_setShortStandaloneMonthSymbols_1 = objc.registerName( + "setShortStandaloneMonthSymbols:", + ); + late final _sel_setVeryShortStandaloneMonthSymbols_1 = objc.registerName( + "setVeryShortStandaloneMonthSymbols:", + ); + late final _sel_setVeryShortWeekdaySymbols_1 = objc.registerName( + "setVeryShortWeekdaySymbols:", + ); + late final _sel_setStandaloneWeekdaySymbols_1 = objc.registerName( + "setStandaloneWeekdaySymbols:", + ); + late final _sel_setShortStandaloneWeekdaySymbols_1 = objc.registerName( + "setShortStandaloneWeekdaySymbols:", + ); + late final _sel_setVeryShortStandaloneWeekdaySymbols_1 = objc.registerName( + "setVeryShortStandaloneWeekdaySymbols:", + ); + late final _sel_setQuarterSymbols_1 = objc.registerName("setQuarterSymbols:"); + late final _sel_setShortQuarterSymbols_1 = objc.registerName( + "setShortQuarterSymbols:", + ); + late final _sel_setStandaloneQuarterSymbols_1 = objc.registerName( + "setStandaloneQuarterSymbols:", + ); + late final _sel_setShortStandaloneQuarterSymbols_1 = objc.registerName( + "setShortStandaloneQuarterSymbols:", + ); + late final _sel_gregorianStartDate1 = objc.registerName("gregorianStartDate"); + late final _sel_setGregorianStartDate_1 = objc.registerName( + "setGregorianStartDate:", + ); + late final _sel_doesRelativeDateFormatting1 = objc.registerName( + "doesRelativeDateFormatting", + ); + late final _sel_setDoesRelativeDateFormatting_1 = objc.registerName( + "setDoesRelativeDateFormatting:", + ); + late final _sel_initWithDateFormat_allowNaturalLanguage_1 = objc.registerName( + "initWithDateFormat:allowNaturalLanguage:", + ); + late final _sel_allowsNaturalLanguage1 = objc.registerName( + "allowsNaturalLanguage", + ); + late final _class_NSNumberFormatter1 = objc.getClass("NSNumberFormatter"); + late final _sel_stringFromNumber_1 = objc.registerName("stringFromNumber:"); + ffi.Pointer _objc_msgSend_802( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer number, + ) { + return __objc_msgSend_802(obj, sel, number); } late final __objc_msgSend_802Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_802 = __objc_msgSend_802Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_numberFromString_1 = _registerName1("numberFromString:"); - ffi.Pointer _objc_msgSend_803( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer string, - ) { - return __objc_msgSend_803( - obj, - sel, - string, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_802 = + __objc_msgSend_802Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_numberFromString_1 = objc.registerName("numberFromString:"); + ffi.Pointer _objc_msgSend_803( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer string, + ) { + return __objc_msgSend_803(obj, sel, string); } late final __objc_msgSend_803Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_803 = __objc_msgSend_803Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_localizedStringFromNumber_numberStyle_1 = - _registerName1("localizedStringFromNumber:numberStyle:"); - ffi.Pointer _objc_msgSend_804( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer num, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_803 = + __objc_msgSend_803Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_localizedStringFromNumber_numberStyle_1 = objc.registerName( + "localizedStringFromNumber:numberStyle:", + ); + ffi.Pointer _objc_msgSend_804( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer num, int nstyle, ) { - return __objc_msgSend_804( - obj, - sel, - num, - nstyle, - ); + return __objc_msgSend_804(obj, sel, num, nstyle); } late final __objc_msgSend_804Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_804 = __objc_msgSend_804Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer, int)>(); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_804 = + __objc_msgSend_804Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); int _objc_msgSend_805( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_805( - obj, - sel, - ); + return __objc_msgSend_805(obj, sel); } late final __objc_msgSend_805Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_805 = __objc_msgSend_805Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_805 = + __objc_msgSend_805Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); void _objc_msgSend_806( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int behavior, ) { - return __objc_msgSend_806( - obj, - sel, - behavior, - ); + return __objc_msgSend_806(obj, sel, behavior); } late final __objc_msgSend_806Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_806 = __objc_msgSend_806Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_806 = + __objc_msgSend_806Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); - late final _sel_numberStyle1 = _registerName1("numberStyle"); + late final _sel_numberStyle1 = objc.registerName("numberStyle"); int _objc_msgSend_807( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_807( - obj, - sel, - ); + return __objc_msgSend_807(obj, sel); } late final __objc_msgSend_807Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_807 = __objc_msgSend_807Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_807 = + __objc_msgSend_807Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); - late final _sel_setNumberStyle_1 = _registerName1("setNumberStyle:"); + late final _sel_setNumberStyle_1 = objc.registerName("setNumberStyle:"); void _objc_msgSend_808( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int value, ) { - return __objc_msgSend_808( - obj, - sel, - value, - ); + return __objc_msgSend_808(obj, sel, value); } late final __objc_msgSend_808Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_808 = __objc_msgSend_808Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_generatesDecimalNumbers1 = - _registerName1("generatesDecimalNumbers"); - late final _sel_setGeneratesDecimalNumbers_1 = - _registerName1("setGeneratesDecimalNumbers:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_808 = + __objc_msgSend_808Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_generatesDecimalNumbers1 = objc.registerName( + "generatesDecimalNumbers", + ); + late final _sel_setGeneratesDecimalNumbers_1 = objc.registerName( + "setGeneratesDecimalNumbers:", + ); void _objc_msgSend_809( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int value, ) { - return __objc_msgSend_809( - obj, - sel, - value, - ); + return __objc_msgSend_809(obj, sel, value); } late final __objc_msgSend_809Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_809 = __objc_msgSend_809Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_negativeFormat1 = _registerName1("negativeFormat"); - late final _sel_setNegativeFormat_1 = _registerName1("setNegativeFormat:"); - late final _sel_textAttributesForNegativeValues1 = - _registerName1("textAttributesForNegativeValues"); - late final _sel_setTextAttributesForNegativeValues_1 = - _registerName1("setTextAttributesForNegativeValues:"); - late final _sel_positiveFormat1 = _registerName1("positiveFormat"); - late final _sel_setPositiveFormat_1 = _registerName1("setPositiveFormat:"); - late final _sel_textAttributesForPositiveValues1 = - _registerName1("textAttributesForPositiveValues"); - late final _sel_setTextAttributesForPositiveValues_1 = - _registerName1("setTextAttributesForPositiveValues:"); - late final _sel_allowsFloats1 = _registerName1("allowsFloats"); - late final _sel_setAllowsFloats_1 = _registerName1("setAllowsFloats:"); - late final _sel_setDecimalSeparator_1 = - _registerName1("setDecimalSeparator:"); - late final _sel_alwaysShowsDecimalSeparator1 = - _registerName1("alwaysShowsDecimalSeparator"); - late final _sel_setAlwaysShowsDecimalSeparator_1 = - _registerName1("setAlwaysShowsDecimalSeparator:"); - late final _sel_currencyDecimalSeparator1 = - _registerName1("currencyDecimalSeparator"); - late final _sel_setCurrencyDecimalSeparator_1 = - _registerName1("setCurrencyDecimalSeparator:"); - late final _sel_usesGroupingSeparator1 = - _registerName1("usesGroupingSeparator"); - late final _sel_setUsesGroupingSeparator_1 = - _registerName1("setUsesGroupingSeparator:"); - late final _sel_setGroupingSeparator_1 = - _registerName1("setGroupingSeparator:"); - late final _sel_zeroSymbol1 = _registerName1("zeroSymbol"); - late final _sel_setZeroSymbol_1 = _registerName1("setZeroSymbol:"); - late final _sel_textAttributesForZero1 = - _registerName1("textAttributesForZero"); - late final _sel_setTextAttributesForZero_1 = - _registerName1("setTextAttributesForZero:"); - late final _sel_nilSymbol1 = _registerName1("nilSymbol"); - late final _sel_setNilSymbol_1 = _registerName1("setNilSymbol:"); - late final _sel_textAttributesForNil1 = - _registerName1("textAttributesForNil"); - late final _sel_setTextAttributesForNil_1 = - _registerName1("setTextAttributesForNil:"); - late final _sel_notANumberSymbol1 = _registerName1("notANumberSymbol"); - late final _sel_setNotANumberSymbol_1 = - _registerName1("setNotANumberSymbol:"); - late final _sel_textAttributesForNotANumber1 = - _registerName1("textAttributesForNotANumber"); - late final _sel_setTextAttributesForNotANumber_1 = - _registerName1("setTextAttributesForNotANumber:"); - late final _sel_positiveInfinitySymbol1 = - _registerName1("positiveInfinitySymbol"); - late final _sel_setPositiveInfinitySymbol_1 = - _registerName1("setPositiveInfinitySymbol:"); - late final _sel_textAttributesForPositiveInfinity1 = - _registerName1("textAttributesForPositiveInfinity"); - late final _sel_setTextAttributesForPositiveInfinity_1 = - _registerName1("setTextAttributesForPositiveInfinity:"); - late final _sel_negativeInfinitySymbol1 = - _registerName1("negativeInfinitySymbol"); - late final _sel_setNegativeInfinitySymbol_1 = - _registerName1("setNegativeInfinitySymbol:"); - late final _sel_textAttributesForNegativeInfinity1 = - _registerName1("textAttributesForNegativeInfinity"); - late final _sel_setTextAttributesForNegativeInfinity_1 = - _registerName1("setTextAttributesForNegativeInfinity:"); - late final _sel_positivePrefix1 = _registerName1("positivePrefix"); - late final _sel_setPositivePrefix_1 = _registerName1("setPositivePrefix:"); - late final _sel_positiveSuffix1 = _registerName1("positiveSuffix"); - late final _sel_setPositiveSuffix_1 = _registerName1("setPositiveSuffix:"); - late final _sel_negativePrefix1 = _registerName1("negativePrefix"); - late final _sel_setNegativePrefix_1 = _registerName1("setNegativePrefix:"); - late final _sel_negativeSuffix1 = _registerName1("negativeSuffix"); - late final _sel_setNegativeSuffix_1 = _registerName1("setNegativeSuffix:"); - late final _sel_setCurrencyCode_1 = _registerName1("setCurrencyCode:"); - late final _sel_setCurrencySymbol_1 = _registerName1("setCurrencySymbol:"); - late final _sel_internationalCurrencySymbol1 = - _registerName1("internationalCurrencySymbol"); - late final _sel_setInternationalCurrencySymbol_1 = - _registerName1("setInternationalCurrencySymbol:"); - late final _sel_percentSymbol1 = _registerName1("percentSymbol"); - late final _sel_setPercentSymbol_1 = _registerName1("setPercentSymbol:"); - late final _sel_perMillSymbol1 = _registerName1("perMillSymbol"); - late final _sel_setPerMillSymbol_1 = _registerName1("setPerMillSymbol:"); - late final _sel_minusSign1 = _registerName1("minusSign"); - late final _sel_setMinusSign_1 = _registerName1("setMinusSign:"); - late final _sel_plusSign1 = _registerName1("plusSign"); - late final _sel_setPlusSign_1 = _registerName1("setPlusSign:"); - late final _sel_exponentSymbol1 = _registerName1("exponentSymbol"); - late final _sel_setExponentSymbol_1 = _registerName1("setExponentSymbol:"); - late final _sel_groupingSize1 = _registerName1("groupingSize"); - late final _sel_setGroupingSize_1 = _registerName1("setGroupingSize:"); - late final _sel_secondaryGroupingSize1 = - _registerName1("secondaryGroupingSize"); - late final _sel_setSecondaryGroupingSize_1 = - _registerName1("setSecondaryGroupingSize:"); - late final _sel_multiplier1 = _registerName1("multiplier"); - late final _sel_setMultiplier_1 = _registerName1("setMultiplier:"); - late final _sel_formatWidth1 = _registerName1("formatWidth"); - late final _sel_setFormatWidth_1 = _registerName1("setFormatWidth:"); - late final _sel_paddingCharacter1 = _registerName1("paddingCharacter"); - late final _sel_setPaddingCharacter_1 = - _registerName1("setPaddingCharacter:"); - late final _sel_paddingPosition1 = _registerName1("paddingPosition"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_809 = + __objc_msgSend_809Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_negativeFormat1 = objc.registerName("negativeFormat"); + late final _sel_setNegativeFormat_1 = objc.registerName("setNegativeFormat:"); + late final _sel_textAttributesForNegativeValues1 = objc.registerName( + "textAttributesForNegativeValues", + ); + late final _sel_setTextAttributesForNegativeValues_1 = objc.registerName( + "setTextAttributesForNegativeValues:", + ); + late final _sel_positiveFormat1 = objc.registerName("positiveFormat"); + late final _sel_setPositiveFormat_1 = objc.registerName("setPositiveFormat:"); + late final _sel_textAttributesForPositiveValues1 = objc.registerName( + "textAttributesForPositiveValues", + ); + late final _sel_setTextAttributesForPositiveValues_1 = objc.registerName( + "setTextAttributesForPositiveValues:", + ); + late final _sel_allowsFloats1 = objc.registerName("allowsFloats"); + late final _sel_setAllowsFloats_1 = objc.registerName("setAllowsFloats:"); + late final _sel_setDecimalSeparator_1 = objc.registerName( + "setDecimalSeparator:", + ); + late final _sel_alwaysShowsDecimalSeparator1 = objc.registerName( + "alwaysShowsDecimalSeparator", + ); + late final _sel_setAlwaysShowsDecimalSeparator_1 = objc.registerName( + "setAlwaysShowsDecimalSeparator:", + ); + late final _sel_currencyDecimalSeparator1 = objc.registerName( + "currencyDecimalSeparator", + ); + late final _sel_setCurrencyDecimalSeparator_1 = objc.registerName( + "setCurrencyDecimalSeparator:", + ); + late final _sel_usesGroupingSeparator1 = objc.registerName( + "usesGroupingSeparator", + ); + late final _sel_setUsesGroupingSeparator_1 = objc.registerName( + "setUsesGroupingSeparator:", + ); + late final _sel_setGroupingSeparator_1 = objc.registerName( + "setGroupingSeparator:", + ); + late final _sel_zeroSymbol1 = objc.registerName("zeroSymbol"); + late final _sel_setZeroSymbol_1 = objc.registerName("setZeroSymbol:"); + late final _sel_textAttributesForZero1 = objc.registerName( + "textAttributesForZero", + ); + late final _sel_setTextAttributesForZero_1 = objc.registerName( + "setTextAttributesForZero:", + ); + late final _sel_nilSymbol1 = objc.registerName("nilSymbol"); + late final _sel_setNilSymbol_1 = objc.registerName("setNilSymbol:"); + late final _sel_textAttributesForNil1 = objc.registerName( + "textAttributesForNil", + ); + late final _sel_setTextAttributesForNil_1 = objc.registerName( + "setTextAttributesForNil:", + ); + late final _sel_notANumberSymbol1 = objc.registerName("notANumberSymbol"); + late final _sel_setNotANumberSymbol_1 = objc.registerName( + "setNotANumberSymbol:", + ); + late final _sel_textAttributesForNotANumber1 = objc.registerName( + "textAttributesForNotANumber", + ); + late final _sel_setTextAttributesForNotANumber_1 = objc.registerName( + "setTextAttributesForNotANumber:", + ); + late final _sel_positiveInfinitySymbol1 = objc.registerName( + "positiveInfinitySymbol", + ); + late final _sel_setPositiveInfinitySymbol_1 = objc.registerName( + "setPositiveInfinitySymbol:", + ); + late final _sel_textAttributesForPositiveInfinity1 = objc.registerName( + "textAttributesForPositiveInfinity", + ); + late final _sel_setTextAttributesForPositiveInfinity_1 = objc.registerName( + "setTextAttributesForPositiveInfinity:", + ); + late final _sel_negativeInfinitySymbol1 = objc.registerName( + "negativeInfinitySymbol", + ); + late final _sel_setNegativeInfinitySymbol_1 = objc.registerName( + "setNegativeInfinitySymbol:", + ); + late final _sel_textAttributesForNegativeInfinity1 = objc.registerName( + "textAttributesForNegativeInfinity", + ); + late final _sel_setTextAttributesForNegativeInfinity_1 = objc.registerName( + "setTextAttributesForNegativeInfinity:", + ); + late final _sel_positivePrefix1 = objc.registerName("positivePrefix"); + late final _sel_setPositivePrefix_1 = objc.registerName("setPositivePrefix:"); + late final _sel_positiveSuffix1 = objc.registerName("positiveSuffix"); + late final _sel_setPositiveSuffix_1 = objc.registerName("setPositiveSuffix:"); + late final _sel_negativePrefix1 = objc.registerName("negativePrefix"); + late final _sel_setNegativePrefix_1 = objc.registerName("setNegativePrefix:"); + late final _sel_negativeSuffix1 = objc.registerName("negativeSuffix"); + late final _sel_setNegativeSuffix_1 = objc.registerName("setNegativeSuffix:"); + late final _sel_setCurrencyCode_1 = objc.registerName("setCurrencyCode:"); + late final _sel_setCurrencySymbol_1 = objc.registerName("setCurrencySymbol:"); + late final _sel_internationalCurrencySymbol1 = objc.registerName( + "internationalCurrencySymbol", + ); + late final _sel_setInternationalCurrencySymbol_1 = objc.registerName( + "setInternationalCurrencySymbol:", + ); + late final _sel_percentSymbol1 = objc.registerName("percentSymbol"); + late final _sel_setPercentSymbol_1 = objc.registerName("setPercentSymbol:"); + late final _sel_perMillSymbol1 = objc.registerName("perMillSymbol"); + late final _sel_setPerMillSymbol_1 = objc.registerName("setPerMillSymbol:"); + late final _sel_minusSign1 = objc.registerName("minusSign"); + late final _sel_setMinusSign_1 = objc.registerName("setMinusSign:"); + late final _sel_plusSign1 = objc.registerName("plusSign"); + late final _sel_setPlusSign_1 = objc.registerName("setPlusSign:"); + late final _sel_exponentSymbol1 = objc.registerName("exponentSymbol"); + late final _sel_setExponentSymbol_1 = objc.registerName("setExponentSymbol:"); + late final _sel_groupingSize1 = objc.registerName("groupingSize"); + late final _sel_setGroupingSize_1 = objc.registerName("setGroupingSize:"); + late final _sel_secondaryGroupingSize1 = objc.registerName( + "secondaryGroupingSize", + ); + late final _sel_setSecondaryGroupingSize_1 = objc.registerName( + "setSecondaryGroupingSize:", + ); + late final _sel_multiplier1 = objc.registerName("multiplier"); + late final _sel_setMultiplier_1 = objc.registerName("setMultiplier:"); + late final _sel_formatWidth1 = objc.registerName("formatWidth"); + late final _sel_setFormatWidth_1 = objc.registerName("setFormatWidth:"); + late final _sel_paddingCharacter1 = objc.registerName("paddingCharacter"); + late final _sel_setPaddingCharacter_1 = objc.registerName( + "setPaddingCharacter:", + ); + late final _sel_paddingPosition1 = objc.registerName("paddingPosition"); int _objc_msgSend_810( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_810( - obj, - sel, - ); + return __objc_msgSend_810(obj, sel); } late final __objc_msgSend_810Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_810 = __objc_msgSend_810Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer)>(); - - late final _sel_setPaddingPosition_1 = _registerName1("setPaddingPosition:"); + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_810 = + __objc_msgSend_810Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_setPaddingPosition_1 = objc.registerName( + "setPaddingPosition:", + ); void _objc_msgSend_811( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int value, ) { - return __objc_msgSend_811( - obj, - sel, - value, - ); + return __objc_msgSend_811(obj, sel, value); } late final __objc_msgSend_811Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_811 = __objc_msgSend_811Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_811 = + __objc_msgSend_811Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); - late final _sel_roundingMode1 = _registerName1("roundingMode"); + late final _sel_roundingMode1 = objc.registerName("roundingMode"); int _objc_msgSend_812( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_812( - obj, - sel, - ); + return __objc_msgSend_812(obj, sel); } late final __objc_msgSend_812Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_812 = __objc_msgSend_812Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_812 = + __objc_msgSend_812Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); - late final _sel_setRoundingMode_1 = _registerName1("setRoundingMode:"); + late final _sel_setRoundingMode_1 = objc.registerName("setRoundingMode:"); void _objc_msgSend_813( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int value, ) { - return __objc_msgSend_813( - obj, - sel, - value, - ); + return __objc_msgSend_813(obj, sel, value); } late final __objc_msgSend_813Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_813 = __objc_msgSend_813Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_813 = + __objc_msgSend_813Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); - late final _sel_roundingIncrement1 = _registerName1("roundingIncrement"); - ffi.Pointer _objc_msgSend_814( - ffi.Pointer obj, - ffi.Pointer sel, + late final _sel_roundingIncrement1 = objc.registerName("roundingIncrement"); + ffi.Pointer _objc_msgSend_814( + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_814( - obj, - sel, - ); + return __objc_msgSend_814(obj, sel); } late final __objc_msgSend_814Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_814 = __objc_msgSend_814Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_setRoundingIncrement_1 = - _registerName1("setRoundingIncrement:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_814 = + __objc_msgSend_814Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_setRoundingIncrement_1 = objc.registerName( + "setRoundingIncrement:", + ); void _objc_msgSend_815( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value, ) { - return __objc_msgSend_815( - obj, - sel, - value, - ); + return __objc_msgSend_815(obj, sel, value); } late final __objc_msgSend_815Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_815 = __objc_msgSend_815Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_minimumIntegerDigits1 = - _registerName1("minimumIntegerDigits"); - late final _sel_setMinimumIntegerDigits_1 = - _registerName1("setMinimumIntegerDigits:"); - late final _sel_maximumIntegerDigits1 = - _registerName1("maximumIntegerDigits"); - late final _sel_setMaximumIntegerDigits_1 = - _registerName1("setMaximumIntegerDigits:"); - late final _sel_minimumFractionDigits1 = - _registerName1("minimumFractionDigits"); - late final _sel_setMinimumFractionDigits_1 = - _registerName1("setMinimumFractionDigits:"); - late final _sel_maximumFractionDigits1 = - _registerName1("maximumFractionDigits"); - late final _sel_setMaximumFractionDigits_1 = - _registerName1("setMaximumFractionDigits:"); - late final _sel_minimum1 = _registerName1("minimum"); - late final _sel_setMinimum_1 = _registerName1("setMinimum:"); - late final _sel_maximum1 = _registerName1("maximum"); - late final _sel_setMaximum_1 = _registerName1("setMaximum:"); - late final _sel_currencyGroupingSeparator1 = - _registerName1("currencyGroupingSeparator"); - late final _sel_setCurrencyGroupingSeparator_1 = - _registerName1("setCurrencyGroupingSeparator:"); - late final _sel_usesSignificantDigits1 = - _registerName1("usesSignificantDigits"); - late final _sel_setUsesSignificantDigits_1 = - _registerName1("setUsesSignificantDigits:"); - late final _sel_minimumSignificantDigits1 = - _registerName1("minimumSignificantDigits"); - late final _sel_setMinimumSignificantDigits_1 = - _registerName1("setMinimumSignificantDigits:"); - late final _sel_maximumSignificantDigits1 = - _registerName1("maximumSignificantDigits"); - late final _sel_setMaximumSignificantDigits_1 = - _registerName1("setMaximumSignificantDigits:"); - late final _sel_isPartialStringValidationEnabled1 = - _registerName1("isPartialStringValidationEnabled"); - late final _sel_setPartialStringValidationEnabled_1 = - _registerName1("setPartialStringValidationEnabled:"); - late final _sel_hasThousandSeparators1 = - _registerName1("hasThousandSeparators"); - late final _sel_setHasThousandSeparators_1 = - _registerName1("setHasThousandSeparators:"); - late final _sel_thousandSeparator1 = _registerName1("thousandSeparator"); - late final _sel_setThousandSeparator_1 = - _registerName1("setThousandSeparator:"); - late final _sel_localizesFormat1 = _registerName1("localizesFormat"); - late final _sel_setLocalizesFormat_1 = _registerName1("setLocalizesFormat:"); - late final _sel_format1 = _registerName1("format"); - late final _sel_setFormat_1 = _registerName1("setFormat:"); - late final _sel_attributedStringForZero1 = - _registerName1("attributedStringForZero"); - late final _sel_setAttributedStringForZero_1 = - _registerName1("setAttributedStringForZero:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_815 = + __objc_msgSend_815Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_minimumIntegerDigits1 = objc.registerName( + "minimumIntegerDigits", + ); + late final _sel_setMinimumIntegerDigits_1 = objc.registerName( + "setMinimumIntegerDigits:", + ); + late final _sel_maximumIntegerDigits1 = objc.registerName( + "maximumIntegerDigits", + ); + late final _sel_setMaximumIntegerDigits_1 = objc.registerName( + "setMaximumIntegerDigits:", + ); + late final _sel_minimumFractionDigits1 = objc.registerName( + "minimumFractionDigits", + ); + late final _sel_setMinimumFractionDigits_1 = objc.registerName( + "setMinimumFractionDigits:", + ); + late final _sel_maximumFractionDigits1 = objc.registerName( + "maximumFractionDigits", + ); + late final _sel_setMaximumFractionDigits_1 = objc.registerName( + "setMaximumFractionDigits:", + ); + late final _sel_minimum1 = objc.registerName("minimum"); + late final _sel_setMinimum_1 = objc.registerName("setMinimum:"); + late final _sel_maximum1 = objc.registerName("maximum"); + late final _sel_setMaximum_1 = objc.registerName("setMaximum:"); + late final _sel_currencyGroupingSeparator1 = objc.registerName( + "currencyGroupingSeparator", + ); + late final _sel_setCurrencyGroupingSeparator_1 = objc.registerName( + "setCurrencyGroupingSeparator:", + ); + late final _sel_usesSignificantDigits1 = objc.registerName( + "usesSignificantDigits", + ); + late final _sel_setUsesSignificantDigits_1 = objc.registerName( + "setUsesSignificantDigits:", + ); + late final _sel_minimumSignificantDigits1 = objc.registerName( + "minimumSignificantDigits", + ); + late final _sel_setMinimumSignificantDigits_1 = objc.registerName( + "setMinimumSignificantDigits:", + ); + late final _sel_maximumSignificantDigits1 = objc.registerName( + "maximumSignificantDigits", + ); + late final _sel_setMaximumSignificantDigits_1 = objc.registerName( + "setMaximumSignificantDigits:", + ); + late final _sel_isPartialStringValidationEnabled1 = objc.registerName( + "isPartialStringValidationEnabled", + ); + late final _sel_setPartialStringValidationEnabled_1 = objc.registerName( + "setPartialStringValidationEnabled:", + ); + late final _sel_hasThousandSeparators1 = objc.registerName( + "hasThousandSeparators", + ); + late final _sel_setHasThousandSeparators_1 = objc.registerName( + "setHasThousandSeparators:", + ); + late final _sel_thousandSeparator1 = objc.registerName("thousandSeparator"); + late final _sel_setThousandSeparator_1 = objc.registerName( + "setThousandSeparator:", + ); + late final _sel_localizesFormat1 = objc.registerName("localizesFormat"); + late final _sel_setLocalizesFormat_1 = objc.registerName( + "setLocalizesFormat:", + ); + late final _sel_format1 = objc.registerName("format"); + late final _sel_setFormat_1 = objc.registerName("setFormat:"); + late final _sel_attributedStringForZero1 = objc.registerName( + "attributedStringForZero", + ); + late final _sel_setAttributedStringForZero_1 = objc.registerName( + "setAttributedStringForZero:", + ); void _objc_msgSend_816( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value, ) { - return __objc_msgSend_816( - obj, - sel, - value, - ); + return __objc_msgSend_816(obj, sel, value); } late final __objc_msgSend_816Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_816 = __objc_msgSend_816Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_attributedStringForNil1 = - _registerName1("attributedStringForNil"); - late final _sel_setAttributedStringForNil_1 = - _registerName1("setAttributedStringForNil:"); - late final _sel_attributedStringForNotANumber1 = - _registerName1("attributedStringForNotANumber"); - late final _sel_setAttributedStringForNotANumber_1 = - _registerName1("setAttributedStringForNotANumber:"); - late final _class_NSDecimalNumberHandler1 = - _getClass1("NSDecimalNumberHandler"); - late final _sel_defaultDecimalNumberHandler1 = - _registerName1("defaultDecimalNumberHandler"); - ffi.Pointer _objc_msgSend_817( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_817( - obj, - sel, - ); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_816 = + __objc_msgSend_816Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_attributedStringForNil1 = objc.registerName( + "attributedStringForNil", + ); + late final _sel_setAttributedStringForNil_1 = objc.registerName( + "setAttributedStringForNil:", + ); + late final _sel_attributedStringForNotANumber1 = objc.registerName( + "attributedStringForNotANumber", + ); + late final _sel_setAttributedStringForNotANumber_1 = objc.registerName( + "setAttributedStringForNotANumber:", + ); + late final _class_NSDecimalNumberHandler1 = objc.getClass( + "NSDecimalNumberHandler", + ); + late final _sel_defaultDecimalNumberHandler1 = objc.registerName( + "defaultDecimalNumberHandler", + ); + ffi.Pointer _objc_msgSend_817( + ffi.Pointer obj, + ffi.Pointer sel, + ) { + return __objc_msgSend_817(obj, sel); } late final __objc_msgSend_817Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_817 = __objc_msgSend_817Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_817 = + __objc_msgSend_817Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_initWithRoundingMode_scale_raiseOnExactness_raiseOnOverflow_raiseOnUnderflow_raiseOnDivideByZero_1 = - _registerName1( - "initWithRoundingMode:scale:raiseOnExactness:raiseOnOverflow:raiseOnUnderflow:raiseOnDivideByZero:"); + objc.registerName( + "initWithRoundingMode:scale:raiseOnExactness:raiseOnOverflow:raiseOnUnderflow:raiseOnDivideByZero:", + ); instancetype _objc_msgSend_818( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int roundingMode, int scale, bool exact, @@ -23466,1288 +29410,1668 @@ class SwiftLibrary { } late final __objc_msgSend_818Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Short, - ffi.Bool, - ffi.Bool, - ffi.Bool, - ffi.Bool)>>('objc_msgSend'); - late final __objc_msgSend_818 = __objc_msgSend_818Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, int, - int, bool, bool, bool, bool)>(); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Short, + ffi.Bool, + ffi.Bool, + ffi.Bool, + ffi.Bool, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_818 = + __objc_msgSend_818Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + int, + int, + bool, + bool, + bool, + bool, + ) + >(); late final _sel_decimalNumberHandlerWithRoundingMode_scale_raiseOnExactness_raiseOnOverflow_raiseOnUnderflow_raiseOnDivideByZero_1 = - _registerName1( - "decimalNumberHandlerWithRoundingMode:scale:raiseOnExactness:raiseOnOverflow:raiseOnUnderflow:raiseOnDivideByZero:"); - late final _sel_roundingBehavior1 = _registerName1("roundingBehavior"); - late final _sel_setRoundingBehavior_1 = - _registerName1("setRoundingBehavior:"); + objc.registerName( + "decimalNumberHandlerWithRoundingMode:scale:raiseOnExactness:raiseOnOverflow:raiseOnUnderflow:raiseOnDivideByZero:", + ); + late final _sel_roundingBehavior1 = objc.registerName("roundingBehavior"); + late final _sel_setRoundingBehavior_1 = objc.registerName( + "setRoundingBehavior:", + ); void _objc_msgSend_819( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value, ) { - return __objc_msgSend_819( - obj, - sel, - value, - ); + return __objc_msgSend_819(obj, sel, value); } late final __objc_msgSend_819Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_819 = __objc_msgSend_819Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _class_NSScanner1 = _getClass1("NSScanner"); - late final _sel_scanLocation1 = _registerName1("scanLocation"); - late final _sel_setScanLocation_1 = _registerName1("setScanLocation:"); - late final _sel_charactersToBeSkipped1 = - _registerName1("charactersToBeSkipped"); - ffi.Pointer _objc_msgSend_820( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_820( - obj, - sel, - ); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_819 = + __objc_msgSend_819Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _class_NSScanner1 = objc.getClass("NSScanner"); + late final _sel_scanLocation1 = objc.registerName("scanLocation"); + late final _sel_setScanLocation_1 = objc.registerName("setScanLocation:"); + late final _sel_charactersToBeSkipped1 = objc.registerName( + "charactersToBeSkipped", + ); + ffi.Pointer _objc_msgSend_820( + ffi.Pointer obj, + ffi.Pointer sel, + ) { + return __objc_msgSend_820(obj, sel); } late final __objc_msgSend_820Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_820 = __objc_msgSend_820Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_setCharactersToBeSkipped_1 = - _registerName1("setCharactersToBeSkipped:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_820 = + __objc_msgSend_820Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_setCharactersToBeSkipped_1 = objc.registerName( + "setCharactersToBeSkipped:", + ); void _objc_msgSend_821( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value, ) { - return __objc_msgSend_821( - obj, - sel, - value, - ); + return __objc_msgSend_821(obj, sel, value); } late final __objc_msgSend_821Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_821 = __objc_msgSend_821Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_caseSensitive1 = _registerName1("caseSensitive"); - late final _sel_setCaseSensitive_1 = _registerName1("setCaseSensitive:"); - late final _sel_scanInt_1 = _registerName1("scanInt:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_821 = + __objc_msgSend_821Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_caseSensitive1 = objc.registerName("caseSensitive"); + late final _sel_setCaseSensitive_1 = objc.registerName("setCaseSensitive:"); + late final _sel_scanInt_1 = objc.registerName("scanInt:"); bool _objc_msgSend_822( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ffi.Pointer result, ) { - return __objc_msgSend_822( - obj, - sel, - result, - ); + return __objc_msgSend_822(obj, sel, result); } late final __objc_msgSend_822Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_822 = __objc_msgSend_822Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_822 = + __objc_msgSend_822Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); - late final _sel_scanInteger_1 = _registerName1("scanInteger:"); + late final _sel_scanInteger_1 = objc.registerName("scanInteger:"); bool _objc_msgSend_823( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ffi.Pointer result, ) { - return __objc_msgSend_823( - obj, - sel, - result, - ); + return __objc_msgSend_823(obj, sel, result); } late final __objc_msgSend_823Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_823 = __objc_msgSend_823Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_823 = + __objc_msgSend_823Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); - late final _sel_scanLongLong_1 = _registerName1("scanLongLong:"); + late final _sel_scanLongLong_1 = objc.registerName("scanLongLong:"); bool _objc_msgSend_824( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ffi.Pointer result, ) { - return __objc_msgSend_824( - obj, - sel, - result, - ); + return __objc_msgSend_824(obj, sel, result); } late final __objc_msgSend_824Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_824 = __objc_msgSend_824Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_scanUnsignedLongLong_1 = - _registerName1("scanUnsignedLongLong:"); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_824 = + __objc_msgSend_824Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_scanUnsignedLongLong_1 = objc.registerName( + "scanUnsignedLongLong:", + ); bool _objc_msgSend_825( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ffi.Pointer result, ) { - return __objc_msgSend_825( - obj, - sel, - result, - ); + return __objc_msgSend_825(obj, sel, result); } late final __objc_msgSend_825Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_825 = __objc_msgSend_825Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_825 = + __objc_msgSend_825Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); - late final _sel_scanFloat_1 = _registerName1("scanFloat:"); + late final _sel_scanFloat_1 = objc.registerName("scanFloat:"); bool _objc_msgSend_826( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ffi.Pointer result, ) { - return __objc_msgSend_826( - obj, - sel, - result, - ); + return __objc_msgSend_826(obj, sel, result); } late final __objc_msgSend_826Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_826 = __objc_msgSend_826Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_826 = + __objc_msgSend_826Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); - late final _sel_scanDouble_1 = _registerName1("scanDouble:"); + late final _sel_scanDouble_1 = objc.registerName("scanDouble:"); bool _objc_msgSend_827( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ffi.Pointer result, ) { - return __objc_msgSend_827( - obj, - sel, - result, - ); + return __objc_msgSend_827(obj, sel, result); } late final __objc_msgSend_827Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_827 = __objc_msgSend_827Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_827 = + __objc_msgSend_827Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); - late final _sel_scanHexInt_1 = _registerName1("scanHexInt:"); + late final _sel_scanHexInt_1 = objc.registerName("scanHexInt:"); bool _objc_msgSend_828( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ffi.Pointer result, ) { - return __objc_msgSend_828( - obj, - sel, - result, - ); + return __objc_msgSend_828(obj, sel, result); } late final __objc_msgSend_828Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_828 = __objc_msgSend_828Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_scanHexLongLong_1 = _registerName1("scanHexLongLong:"); - late final _sel_scanHexFloat_1 = _registerName1("scanHexFloat:"); - late final _sel_scanHexDouble_1 = _registerName1("scanHexDouble:"); - late final _sel_scanString_intoString_1 = - _registerName1("scanString:intoString:"); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_828 = + __objc_msgSend_828Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_scanHexLongLong_1 = objc.registerName("scanHexLongLong:"); + late final _sel_scanHexFloat_1 = objc.registerName("scanHexFloat:"); + late final _sel_scanHexDouble_1 = objc.registerName("scanHexDouble:"); + late final _sel_scanString_intoString_1 = objc.registerName( + "scanString:intoString:", + ); bool _objc_msgSend_829( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer string, - ffi.Pointer> result, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer string, + ffi.Pointer> result, ) { - return __objc_msgSend_829( - obj, - sel, - string, - result, - ); + return __objc_msgSend_829(obj, sel, string, result); } late final __objc_msgSend_829Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_829 = __objc_msgSend_829Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer>)>(); - - late final _sel_scanCharactersFromSet_intoString_1 = - _registerName1("scanCharactersFromSet:intoString:"); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_829 = + __objc_msgSend_829Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + >(); + + late final _sel_scanCharactersFromSet_intoString_1 = objc.registerName( + "scanCharactersFromSet:intoString:", + ); bool _objc_msgSend_830( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer set1, - ffi.Pointer> result, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer set1, + ffi.Pointer> result, ) { - return __objc_msgSend_830( - obj, - sel, - set1, - result, - ); + return __objc_msgSend_830(obj, sel, set1, result); } late final __objc_msgSend_830Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_830 = __objc_msgSend_830Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer>)>(); - - late final _sel_scanUpToString_intoString_1 = - _registerName1("scanUpToString:intoString:"); - late final _sel_scanUpToCharactersFromSet_intoString_1 = - _registerName1("scanUpToCharactersFromSet:intoString:"); - late final _sel_isAtEnd1 = _registerName1("isAtEnd"); - late final _sel_scannerWithString_1 = _registerName1("scannerWithString:"); - late final _sel_localizedScannerWithString_1 = - _registerName1("localizedScannerWithString:"); - late final _sel_scanDecimal_1 = _registerName1("scanDecimal:"); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_830 = + __objc_msgSend_830Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + >(); + + late final _sel_scanUpToString_intoString_1 = objc.registerName( + "scanUpToString:intoString:", + ); + late final _sel_scanUpToCharactersFromSet_intoString_1 = objc.registerName( + "scanUpToCharactersFromSet:intoString:", + ); + late final _sel_isAtEnd1 = objc.registerName("isAtEnd"); + late final _sel_scannerWithString_1 = objc.registerName("scannerWithString:"); + late final _sel_localizedScannerWithString_1 = objc.registerName( + "localizedScannerWithString:", + ); + late final _sel_scanDecimal_1 = objc.registerName("scanDecimal:"); bool _objc_msgSend_831( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ffi.Pointer dcm, ) { - return __objc_msgSend_831( - obj, - sel, - dcm, - ); + return __objc_msgSend_831(obj, sel, dcm); } late final __objc_msgSend_831Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_831 = __objc_msgSend_831Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _class_NSException1 = _getClass1("NSException"); - late final _sel_exceptionWithName_reason_userInfo_1 = - _registerName1("exceptionWithName:reason:userInfo:"); - ffi.Pointer _objc_msgSend_832( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer name, - ffi.Pointer reason, - ffi.Pointer userInfo, - ) { - return __objc_msgSend_832( - obj, - sel, - name, - reason, - userInfo, - ); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_831 = + __objc_msgSend_831Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _class_NSException1 = objc.getClass("NSException"); + late final _sel_exceptionWithName_reason_userInfo_1 = objc.registerName( + "exceptionWithName:reason:userInfo:", + ); + ffi.Pointer _objc_msgSend_832( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer name, + ffi.Pointer reason, + ffi.Pointer userInfo, + ) { + return __objc_msgSend_832(obj, sel, name, reason, userInfo); } late final __objc_msgSend_832Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_832 = __objc_msgSend_832Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_initWithName_reason_userInfo_1 = - _registerName1("initWithName:reason:userInfo:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_832 = + __objc_msgSend_832Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_initWithName_reason_userInfo_1 = objc.registerName( + "initWithName:reason:userInfo:", + ); instancetype _objc_msgSend_833( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aName, - ffi.Pointer aReason, - ffi.Pointer aUserInfo, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer aName, + ffi.Pointer aReason, + ffi.Pointer aUserInfo, ) { - return __objc_msgSend_833( - obj, - sel, - aName, - aReason, - aUserInfo, - ); + return __objc_msgSend_833(obj, sel, aName, aReason, aUserInfo); } late final __objc_msgSend_833Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_833 = __objc_msgSend_833Ptr.asFunction< + ffi.NativeFunction< instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_reason1 = _registerName1("reason"); - late final _sel_raise1 = _registerName1("raise"); - late final _sel_raise_format_1 = _registerName1("raise:format:"); - late final _sel_raise_format_arguments_1 = - _registerName1("raise:format:arguments:"); + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_833 = + __objc_msgSend_833Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_reason1 = objc.registerName("reason"); + late final _sel_raise1 = objc.registerName("raise"); + late final _sel_raise_format_1 = objc.registerName("raise:format:"); + late final _sel_raise_format_arguments_1 = objc.registerName( + "raise:format:arguments:", + ); void _objc_msgSend_834( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer name, - ffi.Pointer format, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer name, + ffi.Pointer format, ffi.Pointer<__va_list_tag> argList, ) { - return __objc_msgSend_834( - obj, - sel, - name, - format, - argList, - ); + return __objc_msgSend_834(obj, sel, name, format, argList); } late final __objc_msgSend_834Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<__va_list_tag>)>>('objc_msgSend'); - late final __objc_msgSend_834 = __objc_msgSend_834Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<__va_list_tag>)>(); - - late final _class_NSFileHandle1 = _getClass1("NSFileHandle"); - late final _sel_availableData1 = _registerName1("availableData"); - late final _sel_initWithFileDescriptor_closeOnDealloc_1 = - _registerName1("initWithFileDescriptor:closeOnDealloc:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<__va_list_tag>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_834 = + __objc_msgSend_834Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<__va_list_tag>, + ) + >(); + + late final _class_NSFileHandle1 = objc.getClass("NSFileHandle"); + late final _sel_availableData1 = objc.registerName("availableData"); + late final _sel_initWithFileDescriptor_closeOnDealloc_1 = objc.registerName( + "initWithFileDescriptor:closeOnDealloc:", + ); instancetype _objc_msgSend_835( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int fd, bool closeopt, ) { - return __objc_msgSend_835( - obj, - sel, - fd, - closeopt, - ); + return __objc_msgSend_835(obj, sel, fd, closeopt); } late final __objc_msgSend_835Ptr = _lookup< - ffi.NativeFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Int, ffi.Bool)>>('objc_msgSend'); - late final __objc_msgSend_835 = __objc_msgSend_835Ptr.asFunction< + ffi.NativeFunction< instancetype Function( - ffi.Pointer, ffi.Pointer, int, bool)>(); + ffi.Pointer, + ffi.Pointer, + ffi.Int, + ffi.Bool, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_835 = + __objc_msgSend_835Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + int, + bool, + ) + >(); - late final _sel_readDataToEndOfFileAndReturnError_1 = - _registerName1("readDataToEndOfFileAndReturnError:"); - ffi.Pointer _objc_msgSend_836( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer> error, + late final _sel_readDataToEndOfFileAndReturnError_1 = objc.registerName( + "readDataToEndOfFileAndReturnError:", + ); + ffi.Pointer _objc_msgSend_836( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer> error, ) { - return __objc_msgSend_836( - obj, - sel, - error, - ); + return __objc_msgSend_836(obj, sel, error); } late final __objc_msgSend_836Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_836 = __objc_msgSend_836Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer>)>(); - - late final _sel_readDataUpToLength_error_1 = - _registerName1("readDataUpToLength:error:"); - ffi.Pointer _objc_msgSend_837( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_836 = + __objc_msgSend_836Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + >(); + + late final _sel_readDataUpToLength_error_1 = objc.registerName( + "readDataUpToLength:error:", + ); + ffi.Pointer _objc_msgSend_837( + ffi.Pointer obj, + ffi.Pointer sel, int length, - ffi.Pointer> error, + ffi.Pointer> error, ) { - return __objc_msgSend_837( - obj, - sel, - length, - error, - ); + return __objc_msgSend_837(obj, sel, length, error); } late final __objc_msgSend_837Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_837 = __objc_msgSend_837Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, int, ffi.Pointer>)>(); - - late final _sel_writeData_error_1 = _registerName1("writeData:error:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_837 = + __objc_msgSend_837Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer>, + ) + >(); + + late final _sel_writeData_error_1 = objc.registerName("writeData:error:"); bool _objc_msgSend_838( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer data, - ffi.Pointer> error, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer data, + ffi.Pointer> error, ) { - return __objc_msgSend_838( - obj, - sel, - data, - error, - ); + return __objc_msgSend_838(obj, sel, data, error); } late final __objc_msgSend_838Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_838 = __objc_msgSend_838Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer>)>(); - - late final _sel_getOffset_error_1 = _registerName1("getOffset:error:"); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_838 = + __objc_msgSend_838Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + >(); + + late final _sel_getOffset_error_1 = objc.registerName("getOffset:error:"); bool _objc_msgSend_839( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ffi.Pointer offsetInFile, - ffi.Pointer> error, + ffi.Pointer> error, ) { - return __objc_msgSend_839( - obj, - sel, - offsetInFile, - error, - ); + return __objc_msgSend_839(obj, sel, offsetInFile, error); } late final __objc_msgSend_839Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_839 = + __objc_msgSend_839Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, ffi.Pointer, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_839 = __objc_msgSend_839Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>(); - - late final _sel_seekToEndReturningOffset_error_1 = - _registerName1("seekToEndReturningOffset:error:"); - late final _sel_seekToOffset_error_1 = _registerName1("seekToOffset:error:"); + ffi.Pointer>, + ) + >(); + + late final _sel_seekToEndReturningOffset_error_1 = objc.registerName( + "seekToEndReturningOffset:error:", + ); + late final _sel_seekToOffset_error_1 = objc.registerName( + "seekToOffset:error:", + ); bool _objc_msgSend_840( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int offset, - ffi.Pointer> error, + ffi.Pointer> error, ) { - return __objc_msgSend_840( - obj, - sel, - offset, - error, - ); + return __objc_msgSend_840(obj, sel, offset, error); } late final __objc_msgSend_840Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLongLong, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_840 = __objc_msgSend_840Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, int, - ffi.Pointer>)>(); - - late final _sel_truncateAtOffset_error_1 = - _registerName1("truncateAtOffset:error:"); - late final _sel_synchronizeAndReturnError_1 = - _registerName1("synchronizeAndReturnError:"); - late final _sel_closeAndReturnError_1 = - _registerName1("closeAndReturnError:"); - late final _sel_fileHandleWithStandardInput1 = - _registerName1("fileHandleWithStandardInput"); - ffi.Pointer _objc_msgSend_841( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_841( - obj, - sel, - ); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLongLong, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_840 = + __objc_msgSend_840Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer>, + ) + >(); + + late final _sel_truncateAtOffset_error_1 = objc.registerName( + "truncateAtOffset:error:", + ); + late final _sel_synchronizeAndReturnError_1 = objc.registerName( + "synchronizeAndReturnError:", + ); + late final _sel_closeAndReturnError_1 = objc.registerName( + "closeAndReturnError:", + ); + late final _sel_fileHandleWithStandardInput1 = objc.registerName( + "fileHandleWithStandardInput", + ); + ffi.Pointer _objc_msgSend_841( + ffi.Pointer obj, + ffi.Pointer sel, + ) { + return __objc_msgSend_841(obj, sel); } late final __objc_msgSend_841Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_841 = __objc_msgSend_841Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_fileHandleWithStandardOutput1 = - _registerName1("fileHandleWithStandardOutput"); - late final _sel_fileHandleWithStandardError1 = - _registerName1("fileHandleWithStandardError"); - late final _sel_fileHandleWithNullDevice1 = - _registerName1("fileHandleWithNullDevice"); - late final _sel_fileHandleForReadingAtPath_1 = - _registerName1("fileHandleForReadingAtPath:"); - late final _sel_fileHandleForWritingAtPath_1 = - _registerName1("fileHandleForWritingAtPath:"); - late final _sel_fileHandleForUpdatingAtPath_1 = - _registerName1("fileHandleForUpdatingAtPath:"); - late final _sel_fileHandleForReadingFromURL_error_1 = - _registerName1("fileHandleForReadingFromURL:error:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_841 = + __objc_msgSend_841Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_fileHandleWithStandardOutput1 = objc.registerName( + "fileHandleWithStandardOutput", + ); + late final _sel_fileHandleWithStandardError1 = objc.registerName( + "fileHandleWithStandardError", + ); + late final _sel_fileHandleWithNullDevice1 = objc.registerName( + "fileHandleWithNullDevice", + ); + late final _sel_fileHandleForReadingAtPath_1 = objc.registerName( + "fileHandleForReadingAtPath:", + ); + late final _sel_fileHandleForWritingAtPath_1 = objc.registerName( + "fileHandleForWritingAtPath:", + ); + late final _sel_fileHandleForUpdatingAtPath_1 = objc.registerName( + "fileHandleForUpdatingAtPath:", + ); + late final _sel_fileHandleForReadingFromURL_error_1 = objc.registerName( + "fileHandleForReadingFromURL:error:", + ); instancetype _objc_msgSend_842( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, - ffi.Pointer> error, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer url, + ffi.Pointer> error, ) { - return __objc_msgSend_842( - obj, - sel, - url, - error, - ); + return __objc_msgSend_842(obj, sel, url, error); } late final __objc_msgSend_842Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_842 = __objc_msgSend_842Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer>)>(); - - late final _sel_fileHandleForWritingToURL_error_1 = - _registerName1("fileHandleForWritingToURL:error:"); - late final _sel_fileHandleForUpdatingURL_error_1 = - _registerName1("fileHandleForUpdatingURL:error:"); - late final _sel_readInBackgroundAndNotifyForModes_1 = - _registerName1("readInBackgroundAndNotifyForModes:"); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_842 = + __objc_msgSend_842Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + >(); + + late final _sel_fileHandleForWritingToURL_error_1 = objc.registerName( + "fileHandleForWritingToURL:error:", + ); + late final _sel_fileHandleForUpdatingURL_error_1 = objc.registerName( + "fileHandleForUpdatingURL:error:", + ); + late final _sel_readInBackgroundAndNotifyForModes_1 = objc.registerName( + "readInBackgroundAndNotifyForModes:", + ); void _objc_msgSend_843( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer modes, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer modes, ) { - return __objc_msgSend_843( - obj, - sel, - modes, - ); + return __objc_msgSend_843(obj, sel, modes); } late final __objc_msgSend_843Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_843 = __objc_msgSend_843Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_readInBackgroundAndNotify1 = - _registerName1("readInBackgroundAndNotify"); - late final _sel_readToEndOfFileInBackgroundAndNotifyForModes_1 = - _registerName1("readToEndOfFileInBackgroundAndNotifyForModes:"); - late final _sel_readToEndOfFileInBackgroundAndNotify1 = - _registerName1("readToEndOfFileInBackgroundAndNotify"); - late final _sel_acceptConnectionInBackgroundAndNotifyForModes_1 = - _registerName1("acceptConnectionInBackgroundAndNotifyForModes:"); - late final _sel_acceptConnectionInBackgroundAndNotify1 = - _registerName1("acceptConnectionInBackgroundAndNotify"); - late final _sel_waitForDataInBackgroundAndNotifyForModes_1 = - _registerName1("waitForDataInBackgroundAndNotifyForModes:"); - late final _sel_waitForDataInBackgroundAndNotify1 = - _registerName1("waitForDataInBackgroundAndNotify"); - late final _sel_readabilityHandler1 = _registerName1("readabilityHandler"); - ffi.Pointer<_ObjCBlock> _objc_msgSend_844( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_844( - obj, - sel, - ); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_843 = + __objc_msgSend_843Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_readInBackgroundAndNotify1 = objc.registerName( + "readInBackgroundAndNotify", + ); + late final _sel_readToEndOfFileInBackgroundAndNotifyForModes_1 = objc + .registerName("readToEndOfFileInBackgroundAndNotifyForModes:"); + late final _sel_readToEndOfFileInBackgroundAndNotify1 = objc.registerName( + "readToEndOfFileInBackgroundAndNotify", + ); + late final _sel_acceptConnectionInBackgroundAndNotifyForModes_1 = objc + .registerName("acceptConnectionInBackgroundAndNotifyForModes:"); + late final _sel_acceptConnectionInBackgroundAndNotify1 = objc.registerName( + "acceptConnectionInBackgroundAndNotify", + ); + late final _sel_waitForDataInBackgroundAndNotifyForModes_1 = objc + .registerName("waitForDataInBackgroundAndNotifyForModes:"); + late final _sel_waitForDataInBackgroundAndNotify1 = objc.registerName( + "waitForDataInBackgroundAndNotify", + ); + late final _sel_readabilityHandler1 = objc.registerName("readabilityHandler"); + ffi.Pointer _objc_msgSend_844( + ffi.Pointer obj, + ffi.Pointer sel, + ) { + return __objc_msgSend_844(obj, sel); } late final __objc_msgSend_844Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer<_ObjCBlock> Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_844 = __objc_msgSend_844Ptr.asFunction< - ffi.Pointer<_ObjCBlock> Function( - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_setReadabilityHandler_1 = - _registerName1("setReadabilityHandler:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_844 = + __objc_msgSend_844Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_setReadabilityHandler_1 = objc.registerName( + "setReadabilityHandler:", + ); void _objc_msgSend_845( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer<_ObjCBlock> value, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value, ) { - return __objc_msgSend_845( - obj, - sel, - value, - ); + return __objc_msgSend_845(obj, sel, value); } late final __objc_msgSend_845Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_845 = __objc_msgSend_845Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_writeabilityHandler1 = _registerName1("writeabilityHandler"); - late final _sel_setWriteabilityHandler_1 = - _registerName1("setWriteabilityHandler:"); - late final _sel_initWithFileDescriptor_1 = - _registerName1("initWithFileDescriptor:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_845 = + __objc_msgSend_845Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_writeabilityHandler1 = objc.registerName( + "writeabilityHandler", + ); + late final _sel_setWriteabilityHandler_1 = objc.registerName( + "setWriteabilityHandler:", + ); + late final _sel_initWithFileDescriptor_1 = objc.registerName( + "initWithFileDescriptor:", + ); instancetype _objc_msgSend_846( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int fd, ) { - return __objc_msgSend_846( - obj, - sel, - fd, - ); + return __objc_msgSend_846(obj, sel, fd); } late final __objc_msgSend_846Ptr = _lookup< - ffi.NativeFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Int)>>('objc_msgSend'); - late final __objc_msgSend_846 = __objc_msgSend_846Ptr.asFunction< + ffi.NativeFunction< instancetype Function( - ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_fileDescriptor1 = _registerName1("fileDescriptor"); - late final _sel_readDataToEndOfFile1 = _registerName1("readDataToEndOfFile"); - late final _sel_readDataOfLength_1 = _registerName1("readDataOfLength:"); - ffi.Pointer _objc_msgSend_847( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer, + ffi.Pointer, + ffi.Int, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_846 = + __objc_msgSend_846Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_fileDescriptor1 = objc.registerName("fileDescriptor"); + late final _sel_readDataToEndOfFile1 = objc.registerName( + "readDataToEndOfFile", + ); + late final _sel_readDataOfLength_1 = objc.registerName("readDataOfLength:"); + ffi.Pointer _objc_msgSend_847( + ffi.Pointer obj, + ffi.Pointer sel, int length, ) { - return __objc_msgSend_847( - obj, - sel, - length, - ); + return __objc_msgSend_847(obj, sel, length); } late final __objc_msgSend_847Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.UnsignedLong)>>('objc_msgSend'); - late final __objc_msgSend_847 = __objc_msgSend_847Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_offsetInFile1 = _registerName1("offsetInFile"); - late final _sel_seekToEndOfFile1 = _registerName1("seekToEndOfFile"); - late final _sel_seekToFileOffset_1 = _registerName1("seekToFileOffset:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_847 = + __objc_msgSend_847Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_offsetInFile1 = objc.registerName("offsetInFile"); + late final _sel_seekToEndOfFile1 = objc.registerName("seekToEndOfFile"); + late final _sel_seekToFileOffset_1 = objc.registerName("seekToFileOffset:"); void _objc_msgSend_848( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int offset, ) { - return __objc_msgSend_848( - obj, - sel, - offset, - ); + return __objc_msgSend_848(obj, sel, offset); } late final __objc_msgSend_848Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.UnsignedLongLong)>>('objc_msgSend'); - late final __objc_msgSend_848 = __objc_msgSend_848Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_truncateFileAtOffset_1 = - _registerName1("truncateFileAtOffset:"); - late final _sel_synchronizeFile1 = _registerName1("synchronizeFile"); - late final _sel_closeFile1 = _registerName1("closeFile"); - late final _class_NSHTTPCookieStorage1 = _getClass1("NSHTTPCookieStorage"); - late final _sel_sharedHTTPCookieStorage1 = - _registerName1("sharedHTTPCookieStorage"); - ffi.Pointer _objc_msgSend_849( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_849( - obj, - sel, - ); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLongLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_848 = + __objc_msgSend_848Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_truncateFileAtOffset_1 = objc.registerName( + "truncateFileAtOffset:", + ); + late final _sel_synchronizeFile1 = objc.registerName("synchronizeFile"); + late final _sel_closeFile1 = objc.registerName("closeFile"); + late final _class_NSHTTPCookieStorage1 = objc.getClass("NSHTTPCookieStorage"); + late final _sel_sharedHTTPCookieStorage1 = objc.registerName( + "sharedHTTPCookieStorage", + ); + ffi.Pointer _objc_msgSend_849( + ffi.Pointer obj, + ffi.Pointer sel, + ) { + return __objc_msgSend_849(obj, sel); } late final __objc_msgSend_849Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_849 = __objc_msgSend_849Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_sharedCookieStorageForGroupContainerIdentifier_1 = - _registerName1("sharedCookieStorageForGroupContainerIdentifier:"); - ffi.Pointer _objc_msgSend_850( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer identifier, - ) { - return __objc_msgSend_850( - obj, - sel, - identifier, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_849 = + __objc_msgSend_849Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_sharedCookieStorageForGroupContainerIdentifier_1 = objc + .registerName("sharedCookieStorageForGroupContainerIdentifier:"); + ffi.Pointer _objc_msgSend_850( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer identifier, + ) { + return __objc_msgSend_850(obj, sel, identifier); } late final __objc_msgSend_850Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_850 = __objc_msgSend_850Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_cookies1 = _registerName1("cookies"); - late final _class_NSHTTPCookie1 = _getClass1("NSHTTPCookie"); - late final _sel_initWithProperties_1 = _registerName1("initWithProperties:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_850 = + __objc_msgSend_850Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_cookies1 = objc.registerName("cookies"); + late final _class_NSHTTPCookie1 = objc.getClass("NSHTTPCookie"); + late final _sel_initWithProperties_1 = objc.registerName( + "initWithProperties:", + ); instancetype _objc_msgSend_851( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer properties, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer properties, ) { - return __objc_msgSend_851( - obj, - sel, - properties, - ); + return __objc_msgSend_851(obj, sel, properties); } late final __objc_msgSend_851Ptr = _lookup< - ffi.NativeFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_851 = __objc_msgSend_851Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_cookieWithProperties_1 = - _registerName1("cookieWithProperties:"); - ffi.Pointer _objc_msgSend_852( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer properties, - ) { - return __objc_msgSend_852( - obj, - sel, - properties, - ); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_851 = + __objc_msgSend_851Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_cookieWithProperties_1 = objc.registerName( + "cookieWithProperties:", + ); + ffi.Pointer _objc_msgSend_852( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer properties, + ) { + return __objc_msgSend_852(obj, sel, properties); } late final __objc_msgSend_852Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_852 = __objc_msgSend_852Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_requestHeaderFieldsWithCookies_1 = - _registerName1("requestHeaderFieldsWithCookies:"); - late final _sel_cookiesWithResponseHeaderFields_forURL_1 = - _registerName1("cookiesWithResponseHeaderFields:forURL:"); - ffi.Pointer _objc_msgSend_853( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer headerFields, - ffi.Pointer URL, - ) { - return __objc_msgSend_853( - obj, - sel, - headerFields, - URL, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_852 = + __objc_msgSend_852Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_requestHeaderFieldsWithCookies_1 = objc.registerName( + "requestHeaderFieldsWithCookies:", + ); + late final _sel_cookiesWithResponseHeaderFields_forURL_1 = objc.registerName( + "cookiesWithResponseHeaderFields:forURL:", + ); + ffi.Pointer _objc_msgSend_853( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer headerFields, + ffi.Pointer URL, + ) { + return __objc_msgSend_853(obj, sel, headerFields, URL); } late final __objc_msgSend_853Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_853 = __objc_msgSend_853Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_properties1 = _registerName1("properties"); - late final _sel_value1 = _registerName1("value"); - late final _sel_expiresDate1 = _registerName1("expiresDate"); - late final _sel_isSessionOnly1 = _registerName1("isSessionOnly"); - late final _sel_isSecure1 = _registerName1("isSecure"); - late final _sel_isHTTPOnly1 = _registerName1("isHTTPOnly"); - late final _sel_comment1 = _registerName1("comment"); - late final _sel_commentURL1 = _registerName1("commentURL"); - late final _sel_portList1 = _registerName1("portList"); - late final _sel_sameSitePolicy1 = _registerName1("sameSitePolicy"); - late final _sel_setCookie_1 = _registerName1("setCookie:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_853 = + __objc_msgSend_853Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_properties1 = objc.registerName("properties"); + late final _sel_value1 = objc.registerName("value"); + late final _sel_expiresDate1 = objc.registerName("expiresDate"); + late final _sel_isSessionOnly1 = objc.registerName("isSessionOnly"); + late final _sel_isSecure1 = objc.registerName("isSecure"); + late final _sel_isHTTPOnly1 = objc.registerName("isHTTPOnly"); + late final _sel_comment1 = objc.registerName("comment"); + late final _sel_commentURL1 = objc.registerName("commentURL"); + late final _sel_portList1 = objc.registerName("portList"); + late final _sel_sameSitePolicy1 = objc.registerName("sameSitePolicy"); + late final _sel_setCookie_1 = objc.registerName("setCookie:"); void _objc_msgSend_854( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer cookie, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer cookie, ) { - return __objc_msgSend_854( - obj, - sel, - cookie, - ); + return __objc_msgSend_854(obj, sel, cookie); } late final __objc_msgSend_854Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_854 = __objc_msgSend_854Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_deleteCookie_1 = _registerName1("deleteCookie:"); - late final _sel_removeCookiesSinceDate_1 = - _registerName1("removeCookiesSinceDate:"); - late final _sel_cookiesForURL_1 = _registerName1("cookiesForURL:"); - late final _sel_setCookies_forURL_mainDocumentURL_1 = - _registerName1("setCookies:forURL:mainDocumentURL:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_854 = + __objc_msgSend_854Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_deleteCookie_1 = objc.registerName("deleteCookie:"); + late final _sel_removeCookiesSinceDate_1 = objc.registerName( + "removeCookiesSinceDate:", + ); + late final _sel_cookiesForURL_1 = objc.registerName("cookiesForURL:"); + late final _sel_setCookies_forURL_mainDocumentURL_1 = objc.registerName( + "setCookies:forURL:mainDocumentURL:", + ); void _objc_msgSend_855( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer cookies, - ffi.Pointer URL, - ffi.Pointer mainDocumentURL, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer cookies, + ffi.Pointer URL, + ffi.Pointer mainDocumentURL, ) { - return __objc_msgSend_855( - obj, - sel, - cookies, - URL, - mainDocumentURL, - ); + return __objc_msgSend_855(obj, sel, cookies, URL, mainDocumentURL); } late final __objc_msgSend_855Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_855 = __objc_msgSend_855Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_cookieAcceptPolicy1 = _registerName1("cookieAcceptPolicy"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_855 = + __objc_msgSend_855Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_cookieAcceptPolicy1 = objc.registerName("cookieAcceptPolicy"); int _objc_msgSend_856( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_856( - obj, - sel, - ); + return __objc_msgSend_856(obj, sel); } late final __objc_msgSend_856Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_856 = __objc_msgSend_856Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer)>(); - - late final _sel_setCookieAcceptPolicy_1 = - _registerName1("setCookieAcceptPolicy:"); + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_856 = + __objc_msgSend_856Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_setCookieAcceptPolicy_1 = objc.registerName( + "setCookieAcceptPolicy:", + ); void _objc_msgSend_857( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int value, ) { - return __objc_msgSend_857( - obj, - sel, - value, - ); + return __objc_msgSend_857(obj, sel, value); } late final __objc_msgSend_857Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_857 = __objc_msgSend_857Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_sortedCookiesUsingDescriptors_1 = - _registerName1("sortedCookiesUsingDescriptors:"); - late final _class_NSURLSessionTask1 = _getClass1("NSURLSessionTask"); - late final _sel_taskIdentifier1 = _registerName1("taskIdentifier"); - late final _class_NSURLRequest1 = _getClass1("NSURLRequest"); - late final _sel_requestWithURL_1 = _registerName1("requestWithURL:"); - late final _sel_supportsSecureCoding1 = - _registerName1("supportsSecureCoding"); - late final _sel_requestWithURL_cachePolicy_timeoutInterval_1 = - _registerName1("requestWithURL:cachePolicy:timeoutInterval:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_857 = + __objc_msgSend_857Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_sortedCookiesUsingDescriptors_1 = objc.registerName( + "sortedCookiesUsingDescriptors:", + ); + late final _class_NSURLSessionTask1 = objc.getClass("NSURLSessionTask"); + late final _sel_taskIdentifier1 = objc.registerName("taskIdentifier"); + late final _class_NSURLRequest1 = objc.getClass("NSURLRequest"); + late final _sel_requestWithURL_1 = objc.registerName("requestWithURL:"); + late final _sel_supportsSecureCoding1 = objc.registerName( + "supportsSecureCoding", + ); + late final _sel_requestWithURL_cachePolicy_timeoutInterval_1 = objc + .registerName("requestWithURL:cachePolicy:timeoutInterval:"); instancetype _objc_msgSend_858( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer URL, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer URL, int cachePolicy, double timeoutInterval, ) { - return __objc_msgSend_858( - obj, - sel, - URL, - cachePolicy, - timeoutInterval, - ); + return __objc_msgSend_858(obj, sel, URL, cachePolicy, timeoutInterval); } late final __objc_msgSend_858Ptr = _lookup< - ffi.NativeFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Int32, ffi.Double)>>('objc_msgSend'); - late final __objc_msgSend_858 = __objc_msgSend_858Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int, double)>(); - - late final _sel_initWithURL_cachePolicy_timeoutInterval_1 = - _registerName1("initWithURL:cachePolicy:timeoutInterval:"); - late final _sel_URL1 = _registerName1("URL"); - late final _sel_cachePolicy1 = _registerName1("cachePolicy"); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Double, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_858 = + __objc_msgSend_858Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + double, + ) + >(); + + late final _sel_initWithURL_cachePolicy_timeoutInterval_1 = objc.registerName( + "initWithURL:cachePolicy:timeoutInterval:", + ); + late final _sel_URL1 = objc.registerName("URL"); + late final _sel_cachePolicy1 = objc.registerName("cachePolicy"); int _objc_msgSend_859( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_859( - obj, - sel, - ); + return __objc_msgSend_859(obj, sel); } late final __objc_msgSend_859Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_859 = __objc_msgSend_859Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer)>(); - - late final _sel_timeoutInterval1 = _registerName1("timeoutInterval"); - late final _sel_mainDocumentURL1 = _registerName1("mainDocumentURL"); - late final _sel_networkServiceType1 = _registerName1("networkServiceType"); + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_859 = + __objc_msgSend_859Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_timeoutInterval1 = objc.registerName("timeoutInterval"); + late final _sel_mainDocumentURL1 = objc.registerName("mainDocumentURL"); + late final _sel_networkServiceType1 = objc.registerName("networkServiceType"); int _objc_msgSend_860( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_860( - obj, - sel, - ); + return __objc_msgSend_860(obj, sel); } late final __objc_msgSend_860Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_860 = __objc_msgSend_860Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer)>(); - - late final _sel_allowsCellularAccess1 = - _registerName1("allowsCellularAccess"); - late final _sel_allowsExpensiveNetworkAccess1 = - _registerName1("allowsExpensiveNetworkAccess"); - late final _sel_allowsConstrainedNetworkAccess1 = - _registerName1("allowsConstrainedNetworkAccess"); - late final _sel_assumesHTTP3Capable1 = _registerName1("assumesHTTP3Capable"); - late final _sel_attribution1 = _registerName1("attribution"); + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_860 = + __objc_msgSend_860Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_allowsCellularAccess1 = objc.registerName( + "allowsCellularAccess", + ); + late final _sel_allowsExpensiveNetworkAccess1 = objc.registerName( + "allowsExpensiveNetworkAccess", + ); + late final _sel_allowsConstrainedNetworkAccess1 = objc.registerName( + "allowsConstrainedNetworkAccess", + ); + late final _sel_assumesHTTP3Capable1 = objc.registerName( + "assumesHTTP3Capable", + ); + late final _sel_attribution1 = objc.registerName("attribution"); int _objc_msgSend_861( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_861( - obj, - sel, - ); + return __objc_msgSend_861(obj, sel); } late final __objc_msgSend_861Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_861 = __objc_msgSend_861Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer)>(); - - late final _sel_requiresDNSSECValidation1 = - _registerName1("requiresDNSSECValidation"); - late final _sel_HTTPMethod1 = _registerName1("HTTPMethod"); - late final _sel_allHTTPHeaderFields1 = _registerName1("allHTTPHeaderFields"); - late final _sel_valueForHTTPHeaderField_1 = - _registerName1("valueForHTTPHeaderField:"); - late final _sel_HTTPBody1 = _registerName1("HTTPBody"); - late final _class_NSInputStream1 = _getClass1("NSInputStream"); - late final _class_NSStream1 = _getClass1("NSStream"); - late final _sel_open1 = _registerName1("open"); - late final _sel_close1 = _registerName1("close"); + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_861 = + __objc_msgSend_861Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_requiresDNSSECValidation1 = objc.registerName( + "requiresDNSSECValidation", + ); + late final _sel_HTTPMethod1 = objc.registerName("HTTPMethod"); + late final _sel_allHTTPHeaderFields1 = objc.registerName( + "allHTTPHeaderFields", + ); + late final _sel_valueForHTTPHeaderField_1 = objc.registerName( + "valueForHTTPHeaderField:", + ); + late final _sel_HTTPBody1 = objc.registerName("HTTPBody"); + late final _class_NSInputStream1 = objc.getClass("NSInputStream"); + late final _class_NSStream1 = objc.getClass("NSStream"); + late final _sel_open1 = objc.registerName("open"); + late final _sel_close1 = objc.registerName("close"); bool _objc_msgSend_862( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer property, - ffi.Pointer key, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer property, + ffi.Pointer key, ) { - return __objc_msgSend_862( - obj, - sel, - property, - key, - ); + return __objc_msgSend_862(obj, sel, property, key); } late final __objc_msgSend_862Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_862 = __objc_msgSend_862Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_streamStatus1 = _registerName1("streamStatus"); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_862 = + __objc_msgSend_862Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_streamStatus1 = objc.registerName("streamStatus"); int _objc_msgSend_863( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_863( - obj, - sel, - ); + return __objc_msgSend_863(obj, sel); } late final __objc_msgSend_863Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_863 = __objc_msgSend_863Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer)>(); - - late final _sel_streamError1 = _registerName1("streamError"); - late final _class_NSOutputStream1 = _getClass1("NSOutputStream"); - late final _sel_write_maxLength_1 = _registerName1("write:maxLength:"); + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_863 = + __objc_msgSend_863Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_streamError1 = objc.registerName("streamError"); + late final _class_NSOutputStream1 = objc.getClass("NSOutputStream"); + late final _sel_write_maxLength_1 = objc.registerName("write:maxLength:"); int _objc_msgSend_864( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ffi.Pointer buffer, int len, ) { - return __objc_msgSend_864( - obj, - sel, - buffer, - len, - ); + return __objc_msgSend_864(obj, sel, buffer, len); } late final __objc_msgSend_864Ptr = _lookup< - ffi.NativeFunction< - ffi.Long Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.UnsignedLong)>>('objc_msgSend'); - late final __objc_msgSend_864 = __objc_msgSend_864Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int)>(); - - late final _sel_hasSpaceAvailable1 = _registerName1("hasSpaceAvailable"); - late final _sel_initToMemory1 = _registerName1("initToMemory"); - late final _sel_initToBuffer_capacity_1 = - _registerName1("initToBuffer:capacity:"); + ffi.NativeFunction< + ffi.Long Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_864 = + __objc_msgSend_864Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_hasSpaceAvailable1 = objc.registerName("hasSpaceAvailable"); + late final _sel_initToMemory1 = objc.registerName("initToMemory"); + late final _sel_initToBuffer_capacity_1 = objc.registerName( + "initToBuffer:capacity:", + ); instancetype _objc_msgSend_865( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ffi.Pointer buffer, int capacity, ) { - return __objc_msgSend_865( - obj, - sel, - buffer, - capacity, - ); + return __objc_msgSend_865(obj, sel, buffer, capacity); } late final __objc_msgSend_865Ptr = _lookup< - ffi.NativeFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.UnsignedLong)>>('objc_msgSend'); - late final __objc_msgSend_865 = __objc_msgSend_865Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int)>(); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_865 = + __objc_msgSend_865Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); - late final _sel_initWithURL_append_1 = _registerName1("initWithURL:append:"); + late final _sel_initWithURL_append_1 = objc.registerName( + "initWithURL:append:", + ); instancetype _objc_msgSend_866( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer url, bool shouldAppend, ) { - return __objc_msgSend_866( - obj, - sel, - url, - shouldAppend, - ); + return __objc_msgSend_866(obj, sel, url, shouldAppend); } late final __objc_msgSend_866Ptr = _lookup< - ffi.NativeFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Bool)>>('objc_msgSend'); - late final __objc_msgSend_866 = __objc_msgSend_866Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, bool)>(); - - late final _sel_initToFileAtPath_append_1 = - _registerName1("initToFileAtPath:append:"); - late final _sel_outputStreamToMemory1 = - _registerName1("outputStreamToMemory"); - late final _sel_outputStreamToBuffer_capacity_1 = - _registerName1("outputStreamToBuffer:capacity:"); - late final _sel_outputStreamToFileAtPath_append_1 = - _registerName1("outputStreamToFileAtPath:append:"); - late final _sel_outputStreamWithURL_append_1 = - _registerName1("outputStreamWithURL:append:"); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_866 = + __objc_msgSend_866Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool, + ) + >(); + + late final _sel_initToFileAtPath_append_1 = objc.registerName( + "initToFileAtPath:append:", + ); + late final _sel_outputStreamToMemory1 = objc.registerName( + "outputStreamToMemory", + ); + late final _sel_outputStreamToBuffer_capacity_1 = objc.registerName( + "outputStreamToBuffer:capacity:", + ); + late final _sel_outputStreamToFileAtPath_append_1 = objc.registerName( + "outputStreamToFileAtPath:append:", + ); + late final _sel_outputStreamWithURL_append_1 = objc.registerName( + "outputStreamWithURL:append:", + ); late final _sel_getStreamsToHostWithName_port_inputStream_outputStream_1 = - _registerName1("getStreamsToHostWithName:port:inputStream:outputStream:"); + objc.registerName( + "getStreamsToHostWithName:port:inputStream:outputStream:", + ); void _objc_msgSend_867( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer hostname, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer hostname, int port, - ffi.Pointer> inputStream, - ffi.Pointer> outputStream, + ffi.Pointer> inputStream, + ffi.Pointer> outputStream, ) { return __objc_msgSend_867( obj, @@ -24760,2852 +31084,3639 @@ class SwiftLibrary { } late final __objc_msgSend_867Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Long, - ffi.Pointer>, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_867 = __objc_msgSend_867Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>, - ffi.Pointer>)>(); - - late final _class_NSHost1 = _getClass1("NSHost"); - late final _sel_currentHost1 = _registerName1("currentHost"); - late final _sel_hostWithName_1 = _registerName1("hostWithName:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Long, + ffi.Pointer>, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_867 = + __objc_msgSend_867Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer>, + ffi.Pointer>, + ) + >(); + + late final _class_NSHost1 = objc.getClass("NSHost"); + late final _sel_currentHost1 = objc.registerName("currentHost"); + late final _sel_hostWithName_1 = objc.registerName("hostWithName:"); instancetype _objc_msgSend_868( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer name, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer name, ) { - return __objc_msgSend_868( - obj, - sel, - name, - ); + return __objc_msgSend_868(obj, sel, name); } late final __objc_msgSend_868Ptr = _lookup< - ffi.NativeFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_868 = __objc_msgSend_868Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_hostWithAddress_1 = _registerName1("hostWithAddress:"); - late final _sel_isEqualToHost_1 = _registerName1("isEqualToHost:"); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_868 = + __objc_msgSend_868Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_hostWithAddress_1 = objc.registerName("hostWithAddress:"); + late final _sel_isEqualToHost_1 = objc.registerName("isEqualToHost:"); bool _objc_msgSend_869( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aHost, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer aHost, ) { - return __objc_msgSend_869( - obj, - sel, - aHost, - ); + return __objc_msgSend_869(obj, sel, aHost); } late final __objc_msgSend_869Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_869 = __objc_msgSend_869Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_names1 = _registerName1("names"); - late final _sel_address1 = _registerName1("address"); - late final _sel_addresses1 = _registerName1("addresses"); - late final _sel_localizedName1 = _registerName1("localizedName"); - late final _sel_setHostCacheEnabled_1 = - _registerName1("setHostCacheEnabled:"); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_869 = + __objc_msgSend_869Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_names1 = objc.registerName("names"); + late final _sel_address1 = objc.registerName("address"); + late final _sel_addresses1 = objc.registerName("addresses"); + late final _sel_localizedName1 = objc.registerName("localizedName"); + late final _sel_setHostCacheEnabled_1 = objc.registerName( + "setHostCacheEnabled:", + ); void _objc_msgSend_870( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, bool flag, ) { - return __objc_msgSend_870( - obj, - sel, - flag, - ); + return __objc_msgSend_870(obj, sel, flag); } late final __objc_msgSend_870Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Bool)>>('objc_msgSend'); - late final __objc_msgSend_870 = __objc_msgSend_870Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, bool)>(); - - late final _sel_isHostCacheEnabled1 = _registerName1("isHostCacheEnabled"); - late final _sel_flushHostCache1 = _registerName1("flushHostCache"); - late final _sel_getStreamsToHost_port_inputStream_outputStream_1 = - _registerName1("getStreamsToHost:port:inputStream:outputStream:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_870 = + __objc_msgSend_870Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + bool, + ) + >(); + + late final _sel_isHostCacheEnabled1 = objc.registerName("isHostCacheEnabled"); + late final _sel_flushHostCache1 = objc.registerName("flushHostCache"); + late final _sel_getStreamsToHost_port_inputStream_outputStream_1 = objc + .registerName("getStreamsToHost:port:inputStream:outputStream:"); void _objc_msgSend_871( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer host, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer host, int port, - ffi.Pointer> inputStream, - ffi.Pointer> outputStream, + ffi.Pointer> inputStream, + ffi.Pointer> outputStream, ) { - return __objc_msgSend_871( - obj, - sel, - host, - port, - inputStream, - outputStream, - ); + return __objc_msgSend_871(obj, sel, host, port, inputStream, outputStream); } late final __objc_msgSend_871Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Long, - ffi.Pointer>, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_871 = __objc_msgSend_871Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>, - ffi.Pointer>)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Long, + ffi.Pointer>, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_871 = + __objc_msgSend_871Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer>, + ffi.Pointer>, + ) + >(); late final _sel_getBoundStreamsWithBufferSize_inputStream_outputStream_1 = - _registerName1("getBoundStreamsWithBufferSize:inputStream:outputStream:"); + objc.registerName( + "getBoundStreamsWithBufferSize:inputStream:outputStream:", + ); void _objc_msgSend_872( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int bufferSize, - ffi.Pointer> inputStream, - ffi.Pointer> outputStream, + ffi.Pointer> inputStream, + ffi.Pointer> outputStream, ) { - return __objc_msgSend_872( - obj, - sel, - bufferSize, - inputStream, - outputStream, - ); + return __objc_msgSend_872(obj, sel, bufferSize, inputStream, outputStream); } late final __objc_msgSend_872Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer>, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_872 = __objc_msgSend_872Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>, - ffi.Pointer>)>(); - - late final _sel_read_maxLength_1 = _registerName1("read:maxLength:"); - late final _sel_getBuffer_length_1 = _registerName1("getBuffer:length:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer>, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_872 = + __objc_msgSend_872Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer>, + ffi.Pointer>, + ) + >(); + + late final _sel_read_maxLength_1 = objc.registerName("read:maxLength:"); + late final _sel_getBuffer_length_1 = objc.registerName("getBuffer:length:"); bool _objc_msgSend_873( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ffi.Pointer> buffer, ffi.Pointer len, ) { - return __objc_msgSend_873( - obj, - sel, - buffer, - len, - ); + return __objc_msgSend_873(obj, sel, buffer, len); } late final __objc_msgSend_873Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_873 = + __objc_msgSend_873Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, ffi.Pointer>, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_873 = __objc_msgSend_873Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer)>(); - - late final _sel_hasBytesAvailable1 = _registerName1("hasBytesAvailable"); - late final _sel_initWithFileAtPath_1 = _registerName1("initWithFileAtPath:"); - late final _sel_inputStreamWithData_1 = - _registerName1("inputStreamWithData:"); + ffi.Pointer, + ) + >(); + + late final _sel_hasBytesAvailable1 = objc.registerName("hasBytesAvailable"); + late final _sel_initWithFileAtPath_1 = objc.registerName( + "initWithFileAtPath:", + ); + late final _sel_inputStreamWithData_1 = objc.registerName( + "inputStreamWithData:", + ); instancetype _objc_msgSend_874( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer data, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer data, ) { - return __objc_msgSend_874( - obj, - sel, - data, - ); + return __objc_msgSend_874(obj, sel, data); } late final __objc_msgSend_874Ptr = _lookup< - ffi.NativeFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_874 = __objc_msgSend_874Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_inputStreamWithFileAtPath_1 = - _registerName1("inputStreamWithFileAtPath:"); - late final _sel_inputStreamWithURL_1 = _registerName1("inputStreamWithURL:"); - late final _sel_HTTPBodyStream1 = _registerName1("HTTPBodyStream"); - ffi.Pointer _objc_msgSend_875( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_875( - obj, - sel, - ); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_874 = + __objc_msgSend_874Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_inputStreamWithFileAtPath_1 = objc.registerName( + "inputStreamWithFileAtPath:", + ); + late final _sel_inputStreamWithURL_1 = objc.registerName( + "inputStreamWithURL:", + ); + late final _sel_HTTPBodyStream1 = objc.registerName("HTTPBodyStream"); + ffi.Pointer _objc_msgSend_875( + ffi.Pointer obj, + ffi.Pointer sel, + ) { + return __objc_msgSend_875(obj, sel); } late final __objc_msgSend_875Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_875 = __objc_msgSend_875Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_HTTPShouldHandleCookies1 = - _registerName1("HTTPShouldHandleCookies"); - late final _sel_HTTPShouldUsePipelining1 = - _registerName1("HTTPShouldUsePipelining"); - late final _sel_originalRequest1 = _registerName1("originalRequest"); - ffi.Pointer _objc_msgSend_876( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_876( - obj, - sel, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_875 = + __objc_msgSend_875Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_HTTPShouldHandleCookies1 = objc.registerName( + "HTTPShouldHandleCookies", + ); + late final _sel_HTTPShouldUsePipelining1 = objc.registerName( + "HTTPShouldUsePipelining", + ); + late final _sel_originalRequest1 = objc.registerName("originalRequest"); + ffi.Pointer _objc_msgSend_876( + ffi.Pointer obj, + ffi.Pointer sel, + ) { + return __objc_msgSend_876(obj, sel); } late final __objc_msgSend_876Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_876 = __objc_msgSend_876Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_currentRequest1 = _registerName1("currentRequest"); - late final _class_NSURLResponse1 = _getClass1("NSURLResponse"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_876 = + __objc_msgSend_876Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_currentRequest1 = objc.registerName("currentRequest"); + late final _class_NSURLResponse1 = objc.getClass("NSURLResponse"); late final _sel_initWithURL_MIMEType_expectedContentLength_textEncodingName_1 = - _registerName1( - "initWithURL:MIMEType:expectedContentLength:textEncodingName:"); + objc.registerName( + "initWithURL:MIMEType:expectedContentLength:textEncodingName:", + ); instancetype _objc_msgSend_877( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer URL, - ffi.Pointer MIMEType, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer URL, + ffi.Pointer MIMEType, int length, - ffi.Pointer name, + ffi.Pointer name, ) { - return __objc_msgSend_877( - obj, - sel, - URL, - MIMEType, - length, - name, - ); + return __objc_msgSend_877(obj, sel, URL, MIMEType, length, name); } late final __objc_msgSend_877Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Long, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_877 = __objc_msgSend_877Ptr.asFunction< + ffi.NativeFunction< instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer)>(); - - late final _sel_MIMEType1 = _registerName1("MIMEType"); - late final _sel_expectedContentLength1 = - _registerName1("expectedContentLength"); - late final _sel_textEncodingName1 = _registerName1("textEncodingName"); - late final _sel_suggestedFilename1 = _registerName1("suggestedFilename"); - late final _sel_response1 = _registerName1("response"); - ffi.Pointer _objc_msgSend_878( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_878( - obj, - sel, - ); + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Long, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_877 = + __objc_msgSend_877Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ) + >(); + + late final _sel_MIMEType1 = objc.registerName("MIMEType"); + late final _sel_expectedContentLength1 = objc.registerName( + "expectedContentLength", + ); + late final _sel_textEncodingName1 = objc.registerName("textEncodingName"); + late final _sel_suggestedFilename1 = objc.registerName("suggestedFilename"); + late final _sel_response1 = objc.registerName("response"); + ffi.Pointer _objc_msgSend_878( + ffi.Pointer obj, + ffi.Pointer sel, + ) { + return __objc_msgSend_878(obj, sel); } late final __objc_msgSend_878Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_878 = __objc_msgSend_878Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_progress1 = _registerName1("progress"); - ffi.Pointer _objc_msgSend_879( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_879( - obj, - sel, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_878 = + __objc_msgSend_878Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_progress1 = objc.registerName("progress"); + ffi.Pointer _objc_msgSend_879( + ffi.Pointer obj, + ffi.Pointer sel, + ) { + return __objc_msgSend_879(obj, sel); } late final __objc_msgSend_879Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_879 = __objc_msgSend_879Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_earliestBeginDate1 = _registerName1("earliestBeginDate"); - late final _sel_setEarliestBeginDate_1 = - _registerName1("setEarliestBeginDate:"); - late final _sel_countOfBytesClientExpectsToSend1 = - _registerName1("countOfBytesClientExpectsToSend"); - late final _sel_setCountOfBytesClientExpectsToSend_1 = - _registerName1("setCountOfBytesClientExpectsToSend:"); - late final _sel_countOfBytesClientExpectsToReceive1 = - _registerName1("countOfBytesClientExpectsToReceive"); - late final _sel_setCountOfBytesClientExpectsToReceive_1 = - _registerName1("setCountOfBytesClientExpectsToReceive:"); - late final _sel_countOfBytesSent1 = _registerName1("countOfBytesSent"); - late final _sel_countOfBytesReceived1 = - _registerName1("countOfBytesReceived"); - late final _sel_countOfBytesExpectedToSend1 = - _registerName1("countOfBytesExpectedToSend"); - late final _sel_countOfBytesExpectedToReceive1 = - _registerName1("countOfBytesExpectedToReceive"); - late final _sel_taskDescription1 = _registerName1("taskDescription"); - late final _sel_setTaskDescription_1 = _registerName1("setTaskDescription:"); - late final _sel_state1 = _registerName1("state"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_879 = + __objc_msgSend_879Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_earliestBeginDate1 = objc.registerName("earliestBeginDate"); + late final _sel_setEarliestBeginDate_1 = objc.registerName( + "setEarliestBeginDate:", + ); + late final _sel_countOfBytesClientExpectsToSend1 = objc.registerName( + "countOfBytesClientExpectsToSend", + ); + late final _sel_setCountOfBytesClientExpectsToSend_1 = objc.registerName( + "setCountOfBytesClientExpectsToSend:", + ); + late final _sel_countOfBytesClientExpectsToReceive1 = objc.registerName( + "countOfBytesClientExpectsToReceive", + ); + late final _sel_setCountOfBytesClientExpectsToReceive_1 = objc.registerName( + "setCountOfBytesClientExpectsToReceive:", + ); + late final _sel_countOfBytesSent1 = objc.registerName("countOfBytesSent"); + late final _sel_countOfBytesReceived1 = objc.registerName( + "countOfBytesReceived", + ); + late final _sel_countOfBytesExpectedToSend1 = objc.registerName( + "countOfBytesExpectedToSend", + ); + late final _sel_countOfBytesExpectedToReceive1 = objc.registerName( + "countOfBytesExpectedToReceive", + ); + late final _sel_taskDescription1 = objc.registerName("taskDescription"); + late final _sel_setTaskDescription_1 = objc.registerName( + "setTaskDescription:", + ); + late final _sel_state1 = objc.registerName("state"); int _objc_msgSend_880( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_880( - obj, - sel, - ); + return __objc_msgSend_880(obj, sel); } late final __objc_msgSend_880Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_880 = __objc_msgSend_880Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer)>(); - - late final _sel_suspend1 = _registerName1("suspend"); - late final _sel_priority1 = _registerName1("priority"); - late final _sel_setPriority_1 = _registerName1("setPriority:"); + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_880 = + __objc_msgSend_880Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_suspend1 = objc.registerName("suspend"); + late final _sel_priority1 = objc.registerName("priority"); + late final _sel_setPriority_1 = objc.registerName("setPriority:"); void _objc_msgSend_881( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, double value, ) { - return __objc_msgSend_881( - obj, - sel, - value, - ); + return __objc_msgSend_881(obj, sel, value); } late final __objc_msgSend_881Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Float)>>('objc_msgSend'); - late final __objc_msgSend_881 = __objc_msgSend_881Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, double)>(); - - late final _sel_prefersIncrementalDelivery1 = - _registerName1("prefersIncrementalDelivery"); - late final _sel_setPrefersIncrementalDelivery_1 = - _registerName1("setPrefersIncrementalDelivery:"); - late final _sel_storeCookies_forTask_1 = - _registerName1("storeCookies:forTask:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Float, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_881 = + __objc_msgSend_881Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + double, + ) + >(); + + late final _sel_prefersIncrementalDelivery1 = objc.registerName( + "prefersIncrementalDelivery", + ); + late final _sel_setPrefersIncrementalDelivery_1 = objc.registerName( + "setPrefersIncrementalDelivery:", + ); + late final _sel_storeCookies_forTask_1 = objc.registerName( + "storeCookies:forTask:", + ); void _objc_msgSend_882( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer cookies, - ffi.Pointer task, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer cookies, + ffi.Pointer task, ) { - return __objc_msgSend_882( - obj, - sel, - cookies, - task, - ); + return __objc_msgSend_882(obj, sel, cookies, task); } late final __objc_msgSend_882Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_882 = __objc_msgSend_882Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_getCookiesForTask_completionHandler_1 = - _registerName1("getCookiesForTask:completionHandler:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_882 = + __objc_msgSend_882Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_getCookiesForTask_completionHandler_1 = objc.registerName( + "getCookiesForTask:completionHandler:", + ); void _objc_msgSend_883( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer task, - ffi.Pointer<_ObjCBlock> completionHandler, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer task, + ffi.Pointer completionHandler, ) { - return __objc_msgSend_883( - obj, - sel, - task, - completionHandler, - ); + return __objc_msgSend_883(obj, sel, task, completionHandler); } late final __objc_msgSend_883Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_883 = __objc_msgSend_883Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer<_ObjCBlock>)>(); - - late final _class_NSIndexPath1 = _getClass1("NSIndexPath"); - late final _sel_indexPathWithIndex_1 = _registerName1("indexPathWithIndex:"); - late final _sel_indexPathWithIndexes_length_1 = - _registerName1("indexPathWithIndexes:length:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_883 = + __objc_msgSend_883Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _class_NSIndexPath1 = objc.getClass("NSIndexPath"); + late final _sel_indexPathWithIndex_1 = objc.registerName( + "indexPathWithIndex:", + ); + late final _sel_indexPathWithIndexes_length_1 = objc.registerName( + "indexPathWithIndexes:length:", + ); instancetype _objc_msgSend_884( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ffi.Pointer indexes, int length, ) { - return __objc_msgSend_884( - obj, - sel, - indexes, - length, - ); + return __objc_msgSend_884(obj, sel, indexes, length); } late final __objc_msgSend_884Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_884 = + __objc_msgSend_884Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong)>>('objc_msgSend'); - late final __objc_msgSend_884 = __objc_msgSend_884Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int)>(); - - late final _sel_initWithIndexes_length_1 = - _registerName1("initWithIndexes:length:"); - late final _sel_indexPathByAddingIndex_1 = - _registerName1("indexPathByAddingIndex:"); - ffi.Pointer _objc_msgSend_885( - ffi.Pointer obj, - ffi.Pointer sel, + int, + ) + >(); + + late final _sel_initWithIndexes_length_1 = objc.registerName( + "initWithIndexes:length:", + ); + late final _sel_indexPathByAddingIndex_1 = objc.registerName( + "indexPathByAddingIndex:", + ); + ffi.Pointer _objc_msgSend_885( + ffi.Pointer obj, + ffi.Pointer sel, int index, ) { - return __objc_msgSend_885( - obj, - sel, - index, - ); + return __objc_msgSend_885(obj, sel, index); } late final __objc_msgSend_885Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.UnsignedLong)>>('objc_msgSend'); - late final __objc_msgSend_885 = __objc_msgSend_885Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_indexPathByRemovingLastIndex1 = - _registerName1("indexPathByRemovingLastIndex"); - ffi.Pointer _objc_msgSend_886( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_886( - obj, - sel, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_885 = + __objc_msgSend_885Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_indexPathByRemovingLastIndex1 = objc.registerName( + "indexPathByRemovingLastIndex", + ); + ffi.Pointer _objc_msgSend_886( + ffi.Pointer obj, + ffi.Pointer sel, + ) { + return __objc_msgSend_886(obj, sel); } late final __objc_msgSend_886Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_886 = __objc_msgSend_886Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_indexAtPosition_1 = _registerName1("indexAtPosition:"); - late final _sel_getIndexes_range_1 = _registerName1("getIndexes:range:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_886 = + __objc_msgSend_886Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_indexAtPosition_1 = objc.registerName("indexAtPosition:"); + late final _sel_getIndexes_range_1 = objc.registerName("getIndexes:range:"); void _objc_msgSend_887( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ffi.Pointer indexes, _NSRange positionRange, ) { - return __objc_msgSend_887( - obj, - sel, - indexes, - positionRange, - ); + return __objc_msgSend_887(obj, sel, indexes, positionRange); } late final __objc_msgSend_887Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, _NSRange)>>('objc_msgSend'); - late final __objc_msgSend_887 = __objc_msgSend_887Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, _NSRange)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_887 = + __objc_msgSend_887Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange, + ) + >(); int _objc_msgSend_888( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer otherObject, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer otherObject, ) { - return __objc_msgSend_888( - obj, - sel, - otherObject, - ); + return __objc_msgSend_888(obj, sel, otherObject); } late final __objc_msgSend_888Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_888 = __objc_msgSend_888Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_getIndexes_1 = _registerName1("getIndexes:"); + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_888 = + __objc_msgSend_888Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_getIndexes_1 = objc.registerName("getIndexes:"); void _objc_msgSend_889( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ffi.Pointer indexes, ) { - return __objc_msgSend_889( - obj, - sel, - indexes, - ); + return __objc_msgSend_889(obj, sel, indexes); } late final __objc_msgSend_889Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_889 = __objc_msgSend_889Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _class_NSInflectionRule1 = _getClass1("NSInflectionRule"); - late final _sel_automaticRule1 = _registerName1("automaticRule"); - ffi.Pointer _objc_msgSend_890( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_890( - obj, - sel, - ); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_889 = + __objc_msgSend_889Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _class_NSInflectionRule1 = objc.getClass("NSInflectionRule"); + late final _sel_automaticRule1 = objc.registerName("automaticRule"); + ffi.Pointer _objc_msgSend_890( + ffi.Pointer obj, + ffi.Pointer sel, + ) { + return __objc_msgSend_890(obj, sel); } late final __objc_msgSend_890Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_890 = __objc_msgSend_890Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_canInflectLanguage_1 = _registerName1("canInflectLanguage:"); - late final _sel_canInflectPreferredLocalization1 = - _registerName1("canInflectPreferredLocalization"); - late final _class_NSMorphology1 = _getClass1("NSMorphology"); - late final _sel_grammaticalGender1 = _registerName1("grammaticalGender"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_890 = + __objc_msgSend_890Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_canInflectLanguage_1 = objc.registerName( + "canInflectLanguage:", + ); + late final _sel_canInflectPreferredLocalization1 = objc.registerName( + "canInflectPreferredLocalization", + ); + late final _class_NSMorphology1 = objc.getClass("NSMorphology"); + late final _sel_grammaticalGender1 = objc.registerName("grammaticalGender"); int _objc_msgSend_891( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_891( - obj, - sel, - ); + return __objc_msgSend_891(obj, sel); } late final __objc_msgSend_891Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_891 = __objc_msgSend_891Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer)>(); - - late final _sel_setGrammaticalGender_1 = - _registerName1("setGrammaticalGender:"); + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_891 = + __objc_msgSend_891Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_setGrammaticalGender_1 = objc.registerName( + "setGrammaticalGender:", + ); void _objc_msgSend_892( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int value, ) { - return __objc_msgSend_892( - obj, - sel, - value, - ); + return __objc_msgSend_892(obj, sel, value); } late final __objc_msgSend_892Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_892 = __objc_msgSend_892Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_892 = + __objc_msgSend_892Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); - late final _sel_partOfSpeech1 = _registerName1("partOfSpeech"); + late final _sel_partOfSpeech1 = objc.registerName("partOfSpeech"); int _objc_msgSend_893( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_893( - obj, - sel, - ); + return __objc_msgSend_893(obj, sel); } late final __objc_msgSend_893Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_893 = __objc_msgSend_893Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_893 = + __objc_msgSend_893Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); - late final _sel_setPartOfSpeech_1 = _registerName1("setPartOfSpeech:"); + late final _sel_setPartOfSpeech_1 = objc.registerName("setPartOfSpeech:"); void _objc_msgSend_894( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int value, ) { - return __objc_msgSend_894( - obj, - sel, - value, - ); + return __objc_msgSend_894(obj, sel, value); } late final __objc_msgSend_894Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_894 = __objc_msgSend_894Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_894 = + __objc_msgSend_894Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); - late final _sel_number1 = _registerName1("number"); + late final _sel_number1 = objc.registerName("number"); int _objc_msgSend_895( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_895( - obj, - sel, - ); + return __objc_msgSend_895(obj, sel); } late final __objc_msgSend_895Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_895 = __objc_msgSend_895Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_895 = + __objc_msgSend_895Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); - late final _sel_setNumber_1 = _registerName1("setNumber:"); + late final _sel_setNumber_1 = objc.registerName("setNumber:"); void _objc_msgSend_896( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int value, ) { - return __objc_msgSend_896( - obj, - sel, - value, - ); + return __objc_msgSend_896(obj, sel, value); } late final __objc_msgSend_896Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_896 = __objc_msgSend_896Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_896 = + __objc_msgSend_896Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); - late final _sel_grammaticalCase1 = _registerName1("grammaticalCase"); + late final _sel_grammaticalCase1 = objc.registerName("grammaticalCase"); int _objc_msgSend_897( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_897( - obj, - sel, - ); + return __objc_msgSend_897(obj, sel); } late final __objc_msgSend_897Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_897 = __objc_msgSend_897Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer)>(); - - late final _sel_setGrammaticalCase_1 = _registerName1("setGrammaticalCase:"); + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_897 = + __objc_msgSend_897Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_setGrammaticalCase_1 = objc.registerName( + "setGrammaticalCase:", + ); void _objc_msgSend_898( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int value, ) { - return __objc_msgSend_898( - obj, - sel, - value, - ); + return __objc_msgSend_898(obj, sel, value); } late final __objc_msgSend_898Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_898 = __objc_msgSend_898Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_898 = + __objc_msgSend_898Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); - late final _sel_determination1 = _registerName1("determination"); + late final _sel_determination1 = objc.registerName("determination"); int _objc_msgSend_899( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_899( - obj, - sel, - ); + return __objc_msgSend_899(obj, sel); } late final __objc_msgSend_899Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_899 = __objc_msgSend_899Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_899 = + __objc_msgSend_899Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); - late final _sel_setDetermination_1 = _registerName1("setDetermination:"); + late final _sel_setDetermination_1 = objc.registerName("setDetermination:"); void _objc_msgSend_900( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int value, ) { - return __objc_msgSend_900( - obj, - sel, - value, - ); + return __objc_msgSend_900(obj, sel, value); } late final __objc_msgSend_900Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_900 = __objc_msgSend_900Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_900 = + __objc_msgSend_900Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); - late final _sel_grammaticalPerson1 = _registerName1("grammaticalPerson"); + late final _sel_grammaticalPerson1 = objc.registerName("grammaticalPerson"); int _objc_msgSend_901( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_901( - obj, - sel, - ); + return __objc_msgSend_901(obj, sel); } late final __objc_msgSend_901Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_901 = __objc_msgSend_901Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer)>(); - - late final _sel_setGrammaticalPerson_1 = - _registerName1("setGrammaticalPerson:"); + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_901 = + __objc_msgSend_901Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_setGrammaticalPerson_1 = objc.registerName( + "setGrammaticalPerson:", + ); void _objc_msgSend_902( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int value, ) { - return __objc_msgSend_902( - obj, - sel, - value, - ); + return __objc_msgSend_902(obj, sel, value); } late final __objc_msgSend_902Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_902 = __objc_msgSend_902Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_902 = + __objc_msgSend_902Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); - late final _sel_pronounType1 = _registerName1("pronounType"); + late final _sel_pronounType1 = objc.registerName("pronounType"); int _objc_msgSend_903( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_903( - obj, - sel, - ); + return __objc_msgSend_903(obj, sel); } late final __objc_msgSend_903Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_903 = __objc_msgSend_903Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_903 = + __objc_msgSend_903Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); - late final _sel_setPronounType_1 = _registerName1("setPronounType:"); + late final _sel_setPronounType_1 = objc.registerName("setPronounType:"); void _objc_msgSend_904( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int value, ) { - return __objc_msgSend_904( - obj, - sel, - value, - ); + return __objc_msgSend_904(obj, sel, value); } late final __objc_msgSend_904Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_904 = __objc_msgSend_904Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_904 = + __objc_msgSend_904Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); - late final _sel_definiteness1 = _registerName1("definiteness"); + late final _sel_definiteness1 = objc.registerName("definiteness"); int _objc_msgSend_905( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_905( - obj, - sel, - ); + return __objc_msgSend_905(obj, sel); } late final __objc_msgSend_905Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_905 = __objc_msgSend_905Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_905 = + __objc_msgSend_905Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); - late final _sel_setDefiniteness_1 = _registerName1("setDefiniteness:"); + late final _sel_setDefiniteness_1 = objc.registerName("setDefiniteness:"); void _objc_msgSend_906( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int value, ) { - return __objc_msgSend_906( - obj, - sel, - value, - ); + return __objc_msgSend_906(obj, sel, value); } late final __objc_msgSend_906Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_906 = __objc_msgSend_906Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int)>(); - - late final _class_NSMorphologyCustomPronoun1 = - _getClass1("NSMorphologyCustomPronoun"); - late final _sel_isSupportedForLanguage_1 = - _registerName1("isSupportedForLanguage:"); - late final _sel_requiredKeysForLanguage_1 = - _registerName1("requiredKeysForLanguage:"); - late final _sel_subjectForm1 = _registerName1("subjectForm"); - late final _sel_setSubjectForm_1 = _registerName1("setSubjectForm:"); - late final _sel_objectForm1 = _registerName1("objectForm"); - late final _sel_setObjectForm_1 = _registerName1("setObjectForm:"); - late final _sel_possessiveForm1 = _registerName1("possessiveForm"); - late final _sel_setPossessiveForm_1 = _registerName1("setPossessiveForm:"); - late final _sel_possessiveAdjectiveForm1 = - _registerName1("possessiveAdjectiveForm"); - late final _sel_setPossessiveAdjectiveForm_1 = - _registerName1("setPossessiveAdjectiveForm:"); - late final _sel_reflexiveForm1 = _registerName1("reflexiveForm"); - late final _sel_setReflexiveForm_1 = _registerName1("setReflexiveForm:"); - late final _sel_customPronounForLanguage_1 = - _registerName1("customPronounForLanguage:"); - ffi.Pointer _objc_msgSend_907( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer language, - ) { - return __objc_msgSend_907( - obj, - sel, - language, - ); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_906 = + __objc_msgSend_906Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _class_NSMorphologyCustomPronoun1 = objc.getClass( + "NSMorphologyCustomPronoun", + ); + late final _sel_isSupportedForLanguage_1 = objc.registerName( + "isSupportedForLanguage:", + ); + late final _sel_requiredKeysForLanguage_1 = objc.registerName( + "requiredKeysForLanguage:", + ); + late final _sel_subjectForm1 = objc.registerName("subjectForm"); + late final _sel_setSubjectForm_1 = objc.registerName("setSubjectForm:"); + late final _sel_objectForm1 = objc.registerName("objectForm"); + late final _sel_setObjectForm_1 = objc.registerName("setObjectForm:"); + late final _sel_possessiveForm1 = objc.registerName("possessiveForm"); + late final _sel_setPossessiveForm_1 = objc.registerName("setPossessiveForm:"); + late final _sel_possessiveAdjectiveForm1 = objc.registerName( + "possessiveAdjectiveForm", + ); + late final _sel_setPossessiveAdjectiveForm_1 = objc.registerName( + "setPossessiveAdjectiveForm:", + ); + late final _sel_reflexiveForm1 = objc.registerName("reflexiveForm"); + late final _sel_setReflexiveForm_1 = objc.registerName("setReflexiveForm:"); + late final _sel_customPronounForLanguage_1 = objc.registerName( + "customPronounForLanguage:", + ); + ffi.Pointer _objc_msgSend_907( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer language, + ) { + return __objc_msgSend_907(obj, sel, language); } late final __objc_msgSend_907Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_907 = __objc_msgSend_907Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_setCustomPronoun_forLanguage_error_1 = - _registerName1("setCustomPronoun:forLanguage:error:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_907 = + __objc_msgSend_907Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_setCustomPronoun_forLanguage_error_1 = objc.registerName( + "setCustomPronoun:forLanguage:error:", + ); bool _objc_msgSend_908( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer features, - ffi.Pointer language, - ffi.Pointer> error, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer features, + ffi.Pointer language, + ffi.Pointer> error, ) { - return __objc_msgSend_908( - obj, - sel, - features, - language, - error, - ); + return __objc_msgSend_908(obj, sel, features, language, error); } late final __objc_msgSend_908Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_908 = __objc_msgSend_908Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>(); - - late final _sel_isUnspecified1 = _registerName1("isUnspecified"); - late final _sel_userMorphology1 = _registerName1("userMorphology"); - ffi.Pointer _objc_msgSend_909( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_909( - obj, - sel, - ); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_908 = + __objc_msgSend_908Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + >(); + + late final _sel_isUnspecified1 = objc.registerName("isUnspecified"); + late final _sel_userMorphology1 = objc.registerName("userMorphology"); + ffi.Pointer _objc_msgSend_909( + ffi.Pointer obj, + ffi.Pointer sel, + ) { + return __objc_msgSend_909(obj, sel); } late final __objc_msgSend_909Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_909 = __objc_msgSend_909Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); - - late final _class_NSOperationQueue1 = _getClass1("NSOperationQueue"); - late final _class_NSOperation1 = _getClass1("NSOperation"); - late final _sel_isConcurrent1 = _registerName1("isConcurrent"); - late final _sel_isAsynchronous1 = _registerName1("isAsynchronous"); - late final _sel_isReady1 = _registerName1("isReady"); - late final _sel_addDependency_1 = _registerName1("addDependency:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_909 = + __objc_msgSend_909Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _class_NSOperationQueue1 = objc.getClass("NSOperationQueue"); + late final _class_NSOperation1 = objc.getClass("NSOperation"); + late final _sel_isConcurrent1 = objc.registerName("isConcurrent"); + late final _sel_isAsynchronous1 = objc.registerName("isAsynchronous"); + late final _sel_isReady1 = objc.registerName("isReady"); + late final _sel_addDependency_1 = objc.registerName("addDependency:"); void _objc_msgSend_910( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer op, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer op, ) { - return __objc_msgSend_910( - obj, - sel, - op, - ); + return __objc_msgSend_910(obj, sel, op); } late final __objc_msgSend_910Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_910 = __objc_msgSend_910Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_removeDependency_1 = _registerName1("removeDependency:"); - late final _sel_dependencies1 = _registerName1("dependencies"); - late final _sel_queuePriority1 = _registerName1("queuePriority"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_910 = + __objc_msgSend_910Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_removeDependency_1 = objc.registerName("removeDependency:"); + late final _sel_dependencies1 = objc.registerName("dependencies"); + late final _sel_queuePriority1 = objc.registerName("queuePriority"); int _objc_msgSend_911( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_911( - obj, - sel, - ); + return __objc_msgSend_911(obj, sel); } late final __objc_msgSend_911Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_911 = __objc_msgSend_911Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_911 = + __objc_msgSend_911Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); - late final _sel_setQueuePriority_1 = _registerName1("setQueuePriority:"); + late final _sel_setQueuePriority_1 = objc.registerName("setQueuePriority:"); void _objc_msgSend_912( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int value, ) { - return __objc_msgSend_912( - obj, - sel, - value, - ); + return __objc_msgSend_912(obj, sel, value); } late final __objc_msgSend_912Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_912 = __objc_msgSend_912Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_completionBlock1 = _registerName1("completionBlock"); - late final _sel_setCompletionBlock_1 = _registerName1("setCompletionBlock:"); - late final _sel_waitUntilFinished1 = _registerName1("waitUntilFinished"); - late final _sel_addOperation_1 = _registerName1("addOperation:"); - late final _sel_addOperations_waitUntilFinished_1 = - _registerName1("addOperations:waitUntilFinished:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_912 = + __objc_msgSend_912Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_completionBlock1 = objc.registerName("completionBlock"); + late final _sel_setCompletionBlock_1 = objc.registerName( + "setCompletionBlock:", + ); + late final _sel_waitUntilFinished1 = objc.registerName("waitUntilFinished"); + late final _sel_addOperation_1 = objc.registerName("addOperation:"); + late final _sel_addOperations_waitUntilFinished_1 = objc.registerName( + "addOperations:waitUntilFinished:", + ); void _objc_msgSend_913( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer ops, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer ops, bool wait, ) { - return __objc_msgSend_913( - obj, - sel, - ops, - wait, - ); + return __objc_msgSend_913(obj, sel, ops, wait); } late final __objc_msgSend_913Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Bool)>>('objc_msgSend'); - late final __objc_msgSend_913 = __objc_msgSend_913Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, bool)>(); - - late final _sel_addOperationWithBlock_1 = - _registerName1("addOperationWithBlock:"); - late final _sel_addBarrierBlock_1 = _registerName1("addBarrierBlock:"); - late final _sel_maxConcurrentOperationCount1 = - _registerName1("maxConcurrentOperationCount"); - late final _sel_setMaxConcurrentOperationCount_1 = - _registerName1("setMaxConcurrentOperationCount:"); - late final _sel_isSuspended1 = _registerName1("isSuspended"); - late final _sel_setSuspended_1 = _registerName1("setSuspended:"); - late final _sel_underlyingQueue1 = _registerName1("underlyingQueue"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_913 = + __objc_msgSend_913Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool, + ) + >(); + + late final _sel_addOperationWithBlock_1 = objc.registerName( + "addOperationWithBlock:", + ); + late final _sel_addBarrierBlock_1 = objc.registerName("addBarrierBlock:"); + late final _sel_maxConcurrentOperationCount1 = objc.registerName( + "maxConcurrentOperationCount", + ); + late final _sel_setMaxConcurrentOperationCount_1 = objc.registerName( + "setMaxConcurrentOperationCount:", + ); + late final _sel_isSuspended1 = objc.registerName("isSuspended"); + late final _sel_setSuspended_1 = objc.registerName("setSuspended:"); + late final _sel_underlyingQueue1 = objc.registerName("underlyingQueue"); ffi.Pointer _objc_msgSend_914( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_914( - obj, - sel, - ); + return __objc_msgSend_914(obj, sel); } late final __objc_msgSend_914Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_914 = __objc_msgSend_914Ptr.asFunction< + ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_setUnderlyingQueue_1 = _registerName1("setUnderlyingQueue:"); + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_914 = + __objc_msgSend_914Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_setUnderlyingQueue_1 = objc.registerName( + "setUnderlyingQueue:", + ); void _objc_msgSend_915( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ffi.Pointer value, ) { - return __objc_msgSend_915( - obj, - sel, - value, - ); + return __objc_msgSend_915(obj, sel, value); } late final __objc_msgSend_915Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_915 = __objc_msgSend_915Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_cancelAllOperations1 = _registerName1("cancelAllOperations"); - late final _sel_waitUntilAllOperationsAreFinished1 = - _registerName1("waitUntilAllOperationsAreFinished"); - late final _sel_currentQueue1 = _registerName1("currentQueue"); - ffi.Pointer _objc_msgSend_916( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_916( - obj, - sel, - ); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_915 = + __objc_msgSend_915Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_cancelAllOperations1 = objc.registerName( + "cancelAllOperations", + ); + late final _sel_waitUntilAllOperationsAreFinished1 = objc.registerName( + "waitUntilAllOperationsAreFinished", + ); + late final _sel_currentQueue1 = objc.registerName("currentQueue"); + ffi.Pointer _objc_msgSend_916( + ffi.Pointer obj, + ffi.Pointer sel, + ) { + return __objc_msgSend_916(obj, sel); } late final __objc_msgSend_916Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_916 = __objc_msgSend_916Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_mainQueue1 = _registerName1("mainQueue"); - ffi.Pointer _objc_msgSend_917( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_917( - obj, - sel, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_916 = + __objc_msgSend_916Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_mainQueue1 = objc.registerName("mainQueue"); + ffi.Pointer _objc_msgSend_917( + ffi.Pointer obj, + ffi.Pointer sel, + ) { + return __objc_msgSend_917(obj, sel); } late final __objc_msgSend_917Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_917 = __objc_msgSend_917Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_operations1 = _registerName1("operations"); - late final _sel_operationCount1 = _registerName1("operationCount"); - late final _class_NSPointerArray1 = _getClass1("NSPointerArray"); - late final _sel_initWithOptions_1 = _registerName1("initWithOptions:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_917 = + __objc_msgSend_917Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_operations1 = objc.registerName("operations"); + late final _sel_operationCount1 = objc.registerName("operationCount"); + late final _class_NSPointerArray1 = objc.getClass("NSPointerArray"); + late final _sel_initWithOptions_1 = objc.registerName("initWithOptions:"); instancetype _objc_msgSend_918( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int options, ) { - return __objc_msgSend_918( - obj, - sel, - options, - ); + return __objc_msgSend_918(obj, sel, options); } late final __objc_msgSend_918Ptr = _lookup< - ffi.NativeFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_918 = __objc_msgSend_918Ptr.asFunction< + ffi.NativeFunction< instancetype Function( - ffi.Pointer, ffi.Pointer, int)>(); - - late final _class_NSPointerFunctions1 = _getClass1("NSPointerFunctions"); - late final _sel_pointerFunctionsWithOptions_1 = - _registerName1("pointerFunctionsWithOptions:"); - ffi.Pointer _objc_msgSend_919( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_918 = + __objc_msgSend_918Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _class_NSPointerFunctions1 = objc.getClass("NSPointerFunctions"); + late final _sel_pointerFunctionsWithOptions_1 = objc.registerName( + "pointerFunctionsWithOptions:", + ); + ffi.Pointer _objc_msgSend_919( + ffi.Pointer obj, + ffi.Pointer sel, int options, ) { - return __objc_msgSend_919( - obj, - sel, - options, - ); + return __objc_msgSend_919(obj, sel, options); } late final __objc_msgSend_919Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_919 = __objc_msgSend_919Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_hashFunction1 = _registerName1("hashFunction"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_919 = + __objc_msgSend_919Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_hashFunction1 = objc.registerName("hashFunction"); ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function(ffi.Pointer)>>)>> - _objc_msgSend_920( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_920( - obj, - sel, - ); + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction)> + >, + ) + > + > + _objc_msgSend_920( + ffi.Pointer obj, + ffi.Pointer sel, + ) { + return __objc_msgSend_920(obj, sel); } late final __objc_msgSend_920Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer)>>)>> - Function(ffi.Pointer, ffi.Pointer)>>( - 'objc_msgSend'); - late final __objc_msgSend_920 = __objc_msgSend_920Ptr.asFunction< + ffi.NativeFunction< ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer, + ffi.Pointer< ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer)>>)>> - Function(ffi.Pointer, ffi.Pointer)>(); - - late final _sel_setHashFunction_1 = _registerName1("setHashFunction:"); + ffi.UnsignedLong Function(ffi.Pointer) + > + >, + ) + > + > + Function(ffi.Pointer, ffi.Pointer) + > + >('objc_msgSend'); + late final __objc_msgSend_920 = + __objc_msgSend_920Ptr + .asFunction< + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function(ffi.Pointer) + > + >, + ) + > + > + Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_setHashFunction_1 = objc.registerName("setHashFunction:"); void _objc_msgSend_921( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer)>>)>> - value, + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction)> + >, + ) + > + > value, ) { - return __objc_msgSend_921( - obj, - sel, - value, - ); + return __objc_msgSend_921(obj, sel, value); } late final __objc_msgSend_921Ptr = _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer< ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer)>>)>>)>>( - 'objc_msgSend'); - late final __objc_msgSend_921 = __objc_msgSend_921Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function(ffi.Pointer) + > + >, + ) + > + >, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_921 = + __objc_msgSend_921Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< ffi.UnsignedLong Function( - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer)>>)>>)>(); - - late final _sel_isEqualFunction1 = _registerName1("isEqualFunction"); - ffi.Pointer< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer< + ffi.Pointer, + ffi.Pointer< ffi.NativeFunction< - ffi.UnsignedLong Function(ffi.Pointer)>>)>> - _objc_msgSend_922( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_922( - obj, - sel, - ); + ffi.UnsignedLong Function(ffi.Pointer) + > + >, + ) + > + >, + ) + >(); + + late final _sel_isEqualFunction1 = objc.registerName("isEqualFunction"); + ffi.Pointer< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction)> + >, + ) + > + > + _objc_msgSend_922( + ffi.Pointer obj, + ffi.Pointer sel, + ) { + return __objc_msgSend_922(obj, sel); } late final __objc_msgSend_922Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer)>>)>> - Function(ffi.Pointer, ffi.Pointer)>>( - 'objc_msgSend'); - late final __objc_msgSend_922 = __objc_msgSend_922Ptr.asFunction< + ffi.NativeFunction< ffi.Pointer< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer< ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer)>>)>> - Function(ffi.Pointer, ffi.Pointer)>(); - - late final _sel_setIsEqualFunction_1 = _registerName1("setIsEqualFunction:"); + ffi.UnsignedLong Function(ffi.Pointer) + > + >, + ) + > + > + Function(ffi.Pointer, ffi.Pointer) + > + >('objc_msgSend'); + late final __objc_msgSend_922 = + __objc_msgSend_922Ptr + .asFunction< + ffi.Pointer< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function(ffi.Pointer) + > + >, + ) + > + > + Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_setIsEqualFunction_1 = objc.registerName( + "setIsEqualFunction:", + ); void _objc_msgSend_923( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ffi.Pointer< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer)>>)>> - value, + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction)> + >, + ) + > + > value, ) { - return __objc_msgSend_923( - obj, - sel, - value, - ); + return __objc_msgSend_923(obj, sel, value); } late final __objc_msgSend_923Ptr = _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer< ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer)>>)>>)>>( - 'objc_msgSend'); - late final __objc_msgSend_923 = __objc_msgSend_923Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function(ffi.Pointer) + > + >, + ) + > + >, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_923 = + __objc_msgSend_923Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer)>>)>>)>(); - - late final _sel_sizeFunction1 = _registerName1("sizeFunction"); + ffi.Pointer, + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function(ffi.Pointer) + > + >, + ) + > + >, + ) + >(); + + late final _sel_sizeFunction1 = objc.registerName("sizeFunction"); ffi.Pointer< - ffi.NativeFunction)>> - _objc_msgSend_924( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.NativeFunction)> + > + _objc_msgSend_924( + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_924( - obj, - sel, - ); + return __objc_msgSend_924(obj, sel); } late final __objc_msgSend_924Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function(ffi.Pointer)>> - Function(ffi.Pointer, ffi.Pointer)>>( - 'objc_msgSend'); - late final __objc_msgSend_924 = __objc_msgSend_924Ptr.asFunction< + ffi.NativeFunction< ffi.Pointer< - ffi - .NativeFunction)>> - Function(ffi.Pointer, ffi.Pointer)>(); - - late final _sel_setSizeFunction_1 = _registerName1("setSizeFunction:"); + ffi.NativeFunction)> + > + Function(ffi.Pointer, ffi.Pointer) + > + >('objc_msgSend'); + late final __objc_msgSend_924 = + __objc_msgSend_924Ptr + .asFunction< + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function(ffi.Pointer) + > + > + Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_setSizeFunction_1 = objc.registerName("setSizeFunction:"); void _objc_msgSend_925( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ffi.Pointer< - ffi - .NativeFunction)>> - value, + ffi.NativeFunction)> + > value, ) { - return __objc_msgSend_925( - obj, - sel, - value, - ); + return __objc_msgSend_925(obj, sel, value); } late final __objc_msgSend_925Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction)> + >, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_925 = + __objc_msgSend_925Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer)>>)>>('objc_msgSend'); - late final __objc_msgSend_925 = __objc_msgSend_925Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function(ffi.Pointer)>>)>(); - - late final _sel_descriptionFunction1 = _registerName1("descriptionFunction"); + ffi.NativeFunction< + ffi.UnsignedLong Function(ffi.Pointer) + > + >, + ) + >(); + + late final _sel_descriptionFunction1 = objc.registerName( + "descriptionFunction", + ); ffi.Pointer< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer)>> - _objc_msgSend_926( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.NativeFunction< + ffi.Pointer Function(ffi.Pointer) + > + > + _objc_msgSend_926( + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_926( - obj, - sel, - ); + return __objc_msgSend_926(obj, sel); } - late final __objc_msgSend_926Ptr = - _lookup< - ffi.NativeFunction< - ffi.Pointer< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer)>> - Function(ffi.Pointer, ffi.Pointer)>>( - 'objc_msgSend'); - late final __objc_msgSend_926 = __objc_msgSend_926Ptr.asFunction< + late final __objc_msgSend_926Ptr = _lookup< + ffi.NativeFunction< ffi.Pointer< + ffi.NativeFunction< + ffi.Pointer Function(ffi.Pointer) + > + > + Function(ffi.Pointer, ffi.Pointer) + > + >('objc_msgSend'); + late final __objc_msgSend_926 = + __objc_msgSend_926Ptr + .asFunction< + ffi.Pointer< ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer)>> - Function(ffi.Pointer, ffi.Pointer)>(); - - late final _sel_setDescriptionFunction_1 = - _registerName1("setDescriptionFunction:"); + ffi.Pointer Function(ffi.Pointer) + > + > + Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_setDescriptionFunction_1 = objc.registerName( + "setDescriptionFunction:", + ); void _objc_msgSend_927( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ffi.Pointer< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer)>> - value, + ffi.NativeFunction< + ffi.Pointer Function(ffi.Pointer) + > + > value, ) { - return __objc_msgSend_927( - obj, - sel, - value, - ); + return __objc_msgSend_927(obj, sel, value); } late final __objc_msgSend_927Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.Pointer Function(ffi.Pointer) + > + >, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_927 = + __objc_msgSend_927Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, ffi.Pointer< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer)>>)>>('objc_msgSend'); - late final __objc_msgSend_927 = __objc_msgSend_927Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer)>>)>(); + ffi.NativeFunction< + ffi.Pointer Function(ffi.Pointer) + > + >, + ) + >(); - late final _sel_relinquishFunction1 = _registerName1("relinquishFunction"); + late final _sel_relinquishFunction1 = objc.registerName("relinquishFunction"); ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function(ffi.Pointer)>>)>> - _objc_msgSend_928( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction)> + >, + ) + > + > + _objc_msgSend_928( + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_928( - obj, - sel, - ); + return __objc_msgSend_928(obj, sel); } late final __objc_msgSend_928Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer)>>)>> - Function(ffi.Pointer, ffi.Pointer)>>( - 'objc_msgSend'); - late final __objc_msgSend_928 = __objc_msgSend_928Ptr.asFunction< + ffi.NativeFunction< ffi.Pointer< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer< ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer)>>)>> - Function(ffi.Pointer, ffi.Pointer)>(); - - late final _sel_setRelinquishFunction_1 = - _registerName1("setRelinquishFunction:"); + ffi.UnsignedLong Function(ffi.Pointer) + > + >, + ) + > + > + Function(ffi.Pointer, ffi.Pointer) + > + >('objc_msgSend'); + late final __objc_msgSend_928 = + __objc_msgSend_928Ptr + .asFunction< + ffi.Pointer< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function(ffi.Pointer) + > + >, + ) + > + > + Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_setRelinquishFunction_1 = objc.registerName( + "setRelinquishFunction:", + ); void _objc_msgSend_929( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer)>>)>> - value, + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction)> + >, + ) + > + > value, ) { - return __objc_msgSend_929( - obj, - sel, - value, - ); + return __objc_msgSend_929(obj, sel, value); } late final __objc_msgSend_929Ptr = _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer< ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer)>>)>>)>>( - 'objc_msgSend'); - late final __objc_msgSend_929 = __objc_msgSend_929Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer)>>)>>)>(); - - late final _sel_acquireFunction1 = _registerName1("acquireFunction"); - ffi.Pointer< - ffi.NativeFunction< - ffi.Pointer Function( + ffi.Void Function( ffi.Pointer, ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function(ffi.Pointer)>>, - ffi.Bool)>> _objc_msgSend_930( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.NativeFunction< + ffi.UnsignedLong Function(ffi.Pointer) + > + >, + ) + > + >, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_929 = + __objc_msgSend_929Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function(ffi.Pointer) + > + >, + ) + > + >, + ) + >(); + + late final _sel_acquireFunction1 = objc.registerName("acquireFunction"); + ffi.Pointer< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction)> + >, + ffi.Bool, + ) + > + > + _objc_msgSend_930( + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_930( - obj, - sel, - ); + return __objc_msgSend_930(obj, sel); } late final __objc_msgSend_930Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer)>>, - ffi.Bool)>> - Function(ffi.Pointer, ffi.Pointer)>>( - 'objc_msgSend'); - late final __objc_msgSend_930 = __objc_msgSend_930Ptr.asFunction< + ffi.NativeFunction< ffi.Pointer< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer)>>, - ffi.Bool)>> - Function(ffi.Pointer, ffi.Pointer)>(); - - late final _sel_setAcquireFunction_1 = _registerName1("setAcquireFunction:"); + ffi.UnsignedLong Function(ffi.Pointer) + > + >, + ffi.Bool, + ) + > + > + Function(ffi.Pointer, ffi.Pointer) + > + >('objc_msgSend'); + late final __objc_msgSend_930 = + __objc_msgSend_930Ptr + .asFunction< + ffi.Pointer< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function(ffi.Pointer) + > + >, + ffi.Bool, + ) + > + > + Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_setAcquireFunction_1 = objc.registerName( + "setAcquireFunction:", + ); void _objc_msgSend_931( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ffi.Pointer< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function(ffi.Pointer)>>, - ffi.Bool)>> - value, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction)> + >, + ffi.Bool, + ) + > + > value, ) { - return __objc_msgSend_931( - obj, - sel, - value, - ); + return __objc_msgSend_931(obj, sel, value); } late final __objc_msgSend_931Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer)>>, - ffi.Bool)>>)>>('objc_msgSend'); - late final __objc_msgSend_931 = __objc_msgSend_931Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.UnsignedLong Function(ffi.Pointer) + > + >, + ffi.Bool, + ) + > + >, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_931 = + __objc_msgSend_931Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer)>>, - ffi.Bool)>>)>(); - - late final _sel_usesStrongWriteBarrier1 = - _registerName1("usesStrongWriteBarrier"); - late final _sel_setUsesStrongWriteBarrier_1 = - _registerName1("setUsesStrongWriteBarrier:"); - late final _sel_usesWeakReadAndWriteBarriers1 = - _registerName1("usesWeakReadAndWriteBarriers"); - late final _sel_setUsesWeakReadAndWriteBarriers_1 = - _registerName1("setUsesWeakReadAndWriteBarriers:"); - late final _sel_initWithPointerFunctions_1 = - _registerName1("initWithPointerFunctions:"); + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function(ffi.Pointer) + > + >, + ffi.Bool, + ) + > + >, + ) + >(); + + late final _sel_usesStrongWriteBarrier1 = objc.registerName( + "usesStrongWriteBarrier", + ); + late final _sel_setUsesStrongWriteBarrier_1 = objc.registerName( + "setUsesStrongWriteBarrier:", + ); + late final _sel_usesWeakReadAndWriteBarriers1 = objc.registerName( + "usesWeakReadAndWriteBarriers", + ); + late final _sel_setUsesWeakReadAndWriteBarriers_1 = objc.registerName( + "setUsesWeakReadAndWriteBarriers:", + ); + late final _sel_initWithPointerFunctions_1 = objc.registerName( + "initWithPointerFunctions:", + ); instancetype _objc_msgSend_932( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer functions, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer functions, ) { - return __objc_msgSend_932( - obj, - sel, - functions, - ); + return __objc_msgSend_932(obj, sel, functions); } late final __objc_msgSend_932Ptr = _lookup< - ffi.NativeFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_932 = __objc_msgSend_932Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_pointerArrayWithOptions_1 = - _registerName1("pointerArrayWithOptions:"); - ffi.Pointer _objc_msgSend_933( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_932 = + __objc_msgSend_932Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_pointerArrayWithOptions_1 = objc.registerName( + "pointerArrayWithOptions:", + ); + ffi.Pointer _objc_msgSend_933( + ffi.Pointer obj, + ffi.Pointer sel, int options, ) { - return __objc_msgSend_933( - obj, - sel, - options, - ); + return __objc_msgSend_933(obj, sel, options); } late final __objc_msgSend_933Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_933 = __objc_msgSend_933Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_pointerArrayWithPointerFunctions_1 = - _registerName1("pointerArrayWithPointerFunctions:"); - ffi.Pointer _objc_msgSend_934( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer functions, - ) { - return __objc_msgSend_934( - obj, - sel, - functions, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_933 = + __objc_msgSend_933Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_pointerArrayWithPointerFunctions_1 = objc.registerName( + "pointerArrayWithPointerFunctions:", + ); + ffi.Pointer _objc_msgSend_934( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer functions, + ) { + return __objc_msgSend_934(obj, sel, functions); } late final __objc_msgSend_934Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_934 = __objc_msgSend_934Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_pointerFunctions1 = _registerName1("pointerFunctions"); - ffi.Pointer _objc_msgSend_935( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_935( - obj, - sel, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_934 = + __objc_msgSend_934Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_pointerFunctions1 = objc.registerName("pointerFunctions"); + ffi.Pointer _objc_msgSend_935( + ffi.Pointer obj, + ffi.Pointer sel, + ) { + return __objc_msgSend_935(obj, sel); } late final __objc_msgSend_935Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_935 = __objc_msgSend_935Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_935 = + __objc_msgSend_935Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); - late final _sel_pointerAtIndex_1 = _registerName1("pointerAtIndex:"); + late final _sel_pointerAtIndex_1 = objc.registerName("pointerAtIndex:"); ffi.Pointer _objc_msgSend_936( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int index, ) { - return __objc_msgSend_936( - obj, - sel, - index, - ); + return __objc_msgSend_936(obj, sel, index); } late final __objc_msgSend_936Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.UnsignedLong)>>('objc_msgSend'); - late final __objc_msgSend_936 = __objc_msgSend_936Ptr.asFunction< + ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_addPointer_1 = _registerName1("addPointer:"); - late final _sel_removePointerAtIndex_1 = - _registerName1("removePointerAtIndex:"); - late final _sel_insertPointer_atIndex_1 = - _registerName1("insertPointer:atIndex:"); - late final _sel_replacePointerAtIndex_withPointer_1 = - _registerName1("replacePointerAtIndex:withPointer:"); + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_936 = + __objc_msgSend_936Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_addPointer_1 = objc.registerName("addPointer:"); + late final _sel_removePointerAtIndex_1 = objc.registerName( + "removePointerAtIndex:", + ); + late final _sel_insertPointer_atIndex_1 = objc.registerName( + "insertPointer:atIndex:", + ); + late final _sel_replacePointerAtIndex_withPointer_1 = objc.registerName( + "replacePointerAtIndex:withPointer:", + ); void _objc_msgSend_937( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int index, ffi.Pointer item, ) { - return __objc_msgSend_937( - obj, - sel, - index, - item, - ); + return __objc_msgSend_937(obj, sel, index, item); } late final __objc_msgSend_937Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_937 = __objc_msgSend_937Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int, - ffi.Pointer)>(); - - late final _sel_compact1 = _registerName1("compact"); - late final _sel_setCount_1 = _registerName1("setCount:"); - late final _sel_pointerArrayWithStrongObjects1 = - _registerName1("pointerArrayWithStrongObjects"); - late final _sel_pointerArrayWithWeakObjects1 = - _registerName1("pointerArrayWithWeakObjects"); - late final _sel_strongObjectsPointerArray1 = - _registerName1("strongObjectsPointerArray"); - ffi.Pointer _objc_msgSend_938( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_938( - obj, - sel, - ); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_937 = + __objc_msgSend_937Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ) + >(); + + late final _sel_compact1 = objc.registerName("compact"); + late final _sel_setCount_1 = objc.registerName("setCount:"); + late final _sel_pointerArrayWithStrongObjects1 = objc.registerName( + "pointerArrayWithStrongObjects", + ); + late final _sel_pointerArrayWithWeakObjects1 = objc.registerName( + "pointerArrayWithWeakObjects", + ); + late final _sel_strongObjectsPointerArray1 = objc.registerName( + "strongObjectsPointerArray", + ); + ffi.Pointer _objc_msgSend_938( + ffi.Pointer obj, + ffi.Pointer sel, + ) { + return __objc_msgSend_938(obj, sel); } late final __objc_msgSend_938Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_938 = __objc_msgSend_938Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_weakObjectsPointerArray1 = - _registerName1("weakObjectsPointerArray"); - late final _class_NSProcessInfo1 = _getClass1("NSProcessInfo"); - late final _sel_processInfo1 = _registerName1("processInfo"); - ffi.Pointer _objc_msgSend_939( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_939( - obj, - sel, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_938 = + __objc_msgSend_938Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_weakObjectsPointerArray1 = objc.registerName( + "weakObjectsPointerArray", + ); + late final _class_NSProcessInfo1 = objc.getClass("NSProcessInfo"); + late final _sel_processInfo1 = objc.registerName("processInfo"); + ffi.Pointer _objc_msgSend_939( + ffi.Pointer obj, + ffi.Pointer sel, + ) { + return __objc_msgSend_939(obj, sel); } late final __objc_msgSend_939Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_939 = __objc_msgSend_939Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_environment1 = _registerName1("environment"); - late final _sel_hostName1 = _registerName1("hostName"); - late final _sel_processName1 = _registerName1("processName"); - late final _sel_setProcessName_1 = _registerName1("setProcessName:"); - late final _sel_processIdentifier1 = _registerName1("processIdentifier"); - late final _sel_globallyUniqueString1 = - _registerName1("globallyUniqueString"); - late final _sel_operatingSystem1 = _registerName1("operatingSystem"); - late final _sel_operatingSystemName1 = _registerName1("operatingSystemName"); - late final _sel_operatingSystemVersionString1 = - _registerName1("operatingSystemVersionString"); - late final _sel_operatingSystemVersion1 = - _registerName1("operatingSystemVersion"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_939 = + __objc_msgSend_939Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_environment1 = objc.registerName("environment"); + late final _sel_hostName1 = objc.registerName("hostName"); + late final _sel_processName1 = objc.registerName("processName"); + late final _sel_setProcessName_1 = objc.registerName("setProcessName:"); + late final _sel_processIdentifier1 = objc.registerName("processIdentifier"); + late final _sel_globallyUniqueString1 = objc.registerName( + "globallyUniqueString", + ); + late final _sel_operatingSystem1 = objc.registerName("operatingSystem"); + late final _sel_operatingSystemName1 = objc.registerName( + "operatingSystemName", + ); + late final _sel_operatingSystemVersionString1 = objc.registerName( + "operatingSystemVersionString", + ); + late final _sel_operatingSystemVersion1 = objc.registerName( + "operatingSystemVersion", + ); NSOperatingSystemVersion _objc_msgSend_940( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_940( - obj, - sel, - ); + return __objc_msgSend_940(obj, sel); } late final __objc_msgSend_940Ptr = _lookup< - ffi.NativeFunction< - NSOperatingSystemVersion Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_940 = __objc_msgSend_940Ptr.asFunction< + ffi.NativeFunction< NSOperatingSystemVersion Function( - ffi.Pointer, ffi.Pointer)>(); + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_940 = + __objc_msgSend_940Ptr + .asFunction< + NSOperatingSystemVersion Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); void _objc_msgSend_940_stret( ffi.Pointer stret, - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_940_stret( - stret, - obj, - sel, - ); + return __objc_msgSend_940_stret(stret, obj, sel); } late final __objc_msgSend_940_stretPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend_stret'); + late final __objc_msgSend_940_stret = + __objc_msgSend_940_stretPtr + .asFunction< + void Function( ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend_stret'); - late final __objc_msgSend_940_stret = __objc_msgSend_940_stretPtr.asFunction< - void Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_processorCount1 = _registerName1("processorCount"); - late final _sel_activeProcessorCount1 = - _registerName1("activeProcessorCount"); - late final _sel_physicalMemory1 = _registerName1("physicalMemory"); - late final _sel_isOperatingSystemAtLeastVersion_1 = - _registerName1("isOperatingSystemAtLeastVersion:"); + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_processorCount1 = objc.registerName("processorCount"); + late final _sel_activeProcessorCount1 = objc.registerName( + "activeProcessorCount", + ); + late final _sel_physicalMemory1 = objc.registerName("physicalMemory"); + late final _sel_isOperatingSystemAtLeastVersion_1 = objc.registerName( + "isOperatingSystemAtLeastVersion:", + ); bool _objc_msgSend_941( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, NSOperatingSystemVersion version, ) { - return __objc_msgSend_941( - obj, - sel, - version, - ); + return __objc_msgSend_941(obj, sel, version); } late final __objc_msgSend_941Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer, ffi.Pointer, - NSOperatingSystemVersion)>>('objc_msgSend'); - late final __objc_msgSend_941 = __objc_msgSend_941Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - NSOperatingSystemVersion)>(); - - late final _sel_systemUptime1 = _registerName1("systemUptime"); - late final _sel_disableSuddenTermination1 = - _registerName1("disableSuddenTermination"); - late final _sel_enableSuddenTermination1 = - _registerName1("enableSuddenTermination"); - late final _sel_disableAutomaticTermination_1 = - _registerName1("disableAutomaticTermination:"); - late final _sel_enableAutomaticTermination_1 = - _registerName1("enableAutomaticTermination:"); - late final _sel_automaticTerminationSupportEnabled1 = - _registerName1("automaticTerminationSupportEnabled"); - late final _sel_setAutomaticTerminationSupportEnabled_1 = - _registerName1("setAutomaticTerminationSupportEnabled:"); - late final _sel_beginActivityWithOptions_reason_1 = - _registerName1("beginActivityWithOptions:reason:"); - ffi.Pointer _objc_msgSend_942( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + NSOperatingSystemVersion, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_941 = + __objc_msgSend_941Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + NSOperatingSystemVersion, + ) + >(); + + late final _sel_systemUptime1 = objc.registerName("systemUptime"); + late final _sel_disableSuddenTermination1 = objc.registerName( + "disableSuddenTermination", + ); + late final _sel_enableSuddenTermination1 = objc.registerName( + "enableSuddenTermination", + ); + late final _sel_disableAutomaticTermination_1 = objc.registerName( + "disableAutomaticTermination:", + ); + late final _sel_enableAutomaticTermination_1 = objc.registerName( + "enableAutomaticTermination:", + ); + late final _sel_automaticTerminationSupportEnabled1 = objc.registerName( + "automaticTerminationSupportEnabled", + ); + late final _sel_setAutomaticTerminationSupportEnabled_1 = objc.registerName( + "setAutomaticTerminationSupportEnabled:", + ); + late final _sel_beginActivityWithOptions_reason_1 = objc.registerName( + "beginActivityWithOptions:reason:", + ); + ffi.Pointer _objc_msgSend_942( + ffi.Pointer obj, + ffi.Pointer sel, int options, - ffi.Pointer reason, + ffi.Pointer reason, ) { - return __objc_msgSend_942( - obj, - sel, - options, - reason, - ); + return __objc_msgSend_942(obj, sel, options, reason); } late final __objc_msgSend_942Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_942 = __objc_msgSend_942Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, int, ffi.Pointer)>(); - - late final _sel_endActivity_1 = _registerName1("endActivity:"); - late final _sel_performActivityWithOptions_reason_usingBlock_1 = - _registerName1("performActivityWithOptions:reason:usingBlock:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_942 = + __objc_msgSend_942Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ) + >(); + + late final _sel_endActivity_1 = objc.registerName("endActivity:"); + late final _sel_performActivityWithOptions_reason_usingBlock_1 = objc + .registerName("performActivityWithOptions:reason:usingBlock:"); void _objc_msgSend_943( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int options, - ffi.Pointer reason, - ffi.Pointer<_ObjCBlock> block, + ffi.Pointer reason, + ffi.Pointer block, ) { - return __objc_msgSend_943( - obj, - sel, - options, - reason, - block, - ); + return __objc_msgSend_943(obj, sel, options, reason, block); } late final __objc_msgSend_943Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_943 = __objc_msgSend_943Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int, - ffi.Pointer, ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_performExpiringActivityWithReason_usingBlock_1 = - _registerName1("performExpiringActivityWithReason:usingBlock:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_943 = + __objc_msgSend_943Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_performExpiringActivityWithReason_usingBlock_1 = objc + .registerName("performExpiringActivityWithReason:usingBlock:"); void _objc_msgSend_944( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer reason, - ffi.Pointer<_ObjCBlock> block, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer reason, + ffi.Pointer block, ) { - return __objc_msgSend_944( - obj, - sel, - reason, - block, - ); + return __objc_msgSend_944(obj, sel, reason, block); } late final __objc_msgSend_944Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_944 = __objc_msgSend_944Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_userName1 = _registerName1("userName"); - late final _sel_fullUserName1 = _registerName1("fullUserName"); - late final _sel_thermalState1 = _registerName1("thermalState"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_944 = + __objc_msgSend_944Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_userName1 = objc.registerName("userName"); + late final _sel_fullUserName1 = objc.registerName("fullUserName"); + late final _sel_thermalState1 = objc.registerName("thermalState"); int _objc_msgSend_945( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_945( - obj, - sel, - ); + return __objc_msgSend_945(obj, sel); } late final __objc_msgSend_945Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_945 = __objc_msgSend_945Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer)>(); - - late final _sel_isLowPowerModeEnabled1 = - _registerName1("isLowPowerModeEnabled"); - late final _sel_isMacCatalystApp1 = _registerName1("isMacCatalystApp"); - late final _sel_isiOSAppOnMac1 = _registerName1("isiOSAppOnMac"); - late final _class_NSTextCheckingResult1 = _getClass1("NSTextCheckingResult"); - late final _sel_resultType1 = _registerName1("resultType"); + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_945 = + __objc_msgSend_945Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_isLowPowerModeEnabled1 = objc.registerName( + "isLowPowerModeEnabled", + ); + late final _sel_isMacCatalystApp1 = objc.registerName("isMacCatalystApp"); + late final _sel_isiOSAppOnMac1 = objc.registerName("isiOSAppOnMac"); + late final _class_NSTextCheckingResult1 = objc.getClass( + "NSTextCheckingResult", + ); + late final _sel_resultType1 = objc.registerName("resultType"); int _objc_msgSend_946( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_946( - obj, - sel, - ); + return __objc_msgSend_946(obj, sel); } late final __objc_msgSend_946Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_946 = __objc_msgSend_946Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_946 = + __objc_msgSend_946Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); - late final _sel_range1 = _registerName1("range"); - late final _sel_orthography1 = _registerName1("orthography"); - ffi.Pointer _objc_msgSend_947( - ffi.Pointer obj, - ffi.Pointer sel, + late final _sel_range1 = objc.registerName("range"); + late final _sel_orthography1 = objc.registerName("orthography"); + ffi.Pointer _objc_msgSend_947( + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_947( - obj, - sel, - ); + return __objc_msgSend_947(obj, sel); } late final __objc_msgSend_947Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_947 = __objc_msgSend_947Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_grammarDetails1 = _registerName1("grammarDetails"); - late final _sel_duration1 = _registerName1("duration"); - late final _sel_components1 = _registerName1("components"); - late final _sel_replacementString1 = _registerName1("replacementString"); - late final _sel_alternativeStrings1 = _registerName1("alternativeStrings"); - late final _class_NSRegularExpression1 = _getClass1("NSRegularExpression"); - late final _sel_regularExpressionWithPattern_options_error_1 = - _registerName1("regularExpressionWithPattern:options:error:"); - ffi.Pointer _objc_msgSend_948( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer pattern, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_947 = + __objc_msgSend_947Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_grammarDetails1 = objc.registerName("grammarDetails"); + late final _sel_duration1 = objc.registerName("duration"); + late final _sel_components1 = objc.registerName("components"); + late final _sel_replacementString1 = objc.registerName("replacementString"); + late final _sel_alternativeStrings1 = objc.registerName("alternativeStrings"); + late final _class_NSRegularExpression1 = objc.getClass("NSRegularExpression"); + late final _sel_regularExpressionWithPattern_options_error_1 = objc + .registerName("regularExpressionWithPattern:options:error:"); + ffi.Pointer _objc_msgSend_948( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer pattern, int options, - ffi.Pointer> error, + ffi.Pointer> error, ) { - return __objc_msgSend_948( - obj, - sel, - pattern, - options, - error, - ); + return __objc_msgSend_948(obj, sel, pattern, options, error); } late final __objc_msgSend_948Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_948 = __objc_msgSend_948Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>)>(); - - late final _sel_initWithPattern_options_error_1 = - _registerName1("initWithPattern:options:error:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_948 = + __objc_msgSend_948Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer>, + ) + >(); + + late final _sel_initWithPattern_options_error_1 = objc.registerName( + "initWithPattern:options:error:", + ); instancetype _objc_msgSend_949( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer pattern, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer pattern, int options, - ffi.Pointer> error, + ffi.Pointer> error, ) { - return __objc_msgSend_949( - obj, - sel, - pattern, - options, - error, - ); + return __objc_msgSend_949(obj, sel, pattern, options, error); } late final __objc_msgSend_949Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_949 = __objc_msgSend_949Ptr.asFunction< + ffi.NativeFunction< instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>)>(); - - late final _sel_pattern1 = _registerName1("pattern"); - late final _sel_options1 = _registerName1("options"); + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_949 = + __objc_msgSend_949Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer>, + ) + >(); + + late final _sel_pattern1 = objc.registerName("pattern"); + late final _sel_options1 = objc.registerName("options"); int _objc_msgSend_950( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_950( - obj, - sel, - ); + return __objc_msgSend_950(obj, sel); } late final __objc_msgSend_950Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_950 = __objc_msgSend_950Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer)>(); - - late final _sel_numberOfCaptureGroups1 = - _registerName1("numberOfCaptureGroups"); - late final _sel_escapedPatternForString_1 = - _registerName1("escapedPatternForString:"); - late final _sel_enumerateMatchesInString_options_range_usingBlock_1 = - _registerName1("enumerateMatchesInString:options:range:usingBlock:"); + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_950 = + __objc_msgSend_950Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_numberOfCaptureGroups1 = objc.registerName( + "numberOfCaptureGroups", + ); + late final _sel_escapedPatternForString_1 = objc.registerName( + "escapedPatternForString:", + ); + late final _sel_enumerateMatchesInString_options_range_usingBlock_1 = objc + .registerName("enumerateMatchesInString:options:range:usingBlock:"); void _objc_msgSend_951( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer string, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer string, int options, _NSRange range, - ffi.Pointer<_ObjCBlock> block, + ffi.Pointer block, ) { - return __objc_msgSend_951( - obj, - sel, - string, - options, - range, - block, - ); + return __objc_msgSend_951(obj, sel, string, options, range, block); } late final __objc_msgSend_951Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + _NSRange, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_951 = + __objc_msgSend_951Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, _NSRange, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_951 = __objc_msgSend_951Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int, _NSRange, ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_matchesInString_options_range_1 = - _registerName1("matchesInString:options:range:"); - ffi.Pointer _objc_msgSend_952( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer string, + ffi.Pointer, + ) + >(); + + late final _sel_matchesInString_options_range_1 = objc.registerName( + "matchesInString:options:range:", + ); + ffi.Pointer _objc_msgSend_952( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer string, int options, _NSRange range, ) { - return __objc_msgSend_952( - obj, - sel, - string, - options, - range, - ); + return __objc_msgSend_952(obj, sel, string, options, range); } late final __objc_msgSend_952Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - _NSRange)>>('objc_msgSend'); - late final __objc_msgSend_952 = __objc_msgSend_952Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer, int, _NSRange)>(); - - late final _sel_numberOfMatchesInString_options_range_1 = - _registerName1("numberOfMatchesInString:options:range:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + _NSRange, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_952 = + __objc_msgSend_952Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + _NSRange, + ) + >(); + + late final _sel_numberOfMatchesInString_options_range_1 = objc.registerName( + "numberOfMatchesInString:options:range:", + ); int _objc_msgSend_953( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer string, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer string, int options, _NSRange range, ) { - return __objc_msgSend_953( - obj, - sel, - string, - options, - range, - ); + return __objc_msgSend_953(obj, sel, string, options, range); } late final __objc_msgSend_953Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - _NSRange)>>('objc_msgSend'); - late final __objc_msgSend_953 = __objc_msgSend_953Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int, _NSRange)>(); - - late final _sel_firstMatchInString_options_range_1 = - _registerName1("firstMatchInString:options:range:"); - ffi.Pointer _objc_msgSend_954( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer string, + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + _NSRange, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_953 = + __objc_msgSend_953Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + _NSRange, + ) + >(); + + late final _sel_firstMatchInString_options_range_1 = objc.registerName( + "firstMatchInString:options:range:", + ); + ffi.Pointer _objc_msgSend_954( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer string, int options, _NSRange range, ) { - return __objc_msgSend_954( - obj, - sel, - string, - options, - range, - ); + return __objc_msgSend_954(obj, sel, string, options, range); } late final __objc_msgSend_954Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - _NSRange)>>('objc_msgSend'); - late final __objc_msgSend_954 = __objc_msgSend_954Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer, int, _NSRange)>(); - - late final _sel_rangeOfFirstMatchInString_options_range_1 = - _registerName1("rangeOfFirstMatchInString:options:range:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + _NSRange, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_954 = + __objc_msgSend_954Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + _NSRange, + ) + >(); + + late final _sel_rangeOfFirstMatchInString_options_range_1 = objc.registerName( + "rangeOfFirstMatchInString:options:range:", + ); _NSRange _objc_msgSend_955( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer string, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer string, int options, _NSRange range, ) { - return __objc_msgSend_955( - obj, - sel, - string, - options, - range, - ); + return __objc_msgSend_955(obj, sel, string, options, range); } late final __objc_msgSend_955Ptr = _lookup< - ffi.NativeFunction< - _NSRange Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Int32, _NSRange)>>('objc_msgSend'); - late final __objc_msgSend_955 = __objc_msgSend_955Ptr.asFunction< - _NSRange Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int, _NSRange)>(); + ffi.NativeFunction< + _NSRange Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + _NSRange, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_955 = + __objc_msgSend_955Ptr + .asFunction< + _NSRange Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + _NSRange, + ) + >(); void _objc_msgSend_955_stret( ffi.Pointer<_NSRange> stret, - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer string, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer string, int options, _NSRange range, ) { - return __objc_msgSend_955_stret( - stret, - obj, - sel, - string, - options, - range, - ); + return __objc_msgSend_955_stret(stret, obj, sel, string, options, range); } late final __objc_msgSend_955_stretPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer<_NSRange>, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + _NSRange, + ) + > + >('objc_msgSend_stret'); + late final __objc_msgSend_955_stret = + __objc_msgSend_955_stretPtr + .asFunction< + void Function( ffi.Pointer<_NSRange>, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - _NSRange)>>('objc_msgSend_stret'); - late final __objc_msgSend_955_stret = __objc_msgSend_955_stretPtr.asFunction< - void Function(ffi.Pointer<_NSRange>, ffi.Pointer, - ffi.Pointer, ffi.Pointer, int, _NSRange)>(); + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + _NSRange, + ) + >(); late final _sel_stringByReplacingMatchesInString_options_range_withTemplate_1 = - _registerName1( - "stringByReplacingMatchesInString:options:range:withTemplate:"); - ffi.Pointer _objc_msgSend_956( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer string, + objc.registerName( + "stringByReplacingMatchesInString:options:range:withTemplate:", + ); + ffi.Pointer _objc_msgSend_956( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer string, int options, _NSRange range, - ffi.Pointer templ, + ffi.Pointer templ, ) { - return __objc_msgSend_956( - obj, - sel, - string, - options, - range, - templ, - ); + return __objc_msgSend_956(obj, sel, string, options, range, templ); } late final __objc_msgSend_956Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + _NSRange, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_956 = + __objc_msgSend_956Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, _NSRange, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_956 = __objc_msgSend_956Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - _NSRange, - ffi.Pointer)>(); + ffi.Pointer, + ) + >(); - late final _sel_replaceMatchesInString_options_range_withTemplate_1 = - _registerName1("replaceMatchesInString:options:range:withTemplate:"); + late final _sel_replaceMatchesInString_options_range_withTemplate_1 = objc + .registerName("replaceMatchesInString:options:range:withTemplate:"); int _objc_msgSend_957( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer string, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer string, int options, _NSRange range, - ffi.Pointer templ, + ffi.Pointer templ, ) { - return __objc_msgSend_957( - obj, - sel, - string, - options, - range, - templ, - ); + return __objc_msgSend_957(obj, sel, string, options, range, templ); } late final __objc_msgSend_957Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + _NSRange, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_957 = + __objc_msgSend_957Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, _NSRange, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_957 = __objc_msgSend_957Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int, _NSRange, ffi.Pointer)>(); - - late final _sel_replacementStringForResult_inString_offset_template_1 = - _registerName1("replacementStringForResult:inString:offset:template:"); - ffi.Pointer _objc_msgSend_958( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer result, - ffi.Pointer string, + ffi.Pointer, + ) + >(); + + late final _sel_replacementStringForResult_inString_offset_template_1 = objc + .registerName("replacementStringForResult:inString:offset:template:"); + ffi.Pointer _objc_msgSend_958( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer result, + ffi.Pointer string, int offset, - ffi.Pointer templ, + ffi.Pointer templ, ) { - return __objc_msgSend_958( - obj, - sel, - result, - string, - offset, - templ, - ); + return __objc_msgSend_958(obj, sel, result, string, offset, templ); } late final __objc_msgSend_958Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Long, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_958 = __objc_msgSend_958Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer)>(); - - late final _sel_escapedTemplateForString_1 = - _registerName1("escapedTemplateForString:"); - late final _sel_regularExpression1 = _registerName1("regularExpression"); - ffi.Pointer _objc_msgSend_959( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_959( - obj, - sel, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Long, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_958 = + __objc_msgSend_958Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ) + >(); + + late final _sel_escapedTemplateForString_1 = objc.registerName( + "escapedTemplateForString:", + ); + late final _sel_regularExpression1 = objc.registerName("regularExpression"); + ffi.Pointer _objc_msgSend_959( + ffi.Pointer obj, + ffi.Pointer sel, + ) { + return __objc_msgSend_959(obj, sel); } late final __objc_msgSend_959Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_959 = __objc_msgSend_959Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_phoneNumber1 = _registerName1("phoneNumber"); - late final _sel_numberOfRanges1 = _registerName1("numberOfRanges"); - late final _sel_rangeAtIndex_1 = _registerName1("rangeAtIndex:"); - late final _sel_rangeWithName_1 = _registerName1("rangeWithName:"); - late final _sel_resultByAdjustingRangesWithOffset_1 = - _registerName1("resultByAdjustingRangesWithOffset:"); - ffi.Pointer _objc_msgSend_960( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_959 = + __objc_msgSend_959Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_phoneNumber1 = objc.registerName("phoneNumber"); + late final _sel_numberOfRanges1 = objc.registerName("numberOfRanges"); + late final _sel_rangeAtIndex_1 = objc.registerName("rangeAtIndex:"); + late final _sel_rangeWithName_1 = objc.registerName("rangeWithName:"); + late final _sel_resultByAdjustingRangesWithOffset_1 = objc.registerName( + "resultByAdjustingRangesWithOffset:", + ); + ffi.Pointer _objc_msgSend_960( + ffi.Pointer obj, + ffi.Pointer sel, int offset, ) { - return __objc_msgSend_960( - obj, - sel, - offset, - ); + return __objc_msgSend_960(obj, sel, offset); } late final __objc_msgSend_960Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Long)>>('objc_msgSend'); - late final __objc_msgSend_960 = __objc_msgSend_960Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_addressComponents1 = _registerName1("addressComponents"); - late final _sel_orthographyCheckingResultWithRange_orthography_1 = - _registerName1("orthographyCheckingResultWithRange:orthography:"); - ffi.Pointer _objc_msgSend_961( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Long, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_960 = + __objc_msgSend_960Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_addressComponents1 = objc.registerName("addressComponents"); + late final _sel_orthographyCheckingResultWithRange_orthography_1 = objc + .registerName("orthographyCheckingResultWithRange:orthography:"); + ffi.Pointer _objc_msgSend_961( + ffi.Pointer obj, + ffi.Pointer sel, _NSRange range, - ffi.Pointer orthography, + ffi.Pointer orthography, ) { - return __objc_msgSend_961( - obj, - sel, - range, - orthography, - ); + return __objc_msgSend_961(obj, sel, range, orthography); } late final __objc_msgSend_961Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_961 = + __objc_msgSend_961Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, _NSRange, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_961 = __objc_msgSend_961Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, _NSRange, ffi.Pointer)>(); - - late final _sel_spellCheckingResultWithRange_1 = - _registerName1("spellCheckingResultWithRange:"); - ffi.Pointer _objc_msgSend_962( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer, + ) + >(); + + late final _sel_spellCheckingResultWithRange_1 = objc.registerName( + "spellCheckingResultWithRange:", + ); + ffi.Pointer _objc_msgSend_962( + ffi.Pointer obj, + ffi.Pointer sel, _NSRange range, ) { - return __objc_msgSend_962( - obj, - sel, - range, - ); + return __objc_msgSend_962(obj, sel, range); } late final __objc_msgSend_962Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, _NSRange)>>('objc_msgSend'); - late final __objc_msgSend_962 = __objc_msgSend_962Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer, _NSRange)>(); - - late final _sel_grammarCheckingResultWithRange_details_1 = - _registerName1("grammarCheckingResultWithRange:details:"); - ffi.Pointer _objc_msgSend_963( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_962 = + __objc_msgSend_962Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ) + >(); + + late final _sel_grammarCheckingResultWithRange_details_1 = objc.registerName( + "grammarCheckingResultWithRange:details:", + ); + ffi.Pointer _objc_msgSend_963( + ffi.Pointer obj, + ffi.Pointer sel, _NSRange range, - ffi.Pointer details, + ffi.Pointer details, ) { - return __objc_msgSend_963( - obj, - sel, - range, - details, - ); + return __objc_msgSend_963(obj, sel, range, details); } late final __objc_msgSend_963Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_963 = + __objc_msgSend_963Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, _NSRange, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_963 = __objc_msgSend_963Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, _NSRange, ffi.Pointer)>(); - - late final _sel_dateCheckingResultWithRange_date_1 = - _registerName1("dateCheckingResultWithRange:date:"); - ffi.Pointer _objc_msgSend_964( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer, + ) + >(); + + late final _sel_dateCheckingResultWithRange_date_1 = objc.registerName( + "dateCheckingResultWithRange:date:", + ); + ffi.Pointer _objc_msgSend_964( + ffi.Pointer obj, + ffi.Pointer sel, _NSRange range, - ffi.Pointer date, + ffi.Pointer date, ) { - return __objc_msgSend_964( - obj, - sel, - range, - date, - ); + return __objc_msgSend_964(obj, sel, range, date); } late final __objc_msgSend_964Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_964 = + __objc_msgSend_964Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, _NSRange, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_964 = __objc_msgSend_964Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, _NSRange, ffi.Pointer)>(); - - late final _sel_dateCheckingResultWithRange_date_timeZone_duration_1 = - _registerName1("dateCheckingResultWithRange:date:timeZone:duration:"); - ffi.Pointer _objc_msgSend_965( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer, + ) + >(); + + late final _sel_dateCheckingResultWithRange_date_timeZone_duration_1 = objc + .registerName("dateCheckingResultWithRange:date:timeZone:duration:"); + ffi.Pointer _objc_msgSend_965( + ffi.Pointer obj, + ffi.Pointer sel, _NSRange range, - ffi.Pointer date, - ffi.Pointer timeZone, + ffi.Pointer date, + ffi.Pointer timeZone, double duration, ) { - return __objc_msgSend_965( - obj, - sel, - range, - date, - timeZone, - duration, - ); + return __objc_msgSend_965(obj, sel, range, date, timeZone, duration); } late final __objc_msgSend_965Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + ffi.Pointer, + ffi.Double, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_965 = + __objc_msgSend_965Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, _NSRange, - ffi.Pointer, - ffi.Pointer, - ffi.Double)>>('objc_msgSend'); - late final __objc_msgSend_965 = __objc_msgSend_965Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - ffi.Pointer, - double)>(); - - late final _sel_addressCheckingResultWithRange_components_1 = - _registerName1("addressCheckingResultWithRange:components:"); - ffi.Pointer _objc_msgSend_966( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer, + ffi.Pointer, + double, + ) + >(); + + late final _sel_addressCheckingResultWithRange_components_1 = objc + .registerName("addressCheckingResultWithRange:components:"); + ffi.Pointer _objc_msgSend_966( + ffi.Pointer obj, + ffi.Pointer sel, _NSRange range, - ffi.Pointer components, + ffi.Pointer components, ) { - return __objc_msgSend_966( - obj, - sel, - range, - components, - ); + return __objc_msgSend_966(obj, sel, range, components); } late final __objc_msgSend_966Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_966 = + __objc_msgSend_966Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, _NSRange, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_966 = __objc_msgSend_966Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, _NSRange, ffi.Pointer)>(); - - late final _sel_linkCheckingResultWithRange_URL_1 = - _registerName1("linkCheckingResultWithRange:URL:"); - ffi.Pointer _objc_msgSend_967( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer, + ) + >(); + + late final _sel_linkCheckingResultWithRange_URL_1 = objc.registerName( + "linkCheckingResultWithRange:URL:", + ); + ffi.Pointer _objc_msgSend_967( + ffi.Pointer obj, + ffi.Pointer sel, _NSRange range, - ffi.Pointer url, + ffi.Pointer url, ) { - return __objc_msgSend_967( - obj, - sel, - range, - url, - ); + return __objc_msgSend_967(obj, sel, range, url); } late final __objc_msgSend_967Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_967 = + __objc_msgSend_967Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, _NSRange, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_967 = __objc_msgSend_967Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, _NSRange, ffi.Pointer)>(); - - late final _sel_quoteCheckingResultWithRange_replacementString_1 = - _registerName1("quoteCheckingResultWithRange:replacementString:"); - ffi.Pointer _objc_msgSend_968( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer, + ) + >(); + + late final _sel_quoteCheckingResultWithRange_replacementString_1 = objc + .registerName("quoteCheckingResultWithRange:replacementString:"); + ffi.Pointer _objc_msgSend_968( + ffi.Pointer obj, + ffi.Pointer sel, _NSRange range, - ffi.Pointer replacementString, + ffi.Pointer replacementString, ) { - return __objc_msgSend_968( - obj, - sel, - range, - replacementString, - ); + return __objc_msgSend_968(obj, sel, range, replacementString); } late final __objc_msgSend_968Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_968 = + __objc_msgSend_968Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, _NSRange, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_968 = __objc_msgSend_968Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, _NSRange, ffi.Pointer)>(); - - late final _sel_dashCheckingResultWithRange_replacementString_1 = - _registerName1("dashCheckingResultWithRange:replacementString:"); - late final _sel_replacementCheckingResultWithRange_replacementString_1 = - _registerName1("replacementCheckingResultWithRange:replacementString:"); - late final _sel_correctionCheckingResultWithRange_replacementString_1 = - _registerName1("correctionCheckingResultWithRange:replacementString:"); + ffi.Pointer, + ) + >(); + + late final _sel_dashCheckingResultWithRange_replacementString_1 = objc + .registerName("dashCheckingResultWithRange:replacementString:"); + late final _sel_replacementCheckingResultWithRange_replacementString_1 = objc + .registerName("replacementCheckingResultWithRange:replacementString:"); + late final _sel_correctionCheckingResultWithRange_replacementString_1 = objc + .registerName("correctionCheckingResultWithRange:replacementString:"); late final _sel_correctionCheckingResultWithRange_replacementString_alternativeStrings_1 = - _registerName1( - "correctionCheckingResultWithRange:replacementString:alternativeStrings:"); - ffi.Pointer _objc_msgSend_969( - ffi.Pointer obj, - ffi.Pointer sel, + objc.registerName( + "correctionCheckingResultWithRange:replacementString:alternativeStrings:", + ); + ffi.Pointer _objc_msgSend_969( + ffi.Pointer obj, + ffi.Pointer sel, _NSRange range, - ffi.Pointer replacementString, - ffi.Pointer alternativeStrings, + ffi.Pointer replacementString, + ffi.Pointer alternativeStrings, ) { return __objc_msgSend_969( obj, @@ -27617,139 +34728,166 @@ class SwiftLibrary { } late final __objc_msgSend_969Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_969 = + __objc_msgSend_969Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, _NSRange, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_969 = __objc_msgSend_969Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - ffi.Pointer)>(); + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_regularExpressionCheckingResultWithRanges_count_regularExpression_1 = - _registerName1( - "regularExpressionCheckingResultWithRanges:count:regularExpression:"); - ffi.Pointer _objc_msgSend_970( - ffi.Pointer obj, - ffi.Pointer sel, + objc.registerName( + "regularExpressionCheckingResultWithRanges:count:regularExpression:", + ); + ffi.Pointer _objc_msgSend_970( + ffi.Pointer obj, + ffi.Pointer sel, ffi.Pointer<_NSRange> ranges, int count, - ffi.Pointer regularExpression, + ffi.Pointer regularExpression, ) { - return __objc_msgSend_970( - obj, - sel, - ranges, - count, - regularExpression, - ); + return __objc_msgSend_970(obj, sel, ranges, count, regularExpression); } late final __objc_msgSend_970Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_NSRange>, + ffi.UnsignedLong, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_970 = + __objc_msgSend_970Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, ffi.Pointer<_NSRange>, - ffi.UnsignedLong, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_970 = __objc_msgSend_970Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_NSRange>, - int, - ffi.Pointer)>(); - - late final _sel_phoneNumberCheckingResultWithRange_phoneNumber_1 = - _registerName1("phoneNumberCheckingResultWithRange:phoneNumber:"); - late final _sel_transitInformationCheckingResultWithRange_components_1 = - _registerName1("transitInformationCheckingResultWithRange:components:"); - late final _class_NSURLCache1 = _getClass1("NSURLCache"); - late final _sel_sharedURLCache1 = _registerName1("sharedURLCache"); - ffi.Pointer _objc_msgSend_971( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_971( - obj, - sel, - ); + int, + ffi.Pointer, + ) + >(); + + late final _sel_phoneNumberCheckingResultWithRange_phoneNumber_1 = objc + .registerName("phoneNumberCheckingResultWithRange:phoneNumber:"); + late final _sel_transitInformationCheckingResultWithRange_components_1 = objc + .registerName("transitInformationCheckingResultWithRange:components:"); + late final _class_NSURLCache1 = objc.getClass("NSURLCache"); + late final _sel_sharedURLCache1 = objc.registerName("sharedURLCache"); + ffi.Pointer _objc_msgSend_971( + ffi.Pointer obj, + ffi.Pointer sel, + ) { + return __objc_msgSend_971(obj, sel); } late final __objc_msgSend_971Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_971 = __objc_msgSend_971Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_971 = + __objc_msgSend_971Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); - late final _sel_setSharedURLCache_1 = _registerName1("setSharedURLCache:"); + late final _sel_setSharedURLCache_1 = objc.registerName("setSharedURLCache:"); void _objc_msgSend_972( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value, ) { - return __objc_msgSend_972( - obj, - sel, - value, - ); + return __objc_msgSend_972(obj, sel, value); } late final __objc_msgSend_972Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_972 = __objc_msgSend_972Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_initWithMemoryCapacity_diskCapacity_diskPath_1 = - _registerName1("initWithMemoryCapacity:diskCapacity:diskPath:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_972 = + __objc_msgSend_972Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_initWithMemoryCapacity_diskCapacity_diskPath_1 = objc + .registerName("initWithMemoryCapacity:diskCapacity:diskPath:"); instancetype _objc_msgSend_973( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int memoryCapacity, int diskCapacity, - ffi.Pointer path, + ffi.Pointer path, ) { - return __objc_msgSend_973( - obj, - sel, - memoryCapacity, - diskCapacity, - path, - ); + return __objc_msgSend_973(obj, sel, memoryCapacity, diskCapacity, path); } late final __objc_msgSend_973Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ffi.UnsignedLong, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_973 = __objc_msgSend_973Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, int, - int, ffi.Pointer)>(); - - late final _sel_initWithMemoryCapacity_diskCapacity_directoryURL_1 = - _registerName1("initWithMemoryCapacity:diskCapacity:directoryURL:"); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.UnsignedLong, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_973 = + __objc_msgSend_973Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + int, + int, + ffi.Pointer, + ) + >(); + + late final _sel_initWithMemoryCapacity_diskCapacity_directoryURL_1 = objc + .registerName("initWithMemoryCapacity:diskCapacity:directoryURL:"); instancetype _objc_msgSend_974( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int memoryCapacity, int diskCapacity, - ffi.Pointer directoryURL, + ffi.Pointer directoryURL, ) { return __objc_msgSend_974( obj, @@ -27761,53 +34899,70 @@ class SwiftLibrary { } late final __objc_msgSend_974Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ffi.UnsignedLong, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_974 = __objc_msgSend_974Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, int, - int, ffi.Pointer)>(); - - late final _class_NSCachedURLResponse1 = _getClass1("NSCachedURLResponse"); - late final _sel_initWithResponse_data_1 = - _registerName1("initWithResponse:data:"); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.UnsignedLong, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_974 = + __objc_msgSend_974Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + int, + int, + ffi.Pointer, + ) + >(); + + late final _class_NSCachedURLResponse1 = objc.getClass("NSCachedURLResponse"); + late final _sel_initWithResponse_data_1 = objc.registerName( + "initWithResponse:data:", + ); instancetype _objc_msgSend_975( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer response, - ffi.Pointer data, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer response, + ffi.Pointer data, ) { - return __objc_msgSend_975( - obj, - sel, - response, - data, - ); + return __objc_msgSend_975(obj, sel, response, data); } late final __objc_msgSend_975Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_975 = __objc_msgSend_975Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_initWithResponse_data_userInfo_storagePolicy_1 = - _registerName1("initWithResponse:data:userInfo:storagePolicy:"); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_975 = + __objc_msgSend_975Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_initWithResponse_data_userInfo_storagePolicy_1 = objc + .registerName("initWithResponse:data:userInfo:storagePolicy:"); instancetype _objc_msgSend_976( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer response, - ffi.Pointer data, - ffi.Pointer userInfo, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer response, + ffi.Pointer data, + ffi.Pointer userInfo, int storagePolicy, ) { return __objc_msgSend_976( @@ -27821,656 +34976,803 @@ class SwiftLibrary { } late final __objc_msgSend_976Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_976 = __objc_msgSend_976Ptr.asFunction< + ffi.NativeFunction< instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int)>(); - - ffi.Pointer _objc_msgSend_977( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_977( - obj, - sel, - ); + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_976 = + __objc_msgSend_976Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + ffi.Pointer _objc_msgSend_977( + ffi.Pointer obj, + ffi.Pointer sel, + ) { + return __objc_msgSend_977(obj, sel); } late final __objc_msgSend_977Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_977 = __objc_msgSend_977Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_977 = + __objc_msgSend_977Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); - late final _sel_storagePolicy1 = _registerName1("storagePolicy"); + late final _sel_storagePolicy1 = objc.registerName("storagePolicy"); int _objc_msgSend_978( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_978( - obj, - sel, - ); + return __objc_msgSend_978(obj, sel); } late final __objc_msgSend_978Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_978 = __objc_msgSend_978Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer)>(); - - late final _sel_cachedResponseForRequest_1 = - _registerName1("cachedResponseForRequest:"); - ffi.Pointer _objc_msgSend_979( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer request, - ) { - return __objc_msgSend_979( - obj, - sel, - request, - ); + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_978 = + __objc_msgSend_978Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_cachedResponseForRequest_1 = objc.registerName( + "cachedResponseForRequest:", + ); + ffi.Pointer _objc_msgSend_979( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer request, + ) { + return __objc_msgSend_979(obj, sel, request); } late final __objc_msgSend_979Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_979 = __objc_msgSend_979Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_storeCachedResponse_forRequest_1 = - _registerName1("storeCachedResponse:forRequest:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_979 = + __objc_msgSend_979Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_storeCachedResponse_forRequest_1 = objc.registerName( + "storeCachedResponse:forRequest:", + ); void _objc_msgSend_980( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer cachedResponse, - ffi.Pointer request, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer cachedResponse, + ffi.Pointer request, ) { - return __objc_msgSend_980( - obj, - sel, - cachedResponse, - request, - ); + return __objc_msgSend_980(obj, sel, cachedResponse, request); } late final __objc_msgSend_980Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_980 = __objc_msgSend_980Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_removeCachedResponseForRequest_1 = - _registerName1("removeCachedResponseForRequest:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_980 = + __objc_msgSend_980Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_removeCachedResponseForRequest_1 = objc.registerName( + "removeCachedResponseForRequest:", + ); void _objc_msgSend_981( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer request, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer request, ) { - return __objc_msgSend_981( - obj, - sel, - request, - ); + return __objc_msgSend_981(obj, sel, request); } late final __objc_msgSend_981Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_981 = __objc_msgSend_981Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_removeAllCachedResponses1 = - _registerName1("removeAllCachedResponses"); - late final _sel_removeCachedResponsesSinceDate_1 = - _registerName1("removeCachedResponsesSinceDate:"); - late final _sel_memoryCapacity1 = _registerName1("memoryCapacity"); - late final _sel_setMemoryCapacity_1 = _registerName1("setMemoryCapacity:"); - late final _sel_diskCapacity1 = _registerName1("diskCapacity"); - late final _sel_setDiskCapacity_1 = _registerName1("setDiskCapacity:"); - late final _sel_currentMemoryUsage1 = _registerName1("currentMemoryUsage"); - late final _sel_currentDiskUsage1 = _registerName1("currentDiskUsage"); - late final _class_NSURLSessionDataTask1 = _getClass1("NSURLSessionDataTask"); - late final _sel_storeCachedResponse_forDataTask_1 = - _registerName1("storeCachedResponse:forDataTask:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_981 = + __objc_msgSend_981Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_removeAllCachedResponses1 = objc.registerName( + "removeAllCachedResponses", + ); + late final _sel_removeCachedResponsesSinceDate_1 = objc.registerName( + "removeCachedResponsesSinceDate:", + ); + late final _sel_memoryCapacity1 = objc.registerName("memoryCapacity"); + late final _sel_setMemoryCapacity_1 = objc.registerName("setMemoryCapacity:"); + late final _sel_diskCapacity1 = objc.registerName("diskCapacity"); + late final _sel_setDiskCapacity_1 = objc.registerName("setDiskCapacity:"); + late final _sel_currentMemoryUsage1 = objc.registerName("currentMemoryUsage"); + late final _sel_currentDiskUsage1 = objc.registerName("currentDiskUsage"); + late final _class_NSURLSessionDataTask1 = objc.getClass( + "NSURLSessionDataTask", + ); + late final _sel_storeCachedResponse_forDataTask_1 = objc.registerName( + "storeCachedResponse:forDataTask:", + ); void _objc_msgSend_982( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer cachedResponse, - ffi.Pointer dataTask, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer cachedResponse, + ffi.Pointer dataTask, ) { - return __objc_msgSend_982( - obj, - sel, - cachedResponse, - dataTask, - ); + return __objc_msgSend_982(obj, sel, cachedResponse, dataTask); } late final __objc_msgSend_982Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_982 = __objc_msgSend_982Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_getCachedResponseForDataTask_completionHandler_1 = - _registerName1("getCachedResponseForDataTask:completionHandler:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_982 = + __objc_msgSend_982Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_getCachedResponseForDataTask_completionHandler_1 = objc + .registerName("getCachedResponseForDataTask:completionHandler:"); void _objc_msgSend_983( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer dataTask, - ffi.Pointer<_ObjCBlock> completionHandler, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer dataTask, + ffi.Pointer completionHandler, ) { - return __objc_msgSend_983( - obj, - sel, - dataTask, - completionHandler, - ); + return __objc_msgSend_983(obj, sel, dataTask, completionHandler); } late final __objc_msgSend_983Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_983 = __objc_msgSend_983Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_removeCachedResponseForDataTask_1 = - _registerName1("removeCachedResponseForDataTask:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_983 = + __objc_msgSend_983Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_removeCachedResponseForDataTask_1 = objc.registerName( + "removeCachedResponseForDataTask:", + ); void _objc_msgSend_984( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer dataTask, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer dataTask, ) { - return __objc_msgSend_984( - obj, - sel, - dataTask, - ); + return __objc_msgSend_984(obj, sel, dataTask); } late final __objc_msgSend_984Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_984 = __objc_msgSend_984Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _class_NSURLConnection1 = _getClass1("NSURLConnection"); - late final _sel_initWithRequest_delegate_startImmediately_1 = - _registerName1("initWithRequest:delegate:startImmediately:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_984 = + __objc_msgSend_984Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _class_NSURLConnection1 = objc.getClass("NSURLConnection"); + late final _sel_initWithRequest_delegate_startImmediately_1 = objc + .registerName("initWithRequest:delegate:startImmediately:"); instancetype _objc_msgSend_985( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer request, - ffi.Pointer delegate, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer request, + ffi.Pointer delegate, bool startImmediately, ) { - return __objc_msgSend_985( - obj, - sel, - request, - delegate, - startImmediately, - ); + return __objc_msgSend_985(obj, sel, request, delegate, startImmediately); } late final __objc_msgSend_985Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Bool)>>('objc_msgSend'); - late final __objc_msgSend_985 = __objc_msgSend_985Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer, bool)>(); - - late final _sel_initWithRequest_delegate_1 = - _registerName1("initWithRequest:delegate:"); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_985 = + __objc_msgSend_985Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool, + ) + >(); + + late final _sel_initWithRequest_delegate_1 = objc.registerName( + "initWithRequest:delegate:", + ); instancetype _objc_msgSend_986( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer request, - ffi.Pointer delegate, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer request, + ffi.Pointer delegate, ) { - return __objc_msgSend_986( - obj, - sel, - request, - delegate, - ); + return __objc_msgSend_986(obj, sel, request, delegate); } late final __objc_msgSend_986Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_986 = __objc_msgSend_986Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_connectionWithRequest_delegate_1 = - _registerName1("connectionWithRequest:delegate:"); - ffi.Pointer _objc_msgSend_987( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer request, - ffi.Pointer delegate, - ) { - return __objc_msgSend_987( - obj, - sel, - request, - delegate, - ); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_986 = + __objc_msgSend_986Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_connectionWithRequest_delegate_1 = objc.registerName( + "connectionWithRequest:delegate:", + ); + ffi.Pointer _objc_msgSend_987( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer request, + ffi.Pointer delegate, + ) { + return __objc_msgSend_987(obj, sel, request, delegate); } late final __objc_msgSend_987Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_987 = __objc_msgSend_987Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - ffi.Pointer _objc_msgSend_988( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_988( - obj, - sel, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_987 = + __objc_msgSend_987Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + ffi.Pointer _objc_msgSend_988( + ffi.Pointer obj, + ffi.Pointer sel, + ) { + return __objc_msgSend_988(obj, sel); } late final __objc_msgSend_988Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_988 = __objc_msgSend_988Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_unscheduleFromRunLoop_forMode_1 = - _registerName1("unscheduleFromRunLoop:forMode:"); - late final _sel_setDelegateQueue_1 = _registerName1("setDelegateQueue:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_988 = + __objc_msgSend_988Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_unscheduleFromRunLoop_forMode_1 = objc.registerName( + "unscheduleFromRunLoop:forMode:", + ); + late final _sel_setDelegateQueue_1 = objc.registerName("setDelegateQueue:"); void _objc_msgSend_989( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer queue, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer queue, ) { - return __objc_msgSend_989( - obj, - sel, - queue, - ); + return __objc_msgSend_989(obj, sel, queue); } late final __objc_msgSend_989Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_989 = __objc_msgSend_989Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_989 = + __objc_msgSend_989Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); - late final _sel_canHandleRequest_1 = _registerName1("canHandleRequest:"); + late final _sel_canHandleRequest_1 = objc.registerName("canHandleRequest:"); bool _objc_msgSend_990( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer request, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer request, ) { - return __objc_msgSend_990( - obj, - sel, - request, - ); + return __objc_msgSend_990(obj, sel, request); } late final __objc_msgSend_990Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_990 = __objc_msgSend_990Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_sendSynchronousRequest_returningResponse_error_1 = - _registerName1("sendSynchronousRequest:returningResponse:error:"); - ffi.Pointer _objc_msgSend_991( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer request, - ffi.Pointer> response, - ffi.Pointer> error, - ) { - return __objc_msgSend_991( - obj, - sel, - request, - response, - error, - ); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_990 = + __objc_msgSend_990Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_sendSynchronousRequest_returningResponse_error_1 = objc + .registerName("sendSynchronousRequest:returningResponse:error:"); + ffi.Pointer _objc_msgSend_991( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer request, + ffi.Pointer> response, + ffi.Pointer> error, + ) { + return __objc_msgSend_991(obj, sel, request, response, error); } late final __objc_msgSend_991Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_991 = __objc_msgSend_991Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer>)>(); - - late final _sel_sendAsynchronousRequest_queue_completionHandler_1 = - _registerName1("sendAsynchronousRequest:queue:completionHandler:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_991 = + __objc_msgSend_991Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer>, + ) + >(); + + late final _sel_sendAsynchronousRequest_queue_completionHandler_1 = objc + .registerName("sendAsynchronousRequest:queue:completionHandler:"); void _objc_msgSend_992( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer request, - ffi.Pointer queue, - ffi.Pointer<_ObjCBlock> handler, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer request, + ffi.Pointer queue, + ffi.Pointer handler, ) { - return __objc_msgSend_992( - obj, - sel, - request, - queue, - handler, - ); + return __objc_msgSend_992(obj, sel, request, queue, handler); } late final __objc_msgSend_992Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_992 = __objc_msgSend_992Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>(); - - late final _class_NSURLCredential1 = _getClass1("NSURLCredential"); - late final _sel_persistence1 = _registerName1("persistence"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_992 = + __objc_msgSend_992Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _class_NSURLCredential1 = objc.getClass("NSURLCredential"); + late final _sel_persistence1 = objc.registerName("persistence"); int _objc_msgSend_993( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_993( - obj, - sel, - ); + return __objc_msgSend_993(obj, sel); } late final __objc_msgSend_993Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_993 = __objc_msgSend_993Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer)>(); - - late final _sel_initWithUser_password_persistence_1 = - _registerName1("initWithUser:password:persistence:"); + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_993 = + __objc_msgSend_993Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_initWithUser_password_persistence_1 = objc.registerName( + "initWithUser:password:persistence:", + ); instancetype _objc_msgSend_994( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer user, - ffi.Pointer password, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer user, + ffi.Pointer password, int persistence, ) { - return __objc_msgSend_994( - obj, - sel, - user, - password, - persistence, - ); + return __objc_msgSend_994(obj, sel, user, password, persistence); } late final __objc_msgSend_994Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_994 = __objc_msgSend_994Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_credentialWithUser_password_persistence_1 = - _registerName1("credentialWithUser:password:persistence:"); - ffi.Pointer _objc_msgSend_995( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer user, - ffi.Pointer password, + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_994 = + __objc_msgSend_994Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_credentialWithUser_password_persistence_1 = objc.registerName( + "credentialWithUser:password:persistence:", + ); + ffi.Pointer _objc_msgSend_995( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer user, + ffi.Pointer password, int persistence, ) { - return __objc_msgSend_995( - obj, - sel, - user, - password, - persistence, - ); + return __objc_msgSend_995(obj, sel, user, password, persistence); } late final __objc_msgSend_995Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_995 = __objc_msgSend_995Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int)>(); - - late final _sel_hasPassword1 = _registerName1("hasPassword"); - late final _sel_initWithIdentity_certificates_persistence_1 = - _registerName1("initWithIdentity:certificates:persistence:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_995 = + __objc_msgSend_995Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_hasPassword1 = objc.registerName("hasPassword"); + late final _sel_initWithIdentity_certificates_persistence_1 = objc + .registerName("initWithIdentity:certificates:persistence:"); instancetype _objc_msgSend_996( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ffi.Pointer<__SecIdentity> identity, - ffi.Pointer certArray, + ffi.Pointer certArray, int persistence, ) { - return __objc_msgSend_996( - obj, - sel, - identity, - certArray, - persistence, - ); + return __objc_msgSend_996(obj, sel, identity, certArray, persistence); } late final __objc_msgSend_996Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<__SecIdentity>, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_996 = + __objc_msgSend_996Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, ffi.Pointer<__SecIdentity>, - ffi.Pointer, - ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_996 = __objc_msgSend_996Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer<__SecIdentity>, ffi.Pointer, int)>(); - - late final _sel_credentialWithIdentity_certificates_persistence_1 = - _registerName1("credentialWithIdentity:certificates:persistence:"); - ffi.Pointer _objc_msgSend_997( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer, + int, + ) + >(); + + late final _sel_credentialWithIdentity_certificates_persistence_1 = objc + .registerName("credentialWithIdentity:certificates:persistence:"); + ffi.Pointer _objc_msgSend_997( + ffi.Pointer obj, + ffi.Pointer sel, ffi.Pointer<__SecIdentity> identity, - ffi.Pointer certArray, + ffi.Pointer certArray, int persistence, ) { - return __objc_msgSend_997( - obj, - sel, - identity, - certArray, - persistence, - ); + return __objc_msgSend_997(obj, sel, identity, certArray, persistence); } late final __objc_msgSend_997Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<__SecIdentity>, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_997 = + __objc_msgSend_997Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, ffi.Pointer<__SecIdentity>, - ffi.Pointer, - ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_997 = __objc_msgSend_997Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<__SecIdentity>, - ffi.Pointer, - int)>(); - - late final _sel_identity1 = _registerName1("identity"); + ffi.Pointer, + int, + ) + >(); + + late final _sel_identity1 = objc.registerName("identity"); ffi.Pointer<__SecIdentity> _objc_msgSend_998( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_998( - obj, - sel, - ); + return __objc_msgSend_998(obj, sel); } late final __objc_msgSend_998Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer<__SecIdentity> Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_998 = __objc_msgSend_998Ptr.asFunction< + ffi.NativeFunction< ffi.Pointer<__SecIdentity> Function( - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_certificates1 = _registerName1("certificates"); - late final _sel_initWithTrust_1 = _registerName1("initWithTrust:"); + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_998 = + __objc_msgSend_998Ptr + .asFunction< + ffi.Pointer<__SecIdentity> Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_certificates1 = objc.registerName("certificates"); + late final _sel_initWithTrust_1 = objc.registerName("initWithTrust:"); instancetype _objc_msgSend_999( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ffi.Pointer<__SecTrust> trust, ) { - return __objc_msgSend_999( - obj, - sel, - trust, - ); + return __objc_msgSend_999(obj, sel, trust); } late final __objc_msgSend_999Ptr = _lookup< - ffi.NativeFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer<__SecTrust>)>>('objc_msgSend'); - late final __objc_msgSend_999 = __objc_msgSend_999Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer<__SecTrust>)>(); - - late final _sel_credentialForTrust_1 = _registerName1("credentialForTrust:"); - ffi.Pointer _objc_msgSend_1000( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<__SecTrust>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_999 = + __objc_msgSend_999Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<__SecTrust>, + ) + >(); + + late final _sel_credentialForTrust_1 = objc.registerName( + "credentialForTrust:", + ); + ffi.Pointer _objc_msgSend_1000( + ffi.Pointer obj, + ffi.Pointer sel, ffi.Pointer<__SecTrust> trust, ) { - return __objc_msgSend_1000( - obj, - sel, - trust, - ); + return __objc_msgSend_1000(obj, sel, trust); } late final __objc_msgSend_1000Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer<__SecTrust>)>>('objc_msgSend'); - late final __objc_msgSend_1000 = __objc_msgSend_1000Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer<__SecTrust>)>(); - - late final _class_NSURLProtectionSpace1 = _getClass1("NSURLProtectionSpace"); - late final _sel_initWithHost_port_protocol_realm_authenticationMethod_1 = - _registerName1("initWithHost:port:protocol:realm:authenticationMethod:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<__SecTrust>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1000 = + __objc_msgSend_1000Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<__SecTrust>, + ) + >(); + + late final _class_NSURLProtectionSpace1 = objc.getClass( + "NSURLProtectionSpace", + ); + late final _sel_initWithHost_port_protocol_realm_authenticationMethod_1 = objc + .registerName("initWithHost:port:protocol:realm:authenticationMethod:"); instancetype _objc_msgSend_1001( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer host, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer host, int port, - ffi.Pointer protocol, - ffi.Pointer realm, - ffi.Pointer authenticationMethod, + ffi.Pointer protocol, + ffi.Pointer realm, + ffi.Pointer authenticationMethod, ) { return __objc_msgSend_1001( obj, @@ -28484,196 +35786,247 @@ class SwiftLibrary { } late final __objc_msgSend_1001Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Long, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1001 = __objc_msgSend_1001Ptr.asFunction< + ffi.NativeFunction< instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Long, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1001 = + __objc_msgSend_1001Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_initWithProxyHost_port_type_realm_authenticationMethod_1 = - _registerName1("initWithProxyHost:port:type:realm:authenticationMethod:"); - late final _sel_realm1 = _registerName1("realm"); - late final _sel_receivesCredentialSecurely1 = - _registerName1("receivesCredentialSecurely"); - late final _sel_isProxy1 = _registerName1("isProxy"); - late final _sel_proxyType1 = _registerName1("proxyType"); - late final _sel_protocol1 = _registerName1("protocol"); - late final _sel_authenticationMethod1 = - _registerName1("authenticationMethod"); - late final _sel_distinguishedNames1 = _registerName1("distinguishedNames"); - late final _sel_serverTrust1 = _registerName1("serverTrust"); + objc.registerName( + "initWithProxyHost:port:type:realm:authenticationMethod:", + ); + late final _sel_realm1 = objc.registerName("realm"); + late final _sel_receivesCredentialSecurely1 = objc.registerName( + "receivesCredentialSecurely", + ); + late final _sel_isProxy1 = objc.registerName("isProxy"); + late final _sel_proxyType1 = objc.registerName("proxyType"); + late final _sel_protocol1 = objc.registerName("protocol"); + late final _sel_authenticationMethod1 = objc.registerName( + "authenticationMethod", + ); + late final _sel_distinguishedNames1 = objc.registerName("distinguishedNames"); + late final _sel_serverTrust1 = objc.registerName("serverTrust"); ffi.Pointer<__SecTrust> _objc_msgSend_1002( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_1002( - obj, - sel, - ); + return __objc_msgSend_1002(obj, sel); } late final __objc_msgSend_1002Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer<__SecTrust> Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1002 = __objc_msgSend_1002Ptr.asFunction< + ffi.NativeFunction< ffi.Pointer<__SecTrust> Function( - ffi.Pointer, ffi.Pointer)>(); + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1002 = + __objc_msgSend_1002Ptr + .asFunction< + ffi.Pointer<__SecTrust> Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); - late final _class_NSURLCredentialStorage1 = - _getClass1("NSURLCredentialStorage"); - late final _sel_sharedCredentialStorage1 = - _registerName1("sharedCredentialStorage"); - ffi.Pointer _objc_msgSend_1003( - ffi.Pointer obj, - ffi.Pointer sel, + late final _class_NSURLCredentialStorage1 = objc.getClass( + "NSURLCredentialStorage", + ); + late final _sel_sharedCredentialStorage1 = objc.registerName( + "sharedCredentialStorage", + ); + ffi.Pointer _objc_msgSend_1003( + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_1003( - obj, - sel, - ); + return __objc_msgSend_1003(obj, sel); } late final __objc_msgSend_1003Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1003 = __objc_msgSend_1003Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_credentialsForProtectionSpace_1 = - _registerName1("credentialsForProtectionSpace:"); - ffi.Pointer _objc_msgSend_1004( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer space, - ) { - return __objc_msgSend_1004( - obj, - sel, - space, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1003 = + __objc_msgSend_1003Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_credentialsForProtectionSpace_1 = objc.registerName( + "credentialsForProtectionSpace:", + ); + ffi.Pointer _objc_msgSend_1004( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer space, + ) { + return __objc_msgSend_1004(obj, sel, space); } late final __objc_msgSend_1004Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1004 = __objc_msgSend_1004Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_allCredentials1 = _registerName1("allCredentials"); - late final _sel_setCredential_forProtectionSpace_1 = - _registerName1("setCredential:forProtectionSpace:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1004 = + __objc_msgSend_1004Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_allCredentials1 = objc.registerName("allCredentials"); + late final _sel_setCredential_forProtectionSpace_1 = objc.registerName( + "setCredential:forProtectionSpace:", + ); void _objc_msgSend_1005( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer credential, - ffi.Pointer space, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer credential, + ffi.Pointer space, ) { - return __objc_msgSend_1005( - obj, - sel, - credential, - space, - ); + return __objc_msgSend_1005(obj, sel, credential, space); } late final __objc_msgSend_1005Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1005 = __objc_msgSend_1005Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_removeCredential_forProtectionSpace_1 = - _registerName1("removeCredential:forProtectionSpace:"); - late final _sel_removeCredential_forProtectionSpace_options_1 = - _registerName1("removeCredential:forProtectionSpace:options:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1005 = + __objc_msgSend_1005Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_removeCredential_forProtectionSpace_1 = objc.registerName( + "removeCredential:forProtectionSpace:", + ); + late final _sel_removeCredential_forProtectionSpace_options_1 = objc + .registerName("removeCredential:forProtectionSpace:options:"); void _objc_msgSend_1006( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer credential, - ffi.Pointer space, - ffi.Pointer options, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer credential, + ffi.Pointer space, + ffi.Pointer options, ) { - return __objc_msgSend_1006( - obj, - sel, - credential, - space, - options, - ); + return __objc_msgSend_1006(obj, sel, credential, space, options); } late final __objc_msgSend_1006Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1006 = __objc_msgSend_1006Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_defaultCredentialForProtectionSpace_1 = - _registerName1("defaultCredentialForProtectionSpace:"); - ffi.Pointer _objc_msgSend_1007( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer space, - ) { - return __objc_msgSend_1007( - obj, - sel, - space, - ); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1006 = + __objc_msgSend_1006Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_defaultCredentialForProtectionSpace_1 = objc.registerName( + "defaultCredentialForProtectionSpace:", + ); + ffi.Pointer _objc_msgSend_1007( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer space, + ) { + return __objc_msgSend_1007(obj, sel, space); } late final __objc_msgSend_1007Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1007 = __objc_msgSend_1007Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_setDefaultCredential_forProtectionSpace_1 = - _registerName1("setDefaultCredential:forProtectionSpace:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1007 = + __objc_msgSend_1007Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_setDefaultCredential_forProtectionSpace_1 = objc.registerName( + "setDefaultCredential:forProtectionSpace:", + ); late final _sel_getCredentialsForProtectionSpace_task_completionHandler_1 = - _registerName1( - "getCredentialsForProtectionSpace:task:completionHandler:"); + objc.registerName( + "getCredentialsForProtectionSpace:task:completionHandler:", + ); void _objc_msgSend_1008( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer protectionSpace, - ffi.Pointer task, - ffi.Pointer<_ObjCBlock> completionHandler, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer protectionSpace, + ffi.Pointer task, + ffi.Pointer completionHandler, ) { return __objc_msgSend_1008( obj, @@ -28685,64 +36038,73 @@ class SwiftLibrary { } late final __objc_msgSend_1008Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_1008 = __objc_msgSend_1008Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_setCredential_forProtectionSpace_task_1 = - _registerName1("setCredential:forProtectionSpace:task:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1008 = + __objc_msgSend_1008Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_setCredential_forProtectionSpace_task_1 = objc.registerName( + "setCredential:forProtectionSpace:task:", + ); void _objc_msgSend_1009( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer credential, - ffi.Pointer protectionSpace, - ffi.Pointer task, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer credential, + ffi.Pointer protectionSpace, + ffi.Pointer task, ) { - return __objc_msgSend_1009( - obj, - sel, - credential, - protectionSpace, - task, - ); + return __objc_msgSend_1009(obj, sel, credential, protectionSpace, task); } late final __objc_msgSend_1009Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1009 = __objc_msgSend_1009Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_removeCredential_forProtectionSpace_options_task_1 = - _registerName1("removeCredential:forProtectionSpace:options:task:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1009 = + __objc_msgSend_1009Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_removeCredential_forProtectionSpace_options_task_1 = objc + .registerName("removeCredential:forProtectionSpace:options:task:"); void _objc_msgSend_1010( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer credential, - ffi.Pointer protectionSpace, - ffi.Pointer options, - ffi.Pointer task, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer credential, + ffi.Pointer protectionSpace, + ffi.Pointer options, + ffi.Pointer task, ) { return __objc_msgSend_1010( obj, @@ -28755,691 +36117,857 @@ class SwiftLibrary { } late final __objc_msgSend_1010Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1010 = __objc_msgSend_1010Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1010 = + __objc_msgSend_1010Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_getDefaultCredentialForProtectionSpace_task_completionHandler_1 = - _registerName1( - "getDefaultCredentialForProtectionSpace:task:completionHandler:"); + objc.registerName( + "getDefaultCredentialForProtectionSpace:task:completionHandler:", + ); void _objc_msgSend_1011( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer space, - ffi.Pointer task, - ffi.Pointer<_ObjCBlock> completionHandler, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer space, + ffi.Pointer task, + ffi.Pointer completionHandler, ) { - return __objc_msgSend_1011( - obj, - sel, - space, - task, - completionHandler, - ); + return __objc_msgSend_1011(obj, sel, space, task, completionHandler); } late final __objc_msgSend_1011Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_1011 = __objc_msgSend_1011Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_setDefaultCredential_forProtectionSpace_task_1 = - _registerName1("setDefaultCredential:forProtectionSpace:task:"); - late final _class_NSURLProtocol1 = _getClass1("NSURLProtocol"); - late final _sel_initWithRequest_cachedResponse_client_1 = - _registerName1("initWithRequest:cachedResponse:client:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1011 = + __objc_msgSend_1011Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_setDefaultCredential_forProtectionSpace_task_1 = objc + .registerName("setDefaultCredential:forProtectionSpace:task:"); + late final _class_NSURLProtocol1 = objc.getClass("NSURLProtocol"); + late final _sel_initWithRequest_cachedResponse_client_1 = objc.registerName( + "initWithRequest:cachedResponse:client:", + ); instancetype _objc_msgSend_1012( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer request, - ffi.Pointer cachedResponse, - ffi.Pointer client, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer request, + ffi.Pointer cachedResponse, + ffi.Pointer client, ) { - return __objc_msgSend_1012( - obj, - sel, - request, - cachedResponse, - client, - ); + return __objc_msgSend_1012(obj, sel, request, cachedResponse, client); } late final __objc_msgSend_1012Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1012 = __objc_msgSend_1012Ptr.asFunction< + ffi.NativeFunction< instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_client1 = _registerName1("client"); - late final _sel_request1 = _registerName1("request"); - late final _sel_cachedResponse1 = _registerName1("cachedResponse"); - ffi.Pointer _objc_msgSend_1013( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_1013( - obj, - sel, - ); + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1012 = + __objc_msgSend_1012Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_client1 = objc.registerName("client"); + late final _sel_request1 = objc.registerName("request"); + late final _sel_cachedResponse1 = objc.registerName("cachedResponse"); + ffi.Pointer _objc_msgSend_1013( + ffi.Pointer obj, + ffi.Pointer sel, + ) { + return __objc_msgSend_1013(obj, sel); } late final __objc_msgSend_1013Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1013 = __objc_msgSend_1013Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_canInitWithRequest_1 = _registerName1("canInitWithRequest:"); - late final _sel_canonicalRequestForRequest_1 = - _registerName1("canonicalRequestForRequest:"); - ffi.Pointer _objc_msgSend_1014( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer request, - ) { - return __objc_msgSend_1014( - obj, - sel, - request, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1013 = + __objc_msgSend_1013Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_canInitWithRequest_1 = objc.registerName( + "canInitWithRequest:", + ); + late final _sel_canonicalRequestForRequest_1 = objc.registerName( + "canonicalRequestForRequest:", + ); + ffi.Pointer _objc_msgSend_1014( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer request, + ) { + return __objc_msgSend_1014(obj, sel, request); } late final __objc_msgSend_1014Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1014 = __objc_msgSend_1014Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_requestIsCacheEquivalent_toRequest_1 = - _registerName1("requestIsCacheEquivalent:toRequest:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1014 = + __objc_msgSend_1014Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_requestIsCacheEquivalent_toRequest_1 = objc.registerName( + "requestIsCacheEquivalent:toRequest:", + ); bool _objc_msgSend_1015( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer a, - ffi.Pointer b, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer a, + ffi.Pointer b, ) { - return __objc_msgSend_1015( - obj, - sel, - a, - b, - ); + return __objc_msgSend_1015(obj, sel, a, b); } late final __objc_msgSend_1015Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1015 = __objc_msgSend_1015Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_startLoading1 = _registerName1("startLoading"); - late final _sel_stopLoading1 = _registerName1("stopLoading"); - late final _sel_propertyForKey_inRequest_1 = - _registerName1("propertyForKey:inRequest:"); - ffi.Pointer _objc_msgSend_1016( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer key, - ffi.Pointer request, - ) { - return __objc_msgSend_1016( - obj, - sel, - key, - request, - ); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1015 = + __objc_msgSend_1015Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_startLoading1 = objc.registerName("startLoading"); + late final _sel_stopLoading1 = objc.registerName("stopLoading"); + late final _sel_propertyForKey_inRequest_1 = objc.registerName( + "propertyForKey:inRequest:", + ); + ffi.Pointer _objc_msgSend_1016( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer key, + ffi.Pointer request, + ) { + return __objc_msgSend_1016(obj, sel, key, request); } late final __objc_msgSend_1016Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1016 = __objc_msgSend_1016Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - late final _class_NSMutableURLRequest1 = _getClass1("NSMutableURLRequest"); - late final _sel_setURL_1 = _registerName1("setURL:"); - late final _sel_setCachePolicy_1 = _registerName1("setCachePolicy:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1016 = + __objc_msgSend_1016Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _class_NSMutableURLRequest1 = objc.getClass("NSMutableURLRequest"); + late final _sel_setURL_1 = objc.registerName("setURL:"); + late final _sel_setCachePolicy_1 = objc.registerName("setCachePolicy:"); void _objc_msgSend_1017( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int value, ) { - return __objc_msgSend_1017( - obj, - sel, - value, - ); + return __objc_msgSend_1017(obj, sel, value); } late final __objc_msgSend_1017Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_1017 = __objc_msgSend_1017Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_setTimeoutInterval_1 = _registerName1("setTimeoutInterval:"); - late final _sel_setMainDocumentURL_1 = _registerName1("setMainDocumentURL:"); - late final _sel_setNetworkServiceType_1 = - _registerName1("setNetworkServiceType:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1017 = + __objc_msgSend_1017Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_setTimeoutInterval_1 = objc.registerName( + "setTimeoutInterval:", + ); + late final _sel_setMainDocumentURL_1 = objc.registerName( + "setMainDocumentURL:", + ); + late final _sel_setNetworkServiceType_1 = objc.registerName( + "setNetworkServiceType:", + ); void _objc_msgSend_1018( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int value, ) { - return __objc_msgSend_1018( - obj, - sel, - value, - ); + return __objc_msgSend_1018(obj, sel, value); } late final __objc_msgSend_1018Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_1018 = __objc_msgSend_1018Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_setAllowsCellularAccess_1 = - _registerName1("setAllowsCellularAccess:"); - late final _sel_setAllowsExpensiveNetworkAccess_1 = - _registerName1("setAllowsExpensiveNetworkAccess:"); - late final _sel_setAllowsConstrainedNetworkAccess_1 = - _registerName1("setAllowsConstrainedNetworkAccess:"); - late final _sel_setAssumesHTTP3Capable_1 = - _registerName1("setAssumesHTTP3Capable:"); - late final _sel_setAttribution_1 = _registerName1("setAttribution:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1018 = + __objc_msgSend_1018Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_setAllowsCellularAccess_1 = objc.registerName( + "setAllowsCellularAccess:", + ); + late final _sel_setAllowsExpensiveNetworkAccess_1 = objc.registerName( + "setAllowsExpensiveNetworkAccess:", + ); + late final _sel_setAllowsConstrainedNetworkAccess_1 = objc.registerName( + "setAllowsConstrainedNetworkAccess:", + ); + late final _sel_setAssumesHTTP3Capable_1 = objc.registerName( + "setAssumesHTTP3Capable:", + ); + late final _sel_setAttribution_1 = objc.registerName("setAttribution:"); void _objc_msgSend_1019( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int value, ) { - return __objc_msgSend_1019( - obj, - sel, - value, - ); + return __objc_msgSend_1019(obj, sel, value); } late final __objc_msgSend_1019Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_1019 = __objc_msgSend_1019Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_setRequiresDNSSECValidation_1 = - _registerName1("setRequiresDNSSECValidation:"); - late final _sel_setHTTPMethod_1 = _registerName1("setHTTPMethod:"); - late final _sel_setAllHTTPHeaderFields_1 = - _registerName1("setAllHTTPHeaderFields:"); - late final _sel_setValue_forHTTPHeaderField_1 = - _registerName1("setValue:forHTTPHeaderField:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1019 = + __objc_msgSend_1019Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_setRequiresDNSSECValidation_1 = objc.registerName( + "setRequiresDNSSECValidation:", + ); + late final _sel_setHTTPMethod_1 = objc.registerName("setHTTPMethod:"); + late final _sel_setAllHTTPHeaderFields_1 = objc.registerName( + "setAllHTTPHeaderFields:", + ); + late final _sel_setValue_forHTTPHeaderField_1 = objc.registerName( + "setValue:forHTTPHeaderField:", + ); void _objc_msgSend_1020( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, - ffi.Pointer field, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value, + ffi.Pointer field, ) { - return __objc_msgSend_1020( - obj, - sel, - value, - field, - ); + return __objc_msgSend_1020(obj, sel, value, field); } late final __objc_msgSend_1020Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1020 = __objc_msgSend_1020Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_addValue_forHTTPHeaderField_1 = - _registerName1("addValue:forHTTPHeaderField:"); - late final _sel_setHTTPBody_1 = _registerName1("setHTTPBody:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1020 = + __objc_msgSend_1020Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_addValue_forHTTPHeaderField_1 = objc.registerName( + "addValue:forHTTPHeaderField:", + ); + late final _sel_setHTTPBody_1 = objc.registerName("setHTTPBody:"); void _objc_msgSend_1021( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value, ) { - return __objc_msgSend_1021( - obj, - sel, - value, - ); + return __objc_msgSend_1021(obj, sel, value); } late final __objc_msgSend_1021Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1021 = __objc_msgSend_1021Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1021 = + __objc_msgSend_1021Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); - late final _sel_setHTTPBodyStream_1 = _registerName1("setHTTPBodyStream:"); + late final _sel_setHTTPBodyStream_1 = objc.registerName("setHTTPBodyStream:"); void _objc_msgSend_1022( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value, ) { - return __objc_msgSend_1022( - obj, - sel, - value, - ); + return __objc_msgSend_1022(obj, sel, value); } late final __objc_msgSend_1022Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1022 = __objc_msgSend_1022Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_setHTTPShouldHandleCookies_1 = - _registerName1("setHTTPShouldHandleCookies:"); - late final _sel_setHTTPShouldUsePipelining_1 = - _registerName1("setHTTPShouldUsePipelining:"); - late final _sel_setProperty_forKey_inRequest_1 = - _registerName1("setProperty:forKey:inRequest:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1022 = + __objc_msgSend_1022Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_setHTTPShouldHandleCookies_1 = objc.registerName( + "setHTTPShouldHandleCookies:", + ); + late final _sel_setHTTPShouldUsePipelining_1 = objc.registerName( + "setHTTPShouldUsePipelining:", + ); + late final _sel_setProperty_forKey_inRequest_1 = objc.registerName( + "setProperty:forKey:inRequest:", + ); void _objc_msgSend_1023( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, - ffi.Pointer key, - ffi.Pointer request, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value, + ffi.Pointer key, + ffi.Pointer request, ) { - return __objc_msgSend_1023( - obj, - sel, - value, - key, - request, - ); + return __objc_msgSend_1023(obj, sel, value, key, request); } late final __objc_msgSend_1023Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1023 = __objc_msgSend_1023Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_removePropertyForKey_inRequest_1 = - _registerName1("removePropertyForKey:inRequest:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1023 = + __objc_msgSend_1023Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_removePropertyForKey_inRequest_1 = objc.registerName( + "removePropertyForKey:inRequest:", + ); void _objc_msgSend_1024( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer key, - ffi.Pointer request, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer key, + ffi.Pointer request, ) { - return __objc_msgSend_1024( - obj, - sel, - key, - request, - ); + return __objc_msgSend_1024(obj, sel, key, request); } late final __objc_msgSend_1024Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1024 = __objc_msgSend_1024Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_registerClass_1 = _registerName1("registerClass:"); - late final _sel_unregisterClass_1 = _registerName1("unregisterClass:"); - late final _sel_canInitWithTask_1 = _registerName1("canInitWithTask:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1024 = + __objc_msgSend_1024Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_registerClass_1 = objc.registerName("registerClass:"); + late final _sel_unregisterClass_1 = objc.registerName("unregisterClass:"); + late final _sel_canInitWithTask_1 = objc.registerName("canInitWithTask:"); bool _objc_msgSend_1025( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer task, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer task, ) { - return __objc_msgSend_1025( - obj, - sel, - task, - ); + return __objc_msgSend_1025(obj, sel, task); } late final __objc_msgSend_1025Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1025 = __objc_msgSend_1025Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_initWithTask_cachedResponse_client_1 = - _registerName1("initWithTask:cachedResponse:client:"); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1025 = + __objc_msgSend_1025Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_initWithTask_cachedResponse_client_1 = objc.registerName( + "initWithTask:cachedResponse:client:", + ); instancetype _objc_msgSend_1026( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer task, - ffi.Pointer cachedResponse, - ffi.Pointer client, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer task, + ffi.Pointer cachedResponse, + ffi.Pointer client, ) { - return __objc_msgSend_1026( - obj, - sel, - task, - cachedResponse, - client, - ); + return __objc_msgSend_1026(obj, sel, task, cachedResponse, client); } late final __objc_msgSend_1026Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1026 = __objc_msgSend_1026Ptr.asFunction< + ffi.NativeFunction< instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_task1 = _registerName1("task"); - ffi.Pointer _objc_msgSend_1027( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_1027( - obj, - sel, - ); + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1026 = + __objc_msgSend_1026Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_task1 = objc.registerName("task"); + ffi.Pointer _objc_msgSend_1027( + ffi.Pointer obj, + ffi.Pointer sel, + ) { + return __objc_msgSend_1027(obj, sel); } late final __objc_msgSend_1027Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1027 = __objc_msgSend_1027Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); - - late final _class_NSXMLParser1 = _getClass1("NSXMLParser"); - late final _sel_initWithStream_1 = _registerName1("initWithStream:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1027 = + __objc_msgSend_1027Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _class_NSXMLParser1 = objc.getClass("NSXMLParser"); + late final _sel_initWithStream_1 = objc.registerName("initWithStream:"); instancetype _objc_msgSend_1028( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer stream, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer stream, ) { - return __objc_msgSend_1028( - obj, - sel, - stream, - ); + return __objc_msgSend_1028(obj, sel, stream); } late final __objc_msgSend_1028Ptr = _lookup< - ffi.NativeFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1028 = __objc_msgSend_1028Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_shouldProcessNamespaces1 = - _registerName1("shouldProcessNamespaces"); - late final _sel_setShouldProcessNamespaces_1 = - _registerName1("setShouldProcessNamespaces:"); - late final _sel_shouldReportNamespacePrefixes1 = - _registerName1("shouldReportNamespacePrefixes"); - late final _sel_setShouldReportNamespacePrefixes_1 = - _registerName1("setShouldReportNamespacePrefixes:"); - late final _sel_externalEntityResolvingPolicy1 = - _registerName1("externalEntityResolvingPolicy"); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1028 = + __objc_msgSend_1028Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_shouldProcessNamespaces1 = objc.registerName( + "shouldProcessNamespaces", + ); + late final _sel_setShouldProcessNamespaces_1 = objc.registerName( + "setShouldProcessNamespaces:", + ); + late final _sel_shouldReportNamespacePrefixes1 = objc.registerName( + "shouldReportNamespacePrefixes", + ); + late final _sel_setShouldReportNamespacePrefixes_1 = objc.registerName( + "setShouldReportNamespacePrefixes:", + ); + late final _sel_externalEntityResolvingPolicy1 = objc.registerName( + "externalEntityResolvingPolicy", + ); int _objc_msgSend_1029( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_1029( - obj, - sel, - ); + return __objc_msgSend_1029(obj, sel); } late final __objc_msgSend_1029Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1029 = __objc_msgSend_1029Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer)>(); - - late final _sel_setExternalEntityResolvingPolicy_1 = - _registerName1("setExternalEntityResolvingPolicy:"); + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1029 = + __objc_msgSend_1029Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_setExternalEntityResolvingPolicy_1 = objc.registerName( + "setExternalEntityResolvingPolicy:", + ); void _objc_msgSend_1030( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int value, ) { - return __objc_msgSend_1030( - obj, - sel, - value, - ); + return __objc_msgSend_1030(obj, sel, value); } late final __objc_msgSend_1030Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_1030 = __objc_msgSend_1030Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_allowedExternalEntityURLs1 = - _registerName1("allowedExternalEntityURLs"); - late final _sel_setAllowedExternalEntityURLs_1 = - _registerName1("setAllowedExternalEntityURLs:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1030 = + __objc_msgSend_1030Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_allowedExternalEntityURLs1 = objc.registerName( + "allowedExternalEntityURLs", + ); + late final _sel_setAllowedExternalEntityURLs_1 = objc.registerName( + "setAllowedExternalEntityURLs:", + ); void _objc_msgSend_1031( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value, ) { - return __objc_msgSend_1031( - obj, - sel, - value, - ); + return __objc_msgSend_1031(obj, sel, value); } late final __objc_msgSend_1031Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1031 = __objc_msgSend_1031Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_parse1 = _registerName1("parse"); - late final _sel_abortParsing1 = _registerName1("abortParsing"); - late final _sel_parserError1 = _registerName1("parserError"); - late final _sel_shouldResolveExternalEntities1 = - _registerName1("shouldResolveExternalEntities"); - late final _sel_setShouldResolveExternalEntities_1 = - _registerName1("setShouldResolveExternalEntities:"); - late final _sel_publicID1 = _registerName1("publicID"); - late final _sel_systemID1 = _registerName1("systemID"); - late final _sel_lineNumber1 = _registerName1("lineNumber"); - late final _sel_columnNumber1 = _registerName1("columnNumber"); - late final _class_NSFileWrapper1 = _getClass1("NSFileWrapper"); - late final _sel_initWithURL_options_error_1 = - _registerName1("initWithURL:options:error:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1031 = + __objc_msgSend_1031Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_parse1 = objc.registerName("parse"); + late final _sel_abortParsing1 = objc.registerName("abortParsing"); + late final _sel_parserError1 = objc.registerName("parserError"); + late final _sel_shouldResolveExternalEntities1 = objc.registerName( + "shouldResolveExternalEntities", + ); + late final _sel_setShouldResolveExternalEntities_1 = objc.registerName( + "setShouldResolveExternalEntities:", + ); + late final _sel_publicID1 = objc.registerName("publicID"); + late final _sel_systemID1 = objc.registerName("systemID"); + late final _sel_lineNumber1 = objc.registerName("lineNumber"); + late final _sel_columnNumber1 = objc.registerName("columnNumber"); + late final _class_NSFileWrapper1 = objc.getClass("NSFileWrapper"); + late final _sel_initWithURL_options_error_1 = objc.registerName( + "initWithURL:options:error:", + ); instancetype _objc_msgSend_1032( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer url, int options, - ffi.Pointer> outError, + ffi.Pointer> outError, ) { - return __objc_msgSend_1032( - obj, - sel, - url, - options, - outError, - ); + return __objc_msgSend_1032(obj, sel, url, options, outError); } late final __objc_msgSend_1032Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_1032 = __objc_msgSend_1032Ptr.asFunction< + ffi.NativeFunction< instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>)>(); - - late final _sel_initDirectoryWithFileWrappers_1 = - _registerName1("initDirectoryWithFileWrappers:"); - late final _sel_initRegularFileWithContents_1 = - _registerName1("initRegularFileWithContents:"); - late final _sel_initSymbolicLinkWithDestinationURL_1 = - _registerName1("initSymbolicLinkWithDestinationURL:"); - late final _sel_initWithSerializedRepresentation_1 = - _registerName1("initWithSerializedRepresentation:"); - late final _sel_isDirectory1 = _registerName1("isDirectory"); - late final _sel_isRegularFile1 = _registerName1("isRegularFile"); - late final _sel_isSymbolicLink1 = _registerName1("isSymbolicLink"); - late final _sel_preferredFilename1 = _registerName1("preferredFilename"); - late final _sel_setPreferredFilename_1 = - _registerName1("setPreferredFilename:"); - late final _sel_filename1 = _registerName1("filename"); - late final _sel_setFilename_1 = _registerName1("setFilename:"); - late final _sel_fileAttributes1 = _registerName1("fileAttributes"); - late final _sel_setFileAttributes_1 = _registerName1("setFileAttributes:"); - late final _sel_matchesContentsOfURL_1 = - _registerName1("matchesContentsOfURL:"); - late final _sel_readFromURL_options_error_1 = - _registerName1("readFromURL:options:error:"); + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1032 = + __objc_msgSend_1032Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer>, + ) + >(); + + late final _sel_initDirectoryWithFileWrappers_1 = objc.registerName( + "initDirectoryWithFileWrappers:", + ); + late final _sel_initRegularFileWithContents_1 = objc.registerName( + "initRegularFileWithContents:", + ); + late final _sel_initSymbolicLinkWithDestinationURL_1 = objc.registerName( + "initSymbolicLinkWithDestinationURL:", + ); + late final _sel_initWithSerializedRepresentation_1 = objc.registerName( + "initWithSerializedRepresentation:", + ); + late final _sel_isDirectory1 = objc.registerName("isDirectory"); + late final _sel_isRegularFile1 = objc.registerName("isRegularFile"); + late final _sel_isSymbolicLink1 = objc.registerName("isSymbolicLink"); + late final _sel_preferredFilename1 = objc.registerName("preferredFilename"); + late final _sel_setPreferredFilename_1 = objc.registerName( + "setPreferredFilename:", + ); + late final _sel_filename1 = objc.registerName("filename"); + late final _sel_setFilename_1 = objc.registerName("setFilename:"); + late final _sel_fileAttributes1 = objc.registerName("fileAttributes"); + late final _sel_setFileAttributes_1 = objc.registerName("setFileAttributes:"); + late final _sel_matchesContentsOfURL_1 = objc.registerName( + "matchesContentsOfURL:", + ); + late final _sel_readFromURL_options_error_1 = objc.registerName( + "readFromURL:options:error:", + ); bool _objc_msgSend_1033( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer url, int options, - ffi.Pointer> outError, + ffi.Pointer> outError, ) { - return __objc_msgSend_1033( - obj, - sel, - url, - options, - outError, - ); + return __objc_msgSend_1033(obj, sel, url, options, outError); } late final __objc_msgSend_1033Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_1033 = __objc_msgSend_1033Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>)>(); - - late final _sel_writeToURL_options_originalContentsURL_error_1 = - _registerName1("writeToURL:options:originalContentsURL:error:"); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1033 = + __objc_msgSend_1033Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer>, + ) + >(); + + late final _sel_writeToURL_options_originalContentsURL_error_1 = objc + .registerName("writeToURL:options:originalContentsURL:error:"); bool _objc_msgSend_1034( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer url, int options, - ffi.Pointer originalContentsURL, - ffi.Pointer> outError, + ffi.Pointer originalContentsURL, + ffi.Pointer> outError, ) { return __objc_msgSend_1034( obj, @@ -29452,912 +36980,1215 @@ class SwiftLibrary { } late final __objc_msgSend_1034Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_1034 = __objc_msgSend_1034Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ffi.Pointer>)>(); - - late final _sel_serializedRepresentation1 = - _registerName1("serializedRepresentation"); - late final _sel_addFileWrapper_1 = _registerName1("addFileWrapper:"); - ffi.Pointer _objc_msgSend_1035( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer child, - ) { - return __objc_msgSend_1035( - obj, - sel, - child, - ); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1034 = + __objc_msgSend_1034Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ffi.Pointer>, + ) + >(); + + late final _sel_serializedRepresentation1 = objc.registerName( + "serializedRepresentation", + ); + late final _sel_addFileWrapper_1 = objc.registerName("addFileWrapper:"); + ffi.Pointer _objc_msgSend_1035( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer child, + ) { + return __objc_msgSend_1035(obj, sel, child); } late final __objc_msgSend_1035Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1035 = __objc_msgSend_1035Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_addRegularFileWithContents_preferredFilename_1 = - _registerName1("addRegularFileWithContents:preferredFilename:"); - ffi.Pointer _objc_msgSend_1036( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer data, - ffi.Pointer fileName, - ) { - return __objc_msgSend_1036( - obj, - sel, - data, - fileName, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1035 = + __objc_msgSend_1035Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_addRegularFileWithContents_preferredFilename_1 = objc + .registerName("addRegularFileWithContents:preferredFilename:"); + ffi.Pointer _objc_msgSend_1036( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer data, + ffi.Pointer fileName, + ) { + return __objc_msgSend_1036(obj, sel, data, fileName); } late final __objc_msgSend_1036Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1036 = __objc_msgSend_1036Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_removeFileWrapper_1 = _registerName1("removeFileWrapper:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1036 = + __objc_msgSend_1036Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_removeFileWrapper_1 = objc.registerName("removeFileWrapper:"); void _objc_msgSend_1037( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer child, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer child, ) { - return __objc_msgSend_1037( - obj, - sel, - child, - ); + return __objc_msgSend_1037(obj, sel, child); } late final __objc_msgSend_1037Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1037 = __objc_msgSend_1037Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_fileWrappers1 = _registerName1("fileWrappers"); - late final _sel_keyForFileWrapper_1 = _registerName1("keyForFileWrapper:"); - ffi.Pointer _objc_msgSend_1038( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer child, - ) { - return __objc_msgSend_1038( - obj, - sel, - child, - ); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1037 = + __objc_msgSend_1037Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_fileWrappers1 = objc.registerName("fileWrappers"); + late final _sel_keyForFileWrapper_1 = objc.registerName("keyForFileWrapper:"); + ffi.Pointer _objc_msgSend_1038( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer child, + ) { + return __objc_msgSend_1038(obj, sel, child); } late final __objc_msgSend_1038Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1038 = __objc_msgSend_1038Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_regularFileContents1 = _registerName1("regularFileContents"); - late final _sel_symbolicLinkDestinationURL1 = - _registerName1("symbolicLinkDestinationURL"); - late final _sel_initSymbolicLinkWithDestination_1 = - _registerName1("initSymbolicLinkWithDestination:"); - late final _sel_needsToBeUpdatedFromPath_1 = - _registerName1("needsToBeUpdatedFromPath:"); - late final _sel_updateFromPath_1 = _registerName1("updateFromPath:"); - late final _sel_writeToFile_atomically_updateFilenames_1 = - _registerName1("writeToFile:atomically:updateFilenames:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1038 = + __objc_msgSend_1038Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_regularFileContents1 = objc.registerName( + "regularFileContents", + ); + late final _sel_symbolicLinkDestinationURL1 = objc.registerName( + "symbolicLinkDestinationURL", + ); + late final _sel_initSymbolicLinkWithDestination_1 = objc.registerName( + "initSymbolicLinkWithDestination:", + ); + late final _sel_needsToBeUpdatedFromPath_1 = objc.registerName( + "needsToBeUpdatedFromPath:", + ); + late final _sel_updateFromPath_1 = objc.registerName("updateFromPath:"); + late final _sel_writeToFile_atomically_updateFilenames_1 = objc.registerName( + "writeToFile:atomically:updateFilenames:", + ); bool _objc_msgSend_1039( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer path, bool atomicFlag, bool updateFilenamesFlag, ) { - return __objc_msgSend_1039( - obj, - sel, - path, - atomicFlag, - updateFilenamesFlag, - ); + return __objc_msgSend_1039(obj, sel, path, atomicFlag, updateFilenamesFlag); } late final __objc_msgSend_1039Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Bool, ffi.Bool)>>('objc_msgSend'); - late final __objc_msgSend_1039 = __objc_msgSend_1039Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, bool, bool)>(); - - late final _sel_addFileWithPath_1 = _registerName1("addFileWithPath:"); - late final _sel_addSymbolicLinkWithDestination_preferredFilename_1 = - _registerName1("addSymbolicLinkWithDestination:preferredFilename:"); - late final _sel_symbolicLinkDestination1 = - _registerName1("symbolicLinkDestination"); - late final _class_NSURLSession1 = _getClass1("NSURLSession"); - late final _sel_sharedSession1 = _registerName1("sharedSession"); - ffi.Pointer _objc_msgSend_1040( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_1040( - obj, - sel, - ); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.Bool, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1039 = + __objc_msgSend_1039Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool, + bool, + ) + >(); + + late final _sel_addFileWithPath_1 = objc.registerName("addFileWithPath:"); + late final _sel_addSymbolicLinkWithDestination_preferredFilename_1 = objc + .registerName("addSymbolicLinkWithDestination:preferredFilename:"); + late final _sel_symbolicLinkDestination1 = objc.registerName( + "symbolicLinkDestination", + ); + late final _class_NSURLSession1 = objc.getClass("NSURLSession"); + late final _sel_sharedSession1 = objc.registerName("sharedSession"); + ffi.Pointer _objc_msgSend_1040( + ffi.Pointer obj, + ffi.Pointer sel, + ) { + return __objc_msgSend_1040(obj, sel); } late final __objc_msgSend_1040Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1040 = __objc_msgSend_1040Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); - - late final _class_NSURLSessionConfiguration1 = - _getClass1("NSURLSessionConfiguration"); - late final _sel_defaultSessionConfiguration1 = - _registerName1("defaultSessionConfiguration"); - ffi.Pointer _objc_msgSend_1041( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_1041( - obj, - sel, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1040 = + __objc_msgSend_1040Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _class_NSURLSessionConfiguration1 = objc.getClass( + "NSURLSessionConfiguration", + ); + late final _sel_defaultSessionConfiguration1 = objc.registerName( + "defaultSessionConfiguration", + ); + ffi.Pointer _objc_msgSend_1041( + ffi.Pointer obj, + ffi.Pointer sel, + ) { + return __objc_msgSend_1041(obj, sel); } late final __objc_msgSend_1041Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1041 = __objc_msgSend_1041Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_ephemeralSessionConfiguration1 = - _registerName1("ephemeralSessionConfiguration"); - late final _sel_backgroundSessionConfigurationWithIdentifier_1 = - _registerName1("backgroundSessionConfigurationWithIdentifier:"); - ffi.Pointer _objc_msgSend_1042( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer identifier, - ) { - return __objc_msgSend_1042( - obj, - sel, - identifier, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1041 = + __objc_msgSend_1041Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_ephemeralSessionConfiguration1 = objc.registerName( + "ephemeralSessionConfiguration", + ); + late final _sel_backgroundSessionConfigurationWithIdentifier_1 = objc + .registerName("backgroundSessionConfigurationWithIdentifier:"); + ffi.Pointer _objc_msgSend_1042( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer identifier, + ) { + return __objc_msgSend_1042(obj, sel, identifier); } late final __objc_msgSend_1042Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1042 = __objc_msgSend_1042Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_identifier1 = _registerName1("identifier"); - late final _sel_requestCachePolicy1 = _registerName1("requestCachePolicy"); - late final _sel_setRequestCachePolicy_1 = - _registerName1("setRequestCachePolicy:"); - late final _sel_timeoutIntervalForRequest1 = - _registerName1("timeoutIntervalForRequest"); - late final _sel_setTimeoutIntervalForRequest_1 = - _registerName1("setTimeoutIntervalForRequest:"); - late final _sel_timeoutIntervalForResource1 = - _registerName1("timeoutIntervalForResource"); - late final _sel_setTimeoutIntervalForResource_1 = - _registerName1("setTimeoutIntervalForResource:"); - late final _sel_waitsForConnectivity1 = - _registerName1("waitsForConnectivity"); - late final _sel_setWaitsForConnectivity_1 = - _registerName1("setWaitsForConnectivity:"); - late final _sel_isDiscretionary1 = _registerName1("isDiscretionary"); - late final _sel_setDiscretionary_1 = _registerName1("setDiscretionary:"); - late final _sel_sharedContainerIdentifier1 = - _registerName1("sharedContainerIdentifier"); - late final _sel_setSharedContainerIdentifier_1 = - _registerName1("setSharedContainerIdentifier:"); - late final _sel_sessionSendsLaunchEvents1 = - _registerName1("sessionSendsLaunchEvents"); - late final _sel_setSessionSendsLaunchEvents_1 = - _registerName1("setSessionSendsLaunchEvents:"); - late final _sel_connectionProxyDictionary1 = - _registerName1("connectionProxyDictionary"); - late final _sel_setConnectionProxyDictionary_1 = - _registerName1("setConnectionProxyDictionary:"); - late final _sel_TLSMinimumSupportedProtocol1 = - _registerName1("TLSMinimumSupportedProtocol"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1042 = + __objc_msgSend_1042Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_identifier1 = objc.registerName("identifier"); + late final _sel_requestCachePolicy1 = objc.registerName("requestCachePolicy"); + late final _sel_setRequestCachePolicy_1 = objc.registerName( + "setRequestCachePolicy:", + ); + late final _sel_timeoutIntervalForRequest1 = objc.registerName( + "timeoutIntervalForRequest", + ); + late final _sel_setTimeoutIntervalForRequest_1 = objc.registerName( + "setTimeoutIntervalForRequest:", + ); + late final _sel_timeoutIntervalForResource1 = objc.registerName( + "timeoutIntervalForResource", + ); + late final _sel_setTimeoutIntervalForResource_1 = objc.registerName( + "setTimeoutIntervalForResource:", + ); + late final _sel_waitsForConnectivity1 = objc.registerName( + "waitsForConnectivity", + ); + late final _sel_setWaitsForConnectivity_1 = objc.registerName( + "setWaitsForConnectivity:", + ); + late final _sel_isDiscretionary1 = objc.registerName("isDiscretionary"); + late final _sel_setDiscretionary_1 = objc.registerName("setDiscretionary:"); + late final _sel_sharedContainerIdentifier1 = objc.registerName( + "sharedContainerIdentifier", + ); + late final _sel_setSharedContainerIdentifier_1 = objc.registerName( + "setSharedContainerIdentifier:", + ); + late final _sel_sessionSendsLaunchEvents1 = objc.registerName( + "sessionSendsLaunchEvents", + ); + late final _sel_setSessionSendsLaunchEvents_1 = objc.registerName( + "setSessionSendsLaunchEvents:", + ); + late final _sel_connectionProxyDictionary1 = objc.registerName( + "connectionProxyDictionary", + ); + late final _sel_setConnectionProxyDictionary_1 = objc.registerName( + "setConnectionProxyDictionary:", + ); + late final _sel_TLSMinimumSupportedProtocol1 = objc.registerName( + "TLSMinimumSupportedProtocol", + ); int _objc_msgSend_1043( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_1043( - obj, - sel, - ); + return __objc_msgSend_1043(obj, sel); } late final __objc_msgSend_1043Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1043 = __objc_msgSend_1043Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer)>(); - - late final _sel_setTLSMinimumSupportedProtocol_1 = - _registerName1("setTLSMinimumSupportedProtocol:"); + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1043 = + __objc_msgSend_1043Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_setTLSMinimumSupportedProtocol_1 = objc.registerName( + "setTLSMinimumSupportedProtocol:", + ); void _objc_msgSend_1044( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int value, ) { - return __objc_msgSend_1044( - obj, - sel, - value, - ); + return __objc_msgSend_1044(obj, sel, value); } late final __objc_msgSend_1044Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_1044 = __objc_msgSend_1044Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_TLSMaximumSupportedProtocol1 = - _registerName1("TLSMaximumSupportedProtocol"); - late final _sel_setTLSMaximumSupportedProtocol_1 = - _registerName1("setTLSMaximumSupportedProtocol:"); - late final _sel_TLSMinimumSupportedProtocolVersion1 = - _registerName1("TLSMinimumSupportedProtocolVersion"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1044 = + __objc_msgSend_1044Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_TLSMaximumSupportedProtocol1 = objc.registerName( + "TLSMaximumSupportedProtocol", + ); + late final _sel_setTLSMaximumSupportedProtocol_1 = objc.registerName( + "setTLSMaximumSupportedProtocol:", + ); + late final _sel_TLSMinimumSupportedProtocolVersion1 = objc.registerName( + "TLSMinimumSupportedProtocolVersion", + ); int _objc_msgSend_1045( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_1045( - obj, - sel, - ); + return __objc_msgSend_1045(obj, sel); } late final __objc_msgSend_1045Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1045 = __objc_msgSend_1045Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer)>(); - - late final _sel_setTLSMinimumSupportedProtocolVersion_1 = - _registerName1("setTLSMinimumSupportedProtocolVersion:"); + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1045 = + __objc_msgSend_1045Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_setTLSMinimumSupportedProtocolVersion_1 = objc.registerName( + "setTLSMinimumSupportedProtocolVersion:", + ); void _objc_msgSend_1046( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int value, ) { - return __objc_msgSend_1046( - obj, - sel, - value, - ); + return __objc_msgSend_1046(obj, sel, value); } late final __objc_msgSend_1046Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_1046 = __objc_msgSend_1046Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_TLSMaximumSupportedProtocolVersion1 = - _registerName1("TLSMaximumSupportedProtocolVersion"); - late final _sel_setTLSMaximumSupportedProtocolVersion_1 = - _registerName1("setTLSMaximumSupportedProtocolVersion:"); - late final _sel_HTTPShouldSetCookies1 = - _registerName1("HTTPShouldSetCookies"); - late final _sel_setHTTPShouldSetCookies_1 = - _registerName1("setHTTPShouldSetCookies:"); - late final _sel_HTTPCookieAcceptPolicy1 = - _registerName1("HTTPCookieAcceptPolicy"); - late final _sel_setHTTPCookieAcceptPolicy_1 = - _registerName1("setHTTPCookieAcceptPolicy:"); - late final _sel_HTTPAdditionalHeaders1 = - _registerName1("HTTPAdditionalHeaders"); - late final _sel_setHTTPAdditionalHeaders_1 = - _registerName1("setHTTPAdditionalHeaders:"); - late final _sel_HTTPMaximumConnectionsPerHost1 = - _registerName1("HTTPMaximumConnectionsPerHost"); - late final _sel_setHTTPMaximumConnectionsPerHost_1 = - _registerName1("setHTTPMaximumConnectionsPerHost:"); - late final _sel_HTTPCookieStorage1 = _registerName1("HTTPCookieStorage"); - ffi.Pointer _objc_msgSend_1047( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_1047( - obj, - sel, - ); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1046 = + __objc_msgSend_1046Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_TLSMaximumSupportedProtocolVersion1 = objc.registerName( + "TLSMaximumSupportedProtocolVersion", + ); + late final _sel_setTLSMaximumSupportedProtocolVersion_1 = objc.registerName( + "setTLSMaximumSupportedProtocolVersion:", + ); + late final _sel_HTTPShouldSetCookies1 = objc.registerName( + "HTTPShouldSetCookies", + ); + late final _sel_setHTTPShouldSetCookies_1 = objc.registerName( + "setHTTPShouldSetCookies:", + ); + late final _sel_HTTPCookieAcceptPolicy1 = objc.registerName( + "HTTPCookieAcceptPolicy", + ); + late final _sel_setHTTPCookieAcceptPolicy_1 = objc.registerName( + "setHTTPCookieAcceptPolicy:", + ); + late final _sel_HTTPAdditionalHeaders1 = objc.registerName( + "HTTPAdditionalHeaders", + ); + late final _sel_setHTTPAdditionalHeaders_1 = objc.registerName( + "setHTTPAdditionalHeaders:", + ); + late final _sel_HTTPMaximumConnectionsPerHost1 = objc.registerName( + "HTTPMaximumConnectionsPerHost", + ); + late final _sel_setHTTPMaximumConnectionsPerHost_1 = objc.registerName( + "setHTTPMaximumConnectionsPerHost:", + ); + late final _sel_HTTPCookieStorage1 = objc.registerName("HTTPCookieStorage"); + ffi.Pointer _objc_msgSend_1047( + ffi.Pointer obj, + ffi.Pointer sel, + ) { + return __objc_msgSend_1047(obj, sel); } late final __objc_msgSend_1047Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1047 = __objc_msgSend_1047Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_setHTTPCookieStorage_1 = - _registerName1("setHTTPCookieStorage:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1047 = + __objc_msgSend_1047Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_setHTTPCookieStorage_1 = objc.registerName( + "setHTTPCookieStorage:", + ); void _objc_msgSend_1048( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value, ) { - return __objc_msgSend_1048( - obj, - sel, - value, - ); + return __objc_msgSend_1048(obj, sel, value); } late final __objc_msgSend_1048Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1048 = __objc_msgSend_1048Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_URLCredentialStorage1 = - _registerName1("URLCredentialStorage"); - ffi.Pointer _objc_msgSend_1049( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_1049( - obj, - sel, - ); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1048 = + __objc_msgSend_1048Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_URLCredentialStorage1 = objc.registerName( + "URLCredentialStorage", + ); + ffi.Pointer _objc_msgSend_1049( + ffi.Pointer obj, + ffi.Pointer sel, + ) { + return __objc_msgSend_1049(obj, sel); } late final __objc_msgSend_1049Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1049 = __objc_msgSend_1049Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_setURLCredentialStorage_1 = - _registerName1("setURLCredentialStorage:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1049 = + __objc_msgSend_1049Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_setURLCredentialStorage_1 = objc.registerName( + "setURLCredentialStorage:", + ); void _objc_msgSend_1050( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value, ) { - return __objc_msgSend_1050( - obj, - sel, - value, - ); + return __objc_msgSend_1050(obj, sel, value); } late final __objc_msgSend_1050Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1050 = __objc_msgSend_1050Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_URLCache1 = _registerName1("URLCache"); - ffi.Pointer _objc_msgSend_1051( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_1051( - obj, - sel, - ); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1050 = + __objc_msgSend_1050Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_URLCache1 = objc.registerName("URLCache"); + ffi.Pointer _objc_msgSend_1051( + ffi.Pointer obj, + ffi.Pointer sel, + ) { + return __objc_msgSend_1051(obj, sel); } late final __objc_msgSend_1051Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1051 = __objc_msgSend_1051Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1051 = + __objc_msgSend_1051Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); - late final _sel_setURLCache_1 = _registerName1("setURLCache:"); + late final _sel_setURLCache_1 = objc.registerName("setURLCache:"); void _objc_msgSend_1052( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value, ) { - return __objc_msgSend_1052( - obj, - sel, - value, - ); + return __objc_msgSend_1052(obj, sel, value); } late final __objc_msgSend_1052Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1052 = __objc_msgSend_1052Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_shouldUseExtendedBackgroundIdleMode1 = - _registerName1("shouldUseExtendedBackgroundIdleMode"); - late final _sel_setShouldUseExtendedBackgroundIdleMode_1 = - _registerName1("setShouldUseExtendedBackgroundIdleMode:"); - late final _sel_protocolClasses1 = _registerName1("protocolClasses"); - late final _sel_setProtocolClasses_1 = _registerName1("setProtocolClasses:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1052 = + __objc_msgSend_1052Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_shouldUseExtendedBackgroundIdleMode1 = objc.registerName( + "shouldUseExtendedBackgroundIdleMode", + ); + late final _sel_setShouldUseExtendedBackgroundIdleMode_1 = objc.registerName( + "setShouldUseExtendedBackgroundIdleMode:", + ); + late final _sel_protocolClasses1 = objc.registerName("protocolClasses"); + late final _sel_setProtocolClasses_1 = objc.registerName( + "setProtocolClasses:", + ); void _objc_msgSend_1053( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value, ) { - return __objc_msgSend_1053( - obj, - sel, - value, - ); + return __objc_msgSend_1053(obj, sel, value); } late final __objc_msgSend_1053Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1053 = __objc_msgSend_1053Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_multipathServiceType1 = - _registerName1("multipathServiceType"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1053 = + __objc_msgSend_1053Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_multipathServiceType1 = objc.registerName( + "multipathServiceType", + ); int _objc_msgSend_1054( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_1054( - obj, - sel, - ); + return __objc_msgSend_1054(obj, sel); } late final __objc_msgSend_1054Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1054 = __objc_msgSend_1054Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer)>(); - - late final _sel_setMultipathServiceType_1 = - _registerName1("setMultipathServiceType:"); + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1054 = + __objc_msgSend_1054Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_setMultipathServiceType_1 = objc.registerName( + "setMultipathServiceType:", + ); void _objc_msgSend_1055( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int value, ) { - return __objc_msgSend_1055( - obj, - sel, - value, - ); + return __objc_msgSend_1055(obj, sel, value); } late final __objc_msgSend_1055Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_1055 = __objc_msgSend_1055Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_backgroundSessionConfiguration_1 = - _registerName1("backgroundSessionConfiguration:"); - late final _sel_sessionWithConfiguration_1 = - _registerName1("sessionWithConfiguration:"); - ffi.Pointer _objc_msgSend_1056( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer configuration, - ) { - return __objc_msgSend_1056( - obj, - sel, - configuration, - ); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1055 = + __objc_msgSend_1055Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_backgroundSessionConfiguration_1 = objc.registerName( + "backgroundSessionConfiguration:", + ); + late final _sel_sessionWithConfiguration_1 = objc.registerName( + "sessionWithConfiguration:", + ); + ffi.Pointer _objc_msgSend_1056( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer configuration, + ) { + return __objc_msgSend_1056(obj, sel, configuration); } late final __objc_msgSend_1056Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1056 = __objc_msgSend_1056Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_sessionWithConfiguration_delegate_delegateQueue_1 = - _registerName1("sessionWithConfiguration:delegate:delegateQueue:"); - ffi.Pointer _objc_msgSend_1057( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer configuration, - ffi.Pointer delegate, - ffi.Pointer queue, - ) { - return __objc_msgSend_1057( - obj, - sel, - configuration, - delegate, - queue, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1056 = + __objc_msgSend_1056Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_sessionWithConfiguration_delegate_delegateQueue_1 = objc + .registerName("sessionWithConfiguration:delegate:delegateQueue:"); + ffi.Pointer _objc_msgSend_1057( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer configuration, + ffi.Pointer delegate, + ffi.Pointer queue, + ) { + return __objc_msgSend_1057(obj, sel, configuration, delegate, queue); } late final __objc_msgSend_1057Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1057 = __objc_msgSend_1057Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_delegateQueue1 = _registerName1("delegateQueue"); - late final _sel_configuration1 = _registerName1("configuration"); - late final _sel_sessionDescription1 = _registerName1("sessionDescription"); - late final _sel_setSessionDescription_1 = - _registerName1("setSessionDescription:"); - late final _sel_finishTasksAndInvalidate1 = - _registerName1("finishTasksAndInvalidate"); - late final _sel_invalidateAndCancel1 = _registerName1("invalidateAndCancel"); - late final _sel_resetWithCompletionHandler_1 = - _registerName1("resetWithCompletionHandler:"); - late final _sel_flushWithCompletionHandler_1 = - _registerName1("flushWithCompletionHandler:"); - late final _sel_getTasksWithCompletionHandler_1 = - _registerName1("getTasksWithCompletionHandler:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1057 = + __objc_msgSend_1057Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_delegateQueue1 = objc.registerName("delegateQueue"); + late final _sel_configuration1 = objc.registerName("configuration"); + late final _sel_sessionDescription1 = objc.registerName("sessionDescription"); + late final _sel_setSessionDescription_1 = objc.registerName( + "setSessionDescription:", + ); + late final _sel_finishTasksAndInvalidate1 = objc.registerName( + "finishTasksAndInvalidate", + ); + late final _sel_invalidateAndCancel1 = objc.registerName( + "invalidateAndCancel", + ); + late final _sel_resetWithCompletionHandler_1 = objc.registerName( + "resetWithCompletionHandler:", + ); + late final _sel_flushWithCompletionHandler_1 = objc.registerName( + "flushWithCompletionHandler:", + ); + late final _sel_getTasksWithCompletionHandler_1 = objc.registerName( + "getTasksWithCompletionHandler:", + ); void _objc_msgSend_1058( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer<_ObjCBlock> completionHandler, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer completionHandler, ) { - return __objc_msgSend_1058( - obj, - sel, - completionHandler, - ); + return __objc_msgSend_1058(obj, sel, completionHandler); } late final __objc_msgSend_1058Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_1058 = __objc_msgSend_1058Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_getAllTasksWithCompletionHandler_1 = - _registerName1("getAllTasksWithCompletionHandler:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1058 = + __objc_msgSend_1058Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_getAllTasksWithCompletionHandler_1 = objc.registerName( + "getAllTasksWithCompletionHandler:", + ); void _objc_msgSend_1059( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer<_ObjCBlock> completionHandler, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer completionHandler, ) { - return __objc_msgSend_1059( - obj, - sel, - completionHandler, - ); + return __objc_msgSend_1059(obj, sel, completionHandler); } late final __objc_msgSend_1059Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_1059 = __objc_msgSend_1059Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_dataTaskWithRequest_1 = - _registerName1("dataTaskWithRequest:"); - ffi.Pointer _objc_msgSend_1060( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer request, - ) { - return __objc_msgSend_1060( - obj, - sel, - request, - ); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1059 = + __objc_msgSend_1059Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_dataTaskWithRequest_1 = objc.registerName( + "dataTaskWithRequest:", + ); + ffi.Pointer _objc_msgSend_1060( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer request, + ) { + return __objc_msgSend_1060(obj, sel, request); } late final __objc_msgSend_1060Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1060 = __objc_msgSend_1060Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_dataTaskWithURL_1 = _registerName1("dataTaskWithURL:"); - ffi.Pointer _objc_msgSend_1061( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, - ) { - return __objc_msgSend_1061( - obj, - sel, - url, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1060 = + __objc_msgSend_1060Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_dataTaskWithURL_1 = objc.registerName("dataTaskWithURL:"); + ffi.Pointer _objc_msgSend_1061( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer url, + ) { + return __objc_msgSend_1061(obj, sel, url); } late final __objc_msgSend_1061Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1061 = __objc_msgSend_1061Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _class_NSURLSessionUploadTask1 = - _getClass1("NSURLSessionUploadTask"); - late final _sel_cancelByProducingResumeData_1 = - _registerName1("cancelByProducingResumeData:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1061 = + __objc_msgSend_1061Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _class_NSURLSessionUploadTask1 = objc.getClass( + "NSURLSessionUploadTask", + ); + late final _sel_cancelByProducingResumeData_1 = objc.registerName( + "cancelByProducingResumeData:", + ); void _objc_msgSend_1062( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer<_ObjCBlock> completionHandler, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer completionHandler, ) { - return __objc_msgSend_1062( - obj, - sel, - completionHandler, - ); + return __objc_msgSend_1062(obj, sel, completionHandler); } late final __objc_msgSend_1062Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_1062 = __objc_msgSend_1062Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_uploadTaskWithRequest_fromFile_1 = - _registerName1("uploadTaskWithRequest:fromFile:"); - ffi.Pointer _objc_msgSend_1063( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer request, - ffi.Pointer fileURL, - ) { - return __objc_msgSend_1063( - obj, - sel, - request, - fileURL, - ); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1062 = + __objc_msgSend_1062Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_uploadTaskWithRequest_fromFile_1 = objc.registerName( + "uploadTaskWithRequest:fromFile:", + ); + ffi.Pointer _objc_msgSend_1063( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer request, + ffi.Pointer fileURL, + ) { + return __objc_msgSend_1063(obj, sel, request, fileURL); } late final __objc_msgSend_1063Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1063 = __objc_msgSend_1063Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_uploadTaskWithRequest_fromData_1 = - _registerName1("uploadTaskWithRequest:fromData:"); - ffi.Pointer _objc_msgSend_1064( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer request, - ffi.Pointer bodyData, - ) { - return __objc_msgSend_1064( - obj, - sel, - request, - bodyData, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1063 = + __objc_msgSend_1063Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_uploadTaskWithRequest_fromData_1 = objc.registerName( + "uploadTaskWithRequest:fromData:", + ); + ffi.Pointer _objc_msgSend_1064( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer request, + ffi.Pointer bodyData, + ) { + return __objc_msgSend_1064(obj, sel, request, bodyData); } late final __objc_msgSend_1064Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1064 = __objc_msgSend_1064Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_uploadTaskWithResumeData_1 = - _registerName1("uploadTaskWithResumeData:"); - ffi.Pointer _objc_msgSend_1065( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer resumeData, - ) { - return __objc_msgSend_1065( - obj, - sel, - resumeData, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1064 = + __objc_msgSend_1064Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_uploadTaskWithResumeData_1 = objc.registerName( + "uploadTaskWithResumeData:", + ); + ffi.Pointer _objc_msgSend_1065( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer resumeData, + ) { + return __objc_msgSend_1065(obj, sel, resumeData); } late final __objc_msgSend_1065Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1065 = __objc_msgSend_1065Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_uploadTaskWithStreamedRequest_1 = - _registerName1("uploadTaskWithStreamedRequest:"); - ffi.Pointer _objc_msgSend_1066( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer request, - ) { - return __objc_msgSend_1066( - obj, - sel, - request, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1065 = + __objc_msgSend_1065Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_uploadTaskWithStreamedRequest_1 = objc.registerName( + "uploadTaskWithStreamedRequest:", + ); + ffi.Pointer _objc_msgSend_1066( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer request, + ) { + return __objc_msgSend_1066(obj, sel, request); } late final __objc_msgSend_1066Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1066 = __objc_msgSend_1066Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _class_NSURLSessionDownloadTask1 = - _getClass1("NSURLSessionDownloadTask"); - late final _sel_downloadTaskWithRequest_1 = - _registerName1("downloadTaskWithRequest:"); - ffi.Pointer _objc_msgSend_1067( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer request, - ) { - return __objc_msgSend_1067( - obj, - sel, - request, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1066 = + __objc_msgSend_1066Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _class_NSURLSessionDownloadTask1 = objc.getClass( + "NSURLSessionDownloadTask", + ); + late final _sel_downloadTaskWithRequest_1 = objc.registerName( + "downloadTaskWithRequest:", + ); + ffi.Pointer _objc_msgSend_1067( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer request, + ) { + return __objc_msgSend_1067(obj, sel, request); } late final __objc_msgSend_1067Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1067 = __objc_msgSend_1067Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_downloadTaskWithURL_1 = - _registerName1("downloadTaskWithURL:"); - ffi.Pointer _objc_msgSend_1068( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, - ) { - return __objc_msgSend_1068( - obj, - sel, - url, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1067 = + __objc_msgSend_1067Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_downloadTaskWithURL_1 = objc.registerName( + "downloadTaskWithURL:", + ); + ffi.Pointer _objc_msgSend_1068( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer url, + ) { + return __objc_msgSend_1068(obj, sel, url); } late final __objc_msgSend_1068Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1068 = __objc_msgSend_1068Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_downloadTaskWithResumeData_1 = - _registerName1("downloadTaskWithResumeData:"); - ffi.Pointer _objc_msgSend_1069( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer resumeData, - ) { - return __objc_msgSend_1069( - obj, - sel, - resumeData, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1068 = + __objc_msgSend_1068Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_downloadTaskWithResumeData_1 = objc.registerName( + "downloadTaskWithResumeData:", + ); + ffi.Pointer _objc_msgSend_1069( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer resumeData, + ) { + return __objc_msgSend_1069(obj, sel, resumeData); } late final __objc_msgSend_1069Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1069 = __objc_msgSend_1069Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _class_NSURLSessionStreamTask1 = - _getClass1("NSURLSessionStreamTask"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1069 = + __objc_msgSend_1069Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _class_NSURLSessionStreamTask1 = objc.getClass( + "NSURLSessionStreamTask", + ); late final _sel_readDataOfMinLength_maxLength_timeout_completionHandler_1 = - _registerName1( - "readDataOfMinLength:maxLength:timeout:completionHandler:"); + objc.registerName( + "readDataOfMinLength:maxLength:timeout:completionHandler:", + ); void _objc_msgSend_1070( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int minBytes, int maxBytes, double timeout, - ffi.Pointer<_ObjCBlock> completionHandler, + ffi.Pointer completionHandler, ) { return __objc_msgSend_1070( obj, @@ -30370,919 +38201,1126 @@ class SwiftLibrary { } late final __objc_msgSend_1070Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ffi.UnsignedLong, - ffi.Double, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_1070 = __objc_msgSend_1070Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int, int, - double, ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_writeData_timeout_completionHandler_1 = - _registerName1("writeData:timeout:completionHandler:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.UnsignedLong, + ffi.Double, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1070 = + __objc_msgSend_1070Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + int, + double, + ffi.Pointer, + ) + >(); + + late final _sel_writeData_timeout_completionHandler_1 = objc.registerName( + "writeData:timeout:completionHandler:", + ); void _objc_msgSend_1071( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer data, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer data, double timeout, - ffi.Pointer<_ObjCBlock> completionHandler, + ffi.Pointer completionHandler, ) { - return __objc_msgSend_1071( - obj, - sel, - data, - timeout, - completionHandler, - ); + return __objc_msgSend_1071(obj, sel, data, timeout, completionHandler); } late final __objc_msgSend_1071Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Double, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_1071 = __objc_msgSend_1071Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, double, ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_captureStreams1 = _registerName1("captureStreams"); - late final _sel_closeWrite1 = _registerName1("closeWrite"); - late final _sel_closeRead1 = _registerName1("closeRead"); - late final _sel_startSecureConnection1 = - _registerName1("startSecureConnection"); - late final _sel_stopSecureConnection1 = - _registerName1("stopSecureConnection"); - late final _sel_streamTaskWithHostName_port_1 = - _registerName1("streamTaskWithHostName:port:"); - ffi.Pointer _objc_msgSend_1072( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer hostname, + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Double, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1071 = + __objc_msgSend_1071Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + double, + ffi.Pointer, + ) + >(); + + late final _sel_captureStreams1 = objc.registerName("captureStreams"); + late final _sel_closeWrite1 = objc.registerName("closeWrite"); + late final _sel_closeRead1 = objc.registerName("closeRead"); + late final _sel_startSecureConnection1 = objc.registerName( + "startSecureConnection", + ); + late final _sel_stopSecureConnection1 = objc.registerName( + "stopSecureConnection", + ); + late final _sel_streamTaskWithHostName_port_1 = objc.registerName( + "streamTaskWithHostName:port:", + ); + ffi.Pointer _objc_msgSend_1072( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer hostname, int port, ) { - return __objc_msgSend_1072( - obj, - sel, - hostname, - port, - ); + return __objc_msgSend_1072(obj, sel, hostname, port); } late final __objc_msgSend_1072Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Long)>>('objc_msgSend'); - late final __objc_msgSend_1072 = __objc_msgSend_1072Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer, int)>(); - - late final _class_NSNetService1 = _getClass1("NSNetService"); - late final _sel_initWithDomain_type_name_port_1 = - _registerName1("initWithDomain:type:name:port:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Long, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1072 = + __objc_msgSend_1072Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _class_NSNetService1 = objc.getClass("NSNetService"); + late final _sel_initWithDomain_type_name_port_1 = objc.registerName( + "initWithDomain:type:name:port:", + ); instancetype _objc_msgSend_1073( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer domain, - ffi.Pointer type, - ffi.Pointer name, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer domain, + ffi.Pointer type, + ffi.Pointer name, int port, ) { - return __objc_msgSend_1073( - obj, - sel, - domain, - type, - name, - port, - ); + return __objc_msgSend_1073(obj, sel, domain, type, name, port); } late final __objc_msgSend_1073Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int)>>('objc_msgSend'); - late final __objc_msgSend_1073 = __objc_msgSend_1073Ptr.asFunction< + ffi.NativeFunction< instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int)>(); - - late final _sel_initWithDomain_type_name_1 = - _registerName1("initWithDomain:type:name:"); + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1073 = + __objc_msgSend_1073Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_initWithDomain_type_name_1 = objc.registerName( + "initWithDomain:type:name:", + ); instancetype _objc_msgSend_1074( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer domain, - ffi.Pointer type, - ffi.Pointer name, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer domain, + ffi.Pointer type, + ffi.Pointer name, ) { - return __objc_msgSend_1074( - obj, - sel, - domain, - type, - name, - ); + return __objc_msgSend_1074(obj, sel, domain, type, name); } late final __objc_msgSend_1074Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1074 = __objc_msgSend_1074Ptr.asFunction< + ffi.NativeFunction< instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_includesPeerToPeer1 = _registerName1("includesPeerToPeer"); - late final _sel_setIncludesPeerToPeer_1 = - _registerName1("setIncludesPeerToPeer:"); - late final _sel_type1 = _registerName1("type"); - late final _sel_publishWithOptions_1 = _registerName1("publishWithOptions:"); + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1074 = + __objc_msgSend_1074Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_includesPeerToPeer1 = objc.registerName("includesPeerToPeer"); + late final _sel_setIncludesPeerToPeer_1 = objc.registerName( + "setIncludesPeerToPeer:", + ); + late final _sel_type1 = objc.registerName("type"); + late final _sel_publishWithOptions_1 = objc.registerName( + "publishWithOptions:", + ); void _objc_msgSend_1075( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int options, ) { - return __objc_msgSend_1075( - obj, - sel, - options, - ); + return __objc_msgSend_1075(obj, sel, options); } late final __objc_msgSend_1075Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_1075 = __objc_msgSend_1075Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_resolve1 = _registerName1("resolve"); - late final _sel_stop1 = _registerName1("stop"); - late final _sel_dictionaryFromTXTRecordData_1 = - _registerName1("dictionaryFromTXTRecordData:"); - ffi.Pointer _objc_msgSend_1076( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer txtData, - ) { - return __objc_msgSend_1076( - obj, - sel, - txtData, - ); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1075 = + __objc_msgSend_1075Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_resolve1 = objc.registerName("resolve"); + late final _sel_stop1 = objc.registerName("stop"); + late final _sel_dictionaryFromTXTRecordData_1 = objc.registerName( + "dictionaryFromTXTRecordData:", + ); + ffi.Pointer _objc_msgSend_1076( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer txtData, + ) { + return __objc_msgSend_1076(obj, sel, txtData); } late final __objc_msgSend_1076Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1076 = __objc_msgSend_1076Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_dataFromTXTRecordDictionary_1 = - _registerName1("dataFromTXTRecordDictionary:"); - ffi.Pointer _objc_msgSend_1077( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer txtDictionary, - ) { - return __objc_msgSend_1077( - obj, - sel, - txtDictionary, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1076 = + __objc_msgSend_1076Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_dataFromTXTRecordDictionary_1 = objc.registerName( + "dataFromTXTRecordDictionary:", + ); + ffi.Pointer _objc_msgSend_1077( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer txtDictionary, + ) { + return __objc_msgSend_1077(obj, sel, txtDictionary); } late final __objc_msgSend_1077Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1077 = __objc_msgSend_1077Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_resolveWithTimeout_1 = _registerName1("resolveWithTimeout:"); - late final _sel_getInputStream_outputStream_1 = - _registerName1("getInputStream:outputStream:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1077 = + __objc_msgSend_1077Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_resolveWithTimeout_1 = objc.registerName( + "resolveWithTimeout:", + ); + late final _sel_getInputStream_outputStream_1 = objc.registerName( + "getInputStream:outputStream:", + ); bool _objc_msgSend_1078( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer> inputStream, - ffi.Pointer> outputStream, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer> inputStream, + ffi.Pointer> outputStream, ) { - return __objc_msgSend_1078( - obj, - sel, - inputStream, - outputStream, - ); + return __objc_msgSend_1078(obj, sel, inputStream, outputStream); } late final __objc_msgSend_1078Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_1078 = __objc_msgSend_1078Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer>)>(); - - late final _sel_setTXTRecordData_1 = _registerName1("setTXTRecordData:"); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1078 = + __objc_msgSend_1078Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer>, + ) + >(); + + late final _sel_setTXTRecordData_1 = objc.registerName("setTXTRecordData:"); bool _objc_msgSend_1079( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer recordData, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer recordData, ) { - return __objc_msgSend_1079( - obj, - sel, - recordData, - ); + return __objc_msgSend_1079(obj, sel, recordData); } late final __objc_msgSend_1079Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1079 = __objc_msgSend_1079Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_TXTRecordData1 = _registerName1("TXTRecordData"); - late final _sel_startMonitoring1 = _registerName1("startMonitoring"); - late final _sel_stopMonitoring1 = _registerName1("stopMonitoring"); - late final _sel_streamTaskWithNetService_1 = - _registerName1("streamTaskWithNetService:"); - ffi.Pointer _objc_msgSend_1080( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer service, - ) { - return __objc_msgSend_1080( - obj, - sel, - service, - ); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1079 = + __objc_msgSend_1079Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_TXTRecordData1 = objc.registerName("TXTRecordData"); + late final _sel_startMonitoring1 = objc.registerName("startMonitoring"); + late final _sel_stopMonitoring1 = objc.registerName("stopMonitoring"); + late final _sel_streamTaskWithNetService_1 = objc.registerName( + "streamTaskWithNetService:", + ); + ffi.Pointer _objc_msgSend_1080( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer service, + ) { + return __objc_msgSend_1080(obj, sel, service); } late final __objc_msgSend_1080Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1080 = __objc_msgSend_1080Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _class_NSURLSessionWebSocketTask1 = - _getClass1("NSURLSessionWebSocketTask"); - late final _class_NSURLSessionWebSocketMessage1 = - _getClass1("NSURLSessionWebSocketMessage"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1080 = + __objc_msgSend_1080Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _class_NSURLSessionWebSocketTask1 = objc.getClass( + "NSURLSessionWebSocketTask", + ); + late final _class_NSURLSessionWebSocketMessage1 = objc.getClass( + "NSURLSessionWebSocketMessage", + ); int _objc_msgSend_1081( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_1081( - obj, - sel, - ); + return __objc_msgSend_1081(obj, sel); } late final __objc_msgSend_1081Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1081 = __objc_msgSend_1081Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer)>(); - - late final _sel_sendMessage_completionHandler_1 = - _registerName1("sendMessage:completionHandler:"); + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1081 = + __objc_msgSend_1081Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_sendMessage_completionHandler_1 = objc.registerName( + "sendMessage:completionHandler:", + ); void _objc_msgSend_1082( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer message, - ffi.Pointer<_ObjCBlock> completionHandler, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer message, + ffi.Pointer completionHandler, ) { - return __objc_msgSend_1082( - obj, - sel, - message, - completionHandler, - ); + return __objc_msgSend_1082(obj, sel, message, completionHandler); } late final __objc_msgSend_1082Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_1082 = __objc_msgSend_1082Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_receiveMessageWithCompletionHandler_1 = - _registerName1("receiveMessageWithCompletionHandler:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1082 = + __objc_msgSend_1082Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_receiveMessageWithCompletionHandler_1 = objc.registerName( + "receiveMessageWithCompletionHandler:", + ); void _objc_msgSend_1083( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer<_ObjCBlock> completionHandler, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer completionHandler, ) { - return __objc_msgSend_1083( - obj, - sel, - completionHandler, - ); + return __objc_msgSend_1083(obj, sel, completionHandler); } late final __objc_msgSend_1083Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_1083 = __objc_msgSend_1083Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_sendPingWithPongReceiveHandler_1 = - _registerName1("sendPingWithPongReceiveHandler:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1083 = + __objc_msgSend_1083Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_sendPingWithPongReceiveHandler_1 = objc.registerName( + "sendPingWithPongReceiveHandler:", + ); void _objc_msgSend_1084( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer<_ObjCBlock> pongReceiveHandler, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer pongReceiveHandler, ) { - return __objc_msgSend_1084( - obj, - sel, - pongReceiveHandler, - ); + return __objc_msgSend_1084(obj, sel, pongReceiveHandler); } late final __objc_msgSend_1084Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_1084 = __objc_msgSend_1084Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_cancelWithCloseCode_reason_1 = - _registerName1("cancelWithCloseCode:reason:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1084 = + __objc_msgSend_1084Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_cancelWithCloseCode_reason_1 = objc.registerName( + "cancelWithCloseCode:reason:", + ); void _objc_msgSend_1085( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int closeCode, - ffi.Pointer reason, + ffi.Pointer reason, ) { - return __objc_msgSend_1085( - obj, - sel, - closeCode, - reason, - ); + return __objc_msgSend_1085(obj, sel, closeCode, reason); } late final __objc_msgSend_1085Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Int32, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1085 = __objc_msgSend_1085Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int, - ffi.Pointer)>(); - - late final _sel_maximumMessageSize1 = _registerName1("maximumMessageSize"); - late final _sel_setMaximumMessageSize_1 = - _registerName1("setMaximumMessageSize:"); - late final _sel_closeCode1 = _registerName1("closeCode"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1085 = + __objc_msgSend_1085Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ) + >(); + + late final _sel_maximumMessageSize1 = objc.registerName("maximumMessageSize"); + late final _sel_setMaximumMessageSize_1 = objc.registerName( + "setMaximumMessageSize:", + ); + late final _sel_closeCode1 = objc.registerName("closeCode"); int _objc_msgSend_1086( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_1086( - obj, - sel, - ); + return __objc_msgSend_1086(obj, sel); } late final __objc_msgSend_1086Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1086 = __objc_msgSend_1086Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer)>(); - - late final _sel_closeReason1 = _registerName1("closeReason"); - late final _sel_webSocketTaskWithURL_1 = - _registerName1("webSocketTaskWithURL:"); - ffi.Pointer _objc_msgSend_1087( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, - ) { - return __objc_msgSend_1087( - obj, - sel, - url, - ); + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1086 = + __objc_msgSend_1086Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_closeReason1 = objc.registerName("closeReason"); + late final _sel_webSocketTaskWithURL_1 = objc.registerName( + "webSocketTaskWithURL:", + ); + ffi.Pointer _objc_msgSend_1087( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer url, + ) { + return __objc_msgSend_1087(obj, sel, url); } late final __objc_msgSend_1087Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1087 = __objc_msgSend_1087Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_webSocketTaskWithURL_protocols_1 = - _registerName1("webSocketTaskWithURL:protocols:"); - ffi.Pointer _objc_msgSend_1088( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, - ffi.Pointer protocols, - ) { - return __objc_msgSend_1088( - obj, - sel, - url, - protocols, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1087 = + __objc_msgSend_1087Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_webSocketTaskWithURL_protocols_1 = objc.registerName( + "webSocketTaskWithURL:protocols:", + ); + ffi.Pointer _objc_msgSend_1088( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer url, + ffi.Pointer protocols, + ) { + return __objc_msgSend_1088(obj, sel, url, protocols); } late final __objc_msgSend_1088Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1088 = __objc_msgSend_1088Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_webSocketTaskWithRequest_1 = - _registerName1("webSocketTaskWithRequest:"); - ffi.Pointer _objc_msgSend_1089( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer request, - ) { - return __objc_msgSend_1089( - obj, - sel, - request, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1088 = + __objc_msgSend_1088Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_webSocketTaskWithRequest_1 = objc.registerName( + "webSocketTaskWithRequest:", + ); + ffi.Pointer _objc_msgSend_1089( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer request, + ) { + return __objc_msgSend_1089(obj, sel, request); } late final __objc_msgSend_1089Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1089 = __objc_msgSend_1089Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_dataTaskWithRequest_completionHandler_1 = - _registerName1("dataTaskWithRequest:completionHandler:"); - ffi.Pointer _objc_msgSend_1090( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer request, - ffi.Pointer<_ObjCBlock> completionHandler, - ) { - return __objc_msgSend_1090( - obj, - sel, - request, - completionHandler, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1089 = + __objc_msgSend_1089Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_dataTaskWithRequest_completionHandler_1 = objc.registerName( + "dataTaskWithRequest:completionHandler:", + ); + ffi.Pointer _objc_msgSend_1090( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer request, + ffi.Pointer completionHandler, + ) { + return __objc_msgSend_1090(obj, sel, request, completionHandler); } late final __objc_msgSend_1090Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_1090 = __objc_msgSend_1090Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_dataTaskWithURL_completionHandler_1 = - _registerName1("dataTaskWithURL:completionHandler:"); - ffi.Pointer _objc_msgSend_1091( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, - ffi.Pointer<_ObjCBlock> completionHandler, - ) { - return __objc_msgSend_1091( - obj, - sel, - url, - completionHandler, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1090 = + __objc_msgSend_1090Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_dataTaskWithURL_completionHandler_1 = objc.registerName( + "dataTaskWithURL:completionHandler:", + ); + ffi.Pointer _objc_msgSend_1091( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer url, + ffi.Pointer completionHandler, + ) { + return __objc_msgSend_1091(obj, sel, url, completionHandler); } late final __objc_msgSend_1091Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_1091 = __objc_msgSend_1091Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_uploadTaskWithRequest_fromFile_completionHandler_1 = - _registerName1("uploadTaskWithRequest:fromFile:completionHandler:"); - ffi.Pointer _objc_msgSend_1092( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer request, - ffi.Pointer fileURL, - ffi.Pointer<_ObjCBlock> completionHandler, - ) { - return __objc_msgSend_1092( - obj, - sel, - request, - fileURL, - completionHandler, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1091 = + __objc_msgSend_1091Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_uploadTaskWithRequest_fromFile_completionHandler_1 = objc + .registerName("uploadTaskWithRequest:fromFile:completionHandler:"); + ffi.Pointer _objc_msgSend_1092( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer request, + ffi.Pointer fileURL, + ffi.Pointer completionHandler, + ) { + return __objc_msgSend_1092(obj, sel, request, fileURL, completionHandler); } late final __objc_msgSend_1092Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_1092 = __objc_msgSend_1092Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_uploadTaskWithRequest_fromData_completionHandler_1 = - _registerName1("uploadTaskWithRequest:fromData:completionHandler:"); - ffi.Pointer _objc_msgSend_1093( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer request, - ffi.Pointer bodyData, - ffi.Pointer<_ObjCBlock> completionHandler, - ) { - return __objc_msgSend_1093( - obj, - sel, - request, - bodyData, - completionHandler, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1092 = + __objc_msgSend_1092Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_uploadTaskWithRequest_fromData_completionHandler_1 = objc + .registerName("uploadTaskWithRequest:fromData:completionHandler:"); + ffi.Pointer _objc_msgSend_1093( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer request, + ffi.Pointer bodyData, + ffi.Pointer completionHandler, + ) { + return __objc_msgSend_1093(obj, sel, request, bodyData, completionHandler); } late final __objc_msgSend_1093Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_1093 = __objc_msgSend_1093Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_uploadTaskWithResumeData_completionHandler_1 = - _registerName1("uploadTaskWithResumeData:completionHandler:"); - ffi.Pointer _objc_msgSend_1094( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer resumeData, - ffi.Pointer<_ObjCBlock> completionHandler, - ) { - return __objc_msgSend_1094( - obj, - sel, - resumeData, - completionHandler, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1093 = + __objc_msgSend_1093Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_uploadTaskWithResumeData_completionHandler_1 = objc + .registerName("uploadTaskWithResumeData:completionHandler:"); + ffi.Pointer _objc_msgSend_1094( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer resumeData, + ffi.Pointer completionHandler, + ) { + return __objc_msgSend_1094(obj, sel, resumeData, completionHandler); } late final __objc_msgSend_1094Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_1094 = __objc_msgSend_1094Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_downloadTaskWithRequest_completionHandler_1 = - _registerName1("downloadTaskWithRequest:completionHandler:"); - ffi.Pointer _objc_msgSend_1095( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer request, - ffi.Pointer<_ObjCBlock> completionHandler, - ) { - return __objc_msgSend_1095( - obj, - sel, - request, - completionHandler, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1094 = + __objc_msgSend_1094Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_downloadTaskWithRequest_completionHandler_1 = objc + .registerName("downloadTaskWithRequest:completionHandler:"); + ffi.Pointer _objc_msgSend_1095( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer request, + ffi.Pointer completionHandler, + ) { + return __objc_msgSend_1095(obj, sel, request, completionHandler); } late final __objc_msgSend_1095Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_1095 = __objc_msgSend_1095Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_downloadTaskWithURL_completionHandler_1 = - _registerName1("downloadTaskWithURL:completionHandler:"); - ffi.Pointer _objc_msgSend_1096( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, - ffi.Pointer<_ObjCBlock> completionHandler, - ) { - return __objc_msgSend_1096( - obj, - sel, - url, - completionHandler, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1095 = + __objc_msgSend_1095Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_downloadTaskWithURL_completionHandler_1 = objc.registerName( + "downloadTaskWithURL:completionHandler:", + ); + ffi.Pointer _objc_msgSend_1096( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer url, + ffi.Pointer completionHandler, + ) { + return __objc_msgSend_1096(obj, sel, url, completionHandler); } late final __objc_msgSend_1096Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_1096 = __objc_msgSend_1096Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_downloadTaskWithResumeData_completionHandler_1 = - _registerName1("downloadTaskWithResumeData:completionHandler:"); - ffi.Pointer _objc_msgSend_1097( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer resumeData, - ffi.Pointer<_ObjCBlock> completionHandler, - ) { - return __objc_msgSend_1097( - obj, - sel, - resumeData, - completionHandler, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1096 = + __objc_msgSend_1096Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_downloadTaskWithResumeData_completionHandler_1 = objc + .registerName("downloadTaskWithResumeData:completionHandler:"); + ffi.Pointer _objc_msgSend_1097( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer resumeData, + ffi.Pointer completionHandler, + ) { + return __objc_msgSend_1097(obj, sel, resumeData, completionHandler); } late final __objc_msgSend_1097Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_1097 = __objc_msgSend_1097Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>(); - - late final _class_NSProtocolChecker1 = _getClass1("NSProtocolChecker"); - ffi.Pointer _objc_msgSend_1098( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_1098( - obj, - sel, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1097 = + __objc_msgSend_1097Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _class_NSProtocolChecker1 = objc.getClass("NSProtocolChecker"); + ffi.Pointer _objc_msgSend_1098( + ffi.Pointer obj, + ffi.Pointer sel, + ) { + return __objc_msgSend_1098(obj, sel); } late final __objc_msgSend_1098Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1098 = __objc_msgSend_1098Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1098 = + __objc_msgSend_1098Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); - ffi.Pointer _objc_msgSend_1099( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer _objc_msgSend_1099( + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_1099( - obj, - sel, - ); + return __objc_msgSend_1099(obj, sel); } late final __objc_msgSend_1099Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1099 = __objc_msgSend_1099Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_protocolCheckerWithTarget_protocol_1 = - _registerName1("protocolCheckerWithTarget:protocol:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1099 = + __objc_msgSend_1099Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_protocolCheckerWithTarget_protocol_1 = objc.registerName( + "protocolCheckerWithTarget:protocol:", + ); instancetype _objc_msgSend_1100( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer anObject, - ffi.Pointer aProtocol, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer anObject, + ffi.Pointer aProtocol, ) { - return __objc_msgSend_1100( - obj, - sel, - anObject, - aProtocol, - ); + return __objc_msgSend_1100(obj, sel, anObject, aProtocol); } late final __objc_msgSend_1100Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1100 = __objc_msgSend_1100Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_initWithTarget_protocol_1 = - _registerName1("initWithTarget:protocol:"); - late final _class_NSTask1 = _getClass1("NSTask"); - late final _sel_setExecutableURL_1 = _registerName1("setExecutableURL:"); - late final _sel_setEnvironment_1 = _registerName1("setEnvironment:"); - late final _sel_currentDirectoryURL1 = _registerName1("currentDirectoryURL"); - late final _sel_setCurrentDirectoryURL_1 = - _registerName1("setCurrentDirectoryURL:"); - late final _sel_launchRequirementData1 = - _registerName1("launchRequirementData"); - late final _sel_setLaunchRequirementData_1 = - _registerName1("setLaunchRequirementData:"); - late final _sel_standardInput1 = _registerName1("standardInput"); - late final _sel_setStandardInput_1 = _registerName1("setStandardInput:"); - late final _sel_standardOutput1 = _registerName1("standardOutput"); - late final _sel_setStandardOutput_1 = _registerName1("setStandardOutput:"); - late final _sel_standardError1 = _registerName1("standardError"); - late final _sel_setStandardError_1 = _registerName1("setStandardError:"); - late final _sel_launchAndReturnError_1 = - _registerName1("launchAndReturnError:"); - late final _sel_interrupt1 = _registerName1("interrupt"); - late final _sel_terminate1 = _registerName1("terminate"); - late final _sel_isRunning1 = _registerName1("isRunning"); - late final _sel_terminationStatus1 = _registerName1("terminationStatus"); - late final _sel_terminationReason1 = _registerName1("terminationReason"); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1100 = + __objc_msgSend_1100Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_initWithTarget_protocol_1 = objc.registerName( + "initWithTarget:protocol:", + ); + late final _class_NSTask1 = objc.getClass("NSTask"); + late final _sel_setExecutableURL_1 = objc.registerName("setExecutableURL:"); + late final _sel_setEnvironment_1 = objc.registerName("setEnvironment:"); + late final _sel_currentDirectoryURL1 = objc.registerName( + "currentDirectoryURL", + ); + late final _sel_setCurrentDirectoryURL_1 = objc.registerName( + "setCurrentDirectoryURL:", + ); + late final _sel_launchRequirementData1 = objc.registerName( + "launchRequirementData", + ); + late final _sel_setLaunchRequirementData_1 = objc.registerName( + "setLaunchRequirementData:", + ); + late final _sel_standardInput1 = objc.registerName("standardInput"); + late final _sel_setStandardInput_1 = objc.registerName("setStandardInput:"); + late final _sel_standardOutput1 = objc.registerName("standardOutput"); + late final _sel_setStandardOutput_1 = objc.registerName("setStandardOutput:"); + late final _sel_standardError1 = objc.registerName("standardError"); + late final _sel_setStandardError_1 = objc.registerName("setStandardError:"); + late final _sel_launchAndReturnError_1 = objc.registerName( + "launchAndReturnError:", + ); + late final _sel_interrupt1 = objc.registerName("interrupt"); + late final _sel_terminate1 = objc.registerName("terminate"); + late final _sel_isRunning1 = objc.registerName("isRunning"); + late final _sel_terminationStatus1 = objc.registerName("terminationStatus"); + late final _sel_terminationReason1 = objc.registerName("terminationReason"); int _objc_msgSend_1101( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_1101( - obj, - sel, - ); + return __objc_msgSend_1101(obj, sel); } late final __objc_msgSend_1101Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1101 = __objc_msgSend_1101Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1101 = + __objc_msgSend_1101Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); - late final _sel_terminationHandler1 = _registerName1("terminationHandler"); - ffi.Pointer<_ObjCBlock> _objc_msgSend_1102( - ffi.Pointer obj, - ffi.Pointer sel, + late final _sel_terminationHandler1 = objc.registerName("terminationHandler"); + ffi.Pointer _objc_msgSend_1102( + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_1102( - obj, - sel, - ); + return __objc_msgSend_1102(obj, sel); } late final __objc_msgSend_1102Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer<_ObjCBlock> Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1102 = __objc_msgSend_1102Ptr.asFunction< - ffi.Pointer<_ObjCBlock> Function( - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_setTerminationHandler_1 = - _registerName1("setTerminationHandler:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1102 = + __objc_msgSend_1102Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_setTerminationHandler_1 = objc.registerName( + "setTerminationHandler:", + ); void _objc_msgSend_1103( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer<_ObjCBlock> value, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value, ) { - return __objc_msgSend_1103( - obj, - sel, - value, - ); + return __objc_msgSend_1103(obj, sel, value); } late final __objc_msgSend_1103Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_1103 = __objc_msgSend_1103Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1103 = + __objc_msgSend_1103Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_launchedTaskWithExecutableURL_arguments_error_terminationHandler_1 = - _registerName1( - "launchedTaskWithExecutableURL:arguments:error:terminationHandler:"); - ffi.Pointer _objc_msgSend_1104( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, - ffi.Pointer arguments, - ffi.Pointer> error, - ffi.Pointer<_ObjCBlock> terminationHandler, + objc.registerName( + "launchedTaskWithExecutableURL:arguments:error:terminationHandler:", + ); + ffi.Pointer _objc_msgSend_1104( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer url, + ffi.Pointer arguments, + ffi.Pointer> error, + ffi.Pointer terminationHandler, ) { return __objc_msgSend_1104( obj, @@ -31295,1195 +39333,1432 @@ class SwiftLibrary { } late final __objc_msgSend_1104Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_1104 = __objc_msgSend_1104Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_waitUntilExit1 = _registerName1("waitUntilExit"); - late final _sel_launchPath1 = _registerName1("launchPath"); - late final _sel_setLaunchPath_1 = _registerName1("setLaunchPath:"); - late final _sel_setCurrentDirectoryPath_1 = - _registerName1("setCurrentDirectoryPath:"); - late final _sel_launch1 = _registerName1("launch"); - late final _sel_launchedTaskWithLaunchPath_arguments_1 = - _registerName1("launchedTaskWithLaunchPath:arguments:"); - ffi.Pointer _objc_msgSend_1105( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, - ffi.Pointer arguments, - ) { - return __objc_msgSend_1105( - obj, - sel, - path, - arguments, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1104 = + __objc_msgSend_1104Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer, + ) + >(); + + late final _sel_waitUntilExit1 = objc.registerName("waitUntilExit"); + late final _sel_launchPath1 = objc.registerName("launchPath"); + late final _sel_setLaunchPath_1 = objc.registerName("setLaunchPath:"); + late final _sel_setCurrentDirectoryPath_1 = objc.registerName( + "setCurrentDirectoryPath:", + ); + late final _sel_launch1 = objc.registerName("launch"); + late final _sel_launchedTaskWithLaunchPath_arguments_1 = objc.registerName( + "launchedTaskWithLaunchPath:arguments:", + ); + ffi.Pointer _objc_msgSend_1105( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer path, + ffi.Pointer arguments, + ) { + return __objc_msgSend_1105(obj, sel, path, arguments); } late final __objc_msgSend_1105Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1105 = __objc_msgSend_1105Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - late final _class_NSXMLElement1 = _getClass1("NSXMLElement"); - late final _class_NSXMLNode1 = _getClass1("NSXMLNode"); - late final _sel_initWithKind_1 = _registerName1("initWithKind:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1105 = + __objc_msgSend_1105Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _class_NSXMLElement1 = objc.getClass("NSXMLElement"); + late final _class_NSXMLNode1 = objc.getClass("NSXMLNode"); + late final _sel_initWithKind_1 = objc.registerName("initWithKind:"); instancetype _objc_msgSend_1106( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int kind, ) { - return __objc_msgSend_1106( - obj, - sel, - kind, - ); + return __objc_msgSend_1106(obj, sel, kind); } late final __objc_msgSend_1106Ptr = _lookup< - ffi.NativeFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_1106 = __objc_msgSend_1106Ptr.asFunction< + ffi.NativeFunction< instancetype Function( - ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_initWithKind_options_1 = - _registerName1("initWithKind:options:"); + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1106 = + __objc_msgSend_1106Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_initWithKind_options_1 = objc.registerName( + "initWithKind:options:", + ); instancetype _objc_msgSend_1107( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int kind, int options, ) { - return __objc_msgSend_1107( - obj, - sel, - kind, - options, - ); + return __objc_msgSend_1107(obj, sel, kind, options); } late final __objc_msgSend_1107Ptr = _lookup< - ffi.NativeFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Int32, ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_1107 = __objc_msgSend_1107Ptr.asFunction< + ffi.NativeFunction< instancetype Function( - ffi.Pointer, ffi.Pointer, int, int)>(); - - late final _sel_document1 = _registerName1("document"); - late final _sel_documentWithRootElement_1 = - _registerName1("documentWithRootElement:"); - ffi.Pointer _objc_msgSend_1108( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer element, - ) { - return __objc_msgSend_1108( - obj, - sel, - element, - ); + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1107 = + __objc_msgSend_1107Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + int, + int, + ) + >(); + + late final _sel_document1 = objc.registerName("document"); + late final _sel_documentWithRootElement_1 = objc.registerName( + "documentWithRootElement:", + ); + ffi.Pointer _objc_msgSend_1108( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer element, + ) { + return __objc_msgSend_1108(obj, sel, element); } late final __objc_msgSend_1108Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1108 = __objc_msgSend_1108Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_elementWithName_1 = _registerName1("elementWithName:"); - late final _sel_elementWithName_URI_1 = - _registerName1("elementWithName:URI:"); - ffi.Pointer _objc_msgSend_1109( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer name, - ffi.Pointer URI, - ) { - return __objc_msgSend_1109( - obj, - sel, - name, - URI, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1108 = + __objc_msgSend_1108Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_elementWithName_1 = objc.registerName("elementWithName:"); + late final _sel_elementWithName_URI_1 = objc.registerName( + "elementWithName:URI:", + ); + ffi.Pointer _objc_msgSend_1109( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer name, + ffi.Pointer URI, + ) { + return __objc_msgSend_1109(obj, sel, name, URI); } late final __objc_msgSend_1109Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1109 = __objc_msgSend_1109Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_elementWithName_stringValue_1 = - _registerName1("elementWithName:stringValue:"); - late final _sel_elementWithName_children_attributes_1 = - _registerName1("elementWithName:children:attributes:"); - ffi.Pointer _objc_msgSend_1110( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer name, - ffi.Pointer children, - ffi.Pointer attributes, - ) { - return __objc_msgSend_1110( - obj, - sel, - name, - children, - attributes, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1109 = + __objc_msgSend_1109Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_elementWithName_stringValue_1 = objc.registerName( + "elementWithName:stringValue:", + ); + late final _sel_elementWithName_children_attributes_1 = objc.registerName( + "elementWithName:children:attributes:", + ); + ffi.Pointer _objc_msgSend_1110( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer name, + ffi.Pointer children, + ffi.Pointer attributes, + ) { + return __objc_msgSend_1110(obj, sel, name, children, attributes); } late final __objc_msgSend_1110Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1110 = __objc_msgSend_1110Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_attributeWithName_stringValue_1 = - _registerName1("attributeWithName:stringValue:"); - late final _sel_attributeWithName_URI_stringValue_1 = - _registerName1("attributeWithName:URI:stringValue:"); - late final _sel_namespaceWithName_stringValue_1 = - _registerName1("namespaceWithName:stringValue:"); - late final _sel_processingInstructionWithName_stringValue_1 = - _registerName1("processingInstructionWithName:stringValue:"); - late final _sel_commentWithStringValue_1 = - _registerName1("commentWithStringValue:"); - late final _sel_textWithStringValue_1 = - _registerName1("textWithStringValue:"); - late final _sel_DTDNodeWithXMLString_1 = - _registerName1("DTDNodeWithXMLString:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1110 = + __objc_msgSend_1110Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_attributeWithName_stringValue_1 = objc.registerName( + "attributeWithName:stringValue:", + ); + late final _sel_attributeWithName_URI_stringValue_1 = objc.registerName( + "attributeWithName:URI:stringValue:", + ); + late final _sel_namespaceWithName_stringValue_1 = objc.registerName( + "namespaceWithName:stringValue:", + ); + late final _sel_processingInstructionWithName_stringValue_1 = objc + .registerName("processingInstructionWithName:stringValue:"); + late final _sel_commentWithStringValue_1 = objc.registerName( + "commentWithStringValue:", + ); + late final _sel_textWithStringValue_1 = objc.registerName( + "textWithStringValue:", + ); + late final _sel_DTDNodeWithXMLString_1 = objc.registerName( + "DTDNodeWithXMLString:", + ); int _objc_msgSend_1111( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_1111( - obj, - sel, - ); + return __objc_msgSend_1111(obj, sel); } late final __objc_msgSend_1111Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1111 = __objc_msgSend_1111Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer)>(); - - late final _sel_objectValue1 = _registerName1("objectValue"); - late final _sel_setObjectValue_1 = _registerName1("setObjectValue:"); - late final _sel_setStringValue_1 = _registerName1("setStringValue:"); - late final _sel_setStringValue_resolvingEntities_1 = - _registerName1("setStringValue:resolvingEntities:"); + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1111 = + __objc_msgSend_1111Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_objectValue1 = objc.registerName("objectValue"); + late final _sel_setObjectValue_1 = objc.registerName("setObjectValue:"); + late final _sel_setStringValue_1 = objc.registerName("setStringValue:"); + late final _sel_setStringValue_resolvingEntities_1 = objc.registerName( + "setStringValue:resolvingEntities:", + ); void _objc_msgSend_1112( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer string, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer string, bool resolve, ) { - return __objc_msgSend_1112( - obj, - sel, - string, - resolve, - ); + return __objc_msgSend_1112(obj, sel, string, resolve); } late final __objc_msgSend_1112Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Bool)>>('objc_msgSend'); - late final __objc_msgSend_1112 = __objc_msgSend_1112Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, bool)>(); - - late final _sel_index1 = _registerName1("index"); - late final _sel_level1 = _registerName1("level"); - late final _class_NSXMLDocument1 = _getClass1("NSXMLDocument"); - late final _sel_initWithXMLString_options_error_1 = - _registerName1("initWithXMLString:options:error:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1112 = + __objc_msgSend_1112Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool, + ) + >(); + + late final _sel_index1 = objc.registerName("index"); + late final _sel_level1 = objc.registerName("level"); + late final _class_NSXMLDocument1 = objc.getClass("NSXMLDocument"); + late final _sel_initWithXMLString_options_error_1 = objc.registerName( + "initWithXMLString:options:error:", + ); instancetype _objc_msgSend_1113( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer string, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer string, int mask, - ffi.Pointer> error, + ffi.Pointer> error, ) { - return __objc_msgSend_1113( - obj, - sel, - string, - mask, - error, - ); + return __objc_msgSend_1113(obj, sel, string, mask, error); } late final __objc_msgSend_1113Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_1113 = __objc_msgSend_1113Ptr.asFunction< + ffi.NativeFunction< instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>)>(); + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1113 = + __objc_msgSend_1113Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer>, + ) + >(); instancetype _objc_msgSend_1114( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer url, int mask, - ffi.Pointer> error, + ffi.Pointer> error, ) { - return __objc_msgSend_1114( - obj, - sel, - url, - mask, - error, - ); + return __objc_msgSend_1114(obj, sel, url, mask, error); } late final __objc_msgSend_1114Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_1114 = __objc_msgSend_1114Ptr.asFunction< + ffi.NativeFunction< instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>)>(); - - late final _sel_initWithData_options_error_1 = - _registerName1("initWithData:options:error:"); + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1114 = + __objc_msgSend_1114Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer>, + ) + >(); + + late final _sel_initWithData_options_error_1 = objc.registerName( + "initWithData:options:error:", + ); instancetype _objc_msgSend_1115( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer data, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer data, int mask, - ffi.Pointer> error, + ffi.Pointer> error, ) { - return __objc_msgSend_1115( - obj, - sel, - data, - mask, - error, - ); + return __objc_msgSend_1115(obj, sel, data, mask, error); } late final __objc_msgSend_1115Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_1115 = __objc_msgSend_1115Ptr.asFunction< + ffi.NativeFunction< instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>)>(); - - late final _sel_initWithRootElement_1 = - _registerName1("initWithRootElement:"); + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1115 = + __objc_msgSend_1115Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer>, + ) + >(); + + late final _sel_initWithRootElement_1 = objc.registerName( + "initWithRootElement:", + ); instancetype _objc_msgSend_1116( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer element, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer element, ) { - return __objc_msgSend_1116( - obj, - sel, - element, - ); + return __objc_msgSend_1116(obj, sel, element); } late final __objc_msgSend_1116Ptr = _lookup< - ffi.NativeFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1116 = __objc_msgSend_1116Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_replacementClassForClass_1 = - _registerName1("replacementClassForClass:"); - late final _sel_characterEncoding1 = _registerName1("characterEncoding"); - late final _sel_setCharacterEncoding_1 = - _registerName1("setCharacterEncoding:"); - late final _sel_isStandalone1 = _registerName1("isStandalone"); - late final _sel_setStandalone_1 = _registerName1("setStandalone:"); - late final _sel_documentContentKind1 = _registerName1("documentContentKind"); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1116 = + __objc_msgSend_1116Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_replacementClassForClass_1 = objc.registerName( + "replacementClassForClass:", + ); + late final _sel_characterEncoding1 = objc.registerName("characterEncoding"); + late final _sel_setCharacterEncoding_1 = objc.registerName( + "setCharacterEncoding:", + ); + late final _sel_isStandalone1 = objc.registerName("isStandalone"); + late final _sel_setStandalone_1 = objc.registerName("setStandalone:"); + late final _sel_documentContentKind1 = objc.registerName( + "documentContentKind", + ); int _objc_msgSend_1117( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_1117( - obj, - sel, - ); + return __objc_msgSend_1117(obj, sel); } late final __objc_msgSend_1117Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1117 = __objc_msgSend_1117Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer)>(); - - late final _sel_setDocumentContentKind_1 = - _registerName1("setDocumentContentKind:"); + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1117 = + __objc_msgSend_1117Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_setDocumentContentKind_1 = objc.registerName( + "setDocumentContentKind:", + ); void _objc_msgSend_1118( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int value, ) { - return __objc_msgSend_1118( - obj, - sel, - value, - ); + return __objc_msgSend_1118(obj, sel, value); } late final __objc_msgSend_1118Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_1118 = __objc_msgSend_1118Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_setMIMEType_1 = _registerName1("setMIMEType:"); - late final _class_NSXMLDTD1 = _getClass1("NSXMLDTD"); - late final _sel_setPublicID_1 = _registerName1("setPublicID:"); - late final _sel_setSystemID_1 = _registerName1("setSystemID:"); - late final _sel_insertChild_atIndex_1 = - _registerName1("insertChild:atIndex:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1118 = + __objc_msgSend_1118Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_setMIMEType_1 = objc.registerName("setMIMEType:"); + late final _class_NSXMLDTD1 = objc.getClass("NSXMLDTD"); + late final _sel_setPublicID_1 = objc.registerName("setPublicID:"); + late final _sel_setSystemID_1 = objc.registerName("setSystemID:"); + late final _sel_insertChild_atIndex_1 = objc.registerName( + "insertChild:atIndex:", + ); void _objc_msgSend_1119( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer child, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer child, int index, ) { - return __objc_msgSend_1119( - obj, - sel, - child, - index, - ); + return __objc_msgSend_1119(obj, sel, child, index); } late final __objc_msgSend_1119Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.UnsignedLong)>>('objc_msgSend'); - late final __objc_msgSend_1119 = __objc_msgSend_1119Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int)>(); - - late final _sel_insertChildren_atIndex_1 = - _registerName1("insertChildren:atIndex:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1119 = + __objc_msgSend_1119Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_insertChildren_atIndex_1 = objc.registerName( + "insertChildren:atIndex:", + ); void _objc_msgSend_1120( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer children, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer children, int index, ) { - return __objc_msgSend_1120( - obj, - sel, - children, - index, - ); + return __objc_msgSend_1120(obj, sel, children, index); } late final __objc_msgSend_1120Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.UnsignedLong)>>('objc_msgSend'); - late final __objc_msgSend_1120 = __objc_msgSend_1120Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int)>(); - - late final _sel_removeChildAtIndex_1 = _registerName1("removeChildAtIndex:"); - late final _sel_setChildren_1 = _registerName1("setChildren:"); - late final _sel_addChild_1 = _registerName1("addChild:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1120 = + __objc_msgSend_1120Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_removeChildAtIndex_1 = objc.registerName( + "removeChildAtIndex:", + ); + late final _sel_setChildren_1 = objc.registerName("setChildren:"); + late final _sel_addChild_1 = objc.registerName("addChild:"); void _objc_msgSend_1121( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer child, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer child, ) { - return __objc_msgSend_1121( - obj, - sel, - child, - ); + return __objc_msgSend_1121(obj, sel, child); } late final __objc_msgSend_1121Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1121 = __objc_msgSend_1121Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_replaceChildAtIndex_withNode_1 = - _registerName1("replaceChildAtIndex:withNode:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1121 = + __objc_msgSend_1121Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_replaceChildAtIndex_withNode_1 = objc.registerName( + "replaceChildAtIndex:withNode:", + ); void _objc_msgSend_1122( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int index, - ffi.Pointer node, + ffi.Pointer node, ) { - return __objc_msgSend_1122( - obj, - sel, - index, - node, - ); + return __objc_msgSend_1122(obj, sel, index, node); } late final __objc_msgSend_1122Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1122 = __objc_msgSend_1122Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int, - ffi.Pointer)>(); - - late final _class_NSXMLDTDNode1 = _getClass1("NSXMLDTDNode"); - late final _sel_initWithXMLString_1 = _registerName1("initWithXMLString:"); - late final _sel_DTDKind1 = _registerName1("DTDKind"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1122 = + __objc_msgSend_1122Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ) + >(); + + late final _class_NSXMLDTDNode1 = objc.getClass("NSXMLDTDNode"); + late final _sel_initWithXMLString_1 = objc.registerName("initWithXMLString:"); + late final _sel_DTDKind1 = objc.registerName("DTDKind"); int _objc_msgSend_1123( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, ) { - return __objc_msgSend_1123( - obj, - sel, - ); + return __objc_msgSend_1123(obj, sel); } late final __objc_msgSend_1123Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1123 = __objc_msgSend_1123Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1123 = + __objc_msgSend_1123Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); - late final _sel_setDTDKind_1 = _registerName1("setDTDKind:"); + late final _sel_setDTDKind_1 = objc.registerName("setDTDKind:"); void _objc_msgSend_1124( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer sel, int value, ) { - return __objc_msgSend_1124( - obj, - sel, - value, - ); + return __objc_msgSend_1124(obj, sel, value); } late final __objc_msgSend_1124Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_1124 = __objc_msgSend_1124Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_isExternal1 = _registerName1("isExternal"); - late final _sel_notationName1 = _registerName1("notationName"); - late final _sel_setNotationName_1 = _registerName1("setNotationName:"); - late final _sel_localNameForName_1 = _registerName1("localNameForName:"); - late final _sel_prefixForName_1 = _registerName1("prefixForName:"); - late final _sel_predefinedNamespaceForPrefix_1 = - _registerName1("predefinedNamespaceForPrefix:"); - ffi.Pointer _objc_msgSend_1125( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer name, - ) { - return __objc_msgSend_1125( - obj, - sel, - name, - ); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1124 = + __objc_msgSend_1124Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_isExternal1 = objc.registerName("isExternal"); + late final _sel_notationName1 = objc.registerName("notationName"); + late final _sel_setNotationName_1 = objc.registerName("setNotationName:"); + late final _sel_localNameForName_1 = objc.registerName("localNameForName:"); + late final _sel_prefixForName_1 = objc.registerName("prefixForName:"); + late final _sel_predefinedNamespaceForPrefix_1 = objc.registerName( + "predefinedNamespaceForPrefix:", + ); + ffi.Pointer _objc_msgSend_1125( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer name, + ) { + return __objc_msgSend_1125(obj, sel, name); } late final __objc_msgSend_1125Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1125 = __objc_msgSend_1125Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_entityDeclarationForName_1 = - _registerName1("entityDeclarationForName:"); - ffi.Pointer _objc_msgSend_1126( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer name, - ) { - return __objc_msgSend_1126( - obj, - sel, - name, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1125 = + __objc_msgSend_1125Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_entityDeclarationForName_1 = objc.registerName( + "entityDeclarationForName:", + ); + ffi.Pointer _objc_msgSend_1126( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer name, + ) { + return __objc_msgSend_1126(obj, sel, name); } late final __objc_msgSend_1126Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1126 = __objc_msgSend_1126Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_notationDeclarationForName_1 = - _registerName1("notationDeclarationForName:"); - late final _sel_elementDeclarationForName_1 = - _registerName1("elementDeclarationForName:"); - late final _sel_attributeDeclarationForName_elementName_1 = - _registerName1("attributeDeclarationForName:elementName:"); - ffi.Pointer _objc_msgSend_1127( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer name, - ffi.Pointer elementName, - ) { - return __objc_msgSend_1127( - obj, - sel, - name, - elementName, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1126 = + __objc_msgSend_1126Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_notationDeclarationForName_1 = objc.registerName( + "notationDeclarationForName:", + ); + late final _sel_elementDeclarationForName_1 = objc.registerName( + "elementDeclarationForName:", + ); + late final _sel_attributeDeclarationForName_elementName_1 = objc.registerName( + "attributeDeclarationForName:elementName:", + ); + ffi.Pointer _objc_msgSend_1127( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer name, + ffi.Pointer elementName, + ) { + return __objc_msgSend_1127(obj, sel, name, elementName); } late final __objc_msgSend_1127Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1127 = __objc_msgSend_1127Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_predefinedEntityDeclarationForName_1 = - _registerName1("predefinedEntityDeclarationForName:"); - late final _sel_DTD1 = _registerName1("DTD"); - ffi.Pointer _objc_msgSend_1128( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_1128( - obj, - sel, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1127 = + __objc_msgSend_1127Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_predefinedEntityDeclarationForName_1 = objc.registerName( + "predefinedEntityDeclarationForName:", + ); + late final _sel_DTD1 = objc.registerName("DTD"); + ffi.Pointer _objc_msgSend_1128( + ffi.Pointer obj, + ffi.Pointer sel, + ) { + return __objc_msgSend_1128(obj, sel); } late final __objc_msgSend_1128Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1128 = __objc_msgSend_1128Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1128 = + __objc_msgSend_1128Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); - late final _sel_setDTD_1 = _registerName1("setDTD:"); + late final _sel_setDTD_1 = objc.registerName("setDTD:"); void _objc_msgSend_1129( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value, ) { - return __objc_msgSend_1129( - obj, - sel, - value, - ); + return __objc_msgSend_1129(obj, sel, value); } late final __objc_msgSend_1129Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1129 = __objc_msgSend_1129Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1129 = + __objc_msgSend_1129Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); - late final _sel_setRootElement_1 = _registerName1("setRootElement:"); + late final _sel_setRootElement_1 = objc.registerName("setRootElement:"); void _objc_msgSend_1130( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer root, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer root, ) { - return __objc_msgSend_1130( - obj, - sel, - root, - ); + return __objc_msgSend_1130(obj, sel, root); } late final __objc_msgSend_1130Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1130 = __objc_msgSend_1130Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_rootElement1 = _registerName1("rootElement"); - ffi.Pointer _objc_msgSend_1131( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_1131( - obj, - sel, - ); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1130 = + __objc_msgSend_1130Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_rootElement1 = objc.registerName("rootElement"); + ffi.Pointer _objc_msgSend_1131( + ffi.Pointer obj, + ffi.Pointer sel, + ) { + return __objc_msgSend_1131(obj, sel); } late final __objc_msgSend_1131Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1131 = __objc_msgSend_1131Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_XMLData1 = _registerName1("XMLData"); - late final _sel_XMLDataWithOptions_1 = _registerName1("XMLDataWithOptions:"); - ffi.Pointer _objc_msgSend_1132( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1131 = + __objc_msgSend_1131Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_XMLData1 = objc.registerName("XMLData"); + late final _sel_XMLDataWithOptions_1 = objc.registerName( + "XMLDataWithOptions:", + ); + ffi.Pointer _objc_msgSend_1132( + ffi.Pointer obj, + ffi.Pointer sel, int options, ) { - return __objc_msgSend_1132( - obj, - sel, - options, - ); + return __objc_msgSend_1132(obj, sel, options); } late final __objc_msgSend_1132Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_1132 = __objc_msgSend_1132Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_objectByApplyingXSLT_arguments_error_1 = - _registerName1("objectByApplyingXSLT:arguments:error:"); - ffi.Pointer _objc_msgSend_1133( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer xslt, - ffi.Pointer arguments, - ffi.Pointer> error, - ) { - return __objc_msgSend_1133( - obj, - sel, - xslt, - arguments, - error, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1132 = + __objc_msgSend_1132Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_objectByApplyingXSLT_arguments_error_1 = objc.registerName( + "objectByApplyingXSLT:arguments:error:", + ); + ffi.Pointer _objc_msgSend_1133( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer xslt, + ffi.Pointer arguments, + ffi.Pointer> error, + ) { + return __objc_msgSend_1133(obj, sel, xslt, arguments, error); } late final __objc_msgSend_1133Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_1133 = __objc_msgSend_1133Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>(); - - late final _sel_objectByApplyingXSLTString_arguments_error_1 = - _registerName1("objectByApplyingXSLTString:arguments:error:"); - ffi.Pointer _objc_msgSend_1134( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer xslt, - ffi.Pointer arguments, - ffi.Pointer> error, - ) { - return __objc_msgSend_1134( - obj, - sel, - xslt, - arguments, - error, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1133 = + __objc_msgSend_1133Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + >(); + + late final _sel_objectByApplyingXSLTString_arguments_error_1 = objc + .registerName("objectByApplyingXSLTString:arguments:error:"); + ffi.Pointer _objc_msgSend_1134( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer xslt, + ffi.Pointer arguments, + ffi.Pointer> error, + ) { + return __objc_msgSend_1134(obj, sel, xslt, arguments, error); } late final __objc_msgSend_1134Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_1134 = __objc_msgSend_1134Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>(); - - late final _sel_objectByApplyingXSLTAtURL_arguments_error_1 = - _registerName1("objectByApplyingXSLTAtURL:arguments:error:"); - ffi.Pointer _objc_msgSend_1135( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer xsltURL, - ffi.Pointer argument, - ffi.Pointer> error, - ) { - return __objc_msgSend_1135( - obj, - sel, - xsltURL, - argument, - error, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1134 = + __objc_msgSend_1134Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + >(); + + late final _sel_objectByApplyingXSLTAtURL_arguments_error_1 = objc + .registerName("objectByApplyingXSLTAtURL:arguments:error:"); + ffi.Pointer _objc_msgSend_1135( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer xsltURL, + ffi.Pointer argument, + ffi.Pointer> error, + ) { + return __objc_msgSend_1135(obj, sel, xsltURL, argument, error); } late final __objc_msgSend_1135Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_1135 = __objc_msgSend_1135Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>(); - - late final _sel_validateAndReturnError_1 = - _registerName1("validateAndReturnError:"); - late final _sel_rootDocument1 = _registerName1("rootDocument"); - ffi.Pointer _objc_msgSend_1136( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_1136( - obj, - sel, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1135 = + __objc_msgSend_1135Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + >(); + + late final _sel_validateAndReturnError_1 = objc.registerName( + "validateAndReturnError:", + ); + late final _sel_rootDocument1 = objc.registerName("rootDocument"); + ffi.Pointer _objc_msgSend_1136( + ffi.Pointer obj, + ffi.Pointer sel, + ) { + return __objc_msgSend_1136(obj, sel); } late final __objc_msgSend_1136Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1136 = __objc_msgSend_1136Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_parent1 = _registerName1("parent"); - ffi.Pointer _objc_msgSend_1137( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_1137( - obj, - sel, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1136 = + __objc_msgSend_1136Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_parent1 = objc.registerName("parent"); + ffi.Pointer _objc_msgSend_1137( + ffi.Pointer obj, + ffi.Pointer sel, + ) { + return __objc_msgSend_1137(obj, sel); } late final __objc_msgSend_1137Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1137 = __objc_msgSend_1137Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_childCount1 = _registerName1("childCount"); - late final _sel_children1 = _registerName1("children"); - late final _sel_childAtIndex_1 = _registerName1("childAtIndex:"); - ffi.Pointer _objc_msgSend_1138( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1137 = + __objc_msgSend_1137Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_childCount1 = objc.registerName("childCount"); + late final _sel_children1 = objc.registerName("children"); + late final _sel_childAtIndex_1 = objc.registerName("childAtIndex:"); + ffi.Pointer _objc_msgSend_1138( + ffi.Pointer obj, + ffi.Pointer sel, int index, ) { - return __objc_msgSend_1138( - obj, - sel, - index, - ); + return __objc_msgSend_1138(obj, sel, index); } late final __objc_msgSend_1138Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.UnsignedLong)>>('objc_msgSend'); - late final __objc_msgSend_1138 = __objc_msgSend_1138Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_previousSibling1 = _registerName1("previousSibling"); - late final _sel_nextSibling1 = _registerName1("nextSibling"); - late final _sel_previousNode1 = _registerName1("previousNode"); - late final _sel_nextNode1 = _registerName1("nextNode"); - late final _sel_detach1 = _registerName1("detach"); - late final _sel_XPath1 = _registerName1("XPath"); - late final _sel_localName1 = _registerName1("localName"); - late final _sel_prefix1 = _registerName1("prefix"); - late final _sel_URI1 = _registerName1("URI"); - late final _sel_setURI_1 = _registerName1("setURI:"); - late final _sel_XMLString1 = _registerName1("XMLString"); - late final _sel_XMLStringWithOptions_1 = - _registerName1("XMLStringWithOptions:"); - ffi.Pointer _objc_msgSend_1139( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1138 = + __objc_msgSend_1138Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_previousSibling1 = objc.registerName("previousSibling"); + late final _sel_nextSibling1 = objc.registerName("nextSibling"); + late final _sel_previousNode1 = objc.registerName("previousNode"); + late final _sel_nextNode1 = objc.registerName("nextNode"); + late final _sel_detach1 = objc.registerName("detach"); + late final _sel_XPath1 = objc.registerName("XPath"); + late final _sel_localName1 = objc.registerName("localName"); + late final _sel_prefix1 = objc.registerName("prefix"); + late final _sel_URI1 = objc.registerName("URI"); + late final _sel_setURI_1 = objc.registerName("setURI:"); + late final _sel_XMLString1 = objc.registerName("XMLString"); + late final _sel_XMLStringWithOptions_1 = objc.registerName( + "XMLStringWithOptions:", + ); + ffi.Pointer _objc_msgSend_1139( + ffi.Pointer obj, + ffi.Pointer sel, int options, ) { - return __objc_msgSend_1139( - obj, - sel, - options, - ); + return __objc_msgSend_1139(obj, sel, options); } late final __objc_msgSend_1139Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_1139 = __objc_msgSend_1139Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_canonicalXMLStringPreservingComments_1 = - _registerName1("canonicalXMLStringPreservingComments:"); - ffi.Pointer _objc_msgSend_1140( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1139 = + __objc_msgSend_1139Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_canonicalXMLStringPreservingComments_1 = objc.registerName( + "canonicalXMLStringPreservingComments:", + ); + ffi.Pointer _objc_msgSend_1140( + ffi.Pointer obj, + ffi.Pointer sel, bool comments, ) { - return __objc_msgSend_1140( - obj, - sel, - comments, - ); + return __objc_msgSend_1140(obj, sel, comments); } late final __objc_msgSend_1140Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Bool)>>('objc_msgSend'); - late final __objc_msgSend_1140 = __objc_msgSend_1140Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer, bool)>(); - - late final _sel_nodesForXPath_error_1 = - _registerName1("nodesForXPath:error:"); - late final _sel_objectsForXQuery_constants_error_1 = - _registerName1("objectsForXQuery:constants:error:"); - ffi.Pointer _objc_msgSend_1141( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer xquery, - ffi.Pointer constants, - ffi.Pointer> error, - ) { - return __objc_msgSend_1141( - obj, - sel, - xquery, - constants, - error, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1140 = + __objc_msgSend_1140Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + bool, + ) + >(); + + late final _sel_nodesForXPath_error_1 = objc.registerName( + "nodesForXPath:error:", + ); + late final _sel_objectsForXQuery_constants_error_1 = objc.registerName( + "objectsForXQuery:constants:error:", + ); + ffi.Pointer _objc_msgSend_1141( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer xquery, + ffi.Pointer constants, + ffi.Pointer> error, + ) { + return __objc_msgSend_1141(obj, sel, xquery, constants, error); } late final __objc_msgSend_1141Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_1141 = __objc_msgSend_1141Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>(); - - late final _sel_objectsForXQuery_error_1 = - _registerName1("objectsForXQuery:error:"); - late final _sel_initWithName_URI_1 = _registerName1("initWithName:URI:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1141 = + __objc_msgSend_1141Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + >(); + + late final _sel_objectsForXQuery_error_1 = objc.registerName( + "objectsForXQuery:error:", + ); + late final _sel_initWithName_URI_1 = objc.registerName("initWithName:URI:"); instancetype _objc_msgSend_1142( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer name, - ffi.Pointer URI, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer name, + ffi.Pointer URI, ) { - return __objc_msgSend_1142( - obj, - sel, - name, - URI, - ); + return __objc_msgSend_1142(obj, sel, name, URI); } late final __objc_msgSend_1142Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1142 = __objc_msgSend_1142Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_initWithName_stringValue_1 = - _registerName1("initWithName:stringValue:"); - late final _sel_initWithXMLString_error_1 = - _registerName1("initWithXMLString:error:"); - late final _sel_elementsForName_1 = _registerName1("elementsForName:"); - late final _sel_elementsForLocalName_URI_1 = - _registerName1("elementsForLocalName:URI:"); - ffi.Pointer _objc_msgSend_1143( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer localName, - ffi.Pointer URI, - ) { - return __objc_msgSend_1143( - obj, - sel, - localName, - URI, - ); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1142 = + __objc_msgSend_1142Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_initWithName_stringValue_1 = objc.registerName( + "initWithName:stringValue:", + ); + late final _sel_initWithXMLString_error_1 = objc.registerName( + "initWithXMLString:error:", + ); + late final _sel_elementsForName_1 = objc.registerName("elementsForName:"); + late final _sel_elementsForLocalName_URI_1 = objc.registerName( + "elementsForLocalName:URI:", + ); + ffi.Pointer _objc_msgSend_1143( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer localName, + ffi.Pointer URI, + ) { + return __objc_msgSend_1143(obj, sel, localName, URI); } late final __objc_msgSend_1143Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1143 = __objc_msgSend_1143Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_addAttribute_1 = _registerName1("addAttribute:"); - late final _sel_removeAttributeForName_1 = - _registerName1("removeAttributeForName:"); - late final _sel_attributes1 = _registerName1("attributes"); - late final _sel_setAttributes_1 = _registerName1("setAttributes:"); - late final _sel_setAttributesWithDictionary_1 = - _registerName1("setAttributesWithDictionary:"); - late final _sel_attributeForName_1 = _registerName1("attributeForName:"); - late final _sel_attributeForLocalName_URI_1 = - _registerName1("attributeForLocalName:URI:"); - ffi.Pointer _objc_msgSend_1144( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer localName, - ffi.Pointer URI, - ) { - return __objc_msgSend_1144( - obj, - sel, - localName, - URI, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1143 = + __objc_msgSend_1143Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_addAttribute_1 = objc.registerName("addAttribute:"); + late final _sel_removeAttributeForName_1 = objc.registerName( + "removeAttributeForName:", + ); + late final _sel_attributes1 = objc.registerName("attributes"); + late final _sel_setAttributes_1 = objc.registerName("setAttributes:"); + late final _sel_setAttributesWithDictionary_1 = objc.registerName( + "setAttributesWithDictionary:", + ); + late final _sel_attributeForName_1 = objc.registerName("attributeForName:"); + late final _sel_attributeForLocalName_URI_1 = objc.registerName( + "attributeForLocalName:URI:", + ); + ffi.Pointer _objc_msgSend_1144( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer localName, + ffi.Pointer URI, + ) { + return __objc_msgSend_1144(obj, sel, localName, URI); } late final __objc_msgSend_1144Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1144 = __objc_msgSend_1144Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_addNamespace_1 = _registerName1("addNamespace:"); - late final _sel_removeNamespaceForPrefix_1 = - _registerName1("removeNamespaceForPrefix:"); - late final _sel_namespaces1 = _registerName1("namespaces"); - late final _sel_setNamespaces_1 = _registerName1("setNamespaces:"); - late final _sel_namespaceForPrefix_1 = _registerName1("namespaceForPrefix:"); - late final _sel_resolveNamespaceForName_1 = - _registerName1("resolveNamespaceForName:"); - late final _sel_resolvePrefixForNamespaceURI_1 = - _registerName1("resolvePrefixForNamespaceURI:"); - late final _sel_normalizeAdjacentTextNodesPreservingCDATA_1 = - _registerName1("normalizeAdjacentTextNodesPreservingCDATA:"); - late final _sel_setAttributesAsDictionary_1 = - _registerName1("setAttributesAsDictionary:"); - late final _class_SwiftClass1 = _getClass1("swift_module.SwiftClass"); - late final _sel_sayHello1 = _registerName1("sayHello"); - late final _sel_someField1 = _registerName1("someField"); - late final _sel_setSomeField_1 = _registerName1("setSomeField:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1144 = + __objc_msgSend_1144Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_addNamespace_1 = objc.registerName("addNamespace:"); + late final _sel_removeNamespaceForPrefix_1 = objc.registerName( + "removeNamespaceForPrefix:", + ); + late final _sel_namespaces1 = objc.registerName("namespaces"); + late final _sel_setNamespaces_1 = objc.registerName("setNamespaces:"); + late final _sel_namespaceForPrefix_1 = objc.registerName( + "namespaceForPrefix:", + ); + late final _sel_resolveNamespaceForName_1 = objc.registerName( + "resolveNamespaceForName:", + ); + late final _sel_resolvePrefixForNamespaceURI_1 = objc.registerName( + "resolvePrefixForNamespaceURI:", + ); + late final _sel_normalizeAdjacentTextNodesPreservingCDATA_1 = objc + .registerName("normalizeAdjacentTextNodesPreservingCDATA:"); + late final _sel_setAttributesAsDictionary_1 = objc.registerName( + "setAttributesAsDictionary:", + ); + late final _class_SwiftClass1 = objc.getClass("swift_module.SwiftClass"); + late final _sel_sayHello1 = objc.registerName("sayHello"); + late final _sel_someField1 = objc.registerName("someField"); + late final _sel_setSomeField_1 = objc.registerName("setSomeField:"); } -class _ObjCWrapper implements ffi.Finalizable { - final ffi.Pointer _id; - final SwiftLibrary _lib; - bool _pendingRelease; - - _ObjCWrapper._(this._id, this._lib, - {bool retain = false, bool release = false}) - : _pendingRelease = release { - if (retain) { - _lib._objc_retain(_id.cast()); - } - if (release) { - _lib._objc_releaseFinalizer2.attach(this, _id.cast(), detach: this); - } - } - - /// Releases the reference to the underlying ObjC object held by this wrapper. - /// Throws a StateError if this wrapper doesn't currently hold a reference. - void release() { - if (_pendingRelease) { - _pendingRelease = false; - _lib._objc_release(_id.cast()); - _lib._objc_releaseFinalizer2.detach(this); - } else { - throw StateError( - 'Released an ObjC object that was unowned or already released.'); - } - } - - @override - bool operator ==(Object other) { - return other is _ObjCWrapper && _id == other._id; - } - - @override - int get hashCode => _id.hashCode; - - /// Return a pointer to this object. - ffi.Pointer get pointer => _id; - - ffi.Pointer retainAndReturnPointer() { - _lib._objc_retain(_id.cast()); - return _id; - } -} +class NSObject extends objc.ObjCObjectBase { + NSObject._( + ffi.Pointer pointer, + this._lib, { + bool retain = false, + bool release = false, + }) : super(pointer, retain: retain, release: release); -class NSObject extends _ObjCWrapper { - NSObject._(ffi.Pointer id, SwiftLibrary lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + SwiftLibrary _lib; /// Returns a [NSObject] that points to the same underlying object as [other]. - static NSObject castFrom(T other) { - return NSObject._(other._id, other._lib, retain: true, release: true); + static NSObject castFrom( + SwiftLibrary lib, + T other, + ) { + return NSObject._(other.pointer, lib, retain: true, release: true); } /// Returns a [NSObject] that wraps the given raw object pointer. static NSObject castFromPointer( - SwiftLibrary lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + SwiftLibrary lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSObject._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSObject]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_NSObject1); + static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSObject1, + ); } static void load(SwiftLibrary _lib) { @@ -32495,7 +40770,7 @@ class NSObject extends _ObjCWrapper { } NSObject init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSObject._(_ret, _lib, retain: true, release: true); } @@ -32506,7 +40781,10 @@ class NSObject extends _ObjCWrapper { static NSObject allocWithZone_(SwiftLibrary _lib, ffi.Pointer<_NSZone> zone) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSObject1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSObject1, + _lib._sel_allocWithZone_1, + zone, + ); return NSObject._(_ret, _lib, retain: false, release: true); } @@ -32516,110 +40794,171 @@ class NSObject extends _ObjCWrapper { } void dealloc() { - _lib._objc_msgSend_1(_id, _lib._sel_dealloc1); + _lib._objc_msgSend_1(this.pointer, _lib._sel_dealloc1); } void finalize() { - _lib._objc_msgSend_1(_id, _lib._sel_finalize1); + _lib._objc_msgSend_1(this.pointer, _lib._sel_finalize1); } NSObject copy() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_copy1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_copy1); return NSObject._(_ret, _lib, retain: false, release: true); } NSObject mutableCopy() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_mutableCopy1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_mutableCopy1); return NSObject._(_ret, _lib, retain: false, release: true); } static NSObject copyWithZone_(SwiftLibrary _lib, ffi.Pointer<_NSZone> zone) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSObject1, _lib._sel_copyWithZone_1, zone); + _lib._class_NSObject1, + _lib._sel_copyWithZone_1, + zone, + ); return NSObject._(_ret, _lib, retain: false, release: true); } static NSObject mutableCopyWithZone_( - SwiftLibrary _lib, ffi.Pointer<_NSZone> zone) { + SwiftLibrary _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSObject1, _lib._sel_mutableCopyWithZone_1, zone); + _lib._class_NSObject1, + _lib._sel_mutableCopyWithZone_1, + zone, + ); return NSObject._(_ret, _lib, retain: false, release: true); } static bool instancesRespondToSelector_( - SwiftLibrary _lib, ffi.Pointer aSelector) { - return _lib._objc_msgSend_4(_lib._class_NSObject1, - _lib._sel_instancesRespondToSelector_1, aSelector); + SwiftLibrary _lib, + ffi.Pointer aSelector, + ) { + return _lib._objc_msgSend_4( + _lib._class_NSObject1, + _lib._sel_instancesRespondToSelector_1, + aSelector, + ); } static bool conformsToProtocol_(SwiftLibrary _lib, Protocol protocol) { return _lib._objc_msgSend_5( - _lib._class_NSObject1, _lib._sel_conformsToProtocol_1, protocol._id); + _lib._class_NSObject1, + _lib._sel_conformsToProtocol_1, + protocol.pointer, + ); } ffi.Pointer> methodForSelector_( - ffi.Pointer aSelector) { - return _lib._objc_msgSend_6(_id, _lib._sel_methodForSelector_1, aSelector); + ffi.Pointer aSelector, + ) { + return _lib._objc_msgSend_6( + this.pointer, + _lib._sel_methodForSelector_1, + aSelector, + ); } static ffi.Pointer> - instanceMethodForSelector_( - SwiftLibrary _lib, ffi.Pointer aSelector) { - return _lib._objc_msgSend_6(_lib._class_NSObject1, - _lib._sel_instanceMethodForSelector_1, aSelector); + instanceMethodForSelector_( + SwiftLibrary _lib, + ffi.Pointer aSelector, + ) { + return _lib._objc_msgSend_6( + _lib._class_NSObject1, + _lib._sel_instanceMethodForSelector_1, + aSelector, + ); } - void doesNotRecognizeSelector_(ffi.Pointer aSelector) { - _lib._objc_msgSend_7(_id, _lib._sel_doesNotRecognizeSelector_1, aSelector); + void doesNotRecognizeSelector_(ffi.Pointer aSelector) { + _lib._objc_msgSend_7( + this.pointer, + _lib._sel_doesNotRecognizeSelector_1, + aSelector, + ); } - NSObject forwardingTargetForSelector_(ffi.Pointer aSelector) { + NSObject forwardingTargetForSelector_( + ffi.Pointer aSelector, + ) { final _ret = _lib._objc_msgSend_8( - _id, _lib._sel_forwardingTargetForSelector_1, aSelector); + this.pointer, + _lib._sel_forwardingTargetForSelector_1, + aSelector, + ); return NSObject._(_ret, _lib, retain: true, release: true); } void forwardInvocation_(NSInvocation anInvocation) { _lib._objc_msgSend_421( - _id, _lib._sel_forwardInvocation_1, anInvocation._id); + this.pointer, + _lib._sel_forwardInvocation_1, + anInvocation.pointer, + ); } NSMethodSignature methodSignatureForSelector_( - ffi.Pointer aSelector) { + ffi.Pointer aSelector, + ) { final _ret = _lib._objc_msgSend_422( - _id, _lib._sel_methodSignatureForSelector_1, aSelector); + this.pointer, + _lib._sel_methodSignatureForSelector_1, + aSelector, + ); return NSMethodSignature._(_ret, _lib, retain: true, release: true); } static NSMethodSignature instanceMethodSignatureForSelector_( - SwiftLibrary _lib, ffi.Pointer aSelector) { - final _ret = _lib._objc_msgSend_422(_lib._class_NSObject1, - _lib._sel_instanceMethodSignatureForSelector_1, aSelector); + SwiftLibrary _lib, + ffi.Pointer aSelector, + ) { + final _ret = _lib._objc_msgSend_422( + _lib._class_NSObject1, + _lib._sel_instanceMethodSignatureForSelector_1, + aSelector, + ); return NSMethodSignature._(_ret, _lib, retain: true, release: true); } bool allowsWeakReference() { - return _lib._objc_msgSend_12(_id, _lib._sel_allowsWeakReference1); + return _lib._objc_msgSend_12(this.pointer, _lib._sel_allowsWeakReference1); } bool retainWeakReference() { - return _lib._objc_msgSend_12(_id, _lib._sel_retainWeakReference1); + return _lib._objc_msgSend_12(this.pointer, _lib._sel_retainWeakReference1); } static bool isSubclassOfClass_(SwiftLibrary _lib, NSObject aClass) { return _lib._objc_msgSend_0( - _lib._class_NSObject1, _lib._sel_isSubclassOfClass_1, aClass._id); + _lib._class_NSObject1, + _lib._sel_isSubclassOfClass_1, + aClass.pointer, + ); } - static bool resolveClassMethod_(SwiftLibrary _lib, ffi.Pointer sel) { + static bool resolveClassMethod_( + SwiftLibrary _lib, + ffi.Pointer sel, + ) { return _lib._objc_msgSend_4( - _lib._class_NSObject1, _lib._sel_resolveClassMethod_1, sel); + _lib._class_NSObject1, + _lib._sel_resolveClassMethod_1, + sel, + ); } static bool resolveInstanceMethod_( - SwiftLibrary _lib, ffi.Pointer sel) { + SwiftLibrary _lib, + ffi.Pointer sel, + ) { return _lib._objc_msgSend_4( - _lib._class_NSObject1, _lib._sel_resolveInstanceMethod_1, sel); + _lib._class_NSObject1, + _lib._sel_resolveInstanceMethod_1, + sel, + ); } static int hash(SwiftLibrary _lib) { @@ -32627,8 +40966,10 @@ class NSObject extends _ObjCWrapper { } static NSObject superclass(SwiftLibrary _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSObject1, _lib._sel_superclass1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSObject1, + _lib._sel_superclass1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } @@ -32638,14 +40979,18 @@ class NSObject extends _ObjCWrapper { } static NSString description(SwiftLibrary _lib) { - final _ret = - _lib._objc_msgSend_21(_lib._class_NSObject1, _lib._sel_description1); + final _ret = _lib._objc_msgSend_21( + _lib._class_NSObject1, + _lib._sel_description1, + ); return NSString._(_ret, _lib, retain: true, release: true); } static NSString debugDescription(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_21( - _lib._class_NSObject1, _lib._sel_debugDescription1); + _lib._class_NSObject1, + _lib._sel_debugDescription1, + ); return NSString._(_ret, _lib, retain: true, release: true); } @@ -32655,25 +41000,34 @@ class NSObject extends _ObjCWrapper { static void setVersion_(SwiftLibrary _lib, int aVersion) { _lib._objc_msgSend_423( - _lib._class_NSObject1, _lib._sel_setVersion_1, aVersion); + _lib._class_NSObject1, + _lib._sel_setVersion_1, + aVersion, + ); } NSObject get classForCoder { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_classForCoder1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_classForCoder1); return NSObject._(_ret, _lib, retain: true, release: true); } NSObject? replacementObjectForCoder_(NSCoder coder) { final _ret = _lib._objc_msgSend_47( - _id, _lib._sel_replacementObjectForCoder_1, coder._id); + this.pointer, + _lib._sel_replacementObjectForCoder_1, + coder.pointer, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } NSObject? awakeAfterUsingCoder_(NSCoder coder) { - final _ret = - _lib._objc_msgSend_47(_id, _lib._sel_awakeAfterUsingCoder_1, coder._id); + final _ret = _lib._objc_msgSend_47( + this.pointer, + _lib._sel_awakeAfterUsingCoder_1, + coder.pointer, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: false, release: true); @@ -32681,125 +41035,175 @@ class NSObject extends _ObjCWrapper { static void poseAsClass_(SwiftLibrary _lib, NSObject aClass) { _lib._objc_msgSend_15( - _lib._class_NSObject1, _lib._sel_poseAsClass_1, aClass._id); + _lib._class_NSObject1, + _lib._sel_poseAsClass_1, + aClass.pointer, + ); } NSObject get autoContentAccessingProxy { - final _ret = - _lib._objc_msgSend_2(_id, _lib._sel_autoContentAccessingProxy1); + final _ret = _lib._objc_msgSend_2( + this.pointer, + _lib._sel_autoContentAccessingProxy1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } void - attemptRecoveryFromError_optionIndex_delegate_didRecoverSelector_contextInfo_( - NSError error, - int recoveryOptionIndex, - NSObject? delegate, - ffi.Pointer didRecoverSelector, - ffi.Pointer contextInfo) { + attemptRecoveryFromError_optionIndex_delegate_didRecoverSelector_contextInfo_( + NSError error, + int recoveryOptionIndex, + NSObject? delegate, + ffi.Pointer didRecoverSelector, + ffi.Pointer contextInfo, + ) { _lib._objc_msgSend_424( - _id, - _lib._sel_attemptRecoveryFromError_optionIndex_delegate_didRecoverSelector_contextInfo_1, - error._id, - recoveryOptionIndex, - delegate?._id ?? ffi.nullptr, - didRecoverSelector, - contextInfo); + this.pointer, + _lib._sel_attemptRecoveryFromError_optionIndex_delegate_didRecoverSelector_contextInfo_1, + error.pointer, + recoveryOptionIndex, + delegate?.pointer ?? ffi.nullptr, + didRecoverSelector, + contextInfo, + ); } bool attemptRecoveryFromError_optionIndex_( - NSError error, int recoveryOptionIndex) { + NSError error, + int recoveryOptionIndex, + ) { return _lib._objc_msgSend_425( - _id, - _lib._sel_attemptRecoveryFromError_optionIndex_1, - error._id, - recoveryOptionIndex); + this.pointer, + _lib._sel_attemptRecoveryFromError_optionIndex_1, + error.pointer, + recoveryOptionIndex, + ); } void performSelector_withObject_afterDelay_inModes_( - ffi.Pointer aSelector, - NSObject? anArgument, - double delay, - NSArray modes) { + ffi.Pointer aSelector, + NSObject? anArgument, + double delay, + NSArray modes, + ) { _lib._objc_msgSend_426( - _id, - _lib._sel_performSelector_withObject_afterDelay_inModes_1, - aSelector, - anArgument?._id ?? ffi.nullptr, - delay, - modes._id); + this.pointer, + _lib._sel_performSelector_withObject_afterDelay_inModes_1, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + delay, + modes.pointer, + ); } void performSelector_withObject_afterDelay_( - ffi.Pointer aSelector, NSObject? anArgument, double delay) { + ffi.Pointer aSelector, + NSObject? anArgument, + double delay, + ) { _lib._objc_msgSend_427( - _id, - _lib._sel_performSelector_withObject_afterDelay_1, - aSelector, - anArgument?._id ?? ffi.nullptr, - delay); + this.pointer, + _lib._sel_performSelector_withObject_afterDelay_1, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + delay, + ); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + SwiftLibrary _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSObject1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSObject1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSObject1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + SwiftLibrary _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSObject1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } void URL_resourceDataDidBecomeAvailable_(NSURL sender, NSData newBytes) { - _lib._objc_msgSend_428(_id, _lib._sel_URL_resourceDataDidBecomeAvailable_1, - sender._id, newBytes._id); + _lib._objc_msgSend_428( + this.pointer, + _lib._sel_URL_resourceDataDidBecomeAvailable_1, + sender.pointer, + newBytes.pointer, + ); } void URLResourceDidFinishLoading_(NSURL sender) { _lib._objc_msgSend_429( - _id, _lib._sel_URLResourceDidFinishLoading_1, sender._id); + this.pointer, + _lib._sel_URLResourceDidFinishLoading_1, + sender.pointer, + ); } void URLResourceDidCancelLoading_(NSURL sender) { _lib._objc_msgSend_429( - _id, _lib._sel_URLResourceDidCancelLoading_1, sender._id); + this.pointer, + _lib._sel_URLResourceDidCancelLoading_1, + sender.pointer, + ); } void URL_resourceDidFailLoadingWithReason_(NSURL sender, NSString reason) { _lib._objc_msgSend_430( - _id, - _lib._sel_URL_resourceDidFailLoadingWithReason_1, - sender._id, - reason._id); + this.pointer, + _lib._sel_URL_resourceDidFailLoadingWithReason_1, + sender.pointer, + reason.pointer, + ); } bool fileManager_shouldProceedAfterError_( - NSFileManager fm, NSDictionary errorInfo) { - return _lib._objc_msgSend_467(_id, - _lib._sel_fileManager_shouldProceedAfterError_1, fm._id, errorInfo._id); + NSFileManager fm, + NSDictionary errorInfo, + ) { + return _lib._objc_msgSend_467( + this.pointer, + _lib._sel_fileManager_shouldProceedAfterError_1, + fm.pointer, + errorInfo.pointer, + ); } void fileManager_willProcessPath_(NSFileManager fm, NSString path) { _lib._objc_msgSend_468( - _id, _lib._sel_fileManager_willProcessPath_1, fm._id, path._id); + this.pointer, + _lib._sel_fileManager_willProcessPath_1, + fm.pointer, + path.pointer, + ); } static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { return _lib._objc_msgSend_12( - _lib._class_NSObject1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_NSObject1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } NSObject? valueForKey_(NSString key) { - final _ret = _lib._objc_msgSend_38(_id, _lib._sel_valueForKey_1, key._id); + final _ret = _lib._objc_msgSend_38( + this.pointer, + _lib._sel_valueForKey_1, + key.pointer, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); @@ -32807,265 +41211,430 @@ class NSObject extends _ObjCWrapper { void setValue_forKey_(NSObject? value, NSString key) { _lib._objc_msgSend_135( - _id, _lib._sel_setValue_forKey_1, value?._id ?? ffi.nullptr, key._id); + this.pointer, + _lib._sel_setValue_forKey_1, + value?.pointer ?? ffi.nullptr, + key.pointer, + ); } - bool validateValue_forKey_error_(ffi.Pointer> ioValue, - NSString inKey, ffi.Pointer> outError) { - return _lib._objc_msgSend_243(_id, _lib._sel_validateValue_forKey_error_1, - ioValue, inKey._id, outError); + bool validateValue_forKey_error_( + ffi.Pointer> ioValue, + NSString inKey, + ffi.Pointer> outError, + ) { + return _lib._objc_msgSend_243( + this.pointer, + _lib._sel_validateValue_forKey_error_1, + ioValue, + inKey.pointer, + outError, + ); } NSMutableArray mutableArrayValueForKey_(NSString key) { final _ret = _lib._objc_msgSend_488( - _id, _lib._sel_mutableArrayValueForKey_1, key._id); + this.pointer, + _lib._sel_mutableArrayValueForKey_1, + key.pointer, + ); return NSMutableArray._(_ret, _lib, retain: true, release: true); } NSMutableOrderedSet mutableOrderedSetValueForKey_(NSString key) { final _ret = _lib._objc_msgSend_506( - _id, _lib._sel_mutableOrderedSetValueForKey_1, key._id); + this.pointer, + _lib._sel_mutableOrderedSetValueForKey_1, + key.pointer, + ); return NSMutableOrderedSet._(_ret, _lib, retain: true, release: true); } NSMutableSet mutableSetValueForKey_(NSString key) { - final _ret = - _lib._objc_msgSend_507(_id, _lib._sel_mutableSetValueForKey_1, key._id); + final _ret = _lib._objc_msgSend_507( + this.pointer, + _lib._sel_mutableSetValueForKey_1, + key.pointer, + ); return NSMutableSet._(_ret, _lib, retain: true, release: true); } NSObject? valueForKeyPath_(NSString keyPath) { - final _ret = - _lib._objc_msgSend_38(_id, _lib._sel_valueForKeyPath_1, keyPath._id); + final _ret = _lib._objc_msgSend_38( + this.pointer, + _lib._sel_valueForKeyPath_1, + keyPath.pointer, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } void setValue_forKeyPath_(NSObject? value, NSString keyPath) { - _lib._objc_msgSend_135(_id, _lib._sel_setValue_forKeyPath_1, - value?._id ?? ffi.nullptr, keyPath._id); + _lib._objc_msgSend_135( + this.pointer, + _lib._sel_setValue_forKeyPath_1, + value?.pointer ?? ffi.nullptr, + keyPath.pointer, + ); } bool validateValue_forKeyPath_error_( - ffi.Pointer> ioValue, - NSString inKeyPath, - ffi.Pointer> outError) { + ffi.Pointer> ioValue, + NSString inKeyPath, + ffi.Pointer> outError, + ) { return _lib._objc_msgSend_243( - _id, - _lib._sel_validateValue_forKeyPath_error_1, - ioValue, - inKeyPath._id, - outError); + this.pointer, + _lib._sel_validateValue_forKeyPath_error_1, + ioValue, + inKeyPath.pointer, + outError, + ); } NSMutableArray mutableArrayValueForKeyPath_(NSString keyPath) { final _ret = _lib._objc_msgSend_488( - _id, _lib._sel_mutableArrayValueForKeyPath_1, keyPath._id); + this.pointer, + _lib._sel_mutableArrayValueForKeyPath_1, + keyPath.pointer, + ); return NSMutableArray._(_ret, _lib, retain: true, release: true); } NSMutableOrderedSet mutableOrderedSetValueForKeyPath_(NSString keyPath) { final _ret = _lib._objc_msgSend_506( - _id, _lib._sel_mutableOrderedSetValueForKeyPath_1, keyPath._id); + this.pointer, + _lib._sel_mutableOrderedSetValueForKeyPath_1, + keyPath.pointer, + ); return NSMutableOrderedSet._(_ret, _lib, retain: true, release: true); } NSMutableSet mutableSetValueForKeyPath_(NSString keyPath) { final _ret = _lib._objc_msgSend_507( - _id, _lib._sel_mutableSetValueForKeyPath_1, keyPath._id); + this.pointer, + _lib._sel_mutableSetValueForKeyPath_1, + keyPath.pointer, + ); return NSMutableSet._(_ret, _lib, retain: true, release: true); } NSObject? valueForUndefinedKey_(NSString key) { - final _ret = - _lib._objc_msgSend_38(_id, _lib._sel_valueForUndefinedKey_1, key._id); + final _ret = _lib._objc_msgSend_38( + this.pointer, + _lib._sel_valueForUndefinedKey_1, + key.pointer, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } void setValue_forUndefinedKey_(NSObject? value, NSString key) { - _lib._objc_msgSend_135(_id, _lib._sel_setValue_forUndefinedKey_1, - value?._id ?? ffi.nullptr, key._id); + _lib._objc_msgSend_135( + this.pointer, + _lib._sel_setValue_forUndefinedKey_1, + value?.pointer ?? ffi.nullptr, + key.pointer, + ); } void setNilValueForKey_(NSString key) { - _lib._objc_msgSend_247(_id, _lib._sel_setNilValueForKey_1, key._id); + _lib._objc_msgSend_247( + this.pointer, + _lib._sel_setNilValueForKey_1, + key.pointer, + ); } NSDictionary dictionaryWithValuesForKeys_(NSArray keys) { final _ret = _lib._objc_msgSend_508( - _id, _lib._sel_dictionaryWithValuesForKeys_1, keys._id); + this.pointer, + _lib._sel_dictionaryWithValuesForKeys_1, + keys.pointer, + ); return NSDictionary._(_ret, _lib, retain: true, release: true); } void setValuesForKeysWithDictionary_(NSDictionary keyedValues) { _lib._objc_msgSend_509( - _id, _lib._sel_setValuesForKeysWithDictionary_1, keyedValues._id); + this.pointer, + _lib._sel_setValuesForKeysWithDictionary_1, + keyedValues.pointer, + ); } static bool useStoredAccessor(SwiftLibrary _lib) { return _lib._objc_msgSend_12( - _lib._class_NSObject1, _lib._sel_useStoredAccessor1); + _lib._class_NSObject1, + _lib._sel_useStoredAccessor1, + ); } NSObject? storedValueForKey_(NSString key) { - final _ret = - _lib._objc_msgSend_38(_id, _lib._sel_storedValueForKey_1, key._id); + final _ret = _lib._objc_msgSend_38( + this.pointer, + _lib._sel_storedValueForKey_1, + key.pointer, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } void takeStoredValue_forKey_(NSObject? value, NSString key) { - _lib._objc_msgSend_135(_id, _lib._sel_takeStoredValue_forKey_1, - value?._id ?? ffi.nullptr, key._id); + _lib._objc_msgSend_135( + this.pointer, + _lib._sel_takeStoredValue_forKey_1, + value?.pointer ?? ffi.nullptr, + key.pointer, + ); } void takeValue_forKey_(NSObject? value, NSString key) { _lib._objc_msgSend_135( - _id, _lib._sel_takeValue_forKey_1, value?._id ?? ffi.nullptr, key._id); + this.pointer, + _lib._sel_takeValue_forKey_1, + value?.pointer ?? ffi.nullptr, + key.pointer, + ); } void takeValue_forKeyPath_(NSObject? value, NSString keyPath) { - _lib._objc_msgSend_135(_id, _lib._sel_takeValue_forKeyPath_1, - value?._id ?? ffi.nullptr, keyPath._id); + _lib._objc_msgSend_135( + this.pointer, + _lib._sel_takeValue_forKeyPath_1, + value?.pointer ?? ffi.nullptr, + keyPath.pointer, + ); } NSObject? handleQueryWithUnboundKey_(NSString key) { final _ret = _lib._objc_msgSend_38( - _id, _lib._sel_handleQueryWithUnboundKey_1, key._id); + this.pointer, + _lib._sel_handleQueryWithUnboundKey_1, + key.pointer, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } void handleTakeValue_forUnboundKey_(NSObject? value, NSString key) { - _lib._objc_msgSend_135(_id, _lib._sel_handleTakeValue_forUnboundKey_1, - value?._id ?? ffi.nullptr, key._id); + _lib._objc_msgSend_135( + this.pointer, + _lib._sel_handleTakeValue_forUnboundKey_1, + value?.pointer ?? ffi.nullptr, + key.pointer, + ); } void unableToSetNilForKey_(NSString key) { - _lib._objc_msgSend_247(_id, _lib._sel_unableToSetNilForKey_1, key._id); + _lib._objc_msgSend_247( + this.pointer, + _lib._sel_unableToSetNilForKey_1, + key.pointer, + ); } NSDictionary valuesForKeys_(NSArray keys) { - final _ret = - _lib._objc_msgSend_508(_id, _lib._sel_valuesForKeys_1, keys._id); + final _ret = _lib._objc_msgSend_508( + this.pointer, + _lib._sel_valuesForKeys_1, + keys.pointer, + ); return NSDictionary._(_ret, _lib, retain: true, release: true); } void takeValuesFromDictionary_(NSDictionary properties) { _lib._objc_msgSend_509( - _id, _lib._sel_takeValuesFromDictionary_1, properties._id); + this.pointer, + _lib._sel_takeValuesFromDictionary_1, + properties.pointer, + ); } - void observeValueForKeyPath_ofObject_change_context_(NSString? keyPath, - NSObject? object, NSDictionary? change, ffi.Pointer context) { + void observeValueForKeyPath_ofObject_change_context_( + NSString? keyPath, + NSObject? object, + NSDictionary? change, + ffi.Pointer context, + ) { _lib._objc_msgSend_510( - _id, - _lib._sel_observeValueForKeyPath_ofObject_change_context_1, - keyPath?._id ?? ffi.nullptr, - object?._id ?? ffi.nullptr, - change?._id ?? ffi.nullptr, - context); + this.pointer, + _lib._sel_observeValueForKeyPath_ofObject_change_context_1, + keyPath?.pointer ?? ffi.nullptr, + object?.pointer ?? ffi.nullptr, + change?.pointer ?? ffi.nullptr, + context, + ); } - void addObserver_forKeyPath_options_context_(NSObject observer, - NSString keyPath, int options, ffi.Pointer context) { + void addObserver_forKeyPath_options_context_( + NSObject observer, + NSString keyPath, + int options, + ffi.Pointer context, + ) { _lib._objc_msgSend_139( - _id, - _lib._sel_addObserver_forKeyPath_options_context_1, - observer._id, - keyPath._id, - options, - context); + this.pointer, + _lib._sel_addObserver_forKeyPath_options_context_1, + observer.pointer, + keyPath.pointer, + options, + context, + ); } void removeObserver_forKeyPath_context_( - NSObject observer, NSString keyPath, ffi.Pointer context) { - _lib._objc_msgSend_140(_id, _lib._sel_removeObserver_forKeyPath_context_1, - observer._id, keyPath._id, context); + NSObject observer, + NSString keyPath, + ffi.Pointer context, + ) { + _lib._objc_msgSend_140( + this.pointer, + _lib._sel_removeObserver_forKeyPath_context_1, + observer.pointer, + keyPath.pointer, + context, + ); } void removeObserver_forKeyPath_(NSObject observer, NSString keyPath) { _lib._objc_msgSend_141( - _id, _lib._sel_removeObserver_forKeyPath_1, observer._id, keyPath._id); + this.pointer, + _lib._sel_removeObserver_forKeyPath_1, + observer.pointer, + keyPath.pointer, + ); } void willChangeValueForKey_(NSString key) { - _lib._objc_msgSend_247(_id, _lib._sel_willChangeValueForKey_1, key._id); + _lib._objc_msgSend_247( + this.pointer, + _lib._sel_willChangeValueForKey_1, + key.pointer, + ); } void didChangeValueForKey_(NSString key) { - _lib._objc_msgSend_247(_id, _lib._sel_didChangeValueForKey_1, key._id); + _lib._objc_msgSend_247( + this.pointer, + _lib._sel_didChangeValueForKey_1, + key.pointer, + ); } void willChange_valuesAtIndexes_forKey_( - int changeKind, NSIndexSet indexes, NSString key) { - _lib._objc_msgSend_511(_id, _lib._sel_willChange_valuesAtIndexes_forKey_1, - changeKind, indexes._id, key._id); + int changeKind, + NSIndexSet indexes, + NSString key, + ) { + _lib._objc_msgSend_511( + this.pointer, + _lib._sel_willChange_valuesAtIndexes_forKey_1, + changeKind, + indexes.pointer, + key.pointer, + ); } void didChange_valuesAtIndexes_forKey_( - int changeKind, NSIndexSet indexes, NSString key) { - _lib._objc_msgSend_511(_id, _lib._sel_didChange_valuesAtIndexes_forKey_1, - changeKind, indexes._id, key._id); + int changeKind, + NSIndexSet indexes, + NSString key, + ) { + _lib._objc_msgSend_511( + this.pointer, + _lib._sel_didChange_valuesAtIndexes_forKey_1, + changeKind, + indexes.pointer, + key.pointer, + ); } void willChangeValueForKey_withSetMutation_usingObjects_( - NSString key, int mutationKind, NSSet objects) { + NSString key, + int mutationKind, + NSSet objects, + ) { _lib._objc_msgSend_512( - _id, - _lib._sel_willChangeValueForKey_withSetMutation_usingObjects_1, - key._id, - mutationKind, - objects._id); + this.pointer, + _lib._sel_willChangeValueForKey_withSetMutation_usingObjects_1, + key.pointer, + mutationKind, + objects.pointer, + ); } void didChangeValueForKey_withSetMutation_usingObjects_( - NSString key, int mutationKind, NSSet objects) { + NSString key, + int mutationKind, + NSSet objects, + ) { _lib._objc_msgSend_512( - _id, - _lib._sel_didChangeValueForKey_withSetMutation_usingObjects_1, - key._id, - mutationKind, - objects._id); + this.pointer, + _lib._sel_didChangeValueForKey_withSetMutation_usingObjects_1, + key.pointer, + mutationKind, + objects.pointer, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSObject1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSObject1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSObject1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSObject1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } ffi.Pointer get observationInfo { - return _lib._objc_msgSend_20(_id, _lib._sel_observationInfo1); + return _lib._objc_msgSend_20(this.pointer, _lib._sel_observationInfo1); } set observationInfo(ffi.Pointer value) { - return _lib._objc_msgSend_513(_id, _lib._sel_setObservationInfo_1, value); + return _lib._objc_msgSend_513( + this.pointer, + _lib._sel_setObservationInfo_1, + value, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, NSArray keys, NSString dependentKey) { + SwiftLibrary _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSObject1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSObject1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } NSObject? get classForKeyedArchiver { - final _ret = _lib._objc_msgSend_17(_id, _lib._sel_classForKeyedArchiver1); + final _ret = _lib._objc_msgSend_17( + this.pointer, + _lib._sel_classForKeyedArchiver1, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); @@ -33073,7 +41642,10 @@ class NSObject extends _ObjCWrapper { NSObject? replacementObjectForKeyedArchiver_(NSKeyedArchiver archiver) { final _ret = _lib._objc_msgSend_528( - _id, _lib._sel_replacementObjectForKeyedArchiver_1, archiver._id); + this.pointer, + _lib._sel_replacementObjectForKeyedArchiver_1, + archiver.pointer, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); @@ -33081,78 +41653,101 @@ class NSObject extends _ObjCWrapper { static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_85( - _lib._class_NSObject1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSObject1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSObject1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSObject1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } void performSelectorOnMainThread_withObject_waitUntilDone_modes_( - ffi.Pointer aSelector, - NSObject? arg, - bool wait, - NSArray? array) { + ffi.Pointer aSelector, + NSObject? arg, + bool wait, + NSArray? array, + ) { _lib._objc_msgSend_529( - _id, - _lib._sel_performSelectorOnMainThread_withObject_waitUntilDone_modes_1, - aSelector, - arg?._id ?? ffi.nullptr, - wait, - array?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_performSelectorOnMainThread_withObject_waitUntilDone_modes_1, + aSelector, + arg?.pointer ?? ffi.nullptr, + wait, + array?.pointer ?? ffi.nullptr, + ); } void performSelectorOnMainThread_withObject_waitUntilDone_( - ffi.Pointer aSelector, NSObject? arg, bool wait) { + ffi.Pointer aSelector, + NSObject? arg, + bool wait, + ) { _lib._objc_msgSend_530( - _id, - _lib._sel_performSelectorOnMainThread_withObject_waitUntilDone_1, - aSelector, - arg?._id ?? ffi.nullptr, - wait); + this.pointer, + _lib._sel_performSelectorOnMainThread_withObject_waitUntilDone_1, + aSelector, + arg?.pointer ?? ffi.nullptr, + wait, + ); } void performSelector_onThread_withObject_waitUntilDone_modes_( - ffi.Pointer aSelector, - NSThread thr, - NSObject? arg, - bool wait, - NSArray? array) { + ffi.Pointer aSelector, + NSThread thr, + NSObject? arg, + bool wait, + NSArray? array, + ) { _lib._objc_msgSend_548( - _id, - _lib._sel_performSelector_onThread_withObject_waitUntilDone_modes_1, - aSelector, - thr._id, - arg?._id ?? ffi.nullptr, - wait, - array?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_performSelector_onThread_withObject_waitUntilDone_modes_1, + aSelector, + thr.pointer, + arg?.pointer ?? ffi.nullptr, + wait, + array?.pointer ?? ffi.nullptr, + ); } void performSelector_onThread_withObject_waitUntilDone_( - ffi.Pointer aSelector, NSThread thr, NSObject? arg, bool wait) { + ffi.Pointer aSelector, + NSThread thr, + NSObject? arg, + bool wait, + ) { _lib._objc_msgSend_549( - _id, - _lib._sel_performSelector_onThread_withObject_waitUntilDone_1, - aSelector, - thr._id, - arg?._id ?? ffi.nullptr, - wait); + this.pointer, + _lib._sel_performSelector_onThread_withObject_waitUntilDone_1, + aSelector, + thr.pointer, + arg?.pointer ?? ffi.nullptr, + wait, + ); } void performSelectorInBackground_withObject_( - ffi.Pointer aSelector, NSObject? arg) { + ffi.Pointer aSelector, + NSObject? arg, + ) { _lib._objc_msgSend_90( - _id, - _lib._sel_performSelectorInBackground_withObject_1, - aSelector, - arg?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_performSelectorInBackground_withObject_1, + aSelector, + arg?.pointer ?? ffi.nullptr, + ); } NSObject? get classForArchiver { - final _ret = _lib._objc_msgSend_17(_id, _lib._sel_classForArchiver1); + final _ret = _lib._objc_msgSend_17( + this.pointer, + _lib._sel_classForArchiver1, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); @@ -33160,64 +41755,92 @@ class NSObject extends _ObjCWrapper { NSObject? replacementObjectForArchiver_(NSArchiver archiver) { final _ret = _lib._objc_msgSend_552( - _id, _lib._sel_replacementObjectForArchiver_1, archiver._id); + this.pointer, + _lib._sel_replacementObjectForArchiver_1, + archiver.pointer, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } NSObject get classForPortCoder { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_classForPortCoder1); + final _ret = _lib._objc_msgSend_2( + this.pointer, + _lib._sel_classForPortCoder1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } NSObject? replacementObjectForPortCoder_(NSPortCoder coder) { final _ret = _lib._objc_msgSend_597( - _id, _lib._sel_replacementObjectForPortCoder_1, coder._id); + this.pointer, + _lib._sel_replacementObjectForPortCoder_1, + coder.pointer, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } NSClassDescription get classDescription { - final _ret = _lib._objc_msgSend_600(_id, _lib._sel_classDescription1); + final _ret = _lib._objc_msgSend_600( + this.pointer, + _lib._sel_classDescription1, + ); return NSClassDescription._(_ret, _lib, retain: true, release: true); } NSArray get attributeKeys { - final _ret = _lib._objc_msgSend_85(_id, _lib._sel_attributeKeys1); + final _ret = _lib._objc_msgSend_85(this.pointer, _lib._sel_attributeKeys1); return NSArray._(_ret, _lib, retain: true, release: true); } NSArray get toOneRelationshipKeys { - final _ret = _lib._objc_msgSend_85(_id, _lib._sel_toOneRelationshipKeys1); + final _ret = _lib._objc_msgSend_85( + this.pointer, + _lib._sel_toOneRelationshipKeys1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } NSArray get toManyRelationshipKeys { - final _ret = _lib._objc_msgSend_85(_id, _lib._sel_toManyRelationshipKeys1); + final _ret = _lib._objc_msgSend_85( + this.pointer, + _lib._sel_toManyRelationshipKeys1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } NSString? inverseForRelationshipKey_(NSString relationshipKey) { final _ret = _lib._objc_msgSend_186( - _id, _lib._sel_inverseForRelationshipKey_1, relationshipKey._id); + this.pointer, + _lib._sel_inverseForRelationshipKey_1, + relationshipKey.pointer, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } NSObject? scriptingValueForSpecifier_( - NSScriptObjectSpecifier objectSpecifier) { + NSScriptObjectSpecifier objectSpecifier, + ) { final _ret = _lib._objc_msgSend_649( - _id, _lib._sel_scriptingValueForSpecifier_1, objectSpecifier._id); + this.pointer, + _lib._sel_scriptingValueForSpecifier_1, + objectSpecifier.pointer, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } NSDictionary? get scriptingProperties { - final _ret = _lib._objc_msgSend_390(_id, _lib._sel_scriptingProperties1); + final _ret = _lib._objc_msgSend_390( + this.pointer, + _lib._sel_scriptingProperties1, + ); return _ret.address == 0 ? null : NSDictionary._(_ret, _lib, retain: true, release: true); @@ -33225,46 +41848,55 @@ class NSObject extends _ObjCWrapper { set scriptingProperties(NSDictionary? value) { return _lib._objc_msgSend_634( - _id, _lib._sel_setScriptingProperties_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setScriptingProperties_1, + value?.pointer ?? ffi.nullptr, + ); } NSObject? copyScriptingValue_forKey_withProperties_( - NSObject value, NSString key, NSDictionary properties) { + NSObject value, + NSString key, + NSDictionary properties, + ) { final _ret = _lib._objc_msgSend_650( - _id, - _lib._sel_copyScriptingValue_forKey_withProperties_1, - value._id, - key._id, - properties._id); + this.pointer, + _lib._sel_copyScriptingValue_forKey_withProperties_1, + value.pointer, + key.pointer, + properties.pointer, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: false, release: true); } NSObject? - newScriptingObjectOfClass_forValueForKey_withContentsValue_properties_( - NSObject objectClass, - NSString key, - NSObject? contentsValue, - NSDictionary properties) { + newScriptingObjectOfClass_forValueForKey_withContentsValue_properties_( + NSObject objectClass, + NSString key, + NSObject? contentsValue, + NSDictionary properties, + ) { final _ret = _lib._objc_msgSend_651( - _id, - _lib._sel_newScriptingObjectOfClass_forValueForKey_withContentsValue_properties_1, - objectClass._id, - key._id, - contentsValue?._id ?? ffi.nullptr, - properties._id); + this.pointer, + _lib._sel_newScriptingObjectOfClass_forValueForKey_withContentsValue_properties_1, + objectClass.pointer, + key.pointer, + contentsValue?.pointer ?? ffi.nullptr, + properties.pointer, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: false, release: true); } int get classCode { - return _lib._objc_msgSend_214(_id, _lib._sel_classCode1); + return _lib._objc_msgSend_214(this.pointer, _lib._sel_classCode1); } NSString? get className { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_className1); + final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_className1); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); @@ -33272,7 +41904,11 @@ class NSObject extends _ObjCWrapper { NSObject? valueAtIndex_inPropertyWithKey_(int index, NSString key) { final _ret = _lib._objc_msgSend_652( - _id, _lib._sel_valueAtIndex_inPropertyWithKey_1, index, key._id); + this.pointer, + _lib._sel_valueAtIndex_inPropertyWithKey_1, + index, + key.pointer, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); @@ -33280,70 +41916,107 @@ class NSObject extends _ObjCWrapper { NSObject? valueWithName_inPropertyWithKey_(NSString name, NSString key) { final _ret = _lib._objc_msgSend_175( - _id, _lib._sel_valueWithName_inPropertyWithKey_1, name._id, key._id); + this.pointer, + _lib._sel_valueWithName_inPropertyWithKey_1, + name.pointer, + key.pointer, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } NSObject? valueWithUniqueID_inPropertyWithKey_( - NSObject uniqueID, NSString key) { - final _ret = _lib._objc_msgSend_311(_id, - _lib._sel_valueWithUniqueID_inPropertyWithKey_1, uniqueID._id, key._id); + NSObject uniqueID, + NSString key, + ) { + final _ret = _lib._objc_msgSend_311( + this.pointer, + _lib._sel_valueWithUniqueID_inPropertyWithKey_1, + uniqueID.pointer, + key.pointer, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } void insertValue_atIndex_inPropertyWithKey_( - NSObject value, int index, NSString key) { + NSObject value, + int index, + NSString key, + ) { _lib._objc_msgSend_653( - _id, - _lib._sel_insertValue_atIndex_inPropertyWithKey_1, - value._id, - index, - key._id); + this.pointer, + _lib._sel_insertValue_atIndex_inPropertyWithKey_1, + value.pointer, + index, + key.pointer, + ); } void removeValueAtIndex_fromPropertyWithKey_(int index, NSString key) { - _lib._objc_msgSend_654(_id, - _lib._sel_removeValueAtIndex_fromPropertyWithKey_1, index, key._id); + _lib._objc_msgSend_654( + this.pointer, + _lib._sel_removeValueAtIndex_fromPropertyWithKey_1, + index, + key.pointer, + ); } void replaceValueAtIndex_inPropertyWithKey_withValue_( - int index, NSString key, NSObject value) { + int index, + NSString key, + NSObject value, + ) { _lib._objc_msgSend_655( - _id, - _lib._sel_replaceValueAtIndex_inPropertyWithKey_withValue_1, - index, - key._id, - value._id); + this.pointer, + _lib._sel_replaceValueAtIndex_inPropertyWithKey_withValue_1, + index, + key.pointer, + value.pointer, + ); } void insertValue_inPropertyWithKey_(NSObject value, NSString key) { _lib._objc_msgSend_656( - _id, _lib._sel_insertValue_inPropertyWithKey_1, value._id, key._id); + this.pointer, + _lib._sel_insertValue_inPropertyWithKey_1, + value.pointer, + key.pointer, + ); } NSObject? coerceValue_forKey_(NSObject? value, NSString key) { - final _ret = _lib._objc_msgSend_657(_id, _lib._sel_coerceValue_forKey_1, - value?._id ?? ffi.nullptr, key._id); + final _ret = _lib._objc_msgSend_657( + this.pointer, + _lib._sel_coerceValue_forKey_1, + value?.pointer ?? ffi.nullptr, + key.pointer, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } NSScriptObjectSpecifier? get objectSpecifier { - final _ret = _lib._objc_msgSend_632(_id, _lib._sel_objectSpecifier1); + final _ret = _lib._objc_msgSend_632( + this.pointer, + _lib._sel_objectSpecifier1, + ); return _ret.address == 0 ? null : NSScriptObjectSpecifier._(_ret, _lib, retain: true, release: true); } NSArray? indicesOfObjectsByEvaluatingObjectSpecifier_( - NSScriptObjectSpecifier specifier) { - final _ret = _lib._objc_msgSend_658(_id, - _lib._sel_indicesOfObjectsByEvaluatingObjectSpecifier_1, specifier._id); + NSScriptObjectSpecifier specifier, + ) { + final _ret = _lib._objc_msgSend_658( + this.pointer, + _lib._sel_indicesOfObjectsByEvaluatingObjectSpecifier_1, + specifier.pointer, + ); return _ret.address == 0 ? null : NSArray._(_ret, _lib, retain: true, release: true); @@ -33351,164 +42024,249 @@ class NSObject extends _ObjCWrapper { bool isEqualTo_(NSObject? object) { return _lib._objc_msgSend_217( - _id, _lib._sel_isEqualTo_1, object?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_isEqualTo_1, + object?.pointer ?? ffi.nullptr, + ); } bool isLessThanOrEqualTo_(NSObject? object) { return _lib._objc_msgSend_217( - _id, _lib._sel_isLessThanOrEqualTo_1, object?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_isLessThanOrEqualTo_1, + object?.pointer ?? ffi.nullptr, + ); } bool isLessThan_(NSObject? object) { return _lib._objc_msgSend_217( - _id, _lib._sel_isLessThan_1, object?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_isLessThan_1, + object?.pointer ?? ffi.nullptr, + ); } bool isGreaterThanOrEqualTo_(NSObject? object) { return _lib._objc_msgSend_217( - _id, _lib._sel_isGreaterThanOrEqualTo_1, object?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_isGreaterThanOrEqualTo_1, + object?.pointer ?? ffi.nullptr, + ); } bool isGreaterThan_(NSObject? object) { return _lib._objc_msgSend_217( - _id, _lib._sel_isGreaterThan_1, object?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_isGreaterThan_1, + object?.pointer ?? ffi.nullptr, + ); } bool isNotEqualTo_(NSObject? object) { return _lib._objc_msgSend_217( - _id, _lib._sel_isNotEqualTo_1, object?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_isNotEqualTo_1, + object?.pointer ?? ffi.nullptr, + ); } bool doesContain_(NSObject object) { - return _lib._objc_msgSend_0(_id, _lib._sel_doesContain_1, object._id); + return _lib._objc_msgSend_0( + this.pointer, + _lib._sel_doesContain_1, + object.pointer, + ); } bool isLike_(NSString object) { - return _lib._objc_msgSend_64(_id, _lib._sel_isLike_1, object._id); + return _lib._objc_msgSend_64( + this.pointer, + _lib._sel_isLike_1, + object.pointer, + ); } bool isCaseInsensitiveLike_(NSString object) { return _lib._objc_msgSend_64( - _id, _lib._sel_isCaseInsensitiveLike_1, object._id); + this.pointer, + _lib._sel_isCaseInsensitiveLike_1, + object.pointer, + ); } bool scriptingIsEqualTo_(NSObject object) { return _lib._objc_msgSend_0( - _id, _lib._sel_scriptingIsEqualTo_1, object._id); + this.pointer, + _lib._sel_scriptingIsEqualTo_1, + object.pointer, + ); } bool scriptingIsLessThanOrEqualTo_(NSObject object) { return _lib._objc_msgSend_0( - _id, _lib._sel_scriptingIsLessThanOrEqualTo_1, object._id); + this.pointer, + _lib._sel_scriptingIsLessThanOrEqualTo_1, + object.pointer, + ); } bool scriptingIsLessThan_(NSObject object) { return _lib._objc_msgSend_0( - _id, _lib._sel_scriptingIsLessThan_1, object._id); + this.pointer, + _lib._sel_scriptingIsLessThan_1, + object.pointer, + ); } bool scriptingIsGreaterThanOrEqualTo_(NSObject object) { return _lib._objc_msgSend_0( - _id, _lib._sel_scriptingIsGreaterThanOrEqualTo_1, object._id); + this.pointer, + _lib._sel_scriptingIsGreaterThanOrEqualTo_1, + object.pointer, + ); } bool scriptingIsGreaterThan_(NSObject object) { return _lib._objc_msgSend_0( - _id, _lib._sel_scriptingIsGreaterThan_1, object._id); + this.pointer, + _lib._sel_scriptingIsGreaterThan_1, + object.pointer, + ); } bool scriptingBeginsWith_(NSObject object) { return _lib._objc_msgSend_0( - _id, _lib._sel_scriptingBeginsWith_1, object._id); + this.pointer, + _lib._sel_scriptingBeginsWith_1, + object.pointer, + ); } bool scriptingEndsWith_(NSObject object) { - return _lib._objc_msgSend_0(_id, _lib._sel_scriptingEndsWith_1, object._id); + return _lib._objc_msgSend_0( + this.pointer, + _lib._sel_scriptingEndsWith_1, + object.pointer, + ); } bool scriptingContains_(NSObject object) { - return _lib._objc_msgSend_0(_id, _lib._sel_scriptingContains_1, object._id); + return _lib._objc_msgSend_0( + this.pointer, + _lib._sel_scriptingContains_1, + object.pointer, + ); } } -final class ObjCSel extends ffi.Opaque {} - -final class ObjCObject extends ffi.Opaque {} - -typedef instancetype = ffi.Pointer; +typedef instancetype = ffi.Pointer; typedef Dartinstancetype = NSObject; final class _NSZone extends ffi.Opaque {} -class Protocol extends _ObjCWrapper { - Protocol._(ffi.Pointer id, SwiftLibrary lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); +class Protocol extends objc.ObjCObjectBase { + Protocol._( + ffi.Pointer pointer, + this._lib, { + bool retain = false, + bool release = false, + }) : super(pointer, retain: retain, release: release); + + SwiftLibrary _lib; /// Returns a [Protocol] that points to the same underlying object as [other]. - static Protocol castFrom(T other) { - return Protocol._(other._id, other._lib, retain: true, release: true); + static Protocol castFrom( + SwiftLibrary lib, + T other, + ) { + return Protocol._(other.pointer, lib, retain: true, release: true); } /// Returns a [Protocol] that wraps the given raw object pointer. static Protocol castFromPointer( - SwiftLibrary lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + SwiftLibrary lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return Protocol._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [Protocol]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_Protocol1); + static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_Protocol1, + ); } } class NSInvocation extends NSObject { - NSInvocation._(ffi.Pointer id, SwiftLibrary lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSInvocation._( + ffi.Pointer pointer, + SwiftLibrary lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSInvocation] that points to the same underlying object as [other]. - static NSInvocation castFrom(T other) { - return NSInvocation._(other._id, other._lib, retain: true, release: true); + static NSInvocation castFrom( + SwiftLibrary lib, + T other, + ) { + return NSInvocation._(other.pointer, lib, retain: true, release: true); } /// Returns a [NSInvocation] that wraps the given raw object pointer. static NSInvocation castFromPointer( - SwiftLibrary lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + SwiftLibrary lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSInvocation._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSInvocation]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_NSInvocation1); + static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSInvocation1, + ); } static NSInvocation invocationWithMethodSignature_( - SwiftLibrary _lib, NSMethodSignature sig) { - final _ret = _lib._objc_msgSend_414(_lib._class_NSInvocation1, - _lib._sel_invocationWithMethodSignature_1, sig._id); + SwiftLibrary _lib, + NSMethodSignature sig, + ) { + final _ret = _lib._objc_msgSend_414( + _lib._class_NSInvocation1, + _lib._sel_invocationWithMethodSignature_1, + sig.pointer, + ); return NSInvocation._(_ret, _lib, retain: true, release: true); } NSMethodSignature get methodSignature { - final _ret = _lib._objc_msgSend_415(_id, _lib._sel_methodSignature1); + final _ret = _lib._objc_msgSend_415( + this.pointer, + _lib._sel_methodSignature1, + ); return NSMethodSignature._(_ret, _lib, retain: true, release: true); } void retainArguments() { - _lib._objc_msgSend_1(_id, _lib._sel_retainArguments1); + _lib._objc_msgSend_1(this.pointer, _lib._sel_retainArguments1); } bool get argumentsRetained { - return _lib._objc_msgSend_12(_id, _lib._sel_argumentsRetained1); + return _lib._objc_msgSend_12(this.pointer, _lib._sel_argumentsRetained1); } NSObject? get target { - final _ret = _lib._objc_msgSend_17(_id, _lib._sel_target1); + final _ret = _lib._objc_msgSend_17(this.pointer, _lib._sel_target1); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); @@ -33516,434 +42274,629 @@ class NSInvocation extends NSObject { set target(NSObject? value) { return _lib._objc_msgSend_416( - _id, _lib._sel_setTarget_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setTarget_1, + value?.pointer ?? ffi.nullptr, + ); } - ffi.Pointer get selector { - return _lib._objc_msgSend_417(_id, _lib._sel_selector1); + ffi.Pointer get selector { + return _lib._objc_msgSend_417(this.pointer, _lib._sel_selector1); } - set selector(ffi.Pointer value) { - return _lib._objc_msgSend_418(_id, _lib._sel_setSelector_1, value); + set selector(ffi.Pointer value) { + return _lib._objc_msgSend_418(this.pointer, _lib._sel_setSelector_1, value); } void getReturnValue_(ffi.Pointer retLoc) { - _lib._objc_msgSend_52(_id, _lib._sel_getReturnValue_1, retLoc); + _lib._objc_msgSend_52(this.pointer, _lib._sel_getReturnValue_1, retLoc); } void setReturnValue_(ffi.Pointer retLoc) { - _lib._objc_msgSend_52(_id, _lib._sel_setReturnValue_1, retLoc); + _lib._objc_msgSend_52(this.pointer, _lib._sel_setReturnValue_1, retLoc); } void getArgument_atIndex_(ffi.Pointer argumentLocation, int idx) { _lib._objc_msgSend_419( - _id, _lib._sel_getArgument_atIndex_1, argumentLocation, idx); + this.pointer, + _lib._sel_getArgument_atIndex_1, + argumentLocation, + idx, + ); } void setArgument_atIndex_(ffi.Pointer argumentLocation, int idx) { _lib._objc_msgSend_419( - _id, _lib._sel_setArgument_atIndex_1, argumentLocation, idx); + this.pointer, + _lib._sel_setArgument_atIndex_1, + argumentLocation, + idx, + ); } void invoke() { - _lib._objc_msgSend_1(_id, _lib._sel_invoke1); + _lib._objc_msgSend_1(this.pointer, _lib._sel_invoke1); } void invokeWithTarget_(NSObject target) { - _lib._objc_msgSend_15(_id, _lib._sel_invokeWithTarget_1, target._id); + _lib._objc_msgSend_15( + this.pointer, + _lib._sel_invokeWithTarget_1, + target.pointer, + ); } void invokeUsingIMP_( - ffi.Pointer> imp) { - _lib._objc_msgSend_420(_id, _lib._sel_invokeUsingIMP_1, imp); + ffi.Pointer> imp, + ) { + _lib._objc_msgSend_420(this.pointer, _lib._sel_invokeUsingIMP_1, imp); } @override NSInvocation init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSInvocation._(_ret, _lib, retain: true, release: true); } static NSInvocation new1(SwiftLibrary _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSInvocation1, _lib._sel_new1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSInvocation1, + _lib._sel_new1, + ); return NSInvocation._(_ret, _lib, retain: false, release: true); } static NSInvocation allocWithZone_( - SwiftLibrary _lib, ffi.Pointer<_NSZone> zone) { + SwiftLibrary _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSInvocation1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSInvocation1, + _lib._sel_allocWithZone_1, + zone, + ); return NSInvocation._(_ret, _lib, retain: false, release: true); } static NSInvocation alloc(SwiftLibrary _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSInvocation1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSInvocation1, + _lib._sel_alloc1, + ); return NSInvocation._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + SwiftLibrary _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSInvocation1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSInvocation1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSInvocation1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + SwiftLibrary _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSInvocation1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { return _lib._objc_msgSend_12( - _lib._class_NSInvocation1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_NSInvocation1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(SwiftLibrary _lib) { return _lib._objc_msgSend_12( - _lib._class_NSInvocation1, _lib._sel_useStoredAccessor1); + _lib._class_NSInvocation1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSInvocation1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSInvocation1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSInvocation1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSInvocation1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, NSArray keys, NSString dependentKey) { + SwiftLibrary _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSInvocation1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSInvocation1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_85( - _lib._class_NSInvocation1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSInvocation1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSInvocation1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSInvocation1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } class NSMethodSignature extends NSObject { - NSMethodSignature._(ffi.Pointer id, SwiftLibrary lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSMethodSignature._( + ffi.Pointer pointer, + SwiftLibrary lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSMethodSignature] that points to the same underlying object as [other]. - static NSMethodSignature castFrom(T other) { - return NSMethodSignature._(other._id, other._lib, - retain: true, release: true); + static NSMethodSignature castFrom( + SwiftLibrary lib, + T other, + ) { + return NSMethodSignature._(other.pointer, lib, retain: true, release: true); } /// Returns a [NSMethodSignature] that wraps the given raw object pointer. static NSMethodSignature castFromPointer( - SwiftLibrary lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + SwiftLibrary lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSMethodSignature._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSMethodSignature]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0(obj._id, obj._lib._sel_isKindOfClass_1, - obj._lib._class_NSMethodSignature1); + static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSMethodSignature1, + ); } static NSMethodSignature? signatureWithObjCTypes_( - SwiftLibrary _lib, ffi.Pointer types) { - final _ret = _lib._objc_msgSend_9(_lib._class_NSMethodSignature1, - _lib._sel_signatureWithObjCTypes_1, types); + SwiftLibrary _lib, + ffi.Pointer types, + ) { + final _ret = _lib._objc_msgSend_9( + _lib._class_NSMethodSignature1, + _lib._sel_signatureWithObjCTypes_1, + types, + ); return _ret.address == 0 ? null : NSMethodSignature._(_ret, _lib, retain: true, release: true); } int get numberOfArguments { - return _lib._objc_msgSend_10(_id, _lib._sel_numberOfArguments1); + return _lib._objc_msgSend_10(this.pointer, _lib._sel_numberOfArguments1); } ffi.Pointer getArgumentTypeAtIndex_(int idx) { - return _lib._objc_msgSend_11(_id, _lib._sel_getArgumentTypeAtIndex_1, idx); + return _lib._objc_msgSend_11( + this.pointer, + _lib._sel_getArgumentTypeAtIndex_1, + idx, + ); } int get frameLength { - return _lib._objc_msgSend_10(_id, _lib._sel_frameLength1); + return _lib._objc_msgSend_10(this.pointer, _lib._sel_frameLength1); } bool isOneway() { - return _lib._objc_msgSend_12(_id, _lib._sel_isOneway1); + return _lib._objc_msgSend_12(this.pointer, _lib._sel_isOneway1); } ffi.Pointer get methodReturnType { - return _lib._objc_msgSend_13(_id, _lib._sel_methodReturnType1); + return _lib._objc_msgSend_13(this.pointer, _lib._sel_methodReturnType1); } int get methodReturnLength { - return _lib._objc_msgSend_10(_id, _lib._sel_methodReturnLength1); + return _lib._objc_msgSend_10(this.pointer, _lib._sel_methodReturnLength1); } @override NSMethodSignature init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSMethodSignature._(_ret, _lib, retain: true, release: true); } static NSMethodSignature new1(SwiftLibrary _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSMethodSignature1, _lib._sel_new1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSMethodSignature1, + _lib._sel_new1, + ); return NSMethodSignature._(_ret, _lib, retain: false, release: true); } static NSMethodSignature allocWithZone_( - SwiftLibrary _lib, ffi.Pointer<_NSZone> zone) { + SwiftLibrary _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSMethodSignature1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSMethodSignature1, + _lib._sel_allocWithZone_1, + zone, + ); return NSMethodSignature._(_ret, _lib, retain: false, release: true); } static NSMethodSignature alloc(SwiftLibrary _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSMethodSignature1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSMethodSignature1, + _lib._sel_alloc1, + ); return NSMethodSignature._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + SwiftLibrary _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSMethodSignature1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSMethodSignature1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSMethodSignature1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + SwiftLibrary _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSMethodSignature1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { - return _lib._objc_msgSend_12(_lib._class_NSMethodSignature1, - _lib._sel_accessInstanceVariablesDirectly1); + return _lib._objc_msgSend_12( + _lib._class_NSMethodSignature1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(SwiftLibrary _lib) { return _lib._objc_msgSend_12( - _lib._class_NSMethodSignature1, _lib._sel_useStoredAccessor1); + _lib._class_NSMethodSignature1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSMethodSignature1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSMethodSignature1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSMethodSignature1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSMethodSignature1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, NSArray keys, NSString dependentKey) { + SwiftLibrary _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSMethodSignature1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSMethodSignature1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_85(_lib._class_NSMethodSignature1, - _lib._sel_classFallbacksForKeyedArchiver1); + final _ret = _lib._objc_msgSend_85( + _lib._class_NSMethodSignature1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSMethodSignature1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSMethodSignature1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } class NSSet extends NSObject { - NSSet._(ffi.Pointer id, SwiftLibrary lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSSet._( + ffi.Pointer pointer, + SwiftLibrary lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSSet] that points to the same underlying object as [other]. - static NSSet castFrom(T other) { - return NSSet._(other._id, other._lib, retain: true, release: true); + static NSSet castFrom( + SwiftLibrary lib, + T other, + ) { + return NSSet._(other.pointer, lib, retain: true, release: true); } /// Returns a [NSSet] that wraps the given raw object pointer. - static NSSet castFromPointer(SwiftLibrary lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + static NSSet castFromPointer( + SwiftLibrary lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSSet._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSSet]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_NSSet1); + static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSSet1, + ); } int get count { - return _lib._objc_msgSend_10(_id, _lib._sel_count1); + return _lib._objc_msgSend_10(this.pointer, _lib._sel_count1); } NSObject? member_(NSObject object) { - final _ret = _lib._objc_msgSend_16(_id, _lib._sel_member_1, object._id); + final _ret = _lib._objc_msgSend_16( + this.pointer, + _lib._sel_member_1, + object.pointer, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } NSEnumerator objectEnumerator() { - final _ret = _lib._objc_msgSend_77(_id, _lib._sel_objectEnumerator1); + final _ret = _lib._objc_msgSend_77( + this.pointer, + _lib._sel_objectEnumerator1, + ); return NSEnumerator._(_ret, _lib, retain: true, release: true); } @override NSSet init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSSet._(_ret, _lib, retain: true, release: true); } NSSet initWithObjects_count_( - ffi.Pointer> objects, int cnt) { + ffi.Pointer> objects, + int cnt, + ) { final _ret = _lib._objc_msgSend_66( - _id, _lib._sel_initWithObjects_count_1, objects, cnt); + this.pointer, + _lib._sel_initWithObjects_count_1, + objects, + cnt, + ); return NSSet._(_ret, _lib, retain: true, release: true); } NSSet? initWithCoder_(NSCoder coder) { - final _ret = - _lib._objc_msgSend_47(_id, _lib._sel_initWithCoder_1, coder._id); + final _ret = _lib._objc_msgSend_47( + this.pointer, + _lib._sel_initWithCoder_1, + coder.pointer, + ); return _ret.address == 0 ? null : NSSet._(_ret, _lib, retain: true, release: true); } NSArray get allObjects { - final _ret = _lib._objc_msgSend_85(_id, _lib._sel_allObjects1); + final _ret = _lib._objc_msgSend_85(this.pointer, _lib._sel_allObjects1); return NSArray._(_ret, _lib, retain: true, release: true); } NSObject? anyObject() { - final _ret = _lib._objc_msgSend_17(_id, _lib._sel_anyObject1); + final _ret = _lib._objc_msgSend_17(this.pointer, _lib._sel_anyObject1); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } bool containsObject_(NSObject anObject) { - return _lib._objc_msgSend_0(_id, _lib._sel_containsObject_1, anObject._id); + return _lib._objc_msgSend_0( + this.pointer, + _lib._sel_containsObject_1, + anObject.pointer, + ); } NSString get description { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_description1); + final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_description1); return NSString._(_ret, _lib, retain: true, release: true); } NSString descriptionWithLocale_(NSObject? locale) { final _ret = _lib._objc_msgSend_70( - _id, _lib._sel_descriptionWithLocale_1, locale?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_descriptionWithLocale_1, + locale?.pointer ?? ffi.nullptr, + ); return NSString._(_ret, _lib, retain: true, release: true); } bool intersectsSet_(NSSet otherSet) { - return _lib._objc_msgSend_403(_id, _lib._sel_intersectsSet_1, otherSet._id); + return _lib._objc_msgSend_403( + this.pointer, + _lib._sel_intersectsSet_1, + otherSet.pointer, + ); } bool isEqualToSet_(NSSet otherSet) { - return _lib._objc_msgSend_403(_id, _lib._sel_isEqualToSet_1, otherSet._id); + return _lib._objc_msgSend_403( + this.pointer, + _lib._sel_isEqualToSet_1, + otherSet.pointer, + ); } bool isSubsetOfSet_(NSSet otherSet) { - return _lib._objc_msgSend_403(_id, _lib._sel_isSubsetOfSet_1, otherSet._id); + return _lib._objc_msgSend_403( + this.pointer, + _lib._sel_isSubsetOfSet_1, + otherSet.pointer, + ); } - void makeObjectsPerformSelector_(ffi.Pointer aSelector) { + void makeObjectsPerformSelector_(ffi.Pointer aSelector) { _lib._objc_msgSend_7( - _id, _lib._sel_makeObjectsPerformSelector_1, aSelector); + this.pointer, + _lib._sel_makeObjectsPerformSelector_1, + aSelector, + ); } void makeObjectsPerformSelector_withObject_( - ffi.Pointer aSelector, NSObject? argument) { + ffi.Pointer aSelector, + NSObject? argument, + ) { _lib._objc_msgSend_90( - _id, - _lib._sel_makeObjectsPerformSelector_withObject_1, - aSelector, - argument?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_makeObjectsPerformSelector_withObject_1, + aSelector, + argument?.pointer ?? ffi.nullptr, + ); } NSSet setByAddingObject_(NSObject anObject) { final _ret = _lib._objc_msgSend_404( - _id, _lib._sel_setByAddingObject_1, anObject._id); + this.pointer, + _lib._sel_setByAddingObject_1, + anObject.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } NSSet setByAddingObjectsFromSet_(NSSet other) { final _ret = _lib._objc_msgSend_405( - _id, _lib._sel_setByAddingObjectsFromSet_1, other._id); + this.pointer, + _lib._sel_setByAddingObjectsFromSet_1, + other.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } NSSet setByAddingObjectsFromArray_(NSArray other) { final _ret = _lib._objc_msgSend_406( - _id, _lib._sel_setByAddingObjectsFromArray_1, other._id); + this.pointer, + _lib._sel_setByAddingObjectsFromArray_1, + other.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } - void enumerateObjectsUsingBlock_(ObjCBlock_ffiVoid_ObjCObject_bool block) { + void enumerateObjectsUsingBlock_( + ObjCBlock_ffiVoid_objcObjCObject_bool block, + ) { _lib._objc_msgSend_407( - _id, _lib._sel_enumerateObjectsUsingBlock_1, block._id); + this.pointer, + _lib._sel_enumerateObjectsUsingBlock_1, + block.pointer, + ); } void enumerateObjectsWithOptions_usingBlock_( - int opts, ObjCBlock_ffiVoid_ObjCObject_bool block) { - _lib._objc_msgSend_408(_id, - _lib._sel_enumerateObjectsWithOptions_usingBlock_1, opts, block._id); + int opts, + ObjCBlock_ffiVoid_objcObjCObject_bool block, + ) { + _lib._objc_msgSend_408( + this.pointer, + _lib._sel_enumerateObjectsWithOptions_usingBlock_1, + opts, + block.pointer, + ); } - NSSet objectsPassingTest_(ObjCBlock_bool_ObjCObject_bool predicate) { + NSSet objectsPassingTest_(ObjCBlock_bool_objcObjCObject_bool predicate) { final _ret = _lib._objc_msgSend_409( - _id, _lib._sel_objectsPassingTest_1, predicate._id); + this.pointer, + _lib._sel_objectsPassingTest_1, + predicate.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } NSSet objectsWithOptions_passingTest_( - int opts, ObjCBlock_bool_ObjCObject_bool predicate) { + int opts, + ObjCBlock_bool_objcObjCObject_bool predicate, + ) { final _ret = _lib._objc_msgSend_410( - _id, _lib._sel_objectsWithOptions_passingTest_1, opts, predicate._id); + this.pointer, + _lib._sel_objectsWithOptions_passingTest_1, + opts, + predicate.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } @@ -33954,103 +42907,167 @@ class NSSet extends NSObject { static NSSet setWithObject_(SwiftLibrary _lib, NSObject object) { final _ret = _lib._objc_msgSend_124( - _lib._class_NSSet1, _lib._sel_setWithObject_1, object._id); + _lib._class_NSSet1, + _lib._sel_setWithObject_1, + object.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } - static NSSet setWithObjects_count_(SwiftLibrary _lib, - ffi.Pointer> objects, int cnt) { + static NSSet setWithObjects_count_( + SwiftLibrary _lib, + ffi.Pointer> objects, + int cnt, + ) { final _ret = _lib._objc_msgSend_66( - _lib._class_NSSet1, _lib._sel_setWithObjects_count_1, objects, cnt); + _lib._class_NSSet1, + _lib._sel_setWithObjects_count_1, + objects, + cnt, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static NSSet setWithObjects_(SwiftLibrary _lib, NSObject firstObj) { final _ret = _lib._objc_msgSend_124( - _lib._class_NSSet1, _lib._sel_setWithObjects_1, firstObj._id); + _lib._class_NSSet1, + _lib._sel_setWithObjects_1, + firstObj.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static NSSet setWithSet_(SwiftLibrary _lib, NSSet set) { final _ret = _lib._objc_msgSend_411( - _lib._class_NSSet1, _lib._sel_setWithSet_1, set._id); + _lib._class_NSSet1, + _lib._sel_setWithSet_1, + set.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static NSSet setWithArray_(SwiftLibrary _lib, NSArray array) { final _ret = _lib._objc_msgSend_125( - _lib._class_NSSet1, _lib._sel_setWithArray_1, array._id); + _lib._class_NSSet1, + _lib._sel_setWithArray_1, + array.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } NSSet initWithObjects_(NSObject firstObj) { - final _ret = - _lib._objc_msgSend_124(_id, _lib._sel_initWithObjects_1, firstObj._id); + final _ret = _lib._objc_msgSend_124( + this.pointer, + _lib._sel_initWithObjects_1, + firstObj.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } NSSet initWithSet_(NSSet set) { - final _ret = _lib._objc_msgSend_411(_id, _lib._sel_initWithSet_1, set._id); + final _ret = _lib._objc_msgSend_411( + this.pointer, + _lib._sel_initWithSet_1, + set.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } NSSet initWithSet_copyItems_(NSSet set, bool flag) { final _ret = _lib._objc_msgSend_412( - _id, _lib._sel_initWithSet_copyItems_1, set._id, flag); + this.pointer, + _lib._sel_initWithSet_copyItems_1, + set.pointer, + flag, + ); return NSSet._(_ret, _lib, retain: false, release: true); } NSSet initWithArray_(NSArray array) { - final _ret = - _lib._objc_msgSend_125(_id, _lib._sel_initWithArray_1, array._id); + final _ret = _lib._objc_msgSend_125( + this.pointer, + _lib._sel_initWithArray_1, + array.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } NSObject valueForKey_(NSString key) { - final _ret = _lib._objc_msgSend_31(_id, _lib._sel_valueForKey_1, key._id); + final _ret = _lib._objc_msgSend_31( + this.pointer, + _lib._sel_valueForKey_1, + key.pointer, + ); return NSObject._(_ret, _lib, retain: true, release: true); } @override void setValue_forKey_(NSObject? value, NSString key) { _lib._objc_msgSend_135( - _id, _lib._sel_setValue_forKey_1, value?._id ?? ffi.nullptr, key._id); + this.pointer, + _lib._sel_setValue_forKey_1, + value?.pointer ?? ffi.nullptr, + key.pointer, + ); } @override - void addObserver_forKeyPath_options_context_(NSObject observer, - NSString keyPath, int options, ffi.Pointer context) { + void addObserver_forKeyPath_options_context_( + NSObject observer, + NSString keyPath, + int options, + ffi.Pointer context, + ) { _lib._objc_msgSend_139( - _id, - _lib._sel_addObserver_forKeyPath_options_context_1, - observer._id, - keyPath._id, - options, - context); + this.pointer, + _lib._sel_addObserver_forKeyPath_options_context_1, + observer.pointer, + keyPath.pointer, + options, + context, + ); } @override void removeObserver_forKeyPath_context_( - NSObject observer, NSString keyPath, ffi.Pointer context) { - _lib._objc_msgSend_140(_id, _lib._sel_removeObserver_forKeyPath_context_1, - observer._id, keyPath._id, context); + NSObject observer, + NSString keyPath, + ffi.Pointer context, + ) { + _lib._objc_msgSend_140( + this.pointer, + _lib._sel_removeObserver_forKeyPath_context_1, + observer.pointer, + keyPath.pointer, + context, + ); } @override void removeObserver_forKeyPath_(NSObject observer, NSString keyPath) { _lib._objc_msgSend_141( - _id, _lib._sel_removeObserver_forKeyPath_1, observer._id, keyPath._id); + this.pointer, + _lib._sel_removeObserver_forKeyPath_1, + observer.pointer, + keyPath.pointer, + ); } NSArray sortedArrayUsingDescriptors_(NSArray sortDescriptors) { final _ret = _lib._objc_msgSend_68( - _id, _lib._sel_sortedArrayUsingDescriptors_1, sortDescriptors._id); + this.pointer, + _lib._sel_sortedArrayUsingDescriptors_1, + sortDescriptors.pointer, + ); return NSArray._(_ret, _lib, retain: true, release: true); } NSSet filteredSetUsingPredicate_(NSPredicate predicate) { final _ret = _lib._objc_msgSend_413( - _id, _lib._sel_filteredSetUsingPredicate_1, predicate._id); + this.pointer, + _lib._sel_filteredSetUsingPredicate_1, + predicate.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } @@ -34061,7 +43078,10 @@ class NSSet extends NSObject { static NSSet allocWithZone_(SwiftLibrary _lib, ffi.Pointer<_NSZone> zone) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSSet1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSSet1, + _lib._sel_allocWithZone_1, + zone, + ); return NSSet._(_ret, _lib, retain: false, release: true); } @@ -34071,214 +43091,305 @@ class NSSet extends NSObject { } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + SwiftLibrary _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSSet1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSSet1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSSet1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + SwiftLibrary _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSSet1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { return _lib._objc_msgSend_12( - _lib._class_NSSet1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_NSSet1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(SwiftLibrary _lib) { return _lib._objc_msgSend_12( - _lib._class_NSSet1, _lib._sel_useStoredAccessor1); + _lib._class_NSSet1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSSet1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSSet1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSSet1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSSet1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, NSArray keys, NSString dependentKey) { + SwiftLibrary _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSSet1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSSet1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_85( - _lib._class_NSSet1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSSet1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSSet1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSSet1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } class NSEnumerator extends NSObject { - NSEnumerator._(ffi.Pointer id, SwiftLibrary lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSEnumerator._( + ffi.Pointer pointer, + SwiftLibrary lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSEnumerator] that points to the same underlying object as [other]. - static NSEnumerator castFrom(T other) { - return NSEnumerator._(other._id, other._lib, retain: true, release: true); + static NSEnumerator castFrom( + SwiftLibrary lib, + T other, + ) { + return NSEnumerator._(other.pointer, lib, retain: true, release: true); } /// Returns a [NSEnumerator] that wraps the given raw object pointer. static NSEnumerator castFromPointer( - SwiftLibrary lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + SwiftLibrary lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSEnumerator._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSEnumerator]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_NSEnumerator1); + static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSEnumerator1, + ); } NSObject? nextObject() { - final _ret = _lib._objc_msgSend_17(_id, _lib._sel_nextObject1); + final _ret = _lib._objc_msgSend_17(this.pointer, _lib._sel_nextObject1); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } NSObject get allObjects { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_allObjects1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_allObjects1); return NSObject._(_ret, _lib, retain: true, release: true); } @override NSEnumerator init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSEnumerator._(_ret, _lib, retain: true, release: true); } static NSEnumerator new1(SwiftLibrary _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSEnumerator1, _lib._sel_new1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSEnumerator1, + _lib._sel_new1, + ); return NSEnumerator._(_ret, _lib, retain: false, release: true); } static NSEnumerator allocWithZone_( - SwiftLibrary _lib, ffi.Pointer<_NSZone> zone) { + SwiftLibrary _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSEnumerator1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSEnumerator1, + _lib._sel_allocWithZone_1, + zone, + ); return NSEnumerator._(_ret, _lib, retain: false, release: true); } static NSEnumerator alloc(SwiftLibrary _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSEnumerator1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSEnumerator1, + _lib._sel_alloc1, + ); return NSEnumerator._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + SwiftLibrary _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSEnumerator1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSEnumerator1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSEnumerator1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + SwiftLibrary _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSEnumerator1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { return _lib._objc_msgSend_12( - _lib._class_NSEnumerator1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_NSEnumerator1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(SwiftLibrary _lib) { return _lib._objc_msgSend_12( - _lib._class_NSEnumerator1, _lib._sel_useStoredAccessor1); + _lib._class_NSEnumerator1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSEnumerator1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSEnumerator1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSEnumerator1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSEnumerator1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, NSArray keys, NSString dependentKey) { + SwiftLibrary _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSEnumerator1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSEnumerator1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_85( - _lib._class_NSEnumerator1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSEnumerator1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSEnumerator1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSEnumerator1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } class NSString extends NSObject { - NSString._(ffi.Pointer id, SwiftLibrary lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSString._( + ffi.Pointer pointer, + SwiftLibrary lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSString] that points to the same underlying object as [other]. - static NSString castFrom(T other) { - return NSString._(other._id, other._lib, retain: true, release: true); + static NSString castFrom( + SwiftLibrary lib, + T other, + ) { + return NSString._(other.pointer, lib, retain: true, release: true); } /// Returns a [NSString] that wraps the given raw object pointer. static NSString castFromPointer( - SwiftLibrary lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + SwiftLibrary lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSString._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSString]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_NSString1); + static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSString1, + ); } factory NSString(SwiftLibrary _lib, String str) { @@ -34290,423 +43401,656 @@ class NSString extends NSObject { @override String toString() { - final data = - dataUsingEncoding_(0x94000100 /* NSUTF16LittleEndianStringEncoding */); + final data = dataUsingEncoding_( + 0x94000100 /* NSUTF16LittleEndianStringEncoding */, + ); return data!.bytes.cast().toDartString(length: length); } int get length { - return _lib._objc_msgSend_10(_id, _lib._sel_length1); + return _lib._objc_msgSend_10(this.pointer, _lib._sel_length1); } int characterAtIndex_(int index) { - return _lib._objc_msgSend_18(_id, _lib._sel_characterAtIndex_1, index); + return _lib._objc_msgSend_18( + this.pointer, + _lib._sel_characterAtIndex_1, + index, + ); } @override NSString init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSString._(_ret, _lib, retain: true, release: true); } NSString? initWithCoder_(NSCoder coder) { - final _ret = - _lib._objc_msgSend_47(_id, _lib._sel_initWithCoder_1, coder._id); + final _ret = _lib._objc_msgSend_47( + this.pointer, + _lib._sel_initWithCoder_1, + coder.pointer, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } NSString substringFromIndex_(int from) { - final _ret = - _lib._objc_msgSend_332(_id, _lib._sel_substringFromIndex_1, from); + final _ret = _lib._objc_msgSend_332( + this.pointer, + _lib._sel_substringFromIndex_1, + from, + ); return NSString._(_ret, _lib, retain: true, release: true); } NSString substringToIndex_(int to) { - final _ret = _lib._objc_msgSend_332(_id, _lib._sel_substringToIndex_1, to); + final _ret = _lib._objc_msgSend_332( + this.pointer, + _lib._sel_substringToIndex_1, + to, + ); return NSString._(_ret, _lib, retain: true, release: true); } NSString substringWithRange_(_NSRange range) { - final _ret = - _lib._objc_msgSend_333(_id, _lib._sel_substringWithRange_1, range); + final _ret = _lib._objc_msgSend_333( + this.pointer, + _lib._sel_substringWithRange_1, + range, + ); return NSString._(_ret, _lib, retain: true, release: true); } void getCharacters_range_( - ffi.Pointer buffer, _NSRange range) { - _lib._objc_msgSend_334(_id, _lib._sel_getCharacters_range_1, buffer, range); + ffi.Pointer buffer, + _NSRange range, + ) { + _lib._objc_msgSend_334( + this.pointer, + _lib._sel_getCharacters_range_1, + buffer, + range, + ); } int compare_(NSString string) { - return _lib._objc_msgSend_335(_id, _lib._sel_compare_1, string._id); + return _lib._objc_msgSend_335( + this.pointer, + _lib._sel_compare_1, + string.pointer, + ); } int compare_options_(NSString string, int mask) { return _lib._objc_msgSend_336( - _id, _lib._sel_compare_options_1, string._id, mask); + this.pointer, + _lib._sel_compare_options_1, + string.pointer, + mask, + ); } int compare_options_range_( - NSString string, int mask, _NSRange rangeOfReceiverToCompare) { - return _lib._objc_msgSend_337(_id, _lib._sel_compare_options_range_1, - string._id, mask, rangeOfReceiverToCompare); + NSString string, + int mask, + _NSRange rangeOfReceiverToCompare, + ) { + return _lib._objc_msgSend_337( + this.pointer, + _lib._sel_compare_options_range_1, + string.pointer, + mask, + rangeOfReceiverToCompare, + ); } - int compare_options_range_locale_(NSString string, int mask, - _NSRange rangeOfReceiverToCompare, NSObject? locale) { - return _lib._objc_msgSend_338(_id, _lib._sel_compare_options_range_locale_1, - string._id, mask, rangeOfReceiverToCompare, locale?._id ?? ffi.nullptr); + int compare_options_range_locale_( + NSString string, + int mask, + _NSRange rangeOfReceiverToCompare, + NSObject? locale, + ) { + return _lib._objc_msgSend_338( + this.pointer, + _lib._sel_compare_options_range_locale_1, + string.pointer, + mask, + rangeOfReceiverToCompare, + locale?.pointer ?? ffi.nullptr, + ); } int caseInsensitiveCompare_(NSString string) { return _lib._objc_msgSend_335( - _id, _lib._sel_caseInsensitiveCompare_1, string._id); + this.pointer, + _lib._sel_caseInsensitiveCompare_1, + string.pointer, + ); } int localizedCompare_(NSString string) { return _lib._objc_msgSend_335( - _id, _lib._sel_localizedCompare_1, string._id); + this.pointer, + _lib._sel_localizedCompare_1, + string.pointer, + ); } int localizedCaseInsensitiveCompare_(NSString string) { return _lib._objc_msgSend_335( - _id, _lib._sel_localizedCaseInsensitiveCompare_1, string._id); + this.pointer, + _lib._sel_localizedCaseInsensitiveCompare_1, + string.pointer, + ); } int localizedStandardCompare_(NSString string) { return _lib._objc_msgSend_335( - _id, _lib._sel_localizedStandardCompare_1, string._id); + this.pointer, + _lib._sel_localizedStandardCompare_1, + string.pointer, + ); } bool isEqualToString_(NSString aString) { - return _lib._objc_msgSend_64(_id, _lib._sel_isEqualToString_1, aString._id); + return _lib._objc_msgSend_64( + this.pointer, + _lib._sel_isEqualToString_1, + aString.pointer, + ); } bool hasPrefix_(NSString str) { - return _lib._objc_msgSend_64(_id, _lib._sel_hasPrefix_1, str._id); + return _lib._objc_msgSend_64( + this.pointer, + _lib._sel_hasPrefix_1, + str.pointer, + ); } bool hasSuffix_(NSString str) { - return _lib._objc_msgSend_64(_id, _lib._sel_hasSuffix_1, str._id); + return _lib._objc_msgSend_64( + this.pointer, + _lib._sel_hasSuffix_1, + str.pointer, + ); } NSString commonPrefixWithString_options_(NSString str, int mask) { final _ret = _lib._objc_msgSend_339( - _id, _lib._sel_commonPrefixWithString_options_1, str._id, mask); + this.pointer, + _lib._sel_commonPrefixWithString_options_1, + str.pointer, + mask, + ); return NSString._(_ret, _lib, retain: true, release: true); } bool containsString_(NSString str) { - return _lib._objc_msgSend_64(_id, _lib._sel_containsString_1, str._id); + return _lib._objc_msgSend_64( + this.pointer, + _lib._sel_containsString_1, + str.pointer, + ); } bool localizedCaseInsensitiveContainsString_(NSString str) { return _lib._objc_msgSend_64( - _id, _lib._sel_localizedCaseInsensitiveContainsString_1, str._id); + this.pointer, + _lib._sel_localizedCaseInsensitiveContainsString_1, + str.pointer, + ); } bool localizedStandardContainsString_(NSString str) { return _lib._objc_msgSend_64( - _id, _lib._sel_localizedStandardContainsString_1, str._id); + this.pointer, + _lib._sel_localizedStandardContainsString_1, + str.pointer, + ); } void localizedStandardRangeOfString_( - ffi.Pointer<_NSRange> stret, NSString str) { - _lib._objc_msgSend_useVariants1 + ffi.Pointer<_NSRange> stret, + NSString str, + ) { + objc.useMsgSendVariants ? _lib._objc_msgSend_340_stret( - stret, _id, _lib._sel_localizedStandardRangeOfString_1, str._id) + stret, + this.pointer, + _lib._sel_localizedStandardRangeOfString_1, + str.pointer, + ) : stret.ref = _lib._objc_msgSend_340( - _id, _lib._sel_localizedStandardRangeOfString_1, str._id); + this.pointer, + _lib._sel_localizedStandardRangeOfString_1, + str.pointer, + ); } void rangeOfString_(ffi.Pointer<_NSRange> stret, NSString searchString) { - _lib._objc_msgSend_useVariants1 + objc.useMsgSendVariants ? _lib._objc_msgSend_340_stret( - stret, _id, _lib._sel_rangeOfString_1, searchString._id) + stret, + this.pointer, + _lib._sel_rangeOfString_1, + searchString.pointer, + ) : stret.ref = _lib._objc_msgSend_340( - _id, _lib._sel_rangeOfString_1, searchString._id); + this.pointer, + _lib._sel_rangeOfString_1, + searchString.pointer, + ); } void rangeOfString_options_( - ffi.Pointer<_NSRange> stret, NSString searchString, int mask) { - _lib._objc_msgSend_useVariants1 - ? _lib._objc_msgSend_341_stret(stret, _id, - _lib._sel_rangeOfString_options_1, searchString._id, mask) + ffi.Pointer<_NSRange> stret, + NSString searchString, + int mask, + ) { + objc.useMsgSendVariants + ? _lib._objc_msgSend_341_stret( + stret, + this.pointer, + _lib._sel_rangeOfString_options_1, + searchString.pointer, + mask, + ) : stret.ref = _lib._objc_msgSend_341( - _id, _lib._sel_rangeOfString_options_1, searchString._id, mask); + this.pointer, + _lib._sel_rangeOfString_options_1, + searchString.pointer, + mask, + ); } - void rangeOfString_options_range_(ffi.Pointer<_NSRange> stret, - NSString searchString, int mask, _NSRange rangeOfReceiverToSearch) { - _lib._objc_msgSend_useVariants1 + void rangeOfString_options_range_( + ffi.Pointer<_NSRange> stret, + NSString searchString, + int mask, + _NSRange rangeOfReceiverToSearch, + ) { + objc.useMsgSendVariants ? _lib._objc_msgSend_342_stret( - stret, - _id, - _lib._sel_rangeOfString_options_range_1, - searchString._id, - mask, - rangeOfReceiverToSearch) + stret, + this.pointer, + _lib._sel_rangeOfString_options_range_1, + searchString.pointer, + mask, + rangeOfReceiverToSearch, + ) : stret.ref = _lib._objc_msgSend_342( - _id, - _lib._sel_rangeOfString_options_range_1, - searchString._id, - mask, - rangeOfReceiverToSearch); + this.pointer, + _lib._sel_rangeOfString_options_range_1, + searchString.pointer, + mask, + rangeOfReceiverToSearch, + ); } void rangeOfString_options_range_locale_( - ffi.Pointer<_NSRange> stret, - NSString searchString, - int mask, - _NSRange rangeOfReceiverToSearch, - NSLocale? locale) { - _lib._objc_msgSend_useVariants1 + ffi.Pointer<_NSRange> stret, + NSString searchString, + int mask, + _NSRange rangeOfReceiverToSearch, + NSLocale? locale, + ) { + objc.useMsgSendVariants ? _lib._objc_msgSend_343_stret( - stret, - _id, - _lib._sel_rangeOfString_options_range_locale_1, - searchString._id, - mask, - rangeOfReceiverToSearch, - locale?._id ?? ffi.nullptr) + stret, + this.pointer, + _lib._sel_rangeOfString_options_range_locale_1, + searchString.pointer, + mask, + rangeOfReceiverToSearch, + locale?.pointer ?? ffi.nullptr, + ) : stret.ref = _lib._objc_msgSend_343( - _id, - _lib._sel_rangeOfString_options_range_locale_1, - searchString._id, - mask, - rangeOfReceiverToSearch, - locale?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_rangeOfString_options_range_locale_1, + searchString.pointer, + mask, + rangeOfReceiverToSearch, + locale?.pointer ?? ffi.nullptr, + ); } void rangeOfCharacterFromSet_( - ffi.Pointer<_NSRange> stret, NSCharacterSet searchSet) { - _lib._objc_msgSend_useVariants1 + ffi.Pointer<_NSRange> stret, + NSCharacterSet searchSet, + ) { + objc.useMsgSendVariants ? _lib._objc_msgSend_344_stret( - stret, _id, _lib._sel_rangeOfCharacterFromSet_1, searchSet._id) + stret, + this.pointer, + _lib._sel_rangeOfCharacterFromSet_1, + searchSet.pointer, + ) : stret.ref = _lib._objc_msgSend_344( - _id, _lib._sel_rangeOfCharacterFromSet_1, searchSet._id); + this.pointer, + _lib._sel_rangeOfCharacterFromSet_1, + searchSet.pointer, + ); } void rangeOfCharacterFromSet_options_( - ffi.Pointer<_NSRange> stret, NSCharacterSet searchSet, int mask) { - _lib._objc_msgSend_useVariants1 - ? _lib._objc_msgSend_345_stret(stret, _id, - _lib._sel_rangeOfCharacterFromSet_options_1, searchSet._id, mask) - : stret.ref = _lib._objc_msgSend_345(_id, - _lib._sel_rangeOfCharacterFromSet_options_1, searchSet._id, mask); - } - - void rangeOfCharacterFromSet_options_range_(ffi.Pointer<_NSRange> stret, - NSCharacterSet searchSet, int mask, _NSRange rangeOfReceiverToSearch) { - _lib._objc_msgSend_useVariants1 + ffi.Pointer<_NSRange> stret, + NSCharacterSet searchSet, + int mask, + ) { + objc.useMsgSendVariants + ? _lib._objc_msgSend_345_stret( + stret, + this.pointer, + _lib._sel_rangeOfCharacterFromSet_options_1, + searchSet.pointer, + mask, + ) + : stret.ref = _lib._objc_msgSend_345( + this.pointer, + _lib._sel_rangeOfCharacterFromSet_options_1, + searchSet.pointer, + mask, + ); + } + + void rangeOfCharacterFromSet_options_range_( + ffi.Pointer<_NSRange> stret, + NSCharacterSet searchSet, + int mask, + _NSRange rangeOfReceiverToSearch, + ) { + objc.useMsgSendVariants ? _lib._objc_msgSend_346_stret( - stret, - _id, - _lib._sel_rangeOfCharacterFromSet_options_range_1, - searchSet._id, - mask, - rangeOfReceiverToSearch) + stret, + this.pointer, + _lib._sel_rangeOfCharacterFromSet_options_range_1, + searchSet.pointer, + mask, + rangeOfReceiverToSearch, + ) : stret.ref = _lib._objc_msgSend_346( - _id, - _lib._sel_rangeOfCharacterFromSet_options_range_1, - searchSet._id, - mask, - rangeOfReceiverToSearch); + this.pointer, + _lib._sel_rangeOfCharacterFromSet_options_range_1, + searchSet.pointer, + mask, + rangeOfReceiverToSearch, + ); } void rangeOfComposedCharacterSequenceAtIndex_( - ffi.Pointer<_NSRange> stret, int index) { - _lib._objc_msgSend_useVariants1 - ? _lib._objc_msgSend_347_stret(stret, _id, - _lib._sel_rangeOfComposedCharacterSequenceAtIndex_1, index) + ffi.Pointer<_NSRange> stret, + int index, + ) { + objc.useMsgSendVariants + ? _lib._objc_msgSend_347_stret( + stret, + this.pointer, + _lib._sel_rangeOfComposedCharacterSequenceAtIndex_1, + index, + ) : stret.ref = _lib._objc_msgSend_347( - _id, _lib._sel_rangeOfComposedCharacterSequenceAtIndex_1, index); + this.pointer, + _lib._sel_rangeOfComposedCharacterSequenceAtIndex_1, + index, + ); } void rangeOfComposedCharacterSequencesForRange_( - ffi.Pointer<_NSRange> stret, _NSRange range) { - _lib._objc_msgSend_useVariants1 - ? _lib._objc_msgSend_348_stret(stret, _id, - _lib._sel_rangeOfComposedCharacterSequencesForRange_1, range) + ffi.Pointer<_NSRange> stret, + _NSRange range, + ) { + objc.useMsgSendVariants + ? _lib._objc_msgSend_348_stret( + stret, + this.pointer, + _lib._sel_rangeOfComposedCharacterSequencesForRange_1, + range, + ) : stret.ref = _lib._objc_msgSend_348( - _id, _lib._sel_rangeOfComposedCharacterSequencesForRange_1, range); + this.pointer, + _lib._sel_rangeOfComposedCharacterSequencesForRange_1, + range, + ); } NSString stringByAppendingString_(NSString aString) { final _ret = _lib._objc_msgSend_69( - _id, _lib._sel_stringByAppendingString_1, aString._id); + this.pointer, + _lib._sel_stringByAppendingString_1, + aString.pointer, + ); return NSString._(_ret, _lib, retain: true, release: true); } NSString stringByAppendingFormat_(NSString format) { final _ret = _lib._objc_msgSend_69( - _id, _lib._sel_stringByAppendingFormat_1, format._id); + this.pointer, + _lib._sel_stringByAppendingFormat_1, + format.pointer, + ); return NSString._(_ret, _lib, retain: true, release: true); } double get doubleValue { - return _lib._objc_msgSend_useVariants1 - ? _lib._objc_msgSend_165_fpret(_id, _lib._sel_doubleValue1) - : _lib._objc_msgSend_165(_id, _lib._sel_doubleValue1); + return objc.useMsgSendVariants + ? _lib._objc_msgSend_165_fpret(this.pointer, _lib._sel_doubleValue1) + : _lib._objc_msgSend_165(this.pointer, _lib._sel_doubleValue1); } double get floatValue { - return _lib._objc_msgSend_useVariants1 - ? _lib._objc_msgSend_239_fpret(_id, _lib._sel_floatValue1) - : _lib._objc_msgSend_239(_id, _lib._sel_floatValue1); + return objc.useMsgSendVariants + ? _lib._objc_msgSend_239_fpret(this.pointer, _lib._sel_floatValue1) + : _lib._objc_msgSend_239(this.pointer, _lib._sel_floatValue1); } int get intValue { - return _lib._objc_msgSend_237(_id, _lib._sel_intValue1); + return _lib._objc_msgSend_237(this.pointer, _lib._sel_intValue1); } int get integerValue { - return _lib._objc_msgSend_83(_id, _lib._sel_integerValue1); + return _lib._objc_msgSend_83(this.pointer, _lib._sel_integerValue1); } int get longLongValue { - return _lib._objc_msgSend_238(_id, _lib._sel_longLongValue1); + return _lib._objc_msgSend_238(this.pointer, _lib._sel_longLongValue1); } bool get boolValue { - return _lib._objc_msgSend_12(_id, _lib._sel_boolValue1); + return _lib._objc_msgSend_12(this.pointer, _lib._sel_boolValue1); } NSString get uppercaseString { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_uppercaseString1); + final _ret = _lib._objc_msgSend_21( + this.pointer, + _lib._sel_uppercaseString1, + ); return NSString._(_ret, _lib, retain: true, release: true); } NSString get lowercaseString { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_lowercaseString1); + final _ret = _lib._objc_msgSend_21( + this.pointer, + _lib._sel_lowercaseString1, + ); return NSString._(_ret, _lib, retain: true, release: true); } NSString get capitalizedString { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_capitalizedString1); + final _ret = _lib._objc_msgSend_21( + this.pointer, + _lib._sel_capitalizedString1, + ); return NSString._(_ret, _lib, retain: true, release: true); } NSString get localizedUppercaseString { - final _ret = - _lib._objc_msgSend_21(_id, _lib._sel_localizedUppercaseString1); + final _ret = _lib._objc_msgSend_21( + this.pointer, + _lib._sel_localizedUppercaseString1, + ); return NSString._(_ret, _lib, retain: true, release: true); } NSString get localizedLowercaseString { - final _ret = - _lib._objc_msgSend_21(_id, _lib._sel_localizedLowercaseString1); + final _ret = _lib._objc_msgSend_21( + this.pointer, + _lib._sel_localizedLowercaseString1, + ); return NSString._(_ret, _lib, retain: true, release: true); } NSString get localizedCapitalizedString { - final _ret = - _lib._objc_msgSend_21(_id, _lib._sel_localizedCapitalizedString1); + final _ret = _lib._objc_msgSend_21( + this.pointer, + _lib._sel_localizedCapitalizedString1, + ); return NSString._(_ret, _lib, retain: true, release: true); } NSString uppercaseStringWithLocale_(NSLocale? locale) { final _ret = _lib._objc_msgSend_349( - _id, _lib._sel_uppercaseStringWithLocale_1, locale?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_uppercaseStringWithLocale_1, + locale?.pointer ?? ffi.nullptr, + ); return NSString._(_ret, _lib, retain: true, release: true); } NSString lowercaseStringWithLocale_(NSLocale? locale) { final _ret = _lib._objc_msgSend_349( - _id, _lib._sel_lowercaseStringWithLocale_1, locale?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_lowercaseStringWithLocale_1, + locale?.pointer ?? ffi.nullptr, + ); return NSString._(_ret, _lib, retain: true, release: true); } NSString capitalizedStringWithLocale_(NSLocale? locale) { - final _ret = _lib._objc_msgSend_349(_id, - _lib._sel_capitalizedStringWithLocale_1, locale?._id ?? ffi.nullptr); + final _ret = _lib._objc_msgSend_349( + this.pointer, + _lib._sel_capitalizedStringWithLocale_1, + locale?.pointer ?? ffi.nullptr, + ); return NSString._(_ret, _lib, retain: true, release: true); } void getLineStart_end_contentsEnd_forRange_( - ffi.Pointer startPtr, - ffi.Pointer lineEndPtr, - ffi.Pointer contentsEndPtr, - _NSRange range) { + ffi.Pointer startPtr, + ffi.Pointer lineEndPtr, + ffi.Pointer contentsEndPtr, + _NSRange range, + ) { _lib._objc_msgSend_350( - _id, - _lib._sel_getLineStart_end_contentsEnd_forRange_1, - startPtr, - lineEndPtr, - contentsEndPtr, - range); + this.pointer, + _lib._sel_getLineStart_end_contentsEnd_forRange_1, + startPtr, + lineEndPtr, + contentsEndPtr, + range, + ); } void lineRangeForRange_(ffi.Pointer<_NSRange> stret, _NSRange range) { - _lib._objc_msgSend_useVariants1 + objc.useMsgSendVariants ? _lib._objc_msgSend_348_stret( - stret, _id, _lib._sel_lineRangeForRange_1, range) - : stret.ref = - _lib._objc_msgSend_348(_id, _lib._sel_lineRangeForRange_1, range); + stret, + this.pointer, + _lib._sel_lineRangeForRange_1, + range, + ) + : stret.ref = _lib._objc_msgSend_348( + this.pointer, + _lib._sel_lineRangeForRange_1, + range, + ); } void getParagraphStart_end_contentsEnd_forRange_( - ffi.Pointer startPtr, - ffi.Pointer parEndPtr, - ffi.Pointer contentsEndPtr, - _NSRange range) { + ffi.Pointer startPtr, + ffi.Pointer parEndPtr, + ffi.Pointer contentsEndPtr, + _NSRange range, + ) { _lib._objc_msgSend_350( - _id, - _lib._sel_getParagraphStart_end_contentsEnd_forRange_1, - startPtr, - parEndPtr, - contentsEndPtr, - range); + this.pointer, + _lib._sel_getParagraphStart_end_contentsEnd_forRange_1, + startPtr, + parEndPtr, + contentsEndPtr, + range, + ); } void paragraphRangeForRange_(ffi.Pointer<_NSRange> stret, _NSRange range) { - _lib._objc_msgSend_useVariants1 + objc.useMsgSendVariants ? _lib._objc_msgSend_348_stret( - stret, _id, _lib._sel_paragraphRangeForRange_1, range) + stret, + this.pointer, + _lib._sel_paragraphRangeForRange_1, + range, + ) : stret.ref = _lib._objc_msgSend_348( - _id, _lib._sel_paragraphRangeForRange_1, range); + this.pointer, + _lib._sel_paragraphRangeForRange_1, + range, + ); } - void enumerateSubstringsInRange_options_usingBlock_(_NSRange range, int opts, - ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool block) { + void enumerateSubstringsInRange_options_usingBlock_( + _NSRange range, + int opts, + ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool block, + ) { _lib._objc_msgSend_351( - _id, - _lib._sel_enumerateSubstringsInRange_options_usingBlock_1, - range, - opts, - block._id); + this.pointer, + _lib._sel_enumerateSubstringsInRange_options_usingBlock_1, + range, + opts, + block.pointer, + ); } void enumerateLinesUsingBlock_(ObjCBlock_ffiVoid_NSString_bool block) { _lib._objc_msgSend_352( - _id, _lib._sel_enumerateLinesUsingBlock_1, block._id); + this.pointer, + _lib._sel_enumerateLinesUsingBlock_1, + block.pointer, + ); } ffi.Pointer get UTF8String { - return _lib._objc_msgSend_13(_id, _lib._sel_UTF8String1); + return _lib._objc_msgSend_13(this.pointer, _lib._sel_UTF8String1); } int get fastestEncoding { - return _lib._objc_msgSend_10(_id, _lib._sel_fastestEncoding1); + return _lib._objc_msgSend_10(this.pointer, _lib._sel_fastestEncoding1); } int get smallestEncoding { - return _lib._objc_msgSend_10(_id, _lib._sel_smallestEncoding1); + return _lib._objc_msgSend_10(this.pointer, _lib._sel_smallestEncoding1); } NSData? dataUsingEncoding_allowLossyConversion_(int encoding, bool lossy) { - final _ret = _lib._objc_msgSend_353(_id, - _lib._sel_dataUsingEncoding_allowLossyConversion_1, encoding, lossy); + final _ret = _lib._objc_msgSend_353( + this.pointer, + _lib._sel_dataUsingEncoding_allowLossyConversion_1, + encoding, + lossy, + ); return _ret.address == 0 ? null : NSData._(_ret, _lib, retain: true, release: true); } NSData? dataUsingEncoding_(int encoding) { - final _ret = - _lib._objc_msgSend_354(_id, _lib._sel_dataUsingEncoding_1, encoding); + final _ret = _lib._objc_msgSend_354( + this.pointer, + _lib._sel_dataUsingEncoding_1, + encoding, + ); return _ret.address == 0 ? null : NSData._(_ret, _lib, retain: true, release: true); @@ -34714,351 +44058,465 @@ class NSString extends NSObject { bool canBeConvertedToEncoding_(int encoding) { return _lib._objc_msgSend_97( - _id, _lib._sel_canBeConvertedToEncoding_1, encoding); + this.pointer, + _lib._sel_canBeConvertedToEncoding_1, + encoding, + ); } ffi.Pointer cStringUsingEncoding_(int encoding) { return _lib._objc_msgSend_11( - _id, _lib._sel_cStringUsingEncoding_1, encoding); + this.pointer, + _lib._sel_cStringUsingEncoding_1, + encoding, + ); } bool getCString_maxLength_encoding_( - ffi.Pointer buffer, int maxBufferCount, int encoding) { + ffi.Pointer buffer, + int maxBufferCount, + int encoding, + ) { return _lib._objc_msgSend_355( - _id, - _lib._sel_getCString_maxLength_encoding_1, - buffer, - maxBufferCount, - encoding); + this.pointer, + _lib._sel_getCString_maxLength_encoding_1, + buffer, + maxBufferCount, + encoding, + ); } bool getBytes_maxLength_usedLength_encoding_options_range_remainingRange_( - ffi.Pointer buffer, - int maxBufferCount, - ffi.Pointer usedBufferCount, - int encoding, - int options, - _NSRange range, - ffi.Pointer<_NSRange> leftover) { + ffi.Pointer buffer, + int maxBufferCount, + ffi.Pointer usedBufferCount, + int encoding, + int options, + _NSRange range, + ffi.Pointer<_NSRange> leftover, + ) { return _lib._objc_msgSend_356( - _id, - _lib._sel_getBytes_maxLength_usedLength_encoding_options_range_remainingRange_1, - buffer, - maxBufferCount, - usedBufferCount, - encoding, - options, - range, - leftover); + this.pointer, + _lib._sel_getBytes_maxLength_usedLength_encoding_options_range_remainingRange_1, + buffer, + maxBufferCount, + usedBufferCount, + encoding, + options, + range, + leftover, + ); } int maximumLengthOfBytesUsingEncoding_(int enc) { return _lib._objc_msgSend_94( - _id, _lib._sel_maximumLengthOfBytesUsingEncoding_1, enc); + this.pointer, + _lib._sel_maximumLengthOfBytesUsingEncoding_1, + enc, + ); } int lengthOfBytesUsingEncoding_(int enc) { return _lib._objc_msgSend_94( - _id, _lib._sel_lengthOfBytesUsingEncoding_1, enc); + this.pointer, + _lib._sel_lengthOfBytesUsingEncoding_1, + enc, + ); } static ffi.Pointer getAvailableStringEncodings( - SwiftLibrary _lib) { + SwiftLibrary _lib, + ) { return _lib._objc_msgSend_357( - _lib._class_NSString1, _lib._sel_availableStringEncodings1); + _lib._class_NSString1, + _lib._sel_availableStringEncodings1, + ); } static NSString localizedNameOfStringEncoding_( - SwiftLibrary _lib, int encoding) { - final _ret = _lib._objc_msgSend_332(_lib._class_NSString1, - _lib._sel_localizedNameOfStringEncoding_1, encoding); + SwiftLibrary _lib, + int encoding, + ) { + final _ret = _lib._objc_msgSend_332( + _lib._class_NSString1, + _lib._sel_localizedNameOfStringEncoding_1, + encoding, + ); return NSString._(_ret, _lib, retain: true, release: true); } static int getDefaultCStringEncoding(SwiftLibrary _lib) { return _lib._objc_msgSend_10( - _lib._class_NSString1, _lib._sel_defaultCStringEncoding1); + _lib._class_NSString1, + _lib._sel_defaultCStringEncoding1, + ); } NSString get decomposedStringWithCanonicalMapping { final _ret = _lib._objc_msgSend_21( - _id, _lib._sel_decomposedStringWithCanonicalMapping1); + this.pointer, + _lib._sel_decomposedStringWithCanonicalMapping1, + ); return NSString._(_ret, _lib, retain: true, release: true); } NSString get precomposedStringWithCanonicalMapping { final _ret = _lib._objc_msgSend_21( - _id, _lib._sel_precomposedStringWithCanonicalMapping1); + this.pointer, + _lib._sel_precomposedStringWithCanonicalMapping1, + ); return NSString._(_ret, _lib, retain: true, release: true); } NSString get decomposedStringWithCompatibilityMapping { final _ret = _lib._objc_msgSend_21( - _id, _lib._sel_decomposedStringWithCompatibilityMapping1); + this.pointer, + _lib._sel_decomposedStringWithCompatibilityMapping1, + ); return NSString._(_ret, _lib, retain: true, release: true); } NSString get precomposedStringWithCompatibilityMapping { final _ret = _lib._objc_msgSend_21( - _id, _lib._sel_precomposedStringWithCompatibilityMapping1); + this.pointer, + _lib._sel_precomposedStringWithCompatibilityMapping1, + ); return NSString._(_ret, _lib, retain: true, release: true); } NSArray componentsSeparatedByString_(NSString separator) { final _ret = _lib._objc_msgSend_358( - _id, _lib._sel_componentsSeparatedByString_1, separator._id); + this.pointer, + _lib._sel_componentsSeparatedByString_1, + separator.pointer, + ); return NSArray._(_ret, _lib, retain: true, release: true); } NSArray componentsSeparatedByCharactersInSet_(NSCharacterSet separator) { final _ret = _lib._objc_msgSend_359( - _id, _lib._sel_componentsSeparatedByCharactersInSet_1, separator._id); + this.pointer, + _lib._sel_componentsSeparatedByCharactersInSet_1, + separator.pointer, + ); return NSArray._(_ret, _lib, retain: true, release: true); } NSString stringByTrimmingCharactersInSet_(NSCharacterSet set) { final _ret = _lib._objc_msgSend_360( - _id, _lib._sel_stringByTrimmingCharactersInSet_1, set._id); + this.pointer, + _lib._sel_stringByTrimmingCharactersInSet_1, + set.pointer, + ); return NSString._(_ret, _lib, retain: true, release: true); } NSString stringByPaddingToLength_withString_startingAtIndex_( - int newLength, NSString padString, int padIndex) { + int newLength, + NSString padString, + int padIndex, + ) { final _ret = _lib._objc_msgSend_361( - _id, - _lib._sel_stringByPaddingToLength_withString_startingAtIndex_1, - newLength, - padString._id, - padIndex); + this.pointer, + _lib._sel_stringByPaddingToLength_withString_startingAtIndex_1, + newLength, + padString.pointer, + padIndex, + ); return NSString._(_ret, _lib, retain: true, release: true); } NSString stringByFoldingWithOptions_locale_(int options, NSLocale? locale) { final _ret = _lib._objc_msgSend_362( - _id, - _lib._sel_stringByFoldingWithOptions_locale_1, - options, - locale?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_stringByFoldingWithOptions_locale_1, + options, + locale?.pointer ?? ffi.nullptr, + ); return NSString._(_ret, _lib, retain: true, release: true); } NSString stringByReplacingOccurrencesOfString_withString_options_range_( - NSString target, - NSString replacement, - int options, - _NSRange searchRange) { + NSString target, + NSString replacement, + int options, + _NSRange searchRange, + ) { final _ret = _lib._objc_msgSend_363( - _id, - _lib._sel_stringByReplacingOccurrencesOfString_withString_options_range_1, - target._id, - replacement._id, - options, - searchRange); + this.pointer, + _lib._sel_stringByReplacingOccurrencesOfString_withString_options_range_1, + target.pointer, + replacement.pointer, + options, + searchRange, + ); return NSString._(_ret, _lib, retain: true, release: true); } NSString stringByReplacingOccurrencesOfString_withString_( - NSString target, NSString replacement) { + NSString target, + NSString replacement, + ) { final _ret = _lib._objc_msgSend_364( - _id, - _lib._sel_stringByReplacingOccurrencesOfString_withString_1, - target._id, - replacement._id); + this.pointer, + _lib._sel_stringByReplacingOccurrencesOfString_withString_1, + target.pointer, + replacement.pointer, + ); return NSString._(_ret, _lib, retain: true, release: true); } NSString stringByReplacingCharactersInRange_withString_( - _NSRange range, NSString replacement) { + _NSRange range, + NSString replacement, + ) { final _ret = _lib._objc_msgSend_365( - _id, - _lib._sel_stringByReplacingCharactersInRange_withString_1, - range, - replacement._id); + this.pointer, + _lib._sel_stringByReplacingCharactersInRange_withString_1, + range, + replacement.pointer, + ); return NSString._(_ret, _lib, retain: true, release: true); } NSString? stringByApplyingTransform_reverse_( - NSString transform, bool reverse) { - final _ret = _lib._objc_msgSend_366(_id, - _lib._sel_stringByApplyingTransform_reverse_1, transform._id, reverse); + NSString transform, + bool reverse, + ) { + final _ret = _lib._objc_msgSend_366( + this.pointer, + _lib._sel_stringByApplyingTransform_reverse_1, + transform.pointer, + reverse, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } - bool writeToURL_atomically_encoding_error_(NSURL url, bool useAuxiliaryFile, - int enc, ffi.Pointer> error) { + bool writeToURL_atomically_encoding_error_( + NSURL url, + bool useAuxiliaryFile, + int enc, + ffi.Pointer> error, + ) { return _lib._objc_msgSend_367( - _id, - _lib._sel_writeToURL_atomically_encoding_error_1, - url._id, - useAuxiliaryFile, - enc, - error); + this.pointer, + _lib._sel_writeToURL_atomically_encoding_error_1, + url.pointer, + useAuxiliaryFile, + enc, + error, + ); } bool writeToFile_atomically_encoding_error_( - NSString path, - bool useAuxiliaryFile, - int enc, - ffi.Pointer> error) { + NSString path, + bool useAuxiliaryFile, + int enc, + ffi.Pointer> error, + ) { return _lib._objc_msgSend_368( - _id, - _lib._sel_writeToFile_atomically_encoding_error_1, - path._id, - useAuxiliaryFile, - enc, - error); + this.pointer, + _lib._sel_writeToFile_atomically_encoding_error_1, + path.pointer, + useAuxiliaryFile, + enc, + error, + ); } NSString get description { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_description1); + final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_description1); return NSString._(_ret, _lib, retain: true, release: true); } int get hash { - return _lib._objc_msgSend_10(_id, _lib._sel_hash1); + return _lib._objc_msgSend_10(this.pointer, _lib._sel_hash1); } NSString initWithCharactersNoCopy_length_freeWhenDone_( - ffi.Pointer characters, int length, bool freeBuffer) { + ffi.Pointer characters, + int length, + bool freeBuffer, + ) { final _ret = _lib._objc_msgSend_369( - _id, - _lib._sel_initWithCharactersNoCopy_length_freeWhenDone_1, - characters, - length, - freeBuffer); + this.pointer, + _lib._sel_initWithCharactersNoCopy_length_freeWhenDone_1, + characters, + length, + freeBuffer, + ); return NSString._(_ret, _lib, retain: false, release: true); } NSString initWithCharactersNoCopy_length_deallocator_( - ffi.Pointer chars, - int len, - ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong? deallocator) { + ffi.Pointer chars, + int len, + ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong? deallocator, + ) { final _ret = _lib._objc_msgSend_370( - _id, - _lib._sel_initWithCharactersNoCopy_length_deallocator_1, - chars, - len, - deallocator?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_initWithCharactersNoCopy_length_deallocator_1, + chars, + len, + deallocator?.pointer ?? ffi.nullptr, + ); return NSString._(_ret, _lib, retain: false, release: true); } NSString initWithCharacters_length_( - ffi.Pointer characters, int length) { + ffi.Pointer characters, + int length, + ) { final _ret = _lib._objc_msgSend_371( - _id, _lib._sel_initWithCharacters_length_1, characters, length); + this.pointer, + _lib._sel_initWithCharacters_length_1, + characters, + length, + ); return NSString._(_ret, _lib, retain: true, release: true); } NSString? initWithUTF8String_(ffi.Pointer nullTerminatedCString) { final _ret = _lib._objc_msgSend_372( - _id, _lib._sel_initWithUTF8String_1, nullTerminatedCString); + this.pointer, + _lib._sel_initWithUTF8String_1, + nullTerminatedCString, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } NSString initWithString_(NSString aString) { - final _ret = - _lib._objc_msgSend_31(_id, _lib._sel_initWithString_1, aString._id); + final _ret = _lib._objc_msgSend_31( + this.pointer, + _lib._sel_initWithString_1, + aString.pointer, + ); return NSString._(_ret, _lib, retain: true, release: true); } NSString initWithFormat_(NSString format) { - final _ret = - _lib._objc_msgSend_31(_id, _lib._sel_initWithFormat_1, format._id); + final _ret = _lib._objc_msgSend_31( + this.pointer, + _lib._sel_initWithFormat_1, + format.pointer, + ); return NSString._(_ret, _lib, retain: true, release: true); } NSString initWithFormat_arguments_( - NSString format, ffi.Pointer<__va_list_tag> argList) { + NSString format, + ffi.Pointer<__va_list_tag> argList, + ) { final _ret = _lib._objc_msgSend_373( - _id, _lib._sel_initWithFormat_arguments_1, format._id, argList); + this.pointer, + _lib._sel_initWithFormat_arguments_1, + format.pointer, + argList, + ); return NSString._(_ret, _lib, retain: true, release: true); } NSString initWithFormat_locale_(NSString format, NSObject? locale) { - final _ret = _lib._objc_msgSend_374(_id, _lib._sel_initWithFormat_locale_1, - format._id, locale?._id ?? ffi.nullptr); + final _ret = _lib._objc_msgSend_374( + this.pointer, + _lib._sel_initWithFormat_locale_1, + format.pointer, + locale?.pointer ?? ffi.nullptr, + ); return NSString._(_ret, _lib, retain: true, release: true); } NSString initWithFormat_locale_arguments_( - NSString format, NSObject? locale, ffi.Pointer<__va_list_tag> argList) { + NSString format, + NSObject? locale, + ffi.Pointer<__va_list_tag> argList, + ) { final _ret = _lib._objc_msgSend_375( - _id, - _lib._sel_initWithFormat_locale_arguments_1, - format._id, - locale?._id ?? ffi.nullptr, - argList); + this.pointer, + _lib._sel_initWithFormat_locale_arguments_1, + format.pointer, + locale?.pointer ?? ffi.nullptr, + argList, + ); return NSString._(_ret, _lib, retain: true, release: true); } NSString? initWithValidatedFormat_validFormatSpecifiers_error_( - NSString format, - NSString validFormatSpecifiers, - ffi.Pointer> error) { + NSString format, + NSString validFormatSpecifiers, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_376( - _id, - _lib._sel_initWithValidatedFormat_validFormatSpecifiers_error_1, - format._id, - validFormatSpecifiers._id, - error); + this.pointer, + _lib._sel_initWithValidatedFormat_validFormatSpecifiers_error_1, + format.pointer, + validFormatSpecifiers.pointer, + error, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } NSString? initWithValidatedFormat_validFormatSpecifiers_locale_error_( - NSString format, - NSString validFormatSpecifiers, - NSObject? locale, - ffi.Pointer> error) { + NSString format, + NSString validFormatSpecifiers, + NSObject? locale, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_377( - _id, - _lib._sel_initWithValidatedFormat_validFormatSpecifiers_locale_error_1, - format._id, - validFormatSpecifiers._id, - locale?._id ?? ffi.nullptr, - error); + this.pointer, + _lib._sel_initWithValidatedFormat_validFormatSpecifiers_locale_error_1, + format.pointer, + validFormatSpecifiers.pointer, + locale?.pointer ?? ffi.nullptr, + error, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } NSString? initWithValidatedFormat_validFormatSpecifiers_arguments_error_( - NSString format, - NSString validFormatSpecifiers, - ffi.Pointer<__va_list_tag> argList, - ffi.Pointer> error) { + NSString format, + NSString validFormatSpecifiers, + ffi.Pointer<__va_list_tag> argList, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_378( - _id, - _lib._sel_initWithValidatedFormat_validFormatSpecifiers_arguments_error_1, - format._id, - validFormatSpecifiers._id, - argList, - error); + this.pointer, + _lib._sel_initWithValidatedFormat_validFormatSpecifiers_arguments_error_1, + format.pointer, + validFormatSpecifiers.pointer, + argList, + error, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } NSString? - initWithValidatedFormat_validFormatSpecifiers_locale_arguments_error_( - NSString format, - NSString validFormatSpecifiers, - NSObject? locale, - ffi.Pointer<__va_list_tag> argList, - ffi.Pointer> error) { + initWithValidatedFormat_validFormatSpecifiers_locale_arguments_error_( + NSString format, + NSString validFormatSpecifiers, + NSObject? locale, + ffi.Pointer<__va_list_tag> argList, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_379( - _id, - _lib._sel_initWithValidatedFormat_validFormatSpecifiers_locale_arguments_error_1, - format._id, - validFormatSpecifiers._id, - locale?._id ?? ffi.nullptr, - argList, - error); + this.pointer, + _lib._sel_initWithValidatedFormat_validFormatSpecifiers_locale_arguments_error_1, + format.pointer, + validFormatSpecifiers.pointer, + locale?.pointer ?? ffi.nullptr, + argList, + error, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); @@ -35066,47 +44524,66 @@ class NSString extends NSObject { NSString? initWithData_encoding_(NSData data, int encoding) { final _ret = _lib._objc_msgSend_380( - _id, _lib._sel_initWithData_encoding_1, data._id, encoding); + this.pointer, + _lib._sel_initWithData_encoding_1, + data.pointer, + encoding, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } NSString? initWithBytes_length_encoding_( - ffi.Pointer bytes, int len, int encoding) { + ffi.Pointer bytes, + int len, + int encoding, + ) { final _ret = _lib._objc_msgSend_381( - _id, _lib._sel_initWithBytes_length_encoding_1, bytes, len, encoding); + this.pointer, + _lib._sel_initWithBytes_length_encoding_1, + bytes, + len, + encoding, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } NSString? initWithBytesNoCopy_length_encoding_freeWhenDone_( - ffi.Pointer bytes, int len, int encoding, bool freeBuffer) { + ffi.Pointer bytes, + int len, + int encoding, + bool freeBuffer, + ) { final _ret = _lib._objc_msgSend_382( - _id, - _lib._sel_initWithBytesNoCopy_length_encoding_freeWhenDone_1, - bytes, - len, - encoding, - freeBuffer); + this.pointer, + _lib._sel_initWithBytesNoCopy_length_encoding_freeWhenDone_1, + bytes, + len, + encoding, + freeBuffer, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: false, release: true); } NSString? initWithBytesNoCopy_length_encoding_deallocator_( - ffi.Pointer bytes, - int len, - int encoding, - ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong? deallocator) { + ffi.Pointer bytes, + int len, + int encoding, + ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong? deallocator, + ) { final _ret = _lib._objc_msgSend_383( - _id, - _lib._sel_initWithBytesNoCopy_length_encoding_deallocator_1, - bytes, - len, - encoding, - deallocator?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_initWithBytesNoCopy_length_encoding_deallocator_1, + bytes, + len, + encoding, + deallocator?.pointer ?? ffi.nullptr, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: false, release: true); @@ -35119,21 +44596,36 @@ class NSString extends NSObject { static NSString stringWithString_(SwiftLibrary _lib, NSString string) { final _ret = _lib._objc_msgSend_31( - _lib._class_NSString1, _lib._sel_stringWithString_1, string._id); + _lib._class_NSString1, + _lib._sel_stringWithString_1, + string.pointer, + ); return NSString._(_ret, _lib, retain: true, release: true); } - static NSString stringWithCharacters_length_(SwiftLibrary _lib, - ffi.Pointer characters, int length) { - final _ret = _lib._objc_msgSend_371(_lib._class_NSString1, - _lib._sel_stringWithCharacters_length_1, characters, length); + static NSString stringWithCharacters_length_( + SwiftLibrary _lib, + ffi.Pointer characters, + int length, + ) { + final _ret = _lib._objc_msgSend_371( + _lib._class_NSString1, + _lib._sel_stringWithCharacters_length_1, + characters, + length, + ); return NSString._(_ret, _lib, retain: true, release: true); } static NSString? stringWithUTF8String_( - SwiftLibrary _lib, ffi.Pointer nullTerminatedCString) { - final _ret = _lib._objc_msgSend_372(_lib._class_NSString1, - _lib._sel_stringWithUTF8String_1, nullTerminatedCString); + SwiftLibrary _lib, + ffi.Pointer nullTerminatedCString, + ) { + final _ret = _lib._objc_msgSend_372( + _lib._class_NSString1, + _lib._sel_stringWithUTF8String_1, + nullTerminatedCString, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); @@ -35141,260 +44633,342 @@ class NSString extends NSObject { static NSString stringWithFormat_(SwiftLibrary _lib, NSString format) { final _ret = _lib._objc_msgSend_31( - _lib._class_NSString1, _lib._sel_stringWithFormat_1, format._id); + _lib._class_NSString1, + _lib._sel_stringWithFormat_1, + format.pointer, + ); return NSString._(_ret, _lib, retain: true, release: true); } static NSString localizedStringWithFormat_( - SwiftLibrary _lib, NSString format) { - final _ret = _lib._objc_msgSend_31(_lib._class_NSString1, - _lib._sel_localizedStringWithFormat_1, format._id); + SwiftLibrary _lib, + NSString format, + ) { + final _ret = _lib._objc_msgSend_31( + _lib._class_NSString1, + _lib._sel_localizedStringWithFormat_1, + format.pointer, + ); return NSString._(_ret, _lib, retain: true, release: true); } static NSString? stringWithValidatedFormat_validFormatSpecifiers_error_( - SwiftLibrary _lib, - NSString format, - NSString validFormatSpecifiers, - ffi.Pointer> error) { + SwiftLibrary _lib, + NSString format, + NSString validFormatSpecifiers, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_376( - _lib._class_NSString1, - _lib._sel_stringWithValidatedFormat_validFormatSpecifiers_error_1, - format._id, - validFormatSpecifiers._id, - error); + _lib._class_NSString1, + _lib._sel_stringWithValidatedFormat_validFormatSpecifiers_error_1, + format.pointer, + validFormatSpecifiers.pointer, + error, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } static NSString? - localizedStringWithValidatedFormat_validFormatSpecifiers_error_( - SwiftLibrary _lib, - NSString format, - NSString validFormatSpecifiers, - ffi.Pointer> error) { + localizedStringWithValidatedFormat_validFormatSpecifiers_error_( + SwiftLibrary _lib, + NSString format, + NSString validFormatSpecifiers, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_376( - _lib._class_NSString1, - _lib._sel_localizedStringWithValidatedFormat_validFormatSpecifiers_error_1, - format._id, - validFormatSpecifiers._id, - error); + _lib._class_NSString1, + _lib._sel_localizedStringWithValidatedFormat_validFormatSpecifiers_error_1, + format.pointer, + validFormatSpecifiers.pointer, + error, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } NSString? initWithCString_encoding_( - ffi.Pointer nullTerminatedCString, int encoding) { - final _ret = _lib._objc_msgSend_384(_id, - _lib._sel_initWithCString_encoding_1, nullTerminatedCString, encoding); + ffi.Pointer nullTerminatedCString, + int encoding, + ) { + final _ret = _lib._objc_msgSend_384( + this.pointer, + _lib._sel_initWithCString_encoding_1, + nullTerminatedCString, + encoding, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } static NSString? stringWithCString_encoding_( - SwiftLibrary _lib, ffi.Pointer cString, int enc) { - final _ret = _lib._objc_msgSend_384(_lib._class_NSString1, - _lib._sel_stringWithCString_encoding_1, cString, enc); + SwiftLibrary _lib, + ffi.Pointer cString, + int enc, + ) { + final _ret = _lib._objc_msgSend_384( + _lib._class_NSString1, + _lib._sel_stringWithCString_encoding_1, + cString, + enc, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } NSString? initWithContentsOfURL_encoding_error_( - NSURL url, int enc, ffi.Pointer> error) { - final _ret = _lib._objc_msgSend_385(_id, - _lib._sel_initWithContentsOfURL_encoding_error_1, url._id, enc, error); + NSURL url, + int enc, + ffi.Pointer> error, + ) { + final _ret = _lib._objc_msgSend_385( + this.pointer, + _lib._sel_initWithContentsOfURL_encoding_error_1, + url.pointer, + enc, + error, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } NSString? initWithContentsOfFile_encoding_error_( - NSString path, int enc, ffi.Pointer> error) { + NSString path, + int enc, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_386( - _id, - _lib._sel_initWithContentsOfFile_encoding_error_1, - path._id, - enc, - error); + this.pointer, + _lib._sel_initWithContentsOfFile_encoding_error_1, + path.pointer, + enc, + error, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } - static NSString? stringWithContentsOfURL_encoding_error_(SwiftLibrary _lib, - NSURL url, int enc, ffi.Pointer> error) { + static NSString? stringWithContentsOfURL_encoding_error_( + SwiftLibrary _lib, + NSURL url, + int enc, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_385( - _lib._class_NSString1, - _lib._sel_stringWithContentsOfURL_encoding_error_1, - url._id, - enc, - error); + _lib._class_NSString1, + _lib._sel_stringWithContentsOfURL_encoding_error_1, + url.pointer, + enc, + error, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } - static NSString? stringWithContentsOfFile_encoding_error_(SwiftLibrary _lib, - NSString path, int enc, ffi.Pointer> error) { + static NSString? stringWithContentsOfFile_encoding_error_( + SwiftLibrary _lib, + NSString path, + int enc, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_386( - _lib._class_NSString1, - _lib._sel_stringWithContentsOfFile_encoding_error_1, - path._id, - enc, - error); + _lib._class_NSString1, + _lib._sel_stringWithContentsOfFile_encoding_error_1, + path.pointer, + enc, + error, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } NSString? initWithContentsOfURL_usedEncoding_error_( - NSURL url, - ffi.Pointer enc, - ffi.Pointer> error) { + NSURL url, + ffi.Pointer enc, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_387( - _id, - _lib._sel_initWithContentsOfURL_usedEncoding_error_1, - url._id, - enc, - error); + this.pointer, + _lib._sel_initWithContentsOfURL_usedEncoding_error_1, + url.pointer, + enc, + error, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } NSString? initWithContentsOfFile_usedEncoding_error_( - NSString path, - ffi.Pointer enc, - ffi.Pointer> error) { + NSString path, + ffi.Pointer enc, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_388( - _id, - _lib._sel_initWithContentsOfFile_usedEncoding_error_1, - path._id, - enc, - error); + this.pointer, + _lib._sel_initWithContentsOfFile_usedEncoding_error_1, + path.pointer, + enc, + error, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } static NSString? stringWithContentsOfURL_usedEncoding_error_( - SwiftLibrary _lib, - NSURL url, - ffi.Pointer enc, - ffi.Pointer> error) { + SwiftLibrary _lib, + NSURL url, + ffi.Pointer enc, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_387( - _lib._class_NSString1, - _lib._sel_stringWithContentsOfURL_usedEncoding_error_1, - url._id, - enc, - error); + _lib._class_NSString1, + _lib._sel_stringWithContentsOfURL_usedEncoding_error_1, + url.pointer, + enc, + error, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } static NSString? stringWithContentsOfFile_usedEncoding_error_( - SwiftLibrary _lib, - NSString path, - ffi.Pointer enc, - ffi.Pointer> error) { + SwiftLibrary _lib, + NSString path, + ffi.Pointer enc, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_388( - _lib._class_NSString1, - _lib._sel_stringWithContentsOfFile_usedEncoding_error_1, - path._id, - enc, - error); + _lib._class_NSString1, + _lib._sel_stringWithContentsOfFile_usedEncoding_error_1, + path.pointer, + enc, + error, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } static int - stringEncodingForData_encodingOptions_convertedString_usedLossyConversion_( - SwiftLibrary _lib, - NSData data, - NSDictionary? opts, - ffi.Pointer> string, - ffi.Pointer usedLossyConversion) { + stringEncodingForData_encodingOptions_convertedString_usedLossyConversion_( + SwiftLibrary _lib, + NSData data, + NSDictionary? opts, + ffi.Pointer> string, + ffi.Pointer usedLossyConversion, + ) { return _lib._objc_msgSend_389( - _lib._class_NSString1, - _lib._sel_stringEncodingForData_encodingOptions_convertedString_usedLossyConversion_1, - data._id, - opts?._id ?? ffi.nullptr, - string, - usedLossyConversion); + _lib._class_NSString1, + _lib._sel_stringEncodingForData_encodingOptions_convertedString_usedLossyConversion_1, + data.pointer, + opts?.pointer ?? ffi.nullptr, + string, + usedLossyConversion, + ); } NSObject propertyList() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_propertyList1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_propertyList1); return NSObject._(_ret, _lib, retain: true, release: true); } NSDictionary? propertyListFromStringsFileFormat() { final _ret = _lib._objc_msgSend_390( - _id, _lib._sel_propertyListFromStringsFileFormat1); + this.pointer, + _lib._sel_propertyListFromStringsFileFormat1, + ); return _ret.address == 0 ? null : NSDictionary._(_ret, _lib, retain: true, release: true); } ffi.Pointer cString() { - return _lib._objc_msgSend_13(_id, _lib._sel_cString1); + return _lib._objc_msgSend_13(this.pointer, _lib._sel_cString1); } ffi.Pointer lossyCString() { - return _lib._objc_msgSend_13(_id, _lib._sel_lossyCString1); + return _lib._objc_msgSend_13(this.pointer, _lib._sel_lossyCString1); } int cStringLength() { - return _lib._objc_msgSend_10(_id, _lib._sel_cStringLength1); + return _lib._objc_msgSend_10(this.pointer, _lib._sel_cStringLength1); } void getCString_(ffi.Pointer bytes) { - _lib._objc_msgSend_290(_id, _lib._sel_getCString_1, bytes); + _lib._objc_msgSend_290(this.pointer, _lib._sel_getCString_1, bytes); } void getCString_maxLength_(ffi.Pointer bytes, int maxLength) { _lib._objc_msgSend_391( - _id, _lib._sel_getCString_maxLength_1, bytes, maxLength); + this.pointer, + _lib._sel_getCString_maxLength_1, + bytes, + maxLength, + ); } - void getCString_maxLength_range_remainingRange_(ffi.Pointer bytes, - int maxLength, _NSRange aRange, ffi.Pointer<_NSRange> leftoverRange) { + void getCString_maxLength_range_remainingRange_( + ffi.Pointer bytes, + int maxLength, + _NSRange aRange, + ffi.Pointer<_NSRange> leftoverRange, + ) { _lib._objc_msgSend_392( - _id, - _lib._sel_getCString_maxLength_range_remainingRange_1, - bytes, - maxLength, - aRange, - leftoverRange); + this.pointer, + _lib._sel_getCString_maxLength_range_remainingRange_1, + bytes, + maxLength, + aRange, + leftoverRange, + ); } bool writeToFile_atomically_(NSString path, bool useAuxiliaryFile) { return _lib._objc_msgSend_26( - _id, _lib._sel_writeToFile_atomically_1, path._id, useAuxiliaryFile); + this.pointer, + _lib._sel_writeToFile_atomically_1, + path.pointer, + useAuxiliaryFile, + ); } bool writeToURL_atomically_(NSURL url, bool atomically) { return _lib._objc_msgSend_134( - _id, _lib._sel_writeToURL_atomically_1, url._id, atomically); + this.pointer, + _lib._sel_writeToURL_atomically_1, + url.pointer, + atomically, + ); } NSObject? initWithContentsOfFile_(NSString path) { final _ret = _lib._objc_msgSend_38( - _id, _lib._sel_initWithContentsOfFile_1, path._id); + this.pointer, + _lib._sel_initWithContentsOfFile_1, + path.pointer, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } NSObject? initWithContentsOfURL_(NSURL url) { - final _ret = - _lib._objc_msgSend_277(_id, _lib._sel_initWithContentsOfURL_1, url._id); + final _ret = _lib._objc_msgSend_277( + this.pointer, + _lib._sel_initWithContentsOfURL_1, + url.pointer, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); @@ -35402,7 +44976,10 @@ class NSString extends NSObject { static NSObject? stringWithContentsOfFile_(SwiftLibrary _lib, NSString path) { final _ret = _lib._objc_msgSend_38( - _lib._class_NSString1, _lib._sel_stringWithContentsOfFile_1, path._id); + _lib._class_NSString1, + _lib._sel_stringWithContentsOfFile_1, + path.pointer, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); @@ -35410,20 +44987,27 @@ class NSString extends NSObject { static NSObject? stringWithContentsOfURL_(SwiftLibrary _lib, NSURL url) { final _ret = _lib._objc_msgSend_277( - _lib._class_NSString1, _lib._sel_stringWithContentsOfURL_1, url._id); + _lib._class_NSString1, + _lib._sel_stringWithContentsOfURL_1, + url.pointer, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } NSObject? initWithCStringNoCopy_length_freeWhenDone_( - ffi.Pointer bytes, int length, bool freeBuffer) { + ffi.Pointer bytes, + int length, + bool freeBuffer, + ) { final _ret = _lib._objc_msgSend_393( - _id, - _lib._sel_initWithCStringNoCopy_length_freeWhenDone_1, - bytes, - length, - freeBuffer); + this.pointer, + _lib._sel_initWithCStringNoCopy_length_freeWhenDone_1, + bytes, + length, + freeBuffer, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: false, release: true); @@ -35431,94 +45015,132 @@ class NSString extends NSObject { NSObject? initWithCString_length_(ffi.Pointer bytes, int length) { final _ret = _lib._objc_msgSend_384( - _id, _lib._sel_initWithCString_length_1, bytes, length); + this.pointer, + _lib._sel_initWithCString_length_1, + bytes, + length, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } NSObject? initWithCString_(ffi.Pointer bytes) { - final _ret = - _lib._objc_msgSend_372(_id, _lib._sel_initWithCString_1, bytes); + final _ret = _lib._objc_msgSend_372( + this.pointer, + _lib._sel_initWithCString_1, + bytes, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } static NSObject? stringWithCString_length_( - SwiftLibrary _lib, ffi.Pointer bytes, int length) { - final _ret = _lib._objc_msgSend_384(_lib._class_NSString1, - _lib._sel_stringWithCString_length_1, bytes, length); + SwiftLibrary _lib, + ffi.Pointer bytes, + int length, + ) { + final _ret = _lib._objc_msgSend_384( + _lib._class_NSString1, + _lib._sel_stringWithCString_length_1, + bytes, + length, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } static NSObject? stringWithCString_( - SwiftLibrary _lib, ffi.Pointer bytes) { + SwiftLibrary _lib, + ffi.Pointer bytes, + ) { final _ret = _lib._objc_msgSend_372( - _lib._class_NSString1, _lib._sel_stringWithCString_1, bytes); + _lib._class_NSString1, + _lib._sel_stringWithCString_1, + bytes, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } void getCharacters_(ffi.Pointer buffer) { - _lib._objc_msgSend_394(_id, _lib._sel_getCharacters_1, buffer); + _lib._objc_msgSend_394(this.pointer, _lib._sel_getCharacters_1, buffer); } NSString variantFittingPresentationWidth_(int width) { final _ret = _lib._objc_msgSend_395( - _id, _lib._sel_variantFittingPresentationWidth_1, width); + this.pointer, + _lib._sel_variantFittingPresentationWidth_1, + width, + ); return NSString._(_ret, _lib, retain: true, release: true); } static NSString pathWithComponents_(SwiftLibrary _lib, NSArray components) { final _ret = _lib._objc_msgSend_396( - _lib._class_NSString1, _lib._sel_pathWithComponents_1, components._id); + _lib._class_NSString1, + _lib._sel_pathWithComponents_1, + components.pointer, + ); return NSString._(_ret, _lib, retain: true, release: true); } NSArray get pathComponents { - final _ret = _lib._objc_msgSend_85(_id, _lib._sel_pathComponents1); + final _ret = _lib._objc_msgSend_85(this.pointer, _lib._sel_pathComponents1); return NSArray._(_ret, _lib, retain: true, release: true); } bool get absolutePath { - return _lib._objc_msgSend_12(_id, _lib._sel_isAbsolutePath1); + return _lib._objc_msgSend_12(this.pointer, _lib._sel_isAbsolutePath1); } NSString get lastPathComponent { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_lastPathComponent1); + final _ret = _lib._objc_msgSend_21( + this.pointer, + _lib._sel_lastPathComponent1, + ); return NSString._(_ret, _lib, retain: true, release: true); } NSString get stringByDeletingLastPathComponent { final _ret = _lib._objc_msgSend_21( - _id, _lib._sel_stringByDeletingLastPathComponent1); + this.pointer, + _lib._sel_stringByDeletingLastPathComponent1, + ); return NSString._(_ret, _lib, retain: true, release: true); } NSString stringByAppendingPathComponent_(NSString str) { final _ret = _lib._objc_msgSend_69( - _id, _lib._sel_stringByAppendingPathComponent_1, str._id); + this.pointer, + _lib._sel_stringByAppendingPathComponent_1, + str.pointer, + ); return NSString._(_ret, _lib, retain: true, release: true); } NSString get pathExtension { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_pathExtension1); + final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_pathExtension1); return NSString._(_ret, _lib, retain: true, release: true); } NSString get stringByDeletingPathExtension { - final _ret = - _lib._objc_msgSend_21(_id, _lib._sel_stringByDeletingPathExtension1); + final _ret = _lib._objc_msgSend_21( + this.pointer, + _lib._sel_stringByDeletingPathExtension1, + ); return NSString._(_ret, _lib, retain: true, release: true); } NSString? stringByAppendingPathExtension_(NSString str) { final _ret = _lib._objc_msgSend_186( - _id, _lib._sel_stringByAppendingPathExtension_1, str._id); + this.pointer, + _lib._sel_stringByAppendingPathExtension_1, + str.pointer, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); @@ -35526,72 +45148,98 @@ class NSString extends NSObject { NSString get stringByAbbreviatingWithTildeInPath { final _ret = _lib._objc_msgSend_21( - _id, _lib._sel_stringByAbbreviatingWithTildeInPath1); + this.pointer, + _lib._sel_stringByAbbreviatingWithTildeInPath1, + ); return NSString._(_ret, _lib, retain: true, release: true); } NSString get stringByExpandingTildeInPath { - final _ret = - _lib._objc_msgSend_21(_id, _lib._sel_stringByExpandingTildeInPath1); + final _ret = _lib._objc_msgSend_21( + this.pointer, + _lib._sel_stringByExpandingTildeInPath1, + ); return NSString._(_ret, _lib, retain: true, release: true); } NSString get stringByStandardizingPath { - final _ret = - _lib._objc_msgSend_21(_id, _lib._sel_stringByStandardizingPath1); + final _ret = _lib._objc_msgSend_21( + this.pointer, + _lib._sel_stringByStandardizingPath1, + ); return NSString._(_ret, _lib, retain: true, release: true); } NSString get stringByResolvingSymlinksInPath { - final _ret = - _lib._objc_msgSend_21(_id, _lib._sel_stringByResolvingSymlinksInPath1); + final _ret = _lib._objc_msgSend_21( + this.pointer, + _lib._sel_stringByResolvingSymlinksInPath1, + ); return NSString._(_ret, _lib, retain: true, release: true); } NSArray stringsByAppendingPaths_(NSArray paths) { final _ret = _lib._objc_msgSend_68( - _id, _lib._sel_stringsByAppendingPaths_1, paths._id); + this.pointer, + _lib._sel_stringsByAppendingPaths_1, + paths.pointer, + ); return NSArray._(_ret, _lib, retain: true, release: true); } int completePathIntoString_caseSensitive_matchesIntoArray_filterTypes_( - ffi.Pointer> outputName, - bool flag, - ffi.Pointer> outputArray, - NSArray? filterTypes) { + ffi.Pointer> outputName, + bool flag, + ffi.Pointer> outputArray, + NSArray? filterTypes, + ) { return _lib._objc_msgSend_397( - _id, - _lib._sel_completePathIntoString_caseSensitive_matchesIntoArray_filterTypes_1, - outputName, - flag, - outputArray, - filterTypes?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_completePathIntoString_caseSensitive_matchesIntoArray_filterTypes_1, + outputName, + flag, + outputArray, + filterTypes?.pointer ?? ffi.nullptr, + ); } ffi.Pointer get fileSystemRepresentation { - return _lib._objc_msgSend_13(_id, _lib._sel_fileSystemRepresentation1); + return _lib._objc_msgSend_13( + this.pointer, + _lib._sel_fileSystemRepresentation1, + ); } bool getFileSystemRepresentation_maxLength_( - ffi.Pointer cname, int max) { + ffi.Pointer cname, + int max, + ) { return _lib._objc_msgSend_242( - _id, _lib._sel_getFileSystemRepresentation_maxLength_1, cname, max); + this.pointer, + _lib._sel_getFileSystemRepresentation_maxLength_1, + cname, + max, + ); } NSString? stringByAddingPercentEncodingWithAllowedCharacters_( - NSCharacterSet allowedCharacters) { + NSCharacterSet allowedCharacters, + ) { final _ret = _lib._objc_msgSend_398( - _id, - _lib._sel_stringByAddingPercentEncodingWithAllowedCharacters_1, - allowedCharacters._id); + this.pointer, + _lib._sel_stringByAddingPercentEncodingWithAllowedCharacters_1, + allowedCharacters.pointer, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } NSString? get stringByRemovingPercentEncoding { - final _ret = - _lib._objc_msgSend_44(_id, _lib._sel_stringByRemovingPercentEncoding1); + final _ret = _lib._objc_msgSend_44( + this.pointer, + _lib._sel_stringByRemovingPercentEncoding1, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); @@ -35599,7 +45247,10 @@ class NSString extends NSObject { NSString? stringByAddingPercentEscapesUsingEncoding_(int enc) { final _ret = _lib._objc_msgSend_399( - _id, _lib._sel_stringByAddingPercentEscapesUsingEncoding_1, enc); + this.pointer, + _lib._sel_stringByAddingPercentEscapesUsingEncoding_1, + enc, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); @@ -35607,43 +45258,50 @@ class NSString extends NSObject { NSString? stringByReplacingPercentEscapesUsingEncoding_(int enc) { final _ret = _lib._objc_msgSend_399( - _id, _lib._sel_stringByReplacingPercentEscapesUsingEncoding_1, enc); + this.pointer, + _lib._sel_stringByReplacingPercentEscapesUsingEncoding_1, + enc, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } NSArray linguisticTagsInRange_scheme_options_orthography_tokenRanges_( - _NSRange range, - NSString scheme, - int options, - NSOrthography? orthography, - ffi.Pointer> tokenRanges) { + _NSRange range, + NSString scheme, + int options, + NSOrthography? orthography, + ffi.Pointer> tokenRanges, + ) { final _ret = _lib._objc_msgSend_401( - _id, - _lib._sel_linguisticTagsInRange_scheme_options_orthography_tokenRanges_1, - range, - scheme._id, - options, - orthography?._id ?? ffi.nullptr, - tokenRanges); + this.pointer, + _lib._sel_linguisticTagsInRange_scheme_options_orthography_tokenRanges_1, + range, + scheme.pointer, + options, + orthography?.pointer ?? ffi.nullptr, + tokenRanges, + ); return NSArray._(_ret, _lib, retain: true, release: true); } void enumerateLinguisticTagsInRange_scheme_options_orthography_usingBlock_( - _NSRange range, - NSString scheme, - int options, - NSOrthography? orthography, - ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool block) { + _NSRange range, + NSString scheme, + int options, + NSOrthography? orthography, + ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool block, + ) { _lib._objc_msgSend_402( - _id, - _lib._sel_enumerateLinguisticTagsInRange_scheme_options_orthography_usingBlock_1, - range, - scheme._id, - options, - orthography?._id ?? ffi.nullptr, - block._id); + this.pointer, + _lib._sel_enumerateLinguisticTagsInRange_scheme_options_orthography_usingBlock_1, + range, + scheme.pointer, + options, + orthography?.pointer ?? ffi.nullptr, + block.pointer, + ); } static NSString new1(SwiftLibrary _lib) { @@ -35653,7 +45311,10 @@ class NSString extends NSObject { static NSString allocWithZone_(SwiftLibrary _lib, ffi.Pointer<_NSZone> zone) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSString1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSString1, + _lib._sel_allocWithZone_1, + zone, + ); return NSString._(_ret, _lib, retain: false, release: true); } @@ -35663,65 +45324,94 @@ class NSString extends NSObject { } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + SwiftLibrary _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSString1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSString1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSString1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + SwiftLibrary _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSString1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { return _lib._objc_msgSend_12( - _lib._class_NSString1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_NSString1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(SwiftLibrary _lib) { return _lib._objc_msgSend_12( - _lib._class_NSString1, _lib._sel_useStoredAccessor1); + _lib._class_NSString1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSString1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSString1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSString1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSString1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, NSArray keys, NSString dependentKey) { + SwiftLibrary _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSString1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSString1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_85( - _lib._class_NSString1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSString1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSString1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSString1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } @@ -35731,283 +45421,486 @@ extension StringToNSString on String { } class NSCoder extends NSObject { - NSCoder._(ffi.Pointer id, SwiftLibrary lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSCoder._( + ffi.Pointer pointer, + SwiftLibrary lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSCoder] that points to the same underlying object as [other]. - static NSCoder castFrom(T other) { - return NSCoder._(other._id, other._lib, retain: true, release: true); + static NSCoder castFrom( + SwiftLibrary lib, + T other, + ) { + return NSCoder._(other.pointer, lib, retain: true, release: true); } /// Returns a [NSCoder] that wraps the given raw object pointer. static NSCoder castFromPointer( - SwiftLibrary lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + SwiftLibrary lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSCoder._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSCoder]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_NSCoder1); + static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSCoder1, + ); } void encodeValueOfObjCType_at_( - ffi.Pointer type, ffi.Pointer addr) { + ffi.Pointer type, + ffi.Pointer addr, + ) { _lib._objc_msgSend_19( - _id, _lib._sel_encodeValueOfObjCType_at_1, type, addr); + this.pointer, + _lib._sel_encodeValueOfObjCType_at_1, + type, + addr, + ); } void encodeDataObject_(NSData data) { - _lib._objc_msgSend_285(_id, _lib._sel_encodeDataObject_1, data._id); + _lib._objc_msgSend_285( + this.pointer, + _lib._sel_encodeDataObject_1, + data.pointer, + ); } NSData? decodeDataObject() { - final _ret = _lib._objc_msgSend_286(_id, _lib._sel_decodeDataObject1); + final _ret = _lib._objc_msgSend_286( + this.pointer, + _lib._sel_decodeDataObject1, + ); return _ret.address == 0 ? null : NSData._(_ret, _lib, retain: true, release: true); } void decodeValueOfObjCType_at_size_( - ffi.Pointer type, ffi.Pointer data, int size) { + ffi.Pointer type, + ffi.Pointer data, + int size, + ) { _lib._objc_msgSend_287( - _id, _lib._sel_decodeValueOfObjCType_at_size_1, type, data, size); + this.pointer, + _lib._sel_decodeValueOfObjCType_at_size_1, + type, + data, + size, + ); } int versionForClassName_(NSString className) { return _lib._objc_msgSend_288( - _id, _lib._sel_versionForClassName_1, className._id); + this.pointer, + _lib._sel_versionForClassName_1, + className.pointer, + ); } void encodeObject_(NSObject? object) { _lib._objc_msgSend_289( - _id, _lib._sel_encodeObject_1, object?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_encodeObject_1, + object?.pointer ?? ffi.nullptr, + ); } void encodeRootObject_(NSObject rootObject) { - _lib._objc_msgSend_15(_id, _lib._sel_encodeRootObject_1, rootObject._id); + _lib._objc_msgSend_15( + this.pointer, + _lib._sel_encodeRootObject_1, + rootObject.pointer, + ); } void encodeBycopyObject_(NSObject? anObject) { _lib._objc_msgSend_289( - _id, _lib._sel_encodeBycopyObject_1, anObject?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_encodeBycopyObject_1, + anObject?.pointer ?? ffi.nullptr, + ); } void encodeByrefObject_(NSObject? anObject) { _lib._objc_msgSend_289( - _id, _lib._sel_encodeByrefObject_1, anObject?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_encodeByrefObject_1, + anObject?.pointer ?? ffi.nullptr, + ); } void encodeConditionalObject_(NSObject? object) { _lib._objc_msgSend_289( - _id, _lib._sel_encodeConditionalObject_1, object?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_encodeConditionalObject_1, + object?.pointer ?? ffi.nullptr, + ); } void encodeValuesOfObjCTypes_(ffi.Pointer types) { - _lib._objc_msgSend_290(_id, _lib._sel_encodeValuesOfObjCTypes_1, types); + _lib._objc_msgSend_290( + this.pointer, + _lib._sel_encodeValuesOfObjCTypes_1, + types, + ); } void encodeArrayOfObjCType_count_at_( - ffi.Pointer type, int count, ffi.Pointer array) { + ffi.Pointer type, + int count, + ffi.Pointer array, + ) { _lib._objc_msgSend_291( - _id, _lib._sel_encodeArrayOfObjCType_count_at_1, type, count, array); + this.pointer, + _lib._sel_encodeArrayOfObjCType_count_at_1, + type, + count, + array, + ); } void encodeBytes_length_(ffi.Pointer byteaddr, int length) { _lib._objc_msgSend_22( - _id, _lib._sel_encodeBytes_length_1, byteaddr, length); + this.pointer, + _lib._sel_encodeBytes_length_1, + byteaddr, + length, + ); } NSObject? decodeObject() { - final _ret = _lib._objc_msgSend_17(_id, _lib._sel_decodeObject1); + final _ret = _lib._objc_msgSend_17(this.pointer, _lib._sel_decodeObject1); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } NSObject? decodeTopLevelObjectAndReturnError_( - ffi.Pointer> error) { + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_292( - _id, _lib._sel_decodeTopLevelObjectAndReturnError_1, error); + this.pointer, + _lib._sel_decodeTopLevelObjectAndReturnError_1, + error, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } void decodeValuesOfObjCTypes_(ffi.Pointer types) { - _lib._objc_msgSend_290(_id, _lib._sel_decodeValuesOfObjCTypes_1, types); + _lib._objc_msgSend_290( + this.pointer, + _lib._sel_decodeValuesOfObjCTypes_1, + types, + ); } void decodeArrayOfObjCType_count_at_( - ffi.Pointer itemType, int count, ffi.Pointer array) { - _lib._objc_msgSend_291(_id, _lib._sel_decodeArrayOfObjCType_count_at_1, - itemType, count, array); + ffi.Pointer itemType, + int count, + ffi.Pointer array, + ) { + _lib._objc_msgSend_291( + this.pointer, + _lib._sel_decodeArrayOfObjCType_count_at_1, + itemType, + count, + array, + ); } ffi.Pointer decodeBytesWithReturnedLength_( - ffi.Pointer lengthp) { + ffi.Pointer lengthp, + ) { return _lib._objc_msgSend_293( - _id, _lib._sel_decodeBytesWithReturnedLength_1, lengthp); + this.pointer, + _lib._sel_decodeBytesWithReturnedLength_1, + lengthp, + ); } void encodePropertyList_(NSObject aPropertyList) { _lib._objc_msgSend_15( - _id, _lib._sel_encodePropertyList_1, aPropertyList._id); + this.pointer, + _lib._sel_encodePropertyList_1, + aPropertyList.pointer, + ); } NSObject? decodePropertyList() { - final _ret = _lib._objc_msgSend_17(_id, _lib._sel_decodePropertyList1); + final _ret = _lib._objc_msgSend_17( + this.pointer, + _lib._sel_decodePropertyList1, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } void setObjectZone_(ffi.Pointer<_NSZone> zone) { - _lib._objc_msgSend_294(_id, _lib._sel_setObjectZone_1, zone); + _lib._objc_msgSend_294(this.pointer, _lib._sel_setObjectZone_1, zone); } ffi.Pointer<_NSZone> objectZone() { - return _lib._objc_msgSend_295(_id, _lib._sel_objectZone1); + return _lib._objc_msgSend_295(this.pointer, _lib._sel_objectZone1); } int get systemVersion { - return _lib._objc_msgSend_214(_id, _lib._sel_systemVersion1); + return _lib._objc_msgSend_214(this.pointer, _lib._sel_systemVersion1); } bool get allowsKeyedCoding { - return _lib._objc_msgSend_12(_id, _lib._sel_allowsKeyedCoding1); + return _lib._objc_msgSend_12(this.pointer, _lib._sel_allowsKeyedCoding1); } void encodeObject_forKey_(NSObject? object, NSString key) { - _lib._objc_msgSend_135(_id, _lib._sel_encodeObject_forKey_1, - object?._id ?? ffi.nullptr, key._id); + _lib._objc_msgSend_135( + this.pointer, + _lib._sel_encodeObject_forKey_1, + object?.pointer ?? ffi.nullptr, + key.pointer, + ); } void encodeConditionalObject_forKey_(NSObject? object, NSString key) { - _lib._objc_msgSend_135(_id, _lib._sel_encodeConditionalObject_forKey_1, - object?._id ?? ffi.nullptr, key._id); + _lib._objc_msgSend_135( + this.pointer, + _lib._sel_encodeConditionalObject_forKey_1, + object?.pointer ?? ffi.nullptr, + key.pointer, + ); } void encodeBool_forKey_(bool value, NSString key) { - _lib._objc_msgSend_296(_id, _lib._sel_encodeBool_forKey_1, value, key._id); + _lib._objc_msgSend_296( + this.pointer, + _lib._sel_encodeBool_forKey_1, + value, + key.pointer, + ); } void encodeInt_forKey_(int value, NSString key) { - _lib._objc_msgSend_297(_id, _lib._sel_encodeInt_forKey_1, value, key._id); + _lib._objc_msgSend_297( + this.pointer, + _lib._sel_encodeInt_forKey_1, + value, + key.pointer, + ); } void encodeInt32_forKey_(int value, NSString key) { - _lib._objc_msgSend_298(_id, _lib._sel_encodeInt32_forKey_1, value, key._id); + _lib._objc_msgSend_298( + this.pointer, + _lib._sel_encodeInt32_forKey_1, + value, + key.pointer, + ); } void encodeInt64_forKey_(int value, NSString key) { - _lib._objc_msgSend_299(_id, _lib._sel_encodeInt64_forKey_1, value, key._id); + _lib._objc_msgSend_299( + this.pointer, + _lib._sel_encodeInt64_forKey_1, + value, + key.pointer, + ); } void encodeFloat_forKey_(double value, NSString key) { - _lib._objc_msgSend_300(_id, _lib._sel_encodeFloat_forKey_1, value, key._id); + _lib._objc_msgSend_300( + this.pointer, + _lib._sel_encodeFloat_forKey_1, + value, + key.pointer, + ); } void encodeDouble_forKey_(double value, NSString key) { _lib._objc_msgSend_301( - _id, _lib._sel_encodeDouble_forKey_1, value, key._id); + this.pointer, + _lib._sel_encodeDouble_forKey_1, + value, + key.pointer, + ); } void encodeBytes_length_forKey_( - ffi.Pointer bytes, int length, NSString key) { + ffi.Pointer bytes, + int length, + NSString key, + ) { _lib._objc_msgSend_302( - _id, _lib._sel_encodeBytes_length_forKey_1, bytes, length, key._id); + this.pointer, + _lib._sel_encodeBytes_length_forKey_1, + bytes, + length, + key.pointer, + ); } bool containsValueForKey_(NSString key) { - return _lib._objc_msgSend_64(_id, _lib._sel_containsValueForKey_1, key._id); + return _lib._objc_msgSend_64( + this.pointer, + _lib._sel_containsValueForKey_1, + key.pointer, + ); } NSObject? decodeObjectForKey_(NSString key) { - final _ret = - _lib._objc_msgSend_38(_id, _lib._sel_decodeObjectForKey_1, key._id); + final _ret = _lib._objc_msgSend_38( + this.pointer, + _lib._sel_decodeObjectForKey_1, + key.pointer, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } NSObject? decodeTopLevelObjectForKey_error_( - NSString key, ffi.Pointer> error) { + NSString key, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_303( - _id, _lib._sel_decodeTopLevelObjectForKey_error_1, key._id, error); + this.pointer, + _lib._sel_decodeTopLevelObjectForKey_error_1, + key.pointer, + error, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } bool decodeBoolForKey_(NSString key) { - return _lib._objc_msgSend_64(_id, _lib._sel_decodeBoolForKey_1, key._id); + return _lib._objc_msgSend_64( + this.pointer, + _lib._sel_decodeBoolForKey_1, + key.pointer, + ); } int decodeIntForKey_(NSString key) { - return _lib._objc_msgSend_304(_id, _lib._sel_decodeIntForKey_1, key._id); + return _lib._objc_msgSend_304( + this.pointer, + _lib._sel_decodeIntForKey_1, + key.pointer, + ); } int decodeInt32ForKey_(NSString key) { - return _lib._objc_msgSend_305(_id, _lib._sel_decodeInt32ForKey_1, key._id); + return _lib._objc_msgSend_305( + this.pointer, + _lib._sel_decodeInt32ForKey_1, + key.pointer, + ); } int decodeInt64ForKey_(NSString key) { - return _lib._objc_msgSend_306(_id, _lib._sel_decodeInt64ForKey_1, key._id); + return _lib._objc_msgSend_306( + this.pointer, + _lib._sel_decodeInt64ForKey_1, + key.pointer, + ); } double decodeFloatForKey_(NSString key) { - return _lib._objc_msgSend_useVariants1 + return objc.useMsgSendVariants ? _lib._objc_msgSend_307_fpret( - _id, _lib._sel_decodeFloatForKey_1, key._id) - : _lib._objc_msgSend_307(_id, _lib._sel_decodeFloatForKey_1, key._id); + this.pointer, + _lib._sel_decodeFloatForKey_1, + key.pointer, + ) + : _lib._objc_msgSend_307( + this.pointer, + _lib._sel_decodeFloatForKey_1, + key.pointer, + ); } double decodeDoubleForKey_(NSString key) { - return _lib._objc_msgSend_useVariants1 + return objc.useMsgSendVariants ? _lib._objc_msgSend_308_fpret( - _id, _lib._sel_decodeDoubleForKey_1, key._id) - : _lib._objc_msgSend_308(_id, _lib._sel_decodeDoubleForKey_1, key._id); + this.pointer, + _lib._sel_decodeDoubleForKey_1, + key.pointer, + ) + : _lib._objc_msgSend_308( + this.pointer, + _lib._sel_decodeDoubleForKey_1, + key.pointer, + ); } ffi.Pointer decodeBytesForKey_returnedLength_( - NSString key, ffi.Pointer lengthp) { + NSString key, + ffi.Pointer lengthp, + ) { return _lib._objc_msgSend_309( - _id, _lib._sel_decodeBytesForKey_returnedLength_1, key._id, lengthp); + this.pointer, + _lib._sel_decodeBytesForKey_returnedLength_1, + key.pointer, + lengthp, + ); } void encodeInteger_forKey_(int value, NSString key) { _lib._objc_msgSend_310( - _id, _lib._sel_encodeInteger_forKey_1, value, key._id); + this.pointer, + _lib._sel_encodeInteger_forKey_1, + value, + key.pointer, + ); } int decodeIntegerForKey_(NSString key) { return _lib._objc_msgSend_288( - _id, _lib._sel_decodeIntegerForKey_1, key._id); + this.pointer, + _lib._sel_decodeIntegerForKey_1, + key.pointer, + ); } bool get requiresSecureCoding { - return _lib._objc_msgSend_12(_id, _lib._sel_requiresSecureCoding1); + return _lib._objc_msgSend_12(this.pointer, _lib._sel_requiresSecureCoding1); } NSObject? decodeObjectOfClass_forKey_(NSObject aClass, NSString key) { final _ret = _lib._objc_msgSend_311( - _id, _lib._sel_decodeObjectOfClass_forKey_1, aClass._id, key._id); + this.pointer, + _lib._sel_decodeObjectOfClass_forKey_1, + aClass.pointer, + key.pointer, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } - NSObject? decodeTopLevelObjectOfClass_forKey_error_(NSObject aClass, - NSString key, ffi.Pointer> error) { + NSObject? decodeTopLevelObjectOfClass_forKey_error_( + NSObject aClass, + NSString key, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_312( - _id, - _lib._sel_decodeTopLevelObjectOfClass_forKey_error_1, - aClass._id, - key._id, - error); + this.pointer, + _lib._sel_decodeTopLevelObjectOfClass_forKey_error_1, + aClass.pointer, + key.pointer, + error, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); @@ -36015,20 +45908,28 @@ class NSCoder extends NSObject { NSArray? decodeArrayOfObjectsOfClass_forKey_(NSObject cls, NSString key) { final _ret = _lib._objc_msgSend_313( - _id, _lib._sel_decodeArrayOfObjectsOfClass_forKey_1, cls._id, key._id); + this.pointer, + _lib._sel_decodeArrayOfObjectsOfClass_forKey_1, + cls.pointer, + key.pointer, + ); return _ret.address == 0 ? null : NSArray._(_ret, _lib, retain: true, release: true); } NSDictionary? decodeDictionaryWithKeysOfClass_objectsOfClass_forKey_( - NSObject keyCls, NSObject objectCls, NSString key) { + NSObject keyCls, + NSObject objectCls, + NSString key, + ) { final _ret = _lib._objc_msgSend_314( - _id, - _lib._sel_decodeDictionaryWithKeysOfClass_objectsOfClass_forKey_1, - keyCls._id, - objectCls._id, - key._id); + this.pointer, + _lib._sel_decodeDictionaryWithKeysOfClass_objectsOfClass_forKey_1, + keyCls.pointer, + objectCls.pointer, + key.pointer, + ); return _ret.address == 0 ? null : NSDictionary._(_ret, _lib, retain: true, release: true); @@ -36036,44 +45937,57 @@ class NSCoder extends NSObject { NSObject? decodeObjectOfClasses_forKey_(NSSet? classes, NSString key) { final _ret = _lib._objc_msgSend_315( - _id, - _lib._sel_decodeObjectOfClasses_forKey_1, - classes?._id ?? ffi.nullptr, - key._id); + this.pointer, + _lib._sel_decodeObjectOfClasses_forKey_1, + classes?.pointer ?? ffi.nullptr, + key.pointer, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } - NSObject? decodeTopLevelObjectOfClasses_forKey_error_(NSSet? classes, - NSString key, ffi.Pointer> error) { + NSObject? decodeTopLevelObjectOfClasses_forKey_error_( + NSSet? classes, + NSString key, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_316( - _id, - _lib._sel_decodeTopLevelObjectOfClasses_forKey_error_1, - classes?._id ?? ffi.nullptr, - key._id, - error); + this.pointer, + _lib._sel_decodeTopLevelObjectOfClasses_forKey_error_1, + classes?.pointer ?? ffi.nullptr, + key.pointer, + error, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } NSArray? decodeArrayOfObjectsOfClasses_forKey_(NSSet classes, NSString key) { - final _ret = _lib._objc_msgSend_317(_id, - _lib._sel_decodeArrayOfObjectsOfClasses_forKey_1, classes._id, key._id); + final _ret = _lib._objc_msgSend_317( + this.pointer, + _lib._sel_decodeArrayOfObjectsOfClasses_forKey_1, + classes.pointer, + key.pointer, + ); return _ret.address == 0 ? null : NSArray._(_ret, _lib, retain: true, release: true); } NSDictionary? decodeDictionaryWithKeysOfClasses_objectsOfClasses_forKey_( - NSSet keyClasses, NSSet objectClasses, NSString key) { + NSSet keyClasses, + NSSet objectClasses, + NSString key, + ) { final _ret = _lib._objc_msgSend_318( - _id, - _lib._sel_decodeDictionaryWithKeysOfClasses_objectsOfClasses_forKey_1, - keyClasses._id, - objectClasses._id, - key._id); + this.pointer, + _lib._sel_decodeDictionaryWithKeysOfClasses_objectsOfClasses_forKey_1, + keyClasses.pointer, + objectClasses.pointer, + key.pointer, + ); return _ret.address == 0 ? null : NSDictionary._(_ret, _lib, retain: true, release: true); @@ -36081,120 +45995,200 @@ class NSCoder extends NSObject { NSObject? decodePropertyListForKey_(NSString key) { final _ret = _lib._objc_msgSend_38( - _id, _lib._sel_decodePropertyListForKey_1, key._id); + this.pointer, + _lib._sel_decodePropertyListForKey_1, + key.pointer, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } NSSet? get allowedClasses { - final _ret = _lib._objc_msgSend_319(_id, _lib._sel_allowedClasses1); + final _ret = _lib._objc_msgSend_319( + this.pointer, + _lib._sel_allowedClasses1, + ); return _ret.address == 0 ? null : NSSet._(_ret, _lib, retain: true, release: true); } void failWithError_(NSError error) { - _lib._objc_msgSend_320(_id, _lib._sel_failWithError_1, error._id); + _lib._objc_msgSend_320( + this.pointer, + _lib._sel_failWithError_1, + error.pointer, + ); } int get decodingFailurePolicy { - return _lib._objc_msgSend_321(_id, _lib._sel_decodingFailurePolicy1); + return _lib._objc_msgSend_321( + this.pointer, + _lib._sel_decodingFailurePolicy1, + ); } NSError? get error { - final _ret = _lib._objc_msgSend_322(_id, _lib._sel_error1); + final _ret = _lib._objc_msgSend_322(this.pointer, _lib._sel_error1); return _ret.address == 0 ? null : NSError._(_ret, _lib, retain: true, release: true); } void encodeNXObject_(NSObject object) { - _lib._objc_msgSend_15(_id, _lib._sel_encodeNXObject_1, object._id); + _lib._objc_msgSend_15( + this.pointer, + _lib._sel_encodeNXObject_1, + object.pointer, + ); } NSObject? decodeNXObject() { - final _ret = _lib._objc_msgSend_17(_id, _lib._sel_decodeNXObject1); + final _ret = _lib._objc_msgSend_17(this.pointer, _lib._sel_decodeNXObject1); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } void decodeValueOfObjCType_at_( - ffi.Pointer type, ffi.Pointer data) { + ffi.Pointer type, + ffi.Pointer data, + ) { _lib._objc_msgSend_19( - _id, _lib._sel_decodeValueOfObjCType_at_1, type, data); + this.pointer, + _lib._sel_decodeValueOfObjCType_at_1, + type, + data, + ); } void encodePoint_(CGPoint point) { - _lib._objc_msgSend_323(_id, _lib._sel_encodePoint_1, point); + _lib._objc_msgSend_323(this.pointer, _lib._sel_encodePoint_1, point); } void decodePoint(ffi.Pointer stret) { - _lib._objc_msgSend_useVariants1 - ? _lib._objc_msgSend_59_stret(stret, _id, _lib._sel_decodePoint1) - : stret.ref = _lib._objc_msgSend_59(_id, _lib._sel_decodePoint1); + objc.useMsgSendVariants + ? _lib._objc_msgSend_59_stret( + stret, + this.pointer, + _lib._sel_decodePoint1, + ) + : stret.ref = _lib._objc_msgSend_59( + this.pointer, + _lib._sel_decodePoint1, + ); } void encodeSize_(CGSize size) { - _lib._objc_msgSend_324(_id, _lib._sel_encodeSize_1, size); + _lib._objc_msgSend_324(this.pointer, _lib._sel_encodeSize_1, size); } void decodeSize(ffi.Pointer stret) { - _lib._objc_msgSend_useVariants1 - ? _lib._objc_msgSend_60_stret(stret, _id, _lib._sel_decodeSize1) - : stret.ref = _lib._objc_msgSend_60(_id, _lib._sel_decodeSize1); + objc.useMsgSendVariants + ? _lib._objc_msgSend_60_stret( + stret, + this.pointer, + _lib._sel_decodeSize1, + ) + : stret.ref = _lib._objc_msgSend_60( + this.pointer, + _lib._sel_decodeSize1, + ); } void encodeRect_(CGRect rect) { - _lib._objc_msgSend_325(_id, _lib._sel_encodeRect_1, rect); + _lib._objc_msgSend_325(this.pointer, _lib._sel_encodeRect_1, rect); } void decodeRect(ffi.Pointer stret) { - _lib._objc_msgSend_useVariants1 - ? _lib._objc_msgSend_61_stret(stret, _id, _lib._sel_decodeRect1) - : stret.ref = _lib._objc_msgSend_61(_id, _lib._sel_decodeRect1); + objc.useMsgSendVariants + ? _lib._objc_msgSend_61_stret( + stret, + this.pointer, + _lib._sel_decodeRect1, + ) + : stret.ref = _lib._objc_msgSend_61( + this.pointer, + _lib._sel_decodeRect1, + ); } void encodePoint_forKey_(CGPoint point, NSString key) { - _lib._objc_msgSend_326(_id, _lib._sel_encodePoint_forKey_1, point, key._id); + _lib._objc_msgSend_326( + this.pointer, + _lib._sel_encodePoint_forKey_1, + point, + key.pointer, + ); } void encodeSize_forKey_(CGSize size, NSString key) { - _lib._objc_msgSend_327(_id, _lib._sel_encodeSize_forKey_1, size, key._id); + _lib._objc_msgSend_327( + this.pointer, + _lib._sel_encodeSize_forKey_1, + size, + key.pointer, + ); } void encodeRect_forKey_(CGRect rect, NSString key) { - _lib._objc_msgSend_328(_id, _lib._sel_encodeRect_forKey_1, rect, key._id); + _lib._objc_msgSend_328( + this.pointer, + _lib._sel_encodeRect_forKey_1, + rect, + key.pointer, + ); } void decodePointForKey_(ffi.Pointer stret, NSString key) { - _lib._objc_msgSend_useVariants1 + objc.useMsgSendVariants ? _lib._objc_msgSend_329_stret( - stret, _id, _lib._sel_decodePointForKey_1, key._id) - : stret.ref = - _lib._objc_msgSend_329(_id, _lib._sel_decodePointForKey_1, key._id); + stret, + this.pointer, + _lib._sel_decodePointForKey_1, + key.pointer, + ) + : stret.ref = _lib._objc_msgSend_329( + this.pointer, + _lib._sel_decodePointForKey_1, + key.pointer, + ); } void decodeSizeForKey_(ffi.Pointer stret, NSString key) { - _lib._objc_msgSend_useVariants1 + objc.useMsgSendVariants ? _lib._objc_msgSend_330_stret( - stret, _id, _lib._sel_decodeSizeForKey_1, key._id) - : stret.ref = - _lib._objc_msgSend_330(_id, _lib._sel_decodeSizeForKey_1, key._id); + stret, + this.pointer, + _lib._sel_decodeSizeForKey_1, + key.pointer, + ) + : stret.ref = _lib._objc_msgSend_330( + this.pointer, + _lib._sel_decodeSizeForKey_1, + key.pointer, + ); } void decodeRectForKey_(ffi.Pointer stret, NSString key) { - _lib._objc_msgSend_useVariants1 + objc.useMsgSendVariants ? _lib._objc_msgSend_331_stret( - stret, _id, _lib._sel_decodeRectForKey_1, key._id) - : stret.ref = - _lib._objc_msgSend_331(_id, _lib._sel_decodeRectForKey_1, key._id); + stret, + this.pointer, + _lib._sel_decodeRectForKey_1, + key.pointer, + ) + : stret.ref = _lib._objc_msgSend_331( + this.pointer, + _lib._sel_decodeRectForKey_1, + key.pointer, + ); } @override NSCoder init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSCoder._(_ret, _lib, retain: true, release: true); } @@ -36205,7 +46199,10 @@ class NSCoder extends NSObject { static NSCoder allocWithZone_(SwiftLibrary _lib, ffi.Pointer<_NSZone> zone) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSCoder1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSCoder1, + _lib._sel_allocWithZone_1, + zone, + ); return NSCoder._(_ret, _lib, retain: false, release: true); } @@ -36215,166 +46212,259 @@ class NSCoder extends NSObject { } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + SwiftLibrary _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSCoder1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSCoder1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSCoder1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + SwiftLibrary _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSCoder1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { return _lib._objc_msgSend_12( - _lib._class_NSCoder1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_NSCoder1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(SwiftLibrary _lib) { return _lib._objc_msgSend_12( - _lib._class_NSCoder1, _lib._sel_useStoredAccessor1); + _lib._class_NSCoder1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSCoder1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSCoder1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSCoder1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSCoder1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, NSArray keys, NSString dependentKey) { + SwiftLibrary _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSCoder1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSCoder1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_85( - _lib._class_NSCoder1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSCoder1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSCoder1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSCoder1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } class NSData extends NSObject { - NSData._(ffi.Pointer id, SwiftLibrary lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSData._( + ffi.Pointer pointer, + SwiftLibrary lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSData] that points to the same underlying object as [other]. - static NSData castFrom(T other) { - return NSData._(other._id, other._lib, retain: true, release: true); + static NSData castFrom( + SwiftLibrary lib, + T other, + ) { + return NSData._(other.pointer, lib, retain: true, release: true); } /// Returns a [NSData] that wraps the given raw object pointer. - static NSData castFromPointer(SwiftLibrary lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + static NSData castFromPointer( + SwiftLibrary lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSData._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSData]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_NSData1); + static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSData1, + ); } int get length { - return _lib._objc_msgSend_10(_id, _lib._sel_length1); + return _lib._objc_msgSend_10(this.pointer, _lib._sel_length1); } ffi.Pointer get bytes { - return _lib._objc_msgSend_20(_id, _lib._sel_bytes1); + return _lib._objc_msgSend_20(this.pointer, _lib._sel_bytes1); } NSString get description { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_description1); + final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_description1); return NSString._(_ret, _lib, retain: true, release: true); } void getBytes_length_(ffi.Pointer buffer, int length) { - _lib._objc_msgSend_22(_id, _lib._sel_getBytes_length_1, buffer, length); + _lib._objc_msgSend_22( + this.pointer, + _lib._sel_getBytes_length_1, + buffer, + length, + ); } void getBytes_range_(ffi.Pointer buffer, _NSRange range) { - _lib._objc_msgSend_23(_id, _lib._sel_getBytes_range_1, buffer, range); + _lib._objc_msgSend_23( + this.pointer, + _lib._sel_getBytes_range_1, + buffer, + range, + ); } bool isEqualToData_(NSData other) { - return _lib._objc_msgSend_24(_id, _lib._sel_isEqualToData_1, other._id); + return _lib._objc_msgSend_24( + this.pointer, + _lib._sel_isEqualToData_1, + other.pointer, + ); } NSData subdataWithRange_(_NSRange range) { - final _ret = - _lib._objc_msgSend_25(_id, _lib._sel_subdataWithRange_1, range); + final _ret = _lib._objc_msgSend_25( + this.pointer, + _lib._sel_subdataWithRange_1, + range, + ); return NSData._(_ret, _lib, retain: true, release: true); } bool writeToFile_atomically_(NSString path, bool useAuxiliaryFile) { return _lib._objc_msgSend_26( - _id, _lib._sel_writeToFile_atomically_1, path._id, useAuxiliaryFile); + this.pointer, + _lib._sel_writeToFile_atomically_1, + path.pointer, + useAuxiliaryFile, + ); } bool writeToURL_atomically_(NSURL url, bool atomically) { return _lib._objc_msgSend_134( - _id, _lib._sel_writeToURL_atomically_1, url._id, atomically); + this.pointer, + _lib._sel_writeToURL_atomically_1, + url.pointer, + atomically, + ); } - bool writeToFile_options_error_(NSString path, int writeOptionsMask, - ffi.Pointer> errorPtr) { - return _lib._objc_msgSend_269(_id, _lib._sel_writeToFile_options_error_1, - path._id, writeOptionsMask, errorPtr); + bool writeToFile_options_error_( + NSString path, + int writeOptionsMask, + ffi.Pointer> errorPtr, + ) { + return _lib._objc_msgSend_269( + this.pointer, + _lib._sel_writeToFile_options_error_1, + path.pointer, + writeOptionsMask, + errorPtr, + ); } - bool writeToURL_options_error_(NSURL url, int writeOptionsMask, - ffi.Pointer> errorPtr) { - return _lib._objc_msgSend_270(_id, _lib._sel_writeToURL_options_error_1, - url._id, writeOptionsMask, errorPtr); + bool writeToURL_options_error_( + NSURL url, + int writeOptionsMask, + ffi.Pointer> errorPtr, + ) { + return _lib._objc_msgSend_270( + this.pointer, + _lib._sel_writeToURL_options_error_1, + url.pointer, + writeOptionsMask, + errorPtr, + ); } - void rangeOfData_options_range_(ffi.Pointer<_NSRange> stret, - NSData dataToFind, int mask, _NSRange searchRange) { - _lib._objc_msgSend_useVariants1 + void rangeOfData_options_range_( + ffi.Pointer<_NSRange> stret, + NSData dataToFind, + int mask, + _NSRange searchRange, + ) { + objc.useMsgSendVariants ? _lib._objc_msgSend_271_stret( - stret, - _id, - _lib._sel_rangeOfData_options_range_1, - dataToFind._id, - mask, - searchRange) + stret, + this.pointer, + _lib._sel_rangeOfData_options_range_1, + dataToFind.pointer, + mask, + searchRange, + ) : stret.ref = _lib._objc_msgSend_271( - _id, - _lib._sel_rangeOfData_options_range_1, - dataToFind._id, - mask, - searchRange); + this.pointer, + _lib._sel_rangeOfData_options_range_1, + dataToFind.pointer, + mask, + searchRange, + ); } void enumerateByteRangesUsingBlock_( - ObjCBlock_ffiVoid_ffiVoid_NSRange_bool block) { + ObjCBlock_ffiVoid_ffiVoid_NSRange_bool block, + ) { _lib._objc_msgSend_272( - _id, _lib._sel_enumerateByteRangesUsingBlock_1, block._id); + this.pointer, + _lib._sel_enumerateByteRangesUsingBlock_1, + block.pointer, + ); } static NSData data(SwiftLibrary _lib) { @@ -36383,53 +46473,80 @@ class NSData extends NSObject { } static NSData dataWithBytes_length_( - SwiftLibrary _lib, ffi.Pointer bytes, int length) { + SwiftLibrary _lib, + ffi.Pointer bytes, + int length, + ) { final _ret = _lib._objc_msgSend_273( - _lib._class_NSData1, _lib._sel_dataWithBytes_length_1, bytes, length); + _lib._class_NSData1, + _lib._sel_dataWithBytes_length_1, + bytes, + length, + ); return NSData._(_ret, _lib, retain: true, release: true); } static NSData dataWithBytesNoCopy_length_( - SwiftLibrary _lib, ffi.Pointer bytes, int length) { - final _ret = _lib._objc_msgSend_273(_lib._class_NSData1, - _lib._sel_dataWithBytesNoCopy_length_1, bytes, length); + SwiftLibrary _lib, + ffi.Pointer bytes, + int length, + ) { + final _ret = _lib._objc_msgSend_273( + _lib._class_NSData1, + _lib._sel_dataWithBytesNoCopy_length_1, + bytes, + length, + ); return NSData._(_ret, _lib, retain: false, release: true); } static NSData dataWithBytesNoCopy_length_freeWhenDone_( - SwiftLibrary _lib, ffi.Pointer bytes, int length, bool b) { - final _ret = _lib._objc_msgSend_274(_lib._class_NSData1, - _lib._sel_dataWithBytesNoCopy_length_freeWhenDone_1, bytes, length, b); + SwiftLibrary _lib, + ffi.Pointer bytes, + int length, + bool b, + ) { + final _ret = _lib._objc_msgSend_274( + _lib._class_NSData1, + _lib._sel_dataWithBytesNoCopy_length_freeWhenDone_1, + bytes, + length, + b, + ); return NSData._(_ret, _lib, retain: false, release: true); } static NSData? dataWithContentsOfFile_options_error_( - SwiftLibrary _lib, - NSString path, - int readOptionsMask, - ffi.Pointer> errorPtr) { + SwiftLibrary _lib, + NSString path, + int readOptionsMask, + ffi.Pointer> errorPtr, + ) { final _ret = _lib._objc_msgSend_275( - _lib._class_NSData1, - _lib._sel_dataWithContentsOfFile_options_error_1, - path._id, - readOptionsMask, - errorPtr); + _lib._class_NSData1, + _lib._sel_dataWithContentsOfFile_options_error_1, + path.pointer, + readOptionsMask, + errorPtr, + ); return _ret.address == 0 ? null : NSData._(_ret, _lib, retain: true, release: true); } static NSData? dataWithContentsOfURL_options_error_( - SwiftLibrary _lib, - NSURL url, - int readOptionsMask, - ffi.Pointer> errorPtr) { + SwiftLibrary _lib, + NSURL url, + int readOptionsMask, + ffi.Pointer> errorPtr, + ) { final _ret = _lib._objc_msgSend_276( - _lib._class_NSData1, - _lib._sel_dataWithContentsOfURL_options_error_1, - url._id, - readOptionsMask, - errorPtr); + _lib._class_NSData1, + _lib._sel_dataWithContentsOfURL_options_error_1, + url.pointer, + readOptionsMask, + errorPtr, + ); return _ret.address == 0 ? null : NSData._(_ret, _lib, retain: true, release: true); @@ -36437,7 +46554,10 @@ class NSData extends NSObject { static NSData? dataWithContentsOfFile_(SwiftLibrary _lib, NSString path) { final _ret = _lib._objc_msgSend_38( - _lib._class_NSData1, _lib._sel_dataWithContentsOfFile_1, path._id); + _lib._class_NSData1, + _lib._sel_dataWithContentsOfFile_1, + path.pointer, + ); return _ret.address == 0 ? null : NSData._(_ret, _lib, retain: true, release: true); @@ -36445,7 +46565,10 @@ class NSData extends NSObject { static NSData? dataWithContentsOfURL_(SwiftLibrary _lib, NSURL url) { final _ret = _lib._objc_msgSend_277( - _lib._class_NSData1, _lib._sel_dataWithContentsOfURL_1, url._id); + _lib._class_NSData1, + _lib._sel_dataWithContentsOfURL_1, + url.pointer, + ); return _ret.address == 0 ? null : NSData._(_ret, _lib, retain: true, release: true); @@ -36453,55 +46576,83 @@ class NSData extends NSObject { NSData initWithBytes_length_(ffi.Pointer bytes, int length) { final _ret = _lib._objc_msgSend_273( - _id, _lib._sel_initWithBytes_length_1, bytes, length); + this.pointer, + _lib._sel_initWithBytes_length_1, + bytes, + length, + ); return NSData._(_ret, _lib, retain: true, release: true); } NSData initWithBytesNoCopy_length_(ffi.Pointer bytes, int length) { final _ret = _lib._objc_msgSend_273( - _id, _lib._sel_initWithBytesNoCopy_length_1, bytes, length); + this.pointer, + _lib._sel_initWithBytesNoCopy_length_1, + bytes, + length, + ); return NSData._(_ret, _lib, retain: false, release: true); } NSData initWithBytesNoCopy_length_freeWhenDone_( - ffi.Pointer bytes, int length, bool b) { - final _ret = _lib._objc_msgSend_274(_id, - _lib._sel_initWithBytesNoCopy_length_freeWhenDone_1, bytes, length, b); + ffi.Pointer bytes, + int length, + bool b, + ) { + final _ret = _lib._objc_msgSend_274( + this.pointer, + _lib._sel_initWithBytesNoCopy_length_freeWhenDone_1, + bytes, + length, + b, + ); return NSData._(_ret, _lib, retain: false, release: true); } - NSData initWithBytesNoCopy_length_deallocator_(ffi.Pointer bytes, - int length, ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong? deallocator) { + NSData initWithBytesNoCopy_length_deallocator_( + ffi.Pointer bytes, + int length, + ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong? deallocator, + ) { final _ret = _lib._objc_msgSend_278( - _id, - _lib._sel_initWithBytesNoCopy_length_deallocator_1, - bytes, - length, - deallocator?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_initWithBytesNoCopy_length_deallocator_1, + bytes, + length, + deallocator?.pointer ?? ffi.nullptr, + ); return NSData._(_ret, _lib, retain: false, release: true); } - NSData? initWithContentsOfFile_options_error_(NSString path, - int readOptionsMask, ffi.Pointer> errorPtr) { + NSData? initWithContentsOfFile_options_error_( + NSString path, + int readOptionsMask, + ffi.Pointer> errorPtr, + ) { final _ret = _lib._objc_msgSend_275( - _id, - _lib._sel_initWithContentsOfFile_options_error_1, - path._id, - readOptionsMask, - errorPtr); + this.pointer, + _lib._sel_initWithContentsOfFile_options_error_1, + path.pointer, + readOptionsMask, + errorPtr, + ); return _ret.address == 0 ? null : NSData._(_ret, _lib, retain: true, release: true); } - NSData? initWithContentsOfURL_options_error_(NSURL url, int readOptionsMask, - ffi.Pointer> errorPtr) { + NSData? initWithContentsOfURL_options_error_( + NSURL url, + int readOptionsMask, + ffi.Pointer> errorPtr, + ) { final _ret = _lib._objc_msgSend_276( - _id, - _lib._sel_initWithContentsOfURL_options_error_1, - url._id, - readOptionsMask, - errorPtr); + this.pointer, + _lib._sel_initWithContentsOfURL_options_error_1, + url.pointer, + readOptionsMask, + errorPtr, + ); return _ret.address == 0 ? null : NSData._(_ret, _lib, retain: true, release: true); @@ -36509,39 +46660,54 @@ class NSData extends NSObject { NSData? initWithContentsOfFile_(NSString path) { final _ret = _lib._objc_msgSend_38( - _id, _lib._sel_initWithContentsOfFile_1, path._id); + this.pointer, + _lib._sel_initWithContentsOfFile_1, + path.pointer, + ); return _ret.address == 0 ? null : NSData._(_ret, _lib, retain: true, release: true); } NSData? initWithContentsOfURL_(NSURL url) { - final _ret = - _lib._objc_msgSend_277(_id, _lib._sel_initWithContentsOfURL_1, url._id); + final _ret = _lib._objc_msgSend_277( + this.pointer, + _lib._sel_initWithContentsOfURL_1, + url.pointer, + ); return _ret.address == 0 ? null : NSData._(_ret, _lib, retain: true, release: true); } NSData initWithData_(NSData data) { - final _ret = - _lib._objc_msgSend_279(_id, _lib._sel_initWithData_1, data._id); + final _ret = _lib._objc_msgSend_279( + this.pointer, + _lib._sel_initWithData_1, + data.pointer, + ); return NSData._(_ret, _lib, retain: true, release: true); } static NSData dataWithData_(SwiftLibrary _lib, NSData data) { final _ret = _lib._objc_msgSend_279( - _lib._class_NSData1, _lib._sel_dataWithData_1, data._id); + _lib._class_NSData1, + _lib._sel_dataWithData_1, + data.pointer, + ); return NSData._(_ret, _lib, retain: true, release: true); } NSData? initWithBase64EncodedString_options_( - NSString base64String, int options) { + NSString base64String, + int options, + ) { final _ret = _lib._objc_msgSend_280( - _id, - _lib._sel_initWithBase64EncodedString_options_1, - base64String._id, - options); + this.pointer, + _lib._sel_initWithBase64EncodedString_options_1, + base64String.pointer, + options, + ); return _ret.address == 0 ? null : NSData._(_ret, _lib, retain: true, release: true); @@ -36549,13 +46715,20 @@ class NSData extends NSObject { NSString base64EncodedStringWithOptions_(int options) { final _ret = _lib._objc_msgSend_281( - _id, _lib._sel_base64EncodedStringWithOptions_1, options); + this.pointer, + _lib._sel_base64EncodedStringWithOptions_1, + options, + ); return NSString._(_ret, _lib, retain: true, release: true); } NSData? initWithBase64EncodedData_options_(NSData base64Data, int options) { - final _ret = _lib._objc_msgSend_282(_id, - _lib._sel_initWithBase64EncodedData_options_1, base64Data._id, options); + final _ret = _lib._objc_msgSend_282( + this.pointer, + _lib._sel_initWithBase64EncodedData_options_1, + base64Data.pointer, + options, + ); return _ret.address == 0 ? null : NSData._(_ret, _lib, retain: true, release: true); @@ -36563,36 +46736,56 @@ class NSData extends NSObject { NSData base64EncodedDataWithOptions_(int options) { final _ret = _lib._objc_msgSend_283( - _id, _lib._sel_base64EncodedDataWithOptions_1, options); + this.pointer, + _lib._sel_base64EncodedDataWithOptions_1, + options, + ); return NSData._(_ret, _lib, retain: true, release: true); } NSData? decompressedDataUsingAlgorithm_error_( - int algorithm, ffi.Pointer> error) { - final _ret = _lib._objc_msgSend_284(_id, - _lib._sel_decompressedDataUsingAlgorithm_error_1, algorithm, error); + int algorithm, + ffi.Pointer> error, + ) { + final _ret = _lib._objc_msgSend_284( + this.pointer, + _lib._sel_decompressedDataUsingAlgorithm_error_1, + algorithm, + error, + ); return _ret.address == 0 ? null : NSData._(_ret, _lib, retain: true, release: true); } NSData? compressedDataUsingAlgorithm_error_( - int algorithm, ffi.Pointer> error) { + int algorithm, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_284( - _id, _lib._sel_compressedDataUsingAlgorithm_error_1, algorithm, error); + this.pointer, + _lib._sel_compressedDataUsingAlgorithm_error_1, + algorithm, + error, + ); return _ret.address == 0 ? null : NSData._(_ret, _lib, retain: true, release: true); } void getBytes_(ffi.Pointer buffer) { - _lib._objc_msgSend_52(_id, _lib._sel_getBytes_1, buffer); + _lib._objc_msgSend_52(this.pointer, _lib._sel_getBytes_1, buffer); } static NSObject? dataWithContentsOfMappedFile_( - SwiftLibrary _lib, NSString path) { - final _ret = _lib._objc_msgSend_38(_lib._class_NSData1, - _lib._sel_dataWithContentsOfMappedFile_1, path._id); + SwiftLibrary _lib, + NSString path, + ) { + final _ret = _lib._objc_msgSend_38( + _lib._class_NSData1, + _lib._sel_dataWithContentsOfMappedFile_1, + path.pointer, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); @@ -36600,7 +46793,10 @@ class NSData extends NSObject { NSObject? initWithContentsOfMappedFile_(NSString path) { final _ret = _lib._objc_msgSend_38( - _id, _lib._sel_initWithContentsOfMappedFile_1, path._id); + this.pointer, + _lib._sel_initWithContentsOfMappedFile_1, + path.pointer, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); @@ -36608,20 +46804,23 @@ class NSData extends NSObject { NSObject? initWithBase64Encoding_(NSString base64String) { final _ret = _lib._objc_msgSend_38( - _id, _lib._sel_initWithBase64Encoding_1, base64String._id); + this.pointer, + _lib._sel_initWithBase64Encoding_1, + base64String.pointer, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } NSString base64Encoding() { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_base64Encoding1); + final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_base64Encoding1); return NSString._(_ret, _lib, retain: true, release: true); } @override NSData init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSData._(_ret, _lib, retain: true, release: true); } @@ -36632,7 +46831,10 @@ class NSData extends NSObject { static NSData allocWithZone_(SwiftLibrary _lib, ffi.Pointer<_NSZone> zone) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSData1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSData1, + _lib._sel_allocWithZone_1, + zone, + ); return NSData._(_ret, _lib, retain: false, release: true); } @@ -36642,65 +46844,94 @@ class NSData extends NSObject { } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + SwiftLibrary _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSData1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSData1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSData1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + SwiftLibrary _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSData1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { return _lib._objc_msgSend_12( - _lib._class_NSData1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_NSData1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(SwiftLibrary _lib) { return _lib._objc_msgSend_12( - _lib._class_NSData1, _lib._sel_useStoredAccessor1); + _lib._class_NSData1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSData1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSData1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSData1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSData1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, NSArray keys, NSString dependentKey) { + SwiftLibrary _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSData1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSData1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_85( - _lib._class_NSData1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSData1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSData1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSData1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } @@ -36714,134 +46945,191 @@ final class _NSRange extends ffi.Struct { } class NSURL extends NSObject { - NSURL._(ffi.Pointer id, SwiftLibrary lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSURL._( + ffi.Pointer pointer, + SwiftLibrary lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSURL] that points to the same underlying object as [other]. - static NSURL castFrom(T other) { - return NSURL._(other._id, other._lib, retain: true, release: true); + static NSURL castFrom( + SwiftLibrary lib, + T other, + ) { + return NSURL._(other.pointer, lib, retain: true, release: true); } /// Returns a [NSURL] that wraps the given raw object pointer. - static NSURL castFromPointer(SwiftLibrary lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + static NSURL castFromPointer( + SwiftLibrary lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSURL._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSURL]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_NSURL1); + static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSURL1, + ); } NSURL? initWithScheme_host_path_( - NSString scheme, NSString? host, NSString path) { + NSString scheme, + NSString? host, + NSString path, + ) { final _ret = _lib._objc_msgSend_27( - _id, - _lib._sel_initWithScheme_host_path_1, - scheme._id, - host?._id ?? ffi.nullptr, - path._id); + this.pointer, + _lib._sel_initWithScheme_host_path_1, + scheme.pointer, + host?.pointer ?? ffi.nullptr, + path.pointer, + ); return _ret.address == 0 ? null : NSURL._(_ret, _lib, retain: true, release: true); } NSURL initFileURLWithPath_isDirectory_relativeToURL_( - NSString path, bool isDir, NSURL? baseURL) { + NSString path, + bool isDir, + NSURL? baseURL, + ) { final _ret = _lib._objc_msgSend_28( - _id, - _lib._sel_initFileURLWithPath_isDirectory_relativeToURL_1, - path._id, - isDir, - baseURL?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_initFileURLWithPath_isDirectory_relativeToURL_1, + path.pointer, + isDir, + baseURL?.pointer ?? ffi.nullptr, + ); return NSURL._(_ret, _lib, retain: true, release: true); } NSURL initFileURLWithPath_relativeToURL_(NSString path, NSURL? baseURL) { final _ret = _lib._objc_msgSend_29( - _id, - _lib._sel_initFileURLWithPath_relativeToURL_1, - path._id, - baseURL?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_initFileURLWithPath_relativeToURL_1, + path.pointer, + baseURL?.pointer ?? ffi.nullptr, + ); return NSURL._(_ret, _lib, retain: true, release: true); } NSURL initFileURLWithPath_isDirectory_(NSString path, bool isDir) { final _ret = _lib._objc_msgSend_30( - _id, _lib._sel_initFileURLWithPath_isDirectory_1, path._id, isDir); + this.pointer, + _lib._sel_initFileURLWithPath_isDirectory_1, + path.pointer, + isDir, + ); return NSURL._(_ret, _lib, retain: true, release: true); } NSURL initFileURLWithPath_(NSString path) { - final _ret = - _lib._objc_msgSend_31(_id, _lib._sel_initFileURLWithPath_1, path._id); + final _ret = _lib._objc_msgSend_31( + this.pointer, + _lib._sel_initFileURLWithPath_1, + path.pointer, + ); return NSURL._(_ret, _lib, retain: true, release: true); } static NSURL fileURLWithPath_isDirectory_relativeToURL_( - SwiftLibrary _lib, NSString path, bool isDir, NSURL? baseURL) { + SwiftLibrary _lib, + NSString path, + bool isDir, + NSURL? baseURL, + ) { final _ret = _lib._objc_msgSend_32( - _lib._class_NSURL1, - _lib._sel_fileURLWithPath_isDirectory_relativeToURL_1, - path._id, - isDir, - baseURL?._id ?? ffi.nullptr); + _lib._class_NSURL1, + _lib._sel_fileURLWithPath_isDirectory_relativeToURL_1, + path.pointer, + isDir, + baseURL?.pointer ?? ffi.nullptr, + ); return NSURL._(_ret, _lib, retain: true, release: true); } static NSURL fileURLWithPath_relativeToURL_( - SwiftLibrary _lib, NSString path, NSURL? baseURL) { + SwiftLibrary _lib, + NSString path, + NSURL? baseURL, + ) { final _ret = _lib._objc_msgSend_33( - _lib._class_NSURL1, - _lib._sel_fileURLWithPath_relativeToURL_1, - path._id, - baseURL?._id ?? ffi.nullptr); + _lib._class_NSURL1, + _lib._sel_fileURLWithPath_relativeToURL_1, + path.pointer, + baseURL?.pointer ?? ffi.nullptr, + ); return NSURL._(_ret, _lib, retain: true, release: true); } static NSURL fileURLWithPath_isDirectory_( - SwiftLibrary _lib, NSString path, bool isDir) { - final _ret = _lib._objc_msgSend_34(_lib._class_NSURL1, - _lib._sel_fileURLWithPath_isDirectory_1, path._id, isDir); + SwiftLibrary _lib, + NSString path, + bool isDir, + ) { + final _ret = _lib._objc_msgSend_34( + _lib._class_NSURL1, + _lib._sel_fileURLWithPath_isDirectory_1, + path.pointer, + isDir, + ); return NSURL._(_ret, _lib, retain: true, release: true); } static NSURL fileURLWithPath_(SwiftLibrary _lib, NSString path) { final _ret = _lib._objc_msgSend_35( - _lib._class_NSURL1, _lib._sel_fileURLWithPath_1, path._id); + _lib._class_NSURL1, + _lib._sel_fileURLWithPath_1, + path.pointer, + ); return NSURL._(_ret, _lib, retain: true, release: true); } NSURL initFileURLWithFileSystemRepresentation_isDirectory_relativeToURL_( - ffi.Pointer path, bool isDir, NSURL? baseURL) { + ffi.Pointer path, + bool isDir, + NSURL? baseURL, + ) { final _ret = _lib._objc_msgSend_36( - _id, - _lib._sel_initFileURLWithFileSystemRepresentation_isDirectory_relativeToURL_1, - path, - isDir, - baseURL?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_initFileURLWithFileSystemRepresentation_isDirectory_relativeToURL_1, + path, + isDir, + baseURL?.pointer ?? ffi.nullptr, + ); return NSURL._(_ret, _lib, retain: true, release: true); } static NSURL fileURLWithFileSystemRepresentation_isDirectory_relativeToURL_( - SwiftLibrary _lib, - ffi.Pointer path, - bool isDir, - NSURL? baseURL) { + SwiftLibrary _lib, + ffi.Pointer path, + bool isDir, + NSURL? baseURL, + ) { final _ret = _lib._objc_msgSend_37( - _lib._class_NSURL1, - _lib._sel_fileURLWithFileSystemRepresentation_isDirectory_relativeToURL_1, - path, - isDir, - baseURL?._id ?? ffi.nullptr); + _lib._class_NSURL1, + _lib._sel_fileURLWithFileSystemRepresentation_isDirectory_relativeToURL_1, + path, + isDir, + baseURL?.pointer ?? ffi.nullptr, + ); return NSURL._(_ret, _lib, retain: true, release: true); } NSURL? initWithString_(NSString URLString) { - final _ret = - _lib._objc_msgSend_38(_id, _lib._sel_initWithString_1, URLString._id); + final _ret = _lib._objc_msgSend_38( + this.pointer, + _lib._sel_initWithString_1, + URLString.pointer, + ); return _ret.address == 0 ? null : NSURL._(_ret, _lib, retain: true, release: true); @@ -36849,10 +47137,11 @@ class NSURL extends NSObject { NSURL? initWithString_relativeToURL_(NSString URLString, NSURL? baseURL) { final _ret = _lib._objc_msgSend_39( - _id, - _lib._sel_initWithString_relativeToURL_1, - URLString._id, - baseURL?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_initWithString_relativeToURL_1, + URLString.pointer, + baseURL?.pointer ?? ffi.nullptr, + ); return _ret.address == 0 ? null : NSURL._(_ret, _lib, retain: true, release: true); @@ -36860,43 +47149,57 @@ class NSURL extends NSObject { static NSURL? URLWithString_(SwiftLibrary _lib, NSString URLString) { final _ret = _lib._objc_msgSend_38( - _lib._class_NSURL1, _lib._sel_URLWithString_1, URLString._id); + _lib._class_NSURL1, + _lib._sel_URLWithString_1, + URLString.pointer, + ); return _ret.address == 0 ? null : NSURL._(_ret, _lib, retain: true, release: true); } static NSURL? URLWithString_relativeToURL_( - SwiftLibrary _lib, NSString URLString, NSURL? baseURL) { + SwiftLibrary _lib, + NSString URLString, + NSURL? baseURL, + ) { final _ret = _lib._objc_msgSend_39( - _lib._class_NSURL1, - _lib._sel_URLWithString_relativeToURL_1, - URLString._id, - baseURL?._id ?? ffi.nullptr); + _lib._class_NSURL1, + _lib._sel_URLWithString_relativeToURL_1, + URLString.pointer, + baseURL?.pointer ?? ffi.nullptr, + ); return _ret.address == 0 ? null : NSURL._(_ret, _lib, retain: true, release: true); } NSURL? initWithString_encodingInvalidCharacters_( - NSString URLString, bool encodingInvalidCharacters) { + NSString URLString, + bool encodingInvalidCharacters, + ) { final _ret = _lib._objc_msgSend_40( - _id, - _lib._sel_initWithString_encodingInvalidCharacters_1, - URLString._id, - encodingInvalidCharacters); + this.pointer, + _lib._sel_initWithString_encodingInvalidCharacters_1, + URLString.pointer, + encodingInvalidCharacters, + ); return _ret.address == 0 ? null : NSURL._(_ret, _lib, retain: true, release: true); } static NSURL? URLWithString_encodingInvalidCharacters_( - SwiftLibrary _lib, NSString URLString, bool encodingInvalidCharacters) { + SwiftLibrary _lib, + NSString URLString, + bool encodingInvalidCharacters, + ) { final _ret = _lib._objc_msgSend_40( - _lib._class_NSURL1, - _lib._sel_URLWithString_encodingInvalidCharacters_1, - URLString._id, - encodingInvalidCharacters); + _lib._class_NSURL1, + _lib._sel_URLWithString_encodingInvalidCharacters_1, + URLString.pointer, + encodingInvalidCharacters, + ); return _ret.address == 0 ? null : NSURL._(_ret, _lib, retain: true, release: true); @@ -36904,350 +47207,436 @@ class NSURL extends NSObject { NSURL initWithDataRepresentation_relativeToURL_(NSData data, NSURL? baseURL) { final _ret = _lib._objc_msgSend_41( - _id, - _lib._sel_initWithDataRepresentation_relativeToURL_1, - data._id, - baseURL?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_initWithDataRepresentation_relativeToURL_1, + data.pointer, + baseURL?.pointer ?? ffi.nullptr, + ); return NSURL._(_ret, _lib, retain: true, release: true); } static NSURL URLWithDataRepresentation_relativeToURL_( - SwiftLibrary _lib, NSData data, NSURL? baseURL) { + SwiftLibrary _lib, + NSData data, + NSURL? baseURL, + ) { final _ret = _lib._objc_msgSend_42( - _lib._class_NSURL1, - _lib._sel_URLWithDataRepresentation_relativeToURL_1, - data._id, - baseURL?._id ?? ffi.nullptr); + _lib._class_NSURL1, + _lib._sel_URLWithDataRepresentation_relativeToURL_1, + data.pointer, + baseURL?.pointer ?? ffi.nullptr, + ); return NSURL._(_ret, _lib, retain: true, release: true); } NSURL initAbsoluteURLWithDataRepresentation_relativeToURL_( - NSData data, NSURL? baseURL) { + NSData data, + NSURL? baseURL, + ) { final _ret = _lib._objc_msgSend_41( - _id, - _lib._sel_initAbsoluteURLWithDataRepresentation_relativeToURL_1, - data._id, - baseURL?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_initAbsoluteURLWithDataRepresentation_relativeToURL_1, + data.pointer, + baseURL?.pointer ?? ffi.nullptr, + ); return NSURL._(_ret, _lib, retain: true, release: true); } static NSURL absoluteURLWithDataRepresentation_relativeToURL_( - SwiftLibrary _lib, NSData data, NSURL? baseURL) { + SwiftLibrary _lib, + NSData data, + NSURL? baseURL, + ) { final _ret = _lib._objc_msgSend_42( - _lib._class_NSURL1, - _lib._sel_absoluteURLWithDataRepresentation_relativeToURL_1, - data._id, - baseURL?._id ?? ffi.nullptr); + _lib._class_NSURL1, + _lib._sel_absoluteURLWithDataRepresentation_relativeToURL_1, + data.pointer, + baseURL?.pointer ?? ffi.nullptr, + ); return NSURL._(_ret, _lib, retain: true, release: true); } NSData get dataRepresentation { - final _ret = _lib._objc_msgSend_43(_id, _lib._sel_dataRepresentation1); + final _ret = _lib._objc_msgSend_43( + this.pointer, + _lib._sel_dataRepresentation1, + ); return NSData._(_ret, _lib, retain: true, release: true); } NSString? get absoluteString { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_absoluteString1); + final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_absoluteString1); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } NSString get relativeString { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_relativeString1); + final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_relativeString1); return NSString._(_ret, _lib, retain: true, release: true); } NSURL? get baseURL { - final _ret = _lib._objc_msgSend_45(_id, _lib._sel_baseURL1); + final _ret = _lib._objc_msgSend_45(this.pointer, _lib._sel_baseURL1); return _ret.address == 0 ? null : NSURL._(_ret, _lib, retain: true, release: true); } NSURL? get absoluteURL { - final _ret = _lib._objc_msgSend_45(_id, _lib._sel_absoluteURL1); + final _ret = _lib._objc_msgSend_45(this.pointer, _lib._sel_absoluteURL1); return _ret.address == 0 ? null : NSURL._(_ret, _lib, retain: true, release: true); } NSString? get scheme { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_scheme1); + final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_scheme1); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } NSString? get resourceSpecifier { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_resourceSpecifier1); + final _ret = _lib._objc_msgSend_44( + this.pointer, + _lib._sel_resourceSpecifier1, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } NSString? get host { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_host1); + final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_host1); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } NSNumber? get port { - final _ret = _lib._objc_msgSend_215(_id, _lib._sel_port1); + final _ret = _lib._objc_msgSend_215(this.pointer, _lib._sel_port1); return _ret.address == 0 ? null : NSNumber._(_ret, _lib, retain: true, release: true); } NSString? get user { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_user1); + final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_user1); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } NSString? get password { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_password1); + final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_password1); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } NSString? get path { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_path1); + final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_path1); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } NSString? get fragment { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_fragment1); + final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_fragment1); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } NSString? get parameterString { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_parameterString1); + final _ret = _lib._objc_msgSend_44( + this.pointer, + _lib._sel_parameterString1, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } NSString? get query { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_query1); + final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_query1); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } NSString? get relativePath { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_relativePath1); + final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_relativePath1); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } bool get hasDirectoryPath { - return _lib._objc_msgSend_12(_id, _lib._sel_hasDirectoryPath1); + return _lib._objc_msgSend_12(this.pointer, _lib._sel_hasDirectoryPath1); } bool getFileSystemRepresentation_maxLength_( - ffi.Pointer buffer, int maxBufferLength) { + ffi.Pointer buffer, + int maxBufferLength, + ) { return _lib._objc_msgSend_242( - _id, - _lib._sel_getFileSystemRepresentation_maxLength_1, - buffer, - maxBufferLength); + this.pointer, + _lib._sel_getFileSystemRepresentation_maxLength_1, + buffer, + maxBufferLength, + ); } ffi.Pointer get fileSystemRepresentation { - return _lib._objc_msgSend_13(_id, _lib._sel_fileSystemRepresentation1); + return _lib._objc_msgSend_13( + this.pointer, + _lib._sel_fileSystemRepresentation1, + ); } bool get fileURL { - return _lib._objc_msgSend_12(_id, _lib._sel_isFileURL1); + return _lib._objc_msgSend_12(this.pointer, _lib._sel_isFileURL1); } NSURL? get standardizedURL { - final _ret = _lib._objc_msgSend_45(_id, _lib._sel_standardizedURL1); + final _ret = _lib._objc_msgSend_45( + this.pointer, + _lib._sel_standardizedURL1, + ); return _ret.address == 0 ? null : NSURL._(_ret, _lib, retain: true, release: true); } bool isFileReferenceURL() { - return _lib._objc_msgSend_12(_id, _lib._sel_isFileReferenceURL1); + return _lib._objc_msgSend_12(this.pointer, _lib._sel_isFileReferenceURL1); } NSURL? fileReferenceURL() { - final _ret = _lib._objc_msgSend_45(_id, _lib._sel_fileReferenceURL1); + final _ret = _lib._objc_msgSend_45( + this.pointer, + _lib._sel_fileReferenceURL1, + ); return _ret.address == 0 ? null : NSURL._(_ret, _lib, retain: true, release: true); } NSURL? get filePathURL { - final _ret = _lib._objc_msgSend_45(_id, _lib._sel_filePathURL1); + final _ret = _lib._objc_msgSend_45(this.pointer, _lib._sel_filePathURL1); return _ret.address == 0 ? null : NSURL._(_ret, _lib, retain: true, release: true); } bool getResourceValue_forKey_error_( - ffi.Pointer> value, - NSString key, - ffi.Pointer> error) { + ffi.Pointer> value, + NSString key, + ffi.Pointer> error, + ) { return _lib._objc_msgSend_243( - _id, _lib._sel_getResourceValue_forKey_error_1, value, key._id, error); + this.pointer, + _lib._sel_getResourceValue_forKey_error_1, + value, + key.pointer, + error, + ); } NSObject? resourceValuesForKeys_error_( - NSArray keys, ffi.Pointer> error) { + NSArray keys, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_244( - _id, _lib._sel_resourceValuesForKeys_error_1, keys._id, error); + this.pointer, + _lib._sel_resourceValuesForKeys_error_1, + keys.pointer, + error, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } - bool setResourceValue_forKey_error_(NSObject? value, NSString key, - ffi.Pointer> error) { + bool setResourceValue_forKey_error_( + NSObject? value, + NSString key, + ffi.Pointer> error, + ) { return _lib._objc_msgSend_245( - _id, - _lib._sel_setResourceValue_forKey_error_1, - value?._id ?? ffi.nullptr, - key._id, - error); + this.pointer, + _lib._sel_setResourceValue_forKey_error_1, + value?.pointer ?? ffi.nullptr, + key.pointer, + error, + ); } bool setResourceValues_error_( - NSObject keyedValues, ffi.Pointer> error) { + NSObject keyedValues, + ffi.Pointer> error, + ) { return _lib._objc_msgSend_246( - _id, _lib._sel_setResourceValues_error_1, keyedValues._id, error); + this.pointer, + _lib._sel_setResourceValues_error_1, + keyedValues.pointer, + error, + ); } void removeCachedResourceValueForKey_(NSString key) { _lib._objc_msgSend_247( - _id, _lib._sel_removeCachedResourceValueForKey_1, key._id); + this.pointer, + _lib._sel_removeCachedResourceValueForKey_1, + key.pointer, + ); } void removeAllCachedResourceValues() { - _lib._objc_msgSend_1(_id, _lib._sel_removeAllCachedResourceValues1); + _lib._objc_msgSend_1( + this.pointer, + _lib._sel_removeAllCachedResourceValues1, + ); } void setTemporaryResourceValue_forKey_(NSObject? value, NSString key) { - _lib._objc_msgSend_135(_id, _lib._sel_setTemporaryResourceValue_forKey_1, - value?._id ?? ffi.nullptr, key._id); + _lib._objc_msgSend_135( + this.pointer, + _lib._sel_setTemporaryResourceValue_forKey_1, + value?.pointer ?? ffi.nullptr, + key.pointer, + ); } NSData? - bookmarkDataWithOptions_includingResourceValuesForKeys_relativeToURL_error_( - int options, - NSArray? keys, - NSURL? relativeURL, - ffi.Pointer> error) { + bookmarkDataWithOptions_includingResourceValuesForKeys_relativeToURL_error_( + int options, + NSArray? keys, + NSURL? relativeURL, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_248( - _id, - _lib._sel_bookmarkDataWithOptions_includingResourceValuesForKeys_relativeToURL_error_1, - options, - keys?._id ?? ffi.nullptr, - relativeURL?._id ?? ffi.nullptr, - error); + this.pointer, + _lib._sel_bookmarkDataWithOptions_includingResourceValuesForKeys_relativeToURL_error_1, + options, + keys?.pointer ?? ffi.nullptr, + relativeURL?.pointer ?? ffi.nullptr, + error, + ); return _ret.address == 0 ? null : NSData._(_ret, _lib, retain: true, release: true); } NSURL? - initByResolvingBookmarkData_options_relativeToURL_bookmarkDataIsStale_error_( - NSData bookmarkData, - int options, - NSURL? relativeURL, - ffi.Pointer isStale, - ffi.Pointer> error) { + initByResolvingBookmarkData_options_relativeToURL_bookmarkDataIsStale_error_( + NSData bookmarkData, + int options, + NSURL? relativeURL, + ffi.Pointer isStale, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_249( - _id, - _lib._sel_initByResolvingBookmarkData_options_relativeToURL_bookmarkDataIsStale_error_1, - bookmarkData._id, - options, - relativeURL?._id ?? ffi.nullptr, - isStale, - error); + this.pointer, + _lib._sel_initByResolvingBookmarkData_options_relativeToURL_bookmarkDataIsStale_error_1, + bookmarkData.pointer, + options, + relativeURL?.pointer ?? ffi.nullptr, + isStale, + error, + ); return _ret.address == 0 ? null : NSURL._(_ret, _lib, retain: true, release: true); } static NSURL? - URLByResolvingBookmarkData_options_relativeToURL_bookmarkDataIsStale_error_( - SwiftLibrary _lib, - NSData bookmarkData, - int options, - NSURL? relativeURL, - ffi.Pointer isStale, - ffi.Pointer> error) { + URLByResolvingBookmarkData_options_relativeToURL_bookmarkDataIsStale_error_( + SwiftLibrary _lib, + NSData bookmarkData, + int options, + NSURL? relativeURL, + ffi.Pointer isStale, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_249( - _lib._class_NSURL1, - _lib._sel_URLByResolvingBookmarkData_options_relativeToURL_bookmarkDataIsStale_error_1, - bookmarkData._id, - options, - relativeURL?._id ?? ffi.nullptr, - isStale, - error); + _lib._class_NSURL1, + _lib._sel_URLByResolvingBookmarkData_options_relativeToURL_bookmarkDataIsStale_error_1, + bookmarkData.pointer, + options, + relativeURL?.pointer ?? ffi.nullptr, + isStale, + error, + ); return _ret.address == 0 ? null : NSURL._(_ret, _lib, retain: true, release: true); } static NSObject? resourceValuesForKeys_fromBookmarkData_( - SwiftLibrary _lib, NSArray keys, NSData bookmarkData) { + SwiftLibrary _lib, + NSArray keys, + NSData bookmarkData, + ) { final _ret = _lib._objc_msgSend_250( - _lib._class_NSURL1, - _lib._sel_resourceValuesForKeys_fromBookmarkData_1, - keys._id, - bookmarkData._id); + _lib._class_NSURL1, + _lib._sel_resourceValuesForKeys_fromBookmarkData_1, + keys.pointer, + bookmarkData.pointer, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } static bool writeBookmarkData_toURL_options_error_( - SwiftLibrary _lib, - NSData bookmarkData, - NSURL bookmarkFileURL, - int options, - ffi.Pointer> error) { + SwiftLibrary _lib, + NSData bookmarkData, + NSURL bookmarkFileURL, + int options, + ffi.Pointer> error, + ) { return _lib._objc_msgSend_251( - _lib._class_NSURL1, - _lib._sel_writeBookmarkData_toURL_options_error_1, - bookmarkData._id, - bookmarkFileURL._id, - options, - error); + _lib._class_NSURL1, + _lib._sel_writeBookmarkData_toURL_options_error_1, + bookmarkData.pointer, + bookmarkFileURL.pointer, + options, + error, + ); } - static NSData? bookmarkDataWithContentsOfURL_error_(SwiftLibrary _lib, - NSURL bookmarkFileURL, ffi.Pointer> error) { + static NSData? bookmarkDataWithContentsOfURL_error_( + SwiftLibrary _lib, + NSURL bookmarkFileURL, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_252( - _lib._class_NSURL1, - _lib._sel_bookmarkDataWithContentsOfURL_error_1, - bookmarkFileURL._id, - error); + _lib._class_NSURL1, + _lib._sel_bookmarkDataWithContentsOfURL_error_1, + bookmarkFileURL.pointer, + error, + ); return _ret.address == 0 ? null : NSData._(_ret, _lib, retain: true, release: true); } - static NSURL? URLByResolvingAliasFileAtURL_options_error_(SwiftLibrary _lib, - NSURL url, int options, ffi.Pointer> error) { + static NSURL? URLByResolvingAliasFileAtURL_options_error_( + SwiftLibrary _lib, + NSURL url, + int options, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_253( - _lib._class_NSURL1, - _lib._sel_URLByResolvingAliasFileAtURL_options_error_1, - url._id, - options, - error); + _lib._class_NSURL1, + _lib._sel_URLByResolvingAliasFileAtURL_options_error_1, + url.pointer, + options, + error, + ); return _ret.address == 0 ? null : NSURL._(_ret, _lib, retain: true, release: true); @@ -37255,65 +47644,90 @@ class NSURL extends NSObject { bool startAccessingSecurityScopedResource() { return _lib._objc_msgSend_12( - _id, _lib._sel_startAccessingSecurityScopedResource1); + this.pointer, + _lib._sel_startAccessingSecurityScopedResource1, + ); } void stopAccessingSecurityScopedResource() { - _lib._objc_msgSend_1(_id, _lib._sel_stopAccessingSecurityScopedResource1); + _lib._objc_msgSend_1( + this.pointer, + _lib._sel_stopAccessingSecurityScopedResource1, + ); } bool getPromisedItemResourceValue_forKey_error_( - ffi.Pointer> value, - NSString key, - ffi.Pointer> error) { + ffi.Pointer> value, + NSString key, + ffi.Pointer> error, + ) { return _lib._objc_msgSend_243( - _id, - _lib._sel_getPromisedItemResourceValue_forKey_error_1, - value, - key._id, - error); + this.pointer, + _lib._sel_getPromisedItemResourceValue_forKey_error_1, + value, + key.pointer, + error, + ); } NSDictionary? promisedItemResourceValuesForKeys_error_( - NSArray keys, ffi.Pointer> error) { - final _ret = _lib._objc_msgSend_254(_id, - _lib._sel_promisedItemResourceValuesForKeys_error_1, keys._id, error); + NSArray keys, + ffi.Pointer> error, + ) { + final _ret = _lib._objc_msgSend_254( + this.pointer, + _lib._sel_promisedItemResourceValuesForKeys_error_1, + keys.pointer, + error, + ); return _ret.address == 0 ? null : NSDictionary._(_ret, _lib, retain: true, release: true); } bool checkPromisedItemIsReachableAndReturnError_( - ffi.Pointer> error) { + ffi.Pointer> error, + ) { return _lib._objc_msgSend_255( - _id, _lib._sel_checkPromisedItemIsReachableAndReturnError_1, error); + this.pointer, + _lib._sel_checkPromisedItemIsReachableAndReturnError_1, + error, + ); } static NSURL? fileURLWithPathComponents_( - SwiftLibrary _lib, NSArray components) { - final _ret = _lib._objc_msgSend_256(_lib._class_NSURL1, - _lib._sel_fileURLWithPathComponents_1, components._id); + SwiftLibrary _lib, + NSArray components, + ) { + final _ret = _lib._objc_msgSend_256( + _lib._class_NSURL1, + _lib._sel_fileURLWithPathComponents_1, + components.pointer, + ); return _ret.address == 0 ? null : NSURL._(_ret, _lib, retain: true, release: true); } NSArray? get pathComponents { - final _ret = _lib._objc_msgSend_84(_id, _lib._sel_pathComponents1); + final _ret = _lib._objc_msgSend_84(this.pointer, _lib._sel_pathComponents1); return _ret.address == 0 ? null : NSArray._(_ret, _lib, retain: true, release: true); } NSString? get lastPathComponent { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_lastPathComponent1); + final _ret = _lib._objc_msgSend_44( + this.pointer, + _lib._sel_lastPathComponent1, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } NSString? get pathExtension { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_pathExtension1); + final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_pathExtension1); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); @@ -37321,27 +47735,35 @@ class NSURL extends NSObject { NSURL? URLByAppendingPathComponent_(NSString pathComponent) { final _ret = _lib._objc_msgSend_257( - _id, _lib._sel_URLByAppendingPathComponent_1, pathComponent._id); + this.pointer, + _lib._sel_URLByAppendingPathComponent_1, + pathComponent.pointer, + ); return _ret.address == 0 ? null : NSURL._(_ret, _lib, retain: true, release: true); } NSURL? URLByAppendingPathComponent_isDirectory_( - NSString pathComponent, bool isDirectory) { + NSString pathComponent, + bool isDirectory, + ) { final _ret = _lib._objc_msgSend_258( - _id, - _lib._sel_URLByAppendingPathComponent_isDirectory_1, - pathComponent._id, - isDirectory); + this.pointer, + _lib._sel_URLByAppendingPathComponent_isDirectory_1, + pathComponent.pointer, + isDirectory, + ); return _ret.address == 0 ? null : NSURL._(_ret, _lib, retain: true, release: true); } NSURL? get URLByDeletingLastPathComponent { - final _ret = - _lib._objc_msgSend_45(_id, _lib._sel_URLByDeletingLastPathComponent1); + final _ret = _lib._objc_msgSend_45( + this.pointer, + _lib._sel_URLByDeletingLastPathComponent1, + ); return _ret.address == 0 ? null : NSURL._(_ret, _lib, retain: true, release: true); @@ -37349,36 +47771,50 @@ class NSURL extends NSObject { NSURL? URLByAppendingPathExtension_(NSString pathExtension) { final _ret = _lib._objc_msgSend_257( - _id, _lib._sel_URLByAppendingPathExtension_1, pathExtension._id); + this.pointer, + _lib._sel_URLByAppendingPathExtension_1, + pathExtension.pointer, + ); return _ret.address == 0 ? null : NSURL._(_ret, _lib, retain: true, release: true); } NSURL? get URLByDeletingPathExtension { - final _ret = - _lib._objc_msgSend_45(_id, _lib._sel_URLByDeletingPathExtension1); + final _ret = _lib._objc_msgSend_45( + this.pointer, + _lib._sel_URLByDeletingPathExtension1, + ); return _ret.address == 0 ? null : NSURL._(_ret, _lib, retain: true, release: true); } bool checkResourceIsReachableAndReturnError_( - ffi.Pointer> error) { + ffi.Pointer> error, + ) { return _lib._objc_msgSend_255( - _id, _lib._sel_checkResourceIsReachableAndReturnError_1, error); + this.pointer, + _lib._sel_checkResourceIsReachableAndReturnError_1, + error, + ); } NSURL? get URLByStandardizingPath { - final _ret = _lib._objc_msgSend_45(_id, _lib._sel_URLByStandardizingPath1); + final _ret = _lib._objc_msgSend_45( + this.pointer, + _lib._sel_URLByStandardizingPath1, + ); return _ret.address == 0 ? null : NSURL._(_ret, _lib, retain: true, release: true); } NSURL? get URLByResolvingSymlinksInPath { - final _ret = - _lib._objc_msgSend_45(_id, _lib._sel_URLByResolvingSymlinksInPath1); + final _ret = _lib._objc_msgSend_45( + this.pointer, + _lib._sel_URLByResolvingSymlinksInPath1, + ); return _ret.address == 0 ? null : NSURL._(_ret, _lib, retain: true, release: true); @@ -37386,41 +47822,61 @@ class NSURL extends NSObject { NSData? resourceDataUsingCache_(bool shouldUseCache) { final _ret = _lib._objc_msgSend_259( - _id, _lib._sel_resourceDataUsingCache_1, shouldUseCache); + this.pointer, + _lib._sel_resourceDataUsingCache_1, + shouldUseCache, + ); return _ret.address == 0 ? null : NSData._(_ret, _lib, retain: true, release: true); } void loadResourceDataNotifyingClient_usingCache_( - NSObject client, bool shouldUseCache) { + NSObject client, + bool shouldUseCache, + ) { _lib._objc_msgSend_260( - _id, - _lib._sel_loadResourceDataNotifyingClient_usingCache_1, - client._id, - shouldUseCache); + this.pointer, + _lib._sel_loadResourceDataNotifyingClient_usingCache_1, + client.pointer, + shouldUseCache, + ); } NSObject? propertyForKey_(NSString propertyKey) { - final _ret = - _lib._objc_msgSend_38(_id, _lib._sel_propertyForKey_1, propertyKey._id); + final _ret = _lib._objc_msgSend_38( + this.pointer, + _lib._sel_propertyForKey_1, + propertyKey.pointer, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } bool setResourceData_(NSData data) { - return _lib._objc_msgSend_24(_id, _lib._sel_setResourceData_1, data._id); + return _lib._objc_msgSend_24( + this.pointer, + _lib._sel_setResourceData_1, + data.pointer, + ); } bool setProperty_forKey_(NSObject property, NSString propertyKey) { return _lib._objc_msgSend_261( - _id, _lib._sel_setProperty_forKey_1, property._id, propertyKey._id); + this.pointer, + _lib._sel_setProperty_forKey_1, + property.pointer, + propertyKey.pointer, + ); } NSURLHandle? URLHandleUsingCache_(bool shouldUseCache) { final _ret = _lib._objc_msgSend_268( - _id, _lib._sel_URLHandleUsingCache_1, shouldUseCache); + this.pointer, + _lib._sel_URLHandleUsingCache_1, + shouldUseCache, + ); return _ret.address == 0 ? null : NSURLHandle._(_ret, _lib, retain: true, release: true); @@ -37428,7 +47884,7 @@ class NSURL extends NSObject { @override NSURL init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSURL._(_ret, _lib, retain: true, release: true); } @@ -37439,7 +47895,10 @@ class NSURL extends NSObject { static NSURL allocWithZone_(SwiftLibrary _lib, ffi.Pointer<_NSZone> zone) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSURL1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSURL1, + _lib._sel_allocWithZone_1, + zone, + ); return NSURL._(_ret, _lib, retain: false, release: true); } @@ -37449,426 +47908,626 @@ class NSURL extends NSObject { } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + SwiftLibrary _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSURL1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSURL1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSURL1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + SwiftLibrary _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSURL1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { return _lib._objc_msgSend_12( - _lib._class_NSURL1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_NSURL1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(SwiftLibrary _lib) { return _lib._objc_msgSend_12( - _lib._class_NSURL1, _lib._sel_useStoredAccessor1); + _lib._class_NSURL1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSURL1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSURL1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSURL1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSURL1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, NSArray keys, NSString dependentKey) { + SwiftLibrary _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSURL1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSURL1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_85( - _lib._class_NSURL1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSURL1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSURL1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSURL1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } class NSNumber extends NSValue { - NSNumber._(ffi.Pointer id, SwiftLibrary lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSNumber._( + ffi.Pointer pointer, + SwiftLibrary lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSNumber] that points to the same underlying object as [other]. - static NSNumber castFrom(T other) { - return NSNumber._(other._id, other._lib, retain: true, release: true); + static NSNumber castFrom( + SwiftLibrary lib, + T other, + ) { + return NSNumber._(other.pointer, lib, retain: true, release: true); } /// Returns a [NSNumber] that wraps the given raw object pointer. static NSNumber castFromPointer( - SwiftLibrary lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + SwiftLibrary lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSNumber._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSNumber]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_NSNumber1); + static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSNumber1, + ); } @override NSNumber? initWithCoder_(NSCoder coder) { - final _ret = - _lib._objc_msgSend_47(_id, _lib._sel_initWithCoder_1, coder._id); + final _ret = _lib._objc_msgSend_47( + this.pointer, + _lib._sel_initWithCoder_1, + coder.pointer, + ); return _ret.address == 0 ? null : NSNumber._(_ret, _lib, retain: true, release: true); } NSNumber initWithChar_(int value) { - final _ret = _lib._objc_msgSend_220(_id, _lib._sel_initWithChar_1, value); + final _ret = _lib._objc_msgSend_220( + this.pointer, + _lib._sel_initWithChar_1, + value, + ); return NSNumber._(_ret, _lib, retain: true, release: true); } NSNumber initWithUnsignedChar_(int value) { - final _ret = - _lib._objc_msgSend_221(_id, _lib._sel_initWithUnsignedChar_1, value); + final _ret = _lib._objc_msgSend_221( + this.pointer, + _lib._sel_initWithUnsignedChar_1, + value, + ); return NSNumber._(_ret, _lib, retain: true, release: true); } NSNumber initWithShort_(int value) { - final _ret = _lib._objc_msgSend_222(_id, _lib._sel_initWithShort_1, value); + final _ret = _lib._objc_msgSend_222( + this.pointer, + _lib._sel_initWithShort_1, + value, + ); return NSNumber._(_ret, _lib, retain: true, release: true); } NSNumber initWithUnsignedShort_(int value) { - final _ret = - _lib._objc_msgSend_223(_id, _lib._sel_initWithUnsignedShort_1, value); + final _ret = _lib._objc_msgSend_223( + this.pointer, + _lib._sel_initWithUnsignedShort_1, + value, + ); return NSNumber._(_ret, _lib, retain: true, release: true); } NSNumber initWithInt_(int value) { - final _ret = _lib._objc_msgSend_224(_id, _lib._sel_initWithInt_1, value); + final _ret = _lib._objc_msgSend_224( + this.pointer, + _lib._sel_initWithInt_1, + value, + ); return NSNumber._(_ret, _lib, retain: true, release: true); } NSNumber initWithUnsignedInt_(int value) { - final _ret = - _lib._objc_msgSend_225(_id, _lib._sel_initWithUnsignedInt_1, value); + final _ret = _lib._objc_msgSend_225( + this.pointer, + _lib._sel_initWithUnsignedInt_1, + value, + ); return NSNumber._(_ret, _lib, retain: true, release: true); } NSNumber initWithLong_(int value) { - final _ret = _lib._objc_msgSend_226(_id, _lib._sel_initWithLong_1, value); + final _ret = _lib._objc_msgSend_226( + this.pointer, + _lib._sel_initWithLong_1, + value, + ); return NSNumber._(_ret, _lib, retain: true, release: true); } NSNumber initWithUnsignedLong_(int value) { - final _ret = - _lib._objc_msgSend_227(_id, _lib._sel_initWithUnsignedLong_1, value); + final _ret = _lib._objc_msgSend_227( + this.pointer, + _lib._sel_initWithUnsignedLong_1, + value, + ); return NSNumber._(_ret, _lib, retain: true, release: true); } NSNumber initWithLongLong_(int value) { - final _ret = - _lib._objc_msgSend_228(_id, _lib._sel_initWithLongLong_1, value); + final _ret = _lib._objc_msgSend_228( + this.pointer, + _lib._sel_initWithLongLong_1, + value, + ); return NSNumber._(_ret, _lib, retain: true, release: true); } NSNumber initWithUnsignedLongLong_(int value) { final _ret = _lib._objc_msgSend_229( - _id, _lib._sel_initWithUnsignedLongLong_1, value); + this.pointer, + _lib._sel_initWithUnsignedLongLong_1, + value, + ); return NSNumber._(_ret, _lib, retain: true, release: true); } NSNumber initWithFloat_(double value) { - final _ret = _lib._objc_msgSend_230(_id, _lib._sel_initWithFloat_1, value); + final _ret = _lib._objc_msgSend_230( + this.pointer, + _lib._sel_initWithFloat_1, + value, + ); return NSNumber._(_ret, _lib, retain: true, release: true); } NSNumber initWithDouble_(double value) { - final _ret = _lib._objc_msgSend_231(_id, _lib._sel_initWithDouble_1, value); + final _ret = _lib._objc_msgSend_231( + this.pointer, + _lib._sel_initWithDouble_1, + value, + ); return NSNumber._(_ret, _lib, retain: true, release: true); } NSNumber initWithBool_(bool value) { - final _ret = _lib._objc_msgSend_232(_id, _lib._sel_initWithBool_1, value); + final _ret = _lib._objc_msgSend_232( + this.pointer, + _lib._sel_initWithBool_1, + value, + ); return NSNumber._(_ret, _lib, retain: true, release: true); } NSNumber initWithInteger_(int value) { - final _ret = - _lib._objc_msgSend_226(_id, _lib._sel_initWithInteger_1, value); + final _ret = _lib._objc_msgSend_226( + this.pointer, + _lib._sel_initWithInteger_1, + value, + ); return NSNumber._(_ret, _lib, retain: true, release: true); } NSNumber initWithUnsignedInteger_(int value) { - final _ret = - _lib._objc_msgSend_227(_id, _lib._sel_initWithUnsignedInteger_1, value); + final _ret = _lib._objc_msgSend_227( + this.pointer, + _lib._sel_initWithUnsignedInteger_1, + value, + ); return NSNumber._(_ret, _lib, retain: true, release: true); } int get charValue { - return _lib._objc_msgSend_233(_id, _lib._sel_charValue1); + return _lib._objc_msgSend_233(this.pointer, _lib._sel_charValue1); } int get unsignedCharValue { - return _lib._objc_msgSend_234(_id, _lib._sel_unsignedCharValue1); + return _lib._objc_msgSend_234(this.pointer, _lib._sel_unsignedCharValue1); } int get shortValue { - return _lib._objc_msgSend_235(_id, _lib._sel_shortValue1); + return _lib._objc_msgSend_235(this.pointer, _lib._sel_shortValue1); } int get unsignedShortValue { - return _lib._objc_msgSend_236(_id, _lib._sel_unsignedShortValue1); + return _lib._objc_msgSend_236(this.pointer, _lib._sel_unsignedShortValue1); } int get intValue { - return _lib._objc_msgSend_237(_id, _lib._sel_intValue1); + return _lib._objc_msgSend_237(this.pointer, _lib._sel_intValue1); } int get unsignedIntValue { - return _lib._objc_msgSend_214(_id, _lib._sel_unsignedIntValue1); + return _lib._objc_msgSend_214(this.pointer, _lib._sel_unsignedIntValue1); } int get longValue { - return _lib._objc_msgSend_83(_id, _lib._sel_longValue1); + return _lib._objc_msgSend_83(this.pointer, _lib._sel_longValue1); } int get unsignedLongValue { - return _lib._objc_msgSend_10(_id, _lib._sel_unsignedLongValue1); + return _lib._objc_msgSend_10(this.pointer, _lib._sel_unsignedLongValue1); } int get longLongValue { - return _lib._objc_msgSend_238(_id, _lib._sel_longLongValue1); + return _lib._objc_msgSend_238(this.pointer, _lib._sel_longLongValue1); } int get unsignedLongLongValue { - return _lib._objc_msgSend_164(_id, _lib._sel_unsignedLongLongValue1); + return _lib._objc_msgSend_164( + this.pointer, + _lib._sel_unsignedLongLongValue1, + ); } double get floatValue { - return _lib._objc_msgSend_useVariants1 - ? _lib._objc_msgSend_239_fpret(_id, _lib._sel_floatValue1) - : _lib._objc_msgSend_239(_id, _lib._sel_floatValue1); + return objc.useMsgSendVariants + ? _lib._objc_msgSend_239_fpret(this.pointer, _lib._sel_floatValue1) + : _lib._objc_msgSend_239(this.pointer, _lib._sel_floatValue1); } double get doubleValue { - return _lib._objc_msgSend_useVariants1 - ? _lib._objc_msgSend_165_fpret(_id, _lib._sel_doubleValue1) - : _lib._objc_msgSend_165(_id, _lib._sel_doubleValue1); + return objc.useMsgSendVariants + ? _lib._objc_msgSend_165_fpret(this.pointer, _lib._sel_doubleValue1) + : _lib._objc_msgSend_165(this.pointer, _lib._sel_doubleValue1); } bool get boolValue { - return _lib._objc_msgSend_12(_id, _lib._sel_boolValue1); + return _lib._objc_msgSend_12(this.pointer, _lib._sel_boolValue1); } int get integerValue { - return _lib._objc_msgSend_83(_id, _lib._sel_integerValue1); + return _lib._objc_msgSend_83(this.pointer, _lib._sel_integerValue1); } int get unsignedIntegerValue { - return _lib._objc_msgSend_10(_id, _lib._sel_unsignedIntegerValue1); + return _lib._objc_msgSend_10(this.pointer, _lib._sel_unsignedIntegerValue1); } NSString get stringValue { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_stringValue1); + final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_stringValue1); return NSString._(_ret, _lib, retain: true, release: true); } int compare_(NSNumber otherNumber) { - return _lib._objc_msgSend_240(_id, _lib._sel_compare_1, otherNumber._id); + return _lib._objc_msgSend_240( + this.pointer, + _lib._sel_compare_1, + otherNumber.pointer, + ); } bool isEqualToNumber_(NSNumber number) { - return _lib._objc_msgSend_241(_id, _lib._sel_isEqualToNumber_1, number._id); + return _lib._objc_msgSend_241( + this.pointer, + _lib._sel_isEqualToNumber_1, + number.pointer, + ); } NSString descriptionWithLocale_(NSObject? locale) { final _ret = _lib._objc_msgSend_70( - _id, _lib._sel_descriptionWithLocale_1, locale?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_descriptionWithLocale_1, + locale?.pointer ?? ffi.nullptr, + ); return NSString._(_ret, _lib, retain: true, release: true); } static NSNumber numberWithChar_(SwiftLibrary _lib, int value) { final _ret = _lib._objc_msgSend_220( - _lib._class_NSNumber1, _lib._sel_numberWithChar_1, value); + _lib._class_NSNumber1, + _lib._sel_numberWithChar_1, + value, + ); return NSNumber._(_ret, _lib, retain: true, release: true); } static NSNumber numberWithUnsignedChar_(SwiftLibrary _lib, int value) { final _ret = _lib._objc_msgSend_221( - _lib._class_NSNumber1, _lib._sel_numberWithUnsignedChar_1, value); + _lib._class_NSNumber1, + _lib._sel_numberWithUnsignedChar_1, + value, + ); return NSNumber._(_ret, _lib, retain: true, release: true); } static NSNumber numberWithShort_(SwiftLibrary _lib, int value) { final _ret = _lib._objc_msgSend_222( - _lib._class_NSNumber1, _lib._sel_numberWithShort_1, value); + _lib._class_NSNumber1, + _lib._sel_numberWithShort_1, + value, + ); return NSNumber._(_ret, _lib, retain: true, release: true); } static NSNumber numberWithUnsignedShort_(SwiftLibrary _lib, int value) { final _ret = _lib._objc_msgSend_223( - _lib._class_NSNumber1, _lib._sel_numberWithUnsignedShort_1, value); + _lib._class_NSNumber1, + _lib._sel_numberWithUnsignedShort_1, + value, + ); return NSNumber._(_ret, _lib, retain: true, release: true); } static NSNumber numberWithInt_(SwiftLibrary _lib, int value) { final _ret = _lib._objc_msgSend_224( - _lib._class_NSNumber1, _lib._sel_numberWithInt_1, value); + _lib._class_NSNumber1, + _lib._sel_numberWithInt_1, + value, + ); return NSNumber._(_ret, _lib, retain: true, release: true); } static NSNumber numberWithUnsignedInt_(SwiftLibrary _lib, int value) { final _ret = _lib._objc_msgSend_225( - _lib._class_NSNumber1, _lib._sel_numberWithUnsignedInt_1, value); + _lib._class_NSNumber1, + _lib._sel_numberWithUnsignedInt_1, + value, + ); return NSNumber._(_ret, _lib, retain: true, release: true); } static NSNumber numberWithLong_(SwiftLibrary _lib, int value) { final _ret = _lib._objc_msgSend_226( - _lib._class_NSNumber1, _lib._sel_numberWithLong_1, value); + _lib._class_NSNumber1, + _lib._sel_numberWithLong_1, + value, + ); return NSNumber._(_ret, _lib, retain: true, release: true); } static NSNumber numberWithUnsignedLong_(SwiftLibrary _lib, int value) { final _ret = _lib._objc_msgSend_227( - _lib._class_NSNumber1, _lib._sel_numberWithUnsignedLong_1, value); + _lib._class_NSNumber1, + _lib._sel_numberWithUnsignedLong_1, + value, + ); return NSNumber._(_ret, _lib, retain: true, release: true); } static NSNumber numberWithLongLong_(SwiftLibrary _lib, int value) { final _ret = _lib._objc_msgSend_228( - _lib._class_NSNumber1, _lib._sel_numberWithLongLong_1, value); + _lib._class_NSNumber1, + _lib._sel_numberWithLongLong_1, + value, + ); return NSNumber._(_ret, _lib, retain: true, release: true); } static NSNumber numberWithUnsignedLongLong_(SwiftLibrary _lib, int value) { final _ret = _lib._objc_msgSend_229( - _lib._class_NSNumber1, _lib._sel_numberWithUnsignedLongLong_1, value); + _lib._class_NSNumber1, + _lib._sel_numberWithUnsignedLongLong_1, + value, + ); return NSNumber._(_ret, _lib, retain: true, release: true); } static NSNumber numberWithFloat_(SwiftLibrary _lib, double value) { final _ret = _lib._objc_msgSend_230( - _lib._class_NSNumber1, _lib._sel_numberWithFloat_1, value); + _lib._class_NSNumber1, + _lib._sel_numberWithFloat_1, + value, + ); return NSNumber._(_ret, _lib, retain: true, release: true); } static NSNumber numberWithDouble_(SwiftLibrary _lib, double value) { final _ret = _lib._objc_msgSend_231( - _lib._class_NSNumber1, _lib._sel_numberWithDouble_1, value); + _lib._class_NSNumber1, + _lib._sel_numberWithDouble_1, + value, + ); return NSNumber._(_ret, _lib, retain: true, release: true); } static NSNumber numberWithBool_(SwiftLibrary _lib, bool value) { final _ret = _lib._objc_msgSend_232( - _lib._class_NSNumber1, _lib._sel_numberWithBool_1, value); + _lib._class_NSNumber1, + _lib._sel_numberWithBool_1, + value, + ); return NSNumber._(_ret, _lib, retain: true, release: true); } static NSNumber numberWithInteger_(SwiftLibrary _lib, int value) { final _ret = _lib._objc_msgSend_226( - _lib._class_NSNumber1, _lib._sel_numberWithInteger_1, value); + _lib._class_NSNumber1, + _lib._sel_numberWithInteger_1, + value, + ); return NSNumber._(_ret, _lib, retain: true, release: true); } static NSNumber numberWithUnsignedInteger_(SwiftLibrary _lib, int value) { final _ret = _lib._objc_msgSend_227( - _lib._class_NSNumber1, _lib._sel_numberWithUnsignedInteger_1, value); + _lib._class_NSNumber1, + _lib._sel_numberWithUnsignedInteger_1, + value, + ); return NSNumber._(_ret, _lib, retain: true, release: true); } @override NSNumber initWithBytes_objCType_( - ffi.Pointer value, ffi.Pointer type) { + ffi.Pointer value, + ffi.Pointer type, + ) { final _ret = _lib._objc_msgSend_46( - _id, _lib._sel_initWithBytes_objCType_1, value, type); + this.pointer, + _lib._sel_initWithBytes_objCType_1, + value, + type, + ); return NSNumber._(_ret, _lib, retain: true, release: true); } - static NSValue valueWithBytes_objCType_(SwiftLibrary _lib, - ffi.Pointer value, ffi.Pointer type) { - final _ret = _lib._objc_msgSend_48(_lib._class_NSNumber1, - _lib._sel_valueWithBytes_objCType_1, value, type); + static NSValue valueWithBytes_objCType_( + SwiftLibrary _lib, + ffi.Pointer value, + ffi.Pointer type, + ) { + final _ret = _lib._objc_msgSend_48( + _lib._class_NSNumber1, + _lib._sel_valueWithBytes_objCType_1, + value, + type, + ); return NSValue._(_ret, _lib, retain: true, release: true); } - static NSValue value_withObjCType_(SwiftLibrary _lib, - ffi.Pointer value, ffi.Pointer type) { + static NSValue value_withObjCType_( + SwiftLibrary _lib, + ffi.Pointer value, + ffi.Pointer type, + ) { final _ret = _lib._objc_msgSend_48( - _lib._class_NSNumber1, _lib._sel_value_withObjCType_1, value, type); + _lib._class_NSNumber1, + _lib._sel_value_withObjCType_1, + value, + type, + ); return NSValue._(_ret, _lib, retain: true, release: true); } static NSValue valueWithNonretainedObject_( - SwiftLibrary _lib, NSObject? anObject) { - final _ret = _lib._objc_msgSend_49(_lib._class_NSNumber1, - _lib._sel_valueWithNonretainedObject_1, anObject?._id ?? ffi.nullptr); + SwiftLibrary _lib, + NSObject? anObject, + ) { + final _ret = _lib._objc_msgSend_49( + _lib._class_NSNumber1, + _lib._sel_valueWithNonretainedObject_1, + anObject?.pointer ?? ffi.nullptr, + ); return NSValue._(_ret, _lib, retain: true, release: true); } static NSValue valueWithPointer_( - SwiftLibrary _lib, ffi.Pointer pointer) { + SwiftLibrary _lib, + ffi.Pointer pointer, + ) { final _ret = _lib._objc_msgSend_50( - _lib._class_NSNumber1, _lib._sel_valueWithPointer_1, pointer); + _lib._class_NSNumber1, + _lib._sel_valueWithPointer_1, + pointer, + ); return NSValue._(_ret, _lib, retain: true, release: true); } static NSValue valueWithRange_(SwiftLibrary _lib, _NSRange range) { final _ret = _lib._objc_msgSend_53( - _lib._class_NSNumber1, _lib._sel_valueWithRange_1, range); + _lib._class_NSNumber1, + _lib._sel_valueWithRange_1, + range, + ); return NSValue._(_ret, _lib, retain: true, release: true); } static NSValue valueWithPoint_(SwiftLibrary _lib, CGPoint point) { final _ret = _lib._objc_msgSend_55( - _lib._class_NSNumber1, _lib._sel_valueWithPoint_1, point); + _lib._class_NSNumber1, + _lib._sel_valueWithPoint_1, + point, + ); return NSValue._(_ret, _lib, retain: true, release: true); } static NSValue valueWithSize_(SwiftLibrary _lib, CGSize size) { final _ret = _lib._objc_msgSend_56( - _lib._class_NSNumber1, _lib._sel_valueWithSize_1, size); + _lib._class_NSNumber1, + _lib._sel_valueWithSize_1, + size, + ); return NSValue._(_ret, _lib, retain: true, release: true); } static NSValue valueWithRect_(SwiftLibrary _lib, CGRect rect) { final _ret = _lib._objc_msgSend_57( - _lib._class_NSNumber1, _lib._sel_valueWithRect_1, rect); + _lib._class_NSNumber1, + _lib._sel_valueWithRect_1, + rect, + ); return NSValue._(_ret, _lib, retain: true, release: true); } static NSValue valueWithEdgeInsets_(SwiftLibrary _lib, NSEdgeInsets insets) { final _ret = _lib._objc_msgSend_58( - _lib._class_NSNumber1, _lib._sel_valueWithEdgeInsets_1, insets); + _lib._class_NSNumber1, + _lib._sel_valueWithEdgeInsets_1, + insets, + ); return NSValue._(_ret, _lib, retain: true, release: true); } @override NSNumber init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSNumber._(_ret, _lib, retain: true, release: true); } @@ -37879,7 +48538,10 @@ class NSNumber extends NSValue { static NSNumber allocWithZone_(SwiftLibrary _lib, ffi.Pointer<_NSZone> zone) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSNumber1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSNumber1, + _lib._sel_allocWithZone_1, + zone, + ); return NSNumber._(_ret, _lib, retain: false, release: true); } @@ -37889,225 +48551,342 @@ class NSNumber extends NSValue { } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + SwiftLibrary _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSNumber1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSNumber1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSNumber1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + SwiftLibrary _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSNumber1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { return _lib._objc_msgSend_12( - _lib._class_NSNumber1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_NSNumber1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(SwiftLibrary _lib) { return _lib._objc_msgSend_12( - _lib._class_NSNumber1, _lib._sel_useStoredAccessor1); + _lib._class_NSNumber1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSNumber1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSNumber1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSNumber1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSNumber1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, NSArray keys, NSString dependentKey) { + SwiftLibrary _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSNumber1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSNumber1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_85( - _lib._class_NSNumber1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSNumber1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSNumber1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSNumber1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } class NSValue extends NSObject { - NSValue._(ffi.Pointer id, SwiftLibrary lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSValue._( + ffi.Pointer pointer, + SwiftLibrary lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSValue] that points to the same underlying object as [other]. - static NSValue castFrom(T other) { - return NSValue._(other._id, other._lib, retain: true, release: true); + static NSValue castFrom( + SwiftLibrary lib, + T other, + ) { + return NSValue._(other.pointer, lib, retain: true, release: true); } /// Returns a [NSValue] that wraps the given raw object pointer. static NSValue castFromPointer( - SwiftLibrary lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + SwiftLibrary lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSValue._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSValue]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_NSValue1); + static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSValue1, + ); } void getValue_size_(ffi.Pointer value, int size) { - _lib._objc_msgSend_22(_id, _lib._sel_getValue_size_1, value, size); + _lib._objc_msgSend_22(this.pointer, _lib._sel_getValue_size_1, value, size); } ffi.Pointer get objCType { - return _lib._objc_msgSend_13(_id, _lib._sel_objCType1); + return _lib._objc_msgSend_13(this.pointer, _lib._sel_objCType1); } NSValue initWithBytes_objCType_( - ffi.Pointer value, ffi.Pointer type) { + ffi.Pointer value, + ffi.Pointer type, + ) { final _ret = _lib._objc_msgSend_46( - _id, _lib._sel_initWithBytes_objCType_1, value, type); + this.pointer, + _lib._sel_initWithBytes_objCType_1, + value, + type, + ); return NSValue._(_ret, _lib, retain: true, release: true); } NSValue? initWithCoder_(NSCoder coder) { - final _ret = - _lib._objc_msgSend_47(_id, _lib._sel_initWithCoder_1, coder._id); + final _ret = _lib._objc_msgSend_47( + this.pointer, + _lib._sel_initWithCoder_1, + coder.pointer, + ); return _ret.address == 0 ? null : NSValue._(_ret, _lib, retain: true, release: true); } - static NSValue valueWithBytes_objCType_(SwiftLibrary _lib, - ffi.Pointer value, ffi.Pointer type) { + static NSValue valueWithBytes_objCType_( + SwiftLibrary _lib, + ffi.Pointer value, + ffi.Pointer type, + ) { final _ret = _lib._objc_msgSend_48( - _lib._class_NSValue1, _lib._sel_valueWithBytes_objCType_1, value, type); + _lib._class_NSValue1, + _lib._sel_valueWithBytes_objCType_1, + value, + type, + ); return NSValue._(_ret, _lib, retain: true, release: true); } - static NSValue value_withObjCType_(SwiftLibrary _lib, - ffi.Pointer value, ffi.Pointer type) { + static NSValue value_withObjCType_( + SwiftLibrary _lib, + ffi.Pointer value, + ffi.Pointer type, + ) { final _ret = _lib._objc_msgSend_48( - _lib._class_NSValue1, _lib._sel_value_withObjCType_1, value, type); + _lib._class_NSValue1, + _lib._sel_value_withObjCType_1, + value, + type, + ); return NSValue._(_ret, _lib, retain: true, release: true); } static NSValue valueWithNonretainedObject_( - SwiftLibrary _lib, NSObject? anObject) { - final _ret = _lib._objc_msgSend_49(_lib._class_NSValue1, - _lib._sel_valueWithNonretainedObject_1, anObject?._id ?? ffi.nullptr); + SwiftLibrary _lib, + NSObject? anObject, + ) { + final _ret = _lib._objc_msgSend_49( + _lib._class_NSValue1, + _lib._sel_valueWithNonretainedObject_1, + anObject?.pointer ?? ffi.nullptr, + ); return NSValue._(_ret, _lib, retain: true, release: true); } NSObject? get nonretainedObjectValue { - final _ret = _lib._objc_msgSend_17(_id, _lib._sel_nonretainedObjectValue1); + final _ret = _lib._objc_msgSend_17( + this.pointer, + _lib._sel_nonretainedObjectValue1, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } static NSValue valueWithPointer_( - SwiftLibrary _lib, ffi.Pointer pointer) { + SwiftLibrary _lib, + ffi.Pointer pointer, + ) { final _ret = _lib._objc_msgSend_50( - _lib._class_NSValue1, _lib._sel_valueWithPointer_1, pointer); + _lib._class_NSValue1, + _lib._sel_valueWithPointer_1, + pointer, + ); return NSValue._(_ret, _lib, retain: true, release: true); } ffi.Pointer get pointerValue { - return _lib._objc_msgSend_20(_id, _lib._sel_pointerValue1); + return _lib._objc_msgSend_20(this.pointer, _lib._sel_pointerValue1); } bool isEqualToValue_(NSValue value) { - return _lib._objc_msgSend_51(_id, _lib._sel_isEqualToValue_1, value._id); + return _lib._objc_msgSend_51( + this.pointer, + _lib._sel_isEqualToValue_1, + value.pointer, + ); } void getValue_(ffi.Pointer value) { - _lib._objc_msgSend_52(_id, _lib._sel_getValue_1, value); + _lib._objc_msgSend_52(this.pointer, _lib._sel_getValue_1, value); } static NSValue valueWithRange_(SwiftLibrary _lib, _NSRange range) { final _ret = _lib._objc_msgSend_53( - _lib._class_NSValue1, _lib._sel_valueWithRange_1, range); + _lib._class_NSValue1, + _lib._sel_valueWithRange_1, + range, + ); return NSValue._(_ret, _lib, retain: true, release: true); } void getRangeValue(ffi.Pointer<_NSRange> stret) { - _lib._objc_msgSend_useVariants1 - ? _lib._objc_msgSend_54_stret(stret, _id, _lib._sel_rangeValue1) - : stret.ref = _lib._objc_msgSend_54(_id, _lib._sel_rangeValue1); + objc.useMsgSendVariants + ? _lib._objc_msgSend_54_stret( + stret, + this.pointer, + _lib._sel_rangeValue1, + ) + : stret.ref = _lib._objc_msgSend_54( + this.pointer, + _lib._sel_rangeValue1, + ); } static NSValue valueWithPoint_(SwiftLibrary _lib, CGPoint point) { final _ret = _lib._objc_msgSend_55( - _lib._class_NSValue1, _lib._sel_valueWithPoint_1, point); + _lib._class_NSValue1, + _lib._sel_valueWithPoint_1, + point, + ); return NSValue._(_ret, _lib, retain: true, release: true); } static NSValue valueWithSize_(SwiftLibrary _lib, CGSize size) { final _ret = _lib._objc_msgSend_56( - _lib._class_NSValue1, _lib._sel_valueWithSize_1, size); + _lib._class_NSValue1, + _lib._sel_valueWithSize_1, + size, + ); return NSValue._(_ret, _lib, retain: true, release: true); } static NSValue valueWithRect_(SwiftLibrary _lib, CGRect rect) { final _ret = _lib._objc_msgSend_57( - _lib._class_NSValue1, _lib._sel_valueWithRect_1, rect); + _lib._class_NSValue1, + _lib._sel_valueWithRect_1, + rect, + ); return NSValue._(_ret, _lib, retain: true, release: true); } static NSValue valueWithEdgeInsets_(SwiftLibrary _lib, NSEdgeInsets insets) { final _ret = _lib._objc_msgSend_58( - _lib._class_NSValue1, _lib._sel_valueWithEdgeInsets_1, insets); + _lib._class_NSValue1, + _lib._sel_valueWithEdgeInsets_1, + insets, + ); return NSValue._(_ret, _lib, retain: true, release: true); } void getPointValue(ffi.Pointer stret) { - _lib._objc_msgSend_useVariants1 - ? _lib._objc_msgSend_59_stret(stret, _id, _lib._sel_pointValue1) - : stret.ref = _lib._objc_msgSend_59(_id, _lib._sel_pointValue1); + objc.useMsgSendVariants + ? _lib._objc_msgSend_59_stret( + stret, + this.pointer, + _lib._sel_pointValue1, + ) + : stret.ref = _lib._objc_msgSend_59( + this.pointer, + _lib._sel_pointValue1, + ); } void getSizeValue(ffi.Pointer stret) { - _lib._objc_msgSend_useVariants1 - ? _lib._objc_msgSend_60_stret(stret, _id, _lib._sel_sizeValue1) - : stret.ref = _lib._objc_msgSend_60(_id, _lib._sel_sizeValue1); + objc.useMsgSendVariants + ? _lib._objc_msgSend_60_stret(stret, this.pointer, _lib._sel_sizeValue1) + : stret.ref = _lib._objc_msgSend_60(this.pointer, _lib._sel_sizeValue1); } void getRectValue(ffi.Pointer stret) { - _lib._objc_msgSend_useVariants1 - ? _lib._objc_msgSend_61_stret(stret, _id, _lib._sel_rectValue1) - : stret.ref = _lib._objc_msgSend_61(_id, _lib._sel_rectValue1); + objc.useMsgSendVariants + ? _lib._objc_msgSend_61_stret(stret, this.pointer, _lib._sel_rectValue1) + : stret.ref = _lib._objc_msgSend_61(this.pointer, _lib._sel_rectValue1); } void getEdgeInsetsValue(ffi.Pointer stret) { - _lib._objc_msgSend_useVariants1 - ? _lib._objc_msgSend_62_stret(stret, _id, _lib._sel_edgeInsetsValue1) - : stret.ref = _lib._objc_msgSend_62(_id, _lib._sel_edgeInsetsValue1); + objc.useMsgSendVariants + ? _lib._objc_msgSend_62_stret( + stret, + this.pointer, + _lib._sel_edgeInsetsValue1, + ) + : stret.ref = _lib._objc_msgSend_62( + this.pointer, + _lib._sel_edgeInsetsValue1, + ); } @override NSValue init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSValue._(_ret, _lib, retain: true, release: true); } @@ -38118,7 +48897,10 @@ class NSValue extends NSObject { static NSValue allocWithZone_(SwiftLibrary _lib, ffi.Pointer<_NSZone> zone) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSValue1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSValue1, + _lib._sel_allocWithZone_1, + zone, + ); return NSValue._(_ret, _lib, retain: false, release: true); } @@ -38128,65 +48910,94 @@ class NSValue extends NSObject { } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + SwiftLibrary _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSValue1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSValue1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSValue1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + SwiftLibrary _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSValue1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { return _lib._objc_msgSend_12( - _lib._class_NSValue1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_NSValue1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(SwiftLibrary _lib) { return _lib._objc_msgSend_12( - _lib._class_NSValue1, _lib._sel_useStoredAccessor1); + _lib._class_NSValue1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSValue1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSValue1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSValue1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSValue1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, NSArray keys, NSString dependentKey) { + SwiftLibrary _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSValue1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSValue1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_85( - _lib._class_NSValue1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSValue1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSValue1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSValue1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } @@ -38228,53 +49039,78 @@ final class NSEdgeInsets extends ffi.Struct { } class NSArray extends NSObject { - NSArray._(ffi.Pointer id, SwiftLibrary lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSArray._( + ffi.Pointer pointer, + SwiftLibrary lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSArray] that points to the same underlying object as [other]. - static NSArray castFrom(T other) { - return NSArray._(other._id, other._lib, retain: true, release: true); + static NSArray castFrom( + SwiftLibrary lib, + T other, + ) { + return NSArray._(other.pointer, lib, retain: true, release: true); } /// Returns a [NSArray] that wraps the given raw object pointer. static NSArray castFromPointer( - SwiftLibrary lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + SwiftLibrary lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSArray._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSArray]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_NSArray1); + static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSArray1, + ); } int get count { - return _lib._objc_msgSend_10(_id, _lib._sel_count1); + return _lib._objc_msgSend_10(this.pointer, _lib._sel_count1); } NSObject objectAtIndex_(int index) { - final _ret = _lib._objc_msgSend_65(_id, _lib._sel_objectAtIndex_1, index); + final _ret = _lib._objc_msgSend_65( + this.pointer, + _lib._sel_objectAtIndex_1, + index, + ); return NSObject._(_ret, _lib, retain: true, release: true); } @override NSArray init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSArray._(_ret, _lib, retain: true, release: true); } NSArray initWithObjects_count_( - ffi.Pointer> objects, int cnt) { + ffi.Pointer> objects, + int cnt, + ) { final _ret = _lib._objc_msgSend_66( - _id, _lib._sel_initWithObjects_count_1, objects, cnt); + this.pointer, + _lib._sel_initWithObjects_count_1, + objects, + cnt, + ); return NSArray._(_ret, _lib, retain: true, release: true); } NSArray? initWithCoder_(NSCoder coder) { - final _ret = - _lib._objc_msgSend_47(_id, _lib._sel_initWithCoder_1, coder._id); + final _ret = _lib._objc_msgSend_47( + this.pointer, + _lib._sel_initWithCoder_1, + coder.pointer, + ); return _ret.address == 0 ? null : NSArray._(_ret, _lib, retain: true, release: true); @@ -38282,283 +49118,427 @@ class NSArray extends NSObject { NSArray arrayByAddingObject_(NSObject anObject) { final _ret = _lib._objc_msgSend_67( - _id, _lib._sel_arrayByAddingObject_1, anObject._id); + this.pointer, + _lib._sel_arrayByAddingObject_1, + anObject.pointer, + ); return NSArray._(_ret, _lib, retain: true, release: true); } NSArray arrayByAddingObjectsFromArray_(NSArray otherArray) { final _ret = _lib._objc_msgSend_68( - _id, _lib._sel_arrayByAddingObjectsFromArray_1, otherArray._id); + this.pointer, + _lib._sel_arrayByAddingObjectsFromArray_1, + otherArray.pointer, + ); return NSArray._(_ret, _lib, retain: true, release: true); } NSString componentsJoinedByString_(NSString separator) { final _ret = _lib._objc_msgSend_69( - _id, _lib._sel_componentsJoinedByString_1, separator._id); + this.pointer, + _lib._sel_componentsJoinedByString_1, + separator.pointer, + ); return NSString._(_ret, _lib, retain: true, release: true); } bool containsObject_(NSObject anObject) { - return _lib._objc_msgSend_0(_id, _lib._sel_containsObject_1, anObject._id); + return _lib._objc_msgSend_0( + this.pointer, + _lib._sel_containsObject_1, + anObject.pointer, + ); } NSString get description { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_description1); + final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_description1); return NSString._(_ret, _lib, retain: true, release: true); } NSString descriptionWithLocale_(NSObject? locale) { final _ret = _lib._objc_msgSend_70( - _id, _lib._sel_descriptionWithLocale_1, locale?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_descriptionWithLocale_1, + locale?.pointer ?? ffi.nullptr, + ); return NSString._(_ret, _lib, retain: true, release: true); } NSString descriptionWithLocale_indent_(NSObject? locale, int level) { final _ret = _lib._objc_msgSend_71( - _id, - _lib._sel_descriptionWithLocale_indent_1, - locale?._id ?? ffi.nullptr, - level); + this.pointer, + _lib._sel_descriptionWithLocale_indent_1, + locale?.pointer ?? ffi.nullptr, + level, + ); return NSString._(_ret, _lib, retain: true, release: true); } NSObject? firstObjectCommonWithArray_(NSArray otherArray) { final _ret = _lib._objc_msgSend_72( - _id, _lib._sel_firstObjectCommonWithArray_1, otherArray._id); + this.pointer, + _lib._sel_firstObjectCommonWithArray_1, + otherArray.pointer, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } void getObjects_range_( - ffi.Pointer> objects, _NSRange range) { - _lib._objc_msgSend_73(_id, _lib._sel_getObjects_range_1, objects, range); + ffi.Pointer> objects, + _NSRange range, + ) { + _lib._objc_msgSend_73( + this.pointer, + _lib._sel_getObjects_range_1, + objects, + range, + ); } int indexOfObject_(NSObject anObject) { - return _lib._objc_msgSend_74(_id, _lib._sel_indexOfObject_1, anObject._id); + return _lib._objc_msgSend_74( + this.pointer, + _lib._sel_indexOfObject_1, + anObject.pointer, + ); } int indexOfObject_inRange_(NSObject anObject, _NSRange range) { return _lib._objc_msgSend_75( - _id, _lib._sel_indexOfObject_inRange_1, anObject._id, range); + this.pointer, + _lib._sel_indexOfObject_inRange_1, + anObject.pointer, + range, + ); } int indexOfObjectIdenticalTo_(NSObject anObject) { return _lib._objc_msgSend_74( - _id, _lib._sel_indexOfObjectIdenticalTo_1, anObject._id); + this.pointer, + _lib._sel_indexOfObjectIdenticalTo_1, + anObject.pointer, + ); } int indexOfObjectIdenticalTo_inRange_(NSObject anObject, _NSRange range) { return _lib._objc_msgSend_75( - _id, _lib._sel_indexOfObjectIdenticalTo_inRange_1, anObject._id, range); + this.pointer, + _lib._sel_indexOfObjectIdenticalTo_inRange_1, + anObject.pointer, + range, + ); } bool isEqualToArray_(NSArray otherArray) { return _lib._objc_msgSend_76( - _id, _lib._sel_isEqualToArray_1, otherArray._id); + this.pointer, + _lib._sel_isEqualToArray_1, + otherArray.pointer, + ); } NSObject? get firstObject { - final _ret = _lib._objc_msgSend_17(_id, _lib._sel_firstObject1); + final _ret = _lib._objc_msgSend_17(this.pointer, _lib._sel_firstObject1); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } NSObject? get lastObject { - final _ret = _lib._objc_msgSend_17(_id, _lib._sel_lastObject1); + final _ret = _lib._objc_msgSend_17(this.pointer, _lib._sel_lastObject1); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } NSEnumerator objectEnumerator() { - final _ret = _lib._objc_msgSend_77(_id, _lib._sel_objectEnumerator1); + final _ret = _lib._objc_msgSend_77( + this.pointer, + _lib._sel_objectEnumerator1, + ); return NSEnumerator._(_ret, _lib, retain: true, release: true); } NSEnumerator reverseObjectEnumerator() { - final _ret = _lib._objc_msgSend_77(_id, _lib._sel_reverseObjectEnumerator1); + final _ret = _lib._objc_msgSend_77( + this.pointer, + _lib._sel_reverseObjectEnumerator1, + ); return NSEnumerator._(_ret, _lib, retain: true, release: true); } NSData get sortedArrayHint { - final _ret = _lib._objc_msgSend_43(_id, _lib._sel_sortedArrayHint1); + final _ret = _lib._objc_msgSend_43( + this.pointer, + _lib._sel_sortedArrayHint1, + ); return NSData._(_ret, _lib, retain: true, release: true); } NSArray sortedArrayUsingFunction_context_( - ffi.Pointer< - ffi.NativeFunction< - ffi.Long Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>> - comparator, - ffi.Pointer context) { + ffi.Pointer< + ffi.NativeFunction< + ffi.Long Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + > comparator, + ffi.Pointer context, + ) { final _ret = _lib._objc_msgSend_78( - _id, _lib._sel_sortedArrayUsingFunction_context_1, comparator, context); + this.pointer, + _lib._sel_sortedArrayUsingFunction_context_1, + comparator, + context, + ); return NSArray._(_ret, _lib, retain: true, release: true); } NSArray sortedArrayUsingFunction_context_hint_( - ffi.Pointer< - ffi.NativeFunction< - ffi.Long Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>> - comparator, - ffi.Pointer context, - NSData? hint) { + ffi.Pointer< + ffi.NativeFunction< + ffi.Long Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + > comparator, + ffi.Pointer context, + NSData? hint, + ) { final _ret = _lib._objc_msgSend_79( - _id, - _lib._sel_sortedArrayUsingFunction_context_hint_1, - comparator, - context, - hint?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_sortedArrayUsingFunction_context_hint_1, + comparator, + context, + hint?.pointer ?? ffi.nullptr, + ); return NSArray._(_ret, _lib, retain: true, release: true); } - NSArray sortedArrayUsingSelector_(ffi.Pointer comparator) { + NSArray sortedArrayUsingSelector_(ffi.Pointer comparator) { final _ret = _lib._objc_msgSend_80( - _id, _lib._sel_sortedArrayUsingSelector_1, comparator); + this.pointer, + _lib._sel_sortedArrayUsingSelector_1, + comparator, + ); return NSArray._(_ret, _lib, retain: true, release: true); } NSArray subarrayWithRange_(_NSRange range) { - final _ret = - _lib._objc_msgSend_81(_id, _lib._sel_subarrayWithRange_1, range); + final _ret = _lib._objc_msgSend_81( + this.pointer, + _lib._sel_subarrayWithRange_1, + range, + ); return NSArray._(_ret, _lib, retain: true, release: true); } bool writeToURL_error_( - NSURL url, ffi.Pointer> error) { + NSURL url, + ffi.Pointer> error, + ) { return _lib._objc_msgSend_89( - _id, _lib._sel_writeToURL_error_1, url._id, error); + this.pointer, + _lib._sel_writeToURL_error_1, + url.pointer, + error, + ); } - void makeObjectsPerformSelector_(ffi.Pointer aSelector) { + void makeObjectsPerformSelector_(ffi.Pointer aSelector) { _lib._objc_msgSend_7( - _id, _lib._sel_makeObjectsPerformSelector_1, aSelector); + this.pointer, + _lib._sel_makeObjectsPerformSelector_1, + aSelector, + ); } void makeObjectsPerformSelector_withObject_( - ffi.Pointer aSelector, NSObject? argument) { + ffi.Pointer aSelector, + NSObject? argument, + ) { _lib._objc_msgSend_90( - _id, - _lib._sel_makeObjectsPerformSelector_withObject_1, - aSelector, - argument?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_makeObjectsPerformSelector_withObject_1, + aSelector, + argument?.pointer ?? ffi.nullptr, + ); } NSArray objectsAtIndexes_(NSIndexSet indexes) { - final _ret = - _lib._objc_msgSend_111(_id, _lib._sel_objectsAtIndexes_1, indexes._id); + final _ret = _lib._objc_msgSend_111( + this.pointer, + _lib._sel_objectsAtIndexes_1, + indexes.pointer, + ); return NSArray._(_ret, _lib, retain: true, release: true); } NSObject objectAtIndexedSubscript_(int idx) { - final _ret = - _lib._objc_msgSend_65(_id, _lib._sel_objectAtIndexedSubscript_1, idx); + final _ret = _lib._objc_msgSend_65( + this.pointer, + _lib._sel_objectAtIndexedSubscript_1, + idx, + ); return NSObject._(_ret, _lib, retain: true, release: true); } void enumerateObjectsUsingBlock_( - ObjCBlock_ffiVoid_ObjCObject_ffiUnsignedLong_bool block) { + ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool block, + ) { _lib._objc_msgSend_112( - _id, _lib._sel_enumerateObjectsUsingBlock_1, block._id); + this.pointer, + _lib._sel_enumerateObjectsUsingBlock_1, + block.pointer, + ); } void enumerateObjectsWithOptions_usingBlock_( - int opts, ObjCBlock_ffiVoid_ObjCObject_ffiUnsignedLong_bool block) { - _lib._objc_msgSend_113(_id, - _lib._sel_enumerateObjectsWithOptions_usingBlock_1, opts, block._id); + int opts, + ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool block, + ) { + _lib._objc_msgSend_113( + this.pointer, + _lib._sel_enumerateObjectsWithOptions_usingBlock_1, + opts, + block.pointer, + ); } - void enumerateObjectsAtIndexes_options_usingBlock_(NSIndexSet s, int opts, - ObjCBlock_ffiVoid_ObjCObject_ffiUnsignedLong_bool block) { + void enumerateObjectsAtIndexes_options_usingBlock_( + NSIndexSet s, + int opts, + ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool block, + ) { _lib._objc_msgSend_114( - _id, - _lib._sel_enumerateObjectsAtIndexes_options_usingBlock_1, - s._id, - opts, - block._id); + this.pointer, + _lib._sel_enumerateObjectsAtIndexes_options_usingBlock_1, + s.pointer, + opts, + block.pointer, + ); } int indexOfObjectPassingTest_( - ObjCBlock_bool_ObjCObject_ffiUnsignedLong_bool predicate) { + ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool predicate, + ) { return _lib._objc_msgSend_115( - _id, _lib._sel_indexOfObjectPassingTest_1, predicate._id); + this.pointer, + _lib._sel_indexOfObjectPassingTest_1, + predicate.pointer, + ); } int indexOfObjectWithOptions_passingTest_( - int opts, ObjCBlock_bool_ObjCObject_ffiUnsignedLong_bool predicate) { - return _lib._objc_msgSend_116(_id, - _lib._sel_indexOfObjectWithOptions_passingTest_1, opts, predicate._id); + int opts, + ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool predicate, + ) { + return _lib._objc_msgSend_116( + this.pointer, + _lib._sel_indexOfObjectWithOptions_passingTest_1, + opts, + predicate.pointer, + ); } - int indexOfObjectAtIndexes_options_passingTest_(NSIndexSet s, int opts, - ObjCBlock_bool_ObjCObject_ffiUnsignedLong_bool predicate) { + int indexOfObjectAtIndexes_options_passingTest_( + NSIndexSet s, + int opts, + ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool predicate, + ) { return _lib._objc_msgSend_117( - _id, - _lib._sel_indexOfObjectAtIndexes_options_passingTest_1, - s._id, - opts, - predicate._id); + this.pointer, + _lib._sel_indexOfObjectAtIndexes_options_passingTest_1, + s.pointer, + opts, + predicate.pointer, + ); } NSIndexSet indexesOfObjectsPassingTest_( - ObjCBlock_bool_ObjCObject_ffiUnsignedLong_bool predicate) { + ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool predicate, + ) { final _ret = _lib._objc_msgSend_118( - _id, _lib._sel_indexesOfObjectsPassingTest_1, predicate._id); + this.pointer, + _lib._sel_indexesOfObjectsPassingTest_1, + predicate.pointer, + ); return NSIndexSet._(_ret, _lib, retain: true, release: true); } NSIndexSet indexesOfObjectsWithOptions_passingTest_( - int opts, ObjCBlock_bool_ObjCObject_ffiUnsignedLong_bool predicate) { + int opts, + ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool predicate, + ) { final _ret = _lib._objc_msgSend_119( - _id, - _lib._sel_indexesOfObjectsWithOptions_passingTest_1, - opts, - predicate._id); + this.pointer, + _lib._sel_indexesOfObjectsWithOptions_passingTest_1, + opts, + predicate.pointer, + ); return NSIndexSet._(_ret, _lib, retain: true, release: true); } - NSIndexSet indexesOfObjectsAtIndexes_options_passingTest_(NSIndexSet s, - int opts, ObjCBlock_bool_ObjCObject_ffiUnsignedLong_bool predicate) { + NSIndexSet indexesOfObjectsAtIndexes_options_passingTest_( + NSIndexSet s, + int opts, + ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool predicate, + ) { final _ret = _lib._objc_msgSend_120( - _id, - _lib._sel_indexesOfObjectsAtIndexes_options_passingTest_1, - s._id, - opts, - predicate._id); + this.pointer, + _lib._sel_indexesOfObjectsAtIndexes_options_passingTest_1, + s.pointer, + opts, + predicate.pointer, + ); return NSIndexSet._(_ret, _lib, retain: true, release: true); } NSArray sortedArrayUsingComparator_( - ObjCBlock_NSComparisonResult_ObjCObject_ObjCObject cmptr) { + ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject cmptr, + ) { final _ret = _lib._objc_msgSend_121( - _id, _lib._sel_sortedArrayUsingComparator_1, cmptr._id); + this.pointer, + _lib._sel_sortedArrayUsingComparator_1, + cmptr.pointer, + ); return NSArray._(_ret, _lib, retain: true, release: true); } NSArray sortedArrayWithOptions_usingComparator_( - int opts, ObjCBlock_NSComparisonResult_ObjCObject_ObjCObject cmptr) { - final _ret = _lib._objc_msgSend_122(_id, - _lib._sel_sortedArrayWithOptions_usingComparator_1, opts, cmptr._id); + int opts, + ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject cmptr, + ) { + final _ret = _lib._objc_msgSend_122( + this.pointer, + _lib._sel_sortedArrayWithOptions_usingComparator_1, + opts, + cmptr.pointer, + ); return NSArray._(_ret, _lib, retain: true, release: true); } int indexOfObject_inSortedRange_options_usingComparator_( - NSObject obj, - _NSRange r, - int opts, - ObjCBlock_NSComparisonResult_ObjCObject_ObjCObject cmp) { + NSObject obj, + _NSRange r, + int opts, + ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject cmp, + ) { return _lib._objc_msgSend_123( - _id, - _lib._sel_indexOfObject_inSortedRange_options_usingComparator_1, - obj._id, - r, - opts, - cmp._id); + this.pointer, + _lib._sel_indexOfObject_inSortedRange_options_usingComparator_1, + obj.pointer, + r, + opts, + cmp.pointer, + ); } static NSArray array(SwiftLibrary _lib) { @@ -38568,103 +49548,159 @@ class NSArray extends NSObject { static NSArray arrayWithObject_(SwiftLibrary _lib, NSObject anObject) { final _ret = _lib._objc_msgSend_124( - _lib._class_NSArray1, _lib._sel_arrayWithObject_1, anObject._id); + _lib._class_NSArray1, + _lib._sel_arrayWithObject_1, + anObject.pointer, + ); return NSArray._(_ret, _lib, retain: true, release: true); } - static NSArray arrayWithObjects_count_(SwiftLibrary _lib, - ffi.Pointer> objects, int cnt) { + static NSArray arrayWithObjects_count_( + SwiftLibrary _lib, + ffi.Pointer> objects, + int cnt, + ) { final _ret = _lib._objc_msgSend_66( - _lib._class_NSArray1, _lib._sel_arrayWithObjects_count_1, objects, cnt); + _lib._class_NSArray1, + _lib._sel_arrayWithObjects_count_1, + objects, + cnt, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSArray arrayWithObjects_(SwiftLibrary _lib, NSObject firstObj) { final _ret = _lib._objc_msgSend_124( - _lib._class_NSArray1, _lib._sel_arrayWithObjects_1, firstObj._id); + _lib._class_NSArray1, + _lib._sel_arrayWithObjects_1, + firstObj.pointer, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSArray arrayWithArray_(SwiftLibrary _lib, NSArray array) { final _ret = _lib._objc_msgSend_125( - _lib._class_NSArray1, _lib._sel_arrayWithArray_1, array._id); + _lib._class_NSArray1, + _lib._sel_arrayWithArray_1, + array.pointer, + ); return NSArray._(_ret, _lib, retain: true, release: true); } NSArray initWithObjects_(NSObject firstObj) { - final _ret = - _lib._objc_msgSend_124(_id, _lib._sel_initWithObjects_1, firstObj._id); + final _ret = _lib._objc_msgSend_124( + this.pointer, + _lib._sel_initWithObjects_1, + firstObj.pointer, + ); return NSArray._(_ret, _lib, retain: true, release: true); } NSArray initWithArray_(NSArray array) { - final _ret = - _lib._objc_msgSend_125(_id, _lib._sel_initWithArray_1, array._id); + final _ret = _lib._objc_msgSend_125( + this.pointer, + _lib._sel_initWithArray_1, + array.pointer, + ); return NSArray._(_ret, _lib, retain: true, release: true); } NSArray initWithArray_copyItems_(NSArray array, bool flag) { final _ret = _lib._objc_msgSend_126( - _id, _lib._sel_initWithArray_copyItems_1, array._id, flag); + this.pointer, + _lib._sel_initWithArray_copyItems_1, + array.pointer, + flag, + ); return NSArray._(_ret, _lib, retain: false, release: true); } NSArray? initWithContentsOfURL_error_( - NSURL url, ffi.Pointer> error) { + NSURL url, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_127( - _id, _lib._sel_initWithContentsOfURL_error_1, url._id, error); + this.pointer, + _lib._sel_initWithContentsOfURL_error_1, + url.pointer, + error, + ); return _ret.address == 0 ? null : NSArray._(_ret, _lib, retain: true, release: true); } - static NSArray? arrayWithContentsOfURL_error_(SwiftLibrary _lib, NSURL url, - ffi.Pointer> error) { - final _ret = _lib._objc_msgSend_127(_lib._class_NSArray1, - _lib._sel_arrayWithContentsOfURL_error_1, url._id, error); + static NSArray? arrayWithContentsOfURL_error_( + SwiftLibrary _lib, + NSURL url, + ffi.Pointer> error, + ) { + final _ret = _lib._objc_msgSend_127( + _lib._class_NSArray1, + _lib._sel_arrayWithContentsOfURL_error_1, + url.pointer, + error, + ); return _ret.address == 0 ? null : NSArray._(_ret, _lib, retain: true, release: true); } NSObject differenceFromArray_withOptions_usingEquivalenceTest_( - NSArray other, int options, ObjCBlock_bool_ObjCObject_ObjCObject block) { + NSArray other, + int options, + ObjCBlock_bool_objcObjCObject_objcObjCObject block, + ) { final _ret = _lib._objc_msgSend_128( - _id, - _lib._sel_differenceFromArray_withOptions_usingEquivalenceTest_1, - other._id, - options, - block._id); + this.pointer, + _lib._sel_differenceFromArray_withOptions_usingEquivalenceTest_1, + other.pointer, + options, + block.pointer, + ); return NSObject._(_ret, _lib, retain: true, release: true); } NSObject differenceFromArray_withOptions_(NSArray other, int options) { final _ret = _lib._objc_msgSend_129( - _id, _lib._sel_differenceFromArray_withOptions_1, other._id, options); + this.pointer, + _lib._sel_differenceFromArray_withOptions_1, + other.pointer, + options, + ); return NSObject._(_ret, _lib, retain: true, release: true); } NSObject differenceFromArray_(NSArray other) { - final _ret = - _lib._objc_msgSend_125(_id, _lib._sel_differenceFromArray_1, other._id); + final _ret = _lib._objc_msgSend_125( + this.pointer, + _lib._sel_differenceFromArray_1, + other.pointer, + ); return NSObject._(_ret, _lib, retain: true, release: true); } NSArray? arrayByApplyingDifference_(NSObject difference) { final _ret = _lib._objc_msgSend_130( - _id, _lib._sel_arrayByApplyingDifference_1, difference._id); + this.pointer, + _lib._sel_arrayByApplyingDifference_1, + difference.pointer, + ); return _ret.address == 0 ? null : NSArray._(_ret, _lib, retain: true, release: true); } - void getObjects_(ffi.Pointer> objects) { - _lib._objc_msgSend_131(_id, _lib._sel_getObjects_1, objects); + void getObjects_(ffi.Pointer> objects) { + _lib._objc_msgSend_131(this.pointer, _lib._sel_getObjects_1, objects); } static NSArray? arrayWithContentsOfFile_(SwiftLibrary _lib, NSString path) { final _ret = _lib._objc_msgSend_132( - _lib._class_NSArray1, _lib._sel_arrayWithContentsOfFile_1, path._id); + _lib._class_NSArray1, + _lib._sel_arrayWithContentsOfFile_1, + path.pointer, + ); return _ret.address == 0 ? null : NSArray._(_ret, _lib, retain: true, release: true); @@ -38672,7 +49708,10 @@ class NSArray extends NSObject { static NSArray? arrayWithContentsOfURL_(SwiftLibrary _lib, NSURL url) { final _ret = _lib._objc_msgSend_133( - _lib._class_NSArray1, _lib._sel_arrayWithContentsOfURL_1, url._id); + _lib._class_NSArray1, + _lib._sel_arrayWithContentsOfURL_1, + url.pointer, + ); return _ret.address == 0 ? null : NSArray._(_ret, _lib, retain: true, release: true); @@ -38680,15 +49719,21 @@ class NSArray extends NSObject { NSArray? initWithContentsOfFile_(NSString path) { final _ret = _lib._objc_msgSend_132( - _id, _lib._sel_initWithContentsOfFile_1, path._id); + this.pointer, + _lib._sel_initWithContentsOfFile_1, + path.pointer, + ); return _ret.address == 0 ? null : NSArray._(_ret, _lib, retain: true, release: true); } NSArray? initWithContentsOfURL_(NSURL url) { - final _ret = - _lib._objc_msgSend_133(_id, _lib._sel_initWithContentsOfURL_1, url._id); + final _ret = _lib._objc_msgSend_133( + this.pointer, + _lib._sel_initWithContentsOfURL_1, + url.pointer, + ); return _ret.address == 0 ? null : NSArray._(_ret, _lib, retain: true, release: true); @@ -38696,105 +49741,155 @@ class NSArray extends NSObject { bool writeToFile_atomically_(NSString path, bool useAuxiliaryFile) { return _lib._objc_msgSend_26( - _id, _lib._sel_writeToFile_atomically_1, path._id, useAuxiliaryFile); + this.pointer, + _lib._sel_writeToFile_atomically_1, + path.pointer, + useAuxiliaryFile, + ); } bool writeToURL_atomically_(NSURL url, bool atomically) { return _lib._objc_msgSend_134( - _id, _lib._sel_writeToURL_atomically_1, url._id, atomically); + this.pointer, + _lib._sel_writeToURL_atomically_1, + url.pointer, + atomically, + ); } NSArray pathsMatchingExtensions_(NSArray filterTypes) { final _ret = _lib._objc_msgSend_68( - _id, _lib._sel_pathsMatchingExtensions_1, filterTypes._id); + this.pointer, + _lib._sel_pathsMatchingExtensions_1, + filterTypes.pointer, + ); return NSArray._(_ret, _lib, retain: true, release: true); } NSObject valueForKey_(NSString key) { - final _ret = _lib._objc_msgSend_31(_id, _lib._sel_valueForKey_1, key._id); + final _ret = _lib._objc_msgSend_31( + this.pointer, + _lib._sel_valueForKey_1, + key.pointer, + ); return NSObject._(_ret, _lib, retain: true, release: true); } @override void setValue_forKey_(NSObject? value, NSString key) { _lib._objc_msgSend_135( - _id, _lib._sel_setValue_forKey_1, value?._id ?? ffi.nullptr, key._id); + this.pointer, + _lib._sel_setValue_forKey_1, + value?.pointer ?? ffi.nullptr, + key.pointer, + ); } void addObserver_toObjectsAtIndexes_forKeyPath_options_context_( - NSObject observer, - NSIndexSet indexes, - NSString keyPath, - int options, - ffi.Pointer context) { + NSObject observer, + NSIndexSet indexes, + NSString keyPath, + int options, + ffi.Pointer context, + ) { _lib._objc_msgSend_136( - _id, - _lib._sel_addObserver_toObjectsAtIndexes_forKeyPath_options_context_1, - observer._id, - indexes._id, - keyPath._id, - options, - context); + this.pointer, + _lib._sel_addObserver_toObjectsAtIndexes_forKeyPath_options_context_1, + observer.pointer, + indexes.pointer, + keyPath.pointer, + options, + context, + ); } void removeObserver_fromObjectsAtIndexes_forKeyPath_context_( - NSObject observer, - NSIndexSet indexes, - NSString keyPath, - ffi.Pointer context) { + NSObject observer, + NSIndexSet indexes, + NSString keyPath, + ffi.Pointer context, + ) { _lib._objc_msgSend_137( - _id, - _lib._sel_removeObserver_fromObjectsAtIndexes_forKeyPath_context_1, - observer._id, - indexes._id, - keyPath._id, - context); + this.pointer, + _lib._sel_removeObserver_fromObjectsAtIndexes_forKeyPath_context_1, + observer.pointer, + indexes.pointer, + keyPath.pointer, + context, + ); } void removeObserver_fromObjectsAtIndexes_forKeyPath_( - NSObject observer, NSIndexSet indexes, NSString keyPath) { + NSObject observer, + NSIndexSet indexes, + NSString keyPath, + ) { _lib._objc_msgSend_138( - _id, - _lib._sel_removeObserver_fromObjectsAtIndexes_forKeyPath_1, - observer._id, - indexes._id, - keyPath._id); + this.pointer, + _lib._sel_removeObserver_fromObjectsAtIndexes_forKeyPath_1, + observer.pointer, + indexes.pointer, + keyPath.pointer, + ); } @override - void addObserver_forKeyPath_options_context_(NSObject observer, - NSString keyPath, int options, ffi.Pointer context) { + void addObserver_forKeyPath_options_context_( + NSObject observer, + NSString keyPath, + int options, + ffi.Pointer context, + ) { _lib._objc_msgSend_139( - _id, - _lib._sel_addObserver_forKeyPath_options_context_1, - observer._id, - keyPath._id, - options, - context); + this.pointer, + _lib._sel_addObserver_forKeyPath_options_context_1, + observer.pointer, + keyPath.pointer, + options, + context, + ); } @override void removeObserver_forKeyPath_context_( - NSObject observer, NSString keyPath, ffi.Pointer context) { - _lib._objc_msgSend_140(_id, _lib._sel_removeObserver_forKeyPath_context_1, - observer._id, keyPath._id, context); + NSObject observer, + NSString keyPath, + ffi.Pointer context, + ) { + _lib._objc_msgSend_140( + this.pointer, + _lib._sel_removeObserver_forKeyPath_context_1, + observer.pointer, + keyPath.pointer, + context, + ); } @override void removeObserver_forKeyPath_(NSObject observer, NSString keyPath) { _lib._objc_msgSend_141( - _id, _lib._sel_removeObserver_forKeyPath_1, observer._id, keyPath._id); + this.pointer, + _lib._sel_removeObserver_forKeyPath_1, + observer.pointer, + keyPath.pointer, + ); } NSArray sortedArrayUsingDescriptors_(NSArray sortDescriptors) { final _ret = _lib._objc_msgSend_68( - _id, _lib._sel_sortedArrayUsingDescriptors_1, sortDescriptors._id); + this.pointer, + _lib._sel_sortedArrayUsingDescriptors_1, + sortDescriptors.pointer, + ); return NSArray._(_ret, _lib, retain: true, release: true); } NSArray filteredArrayUsingPredicate_(NSPredicate predicate) { final _ret = _lib._objc_msgSend_219( - _id, _lib._sel_filteredArrayUsingPredicate_1, predicate._id); + this.pointer, + _lib._sel_filteredArrayUsingPredicate_1, + predicate.pointer, + ); return NSArray._(_ret, _lib, retain: true, release: true); } @@ -38805,7 +49900,10 @@ class NSArray extends NSObject { static NSArray allocWithZone_(SwiftLibrary _lib, ffi.Pointer<_NSZone> zone) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSArray1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSArray1, + _lib._sel_allocWithZone_1, + zone, + ); return NSArray._(_ret, _lib, retain: false, release: true); } @@ -38815,204 +49913,281 @@ class NSArray extends NSObject { } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + SwiftLibrary _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSArray1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSArray1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSArray1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + SwiftLibrary _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSArray1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { return _lib._objc_msgSend_12( - _lib._class_NSArray1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_NSArray1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(SwiftLibrary _lib) { return _lib._objc_msgSend_12( - _lib._class_NSArray1, _lib._sel_useStoredAccessor1); + _lib._class_NSArray1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSArray1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSArray1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSArray1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSArray1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, NSArray keys, NSString dependentKey) { + SwiftLibrary _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSArray1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSArray1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_85( - _lib._class_NSArray1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSArray1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSArray1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSArray1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } class NSError extends NSObject { - NSError._(ffi.Pointer id, SwiftLibrary lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSError._( + ffi.Pointer pointer, + SwiftLibrary lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSError] that points to the same underlying object as [other]. - static NSError castFrom(T other) { - return NSError._(other._id, other._lib, retain: true, release: true); + static NSError castFrom( + SwiftLibrary lib, + T other, + ) { + return NSError._(other.pointer, lib, retain: true, release: true); } /// Returns a [NSError] that wraps the given raw object pointer. static NSError castFromPointer( - SwiftLibrary lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + SwiftLibrary lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSError._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSError]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_NSError1); + static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSError1, + ); } NSError initWithDomain_code_userInfo_( - NSString domain, int code, NSObject? dict) { + NSString domain, + int code, + NSObject? dict, + ) { final _ret = _lib._objc_msgSend_82( - _id, - _lib._sel_initWithDomain_code_userInfo_1, - domain._id, - code, - dict?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_initWithDomain_code_userInfo_1, + domain.pointer, + code, + dict?.pointer ?? ffi.nullptr, + ); return NSError._(_ret, _lib, retain: true, release: true); } static NSError errorWithDomain_code_userInfo_( - SwiftLibrary _lib, NSString domain, int code, NSObject? dict) { + SwiftLibrary _lib, + NSString domain, + int code, + NSObject? dict, + ) { final _ret = _lib._objc_msgSend_82( - _lib._class_NSError1, - _lib._sel_errorWithDomain_code_userInfo_1, - domain._id, - code, - dict?._id ?? ffi.nullptr); + _lib._class_NSError1, + _lib._sel_errorWithDomain_code_userInfo_1, + domain.pointer, + code, + dict?.pointer ?? ffi.nullptr, + ); return NSError._(_ret, _lib, retain: true, release: true); } NSString get domain { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_domain1); + final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_domain1); return NSString._(_ret, _lib, retain: true, release: true); } int get code { - return _lib._objc_msgSend_83(_id, _lib._sel_code1); + return _lib._objc_msgSend_83(this.pointer, _lib._sel_code1); } NSObject get userInfo { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_userInfo1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_userInfo1); return NSObject._(_ret, _lib, retain: true, release: true); } NSString get localizedDescription { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_localizedDescription1); + final _ret = _lib._objc_msgSend_21( + this.pointer, + _lib._sel_localizedDescription1, + ); return NSString._(_ret, _lib, retain: true, release: true); } NSString? get localizedFailureReason { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_localizedFailureReason1); + final _ret = _lib._objc_msgSend_44( + this.pointer, + _lib._sel_localizedFailureReason1, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } NSString? get localizedRecoverySuggestion { - final _ret = - _lib._objc_msgSend_44(_id, _lib._sel_localizedRecoverySuggestion1); + final _ret = _lib._objc_msgSend_44( + this.pointer, + _lib._sel_localizedRecoverySuggestion1, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } NSArray? get localizedRecoveryOptions { - final _ret = - _lib._objc_msgSend_84(_id, _lib._sel_localizedRecoveryOptions1); + final _ret = _lib._objc_msgSend_84( + this.pointer, + _lib._sel_localizedRecoveryOptions1, + ); return _ret.address == 0 ? null : NSArray._(_ret, _lib, retain: true, release: true); } NSObject? get recoveryAttempter { - final _ret = _lib._objc_msgSend_17(_id, _lib._sel_recoveryAttempter1); + final _ret = _lib._objc_msgSend_17( + this.pointer, + _lib._sel_recoveryAttempter1, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } NSString? get helpAnchor { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_helpAnchor1); + final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_helpAnchor1); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } NSArray get underlyingErrors { - final _ret = _lib._objc_msgSend_85(_id, _lib._sel_underlyingErrors1); + final _ret = _lib._objc_msgSend_85( + this.pointer, + _lib._sel_underlyingErrors1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } - static void setUserInfoValueProviderForDomain_provider_(SwiftLibrary _lib, - NSString errorDomain, ObjCBlock_ObjCObject_NSError_NSString? provider) { + static void setUserInfoValueProviderForDomain_provider_( + SwiftLibrary _lib, + NSString errorDomain, + ObjCBlock_objcObjCObject_NSError_NSString? provider, + ) { _lib._objc_msgSend_86( - _lib._class_NSError1, - _lib._sel_setUserInfoValueProviderForDomain_provider_1, - errorDomain._id, - provider?._id ?? ffi.nullptr); + _lib._class_NSError1, + _lib._sel_setUserInfoValueProviderForDomain_provider_1, + errorDomain.pointer, + provider?.pointer ?? ffi.nullptr, + ); } - static ObjCBlock_ObjCObject_NSError_NSString? userInfoValueProviderForDomain_( - SwiftLibrary _lib, - NSError err, - NSString userInfoKey, - NSString errorDomain) { + static ObjCBlock_objcObjCObject_NSError_NSString? + userInfoValueProviderForDomain_( + SwiftLibrary _lib, + NSError err, + NSString userInfoKey, + NSString errorDomain, + ) { final _ret = _lib._objc_msgSend_87( - _lib._class_NSError1, - _lib._sel_userInfoValueProviderForDomain_1, - err._id, - userInfoKey._id, - errorDomain._id); + _lib._class_NSError1, + _lib._sel_userInfoValueProviderForDomain_1, + err.pointer, + userInfoKey.pointer, + errorDomain.pointer, + ); return _ret.address == 0 ? null - : ObjCBlock_ObjCObject_NSError_NSString._(_ret, _lib, - retain: true, release: true); + : ObjCBlock_objcObjCObject_NSError_NSString._( + _ret, + _lib, + retain: true, + release: true, + ); } @override NSError init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSError._(_ret, _lib, retain: true, release: true); } @@ -39023,7 +50198,10 @@ class NSError extends NSObject { static NSError allocWithZone_(SwiftLibrary _lib, ffi.Pointer<_NSZone> zone) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSError1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSError1, + _lib._sel_allocWithZone_1, + zone, + ); return NSError._(_ret, _lib, retain: false, release: true); } @@ -39033,160 +50211,172 @@ class NSError extends NSObject { } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + SwiftLibrary _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSError1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSError1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSError1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + SwiftLibrary _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSError1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { return _lib._objc_msgSend_12( - _lib._class_NSError1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_NSError1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(SwiftLibrary _lib) { return _lib._objc_msgSend_12( - _lib._class_NSError1, _lib._sel_useStoredAccessor1); + _lib._class_NSError1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSError1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSError1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSError1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSError1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, NSArray keys, NSString dependentKey) { + SwiftLibrary _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSError1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSError1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_85( - _lib._class_NSError1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSError1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSError1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSError1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } -class _ObjCBlockBase implements ffi.Finalizable { - final ffi.Pointer<_ObjCBlock> _id; - final SwiftLibrary _lib; - bool _pendingRelease; - - _ObjCBlockBase._(this._id, this._lib, - {bool retain = false, bool release = false}) - : _pendingRelease = release { - if (retain) { - _lib._Block_copy(_id.cast()); - } - if (release) { - _lib._objc_releaseFinalizer11.attach(this, _id.cast(), detach: this); - } - } - - /// Releases the reference to the underlying ObjC block held by this wrapper. - /// Throws a StateError if this wrapper doesn't currently hold a reference. - void release() { - if (_pendingRelease) { - _pendingRelease = false; - _lib._Block_release(_id.cast()); - _lib._objc_releaseFinalizer11.detach(this); - } else { - throw StateError( - 'Released an ObjC block that was unowned or already released.'); - } - } - - @override - bool operator ==(Object other) { - return other is _ObjCBlockBase && _id == other._id; - } - - @override - int get hashCode => _id.hashCode; - - /// Return a pointer to this object. - ffi.Pointer<_ObjCBlock> get pointer => _id; - - ffi.Pointer<_ObjCBlock> retainAndReturnPointer() { - _lib._Block_copy(_id.cast()); - return _id; - } -} - -ffi.Pointer _ObjCBlock_ObjCObject_NSError_NSString_fnPtrTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1) => - block.ref.target - .cast< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer arg0, - ffi.Pointer arg1)>>() - .asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer)>()(arg0, arg1); -final _ObjCBlock_ObjCObject_NSError_NSString_closureRegistry = Function( - ffi.Pointer, ffi.Pointer)>{}; -int _ObjCBlock_ObjCObject_NSError_NSString_closureRegistryIndex = 0; -ffi.Pointer _ObjCBlock_ObjCObject_NSError_NSString_registerClosure( - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer) - fn) { - final id = ++_ObjCBlock_ObjCObject_NSError_NSString_closureRegistryIndex; - _ObjCBlock_ObjCObject_NSError_NSString_closureRegistry[id] = fn; +ffi.Pointer +_ObjCBlock_objcObjCObject_NSError_NSString_fnPtrTrampoline( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, +) => block.ref.target + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) + > + >() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >()(arg0, arg1); +final _ObjCBlock_objcObjCObject_NSError_NSString_closureRegistry = + < + int, + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >{}; +int _ObjCBlock_objcObjCObject_NSError_NSString_closureRegistryIndex = 0; +ffi.Pointer +_ObjCBlock_objcObjCObject_NSError_NSString_registerClosure( + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) fn, +) { + final id = ++_ObjCBlock_objcObjCObject_NSError_NSString_closureRegistryIndex; + _ObjCBlock_objcObjCObject_NSError_NSString_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } -ffi.Pointer - _ObjCBlock_ObjCObject_NSError_NSString_closureTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1) => - _ObjCBlock_ObjCObject_NSError_NSString_closureRegistry[ - block.ref.target.address]!(arg0, arg1); - -class ObjCBlock_ObjCObject_NSError_NSString extends _ObjCBlockBase { - ObjCBlock_ObjCObject_NSError_NSString._( - ffi.Pointer<_ObjCBlock> id, SwiftLibrary lib, - {bool retain = false, bool release = true}) - : super._(id, lib, retain: retain, release: release); +ffi.Pointer +_ObjCBlock_objcObjCObject_NSError_NSString_closureTrampoline( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, +) => _ObjCBlock_objcObjCObject_NSError_NSString_closureRegistry[block + .ref + .target + .address]!(arg0, arg1); + +class ObjCBlock_objcObjCObject_NSError_NSString extends objc.ObjCBlockBase { + ObjCBlock_objcObjCObject_NSError_NSString._( + ffi.Pointer pointer, + this._lib, { + bool retain = false, + bool release = true, + }) : super(pointer, retain: retain, release: release); + + SwiftLibrary _lib; /// Returns a block that wraps the given raw block pointer. - static ObjCBlock_ObjCObject_NSError_NSString castFromPointer( - SwiftLibrary lib, ffi.Pointer<_ObjCBlock> pointer, - {bool retain = false, bool release = false}) { - return ObjCBlock_ObjCObject_NSError_NSString._(pointer, lib, - retain: retain, release: release); + static ObjCBlock_objcObjCObject_NSError_NSString castFromPointer( + SwiftLibrary lib, + ffi.Pointer pointer, { + bool retain = false, + bool release = false, + }) { + return ObjCBlock_objcObjCObject_NSError_NSString._( + pointer, + lib, + retain: retain, + release: release, + ); } /// Creates a block from a C function pointer. @@ -39194,24 +50384,29 @@ class ObjCBlock_ObjCObject_NSError_NSString extends _ObjCBlockBase { /// This block must be invoked by native code running on the same thread as /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. - ObjCBlock_ObjCObject_NSError_NSString.fromFunctionPointer( - SwiftLibrary lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer arg0, - ffi.Pointer arg1)>> - ptr) - : this._( - lib._newBlock1( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Pointer Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer)>( - _ObjCBlock_ObjCObject_NSError_NSString_fnPtrTrampoline) - .cast(), - ptr.cast()), - lib); + ObjCBlock_objcObjCObject_NSError_NSString.fromFunctionPointer( + SwiftLibrary lib, + ffi.Pointer< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) + > + > ptr, + ) : this._(objc.newBlock( + _cFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >( + _ObjCBlock_objcObjCObject_NSError_NSString_fnPtrTrampoline, + ).cast(), + ptr.cast(), + ), lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -39219,297 +50414,419 @@ class ObjCBlock_ObjCObject_NSError_NSString extends _ObjCBlockBase { /// This block must be invoked by native code running on the same thread as /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. - ObjCBlock_ObjCObject_NSError_NSString.fromFunction( - SwiftLibrary lib, NSObject? Function(NSError, NSString) fn) - : this._( - lib._newBlock1( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Pointer Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer)>( - _ObjCBlock_ObjCObject_NSError_NSString_closureTrampoline) - .cast(), - _ObjCBlock_ObjCObject_NSError_NSString_registerClosure( - (ffi.Pointer arg0, ffi.Pointer arg1) => - fn(NSError._(arg0, lib, retain: true, release: true), NSString._(arg1, lib, retain: true, release: true)) - ?.retainAndReturnPointer() ?? - ffi.nullptr)), - lib); + ObjCBlock_objcObjCObject_NSError_NSString.fromFunction( + SwiftLibrary lib, + NSObject? Function(NSError, NSString) fn, + ) : this._(objc.newBlock( + _dartFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >( + _ObjCBlock_objcObjCObject_NSError_NSString_closureTrampoline, + ).cast(), + _ObjCBlock_objcObjCObject_NSError_NSString_registerClosure(( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) => + fn( + NSError._(arg0, lib, retain: true, release: true), + NSString._(arg1, lib, retain: true, release: true), + )?.retainAndReturnPointer() ?? + ffi.nullptr), + ), lib); static ffi.Pointer? _dartFuncTrampoline; - NSObject? call(NSError arg0, NSString arg1) => _id.ref.invoke + NSObject? call(NSError arg0, NSString arg1) => + pointer.ref.invoke + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, + ) + > + >() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >()(pointer, arg0.pointer, arg1.pointer) + .address == + 0 + ? null + : NSObject._(pointer.ref.invoke .cast< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1)>>() - .asFunction Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer, ffi.Pointer)>() - (_id, arg0._id, arg1._id) - .address == - 0 - ? null - : NSObject._( - _id.ref.invoke - .cast Function(ffi.Pointer<_ObjCBlock> block, ffi.Pointer arg0, ffi.Pointer arg1)>>() - .asFunction Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer, ffi.Pointer)>()(_id, arg0._id, arg1._id), - _lib, - retain: false, - release: true); -} - -final class _ObjCBlockDesc extends ffi.Struct { - @ffi.UnsignedLong() - external int reserved; - - @ffi.UnsignedLong() - external int size; - - external ffi.Pointer copy_helper; - - external ffi.Pointer dispose_helper; - - external ffi.Pointer signature; -} - -final class _ObjCBlock extends ffi.Struct { - external ffi.Pointer isa; - - @ffi.Int() - external int flags; - - @ffi.Int() - external int reserved; - - external ffi.Pointer invoke; - - external ffi.Pointer<_ObjCBlockDesc> descriptor; - - external ffi.Pointer target; + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, + ) + > + >() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >()( + pointer, + arg0.pointer, + arg1.pointer, + ), _lib, retain: false, release: true); } class NSIndexSet extends NSObject { - NSIndexSet._(ffi.Pointer id, SwiftLibrary lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSIndexSet._( + ffi.Pointer pointer, + SwiftLibrary lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSIndexSet] that points to the same underlying object as [other]. - static NSIndexSet castFrom(T other) { - return NSIndexSet._(other._id, other._lib, retain: true, release: true); + static NSIndexSet castFrom( + SwiftLibrary lib, + T other, + ) { + return NSIndexSet._(other.pointer, lib, retain: true, release: true); } /// Returns a [NSIndexSet] that wraps the given raw object pointer. static NSIndexSet castFromPointer( - SwiftLibrary lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + SwiftLibrary lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSIndexSet._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSIndexSet]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_NSIndexSet1); + static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSIndexSet1, + ); } static NSIndexSet indexSet(SwiftLibrary _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSIndexSet1, _lib._sel_indexSet1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSIndexSet1, + _lib._sel_indexSet1, + ); return NSIndexSet._(_ret, _lib, retain: true, release: true); } static NSIndexSet indexSetWithIndex_(SwiftLibrary _lib, int value) { final _ret = _lib._objc_msgSend_65( - _lib._class_NSIndexSet1, _lib._sel_indexSetWithIndex_1, value); + _lib._class_NSIndexSet1, + _lib._sel_indexSetWithIndex_1, + value, + ); return NSIndexSet._(_ret, _lib, retain: true, release: true); } static NSIndexSet indexSetWithIndexesInRange_( - SwiftLibrary _lib, _NSRange range) { + SwiftLibrary _lib, + _NSRange range, + ) { final _ret = _lib._objc_msgSend_91( - _lib._class_NSIndexSet1, _lib._sel_indexSetWithIndexesInRange_1, range); + _lib._class_NSIndexSet1, + _lib._sel_indexSetWithIndexesInRange_1, + range, + ); return NSIndexSet._(_ret, _lib, retain: true, release: true); } NSIndexSet initWithIndexesInRange_(_NSRange range) { - final _ret = - _lib._objc_msgSend_91(_id, _lib._sel_initWithIndexesInRange_1, range); + final _ret = _lib._objc_msgSend_91( + this.pointer, + _lib._sel_initWithIndexesInRange_1, + range, + ); return NSIndexSet._(_ret, _lib, retain: true, release: true); } NSIndexSet initWithIndexSet_(NSIndexSet indexSet) { - final _ret = - _lib._objc_msgSend_92(_id, _lib._sel_initWithIndexSet_1, indexSet._id); + final _ret = _lib._objc_msgSend_92( + this.pointer, + _lib._sel_initWithIndexSet_1, + indexSet.pointer, + ); return NSIndexSet._(_ret, _lib, retain: true, release: true); } NSIndexSet initWithIndex_(int value) { - final _ret = _lib._objc_msgSend_65(_id, _lib._sel_initWithIndex_1, value); + final _ret = _lib._objc_msgSend_65( + this.pointer, + _lib._sel_initWithIndex_1, + value, + ); return NSIndexSet._(_ret, _lib, retain: true, release: true); } bool isEqualToIndexSet_(NSIndexSet indexSet) { return _lib._objc_msgSend_93( - _id, _lib._sel_isEqualToIndexSet_1, indexSet._id); + this.pointer, + _lib._sel_isEqualToIndexSet_1, + indexSet.pointer, + ); } int get count { - return _lib._objc_msgSend_10(_id, _lib._sel_count1); + return _lib._objc_msgSend_10(this.pointer, _lib._sel_count1); } int get firstIndex { - return _lib._objc_msgSend_10(_id, _lib._sel_firstIndex1); + return _lib._objc_msgSend_10(this.pointer, _lib._sel_firstIndex1); } int get lastIndex { - return _lib._objc_msgSend_10(_id, _lib._sel_lastIndex1); + return _lib._objc_msgSend_10(this.pointer, _lib._sel_lastIndex1); } int indexGreaterThanIndex_(int value) { - return _lib._objc_msgSend_94(_id, _lib._sel_indexGreaterThanIndex_1, value); + return _lib._objc_msgSend_94( + this.pointer, + _lib._sel_indexGreaterThanIndex_1, + value, + ); } int indexLessThanIndex_(int value) { - return _lib._objc_msgSend_94(_id, _lib._sel_indexLessThanIndex_1, value); + return _lib._objc_msgSend_94( + this.pointer, + _lib._sel_indexLessThanIndex_1, + value, + ); } int indexGreaterThanOrEqualToIndex_(int value) { return _lib._objc_msgSend_94( - _id, _lib._sel_indexGreaterThanOrEqualToIndex_1, value); + this.pointer, + _lib._sel_indexGreaterThanOrEqualToIndex_1, + value, + ); } int indexLessThanOrEqualToIndex_(int value) { return _lib._objc_msgSend_94( - _id, _lib._sel_indexLessThanOrEqualToIndex_1, value); + this.pointer, + _lib._sel_indexLessThanOrEqualToIndex_1, + value, + ); } int getIndexes_maxCount_inIndexRange_( - ffi.Pointer indexBuffer, - int bufferSize, - ffi.Pointer<_NSRange> range) { + ffi.Pointer indexBuffer, + int bufferSize, + ffi.Pointer<_NSRange> range, + ) { return _lib._objc_msgSend_95( - _id, - _lib._sel_getIndexes_maxCount_inIndexRange_1, - indexBuffer, - bufferSize, - range); + this.pointer, + _lib._sel_getIndexes_maxCount_inIndexRange_1, + indexBuffer, + bufferSize, + range, + ); } int countOfIndexesInRange_(_NSRange range) { - return _lib._objc_msgSend_96(_id, _lib._sel_countOfIndexesInRange_1, range); + return _lib._objc_msgSend_96( + this.pointer, + _lib._sel_countOfIndexesInRange_1, + range, + ); } bool containsIndex_(int value) { - return _lib._objc_msgSend_97(_id, _lib._sel_containsIndex_1, value); + return _lib._objc_msgSend_97( + this.pointer, + _lib._sel_containsIndex_1, + value, + ); } bool containsIndexesInRange_(_NSRange range) { return _lib._objc_msgSend_98( - _id, _lib._sel_containsIndexesInRange_1, range); + this.pointer, + _lib._sel_containsIndexesInRange_1, + range, + ); } bool containsIndexes_(NSIndexSet indexSet) { return _lib._objc_msgSend_93( - _id, _lib._sel_containsIndexes_1, indexSet._id); + this.pointer, + _lib._sel_containsIndexes_1, + indexSet.pointer, + ); } bool intersectsIndexesInRange_(_NSRange range) { return _lib._objc_msgSend_98( - _id, _lib._sel_intersectsIndexesInRange_1, range); + this.pointer, + _lib._sel_intersectsIndexesInRange_1, + range, + ); } void enumerateIndexesUsingBlock_( - ObjCBlock_ffiVoid_ffiUnsignedLong_bool block) { + ObjCBlock_ffiVoid_ffiUnsignedLong_bool block, + ) { _lib._objc_msgSend_99( - _id, _lib._sel_enumerateIndexesUsingBlock_1, block._id); + this.pointer, + _lib._sel_enumerateIndexesUsingBlock_1, + block.pointer, + ); } void enumerateIndexesWithOptions_usingBlock_( - int opts, ObjCBlock_ffiVoid_ffiUnsignedLong_bool block) { - _lib._objc_msgSend_100(_id, - _lib._sel_enumerateIndexesWithOptions_usingBlock_1, opts, block._id); + int opts, + ObjCBlock_ffiVoid_ffiUnsignedLong_bool block, + ) { + _lib._objc_msgSend_100( + this.pointer, + _lib._sel_enumerateIndexesWithOptions_usingBlock_1, + opts, + block.pointer, + ); } void enumerateIndexesInRange_options_usingBlock_( - _NSRange range, int opts, ObjCBlock_ffiVoid_ffiUnsignedLong_bool block) { + _NSRange range, + int opts, + ObjCBlock_ffiVoid_ffiUnsignedLong_bool block, + ) { _lib._objc_msgSend_101( - _id, - _lib._sel_enumerateIndexesInRange_options_usingBlock_1, - range, - opts, - block._id); + this.pointer, + _lib._sel_enumerateIndexesInRange_options_usingBlock_1, + range, + opts, + block.pointer, + ); } int indexPassingTest_(ObjCBlock_bool_ffiUnsignedLong_bool predicate) { return _lib._objc_msgSend_102( - _id, _lib._sel_indexPassingTest_1, predicate._id); + this.pointer, + _lib._sel_indexPassingTest_1, + predicate.pointer, + ); } int indexWithOptions_passingTest_( - int opts, ObjCBlock_bool_ffiUnsignedLong_bool predicate) { + int opts, + ObjCBlock_bool_ffiUnsignedLong_bool predicate, + ) { return _lib._objc_msgSend_103( - _id, _lib._sel_indexWithOptions_passingTest_1, opts, predicate._id); + this.pointer, + _lib._sel_indexWithOptions_passingTest_1, + opts, + predicate.pointer, + ); } int indexInRange_options_passingTest_( - _NSRange range, int opts, ObjCBlock_bool_ffiUnsignedLong_bool predicate) { + _NSRange range, + int opts, + ObjCBlock_bool_ffiUnsignedLong_bool predicate, + ) { return _lib._objc_msgSend_104( - _id, - _lib._sel_indexInRange_options_passingTest_1, - range, - opts, - predicate._id); + this.pointer, + _lib._sel_indexInRange_options_passingTest_1, + range, + opts, + predicate.pointer, + ); } NSIndexSet indexesPassingTest_( - ObjCBlock_bool_ffiUnsignedLong_bool predicate) { + ObjCBlock_bool_ffiUnsignedLong_bool predicate, + ) { final _ret = _lib._objc_msgSend_105( - _id, _lib._sel_indexesPassingTest_1, predicate._id); + this.pointer, + _lib._sel_indexesPassingTest_1, + predicate.pointer, + ); return NSIndexSet._(_ret, _lib, retain: true, release: true); } NSIndexSet indexesWithOptions_passingTest_( - int opts, ObjCBlock_bool_ffiUnsignedLong_bool predicate) { + int opts, + ObjCBlock_bool_ffiUnsignedLong_bool predicate, + ) { final _ret = _lib._objc_msgSend_106( - _id, _lib._sel_indexesWithOptions_passingTest_1, opts, predicate._id); + this.pointer, + _lib._sel_indexesWithOptions_passingTest_1, + opts, + predicate.pointer, + ); return NSIndexSet._(_ret, _lib, retain: true, release: true); } NSIndexSet indexesInRange_options_passingTest_( - _NSRange range, int opts, ObjCBlock_bool_ffiUnsignedLong_bool predicate) { + _NSRange range, + int opts, + ObjCBlock_bool_ffiUnsignedLong_bool predicate, + ) { final _ret = _lib._objc_msgSend_107( - _id, - _lib._sel_indexesInRange_options_passingTest_1, - range, - opts, - predicate._id); + this.pointer, + _lib._sel_indexesInRange_options_passingTest_1, + range, + opts, + predicate.pointer, + ); return NSIndexSet._(_ret, _lib, retain: true, release: true); } void enumerateRangesUsingBlock_(ObjCBlock_ffiVoid_NSRange_bool block) { _lib._objc_msgSend_108( - _id, _lib._sel_enumerateRangesUsingBlock_1, block._id); + this.pointer, + _lib._sel_enumerateRangesUsingBlock_1, + block.pointer, + ); } void enumerateRangesWithOptions_usingBlock_( - int opts, ObjCBlock_ffiVoid_NSRange_bool block) { - _lib._objc_msgSend_109(_id, - _lib._sel_enumerateRangesWithOptions_usingBlock_1, opts, block._id); + int opts, + ObjCBlock_ffiVoid_NSRange_bool block, + ) { + _lib._objc_msgSend_109( + this.pointer, + _lib._sel_enumerateRangesWithOptions_usingBlock_1, + opts, + block.pointer, + ); } void enumerateRangesInRange_options_usingBlock_( - _NSRange range, int opts, ObjCBlock_ffiVoid_NSRange_bool block) { + _NSRange range, + int opts, + ObjCBlock_ffiVoid_NSRange_bool block, + ) { _lib._objc_msgSend_110( - _id, - _lib._sel_enumerateRangesInRange_options_usingBlock_1, - range, - opts, - block._id); + this.pointer, + _lib._sel_enumerateRangesInRange_options_usingBlock_1, + range, + opts, + block.pointer, + ); } @override NSIndexSet init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSIndexSet._(_ret, _lib, retain: true, release: true); } @@ -39519,117 +50836,172 @@ class NSIndexSet extends NSObject { } static NSIndexSet allocWithZone_( - SwiftLibrary _lib, ffi.Pointer<_NSZone> zone) { + SwiftLibrary _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSIndexSet1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSIndexSet1, + _lib._sel_allocWithZone_1, + zone, + ); return NSIndexSet._(_ret, _lib, retain: false, release: true); } static NSIndexSet alloc(SwiftLibrary _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSIndexSet1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSIndexSet1, + _lib._sel_alloc1, + ); return NSIndexSet._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + SwiftLibrary _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSIndexSet1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSIndexSet1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSIndexSet1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + SwiftLibrary _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSIndexSet1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { return _lib._objc_msgSend_12( - _lib._class_NSIndexSet1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_NSIndexSet1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(SwiftLibrary _lib) { return _lib._objc_msgSend_12( - _lib._class_NSIndexSet1, _lib._sel_useStoredAccessor1); + _lib._class_NSIndexSet1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSIndexSet1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSIndexSet1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSIndexSet1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSIndexSet1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, NSArray keys, NSString dependentKey) { + SwiftLibrary _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSIndexSet1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSIndexSet1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_85( - _lib._class_NSIndexSet1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSIndexSet1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSIndexSet1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSIndexSet1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } void _ObjCBlock_ffiVoid_ffiUnsignedLong_bool_fnPtrTrampoline( - ffi.Pointer<_ObjCBlock> block, int arg0, ffi.Pointer arg1) => - block.ref.target - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.UnsignedLong arg0, ffi.Pointer arg1)>>() - .asFunction)>()(arg0, arg1); + ffi.Pointer block, + int arg0, + ffi.Pointer arg1, +) => block.ref.target + .cast< + ffi.NativeFunction< + ffi.Void Function(ffi.UnsignedLong arg0, ffi.Pointer arg1) + > + >() + .asFunction)>()(arg0, arg1); final _ObjCBlock_ffiVoid_ffiUnsignedLong_bool_closureRegistry = )>{}; int _ObjCBlock_ffiVoid_ffiUnsignedLong_bool_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_ffiVoid_ffiUnsignedLong_bool_registerClosure( - void Function(int, ffi.Pointer) fn) { + void Function(int, ffi.Pointer) fn, +) { final id = ++_ObjCBlock_ffiVoid_ffiUnsignedLong_bool_closureRegistryIndex; _ObjCBlock_ffiVoid_ffiUnsignedLong_bool_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } void _ObjCBlock_ffiVoid_ffiUnsignedLong_bool_closureTrampoline( - ffi.Pointer<_ObjCBlock> block, int arg0, ffi.Pointer arg1) => - _ObjCBlock_ffiVoid_ffiUnsignedLong_bool_closureRegistry[ - block.ref.target.address]!(arg0, arg1); - -class ObjCBlock_ffiVoid_ffiUnsignedLong_bool extends _ObjCBlockBase { + ffi.Pointer block, + int arg0, + ffi.Pointer arg1, +) => _ObjCBlock_ffiVoid_ffiUnsignedLong_bool_closureRegistry[block + .ref + .target + .address]!(arg0, arg1); + +class ObjCBlock_ffiVoid_ffiUnsignedLong_bool extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_ffiUnsignedLong_bool._( - ffi.Pointer<_ObjCBlock> id, SwiftLibrary lib, - {bool retain = false, bool release = true}) - : super._(id, lib, retain: retain, release: release); + ffi.Pointer pointer, + this._lib, { + bool retain = false, + bool release = true, + }) : super(pointer, retain: retain, release: release); + + SwiftLibrary _lib; /// Returns a block that wraps the given raw block pointer. static ObjCBlock_ffiVoid_ffiUnsignedLong_bool castFromPointer( - SwiftLibrary lib, ffi.Pointer<_ObjCBlock> pointer, - {bool retain = false, bool release = false}) { - return ObjCBlock_ffiVoid_ffiUnsignedLong_bool._(pointer, lib, - retain: retain, release: release); + SwiftLibrary lib, + ffi.Pointer pointer, { + bool retain = false, + bool release = false, + }) { + return ObjCBlock_ffiVoid_ffiUnsignedLong_bool._( + pointer, + lib, + retain: retain, + release: release, + ); } /// Creates a block from a C function pointer. @@ -39638,21 +51010,23 @@ class ObjCBlock_ffiVoid_ffiUnsignedLong_bool extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_ffiUnsignedLong_bool.fromFunctionPointer( - SwiftLibrary lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.UnsignedLong arg0, ffi.Pointer arg1)>> - ptr) - : this._( - lib._newBlock1( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, - ffi.UnsignedLong, ffi.Pointer)>( - _ObjCBlock_ffiVoid_ffiUnsignedLong_bool_fnPtrTrampoline) - .cast(), - ptr.cast()), - lib); + SwiftLibrary lib, + ffi.Pointer< + ffi.NativeFunction< + ffi.Void Function(ffi.UnsignedLong arg0, ffi.Pointer arg1) + > + > ptr, + ) : this._(objc.newBlock( + _cFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_ffiUnsignedLong_bool_fnPtrTrampoline).cast(), + ptr.cast(), + ), lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -39661,17 +51035,22 @@ class ObjCBlock_ffiVoid_ffiUnsignedLong_bool extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_ffiUnsignedLong_bool.fromFunction( - SwiftLibrary lib, void Function(int, ffi.Pointer) fn) - : this._( - lib._newBlock1( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, - ffi.UnsignedLong, ffi.Pointer)>( - _ObjCBlock_ffiVoid_ffiUnsignedLong_bool_closureTrampoline) - .cast(), - _ObjCBlock_ffiVoid_ffiUnsignedLong_bool_registerClosure( - (int arg0, ffi.Pointer arg1) => fn(arg0, arg1))), - lib); + SwiftLibrary lib, + void Function(int, ffi.Pointer) fn, + ) : this._(objc.newBlock( + _dartFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_ffiUnsignedLong_bool_closureTrampoline).cast(), + _ObjCBlock_ffiVoid_ffiUnsignedLong_bool_registerClosure(( + int arg0, + ffi.Pointer arg1, + ) => fn(arg0, arg1)), + ), lib); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -39684,33 +51063,46 @@ class ObjCBlock_ffiVoid_ffiUnsignedLong_bool extends _ObjCBlockBase { /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. ObjCBlock_ffiVoid_ffiUnsignedLong_bool.listener( - SwiftLibrary lib, void Function(int, ffi.Pointer) fn) - : this._( - lib._newBlock1( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.UnsignedLong, - ffi.Pointer)>.listener( - _ObjCBlock_ffiVoid_ffiUnsignedLong_bool_closureTrampoline) - ..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_ffiUnsignedLong_bool_registerClosure( - (int arg0, ffi.Pointer arg1) => fn(arg0, arg1))), - lib); + SwiftLibrary lib, + void Function(int, ffi.Pointer) fn, + ) : this._(objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer, + ) + >.listener( + _ObjCBlock_ffiVoid_ffiUnsignedLong_bool_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_ffiUnsignedLong_bool_registerClosure(( + int arg0, + ffi.Pointer arg1, + ) => fn(arg0, arg1)), + ), lib); static ffi.NativeCallable< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, ffi.UnsignedLong, - ffi.Pointer)>? _dartFuncListenerTrampoline; - - void call(int arg0, ffi.Pointer arg1) => _id.ref.invoke + ffi.Void Function( + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer, + ) + >? _dartFuncListenerTrampoline; + + void call(int arg0, ffi.Pointer arg1) => pointer.ref.invoke .cast< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer<_ObjCBlock> block, - ffi.UnsignedLong arg0, ffi.Pointer arg1)>>() + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer block, + ffi.UnsignedLong arg0, + ffi.Pointer arg1, + ) + > + >() .asFunction< - void Function(ffi.Pointer<_ObjCBlock>, int, - ffi.Pointer)>()(_id, arg0, arg1); + void Function(ffi.Pointer, int, ffi.Pointer) + >()(pointer, arg0, arg1); } abstract class NSEnumerationOptions { @@ -39719,40 +51111,59 @@ abstract class NSEnumerationOptions { } bool _ObjCBlock_bool_ffiUnsignedLong_bool_fnPtrTrampoline( - ffi.Pointer<_ObjCBlock> block, int arg0, ffi.Pointer arg1) => - block.ref.target - .cast< - ffi.NativeFunction< - ffi.Bool Function( - ffi.UnsignedLong arg0, ffi.Pointer arg1)>>() - .asFunction)>()(arg0, arg1); + ffi.Pointer block, + int arg0, + ffi.Pointer arg1, +) => block.ref.target + .cast< + ffi.NativeFunction< + ffi.Bool Function(ffi.UnsignedLong arg0, ffi.Pointer arg1) + > + >() + .asFunction)>()(arg0, arg1); final _ObjCBlock_bool_ffiUnsignedLong_bool_closureRegistry = )>{}; int _ObjCBlock_bool_ffiUnsignedLong_bool_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_bool_ffiUnsignedLong_bool_registerClosure( - bool Function(int, ffi.Pointer) fn) { + bool Function(int, ffi.Pointer) fn, +) { final id = ++_ObjCBlock_bool_ffiUnsignedLong_bool_closureRegistryIndex; _ObjCBlock_bool_ffiUnsignedLong_bool_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } bool _ObjCBlock_bool_ffiUnsignedLong_bool_closureTrampoline( - ffi.Pointer<_ObjCBlock> block, int arg0, ffi.Pointer arg1) => - _ObjCBlock_bool_ffiUnsignedLong_bool_closureRegistry[ - block.ref.target.address]!(arg0, arg1); - -class ObjCBlock_bool_ffiUnsignedLong_bool extends _ObjCBlockBase { + ffi.Pointer block, + int arg0, + ffi.Pointer arg1, +) => _ObjCBlock_bool_ffiUnsignedLong_bool_closureRegistry[block + .ref + .target + .address]!(arg0, arg1); + +class ObjCBlock_bool_ffiUnsignedLong_bool extends objc.ObjCBlockBase { ObjCBlock_bool_ffiUnsignedLong_bool._( - ffi.Pointer<_ObjCBlock> id, SwiftLibrary lib, - {bool retain = false, bool release = true}) - : super._(id, lib, retain: retain, release: release); + ffi.Pointer pointer, + this._lib, { + bool retain = false, + bool release = true, + }) : super(pointer, retain: retain, release: release); + + SwiftLibrary _lib; /// Returns a block that wraps the given raw block pointer. static ObjCBlock_bool_ffiUnsignedLong_bool castFromPointer( - SwiftLibrary lib, ffi.Pointer<_ObjCBlock> pointer, - {bool retain = false, bool release = false}) { - return ObjCBlock_bool_ffiUnsignedLong_bool._(pointer, lib, - retain: retain, release: release); + SwiftLibrary lib, + ffi.Pointer pointer, { + bool retain = false, + bool release = false, + }) { + return ObjCBlock_bool_ffiUnsignedLong_bool._( + pointer, + lib, + retain: retain, + release: release, + ); } /// Creates a block from a C function pointer. @@ -39761,23 +51172,26 @@ class ObjCBlock_bool_ffiUnsignedLong_bool extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_bool_ffiUnsignedLong_bool.fromFunctionPointer( - SwiftLibrary lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Bool Function( - ffi.UnsignedLong arg0, ffi.Pointer arg1)>> - ptr) - : this._( - lib - ._newBlock1( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Bool Function(ffi.Pointer<_ObjCBlock>, - ffi.UnsignedLong, ffi.Pointer)>( - _ObjCBlock_bool_ffiUnsignedLong_bool_fnPtrTrampoline, - false) - .cast(), - ptr.cast()), - lib); + SwiftLibrary lib, + ffi.Pointer< + ffi.NativeFunction< + ffi.Bool Function(ffi.UnsignedLong arg0, ffi.Pointer arg1) + > + > ptr, + ) : this._(objc.newBlock( + _cFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer, + ) + >( + _ObjCBlock_bool_ffiUnsignedLong_bool_fnPtrTrampoline, + false, + ).cast(), + ptr.cast(), + ), lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -39786,68 +51200,96 @@ class ObjCBlock_bool_ffiUnsignedLong_bool extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_bool_ffiUnsignedLong_bool.fromFunction( - SwiftLibrary lib, bool Function(int, ffi.Pointer) fn) - : this._( - lib._newBlock1( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Bool Function(ffi.Pointer<_ObjCBlock>, - ffi.UnsignedLong, ffi.Pointer)>( - _ObjCBlock_bool_ffiUnsignedLong_bool_closureTrampoline, - false) - .cast(), - _ObjCBlock_bool_ffiUnsignedLong_bool_registerClosure( - (int arg0, ffi.Pointer arg1) => fn(arg0, arg1))), - lib); + SwiftLibrary lib, + bool Function(int, ffi.Pointer) fn, + ) : this._(objc.newBlock( + _dartFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer, + ) + >( + _ObjCBlock_bool_ffiUnsignedLong_bool_closureTrampoline, + false, + ).cast(), + _ObjCBlock_bool_ffiUnsignedLong_bool_registerClosure(( + int arg0, + ffi.Pointer arg1, + ) => fn(arg0, arg1)), + ), lib); static ffi.Pointer? _dartFuncTrampoline; - bool call(int arg0, ffi.Pointer arg1) => _id.ref.invoke + bool call(int arg0, ffi.Pointer arg1) => pointer.ref.invoke .cast< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer<_ObjCBlock> block, - ffi.UnsignedLong arg0, ffi.Pointer arg1)>>() + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer block, + ffi.UnsignedLong arg0, + ffi.Pointer arg1, + ) + > + >() .asFunction< - bool Function(ffi.Pointer<_ObjCBlock>, int, - ffi.Pointer)>()(_id, arg0, arg1); + bool Function(ffi.Pointer, int, ffi.Pointer) + >()(pointer, arg0, arg1); } void _ObjCBlock_ffiVoid_NSRange_bool_fnPtrTrampoline( - ffi.Pointer<_ObjCBlock> block, - _NSRange arg0, - ffi.Pointer arg1) => - block.ref.target - .cast< - ffi.NativeFunction< - ffi.Void Function(_NSRange arg0, ffi.Pointer arg1)>>() - .asFunction< - void Function(_NSRange, ffi.Pointer)>()(arg0, arg1); + ffi.Pointer block, + _NSRange arg0, + ffi.Pointer arg1, +) => block.ref.target + .cast< + ffi.NativeFunction< + ffi.Void Function(_NSRange arg0, ffi.Pointer arg1) + > + >() + .asFunction)>()(arg0, arg1); final _ObjCBlock_ffiVoid_NSRange_bool_closureRegistry = )>{}; int _ObjCBlock_ffiVoid_NSRange_bool_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_ffiVoid_NSRange_bool_registerClosure( - void Function(_NSRange, ffi.Pointer) fn) { + void Function(_NSRange, ffi.Pointer) fn, +) { final id = ++_ObjCBlock_ffiVoid_NSRange_bool_closureRegistryIndex; _ObjCBlock_ffiVoid_NSRange_bool_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } void _ObjCBlock_ffiVoid_NSRange_bool_closureTrampoline( - ffi.Pointer<_ObjCBlock> block, - _NSRange arg0, - ffi.Pointer arg1) => - _ObjCBlock_ffiVoid_NSRange_bool_closureRegistry[block.ref.target.address]!( - arg0, arg1); - -class ObjCBlock_ffiVoid_NSRange_bool extends _ObjCBlockBase { - ObjCBlock_ffiVoid_NSRange_bool._(ffi.Pointer<_ObjCBlock> id, SwiftLibrary lib, - {bool retain = false, bool release = true}) - : super._(id, lib, retain: retain, release: release); + ffi.Pointer block, + _NSRange arg0, + ffi.Pointer arg1, +) => _ObjCBlock_ffiVoid_NSRange_bool_closureRegistry[block.ref.target.address]!( + arg0, + arg1, +); + +class ObjCBlock_ffiVoid_NSRange_bool extends objc.ObjCBlockBase { + ObjCBlock_ffiVoid_NSRange_bool._( + ffi.Pointer pointer, + this._lib, { + bool retain = false, + bool release = true, + }) : super(pointer, retain: retain, release: release); + + SwiftLibrary _lib; /// Returns a block that wraps the given raw block pointer. static ObjCBlock_ffiVoid_NSRange_bool castFromPointer( - SwiftLibrary lib, ffi.Pointer<_ObjCBlock> pointer, - {bool retain = false, bool release = false}) { - return ObjCBlock_ffiVoid_NSRange_bool._(pointer, lib, - retain: retain, release: release); + SwiftLibrary lib, + ffi.Pointer pointer, { + bool retain = false, + bool release = false, + }) { + return ObjCBlock_ffiVoid_NSRange_bool._( + pointer, + lib, + retain: retain, + release: release, + ); } /// Creates a block from a C function pointer. @@ -39856,20 +51298,23 @@ class ObjCBlock_ffiVoid_NSRange_bool extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSRange_bool.fromFunctionPointer( - SwiftLibrary lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function(_NSRange arg0, ffi.Pointer arg1)>> - ptr) - : this._( - lib._newBlock1( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, _NSRange, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_NSRange_bool_fnPtrTrampoline) - .cast(), - ptr.cast()), - lib); + SwiftLibrary lib, + ffi.Pointer< + ffi.NativeFunction< + ffi.Void Function(_NSRange arg0, ffi.Pointer arg1) + > + > ptr, + ) : this._(objc.newBlock( + _cFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + _NSRange, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_NSRange_bool_fnPtrTrampoline).cast(), + ptr.cast(), + ), lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -39878,18 +51323,22 @@ class ObjCBlock_ffiVoid_NSRange_bool extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSRange_bool.fromFunction( - SwiftLibrary lib, void Function(_NSRange, ffi.Pointer) fn) - : this._( - lib._newBlock1( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, _NSRange, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_NSRange_bool_closureTrampoline) - .cast(), - _ObjCBlock_ffiVoid_NSRange_bool_registerClosure( - (_NSRange arg0, ffi.Pointer arg1) => - fn(arg0, arg1))), - lib); + SwiftLibrary lib, + void Function(_NSRange, ffi.Pointer) fn, + ) : this._(objc.newBlock( + _dartFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + _NSRange, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_NSRange_bool_closureTrampoline).cast(), + _ObjCBlock_ffiVoid_NSRange_bool_registerClosure(( + _NSRange arg0, + ffi.Pointer arg1, + ) => fn(arg0, arg1)), + ), lib); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -39902,80 +51351,123 @@ class ObjCBlock_ffiVoid_NSRange_bool extends _ObjCBlockBase { /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. ObjCBlock_ffiVoid_NSRange_bool.listener( - SwiftLibrary lib, void Function(_NSRange, ffi.Pointer) fn) - : this._( - lib._newBlock1( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, _NSRange, - ffi.Pointer)>.listener( - _ObjCBlock_ffiVoid_NSRange_bool_closureTrampoline) - ..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSRange_bool_registerClosure( - (_NSRange arg0, ffi.Pointer arg1) => - fn(arg0, arg1))), - lib); + SwiftLibrary lib, + void Function(_NSRange, ffi.Pointer) fn, + ) : this._(objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + _NSRange, + ffi.Pointer, + ) + >.listener( + _ObjCBlock_ffiVoid_NSRange_bool_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSRange_bool_registerClosure(( + _NSRange arg0, + ffi.Pointer arg1, + ) => fn(arg0, arg1)), + ), lib); static ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, _NSRange, ffi.Pointer)>? - _dartFuncListenerTrampoline; - - void call(_NSRange arg0, ffi.Pointer arg1) => _id.ref.invoke + ffi.Void Function( + ffi.Pointer, + _NSRange, + ffi.Pointer, + ) + >? _dartFuncListenerTrampoline; + + void call(_NSRange arg0, ffi.Pointer arg1) => pointer.ref.invoke .cast< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer<_ObjCBlock> block, _NSRange arg0, - ffi.Pointer arg1)>>() + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer block, + _NSRange arg0, + ffi.Pointer arg1, + ) + > + >() .asFunction< - void Function(ffi.Pointer<_ObjCBlock>, _NSRange, - ffi.Pointer)>()(_id, arg0, arg1); + void Function( + ffi.Pointer, + _NSRange, + ffi.Pointer, + ) + >()(pointer, arg0, arg1); } -void _ObjCBlock_ffiVoid_ObjCObject_ffiUnsignedLong_bool_fnPtrTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - int arg1, - ffi.Pointer arg2) => - block.ref.target - .cast< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer arg0, - ffi.UnsignedLong arg1, ffi.Pointer arg2)>>() - .asFunction< - void Function(ffi.Pointer, int, - ffi.Pointer)>()(arg0, arg1, arg2); -final _ObjCBlock_ffiVoid_ObjCObject_ffiUnsignedLong_bool_closureRegistry = - , int, ffi.Pointer)>{}; -int _ObjCBlock_ffiVoid_ObjCObject_ffiUnsignedLong_bool_closureRegistryIndex = 0; +void _ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool_fnPtrTrampoline( + ffi.Pointer block, + ffi.Pointer arg0, + int arg1, + ffi.Pointer arg2, +) => block.ref.target + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.UnsignedLong arg1, + ffi.Pointer arg2, + ) + > + >() + .asFunction< + void Function(ffi.Pointer, int, ffi.Pointer) + >()(arg0, arg1, arg2); +final _ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool_closureRegistry = + < + int, + void Function(ffi.Pointer, int, ffi.Pointer) + >{}; +int +_ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool_closureRegistryIndex = 0; ffi.Pointer - _ObjCBlock_ffiVoid_ObjCObject_ffiUnsignedLong_bool_registerClosure( - void Function(ffi.Pointer, int, ffi.Pointer) fn) { +_ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool_registerClosure( + void Function(ffi.Pointer, int, ffi.Pointer) fn, +) { final id = - ++_ObjCBlock_ffiVoid_ObjCObject_ffiUnsignedLong_bool_closureRegistryIndex; - _ObjCBlock_ffiVoid_ObjCObject_ffiUnsignedLong_bool_closureRegistry[id] = fn; + ++_ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool_closureRegistryIndex; + _ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool_closureRegistry[id] = + fn; return ffi.Pointer.fromAddress(id); } -void _ObjCBlock_ffiVoid_ObjCObject_ffiUnsignedLong_bool_closureTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - int arg1, - ffi.Pointer arg2) => - _ObjCBlock_ffiVoid_ObjCObject_ffiUnsignedLong_bool_closureRegistry[ - block.ref.target.address]!(arg0, arg1, arg2); - -class ObjCBlock_ffiVoid_ObjCObject_ffiUnsignedLong_bool extends _ObjCBlockBase { - ObjCBlock_ffiVoid_ObjCObject_ffiUnsignedLong_bool._( - ffi.Pointer<_ObjCBlock> id, SwiftLibrary lib, - {bool retain = false, bool release = true}) - : super._(id, lib, retain: retain, release: release); +void _ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool_closureTrampoline( + ffi.Pointer block, + ffi.Pointer arg0, + int arg1, + ffi.Pointer arg2, +) => + _ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool_closureRegistry[block + .ref + .target + .address]!(arg0, arg1, arg2); + +class ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool + extends objc.ObjCBlockBase { + ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool._( + ffi.Pointer pointer, + this._lib, { + bool retain = false, + bool release = true, + }) : super(pointer, retain: retain, release: release); + + SwiftLibrary _lib; /// Returns a block that wraps the given raw block pointer. - static ObjCBlock_ffiVoid_ObjCObject_ffiUnsignedLong_bool castFromPointer( - SwiftLibrary lib, ffi.Pointer<_ObjCBlock> pointer, - {bool retain = false, bool release = false}) { - return ObjCBlock_ffiVoid_ObjCObject_ffiUnsignedLong_bool._(pointer, lib, - retain: retain, release: release); + static ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool castFromPointer( + SwiftLibrary lib, + ffi.Pointer pointer, { + bool retain = false, + bool release = false, + }) { + return ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool._( + pointer, + lib, + retain: retain, + release: release, + ); } /// Creates a block from a C function pointer. @@ -39983,25 +51475,31 @@ class ObjCBlock_ffiVoid_ObjCObject_ffiUnsignedLong_bool extends _ObjCBlockBase { /// This block must be invoked by native code running on the same thread as /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. - ObjCBlock_ffiVoid_ObjCObject_ffiUnsignedLong_bool.fromFunctionPointer( - SwiftLibrary lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer arg0, - ffi.UnsignedLong arg1, ffi.Pointer arg2)>> - ptr) - : this._( - lib._newBlock1( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_ObjCObject_ffiUnsignedLong_bool_fnPtrTrampoline) - .cast(), - ptr.cast()), - lib); + ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool.fromFunctionPointer( + SwiftLibrary lib, + ffi.Pointer< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.UnsignedLong arg1, + ffi.Pointer arg2, + ) + > + > ptr, + ) : this._(objc.newBlock( + _cFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer, + ) + >( + _ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool_fnPtrTrampoline, + ).cast(), + ptr.cast(), + ), lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -40009,23 +51507,32 @@ class ObjCBlock_ffiVoid_ObjCObject_ffiUnsignedLong_bool extends _ObjCBlockBase { /// This block must be invoked by native code running on the same thread as /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. - ObjCBlock_ffiVoid_ObjCObject_ffiUnsignedLong_bool.fromFunction( - SwiftLibrary lib, void Function(NSObject, int, ffi.Pointer) fn) - : this._( - lib._newBlock1( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_ObjCObject_ffiUnsignedLong_bool_closureTrampoline) - .cast(), - _ObjCBlock_ffiVoid_ObjCObject_ffiUnsignedLong_bool_registerClosure( - (ffi.Pointer arg0, int arg1, - ffi.Pointer arg2) => - fn(NSObject._(arg0, lib, retain: true, release: true), arg1, arg2))), - lib); + ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool.fromFunction( + SwiftLibrary lib, + void Function(NSObject, int, ffi.Pointer) fn, + ) : this._(objc.newBlock( + _dartFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer, + ) + >( + _ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool_closureTrampoline, + ).cast(), + _ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool_registerClosure(( + ffi.Pointer arg0, + int arg1, + ffi.Pointer arg2, + ) => fn(NSObject._( + arg0, + lib, + retain: true, + release: true, + ), arg1, arg2)), + ), lib); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -40037,91 +51544,134 @@ class ObjCBlock_ffiVoid_ObjCObject_ffiUnsignedLong_bool extends _ObjCBlockBase { /// /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. - ObjCBlock_ffiVoid_ObjCObject_ffiUnsignedLong_bool.listener( - SwiftLibrary lib, void Function(NSObject, int, ffi.Pointer) fn) - : this._( - lib._newBlock1( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer)>.listener( - _ObjCBlock_ffiVoid_ObjCObject_ffiUnsignedLong_bool_closureTrampoline) - ..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_ObjCObject_ffiUnsignedLong_bool_registerClosure( - (ffi.Pointer arg0, int arg1, - ffi.Pointer arg2) => - fn(NSObject._(arg0, lib, retain: true, release: true), arg1, arg2))), - lib); + ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool.listener( + SwiftLibrary lib, + void Function(NSObject, int, ffi.Pointer) fn, + ) : this._(objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer, + ) + >.listener( + _ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool_registerClosure(( + ffi.Pointer arg0, + int arg1, + ffi.Pointer arg2, + ) => fn(NSObject._( + arg0, + lib, + retain: true, + release: true, + ), arg1, arg2)), + ), lib); static ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer)>? _dartFuncListenerTrampoline; - - void call(NSObject arg0, int arg1, ffi.Pointer arg2) => - _id.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.UnsignedLong arg1, - ffi.Pointer arg2)>>() - .asFunction< - void Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer, - int, ffi.Pointer)>()(_id, arg0._id, arg1, arg2); + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer, + ) + >? _dartFuncListenerTrampoline; + + void call(NSObject arg0, int arg1, ffi.Pointer arg2) => pointer + .ref + .invoke + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.UnsignedLong arg1, + ffi.Pointer arg2, + ) + > + >() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ) + >()(pointer, arg0.pointer, arg1, arg2); } -bool _ObjCBlock_bool_ObjCObject_ffiUnsignedLong_bool_fnPtrTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - int arg1, - ffi.Pointer arg2) => - block.ref.target - .cast< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer arg0, - ffi.UnsignedLong arg1, ffi.Pointer arg2)>>() - .asFunction< - bool Function(ffi.Pointer, int, - ffi.Pointer)>()(arg0, arg1, arg2); -final _ObjCBlock_bool_ObjCObject_ffiUnsignedLong_bool_closureRegistry = - , int, ffi.Pointer)>{}; -int _ObjCBlock_bool_ObjCObject_ffiUnsignedLong_bool_closureRegistryIndex = 0; +bool _ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool_fnPtrTrampoline( + ffi.Pointer block, + ffi.Pointer arg0, + int arg1, + ffi.Pointer arg2, +) => block.ref.target + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer arg0, + ffi.UnsignedLong arg1, + ffi.Pointer arg2, + ) + > + >() + .asFunction< + bool Function(ffi.Pointer, int, ffi.Pointer) + >()(arg0, arg1, arg2); +final _ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool_closureRegistry = + < + int, + bool Function(ffi.Pointer, int, ffi.Pointer) + >{}; +int _ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool_closureRegistryIndex = + 0; ffi.Pointer - _ObjCBlock_bool_ObjCObject_ffiUnsignedLong_bool_registerClosure( - bool Function(ffi.Pointer, int, ffi.Pointer) fn) { +_ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool_registerClosure( + bool Function(ffi.Pointer, int, ffi.Pointer) fn, +) { final id = - ++_ObjCBlock_bool_ObjCObject_ffiUnsignedLong_bool_closureRegistryIndex; - _ObjCBlock_bool_ObjCObject_ffiUnsignedLong_bool_closureRegistry[id] = fn; + ++_ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool_closureRegistryIndex; + _ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } -bool _ObjCBlock_bool_ObjCObject_ffiUnsignedLong_bool_closureTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - int arg1, - ffi.Pointer arg2) => - _ObjCBlock_bool_ObjCObject_ffiUnsignedLong_bool_closureRegistry[ - block.ref.target.address]!(arg0, arg1, arg2); - -class ObjCBlock_bool_ObjCObject_ffiUnsignedLong_bool extends _ObjCBlockBase { - ObjCBlock_bool_ObjCObject_ffiUnsignedLong_bool._( - ffi.Pointer<_ObjCBlock> id, SwiftLibrary lib, - {bool retain = false, bool release = true}) - : super._(id, lib, retain: retain, release: release); +bool _ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool_closureTrampoline( + ffi.Pointer block, + ffi.Pointer arg0, + int arg1, + ffi.Pointer arg2, +) => _ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool_closureRegistry[block + .ref + .target + .address]!(arg0, arg1, arg2); + +class ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool + extends objc.ObjCBlockBase { + ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool._( + ffi.Pointer pointer, + this._lib, { + bool retain = false, + bool release = true, + }) : super(pointer, retain: retain, release: release); + + SwiftLibrary _lib; /// Returns a block that wraps the given raw block pointer. - static ObjCBlock_bool_ObjCObject_ffiUnsignedLong_bool castFromPointer( - SwiftLibrary lib, ffi.Pointer<_ObjCBlock> pointer, - {bool retain = false, bool release = false}) { - return ObjCBlock_bool_ObjCObject_ffiUnsignedLong_bool._(pointer, lib, - retain: retain, release: release); + static ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool castFromPointer( + SwiftLibrary lib, + ffi.Pointer pointer, { + bool retain = false, + bool release = false, + }) { + return ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool._( + pointer, + lib, + retain: retain, + release: release, + ); } /// Creates a block from a C function pointer. @@ -40129,26 +51679,32 @@ class ObjCBlock_bool_ObjCObject_ffiUnsignedLong_bool extends _ObjCBlockBase { /// This block must be invoked by native code running on the same thread as /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. - ObjCBlock_bool_ObjCObject_ffiUnsignedLong_bool.fromFunctionPointer( - SwiftLibrary lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer arg0, - ffi.UnsignedLong arg1, ffi.Pointer arg2)>> - ptr) - : this._( - lib._newBlock1( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Bool Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer)>( - _ObjCBlock_bool_ObjCObject_ffiUnsignedLong_bool_fnPtrTrampoline, - false) - .cast(), - ptr.cast()), - lib); + ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool.fromFunctionPointer( + SwiftLibrary lib, + ffi.Pointer< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer arg0, + ffi.UnsignedLong arg1, + ffi.Pointer arg2, + ) + > + > ptr, + ) : this._(objc.newBlock( + _cFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer, + ) + >( + _ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool_fnPtrTrampoline, + false, + ).cast(), + ptr.cast(), + ), lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -40156,84 +51712,129 @@ class ObjCBlock_bool_ObjCObject_ffiUnsignedLong_bool extends _ObjCBlockBase { /// This block must be invoked by native code running on the same thread as /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. - ObjCBlock_bool_ObjCObject_ffiUnsignedLong_bool.fromFunction( - SwiftLibrary lib, bool Function(NSObject, int, ffi.Pointer) fn) - : this._( - lib._newBlock1( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Bool Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer)>( - _ObjCBlock_bool_ObjCObject_ffiUnsignedLong_bool_closureTrampoline, false) - .cast(), - _ObjCBlock_bool_ObjCObject_ffiUnsignedLong_bool_registerClosure( - (ffi.Pointer arg0, int arg1, - ffi.Pointer arg2) => - fn(NSObject._(arg0, lib, retain: true, release: true), arg1, arg2))), - lib); + ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool.fromFunction( + SwiftLibrary lib, + bool Function(NSObject, int, ffi.Pointer) fn, + ) : this._(objc.newBlock( + _dartFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer, + ) + >( + _ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool_closureTrampoline, + false, + ).cast(), + _ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool_registerClosure(( + ffi.Pointer arg0, + int arg1, + ffi.Pointer arg2, + ) => fn(NSObject._( + arg0, + lib, + retain: true, + release: true, + ), arg1, arg2)), + ), lib); static ffi.Pointer? _dartFuncTrampoline; - bool call(NSObject arg0, int arg1, ffi.Pointer arg2) => - _id.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.UnsignedLong arg1, - ffi.Pointer arg2)>>() - .asFunction< - bool Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer, - int, ffi.Pointer)>()(_id, arg0._id, arg1, arg2); + bool call(NSObject arg0, int arg1, ffi.Pointer arg2) => pointer + .ref + .invoke + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.UnsignedLong arg1, + ffi.Pointer arg2, + ) + > + >() + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ) + >()(pointer, arg0.pointer, arg1, arg2); } -int _ObjCBlock_NSComparisonResult_ObjCObject_ObjCObject_fnPtrTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1) => - block.ref.target - .cast< - ffi.NativeFunction< - ffi.Int32 Function(ffi.Pointer arg0, - ffi.Pointer arg1)>>() - .asFunction< - int Function(ffi.Pointer, - ffi.Pointer)>()(arg0, arg1); -final _ObjCBlock_NSComparisonResult_ObjCObject_ObjCObject_closureRegistry = - , ffi.Pointer)>{}; -int _ObjCBlock_NSComparisonResult_ObjCObject_ObjCObject_closureRegistryIndex = +int _ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject_fnPtrTrampoline( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, +) => block.ref.target + .cast< + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) + > + >() + .asFunction< + int Function(ffi.Pointer, ffi.Pointer) + >()(arg0, arg1); +final _ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject_closureRegistry = + < + int, + int Function(ffi.Pointer, ffi.Pointer) + >{}; +int +_ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject_closureRegistryIndex = 0; ffi.Pointer - _ObjCBlock_NSComparisonResult_ObjCObject_ObjCObject_registerClosure( - int Function(ffi.Pointer, ffi.Pointer) fn) { +_ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject_registerClosure( + int Function(ffi.Pointer, ffi.Pointer) fn, +) { final id = - ++_ObjCBlock_NSComparisonResult_ObjCObject_ObjCObject_closureRegistryIndex; - _ObjCBlock_NSComparisonResult_ObjCObject_ObjCObject_closureRegistry[id] = fn; + ++_ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject_closureRegistryIndex; + _ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject_closureRegistry[id] = + fn; return ffi.Pointer.fromAddress(id); } -int _ObjCBlock_NSComparisonResult_ObjCObject_ObjCObject_closureTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1) => - _ObjCBlock_NSComparisonResult_ObjCObject_ObjCObject_closureRegistry[ - block.ref.target.address]!(arg0, arg1); - -class ObjCBlock_NSComparisonResult_ObjCObject_ObjCObject - extends _ObjCBlockBase { - ObjCBlock_NSComparisonResult_ObjCObject_ObjCObject._( - ffi.Pointer<_ObjCBlock> id, SwiftLibrary lib, - {bool retain = false, bool release = true}) - : super._(id, lib, retain: retain, release: release); +int +_ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject_closureTrampoline( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, +) => + _ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject_closureRegistry[block + .ref + .target + .address]!(arg0, arg1); + +class ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject + extends objc.ObjCBlockBase { + ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject._( + ffi.Pointer pointer, + this._lib, { + bool retain = false, + bool release = true, + }) : super(pointer, retain: retain, release: release); + + SwiftLibrary _lib; /// Returns a block that wraps the given raw block pointer. - static ObjCBlock_NSComparisonResult_ObjCObject_ObjCObject castFromPointer( - SwiftLibrary lib, ffi.Pointer<_ObjCBlock> pointer, - {bool retain = false, bool release = false}) { - return ObjCBlock_NSComparisonResult_ObjCObject_ObjCObject._(pointer, lib, - retain: retain, release: release); + static ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject + castFromPointer( + SwiftLibrary lib, + ffi.Pointer pointer, { + bool retain = false, + bool release = false, + }) { + return ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject._( + pointer, + lib, + retain: retain, + release: release, + ); } /// Creates a block from a C function pointer. @@ -40241,25 +51842,30 @@ class ObjCBlock_NSComparisonResult_ObjCObject_ObjCObject /// This block must be invoked by native code running on the same thread as /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. - ObjCBlock_NSComparisonResult_ObjCObject_ObjCObject.fromFunctionPointer( - SwiftLibrary lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Int32 Function(ffi.Pointer arg0, - ffi.Pointer arg1)>> - ptr) - : this._( - lib._newBlock1( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Int32 Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer)>( - _ObjCBlock_NSComparisonResult_ObjCObject_ObjCObject_fnPtrTrampoline, - 0) - .cast(), - ptr.cast()), - lib); + ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject.fromFunctionPointer( + SwiftLibrary lib, + ffi.Pointer< + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) + > + > ptr, + ) : this._(objc.newBlock( + _cFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >( + _ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject_fnPtrTrampoline, + 0, + ).cast(), + ptr.cast(), + ), lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -40267,31 +51873,50 @@ class ObjCBlock_NSComparisonResult_ObjCObject_ObjCObject /// This block must be invoked by native code running on the same thread as /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. - ObjCBlock_NSComparisonResult_ObjCObject_ObjCObject.fromFunction( - SwiftLibrary lib, int Function(NSObject, NSObject) fn) - : this._( - lib._newBlock1( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Int32 Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer, ffi.Pointer)>( - _ObjCBlock_NSComparisonResult_ObjCObject_ObjCObject_closureTrampoline, 0) - .cast(), - _ObjCBlock_NSComparisonResult_ObjCObject_ObjCObject_registerClosure( - (ffi.Pointer arg0, ffi.Pointer arg1) => fn( - NSObject._(arg0, lib, retain: true, release: true), - NSObject._(arg1, lib, retain: true, release: true)))), - lib); + ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject.fromFunction( + SwiftLibrary lib, + int Function(NSObject, NSObject) fn, + ) : this._(objc.newBlock( + _dartFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >( + _ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject_closureTrampoline, + 0, + ).cast(), + _ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject_registerClosure( + ( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) => fn( + NSObject._(arg0, lib, retain: true, release: true), + NSObject._(arg1, lib, retain: true, release: true), + ), + ), + ), lib); static ffi.Pointer? _dartFuncTrampoline; - int call(NSObject arg0, NSObject arg1) => _id.ref.invoke + int call(NSObject arg0, NSObject arg1) => pointer.ref.invoke .cast< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1)>>() + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, + ) + > + >() .asFunction< - int Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer, - ffi.Pointer)>()(_id, arg0._id, arg1._id); + int Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >()(pointer, arg0.pointer, arg1.pointer); } abstract class NSComparisonResult { @@ -40319,47 +51944,70 @@ abstract class NSOrderedCollectionDifferenceCalculationOptions { static const int NSOrderedCollectionDifferenceCalculationInferMoves = 4; } -bool _ObjCBlock_bool_ObjCObject_ObjCObject_fnPtrTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1) => - block.ref.target - .cast< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer arg0, - ffi.Pointer arg1)>>() - .asFunction< - bool Function(ffi.Pointer, - ffi.Pointer)>()(arg0, arg1); -final _ObjCBlock_bool_ObjCObject_ObjCObject_closureRegistry = - , ffi.Pointer)>{}; -int _ObjCBlock_bool_ObjCObject_ObjCObject_closureRegistryIndex = 0; -ffi.Pointer _ObjCBlock_bool_ObjCObject_ObjCObject_registerClosure( - bool Function(ffi.Pointer, ffi.Pointer) fn) { - final id = ++_ObjCBlock_bool_ObjCObject_ObjCObject_closureRegistryIndex; - _ObjCBlock_bool_ObjCObject_ObjCObject_closureRegistry[id] = fn; +bool _ObjCBlock_bool_objcObjCObject_objcObjCObject_fnPtrTrampoline( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, +) => block.ref.target + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) + > + >() + .asFunction< + bool Function(ffi.Pointer, ffi.Pointer) + >()(arg0, arg1); +final _ObjCBlock_bool_objcObjCObject_objcObjCObject_closureRegistry = + < + int, + bool Function(ffi.Pointer, ffi.Pointer) + >{}; +int _ObjCBlock_bool_objcObjCObject_objcObjCObject_closureRegistryIndex = 0; +ffi.Pointer +_ObjCBlock_bool_objcObjCObject_objcObjCObject_registerClosure( + bool Function(ffi.Pointer, ffi.Pointer) fn, +) { + final id = + ++_ObjCBlock_bool_objcObjCObject_objcObjCObject_closureRegistryIndex; + _ObjCBlock_bool_objcObjCObject_objcObjCObject_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } -bool _ObjCBlock_bool_ObjCObject_ObjCObject_closureTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1) => - _ObjCBlock_bool_ObjCObject_ObjCObject_closureRegistry[ - block.ref.target.address]!(arg0, arg1); - -class ObjCBlock_bool_ObjCObject_ObjCObject extends _ObjCBlockBase { - ObjCBlock_bool_ObjCObject_ObjCObject._( - ffi.Pointer<_ObjCBlock> id, SwiftLibrary lib, - {bool retain = false, bool release = true}) - : super._(id, lib, retain: retain, release: release); +bool _ObjCBlock_bool_objcObjCObject_objcObjCObject_closureTrampoline( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, +) => _ObjCBlock_bool_objcObjCObject_objcObjCObject_closureRegistry[block + .ref + .target + .address]!(arg0, arg1); + +class ObjCBlock_bool_objcObjCObject_objcObjCObject extends objc.ObjCBlockBase { + ObjCBlock_bool_objcObjCObject_objcObjCObject._( + ffi.Pointer pointer, + this._lib, { + bool retain = false, + bool release = true, + }) : super(pointer, retain: retain, release: release); + + SwiftLibrary _lib; /// Returns a block that wraps the given raw block pointer. - static ObjCBlock_bool_ObjCObject_ObjCObject castFromPointer( - SwiftLibrary lib, ffi.Pointer<_ObjCBlock> pointer, - {bool retain = false, bool release = false}) { - return ObjCBlock_bool_ObjCObject_ObjCObject._(pointer, lib, - retain: retain, release: release); + static ObjCBlock_bool_objcObjCObject_objcObjCObject castFromPointer( + SwiftLibrary lib, + ffi.Pointer pointer, { + bool retain = false, + bool release = false, + }) { + return ObjCBlock_bool_objcObjCObject_objcObjCObject._( + pointer, + lib, + retain: retain, + release: release, + ); } /// Creates a block from a C function pointer. @@ -40367,26 +52015,30 @@ class ObjCBlock_bool_ObjCObject_ObjCObject extends _ObjCBlockBase { /// This block must be invoked by native code running on the same thread as /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. - ObjCBlock_bool_ObjCObject_ObjCObject.fromFunctionPointer( - SwiftLibrary lib, - ffi.Pointer< - ffi - .NativeFunction< - ffi.Bool Function(ffi.Pointer arg0, - ffi.Pointer arg1)>> - ptr) - : this._( - lib._newBlock1( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Bool Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer)>( - _ObjCBlock_bool_ObjCObject_ObjCObject_fnPtrTrampoline, - false) - .cast(), - ptr.cast()), - lib); + ObjCBlock_bool_objcObjCObject_objcObjCObject.fromFunctionPointer( + SwiftLibrary lib, + ffi.Pointer< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) + > + > ptr, + ) : this._(objc.newBlock( + _cFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >( + _ObjCBlock_bool_objcObjCObject_objcObjCObject_fnPtrTrampoline, + false, + ).cast(), + ptr.cast(), + ), lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -40394,34 +52046,48 @@ class ObjCBlock_bool_ObjCObject_ObjCObject extends _ObjCBlockBase { /// This block must be invoked by native code running on the same thread as /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. - ObjCBlock_bool_ObjCObject_ObjCObject.fromFunction( - SwiftLibrary lib, bool Function(NSObject, NSObject) fn) - : this._( - lib._newBlock1( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Bool Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer)>( - _ObjCBlock_bool_ObjCObject_ObjCObject_closureTrampoline, - false) - .cast(), - _ObjCBlock_bool_ObjCObject_ObjCObject_registerClosure( - (ffi.Pointer arg0, ffi.Pointer arg1) => - fn(NSObject._(arg0, lib, retain: true, release: true), NSObject._(arg1, lib, retain: true, release: true)))), - lib); + ObjCBlock_bool_objcObjCObject_objcObjCObject.fromFunction( + SwiftLibrary lib, + bool Function(NSObject, NSObject) fn, + ) : this._(objc.newBlock( + _dartFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >( + _ObjCBlock_bool_objcObjCObject_objcObjCObject_closureTrampoline, + false, + ).cast(), + _ObjCBlock_bool_objcObjCObject_objcObjCObject_registerClosure(( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) => fn( + NSObject._(arg0, lib, retain: true, release: true), + NSObject._(arg1, lib, retain: true, release: true), + )), + ), lib); static ffi.Pointer? _dartFuncTrampoline; - bool call(NSObject arg0, NSObject arg1) => _id.ref.invoke + bool call(NSObject arg0, NSObject arg1) => pointer.ref.invoke .cast< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1)>>() + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, + ) + > + >() .asFunction< - bool Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer, - ffi.Pointer)>()(_id, arg0._id, arg1._id); + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >()(pointer, arg0.pointer, arg1.pointer); } abstract class NSKeyValueObservingOptions { @@ -40432,59 +52098,89 @@ abstract class NSKeyValueObservingOptions { } class NSPredicate extends NSObject { - NSPredicate._(ffi.Pointer id, SwiftLibrary lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSPredicate._( + ffi.Pointer pointer, + SwiftLibrary lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSPredicate] that points to the same underlying object as [other]. - static NSPredicate castFrom(T other) { - return NSPredicate._(other._id, other._lib, retain: true, release: true); + static NSPredicate castFrom( + SwiftLibrary lib, + T other, + ) { + return NSPredicate._(other.pointer, lib, retain: true, release: true); } /// Returns a [NSPredicate] that wraps the given raw object pointer. static NSPredicate castFromPointer( - SwiftLibrary lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + SwiftLibrary lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSPredicate._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSPredicate]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_NSPredicate1); + static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSPredicate1, + ); } static NSPredicate predicateWithFormat_argumentArray_( - SwiftLibrary _lib, NSString predicateFormat, NSArray? arguments) { + SwiftLibrary _lib, + NSString predicateFormat, + NSArray? arguments, + ) { final _ret = _lib._objc_msgSend_142( - _lib._class_NSPredicate1, - _lib._sel_predicateWithFormat_argumentArray_1, - predicateFormat._id, - arguments?._id ?? ffi.nullptr); + _lib._class_NSPredicate1, + _lib._sel_predicateWithFormat_argumentArray_1, + predicateFormat.pointer, + arguments?.pointer ?? ffi.nullptr, + ); return NSPredicate._(_ret, _lib, retain: true, release: true); } static NSPredicate predicateWithFormat_( - SwiftLibrary _lib, NSString predicateFormat) { - final _ret = _lib._objc_msgSend_143(_lib._class_NSPredicate1, - _lib._sel_predicateWithFormat_1, predicateFormat._id); + SwiftLibrary _lib, + NSString predicateFormat, + ) { + final _ret = _lib._objc_msgSend_143( + _lib._class_NSPredicate1, + _lib._sel_predicateWithFormat_1, + predicateFormat.pointer, + ); return NSPredicate._(_ret, _lib, retain: true, release: true); } - static NSPredicate predicateWithFormat_arguments_(SwiftLibrary _lib, - NSString predicateFormat, ffi.Pointer<__va_list_tag> argList) { + static NSPredicate predicateWithFormat_arguments_( + SwiftLibrary _lib, + NSString predicateFormat, + ffi.Pointer<__va_list_tag> argList, + ) { final _ret = _lib._objc_msgSend_144( - _lib._class_NSPredicate1, - _lib._sel_predicateWithFormat_arguments_1, - predicateFormat._id, - argList); + _lib._class_NSPredicate1, + _lib._sel_predicateWithFormat_arguments_1, + predicateFormat.pointer, + argList, + ); return NSPredicate._(_ret, _lib, retain: true, release: true); } static NSPredicate? predicateFromMetadataQueryString_( - SwiftLibrary _lib, NSString queryString) { - final _ret = _lib._objc_msgSend_145(_lib._class_NSPredicate1, - _lib._sel_predicateFromMetadataQueryString_1, queryString._id); + SwiftLibrary _lib, + NSString queryString, + ) { + final _ret = _lib._objc_msgSend_145( + _lib._class_NSPredicate1, + _lib._sel_predicateFromMetadataQueryString_1, + queryString.pointer, + ); return _ret.address == 0 ? null : NSPredicate._(_ret, _lib, retain: true, release: true); @@ -40492,49 +52188,69 @@ class NSPredicate extends NSObject { static NSPredicate predicateWithValue_(SwiftLibrary _lib, bool value) { final _ret = _lib._objc_msgSend_146( - _lib._class_NSPredicate1, _lib._sel_predicateWithValue_1, value); + _lib._class_NSPredicate1, + _lib._sel_predicateWithValue_1, + value, + ); return NSPredicate._(_ret, _lib, retain: true, release: true); } static NSPredicate predicateWithBlock_( - SwiftLibrary _lib, ObjCBlock_bool_ObjCObject_NSDictionary block) { + SwiftLibrary _lib, + ObjCBlock_bool_objcObjCObject_NSDictionary block, + ) { final _ret = _lib._objc_msgSend_216( - _lib._class_NSPredicate1, _lib._sel_predicateWithBlock_1, block._id); + _lib._class_NSPredicate1, + _lib._sel_predicateWithBlock_1, + block.pointer, + ); return NSPredicate._(_ret, _lib, retain: true, release: true); } NSString get predicateFormat { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_predicateFormat1); + final _ret = _lib._objc_msgSend_21( + this.pointer, + _lib._sel_predicateFormat1, + ); return NSString._(_ret, _lib, retain: true, release: true); } NSPredicate predicateWithSubstitutionVariables_(NSDictionary variables) { final _ret = _lib._objc_msgSend_159( - _id, _lib._sel_predicateWithSubstitutionVariables_1, variables._id); + this.pointer, + _lib._sel_predicateWithSubstitutionVariables_1, + variables.pointer, + ); return NSPredicate._(_ret, _lib, retain: true, release: true); } bool evaluateWithObject_(NSObject? object) { return _lib._objc_msgSend_217( - _id, _lib._sel_evaluateWithObject_1, object?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_evaluateWithObject_1, + object?.pointer ?? ffi.nullptr, + ); } bool evaluateWithObject_substitutionVariables_( - NSObject? object, NSDictionary? bindings) { + NSObject? object, + NSDictionary? bindings, + ) { return _lib._objc_msgSend_218( - _id, - _lib._sel_evaluateWithObject_substitutionVariables_1, - object?._id ?? ffi.nullptr, - bindings?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_evaluateWithObject_substitutionVariables_1, + object?.pointer ?? ffi.nullptr, + bindings?.pointer ?? ffi.nullptr, + ); } void allowEvaluation() { - _lib._objc_msgSend_1(_id, _lib._sel_allowEvaluation1); + _lib._objc_msgSend_1(this.pointer, _lib._sel_allowEvaluation1); } @override NSPredicate init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSPredicate._(_ret, _lib, retain: true, release: true); } @@ -40544,78 +52260,114 @@ class NSPredicate extends NSObject { } static NSPredicate allocWithZone_( - SwiftLibrary _lib, ffi.Pointer<_NSZone> zone) { + SwiftLibrary _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSPredicate1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSPredicate1, + _lib._sel_allocWithZone_1, + zone, + ); return NSPredicate._(_ret, _lib, retain: false, release: true); } static NSPredicate alloc(SwiftLibrary _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSPredicate1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSPredicate1, + _lib._sel_alloc1, + ); return NSPredicate._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + SwiftLibrary _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSPredicate1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSPredicate1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSPredicate1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + SwiftLibrary _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSPredicate1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { return _lib._objc_msgSend_12( - _lib._class_NSPredicate1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_NSPredicate1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(SwiftLibrary _lib) { return _lib._objc_msgSend_12( - _lib._class_NSPredicate1, _lib._sel_useStoredAccessor1); + _lib._class_NSPredicate1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSPredicate1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSPredicate1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSPredicate1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSPredicate1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, NSArray keys, NSString dependentKey) { + SwiftLibrary _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSPredicate1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSPredicate1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_85( - _lib._class_NSPredicate1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSPredicate1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSPredicate1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSPredicate1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } @@ -40632,47 +52384,69 @@ final class __va_list_tag extends ffi.Struct { external ffi.Pointer reg_save_area; } -bool _ObjCBlock_bool_ObjCObject_NSDictionary_fnPtrTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1) => - block.ref.target - .cast< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer arg0, - ffi.Pointer arg1)>>() - .asFunction< - bool Function(ffi.Pointer, - ffi.Pointer)>()(arg0, arg1); -final _ObjCBlock_bool_ObjCObject_NSDictionary_closureRegistry = - , ffi.Pointer)>{}; -int _ObjCBlock_bool_ObjCObject_NSDictionary_closureRegistryIndex = 0; -ffi.Pointer _ObjCBlock_bool_ObjCObject_NSDictionary_registerClosure( - bool Function(ffi.Pointer, ffi.Pointer) fn) { - final id = ++_ObjCBlock_bool_ObjCObject_NSDictionary_closureRegistryIndex; - _ObjCBlock_bool_ObjCObject_NSDictionary_closureRegistry[id] = fn; +bool _ObjCBlock_bool_objcObjCObject_NSDictionary_fnPtrTrampoline( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, +) => block.ref.target + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) + > + >() + .asFunction< + bool Function(ffi.Pointer, ffi.Pointer) + >()(arg0, arg1); +final _ObjCBlock_bool_objcObjCObject_NSDictionary_closureRegistry = + < + int, + bool Function(ffi.Pointer, ffi.Pointer) + >{}; +int _ObjCBlock_bool_objcObjCObject_NSDictionary_closureRegistryIndex = 0; +ffi.Pointer +_ObjCBlock_bool_objcObjCObject_NSDictionary_registerClosure( + bool Function(ffi.Pointer, ffi.Pointer) fn, +) { + final id = ++_ObjCBlock_bool_objcObjCObject_NSDictionary_closureRegistryIndex; + _ObjCBlock_bool_objcObjCObject_NSDictionary_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } -bool _ObjCBlock_bool_ObjCObject_NSDictionary_closureTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1) => - _ObjCBlock_bool_ObjCObject_NSDictionary_closureRegistry[ - block.ref.target.address]!(arg0, arg1); - -class ObjCBlock_bool_ObjCObject_NSDictionary extends _ObjCBlockBase { - ObjCBlock_bool_ObjCObject_NSDictionary._( - ffi.Pointer<_ObjCBlock> id, SwiftLibrary lib, - {bool retain = false, bool release = true}) - : super._(id, lib, retain: retain, release: release); +bool _ObjCBlock_bool_objcObjCObject_NSDictionary_closureTrampoline( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, +) => _ObjCBlock_bool_objcObjCObject_NSDictionary_closureRegistry[block + .ref + .target + .address]!(arg0, arg1); + +class ObjCBlock_bool_objcObjCObject_NSDictionary extends objc.ObjCBlockBase { + ObjCBlock_bool_objcObjCObject_NSDictionary._( + ffi.Pointer pointer, + this._lib, { + bool retain = false, + bool release = true, + }) : super(pointer, retain: retain, release: release); + + SwiftLibrary _lib; /// Returns a block that wraps the given raw block pointer. - static ObjCBlock_bool_ObjCObject_NSDictionary castFromPointer( - SwiftLibrary lib, ffi.Pointer<_ObjCBlock> pointer, - {bool retain = false, bool release = false}) { - return ObjCBlock_bool_ObjCObject_NSDictionary._(pointer, lib, - retain: retain, release: release); + static ObjCBlock_bool_objcObjCObject_NSDictionary castFromPointer( + SwiftLibrary lib, + ffi.Pointer pointer, { + bool retain = false, + bool release = false, + }) { + return ObjCBlock_bool_objcObjCObject_NSDictionary._( + pointer, + lib, + retain: retain, + release: release, + ); } /// Creates a block from a C function pointer. @@ -40680,25 +52454,30 @@ class ObjCBlock_bool_ObjCObject_NSDictionary extends _ObjCBlockBase { /// This block must be invoked by native code running on the same thread as /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. - ObjCBlock_bool_ObjCObject_NSDictionary.fromFunctionPointer( - SwiftLibrary lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer arg0, - ffi.Pointer arg1)>> - ptr) - : this._( - lib._newBlock1( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Bool Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer)>( - _ObjCBlock_bool_ObjCObject_NSDictionary_fnPtrTrampoline, - false) - .cast(), - ptr.cast()), - lib); + ObjCBlock_bool_objcObjCObject_NSDictionary.fromFunctionPointer( + SwiftLibrary lib, + ffi.Pointer< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) + > + > ptr, + ) : this._(objc.newBlock( + _cFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >( + _ObjCBlock_bool_objcObjCObject_NSDictionary_fnPtrTrampoline, + false, + ).cast(), + ptr.cast(), + ), lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -40706,246 +52485,371 @@ class ObjCBlock_bool_ObjCObject_NSDictionary extends _ObjCBlockBase { /// This block must be invoked by native code running on the same thread as /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. - ObjCBlock_bool_ObjCObject_NSDictionary.fromFunction( - SwiftLibrary lib, bool Function(NSObject?, NSDictionary?) fn) - : this._( - lib._newBlock1( - _dartFuncTrampoline ??= - ffi.Pointer.fromFunction, ffi.Pointer, ffi.Pointer)>( - _ObjCBlock_bool_ObjCObject_NSDictionary_closureTrampoline, false) - .cast(), - _ObjCBlock_bool_ObjCObject_NSDictionary_registerClosure( - (ffi.Pointer arg0, ffi.Pointer arg1) => fn( - arg0.address == 0 - ? null - : NSObject._(arg0, lib, retain: true, release: true), - arg1.address == 0 ? null : NSDictionary._(arg1, lib, retain: true, release: true)))), - lib); + ObjCBlock_bool_objcObjCObject_NSDictionary.fromFunction( + SwiftLibrary lib, + bool Function(NSObject?, NSDictionary?) fn, + ) : this._(objc.newBlock( + _dartFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >( + _ObjCBlock_bool_objcObjCObject_NSDictionary_closureTrampoline, + false, + ).cast(), + _ObjCBlock_bool_objcObjCObject_NSDictionary_registerClosure(( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) => fn( + arg0.address == 0 + ? null + : NSObject._(arg0, lib, retain: true, release: true), + arg1.address == 0 + ? null + : NSDictionary._(arg1, lib, retain: true, release: true), + )), + ), lib); static ffi.Pointer? _dartFuncTrampoline; - bool call(NSObject? arg0, NSDictionary? arg1) => _id.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1)>>() - .asFunction< - bool Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer, - ffi.Pointer)>()( - _id, arg0?._id ?? ffi.nullptr, arg1?._id ?? ffi.nullptr); + bool call(NSObject? arg0, NSDictionary? arg1) => pointer.ref.invoke + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, + ) + > + >() + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >()(pointer, arg0?.pointer ?? ffi.nullptr, arg1?.pointer ?? ffi.nullptr); } class NSDictionary extends NSObject { - NSDictionary._(ffi.Pointer id, SwiftLibrary lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSDictionary._( + ffi.Pointer pointer, + SwiftLibrary lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSDictionary] that points to the same underlying object as [other]. - static NSDictionary castFrom(T other) { - return NSDictionary._(other._id, other._lib, retain: true, release: true); + static NSDictionary castFrom( + SwiftLibrary lib, + T other, + ) { + return NSDictionary._(other.pointer, lib, retain: true, release: true); } /// Returns a [NSDictionary] that wraps the given raw object pointer. static NSDictionary castFromPointer( - SwiftLibrary lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + SwiftLibrary lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSDictionary._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSDictionary]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_NSDictionary1); + static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSDictionary1, + ); } int get count { - return _lib._objc_msgSend_10(_id, _lib._sel_count1); + return _lib._objc_msgSend_10(this.pointer, _lib._sel_count1); } NSObject? objectForKey_(NSObject aKey) { - final _ret = _lib._objc_msgSend_16(_id, _lib._sel_objectForKey_1, aKey._id); + final _ret = _lib._objc_msgSend_16( + this.pointer, + _lib._sel_objectForKey_1, + aKey.pointer, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } NSEnumerator keyEnumerator() { - final _ret = _lib._objc_msgSend_77(_id, _lib._sel_keyEnumerator1); + final _ret = _lib._objc_msgSend_77(this.pointer, _lib._sel_keyEnumerator1); return NSEnumerator._(_ret, _lib, retain: true, release: true); } @override NSDictionary init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSDictionary._(_ret, _lib, retain: true, release: true); } NSDictionary initWithObjects_forKeys_count_( - ffi.Pointer> objects, - ffi.Pointer> keys, - int cnt) { + ffi.Pointer> objects, + ffi.Pointer> keys, + int cnt, + ) { final _ret = _lib._objc_msgSend_147( - _id, _lib._sel_initWithObjects_forKeys_count_1, objects, keys, cnt); + this.pointer, + _lib._sel_initWithObjects_forKeys_count_1, + objects, + keys, + cnt, + ); return NSDictionary._(_ret, _lib, retain: true, release: true); } NSDictionary? initWithCoder_(NSCoder coder) { - final _ret = - _lib._objc_msgSend_47(_id, _lib._sel_initWithCoder_1, coder._id); + final _ret = _lib._objc_msgSend_47( + this.pointer, + _lib._sel_initWithCoder_1, + coder.pointer, + ); return _ret.address == 0 ? null : NSDictionary._(_ret, _lib, retain: true, release: true); } NSArray get allKeys { - final _ret = _lib._objc_msgSend_85(_id, _lib._sel_allKeys1); + final _ret = _lib._objc_msgSend_85(this.pointer, _lib._sel_allKeys1); return NSArray._(_ret, _lib, retain: true, release: true); } NSArray allKeysForObject_(NSObject anObject) { - final _ret = - _lib._objc_msgSend_67(_id, _lib._sel_allKeysForObject_1, anObject._id); + final _ret = _lib._objc_msgSend_67( + this.pointer, + _lib._sel_allKeysForObject_1, + anObject.pointer, + ); return NSArray._(_ret, _lib, retain: true, release: true); } NSArray get allValues { - final _ret = _lib._objc_msgSend_85(_id, _lib._sel_allValues1); + final _ret = _lib._objc_msgSend_85(this.pointer, _lib._sel_allValues1); return NSArray._(_ret, _lib, retain: true, release: true); } NSString get description { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_description1); + final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_description1); return NSString._(_ret, _lib, retain: true, release: true); } NSString get descriptionInStringsFileFormat { - final _ret = - _lib._objc_msgSend_21(_id, _lib._sel_descriptionInStringsFileFormat1); + final _ret = _lib._objc_msgSend_21( + this.pointer, + _lib._sel_descriptionInStringsFileFormat1, + ); return NSString._(_ret, _lib, retain: true, release: true); } NSString descriptionWithLocale_(NSObject? locale) { final _ret = _lib._objc_msgSend_70( - _id, _lib._sel_descriptionWithLocale_1, locale?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_descriptionWithLocale_1, + locale?.pointer ?? ffi.nullptr, + ); return NSString._(_ret, _lib, retain: true, release: true); } NSString descriptionWithLocale_indent_(NSObject? locale, int level) { final _ret = _lib._objc_msgSend_71( - _id, - _lib._sel_descriptionWithLocale_indent_1, - locale?._id ?? ffi.nullptr, - level); + this.pointer, + _lib._sel_descriptionWithLocale_indent_1, + locale?.pointer ?? ffi.nullptr, + level, + ); return NSString._(_ret, _lib, retain: true, release: true); } bool isEqualToDictionary_(NSDictionary otherDictionary) { return _lib._objc_msgSend_148( - _id, _lib._sel_isEqualToDictionary_1, otherDictionary._id); + this.pointer, + _lib._sel_isEqualToDictionary_1, + otherDictionary.pointer, + ); } NSEnumerator objectEnumerator() { - final _ret = _lib._objc_msgSend_77(_id, _lib._sel_objectEnumerator1); + final _ret = _lib._objc_msgSend_77( + this.pointer, + _lib._sel_objectEnumerator1, + ); return NSEnumerator._(_ret, _lib, retain: true, release: true); } NSArray objectsForKeys_notFoundMarker_(NSArray keys, NSObject marker) { final _ret = _lib._objc_msgSend_149( - _id, _lib._sel_objectsForKeys_notFoundMarker_1, keys._id, marker._id); + this.pointer, + _lib._sel_objectsForKeys_notFoundMarker_1, + keys.pointer, + marker.pointer, + ); return NSArray._(_ret, _lib, retain: true, release: true); } bool writeToURL_error_( - NSURL url, ffi.Pointer> error) { + NSURL url, + ffi.Pointer> error, + ) { return _lib._objc_msgSend_89( - _id, _lib._sel_writeToURL_error_1, url._id, error); + this.pointer, + _lib._sel_writeToURL_error_1, + url.pointer, + error, + ); } - NSArray keysSortedByValueUsingSelector_(ffi.Pointer comparator) { + NSArray keysSortedByValueUsingSelector_( + ffi.Pointer comparator, + ) { final _ret = _lib._objc_msgSend_80( - _id, _lib._sel_keysSortedByValueUsingSelector_1, comparator); + this.pointer, + _lib._sel_keysSortedByValueUsingSelector_1, + comparator, + ); return NSArray._(_ret, _lib, retain: true, release: true); } - void getObjects_andKeys_count_(ffi.Pointer> objects, - ffi.Pointer> keys, int count) { + void getObjects_andKeys_count_( + ffi.Pointer> objects, + ffi.Pointer> keys, + int count, + ) { _lib._objc_msgSend_150( - _id, _lib._sel_getObjects_andKeys_count_1, objects, keys, count); + this.pointer, + _lib._sel_getObjects_andKeys_count_1, + objects, + keys, + count, + ); } NSObject? objectForKeyedSubscript_(NSObject key) { final _ret = _lib._objc_msgSend_16( - _id, _lib._sel_objectForKeyedSubscript_1, key._id); + this.pointer, + _lib._sel_objectForKeyedSubscript_1, + key.pointer, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } void enumerateKeysAndObjectsUsingBlock_( - ObjCBlock_ffiVoid_ObjCObject_ObjCObject_bool block) { + ObjCBlock_ffiVoid_objcObjCObject_objcObjCObject_bool block, + ) { _lib._objc_msgSend_151( - _id, _lib._sel_enumerateKeysAndObjectsUsingBlock_1, block._id); + this.pointer, + _lib._sel_enumerateKeysAndObjectsUsingBlock_1, + block.pointer, + ); } void enumerateKeysAndObjectsWithOptions_usingBlock_( - int opts, ObjCBlock_ffiVoid_ObjCObject_ObjCObject_bool block) { + int opts, + ObjCBlock_ffiVoid_objcObjCObject_objcObjCObject_bool block, + ) { _lib._objc_msgSend_152( - _id, - _lib._sel_enumerateKeysAndObjectsWithOptions_usingBlock_1, - opts, - block._id); + this.pointer, + _lib._sel_enumerateKeysAndObjectsWithOptions_usingBlock_1, + opts, + block.pointer, + ); } NSArray keysSortedByValueUsingComparator_( - ObjCBlock_NSComparisonResult_ObjCObject_ObjCObject cmptr) { + ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject cmptr, + ) { final _ret = _lib._objc_msgSend_121( - _id, _lib._sel_keysSortedByValueUsingComparator_1, cmptr._id); + this.pointer, + _lib._sel_keysSortedByValueUsingComparator_1, + cmptr.pointer, + ); return NSArray._(_ret, _lib, retain: true, release: true); } NSArray keysSortedByValueWithOptions_usingComparator_( - int opts, ObjCBlock_NSComparisonResult_ObjCObject_ObjCObject cmptr) { + int opts, + ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject cmptr, + ) { final _ret = _lib._objc_msgSend_122( - _id, - _lib._sel_keysSortedByValueWithOptions_usingComparator_1, - opts, - cmptr._id); + this.pointer, + _lib._sel_keysSortedByValueWithOptions_usingComparator_1, + opts, + cmptr.pointer, + ); return NSArray._(_ret, _lib, retain: true, release: true); } NSObject keysOfEntriesPassingTest_( - ObjCBlock_bool_ObjCObject_ObjCObject_bool predicate) { + ObjCBlock_bool_objcObjCObject_objcObjCObject_bool predicate, + ) { final _ret = _lib._objc_msgSend_153( - _id, _lib._sel_keysOfEntriesPassingTest_1, predicate._id); + this.pointer, + _lib._sel_keysOfEntriesPassingTest_1, + predicate.pointer, + ); return NSObject._(_ret, _lib, retain: true, release: true); } NSObject keysOfEntriesWithOptions_passingTest_( - int opts, ObjCBlock_bool_ObjCObject_ObjCObject_bool predicate) { - final _ret = _lib._objc_msgSend_154(_id, - _lib._sel_keysOfEntriesWithOptions_passingTest_1, opts, predicate._id); + int opts, + ObjCBlock_bool_objcObjCObject_objcObjCObject_bool predicate, + ) { + final _ret = _lib._objc_msgSend_154( + this.pointer, + _lib._sel_keysOfEntriesWithOptions_passingTest_1, + opts, + predicate.pointer, + ); return NSObject._(_ret, _lib, retain: true, release: true); } - void getObjects_andKeys_(ffi.Pointer> objects, - ffi.Pointer> keys) { - _lib._objc_msgSend_155(_id, _lib._sel_getObjects_andKeys_1, objects, keys); + void getObjects_andKeys_( + ffi.Pointer> objects, + ffi.Pointer> keys, + ) { + _lib._objc_msgSend_155( + this.pointer, + _lib._sel_getObjects_andKeys_1, + objects, + keys, + ); } static NSDictionary? dictionaryWithContentsOfFile_( - SwiftLibrary _lib, NSString path) { - final _ret = _lib._objc_msgSend_156(_lib._class_NSDictionary1, - _lib._sel_dictionaryWithContentsOfFile_1, path._id); + SwiftLibrary _lib, + NSString path, + ) { + final _ret = _lib._objc_msgSend_156( + _lib._class_NSDictionary1, + _lib._sel_dictionaryWithContentsOfFile_1, + path.pointer, + ); return _ret.address == 0 ? null : NSDictionary._(_ret, _lib, retain: true, release: true); } static NSDictionary? dictionaryWithContentsOfURL_( - SwiftLibrary _lib, NSURL url) { - final _ret = _lib._objc_msgSend_157(_lib._class_NSDictionary1, - _lib._sel_dictionaryWithContentsOfURL_1, url._id); + SwiftLibrary _lib, + NSURL url, + ) { + final _ret = _lib._objc_msgSend_157( + _lib._class_NSDictionary1, + _lib._sel_dictionaryWithContentsOfURL_1, + url.pointer, + ); return _ret.address == 0 ? null : NSDictionary._(_ret, _lib, retain: true, release: true); @@ -40953,15 +52857,21 @@ class NSDictionary extends NSObject { NSDictionary? initWithContentsOfFile_(NSString path) { final _ret = _lib._objc_msgSend_156( - _id, _lib._sel_initWithContentsOfFile_1, path._id); + this.pointer, + _lib._sel_initWithContentsOfFile_1, + path.pointer, + ); return _ret.address == 0 ? null : NSDictionary._(_ret, _lib, retain: true, release: true); } NSDictionary? initWithContentsOfURL_(NSURL url) { - final _ret = - _lib._objc_msgSend_157(_id, _lib._sel_initWithContentsOfURL_1, url._id); + final _ret = _lib._objc_msgSend_157( + this.pointer, + _lib._sel_initWithContentsOfURL_1, + url.pointer, + ); return _ret.address == 0 ? null : NSDictionary._(_ret, _lib, retain: true, release: true); @@ -40969,96 +52879,165 @@ class NSDictionary extends NSObject { bool writeToFile_atomically_(NSString path, bool useAuxiliaryFile) { return _lib._objc_msgSend_26( - _id, _lib._sel_writeToFile_atomically_1, path._id, useAuxiliaryFile); + this.pointer, + _lib._sel_writeToFile_atomically_1, + path.pointer, + useAuxiliaryFile, + ); } bool writeToURL_atomically_(NSURL url, bool atomically) { return _lib._objc_msgSend_134( - _id, _lib._sel_writeToURL_atomically_1, url._id, atomically); + this.pointer, + _lib._sel_writeToURL_atomically_1, + url.pointer, + atomically, + ); } static NSDictionary dictionary(SwiftLibrary _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSDictionary1, _lib._sel_dictionary1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSDictionary1, + _lib._sel_dictionary1, + ); return NSDictionary._(_ret, _lib, retain: true, release: true); } static NSDictionary dictionaryWithObject_forKey_( - SwiftLibrary _lib, NSObject object, NSObject key) { - final _ret = _lib._objc_msgSend_158(_lib._class_NSDictionary1, - _lib._sel_dictionaryWithObject_forKey_1, object._id, key._id); + SwiftLibrary _lib, + NSObject object, + NSObject key, + ) { + final _ret = _lib._objc_msgSend_158( + _lib._class_NSDictionary1, + _lib._sel_dictionaryWithObject_forKey_1, + object.pointer, + key.pointer, + ); return NSDictionary._(_ret, _lib, retain: true, release: true); } static NSDictionary dictionaryWithObjects_forKeys_count_( - SwiftLibrary _lib, - ffi.Pointer> objects, - ffi.Pointer> keys, - int cnt) { - final _ret = _lib._objc_msgSend_147(_lib._class_NSDictionary1, - _lib._sel_dictionaryWithObjects_forKeys_count_1, objects, keys, cnt); + SwiftLibrary _lib, + ffi.Pointer> objects, + ffi.Pointer> keys, + int cnt, + ) { + final _ret = _lib._objc_msgSend_147( + _lib._class_NSDictionary1, + _lib._sel_dictionaryWithObjects_forKeys_count_1, + objects, + keys, + cnt, + ); return NSDictionary._(_ret, _lib, retain: true, release: true); } static NSDictionary dictionaryWithObjectsAndKeys_( - SwiftLibrary _lib, NSObject firstObject) { - final _ret = _lib._objc_msgSend_124(_lib._class_NSDictionary1, - _lib._sel_dictionaryWithObjectsAndKeys_1, firstObject._id); + SwiftLibrary _lib, + NSObject firstObject, + ) { + final _ret = _lib._objc_msgSend_124( + _lib._class_NSDictionary1, + _lib._sel_dictionaryWithObjectsAndKeys_1, + firstObject.pointer, + ); return NSDictionary._(_ret, _lib, retain: true, release: true); } static NSDictionary dictionaryWithDictionary_( - SwiftLibrary _lib, NSDictionary dict) { - final _ret = _lib._objc_msgSend_159(_lib._class_NSDictionary1, - _lib._sel_dictionaryWithDictionary_1, dict._id); + SwiftLibrary _lib, + NSDictionary dict, + ) { + final _ret = _lib._objc_msgSend_159( + _lib._class_NSDictionary1, + _lib._sel_dictionaryWithDictionary_1, + dict.pointer, + ); return NSDictionary._(_ret, _lib, retain: true, release: true); } static NSDictionary dictionaryWithObjects_forKeys_( - SwiftLibrary _lib, NSArray objects, NSArray keys) { - final _ret = _lib._objc_msgSend_160(_lib._class_NSDictionary1, - _lib._sel_dictionaryWithObjects_forKeys_1, objects._id, keys._id); + SwiftLibrary _lib, + NSArray objects, + NSArray keys, + ) { + final _ret = _lib._objc_msgSend_160( + _lib._class_NSDictionary1, + _lib._sel_dictionaryWithObjects_forKeys_1, + objects.pointer, + keys.pointer, + ); return NSDictionary._(_ret, _lib, retain: true, release: true); } NSDictionary initWithObjectsAndKeys_(NSObject firstObject) { final _ret = _lib._objc_msgSend_124( - _id, _lib._sel_initWithObjectsAndKeys_1, firstObject._id); + this.pointer, + _lib._sel_initWithObjectsAndKeys_1, + firstObject.pointer, + ); return NSDictionary._(_ret, _lib, retain: true, release: true); } NSDictionary initWithDictionary_(NSDictionary otherDictionary) { final _ret = _lib._objc_msgSend_159( - _id, _lib._sel_initWithDictionary_1, otherDictionary._id); + this.pointer, + _lib._sel_initWithDictionary_1, + otherDictionary.pointer, + ); return NSDictionary._(_ret, _lib, retain: true, release: true); } NSDictionary initWithDictionary_copyItems_( - NSDictionary otherDictionary, bool flag) { - final _ret = _lib._objc_msgSend_161(_id, - _lib._sel_initWithDictionary_copyItems_1, otherDictionary._id, flag); + NSDictionary otherDictionary, + bool flag, + ) { + final _ret = _lib._objc_msgSend_161( + this.pointer, + _lib._sel_initWithDictionary_copyItems_1, + otherDictionary.pointer, + flag, + ); return NSDictionary._(_ret, _lib, retain: false, release: true); } NSDictionary initWithObjects_forKeys_(NSArray objects, NSArray keys) { final _ret = _lib._objc_msgSend_160( - _id, _lib._sel_initWithObjects_forKeys_1, objects._id, keys._id); + this.pointer, + _lib._sel_initWithObjects_forKeys_1, + objects.pointer, + keys.pointer, + ); return NSDictionary._(_ret, _lib, retain: true, release: true); } NSDictionary? initWithContentsOfURL_error_( - NSURL url, ffi.Pointer> error) { + NSURL url, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_162( - _id, _lib._sel_initWithContentsOfURL_error_1, url._id, error); + this.pointer, + _lib._sel_initWithContentsOfURL_error_1, + url.pointer, + error, + ); return _ret.address == 0 ? null : NSDictionary._(_ret, _lib, retain: true, release: true); } - static NSDictionary? dictionaryWithContentsOfURL_error_(SwiftLibrary _lib, - NSURL url, ffi.Pointer> error) { - final _ret = _lib._objc_msgSend_162(_lib._class_NSDictionary1, - _lib._sel_dictionaryWithContentsOfURL_error_1, url._id, error); + static NSDictionary? dictionaryWithContentsOfURL_error_( + SwiftLibrary _lib, + NSURL url, + ffi.Pointer> error, + ) { + final _ret = _lib._objc_msgSend_162( + _lib._class_NSDictionary1, + _lib._sel_dictionaryWithContentsOfURL_error_1, + url.pointer, + error, + ); return _ret.address == 0 ? null : NSDictionary._(_ret, _lib, retain: true, release: true); @@ -41066,104 +53045,125 @@ class NSDictionary extends NSObject { static NSObject sharedKeySetForKeys_(SwiftLibrary _lib, NSArray keys) { final _ret = _lib._objc_msgSend_125( - _lib._class_NSDictionary1, _lib._sel_sharedKeySetForKeys_1, keys._id); + _lib._class_NSDictionary1, + _lib._sel_sharedKeySetForKeys_1, + keys.pointer, + ); return NSObject._(_ret, _lib, retain: true, release: true); } int countByEnumeratingWithState_objects_count_( - ffi.Pointer state, - ffi.Pointer> buffer, - int len) { + ffi.Pointer state, + ffi.Pointer> buffer, + int len, + ) { return _lib._objc_msgSend_163( - _id, - _lib._sel_countByEnumeratingWithState_objects_count_1, - state, - buffer, - len); + this.pointer, + _lib._sel_countByEnumeratingWithState_objects_count_1, + state, + buffer, + len, + ); } int fileSize() { - return _lib._objc_msgSend_164(_id, _lib._sel_fileSize1); + return _lib._objc_msgSend_164(this.pointer, _lib._sel_fileSize1); } NSDate? fileModificationDate() { - final _ret = _lib._objc_msgSend_183(_id, _lib._sel_fileModificationDate1); + final _ret = _lib._objc_msgSend_183( + this.pointer, + _lib._sel_fileModificationDate1, + ); return _ret.address == 0 ? null : NSDate._(_ret, _lib, retain: true, release: true); } NSString? fileType() { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_fileType1); + final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_fileType1); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } int filePosixPermissions() { - return _lib._objc_msgSend_10(_id, _lib._sel_filePosixPermissions1); + return _lib._objc_msgSend_10(this.pointer, _lib._sel_filePosixPermissions1); } NSString? fileOwnerAccountName() { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_fileOwnerAccountName1); + final _ret = _lib._objc_msgSend_44( + this.pointer, + _lib._sel_fileOwnerAccountName1, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } NSString? fileGroupOwnerAccountName() { - final _ret = - _lib._objc_msgSend_44(_id, _lib._sel_fileGroupOwnerAccountName1); + final _ret = _lib._objc_msgSend_44( + this.pointer, + _lib._sel_fileGroupOwnerAccountName1, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } int fileSystemNumber() { - return _lib._objc_msgSend_83(_id, _lib._sel_fileSystemNumber1); + return _lib._objc_msgSend_83(this.pointer, _lib._sel_fileSystemNumber1); } int fileSystemFileNumber() { - return _lib._objc_msgSend_10(_id, _lib._sel_fileSystemFileNumber1); + return _lib._objc_msgSend_10(this.pointer, _lib._sel_fileSystemFileNumber1); } bool fileExtensionHidden() { - return _lib._objc_msgSend_12(_id, _lib._sel_fileExtensionHidden1); + return _lib._objc_msgSend_12(this.pointer, _lib._sel_fileExtensionHidden1); } int fileHFSCreatorCode() { - return _lib._objc_msgSend_214(_id, _lib._sel_fileHFSCreatorCode1); + return _lib._objc_msgSend_214(this.pointer, _lib._sel_fileHFSCreatorCode1); } int fileHFSTypeCode() { - return _lib._objc_msgSend_214(_id, _lib._sel_fileHFSTypeCode1); + return _lib._objc_msgSend_214(this.pointer, _lib._sel_fileHFSTypeCode1); } bool fileIsImmutable() { - return _lib._objc_msgSend_12(_id, _lib._sel_fileIsImmutable1); + return _lib._objc_msgSend_12(this.pointer, _lib._sel_fileIsImmutable1); } bool fileIsAppendOnly() { - return _lib._objc_msgSend_12(_id, _lib._sel_fileIsAppendOnly1); + return _lib._objc_msgSend_12(this.pointer, _lib._sel_fileIsAppendOnly1); } NSDate? fileCreationDate() { - final _ret = _lib._objc_msgSend_183(_id, _lib._sel_fileCreationDate1); + final _ret = _lib._objc_msgSend_183( + this.pointer, + _lib._sel_fileCreationDate1, + ); return _ret.address == 0 ? null : NSDate._(_ret, _lib, retain: true, release: true); } NSNumber? fileOwnerAccountID() { - final _ret = _lib._objc_msgSend_215(_id, _lib._sel_fileOwnerAccountID1); + final _ret = _lib._objc_msgSend_215( + this.pointer, + _lib._sel_fileOwnerAccountID1, + ); return _ret.address == 0 ? null : NSNumber._(_ret, _lib, retain: true, release: true); } NSNumber? fileGroupOwnerAccountID() { - final _ret = - _lib._objc_msgSend_215(_id, _lib._sel_fileGroupOwnerAccountID1); + final _ret = _lib._objc_msgSend_215( + this.pointer, + _lib._sel_fileGroupOwnerAccountID1, + ); return _ret.address == 0 ? null : NSNumber._(_ret, _lib, retain: true, release: true); @@ -41171,145 +53171,219 @@ class NSDictionary extends NSObject { @override NSObject? valueForKey_(NSString key) { - final _ret = _lib._objc_msgSend_38(_id, _lib._sel_valueForKey_1, key._id); + final _ret = _lib._objc_msgSend_38( + this.pointer, + _lib._sel_valueForKey_1, + key.pointer, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } static NSDictionary new1(SwiftLibrary _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSDictionary1, _lib._sel_new1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSDictionary1, + _lib._sel_new1, + ); return NSDictionary._(_ret, _lib, retain: false, release: true); } static NSDictionary allocWithZone_( - SwiftLibrary _lib, ffi.Pointer<_NSZone> zone) { + SwiftLibrary _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSDictionary1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSDictionary1, + _lib._sel_allocWithZone_1, + zone, + ); return NSDictionary._(_ret, _lib, retain: false, release: true); } static NSDictionary alloc(SwiftLibrary _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSDictionary1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSDictionary1, + _lib._sel_alloc1, + ); return NSDictionary._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + SwiftLibrary _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSDictionary1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSDictionary1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSDictionary1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + SwiftLibrary _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSDictionary1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { return _lib._objc_msgSend_12( - _lib._class_NSDictionary1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_NSDictionary1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(SwiftLibrary _lib) { return _lib._objc_msgSend_12( - _lib._class_NSDictionary1, _lib._sel_useStoredAccessor1); + _lib._class_NSDictionary1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSDictionary1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSDictionary1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSDictionary1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSDictionary1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, NSArray keys, NSString dependentKey) { + SwiftLibrary _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSDictionary1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSDictionary1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_85( - _lib._class_NSDictionary1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSDictionary1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSDictionary1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSDictionary1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } -void _ObjCBlock_ffiVoid_ObjCObject_ObjCObject_bool_fnPtrTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2) => - block.ref.target - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2)>>() - .asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>()(arg0, arg1, arg2); -final _ObjCBlock_ffiVoid_ObjCObject_ObjCObject_bool_closureRegistry = , ffi.Pointer, - ffi.Pointer)>{}; -int _ObjCBlock_ffiVoid_ObjCObject_ObjCObject_bool_closureRegistryIndex = 0; +void _ObjCBlock_ffiVoid_objcObjCObject_objcObjCObject_bool_fnPtrTrampoline( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, +) => block.ref.target + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, + ) + > + >() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >()(arg0, arg1, arg2); +final _ObjCBlock_ffiVoid_objcObjCObject_objcObjCObject_bool_closureRegistry = + < + int, + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >{}; +int _ObjCBlock_ffiVoid_objcObjCObject_objcObjCObject_bool_closureRegistryIndex = + 0; ffi.Pointer - _ObjCBlock_ffiVoid_ObjCObject_ObjCObject_bool_registerClosure( - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer) - fn) { +_ObjCBlock_ffiVoid_objcObjCObject_objcObjCObject_bool_registerClosure( + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) fn, +) { final id = - ++_ObjCBlock_ffiVoid_ObjCObject_ObjCObject_bool_closureRegistryIndex; - _ObjCBlock_ffiVoid_ObjCObject_ObjCObject_bool_closureRegistry[id] = fn; + ++_ObjCBlock_ffiVoid_objcObjCObject_objcObjCObject_bool_closureRegistryIndex; + _ObjCBlock_ffiVoid_objcObjCObject_objcObjCObject_bool_closureRegistry[id] = + fn; return ffi.Pointer.fromAddress(id); } -void _ObjCBlock_ffiVoid_ObjCObject_ObjCObject_bool_closureTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2) => - _ObjCBlock_ffiVoid_ObjCObject_ObjCObject_bool_closureRegistry[ - block.ref.target.address]!(arg0, arg1, arg2); - -class ObjCBlock_ffiVoid_ObjCObject_ObjCObject_bool extends _ObjCBlockBase { - ObjCBlock_ffiVoid_ObjCObject_ObjCObject_bool._( - ffi.Pointer<_ObjCBlock> id, SwiftLibrary lib, - {bool retain = false, bool release = true}) - : super._(id, lib, retain: retain, release: release); +void _ObjCBlock_ffiVoid_objcObjCObject_objcObjCObject_bool_closureTrampoline( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, +) => _ObjCBlock_ffiVoid_objcObjCObject_objcObjCObject_bool_closureRegistry[block + .ref + .target + .address]!(arg0, arg1, arg2); + +class ObjCBlock_ffiVoid_objcObjCObject_objcObjCObject_bool + extends objc.ObjCBlockBase { + ObjCBlock_ffiVoid_objcObjCObject_objcObjCObject_bool._( + ffi.Pointer pointer, + this._lib, { + bool retain = false, + bool release = true, + }) : super(pointer, retain: retain, release: release); + + SwiftLibrary _lib; /// Returns a block that wraps the given raw block pointer. - static ObjCBlock_ffiVoid_ObjCObject_ObjCObject_bool castFromPointer( - SwiftLibrary lib, ffi.Pointer<_ObjCBlock> pointer, - {bool retain = false, bool release = false}) { - return ObjCBlock_ffiVoid_ObjCObject_ObjCObject_bool._(pointer, lib, - retain: retain, release: release); + static ObjCBlock_ffiVoid_objcObjCObject_objcObjCObject_bool castFromPointer( + SwiftLibrary lib, + ffi.Pointer pointer, { + bool retain = false, + bool release = false, + }) { + return ObjCBlock_ffiVoid_objcObjCObject_objcObjCObject_bool._( + pointer, + lib, + retain: retain, + release: release, + ); } /// Creates a block from a C function pointer. @@ -41317,27 +53391,31 @@ class ObjCBlock_ffiVoid_ObjCObject_ObjCObject_bool extends _ObjCBlockBase { /// This block must be invoked by native code running on the same thread as /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. - ObjCBlock_ffiVoid_ObjCObject_ObjCObject_bool.fromFunctionPointer( - SwiftLibrary lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2)>> - ptr) - : this._( - lib._newBlock1( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_ObjCObject_ObjCObject_bool_fnPtrTrampoline) - .cast(), - ptr.cast()), - lib); + ObjCBlock_ffiVoid_objcObjCObject_objcObjCObject_bool.fromFunctionPointer( + SwiftLibrary lib, + ffi.Pointer< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, + ) + > + > ptr, + ) : this._(objc.newBlock( + _cFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >( + _ObjCBlock_ffiVoid_objcObjCObject_objcObjCObject_bool_fnPtrTrampoline, + ).cast(), + ptr.cast(), + ), lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -41345,24 +53423,31 @@ class ObjCBlock_ffiVoid_ObjCObject_ObjCObject_bool extends _ObjCBlockBase { /// This block must be invoked by native code running on the same thread as /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. - ObjCBlock_ffiVoid_ObjCObject_ObjCObject_bool.fromFunction(SwiftLibrary lib, - void Function(NSObject, NSObject, ffi.Pointer) fn) - : this._( - lib._newBlock1( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_ObjCObject_ObjCObject_bool_closureTrampoline) - .cast(), - _ObjCBlock_ffiVoid_ObjCObject_ObjCObject_bool_registerClosure( - (ffi.Pointer arg0, ffi.Pointer arg1, ffi.Pointer arg2) => fn( - NSObject._(arg0, lib, retain: true, release: true), - NSObject._(arg1, lib, retain: true, release: true), - arg2))), - lib); + ObjCBlock_ffiVoid_objcObjCObject_objcObjCObject_bool.fromFunction( + SwiftLibrary lib, + void Function(NSObject, NSObject, ffi.Pointer) fn, + ) : this._(objc.newBlock( + _dartFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >( + _ObjCBlock_ffiVoid_objcObjCObject_objcObjCObject_bool_closureTrampoline, + ).cast(), + _ObjCBlock_ffiVoid_objcObjCObject_objcObjCObject_bool_registerClosure(( + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, + ) => fn( + NSObject._(arg0, lib, retain: true, release: true), + NSObject._(arg1, lib, retain: true, release: true), + arg2, + )), + ), lib); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -41374,100 +53459,144 @@ class ObjCBlock_ffiVoid_ObjCObject_ObjCObject_bool extends _ObjCBlockBase { /// /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. - ObjCBlock_ffiVoid_ObjCObject_ObjCObject_bool.listener(SwiftLibrary lib, - void Function(NSObject, NSObject, ffi.Pointer) fn) - : this._( - lib._newBlock1( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>.listener( - _ObjCBlock_ffiVoid_ObjCObject_ObjCObject_bool_closureTrampoline) - ..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_ObjCObject_ObjCObject_bool_registerClosure( - (ffi.Pointer arg0, ffi.Pointer arg1, ffi.Pointer arg2) => - fn( - NSObject._(arg0, lib, retain: true, release: true), - NSObject._(arg1, lib, retain: true, release: true), - arg2))), - lib); + ObjCBlock_ffiVoid_objcObjCObject_objcObjCObject_bool.listener( + SwiftLibrary lib, + void Function(NSObject, NSObject, ffi.Pointer) fn, + ) : this._(objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >.listener( + _ObjCBlock_ffiVoid_objcObjCObject_objcObjCObject_bool_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_objcObjCObject_objcObjCObject_bool_registerClosure(( + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, + ) => fn( + NSObject._(arg0, lib, retain: true, release: true), + NSObject._(arg1, lib, retain: true, release: true), + arg2, + )), + ), lib); static ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>? _dartFuncListenerTrampoline; - - void call(NSObject arg0, NSObject arg1, ffi.Pointer arg2) => - _id.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2)>>() - .asFunction< - void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>()(_id, arg0._id, arg1._id, arg2); + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >? _dartFuncListenerTrampoline; + + void call(NSObject arg0, NSObject arg1, ffi.Pointer arg2) => pointer + .ref + .invoke + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, + ) + > + >() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >()(pointer, arg0.pointer, arg1.pointer, arg2); } -bool _ObjCBlock_bool_ObjCObject_ObjCObject_bool_fnPtrTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2) => - block.ref.target - .cast< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2)>>() - .asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>()(arg0, arg1, arg2); -final _ObjCBlock_bool_ObjCObject_ObjCObject_bool_closureRegistry = , ffi.Pointer, - ffi.Pointer)>{}; -int _ObjCBlock_bool_ObjCObject_ObjCObject_bool_closureRegistryIndex = 0; +bool _ObjCBlock_bool_objcObjCObject_objcObjCObject_bool_fnPtrTrampoline( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, +) => block.ref.target + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, + ) + > + >() + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >()(arg0, arg1, arg2); +final _ObjCBlock_bool_objcObjCObject_objcObjCObject_bool_closureRegistry = + < + int, + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >{}; +int _ObjCBlock_bool_objcObjCObject_objcObjCObject_bool_closureRegistryIndex = 0; ffi.Pointer - _ObjCBlock_bool_ObjCObject_ObjCObject_bool_registerClosure( - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer) - fn) { - final id = ++_ObjCBlock_bool_ObjCObject_ObjCObject_bool_closureRegistryIndex; - _ObjCBlock_bool_ObjCObject_ObjCObject_bool_closureRegistry[id] = fn; +_ObjCBlock_bool_objcObjCObject_objcObjCObject_bool_registerClosure( + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) fn, +) { + final id = + ++_ObjCBlock_bool_objcObjCObject_objcObjCObject_bool_closureRegistryIndex; + _ObjCBlock_bool_objcObjCObject_objcObjCObject_bool_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } -bool _ObjCBlock_bool_ObjCObject_ObjCObject_bool_closureTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2) => - _ObjCBlock_bool_ObjCObject_ObjCObject_bool_closureRegistry[ - block.ref.target.address]!(arg0, arg1, arg2); - -class ObjCBlock_bool_ObjCObject_ObjCObject_bool extends _ObjCBlockBase { - ObjCBlock_bool_ObjCObject_ObjCObject_bool._( - ffi.Pointer<_ObjCBlock> id, SwiftLibrary lib, - {bool retain = false, bool release = true}) - : super._(id, lib, retain: retain, release: release); +bool _ObjCBlock_bool_objcObjCObject_objcObjCObject_bool_closureTrampoline( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, +) => _ObjCBlock_bool_objcObjCObject_objcObjCObject_bool_closureRegistry[block + .ref + .target + .address]!(arg0, arg1, arg2); + +class ObjCBlock_bool_objcObjCObject_objcObjCObject_bool + extends objc.ObjCBlockBase { + ObjCBlock_bool_objcObjCObject_objcObjCObject_bool._( + ffi.Pointer pointer, + this._lib, { + bool retain = false, + bool release = true, + }) : super(pointer, retain: retain, release: release); + + SwiftLibrary _lib; /// Returns a block that wraps the given raw block pointer. - static ObjCBlock_bool_ObjCObject_ObjCObject_bool castFromPointer( - SwiftLibrary lib, ffi.Pointer<_ObjCBlock> pointer, - {bool retain = false, bool release = false}) { - return ObjCBlock_bool_ObjCObject_ObjCObject_bool._(pointer, lib, - retain: retain, release: release); + static ObjCBlock_bool_objcObjCObject_objcObjCObject_bool castFromPointer( + SwiftLibrary lib, + ffi.Pointer pointer, { + bool retain = false, + bool release = false, + }) { + return ObjCBlock_bool_objcObjCObject_objcObjCObject_bool._( + pointer, + lib, + retain: retain, + release: release, + ); } /// Creates a block from a C function pointer. @@ -41475,28 +53604,32 @@ class ObjCBlock_bool_ObjCObject_ObjCObject_bool extends _ObjCBlockBase { /// This block must be invoked by native code running on the same thread as /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. - ObjCBlock_bool_ObjCObject_ObjCObject_bool.fromFunctionPointer( - SwiftLibrary lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2)>> - ptr) - : this._( - lib._newBlock1( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Bool Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>( - _ObjCBlock_bool_ObjCObject_ObjCObject_bool_fnPtrTrampoline, - false) - .cast(), - ptr.cast()), - lib); + ObjCBlock_bool_objcObjCObject_objcObjCObject_bool.fromFunctionPointer( + SwiftLibrary lib, + ffi.Pointer< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, + ) + > + > ptr, + ) : this._(objc.newBlock( + _cFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >( + _ObjCBlock_bool_objcObjCObject_objcObjCObject_bool_fnPtrTrampoline, + false, + ).cast(), + ptr.cast(), + ), lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -41504,47 +53637,62 @@ class ObjCBlock_bool_ObjCObject_ObjCObject_bool extends _ObjCBlockBase { /// This block must be invoked by native code running on the same thread as /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. - ObjCBlock_bool_ObjCObject_ObjCObject_bool.fromFunction(SwiftLibrary lib, - bool Function(NSObject, NSObject, ffi.Pointer) fn) - : this._( - lib._newBlock1( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Bool Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>( - _ObjCBlock_bool_ObjCObject_ObjCObject_bool_closureTrampoline, false) - .cast(), - _ObjCBlock_bool_ObjCObject_ObjCObject_bool_registerClosure( - (ffi.Pointer arg0, ffi.Pointer arg1, - ffi.Pointer arg2) => - fn(NSObject._(arg0, lib, retain: true, release: true), NSObject._(arg1, lib, retain: true, release: true), arg2))), - lib); + ObjCBlock_bool_objcObjCObject_objcObjCObject_bool.fromFunction( + SwiftLibrary lib, + bool Function(NSObject, NSObject, ffi.Pointer) fn, + ) : this._(objc.newBlock( + _dartFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >( + _ObjCBlock_bool_objcObjCObject_objcObjCObject_bool_closureTrampoline, + false, + ).cast(), + _ObjCBlock_bool_objcObjCObject_objcObjCObject_bool_registerClosure(( + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, + ) => fn( + NSObject._(arg0, lib, retain: true, release: true), + NSObject._(arg1, lib, retain: true, release: true), + arg2, + )), + ), lib); static ffi.Pointer? _dartFuncTrampoline; - bool call(NSObject arg0, NSObject arg1, ffi.Pointer arg2) => - _id.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2)>>() - .asFunction< - bool Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>()(_id, arg0._id, arg1._id, arg2); + bool call(NSObject arg0, NSObject arg1, ffi.Pointer arg2) => pointer + .ref + .invoke + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, + ) + > + >() + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >()(pointer, arg0.pointer, arg1.pointer, arg2); } final class NSFastEnumerationState extends ffi.Struct { @ffi.UnsignedLong() external int state; - external ffi.Pointer> itemsPtr; + external ffi.Pointer> itemsPtr; external ffi.Pointer mutationsPtr; @@ -41553,116 +53701,176 @@ final class NSFastEnumerationState extends ffi.Struct { } class NSDate extends NSObject { - NSDate._(ffi.Pointer id, SwiftLibrary lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSDate._( + ffi.Pointer pointer, + SwiftLibrary lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSDate] that points to the same underlying object as [other]. - static NSDate castFrom(T other) { - return NSDate._(other._id, other._lib, retain: true, release: true); + static NSDate castFrom( + SwiftLibrary lib, + T other, + ) { + return NSDate._(other.pointer, lib, retain: true, release: true); } /// Returns a [NSDate] that wraps the given raw object pointer. - static NSDate castFromPointer(SwiftLibrary lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + static NSDate castFromPointer( + SwiftLibrary lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSDate._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSDate]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_NSDate1); + static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSDate1, + ); } double get timeIntervalSinceReferenceDate { - return _lib._objc_msgSend_useVariants1 + return objc.useMsgSendVariants ? _lib._objc_msgSend_165_fpret( - _id, _lib._sel_timeIntervalSinceReferenceDate1) + this.pointer, + _lib._sel_timeIntervalSinceReferenceDate1, + ) : _lib._objc_msgSend_165( - _id, _lib._sel_timeIntervalSinceReferenceDate1); + this.pointer, + _lib._sel_timeIntervalSinceReferenceDate1, + ); } @override NSDate init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSDate._(_ret, _lib, retain: true, release: true); } NSDate initWithTimeIntervalSinceReferenceDate_(double ti) { final _ret = _lib._objc_msgSend_166( - _id, _lib._sel_initWithTimeIntervalSinceReferenceDate_1, ti); + this.pointer, + _lib._sel_initWithTimeIntervalSinceReferenceDate_1, + ti, + ); return NSDate._(_ret, _lib, retain: true, release: true); } NSDate? initWithCoder_(NSCoder coder) { - final _ret = - _lib._objc_msgSend_47(_id, _lib._sel_initWithCoder_1, coder._id); + final _ret = _lib._objc_msgSend_47( + this.pointer, + _lib._sel_initWithCoder_1, + coder.pointer, + ); return _ret.address == 0 ? null : NSDate._(_ret, _lib, retain: true, release: true); } double timeIntervalSinceDate_(NSDate anotherDate) { - return _lib._objc_msgSend_useVariants1 + return objc.useMsgSendVariants ? _lib._objc_msgSend_167_fpret( - _id, _lib._sel_timeIntervalSinceDate_1, anotherDate._id) + this.pointer, + _lib._sel_timeIntervalSinceDate_1, + anotherDate.pointer, + ) : _lib._objc_msgSend_167( - _id, _lib._sel_timeIntervalSinceDate_1, anotherDate._id); + this.pointer, + _lib._sel_timeIntervalSinceDate_1, + anotherDate.pointer, + ); } double get timeIntervalSinceNow { - return _lib._objc_msgSend_useVariants1 - ? _lib._objc_msgSend_165_fpret(_id, _lib._sel_timeIntervalSinceNow1) - : _lib._objc_msgSend_165(_id, _lib._sel_timeIntervalSinceNow1); + return objc.useMsgSendVariants + ? _lib._objc_msgSend_165_fpret( + this.pointer, + _lib._sel_timeIntervalSinceNow1, + ) + : _lib._objc_msgSend_165(this.pointer, _lib._sel_timeIntervalSinceNow1); } double get timeIntervalSince1970 { - return _lib._objc_msgSend_useVariants1 - ? _lib._objc_msgSend_165_fpret(_id, _lib._sel_timeIntervalSince19701) - : _lib._objc_msgSend_165(_id, _lib._sel_timeIntervalSince19701); + return objc.useMsgSendVariants + ? _lib._objc_msgSend_165_fpret( + this.pointer, + _lib._sel_timeIntervalSince19701, + ) + : _lib._objc_msgSend_165( + this.pointer, + _lib._sel_timeIntervalSince19701, + ); } NSObject addTimeInterval_(double seconds) { - final _ret = - _lib._objc_msgSend_166(_id, _lib._sel_addTimeInterval_1, seconds); + final _ret = _lib._objc_msgSend_166( + this.pointer, + _lib._sel_addTimeInterval_1, + seconds, + ); return NSObject._(_ret, _lib, retain: true, release: true); } NSDate dateByAddingTimeInterval_(double ti) { - final _ret = - _lib._objc_msgSend_166(_id, _lib._sel_dateByAddingTimeInterval_1, ti); + final _ret = _lib._objc_msgSend_166( + this.pointer, + _lib._sel_dateByAddingTimeInterval_1, + ti, + ); return NSDate._(_ret, _lib, retain: true, release: true); } NSDate earlierDate_(NSDate anotherDate) { - final _ret = - _lib._objc_msgSend_168(_id, _lib._sel_earlierDate_1, anotherDate._id); + final _ret = _lib._objc_msgSend_168( + this.pointer, + _lib._sel_earlierDate_1, + anotherDate.pointer, + ); return NSDate._(_ret, _lib, retain: true, release: true); } NSDate laterDate_(NSDate anotherDate) { - final _ret = - _lib._objc_msgSend_168(_id, _lib._sel_laterDate_1, anotherDate._id); + final _ret = _lib._objc_msgSend_168( + this.pointer, + _lib._sel_laterDate_1, + anotherDate.pointer, + ); return NSDate._(_ret, _lib, retain: true, release: true); } int compare_(NSDate other) { - return _lib._objc_msgSend_169(_id, _lib._sel_compare_1, other._id); + return _lib._objc_msgSend_169( + this.pointer, + _lib._sel_compare_1, + other.pointer, + ); } bool isEqualToDate_(NSDate otherDate) { return _lib._objc_msgSend_170( - _id, _lib._sel_isEqualToDate_1, otherDate._id); + this.pointer, + _lib._sel_isEqualToDate_1, + otherDate.pointer, + ); } NSString get description { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_description1); + final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_description1); return NSString._(_ret, _lib, retain: true, release: true); } NSString descriptionWithLocale_(NSObject? locale) { final _ret = _lib._objc_msgSend_70( - _id, _lib._sel_descriptionWithLocale_1, locale?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_descriptionWithLocale_1, + locale?.pointer ?? ffi.nullptr, + ); return NSString._(_ret, _lib, retain: true, release: true); } @@ -41673,39 +53881,61 @@ class NSDate extends NSObject { static NSDate dateWithTimeIntervalSinceNow_(SwiftLibrary _lib, double secs) { final _ret = _lib._objc_msgSend_166( - _lib._class_NSDate1, _lib._sel_dateWithTimeIntervalSinceNow_1, secs); + _lib._class_NSDate1, + _lib._sel_dateWithTimeIntervalSinceNow_1, + secs, + ); return NSDate._(_ret, _lib, retain: true, release: true); } static NSDate dateWithTimeIntervalSinceReferenceDate_( - SwiftLibrary _lib, double ti) { - final _ret = _lib._objc_msgSend_166(_lib._class_NSDate1, - _lib._sel_dateWithTimeIntervalSinceReferenceDate_1, ti); + SwiftLibrary _lib, + double ti, + ) { + final _ret = _lib._objc_msgSend_166( + _lib._class_NSDate1, + _lib._sel_dateWithTimeIntervalSinceReferenceDate_1, + ti, + ); return NSDate._(_ret, _lib, retain: true, release: true); } static NSDate dateWithTimeIntervalSince1970_(SwiftLibrary _lib, double secs) { final _ret = _lib._objc_msgSend_166( - _lib._class_NSDate1, _lib._sel_dateWithTimeIntervalSince1970_1, secs); + _lib._class_NSDate1, + _lib._sel_dateWithTimeIntervalSince1970_1, + secs, + ); return NSDate._(_ret, _lib, retain: true, release: true); } static NSDate dateWithTimeInterval_sinceDate_( - SwiftLibrary _lib, double secsToBeAdded, NSDate date) { - final _ret = _lib._objc_msgSend_171(_lib._class_NSDate1, - _lib._sel_dateWithTimeInterval_sinceDate_1, secsToBeAdded, date._id); + SwiftLibrary _lib, + double secsToBeAdded, + NSDate date, + ) { + final _ret = _lib._objc_msgSend_171( + _lib._class_NSDate1, + _lib._sel_dateWithTimeInterval_sinceDate_1, + secsToBeAdded, + date.pointer, + ); return NSDate._(_ret, _lib, retain: true, release: true); } static NSDate getDistantFuture(SwiftLibrary _lib) { - final _ret = - _lib._objc_msgSend_172(_lib._class_NSDate1, _lib._sel_distantFuture1); + final _ret = _lib._objc_msgSend_172( + _lib._class_NSDate1, + _lib._sel_distantFuture1, + ); return NSDate._(_ret, _lib, retain: true, release: true); } static NSDate getDistantPast(SwiftLibrary _lib) { - final _ret = - _lib._objc_msgSend_172(_lib._class_NSDate1, _lib._sel_distantPast1); + final _ret = _lib._objc_msgSend_172( + _lib._class_NSDate1, + _lib._sel_distantPast1, + ); return NSDate._(_ret, _lib, retain: true, release: true); } @@ -41716,38 +53946,57 @@ class NSDate extends NSObject { NSDate initWithTimeIntervalSinceNow_(double secs) { final _ret = _lib._objc_msgSend_166( - _id, _lib._sel_initWithTimeIntervalSinceNow_1, secs); + this.pointer, + _lib._sel_initWithTimeIntervalSinceNow_1, + secs, + ); return NSDate._(_ret, _lib, retain: true, release: true); } NSDate initWithTimeIntervalSince1970_(double secs) { final _ret = _lib._objc_msgSend_166( - _id, _lib._sel_initWithTimeIntervalSince1970_1, secs); + this.pointer, + _lib._sel_initWithTimeIntervalSince1970_1, + secs, + ); return NSDate._(_ret, _lib, retain: true, release: true); } NSDate initWithTimeInterval_sinceDate_(double secsToBeAdded, NSDate date) { - final _ret = _lib._objc_msgSend_171(_id, - _lib._sel_initWithTimeInterval_sinceDate_1, secsToBeAdded, date._id); + final _ret = _lib._objc_msgSend_171( + this.pointer, + _lib._sel_initWithTimeInterval_sinceDate_1, + secsToBeAdded, + date.pointer, + ); return NSDate._(_ret, _lib, retain: true, release: true); } static NSObject? dateWithNaturalLanguageString_locale_( - SwiftLibrary _lib, NSString string, NSObject? locale) { + SwiftLibrary _lib, + NSString string, + NSObject? locale, + ) { final _ret = _lib._objc_msgSend_173( - _lib._class_NSDate1, - _lib._sel_dateWithNaturalLanguageString_locale_1, - string._id, - locale?._id ?? ffi.nullptr); + _lib._class_NSDate1, + _lib._sel_dateWithNaturalLanguageString_locale_1, + string.pointer, + locale?.pointer ?? ffi.nullptr, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } static NSObject? dateWithNaturalLanguageString_( - SwiftLibrary _lib, NSString string) { - final _ret = _lib._objc_msgSend_38(_lib._class_NSDate1, - _lib._sel_dateWithNaturalLanguageString_1, string._id); + SwiftLibrary _lib, + NSString string, + ) { + final _ret = _lib._objc_msgSend_38( + _lib._class_NSDate1, + _lib._sel_dateWithNaturalLanguageString_1, + string.pointer, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); @@ -41755,36 +54004,49 @@ class NSDate extends NSObject { static NSObject dateWithString_(SwiftLibrary _lib, NSString aString) { final _ret = _lib._objc_msgSend_31( - _lib._class_NSDate1, _lib._sel_dateWithString_1, aString._id); + _lib._class_NSDate1, + _lib._sel_dateWithString_1, + aString.pointer, + ); return NSObject._(_ret, _lib, retain: true, release: true); } NSCalendarDate dateWithCalendarFormat_timeZone_( - NSString? format, NSTimeZone? aTimeZone) { + NSString? format, + NSTimeZone? aTimeZone, + ) { final _ret = _lib._objc_msgSend_212( - _id, - _lib._sel_dateWithCalendarFormat_timeZone_1, - format?._id ?? ffi.nullptr, - aTimeZone?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_dateWithCalendarFormat_timeZone_1, + format?.pointer ?? ffi.nullptr, + aTimeZone?.pointer ?? ffi.nullptr, + ); return NSCalendarDate._(_ret, _lib, retain: true, release: true); } NSString? descriptionWithCalendarFormat_timeZone_locale_( - NSString? format, NSTimeZone? aTimeZone, NSObject? locale) { + NSString? format, + NSTimeZone? aTimeZone, + NSObject? locale, + ) { final _ret = _lib._objc_msgSend_213( - _id, - _lib._sel_descriptionWithCalendarFormat_timeZone_locale_1, - format?._id ?? ffi.nullptr, - aTimeZone?._id ?? ffi.nullptr, - locale?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_descriptionWithCalendarFormat_timeZone_locale_1, + format?.pointer ?? ffi.nullptr, + aTimeZone?.pointer ?? ffi.nullptr, + locale?.pointer ?? ffi.nullptr, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } NSObject? initWithString_(NSString description) { - final _ret = - _lib._objc_msgSend_38(_id, _lib._sel_initWithString_1, description._id); + final _ret = _lib._objc_msgSend_38( + this.pointer, + _lib._sel_initWithString_1, + description.pointer, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); @@ -41797,7 +54059,10 @@ class NSDate extends NSObject { static NSDate allocWithZone_(SwiftLibrary _lib, ffi.Pointer<_NSZone> zone) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSDate1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSDate1, + _lib._sel_allocWithZone_1, + zone, + ); return NSDate._(_ret, _lib, retain: false, release: true); } @@ -41807,242 +54072,325 @@ class NSDate extends NSObject { } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + SwiftLibrary _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSDate1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSDate1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSDate1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + SwiftLibrary _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSDate1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { return _lib._objc_msgSend_12( - _lib._class_NSDate1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_NSDate1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(SwiftLibrary _lib) { return _lib._objc_msgSend_12( - _lib._class_NSDate1, _lib._sel_useStoredAccessor1); + _lib._class_NSDate1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSDate1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSDate1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSDate1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSDate1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, NSArray keys, NSString dependentKey) { + SwiftLibrary _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSDate1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSDate1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_85( - _lib._class_NSDate1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSDate1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSDate1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSDate1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } class NSCalendarDate extends NSDate { - NSCalendarDate._(ffi.Pointer id, SwiftLibrary lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSCalendarDate._( + ffi.Pointer pointer, + SwiftLibrary lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSCalendarDate] that points to the same underlying object as [other]. - static NSCalendarDate castFrom(T other) { - return NSCalendarDate._(other._id, other._lib, retain: true, release: true); + static NSCalendarDate castFrom( + SwiftLibrary lib, + T other, + ) { + return NSCalendarDate._(other.pointer, lib, retain: true, release: true); } /// Returns a [NSCalendarDate] that wraps the given raw object pointer. static NSCalendarDate castFromPointer( - SwiftLibrary lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + SwiftLibrary lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSCalendarDate._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSCalendarDate]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0(obj._id, obj._lib._sel_isKindOfClass_1, - obj._lib._class_NSCalendarDate1); + static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSCalendarDate1, + ); } static NSObject calendarDate(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSCalendarDate1, _lib._sel_calendarDate1); + _lib._class_NSCalendarDate1, + _lib._sel_calendarDate1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } - static NSObject? dateWithString_calendarFormat_locale_(SwiftLibrary _lib, - NSString description, NSString format, NSObject? locale) { + static NSObject? dateWithString_calendarFormat_locale_( + SwiftLibrary _lib, + NSString description, + NSString format, + NSObject? locale, + ) { final _ret = _lib._objc_msgSend_174( - _lib._class_NSCalendarDate1, - _lib._sel_dateWithString_calendarFormat_locale_1, - description._id, - format._id, - locale?._id ?? ffi.nullptr); + _lib._class_NSCalendarDate1, + _lib._sel_dateWithString_calendarFormat_locale_1, + description.pointer, + format.pointer, + locale?.pointer ?? ffi.nullptr, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } static NSObject? dateWithString_calendarFormat_( - SwiftLibrary _lib, NSString description, NSString format) { - final _ret = _lib._objc_msgSend_175(_lib._class_NSCalendarDate1, - _lib._sel_dateWithString_calendarFormat_1, description._id, format._id); + SwiftLibrary _lib, + NSString description, + NSString format, + ) { + final _ret = _lib._objc_msgSend_175( + _lib._class_NSCalendarDate1, + _lib._sel_dateWithString_calendarFormat_1, + description.pointer, + format.pointer, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } static NSObject dateWithYear_month_day_hour_minute_second_timeZone_( - SwiftLibrary _lib, - int year, - int month, - int day, - int hour, - int minute, - int second, - NSTimeZone? aTimeZone) { + SwiftLibrary _lib, + int year, + int month, + int day, + int hour, + int minute, + int second, + NSTimeZone? aTimeZone, + ) { final _ret = _lib._objc_msgSend_206( - _lib._class_NSCalendarDate1, - _lib._sel_dateWithYear_month_day_hour_minute_second_timeZone_1, - year, - month, - day, - hour, - minute, - second, - aTimeZone?._id ?? ffi.nullptr); + _lib._class_NSCalendarDate1, + _lib._sel_dateWithYear_month_day_hour_minute_second_timeZone_1, + year, + month, + day, + hour, + minute, + second, + aTimeZone?.pointer ?? ffi.nullptr, + ); return NSObject._(_ret, _lib, retain: true, release: true); } NSCalendarDate dateByAddingYears_months_days_hours_minutes_seconds_( - int year, int month, int day, int hour, int minute, int second) { + int year, + int month, + int day, + int hour, + int minute, + int second, + ) { final _ret = _lib._objc_msgSend_207( - _id, - _lib._sel_dateByAddingYears_months_days_hours_minutes_seconds_1, - year, - month, - day, - hour, - minute, - second); + this.pointer, + _lib._sel_dateByAddingYears_months_days_hours_minutes_seconds_1, + year, + month, + day, + hour, + minute, + second, + ); return NSCalendarDate._(_ret, _lib, retain: true, release: true); } int dayOfCommonEra() { - return _lib._objc_msgSend_83(_id, _lib._sel_dayOfCommonEra1); + return _lib._objc_msgSend_83(this.pointer, _lib._sel_dayOfCommonEra1); } int dayOfMonth() { - return _lib._objc_msgSend_83(_id, _lib._sel_dayOfMonth1); + return _lib._objc_msgSend_83(this.pointer, _lib._sel_dayOfMonth1); } int dayOfWeek() { - return _lib._objc_msgSend_83(_id, _lib._sel_dayOfWeek1); + return _lib._objc_msgSend_83(this.pointer, _lib._sel_dayOfWeek1); } int dayOfYear() { - return _lib._objc_msgSend_83(_id, _lib._sel_dayOfYear1); + return _lib._objc_msgSend_83(this.pointer, _lib._sel_dayOfYear1); } int hourOfDay() { - return _lib._objc_msgSend_83(_id, _lib._sel_hourOfDay1); + return _lib._objc_msgSend_83(this.pointer, _lib._sel_hourOfDay1); } int minuteOfHour() { - return _lib._objc_msgSend_83(_id, _lib._sel_minuteOfHour1); + return _lib._objc_msgSend_83(this.pointer, _lib._sel_minuteOfHour1); } int monthOfYear() { - return _lib._objc_msgSend_83(_id, _lib._sel_monthOfYear1); + return _lib._objc_msgSend_83(this.pointer, _lib._sel_monthOfYear1); } int secondOfMinute() { - return _lib._objc_msgSend_83(_id, _lib._sel_secondOfMinute1); + return _lib._objc_msgSend_83(this.pointer, _lib._sel_secondOfMinute1); } int yearOfCommonEra() { - return _lib._objc_msgSend_83(_id, _lib._sel_yearOfCommonEra1); + return _lib._objc_msgSend_83(this.pointer, _lib._sel_yearOfCommonEra1); } NSString calendarFormat() { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_calendarFormat1); + final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_calendarFormat1); return NSString._(_ret, _lib, retain: true, release: true); } NSString descriptionWithCalendarFormat_locale_( - NSString format, NSObject? locale) { + NSString format, + NSObject? locale, + ) { final _ret = _lib._objc_msgSend_208( - _id, - _lib._sel_descriptionWithCalendarFormat_locale_1, - format._id, - locale?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_descriptionWithCalendarFormat_locale_1, + format.pointer, + locale?.pointer ?? ffi.nullptr, + ); return NSString._(_ret, _lib, retain: true, release: true); } NSString descriptionWithCalendarFormat_(NSString format) { final _ret = _lib._objc_msgSend_69( - _id, _lib._sel_descriptionWithCalendarFormat_1, format._id); + this.pointer, + _lib._sel_descriptionWithCalendarFormat_1, + format.pointer, + ); return NSString._(_ret, _lib, retain: true, release: true); } @override NSString descriptionWithLocale_(NSObject? locale) { final _ret = _lib._objc_msgSend_70( - _id, _lib._sel_descriptionWithLocale_1, locale?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_descriptionWithLocale_1, + locale?.pointer ?? ffi.nullptr, + ); return NSString._(_ret, _lib, retain: true, release: true); } NSTimeZone timeZone() { - final _ret = _lib._objc_msgSend_179(_id, _lib._sel_timeZone1); + final _ret = _lib._objc_msgSend_179(this.pointer, _lib._sel_timeZone1); return NSTimeZone._(_ret, _lib, retain: true, release: true); } NSObject? initWithString_calendarFormat_locale_( - NSString description, NSString format, NSObject? locale) { + NSString description, + NSString format, + NSObject? locale, + ) { final _ret = _lib._objc_msgSend_174( - _id, - _lib._sel_initWithString_calendarFormat_locale_1, - description._id, - format._id, - locale?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_initWithString_calendarFormat_locale_1, + description.pointer, + format.pointer, + locale?.pointer ?? ffi.nullptr, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } NSObject? initWithString_calendarFormat_( - NSString description, NSString format) { - final _ret = _lib._objc_msgSend_175(_id, - _lib._sel_initWithString_calendarFormat_1, description._id, format._id); + NSString description, + NSString format, + ) { + final _ret = _lib._objc_msgSend_175( + this.pointer, + _lib._sel_initWithString_calendarFormat_1, + description.pointer, + format.pointer, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); @@ -42050,93 +54398,116 @@ class NSCalendarDate extends NSDate { @override NSObject? initWithString_(NSString description) { - final _ret = - _lib._objc_msgSend_38(_id, _lib._sel_initWithString_1, description._id); + final _ret = _lib._objc_msgSend_38( + this.pointer, + _lib._sel_initWithString_1, + description.pointer, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } NSObject initWithYear_month_day_hour_minute_second_timeZone_( - int year, - int month, - int day, - int hour, - int minute, - int second, - NSTimeZone? aTimeZone) { + int year, + int month, + int day, + int hour, + int minute, + int second, + NSTimeZone? aTimeZone, + ) { final _ret = _lib._objc_msgSend_206( - _id, - _lib._sel_initWithYear_month_day_hour_minute_second_timeZone_1, - year, - month, - day, - hour, - minute, - second, - aTimeZone?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_initWithYear_month_day_hour_minute_second_timeZone_1, + year, + month, + day, + hour, + minute, + second, + aTimeZone?.pointer ?? ffi.nullptr, + ); return NSObject._(_ret, _lib, retain: true, release: true); } void setCalendarFormat_(NSString? format) { _lib._objc_msgSend_209( - _id, _lib._sel_setCalendarFormat_1, format?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setCalendarFormat_1, + format?.pointer ?? ffi.nullptr, + ); } void setTimeZone_(NSTimeZone? aTimeZone) { _lib._objc_msgSend_210( - _id, _lib._sel_setTimeZone_1, aTimeZone?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setTimeZone_1, + aTimeZone?.pointer ?? ffi.nullptr, + ); } void years_months_days_hours_minutes_seconds_sinceDate_( - ffi.Pointer yp, - ffi.Pointer mop, - ffi.Pointer dp, - ffi.Pointer hp, - ffi.Pointer mip, - ffi.Pointer sp, - NSCalendarDate date) { + ffi.Pointer yp, + ffi.Pointer mop, + ffi.Pointer dp, + ffi.Pointer hp, + ffi.Pointer mip, + ffi.Pointer sp, + NSCalendarDate date, + ) { _lib._objc_msgSend_211( - _id, - _lib._sel_years_months_days_hours_minutes_seconds_sinceDate_1, - yp, - mop, - dp, - hp, - mip, - sp, - date._id); + this.pointer, + _lib._sel_years_months_days_hours_minutes_seconds_sinceDate_1, + yp, + mop, + dp, + hp, + mip, + sp, + date.pointer, + ); } static NSDate getDistantFuture(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_172( - _lib._class_NSCalendarDate1, _lib._sel_distantFuture1); + _lib._class_NSCalendarDate1, + _lib._sel_distantFuture1, + ); return NSDate._(_ret, _lib, retain: true, release: true); } static NSDate getDistantPast(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_172( - _lib._class_NSCalendarDate1, _lib._sel_distantPast1); + _lib._class_NSCalendarDate1, + _lib._sel_distantPast1, + ); return NSDate._(_ret, _lib, retain: true, release: true); } @override NSCalendarDate init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSCalendarDate._(_ret, _lib, retain: true, release: true); } @override NSCalendarDate initWithTimeIntervalSinceReferenceDate_(double ti) { final _ret = _lib._objc_msgSend_166( - _id, _lib._sel_initWithTimeIntervalSinceReferenceDate_1, ti); + this.pointer, + _lib._sel_initWithTimeIntervalSinceReferenceDate_1, + ti, + ); return NSCalendarDate._(_ret, _lib, retain: true, release: true); } @override NSCalendarDate? initWithCoder_(NSCoder coder) { - final _ret = - _lib._objc_msgSend_47(_id, _lib._sel_initWithCoder_1, coder._id); + final _ret = _lib._objc_msgSend_47( + this.pointer, + _lib._sel_initWithCoder_1, + coder.pointer, + ); return _ret.address == 0 ? null : NSCalendarDate._(_ret, _lib, retain: true, release: true); @@ -42144,89 +54515,139 @@ class NSCalendarDate extends NSDate { @override NSCalendarDate dateByAddingTimeInterval_(double ti) { - final _ret = - _lib._objc_msgSend_166(_id, _lib._sel_dateByAddingTimeInterval_1, ti); + final _ret = _lib._objc_msgSend_166( + this.pointer, + _lib._sel_dateByAddingTimeInterval_1, + ti, + ); return NSCalendarDate._(_ret, _lib, retain: true, release: true); } static NSCalendarDate date(SwiftLibrary _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSCalendarDate1, _lib._sel_date1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSCalendarDate1, + _lib._sel_date1, + ); return NSCalendarDate._(_ret, _lib, retain: true, release: true); } static NSCalendarDate dateWithTimeIntervalSinceNow_( - SwiftLibrary _lib, double secs) { - final _ret = _lib._objc_msgSend_166(_lib._class_NSCalendarDate1, - _lib._sel_dateWithTimeIntervalSinceNow_1, secs); + SwiftLibrary _lib, + double secs, + ) { + final _ret = _lib._objc_msgSend_166( + _lib._class_NSCalendarDate1, + _lib._sel_dateWithTimeIntervalSinceNow_1, + secs, + ); return NSCalendarDate._(_ret, _lib, retain: true, release: true); } static NSCalendarDate dateWithTimeIntervalSinceReferenceDate_( - SwiftLibrary _lib, double ti) { - final _ret = _lib._objc_msgSend_166(_lib._class_NSCalendarDate1, - _lib._sel_dateWithTimeIntervalSinceReferenceDate_1, ti); + SwiftLibrary _lib, + double ti, + ) { + final _ret = _lib._objc_msgSend_166( + _lib._class_NSCalendarDate1, + _lib._sel_dateWithTimeIntervalSinceReferenceDate_1, + ti, + ); return NSCalendarDate._(_ret, _lib, retain: true, release: true); } static NSCalendarDate dateWithTimeIntervalSince1970_( - SwiftLibrary _lib, double secs) { - final _ret = _lib._objc_msgSend_166(_lib._class_NSCalendarDate1, - _lib._sel_dateWithTimeIntervalSince1970_1, secs); + SwiftLibrary _lib, + double secs, + ) { + final _ret = _lib._objc_msgSend_166( + _lib._class_NSCalendarDate1, + _lib._sel_dateWithTimeIntervalSince1970_1, + secs, + ); return NSCalendarDate._(_ret, _lib, retain: true, release: true); } static NSCalendarDate dateWithTimeInterval_sinceDate_( - SwiftLibrary _lib, double secsToBeAdded, NSDate date) { - final _ret = _lib._objc_msgSend_171(_lib._class_NSCalendarDate1, - _lib._sel_dateWithTimeInterval_sinceDate_1, secsToBeAdded, date._id); + SwiftLibrary _lib, + double secsToBeAdded, + NSDate date, + ) { + final _ret = _lib._objc_msgSend_171( + _lib._class_NSCalendarDate1, + _lib._sel_dateWithTimeInterval_sinceDate_1, + secsToBeAdded, + date.pointer, + ); return NSCalendarDate._(_ret, _lib, retain: true, release: true); } static NSDate getNow(SwiftLibrary _lib) { - final _ret = - _lib._objc_msgSend_172(_lib._class_NSCalendarDate1, _lib._sel_now1); + final _ret = _lib._objc_msgSend_172( + _lib._class_NSCalendarDate1, + _lib._sel_now1, + ); return NSDate._(_ret, _lib, retain: true, release: true); } @override NSCalendarDate initWithTimeIntervalSinceNow_(double secs) { final _ret = _lib._objc_msgSend_166( - _id, _lib._sel_initWithTimeIntervalSinceNow_1, secs); + this.pointer, + _lib._sel_initWithTimeIntervalSinceNow_1, + secs, + ); return NSCalendarDate._(_ret, _lib, retain: true, release: true); } @override NSCalendarDate initWithTimeIntervalSince1970_(double secs) { final _ret = _lib._objc_msgSend_166( - _id, _lib._sel_initWithTimeIntervalSince1970_1, secs); + this.pointer, + _lib._sel_initWithTimeIntervalSince1970_1, + secs, + ); return NSCalendarDate._(_ret, _lib, retain: true, release: true); } @override NSCalendarDate initWithTimeInterval_sinceDate_( - double secsToBeAdded, NSDate date) { - final _ret = _lib._objc_msgSend_171(_id, - _lib._sel_initWithTimeInterval_sinceDate_1, secsToBeAdded, date._id); + double secsToBeAdded, + NSDate date, + ) { + final _ret = _lib._objc_msgSend_171( + this.pointer, + _lib._sel_initWithTimeInterval_sinceDate_1, + secsToBeAdded, + date.pointer, + ); return NSCalendarDate._(_ret, _lib, retain: true, release: true); } static NSObject? dateWithNaturalLanguageString_locale_( - SwiftLibrary _lib, NSString string, NSObject? locale) { + SwiftLibrary _lib, + NSString string, + NSObject? locale, + ) { final _ret = _lib._objc_msgSend_173( - _lib._class_NSCalendarDate1, - _lib._sel_dateWithNaturalLanguageString_locale_1, - string._id, - locale?._id ?? ffi.nullptr); + _lib._class_NSCalendarDate1, + _lib._sel_dateWithNaturalLanguageString_locale_1, + string.pointer, + locale?.pointer ?? ffi.nullptr, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } static NSObject? dateWithNaturalLanguageString_( - SwiftLibrary _lib, NSString string) { - final _ret = _lib._objc_msgSend_38(_lib._class_NSCalendarDate1, - _lib._sel_dateWithNaturalLanguageString_1, string._id); + SwiftLibrary _lib, + NSString string, + ) { + final _ret = _lib._objc_msgSend_38( + _lib._class_NSCalendarDate1, + _lib._sel_dateWithNaturalLanguageString_1, + string.pointer, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); @@ -42234,134 +54655,193 @@ class NSCalendarDate extends NSDate { static NSObject dateWithString_(SwiftLibrary _lib, NSString aString) { final _ret = _lib._objc_msgSend_31( - _lib._class_NSCalendarDate1, _lib._sel_dateWithString_1, aString._id); + _lib._class_NSCalendarDate1, + _lib._sel_dateWithString_1, + aString.pointer, + ); return NSObject._(_ret, _lib, retain: true, release: true); } static NSCalendarDate new1(SwiftLibrary _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSCalendarDate1, _lib._sel_new1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSCalendarDate1, + _lib._sel_new1, + ); return NSCalendarDate._(_ret, _lib, retain: false, release: true); } static NSCalendarDate allocWithZone_( - SwiftLibrary _lib, ffi.Pointer<_NSZone> zone) { + SwiftLibrary _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSCalendarDate1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSCalendarDate1, + _lib._sel_allocWithZone_1, + zone, + ); return NSCalendarDate._(_ret, _lib, retain: false, release: true); } static NSCalendarDate alloc(SwiftLibrary _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSCalendarDate1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSCalendarDate1, + _lib._sel_alloc1, + ); return NSCalendarDate._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + SwiftLibrary _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSCalendarDate1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSCalendarDate1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSCalendarDate1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + SwiftLibrary _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSCalendarDate1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { - return _lib._objc_msgSend_12(_lib._class_NSCalendarDate1, - _lib._sel_accessInstanceVariablesDirectly1); + return _lib._objc_msgSend_12( + _lib._class_NSCalendarDate1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(SwiftLibrary _lib) { return _lib._objc_msgSend_12( - _lib._class_NSCalendarDate1, _lib._sel_useStoredAccessor1); + _lib._class_NSCalendarDate1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSCalendarDate1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSCalendarDate1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSCalendarDate1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSCalendarDate1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, NSArray keys, NSString dependentKey) { + SwiftLibrary _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSCalendarDate1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSCalendarDate1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_85( - _lib._class_NSCalendarDate1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSCalendarDate1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSCalendarDate1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSCalendarDate1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } class NSTimeZone extends NSObject { - NSTimeZone._(ffi.Pointer id, SwiftLibrary lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSTimeZone._( + ffi.Pointer pointer, + SwiftLibrary lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSTimeZone] that points to the same underlying object as [other]. - static NSTimeZone castFrom(T other) { - return NSTimeZone._(other._id, other._lib, retain: true, release: true); + static NSTimeZone castFrom( + SwiftLibrary lib, + T other, + ) { + return NSTimeZone._(other.pointer, lib, retain: true, release: true); } /// Returns a [NSTimeZone] that wraps the given raw object pointer. static NSTimeZone castFromPointer( - SwiftLibrary lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + SwiftLibrary lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSTimeZone._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSTimeZone]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_NSTimeZone1); + static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSTimeZone1, + ); } NSString get name { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_name1); + final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_name1); return NSString._(_ret, _lib, retain: true, release: true); } NSData get data { - final _ret = _lib._objc_msgSend_43(_id, _lib._sel_data1); + final _ret = _lib._objc_msgSend_43(this.pointer, _lib._sel_data1); return NSData._(_ret, _lib, retain: true, release: true); } int secondsFromGMTForDate_(NSDate aDate) { return _lib._objc_msgSend_176( - _id, _lib._sel_secondsFromGMTForDate_1, aDate._id); + this.pointer, + _lib._sel_secondsFromGMTForDate_1, + aDate.pointer, + ); } NSString? abbreviationForDate_(NSDate aDate) { - final _ret = - _lib._objc_msgSend_177(_id, _lib._sel_abbreviationForDate_1, aDate._id); + final _ret = _lib._objc_msgSend_177( + this.pointer, + _lib._sel_abbreviationForDate_1, + aDate.pointer, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); @@ -42369,20 +54849,32 @@ class NSTimeZone extends NSObject { bool isDaylightSavingTimeForDate_(NSDate aDate) { return _lib._objc_msgSend_170( - _id, _lib._sel_isDaylightSavingTimeForDate_1, aDate._id); + this.pointer, + _lib._sel_isDaylightSavingTimeForDate_1, + aDate.pointer, + ); } double daylightSavingTimeOffsetForDate_(NSDate aDate) { - return _lib._objc_msgSend_useVariants1 + return objc.useMsgSendVariants ? _lib._objc_msgSend_167_fpret( - _id, _lib._sel_daylightSavingTimeOffsetForDate_1, aDate._id) + this.pointer, + _lib._sel_daylightSavingTimeOffsetForDate_1, + aDate.pointer, + ) : _lib._objc_msgSend_167( - _id, _lib._sel_daylightSavingTimeOffsetForDate_1, aDate._id); + this.pointer, + _lib._sel_daylightSavingTimeOffsetForDate_1, + aDate.pointer, + ); } NSDate? nextDaylightSavingTimeTransitionAfterDate_(NSDate aDate) { final _ret = _lib._objc_msgSend_178( - _id, _lib._sel_nextDaylightSavingTimeTransitionAfterDate_1, aDate._id); + this.pointer, + _lib._sel_nextDaylightSavingTimeTransitionAfterDate_1, + aDate.pointer, + ); return _ret.address == 0 ? null : NSDate._(_ret, _lib, retain: true, release: true); @@ -42390,97 +54882,132 @@ class NSTimeZone extends NSObject { static NSTimeZone getSystemTimeZone(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_179( - _lib._class_NSTimeZone1, _lib._sel_systemTimeZone1); + _lib._class_NSTimeZone1, + _lib._sel_systemTimeZone1, + ); return NSTimeZone._(_ret, _lib, retain: true, release: true); } static void resetSystemTimeZone(SwiftLibrary _lib) { _lib._objc_msgSend_1( - _lib._class_NSTimeZone1, _lib._sel_resetSystemTimeZone1); + _lib._class_NSTimeZone1, + _lib._sel_resetSystemTimeZone1, + ); } static NSTimeZone getDefaultTimeZone(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_179( - _lib._class_NSTimeZone1, _lib._sel_defaultTimeZone1); + _lib._class_NSTimeZone1, + _lib._sel_defaultTimeZone1, + ); return NSTimeZone._(_ret, _lib, retain: true, release: true); } static void setDefaultTimeZone(SwiftLibrary _lib, NSTimeZone value) { return _lib._objc_msgSend_180( - _lib._class_NSTimeZone1, _lib._sel_setDefaultTimeZone_1, value._id); + _lib._class_NSTimeZone1, + _lib._sel_setDefaultTimeZone_1, + value.pointer, + ); } static NSTimeZone getLocalTimeZone(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_179( - _lib._class_NSTimeZone1, _lib._sel_localTimeZone1); + _lib._class_NSTimeZone1, + _lib._sel_localTimeZone1, + ); return NSTimeZone._(_ret, _lib, retain: true, release: true); } static NSArray getKnownTimeZoneNames(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_85( - _lib._class_NSTimeZone1, _lib._sel_knownTimeZoneNames1); + _lib._class_NSTimeZone1, + _lib._sel_knownTimeZoneNames1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSDictionary getAbbreviationDictionary(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_181( - _lib._class_NSTimeZone1, _lib._sel_abbreviationDictionary1); + _lib._class_NSTimeZone1, + _lib._sel_abbreviationDictionary1, + ); return NSDictionary._(_ret, _lib, retain: true, release: true); } static void setAbbreviationDictionary(SwiftLibrary _lib, NSDictionary value) { - return _lib._objc_msgSend_182(_lib._class_NSTimeZone1, - _lib._sel_setAbbreviationDictionary_1, value._id); + return _lib._objc_msgSend_182( + _lib._class_NSTimeZone1, + _lib._sel_setAbbreviationDictionary_1, + value.pointer, + ); } static NSString getTimeZoneDataVersion(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_21( - _lib._class_NSTimeZone1, _lib._sel_timeZoneDataVersion1); + _lib._class_NSTimeZone1, + _lib._sel_timeZoneDataVersion1, + ); return NSString._(_ret, _lib, retain: true, release: true); } int get secondsFromGMT { - return _lib._objc_msgSend_83(_id, _lib._sel_secondsFromGMT1); + return _lib._objc_msgSend_83(this.pointer, _lib._sel_secondsFromGMT1); } NSString? get abbreviation { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_abbreviation1); + final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_abbreviation1); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } bool get daylightSavingTime { - return _lib._objc_msgSend_12(_id, _lib._sel_isDaylightSavingTime1); + return _lib._objc_msgSend_12(this.pointer, _lib._sel_isDaylightSavingTime1); } double get daylightSavingTimeOffset { - return _lib._objc_msgSend_useVariants1 - ? _lib._objc_msgSend_165_fpret(_id, _lib._sel_daylightSavingTimeOffset1) - : _lib._objc_msgSend_165(_id, _lib._sel_daylightSavingTimeOffset1); + return objc.useMsgSendVariants + ? _lib._objc_msgSend_165_fpret( + this.pointer, + _lib._sel_daylightSavingTimeOffset1, + ) + : _lib._objc_msgSend_165( + this.pointer, + _lib._sel_daylightSavingTimeOffset1, + ); } NSDate? get nextDaylightSavingTimeTransition { final _ret = _lib._objc_msgSend_183( - _id, _lib._sel_nextDaylightSavingTimeTransition1); + this.pointer, + _lib._sel_nextDaylightSavingTimeTransition1, + ); return _ret.address == 0 ? null : NSDate._(_ret, _lib, retain: true, release: true); } NSString get description { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_description1); + final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_description1); return NSString._(_ret, _lib, retain: true, release: true); } bool isEqualToTimeZone_(NSTimeZone aTimeZone) { return _lib._objc_msgSend_184( - _id, _lib._sel_isEqualToTimeZone_1, aTimeZone._id); + this.pointer, + _lib._sel_isEqualToTimeZone_1, + aTimeZone.pointer, + ); } NSString? localizedName_locale_(int style, NSLocale? locale) { - final _ret = _lib._objc_msgSend_203(_id, _lib._sel_localizedName_locale_1, - style, locale?._id ?? ffi.nullptr); + final _ret = _lib._objc_msgSend_203( + this.pointer, + _lib._sel_localizedName_locale_1, + style, + locale?.pointer ?? ffi.nullptr, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); @@ -42488,50 +55015,72 @@ class NSTimeZone extends NSObject { static NSTimeZone? timeZoneWithName_(SwiftLibrary _lib, NSString tzName) { final _ret = _lib._objc_msgSend_38( - _lib._class_NSTimeZone1, _lib._sel_timeZoneWithName_1, tzName._id); + _lib._class_NSTimeZone1, + _lib._sel_timeZoneWithName_1, + tzName.pointer, + ); return _ret.address == 0 ? null : NSTimeZone._(_ret, _lib, retain: true, release: true); } static NSTimeZone? timeZoneWithName_data_( - SwiftLibrary _lib, NSString tzName, NSData? aData) { + SwiftLibrary _lib, + NSString tzName, + NSData? aData, + ) { final _ret = _lib._objc_msgSend_204( - _lib._class_NSTimeZone1, - _lib._sel_timeZoneWithName_data_1, - tzName._id, - aData?._id ?? ffi.nullptr); + _lib._class_NSTimeZone1, + _lib._sel_timeZoneWithName_data_1, + tzName.pointer, + aData?.pointer ?? ffi.nullptr, + ); return _ret.address == 0 ? null : NSTimeZone._(_ret, _lib, retain: true, release: true); } NSTimeZone? initWithName_(NSString tzName) { - final _ret = - _lib._objc_msgSend_38(_id, _lib._sel_initWithName_1, tzName._id); + final _ret = _lib._objc_msgSend_38( + this.pointer, + _lib._sel_initWithName_1, + tzName.pointer, + ); return _ret.address == 0 ? null : NSTimeZone._(_ret, _lib, retain: true, release: true); } NSTimeZone? initWithName_data_(NSString tzName, NSData? aData) { - final _ret = _lib._objc_msgSend_204(_id, _lib._sel_initWithName_data_1, - tzName._id, aData?._id ?? ffi.nullptr); + final _ret = _lib._objc_msgSend_204( + this.pointer, + _lib._sel_initWithName_data_1, + tzName.pointer, + aData?.pointer ?? ffi.nullptr, + ); return _ret.address == 0 ? null : NSTimeZone._(_ret, _lib, retain: true, release: true); } static NSTimeZone timeZoneForSecondsFromGMT_(SwiftLibrary _lib, int seconds) { - final _ret = _lib._objc_msgSend_205(_lib._class_NSTimeZone1, - _lib._sel_timeZoneForSecondsFromGMT_1, seconds); + final _ret = _lib._objc_msgSend_205( + _lib._class_NSTimeZone1, + _lib._sel_timeZoneForSecondsFromGMT_1, + seconds, + ); return NSTimeZone._(_ret, _lib, retain: true, release: true); } static NSTimeZone? timeZoneWithAbbreviation_( - SwiftLibrary _lib, NSString abbreviation) { - final _ret = _lib._objc_msgSend_38(_lib._class_NSTimeZone1, - _lib._sel_timeZoneWithAbbreviation_1, abbreviation._id); + SwiftLibrary _lib, + NSString abbreviation, + ) { + final _ret = _lib._objc_msgSend_38( + _lib._class_NSTimeZone1, + _lib._sel_timeZoneWithAbbreviation_1, + abbreviation.pointer, + ); return _ret.address == 0 ? null : NSTimeZone._(_ret, _lib, retain: true, release: true); @@ -42539,7 +55088,7 @@ class NSTimeZone extends NSObject { @override NSTimeZone init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSTimeZone._(_ret, _lib, retain: true, release: true); } @@ -42549,78 +55098,114 @@ class NSTimeZone extends NSObject { } static NSTimeZone allocWithZone_( - SwiftLibrary _lib, ffi.Pointer<_NSZone> zone) { + SwiftLibrary _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSTimeZone1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSTimeZone1, + _lib._sel_allocWithZone_1, + zone, + ); return NSTimeZone._(_ret, _lib, retain: false, release: true); } static NSTimeZone alloc(SwiftLibrary _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSTimeZone1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSTimeZone1, + _lib._sel_alloc1, + ); return NSTimeZone._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + SwiftLibrary _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSTimeZone1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSTimeZone1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSTimeZone1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + SwiftLibrary _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSTimeZone1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { return _lib._objc_msgSend_12( - _lib._class_NSTimeZone1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_NSTimeZone1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(SwiftLibrary _lib) { return _lib._objc_msgSend_12( - _lib._class_NSTimeZone1, _lib._sel_useStoredAccessor1); + _lib._class_NSTimeZone1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSTimeZone1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSTimeZone1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSTimeZone1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSTimeZone1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, NSArray keys, NSString dependentKey) { + SwiftLibrary _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSTimeZone1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSTimeZone1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_85( - _lib._class_NSTimeZone1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSTimeZone1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSTimeZone1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSTimeZone1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } @@ -42635,30 +55220,46 @@ abstract class NSTimeZoneNameStyle { } class NSLocale extends NSObject { - NSLocale._(ffi.Pointer id, SwiftLibrary lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSLocale._( + ffi.Pointer pointer, + SwiftLibrary lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSLocale] that points to the same underlying object as [other]. - static NSLocale castFrom(T other) { - return NSLocale._(other._id, other._lib, retain: true, release: true); + static NSLocale castFrom( + SwiftLibrary lib, + T other, + ) { + return NSLocale._(other.pointer, lib, retain: true, release: true); } /// Returns a [NSLocale] that wraps the given raw object pointer. static NSLocale castFromPointer( - SwiftLibrary lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + SwiftLibrary lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSLocale._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSLocale]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_NSLocale1); + static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSLocale1, + ); } NSObject? objectForKey_(NSString key) { - final _ret = _lib._objc_msgSend_38(_id, _lib._sel_objectForKey_1, key._id); + final _ret = _lib._objc_msgSend_38( + this.pointer, + _lib._sel_objectForKey_1, + key.pointer, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); @@ -42666,7 +55267,11 @@ class NSLocale extends NSObject { NSString? displayNameForKey_value_(NSString key, NSObject value) { final _ret = _lib._objc_msgSend_185( - _id, _lib._sel_displayNameForKey_value_1, key._id, value._id); + this.pointer, + _lib._sel_displayNameForKey_value_1, + key.pointer, + value.pointer, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); @@ -42674,49 +55279,67 @@ class NSLocale extends NSObject { NSLocale initWithLocaleIdentifier_(NSString string) { final _ret = _lib._objc_msgSend_31( - _id, _lib._sel_initWithLocaleIdentifier_1, string._id); + this.pointer, + _lib._sel_initWithLocaleIdentifier_1, + string.pointer, + ); return NSLocale._(_ret, _lib, retain: true, release: true); } NSLocale? initWithCoder_(NSCoder coder) { - final _ret = - _lib._objc_msgSend_47(_id, _lib._sel_initWithCoder_1, coder._id); + final _ret = _lib._objc_msgSend_47( + this.pointer, + _lib._sel_initWithCoder_1, + coder.pointer, + ); return _ret.address == 0 ? null : NSLocale._(_ret, _lib, retain: true, release: true); } NSString get localeIdentifier { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_localeIdentifier1); + final _ret = _lib._objc_msgSend_21( + this.pointer, + _lib._sel_localeIdentifier1, + ); return NSString._(_ret, _lib, retain: true, release: true); } NSString localizedStringForLocaleIdentifier_(NSString localeIdentifier) { - final _ret = _lib._objc_msgSend_69(_id, - _lib._sel_localizedStringForLocaleIdentifier_1, localeIdentifier._id); + final _ret = _lib._objc_msgSend_69( + this.pointer, + _lib._sel_localizedStringForLocaleIdentifier_1, + localeIdentifier.pointer, + ); return NSString._(_ret, _lib, retain: true, release: true); } NSString get languageCode { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_languageCode1); + final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_languageCode1); return NSString._(_ret, _lib, retain: true, release: true); } NSString? localizedStringForLanguageCode_(NSString languageCode) { final _ret = _lib._objc_msgSend_186( - _id, _lib._sel_localizedStringForLanguageCode_1, languageCode._id); + this.pointer, + _lib._sel_localizedStringForLanguageCode_1, + languageCode.pointer, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } NSString get languageIdentifier { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_languageIdentifier1); + final _ret = _lib._objc_msgSend_21( + this.pointer, + _lib._sel_languageIdentifier1, + ); return NSString._(_ret, _lib, retain: true, release: true); } NSString? get countryCode { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_countryCode1); + final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_countryCode1); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); @@ -42724,21 +55347,24 @@ class NSLocale extends NSObject { NSString? localizedStringForCountryCode_(NSString countryCode) { final _ret = _lib._objc_msgSend_186( - _id, _lib._sel_localizedStringForCountryCode_1, countryCode._id); + this.pointer, + _lib._sel_localizedStringForCountryCode_1, + countryCode.pointer, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } NSString? get regionCode { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_regionCode1); + final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_regionCode1); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } NSString? get scriptCode { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_scriptCode1); + final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_scriptCode1); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); @@ -42746,14 +55372,17 @@ class NSLocale extends NSObject { NSString? localizedStringForScriptCode_(NSString scriptCode) { final _ret = _lib._objc_msgSend_186( - _id, _lib._sel_localizedStringForScriptCode_1, scriptCode._id); + this.pointer, + _lib._sel_localizedStringForScriptCode_1, + scriptCode.pointer, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } NSString? get variantCode { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_variantCode1); + final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_variantCode1); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); @@ -42761,71 +55390,92 @@ class NSLocale extends NSObject { NSString? localizedStringForVariantCode_(NSString variantCode) { final _ret = _lib._objc_msgSend_186( - _id, _lib._sel_localizedStringForVariantCode_1, variantCode._id); + this.pointer, + _lib._sel_localizedStringForVariantCode_1, + variantCode.pointer, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } NSCharacterSet get exemplarCharacterSet { - final _ret = _lib._objc_msgSend_187(_id, _lib._sel_exemplarCharacterSet1); + final _ret = _lib._objc_msgSend_187( + this.pointer, + _lib._sel_exemplarCharacterSet1, + ); return NSCharacterSet._(_ret, _lib, retain: true, release: true); } NSString get calendarIdentifier { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_calendarIdentifier1); + final _ret = _lib._objc_msgSend_21( + this.pointer, + _lib._sel_calendarIdentifier1, + ); return NSString._(_ret, _lib, retain: true, release: true); } NSString? localizedStringForCalendarIdentifier_(NSString calendarIdentifier) { final _ret = _lib._objc_msgSend_186( - _id, - _lib._sel_localizedStringForCalendarIdentifier_1, - calendarIdentifier._id); + this.pointer, + _lib._sel_localizedStringForCalendarIdentifier_1, + calendarIdentifier.pointer, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } NSString? get collationIdentifier { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_collationIdentifier1); + final _ret = _lib._objc_msgSend_44( + this.pointer, + _lib._sel_collationIdentifier1, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } NSString? localizedStringForCollationIdentifier_( - NSString collationIdentifier) { + NSString collationIdentifier, + ) { final _ret = _lib._objc_msgSend_186( - _id, - _lib._sel_localizedStringForCollationIdentifier_1, - collationIdentifier._id); + this.pointer, + _lib._sel_localizedStringForCollationIdentifier_1, + collationIdentifier.pointer, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } bool get usesMetricSystem { - return _lib._objc_msgSend_12(_id, _lib._sel_usesMetricSystem1); + return _lib._objc_msgSend_12(this.pointer, _lib._sel_usesMetricSystem1); } NSString get decimalSeparator { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_decimalSeparator1); + final _ret = _lib._objc_msgSend_21( + this.pointer, + _lib._sel_decimalSeparator1, + ); return NSString._(_ret, _lib, retain: true, release: true); } NSString get groupingSeparator { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_groupingSeparator1); + final _ret = _lib._objc_msgSend_21( + this.pointer, + _lib._sel_groupingSeparator1, + ); return NSString._(_ret, _lib, retain: true, release: true); } NSString get currencySymbol { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_currencySymbol1); + final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_currencySymbol1); return NSString._(_ret, _lib, retain: true, release: true); } NSString? get currencyCode { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_currencyCode1); + final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_currencyCode1); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); @@ -42833,171 +55483,249 @@ class NSLocale extends NSObject { NSString? localizedStringForCurrencyCode_(NSString currencyCode) { final _ret = _lib._objc_msgSend_186( - _id, _lib._sel_localizedStringForCurrencyCode_1, currencyCode._id); + this.pointer, + _lib._sel_localizedStringForCurrencyCode_1, + currencyCode.pointer, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } NSString get collatorIdentifier { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_collatorIdentifier1); + final _ret = _lib._objc_msgSend_21( + this.pointer, + _lib._sel_collatorIdentifier1, + ); return NSString._(_ret, _lib, retain: true, release: true); } NSString? localizedStringForCollatorIdentifier_(NSString collatorIdentifier) { final _ret = _lib._objc_msgSend_186( - _id, - _lib._sel_localizedStringForCollatorIdentifier_1, - collatorIdentifier._id); + this.pointer, + _lib._sel_localizedStringForCollatorIdentifier_1, + collatorIdentifier.pointer, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } NSString get quotationBeginDelimiter { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_quotationBeginDelimiter1); + final _ret = _lib._objc_msgSend_21( + this.pointer, + _lib._sel_quotationBeginDelimiter1, + ); return NSString._(_ret, _lib, retain: true, release: true); } NSString get quotationEndDelimiter { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_quotationEndDelimiter1); + final _ret = _lib._objc_msgSend_21( + this.pointer, + _lib._sel_quotationEndDelimiter1, + ); return NSString._(_ret, _lib, retain: true, release: true); } NSString get alternateQuotationBeginDelimiter { - final _ret = - _lib._objc_msgSend_21(_id, _lib._sel_alternateQuotationBeginDelimiter1); + final _ret = _lib._objc_msgSend_21( + this.pointer, + _lib._sel_alternateQuotationBeginDelimiter1, + ); return NSString._(_ret, _lib, retain: true, release: true); } NSString get alternateQuotationEndDelimiter { - final _ret = - _lib._objc_msgSend_21(_id, _lib._sel_alternateQuotationEndDelimiter1); + final _ret = _lib._objc_msgSend_21( + this.pointer, + _lib._sel_alternateQuotationEndDelimiter1, + ); return NSString._(_ret, _lib, retain: true, release: true); } static NSLocale getAutoupdatingCurrentLocale(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_197( - _lib._class_NSLocale1, _lib._sel_autoupdatingCurrentLocale1); + _lib._class_NSLocale1, + _lib._sel_autoupdatingCurrentLocale1, + ); return NSLocale._(_ret, _lib, retain: true, release: true); } static NSLocale getCurrentLocale(SwiftLibrary _lib) { - final _ret = - _lib._objc_msgSend_197(_lib._class_NSLocale1, _lib._sel_currentLocale1); + final _ret = _lib._objc_msgSend_197( + _lib._class_NSLocale1, + _lib._sel_currentLocale1, + ); return NSLocale._(_ret, _lib, retain: true, release: true); } static NSLocale getSystemLocale(SwiftLibrary _lib) { - final _ret = - _lib._objc_msgSend_197(_lib._class_NSLocale1, _lib._sel_systemLocale1); + final _ret = _lib._objc_msgSend_197( + _lib._class_NSLocale1, + _lib._sel_systemLocale1, + ); return NSLocale._(_ret, _lib, retain: true, release: true); } static NSLocale localeWithLocaleIdentifier_( - SwiftLibrary _lib, NSString ident) { - final _ret = _lib._objc_msgSend_31(_lib._class_NSLocale1, - _lib._sel_localeWithLocaleIdentifier_1, ident._id); + SwiftLibrary _lib, + NSString ident, + ) { + final _ret = _lib._objc_msgSend_31( + _lib._class_NSLocale1, + _lib._sel_localeWithLocaleIdentifier_1, + ident.pointer, + ); return NSLocale._(_ret, _lib, retain: true, release: true); } @override NSLocale init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSLocale._(_ret, _lib, retain: true, release: true); } static NSArray getAvailableLocaleIdentifiers(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_85( - _lib._class_NSLocale1, _lib._sel_availableLocaleIdentifiers1); + _lib._class_NSLocale1, + _lib._sel_availableLocaleIdentifiers1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSArray getISOLanguageCodes(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_85( - _lib._class_NSLocale1, _lib._sel_ISOLanguageCodes1); + _lib._class_NSLocale1, + _lib._sel_ISOLanguageCodes1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSArray getISOCountryCodes(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_85( - _lib._class_NSLocale1, _lib._sel_ISOCountryCodes1); + _lib._class_NSLocale1, + _lib._sel_ISOCountryCodes1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSArray getISOCurrencyCodes(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_85( - _lib._class_NSLocale1, _lib._sel_ISOCurrencyCodes1); + _lib._class_NSLocale1, + _lib._sel_ISOCurrencyCodes1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSArray getCommonISOCurrencyCodes(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_85( - _lib._class_NSLocale1, _lib._sel_commonISOCurrencyCodes1); + _lib._class_NSLocale1, + _lib._sel_commonISOCurrencyCodes1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSArray getPreferredLanguages(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_85( - _lib._class_NSLocale1, _lib._sel_preferredLanguages1); + _lib._class_NSLocale1, + _lib._sel_preferredLanguages1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSDictionary componentsFromLocaleIdentifier_( - SwiftLibrary _lib, NSString string) { - final _ret = _lib._objc_msgSend_198(_lib._class_NSLocale1, - _lib._sel_componentsFromLocaleIdentifier_1, string._id); + SwiftLibrary _lib, + NSString string, + ) { + final _ret = _lib._objc_msgSend_198( + _lib._class_NSLocale1, + _lib._sel_componentsFromLocaleIdentifier_1, + string.pointer, + ); return NSDictionary._(_ret, _lib, retain: true, release: true); } static NSString localeIdentifierFromComponents_( - SwiftLibrary _lib, NSDictionary dict) { - final _ret = _lib._objc_msgSend_199(_lib._class_NSLocale1, - _lib._sel_localeIdentifierFromComponents_1, dict._id); + SwiftLibrary _lib, + NSDictionary dict, + ) { + final _ret = _lib._objc_msgSend_199( + _lib._class_NSLocale1, + _lib._sel_localeIdentifierFromComponents_1, + dict.pointer, + ); return NSString._(_ret, _lib, retain: true, release: true); } static NSString canonicalLocaleIdentifierFromString_( - SwiftLibrary _lib, NSString string) { - final _ret = _lib._objc_msgSend_69(_lib._class_NSLocale1, - _lib._sel_canonicalLocaleIdentifierFromString_1, string._id); + SwiftLibrary _lib, + NSString string, + ) { + final _ret = _lib._objc_msgSend_69( + _lib._class_NSLocale1, + _lib._sel_canonicalLocaleIdentifierFromString_1, + string.pointer, + ); return NSString._(_ret, _lib, retain: true, release: true); } static NSString canonicalLanguageIdentifierFromString_( - SwiftLibrary _lib, NSString string) { - final _ret = _lib._objc_msgSend_69(_lib._class_NSLocale1, - _lib._sel_canonicalLanguageIdentifierFromString_1, string._id); + SwiftLibrary _lib, + NSString string, + ) { + final _ret = _lib._objc_msgSend_69( + _lib._class_NSLocale1, + _lib._sel_canonicalLanguageIdentifierFromString_1, + string.pointer, + ); return NSString._(_ret, _lib, retain: true, release: true); } static NSString? localeIdentifierFromWindowsLocaleCode_( - SwiftLibrary _lib, int lcid) { - final _ret = _lib._objc_msgSend_200(_lib._class_NSLocale1, - _lib._sel_localeIdentifierFromWindowsLocaleCode_1, lcid); + SwiftLibrary _lib, + int lcid, + ) { + final _ret = _lib._objc_msgSend_200( + _lib._class_NSLocale1, + _lib._sel_localeIdentifierFromWindowsLocaleCode_1, + lcid, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } static int windowsLocaleCodeFromLocaleIdentifier_( - SwiftLibrary _lib, NSString localeIdentifier) { + SwiftLibrary _lib, + NSString localeIdentifier, + ) { return _lib._objc_msgSend_201( - _lib._class_NSLocale1, - _lib._sel_windowsLocaleCodeFromLocaleIdentifier_1, - localeIdentifier._id); + _lib._class_NSLocale1, + _lib._sel_windowsLocaleCodeFromLocaleIdentifier_1, + localeIdentifier.pointer, + ); } static int characterDirectionForLanguage_( - SwiftLibrary _lib, NSString isoLangCode) { - return _lib._objc_msgSend_202(_lib._class_NSLocale1, - _lib._sel_characterDirectionForLanguage_1, isoLangCode._id); + SwiftLibrary _lib, + NSString isoLangCode, + ) { + return _lib._objc_msgSend_202( + _lib._class_NSLocale1, + _lib._sel_characterDirectionForLanguage_1, + isoLangCode.pointer, + ); } static int lineDirectionForLanguage_( - SwiftLibrary _lib, NSString isoLangCode) { - return _lib._objc_msgSend_202(_lib._class_NSLocale1, - _lib._sel_lineDirectionForLanguage_1, isoLangCode._id); + SwiftLibrary _lib, + NSString isoLangCode, + ) { + return _lib._objc_msgSend_202( + _lib._class_NSLocale1, + _lib._sel_lineDirectionForLanguage_1, + isoLangCode.pointer, + ); } static NSLocale new1(SwiftLibrary _lib) { @@ -43007,7 +55735,10 @@ class NSLocale extends NSObject { static NSLocale allocWithZone_(SwiftLibrary _lib, ffi.Pointer<_NSZone> zone) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSLocale1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSLocale1, + _lib._sel_allocWithZone_1, + zone, + ); return NSLocale._(_ret, _lib, retain: false, release: true); } @@ -43017,368 +55748,528 @@ class NSLocale extends NSObject { } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + SwiftLibrary _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSLocale1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSLocale1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSLocale1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + SwiftLibrary _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSLocale1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { return _lib._objc_msgSend_12( - _lib._class_NSLocale1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_NSLocale1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(SwiftLibrary _lib) { return _lib._objc_msgSend_12( - _lib._class_NSLocale1, _lib._sel_useStoredAccessor1); + _lib._class_NSLocale1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSLocale1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSLocale1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSLocale1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSLocale1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, NSArray keys, NSString dependentKey) { + SwiftLibrary _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSLocale1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSLocale1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_85( - _lib._class_NSLocale1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSLocale1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSLocale1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSLocale1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } class NSCharacterSet extends NSObject { - NSCharacterSet._(ffi.Pointer id, SwiftLibrary lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSCharacterSet._( + ffi.Pointer pointer, + SwiftLibrary lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSCharacterSet] that points to the same underlying object as [other]. - static NSCharacterSet castFrom(T other) { - return NSCharacterSet._(other._id, other._lib, retain: true, release: true); + static NSCharacterSet castFrom( + SwiftLibrary lib, + T other, + ) { + return NSCharacterSet._(other.pointer, lib, retain: true, release: true); } /// Returns a [NSCharacterSet] that wraps the given raw object pointer. static NSCharacterSet castFromPointer( - SwiftLibrary lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + SwiftLibrary lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSCharacterSet._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSCharacterSet]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0(obj._id, obj._lib._sel_isKindOfClass_1, - obj._lib._class_NSCharacterSet1); + static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSCharacterSet1, + ); } static NSCharacterSet getControlCharacterSet(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_187( - _lib._class_NSCharacterSet1, _lib._sel_controlCharacterSet1); + _lib._class_NSCharacterSet1, + _lib._sel_controlCharacterSet1, + ); return NSCharacterSet._(_ret, _lib, retain: true, release: true); } static NSCharacterSet getWhitespaceCharacterSet(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_187( - _lib._class_NSCharacterSet1, _lib._sel_whitespaceCharacterSet1); + _lib._class_NSCharacterSet1, + _lib._sel_whitespaceCharacterSet1, + ); return NSCharacterSet._(_ret, _lib, retain: true, release: true); } static NSCharacterSet getWhitespaceAndNewlineCharacterSet(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_187(_lib._class_NSCharacterSet1, - _lib._sel_whitespaceAndNewlineCharacterSet1); + final _ret = _lib._objc_msgSend_187( + _lib._class_NSCharacterSet1, + _lib._sel_whitespaceAndNewlineCharacterSet1, + ); return NSCharacterSet._(_ret, _lib, retain: true, release: true); } static NSCharacterSet getDecimalDigitCharacterSet(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_187( - _lib._class_NSCharacterSet1, _lib._sel_decimalDigitCharacterSet1); + _lib._class_NSCharacterSet1, + _lib._sel_decimalDigitCharacterSet1, + ); return NSCharacterSet._(_ret, _lib, retain: true, release: true); } static NSCharacterSet getLetterCharacterSet(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_187( - _lib._class_NSCharacterSet1, _lib._sel_letterCharacterSet1); + _lib._class_NSCharacterSet1, + _lib._sel_letterCharacterSet1, + ); return NSCharacterSet._(_ret, _lib, retain: true, release: true); } static NSCharacterSet getLowercaseLetterCharacterSet(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_187( - _lib._class_NSCharacterSet1, _lib._sel_lowercaseLetterCharacterSet1); + _lib._class_NSCharacterSet1, + _lib._sel_lowercaseLetterCharacterSet1, + ); return NSCharacterSet._(_ret, _lib, retain: true, release: true); } static NSCharacterSet getUppercaseLetterCharacterSet(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_187( - _lib._class_NSCharacterSet1, _lib._sel_uppercaseLetterCharacterSet1); + _lib._class_NSCharacterSet1, + _lib._sel_uppercaseLetterCharacterSet1, + ); return NSCharacterSet._(_ret, _lib, retain: true, release: true); } static NSCharacterSet getNonBaseCharacterSet(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_187( - _lib._class_NSCharacterSet1, _lib._sel_nonBaseCharacterSet1); + _lib._class_NSCharacterSet1, + _lib._sel_nonBaseCharacterSet1, + ); return NSCharacterSet._(_ret, _lib, retain: true, release: true); } static NSCharacterSet getAlphanumericCharacterSet(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_187( - _lib._class_NSCharacterSet1, _lib._sel_alphanumericCharacterSet1); + _lib._class_NSCharacterSet1, + _lib._sel_alphanumericCharacterSet1, + ); return NSCharacterSet._(_ret, _lib, retain: true, release: true); } static NSCharacterSet getDecomposableCharacterSet(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_187( - _lib._class_NSCharacterSet1, _lib._sel_decomposableCharacterSet1); + _lib._class_NSCharacterSet1, + _lib._sel_decomposableCharacterSet1, + ); return NSCharacterSet._(_ret, _lib, retain: true, release: true); } static NSCharacterSet getIllegalCharacterSet(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_187( - _lib._class_NSCharacterSet1, _lib._sel_illegalCharacterSet1); + _lib._class_NSCharacterSet1, + _lib._sel_illegalCharacterSet1, + ); return NSCharacterSet._(_ret, _lib, retain: true, release: true); } static NSCharacterSet getPunctuationCharacterSet(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_187( - _lib._class_NSCharacterSet1, _lib._sel_punctuationCharacterSet1); + _lib._class_NSCharacterSet1, + _lib._sel_punctuationCharacterSet1, + ); return NSCharacterSet._(_ret, _lib, retain: true, release: true); } static NSCharacterSet getCapitalizedLetterCharacterSet(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_187( - _lib._class_NSCharacterSet1, _lib._sel_capitalizedLetterCharacterSet1); + _lib._class_NSCharacterSet1, + _lib._sel_capitalizedLetterCharacterSet1, + ); return NSCharacterSet._(_ret, _lib, retain: true, release: true); } static NSCharacterSet getSymbolCharacterSet(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_187( - _lib._class_NSCharacterSet1, _lib._sel_symbolCharacterSet1); + _lib._class_NSCharacterSet1, + _lib._sel_symbolCharacterSet1, + ); return NSCharacterSet._(_ret, _lib, retain: true, release: true); } static NSCharacterSet getNewlineCharacterSet(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_187( - _lib._class_NSCharacterSet1, _lib._sel_newlineCharacterSet1); + _lib._class_NSCharacterSet1, + _lib._sel_newlineCharacterSet1, + ); return NSCharacterSet._(_ret, _lib, retain: false, release: true); } static NSCharacterSet characterSetWithRange_( - SwiftLibrary _lib, _NSRange aRange) { + SwiftLibrary _lib, + _NSRange aRange, + ) { final _ret = _lib._objc_msgSend_188( - _lib._class_NSCharacterSet1, _lib._sel_characterSetWithRange_1, aRange); + _lib._class_NSCharacterSet1, + _lib._sel_characterSetWithRange_1, + aRange, + ); return NSCharacterSet._(_ret, _lib, retain: true, release: true); } static NSCharacterSet characterSetWithCharactersInString_( - SwiftLibrary _lib, NSString aString) { - final _ret = _lib._objc_msgSend_189(_lib._class_NSCharacterSet1, - _lib._sel_characterSetWithCharactersInString_1, aString._id); + SwiftLibrary _lib, + NSString aString, + ) { + final _ret = _lib._objc_msgSend_189( + _lib._class_NSCharacterSet1, + _lib._sel_characterSetWithCharactersInString_1, + aString.pointer, + ); return NSCharacterSet._(_ret, _lib, retain: true, release: true); } static NSCharacterSet characterSetWithBitmapRepresentation_( - SwiftLibrary _lib, NSData data) { - final _ret = _lib._objc_msgSend_190(_lib._class_NSCharacterSet1, - _lib._sel_characterSetWithBitmapRepresentation_1, data._id); + SwiftLibrary _lib, + NSData data, + ) { + final _ret = _lib._objc_msgSend_190( + _lib._class_NSCharacterSet1, + _lib._sel_characterSetWithBitmapRepresentation_1, + data.pointer, + ); return NSCharacterSet._(_ret, _lib, retain: true, release: true); } static NSCharacterSet? characterSetWithContentsOfFile_( - SwiftLibrary _lib, NSString fName) { - final _ret = _lib._objc_msgSend_191(_lib._class_NSCharacterSet1, - _lib._sel_characterSetWithContentsOfFile_1, fName._id); + SwiftLibrary _lib, + NSString fName, + ) { + final _ret = _lib._objc_msgSend_191( + _lib._class_NSCharacterSet1, + _lib._sel_characterSetWithContentsOfFile_1, + fName.pointer, + ); return _ret.address == 0 ? null : NSCharacterSet._(_ret, _lib, retain: true, release: true); } NSCharacterSet initWithCoder_(NSCoder coder) { - final _ret = - _lib._objc_msgSend_192(_id, _lib._sel_initWithCoder_1, coder._id); + final _ret = _lib._objc_msgSend_192( + this.pointer, + _lib._sel_initWithCoder_1, + coder.pointer, + ); return NSCharacterSet._(_ret, _lib, retain: true, release: true); } bool characterIsMember_(int aCharacter) { return _lib._objc_msgSend_193( - _id, _lib._sel_characterIsMember_1, aCharacter); + this.pointer, + _lib._sel_characterIsMember_1, + aCharacter, + ); } NSData get bitmapRepresentation { - final _ret = _lib._objc_msgSend_43(_id, _lib._sel_bitmapRepresentation1); + final _ret = _lib._objc_msgSend_43( + this.pointer, + _lib._sel_bitmapRepresentation1, + ); return NSData._(_ret, _lib, retain: true, release: true); } NSCharacterSet get invertedSet { - final _ret = _lib._objc_msgSend_187(_id, _lib._sel_invertedSet1); + final _ret = _lib._objc_msgSend_187(this.pointer, _lib._sel_invertedSet1); return NSCharacterSet._(_ret, _lib, retain: true, release: true); } bool longCharacterIsMember_(int theLongChar) { return _lib._objc_msgSend_194( - _id, _lib._sel_longCharacterIsMember_1, theLongChar); + this.pointer, + _lib._sel_longCharacterIsMember_1, + theLongChar, + ); } bool isSupersetOfSet_(NSCharacterSet theOtherSet) { return _lib._objc_msgSend_195( - _id, _lib._sel_isSupersetOfSet_1, theOtherSet._id); + this.pointer, + _lib._sel_isSupersetOfSet_1, + theOtherSet.pointer, + ); } bool hasMemberInPlane_(int thePlane) { - return _lib._objc_msgSend_196(_id, _lib._sel_hasMemberInPlane_1, thePlane); + return _lib._objc_msgSend_196( + this.pointer, + _lib._sel_hasMemberInPlane_1, + thePlane, + ); } static NSCharacterSet getURLUserAllowedCharacterSet(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_187( - _lib._class_NSCharacterSet1, _lib._sel_URLUserAllowedCharacterSet1); + _lib._class_NSCharacterSet1, + _lib._sel_URLUserAllowedCharacterSet1, + ); return NSCharacterSet._(_ret, _lib, retain: true, release: true); } static NSCharacterSet getURLPasswordAllowedCharacterSet(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_187( - _lib._class_NSCharacterSet1, _lib._sel_URLPasswordAllowedCharacterSet1); + _lib._class_NSCharacterSet1, + _lib._sel_URLPasswordAllowedCharacterSet1, + ); return NSCharacterSet._(_ret, _lib, retain: true, release: true); } static NSCharacterSet getURLHostAllowedCharacterSet(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_187( - _lib._class_NSCharacterSet1, _lib._sel_URLHostAllowedCharacterSet1); + _lib._class_NSCharacterSet1, + _lib._sel_URLHostAllowedCharacterSet1, + ); return NSCharacterSet._(_ret, _lib, retain: true, release: true); } static NSCharacterSet getURLPathAllowedCharacterSet(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_187( - _lib._class_NSCharacterSet1, _lib._sel_URLPathAllowedCharacterSet1); + _lib._class_NSCharacterSet1, + _lib._sel_URLPathAllowedCharacterSet1, + ); return NSCharacterSet._(_ret, _lib, retain: true, release: true); } static NSCharacterSet getURLQueryAllowedCharacterSet(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_187( - _lib._class_NSCharacterSet1, _lib._sel_URLQueryAllowedCharacterSet1); + _lib._class_NSCharacterSet1, + _lib._sel_URLQueryAllowedCharacterSet1, + ); return NSCharacterSet._(_ret, _lib, retain: true, release: true); } static NSCharacterSet getURLFragmentAllowedCharacterSet(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_187( - _lib._class_NSCharacterSet1, _lib._sel_URLFragmentAllowedCharacterSet1); + _lib._class_NSCharacterSet1, + _lib._sel_URLFragmentAllowedCharacterSet1, + ); return NSCharacterSet._(_ret, _lib, retain: true, release: true); } @override NSCharacterSet init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSCharacterSet._(_ret, _lib, retain: true, release: true); } static NSCharacterSet new1(SwiftLibrary _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSCharacterSet1, _lib._sel_new1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSCharacterSet1, + _lib._sel_new1, + ); return NSCharacterSet._(_ret, _lib, retain: false, release: true); } static NSCharacterSet allocWithZone_( - SwiftLibrary _lib, ffi.Pointer<_NSZone> zone) { + SwiftLibrary _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSCharacterSet1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSCharacterSet1, + _lib._sel_allocWithZone_1, + zone, + ); return NSCharacterSet._(_ret, _lib, retain: false, release: true); } static NSCharacterSet alloc(SwiftLibrary _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSCharacterSet1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSCharacterSet1, + _lib._sel_alloc1, + ); return NSCharacterSet._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + SwiftLibrary _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSCharacterSet1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSCharacterSet1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSCharacterSet1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + SwiftLibrary _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSCharacterSet1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { - return _lib._objc_msgSend_12(_lib._class_NSCharacterSet1, - _lib._sel_accessInstanceVariablesDirectly1); + return _lib._objc_msgSend_12( + _lib._class_NSCharacterSet1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(SwiftLibrary _lib) { return _lib._objc_msgSend_12( - _lib._class_NSCharacterSet1, _lib._sel_useStoredAccessor1); + _lib._class_NSCharacterSet1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSCharacterSet1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSCharacterSet1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSCharacterSet1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSCharacterSet1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, NSArray keys, NSString dependentKey) { + SwiftLibrary _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSCharacterSet1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSCharacterSet1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_85( - _lib._class_NSCharacterSet1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSCharacterSet1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSCharacterSet1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSCharacterSet1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } @@ -43409,147 +56300,211 @@ abstract class NSURLBookmarkResolutionOptions { } class NSURLHandle extends NSObject { - NSURLHandle._(ffi.Pointer id, SwiftLibrary lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSURLHandle._( + ffi.Pointer pointer, + SwiftLibrary lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSURLHandle] that points to the same underlying object as [other]. - static NSURLHandle castFrom(T other) { - return NSURLHandle._(other._id, other._lib, retain: true, release: true); + static NSURLHandle castFrom( + SwiftLibrary lib, + T other, + ) { + return NSURLHandle._(other.pointer, lib, retain: true, release: true); } /// Returns a [NSURLHandle] that wraps the given raw object pointer. static NSURLHandle castFromPointer( - SwiftLibrary lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + SwiftLibrary lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSURLHandle._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSURLHandle]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_NSURLHandle1); + static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSURLHandle1, + ); } static void registerURLHandleClass_( - SwiftLibrary _lib, NSObject anURLHandleSubclass) { - _lib._objc_msgSend_15(_lib._class_NSURLHandle1, - _lib._sel_registerURLHandleClass_1, anURLHandleSubclass._id); + SwiftLibrary _lib, + NSObject anURLHandleSubclass, + ) { + _lib._objc_msgSend_15( + _lib._class_NSURLHandle1, + _lib._sel_registerURLHandleClass_1, + anURLHandleSubclass.pointer, + ); } static NSObject URLHandleClassForURL_(SwiftLibrary _lib, NSURL anURL) { final _ret = _lib._objc_msgSend_262( - _lib._class_NSURLHandle1, _lib._sel_URLHandleClassForURL_1, anURL._id); + _lib._class_NSURLHandle1, + _lib._sel_URLHandleClassForURL_1, + anURL.pointer, + ); return NSObject._(_ret, _lib, retain: true, release: true); } int status() { - return _lib._objc_msgSend_263(_id, _lib._sel_status1); + return _lib._objc_msgSend_263(this.pointer, _lib._sel_status1); } NSString failureReason() { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_failureReason1); + final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_failureReason1); return NSString._(_ret, _lib, retain: true, release: true); } void addClient_(NSObject client) { - _lib._objc_msgSend_15(_id, _lib._sel_addClient_1, client._id); + _lib._objc_msgSend_15(this.pointer, _lib._sel_addClient_1, client.pointer); } void removeClient_(NSObject client) { - _lib._objc_msgSend_15(_id, _lib._sel_removeClient_1, client._id); + _lib._objc_msgSend_15( + this.pointer, + _lib._sel_removeClient_1, + client.pointer, + ); } void loadInBackground() { - _lib._objc_msgSend_1(_id, _lib._sel_loadInBackground1); + _lib._objc_msgSend_1(this.pointer, _lib._sel_loadInBackground1); } void cancelLoadInBackground() { - _lib._objc_msgSend_1(_id, _lib._sel_cancelLoadInBackground1); + _lib._objc_msgSend_1(this.pointer, _lib._sel_cancelLoadInBackground1); } NSData resourceData() { - final _ret = _lib._objc_msgSend_43(_id, _lib._sel_resourceData1); + final _ret = _lib._objc_msgSend_43(this.pointer, _lib._sel_resourceData1); return NSData._(_ret, _lib, retain: true, release: true); } NSData availableResourceData() { - final _ret = _lib._objc_msgSend_43(_id, _lib._sel_availableResourceData1); + final _ret = _lib._objc_msgSend_43( + this.pointer, + _lib._sel_availableResourceData1, + ); return NSData._(_ret, _lib, retain: true, release: true); } int expectedResourceDataSize() { - return _lib._objc_msgSend_238(_id, _lib._sel_expectedResourceDataSize1); + return _lib._objc_msgSend_238( + this.pointer, + _lib._sel_expectedResourceDataSize1, + ); } void flushCachedData() { - _lib._objc_msgSend_1(_id, _lib._sel_flushCachedData1); + _lib._objc_msgSend_1(this.pointer, _lib._sel_flushCachedData1); } void backgroundLoadDidFailWithReason_(NSString reason) { _lib._objc_msgSend_247( - _id, _lib._sel_backgroundLoadDidFailWithReason_1, reason._id); + this.pointer, + _lib._sel_backgroundLoadDidFailWithReason_1, + reason.pointer, + ); } void didLoadBytes_loadComplete_(NSData newBytes, bool yorn) { _lib._objc_msgSend_264( - _id, _lib._sel_didLoadBytes_loadComplete_1, newBytes._id, yorn); + this.pointer, + _lib._sel_didLoadBytes_loadComplete_1, + newBytes.pointer, + yorn, + ); } static bool canInitWithURL_(SwiftLibrary _lib, NSURL anURL) { return _lib._objc_msgSend_265( - _lib._class_NSURLHandle1, _lib._sel_canInitWithURL_1, anURL._id); + _lib._class_NSURLHandle1, + _lib._sel_canInitWithURL_1, + anURL.pointer, + ); } static NSURLHandle cachedHandleForURL_(SwiftLibrary _lib, NSURL anURL) { final _ret = _lib._objc_msgSend_266( - _lib._class_NSURLHandle1, _lib._sel_cachedHandleForURL_1, anURL._id); + _lib._class_NSURLHandle1, + _lib._sel_cachedHandleForURL_1, + anURL.pointer, + ); return NSURLHandle._(_ret, _lib, retain: true, release: true); } NSObject initWithURL_cached_(NSURL anURL, bool willCache) { final _ret = _lib._objc_msgSend_267( - _id, _lib._sel_initWithURL_cached_1, anURL._id, willCache); + this.pointer, + _lib._sel_initWithURL_cached_1, + anURL.pointer, + willCache, + ); return NSObject._(_ret, _lib, retain: true, release: true); } NSObject propertyForKey_(NSString propertyKey) { - final _ret = - _lib._objc_msgSend_31(_id, _lib._sel_propertyForKey_1, propertyKey._id); + final _ret = _lib._objc_msgSend_31( + this.pointer, + _lib._sel_propertyForKey_1, + propertyKey.pointer, + ); return NSObject._(_ret, _lib, retain: true, release: true); } NSObject propertyForKeyIfAvailable_(NSString propertyKey) { final _ret = _lib._objc_msgSend_31( - _id, _lib._sel_propertyForKeyIfAvailable_1, propertyKey._id); + this.pointer, + _lib._sel_propertyForKeyIfAvailable_1, + propertyKey.pointer, + ); return NSObject._(_ret, _lib, retain: true, release: true); } bool writeProperty_forKey_(NSObject propertyValue, NSString propertyKey) { - return _lib._objc_msgSend_261(_id, _lib._sel_writeProperty_forKey_1, - propertyValue._id, propertyKey._id); + return _lib._objc_msgSend_261( + this.pointer, + _lib._sel_writeProperty_forKey_1, + propertyValue.pointer, + propertyKey.pointer, + ); } bool writeData_(NSData data) { - return _lib._objc_msgSend_24(_id, _lib._sel_writeData_1, data._id); + return _lib._objc_msgSend_24( + this.pointer, + _lib._sel_writeData_1, + data.pointer, + ); } NSData loadInForeground() { - final _ret = _lib._objc_msgSend_43(_id, _lib._sel_loadInForeground1); + final _ret = _lib._objc_msgSend_43( + this.pointer, + _lib._sel_loadInForeground1, + ); return NSData._(_ret, _lib, retain: true, release: true); } void beginLoadInBackground() { - _lib._objc_msgSend_1(_id, _lib._sel_beginLoadInBackground1); + _lib._objc_msgSend_1(this.pointer, _lib._sel_beginLoadInBackground1); } void endLoadInBackground() { - _lib._objc_msgSend_1(_id, _lib._sel_endLoadInBackground1); + _lib._objc_msgSend_1(this.pointer, _lib._sel_endLoadInBackground1); } @override NSURLHandle init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSURLHandle._(_ret, _lib, retain: true, release: true); } @@ -43559,78 +56514,114 @@ class NSURLHandle extends NSObject { } static NSURLHandle allocWithZone_( - SwiftLibrary _lib, ffi.Pointer<_NSZone> zone) { + SwiftLibrary _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSURLHandle1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSURLHandle1, + _lib._sel_allocWithZone_1, + zone, + ); return NSURLHandle._(_ret, _lib, retain: false, release: true); } static NSURLHandle alloc(SwiftLibrary _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSURLHandle1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSURLHandle1, + _lib._sel_alloc1, + ); return NSURLHandle._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + SwiftLibrary _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSURLHandle1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSURLHandle1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSURLHandle1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + SwiftLibrary _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSURLHandle1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { return _lib._objc_msgSend_12( - _lib._class_NSURLHandle1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_NSURLHandle1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(SwiftLibrary _lib) { return _lib._objc_msgSend_12( - _lib._class_NSURLHandle1, _lib._sel_useStoredAccessor1); + _lib._class_NSURLHandle1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSURLHandle1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSURLHandle1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSURLHandle1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSURLHandle1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, NSArray keys, NSString dependentKey) { + SwiftLibrary _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSURLHandle1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSURLHandle1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_85( - _lib._class_NSURLHandle1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSURLHandle1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLHandle1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSURLHandle1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } @@ -43649,8 +56640,7 @@ abstract class NSDataWritingOptions { static const int NSDataWritingFileProtectionComplete = 536870912; static const int NSDataWritingFileProtectionCompleteUnlessOpen = 805306368; static const int - NSDataWritingFileProtectionCompleteUntilFirstUserAuthentication = - 1073741824; + NSDataWritingFileProtectionCompleteUntilFirstUserAuthentication = 1073741824; static const int NSDataWritingFileProtectionCompleteWhenUserInactive = 1342177280; static const int NSDataWritingFileProtectionMask = 4026531840; @@ -43663,48 +56653,70 @@ abstract class NSDataSearchOptions { } void _ObjCBlock_ffiVoid_ffiVoid_NSRange_bool_fnPtrTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - _NSRange arg1, - ffi.Pointer arg2) => - block.ref.target - .cast< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer arg0, _NSRange arg1, - ffi.Pointer arg2)>>() - .asFunction< - void Function(ffi.Pointer, _NSRange, - ffi.Pointer)>()(arg0, arg1, arg2); -final _ObjCBlock_ffiVoid_ffiVoid_NSRange_bool_closureRegistry = , _NSRange, ffi.Pointer)>{}; + ffi.Pointer block, + ffi.Pointer arg0, + _NSRange arg1, + ffi.Pointer arg2, +) => block.ref.target + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + _NSRange arg1, + ffi.Pointer arg2, + ) + > + >() + .asFunction< + void Function(ffi.Pointer, _NSRange, ffi.Pointer) + >()(arg0, arg1, arg2); +final _ObjCBlock_ffiVoid_ffiVoid_NSRange_bool_closureRegistry = + < + int, + void Function(ffi.Pointer, _NSRange, ffi.Pointer) + >{}; int _ObjCBlock_ffiVoid_ffiVoid_NSRange_bool_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_ffiVoid_ffiVoid_NSRange_bool_registerClosure( - void Function(ffi.Pointer, _NSRange, ffi.Pointer) fn) { + void Function(ffi.Pointer, _NSRange, ffi.Pointer) fn, +) { final id = ++_ObjCBlock_ffiVoid_ffiVoid_NSRange_bool_closureRegistryIndex; _ObjCBlock_ffiVoid_ffiVoid_NSRange_bool_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } void _ObjCBlock_ffiVoid_ffiVoid_NSRange_bool_closureTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - _NSRange arg1, - ffi.Pointer arg2) => - _ObjCBlock_ffiVoid_ffiVoid_NSRange_bool_closureRegistry[ - block.ref.target.address]!(arg0, arg1, arg2); - -class ObjCBlock_ffiVoid_ffiVoid_NSRange_bool extends _ObjCBlockBase { + ffi.Pointer block, + ffi.Pointer arg0, + _NSRange arg1, + ffi.Pointer arg2, +) => _ObjCBlock_ffiVoid_ffiVoid_NSRange_bool_closureRegistry[block + .ref + .target + .address]!(arg0, arg1, arg2); + +class ObjCBlock_ffiVoid_ffiVoid_NSRange_bool extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_ffiVoid_NSRange_bool._( - ffi.Pointer<_ObjCBlock> id, SwiftLibrary lib, - {bool retain = false, bool release = true}) - : super._(id, lib, retain: retain, release: release); + ffi.Pointer pointer, + this._lib, { + bool retain = false, + bool release = true, + }) : super(pointer, retain: retain, release: release); + + SwiftLibrary _lib; /// Returns a block that wraps the given raw block pointer. static ObjCBlock_ffiVoid_ffiVoid_NSRange_bool castFromPointer( - SwiftLibrary lib, ffi.Pointer<_ObjCBlock> pointer, - {bool retain = false, bool release = false}) { - return ObjCBlock_ffiVoid_ffiVoid_NSRange_bool._(pointer, lib, - retain: retain, release: release); + SwiftLibrary lib, + ffi.Pointer pointer, { + bool retain = false, + bool release = false, + }) { + return ObjCBlock_ffiVoid_ffiVoid_NSRange_bool._( + pointer, + lib, + retain: retain, + release: release, + ); } /// Creates a block from a C function pointer. @@ -43713,24 +56725,28 @@ class ObjCBlock_ffiVoid_ffiVoid_NSRange_bool extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_ffiVoid_NSRange_bool.fromFunctionPointer( - SwiftLibrary lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer arg0, _NSRange arg1, - ffi.Pointer arg2)>> - ptr) - : this._( - lib._newBlock1( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - _NSRange, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_ffiVoid_NSRange_bool_fnPtrTrampoline) - .cast(), - ptr.cast()), - lib); + SwiftLibrary lib, + ffi.Pointer< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + _NSRange arg1, + ffi.Pointer arg2, + ) + > + > ptr, + ) : this._(objc.newBlock( + _cFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_ffiVoid_NSRange_bool_fnPtrTrampoline).cast(), + ptr.cast(), + ), lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -43738,23 +56754,25 @@ class ObjCBlock_ffiVoid_ffiVoid_NSRange_bool extends _ObjCBlockBase { /// This block must be invoked by native code running on the same thread as /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. - ObjCBlock_ffiVoid_ffiVoid_NSRange_bool.fromFunction(SwiftLibrary lib, - void Function(ffi.Pointer, _NSRange, ffi.Pointer) fn) - : this._( - lib._newBlock1( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - _NSRange, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_ffiVoid_NSRange_bool_closureTrampoline) - .cast(), - _ObjCBlock_ffiVoid_ffiVoid_NSRange_bool_registerClosure( - (ffi.Pointer arg0, _NSRange arg1, - ffi.Pointer arg2) => - fn(arg0, arg1, arg2))), - lib); + ObjCBlock_ffiVoid_ffiVoid_NSRange_bool.fromFunction( + SwiftLibrary lib, + void Function(ffi.Pointer, _NSRange, ffi.Pointer) fn, + ) : this._(objc.newBlock( + _dartFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_ffiVoid_NSRange_bool_closureTrampoline).cast(), + _ObjCBlock_ffiVoid_ffiVoid_NSRange_bool_registerClosure(( + ffi.Pointer arg0, + _NSRange arg1, + ffi.Pointer arg2, + ) => fn(arg0, arg1, arg2)), + ), lib); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -43766,42 +56784,60 @@ class ObjCBlock_ffiVoid_ffiVoid_NSRange_bool extends _ObjCBlockBase { /// /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. - ObjCBlock_ffiVoid_ffiVoid_NSRange_bool.listener(SwiftLibrary lib, - void Function(ffi.Pointer, _NSRange, ffi.Pointer) fn) - : this._( - lib._newBlock1( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - _NSRange, - ffi.Pointer)>.listener( - _ObjCBlock_ffiVoid_ffiVoid_NSRange_bool_closureTrampoline) - ..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_ffiVoid_NSRange_bool_registerClosure( - (ffi.Pointer arg0, _NSRange arg1, - ffi.Pointer arg2) => - fn(arg0, arg1, arg2))), - lib); + ObjCBlock_ffiVoid_ffiVoid_NSRange_bool.listener( + SwiftLibrary lib, + void Function(ffi.Pointer, _NSRange, ffi.Pointer) fn, + ) : this._(objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + ) + >.listener( + _ObjCBlock_ffiVoid_ffiVoid_NSRange_bool_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_ffiVoid_NSRange_bool_registerClosure(( + ffi.Pointer arg0, + _NSRange arg1, + ffi.Pointer arg2, + ) => fn(arg0, arg1, arg2)), + ), lib); static ffi.NativeCallable< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer, - _NSRange, ffi.Pointer)>? _dartFuncListenerTrampoline; - - void call(ffi.Pointer arg0, _NSRange arg1, - ffi.Pointer arg2) => - _id.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - _NSRange arg1, - ffi.Pointer arg2)>>() - .asFunction< - void Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer, - _NSRange, ffi.Pointer)>()(_id, arg0, arg1, arg2); + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + ) + >? _dartFuncListenerTrampoline; + + void call( + ffi.Pointer arg0, + _NSRange arg1, + ffi.Pointer arg2, + ) => pointer.ref.invoke + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer block, + ffi.Pointer arg0, + _NSRange arg1, + ffi.Pointer arg2, + ) + > + >() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + ) + >()(pointer, arg0, arg1, arg2); } abstract class NSDataReadingOptions { @@ -43814,41 +56850,60 @@ abstract class NSDataReadingOptions { } void _ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong_fnPtrTrampoline( - ffi.Pointer<_ObjCBlock> block, ffi.Pointer arg0, int arg1) => - block.ref.target - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, ffi.UnsignedLong arg1)>>() - .asFunction, int)>()(arg0, arg1); + ffi.Pointer block, + ffi.Pointer arg0, + int arg1, +) => block.ref.target + .cast< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer arg0, ffi.UnsignedLong arg1) + > + >() + .asFunction, int)>()(arg0, arg1); final _ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong_closureRegistry = , int)>{}; int _ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong_closureRegistryIndex = 0; ffi.Pointer - _ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong_registerClosure( - void Function(ffi.Pointer, int) fn) { +_ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong_registerClosure( + void Function(ffi.Pointer, int) fn, +) { final id = ++_ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong_closureRegistryIndex; _ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } void _ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong_closureTrampoline( - ffi.Pointer<_ObjCBlock> block, ffi.Pointer arg0, int arg1) => - _ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong_closureRegistry[ - block.ref.target.address]!(arg0, arg1); - -class ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong extends _ObjCBlockBase { + ffi.Pointer block, + ffi.Pointer arg0, + int arg1, +) => _ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong_closureRegistry[block + .ref + .target + .address]!(arg0, arg1); + +class ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong._( - ffi.Pointer<_ObjCBlock> id, SwiftLibrary lib, - {bool retain = false, bool release = true}) - : super._(id, lib, retain: retain, release: release); + ffi.Pointer pointer, + this._lib, { + bool retain = false, + bool release = true, + }) : super(pointer, retain: retain, release: release); + + SwiftLibrary _lib; /// Returns a block that wraps the given raw block pointer. static ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong castFromPointer( - SwiftLibrary lib, ffi.Pointer<_ObjCBlock> pointer, - {bool retain = false, bool release = false}) { - return ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong._(pointer, lib, - retain: retain, release: release); + SwiftLibrary lib, + ffi.Pointer pointer, { + bool retain = false, + bool release = false, + }) { + return ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong._( + pointer, + lib, + retain: retain, + release: release, + ); } /// Creates a block from a C function pointer. @@ -43857,21 +56912,25 @@ class ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong.fromFunctionPointer( - SwiftLibrary lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, ffi.UnsignedLong arg1)>> - ptr) - : this._( - lib._newBlock1( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, - ffi.Pointer, ffi.UnsignedLong)>( - _ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong_fnPtrTrampoline) - .cast(), - ptr.cast()), - lib); + SwiftLibrary lib, + ffi.Pointer< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer arg0, ffi.UnsignedLong arg1) + > + > ptr, + ) : this._(objc.newBlock( + _cFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + >( + _ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong_fnPtrTrampoline, + ).cast(), + ptr.cast(), + ), lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -43880,17 +56939,24 @@ class ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong.fromFunction( - SwiftLibrary lib, void Function(ffi.Pointer, int) fn) - : this._( - lib._newBlock1( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, - ffi.Pointer, ffi.UnsignedLong)>( - _ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong_closureTrampoline) - .cast(), - _ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong_registerClosure( - (ffi.Pointer arg0, int arg1) => fn(arg0, arg1))), - lib); + SwiftLibrary lib, + void Function(ffi.Pointer, int) fn, + ) : this._(objc.newBlock( + _dartFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + >( + _ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong_closureTrampoline, + ).cast(), + _ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong_registerClosure(( + ffi.Pointer arg0, + int arg1, + ) => fn(arg0, arg1)), + ), lib); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -43903,33 +56969,46 @@ class ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong extends _ObjCBlockBase { /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong.listener( - SwiftLibrary lib, void Function(ffi.Pointer, int) fn) - : this._( - lib._newBlock1( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.UnsignedLong)>.listener( - _ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong_closureTrampoline) - ..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong_registerClosure( - (ffi.Pointer arg0, int arg1) => fn(arg0, arg1))), - lib); + SwiftLibrary lib, + void Function(ffi.Pointer, int) fn, + ) : this._(objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + >.listener( + _ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong_registerClosure(( + ffi.Pointer arg0, + int arg1, + ) => fn(arg0, arg1)), + ), lib); static ffi.NativeCallable< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer, - ffi.UnsignedLong)>? _dartFuncListenerTrampoline; - - void call(ffi.Pointer arg0, int arg1) => _id.ref.invoke + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + >? _dartFuncListenerTrampoline; + + void call(ffi.Pointer arg0, int arg1) => pointer.ref.invoke .cast< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, ffi.UnsignedLong arg1)>>() + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.UnsignedLong arg1, + ) + > + >() .asFunction< - void Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer, - int)>()(_id, arg0, arg1); + void Function(ffi.Pointer, ffi.Pointer, int) + >()(pointer, arg0, arg1); } abstract class NSDataBase64DecodingOptions { @@ -43981,28 +57060,50 @@ abstract class NSStringEnumerationOptions { } void _ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool_fnPtrTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - _NSRange arg1, - _NSRange arg2, - ffi.Pointer arg3) => - block.ref.target - .cast< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer arg0, _NSRange arg1, - _NSRange arg2, ffi.Pointer arg3)>>() - .asFunction< - void Function(ffi.Pointer, _NSRange, _NSRange, - ffi.Pointer)>()(arg0, arg1, arg2, arg3); -final _ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool_closureRegistry = , _NSRange, _NSRange, ffi.Pointer)>{}; + ffi.Pointer block, + ffi.Pointer arg0, + _NSRange arg1, + _NSRange arg2, + ffi.Pointer arg3, +) => block.ref.target + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + _NSRange arg1, + _NSRange arg2, + ffi.Pointer arg3, + ) + > + >() + .asFunction< + void Function( + ffi.Pointer, + _NSRange, + _NSRange, + ffi.Pointer, + ) + >()(arg0, arg1, arg2, arg3); +final _ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool_closureRegistry = + < + int, + void Function( + ffi.Pointer, + _NSRange, + _NSRange, + ffi.Pointer, + ) + >{}; int _ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool_closureRegistryIndex = 0; ffi.Pointer - _ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool_registerClosure( - void Function(ffi.Pointer, _NSRange, _NSRange, - ffi.Pointer) - fn) { +_ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool_registerClosure( + void Function( + ffi.Pointer, + _NSRange, + _NSRange, + ffi.Pointer, + ) fn, +) { final id = ++_ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool_closureRegistryIndex; _ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool_closureRegistry[id] = fn; @@ -44010,26 +57111,40 @@ ffi.Pointer } void _ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool_closureTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - _NSRange arg1, - _NSRange arg2, - ffi.Pointer arg3) => - _ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool_closureRegistry[ - block.ref.target.address]!(arg0, arg1, arg2, arg3); - -class ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool extends _ObjCBlockBase { + ffi.Pointer block, + ffi.Pointer arg0, + _NSRange arg1, + _NSRange arg2, + ffi.Pointer arg3, +) => _ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool_closureRegistry[block + .ref + .target + .address]!(arg0, arg1, arg2, arg3); + +class ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool + extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool._( - ffi.Pointer<_ObjCBlock> id, SwiftLibrary lib, - {bool retain = false, bool release = true}) - : super._(id, lib, retain: retain, release: release); + ffi.Pointer pointer, + this._lib, { + bool retain = false, + bool release = true, + }) : super(pointer, retain: retain, release: release); + + SwiftLibrary _lib; /// Returns a block that wraps the given raw block pointer. static ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool castFromPointer( - SwiftLibrary lib, ffi.Pointer<_ObjCBlock> pointer, - {bool retain = false, bool release = false}) { - return ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool._(pointer, lib, - retain: retain, release: release); + SwiftLibrary lib, + ffi.Pointer pointer, { + bool retain = false, + bool release = false, + }) { + return ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool._( + pointer, + lib, + retain: retain, + release: release, + ); } /// Creates a block from a C function pointer. @@ -44038,25 +57153,32 @@ class ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool.fromFunctionPointer( - SwiftLibrary lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer arg0, _NSRange arg1, - _NSRange arg2, ffi.Pointer arg3)>> - ptr) - : this._( - lib._newBlock1( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - _NSRange, - _NSRange, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool_fnPtrTrampoline) - .cast(), - ptr.cast()), - lib); + SwiftLibrary lib, + ffi.Pointer< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + _NSRange arg1, + _NSRange arg2, + ffi.Pointer arg3, + ) + > + > ptr, + ) : this._(objc.newBlock( + _cFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + _NSRange, + ffi.Pointer, + ) + >( + _ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool_fnPtrTrampoline, + ).cast(), + ptr.cast(), + ), lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -44064,24 +57186,36 @@ class ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool extends _ObjCBlockBase { /// This block must be invoked by native code running on the same thread as /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. - ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool.fromFunction(SwiftLibrary lib, - void Function(NSString?, _NSRange, _NSRange, ffi.Pointer) fn) - : this._( - lib._newBlock1( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - _NSRange, - _NSRange, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool_closureTrampoline) - .cast(), - _ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool_registerClosure( - (ffi.Pointer arg0, _NSRange arg1, _NSRange arg2, - ffi.Pointer arg3) => - fn(arg0.address == 0 ? null : NSString._(arg0, lib, retain: true, release: true), arg1, arg2, arg3))), - lib); + ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool.fromFunction( + SwiftLibrary lib, + void Function(NSString?, _NSRange, _NSRange, ffi.Pointer) fn, + ) : this._(objc.newBlock( + _dartFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + _NSRange, + ffi.Pointer, + ) + >( + _ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool_closureTrampoline, + ).cast(), + _ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool_registerClosure(( + ffi.Pointer arg0, + _NSRange arg1, + _NSRange arg2, + ffi.Pointer arg3, + ) => fn( + arg0.address == 0 + ? null + : NSString._(arg0, lib, retain: true, release: true), + arg1, + arg2, + arg3, + )), + ), lib); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -44093,96 +57227,134 @@ class ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool extends _ObjCBlockBase { /// /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. - ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool.listener(SwiftLibrary lib, - void Function(NSString?, _NSRange, _NSRange, ffi.Pointer) fn) - : this._( - lib._newBlock1( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - _NSRange, - _NSRange, - ffi.Pointer)>.listener( - _ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool_closureTrampoline) - ..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool_registerClosure( - (ffi.Pointer arg0, _NSRange arg1, _NSRange arg2, - ffi.Pointer arg3) => - fn(arg0.address == 0 ? null : NSString._(arg0, lib, retain: true, release: true), arg1, arg2, arg3))), - lib); + ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool.listener( + SwiftLibrary lib, + void Function(NSString?, _NSRange, _NSRange, ffi.Pointer) fn, + ) : this._(objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + _NSRange, + ffi.Pointer, + ) + >.listener( + _ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool_registerClosure(( + ffi.Pointer arg0, + _NSRange arg1, + _NSRange arg2, + ffi.Pointer arg3, + ) => fn( + arg0.address == 0 + ? null + : NSString._(arg0, lib, retain: true, release: true), + arg1, + arg2, + arg3, + )), + ), lib); static ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + _NSRange, + ffi.Pointer, + ) + >? _dartFuncListenerTrampoline; + + void call( + NSString? arg0, + _NSRange arg1, + _NSRange arg2, + ffi.Pointer arg3, + ) => pointer.ref.invoke + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer block, + ffi.Pointer arg0, + _NSRange arg1, + _NSRange arg2, + ffi.Pointer arg3, + ) + > + >() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, _NSRange, _NSRange, - ffi.Pointer)>? _dartFuncListenerTrampoline; - - void call(NSString? arg0, _NSRange arg1, _NSRange arg2, - ffi.Pointer arg3) => - _id.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - _NSRange arg1, - _NSRange arg2, - ffi.Pointer arg3)>>() - .asFunction< - void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - _NSRange, - _NSRange, - ffi.Pointer)>()( - _id, arg0?._id ?? ffi.nullptr, arg1, arg2, arg3); + ffi.Pointer, + ) + >()(pointer, arg0?.pointer ?? ffi.nullptr, arg1, arg2, arg3); } void _ObjCBlock_ffiVoid_NSString_bool_fnPtrTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1) => - block.ref.target - .cast< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer arg0, - ffi.Pointer arg1)>>() - .asFunction< - void Function( - ffi.Pointer, ffi.Pointer)>()(arg0, arg1); + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, +) => block.ref.target + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) + > + >() + .asFunction< + void Function(ffi.Pointer, ffi.Pointer) + >()(arg0, arg1); final _ObjCBlock_ffiVoid_NSString_bool_closureRegistry = - , ffi.Pointer)>{}; + , ffi.Pointer)>{}; int _ObjCBlock_ffiVoid_NSString_bool_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_ffiVoid_NSString_bool_registerClosure( - void Function(ffi.Pointer, ffi.Pointer) fn) { + void Function(ffi.Pointer, ffi.Pointer) fn, +) { final id = ++_ObjCBlock_ffiVoid_NSString_bool_closureRegistryIndex; _ObjCBlock_ffiVoid_NSString_bool_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } void _ObjCBlock_ffiVoid_NSString_bool_closureTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1) => - _ObjCBlock_ffiVoid_NSString_bool_closureRegistry[block.ref.target.address]!( - arg0, arg1); - -class ObjCBlock_ffiVoid_NSString_bool extends _ObjCBlockBase { + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, +) => _ObjCBlock_ffiVoid_NSString_bool_closureRegistry[block + .ref + .target + .address]!(arg0, arg1); + +class ObjCBlock_ffiVoid_NSString_bool extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSString_bool._( - ffi.Pointer<_ObjCBlock> id, SwiftLibrary lib, - {bool retain = false, bool release = true}) - : super._(id, lib, retain: retain, release: release); + ffi.Pointer pointer, + this._lib, { + bool retain = false, + bool release = true, + }) : super(pointer, retain: retain, release: release); + + SwiftLibrary _lib; /// Returns a block that wraps the given raw block pointer. static ObjCBlock_ffiVoid_NSString_bool castFromPointer( - SwiftLibrary lib, ffi.Pointer<_ObjCBlock> pointer, - {bool retain = false, bool release = false}) { - return ObjCBlock_ffiVoid_NSString_bool._(pointer, lib, - retain: retain, release: release); + SwiftLibrary lib, + ffi.Pointer pointer, { + bool retain = false, + bool release = false, + }) { + return ObjCBlock_ffiVoid_NSString_bool._( + pointer, + lib, + retain: retain, + release: release, + ); } /// Creates a block from a C function pointer. @@ -44191,23 +57363,26 @@ class ObjCBlock_ffiVoid_NSString_bool extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSString_bool.fromFunctionPointer( - SwiftLibrary lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer arg0, - ffi.Pointer arg1)>> - ptr) - : this._( - lib._newBlock1( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_NSString_bool_fnPtrTrampoline) - .cast(), - ptr.cast()), - lib); + SwiftLibrary lib, + ffi.Pointer< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) + > + > ptr, + ) : this._(objc.newBlock( + _cFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_NSString_bool_fnPtrTrampoline).cast(), + ptr.cast(), + ), lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -44216,21 +57391,22 @@ class ObjCBlock_ffiVoid_NSString_bool extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSString_bool.fromFunction( - SwiftLibrary lib, void Function(NSString, ffi.Pointer) fn) - : this._( - lib._newBlock1( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_NSString_bool_closureTrampoline) - .cast(), - _ObjCBlock_ffiVoid_NSString_bool_registerClosure( - (ffi.Pointer arg0, ffi.Pointer arg1) => fn( - NSString._(arg0, lib, retain: true, release: true), - arg1))), - lib); + SwiftLibrary lib, + void Function(NSString, ffi.Pointer) fn, + ) : this._(objc.newBlock( + _dartFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_NSString_bool_closureTrampoline).cast(), + _ObjCBlock_ffiVoid_NSString_bool_registerClosure(( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) => fn(NSString._(arg0, lib, retain: true, release: true), arg1)), + ), lib); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -44243,35 +57419,50 @@ class ObjCBlock_ffiVoid_NSString_bool extends _ObjCBlockBase { /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. ObjCBlock_ffiVoid_NSString_bool.listener( - SwiftLibrary lib, void Function(NSString, ffi.Pointer) fn) - : this._( - lib._newBlock1( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer)>.listener( - _ObjCBlock_ffiVoid_NSString_bool_closureTrampoline) - ..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSString_bool_registerClosure( - (ffi.Pointer arg0, ffi.Pointer arg1) => - fn(NSString._(arg0, lib, retain: true, release: true), - arg1))), - lib); + SwiftLibrary lib, + void Function(NSString, ffi.Pointer) fn, + ) : this._(objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >.listener( + _ObjCBlock_ffiVoid_NSString_bool_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSString_bool_registerClosure(( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) => fn(NSString._(arg0, lib, retain: true, release: true), arg1)), + ), lib); static ffi.NativeCallable< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer, - ffi.Pointer)>? _dartFuncListenerTrampoline; - - void call(NSString arg0, ffi.Pointer arg1) => _id.ref.invoke + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >? _dartFuncListenerTrampoline; + + void call(NSString arg0, ffi.Pointer arg1) => pointer.ref.invoke .cast< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, ffi.Pointer arg1)>>() + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, + ) + > + >() .asFunction< - void Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer, - ffi.Pointer)>()(_id, arg0._id, arg1); + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >()(pointer, arg0.pointer, arg1); } abstract class NSStringEncodingConversionOptions { @@ -44280,23 +57471,30 @@ abstract class NSStringEncodingConversionOptions { } void _ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong_fnPtrTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - int arg1) => - block.ref.target - .cast< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer arg0, - ffi.UnsignedLong arg1)>>() - .asFunction, int)>()( - arg0, arg1); + ffi.Pointer block, + ffi.Pointer arg0, + int arg1, +) => block.ref.target + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.UnsignedLong arg1, + ) + > + >() + .asFunction, int)>()( + arg0, + arg1, +); final _ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong_closureRegistry = , int)>{}; int _ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong_closureRegistryIndex = 0; ffi.Pointer - _ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong_registerClosure( - void Function(ffi.Pointer, int) fn) { +_ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong_registerClosure( + void Function(ffi.Pointer, int) fn, +) { final id = ++_ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong_closureRegistryIndex; _ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong_closureRegistry[id] = fn; @@ -44304,25 +57502,38 @@ ffi.Pointer } void _ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong_closureTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - int arg1) => - _ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong_closureRegistry[ - block.ref.target.address]!(arg0, arg1); + ffi.Pointer block, + ffi.Pointer arg0, + int arg1, +) => _ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong_closureRegistry[block + .ref + .target + .address]!(arg0, arg1); class ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong - extends _ObjCBlockBase { + extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong._( - ffi.Pointer<_ObjCBlock> id, SwiftLibrary lib, - {bool retain = false, bool release = true}) - : super._(id, lib, retain: retain, release: release); + ffi.Pointer pointer, + this._lib, { + bool retain = false, + bool release = true, + }) : super(pointer, retain: retain, release: release); + + SwiftLibrary _lib; /// Returns a block that wraps the given raw block pointer. static ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong castFromPointer( - SwiftLibrary lib, ffi.Pointer<_ObjCBlock> pointer, - {bool retain = false, bool release = false}) { - return ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong._(pointer, lib, - retain: retain, release: release); + SwiftLibrary lib, + ffi.Pointer pointer, { + bool retain = false, + bool release = false, + }) { + return ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong._( + pointer, + lib, + retain: retain, + release: release, + ); } /// Creates a block from a C function pointer. @@ -44331,23 +57542,28 @@ class ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong.fromFunctionPointer( - SwiftLibrary lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer arg0, - ffi.UnsignedLong arg1)>> - ptr) - : this._( - lib._newBlock1( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.UnsignedLong)>( - _ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong_fnPtrTrampoline) - .cast(), - ptr.cast()), - lib); + SwiftLibrary lib, + ffi.Pointer< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.UnsignedLong arg1, + ) + > + > ptr, + ) : this._(objc.newBlock( + _cFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + >( + _ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong_fnPtrTrampoline, + ).cast(), + ptr.cast(), + ), lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -44356,20 +57572,24 @@ class ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong.fromFunction( - SwiftLibrary lib, void Function(ffi.Pointer, int) fn) - : this._( - lib._newBlock1( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.UnsignedLong)>( - _ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong_closureTrampoline) - .cast(), - _ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong_registerClosure( - (ffi.Pointer arg0, int arg1) => - fn(arg0, arg1))), - lib); + SwiftLibrary lib, + void Function(ffi.Pointer, int) fn, + ) : this._(objc.newBlock( + _dartFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + >( + _ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong_closureTrampoline, + ).cast(), + _ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong_registerClosure(( + ffi.Pointer arg0, + int arg1, + ) => fn(arg0, arg1)), + ), lib); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -44382,36 +57602,50 @@ class ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong.listener( - SwiftLibrary lib, void Function(ffi.Pointer, int) fn) - : this._( - lib._newBlock1( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.UnsignedLong)>.listener( - _ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong_closureTrampoline) - ..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong_registerClosure( - (ffi.Pointer arg0, int arg1) => - fn(arg0, arg1))), - lib); + SwiftLibrary lib, + void Function(ffi.Pointer, int) fn, + ) : this._(objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + >.listener( + _ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong_registerClosure(( + ffi.Pointer arg0, + int arg1, + ) => fn(arg0, arg1)), + ), lib); static ffi.NativeCallable< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer, - ffi.UnsignedLong)>? _dartFuncListenerTrampoline; - - void call(ffi.Pointer arg0, int arg1) => _id.ref.invoke + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + >? _dartFuncListenerTrampoline; + + void call(ffi.Pointer arg0, int arg1) => pointer.ref.invoke .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.UnsignedLong arg1)>>() + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.UnsignedLong arg1, + ) + > + >() .asFunction< - void Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer, - int)>()(_id, arg0, arg1); + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >()(pointer, arg0, arg1); } abstract class NSLinguisticTaggerOptions { @@ -44423,56 +57657,80 @@ abstract class NSLinguisticTaggerOptions { } class NSOrthography extends NSObject { - NSOrthography._(ffi.Pointer id, SwiftLibrary lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSOrthography._( + ffi.Pointer pointer, + SwiftLibrary lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSOrthography] that points to the same underlying object as [other]. - static NSOrthography castFrom(T other) { - return NSOrthography._(other._id, other._lib, retain: true, release: true); + static NSOrthography castFrom( + SwiftLibrary lib, + T other, + ) { + return NSOrthography._(other.pointer, lib, retain: true, release: true); } /// Returns a [NSOrthography] that wraps the given raw object pointer. static NSOrthography castFromPointer( - SwiftLibrary lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + SwiftLibrary lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSOrthography._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSOrthography]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_NSOrthography1); + static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSOrthography1, + ); } NSString get dominantScript { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_dominantScript1); + final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_dominantScript1); return NSString._(_ret, _lib, retain: true, release: true); } NSDictionary get languageMap { - final _ret = _lib._objc_msgSend_181(_id, _lib._sel_languageMap1); + final _ret = _lib._objc_msgSend_181(this.pointer, _lib._sel_languageMap1); return NSDictionary._(_ret, _lib, retain: true, release: true); } NSOrthography initWithDominantScript_languageMap_( - NSString script, NSDictionary map) { - final _ret = _lib._objc_msgSend_400(_id, - _lib._sel_initWithDominantScript_languageMap_1, script._id, map._id); + NSString script, + NSDictionary map, + ) { + final _ret = _lib._objc_msgSend_400( + this.pointer, + _lib._sel_initWithDominantScript_languageMap_1, + script.pointer, + map.pointer, + ); return NSOrthography._(_ret, _lib, retain: true, release: true); } NSOrthography? initWithCoder_(NSCoder coder) { - final _ret = - _lib._objc_msgSend_47(_id, _lib._sel_initWithCoder_1, coder._id); + final _ret = _lib._objc_msgSend_47( + this.pointer, + _lib._sel_initWithCoder_1, + coder.pointer, + ); return _ret.address == 0 ? null : NSOrthography._(_ret, _lib, retain: true, release: true); } NSArray? languagesForScript_(NSString script) { - final _ret = - _lib._objc_msgSend_132(_id, _lib._sel_languagesForScript_1, script._id); + final _ret = _lib._objc_msgSend_132( + this.pointer, + _lib._sel_languagesForScript_1, + script.pointer, + ); return _ret.address == 0 ? null : NSArray._(_ret, _lib, retain: true, release: true); @@ -44480,174 +57738,245 @@ class NSOrthography extends NSObject { NSString? dominantLanguageForScript_(NSString script) { final _ret = _lib._objc_msgSend_186( - _id, _lib._sel_dominantLanguageForScript_1, script._id); + this.pointer, + _lib._sel_dominantLanguageForScript_1, + script.pointer, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } NSString get dominantLanguage { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_dominantLanguage1); + final _ret = _lib._objc_msgSend_21( + this.pointer, + _lib._sel_dominantLanguage1, + ); return NSString._(_ret, _lib, retain: true, release: true); } NSArray get allScripts { - final _ret = _lib._objc_msgSend_85(_id, _lib._sel_allScripts1); + final _ret = _lib._objc_msgSend_85(this.pointer, _lib._sel_allScripts1); return NSArray._(_ret, _lib, retain: true, release: true); } NSArray get allLanguages { - final _ret = _lib._objc_msgSend_85(_id, _lib._sel_allLanguages1); + final _ret = _lib._objc_msgSend_85(this.pointer, _lib._sel_allLanguages1); return NSArray._(_ret, _lib, retain: true, release: true); } static NSOrthography defaultOrthographyForLanguage_( - SwiftLibrary _lib, NSString language) { - final _ret = _lib._objc_msgSend_31(_lib._class_NSOrthography1, - _lib._sel_defaultOrthographyForLanguage_1, language._id); + SwiftLibrary _lib, + NSString language, + ) { + final _ret = _lib._objc_msgSend_31( + _lib._class_NSOrthography1, + _lib._sel_defaultOrthographyForLanguage_1, + language.pointer, + ); return NSOrthography._(_ret, _lib, retain: true, release: true); } static NSOrthography orthographyWithDominantScript_languageMap_( - SwiftLibrary _lib, NSString script, NSDictionary map) { + SwiftLibrary _lib, + NSString script, + NSDictionary map, + ) { final _ret = _lib._objc_msgSend_400( - _lib._class_NSOrthography1, - _lib._sel_orthographyWithDominantScript_languageMap_1, - script._id, - map._id); + _lib._class_NSOrthography1, + _lib._sel_orthographyWithDominantScript_languageMap_1, + script.pointer, + map.pointer, + ); return NSOrthography._(_ret, _lib, retain: true, release: true); } @override NSOrthography init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSOrthography._(_ret, _lib, retain: true, release: true); } static NSOrthography new1(SwiftLibrary _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSOrthography1, _lib._sel_new1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSOrthography1, + _lib._sel_new1, + ); return NSOrthography._(_ret, _lib, retain: false, release: true); } static NSOrthography allocWithZone_( - SwiftLibrary _lib, ffi.Pointer<_NSZone> zone) { + SwiftLibrary _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSOrthography1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSOrthography1, + _lib._sel_allocWithZone_1, + zone, + ); return NSOrthography._(_ret, _lib, retain: false, release: true); } static NSOrthography alloc(SwiftLibrary _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSOrthography1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSOrthography1, + _lib._sel_alloc1, + ); return NSOrthography._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + SwiftLibrary _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSOrthography1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSOrthography1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSOrthography1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + SwiftLibrary _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSOrthography1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { return _lib._objc_msgSend_12( - _lib._class_NSOrthography1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_NSOrthography1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(SwiftLibrary _lib) { return _lib._objc_msgSend_12( - _lib._class_NSOrthography1, _lib._sel_useStoredAccessor1); + _lib._class_NSOrthography1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSOrthography1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSOrthography1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSOrthography1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSOrthography1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, NSArray keys, NSString dependentKey) { + SwiftLibrary _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSOrthography1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSOrthography1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_85( - _lib._class_NSOrthography1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSOrthography1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSOrthography1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSOrthography1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } -void _ObjCBlock_ffiVoid_ObjCObject_bool_fnPtrTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1) => - block.ref.target - .cast< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer arg0, - ffi.Pointer arg1)>>() - .asFunction< - void Function( - ffi.Pointer, ffi.Pointer)>()(arg0, arg1); -final _ObjCBlock_ffiVoid_ObjCObject_bool_closureRegistry = - , ffi.Pointer)>{}; -int _ObjCBlock_ffiVoid_ObjCObject_bool_closureRegistryIndex = 0; -ffi.Pointer _ObjCBlock_ffiVoid_ObjCObject_bool_registerClosure( - void Function(ffi.Pointer, ffi.Pointer) fn) { - final id = ++_ObjCBlock_ffiVoid_ObjCObject_bool_closureRegistryIndex; - _ObjCBlock_ffiVoid_ObjCObject_bool_closureRegistry[id] = fn; +void _ObjCBlock_ffiVoid_objcObjCObject_bool_fnPtrTrampoline( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, +) => block.ref.target + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) + > + >() + .asFunction< + void Function(ffi.Pointer, ffi.Pointer) + >()(arg0, arg1); +final _ObjCBlock_ffiVoid_objcObjCObject_bool_closureRegistry = + , ffi.Pointer)>{}; +int _ObjCBlock_ffiVoid_objcObjCObject_bool_closureRegistryIndex = 0; +ffi.Pointer _ObjCBlock_ffiVoid_objcObjCObject_bool_registerClosure( + void Function(ffi.Pointer, ffi.Pointer) fn, +) { + final id = ++_ObjCBlock_ffiVoid_objcObjCObject_bool_closureRegistryIndex; + _ObjCBlock_ffiVoid_objcObjCObject_bool_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } -void _ObjCBlock_ffiVoid_ObjCObject_bool_closureTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1) => - _ObjCBlock_ffiVoid_ObjCObject_bool_closureRegistry[ - block.ref.target.address]!(arg0, arg1); - -class ObjCBlock_ffiVoid_ObjCObject_bool extends _ObjCBlockBase { - ObjCBlock_ffiVoid_ObjCObject_bool._( - ffi.Pointer<_ObjCBlock> id, SwiftLibrary lib, - {bool retain = false, bool release = true}) - : super._(id, lib, retain: retain, release: release); +void _ObjCBlock_ffiVoid_objcObjCObject_bool_closureTrampoline( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, +) => _ObjCBlock_ffiVoid_objcObjCObject_bool_closureRegistry[block + .ref + .target + .address]!(arg0, arg1); + +class ObjCBlock_ffiVoid_objcObjCObject_bool extends objc.ObjCBlockBase { + ObjCBlock_ffiVoid_objcObjCObject_bool._( + ffi.Pointer pointer, + this._lib, { + bool retain = false, + bool release = true, + }) : super(pointer, retain: retain, release: release); + + SwiftLibrary _lib; /// Returns a block that wraps the given raw block pointer. - static ObjCBlock_ffiVoid_ObjCObject_bool castFromPointer( - SwiftLibrary lib, ffi.Pointer<_ObjCBlock> pointer, - {bool retain = false, bool release = false}) { - return ObjCBlock_ffiVoid_ObjCObject_bool._(pointer, lib, - retain: retain, release: release); + static ObjCBlock_ffiVoid_objcObjCObject_bool castFromPointer( + SwiftLibrary lib, + ffi.Pointer pointer, { + bool retain = false, + bool release = false, + }) { + return ObjCBlock_ffiVoid_objcObjCObject_bool._( + pointer, + lib, + retain: retain, + release: release, + ); } /// Creates a block from a C function pointer. @@ -44655,24 +57984,27 @@ class ObjCBlock_ffiVoid_ObjCObject_bool extends _ObjCBlockBase { /// This block must be invoked by native code running on the same thread as /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. - ObjCBlock_ffiVoid_ObjCObject_bool.fromFunctionPointer( - SwiftLibrary lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer arg0, - ffi.Pointer arg1)>> - ptr) - : this._( - lib._newBlock1( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_ObjCObject_bool_fnPtrTrampoline) - .cast(), - ptr.cast()), - lib); + ObjCBlock_ffiVoid_objcObjCObject_bool.fromFunctionPointer( + SwiftLibrary lib, + ffi.Pointer< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) + > + > ptr, + ) : this._(objc.newBlock( + _cFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_objcObjCObject_bool_fnPtrTrampoline).cast(), + ptr.cast(), + ), lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -44680,22 +58012,23 @@ class ObjCBlock_ffiVoid_ObjCObject_bool extends _ObjCBlockBase { /// This block must be invoked by native code running on the same thread as /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. - ObjCBlock_ffiVoid_ObjCObject_bool.fromFunction( - SwiftLibrary lib, void Function(NSObject, ffi.Pointer) fn) - : this._( - lib._newBlock1( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_ObjCObject_bool_closureTrampoline) - .cast(), - _ObjCBlock_ffiVoid_ObjCObject_bool_registerClosure( - (ffi.Pointer arg0, ffi.Pointer arg1) => fn( - NSObject._(arg0, lib, retain: true, release: true), - arg1))), - lib); + ObjCBlock_ffiVoid_objcObjCObject_bool.fromFunction( + SwiftLibrary lib, + void Function(NSObject, ffi.Pointer) fn, + ) : this._(objc.newBlock( + _dartFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_objcObjCObject_bool_closureTrampoline).cast(), + _ObjCBlock_ffiVoid_objcObjCObject_bool_registerClosure(( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) => fn(NSObject._(arg0, lib, retain: true, release: true), arg1)), + ), lib); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -44707,78 +58040,112 @@ class ObjCBlock_ffiVoid_ObjCObject_bool extends _ObjCBlockBase { /// /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. - ObjCBlock_ffiVoid_ObjCObject_bool.listener( - SwiftLibrary lib, void Function(NSObject, ffi.Pointer) fn) - : this._( - lib._newBlock1( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer)>.listener( - _ObjCBlock_ffiVoid_ObjCObject_bool_closureTrampoline) - ..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_ObjCObject_bool_registerClosure( - (ffi.Pointer arg0, ffi.Pointer arg1) => - fn(NSObject._(arg0, lib, retain: true, release: true), - arg1))), - lib); + ObjCBlock_ffiVoid_objcObjCObject_bool.listener( + SwiftLibrary lib, + void Function(NSObject, ffi.Pointer) fn, + ) : this._(objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >.listener( + _ObjCBlock_ffiVoid_objcObjCObject_bool_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_objcObjCObject_bool_registerClosure(( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) => fn(NSObject._(arg0, lib, retain: true, release: true), arg1)), + ), lib); static ffi.NativeCallable< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer, - ffi.Pointer)>? _dartFuncListenerTrampoline; - - void call(NSObject arg0, ffi.Pointer arg1) => _id.ref.invoke + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >? _dartFuncListenerTrampoline; + + void call(NSObject arg0, ffi.Pointer arg1) => pointer.ref.invoke .cast< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, ffi.Pointer arg1)>>() + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, + ) + > + >() .asFunction< - void Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer, - ffi.Pointer)>()(_id, arg0._id, arg1); + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >()(pointer, arg0.pointer, arg1); } -bool _ObjCBlock_bool_ObjCObject_bool_fnPtrTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1) => - block.ref.target - .cast< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer arg0, - ffi.Pointer arg1)>>() - .asFunction< - bool Function( - ffi.Pointer, ffi.Pointer)>()(arg0, arg1); -final _ObjCBlock_bool_ObjCObject_bool_closureRegistry = - , ffi.Pointer)>{}; -int _ObjCBlock_bool_ObjCObject_bool_closureRegistryIndex = 0; -ffi.Pointer _ObjCBlock_bool_ObjCObject_bool_registerClosure( - bool Function(ffi.Pointer, ffi.Pointer) fn) { - final id = ++_ObjCBlock_bool_ObjCObject_bool_closureRegistryIndex; - _ObjCBlock_bool_ObjCObject_bool_closureRegistry[id] = fn; +bool _ObjCBlock_bool_objcObjCObject_bool_fnPtrTrampoline( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, +) => block.ref.target + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) + > + >() + .asFunction< + bool Function(ffi.Pointer, ffi.Pointer) + >()(arg0, arg1); +final _ObjCBlock_bool_objcObjCObject_bool_closureRegistry = + , ffi.Pointer)>{}; +int _ObjCBlock_bool_objcObjCObject_bool_closureRegistryIndex = 0; +ffi.Pointer _ObjCBlock_bool_objcObjCObject_bool_registerClosure( + bool Function(ffi.Pointer, ffi.Pointer) fn, +) { + final id = ++_ObjCBlock_bool_objcObjCObject_bool_closureRegistryIndex; + _ObjCBlock_bool_objcObjCObject_bool_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } -bool _ObjCBlock_bool_ObjCObject_bool_closureTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1) => - _ObjCBlock_bool_ObjCObject_bool_closureRegistry[block.ref.target.address]!( - arg0, arg1); - -class ObjCBlock_bool_ObjCObject_bool extends _ObjCBlockBase { - ObjCBlock_bool_ObjCObject_bool._(ffi.Pointer<_ObjCBlock> id, SwiftLibrary lib, - {bool retain = false, bool release = true}) - : super._(id, lib, retain: retain, release: release); +bool _ObjCBlock_bool_objcObjCObject_bool_closureTrampoline( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, +) => _ObjCBlock_bool_objcObjCObject_bool_closureRegistry[block + .ref + .target + .address]!(arg0, arg1); + +class ObjCBlock_bool_objcObjCObject_bool extends objc.ObjCBlockBase { + ObjCBlock_bool_objcObjCObject_bool._( + ffi.Pointer pointer, + this._lib, { + bool retain = false, + bool release = true, + }) : super(pointer, retain: retain, release: release); + + SwiftLibrary _lib; /// Returns a block that wraps the given raw block pointer. - static ObjCBlock_bool_ObjCObject_bool castFromPointer( - SwiftLibrary lib, ffi.Pointer<_ObjCBlock> pointer, - {bool retain = false, bool release = false}) { - return ObjCBlock_bool_ObjCObject_bool._(pointer, lib, - retain: retain, release: release); + static ObjCBlock_bool_objcObjCObject_bool castFromPointer( + SwiftLibrary lib, + ffi.Pointer pointer, { + bool retain = false, + bool release = false, + }) { + return ObjCBlock_bool_objcObjCObject_bool._( + pointer, + lib, + retain: retain, + release: release, + ); } /// Creates a block from a C function pointer. @@ -44786,24 +58153,30 @@ class ObjCBlock_bool_ObjCObject_bool extends _ObjCBlockBase { /// This block must be invoked by native code running on the same thread as /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. - ObjCBlock_bool_ObjCObject_bool.fromFunctionPointer( - SwiftLibrary lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer arg0, - ffi.Pointer arg1)>> - ptr) - : this._( - lib._newBlock1( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Bool Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer)>( - _ObjCBlock_bool_ObjCObject_bool_fnPtrTrampoline, false) - .cast(), - ptr.cast()), - lib); + ObjCBlock_bool_objcObjCObject_bool.fromFunctionPointer( + SwiftLibrary lib, + ffi.Pointer< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) + > + > ptr, + ) : this._(objc.newBlock( + _cFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >( + _ObjCBlock_bool_objcObjCObject_bool_fnPtrTrampoline, + false, + ).cast(), + ptr.cast(), + ), lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -44811,97 +58184,133 @@ class ObjCBlock_bool_ObjCObject_bool extends _ObjCBlockBase { /// This block must be invoked by native code running on the same thread as /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. - ObjCBlock_bool_ObjCObject_bool.fromFunction( - SwiftLibrary lib, bool Function(NSObject, ffi.Pointer) fn) - : this._( - lib._newBlock1( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Bool Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer)>( - _ObjCBlock_bool_ObjCObject_bool_closureTrampoline, false) - .cast(), - _ObjCBlock_bool_ObjCObject_bool_registerClosure( - (ffi.Pointer arg0, - ffi.Pointer arg1) => - fn(NSObject._(arg0, lib, retain: true, release: true), arg1))), - lib); + ObjCBlock_bool_objcObjCObject_bool.fromFunction( + SwiftLibrary lib, + bool Function(NSObject, ffi.Pointer) fn, + ) : this._(objc.newBlock( + _dartFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >( + _ObjCBlock_bool_objcObjCObject_bool_closureTrampoline, + false, + ).cast(), + _ObjCBlock_bool_objcObjCObject_bool_registerClosure(( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) => fn(NSObject._(arg0, lib, retain: true, release: true), arg1)), + ), lib); static ffi.Pointer? _dartFuncTrampoline; - bool call(NSObject arg0, ffi.Pointer arg1) => _id.ref.invoke + bool call(NSObject arg0, ffi.Pointer arg1) => pointer.ref.invoke .cast< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, ffi.Pointer arg1)>>() + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, + ) + > + >() .asFunction< - bool Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer, - ffi.Pointer)>()(_id, arg0._id, arg1); + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >()(pointer, arg0.pointer, arg1); } class NSFileManager extends NSObject { - NSFileManager._(ffi.Pointer id, SwiftLibrary lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSFileManager._( + ffi.Pointer pointer, + SwiftLibrary lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSFileManager] that points to the same underlying object as [other]. - static NSFileManager castFrom(T other) { - return NSFileManager._(other._id, other._lib, retain: true, release: true); + static NSFileManager castFrom( + SwiftLibrary lib, + T other, + ) { + return NSFileManager._(other.pointer, lib, retain: true, release: true); } /// Returns a [NSFileManager] that wraps the given raw object pointer. static NSFileManager castFromPointer( - SwiftLibrary lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + SwiftLibrary lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSFileManager._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSFileManager]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_NSFileManager1); + static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSFileManager1, + ); } static NSFileManager getDefaultManager(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_431( - _lib._class_NSFileManager1, _lib._sel_defaultManager1); + _lib._class_NSFileManager1, + _lib._sel_defaultManager1, + ); return NSFileManager._(_ret, _lib, retain: true, release: true); } NSArray? mountedVolumeURLsIncludingResourceValuesForKeys_options_( - NSArray? propertyKeys, int options) { + NSArray? propertyKeys, + int options, + ) { final _ret = _lib._objc_msgSend_432( - _id, - _lib._sel_mountedVolumeURLsIncludingResourceValuesForKeys_options_1, - propertyKeys?._id ?? ffi.nullptr, - options); + this.pointer, + _lib._sel_mountedVolumeURLsIncludingResourceValuesForKeys_options_1, + propertyKeys?.pointer ?? ffi.nullptr, + options, + ); return _ret.address == 0 ? null : NSArray._(_ret, _lib, retain: true, release: true); } void unmountVolumeAtURL_options_completionHandler_( - NSURL url, int mask, ObjCBlock_ffiVoid_NSError completionHandler) { + NSURL url, + int mask, + ObjCBlock_ffiVoid_NSError completionHandler, + ) { _lib._objc_msgSend_433( - _id, - _lib._sel_unmountVolumeAtURL_options_completionHandler_1, - url._id, - mask, - completionHandler._id); + this.pointer, + _lib._sel_unmountVolumeAtURL_options_completionHandler_1, + url.pointer, + mask, + completionHandler.pointer, + ); } NSArray? contentsOfDirectoryAtURL_includingPropertiesForKeys_options_error_( - NSURL url, - NSArray? keys, - int mask, - ffi.Pointer> error) { + NSURL url, + NSArray? keys, + int mask, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_434( - _id, - _lib._sel_contentsOfDirectoryAtURL_includingPropertiesForKeys_options_error_1, - url._id, - keys?._id ?? ffi.nullptr, - mask, - error); + this.pointer, + _lib._sel_contentsOfDirectoryAtURL_includingPropertiesForKeys_options_error_1, + url.pointer, + keys?.pointer ?? ffi.nullptr, + mask, + error, + ); return _ret.address == 0 ? null : NSArray._(_ret, _lib, retain: true, release: true); @@ -44909,85 +58318,101 @@ class NSFileManager extends NSObject { NSArray URLsForDirectory_inDomains_(int directory, int domainMask) { final _ret = _lib._objc_msgSend_435( - _id, _lib._sel_URLsForDirectory_inDomains_1, directory, domainMask); + this.pointer, + _lib._sel_URLsForDirectory_inDomains_1, + directory, + domainMask, + ); return NSArray._(_ret, _lib, retain: true, release: true); } NSURL? URLForDirectory_inDomain_appropriateForURL_create_error_( - int directory, - int domain, - NSURL? url, - bool shouldCreate, - ffi.Pointer> error) { + int directory, + int domain, + NSURL? url, + bool shouldCreate, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_436( - _id, - _lib._sel_URLForDirectory_inDomain_appropriateForURL_create_error_1, - directory, - domain, - url?._id ?? ffi.nullptr, - shouldCreate, - error); + this.pointer, + _lib._sel_URLForDirectory_inDomain_appropriateForURL_create_error_1, + directory, + domain, + url?.pointer ?? ffi.nullptr, + shouldCreate, + error, + ); return _ret.address == 0 ? null : NSURL._(_ret, _lib, retain: true, release: true); } bool getRelationship_ofDirectoryAtURL_toItemAtURL_error_( - ffi.Pointer outRelationship, - NSURL directoryURL, - NSURL otherURL, - ffi.Pointer> error) { + ffi.Pointer outRelationship, + NSURL directoryURL, + NSURL otherURL, + ffi.Pointer> error, + ) { return _lib._objc_msgSend_437( - _id, - _lib._sel_getRelationship_ofDirectoryAtURL_toItemAtURL_error_1, - outRelationship, - directoryURL._id, - otherURL._id, - error); + this.pointer, + _lib._sel_getRelationship_ofDirectoryAtURL_toItemAtURL_error_1, + outRelationship, + directoryURL.pointer, + otherURL.pointer, + error, + ); } bool getRelationship_ofDirectory_inDomain_toItemAtURL_error_( - ffi.Pointer outRelationship, - int directory, - int domainMask, - NSURL url, - ffi.Pointer> error) { + ffi.Pointer outRelationship, + int directory, + int domainMask, + NSURL url, + ffi.Pointer> error, + ) { return _lib._objc_msgSend_438( - _id, - _lib._sel_getRelationship_ofDirectory_inDomain_toItemAtURL_error_1, - outRelationship, - directory, - domainMask, - url._id, - error); + this.pointer, + _lib._sel_getRelationship_ofDirectory_inDomain_toItemAtURL_error_1, + outRelationship, + directory, + domainMask, + url.pointer, + error, + ); } bool createDirectoryAtURL_withIntermediateDirectories_attributes_error_( - NSURL url, - bool createIntermediates, - NSDictionary? attributes, - ffi.Pointer> error) { + NSURL url, + bool createIntermediates, + NSDictionary? attributes, + ffi.Pointer> error, + ) { return _lib._objc_msgSend_439( - _id, - _lib._sel_createDirectoryAtURL_withIntermediateDirectories_attributes_error_1, - url._id, - createIntermediates, - attributes?._id ?? ffi.nullptr, - error); + this.pointer, + _lib._sel_createDirectoryAtURL_withIntermediateDirectories_attributes_error_1, + url.pointer, + createIntermediates, + attributes?.pointer ?? ffi.nullptr, + error, + ); } bool createSymbolicLinkAtURL_withDestinationURL_error_( - NSURL url, NSURL destURL, ffi.Pointer> error) { + NSURL url, + NSURL destURL, + ffi.Pointer> error, + ) { return _lib._objc_msgSend_440( - _id, - _lib._sel_createSymbolicLinkAtURL_withDestinationURL_error_1, - url._id, - destURL._id, - error); + this.pointer, + _lib._sel_createSymbolicLinkAtURL_withDestinationURL_error_1, + url.pointer, + destURL.pointer, + error, + ); } NSObject? get delegate { - final _ret = _lib._objc_msgSend_17(_id, _lib._sel_delegate1); + final _ret = _lib._objc_msgSend_17(this.pointer, _lib._sel_delegate1); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); @@ -44995,151 +58420,260 @@ class NSFileManager extends NSObject { set delegate(NSObject? value) { return _lib._objc_msgSend_416( - _id, _lib._sel_setDelegate_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setDelegate_1, + value?.pointer ?? ffi.nullptr, + ); } - bool setAttributes_ofItemAtPath_error_(NSDictionary attributes, NSString path, - ffi.Pointer> error) { + bool setAttributes_ofItemAtPath_error_( + NSDictionary attributes, + NSString path, + ffi.Pointer> error, + ) { return _lib._objc_msgSend_441( - _id, - _lib._sel_setAttributes_ofItemAtPath_error_1, - attributes._id, - path._id, - error); + this.pointer, + _lib._sel_setAttributes_ofItemAtPath_error_1, + attributes.pointer, + path.pointer, + error, + ); } bool createDirectoryAtPath_withIntermediateDirectories_attributes_error_( - NSString path, - bool createIntermediates, - NSDictionary? attributes, - ffi.Pointer> error) { + NSString path, + bool createIntermediates, + NSDictionary? attributes, + ffi.Pointer> error, + ) { return _lib._objc_msgSend_442( - _id, - _lib._sel_createDirectoryAtPath_withIntermediateDirectories_attributes_error_1, - path._id, - createIntermediates, - attributes?._id ?? ffi.nullptr, - error); + this.pointer, + _lib._sel_createDirectoryAtPath_withIntermediateDirectories_attributes_error_1, + path.pointer, + createIntermediates, + attributes?.pointer ?? ffi.nullptr, + error, + ); } NSArray? contentsOfDirectoryAtPath_error_( - NSString path, ffi.Pointer> error) { + NSString path, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_443( - _id, _lib._sel_contentsOfDirectoryAtPath_error_1, path._id, error); + this.pointer, + _lib._sel_contentsOfDirectoryAtPath_error_1, + path.pointer, + error, + ); return _ret.address == 0 ? null : NSArray._(_ret, _lib, retain: true, release: true); } NSArray? subpathsOfDirectoryAtPath_error_( - NSString path, ffi.Pointer> error) { + NSString path, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_443( - _id, _lib._sel_subpathsOfDirectoryAtPath_error_1, path._id, error); + this.pointer, + _lib._sel_subpathsOfDirectoryAtPath_error_1, + path.pointer, + error, + ); return _ret.address == 0 ? null : NSArray._(_ret, _lib, retain: true, release: true); } NSDictionary? attributesOfItemAtPath_error_( - NSString path, ffi.Pointer> error) { + NSString path, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_444( - _id, _lib._sel_attributesOfItemAtPath_error_1, path._id, error); + this.pointer, + _lib._sel_attributesOfItemAtPath_error_1, + path.pointer, + error, + ); return _ret.address == 0 ? null : NSDictionary._(_ret, _lib, retain: true, release: true); } NSDictionary? attributesOfFileSystemForPath_error_( - NSString path, ffi.Pointer> error) { + NSString path, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_444( - _id, _lib._sel_attributesOfFileSystemForPath_error_1, path._id, error); + this.pointer, + _lib._sel_attributesOfFileSystemForPath_error_1, + path.pointer, + error, + ); return _ret.address == 0 ? null : NSDictionary._(_ret, _lib, retain: true, release: true); } - bool createSymbolicLinkAtPath_withDestinationPath_error_(NSString path, - NSString destPath, ffi.Pointer> error) { + bool createSymbolicLinkAtPath_withDestinationPath_error_( + NSString path, + NSString destPath, + ffi.Pointer> error, + ) { return _lib._objc_msgSend_445( - _id, - _lib._sel_createSymbolicLinkAtPath_withDestinationPath_error_1, - path._id, - destPath._id, - error); + this.pointer, + _lib._sel_createSymbolicLinkAtPath_withDestinationPath_error_1, + path.pointer, + destPath.pointer, + error, + ); } NSString? destinationOfSymbolicLinkAtPath_error_( - NSString path, ffi.Pointer> error) { - final _ret = _lib._objc_msgSend_446(_id, - _lib._sel_destinationOfSymbolicLinkAtPath_error_1, path._id, error); + NSString path, + ffi.Pointer> error, + ) { + final _ret = _lib._objc_msgSend_446( + this.pointer, + _lib._sel_destinationOfSymbolicLinkAtPath_error_1, + path.pointer, + error, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } - bool copyItemAtPath_toPath_error_(NSString srcPath, NSString dstPath, - ffi.Pointer> error) { - return _lib._objc_msgSend_445(_id, _lib._sel_copyItemAtPath_toPath_error_1, - srcPath._id, dstPath._id, error); + bool copyItemAtPath_toPath_error_( + NSString srcPath, + NSString dstPath, + ffi.Pointer> error, + ) { + return _lib._objc_msgSend_445( + this.pointer, + _lib._sel_copyItemAtPath_toPath_error_1, + srcPath.pointer, + dstPath.pointer, + error, + ); } - bool moveItemAtPath_toPath_error_(NSString srcPath, NSString dstPath, - ffi.Pointer> error) { - return _lib._objc_msgSend_445(_id, _lib._sel_moveItemAtPath_toPath_error_1, - srcPath._id, dstPath._id, error); + bool moveItemAtPath_toPath_error_( + NSString srcPath, + NSString dstPath, + ffi.Pointer> error, + ) { + return _lib._objc_msgSend_445( + this.pointer, + _lib._sel_moveItemAtPath_toPath_error_1, + srcPath.pointer, + dstPath.pointer, + error, + ); } - bool linkItemAtPath_toPath_error_(NSString srcPath, NSString dstPath, - ffi.Pointer> error) { - return _lib._objc_msgSend_445(_id, _lib._sel_linkItemAtPath_toPath_error_1, - srcPath._id, dstPath._id, error); + bool linkItemAtPath_toPath_error_( + NSString srcPath, + NSString dstPath, + ffi.Pointer> error, + ) { + return _lib._objc_msgSend_445( + this.pointer, + _lib._sel_linkItemAtPath_toPath_error_1, + srcPath.pointer, + dstPath.pointer, + error, + ); } bool removeItemAtPath_error_( - NSString path, ffi.Pointer> error) { + NSString path, + ffi.Pointer> error, + ) { return _lib._objc_msgSend_447( - _id, _lib._sel_removeItemAtPath_error_1, path._id, error); + this.pointer, + _lib._sel_removeItemAtPath_error_1, + path.pointer, + error, + ); } bool copyItemAtURL_toURL_error_( - NSURL srcURL, NSURL dstURL, ffi.Pointer> error) { - return _lib._objc_msgSend_440(_id, _lib._sel_copyItemAtURL_toURL_error_1, - srcURL._id, dstURL._id, error); + NSURL srcURL, + NSURL dstURL, + ffi.Pointer> error, + ) { + return _lib._objc_msgSend_440( + this.pointer, + _lib._sel_copyItemAtURL_toURL_error_1, + srcURL.pointer, + dstURL.pointer, + error, + ); } bool moveItemAtURL_toURL_error_( - NSURL srcURL, NSURL dstURL, ffi.Pointer> error) { - return _lib._objc_msgSend_440(_id, _lib._sel_moveItemAtURL_toURL_error_1, - srcURL._id, dstURL._id, error); + NSURL srcURL, + NSURL dstURL, + ffi.Pointer> error, + ) { + return _lib._objc_msgSend_440( + this.pointer, + _lib._sel_moveItemAtURL_toURL_error_1, + srcURL.pointer, + dstURL.pointer, + error, + ); } bool linkItemAtURL_toURL_error_( - NSURL srcURL, NSURL dstURL, ffi.Pointer> error) { - return _lib._objc_msgSend_440(_id, _lib._sel_linkItemAtURL_toURL_error_1, - srcURL._id, dstURL._id, error); + NSURL srcURL, + NSURL dstURL, + ffi.Pointer> error, + ) { + return _lib._objc_msgSend_440( + this.pointer, + _lib._sel_linkItemAtURL_toURL_error_1, + srcURL.pointer, + dstURL.pointer, + error, + ); } bool removeItemAtURL_error_( - NSURL URL, ffi.Pointer> error) { + NSURL URL, + ffi.Pointer> error, + ) { return _lib._objc_msgSend_89( - _id, _lib._sel_removeItemAtURL_error_1, URL._id, error); + this.pointer, + _lib._sel_removeItemAtURL_error_1, + URL.pointer, + error, + ); } bool trashItemAtURL_resultingItemURL_error_( - NSURL url, - ffi.Pointer> outResultingURL, - ffi.Pointer> error) { + NSURL url, + ffi.Pointer> outResultingURL, + ffi.Pointer> error, + ) { return _lib._objc_msgSend_448( - _id, - _lib._sel_trashItemAtURL_resultingItemURL_error_1, - url._id, - outResultingURL, - error); + this.pointer, + _lib._sel_trashItemAtURL_resultingItemURL_error_1, + url.pointer, + outResultingURL, + error, + ); } NSDictionary? fileAttributesAtPath_traverseLink_(NSString path, bool yorn) { final _ret = _lib._objc_msgSend_449( - _id, _lib._sel_fileAttributesAtPath_traverseLink_1, path._id, yorn); + this.pointer, + _lib._sel_fileAttributesAtPath_traverseLink_1, + path.pointer, + yorn, + ); return _ret.address == 0 ? null : NSDictionary._(_ret, _lib, retain: true, release: true); @@ -45147,12 +58681,19 @@ class NSFileManager extends NSObject { bool changeFileAttributes_atPath_(NSDictionary attributes, NSString path) { return _lib._objc_msgSend_450( - _id, _lib._sel_changeFileAttributes_atPath_1, attributes._id, path._id); + this.pointer, + _lib._sel_changeFileAttributes_atPath_1, + attributes.pointer, + path.pointer, + ); } NSArray? directoryContentsAtPath_(NSString path) { final _ret = _lib._objc_msgSend_132( - _id, _lib._sel_directoryContentsAtPath_1, path._id); + this.pointer, + _lib._sel_directoryContentsAtPath_1, + path.pointer, + ); return _ret.address == 0 ? null : NSArray._(_ret, _lib, retain: true, release: true); @@ -45160,7 +58701,10 @@ class NSFileManager extends NSObject { NSDictionary? fileSystemAttributesAtPath_(NSString path) { final _ret = _lib._objc_msgSend_156( - _id, _lib._sel_fileSystemAttributesAtPath_1, path._id); + this.pointer, + _lib._sel_fileSystemAttributesAtPath_1, + path.pointer, + ); return _ret.address == 0 ? null : NSDictionary._(_ret, _lib, retain: true, release: true); @@ -45168,285 +58712,428 @@ class NSFileManager extends NSObject { NSString? pathContentOfSymbolicLinkAtPath_(NSString path) { final _ret = _lib._objc_msgSend_186( - _id, _lib._sel_pathContentOfSymbolicLinkAtPath_1, path._id); + this.pointer, + _lib._sel_pathContentOfSymbolicLinkAtPath_1, + path.pointer, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } bool createSymbolicLinkAtPath_pathContent_( - NSString path, NSString otherpath) { + NSString path, + NSString otherpath, + ) { return _lib._objc_msgSend_451( - _id, - _lib._sel_createSymbolicLinkAtPath_pathContent_1, - path._id, - otherpath._id); + this.pointer, + _lib._sel_createSymbolicLinkAtPath_pathContent_1, + path.pointer, + otherpath.pointer, + ); } bool createDirectoryAtPath_attributes_( - NSString path, NSDictionary attributes) { - return _lib._objc_msgSend_452(_id, - _lib._sel_createDirectoryAtPath_attributes_1, path._id, attributes._id); + NSString path, + NSDictionary attributes, + ) { + return _lib._objc_msgSend_452( + this.pointer, + _lib._sel_createDirectoryAtPath_attributes_1, + path.pointer, + attributes.pointer, + ); } bool linkPath_toPath_handler_( - NSString src, NSString dest, NSObject? handler) { - return _lib._objc_msgSend_453(_id, _lib._sel_linkPath_toPath_handler_1, - src._id, dest._id, handler?._id ?? ffi.nullptr); + NSString src, + NSString dest, + NSObject? handler, + ) { + return _lib._objc_msgSend_453( + this.pointer, + _lib._sel_linkPath_toPath_handler_1, + src.pointer, + dest.pointer, + handler?.pointer ?? ffi.nullptr, + ); } bool copyPath_toPath_handler_( - NSString src, NSString dest, NSObject? handler) { - return _lib._objc_msgSend_453(_id, _lib._sel_copyPath_toPath_handler_1, - src._id, dest._id, handler?._id ?? ffi.nullptr); + NSString src, + NSString dest, + NSObject? handler, + ) { + return _lib._objc_msgSend_453( + this.pointer, + _lib._sel_copyPath_toPath_handler_1, + src.pointer, + dest.pointer, + handler?.pointer ?? ffi.nullptr, + ); } bool movePath_toPath_handler_( - NSString src, NSString dest, NSObject? handler) { - return _lib._objc_msgSend_453(_id, _lib._sel_movePath_toPath_handler_1, - src._id, dest._id, handler?._id ?? ffi.nullptr); + NSString src, + NSString dest, + NSObject? handler, + ) { + return _lib._objc_msgSend_453( + this.pointer, + _lib._sel_movePath_toPath_handler_1, + src.pointer, + dest.pointer, + handler?.pointer ?? ffi.nullptr, + ); } bool removeFileAtPath_handler_(NSString path, NSObject? handler) { - return _lib._objc_msgSend_454(_id, _lib._sel_removeFileAtPath_handler_1, - path._id, handler?._id ?? ffi.nullptr); + return _lib._objc_msgSend_454( + this.pointer, + _lib._sel_removeFileAtPath_handler_1, + path.pointer, + handler?.pointer ?? ffi.nullptr, + ); } NSString get currentDirectoryPath { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_currentDirectoryPath1); + final _ret = _lib._objc_msgSend_21( + this.pointer, + _lib._sel_currentDirectoryPath1, + ); return NSString._(_ret, _lib, retain: true, release: true); } bool changeCurrentDirectoryPath_(NSString path) { return _lib._objc_msgSend_64( - _id, _lib._sel_changeCurrentDirectoryPath_1, path._id); + this.pointer, + _lib._sel_changeCurrentDirectoryPath_1, + path.pointer, + ); } bool fileExistsAtPath_(NSString path) { - return _lib._objc_msgSend_64(_id, _lib._sel_fileExistsAtPath_1, path._id); + return _lib._objc_msgSend_64( + this.pointer, + _lib._sel_fileExistsAtPath_1, + path.pointer, + ); } bool fileExistsAtPath_isDirectory_( - NSString path, ffi.Pointer isDirectory) { + NSString path, + ffi.Pointer isDirectory, + ) { return _lib._objc_msgSend_455( - _id, _lib._sel_fileExistsAtPath_isDirectory_1, path._id, isDirectory); + this.pointer, + _lib._sel_fileExistsAtPath_isDirectory_1, + path.pointer, + isDirectory, + ); } bool isReadableFileAtPath_(NSString path) { return _lib._objc_msgSend_64( - _id, _lib._sel_isReadableFileAtPath_1, path._id); + this.pointer, + _lib._sel_isReadableFileAtPath_1, + path.pointer, + ); } bool isWritableFileAtPath_(NSString path) { return _lib._objc_msgSend_64( - _id, _lib._sel_isWritableFileAtPath_1, path._id); + this.pointer, + _lib._sel_isWritableFileAtPath_1, + path.pointer, + ); } bool isExecutableFileAtPath_(NSString path) { return _lib._objc_msgSend_64( - _id, _lib._sel_isExecutableFileAtPath_1, path._id); + this.pointer, + _lib._sel_isExecutableFileAtPath_1, + path.pointer, + ); } bool isDeletableFileAtPath_(NSString path) { return _lib._objc_msgSend_64( - _id, _lib._sel_isDeletableFileAtPath_1, path._id); + this.pointer, + _lib._sel_isDeletableFileAtPath_1, + path.pointer, + ); } bool contentsEqualAtPath_andPath_(NSString path1, NSString path2) { return _lib._objc_msgSend_451( - _id, _lib._sel_contentsEqualAtPath_andPath_1, path1._id, path2._id); + this.pointer, + _lib._sel_contentsEqualAtPath_andPath_1, + path1.pointer, + path2.pointer, + ); } NSString displayNameAtPath_(NSString path) { - final _ret = - _lib._objc_msgSend_69(_id, _lib._sel_displayNameAtPath_1, path._id); + final _ret = _lib._objc_msgSend_69( + this.pointer, + _lib._sel_displayNameAtPath_1, + path.pointer, + ); return NSString._(_ret, _lib, retain: true, release: true); } NSArray? componentsToDisplayForPath_(NSString path) { final _ret = _lib._objc_msgSend_132( - _id, _lib._sel_componentsToDisplayForPath_1, path._id); + this.pointer, + _lib._sel_componentsToDisplayForPath_1, + path.pointer, + ); return _ret.address == 0 ? null : NSArray._(_ret, _lib, retain: true, release: true); } NSObject? enumeratorAtPath_(NSString path) { - final _ret = - _lib._objc_msgSend_38(_id, _lib._sel_enumeratorAtPath_1, path._id); + final _ret = _lib._objc_msgSend_38( + this.pointer, + _lib._sel_enumeratorAtPath_1, + path.pointer, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } NSObject? enumeratorAtURL_includingPropertiesForKeys_options_errorHandler_( - NSURL url, - NSArray? keys, - int mask, - ObjCBlock_bool_NSURL_NSError? handler) { + NSURL url, + NSArray? keys, + int mask, + ObjCBlock_bool_NSURL_NSError? handler, + ) { final _ret = _lib._objc_msgSend_456( - _id, - _lib._sel_enumeratorAtURL_includingPropertiesForKeys_options_errorHandler_1, - url._id, - keys?._id ?? ffi.nullptr, - mask, - handler?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_enumeratorAtURL_includingPropertiesForKeys_options_errorHandler_1, + url.pointer, + keys?.pointer ?? ffi.nullptr, + mask, + handler?.pointer ?? ffi.nullptr, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } NSArray? subpathsAtPath_(NSString path) { - final _ret = - _lib._objc_msgSend_132(_id, _lib._sel_subpathsAtPath_1, path._id); + final _ret = _lib._objc_msgSend_132( + this.pointer, + _lib._sel_subpathsAtPath_1, + path.pointer, + ); return _ret.address == 0 ? null : NSArray._(_ret, _lib, retain: true, release: true); } NSData? contentsAtPath_(NSString path) { - final _ret = - _lib._objc_msgSend_457(_id, _lib._sel_contentsAtPath_1, path._id); + final _ret = _lib._objc_msgSend_457( + this.pointer, + _lib._sel_contentsAtPath_1, + path.pointer, + ); return _ret.address == 0 ? null : NSData._(_ret, _lib, retain: true, release: true); } bool createFileAtPath_contents_attributes_( - NSString path, NSData? data, NSDictionary? attr) { + NSString path, + NSData? data, + NSDictionary? attr, + ) { return _lib._objc_msgSend_458( - _id, - _lib._sel_createFileAtPath_contents_attributes_1, - path._id, - data?._id ?? ffi.nullptr, - attr?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_createFileAtPath_contents_attributes_1, + path.pointer, + data?.pointer ?? ffi.nullptr, + attr?.pointer ?? ffi.nullptr, + ); } ffi.Pointer fileSystemRepresentationWithPath_(NSString path) { return _lib._objc_msgSend_459( - _id, _lib._sel_fileSystemRepresentationWithPath_1, path._id); + this.pointer, + _lib._sel_fileSystemRepresentationWithPath_1, + path.pointer, + ); } NSString stringWithFileSystemRepresentation_length_( - ffi.Pointer str, int len) { + ffi.Pointer str, + int len, + ) { final _ret = _lib._objc_msgSend_460( - _id, _lib._sel_stringWithFileSystemRepresentation_length_1, str, len); + this.pointer, + _lib._sel_stringWithFileSystemRepresentation_length_1, + str, + len, + ); return NSString._(_ret, _lib, retain: true, release: true); } bool - replaceItemAtURL_withItemAtURL_backupItemName_options_resultingItemURL_error_( - NSURL originalItemURL, - NSURL newItemURL, - NSString? backupItemName, - int options, - ffi.Pointer> resultingURL, - ffi.Pointer> error) { + replaceItemAtURL_withItemAtURL_backupItemName_options_resultingItemURL_error_( + NSURL originalItemURL, + NSURL newItemURL, + NSString? backupItemName, + int options, + ffi.Pointer> resultingURL, + ffi.Pointer> error, + ) { return _lib._objc_msgSend_461( - _id, - _lib._sel_replaceItemAtURL_withItemAtURL_backupItemName_options_resultingItemURL_error_1, - originalItemURL._id, - newItemURL._id, - backupItemName?._id ?? ffi.nullptr, - options, - resultingURL, - error); - } - - bool setUbiquitous_itemAtURL_destinationURL_error_(bool flag, NSURL url, - NSURL destinationURL, ffi.Pointer> error) { + this.pointer, + _lib._sel_replaceItemAtURL_withItemAtURL_backupItemName_options_resultingItemURL_error_1, + originalItemURL.pointer, + newItemURL.pointer, + backupItemName?.pointer ?? ffi.nullptr, + options, + resultingURL, + error, + ); + } + + bool setUbiquitous_itemAtURL_destinationURL_error_( + bool flag, + NSURL url, + NSURL destinationURL, + ffi.Pointer> error, + ) { return _lib._objc_msgSend_462( - _id, - _lib._sel_setUbiquitous_itemAtURL_destinationURL_error_1, - flag, - url._id, - destinationURL._id, - error); + this.pointer, + _lib._sel_setUbiquitous_itemAtURL_destinationURL_error_1, + flag, + url.pointer, + destinationURL.pointer, + error, + ); } bool isUbiquitousItemAtURL_(NSURL url) { return _lib._objc_msgSend_265( - _id, _lib._sel_isUbiquitousItemAtURL_1, url._id); + this.pointer, + _lib._sel_isUbiquitousItemAtURL_1, + url.pointer, + ); } bool startDownloadingUbiquitousItemAtURL_error_( - NSURL url, ffi.Pointer> error) { - return _lib._objc_msgSend_89(_id, - _lib._sel_startDownloadingUbiquitousItemAtURL_error_1, url._id, error); + NSURL url, + ffi.Pointer> error, + ) { + return _lib._objc_msgSend_89( + this.pointer, + _lib._sel_startDownloadingUbiquitousItemAtURL_error_1, + url.pointer, + error, + ); } bool evictUbiquitousItemAtURL_error_( - NSURL url, ffi.Pointer> error) { + NSURL url, + ffi.Pointer> error, + ) { return _lib._objc_msgSend_89( - _id, _lib._sel_evictUbiquitousItemAtURL_error_1, url._id, error); + this.pointer, + _lib._sel_evictUbiquitousItemAtURL_error_1, + url.pointer, + error, + ); } NSURL? URLForUbiquityContainerIdentifier_(NSString? containerIdentifier) { final _ret = _lib._objc_msgSend_463( - _id, - _lib._sel_URLForUbiquityContainerIdentifier_1, - containerIdentifier?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_URLForUbiquityContainerIdentifier_1, + containerIdentifier?.pointer ?? ffi.nullptr, + ); return _ret.address == 0 ? null : NSURL._(_ret, _lib, retain: true, release: true); } NSURL? URLForPublishingUbiquitousItemAtURL_expirationDate_error_( - NSURL url, - ffi.Pointer> outDate, - ffi.Pointer> error) { + NSURL url, + ffi.Pointer> outDate, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_464( - _id, - _lib._sel_URLForPublishingUbiquitousItemAtURL_expirationDate_error_1, - url._id, - outDate, - error); + this.pointer, + _lib._sel_URLForPublishingUbiquitousItemAtURL_expirationDate_error_1, + url.pointer, + outDate, + error, + ); return _ret.address == 0 ? null : NSURL._(_ret, _lib, retain: true, release: true); } NSObject? get ubiquityIdentityToken { - final _ret = _lib._objc_msgSend_17(_id, _lib._sel_ubiquityIdentityToken1); + final _ret = _lib._objc_msgSend_17( + this.pointer, + _lib._sel_ubiquityIdentityToken1, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } void getFileProviderServicesForItemAtURL_completionHandler_( - NSURL url, ObjCBlock_ffiVoid_NSDictionary_NSError completionHandler) { + NSURL url, + ObjCBlock_ffiVoid_NSDictionary_NSError completionHandler, + ) { _lib._objc_msgSend_465( - _id, - _lib._sel_getFileProviderServicesForItemAtURL_completionHandler_1, - url._id, - completionHandler._id); + this.pointer, + _lib._sel_getFileProviderServicesForItemAtURL_completionHandler_1, + url.pointer, + completionHandler.pointer, + ); } NSURL? containerURLForSecurityApplicationGroupIdentifier_( - NSString groupIdentifier) { + NSString groupIdentifier, + ) { final _ret = _lib._objc_msgSend_257( - _id, - _lib._sel_containerURLForSecurityApplicationGroupIdentifier_1, - groupIdentifier._id); + this.pointer, + _lib._sel_containerURLForSecurityApplicationGroupIdentifier_1, + groupIdentifier.pointer, + ); return _ret.address == 0 ? null : NSURL._(_ret, _lib, retain: true, release: true); } NSURL get homeDirectoryForCurrentUser { - final _ret = - _lib._objc_msgSend_466(_id, _lib._sel_homeDirectoryForCurrentUser1); + final _ret = _lib._objc_msgSend_466( + this.pointer, + _lib._sel_homeDirectoryForCurrentUser1, + ); return NSURL._(_ret, _lib, retain: true, release: true); } NSURL get temporaryDirectory { - final _ret = _lib._objc_msgSend_466(_id, _lib._sel_temporaryDirectory1); + final _ret = _lib._objc_msgSend_466( + this.pointer, + _lib._sel_temporaryDirectory1, + ); return NSURL._(_ret, _lib, retain: true, release: true); } NSURL? homeDirectoryForUser_(NSString userName) { final _ret = _lib._objc_msgSend_257( - _id, _lib._sel_homeDirectoryForUser_1, userName._id); + this.pointer, + _lib._sel_homeDirectoryForUser_1, + userName.pointer, + ); return _ret.address == 0 ? null : NSURL._(_ret, _lib, retain: true, release: true); @@ -45454,89 +59141,127 @@ class NSFileManager extends NSObject { @override NSFileManager init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSFileManager._(_ret, _lib, retain: true, release: true); } static NSFileManager new1(SwiftLibrary _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSFileManager1, _lib._sel_new1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSFileManager1, + _lib._sel_new1, + ); return NSFileManager._(_ret, _lib, retain: false, release: true); } static NSFileManager allocWithZone_( - SwiftLibrary _lib, ffi.Pointer<_NSZone> zone) { + SwiftLibrary _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSFileManager1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSFileManager1, + _lib._sel_allocWithZone_1, + zone, + ); return NSFileManager._(_ret, _lib, retain: false, release: true); } static NSFileManager alloc(SwiftLibrary _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSFileManager1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSFileManager1, + _lib._sel_alloc1, + ); return NSFileManager._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + SwiftLibrary _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSFileManager1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSFileManager1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSFileManager1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + SwiftLibrary _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSFileManager1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { return _lib._objc_msgSend_12( - _lib._class_NSFileManager1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_NSFileManager1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(SwiftLibrary _lib) { return _lib._objc_msgSend_12( - _lib._class_NSFileManager1, _lib._sel_useStoredAccessor1); + _lib._class_NSFileManager1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSFileManager1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSFileManager1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSFileManager1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSFileManager1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, NSArray keys, NSString dependentKey) { + SwiftLibrary _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSFileManager1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSFileManager1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_85( - _lib._class_NSFileManager1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSFileManager1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSFileManager1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSFileManager1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } @@ -45552,37 +59277,54 @@ abstract class NSFileManagerUnmountOptions { } void _ObjCBlock_ffiVoid_NSError_fnPtrTrampoline( - ffi.Pointer<_ObjCBlock> block, ffi.Pointer arg0) => - block.ref.target - .cast< - ffi - .NativeFunction arg0)>>() - .asFunction)>()(arg0); + ffi.Pointer block, + ffi.Pointer arg0, +) => block.ref.target + .cast< + ffi.NativeFunction arg0)> + >() + .asFunction)>()(arg0); final _ObjCBlock_ffiVoid_NSError_closureRegistry = - )>{}; + )>{}; int _ObjCBlock_ffiVoid_NSError_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_ffiVoid_NSError_registerClosure( - void Function(ffi.Pointer) fn) { + void Function(ffi.Pointer) fn, +) { final id = ++_ObjCBlock_ffiVoid_NSError_closureRegistryIndex; _ObjCBlock_ffiVoid_NSError_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } void _ObjCBlock_ffiVoid_NSError_closureTrampoline( - ffi.Pointer<_ObjCBlock> block, ffi.Pointer arg0) => - _ObjCBlock_ffiVoid_NSError_closureRegistry[block.ref.target.address]!(arg0); - -class ObjCBlock_ffiVoid_NSError extends _ObjCBlockBase { - ObjCBlock_ffiVoid_NSError._(ffi.Pointer<_ObjCBlock> id, SwiftLibrary lib, - {bool retain = false, bool release = true}) - : super._(id, lib, retain: retain, release: release); + ffi.Pointer block, + ffi.Pointer arg0, +) => _ObjCBlock_ffiVoid_NSError_closureRegistry[block.ref.target.address]!( + arg0, +); + +class ObjCBlock_ffiVoid_NSError extends objc.ObjCBlockBase { + ObjCBlock_ffiVoid_NSError._( + ffi.Pointer pointer, + this._lib, { + bool retain = false, + bool release = true, + }) : super(pointer, retain: retain, release: release); + + SwiftLibrary _lib; /// Returns a block that wraps the given raw block pointer. static ObjCBlock_ffiVoid_NSError castFromPointer( - SwiftLibrary lib, ffi.Pointer<_ObjCBlock> pointer, - {bool retain = false, bool release = false}) { - return ObjCBlock_ffiVoid_NSError._(pointer, lib, - retain: retain, release: release); + SwiftLibrary lib, + ffi.Pointer pointer, { + bool retain = false, + bool release = false, + }) { + return ObjCBlock_ffiVoid_NSError._( + pointer, + lib, + retain: retain, + release: release, + ); } /// Creates a block from a C function pointer. @@ -45591,21 +59333,20 @@ class ObjCBlock_ffiVoid_NSError extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSError.fromFunctionPointer( - SwiftLibrary lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer arg0)>> - ptr) - : this._( - lib - ._newBlock1( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_NSError_fnPtrTrampoline) - .cast(), - ptr.cast()), - lib); + SwiftLibrary lib, + ffi.Pointer< + ffi.NativeFunction arg0)> + > ptr, + ) : this._(objc.newBlock( + _cFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_NSError_fnPtrTrampoline).cast(), + ptr.cast(), + ), lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -45614,19 +59355,24 @@ class ObjCBlock_ffiVoid_NSError extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSError.fromFunction( - SwiftLibrary lib, void Function(NSError?) fn) - : this._( - lib._newBlock1( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_NSError_closureTrampoline) - .cast(), - _ObjCBlock_ffiVoid_NSError_registerClosure( - (ffi.Pointer arg0) => fn(arg0.address == 0 - ? null - : NSError._(arg0, lib, retain: true, release: true)))), - lib); + SwiftLibrary lib, + void Function(NSError?) fn, + ) : this._(objc.newBlock( + _dartFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_NSError_closureTrampoline).cast(), + _ObjCBlock_ffiVoid_NSError_registerClosure(( + ffi.Pointer arg0, + ) => fn( + arg0.address == 0 + ? null + : NSError._(arg0, lib, retain: true, release: true), + )), + ), lib); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -45639,33 +59385,43 @@ class ObjCBlock_ffiVoid_NSError extends _ObjCBlockBase { /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. ObjCBlock_ffiVoid_NSError.listener( - SwiftLibrary lib, void Function(NSError?) fn) - : this._( - lib._newBlock1( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, - ffi.Pointer)>.listener( - _ObjCBlock_ffiVoid_NSError_closureTrampoline) - ..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSError_registerClosure( - (ffi.Pointer arg0) => fn(arg0.address == 0 - ? null - : NSError._(arg0, lib, retain: true, release: true)))), - lib); + SwiftLibrary lib, + void Function(NSError?) fn, + ) : this._(objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ) + >.listener( + _ObjCBlock_ffiVoid_NSError_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSError_registerClosure(( + ffi.Pointer arg0, + ) => fn( + arg0.address == 0 + ? null + : NSError._(arg0, lib, retain: true, release: true), + )), + ), lib); static ffi.NativeCallable< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer)>? - _dartFuncListenerTrampoline; + ffi.Void Function(ffi.Pointer, ffi.Pointer) + >? _dartFuncListenerTrampoline; - void call(NSError? arg0) => _id.ref.invoke + void call(NSError? arg0) => pointer.ref.invoke .cast< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0)>>() + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer block, + ffi.Pointer arg0, + ) + > + >() .asFunction< - void Function(ffi.Pointer<_ObjCBlock>, - ffi.Pointer)>()(_id, arg0?._id ?? ffi.nullptr); + void Function(ffi.Pointer, ffi.Pointer) + >()(pointer, arg0?.pointer ?? ffi.nullptr); } abstract class NSDirectoryEnumerationOptions { @@ -45721,45 +59477,67 @@ abstract class NSURLRelationship { } bool _ObjCBlock_bool_NSURL_NSError_fnPtrTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1) => - block.ref.target - .cast< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer arg0, - ffi.Pointer arg1)>>() - .asFunction< - bool Function(ffi.Pointer, - ffi.Pointer)>()(arg0, arg1); + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, +) => block.ref.target + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) + > + >() + .asFunction< + bool Function(ffi.Pointer, ffi.Pointer) + >()(arg0, arg1); final _ObjCBlock_bool_NSURL_NSError_closureRegistry = - , ffi.Pointer)>{}; + < + int, + bool Function(ffi.Pointer, ffi.Pointer) + >{}; int _ObjCBlock_bool_NSURL_NSError_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_bool_NSURL_NSError_registerClosure( - bool Function(ffi.Pointer, ffi.Pointer) fn) { + bool Function(ffi.Pointer, ffi.Pointer) fn, +) { final id = ++_ObjCBlock_bool_NSURL_NSError_closureRegistryIndex; _ObjCBlock_bool_NSURL_NSError_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } bool _ObjCBlock_bool_NSURL_NSError_closureTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1) => - _ObjCBlock_bool_NSURL_NSError_closureRegistry[block.ref.target.address]!( - arg0, arg1); - -class ObjCBlock_bool_NSURL_NSError extends _ObjCBlockBase { - ObjCBlock_bool_NSURL_NSError._(ffi.Pointer<_ObjCBlock> id, SwiftLibrary lib, - {bool retain = false, bool release = true}) - : super._(id, lib, retain: retain, release: release); + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, +) => _ObjCBlock_bool_NSURL_NSError_closureRegistry[block.ref.target.address]!( + arg0, + arg1, +); + +class ObjCBlock_bool_NSURL_NSError extends objc.ObjCBlockBase { + ObjCBlock_bool_NSURL_NSError._( + ffi.Pointer pointer, + this._lib, { + bool retain = false, + bool release = true, + }) : super(pointer, retain: retain, release: release); + + SwiftLibrary _lib; /// Returns a block that wraps the given raw block pointer. static ObjCBlock_bool_NSURL_NSError castFromPointer( - SwiftLibrary lib, ffi.Pointer<_ObjCBlock> pointer, - {bool retain = false, bool release = false}) { - return ObjCBlock_bool_NSURL_NSError._(pointer, lib, - retain: retain, release: release); + SwiftLibrary lib, + ffi.Pointer pointer, { + bool retain = false, + bool release = false, + }) { + return ObjCBlock_bool_NSURL_NSError._( + pointer, + lib, + retain: retain, + release: release, + ); } /// Creates a block from a C function pointer. @@ -45768,23 +59546,26 @@ class ObjCBlock_bool_NSURL_NSError extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_bool_NSURL_NSError.fromFunctionPointer( - SwiftLibrary lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer arg0, - ffi.Pointer arg1)>> - ptr) - : this._( - lib._newBlock1( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Bool Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer)>( - _ObjCBlock_bool_NSURL_NSError_fnPtrTrampoline, false) - .cast(), - ptr.cast()), - lib); + SwiftLibrary lib, + ffi.Pointer< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) + > + > ptr, + ) : this._(objc.newBlock( + _cFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(_ObjCBlock_bool_NSURL_NSError_fnPtrTrampoline, false).cast(), + ptr.cast(), + ), lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -45793,33 +59574,44 @@ class ObjCBlock_bool_NSURL_NSError extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_bool_NSURL_NSError.fromFunction( - SwiftLibrary lib, bool Function(NSURL, NSError) fn) - : this._( - lib._newBlock1( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Bool Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer)>( - _ObjCBlock_bool_NSURL_NSError_closureTrampoline, false) - .cast(), - _ObjCBlock_bool_NSURL_NSError_registerClosure( - (ffi.Pointer arg0, - ffi.Pointer arg1) => - fn(NSURL._(arg0, lib, retain: true, release: true), NSError._(arg1, lib, retain: true, release: true)))), - lib); + SwiftLibrary lib, + bool Function(NSURL, NSError) fn, + ) : this._(objc.newBlock( + _dartFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(_ObjCBlock_bool_NSURL_NSError_closureTrampoline, false).cast(), + _ObjCBlock_bool_NSURL_NSError_registerClosure(( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) => fn( + NSURL._(arg0, lib, retain: true, release: true), + NSError._(arg1, lib, retain: true, release: true), + )), + ), lib); static ffi.Pointer? _dartFuncTrampoline; - bool call(NSURL arg0, NSError arg1) => _id.ref.invoke + bool call(NSURL arg0, NSError arg1) => pointer.ref.invoke .cast< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1)>>() + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, + ) + > + >() .asFunction< - bool Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer, - ffi.Pointer)>()(_id, arg0._id, arg1._id); + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >()(pointer, arg0.pointer, arg1.pointer); } abstract class NSFileManagerItemReplacementOptions { @@ -45828,46 +59620,67 @@ abstract class NSFileManagerItemReplacementOptions { } void _ObjCBlock_ffiVoid_NSDictionary_NSError_fnPtrTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1) => - block.ref.target - .cast< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer arg0, - ffi.Pointer arg1)>>() - .asFunction< - void Function(ffi.Pointer, - ffi.Pointer)>()(arg0, arg1); + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, +) => block.ref.target + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) + > + >() + .asFunction< + void Function(ffi.Pointer, ffi.Pointer) + >()(arg0, arg1); final _ObjCBlock_ffiVoid_NSDictionary_NSError_closureRegistry = - , ffi.Pointer)>{}; + < + int, + void Function(ffi.Pointer, ffi.Pointer) + >{}; int _ObjCBlock_ffiVoid_NSDictionary_NSError_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_ffiVoid_NSDictionary_NSError_registerClosure( - void Function(ffi.Pointer, ffi.Pointer) fn) { + void Function(ffi.Pointer, ffi.Pointer) fn, +) { final id = ++_ObjCBlock_ffiVoid_NSDictionary_NSError_closureRegistryIndex; _ObjCBlock_ffiVoid_NSDictionary_NSError_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } void _ObjCBlock_ffiVoid_NSDictionary_NSError_closureTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1) => - _ObjCBlock_ffiVoid_NSDictionary_NSError_closureRegistry[ - block.ref.target.address]!(arg0, arg1); - -class ObjCBlock_ffiVoid_NSDictionary_NSError extends _ObjCBlockBase { + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, +) => _ObjCBlock_ffiVoid_NSDictionary_NSError_closureRegistry[block + .ref + .target + .address]!(arg0, arg1); + +class ObjCBlock_ffiVoid_NSDictionary_NSError extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSDictionary_NSError._( - ffi.Pointer<_ObjCBlock> id, SwiftLibrary lib, - {bool retain = false, bool release = true}) - : super._(id, lib, retain: retain, release: release); + ffi.Pointer pointer, + this._lib, { + bool retain = false, + bool release = true, + }) : super(pointer, retain: retain, release: release); + + SwiftLibrary _lib; /// Returns a block that wraps the given raw block pointer. static ObjCBlock_ffiVoid_NSDictionary_NSError castFromPointer( - SwiftLibrary lib, ffi.Pointer<_ObjCBlock> pointer, - {bool retain = false, bool release = false}) { - return ObjCBlock_ffiVoid_NSDictionary_NSError._(pointer, lib, - retain: retain, release: release); + SwiftLibrary lib, + ffi.Pointer pointer, { + bool retain = false, + bool release = false, + }) { + return ObjCBlock_ffiVoid_NSDictionary_NSError._( + pointer, + lib, + retain: retain, + release: release, + ); } /// Creates a block from a C function pointer. @@ -45876,23 +59689,26 @@ class ObjCBlock_ffiVoid_NSDictionary_NSError extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSDictionary_NSError.fromFunctionPointer( - SwiftLibrary lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer arg0, - ffi.Pointer arg1)>> - ptr) - : this._( - lib._newBlock1( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_NSDictionary_NSError_fnPtrTrampoline) - .cast(), - ptr.cast()), - lib); + SwiftLibrary lib, + ffi.Pointer< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) + > + > ptr, + ) : this._(objc.newBlock( + _cFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_NSDictionary_NSError_fnPtrTrampoline).cast(), + ptr.cast(), + ), lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -45901,19 +59717,29 @@ class ObjCBlock_ffiVoid_NSDictionary_NSError extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSDictionary_NSError.fromFunction( - SwiftLibrary lib, void Function(NSDictionary?, NSError?) fn) - : this._( - lib._newBlock1( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, ffi.Pointer, ffi.Pointer)>( - _ObjCBlock_ffiVoid_NSDictionary_NSError_closureTrampoline) - .cast(), - _ObjCBlock_ffiVoid_NSDictionary_NSError_registerClosure( - (ffi.Pointer arg0, ffi.Pointer arg1) => fn( - arg0.address == 0 ? null : NSDictionary._(arg0, lib, retain: true, release: true), - arg1.address == 0 ? null : NSError._(arg1, lib, retain: true, release: true)))), - lib); + SwiftLibrary lib, + void Function(NSDictionary?, NSError?) fn, + ) : this._(objc.newBlock( + _dartFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_NSDictionary_NSError_closureTrampoline).cast(), + _ObjCBlock_ffiVoid_NSDictionary_NSError_registerClosure(( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) => fn( + arg0.address == 0 + ? null + : NSDictionary._(arg0, lib, retain: true, release: true), + arg1.address == 0 + ? null + : NSError._(arg1, lib, retain: true, release: true), + )), + ), lib); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -45926,100 +59752,154 @@ class ObjCBlock_ffiVoid_NSDictionary_NSError extends _ObjCBlockBase { /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. ObjCBlock_ffiVoid_NSDictionary_NSError.listener( - SwiftLibrary lib, void Function(NSDictionary?, NSError?) fn) - : this._( - lib._newBlock1( - (_dartFuncListenerTrampoline ??= ffi - .NativeCallable, ffi.Pointer, ffi.Pointer)>.listener( - _ObjCBlock_ffiVoid_NSDictionary_NSError_closureTrampoline) - ..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSDictionary_NSError_registerClosure( - (ffi.Pointer arg0, ffi.Pointer arg1) => fn( - arg0.address == 0 - ? null - : NSDictionary._(arg0, lib, retain: true, release: true), - arg1.address == 0 ? null : NSError._(arg1, lib, retain: true, release: true)))), - lib); + SwiftLibrary lib, + void Function(NSDictionary?, NSError?) fn, + ) : this._(objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >.listener( + _ObjCBlock_ffiVoid_NSDictionary_NSError_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSDictionary_NSError_registerClosure(( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) => fn( + arg0.address == 0 + ? null + : NSDictionary._(arg0, lib, retain: true, release: true), + arg1.address == 0 + ? null + : NSError._(arg1, lib, retain: true, release: true), + )), + ), lib); static ffi.NativeCallable< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer, - ffi.Pointer)>? _dartFuncListenerTrampoline; - - void call(NSDictionary? arg0, NSError? arg1) => _id.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1)>>() - .asFunction< - void Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer, - ffi.Pointer)>()( - _id, arg0?._id ?? ffi.nullptr, arg1?._id ?? ffi.nullptr); + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >? _dartFuncListenerTrampoline; + + void call(NSDictionary? arg0, NSError? arg1) => pointer.ref.invoke + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, + ) + > + >() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >()(pointer, arg0?.pointer ?? ffi.nullptr, arg1?.pointer ?? ffi.nullptr); } class NSMutableArray extends NSArray { - NSMutableArray._(ffi.Pointer id, SwiftLibrary lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSMutableArray._( + ffi.Pointer pointer, + SwiftLibrary lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSMutableArray] that points to the same underlying object as [other]. - static NSMutableArray castFrom(T other) { - return NSMutableArray._(other._id, other._lib, retain: true, release: true); + static NSMutableArray castFrom( + SwiftLibrary lib, + T other, + ) { + return NSMutableArray._(other.pointer, lib, retain: true, release: true); } /// Returns a [NSMutableArray] that wraps the given raw object pointer. static NSMutableArray castFromPointer( - SwiftLibrary lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + SwiftLibrary lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSMutableArray._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSMutableArray]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0(obj._id, obj._lib._sel_isKindOfClass_1, - obj._lib._class_NSMutableArray1); + static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSMutableArray1, + ); } void addObject_(NSObject anObject) { - _lib._objc_msgSend_15(_id, _lib._sel_addObject_1, anObject._id); + _lib._objc_msgSend_15( + this.pointer, + _lib._sel_addObject_1, + anObject.pointer, + ); } void insertObject_atIndex_(NSObject anObject, int index) { _lib._objc_msgSend_469( - _id, _lib._sel_insertObject_atIndex_1, anObject._id, index); + this.pointer, + _lib._sel_insertObject_atIndex_1, + anObject.pointer, + index, + ); } void removeLastObject() { - _lib._objc_msgSend_1(_id, _lib._sel_removeLastObject1); + _lib._objc_msgSend_1(this.pointer, _lib._sel_removeLastObject1); } void removeObjectAtIndex_(int index) { - _lib._objc_msgSend_470(_id, _lib._sel_removeObjectAtIndex_1, index); + _lib._objc_msgSend_470( + this.pointer, + _lib._sel_removeObjectAtIndex_1, + index, + ); } void replaceObjectAtIndex_withObject_(int index, NSObject anObject) { _lib._objc_msgSend_471( - _id, _lib._sel_replaceObjectAtIndex_withObject_1, index, anObject._id); + this.pointer, + _lib._sel_replaceObjectAtIndex_withObject_1, + index, + anObject.pointer, + ); } @override NSMutableArray init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSMutableArray._(_ret, _lib, retain: true, release: true); } NSMutableArray initWithCapacity_(int numItems) { - final _ret = - _lib._objc_msgSend_65(_id, _lib._sel_initWithCapacity_1, numItems); + final _ret = _lib._objc_msgSend_65( + this.pointer, + _lib._sel_initWithCapacity_1, + numItems, + ); return NSMutableArray._(_ret, _lib, retain: true, release: true); } @override NSMutableArray? initWithCoder_(NSCoder coder) { - final _ret = - _lib._objc_msgSend_47(_id, _lib._sel_initWithCoder_1, coder._id); + final _ret = _lib._objc_msgSend_47( + this.pointer, + _lib._sel_initWithCoder_1, + coder.pointer, + ); return _ret.address == 0 ? null : NSMutableArray._(_ret, _lib, retain: true, release: true); @@ -46027,140 +59907,238 @@ class NSMutableArray extends NSArray { void addObjectsFromArray_(NSArray otherArray) { _lib._objc_msgSend_472( - _id, _lib._sel_addObjectsFromArray_1, otherArray._id); + this.pointer, + _lib._sel_addObjectsFromArray_1, + otherArray.pointer, + ); } void exchangeObjectAtIndex_withObjectAtIndex_(int idx1, int idx2) { _lib._objc_msgSend_473( - _id, _lib._sel_exchangeObjectAtIndex_withObjectAtIndex_1, idx1, idx2); + this.pointer, + _lib._sel_exchangeObjectAtIndex_withObjectAtIndex_1, + idx1, + idx2, + ); } void removeAllObjects() { - _lib._objc_msgSend_1(_id, _lib._sel_removeAllObjects1); + _lib._objc_msgSend_1(this.pointer, _lib._sel_removeAllObjects1); } void removeObject_inRange_(NSObject anObject, _NSRange range) { _lib._objc_msgSend_474( - _id, _lib._sel_removeObject_inRange_1, anObject._id, range); + this.pointer, + _lib._sel_removeObject_inRange_1, + anObject.pointer, + range, + ); } void removeObject_(NSObject anObject) { - _lib._objc_msgSend_15(_id, _lib._sel_removeObject_1, anObject._id); + _lib._objc_msgSend_15( + this.pointer, + _lib._sel_removeObject_1, + anObject.pointer, + ); } void removeObjectIdenticalTo_inRange_(NSObject anObject, _NSRange range) { _lib._objc_msgSend_474( - _id, _lib._sel_removeObjectIdenticalTo_inRange_1, anObject._id, range); + this.pointer, + _lib._sel_removeObjectIdenticalTo_inRange_1, + anObject.pointer, + range, + ); } void removeObjectIdenticalTo_(NSObject anObject) { _lib._objc_msgSend_15( - _id, _lib._sel_removeObjectIdenticalTo_1, anObject._id); + this.pointer, + _lib._sel_removeObjectIdenticalTo_1, + anObject.pointer, + ); } void removeObjectsFromIndices_numIndices_( - ffi.Pointer indices, int cnt) { + ffi.Pointer indices, + int cnt, + ) { _lib._objc_msgSend_475( - _id, _lib._sel_removeObjectsFromIndices_numIndices_1, indices, cnt); + this.pointer, + _lib._sel_removeObjectsFromIndices_numIndices_1, + indices, + cnt, + ); } void removeObjectsInArray_(NSArray otherArray) { _lib._objc_msgSend_472( - _id, _lib._sel_removeObjectsInArray_1, otherArray._id); + this.pointer, + _lib._sel_removeObjectsInArray_1, + otherArray.pointer, + ); } void removeObjectsInRange_(_NSRange range) { - _lib._objc_msgSend_476(_id, _lib._sel_removeObjectsInRange_1, range); + _lib._objc_msgSend_476( + this.pointer, + _lib._sel_removeObjectsInRange_1, + range, + ); } void replaceObjectsInRange_withObjectsFromArray_range_( - _NSRange range, NSArray otherArray, _NSRange otherRange) { + _NSRange range, + NSArray otherArray, + _NSRange otherRange, + ) { _lib._objc_msgSend_477( - _id, - _lib._sel_replaceObjectsInRange_withObjectsFromArray_range_1, - range, - otherArray._id, - otherRange); + this.pointer, + _lib._sel_replaceObjectsInRange_withObjectsFromArray_range_1, + range, + otherArray.pointer, + otherRange, + ); } void replaceObjectsInRange_withObjectsFromArray_( - _NSRange range, NSArray otherArray) { + _NSRange range, + NSArray otherArray, + ) { _lib._objc_msgSend_478( - _id, - _lib._sel_replaceObjectsInRange_withObjectsFromArray_1, - range, - otherArray._id); + this.pointer, + _lib._sel_replaceObjectsInRange_withObjectsFromArray_1, + range, + otherArray.pointer, + ); } void setArray_(NSArray otherArray) { - _lib._objc_msgSend_472(_id, _lib._sel_setArray_1, otherArray._id); + _lib._objc_msgSend_472( + this.pointer, + _lib._sel_setArray_1, + otherArray.pointer, + ); } void sortUsingFunction_context_( - ffi.Pointer< - ffi.NativeFunction< - ffi.Long Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>> - compare, - ffi.Pointer context) { + ffi.Pointer< + ffi.NativeFunction< + ffi.Long Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + > compare, + ffi.Pointer context, + ) { _lib._objc_msgSend_479( - _id, _lib._sel_sortUsingFunction_context_1, compare, context); + this.pointer, + _lib._sel_sortUsingFunction_context_1, + compare, + context, + ); } - void sortUsingSelector_(ffi.Pointer comparator) { - _lib._objc_msgSend_7(_id, _lib._sel_sortUsingSelector_1, comparator); + void sortUsingSelector_(ffi.Pointer comparator) { + _lib._objc_msgSend_7( + this.pointer, + _lib._sel_sortUsingSelector_1, + comparator, + ); } void insertObjects_atIndexes_(NSArray objects, NSIndexSet indexes) { _lib._objc_msgSend_480( - _id, _lib._sel_insertObjects_atIndexes_1, objects._id, indexes._id); + this.pointer, + _lib._sel_insertObjects_atIndexes_1, + objects.pointer, + indexes.pointer, + ); } void removeObjectsAtIndexes_(NSIndexSet indexes) { _lib._objc_msgSend_481( - _id, _lib._sel_removeObjectsAtIndexes_1, indexes._id); + this.pointer, + _lib._sel_removeObjectsAtIndexes_1, + indexes.pointer, + ); } void replaceObjectsAtIndexes_withObjects_( - NSIndexSet indexes, NSArray objects) { - _lib._objc_msgSend_482(_id, _lib._sel_replaceObjectsAtIndexes_withObjects_1, - indexes._id, objects._id); + NSIndexSet indexes, + NSArray objects, + ) { + _lib._objc_msgSend_482( + this.pointer, + _lib._sel_replaceObjectsAtIndexes_withObjects_1, + indexes.pointer, + objects.pointer, + ); } void setObject_atIndexedSubscript_(NSObject obj, int idx) { _lib._objc_msgSend_469( - _id, _lib._sel_setObject_atIndexedSubscript_1, obj._id, idx); + this.pointer, + _lib._sel_setObject_atIndexedSubscript_1, + obj.pointer, + idx, + ); } void sortUsingComparator_( - ObjCBlock_NSComparisonResult_ObjCObject_ObjCObject cmptr) { - _lib._objc_msgSend_483(_id, _lib._sel_sortUsingComparator_1, cmptr._id); + ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject cmptr, + ) { + _lib._objc_msgSend_483( + this.pointer, + _lib._sel_sortUsingComparator_1, + cmptr.pointer, + ); } void sortWithOptions_usingComparator_( - int opts, ObjCBlock_NSComparisonResult_ObjCObject_ObjCObject cmptr) { + int opts, + ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject cmptr, + ) { _lib._objc_msgSend_484( - _id, _lib._sel_sortWithOptions_usingComparator_1, opts, cmptr._id); + this.pointer, + _lib._sel_sortWithOptions_usingComparator_1, + opts, + cmptr.pointer, + ); } static NSMutableArray arrayWithCapacity_(SwiftLibrary _lib, int numItems) { final _ret = _lib._objc_msgSend_65( - _lib._class_NSMutableArray1, _lib._sel_arrayWithCapacity_1, numItems); + _lib._class_NSMutableArray1, + _lib._sel_arrayWithCapacity_1, + numItems, + ); return NSMutableArray._(_ret, _lib, retain: true, release: true); } static NSMutableArray? arrayWithContentsOfFile_( - SwiftLibrary _lib, NSString path) { - final _ret = _lib._objc_msgSend_485(_lib._class_NSMutableArray1, - _lib._sel_arrayWithContentsOfFile_1, path._id); + SwiftLibrary _lib, + NSString path, + ) { + final _ret = _lib._objc_msgSend_485( + _lib._class_NSMutableArray1, + _lib._sel_arrayWithContentsOfFile_1, + path.pointer, + ); return _ret.address == 0 ? null : NSMutableArray._(_ret, _lib, retain: true, release: true); } static NSMutableArray? arrayWithContentsOfURL_(SwiftLibrary _lib, NSURL url) { - final _ret = _lib._objc_msgSend_486(_lib._class_NSMutableArray1, - _lib._sel_arrayWithContentsOfURL_1, url._id); + final _ret = _lib._objc_msgSend_486( + _lib._class_NSMutableArray1, + _lib._sel_arrayWithContentsOfURL_1, + url.pointer, + ); return _ret.address == 0 ? null : NSMutableArray._(_ret, _lib, retain: true, release: true); @@ -46168,229 +60146,353 @@ class NSMutableArray extends NSArray { NSMutableArray? initWithContentsOfFile_(NSString path) { final _ret = _lib._objc_msgSend_485( - _id, _lib._sel_initWithContentsOfFile_1, path._id); + this.pointer, + _lib._sel_initWithContentsOfFile_1, + path.pointer, + ); return _ret.address == 0 ? null : NSMutableArray._(_ret, _lib, retain: true, release: true); } NSMutableArray? initWithContentsOfURL_(NSURL url) { - final _ret = - _lib._objc_msgSend_486(_id, _lib._sel_initWithContentsOfURL_1, url._id); + final _ret = _lib._objc_msgSend_486( + this.pointer, + _lib._sel_initWithContentsOfURL_1, + url.pointer, + ); return _ret.address == 0 ? null : NSMutableArray._(_ret, _lib, retain: true, release: true); } void applyDifference_(NSObject difference) { - _lib._objc_msgSend_15(_id, _lib._sel_applyDifference_1, difference._id); + _lib._objc_msgSend_15( + this.pointer, + _lib._sel_applyDifference_1, + difference.pointer, + ); } void sortUsingDescriptors_(NSArray sortDescriptors) { _lib._objc_msgSend_472( - _id, _lib._sel_sortUsingDescriptors_1, sortDescriptors._id); + this.pointer, + _lib._sel_sortUsingDescriptors_1, + sortDescriptors.pointer, + ); } void filterUsingPredicate_(NSPredicate predicate) { _lib._objc_msgSend_487( - _id, _lib._sel_filterUsingPredicate_1, predicate._id); + this.pointer, + _lib._sel_filterUsingPredicate_1, + predicate.pointer, + ); } @override NSMutableArray initWithObjects_count_( - ffi.Pointer> objects, int cnt) { + ffi.Pointer> objects, + int cnt, + ) { final _ret = _lib._objc_msgSend_66( - _id, _lib._sel_initWithObjects_count_1, objects, cnt); + this.pointer, + _lib._sel_initWithObjects_count_1, + objects, + cnt, + ); return NSMutableArray._(_ret, _lib, retain: true, release: true); } static NSMutableArray array(SwiftLibrary _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSMutableArray1, _lib._sel_array1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSMutableArray1, + _lib._sel_array1, + ); return NSMutableArray._(_ret, _lib, retain: true, release: true); } static NSMutableArray arrayWithObject_(SwiftLibrary _lib, NSObject anObject) { final _ret = _lib._objc_msgSend_124( - _lib._class_NSMutableArray1, _lib._sel_arrayWithObject_1, anObject._id); + _lib._class_NSMutableArray1, + _lib._sel_arrayWithObject_1, + anObject.pointer, + ); return NSMutableArray._(_ret, _lib, retain: true, release: true); } - static NSMutableArray arrayWithObjects_count_(SwiftLibrary _lib, - ffi.Pointer> objects, int cnt) { - final _ret = _lib._objc_msgSend_66(_lib._class_NSMutableArray1, - _lib._sel_arrayWithObjects_count_1, objects, cnt); + static NSMutableArray arrayWithObjects_count_( + SwiftLibrary _lib, + ffi.Pointer> objects, + int cnt, + ) { + final _ret = _lib._objc_msgSend_66( + _lib._class_NSMutableArray1, + _lib._sel_arrayWithObjects_count_1, + objects, + cnt, + ); return NSMutableArray._(_ret, _lib, retain: true, release: true); } static NSMutableArray arrayWithObjects_( - SwiftLibrary _lib, NSObject firstObj) { - final _ret = _lib._objc_msgSend_124(_lib._class_NSMutableArray1, - _lib._sel_arrayWithObjects_1, firstObj._id); + SwiftLibrary _lib, + NSObject firstObj, + ) { + final _ret = _lib._objc_msgSend_124( + _lib._class_NSMutableArray1, + _lib._sel_arrayWithObjects_1, + firstObj.pointer, + ); return NSMutableArray._(_ret, _lib, retain: true, release: true); } static NSMutableArray arrayWithArray_(SwiftLibrary _lib, NSArray array) { final _ret = _lib._objc_msgSend_125( - _lib._class_NSMutableArray1, _lib._sel_arrayWithArray_1, array._id); + _lib._class_NSMutableArray1, + _lib._sel_arrayWithArray_1, + array.pointer, + ); return NSMutableArray._(_ret, _lib, retain: true, release: true); } @override NSMutableArray initWithObjects_(NSObject firstObj) { - final _ret = - _lib._objc_msgSend_124(_id, _lib._sel_initWithObjects_1, firstObj._id); + final _ret = _lib._objc_msgSend_124( + this.pointer, + _lib._sel_initWithObjects_1, + firstObj.pointer, + ); return NSMutableArray._(_ret, _lib, retain: true, release: true); } @override NSMutableArray initWithArray_(NSArray array) { - final _ret = - _lib._objc_msgSend_125(_id, _lib._sel_initWithArray_1, array._id); + final _ret = _lib._objc_msgSend_125( + this.pointer, + _lib._sel_initWithArray_1, + array.pointer, + ); return NSMutableArray._(_ret, _lib, retain: true, release: true); } @override NSMutableArray initWithArray_copyItems_(NSArray array, bool flag) { final _ret = _lib._objc_msgSend_126( - _id, _lib._sel_initWithArray_copyItems_1, array._id, flag); + this.pointer, + _lib._sel_initWithArray_copyItems_1, + array.pointer, + flag, + ); return NSMutableArray._(_ret, _lib, retain: false, release: true); } - static NSArray? arrayWithContentsOfURL_error_(SwiftLibrary _lib, NSURL url, - ffi.Pointer> error) { - final _ret = _lib._objc_msgSend_127(_lib._class_NSMutableArray1, - _lib._sel_arrayWithContentsOfURL_error_1, url._id, error); + static NSArray? arrayWithContentsOfURL_error_( + SwiftLibrary _lib, + NSURL url, + ffi.Pointer> error, + ) { + final _ret = _lib._objc_msgSend_127( + _lib._class_NSMutableArray1, + _lib._sel_arrayWithContentsOfURL_error_1, + url.pointer, + error, + ); return _ret.address == 0 ? null : NSArray._(_ret, _lib, retain: true, release: true); } static NSMutableArray new1(SwiftLibrary _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSMutableArray1, _lib._sel_new1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSMutableArray1, + _lib._sel_new1, + ); return NSMutableArray._(_ret, _lib, retain: false, release: true); } static NSMutableArray allocWithZone_( - SwiftLibrary _lib, ffi.Pointer<_NSZone> zone) { + SwiftLibrary _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSMutableArray1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSMutableArray1, + _lib._sel_allocWithZone_1, + zone, + ); return NSMutableArray._(_ret, _lib, retain: false, release: true); } static NSMutableArray alloc(SwiftLibrary _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSMutableArray1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSMutableArray1, + _lib._sel_alloc1, + ); return NSMutableArray._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + SwiftLibrary _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSMutableArray1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSMutableArray1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSMutableArray1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + SwiftLibrary _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSMutableArray1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { - return _lib._objc_msgSend_12(_lib._class_NSMutableArray1, - _lib._sel_accessInstanceVariablesDirectly1); + return _lib._objc_msgSend_12( + _lib._class_NSMutableArray1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(SwiftLibrary _lib) { return _lib._objc_msgSend_12( - _lib._class_NSMutableArray1, _lib._sel_useStoredAccessor1); + _lib._class_NSMutableArray1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSMutableArray1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSMutableArray1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSMutableArray1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSMutableArray1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, NSArray keys, NSString dependentKey) { + SwiftLibrary _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSMutableArray1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSMutableArray1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_85( - _lib._class_NSMutableArray1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSMutableArray1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSMutableArray1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSMutableArray1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } class NSMutableOrderedSet extends NSOrderedSet { - NSMutableOrderedSet._(ffi.Pointer id, SwiftLibrary lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSMutableOrderedSet._( + ffi.Pointer pointer, + SwiftLibrary lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSMutableOrderedSet] that points to the same underlying object as [other]. - static NSMutableOrderedSet castFrom(T other) { - return NSMutableOrderedSet._(other._id, other._lib, - retain: true, release: true); + static NSMutableOrderedSet castFrom( + SwiftLibrary lib, + T other, + ) { + return NSMutableOrderedSet._( + other.pointer, + lib, + retain: true, + release: true, + ); } /// Returns a [NSMutableOrderedSet] that wraps the given raw object pointer. static NSMutableOrderedSet castFromPointer( - SwiftLibrary lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + SwiftLibrary lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSMutableOrderedSet._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSMutableOrderedSet]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0(obj._id, obj._lib._sel_isKindOfClass_1, - obj._lib._class_NSMutableOrderedSet1); + static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSMutableOrderedSet1, + ); } void insertObject_atIndex_(NSObject object, int idx) { _lib._objc_msgSend_469( - _id, _lib._sel_insertObject_atIndex_1, object._id, idx); + this.pointer, + _lib._sel_insertObject_atIndex_1, + object.pointer, + idx, + ); } void removeObjectAtIndex_(int idx) { - _lib._objc_msgSend_470(_id, _lib._sel_removeObjectAtIndex_1, idx); + _lib._objc_msgSend_470(this.pointer, _lib._sel_removeObjectAtIndex_1, idx); } void replaceObjectAtIndex_withObject_(int idx, NSObject object) { _lib._objc_msgSend_471( - _id, _lib._sel_replaceObjectAtIndex_withObject_1, idx, object._id); + this.pointer, + _lib._sel_replaceObjectAtIndex_withObject_1, + idx, + object.pointer, + ); } @override NSMutableOrderedSet? initWithCoder_(NSCoder coder) { - final _ret = - _lib._objc_msgSend_47(_id, _lib._sel_initWithCoder_1, coder._id); + final _ret = _lib._objc_msgSend_47( + this.pointer, + _lib._sel_initWithCoder_1, + coder.pointer, + ); return _ret.address == 0 ? null : NSMutableOrderedSet._(_ret, _lib, retain: true, release: true); @@ -46398,467 +60500,756 @@ class NSMutableOrderedSet extends NSOrderedSet { @override NSMutableOrderedSet init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSMutableOrderedSet._(_ret, _lib, retain: true, release: true); } NSMutableOrderedSet initWithCapacity_(int numItems) { - final _ret = - _lib._objc_msgSend_65(_id, _lib._sel_initWithCapacity_1, numItems); + final _ret = _lib._objc_msgSend_65( + this.pointer, + _lib._sel_initWithCapacity_1, + numItems, + ); return NSMutableOrderedSet._(_ret, _lib, retain: true, release: true); } void addObject_(NSObject object) { - _lib._objc_msgSend_15(_id, _lib._sel_addObject_1, object._id); + _lib._objc_msgSend_15(this.pointer, _lib._sel_addObject_1, object.pointer); } void addObjects_count_( - ffi.Pointer> objects, int count) { - _lib._objc_msgSend_500(_id, _lib._sel_addObjects_count_1, objects, count); + ffi.Pointer> objects, + int count, + ) { + _lib._objc_msgSend_500( + this.pointer, + _lib._sel_addObjects_count_1, + objects, + count, + ); } void addObjectsFromArray_(NSArray array) { - _lib._objc_msgSend_472(_id, _lib._sel_addObjectsFromArray_1, array._id); + _lib._objc_msgSend_472( + this.pointer, + _lib._sel_addObjectsFromArray_1, + array.pointer, + ); } void exchangeObjectAtIndex_withObjectAtIndex_(int idx1, int idx2) { _lib._objc_msgSend_473( - _id, _lib._sel_exchangeObjectAtIndex_withObjectAtIndex_1, idx1, idx2); + this.pointer, + _lib._sel_exchangeObjectAtIndex_withObjectAtIndex_1, + idx1, + idx2, + ); } void moveObjectsAtIndexes_toIndex_(NSIndexSet indexes, int idx) { _lib._objc_msgSend_501( - _id, _lib._sel_moveObjectsAtIndexes_toIndex_1, indexes._id, idx); + this.pointer, + _lib._sel_moveObjectsAtIndexes_toIndex_1, + indexes.pointer, + idx, + ); } void insertObjects_atIndexes_(NSArray objects, NSIndexSet indexes) { _lib._objc_msgSend_480( - _id, _lib._sel_insertObjects_atIndexes_1, objects._id, indexes._id); + this.pointer, + _lib._sel_insertObjects_atIndexes_1, + objects.pointer, + indexes.pointer, + ); } void setObject_atIndex_(NSObject obj, int idx) { - _lib._objc_msgSend_469(_id, _lib._sel_setObject_atIndex_1, obj._id, idx); + _lib._objc_msgSend_469( + this.pointer, + _lib._sel_setObject_atIndex_1, + obj.pointer, + idx, + ); } void setObject_atIndexedSubscript_(NSObject obj, int idx) { _lib._objc_msgSend_469( - _id, _lib._sel_setObject_atIndexedSubscript_1, obj._id, idx); + this.pointer, + _lib._sel_setObject_atIndexedSubscript_1, + obj.pointer, + idx, + ); } void replaceObjectsInRange_withObjects_count_( - _NSRange range, ffi.Pointer> objects, int count) { + _NSRange range, + ffi.Pointer> objects, + int count, + ) { _lib._objc_msgSend_502( - _id, - _lib._sel_replaceObjectsInRange_withObjects_count_1, - range, - objects, - count); + this.pointer, + _lib._sel_replaceObjectsInRange_withObjects_count_1, + range, + objects, + count, + ); } void replaceObjectsAtIndexes_withObjects_( - NSIndexSet indexes, NSArray objects) { - _lib._objc_msgSend_482(_id, _lib._sel_replaceObjectsAtIndexes_withObjects_1, - indexes._id, objects._id); + NSIndexSet indexes, + NSArray objects, + ) { + _lib._objc_msgSend_482( + this.pointer, + _lib._sel_replaceObjectsAtIndexes_withObjects_1, + indexes.pointer, + objects.pointer, + ); } void removeObjectsInRange_(_NSRange range) { - _lib._objc_msgSend_476(_id, _lib._sel_removeObjectsInRange_1, range); + _lib._objc_msgSend_476( + this.pointer, + _lib._sel_removeObjectsInRange_1, + range, + ); } void removeObjectsAtIndexes_(NSIndexSet indexes) { _lib._objc_msgSend_481( - _id, _lib._sel_removeObjectsAtIndexes_1, indexes._id); + this.pointer, + _lib._sel_removeObjectsAtIndexes_1, + indexes.pointer, + ); } void removeAllObjects() { - _lib._objc_msgSend_1(_id, _lib._sel_removeAllObjects1); + _lib._objc_msgSend_1(this.pointer, _lib._sel_removeAllObjects1); } void removeObject_(NSObject object) { - _lib._objc_msgSend_15(_id, _lib._sel_removeObject_1, object._id); + _lib._objc_msgSend_15( + this.pointer, + _lib._sel_removeObject_1, + object.pointer, + ); } void removeObjectsInArray_(NSArray array) { - _lib._objc_msgSend_472(_id, _lib._sel_removeObjectsInArray_1, array._id); + _lib._objc_msgSend_472( + this.pointer, + _lib._sel_removeObjectsInArray_1, + array.pointer, + ); } void intersectOrderedSet_(NSOrderedSet other) { - _lib._objc_msgSend_503(_id, _lib._sel_intersectOrderedSet_1, other._id); + _lib._objc_msgSend_503( + this.pointer, + _lib._sel_intersectOrderedSet_1, + other.pointer, + ); } void minusOrderedSet_(NSOrderedSet other) { - _lib._objc_msgSend_503(_id, _lib._sel_minusOrderedSet_1, other._id); + _lib._objc_msgSend_503( + this.pointer, + _lib._sel_minusOrderedSet_1, + other.pointer, + ); } void unionOrderedSet_(NSOrderedSet other) { - _lib._objc_msgSend_503(_id, _lib._sel_unionOrderedSet_1, other._id); + _lib._objc_msgSend_503( + this.pointer, + _lib._sel_unionOrderedSet_1, + other.pointer, + ); } void intersectSet_(NSSet other) { - _lib._objc_msgSend_504(_id, _lib._sel_intersectSet_1, other._id); + _lib._objc_msgSend_504( + this.pointer, + _lib._sel_intersectSet_1, + other.pointer, + ); } void minusSet_(NSSet other) { - _lib._objc_msgSend_504(_id, _lib._sel_minusSet_1, other._id); + _lib._objc_msgSend_504(this.pointer, _lib._sel_minusSet_1, other.pointer); } void unionSet_(NSSet other) { - _lib._objc_msgSend_504(_id, _lib._sel_unionSet_1, other._id); + _lib._objc_msgSend_504(this.pointer, _lib._sel_unionSet_1, other.pointer); } void sortUsingComparator_( - ObjCBlock_NSComparisonResult_ObjCObject_ObjCObject cmptr) { - _lib._objc_msgSend_483(_id, _lib._sel_sortUsingComparator_1, cmptr._id); + ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject cmptr, + ) { + _lib._objc_msgSend_483( + this.pointer, + _lib._sel_sortUsingComparator_1, + cmptr.pointer, + ); } void sortWithOptions_usingComparator_( - int opts, ObjCBlock_NSComparisonResult_ObjCObject_ObjCObject cmptr) { + int opts, + ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject cmptr, + ) { _lib._objc_msgSend_484( - _id, _lib._sel_sortWithOptions_usingComparator_1, opts, cmptr._id); + this.pointer, + _lib._sel_sortWithOptions_usingComparator_1, + opts, + cmptr.pointer, + ); } - void sortRange_options_usingComparator_(_NSRange range, int opts, - ObjCBlock_NSComparisonResult_ObjCObject_ObjCObject cmptr) { - _lib._objc_msgSend_505(_id, _lib._sel_sortRange_options_usingComparator_1, - range, opts, cmptr._id); + void sortRange_options_usingComparator_( + _NSRange range, + int opts, + ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject cmptr, + ) { + _lib._objc_msgSend_505( + this.pointer, + _lib._sel_sortRange_options_usingComparator_1, + range, + opts, + cmptr.pointer, + ); } static NSMutableOrderedSet orderedSetWithCapacity_( - SwiftLibrary _lib, int numItems) { - final _ret = _lib._objc_msgSend_65(_lib._class_NSMutableOrderedSet1, - _lib._sel_orderedSetWithCapacity_1, numItems); + SwiftLibrary _lib, + int numItems, + ) { + final _ret = _lib._objc_msgSend_65( + _lib._class_NSMutableOrderedSet1, + _lib._sel_orderedSetWithCapacity_1, + numItems, + ); return NSMutableOrderedSet._(_ret, _lib, retain: true, release: true); } void applyDifference_(NSObject difference) { - _lib._objc_msgSend_15(_id, _lib._sel_applyDifference_1, difference._id); + _lib._objc_msgSend_15( + this.pointer, + _lib._sel_applyDifference_1, + difference.pointer, + ); } void sortUsingDescriptors_(NSArray sortDescriptors) { _lib._objc_msgSend_472( - _id, _lib._sel_sortUsingDescriptors_1, sortDescriptors._id); + this.pointer, + _lib._sel_sortUsingDescriptors_1, + sortDescriptors.pointer, + ); } void filterUsingPredicate_(NSPredicate p) { - _lib._objc_msgSend_487(_id, _lib._sel_filterUsingPredicate_1, p._id); + _lib._objc_msgSend_487( + this.pointer, + _lib._sel_filterUsingPredicate_1, + p.pointer, + ); } @override NSMutableOrderedSet initWithObjects_count_( - ffi.Pointer> objects, int cnt) { + ffi.Pointer> objects, + int cnt, + ) { final _ret = _lib._objc_msgSend_66( - _id, _lib._sel_initWithObjects_count_1, objects, cnt); + this.pointer, + _lib._sel_initWithObjects_count_1, + objects, + cnt, + ); return NSMutableOrderedSet._(_ret, _lib, retain: true, release: true); } static NSMutableOrderedSet orderedSet(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSMutableOrderedSet1, _lib._sel_orderedSet1); + _lib._class_NSMutableOrderedSet1, + _lib._sel_orderedSet1, + ); return NSMutableOrderedSet._(_ret, _lib, retain: true, release: true); } static NSMutableOrderedSet orderedSetWithObject_( - SwiftLibrary _lib, NSObject object) { - final _ret = _lib._objc_msgSend_124(_lib._class_NSMutableOrderedSet1, - _lib._sel_orderedSetWithObject_1, object._id); + SwiftLibrary _lib, + NSObject object, + ) { + final _ret = _lib._objc_msgSend_124( + _lib._class_NSMutableOrderedSet1, + _lib._sel_orderedSetWithObject_1, + object.pointer, + ); return NSMutableOrderedSet._(_ret, _lib, retain: true, release: true); } - static NSMutableOrderedSet orderedSetWithObjects_count_(SwiftLibrary _lib, - ffi.Pointer> objects, int cnt) { - final _ret = _lib._objc_msgSend_66(_lib._class_NSMutableOrderedSet1, - _lib._sel_orderedSetWithObjects_count_1, objects, cnt); + static NSMutableOrderedSet orderedSetWithObjects_count_( + SwiftLibrary _lib, + ffi.Pointer> objects, + int cnt, + ) { + final _ret = _lib._objc_msgSend_66( + _lib._class_NSMutableOrderedSet1, + _lib._sel_orderedSetWithObjects_count_1, + objects, + cnt, + ); return NSMutableOrderedSet._(_ret, _lib, retain: true, release: true); } static NSMutableOrderedSet orderedSetWithObjects_( - SwiftLibrary _lib, NSObject firstObj) { - final _ret = _lib._objc_msgSend_124(_lib._class_NSMutableOrderedSet1, - _lib._sel_orderedSetWithObjects_1, firstObj._id); + SwiftLibrary _lib, + NSObject firstObj, + ) { + final _ret = _lib._objc_msgSend_124( + _lib._class_NSMutableOrderedSet1, + _lib._sel_orderedSetWithObjects_1, + firstObj.pointer, + ); return NSMutableOrderedSet._(_ret, _lib, retain: true, release: true); } static NSMutableOrderedSet orderedSetWithOrderedSet_( - SwiftLibrary _lib, NSOrderedSet set) { - final _ret = _lib._objc_msgSend_492(_lib._class_NSMutableOrderedSet1, - _lib._sel_orderedSetWithOrderedSet_1, set._id); + SwiftLibrary _lib, + NSOrderedSet set, + ) { + final _ret = _lib._objc_msgSend_492( + _lib._class_NSMutableOrderedSet1, + _lib._sel_orderedSetWithOrderedSet_1, + set.pointer, + ); return NSMutableOrderedSet._(_ret, _lib, retain: true, release: true); } static NSMutableOrderedSet orderedSetWithOrderedSet_range_copyItems_( - SwiftLibrary _lib, NSOrderedSet set, _NSRange range, bool flag) { + SwiftLibrary _lib, + NSOrderedSet set, + _NSRange range, + bool flag, + ) { final _ret = _lib._objc_msgSend_493( - _lib._class_NSMutableOrderedSet1, - _lib._sel_orderedSetWithOrderedSet_range_copyItems_1, - set._id, - range, - flag); + _lib._class_NSMutableOrderedSet1, + _lib._sel_orderedSetWithOrderedSet_range_copyItems_1, + set.pointer, + range, + flag, + ); return NSMutableOrderedSet._(_ret, _lib, retain: false, release: true); } static NSMutableOrderedSet orderedSetWithArray_( - SwiftLibrary _lib, NSArray array) { - final _ret = _lib._objc_msgSend_125(_lib._class_NSMutableOrderedSet1, - _lib._sel_orderedSetWithArray_1, array._id); + SwiftLibrary _lib, + NSArray array, + ) { + final _ret = _lib._objc_msgSend_125( + _lib._class_NSMutableOrderedSet1, + _lib._sel_orderedSetWithArray_1, + array.pointer, + ); return NSMutableOrderedSet._(_ret, _lib, retain: true, release: true); } static NSMutableOrderedSet orderedSetWithArray_range_copyItems_( - SwiftLibrary _lib, NSArray array, _NSRange range, bool flag) { + SwiftLibrary _lib, + NSArray array, + _NSRange range, + bool flag, + ) { final _ret = _lib._objc_msgSend_494( - _lib._class_NSMutableOrderedSet1, - _lib._sel_orderedSetWithArray_range_copyItems_1, - array._id, - range, - flag); + _lib._class_NSMutableOrderedSet1, + _lib._sel_orderedSetWithArray_range_copyItems_1, + array.pointer, + range, + flag, + ); return NSMutableOrderedSet._(_ret, _lib, retain: false, release: true); } static NSMutableOrderedSet orderedSetWithSet_(SwiftLibrary _lib, NSSet set) { - final _ret = _lib._objc_msgSend_411(_lib._class_NSMutableOrderedSet1, - _lib._sel_orderedSetWithSet_1, set._id); + final _ret = _lib._objc_msgSend_411( + _lib._class_NSMutableOrderedSet1, + _lib._sel_orderedSetWithSet_1, + set.pointer, + ); return NSMutableOrderedSet._(_ret, _lib, retain: true, release: true); } static NSMutableOrderedSet orderedSetWithSet_copyItems_( - SwiftLibrary _lib, NSSet set, bool flag) { - final _ret = _lib._objc_msgSend_412(_lib._class_NSMutableOrderedSet1, - _lib._sel_orderedSetWithSet_copyItems_1, set._id, flag); + SwiftLibrary _lib, + NSSet set, + bool flag, + ) { + final _ret = _lib._objc_msgSend_412( + _lib._class_NSMutableOrderedSet1, + _lib._sel_orderedSetWithSet_copyItems_1, + set.pointer, + flag, + ); return NSMutableOrderedSet._(_ret, _lib, retain: false, release: true); } @override NSMutableOrderedSet initWithObject_(NSObject object) { - final _ret = - _lib._objc_msgSend_124(_id, _lib._sel_initWithObject_1, object._id); + final _ret = _lib._objc_msgSend_124( + this.pointer, + _lib._sel_initWithObject_1, + object.pointer, + ); return NSMutableOrderedSet._(_ret, _lib, retain: true, release: true); } @override NSMutableOrderedSet initWithObjects_(NSObject firstObj) { - final _ret = - _lib._objc_msgSend_124(_id, _lib._sel_initWithObjects_1, firstObj._id); + final _ret = _lib._objc_msgSend_124( + this.pointer, + _lib._sel_initWithObjects_1, + firstObj.pointer, + ); return NSMutableOrderedSet._(_ret, _lib, retain: true, release: true); } @override NSMutableOrderedSet initWithOrderedSet_(NSOrderedSet set) { - final _ret = - _lib._objc_msgSend_492(_id, _lib._sel_initWithOrderedSet_1, set._id); + final _ret = _lib._objc_msgSend_492( + this.pointer, + _lib._sel_initWithOrderedSet_1, + set.pointer, + ); return NSMutableOrderedSet._(_ret, _lib, retain: true, release: true); } @override NSMutableOrderedSet initWithOrderedSet_copyItems_( - NSOrderedSet set, bool flag) { + NSOrderedSet set, + bool flag, + ) { final _ret = _lib._objc_msgSend_495( - _id, _lib._sel_initWithOrderedSet_copyItems_1, set._id, flag); + this.pointer, + _lib._sel_initWithOrderedSet_copyItems_1, + set.pointer, + flag, + ); return NSMutableOrderedSet._(_ret, _lib, retain: false, release: true); } @override NSMutableOrderedSet initWithOrderedSet_range_copyItems_( - NSOrderedSet set, _NSRange range, bool flag) { - final _ret = _lib._objc_msgSend_493(_id, - _lib._sel_initWithOrderedSet_range_copyItems_1, set._id, range, flag); + NSOrderedSet set, + _NSRange range, + bool flag, + ) { + final _ret = _lib._objc_msgSend_493( + this.pointer, + _lib._sel_initWithOrderedSet_range_copyItems_1, + set.pointer, + range, + flag, + ); return NSMutableOrderedSet._(_ret, _lib, retain: false, release: true); } @override NSMutableOrderedSet initWithArray_(NSArray array) { - final _ret = - _lib._objc_msgSend_125(_id, _lib._sel_initWithArray_1, array._id); + final _ret = _lib._objc_msgSend_125( + this.pointer, + _lib._sel_initWithArray_1, + array.pointer, + ); return NSMutableOrderedSet._(_ret, _lib, retain: true, release: true); } @override NSMutableOrderedSet initWithArray_copyItems_(NSArray set, bool flag) { final _ret = _lib._objc_msgSend_126( - _id, _lib._sel_initWithArray_copyItems_1, set._id, flag); + this.pointer, + _lib._sel_initWithArray_copyItems_1, + set.pointer, + flag, + ); return NSMutableOrderedSet._(_ret, _lib, retain: false, release: true); } @override NSMutableOrderedSet initWithArray_range_copyItems_( - NSArray set, _NSRange range, bool flag) { + NSArray set, + _NSRange range, + bool flag, + ) { final _ret = _lib._objc_msgSend_494( - _id, _lib._sel_initWithArray_range_copyItems_1, set._id, range, flag); + this.pointer, + _lib._sel_initWithArray_range_copyItems_1, + set.pointer, + range, + flag, + ); return NSMutableOrderedSet._(_ret, _lib, retain: false, release: true); } @override NSMutableOrderedSet initWithSet_(NSSet set) { - final _ret = _lib._objc_msgSend_411(_id, _lib._sel_initWithSet_1, set._id); + final _ret = _lib._objc_msgSend_411( + this.pointer, + _lib._sel_initWithSet_1, + set.pointer, + ); return NSMutableOrderedSet._(_ret, _lib, retain: true, release: true); } @override NSMutableOrderedSet initWithSet_copyItems_(NSSet set, bool flag) { final _ret = _lib._objc_msgSend_412( - _id, _lib._sel_initWithSet_copyItems_1, set._id, flag); + this.pointer, + _lib._sel_initWithSet_copyItems_1, + set.pointer, + flag, + ); return NSMutableOrderedSet._(_ret, _lib, retain: false, release: true); } static NSMutableOrderedSet new1(SwiftLibrary _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSMutableOrderedSet1, _lib._sel_new1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSMutableOrderedSet1, + _lib._sel_new1, + ); return NSMutableOrderedSet._(_ret, _lib, retain: false, release: true); } static NSMutableOrderedSet allocWithZone_( - SwiftLibrary _lib, ffi.Pointer<_NSZone> zone) { + SwiftLibrary _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSMutableOrderedSet1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSMutableOrderedSet1, + _lib._sel_allocWithZone_1, + zone, + ); return NSMutableOrderedSet._(_ret, _lib, retain: false, release: true); } static NSMutableOrderedSet alloc(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSMutableOrderedSet1, _lib._sel_alloc1); + _lib._class_NSMutableOrderedSet1, + _lib._sel_alloc1, + ); return NSMutableOrderedSet._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + SwiftLibrary _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSMutableOrderedSet1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSMutableOrderedSet1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSMutableOrderedSet1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + SwiftLibrary _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSMutableOrderedSet1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { - return _lib._objc_msgSend_12(_lib._class_NSMutableOrderedSet1, - _lib._sel_accessInstanceVariablesDirectly1); + return _lib._objc_msgSend_12( + _lib._class_NSMutableOrderedSet1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(SwiftLibrary _lib) { return _lib._objc_msgSend_12( - _lib._class_NSMutableOrderedSet1, _lib._sel_useStoredAccessor1); + _lib._class_NSMutableOrderedSet1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSMutableOrderedSet1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSMutableOrderedSet1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSMutableOrderedSet1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSMutableOrderedSet1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, NSArray keys, NSString dependentKey) { + SwiftLibrary _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSMutableOrderedSet1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSMutableOrderedSet1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_85(_lib._class_NSMutableOrderedSet1, - _lib._sel_classFallbacksForKeyedArchiver1); + final _ret = _lib._objc_msgSend_85( + _lib._class_NSMutableOrderedSet1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSMutableOrderedSet1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSMutableOrderedSet1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } class NSOrderedSet extends NSObject { - NSOrderedSet._(ffi.Pointer id, SwiftLibrary lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSOrderedSet._( + ffi.Pointer pointer, + SwiftLibrary lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSOrderedSet] that points to the same underlying object as [other]. - static NSOrderedSet castFrom(T other) { - return NSOrderedSet._(other._id, other._lib, retain: true, release: true); + static NSOrderedSet castFrom( + SwiftLibrary lib, + T other, + ) { + return NSOrderedSet._(other.pointer, lib, retain: true, release: true); } /// Returns a [NSOrderedSet] that wraps the given raw object pointer. static NSOrderedSet castFromPointer( - SwiftLibrary lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + SwiftLibrary lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSOrderedSet._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSOrderedSet]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_NSOrderedSet1); + static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSOrderedSet1, + ); } int get count { - return _lib._objc_msgSend_10(_id, _lib._sel_count1); + return _lib._objc_msgSend_10(this.pointer, _lib._sel_count1); } NSObject objectAtIndex_(int idx) { - final _ret = _lib._objc_msgSend_65(_id, _lib._sel_objectAtIndex_1, idx); + final _ret = _lib._objc_msgSend_65( + this.pointer, + _lib._sel_objectAtIndex_1, + idx, + ); return NSObject._(_ret, _lib, retain: true, release: true); } int indexOfObject_(NSObject object) { - return _lib._objc_msgSend_74(_id, _lib._sel_indexOfObject_1, object._id); + return _lib._objc_msgSend_74( + this.pointer, + _lib._sel_indexOfObject_1, + object.pointer, + ); } @override NSOrderedSet init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSOrderedSet._(_ret, _lib, retain: true, release: true); } NSOrderedSet initWithObjects_count_( - ffi.Pointer> objects, int cnt) { + ffi.Pointer> objects, + int cnt, + ) { final _ret = _lib._objc_msgSend_66( - _id, _lib._sel_initWithObjects_count_1, objects, cnt); + this.pointer, + _lib._sel_initWithObjects_count_1, + objects, + cnt, + ); return NSOrderedSet._(_ret, _lib, retain: true, release: true); } NSOrderedSet? initWithCoder_(NSCoder coder) { - final _ret = - _lib._objc_msgSend_47(_id, _lib._sel_initWithCoder_1, coder._id); + final _ret = _lib._objc_msgSend_47( + this.pointer, + _lib._sel_initWithCoder_1, + coder.pointer, + ); return _ret.address == 0 ? null : NSOrderedSet._(_ret, _lib, retain: true, release: true); } void getObjects_range_( - ffi.Pointer> objects, _NSRange range) { - _lib._objc_msgSend_73(_id, _lib._sel_getObjects_range_1, objects, range); + ffi.Pointer> objects, + _NSRange range, + ) { + _lib._objc_msgSend_73( + this.pointer, + _lib._sel_getObjects_range_1, + objects, + range, + ); } NSArray objectsAtIndexes_(NSIndexSet indexes) { - final _ret = - _lib._objc_msgSend_111(_id, _lib._sel_objectsAtIndexes_1, indexes._id); + final _ret = _lib._objc_msgSend_111( + this.pointer, + _lib._sel_objectsAtIndexes_1, + indexes.pointer, + ); return NSArray._(_ret, _lib, retain: true, release: true); } NSObject? get firstObject { - final _ret = _lib._objc_msgSend_17(_id, _lib._sel_firstObject1); + final _ret = _lib._objc_msgSend_17(this.pointer, _lib._sel_firstObject1); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } NSObject? get lastObject { - final _ret = _lib._objc_msgSend_17(_id, _lib._sel_lastObject1); + final _ret = _lib._objc_msgSend_17(this.pointer, _lib._sel_lastObject1); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); @@ -46866,518 +61257,799 @@ class NSOrderedSet extends NSObject { bool isEqualToOrderedSet_(NSOrderedSet other) { return _lib._objc_msgSend_489( - _id, _lib._sel_isEqualToOrderedSet_1, other._id); + this.pointer, + _lib._sel_isEqualToOrderedSet_1, + other.pointer, + ); } bool containsObject_(NSObject object) { - return _lib._objc_msgSend_0(_id, _lib._sel_containsObject_1, object._id); + return _lib._objc_msgSend_0( + this.pointer, + _lib._sel_containsObject_1, + object.pointer, + ); } bool intersectsOrderedSet_(NSOrderedSet other) { return _lib._objc_msgSend_489( - _id, _lib._sel_intersectsOrderedSet_1, other._id); + this.pointer, + _lib._sel_intersectsOrderedSet_1, + other.pointer, + ); } bool intersectsSet_(NSSet set) { - return _lib._objc_msgSend_403(_id, _lib._sel_intersectsSet_1, set._id); + return _lib._objc_msgSend_403( + this.pointer, + _lib._sel_intersectsSet_1, + set.pointer, + ); } bool isSubsetOfOrderedSet_(NSOrderedSet other) { return _lib._objc_msgSend_489( - _id, _lib._sel_isSubsetOfOrderedSet_1, other._id); + this.pointer, + _lib._sel_isSubsetOfOrderedSet_1, + other.pointer, + ); } bool isSubsetOfSet_(NSSet set) { - return _lib._objc_msgSend_403(_id, _lib._sel_isSubsetOfSet_1, set._id); + return _lib._objc_msgSend_403( + this.pointer, + _lib._sel_isSubsetOfSet_1, + set.pointer, + ); } NSObject objectAtIndexedSubscript_(int idx) { - final _ret = - _lib._objc_msgSend_65(_id, _lib._sel_objectAtIndexedSubscript_1, idx); + final _ret = _lib._objc_msgSend_65( + this.pointer, + _lib._sel_objectAtIndexedSubscript_1, + idx, + ); return NSObject._(_ret, _lib, retain: true, release: true); } NSEnumerator objectEnumerator() { - final _ret = _lib._objc_msgSend_77(_id, _lib._sel_objectEnumerator1); + final _ret = _lib._objc_msgSend_77( + this.pointer, + _lib._sel_objectEnumerator1, + ); return NSEnumerator._(_ret, _lib, retain: true, release: true); } NSEnumerator reverseObjectEnumerator() { - final _ret = _lib._objc_msgSend_77(_id, _lib._sel_reverseObjectEnumerator1); + final _ret = _lib._objc_msgSend_77( + this.pointer, + _lib._sel_reverseObjectEnumerator1, + ); return NSEnumerator._(_ret, _lib, retain: true, release: true); } NSOrderedSet get reversedOrderedSet { - final _ret = _lib._objc_msgSend_490(_id, _lib._sel_reversedOrderedSet1); + final _ret = _lib._objc_msgSend_490( + this.pointer, + _lib._sel_reversedOrderedSet1, + ); return NSOrderedSet._(_ret, _lib, retain: true, release: true); } NSArray get array { - final _ret = _lib._objc_msgSend_85(_id, _lib._sel_array1); + final _ret = _lib._objc_msgSend_85(this.pointer, _lib._sel_array1); return NSArray._(_ret, _lib, retain: true, release: true); } NSSet get set1 { - final _ret = _lib._objc_msgSend_491(_id, _lib._sel_set1); + final _ret = _lib._objc_msgSend_491(this.pointer, _lib._sel_set1); return NSSet._(_ret, _lib, retain: true, release: true); } void enumerateObjectsUsingBlock_( - ObjCBlock_ffiVoid_ObjCObject_ffiUnsignedLong_bool block) { + ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool block, + ) { _lib._objc_msgSend_112( - _id, _lib._sel_enumerateObjectsUsingBlock_1, block._id); + this.pointer, + _lib._sel_enumerateObjectsUsingBlock_1, + block.pointer, + ); } void enumerateObjectsWithOptions_usingBlock_( - int opts, ObjCBlock_ffiVoid_ObjCObject_ffiUnsignedLong_bool block) { - _lib._objc_msgSend_113(_id, - _lib._sel_enumerateObjectsWithOptions_usingBlock_1, opts, block._id); + int opts, + ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool block, + ) { + _lib._objc_msgSend_113( + this.pointer, + _lib._sel_enumerateObjectsWithOptions_usingBlock_1, + opts, + block.pointer, + ); } - void enumerateObjectsAtIndexes_options_usingBlock_(NSIndexSet s, int opts, - ObjCBlock_ffiVoid_ObjCObject_ffiUnsignedLong_bool block) { + void enumerateObjectsAtIndexes_options_usingBlock_( + NSIndexSet s, + int opts, + ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool block, + ) { _lib._objc_msgSend_114( - _id, - _lib._sel_enumerateObjectsAtIndexes_options_usingBlock_1, - s._id, - opts, - block._id); + this.pointer, + _lib._sel_enumerateObjectsAtIndexes_options_usingBlock_1, + s.pointer, + opts, + block.pointer, + ); } int indexOfObjectPassingTest_( - ObjCBlock_bool_ObjCObject_ffiUnsignedLong_bool predicate) { + ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool predicate, + ) { return _lib._objc_msgSend_115( - _id, _lib._sel_indexOfObjectPassingTest_1, predicate._id); + this.pointer, + _lib._sel_indexOfObjectPassingTest_1, + predicate.pointer, + ); } int indexOfObjectWithOptions_passingTest_( - int opts, ObjCBlock_bool_ObjCObject_ffiUnsignedLong_bool predicate) { - return _lib._objc_msgSend_116(_id, - _lib._sel_indexOfObjectWithOptions_passingTest_1, opts, predicate._id); + int opts, + ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool predicate, + ) { + return _lib._objc_msgSend_116( + this.pointer, + _lib._sel_indexOfObjectWithOptions_passingTest_1, + opts, + predicate.pointer, + ); } - int indexOfObjectAtIndexes_options_passingTest_(NSIndexSet s, int opts, - ObjCBlock_bool_ObjCObject_ffiUnsignedLong_bool predicate) { + int indexOfObjectAtIndexes_options_passingTest_( + NSIndexSet s, + int opts, + ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool predicate, + ) { return _lib._objc_msgSend_117( - _id, - _lib._sel_indexOfObjectAtIndexes_options_passingTest_1, - s._id, - opts, - predicate._id); + this.pointer, + _lib._sel_indexOfObjectAtIndexes_options_passingTest_1, + s.pointer, + opts, + predicate.pointer, + ); } NSIndexSet indexesOfObjectsPassingTest_( - ObjCBlock_bool_ObjCObject_ffiUnsignedLong_bool predicate) { + ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool predicate, + ) { final _ret = _lib._objc_msgSend_118( - _id, _lib._sel_indexesOfObjectsPassingTest_1, predicate._id); + this.pointer, + _lib._sel_indexesOfObjectsPassingTest_1, + predicate.pointer, + ); return NSIndexSet._(_ret, _lib, retain: true, release: true); } NSIndexSet indexesOfObjectsWithOptions_passingTest_( - int opts, ObjCBlock_bool_ObjCObject_ffiUnsignedLong_bool predicate) { + int opts, + ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool predicate, + ) { final _ret = _lib._objc_msgSend_119( - _id, - _lib._sel_indexesOfObjectsWithOptions_passingTest_1, - opts, - predicate._id); + this.pointer, + _lib._sel_indexesOfObjectsWithOptions_passingTest_1, + opts, + predicate.pointer, + ); return NSIndexSet._(_ret, _lib, retain: true, release: true); } - NSIndexSet indexesOfObjectsAtIndexes_options_passingTest_(NSIndexSet s, - int opts, ObjCBlock_bool_ObjCObject_ffiUnsignedLong_bool predicate) { + NSIndexSet indexesOfObjectsAtIndexes_options_passingTest_( + NSIndexSet s, + int opts, + ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool predicate, + ) { final _ret = _lib._objc_msgSend_120( - _id, - _lib._sel_indexesOfObjectsAtIndexes_options_passingTest_1, - s._id, - opts, - predicate._id); + this.pointer, + _lib._sel_indexesOfObjectsAtIndexes_options_passingTest_1, + s.pointer, + opts, + predicate.pointer, + ); return NSIndexSet._(_ret, _lib, retain: true, release: true); } int indexOfObject_inSortedRange_options_usingComparator_( - NSObject object, - _NSRange range, - int opts, - ObjCBlock_NSComparisonResult_ObjCObject_ObjCObject cmp) { + NSObject object, + _NSRange range, + int opts, + ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject cmp, + ) { return _lib._objc_msgSend_123( - _id, - _lib._sel_indexOfObject_inSortedRange_options_usingComparator_1, - object._id, - range, - opts, - cmp._id); + this.pointer, + _lib._sel_indexOfObject_inSortedRange_options_usingComparator_1, + object.pointer, + range, + opts, + cmp.pointer, + ); } NSArray sortedArrayUsingComparator_( - ObjCBlock_NSComparisonResult_ObjCObject_ObjCObject cmptr) { + ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject cmptr, + ) { final _ret = _lib._objc_msgSend_121( - _id, _lib._sel_sortedArrayUsingComparator_1, cmptr._id); + this.pointer, + _lib._sel_sortedArrayUsingComparator_1, + cmptr.pointer, + ); return NSArray._(_ret, _lib, retain: true, release: true); } NSArray sortedArrayWithOptions_usingComparator_( - int opts, ObjCBlock_NSComparisonResult_ObjCObject_ObjCObject cmptr) { - final _ret = _lib._objc_msgSend_122(_id, - _lib._sel_sortedArrayWithOptions_usingComparator_1, opts, cmptr._id); + int opts, + ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject cmptr, + ) { + final _ret = _lib._objc_msgSend_122( + this.pointer, + _lib._sel_sortedArrayWithOptions_usingComparator_1, + opts, + cmptr.pointer, + ); return NSArray._(_ret, _lib, retain: true, release: true); } NSString get description { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_description1); + final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_description1); return NSString._(_ret, _lib, retain: true, release: true); } NSString descriptionWithLocale_(NSObject? locale) { final _ret = _lib._objc_msgSend_70( - _id, _lib._sel_descriptionWithLocale_1, locale?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_descriptionWithLocale_1, + locale?.pointer ?? ffi.nullptr, + ); return NSString._(_ret, _lib, retain: true, release: true); } NSString descriptionWithLocale_indent_(NSObject? locale, int level) { final _ret = _lib._objc_msgSend_71( - _id, - _lib._sel_descriptionWithLocale_indent_1, - locale?._id ?? ffi.nullptr, - level); + this.pointer, + _lib._sel_descriptionWithLocale_indent_1, + locale?.pointer ?? ffi.nullptr, + level, + ); return NSString._(_ret, _lib, retain: true, release: true); } static NSOrderedSet orderedSet(SwiftLibrary _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSOrderedSet1, _lib._sel_orderedSet1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSOrderedSet1, + _lib._sel_orderedSet1, + ); return NSOrderedSet._(_ret, _lib, retain: true, release: true); } static NSOrderedSet orderedSetWithObject_( - SwiftLibrary _lib, NSObject object) { - final _ret = _lib._objc_msgSend_124(_lib._class_NSOrderedSet1, - _lib._sel_orderedSetWithObject_1, object._id); + SwiftLibrary _lib, + NSObject object, + ) { + final _ret = _lib._objc_msgSend_124( + _lib._class_NSOrderedSet1, + _lib._sel_orderedSetWithObject_1, + object.pointer, + ); return NSOrderedSet._(_ret, _lib, retain: true, release: true); } - static NSOrderedSet orderedSetWithObjects_count_(SwiftLibrary _lib, - ffi.Pointer> objects, int cnt) { - final _ret = _lib._objc_msgSend_66(_lib._class_NSOrderedSet1, - _lib._sel_orderedSetWithObjects_count_1, objects, cnt); + static NSOrderedSet orderedSetWithObjects_count_( + SwiftLibrary _lib, + ffi.Pointer> objects, + int cnt, + ) { + final _ret = _lib._objc_msgSend_66( + _lib._class_NSOrderedSet1, + _lib._sel_orderedSetWithObjects_count_1, + objects, + cnt, + ); return NSOrderedSet._(_ret, _lib, retain: true, release: true); } static NSOrderedSet orderedSetWithObjects_( - SwiftLibrary _lib, NSObject firstObj) { - final _ret = _lib._objc_msgSend_124(_lib._class_NSOrderedSet1, - _lib._sel_orderedSetWithObjects_1, firstObj._id); + SwiftLibrary _lib, + NSObject firstObj, + ) { + final _ret = _lib._objc_msgSend_124( + _lib._class_NSOrderedSet1, + _lib._sel_orderedSetWithObjects_1, + firstObj.pointer, + ); return NSOrderedSet._(_ret, _lib, retain: true, release: true); } static NSOrderedSet orderedSetWithOrderedSet_( - SwiftLibrary _lib, NSOrderedSet set) { - final _ret = _lib._objc_msgSend_492(_lib._class_NSOrderedSet1, - _lib._sel_orderedSetWithOrderedSet_1, set._id); + SwiftLibrary _lib, + NSOrderedSet set, + ) { + final _ret = _lib._objc_msgSend_492( + _lib._class_NSOrderedSet1, + _lib._sel_orderedSetWithOrderedSet_1, + set.pointer, + ); return NSOrderedSet._(_ret, _lib, retain: true, release: true); } static NSOrderedSet orderedSetWithOrderedSet_range_copyItems_( - SwiftLibrary _lib, NSOrderedSet set, _NSRange range, bool flag) { + SwiftLibrary _lib, + NSOrderedSet set, + _NSRange range, + bool flag, + ) { final _ret = _lib._objc_msgSend_493( - _lib._class_NSOrderedSet1, - _lib._sel_orderedSetWithOrderedSet_range_copyItems_1, - set._id, - range, - flag); + _lib._class_NSOrderedSet1, + _lib._sel_orderedSetWithOrderedSet_range_copyItems_1, + set.pointer, + range, + flag, + ); return NSOrderedSet._(_ret, _lib, retain: false, release: true); } static NSOrderedSet orderedSetWithArray_(SwiftLibrary _lib, NSArray array) { final _ret = _lib._objc_msgSend_125( - _lib._class_NSOrderedSet1, _lib._sel_orderedSetWithArray_1, array._id); + _lib._class_NSOrderedSet1, + _lib._sel_orderedSetWithArray_1, + array.pointer, + ); return NSOrderedSet._(_ret, _lib, retain: true, release: true); } static NSOrderedSet orderedSetWithArray_range_copyItems_( - SwiftLibrary _lib, NSArray array, _NSRange range, bool flag) { + SwiftLibrary _lib, + NSArray array, + _NSRange range, + bool flag, + ) { final _ret = _lib._objc_msgSend_494( - _lib._class_NSOrderedSet1, - _lib._sel_orderedSetWithArray_range_copyItems_1, - array._id, - range, - flag); + _lib._class_NSOrderedSet1, + _lib._sel_orderedSetWithArray_range_copyItems_1, + array.pointer, + range, + flag, + ); return NSOrderedSet._(_ret, _lib, retain: false, release: true); } static NSOrderedSet orderedSetWithSet_(SwiftLibrary _lib, NSSet set) { final _ret = _lib._objc_msgSend_411( - _lib._class_NSOrderedSet1, _lib._sel_orderedSetWithSet_1, set._id); + _lib._class_NSOrderedSet1, + _lib._sel_orderedSetWithSet_1, + set.pointer, + ); return NSOrderedSet._(_ret, _lib, retain: true, release: true); } static NSOrderedSet orderedSetWithSet_copyItems_( - SwiftLibrary _lib, NSSet set, bool flag) { - final _ret = _lib._objc_msgSend_412(_lib._class_NSOrderedSet1, - _lib._sel_orderedSetWithSet_copyItems_1, set._id, flag); + SwiftLibrary _lib, + NSSet set, + bool flag, + ) { + final _ret = _lib._objc_msgSend_412( + _lib._class_NSOrderedSet1, + _lib._sel_orderedSetWithSet_copyItems_1, + set.pointer, + flag, + ); return NSOrderedSet._(_ret, _lib, retain: false, release: true); } NSOrderedSet initWithObject_(NSObject object) { - final _ret = - _lib._objc_msgSend_124(_id, _lib._sel_initWithObject_1, object._id); + final _ret = _lib._objc_msgSend_124( + this.pointer, + _lib._sel_initWithObject_1, + object.pointer, + ); return NSOrderedSet._(_ret, _lib, retain: true, release: true); } NSOrderedSet initWithObjects_(NSObject firstObj) { - final _ret = - _lib._objc_msgSend_124(_id, _lib._sel_initWithObjects_1, firstObj._id); + final _ret = _lib._objc_msgSend_124( + this.pointer, + _lib._sel_initWithObjects_1, + firstObj.pointer, + ); return NSOrderedSet._(_ret, _lib, retain: true, release: true); } NSOrderedSet initWithOrderedSet_(NSOrderedSet set) { - final _ret = - _lib._objc_msgSend_492(_id, _lib._sel_initWithOrderedSet_1, set._id); + final _ret = _lib._objc_msgSend_492( + this.pointer, + _lib._sel_initWithOrderedSet_1, + set.pointer, + ); return NSOrderedSet._(_ret, _lib, retain: true, release: true); } NSOrderedSet initWithOrderedSet_copyItems_(NSOrderedSet set, bool flag) { final _ret = _lib._objc_msgSend_495( - _id, _lib._sel_initWithOrderedSet_copyItems_1, set._id, flag); + this.pointer, + _lib._sel_initWithOrderedSet_copyItems_1, + set.pointer, + flag, + ); return NSOrderedSet._(_ret, _lib, retain: false, release: true); } NSOrderedSet initWithOrderedSet_range_copyItems_( - NSOrderedSet set, _NSRange range, bool flag) { - final _ret = _lib._objc_msgSend_493(_id, - _lib._sel_initWithOrderedSet_range_copyItems_1, set._id, range, flag); + NSOrderedSet set, + _NSRange range, + bool flag, + ) { + final _ret = _lib._objc_msgSend_493( + this.pointer, + _lib._sel_initWithOrderedSet_range_copyItems_1, + set.pointer, + range, + flag, + ); return NSOrderedSet._(_ret, _lib, retain: false, release: true); } NSOrderedSet initWithArray_(NSArray array) { - final _ret = - _lib._objc_msgSend_125(_id, _lib._sel_initWithArray_1, array._id); + final _ret = _lib._objc_msgSend_125( + this.pointer, + _lib._sel_initWithArray_1, + array.pointer, + ); return NSOrderedSet._(_ret, _lib, retain: true, release: true); } NSOrderedSet initWithArray_copyItems_(NSArray set, bool flag) { final _ret = _lib._objc_msgSend_126( - _id, _lib._sel_initWithArray_copyItems_1, set._id, flag); + this.pointer, + _lib._sel_initWithArray_copyItems_1, + set.pointer, + flag, + ); return NSOrderedSet._(_ret, _lib, retain: false, release: true); } NSOrderedSet initWithArray_range_copyItems_( - NSArray set, _NSRange range, bool flag) { + NSArray set, + _NSRange range, + bool flag, + ) { final _ret = _lib._objc_msgSend_494( - _id, _lib._sel_initWithArray_range_copyItems_1, set._id, range, flag); + this.pointer, + _lib._sel_initWithArray_range_copyItems_1, + set.pointer, + range, + flag, + ); return NSOrderedSet._(_ret, _lib, retain: false, release: true); } NSOrderedSet initWithSet_(NSSet set) { - final _ret = _lib._objc_msgSend_411(_id, _lib._sel_initWithSet_1, set._id); + final _ret = _lib._objc_msgSend_411( + this.pointer, + _lib._sel_initWithSet_1, + set.pointer, + ); return NSOrderedSet._(_ret, _lib, retain: true, release: true); } NSOrderedSet initWithSet_copyItems_(NSSet set, bool flag) { final _ret = _lib._objc_msgSend_412( - _id, _lib._sel_initWithSet_copyItems_1, set._id, flag); + this.pointer, + _lib._sel_initWithSet_copyItems_1, + set.pointer, + flag, + ); return NSOrderedSet._(_ret, _lib, retain: false, release: true); } NSObject differenceFromOrderedSet_withOptions_usingEquivalenceTest_( - NSOrderedSet other, - int options, - ObjCBlock_bool_ObjCObject_ObjCObject block) { + NSOrderedSet other, + int options, + ObjCBlock_bool_objcObjCObject_objcObjCObject block, + ) { final _ret = _lib._objc_msgSend_496( - _id, - _lib._sel_differenceFromOrderedSet_withOptions_usingEquivalenceTest_1, - other._id, - options, - block._id); + this.pointer, + _lib._sel_differenceFromOrderedSet_withOptions_usingEquivalenceTest_1, + other.pointer, + options, + block.pointer, + ); return NSObject._(_ret, _lib, retain: true, release: true); } NSObject differenceFromOrderedSet_withOptions_( - NSOrderedSet other, int options) { - final _ret = _lib._objc_msgSend_497(_id, - _lib._sel_differenceFromOrderedSet_withOptions_1, other._id, options); + NSOrderedSet other, + int options, + ) { + final _ret = _lib._objc_msgSend_497( + this.pointer, + _lib._sel_differenceFromOrderedSet_withOptions_1, + other.pointer, + options, + ); return NSObject._(_ret, _lib, retain: true, release: true); } NSObject differenceFromOrderedSet_(NSOrderedSet other) { final _ret = _lib._objc_msgSend_492( - _id, _lib._sel_differenceFromOrderedSet_1, other._id); + this.pointer, + _lib._sel_differenceFromOrderedSet_1, + other.pointer, + ); return NSObject._(_ret, _lib, retain: true, release: true); } NSOrderedSet? orderedSetByApplyingDifference_(NSObject difference) { final _ret = _lib._objc_msgSend_498( - _id, _lib._sel_orderedSetByApplyingDifference_1, difference._id); + this.pointer, + _lib._sel_orderedSetByApplyingDifference_1, + difference.pointer, + ); return _ret.address == 0 ? null : NSOrderedSet._(_ret, _lib, retain: true, release: true); } NSObject valueForKey_(NSString key) { - final _ret = _lib._objc_msgSend_31(_id, _lib._sel_valueForKey_1, key._id); + final _ret = _lib._objc_msgSend_31( + this.pointer, + _lib._sel_valueForKey_1, + key.pointer, + ); return NSObject._(_ret, _lib, retain: true, release: true); } @override void setValue_forKey_(NSObject? value, NSString key) { _lib._objc_msgSend_135( - _id, _lib._sel_setValue_forKey_1, value?._id ?? ffi.nullptr, key._id); + this.pointer, + _lib._sel_setValue_forKey_1, + value?.pointer ?? ffi.nullptr, + key.pointer, + ); } @override - void addObserver_forKeyPath_options_context_(NSObject observer, - NSString keyPath, int options, ffi.Pointer context) { + void addObserver_forKeyPath_options_context_( + NSObject observer, + NSString keyPath, + int options, + ffi.Pointer context, + ) { _lib._objc_msgSend_139( - _id, - _lib._sel_addObserver_forKeyPath_options_context_1, - observer._id, - keyPath._id, - options, - context); + this.pointer, + _lib._sel_addObserver_forKeyPath_options_context_1, + observer.pointer, + keyPath.pointer, + options, + context, + ); } @override void removeObserver_forKeyPath_context_( - NSObject observer, NSString keyPath, ffi.Pointer context) { - _lib._objc_msgSend_140(_id, _lib._sel_removeObserver_forKeyPath_context_1, - observer._id, keyPath._id, context); + NSObject observer, + NSString keyPath, + ffi.Pointer context, + ) { + _lib._objc_msgSend_140( + this.pointer, + _lib._sel_removeObserver_forKeyPath_context_1, + observer.pointer, + keyPath.pointer, + context, + ); } @override void removeObserver_forKeyPath_(NSObject observer, NSString keyPath) { _lib._objc_msgSend_141( - _id, _lib._sel_removeObserver_forKeyPath_1, observer._id, keyPath._id); + this.pointer, + _lib._sel_removeObserver_forKeyPath_1, + observer.pointer, + keyPath.pointer, + ); } NSArray sortedArrayUsingDescriptors_(NSArray sortDescriptors) { final _ret = _lib._objc_msgSend_68( - _id, _lib._sel_sortedArrayUsingDescriptors_1, sortDescriptors._id); + this.pointer, + _lib._sel_sortedArrayUsingDescriptors_1, + sortDescriptors.pointer, + ); return NSArray._(_ret, _lib, retain: true, release: true); } NSOrderedSet filteredOrderedSetUsingPredicate_(NSPredicate p) { final _ret = _lib._objc_msgSend_499( - _id, _lib._sel_filteredOrderedSetUsingPredicate_1, p._id); + this.pointer, + _lib._sel_filteredOrderedSetUsingPredicate_1, + p.pointer, + ); return NSOrderedSet._(_ret, _lib, retain: true, release: true); } static NSOrderedSet new1(SwiftLibrary _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSOrderedSet1, _lib._sel_new1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSOrderedSet1, + _lib._sel_new1, + ); return NSOrderedSet._(_ret, _lib, retain: false, release: true); } static NSOrderedSet allocWithZone_( - SwiftLibrary _lib, ffi.Pointer<_NSZone> zone) { + SwiftLibrary _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSOrderedSet1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSOrderedSet1, + _lib._sel_allocWithZone_1, + zone, + ); return NSOrderedSet._(_ret, _lib, retain: false, release: true); } static NSOrderedSet alloc(SwiftLibrary _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSOrderedSet1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSOrderedSet1, + _lib._sel_alloc1, + ); return NSOrderedSet._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + SwiftLibrary _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSOrderedSet1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSOrderedSet1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSOrderedSet1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + SwiftLibrary _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSOrderedSet1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { return _lib._objc_msgSend_12( - _lib._class_NSOrderedSet1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_NSOrderedSet1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(SwiftLibrary _lib) { return _lib._objc_msgSend_12( - _lib._class_NSOrderedSet1, _lib._sel_useStoredAccessor1); + _lib._class_NSOrderedSet1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSOrderedSet1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSOrderedSet1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSOrderedSet1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSOrderedSet1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, NSArray keys, NSString dependentKey) { + SwiftLibrary _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSOrderedSet1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSOrderedSet1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_85( - _lib._class_NSOrderedSet1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSOrderedSet1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSOrderedSet1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSOrderedSet1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } class NSMutableSet extends NSSet { - NSMutableSet._(ffi.Pointer id, SwiftLibrary lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSMutableSet._( + ffi.Pointer pointer, + SwiftLibrary lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSMutableSet] that points to the same underlying object as [other]. - static NSMutableSet castFrom(T other) { - return NSMutableSet._(other._id, other._lib, retain: true, release: true); + static NSMutableSet castFrom( + SwiftLibrary lib, + T other, + ) { + return NSMutableSet._(other.pointer, lib, retain: true, release: true); } /// Returns a [NSMutableSet] that wraps the given raw object pointer. static NSMutableSet castFromPointer( - SwiftLibrary lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + SwiftLibrary lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSMutableSet._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSMutableSet]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_NSMutableSet1); + static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSMutableSet1, + ); } void addObject_(NSObject object) { - _lib._objc_msgSend_15(_id, _lib._sel_addObject_1, object._id); + _lib._objc_msgSend_15(this.pointer, _lib._sel_addObject_1, object.pointer); } void removeObject_(NSObject object) { - _lib._objc_msgSend_15(_id, _lib._sel_removeObject_1, object._id); + _lib._objc_msgSend_15( + this.pointer, + _lib._sel_removeObject_1, + object.pointer, + ); } @override NSMutableSet? initWithCoder_(NSCoder coder) { - final _ret = - _lib._objc_msgSend_47(_id, _lib._sel_initWithCoder_1, coder._id); + final _ret = _lib._objc_msgSend_47( + this.pointer, + _lib._sel_initWithCoder_1, + coder.pointer, + ); return _ret.address == 0 ? null : NSMutableSet._(_ret, _lib, retain: true, release: true); @@ -47385,202 +62057,306 @@ class NSMutableSet extends NSSet { @override NSMutableSet init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSMutableSet._(_ret, _lib, retain: true, release: true); } NSMutableSet initWithCapacity_(int numItems) { - final _ret = - _lib._objc_msgSend_65(_id, _lib._sel_initWithCapacity_1, numItems); + final _ret = _lib._objc_msgSend_65( + this.pointer, + _lib._sel_initWithCapacity_1, + numItems, + ); return NSMutableSet._(_ret, _lib, retain: true, release: true); } void addObjectsFromArray_(NSArray array) { - _lib._objc_msgSend_472(_id, _lib._sel_addObjectsFromArray_1, array._id); + _lib._objc_msgSend_472( + this.pointer, + _lib._sel_addObjectsFromArray_1, + array.pointer, + ); } void intersectSet_(NSSet otherSet) { - _lib._objc_msgSend_504(_id, _lib._sel_intersectSet_1, otherSet._id); + _lib._objc_msgSend_504( + this.pointer, + _lib._sel_intersectSet_1, + otherSet.pointer, + ); } void minusSet_(NSSet otherSet) { - _lib._objc_msgSend_504(_id, _lib._sel_minusSet_1, otherSet._id); + _lib._objc_msgSend_504( + this.pointer, + _lib._sel_minusSet_1, + otherSet.pointer, + ); } void removeAllObjects() { - _lib._objc_msgSend_1(_id, _lib._sel_removeAllObjects1); + _lib._objc_msgSend_1(this.pointer, _lib._sel_removeAllObjects1); } void unionSet_(NSSet otherSet) { - _lib._objc_msgSend_504(_id, _lib._sel_unionSet_1, otherSet._id); + _lib._objc_msgSend_504( + this.pointer, + _lib._sel_unionSet_1, + otherSet.pointer, + ); } void setSet_(NSSet otherSet) { - _lib._objc_msgSend_504(_id, _lib._sel_setSet_1, otherSet._id); + _lib._objc_msgSend_504(this.pointer, _lib._sel_setSet_1, otherSet.pointer); } static NSMutableSet setWithCapacity_(SwiftLibrary _lib, int numItems) { final _ret = _lib._objc_msgSend_65( - _lib._class_NSMutableSet1, _lib._sel_setWithCapacity_1, numItems); + _lib._class_NSMutableSet1, + _lib._sel_setWithCapacity_1, + numItems, + ); return NSMutableSet._(_ret, _lib, retain: true, release: true); } void filterUsingPredicate_(NSPredicate predicate) { _lib._objc_msgSend_487( - _id, _lib._sel_filterUsingPredicate_1, predicate._id); + this.pointer, + _lib._sel_filterUsingPredicate_1, + predicate.pointer, + ); } @override NSMutableSet initWithObjects_count_( - ffi.Pointer> objects, int cnt) { + ffi.Pointer> objects, + int cnt, + ) { final _ret = _lib._objc_msgSend_66( - _id, _lib._sel_initWithObjects_count_1, objects, cnt); + this.pointer, + _lib._sel_initWithObjects_count_1, + objects, + cnt, + ); return NSMutableSet._(_ret, _lib, retain: true, release: true); } static NSMutableSet set1(SwiftLibrary _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSMutableSet1, _lib._sel_set1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSMutableSet1, + _lib._sel_set1, + ); return NSMutableSet._(_ret, _lib, retain: true, release: true); } static NSMutableSet setWithObject_(SwiftLibrary _lib, NSObject object) { final _ret = _lib._objc_msgSend_124( - _lib._class_NSMutableSet1, _lib._sel_setWithObject_1, object._id); + _lib._class_NSMutableSet1, + _lib._sel_setWithObject_1, + object.pointer, + ); return NSMutableSet._(_ret, _lib, retain: true, release: true); } - static NSMutableSet setWithObjects_count_(SwiftLibrary _lib, - ffi.Pointer> objects, int cnt) { - final _ret = _lib._objc_msgSend_66(_lib._class_NSMutableSet1, - _lib._sel_setWithObjects_count_1, objects, cnt); + static NSMutableSet setWithObjects_count_( + SwiftLibrary _lib, + ffi.Pointer> objects, + int cnt, + ) { + final _ret = _lib._objc_msgSend_66( + _lib._class_NSMutableSet1, + _lib._sel_setWithObjects_count_1, + objects, + cnt, + ); return NSMutableSet._(_ret, _lib, retain: true, release: true); } static NSMutableSet setWithObjects_(SwiftLibrary _lib, NSObject firstObj) { final _ret = _lib._objc_msgSend_124( - _lib._class_NSMutableSet1, _lib._sel_setWithObjects_1, firstObj._id); + _lib._class_NSMutableSet1, + _lib._sel_setWithObjects_1, + firstObj.pointer, + ); return NSMutableSet._(_ret, _lib, retain: true, release: true); } static NSMutableSet setWithSet_(SwiftLibrary _lib, NSSet set) { final _ret = _lib._objc_msgSend_411( - _lib._class_NSMutableSet1, _lib._sel_setWithSet_1, set._id); + _lib._class_NSMutableSet1, + _lib._sel_setWithSet_1, + set.pointer, + ); return NSMutableSet._(_ret, _lib, retain: true, release: true); } static NSMutableSet setWithArray_(SwiftLibrary _lib, NSArray array) { final _ret = _lib._objc_msgSend_125( - _lib._class_NSMutableSet1, _lib._sel_setWithArray_1, array._id); + _lib._class_NSMutableSet1, + _lib._sel_setWithArray_1, + array.pointer, + ); return NSMutableSet._(_ret, _lib, retain: true, release: true); } @override NSMutableSet initWithObjects_(NSObject firstObj) { - final _ret = - _lib._objc_msgSend_124(_id, _lib._sel_initWithObjects_1, firstObj._id); + final _ret = _lib._objc_msgSend_124( + this.pointer, + _lib._sel_initWithObjects_1, + firstObj.pointer, + ); return NSMutableSet._(_ret, _lib, retain: true, release: true); } @override NSMutableSet initWithSet_(NSSet set) { - final _ret = _lib._objc_msgSend_411(_id, _lib._sel_initWithSet_1, set._id); + final _ret = _lib._objc_msgSend_411( + this.pointer, + _lib._sel_initWithSet_1, + set.pointer, + ); return NSMutableSet._(_ret, _lib, retain: true, release: true); } @override NSMutableSet initWithSet_copyItems_(NSSet set, bool flag) { final _ret = _lib._objc_msgSend_412( - _id, _lib._sel_initWithSet_copyItems_1, set._id, flag); + this.pointer, + _lib._sel_initWithSet_copyItems_1, + set.pointer, + flag, + ); return NSMutableSet._(_ret, _lib, retain: false, release: true); } @override NSMutableSet initWithArray_(NSArray array) { - final _ret = - _lib._objc_msgSend_125(_id, _lib._sel_initWithArray_1, array._id); + final _ret = _lib._objc_msgSend_125( + this.pointer, + _lib._sel_initWithArray_1, + array.pointer, + ); return NSMutableSet._(_ret, _lib, retain: true, release: true); } static NSMutableSet new1(SwiftLibrary _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSMutableSet1, _lib._sel_new1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSMutableSet1, + _lib._sel_new1, + ); return NSMutableSet._(_ret, _lib, retain: false, release: true); } static NSMutableSet allocWithZone_( - SwiftLibrary _lib, ffi.Pointer<_NSZone> zone) { + SwiftLibrary _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSMutableSet1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSMutableSet1, + _lib._sel_allocWithZone_1, + zone, + ); return NSMutableSet._(_ret, _lib, retain: false, release: true); } static NSMutableSet alloc(SwiftLibrary _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSMutableSet1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSMutableSet1, + _lib._sel_alloc1, + ); return NSMutableSet._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + SwiftLibrary _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSMutableSet1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSMutableSet1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSMutableSet1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + SwiftLibrary _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSMutableSet1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { return _lib._objc_msgSend_12( - _lib._class_NSMutableSet1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_NSMutableSet1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(SwiftLibrary _lib) { return _lib._objc_msgSend_12( - _lib._class_NSMutableSet1, _lib._sel_useStoredAccessor1); + _lib._class_NSMutableSet1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSMutableSet1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSMutableSet1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSMutableSet1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSMutableSet1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, NSArray keys, NSString dependentKey) { + SwiftLibrary _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSMutableSet1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSMutableSet1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_85( - _lib._class_NSMutableSet1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSMutableSet1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSMutableSet1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSMutableSet1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } @@ -47600,46 +62376,62 @@ abstract class NSKeyValueSetMutationKind { } class NSKeyedArchiver extends NSCoder { - NSKeyedArchiver._(ffi.Pointer id, SwiftLibrary lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSKeyedArchiver._( + ffi.Pointer pointer, + SwiftLibrary lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSKeyedArchiver] that points to the same underlying object as [other]. - static NSKeyedArchiver castFrom(T other) { - return NSKeyedArchiver._(other._id, other._lib, - retain: true, release: true); + static NSKeyedArchiver castFrom( + SwiftLibrary lib, + T other, + ) { + return NSKeyedArchiver._(other.pointer, lib, retain: true, release: true); } /// Returns a [NSKeyedArchiver] that wraps the given raw object pointer. static NSKeyedArchiver castFromPointer( - SwiftLibrary lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + SwiftLibrary lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSKeyedArchiver._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSKeyedArchiver]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0(obj._id, obj._lib._sel_isKindOfClass_1, - obj._lib._class_NSKeyedArchiver1); + static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSKeyedArchiver1, + ); } NSKeyedArchiver initRequiringSecureCoding_(bool requiresSecureCoding) { final _ret = _lib._objc_msgSend_514( - _id, _lib._sel_initRequiringSecureCoding_1, requiresSecureCoding); + this.pointer, + _lib._sel_initRequiringSecureCoding_1, + requiresSecureCoding, + ); return NSKeyedArchiver._(_ret, _lib, retain: true, release: true); } static NSData? archivedDataWithRootObject_requiringSecureCoding_error_( - SwiftLibrary _lib, - NSObject object, - bool requiresSecureCoding, - ffi.Pointer> error) { + SwiftLibrary _lib, + NSObject object, + bool requiresSecureCoding, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_515( - _lib._class_NSKeyedArchiver1, - _lib._sel_archivedDataWithRootObject_requiringSecureCoding_error_1, - object._id, - requiresSecureCoding, - error); + _lib._class_NSKeyedArchiver1, + _lib._sel_archivedDataWithRootObject_requiringSecureCoding_error_1, + object.pointer, + requiresSecureCoding, + error, + ); return _ret.address == 0 ? null : NSData._(_ret, _lib, retain: true, release: true); @@ -47647,31 +62439,46 @@ class NSKeyedArchiver extends NSCoder { @override NSKeyedArchiver init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSKeyedArchiver._(_ret, _lib, retain: true, release: true); } NSKeyedArchiver initForWritingWithMutableData_(NSMutableData data) { final _ret = _lib._objc_msgSend_521( - _id, _lib._sel_initForWritingWithMutableData_1, data._id); + this.pointer, + _lib._sel_initForWritingWithMutableData_1, + data.pointer, + ); return NSKeyedArchiver._(_ret, _lib, retain: true, release: true); } static NSData archivedDataWithRootObject_( - SwiftLibrary _lib, NSObject rootObject) { - final _ret = _lib._objc_msgSend_522(_lib._class_NSKeyedArchiver1, - _lib._sel_archivedDataWithRootObject_1, rootObject._id); + SwiftLibrary _lib, + NSObject rootObject, + ) { + final _ret = _lib._objc_msgSend_522( + _lib._class_NSKeyedArchiver1, + _lib._sel_archivedDataWithRootObject_1, + rootObject.pointer, + ); return NSData._(_ret, _lib, retain: true, release: true); } static bool archiveRootObject_toFile_( - SwiftLibrary _lib, NSObject rootObject, NSString path) { - return _lib._objc_msgSend_261(_lib._class_NSKeyedArchiver1, - _lib._sel_archiveRootObject_toFile_1, rootObject._id, path._id); + SwiftLibrary _lib, + NSObject rootObject, + NSString path, + ) { + return _lib._objc_msgSend_261( + _lib._class_NSKeyedArchiver1, + _lib._sel_archiveRootObject_toFile_1, + rootObject.pointer, + path.pointer, + ); } NSObject? get delegate { - final _ret = _lib._objc_msgSend_17(_id, _lib._sel_delegate1); + final _ret = _lib._objc_msgSend_17(this.pointer, _lib._sel_delegate1); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); @@ -47679,38 +62486,52 @@ class NSKeyedArchiver extends NSCoder { set delegate(NSObject? value) { return _lib._objc_msgSend_416( - _id, _lib._sel_setDelegate_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setDelegate_1, + value?.pointer ?? ffi.nullptr, + ); } int get outputFormat { - return _lib._objc_msgSend_523(_id, _lib._sel_outputFormat1); + return _lib._objc_msgSend_523(this.pointer, _lib._sel_outputFormat1); } set outputFormat(int value) { - return _lib._objc_msgSend_524(_id, _lib._sel_setOutputFormat_1, value); + return _lib._objc_msgSend_524( + this.pointer, + _lib._sel_setOutputFormat_1, + value, + ); } NSData get encodedData { - final _ret = _lib._objc_msgSend_43(_id, _lib._sel_encodedData1); + final _ret = _lib._objc_msgSend_43(this.pointer, _lib._sel_encodedData1); return NSData._(_ret, _lib, retain: true, release: true); } void finishEncoding() { - _lib._objc_msgSend_1(_id, _lib._sel_finishEncoding1); + _lib._objc_msgSend_1(this.pointer, _lib._sel_finishEncoding1); } static void setClassName_forClass_( - SwiftLibrary _lib, NSString? codedName, NSObject cls) { + SwiftLibrary _lib, + NSString? codedName, + NSObject cls, + ) { _lib._objc_msgSend_525( - _lib._class_NSKeyedArchiver1, - _lib._sel_setClassName_forClass_1, - codedName?._id ?? ffi.nullptr, - cls._id); + _lib._class_NSKeyedArchiver1, + _lib._sel_setClassName_forClass_1, + codedName?.pointer ?? ffi.nullptr, + cls.pointer, + ); } static NSString? classNameForClass_(SwiftLibrary _lib, NSObject cls) { final _ret = _lib._objc_msgSend_526( - _lib._class_NSKeyedArchiver1, _lib._sel_classNameForClass_1, cls._id); + _lib._class_NSKeyedArchiver1, + _lib._sel_classNameForClass_1, + cls.pointer, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); @@ -47718,222 +62539,342 @@ class NSKeyedArchiver extends NSCoder { @override void encodeObject_forKey_(NSObject? object, NSString key) { - _lib._objc_msgSend_135(_id, _lib._sel_encodeObject_forKey_1, - object?._id ?? ffi.nullptr, key._id); + _lib._objc_msgSend_135( + this.pointer, + _lib._sel_encodeObject_forKey_1, + object?.pointer ?? ffi.nullptr, + key.pointer, + ); } @override void encodeConditionalObject_forKey_(NSObject? object, NSString key) { - _lib._objc_msgSend_135(_id, _lib._sel_encodeConditionalObject_forKey_1, - object?._id ?? ffi.nullptr, key._id); + _lib._objc_msgSend_135( + this.pointer, + _lib._sel_encodeConditionalObject_forKey_1, + object?.pointer ?? ffi.nullptr, + key.pointer, + ); } @override void encodeBool_forKey_(bool value, NSString key) { - _lib._objc_msgSend_296(_id, _lib._sel_encodeBool_forKey_1, value, key._id); + _lib._objc_msgSend_296( + this.pointer, + _lib._sel_encodeBool_forKey_1, + value, + key.pointer, + ); } @override void encodeInt_forKey_(int value, NSString key) { - _lib._objc_msgSend_297(_id, _lib._sel_encodeInt_forKey_1, value, key._id); + _lib._objc_msgSend_297( + this.pointer, + _lib._sel_encodeInt_forKey_1, + value, + key.pointer, + ); } @override void encodeInt32_forKey_(int value, NSString key) { - _lib._objc_msgSend_298(_id, _lib._sel_encodeInt32_forKey_1, value, key._id); + _lib._objc_msgSend_298( + this.pointer, + _lib._sel_encodeInt32_forKey_1, + value, + key.pointer, + ); } @override void encodeInt64_forKey_(int value, NSString key) { - _lib._objc_msgSend_299(_id, _lib._sel_encodeInt64_forKey_1, value, key._id); + _lib._objc_msgSend_299( + this.pointer, + _lib._sel_encodeInt64_forKey_1, + value, + key.pointer, + ); } @override void encodeFloat_forKey_(double value, NSString key) { - _lib._objc_msgSend_300(_id, _lib._sel_encodeFloat_forKey_1, value, key._id); + _lib._objc_msgSend_300( + this.pointer, + _lib._sel_encodeFloat_forKey_1, + value, + key.pointer, + ); } @override void encodeDouble_forKey_(double value, NSString key) { _lib._objc_msgSend_301( - _id, _lib._sel_encodeDouble_forKey_1, value, key._id); + this.pointer, + _lib._sel_encodeDouble_forKey_1, + value, + key.pointer, + ); } @override void encodeBytes_length_forKey_( - ffi.Pointer bytes, int length, NSString key) { + ffi.Pointer bytes, + int length, + NSString key, + ) { _lib._objc_msgSend_302( - _id, _lib._sel_encodeBytes_length_forKey_1, bytes, length, key._id); + this.pointer, + _lib._sel_encodeBytes_length_forKey_1, + bytes, + length, + key.pointer, + ); } @override bool get requiresSecureCoding { - return _lib._objc_msgSend_12(_id, _lib._sel_requiresSecureCoding1); + return _lib._objc_msgSend_12(this.pointer, _lib._sel_requiresSecureCoding1); } set requiresSecureCoding(bool value) { return _lib._objc_msgSend_527( - _id, _lib._sel_setRequiresSecureCoding_1, value); + this.pointer, + _lib._sel_setRequiresSecureCoding_1, + value, + ); } static NSKeyedArchiver new1(SwiftLibrary _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSKeyedArchiver1, _lib._sel_new1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSKeyedArchiver1, + _lib._sel_new1, + ); return NSKeyedArchiver._(_ret, _lib, retain: false, release: true); } static NSKeyedArchiver allocWithZone_( - SwiftLibrary _lib, ffi.Pointer<_NSZone> zone) { + SwiftLibrary _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSKeyedArchiver1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSKeyedArchiver1, + _lib._sel_allocWithZone_1, + zone, + ); return NSKeyedArchiver._(_ret, _lib, retain: false, release: true); } static NSKeyedArchiver alloc(SwiftLibrary _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSKeyedArchiver1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSKeyedArchiver1, + _lib._sel_alloc1, + ); return NSKeyedArchiver._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + SwiftLibrary _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSKeyedArchiver1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSKeyedArchiver1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSKeyedArchiver1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + SwiftLibrary _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSKeyedArchiver1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { - return _lib._objc_msgSend_12(_lib._class_NSKeyedArchiver1, - _lib._sel_accessInstanceVariablesDirectly1); + return _lib._objc_msgSend_12( + _lib._class_NSKeyedArchiver1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(SwiftLibrary _lib) { return _lib._objc_msgSend_12( - _lib._class_NSKeyedArchiver1, _lib._sel_useStoredAccessor1); + _lib._class_NSKeyedArchiver1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSKeyedArchiver1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSKeyedArchiver1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSKeyedArchiver1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSKeyedArchiver1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, NSArray keys, NSString dependentKey) { + SwiftLibrary _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSKeyedArchiver1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSKeyedArchiver1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_85(_lib._class_NSKeyedArchiver1, - _lib._sel_classFallbacksForKeyedArchiver1); + final _ret = _lib._objc_msgSend_85( + _lib._class_NSKeyedArchiver1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSKeyedArchiver1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSKeyedArchiver1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } class NSMutableData extends NSData { - NSMutableData._(ffi.Pointer id, SwiftLibrary lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSMutableData._( + ffi.Pointer pointer, + SwiftLibrary lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSMutableData] that points to the same underlying object as [other]. - static NSMutableData castFrom(T other) { - return NSMutableData._(other._id, other._lib, retain: true, release: true); + static NSMutableData castFrom( + SwiftLibrary lib, + T other, + ) { + return NSMutableData._(other.pointer, lib, retain: true, release: true); } /// Returns a [NSMutableData] that wraps the given raw object pointer. static NSMutableData castFromPointer( - SwiftLibrary lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + SwiftLibrary lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSMutableData._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSMutableData]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_NSMutableData1); + static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSMutableData1, + ); } ffi.Pointer get mutableBytes { - return _lib._objc_msgSend_20(_id, _lib._sel_mutableBytes1); + return _lib._objc_msgSend_20(this.pointer, _lib._sel_mutableBytes1); } @override int get length { - return _lib._objc_msgSend_10(_id, _lib._sel_length1); + return _lib._objc_msgSend_10(this.pointer, _lib._sel_length1); } set length(int value) { - return _lib._objc_msgSend_516(_id, _lib._sel_setLength_1, value); + return _lib._objc_msgSend_516(this.pointer, _lib._sel_setLength_1, value); } void appendBytes_length_(ffi.Pointer bytes, int length) { - _lib._objc_msgSend_22(_id, _lib._sel_appendBytes_length_1, bytes, length); + _lib._objc_msgSend_22( + this.pointer, + _lib._sel_appendBytes_length_1, + bytes, + length, + ); } void appendData_(NSData other) { - _lib._objc_msgSend_285(_id, _lib._sel_appendData_1, other._id); + _lib._objc_msgSend_285(this.pointer, _lib._sel_appendData_1, other.pointer); } void increaseLengthBy_(int extraLength) { - _lib._objc_msgSend_470(_id, _lib._sel_increaseLengthBy_1, extraLength); + _lib._objc_msgSend_470( + this.pointer, + _lib._sel_increaseLengthBy_1, + extraLength, + ); } void replaceBytesInRange_withBytes_( - _NSRange range, ffi.Pointer bytes) { + _NSRange range, + ffi.Pointer bytes, + ) { _lib._objc_msgSend_517( - _id, _lib._sel_replaceBytesInRange_withBytes_1, range, bytes); + this.pointer, + _lib._sel_replaceBytesInRange_withBytes_1, + range, + bytes, + ); } void resetBytesInRange_(_NSRange range) { - _lib._objc_msgSend_476(_id, _lib._sel_resetBytesInRange_1, range); + _lib._objc_msgSend_476(this.pointer, _lib._sel_resetBytesInRange_1, range); } void setData_(NSData data) { - _lib._objc_msgSend_285(_id, _lib._sel_setData_1, data._id); + _lib._objc_msgSend_285(this.pointer, _lib._sel_setData_1, data.pointer); } - void replaceBytesInRange_withBytes_length_(_NSRange range, - ffi.Pointer replacementBytes, int replacementLength) { + void replaceBytesInRange_withBytes_length_( + _NSRange range, + ffi.Pointer replacementBytes, + int replacementLength, + ) { _lib._objc_msgSend_518( - _id, - _lib._sel_replaceBytesInRange_withBytes_length_1, - range, - replacementBytes, - replacementLength); + this.pointer, + _lib._sel_replaceBytesInRange_withBytes_length_1, + range, + replacementBytes, + replacementLength, + ); } static NSMutableData? dataWithCapacity_(SwiftLibrary _lib, int aNumItems) { final _ret = _lib._objc_msgSend_519( - _lib._class_NSMutableData1, _lib._sel_dataWithCapacity_1, aNumItems); + _lib._class_NSMutableData1, + _lib._sel_dataWithCapacity_1, + aNumItems, + ); return _ret.address == 0 ? null : NSMutableData._(_ret, _lib, retain: true, release: true); @@ -47941,103 +62882,158 @@ class NSMutableData extends NSData { static NSMutableData? dataWithLength_(SwiftLibrary _lib, int length) { final _ret = _lib._objc_msgSend_519( - _lib._class_NSMutableData1, _lib._sel_dataWithLength_1, length); + _lib._class_NSMutableData1, + _lib._sel_dataWithLength_1, + length, + ); return _ret.address == 0 ? null : NSMutableData._(_ret, _lib, retain: true, release: true); } NSMutableData? initWithCapacity_(int capacity) { - final _ret = - _lib._objc_msgSend_519(_id, _lib._sel_initWithCapacity_1, capacity); + final _ret = _lib._objc_msgSend_519( + this.pointer, + _lib._sel_initWithCapacity_1, + capacity, + ); return _ret.address == 0 ? null : NSMutableData._(_ret, _lib, retain: true, release: true); } NSMutableData? initWithLength_(int length) { - final _ret = - _lib._objc_msgSend_519(_id, _lib._sel_initWithLength_1, length); + final _ret = _lib._objc_msgSend_519( + this.pointer, + _lib._sel_initWithLength_1, + length, + ); return _ret.address == 0 ? null : NSMutableData._(_ret, _lib, retain: true, release: true); } bool decompressUsingAlgorithm_error_( - int algorithm, ffi.Pointer> error) { + int algorithm, + ffi.Pointer> error, + ) { return _lib._objc_msgSend_520( - _id, _lib._sel_decompressUsingAlgorithm_error_1, algorithm, error); + this.pointer, + _lib._sel_decompressUsingAlgorithm_error_1, + algorithm, + error, + ); } bool compressUsingAlgorithm_error_( - int algorithm, ffi.Pointer> error) { + int algorithm, + ffi.Pointer> error, + ) { return _lib._objc_msgSend_520( - _id, _lib._sel_compressUsingAlgorithm_error_1, algorithm, error); + this.pointer, + _lib._sel_compressUsingAlgorithm_error_1, + algorithm, + error, + ); } static NSMutableData data(SwiftLibrary _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSMutableData1, _lib._sel_data1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSMutableData1, + _lib._sel_data1, + ); return NSMutableData._(_ret, _lib, retain: true, release: true); } static NSMutableData dataWithBytes_length_( - SwiftLibrary _lib, ffi.Pointer bytes, int length) { - final _ret = _lib._objc_msgSend_273(_lib._class_NSMutableData1, - _lib._sel_dataWithBytes_length_1, bytes, length); + SwiftLibrary _lib, + ffi.Pointer bytes, + int length, + ) { + final _ret = _lib._objc_msgSend_273( + _lib._class_NSMutableData1, + _lib._sel_dataWithBytes_length_1, + bytes, + length, + ); return NSMutableData._(_ret, _lib, retain: true, release: true); } static NSMutableData dataWithBytesNoCopy_length_( - SwiftLibrary _lib, ffi.Pointer bytes, int length) { - final _ret = _lib._objc_msgSend_273(_lib._class_NSMutableData1, - _lib._sel_dataWithBytesNoCopy_length_1, bytes, length); + SwiftLibrary _lib, + ffi.Pointer bytes, + int length, + ) { + final _ret = _lib._objc_msgSend_273( + _lib._class_NSMutableData1, + _lib._sel_dataWithBytesNoCopy_length_1, + bytes, + length, + ); return NSMutableData._(_ret, _lib, retain: false, release: true); } static NSMutableData dataWithBytesNoCopy_length_freeWhenDone_( - SwiftLibrary _lib, ffi.Pointer bytes, int length, bool b) { - final _ret = _lib._objc_msgSend_274(_lib._class_NSMutableData1, - _lib._sel_dataWithBytesNoCopy_length_freeWhenDone_1, bytes, length, b); + SwiftLibrary _lib, + ffi.Pointer bytes, + int length, + bool b, + ) { + final _ret = _lib._objc_msgSend_274( + _lib._class_NSMutableData1, + _lib._sel_dataWithBytesNoCopy_length_freeWhenDone_1, + bytes, + length, + b, + ); return NSMutableData._(_ret, _lib, retain: false, release: true); } static NSMutableData? dataWithContentsOfFile_options_error_( - SwiftLibrary _lib, - NSString path, - int readOptionsMask, - ffi.Pointer> errorPtr) { + SwiftLibrary _lib, + NSString path, + int readOptionsMask, + ffi.Pointer> errorPtr, + ) { final _ret = _lib._objc_msgSend_275( - _lib._class_NSMutableData1, - _lib._sel_dataWithContentsOfFile_options_error_1, - path._id, - readOptionsMask, - errorPtr); + _lib._class_NSMutableData1, + _lib._sel_dataWithContentsOfFile_options_error_1, + path.pointer, + readOptionsMask, + errorPtr, + ); return _ret.address == 0 ? null : NSMutableData._(_ret, _lib, retain: true, release: true); } static NSMutableData? dataWithContentsOfURL_options_error_( - SwiftLibrary _lib, - NSURL url, - int readOptionsMask, - ffi.Pointer> errorPtr) { + SwiftLibrary _lib, + NSURL url, + int readOptionsMask, + ffi.Pointer> errorPtr, + ) { final _ret = _lib._objc_msgSend_276( - _lib._class_NSMutableData1, - _lib._sel_dataWithContentsOfURL_options_error_1, - url._id, - readOptionsMask, - errorPtr); + _lib._class_NSMutableData1, + _lib._sel_dataWithContentsOfURL_options_error_1, + url.pointer, + readOptionsMask, + errorPtr, + ); return _ret.address == 0 ? null : NSMutableData._(_ret, _lib, retain: true, release: true); } static NSMutableData? dataWithContentsOfFile_( - SwiftLibrary _lib, NSString path) { - final _ret = _lib._objc_msgSend_38(_lib._class_NSMutableData1, - _lib._sel_dataWithContentsOfFile_1, path._id); + SwiftLibrary _lib, + NSString path, + ) { + final _ret = _lib._objc_msgSend_38( + _lib._class_NSMutableData1, + _lib._sel_dataWithContentsOfFile_1, + path.pointer, + ); return _ret.address == 0 ? null : NSMutableData._(_ret, _lib, retain: true, release: true); @@ -48045,7 +63041,10 @@ class NSMutableData extends NSData { static NSMutableData? dataWithContentsOfURL_(SwiftLibrary _lib, NSURL url) { final _ret = _lib._objc_msgSend_277( - _lib._class_NSMutableData1, _lib._sel_dataWithContentsOfURL_1, url._id); + _lib._class_NSMutableData1, + _lib._sel_dataWithContentsOfURL_1, + url.pointer, + ); return _ret.address == 0 ? null : NSMutableData._(_ret, _lib, retain: true, release: true); @@ -48054,63 +63053,91 @@ class NSMutableData extends NSData { @override NSMutableData initWithBytes_length_(ffi.Pointer bytes, int length) { final _ret = _lib._objc_msgSend_273( - _id, _lib._sel_initWithBytes_length_1, bytes, length); + this.pointer, + _lib._sel_initWithBytes_length_1, + bytes, + length, + ); return NSMutableData._(_ret, _lib, retain: true, release: true); } @override NSMutableData initWithBytesNoCopy_length_( - ffi.Pointer bytes, int length) { + ffi.Pointer bytes, + int length, + ) { final _ret = _lib._objc_msgSend_273( - _id, _lib._sel_initWithBytesNoCopy_length_1, bytes, length); + this.pointer, + _lib._sel_initWithBytesNoCopy_length_1, + bytes, + length, + ); return NSMutableData._(_ret, _lib, retain: false, release: true); } @override NSMutableData initWithBytesNoCopy_length_freeWhenDone_( - ffi.Pointer bytes, int length, bool b) { - final _ret = _lib._objc_msgSend_274(_id, - _lib._sel_initWithBytesNoCopy_length_freeWhenDone_1, bytes, length, b); + ffi.Pointer bytes, + int length, + bool b, + ) { + final _ret = _lib._objc_msgSend_274( + this.pointer, + _lib._sel_initWithBytesNoCopy_length_freeWhenDone_1, + bytes, + length, + b, + ); return NSMutableData._(_ret, _lib, retain: false, release: true); } @override NSMutableData initWithBytesNoCopy_length_deallocator_( - ffi.Pointer bytes, - int length, - ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong? deallocator) { + ffi.Pointer bytes, + int length, + ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong? deallocator, + ) { final _ret = _lib._objc_msgSend_278( - _id, - _lib._sel_initWithBytesNoCopy_length_deallocator_1, - bytes, - length, - deallocator?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_initWithBytesNoCopy_length_deallocator_1, + bytes, + length, + deallocator?.pointer ?? ffi.nullptr, + ); return NSMutableData._(_ret, _lib, retain: false, release: true); } @override - NSMutableData? initWithContentsOfFile_options_error_(NSString path, - int readOptionsMask, ffi.Pointer> errorPtr) { + NSMutableData? initWithContentsOfFile_options_error_( + NSString path, + int readOptionsMask, + ffi.Pointer> errorPtr, + ) { final _ret = _lib._objc_msgSend_275( - _id, - _lib._sel_initWithContentsOfFile_options_error_1, - path._id, - readOptionsMask, - errorPtr); + this.pointer, + _lib._sel_initWithContentsOfFile_options_error_1, + path.pointer, + readOptionsMask, + errorPtr, + ); return _ret.address == 0 ? null : NSMutableData._(_ret, _lib, retain: true, release: true); } @override - NSMutableData? initWithContentsOfURL_options_error_(NSURL url, - int readOptionsMask, ffi.Pointer> errorPtr) { + NSMutableData? initWithContentsOfURL_options_error_( + NSURL url, + int readOptionsMask, + ffi.Pointer> errorPtr, + ) { final _ret = _lib._objc_msgSend_276( - _id, - _lib._sel_initWithContentsOfURL_options_error_1, - url._id, - readOptionsMask, - errorPtr); + this.pointer, + _lib._sel_initWithContentsOfURL_options_error_1, + url.pointer, + readOptionsMask, + errorPtr, + ); return _ret.address == 0 ? null : NSMutableData._(_ret, _lib, retain: true, release: true); @@ -48119,7 +63146,10 @@ class NSMutableData extends NSData { @override NSMutableData? initWithContentsOfFile_(NSString path) { final _ret = _lib._objc_msgSend_38( - _id, _lib._sel_initWithContentsOfFile_1, path._id); + this.pointer, + _lib._sel_initWithContentsOfFile_1, + path.pointer, + ); return _ret.address == 0 ? null : NSMutableData._(_ret, _lib, retain: true, release: true); @@ -48127,8 +63157,11 @@ class NSMutableData extends NSData { @override NSMutableData? initWithContentsOfURL_(NSURL url) { - final _ret = - _lib._objc_msgSend_277(_id, _lib._sel_initWithContentsOfURL_1, url._id); + final _ret = _lib._objc_msgSend_277( + this.pointer, + _lib._sel_initWithContentsOfURL_1, + url.pointer, + ); return _ret.address == 0 ? null : NSMutableData._(_ret, _lib, retain: true, release: true); @@ -48136,25 +63169,34 @@ class NSMutableData extends NSData { @override NSMutableData initWithData_(NSData data) { - final _ret = - _lib._objc_msgSend_279(_id, _lib._sel_initWithData_1, data._id); + final _ret = _lib._objc_msgSend_279( + this.pointer, + _lib._sel_initWithData_1, + data.pointer, + ); return NSMutableData._(_ret, _lib, retain: true, release: true); } static NSMutableData dataWithData_(SwiftLibrary _lib, NSData data) { final _ret = _lib._objc_msgSend_279( - _lib._class_NSMutableData1, _lib._sel_dataWithData_1, data._id); + _lib._class_NSMutableData1, + _lib._sel_dataWithData_1, + data.pointer, + ); return NSMutableData._(_ret, _lib, retain: true, release: true); } @override NSMutableData? initWithBase64EncodedString_options_( - NSString base64String, int options) { + NSString base64String, + int options, + ) { final _ret = _lib._objc_msgSend_280( - _id, - _lib._sel_initWithBase64EncodedString_options_1, - base64String._id, - options); + this.pointer, + _lib._sel_initWithBase64EncodedString_options_1, + base64String.pointer, + options, + ); return _ret.address == 0 ? null : NSMutableData._(_ret, _lib, retain: true, release: true); @@ -48162,9 +63204,15 @@ class NSMutableData extends NSData { @override NSMutableData? initWithBase64EncodedData_options_( - NSData base64Data, int options) { - final _ret = _lib._objc_msgSend_282(_id, - _lib._sel_initWithBase64EncodedData_options_1, base64Data._id, options); + NSData base64Data, + int options, + ) { + final _ret = _lib._objc_msgSend_282( + this.pointer, + _lib._sel_initWithBase64EncodedData_options_1, + base64Data.pointer, + options, + ); return _ret.address == 0 ? null : NSMutableData._(_ret, _lib, retain: true, release: true); @@ -48172,9 +63220,15 @@ class NSMutableData extends NSData { @override NSMutableData? decompressedDataUsingAlgorithm_error_( - int algorithm, ffi.Pointer> error) { - final _ret = _lib._objc_msgSend_284(_id, - _lib._sel_decompressedDataUsingAlgorithm_error_1, algorithm, error); + int algorithm, + ffi.Pointer> error, + ) { + final _ret = _lib._objc_msgSend_284( + this.pointer, + _lib._sel_decompressedDataUsingAlgorithm_error_1, + algorithm, + error, + ); return _ret.address == 0 ? null : NSMutableData._(_ret, _lib, retain: true, release: true); @@ -48182,18 +63236,29 @@ class NSMutableData extends NSData { @override NSMutableData? compressedDataUsingAlgorithm_error_( - int algorithm, ffi.Pointer> error) { + int algorithm, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_284( - _id, _lib._sel_compressedDataUsingAlgorithm_error_1, algorithm, error); + this.pointer, + _lib._sel_compressedDataUsingAlgorithm_error_1, + algorithm, + error, + ); return _ret.address == 0 ? null : NSMutableData._(_ret, _lib, retain: true, release: true); } static NSObject? dataWithContentsOfMappedFile_( - SwiftLibrary _lib, NSString path) { - final _ret = _lib._objc_msgSend_38(_lib._class_NSMutableData1, - _lib._sel_dataWithContentsOfMappedFile_1, path._id); + SwiftLibrary _lib, + NSString path, + ) { + final _ret = _lib._objc_msgSend_38( + _lib._class_NSMutableData1, + _lib._sel_dataWithContentsOfMappedFile_1, + path.pointer, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); @@ -48201,89 +63266,127 @@ class NSMutableData extends NSData { @override NSMutableData init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSMutableData._(_ret, _lib, retain: true, release: true); } static NSMutableData new1(SwiftLibrary _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSMutableData1, _lib._sel_new1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSMutableData1, + _lib._sel_new1, + ); return NSMutableData._(_ret, _lib, retain: false, release: true); } static NSMutableData allocWithZone_( - SwiftLibrary _lib, ffi.Pointer<_NSZone> zone) { + SwiftLibrary _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSMutableData1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSMutableData1, + _lib._sel_allocWithZone_1, + zone, + ); return NSMutableData._(_ret, _lib, retain: false, release: true); } static NSMutableData alloc(SwiftLibrary _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSMutableData1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSMutableData1, + _lib._sel_alloc1, + ); return NSMutableData._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + SwiftLibrary _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSMutableData1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSMutableData1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSMutableData1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + SwiftLibrary _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSMutableData1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { return _lib._objc_msgSend_12( - _lib._class_NSMutableData1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_NSMutableData1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(SwiftLibrary _lib) { return _lib._objc_msgSend_12( - _lib._class_NSMutableData1, _lib._sel_useStoredAccessor1); + _lib._class_NSMutableData1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSMutableData1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSMutableData1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSMutableData1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSMutableData1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, NSArray keys, NSString dependentKey) { + SwiftLibrary _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSMutableData1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSMutableData1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_85( - _lib._class_NSMutableData1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSMutableData1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSMutableData1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSMutableData1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } @@ -48295,68 +63398,103 @@ abstract class NSPropertyListFormat { } class NSThread extends NSObject { - NSThread._(ffi.Pointer id, SwiftLibrary lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSThread._( + ffi.Pointer pointer, + SwiftLibrary lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSThread] that points to the same underlying object as [other]. - static NSThread castFrom(T other) { - return NSThread._(other._id, other._lib, retain: true, release: true); + static NSThread castFrom( + SwiftLibrary lib, + T other, + ) { + return NSThread._(other.pointer, lib, retain: true, release: true); } /// Returns a [NSThread] that wraps the given raw object pointer. static NSThread castFromPointer( - SwiftLibrary lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + SwiftLibrary lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSThread._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSThread]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_NSThread1); + static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSThread1, + ); } static NSThread getCurrentThread(SwiftLibrary _lib) { - final _ret = - _lib._objc_msgSend_531(_lib._class_NSThread1, _lib._sel_currentThread1); + final _ret = _lib._objc_msgSend_531( + _lib._class_NSThread1, + _lib._sel_currentThread1, + ); return NSThread._(_ret, _lib, retain: true, release: true); } static void detachNewThreadWithBlock_( - SwiftLibrary _lib, ObjCBlock_ffiVoid block) { + SwiftLibrary _lib, + ObjCBlock_ffiVoid block, + ) { _lib._objc_msgSend_532( - _lib._class_NSThread1, _lib._sel_detachNewThreadWithBlock_1, block._id); + _lib._class_NSThread1, + _lib._sel_detachNewThreadWithBlock_1, + block.pointer, + ); } - static void detachNewThreadSelector_toTarget_withObject_(SwiftLibrary _lib, - ffi.Pointer selector, NSObject target, NSObject? argument) { + static void detachNewThreadSelector_toTarget_withObject_( + SwiftLibrary _lib, + ffi.Pointer selector, + NSObject target, + NSObject? argument, + ) { _lib._objc_msgSend_533( - _lib._class_NSThread1, - _lib._sel_detachNewThreadSelector_toTarget_withObject_1, - selector, - target._id, - argument?._id ?? ffi.nullptr); + _lib._class_NSThread1, + _lib._sel_detachNewThreadSelector_toTarget_withObject_1, + selector, + target.pointer, + argument?.pointer ?? ffi.nullptr, + ); } static bool isMultiThreaded(SwiftLibrary _lib) { return _lib._objc_msgSend_12( - _lib._class_NSThread1, _lib._sel_isMultiThreaded1); + _lib._class_NSThread1, + _lib._sel_isMultiThreaded1, + ); } NSMutableDictionary get threadDictionary { - final _ret = _lib._objc_msgSend_539(_id, _lib._sel_threadDictionary1); + final _ret = _lib._objc_msgSend_539( + this.pointer, + _lib._sel_threadDictionary1, + ); return NSMutableDictionary._(_ret, _lib, retain: true, release: true); } static void sleepUntilDate_(SwiftLibrary _lib, NSDate date) { _lib._objc_msgSend_540( - _lib._class_NSThread1, _lib._sel_sleepUntilDate_1, date._id); + _lib._class_NSThread1, + _lib._sel_sleepUntilDate_1, + date.pointer, + ); } static void sleepForTimeInterval_(SwiftLibrary _lib, double ti) { _lib._objc_msgSend_541( - _lib._class_NSThread1, _lib._sel_sleepForTimeInterval_1, ti); + _lib._class_NSThread1, + _lib._sel_sleepForTimeInterval_1, + ti, + ); } static void exit(SwiftLibrary _lib) { @@ -48364,37 +63502,49 @@ class NSThread extends NSObject { } double get threadPriority { - return _lib._objc_msgSend_useVariants1 - ? _lib._objc_msgSend_165_fpret(_id, _lib._sel_threadPriority1) - : _lib._objc_msgSend_165(_id, _lib._sel_threadPriority1); + return objc.useMsgSendVariants + ? _lib._objc_msgSend_165_fpret(this.pointer, _lib._sel_threadPriority1) + : _lib._objc_msgSend_165(this.pointer, _lib._sel_threadPriority1); } set threadPriority(double value) { - return _lib._objc_msgSend_542(_id, _lib._sel_setThreadPriority_1, value); + return _lib._objc_msgSend_542( + this.pointer, + _lib._sel_setThreadPriority_1, + value, + ); } int get qualityOfService { - return _lib._objc_msgSend_543(_id, _lib._sel_qualityOfService1); + return _lib._objc_msgSend_543(this.pointer, _lib._sel_qualityOfService1); } set qualityOfService(int value) { - return _lib._objc_msgSend_544(_id, _lib._sel_setQualityOfService_1, value); + return _lib._objc_msgSend_544( + this.pointer, + _lib._sel_setQualityOfService_1, + value, + ); } static NSArray getCallStackReturnAddresses(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_85( - _lib._class_NSThread1, _lib._sel_callStackReturnAddresses1); + _lib._class_NSThread1, + _lib._sel_callStackReturnAddresses1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSArray getCallStackSymbols(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_85( - _lib._class_NSThread1, _lib._sel_callStackSymbols1); + _lib._class_NSThread1, + _lib._sel_callStackSymbols1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } NSString? get name { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_name1); + final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_name1); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); @@ -48402,72 +63552,88 @@ class NSThread extends NSObject { set name(NSString? value) { return _lib._objc_msgSend_545( - _id, _lib._sel_setName_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setName_1, + value?.pointer ?? ffi.nullptr, + ); } int get stackSize { - return _lib._objc_msgSend_10(_id, _lib._sel_stackSize1); + return _lib._objc_msgSend_10(this.pointer, _lib._sel_stackSize1); } set stackSize(int value) { - return _lib._objc_msgSend_516(_id, _lib._sel_setStackSize_1, value); + return _lib._objc_msgSend_516( + this.pointer, + _lib._sel_setStackSize_1, + value, + ); } bool get isMainThread { - return _lib._objc_msgSend_12(_id, _lib._sel_isMainThread1); + return _lib._objc_msgSend_12(this.pointer, _lib._sel_isMainThread1); } static NSThread getMainThread(SwiftLibrary _lib) { - final _ret = - _lib._objc_msgSend_531(_lib._class_NSThread1, _lib._sel_mainThread1); + final _ret = _lib._objc_msgSend_531( + _lib._class_NSThread1, + _lib._sel_mainThread1, + ); return NSThread._(_ret, _lib, retain: true, release: true); } @override NSThread init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSThread._(_ret, _lib, retain: true, release: true); } NSThread initWithTarget_selector_object_( - NSObject target, ffi.Pointer selector, NSObject? argument) { + NSObject target, + ffi.Pointer selector, + NSObject? argument, + ) { final _ret = _lib._objc_msgSend_546( - _id, - _lib._sel_initWithTarget_selector_object_1, - target._id, - selector, - argument?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_initWithTarget_selector_object_1, + target.pointer, + selector, + argument?.pointer ?? ffi.nullptr, + ); return NSThread._(_ret, _lib, retain: true, release: true); } NSThread initWithBlock_(ObjCBlock_ffiVoid block) { - final _ret = - _lib._objc_msgSend_547(_id, _lib._sel_initWithBlock_1, block._id); + final _ret = _lib._objc_msgSend_547( + this.pointer, + _lib._sel_initWithBlock_1, + block.pointer, + ); return NSThread._(_ret, _lib, retain: true, release: true); } bool get executing { - return _lib._objc_msgSend_12(_id, _lib._sel_isExecuting1); + return _lib._objc_msgSend_12(this.pointer, _lib._sel_isExecuting1); } bool get finished { - return _lib._objc_msgSend_12(_id, _lib._sel_isFinished1); + return _lib._objc_msgSend_12(this.pointer, _lib._sel_isFinished1); } bool get cancelled { - return _lib._objc_msgSend_12(_id, _lib._sel_isCancelled1); + return _lib._objc_msgSend_12(this.pointer, _lib._sel_isCancelled1); } void cancel() { - _lib._objc_msgSend_1(_id, _lib._sel_cancel1); + _lib._objc_msgSend_1(this.pointer, _lib._sel_cancel1); } void start() { - _lib._objc_msgSend_1(_id, _lib._sel_start1); + _lib._objc_msgSend_1(this.pointer, _lib._sel_start1); } void main() { - _lib._objc_msgSend_1(_id, _lib._sel_main1); + _lib._objc_msgSend_1(this.pointer, _lib._sel_main1); } static NSThread new1(SwiftLibrary _lib) { @@ -48477,7 +63643,10 @@ class NSThread extends NSObject { static NSThread allocWithZone_(SwiftLibrary _lib, ffi.Pointer<_NSZone> zone) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSThread1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSThread1, + _lib._sel_allocWithZone_1, + zone, + ); return NSThread._(_ret, _lib, retain: false, release: true); } @@ -48487,72 +63656,99 @@ class NSThread extends NSObject { } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + SwiftLibrary _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSThread1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSThread1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSThread1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + SwiftLibrary _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSThread1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { return _lib._objc_msgSend_12( - _lib._class_NSThread1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_NSThread1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(SwiftLibrary _lib) { return _lib._objc_msgSend_12( - _lib._class_NSThread1, _lib._sel_useStoredAccessor1); + _lib._class_NSThread1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSThread1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSThread1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSThread1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSThread1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, NSArray keys, NSString dependentKey) { + SwiftLibrary _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSThread1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSThread1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_85( - _lib._class_NSThread1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSThread1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSThread1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSThread1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } -void _ObjCBlock_ffiVoid_fnPtrTrampoline( - ffi.Pointer<_ObjCBlock> block, -) => +void _ObjCBlock_ffiVoid_fnPtrTrampoline(ffi.Pointer block) => block.ref.target .cast>() .asFunction()(); @@ -48565,19 +63761,26 @@ ffi.Pointer _ObjCBlock_ffiVoid_registerClosure(void Function() fn) { } void _ObjCBlock_ffiVoid_closureTrampoline( - ffi.Pointer<_ObjCBlock> block, -) => - _ObjCBlock_ffiVoid_closureRegistry[block.ref.target.address]!(); + ffi.Pointer block, +) => _ObjCBlock_ffiVoid_closureRegistry[block.ref.target.address]!(); + +class ObjCBlock_ffiVoid extends objc.ObjCBlockBase { + ObjCBlock_ffiVoid._( + ffi.Pointer pointer, + this._lib, { + bool retain = false, + bool release = true, + }) : super(pointer, retain: retain, release: release); -class ObjCBlock_ffiVoid extends _ObjCBlockBase { - ObjCBlock_ffiVoid._(ffi.Pointer<_ObjCBlock> id, SwiftLibrary lib, - {bool retain = false, bool release = true}) - : super._(id, lib, retain: retain, release: release); + SwiftLibrary _lib; /// Returns a block that wraps the given raw block pointer. static ObjCBlock_ffiVoid castFromPointer( - SwiftLibrary lib, ffi.Pointer<_ObjCBlock> pointer, - {bool retain = false, bool release = false}) { + SwiftLibrary lib, + ffi.Pointer pointer, { + bool retain = false, + bool release = false, + }) { return ObjCBlock_ffiVoid._(pointer, lib, retain: retain, release: release); } @@ -48586,16 +63789,16 @@ class ObjCBlock_ffiVoid extends _ObjCBlockBase { /// This block must be invoked by native code running on the same thread as /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. - ObjCBlock_ffiVoid.fromFunctionPointer(SwiftLibrary lib, - ffi.Pointer> ptr) - : this._( - lib._newBlock1( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function(ffi.Pointer<_ObjCBlock>)>( - _ObjCBlock_ffiVoid_fnPtrTrampoline) - .cast(), - ptr.cast()), - lib); + ObjCBlock_ffiVoid.fromFunctionPointer( + SwiftLibrary lib, + ffi.Pointer> ptr, + ) : this._(objc.newBlock( + _cFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function(ffi.Pointer) + >(_ObjCBlock_ffiVoid_fnPtrTrampoline).cast(), + ptr.cast(), + ), lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -48604,14 +63807,13 @@ class ObjCBlock_ffiVoid extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid.fromFunction(SwiftLibrary lib, void Function() fn) - : this._( - lib._newBlock1( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function(ffi.Pointer<_ObjCBlock>)>( - _ObjCBlock_ffiVoid_closureTrampoline) - .cast(), - _ObjCBlock_ffiVoid_registerClosure(() => fn())), - lib); + : this._(objc.newBlock( + _dartFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function(ffi.Pointer) + >(_ObjCBlock_ffiVoid_closureTrampoline).cast(), + _ObjCBlock_ffiVoid_registerClosure(() => fn()), + ), lib); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -48624,78 +63826,105 @@ class ObjCBlock_ffiVoid extends _ObjCBlockBase { /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. ObjCBlock_ffiVoid.listener(SwiftLibrary lib, void Function() fn) - : this._( - lib._newBlock1( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>)>.listener( - _ObjCBlock_ffiVoid_closureTrampoline) - ..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_registerClosure(() => fn())), - lib); - static ffi.NativeCallable)>? - _dartFuncListenerTrampoline; - - void call() => _id.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer<_ObjCBlock> block)>>() - .asFunction)>()( - _id, - ); + : this._(objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function(ffi.Pointer) + >.listener( + _ObjCBlock_ffiVoid_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_registerClosure(() => fn()), + ), lib); + static ffi.NativeCallable)>? + _dartFuncListenerTrampoline; + + void call() => pointer.ref.invoke + .cast< + ffi.NativeFunction block)> + >() + .asFunction)>()(pointer); } class NSMutableDictionary extends NSDictionary { - NSMutableDictionary._(ffi.Pointer id, SwiftLibrary lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSMutableDictionary._( + ffi.Pointer pointer, + SwiftLibrary lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSMutableDictionary] that points to the same underlying object as [other]. - static NSMutableDictionary castFrom(T other) { - return NSMutableDictionary._(other._id, other._lib, - retain: true, release: true); + static NSMutableDictionary castFrom( + SwiftLibrary lib, + T other, + ) { + return NSMutableDictionary._( + other.pointer, + lib, + retain: true, + release: true, + ); } /// Returns a [NSMutableDictionary] that wraps the given raw object pointer. static NSMutableDictionary castFromPointer( - SwiftLibrary lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + SwiftLibrary lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSMutableDictionary._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSMutableDictionary]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0(obj._id, obj._lib._sel_isKindOfClass_1, - obj._lib._class_NSMutableDictionary1); + static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSMutableDictionary1, + ); } void removeObjectForKey_(NSObject aKey) { - _lib._objc_msgSend_15(_id, _lib._sel_removeObjectForKey_1, aKey._id); + _lib._objc_msgSend_15( + this.pointer, + _lib._sel_removeObjectForKey_1, + aKey.pointer, + ); } void setObject_forKey_(NSObject anObject, NSObject aKey) { _lib._objc_msgSend_534( - _id, _lib._sel_setObject_forKey_1, anObject._id, aKey._id); + this.pointer, + _lib._sel_setObject_forKey_1, + anObject.pointer, + aKey.pointer, + ); } @override NSMutableDictionary init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSMutableDictionary._(_ret, _lib, retain: true, release: true); } NSMutableDictionary initWithCapacity_(int numItems) { - final _ret = - _lib._objc_msgSend_65(_id, _lib._sel_initWithCapacity_1, numItems); + final _ret = _lib._objc_msgSend_65( + this.pointer, + _lib._sel_initWithCapacity_1, + numItems, + ); return NSMutableDictionary._(_ret, _lib, retain: true, release: true); } @override NSMutableDictionary? initWithCoder_(NSCoder coder) { - final _ret = - _lib._objc_msgSend_47(_id, _lib._sel_initWithCoder_1, coder._id); + final _ret = _lib._objc_msgSend_47( + this.pointer, + _lib._sel_initWithCoder_1, + coder.pointer, + ); return _ret.address == 0 ? null : NSMutableDictionary._(_ret, _lib, retain: true, release: true); @@ -48703,46 +63932,76 @@ class NSMutableDictionary extends NSDictionary { void addEntriesFromDictionary_(NSDictionary otherDictionary) { _lib._objc_msgSend_509( - _id, _lib._sel_addEntriesFromDictionary_1, otherDictionary._id); + this.pointer, + _lib._sel_addEntriesFromDictionary_1, + otherDictionary.pointer, + ); } void removeAllObjects() { - _lib._objc_msgSend_1(_id, _lib._sel_removeAllObjects1); + _lib._objc_msgSend_1(this.pointer, _lib._sel_removeAllObjects1); } void removeObjectsForKeys_(NSArray keyArray) { - _lib._objc_msgSend_472(_id, _lib._sel_removeObjectsForKeys_1, keyArray._id); + _lib._objc_msgSend_472( + this.pointer, + _lib._sel_removeObjectsForKeys_1, + keyArray.pointer, + ); } void setDictionary_(NSDictionary otherDictionary) { - _lib._objc_msgSend_509(_id, _lib._sel_setDictionary_1, otherDictionary._id); + _lib._objc_msgSend_509( + this.pointer, + _lib._sel_setDictionary_1, + otherDictionary.pointer, + ); } void setObject_forKeyedSubscript_(NSObject? obj, NSObject key) { - _lib._objc_msgSend_535(_id, _lib._sel_setObject_forKeyedSubscript_1, - obj?._id ?? ffi.nullptr, key._id); + _lib._objc_msgSend_535( + this.pointer, + _lib._sel_setObject_forKeyedSubscript_1, + obj?.pointer ?? ffi.nullptr, + key.pointer, + ); } static NSMutableDictionary dictionaryWithCapacity_( - SwiftLibrary _lib, int numItems) { - final _ret = _lib._objc_msgSend_65(_lib._class_NSMutableDictionary1, - _lib._sel_dictionaryWithCapacity_1, numItems); + SwiftLibrary _lib, + int numItems, + ) { + final _ret = _lib._objc_msgSend_65( + _lib._class_NSMutableDictionary1, + _lib._sel_dictionaryWithCapacity_1, + numItems, + ); return NSMutableDictionary._(_ret, _lib, retain: true, release: true); } static NSMutableDictionary? dictionaryWithContentsOfFile_( - SwiftLibrary _lib, NSString path) { - final _ret = _lib._objc_msgSend_536(_lib._class_NSMutableDictionary1, - _lib._sel_dictionaryWithContentsOfFile_1, path._id); + SwiftLibrary _lib, + NSString path, + ) { + final _ret = _lib._objc_msgSend_536( + _lib._class_NSMutableDictionary1, + _lib._sel_dictionaryWithContentsOfFile_1, + path.pointer, + ); return _ret.address == 0 ? null : NSMutableDictionary._(_ret, _lib, retain: true, release: true); } static NSMutableDictionary? dictionaryWithContentsOfURL_( - SwiftLibrary _lib, NSURL url) { - final _ret = _lib._objc_msgSend_537(_lib._class_NSMutableDictionary1, - _lib._sel_dictionaryWithContentsOfURL_1, url._id); + SwiftLibrary _lib, + NSURL url, + ) { + final _ret = _lib._objc_msgSend_537( + _lib._class_NSMutableDictionary1, + _lib._sel_dictionaryWithContentsOfURL_1, + url.pointer, + ); return _ret.address == 0 ? null : NSMutableDictionary._(_ret, _lib, retain: true, release: true); @@ -48750,209 +64009,326 @@ class NSMutableDictionary extends NSDictionary { NSMutableDictionary? initWithContentsOfFile_(NSString path) { final _ret = _lib._objc_msgSend_536( - _id, _lib._sel_initWithContentsOfFile_1, path._id); + this.pointer, + _lib._sel_initWithContentsOfFile_1, + path.pointer, + ); return _ret.address == 0 ? null : NSMutableDictionary._(_ret, _lib, retain: true, release: true); } NSMutableDictionary? initWithContentsOfURL_(NSURL url) { - final _ret = - _lib._objc_msgSend_537(_id, _lib._sel_initWithContentsOfURL_1, url._id); + final _ret = _lib._objc_msgSend_537( + this.pointer, + _lib._sel_initWithContentsOfURL_1, + url.pointer, + ); return _ret.address == 0 ? null : NSMutableDictionary._(_ret, _lib, retain: true, release: true); } static NSMutableDictionary dictionaryWithSharedKeySet_( - SwiftLibrary _lib, NSObject keyset) { - final _ret = _lib._objc_msgSend_538(_lib._class_NSMutableDictionary1, - _lib._sel_dictionaryWithSharedKeySet_1, keyset._id); + SwiftLibrary _lib, + NSObject keyset, + ) { + final _ret = _lib._objc_msgSend_538( + _lib._class_NSMutableDictionary1, + _lib._sel_dictionaryWithSharedKeySet_1, + keyset.pointer, + ); return NSMutableDictionary._(_ret, _lib, retain: true, release: true); } void setValue_forKey_(NSObject? value, NSString key) { _lib._objc_msgSend_135( - _id, _lib._sel_setValue_forKey_1, value?._id ?? ffi.nullptr, key._id); + this.pointer, + _lib._sel_setValue_forKey_1, + value?.pointer ?? ffi.nullptr, + key.pointer, + ); } @override NSMutableDictionary initWithObjects_forKeys_count_( - ffi.Pointer> objects, - ffi.Pointer> keys, - int cnt) { + ffi.Pointer> objects, + ffi.Pointer> keys, + int cnt, + ) { final _ret = _lib._objc_msgSend_147( - _id, _lib._sel_initWithObjects_forKeys_count_1, objects, keys, cnt); + this.pointer, + _lib._sel_initWithObjects_forKeys_count_1, + objects, + keys, + cnt, + ); return NSMutableDictionary._(_ret, _lib, retain: true, release: true); } static NSMutableDictionary dictionary(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSMutableDictionary1, _lib._sel_dictionary1); + _lib._class_NSMutableDictionary1, + _lib._sel_dictionary1, + ); return NSMutableDictionary._(_ret, _lib, retain: true, release: true); } static NSMutableDictionary dictionaryWithObject_forKey_( - SwiftLibrary _lib, NSObject object, NSObject key) { - final _ret = _lib._objc_msgSend_158(_lib._class_NSMutableDictionary1, - _lib._sel_dictionaryWithObject_forKey_1, object._id, key._id); + SwiftLibrary _lib, + NSObject object, + NSObject key, + ) { + final _ret = _lib._objc_msgSend_158( + _lib._class_NSMutableDictionary1, + _lib._sel_dictionaryWithObject_forKey_1, + object.pointer, + key.pointer, + ); return NSMutableDictionary._(_ret, _lib, retain: true, release: true); } static NSMutableDictionary dictionaryWithObjects_forKeys_count_( - SwiftLibrary _lib, - ffi.Pointer> objects, - ffi.Pointer> keys, - int cnt) { - final _ret = _lib._objc_msgSend_147(_lib._class_NSMutableDictionary1, - _lib._sel_dictionaryWithObjects_forKeys_count_1, objects, keys, cnt); + SwiftLibrary _lib, + ffi.Pointer> objects, + ffi.Pointer> keys, + int cnt, + ) { + final _ret = _lib._objc_msgSend_147( + _lib._class_NSMutableDictionary1, + _lib._sel_dictionaryWithObjects_forKeys_count_1, + objects, + keys, + cnt, + ); return NSMutableDictionary._(_ret, _lib, retain: true, release: true); } static NSMutableDictionary dictionaryWithObjectsAndKeys_( - SwiftLibrary _lib, NSObject firstObject) { - final _ret = _lib._objc_msgSend_124(_lib._class_NSMutableDictionary1, - _lib._sel_dictionaryWithObjectsAndKeys_1, firstObject._id); + SwiftLibrary _lib, + NSObject firstObject, + ) { + final _ret = _lib._objc_msgSend_124( + _lib._class_NSMutableDictionary1, + _lib._sel_dictionaryWithObjectsAndKeys_1, + firstObject.pointer, + ); return NSMutableDictionary._(_ret, _lib, retain: true, release: true); } static NSMutableDictionary dictionaryWithDictionary_( - SwiftLibrary _lib, NSDictionary dict) { - final _ret = _lib._objc_msgSend_159(_lib._class_NSMutableDictionary1, - _lib._sel_dictionaryWithDictionary_1, dict._id); + SwiftLibrary _lib, + NSDictionary dict, + ) { + final _ret = _lib._objc_msgSend_159( + _lib._class_NSMutableDictionary1, + _lib._sel_dictionaryWithDictionary_1, + dict.pointer, + ); return NSMutableDictionary._(_ret, _lib, retain: true, release: true); } static NSMutableDictionary dictionaryWithObjects_forKeys_( - SwiftLibrary _lib, NSArray objects, NSArray keys) { - final _ret = _lib._objc_msgSend_160(_lib._class_NSMutableDictionary1, - _lib._sel_dictionaryWithObjects_forKeys_1, objects._id, keys._id); + SwiftLibrary _lib, + NSArray objects, + NSArray keys, + ) { + final _ret = _lib._objc_msgSend_160( + _lib._class_NSMutableDictionary1, + _lib._sel_dictionaryWithObjects_forKeys_1, + objects.pointer, + keys.pointer, + ); return NSMutableDictionary._(_ret, _lib, retain: true, release: true); } @override NSMutableDictionary initWithObjectsAndKeys_(NSObject firstObject) { final _ret = _lib._objc_msgSend_124( - _id, _lib._sel_initWithObjectsAndKeys_1, firstObject._id); + this.pointer, + _lib._sel_initWithObjectsAndKeys_1, + firstObject.pointer, + ); return NSMutableDictionary._(_ret, _lib, retain: true, release: true); } @override NSMutableDictionary initWithDictionary_(NSDictionary otherDictionary) { final _ret = _lib._objc_msgSend_159( - _id, _lib._sel_initWithDictionary_1, otherDictionary._id); + this.pointer, + _lib._sel_initWithDictionary_1, + otherDictionary.pointer, + ); return NSMutableDictionary._(_ret, _lib, retain: true, release: true); } @override NSMutableDictionary initWithDictionary_copyItems_( - NSDictionary otherDictionary, bool flag) { - final _ret = _lib._objc_msgSend_161(_id, - _lib._sel_initWithDictionary_copyItems_1, otherDictionary._id, flag); + NSDictionary otherDictionary, + bool flag, + ) { + final _ret = _lib._objc_msgSend_161( + this.pointer, + _lib._sel_initWithDictionary_copyItems_1, + otherDictionary.pointer, + flag, + ); return NSMutableDictionary._(_ret, _lib, retain: false, release: true); } @override NSMutableDictionary initWithObjects_forKeys_(NSArray objects, NSArray keys) { final _ret = _lib._objc_msgSend_160( - _id, _lib._sel_initWithObjects_forKeys_1, objects._id, keys._id); + this.pointer, + _lib._sel_initWithObjects_forKeys_1, + objects.pointer, + keys.pointer, + ); return NSMutableDictionary._(_ret, _lib, retain: true, release: true); } - static NSDictionary? dictionaryWithContentsOfURL_error_(SwiftLibrary _lib, - NSURL url, ffi.Pointer> error) { - final _ret = _lib._objc_msgSend_162(_lib._class_NSMutableDictionary1, - _lib._sel_dictionaryWithContentsOfURL_error_1, url._id, error); + static NSDictionary? dictionaryWithContentsOfURL_error_( + SwiftLibrary _lib, + NSURL url, + ffi.Pointer> error, + ) { + final _ret = _lib._objc_msgSend_162( + _lib._class_NSMutableDictionary1, + _lib._sel_dictionaryWithContentsOfURL_error_1, + url.pointer, + error, + ); return _ret.address == 0 ? null : NSDictionary._(_ret, _lib, retain: true, release: true); } static NSObject sharedKeySetForKeys_(SwiftLibrary _lib, NSArray keys) { - final _ret = _lib._objc_msgSend_125(_lib._class_NSMutableDictionary1, - _lib._sel_sharedKeySetForKeys_1, keys._id); + final _ret = _lib._objc_msgSend_125( + _lib._class_NSMutableDictionary1, + _lib._sel_sharedKeySetForKeys_1, + keys.pointer, + ); return NSObject._(_ret, _lib, retain: true, release: true); } static NSMutableDictionary new1(SwiftLibrary _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSMutableDictionary1, _lib._sel_new1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSMutableDictionary1, + _lib._sel_new1, + ); return NSMutableDictionary._(_ret, _lib, retain: false, release: true); } static NSMutableDictionary allocWithZone_( - SwiftLibrary _lib, ffi.Pointer<_NSZone> zone) { + SwiftLibrary _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSMutableDictionary1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSMutableDictionary1, + _lib._sel_allocWithZone_1, + zone, + ); return NSMutableDictionary._(_ret, _lib, retain: false, release: true); } static NSMutableDictionary alloc(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSMutableDictionary1, _lib._sel_alloc1); + _lib._class_NSMutableDictionary1, + _lib._sel_alloc1, + ); return NSMutableDictionary._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + SwiftLibrary _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSMutableDictionary1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSMutableDictionary1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSMutableDictionary1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + SwiftLibrary _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSMutableDictionary1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { - return _lib._objc_msgSend_12(_lib._class_NSMutableDictionary1, - _lib._sel_accessInstanceVariablesDirectly1); + return _lib._objc_msgSend_12( + _lib._class_NSMutableDictionary1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(SwiftLibrary _lib) { return _lib._objc_msgSend_12( - _lib._class_NSMutableDictionary1, _lib._sel_useStoredAccessor1); + _lib._class_NSMutableDictionary1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSMutableDictionary1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSMutableDictionary1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSMutableDictionary1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSMutableDictionary1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, NSArray keys, NSString dependentKey) { + SwiftLibrary _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSMutableDictionary1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSMutableDictionary1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_85(_lib._class_NSMutableDictionary1, - _lib._sel_classFallbacksForKeyedArchiver1); + final _ret = _lib._objc_msgSend_85( + _lib._class_NSMutableDictionary1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSMutableDictionary1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSMutableDictionary1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } @@ -48966,72 +64342,115 @@ abstract class NSQualityOfService { } class NSArchiver extends NSCoder { - NSArchiver._(ffi.Pointer id, SwiftLibrary lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSArchiver._( + ffi.Pointer pointer, + SwiftLibrary lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSArchiver] that points to the same underlying object as [other]. - static NSArchiver castFrom(T other) { - return NSArchiver._(other._id, other._lib, retain: true, release: true); + static NSArchiver castFrom( + SwiftLibrary lib, + T other, + ) { + return NSArchiver._(other.pointer, lib, retain: true, release: true); } /// Returns a [NSArchiver] that wraps the given raw object pointer. static NSArchiver castFromPointer( - SwiftLibrary lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + SwiftLibrary lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSArchiver._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSArchiver]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_NSArchiver1); + static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSArchiver1, + ); } NSArchiver initForWritingWithMutableData_(NSMutableData mdata) { final _ret = _lib._objc_msgSend_521( - _id, _lib._sel_initForWritingWithMutableData_1, mdata._id); + this.pointer, + _lib._sel_initForWritingWithMutableData_1, + mdata.pointer, + ); return NSArchiver._(_ret, _lib, retain: true, release: true); } NSMutableData get archiverData { - final _ret = _lib._objc_msgSend_550(_id, _lib._sel_archiverData1); + final _ret = _lib._objc_msgSend_550(this.pointer, _lib._sel_archiverData1); return NSMutableData._(_ret, _lib, retain: true, release: true); } @override void encodeRootObject_(NSObject rootObject) { - _lib._objc_msgSend_15(_id, _lib._sel_encodeRootObject_1, rootObject._id); + _lib._objc_msgSend_15( + this.pointer, + _lib._sel_encodeRootObject_1, + rootObject.pointer, + ); } @override void encodeConditionalObject_(NSObject? object) { _lib._objc_msgSend_289( - _id, _lib._sel_encodeConditionalObject_1, object?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_encodeConditionalObject_1, + object?.pointer ?? ffi.nullptr, + ); } static NSData archivedDataWithRootObject_( - SwiftLibrary _lib, NSObject rootObject) { - final _ret = _lib._objc_msgSend_522(_lib._class_NSArchiver1, - _lib._sel_archivedDataWithRootObject_1, rootObject._id); + SwiftLibrary _lib, + NSObject rootObject, + ) { + final _ret = _lib._objc_msgSend_522( + _lib._class_NSArchiver1, + _lib._sel_archivedDataWithRootObject_1, + rootObject.pointer, + ); return NSData._(_ret, _lib, retain: true, release: true); } static bool archiveRootObject_toFile_( - SwiftLibrary _lib, NSObject rootObject, NSString path) { - return _lib._objc_msgSend_261(_lib._class_NSArchiver1, - _lib._sel_archiveRootObject_toFile_1, rootObject._id, path._id); + SwiftLibrary _lib, + NSObject rootObject, + NSString path, + ) { + return _lib._objc_msgSend_261( + _lib._class_NSArchiver1, + _lib._sel_archiveRootObject_toFile_1, + rootObject.pointer, + path.pointer, + ); } void encodeClassName_intoClassName_( - NSString trueName, NSString inArchiveName) { - _lib._objc_msgSend_551(_id, _lib._sel_encodeClassName_intoClassName_1, - trueName._id, inArchiveName._id); + NSString trueName, + NSString inArchiveName, + ) { + _lib._objc_msgSend_551( + this.pointer, + _lib._sel_encodeClassName_intoClassName_1, + trueName.pointer, + inArchiveName.pointer, + ); } NSString? classNameEncodedForTrueClassName_(NSString trueName) { final _ret = _lib._objc_msgSend_186( - _id, _lib._sel_classNameEncodedForTrueClassName_1, trueName._id); + this.pointer, + _lib._sel_classNameEncodedForTrueClassName_1, + trueName.pointer, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); @@ -49039,12 +64458,16 @@ class NSArchiver extends NSCoder { void replaceObject_withObject_(NSObject object, NSObject newObject) { _lib._objc_msgSend_534( - _id, _lib._sel_replaceObject_withObject_1, object._id, newObject._id); + this.pointer, + _lib._sel_replaceObject_withObject_1, + object.pointer, + newObject.pointer, + ); } @override NSArchiver init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSArchiver._(_ret, _lib, retain: true, release: true); } @@ -49054,160 +64477,224 @@ class NSArchiver extends NSCoder { } static NSArchiver allocWithZone_( - SwiftLibrary _lib, ffi.Pointer<_NSZone> zone) { + SwiftLibrary _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSArchiver1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSArchiver1, + _lib._sel_allocWithZone_1, + zone, + ); return NSArchiver._(_ret, _lib, retain: false, release: true); } static NSArchiver alloc(SwiftLibrary _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSArchiver1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSArchiver1, + _lib._sel_alloc1, + ); return NSArchiver._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + SwiftLibrary _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSArchiver1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSArchiver1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSArchiver1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + SwiftLibrary _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSArchiver1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { return _lib._objc_msgSend_12( - _lib._class_NSArchiver1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_NSArchiver1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(SwiftLibrary _lib) { return _lib._objc_msgSend_12( - _lib._class_NSArchiver1, _lib._sel_useStoredAccessor1); + _lib._class_NSArchiver1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSArchiver1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSArchiver1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSArchiver1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSArchiver1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, NSArray keys, NSString dependentKey) { + SwiftLibrary _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSArchiver1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSArchiver1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_85( - _lib._class_NSArchiver1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSArchiver1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSArchiver1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSArchiver1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } class NSPortCoder extends NSCoder { - NSPortCoder._(ffi.Pointer id, SwiftLibrary lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSPortCoder._( + ffi.Pointer pointer, + SwiftLibrary lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSPortCoder] that points to the same underlying object as [other]. - static NSPortCoder castFrom(T other) { - return NSPortCoder._(other._id, other._lib, retain: true, release: true); + static NSPortCoder castFrom( + SwiftLibrary lib, + T other, + ) { + return NSPortCoder._(other.pointer, lib, retain: true, release: true); } /// Returns a [NSPortCoder] that wraps the given raw object pointer. static NSPortCoder castFromPointer( - SwiftLibrary lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + SwiftLibrary lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSPortCoder._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSPortCoder]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_NSPortCoder1); + static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSPortCoder1, + ); } bool isBycopy() { - return _lib._objc_msgSend_12(_id, _lib._sel_isBycopy1); + return _lib._objc_msgSend_12(this.pointer, _lib._sel_isBycopy1); } bool isByref() { - return _lib._objc_msgSend_12(_id, _lib._sel_isByref1); + return _lib._objc_msgSend_12(this.pointer, _lib._sel_isByref1); } void encodePortObject_(NSPort aport) { - _lib._objc_msgSend_593(_id, _lib._sel_encodePortObject_1, aport._id); + _lib._objc_msgSend_593( + this.pointer, + _lib._sel_encodePortObject_1, + aport.pointer, + ); } NSPort? decodePortObject() { - final _ret = _lib._objc_msgSend_594(_id, _lib._sel_decodePortObject1); + final _ret = _lib._objc_msgSend_594( + this.pointer, + _lib._sel_decodePortObject1, + ); return _ret.address == 0 ? null : NSPort._(_ret, _lib, retain: true, release: true); } NSConnection? connection() { - final _ret = _lib._objc_msgSend_595(_id, _lib._sel_connection1); + final _ret = _lib._objc_msgSend_595(this.pointer, _lib._sel_connection1); return _ret.address == 0 ? null : NSConnection._(_ret, _lib, retain: true, release: true); } static NSObject portCoderWithReceivePort_sendPort_components_( - SwiftLibrary _lib, NSPort? rcvPort, NSPort? sndPort, NSArray? comps) { + SwiftLibrary _lib, + NSPort? rcvPort, + NSPort? sndPort, + NSArray? comps, + ) { final _ret = _lib._objc_msgSend_596( - _lib._class_NSPortCoder1, - _lib._sel_portCoderWithReceivePort_sendPort_components_1, - rcvPort?._id ?? ffi.nullptr, - sndPort?._id ?? ffi.nullptr, - comps?._id ?? ffi.nullptr); + _lib._class_NSPortCoder1, + _lib._sel_portCoderWithReceivePort_sendPort_components_1, + rcvPort?.pointer ?? ffi.nullptr, + sndPort?.pointer ?? ffi.nullptr, + comps?.pointer ?? ffi.nullptr, + ); return NSObject._(_ret, _lib, retain: true, release: true); } NSObject initWithReceivePort_sendPort_components_( - NSPort? rcvPort, NSPort? sndPort, NSArray? comps) { + NSPort? rcvPort, + NSPort? sndPort, + NSArray? comps, + ) { final _ret = _lib._objc_msgSend_596( - _id, - _lib._sel_initWithReceivePort_sendPort_components_1, - rcvPort?._id ?? ffi.nullptr, - sndPort?._id ?? ffi.nullptr, - comps?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_initWithReceivePort_sendPort_components_1, + rcvPort?.pointer ?? ffi.nullptr, + sndPort?.pointer ?? ffi.nullptr, + comps?.pointer ?? ffi.nullptr, + ); return NSObject._(_ret, _lib, retain: true, release: true); } void dispatch() { - _lib._objc_msgSend_1(_id, _lib._sel_dispatch1); + _lib._objc_msgSend_1(this.pointer, _lib._sel_dispatch1); } @override NSPortCoder init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSPortCoder._(_ret, _lib, retain: true, release: true); } @@ -49217,102 +64704,151 @@ class NSPortCoder extends NSCoder { } static NSPortCoder allocWithZone_( - SwiftLibrary _lib, ffi.Pointer<_NSZone> zone) { + SwiftLibrary _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSPortCoder1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSPortCoder1, + _lib._sel_allocWithZone_1, + zone, + ); return NSPortCoder._(_ret, _lib, retain: false, release: true); } static NSPortCoder alloc(SwiftLibrary _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSPortCoder1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSPortCoder1, + _lib._sel_alloc1, + ); return NSPortCoder._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + SwiftLibrary _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSPortCoder1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSPortCoder1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSPortCoder1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + SwiftLibrary _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSPortCoder1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { return _lib._objc_msgSend_12( - _lib._class_NSPortCoder1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_NSPortCoder1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(SwiftLibrary _lib) { return _lib._objc_msgSend_12( - _lib._class_NSPortCoder1, _lib._sel_useStoredAccessor1); + _lib._class_NSPortCoder1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSPortCoder1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSPortCoder1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSPortCoder1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSPortCoder1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, NSArray keys, NSString dependentKey) { + SwiftLibrary _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSPortCoder1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSPortCoder1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_85( - _lib._class_NSPortCoder1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSPortCoder1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSPortCoder1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSPortCoder1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } class NSPort extends NSObject { - NSPort._(ffi.Pointer id, SwiftLibrary lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSPort._( + ffi.Pointer pointer, + SwiftLibrary lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSPort] that points to the same underlying object as [other]. - static NSPort castFrom(T other) { - return NSPort._(other._id, other._lib, retain: true, release: true); + static NSPort castFrom( + SwiftLibrary lib, + T other, + ) { + return NSPort._(other.pointer, lib, retain: true, release: true); } /// Returns a [NSPort] that wraps the given raw object pointer. - static NSPort castFromPointer(SwiftLibrary lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + static NSPort castFromPointer( + SwiftLibrary lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSPort._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSPort]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_NSPort1); + static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSPort1, + ); } static NSPort port(SwiftLibrary _lib) { @@ -49321,20 +64857,23 @@ class NSPort extends NSObject { } void invalidate() { - _lib._objc_msgSend_1(_id, _lib._sel_invalidate1); + _lib._objc_msgSend_1(this.pointer, _lib._sel_invalidate1); } bool get valid { - return _lib._objc_msgSend_12(_id, _lib._sel_isValid1); + return _lib._objc_msgSend_12(this.pointer, _lib._sel_isValid1); } void setDelegate_(NSObject? anObject) { _lib._objc_msgSend_289( - _id, _lib._sel_setDelegate_1, anObject?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setDelegate_1, + anObject?.pointer ?? ffi.nullptr, + ); } NSObject? delegate() { - final _ret = _lib._objc_msgSend_17(_id, _lib._sel_delegate1); + final _ret = _lib._objc_msgSend_17(this.pointer, _lib._sel_delegate1); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); @@ -49342,67 +64881,91 @@ class NSPort extends NSObject { void scheduleInRunLoop_forMode_(NSRunLoop runLoop, NSString mode) { _lib._objc_msgSend_569( - _id, _lib._sel_scheduleInRunLoop_forMode_1, runLoop._id, mode._id); + this.pointer, + _lib._sel_scheduleInRunLoop_forMode_1, + runLoop.pointer, + mode.pointer, + ); } void removeFromRunLoop_forMode_(NSRunLoop runLoop, NSString mode) { _lib._objc_msgSend_569( - _id, _lib._sel_removeFromRunLoop_forMode_1, runLoop._id, mode._id); + this.pointer, + _lib._sel_removeFromRunLoop_forMode_1, + runLoop.pointer, + mode.pointer, + ); } int get reservedSpaceLength { - return _lib._objc_msgSend_10(_id, _lib._sel_reservedSpaceLength1); + return _lib._objc_msgSend_10(this.pointer, _lib._sel_reservedSpaceLength1); } bool sendBeforeDate_components_from_reserved_( - NSDate limitDate, - NSMutableArray? components, - NSPort? receivePort, - int headerSpaceReserved) { + NSDate limitDate, + NSMutableArray? components, + NSPort? receivePort, + int headerSpaceReserved, + ) { return _lib._objc_msgSend_570( - _id, - _lib._sel_sendBeforeDate_components_from_reserved_1, - limitDate._id, - components?._id ?? ffi.nullptr, - receivePort?._id ?? ffi.nullptr, - headerSpaceReserved); + this.pointer, + _lib._sel_sendBeforeDate_components_from_reserved_1, + limitDate.pointer, + components?.pointer ?? ffi.nullptr, + receivePort?.pointer ?? ffi.nullptr, + headerSpaceReserved, + ); } bool sendBeforeDate_msgid_components_from_reserved_( - NSDate limitDate, - int msgID, - NSMutableArray? components, - NSPort? receivePort, - int headerSpaceReserved) { + NSDate limitDate, + int msgID, + NSMutableArray? components, + NSPort? receivePort, + int headerSpaceReserved, + ) { return _lib._objc_msgSend_571( - _id, - _lib._sel_sendBeforeDate_msgid_components_from_reserved_1, - limitDate._id, - msgID, - components?._id ?? ffi.nullptr, - receivePort?._id ?? ffi.nullptr, - headerSpaceReserved); + this.pointer, + _lib._sel_sendBeforeDate_msgid_components_from_reserved_1, + limitDate.pointer, + msgID, + components?.pointer ?? ffi.nullptr, + receivePort?.pointer ?? ffi.nullptr, + headerSpaceReserved, + ); } void addConnection_toRunLoop_forMode_( - NSConnection conn, NSRunLoop runLoop, NSString mode) { - _lib._objc_msgSend_592(_id, _lib._sel_addConnection_toRunLoop_forMode_1, - conn._id, runLoop._id, mode._id); + NSConnection conn, + NSRunLoop runLoop, + NSString mode, + ) { + _lib._objc_msgSend_592( + this.pointer, + _lib._sel_addConnection_toRunLoop_forMode_1, + conn.pointer, + runLoop.pointer, + mode.pointer, + ); } void removeConnection_fromRunLoop_forMode_( - NSConnection conn, NSRunLoop runLoop, NSString mode) { + NSConnection conn, + NSRunLoop runLoop, + NSString mode, + ) { _lib._objc_msgSend_592( - _id, - _lib._sel_removeConnection_fromRunLoop_forMode_1, - conn._id, - runLoop._id, - mode._id); + this.pointer, + _lib._sel_removeConnection_fromRunLoop_forMode_1, + conn.pointer, + runLoop.pointer, + mode.pointer, + ); } @override NSPort init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSPort._(_ret, _lib, retain: true, release: true); } @@ -49413,7 +64976,10 @@ class NSPort extends NSObject { static NSPort allocWithZone_(SwiftLibrary _lib, ffi.Pointer<_NSZone> zone) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSPort1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSPort1, + _lib._sel_allocWithZone_1, + zone, + ); return NSPort._(_ret, _lib, retain: false, release: true); } @@ -49423,203 +64989,292 @@ class NSPort extends NSObject { } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + SwiftLibrary _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSPort1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSPort1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSPort1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + SwiftLibrary _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSPort1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { return _lib._objc_msgSend_12( - _lib._class_NSPort1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_NSPort1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(SwiftLibrary _lib) { return _lib._objc_msgSend_12( - _lib._class_NSPort1, _lib._sel_useStoredAccessor1); + _lib._class_NSPort1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSPort1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSPort1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSPort1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSPort1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, NSArray keys, NSString dependentKey) { + SwiftLibrary _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSPort1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSPort1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_85( - _lib._class_NSPort1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSPort1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSPort1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSPort1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } class NSRunLoop extends NSObject { - NSRunLoop._(ffi.Pointer id, SwiftLibrary lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSRunLoop._( + ffi.Pointer pointer, + SwiftLibrary lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSRunLoop] that points to the same underlying object as [other]. - static NSRunLoop castFrom(T other) { - return NSRunLoop._(other._id, other._lib, retain: true, release: true); + static NSRunLoop castFrom( + SwiftLibrary lib, + T other, + ) { + return NSRunLoop._(other.pointer, lib, retain: true, release: true); } /// Returns a [NSRunLoop] that wraps the given raw object pointer. static NSRunLoop castFromPointer( - SwiftLibrary lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + SwiftLibrary lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSRunLoop._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSRunLoop]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_NSRunLoop1); + static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSRunLoop1, + ); } static NSRunLoop getCurrentRunLoop(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_554( - _lib._class_NSRunLoop1, _lib._sel_currentRunLoop1); + _lib._class_NSRunLoop1, + _lib._sel_currentRunLoop1, + ); return NSRunLoop._(_ret, _lib, retain: true, release: true); } static NSRunLoop getMainRunLoop(SwiftLibrary _lib) { - final _ret = - _lib._objc_msgSend_554(_lib._class_NSRunLoop1, _lib._sel_mainRunLoop1); + final _ret = _lib._objc_msgSend_554( + _lib._class_NSRunLoop1, + _lib._sel_mainRunLoop1, + ); return NSRunLoop._(_ret, _lib, retain: true, release: true); } NSString? get currentMode { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_currentMode1); + final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_currentMode1); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } ffi.Pointer<__CFRunLoop> getCFRunLoop() { - return _lib._objc_msgSend_555(_id, _lib._sel_getCFRunLoop1); + return _lib._objc_msgSend_555(this.pointer, _lib._sel_getCFRunLoop1); } void addTimer_forMode_(NSTimer timer, NSString mode) { _lib._objc_msgSend_562( - _id, _lib._sel_addTimer_forMode_1, timer._id, mode._id); + this.pointer, + _lib._sel_addTimer_forMode_1, + timer.pointer, + mode.pointer, + ); } void addPort_forMode_(NSPort aPort, NSString mode) { _lib._objc_msgSend_563( - _id, _lib._sel_addPort_forMode_1, aPort._id, mode._id); + this.pointer, + _lib._sel_addPort_forMode_1, + aPort.pointer, + mode.pointer, + ); } void removePort_forMode_(NSPort aPort, NSString mode) { _lib._objc_msgSend_563( - _id, _lib._sel_removePort_forMode_1, aPort._id, mode._id); + this.pointer, + _lib._sel_removePort_forMode_1, + aPort.pointer, + mode.pointer, + ); } NSDate? limitDateForMode_(NSString mode) { - final _ret = - _lib._objc_msgSend_564(_id, _lib._sel_limitDateForMode_1, mode._id); + final _ret = _lib._objc_msgSend_564( + this.pointer, + _lib._sel_limitDateForMode_1, + mode.pointer, + ); return _ret.address == 0 ? null : NSDate._(_ret, _lib, retain: true, release: true); } void acceptInputForMode_beforeDate_(NSString mode, NSDate limitDate) { - _lib._objc_msgSend_565(_id, _lib._sel_acceptInputForMode_beforeDate_1, - mode._id, limitDate._id); + _lib._objc_msgSend_565( + this.pointer, + _lib._sel_acceptInputForMode_beforeDate_1, + mode.pointer, + limitDate.pointer, + ); } void run() { - _lib._objc_msgSend_1(_id, _lib._sel_run1); + _lib._objc_msgSend_1(this.pointer, _lib._sel_run1); } void runUntilDate_(NSDate limitDate) { - _lib._objc_msgSend_540(_id, _lib._sel_runUntilDate_1, limitDate._id); + _lib._objc_msgSend_540( + this.pointer, + _lib._sel_runUntilDate_1, + limitDate.pointer, + ); } bool runMode_beforeDate_(NSString mode, NSDate limitDate) { return _lib._objc_msgSend_566( - _id, _lib._sel_runMode_beforeDate_1, mode._id, limitDate._id); + this.pointer, + _lib._sel_runMode_beforeDate_1, + mode.pointer, + limitDate.pointer, + ); } void configureAsServer() { - _lib._objc_msgSend_1(_id, _lib._sel_configureAsServer1); + _lib._objc_msgSend_1(this.pointer, _lib._sel_configureAsServer1); } void performInModes_block_(NSArray modes, ObjCBlock_ffiVoid block) { _lib._objc_msgSend_567( - _id, _lib._sel_performInModes_block_1, modes._id, block._id); + this.pointer, + _lib._sel_performInModes_block_1, + modes.pointer, + block.pointer, + ); } void performBlock_(ObjCBlock_ffiVoid block) { - _lib._objc_msgSend_532(_id, _lib._sel_performBlock_1, block._id); + _lib._objc_msgSend_532( + this.pointer, + _lib._sel_performBlock_1, + block.pointer, + ); } void performSelector_target_argument_order_modes_( - ffi.Pointer aSelector, - NSObject target, - NSObject? arg, - int order, - NSArray modes) { + ffi.Pointer aSelector, + NSObject target, + NSObject? arg, + int order, + NSArray modes, + ) { _lib._objc_msgSend_568( - _id, - _lib._sel_performSelector_target_argument_order_modes_1, - aSelector, - target._id, - arg?._id ?? ffi.nullptr, - order, - modes._id); + this.pointer, + _lib._sel_performSelector_target_argument_order_modes_1, + aSelector, + target.pointer, + arg?.pointer ?? ffi.nullptr, + order, + modes.pointer, + ); } void cancelPerformSelector_target_argument_( - ffi.Pointer aSelector, NSObject target, NSObject? arg) { + ffi.Pointer aSelector, + NSObject target, + NSObject? arg, + ) { _lib._objc_msgSend_533( - _id, - _lib._sel_cancelPerformSelector_target_argument_1, - aSelector, - target._id, - arg?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_cancelPerformSelector_target_argument_1, + aSelector, + target.pointer, + arg?.pointer ?? ffi.nullptr, + ); } void cancelPerformSelectorsWithTarget_(NSObject target) { _lib._objc_msgSend_15( - _id, _lib._sel_cancelPerformSelectorsWithTarget_1, target._id); + this.pointer, + _lib._sel_cancelPerformSelectorsWithTarget_1, + target.pointer, + ); } @override NSRunLoop init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSRunLoop._(_ret, _lib, retain: true, release: true); } @@ -49629,9 +65284,14 @@ class NSRunLoop extends NSObject { } static NSRunLoop allocWithZone_( - SwiftLibrary _lib, ffi.Pointer<_NSZone> zone) { + SwiftLibrary _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSRunLoop1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSRunLoop1, + _lib._sel_allocWithZone_1, + zone, + ); return NSRunLoop._(_ret, _lib, retain: false, release: true); } @@ -49641,65 +65301,94 @@ class NSRunLoop extends NSObject { } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + SwiftLibrary _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSRunLoop1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSRunLoop1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSRunLoop1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + SwiftLibrary _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSRunLoop1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { return _lib._objc_msgSend_12( - _lib._class_NSRunLoop1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_NSRunLoop1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(SwiftLibrary _lib) { return _lib._objc_msgSend_12( - _lib._class_NSRunLoop1, _lib._sel_useStoredAccessor1); + _lib._class_NSRunLoop1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSRunLoop1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSRunLoop1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSRunLoop1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSRunLoop1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, NSArray keys, NSString dependentKey) { + SwiftLibrary _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSRunLoop1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSRunLoop1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_85( - _lib._class_NSRunLoop1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSRunLoop1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSRunLoop1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSRunLoop1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } @@ -49707,182 +65396,230 @@ class NSRunLoop extends NSObject { final class __CFRunLoop extends ffi.Opaque {} class NSTimer extends NSObject { - NSTimer._(ffi.Pointer id, SwiftLibrary lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSTimer._( + ffi.Pointer pointer, + SwiftLibrary lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSTimer] that points to the same underlying object as [other]. - static NSTimer castFrom(T other) { - return NSTimer._(other._id, other._lib, retain: true, release: true); + static NSTimer castFrom( + SwiftLibrary lib, + T other, + ) { + return NSTimer._(other.pointer, lib, retain: true, release: true); } /// Returns a [NSTimer] that wraps the given raw object pointer. static NSTimer castFromPointer( - SwiftLibrary lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + SwiftLibrary lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSTimer._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSTimer]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_NSTimer1); + static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSTimer1, + ); } static NSTimer timerWithTimeInterval_invocation_repeats_( - SwiftLibrary _lib, double ti, NSInvocation invocation, bool yesOrNo) { + SwiftLibrary _lib, + double ti, + NSInvocation invocation, + bool yesOrNo, + ) { final _ret = _lib._objc_msgSend_556( - _lib._class_NSTimer1, - _lib._sel_timerWithTimeInterval_invocation_repeats_1, - ti, - invocation._id, - yesOrNo); + _lib._class_NSTimer1, + _lib._sel_timerWithTimeInterval_invocation_repeats_1, + ti, + invocation.pointer, + yesOrNo, + ); return NSTimer._(_ret, _lib, retain: true, release: true); } static NSTimer scheduledTimerWithTimeInterval_invocation_repeats_( - SwiftLibrary _lib, double ti, NSInvocation invocation, bool yesOrNo) { + SwiftLibrary _lib, + double ti, + NSInvocation invocation, + bool yesOrNo, + ) { final _ret = _lib._objc_msgSend_556( - _lib._class_NSTimer1, - _lib._sel_scheduledTimerWithTimeInterval_invocation_repeats_1, - ti, - invocation._id, - yesOrNo); + _lib._class_NSTimer1, + _lib._sel_scheduledTimerWithTimeInterval_invocation_repeats_1, + ti, + invocation.pointer, + yesOrNo, + ); return NSTimer._(_ret, _lib, retain: true, release: true); } static NSTimer timerWithTimeInterval_target_selector_userInfo_repeats_( - SwiftLibrary _lib, - double ti, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? userInfo, - bool yesOrNo) { + SwiftLibrary _lib, + double ti, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? userInfo, + bool yesOrNo, + ) { final _ret = _lib._objc_msgSend_557( - _lib._class_NSTimer1, - _lib._sel_timerWithTimeInterval_target_selector_userInfo_repeats_1, - ti, - aTarget._id, - aSelector, - userInfo?._id ?? ffi.nullptr, - yesOrNo); + _lib._class_NSTimer1, + _lib._sel_timerWithTimeInterval_target_selector_userInfo_repeats_1, + ti, + aTarget.pointer, + aSelector, + userInfo?.pointer ?? ffi.nullptr, + yesOrNo, + ); return NSTimer._(_ret, _lib, retain: true, release: true); } static NSTimer - scheduledTimerWithTimeInterval_target_selector_userInfo_repeats_( - SwiftLibrary _lib, - double ti, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? userInfo, - bool yesOrNo) { + scheduledTimerWithTimeInterval_target_selector_userInfo_repeats_( + SwiftLibrary _lib, + double ti, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? userInfo, + bool yesOrNo, + ) { final _ret = _lib._objc_msgSend_557( - _lib._class_NSTimer1, - _lib._sel_scheduledTimerWithTimeInterval_target_selector_userInfo_repeats_1, - ti, - aTarget._id, - aSelector, - userInfo?._id ?? ffi.nullptr, - yesOrNo); + _lib._class_NSTimer1, + _lib._sel_scheduledTimerWithTimeInterval_target_selector_userInfo_repeats_1, + ti, + aTarget.pointer, + aSelector, + userInfo?.pointer ?? ffi.nullptr, + yesOrNo, + ); return NSTimer._(_ret, _lib, retain: true, release: true); } - static NSTimer timerWithTimeInterval_repeats_block_(SwiftLibrary _lib, - double interval, bool repeats, ObjCBlock_ffiVoid_NSTimer block) { + static NSTimer timerWithTimeInterval_repeats_block_( + SwiftLibrary _lib, + double interval, + bool repeats, + ObjCBlock_ffiVoid_NSTimer block, + ) { final _ret = _lib._objc_msgSend_558( - _lib._class_NSTimer1, - _lib._sel_timerWithTimeInterval_repeats_block_1, - interval, - repeats, - block._id); + _lib._class_NSTimer1, + _lib._sel_timerWithTimeInterval_repeats_block_1, + interval, + repeats, + block.pointer, + ); return NSTimer._(_ret, _lib, retain: true, release: true); } static NSTimer scheduledTimerWithTimeInterval_repeats_block_( - SwiftLibrary _lib, - double interval, - bool repeats, - ObjCBlock_ffiVoid_NSTimer block) { + SwiftLibrary _lib, + double interval, + bool repeats, + ObjCBlock_ffiVoid_NSTimer block, + ) { final _ret = _lib._objc_msgSend_558( - _lib._class_NSTimer1, - _lib._sel_scheduledTimerWithTimeInterval_repeats_block_1, - interval, - repeats, - block._id); + _lib._class_NSTimer1, + _lib._sel_scheduledTimerWithTimeInterval_repeats_block_1, + interval, + repeats, + block.pointer, + ); return NSTimer._(_ret, _lib, retain: true, release: true); } - NSTimer initWithFireDate_interval_repeats_block_(NSDate date, double interval, - bool repeats, ObjCBlock_ffiVoid_NSTimer block) { + NSTimer initWithFireDate_interval_repeats_block_( + NSDate date, + double interval, + bool repeats, + ObjCBlock_ffiVoid_NSTimer block, + ) { final _ret = _lib._objc_msgSend_559( - _id, - _lib._sel_initWithFireDate_interval_repeats_block_1, - date._id, - interval, - repeats, - block._id); + this.pointer, + _lib._sel_initWithFireDate_interval_repeats_block_1, + date.pointer, + interval, + repeats, + block.pointer, + ); return NSTimer._(_ret, _lib, retain: true, release: true); } NSTimer initWithFireDate_interval_target_selector_userInfo_repeats_( - NSDate date, - double ti, - NSObject t, - ffi.Pointer s, - NSObject? ui, - bool rep) { + NSDate date, + double ti, + NSObject t, + ffi.Pointer s, + NSObject? ui, + bool rep, + ) { final _ret = _lib._objc_msgSend_560( - _id, - _lib._sel_initWithFireDate_interval_target_selector_userInfo_repeats_1, - date._id, - ti, - t._id, - s, - ui?._id ?? ffi.nullptr, - rep); + this.pointer, + _lib._sel_initWithFireDate_interval_target_selector_userInfo_repeats_1, + date.pointer, + ti, + t.pointer, + s, + ui?.pointer ?? ffi.nullptr, + rep, + ); return NSTimer._(_ret, _lib, retain: true, release: true); } void fire() { - _lib._objc_msgSend_1(_id, _lib._sel_fire1); + _lib._objc_msgSend_1(this.pointer, _lib._sel_fire1); } NSDate get fireDate { - final _ret = _lib._objc_msgSend_172(_id, _lib._sel_fireDate1); + final _ret = _lib._objc_msgSend_172(this.pointer, _lib._sel_fireDate1); return NSDate._(_ret, _lib, retain: true, release: true); } set fireDate(NSDate value) { - return _lib._objc_msgSend_561(_id, _lib._sel_setFireDate_1, value._id); + return _lib._objc_msgSend_561( + this.pointer, + _lib._sel_setFireDate_1, + value.pointer, + ); } double get timeInterval { - return _lib._objc_msgSend_useVariants1 - ? _lib._objc_msgSend_165_fpret(_id, _lib._sel_timeInterval1) - : _lib._objc_msgSend_165(_id, _lib._sel_timeInterval1); + return objc.useMsgSendVariants + ? _lib._objc_msgSend_165_fpret(this.pointer, _lib._sel_timeInterval1) + : _lib._objc_msgSend_165(this.pointer, _lib._sel_timeInterval1); } double get tolerance { - return _lib._objc_msgSend_useVariants1 - ? _lib._objc_msgSend_165_fpret(_id, _lib._sel_tolerance1) - : _lib._objc_msgSend_165(_id, _lib._sel_tolerance1); + return objc.useMsgSendVariants + ? _lib._objc_msgSend_165_fpret(this.pointer, _lib._sel_tolerance1) + : _lib._objc_msgSend_165(this.pointer, _lib._sel_tolerance1); } set tolerance(double value) { - return _lib._objc_msgSend_542(_id, _lib._sel_setTolerance_1, value); + return _lib._objc_msgSend_542( + this.pointer, + _lib._sel_setTolerance_1, + value, + ); } void invalidate() { - _lib._objc_msgSend_1(_id, _lib._sel_invalidate1); + _lib._objc_msgSend_1(this.pointer, _lib._sel_invalidate1); } bool get valid { - return _lib._objc_msgSend_12(_id, _lib._sel_isValid1); + return _lib._objc_msgSend_12(this.pointer, _lib._sel_isValid1); } NSObject? get userInfo { - final _ret = _lib._objc_msgSend_17(_id, _lib._sel_userInfo1); + final _ret = _lib._objc_msgSend_17(this.pointer, _lib._sel_userInfo1); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); @@ -49890,7 +65627,7 @@ class NSTimer extends NSObject { @override NSTimer init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSTimer._(_ret, _lib, retain: true, release: true); } @@ -49901,7 +65638,10 @@ class NSTimer extends NSObject { static NSTimer allocWithZone_(SwiftLibrary _lib, ffi.Pointer<_NSZone> zone) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSTimer1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSTimer1, + _lib._sel_allocWithZone_1, + zone, + ); return NSTimer._(_ret, _lib, retain: false, release: true); } @@ -49911,101 +65651,147 @@ class NSTimer extends NSObject { } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + SwiftLibrary _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSTimer1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSTimer1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSTimer1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + SwiftLibrary _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSTimer1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { return _lib._objc_msgSend_12( - _lib._class_NSTimer1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_NSTimer1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(SwiftLibrary _lib) { return _lib._objc_msgSend_12( - _lib._class_NSTimer1, _lib._sel_useStoredAccessor1); + _lib._class_NSTimer1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSTimer1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSTimer1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSTimer1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSTimer1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, NSArray keys, NSString dependentKey) { + SwiftLibrary _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSTimer1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSTimer1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_85( - _lib._class_NSTimer1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSTimer1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSTimer1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSTimer1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } void _ObjCBlock_ffiVoid_NSTimer_fnPtrTrampoline( - ffi.Pointer<_ObjCBlock> block, ffi.Pointer arg0) => - block.ref.target - .cast< - ffi - .NativeFunction arg0)>>() - .asFunction)>()(arg0); + ffi.Pointer block, + ffi.Pointer arg0, +) => block.ref.target + .cast< + ffi.NativeFunction arg0)> + >() + .asFunction)>()(arg0); final _ObjCBlock_ffiVoid_NSTimer_closureRegistry = - )>{}; + )>{}; int _ObjCBlock_ffiVoid_NSTimer_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_ffiVoid_NSTimer_registerClosure( - void Function(ffi.Pointer) fn) { + void Function(ffi.Pointer) fn, +) { final id = ++_ObjCBlock_ffiVoid_NSTimer_closureRegistryIndex; _ObjCBlock_ffiVoid_NSTimer_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } void _ObjCBlock_ffiVoid_NSTimer_closureTrampoline( - ffi.Pointer<_ObjCBlock> block, ffi.Pointer arg0) => - _ObjCBlock_ffiVoid_NSTimer_closureRegistry[block.ref.target.address]!(arg0); - -class ObjCBlock_ffiVoid_NSTimer extends _ObjCBlockBase { - ObjCBlock_ffiVoid_NSTimer._(ffi.Pointer<_ObjCBlock> id, SwiftLibrary lib, - {bool retain = false, bool release = true}) - : super._(id, lib, retain: retain, release: release); + ffi.Pointer block, + ffi.Pointer arg0, +) => _ObjCBlock_ffiVoid_NSTimer_closureRegistry[block.ref.target.address]!( + arg0, +); + +class ObjCBlock_ffiVoid_NSTimer extends objc.ObjCBlockBase { + ObjCBlock_ffiVoid_NSTimer._( + ffi.Pointer pointer, + this._lib, { + bool retain = false, + bool release = true, + }) : super(pointer, retain: retain, release: release); + + SwiftLibrary _lib; /// Returns a block that wraps the given raw block pointer. static ObjCBlock_ffiVoid_NSTimer castFromPointer( - SwiftLibrary lib, ffi.Pointer<_ObjCBlock> pointer, - {bool retain = false, bool release = false}) { - return ObjCBlock_ffiVoid_NSTimer._(pointer, lib, - retain: retain, release: release); + SwiftLibrary lib, + ffi.Pointer pointer, { + bool retain = false, + bool release = false, + }) { + return ObjCBlock_ffiVoid_NSTimer._( + pointer, + lib, + retain: retain, + release: release, + ); } /// Creates a block from a C function pointer. @@ -50014,21 +65800,20 @@ class ObjCBlock_ffiVoid_NSTimer extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSTimer.fromFunctionPointer( - SwiftLibrary lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer arg0)>> - ptr) - : this._( - lib - ._newBlock1( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_NSTimer_fnPtrTrampoline) - .cast(), - ptr.cast()), - lib); + SwiftLibrary lib, + ffi.Pointer< + ffi.NativeFunction arg0)> + > ptr, + ) : this._(objc.newBlock( + _cFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_NSTimer_fnPtrTrampoline).cast(), + ptr.cast(), + ), lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -50037,18 +65822,20 @@ class ObjCBlock_ffiVoid_NSTimer extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSTimer.fromFunction( - SwiftLibrary lib, void Function(NSTimer) fn) - : this._( - lib._newBlock1( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_NSTimer_closureTrampoline) - .cast(), - _ObjCBlock_ffiVoid_NSTimer_registerClosure( - (ffi.Pointer arg0) => - fn(NSTimer._(arg0, lib, retain: true, release: true)))), - lib); + SwiftLibrary lib, + void Function(NSTimer) fn, + ) : this._(objc.newBlock( + _dartFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_NSTimer_closureTrampoline).cast(), + _ObjCBlock_ffiVoid_NSTimer_registerClosure(( + ffi.Pointer arg0, + ) => fn(NSTimer._(arg0, lib, retain: true, release: true))), + ), lib); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -50061,178 +65848,230 @@ class ObjCBlock_ffiVoid_NSTimer extends _ObjCBlockBase { /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. ObjCBlock_ffiVoid_NSTimer.listener( - SwiftLibrary lib, void Function(NSTimer) fn) - : this._( - lib._newBlock1( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, - ffi.Pointer)>.listener( - _ObjCBlock_ffiVoid_NSTimer_closureTrampoline) - ..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSTimer_registerClosure( - (ffi.Pointer arg0) => - fn(NSTimer._(arg0, lib, retain: true, release: true)))), - lib); + SwiftLibrary lib, + void Function(NSTimer) fn, + ) : this._(objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ) + >.listener( + _ObjCBlock_ffiVoid_NSTimer_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSTimer_registerClosure(( + ffi.Pointer arg0, + ) => fn(NSTimer._(arg0, lib, retain: true, release: true))), + ), lib); static ffi.NativeCallable< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer)>? - _dartFuncListenerTrampoline; + ffi.Void Function(ffi.Pointer, ffi.Pointer) + >? _dartFuncListenerTrampoline; - void call(NSTimer arg0) => _id.ref.invoke + void call(NSTimer arg0) => pointer.ref.invoke .cast< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0)>>() + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer block, + ffi.Pointer arg0, + ) + > + >() .asFunction< - void Function(ffi.Pointer<_ObjCBlock>, - ffi.Pointer)>()(_id, arg0._id); + void Function(ffi.Pointer, ffi.Pointer) + >()(pointer, arg0.pointer); } class NSConnection extends NSObject { - NSConnection._(ffi.Pointer id, SwiftLibrary lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSConnection._( + ffi.Pointer pointer, + SwiftLibrary lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSConnection] that points to the same underlying object as [other]. - static NSConnection castFrom(T other) { - return NSConnection._(other._id, other._lib, retain: true, release: true); + static NSConnection castFrom( + SwiftLibrary lib, + T other, + ) { + return NSConnection._(other.pointer, lib, retain: true, release: true); } /// Returns a [NSConnection] that wraps the given raw object pointer. static NSConnection castFromPointer( - SwiftLibrary lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + SwiftLibrary lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSConnection._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSConnection]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_NSConnection1); + static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSConnection1, + ); } NSDictionary get statistics { - final _ret = _lib._objc_msgSend_181(_id, _lib._sel_statistics1); + final _ret = _lib._objc_msgSend_181(this.pointer, _lib._sel_statistics1); return NSDictionary._(_ret, _lib, retain: true, release: true); } static NSArray allConnections(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_85( - _lib._class_NSConnection1, _lib._sel_allConnections1); + _lib._class_NSConnection1, + _lib._sel_allConnections1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSConnection defaultConnection(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_572( - _lib._class_NSConnection1, _lib._sel_defaultConnection1); + _lib._class_NSConnection1, + _lib._sel_defaultConnection1, + ); return NSConnection._(_ret, _lib, retain: true, release: true); } static NSConnection? connectionWithRegisteredName_host_( - SwiftLibrary _lib, NSString name, NSString? hostName) { + SwiftLibrary _lib, + NSString name, + NSString? hostName, + ) { final _ret = _lib._objc_msgSend_573( - _lib._class_NSConnection1, - _lib._sel_connectionWithRegisteredName_host_1, - name._id, - hostName?._id ?? ffi.nullptr); + _lib._class_NSConnection1, + _lib._sel_connectionWithRegisteredName_host_1, + name.pointer, + hostName?.pointer ?? ffi.nullptr, + ); return _ret.address == 0 ? null : NSConnection._(_ret, _lib, retain: true, release: true); } static NSConnection? connectionWithRegisteredName_host_usingNameServer_( - SwiftLibrary _lib, - NSString name, - NSString? hostName, - NSPortNameServer server) { + SwiftLibrary _lib, + NSString name, + NSString? hostName, + NSPortNameServer server, + ) { final _ret = _lib._objc_msgSend_578( - _lib._class_NSConnection1, - _lib._sel_connectionWithRegisteredName_host_usingNameServer_1, - name._id, - hostName?._id ?? ffi.nullptr, - server._id); + _lib._class_NSConnection1, + _lib._sel_connectionWithRegisteredName_host_usingNameServer_1, + name.pointer, + hostName?.pointer ?? ffi.nullptr, + server.pointer, + ); return _ret.address == 0 ? null : NSConnection._(_ret, _lib, retain: true, release: true); } static NSDistantObject? rootProxyForConnectionWithRegisteredName_host_( - SwiftLibrary _lib, NSString name, NSString? hostName) { + SwiftLibrary _lib, + NSString name, + NSString? hostName, + ) { final _ret = _lib._objc_msgSend_583( - _lib._class_NSConnection1, - _lib._sel_rootProxyForConnectionWithRegisteredName_host_1, - name._id, - hostName?._id ?? ffi.nullptr); + _lib._class_NSConnection1, + _lib._sel_rootProxyForConnectionWithRegisteredName_host_1, + name.pointer, + hostName?.pointer ?? ffi.nullptr, + ); return _ret.address == 0 ? null : NSDistantObject._(_ret, _lib, retain: true, release: true); } static NSDistantObject? - rootProxyForConnectionWithRegisteredName_host_usingNameServer_( - SwiftLibrary _lib, - NSString name, - NSString? hostName, - NSPortNameServer server) { + rootProxyForConnectionWithRegisteredName_host_usingNameServer_( + SwiftLibrary _lib, + NSString name, + NSString? hostName, + NSPortNameServer server, + ) { final _ret = _lib._objc_msgSend_584( - _lib._class_NSConnection1, - _lib._sel_rootProxyForConnectionWithRegisteredName_host_usingNameServer_1, - name._id, - hostName?._id ?? ffi.nullptr, - server._id); + _lib._class_NSConnection1, + _lib._sel_rootProxyForConnectionWithRegisteredName_host_usingNameServer_1, + name.pointer, + hostName?.pointer ?? ffi.nullptr, + server.pointer, + ); return _ret.address == 0 ? null : NSDistantObject._(_ret, _lib, retain: true, release: true); } static NSConnection? serviceConnectionWithName_rootObject_usingNameServer_( - SwiftLibrary _lib, - NSString name, - NSObject root, - NSPortNameServer server) { + SwiftLibrary _lib, + NSString name, + NSObject root, + NSPortNameServer server, + ) { final _ret = _lib._objc_msgSend_585( - _lib._class_NSConnection1, - _lib._sel_serviceConnectionWithName_rootObject_usingNameServer_1, - name._id, - root._id, - server._id); + _lib._class_NSConnection1, + _lib._sel_serviceConnectionWithName_rootObject_usingNameServer_1, + name.pointer, + root.pointer, + server.pointer, + ); return _ret.address == 0 ? null : NSConnection._(_ret, _lib, retain: true, release: true); } static NSConnection? serviceConnectionWithName_rootObject_( - SwiftLibrary _lib, NSString name, NSObject root) { - final _ret = _lib._objc_msgSend_586(_lib._class_NSConnection1, - _lib._sel_serviceConnectionWithName_rootObject_1, name._id, root._id); + SwiftLibrary _lib, + NSString name, + NSObject root, + ) { + final _ret = _lib._objc_msgSend_586( + _lib._class_NSConnection1, + _lib._sel_serviceConnectionWithName_rootObject_1, + name.pointer, + root.pointer, + ); return _ret.address == 0 ? null : NSConnection._(_ret, _lib, retain: true, release: true); } double get requestTimeout { - return _lib._objc_msgSend_useVariants1 - ? _lib._objc_msgSend_165_fpret(_id, _lib._sel_requestTimeout1) - : _lib._objc_msgSend_165(_id, _lib._sel_requestTimeout1); + return objc.useMsgSendVariants + ? _lib._objc_msgSend_165_fpret(this.pointer, _lib._sel_requestTimeout1) + : _lib._objc_msgSend_165(this.pointer, _lib._sel_requestTimeout1); } set requestTimeout(double value) { - return _lib._objc_msgSend_542(_id, _lib._sel_setRequestTimeout_1, value); + return _lib._objc_msgSend_542( + this.pointer, + _lib._sel_setRequestTimeout_1, + value, + ); } double get replyTimeout { - return _lib._objc_msgSend_useVariants1 - ? _lib._objc_msgSend_165_fpret(_id, _lib._sel_replyTimeout1) - : _lib._objc_msgSend_165(_id, _lib._sel_replyTimeout1); + return objc.useMsgSendVariants + ? _lib._objc_msgSend_165_fpret(this.pointer, _lib._sel_replyTimeout1) + : _lib._objc_msgSend_165(this.pointer, _lib._sel_replyTimeout1); } set replyTimeout(double value) { - return _lib._objc_msgSend_542(_id, _lib._sel_setReplyTimeout_1, value); + return _lib._objc_msgSend_542( + this.pointer, + _lib._sel_setReplyTimeout_1, + value, + ); } NSObject? get rootObject { - final _ret = _lib._objc_msgSend_17(_id, _lib._sel_rootObject1); + final _ret = _lib._objc_msgSend_17(this.pointer, _lib._sel_rootObject1); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); @@ -50240,11 +66079,14 @@ class NSConnection extends NSObject { set rootObject(NSObject? value) { return _lib._objc_msgSend_416( - _id, _lib._sel_setRootObject_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setRootObject_1, + value?.pointer ?? ffi.nullptr, + ); } NSObject? get delegate { - final _ret = _lib._objc_msgSend_17(_id, _lib._sel_delegate1); + final _ret = _lib._objc_msgSend_17(this.pointer, _lib._sel_delegate1); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); @@ -50252,62 +66094,89 @@ class NSConnection extends NSObject { set delegate(NSObject? value) { return _lib._objc_msgSend_416( - _id, _lib._sel_setDelegate_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setDelegate_1, + value?.pointer ?? ffi.nullptr, + ); } bool get independentConversationQueueing { return _lib._objc_msgSend_12( - _id, _lib._sel_independentConversationQueueing1); + this.pointer, + _lib._sel_independentConversationQueueing1, + ); } set independentConversationQueueing(bool value) { return _lib._objc_msgSend_527( - _id, _lib._sel_setIndependentConversationQueueing_1, value); + this.pointer, + _lib._sel_setIndependentConversationQueueing_1, + value, + ); } bool get valid { - return _lib._objc_msgSend_12(_id, _lib._sel_isValid1); + return _lib._objc_msgSend_12(this.pointer, _lib._sel_isValid1); } NSDistantObject get rootProxy { - final _ret = _lib._objc_msgSend_587(_id, _lib._sel_rootProxy1); + final _ret = _lib._objc_msgSend_587(this.pointer, _lib._sel_rootProxy1); return NSDistantObject._(_ret, _lib, retain: true, release: true); } void invalidate() { - _lib._objc_msgSend_1(_id, _lib._sel_invalidate1); + _lib._objc_msgSend_1(this.pointer, _lib._sel_invalidate1); } void addRequestMode_(NSString rmode) { - _lib._objc_msgSend_247(_id, _lib._sel_addRequestMode_1, rmode._id); + _lib._objc_msgSend_247( + this.pointer, + _lib._sel_addRequestMode_1, + rmode.pointer, + ); } void removeRequestMode_(NSString rmode) { - _lib._objc_msgSend_247(_id, _lib._sel_removeRequestMode_1, rmode._id); + _lib._objc_msgSend_247( + this.pointer, + _lib._sel_removeRequestMode_1, + rmode.pointer, + ); } NSArray get requestModes { - final _ret = _lib._objc_msgSend_85(_id, _lib._sel_requestModes1); + final _ret = _lib._objc_msgSend_85(this.pointer, _lib._sel_requestModes1); return NSArray._(_ret, _lib, retain: true, release: true); } bool registerName_(NSString? name) { return _lib._objc_msgSend_588( - _id, _lib._sel_registerName_1, name?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_registerName_1, + name?.pointer ?? ffi.nullptr, + ); } bool registerName_withNameServer_(NSString? name, NSPortNameServer server) { - return _lib._objc_msgSend_589(_id, _lib._sel_registerName_withNameServer_1, - name?._id ?? ffi.nullptr, server._id); + return _lib._objc_msgSend_589( + this.pointer, + _lib._sel_registerName_withNameServer_1, + name?.pointer ?? ffi.nullptr, + server.pointer, + ); } static NSConnection? connectionWithReceivePort_sendPort_( - SwiftLibrary _lib, NSPort? receivePort, NSPort? sendPort) { + SwiftLibrary _lib, + NSPort? receivePort, + NSPort? sendPort, + ) { final _ret = _lib._objc_msgSend_590( - _lib._class_NSConnection1, - _lib._sel_connectionWithReceivePort_sendPort_1, - receivePort?._id ?? ffi.nullptr, - sendPort?._id ?? ffi.nullptr); + _lib._class_NSConnection1, + _lib._sel_connectionWithReceivePort_sendPort_1, + receivePort?.pointer ?? ffi.nullptr, + sendPort?.pointer ?? ffi.nullptr, + ); return _ret.address == 0 ? null : NSConnection._(_ret, _lib, retain: true, release: true); @@ -50315,190 +66184,264 @@ class NSConnection extends NSObject { static NSObject? currentConversation(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_17( - _lib._class_NSConnection1, _lib._sel_currentConversation1); + _lib._class_NSConnection1, + _lib._sel_currentConversation1, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } NSConnection? initWithReceivePort_sendPort_( - NSPort? receivePort, NSPort? sendPort) { + NSPort? receivePort, + NSPort? sendPort, + ) { final _ret = _lib._objc_msgSend_590( - _id, - _lib._sel_initWithReceivePort_sendPort_1, - receivePort?._id ?? ffi.nullptr, - sendPort?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_initWithReceivePort_sendPort_1, + receivePort?.pointer ?? ffi.nullptr, + sendPort?.pointer ?? ffi.nullptr, + ); return _ret.address == 0 ? null : NSConnection._(_ret, _lib, retain: true, release: true); } NSPort get sendPort { - final _ret = _lib._objc_msgSend_553(_id, _lib._sel_sendPort1); + final _ret = _lib._objc_msgSend_553(this.pointer, _lib._sel_sendPort1); return NSPort._(_ret, _lib, retain: true, release: true); } NSPort get receivePort { - final _ret = _lib._objc_msgSend_553(_id, _lib._sel_receivePort1); + final _ret = _lib._objc_msgSend_553(this.pointer, _lib._sel_receivePort1); return NSPort._(_ret, _lib, retain: true, release: true); } void enableMultipleThreads() { - _lib._objc_msgSend_1(_id, _lib._sel_enableMultipleThreads1); + _lib._objc_msgSend_1(this.pointer, _lib._sel_enableMultipleThreads1); } bool get multipleThreadsEnabled { - return _lib._objc_msgSend_12(_id, _lib._sel_multipleThreadsEnabled1); + return _lib._objc_msgSend_12( + this.pointer, + _lib._sel_multipleThreadsEnabled1, + ); } void addRunLoop_(NSRunLoop runloop) { - _lib._objc_msgSend_591(_id, _lib._sel_addRunLoop_1, runloop._id); + _lib._objc_msgSend_591( + this.pointer, + _lib._sel_addRunLoop_1, + runloop.pointer, + ); } void removeRunLoop_(NSRunLoop runloop) { - _lib._objc_msgSend_591(_id, _lib._sel_removeRunLoop_1, runloop._id); + _lib._objc_msgSend_591( + this.pointer, + _lib._sel_removeRunLoop_1, + runloop.pointer, + ); } void runInNewThread() { - _lib._objc_msgSend_1(_id, _lib._sel_runInNewThread1); + _lib._objc_msgSend_1(this.pointer, _lib._sel_runInNewThread1); } NSArray get remoteObjects { - final _ret = _lib._objc_msgSend_85(_id, _lib._sel_remoteObjects1); + final _ret = _lib._objc_msgSend_85(this.pointer, _lib._sel_remoteObjects1); return NSArray._(_ret, _lib, retain: true, release: true); } NSArray get localObjects { - final _ret = _lib._objc_msgSend_85(_id, _lib._sel_localObjects1); + final _ret = _lib._objc_msgSend_85(this.pointer, _lib._sel_localObjects1); return NSArray._(_ret, _lib, retain: true, release: true); } void dispatchWithComponents_(NSArray components) { _lib._objc_msgSend_472( - _id, _lib._sel_dispatchWithComponents_1, components._id); + this.pointer, + _lib._sel_dispatchWithComponents_1, + components.pointer, + ); } @override NSConnection init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSConnection._(_ret, _lib, retain: true, release: true); } static NSConnection new1(SwiftLibrary _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSConnection1, _lib._sel_new1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSConnection1, + _lib._sel_new1, + ); return NSConnection._(_ret, _lib, retain: false, release: true); } static NSConnection allocWithZone_( - SwiftLibrary _lib, ffi.Pointer<_NSZone> zone) { + SwiftLibrary _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSConnection1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSConnection1, + _lib._sel_allocWithZone_1, + zone, + ); return NSConnection._(_ret, _lib, retain: false, release: true); } static NSConnection alloc(SwiftLibrary _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSConnection1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSConnection1, + _lib._sel_alloc1, + ); return NSConnection._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + SwiftLibrary _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSConnection1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSConnection1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSConnection1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + SwiftLibrary _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSConnection1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { return _lib._objc_msgSend_12( - _lib._class_NSConnection1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_NSConnection1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(SwiftLibrary _lib) { return _lib._objc_msgSend_12( - _lib._class_NSConnection1, _lib._sel_useStoredAccessor1); + _lib._class_NSConnection1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSConnection1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSConnection1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSConnection1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSConnection1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, NSArray keys, NSString dependentKey) { + SwiftLibrary _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSConnection1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSConnection1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_85( - _lib._class_NSConnection1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSConnection1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSConnection1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSConnection1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } class NSPortNameServer extends NSObject { - NSPortNameServer._(ffi.Pointer id, SwiftLibrary lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSPortNameServer._( + ffi.Pointer pointer, + SwiftLibrary lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSPortNameServer] that points to the same underlying object as [other]. - static NSPortNameServer castFrom(T other) { - return NSPortNameServer._(other._id, other._lib, - retain: true, release: true); + static NSPortNameServer castFrom( + SwiftLibrary lib, + T other, + ) { + return NSPortNameServer._(other.pointer, lib, retain: true, release: true); } /// Returns a [NSPortNameServer] that wraps the given raw object pointer. static NSPortNameServer castFromPointer( - SwiftLibrary lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + SwiftLibrary lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSPortNameServer._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSPortNameServer]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0(obj._id, obj._lib._sel_isKindOfClass_1, - obj._lib._class_NSPortNameServer1); + static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSPortNameServer1, + ); } static NSPortNameServer systemDefaultPortNameServer(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_574( - _lib._class_NSPortNameServer1, _lib._sel_systemDefaultPortNameServer1); + _lib._class_NSPortNameServer1, + _lib._sel_systemDefaultPortNameServer1, + ); return NSPortNameServer._(_ret, _lib, retain: true, release: true); } NSPort? portForName_(NSString name) { - final _ret = _lib._objc_msgSend_575(_id, _lib._sel_portForName_1, name._id); + final _ret = _lib._objc_msgSend_575( + this.pointer, + _lib._sel_portForName_1, + name.pointer, + ); return _ret.address == 0 ? null : NSPort._(_ret, _lib, retain: true, release: true); @@ -50506,7 +66449,11 @@ class NSPortNameServer extends NSObject { NSPort? portForName_host_(NSString name, NSString? host) { final _ret = _lib._objc_msgSend_576( - _id, _lib._sel_portForName_host_1, name._id, host?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_portForName_host_1, + name.pointer, + host?.pointer ?? ffi.nullptr, + ); return _ret.address == 0 ? null : NSPort._(_ret, _lib, retain: true, release: true); @@ -50514,161 +66461,247 @@ class NSPortNameServer extends NSObject { bool registerPort_name_(NSPort port, NSString name) { return _lib._objc_msgSend_577( - _id, _lib._sel_registerPort_name_1, port._id, name._id); + this.pointer, + _lib._sel_registerPort_name_1, + port.pointer, + name.pointer, + ); } bool removePortForName_(NSString name) { - return _lib._objc_msgSend_64(_id, _lib._sel_removePortForName_1, name._id); + return _lib._objc_msgSend_64( + this.pointer, + _lib._sel_removePortForName_1, + name.pointer, + ); } @override NSPortNameServer init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSPortNameServer._(_ret, _lib, retain: true, release: true); } static NSPortNameServer new1(SwiftLibrary _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSPortNameServer1, _lib._sel_new1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSPortNameServer1, + _lib._sel_new1, + ); return NSPortNameServer._(_ret, _lib, retain: false, release: true); } static NSPortNameServer allocWithZone_( - SwiftLibrary _lib, ffi.Pointer<_NSZone> zone) { + SwiftLibrary _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSPortNameServer1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSPortNameServer1, + _lib._sel_allocWithZone_1, + zone, + ); return NSPortNameServer._(_ret, _lib, retain: false, release: true); } static NSPortNameServer alloc(SwiftLibrary _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSPortNameServer1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSPortNameServer1, + _lib._sel_alloc1, + ); return NSPortNameServer._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + SwiftLibrary _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSPortNameServer1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSPortNameServer1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSPortNameServer1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + SwiftLibrary _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSPortNameServer1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { - return _lib._objc_msgSend_12(_lib._class_NSPortNameServer1, - _lib._sel_accessInstanceVariablesDirectly1); + return _lib._objc_msgSend_12( + _lib._class_NSPortNameServer1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(SwiftLibrary _lib) { return _lib._objc_msgSend_12( - _lib._class_NSPortNameServer1, _lib._sel_useStoredAccessor1); + _lib._class_NSPortNameServer1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSPortNameServer1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSPortNameServer1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSPortNameServer1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSPortNameServer1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, NSArray keys, NSString dependentKey) { + SwiftLibrary _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSPortNameServer1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSPortNameServer1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_85(_lib._class_NSPortNameServer1, - _lib._sel_classFallbacksForKeyedArchiver1); + final _ret = _lib._objc_msgSend_85( + _lib._class_NSPortNameServer1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSPortNameServer1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSPortNameServer1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } class NSDistantObject extends NSProxy { - NSDistantObject._(ffi.Pointer id, SwiftLibrary lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSDistantObject._( + ffi.Pointer pointer, + SwiftLibrary lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSDistantObject] that points to the same underlying object as [other]. - static NSDistantObject castFrom(T other) { - return NSDistantObject._(other._id, other._lib, - retain: true, release: true); + static NSDistantObject castFrom( + SwiftLibrary lib, + T other, + ) { + return NSDistantObject._(other.pointer, lib, retain: true, release: true); } /// Returns a [NSDistantObject] that wraps the given raw object pointer. static NSDistantObject castFromPointer( - SwiftLibrary lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + SwiftLibrary lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSDistantObject._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSDistantObject]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0(obj._id, obj._lib._sel_isKindOfClass_1, - obj._lib._class_NSDistantObject1); + static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSDistantObject1, + ); } static NSObject? proxyWithTarget_connection_( - SwiftLibrary _lib, NSObject target, NSConnection connection) { - final _ret = _lib._objc_msgSend_580(_lib._class_NSDistantObject1, - _lib._sel_proxyWithTarget_connection_1, target._id, connection._id); + SwiftLibrary _lib, + NSObject target, + NSConnection connection, + ) { + final _ret = _lib._objc_msgSend_580( + _lib._class_NSDistantObject1, + _lib._sel_proxyWithTarget_connection_1, + target.pointer, + connection.pointer, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } NSDistantObject? initWithTarget_connection_( - NSObject target, NSConnection connection) { + NSObject target, + NSConnection connection, + ) { final _ret = _lib._objc_msgSend_580( - _id, _lib._sel_initWithTarget_connection_1, target._id, connection._id); + this.pointer, + _lib._sel_initWithTarget_connection_1, + target.pointer, + connection.pointer, + ); return _ret.address == 0 ? null : NSDistantObject._(_ret, _lib, retain: true, release: true); } static NSObject proxyWithLocal_connection_( - SwiftLibrary _lib, NSObject target, NSConnection connection) { - final _ret = _lib._objc_msgSend_581(_lib._class_NSDistantObject1, - _lib._sel_proxyWithLocal_connection_1, target._id, connection._id); + SwiftLibrary _lib, + NSObject target, + NSConnection connection, + ) { + final _ret = _lib._objc_msgSend_581( + _lib._class_NSDistantObject1, + _lib._sel_proxyWithLocal_connection_1, + target.pointer, + connection.pointer, + ); return NSObject._(_ret, _lib, retain: true, release: true); } NSDistantObject initWithLocal_connection_( - NSObject target, NSConnection connection) { + NSObject target, + NSConnection connection, + ) { final _ret = _lib._objc_msgSend_581( - _id, _lib._sel_initWithLocal_connection_1, target._id, connection._id); + this.pointer, + _lib._sel_initWithLocal_connection_1, + target.pointer, + connection.pointer, + ); return NSDistantObject._(_ret, _lib, retain: true, release: true); } NSDistantObject? initWithCoder_(NSCoder inCoder) { - final _ret = - _lib._objc_msgSend_47(_id, _lib._sel_initWithCoder_1, inCoder._id); + final _ret = _lib._objc_msgSend_47( + this.pointer, + _lib._sel_initWithCoder_1, + inCoder.pointer, + ); return _ret.address == 0 ? null : NSDistantObject._(_ret, _lib, retain: true, release: true); @@ -50676,48 +66709,75 @@ class NSDistantObject extends NSProxy { void setProtocolForProxy_(Protocol? proto) { _lib._objc_msgSend_582( - _id, _lib._sel_setProtocolForProxy_1, proto?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setProtocolForProxy_1, + proto?.pointer ?? ffi.nullptr, + ); } NSConnection get connectionForProxy { - final _ret = _lib._objc_msgSend_572(_id, _lib._sel_connectionForProxy1); + final _ret = _lib._objc_msgSend_572( + this.pointer, + _lib._sel_connectionForProxy1, + ); return NSConnection._(_ret, _lib, retain: true, release: true); } static NSObject alloc(SwiftLibrary _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSDistantObject1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSDistantObject1, + _lib._sel_alloc1, + ); return NSObject._(_ret, _lib, retain: false, release: true); } static bool respondsToSelector_( - SwiftLibrary _lib, ffi.Pointer aSelector) { - return _lib._objc_msgSend_4(_lib._class_NSDistantObject1, - _lib._sel_respondsToSelector_1, aSelector); + SwiftLibrary _lib, + ffi.Pointer aSelector, + ) { + return _lib._objc_msgSend_4( + _lib._class_NSDistantObject1, + _lib._sel_respondsToSelector_1, + aSelector, + ); } } -class NSProxy extends _ObjCWrapper { - NSProxy._(ffi.Pointer id, SwiftLibrary lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); +class NSProxy extends objc.ObjCObjectBase { + NSProxy._( + ffi.Pointer pointer, + this._lib, { + bool retain = false, + bool release = false, + }) : super(pointer, retain: retain, release: release); + + SwiftLibrary _lib; /// Returns a [NSProxy] that points to the same underlying object as [other]. - static NSProxy castFrom(T other) { - return NSProxy._(other._id, other._lib, retain: true, release: true); + static NSProxy castFrom( + SwiftLibrary lib, + T other, + ) { + return NSProxy._(other.pointer, lib, retain: true, release: true); } /// Returns a [NSProxy] that wraps the given raw object pointer. static NSProxy castFromPointer( - SwiftLibrary lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + SwiftLibrary lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSProxy._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSProxy]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_NSProxy1); + static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSProxy1, + ); } static NSObject alloc(SwiftLibrary _lib) { @@ -50727,7 +66787,10 @@ class NSProxy extends _ObjCWrapper { static NSObject allocWithZone_(SwiftLibrary _lib, ffi.Pointer<_NSZone> zone) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSProxy1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSProxy1, + _lib._sel_allocWithZone_1, + zone, + ); return NSObject._(_ret, _lib, retain: false, release: true); } @@ -50737,92 +66800,136 @@ class NSProxy extends _ObjCWrapper { } void forwardInvocation_(NSInvocation invocation) { - _lib._objc_msgSend_421(_id, _lib._sel_forwardInvocation_1, invocation._id); + _lib._objc_msgSend_421( + this.pointer, + _lib._sel_forwardInvocation_1, + invocation.pointer, + ); } - NSMethodSignature? methodSignatureForSelector_(ffi.Pointer sel) { + NSMethodSignature? methodSignatureForSelector_( + ffi.Pointer sel, + ) { final _ret = _lib._objc_msgSend_579( - _id, _lib._sel_methodSignatureForSelector_1, sel); + this.pointer, + _lib._sel_methodSignatureForSelector_1, + sel, + ); return _ret.address == 0 ? null : NSMethodSignature._(_ret, _lib, retain: true, release: true); } void dealloc() { - _lib._objc_msgSend_1(_id, _lib._sel_dealloc1); + _lib._objc_msgSend_1(this.pointer, _lib._sel_dealloc1); } void finalize() { - _lib._objc_msgSend_1(_id, _lib._sel_finalize1); + _lib._objc_msgSend_1(this.pointer, _lib._sel_finalize1); } NSString get description { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_description1); + final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_description1); return NSString._(_ret, _lib, retain: true, release: true); } NSString get debugDescription { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_debugDescription1); + final _ret = _lib._objc_msgSend_21( + this.pointer, + _lib._sel_debugDescription1, + ); return NSString._(_ret, _lib, retain: true, release: true); } static bool respondsToSelector_( - SwiftLibrary _lib, ffi.Pointer aSelector) { + SwiftLibrary _lib, + ffi.Pointer aSelector, + ) { return _lib._objc_msgSend_4( - _lib._class_NSProxy1, _lib._sel_respondsToSelector_1, aSelector); + _lib._class_NSProxy1, + _lib._sel_respondsToSelector_1, + aSelector, + ); } bool allowsWeakReference() { - return _lib._objc_msgSend_12(_id, _lib._sel_allowsWeakReference1); + return _lib._objc_msgSend_12(this.pointer, _lib._sel_allowsWeakReference1); } bool retainWeakReference() { - return _lib._objc_msgSend_12(_id, _lib._sel_retainWeakReference1); + return _lib._objc_msgSend_12(this.pointer, _lib._sel_retainWeakReference1); } } class NSClassDescription extends NSObject { - NSClassDescription._(ffi.Pointer id, SwiftLibrary lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSClassDescription._( + ffi.Pointer pointer, + SwiftLibrary lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSClassDescription] that points to the same underlying object as [other]. - static NSClassDescription castFrom(T other) { - return NSClassDescription._(other._id, other._lib, - retain: true, release: true); + static NSClassDescription castFrom( + SwiftLibrary lib, + T other, + ) { + return NSClassDescription._( + other.pointer, + lib, + retain: true, + release: true, + ); } /// Returns a [NSClassDescription] that wraps the given raw object pointer. static NSClassDescription castFromPointer( - SwiftLibrary lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + SwiftLibrary lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSClassDescription._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSClassDescription]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0(obj._id, obj._lib._sel_isKindOfClass_1, - obj._lib._class_NSClassDescription1); + static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSClassDescription1, + ); } static void registerClassDescription_forClass_( - SwiftLibrary _lib, NSClassDescription description, NSObject aClass) { + SwiftLibrary _lib, + NSClassDescription description, + NSObject aClass, + ) { _lib._objc_msgSend_598( - _lib._class_NSClassDescription1, - _lib._sel_registerClassDescription_forClass_1, - description._id, - aClass._id); + _lib._class_NSClassDescription1, + _lib._sel_registerClassDescription_forClass_1, + description.pointer, + aClass.pointer, + ); } static void invalidateClassDescriptionCache(SwiftLibrary _lib) { - _lib._objc_msgSend_1(_lib._class_NSClassDescription1, - _lib._sel_invalidateClassDescriptionCache1); + _lib._objc_msgSend_1( + _lib._class_NSClassDescription1, + _lib._sel_invalidateClassDescriptionCache1, + ); } static NSClassDescription? classDescriptionForClass_( - SwiftLibrary _lib, NSObject aClass) { - final _ret = _lib._objc_msgSend_599(_lib._class_NSClassDescription1, - _lib._sel_classDescriptionForClass_1, aClass._id); + SwiftLibrary _lib, + NSObject aClass, + ) { + final _ret = _lib._objc_msgSend_599( + _lib._class_NSClassDescription1, + _lib._sel_classDescriptionForClass_1, + aClass.pointer, + ); return _ret.address == 0 ? null : NSClassDescription._(_ret, _lib, retain: true, release: true); @@ -50830,26 +66937,35 @@ class NSClassDescription extends NSObject { @override NSArray get attributeKeys { - final _ret = _lib._objc_msgSend_85(_id, _lib._sel_attributeKeys1); + final _ret = _lib._objc_msgSend_85(this.pointer, _lib._sel_attributeKeys1); return NSArray._(_ret, _lib, retain: true, release: true); } @override NSArray get toOneRelationshipKeys { - final _ret = _lib._objc_msgSend_85(_id, _lib._sel_toOneRelationshipKeys1); + final _ret = _lib._objc_msgSend_85( + this.pointer, + _lib._sel_toOneRelationshipKeys1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } @override NSArray get toManyRelationshipKeys { - final _ret = _lib._objc_msgSend_85(_id, _lib._sel_toManyRelationshipKeys1); + final _ret = _lib._objc_msgSend_85( + this.pointer, + _lib._sel_toManyRelationshipKeys1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } @override NSString? inverseForRelationshipKey_(NSString relationshipKey) { final _ret = _lib._objc_msgSend_186( - _id, _lib._sel_inverseForRelationshipKey_1, relationshipKey._id); + this.pointer, + _lib._sel_inverseForRelationshipKey_1, + relationshipKey.pointer, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); @@ -50857,161 +66973,235 @@ class NSClassDescription extends NSObject { @override NSClassDescription init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSClassDescription._(_ret, _lib, retain: true, release: true); } static NSClassDescription new1(SwiftLibrary _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSClassDescription1, _lib._sel_new1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSClassDescription1, + _lib._sel_new1, + ); return NSClassDescription._(_ret, _lib, retain: false, release: true); } static NSClassDescription allocWithZone_( - SwiftLibrary _lib, ffi.Pointer<_NSZone> zone) { + SwiftLibrary _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSClassDescription1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSClassDescription1, + _lib._sel_allocWithZone_1, + zone, + ); return NSClassDescription._(_ret, _lib, retain: false, release: true); } static NSClassDescription alloc(SwiftLibrary _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSClassDescription1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSClassDescription1, + _lib._sel_alloc1, + ); return NSClassDescription._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + SwiftLibrary _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSClassDescription1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSClassDescription1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSClassDescription1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + SwiftLibrary _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSClassDescription1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { - return _lib._objc_msgSend_12(_lib._class_NSClassDescription1, - _lib._sel_accessInstanceVariablesDirectly1); + return _lib._objc_msgSend_12( + _lib._class_NSClassDescription1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(SwiftLibrary _lib) { return _lib._objc_msgSend_12( - _lib._class_NSClassDescription1, _lib._sel_useStoredAccessor1); + _lib._class_NSClassDescription1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSClassDescription1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSClassDescription1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSClassDescription1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSClassDescription1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, NSArray keys, NSString dependentKey) { + SwiftLibrary _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSClassDescription1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSClassDescription1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_85(_lib._class_NSClassDescription1, - _lib._sel_classFallbacksForKeyedArchiver1); + final _ret = _lib._objc_msgSend_85( + _lib._class_NSClassDescription1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSClassDescription1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSClassDescription1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } class NSScriptObjectSpecifier extends NSObject { - NSScriptObjectSpecifier._(ffi.Pointer id, SwiftLibrary lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSScriptObjectSpecifier._( + ffi.Pointer pointer, + SwiftLibrary lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSScriptObjectSpecifier] that points to the same underlying object as [other]. - static NSScriptObjectSpecifier castFrom(T other) { - return NSScriptObjectSpecifier._(other._id, other._lib, - retain: true, release: true); + static NSScriptObjectSpecifier castFrom( + SwiftLibrary lib, + T other, + ) { + return NSScriptObjectSpecifier._( + other.pointer, + lib, + retain: true, + release: true, + ); } /// Returns a [NSScriptObjectSpecifier] that wraps the given raw object pointer. static NSScriptObjectSpecifier castFromPointer( - SwiftLibrary lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { - return NSScriptObjectSpecifier._(other, lib, - retain: retain, release: release); + SwiftLibrary lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { + return NSScriptObjectSpecifier._( + other, + lib, + retain: retain, + release: release, + ); } /// Returns whether [obj] is an instance of [NSScriptObjectSpecifier]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0(obj._id, obj._lib._sel_isKindOfClass_1, - obj._lib._class_NSScriptObjectSpecifier1); + static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSScriptObjectSpecifier1, + ); } static NSScriptObjectSpecifier? objectSpecifierWithDescriptor_( - SwiftLibrary _lib, NSAppleEventDescriptor descriptor) { - final _ret = _lib._objc_msgSend_624(_lib._class_NSScriptObjectSpecifier1, - _lib._sel_objectSpecifierWithDescriptor_1, descriptor._id); + SwiftLibrary _lib, + NSAppleEventDescriptor descriptor, + ) { + final _ret = _lib._objc_msgSend_624( + _lib._class_NSScriptObjectSpecifier1, + _lib._sel_objectSpecifierWithDescriptor_1, + descriptor.pointer, + ); return _ret.address == 0 ? null : NSScriptObjectSpecifier._(_ret, _lib, retain: true, release: true); } NSScriptObjectSpecifier initWithContainerSpecifier_key_( - NSScriptObjectSpecifier container, NSString property) { + NSScriptObjectSpecifier container, + NSString property, + ) { final _ret = _lib._objc_msgSend_625( - _id, - _lib._sel_initWithContainerSpecifier_key_1, - container._id, - property._id); + this.pointer, + _lib._sel_initWithContainerSpecifier_key_1, + container.pointer, + property.pointer, + ); return NSScriptObjectSpecifier._(_ret, _lib, retain: true, release: true); } NSScriptObjectSpecifier - initWithContainerClassDescription_containerSpecifier_key_( - NSScriptClassDescription classDesc, - NSScriptObjectSpecifier? container, - NSString property) { + initWithContainerClassDescription_containerSpecifier_key_( + NSScriptClassDescription classDesc, + NSScriptObjectSpecifier? container, + NSString property, + ) { final _ret = _lib._objc_msgSend_645( - _id, - _lib._sel_initWithContainerClassDescription_containerSpecifier_key_1, - classDesc._id, - container?._id ?? ffi.nullptr, - property._id); + this.pointer, + _lib._sel_initWithContainerClassDescription_containerSpecifier_key_1, + classDesc.pointer, + container?.pointer ?? ffi.nullptr, + property.pointer, + ); return NSScriptObjectSpecifier._(_ret, _lib, retain: true, release: true); } NSScriptObjectSpecifier? initWithCoder_(NSCoder inCoder) { - final _ret = - _lib._objc_msgSend_47(_id, _lib._sel_initWithCoder_1, inCoder._id); + final _ret = _lib._objc_msgSend_47( + this.pointer, + _lib._sel_initWithCoder_1, + inCoder.pointer, + ); return _ret.address == 0 ? null : NSScriptObjectSpecifier._(_ret, _lib, retain: true, release: true); } NSScriptObjectSpecifier? get childSpecifier { - final _ret = _lib._objc_msgSend_632(_id, _lib._sel_childSpecifier1); + final _ret = _lib._objc_msgSend_632( + this.pointer, + _lib._sel_childSpecifier1, + ); return _ret.address == 0 ? null : NSScriptObjectSpecifier._(_ret, _lib, retain: true, release: true); @@ -51019,11 +67209,17 @@ class NSScriptObjectSpecifier extends NSObject { set childSpecifier(NSScriptObjectSpecifier? value) { return _lib._objc_msgSend_633( - _id, _lib._sel_setChildSpecifier_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setChildSpecifier_1, + value?.pointer ?? ffi.nullptr, + ); } NSScriptObjectSpecifier? get containerSpecifier { - final _ret = _lib._objc_msgSend_632(_id, _lib._sel_containerSpecifier1); + final _ret = _lib._objc_msgSend_632( + this.pointer, + _lib._sel_containerSpecifier1, + ); return _ret.address == 0 ? null : NSScriptObjectSpecifier._(_ret, _lib, retain: true, release: true); @@ -51031,101 +67227,143 @@ class NSScriptObjectSpecifier extends NSObject { set containerSpecifier(NSScriptObjectSpecifier? value) { return _lib._objc_msgSend_633( - _id, _lib._sel_setContainerSpecifier_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setContainerSpecifier_1, + value?.pointer ?? ffi.nullptr, + ); } bool get containerIsObjectBeingTested { - return _lib._objc_msgSend_12(_id, _lib._sel_containerIsObjectBeingTested1); + return _lib._objc_msgSend_12( + this.pointer, + _lib._sel_containerIsObjectBeingTested1, + ); } set containerIsObjectBeingTested(bool value) { return _lib._objc_msgSend_527( - _id, _lib._sel_setContainerIsObjectBeingTested_1, value); + this.pointer, + _lib._sel_setContainerIsObjectBeingTested_1, + value, + ); } bool get containerIsRangeContainerObject { return _lib._objc_msgSend_12( - _id, _lib._sel_containerIsRangeContainerObject1); + this.pointer, + _lib._sel_containerIsRangeContainerObject1, + ); } set containerIsRangeContainerObject(bool value) { return _lib._objc_msgSend_527( - _id, _lib._sel_setContainerIsRangeContainerObject_1, value); + this.pointer, + _lib._sel_setContainerIsRangeContainerObject_1, + value, + ); } NSString get key { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_key1); + final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_key1); return NSString._(_ret, _lib, retain: true, release: true); } set key(NSString value) { - return _lib._objc_msgSend_646(_id, _lib._sel_setKey_1, value._id); + return _lib._objc_msgSend_646( + this.pointer, + _lib._sel_setKey_1, + value.pointer, + ); } NSScriptClassDescription? get containerClassDescription { - final _ret = - _lib._objc_msgSend_628(_id, _lib._sel_containerClassDescription1); + final _ret = _lib._objc_msgSend_628( + this.pointer, + _lib._sel_containerClassDescription1, + ); return _ret.address == 0 ? null : NSScriptClassDescription._(_ret, _lib, retain: true, release: true); } set containerClassDescription(NSScriptClassDescription? value) { - return _lib._objc_msgSend_647(_id, _lib._sel_setContainerClassDescription_1, - value?._id ?? ffi.nullptr); + return _lib._objc_msgSend_647( + this.pointer, + _lib._sel_setContainerClassDescription_1, + value?.pointer ?? ffi.nullptr, + ); } NSScriptClassDescription? get keyClassDescription { - final _ret = _lib._objc_msgSend_628(_id, _lib._sel_keyClassDescription1); + final _ret = _lib._objc_msgSend_628( + this.pointer, + _lib._sel_keyClassDescription1, + ); return _ret.address == 0 ? null : NSScriptClassDescription._(_ret, _lib, retain: true, release: true); } ffi.Pointer indicesOfObjectsByEvaluatingWithContainer_count_( - NSObject container, ffi.Pointer count) { + NSObject container, + ffi.Pointer count, + ) { return _lib._objc_msgSend_648( - _id, - _lib._sel_indicesOfObjectsByEvaluatingWithContainer_count_1, - container._id, - count); + this.pointer, + _lib._sel_indicesOfObjectsByEvaluatingWithContainer_count_1, + container.pointer, + count, + ); } NSObject? objectsByEvaluatingWithContainers_(NSObject containers) { final _ret = _lib._objc_msgSend_16( - _id, _lib._sel_objectsByEvaluatingWithContainers_1, containers._id); + this.pointer, + _lib._sel_objectsByEvaluatingWithContainers_1, + containers.pointer, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } NSObject? get objectsByEvaluatingSpecifier { - final _ret = - _lib._objc_msgSend_17(_id, _lib._sel_objectsByEvaluatingSpecifier1); + final _ret = _lib._objc_msgSend_17( + this.pointer, + _lib._sel_objectsByEvaluatingSpecifier1, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } int get evaluationErrorNumber { - return _lib._objc_msgSend_83(_id, _lib._sel_evaluationErrorNumber1); + return _lib._objc_msgSend_83( + this.pointer, + _lib._sel_evaluationErrorNumber1, + ); } set evaluationErrorNumber(int value) { return _lib._objc_msgSend_635( - _id, _lib._sel_setEvaluationErrorNumber_1, value); + this.pointer, + _lib._sel_setEvaluationErrorNumber_1, + value, + ); } NSScriptObjectSpecifier? get evaluationErrorSpecifier { - final _ret = - _lib._objc_msgSend_632(_id, _lib._sel_evaluationErrorSpecifier1); + final _ret = _lib._objc_msgSend_632( + this.pointer, + _lib._sel_evaluationErrorSpecifier1, + ); return _ret.address == 0 ? null : NSScriptObjectSpecifier._(_ret, _lib, retain: true, release: true); } NSAppleEventDescriptor? get descriptor { - final _ret = _lib._objc_msgSend_636(_id, _lib._sel_descriptor1); + final _ret = _lib._objc_msgSend_636(this.pointer, _lib._sel_descriptor1); return _ret.address == 0 ? null : NSAppleEventDescriptor._(_ret, _lib, retain: true, release: true); @@ -51133,406 +67371,562 @@ class NSScriptObjectSpecifier extends NSObject { @override NSScriptObjectSpecifier init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSScriptObjectSpecifier._(_ret, _lib, retain: true, release: true); } static NSScriptObjectSpecifier new1(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSScriptObjectSpecifier1, _lib._sel_new1); + _lib._class_NSScriptObjectSpecifier1, + _lib._sel_new1, + ); return NSScriptObjectSpecifier._(_ret, _lib, retain: false, release: true); } static NSScriptObjectSpecifier allocWithZone_( - SwiftLibrary _lib, ffi.Pointer<_NSZone> zone) { + SwiftLibrary _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSScriptObjectSpecifier1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSScriptObjectSpecifier1, + _lib._sel_allocWithZone_1, + zone, + ); return NSScriptObjectSpecifier._(_ret, _lib, retain: false, release: true); } static NSScriptObjectSpecifier alloc(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSScriptObjectSpecifier1, _lib._sel_alloc1); + _lib._class_NSScriptObjectSpecifier1, + _lib._sel_alloc1, + ); return NSScriptObjectSpecifier._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + SwiftLibrary _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSScriptObjectSpecifier1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSScriptObjectSpecifier1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSScriptObjectSpecifier1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + SwiftLibrary _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSScriptObjectSpecifier1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { - return _lib._objc_msgSend_12(_lib._class_NSScriptObjectSpecifier1, - _lib._sel_accessInstanceVariablesDirectly1); + return _lib._objc_msgSend_12( + _lib._class_NSScriptObjectSpecifier1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(SwiftLibrary _lib) { return _lib._objc_msgSend_12( - _lib._class_NSScriptObjectSpecifier1, _lib._sel_useStoredAccessor1); + _lib._class_NSScriptObjectSpecifier1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSScriptObjectSpecifier1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSScriptObjectSpecifier1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSScriptObjectSpecifier1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSScriptObjectSpecifier1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, NSArray keys, NSString dependentKey) { + SwiftLibrary _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSScriptObjectSpecifier1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSScriptObjectSpecifier1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_85(_lib._class_NSScriptObjectSpecifier1, - _lib._sel_classFallbacksForKeyedArchiver1); + final _ret = _lib._objc_msgSend_85( + _lib._class_NSScriptObjectSpecifier1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2(_lib._class_NSScriptObjectSpecifier1, - _lib._sel_classForKeyedUnarchiver1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSScriptObjectSpecifier1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } class NSAppleEventDescriptor extends NSObject { - NSAppleEventDescriptor._(ffi.Pointer id, SwiftLibrary lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSAppleEventDescriptor._( + ffi.Pointer pointer, + SwiftLibrary lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSAppleEventDescriptor] that points to the same underlying object as [other]. - static NSAppleEventDescriptor castFrom(T other) { - return NSAppleEventDescriptor._(other._id, other._lib, - retain: true, release: true); + static NSAppleEventDescriptor castFrom( + SwiftLibrary lib, + T other, + ) { + return NSAppleEventDescriptor._( + other.pointer, + lib, + retain: true, + release: true, + ); } /// Returns a [NSAppleEventDescriptor] that wraps the given raw object pointer. static NSAppleEventDescriptor castFromPointer( - SwiftLibrary lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { - return NSAppleEventDescriptor._(other, lib, - retain: retain, release: release); + SwiftLibrary lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { + return NSAppleEventDescriptor._( + other, + lib, + retain: retain, + release: release, + ); } /// Returns whether [obj] is an instance of [NSAppleEventDescriptor]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0(obj._id, obj._lib._sel_isKindOfClass_1, - obj._lib._class_NSAppleEventDescriptor1); + static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSAppleEventDescriptor1, + ); } static NSAppleEventDescriptor nullDescriptor(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_601( - _lib._class_NSAppleEventDescriptor1, _lib._sel_nullDescriptor1); + _lib._class_NSAppleEventDescriptor1, + _lib._sel_nullDescriptor1, + ); return NSAppleEventDescriptor._(_ret, _lib, retain: true, release: true); } static NSAppleEventDescriptor? descriptorWithDescriptorType_bytes_length_( - SwiftLibrary _lib, - int descriptorType, - ffi.Pointer bytes, - int byteCount) { + SwiftLibrary _lib, + int descriptorType, + ffi.Pointer bytes, + int byteCount, + ) { final _ret = _lib._objc_msgSend_602( - _lib._class_NSAppleEventDescriptor1, - _lib._sel_descriptorWithDescriptorType_bytes_length_1, - descriptorType, - bytes, - byteCount); + _lib._class_NSAppleEventDescriptor1, + _lib._sel_descriptorWithDescriptorType_bytes_length_1, + descriptorType, + bytes, + byteCount, + ); return _ret.address == 0 ? null : NSAppleEventDescriptor._(_ret, _lib, retain: true, release: true); } static NSAppleEventDescriptor? descriptorWithDescriptorType_data_( - SwiftLibrary _lib, int descriptorType, NSData? data) { + SwiftLibrary _lib, + int descriptorType, + NSData? data, + ) { final _ret = _lib._objc_msgSend_603( - _lib._class_NSAppleEventDescriptor1, - _lib._sel_descriptorWithDescriptorType_data_1, - descriptorType, - data?._id ?? ffi.nullptr); + _lib._class_NSAppleEventDescriptor1, + _lib._sel_descriptorWithDescriptorType_data_1, + descriptorType, + data?.pointer ?? ffi.nullptr, + ); return _ret.address == 0 ? null : NSAppleEventDescriptor._(_ret, _lib, retain: true, release: true); } static NSAppleEventDescriptor descriptorWithBoolean_( - SwiftLibrary _lib, int boolean) { - final _ret = _lib._objc_msgSend_604(_lib._class_NSAppleEventDescriptor1, - _lib._sel_descriptorWithBoolean_1, boolean); + SwiftLibrary _lib, + int boolean, + ) { + final _ret = _lib._objc_msgSend_604( + _lib._class_NSAppleEventDescriptor1, + _lib._sel_descriptorWithBoolean_1, + boolean, + ); return NSAppleEventDescriptor._(_ret, _lib, retain: true, release: true); } static NSAppleEventDescriptor descriptorWithEnumCode_( - SwiftLibrary _lib, int enumerator) { - final _ret = _lib._objc_msgSend_605(_lib._class_NSAppleEventDescriptor1, - _lib._sel_descriptorWithEnumCode_1, enumerator); + SwiftLibrary _lib, + int enumerator, + ) { + final _ret = _lib._objc_msgSend_605( + _lib._class_NSAppleEventDescriptor1, + _lib._sel_descriptorWithEnumCode_1, + enumerator, + ); return NSAppleEventDescriptor._(_ret, _lib, retain: true, release: true); } static NSAppleEventDescriptor descriptorWithInt32_( - SwiftLibrary _lib, int signedInt) { - final _ret = _lib._objc_msgSend_606(_lib._class_NSAppleEventDescriptor1, - _lib._sel_descriptorWithInt32_1, signedInt); + SwiftLibrary _lib, + int signedInt, + ) { + final _ret = _lib._objc_msgSend_606( + _lib._class_NSAppleEventDescriptor1, + _lib._sel_descriptorWithInt32_1, + signedInt, + ); return NSAppleEventDescriptor._(_ret, _lib, retain: true, release: true); } static NSAppleEventDescriptor descriptorWithDouble_( - SwiftLibrary _lib, double doubleValue) { - final _ret = _lib._objc_msgSend_607(_lib._class_NSAppleEventDescriptor1, - _lib._sel_descriptorWithDouble_1, doubleValue); + SwiftLibrary _lib, + double doubleValue, + ) { + final _ret = _lib._objc_msgSend_607( + _lib._class_NSAppleEventDescriptor1, + _lib._sel_descriptorWithDouble_1, + doubleValue, + ); return NSAppleEventDescriptor._(_ret, _lib, retain: true, release: true); } static NSAppleEventDescriptor descriptorWithTypeCode_( - SwiftLibrary _lib, int typeCode) { - final _ret = _lib._objc_msgSend_605(_lib._class_NSAppleEventDescriptor1, - _lib._sel_descriptorWithTypeCode_1, typeCode); + SwiftLibrary _lib, + int typeCode, + ) { + final _ret = _lib._objc_msgSend_605( + _lib._class_NSAppleEventDescriptor1, + _lib._sel_descriptorWithTypeCode_1, + typeCode, + ); return NSAppleEventDescriptor._(_ret, _lib, retain: true, release: true); } static NSAppleEventDescriptor descriptorWithString_( - SwiftLibrary _lib, NSString string) { - final _ret = _lib._objc_msgSend_608(_lib._class_NSAppleEventDescriptor1, - _lib._sel_descriptorWithString_1, string._id); + SwiftLibrary _lib, + NSString string, + ) { + final _ret = _lib._objc_msgSend_608( + _lib._class_NSAppleEventDescriptor1, + _lib._sel_descriptorWithString_1, + string.pointer, + ); return NSAppleEventDescriptor._(_ret, _lib, retain: true, release: true); } static NSAppleEventDescriptor descriptorWithDate_( - SwiftLibrary _lib, NSDate date) { - final _ret = _lib._objc_msgSend_609(_lib._class_NSAppleEventDescriptor1, - _lib._sel_descriptorWithDate_1, date._id); + SwiftLibrary _lib, + NSDate date, + ) { + final _ret = _lib._objc_msgSend_609( + _lib._class_NSAppleEventDescriptor1, + _lib._sel_descriptorWithDate_1, + date.pointer, + ); return NSAppleEventDescriptor._(_ret, _lib, retain: true, release: true); } static NSAppleEventDescriptor descriptorWithFileURL_( - SwiftLibrary _lib, NSURL fileURL) { - final _ret = _lib._objc_msgSend_610(_lib._class_NSAppleEventDescriptor1, - _lib._sel_descriptorWithFileURL_1, fileURL._id); + SwiftLibrary _lib, + NSURL fileURL, + ) { + final _ret = _lib._objc_msgSend_610( + _lib._class_NSAppleEventDescriptor1, + _lib._sel_descriptorWithFileURL_1, + fileURL.pointer, + ); return NSAppleEventDescriptor._(_ret, _lib, retain: true, release: true); } static NSAppleEventDescriptor - appleEventWithEventClass_eventID_targetDescriptor_returnID_transactionID_( - SwiftLibrary _lib, - int eventClass, - int eventID, - NSAppleEventDescriptor? targetDescriptor, - int returnID, - int transactionID) { + appleEventWithEventClass_eventID_targetDescriptor_returnID_transactionID_( + SwiftLibrary _lib, + int eventClass, + int eventID, + NSAppleEventDescriptor? targetDescriptor, + int returnID, + int transactionID, + ) { final _ret = _lib._objc_msgSend_611( - _lib._class_NSAppleEventDescriptor1, - _lib._sel_appleEventWithEventClass_eventID_targetDescriptor_returnID_transactionID_1, - eventClass, - eventID, - targetDescriptor?._id ?? ffi.nullptr, - returnID, - transactionID); + _lib._class_NSAppleEventDescriptor1, + _lib._sel_appleEventWithEventClass_eventID_targetDescriptor_returnID_transactionID_1, + eventClass, + eventID, + targetDescriptor?.pointer ?? ffi.nullptr, + returnID, + transactionID, + ); return NSAppleEventDescriptor._(_ret, _lib, retain: true, release: true); } static NSAppleEventDescriptor listDescriptor(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_601( - _lib._class_NSAppleEventDescriptor1, _lib._sel_listDescriptor1); + _lib._class_NSAppleEventDescriptor1, + _lib._sel_listDescriptor1, + ); return NSAppleEventDescriptor._(_ret, _lib, retain: true, release: true); } static NSAppleEventDescriptor recordDescriptor(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_601( - _lib._class_NSAppleEventDescriptor1, _lib._sel_recordDescriptor1); + _lib._class_NSAppleEventDescriptor1, + _lib._sel_recordDescriptor1, + ); return NSAppleEventDescriptor._(_ret, _lib, retain: true, release: true); } static NSAppleEventDescriptor currentProcessDescriptor(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_601(_lib._class_NSAppleEventDescriptor1, - _lib._sel_currentProcessDescriptor1); + final _ret = _lib._objc_msgSend_601( + _lib._class_NSAppleEventDescriptor1, + _lib._sel_currentProcessDescriptor1, + ); return NSAppleEventDescriptor._(_ret, _lib, retain: true, release: true); } static NSAppleEventDescriptor descriptorWithProcessIdentifier_( - SwiftLibrary _lib, int processIdentifier) { - final _ret = _lib._objc_msgSend_606(_lib._class_NSAppleEventDescriptor1, - _lib._sel_descriptorWithProcessIdentifier_1, processIdentifier); + SwiftLibrary _lib, + int processIdentifier, + ) { + final _ret = _lib._objc_msgSend_606( + _lib._class_NSAppleEventDescriptor1, + _lib._sel_descriptorWithProcessIdentifier_1, + processIdentifier, + ); return NSAppleEventDescriptor._(_ret, _lib, retain: true, release: true); } static NSAppleEventDescriptor descriptorWithBundleIdentifier_( - SwiftLibrary _lib, NSString bundleIdentifier) { - final _ret = _lib._objc_msgSend_608(_lib._class_NSAppleEventDescriptor1, - _lib._sel_descriptorWithBundleIdentifier_1, bundleIdentifier._id); + SwiftLibrary _lib, + NSString bundleIdentifier, + ) { + final _ret = _lib._objc_msgSend_608( + _lib._class_NSAppleEventDescriptor1, + _lib._sel_descriptorWithBundleIdentifier_1, + bundleIdentifier.pointer, + ); return NSAppleEventDescriptor._(_ret, _lib, retain: true, release: true); } static NSAppleEventDescriptor descriptorWithApplicationURL_( - SwiftLibrary _lib, NSURL applicationURL) { - final _ret = _lib._objc_msgSend_610(_lib._class_NSAppleEventDescriptor1, - _lib._sel_descriptorWithApplicationURL_1, applicationURL._id); + SwiftLibrary _lib, + NSURL applicationURL, + ) { + final _ret = _lib._objc_msgSend_610( + _lib._class_NSAppleEventDescriptor1, + _lib._sel_descriptorWithApplicationURL_1, + applicationURL.pointer, + ); return NSAppleEventDescriptor._(_ret, _lib, retain: true, release: true); } NSAppleEventDescriptor initWithAEDescNoCopy_(ffi.Pointer aeDesc) { - final _ret = - _lib._objc_msgSend_612(_id, _lib._sel_initWithAEDescNoCopy_1, aeDesc); + final _ret = _lib._objc_msgSend_612( + this.pointer, + _lib._sel_initWithAEDescNoCopy_1, + aeDesc, + ); return NSAppleEventDescriptor._(_ret, _lib, retain: false, release: true); } NSAppleEventDescriptor? initWithDescriptorType_bytes_length_( - int descriptorType, ffi.Pointer bytes, int byteCount) { + int descriptorType, + ffi.Pointer bytes, + int byteCount, + ) { final _ret = _lib._objc_msgSend_613( - _id, - _lib._sel_initWithDescriptorType_bytes_length_1, - descriptorType, - bytes, - byteCount); + this.pointer, + _lib._sel_initWithDescriptorType_bytes_length_1, + descriptorType, + bytes, + byteCount, + ); return _ret.address == 0 ? null : NSAppleEventDescriptor._(_ret, _lib, retain: true, release: true); } NSAppleEventDescriptor? initWithDescriptorType_data_( - int descriptorType, NSData? data) { + int descriptorType, + NSData? data, + ) { final _ret = _lib._objc_msgSend_614( - _id, - _lib._sel_initWithDescriptorType_data_1, - descriptorType, - data?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_initWithDescriptorType_data_1, + descriptorType, + data?.pointer ?? ffi.nullptr, + ); return _ret.address == 0 ? null : NSAppleEventDescriptor._(_ret, _lib, retain: true, release: true); } NSAppleEventDescriptor - initWithEventClass_eventID_targetDescriptor_returnID_transactionID_( - int eventClass, - int eventID, - NSAppleEventDescriptor? targetDescriptor, - int returnID, - int transactionID) { + initWithEventClass_eventID_targetDescriptor_returnID_transactionID_( + int eventClass, + int eventID, + NSAppleEventDescriptor? targetDescriptor, + int returnID, + int transactionID, + ) { final _ret = _lib._objc_msgSend_615( - _id, - _lib._sel_initWithEventClass_eventID_targetDescriptor_returnID_transactionID_1, - eventClass, - eventID, - targetDescriptor?._id ?? ffi.nullptr, - returnID, - transactionID); + this.pointer, + _lib._sel_initWithEventClass_eventID_targetDescriptor_returnID_transactionID_1, + eventClass, + eventID, + targetDescriptor?.pointer ?? ffi.nullptr, + returnID, + transactionID, + ); return NSAppleEventDescriptor._(_ret, _lib, retain: true, release: true); } NSAppleEventDescriptor initListDescriptor() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_initListDescriptor1); + final _ret = _lib._objc_msgSend_2( + this.pointer, + _lib._sel_initListDescriptor1, + ); return NSAppleEventDescriptor._(_ret, _lib, retain: true, release: true); } NSAppleEventDescriptor initRecordDescriptor() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_initRecordDescriptor1); + final _ret = _lib._objc_msgSend_2( + this.pointer, + _lib._sel_initRecordDescriptor1, + ); return NSAppleEventDescriptor._(_ret, _lib, retain: true, release: true); } ffi.Pointer get aeDesc { - return _lib._objc_msgSend_616(_id, _lib._sel_aeDesc1); + return _lib._objc_msgSend_616(this.pointer, _lib._sel_aeDesc1); } int get descriptorType { - return _lib._objc_msgSend_214(_id, _lib._sel_descriptorType1); + return _lib._objc_msgSend_214(this.pointer, _lib._sel_descriptorType1); } NSData get data { - final _ret = _lib._objc_msgSend_43(_id, _lib._sel_data1); + final _ret = _lib._objc_msgSend_43(this.pointer, _lib._sel_data1); return NSData._(_ret, _lib, retain: true, release: true); } int get booleanValue { - return _lib._objc_msgSend_234(_id, _lib._sel_booleanValue1); + return _lib._objc_msgSend_234(this.pointer, _lib._sel_booleanValue1); } int get enumCodeValue { - return _lib._objc_msgSend_214(_id, _lib._sel_enumCodeValue1); + return _lib._objc_msgSend_214(this.pointer, _lib._sel_enumCodeValue1); } int get int32Value { - return _lib._objc_msgSend_237(_id, _lib._sel_int32Value1); + return _lib._objc_msgSend_237(this.pointer, _lib._sel_int32Value1); } double get doubleValue { - return _lib._objc_msgSend_useVariants1 - ? _lib._objc_msgSend_165_fpret(_id, _lib._sel_doubleValue1) - : _lib._objc_msgSend_165(_id, _lib._sel_doubleValue1); + return objc.useMsgSendVariants + ? _lib._objc_msgSend_165_fpret(this.pointer, _lib._sel_doubleValue1) + : _lib._objc_msgSend_165(this.pointer, _lib._sel_doubleValue1); } int get typeCodeValue { - return _lib._objc_msgSend_214(_id, _lib._sel_typeCodeValue1); + return _lib._objc_msgSend_214(this.pointer, _lib._sel_typeCodeValue1); } NSString? get stringValue { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_stringValue1); + final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_stringValue1); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } NSDate? get dateValue { - final _ret = _lib._objc_msgSend_183(_id, _lib._sel_dateValue1); + final _ret = _lib._objc_msgSend_183(this.pointer, _lib._sel_dateValue1); return _ret.address == 0 ? null : NSDate._(_ret, _lib, retain: true, release: true); } NSURL? get fileURLValue { - final _ret = _lib._objc_msgSend_45(_id, _lib._sel_fileURLValue1); + final _ret = _lib._objc_msgSend_45(this.pointer, _lib._sel_fileURLValue1); return _ret.address == 0 ? null : NSURL._(_ret, _lib, retain: true, release: true); } int get eventClass { - return _lib._objc_msgSend_214(_id, _lib._sel_eventClass1); + return _lib._objc_msgSend_214(this.pointer, _lib._sel_eventClass1); } int get eventID { - return _lib._objc_msgSend_214(_id, _lib._sel_eventID1); + return _lib._objc_msgSend_214(this.pointer, _lib._sel_eventID1); } int get returnID { - return _lib._objc_msgSend_235(_id, _lib._sel_returnID1); + return _lib._objc_msgSend_235(this.pointer, _lib._sel_returnID1); } int get transactionID { - return _lib._objc_msgSend_237(_id, _lib._sel_transactionID1); + return _lib._objc_msgSend_237(this.pointer, _lib._sel_transactionID1); } void setParamDescriptor_forKeyword_( - NSAppleEventDescriptor descriptor, int keyword) { - _lib._objc_msgSend_617(_id, _lib._sel_setParamDescriptor_forKeyword_1, - descriptor._id, keyword); + NSAppleEventDescriptor descriptor, + int keyword, + ) { + _lib._objc_msgSend_617( + this.pointer, + _lib._sel_setParamDescriptor_forKeyword_1, + descriptor.pointer, + keyword, + ); } NSAppleEventDescriptor? paramDescriptorForKeyword_(int keyword) { final _ret = _lib._objc_msgSend_618( - _id, _lib._sel_paramDescriptorForKeyword_1, keyword); + this.pointer, + _lib._sel_paramDescriptorForKeyword_1, + keyword, + ); return _ret.address == 0 ? null : NSAppleEventDescriptor._(_ret, _lib, retain: true, release: true); @@ -51540,70 +67934,106 @@ class NSAppleEventDescriptor extends NSObject { void removeParamDescriptorWithKeyword_(int keyword) { _lib._objc_msgSend_619( - _id, _lib._sel_removeParamDescriptorWithKeyword_1, keyword); + this.pointer, + _lib._sel_removeParamDescriptorWithKeyword_1, + keyword, + ); } void setAttributeDescriptor_forKeyword_( - NSAppleEventDescriptor descriptor, int keyword) { - _lib._objc_msgSend_617(_id, _lib._sel_setAttributeDescriptor_forKeyword_1, - descriptor._id, keyword); + NSAppleEventDescriptor descriptor, + int keyword, + ) { + _lib._objc_msgSend_617( + this.pointer, + _lib._sel_setAttributeDescriptor_forKeyword_1, + descriptor.pointer, + keyword, + ); } NSAppleEventDescriptor? attributeDescriptorForKeyword_(int keyword) { final _ret = _lib._objc_msgSend_618( - _id, _lib._sel_attributeDescriptorForKeyword_1, keyword); + this.pointer, + _lib._sel_attributeDescriptorForKeyword_1, + keyword, + ); return _ret.address == 0 ? null : NSAppleEventDescriptor._(_ret, _lib, retain: true, release: true); } - NSAppleEventDescriptor? sendEventWithOptions_timeout_error_(int sendOptions, - double timeoutInSeconds, ffi.Pointer> error) { + NSAppleEventDescriptor? sendEventWithOptions_timeout_error_( + int sendOptions, + double timeoutInSeconds, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_620( - _id, - _lib._sel_sendEventWithOptions_timeout_error_1, - sendOptions, - timeoutInSeconds, - error); + this.pointer, + _lib._sel_sendEventWithOptions_timeout_error_1, + sendOptions, + timeoutInSeconds, + error, + ); return _ret.address == 0 ? null : NSAppleEventDescriptor._(_ret, _lib, retain: true, release: true); } bool get isRecordDescriptor { - return _lib._objc_msgSend_12(_id, _lib._sel_isRecordDescriptor1); + return _lib._objc_msgSend_12(this.pointer, _lib._sel_isRecordDescriptor1); } int get numberOfItems { - return _lib._objc_msgSend_83(_id, _lib._sel_numberOfItems1); + return _lib._objc_msgSend_83(this.pointer, _lib._sel_numberOfItems1); } void insertDescriptor_atIndex_(NSAppleEventDescriptor descriptor, int index) { _lib._objc_msgSend_621( - _id, _lib._sel_insertDescriptor_atIndex_1, descriptor._id, index); + this.pointer, + _lib._sel_insertDescriptor_atIndex_1, + descriptor.pointer, + index, + ); } NSAppleEventDescriptor? descriptorAtIndex_(int index) { - final _ret = - _lib._objc_msgSend_622(_id, _lib._sel_descriptorAtIndex_1, index); + final _ret = _lib._objc_msgSend_622( + this.pointer, + _lib._sel_descriptorAtIndex_1, + index, + ); return _ret.address == 0 ? null : NSAppleEventDescriptor._(_ret, _lib, retain: true, release: true); } void removeDescriptorAtIndex_(int index) { - _lib._objc_msgSend_423(_id, _lib._sel_removeDescriptorAtIndex_1, index); + _lib._objc_msgSend_423( + this.pointer, + _lib._sel_removeDescriptorAtIndex_1, + index, + ); } void setDescriptor_forKeyword_( - NSAppleEventDescriptor descriptor, int keyword) { + NSAppleEventDescriptor descriptor, + int keyword, + ) { _lib._objc_msgSend_617( - _id, _lib._sel_setDescriptor_forKeyword_1, descriptor._id, keyword); + this.pointer, + _lib._sel_setDescriptor_forKeyword_1, + descriptor.pointer, + keyword, + ); } NSAppleEventDescriptor? descriptorForKeyword_(int keyword) { - final _ret = - _lib._objc_msgSend_618(_id, _lib._sel_descriptorForKeyword_1, keyword); + final _ret = _lib._objc_msgSend_618( + this.pointer, + _lib._sel_descriptorForKeyword_1, + keyword, + ); return _ret.address == 0 ? null : NSAppleEventDescriptor._(_ret, _lib, retain: true, release: true); @@ -51611,17 +68041,26 @@ class NSAppleEventDescriptor extends NSObject { void removeDescriptorWithKeyword_(int keyword) { _lib._objc_msgSend_619( - _id, _lib._sel_removeDescriptorWithKeyword_1, keyword); + this.pointer, + _lib._sel_removeDescriptorWithKeyword_1, + keyword, + ); } int keywordForDescriptorAtIndex_(int index) { return _lib._objc_msgSend_623( - _id, _lib._sel_keywordForDescriptorAtIndex_1, index); + this.pointer, + _lib._sel_keywordForDescriptorAtIndex_1, + index, + ); } NSAppleEventDescriptor? coerceToDescriptorType_(int descriptorType) { final _ret = _lib._objc_msgSend_618( - _id, _lib._sel_coerceToDescriptorType_1, descriptorType); + this.pointer, + _lib._sel_coerceToDescriptorType_1, + descriptorType, + ); return _ret.address == 0 ? null : NSAppleEventDescriptor._(_ret, _lib, retain: true, release: true); @@ -51629,89 +68068,127 @@ class NSAppleEventDescriptor extends NSObject { @override NSAppleEventDescriptor init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSAppleEventDescriptor._(_ret, _lib, retain: true, release: true); } static NSAppleEventDescriptor new1(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSAppleEventDescriptor1, _lib._sel_new1); + _lib._class_NSAppleEventDescriptor1, + _lib._sel_new1, + ); return NSAppleEventDescriptor._(_ret, _lib, retain: false, release: true); } static NSAppleEventDescriptor allocWithZone_( - SwiftLibrary _lib, ffi.Pointer<_NSZone> zone) { + SwiftLibrary _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSAppleEventDescriptor1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSAppleEventDescriptor1, + _lib._sel_allocWithZone_1, + zone, + ); return NSAppleEventDescriptor._(_ret, _lib, retain: false, release: true); } static NSAppleEventDescriptor alloc(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSAppleEventDescriptor1, _lib._sel_alloc1); + _lib._class_NSAppleEventDescriptor1, + _lib._sel_alloc1, + ); return NSAppleEventDescriptor._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + SwiftLibrary _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSAppleEventDescriptor1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSAppleEventDescriptor1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSAppleEventDescriptor1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + SwiftLibrary _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSAppleEventDescriptor1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { - return _lib._objc_msgSend_12(_lib._class_NSAppleEventDescriptor1, - _lib._sel_accessInstanceVariablesDirectly1); + return _lib._objc_msgSend_12( + _lib._class_NSAppleEventDescriptor1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(SwiftLibrary _lib) { return _lib._objc_msgSend_12( - _lib._class_NSAppleEventDescriptor1, _lib._sel_useStoredAccessor1); + _lib._class_NSAppleEventDescriptor1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSAppleEventDescriptor1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSAppleEventDescriptor1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSAppleEventDescriptor1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSAppleEventDescriptor1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, NSArray keys, NSString dependentKey) { + SwiftLibrary _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSAppleEventDescriptor1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSAppleEventDescriptor1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_85(_lib._class_NSAppleEventDescriptor1, - _lib._sel_classFallbacksForKeyedArchiver1); + final _ret = _lib._objc_msgSend_85( + _lib._class_NSAppleEventDescriptor1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2(_lib._class_NSAppleEventDescriptor1, - _lib._sel_classForKeyedUnarchiver1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSAppleEventDescriptor1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } @@ -51741,102 +68218,151 @@ abstract class NSAppleEventSendOptions { } class NSScriptClassDescription extends NSClassDescription { - NSScriptClassDescription._(ffi.Pointer id, SwiftLibrary lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSScriptClassDescription._( + ffi.Pointer pointer, + SwiftLibrary lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSScriptClassDescription] that points to the same underlying object as [other]. - static NSScriptClassDescription castFrom(T other) { - return NSScriptClassDescription._(other._id, other._lib, - retain: true, release: true); + static NSScriptClassDescription castFrom( + SwiftLibrary lib, + T other, + ) { + return NSScriptClassDescription._( + other.pointer, + lib, + retain: true, + release: true, + ); } /// Returns a [NSScriptClassDescription] that wraps the given raw object pointer. static NSScriptClassDescription castFromPointer( - SwiftLibrary lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { - return NSScriptClassDescription._(other, lib, - retain: retain, release: release); + SwiftLibrary lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { + return NSScriptClassDescription._( + other, + lib, + retain: retain, + release: release, + ); } /// Returns whether [obj] is an instance of [NSScriptClassDescription]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0(obj._id, obj._lib._sel_isKindOfClass_1, - obj._lib._class_NSScriptClassDescription1); + static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSScriptClassDescription1, + ); } static NSScriptClassDescription? classDescriptionForClass_( - SwiftLibrary _lib, NSObject aClass) { - final _ret = _lib._objc_msgSend_626(_lib._class_NSScriptClassDescription1, - _lib._sel_classDescriptionForClass_1, aClass._id); + SwiftLibrary _lib, + NSObject aClass, + ) { + final _ret = _lib._objc_msgSend_626( + _lib._class_NSScriptClassDescription1, + _lib._sel_classDescriptionForClass_1, + aClass.pointer, + ); return _ret.address == 0 ? null : NSScriptClassDescription._(_ret, _lib, retain: true, release: true); } NSScriptClassDescription? initWithSuiteName_className_dictionary_( - NSString suiteName, NSString className, NSDictionary? classDeclaration) { + NSString suiteName, + NSString className, + NSDictionary? classDeclaration, + ) { final _ret = _lib._objc_msgSend_627( - _id, - _lib._sel_initWithSuiteName_className_dictionary_1, - suiteName._id, - className._id, - classDeclaration?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_initWithSuiteName_className_dictionary_1, + suiteName.pointer, + className.pointer, + classDeclaration?.pointer ?? ffi.nullptr, + ); return _ret.address == 0 ? null : NSScriptClassDescription._(_ret, _lib, retain: true, release: true); } NSString? get suiteName { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_suiteName1); + final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_suiteName1); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } NSString? get className { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_className1); + final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_className1); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } NSString? get implementationClassName { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_implementationClassName1); + final _ret = _lib._objc_msgSend_44( + this.pointer, + _lib._sel_implementationClassName1, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } NSScriptClassDescription? get superclassDescription { - final _ret = _lib._objc_msgSend_628(_id, _lib._sel_superclassDescription1); + final _ret = _lib._objc_msgSend_628( + this.pointer, + _lib._sel_superclassDescription1, + ); return _ret.address == 0 ? null : NSScriptClassDescription._(_ret, _lib, retain: true, release: true); } int get appleEventCode { - return _lib._objc_msgSend_214(_id, _lib._sel_appleEventCode1); + return _lib._objc_msgSend_214(this.pointer, _lib._sel_appleEventCode1); } bool matchesAppleEventCode_(int appleEventCode) { return _lib._objc_msgSend_194( - _id, _lib._sel_matchesAppleEventCode_1, appleEventCode); + this.pointer, + _lib._sel_matchesAppleEventCode_1, + appleEventCode, + ); } bool supportsCommand_(NSScriptCommandDescription commandDescription) { return _lib._objc_msgSend_641( - _id, _lib._sel_supportsCommand_1, commandDescription._id); + this.pointer, + _lib._sel_supportsCommand_1, + commandDescription.pointer, + ); } - ffi.Pointer selectorForCommand_( - NSScriptCommandDescription commandDescription) { + ffi.Pointer selectorForCommand_( + NSScriptCommandDescription commandDescription, + ) { return _lib._objc_msgSend_642( - _id, _lib._sel_selectorForCommand_1, commandDescription._id); + this.pointer, + _lib._sel_selectorForCommand_1, + commandDescription.pointer, + ); } NSString? typeForKey_(NSString key) { - final _ret = _lib._objc_msgSend_186(_id, _lib._sel_typeForKey_1, key._id); + final _ret = _lib._objc_msgSend_186( + this.pointer, + _lib._sel_typeForKey_1, + key.pointer, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); @@ -51844,7 +68370,10 @@ class NSScriptClassDescription extends NSClassDescription { NSScriptClassDescription? classDescriptionForKey_(NSString key) { final _ret = _lib._objc_msgSend_643( - _id, _lib._sel_classDescriptionForKey_1, key._id); + this.pointer, + _lib._sel_classDescriptionForKey_1, + key.pointer, + ); return _ret.address == 0 ? null : NSScriptClassDescription._(_ret, _lib, retain: true, release: true); @@ -51852,20 +68381,28 @@ class NSScriptClassDescription extends NSClassDescription { int appleEventCodeForKey_(NSString key) { return _lib._objc_msgSend_629( - _id, _lib._sel_appleEventCodeForKey_1, key._id); + this.pointer, + _lib._sel_appleEventCodeForKey_1, + key.pointer, + ); } NSString? keyWithAppleEventCode_(int appleEventCode) { final _ret = _lib._objc_msgSend_644( - _id, _lib._sel_keyWithAppleEventCode_1, appleEventCode); + this.pointer, + _lib._sel_keyWithAppleEventCode_1, + appleEventCode, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } NSString? get defaultSubcontainerAttributeKey { - final _ret = - _lib._objc_msgSend_44(_id, _lib._sel_defaultSubcontainerAttributeKey1); + final _ret = _lib._objc_msgSend_44( + this.pointer, + _lib._sel_defaultSubcontainerAttributeKey1, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); @@ -51873,233 +68410,329 @@ class NSScriptClassDescription extends NSClassDescription { bool isLocationRequiredToCreateForKey_(NSString toManyRelationshipKey) { return _lib._objc_msgSend_64( - _id, - _lib._sel_isLocationRequiredToCreateForKey_1, - toManyRelationshipKey._id); + this.pointer, + _lib._sel_isLocationRequiredToCreateForKey_1, + toManyRelationshipKey.pointer, + ); } bool hasPropertyForKey_(NSString key) { - return _lib._objc_msgSend_64(_id, _lib._sel_hasPropertyForKey_1, key._id); + return _lib._objc_msgSend_64( + this.pointer, + _lib._sel_hasPropertyForKey_1, + key.pointer, + ); } bool hasOrderedToManyRelationshipForKey_(NSString key) { return _lib._objc_msgSend_64( - _id, _lib._sel_hasOrderedToManyRelationshipForKey_1, key._id); + this.pointer, + _lib._sel_hasOrderedToManyRelationshipForKey_1, + key.pointer, + ); } bool hasReadablePropertyForKey_(NSString key) { return _lib._objc_msgSend_64( - _id, _lib._sel_hasReadablePropertyForKey_1, key._id); + this.pointer, + _lib._sel_hasReadablePropertyForKey_1, + key.pointer, + ); } bool hasWritablePropertyForKey_(NSString key) { return _lib._objc_msgSend_64( - _id, _lib._sel_hasWritablePropertyForKey_1, key._id); + this.pointer, + _lib._sel_hasWritablePropertyForKey_1, + key.pointer, + ); } bool isReadOnlyKey_(NSString key) { - return _lib._objc_msgSend_64(_id, _lib._sel_isReadOnlyKey_1, key._id); + return _lib._objc_msgSend_64( + this.pointer, + _lib._sel_isReadOnlyKey_1, + key.pointer, + ); } static void registerClassDescription_forClass_( - SwiftLibrary _lib, NSClassDescription description, NSObject aClass) { + SwiftLibrary _lib, + NSClassDescription description, + NSObject aClass, + ) { _lib._objc_msgSend_598( - _lib._class_NSScriptClassDescription1, - _lib._sel_registerClassDescription_forClass_1, - description._id, - aClass._id); + _lib._class_NSScriptClassDescription1, + _lib._sel_registerClassDescription_forClass_1, + description.pointer, + aClass.pointer, + ); } static void invalidateClassDescriptionCache(SwiftLibrary _lib) { - _lib._objc_msgSend_1(_lib._class_NSScriptClassDescription1, - _lib._sel_invalidateClassDescriptionCache1); + _lib._objc_msgSend_1( + _lib._class_NSScriptClassDescription1, + _lib._sel_invalidateClassDescriptionCache1, + ); } @override NSScriptClassDescription init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSScriptClassDescription._(_ret, _lib, retain: true, release: true); } static NSScriptClassDescription new1(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSScriptClassDescription1, _lib._sel_new1); + _lib._class_NSScriptClassDescription1, + _lib._sel_new1, + ); return NSScriptClassDescription._(_ret, _lib, retain: false, release: true); } static NSScriptClassDescription allocWithZone_( - SwiftLibrary _lib, ffi.Pointer<_NSZone> zone) { + SwiftLibrary _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSScriptClassDescription1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSScriptClassDescription1, + _lib._sel_allocWithZone_1, + zone, + ); return NSScriptClassDescription._(_ret, _lib, retain: false, release: true); } static NSScriptClassDescription alloc(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSScriptClassDescription1, _lib._sel_alloc1); + _lib._class_NSScriptClassDescription1, + _lib._sel_alloc1, + ); return NSScriptClassDescription._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + SwiftLibrary _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSScriptClassDescription1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSScriptClassDescription1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSScriptClassDescription1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + SwiftLibrary _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSScriptClassDescription1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { - return _lib._objc_msgSend_12(_lib._class_NSScriptClassDescription1, - _lib._sel_accessInstanceVariablesDirectly1); + return _lib._objc_msgSend_12( + _lib._class_NSScriptClassDescription1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(SwiftLibrary _lib) { return _lib._objc_msgSend_12( - _lib._class_NSScriptClassDescription1, _lib._sel_useStoredAccessor1); + _lib._class_NSScriptClassDescription1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSScriptClassDescription1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSScriptClassDescription1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSScriptClassDescription1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSScriptClassDescription1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, NSArray keys, NSString dependentKey) { + SwiftLibrary _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSScriptClassDescription1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSScriptClassDescription1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_85(_lib._class_NSScriptClassDescription1, - _lib._sel_classFallbacksForKeyedArchiver1); + final _ret = _lib._objc_msgSend_85( + _lib._class_NSScriptClassDescription1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2(_lib._class_NSScriptClassDescription1, - _lib._sel_classForKeyedUnarchiver1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSScriptClassDescription1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } class NSScriptCommandDescription extends NSObject { - NSScriptCommandDescription._(ffi.Pointer id, SwiftLibrary lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSScriptCommandDescription._( + ffi.Pointer pointer, + SwiftLibrary lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSScriptCommandDescription] that points to the same underlying object as [other]. - static NSScriptCommandDescription castFrom(T other) { - return NSScriptCommandDescription._(other._id, other._lib, - retain: true, release: true); + static NSScriptCommandDescription castFrom( + SwiftLibrary lib, + T other, + ) { + return NSScriptCommandDescription._( + other.pointer, + lib, + retain: true, + release: true, + ); } /// Returns a [NSScriptCommandDescription] that wraps the given raw object pointer. static NSScriptCommandDescription castFromPointer( - SwiftLibrary lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { - return NSScriptCommandDescription._(other, lib, - retain: retain, release: release); + SwiftLibrary lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { + return NSScriptCommandDescription._( + other, + lib, + retain: retain, + release: release, + ); } /// Returns whether [obj] is an instance of [NSScriptCommandDescription]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0(obj._id, obj._lib._sel_isKindOfClass_1, - obj._lib._class_NSScriptCommandDescription1); + static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSScriptCommandDescription1, + ); } @override NSObject init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSObject._(_ret, _lib, retain: true, release: true); } NSScriptCommandDescription? initWithSuiteName_commandName_dictionary_( - NSString suiteName, - NSString commandName, - NSDictionary? commandDeclaration) { + NSString suiteName, + NSString commandName, + NSDictionary? commandDeclaration, + ) { final _ret = _lib._objc_msgSend_627( - _id, - _lib._sel_initWithSuiteName_commandName_dictionary_1, - suiteName._id, - commandName._id, - commandDeclaration?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_initWithSuiteName_commandName_dictionary_1, + suiteName.pointer, + commandName.pointer, + commandDeclaration?.pointer ?? ffi.nullptr, + ); return _ret.address == 0 ? null : NSScriptCommandDescription._(_ret, _lib, retain: true, release: true); } NSScriptCommandDescription? initWithCoder_(NSCoder inCoder) { - final _ret = - _lib._objc_msgSend_47(_id, _lib._sel_initWithCoder_1, inCoder._id); + final _ret = _lib._objc_msgSend_47( + this.pointer, + _lib._sel_initWithCoder_1, + inCoder.pointer, + ); return _ret.address == 0 ? null : NSScriptCommandDescription._(_ret, _lib, retain: true, release: true); } NSString get suiteName { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_suiteName1); + final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_suiteName1); return NSString._(_ret, _lib, retain: true, release: true); } NSString get commandName { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_commandName1); + final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_commandName1); return NSString._(_ret, _lib, retain: true, release: true); } int get appleEventClassCode { - return _lib._objc_msgSend_214(_id, _lib._sel_appleEventClassCode1); + return _lib._objc_msgSend_214(this.pointer, _lib._sel_appleEventClassCode1); } int get appleEventCode { - return _lib._objc_msgSend_214(_id, _lib._sel_appleEventCode1); + return _lib._objc_msgSend_214(this.pointer, _lib._sel_appleEventCode1); } NSString get commandClassName { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_commandClassName1); + final _ret = _lib._objc_msgSend_21( + this.pointer, + _lib._sel_commandClassName1, + ); return NSString._(_ret, _lib, retain: true, release: true); } NSString? get returnType { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_returnType1); + final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_returnType1); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } int get appleEventCodeForReturnType { - return _lib._objc_msgSend_214(_id, _lib._sel_appleEventCodeForReturnType1); + return _lib._objc_msgSend_214( + this.pointer, + _lib._sel_appleEventCodeForReturnType1, + ); } NSArray get argumentNames { - final _ret = _lib._objc_msgSend_85(_id, _lib._sel_argumentNames1); + final _ret = _lib._objc_msgSend_85(this.pointer, _lib._sel_argumentNames1); return NSArray._(_ret, _lib, retain: true, release: true); } NSString? typeForArgumentWithName_(NSString argumentName) { final _ret = _lib._objc_msgSend_186( - _id, _lib._sel_typeForArgumentWithName_1, argumentName._id); + this.pointer, + _lib._sel_typeForArgumentWithName_1, + argumentName.pointer, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); @@ -52107,158 +68740,248 @@ class NSScriptCommandDescription extends NSObject { int appleEventCodeForArgumentWithName_(NSString argumentName) { return _lib._objc_msgSend_629( - _id, _lib._sel_appleEventCodeForArgumentWithName_1, argumentName._id); + this.pointer, + _lib._sel_appleEventCodeForArgumentWithName_1, + argumentName.pointer, + ); } bool isOptionalArgumentWithName_(NSString argumentName) { return _lib._objc_msgSend_64( - _id, _lib._sel_isOptionalArgumentWithName_1, argumentName._id); + this.pointer, + _lib._sel_isOptionalArgumentWithName_1, + argumentName.pointer, + ); } NSScriptCommand createCommandInstance() { - final _ret = _lib._objc_msgSend_639(_id, _lib._sel_createCommandInstance1); + final _ret = _lib._objc_msgSend_639( + this.pointer, + _lib._sel_createCommandInstance1, + ); return NSScriptCommand._(_ret, _lib, retain: true, release: true); } NSScriptCommand createCommandInstanceWithZone_(ffi.Pointer<_NSZone> zone) { final _ret = _lib._objc_msgSend_640( - _id, _lib._sel_createCommandInstanceWithZone_1, zone); + this.pointer, + _lib._sel_createCommandInstanceWithZone_1, + zone, + ); return NSScriptCommand._(_ret, _lib, retain: true, release: true); } static NSScriptCommandDescription new1(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSScriptCommandDescription1, _lib._sel_new1); - return NSScriptCommandDescription._(_ret, _lib, - retain: false, release: true); + _lib._class_NSScriptCommandDescription1, + _lib._sel_new1, + ); + return NSScriptCommandDescription._( + _ret, + _lib, + retain: false, + release: true, + ); } static NSScriptCommandDescription allocWithZone_( - SwiftLibrary _lib, ffi.Pointer<_NSZone> zone) { - final _ret = _lib._objc_msgSend_3(_lib._class_NSScriptCommandDescription1, - _lib._sel_allocWithZone_1, zone); - return NSScriptCommandDescription._(_ret, _lib, - retain: false, release: true); + SwiftLibrary _lib, + ffi.Pointer<_NSZone> zone, + ) { + final _ret = _lib._objc_msgSend_3( + _lib._class_NSScriptCommandDescription1, + _lib._sel_allocWithZone_1, + zone, + ); + return NSScriptCommandDescription._( + _ret, + _lib, + retain: false, + release: true, + ); } static NSScriptCommandDescription alloc(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSScriptCommandDescription1, _lib._sel_alloc1); - return NSScriptCommandDescription._(_ret, _lib, - retain: false, release: true); + _lib._class_NSScriptCommandDescription1, + _lib._sel_alloc1, + ); + return NSScriptCommandDescription._( + _ret, + _lib, + retain: false, + release: true, + ); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + SwiftLibrary _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSScriptCommandDescription1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSScriptCommandDescription1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSScriptCommandDescription1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + SwiftLibrary _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSScriptCommandDescription1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { - return _lib._objc_msgSend_12(_lib._class_NSScriptCommandDescription1, - _lib._sel_accessInstanceVariablesDirectly1); + return _lib._objc_msgSend_12( + _lib._class_NSScriptCommandDescription1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(SwiftLibrary _lib) { return _lib._objc_msgSend_12( - _lib._class_NSScriptCommandDescription1, _lib._sel_useStoredAccessor1); + _lib._class_NSScriptCommandDescription1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSScriptCommandDescription1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSScriptCommandDescription1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSScriptCommandDescription1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSScriptCommandDescription1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, NSArray keys, NSString dependentKey) { + SwiftLibrary _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSScriptCommandDescription1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSScriptCommandDescription1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_85(_lib._class_NSScriptCommandDescription1, - _lib._sel_classFallbacksForKeyedArchiver1); + final _ret = _lib._objc_msgSend_85( + _lib._class_NSScriptCommandDescription1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2(_lib._class_NSScriptCommandDescription1, - _lib._sel_classForKeyedUnarchiver1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSScriptCommandDescription1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } class NSScriptCommand extends NSObject { - NSScriptCommand._(ffi.Pointer id, SwiftLibrary lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSScriptCommand._( + ffi.Pointer pointer, + SwiftLibrary lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSScriptCommand] that points to the same underlying object as [other]. - static NSScriptCommand castFrom(T other) { - return NSScriptCommand._(other._id, other._lib, - retain: true, release: true); + static NSScriptCommand castFrom( + SwiftLibrary lib, + T other, + ) { + return NSScriptCommand._(other.pointer, lib, retain: true, release: true); } /// Returns a [NSScriptCommand] that wraps the given raw object pointer. static NSScriptCommand castFromPointer( - SwiftLibrary lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + SwiftLibrary lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSScriptCommand._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSScriptCommand]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0(obj._id, obj._lib._sel_isKindOfClass_1, - obj._lib._class_NSScriptCommand1); + static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSScriptCommand1, + ); } NSScriptCommand initWithCommandDescription_( - NSScriptCommandDescription commandDef) { + NSScriptCommandDescription commandDef, + ) { final _ret = _lib._objc_msgSend_630( - _id, _lib._sel_initWithCommandDescription_1, commandDef._id); + this.pointer, + _lib._sel_initWithCommandDescription_1, + commandDef.pointer, + ); return NSScriptCommand._(_ret, _lib, retain: true, release: true); } NSScriptCommand? initWithCoder_(NSCoder inCoder) { - final _ret = - _lib._objc_msgSend_47(_id, _lib._sel_initWithCoder_1, inCoder._id); + final _ret = _lib._objc_msgSend_47( + this.pointer, + _lib._sel_initWithCoder_1, + inCoder.pointer, + ); return _ret.address == 0 ? null : NSScriptCommand._(_ret, _lib, retain: true, release: true); } NSScriptCommandDescription get commandDescription { - final _ret = _lib._objc_msgSend_631(_id, _lib._sel_commandDescription1); - return NSScriptCommandDescription._(_ret, _lib, - retain: true, release: true); + final _ret = _lib._objc_msgSend_631( + this.pointer, + _lib._sel_commandDescription1, + ); + return NSScriptCommandDescription._( + _ret, + _lib, + retain: true, + release: true, + ); } NSObject? get directParameter { - final _ret = _lib._objc_msgSend_17(_id, _lib._sel_directParameter1); + final _ret = _lib._objc_msgSend_17( + this.pointer, + _lib._sel_directParameter1, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); @@ -52266,11 +68989,17 @@ class NSScriptCommand extends NSObject { set directParameter(NSObject? value) { return _lib._objc_msgSend_416( - _id, _lib._sel_setDirectParameter_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setDirectParameter_1, + value?.pointer ?? ffi.nullptr, + ); } NSScriptObjectSpecifier? get receiversSpecifier { - final _ret = _lib._objc_msgSend_632(_id, _lib._sel_receiversSpecifier1); + final _ret = _lib._objc_msgSend_632( + this.pointer, + _lib._sel_receiversSpecifier1, + ); return _ret.address == 0 ? null : NSScriptObjectSpecifier._(_ret, _lib, retain: true, release: true); @@ -52278,18 +69007,24 @@ class NSScriptCommand extends NSObject { set receiversSpecifier(NSScriptObjectSpecifier? value) { return _lib._objc_msgSend_633( - _id, _lib._sel_setReceiversSpecifier_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setReceiversSpecifier_1, + value?.pointer ?? ffi.nullptr, + ); } NSObject? get evaluatedReceivers { - final _ret = _lib._objc_msgSend_17(_id, _lib._sel_evaluatedReceivers1); + final _ret = _lib._objc_msgSend_17( + this.pointer, + _lib._sel_evaluatedReceivers1, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } NSDictionary? get arguments { - final _ret = _lib._objc_msgSend_390(_id, _lib._sel_arguments1); + final _ret = _lib._objc_msgSend_390(this.pointer, _lib._sel_arguments1); return _ret.address == 0 ? null : NSDictionary._(_ret, _lib, retain: true, release: true); @@ -52297,46 +69032,60 @@ class NSScriptCommand extends NSObject { set arguments(NSDictionary? value) { return _lib._objc_msgSend_634( - _id, _lib._sel_setArguments_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setArguments_1, + value?.pointer ?? ffi.nullptr, + ); } NSDictionary? get evaluatedArguments { - final _ret = _lib._objc_msgSend_390(_id, _lib._sel_evaluatedArguments1); + final _ret = _lib._objc_msgSend_390( + this.pointer, + _lib._sel_evaluatedArguments1, + ); return _ret.address == 0 ? null : NSDictionary._(_ret, _lib, retain: true, release: true); } bool get wellFormed { - return _lib._objc_msgSend_12(_id, _lib._sel_isWellFormed1); + return _lib._objc_msgSend_12(this.pointer, _lib._sel_isWellFormed1); } NSObject? performDefaultImplementation() { - final _ret = - _lib._objc_msgSend_17(_id, _lib._sel_performDefaultImplementation1); + final _ret = _lib._objc_msgSend_17( + this.pointer, + _lib._sel_performDefaultImplementation1, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } NSObject? executeCommand() { - final _ret = _lib._objc_msgSend_17(_id, _lib._sel_executeCommand1); + final _ret = _lib._objc_msgSend_17(this.pointer, _lib._sel_executeCommand1); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } int get scriptErrorNumber { - return _lib._objc_msgSend_83(_id, _lib._sel_scriptErrorNumber1); + return _lib._objc_msgSend_83(this.pointer, _lib._sel_scriptErrorNumber1); } set scriptErrorNumber(int value) { - return _lib._objc_msgSend_635(_id, _lib._sel_setScriptErrorNumber_1, value); + return _lib._objc_msgSend_635( + this.pointer, + _lib._sel_setScriptErrorNumber_1, + value, + ); } NSAppleEventDescriptor? get scriptErrorOffendingObjectDescriptor { final _ret = _lib._objc_msgSend_636( - _id, _lib._sel_scriptErrorOffendingObjectDescriptor1); + this.pointer, + _lib._sel_scriptErrorOffendingObjectDescriptor1, + ); return _ret.address == 0 ? null : NSAppleEventDescriptor._(_ret, _lib, retain: true, release: true); @@ -52344,14 +69093,17 @@ class NSScriptCommand extends NSObject { set scriptErrorOffendingObjectDescriptor(NSAppleEventDescriptor? value) { return _lib._objc_msgSend_637( - _id, - _lib._sel_setScriptErrorOffendingObjectDescriptor_1, - value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setScriptErrorOffendingObjectDescriptor_1, + value?.pointer ?? ffi.nullptr, + ); } NSAppleEventDescriptor? get scriptErrorExpectedTypeDescriptor { final _ret = _lib._objc_msgSend_636( - _id, _lib._sel_scriptErrorExpectedTypeDescriptor1); + this.pointer, + _lib._sel_scriptErrorExpectedTypeDescriptor1, + ); return _ret.address == 0 ? null : NSAppleEventDescriptor._(_ret, _lib, retain: true, release: true); @@ -52359,13 +69111,17 @@ class NSScriptCommand extends NSObject { set scriptErrorExpectedTypeDescriptor(NSAppleEventDescriptor? value) { return _lib._objc_msgSend_637( - _id, - _lib._sel_setScriptErrorExpectedTypeDescriptor_1, - value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setScriptErrorExpectedTypeDescriptor_1, + value?.pointer ?? ffi.nullptr, + ); } NSString? get scriptErrorString { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_scriptErrorString1); + final _ret = _lib._objc_msgSend_44( + this.pointer, + _lib._sel_scriptErrorString1, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); @@ -52373,239 +69129,318 @@ class NSScriptCommand extends NSObject { set scriptErrorString(NSString? value) { return _lib._objc_msgSend_545( - _id, _lib._sel_setScriptErrorString_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setScriptErrorString_1, + value?.pointer ?? ffi.nullptr, + ); } static NSScriptCommand? currentCommand(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_638( - _lib._class_NSScriptCommand1, _lib._sel_currentCommand1); + _lib._class_NSScriptCommand1, + _lib._sel_currentCommand1, + ); return _ret.address == 0 ? null : NSScriptCommand._(_ret, _lib, retain: true, release: true); } NSAppleEventDescriptor? get appleEvent { - final _ret = _lib._objc_msgSend_636(_id, _lib._sel_appleEvent1); + final _ret = _lib._objc_msgSend_636(this.pointer, _lib._sel_appleEvent1); return _ret.address == 0 ? null : NSAppleEventDescriptor._(_ret, _lib, retain: true, release: true); } void suspendExecution() { - _lib._objc_msgSend_1(_id, _lib._sel_suspendExecution1); + _lib._objc_msgSend_1(this.pointer, _lib._sel_suspendExecution1); } void resumeExecutionWithResult_(NSObject? result) { _lib._objc_msgSend_289( - _id, _lib._sel_resumeExecutionWithResult_1, result?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_resumeExecutionWithResult_1, + result?.pointer ?? ffi.nullptr, + ); } @override NSScriptCommand init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSScriptCommand._(_ret, _lib, retain: true, release: true); } static NSScriptCommand new1(SwiftLibrary _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSScriptCommand1, _lib._sel_new1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSScriptCommand1, + _lib._sel_new1, + ); return NSScriptCommand._(_ret, _lib, retain: false, release: true); } static NSScriptCommand allocWithZone_( - SwiftLibrary _lib, ffi.Pointer<_NSZone> zone) { + SwiftLibrary _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSScriptCommand1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSScriptCommand1, + _lib._sel_allocWithZone_1, + zone, + ); return NSScriptCommand._(_ret, _lib, retain: false, release: true); } static NSScriptCommand alloc(SwiftLibrary _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSScriptCommand1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSScriptCommand1, + _lib._sel_alloc1, + ); return NSScriptCommand._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + SwiftLibrary _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSScriptCommand1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSScriptCommand1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSScriptCommand1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + SwiftLibrary _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSScriptCommand1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { - return _lib._objc_msgSend_12(_lib._class_NSScriptCommand1, - _lib._sel_accessInstanceVariablesDirectly1); + return _lib._objc_msgSend_12( + _lib._class_NSScriptCommand1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(SwiftLibrary _lib) { return _lib._objc_msgSend_12( - _lib._class_NSScriptCommand1, _lib._sel_useStoredAccessor1); + _lib._class_NSScriptCommand1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSScriptCommand1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSScriptCommand1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSScriptCommand1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSScriptCommand1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, NSArray keys, NSString dependentKey) { + SwiftLibrary _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSScriptCommand1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSScriptCommand1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_85(_lib._class_NSScriptCommand1, - _lib._sel_classFallbacksForKeyedArchiver1); + final _ret = _lib._objc_msgSend_85( + _lib._class_NSScriptCommand1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSScriptCommand1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSScriptCommand1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } class NSItemProvider extends NSObject { - NSItemProvider._(ffi.Pointer id, SwiftLibrary lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSItemProvider._( + ffi.Pointer pointer, + SwiftLibrary lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSItemProvider] that points to the same underlying object as [other]. - static NSItemProvider castFrom(T other) { - return NSItemProvider._(other._id, other._lib, retain: true, release: true); + static NSItemProvider castFrom( + SwiftLibrary lib, + T other, + ) { + return NSItemProvider._(other.pointer, lib, retain: true, release: true); } /// Returns a [NSItemProvider] that wraps the given raw object pointer. static NSItemProvider castFromPointer( - SwiftLibrary lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + SwiftLibrary lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSItemProvider._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSItemProvider]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0(obj._id, obj._lib._sel_isKindOfClass_1, - obj._lib._class_NSItemProvider1); + static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSItemProvider1, + ); } @override NSItemProvider init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSItemProvider._(_ret, _lib, retain: true, release: true); } void registerDataRepresentationForTypeIdentifier_visibility_loadHandler_( - NSString typeIdentifier, - int visibility, - ObjCBlock_NSProgress_ffiVoidNSDataNSError loadHandler) { + NSString typeIdentifier, + int visibility, + ObjCBlock_NSProgress_ffiVoidNSDataNSError loadHandler, + ) { _lib._objc_msgSend_673( - _id, - _lib._sel_registerDataRepresentationForTypeIdentifier_visibility_loadHandler_1, - typeIdentifier._id, - visibility, - loadHandler._id); + this.pointer, + _lib._sel_registerDataRepresentationForTypeIdentifier_visibility_loadHandler_1, + typeIdentifier.pointer, + visibility, + loadHandler.pointer, + ); } void - registerFileRepresentationForTypeIdentifier_fileOptions_visibility_loadHandler_( - NSString typeIdentifier, - int fileOptions, - int visibility, - ObjCBlock_NSProgress_ffiVoidNSURLboolNSError loadHandler) { + registerFileRepresentationForTypeIdentifier_fileOptions_visibility_loadHandler_( + NSString typeIdentifier, + int fileOptions, + int visibility, + ObjCBlock_NSProgress_ffiVoidNSURLboolNSError loadHandler, + ) { _lib._objc_msgSend_674( - _id, - _lib._sel_registerFileRepresentationForTypeIdentifier_fileOptions_visibility_loadHandler_1, - typeIdentifier._id, - fileOptions, - visibility, - loadHandler._id); + this.pointer, + _lib._sel_registerFileRepresentationForTypeIdentifier_fileOptions_visibility_loadHandler_1, + typeIdentifier.pointer, + fileOptions, + visibility, + loadHandler.pointer, + ); } NSArray get registeredTypeIdentifiers { - final _ret = - _lib._objc_msgSend_85(_id, _lib._sel_registeredTypeIdentifiers1); + final _ret = _lib._objc_msgSend_85( + this.pointer, + _lib._sel_registeredTypeIdentifiers1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } NSArray registeredTypeIdentifiersWithFileOptions_(int fileOptions) { final _ret = _lib._objc_msgSend_675( - _id, _lib._sel_registeredTypeIdentifiersWithFileOptions_1, fileOptions); + this.pointer, + _lib._sel_registeredTypeIdentifiersWithFileOptions_1, + fileOptions, + ); return NSArray._(_ret, _lib, retain: true, release: true); } bool hasItemConformingToTypeIdentifier_(NSString typeIdentifier) { return _lib._objc_msgSend_64( - _id, _lib._sel_hasItemConformingToTypeIdentifier_1, typeIdentifier._id); + this.pointer, + _lib._sel_hasItemConformingToTypeIdentifier_1, + typeIdentifier.pointer, + ); } bool hasRepresentationConformingToTypeIdentifier_fileOptions_( - NSString typeIdentifier, int fileOptions) { + NSString typeIdentifier, + int fileOptions, + ) { return _lib._objc_msgSend_676( - _id, - _lib._sel_hasRepresentationConformingToTypeIdentifier_fileOptions_1, - typeIdentifier._id, - fileOptions); + this.pointer, + _lib._sel_hasRepresentationConformingToTypeIdentifier_fileOptions_1, + typeIdentifier.pointer, + fileOptions, + ); } NSProgress loadDataRepresentationForTypeIdentifier_completionHandler_( - NSString typeIdentifier, - ObjCBlock_ffiVoid_NSData_NSError completionHandler) { + NSString typeIdentifier, + ObjCBlock_ffiVoid_NSData_NSError completionHandler, + ) { final _ret = _lib._objc_msgSend_677( - _id, - _lib._sel_loadDataRepresentationForTypeIdentifier_completionHandler_1, - typeIdentifier._id, - completionHandler._id); + this.pointer, + _lib._sel_loadDataRepresentationForTypeIdentifier_completionHandler_1, + typeIdentifier.pointer, + completionHandler.pointer, + ); return NSProgress._(_ret, _lib, retain: true, release: true); } NSProgress loadFileRepresentationForTypeIdentifier_completionHandler_( - NSString typeIdentifier, - ObjCBlock_ffiVoid_NSURL_NSError completionHandler) { + NSString typeIdentifier, + ObjCBlock_ffiVoid_NSURL_NSError completionHandler, + ) { final _ret = _lib._objc_msgSend_678( - _id, - _lib._sel_loadFileRepresentationForTypeIdentifier_completionHandler_1, - typeIdentifier._id, - completionHandler._id); + this.pointer, + _lib._sel_loadFileRepresentationForTypeIdentifier_completionHandler_1, + typeIdentifier.pointer, + completionHandler.pointer, + ); return NSProgress._(_ret, _lib, retain: true, release: true); } NSProgress loadInPlaceFileRepresentationForTypeIdentifier_completionHandler_( - NSString typeIdentifier, - ObjCBlock_ffiVoid_NSURL_bool_NSError completionHandler) { + NSString typeIdentifier, + ObjCBlock_ffiVoid_NSURL_bool_NSError completionHandler, + ) { final _ret = _lib._objc_msgSend_679( - _id, - _lib._sel_loadInPlaceFileRepresentationForTypeIdentifier_completionHandler_1, - typeIdentifier._id, - completionHandler._id); + this.pointer, + _lib._sel_loadInPlaceFileRepresentationForTypeIdentifier_completionHandler_1, + typeIdentifier.pointer, + completionHandler.pointer, + ); return NSProgress._(_ret, _lib, retain: true, release: true); } NSString? get suggestedName { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_suggestedName1); + final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_suggestedName1); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); @@ -52613,193 +69448,272 @@ class NSItemProvider extends NSObject { set suggestedName(NSString? value) { return _lib._objc_msgSend_545( - _id, _lib._sel_setSuggestedName_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setSuggestedName_1, + value?.pointer ?? ffi.nullptr, + ); } NSItemProvider initWithObject_(NSObject object) { - final _ret = - _lib._objc_msgSend_124(_id, _lib._sel_initWithObject_1, object._id); + final _ret = _lib._objc_msgSend_124( + this.pointer, + _lib._sel_initWithObject_1, + object.pointer, + ); return NSItemProvider._(_ret, _lib, retain: true, release: true); } void registerObject_visibility_(NSObject object, int visibility) { _lib._objc_msgSend_680( - _id, _lib._sel_registerObject_visibility_1, object._id, visibility); + this.pointer, + _lib._sel_registerObject_visibility_1, + object.pointer, + visibility, + ); } void registerObjectOfClass_visibility_loadHandler_( - NSObject aClass, - int visibility, - ObjCBlock_NSProgress_ffiVoidObjCObjectNSError loadHandler) { + NSObject aClass, + int visibility, + ObjCBlock_NSProgress_ffiVoidobjcObjCObjectNSError loadHandler, + ) { _lib._objc_msgSend_681( - _id, - _lib._sel_registerObjectOfClass_visibility_loadHandler_1, - aClass._id, - visibility, - loadHandler._id); + this.pointer, + _lib._sel_registerObjectOfClass_visibility_loadHandler_1, + aClass.pointer, + visibility, + loadHandler.pointer, + ); } bool canLoadObjectOfClass_(NSObject aClass) { return _lib._objc_msgSend_0( - _id, _lib._sel_canLoadObjectOfClass_1, aClass._id); + this.pointer, + _lib._sel_canLoadObjectOfClass_1, + aClass.pointer, + ); } NSProgress loadObjectOfClass_completionHandler_( - NSObject aClass, ObjCBlock_ffiVoid_ObjCObject_NSError completionHandler) { + NSObject aClass, + ObjCBlock_ffiVoid_objcObjCObject_NSError completionHandler, + ) { final _ret = _lib._objc_msgSend_682( - _id, - _lib._sel_loadObjectOfClass_completionHandler_1, - aClass._id, - completionHandler._id); + this.pointer, + _lib._sel_loadObjectOfClass_completionHandler_1, + aClass.pointer, + completionHandler.pointer, + ); return NSProgress._(_ret, _lib, retain: true, release: true); } NSItemProvider initWithItem_typeIdentifier_( - NSObject? item, NSString? typeIdentifier) { + NSObject? item, + NSString? typeIdentifier, + ) { final _ret = _lib._objc_msgSend_683( - _id, - _lib._sel_initWithItem_typeIdentifier_1, - item?._id ?? ffi.nullptr, - typeIdentifier?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_initWithItem_typeIdentifier_1, + item?.pointer ?? ffi.nullptr, + typeIdentifier?.pointer ?? ffi.nullptr, + ); return NSItemProvider._(_ret, _lib, retain: true, release: true); } NSItemProvider? initWithContentsOfURL_(NSURL fileURL) { final _ret = _lib._objc_msgSend_277( - _id, _lib._sel_initWithContentsOfURL_1, fileURL._id); + this.pointer, + _lib._sel_initWithContentsOfURL_1, + fileURL.pointer, + ); return _ret.address == 0 ? null : NSItemProvider._(_ret, _lib, retain: true, release: true); } void registerItemForTypeIdentifier_loadHandler_( - NSString typeIdentifier, - ObjCBlock_ffiVoid_ffiVoidObjCObjectNSError_ObjCObject_NSDictionary - loadHandler) { + NSString typeIdentifier, + ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary + loadHandler, + ) { _lib._objc_msgSend_684( - _id, - _lib._sel_registerItemForTypeIdentifier_loadHandler_1, - typeIdentifier._id, - loadHandler._id); + this.pointer, + _lib._sel_registerItemForTypeIdentifier_loadHandler_1, + typeIdentifier.pointer, + loadHandler.pointer, + ); } void loadItemForTypeIdentifier_options_completionHandler_( - NSString typeIdentifier, - NSDictionary? options, - ObjCBlock_ffiVoid_ObjCObject_NSError1? completionHandler) { + NSString typeIdentifier, + NSDictionary? options, + ObjCBlock_ffiVoid_objcObjCObject_NSError1? completionHandler, + ) { _lib._objc_msgSend_685( - _id, - _lib._sel_loadItemForTypeIdentifier_options_completionHandler_1, - typeIdentifier._id, - options?._id ?? ffi.nullptr, - completionHandler?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_loadItemForTypeIdentifier_options_completionHandler_1, + typeIdentifier.pointer, + options?.pointer ?? ffi.nullptr, + completionHandler?.pointer ?? ffi.nullptr, + ); } - ObjCBlock_ffiVoid_ffiVoidObjCObjectNSError_ObjCObject_NSDictionary? - get previewImageHandler { - final _ret = _lib._objc_msgSend_686(_id, _lib._sel_previewImageHandler1); + ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary? + get previewImageHandler { + final _ret = _lib._objc_msgSend_686( + this.pointer, + _lib._sel_previewImageHandler1, + ); return _ret.address == 0 ? null - : ObjCBlock_ffiVoid_ffiVoidObjCObjectNSError_ObjCObject_NSDictionary._( - _ret, _lib, - retain: true, release: true); + : ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary._( + _ret, + _lib, + retain: true, + release: true, + ); } set previewImageHandler( - ObjCBlock_ffiVoid_ffiVoidObjCObjectNSError_ObjCObject_NSDictionary? - value) { + ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary? + value, + ) { return _lib._objc_msgSend_687( - _id, _lib._sel_setPreviewImageHandler_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setPreviewImageHandler_1, + value?.pointer ?? ffi.nullptr, + ); } - void loadPreviewImageWithOptions_completionHandler_(NSDictionary options, - ObjCBlock_ffiVoid_ObjCObject_NSError1 completionHandler) { + void loadPreviewImageWithOptions_completionHandler_( + NSDictionary options, + ObjCBlock_ffiVoid_objcObjCObject_NSError1 completionHandler, + ) { _lib._objc_msgSend_688( - _id, - _lib._sel_loadPreviewImageWithOptions_completionHandler_1, - options._id, - completionHandler._id); + this.pointer, + _lib._sel_loadPreviewImageWithOptions_completionHandler_1, + options.pointer, + completionHandler.pointer, + ); } static NSItemProvider new1(SwiftLibrary _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSItemProvider1, _lib._sel_new1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSItemProvider1, + _lib._sel_new1, + ); return NSItemProvider._(_ret, _lib, retain: false, release: true); } static NSItemProvider allocWithZone_( - SwiftLibrary _lib, ffi.Pointer<_NSZone> zone) { + SwiftLibrary _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSItemProvider1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSItemProvider1, + _lib._sel_allocWithZone_1, + zone, + ); return NSItemProvider._(_ret, _lib, retain: false, release: true); } static NSItemProvider alloc(SwiftLibrary _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSItemProvider1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSItemProvider1, + _lib._sel_alloc1, + ); return NSItemProvider._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + SwiftLibrary _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSItemProvider1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSItemProvider1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSItemProvider1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + SwiftLibrary _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSItemProvider1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { - return _lib._objc_msgSend_12(_lib._class_NSItemProvider1, - _lib._sel_accessInstanceVariablesDirectly1); + return _lib._objc_msgSend_12( + _lib._class_NSItemProvider1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(SwiftLibrary _lib) { return _lib._objc_msgSend_12( - _lib._class_NSItemProvider1, _lib._sel_useStoredAccessor1); + _lib._class_NSItemProvider1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSItemProvider1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSItemProvider1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSItemProvider1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSItemProvider1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, NSArray keys, NSString dependentKey) { + SwiftLibrary _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSItemProvider1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSItemProvider1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_85( - _lib._class_NSItemProvider1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSItemProvider1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSItemProvider1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSItemProvider1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } @@ -52811,45 +69725,63 @@ abstract class NSItemProviderRepresentationVisibility { static const int NSItemProviderRepresentationVisibilityOwnProcess = 3; } -ffi.Pointer< - ObjCObject> _ObjCBlock_NSProgress_ffiVoidNSDataNSError_fnPtrTrampoline( - ffi.Pointer<_ObjCBlock> block, ffi.Pointer<_ObjCBlock> arg0) => - block.ref.target - .cast< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer<_ObjCBlock> arg0)>>() - .asFunction< - ffi.Pointer Function(ffi.Pointer<_ObjCBlock>)>()(arg0); +ffi.Pointer +_ObjCBlock_NSProgress_ffiVoidNSDataNSError_fnPtrTrampoline( + ffi.Pointer block, + ffi.Pointer arg0, +) => block.ref.target + .cast< + ffi.NativeFunction< + ffi.Pointer Function(ffi.Pointer arg0) + > + >() + .asFunction< + ffi.Pointer Function(ffi.Pointer) + >()(arg0); final _ObjCBlock_NSProgress_ffiVoidNSDataNSError_closureRegistry = - Function(ffi.Pointer<_ObjCBlock>)>{}; + Function(ffi.Pointer)>{}; int _ObjCBlock_NSProgress_ffiVoidNSDataNSError_closureRegistryIndex = 0; ffi.Pointer - _ObjCBlock_NSProgress_ffiVoidNSDataNSError_registerClosure( - ffi.Pointer Function(ffi.Pointer<_ObjCBlock>) fn) { +_ObjCBlock_NSProgress_ffiVoidNSDataNSError_registerClosure( + ffi.Pointer Function(ffi.Pointer) fn, +) { final id = ++_ObjCBlock_NSProgress_ffiVoidNSDataNSError_closureRegistryIndex; _ObjCBlock_NSProgress_ffiVoidNSDataNSError_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } -ffi.Pointer - _ObjCBlock_NSProgress_ffiVoidNSDataNSError_closureTrampoline( - ffi.Pointer<_ObjCBlock> block, ffi.Pointer<_ObjCBlock> arg0) => - _ObjCBlock_NSProgress_ffiVoidNSDataNSError_closureRegistry[ - block.ref.target.address]!(arg0); +ffi.Pointer +_ObjCBlock_NSProgress_ffiVoidNSDataNSError_closureTrampoline( + ffi.Pointer block, + ffi.Pointer arg0, +) => _ObjCBlock_NSProgress_ffiVoidNSDataNSError_closureRegistry[block + .ref + .target + .address]!(arg0); -class ObjCBlock_NSProgress_ffiVoidNSDataNSError extends _ObjCBlockBase { +class ObjCBlock_NSProgress_ffiVoidNSDataNSError extends objc.ObjCBlockBase { ObjCBlock_NSProgress_ffiVoidNSDataNSError._( - ffi.Pointer<_ObjCBlock> id, SwiftLibrary lib, - {bool retain = false, bool release = true}) - : super._(id, lib, retain: retain, release: release); + ffi.Pointer pointer, + this._lib, { + bool retain = false, + bool release = true, + }) : super(pointer, retain: retain, release: release); + + SwiftLibrary _lib; /// Returns a block that wraps the given raw block pointer. static ObjCBlock_NSProgress_ffiVoidNSDataNSError castFromPointer( - SwiftLibrary lib, ffi.Pointer<_ObjCBlock> pointer, - {bool retain = false, bool release = false}) { - return ObjCBlock_NSProgress_ffiVoidNSDataNSError._(pointer, lib, - retain: retain, release: release); + SwiftLibrary lib, + ffi.Pointer pointer, { + bool retain = false, + bool release = false, + }) { + return ObjCBlock_NSProgress_ffiVoidNSDataNSError._( + pointer, + lib, + retain: retain, + release: release, + ); } /// Creates a block from a C function pointer. @@ -52858,22 +69790,24 @@ class ObjCBlock_NSProgress_ffiVoidNSDataNSError extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_NSProgress_ffiVoidNSDataNSError.fromFunctionPointer( - SwiftLibrary lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer<_ObjCBlock> arg0)>> - ptr) - : this._( - lib._newBlock1( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Pointer Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer<_ObjCBlock>)>( - _ObjCBlock_NSProgress_ffiVoidNSDataNSError_fnPtrTrampoline) - .cast(), - ptr.cast()), - lib); + SwiftLibrary lib, + ffi.Pointer< + ffi.NativeFunction< + ffi.Pointer Function(ffi.Pointer arg0) + > + > ptr, + ) : this._(objc.newBlock( + _cFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >( + _ObjCBlock_NSProgress_ffiVoidNSDataNSError_fnPtrTrampoline, + ).cast(), + ptr.cast(), + ), lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -52881,200 +69815,288 @@ class ObjCBlock_NSProgress_ffiVoidNSDataNSError extends _ObjCBlockBase { /// This block must be invoked by native code running on the same thread as /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. - ObjCBlock_NSProgress_ffiVoidNSDataNSError.fromFunction(SwiftLibrary lib, - NSProgress? Function(ObjCBlock_ffiVoid_NSData_NSError) fn) - : this._( - lib._newBlock1( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Pointer Function( - ffi.Pointer<_ObjCBlock>, ffi.Pointer<_ObjCBlock>)>( - _ObjCBlock_NSProgress_ffiVoidNSDataNSError_closureTrampoline) - .cast(), - _ObjCBlock_NSProgress_ffiVoidNSDataNSError_registerClosure((ffi - .Pointer<_ObjCBlock> - arg0) => - fn(ObjCBlock_ffiVoid_NSData_NSError._(arg0, lib, retain: true, release: true)) - ?.retainAndReturnPointer() ?? - ffi.nullptr)), - lib); + ObjCBlock_NSProgress_ffiVoidNSDataNSError.fromFunction( + SwiftLibrary lib, + NSProgress? Function(ObjCBlock_ffiVoid_NSData_NSError) fn, + ) : this._(objc.newBlock( + _dartFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >( + _ObjCBlock_NSProgress_ffiVoidNSDataNSError_closureTrampoline, + ).cast(), + _ObjCBlock_NSProgress_ffiVoidNSDataNSError_registerClosure(( + ffi.Pointer arg0, + ) => + fn(ObjCBlock_ffiVoid_NSData_NSError._( + arg0, + lib, + retain: true, + release: true, + ))?.retainAndReturnPointer() ?? + ffi.nullptr), + ), lib); static ffi.Pointer? _dartFuncTrampoline; - NSProgress? call(ObjCBlock_ffiVoid_NSData_NSError arg0) => _id.ref.invoke + NSProgress? call(ObjCBlock_ffiVoid_NSData_NSError arg0) => + pointer.ref.invoke + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer block, + ffi.Pointer arg0, + ) + > + >() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >()(pointer, arg0.pointer) + .address == + 0 + ? null + : NSProgress._(pointer.ref.invoke .cast< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer<_ObjCBlock> arg0)>>() - .asFunction Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer<_ObjCBlock>)>() - (_id, arg0._id) - .address == - 0 - ? null - : NSProgress._( - _id.ref.invoke - .cast Function(ffi.Pointer<_ObjCBlock> block, ffi.Pointer<_ObjCBlock> arg0)>>() - .asFunction Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer<_ObjCBlock>)>()(_id, arg0._id), - _lib, - retain: false, - release: true); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer block, + ffi.Pointer arg0, + ) + > + >() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >()(pointer, arg0.pointer), _lib, retain: false, release: true); } class NSProgress extends NSObject { - NSProgress._(ffi.Pointer id, SwiftLibrary lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSProgress._( + ffi.Pointer pointer, + SwiftLibrary lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSProgress] that points to the same underlying object as [other]. - static NSProgress castFrom(T other) { - return NSProgress._(other._id, other._lib, retain: true, release: true); + static NSProgress castFrom( + SwiftLibrary lib, + T other, + ) { + return NSProgress._(other.pointer, lib, retain: true, release: true); } /// Returns a [NSProgress] that wraps the given raw object pointer. static NSProgress castFromPointer( - SwiftLibrary lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + SwiftLibrary lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSProgress._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSProgress]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_NSProgress1); + static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSProgress1, + ); } static NSProgress? currentProgress(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_659( - _lib._class_NSProgress1, _lib._sel_currentProgress1); + _lib._class_NSProgress1, + _lib._sel_currentProgress1, + ); return _ret.address == 0 ? null : NSProgress._(_ret, _lib, retain: true, release: true); } static NSProgress progressWithTotalUnitCount_( - SwiftLibrary _lib, int unitCount) { - final _ret = _lib._objc_msgSend_660(_lib._class_NSProgress1, - _lib._sel_progressWithTotalUnitCount_1, unitCount); + SwiftLibrary _lib, + int unitCount, + ) { + final _ret = _lib._objc_msgSend_660( + _lib._class_NSProgress1, + _lib._sel_progressWithTotalUnitCount_1, + unitCount, + ); return NSProgress._(_ret, _lib, retain: true, release: true); } static NSProgress discreteProgressWithTotalUnitCount_( - SwiftLibrary _lib, int unitCount) { - final _ret = _lib._objc_msgSend_660(_lib._class_NSProgress1, - _lib._sel_discreteProgressWithTotalUnitCount_1, unitCount); + SwiftLibrary _lib, + int unitCount, + ) { + final _ret = _lib._objc_msgSend_660( + _lib._class_NSProgress1, + _lib._sel_discreteProgressWithTotalUnitCount_1, + unitCount, + ); return NSProgress._(_ret, _lib, retain: true, release: true); } static NSProgress progressWithTotalUnitCount_parent_pendingUnitCount_( - SwiftLibrary _lib, - int unitCount, - NSProgress parent, - int portionOfParentTotalUnitCount) { + SwiftLibrary _lib, + int unitCount, + NSProgress parent, + int portionOfParentTotalUnitCount, + ) { final _ret = _lib._objc_msgSend_661( - _lib._class_NSProgress1, - _lib._sel_progressWithTotalUnitCount_parent_pendingUnitCount_1, - unitCount, - parent._id, - portionOfParentTotalUnitCount); + _lib._class_NSProgress1, + _lib._sel_progressWithTotalUnitCount_parent_pendingUnitCount_1, + unitCount, + parent.pointer, + portionOfParentTotalUnitCount, + ); return NSProgress._(_ret, _lib, retain: true, release: true); } NSProgress initWithParent_userInfo_( - NSProgress? parentProgressOrNil, NSObject? userInfoOrNil) { + NSProgress? parentProgressOrNil, + NSObject? userInfoOrNil, + ) { final _ret = _lib._objc_msgSend_662( - _id, - _lib._sel_initWithParent_userInfo_1, - parentProgressOrNil?._id ?? ffi.nullptr, - userInfoOrNil?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_initWithParent_userInfo_1, + parentProgressOrNil?.pointer ?? ffi.nullptr, + userInfoOrNil?.pointer ?? ffi.nullptr, + ); return NSProgress._(_ret, _lib, retain: true, release: true); } void becomeCurrentWithPendingUnitCount_(int unitCount) { _lib._objc_msgSend_663( - _id, _lib._sel_becomeCurrentWithPendingUnitCount_1, unitCount); + this.pointer, + _lib._sel_becomeCurrentWithPendingUnitCount_1, + unitCount, + ); } void performAsCurrentWithPendingUnitCount_usingBlock_( - int unitCount, ObjCBlock_ffiVoid work) { + int unitCount, + ObjCBlock_ffiVoid work, + ) { _lib._objc_msgSend_664( - _id, - _lib._sel_performAsCurrentWithPendingUnitCount_usingBlock_1, - unitCount, - work._id); + this.pointer, + _lib._sel_performAsCurrentWithPendingUnitCount_usingBlock_1, + unitCount, + work.pointer, + ); } void resignCurrent() { - _lib._objc_msgSend_1(_id, _lib._sel_resignCurrent1); + _lib._objc_msgSend_1(this.pointer, _lib._sel_resignCurrent1); } void addChild_withPendingUnitCount_(NSProgress child, int inUnitCount) { _lib._objc_msgSend_665( - _id, _lib._sel_addChild_withPendingUnitCount_1, child._id, inUnitCount); + this.pointer, + _lib._sel_addChild_withPendingUnitCount_1, + child.pointer, + inUnitCount, + ); } int get totalUnitCount { - return _lib._objc_msgSend_666(_id, _lib._sel_totalUnitCount1); + return _lib._objc_msgSend_666(this.pointer, _lib._sel_totalUnitCount1); } set totalUnitCount(int value) { - return _lib._objc_msgSend_667(_id, _lib._sel_setTotalUnitCount_1, value); + return _lib._objc_msgSend_667( + this.pointer, + _lib._sel_setTotalUnitCount_1, + value, + ); } int get completedUnitCount { - return _lib._objc_msgSend_666(_id, _lib._sel_completedUnitCount1); + return _lib._objc_msgSend_666(this.pointer, _lib._sel_completedUnitCount1); } set completedUnitCount(int value) { return _lib._objc_msgSend_667( - _id, _lib._sel_setCompletedUnitCount_1, value); + this.pointer, + _lib._sel_setCompletedUnitCount_1, + value, + ); } NSString get localizedDescription { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_localizedDescription1); + final _ret = _lib._objc_msgSend_21( + this.pointer, + _lib._sel_localizedDescription1, + ); return NSString._(_ret, _lib, retain: true, release: true); } set localizedDescription(NSString value) { return _lib._objc_msgSend_646( - _id, _lib._sel_setLocalizedDescription_1, value._id); + this.pointer, + _lib._sel_setLocalizedDescription_1, + value.pointer, + ); } NSString get localizedAdditionalDescription { - final _ret = - _lib._objc_msgSend_21(_id, _lib._sel_localizedAdditionalDescription1); + final _ret = _lib._objc_msgSend_21( + this.pointer, + _lib._sel_localizedAdditionalDescription1, + ); return NSString._(_ret, _lib, retain: true, release: true); } set localizedAdditionalDescription(NSString value) { return _lib._objc_msgSend_646( - _id, _lib._sel_setLocalizedAdditionalDescription_1, value._id); + this.pointer, + _lib._sel_setLocalizedAdditionalDescription_1, + value.pointer, + ); } bool get cancellable { - return _lib._objc_msgSend_12(_id, _lib._sel_isCancellable1); + return _lib._objc_msgSend_12(this.pointer, _lib._sel_isCancellable1); } set cancellable(bool value) { - return _lib._objc_msgSend_527(_id, _lib._sel_setCancellable_1, value); + return _lib._objc_msgSend_527( + this.pointer, + _lib._sel_setCancellable_1, + value, + ); } bool get pausable { - return _lib._objc_msgSend_12(_id, _lib._sel_isPausable1); + return _lib._objc_msgSend_12(this.pointer, _lib._sel_isPausable1); } set pausable(bool value) { - return _lib._objc_msgSend_527(_id, _lib._sel_setPausable_1, value); + return _lib._objc_msgSend_527(this.pointer, _lib._sel_setPausable_1, value); } bool get cancelled { - return _lib._objc_msgSend_12(_id, _lib._sel_isCancelled1); + return _lib._objc_msgSend_12(this.pointer, _lib._sel_isCancelled1); } bool get paused { - return _lib._objc_msgSend_12(_id, _lib._sel_isPaused1); + return _lib._objc_msgSend_12(this.pointer, _lib._sel_isPaused1); } ObjCBlock_ffiVoid? get cancellationHandler { - final _ret = _lib._objc_msgSend_668(_id, _lib._sel_cancellationHandler1); + final _ret = _lib._objc_msgSend_668( + this.pointer, + _lib._sel_cancellationHandler1, + ); return _ret.address == 0 ? null : ObjCBlock_ffiVoid._(_ret, _lib, retain: true, release: true); @@ -53082,11 +70104,17 @@ class NSProgress extends NSObject { set cancellationHandler(ObjCBlock_ffiVoid? value) { return _lib._objc_msgSend_669( - _id, _lib._sel_setCancellationHandler_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setCancellationHandler_1, + value?.pointer ?? ffi.nullptr, + ); } ObjCBlock_ffiVoid? get pausingHandler { - final _ret = _lib._objc_msgSend_668(_id, _lib._sel_pausingHandler1); + final _ret = _lib._objc_msgSend_668( + this.pointer, + _lib._sel_pausingHandler1, + ); return _ret.address == 0 ? null : ObjCBlock_ffiVoid._(_ret, _lib, retain: true, release: true); @@ -53094,11 +70122,17 @@ class NSProgress extends NSObject { set pausingHandler(ObjCBlock_ffiVoid? value) { return _lib._objc_msgSend_669( - _id, _lib._sel_setPausingHandler_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setPausingHandler_1, + value?.pointer ?? ffi.nullptr, + ); } ObjCBlock_ffiVoid? get resumingHandler { - final _ret = _lib._objc_msgSend_668(_id, _lib._sel_resumingHandler1); + final _ret = _lib._objc_msgSend_668( + this.pointer, + _lib._sel_resumingHandler1, + ); return _ret.address == 0 ? null : ObjCBlock_ffiVoid._(_ret, _lib, retain: true, release: true); @@ -53106,47 +70140,57 @@ class NSProgress extends NSObject { set resumingHandler(ObjCBlock_ffiVoid? value) { return _lib._objc_msgSend_669( - _id, _lib._sel_setResumingHandler_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setResumingHandler_1, + value?.pointer ?? ffi.nullptr, + ); } void setUserInfoObject_forKey_(NSObject? objectOrNil, NSString key) { - _lib._objc_msgSend_135(_id, _lib._sel_setUserInfoObject_forKey_1, - objectOrNil?._id ?? ffi.nullptr, key._id); + _lib._objc_msgSend_135( + this.pointer, + _lib._sel_setUserInfoObject_forKey_1, + objectOrNil?.pointer ?? ffi.nullptr, + key.pointer, + ); } bool get indeterminate { - return _lib._objc_msgSend_12(_id, _lib._sel_isIndeterminate1); + return _lib._objc_msgSend_12(this.pointer, _lib._sel_isIndeterminate1); } double get fractionCompleted { - return _lib._objc_msgSend_useVariants1 - ? _lib._objc_msgSend_165_fpret(_id, _lib._sel_fractionCompleted1) - : _lib._objc_msgSend_165(_id, _lib._sel_fractionCompleted1); + return objc.useMsgSendVariants + ? _lib._objc_msgSend_165_fpret( + this.pointer, + _lib._sel_fractionCompleted1, + ) + : _lib._objc_msgSend_165(this.pointer, _lib._sel_fractionCompleted1); } bool get finished { - return _lib._objc_msgSend_12(_id, _lib._sel_isFinished1); + return _lib._objc_msgSend_12(this.pointer, _lib._sel_isFinished1); } void cancel() { - _lib._objc_msgSend_1(_id, _lib._sel_cancel1); + _lib._objc_msgSend_1(this.pointer, _lib._sel_cancel1); } void pause() { - _lib._objc_msgSend_1(_id, _lib._sel_pause1); + _lib._objc_msgSend_1(this.pointer, _lib._sel_pause1); } void resume() { - _lib._objc_msgSend_1(_id, _lib._sel_resume1); + _lib._objc_msgSend_1(this.pointer, _lib._sel_resume1); } NSObject get userInfo { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_userInfo1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_userInfo1); return NSObject._(_ret, _lib, retain: true, release: true); } NSString? get kind { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_kind1); + final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_kind1); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); @@ -53154,11 +70198,17 @@ class NSProgress extends NSObject { set kind(NSString? value) { return _lib._objc_msgSend_545( - _id, _lib._sel_setKind_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setKind_1, + value?.pointer ?? ffi.nullptr, + ); } NSNumber? get estimatedTimeRemaining { - final _ret = _lib._objc_msgSend_215(_id, _lib._sel_estimatedTimeRemaining1); + final _ret = _lib._objc_msgSend_215( + this.pointer, + _lib._sel_estimatedTimeRemaining1, + ); return _ret.address == 0 ? null : NSNumber._(_ret, _lib, retain: true, release: true); @@ -53166,11 +70216,14 @@ class NSProgress extends NSObject { set estimatedTimeRemaining(NSNumber? value) { return _lib._objc_msgSend_670( - _id, _lib._sel_setEstimatedTimeRemaining_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setEstimatedTimeRemaining_1, + value?.pointer ?? ffi.nullptr, + ); } NSNumber? get throughput { - final _ret = _lib._objc_msgSend_215(_id, _lib._sel_throughput1); + final _ret = _lib._objc_msgSend_215(this.pointer, _lib._sel_throughput1); return _ret.address == 0 ? null : NSNumber._(_ret, _lib, retain: true, release: true); @@ -53178,11 +70231,17 @@ class NSProgress extends NSObject { set throughput(NSNumber? value) { return _lib._objc_msgSend_670( - _id, _lib._sel_setThroughput_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setThroughput_1, + value?.pointer ?? ffi.nullptr, + ); } NSString? get fileOperationKind { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_fileOperationKind1); + final _ret = _lib._objc_msgSend_44( + this.pointer, + _lib._sel_fileOperationKind1, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); @@ -53190,11 +70249,14 @@ class NSProgress extends NSObject { set fileOperationKind(NSString? value) { return _lib._objc_msgSend_545( - _id, _lib._sel_setFileOperationKind_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setFileOperationKind_1, + value?.pointer ?? ffi.nullptr, + ); } NSURL? get fileURL { - final _ret = _lib._objc_msgSend_45(_id, _lib._sel_fileURL1); + final _ret = _lib._objc_msgSend_45(this.pointer, _lib._sel_fileURL1); return _ret.address == 0 ? null : NSURL._(_ret, _lib, retain: true, release: true); @@ -53202,11 +70264,17 @@ class NSProgress extends NSObject { set fileURL(NSURL? value) { return _lib._objc_msgSend_671( - _id, _lib._sel_setFileURL_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setFileURL_1, + value?.pointer ?? ffi.nullptr, + ); } NSNumber? get fileTotalCount { - final _ret = _lib._objc_msgSend_215(_id, _lib._sel_fileTotalCount1); + final _ret = _lib._objc_msgSend_215( + this.pointer, + _lib._sel_fileTotalCount1, + ); return _ret.address == 0 ? null : NSNumber._(_ret, _lib, retain: true, release: true); @@ -53214,11 +70282,17 @@ class NSProgress extends NSObject { set fileTotalCount(NSNumber? value) { return _lib._objc_msgSend_670( - _id, _lib._sel_setFileTotalCount_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setFileTotalCount_1, + value?.pointer ?? ffi.nullptr, + ); } NSNumber? get fileCompletedCount { - final _ret = _lib._objc_msgSend_215(_id, _lib._sel_fileCompletedCount1); + final _ret = _lib._objc_msgSend_215( + this.pointer, + _lib._sel_fileCompletedCount1, + ); return _ret.address == 0 ? null : NSNumber._(_ret, _lib, retain: true, release: true); @@ -53226,41 +70300,49 @@ class NSProgress extends NSObject { set fileCompletedCount(NSNumber? value) { return _lib._objc_msgSend_670( - _id, _lib._sel_setFileCompletedCount_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setFileCompletedCount_1, + value?.pointer ?? ffi.nullptr, + ); } void publish() { - _lib._objc_msgSend_1(_id, _lib._sel_publish1); + _lib._objc_msgSend_1(this.pointer, _lib._sel_publish1); } void unpublish() { - _lib._objc_msgSend_1(_id, _lib._sel_unpublish1); + _lib._objc_msgSend_1(this.pointer, _lib._sel_unpublish1); } static NSObject addSubscriberForFileURL_withPublishingHandler_( - SwiftLibrary _lib, - NSURL url, - ObjCBlock_ffiVoid_NSProgress publishingHandler) { + SwiftLibrary _lib, + NSURL url, + ObjCBlock_ffiVoid_NSProgress publishingHandler, + ) { final _ret = _lib._objc_msgSend_672( - _lib._class_NSProgress1, - _lib._sel_addSubscriberForFileURL_withPublishingHandler_1, - url._id, - publishingHandler._id); + _lib._class_NSProgress1, + _lib._sel_addSubscriberForFileURL_withPublishingHandler_1, + url.pointer, + publishingHandler.pointer, + ); return NSObject._(_ret, _lib, retain: true, release: true); } static void removeSubscriber_(SwiftLibrary _lib, NSObject subscriber) { _lib._objc_msgSend_15( - _lib._class_NSProgress1, _lib._sel_removeSubscriber_1, subscriber._id); + _lib._class_NSProgress1, + _lib._sel_removeSubscriber_1, + subscriber.pointer, + ); } bool get old { - return _lib._objc_msgSend_12(_id, _lib._sel_isOld1); + return _lib._objc_msgSend_12(this.pointer, _lib._sel_isOld1); } @override NSProgress init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSProgress._(_ret, _lib, retain: true, release: true); } @@ -53270,117 +70352,171 @@ class NSProgress extends NSObject { } static NSProgress allocWithZone_( - SwiftLibrary _lib, ffi.Pointer<_NSZone> zone) { + SwiftLibrary _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSProgress1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSProgress1, + _lib._sel_allocWithZone_1, + zone, + ); return NSProgress._(_ret, _lib, retain: false, release: true); } static NSProgress alloc(SwiftLibrary _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSProgress1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSProgress1, + _lib._sel_alloc1, + ); return NSProgress._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + SwiftLibrary _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSProgress1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSProgress1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSProgress1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + SwiftLibrary _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSProgress1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { return _lib._objc_msgSend_12( - _lib._class_NSProgress1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_NSProgress1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(SwiftLibrary _lib) { return _lib._objc_msgSend_12( - _lib._class_NSProgress1, _lib._sel_useStoredAccessor1); + _lib._class_NSProgress1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSProgress1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSProgress1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSProgress1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSProgress1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, NSArray keys, NSString dependentKey) { + SwiftLibrary _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSProgress1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSProgress1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_85( - _lib._class_NSProgress1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSProgress1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSProgress1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSProgress1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } -ffi.Pointer<_ObjCBlock> _ObjCBlock_ffiVoid_NSProgress_fnPtrTrampoline( - ffi.Pointer<_ObjCBlock> block, ffi.Pointer arg0) => - block.ref.target - .cast< - ffi.NativeFunction< - ffi.Pointer<_ObjCBlock> Function( - ffi.Pointer arg0)>>() - .asFunction< - ffi.Pointer<_ObjCBlock> Function(ffi.Pointer)>()(arg0); +ffi.Pointer _ObjCBlock_ffiVoid_NSProgress_fnPtrTrampoline( + ffi.Pointer block, + ffi.Pointer arg0, +) => block.ref.target + .cast< + ffi.NativeFunction< + ffi.Pointer Function(ffi.Pointer arg0) + > + >() + .asFunction< + ffi.Pointer Function(ffi.Pointer) + >()(arg0); final _ObjCBlock_ffiVoid_NSProgress_closureRegistry = - Function(ffi.Pointer)>{}; + Function(ffi.Pointer)>{}; int _ObjCBlock_ffiVoid_NSProgress_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_ffiVoid_NSProgress_registerClosure( - ffi.Pointer<_ObjCBlock> Function(ffi.Pointer) fn) { + ffi.Pointer Function(ffi.Pointer) fn, +) { final id = ++_ObjCBlock_ffiVoid_NSProgress_closureRegistryIndex; _ObjCBlock_ffiVoid_NSProgress_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } -ffi.Pointer<_ObjCBlock> _ObjCBlock_ffiVoid_NSProgress_closureTrampoline( - ffi.Pointer<_ObjCBlock> block, ffi.Pointer arg0) => - _ObjCBlock_ffiVoid_NSProgress_closureRegistry[block.ref.target.address]!( - arg0); +ffi.Pointer _ObjCBlock_ffiVoid_NSProgress_closureTrampoline( + ffi.Pointer block, + ffi.Pointer arg0, +) => _ObjCBlock_ffiVoid_NSProgress_closureRegistry[block.ref.target.address]!( + arg0, +); + +class ObjCBlock_ffiVoid_NSProgress extends objc.ObjCBlockBase { + ObjCBlock_ffiVoid_NSProgress._( + ffi.Pointer pointer, + this._lib, { + bool retain = false, + bool release = true, + }) : super(pointer, retain: retain, release: release); -class ObjCBlock_ffiVoid_NSProgress extends _ObjCBlockBase { - ObjCBlock_ffiVoid_NSProgress._(ffi.Pointer<_ObjCBlock> id, SwiftLibrary lib, - {bool retain = false, bool release = true}) - : super._(id, lib, retain: retain, release: release); + SwiftLibrary _lib; /// Returns a block that wraps the given raw block pointer. static ObjCBlock_ffiVoid_NSProgress castFromPointer( - SwiftLibrary lib, ffi.Pointer<_ObjCBlock> pointer, - {bool retain = false, bool release = false}) { - return ObjCBlock_ffiVoid_NSProgress._(pointer, lib, - retain: retain, release: release); + SwiftLibrary lib, + ffi.Pointer pointer, { + bool retain = false, + bool release = false, + }) { + return ObjCBlock_ffiVoid_NSProgress._( + pointer, + lib, + retain: retain, + release: release, + ); } /// Creates a block from a C function pointer. @@ -53389,22 +70525,22 @@ class ObjCBlock_ffiVoid_NSProgress extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSProgress.fromFunctionPointer( - SwiftLibrary lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Pointer<_ObjCBlock> Function( - ffi.Pointer arg0)>> - ptr) - : this._( - lib._newBlock1( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Pointer<_ObjCBlock> Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_NSProgress_fnPtrTrampoline) - .cast(), - ptr.cast()), - lib); + SwiftLibrary lib, + ffi.Pointer< + ffi.NativeFunction< + ffi.Pointer Function(ffi.Pointer arg0) + > + > ptr, + ) : this._(objc.newBlock( + _cFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_NSProgress_fnPtrTrampoline).cast(), + ptr.cast(), + ), lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -53413,84 +70549,127 @@ class ObjCBlock_ffiVoid_NSProgress extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSProgress.fromFunction( - SwiftLibrary lib, ObjCBlock_ffiVoid? Function(NSProgress) fn) - : this._( - lib._newBlock1( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Pointer<_ObjCBlock> Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_NSProgress_closureTrampoline) - .cast(), - _ObjCBlock_ffiVoid_NSProgress_registerClosure( - (ffi.Pointer arg0) => - fn(NSProgress._(arg0, lib, retain: true, release: true)) - ?.retainAndReturnPointer() ?? - ffi.nullptr)), - lib); + SwiftLibrary lib, + ObjCBlock_ffiVoid? Function(NSProgress) fn, + ) : this._(objc.newBlock( + _dartFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_NSProgress_closureTrampoline).cast(), + _ObjCBlock_ffiVoid_NSProgress_registerClosure(( + ffi.Pointer arg0, + ) => + fn(NSProgress._( + arg0, + lib, + retain: true, + release: true, + ))?.retainAndReturnPointer() ?? + ffi.nullptr), + ), lib); static ffi.Pointer? _dartFuncTrampoline; - ObjCBlock_ffiVoid? call(NSProgress arg0) => _id.ref.invoke + ObjCBlock_ffiVoid? call(NSProgress arg0) => + pointer.ref.invoke + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer block, + ffi.Pointer arg0, + ) + > + >() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >()(pointer, arg0.pointer) + .address == + 0 + ? null + : ObjCBlock_ffiVoid._(pointer.ref.invoke .cast< - ffi.NativeFunction< - ffi.Pointer<_ObjCBlock> Function( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0)>>() - .asFunction Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer)>() - (_id, arg0._id) - .address == - 0 - ? null - : ObjCBlock_ffiVoid._( - _id.ref.invoke - .cast Function(ffi.Pointer<_ObjCBlock> block, ffi.Pointer arg0)>>() - .asFunction Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer)>()(_id, arg0._id), - _lib, - retain: false, - release: true); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer block, + ffi.Pointer arg0, + ) + > + >() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >()(pointer, arg0.pointer), _lib, retain: false, release: true); } void _ObjCBlock_ffiVoid_NSData_NSError_fnPtrTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1) => - block.ref.target - .cast< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer arg0, - ffi.Pointer arg1)>>() - .asFunction< - void Function(ffi.Pointer, - ffi.Pointer)>()(arg0, arg1); + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, +) => block.ref.target + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) + > + >() + .asFunction< + void Function(ffi.Pointer, ffi.Pointer) + >()(arg0, arg1); final _ObjCBlock_ffiVoid_NSData_NSError_closureRegistry = - , ffi.Pointer)>{}; + < + int, + void Function(ffi.Pointer, ffi.Pointer) + >{}; int _ObjCBlock_ffiVoid_NSData_NSError_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_ffiVoid_NSData_NSError_registerClosure( - void Function(ffi.Pointer, ffi.Pointer) fn) { + void Function(ffi.Pointer, ffi.Pointer) fn, +) { final id = ++_ObjCBlock_ffiVoid_NSData_NSError_closureRegistryIndex; _ObjCBlock_ffiVoid_NSData_NSError_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } void _ObjCBlock_ffiVoid_NSData_NSError_closureTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1) => - _ObjCBlock_ffiVoid_NSData_NSError_closureRegistry[ - block.ref.target.address]!(arg0, arg1); - -class ObjCBlock_ffiVoid_NSData_NSError extends _ObjCBlockBase { + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, +) => _ObjCBlock_ffiVoid_NSData_NSError_closureRegistry[block + .ref + .target + .address]!(arg0, arg1); + +class ObjCBlock_ffiVoid_NSData_NSError extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSData_NSError._( - ffi.Pointer<_ObjCBlock> id, SwiftLibrary lib, - {bool retain = false, bool release = true}) - : super._(id, lib, retain: retain, release: release); + ffi.Pointer pointer, + this._lib, { + bool retain = false, + bool release = true, + }) : super(pointer, retain: retain, release: release); + + SwiftLibrary _lib; /// Returns a block that wraps the given raw block pointer. static ObjCBlock_ffiVoid_NSData_NSError castFromPointer( - SwiftLibrary lib, ffi.Pointer<_ObjCBlock> pointer, - {bool retain = false, bool release = false}) { - return ObjCBlock_ffiVoid_NSData_NSError._(pointer, lib, - retain: retain, release: release); + SwiftLibrary lib, + ffi.Pointer pointer, { + bool retain = false, + bool release = false, + }) { + return ObjCBlock_ffiVoid_NSData_NSError._( + pointer, + lib, + retain: retain, + release: release, + ); } /// Creates a block from a C function pointer. @@ -53499,23 +70678,26 @@ class ObjCBlock_ffiVoid_NSData_NSError extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSData_NSError.fromFunctionPointer( - SwiftLibrary lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer arg0, - ffi.Pointer arg1)>> - ptr) - : this._( - lib._newBlock1( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_NSData_NSError_fnPtrTrampoline) - .cast(), - ptr.cast()), - lib); + SwiftLibrary lib, + ffi.Pointer< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) + > + > ptr, + ) : this._(objc.newBlock( + _cFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_NSData_NSError_fnPtrTrampoline).cast(), + ptr.cast(), + ), lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -53524,22 +70706,29 @@ class ObjCBlock_ffiVoid_NSData_NSError extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSData_NSError.fromFunction( - SwiftLibrary lib, void Function(NSData?, NSError?) fn) - : this._( - lib._newBlock1( - _dartFuncTrampoline ??= - ffi.Pointer.fromFunction, ffi.Pointer, ffi.Pointer)>( - _ObjCBlock_ffiVoid_NSData_NSError_closureTrampoline) - .cast(), - _ObjCBlock_ffiVoid_NSData_NSError_registerClosure( - (ffi.Pointer arg0, ffi.Pointer arg1) => fn( - arg0.address == 0 - ? null - : NSData._(arg0, lib, retain: true, release: true), - arg1.address == 0 - ? null - : NSError._(arg1, lib, retain: true, release: true)))), - lib); + SwiftLibrary lib, + void Function(NSData?, NSError?) fn, + ) : this._(objc.newBlock( + _dartFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_NSData_NSError_closureTrampoline).cast(), + _ObjCBlock_ffiVoid_NSData_NSError_registerClosure(( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) => fn( + arg0.address == 0 + ? null + : NSData._(arg0, lib, retain: true, release: true), + arg1.address == 0 + ? null + : NSError._(arg1, lib, retain: true, release: true), + )), + ), lib); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -53552,87 +70741,121 @@ class ObjCBlock_ffiVoid_NSData_NSError extends _ObjCBlockBase { /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. ObjCBlock_ffiVoid_NSData_NSError.listener( - SwiftLibrary lib, void Function(NSData?, NSError?) fn) - : this._( - lib._newBlock1( - (_dartFuncListenerTrampoline ??= - ffi.NativeCallable, ffi.Pointer, ffi.Pointer)>.listener( - _ObjCBlock_ffiVoid_NSData_NSError_closureTrampoline) - ..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSData_NSError_registerClosure( - (ffi.Pointer arg0, ffi.Pointer arg1) => fn( - arg0.address == 0 - ? null - : NSData._(arg0, lib, retain: true, release: true), - arg1.address == 0 - ? null - : NSError._(arg1, lib, - retain: true, release: true)))), - lib); + SwiftLibrary lib, + void Function(NSData?, NSError?) fn, + ) : this._(objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >.listener( + _ObjCBlock_ffiVoid_NSData_NSError_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSData_NSError_registerClosure(( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) => fn( + arg0.address == 0 + ? null + : NSData._(arg0, lib, retain: true, release: true), + arg1.address == 0 + ? null + : NSError._(arg1, lib, retain: true, release: true), + )), + ), lib); static ffi.NativeCallable< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer, - ffi.Pointer)>? _dartFuncListenerTrampoline; - - void call(NSData? arg0, NSError? arg1) => _id.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1)>>() - .asFunction< - void Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer, - ffi.Pointer)>()( - _id, arg0?._id ?? ffi.nullptr, arg1?._id ?? ffi.nullptr); + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >? _dartFuncListenerTrampoline; + + void call(NSData? arg0, NSError? arg1) => pointer.ref.invoke + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, + ) + > + >() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >()(pointer, arg0?.pointer ?? ffi.nullptr, arg1?.pointer ?? ffi.nullptr); } abstract class NSItemProviderFileOptions { static const int NSItemProviderFileOptionOpenInPlace = 1; } -ffi.Pointer - _ObjCBlock_NSProgress_ffiVoidNSURLboolNSError_fnPtrTrampoline( - ffi.Pointer<_ObjCBlock> block, ffi.Pointer<_ObjCBlock> arg0) => - block.ref.target - .cast< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer<_ObjCBlock> arg0)>>() - .asFunction< - ffi.Pointer Function( - ffi.Pointer<_ObjCBlock>)>()(arg0); +ffi.Pointer +_ObjCBlock_NSProgress_ffiVoidNSURLboolNSError_fnPtrTrampoline( + ffi.Pointer block, + ffi.Pointer arg0, +) => block.ref.target + .cast< + ffi.NativeFunction< + ffi.Pointer Function(ffi.Pointer arg0) + > + >() + .asFunction< + ffi.Pointer Function(ffi.Pointer) + >()(arg0); final _ObjCBlock_NSProgress_ffiVoidNSURLboolNSError_closureRegistry = - Function(ffi.Pointer<_ObjCBlock>)>{}; + Function(ffi.Pointer)>{}; int _ObjCBlock_NSProgress_ffiVoidNSURLboolNSError_closureRegistryIndex = 0; ffi.Pointer - _ObjCBlock_NSProgress_ffiVoidNSURLboolNSError_registerClosure( - ffi.Pointer Function(ffi.Pointer<_ObjCBlock>) fn) { +_ObjCBlock_NSProgress_ffiVoidNSURLboolNSError_registerClosure( + ffi.Pointer Function(ffi.Pointer) fn, +) { final id = ++_ObjCBlock_NSProgress_ffiVoidNSURLboolNSError_closureRegistryIndex; _ObjCBlock_NSProgress_ffiVoidNSURLboolNSError_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } -ffi.Pointer - _ObjCBlock_NSProgress_ffiVoidNSURLboolNSError_closureTrampoline( - ffi.Pointer<_ObjCBlock> block, ffi.Pointer<_ObjCBlock> arg0) => - _ObjCBlock_NSProgress_ffiVoidNSURLboolNSError_closureRegistry[ - block.ref.target.address]!(arg0); +ffi.Pointer +_ObjCBlock_NSProgress_ffiVoidNSURLboolNSError_closureTrampoline( + ffi.Pointer block, + ffi.Pointer arg0, +) => _ObjCBlock_NSProgress_ffiVoidNSURLboolNSError_closureRegistry[block + .ref + .target + .address]!(arg0); -class ObjCBlock_NSProgress_ffiVoidNSURLboolNSError extends _ObjCBlockBase { +class ObjCBlock_NSProgress_ffiVoidNSURLboolNSError extends objc.ObjCBlockBase { ObjCBlock_NSProgress_ffiVoidNSURLboolNSError._( - ffi.Pointer<_ObjCBlock> id, SwiftLibrary lib, - {bool retain = false, bool release = true}) - : super._(id, lib, retain: retain, release: release); + ffi.Pointer pointer, + this._lib, { + bool retain = false, + bool release = true, + }) : super(pointer, retain: retain, release: release); + + SwiftLibrary _lib; /// Returns a block that wraps the given raw block pointer. static ObjCBlock_NSProgress_ffiVoidNSURLboolNSError castFromPointer( - SwiftLibrary lib, ffi.Pointer<_ObjCBlock> pointer, - {bool retain = false, bool release = false}) { - return ObjCBlock_NSProgress_ffiVoidNSURLboolNSError._(pointer, lib, - retain: retain, release: release); + SwiftLibrary lib, + ffi.Pointer pointer, { + bool retain = false, + bool release = false, + }) { + return ObjCBlock_NSProgress_ffiVoidNSURLboolNSError._( + pointer, + lib, + retain: retain, + release: release, + ); } /// Creates a block from a C function pointer. @@ -53641,22 +70864,24 @@ class ObjCBlock_NSProgress_ffiVoidNSURLboolNSError extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_NSProgress_ffiVoidNSURLboolNSError.fromFunctionPointer( - SwiftLibrary lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer<_ObjCBlock> arg0)>> - ptr) - : this._( - lib._newBlock1( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Pointer Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer<_ObjCBlock>)>( - _ObjCBlock_NSProgress_ffiVoidNSURLboolNSError_fnPtrTrampoline) - .cast(), - ptr.cast()), - lib); + SwiftLibrary lib, + ffi.Pointer< + ffi.NativeFunction< + ffi.Pointer Function(ffi.Pointer arg0) + > + > ptr, + ) : this._(objc.newBlock( + _cFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >( + _ObjCBlock_NSProgress_ffiVoidNSURLboolNSError_fnPtrTrampoline, + ).cast(), + ptr.cast(), + ), lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -53664,87 +70889,145 @@ class ObjCBlock_NSProgress_ffiVoidNSURLboolNSError extends _ObjCBlockBase { /// This block must be invoked by native code running on the same thread as /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. - ObjCBlock_NSProgress_ffiVoidNSURLboolNSError.fromFunction(SwiftLibrary lib, - NSProgress? Function(ObjCBlock_ffiVoid_NSURL_bool_NSError) fn) - : this._( - lib._newBlock1( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Pointer Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer<_ObjCBlock>)>( - _ObjCBlock_NSProgress_ffiVoidNSURLboolNSError_closureTrampoline) - .cast(), - _ObjCBlock_NSProgress_ffiVoidNSURLboolNSError_registerClosure( - (ffi.Pointer<_ObjCBlock> arg0) => - fn(ObjCBlock_ffiVoid_NSURL_bool_NSError._(arg0, lib, retain: true, release: true)) - ?.retainAndReturnPointer() ?? - ffi.nullptr)), - lib); + ObjCBlock_NSProgress_ffiVoidNSURLboolNSError.fromFunction( + SwiftLibrary lib, + NSProgress? Function(ObjCBlock_ffiVoid_NSURL_bool_NSError) fn, + ) : this._(objc.newBlock( + _dartFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >( + _ObjCBlock_NSProgress_ffiVoidNSURLboolNSError_closureTrampoline, + ).cast(), + _ObjCBlock_NSProgress_ffiVoidNSURLboolNSError_registerClosure(( + ffi.Pointer arg0, + ) => + fn(ObjCBlock_ffiVoid_NSURL_bool_NSError._( + arg0, + lib, + retain: true, + release: true, + ))?.retainAndReturnPointer() ?? + ffi.nullptr), + ), lib); static ffi.Pointer? _dartFuncTrampoline; - NSProgress? call(ObjCBlock_ffiVoid_NSURL_bool_NSError arg0) => _id.ref.invoke + NSProgress? call(ObjCBlock_ffiVoid_NSURL_bool_NSError arg0) => + pointer.ref.invoke + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer block, + ffi.Pointer arg0, + ) + > + >() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >()(pointer, arg0.pointer) + .address == + 0 + ? null + : NSProgress._(pointer.ref.invoke .cast< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer<_ObjCBlock> arg0)>>() - .asFunction Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer<_ObjCBlock>)>() - (_id, arg0._id) - .address == - 0 - ? null - : NSProgress._( - _id.ref.invoke - .cast Function(ffi.Pointer<_ObjCBlock> block, ffi.Pointer<_ObjCBlock> arg0)>>() - .asFunction Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer<_ObjCBlock>)>()(_id, arg0._id), - _lib, - retain: false, - release: true); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer block, + ffi.Pointer arg0, + ) + > + >() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >()(pointer, arg0.pointer), _lib, retain: false, release: true); } void _ObjCBlock_ffiVoid_NSURL_bool_NSError_fnPtrTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - bool arg1, - ffi.Pointer arg2) => - block.ref.target - .cast< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer arg0, ffi.Bool arg1, - ffi.Pointer arg2)>>() - .asFunction< - void Function(ffi.Pointer, bool, - ffi.Pointer)>()(arg0, arg1, arg2); -final _ObjCBlock_ffiVoid_NSURL_bool_NSError_closureRegistry = , bool, ffi.Pointer)>{}; + ffi.Pointer block, + ffi.Pointer arg0, + bool arg1, + ffi.Pointer arg2, +) => block.ref.target + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Bool arg1, + ffi.Pointer arg2, + ) + > + >() + .asFunction< + void Function( + ffi.Pointer, + bool, + ffi.Pointer, + ) + >()(arg0, arg1, arg2); +final _ObjCBlock_ffiVoid_NSURL_bool_NSError_closureRegistry = + < + int, + void Function( + ffi.Pointer, + bool, + ffi.Pointer, + ) + >{}; int _ObjCBlock_ffiVoid_NSURL_bool_NSError_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_ffiVoid_NSURL_bool_NSError_registerClosure( - void Function(ffi.Pointer, bool, ffi.Pointer) fn) { + void Function( + ffi.Pointer, + bool, + ffi.Pointer, + ) fn, +) { final id = ++_ObjCBlock_ffiVoid_NSURL_bool_NSError_closureRegistryIndex; _ObjCBlock_ffiVoid_NSURL_bool_NSError_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } void _ObjCBlock_ffiVoid_NSURL_bool_NSError_closureTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - bool arg1, - ffi.Pointer arg2) => - _ObjCBlock_ffiVoid_NSURL_bool_NSError_closureRegistry[ - block.ref.target.address]!(arg0, arg1, arg2); - -class ObjCBlock_ffiVoid_NSURL_bool_NSError extends _ObjCBlockBase { + ffi.Pointer block, + ffi.Pointer arg0, + bool arg1, + ffi.Pointer arg2, +) => _ObjCBlock_ffiVoid_NSURL_bool_NSError_closureRegistry[block + .ref + .target + .address]!(arg0, arg1, arg2); + +class ObjCBlock_ffiVoid_NSURL_bool_NSError extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSURL_bool_NSError._( - ffi.Pointer<_ObjCBlock> id, SwiftLibrary lib, - {bool retain = false, bool release = true}) - : super._(id, lib, retain: retain, release: release); + ffi.Pointer pointer, + this._lib, { + bool retain = false, + bool release = true, + }) : super(pointer, retain: retain, release: release); + + SwiftLibrary _lib; /// Returns a block that wraps the given raw block pointer. static ObjCBlock_ffiVoid_NSURL_bool_NSError castFromPointer( - SwiftLibrary lib, ffi.Pointer<_ObjCBlock> pointer, - {bool retain = false, bool release = false}) { - return ObjCBlock_ffiVoid_NSURL_bool_NSError._(pointer, lib, - retain: retain, release: release); + SwiftLibrary lib, + ffi.Pointer pointer, { + bool retain = false, + bool release = false, + }) { + return ObjCBlock_ffiVoid_NSURL_bool_NSError._( + pointer, + lib, + retain: retain, + release: release, + ); } /// Creates a block from a C function pointer. @@ -53753,24 +71036,28 @@ class ObjCBlock_ffiVoid_NSURL_bool_NSError extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSURL_bool_NSError.fromFunctionPointer( - SwiftLibrary lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer arg0, ffi.Bool arg1, - ffi.Pointer arg2)>> - ptr) - : this._( - lib._newBlock1( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Bool, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_NSURL_bool_NSError_fnPtrTrampoline) - .cast(), - ptr.cast()), - lib); + SwiftLibrary lib, + ffi.Pointer< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Bool arg1, + ffi.Pointer arg2, + ) + > + > ptr, + ) : this._(objc.newBlock( + _cFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_NSURL_bool_NSError_fnPtrTrampoline).cast(), + ptr.cast(), + ), lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -53779,23 +71066,32 @@ class ObjCBlock_ffiVoid_NSURL_bool_NSError extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSURL_bool_NSError.fromFunction( - SwiftLibrary lib, void Function(NSURL?, bool, NSError?) fn) - : this._( - lib._newBlock1( - _dartFuncTrampoline ??= - ffi.Pointer.fromFunction, ffi.Pointer, ffi.Bool, ffi.Pointer)>( - _ObjCBlock_ffiVoid_NSURL_bool_NSError_closureTrampoline) - .cast(), - _ObjCBlock_ffiVoid_NSURL_bool_NSError_registerClosure( - (ffi.Pointer arg0, bool arg1, ffi.Pointer arg2) => fn( - arg0.address == 0 - ? null - : NSURL._(arg0, lib, retain: true, release: true), - arg1, - arg2.address == 0 - ? null - : NSError._(arg2, lib, retain: true, release: true)))), - lib); + SwiftLibrary lib, + void Function(NSURL?, bool, NSError?) fn, + ) : this._(objc.newBlock( + _dartFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_NSURL_bool_NSError_closureTrampoline).cast(), + _ObjCBlock_ffiVoid_NSURL_bool_NSError_registerClosure(( + ffi.Pointer arg0, + bool arg1, + ffi.Pointer arg2, + ) => fn( + arg0.address == 0 + ? null + : NSURL._(arg0, lib, retain: true, release: true), + arg1, + arg2.address == 0 + ? null + : NSError._(arg2, lib, retain: true, release: true), + )), + ), lib); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -53808,84 +71104,132 @@ class ObjCBlock_ffiVoid_NSURL_bool_NSError extends _ObjCBlockBase { /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. ObjCBlock_ffiVoid_NSURL_bool_NSError.listener( - SwiftLibrary lib, void Function(NSURL?, bool, NSError?) fn) - : this._( - lib._newBlock1( - (_dartFuncListenerTrampoline ??= - ffi.NativeCallable, ffi.Pointer, ffi.Bool, ffi.Pointer)>.listener( - _ObjCBlock_ffiVoid_NSURL_bool_NSError_closureTrampoline) - ..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSURL_bool_NSError_registerClosure( - (ffi.Pointer arg0, bool arg1, ffi.Pointer arg2) => fn( - arg0.address == 0 - ? null - : NSURL._(arg0, lib, retain: true, release: true), - arg1, - arg2.address == 0 - ? null - : NSError._(arg2, lib, retain: true, release: true)))), - lib); + SwiftLibrary lib, + void Function(NSURL?, bool, NSError?) fn, + ) : this._(objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.Pointer, + ) + >.listener( + _ObjCBlock_ffiVoid_NSURL_bool_NSError_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSURL_bool_NSError_registerClosure(( + ffi.Pointer arg0, + bool arg1, + ffi.Pointer arg2, + ) => fn( + arg0.address == 0 + ? null + : NSURL._(arg0, lib, retain: true, release: true), + arg1, + arg2.address == 0 + ? null + : NSError._(arg2, lib, retain: true, release: true), + )), + ), lib); static ffi.NativeCallable< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer, - ffi.Bool, ffi.Pointer)>? _dartFuncListenerTrampoline; - - void call(NSURL? arg0, bool arg1, NSError? arg2) => _id.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Bool arg1, - ffi.Pointer arg2)>>() - .asFunction< - void Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer, - bool, ffi.Pointer)>()( - _id, arg0?._id ?? ffi.nullptr, arg1, arg2?._id ?? ffi.nullptr); + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.Pointer, + ) + >? _dartFuncListenerTrampoline; + + void call(NSURL? arg0, bool arg1, NSError? arg2) => pointer.ref.invoke + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Bool arg1, + ffi.Pointer arg2, + ) + > + >() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + bool, + ffi.Pointer, + ) + >()( + pointer, + arg0?.pointer ?? ffi.nullptr, + arg1, + arg2?.pointer ?? ffi.nullptr, + ); } void _ObjCBlock_ffiVoid_NSURL_NSError_fnPtrTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1) => - block.ref.target - .cast< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer arg0, - ffi.Pointer arg1)>>() - .asFunction< - void Function(ffi.Pointer, - ffi.Pointer)>()(arg0, arg1); + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, +) => block.ref.target + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) + > + >() + .asFunction< + void Function(ffi.Pointer, ffi.Pointer) + >()(arg0, arg1); final _ObjCBlock_ffiVoid_NSURL_NSError_closureRegistry = - , ffi.Pointer)>{}; + < + int, + void Function(ffi.Pointer, ffi.Pointer) + >{}; int _ObjCBlock_ffiVoid_NSURL_NSError_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_ffiVoid_NSURL_NSError_registerClosure( - void Function(ffi.Pointer, ffi.Pointer) fn) { + void Function(ffi.Pointer, ffi.Pointer) fn, +) { final id = ++_ObjCBlock_ffiVoid_NSURL_NSError_closureRegistryIndex; _ObjCBlock_ffiVoid_NSURL_NSError_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } void _ObjCBlock_ffiVoid_NSURL_NSError_closureTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1) => - _ObjCBlock_ffiVoid_NSURL_NSError_closureRegistry[block.ref.target.address]!( - arg0, arg1); - -class ObjCBlock_ffiVoid_NSURL_NSError extends _ObjCBlockBase { + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, +) => _ObjCBlock_ffiVoid_NSURL_NSError_closureRegistry[block + .ref + .target + .address]!(arg0, arg1); + +class ObjCBlock_ffiVoid_NSURL_NSError extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSURL_NSError._( - ffi.Pointer<_ObjCBlock> id, SwiftLibrary lib, - {bool retain = false, bool release = true}) - : super._(id, lib, retain: retain, release: release); + ffi.Pointer pointer, + this._lib, { + bool retain = false, + bool release = true, + }) : super(pointer, retain: retain, release: release); + + SwiftLibrary _lib; /// Returns a block that wraps the given raw block pointer. static ObjCBlock_ffiVoid_NSURL_NSError castFromPointer( - SwiftLibrary lib, ffi.Pointer<_ObjCBlock> pointer, - {bool retain = false, bool release = false}) { - return ObjCBlock_ffiVoid_NSURL_NSError._(pointer, lib, - retain: retain, release: release); + SwiftLibrary lib, + ffi.Pointer pointer, { + bool retain = false, + bool release = false, + }) { + return ObjCBlock_ffiVoid_NSURL_NSError._( + pointer, + lib, + retain: retain, + release: release, + ); } /// Creates a block from a C function pointer. @@ -53894,23 +71238,26 @@ class ObjCBlock_ffiVoid_NSURL_NSError extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSURL_NSError.fromFunctionPointer( - SwiftLibrary lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer arg0, - ffi.Pointer arg1)>> - ptr) - : this._( - lib._newBlock1( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_NSURL_NSError_fnPtrTrampoline) - .cast(), - ptr.cast()), - lib); + SwiftLibrary lib, + ffi.Pointer< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) + > + > ptr, + ) : this._(objc.newBlock( + _cFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_NSURL_NSError_fnPtrTrampoline).cast(), + ptr.cast(), + ), lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -53919,21 +71266,29 @@ class ObjCBlock_ffiVoid_NSURL_NSError extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSURL_NSError.fromFunction( - SwiftLibrary lib, void Function(NSURL?, NSError?) fn) - : this._( - lib._newBlock1( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_NSURL_NSError_closureTrampoline) - .cast(), - _ObjCBlock_ffiVoid_NSURL_NSError_registerClosure( - (ffi.Pointer arg0, ffi.Pointer arg1) => fn( - arg0.address == 0 ? null : NSURL._(arg0, lib, retain: true, release: true), - arg1.address == 0 ? null : NSError._(arg1, lib, retain: true, release: true)))), - lib); + SwiftLibrary lib, + void Function(NSURL?, NSError?) fn, + ) : this._(objc.newBlock( + _dartFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_NSURL_NSError_closureTrampoline).cast(), + _ObjCBlock_ffiVoid_NSURL_NSError_registerClosure(( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) => fn( + arg0.address == 0 + ? null + : NSURL._(arg0, lib, retain: true, release: true), + arg1.address == 0 + ? null + : NSError._(arg1, lib, retain: true, release: true), + )), + ), lib); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -53946,82 +71301,118 @@ class ObjCBlock_ffiVoid_NSURL_NSError extends _ObjCBlockBase { /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. ObjCBlock_ffiVoid_NSURL_NSError.listener( - SwiftLibrary lib, void Function(NSURL?, NSError?) fn) - : this._( - lib._newBlock1( - (_dartFuncListenerTrampoline ??= - ffi.NativeCallable, ffi.Pointer, ffi.Pointer)>.listener( - _ObjCBlock_ffiVoid_NSURL_NSError_closureTrampoline) - ..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSURL_NSError_registerClosure( - (ffi.Pointer arg0, ffi.Pointer arg1) => fn( - arg0.address == 0 - ? null - : NSURL._(arg0, lib, retain: true, release: true), - arg1.address == 0 - ? null - : NSError._(arg1, lib, retain: true, release: true)))), - lib); + SwiftLibrary lib, + void Function(NSURL?, NSError?) fn, + ) : this._(objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >.listener( + _ObjCBlock_ffiVoid_NSURL_NSError_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSURL_NSError_registerClosure(( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) => fn( + arg0.address == 0 + ? null + : NSURL._(arg0, lib, retain: true, release: true), + arg1.address == 0 + ? null + : NSError._(arg1, lib, retain: true, release: true), + )), + ), lib); static ffi.NativeCallable< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer, - ffi.Pointer)>? _dartFuncListenerTrampoline; - - void call(NSURL? arg0, NSError? arg1) => _id.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1)>>() - .asFunction< - void Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer, - ffi.Pointer)>()( - _id, arg0?._id ?? ffi.nullptr, arg1?._id ?? ffi.nullptr); + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >? _dartFuncListenerTrampoline; + + void call(NSURL? arg0, NSError? arg1) => pointer.ref.invoke + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, + ) + > + >() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >()(pointer, arg0?.pointer ?? ffi.nullptr, arg1?.pointer ?? ffi.nullptr); } -ffi.Pointer - _ObjCBlock_NSProgress_ffiVoidObjCObjectNSError_fnPtrTrampoline( - ffi.Pointer<_ObjCBlock> block, ffi.Pointer<_ObjCBlock> arg0) => - block.ref.target - .cast< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer<_ObjCBlock> arg0)>>() - .asFunction< - ffi.Pointer Function( - ffi.Pointer<_ObjCBlock>)>()(arg0); -final _ObjCBlock_NSProgress_ffiVoidObjCObjectNSError_closureRegistry = - Function(ffi.Pointer<_ObjCBlock>)>{}; -int _ObjCBlock_NSProgress_ffiVoidObjCObjectNSError_closureRegistryIndex = 0; +ffi.Pointer +_ObjCBlock_NSProgress_ffiVoidobjcObjCObjectNSError_fnPtrTrampoline( + ffi.Pointer block, + ffi.Pointer arg0, +) => block.ref.target + .cast< + ffi.NativeFunction< + ffi.Pointer Function(ffi.Pointer arg0) + > + >() + .asFunction< + ffi.Pointer Function(ffi.Pointer) + >()(arg0); +final _ObjCBlock_NSProgress_ffiVoidobjcObjCObjectNSError_closureRegistry = + Function(ffi.Pointer)>{}; +int _ObjCBlock_NSProgress_ffiVoidobjcObjCObjectNSError_closureRegistryIndex = 0; ffi.Pointer - _ObjCBlock_NSProgress_ffiVoidObjCObjectNSError_registerClosure( - ffi.Pointer Function(ffi.Pointer<_ObjCBlock>) fn) { +_ObjCBlock_NSProgress_ffiVoidobjcObjCObjectNSError_registerClosure( + ffi.Pointer Function(ffi.Pointer) fn, +) { final id = - ++_ObjCBlock_NSProgress_ffiVoidObjCObjectNSError_closureRegistryIndex; - _ObjCBlock_NSProgress_ffiVoidObjCObjectNSError_closureRegistry[id] = fn; + ++_ObjCBlock_NSProgress_ffiVoidobjcObjCObjectNSError_closureRegistryIndex; + _ObjCBlock_NSProgress_ffiVoidobjcObjCObjectNSError_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } -ffi.Pointer - _ObjCBlock_NSProgress_ffiVoidObjCObjectNSError_closureTrampoline( - ffi.Pointer<_ObjCBlock> block, ffi.Pointer<_ObjCBlock> arg0) => - _ObjCBlock_NSProgress_ffiVoidObjCObjectNSError_closureRegistry[ - block.ref.target.address]!(arg0); - -class ObjCBlock_NSProgress_ffiVoidObjCObjectNSError extends _ObjCBlockBase { - ObjCBlock_NSProgress_ffiVoidObjCObjectNSError._( - ffi.Pointer<_ObjCBlock> id, SwiftLibrary lib, - {bool retain = false, bool release = true}) - : super._(id, lib, retain: retain, release: release); +ffi.Pointer +_ObjCBlock_NSProgress_ffiVoidobjcObjCObjectNSError_closureTrampoline( + ffi.Pointer block, + ffi.Pointer arg0, +) => _ObjCBlock_NSProgress_ffiVoidobjcObjCObjectNSError_closureRegistry[block + .ref + .target + .address]!(arg0); + +class ObjCBlock_NSProgress_ffiVoidobjcObjCObjectNSError + extends objc.ObjCBlockBase { + ObjCBlock_NSProgress_ffiVoidobjcObjCObjectNSError._( + ffi.Pointer pointer, + this._lib, { + bool retain = false, + bool release = true, + }) : super(pointer, retain: retain, release: release); + + SwiftLibrary _lib; /// Returns a block that wraps the given raw block pointer. - static ObjCBlock_NSProgress_ffiVoidObjCObjectNSError castFromPointer( - SwiftLibrary lib, ffi.Pointer<_ObjCBlock> pointer, - {bool retain = false, bool release = false}) { - return ObjCBlock_NSProgress_ffiVoidObjCObjectNSError._(pointer, lib, - retain: retain, release: release); + static ObjCBlock_NSProgress_ffiVoidobjcObjCObjectNSError castFromPointer( + SwiftLibrary lib, + ffi.Pointer pointer, { + bool retain = false, + bool release = false, + }) { + return ObjCBlock_NSProgress_ffiVoidobjcObjCObjectNSError._( + pointer, + lib, + retain: retain, + release: release, + ); } /// Creates a block from a C function pointer. @@ -54029,23 +71420,25 @@ class ObjCBlock_NSProgress_ffiVoidObjCObjectNSError extends _ObjCBlockBase { /// This block must be invoked by native code running on the same thread as /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. - ObjCBlock_NSProgress_ffiVoidObjCObjectNSError.fromFunctionPointer( - SwiftLibrary lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer<_ObjCBlock> arg0)>> - ptr) - : this._( - lib._newBlock1( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Pointer Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer<_ObjCBlock>)>( - _ObjCBlock_NSProgress_ffiVoidObjCObjectNSError_fnPtrTrampoline) - .cast(), - ptr.cast()), - lib); + ObjCBlock_NSProgress_ffiVoidobjcObjCObjectNSError.fromFunctionPointer( + SwiftLibrary lib, + ffi.Pointer< + ffi.NativeFunction< + ffi.Pointer Function(ffi.Pointer arg0) + > + > ptr, + ) : this._(objc.newBlock( + _cFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >( + _ObjCBlock_NSProgress_ffiVoidobjcObjCObjectNSError_fnPtrTrampoline, + ).cast(), + ptr.cast(), + ), lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -54053,85 +71446,130 @@ class ObjCBlock_NSProgress_ffiVoidObjCObjectNSError extends _ObjCBlockBase { /// This block must be invoked by native code running on the same thread as /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. - ObjCBlock_NSProgress_ffiVoidObjCObjectNSError.fromFunction(SwiftLibrary lib, - NSProgress? Function(ObjCBlock_ffiVoid_ObjCObject_NSError) fn) - : this._( - lib._newBlock1( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Pointer Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer<_ObjCBlock>)>( - _ObjCBlock_NSProgress_ffiVoidObjCObjectNSError_closureTrampoline) - .cast(), - _ObjCBlock_NSProgress_ffiVoidObjCObjectNSError_registerClosure( - (ffi.Pointer<_ObjCBlock> arg0) => - fn(ObjCBlock_ffiVoid_ObjCObject_NSError._(arg0, lib, retain: true, release: true)) - ?.retainAndReturnPointer() ?? - ffi.nullptr)), - lib); + ObjCBlock_NSProgress_ffiVoidobjcObjCObjectNSError.fromFunction( + SwiftLibrary lib, + NSProgress? Function(ObjCBlock_ffiVoid_objcObjCObject_NSError) fn, + ) : this._(objc.newBlock( + _dartFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >( + _ObjCBlock_NSProgress_ffiVoidobjcObjCObjectNSError_closureTrampoline, + ).cast(), + _ObjCBlock_NSProgress_ffiVoidobjcObjCObjectNSError_registerClosure(( + ffi.Pointer arg0, + ) => + fn(ObjCBlock_ffiVoid_objcObjCObject_NSError._( + arg0, + lib, + retain: true, + release: true, + ))?.retainAndReturnPointer() ?? + ffi.nullptr), + ), lib); static ffi.Pointer? _dartFuncTrampoline; - NSProgress? call(ObjCBlock_ffiVoid_ObjCObject_NSError arg0) => _id.ref.invoke + NSProgress? call(ObjCBlock_ffiVoid_objcObjCObject_NSError arg0) => + pointer.ref.invoke + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer block, + ffi.Pointer arg0, + ) + > + >() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >()(pointer, arg0.pointer) + .address == + 0 + ? null + : NSProgress._(pointer.ref.invoke .cast< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer<_ObjCBlock> arg0)>>() - .asFunction Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer<_ObjCBlock>)>() - (_id, arg0._id) - .address == - 0 - ? null - : NSProgress._( - _id.ref.invoke - .cast Function(ffi.Pointer<_ObjCBlock> block, ffi.Pointer<_ObjCBlock> arg0)>>() - .asFunction Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer<_ObjCBlock>)>()(_id, arg0._id), - _lib, - retain: false, - release: true); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer block, + ffi.Pointer arg0, + ) + > + >() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >()(pointer, arg0.pointer), _lib, retain: false, release: true); } -void _ObjCBlock_ffiVoid_ObjCObject_NSError_fnPtrTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1) => - block.ref.target - .cast< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer arg0, - ffi.Pointer arg1)>>() - .asFunction< - void Function(ffi.Pointer, - ffi.Pointer)>()(arg0, arg1); -final _ObjCBlock_ffiVoid_ObjCObject_NSError_closureRegistry = - , ffi.Pointer)>{}; -int _ObjCBlock_ffiVoid_ObjCObject_NSError_closureRegistryIndex = 0; -ffi.Pointer _ObjCBlock_ffiVoid_ObjCObject_NSError_registerClosure( - void Function(ffi.Pointer, ffi.Pointer) fn) { - final id = ++_ObjCBlock_ffiVoid_ObjCObject_NSError_closureRegistryIndex; - _ObjCBlock_ffiVoid_ObjCObject_NSError_closureRegistry[id] = fn; +void _ObjCBlock_ffiVoid_objcObjCObject_NSError_fnPtrTrampoline( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, +) => block.ref.target + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) + > + >() + .asFunction< + void Function(ffi.Pointer, ffi.Pointer) + >()(arg0, arg1); +final _ObjCBlock_ffiVoid_objcObjCObject_NSError_closureRegistry = + < + int, + void Function(ffi.Pointer, ffi.Pointer) + >{}; +int _ObjCBlock_ffiVoid_objcObjCObject_NSError_closureRegistryIndex = 0; +ffi.Pointer _ObjCBlock_ffiVoid_objcObjCObject_NSError_registerClosure( + void Function(ffi.Pointer, ffi.Pointer) fn, +) { + final id = ++_ObjCBlock_ffiVoid_objcObjCObject_NSError_closureRegistryIndex; + _ObjCBlock_ffiVoid_objcObjCObject_NSError_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } -void _ObjCBlock_ffiVoid_ObjCObject_NSError_closureTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1) => - _ObjCBlock_ffiVoid_ObjCObject_NSError_closureRegistry[ - block.ref.target.address]!(arg0, arg1); - -class ObjCBlock_ffiVoid_ObjCObject_NSError extends _ObjCBlockBase { - ObjCBlock_ffiVoid_ObjCObject_NSError._( - ffi.Pointer<_ObjCBlock> id, SwiftLibrary lib, - {bool retain = false, bool release = true}) - : super._(id, lib, retain: retain, release: release); +void _ObjCBlock_ffiVoid_objcObjCObject_NSError_closureTrampoline( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, +) => _ObjCBlock_ffiVoid_objcObjCObject_NSError_closureRegistry[block + .ref + .target + .address]!(arg0, arg1); + +class ObjCBlock_ffiVoid_objcObjCObject_NSError extends objc.ObjCBlockBase { + ObjCBlock_ffiVoid_objcObjCObject_NSError._( + ffi.Pointer pointer, + this._lib, { + bool retain = false, + bool release = true, + }) : super(pointer, retain: retain, release: release); + + SwiftLibrary _lib; /// Returns a block that wraps the given raw block pointer. - static ObjCBlock_ffiVoid_ObjCObject_NSError castFromPointer( - SwiftLibrary lib, ffi.Pointer<_ObjCBlock> pointer, - {bool retain = false, bool release = false}) { - return ObjCBlock_ffiVoid_ObjCObject_NSError._(pointer, lib, - retain: retain, release: release); + static ObjCBlock_ffiVoid_objcObjCObject_NSError castFromPointer( + SwiftLibrary lib, + ffi.Pointer pointer, { + bool retain = false, + bool release = false, + }) { + return ObjCBlock_ffiVoid_objcObjCObject_NSError._( + pointer, + lib, + retain: retain, + release: release, + ); } /// Creates a block from a C function pointer. @@ -54139,24 +71577,27 @@ class ObjCBlock_ffiVoid_ObjCObject_NSError extends _ObjCBlockBase { /// This block must be invoked by native code running on the same thread as /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. - ObjCBlock_ffiVoid_ObjCObject_NSError.fromFunctionPointer( - SwiftLibrary lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer arg0, - ffi.Pointer arg1)>> - ptr) - : this._( - lib._newBlock1( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_ObjCObject_NSError_fnPtrTrampoline) - .cast(), - ptr.cast()), - lib); + ObjCBlock_ffiVoid_objcObjCObject_NSError.fromFunctionPointer( + SwiftLibrary lib, + ffi.Pointer< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) + > + > ptr, + ) : this._(objc.newBlock( + _cFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_objcObjCObject_NSError_fnPtrTrampoline).cast(), + ptr.cast(), + ), lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -54164,21 +71605,32 @@ class ObjCBlock_ffiVoid_ObjCObject_NSError extends _ObjCBlockBase { /// This block must be invoked by native code running on the same thread as /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. - ObjCBlock_ffiVoid_ObjCObject_NSError.fromFunction(SwiftLibrary lib, void Function(NSObject?, NSError?) fn) - : this._( - lib._newBlock1( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_ObjCObject_NSError_closureTrampoline) - .cast(), - _ObjCBlock_ffiVoid_ObjCObject_NSError_registerClosure( - (ffi.Pointer arg0, ffi.Pointer arg1) => fn( - arg0.address == 0 ? null : NSObject._(arg0, lib, retain: true, release: true), - arg1.address == 0 ? null : NSError._(arg1, lib, retain: true, release: true)))), - lib); + ObjCBlock_ffiVoid_objcObjCObject_NSError.fromFunction( + SwiftLibrary lib, + void Function(NSObject?, NSError?) fn, + ) : this._(objc.newBlock( + _dartFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >( + _ObjCBlock_ffiVoid_objcObjCObject_NSError_closureTrampoline, + ).cast(), + _ObjCBlock_ffiVoid_objcObjCObject_NSError_registerClosure(( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) => fn( + arg0.address == 0 + ? null + : NSObject._(arg0, lib, retain: true, release: true), + arg1.address == 0 + ? null + : NSError._(arg1, lib, retain: true, release: true), + )), + ), lib); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -54190,99 +71642,147 @@ class ObjCBlock_ffiVoid_ObjCObject_NSError extends _ObjCBlockBase { /// /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. - ObjCBlock_ffiVoid_ObjCObject_NSError.listener( - SwiftLibrary lib, void Function(NSObject?, NSError?) fn) - : this._( - lib._newBlock1( - (_dartFuncListenerTrampoline ??= - ffi.NativeCallable, ffi.Pointer, ffi.Pointer)>.listener( - _ObjCBlock_ffiVoid_ObjCObject_NSError_closureTrampoline) - ..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_ObjCObject_NSError_registerClosure( - (ffi.Pointer arg0, ffi.Pointer arg1) => fn( - arg0.address == 0 - ? null - : NSObject._(arg0, lib, - retain: true, release: true), - arg1.address == 0 - ? null - : NSError._(arg1, lib, retain: true, release: true)))), - lib); + ObjCBlock_ffiVoid_objcObjCObject_NSError.listener( + SwiftLibrary lib, + void Function(NSObject?, NSError?) fn, + ) : this._(objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >.listener( + _ObjCBlock_ffiVoid_objcObjCObject_NSError_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_objcObjCObject_NSError_registerClosure(( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) => fn( + arg0.address == 0 + ? null + : NSObject._(arg0, lib, retain: true, release: true), + arg1.address == 0 + ? null + : NSError._(arg1, lib, retain: true, release: true), + )), + ), lib); static ffi.NativeCallable< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer, - ffi.Pointer)>? _dartFuncListenerTrampoline; - - void call(NSObject? arg0, NSError? arg1) => _id.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1)>>() - .asFunction< - void Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer, - ffi.Pointer)>()( - _id, arg0?._id ?? ffi.nullptr, arg1?._id ?? ffi.nullptr); + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >? _dartFuncListenerTrampoline; + + void call(NSObject? arg0, NSError? arg1) => pointer.ref.invoke + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, + ) + > + >() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >()(pointer, arg0?.pointer ?? ffi.nullptr, arg1?.pointer ?? ffi.nullptr); } void - _ObjCBlock_ffiVoid_ffiVoidObjCObjectNSError_ObjCObject_NSDictionary_fnPtrTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer<_ObjCBlock> arg0, - ffi.Pointer arg1, - ffi.Pointer arg2) => - block.ref.target - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock> arg0, - ffi.Pointer arg1, - ffi.Pointer arg2)>>() - .asFunction< - void Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer, - ffi.Pointer)>()(arg0, arg1, arg2); -final _ObjCBlock_ffiVoid_ffiVoidObjCObjectNSError_ObjCObject_NSDictionary_closureRegistry = - , ffi.Pointer, - ffi.Pointer)>{}; -int _ObjCBlock_ffiVoid_ffiVoidObjCObjectNSError_ObjCObject_NSDictionary_closureRegistryIndex = +_ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary_fnPtrTrampoline( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, +) => block.ref.target + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, + ) + > + >() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >()(arg0, arg1, arg2); +final _ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary_closureRegistry = + < + int, + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >{}; +int +_ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary_closureRegistryIndex = 0; ffi.Pointer - _ObjCBlock_ffiVoid_ffiVoidObjCObjectNSError_ObjCObject_NSDictionary_registerClosure( - void Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer, - ffi.Pointer) - fn) { +_ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary_registerClosure( + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) fn, +) { final id = - ++_ObjCBlock_ffiVoid_ffiVoidObjCObjectNSError_ObjCObject_NSDictionary_closureRegistryIndex; - _ObjCBlock_ffiVoid_ffiVoidObjCObjectNSError_ObjCObject_NSDictionary_closureRegistry[ - id] = fn; + ++_ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary_closureRegistryIndex; + _ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary_closureRegistry[id] = + fn; return ffi.Pointer.fromAddress(id); } -void _ObjCBlock_ffiVoid_ffiVoidObjCObjectNSError_ObjCObject_NSDictionary_closureTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer<_ObjCBlock> arg0, - ffi.Pointer arg1, - ffi.Pointer arg2) => - _ObjCBlock_ffiVoid_ffiVoidObjCObjectNSError_ObjCObject_NSDictionary_closureRegistry[ - block.ref.target.address]!(arg0, arg1, arg2); - -class ObjCBlock_ffiVoid_ffiVoidObjCObjectNSError_ObjCObject_NSDictionary - extends _ObjCBlockBase { - ObjCBlock_ffiVoid_ffiVoidObjCObjectNSError_ObjCObject_NSDictionary._( - ffi.Pointer<_ObjCBlock> id, SwiftLibrary lib, - {bool retain = false, bool release = true}) - : super._(id, lib, retain: retain, release: release); +void +_ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary_closureTrampoline( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, +) => + _ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary_closureRegistry[block + .ref + .target + .address]!(arg0, arg1, arg2); + +class ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary + extends objc.ObjCBlockBase { + ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary._( + ffi.Pointer pointer, + this._lib, { + bool retain = false, + bool release = true, + }) : super(pointer, retain: retain, release: release); + + SwiftLibrary _lib; /// Returns a block that wraps the given raw block pointer. - static ObjCBlock_ffiVoid_ffiVoidObjCObjectNSError_ObjCObject_NSDictionary - castFromPointer(SwiftLibrary lib, ffi.Pointer<_ObjCBlock> pointer, - {bool retain = false, bool release = false}) { - return ObjCBlock_ffiVoid_ffiVoidObjCObjectNSError_ObjCObject_NSDictionary._( - pointer, lib, - retain: retain, release: release); + static ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary + castFromPointer( + SwiftLibrary lib, + ffi.Pointer pointer, { + bool retain = false, + bool release = false, + }) { + return ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary._( + pointer, + lib, + retain: retain, + release: release, + ); } /// Creates a block from a C function pointer. @@ -54290,27 +71790,31 @@ class ObjCBlock_ffiVoid_ffiVoidObjCObjectNSError_ObjCObject_NSDictionary /// This block must be invoked by native code running on the same thread as /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. - ObjCBlock_ffiVoid_ffiVoidObjCObjectNSError_ObjCObject_NSDictionary.fromFunctionPointer( - SwiftLibrary lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock> arg0, - ffi.Pointer arg1, - ffi.Pointer arg2)>> - ptr) - : this._( - lib._newBlock1( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_ffiVoidObjCObjectNSError_ObjCObject_NSDictionary_fnPtrTrampoline) - .cast(), - ptr.cast()), - lib); + ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary.fromFunctionPointer( + SwiftLibrary lib, + ffi.Pointer< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, + ) + > + > ptr, + ) : this._(objc.newBlock( + _cFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >( + _ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary_fnPtrTrampoline, + ).cast(), + ptr.cast(), + ), lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -54318,22 +71822,42 @@ class ObjCBlock_ffiVoid_ffiVoidObjCObjectNSError_ObjCObject_NSDictionary /// This block must be invoked by native code running on the same thread as /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. - ObjCBlock_ffiVoid_ffiVoidObjCObjectNSError_ObjCObject_NSDictionary.fromFunction( - SwiftLibrary lib, - void Function(ObjCBlock_ffiVoid_ObjCObject_NSError1, NSObject, NSDictionary) - fn) - : this._( - lib._newBlock1( - _dartFuncTrampoline ??= - ffi.Pointer.fromFunction, ffi.Pointer<_ObjCBlock>, ffi.Pointer, ffi.Pointer)>( - _ObjCBlock_ffiVoid_ffiVoidObjCObjectNSError_ObjCObject_NSDictionary_closureTrampoline) - .cast(), - _ObjCBlock_ffiVoid_ffiVoidObjCObjectNSError_ObjCObject_NSDictionary_registerClosure( - (ffi.Pointer<_ObjCBlock> arg0, ffi.Pointer arg1, ffi.Pointer arg2) => fn( - ObjCBlock_ffiVoid_ObjCObject_NSError1._(arg0, lib, retain: true, release: true), - NSObject._(arg1, lib, retain: true, release: true), - NSDictionary._(arg2, lib, retain: true, release: true)))), - lib); + ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary.fromFunction( + SwiftLibrary lib, + void Function( + ObjCBlock_ffiVoid_objcObjCObject_NSError1, + NSObject, + NSDictionary, + ) fn, + ) : this._(objc.newBlock( + _dartFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >( + _ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary_closureTrampoline, + ).cast(), + _ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary_registerClosure( + ( + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, + ) => fn( + ObjCBlock_ffiVoid_objcObjCObject_NSError1._( + arg0, + lib, + retain: true, + release: true, + ), + NSObject._(arg1, lib, retain: true, release: true), + NSDictionary._(arg2, lib, retain: true, release: true), + ), + ), + ), lib); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -54345,92 +71869,140 @@ class ObjCBlock_ffiVoid_ffiVoidObjCObjectNSError_ObjCObject_NSDictionary /// /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. - ObjCBlock_ffiVoid_ffiVoidObjCObjectNSError_ObjCObject_NSDictionary.listener( - SwiftLibrary lib, - void Function(ObjCBlock_ffiVoid_ObjCObject_NSError1, NSObject, NSDictionary) - fn) - : this._( - lib._newBlock1( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable, ffi.Pointer<_ObjCBlock>, ffi.Pointer, ffi.Pointer)>.listener( - _ObjCBlock_ffiVoid_ffiVoidObjCObjectNSError_ObjCObject_NSDictionary_closureTrampoline) - ..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_ffiVoidObjCObjectNSError_ObjCObject_NSDictionary_registerClosure( - (ffi.Pointer<_ObjCBlock> arg0, ffi.Pointer arg1, - ffi.Pointer arg2) => - fn( - ObjCBlock_ffiVoid_ObjCObject_NSError1._(arg0, lib, retain: true, release: true), - NSObject._(arg1, lib, retain: true, release: true), - NSDictionary._(arg2, lib, retain: true, release: true)))), - lib); + ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary.listener( + SwiftLibrary lib, + void Function( + ObjCBlock_ffiVoid_objcObjCObject_NSError1, + NSObject, + NSDictionary, + ) fn, + ) : this._(objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >.listener( + _ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary_registerClosure( + ( + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, + ) => fn( + ObjCBlock_ffiVoid_objcObjCObject_NSError1._( + arg0, + lib, + retain: true, + release: true, + ), + NSObject._(arg1, lib, retain: true, release: true), + NSDictionary._(arg2, lib, retain: true, release: true), + ), + ), + ), lib); static ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer)>? _dartFuncListenerTrampoline; - - void call(ObjCBlock_ffiVoid_ObjCObject_NSError1 arg0, NSObject arg1, - NSDictionary arg2) => - _id.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer<_ObjCBlock> arg0, - ffi.Pointer arg1, - ffi.Pointer arg2)>>() - .asFunction< - void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer)>()( - _id, arg0._id, arg1._id, arg2._id); + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >? _dartFuncListenerTrampoline; + + void call( + ObjCBlock_ffiVoid_objcObjCObject_NSError1 arg0, + NSObject arg1, + NSDictionary arg2, + ) => pointer.ref.invoke + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, + ) + > + >() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >()(pointer, arg0.pointer, arg1.pointer, arg2.pointer); } -void _ObjCBlock_ffiVoid_ObjCObject_NSError1_fnPtrTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1) => - block.ref.target - .cast< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer arg0, - ffi.Pointer arg1)>>() - .asFunction< - void Function(ffi.Pointer, - ffi.Pointer)>()(arg0, arg1); -final _ObjCBlock_ffiVoid_ObjCObject_NSError1_closureRegistry = - , ffi.Pointer)>{}; -int _ObjCBlock_ffiVoid_ObjCObject_NSError1_closureRegistryIndex = 0; -ffi.Pointer _ObjCBlock_ffiVoid_ObjCObject_NSError1_registerClosure( - void Function(ffi.Pointer, ffi.Pointer) fn) { - final id = ++_ObjCBlock_ffiVoid_ObjCObject_NSError1_closureRegistryIndex; - _ObjCBlock_ffiVoid_ObjCObject_NSError1_closureRegistry[id] = fn; +void _ObjCBlock_ffiVoid_objcObjCObject_NSError1_fnPtrTrampoline( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, +) => block.ref.target + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) + > + >() + .asFunction< + void Function(ffi.Pointer, ffi.Pointer) + >()(arg0, arg1); +final _ObjCBlock_ffiVoid_objcObjCObject_NSError1_closureRegistry = + < + int, + void Function(ffi.Pointer, ffi.Pointer) + >{}; +int _ObjCBlock_ffiVoid_objcObjCObject_NSError1_closureRegistryIndex = 0; +ffi.Pointer +_ObjCBlock_ffiVoid_objcObjCObject_NSError1_registerClosure( + void Function(ffi.Pointer, ffi.Pointer) fn, +) { + final id = ++_ObjCBlock_ffiVoid_objcObjCObject_NSError1_closureRegistryIndex; + _ObjCBlock_ffiVoid_objcObjCObject_NSError1_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } -void _ObjCBlock_ffiVoid_ObjCObject_NSError1_closureTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1) => - _ObjCBlock_ffiVoid_ObjCObject_NSError1_closureRegistry[ - block.ref.target.address]!(arg0, arg1); - -class ObjCBlock_ffiVoid_ObjCObject_NSError1 extends _ObjCBlockBase { - ObjCBlock_ffiVoid_ObjCObject_NSError1._( - ffi.Pointer<_ObjCBlock> id, SwiftLibrary lib, - {bool retain = false, bool release = true}) - : super._(id, lib, retain: retain, release: release); +void _ObjCBlock_ffiVoid_objcObjCObject_NSError1_closureTrampoline( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, +) => _ObjCBlock_ffiVoid_objcObjCObject_NSError1_closureRegistry[block + .ref + .target + .address]!(arg0, arg1); + +class ObjCBlock_ffiVoid_objcObjCObject_NSError1 extends objc.ObjCBlockBase { + ObjCBlock_ffiVoid_objcObjCObject_NSError1._( + ffi.Pointer pointer, + this._lib, { + bool retain = false, + bool release = true, + }) : super(pointer, retain: retain, release: release); + + SwiftLibrary _lib; /// Returns a block that wraps the given raw block pointer. - static ObjCBlock_ffiVoid_ObjCObject_NSError1 castFromPointer( - SwiftLibrary lib, ffi.Pointer<_ObjCBlock> pointer, - {bool retain = false, bool release = false}) { - return ObjCBlock_ffiVoid_ObjCObject_NSError1._(pointer, lib, - retain: retain, release: release); + static ObjCBlock_ffiVoid_objcObjCObject_NSError1 castFromPointer( + SwiftLibrary lib, + ffi.Pointer pointer, { + bool retain = false, + bool release = false, + }) { + return ObjCBlock_ffiVoid_objcObjCObject_NSError1._( + pointer, + lib, + retain: retain, + release: release, + ); } /// Creates a block from a C function pointer. @@ -54438,24 +72010,29 @@ class ObjCBlock_ffiVoid_ObjCObject_NSError1 extends _ObjCBlockBase { /// This block must be invoked by native code running on the same thread as /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. - ObjCBlock_ffiVoid_ObjCObject_NSError1.fromFunctionPointer( - SwiftLibrary lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer arg0, - ffi.Pointer arg1)>> - ptr) - : this._( - lib._newBlock1( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_ObjCObject_NSError1_fnPtrTrampoline) - .cast(), - ptr.cast()), - lib); + ObjCBlock_ffiVoid_objcObjCObject_NSError1.fromFunctionPointer( + SwiftLibrary lib, + ffi.Pointer< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) + > + > ptr, + ) : this._(objc.newBlock( + _cFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >( + _ObjCBlock_ffiVoid_objcObjCObject_NSError1_fnPtrTrampoline, + ).cast(), + ptr.cast(), + ), lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -54463,21 +72040,30 @@ class ObjCBlock_ffiVoid_ObjCObject_NSError1 extends _ObjCBlockBase { /// This block must be invoked by native code running on the same thread as /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. - ObjCBlock_ffiVoid_ObjCObject_NSError1.fromFunction(SwiftLibrary lib, void Function(NSObject?, NSError) fn) - : this._( - lib._newBlock1( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_ObjCObject_NSError1_closureTrampoline) - .cast(), - _ObjCBlock_ffiVoid_ObjCObject_NSError1_registerClosure( - (ffi.Pointer arg0, ffi.Pointer arg1) => fn( - arg0.address == 0 ? null : NSObject._(arg0, lib, retain: true, release: true), - NSError._(arg1, lib, retain: true, release: true)))), - lib); + ObjCBlock_ffiVoid_objcObjCObject_NSError1.fromFunction( + SwiftLibrary lib, + void Function(NSObject?, NSError) fn, + ) : this._(objc.newBlock( + _dartFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >( + _ObjCBlock_ffiVoid_objcObjCObject_NSError1_closureTrampoline, + ).cast(), + _ObjCBlock_ffiVoid_objcObjCObject_NSError1_registerClosure(( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) => fn( + arg0.address == 0 + ? null + : NSObject._(arg0, lib, retain: true, release: true), + NSError._(arg1, lib, retain: true, release: true), + )), + ), lib); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -54489,196 +72075,294 @@ class ObjCBlock_ffiVoid_ObjCObject_NSError1 extends _ObjCBlockBase { /// /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. - ObjCBlock_ffiVoid_ObjCObject_NSError1.listener( - SwiftLibrary lib, void Function(NSObject?, NSError) fn) - : this._( - lib._newBlock1( - (_dartFuncListenerTrampoline ??= ffi - .NativeCallable, ffi.Pointer, ffi.Pointer)>.listener( - _ObjCBlock_ffiVoid_ObjCObject_NSError1_closureTrampoline) - ..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_ObjCObject_NSError1_registerClosure( - (ffi.Pointer arg0, ffi.Pointer arg1) => fn( - arg0.address == 0 - ? null - : NSObject._(arg0, lib, retain: true, release: true), - NSError._(arg1, lib, retain: true, release: true)))), - lib); + ObjCBlock_ffiVoid_objcObjCObject_NSError1.listener( + SwiftLibrary lib, + void Function(NSObject?, NSError) fn, + ) : this._(objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >.listener( + _ObjCBlock_ffiVoid_objcObjCObject_NSError1_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_objcObjCObject_NSError1_registerClosure(( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) => fn( + arg0.address == 0 + ? null + : NSObject._(arg0, lib, retain: true, release: true), + NSError._(arg1, lib, retain: true, release: true), + )), + ), lib); static ffi.NativeCallable< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer, - ffi.Pointer)>? _dartFuncListenerTrampoline; - - void call(NSObject? arg0, NSError arg1) => _id.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1)>>() - .asFunction< - void Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer, - ffi.Pointer)>()( - _id, arg0?._id ?? ffi.nullptr, arg1._id); + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >? _dartFuncListenerTrampoline; + + void call(NSObject? arg0, NSError arg1) => pointer.ref.invoke + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, + ) + > + >() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >()(pointer, arg0?.pointer ?? ffi.nullptr, arg1.pointer); } class NSMutableString extends NSString { - NSMutableString._(ffi.Pointer id, SwiftLibrary lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSMutableString._( + ffi.Pointer pointer, + SwiftLibrary lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSMutableString] that points to the same underlying object as [other]. - static NSMutableString castFrom(T other) { - return NSMutableString._(other._id, other._lib, - retain: true, release: true); + static NSMutableString castFrom( + SwiftLibrary lib, + T other, + ) { + return NSMutableString._(other.pointer, lib, retain: true, release: true); } /// Returns a [NSMutableString] that wraps the given raw object pointer. static NSMutableString castFromPointer( - SwiftLibrary lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + SwiftLibrary lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSMutableString._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSMutableString]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0(obj._id, obj._lib._sel_isKindOfClass_1, - obj._lib._class_NSMutableString1); + static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSMutableString1, + ); } void replaceCharactersInRange_withString_(_NSRange range, NSString aString) { - _lib._objc_msgSend_689(_id, _lib._sel_replaceCharactersInRange_withString_1, - range, aString._id); + _lib._objc_msgSend_689( + this.pointer, + _lib._sel_replaceCharactersInRange_withString_1, + range, + aString.pointer, + ); } void insertString_atIndex_(NSString aString, int loc) { _lib._objc_msgSend_690( - _id, _lib._sel_insertString_atIndex_1, aString._id, loc); + this.pointer, + _lib._sel_insertString_atIndex_1, + aString.pointer, + loc, + ); } void deleteCharactersInRange_(_NSRange range) { - _lib._objc_msgSend_476(_id, _lib._sel_deleteCharactersInRange_1, range); + _lib._objc_msgSend_476( + this.pointer, + _lib._sel_deleteCharactersInRange_1, + range, + ); } void appendString_(NSString aString) { - _lib._objc_msgSend_247(_id, _lib._sel_appendString_1, aString._id); + _lib._objc_msgSend_247( + this.pointer, + _lib._sel_appendString_1, + aString.pointer, + ); } void appendFormat_(NSString format) { - _lib._objc_msgSend_247(_id, _lib._sel_appendFormat_1, format._id); + _lib._objc_msgSend_247( + this.pointer, + _lib._sel_appendFormat_1, + format.pointer, + ); } void setString_(NSString aString) { - _lib._objc_msgSend_247(_id, _lib._sel_setString_1, aString._id); + _lib._objc_msgSend_247( + this.pointer, + _lib._sel_setString_1, + aString.pointer, + ); } - int replaceOccurrencesOfString_withString_options_range_(NSString target, - NSString replacement, int options, _NSRange searchRange) { + int replaceOccurrencesOfString_withString_options_range_( + NSString target, + NSString replacement, + int options, + _NSRange searchRange, + ) { return _lib._objc_msgSend_691( - _id, - _lib._sel_replaceOccurrencesOfString_withString_options_range_1, - target._id, - replacement._id, - options, - searchRange); + this.pointer, + _lib._sel_replaceOccurrencesOfString_withString_options_range_1, + target.pointer, + replacement.pointer, + options, + searchRange, + ); } - bool applyTransform_reverse_range_updatedRange_(NSString transform, - bool reverse, _NSRange range, ffi.Pointer<_NSRange> resultingRange) { + bool applyTransform_reverse_range_updatedRange_( + NSString transform, + bool reverse, + _NSRange range, + ffi.Pointer<_NSRange> resultingRange, + ) { return _lib._objc_msgSend_692( - _id, - _lib._sel_applyTransform_reverse_range_updatedRange_1, - transform._id, - reverse, - range, - resultingRange); + this.pointer, + _lib._sel_applyTransform_reverse_range_updatedRange_1, + transform.pointer, + reverse, + range, + resultingRange, + ); } NSMutableString initWithCapacity_(int capacity) { - final _ret = - _lib._objc_msgSend_693(_id, _lib._sel_initWithCapacity_1, capacity); + final _ret = _lib._objc_msgSend_693( + this.pointer, + _lib._sel_initWithCapacity_1, + capacity, + ); return NSMutableString._(_ret, _lib, retain: true, release: true); } static NSMutableString stringWithCapacity_(SwiftLibrary _lib, int capacity) { final _ret = _lib._objc_msgSend_693( - _lib._class_NSMutableString1, _lib._sel_stringWithCapacity_1, capacity); + _lib._class_NSMutableString1, + _lib._sel_stringWithCapacity_1, + capacity, + ); return NSMutableString._(_ret, _lib, retain: true, release: true); } @override NSMutableString init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSMutableString._(_ret, _lib, retain: true, release: true); } @override NSMutableString? initWithCoder_(NSCoder coder) { - final _ret = - _lib._objc_msgSend_47(_id, _lib._sel_initWithCoder_1, coder._id); + final _ret = _lib._objc_msgSend_47( + this.pointer, + _lib._sel_initWithCoder_1, + coder.pointer, + ); return _ret.address == 0 ? null : NSMutableString._(_ret, _lib, retain: true, release: true); } static ffi.Pointer getAvailableStringEncodings( - SwiftLibrary _lib) { + SwiftLibrary _lib, + ) { return _lib._objc_msgSend_357( - _lib._class_NSMutableString1, _lib._sel_availableStringEncodings1); + _lib._class_NSMutableString1, + _lib._sel_availableStringEncodings1, + ); } static NSString localizedNameOfStringEncoding_( - SwiftLibrary _lib, int encoding) { - final _ret = _lib._objc_msgSend_332(_lib._class_NSMutableString1, - _lib._sel_localizedNameOfStringEncoding_1, encoding); + SwiftLibrary _lib, + int encoding, + ) { + final _ret = _lib._objc_msgSend_332( + _lib._class_NSMutableString1, + _lib._sel_localizedNameOfStringEncoding_1, + encoding, + ); return NSString._(_ret, _lib, retain: true, release: true); } static int getDefaultCStringEncoding(SwiftLibrary _lib) { return _lib._objc_msgSend_10( - _lib._class_NSMutableString1, _lib._sel_defaultCStringEncoding1); + _lib._class_NSMutableString1, + _lib._sel_defaultCStringEncoding1, + ); } @override NSMutableString initWithCharactersNoCopy_length_freeWhenDone_( - ffi.Pointer characters, int length, bool freeBuffer) { + ffi.Pointer characters, + int length, + bool freeBuffer, + ) { final _ret = _lib._objc_msgSend_369( - _id, - _lib._sel_initWithCharactersNoCopy_length_freeWhenDone_1, - characters, - length, - freeBuffer); + this.pointer, + _lib._sel_initWithCharactersNoCopy_length_freeWhenDone_1, + characters, + length, + freeBuffer, + ); return NSMutableString._(_ret, _lib, retain: false, release: true); } @override NSMutableString initWithCharactersNoCopy_length_deallocator_( - ffi.Pointer chars, - int len, - ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong? deallocator) { + ffi.Pointer chars, + int len, + ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong? deallocator, + ) { final _ret = _lib._objc_msgSend_370( - _id, - _lib._sel_initWithCharactersNoCopy_length_deallocator_1, - chars, - len, - deallocator?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_initWithCharactersNoCopy_length_deallocator_1, + chars, + len, + deallocator?.pointer ?? ffi.nullptr, + ); return NSMutableString._(_ret, _lib, retain: false, release: true); } @override NSMutableString initWithCharacters_length_( - ffi.Pointer characters, int length) { + ffi.Pointer characters, + int length, + ) { final _ret = _lib._objc_msgSend_371( - _id, _lib._sel_initWithCharacters_length_1, characters, length); + this.pointer, + _lib._sel_initWithCharacters_length_1, + characters, + length, + ); return NSMutableString._(_ret, _lib, retain: true, release: true); } @override NSMutableString? initWithUTF8String_( - ffi.Pointer nullTerminatedCString) { + ffi.Pointer nullTerminatedCString, + ) { final _ret = _lib._objc_msgSend_372( - _id, _lib._sel_initWithUTF8String_1, nullTerminatedCString); + this.pointer, + _lib._sel_initWithUTF8String_1, + nullTerminatedCString, + ); return _ret.address == 0 ? null : NSMutableString._(_ret, _lib, retain: true, release: true); @@ -54686,56 +72370,78 @@ class NSMutableString extends NSString { @override NSMutableString initWithString_(NSString aString) { - final _ret = - _lib._objc_msgSend_31(_id, _lib._sel_initWithString_1, aString._id); + final _ret = _lib._objc_msgSend_31( + this.pointer, + _lib._sel_initWithString_1, + aString.pointer, + ); return NSMutableString._(_ret, _lib, retain: true, release: true); } @override NSMutableString initWithFormat_(NSString format) { - final _ret = - _lib._objc_msgSend_31(_id, _lib._sel_initWithFormat_1, format._id); + final _ret = _lib._objc_msgSend_31( + this.pointer, + _lib._sel_initWithFormat_1, + format.pointer, + ); return NSMutableString._(_ret, _lib, retain: true, release: true); } @override NSMutableString initWithFormat_arguments_( - NSString format, ffi.Pointer<__va_list_tag> argList) { + NSString format, + ffi.Pointer<__va_list_tag> argList, + ) { final _ret = _lib._objc_msgSend_373( - _id, _lib._sel_initWithFormat_arguments_1, format._id, argList); + this.pointer, + _lib._sel_initWithFormat_arguments_1, + format.pointer, + argList, + ); return NSMutableString._(_ret, _lib, retain: true, release: true); } @override NSMutableString initWithFormat_locale_(NSString format, NSObject? locale) { - final _ret = _lib._objc_msgSend_374(_id, _lib._sel_initWithFormat_locale_1, - format._id, locale?._id ?? ffi.nullptr); + final _ret = _lib._objc_msgSend_374( + this.pointer, + _lib._sel_initWithFormat_locale_1, + format.pointer, + locale?.pointer ?? ffi.nullptr, + ); return NSMutableString._(_ret, _lib, retain: true, release: true); } @override NSMutableString initWithFormat_locale_arguments_( - NSString format, NSObject? locale, ffi.Pointer<__va_list_tag> argList) { + NSString format, + NSObject? locale, + ffi.Pointer<__va_list_tag> argList, + ) { final _ret = _lib._objc_msgSend_375( - _id, - _lib._sel_initWithFormat_locale_arguments_1, - format._id, - locale?._id ?? ffi.nullptr, - argList); + this.pointer, + _lib._sel_initWithFormat_locale_arguments_1, + format.pointer, + locale?.pointer ?? ffi.nullptr, + argList, + ); return NSMutableString._(_ret, _lib, retain: true, release: true); } @override NSMutableString? initWithValidatedFormat_validFormatSpecifiers_error_( - NSString format, - NSString validFormatSpecifiers, - ffi.Pointer> error) { + NSString format, + NSString validFormatSpecifiers, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_376( - _id, - _lib._sel_initWithValidatedFormat_validFormatSpecifiers_error_1, - format._id, - validFormatSpecifiers._id, - error); + this.pointer, + _lib._sel_initWithValidatedFormat_validFormatSpecifiers_error_1, + format.pointer, + validFormatSpecifiers.pointer, + error, + ); return _ret.address == 0 ? null : NSMutableString._(_ret, _lib, retain: true, release: true); @@ -54743,17 +72449,19 @@ class NSMutableString extends NSString { @override NSMutableString? initWithValidatedFormat_validFormatSpecifiers_locale_error_( - NSString format, - NSString validFormatSpecifiers, - NSObject? locale, - ffi.Pointer> error) { + NSString format, + NSString validFormatSpecifiers, + NSObject? locale, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_377( - _id, - _lib._sel_initWithValidatedFormat_validFormatSpecifiers_locale_error_1, - format._id, - validFormatSpecifiers._id, - locale?._id ?? ffi.nullptr, - error); + this.pointer, + _lib._sel_initWithValidatedFormat_validFormatSpecifiers_locale_error_1, + format.pointer, + validFormatSpecifiers.pointer, + locale?.pointer ?? ffi.nullptr, + error, + ); return _ret.address == 0 ? null : NSMutableString._(_ret, _lib, retain: true, release: true); @@ -54761,18 +72469,20 @@ class NSMutableString extends NSString { @override NSMutableString? - initWithValidatedFormat_validFormatSpecifiers_arguments_error_( - NSString format, - NSString validFormatSpecifiers, - ffi.Pointer<__va_list_tag> argList, - ffi.Pointer> error) { + initWithValidatedFormat_validFormatSpecifiers_arguments_error_( + NSString format, + NSString validFormatSpecifiers, + ffi.Pointer<__va_list_tag> argList, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_378( - _id, - _lib._sel_initWithValidatedFormat_validFormatSpecifiers_arguments_error_1, - format._id, - validFormatSpecifiers._id, - argList, - error); + this.pointer, + _lib._sel_initWithValidatedFormat_validFormatSpecifiers_arguments_error_1, + format.pointer, + validFormatSpecifiers.pointer, + argList, + error, + ); return _ret.address == 0 ? null : NSMutableString._(_ret, _lib, retain: true, release: true); @@ -54780,20 +72490,22 @@ class NSMutableString extends NSString { @override NSMutableString? - initWithValidatedFormat_validFormatSpecifiers_locale_arguments_error_( - NSString format, - NSString validFormatSpecifiers, - NSObject? locale, - ffi.Pointer<__va_list_tag> argList, - ffi.Pointer> error) { + initWithValidatedFormat_validFormatSpecifiers_locale_arguments_error_( + NSString format, + NSString validFormatSpecifiers, + NSObject? locale, + ffi.Pointer<__va_list_tag> argList, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_379( - _id, - _lib._sel_initWithValidatedFormat_validFormatSpecifiers_locale_arguments_error_1, - format._id, - validFormatSpecifiers._id, - locale?._id ?? ffi.nullptr, - argList, - error); + this.pointer, + _lib._sel_initWithValidatedFormat_validFormatSpecifiers_locale_arguments_error_1, + format.pointer, + validFormatSpecifiers.pointer, + locale?.pointer ?? ffi.nullptr, + argList, + error, + ); return _ret.address == 0 ? null : NSMutableString._(_ret, _lib, retain: true, release: true); @@ -54802,7 +72514,11 @@ class NSMutableString extends NSString { @override NSMutableString? initWithData_encoding_(NSData data, int encoding) { final _ret = _lib._objc_msgSend_380( - _id, _lib._sel_initWithData_encoding_1, data._id, encoding); + this.pointer, + _lib._sel_initWithData_encoding_1, + data.pointer, + encoding, + ); return _ret.address == 0 ? null : NSMutableString._(_ret, _lib, retain: true, release: true); @@ -54810,9 +72526,17 @@ class NSMutableString extends NSString { @override NSMutableString? initWithBytes_length_encoding_( - ffi.Pointer bytes, int len, int encoding) { + ffi.Pointer bytes, + int len, + int encoding, + ) { final _ret = _lib._objc_msgSend_381( - _id, _lib._sel_initWithBytes_length_encoding_1, bytes, len, encoding); + this.pointer, + _lib._sel_initWithBytes_length_encoding_1, + bytes, + len, + encoding, + ); return _ret.address == 0 ? null : NSMutableString._(_ret, _lib, retain: true, release: true); @@ -54820,14 +72544,19 @@ class NSMutableString extends NSString { @override NSMutableString? initWithBytesNoCopy_length_encoding_freeWhenDone_( - ffi.Pointer bytes, int len, int encoding, bool freeBuffer) { + ffi.Pointer bytes, + int len, + int encoding, + bool freeBuffer, + ) { final _ret = _lib._objc_msgSend_382( - _id, - _lib._sel_initWithBytesNoCopy_length_encoding_freeWhenDone_1, - bytes, - len, - encoding, - freeBuffer); + this.pointer, + _lib._sel_initWithBytesNoCopy_length_encoding_freeWhenDone_1, + bytes, + len, + encoding, + freeBuffer, + ); return _ret.address == 0 ? null : NSMutableString._(_ret, _lib, retain: false, release: true); @@ -54835,45 +72564,64 @@ class NSMutableString extends NSString { @override NSMutableString? initWithBytesNoCopy_length_encoding_deallocator_( - ffi.Pointer bytes, - int len, - int encoding, - ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong? deallocator) { + ffi.Pointer bytes, + int len, + int encoding, + ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong? deallocator, + ) { final _ret = _lib._objc_msgSend_383( - _id, - _lib._sel_initWithBytesNoCopy_length_encoding_deallocator_1, - bytes, - len, - encoding, - deallocator?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_initWithBytesNoCopy_length_encoding_deallocator_1, + bytes, + len, + encoding, + deallocator?.pointer ?? ffi.nullptr, + ); return _ret.address == 0 ? null : NSMutableString._(_ret, _lib, retain: false, release: true); } static NSMutableString string(SwiftLibrary _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSMutableString1, _lib._sel_string1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSMutableString1, + _lib._sel_string1, + ); return NSMutableString._(_ret, _lib, retain: true, release: true); } static NSMutableString stringWithString_(SwiftLibrary _lib, NSString string) { final _ret = _lib._objc_msgSend_31( - _lib._class_NSMutableString1, _lib._sel_stringWithString_1, string._id); + _lib._class_NSMutableString1, + _lib._sel_stringWithString_1, + string.pointer, + ); return NSMutableString._(_ret, _lib, retain: true, release: true); } - static NSMutableString stringWithCharacters_length_(SwiftLibrary _lib, - ffi.Pointer characters, int length) { - final _ret = _lib._objc_msgSend_371(_lib._class_NSMutableString1, - _lib._sel_stringWithCharacters_length_1, characters, length); + static NSMutableString stringWithCharacters_length_( + SwiftLibrary _lib, + ffi.Pointer characters, + int length, + ) { + final _ret = _lib._objc_msgSend_371( + _lib._class_NSMutableString1, + _lib._sel_stringWithCharacters_length_1, + characters, + length, + ); return NSMutableString._(_ret, _lib, retain: true, release: true); } static NSMutableString? stringWithUTF8String_( - SwiftLibrary _lib, ffi.Pointer nullTerminatedCString) { - final _ret = _lib._objc_msgSend_372(_lib._class_NSMutableString1, - _lib._sel_stringWithUTF8String_1, nullTerminatedCString); + SwiftLibrary _lib, + ffi.Pointer nullTerminatedCString, + ) { + final _ret = _lib._objc_msgSend_372( + _lib._class_NSMutableString1, + _lib._sel_stringWithUTF8String_1, + nullTerminatedCString, + ); return _ret.address == 0 ? null : NSMutableString._(_ret, _lib, retain: true, release: true); @@ -54881,46 +72629,58 @@ class NSMutableString extends NSString { static NSMutableString stringWithFormat_(SwiftLibrary _lib, NSString format) { final _ret = _lib._objc_msgSend_31( - _lib._class_NSMutableString1, _lib._sel_stringWithFormat_1, format._id); + _lib._class_NSMutableString1, + _lib._sel_stringWithFormat_1, + format.pointer, + ); return NSMutableString._(_ret, _lib, retain: true, release: true); } static NSMutableString localizedStringWithFormat_( - SwiftLibrary _lib, NSString format) { - final _ret = _lib._objc_msgSend_31(_lib._class_NSMutableString1, - _lib._sel_localizedStringWithFormat_1, format._id); + SwiftLibrary _lib, + NSString format, + ) { + final _ret = _lib._objc_msgSend_31( + _lib._class_NSMutableString1, + _lib._sel_localizedStringWithFormat_1, + format.pointer, + ); return NSMutableString._(_ret, _lib, retain: true, release: true); } static NSMutableString? - stringWithValidatedFormat_validFormatSpecifiers_error_( - SwiftLibrary _lib, - NSString format, - NSString validFormatSpecifiers, - ffi.Pointer> error) { + stringWithValidatedFormat_validFormatSpecifiers_error_( + SwiftLibrary _lib, + NSString format, + NSString validFormatSpecifiers, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_376( - _lib._class_NSMutableString1, - _lib._sel_stringWithValidatedFormat_validFormatSpecifiers_error_1, - format._id, - validFormatSpecifiers._id, - error); + _lib._class_NSMutableString1, + _lib._sel_stringWithValidatedFormat_validFormatSpecifiers_error_1, + format.pointer, + validFormatSpecifiers.pointer, + error, + ); return _ret.address == 0 ? null : NSMutableString._(_ret, _lib, retain: true, release: true); } static NSMutableString? - localizedStringWithValidatedFormat_validFormatSpecifiers_error_( - SwiftLibrary _lib, - NSString format, - NSString validFormatSpecifiers, - ffi.Pointer> error) { + localizedStringWithValidatedFormat_validFormatSpecifiers_error_( + SwiftLibrary _lib, + NSString format, + NSString validFormatSpecifiers, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_376( - _lib._class_NSMutableString1, - _lib._sel_localizedStringWithValidatedFormat_validFormatSpecifiers_error_1, - format._id, - validFormatSpecifiers._id, - error); + _lib._class_NSMutableString1, + _lib._sel_localizedStringWithValidatedFormat_validFormatSpecifiers_error_1, + format.pointer, + validFormatSpecifiers.pointer, + error, + ); return _ret.address == 0 ? null : NSMutableString._(_ret, _lib, retain: true, release: true); @@ -54928,18 +72688,31 @@ class NSMutableString extends NSString { @override NSMutableString? initWithCString_encoding_( - ffi.Pointer nullTerminatedCString, int encoding) { - final _ret = _lib._objc_msgSend_384(_id, - _lib._sel_initWithCString_encoding_1, nullTerminatedCString, encoding); + ffi.Pointer nullTerminatedCString, + int encoding, + ) { + final _ret = _lib._objc_msgSend_384( + this.pointer, + _lib._sel_initWithCString_encoding_1, + nullTerminatedCString, + encoding, + ); return _ret.address == 0 ? null : NSMutableString._(_ret, _lib, retain: true, release: true); } static NSMutableString? stringWithCString_encoding_( - SwiftLibrary _lib, ffi.Pointer cString, int enc) { - final _ret = _lib._objc_msgSend_384(_lib._class_NSMutableString1, - _lib._sel_stringWithCString_encoding_1, cString, enc); + SwiftLibrary _lib, + ffi.Pointer cString, + int enc, + ) { + final _ret = _lib._objc_msgSend_384( + _lib._class_NSMutableString1, + _lib._sel_stringWithCString_encoding_1, + cString, + enc, + ); return _ret.address == 0 ? null : NSMutableString._(_ret, _lib, retain: true, release: true); @@ -54947,9 +72720,17 @@ class NSMutableString extends NSString { @override NSMutableString? initWithContentsOfURL_encoding_error_( - NSURL url, int enc, ffi.Pointer> error) { - final _ret = _lib._objc_msgSend_385(_id, - _lib._sel_initWithContentsOfURL_encoding_error_1, url._id, enc, error); + NSURL url, + int enc, + ffi.Pointer> error, + ) { + final _ret = _lib._objc_msgSend_385( + this.pointer, + _lib._sel_initWithContentsOfURL_encoding_error_1, + url.pointer, + enc, + error, + ); return _ret.address == 0 ? null : NSMutableString._(_ret, _lib, retain: true, release: true); @@ -54957,45 +72738,53 @@ class NSMutableString extends NSString { @override NSMutableString? initWithContentsOfFile_encoding_error_( - NSString path, int enc, ffi.Pointer> error) { + NSString path, + int enc, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_386( - _id, - _lib._sel_initWithContentsOfFile_encoding_error_1, - path._id, - enc, - error); + this.pointer, + _lib._sel_initWithContentsOfFile_encoding_error_1, + path.pointer, + enc, + error, + ); return _ret.address == 0 ? null : NSMutableString._(_ret, _lib, retain: true, release: true); } static NSMutableString? stringWithContentsOfURL_encoding_error_( - SwiftLibrary _lib, - NSURL url, - int enc, - ffi.Pointer> error) { + SwiftLibrary _lib, + NSURL url, + int enc, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_385( - _lib._class_NSMutableString1, - _lib._sel_stringWithContentsOfURL_encoding_error_1, - url._id, - enc, - error); + _lib._class_NSMutableString1, + _lib._sel_stringWithContentsOfURL_encoding_error_1, + url.pointer, + enc, + error, + ); return _ret.address == 0 ? null : NSMutableString._(_ret, _lib, retain: true, release: true); } static NSMutableString? stringWithContentsOfFile_encoding_error_( - SwiftLibrary _lib, - NSString path, - int enc, - ffi.Pointer> error) { + SwiftLibrary _lib, + NSString path, + int enc, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_386( - _lib._class_NSMutableString1, - _lib._sel_stringWithContentsOfFile_encoding_error_1, - path._id, - enc, - error); + _lib._class_NSMutableString1, + _lib._sel_stringWithContentsOfFile_encoding_error_1, + path.pointer, + enc, + error, + ); return _ret.address == 0 ? null : NSMutableString._(_ret, _lib, retain: true, release: true); @@ -55003,15 +72792,17 @@ class NSMutableString extends NSString { @override NSMutableString? initWithContentsOfURL_usedEncoding_error_( - NSURL url, - ffi.Pointer enc, - ffi.Pointer> error) { + NSURL url, + ffi.Pointer enc, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_387( - _id, - _lib._sel_initWithContentsOfURL_usedEncoding_error_1, - url._id, - enc, - error); + this.pointer, + _lib._sel_initWithContentsOfURL_usedEncoding_error_1, + url.pointer, + enc, + error, + ); return _ret.address == 0 ? null : NSMutableString._(_ret, _lib, retain: true, release: true); @@ -55019,401 +72810,555 @@ class NSMutableString extends NSString { @override NSMutableString? initWithContentsOfFile_usedEncoding_error_( - NSString path, - ffi.Pointer enc, - ffi.Pointer> error) { + NSString path, + ffi.Pointer enc, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_388( - _id, - _lib._sel_initWithContentsOfFile_usedEncoding_error_1, - path._id, - enc, - error); + this.pointer, + _lib._sel_initWithContentsOfFile_usedEncoding_error_1, + path.pointer, + enc, + error, + ); return _ret.address == 0 ? null : NSMutableString._(_ret, _lib, retain: true, release: true); } static NSMutableString? stringWithContentsOfURL_usedEncoding_error_( - SwiftLibrary _lib, - NSURL url, - ffi.Pointer enc, - ffi.Pointer> error) { + SwiftLibrary _lib, + NSURL url, + ffi.Pointer enc, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_387( - _lib._class_NSMutableString1, - _lib._sel_stringWithContentsOfURL_usedEncoding_error_1, - url._id, - enc, - error); + _lib._class_NSMutableString1, + _lib._sel_stringWithContentsOfURL_usedEncoding_error_1, + url.pointer, + enc, + error, + ); return _ret.address == 0 ? null : NSMutableString._(_ret, _lib, retain: true, release: true); } static NSMutableString? stringWithContentsOfFile_usedEncoding_error_( - SwiftLibrary _lib, - NSString path, - ffi.Pointer enc, - ffi.Pointer> error) { + SwiftLibrary _lib, + NSString path, + ffi.Pointer enc, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_388( - _lib._class_NSMutableString1, - _lib._sel_stringWithContentsOfFile_usedEncoding_error_1, - path._id, - enc, - error); + _lib._class_NSMutableString1, + _lib._sel_stringWithContentsOfFile_usedEncoding_error_1, + path.pointer, + enc, + error, + ); return _ret.address == 0 ? null : NSMutableString._(_ret, _lib, retain: true, release: true); } static int - stringEncodingForData_encodingOptions_convertedString_usedLossyConversion_( - SwiftLibrary _lib, - NSData data, - NSDictionary? opts, - ffi.Pointer> string, - ffi.Pointer usedLossyConversion) { + stringEncodingForData_encodingOptions_convertedString_usedLossyConversion_( + SwiftLibrary _lib, + NSData data, + NSDictionary? opts, + ffi.Pointer> string, + ffi.Pointer usedLossyConversion, + ) { return _lib._objc_msgSend_389( - _lib._class_NSMutableString1, - _lib._sel_stringEncodingForData_encodingOptions_convertedString_usedLossyConversion_1, - data._id, - opts?._id ?? ffi.nullptr, - string, - usedLossyConversion); + _lib._class_NSMutableString1, + _lib._sel_stringEncodingForData_encodingOptions_convertedString_usedLossyConversion_1, + data.pointer, + opts?.pointer ?? ffi.nullptr, + string, + usedLossyConversion, + ); } static NSObject? stringWithContentsOfFile_(SwiftLibrary _lib, NSString path) { - final _ret = _lib._objc_msgSend_38(_lib._class_NSMutableString1, - _lib._sel_stringWithContentsOfFile_1, path._id); + final _ret = _lib._objc_msgSend_38( + _lib._class_NSMutableString1, + _lib._sel_stringWithContentsOfFile_1, + path.pointer, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } static NSObject? stringWithContentsOfURL_(SwiftLibrary _lib, NSURL url) { - final _ret = _lib._objc_msgSend_277(_lib._class_NSMutableString1, - _lib._sel_stringWithContentsOfURL_1, url._id); + final _ret = _lib._objc_msgSend_277( + _lib._class_NSMutableString1, + _lib._sel_stringWithContentsOfURL_1, + url.pointer, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } static NSObject? stringWithCString_length_( - SwiftLibrary _lib, ffi.Pointer bytes, int length) { - final _ret = _lib._objc_msgSend_384(_lib._class_NSMutableString1, - _lib._sel_stringWithCString_length_1, bytes, length); + SwiftLibrary _lib, + ffi.Pointer bytes, + int length, + ) { + final _ret = _lib._objc_msgSend_384( + _lib._class_NSMutableString1, + _lib._sel_stringWithCString_length_1, + bytes, + length, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } static NSObject? stringWithCString_( - SwiftLibrary _lib, ffi.Pointer bytes) { + SwiftLibrary _lib, + ffi.Pointer bytes, + ) { final _ret = _lib._objc_msgSend_372( - _lib._class_NSMutableString1, _lib._sel_stringWithCString_1, bytes); + _lib._class_NSMutableString1, + _lib._sel_stringWithCString_1, + bytes, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } static NSString pathWithComponents_(SwiftLibrary _lib, NSArray components) { - final _ret = _lib._objc_msgSend_396(_lib._class_NSMutableString1, - _lib._sel_pathWithComponents_1, components._id); + final _ret = _lib._objc_msgSend_396( + _lib._class_NSMutableString1, + _lib._sel_pathWithComponents_1, + components.pointer, + ); return NSString._(_ret, _lib, retain: true, release: true); } static NSMutableString new1(SwiftLibrary _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSMutableString1, _lib._sel_new1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSMutableString1, + _lib._sel_new1, + ); return NSMutableString._(_ret, _lib, retain: false, release: true); } static NSMutableString allocWithZone_( - SwiftLibrary _lib, ffi.Pointer<_NSZone> zone) { + SwiftLibrary _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSMutableString1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSMutableString1, + _lib._sel_allocWithZone_1, + zone, + ); return NSMutableString._(_ret, _lib, retain: false, release: true); } static NSMutableString alloc(SwiftLibrary _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSMutableString1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSMutableString1, + _lib._sel_alloc1, + ); return NSMutableString._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + SwiftLibrary _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSMutableString1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSMutableString1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSMutableString1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + SwiftLibrary _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSMutableString1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { - return _lib._objc_msgSend_12(_lib._class_NSMutableString1, - _lib._sel_accessInstanceVariablesDirectly1); + return _lib._objc_msgSend_12( + _lib._class_NSMutableString1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(SwiftLibrary _lib) { return _lib._objc_msgSend_12( - _lib._class_NSMutableString1, _lib._sel_useStoredAccessor1); + _lib._class_NSMutableString1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSMutableString1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSMutableString1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSMutableString1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSMutableString1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, NSArray keys, NSString dependentKey) { + SwiftLibrary _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSMutableString1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSMutableString1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_85(_lib._class_NSMutableString1, - _lib._sel_classFallbacksForKeyedArchiver1); + final _ret = _lib._objc_msgSend_85( + _lib._class_NSMutableString1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSMutableString1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSMutableString1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } class NSNotification extends NSObject { - NSNotification._(ffi.Pointer id, SwiftLibrary lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSNotification._( + ffi.Pointer pointer, + SwiftLibrary lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSNotification] that points to the same underlying object as [other]. - static NSNotification castFrom(T other) { - return NSNotification._(other._id, other._lib, retain: true, release: true); + static NSNotification castFrom( + SwiftLibrary lib, + T other, + ) { + return NSNotification._(other.pointer, lib, retain: true, release: true); } /// Returns a [NSNotification] that wraps the given raw object pointer. static NSNotification castFromPointer( - SwiftLibrary lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + SwiftLibrary lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSNotification._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSNotification]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0(obj._id, obj._lib._sel_isKindOfClass_1, - obj._lib._class_NSNotification1); + static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSNotification1, + ); } NSString get name { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_name1); + final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_name1); return NSString._(_ret, _lib, retain: true, release: true); } NSObject? get object { - final _ret = _lib._objc_msgSend_17(_id, _lib._sel_object1); + final _ret = _lib._objc_msgSend_17(this.pointer, _lib._sel_object1); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } NSDictionary? get userInfo { - final _ret = _lib._objc_msgSend_390(_id, _lib._sel_userInfo1); + final _ret = _lib._objc_msgSend_390(this.pointer, _lib._sel_userInfo1); return _ret.address == 0 ? null : NSDictionary._(_ret, _lib, retain: true, release: true); } NSNotification initWithName_object_userInfo_( - NSString name, NSObject? object, NSDictionary? userInfo) { + NSString name, + NSObject? object, + NSDictionary? userInfo, + ) { final _ret = _lib._objc_msgSend_694( - _id, - _lib._sel_initWithName_object_userInfo_1, - name._id, - object?._id ?? ffi.nullptr, - userInfo?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_initWithName_object_userInfo_1, + name.pointer, + object?.pointer ?? ffi.nullptr, + userInfo?.pointer ?? ffi.nullptr, + ); return NSNotification._(_ret, _lib, retain: true, release: true); } NSNotification? initWithCoder_(NSCoder coder) { - final _ret = - _lib._objc_msgSend_47(_id, _lib._sel_initWithCoder_1, coder._id); + final _ret = _lib._objc_msgSend_47( + this.pointer, + _lib._sel_initWithCoder_1, + coder.pointer, + ); return _ret.address == 0 ? null : NSNotification._(_ret, _lib, retain: true, release: true); } static NSNotification notificationWithName_object_( - SwiftLibrary _lib, NSString aName, NSObject? anObject) { + SwiftLibrary _lib, + NSString aName, + NSObject? anObject, + ) { final _ret = _lib._objc_msgSend_374( - _lib._class_NSNotification1, - _lib._sel_notificationWithName_object_1, - aName._id, - anObject?._id ?? ffi.nullptr); + _lib._class_NSNotification1, + _lib._sel_notificationWithName_object_1, + aName.pointer, + anObject?.pointer ?? ffi.nullptr, + ); return NSNotification._(_ret, _lib, retain: true, release: true); } - static NSNotification notificationWithName_object_userInfo_(SwiftLibrary _lib, - NSString aName, NSObject? anObject, NSDictionary? aUserInfo) { + static NSNotification notificationWithName_object_userInfo_( + SwiftLibrary _lib, + NSString aName, + NSObject? anObject, + NSDictionary? aUserInfo, + ) { final _ret = _lib._objc_msgSend_694( - _lib._class_NSNotification1, - _lib._sel_notificationWithName_object_userInfo_1, - aName._id, - anObject?._id ?? ffi.nullptr, - aUserInfo?._id ?? ffi.nullptr); + _lib._class_NSNotification1, + _lib._sel_notificationWithName_object_userInfo_1, + aName.pointer, + anObject?.pointer ?? ffi.nullptr, + aUserInfo?.pointer ?? ffi.nullptr, + ); return NSNotification._(_ret, _lib, retain: true, release: true); } @override NSNotification init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSNotification._(_ret, _lib, retain: true, release: true); } static NSNotification new1(SwiftLibrary _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSNotification1, _lib._sel_new1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSNotification1, + _lib._sel_new1, + ); return NSNotification._(_ret, _lib, retain: false, release: true); } static NSNotification allocWithZone_( - SwiftLibrary _lib, ffi.Pointer<_NSZone> zone) { + SwiftLibrary _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSNotification1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSNotification1, + _lib._sel_allocWithZone_1, + zone, + ); return NSNotification._(_ret, _lib, retain: false, release: true); } static NSNotification alloc(SwiftLibrary _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSNotification1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSNotification1, + _lib._sel_alloc1, + ); return NSNotification._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + SwiftLibrary _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSNotification1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSNotification1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSNotification1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + SwiftLibrary _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSNotification1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { - return _lib._objc_msgSend_12(_lib._class_NSNotification1, - _lib._sel_accessInstanceVariablesDirectly1); + return _lib._objc_msgSend_12( + _lib._class_NSNotification1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(SwiftLibrary _lib) { return _lib._objc_msgSend_12( - _lib._class_NSNotification1, _lib._sel_useStoredAccessor1); + _lib._class_NSNotification1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSNotification1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSNotification1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSNotification1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSNotification1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, NSArray keys, NSString dependentKey) { + SwiftLibrary _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSNotification1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSNotification1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_85( - _lib._class_NSNotification1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSNotification1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSNotification1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSNotification1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } class NSBundle extends NSObject { - NSBundle._(ffi.Pointer id, SwiftLibrary lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSBundle._( + ffi.Pointer pointer, + SwiftLibrary lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSBundle] that points to the same underlying object as [other]. - static NSBundle castFrom(T other) { - return NSBundle._(other._id, other._lib, retain: true, release: true); + static NSBundle castFrom( + SwiftLibrary lib, + T other, + ) { + return NSBundle._(other.pointer, lib, retain: true, release: true); } /// Returns a [NSBundle] that wraps the given raw object pointer. static NSBundle castFromPointer( - SwiftLibrary lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + SwiftLibrary lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSBundle._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSBundle]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_NSBundle1); + static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSBundle1, + ); } static NSBundle getMainBundle(SwiftLibrary _lib) { - final _ret = - _lib._objc_msgSend_695(_lib._class_NSBundle1, _lib._sel_mainBundle1); + final _ret = _lib._objc_msgSend_695( + _lib._class_NSBundle1, + _lib._sel_mainBundle1, + ); return NSBundle._(_ret, _lib, retain: true, release: true); } static NSBundle? bundleWithPath_(SwiftLibrary _lib, NSString path) { final _ret = _lib._objc_msgSend_38( - _lib._class_NSBundle1, _lib._sel_bundleWithPath_1, path._id); + _lib._class_NSBundle1, + _lib._sel_bundleWithPath_1, + path.pointer, + ); return _ret.address == 0 ? null : NSBundle._(_ret, _lib, retain: true, release: true); } NSBundle? initWithPath_(NSString path) { - final _ret = _lib._objc_msgSend_38(_id, _lib._sel_initWithPath_1, path._id); + final _ret = _lib._objc_msgSend_38( + this.pointer, + _lib._sel_initWithPath_1, + path.pointer, + ); return _ret.address == 0 ? null : NSBundle._(_ret, _lib, retain: true, release: true); @@ -55421,14 +73366,21 @@ class NSBundle extends NSObject { static NSBundle? bundleWithURL_(SwiftLibrary _lib, NSURL url) { final _ret = _lib._objc_msgSend_277( - _lib._class_NSBundle1, _lib._sel_bundleWithURL_1, url._id); + _lib._class_NSBundle1, + _lib._sel_bundleWithURL_1, + url.pointer, + ); return _ret.address == 0 ? null : NSBundle._(_ret, _lib, retain: true, release: true); } NSBundle? initWithURL_(NSURL url) { - final _ret = _lib._objc_msgSend_277(_id, _lib._sel_initWithURL_1, url._id); + final _ret = _lib._objc_msgSend_277( + this.pointer, + _lib._sel_initWithURL_1, + url.pointer, + ); return _ret.address == 0 ? null : NSBundle._(_ret, _lib, retain: true, release: true); @@ -55436,66 +73388,87 @@ class NSBundle extends NSObject { static NSBundle bundleForClass_(SwiftLibrary _lib, NSObject aClass) { final _ret = _lib._objc_msgSend_696( - _lib._class_NSBundle1, _lib._sel_bundleForClass_1, aClass._id); + _lib._class_NSBundle1, + _lib._sel_bundleForClass_1, + aClass.pointer, + ); return NSBundle._(_ret, _lib, retain: true, release: true); } static NSBundle? bundleWithIdentifier_( - SwiftLibrary _lib, NSString identifier) { - final _ret = _lib._objc_msgSend_697(_lib._class_NSBundle1, - _lib._sel_bundleWithIdentifier_1, identifier._id); + SwiftLibrary _lib, + NSString identifier, + ) { + final _ret = _lib._objc_msgSend_697( + _lib._class_NSBundle1, + _lib._sel_bundleWithIdentifier_1, + identifier.pointer, + ); return _ret.address == 0 ? null : NSBundle._(_ret, _lib, retain: true, release: true); } static NSArray getAllBundles(SwiftLibrary _lib) { - final _ret = - _lib._objc_msgSend_85(_lib._class_NSBundle1, _lib._sel_allBundles1); + final _ret = _lib._objc_msgSend_85( + _lib._class_NSBundle1, + _lib._sel_allBundles1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSArray getAllFrameworks(SwiftLibrary _lib) { - final _ret = - _lib._objc_msgSend_85(_lib._class_NSBundle1, _lib._sel_allFrameworks1); + final _ret = _lib._objc_msgSend_85( + _lib._class_NSBundle1, + _lib._sel_allFrameworks1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } bool load() { - return _lib._objc_msgSend_12(_id, _lib._sel_load1); + return _lib._objc_msgSend_12(this.pointer, _lib._sel_load1); } bool get loaded { - return _lib._objc_msgSend_12(_id, _lib._sel_isLoaded1); + return _lib._objc_msgSend_12(this.pointer, _lib._sel_isLoaded1); } bool unload() { - return _lib._objc_msgSend_12(_id, _lib._sel_unload1); + return _lib._objc_msgSend_12(this.pointer, _lib._sel_unload1); } - bool preflightAndReturnError_(ffi.Pointer> error) { + bool preflightAndReturnError_( + ffi.Pointer> error, + ) { return _lib._objc_msgSend_255( - _id, _lib._sel_preflightAndReturnError_1, error); + this.pointer, + _lib._sel_preflightAndReturnError_1, + error, + ); } - bool loadAndReturnError_(ffi.Pointer> error) { - return _lib._objc_msgSend_255(_id, _lib._sel_loadAndReturnError_1, error); + bool loadAndReturnError_(ffi.Pointer> error) { + return _lib._objc_msgSend_255( + this.pointer, + _lib._sel_loadAndReturnError_1, + error, + ); } NSURL get bundleURL { - final _ret = _lib._objc_msgSend_466(_id, _lib._sel_bundleURL1); + final _ret = _lib._objc_msgSend_466(this.pointer, _lib._sel_bundleURL1); return NSURL._(_ret, _lib, retain: true, release: true); } NSURL? get resourceURL { - final _ret = _lib._objc_msgSend_45(_id, _lib._sel_resourceURL1); + final _ret = _lib._objc_msgSend_45(this.pointer, _lib._sel_resourceURL1); return _ret.address == 0 ? null : NSURL._(_ret, _lib, retain: true, release: true); } NSURL? get executableURL { - final _ret = _lib._objc_msgSend_45(_id, _lib._sel_executableURL1); + final _ret = _lib._objc_msgSend_45(this.pointer, _lib._sel_executableURL1); return _ret.address == 0 ? null : NSURL._(_ret, _lib, retain: true, release: true); @@ -55503,61 +73476,79 @@ class NSBundle extends NSObject { NSURL? URLForAuxiliaryExecutable_(NSString executableName) { final _ret = _lib._objc_msgSend_257( - _id, _lib._sel_URLForAuxiliaryExecutable_1, executableName._id); + this.pointer, + _lib._sel_URLForAuxiliaryExecutable_1, + executableName.pointer, + ); return _ret.address == 0 ? null : NSURL._(_ret, _lib, retain: true, release: true); } NSURL? get privateFrameworksURL { - final _ret = _lib._objc_msgSend_45(_id, _lib._sel_privateFrameworksURL1); + final _ret = _lib._objc_msgSend_45( + this.pointer, + _lib._sel_privateFrameworksURL1, + ); return _ret.address == 0 ? null : NSURL._(_ret, _lib, retain: true, release: true); } NSURL? get sharedFrameworksURL { - final _ret = _lib._objc_msgSend_45(_id, _lib._sel_sharedFrameworksURL1); + final _ret = _lib._objc_msgSend_45( + this.pointer, + _lib._sel_sharedFrameworksURL1, + ); return _ret.address == 0 ? null : NSURL._(_ret, _lib, retain: true, release: true); } NSURL? get sharedSupportURL { - final _ret = _lib._objc_msgSend_45(_id, _lib._sel_sharedSupportURL1); + final _ret = _lib._objc_msgSend_45( + this.pointer, + _lib._sel_sharedSupportURL1, + ); return _ret.address == 0 ? null : NSURL._(_ret, _lib, retain: true, release: true); } NSURL? get builtInPlugInsURL { - final _ret = _lib._objc_msgSend_45(_id, _lib._sel_builtInPlugInsURL1); + final _ret = _lib._objc_msgSend_45( + this.pointer, + _lib._sel_builtInPlugInsURL1, + ); return _ret.address == 0 ? null : NSURL._(_ret, _lib, retain: true, release: true); } NSURL? get appStoreReceiptURL { - final _ret = _lib._objc_msgSend_45(_id, _lib._sel_appStoreReceiptURL1); + final _ret = _lib._objc_msgSend_45( + this.pointer, + _lib._sel_appStoreReceiptURL1, + ); return _ret.address == 0 ? null : NSURL._(_ret, _lib, retain: true, release: true); } NSString get bundlePath { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_bundlePath1); + final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_bundlePath1); return NSString._(_ret, _lib, retain: true, release: true); } NSString? get resourcePath { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_resourcePath1); + final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_resourcePath1); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } NSString? get executablePath { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_executablePath1); + final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_executablePath1); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); @@ -55565,66 +73556,88 @@ class NSBundle extends NSObject { NSString? pathForAuxiliaryExecutable_(NSString executableName) { final _ret = _lib._objc_msgSend_186( - _id, _lib._sel_pathForAuxiliaryExecutable_1, executableName._id); + this.pointer, + _lib._sel_pathForAuxiliaryExecutable_1, + executableName.pointer, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } NSString? get privateFrameworksPath { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_privateFrameworksPath1); + final _ret = _lib._objc_msgSend_44( + this.pointer, + _lib._sel_privateFrameworksPath1, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } NSString? get sharedFrameworksPath { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_sharedFrameworksPath1); + final _ret = _lib._objc_msgSend_44( + this.pointer, + _lib._sel_sharedFrameworksPath1, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } NSString? get sharedSupportPath { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_sharedSupportPath1); + final _ret = _lib._objc_msgSend_44( + this.pointer, + _lib._sel_sharedSupportPath1, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } NSString? get builtInPlugInsPath { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_builtInPlugInsPath1); + final _ret = _lib._objc_msgSend_44( + this.pointer, + _lib._sel_builtInPlugInsPath1, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } static NSURL? URLForResource_withExtension_subdirectory_inBundleWithURL_( - SwiftLibrary _lib, - NSString? name, - NSString? ext, - NSString? subpath, - NSURL bundleURL) { + SwiftLibrary _lib, + NSString? name, + NSString? ext, + NSString? subpath, + NSURL bundleURL, + ) { final _ret = _lib._objc_msgSend_698( - _lib._class_NSBundle1, - _lib._sel_URLForResource_withExtension_subdirectory_inBundleWithURL_1, - name?._id ?? ffi.nullptr, - ext?._id ?? ffi.nullptr, - subpath?._id ?? ffi.nullptr, - bundleURL._id); + _lib._class_NSBundle1, + _lib._sel_URLForResource_withExtension_subdirectory_inBundleWithURL_1, + name?.pointer ?? ffi.nullptr, + ext?.pointer ?? ffi.nullptr, + subpath?.pointer ?? ffi.nullptr, + bundleURL.pointer, + ); return _ret.address == 0 ? null : NSURL._(_ret, _lib, retain: true, release: true); } static NSArray? URLsForResourcesWithExtension_subdirectory_inBundleWithURL_( - SwiftLibrary _lib, NSString? ext, NSString? subpath, NSURL bundleURL) { + SwiftLibrary _lib, + NSString? ext, + NSString? subpath, + NSURL bundleURL, + ) { final _ret = _lib._objc_msgSend_699( - _lib._class_NSBundle1, - _lib._sel_URLsForResourcesWithExtension_subdirectory_inBundleWithURL_1, - ext?._id ?? ffi.nullptr, - subpath?._id ?? ffi.nullptr, - bundleURL._id); + _lib._class_NSBundle1, + _lib._sel_URLsForResourcesWithExtension_subdirectory_inBundleWithURL_1, + ext?.pointer ?? ffi.nullptr, + subpath?.pointer ?? ffi.nullptr, + bundleURL.pointer, + ); return _ret.address == 0 ? null : NSArray._(_ret, _lib, retain: true, release: true); @@ -55632,162 +73645,217 @@ class NSBundle extends NSObject { NSURL? URLForResource_withExtension_(NSString? name, NSString? ext) { final _ret = _lib._objc_msgSend_700( - _id, - _lib._sel_URLForResource_withExtension_1, - name?._id ?? ffi.nullptr, - ext?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_URLForResource_withExtension_1, + name?.pointer ?? ffi.nullptr, + ext?.pointer ?? ffi.nullptr, + ); return _ret.address == 0 ? null : NSURL._(_ret, _lib, retain: true, release: true); } NSURL? URLForResource_withExtension_subdirectory_( - NSString? name, NSString? ext, NSString? subpath) { + NSString? name, + NSString? ext, + NSString? subpath, + ) { final _ret = _lib._objc_msgSend_701( - _id, - _lib._sel_URLForResource_withExtension_subdirectory_1, - name?._id ?? ffi.nullptr, - ext?._id ?? ffi.nullptr, - subpath?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_URLForResource_withExtension_subdirectory_1, + name?.pointer ?? ffi.nullptr, + ext?.pointer ?? ffi.nullptr, + subpath?.pointer ?? ffi.nullptr, + ); return _ret.address == 0 ? null : NSURL._(_ret, _lib, retain: true, release: true); } - NSURL? URLForResource_withExtension_subdirectory_localization_(NSString? name, - NSString? ext, NSString? subpath, NSString? localizationName) { + NSURL? URLForResource_withExtension_subdirectory_localization_( + NSString? name, + NSString? ext, + NSString? subpath, + NSString? localizationName, + ) { final _ret = _lib._objc_msgSend_702( - _id, - _lib._sel_URLForResource_withExtension_subdirectory_localization_1, - name?._id ?? ffi.nullptr, - ext?._id ?? ffi.nullptr, - subpath?._id ?? ffi.nullptr, - localizationName?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_URLForResource_withExtension_subdirectory_localization_1, + name?.pointer ?? ffi.nullptr, + ext?.pointer ?? ffi.nullptr, + subpath?.pointer ?? ffi.nullptr, + localizationName?.pointer ?? ffi.nullptr, + ); return _ret.address == 0 ? null : NSURL._(_ret, _lib, retain: true, release: true); } NSArray? URLsForResourcesWithExtension_subdirectory_( - NSString? ext, NSString? subpath) { + NSString? ext, + NSString? subpath, + ) { final _ret = _lib._objc_msgSend_703( - _id, - _lib._sel_URLsForResourcesWithExtension_subdirectory_1, - ext?._id ?? ffi.nullptr, - subpath?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_URLsForResourcesWithExtension_subdirectory_1, + ext?.pointer ?? ffi.nullptr, + subpath?.pointer ?? ffi.nullptr, + ); return _ret.address == 0 ? null : NSArray._(_ret, _lib, retain: true, release: true); } NSArray? URLsForResourcesWithExtension_subdirectory_localization_( - NSString? ext, NSString? subpath, NSString? localizationName) { + NSString? ext, + NSString? subpath, + NSString? localizationName, + ) { final _ret = _lib._objc_msgSend_704( - _id, - _lib._sel_URLsForResourcesWithExtension_subdirectory_localization_1, - ext?._id ?? ffi.nullptr, - subpath?._id ?? ffi.nullptr, - localizationName?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_URLsForResourcesWithExtension_subdirectory_localization_1, + ext?.pointer ?? ffi.nullptr, + subpath?.pointer ?? ffi.nullptr, + localizationName?.pointer ?? ffi.nullptr, + ); return _ret.address == 0 ? null : NSArray._(_ret, _lib, retain: true, release: true); } static NSString? pathForResource_ofType_inDirectory_( - SwiftLibrary _lib, NSString? name, NSString? ext, NSString bundlePath) { + SwiftLibrary _lib, + NSString? name, + NSString? ext, + NSString bundlePath, + ) { final _ret = _lib._objc_msgSend_705( - _lib._class_NSBundle1, - _lib._sel_pathForResource_ofType_inDirectory_1, - name?._id ?? ffi.nullptr, - ext?._id ?? ffi.nullptr, - bundlePath._id); + _lib._class_NSBundle1, + _lib._sel_pathForResource_ofType_inDirectory_1, + name?.pointer ?? ffi.nullptr, + ext?.pointer ?? ffi.nullptr, + bundlePath.pointer, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } static NSArray pathsForResourcesOfType_inDirectory_( - SwiftLibrary _lib, NSString? ext, NSString bundlePath) { + SwiftLibrary _lib, + NSString? ext, + NSString bundlePath, + ) { final _ret = _lib._objc_msgSend_706( - _lib._class_NSBundle1, - _lib._sel_pathsForResourcesOfType_inDirectory_1, - ext?._id ?? ffi.nullptr, - bundlePath._id); + _lib._class_NSBundle1, + _lib._sel_pathsForResourcesOfType_inDirectory_1, + ext?.pointer ?? ffi.nullptr, + bundlePath.pointer, + ); return NSArray._(_ret, _lib, retain: true, release: true); } NSString? pathForResource_ofType_(NSString? name, NSString? ext) { - final _ret = _lib._objc_msgSend_707(_id, _lib._sel_pathForResource_ofType_1, - name?._id ?? ffi.nullptr, ext?._id ?? ffi.nullptr); + final _ret = _lib._objc_msgSend_707( + this.pointer, + _lib._sel_pathForResource_ofType_1, + name?.pointer ?? ffi.nullptr, + ext?.pointer ?? ffi.nullptr, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } - NSString? pathForResource_ofType_inDirectory_forLocalization_(NSString? name, - NSString? ext, NSString? subpath, NSString? localizationName) { + NSString? pathForResource_ofType_inDirectory_forLocalization_( + NSString? name, + NSString? ext, + NSString? subpath, + NSString? localizationName, + ) { final _ret = _lib._objc_msgSend_708( - _id, - _lib._sel_pathForResource_ofType_inDirectory_forLocalization_1, - name?._id ?? ffi.nullptr, - ext?._id ?? ffi.nullptr, - subpath?._id ?? ffi.nullptr, - localizationName?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_pathForResource_ofType_inDirectory_forLocalization_1, + name?.pointer ?? ffi.nullptr, + ext?.pointer ?? ffi.nullptr, + subpath?.pointer ?? ffi.nullptr, + localizationName?.pointer ?? ffi.nullptr, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } NSArray pathsForResourcesOfType_inDirectory_forLocalization_( - NSString? ext, NSString? subpath, NSString? localizationName) { + NSString? ext, + NSString? subpath, + NSString? localizationName, + ) { final _ret = _lib._objc_msgSend_709( - _id, - _lib._sel_pathsForResourcesOfType_inDirectory_forLocalization_1, - ext?._id ?? ffi.nullptr, - subpath?._id ?? ffi.nullptr, - localizationName?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_pathsForResourcesOfType_inDirectory_forLocalization_1, + ext?.pointer ?? ffi.nullptr, + subpath?.pointer ?? ffi.nullptr, + localizationName?.pointer ?? ffi.nullptr, + ); return NSArray._(_ret, _lib, retain: true, release: true); } NSString localizedStringForKey_value_table_( - NSString key, NSString? value, NSString? tableName) { + NSString key, + NSString? value, + NSString? tableName, + ) { final _ret = _lib._objc_msgSend_710( - _id, - _lib._sel_localizedStringForKey_value_table_1, - key._id, - value?._id ?? ffi.nullptr, - tableName?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_localizedStringForKey_value_table_1, + key.pointer, + value?.pointer ?? ffi.nullptr, + tableName?.pointer ?? ffi.nullptr, + ); return NSString._(_ret, _lib, retain: true, release: true); } NSAttributedString localizedAttributedStringForKey_value_table_( - NSString key, NSString? value, NSString? tableName) { + NSString key, + NSString? value, + NSString? tableName, + ) { final _ret = _lib._objc_msgSend_736( - _id, - _lib._sel_localizedAttributedStringForKey_value_table_1, - key._id, - value?._id ?? ffi.nullptr, - tableName?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_localizedAttributedStringForKey_value_table_1, + key.pointer, + value?.pointer ?? ffi.nullptr, + tableName?.pointer ?? ffi.nullptr, + ); return NSAttributedString._(_ret, _lib, retain: true, release: true); } NSString? get bundleIdentifier { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_bundleIdentifier1); + final _ret = _lib._objc_msgSend_44( + this.pointer, + _lib._sel_bundleIdentifier1, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } NSDictionary? get infoDictionary { - final _ret = _lib._objc_msgSend_390(_id, _lib._sel_infoDictionary1); + final _ret = _lib._objc_msgSend_390( + this.pointer, + _lib._sel_infoDictionary1, + ); return _ret.address == 0 ? null : NSDictionary._(_ret, _lib, retain: true, release: true); } NSDictionary? get localizedInfoDictionary { - final _ret = - _lib._objc_msgSend_390(_id, _lib._sel_localizedInfoDictionary1); + final _ret = _lib._objc_msgSend_390( + this.pointer, + _lib._sel_localizedInfoDictionary1, + ); return _ret.address == 0 ? null : NSDictionary._(_ret, _lib, retain: true, release: true); @@ -55795,65 +73863,87 @@ class NSBundle extends NSObject { NSObject? objectForInfoDictionaryKey_(NSString key) { final _ret = _lib._objc_msgSend_38( - _id, _lib._sel_objectForInfoDictionaryKey_1, key._id); + this.pointer, + _lib._sel_objectForInfoDictionaryKey_1, + key.pointer, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } NSObject? classNamed_(NSString className) { - final _ret = - _lib._objc_msgSend_38(_id, _lib._sel_classNamed_1, className._id); + final _ret = _lib._objc_msgSend_38( + this.pointer, + _lib._sel_classNamed_1, + className.pointer, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } NSObject? get principalClass { - final _ret = _lib._objc_msgSend_17(_id, _lib._sel_principalClass1); + final _ret = _lib._objc_msgSend_17(this.pointer, _lib._sel_principalClass1); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } NSArray get preferredLocalizations { - final _ret = _lib._objc_msgSend_85(_id, _lib._sel_preferredLocalizations1); + final _ret = _lib._objc_msgSend_85( + this.pointer, + _lib._sel_preferredLocalizations1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } NSArray get localizations { - final _ret = _lib._objc_msgSend_85(_id, _lib._sel_localizations1); + final _ret = _lib._objc_msgSend_85(this.pointer, _lib._sel_localizations1); return NSArray._(_ret, _lib, retain: true, release: true); } NSString? get developmentLocalization { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_developmentLocalization1); + final _ret = _lib._objc_msgSend_44( + this.pointer, + _lib._sel_developmentLocalization1, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } static NSArray preferredLocalizationsFromArray_( - SwiftLibrary _lib, NSArray localizationsArray) { - final _ret = _lib._objc_msgSend_68(_lib._class_NSBundle1, - _lib._sel_preferredLocalizationsFromArray_1, localizationsArray._id); + SwiftLibrary _lib, + NSArray localizationsArray, + ) { + final _ret = _lib._objc_msgSend_68( + _lib._class_NSBundle1, + _lib._sel_preferredLocalizationsFromArray_1, + localizationsArray.pointer, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSArray preferredLocalizationsFromArray_forPreferences_( - SwiftLibrary _lib, - NSArray localizationsArray, - NSArray? preferencesArray) { + SwiftLibrary _lib, + NSArray localizationsArray, + NSArray? preferencesArray, + ) { final _ret = _lib._objc_msgSend_737( - _lib._class_NSBundle1, - _lib._sel_preferredLocalizationsFromArray_forPreferences_1, - localizationsArray._id, - preferencesArray?._id ?? ffi.nullptr); + _lib._class_NSBundle1, + _lib._sel_preferredLocalizationsFromArray_forPreferences_1, + localizationsArray.pointer, + preferencesArray?.pointer ?? ffi.nullptr, + ); return NSArray._(_ret, _lib, retain: true, release: true); } NSArray? get executableArchitectures { - final _ret = _lib._objc_msgSend_84(_id, _lib._sel_executableArchitectures1); + final _ret = _lib._objc_msgSend_84( + this.pointer, + _lib._sel_executableArchitectures1, + ); return _ret.address == 0 ? null : NSArray._(_ret, _lib, retain: true, release: true); @@ -55861,20 +73951,30 @@ class NSBundle extends NSObject { void setPreservationPriority_forTags_(double priority, NSSet tags) { _lib._objc_msgSend_738( - _id, _lib._sel_setPreservationPriority_forTags_1, priority, tags._id); + this.pointer, + _lib._sel_setPreservationPriority_forTags_1, + priority, + tags.pointer, + ); } double preservationPriorityForTag_(NSString tag) { - return _lib._objc_msgSend_useVariants1 + return objc.useMsgSendVariants ? _lib._objc_msgSend_308_fpret( - _id, _lib._sel_preservationPriorityForTag_1, tag._id) + this.pointer, + _lib._sel_preservationPriorityForTag_1, + tag.pointer, + ) : _lib._objc_msgSend_308( - _id, _lib._sel_preservationPriorityForTag_1, tag._id); + this.pointer, + _lib._sel_preservationPriorityForTag_1, + tag.pointer, + ); } @override NSBundle init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSBundle._(_ret, _lib, retain: true, release: true); } @@ -55885,7 +73985,10 @@ class NSBundle extends NSObject { static NSBundle allocWithZone_(SwiftLibrary _lib, ffi.Pointer<_NSZone> zone) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSBundle1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSBundle1, + _lib._sel_allocWithZone_1, + zone, + ); return NSBundle._(_ret, _lib, retain: false, release: true); } @@ -55895,117 +73998,172 @@ class NSBundle extends NSObject { } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + SwiftLibrary _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSBundle1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSBundle1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSBundle1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + SwiftLibrary _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSBundle1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { return _lib._objc_msgSend_12( - _lib._class_NSBundle1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_NSBundle1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(SwiftLibrary _lib) { return _lib._objc_msgSend_12( - _lib._class_NSBundle1, _lib._sel_useStoredAccessor1); + _lib._class_NSBundle1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSBundle1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSBundle1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSBundle1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSBundle1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, NSArray keys, NSString dependentKey) { + SwiftLibrary _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSBundle1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSBundle1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_85( - _lib._class_NSBundle1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSBundle1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSBundle1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSBundle1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } class NSAttributedString extends NSObject { - NSAttributedString._(ffi.Pointer id, SwiftLibrary lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSAttributedString._( + ffi.Pointer pointer, + SwiftLibrary lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSAttributedString] that points to the same underlying object as [other]. - static NSAttributedString castFrom(T other) { - return NSAttributedString._(other._id, other._lib, - retain: true, release: true); + static NSAttributedString castFrom( + SwiftLibrary lib, + T other, + ) { + return NSAttributedString._( + other.pointer, + lib, + retain: true, + release: true, + ); } /// Returns a [NSAttributedString] that wraps the given raw object pointer. static NSAttributedString castFromPointer( - SwiftLibrary lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + SwiftLibrary lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSAttributedString._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSAttributedString]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0(obj._id, obj._lib._sel_isKindOfClass_1, - obj._lib._class_NSAttributedString1); + static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSAttributedString1, + ); } NSString get string { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_string1); + final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_string1); return NSString._(_ret, _lib, retain: true, release: true); } NSDictionary attributesAtIndex_effectiveRange_( - int location, ffi.Pointer<_NSRange> range) { + int location, + ffi.Pointer<_NSRange> range, + ) { final _ret = _lib._objc_msgSend_711( - _id, _lib._sel_attributesAtIndex_effectiveRange_1, location, range); + this.pointer, + _lib._sel_attributesAtIndex_effectiveRange_1, + location, + range, + ); return NSDictionary._(_ret, _lib, retain: true, release: true); } int get length { - return _lib._objc_msgSend_10(_id, _lib._sel_length1); + return _lib._objc_msgSend_10(this.pointer, _lib._sel_length1); } NSObject? attribute_atIndex_effectiveRange_( - NSString attrName, int location, ffi.Pointer<_NSRange> range) { + NSString attrName, + int location, + ffi.Pointer<_NSRange> range, + ) { final _ret = _lib._objc_msgSend_712( - _id, - _lib._sel_attribute_atIndex_effectiveRange_1, - attrName._id, - location, - range); + this.pointer, + _lib._sel_attribute_atIndex_effectiveRange_1, + attrName.pointer, + location, + range, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); @@ -56013,30 +74171,42 @@ class NSAttributedString extends NSObject { NSAttributedString attributedSubstringFromRange_(_NSRange range) { final _ret = _lib._objc_msgSend_713( - _id, _lib._sel_attributedSubstringFromRange_1, range); + this.pointer, + _lib._sel_attributedSubstringFromRange_1, + range, + ); return NSAttributedString._(_ret, _lib, retain: true, release: true); } NSDictionary attributesAtIndex_longestEffectiveRange_inRange_( - int location, ffi.Pointer<_NSRange> range, _NSRange rangeLimit) { + int location, + ffi.Pointer<_NSRange> range, + _NSRange rangeLimit, + ) { final _ret = _lib._objc_msgSend_714( - _id, - _lib._sel_attributesAtIndex_longestEffectiveRange_inRange_1, - location, - range, - rangeLimit); + this.pointer, + _lib._sel_attributesAtIndex_longestEffectiveRange_inRange_1, + location, + range, + rangeLimit, + ); return NSDictionary._(_ret, _lib, retain: true, release: true); } - NSObject? attribute_atIndex_longestEffectiveRange_inRange_(NSString attrName, - int location, ffi.Pointer<_NSRange> range, _NSRange rangeLimit) { + NSObject? attribute_atIndex_longestEffectiveRange_inRange_( + NSString attrName, + int location, + ffi.Pointer<_NSRange> range, + _NSRange rangeLimit, + ) { final _ret = _lib._objc_msgSend_715( - _id, - _lib._sel_attribute_atIndex_longestEffectiveRange_inRange_1, - attrName._id, - location, - range, - rangeLimit); + this.pointer, + _lib._sel_attribute_atIndex_longestEffectiveRange_inRange_1, + attrName.pointer, + location, + range, + rangeLimit, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); @@ -56044,295 +74214,387 @@ class NSAttributedString extends NSObject { bool isEqualToAttributedString_(NSAttributedString other) { return _lib._objc_msgSend_716( - _id, _lib._sel_isEqualToAttributedString_1, other._id); + this.pointer, + _lib._sel_isEqualToAttributedString_1, + other.pointer, + ); } NSAttributedString initWithString_(NSString str) { - final _ret = - _lib._objc_msgSend_31(_id, _lib._sel_initWithString_1, str._id); + final _ret = _lib._objc_msgSend_31( + this.pointer, + _lib._sel_initWithString_1, + str.pointer, + ); return NSAttributedString._(_ret, _lib, retain: true, release: true); } NSAttributedString initWithString_attributes_( - NSString str, NSDictionary? attrs) { + NSString str, + NSDictionary? attrs, + ) { final _ret = _lib._objc_msgSend_717( - _id, - _lib._sel_initWithString_attributes_1, - str._id, - attrs?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_initWithString_attributes_1, + str.pointer, + attrs?.pointer ?? ffi.nullptr, + ); return NSAttributedString._(_ret, _lib, retain: true, release: true); } NSAttributedString initWithAttributedString_(NSAttributedString attrStr) { final _ret = _lib._objc_msgSend_718( - _id, _lib._sel_initWithAttributedString_1, attrStr._id); + this.pointer, + _lib._sel_initWithAttributedString_1, + attrStr.pointer, + ); return NSAttributedString._(_ret, _lib, retain: true, release: true); } - void enumerateAttributesInRange_options_usingBlock_(_NSRange enumerationRange, - int opts, ObjCBlock_ffiVoid_NSDictionary_NSRange_bool block) { + void enumerateAttributesInRange_options_usingBlock_( + _NSRange enumerationRange, + int opts, + ObjCBlock_ffiVoid_NSDictionary_NSRange_bool block, + ) { _lib._objc_msgSend_719( - _id, - _lib._sel_enumerateAttributesInRange_options_usingBlock_1, - enumerationRange, - opts, - block._id); + this.pointer, + _lib._sel_enumerateAttributesInRange_options_usingBlock_1, + enumerationRange, + opts, + block.pointer, + ); } void enumerateAttribute_inRange_options_usingBlock_( - NSString attrName, - _NSRange enumerationRange, - int opts, - ObjCBlock_ffiVoid_ObjCObject_NSRange_bool block) { + NSString attrName, + _NSRange enumerationRange, + int opts, + ObjCBlock_ffiVoid_objcObjCObject_NSRange_bool block, + ) { _lib._objc_msgSend_720( - _id, - _lib._sel_enumerateAttribute_inRange_options_usingBlock_1, - attrName._id, - enumerationRange, - opts, - block._id); + this.pointer, + _lib._sel_enumerateAttribute_inRange_options_usingBlock_1, + attrName.pointer, + enumerationRange, + opts, + block.pointer, + ); } NSAttributedString? - initWithContentsOfMarkdownFileAtURL_options_baseURL_error_( - NSURL markdownFile, - NSAttributedStringMarkdownParsingOptions? options, - NSURL? baseURL, - ffi.Pointer> error) { + initWithContentsOfMarkdownFileAtURL_options_baseURL_error_( + NSURL markdownFile, + NSAttributedStringMarkdownParsingOptions? options, + NSURL? baseURL, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_725( - _id, - _lib._sel_initWithContentsOfMarkdownFileAtURL_options_baseURL_error_1, - markdownFile._id, - options?._id ?? ffi.nullptr, - baseURL?._id ?? ffi.nullptr, - error); + this.pointer, + _lib._sel_initWithContentsOfMarkdownFileAtURL_options_baseURL_error_1, + markdownFile.pointer, + options?.pointer ?? ffi.nullptr, + baseURL?.pointer ?? ffi.nullptr, + error, + ); return _ret.address == 0 ? null : NSAttributedString._(_ret, _lib, retain: true, release: true); } NSAttributedString? initWithMarkdown_options_baseURL_error_( - NSData markdown, - NSAttributedStringMarkdownParsingOptions? options, - NSURL? baseURL, - ffi.Pointer> error) { + NSData markdown, + NSAttributedStringMarkdownParsingOptions? options, + NSURL? baseURL, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_726( - _id, - _lib._sel_initWithMarkdown_options_baseURL_error_1, - markdown._id, - options?._id ?? ffi.nullptr, - baseURL?._id ?? ffi.nullptr, - error); + this.pointer, + _lib._sel_initWithMarkdown_options_baseURL_error_1, + markdown.pointer, + options?.pointer ?? ffi.nullptr, + baseURL?.pointer ?? ffi.nullptr, + error, + ); return _ret.address == 0 ? null : NSAttributedString._(_ret, _lib, retain: true, release: true); } NSAttributedString? initWithMarkdownString_options_baseURL_error_( - NSString markdownString, - NSAttributedStringMarkdownParsingOptions? options, - NSURL? baseURL, - ffi.Pointer> error) { + NSString markdownString, + NSAttributedStringMarkdownParsingOptions? options, + NSURL? baseURL, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_727( - _id, - _lib._sel_initWithMarkdownString_options_baseURL_error_1, - markdownString._id, - options?._id ?? ffi.nullptr, - baseURL?._id ?? ffi.nullptr, - error); + this.pointer, + _lib._sel_initWithMarkdownString_options_baseURL_error_1, + markdownString.pointer, + options?.pointer ?? ffi.nullptr, + baseURL?.pointer ?? ffi.nullptr, + error, + ); return _ret.address == 0 ? null : NSAttributedString._(_ret, _lib, retain: true, release: true); } NSAttributedString initWithFormat_options_locale_( - NSAttributedString format, int options, NSLocale? locale) { + NSAttributedString format, + int options, + NSLocale? locale, + ) { final _ret = _lib._objc_msgSend_728( - _id, - _lib._sel_initWithFormat_options_locale_1, - format._id, - options, - locale?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_initWithFormat_options_locale_1, + format.pointer, + options, + locale?.pointer ?? ffi.nullptr, + ); return NSAttributedString._(_ret, _lib, retain: true, release: true); } NSAttributedString initWithFormat_options_locale_arguments_( - NSAttributedString format, - int options, - NSLocale? locale, - ffi.Pointer<__va_list_tag> arguments) { + NSAttributedString format, + int options, + NSLocale? locale, + ffi.Pointer<__va_list_tag> arguments, + ) { final _ret = _lib._objc_msgSend_729( - _id, - _lib._sel_initWithFormat_options_locale_arguments_1, - format._id, - options, - locale?._id ?? ffi.nullptr, - arguments); + this.pointer, + _lib._sel_initWithFormat_options_locale_arguments_1, + format.pointer, + options, + locale?.pointer ?? ffi.nullptr, + arguments, + ); return NSAttributedString._(_ret, _lib, retain: true, release: true); } static NSAttributedString localizedAttributedStringWithFormat_( - SwiftLibrary _lib, NSAttributedString format) { - final _ret = _lib._objc_msgSend_718(_lib._class_NSAttributedString1, - _lib._sel_localizedAttributedStringWithFormat_1, format._id); + SwiftLibrary _lib, + NSAttributedString format, + ) { + final _ret = _lib._objc_msgSend_718( + _lib._class_NSAttributedString1, + _lib._sel_localizedAttributedStringWithFormat_1, + format.pointer, + ); return NSAttributedString._(_ret, _lib, retain: true, release: true); } static NSAttributedString localizedAttributedStringWithFormat_options_( - SwiftLibrary _lib, NSAttributedString format, int options) { + SwiftLibrary _lib, + NSAttributedString format, + int options, + ) { final _ret = _lib._objc_msgSend_730( - _lib._class_NSAttributedString1, - _lib._sel_localizedAttributedStringWithFormat_options_1, - format._id, - options); + _lib._class_NSAttributedString1, + _lib._sel_localizedAttributedStringWithFormat_options_1, + format.pointer, + options, + ); return NSAttributedString._(_ret, _lib, retain: true, release: true); } NSAttributedString initWithFormat_options_locale_context_( - NSAttributedString format, - int options, - NSLocale? locale, - NSDictionary context) { + NSAttributedString format, + int options, + NSLocale? locale, + NSDictionary context, + ) { final _ret = _lib._objc_msgSend_731( - _id, - _lib._sel_initWithFormat_options_locale_context_1, - format._id, - options, - locale?._id ?? ffi.nullptr, - context._id); + this.pointer, + _lib._sel_initWithFormat_options_locale_context_1, + format.pointer, + options, + locale?.pointer ?? ffi.nullptr, + context.pointer, + ); return NSAttributedString._(_ret, _lib, retain: true, release: true); } NSAttributedString initWithFormat_options_locale_context_arguments_( - NSAttributedString format, - int options, - NSLocale? locale, - NSDictionary context, - ffi.Pointer<__va_list_tag> arguments) { + NSAttributedString format, + int options, + NSLocale? locale, + NSDictionary context, + ffi.Pointer<__va_list_tag> arguments, + ) { final _ret = _lib._objc_msgSend_732( - _id, - _lib._sel_initWithFormat_options_locale_context_arguments_1, - format._id, - options, - locale?._id ?? ffi.nullptr, - context._id, - arguments); + this.pointer, + _lib._sel_initWithFormat_options_locale_context_arguments_1, + format.pointer, + options, + locale?.pointer ?? ffi.nullptr, + context.pointer, + arguments, + ); return NSAttributedString._(_ret, _lib, retain: true, release: true); } static NSAttributedString localizedAttributedStringWithFormat_context_( - SwiftLibrary _lib, NSAttributedString format, NSDictionary context) { + SwiftLibrary _lib, + NSAttributedString format, + NSDictionary context, + ) { final _ret = _lib._objc_msgSend_733( - _lib._class_NSAttributedString1, - _lib._sel_localizedAttributedStringWithFormat_context_1, - format._id, - context._id); + _lib._class_NSAttributedString1, + _lib._sel_localizedAttributedStringWithFormat_context_1, + format.pointer, + context.pointer, + ); return NSAttributedString._(_ret, _lib, retain: true, release: true); } static NSAttributedString - localizedAttributedStringWithFormat_options_context_(SwiftLibrary _lib, - NSAttributedString format, int options, NSDictionary context) { + localizedAttributedStringWithFormat_options_context_( + SwiftLibrary _lib, + NSAttributedString format, + int options, + NSDictionary context, + ) { final _ret = _lib._objc_msgSend_734( - _lib._class_NSAttributedString1, - _lib._sel_localizedAttributedStringWithFormat_options_context_1, - format._id, - options, - context._id); + _lib._class_NSAttributedString1, + _lib._sel_localizedAttributedStringWithFormat_options_context_1, + format.pointer, + options, + context.pointer, + ); return NSAttributedString._(_ret, _lib, retain: true, release: true); } NSAttributedString attributedStringByInflectingString() { final _ret = _lib._objc_msgSend_735( - _id, _lib._sel_attributedStringByInflectingString1); + this.pointer, + _lib._sel_attributedStringByInflectingString1, + ); return NSAttributedString._(_ret, _lib, retain: true, release: true); } @override NSAttributedString init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSAttributedString._(_ret, _lib, retain: true, release: true); } static NSAttributedString new1(SwiftLibrary _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSAttributedString1, _lib._sel_new1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSAttributedString1, + _lib._sel_new1, + ); return NSAttributedString._(_ret, _lib, retain: false, release: true); } static NSAttributedString allocWithZone_( - SwiftLibrary _lib, ffi.Pointer<_NSZone> zone) { + SwiftLibrary _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSAttributedString1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSAttributedString1, + _lib._sel_allocWithZone_1, + zone, + ); return NSAttributedString._(_ret, _lib, retain: false, release: true); } static NSAttributedString alloc(SwiftLibrary _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSAttributedString1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSAttributedString1, + _lib._sel_alloc1, + ); return NSAttributedString._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + SwiftLibrary _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSAttributedString1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSAttributedString1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSAttributedString1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + SwiftLibrary _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSAttributedString1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { - return _lib._objc_msgSend_12(_lib._class_NSAttributedString1, - _lib._sel_accessInstanceVariablesDirectly1); + return _lib._objc_msgSend_12( + _lib._class_NSAttributedString1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(SwiftLibrary _lib) { return _lib._objc_msgSend_12( - _lib._class_NSAttributedString1, _lib._sel_useStoredAccessor1); + _lib._class_NSAttributedString1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSAttributedString1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSAttributedString1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSAttributedString1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSAttributedString1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, NSArray keys, NSString dependentKey) { + SwiftLibrary _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSAttributedString1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSAttributedString1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_85(_lib._class_NSAttributedString1, - _lib._sel_classFallbacksForKeyedArchiver1); + final _ret = _lib._objc_msgSend_85( + _lib._class_NSAttributedString1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSAttributedString1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSAttributedString1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } @@ -56340,29 +74602,49 @@ class NSAttributedString extends NSObject { abstract class NSAttributedStringEnumerationOptions { static const int NSAttributedStringEnumerationReverse = 2; static const int - NSAttributedStringEnumerationLongestEffectiveRangeNotRequired = 1048576; + NSAttributedStringEnumerationLongestEffectiveRangeNotRequired = 1048576; } void _ObjCBlock_ffiVoid_NSDictionary_NSRange_bool_fnPtrTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - _NSRange arg1, - ffi.Pointer arg2) => - block.ref.target - .cast< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer arg0, _NSRange arg1, - ffi.Pointer arg2)>>() - .asFunction< - void Function(ffi.Pointer, _NSRange, - ffi.Pointer)>()(arg0, arg1, arg2); -final _ObjCBlock_ffiVoid_NSDictionary_NSRange_bool_closureRegistry = , _NSRange, ffi.Pointer)>{}; + ffi.Pointer block, + ffi.Pointer arg0, + _NSRange arg1, + ffi.Pointer arg2, +) => block.ref.target + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + _NSRange arg1, + ffi.Pointer arg2, + ) + > + >() + .asFunction< + void Function( + ffi.Pointer, + _NSRange, + ffi.Pointer, + ) + >()(arg0, arg1, arg2); +final _ObjCBlock_ffiVoid_NSDictionary_NSRange_bool_closureRegistry = + < + int, + void Function( + ffi.Pointer, + _NSRange, + ffi.Pointer, + ) + >{}; int _ObjCBlock_ffiVoid_NSDictionary_NSRange_bool_closureRegistryIndex = 0; ffi.Pointer - _ObjCBlock_ffiVoid_NSDictionary_NSRange_bool_registerClosure( - void Function(ffi.Pointer, _NSRange, ffi.Pointer) - fn) { +_ObjCBlock_ffiVoid_NSDictionary_NSRange_bool_registerClosure( + void Function( + ffi.Pointer, + _NSRange, + ffi.Pointer, + ) fn, +) { final id = ++_ObjCBlock_ffiVoid_NSDictionary_NSRange_bool_closureRegistryIndex; _ObjCBlock_ffiVoid_NSDictionary_NSRange_bool_closureRegistry[id] = fn; @@ -56370,25 +74652,38 @@ ffi.Pointer } void _ObjCBlock_ffiVoid_NSDictionary_NSRange_bool_closureTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - _NSRange arg1, - ffi.Pointer arg2) => - _ObjCBlock_ffiVoid_NSDictionary_NSRange_bool_closureRegistry[ - block.ref.target.address]!(arg0, arg1, arg2); - -class ObjCBlock_ffiVoid_NSDictionary_NSRange_bool extends _ObjCBlockBase { + ffi.Pointer block, + ffi.Pointer arg0, + _NSRange arg1, + ffi.Pointer arg2, +) => _ObjCBlock_ffiVoid_NSDictionary_NSRange_bool_closureRegistry[block + .ref + .target + .address]!(arg0, arg1, arg2); + +class ObjCBlock_ffiVoid_NSDictionary_NSRange_bool extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSDictionary_NSRange_bool._( - ffi.Pointer<_ObjCBlock> id, SwiftLibrary lib, - {bool retain = false, bool release = true}) - : super._(id, lib, retain: retain, release: release); + ffi.Pointer pointer, + this._lib, { + bool retain = false, + bool release = true, + }) : super(pointer, retain: retain, release: release); + + SwiftLibrary _lib; /// Returns a block that wraps the given raw block pointer. static ObjCBlock_ffiVoid_NSDictionary_NSRange_bool castFromPointer( - SwiftLibrary lib, ffi.Pointer<_ObjCBlock> pointer, - {bool retain = false, bool release = false}) { - return ObjCBlock_ffiVoid_NSDictionary_NSRange_bool._(pointer, lib, - retain: retain, release: release); + SwiftLibrary lib, + ffi.Pointer pointer, { + bool retain = false, + bool release = false, + }) { + return ObjCBlock_ffiVoid_NSDictionary_NSRange_bool._( + pointer, + lib, + retain: retain, + release: release, + ); } /// Creates a block from a C function pointer. @@ -56397,24 +74692,30 @@ class ObjCBlock_ffiVoid_NSDictionary_NSRange_bool extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSDictionary_NSRange_bool.fromFunctionPointer( - SwiftLibrary lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer arg0, _NSRange arg1, - ffi.Pointer arg2)>> - ptr) - : this._( - lib._newBlock1( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - _NSRange, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_NSDictionary_NSRange_bool_fnPtrTrampoline) - .cast(), - ptr.cast()), - lib); + SwiftLibrary lib, + ffi.Pointer< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + _NSRange arg1, + ffi.Pointer arg2, + ) + > + > ptr, + ) : this._(objc.newBlock( + _cFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + ) + >( + _ObjCBlock_ffiVoid_NSDictionary_NSRange_bool_fnPtrTrampoline, + ).cast(), + ptr.cast(), + ), lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -56422,23 +74723,32 @@ class ObjCBlock_ffiVoid_NSDictionary_NSRange_bool extends _ObjCBlockBase { /// This block must be invoked by native code running on the same thread as /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. - ObjCBlock_ffiVoid_NSDictionary_NSRange_bool.fromFunction(SwiftLibrary lib, - void Function(NSDictionary, _NSRange, ffi.Pointer) fn) - : this._( - lib._newBlock1( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - _NSRange, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_NSDictionary_NSRange_bool_closureTrampoline) - .cast(), - _ObjCBlock_ffiVoid_NSDictionary_NSRange_bool_registerClosure( - (ffi.Pointer arg0, _NSRange arg1, - ffi.Pointer arg2) => - fn(NSDictionary._(arg0, lib, retain: true, release: true), arg1, arg2))), - lib); + ObjCBlock_ffiVoid_NSDictionary_NSRange_bool.fromFunction( + SwiftLibrary lib, + void Function(NSDictionary, _NSRange, ffi.Pointer) fn, + ) : this._(objc.newBlock( + _dartFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + ) + >( + _ObjCBlock_ffiVoid_NSDictionary_NSRange_bool_closureTrampoline, + ).cast(), + _ObjCBlock_ffiVoid_NSDictionary_NSRange_bool_registerClosure(( + ffi.Pointer arg0, + _NSRange arg1, + ffi.Pointer arg2, + ) => fn(NSDictionary._( + arg0, + lib, + retain: true, + release: true, + ), arg1, arg2)), + ), lib); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -56450,91 +74760,146 @@ class ObjCBlock_ffiVoid_NSDictionary_NSRange_bool extends _ObjCBlockBase { /// /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. - ObjCBlock_ffiVoid_NSDictionary_NSRange_bool.listener(SwiftLibrary lib, - void Function(NSDictionary, _NSRange, ffi.Pointer) fn) - : this._( - lib._newBlock1( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - _NSRange, - ffi.Pointer)>.listener( - _ObjCBlock_ffiVoid_NSDictionary_NSRange_bool_closureTrampoline) - ..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSDictionary_NSRange_bool_registerClosure( - (ffi.Pointer arg0, _NSRange arg1, - ffi.Pointer arg2) => - fn(NSDictionary._(arg0, lib, retain: true, release: true), arg1, arg2))), - lib); + ObjCBlock_ffiVoid_NSDictionary_NSRange_bool.listener( + SwiftLibrary lib, + void Function(NSDictionary, _NSRange, ffi.Pointer) fn, + ) : this._(objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + ) + >.listener( + _ObjCBlock_ffiVoid_NSDictionary_NSRange_bool_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSDictionary_NSRange_bool_registerClosure(( + ffi.Pointer arg0, + _NSRange arg1, + ffi.Pointer arg2, + ) => fn(NSDictionary._( + arg0, + lib, + retain: true, + release: true, + ), arg1, arg2)), + ), lib); static ffi.NativeCallable< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer, - _NSRange, ffi.Pointer)>? _dartFuncListenerTrampoline; - - void call(NSDictionary arg0, _NSRange arg1, ffi.Pointer arg2) => - _id.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - _NSRange arg1, - ffi.Pointer arg2)>>() - .asFunction< - void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - _NSRange, - ffi.Pointer)>()(_id, arg0._id, arg1, arg2); + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + ) + >? _dartFuncListenerTrampoline; + + void call( + NSDictionary arg0, + _NSRange arg1, + ffi.Pointer arg2, + ) => pointer.ref.invoke + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer block, + ffi.Pointer arg0, + _NSRange arg1, + ffi.Pointer arg2, + ) + > + >() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + ) + >()(pointer, arg0.pointer, arg1, arg2); } -void _ObjCBlock_ffiVoid_ObjCObject_NSRange_bool_fnPtrTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - _NSRange arg1, - ffi.Pointer arg2) => - block.ref.target - .cast< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer arg0, _NSRange arg1, - ffi.Pointer arg2)>>() - .asFunction< - void Function(ffi.Pointer, _NSRange, - ffi.Pointer)>()(arg0, arg1, arg2); -final _ObjCBlock_ffiVoid_ObjCObject_NSRange_bool_closureRegistry = , _NSRange, ffi.Pointer)>{}; -int _ObjCBlock_ffiVoid_ObjCObject_NSRange_bool_closureRegistryIndex = 0; +void _ObjCBlock_ffiVoid_objcObjCObject_NSRange_bool_fnPtrTrampoline( + ffi.Pointer block, + ffi.Pointer arg0, + _NSRange arg1, + ffi.Pointer arg2, +) => block.ref.target + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + _NSRange arg1, + ffi.Pointer arg2, + ) + > + >() + .asFunction< + void Function( + ffi.Pointer, + _NSRange, + ffi.Pointer, + ) + >()(arg0, arg1, arg2); +final _ObjCBlock_ffiVoid_objcObjCObject_NSRange_bool_closureRegistry = + < + int, + void Function( + ffi.Pointer, + _NSRange, + ffi.Pointer, + ) + >{}; +int _ObjCBlock_ffiVoid_objcObjCObject_NSRange_bool_closureRegistryIndex = 0; ffi.Pointer - _ObjCBlock_ffiVoid_ObjCObject_NSRange_bool_registerClosure( - void Function(ffi.Pointer, _NSRange, ffi.Pointer) - fn) { - final id = ++_ObjCBlock_ffiVoid_ObjCObject_NSRange_bool_closureRegistryIndex; - _ObjCBlock_ffiVoid_ObjCObject_NSRange_bool_closureRegistry[id] = fn; +_ObjCBlock_ffiVoid_objcObjCObject_NSRange_bool_registerClosure( + void Function( + ffi.Pointer, + _NSRange, + ffi.Pointer, + ) fn, +) { + final id = + ++_ObjCBlock_ffiVoid_objcObjCObject_NSRange_bool_closureRegistryIndex; + _ObjCBlock_ffiVoid_objcObjCObject_NSRange_bool_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } -void _ObjCBlock_ffiVoid_ObjCObject_NSRange_bool_closureTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - _NSRange arg1, - ffi.Pointer arg2) => - _ObjCBlock_ffiVoid_ObjCObject_NSRange_bool_closureRegistry[ - block.ref.target.address]!(arg0, arg1, arg2); - -class ObjCBlock_ffiVoid_ObjCObject_NSRange_bool extends _ObjCBlockBase { - ObjCBlock_ffiVoid_ObjCObject_NSRange_bool._( - ffi.Pointer<_ObjCBlock> id, SwiftLibrary lib, - {bool retain = false, bool release = true}) - : super._(id, lib, retain: retain, release: release); +void _ObjCBlock_ffiVoid_objcObjCObject_NSRange_bool_closureTrampoline( + ffi.Pointer block, + ffi.Pointer arg0, + _NSRange arg1, + ffi.Pointer arg2, +) => _ObjCBlock_ffiVoid_objcObjCObject_NSRange_bool_closureRegistry[block + .ref + .target + .address]!(arg0, arg1, arg2); + +class ObjCBlock_ffiVoid_objcObjCObject_NSRange_bool extends objc.ObjCBlockBase { + ObjCBlock_ffiVoid_objcObjCObject_NSRange_bool._( + ffi.Pointer pointer, + this._lib, { + bool retain = false, + bool release = true, + }) : super(pointer, retain: retain, release: release); + + SwiftLibrary _lib; /// Returns a block that wraps the given raw block pointer. - static ObjCBlock_ffiVoid_ObjCObject_NSRange_bool castFromPointer( - SwiftLibrary lib, ffi.Pointer<_ObjCBlock> pointer, - {bool retain = false, bool release = false}) { - return ObjCBlock_ffiVoid_ObjCObject_NSRange_bool._(pointer, lib, - retain: retain, release: release); + static ObjCBlock_ffiVoid_objcObjCObject_NSRange_bool castFromPointer( + SwiftLibrary lib, + ffi.Pointer pointer, { + bool retain = false, + bool release = false, + }) { + return ObjCBlock_ffiVoid_objcObjCObject_NSRange_bool._( + pointer, + lib, + retain: retain, + release: release, + ); } /// Creates a block from a C function pointer. @@ -56542,25 +74907,31 @@ class ObjCBlock_ffiVoid_ObjCObject_NSRange_bool extends _ObjCBlockBase { /// This block must be invoked by native code running on the same thread as /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. - ObjCBlock_ffiVoid_ObjCObject_NSRange_bool.fromFunctionPointer( - SwiftLibrary lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer arg0, _NSRange arg1, - ffi.Pointer arg2)>> - ptr) - : this._( - lib._newBlock1( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - _NSRange, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_ObjCObject_NSRange_bool_fnPtrTrampoline) - .cast(), - ptr.cast()), - lib); + ObjCBlock_ffiVoid_objcObjCObject_NSRange_bool.fromFunctionPointer( + SwiftLibrary lib, + ffi.Pointer< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + _NSRange arg1, + ffi.Pointer arg2, + ) + > + > ptr, + ) : this._(objc.newBlock( + _cFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + ) + >( + _ObjCBlock_ffiVoid_objcObjCObject_NSRange_bool_fnPtrTrampoline, + ).cast(), + ptr.cast(), + ), lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -56568,23 +74939,33 @@ class ObjCBlock_ffiVoid_ObjCObject_NSRange_bool extends _ObjCBlockBase { /// This block must be invoked by native code running on the same thread as /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. - ObjCBlock_ffiVoid_ObjCObject_NSRange_bool.fromFunction(SwiftLibrary lib, - void Function(NSObject?, _NSRange, ffi.Pointer) fn) - : this._( - lib._newBlock1( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - _NSRange, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_ObjCObject_NSRange_bool_closureTrampoline) - .cast(), - _ObjCBlock_ffiVoid_ObjCObject_NSRange_bool_registerClosure( - (ffi.Pointer arg0, _NSRange arg1, - ffi.Pointer arg2) => - fn(arg0.address == 0 ? null : NSObject._(arg0, lib, retain: true, release: true), arg1, arg2))), - lib); + ObjCBlock_ffiVoid_objcObjCObject_NSRange_bool.fromFunction( + SwiftLibrary lib, + void Function(NSObject?, _NSRange, ffi.Pointer) fn, + ) : this._(objc.newBlock( + _dartFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + ) + >( + _ObjCBlock_ffiVoid_objcObjCObject_NSRange_bool_closureTrampoline, + ).cast(), + _ObjCBlock_ffiVoid_objcObjCObject_NSRange_bool_registerClosure(( + ffi.Pointer arg0, + _NSRange arg1, + ffi.Pointer arg2, + ) => fn( + arg0.address == 0 + ? null + : NSObject._(arg0, lib, retain: true, release: true), + arg1, + arg2, + )), + ), lib); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -56596,105 +74977,164 @@ class ObjCBlock_ffiVoid_ObjCObject_NSRange_bool extends _ObjCBlockBase { /// /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. - ObjCBlock_ffiVoid_ObjCObject_NSRange_bool.listener(SwiftLibrary lib, - void Function(NSObject?, _NSRange, ffi.Pointer) fn) - : this._( - lib._newBlock1( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - _NSRange, - ffi.Pointer)>.listener( - _ObjCBlock_ffiVoid_ObjCObject_NSRange_bool_closureTrampoline) - ..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_ObjCObject_NSRange_bool_registerClosure( - (ffi.Pointer arg0, _NSRange arg1, - ffi.Pointer arg2) => - fn(arg0.address == 0 ? null : NSObject._(arg0, lib, retain: true, release: true), arg1, arg2))), - lib); + ObjCBlock_ffiVoid_objcObjCObject_NSRange_bool.listener( + SwiftLibrary lib, + void Function(NSObject?, _NSRange, ffi.Pointer) fn, + ) : this._(objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + ) + >.listener( + _ObjCBlock_ffiVoid_objcObjCObject_NSRange_bool_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_objcObjCObject_NSRange_bool_registerClosure(( + ffi.Pointer arg0, + _NSRange arg1, + ffi.Pointer arg2, + ) => fn( + arg0.address == 0 + ? null + : NSObject._(arg0, lib, retain: true, release: true), + arg1, + arg2, + )), + ), lib); static ffi.NativeCallable< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer, - _NSRange, ffi.Pointer)>? _dartFuncListenerTrampoline; - - void call(NSObject? arg0, _NSRange arg1, ffi.Pointer arg2) => _id - .ref.invoke - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - _NSRange arg1, - ffi.Pointer arg2)>>() - .asFunction< - void Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer, - _NSRange, ffi.Pointer)>()( - _id, arg0?._id ?? ffi.nullptr, arg1, arg2); + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + ) + >? _dartFuncListenerTrampoline; + + void call( + NSObject? arg0, + _NSRange arg1, + ffi.Pointer arg2, + ) => pointer.ref.invoke + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer block, + ffi.Pointer arg0, + _NSRange arg1, + ffi.Pointer arg2, + ) + > + >() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + ) + >()(pointer, arg0?.pointer ?? ffi.nullptr, arg1, arg2); } class NSAttributedStringMarkdownParsingOptions extends NSObject { NSAttributedStringMarkdownParsingOptions._( - ffi.Pointer id, SwiftLibrary lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + ffi.Pointer pointer, + SwiftLibrary lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSAttributedStringMarkdownParsingOptions] that points to the same underlying object as [other]. - static NSAttributedStringMarkdownParsingOptions - castFrom(T other) { - return NSAttributedStringMarkdownParsingOptions._(other._id, other._lib, - retain: true, release: true); + static NSAttributedStringMarkdownParsingOptions castFrom< + T extends objc.ObjCObjectBase + >(SwiftLibrary lib, T other) { + return NSAttributedStringMarkdownParsingOptions._( + other.pointer, + lib, + retain: true, + release: true, + ); } /// Returns a [NSAttributedStringMarkdownParsingOptions] that wraps the given raw object pointer. static NSAttributedStringMarkdownParsingOptions castFromPointer( - SwiftLibrary lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { - return NSAttributedStringMarkdownParsingOptions._(other, lib, - retain: retain, release: release); + SwiftLibrary lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { + return NSAttributedStringMarkdownParsingOptions._( + other, + lib, + retain: retain, + release: release, + ); } /// Returns whether [obj] is an instance of [NSAttributedStringMarkdownParsingOptions]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0(obj._id, obj._lib._sel_isKindOfClass_1, - obj._lib._class_NSAttributedStringMarkdownParsingOptions1); + static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSAttributedStringMarkdownParsingOptions1, + ); } @override NSAttributedStringMarkdownParsingOptions init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); - return NSAttributedStringMarkdownParsingOptions._(_ret, _lib, - retain: true, release: true); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); + return NSAttributedStringMarkdownParsingOptions._( + _ret, + _lib, + retain: true, + release: true, + ); } bool get allowsExtendedAttributes { - return _lib._objc_msgSend_12(_id, _lib._sel_allowsExtendedAttributes1); + return _lib._objc_msgSend_12( + this.pointer, + _lib._sel_allowsExtendedAttributes1, + ); } set allowsExtendedAttributes(bool value) { return _lib._objc_msgSend_527( - _id, _lib._sel_setAllowsExtendedAttributes_1, value); + this.pointer, + _lib._sel_setAllowsExtendedAttributes_1, + value, + ); } int get interpretedSyntax { - return _lib._objc_msgSend_721(_id, _lib._sel_interpretedSyntax1); + return _lib._objc_msgSend_721(this.pointer, _lib._sel_interpretedSyntax1); } set interpretedSyntax(int value) { - return _lib._objc_msgSend_722(_id, _lib._sel_setInterpretedSyntax_1, value); + return _lib._objc_msgSend_722( + this.pointer, + _lib._sel_setInterpretedSyntax_1, + value, + ); } int get failurePolicy { - return _lib._objc_msgSend_723(_id, _lib._sel_failurePolicy1); + return _lib._objc_msgSend_723(this.pointer, _lib._sel_failurePolicy1); } set failurePolicy(int value) { - return _lib._objc_msgSend_724(_id, _lib._sel_setFailurePolicy_1, value); + return _lib._objc_msgSend_724( + this.pointer, + _lib._sel_setFailurePolicy_1, + value, + ); } NSString? get languageCode { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_languageCode1); + final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_languageCode1); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); @@ -56702,112 +75142,159 @@ class NSAttributedStringMarkdownParsingOptions extends NSObject { set languageCode(NSString? value) { return _lib._objc_msgSend_545( - _id, _lib._sel_setLanguageCode_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setLanguageCode_1, + value?.pointer ?? ffi.nullptr, + ); } bool get appliesSourcePositionAttributes { return _lib._objc_msgSend_12( - _id, _lib._sel_appliesSourcePositionAttributes1); + this.pointer, + _lib._sel_appliesSourcePositionAttributes1, + ); } set appliesSourcePositionAttributes(bool value) { return _lib._objc_msgSend_527( - _id, _lib._sel_setAppliesSourcePositionAttributes_1, value); + this.pointer, + _lib._sel_setAppliesSourcePositionAttributes_1, + value, + ); } static NSAttributedStringMarkdownParsingOptions new1(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSAttributedStringMarkdownParsingOptions1, _lib._sel_new1); - return NSAttributedStringMarkdownParsingOptions._(_ret, _lib, - retain: false, release: true); + _lib._class_NSAttributedStringMarkdownParsingOptions1, + _lib._sel_new1, + ); + return NSAttributedStringMarkdownParsingOptions._( + _ret, + _lib, + retain: false, + release: true, + ); } static NSAttributedStringMarkdownParsingOptions allocWithZone_( - SwiftLibrary _lib, ffi.Pointer<_NSZone> zone) { + SwiftLibrary _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSAttributedStringMarkdownParsingOptions1, - _lib._sel_allocWithZone_1, - zone); - return NSAttributedStringMarkdownParsingOptions._(_ret, _lib, - retain: false, release: true); + _lib._class_NSAttributedStringMarkdownParsingOptions1, + _lib._sel_allocWithZone_1, + zone, + ); + return NSAttributedStringMarkdownParsingOptions._( + _ret, + _lib, + retain: false, + release: true, + ); } static NSAttributedStringMarkdownParsingOptions alloc(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSAttributedStringMarkdownParsingOptions1, - _lib._sel_alloc1); - return NSAttributedStringMarkdownParsingOptions._(_ret, _lib, - retain: false, release: true); + _lib._class_NSAttributedStringMarkdownParsingOptions1, + _lib._sel_alloc1, + ); + return NSAttributedStringMarkdownParsingOptions._( + _ret, + _lib, + retain: false, + release: true, + ); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + SwiftLibrary _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSAttributedStringMarkdownParsingOptions1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSAttributedStringMarkdownParsingOptions1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSAttributedStringMarkdownParsingOptions1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + SwiftLibrary _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSAttributedStringMarkdownParsingOptions1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { return _lib._objc_msgSend_12( - _lib._class_NSAttributedStringMarkdownParsingOptions1, - _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_NSAttributedStringMarkdownParsingOptions1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(SwiftLibrary _lib) { return _lib._objc_msgSend_12( - _lib._class_NSAttributedStringMarkdownParsingOptions1, - _lib._sel_useStoredAccessor1); + _lib._class_NSAttributedStringMarkdownParsingOptions1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, NSString key) { + SwiftLibrary _lib, + NSString key, + ) { final _ret = _lib._objc_msgSend_63( - _lib._class_NSAttributedStringMarkdownParsingOptions1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key._id); + _lib._class_NSAttributedStringMarkdownParsingOptions1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, NSString key) { + SwiftLibrary _lib, + NSString key, + ) { return _lib._objc_msgSend_64( - _lib._class_NSAttributedStringMarkdownParsingOptions1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key._id); + _lib._class_NSAttributedStringMarkdownParsingOptions1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, NSArray keys, NSString dependentKey) { + SwiftLibrary _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSAttributedStringMarkdownParsingOptions1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSAttributedStringMarkdownParsingOptions1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_85( - _lib._class_NSAttributedStringMarkdownParsingOptions1, - _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSAttributedStringMarkdownParsingOptions1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSAttributedStringMarkdownParsingOptions1, - _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSAttributedStringMarkdownParsingOptions1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } @@ -56816,160 +75303,235 @@ abstract class NSAttributedStringMarkdownInterpretedSyntax { static const int NSAttributedStringMarkdownInterpretedSyntaxFull = 0; static const int NSAttributedStringMarkdownInterpretedSyntaxInlineOnly = 1; static const int - NSAttributedStringMarkdownInterpretedSyntaxInlineOnlyPreservingWhitespace = - 2; + NSAttributedStringMarkdownInterpretedSyntaxInlineOnlyPreservingWhitespace = 2; } abstract class NSAttributedStringMarkdownParsingFailurePolicy { static const int NSAttributedStringMarkdownParsingFailureReturnError = 0; static const int - NSAttributedStringMarkdownParsingFailureReturnPartiallyParsedIfPossible = - 1; + NSAttributedStringMarkdownParsingFailureReturnPartiallyParsedIfPossible = 1; } abstract class NSAttributedStringFormattingOptions { static const int - NSAttributedStringFormattingInsertArgumentAttributesWithoutMerging = 1; + NSAttributedStringFormattingInsertArgumentAttributesWithoutMerging = 1; static const int NSAttributedStringFormattingApplyReplacementIndexAttribute = 2; } class NSMutableAttributedString extends NSAttributedString { - NSMutableAttributedString._(ffi.Pointer id, SwiftLibrary lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSMutableAttributedString._( + ffi.Pointer pointer, + SwiftLibrary lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSMutableAttributedString] that points to the same underlying object as [other]. - static NSMutableAttributedString castFrom(T other) { - return NSMutableAttributedString._(other._id, other._lib, - retain: true, release: true); + static NSMutableAttributedString castFrom( + SwiftLibrary lib, + T other, + ) { + return NSMutableAttributedString._( + other.pointer, + lib, + retain: true, + release: true, + ); } /// Returns a [NSMutableAttributedString] that wraps the given raw object pointer. static NSMutableAttributedString castFromPointer( - SwiftLibrary lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { - return NSMutableAttributedString._(other, lib, - retain: retain, release: release); + SwiftLibrary lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { + return NSMutableAttributedString._( + other, + lib, + retain: retain, + release: release, + ); } /// Returns whether [obj] is an instance of [NSMutableAttributedString]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0(obj._id, obj._lib._sel_isKindOfClass_1, - obj._lib._class_NSMutableAttributedString1); + static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSMutableAttributedString1, + ); } void replaceCharactersInRange_withString_(_NSRange range, NSString str) { _lib._objc_msgSend_689( - _id, _lib._sel_replaceCharactersInRange_withString_1, range, str._id); + this.pointer, + _lib._sel_replaceCharactersInRange_withString_1, + range, + str.pointer, + ); } void setAttributes_range_(NSDictionary? attrs, _NSRange range) { _lib._objc_msgSend_739( - _id, _lib._sel_setAttributes_range_1, attrs?._id ?? ffi.nullptr, range); + this.pointer, + _lib._sel_setAttributes_range_1, + attrs?.pointer ?? ffi.nullptr, + range, + ); } NSMutableString get mutableString { - final _ret = _lib._objc_msgSend_740(_id, _lib._sel_mutableString1); + final _ret = _lib._objc_msgSend_740(this.pointer, _lib._sel_mutableString1); return NSMutableString._(_ret, _lib, retain: true, release: true); } void addAttribute_value_range_( - NSString name, NSObject value, _NSRange range) { + NSString name, + NSObject value, + _NSRange range, + ) { _lib._objc_msgSend_741( - _id, _lib._sel_addAttribute_value_range_1, name._id, value._id, range); + this.pointer, + _lib._sel_addAttribute_value_range_1, + name.pointer, + value.pointer, + range, + ); } void addAttributes_range_(NSDictionary attrs, _NSRange range) { _lib._objc_msgSend_742( - _id, _lib._sel_addAttributes_range_1, attrs._id, range); + this.pointer, + _lib._sel_addAttributes_range_1, + attrs.pointer, + range, + ); } void removeAttribute_range_(NSString name, _NSRange range) { _lib._objc_msgSend_743( - _id, _lib._sel_removeAttribute_range_1, name._id, range); + this.pointer, + _lib._sel_removeAttribute_range_1, + name.pointer, + range, + ); } void replaceCharactersInRange_withAttributedString_( - _NSRange range, NSAttributedString attrString) { + _NSRange range, + NSAttributedString attrString, + ) { _lib._objc_msgSend_744( - _id, - _lib._sel_replaceCharactersInRange_withAttributedString_1, - range, - attrString._id); + this.pointer, + _lib._sel_replaceCharactersInRange_withAttributedString_1, + range, + attrString.pointer, + ); } void insertAttributedString_atIndex_(NSAttributedString attrString, int loc) { _lib._objc_msgSend_745( - _id, _lib._sel_insertAttributedString_atIndex_1, attrString._id, loc); + this.pointer, + _lib._sel_insertAttributedString_atIndex_1, + attrString.pointer, + loc, + ); } void appendAttributedString_(NSAttributedString attrString) { _lib._objc_msgSend_746( - _id, _lib._sel_appendAttributedString_1, attrString._id); + this.pointer, + _lib._sel_appendAttributedString_1, + attrString.pointer, + ); } void deleteCharactersInRange_(_NSRange range) { - _lib._objc_msgSend_476(_id, _lib._sel_deleteCharactersInRange_1, range); + _lib._objc_msgSend_476( + this.pointer, + _lib._sel_deleteCharactersInRange_1, + range, + ); } void setAttributedString_(NSAttributedString attrString) { _lib._objc_msgSend_746( - _id, _lib._sel_setAttributedString_1, attrString._id); + this.pointer, + _lib._sel_setAttributedString_1, + attrString.pointer, + ); } void beginEditing() { - _lib._objc_msgSend_1(_id, _lib._sel_beginEditing1); + _lib._objc_msgSend_1(this.pointer, _lib._sel_beginEditing1); } void endEditing() { - _lib._objc_msgSend_1(_id, _lib._sel_endEditing1); + _lib._objc_msgSend_1(this.pointer, _lib._sel_endEditing1); } void appendLocalizedFormat_(NSAttributedString format) { - _lib._objc_msgSend_746(_id, _lib._sel_appendLocalizedFormat_1, format._id); + _lib._objc_msgSend_746( + this.pointer, + _lib._sel_appendLocalizedFormat_1, + format.pointer, + ); } @override NSMutableAttributedString initWithString_(NSString str) { - final _ret = - _lib._objc_msgSend_31(_id, _lib._sel_initWithString_1, str._id); + final _ret = _lib._objc_msgSend_31( + this.pointer, + _lib._sel_initWithString_1, + str.pointer, + ); return NSMutableAttributedString._(_ret, _lib, retain: true, release: true); } @override NSMutableAttributedString initWithString_attributes_( - NSString str, NSDictionary? attrs) { + NSString str, + NSDictionary? attrs, + ) { final _ret = _lib._objc_msgSend_717( - _id, - _lib._sel_initWithString_attributes_1, - str._id, - attrs?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_initWithString_attributes_1, + str.pointer, + attrs?.pointer ?? ffi.nullptr, + ); return NSMutableAttributedString._(_ret, _lib, retain: true, release: true); } @override NSMutableAttributedString initWithAttributedString_( - NSAttributedString attrStr) { + NSAttributedString attrStr, + ) { final _ret = _lib._objc_msgSend_718( - _id, _lib._sel_initWithAttributedString_1, attrStr._id); + this.pointer, + _lib._sel_initWithAttributedString_1, + attrStr.pointer, + ); return NSMutableAttributedString._(_ret, _lib, retain: true, release: true); } @override NSMutableAttributedString? - initWithContentsOfMarkdownFileAtURL_options_baseURL_error_( - NSURL markdownFile, - NSAttributedStringMarkdownParsingOptions? options, - NSURL? baseURL, - ffi.Pointer> error) { + initWithContentsOfMarkdownFileAtURL_options_baseURL_error_( + NSURL markdownFile, + NSAttributedStringMarkdownParsingOptions? options, + NSURL? baseURL, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_725( - _id, - _lib._sel_initWithContentsOfMarkdownFileAtURL_options_baseURL_error_1, - markdownFile._id, - options?._id ?? ffi.nullptr, - baseURL?._id ?? ffi.nullptr, - error); + this.pointer, + _lib._sel_initWithContentsOfMarkdownFileAtURL_options_baseURL_error_1, + markdownFile.pointer, + options?.pointer ?? ffi.nullptr, + baseURL?.pointer ?? ffi.nullptr, + error, + ); return _ret.address == 0 ? null : NSMutableAttributedString._(_ret, _lib, retain: true, release: true); @@ -56977,17 +75539,19 @@ class NSMutableAttributedString extends NSAttributedString { @override NSMutableAttributedString? initWithMarkdown_options_baseURL_error_( - NSData markdown, - NSAttributedStringMarkdownParsingOptions? options, - NSURL? baseURL, - ffi.Pointer> error) { + NSData markdown, + NSAttributedStringMarkdownParsingOptions? options, + NSURL? baseURL, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_726( - _id, - _lib._sel_initWithMarkdown_options_baseURL_error_1, - markdown._id, - options?._id ?? ffi.nullptr, - baseURL?._id ?? ffi.nullptr, - error); + this.pointer, + _lib._sel_initWithMarkdown_options_baseURL_error_1, + markdown.pointer, + options?.pointer ?? ffi.nullptr, + baseURL?.pointer ?? ffi.nullptr, + error, + ); return _ret.address == 0 ? null : NSMutableAttributedString._(_ret, _lib, retain: true, release: true); @@ -56995,17 +75559,19 @@ class NSMutableAttributedString extends NSAttributedString { @override NSMutableAttributedString? initWithMarkdownString_options_baseURL_error_( - NSString markdownString, - NSAttributedStringMarkdownParsingOptions? options, - NSURL? baseURL, - ffi.Pointer> error) { + NSString markdownString, + NSAttributedStringMarkdownParsingOptions? options, + NSURL? baseURL, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_727( - _id, - _lib._sel_initWithMarkdownString_options_baseURL_error_1, - markdownString._id, - options?._id ?? ffi.nullptr, - baseURL?._id ?? ffi.nullptr, - error); + this.pointer, + _lib._sel_initWithMarkdownString_options_baseURL_error_1, + markdownString.pointer, + options?.pointer ?? ffi.nullptr, + baseURL?.pointer ?? ffi.nullptr, + error, + ); return _ret.address == 0 ? null : NSMutableAttributedString._(_ret, _lib, retain: true, release: true); @@ -57013,276 +75579,387 @@ class NSMutableAttributedString extends NSAttributedString { @override NSMutableAttributedString initWithFormat_options_locale_( - NSAttributedString format, int options, NSLocale? locale) { + NSAttributedString format, + int options, + NSLocale? locale, + ) { final _ret = _lib._objc_msgSend_728( - _id, - _lib._sel_initWithFormat_options_locale_1, - format._id, - options, - locale?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_initWithFormat_options_locale_1, + format.pointer, + options, + locale?.pointer ?? ffi.nullptr, + ); return NSMutableAttributedString._(_ret, _lib, retain: true, release: true); } @override NSMutableAttributedString initWithFormat_options_locale_arguments_( - NSAttributedString format, - int options, - NSLocale? locale, - ffi.Pointer<__va_list_tag> arguments) { + NSAttributedString format, + int options, + NSLocale? locale, + ffi.Pointer<__va_list_tag> arguments, + ) { final _ret = _lib._objc_msgSend_729( - _id, - _lib._sel_initWithFormat_options_locale_arguments_1, - format._id, - options, - locale?._id ?? ffi.nullptr, - arguments); + this.pointer, + _lib._sel_initWithFormat_options_locale_arguments_1, + format.pointer, + options, + locale?.pointer ?? ffi.nullptr, + arguments, + ); return NSMutableAttributedString._(_ret, _lib, retain: true, release: true); } static NSMutableAttributedString localizedAttributedStringWithFormat_( - SwiftLibrary _lib, NSAttributedString format) { - final _ret = _lib._objc_msgSend_718(_lib._class_NSMutableAttributedString1, - _lib._sel_localizedAttributedStringWithFormat_1, format._id); + SwiftLibrary _lib, + NSAttributedString format, + ) { + final _ret = _lib._objc_msgSend_718( + _lib._class_NSMutableAttributedString1, + _lib._sel_localizedAttributedStringWithFormat_1, + format.pointer, + ); return NSMutableAttributedString._(_ret, _lib, retain: true, release: true); } static NSMutableAttributedString localizedAttributedStringWithFormat_options_( - SwiftLibrary _lib, NSAttributedString format, int options) { + SwiftLibrary _lib, + NSAttributedString format, + int options, + ) { final _ret = _lib._objc_msgSend_730( - _lib._class_NSMutableAttributedString1, - _lib._sel_localizedAttributedStringWithFormat_options_1, - format._id, - options); + _lib._class_NSMutableAttributedString1, + _lib._sel_localizedAttributedStringWithFormat_options_1, + format.pointer, + options, + ); return NSMutableAttributedString._(_ret, _lib, retain: true, release: true); } @override NSMutableAttributedString initWithFormat_options_locale_context_( - NSAttributedString format, - int options, - NSLocale? locale, - NSDictionary context) { + NSAttributedString format, + int options, + NSLocale? locale, + NSDictionary context, + ) { final _ret = _lib._objc_msgSend_731( - _id, - _lib._sel_initWithFormat_options_locale_context_1, - format._id, - options, - locale?._id ?? ffi.nullptr, - context._id); + this.pointer, + _lib._sel_initWithFormat_options_locale_context_1, + format.pointer, + options, + locale?.pointer ?? ffi.nullptr, + context.pointer, + ); return NSMutableAttributedString._(_ret, _lib, retain: true, release: true); } @override NSMutableAttributedString initWithFormat_options_locale_context_arguments_( - NSAttributedString format, - int options, - NSLocale? locale, - NSDictionary context, - ffi.Pointer<__va_list_tag> arguments) { + NSAttributedString format, + int options, + NSLocale? locale, + NSDictionary context, + ffi.Pointer<__va_list_tag> arguments, + ) { final _ret = _lib._objc_msgSend_732( - _id, - _lib._sel_initWithFormat_options_locale_context_arguments_1, - format._id, - options, - locale?._id ?? ffi.nullptr, - context._id, - arguments); + this.pointer, + _lib._sel_initWithFormat_options_locale_context_arguments_1, + format.pointer, + options, + locale?.pointer ?? ffi.nullptr, + context.pointer, + arguments, + ); return NSMutableAttributedString._(_ret, _lib, retain: true, release: true); } static NSMutableAttributedString localizedAttributedStringWithFormat_context_( - SwiftLibrary _lib, NSAttributedString format, NSDictionary context) { + SwiftLibrary _lib, + NSAttributedString format, + NSDictionary context, + ) { final _ret = _lib._objc_msgSend_733( - _lib._class_NSMutableAttributedString1, - _lib._sel_localizedAttributedStringWithFormat_context_1, - format._id, - context._id); + _lib._class_NSMutableAttributedString1, + _lib._sel_localizedAttributedStringWithFormat_context_1, + format.pointer, + context.pointer, + ); return NSMutableAttributedString._(_ret, _lib, retain: true, release: true); } static NSMutableAttributedString - localizedAttributedStringWithFormat_options_context_(SwiftLibrary _lib, - NSAttributedString format, int options, NSDictionary context) { + localizedAttributedStringWithFormat_options_context_( + SwiftLibrary _lib, + NSAttributedString format, + int options, + NSDictionary context, + ) { final _ret = _lib._objc_msgSend_734( - _lib._class_NSMutableAttributedString1, - _lib._sel_localizedAttributedStringWithFormat_options_context_1, - format._id, - options, - context._id); + _lib._class_NSMutableAttributedString1, + _lib._sel_localizedAttributedStringWithFormat_options_context_1, + format.pointer, + options, + context.pointer, + ); return NSMutableAttributedString._(_ret, _lib, retain: true, release: true); } @override NSMutableAttributedString init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSMutableAttributedString._(_ret, _lib, retain: true, release: true); } static NSMutableAttributedString new1(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSMutableAttributedString1, _lib._sel_new1); - return NSMutableAttributedString._(_ret, _lib, - retain: false, release: true); + _lib._class_NSMutableAttributedString1, + _lib._sel_new1, + ); + return NSMutableAttributedString._( + _ret, + _lib, + retain: false, + release: true, + ); } static NSMutableAttributedString allocWithZone_( - SwiftLibrary _lib, ffi.Pointer<_NSZone> zone) { - final _ret = _lib._objc_msgSend_3(_lib._class_NSMutableAttributedString1, - _lib._sel_allocWithZone_1, zone); - return NSMutableAttributedString._(_ret, _lib, - retain: false, release: true); + SwiftLibrary _lib, + ffi.Pointer<_NSZone> zone, + ) { + final _ret = _lib._objc_msgSend_3( + _lib._class_NSMutableAttributedString1, + _lib._sel_allocWithZone_1, + zone, + ); + return NSMutableAttributedString._( + _ret, + _lib, + retain: false, + release: true, + ); } static NSMutableAttributedString alloc(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSMutableAttributedString1, _lib._sel_alloc1); - return NSMutableAttributedString._(_ret, _lib, - retain: false, release: true); + _lib._class_NSMutableAttributedString1, + _lib._sel_alloc1, + ); + return NSMutableAttributedString._( + _ret, + _lib, + retain: false, + release: true, + ); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + SwiftLibrary _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSMutableAttributedString1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSMutableAttributedString1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSMutableAttributedString1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + SwiftLibrary _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSMutableAttributedString1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { - return _lib._objc_msgSend_12(_lib._class_NSMutableAttributedString1, - _lib._sel_accessInstanceVariablesDirectly1); + return _lib._objc_msgSend_12( + _lib._class_NSMutableAttributedString1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(SwiftLibrary _lib) { return _lib._objc_msgSend_12( - _lib._class_NSMutableAttributedString1, _lib._sel_useStoredAccessor1); + _lib._class_NSMutableAttributedString1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSMutableAttributedString1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSMutableAttributedString1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSMutableAttributedString1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSMutableAttributedString1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, NSArray keys, NSString dependentKey) { + SwiftLibrary _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSMutableAttributedString1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSMutableAttributedString1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_85(_lib._class_NSMutableAttributedString1, - _lib._sel_classFallbacksForKeyedArchiver1); + final _ret = _lib._objc_msgSend_85( + _lib._class_NSMutableAttributedString1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2(_lib._class_NSMutableAttributedString1, - _lib._sel_classForKeyedUnarchiver1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSMutableAttributedString1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } class NSDateFormatter extends NSFormatter { - NSDateFormatter._(ffi.Pointer id, SwiftLibrary lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSDateFormatter._( + ffi.Pointer pointer, + SwiftLibrary lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSDateFormatter] that points to the same underlying object as [other]. - static NSDateFormatter castFrom(T other) { - return NSDateFormatter._(other._id, other._lib, - retain: true, release: true); + static NSDateFormatter castFrom( + SwiftLibrary lib, + T other, + ) { + return NSDateFormatter._(other.pointer, lib, retain: true, release: true); } /// Returns a [NSDateFormatter] that wraps the given raw object pointer. static NSDateFormatter castFromPointer( - SwiftLibrary lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + SwiftLibrary lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSDateFormatter._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSDateFormatter]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0(obj._id, obj._lib._sel_isKindOfClass_1, - obj._lib._class_NSDateFormatter1); + static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSDateFormatter1, + ); } int get formattingContext { - return _lib._objc_msgSend_752(_id, _lib._sel_formattingContext1); + return _lib._objc_msgSend_752(this.pointer, _lib._sel_formattingContext1); } set formattingContext(int value) { - return _lib._objc_msgSend_753(_id, _lib._sel_setFormattingContext_1, value); + return _lib._objc_msgSend_753( + this.pointer, + _lib._sel_setFormattingContext_1, + value, + ); } bool getObjectValue_forString_range_error_( - ffi.Pointer> obj, - NSString string, - ffi.Pointer<_NSRange> rangep, - ffi.Pointer> error) { + ffi.Pointer> obj, + NSString string, + ffi.Pointer<_NSRange> rangep, + ffi.Pointer> error, + ) { return _lib._objc_msgSend_754( - _id, - _lib._sel_getObjectValue_forString_range_error_1, - obj, - string._id, - rangep, - error); + this.pointer, + _lib._sel_getObjectValue_forString_range_error_1, + obj, + string.pointer, + rangep, + error, + ); } NSString stringFromDate_(NSDate date) { - final _ret = - _lib._objc_msgSend_755(_id, _lib._sel_stringFromDate_1, date._id); + final _ret = _lib._objc_msgSend_755( + this.pointer, + _lib._sel_stringFromDate_1, + date.pointer, + ); return NSString._(_ret, _lib, retain: true, release: true); } NSDate? dateFromString_(NSString string) { - final _ret = - _lib._objc_msgSend_564(_id, _lib._sel_dateFromString_1, string._id); + final _ret = _lib._objc_msgSend_564( + this.pointer, + _lib._sel_dateFromString_1, + string.pointer, + ); return _ret.address == 0 ? null : NSDate._(_ret, _lib, retain: true, release: true); } static NSString localizedStringFromDate_dateStyle_timeStyle_( - SwiftLibrary _lib, NSDate date, int dstyle, int tstyle) { + SwiftLibrary _lib, + NSDate date, + int dstyle, + int tstyle, + ) { final _ret = _lib._objc_msgSend_756( - _lib._class_NSDateFormatter1, - _lib._sel_localizedStringFromDate_dateStyle_timeStyle_1, - date._id, - dstyle, - tstyle); + _lib._class_NSDateFormatter1, + _lib._sel_localizedStringFromDate_dateStyle_timeStyle_1, + date.pointer, + dstyle, + tstyle, + ); return NSString._(_ret, _lib, retain: true, release: true); } static NSString? dateFormatFromTemplate_options_locale_( - SwiftLibrary _lib, NSString tmplate, int opts, NSLocale? locale) { + SwiftLibrary _lib, + NSString tmplate, + int opts, + NSLocale? locale, + ) { final _ret = _lib._objc_msgSend_757( - _lib._class_NSDateFormatter1, - _lib._sel_dateFormatFromTemplate_options_locale_1, - tmplate._id, - opts, - locale?._id ?? ffi.nullptr); + _lib._class_NSDateFormatter1, + _lib._sel_dateFormatFromTemplate_options_locale_1, + tmplate.pointer, + opts, + locale?.pointer ?? ffi.nullptr, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); @@ -57290,98 +75967,143 @@ class NSDateFormatter extends NSFormatter { static int getDefaultFormatterBehavior(SwiftLibrary _lib) { return _lib._objc_msgSend_758( - _lib._class_NSDateFormatter1, _lib._sel_defaultFormatterBehavior1); + _lib._class_NSDateFormatter1, + _lib._sel_defaultFormatterBehavior1, + ); } static void setDefaultFormatterBehavior(SwiftLibrary _lib, int value) { - return _lib._objc_msgSend_759(_lib._class_NSDateFormatter1, - _lib._sel_setDefaultFormatterBehavior_1, value); + return _lib._objc_msgSend_759( + _lib._class_NSDateFormatter1, + _lib._sel_setDefaultFormatterBehavior_1, + value, + ); } void setLocalizedDateFormatFromTemplate_(NSString dateFormatTemplate) { - _lib._objc_msgSend_247(_id, _lib._sel_setLocalizedDateFormatFromTemplate_1, - dateFormatTemplate._id); + _lib._objc_msgSend_247( + this.pointer, + _lib._sel_setLocalizedDateFormatFromTemplate_1, + dateFormatTemplate.pointer, + ); } NSString get dateFormat { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_dateFormat1); + final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_dateFormat1); return NSString._(_ret, _lib, retain: true, release: true); } set dateFormat(NSString value) { - return _lib._objc_msgSend_646(_id, _lib._sel_setDateFormat_1, value._id); + return _lib._objc_msgSend_646( + this.pointer, + _lib._sel_setDateFormat_1, + value.pointer, + ); } int get dateStyle { - return _lib._objc_msgSend_760(_id, _lib._sel_dateStyle1); + return _lib._objc_msgSend_760(this.pointer, _lib._sel_dateStyle1); } set dateStyle(int value) { - return _lib._objc_msgSend_761(_id, _lib._sel_setDateStyle_1, value); + return _lib._objc_msgSend_761( + this.pointer, + _lib._sel_setDateStyle_1, + value, + ); } int get timeStyle { - return _lib._objc_msgSend_760(_id, _lib._sel_timeStyle1); + return _lib._objc_msgSend_760(this.pointer, _lib._sel_timeStyle1); } set timeStyle(int value) { - return _lib._objc_msgSend_761(_id, _lib._sel_setTimeStyle_1, value); + return _lib._objc_msgSend_761( + this.pointer, + _lib._sel_setTimeStyle_1, + value, + ); } NSLocale get locale { - final _ret = _lib._objc_msgSend_197(_id, _lib._sel_locale1); + final _ret = _lib._objc_msgSend_197(this.pointer, _lib._sel_locale1); return NSLocale._(_ret, _lib, retain: true, release: true); } set locale(NSLocale value) { - return _lib._objc_msgSend_762(_id, _lib._sel_setLocale_1, value._id); + return _lib._objc_msgSend_762( + this.pointer, + _lib._sel_setLocale_1, + value.pointer, + ); } bool get generatesCalendarDates { - return _lib._objc_msgSend_12(_id, _lib._sel_generatesCalendarDates1); + return _lib._objc_msgSend_12( + this.pointer, + _lib._sel_generatesCalendarDates1, + ); } set generatesCalendarDates(bool value) { return _lib._objc_msgSend_527( - _id, _lib._sel_setGeneratesCalendarDates_1, value); + this.pointer, + _lib._sel_setGeneratesCalendarDates_1, + value, + ); } int get formatterBehavior { - return _lib._objc_msgSend_758(_id, _lib._sel_formatterBehavior1); + return _lib._objc_msgSend_758(this.pointer, _lib._sel_formatterBehavior1); } set formatterBehavior(int value) { - return _lib._objc_msgSend_759(_id, _lib._sel_setFormatterBehavior_1, value); + return _lib._objc_msgSend_759( + this.pointer, + _lib._sel_setFormatterBehavior_1, + value, + ); } NSTimeZone get timeZone { - final _ret = _lib._objc_msgSend_179(_id, _lib._sel_timeZone1); + final _ret = _lib._objc_msgSend_179(this.pointer, _lib._sel_timeZone1); return NSTimeZone._(_ret, _lib, retain: true, release: true); } set timeZone(NSTimeZone value) { - return _lib._objc_msgSend_180(_id, _lib._sel_setTimeZone_1, value._id); + return _lib._objc_msgSend_180( + this.pointer, + _lib._sel_setTimeZone_1, + value.pointer, + ); } NSCalendar get calendar { - final _ret = _lib._objc_msgSend_763(_id, _lib._sel_calendar1); + final _ret = _lib._objc_msgSend_763(this.pointer, _lib._sel_calendar1); return NSCalendar._(_ret, _lib, retain: true, release: true); } set calendar(NSCalendar value) { - return _lib._objc_msgSend_799(_id, _lib._sel_setCalendar_1, value._id); + return _lib._objc_msgSend_799( + this.pointer, + _lib._sel_setCalendar_1, + value.pointer, + ); } bool get lenient { - return _lib._objc_msgSend_12(_id, _lib._sel_isLenient1); + return _lib._objc_msgSend_12(this.pointer, _lib._sel_isLenient1); } set lenient(bool value) { - return _lib._objc_msgSend_527(_id, _lib._sel_setLenient_1, value); + return _lib._objc_msgSend_527(this.pointer, _lib._sel_setLenient_1, value); } NSDate? get twoDigitStartDate { - final _ret = _lib._objc_msgSend_183(_id, _lib._sel_twoDigitStartDate1); + final _ret = _lib._objc_msgSend_183( + this.pointer, + _lib._sel_twoDigitStartDate1, + ); return _ret.address == 0 ? null : NSDate._(_ret, _lib, retain: true, release: true); @@ -57389,11 +76111,14 @@ class NSDateFormatter extends NSFormatter { set twoDigitStartDate(NSDate? value) { return _lib._objc_msgSend_800( - _id, _lib._sel_setTwoDigitStartDate_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setTwoDigitStartDate_1, + value?.pointer ?? ffi.nullptr, + ); } NSDate? get defaultDate { - final _ret = _lib._objc_msgSend_183(_id, _lib._sel_defaultDate1); + final _ret = _lib._objc_msgSend_183(this.pointer, _lib._sel_defaultDate1); return _ret.address == 0 ? null : NSDate._(_ret, _lib, retain: true, release: true); @@ -57401,214 +76126,316 @@ class NSDateFormatter extends NSFormatter { set defaultDate(NSDate? value) { return _lib._objc_msgSend_800( - _id, _lib._sel_setDefaultDate_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setDefaultDate_1, + value?.pointer ?? ffi.nullptr, + ); } NSArray get eraSymbols { - final _ret = _lib._objc_msgSend_85(_id, _lib._sel_eraSymbols1); + final _ret = _lib._objc_msgSend_85(this.pointer, _lib._sel_eraSymbols1); return NSArray._(_ret, _lib, retain: true, release: true); } set eraSymbols(NSArray value) { - return _lib._objc_msgSend_801(_id, _lib._sel_setEraSymbols_1, value._id); + return _lib._objc_msgSend_801( + this.pointer, + _lib._sel_setEraSymbols_1, + value.pointer, + ); } NSArray get monthSymbols { - final _ret = _lib._objc_msgSend_85(_id, _lib._sel_monthSymbols1); + final _ret = _lib._objc_msgSend_85(this.pointer, _lib._sel_monthSymbols1); return NSArray._(_ret, _lib, retain: true, release: true); } set monthSymbols(NSArray value) { - return _lib._objc_msgSend_801(_id, _lib._sel_setMonthSymbols_1, value._id); + return _lib._objc_msgSend_801( + this.pointer, + _lib._sel_setMonthSymbols_1, + value.pointer, + ); } NSArray get shortMonthSymbols { - final _ret = _lib._objc_msgSend_85(_id, _lib._sel_shortMonthSymbols1); + final _ret = _lib._objc_msgSend_85( + this.pointer, + _lib._sel_shortMonthSymbols1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } set shortMonthSymbols(NSArray value) { return _lib._objc_msgSend_801( - _id, _lib._sel_setShortMonthSymbols_1, value._id); + this.pointer, + _lib._sel_setShortMonthSymbols_1, + value.pointer, + ); } NSArray get weekdaySymbols { - final _ret = _lib._objc_msgSend_85(_id, _lib._sel_weekdaySymbols1); + final _ret = _lib._objc_msgSend_85(this.pointer, _lib._sel_weekdaySymbols1); return NSArray._(_ret, _lib, retain: true, release: true); } set weekdaySymbols(NSArray value) { return _lib._objc_msgSend_801( - _id, _lib._sel_setWeekdaySymbols_1, value._id); + this.pointer, + _lib._sel_setWeekdaySymbols_1, + value.pointer, + ); } NSArray get shortWeekdaySymbols { - final _ret = _lib._objc_msgSend_85(_id, _lib._sel_shortWeekdaySymbols1); + final _ret = _lib._objc_msgSend_85( + this.pointer, + _lib._sel_shortWeekdaySymbols1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } set shortWeekdaySymbols(NSArray value) { return _lib._objc_msgSend_801( - _id, _lib._sel_setShortWeekdaySymbols_1, value._id); + this.pointer, + _lib._sel_setShortWeekdaySymbols_1, + value.pointer, + ); } NSString get AMSymbol { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_AMSymbol1); + final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_AMSymbol1); return NSString._(_ret, _lib, retain: true, release: true); } set AMSymbol(NSString value) { - return _lib._objc_msgSend_646(_id, _lib._sel_setAMSymbol_1, value._id); + return _lib._objc_msgSend_646( + this.pointer, + _lib._sel_setAMSymbol_1, + value.pointer, + ); } NSString get PMSymbol { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_PMSymbol1); + final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_PMSymbol1); return NSString._(_ret, _lib, retain: true, release: true); } set PMSymbol(NSString value) { - return _lib._objc_msgSend_646(_id, _lib._sel_setPMSymbol_1, value._id); + return _lib._objc_msgSend_646( + this.pointer, + _lib._sel_setPMSymbol_1, + value.pointer, + ); } NSArray get longEraSymbols { - final _ret = _lib._objc_msgSend_85(_id, _lib._sel_longEraSymbols1); + final _ret = _lib._objc_msgSend_85(this.pointer, _lib._sel_longEraSymbols1); return NSArray._(_ret, _lib, retain: true, release: true); } set longEraSymbols(NSArray value) { return _lib._objc_msgSend_801( - _id, _lib._sel_setLongEraSymbols_1, value._id); + this.pointer, + _lib._sel_setLongEraSymbols_1, + value.pointer, + ); } NSArray get veryShortMonthSymbols { - final _ret = _lib._objc_msgSend_85(_id, _lib._sel_veryShortMonthSymbols1); + final _ret = _lib._objc_msgSend_85( + this.pointer, + _lib._sel_veryShortMonthSymbols1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } set veryShortMonthSymbols(NSArray value) { return _lib._objc_msgSend_801( - _id, _lib._sel_setVeryShortMonthSymbols_1, value._id); + this.pointer, + _lib._sel_setVeryShortMonthSymbols_1, + value.pointer, + ); } NSArray get standaloneMonthSymbols { - final _ret = _lib._objc_msgSend_85(_id, _lib._sel_standaloneMonthSymbols1); + final _ret = _lib._objc_msgSend_85( + this.pointer, + _lib._sel_standaloneMonthSymbols1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } set standaloneMonthSymbols(NSArray value) { return _lib._objc_msgSend_801( - _id, _lib._sel_setStandaloneMonthSymbols_1, value._id); + this.pointer, + _lib._sel_setStandaloneMonthSymbols_1, + value.pointer, + ); } NSArray get shortStandaloneMonthSymbols { - final _ret = - _lib._objc_msgSend_85(_id, _lib._sel_shortStandaloneMonthSymbols1); + final _ret = _lib._objc_msgSend_85( + this.pointer, + _lib._sel_shortStandaloneMonthSymbols1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } set shortStandaloneMonthSymbols(NSArray value) { return _lib._objc_msgSend_801( - _id, _lib._sel_setShortStandaloneMonthSymbols_1, value._id); + this.pointer, + _lib._sel_setShortStandaloneMonthSymbols_1, + value.pointer, + ); } NSArray get veryShortStandaloneMonthSymbols { - final _ret = - _lib._objc_msgSend_85(_id, _lib._sel_veryShortStandaloneMonthSymbols1); + final _ret = _lib._objc_msgSend_85( + this.pointer, + _lib._sel_veryShortStandaloneMonthSymbols1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } set veryShortStandaloneMonthSymbols(NSArray value) { return _lib._objc_msgSend_801( - _id, _lib._sel_setVeryShortStandaloneMonthSymbols_1, value._id); + this.pointer, + _lib._sel_setVeryShortStandaloneMonthSymbols_1, + value.pointer, + ); } NSArray get veryShortWeekdaySymbols { - final _ret = _lib._objc_msgSend_85(_id, _lib._sel_veryShortWeekdaySymbols1); + final _ret = _lib._objc_msgSend_85( + this.pointer, + _lib._sel_veryShortWeekdaySymbols1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } set veryShortWeekdaySymbols(NSArray value) { return _lib._objc_msgSend_801( - _id, _lib._sel_setVeryShortWeekdaySymbols_1, value._id); + this.pointer, + _lib._sel_setVeryShortWeekdaySymbols_1, + value.pointer, + ); } NSArray get standaloneWeekdaySymbols { - final _ret = - _lib._objc_msgSend_85(_id, _lib._sel_standaloneWeekdaySymbols1); + final _ret = _lib._objc_msgSend_85( + this.pointer, + _lib._sel_standaloneWeekdaySymbols1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } set standaloneWeekdaySymbols(NSArray value) { return _lib._objc_msgSend_801( - _id, _lib._sel_setStandaloneWeekdaySymbols_1, value._id); + this.pointer, + _lib._sel_setStandaloneWeekdaySymbols_1, + value.pointer, + ); } NSArray get shortStandaloneWeekdaySymbols { - final _ret = - _lib._objc_msgSend_85(_id, _lib._sel_shortStandaloneWeekdaySymbols1); + final _ret = _lib._objc_msgSend_85( + this.pointer, + _lib._sel_shortStandaloneWeekdaySymbols1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } set shortStandaloneWeekdaySymbols(NSArray value) { return _lib._objc_msgSend_801( - _id, _lib._sel_setShortStandaloneWeekdaySymbols_1, value._id); + this.pointer, + _lib._sel_setShortStandaloneWeekdaySymbols_1, + value.pointer, + ); } NSArray get veryShortStandaloneWeekdaySymbols { final _ret = _lib._objc_msgSend_85( - _id, _lib._sel_veryShortStandaloneWeekdaySymbols1); + this.pointer, + _lib._sel_veryShortStandaloneWeekdaySymbols1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } set veryShortStandaloneWeekdaySymbols(NSArray value) { return _lib._objc_msgSend_801( - _id, _lib._sel_setVeryShortStandaloneWeekdaySymbols_1, value._id); + this.pointer, + _lib._sel_setVeryShortStandaloneWeekdaySymbols_1, + value.pointer, + ); } NSArray get quarterSymbols { - final _ret = _lib._objc_msgSend_85(_id, _lib._sel_quarterSymbols1); + final _ret = _lib._objc_msgSend_85(this.pointer, _lib._sel_quarterSymbols1); return NSArray._(_ret, _lib, retain: true, release: true); } set quarterSymbols(NSArray value) { return _lib._objc_msgSend_801( - _id, _lib._sel_setQuarterSymbols_1, value._id); + this.pointer, + _lib._sel_setQuarterSymbols_1, + value.pointer, + ); } NSArray get shortQuarterSymbols { - final _ret = _lib._objc_msgSend_85(_id, _lib._sel_shortQuarterSymbols1); + final _ret = _lib._objc_msgSend_85( + this.pointer, + _lib._sel_shortQuarterSymbols1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } set shortQuarterSymbols(NSArray value) { return _lib._objc_msgSend_801( - _id, _lib._sel_setShortQuarterSymbols_1, value._id); + this.pointer, + _lib._sel_setShortQuarterSymbols_1, + value.pointer, + ); } NSArray get standaloneQuarterSymbols { - final _ret = - _lib._objc_msgSend_85(_id, _lib._sel_standaloneQuarterSymbols1); + final _ret = _lib._objc_msgSend_85( + this.pointer, + _lib._sel_standaloneQuarterSymbols1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } set standaloneQuarterSymbols(NSArray value) { return _lib._objc_msgSend_801( - _id, _lib._sel_setStandaloneQuarterSymbols_1, value._id); + this.pointer, + _lib._sel_setStandaloneQuarterSymbols_1, + value.pointer, + ); } NSArray get shortStandaloneQuarterSymbols { - final _ret = - _lib._objc_msgSend_85(_id, _lib._sel_shortStandaloneQuarterSymbols1); + final _ret = _lib._objc_msgSend_85( + this.pointer, + _lib._sel_shortStandaloneQuarterSymbols1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } set shortStandaloneQuarterSymbols(NSArray value) { return _lib._objc_msgSend_801( - _id, _lib._sel_setShortStandaloneQuarterSymbols_1, value._id); + this.pointer, + _lib._sel_setShortStandaloneQuarterSymbols_1, + value.pointer, + ); } NSDate? get gregorianStartDate { - final _ret = _lib._objc_msgSend_183(_id, _lib._sel_gregorianStartDate1); + final _ret = _lib._objc_msgSend_183( + this.pointer, + _lib._sel_gregorianStartDate1, + ); return _ret.address == 0 ? null : NSDate._(_ret, _lib, retain: true, release: true); @@ -57616,156 +76443,230 @@ class NSDateFormatter extends NSFormatter { set gregorianStartDate(NSDate? value) { return _lib._objc_msgSend_800( - _id, _lib._sel_setGregorianStartDate_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setGregorianStartDate_1, + value?.pointer ?? ffi.nullptr, + ); } bool get doesRelativeDateFormatting { - return _lib._objc_msgSend_12(_id, _lib._sel_doesRelativeDateFormatting1); + return _lib._objc_msgSend_12( + this.pointer, + _lib._sel_doesRelativeDateFormatting1, + ); } set doesRelativeDateFormatting(bool value) { return _lib._objc_msgSend_527( - _id, _lib._sel_setDoesRelativeDateFormatting_1, value); + this.pointer, + _lib._sel_setDoesRelativeDateFormatting_1, + value, + ); } NSObject initWithDateFormat_allowNaturalLanguage_( - NSString format, bool flag) { - final _ret = _lib._objc_msgSend_30(_id, - _lib._sel_initWithDateFormat_allowNaturalLanguage_1, format._id, flag); + NSString format, + bool flag, + ) { + final _ret = _lib._objc_msgSend_30( + this.pointer, + _lib._sel_initWithDateFormat_allowNaturalLanguage_1, + format.pointer, + flag, + ); return NSObject._(_ret, _lib, retain: true, release: true); } bool allowsNaturalLanguage() { - return _lib._objc_msgSend_12(_id, _lib._sel_allowsNaturalLanguage1); + return _lib._objc_msgSend_12( + this.pointer, + _lib._sel_allowsNaturalLanguage1, + ); } @override NSDateFormatter init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSDateFormatter._(_ret, _lib, retain: true, release: true); } static NSDateFormatter new1(SwiftLibrary _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSDateFormatter1, _lib._sel_new1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSDateFormatter1, + _lib._sel_new1, + ); return NSDateFormatter._(_ret, _lib, retain: false, release: true); } static NSDateFormatter allocWithZone_( - SwiftLibrary _lib, ffi.Pointer<_NSZone> zone) { + SwiftLibrary _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSDateFormatter1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSDateFormatter1, + _lib._sel_allocWithZone_1, + zone, + ); return NSDateFormatter._(_ret, _lib, retain: false, release: true); } static NSDateFormatter alloc(SwiftLibrary _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSDateFormatter1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSDateFormatter1, + _lib._sel_alloc1, + ); return NSDateFormatter._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + SwiftLibrary _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSDateFormatter1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSDateFormatter1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSDateFormatter1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + SwiftLibrary _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSDateFormatter1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { - return _lib._objc_msgSend_12(_lib._class_NSDateFormatter1, - _lib._sel_accessInstanceVariablesDirectly1); + return _lib._objc_msgSend_12( + _lib._class_NSDateFormatter1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(SwiftLibrary _lib) { return _lib._objc_msgSend_12( - _lib._class_NSDateFormatter1, _lib._sel_useStoredAccessor1); + _lib._class_NSDateFormatter1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSDateFormatter1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSDateFormatter1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSDateFormatter1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSDateFormatter1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, NSArray keys, NSString dependentKey) { + SwiftLibrary _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSDateFormatter1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSDateFormatter1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_85(_lib._class_NSDateFormatter1, - _lib._sel_classFallbacksForKeyedArchiver1); + final _ret = _lib._objc_msgSend_85( + _lib._class_NSDateFormatter1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSDateFormatter1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSDateFormatter1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } class NSFormatter extends NSObject { - NSFormatter._(ffi.Pointer id, SwiftLibrary lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSFormatter._( + ffi.Pointer pointer, + SwiftLibrary lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSFormatter] that points to the same underlying object as [other]. - static NSFormatter castFrom(T other) { - return NSFormatter._(other._id, other._lib, retain: true, release: true); + static NSFormatter castFrom( + SwiftLibrary lib, + T other, + ) { + return NSFormatter._(other.pointer, lib, retain: true, release: true); } /// Returns a [NSFormatter] that wraps the given raw object pointer. static NSFormatter castFromPointer( - SwiftLibrary lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + SwiftLibrary lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSFormatter._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSFormatter]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_NSFormatter1); + static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSFormatter1, + ); } NSString? stringForObjectValue_(NSObject? obj) { final _ret = _lib._objc_msgSend_747( - _id, _lib._sel_stringForObjectValue_1, obj?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_stringForObjectValue_1, + obj?.pointer ?? ffi.nullptr, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } NSAttributedString? attributedStringForObjectValue_withDefaultAttributes_( - NSObject obj, NSDictionary? attrs) { + NSObject obj, + NSDictionary? attrs, + ) { final _ret = _lib._objc_msgSend_748( - _id, - _lib._sel_attributedStringForObjectValue_withDefaultAttributes_1, - obj._id, - attrs?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_attributedStringForObjectValue_withDefaultAttributes_1, + obj.pointer, + attrs?.pointer ?? ffi.nullptr, + ); return _ret.address == 0 ? null : NSAttributedString._(_ret, _lib, retain: true, release: true); @@ -57773,56 +76674,65 @@ class NSFormatter extends NSObject { NSString? editingStringForObjectValue_(NSObject obj) { final _ret = _lib._objc_msgSend_526( - _id, _lib._sel_editingStringForObjectValue_1, obj._id); + this.pointer, + _lib._sel_editingStringForObjectValue_1, + obj.pointer, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } bool getObjectValue_forString_errorDescription_( - ffi.Pointer> obj, - NSString string, - ffi.Pointer> error) { + ffi.Pointer> obj, + NSString string, + ffi.Pointer> error, + ) { return _lib._objc_msgSend_749( - _id, - _lib._sel_getObjectValue_forString_errorDescription_1, - obj, - string._id, - error); + this.pointer, + _lib._sel_getObjectValue_forString_errorDescription_1, + obj, + string.pointer, + error, + ); } bool isPartialStringValid_newEditingString_errorDescription_( - NSString partialString, - ffi.Pointer> newString, - ffi.Pointer> error) { + NSString partialString, + ffi.Pointer> newString, + ffi.Pointer> error, + ) { return _lib._objc_msgSend_750( - _id, - _lib._sel_isPartialStringValid_newEditingString_errorDescription_1, - partialString._id, - newString, - error); + this.pointer, + _lib._sel_isPartialStringValid_newEditingString_errorDescription_1, + partialString.pointer, + newString, + error, + ); } bool - isPartialStringValid_proposedSelectedRange_originalString_originalSelectedRange_errorDescription_( - ffi.Pointer> partialStringPtr, - ffi.Pointer<_NSRange> proposedSelRangePtr, - NSString origString, - _NSRange origSelRange, - ffi.Pointer> error) { + isPartialStringValid_proposedSelectedRange_originalString_originalSelectedRange_errorDescription_( + ffi.Pointer> partialStringPtr, + ffi.Pointer<_NSRange> proposedSelRangePtr, + NSString origString, + _NSRange origSelRange, + ffi.Pointer> error, + ) { return _lib._objc_msgSend_751( - _id, - _lib._sel_isPartialStringValid_proposedSelectedRange_originalString_originalSelectedRange_errorDescription_1, - partialStringPtr, - proposedSelRangePtr, - origString._id, - origSelRange, - error); + this.pointer, + _lib._sel_isPartialStringValid_proposedSelectedRange_originalString_originalSelectedRange_errorDescription_1, + partialStringPtr, + proposedSelRangePtr, + origString.pointer, + origSelRange, + error, + ); } @override NSFormatter init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSFormatter._(_ret, _lib, retain: true, release: true); } @@ -57832,78 +76742,114 @@ class NSFormatter extends NSObject { } static NSFormatter allocWithZone_( - SwiftLibrary _lib, ffi.Pointer<_NSZone> zone) { + SwiftLibrary _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSFormatter1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSFormatter1, + _lib._sel_allocWithZone_1, + zone, + ); return NSFormatter._(_ret, _lib, retain: false, release: true); } static NSFormatter alloc(SwiftLibrary _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSFormatter1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSFormatter1, + _lib._sel_alloc1, + ); return NSFormatter._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + SwiftLibrary _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSFormatter1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSFormatter1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSFormatter1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + SwiftLibrary _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSFormatter1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { return _lib._objc_msgSend_12( - _lib._class_NSFormatter1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_NSFormatter1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(SwiftLibrary _lib) { return _lib._objc_msgSend_12( - _lib._class_NSFormatter1, _lib._sel_useStoredAccessor1); + _lib._class_NSFormatter1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSFormatter1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSFormatter1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSFormatter1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSFormatter1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, NSArray keys, NSString dependentKey) { + SwiftLibrary _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSFormatter1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSFormatter1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_85( - _lib._class_NSFormatter1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSFormatter1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSFormatter1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSFormatter1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } @@ -57932,44 +76878,65 @@ abstract class NSDateFormatterBehavior { } class NSCalendar extends NSObject { - NSCalendar._(ffi.Pointer id, SwiftLibrary lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSCalendar._( + ffi.Pointer pointer, + SwiftLibrary lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSCalendar] that points to the same underlying object as [other]. - static NSCalendar castFrom(T other) { - return NSCalendar._(other._id, other._lib, retain: true, release: true); + static NSCalendar castFrom( + SwiftLibrary lib, + T other, + ) { + return NSCalendar._(other.pointer, lib, retain: true, release: true); } /// Returns a [NSCalendar] that wraps the given raw object pointer. static NSCalendar castFromPointer( - SwiftLibrary lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + SwiftLibrary lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSCalendar._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSCalendar]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_NSCalendar1); + static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSCalendar1, + ); } static NSCalendar getCurrentCalendar(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_763( - _lib._class_NSCalendar1, _lib._sel_currentCalendar1); + _lib._class_NSCalendar1, + _lib._sel_currentCalendar1, + ); return NSCalendar._(_ret, _lib, retain: true, release: true); } static NSCalendar getAutoupdatingCurrentCalendar(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_763( - _lib._class_NSCalendar1, _lib._sel_autoupdatingCurrentCalendar1); + _lib._class_NSCalendar1, + _lib._sel_autoupdatingCurrentCalendar1, + ); return NSCalendar._(_ret, _lib, retain: true, release: true); } static NSCalendar? calendarWithIdentifier_( - SwiftLibrary _lib, NSString calendarIdentifierConstant) { - final _ret = _lib._objc_msgSend_764(_lib._class_NSCalendar1, - _lib._sel_calendarWithIdentifier_1, calendarIdentifierConstant._id); + SwiftLibrary _lib, + NSString calendarIdentifierConstant, + ) { + final _ret = _lib._objc_msgSend_764( + _lib._class_NSCalendar1, + _lib._sel_calendarWithIdentifier_1, + calendarIdentifierConstant.pointer, + ); return _ret.address == 0 ? null : NSCalendar._(_ret, _lib, retain: true, release: true); @@ -57977,25 +76944,31 @@ class NSCalendar extends NSObject { @override NSCalendar init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSCalendar._(_ret, _lib, retain: true, release: true); } NSObject? initWithCalendarIdentifier_(NSString ident) { final _ret = _lib._objc_msgSend_38( - _id, _lib._sel_initWithCalendarIdentifier_1, ident._id); + this.pointer, + _lib._sel_initWithCalendarIdentifier_1, + ident.pointer, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } NSString get calendarIdentifier { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_calendarIdentifier1); + final _ret = _lib._objc_msgSend_21( + this.pointer, + _lib._sel_calendarIdentifier1, + ); return NSString._(_ret, _lib, retain: true, release: true); } NSLocale? get locale { - final _ret = _lib._objc_msgSend_765(_id, _lib._sel_locale1); + final _ret = _lib._objc_msgSend_765(this.pointer, _lib._sel_locale1); return _ret.address == 0 ? null : NSLocale._(_ret, _lib, retain: true, release: true); @@ -58003,189 +76976,277 @@ class NSCalendar extends NSObject { set locale(NSLocale? value) { return _lib._objc_msgSend_766( - _id, _lib._sel_setLocale_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setLocale_1, + value?.pointer ?? ffi.nullptr, + ); } NSTimeZone get timeZone { - final _ret = _lib._objc_msgSend_179(_id, _lib._sel_timeZone1); + final _ret = _lib._objc_msgSend_179(this.pointer, _lib._sel_timeZone1); return NSTimeZone._(_ret, _lib, retain: true, release: true); } set timeZone(NSTimeZone value) { - return _lib._objc_msgSend_180(_id, _lib._sel_setTimeZone_1, value._id); + return _lib._objc_msgSend_180( + this.pointer, + _lib._sel_setTimeZone_1, + value.pointer, + ); } int get firstWeekday { - return _lib._objc_msgSend_10(_id, _lib._sel_firstWeekday1); + return _lib._objc_msgSend_10(this.pointer, _lib._sel_firstWeekday1); } set firstWeekday(int value) { - return _lib._objc_msgSend_516(_id, _lib._sel_setFirstWeekday_1, value); + return _lib._objc_msgSend_516( + this.pointer, + _lib._sel_setFirstWeekday_1, + value, + ); } int get minimumDaysInFirstWeek { - return _lib._objc_msgSend_10(_id, _lib._sel_minimumDaysInFirstWeek1); + return _lib._objc_msgSend_10( + this.pointer, + _lib._sel_minimumDaysInFirstWeek1, + ); } set minimumDaysInFirstWeek(int value) { return _lib._objc_msgSend_516( - _id, _lib._sel_setMinimumDaysInFirstWeek_1, value); + this.pointer, + _lib._sel_setMinimumDaysInFirstWeek_1, + value, + ); } NSArray get eraSymbols { - final _ret = _lib._objc_msgSend_85(_id, _lib._sel_eraSymbols1); + final _ret = _lib._objc_msgSend_85(this.pointer, _lib._sel_eraSymbols1); return NSArray._(_ret, _lib, retain: true, release: true); } NSArray get longEraSymbols { - final _ret = _lib._objc_msgSend_85(_id, _lib._sel_longEraSymbols1); + final _ret = _lib._objc_msgSend_85(this.pointer, _lib._sel_longEraSymbols1); return NSArray._(_ret, _lib, retain: true, release: true); } NSArray get monthSymbols { - final _ret = _lib._objc_msgSend_85(_id, _lib._sel_monthSymbols1); + final _ret = _lib._objc_msgSend_85(this.pointer, _lib._sel_monthSymbols1); return NSArray._(_ret, _lib, retain: true, release: true); } NSArray get shortMonthSymbols { - final _ret = _lib._objc_msgSend_85(_id, _lib._sel_shortMonthSymbols1); + final _ret = _lib._objc_msgSend_85( + this.pointer, + _lib._sel_shortMonthSymbols1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } NSArray get veryShortMonthSymbols { - final _ret = _lib._objc_msgSend_85(_id, _lib._sel_veryShortMonthSymbols1); + final _ret = _lib._objc_msgSend_85( + this.pointer, + _lib._sel_veryShortMonthSymbols1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } NSArray get standaloneMonthSymbols { - final _ret = _lib._objc_msgSend_85(_id, _lib._sel_standaloneMonthSymbols1); + final _ret = _lib._objc_msgSend_85( + this.pointer, + _lib._sel_standaloneMonthSymbols1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } NSArray get shortStandaloneMonthSymbols { - final _ret = - _lib._objc_msgSend_85(_id, _lib._sel_shortStandaloneMonthSymbols1); + final _ret = _lib._objc_msgSend_85( + this.pointer, + _lib._sel_shortStandaloneMonthSymbols1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } NSArray get veryShortStandaloneMonthSymbols { - final _ret = - _lib._objc_msgSend_85(_id, _lib._sel_veryShortStandaloneMonthSymbols1); + final _ret = _lib._objc_msgSend_85( + this.pointer, + _lib._sel_veryShortStandaloneMonthSymbols1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } NSArray get weekdaySymbols { - final _ret = _lib._objc_msgSend_85(_id, _lib._sel_weekdaySymbols1); + final _ret = _lib._objc_msgSend_85(this.pointer, _lib._sel_weekdaySymbols1); return NSArray._(_ret, _lib, retain: true, release: true); } NSArray get shortWeekdaySymbols { - final _ret = _lib._objc_msgSend_85(_id, _lib._sel_shortWeekdaySymbols1); + final _ret = _lib._objc_msgSend_85( + this.pointer, + _lib._sel_shortWeekdaySymbols1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } NSArray get veryShortWeekdaySymbols { - final _ret = _lib._objc_msgSend_85(_id, _lib._sel_veryShortWeekdaySymbols1); + final _ret = _lib._objc_msgSend_85( + this.pointer, + _lib._sel_veryShortWeekdaySymbols1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } NSArray get standaloneWeekdaySymbols { - final _ret = - _lib._objc_msgSend_85(_id, _lib._sel_standaloneWeekdaySymbols1); + final _ret = _lib._objc_msgSend_85( + this.pointer, + _lib._sel_standaloneWeekdaySymbols1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } NSArray get shortStandaloneWeekdaySymbols { - final _ret = - _lib._objc_msgSend_85(_id, _lib._sel_shortStandaloneWeekdaySymbols1); + final _ret = _lib._objc_msgSend_85( + this.pointer, + _lib._sel_shortStandaloneWeekdaySymbols1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } NSArray get veryShortStandaloneWeekdaySymbols { final _ret = _lib._objc_msgSend_85( - _id, _lib._sel_veryShortStandaloneWeekdaySymbols1); + this.pointer, + _lib._sel_veryShortStandaloneWeekdaySymbols1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } NSArray get quarterSymbols { - final _ret = _lib._objc_msgSend_85(_id, _lib._sel_quarterSymbols1); + final _ret = _lib._objc_msgSend_85(this.pointer, _lib._sel_quarterSymbols1); return NSArray._(_ret, _lib, retain: true, release: true); } NSArray get shortQuarterSymbols { - final _ret = _lib._objc_msgSend_85(_id, _lib._sel_shortQuarterSymbols1); + final _ret = _lib._objc_msgSend_85( + this.pointer, + _lib._sel_shortQuarterSymbols1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } NSArray get standaloneQuarterSymbols { - final _ret = - _lib._objc_msgSend_85(_id, _lib._sel_standaloneQuarterSymbols1); + final _ret = _lib._objc_msgSend_85( + this.pointer, + _lib._sel_standaloneQuarterSymbols1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } NSArray get shortStandaloneQuarterSymbols { - final _ret = - _lib._objc_msgSend_85(_id, _lib._sel_shortStandaloneQuarterSymbols1); + final _ret = _lib._objc_msgSend_85( + this.pointer, + _lib._sel_shortStandaloneQuarterSymbols1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } NSString get AMSymbol { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_AMSymbol1); + final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_AMSymbol1); return NSString._(_ret, _lib, retain: true, release: true); } NSString get PMSymbol { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_PMSymbol1); + final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_PMSymbol1); return NSString._(_ret, _lib, retain: true, release: true); } void minimumRangeOfUnit_(ffi.Pointer<_NSRange> stret, int unit) { - _lib._objc_msgSend_useVariants1 + objc.useMsgSendVariants ? _lib._objc_msgSend_767_stret( - stret, _id, _lib._sel_minimumRangeOfUnit_1, unit) - : stret.ref = - _lib._objc_msgSend_767(_id, _lib._sel_minimumRangeOfUnit_1, unit); + stret, + this.pointer, + _lib._sel_minimumRangeOfUnit_1, + unit, + ) + : stret.ref = _lib._objc_msgSend_767( + this.pointer, + _lib._sel_minimumRangeOfUnit_1, + unit, + ); } void maximumRangeOfUnit_(ffi.Pointer<_NSRange> stret, int unit) { - _lib._objc_msgSend_useVariants1 + objc.useMsgSendVariants ? _lib._objc_msgSend_767_stret( - stret, _id, _lib._sel_maximumRangeOfUnit_1, unit) - : stret.ref = - _lib._objc_msgSend_767(_id, _lib._sel_maximumRangeOfUnit_1, unit); + stret, + this.pointer, + _lib._sel_maximumRangeOfUnit_1, + unit, + ) + : stret.ref = _lib._objc_msgSend_767( + this.pointer, + _lib._sel_maximumRangeOfUnit_1, + unit, + ); } void rangeOfUnit_inUnit_forDate_( - ffi.Pointer<_NSRange> stret, int smaller, int larger, NSDate date) { - _lib._objc_msgSend_useVariants1 - ? _lib._objc_msgSend_768_stret(stret, _id, - _lib._sel_rangeOfUnit_inUnit_forDate_1, smaller, larger, date._id) - : stret.ref = _lib._objc_msgSend_768(_id, - _lib._sel_rangeOfUnit_inUnit_forDate_1, smaller, larger, date._id); + ffi.Pointer<_NSRange> stret, + int smaller, + int larger, + NSDate date, + ) { + objc.useMsgSendVariants + ? _lib._objc_msgSend_768_stret( + stret, + this.pointer, + _lib._sel_rangeOfUnit_inUnit_forDate_1, + smaller, + larger, + date.pointer, + ) + : stret.ref = _lib._objc_msgSend_768( + this.pointer, + _lib._sel_rangeOfUnit_inUnit_forDate_1, + smaller, + larger, + date.pointer, + ); } int ordinalityOfUnit_inUnit_forDate_(int smaller, int larger, NSDate date) { - return _lib._objc_msgSend_769(_id, - _lib._sel_ordinalityOfUnit_inUnit_forDate_1, smaller, larger, date._id); + return _lib._objc_msgSend_769( + this.pointer, + _lib._sel_ordinalityOfUnit_inUnit_forDate_1, + smaller, + larger, + date.pointer, + ); } bool rangeOfUnit_startDate_interval_forDate_( - int unit, - ffi.Pointer> datep, - ffi.Pointer tip, - NSDate date) { + int unit, + ffi.Pointer> datep, + ffi.Pointer tip, + NSDate date, + ) { return _lib._objc_msgSend_770( - _id, - _lib._sel_rangeOfUnit_startDate_interval_forDate_1, - unit, - datep, - tip, - date._id); + this.pointer, + _lib._sel_rangeOfUnit_startDate_interval_forDate_1, + unit, + datep, + tip, + date.pointer, + ); } NSDate? dateFromComponents_(NSDateComponents comps) { - final _ret = - _lib._objc_msgSend_778(_id, _lib._sel_dateFromComponents_1, comps._id); + final _ret = _lib._objc_msgSend_778( + this.pointer, + _lib._sel_dateFromComponents_1, + comps.pointer, + ); return _ret.address == 0 ? null : NSDate._(_ret, _lib, retain: true, release: true); @@ -58193,328 +77254,431 @@ class NSCalendar extends NSObject { NSDateComponents components_fromDate_(int unitFlags, NSDate date) { final _ret = _lib._objc_msgSend_779( - _id, _lib._sel_components_fromDate_1, unitFlags, date._id); + this.pointer, + _lib._sel_components_fromDate_1, + unitFlags, + date.pointer, + ); return NSDateComponents._(_ret, _lib, retain: true, release: true); } NSDate? dateByAddingComponents_toDate_options_( - NSDateComponents comps, NSDate date, int opts) { + NSDateComponents comps, + NSDate date, + int opts, + ) { final _ret = _lib._objc_msgSend_780( - _id, - _lib._sel_dateByAddingComponents_toDate_options_1, - comps._id, - date._id, - opts); + this.pointer, + _lib._sel_dateByAddingComponents_toDate_options_1, + comps.pointer, + date.pointer, + opts, + ); return _ret.address == 0 ? null : NSDate._(_ret, _lib, retain: true, release: true); } NSDateComponents components_fromDate_toDate_options_( - int unitFlags, NSDate startingDate, NSDate resultDate, int opts) { + int unitFlags, + NSDate startingDate, + NSDate resultDate, + int opts, + ) { final _ret = _lib._objc_msgSend_781( - _id, - _lib._sel_components_fromDate_toDate_options_1, - unitFlags, - startingDate._id, - resultDate._id, - opts); + this.pointer, + _lib._sel_components_fromDate_toDate_options_1, + unitFlags, + startingDate.pointer, + resultDate.pointer, + opts, + ); return NSDateComponents._(_ret, _lib, retain: true, release: true); } void getEra_year_month_day_fromDate_( - ffi.Pointer eraValuePointer, - ffi.Pointer yearValuePointer, - ffi.Pointer monthValuePointer, - ffi.Pointer dayValuePointer, - NSDate date) { + ffi.Pointer eraValuePointer, + ffi.Pointer yearValuePointer, + ffi.Pointer monthValuePointer, + ffi.Pointer dayValuePointer, + NSDate date, + ) { _lib._objc_msgSend_782( - _id, - _lib._sel_getEra_year_month_day_fromDate_1, - eraValuePointer, - yearValuePointer, - monthValuePointer, - dayValuePointer, - date._id); + this.pointer, + _lib._sel_getEra_year_month_day_fromDate_1, + eraValuePointer, + yearValuePointer, + monthValuePointer, + dayValuePointer, + date.pointer, + ); } void getEra_yearForWeekOfYear_weekOfYear_weekday_fromDate_( - ffi.Pointer eraValuePointer, - ffi.Pointer yearValuePointer, - ffi.Pointer weekValuePointer, - ffi.Pointer weekdayValuePointer, - NSDate date) { + ffi.Pointer eraValuePointer, + ffi.Pointer yearValuePointer, + ffi.Pointer weekValuePointer, + ffi.Pointer weekdayValuePointer, + NSDate date, + ) { _lib._objc_msgSend_782( - _id, - _lib._sel_getEra_yearForWeekOfYear_weekOfYear_weekday_fromDate_1, - eraValuePointer, - yearValuePointer, - weekValuePointer, - weekdayValuePointer, - date._id); + this.pointer, + _lib._sel_getEra_yearForWeekOfYear_weekOfYear_weekday_fromDate_1, + eraValuePointer, + yearValuePointer, + weekValuePointer, + weekdayValuePointer, + date.pointer, + ); } void getHour_minute_second_nanosecond_fromDate_( - ffi.Pointer hourValuePointer, - ffi.Pointer minuteValuePointer, - ffi.Pointer secondValuePointer, - ffi.Pointer nanosecondValuePointer, - NSDate date) { + ffi.Pointer hourValuePointer, + ffi.Pointer minuteValuePointer, + ffi.Pointer secondValuePointer, + ffi.Pointer nanosecondValuePointer, + NSDate date, + ) { _lib._objc_msgSend_782( - _id, - _lib._sel_getHour_minute_second_nanosecond_fromDate_1, - hourValuePointer, - minuteValuePointer, - secondValuePointer, - nanosecondValuePointer, - date._id); + this.pointer, + _lib._sel_getHour_minute_second_nanosecond_fromDate_1, + hourValuePointer, + minuteValuePointer, + secondValuePointer, + nanosecondValuePointer, + date.pointer, + ); } int component_fromDate_(int unit, NSDate date) { return _lib._objc_msgSend_783( - _id, _lib._sel_component_fromDate_1, unit, date._id); + this.pointer, + _lib._sel_component_fromDate_1, + unit, + date.pointer, + ); } NSDate? dateWithEra_year_month_day_hour_minute_second_nanosecond_( - int eraValue, - int yearValue, - int monthValue, - int dayValue, - int hourValue, - int minuteValue, - int secondValue, - int nanosecondValue) { + int eraValue, + int yearValue, + int monthValue, + int dayValue, + int hourValue, + int minuteValue, + int secondValue, + int nanosecondValue, + ) { final _ret = _lib._objc_msgSend_784( - _id, - _lib._sel_dateWithEra_year_month_day_hour_minute_second_nanosecond_1, - eraValue, - yearValue, - monthValue, - dayValue, - hourValue, - minuteValue, - secondValue, - nanosecondValue); + this.pointer, + _lib._sel_dateWithEra_year_month_day_hour_minute_second_nanosecond_1, + eraValue, + yearValue, + monthValue, + dayValue, + hourValue, + minuteValue, + secondValue, + nanosecondValue, + ); return _ret.address == 0 ? null : NSDate._(_ret, _lib, retain: true, release: true); } NSDate? - dateWithEra_yearForWeekOfYear_weekOfYear_weekday_hour_minute_second_nanosecond_( - int eraValue, - int yearValue, - int weekValue, - int weekdayValue, - int hourValue, - int minuteValue, - int secondValue, - int nanosecondValue) { + dateWithEra_yearForWeekOfYear_weekOfYear_weekday_hour_minute_second_nanosecond_( + int eraValue, + int yearValue, + int weekValue, + int weekdayValue, + int hourValue, + int minuteValue, + int secondValue, + int nanosecondValue, + ) { final _ret = _lib._objc_msgSend_784( - _id, - _lib._sel_dateWithEra_yearForWeekOfYear_weekOfYear_weekday_hour_minute_second_nanosecond_1, - eraValue, - yearValue, - weekValue, - weekdayValue, - hourValue, - minuteValue, - secondValue, - nanosecondValue); + this.pointer, + _lib._sel_dateWithEra_yearForWeekOfYear_weekOfYear_weekday_hour_minute_second_nanosecond_1, + eraValue, + yearValue, + weekValue, + weekdayValue, + hourValue, + minuteValue, + secondValue, + nanosecondValue, + ); return _ret.address == 0 ? null : NSDate._(_ret, _lib, retain: true, release: true); } NSDate startOfDayForDate_(NSDate date) { - final _ret = - _lib._objc_msgSend_168(_id, _lib._sel_startOfDayForDate_1, date._id); + final _ret = _lib._objc_msgSend_168( + this.pointer, + _lib._sel_startOfDayForDate_1, + date.pointer, + ); return NSDate._(_ret, _lib, retain: true, release: true); } NSDateComponents componentsInTimeZone_fromDate_( - NSTimeZone timezone, NSDate date) { + NSTimeZone timezone, + NSDate date, + ) { final _ret = _lib._objc_msgSend_785( - _id, _lib._sel_componentsInTimeZone_fromDate_1, timezone._id, date._id); + this.pointer, + _lib._sel_componentsInTimeZone_fromDate_1, + timezone.pointer, + date.pointer, + ); return NSDateComponents._(_ret, _lib, retain: true, release: true); } int compareDate_toDate_toUnitGranularity_( - NSDate date1, NSDate date2, int unit) { + NSDate date1, + NSDate date2, + int unit, + ) { return _lib._objc_msgSend_786( - _id, - _lib._sel_compareDate_toDate_toUnitGranularity_1, - date1._id, - date2._id, - unit); + this.pointer, + _lib._sel_compareDate_toDate_toUnitGranularity_1, + date1.pointer, + date2.pointer, + unit, + ); } bool isDate_equalToDate_toUnitGranularity_( - NSDate date1, NSDate date2, int unit) { + NSDate date1, + NSDate date2, + int unit, + ) { return _lib._objc_msgSend_787( - _id, - _lib._sel_isDate_equalToDate_toUnitGranularity_1, - date1._id, - date2._id, - unit); + this.pointer, + _lib._sel_isDate_equalToDate_toUnitGranularity_1, + date1.pointer, + date2.pointer, + unit, + ); } bool isDate_inSameDayAsDate_(NSDate date1, NSDate date2) { return _lib._objc_msgSend_788( - _id, _lib._sel_isDate_inSameDayAsDate_1, date1._id, date2._id); + this.pointer, + _lib._sel_isDate_inSameDayAsDate_1, + date1.pointer, + date2.pointer, + ); } bool isDateInToday_(NSDate date) { - return _lib._objc_msgSend_170(_id, _lib._sel_isDateInToday_1, date._id); + return _lib._objc_msgSend_170( + this.pointer, + _lib._sel_isDateInToday_1, + date.pointer, + ); } bool isDateInYesterday_(NSDate date) { - return _lib._objc_msgSend_170(_id, _lib._sel_isDateInYesterday_1, date._id); + return _lib._objc_msgSend_170( + this.pointer, + _lib._sel_isDateInYesterday_1, + date.pointer, + ); } bool isDateInTomorrow_(NSDate date) { - return _lib._objc_msgSend_170(_id, _lib._sel_isDateInTomorrow_1, date._id); + return _lib._objc_msgSend_170( + this.pointer, + _lib._sel_isDateInTomorrow_1, + date.pointer, + ); } bool isDateInWeekend_(NSDate date) { - return _lib._objc_msgSend_170(_id, _lib._sel_isDateInWeekend_1, date._id); + return _lib._objc_msgSend_170( + this.pointer, + _lib._sel_isDateInWeekend_1, + date.pointer, + ); } bool rangeOfWeekendStartDate_interval_containingDate_( - ffi.Pointer> datep, - ffi.Pointer tip, - NSDate date) { + ffi.Pointer> datep, + ffi.Pointer tip, + NSDate date, + ) { return _lib._objc_msgSend_789( - _id, - _lib._sel_rangeOfWeekendStartDate_interval_containingDate_1, - datep, - tip, - date._id); + this.pointer, + _lib._sel_rangeOfWeekendStartDate_interval_containingDate_1, + datep, + tip, + date.pointer, + ); } bool nextWeekendStartDate_interval_options_afterDate_( - ffi.Pointer> datep, - ffi.Pointer tip, - int options, - NSDate date) { + ffi.Pointer> datep, + ffi.Pointer tip, + int options, + NSDate date, + ) { return _lib._objc_msgSend_790( - _id, - _lib._sel_nextWeekendStartDate_interval_options_afterDate_1, - datep, - tip, - options, - date._id); + this.pointer, + _lib._sel_nextWeekendStartDate_interval_options_afterDate_1, + datep, + tip, + options, + date.pointer, + ); } NSDateComponents components_fromDateComponents_toDateComponents_options_( - int unitFlags, - NSDateComponents startingDateComp, - NSDateComponents resultDateComp, - int options) { + int unitFlags, + NSDateComponents startingDateComp, + NSDateComponents resultDateComp, + int options, + ) { final _ret = _lib._objc_msgSend_791( - _id, - _lib._sel_components_fromDateComponents_toDateComponents_options_1, - unitFlags, - startingDateComp._id, - resultDateComp._id, - options); + this.pointer, + _lib._sel_components_fromDateComponents_toDateComponents_options_1, + unitFlags, + startingDateComp.pointer, + resultDateComp.pointer, + options, + ); return NSDateComponents._(_ret, _lib, retain: true, release: true); } NSDate? dateByAddingUnit_value_toDate_options_( - int unit, int value, NSDate date, int options) { + int unit, + int value, + NSDate date, + int options, + ) { final _ret = _lib._objc_msgSend_792( - _id, - _lib._sel_dateByAddingUnit_value_toDate_options_1, - unit, - value, - date._id, - options); + this.pointer, + _lib._sel_dateByAddingUnit_value_toDate_options_1, + unit, + value, + date.pointer, + options, + ); return _ret.address == 0 ? null : NSDate._(_ret, _lib, retain: true, release: true); } void enumerateDatesStartingAfterDate_matchingComponents_options_usingBlock_( - NSDate start, - NSDateComponents comps, - int opts, - ObjCBlock_ffiVoid_NSDate_bool_bool block) { + NSDate start, + NSDateComponents comps, + int opts, + ObjCBlock_ffiVoid_NSDate_bool_bool block, + ) { _lib._objc_msgSend_793( - _id, - _lib._sel_enumerateDatesStartingAfterDate_matchingComponents_options_usingBlock_1, - start._id, - comps._id, - opts, - block._id); + this.pointer, + _lib._sel_enumerateDatesStartingAfterDate_matchingComponents_options_usingBlock_1, + start.pointer, + comps.pointer, + opts, + block.pointer, + ); } NSDate? nextDateAfterDate_matchingComponents_options_( - NSDate date, NSDateComponents comps, int options) { + NSDate date, + NSDateComponents comps, + int options, + ) { final _ret = _lib._objc_msgSend_794( - _id, - _lib._sel_nextDateAfterDate_matchingComponents_options_1, - date._id, - comps._id, - options); + this.pointer, + _lib._sel_nextDateAfterDate_matchingComponents_options_1, + date.pointer, + comps.pointer, + options, + ); return _ret.address == 0 ? null : NSDate._(_ret, _lib, retain: true, release: true); } NSDate? nextDateAfterDate_matchingUnit_value_options_( - NSDate date, int unit, int value, int options) { + NSDate date, + int unit, + int value, + int options, + ) { final _ret = _lib._objc_msgSend_795( - _id, - _lib._sel_nextDateAfterDate_matchingUnit_value_options_1, - date._id, - unit, - value, - options); + this.pointer, + _lib._sel_nextDateAfterDate_matchingUnit_value_options_1, + date.pointer, + unit, + value, + options, + ); return _ret.address == 0 ? null : NSDate._(_ret, _lib, retain: true, release: true); } - NSDate? nextDateAfterDate_matchingHour_minute_second_options_(NSDate date, - int hourValue, int minuteValue, int secondValue, int options) { + NSDate? nextDateAfterDate_matchingHour_minute_second_options_( + NSDate date, + int hourValue, + int minuteValue, + int secondValue, + int options, + ) { final _ret = _lib._objc_msgSend_796( - _id, - _lib._sel_nextDateAfterDate_matchingHour_minute_second_options_1, - date._id, - hourValue, - minuteValue, - secondValue, - options); + this.pointer, + _lib._sel_nextDateAfterDate_matchingHour_minute_second_options_1, + date.pointer, + hourValue, + minuteValue, + secondValue, + options, + ); return _ret.address == 0 ? null : NSDate._(_ret, _lib, retain: true, release: true); } NSDate? dateBySettingUnit_value_ofDate_options_( - int unit, int v, NSDate date, int opts) { + int unit, + int v, + NSDate date, + int opts, + ) { final _ret = _lib._objc_msgSend_792( - _id, - _lib._sel_dateBySettingUnit_value_ofDate_options_1, - unit, - v, - date._id, - opts); + this.pointer, + _lib._sel_dateBySettingUnit_value_ofDate_options_1, + unit, + v, + date.pointer, + opts, + ); return _ret.address == 0 ? null : NSDate._(_ret, _lib, retain: true, release: true); } NSDate? dateBySettingHour_minute_second_ofDate_options_( - int h, int m, int s, NSDate date, int opts) { + int h, + int m, + int s, + NSDate date, + int opts, + ) { final _ret = _lib._objc_msgSend_797( - _id, - _lib._sel_dateBySettingHour_minute_second_ofDate_options_1, - h, - m, - s, - date._id, - opts); + this.pointer, + _lib._sel_dateBySettingHour_minute_second_ofDate_options_1, + h, + m, + s, + date.pointer, + opts, + ); return _ret.address == 0 ? null : NSDate._(_ret, _lib, retain: true, release: true); @@ -58522,7 +77686,11 @@ class NSCalendar extends NSObject { bool date_matchesComponents_(NSDate date, NSDateComponents components) { return _lib._objc_msgSend_798( - _id, _lib._sel_date_matchesComponents_1, date._id, components._id); + this.pointer, + _lib._sel_date_matchesComponents_1, + date.pointer, + components.pointer, + ); } static NSCalendar new1(SwiftLibrary _lib) { @@ -58531,78 +77699,114 @@ class NSCalendar extends NSObject { } static NSCalendar allocWithZone_( - SwiftLibrary _lib, ffi.Pointer<_NSZone> zone) { + SwiftLibrary _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSCalendar1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSCalendar1, + _lib._sel_allocWithZone_1, + zone, + ); return NSCalendar._(_ret, _lib, retain: false, release: true); } static NSCalendar alloc(SwiftLibrary _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSCalendar1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSCalendar1, + _lib._sel_alloc1, + ); return NSCalendar._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + SwiftLibrary _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSCalendar1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSCalendar1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSCalendar1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + SwiftLibrary _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSCalendar1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { return _lib._objc_msgSend_12( - _lib._class_NSCalendar1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_NSCalendar1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(SwiftLibrary _lib) { return _lib._objc_msgSend_12( - _lib._class_NSCalendar1, _lib._sel_useStoredAccessor1); + _lib._class_NSCalendar1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSCalendar1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSCalendar1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSCalendar1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSCalendar1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, NSArray keys, NSString dependentKey) { + SwiftLibrary _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSCalendar1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSCalendar1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_85( - _lib._class_NSCalendar1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSCalendar1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSCalendar1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSCalendar1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } @@ -58643,31 +77847,42 @@ abstract class NSCalendarUnit { } class NSDateComponents extends NSObject { - NSDateComponents._(ffi.Pointer id, SwiftLibrary lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSDateComponents._( + ffi.Pointer pointer, + SwiftLibrary lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSDateComponents] that points to the same underlying object as [other]. - static NSDateComponents castFrom(T other) { - return NSDateComponents._(other._id, other._lib, - retain: true, release: true); + static NSDateComponents castFrom( + SwiftLibrary lib, + T other, + ) { + return NSDateComponents._(other.pointer, lib, retain: true, release: true); } /// Returns a [NSDateComponents] that wraps the given raw object pointer. static NSDateComponents castFromPointer( - SwiftLibrary lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + SwiftLibrary lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSDateComponents._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSDateComponents]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0(obj._id, obj._lib._sel_isKindOfClass_1, - obj._lib._class_NSDateComponents1); + static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSDateComponents1, + ); } NSCalendar? get calendar { - final _ret = _lib._objc_msgSend_771(_id, _lib._sel_calendar1); + final _ret = _lib._objc_msgSend_771(this.pointer, _lib._sel_calendar1); return _ret.address == 0 ? null : NSCalendar._(_ret, _lib, retain: true, release: true); @@ -58675,11 +77890,14 @@ class NSDateComponents extends NSObject { set calendar(NSCalendar? value) { return _lib._objc_msgSend_772( - _id, _lib._sel_setCalendar_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setCalendar_1, + value?.pointer ?? ffi.nullptr, + ); } NSTimeZone? get timeZone { - final _ret = _lib._objc_msgSend_773(_id, _lib._sel_timeZone1); + final _ret = _lib._objc_msgSend_773(this.pointer, _lib._sel_timeZone1); return _ret.address == 0 ? null : NSTimeZone._(_ret, _lib, retain: true, release: true); @@ -58687,246 +77905,323 @@ class NSDateComponents extends NSObject { set timeZone(NSTimeZone? value) { return _lib._objc_msgSend_774( - _id, _lib._sel_setTimeZone_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setTimeZone_1, + value?.pointer ?? ffi.nullptr, + ); } int get era { - return _lib._objc_msgSend_83(_id, _lib._sel_era1); + return _lib._objc_msgSend_83(this.pointer, _lib._sel_era1); } set era(int value) { - return _lib._objc_msgSend_635(_id, _lib._sel_setEra_1, value); + return _lib._objc_msgSend_635(this.pointer, _lib._sel_setEra_1, value); } int get year { - return _lib._objc_msgSend_83(_id, _lib._sel_year1); + return _lib._objc_msgSend_83(this.pointer, _lib._sel_year1); } set year(int value) { - return _lib._objc_msgSend_635(_id, _lib._sel_setYear_1, value); + return _lib._objc_msgSend_635(this.pointer, _lib._sel_setYear_1, value); } int get month { - return _lib._objc_msgSend_83(_id, _lib._sel_month1); + return _lib._objc_msgSend_83(this.pointer, _lib._sel_month1); } set month(int value) { - return _lib._objc_msgSend_635(_id, _lib._sel_setMonth_1, value); + return _lib._objc_msgSend_635(this.pointer, _lib._sel_setMonth_1, value); } int get day { - return _lib._objc_msgSend_83(_id, _lib._sel_day1); + return _lib._objc_msgSend_83(this.pointer, _lib._sel_day1); } set day(int value) { - return _lib._objc_msgSend_635(_id, _lib._sel_setDay_1, value); + return _lib._objc_msgSend_635(this.pointer, _lib._sel_setDay_1, value); } int get hour { - return _lib._objc_msgSend_83(_id, _lib._sel_hour1); + return _lib._objc_msgSend_83(this.pointer, _lib._sel_hour1); } set hour(int value) { - return _lib._objc_msgSend_635(_id, _lib._sel_setHour_1, value); + return _lib._objc_msgSend_635(this.pointer, _lib._sel_setHour_1, value); } int get minute { - return _lib._objc_msgSend_83(_id, _lib._sel_minute1); + return _lib._objc_msgSend_83(this.pointer, _lib._sel_minute1); } set minute(int value) { - return _lib._objc_msgSend_635(_id, _lib._sel_setMinute_1, value); + return _lib._objc_msgSend_635(this.pointer, _lib._sel_setMinute_1, value); } int get second { - return _lib._objc_msgSend_83(_id, _lib._sel_second1); + return _lib._objc_msgSend_83(this.pointer, _lib._sel_second1); } set second(int value) { - return _lib._objc_msgSend_635(_id, _lib._sel_setSecond_1, value); + return _lib._objc_msgSend_635(this.pointer, _lib._sel_setSecond_1, value); } int get nanosecond { - return _lib._objc_msgSend_83(_id, _lib._sel_nanosecond1); + return _lib._objc_msgSend_83(this.pointer, _lib._sel_nanosecond1); } set nanosecond(int value) { - return _lib._objc_msgSend_635(_id, _lib._sel_setNanosecond_1, value); + return _lib._objc_msgSend_635( + this.pointer, + _lib._sel_setNanosecond_1, + value, + ); } int get weekday { - return _lib._objc_msgSend_83(_id, _lib._sel_weekday1); + return _lib._objc_msgSend_83(this.pointer, _lib._sel_weekday1); } set weekday(int value) { - return _lib._objc_msgSend_635(_id, _lib._sel_setWeekday_1, value); + return _lib._objc_msgSend_635(this.pointer, _lib._sel_setWeekday_1, value); } int get weekdayOrdinal { - return _lib._objc_msgSend_83(_id, _lib._sel_weekdayOrdinal1); + return _lib._objc_msgSend_83(this.pointer, _lib._sel_weekdayOrdinal1); } set weekdayOrdinal(int value) { - return _lib._objc_msgSend_635(_id, _lib._sel_setWeekdayOrdinal_1, value); + return _lib._objc_msgSend_635( + this.pointer, + _lib._sel_setWeekdayOrdinal_1, + value, + ); } int get quarter { - return _lib._objc_msgSend_83(_id, _lib._sel_quarter1); + return _lib._objc_msgSend_83(this.pointer, _lib._sel_quarter1); } set quarter(int value) { - return _lib._objc_msgSend_635(_id, _lib._sel_setQuarter_1, value); + return _lib._objc_msgSend_635(this.pointer, _lib._sel_setQuarter_1, value); } int get weekOfMonth { - return _lib._objc_msgSend_83(_id, _lib._sel_weekOfMonth1); + return _lib._objc_msgSend_83(this.pointer, _lib._sel_weekOfMonth1); } set weekOfMonth(int value) { - return _lib._objc_msgSend_635(_id, _lib._sel_setWeekOfMonth_1, value); + return _lib._objc_msgSend_635( + this.pointer, + _lib._sel_setWeekOfMonth_1, + value, + ); } int get weekOfYear { - return _lib._objc_msgSend_83(_id, _lib._sel_weekOfYear1); + return _lib._objc_msgSend_83(this.pointer, _lib._sel_weekOfYear1); } set weekOfYear(int value) { - return _lib._objc_msgSend_635(_id, _lib._sel_setWeekOfYear_1, value); + return _lib._objc_msgSend_635( + this.pointer, + _lib._sel_setWeekOfYear_1, + value, + ); } int get yearForWeekOfYear { - return _lib._objc_msgSend_83(_id, _lib._sel_yearForWeekOfYear1); + return _lib._objc_msgSend_83(this.pointer, _lib._sel_yearForWeekOfYear1); } set yearForWeekOfYear(int value) { - return _lib._objc_msgSend_635(_id, _lib._sel_setYearForWeekOfYear_1, value); + return _lib._objc_msgSend_635( + this.pointer, + _lib._sel_setYearForWeekOfYear_1, + value, + ); } bool get leapMonth { - return _lib._objc_msgSend_12(_id, _lib._sel_isLeapMonth1); + return _lib._objc_msgSend_12(this.pointer, _lib._sel_isLeapMonth1); } set leapMonth(bool value) { - return _lib._objc_msgSend_527(_id, _lib._sel_setLeapMonth_1, value); + return _lib._objc_msgSend_527( + this.pointer, + _lib._sel_setLeapMonth_1, + value, + ); } NSDate? get date { - final _ret = _lib._objc_msgSend_183(_id, _lib._sel_date1); + final _ret = _lib._objc_msgSend_183(this.pointer, _lib._sel_date1); return _ret.address == 0 ? null : NSDate._(_ret, _lib, retain: true, release: true); } int week() { - return _lib._objc_msgSend_83(_id, _lib._sel_week1); + return _lib._objc_msgSend_83(this.pointer, _lib._sel_week1); } void setWeek_(int v) { - _lib._objc_msgSend_423(_id, _lib._sel_setWeek_1, v); + _lib._objc_msgSend_423(this.pointer, _lib._sel_setWeek_1, v); } void setValue_forComponent_(int value, int unit) { - _lib._objc_msgSend_775(_id, _lib._sel_setValue_forComponent_1, value, unit); + _lib._objc_msgSend_775( + this.pointer, + _lib._sel_setValue_forComponent_1, + value, + unit, + ); } int valueForComponent_(int unit) { - return _lib._objc_msgSend_776(_id, _lib._sel_valueForComponent_1, unit); + return _lib._objc_msgSend_776( + this.pointer, + _lib._sel_valueForComponent_1, + unit, + ); } bool get validDate { - return _lib._objc_msgSend_12(_id, _lib._sel_isValidDate1); + return _lib._objc_msgSend_12(this.pointer, _lib._sel_isValidDate1); } bool isValidDateInCalendar_(NSCalendar calendar) { return _lib._objc_msgSend_777( - _id, _lib._sel_isValidDateInCalendar_1, calendar._id); + this.pointer, + _lib._sel_isValidDateInCalendar_1, + calendar.pointer, + ); } @override NSDateComponents init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSDateComponents._(_ret, _lib, retain: true, release: true); } static NSDateComponents new1(SwiftLibrary _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSDateComponents1, _lib._sel_new1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSDateComponents1, + _lib._sel_new1, + ); return NSDateComponents._(_ret, _lib, retain: false, release: true); } static NSDateComponents allocWithZone_( - SwiftLibrary _lib, ffi.Pointer<_NSZone> zone) { + SwiftLibrary _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSDateComponents1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSDateComponents1, + _lib._sel_allocWithZone_1, + zone, + ); return NSDateComponents._(_ret, _lib, retain: false, release: true); } static NSDateComponents alloc(SwiftLibrary _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSDateComponents1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSDateComponents1, + _lib._sel_alloc1, + ); return NSDateComponents._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + SwiftLibrary _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSDateComponents1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSDateComponents1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSDateComponents1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + SwiftLibrary _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSDateComponents1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { - return _lib._objc_msgSend_12(_lib._class_NSDateComponents1, - _lib._sel_accessInstanceVariablesDirectly1); + return _lib._objc_msgSend_12( + _lib._class_NSDateComponents1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(SwiftLibrary _lib) { return _lib._objc_msgSend_12( - _lib._class_NSDateComponents1, _lib._sel_useStoredAccessor1); + _lib._class_NSDateComponents1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSDateComponents1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSDateComponents1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSDateComponents1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSDateComponents1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, NSArray keys, NSString dependentKey) { + SwiftLibrary _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSDateComponents1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSDateComponents1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_85(_lib._class_NSDateComponents1, - _lib._sel_classFallbacksForKeyedArchiver1); + final _ret = _lib._objc_msgSend_85( + _lib._class_NSDateComponents1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSDateComponents1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSDateComponents1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } @@ -58943,48 +78238,70 @@ abstract class NSCalendarOptions { } void _ObjCBlock_ffiVoid_NSDate_bool_bool_fnPtrTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - bool arg1, - ffi.Pointer arg2) => - block.ref.target - .cast< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer arg0, ffi.Bool arg1, - ffi.Pointer arg2)>>() - .asFunction< - void Function(ffi.Pointer, bool, - ffi.Pointer)>()(arg0, arg1, arg2); -final _ObjCBlock_ffiVoid_NSDate_bool_bool_closureRegistry = , bool, ffi.Pointer)>{}; + ffi.Pointer block, + ffi.Pointer arg0, + bool arg1, + ffi.Pointer arg2, +) => block.ref.target + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Bool arg1, + ffi.Pointer arg2, + ) + > + >() + .asFunction< + void Function(ffi.Pointer, bool, ffi.Pointer) + >()(arg0, arg1, arg2); +final _ObjCBlock_ffiVoid_NSDate_bool_bool_closureRegistry = + < + int, + void Function(ffi.Pointer, bool, ffi.Pointer) + >{}; int _ObjCBlock_ffiVoid_NSDate_bool_bool_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_ffiVoid_NSDate_bool_bool_registerClosure( - void Function(ffi.Pointer, bool, ffi.Pointer) fn) { + void Function(ffi.Pointer, bool, ffi.Pointer) fn, +) { final id = ++_ObjCBlock_ffiVoid_NSDate_bool_bool_closureRegistryIndex; _ObjCBlock_ffiVoid_NSDate_bool_bool_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } void _ObjCBlock_ffiVoid_NSDate_bool_bool_closureTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - bool arg1, - ffi.Pointer arg2) => - _ObjCBlock_ffiVoid_NSDate_bool_bool_closureRegistry[ - block.ref.target.address]!(arg0, arg1, arg2); - -class ObjCBlock_ffiVoid_NSDate_bool_bool extends _ObjCBlockBase { + ffi.Pointer block, + ffi.Pointer arg0, + bool arg1, + ffi.Pointer arg2, +) => _ObjCBlock_ffiVoid_NSDate_bool_bool_closureRegistry[block + .ref + .target + .address]!(arg0, arg1, arg2); + +class ObjCBlock_ffiVoid_NSDate_bool_bool extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSDate_bool_bool._( - ffi.Pointer<_ObjCBlock> id, SwiftLibrary lib, - {bool retain = false, bool release = true}) - : super._(id, lib, retain: retain, release: release); + ffi.Pointer pointer, + this._lib, { + bool retain = false, + bool release = true, + }) : super(pointer, retain: retain, release: release); + + SwiftLibrary _lib; /// Returns a block that wraps the given raw block pointer. static ObjCBlock_ffiVoid_NSDate_bool_bool castFromPointer( - SwiftLibrary lib, ffi.Pointer<_ObjCBlock> pointer, - {bool retain = false, bool release = false}) { - return ObjCBlock_ffiVoid_NSDate_bool_bool._(pointer, lib, - retain: retain, release: release); + SwiftLibrary lib, + ffi.Pointer pointer, { + bool retain = false, + bool release = false, + }) { + return ObjCBlock_ffiVoid_NSDate_bool_bool._( + pointer, + lib, + retain: retain, + release: release, + ); } /// Creates a block from a C function pointer. @@ -58993,24 +78310,28 @@ class ObjCBlock_ffiVoid_NSDate_bool_bool extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSDate_bool_bool.fromFunctionPointer( - SwiftLibrary lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer arg0, ffi.Bool arg1, - ffi.Pointer arg2)>> - ptr) - : this._( - lib._newBlock1( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Bool, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_NSDate_bool_bool_fnPtrTrampoline) - .cast(), - ptr.cast()), - lib); + SwiftLibrary lib, + ffi.Pointer< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Bool arg1, + ffi.Pointer arg2, + ) + > + > ptr, + ) : this._(objc.newBlock( + _cFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_NSDate_bool_bool_fnPtrTrampoline).cast(), + ptr.cast(), + ), lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -59019,22 +78340,30 @@ class ObjCBlock_ffiVoid_NSDate_bool_bool extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSDate_bool_bool.fromFunction( - SwiftLibrary lib, void Function(NSDate?, bool, ffi.Pointer) fn) - : this._( - lib._newBlock1( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Bool, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_NSDate_bool_bool_closureTrampoline) - .cast(), - _ObjCBlock_ffiVoid_NSDate_bool_bool_registerClosure( - (ffi.Pointer arg0, bool arg1, - ffi.Pointer arg2) => - fn(arg0.address == 0 ? null : NSDate._(arg0, lib, retain: true, release: true), arg1, arg2))), - lib); + SwiftLibrary lib, + void Function(NSDate?, bool, ffi.Pointer) fn, + ) : this._(objc.newBlock( + _dartFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_NSDate_bool_bool_closureTrampoline).cast(), + _ObjCBlock_ffiVoid_NSDate_bool_bool_registerClosure(( + ffi.Pointer arg0, + bool arg1, + ffi.Pointer arg2, + ) => fn( + arg0.address == 0 + ? null + : NSDate._(arg0, lib, retain: true, release: true), + arg1, + arg2, + )), + ), lib); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -59047,169 +78376,249 @@ class ObjCBlock_ffiVoid_NSDate_bool_bool extends _ObjCBlockBase { /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. ObjCBlock_ffiVoid_NSDate_bool_bool.listener( - SwiftLibrary lib, void Function(NSDate?, bool, ffi.Pointer) fn) - : this._( - lib._newBlock1( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Bool, - ffi.Pointer)>.listener( - _ObjCBlock_ffiVoid_NSDate_bool_bool_closureTrampoline) - ..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSDate_bool_bool_registerClosure( - (ffi.Pointer arg0, bool arg1, - ffi.Pointer arg2) => - fn(arg0.address == 0 ? null : NSDate._(arg0, lib, retain: true, release: true), arg1, arg2))), - lib); + SwiftLibrary lib, + void Function(NSDate?, bool, ffi.Pointer) fn, + ) : this._(objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.Pointer, + ) + >.listener( + _ObjCBlock_ffiVoid_NSDate_bool_bool_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSDate_bool_bool_registerClosure(( + ffi.Pointer arg0, + bool arg1, + ffi.Pointer arg2, + ) => fn( + arg0.address == 0 + ? null + : NSDate._(arg0, lib, retain: true, release: true), + arg1, + arg2, + )), + ), lib); static ffi.NativeCallable< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer, - ffi.Bool, ffi.Pointer)>? _dartFuncListenerTrampoline; - - void call(NSDate? arg0, bool arg1, ffi.Pointer arg2) => - _id.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Bool arg1, - ffi.Pointer arg2)>>() - .asFunction< - void Function(ffi.Pointer<_ObjCBlock>, - ffi.Pointer, bool, ffi.Pointer)>()( - _id, arg0?._id ?? ffi.nullptr, arg1, arg2); + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.Pointer, + ) + >? _dartFuncListenerTrampoline; + + void call(NSDate? arg0, bool arg1, ffi.Pointer arg2) => pointer + .ref + .invoke + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Bool arg1, + ffi.Pointer arg2, + ) + > + >() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + bool, + ffi.Pointer, + ) + >()(pointer, arg0?.pointer ?? ffi.nullptr, arg1, arg2); } class NSNumberFormatter extends NSFormatter { - NSNumberFormatter._(ffi.Pointer id, SwiftLibrary lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSNumberFormatter._( + ffi.Pointer pointer, + SwiftLibrary lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSNumberFormatter] that points to the same underlying object as [other]. - static NSNumberFormatter castFrom(T other) { - return NSNumberFormatter._(other._id, other._lib, - retain: true, release: true); + static NSNumberFormatter castFrom( + SwiftLibrary lib, + T other, + ) { + return NSNumberFormatter._(other.pointer, lib, retain: true, release: true); } /// Returns a [NSNumberFormatter] that wraps the given raw object pointer. static NSNumberFormatter castFromPointer( - SwiftLibrary lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + SwiftLibrary lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSNumberFormatter._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSNumberFormatter]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0(obj._id, obj._lib._sel_isKindOfClass_1, - obj._lib._class_NSNumberFormatter1); + static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSNumberFormatter1, + ); } int get formattingContext { - return _lib._objc_msgSend_752(_id, _lib._sel_formattingContext1); + return _lib._objc_msgSend_752(this.pointer, _lib._sel_formattingContext1); } set formattingContext(int value) { - return _lib._objc_msgSend_753(_id, _lib._sel_setFormattingContext_1, value); + return _lib._objc_msgSend_753( + this.pointer, + _lib._sel_setFormattingContext_1, + value, + ); } bool getObjectValue_forString_range_error_( - ffi.Pointer> obj, - NSString string, - ffi.Pointer<_NSRange> rangep, - ffi.Pointer> error) { + ffi.Pointer> obj, + NSString string, + ffi.Pointer<_NSRange> rangep, + ffi.Pointer> error, + ) { return _lib._objc_msgSend_754( - _id, - _lib._sel_getObjectValue_forString_range_error_1, - obj, - string._id, - rangep, - error); + this.pointer, + _lib._sel_getObjectValue_forString_range_error_1, + obj, + string.pointer, + rangep, + error, + ); } NSString? stringFromNumber_(NSNumber number) { - final _ret = - _lib._objc_msgSend_802(_id, _lib._sel_stringFromNumber_1, number._id); + final _ret = _lib._objc_msgSend_802( + this.pointer, + _lib._sel_stringFromNumber_1, + number.pointer, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } NSNumber? numberFromString_(NSString string) { - final _ret = - _lib._objc_msgSend_803(_id, _lib._sel_numberFromString_1, string._id); + final _ret = _lib._objc_msgSend_803( + this.pointer, + _lib._sel_numberFromString_1, + string.pointer, + ); return _ret.address == 0 ? null : NSNumber._(_ret, _lib, retain: true, release: true); } static NSString localizedStringFromNumber_numberStyle_( - SwiftLibrary _lib, NSNumber num, int nstyle) { - final _ret = _lib._objc_msgSend_804(_lib._class_NSNumberFormatter1, - _lib._sel_localizedStringFromNumber_numberStyle_1, num._id, nstyle); + SwiftLibrary _lib, + NSNumber num, + int nstyle, + ) { + final _ret = _lib._objc_msgSend_804( + _lib._class_NSNumberFormatter1, + _lib._sel_localizedStringFromNumber_numberStyle_1, + num.pointer, + nstyle, + ); return NSString._(_ret, _lib, retain: true, release: true); } static int defaultFormatterBehavior(SwiftLibrary _lib) { return _lib._objc_msgSend_805( - _lib._class_NSNumberFormatter1, _lib._sel_defaultFormatterBehavior1); + _lib._class_NSNumberFormatter1, + _lib._sel_defaultFormatterBehavior1, + ); } static void setDefaultFormatterBehavior_(SwiftLibrary _lib, int behavior) { - _lib._objc_msgSend_806(_lib._class_NSNumberFormatter1, - _lib._sel_setDefaultFormatterBehavior_1, behavior); + _lib._objc_msgSend_806( + _lib._class_NSNumberFormatter1, + _lib._sel_setDefaultFormatterBehavior_1, + behavior, + ); } int get numberStyle { - return _lib._objc_msgSend_807(_id, _lib._sel_numberStyle1); + return _lib._objc_msgSend_807(this.pointer, _lib._sel_numberStyle1); } set numberStyle(int value) { - return _lib._objc_msgSend_808(_id, _lib._sel_setNumberStyle_1, value); + return _lib._objc_msgSend_808( + this.pointer, + _lib._sel_setNumberStyle_1, + value, + ); } NSLocale get locale { - final _ret = _lib._objc_msgSend_197(_id, _lib._sel_locale1); + final _ret = _lib._objc_msgSend_197(this.pointer, _lib._sel_locale1); return NSLocale._(_ret, _lib, retain: true, release: true); } set locale(NSLocale value) { - return _lib._objc_msgSend_762(_id, _lib._sel_setLocale_1, value._id); + return _lib._objc_msgSend_762( + this.pointer, + _lib._sel_setLocale_1, + value.pointer, + ); } bool get generatesDecimalNumbers { - return _lib._objc_msgSend_12(_id, _lib._sel_generatesDecimalNumbers1); + return _lib._objc_msgSend_12( + this.pointer, + _lib._sel_generatesDecimalNumbers1, + ); } set generatesDecimalNumbers(bool value) { return _lib._objc_msgSend_527( - _id, _lib._sel_setGeneratesDecimalNumbers_1, value); + this.pointer, + _lib._sel_setGeneratesDecimalNumbers_1, + value, + ); } int get formatterBehavior { - return _lib._objc_msgSend_805(_id, _lib._sel_formatterBehavior1); + return _lib._objc_msgSend_805(this.pointer, _lib._sel_formatterBehavior1); } set formatterBehavior(int value) { - return _lib._objc_msgSend_809(_id, _lib._sel_setFormatterBehavior_1, value); + return _lib._objc_msgSend_809( + this.pointer, + _lib._sel_setFormatterBehavior_1, + value, + ); } NSString get negativeFormat { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_negativeFormat1); + final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_negativeFormat1); return NSString._(_ret, _lib, retain: true, release: true); } set negativeFormat(NSString value) { return _lib._objc_msgSend_646( - _id, _lib._sel_setNegativeFormat_1, value._id); + this.pointer, + _lib._sel_setNegativeFormat_1, + value.pointer, + ); } NSDictionary? get textAttributesForNegativeValues { - final _ret = - _lib._objc_msgSend_390(_id, _lib._sel_textAttributesForNegativeValues1); + final _ret = _lib._objc_msgSend_390( + this.pointer, + _lib._sel_textAttributesForNegativeValues1, + ); return _ret.address == 0 ? null : NSDictionary._(_ret, _lib, retain: true, release: true); @@ -59217,24 +78626,30 @@ class NSNumberFormatter extends NSFormatter { set textAttributesForNegativeValues(NSDictionary? value) { return _lib._objc_msgSend_634( - _id, - _lib._sel_setTextAttributesForNegativeValues_1, - value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setTextAttributesForNegativeValues_1, + value?.pointer ?? ffi.nullptr, + ); } NSString get positiveFormat { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_positiveFormat1); + final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_positiveFormat1); return NSString._(_ret, _lib, retain: true, release: true); } set positiveFormat(NSString value) { return _lib._objc_msgSend_646( - _id, _lib._sel_setPositiveFormat_1, value._id); + this.pointer, + _lib._sel_setPositiveFormat_1, + value.pointer, + ); } NSDictionary? get textAttributesForPositiveValues { - final _ret = - _lib._objc_msgSend_390(_id, _lib._sel_textAttributesForPositiveValues1); + final _ret = _lib._objc_msgSend_390( + this.pointer, + _lib._sel_textAttributesForPositiveValues1, + ); return _ret.address == 0 ? null : NSDictionary._(_ret, _lib, retain: true, release: true); @@ -59242,70 +78657,104 @@ class NSNumberFormatter extends NSFormatter { set textAttributesForPositiveValues(NSDictionary? value) { return _lib._objc_msgSend_634( - _id, - _lib._sel_setTextAttributesForPositiveValues_1, - value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setTextAttributesForPositiveValues_1, + value?.pointer ?? ffi.nullptr, + ); } bool get allowsFloats { - return _lib._objc_msgSend_12(_id, _lib._sel_allowsFloats1); + return _lib._objc_msgSend_12(this.pointer, _lib._sel_allowsFloats1); } set allowsFloats(bool value) { - return _lib._objc_msgSend_527(_id, _lib._sel_setAllowsFloats_1, value); + return _lib._objc_msgSend_527( + this.pointer, + _lib._sel_setAllowsFloats_1, + value, + ); } NSString get decimalSeparator { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_decimalSeparator1); + final _ret = _lib._objc_msgSend_21( + this.pointer, + _lib._sel_decimalSeparator1, + ); return NSString._(_ret, _lib, retain: true, release: true); } set decimalSeparator(NSString value) { return _lib._objc_msgSend_646( - _id, _lib._sel_setDecimalSeparator_1, value._id); + this.pointer, + _lib._sel_setDecimalSeparator_1, + value.pointer, + ); } bool get alwaysShowsDecimalSeparator { - return _lib._objc_msgSend_12(_id, _lib._sel_alwaysShowsDecimalSeparator1); + return _lib._objc_msgSend_12( + this.pointer, + _lib._sel_alwaysShowsDecimalSeparator1, + ); } set alwaysShowsDecimalSeparator(bool value) { return _lib._objc_msgSend_527( - _id, _lib._sel_setAlwaysShowsDecimalSeparator_1, value); + this.pointer, + _lib._sel_setAlwaysShowsDecimalSeparator_1, + value, + ); } NSString get currencyDecimalSeparator { - final _ret = - _lib._objc_msgSend_21(_id, _lib._sel_currencyDecimalSeparator1); + final _ret = _lib._objc_msgSend_21( + this.pointer, + _lib._sel_currencyDecimalSeparator1, + ); return NSString._(_ret, _lib, retain: true, release: true); } set currencyDecimalSeparator(NSString value) { return _lib._objc_msgSend_646( - _id, _lib._sel_setCurrencyDecimalSeparator_1, value._id); + this.pointer, + _lib._sel_setCurrencyDecimalSeparator_1, + value.pointer, + ); } bool get usesGroupingSeparator { - return _lib._objc_msgSend_12(_id, _lib._sel_usesGroupingSeparator1); + return _lib._objc_msgSend_12( + this.pointer, + _lib._sel_usesGroupingSeparator1, + ); } set usesGroupingSeparator(bool value) { return _lib._objc_msgSend_527( - _id, _lib._sel_setUsesGroupingSeparator_1, value); + this.pointer, + _lib._sel_setUsesGroupingSeparator_1, + value, + ); } NSString get groupingSeparator { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_groupingSeparator1); + final _ret = _lib._objc_msgSend_21( + this.pointer, + _lib._sel_groupingSeparator1, + ); return NSString._(_ret, _lib, retain: true, release: true); } set groupingSeparator(NSString value) { return _lib._objc_msgSend_646( - _id, _lib._sel_setGroupingSeparator_1, value._id); + this.pointer, + _lib._sel_setGroupingSeparator_1, + value.pointer, + ); } NSString? get zeroSymbol { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_zeroSymbol1); + final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_zeroSymbol1); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); @@ -59313,11 +78762,17 @@ class NSNumberFormatter extends NSFormatter { set zeroSymbol(NSString? value) { return _lib._objc_msgSend_545( - _id, _lib._sel_setZeroSymbol_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setZeroSymbol_1, + value?.pointer ?? ffi.nullptr, + ); } NSDictionary? get textAttributesForZero { - final _ret = _lib._objc_msgSend_390(_id, _lib._sel_textAttributesForZero1); + final _ret = _lib._objc_msgSend_390( + this.pointer, + _lib._sel_textAttributesForZero1, + ); return _ret.address == 0 ? null : NSDictionary._(_ret, _lib, retain: true, release: true); @@ -59325,20 +78780,30 @@ class NSNumberFormatter extends NSFormatter { set textAttributesForZero(NSDictionary? value) { return _lib._objc_msgSend_634( - _id, _lib._sel_setTextAttributesForZero_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setTextAttributesForZero_1, + value?.pointer ?? ffi.nullptr, + ); } NSString get nilSymbol { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_nilSymbol1); + final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_nilSymbol1); return NSString._(_ret, _lib, retain: true, release: true); } set nilSymbol(NSString value) { - return _lib._objc_msgSend_646(_id, _lib._sel_setNilSymbol_1, value._id); + return _lib._objc_msgSend_646( + this.pointer, + _lib._sel_setNilSymbol_1, + value.pointer, + ); } NSDictionary? get textAttributesForNil { - final _ret = _lib._objc_msgSend_390(_id, _lib._sel_textAttributesForNil1); + final _ret = _lib._objc_msgSend_390( + this.pointer, + _lib._sel_textAttributesForNil1, + ); return _ret.address == 0 ? null : NSDictionary._(_ret, _lib, retain: true, release: true); @@ -59346,45 +78811,67 @@ class NSNumberFormatter extends NSFormatter { set textAttributesForNil(NSDictionary? value) { return _lib._objc_msgSend_634( - _id, _lib._sel_setTextAttributesForNil_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setTextAttributesForNil_1, + value?.pointer ?? ffi.nullptr, + ); } NSString get notANumberSymbol { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_notANumberSymbol1); + final _ret = _lib._objc_msgSend_21( + this.pointer, + _lib._sel_notANumberSymbol1, + ); return NSString._(_ret, _lib, retain: true, release: true); } set notANumberSymbol(NSString value) { return _lib._objc_msgSend_646( - _id, _lib._sel_setNotANumberSymbol_1, value._id); + this.pointer, + _lib._sel_setNotANumberSymbol_1, + value.pointer, + ); } NSDictionary? get textAttributesForNotANumber { - final _ret = - _lib._objc_msgSend_390(_id, _lib._sel_textAttributesForNotANumber1); + final _ret = _lib._objc_msgSend_390( + this.pointer, + _lib._sel_textAttributesForNotANumber1, + ); return _ret.address == 0 ? null : NSDictionary._(_ret, _lib, retain: true, release: true); } set textAttributesForNotANumber(NSDictionary? value) { - return _lib._objc_msgSend_634(_id, - _lib._sel_setTextAttributesForNotANumber_1, value?._id ?? ffi.nullptr); + return _lib._objc_msgSend_634( + this.pointer, + _lib._sel_setTextAttributesForNotANumber_1, + value?.pointer ?? ffi.nullptr, + ); } NSString get positiveInfinitySymbol { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_positiveInfinitySymbol1); + final _ret = _lib._objc_msgSend_21( + this.pointer, + _lib._sel_positiveInfinitySymbol1, + ); return NSString._(_ret, _lib, retain: true, release: true); } set positiveInfinitySymbol(NSString value) { return _lib._objc_msgSend_646( - _id, _lib._sel_setPositiveInfinitySymbol_1, value._id); + this.pointer, + _lib._sel_setPositiveInfinitySymbol_1, + value.pointer, + ); } NSDictionary? get textAttributesForPositiveInfinity { final _ret = _lib._objc_msgSend_390( - _id, _lib._sel_textAttributesForPositiveInfinity1); + this.pointer, + _lib._sel_textAttributesForPositiveInfinity1, + ); return _ret.address == 0 ? null : NSDictionary._(_ret, _lib, retain: true, release: true); @@ -59392,24 +78879,33 @@ class NSNumberFormatter extends NSFormatter { set textAttributesForPositiveInfinity(NSDictionary? value) { return _lib._objc_msgSend_634( - _id, - _lib._sel_setTextAttributesForPositiveInfinity_1, - value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setTextAttributesForPositiveInfinity_1, + value?.pointer ?? ffi.nullptr, + ); } NSString get negativeInfinitySymbol { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_negativeInfinitySymbol1); + final _ret = _lib._objc_msgSend_21( + this.pointer, + _lib._sel_negativeInfinitySymbol1, + ); return NSString._(_ret, _lib, retain: true, release: true); } set negativeInfinitySymbol(NSString value) { return _lib._objc_msgSend_646( - _id, _lib._sel_setNegativeInfinitySymbol_1, value._id); + this.pointer, + _lib._sel_setNegativeInfinitySymbol_1, + value.pointer, + ); } NSDictionary? get textAttributesForNegativeInfinity { final _ret = _lib._objc_msgSend_390( - _id, _lib._sel_textAttributesForNegativeInfinity1); + this.pointer, + _lib._sel_textAttributesForNegativeInfinity1, + ); return _ret.address == 0 ? null : NSDictionary._(_ret, _lib, retain: true, release: true); @@ -59417,146 +78913,200 @@ class NSNumberFormatter extends NSFormatter { set textAttributesForNegativeInfinity(NSDictionary? value) { return _lib._objc_msgSend_634( - _id, - _lib._sel_setTextAttributesForNegativeInfinity_1, - value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setTextAttributesForNegativeInfinity_1, + value?.pointer ?? ffi.nullptr, + ); } NSString get positivePrefix { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_positivePrefix1); + final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_positivePrefix1); return NSString._(_ret, _lib, retain: true, release: true); } set positivePrefix(NSString value) { return _lib._objc_msgSend_646( - _id, _lib._sel_setPositivePrefix_1, value._id); + this.pointer, + _lib._sel_setPositivePrefix_1, + value.pointer, + ); } NSString get positiveSuffix { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_positiveSuffix1); + final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_positiveSuffix1); return NSString._(_ret, _lib, retain: true, release: true); } set positiveSuffix(NSString value) { return _lib._objc_msgSend_646( - _id, _lib._sel_setPositiveSuffix_1, value._id); + this.pointer, + _lib._sel_setPositiveSuffix_1, + value.pointer, + ); } NSString get negativePrefix { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_negativePrefix1); + final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_negativePrefix1); return NSString._(_ret, _lib, retain: true, release: true); } set negativePrefix(NSString value) { return _lib._objc_msgSend_646( - _id, _lib._sel_setNegativePrefix_1, value._id); + this.pointer, + _lib._sel_setNegativePrefix_1, + value.pointer, + ); } NSString get negativeSuffix { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_negativeSuffix1); + final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_negativeSuffix1); return NSString._(_ret, _lib, retain: true, release: true); } set negativeSuffix(NSString value) { return _lib._objc_msgSend_646( - _id, _lib._sel_setNegativeSuffix_1, value._id); + this.pointer, + _lib._sel_setNegativeSuffix_1, + value.pointer, + ); } NSString get currencyCode { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_currencyCode1); + final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_currencyCode1); return NSString._(_ret, _lib, retain: true, release: true); } set currencyCode(NSString value) { - return _lib._objc_msgSend_646(_id, _lib._sel_setCurrencyCode_1, value._id); + return _lib._objc_msgSend_646( + this.pointer, + _lib._sel_setCurrencyCode_1, + value.pointer, + ); } NSString get currencySymbol { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_currencySymbol1); + final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_currencySymbol1); return NSString._(_ret, _lib, retain: true, release: true); } set currencySymbol(NSString value) { return _lib._objc_msgSend_646( - _id, _lib._sel_setCurrencySymbol_1, value._id); + this.pointer, + _lib._sel_setCurrencySymbol_1, + value.pointer, + ); } NSString get internationalCurrencySymbol { - final _ret = - _lib._objc_msgSend_21(_id, _lib._sel_internationalCurrencySymbol1); + final _ret = _lib._objc_msgSend_21( + this.pointer, + _lib._sel_internationalCurrencySymbol1, + ); return NSString._(_ret, _lib, retain: true, release: true); } set internationalCurrencySymbol(NSString value) { return _lib._objc_msgSend_646( - _id, _lib._sel_setInternationalCurrencySymbol_1, value._id); + this.pointer, + _lib._sel_setInternationalCurrencySymbol_1, + value.pointer, + ); } NSString get percentSymbol { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_percentSymbol1); + final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_percentSymbol1); return NSString._(_ret, _lib, retain: true, release: true); } set percentSymbol(NSString value) { - return _lib._objc_msgSend_646(_id, _lib._sel_setPercentSymbol_1, value._id); + return _lib._objc_msgSend_646( + this.pointer, + _lib._sel_setPercentSymbol_1, + value.pointer, + ); } NSString get perMillSymbol { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_perMillSymbol1); + final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_perMillSymbol1); return NSString._(_ret, _lib, retain: true, release: true); } set perMillSymbol(NSString value) { - return _lib._objc_msgSend_646(_id, _lib._sel_setPerMillSymbol_1, value._id); + return _lib._objc_msgSend_646( + this.pointer, + _lib._sel_setPerMillSymbol_1, + value.pointer, + ); } NSString get minusSign { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_minusSign1); + final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_minusSign1); return NSString._(_ret, _lib, retain: true, release: true); } set minusSign(NSString value) { - return _lib._objc_msgSend_646(_id, _lib._sel_setMinusSign_1, value._id); + return _lib._objc_msgSend_646( + this.pointer, + _lib._sel_setMinusSign_1, + value.pointer, + ); } NSString get plusSign { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_plusSign1); + final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_plusSign1); return NSString._(_ret, _lib, retain: true, release: true); } set plusSign(NSString value) { - return _lib._objc_msgSend_646(_id, _lib._sel_setPlusSign_1, value._id); + return _lib._objc_msgSend_646( + this.pointer, + _lib._sel_setPlusSign_1, + value.pointer, + ); } NSString get exponentSymbol { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_exponentSymbol1); + final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_exponentSymbol1); return NSString._(_ret, _lib, retain: true, release: true); } set exponentSymbol(NSString value) { return _lib._objc_msgSend_646( - _id, _lib._sel_setExponentSymbol_1, value._id); + this.pointer, + _lib._sel_setExponentSymbol_1, + value.pointer, + ); } int get groupingSize { - return _lib._objc_msgSend_10(_id, _lib._sel_groupingSize1); + return _lib._objc_msgSend_10(this.pointer, _lib._sel_groupingSize1); } set groupingSize(int value) { - return _lib._objc_msgSend_516(_id, _lib._sel_setGroupingSize_1, value); + return _lib._objc_msgSend_516( + this.pointer, + _lib._sel_setGroupingSize_1, + value, + ); } int get secondaryGroupingSize { - return _lib._objc_msgSend_10(_id, _lib._sel_secondaryGroupingSize1); + return _lib._objc_msgSend_10( + this.pointer, + _lib._sel_secondaryGroupingSize1, + ); } set secondaryGroupingSize(int value) { return _lib._objc_msgSend_516( - _id, _lib._sel_setSecondaryGroupingSize_1, value); + this.pointer, + _lib._sel_setSecondaryGroupingSize_1, + value, + ); } NSNumber? get multiplier { - final _ret = _lib._objc_msgSend_215(_id, _lib._sel_multiplier1); + final _ret = _lib._objc_msgSend_215(this.pointer, _lib._sel_multiplier1); return _ret.address == 0 ? null : NSNumber._(_ret, _lib, retain: true, release: true); @@ -59564,91 +79114,136 @@ class NSNumberFormatter extends NSFormatter { set multiplier(NSNumber? value) { return _lib._objc_msgSend_670( - _id, _lib._sel_setMultiplier_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setMultiplier_1, + value?.pointer ?? ffi.nullptr, + ); } int get formatWidth { - return _lib._objc_msgSend_10(_id, _lib._sel_formatWidth1); + return _lib._objc_msgSend_10(this.pointer, _lib._sel_formatWidth1); } set formatWidth(int value) { - return _lib._objc_msgSend_516(_id, _lib._sel_setFormatWidth_1, value); + return _lib._objc_msgSend_516( + this.pointer, + _lib._sel_setFormatWidth_1, + value, + ); } NSString get paddingCharacter { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_paddingCharacter1); + final _ret = _lib._objc_msgSend_21( + this.pointer, + _lib._sel_paddingCharacter1, + ); return NSString._(_ret, _lib, retain: true, release: true); } set paddingCharacter(NSString value) { return _lib._objc_msgSend_646( - _id, _lib._sel_setPaddingCharacter_1, value._id); + this.pointer, + _lib._sel_setPaddingCharacter_1, + value.pointer, + ); } int get paddingPosition { - return _lib._objc_msgSend_810(_id, _lib._sel_paddingPosition1); + return _lib._objc_msgSend_810(this.pointer, _lib._sel_paddingPosition1); } set paddingPosition(int value) { - return _lib._objc_msgSend_811(_id, _lib._sel_setPaddingPosition_1, value); + return _lib._objc_msgSend_811( + this.pointer, + _lib._sel_setPaddingPosition_1, + value, + ); } int get roundingMode { - return _lib._objc_msgSend_812(_id, _lib._sel_roundingMode1); + return _lib._objc_msgSend_812(this.pointer, _lib._sel_roundingMode1); } set roundingMode(int value) { - return _lib._objc_msgSend_813(_id, _lib._sel_setRoundingMode_1, value); + return _lib._objc_msgSend_813( + this.pointer, + _lib._sel_setRoundingMode_1, + value, + ); } NSNumber get roundingIncrement { - final _ret = _lib._objc_msgSend_814(_id, _lib._sel_roundingIncrement1); + final _ret = _lib._objc_msgSend_814( + this.pointer, + _lib._sel_roundingIncrement1, + ); return NSNumber._(_ret, _lib, retain: true, release: true); } set roundingIncrement(NSNumber value) { return _lib._objc_msgSend_815( - _id, _lib._sel_setRoundingIncrement_1, value._id); + this.pointer, + _lib._sel_setRoundingIncrement_1, + value.pointer, + ); } int get minimumIntegerDigits { - return _lib._objc_msgSend_10(_id, _lib._sel_minimumIntegerDigits1); + return _lib._objc_msgSend_10(this.pointer, _lib._sel_minimumIntegerDigits1); } set minimumIntegerDigits(int value) { return _lib._objc_msgSend_516( - _id, _lib._sel_setMinimumIntegerDigits_1, value); + this.pointer, + _lib._sel_setMinimumIntegerDigits_1, + value, + ); } int get maximumIntegerDigits { - return _lib._objc_msgSend_10(_id, _lib._sel_maximumIntegerDigits1); + return _lib._objc_msgSend_10(this.pointer, _lib._sel_maximumIntegerDigits1); } set maximumIntegerDigits(int value) { return _lib._objc_msgSend_516( - _id, _lib._sel_setMaximumIntegerDigits_1, value); + this.pointer, + _lib._sel_setMaximumIntegerDigits_1, + value, + ); } int get minimumFractionDigits { - return _lib._objc_msgSend_10(_id, _lib._sel_minimumFractionDigits1); + return _lib._objc_msgSend_10( + this.pointer, + _lib._sel_minimumFractionDigits1, + ); } set minimumFractionDigits(int value) { return _lib._objc_msgSend_516( - _id, _lib._sel_setMinimumFractionDigits_1, value); + this.pointer, + _lib._sel_setMinimumFractionDigits_1, + value, + ); } int get maximumFractionDigits { - return _lib._objc_msgSend_10(_id, _lib._sel_maximumFractionDigits1); + return _lib._objc_msgSend_10( + this.pointer, + _lib._sel_maximumFractionDigits1, + ); } set maximumFractionDigits(int value) { return _lib._objc_msgSend_516( - _id, _lib._sel_setMaximumFractionDigits_1, value); + this.pointer, + _lib._sel_setMaximumFractionDigits_1, + value, + ); } NSNumber? get minimum { - final _ret = _lib._objc_msgSend_215(_id, _lib._sel_minimum1); + final _ret = _lib._objc_msgSend_215(this.pointer, _lib._sel_minimum1); return _ret.address == 0 ? null : NSNumber._(_ret, _lib, retain: true, release: true); @@ -59656,11 +79251,14 @@ class NSNumberFormatter extends NSFormatter { set minimum(NSNumber? value) { return _lib._objc_msgSend_670( - _id, _lib._sel_setMinimum_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setMinimum_1, + value?.pointer ?? ffi.nullptr, + ); } NSNumber? get maximum { - final _ret = _lib._objc_msgSend_215(_id, _lib._sel_maximum1); + final _ret = _lib._objc_msgSend_215(this.pointer, _lib._sel_maximum1); return _ret.address == 0 ? null : NSNumber._(_ret, _lib, retain: true, release: true); @@ -59668,228 +79266,339 @@ class NSNumberFormatter extends NSFormatter { set maximum(NSNumber? value) { return _lib._objc_msgSend_670( - _id, _lib._sel_setMaximum_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setMaximum_1, + value?.pointer ?? ffi.nullptr, + ); } NSString get currencyGroupingSeparator { - final _ret = - _lib._objc_msgSend_21(_id, _lib._sel_currencyGroupingSeparator1); + final _ret = _lib._objc_msgSend_21( + this.pointer, + _lib._sel_currencyGroupingSeparator1, + ); return NSString._(_ret, _lib, retain: true, release: true); } set currencyGroupingSeparator(NSString value) { return _lib._objc_msgSend_646( - _id, _lib._sel_setCurrencyGroupingSeparator_1, value._id); + this.pointer, + _lib._sel_setCurrencyGroupingSeparator_1, + value.pointer, + ); } bool get lenient { - return _lib._objc_msgSend_12(_id, _lib._sel_isLenient1); + return _lib._objc_msgSend_12(this.pointer, _lib._sel_isLenient1); } set lenient(bool value) { - return _lib._objc_msgSend_527(_id, _lib._sel_setLenient_1, value); + return _lib._objc_msgSend_527(this.pointer, _lib._sel_setLenient_1, value); } bool get usesSignificantDigits { - return _lib._objc_msgSend_12(_id, _lib._sel_usesSignificantDigits1); + return _lib._objc_msgSend_12( + this.pointer, + _lib._sel_usesSignificantDigits1, + ); } set usesSignificantDigits(bool value) { return _lib._objc_msgSend_527( - _id, _lib._sel_setUsesSignificantDigits_1, value); + this.pointer, + _lib._sel_setUsesSignificantDigits_1, + value, + ); } int get minimumSignificantDigits { - return _lib._objc_msgSend_10(_id, _lib._sel_minimumSignificantDigits1); + return _lib._objc_msgSend_10( + this.pointer, + _lib._sel_minimumSignificantDigits1, + ); } set minimumSignificantDigits(int value) { return _lib._objc_msgSend_516( - _id, _lib._sel_setMinimumSignificantDigits_1, value); + this.pointer, + _lib._sel_setMinimumSignificantDigits_1, + value, + ); } int get maximumSignificantDigits { - return _lib._objc_msgSend_10(_id, _lib._sel_maximumSignificantDigits1); + return _lib._objc_msgSend_10( + this.pointer, + _lib._sel_maximumSignificantDigits1, + ); } set maximumSignificantDigits(int value) { return _lib._objc_msgSend_516( - _id, _lib._sel_setMaximumSignificantDigits_1, value); + this.pointer, + _lib._sel_setMaximumSignificantDigits_1, + value, + ); } bool get partialStringValidationEnabled { return _lib._objc_msgSend_12( - _id, _lib._sel_isPartialStringValidationEnabled1); + this.pointer, + _lib._sel_isPartialStringValidationEnabled1, + ); } set partialStringValidationEnabled(bool value) { return _lib._objc_msgSend_527( - _id, _lib._sel_setPartialStringValidationEnabled_1, value); + this.pointer, + _lib._sel_setPartialStringValidationEnabled_1, + value, + ); } bool get hasThousandSeparators { - return _lib._objc_msgSend_12(_id, _lib._sel_hasThousandSeparators1); + return _lib._objc_msgSend_12( + this.pointer, + _lib._sel_hasThousandSeparators1, + ); } set hasThousandSeparators(bool value) { return _lib._objc_msgSend_527( - _id, _lib._sel_setHasThousandSeparators_1, value); + this.pointer, + _lib._sel_setHasThousandSeparators_1, + value, + ); } NSString get thousandSeparator { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_thousandSeparator1); + final _ret = _lib._objc_msgSend_21( + this.pointer, + _lib._sel_thousandSeparator1, + ); return NSString._(_ret, _lib, retain: true, release: true); } set thousandSeparator(NSString value) { return _lib._objc_msgSend_646( - _id, _lib._sel_setThousandSeparator_1, value._id); + this.pointer, + _lib._sel_setThousandSeparator_1, + value.pointer, + ); } bool get localizesFormat { - return _lib._objc_msgSend_12(_id, _lib._sel_localizesFormat1); + return _lib._objc_msgSend_12(this.pointer, _lib._sel_localizesFormat1); } set localizesFormat(bool value) { - return _lib._objc_msgSend_527(_id, _lib._sel_setLocalizesFormat_1, value); + return _lib._objc_msgSend_527( + this.pointer, + _lib._sel_setLocalizesFormat_1, + value, + ); } NSString get format { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_format1); + final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_format1); return NSString._(_ret, _lib, retain: true, release: true); } set format(NSString value) { - return _lib._objc_msgSend_646(_id, _lib._sel_setFormat_1, value._id); + return _lib._objc_msgSend_646( + this.pointer, + _lib._sel_setFormat_1, + value.pointer, + ); } NSAttributedString get attributedStringForZero { - final _ret = - _lib._objc_msgSend_735(_id, _lib._sel_attributedStringForZero1); + final _ret = _lib._objc_msgSend_735( + this.pointer, + _lib._sel_attributedStringForZero1, + ); return NSAttributedString._(_ret, _lib, retain: true, release: true); } set attributedStringForZero(NSAttributedString value) { return _lib._objc_msgSend_816( - _id, _lib._sel_setAttributedStringForZero_1, value._id); + this.pointer, + _lib._sel_setAttributedStringForZero_1, + value.pointer, + ); } NSAttributedString get attributedStringForNil { - final _ret = _lib._objc_msgSend_735(_id, _lib._sel_attributedStringForNil1); + final _ret = _lib._objc_msgSend_735( + this.pointer, + _lib._sel_attributedStringForNil1, + ); return NSAttributedString._(_ret, _lib, retain: true, release: true); } set attributedStringForNil(NSAttributedString value) { return _lib._objc_msgSend_816( - _id, _lib._sel_setAttributedStringForNil_1, value._id); + this.pointer, + _lib._sel_setAttributedStringForNil_1, + value.pointer, + ); } NSAttributedString get attributedStringForNotANumber { - final _ret = - _lib._objc_msgSend_735(_id, _lib._sel_attributedStringForNotANumber1); + final _ret = _lib._objc_msgSend_735( + this.pointer, + _lib._sel_attributedStringForNotANumber1, + ); return NSAttributedString._(_ret, _lib, retain: true, release: true); } set attributedStringForNotANumber(NSAttributedString value) { return _lib._objc_msgSend_816( - _id, _lib._sel_setAttributedStringForNotANumber_1, value._id); + this.pointer, + _lib._sel_setAttributedStringForNotANumber_1, + value.pointer, + ); } NSDecimalNumberHandler get roundingBehavior { - final _ret = _lib._objc_msgSend_817(_id, _lib._sel_roundingBehavior1); + final _ret = _lib._objc_msgSend_817( + this.pointer, + _lib._sel_roundingBehavior1, + ); return NSDecimalNumberHandler._(_ret, _lib, retain: true, release: true); } set roundingBehavior(NSDecimalNumberHandler value) { return _lib._objc_msgSend_819( - _id, _lib._sel_setRoundingBehavior_1, value._id); + this.pointer, + _lib._sel_setRoundingBehavior_1, + value.pointer, + ); } @override NSNumberFormatter init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSNumberFormatter._(_ret, _lib, retain: true, release: true); } static NSNumberFormatter new1(SwiftLibrary _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSNumberFormatter1, _lib._sel_new1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSNumberFormatter1, + _lib._sel_new1, + ); return NSNumberFormatter._(_ret, _lib, retain: false, release: true); } static NSNumberFormatter allocWithZone_( - SwiftLibrary _lib, ffi.Pointer<_NSZone> zone) { + SwiftLibrary _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSNumberFormatter1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSNumberFormatter1, + _lib._sel_allocWithZone_1, + zone, + ); return NSNumberFormatter._(_ret, _lib, retain: false, release: true); } static NSNumberFormatter alloc(SwiftLibrary _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSNumberFormatter1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSNumberFormatter1, + _lib._sel_alloc1, + ); return NSNumberFormatter._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + SwiftLibrary _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSNumberFormatter1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSNumberFormatter1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSNumberFormatter1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + SwiftLibrary _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSNumberFormatter1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { - return _lib._objc_msgSend_12(_lib._class_NSNumberFormatter1, - _lib._sel_accessInstanceVariablesDirectly1); + return _lib._objc_msgSend_12( + _lib._class_NSNumberFormatter1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(SwiftLibrary _lib) { return _lib._objc_msgSend_12( - _lib._class_NSNumberFormatter1, _lib._sel_useStoredAccessor1); + _lib._class_NSNumberFormatter1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSNumberFormatter1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSNumberFormatter1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSNumberFormatter1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSNumberFormatter1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, NSArray keys, NSString dependentKey) { + SwiftLibrary _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSNumberFormatter1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSNumberFormatter1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_85(_lib._class_NSNumberFormatter1, - _lib._sel_classFallbacksForKeyedArchiver1); + final _ret = _lib._objc_msgSend_85( + _lib._class_NSNumberFormatter1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSNumberFormatter1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSNumberFormatter1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } @@ -59931,163 +79640,228 @@ abstract class NSNumberFormatterRoundingMode { } class NSDecimalNumberHandler extends NSObject { - NSDecimalNumberHandler._(ffi.Pointer id, SwiftLibrary lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSDecimalNumberHandler._( + ffi.Pointer pointer, + SwiftLibrary lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSDecimalNumberHandler] that points to the same underlying object as [other]. - static NSDecimalNumberHandler castFrom(T other) { - return NSDecimalNumberHandler._(other._id, other._lib, - retain: true, release: true); + static NSDecimalNumberHandler castFrom( + SwiftLibrary lib, + T other, + ) { + return NSDecimalNumberHandler._( + other.pointer, + lib, + retain: true, + release: true, + ); } /// Returns a [NSDecimalNumberHandler] that wraps the given raw object pointer. static NSDecimalNumberHandler castFromPointer( - SwiftLibrary lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { - return NSDecimalNumberHandler._(other, lib, - retain: retain, release: release); + SwiftLibrary lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { + return NSDecimalNumberHandler._( + other, + lib, + retain: retain, + release: release, + ); } /// Returns whether [obj] is an instance of [NSDecimalNumberHandler]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0(obj._id, obj._lib._sel_isKindOfClass_1, - obj._lib._class_NSDecimalNumberHandler1); + static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSDecimalNumberHandler1, + ); } static NSDecimalNumberHandler getDefaultDecimalNumberHandler( - SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_817(_lib._class_NSDecimalNumberHandler1, - _lib._sel_defaultDecimalNumberHandler1); + SwiftLibrary _lib, + ) { + final _ret = _lib._objc_msgSend_817( + _lib._class_NSDecimalNumberHandler1, + _lib._sel_defaultDecimalNumberHandler1, + ); return NSDecimalNumberHandler._(_ret, _lib, retain: true, release: true); } NSDecimalNumberHandler - initWithRoundingMode_scale_raiseOnExactness_raiseOnOverflow_raiseOnUnderflow_raiseOnDivideByZero_( - int roundingMode, - int scale, - bool exact, - bool overflow, - bool underflow, - bool divideByZero) { + initWithRoundingMode_scale_raiseOnExactness_raiseOnOverflow_raiseOnUnderflow_raiseOnDivideByZero_( + int roundingMode, + int scale, + bool exact, + bool overflow, + bool underflow, + bool divideByZero, + ) { final _ret = _lib._objc_msgSend_818( - _id, - _lib._sel_initWithRoundingMode_scale_raiseOnExactness_raiseOnOverflow_raiseOnUnderflow_raiseOnDivideByZero_1, - roundingMode, - scale, - exact, - overflow, - underflow, - divideByZero); + this.pointer, + _lib._sel_initWithRoundingMode_scale_raiseOnExactness_raiseOnOverflow_raiseOnUnderflow_raiseOnDivideByZero_1, + roundingMode, + scale, + exact, + overflow, + underflow, + divideByZero, + ); return NSDecimalNumberHandler._(_ret, _lib, retain: true, release: true); } static NSDecimalNumberHandler - decimalNumberHandlerWithRoundingMode_scale_raiseOnExactness_raiseOnOverflow_raiseOnUnderflow_raiseOnDivideByZero_( - SwiftLibrary _lib, - int roundingMode, - int scale, - bool exact, - bool overflow, - bool underflow, - bool divideByZero) { + decimalNumberHandlerWithRoundingMode_scale_raiseOnExactness_raiseOnOverflow_raiseOnUnderflow_raiseOnDivideByZero_( + SwiftLibrary _lib, + int roundingMode, + int scale, + bool exact, + bool overflow, + bool underflow, + bool divideByZero, + ) { final _ret = _lib._objc_msgSend_818( - _lib._class_NSDecimalNumberHandler1, - _lib._sel_decimalNumberHandlerWithRoundingMode_scale_raiseOnExactness_raiseOnOverflow_raiseOnUnderflow_raiseOnDivideByZero_1, - roundingMode, - scale, - exact, - overflow, - underflow, - divideByZero); + _lib._class_NSDecimalNumberHandler1, + _lib._sel_decimalNumberHandlerWithRoundingMode_scale_raiseOnExactness_raiseOnOverflow_raiseOnUnderflow_raiseOnDivideByZero_1, + roundingMode, + scale, + exact, + overflow, + underflow, + divideByZero, + ); return NSDecimalNumberHandler._(_ret, _lib, retain: true, release: true); } @override NSDecimalNumberHandler init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSDecimalNumberHandler._(_ret, _lib, retain: true, release: true); } static NSDecimalNumberHandler new1(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSDecimalNumberHandler1, _lib._sel_new1); + _lib._class_NSDecimalNumberHandler1, + _lib._sel_new1, + ); return NSDecimalNumberHandler._(_ret, _lib, retain: false, release: true); } static NSDecimalNumberHandler allocWithZone_( - SwiftLibrary _lib, ffi.Pointer<_NSZone> zone) { + SwiftLibrary _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSDecimalNumberHandler1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSDecimalNumberHandler1, + _lib._sel_allocWithZone_1, + zone, + ); return NSDecimalNumberHandler._(_ret, _lib, retain: false, release: true); } static NSDecimalNumberHandler alloc(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSDecimalNumberHandler1, _lib._sel_alloc1); + _lib._class_NSDecimalNumberHandler1, + _lib._sel_alloc1, + ); return NSDecimalNumberHandler._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + SwiftLibrary _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSDecimalNumberHandler1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSDecimalNumberHandler1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSDecimalNumberHandler1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + SwiftLibrary _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSDecimalNumberHandler1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { - return _lib._objc_msgSend_12(_lib._class_NSDecimalNumberHandler1, - _lib._sel_accessInstanceVariablesDirectly1); + return _lib._objc_msgSend_12( + _lib._class_NSDecimalNumberHandler1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(SwiftLibrary _lib) { return _lib._objc_msgSend_12( - _lib._class_NSDecimalNumberHandler1, _lib._sel_useStoredAccessor1); + _lib._class_NSDecimalNumberHandler1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSDecimalNumberHandler1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSDecimalNumberHandler1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSDecimalNumberHandler1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSDecimalNumberHandler1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, NSArray keys, NSString dependentKey) { + SwiftLibrary _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSDecimalNumberHandler1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSDecimalNumberHandler1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_85(_lib._class_NSDecimalNumberHandler1, - _lib._sel_classFallbacksForKeyedArchiver1); + final _ret = _lib._objc_msgSend_85( + _lib._class_NSDecimalNumberHandler1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2(_lib._class_NSDecimalNumberHandler1, - _lib._sel_classForKeyedUnarchiver1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSDecimalNumberHandler1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } @@ -60100,43 +79874,62 @@ abstract class NSRoundingMode { } class NSScanner extends NSObject { - NSScanner._(ffi.Pointer id, SwiftLibrary lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSScanner._( + ffi.Pointer pointer, + SwiftLibrary lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSScanner] that points to the same underlying object as [other]. - static NSScanner castFrom(T other) { - return NSScanner._(other._id, other._lib, retain: true, release: true); + static NSScanner castFrom( + SwiftLibrary lib, + T other, + ) { + return NSScanner._(other.pointer, lib, retain: true, release: true); } /// Returns a [NSScanner] that wraps the given raw object pointer. static NSScanner castFromPointer( - SwiftLibrary lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + SwiftLibrary lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSScanner._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSScanner]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_NSScanner1); + static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSScanner1, + ); } NSString get string { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_string1); + final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_string1); return NSString._(_ret, _lib, retain: true, release: true); } int get scanLocation { - return _lib._objc_msgSend_10(_id, _lib._sel_scanLocation1); + return _lib._objc_msgSend_10(this.pointer, _lib._sel_scanLocation1); } set scanLocation(int value) { - return _lib._objc_msgSend_516(_id, _lib._sel_setScanLocation_1, value); + return _lib._objc_msgSend_516( + this.pointer, + _lib._sel_setScanLocation_1, + value, + ); } NSCharacterSet? get charactersToBeSkipped { - final _ret = _lib._objc_msgSend_820(_id, _lib._sel_charactersToBeSkipped1); + final _ret = _lib._objc_msgSend_820( + this.pointer, + _lib._sel_charactersToBeSkipped1, + ); return _ret.address == 0 ? null : NSCharacterSet._(_ret, _lib, retain: true, release: true); @@ -60144,19 +79937,26 @@ class NSScanner extends NSObject { set charactersToBeSkipped(NSCharacterSet? value) { return _lib._objc_msgSend_821( - _id, _lib._sel_setCharactersToBeSkipped_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setCharactersToBeSkipped_1, + value?.pointer ?? ffi.nullptr, + ); } bool get caseSensitive { - return _lib._objc_msgSend_12(_id, _lib._sel_caseSensitive1); + return _lib._objc_msgSend_12(this.pointer, _lib._sel_caseSensitive1); } set caseSensitive(bool value) { - return _lib._objc_msgSend_527(_id, _lib._sel_setCaseSensitive_1, value); + return _lib._objc_msgSend_527( + this.pointer, + _lib._sel_setCaseSensitive_1, + value, + ); } NSObject? get locale { - final _ret = _lib._objc_msgSend_17(_id, _lib._sel_locale1); + final _ret = _lib._objc_msgSend_17(this.pointer, _lib._sel_locale1); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); @@ -60164,104 +79964,165 @@ class NSScanner extends NSObject { set locale(NSObject? value) { return _lib._objc_msgSend_416( - _id, _lib._sel_setLocale_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setLocale_1, + value?.pointer ?? ffi.nullptr, + ); } NSScanner initWithString_(NSString string) { - final _ret = - _lib._objc_msgSend_31(_id, _lib._sel_initWithString_1, string._id); + final _ret = _lib._objc_msgSend_31( + this.pointer, + _lib._sel_initWithString_1, + string.pointer, + ); return NSScanner._(_ret, _lib, retain: true, release: true); } bool scanInt_(ffi.Pointer result) { - return _lib._objc_msgSend_822(_id, _lib._sel_scanInt_1, result); + return _lib._objc_msgSend_822(this.pointer, _lib._sel_scanInt_1, result); } bool scanInteger_(ffi.Pointer result) { - return _lib._objc_msgSend_823(_id, _lib._sel_scanInteger_1, result); + return _lib._objc_msgSend_823( + this.pointer, + _lib._sel_scanInteger_1, + result, + ); } bool scanLongLong_(ffi.Pointer result) { - return _lib._objc_msgSend_824(_id, _lib._sel_scanLongLong_1, result); + return _lib._objc_msgSend_824( + this.pointer, + _lib._sel_scanLongLong_1, + result, + ); } bool scanUnsignedLongLong_(ffi.Pointer result) { return _lib._objc_msgSend_825( - _id, _lib._sel_scanUnsignedLongLong_1, result); + this.pointer, + _lib._sel_scanUnsignedLongLong_1, + result, + ); } bool scanFloat_(ffi.Pointer result) { - return _lib._objc_msgSend_826(_id, _lib._sel_scanFloat_1, result); + return _lib._objc_msgSend_826(this.pointer, _lib._sel_scanFloat_1, result); } bool scanDouble_(ffi.Pointer result) { - return _lib._objc_msgSend_827(_id, _lib._sel_scanDouble_1, result); + return _lib._objc_msgSend_827(this.pointer, _lib._sel_scanDouble_1, result); } bool scanHexInt_(ffi.Pointer result) { - return _lib._objc_msgSend_828(_id, _lib._sel_scanHexInt_1, result); + return _lib._objc_msgSend_828(this.pointer, _lib._sel_scanHexInt_1, result); } bool scanHexLongLong_(ffi.Pointer result) { - return _lib._objc_msgSend_825(_id, _lib._sel_scanHexLongLong_1, result); + return _lib._objc_msgSend_825( + this.pointer, + _lib._sel_scanHexLongLong_1, + result, + ); } bool scanHexFloat_(ffi.Pointer result) { - return _lib._objc_msgSend_826(_id, _lib._sel_scanHexFloat_1, result); + return _lib._objc_msgSend_826( + this.pointer, + _lib._sel_scanHexFloat_1, + result, + ); } bool scanHexDouble_(ffi.Pointer result) { - return _lib._objc_msgSend_827(_id, _lib._sel_scanHexDouble_1, result); + return _lib._objc_msgSend_827( + this.pointer, + _lib._sel_scanHexDouble_1, + result, + ); } bool scanString_intoString_( - NSString string, ffi.Pointer> result) { + NSString string, + ffi.Pointer> result, + ) { return _lib._objc_msgSend_829( - _id, _lib._sel_scanString_intoString_1, string._id, result); + this.pointer, + _lib._sel_scanString_intoString_1, + string.pointer, + result, + ); } bool scanCharactersFromSet_intoString_( - NSCharacterSet set, ffi.Pointer> result) { + NSCharacterSet set, + ffi.Pointer> result, + ) { return _lib._objc_msgSend_830( - _id, _lib._sel_scanCharactersFromSet_intoString_1, set._id, result); + this.pointer, + _lib._sel_scanCharactersFromSet_intoString_1, + set.pointer, + result, + ); } bool scanUpToString_intoString_( - NSString string, ffi.Pointer> result) { + NSString string, + ffi.Pointer> result, + ) { return _lib._objc_msgSend_829( - _id, _lib._sel_scanUpToString_intoString_1, string._id, result); + this.pointer, + _lib._sel_scanUpToString_intoString_1, + string.pointer, + result, + ); } bool scanUpToCharactersFromSet_intoString_( - NSCharacterSet set, ffi.Pointer> result) { + NSCharacterSet set, + ffi.Pointer> result, + ) { return _lib._objc_msgSend_830( - _id, _lib._sel_scanUpToCharactersFromSet_intoString_1, set._id, result); + this.pointer, + _lib._sel_scanUpToCharactersFromSet_intoString_1, + set.pointer, + result, + ); } bool get atEnd { - return _lib._objc_msgSend_12(_id, _lib._sel_isAtEnd1); + return _lib._objc_msgSend_12(this.pointer, _lib._sel_isAtEnd1); } static NSScanner scannerWithString_(SwiftLibrary _lib, NSString string) { final _ret = _lib._objc_msgSend_31( - _lib._class_NSScanner1, _lib._sel_scannerWithString_1, string._id); + _lib._class_NSScanner1, + _lib._sel_scannerWithString_1, + string.pointer, + ); return NSScanner._(_ret, _lib, retain: true, release: true); } static NSObject localizedScannerWithString_( - SwiftLibrary _lib, NSString string) { - final _ret = _lib._objc_msgSend_31(_lib._class_NSScanner1, - _lib._sel_localizedScannerWithString_1, string._id); + SwiftLibrary _lib, + NSString string, + ) { + final _ret = _lib._objc_msgSend_31( + _lib._class_NSScanner1, + _lib._sel_localizedScannerWithString_1, + string.pointer, + ); return NSObject._(_ret, _lib, retain: true, release: true); } bool scanDecimal_(ffi.Pointer dcm) { - return _lib._objc_msgSend_831(_id, _lib._sel_scanDecimal_1, dcm); + return _lib._objc_msgSend_831(this.pointer, _lib._sel_scanDecimal_1, dcm); } @override NSScanner init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSScanner._(_ret, _lib, retain: true, release: true); } @@ -60271,9 +80132,14 @@ class NSScanner extends NSObject { } static NSScanner allocWithZone_( - SwiftLibrary _lib, ffi.Pointer<_NSZone> zone) { + SwiftLibrary _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSScanner1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSScanner1, + _lib._sel_allocWithZone_1, + zone, + ); return NSScanner._(_ret, _lib, retain: false, release: true); } @@ -60283,65 +80149,94 @@ class NSScanner extends NSObject { } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + SwiftLibrary _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSScanner1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSScanner1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSScanner1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + SwiftLibrary _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSScanner1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { return _lib._objc_msgSend_12( - _lib._class_NSScanner1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_NSScanner1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(SwiftLibrary _lib) { return _lib._objc_msgSend_12( - _lib._class_NSScanner1, _lib._sel_useStoredAccessor1); + _lib._class_NSScanner1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSScanner1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSScanner1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSScanner1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSScanner1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, NSArray keys, NSString dependentKey) { + SwiftLibrary _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSScanner1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSScanner1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_85( - _lib._class_NSScanner1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSScanner1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSScanner1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSScanner1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } @@ -60349,98 +80244,137 @@ class NSScanner extends NSObject { final class NSDecimal extends ffi.Opaque {} class NSException extends NSObject { - NSException._(ffi.Pointer id, SwiftLibrary lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSException._( + ffi.Pointer pointer, + SwiftLibrary lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSException] that points to the same underlying object as [other]. - static NSException castFrom(T other) { - return NSException._(other._id, other._lib, retain: true, release: true); + static NSException castFrom( + SwiftLibrary lib, + T other, + ) { + return NSException._(other.pointer, lib, retain: true, release: true); } /// Returns a [NSException] that wraps the given raw object pointer. static NSException castFromPointer( - SwiftLibrary lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + SwiftLibrary lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSException._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSException]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_NSException1); + static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSException1, + ); } - static NSException exceptionWithName_reason_userInfo_(SwiftLibrary _lib, - NSString name, NSString? reason, NSDictionary? userInfo) { + static NSException exceptionWithName_reason_userInfo_( + SwiftLibrary _lib, + NSString name, + NSString? reason, + NSDictionary? userInfo, + ) { final _ret = _lib._objc_msgSend_832( - _lib._class_NSException1, - _lib._sel_exceptionWithName_reason_userInfo_1, - name._id, - reason?._id ?? ffi.nullptr, - userInfo?._id ?? ffi.nullptr); + _lib._class_NSException1, + _lib._sel_exceptionWithName_reason_userInfo_1, + name.pointer, + reason?.pointer ?? ffi.nullptr, + userInfo?.pointer ?? ffi.nullptr, + ); return NSException._(_ret, _lib, retain: true, release: true); } NSException initWithName_reason_userInfo_( - NSString aName, NSString? aReason, NSDictionary? aUserInfo) { + NSString aName, + NSString? aReason, + NSDictionary? aUserInfo, + ) { final _ret = _lib._objc_msgSend_833( - _id, - _lib._sel_initWithName_reason_userInfo_1, - aName._id, - aReason?._id ?? ffi.nullptr, - aUserInfo?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_initWithName_reason_userInfo_1, + aName.pointer, + aReason?.pointer ?? ffi.nullptr, + aUserInfo?.pointer ?? ffi.nullptr, + ); return NSException._(_ret, _lib, retain: true, release: true); } NSString get name { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_name1); + final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_name1); return NSString._(_ret, _lib, retain: true, release: true); } NSString? get reason { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_reason1); + final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_reason1); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } NSDictionary? get userInfo { - final _ret = _lib._objc_msgSend_390(_id, _lib._sel_userInfo1); + final _ret = _lib._objc_msgSend_390(this.pointer, _lib._sel_userInfo1); return _ret.address == 0 ? null : NSDictionary._(_ret, _lib, retain: true, release: true); } NSArray get callStackReturnAddresses { - final _ret = - _lib._objc_msgSend_85(_id, _lib._sel_callStackReturnAddresses1); + final _ret = _lib._objc_msgSend_85( + this.pointer, + _lib._sel_callStackReturnAddresses1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } NSArray get callStackSymbols { - final _ret = _lib._objc_msgSend_85(_id, _lib._sel_callStackSymbols1); + final _ret = _lib._objc_msgSend_85( + this.pointer, + _lib._sel_callStackSymbols1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } void raise() { - _lib._objc_msgSend_1(_id, _lib._sel_raise1); + _lib._objc_msgSend_1(this.pointer, _lib._sel_raise1); } static void raise_format_(SwiftLibrary _lib, NSString name, NSString format) { - _lib._objc_msgSend_551(_lib._class_NSException1, _lib._sel_raise_format_1, - name._id, format._id); + _lib._objc_msgSend_551( + _lib._class_NSException1, + _lib._sel_raise_format_1, + name.pointer, + format.pointer, + ); } - static void raise_format_arguments_(SwiftLibrary _lib, NSString name, - NSString format, ffi.Pointer<__va_list_tag> argList) { - _lib._objc_msgSend_834(_lib._class_NSException1, - _lib._sel_raise_format_arguments_1, name._id, format._id, argList); + static void raise_format_arguments_( + SwiftLibrary _lib, + NSString name, + NSString format, + ffi.Pointer<__va_list_tag> argList, + ) { + _lib._objc_msgSend_834( + _lib._class_NSException1, + _lib._sel_raise_format_arguments_1, + name.pointer, + format.pointer, + argList, + ); } @override NSException init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSException._(_ret, _lib, retain: true, release: true); } @@ -60450,499 +80384,748 @@ class NSException extends NSObject { } static NSException allocWithZone_( - SwiftLibrary _lib, ffi.Pointer<_NSZone> zone) { + SwiftLibrary _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSException1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSException1, + _lib._sel_allocWithZone_1, + zone, + ); return NSException._(_ret, _lib, retain: false, release: true); } static NSException alloc(SwiftLibrary _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSException1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSException1, + _lib._sel_alloc1, + ); return NSException._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + SwiftLibrary _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSException1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSException1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSException1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + SwiftLibrary _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSException1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { return _lib._objc_msgSend_12( - _lib._class_NSException1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_NSException1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(SwiftLibrary _lib) { return _lib._objc_msgSend_12( - _lib._class_NSException1, _lib._sel_useStoredAccessor1); + _lib._class_NSException1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSException1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSException1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSException1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSException1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, NSArray keys, NSString dependentKey) { + SwiftLibrary _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSException1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSException1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_85( - _lib._class_NSException1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSException1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSException1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSException1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } class NSFileHandle extends NSObject { - NSFileHandle._(ffi.Pointer id, SwiftLibrary lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSFileHandle._( + ffi.Pointer pointer, + SwiftLibrary lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSFileHandle] that points to the same underlying object as [other]. - static NSFileHandle castFrom(T other) { - return NSFileHandle._(other._id, other._lib, retain: true, release: true); + static NSFileHandle castFrom( + SwiftLibrary lib, + T other, + ) { + return NSFileHandle._(other.pointer, lib, retain: true, release: true); } /// Returns a [NSFileHandle] that wraps the given raw object pointer. static NSFileHandle castFromPointer( - SwiftLibrary lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + SwiftLibrary lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSFileHandle._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSFileHandle]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_NSFileHandle1); + static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSFileHandle1, + ); } NSData get availableData { - final _ret = _lib._objc_msgSend_43(_id, _lib._sel_availableData1); + final _ret = _lib._objc_msgSend_43(this.pointer, _lib._sel_availableData1); return NSData._(_ret, _lib, retain: true, release: true); } NSFileHandle initWithFileDescriptor_closeOnDealloc_(int fd, bool closeopt) { final _ret = _lib._objc_msgSend_835( - _id, _lib._sel_initWithFileDescriptor_closeOnDealloc_1, fd, closeopt); + this.pointer, + _lib._sel_initWithFileDescriptor_closeOnDealloc_1, + fd, + closeopt, + ); return NSFileHandle._(_ret, _lib, retain: true, release: true); } NSFileHandle? initWithCoder_(NSCoder coder) { - final _ret = - _lib._objc_msgSend_47(_id, _lib._sel_initWithCoder_1, coder._id); + final _ret = _lib._objc_msgSend_47( + this.pointer, + _lib._sel_initWithCoder_1, + coder.pointer, + ); return _ret.address == 0 ? null : NSFileHandle._(_ret, _lib, retain: true, release: true); } NSData? readDataToEndOfFileAndReturnError_( - ffi.Pointer> error) { + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_836( - _id, _lib._sel_readDataToEndOfFileAndReturnError_1, error); + this.pointer, + _lib._sel_readDataToEndOfFileAndReturnError_1, + error, + ); return _ret.address == 0 ? null : NSData._(_ret, _lib, retain: true, release: true); } NSData? readDataUpToLength_error_( - int length, ffi.Pointer> error) { + int length, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_837( - _id, _lib._sel_readDataUpToLength_error_1, length, error); + this.pointer, + _lib._sel_readDataUpToLength_error_1, + length, + error, + ); return _ret.address == 0 ? null : NSData._(_ret, _lib, retain: true, release: true); } bool writeData_error_( - NSData data, ffi.Pointer> error) { + NSData data, + ffi.Pointer> error, + ) { return _lib._objc_msgSend_838( - _id, _lib._sel_writeData_error_1, data._id, error); + this.pointer, + _lib._sel_writeData_error_1, + data.pointer, + error, + ); } - bool getOffset_error_(ffi.Pointer offsetInFile, - ffi.Pointer> error) { + bool getOffset_error_( + ffi.Pointer offsetInFile, + ffi.Pointer> error, + ) { return _lib._objc_msgSend_839( - _id, _lib._sel_getOffset_error_1, offsetInFile, error); + this.pointer, + _lib._sel_getOffset_error_1, + offsetInFile, + error, + ); } bool seekToEndReturningOffset_error_( - ffi.Pointer offsetInFile, - ffi.Pointer> error) { + ffi.Pointer offsetInFile, + ffi.Pointer> error, + ) { return _lib._objc_msgSend_839( - _id, _lib._sel_seekToEndReturningOffset_error_1, offsetInFile, error); + this.pointer, + _lib._sel_seekToEndReturningOffset_error_1, + offsetInFile, + error, + ); } bool seekToOffset_error_( - int offset, ffi.Pointer> error) { + int offset, + ffi.Pointer> error, + ) { return _lib._objc_msgSend_840( - _id, _lib._sel_seekToOffset_error_1, offset, error); + this.pointer, + _lib._sel_seekToOffset_error_1, + offset, + error, + ); } bool truncateAtOffset_error_( - int offset, ffi.Pointer> error) { + int offset, + ffi.Pointer> error, + ) { return _lib._objc_msgSend_840( - _id, _lib._sel_truncateAtOffset_error_1, offset, error); + this.pointer, + _lib._sel_truncateAtOffset_error_1, + offset, + error, + ); } - bool synchronizeAndReturnError_(ffi.Pointer> error) { + bool synchronizeAndReturnError_( + ffi.Pointer> error, + ) { return _lib._objc_msgSend_255( - _id, _lib._sel_synchronizeAndReturnError_1, error); + this.pointer, + _lib._sel_synchronizeAndReturnError_1, + error, + ); } - bool closeAndReturnError_(ffi.Pointer> error) { - return _lib._objc_msgSend_255(_id, _lib._sel_closeAndReturnError_1, error); + bool closeAndReturnError_(ffi.Pointer> error) { + return _lib._objc_msgSend_255( + this.pointer, + _lib._sel_closeAndReturnError_1, + error, + ); } static NSFileHandle getFileHandleWithStandardInput(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_841( - _lib._class_NSFileHandle1, _lib._sel_fileHandleWithStandardInput1); + _lib._class_NSFileHandle1, + _lib._sel_fileHandleWithStandardInput1, + ); return NSFileHandle._(_ret, _lib, retain: true, release: true); } static NSFileHandle getFileHandleWithStandardOutput(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_841( - _lib._class_NSFileHandle1, _lib._sel_fileHandleWithStandardOutput1); + _lib._class_NSFileHandle1, + _lib._sel_fileHandleWithStandardOutput1, + ); return NSFileHandle._(_ret, _lib, retain: true, release: true); } static NSFileHandle getFileHandleWithStandardError(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_841( - _lib._class_NSFileHandle1, _lib._sel_fileHandleWithStandardError1); + _lib._class_NSFileHandle1, + _lib._sel_fileHandleWithStandardError1, + ); return NSFileHandle._(_ret, _lib, retain: true, release: true); } static NSFileHandle getFileHandleWithNullDevice(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_841( - _lib._class_NSFileHandle1, _lib._sel_fileHandleWithNullDevice1); + _lib._class_NSFileHandle1, + _lib._sel_fileHandleWithNullDevice1, + ); return NSFileHandle._(_ret, _lib, retain: true, release: true); } static NSFileHandle? fileHandleForReadingAtPath_( - SwiftLibrary _lib, NSString path) { - final _ret = _lib._objc_msgSend_38(_lib._class_NSFileHandle1, - _lib._sel_fileHandleForReadingAtPath_1, path._id); + SwiftLibrary _lib, + NSString path, + ) { + final _ret = _lib._objc_msgSend_38( + _lib._class_NSFileHandle1, + _lib._sel_fileHandleForReadingAtPath_1, + path.pointer, + ); return _ret.address == 0 ? null : NSFileHandle._(_ret, _lib, retain: true, release: true); } static NSFileHandle? fileHandleForWritingAtPath_( - SwiftLibrary _lib, NSString path) { - final _ret = _lib._objc_msgSend_38(_lib._class_NSFileHandle1, - _lib._sel_fileHandleForWritingAtPath_1, path._id); + SwiftLibrary _lib, + NSString path, + ) { + final _ret = _lib._objc_msgSend_38( + _lib._class_NSFileHandle1, + _lib._sel_fileHandleForWritingAtPath_1, + path.pointer, + ); return _ret.address == 0 ? null : NSFileHandle._(_ret, _lib, retain: true, release: true); } static NSFileHandle? fileHandleForUpdatingAtPath_( - SwiftLibrary _lib, NSString path) { - final _ret = _lib._objc_msgSend_38(_lib._class_NSFileHandle1, - _lib._sel_fileHandleForUpdatingAtPath_1, path._id); + SwiftLibrary _lib, + NSString path, + ) { + final _ret = _lib._objc_msgSend_38( + _lib._class_NSFileHandle1, + _lib._sel_fileHandleForUpdatingAtPath_1, + path.pointer, + ); return _ret.address == 0 ? null : NSFileHandle._(_ret, _lib, retain: true, release: true); } - static NSFileHandle? fileHandleForReadingFromURL_error_(SwiftLibrary _lib, - NSURL url, ffi.Pointer> error) { - final _ret = _lib._objc_msgSend_842(_lib._class_NSFileHandle1, - _lib._sel_fileHandleForReadingFromURL_error_1, url._id, error); + static NSFileHandle? fileHandleForReadingFromURL_error_( + SwiftLibrary _lib, + NSURL url, + ffi.Pointer> error, + ) { + final _ret = _lib._objc_msgSend_842( + _lib._class_NSFileHandle1, + _lib._sel_fileHandleForReadingFromURL_error_1, + url.pointer, + error, + ); return _ret.address == 0 ? null : NSFileHandle._(_ret, _lib, retain: true, release: true); } - static NSFileHandle? fileHandleForWritingToURL_error_(SwiftLibrary _lib, - NSURL url, ffi.Pointer> error) { - final _ret = _lib._objc_msgSend_842(_lib._class_NSFileHandle1, - _lib._sel_fileHandleForWritingToURL_error_1, url._id, error); + static NSFileHandle? fileHandleForWritingToURL_error_( + SwiftLibrary _lib, + NSURL url, + ffi.Pointer> error, + ) { + final _ret = _lib._objc_msgSend_842( + _lib._class_NSFileHandle1, + _lib._sel_fileHandleForWritingToURL_error_1, + url.pointer, + error, + ); return _ret.address == 0 ? null : NSFileHandle._(_ret, _lib, retain: true, release: true); } - static NSFileHandle? fileHandleForUpdatingURL_error_(SwiftLibrary _lib, - NSURL url, ffi.Pointer> error) { - final _ret = _lib._objc_msgSend_842(_lib._class_NSFileHandle1, - _lib._sel_fileHandleForUpdatingURL_error_1, url._id, error); + static NSFileHandle? fileHandleForUpdatingURL_error_( + SwiftLibrary _lib, + NSURL url, + ffi.Pointer> error, + ) { + final _ret = _lib._objc_msgSend_842( + _lib._class_NSFileHandle1, + _lib._sel_fileHandleForUpdatingURL_error_1, + url.pointer, + error, + ); return _ret.address == 0 ? null : NSFileHandle._(_ret, _lib, retain: true, release: true); } void readInBackgroundAndNotifyForModes_(NSArray? modes) { - _lib._objc_msgSend_843(_id, _lib._sel_readInBackgroundAndNotifyForModes_1, - modes?._id ?? ffi.nullptr); + _lib._objc_msgSend_843( + this.pointer, + _lib._sel_readInBackgroundAndNotifyForModes_1, + modes?.pointer ?? ffi.nullptr, + ); } void readInBackgroundAndNotify() { - _lib._objc_msgSend_1(_id, _lib._sel_readInBackgroundAndNotify1); + _lib._objc_msgSend_1(this.pointer, _lib._sel_readInBackgroundAndNotify1); } void readToEndOfFileInBackgroundAndNotifyForModes_(NSArray? modes) { _lib._objc_msgSend_843( - _id, - _lib._sel_readToEndOfFileInBackgroundAndNotifyForModes_1, - modes?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_readToEndOfFileInBackgroundAndNotifyForModes_1, + modes?.pointer ?? ffi.nullptr, + ); } void readToEndOfFileInBackgroundAndNotify() { - _lib._objc_msgSend_1(_id, _lib._sel_readToEndOfFileInBackgroundAndNotify1); + _lib._objc_msgSend_1( + this.pointer, + _lib._sel_readToEndOfFileInBackgroundAndNotify1, + ); } void acceptConnectionInBackgroundAndNotifyForModes_(NSArray? modes) { _lib._objc_msgSend_843( - _id, - _lib._sel_acceptConnectionInBackgroundAndNotifyForModes_1, - modes?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_acceptConnectionInBackgroundAndNotifyForModes_1, + modes?.pointer ?? ffi.nullptr, + ); } void acceptConnectionInBackgroundAndNotify() { - _lib._objc_msgSend_1(_id, _lib._sel_acceptConnectionInBackgroundAndNotify1); + _lib._objc_msgSend_1( + this.pointer, + _lib._sel_acceptConnectionInBackgroundAndNotify1, + ); } void waitForDataInBackgroundAndNotifyForModes_(NSArray? modes) { _lib._objc_msgSend_843( - _id, - _lib._sel_waitForDataInBackgroundAndNotifyForModes_1, - modes?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_waitForDataInBackgroundAndNotifyForModes_1, + modes?.pointer ?? ffi.nullptr, + ); } void waitForDataInBackgroundAndNotify() { - _lib._objc_msgSend_1(_id, _lib._sel_waitForDataInBackgroundAndNotify1); + _lib._objc_msgSend_1( + this.pointer, + _lib._sel_waitForDataInBackgroundAndNotify1, + ); } ObjCBlock_ffiVoid_NSFileHandle? get readabilityHandler { - final _ret = _lib._objc_msgSend_844(_id, _lib._sel_readabilityHandler1); + final _ret = _lib._objc_msgSend_844( + this.pointer, + _lib._sel_readabilityHandler1, + ); return _ret.address == 0 ? null - : ObjCBlock_ffiVoid_NSFileHandle._(_ret, _lib, - retain: true, release: true); + : ObjCBlock_ffiVoid_NSFileHandle._( + _ret, + _lib, + retain: true, + release: true, + ); } set readabilityHandler(ObjCBlock_ffiVoid_NSFileHandle? value) { return _lib._objc_msgSend_845( - _id, _lib._sel_setReadabilityHandler_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setReadabilityHandler_1, + value?.pointer ?? ffi.nullptr, + ); } ObjCBlock_ffiVoid_NSFileHandle? get writeabilityHandler { - final _ret = _lib._objc_msgSend_844(_id, _lib._sel_writeabilityHandler1); + final _ret = _lib._objc_msgSend_844( + this.pointer, + _lib._sel_writeabilityHandler1, + ); return _ret.address == 0 ? null - : ObjCBlock_ffiVoid_NSFileHandle._(_ret, _lib, - retain: true, release: true); + : ObjCBlock_ffiVoid_NSFileHandle._( + _ret, + _lib, + retain: true, + release: true, + ); } set writeabilityHandler(ObjCBlock_ffiVoid_NSFileHandle? value) { return _lib._objc_msgSend_845( - _id, _lib._sel_setWriteabilityHandler_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setWriteabilityHandler_1, + value?.pointer ?? ffi.nullptr, + ); } NSFileHandle initWithFileDescriptor_(int fd) { - final _ret = - _lib._objc_msgSend_846(_id, _lib._sel_initWithFileDescriptor_1, fd); + final _ret = _lib._objc_msgSend_846( + this.pointer, + _lib._sel_initWithFileDescriptor_1, + fd, + ); return NSFileHandle._(_ret, _lib, retain: true, release: true); } int get fileDescriptor { - return _lib._objc_msgSend_237(_id, _lib._sel_fileDescriptor1); + return _lib._objc_msgSend_237(this.pointer, _lib._sel_fileDescriptor1); } NSData readDataToEndOfFile() { - final _ret = _lib._objc_msgSend_43(_id, _lib._sel_readDataToEndOfFile1); + final _ret = _lib._objc_msgSend_43( + this.pointer, + _lib._sel_readDataToEndOfFile1, + ); return NSData._(_ret, _lib, retain: true, release: true); } NSData readDataOfLength_(int length) { - final _ret = - _lib._objc_msgSend_847(_id, _lib._sel_readDataOfLength_1, length); + final _ret = _lib._objc_msgSend_847( + this.pointer, + _lib._sel_readDataOfLength_1, + length, + ); return NSData._(_ret, _lib, retain: true, release: true); } void writeData_(NSData data) { - _lib._objc_msgSend_285(_id, _lib._sel_writeData_1, data._id); + _lib._objc_msgSend_285(this.pointer, _lib._sel_writeData_1, data.pointer); } int get offsetInFile { - return _lib._objc_msgSend_164(_id, _lib._sel_offsetInFile1); + return _lib._objc_msgSend_164(this.pointer, _lib._sel_offsetInFile1); } int seekToEndOfFile() { - return _lib._objc_msgSend_164(_id, _lib._sel_seekToEndOfFile1); + return _lib._objc_msgSend_164(this.pointer, _lib._sel_seekToEndOfFile1); } void seekToFileOffset_(int offset) { - _lib._objc_msgSend_848(_id, _lib._sel_seekToFileOffset_1, offset); + _lib._objc_msgSend_848(this.pointer, _lib._sel_seekToFileOffset_1, offset); } void truncateFileAtOffset_(int offset) { - _lib._objc_msgSend_848(_id, _lib._sel_truncateFileAtOffset_1, offset); + _lib._objc_msgSend_848( + this.pointer, + _lib._sel_truncateFileAtOffset_1, + offset, + ); } void synchronizeFile() { - _lib._objc_msgSend_1(_id, _lib._sel_synchronizeFile1); + _lib._objc_msgSend_1(this.pointer, _lib._sel_synchronizeFile1); } void closeFile() { - _lib._objc_msgSend_1(_id, _lib._sel_closeFile1); + _lib._objc_msgSend_1(this.pointer, _lib._sel_closeFile1); } @override NSFileHandle init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSFileHandle._(_ret, _lib, retain: true, release: true); } static NSFileHandle new1(SwiftLibrary _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSFileHandle1, _lib._sel_new1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSFileHandle1, + _lib._sel_new1, + ); return NSFileHandle._(_ret, _lib, retain: false, release: true); } static NSFileHandle allocWithZone_( - SwiftLibrary _lib, ffi.Pointer<_NSZone> zone) { + SwiftLibrary _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSFileHandle1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSFileHandle1, + _lib._sel_allocWithZone_1, + zone, + ); return NSFileHandle._(_ret, _lib, retain: false, release: true); } static NSFileHandle alloc(SwiftLibrary _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSFileHandle1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSFileHandle1, + _lib._sel_alloc1, + ); return NSFileHandle._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + SwiftLibrary _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSFileHandle1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSFileHandle1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSFileHandle1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + SwiftLibrary _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSFileHandle1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { return _lib._objc_msgSend_12( - _lib._class_NSFileHandle1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_NSFileHandle1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(SwiftLibrary _lib) { return _lib._objc_msgSend_12( - _lib._class_NSFileHandle1, _lib._sel_useStoredAccessor1); + _lib._class_NSFileHandle1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSFileHandle1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSFileHandle1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSFileHandle1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSFileHandle1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, NSArray keys, NSString dependentKey) { + SwiftLibrary _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSFileHandle1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSFileHandle1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_85( - _lib._class_NSFileHandle1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSFileHandle1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSFileHandle1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSFileHandle1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } void _ObjCBlock_ffiVoid_NSFileHandle_fnPtrTrampoline( - ffi.Pointer<_ObjCBlock> block, ffi.Pointer arg0) => - block.ref.target - .cast< - ffi - .NativeFunction arg0)>>() - .asFunction)>()(arg0); + ffi.Pointer block, + ffi.Pointer arg0, +) => block.ref.target + .cast< + ffi.NativeFunction arg0)> + >() + .asFunction)>()(arg0); final _ObjCBlock_ffiVoid_NSFileHandle_closureRegistry = - )>{}; + )>{}; int _ObjCBlock_ffiVoid_NSFileHandle_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_ffiVoid_NSFileHandle_registerClosure( - void Function(ffi.Pointer) fn) { + void Function(ffi.Pointer) fn, +) { final id = ++_ObjCBlock_ffiVoid_NSFileHandle_closureRegistryIndex; _ObjCBlock_ffiVoid_NSFileHandle_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } void _ObjCBlock_ffiVoid_NSFileHandle_closureTrampoline( - ffi.Pointer<_ObjCBlock> block, ffi.Pointer arg0) => - _ObjCBlock_ffiVoid_NSFileHandle_closureRegistry[block.ref.target.address]!( - arg0); - -class ObjCBlock_ffiVoid_NSFileHandle extends _ObjCBlockBase { - ObjCBlock_ffiVoid_NSFileHandle._(ffi.Pointer<_ObjCBlock> id, SwiftLibrary lib, - {bool retain = false, bool release = true}) - : super._(id, lib, retain: retain, release: release); + ffi.Pointer block, + ffi.Pointer arg0, +) => _ObjCBlock_ffiVoid_NSFileHandle_closureRegistry[block.ref.target.address]!( + arg0, +); + +class ObjCBlock_ffiVoid_NSFileHandle extends objc.ObjCBlockBase { + ObjCBlock_ffiVoid_NSFileHandle._( + ffi.Pointer pointer, + this._lib, { + bool retain = false, + bool release = true, + }) : super(pointer, retain: retain, release: release); + + SwiftLibrary _lib; /// Returns a block that wraps the given raw block pointer. static ObjCBlock_ffiVoid_NSFileHandle castFromPointer( - SwiftLibrary lib, ffi.Pointer<_ObjCBlock> pointer, - {bool retain = false, bool release = false}) { - return ObjCBlock_ffiVoid_NSFileHandle._(pointer, lib, - retain: retain, release: release); + SwiftLibrary lib, + ffi.Pointer pointer, { + bool retain = false, + bool release = false, + }) { + return ObjCBlock_ffiVoid_NSFileHandle._( + pointer, + lib, + retain: retain, + release: release, + ); } /// Creates a block from a C function pointer. @@ -60951,21 +81134,20 @@ class ObjCBlock_ffiVoid_NSFileHandle extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSFileHandle.fromFunctionPointer( - SwiftLibrary lib, - ffi.Pointer< - ffi - .NativeFunction arg0)>> - ptr) - : this._( - lib - ._newBlock1( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_NSFileHandle_fnPtrTrampoline) - .cast(), - ptr.cast()), - lib); + SwiftLibrary lib, + ffi.Pointer< + ffi.NativeFunction arg0)> + > ptr, + ) : this._(objc.newBlock( + _cFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_NSFileHandle_fnPtrTrampoline).cast(), + ptr.cast(), + ), lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -60974,19 +81156,20 @@ class ObjCBlock_ffiVoid_NSFileHandle extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSFileHandle.fromFunction( - SwiftLibrary lib, void Function(NSFileHandle) fn) - : this._( - lib._newBlock1( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_NSFileHandle_closureTrampoline) - .cast(), - _ObjCBlock_ffiVoid_NSFileHandle_registerClosure((ffi - .Pointer - arg0) => - fn(NSFileHandle._(arg0, lib, retain: true, release: true)))), - lib); + SwiftLibrary lib, + void Function(NSFileHandle) fn, + ) : this._(objc.newBlock( + _dartFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_NSFileHandle_closureTrampoline).cast(), + _ObjCBlock_ffiVoid_NSFileHandle_registerClosure(( + ffi.Pointer arg0, + ) => fn(NSFileHandle._(arg0, lib, retain: true, release: true))), + ), lib); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -60999,356 +81182,481 @@ class ObjCBlock_ffiVoid_NSFileHandle extends _ObjCBlockBase { /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. ObjCBlock_ffiVoid_NSFileHandle.listener( - SwiftLibrary lib, void Function(NSFileHandle) fn) - : this._( - lib._newBlock1( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, - ffi.Pointer)>.listener( - _ObjCBlock_ffiVoid_NSFileHandle_closureTrampoline) - ..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSFileHandle_registerClosure( - (ffi.Pointer arg0) => fn(NSFileHandle._( - arg0, lib, - retain: true, release: true)))), - lib); + SwiftLibrary lib, + void Function(NSFileHandle) fn, + ) : this._(objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ) + >.listener( + _ObjCBlock_ffiVoid_NSFileHandle_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSFileHandle_registerClosure(( + ffi.Pointer arg0, + ) => fn(NSFileHandle._(arg0, lib, retain: true, release: true))), + ), lib); static ffi.NativeCallable< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer)>? - _dartFuncListenerTrampoline; + ffi.Void Function(ffi.Pointer, ffi.Pointer) + >? _dartFuncListenerTrampoline; - void call(NSFileHandle arg0) => _id.ref.invoke + void call(NSFileHandle arg0) => pointer.ref.invoke .cast< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0)>>() + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer block, + ffi.Pointer arg0, + ) + > + >() .asFunction< - void Function(ffi.Pointer<_ObjCBlock>, - ffi.Pointer)>()(_id, arg0._id); + void Function(ffi.Pointer, ffi.Pointer) + >()(pointer, arg0.pointer); } class NSHTTPCookieStorage extends NSObject { - NSHTTPCookieStorage._(ffi.Pointer id, SwiftLibrary lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSHTTPCookieStorage._( + ffi.Pointer pointer, + SwiftLibrary lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSHTTPCookieStorage] that points to the same underlying object as [other]. - static NSHTTPCookieStorage castFrom(T other) { - return NSHTTPCookieStorage._(other._id, other._lib, - retain: true, release: true); + static NSHTTPCookieStorage castFrom( + SwiftLibrary lib, + T other, + ) { + return NSHTTPCookieStorage._( + other.pointer, + lib, + retain: true, + release: true, + ); } /// Returns a [NSHTTPCookieStorage] that wraps the given raw object pointer. static NSHTTPCookieStorage castFromPointer( - SwiftLibrary lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + SwiftLibrary lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSHTTPCookieStorage._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSHTTPCookieStorage]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0(obj._id, obj._lib._sel_isKindOfClass_1, - obj._lib._class_NSHTTPCookieStorage1); + static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSHTTPCookieStorage1, + ); } static NSHTTPCookieStorage getSharedHTTPCookieStorage(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_849( - _lib._class_NSHTTPCookieStorage1, _lib._sel_sharedHTTPCookieStorage1); + _lib._class_NSHTTPCookieStorage1, + _lib._sel_sharedHTTPCookieStorage1, + ); return NSHTTPCookieStorage._(_ret, _lib, retain: true, release: true); } static NSHTTPCookieStorage sharedCookieStorageForGroupContainerIdentifier_( - SwiftLibrary _lib, NSString identifier) { + SwiftLibrary _lib, + NSString identifier, + ) { final _ret = _lib._objc_msgSend_850( - _lib._class_NSHTTPCookieStorage1, - _lib._sel_sharedCookieStorageForGroupContainerIdentifier_1, - identifier._id); + _lib._class_NSHTTPCookieStorage1, + _lib._sel_sharedCookieStorageForGroupContainerIdentifier_1, + identifier.pointer, + ); return NSHTTPCookieStorage._(_ret, _lib, retain: true, release: true); } NSArray? get cookies { - final _ret = _lib._objc_msgSend_84(_id, _lib._sel_cookies1); + final _ret = _lib._objc_msgSend_84(this.pointer, _lib._sel_cookies1); return _ret.address == 0 ? null : NSArray._(_ret, _lib, retain: true, release: true); } void setCookie_(NSHTTPCookie cookie) { - _lib._objc_msgSend_854(_id, _lib._sel_setCookie_1, cookie._id); + _lib._objc_msgSend_854(this.pointer, _lib._sel_setCookie_1, cookie.pointer); } void deleteCookie_(NSHTTPCookie cookie) { - _lib._objc_msgSend_854(_id, _lib._sel_deleteCookie_1, cookie._id); + _lib._objc_msgSend_854( + this.pointer, + _lib._sel_deleteCookie_1, + cookie.pointer, + ); } void removeCookiesSinceDate_(NSDate date) { - _lib._objc_msgSend_540(_id, _lib._sel_removeCookiesSinceDate_1, date._id); + _lib._objc_msgSend_540( + this.pointer, + _lib._sel_removeCookiesSinceDate_1, + date.pointer, + ); } NSArray? cookiesForURL_(NSURL URL) { - final _ret = - _lib._objc_msgSend_133(_id, _lib._sel_cookiesForURL_1, URL._id); + final _ret = _lib._objc_msgSend_133( + this.pointer, + _lib._sel_cookiesForURL_1, + URL.pointer, + ); return _ret.address == 0 ? null : NSArray._(_ret, _lib, retain: true, release: true); } void setCookies_forURL_mainDocumentURL_( - NSArray cookies, NSURL? URL, NSURL? mainDocumentURL) { + NSArray cookies, + NSURL? URL, + NSURL? mainDocumentURL, + ) { _lib._objc_msgSend_855( - _id, - _lib._sel_setCookies_forURL_mainDocumentURL_1, - cookies._id, - URL?._id ?? ffi.nullptr, - mainDocumentURL?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setCookies_forURL_mainDocumentURL_1, + cookies.pointer, + URL?.pointer ?? ffi.nullptr, + mainDocumentURL?.pointer ?? ffi.nullptr, + ); } int get cookieAcceptPolicy { - return _lib._objc_msgSend_856(_id, _lib._sel_cookieAcceptPolicy1); + return _lib._objc_msgSend_856(this.pointer, _lib._sel_cookieAcceptPolicy1); } set cookieAcceptPolicy(int value) { return _lib._objc_msgSend_857( - _id, _lib._sel_setCookieAcceptPolicy_1, value); + this.pointer, + _lib._sel_setCookieAcceptPolicy_1, + value, + ); } NSArray sortedCookiesUsingDescriptors_(NSArray sortOrder) { final _ret = _lib._objc_msgSend_68( - _id, _lib._sel_sortedCookiesUsingDescriptors_1, sortOrder._id); + this.pointer, + _lib._sel_sortedCookiesUsingDescriptors_1, + sortOrder.pointer, + ); return NSArray._(_ret, _lib, retain: true, release: true); } void storeCookies_forTask_(NSArray cookies, NSURLSessionTask task) { _lib._objc_msgSend_882( - _id, _lib._sel_storeCookies_forTask_1, cookies._id, task._id); + this.pointer, + _lib._sel_storeCookies_forTask_1, + cookies.pointer, + task.pointer, + ); } void getCookiesForTask_completionHandler_( - NSURLSessionTask task, ObjCBlock_ffiVoid_NSArray completionHandler) { - _lib._objc_msgSend_883(_id, _lib._sel_getCookiesForTask_completionHandler_1, - task._id, completionHandler._id); + NSURLSessionTask task, + ObjCBlock_ffiVoid_NSArray completionHandler, + ) { + _lib._objc_msgSend_883( + this.pointer, + _lib._sel_getCookiesForTask_completionHandler_1, + task.pointer, + completionHandler.pointer, + ); } @override NSHTTPCookieStorage init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSHTTPCookieStorage._(_ret, _lib, retain: true, release: true); } static NSHTTPCookieStorage new1(SwiftLibrary _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSHTTPCookieStorage1, _lib._sel_new1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSHTTPCookieStorage1, + _lib._sel_new1, + ); return NSHTTPCookieStorage._(_ret, _lib, retain: false, release: true); } static NSHTTPCookieStorage allocWithZone_( - SwiftLibrary _lib, ffi.Pointer<_NSZone> zone) { + SwiftLibrary _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSHTTPCookieStorage1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSHTTPCookieStorage1, + _lib._sel_allocWithZone_1, + zone, + ); return NSHTTPCookieStorage._(_ret, _lib, retain: false, release: true); } static NSHTTPCookieStorage alloc(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSHTTPCookieStorage1, _lib._sel_alloc1); + _lib._class_NSHTTPCookieStorage1, + _lib._sel_alloc1, + ); return NSHTTPCookieStorage._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + SwiftLibrary _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSHTTPCookieStorage1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSHTTPCookieStorage1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSHTTPCookieStorage1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + SwiftLibrary _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSHTTPCookieStorage1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { - return _lib._objc_msgSend_12(_lib._class_NSHTTPCookieStorage1, - _lib._sel_accessInstanceVariablesDirectly1); + return _lib._objc_msgSend_12( + _lib._class_NSHTTPCookieStorage1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(SwiftLibrary _lib) { return _lib._objc_msgSend_12( - _lib._class_NSHTTPCookieStorage1, _lib._sel_useStoredAccessor1); + _lib._class_NSHTTPCookieStorage1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSHTTPCookieStorage1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSHTTPCookieStorage1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSHTTPCookieStorage1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSHTTPCookieStorage1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, NSArray keys, NSString dependentKey) { + SwiftLibrary _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSHTTPCookieStorage1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSHTTPCookieStorage1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_85(_lib._class_NSHTTPCookieStorage1, - _lib._sel_classFallbacksForKeyedArchiver1); + final _ret = _lib._objc_msgSend_85( + _lib._class_NSHTTPCookieStorage1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSHTTPCookieStorage1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSHTTPCookieStorage1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } class NSHTTPCookie extends NSObject { - NSHTTPCookie._(ffi.Pointer id, SwiftLibrary lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSHTTPCookie._( + ffi.Pointer pointer, + SwiftLibrary lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSHTTPCookie] that points to the same underlying object as [other]. - static NSHTTPCookie castFrom(T other) { - return NSHTTPCookie._(other._id, other._lib, retain: true, release: true); + static NSHTTPCookie castFrom( + SwiftLibrary lib, + T other, + ) { + return NSHTTPCookie._(other.pointer, lib, retain: true, release: true); } /// Returns a [NSHTTPCookie] that wraps the given raw object pointer. static NSHTTPCookie castFromPointer( - SwiftLibrary lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + SwiftLibrary lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSHTTPCookie._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSHTTPCookie]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_NSHTTPCookie1); + static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSHTTPCookie1, + ); } NSHTTPCookie? initWithProperties_(NSDictionary properties) { final _ret = _lib._objc_msgSend_851( - _id, _lib._sel_initWithProperties_1, properties._id); + this.pointer, + _lib._sel_initWithProperties_1, + properties.pointer, + ); return _ret.address == 0 ? null : NSHTTPCookie._(_ret, _lib, retain: true, release: true); } static NSHTTPCookie? cookieWithProperties_( - SwiftLibrary _lib, NSDictionary properties) { - final _ret = _lib._objc_msgSend_852(_lib._class_NSHTTPCookie1, - _lib._sel_cookieWithProperties_1, properties._id); + SwiftLibrary _lib, + NSDictionary properties, + ) { + final _ret = _lib._objc_msgSend_852( + _lib._class_NSHTTPCookie1, + _lib._sel_cookieWithProperties_1, + properties.pointer, + ); return _ret.address == 0 ? null : NSHTTPCookie._(_ret, _lib, retain: true, release: true); } static NSDictionary requestHeaderFieldsWithCookies_( - SwiftLibrary _lib, NSArray cookies) { - final _ret = _lib._objc_msgSend_508(_lib._class_NSHTTPCookie1, - _lib._sel_requestHeaderFieldsWithCookies_1, cookies._id); + SwiftLibrary _lib, + NSArray cookies, + ) { + final _ret = _lib._objc_msgSend_508( + _lib._class_NSHTTPCookie1, + _lib._sel_requestHeaderFieldsWithCookies_1, + cookies.pointer, + ); return NSDictionary._(_ret, _lib, retain: true, release: true); } static NSArray cookiesWithResponseHeaderFields_forURL_( - SwiftLibrary _lib, NSDictionary headerFields, NSURL URL) { + SwiftLibrary _lib, + NSDictionary headerFields, + NSURL URL, + ) { final _ret = _lib._objc_msgSend_853( - _lib._class_NSHTTPCookie1, - _lib._sel_cookiesWithResponseHeaderFields_forURL_1, - headerFields._id, - URL._id); + _lib._class_NSHTTPCookie1, + _lib._sel_cookiesWithResponseHeaderFields_forURL_1, + headerFields.pointer, + URL.pointer, + ); return NSArray._(_ret, _lib, retain: true, release: true); } NSDictionary? get properties { - final _ret = _lib._objc_msgSend_390(_id, _lib._sel_properties1); + final _ret = _lib._objc_msgSend_390(this.pointer, _lib._sel_properties1); return _ret.address == 0 ? null : NSDictionary._(_ret, _lib, retain: true, release: true); } int get version { - return _lib._objc_msgSend_10(_id, _lib._sel_version1); + return _lib._objc_msgSend_10(this.pointer, _lib._sel_version1); } NSString get name { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_name1); + final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_name1); return NSString._(_ret, _lib, retain: true, release: true); } NSString get value { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_value1); + final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_value1); return NSString._(_ret, _lib, retain: true, release: true); } NSDate? get expiresDate { - final _ret = _lib._objc_msgSend_183(_id, _lib._sel_expiresDate1); + final _ret = _lib._objc_msgSend_183(this.pointer, _lib._sel_expiresDate1); return _ret.address == 0 ? null : NSDate._(_ret, _lib, retain: true, release: true); } bool get sessionOnly { - return _lib._objc_msgSend_12(_id, _lib._sel_isSessionOnly1); + return _lib._objc_msgSend_12(this.pointer, _lib._sel_isSessionOnly1); } NSString get domain { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_domain1); + final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_domain1); return NSString._(_ret, _lib, retain: true, release: true); } NSString get path { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_path1); + final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_path1); return NSString._(_ret, _lib, retain: true, release: true); } bool get secure { - return _lib._objc_msgSend_12(_id, _lib._sel_isSecure1); + return _lib._objc_msgSend_12(this.pointer, _lib._sel_isSecure1); } bool get HTTPOnly { - return _lib._objc_msgSend_12(_id, _lib._sel_isHTTPOnly1); + return _lib._objc_msgSend_12(this.pointer, _lib._sel_isHTTPOnly1); } NSString? get comment { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_comment1); + final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_comment1); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } NSURL? get commentURL { - final _ret = _lib._objc_msgSend_45(_id, _lib._sel_commentURL1); + final _ret = _lib._objc_msgSend_45(this.pointer, _lib._sel_commentURL1); return _ret.address == 0 ? null : NSURL._(_ret, _lib, retain: true, release: true); } NSArray? get portList { - final _ret = _lib._objc_msgSend_84(_id, _lib._sel_portList1); + final _ret = _lib._objc_msgSend_84(this.pointer, _lib._sel_portList1); return _ret.address == 0 ? null : NSArray._(_ret, _lib, retain: true, release: true); } NSString? get sameSitePolicy { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_sameSitePolicy1); + final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_sameSitePolicy1); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); @@ -61356,89 +81664,127 @@ class NSHTTPCookie extends NSObject { @override NSHTTPCookie init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSHTTPCookie._(_ret, _lib, retain: true, release: true); } static NSHTTPCookie new1(SwiftLibrary _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSHTTPCookie1, _lib._sel_new1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSHTTPCookie1, + _lib._sel_new1, + ); return NSHTTPCookie._(_ret, _lib, retain: false, release: true); } static NSHTTPCookie allocWithZone_( - SwiftLibrary _lib, ffi.Pointer<_NSZone> zone) { + SwiftLibrary _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSHTTPCookie1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSHTTPCookie1, + _lib._sel_allocWithZone_1, + zone, + ); return NSHTTPCookie._(_ret, _lib, retain: false, release: true); } static NSHTTPCookie alloc(SwiftLibrary _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSHTTPCookie1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSHTTPCookie1, + _lib._sel_alloc1, + ); return NSHTTPCookie._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + SwiftLibrary _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSHTTPCookie1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSHTTPCookie1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSHTTPCookie1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + SwiftLibrary _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSHTTPCookie1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { return _lib._objc_msgSend_12( - _lib._class_NSHTTPCookie1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_NSHTTPCookie1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(SwiftLibrary _lib) { return _lib._objc_msgSend_12( - _lib._class_NSHTTPCookie1, _lib._sel_useStoredAccessor1); + _lib._class_NSHTTPCookie1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSHTTPCookie1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSHTTPCookie1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSHTTPCookie1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSHTTPCookie1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, NSArray keys, NSString dependentKey) { + SwiftLibrary _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSHTTPCookie1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSHTTPCookie1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_85( - _lib._class_NSHTTPCookie1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSHTTPCookie1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSHTTPCookie1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSHTTPCookie1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } @@ -61450,56 +81796,73 @@ abstract class NSHTTPCookieAcceptPolicy { } class NSURLSessionTask extends NSObject { - NSURLSessionTask._(ffi.Pointer id, SwiftLibrary lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSURLSessionTask._( + ffi.Pointer pointer, + SwiftLibrary lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSURLSessionTask] that points to the same underlying object as [other]. - static NSURLSessionTask castFrom(T other) { - return NSURLSessionTask._(other._id, other._lib, - retain: true, release: true); + static NSURLSessionTask castFrom( + SwiftLibrary lib, + T other, + ) { + return NSURLSessionTask._(other.pointer, lib, retain: true, release: true); } /// Returns a [NSURLSessionTask] that wraps the given raw object pointer. static NSURLSessionTask castFromPointer( - SwiftLibrary lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + SwiftLibrary lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSURLSessionTask._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSURLSessionTask]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0(obj._id, obj._lib._sel_isKindOfClass_1, - obj._lib._class_NSURLSessionTask1); + static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSURLSessionTask1, + ); } int get taskIdentifier { - return _lib._objc_msgSend_10(_id, _lib._sel_taskIdentifier1); + return _lib._objc_msgSend_10(this.pointer, _lib._sel_taskIdentifier1); } NSURLRequest? get originalRequest { - final _ret = _lib._objc_msgSend_876(_id, _lib._sel_originalRequest1); + final _ret = _lib._objc_msgSend_876( + this.pointer, + _lib._sel_originalRequest1, + ); return _ret.address == 0 ? null : NSURLRequest._(_ret, _lib, retain: true, release: true); } NSURLRequest? get currentRequest { - final _ret = _lib._objc_msgSend_876(_id, _lib._sel_currentRequest1); + final _ret = _lib._objc_msgSend_876( + this.pointer, + _lib._sel_currentRequest1, + ); return _ret.address == 0 ? null : NSURLRequest._(_ret, _lib, retain: true, release: true); } NSURLResponse? get response { - final _ret = _lib._objc_msgSend_878(_id, _lib._sel_response1); + final _ret = _lib._objc_msgSend_878(this.pointer, _lib._sel_response1); return _ret.address == 0 ? null : NSURLResponse._(_ret, _lib, retain: true, release: true); } NSObject? get delegate { - final _ret = _lib._objc_msgSend_17(_id, _lib._sel_delegate1); + final _ret = _lib._objc_msgSend_17(this.pointer, _lib._sel_delegate1); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); @@ -61507,16 +81870,22 @@ class NSURLSessionTask extends NSObject { set delegate(NSObject? value) { return _lib._objc_msgSend_416( - _id, _lib._sel_setDelegate_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setDelegate_1, + value?.pointer ?? ffi.nullptr, + ); } NSProgress get progress { - final _ret = _lib._objc_msgSend_879(_id, _lib._sel_progress1); + final _ret = _lib._objc_msgSend_879(this.pointer, _lib._sel_progress1); return NSProgress._(_ret, _lib, retain: true, release: true); } NSDate? get earliestBeginDate { - final _ret = _lib._objc_msgSend_183(_id, _lib._sel_earliestBeginDate1); + final _ret = _lib._objc_msgSend_183( + this.pointer, + _lib._sel_earliestBeginDate1, + ); return _ret.address == 0 ? null : NSDate._(_ret, _lib, retain: true, release: true); @@ -61524,48 +81893,72 @@ class NSURLSessionTask extends NSObject { set earliestBeginDate(NSDate? value) { return _lib._objc_msgSend_800( - _id, _lib._sel_setEarliestBeginDate_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setEarliestBeginDate_1, + value?.pointer ?? ffi.nullptr, + ); } int get countOfBytesClientExpectsToSend { return _lib._objc_msgSend_666( - _id, _lib._sel_countOfBytesClientExpectsToSend1); + this.pointer, + _lib._sel_countOfBytesClientExpectsToSend1, + ); } set countOfBytesClientExpectsToSend(int value) { return _lib._objc_msgSend_667( - _id, _lib._sel_setCountOfBytesClientExpectsToSend_1, value); + this.pointer, + _lib._sel_setCountOfBytesClientExpectsToSend_1, + value, + ); } int get countOfBytesClientExpectsToReceive { return _lib._objc_msgSend_666( - _id, _lib._sel_countOfBytesClientExpectsToReceive1); + this.pointer, + _lib._sel_countOfBytesClientExpectsToReceive1, + ); } set countOfBytesClientExpectsToReceive(int value) { return _lib._objc_msgSend_667( - _id, _lib._sel_setCountOfBytesClientExpectsToReceive_1, value); + this.pointer, + _lib._sel_setCountOfBytesClientExpectsToReceive_1, + value, + ); } int get countOfBytesSent { - return _lib._objc_msgSend_666(_id, _lib._sel_countOfBytesSent1); + return _lib._objc_msgSend_666(this.pointer, _lib._sel_countOfBytesSent1); } int get countOfBytesReceived { - return _lib._objc_msgSend_666(_id, _lib._sel_countOfBytesReceived1); + return _lib._objc_msgSend_666( + this.pointer, + _lib._sel_countOfBytesReceived1, + ); } int get countOfBytesExpectedToSend { - return _lib._objc_msgSend_666(_id, _lib._sel_countOfBytesExpectedToSend1); + return _lib._objc_msgSend_666( + this.pointer, + _lib._sel_countOfBytesExpectedToSend1, + ); } int get countOfBytesExpectedToReceive { return _lib._objc_msgSend_666( - _id, _lib._sel_countOfBytesExpectedToReceive1); + this.pointer, + _lib._sel_countOfBytesExpectedToReceive1, + ); } NSString? get taskDescription { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_taskDescription1); + final _ret = _lib._objc_msgSend_44( + this.pointer, + _lib._sel_taskDescription1, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); @@ -61573,263 +81966,354 @@ class NSURLSessionTask extends NSObject { set taskDescription(NSString? value) { return _lib._objc_msgSend_545( - _id, _lib._sel_setTaskDescription_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setTaskDescription_1, + value?.pointer ?? ffi.nullptr, + ); } void cancel() { - _lib._objc_msgSend_1(_id, _lib._sel_cancel1); + _lib._objc_msgSend_1(this.pointer, _lib._sel_cancel1); } int get state { - return _lib._objc_msgSend_880(_id, _lib._sel_state1); + return _lib._objc_msgSend_880(this.pointer, _lib._sel_state1); } NSError? get error { - final _ret = _lib._objc_msgSend_322(_id, _lib._sel_error1); + final _ret = _lib._objc_msgSend_322(this.pointer, _lib._sel_error1); return _ret.address == 0 ? null : NSError._(_ret, _lib, retain: true, release: true); } void suspend() { - _lib._objc_msgSend_1(_id, _lib._sel_suspend1); + _lib._objc_msgSend_1(this.pointer, _lib._sel_suspend1); } void resume() { - _lib._objc_msgSend_1(_id, _lib._sel_resume1); + _lib._objc_msgSend_1(this.pointer, _lib._sel_resume1); } double get priority { - return _lib._objc_msgSend_useVariants1 - ? _lib._objc_msgSend_239_fpret(_id, _lib._sel_priority1) - : _lib._objc_msgSend_239(_id, _lib._sel_priority1); + return objc.useMsgSendVariants + ? _lib._objc_msgSend_239_fpret(this.pointer, _lib._sel_priority1) + : _lib._objc_msgSend_239(this.pointer, _lib._sel_priority1); } set priority(double value) { - return _lib._objc_msgSend_881(_id, _lib._sel_setPriority_1, value); + return _lib._objc_msgSend_881(this.pointer, _lib._sel_setPriority_1, value); } bool get prefersIncrementalDelivery { - return _lib._objc_msgSend_12(_id, _lib._sel_prefersIncrementalDelivery1); + return _lib._objc_msgSend_12( + this.pointer, + _lib._sel_prefersIncrementalDelivery1, + ); } set prefersIncrementalDelivery(bool value) { return _lib._objc_msgSend_527( - _id, _lib._sel_setPrefersIncrementalDelivery_1, value); + this.pointer, + _lib._sel_setPrefersIncrementalDelivery_1, + value, + ); } @override NSURLSessionTask init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSURLSessionTask._(_ret, _lib, retain: true, release: true); } static NSURLSessionTask new1(SwiftLibrary _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSURLSessionTask1, _lib._sel_new1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSURLSessionTask1, + _lib._sel_new1, + ); return NSURLSessionTask._(_ret, _lib, retain: false, release: true); } static NSURLSessionTask allocWithZone_( - SwiftLibrary _lib, ffi.Pointer<_NSZone> zone) { + SwiftLibrary _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSURLSessionTask1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSURLSessionTask1, + _lib._sel_allocWithZone_1, + zone, + ); return NSURLSessionTask._(_ret, _lib, retain: false, release: true); } static NSURLSessionTask alloc(SwiftLibrary _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSURLSessionTask1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSURLSessionTask1, + _lib._sel_alloc1, + ); return NSURLSessionTask._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + SwiftLibrary _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSURLSessionTask1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSURLSessionTask1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSURLSessionTask1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + SwiftLibrary _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSURLSessionTask1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { - return _lib._objc_msgSend_12(_lib._class_NSURLSessionTask1, - _lib._sel_accessInstanceVariablesDirectly1); + return _lib._objc_msgSend_12( + _lib._class_NSURLSessionTask1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(SwiftLibrary _lib) { return _lib._objc_msgSend_12( - _lib._class_NSURLSessionTask1, _lib._sel_useStoredAccessor1); + _lib._class_NSURLSessionTask1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSURLSessionTask1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSURLSessionTask1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSURLSessionTask1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSURLSessionTask1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, NSArray keys, NSString dependentKey) { + SwiftLibrary _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSURLSessionTask1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSURLSessionTask1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_85(_lib._class_NSURLSessionTask1, - _lib._sel_classFallbacksForKeyedArchiver1); + final _ret = _lib._objc_msgSend_85( + _lib._class_NSURLSessionTask1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLSessionTask1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSURLSessionTask1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } class NSURLRequest extends NSObject { - NSURLRequest._(ffi.Pointer id, SwiftLibrary lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSURLRequest._( + ffi.Pointer pointer, + SwiftLibrary lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSURLRequest] that points to the same underlying object as [other]. - static NSURLRequest castFrom(T other) { - return NSURLRequest._(other._id, other._lib, retain: true, release: true); + static NSURLRequest castFrom( + SwiftLibrary lib, + T other, + ) { + return NSURLRequest._(other.pointer, lib, retain: true, release: true); } /// Returns a [NSURLRequest] that wraps the given raw object pointer. static NSURLRequest castFromPointer( - SwiftLibrary lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + SwiftLibrary lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSURLRequest._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSURLRequest]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_NSURLRequest1); + static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSURLRequest1, + ); } static NSURLRequest requestWithURL_(SwiftLibrary _lib, NSURL URL) { final _ret = _lib._objc_msgSend_262( - _lib._class_NSURLRequest1, _lib._sel_requestWithURL_1, URL._id); + _lib._class_NSURLRequest1, + _lib._sel_requestWithURL_1, + URL.pointer, + ); return NSURLRequest._(_ret, _lib, retain: true, release: true); } static bool getSupportsSecureCoding(SwiftLibrary _lib) { return _lib._objc_msgSend_12( - _lib._class_NSURLRequest1, _lib._sel_supportsSecureCoding1); + _lib._class_NSURLRequest1, + _lib._sel_supportsSecureCoding1, + ); } static NSURLRequest requestWithURL_cachePolicy_timeoutInterval_( - SwiftLibrary _lib, NSURL URL, int cachePolicy, double timeoutInterval) { + SwiftLibrary _lib, + NSURL URL, + int cachePolicy, + double timeoutInterval, + ) { final _ret = _lib._objc_msgSend_858( - _lib._class_NSURLRequest1, - _lib._sel_requestWithURL_cachePolicy_timeoutInterval_1, - URL._id, - cachePolicy, - timeoutInterval); + _lib._class_NSURLRequest1, + _lib._sel_requestWithURL_cachePolicy_timeoutInterval_1, + URL.pointer, + cachePolicy, + timeoutInterval, + ); return NSURLRequest._(_ret, _lib, retain: true, release: true); } NSURLRequest initWithURL_(NSURL URL) { - final _ret = _lib._objc_msgSend_262(_id, _lib._sel_initWithURL_1, URL._id); + final _ret = _lib._objc_msgSend_262( + this.pointer, + _lib._sel_initWithURL_1, + URL.pointer, + ); return NSURLRequest._(_ret, _lib, retain: true, release: true); } NSURLRequest initWithURL_cachePolicy_timeoutInterval_( - NSURL URL, int cachePolicy, double timeoutInterval) { + NSURL URL, + int cachePolicy, + double timeoutInterval, + ) { final _ret = _lib._objc_msgSend_858( - _id, - _lib._sel_initWithURL_cachePolicy_timeoutInterval_1, - URL._id, - cachePolicy, - timeoutInterval); + this.pointer, + _lib._sel_initWithURL_cachePolicy_timeoutInterval_1, + URL.pointer, + cachePolicy, + timeoutInterval, + ); return NSURLRequest._(_ret, _lib, retain: true, release: true); } NSURL? get URL { - final _ret = _lib._objc_msgSend_45(_id, _lib._sel_URL1); + final _ret = _lib._objc_msgSend_45(this.pointer, _lib._sel_URL1); return _ret.address == 0 ? null : NSURL._(_ret, _lib, retain: true, release: true); } int get cachePolicy { - return _lib._objc_msgSend_859(_id, _lib._sel_cachePolicy1); + return _lib._objc_msgSend_859(this.pointer, _lib._sel_cachePolicy1); } double get timeoutInterval { - return _lib._objc_msgSend_useVariants1 - ? _lib._objc_msgSend_165_fpret(_id, _lib._sel_timeoutInterval1) - : _lib._objc_msgSend_165(_id, _lib._sel_timeoutInterval1); + return objc.useMsgSendVariants + ? _lib._objc_msgSend_165_fpret(this.pointer, _lib._sel_timeoutInterval1) + : _lib._objc_msgSend_165(this.pointer, _lib._sel_timeoutInterval1); } NSURL? get mainDocumentURL { - final _ret = _lib._objc_msgSend_45(_id, _lib._sel_mainDocumentURL1); + final _ret = _lib._objc_msgSend_45( + this.pointer, + _lib._sel_mainDocumentURL1, + ); return _ret.address == 0 ? null : NSURL._(_ret, _lib, retain: true, release: true); } int get networkServiceType { - return _lib._objc_msgSend_860(_id, _lib._sel_networkServiceType1); + return _lib._objc_msgSend_860(this.pointer, _lib._sel_networkServiceType1); } bool get allowsCellularAccess { - return _lib._objc_msgSend_12(_id, _lib._sel_allowsCellularAccess1); + return _lib._objc_msgSend_12(this.pointer, _lib._sel_allowsCellularAccess1); } bool get allowsExpensiveNetworkAccess { - return _lib._objc_msgSend_12(_id, _lib._sel_allowsExpensiveNetworkAccess1); + return _lib._objc_msgSend_12( + this.pointer, + _lib._sel_allowsExpensiveNetworkAccess1, + ); } bool get allowsConstrainedNetworkAccess { return _lib._objc_msgSend_12( - _id, _lib._sel_allowsConstrainedNetworkAccess1); + this.pointer, + _lib._sel_allowsConstrainedNetworkAccess1, + ); } bool get assumesHTTP3Capable { - return _lib._objc_msgSend_12(_id, _lib._sel_assumesHTTP3Capable1); + return _lib._objc_msgSend_12(this.pointer, _lib._sel_assumesHTTP3Capable1); } int get attribution { - return _lib._objc_msgSend_861(_id, _lib._sel_attribution1); + return _lib._objc_msgSend_861(this.pointer, _lib._sel_attribution1); } bool get requiresDNSSECValidation { - return _lib._objc_msgSend_12(_id, _lib._sel_requiresDNSSECValidation1); + return _lib._objc_msgSend_12( + this.pointer, + _lib._sel_requiresDNSSECValidation1, + ); } NSString? get HTTPMethod { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_HTTPMethod1); + final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_HTTPMethod1); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } NSDictionary? get allHTTPHeaderFields { - final _ret = _lib._objc_msgSend_390(_id, _lib._sel_allHTTPHeaderFields1); + final _ret = _lib._objc_msgSend_390( + this.pointer, + _lib._sel_allHTTPHeaderFields1, + ); return _ret.address == 0 ? null : NSDictionary._(_ret, _lib, retain: true, release: true); @@ -61837,119 +82321,169 @@ class NSURLRequest extends NSObject { NSString? valueForHTTPHeaderField_(NSString field) { final _ret = _lib._objc_msgSend_186( - _id, _lib._sel_valueForHTTPHeaderField_1, field._id); + this.pointer, + _lib._sel_valueForHTTPHeaderField_1, + field.pointer, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } NSData? get HTTPBody { - final _ret = _lib._objc_msgSend_286(_id, _lib._sel_HTTPBody1); + final _ret = _lib._objc_msgSend_286(this.pointer, _lib._sel_HTTPBody1); return _ret.address == 0 ? null : NSData._(_ret, _lib, retain: true, release: true); } NSInputStream? get HTTPBodyStream { - final _ret = _lib._objc_msgSend_875(_id, _lib._sel_HTTPBodyStream1); + final _ret = _lib._objc_msgSend_875( + this.pointer, + _lib._sel_HTTPBodyStream1, + ); return _ret.address == 0 ? null : NSInputStream._(_ret, _lib, retain: true, release: true); } bool get HTTPShouldHandleCookies { - return _lib._objc_msgSend_12(_id, _lib._sel_HTTPShouldHandleCookies1); + return _lib._objc_msgSend_12( + this.pointer, + _lib._sel_HTTPShouldHandleCookies1, + ); } bool get HTTPShouldUsePipelining { - return _lib._objc_msgSend_12(_id, _lib._sel_HTTPShouldUsePipelining1); + return _lib._objc_msgSend_12( + this.pointer, + _lib._sel_HTTPShouldUsePipelining1, + ); } @override NSURLRequest init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSURLRequest._(_ret, _lib, retain: true, release: true); } static NSURLRequest new1(SwiftLibrary _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSURLRequest1, _lib._sel_new1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSURLRequest1, + _lib._sel_new1, + ); return NSURLRequest._(_ret, _lib, retain: false, release: true); } static NSURLRequest allocWithZone_( - SwiftLibrary _lib, ffi.Pointer<_NSZone> zone) { + SwiftLibrary _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSURLRequest1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSURLRequest1, + _lib._sel_allocWithZone_1, + zone, + ); return NSURLRequest._(_ret, _lib, retain: false, release: true); } static NSURLRequest alloc(SwiftLibrary _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSURLRequest1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSURLRequest1, + _lib._sel_alloc1, + ); return NSURLRequest._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + SwiftLibrary _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSURLRequest1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSURLRequest1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSURLRequest1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + SwiftLibrary _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSURLRequest1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { return _lib._objc_msgSend_12( - _lib._class_NSURLRequest1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_NSURLRequest1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(SwiftLibrary _lib) { return _lib._objc_msgSend_12( - _lib._class_NSURLRequest1, _lib._sel_useStoredAccessor1); + _lib._class_NSURLRequest1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSURLRequest1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSURLRequest1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSURLRequest1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSURLRequest1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, NSArray keys, NSString dependentKey) { + SwiftLibrary _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSURLRequest1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSURLRequest1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_85( - _lib._class_NSURLRequest1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSURLRequest1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLRequest1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSURLRequest1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } @@ -61982,58 +82516,91 @@ abstract class NSURLRequestAttribution { } class NSInputStream extends NSStream { - NSInputStream._(ffi.Pointer id, SwiftLibrary lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSInputStream._( + ffi.Pointer pointer, + SwiftLibrary lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSInputStream] that points to the same underlying object as [other]. - static NSInputStream castFrom(T other) { - return NSInputStream._(other._id, other._lib, retain: true, release: true); + static NSInputStream castFrom( + SwiftLibrary lib, + T other, + ) { + return NSInputStream._(other.pointer, lib, retain: true, release: true); } /// Returns a [NSInputStream] that wraps the given raw object pointer. static NSInputStream castFromPointer( - SwiftLibrary lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + SwiftLibrary lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSInputStream._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSInputStream]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_NSInputStream1); + static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSInputStream1, + ); } int read_maxLength_(ffi.Pointer buffer, int len) { - return _lib._objc_msgSend_864(_id, _lib._sel_read_maxLength_1, buffer, len); + return _lib._objc_msgSend_864( + this.pointer, + _lib._sel_read_maxLength_1, + buffer, + len, + ); } - bool getBuffer_length_(ffi.Pointer> buffer, - ffi.Pointer len) { + bool getBuffer_length_( + ffi.Pointer> buffer, + ffi.Pointer len, + ) { return _lib._objc_msgSend_873( - _id, _lib._sel_getBuffer_length_1, buffer, len); + this.pointer, + _lib._sel_getBuffer_length_1, + buffer, + len, + ); } bool get hasBytesAvailable { - return _lib._objc_msgSend_12(_id, _lib._sel_hasBytesAvailable1); + return _lib._objc_msgSend_12(this.pointer, _lib._sel_hasBytesAvailable1); } NSInputStream initWithData_(NSData data) { - final _ret = - _lib._objc_msgSend_279(_id, _lib._sel_initWithData_1, data._id); + final _ret = _lib._objc_msgSend_279( + this.pointer, + _lib._sel_initWithData_1, + data.pointer, + ); return NSInputStream._(_ret, _lib, retain: true, release: true); } NSInputStream? initWithURL_(NSURL url) { - final _ret = _lib._objc_msgSend_277(_id, _lib._sel_initWithURL_1, url._id); + final _ret = _lib._objc_msgSend_277( + this.pointer, + _lib._sel_initWithURL_1, + url.pointer, + ); return _ret.address == 0 ? null : NSInputStream._(_ret, _lib, retain: true, release: true); } NSInputStream? initWithFileAtPath_(NSString path) { - final _ret = - _lib._objc_msgSend_38(_id, _lib._sel_initWithFileAtPath_1, path._id); + final _ret = _lib._objc_msgSend_38( + this.pointer, + _lib._sel_initWithFileAtPath_1, + path.pointer, + ); return _ret.address == 0 ? null : NSInputStream._(_ret, _lib, retain: true, release: true); @@ -62041,16 +82608,24 @@ class NSInputStream extends NSStream { static NSInputStream? inputStreamWithData_(SwiftLibrary _lib, NSData data) { final _ret = _lib._objc_msgSend_874( - _lib._class_NSInputStream1, _lib._sel_inputStreamWithData_1, data._id); + _lib._class_NSInputStream1, + _lib._sel_inputStreamWithData_1, + data.pointer, + ); return _ret.address == 0 ? null : NSInputStream._(_ret, _lib, retain: true, release: true); } static NSInputStream? inputStreamWithFileAtPath_( - SwiftLibrary _lib, NSString path) { - final _ret = _lib._objc_msgSend_38(_lib._class_NSInputStream1, - _lib._sel_inputStreamWithFileAtPath_1, path._id); + SwiftLibrary _lib, + NSString path, + ) { + final _ret = _lib._objc_msgSend_38( + _lib._class_NSInputStream1, + _lib._sel_inputStreamWithFileAtPath_1, + path.pointer, + ); return _ret.address == 0 ? null : NSInputStream._(_ret, _lib, retain: true, release: true); @@ -62058,177 +82633,236 @@ class NSInputStream extends NSStream { static NSInputStream? inputStreamWithURL_(SwiftLibrary _lib, NSURL url) { final _ret = _lib._objc_msgSend_277( - _lib._class_NSInputStream1, _lib._sel_inputStreamWithURL_1, url._id); + _lib._class_NSInputStream1, + _lib._sel_inputStreamWithURL_1, + url.pointer, + ); return _ret.address == 0 ? null : NSInputStream._(_ret, _lib, retain: true, release: true); } static void getStreamsToHostWithName_port_inputStream_outputStream_( - SwiftLibrary _lib, - NSString hostname, - int port, - ffi.Pointer> inputStream, - ffi.Pointer> outputStream) { + SwiftLibrary _lib, + NSString hostname, + int port, + ffi.Pointer> inputStream, + ffi.Pointer> outputStream, + ) { _lib._objc_msgSend_867( - _lib._class_NSInputStream1, - _lib._sel_getStreamsToHostWithName_port_inputStream_outputStream_1, - hostname._id, - port, - inputStream, - outputStream); + _lib._class_NSInputStream1, + _lib._sel_getStreamsToHostWithName_port_inputStream_outputStream_1, + hostname.pointer, + port, + inputStream, + outputStream, + ); } static void getStreamsToHost_port_inputStream_outputStream_( - SwiftLibrary _lib, - NSHost host, - int port, - ffi.Pointer> inputStream, - ffi.Pointer> outputStream) { + SwiftLibrary _lib, + NSHost host, + int port, + ffi.Pointer> inputStream, + ffi.Pointer> outputStream, + ) { _lib._objc_msgSend_871( - _lib._class_NSInputStream1, - _lib._sel_getStreamsToHost_port_inputStream_outputStream_1, - host._id, - port, - inputStream, - outputStream); + _lib._class_NSInputStream1, + _lib._sel_getStreamsToHost_port_inputStream_outputStream_1, + host.pointer, + port, + inputStream, + outputStream, + ); } static void getBoundStreamsWithBufferSize_inputStream_outputStream_( - SwiftLibrary _lib, - int bufferSize, - ffi.Pointer> inputStream, - ffi.Pointer> outputStream) { + SwiftLibrary _lib, + int bufferSize, + ffi.Pointer> inputStream, + ffi.Pointer> outputStream, + ) { _lib._objc_msgSend_872( - _lib._class_NSInputStream1, - _lib._sel_getBoundStreamsWithBufferSize_inputStream_outputStream_1, - bufferSize, - inputStream, - outputStream); + _lib._class_NSInputStream1, + _lib._sel_getBoundStreamsWithBufferSize_inputStream_outputStream_1, + bufferSize, + inputStream, + outputStream, + ); } @override NSInputStream init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSInputStream._(_ret, _lib, retain: true, release: true); } static NSInputStream new1(SwiftLibrary _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSInputStream1, _lib._sel_new1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSInputStream1, + _lib._sel_new1, + ); return NSInputStream._(_ret, _lib, retain: false, release: true); } static NSInputStream allocWithZone_( - SwiftLibrary _lib, ffi.Pointer<_NSZone> zone) { + SwiftLibrary _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSInputStream1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSInputStream1, + _lib._sel_allocWithZone_1, + zone, + ); return NSInputStream._(_ret, _lib, retain: false, release: true); } static NSInputStream alloc(SwiftLibrary _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSInputStream1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSInputStream1, + _lib._sel_alloc1, + ); return NSInputStream._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + SwiftLibrary _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSInputStream1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSInputStream1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSInputStream1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + SwiftLibrary _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSInputStream1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { return _lib._objc_msgSend_12( - _lib._class_NSInputStream1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_NSInputStream1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(SwiftLibrary _lib) { return _lib._objc_msgSend_12( - _lib._class_NSInputStream1, _lib._sel_useStoredAccessor1); + _lib._class_NSInputStream1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSInputStream1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSInputStream1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSInputStream1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSInputStream1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, NSArray keys, NSString dependentKey) { + SwiftLibrary _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSInputStream1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSInputStream1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_85( - _lib._class_NSInputStream1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSInputStream1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSInputStream1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSInputStream1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } class NSStream extends NSObject { - NSStream._(ffi.Pointer id, SwiftLibrary lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSStream._( + ffi.Pointer pointer, + SwiftLibrary lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSStream] that points to the same underlying object as [other]. - static NSStream castFrom(T other) { - return NSStream._(other._id, other._lib, retain: true, release: true); + static NSStream castFrom( + SwiftLibrary lib, + T other, + ) { + return NSStream._(other.pointer, lib, retain: true, release: true); } /// Returns a [NSStream] that wraps the given raw object pointer. static NSStream castFromPointer( - SwiftLibrary lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + SwiftLibrary lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSStream._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSStream]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_NSStream1); + static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSStream1, + ); } void open() { - _lib._objc_msgSend_1(_id, _lib._sel_open1); + _lib._objc_msgSend_1(this.pointer, _lib._sel_open1); } void close() { - _lib._objc_msgSend_1(_id, _lib._sel_close1); + _lib._objc_msgSend_1(this.pointer, _lib._sel_close1); } NSObject? get delegate { - final _ret = _lib._objc_msgSend_17(_id, _lib._sel_delegate1); + final _ret = _lib._objc_msgSend_17(this.pointer, _lib._sel_delegate1); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); @@ -62236,89 +82870,113 @@ class NSStream extends NSObject { set delegate(NSObject? value) { return _lib._objc_msgSend_416( - _id, _lib._sel_setDelegate_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setDelegate_1, + value?.pointer ?? ffi.nullptr, + ); } NSObject? propertyForKey_(NSString key) { - final _ret = - _lib._objc_msgSend_38(_id, _lib._sel_propertyForKey_1, key._id); + final _ret = _lib._objc_msgSend_38( + this.pointer, + _lib._sel_propertyForKey_1, + key.pointer, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } bool setProperty_forKey_(NSObject? property, NSString key) { - return _lib._objc_msgSend_862(_id, _lib._sel_setProperty_forKey_1, - property?._id ?? ffi.nullptr, key._id); + return _lib._objc_msgSend_862( + this.pointer, + _lib._sel_setProperty_forKey_1, + property?.pointer ?? ffi.nullptr, + key.pointer, + ); } void scheduleInRunLoop_forMode_(NSRunLoop aRunLoop, NSString mode) { _lib._objc_msgSend_569( - _id, _lib._sel_scheduleInRunLoop_forMode_1, aRunLoop._id, mode._id); + this.pointer, + _lib._sel_scheduleInRunLoop_forMode_1, + aRunLoop.pointer, + mode.pointer, + ); } void removeFromRunLoop_forMode_(NSRunLoop aRunLoop, NSString mode) { _lib._objc_msgSend_569( - _id, _lib._sel_removeFromRunLoop_forMode_1, aRunLoop._id, mode._id); + this.pointer, + _lib._sel_removeFromRunLoop_forMode_1, + aRunLoop.pointer, + mode.pointer, + ); } int get streamStatus { - return _lib._objc_msgSend_863(_id, _lib._sel_streamStatus1); + return _lib._objc_msgSend_863(this.pointer, _lib._sel_streamStatus1); } NSError? get streamError { - final _ret = _lib._objc_msgSend_322(_id, _lib._sel_streamError1); + final _ret = _lib._objc_msgSend_322(this.pointer, _lib._sel_streamError1); return _ret.address == 0 ? null : NSError._(_ret, _lib, retain: true, release: true); } static void getStreamsToHostWithName_port_inputStream_outputStream_( - SwiftLibrary _lib, - NSString hostname, - int port, - ffi.Pointer> inputStream, - ffi.Pointer> outputStream) { + SwiftLibrary _lib, + NSString hostname, + int port, + ffi.Pointer> inputStream, + ffi.Pointer> outputStream, + ) { _lib._objc_msgSend_867( - _lib._class_NSStream1, - _lib._sel_getStreamsToHostWithName_port_inputStream_outputStream_1, - hostname._id, - port, - inputStream, - outputStream); + _lib._class_NSStream1, + _lib._sel_getStreamsToHostWithName_port_inputStream_outputStream_1, + hostname.pointer, + port, + inputStream, + outputStream, + ); } static void getStreamsToHost_port_inputStream_outputStream_( - SwiftLibrary _lib, - NSHost host, - int port, - ffi.Pointer> inputStream, - ffi.Pointer> outputStream) { + SwiftLibrary _lib, + NSHost host, + int port, + ffi.Pointer> inputStream, + ffi.Pointer> outputStream, + ) { _lib._objc_msgSend_871( - _lib._class_NSStream1, - _lib._sel_getStreamsToHost_port_inputStream_outputStream_1, - host._id, - port, - inputStream, - outputStream); + _lib._class_NSStream1, + _lib._sel_getStreamsToHost_port_inputStream_outputStream_1, + host.pointer, + port, + inputStream, + outputStream, + ); } static void getBoundStreamsWithBufferSize_inputStream_outputStream_( - SwiftLibrary _lib, - int bufferSize, - ffi.Pointer> inputStream, - ffi.Pointer> outputStream) { + SwiftLibrary _lib, + int bufferSize, + ffi.Pointer> inputStream, + ffi.Pointer> outputStream, + ) { _lib._objc_msgSend_872( - _lib._class_NSStream1, - _lib._sel_getBoundStreamsWithBufferSize_inputStream_outputStream_1, - bufferSize, - inputStream, - outputStream); + _lib._class_NSStream1, + _lib._sel_getBoundStreamsWithBufferSize_inputStream_outputStream_1, + bufferSize, + inputStream, + outputStream, + ); } @override NSStream init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSStream._(_ret, _lib, retain: true, release: true); } @@ -62329,7 +82987,10 @@ class NSStream extends NSObject { static NSStream allocWithZone_(SwiftLibrary _lib, ffi.Pointer<_NSZone> zone) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSStream1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSStream1, + _lib._sel_allocWithZone_1, + zone, + ); return NSStream._(_ret, _lib, retain: false, release: true); } @@ -62339,65 +83000,94 @@ class NSStream extends NSObject { } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + SwiftLibrary _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSStream1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSStream1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSStream1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + SwiftLibrary _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSStream1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { return _lib._objc_msgSend_12( - _lib._class_NSStream1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_NSStream1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(SwiftLibrary _lib) { return _lib._objc_msgSend_12( - _lib._class_NSStream1, _lib._sel_useStoredAccessor1); + _lib._class_NSStream1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSStream1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSStream1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSStream1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSStream1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, NSArray keys, NSString dependentKey) { + SwiftLibrary _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSStream1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSStream1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_85( - _lib._class_NSStream1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSStream1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSStream1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSStream1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } @@ -62414,52 +83104,78 @@ abstract class NSStreamStatus { } class NSOutputStream extends NSStream { - NSOutputStream._(ffi.Pointer id, SwiftLibrary lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSOutputStream._( + ffi.Pointer pointer, + SwiftLibrary lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSOutputStream] that points to the same underlying object as [other]. - static NSOutputStream castFrom(T other) { - return NSOutputStream._(other._id, other._lib, retain: true, release: true); + static NSOutputStream castFrom( + SwiftLibrary lib, + T other, + ) { + return NSOutputStream._(other.pointer, lib, retain: true, release: true); } /// Returns a [NSOutputStream] that wraps the given raw object pointer. static NSOutputStream castFromPointer( - SwiftLibrary lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + SwiftLibrary lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSOutputStream._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSOutputStream]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0(obj._id, obj._lib._sel_isKindOfClass_1, - obj._lib._class_NSOutputStream1); + static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSOutputStream1, + ); } int write_maxLength_(ffi.Pointer buffer, int len) { return _lib._objc_msgSend_864( - _id, _lib._sel_write_maxLength_1, buffer, len); + this.pointer, + _lib._sel_write_maxLength_1, + buffer, + len, + ); } bool get hasSpaceAvailable { - return _lib._objc_msgSend_12(_id, _lib._sel_hasSpaceAvailable1); + return _lib._objc_msgSend_12(this.pointer, _lib._sel_hasSpaceAvailable1); } NSOutputStream initToMemory() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_initToMemory1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_initToMemory1); return NSOutputStream._(_ret, _lib, retain: true, release: true); } NSOutputStream initToBuffer_capacity_( - ffi.Pointer buffer, int capacity) { + ffi.Pointer buffer, + int capacity, + ) { final _ret = _lib._objc_msgSend_865( - _id, _lib._sel_initToBuffer_capacity_1, buffer, capacity); + this.pointer, + _lib._sel_initToBuffer_capacity_1, + buffer, + capacity, + ); return NSOutputStream._(_ret, _lib, retain: true, release: true); } NSOutputStream? initWithURL_append_(NSURL url, bool shouldAppend) { final _ret = _lib._objc_msgSend_866( - _id, _lib._sel_initWithURL_append_1, url._id, shouldAppend); + this.pointer, + _lib._sel_initWithURL_append_1, + url.pointer, + shouldAppend, + ); return _ret.address == 0 ? null : NSOutputStream._(_ret, _lib, retain: true, release: true); @@ -62467,7 +83183,11 @@ class NSOutputStream extends NSStream { NSOutputStream? initToFileAtPath_append_(NSString path, bool shouldAppend) { final _ret = _lib._objc_msgSend_40( - _id, _lib._sel_initToFileAtPath_append_1, path._id, shouldAppend); + this.pointer, + _lib._sel_initToFileAtPath_append_1, + path.pointer, + shouldAppend, + ); return _ret.address == 0 ? null : NSOutputStream._(_ret, _lib, retain: true, release: true); @@ -62475,235 +83195,327 @@ class NSOutputStream extends NSStream { static NSOutputStream outputStreamToMemory(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSOutputStream1, _lib._sel_outputStreamToMemory1); + _lib._class_NSOutputStream1, + _lib._sel_outputStreamToMemory1, + ); return NSOutputStream._(_ret, _lib, retain: true, release: true); } static NSOutputStream outputStreamToBuffer_capacity_( - SwiftLibrary _lib, ffi.Pointer buffer, int capacity) { - final _ret = _lib._objc_msgSend_865(_lib._class_NSOutputStream1, - _lib._sel_outputStreamToBuffer_capacity_1, buffer, capacity); + SwiftLibrary _lib, + ffi.Pointer buffer, + int capacity, + ) { + final _ret = _lib._objc_msgSend_865( + _lib._class_NSOutputStream1, + _lib._sel_outputStreamToBuffer_capacity_1, + buffer, + capacity, + ); return NSOutputStream._(_ret, _lib, retain: true, release: true); } static NSOutputStream outputStreamToFileAtPath_append_( - SwiftLibrary _lib, NSString path, bool shouldAppend) { - final _ret = _lib._objc_msgSend_30(_lib._class_NSOutputStream1, - _lib._sel_outputStreamToFileAtPath_append_1, path._id, shouldAppend); + SwiftLibrary _lib, + NSString path, + bool shouldAppend, + ) { + final _ret = _lib._objc_msgSend_30( + _lib._class_NSOutputStream1, + _lib._sel_outputStreamToFileAtPath_append_1, + path.pointer, + shouldAppend, + ); return NSOutputStream._(_ret, _lib, retain: true, release: true); } static NSOutputStream? outputStreamWithURL_append_( - SwiftLibrary _lib, NSURL url, bool shouldAppend) { - final _ret = _lib._objc_msgSend_866(_lib._class_NSOutputStream1, - _lib._sel_outputStreamWithURL_append_1, url._id, shouldAppend); + SwiftLibrary _lib, + NSURL url, + bool shouldAppend, + ) { + final _ret = _lib._objc_msgSend_866( + _lib._class_NSOutputStream1, + _lib._sel_outputStreamWithURL_append_1, + url.pointer, + shouldAppend, + ); return _ret.address == 0 ? null : NSOutputStream._(_ret, _lib, retain: true, release: true); } static void getStreamsToHostWithName_port_inputStream_outputStream_( - SwiftLibrary _lib, - NSString hostname, - int port, - ffi.Pointer> inputStream, - ffi.Pointer> outputStream) { + SwiftLibrary _lib, + NSString hostname, + int port, + ffi.Pointer> inputStream, + ffi.Pointer> outputStream, + ) { _lib._objc_msgSend_867( - _lib._class_NSOutputStream1, - _lib._sel_getStreamsToHostWithName_port_inputStream_outputStream_1, - hostname._id, - port, - inputStream, - outputStream); + _lib._class_NSOutputStream1, + _lib._sel_getStreamsToHostWithName_port_inputStream_outputStream_1, + hostname.pointer, + port, + inputStream, + outputStream, + ); } static void getStreamsToHost_port_inputStream_outputStream_( - SwiftLibrary _lib, - NSHost host, - int port, - ffi.Pointer> inputStream, - ffi.Pointer> outputStream) { + SwiftLibrary _lib, + NSHost host, + int port, + ffi.Pointer> inputStream, + ffi.Pointer> outputStream, + ) { _lib._objc_msgSend_871( - _lib._class_NSOutputStream1, - _lib._sel_getStreamsToHost_port_inputStream_outputStream_1, - host._id, - port, - inputStream, - outputStream); + _lib._class_NSOutputStream1, + _lib._sel_getStreamsToHost_port_inputStream_outputStream_1, + host.pointer, + port, + inputStream, + outputStream, + ); } static void getBoundStreamsWithBufferSize_inputStream_outputStream_( - SwiftLibrary _lib, - int bufferSize, - ffi.Pointer> inputStream, - ffi.Pointer> outputStream) { + SwiftLibrary _lib, + int bufferSize, + ffi.Pointer> inputStream, + ffi.Pointer> outputStream, + ) { _lib._objc_msgSend_872( - _lib._class_NSOutputStream1, - _lib._sel_getBoundStreamsWithBufferSize_inputStream_outputStream_1, - bufferSize, - inputStream, - outputStream); + _lib._class_NSOutputStream1, + _lib._sel_getBoundStreamsWithBufferSize_inputStream_outputStream_1, + bufferSize, + inputStream, + outputStream, + ); } @override NSOutputStream init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSOutputStream._(_ret, _lib, retain: true, release: true); } static NSOutputStream new1(SwiftLibrary _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSOutputStream1, _lib._sel_new1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSOutputStream1, + _lib._sel_new1, + ); return NSOutputStream._(_ret, _lib, retain: false, release: true); } static NSOutputStream allocWithZone_( - SwiftLibrary _lib, ffi.Pointer<_NSZone> zone) { + SwiftLibrary _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSOutputStream1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSOutputStream1, + _lib._sel_allocWithZone_1, + zone, + ); return NSOutputStream._(_ret, _lib, retain: false, release: true); } static NSOutputStream alloc(SwiftLibrary _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSOutputStream1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSOutputStream1, + _lib._sel_alloc1, + ); return NSOutputStream._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + SwiftLibrary _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSOutputStream1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSOutputStream1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSOutputStream1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + SwiftLibrary _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSOutputStream1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { - return _lib._objc_msgSend_12(_lib._class_NSOutputStream1, - _lib._sel_accessInstanceVariablesDirectly1); + return _lib._objc_msgSend_12( + _lib._class_NSOutputStream1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(SwiftLibrary _lib) { return _lib._objc_msgSend_12( - _lib._class_NSOutputStream1, _lib._sel_useStoredAccessor1); + _lib._class_NSOutputStream1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSOutputStream1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSOutputStream1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSOutputStream1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSOutputStream1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, NSArray keys, NSString dependentKey) { + SwiftLibrary _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSOutputStream1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSOutputStream1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_85( - _lib._class_NSOutputStream1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSOutputStream1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSOutputStream1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSOutputStream1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } class NSHost extends NSObject { - NSHost._(ffi.Pointer id, SwiftLibrary lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSHost._( + ffi.Pointer pointer, + SwiftLibrary lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSHost] that points to the same underlying object as [other]. - static NSHost castFrom(T other) { - return NSHost._(other._id, other._lib, retain: true, release: true); + static NSHost castFrom( + SwiftLibrary lib, + T other, + ) { + return NSHost._(other.pointer, lib, retain: true, release: true); } /// Returns a [NSHost] that wraps the given raw object pointer. - static NSHost castFromPointer(SwiftLibrary lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + static NSHost castFromPointer( + SwiftLibrary lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSHost._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSHost]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_NSHost1); + static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSHost1, + ); } static NSHost currentHost(SwiftLibrary _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSHost1, _lib._sel_currentHost1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSHost1, + _lib._sel_currentHost1, + ); return NSHost._(_ret, _lib, retain: true, release: true); } static NSHost hostWithName_(SwiftLibrary _lib, NSString? name) { - final _ret = _lib._objc_msgSend_868(_lib._class_NSHost1, - _lib._sel_hostWithName_1, name?._id ?? ffi.nullptr); + final _ret = _lib._objc_msgSend_868( + _lib._class_NSHost1, + _lib._sel_hostWithName_1, + name?.pointer ?? ffi.nullptr, + ); return NSHost._(_ret, _lib, retain: true, release: true); } static NSHost hostWithAddress_(SwiftLibrary _lib, NSString address) { final _ret = _lib._objc_msgSend_31( - _lib._class_NSHost1, _lib._sel_hostWithAddress_1, address._id); + _lib._class_NSHost1, + _lib._sel_hostWithAddress_1, + address.pointer, + ); return NSHost._(_ret, _lib, retain: true, release: true); } bool isEqualToHost_(NSHost aHost) { - return _lib._objc_msgSend_869(_id, _lib._sel_isEqualToHost_1, aHost._id); + return _lib._objc_msgSend_869( + this.pointer, + _lib._sel_isEqualToHost_1, + aHost.pointer, + ); } NSString? get name { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_name1); + final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_name1); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } NSArray get names { - final _ret = _lib._objc_msgSend_85(_id, _lib._sel_names1); + final _ret = _lib._objc_msgSend_85(this.pointer, _lib._sel_names1); return NSArray._(_ret, _lib, retain: true, release: true); } NSString? get address { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_address1); + final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_address1); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } NSArray get addresses { - final _ret = _lib._objc_msgSend_85(_id, _lib._sel_addresses1); + final _ret = _lib._objc_msgSend_85(this.pointer, _lib._sel_addresses1); return NSArray._(_ret, _lib, retain: true, release: true); } NSString? get localizedName { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_localizedName1); + final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_localizedName1); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); @@ -62711,12 +83523,17 @@ class NSHost extends NSObject { static void setHostCacheEnabled_(SwiftLibrary _lib, bool flag) { _lib._objc_msgSend_870( - _lib._class_NSHost1, _lib._sel_setHostCacheEnabled_1, flag); + _lib._class_NSHost1, + _lib._sel_setHostCacheEnabled_1, + flag, + ); } static bool isHostCacheEnabled(SwiftLibrary _lib) { return _lib._objc_msgSend_12( - _lib._class_NSHost1, _lib._sel_isHostCacheEnabled1); + _lib._class_NSHost1, + _lib._sel_isHostCacheEnabled1, + ); } static void flushHostCache(SwiftLibrary _lib) { @@ -62725,7 +83542,7 @@ class NSHost extends NSObject { @override NSHost init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSHost._(_ret, _lib, retain: true, release: true); } @@ -62736,7 +83553,10 @@ class NSHost extends NSObject { static NSHost allocWithZone_(SwiftLibrary _lib, ffi.Pointer<_NSZone> zone) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSHost1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSHost1, + _lib._sel_allocWithZone_1, + zone, + ); return NSHost._(_ret, _lib, retain: false, release: true); } @@ -62746,131 +83566,186 @@ class NSHost extends NSObject { } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + SwiftLibrary _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSHost1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSHost1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSHost1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + SwiftLibrary _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSHost1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { return _lib._objc_msgSend_12( - _lib._class_NSHost1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_NSHost1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(SwiftLibrary _lib) { return _lib._objc_msgSend_12( - _lib._class_NSHost1, _lib._sel_useStoredAccessor1); + _lib._class_NSHost1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSHost1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSHost1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSHost1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSHost1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, NSArray keys, NSString dependentKey) { + SwiftLibrary _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSHost1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSHost1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_85( - _lib._class_NSHost1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSHost1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSHost1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSHost1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } class NSURLResponse extends NSObject { - NSURLResponse._(ffi.Pointer id, SwiftLibrary lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSURLResponse._( + ffi.Pointer pointer, + SwiftLibrary lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSURLResponse] that points to the same underlying object as [other]. - static NSURLResponse castFrom(T other) { - return NSURLResponse._(other._id, other._lib, retain: true, release: true); + static NSURLResponse castFrom( + SwiftLibrary lib, + T other, + ) { + return NSURLResponse._(other.pointer, lib, retain: true, release: true); } /// Returns a [NSURLResponse] that wraps the given raw object pointer. static NSURLResponse castFromPointer( - SwiftLibrary lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + SwiftLibrary lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSURLResponse._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSURLResponse]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_NSURLResponse1); + static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSURLResponse1, + ); } NSURLResponse initWithURL_MIMEType_expectedContentLength_textEncodingName_( - NSURL URL, NSString? MIMEType, int length, NSString? name) { + NSURL URL, + NSString? MIMEType, + int length, + NSString? name, + ) { final _ret = _lib._objc_msgSend_877( - _id, - _lib._sel_initWithURL_MIMEType_expectedContentLength_textEncodingName_1, - URL._id, - MIMEType?._id ?? ffi.nullptr, - length, - name?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_initWithURL_MIMEType_expectedContentLength_textEncodingName_1, + URL.pointer, + MIMEType?.pointer ?? ffi.nullptr, + length, + name?.pointer ?? ffi.nullptr, + ); return NSURLResponse._(_ret, _lib, retain: true, release: true); } NSURL? get URL { - final _ret = _lib._objc_msgSend_45(_id, _lib._sel_URL1); + final _ret = _lib._objc_msgSend_45(this.pointer, _lib._sel_URL1); return _ret.address == 0 ? null : NSURL._(_ret, _lib, retain: true, release: true); } NSString? get MIMEType { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_MIMEType1); + final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_MIMEType1); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } int get expectedContentLength { - return _lib._objc_msgSend_238(_id, _lib._sel_expectedContentLength1); + return _lib._objc_msgSend_238( + this.pointer, + _lib._sel_expectedContentLength1, + ); } NSString? get textEncodingName { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_textEncodingName1); + final _ret = _lib._objc_msgSend_44( + this.pointer, + _lib._sel_textEncodingName1, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } NSString? get suggestedFilename { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_suggestedFilename1); + final _ret = _lib._objc_msgSend_44( + this.pointer, + _lib._sel_suggestedFilename1, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); @@ -62878,89 +83753,127 @@ class NSURLResponse extends NSObject { @override NSURLResponse init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSURLResponse._(_ret, _lib, retain: true, release: true); } static NSURLResponse new1(SwiftLibrary _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSURLResponse1, _lib._sel_new1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSURLResponse1, + _lib._sel_new1, + ); return NSURLResponse._(_ret, _lib, retain: false, release: true); } static NSURLResponse allocWithZone_( - SwiftLibrary _lib, ffi.Pointer<_NSZone> zone) { + SwiftLibrary _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSURLResponse1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSURLResponse1, + _lib._sel_allocWithZone_1, + zone, + ); return NSURLResponse._(_ret, _lib, retain: false, release: true); } static NSURLResponse alloc(SwiftLibrary _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSURLResponse1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSURLResponse1, + _lib._sel_alloc1, + ); return NSURLResponse._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + SwiftLibrary _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSURLResponse1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSURLResponse1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSURLResponse1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + SwiftLibrary _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSURLResponse1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { return _lib._objc_msgSend_12( - _lib._class_NSURLResponse1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_NSURLResponse1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(SwiftLibrary _lib) { return _lib._objc_msgSend_12( - _lib._class_NSURLResponse1, _lib._sel_useStoredAccessor1); + _lib._class_NSURLResponse1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSURLResponse1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSURLResponse1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSURLResponse1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSURLResponse1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, NSArray keys, NSString dependentKey) { + SwiftLibrary _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSURLResponse1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSURLResponse1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_85( - _lib._class_NSURLResponse1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSURLResponse1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLResponse1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSURLResponse1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } @@ -62973,37 +83886,54 @@ abstract class NSURLSessionTaskState { } void _ObjCBlock_ffiVoid_NSArray_fnPtrTrampoline( - ffi.Pointer<_ObjCBlock> block, ffi.Pointer arg0) => - block.ref.target - .cast< - ffi - .NativeFunction arg0)>>() - .asFunction)>()(arg0); + ffi.Pointer block, + ffi.Pointer arg0, +) => block.ref.target + .cast< + ffi.NativeFunction arg0)> + >() + .asFunction)>()(arg0); final _ObjCBlock_ffiVoid_NSArray_closureRegistry = - )>{}; + )>{}; int _ObjCBlock_ffiVoid_NSArray_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_ffiVoid_NSArray_registerClosure( - void Function(ffi.Pointer) fn) { + void Function(ffi.Pointer) fn, +) { final id = ++_ObjCBlock_ffiVoid_NSArray_closureRegistryIndex; _ObjCBlock_ffiVoid_NSArray_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } void _ObjCBlock_ffiVoid_NSArray_closureTrampoline( - ffi.Pointer<_ObjCBlock> block, ffi.Pointer arg0) => - _ObjCBlock_ffiVoid_NSArray_closureRegistry[block.ref.target.address]!(arg0); - -class ObjCBlock_ffiVoid_NSArray extends _ObjCBlockBase { - ObjCBlock_ffiVoid_NSArray._(ffi.Pointer<_ObjCBlock> id, SwiftLibrary lib, - {bool retain = false, bool release = true}) - : super._(id, lib, retain: retain, release: release); + ffi.Pointer block, + ffi.Pointer arg0, +) => _ObjCBlock_ffiVoid_NSArray_closureRegistry[block.ref.target.address]!( + arg0, +); + +class ObjCBlock_ffiVoid_NSArray extends objc.ObjCBlockBase { + ObjCBlock_ffiVoid_NSArray._( + ffi.Pointer pointer, + this._lib, { + bool retain = false, + bool release = true, + }) : super(pointer, retain: retain, release: release); + + SwiftLibrary _lib; /// Returns a block that wraps the given raw block pointer. static ObjCBlock_ffiVoid_NSArray castFromPointer( - SwiftLibrary lib, ffi.Pointer<_ObjCBlock> pointer, - {bool retain = false, bool release = false}) { - return ObjCBlock_ffiVoid_NSArray._(pointer, lib, - retain: retain, release: release); + SwiftLibrary lib, + ffi.Pointer pointer, { + bool retain = false, + bool release = false, + }) { + return ObjCBlock_ffiVoid_NSArray._( + pointer, + lib, + retain: retain, + release: release, + ); } /// Creates a block from a C function pointer. @@ -63012,21 +83942,20 @@ class ObjCBlock_ffiVoid_NSArray extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSArray.fromFunctionPointer( - SwiftLibrary lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer arg0)>> - ptr) - : this._( - lib - ._newBlock1( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_NSArray_fnPtrTrampoline) - .cast(), - ptr.cast()), - lib); + SwiftLibrary lib, + ffi.Pointer< + ffi.NativeFunction arg0)> + > ptr, + ) : this._(objc.newBlock( + _cFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_NSArray_fnPtrTrampoline).cast(), + ptr.cast(), + ), lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -63035,19 +83964,24 @@ class ObjCBlock_ffiVoid_NSArray extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSArray.fromFunction( - SwiftLibrary lib, void Function(NSArray?) fn) - : this._( - lib._newBlock1( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_NSArray_closureTrampoline) - .cast(), - _ObjCBlock_ffiVoid_NSArray_registerClosure( - (ffi.Pointer arg0) => fn(arg0.address == 0 - ? null - : NSArray._(arg0, lib, retain: true, release: true)))), - lib); + SwiftLibrary lib, + void Function(NSArray?) fn, + ) : this._(objc.newBlock( + _dartFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_NSArray_closureTrampoline).cast(), + _ObjCBlock_ffiVoid_NSArray_registerClosure(( + ffi.Pointer arg0, + ) => fn( + arg0.address == 0 + ? null + : NSArray._(arg0, lib, retain: true, release: true), + )), + ), lib); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -63060,120 +83994,181 @@ class ObjCBlock_ffiVoid_NSArray extends _ObjCBlockBase { /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. ObjCBlock_ffiVoid_NSArray.listener( - SwiftLibrary lib, void Function(NSArray?) fn) - : this._( - lib._newBlock1( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, - ffi.Pointer)>.listener( - _ObjCBlock_ffiVoid_NSArray_closureTrampoline) - ..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSArray_registerClosure( - (ffi.Pointer arg0) => fn(arg0.address == 0 - ? null - : NSArray._(arg0, lib, retain: true, release: true)))), - lib); + SwiftLibrary lib, + void Function(NSArray?) fn, + ) : this._(objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ) + >.listener( + _ObjCBlock_ffiVoid_NSArray_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSArray_registerClosure(( + ffi.Pointer arg0, + ) => fn( + arg0.address == 0 + ? null + : NSArray._(arg0, lib, retain: true, release: true), + )), + ), lib); static ffi.NativeCallable< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer)>? - _dartFuncListenerTrampoline; + ffi.Void Function(ffi.Pointer, ffi.Pointer) + >? _dartFuncListenerTrampoline; - void call(NSArray? arg0) => _id.ref.invoke + void call(NSArray? arg0) => pointer.ref.invoke .cast< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0)>>() + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer block, + ffi.Pointer arg0, + ) + > + >() .asFunction< - void Function(ffi.Pointer<_ObjCBlock>, - ffi.Pointer)>()(_id, arg0?._id ?? ffi.nullptr); + void Function(ffi.Pointer, ffi.Pointer) + >()(pointer, arg0?.pointer ?? ffi.nullptr); } class NSIndexPath extends NSObject { - NSIndexPath._(ffi.Pointer id, SwiftLibrary lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSIndexPath._( + ffi.Pointer pointer, + SwiftLibrary lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSIndexPath] that points to the same underlying object as [other]. - static NSIndexPath castFrom(T other) { - return NSIndexPath._(other._id, other._lib, retain: true, release: true); + static NSIndexPath castFrom( + SwiftLibrary lib, + T other, + ) { + return NSIndexPath._(other.pointer, lib, retain: true, release: true); } /// Returns a [NSIndexPath] that wraps the given raw object pointer. static NSIndexPath castFromPointer( - SwiftLibrary lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + SwiftLibrary lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSIndexPath._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSIndexPath]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_NSIndexPath1); + static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSIndexPath1, + ); } static NSIndexPath indexPathWithIndex_(SwiftLibrary _lib, int index) { final _ret = _lib._objc_msgSend_65( - _lib._class_NSIndexPath1, _lib._sel_indexPathWithIndex_1, index); + _lib._class_NSIndexPath1, + _lib._sel_indexPathWithIndex_1, + index, + ); return NSIndexPath._(_ret, _lib, retain: true, release: true); } static NSIndexPath indexPathWithIndexes_length_( - SwiftLibrary _lib, ffi.Pointer indexes, int length) { - final _ret = _lib._objc_msgSend_884(_lib._class_NSIndexPath1, - _lib._sel_indexPathWithIndexes_length_1, indexes, length); + SwiftLibrary _lib, + ffi.Pointer indexes, + int length, + ) { + final _ret = _lib._objc_msgSend_884( + _lib._class_NSIndexPath1, + _lib._sel_indexPathWithIndexes_length_1, + indexes, + length, + ); return NSIndexPath._(_ret, _lib, retain: true, release: true); } NSIndexPath initWithIndexes_length_( - ffi.Pointer indexes, int length) { + ffi.Pointer indexes, + int length, + ) { final _ret = _lib._objc_msgSend_884( - _id, _lib._sel_initWithIndexes_length_1, indexes, length); + this.pointer, + _lib._sel_initWithIndexes_length_1, + indexes, + length, + ); return NSIndexPath._(_ret, _lib, retain: true, release: true); } NSIndexPath initWithIndex_(int index) { - final _ret = _lib._objc_msgSend_65(_id, _lib._sel_initWithIndex_1, index); + final _ret = _lib._objc_msgSend_65( + this.pointer, + _lib._sel_initWithIndex_1, + index, + ); return NSIndexPath._(_ret, _lib, retain: true, release: true); } NSIndexPath indexPathByAddingIndex_(int index) { - final _ret = - _lib._objc_msgSend_885(_id, _lib._sel_indexPathByAddingIndex_1, index); + final _ret = _lib._objc_msgSend_885( + this.pointer, + _lib._sel_indexPathByAddingIndex_1, + index, + ); return NSIndexPath._(_ret, _lib, retain: true, release: true); } NSIndexPath indexPathByRemovingLastIndex() { - final _ret = - _lib._objc_msgSend_886(_id, _lib._sel_indexPathByRemovingLastIndex1); + final _ret = _lib._objc_msgSend_886( + this.pointer, + _lib._sel_indexPathByRemovingLastIndex1, + ); return NSIndexPath._(_ret, _lib, retain: true, release: true); } int indexAtPosition_(int position) { - return _lib._objc_msgSend_94(_id, _lib._sel_indexAtPosition_1, position); + return _lib._objc_msgSend_94( + this.pointer, + _lib._sel_indexAtPosition_1, + position, + ); } int get length { - return _lib._objc_msgSend_10(_id, _lib._sel_length1); + return _lib._objc_msgSend_10(this.pointer, _lib._sel_length1); } void getIndexes_range_( - ffi.Pointer indexes, _NSRange positionRange) { + ffi.Pointer indexes, + _NSRange positionRange, + ) { _lib._objc_msgSend_887( - _id, _lib._sel_getIndexes_range_1, indexes, positionRange); + this.pointer, + _lib._sel_getIndexes_range_1, + indexes, + positionRange, + ); } int compare_(NSIndexPath otherObject) { - return _lib._objc_msgSend_888(_id, _lib._sel_compare_1, otherObject._id); + return _lib._objc_msgSend_888( + this.pointer, + _lib._sel_compare_1, + otherObject.pointer, + ); } void getIndexes_(ffi.Pointer indexes) { - _lib._objc_msgSend_889(_id, _lib._sel_getIndexes_1, indexes); + _lib._objc_msgSend_889(this.pointer, _lib._sel_getIndexes_1, indexes); } @override NSIndexPath init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSIndexPath._(_ret, _lib, retain: true, release: true); } @@ -63183,411 +84178,590 @@ class NSIndexPath extends NSObject { } static NSIndexPath allocWithZone_( - SwiftLibrary _lib, ffi.Pointer<_NSZone> zone) { + SwiftLibrary _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSIndexPath1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSIndexPath1, + _lib._sel_allocWithZone_1, + zone, + ); return NSIndexPath._(_ret, _lib, retain: false, release: true); } static NSIndexPath alloc(SwiftLibrary _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSIndexPath1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSIndexPath1, + _lib._sel_alloc1, + ); return NSIndexPath._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + SwiftLibrary _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSIndexPath1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSIndexPath1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSIndexPath1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + SwiftLibrary _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSIndexPath1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { return _lib._objc_msgSend_12( - _lib._class_NSIndexPath1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_NSIndexPath1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(SwiftLibrary _lib) { return _lib._objc_msgSend_12( - _lib._class_NSIndexPath1, _lib._sel_useStoredAccessor1); + _lib._class_NSIndexPath1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSIndexPath1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSIndexPath1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSIndexPath1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSIndexPath1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, NSArray keys, NSString dependentKey) { + SwiftLibrary _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSIndexPath1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSIndexPath1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_85( - _lib._class_NSIndexPath1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSIndexPath1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSIndexPath1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSIndexPath1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } class NSInflectionRule extends NSObject { - NSInflectionRule._(ffi.Pointer id, SwiftLibrary lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSInflectionRule._( + ffi.Pointer pointer, + SwiftLibrary lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSInflectionRule] that points to the same underlying object as [other]. - static NSInflectionRule castFrom(T other) { - return NSInflectionRule._(other._id, other._lib, - retain: true, release: true); + static NSInflectionRule castFrom( + SwiftLibrary lib, + T other, + ) { + return NSInflectionRule._(other.pointer, lib, retain: true, release: true); } /// Returns a [NSInflectionRule] that wraps the given raw object pointer. static NSInflectionRule castFromPointer( - SwiftLibrary lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + SwiftLibrary lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSInflectionRule._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSInflectionRule]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0(obj._id, obj._lib._sel_isKindOfClass_1, - obj._lib._class_NSInflectionRule1); + static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSInflectionRule1, + ); } @override NSObject init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSObject._(_ret, _lib, retain: true, release: true); } static NSInflectionRule getAutomaticRule(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_890( - _lib._class_NSInflectionRule1, _lib._sel_automaticRule1); + _lib._class_NSInflectionRule1, + _lib._sel_automaticRule1, + ); return NSInflectionRule._(_ret, _lib, retain: true, release: true); } static bool canInflectLanguage_(SwiftLibrary _lib, NSString language) { - return _lib._objc_msgSend_64(_lib._class_NSInflectionRule1, - _lib._sel_canInflectLanguage_1, language._id); + return _lib._objc_msgSend_64( + _lib._class_NSInflectionRule1, + _lib._sel_canInflectLanguage_1, + language.pointer, + ); } static bool getCanInflectPreferredLocalization(SwiftLibrary _lib) { - return _lib._objc_msgSend_12(_lib._class_NSInflectionRule1, - _lib._sel_canInflectPreferredLocalization1); + return _lib._objc_msgSend_12( + _lib._class_NSInflectionRule1, + _lib._sel_canInflectPreferredLocalization1, + ); } static NSInflectionRule new1(SwiftLibrary _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSInflectionRule1, _lib._sel_new1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSInflectionRule1, + _lib._sel_new1, + ); return NSInflectionRule._(_ret, _lib, retain: false, release: true); } static NSInflectionRule allocWithZone_( - SwiftLibrary _lib, ffi.Pointer<_NSZone> zone) { + SwiftLibrary _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSInflectionRule1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSInflectionRule1, + _lib._sel_allocWithZone_1, + zone, + ); return NSInflectionRule._(_ret, _lib, retain: false, release: true); } static NSInflectionRule alloc(SwiftLibrary _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSInflectionRule1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSInflectionRule1, + _lib._sel_alloc1, + ); return NSInflectionRule._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + SwiftLibrary _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSInflectionRule1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSInflectionRule1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSInflectionRule1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + SwiftLibrary _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSInflectionRule1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { - return _lib._objc_msgSend_12(_lib._class_NSInflectionRule1, - _lib._sel_accessInstanceVariablesDirectly1); + return _lib._objc_msgSend_12( + _lib._class_NSInflectionRule1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(SwiftLibrary _lib) { return _lib._objc_msgSend_12( - _lib._class_NSInflectionRule1, _lib._sel_useStoredAccessor1); + _lib._class_NSInflectionRule1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSInflectionRule1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSInflectionRule1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSInflectionRule1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSInflectionRule1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, NSArray keys, NSString dependentKey) { + SwiftLibrary _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSInflectionRule1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSInflectionRule1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_85(_lib._class_NSInflectionRule1, - _lib._sel_classFallbacksForKeyedArchiver1); + final _ret = _lib._objc_msgSend_85( + _lib._class_NSInflectionRule1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSInflectionRule1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSInflectionRule1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } class NSMorphology extends NSObject { - NSMorphology._(ffi.Pointer id, SwiftLibrary lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSMorphology._( + ffi.Pointer pointer, + SwiftLibrary lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSMorphology] that points to the same underlying object as [other]. - static NSMorphology castFrom(T other) { - return NSMorphology._(other._id, other._lib, retain: true, release: true); + static NSMorphology castFrom( + SwiftLibrary lib, + T other, + ) { + return NSMorphology._(other.pointer, lib, retain: true, release: true); } /// Returns a [NSMorphology] that wraps the given raw object pointer. static NSMorphology castFromPointer( - SwiftLibrary lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + SwiftLibrary lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSMorphology._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSMorphology]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_NSMorphology1); + static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSMorphology1, + ); } int get grammaticalGender { - return _lib._objc_msgSend_891(_id, _lib._sel_grammaticalGender1); + return _lib._objc_msgSend_891(this.pointer, _lib._sel_grammaticalGender1); } set grammaticalGender(int value) { - return _lib._objc_msgSend_892(_id, _lib._sel_setGrammaticalGender_1, value); + return _lib._objc_msgSend_892( + this.pointer, + _lib._sel_setGrammaticalGender_1, + value, + ); } int get partOfSpeech { - return _lib._objc_msgSend_893(_id, _lib._sel_partOfSpeech1); + return _lib._objc_msgSend_893(this.pointer, _lib._sel_partOfSpeech1); } set partOfSpeech(int value) { - return _lib._objc_msgSend_894(_id, _lib._sel_setPartOfSpeech_1, value); + return _lib._objc_msgSend_894( + this.pointer, + _lib._sel_setPartOfSpeech_1, + value, + ); } int get number { - return _lib._objc_msgSend_895(_id, _lib._sel_number1); + return _lib._objc_msgSend_895(this.pointer, _lib._sel_number1); } set number(int value) { - return _lib._objc_msgSend_896(_id, _lib._sel_setNumber_1, value); + return _lib._objc_msgSend_896(this.pointer, _lib._sel_setNumber_1, value); } int get grammaticalCase { - return _lib._objc_msgSend_897(_id, _lib._sel_grammaticalCase1); + return _lib._objc_msgSend_897(this.pointer, _lib._sel_grammaticalCase1); } set grammaticalCase(int value) { - return _lib._objc_msgSend_898(_id, _lib._sel_setGrammaticalCase_1, value); + return _lib._objc_msgSend_898( + this.pointer, + _lib._sel_setGrammaticalCase_1, + value, + ); } int get determination { - return _lib._objc_msgSend_899(_id, _lib._sel_determination1); + return _lib._objc_msgSend_899(this.pointer, _lib._sel_determination1); } set determination(int value) { - return _lib._objc_msgSend_900(_id, _lib._sel_setDetermination_1, value); + return _lib._objc_msgSend_900( + this.pointer, + _lib._sel_setDetermination_1, + value, + ); } int get grammaticalPerson { - return _lib._objc_msgSend_901(_id, _lib._sel_grammaticalPerson1); + return _lib._objc_msgSend_901(this.pointer, _lib._sel_grammaticalPerson1); } set grammaticalPerson(int value) { - return _lib._objc_msgSend_902(_id, _lib._sel_setGrammaticalPerson_1, value); + return _lib._objc_msgSend_902( + this.pointer, + _lib._sel_setGrammaticalPerson_1, + value, + ); } int get pronounType { - return _lib._objc_msgSend_903(_id, _lib._sel_pronounType1); + return _lib._objc_msgSend_903(this.pointer, _lib._sel_pronounType1); } set pronounType(int value) { - return _lib._objc_msgSend_904(_id, _lib._sel_setPronounType_1, value); + return _lib._objc_msgSend_904( + this.pointer, + _lib._sel_setPronounType_1, + value, + ); } int get definiteness { - return _lib._objc_msgSend_905(_id, _lib._sel_definiteness1); + return _lib._objc_msgSend_905(this.pointer, _lib._sel_definiteness1); } set definiteness(int value) { - return _lib._objc_msgSend_906(_id, _lib._sel_setDefiniteness_1, value); + return _lib._objc_msgSend_906( + this.pointer, + _lib._sel_setDefiniteness_1, + value, + ); } NSMorphologyCustomPronoun? customPronounForLanguage_(NSString language) { final _ret = _lib._objc_msgSend_907( - _id, _lib._sel_customPronounForLanguage_1, language._id); + this.pointer, + _lib._sel_customPronounForLanguage_1, + language.pointer, + ); return _ret.address == 0 ? null : NSMorphologyCustomPronoun._(_ret, _lib, retain: true, release: true); } - bool setCustomPronoun_forLanguage_error_(NSMorphologyCustomPronoun? features, - NSString language, ffi.Pointer> error) { + bool setCustomPronoun_forLanguage_error_( + NSMorphologyCustomPronoun? features, + NSString language, + ffi.Pointer> error, + ) { return _lib._objc_msgSend_908( - _id, - _lib._sel_setCustomPronoun_forLanguage_error_1, - features?._id ?? ffi.nullptr, - language._id, - error); + this.pointer, + _lib._sel_setCustomPronoun_forLanguage_error_1, + features?.pointer ?? ffi.nullptr, + language.pointer, + error, + ); } bool get unspecified { - return _lib._objc_msgSend_12(_id, _lib._sel_isUnspecified1); + return _lib._objc_msgSend_12(this.pointer, _lib._sel_isUnspecified1); } static NSMorphology getUserMorphology(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_909( - _lib._class_NSMorphology1, _lib._sel_userMorphology1); + _lib._class_NSMorphology1, + _lib._sel_userMorphology1, + ); return NSMorphology._(_ret, _lib, retain: true, release: true); } @override NSMorphology init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSMorphology._(_ret, _lib, retain: true, release: true); } static NSMorphology new1(SwiftLibrary _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSMorphology1, _lib._sel_new1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSMorphology1, + _lib._sel_new1, + ); return NSMorphology._(_ret, _lib, retain: false, release: true); } static NSMorphology allocWithZone_( - SwiftLibrary _lib, ffi.Pointer<_NSZone> zone) { + SwiftLibrary _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSMorphology1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSMorphology1, + _lib._sel_allocWithZone_1, + zone, + ); return NSMorphology._(_ret, _lib, retain: false, release: true); } static NSMorphology alloc(SwiftLibrary _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSMorphology1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSMorphology1, + _lib._sel_alloc1, + ); return NSMorphology._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + SwiftLibrary _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSMorphology1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSMorphology1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSMorphology1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + SwiftLibrary _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSMorphology1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { return _lib._objc_msgSend_12( - _lib._class_NSMorphology1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_NSMorphology1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(SwiftLibrary _lib) { return _lib._objc_msgSend_12( - _lib._class_NSMorphology1, _lib._sel_useStoredAccessor1); + _lib._class_NSMorphology1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSMorphology1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSMorphology1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSMorphology1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSMorphology1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, NSArray keys, NSString dependentKey) { + SwiftLibrary _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSMorphology1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSMorphology1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_85( - _lib._class_NSMorphology1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSMorphology1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSMorphology1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSMorphology1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } @@ -63672,44 +84846,72 @@ abstract class NSGrammaticalDefiniteness { } class NSMorphologyCustomPronoun extends NSObject { - NSMorphologyCustomPronoun._(ffi.Pointer id, SwiftLibrary lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSMorphologyCustomPronoun._( + ffi.Pointer pointer, + SwiftLibrary lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSMorphologyCustomPronoun] that points to the same underlying object as [other]. - static NSMorphologyCustomPronoun castFrom(T other) { - return NSMorphologyCustomPronoun._(other._id, other._lib, - retain: true, release: true); + static NSMorphologyCustomPronoun castFrom( + SwiftLibrary lib, + T other, + ) { + return NSMorphologyCustomPronoun._( + other.pointer, + lib, + retain: true, + release: true, + ); } /// Returns a [NSMorphologyCustomPronoun] that wraps the given raw object pointer. static NSMorphologyCustomPronoun castFromPointer( - SwiftLibrary lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { - return NSMorphologyCustomPronoun._(other, lib, - retain: retain, release: release); + SwiftLibrary lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { + return NSMorphologyCustomPronoun._( + other, + lib, + retain: retain, + release: release, + ); } /// Returns whether [obj] is an instance of [NSMorphologyCustomPronoun]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0(obj._id, obj._lib._sel_isKindOfClass_1, - obj._lib._class_NSMorphologyCustomPronoun1); + static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSMorphologyCustomPronoun1, + ); } static bool isSupportedForLanguage_(SwiftLibrary _lib, NSString language) { - return _lib._objc_msgSend_64(_lib._class_NSMorphologyCustomPronoun1, - _lib._sel_isSupportedForLanguage_1, language._id); + return _lib._objc_msgSend_64( + _lib._class_NSMorphologyCustomPronoun1, + _lib._sel_isSupportedForLanguage_1, + language.pointer, + ); } static NSArray requiredKeysForLanguage_( - SwiftLibrary _lib, NSString language) { - final _ret = _lib._objc_msgSend_358(_lib._class_NSMorphologyCustomPronoun1, - _lib._sel_requiredKeysForLanguage_1, language._id); + SwiftLibrary _lib, + NSString language, + ) { + final _ret = _lib._objc_msgSend_358( + _lib._class_NSMorphologyCustomPronoun1, + _lib._sel_requiredKeysForLanguage_1, + language.pointer, + ); return NSArray._(_ret, _lib, retain: true, release: true); } NSString? get subjectForm { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_subjectForm1); + final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_subjectForm1); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); @@ -63717,11 +84919,14 @@ class NSMorphologyCustomPronoun extends NSObject { set subjectForm(NSString? value) { return _lib._objc_msgSend_545( - _id, _lib._sel_setSubjectForm_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setSubjectForm_1, + value?.pointer ?? ffi.nullptr, + ); } NSString? get objectForm { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_objectForm1); + final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_objectForm1); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); @@ -63729,11 +84934,14 @@ class NSMorphologyCustomPronoun extends NSObject { set objectForm(NSString? value) { return _lib._objc_msgSend_545( - _id, _lib._sel_setObjectForm_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setObjectForm_1, + value?.pointer ?? ffi.nullptr, + ); } NSString? get possessiveForm { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_possessiveForm1); + final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_possessiveForm1); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); @@ -63741,11 +84949,17 @@ class NSMorphologyCustomPronoun extends NSObject { set possessiveForm(NSString? value) { return _lib._objc_msgSend_545( - _id, _lib._sel_setPossessiveForm_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setPossessiveForm_1, + value?.pointer ?? ffi.nullptr, + ); } NSString? get possessiveAdjectiveForm { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_possessiveAdjectiveForm1); + final _ret = _lib._objc_msgSend_44( + this.pointer, + _lib._sel_possessiveAdjectiveForm1, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); @@ -63753,11 +84967,14 @@ class NSMorphologyCustomPronoun extends NSObject { set possessiveAdjectiveForm(NSString? value) { return _lib._objc_msgSend_545( - _id, _lib._sel_setPossessiveAdjectiveForm_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setPossessiveAdjectiveForm_1, + value?.pointer ?? ffi.nullptr, + ); } NSString? get reflexiveForm { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_reflexiveForm1); + final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_reflexiveForm1); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); @@ -63765,166 +84982,252 @@ class NSMorphologyCustomPronoun extends NSObject { set reflexiveForm(NSString? value) { return _lib._objc_msgSend_545( - _id, _lib._sel_setReflexiveForm_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setReflexiveForm_1, + value?.pointer ?? ffi.nullptr, + ); } @override NSMorphologyCustomPronoun init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSMorphologyCustomPronoun._(_ret, _lib, retain: true, release: true); } static NSMorphologyCustomPronoun new1(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSMorphologyCustomPronoun1, _lib._sel_new1); - return NSMorphologyCustomPronoun._(_ret, _lib, - retain: false, release: true); + _lib._class_NSMorphologyCustomPronoun1, + _lib._sel_new1, + ); + return NSMorphologyCustomPronoun._( + _ret, + _lib, + retain: false, + release: true, + ); } static NSMorphologyCustomPronoun allocWithZone_( - SwiftLibrary _lib, ffi.Pointer<_NSZone> zone) { - final _ret = _lib._objc_msgSend_3(_lib._class_NSMorphologyCustomPronoun1, - _lib._sel_allocWithZone_1, zone); - return NSMorphologyCustomPronoun._(_ret, _lib, - retain: false, release: true); + SwiftLibrary _lib, + ffi.Pointer<_NSZone> zone, + ) { + final _ret = _lib._objc_msgSend_3( + _lib._class_NSMorphologyCustomPronoun1, + _lib._sel_allocWithZone_1, + zone, + ); + return NSMorphologyCustomPronoun._( + _ret, + _lib, + retain: false, + release: true, + ); } static NSMorphologyCustomPronoun alloc(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSMorphologyCustomPronoun1, _lib._sel_alloc1); - return NSMorphologyCustomPronoun._(_ret, _lib, - retain: false, release: true); + _lib._class_NSMorphologyCustomPronoun1, + _lib._sel_alloc1, + ); + return NSMorphologyCustomPronoun._( + _ret, + _lib, + retain: false, + release: true, + ); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + SwiftLibrary _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSMorphologyCustomPronoun1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSMorphologyCustomPronoun1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSMorphologyCustomPronoun1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + SwiftLibrary _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSMorphologyCustomPronoun1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { - return _lib._objc_msgSend_12(_lib._class_NSMorphologyCustomPronoun1, - _lib._sel_accessInstanceVariablesDirectly1); + return _lib._objc_msgSend_12( + _lib._class_NSMorphologyCustomPronoun1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(SwiftLibrary _lib) { return _lib._objc_msgSend_12( - _lib._class_NSMorphologyCustomPronoun1, _lib._sel_useStoredAccessor1); + _lib._class_NSMorphologyCustomPronoun1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSMorphologyCustomPronoun1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSMorphologyCustomPronoun1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSMorphologyCustomPronoun1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSMorphologyCustomPronoun1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, NSArray keys, NSString dependentKey) { + SwiftLibrary _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSMorphologyCustomPronoun1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSMorphologyCustomPronoun1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_85(_lib._class_NSMorphologyCustomPronoun1, - _lib._sel_classFallbacksForKeyedArchiver1); + final _ret = _lib._objc_msgSend_85( + _lib._class_NSMorphologyCustomPronoun1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2(_lib._class_NSMorphologyCustomPronoun1, - _lib._sel_classForKeyedUnarchiver1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSMorphologyCustomPronoun1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } class NSOperationQueue extends NSObject { - NSOperationQueue._(ffi.Pointer id, SwiftLibrary lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSOperationQueue._( + ffi.Pointer pointer, + SwiftLibrary lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSOperationQueue] that points to the same underlying object as [other]. - static NSOperationQueue castFrom(T other) { - return NSOperationQueue._(other._id, other._lib, - retain: true, release: true); + static NSOperationQueue castFrom( + SwiftLibrary lib, + T other, + ) { + return NSOperationQueue._(other.pointer, lib, retain: true, release: true); } /// Returns a [NSOperationQueue] that wraps the given raw object pointer. static NSOperationQueue castFromPointer( - SwiftLibrary lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + SwiftLibrary lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSOperationQueue._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSOperationQueue]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0(obj._id, obj._lib._sel_isKindOfClass_1, - obj._lib._class_NSOperationQueue1); + static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSOperationQueue1, + ); } NSProgress get progress { - final _ret = _lib._objc_msgSend_879(_id, _lib._sel_progress1); + final _ret = _lib._objc_msgSend_879(this.pointer, _lib._sel_progress1); return NSProgress._(_ret, _lib, retain: true, release: true); } void addOperation_(NSOperation op) { - _lib._objc_msgSend_910(_id, _lib._sel_addOperation_1, op._id); + _lib._objc_msgSend_910(this.pointer, _lib._sel_addOperation_1, op.pointer); } void addOperations_waitUntilFinished_(NSArray ops, bool wait) { _lib._objc_msgSend_913( - _id, _lib._sel_addOperations_waitUntilFinished_1, ops._id, wait); + this.pointer, + _lib._sel_addOperations_waitUntilFinished_1, + ops.pointer, + wait, + ); } void addOperationWithBlock_(ObjCBlock_ffiVoid block) { - _lib._objc_msgSend_532(_id, _lib._sel_addOperationWithBlock_1, block._id); + _lib._objc_msgSend_532( + this.pointer, + _lib._sel_addOperationWithBlock_1, + block.pointer, + ); } void addBarrierBlock_(ObjCBlock_ffiVoid barrier) { - _lib._objc_msgSend_532(_id, _lib._sel_addBarrierBlock_1, barrier._id); + _lib._objc_msgSend_532( + this.pointer, + _lib._sel_addBarrierBlock_1, + barrier.pointer, + ); } int get maxConcurrentOperationCount { - return _lib._objc_msgSend_83(_id, _lib._sel_maxConcurrentOperationCount1); + return _lib._objc_msgSend_83( + this.pointer, + _lib._sel_maxConcurrentOperationCount1, + ); } set maxConcurrentOperationCount(int value) { return _lib._objc_msgSend_635( - _id, _lib._sel_setMaxConcurrentOperationCount_1, value); + this.pointer, + _lib._sel_setMaxConcurrentOperationCount_1, + value, + ); } bool get suspended { - return _lib._objc_msgSend_12(_id, _lib._sel_isSuspended1); + return _lib._objc_msgSend_12(this.pointer, _lib._sel_isSuspended1); } set suspended(bool value) { - return _lib._objc_msgSend_527(_id, _lib._sel_setSuspended_1, value); + return _lib._objc_msgSend_527( + this.pointer, + _lib._sel_setSuspended_1, + value, + ); } NSString? get name { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_name1); + final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_name1); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); @@ -63932,36 +85235,52 @@ class NSOperationQueue extends NSObject { set name(NSString? value) { return _lib._objc_msgSend_545( - _id, _lib._sel_setName_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setName_1, + value?.pointer ?? ffi.nullptr, + ); } int get qualityOfService { - return _lib._objc_msgSend_543(_id, _lib._sel_qualityOfService1); + return _lib._objc_msgSend_543(this.pointer, _lib._sel_qualityOfService1); } set qualityOfService(int value) { - return _lib._objc_msgSend_544(_id, _lib._sel_setQualityOfService_1, value); + return _lib._objc_msgSend_544( + this.pointer, + _lib._sel_setQualityOfService_1, + value, + ); } ffi.Pointer get underlyingQueue { - return _lib._objc_msgSend_914(_id, _lib._sel_underlyingQueue1); + return _lib._objc_msgSend_914(this.pointer, _lib._sel_underlyingQueue1); } set underlyingQueue(ffi.Pointer value) { - return _lib._objc_msgSend_915(_id, _lib._sel_setUnderlyingQueue_1, value); + return _lib._objc_msgSend_915( + this.pointer, + _lib._sel_setUnderlyingQueue_1, + value, + ); } void cancelAllOperations() { - _lib._objc_msgSend_1(_id, _lib._sel_cancelAllOperations1); + _lib._objc_msgSend_1(this.pointer, _lib._sel_cancelAllOperations1); } void waitUntilAllOperationsAreFinished() { - _lib._objc_msgSend_1(_id, _lib._sel_waitUntilAllOperationsAreFinished1); + _lib._objc_msgSend_1( + this.pointer, + _lib._sel_waitUntilAllOperationsAreFinished1, + ); } static NSOperationQueue? getCurrentQueue(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_916( - _lib._class_NSOperationQueue1, _lib._sel_currentQueue1); + _lib._class_NSOperationQueue1, + _lib._sel_currentQueue1, + ); return _ret.address == 0 ? null : NSOperationQueue._(_ret, _lib, retain: true, release: true); @@ -63969,190 +85288,253 @@ class NSOperationQueue extends NSObject { static NSOperationQueue getMainQueue(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_917( - _lib._class_NSOperationQueue1, _lib._sel_mainQueue1); + _lib._class_NSOperationQueue1, + _lib._sel_mainQueue1, + ); return NSOperationQueue._(_ret, _lib, retain: true, release: true); } NSArray get operations { - final _ret = _lib._objc_msgSend_85(_id, _lib._sel_operations1); + final _ret = _lib._objc_msgSend_85(this.pointer, _lib._sel_operations1); return NSArray._(_ret, _lib, retain: true, release: true); } int get operationCount { - return _lib._objc_msgSend_10(_id, _lib._sel_operationCount1); + return _lib._objc_msgSend_10(this.pointer, _lib._sel_operationCount1); } @override NSOperationQueue init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSOperationQueue._(_ret, _lib, retain: true, release: true); } static NSOperationQueue new1(SwiftLibrary _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSOperationQueue1, _lib._sel_new1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSOperationQueue1, + _lib._sel_new1, + ); return NSOperationQueue._(_ret, _lib, retain: false, release: true); } static NSOperationQueue allocWithZone_( - SwiftLibrary _lib, ffi.Pointer<_NSZone> zone) { + SwiftLibrary _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSOperationQueue1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSOperationQueue1, + _lib._sel_allocWithZone_1, + zone, + ); return NSOperationQueue._(_ret, _lib, retain: false, release: true); } static NSOperationQueue alloc(SwiftLibrary _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSOperationQueue1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSOperationQueue1, + _lib._sel_alloc1, + ); return NSOperationQueue._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + SwiftLibrary _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSOperationQueue1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSOperationQueue1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSOperationQueue1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + SwiftLibrary _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSOperationQueue1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { - return _lib._objc_msgSend_12(_lib._class_NSOperationQueue1, - _lib._sel_accessInstanceVariablesDirectly1); + return _lib._objc_msgSend_12( + _lib._class_NSOperationQueue1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(SwiftLibrary _lib) { return _lib._objc_msgSend_12( - _lib._class_NSOperationQueue1, _lib._sel_useStoredAccessor1); + _lib._class_NSOperationQueue1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSOperationQueue1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSOperationQueue1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSOperationQueue1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSOperationQueue1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, NSArray keys, NSString dependentKey) { + SwiftLibrary _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSOperationQueue1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSOperationQueue1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_85(_lib._class_NSOperationQueue1, - _lib._sel_classFallbacksForKeyedArchiver1); + final _ret = _lib._objc_msgSend_85( + _lib._class_NSOperationQueue1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSOperationQueue1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSOperationQueue1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } class NSOperation extends NSObject { - NSOperation._(ffi.Pointer id, SwiftLibrary lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSOperation._( + ffi.Pointer pointer, + SwiftLibrary lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSOperation] that points to the same underlying object as [other]. - static NSOperation castFrom(T other) { - return NSOperation._(other._id, other._lib, retain: true, release: true); + static NSOperation castFrom( + SwiftLibrary lib, + T other, + ) { + return NSOperation._(other.pointer, lib, retain: true, release: true); } /// Returns a [NSOperation] that wraps the given raw object pointer. static NSOperation castFromPointer( - SwiftLibrary lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + SwiftLibrary lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSOperation._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSOperation]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_NSOperation1); + static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSOperation1, + ); } void start() { - _lib._objc_msgSend_1(_id, _lib._sel_start1); + _lib._objc_msgSend_1(this.pointer, _lib._sel_start1); } void main() { - _lib._objc_msgSend_1(_id, _lib._sel_main1); + _lib._objc_msgSend_1(this.pointer, _lib._sel_main1); } bool get cancelled { - return _lib._objc_msgSend_12(_id, _lib._sel_isCancelled1); + return _lib._objc_msgSend_12(this.pointer, _lib._sel_isCancelled1); } void cancel() { - _lib._objc_msgSend_1(_id, _lib._sel_cancel1); + _lib._objc_msgSend_1(this.pointer, _lib._sel_cancel1); } bool get executing { - return _lib._objc_msgSend_12(_id, _lib._sel_isExecuting1); + return _lib._objc_msgSend_12(this.pointer, _lib._sel_isExecuting1); } bool get finished { - return _lib._objc_msgSend_12(_id, _lib._sel_isFinished1); + return _lib._objc_msgSend_12(this.pointer, _lib._sel_isFinished1); } bool get concurrent { - return _lib._objc_msgSend_12(_id, _lib._sel_isConcurrent1); + return _lib._objc_msgSend_12(this.pointer, _lib._sel_isConcurrent1); } bool get asynchronous { - return _lib._objc_msgSend_12(_id, _lib._sel_isAsynchronous1); + return _lib._objc_msgSend_12(this.pointer, _lib._sel_isAsynchronous1); } bool get ready { - return _lib._objc_msgSend_12(_id, _lib._sel_isReady1); + return _lib._objc_msgSend_12(this.pointer, _lib._sel_isReady1); } void addDependency_(NSOperation op) { - _lib._objc_msgSend_910(_id, _lib._sel_addDependency_1, op._id); + _lib._objc_msgSend_910(this.pointer, _lib._sel_addDependency_1, op.pointer); } void removeDependency_(NSOperation op) { - _lib._objc_msgSend_910(_id, _lib._sel_removeDependency_1, op._id); + _lib._objc_msgSend_910( + this.pointer, + _lib._sel_removeDependency_1, + op.pointer, + ); } NSArray get dependencies { - final _ret = _lib._objc_msgSend_85(_id, _lib._sel_dependencies1); + final _ret = _lib._objc_msgSend_85(this.pointer, _lib._sel_dependencies1); return NSArray._(_ret, _lib, retain: true, release: true); } int get queuePriority { - return _lib._objc_msgSend_911(_id, _lib._sel_queuePriority1); + return _lib._objc_msgSend_911(this.pointer, _lib._sel_queuePriority1); } set queuePriority(int value) { - return _lib._objc_msgSend_912(_id, _lib._sel_setQueuePriority_1, value); + return _lib._objc_msgSend_912( + this.pointer, + _lib._sel_setQueuePriority_1, + value, + ); } ObjCBlock_ffiVoid? get completionBlock { - final _ret = _lib._objc_msgSend_668(_id, _lib._sel_completionBlock1); + final _ret = _lib._objc_msgSend_668( + this.pointer, + _lib._sel_completionBlock1, + ); return _ret.address == 0 ? null : ObjCBlock_ffiVoid._(_ret, _lib, retain: true, release: true); @@ -64160,33 +85542,44 @@ class NSOperation extends NSObject { set completionBlock(ObjCBlock_ffiVoid? value) { return _lib._objc_msgSend_669( - _id, _lib._sel_setCompletionBlock_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setCompletionBlock_1, + value?.pointer ?? ffi.nullptr, + ); } void waitUntilFinished() { - _lib._objc_msgSend_1(_id, _lib._sel_waitUntilFinished1); + _lib._objc_msgSend_1(this.pointer, _lib._sel_waitUntilFinished1); } double get threadPriority { - return _lib._objc_msgSend_useVariants1 - ? _lib._objc_msgSend_165_fpret(_id, _lib._sel_threadPriority1) - : _lib._objc_msgSend_165(_id, _lib._sel_threadPriority1); + return objc.useMsgSendVariants + ? _lib._objc_msgSend_165_fpret(this.pointer, _lib._sel_threadPriority1) + : _lib._objc_msgSend_165(this.pointer, _lib._sel_threadPriority1); } set threadPriority(double value) { - return _lib._objc_msgSend_542(_id, _lib._sel_setThreadPriority_1, value); + return _lib._objc_msgSend_542( + this.pointer, + _lib._sel_setThreadPriority_1, + value, + ); } int get qualityOfService { - return _lib._objc_msgSend_543(_id, _lib._sel_qualityOfService1); + return _lib._objc_msgSend_543(this.pointer, _lib._sel_qualityOfService1); } set qualityOfService(int value) { - return _lib._objc_msgSend_544(_id, _lib._sel_setQualityOfService_1, value); + return _lib._objc_msgSend_544( + this.pointer, + _lib._sel_setQualityOfService_1, + value, + ); } NSString? get name { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_name1); + final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_name1); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); @@ -64194,12 +85587,15 @@ class NSOperation extends NSObject { set name(NSString? value) { return _lib._objc_msgSend_545( - _id, _lib._sel_setName_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setName_1, + value?.pointer ?? ffi.nullptr, + ); } @override NSOperation init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSOperation._(_ret, _lib, retain: true, release: true); } @@ -64209,78 +85605,114 @@ class NSOperation extends NSObject { } static NSOperation allocWithZone_( - SwiftLibrary _lib, ffi.Pointer<_NSZone> zone) { + SwiftLibrary _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSOperation1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSOperation1, + _lib._sel_allocWithZone_1, + zone, + ); return NSOperation._(_ret, _lib, retain: false, release: true); } static NSOperation alloc(SwiftLibrary _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSOperation1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSOperation1, + _lib._sel_alloc1, + ); return NSOperation._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + SwiftLibrary _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSOperation1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSOperation1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSOperation1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + SwiftLibrary _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSOperation1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { return _lib._objc_msgSend_12( - _lib._class_NSOperation1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_NSOperation1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(SwiftLibrary _lib) { return _lib._objc_msgSend_12( - _lib._class_NSOperation1, _lib._sel_useStoredAccessor1); + _lib._class_NSOperation1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSOperation1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSOperation1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSOperation1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSOperation1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, NSArray keys, NSString dependentKey) { + SwiftLibrary _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSOperation1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSOperation1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_85( - _lib._class_NSOperation1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSOperation1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSOperation1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSOperation1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } @@ -64296,207 +85728,303 @@ abstract class NSOperationQueuePriority { final class dispatch_queue_s extends ffi.Opaque {} class NSPointerArray extends NSObject { - NSPointerArray._(ffi.Pointer id, SwiftLibrary lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSPointerArray._( + ffi.Pointer pointer, + SwiftLibrary lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSPointerArray] that points to the same underlying object as [other]. - static NSPointerArray castFrom(T other) { - return NSPointerArray._(other._id, other._lib, retain: true, release: true); + static NSPointerArray castFrom( + SwiftLibrary lib, + T other, + ) { + return NSPointerArray._(other.pointer, lib, retain: true, release: true); } /// Returns a [NSPointerArray] that wraps the given raw object pointer. static NSPointerArray castFromPointer( - SwiftLibrary lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + SwiftLibrary lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSPointerArray._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSPointerArray]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0(obj._id, obj._lib._sel_isKindOfClass_1, - obj._lib._class_NSPointerArray1); + static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSPointerArray1, + ); } NSPointerArray initWithOptions_(int options) { - final _ret = - _lib._objc_msgSend_918(_id, _lib._sel_initWithOptions_1, options); + final _ret = _lib._objc_msgSend_918( + this.pointer, + _lib._sel_initWithOptions_1, + options, + ); return NSPointerArray._(_ret, _lib, retain: true, release: true); } NSPointerArray initWithPointerFunctions_(NSPointerFunctions functions) { final _ret = _lib._objc_msgSend_932( - _id, _lib._sel_initWithPointerFunctions_1, functions._id); + this.pointer, + _lib._sel_initWithPointerFunctions_1, + functions.pointer, + ); return NSPointerArray._(_ret, _lib, retain: true, release: true); } static NSPointerArray pointerArrayWithOptions_( - SwiftLibrary _lib, int options) { - final _ret = _lib._objc_msgSend_933(_lib._class_NSPointerArray1, - _lib._sel_pointerArrayWithOptions_1, options); + SwiftLibrary _lib, + int options, + ) { + final _ret = _lib._objc_msgSend_933( + _lib._class_NSPointerArray1, + _lib._sel_pointerArrayWithOptions_1, + options, + ); return NSPointerArray._(_ret, _lib, retain: true, release: true); } static NSPointerArray pointerArrayWithPointerFunctions_( - SwiftLibrary _lib, NSPointerFunctions functions) { - final _ret = _lib._objc_msgSend_934(_lib._class_NSPointerArray1, - _lib._sel_pointerArrayWithPointerFunctions_1, functions._id); + SwiftLibrary _lib, + NSPointerFunctions functions, + ) { + final _ret = _lib._objc_msgSend_934( + _lib._class_NSPointerArray1, + _lib._sel_pointerArrayWithPointerFunctions_1, + functions.pointer, + ); return NSPointerArray._(_ret, _lib, retain: true, release: true); } NSPointerFunctions get pointerFunctions { - final _ret = _lib._objc_msgSend_935(_id, _lib._sel_pointerFunctions1); + final _ret = _lib._objc_msgSend_935( + this.pointer, + _lib._sel_pointerFunctions1, + ); return NSPointerFunctions._(_ret, _lib, retain: true, release: true); } ffi.Pointer pointerAtIndex_(int index) { - return _lib._objc_msgSend_936(_id, _lib._sel_pointerAtIndex_1, index); + return _lib._objc_msgSend_936( + this.pointer, + _lib._sel_pointerAtIndex_1, + index, + ); } void addPointer_(ffi.Pointer pointer) { - _lib._objc_msgSend_52(_id, _lib._sel_addPointer_1, pointer); + _lib._objc_msgSend_52(this.pointer, _lib._sel_addPointer_1, pointer); } void removePointerAtIndex_(int index) { - _lib._objc_msgSend_470(_id, _lib._sel_removePointerAtIndex_1, index); + _lib._objc_msgSend_470( + this.pointer, + _lib._sel_removePointerAtIndex_1, + index, + ); } void insertPointer_atIndex_(ffi.Pointer item, int index) { - _lib._objc_msgSend_22(_id, _lib._sel_insertPointer_atIndex_1, item, index); + _lib._objc_msgSend_22( + this.pointer, + _lib._sel_insertPointer_atIndex_1, + item, + index, + ); } void replacePointerAtIndex_withPointer_( - int index, ffi.Pointer item) { + int index, + ffi.Pointer item, + ) { _lib._objc_msgSend_937( - _id, _lib._sel_replacePointerAtIndex_withPointer_1, index, item); + this.pointer, + _lib._sel_replacePointerAtIndex_withPointer_1, + index, + item, + ); } void compact() { - _lib._objc_msgSend_1(_id, _lib._sel_compact1); + _lib._objc_msgSend_1(this.pointer, _lib._sel_compact1); } int get count { - return _lib._objc_msgSend_10(_id, _lib._sel_count1); + return _lib._objc_msgSend_10(this.pointer, _lib._sel_count1); } set count(int value) { - return _lib._objc_msgSend_516(_id, _lib._sel_setCount_1, value); + return _lib._objc_msgSend_516(this.pointer, _lib._sel_setCount_1, value); } static NSObject pointerArrayWithStrongObjects(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSPointerArray1, _lib._sel_pointerArrayWithStrongObjects1); + _lib._class_NSPointerArray1, + _lib._sel_pointerArrayWithStrongObjects1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } static NSObject pointerArrayWithWeakObjects(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSPointerArray1, _lib._sel_pointerArrayWithWeakObjects1); + _lib._class_NSPointerArray1, + _lib._sel_pointerArrayWithWeakObjects1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } static NSPointerArray strongObjectsPointerArray(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_938( - _lib._class_NSPointerArray1, _lib._sel_strongObjectsPointerArray1); + _lib._class_NSPointerArray1, + _lib._sel_strongObjectsPointerArray1, + ); return NSPointerArray._(_ret, _lib, retain: true, release: true); } static NSPointerArray weakObjectsPointerArray(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_938( - _lib._class_NSPointerArray1, _lib._sel_weakObjectsPointerArray1); + _lib._class_NSPointerArray1, + _lib._sel_weakObjectsPointerArray1, + ); return NSPointerArray._(_ret, _lib, retain: true, release: true); } NSArray get allObjects { - final _ret = _lib._objc_msgSend_85(_id, _lib._sel_allObjects1); + final _ret = _lib._objc_msgSend_85(this.pointer, _lib._sel_allObjects1); return NSArray._(_ret, _lib, retain: true, release: true); } @override NSPointerArray init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSPointerArray._(_ret, _lib, retain: true, release: true); } static NSPointerArray new1(SwiftLibrary _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSPointerArray1, _lib._sel_new1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSPointerArray1, + _lib._sel_new1, + ); return NSPointerArray._(_ret, _lib, retain: false, release: true); } static NSPointerArray allocWithZone_( - SwiftLibrary _lib, ffi.Pointer<_NSZone> zone) { + SwiftLibrary _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSPointerArray1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSPointerArray1, + _lib._sel_allocWithZone_1, + zone, + ); return NSPointerArray._(_ret, _lib, retain: false, release: true); } static NSPointerArray alloc(SwiftLibrary _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSPointerArray1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSPointerArray1, + _lib._sel_alloc1, + ); return NSPointerArray._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + SwiftLibrary _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSPointerArray1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSPointerArray1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSPointerArray1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + SwiftLibrary _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSPointerArray1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { - return _lib._objc_msgSend_12(_lib._class_NSPointerArray1, - _lib._sel_accessInstanceVariablesDirectly1); + return _lib._objc_msgSend_12( + _lib._class_NSPointerArray1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(SwiftLibrary _lib) { return _lib._objc_msgSend_12( - _lib._class_NSPointerArray1, _lib._sel_useStoredAccessor1); + _lib._class_NSPointerArray1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSPointerArray1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSPointerArray1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSPointerArray1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSPointerArray1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, NSArray keys, NSString dependentKey) { + SwiftLibrary _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSPointerArray1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSPointerArray1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_85( - _lib._class_NSPointerArray1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSPointerArray1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSPointerArray1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSPointerArray1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } @@ -64518,555 +86046,778 @@ abstract class NSPointerFunctionsOptions { } class NSPointerFunctions extends NSObject { - NSPointerFunctions._(ffi.Pointer id, SwiftLibrary lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSPointerFunctions._( + ffi.Pointer pointer, + SwiftLibrary lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSPointerFunctions] that points to the same underlying object as [other]. - static NSPointerFunctions castFrom(T other) { - return NSPointerFunctions._(other._id, other._lib, - retain: true, release: true); + static NSPointerFunctions castFrom( + SwiftLibrary lib, + T other, + ) { + return NSPointerFunctions._( + other.pointer, + lib, + retain: true, + release: true, + ); } /// Returns a [NSPointerFunctions] that wraps the given raw object pointer. static NSPointerFunctions castFromPointer( - SwiftLibrary lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + SwiftLibrary lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSPointerFunctions._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSPointerFunctions]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0(obj._id, obj._lib._sel_isKindOfClass_1, - obj._lib._class_NSPointerFunctions1); + static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSPointerFunctions1, + ); } NSPointerFunctions initWithOptions_(int options) { - final _ret = - _lib._objc_msgSend_918(_id, _lib._sel_initWithOptions_1, options); + final _ret = _lib._objc_msgSend_918( + this.pointer, + _lib._sel_initWithOptions_1, + options, + ); return NSPointerFunctions._(_ret, _lib, retain: true, release: true); } static NSPointerFunctions pointerFunctionsWithOptions_( - SwiftLibrary _lib, int options) { - final _ret = _lib._objc_msgSend_919(_lib._class_NSPointerFunctions1, - _lib._sel_pointerFunctionsWithOptions_1, options); + SwiftLibrary _lib, + int options, + ) { + final _ret = _lib._objc_msgSend_919( + _lib._class_NSPointerFunctions1, + _lib._sel_pointerFunctionsWithOptions_1, + options, + ); return NSPointerFunctions._(_ret, _lib, retain: true, release: true); } ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function(ffi.Pointer)>>)>> - get hashFunction { - return _lib._objc_msgSend_920(_id, _lib._sel_hashFunction1); + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction)> + >, + ) + > + > + get hashFunction { + return _lib._objc_msgSend_920(this.pointer, _lib._sel_hashFunction1); } set hashFunction( - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer)>>)>> - value) { - return _lib._objc_msgSend_921(_id, _lib._sel_setHashFunction_1, value); + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction)> + >, + ) + > + > value, + ) { + return _lib._objc_msgSend_921( + this.pointer, + _lib._sel_setHashFunction_1, + value, + ); } ffi.Pointer< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function(ffi.Pointer)>>)>> - get isEqualFunction { - return _lib._objc_msgSend_922(_id, _lib._sel_isEqualFunction1); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction)> + >, + ) + > + > + get isEqualFunction { + return _lib._objc_msgSend_922(this.pointer, _lib._sel_isEqualFunction1); } set isEqualFunction( - ffi.Pointer< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer)>>)>> - value) { - return _lib._objc_msgSend_923(_id, _lib._sel_setIsEqualFunction_1, value); + ffi.Pointer< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction)> + >, + ) + > + > value, + ) { + return _lib._objc_msgSend_923( + this.pointer, + _lib._sel_setIsEqualFunction_1, + value, + ); } ffi.Pointer< - ffi.NativeFunction)>> - get sizeFunction { - return _lib._objc_msgSend_924(_id, _lib._sel_sizeFunction1); + ffi.NativeFunction)> + > + get sizeFunction { + return _lib._objc_msgSend_924(this.pointer, _lib._sel_sizeFunction1); } set sizeFunction( - ffi.Pointer< - ffi - .NativeFunction)>> - value) { - return _lib._objc_msgSend_925(_id, _lib._sel_setSizeFunction_1, value); + ffi.Pointer< + ffi.NativeFunction)> + > value, + ) { + return _lib._objc_msgSend_925( + this.pointer, + _lib._sel_setSizeFunction_1, + value, + ); } ffi.Pointer< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer)>> - get descriptionFunction { - return _lib._objc_msgSend_926(_id, _lib._sel_descriptionFunction1); + ffi.NativeFunction< + ffi.Pointer Function(ffi.Pointer) + > + > + get descriptionFunction { + return _lib._objc_msgSend_926(this.pointer, _lib._sel_descriptionFunction1); } set descriptionFunction( - ffi.Pointer< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer)>> - value) { + ffi.Pointer< + ffi.NativeFunction< + ffi.Pointer Function(ffi.Pointer) + > + > value, + ) { return _lib._objc_msgSend_927( - _id, _lib._sel_setDescriptionFunction_1, value); + this.pointer, + _lib._sel_setDescriptionFunction_1, + value, + ); } ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function(ffi.Pointer)>>)>> - get relinquishFunction { - return _lib._objc_msgSend_928(_id, _lib._sel_relinquishFunction1); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction)> + >, + ) + > + > + get relinquishFunction { + return _lib._objc_msgSend_928(this.pointer, _lib._sel_relinquishFunction1); } set relinquishFunction( - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer)>>)>> - value) { + ffi.Pointer< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction)> + >, + ) + > + > value, + ) { return _lib._objc_msgSend_929( - _id, _lib._sel_setRelinquishFunction_1, value); + this.pointer, + _lib._sel_setRelinquishFunction_1, + value, + ); } ffi.Pointer< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function(ffi.Pointer)>>, - ffi.Bool)>> get acquireFunction { - return _lib._objc_msgSend_930(_id, _lib._sel_acquireFunction1); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction)> + >, + ffi.Bool, + ) + > + > + get acquireFunction { + return _lib._objc_msgSend_930(this.pointer, _lib._sel_acquireFunction1); } set acquireFunction( - ffi.Pointer< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer)>>, - ffi.Bool)>> - value) { - return _lib._objc_msgSend_931(_id, _lib._sel_setAcquireFunction_1, value); + ffi.Pointer< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction)> + >, + ffi.Bool, + ) + > + > value, + ) { + return _lib._objc_msgSend_931( + this.pointer, + _lib._sel_setAcquireFunction_1, + value, + ); } bool get usesStrongWriteBarrier { - return _lib._objc_msgSend_12(_id, _lib._sel_usesStrongWriteBarrier1); + return _lib._objc_msgSend_12( + this.pointer, + _lib._sel_usesStrongWriteBarrier1, + ); } set usesStrongWriteBarrier(bool value) { return _lib._objc_msgSend_527( - _id, _lib._sel_setUsesStrongWriteBarrier_1, value); + this.pointer, + _lib._sel_setUsesStrongWriteBarrier_1, + value, + ); } bool get usesWeakReadAndWriteBarriers { - return _lib._objc_msgSend_12(_id, _lib._sel_usesWeakReadAndWriteBarriers1); + return _lib._objc_msgSend_12( + this.pointer, + _lib._sel_usesWeakReadAndWriteBarriers1, + ); } set usesWeakReadAndWriteBarriers(bool value) { return _lib._objc_msgSend_527( - _id, _lib._sel_setUsesWeakReadAndWriteBarriers_1, value); + this.pointer, + _lib._sel_setUsesWeakReadAndWriteBarriers_1, + value, + ); } @override NSPointerFunctions init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSPointerFunctions._(_ret, _lib, retain: true, release: true); } static NSPointerFunctions new1(SwiftLibrary _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSPointerFunctions1, _lib._sel_new1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSPointerFunctions1, + _lib._sel_new1, + ); return NSPointerFunctions._(_ret, _lib, retain: false, release: true); } static NSPointerFunctions allocWithZone_( - SwiftLibrary _lib, ffi.Pointer<_NSZone> zone) { + SwiftLibrary _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSPointerFunctions1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSPointerFunctions1, + _lib._sel_allocWithZone_1, + zone, + ); return NSPointerFunctions._(_ret, _lib, retain: false, release: true); } static NSPointerFunctions alloc(SwiftLibrary _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSPointerFunctions1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSPointerFunctions1, + _lib._sel_alloc1, + ); return NSPointerFunctions._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + SwiftLibrary _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSPointerFunctions1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSPointerFunctions1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSPointerFunctions1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + SwiftLibrary _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSPointerFunctions1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { - return _lib._objc_msgSend_12(_lib._class_NSPointerFunctions1, - _lib._sel_accessInstanceVariablesDirectly1); + return _lib._objc_msgSend_12( + _lib._class_NSPointerFunctions1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(SwiftLibrary _lib) { return _lib._objc_msgSend_12( - _lib._class_NSPointerFunctions1, _lib._sel_useStoredAccessor1); + _lib._class_NSPointerFunctions1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSPointerFunctions1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSPointerFunctions1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSPointerFunctions1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSPointerFunctions1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, NSArray keys, NSString dependentKey) { + SwiftLibrary _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSPointerFunctions1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSPointerFunctions1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_85(_lib._class_NSPointerFunctions1, - _lib._sel_classFallbacksForKeyedArchiver1); + final _ret = _lib._objc_msgSend_85( + _lib._class_NSPointerFunctions1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSPointerFunctions1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSPointerFunctions1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } class NSProcessInfo extends NSObject { - NSProcessInfo._(ffi.Pointer id, SwiftLibrary lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSProcessInfo._( + ffi.Pointer pointer, + SwiftLibrary lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSProcessInfo] that points to the same underlying object as [other]. - static NSProcessInfo castFrom(T other) { - return NSProcessInfo._(other._id, other._lib, retain: true, release: true); + static NSProcessInfo castFrom( + SwiftLibrary lib, + T other, + ) { + return NSProcessInfo._(other.pointer, lib, retain: true, release: true); } /// Returns a [NSProcessInfo] that wraps the given raw object pointer. static NSProcessInfo castFromPointer( - SwiftLibrary lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + SwiftLibrary lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSProcessInfo._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSProcessInfo]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_NSProcessInfo1); + static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSProcessInfo1, + ); } static NSProcessInfo getProcessInfo(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_939( - _lib._class_NSProcessInfo1, _lib._sel_processInfo1); + _lib._class_NSProcessInfo1, + _lib._sel_processInfo1, + ); return NSProcessInfo._(_ret, _lib, retain: true, release: true); } NSDictionary get environment { - final _ret = _lib._objc_msgSend_181(_id, _lib._sel_environment1); + final _ret = _lib._objc_msgSend_181(this.pointer, _lib._sel_environment1); return NSDictionary._(_ret, _lib, retain: true, release: true); } NSArray get arguments { - final _ret = _lib._objc_msgSend_85(_id, _lib._sel_arguments1); + final _ret = _lib._objc_msgSend_85(this.pointer, _lib._sel_arguments1); return NSArray._(_ret, _lib, retain: true, release: true); } NSString get hostName { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_hostName1); + final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_hostName1); return NSString._(_ret, _lib, retain: true, release: true); } NSString get processName { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_processName1); + final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_processName1); return NSString._(_ret, _lib, retain: true, release: true); } set processName(NSString value) { - return _lib._objc_msgSend_646(_id, _lib._sel_setProcessName_1, value._id); + return _lib._objc_msgSend_646( + this.pointer, + _lib._sel_setProcessName_1, + value.pointer, + ); } int get processIdentifier { - return _lib._objc_msgSend_237(_id, _lib._sel_processIdentifier1); + return _lib._objc_msgSend_237(this.pointer, _lib._sel_processIdentifier1); } NSString get globallyUniqueString { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_globallyUniqueString1); + final _ret = _lib._objc_msgSend_21( + this.pointer, + _lib._sel_globallyUniqueString1, + ); return NSString._(_ret, _lib, retain: true, release: true); } int operatingSystem() { - return _lib._objc_msgSend_10(_id, _lib._sel_operatingSystem1); + return _lib._objc_msgSend_10(this.pointer, _lib._sel_operatingSystem1); } NSString operatingSystemName() { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_operatingSystemName1); + final _ret = _lib._objc_msgSend_21( + this.pointer, + _lib._sel_operatingSystemName1, + ); return NSString._(_ret, _lib, retain: true, release: true); } NSString get operatingSystemVersionString { - final _ret = - _lib._objc_msgSend_21(_id, _lib._sel_operatingSystemVersionString1); + final _ret = _lib._objc_msgSend_21( + this.pointer, + _lib._sel_operatingSystemVersionString1, + ); return NSString._(_ret, _lib, retain: true, release: true); } void getOperatingSystemVersion(ffi.Pointer stret) { - _lib._objc_msgSend_useVariants1 + objc.useMsgSendVariants ? _lib._objc_msgSend_940_stret( - stret, _id, _lib._sel_operatingSystemVersion1) - : stret.ref = - _lib._objc_msgSend_940(_id, _lib._sel_operatingSystemVersion1); + stret, + this.pointer, + _lib._sel_operatingSystemVersion1, + ) + : stret.ref = _lib._objc_msgSend_940( + this.pointer, + _lib._sel_operatingSystemVersion1, + ); } int get processorCount { - return _lib._objc_msgSend_10(_id, _lib._sel_processorCount1); + return _lib._objc_msgSend_10(this.pointer, _lib._sel_processorCount1); } int get activeProcessorCount { - return _lib._objc_msgSend_10(_id, _lib._sel_activeProcessorCount1); + return _lib._objc_msgSend_10(this.pointer, _lib._sel_activeProcessorCount1); } int get physicalMemory { - return _lib._objc_msgSend_164(_id, _lib._sel_physicalMemory1); + return _lib._objc_msgSend_164(this.pointer, _lib._sel_physicalMemory1); } bool isOperatingSystemAtLeastVersion_(NSOperatingSystemVersion version) { return _lib._objc_msgSend_941( - _id, _lib._sel_isOperatingSystemAtLeastVersion_1, version); + this.pointer, + _lib._sel_isOperatingSystemAtLeastVersion_1, + version, + ); } double get systemUptime { - return _lib._objc_msgSend_useVariants1 - ? _lib._objc_msgSend_165_fpret(_id, _lib._sel_systemUptime1) - : _lib._objc_msgSend_165(_id, _lib._sel_systemUptime1); + return objc.useMsgSendVariants + ? _lib._objc_msgSend_165_fpret(this.pointer, _lib._sel_systemUptime1) + : _lib._objc_msgSend_165(this.pointer, _lib._sel_systemUptime1); } void disableSuddenTermination() { - _lib._objc_msgSend_1(_id, _lib._sel_disableSuddenTermination1); + _lib._objc_msgSend_1(this.pointer, _lib._sel_disableSuddenTermination1); } void enableSuddenTermination() { - _lib._objc_msgSend_1(_id, _lib._sel_enableSuddenTermination1); + _lib._objc_msgSend_1(this.pointer, _lib._sel_enableSuddenTermination1); } void disableAutomaticTermination_(NSString reason) { _lib._objc_msgSend_247( - _id, _lib._sel_disableAutomaticTermination_1, reason._id); + this.pointer, + _lib._sel_disableAutomaticTermination_1, + reason.pointer, + ); } void enableAutomaticTermination_(NSString reason) { _lib._objc_msgSend_247( - _id, _lib._sel_enableAutomaticTermination_1, reason._id); + this.pointer, + _lib._sel_enableAutomaticTermination_1, + reason.pointer, + ); } bool get automaticTerminationSupportEnabled { return _lib._objc_msgSend_12( - _id, _lib._sel_automaticTerminationSupportEnabled1); + this.pointer, + _lib._sel_automaticTerminationSupportEnabled1, + ); } set automaticTerminationSupportEnabled(bool value) { return _lib._objc_msgSend_527( - _id, _lib._sel_setAutomaticTerminationSupportEnabled_1, value); + this.pointer, + _lib._sel_setAutomaticTerminationSupportEnabled_1, + value, + ); } NSObject beginActivityWithOptions_reason_(int options, NSString reason) { final _ret = _lib._objc_msgSend_942( - _id, _lib._sel_beginActivityWithOptions_reason_1, options, reason._id); + this.pointer, + _lib._sel_beginActivityWithOptions_reason_1, + options, + reason.pointer, + ); return NSObject._(_ret, _lib, retain: true, release: true); } void endActivity_(NSObject activity) { - _lib._objc_msgSend_15(_id, _lib._sel_endActivity_1, activity._id); + _lib._objc_msgSend_15( + this.pointer, + _lib._sel_endActivity_1, + activity.pointer, + ); } void performActivityWithOptions_reason_usingBlock_( - int options, NSString reason, ObjCBlock_ffiVoid block) { + int options, + NSString reason, + ObjCBlock_ffiVoid block, + ) { _lib._objc_msgSend_943( - _id, - _lib._sel_performActivityWithOptions_reason_usingBlock_1, - options, - reason._id, - block._id); + this.pointer, + _lib._sel_performActivityWithOptions_reason_usingBlock_1, + options, + reason.pointer, + block.pointer, + ); } void performExpiringActivityWithReason_usingBlock_( - NSString reason, ObjCBlock_ffiVoid_bool block) { + NSString reason, + ObjCBlock_ffiVoid_bool block, + ) { _lib._objc_msgSend_944( - _id, - _lib._sel_performExpiringActivityWithReason_usingBlock_1, - reason._id, - block._id); + this.pointer, + _lib._sel_performExpiringActivityWithReason_usingBlock_1, + reason.pointer, + block.pointer, + ); } NSString get userName { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_userName1); + final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_userName1); return NSString._(_ret, _lib, retain: true, release: true); } NSString get fullUserName { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_fullUserName1); + final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_fullUserName1); return NSString._(_ret, _lib, retain: true, release: true); } int get thermalState { - return _lib._objc_msgSend_945(_id, _lib._sel_thermalState1); + return _lib._objc_msgSend_945(this.pointer, _lib._sel_thermalState1); } bool get lowPowerModeEnabled { - return _lib._objc_msgSend_12(_id, _lib._sel_isLowPowerModeEnabled1); + return _lib._objc_msgSend_12( + this.pointer, + _lib._sel_isLowPowerModeEnabled1, + ); } bool get macCatalystApp { - return _lib._objc_msgSend_12(_id, _lib._sel_isMacCatalystApp1); + return _lib._objc_msgSend_12(this.pointer, _lib._sel_isMacCatalystApp1); } bool get iOSAppOnMac { - return _lib._objc_msgSend_12(_id, _lib._sel_isiOSAppOnMac1); + return _lib._objc_msgSend_12(this.pointer, _lib._sel_isiOSAppOnMac1); } @override NSProcessInfo init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSProcessInfo._(_ret, _lib, retain: true, release: true); } static NSProcessInfo new1(SwiftLibrary _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSProcessInfo1, _lib._sel_new1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSProcessInfo1, + _lib._sel_new1, + ); return NSProcessInfo._(_ret, _lib, retain: false, release: true); } static NSProcessInfo allocWithZone_( - SwiftLibrary _lib, ffi.Pointer<_NSZone> zone) { + SwiftLibrary _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSProcessInfo1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSProcessInfo1, + _lib._sel_allocWithZone_1, + zone, + ); return NSProcessInfo._(_ret, _lib, retain: false, release: true); } static NSProcessInfo alloc(SwiftLibrary _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSProcessInfo1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSProcessInfo1, + _lib._sel_alloc1, + ); return NSProcessInfo._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + SwiftLibrary _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSProcessInfo1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSProcessInfo1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSProcessInfo1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + SwiftLibrary _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSProcessInfo1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { return _lib._objc_msgSend_12( - _lib._class_NSProcessInfo1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_NSProcessInfo1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(SwiftLibrary _lib) { return _lib._objc_msgSend_12( - _lib._class_NSProcessInfo1, _lib._sel_useStoredAccessor1); + _lib._class_NSProcessInfo1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSProcessInfo1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSProcessInfo1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSProcessInfo1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSProcessInfo1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, NSArray keys, NSString dependentKey) { + SwiftLibrary _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSProcessInfo1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSProcessInfo1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_85( - _lib._class_NSProcessInfo1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSProcessInfo1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSProcessInfo1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSProcessInfo1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } @@ -65097,34 +86848,49 @@ abstract class NSActivityOptions { } void _ObjCBlock_ffiVoid_bool_fnPtrTrampoline( - ffi.Pointer<_ObjCBlock> block, bool arg0) => - block.ref.target - .cast>() - .asFunction()(arg0); + ffi.Pointer block, + bool arg0, +) => block.ref.target + .cast>() + .asFunction()(arg0); final _ObjCBlock_ffiVoid_bool_closureRegistry = {}; int _ObjCBlock_ffiVoid_bool_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_ffiVoid_bool_registerClosure( - void Function(bool) fn) { + void Function(bool) fn, +) { final id = ++_ObjCBlock_ffiVoid_bool_closureRegistryIndex; _ObjCBlock_ffiVoid_bool_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } void _ObjCBlock_ffiVoid_bool_closureTrampoline( - ffi.Pointer<_ObjCBlock> block, bool arg0) => - _ObjCBlock_ffiVoid_bool_closureRegistry[block.ref.target.address]!(arg0); + ffi.Pointer block, + bool arg0, +) => _ObjCBlock_ffiVoid_bool_closureRegistry[block.ref.target.address]!(arg0); -class ObjCBlock_ffiVoid_bool extends _ObjCBlockBase { - ObjCBlock_ffiVoid_bool._(ffi.Pointer<_ObjCBlock> id, SwiftLibrary lib, - {bool retain = false, bool release = true}) - : super._(id, lib, retain: retain, release: release); +class ObjCBlock_ffiVoid_bool extends objc.ObjCBlockBase { + ObjCBlock_ffiVoid_bool._( + ffi.Pointer pointer, + this._lib, { + bool retain = false, + bool release = true, + }) : super(pointer, retain: retain, release: release); + + SwiftLibrary _lib; /// Returns a block that wraps the given raw block pointer. static ObjCBlock_ffiVoid_bool castFromPointer( - SwiftLibrary lib, ffi.Pointer<_ObjCBlock> pointer, - {bool retain = false, bool release = false}) { - return ObjCBlock_ffiVoid_bool._(pointer, lib, - retain: retain, release: release); + SwiftLibrary lib, + ffi.Pointer pointer, { + bool retain = false, + bool release = false, + }) { + return ObjCBlock_ffiVoid_bool._( + pointer, + lib, + retain: retain, + release: release, + ); } /// Creates a block from a C function pointer. @@ -65132,16 +86898,16 @@ class ObjCBlock_ffiVoid_bool extends _ObjCBlockBase { /// This block must be invoked by native code running on the same thread as /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. - ObjCBlock_ffiVoid_bool.fromFunctionPointer(SwiftLibrary lib, - ffi.Pointer> ptr) - : this._( - lib._newBlock1( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, - ffi.Bool)>(_ObjCBlock_ffiVoid_bool_fnPtrTrampoline) - .cast(), - ptr.cast()), - lib); + ObjCBlock_ffiVoid_bool.fromFunctionPointer( + SwiftLibrary lib, + ffi.Pointer> ptr, + ) : this._(objc.newBlock( + _cFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function(ffi.Pointer, ffi.Bool) + >(_ObjCBlock_ffiVoid_bool_fnPtrTrampoline).cast(), + ptr.cast(), + ), lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -65150,16 +86916,13 @@ class ObjCBlock_ffiVoid_bool extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_bool.fromFunction(SwiftLibrary lib, void Function(bool) fn) - : this._( - lib._newBlock1( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, ffi.Bool)>( - _ObjCBlock_ffiVoid_bool_closureTrampoline) - .cast(), - _ObjCBlock_ffiVoid_bool_registerClosure( - (bool arg0) => fn(arg0))), - lib); + : this._(objc.newBlock( + _dartFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function(ffi.Pointer, ffi.Bool) + >(_ObjCBlock_ffiVoid_bool_closureTrampoline).cast(), + _ObjCBlock_ffiVoid_bool_registerClosure((bool arg0) => fn(arg0)), + ), lib); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -65172,28 +86935,30 @@ class ObjCBlock_ffiVoid_bool extends _ObjCBlockBase { /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. ObjCBlock_ffiVoid_bool.listener(SwiftLibrary lib, void Function(bool) fn) - : this._( - lib._newBlock1( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, ffi.Bool)>.listener( - _ObjCBlock_ffiVoid_bool_closureTrampoline) - ..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_bool_registerClosure( - (bool arg0) => fn(arg0))), - lib); - static ffi - .NativeCallable, ffi.Bool)>? - _dartFuncListenerTrampoline; - - void call(bool arg0) => _id.ref.invoke + : this._(objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function(ffi.Pointer, ffi.Bool) + >.listener( + _ObjCBlock_ffiVoid_bool_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_bool_registerClosure((bool arg0) => fn(arg0)), + ), lib); + static ffi.NativeCallable< + ffi.Void Function(ffi.Pointer, ffi.Bool) + >? _dartFuncListenerTrampoline; + + void call(bool arg0) => pointer.ref.invoke .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock> block, ffi.Bool arg0)>>() - .asFunction, bool)>()(_id, arg0); + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer block, ffi.Bool arg0) + > + >() + .asFunction, bool)>()( + pointer, + arg0, + ); } abstract class NSProcessInfoThermalState { @@ -65204,387 +86969,538 @@ abstract class NSProcessInfoThermalState { } class NSTextCheckingResult extends NSObject { - NSTextCheckingResult._(ffi.Pointer id, SwiftLibrary lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSTextCheckingResult._( + ffi.Pointer pointer, + SwiftLibrary lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSTextCheckingResult] that points to the same underlying object as [other]. - static NSTextCheckingResult castFrom(T other) { - return NSTextCheckingResult._(other._id, other._lib, - retain: true, release: true); + static NSTextCheckingResult castFrom( + SwiftLibrary lib, + T other, + ) { + return NSTextCheckingResult._( + other.pointer, + lib, + retain: true, + release: true, + ); } /// Returns a [NSTextCheckingResult] that wraps the given raw object pointer. static NSTextCheckingResult castFromPointer( - SwiftLibrary lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + SwiftLibrary lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSTextCheckingResult._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSTextCheckingResult]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0(obj._id, obj._lib._sel_isKindOfClass_1, - obj._lib._class_NSTextCheckingResult1); + static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSTextCheckingResult1, + ); } int get resultType { - return _lib._objc_msgSend_946(_id, _lib._sel_resultType1); + return _lib._objc_msgSend_946(this.pointer, _lib._sel_resultType1); } void getRange(ffi.Pointer<_NSRange> stret) { - _lib._objc_msgSend_useVariants1 - ? _lib._objc_msgSend_54_stret(stret, _id, _lib._sel_range1) - : stret.ref = _lib._objc_msgSend_54(_id, _lib._sel_range1); + objc.useMsgSendVariants + ? _lib._objc_msgSend_54_stret(stret, this.pointer, _lib._sel_range1) + : stret.ref = _lib._objc_msgSend_54(this.pointer, _lib._sel_range1); } NSOrthography? get orthography { - final _ret = _lib._objc_msgSend_947(_id, _lib._sel_orthography1); + final _ret = _lib._objc_msgSend_947(this.pointer, _lib._sel_orthography1); return _ret.address == 0 ? null : NSOrthography._(_ret, _lib, retain: true, release: true); } NSArray? get grammarDetails { - final _ret = _lib._objc_msgSend_84(_id, _lib._sel_grammarDetails1); + final _ret = _lib._objc_msgSend_84(this.pointer, _lib._sel_grammarDetails1); return _ret.address == 0 ? null : NSArray._(_ret, _lib, retain: true, release: true); } NSDate? get date { - final _ret = _lib._objc_msgSend_183(_id, _lib._sel_date1); + final _ret = _lib._objc_msgSend_183(this.pointer, _lib._sel_date1); return _ret.address == 0 ? null : NSDate._(_ret, _lib, retain: true, release: true); } NSTimeZone? get timeZone { - final _ret = _lib._objc_msgSend_773(_id, _lib._sel_timeZone1); + final _ret = _lib._objc_msgSend_773(this.pointer, _lib._sel_timeZone1); return _ret.address == 0 ? null : NSTimeZone._(_ret, _lib, retain: true, release: true); } double get duration { - return _lib._objc_msgSend_useVariants1 - ? _lib._objc_msgSend_165_fpret(_id, _lib._sel_duration1) - : _lib._objc_msgSend_165(_id, _lib._sel_duration1); + return objc.useMsgSendVariants + ? _lib._objc_msgSend_165_fpret(this.pointer, _lib._sel_duration1) + : _lib._objc_msgSend_165(this.pointer, _lib._sel_duration1); } NSDictionary? get components { - final _ret = _lib._objc_msgSend_390(_id, _lib._sel_components1); + final _ret = _lib._objc_msgSend_390(this.pointer, _lib._sel_components1); return _ret.address == 0 ? null : NSDictionary._(_ret, _lib, retain: true, release: true); } NSURL? get URL { - final _ret = _lib._objc_msgSend_45(_id, _lib._sel_URL1); + final _ret = _lib._objc_msgSend_45(this.pointer, _lib._sel_URL1); return _ret.address == 0 ? null : NSURL._(_ret, _lib, retain: true, release: true); } NSString? get replacementString { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_replacementString1); + final _ret = _lib._objc_msgSend_44( + this.pointer, + _lib._sel_replacementString1, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } NSArray? get alternativeStrings { - final _ret = _lib._objc_msgSend_84(_id, _lib._sel_alternativeStrings1); + final _ret = _lib._objc_msgSend_84( + this.pointer, + _lib._sel_alternativeStrings1, + ); return _ret.address == 0 ? null : NSArray._(_ret, _lib, retain: true, release: true); } NSRegularExpression? get regularExpression { - final _ret = _lib._objc_msgSend_959(_id, _lib._sel_regularExpression1); + final _ret = _lib._objc_msgSend_959( + this.pointer, + _lib._sel_regularExpression1, + ); return _ret.address == 0 ? null : NSRegularExpression._(_ret, _lib, retain: true, release: true); } NSString? get phoneNumber { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_phoneNumber1); + final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_phoneNumber1); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } int get numberOfRanges { - return _lib._objc_msgSend_10(_id, _lib._sel_numberOfRanges1); + return _lib._objc_msgSend_10(this.pointer, _lib._sel_numberOfRanges1); } void rangeAtIndex_(ffi.Pointer<_NSRange> stret, int idx) { - _lib._objc_msgSend_useVariants1 + objc.useMsgSendVariants ? _lib._objc_msgSend_347_stret( - stret, _id, _lib._sel_rangeAtIndex_1, idx) - : stret.ref = - _lib._objc_msgSend_347(_id, _lib._sel_rangeAtIndex_1, idx); + stret, + this.pointer, + _lib._sel_rangeAtIndex_1, + idx, + ) + : stret.ref = _lib._objc_msgSend_347( + this.pointer, + _lib._sel_rangeAtIndex_1, + idx, + ); } void rangeWithName_(ffi.Pointer<_NSRange> stret, NSString name) { - _lib._objc_msgSend_useVariants1 + objc.useMsgSendVariants ? _lib._objc_msgSend_340_stret( - stret, _id, _lib._sel_rangeWithName_1, name._id) - : stret.ref = - _lib._objc_msgSend_340(_id, _lib._sel_rangeWithName_1, name._id); + stret, + this.pointer, + _lib._sel_rangeWithName_1, + name.pointer, + ) + : stret.ref = _lib._objc_msgSend_340( + this.pointer, + _lib._sel_rangeWithName_1, + name.pointer, + ); } NSTextCheckingResult resultByAdjustingRangesWithOffset_(int offset) { final _ret = _lib._objc_msgSend_960( - _id, _lib._sel_resultByAdjustingRangesWithOffset_1, offset); + this.pointer, + _lib._sel_resultByAdjustingRangesWithOffset_1, + offset, + ); return NSTextCheckingResult._(_ret, _lib, retain: true, release: true); } NSDictionary? get addressComponents { - final _ret = _lib._objc_msgSend_390(_id, _lib._sel_addressComponents1); + final _ret = _lib._objc_msgSend_390( + this.pointer, + _lib._sel_addressComponents1, + ); return _ret.address == 0 ? null : NSDictionary._(_ret, _lib, retain: true, release: true); } static NSTextCheckingResult orthographyCheckingResultWithRange_orthography_( - SwiftLibrary _lib, _NSRange range, NSOrthography orthography) { + SwiftLibrary _lib, + _NSRange range, + NSOrthography orthography, + ) { final _ret = _lib._objc_msgSend_961( - _lib._class_NSTextCheckingResult1, - _lib._sel_orthographyCheckingResultWithRange_orthography_1, - range, - orthography._id); + _lib._class_NSTextCheckingResult1, + _lib._sel_orthographyCheckingResultWithRange_orthography_1, + range, + orthography.pointer, + ); return NSTextCheckingResult._(_ret, _lib, retain: true, release: true); } static NSTextCheckingResult spellCheckingResultWithRange_( - SwiftLibrary _lib, _NSRange range) { - final _ret = _lib._objc_msgSend_962(_lib._class_NSTextCheckingResult1, - _lib._sel_spellCheckingResultWithRange_1, range); + SwiftLibrary _lib, + _NSRange range, + ) { + final _ret = _lib._objc_msgSend_962( + _lib._class_NSTextCheckingResult1, + _lib._sel_spellCheckingResultWithRange_1, + range, + ); return NSTextCheckingResult._(_ret, _lib, retain: true, release: true); } static NSTextCheckingResult grammarCheckingResultWithRange_details_( - SwiftLibrary _lib, _NSRange range, NSArray details) { - final _ret = _lib._objc_msgSend_963(_lib._class_NSTextCheckingResult1, - _lib._sel_grammarCheckingResultWithRange_details_1, range, details._id); + SwiftLibrary _lib, + _NSRange range, + NSArray details, + ) { + final _ret = _lib._objc_msgSend_963( + _lib._class_NSTextCheckingResult1, + _lib._sel_grammarCheckingResultWithRange_details_1, + range, + details.pointer, + ); return NSTextCheckingResult._(_ret, _lib, retain: true, release: true); } static NSTextCheckingResult dateCheckingResultWithRange_date_( - SwiftLibrary _lib, _NSRange range, NSDate date) { - final _ret = _lib._objc_msgSend_964(_lib._class_NSTextCheckingResult1, - _lib._sel_dateCheckingResultWithRange_date_1, range, date._id); + SwiftLibrary _lib, + _NSRange range, + NSDate date, + ) { + final _ret = _lib._objc_msgSend_964( + _lib._class_NSTextCheckingResult1, + _lib._sel_dateCheckingResultWithRange_date_1, + range, + date.pointer, + ); return NSTextCheckingResult._(_ret, _lib, retain: true, release: true); } static NSTextCheckingResult - dateCheckingResultWithRange_date_timeZone_duration_(SwiftLibrary _lib, - _NSRange range, NSDate date, NSTimeZone timeZone, double duration) { + dateCheckingResultWithRange_date_timeZone_duration_( + SwiftLibrary _lib, + _NSRange range, + NSDate date, + NSTimeZone timeZone, + double duration, + ) { final _ret = _lib._objc_msgSend_965( - _lib._class_NSTextCheckingResult1, - _lib._sel_dateCheckingResultWithRange_date_timeZone_duration_1, - range, - date._id, - timeZone._id, - duration); + _lib._class_NSTextCheckingResult1, + _lib._sel_dateCheckingResultWithRange_date_timeZone_duration_1, + range, + date.pointer, + timeZone.pointer, + duration, + ); return NSTextCheckingResult._(_ret, _lib, retain: true, release: true); } static NSTextCheckingResult addressCheckingResultWithRange_components_( - SwiftLibrary _lib, _NSRange range, NSDictionary components) { + SwiftLibrary _lib, + _NSRange range, + NSDictionary components, + ) { final _ret = _lib._objc_msgSend_966( - _lib._class_NSTextCheckingResult1, - _lib._sel_addressCheckingResultWithRange_components_1, - range, - components._id); + _lib._class_NSTextCheckingResult1, + _lib._sel_addressCheckingResultWithRange_components_1, + range, + components.pointer, + ); return NSTextCheckingResult._(_ret, _lib, retain: true, release: true); } static NSTextCheckingResult linkCheckingResultWithRange_URL_( - SwiftLibrary _lib, _NSRange range, NSURL url) { - final _ret = _lib._objc_msgSend_967(_lib._class_NSTextCheckingResult1, - _lib._sel_linkCheckingResultWithRange_URL_1, range, url._id); + SwiftLibrary _lib, + _NSRange range, + NSURL url, + ) { + final _ret = _lib._objc_msgSend_967( + _lib._class_NSTextCheckingResult1, + _lib._sel_linkCheckingResultWithRange_URL_1, + range, + url.pointer, + ); return NSTextCheckingResult._(_ret, _lib, retain: true, release: true); } static NSTextCheckingResult quoteCheckingResultWithRange_replacementString_( - SwiftLibrary _lib, _NSRange range, NSString replacementString) { + SwiftLibrary _lib, + _NSRange range, + NSString replacementString, + ) { final _ret = _lib._objc_msgSend_968( - _lib._class_NSTextCheckingResult1, - _lib._sel_quoteCheckingResultWithRange_replacementString_1, - range, - replacementString._id); + _lib._class_NSTextCheckingResult1, + _lib._sel_quoteCheckingResultWithRange_replacementString_1, + range, + replacementString.pointer, + ); return NSTextCheckingResult._(_ret, _lib, retain: true, release: true); } static NSTextCheckingResult dashCheckingResultWithRange_replacementString_( - SwiftLibrary _lib, _NSRange range, NSString replacementString) { + SwiftLibrary _lib, + _NSRange range, + NSString replacementString, + ) { final _ret = _lib._objc_msgSend_968( - _lib._class_NSTextCheckingResult1, - _lib._sel_dashCheckingResultWithRange_replacementString_1, - range, - replacementString._id); + _lib._class_NSTextCheckingResult1, + _lib._sel_dashCheckingResultWithRange_replacementString_1, + range, + replacementString.pointer, + ); return NSTextCheckingResult._(_ret, _lib, retain: true, release: true); } static NSTextCheckingResult - replacementCheckingResultWithRange_replacementString_( - SwiftLibrary _lib, _NSRange range, NSString replacementString) { + replacementCheckingResultWithRange_replacementString_( + SwiftLibrary _lib, + _NSRange range, + NSString replacementString, + ) { final _ret = _lib._objc_msgSend_968( - _lib._class_NSTextCheckingResult1, - _lib._sel_replacementCheckingResultWithRange_replacementString_1, - range, - replacementString._id); + _lib._class_NSTextCheckingResult1, + _lib._sel_replacementCheckingResultWithRange_replacementString_1, + range, + replacementString.pointer, + ); return NSTextCheckingResult._(_ret, _lib, retain: true, release: true); } static NSTextCheckingResult - correctionCheckingResultWithRange_replacementString_( - SwiftLibrary _lib, _NSRange range, NSString replacementString) { + correctionCheckingResultWithRange_replacementString_( + SwiftLibrary _lib, + _NSRange range, + NSString replacementString, + ) { final _ret = _lib._objc_msgSend_968( - _lib._class_NSTextCheckingResult1, - _lib._sel_correctionCheckingResultWithRange_replacementString_1, - range, - replacementString._id); + _lib._class_NSTextCheckingResult1, + _lib._sel_correctionCheckingResultWithRange_replacementString_1, + range, + replacementString.pointer, + ); return NSTextCheckingResult._(_ret, _lib, retain: true, release: true); } static NSTextCheckingResult - correctionCheckingResultWithRange_replacementString_alternativeStrings_( - SwiftLibrary _lib, - _NSRange range, - NSString replacementString, - NSArray alternativeStrings) { + correctionCheckingResultWithRange_replacementString_alternativeStrings_( + SwiftLibrary _lib, + _NSRange range, + NSString replacementString, + NSArray alternativeStrings, + ) { final _ret = _lib._objc_msgSend_969( - _lib._class_NSTextCheckingResult1, - _lib._sel_correctionCheckingResultWithRange_replacementString_alternativeStrings_1, - range, - replacementString._id, - alternativeStrings._id); + _lib._class_NSTextCheckingResult1, + _lib._sel_correctionCheckingResultWithRange_replacementString_alternativeStrings_1, + range, + replacementString.pointer, + alternativeStrings.pointer, + ); return NSTextCheckingResult._(_ret, _lib, retain: true, release: true); } static NSTextCheckingResult - regularExpressionCheckingResultWithRanges_count_regularExpression_( - SwiftLibrary _lib, - ffi.Pointer<_NSRange> ranges, - int count, - NSRegularExpression regularExpression) { + regularExpressionCheckingResultWithRanges_count_regularExpression_( + SwiftLibrary _lib, + ffi.Pointer<_NSRange> ranges, + int count, + NSRegularExpression regularExpression, + ) { final _ret = _lib._objc_msgSend_970( - _lib._class_NSTextCheckingResult1, - _lib._sel_regularExpressionCheckingResultWithRanges_count_regularExpression_1, - ranges, - count, - regularExpression._id); + _lib._class_NSTextCheckingResult1, + _lib._sel_regularExpressionCheckingResultWithRanges_count_regularExpression_1, + ranges, + count, + regularExpression.pointer, + ); return NSTextCheckingResult._(_ret, _lib, retain: true, release: true); } static NSTextCheckingResult phoneNumberCheckingResultWithRange_phoneNumber_( - SwiftLibrary _lib, _NSRange range, NSString phoneNumber) { + SwiftLibrary _lib, + _NSRange range, + NSString phoneNumber, + ) { final _ret = _lib._objc_msgSend_968( - _lib._class_NSTextCheckingResult1, - _lib._sel_phoneNumberCheckingResultWithRange_phoneNumber_1, - range, - phoneNumber._id); + _lib._class_NSTextCheckingResult1, + _lib._sel_phoneNumberCheckingResultWithRange_phoneNumber_1, + range, + phoneNumber.pointer, + ); return NSTextCheckingResult._(_ret, _lib, retain: true, release: true); } static NSTextCheckingResult - transitInformationCheckingResultWithRange_components_( - SwiftLibrary _lib, _NSRange range, NSDictionary components) { + transitInformationCheckingResultWithRange_components_( + SwiftLibrary _lib, + _NSRange range, + NSDictionary components, + ) { final _ret = _lib._objc_msgSend_966( - _lib._class_NSTextCheckingResult1, - _lib._sel_transitInformationCheckingResultWithRange_components_1, - range, - components._id); + _lib._class_NSTextCheckingResult1, + _lib._sel_transitInformationCheckingResultWithRange_components_1, + range, + components.pointer, + ); return NSTextCheckingResult._(_ret, _lib, retain: true, release: true); } @override NSTextCheckingResult init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSTextCheckingResult._(_ret, _lib, retain: true, release: true); } static NSTextCheckingResult new1(SwiftLibrary _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSTextCheckingResult1, _lib._sel_new1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSTextCheckingResult1, + _lib._sel_new1, + ); return NSTextCheckingResult._(_ret, _lib, retain: false, release: true); } static NSTextCheckingResult allocWithZone_( - SwiftLibrary _lib, ffi.Pointer<_NSZone> zone) { + SwiftLibrary _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSTextCheckingResult1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSTextCheckingResult1, + _lib._sel_allocWithZone_1, + zone, + ); return NSTextCheckingResult._(_ret, _lib, retain: false, release: true); } static NSTextCheckingResult alloc(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSTextCheckingResult1, _lib._sel_alloc1); + _lib._class_NSTextCheckingResult1, + _lib._sel_alloc1, + ); return NSTextCheckingResult._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + SwiftLibrary _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSTextCheckingResult1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSTextCheckingResult1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSTextCheckingResult1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + SwiftLibrary _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSTextCheckingResult1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { - return _lib._objc_msgSend_12(_lib._class_NSTextCheckingResult1, - _lib._sel_accessInstanceVariablesDirectly1); + return _lib._objc_msgSend_12( + _lib._class_NSTextCheckingResult1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(SwiftLibrary _lib) { return _lib._objc_msgSend_12( - _lib._class_NSTextCheckingResult1, _lib._sel_useStoredAccessor1); + _lib._class_NSTextCheckingResult1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSTextCheckingResult1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSTextCheckingResult1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSTextCheckingResult1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSTextCheckingResult1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, NSArray keys, NSString dependentKey) { + SwiftLibrary _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSTextCheckingResult1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSTextCheckingResult1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_85(_lib._class_NSTextCheckingResult1, - _lib._sel_classFallbacksForKeyedArchiver1); + final _ret = _lib._objc_msgSend_85( + _lib._class_NSTextCheckingResult1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSTextCheckingResult1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSTextCheckingResult1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } @@ -65606,265 +87522,376 @@ abstract class NSTextCheckingType { } class NSRegularExpression extends NSObject { - NSRegularExpression._(ffi.Pointer id, SwiftLibrary lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSRegularExpression._( + ffi.Pointer pointer, + SwiftLibrary lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSRegularExpression] that points to the same underlying object as [other]. - static NSRegularExpression castFrom(T other) { - return NSRegularExpression._(other._id, other._lib, - retain: true, release: true); + static NSRegularExpression castFrom( + SwiftLibrary lib, + T other, + ) { + return NSRegularExpression._( + other.pointer, + lib, + retain: true, + release: true, + ); } /// Returns a [NSRegularExpression] that wraps the given raw object pointer. static NSRegularExpression castFromPointer( - SwiftLibrary lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + SwiftLibrary lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSRegularExpression._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSRegularExpression]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0(obj._id, obj._lib._sel_isKindOfClass_1, - obj._lib._class_NSRegularExpression1); + static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSRegularExpression1, + ); } static NSRegularExpression? regularExpressionWithPattern_options_error_( - SwiftLibrary _lib, - NSString pattern, - int options, - ffi.Pointer> error) { + SwiftLibrary _lib, + NSString pattern, + int options, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_948( - _lib._class_NSRegularExpression1, - _lib._sel_regularExpressionWithPattern_options_error_1, - pattern._id, - options, - error); + _lib._class_NSRegularExpression1, + _lib._sel_regularExpressionWithPattern_options_error_1, + pattern.pointer, + options, + error, + ); return _ret.address == 0 ? null : NSRegularExpression._(_ret, _lib, retain: true, release: true); } - NSRegularExpression? initWithPattern_options_error_(NSString pattern, - int options, ffi.Pointer> error) { - final _ret = _lib._objc_msgSend_949(_id, - _lib._sel_initWithPattern_options_error_1, pattern._id, options, error); + NSRegularExpression? initWithPattern_options_error_( + NSString pattern, + int options, + ffi.Pointer> error, + ) { + final _ret = _lib._objc_msgSend_949( + this.pointer, + _lib._sel_initWithPattern_options_error_1, + pattern.pointer, + options, + error, + ); return _ret.address == 0 ? null : NSRegularExpression._(_ret, _lib, retain: true, release: true); } NSString get pattern { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_pattern1); + final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_pattern1); return NSString._(_ret, _lib, retain: true, release: true); } int get options { - return _lib._objc_msgSend_950(_id, _lib._sel_options1); + return _lib._objc_msgSend_950(this.pointer, _lib._sel_options1); } int get numberOfCaptureGroups { - return _lib._objc_msgSend_10(_id, _lib._sel_numberOfCaptureGroups1); + return _lib._objc_msgSend_10( + this.pointer, + _lib._sel_numberOfCaptureGroups1, + ); } static NSString escapedPatternForString_(SwiftLibrary _lib, NSString string) { - final _ret = _lib._objc_msgSend_69(_lib._class_NSRegularExpression1, - _lib._sel_escapedPatternForString_1, string._id); + final _ret = _lib._objc_msgSend_69( + _lib._class_NSRegularExpression1, + _lib._sel_escapedPatternForString_1, + string.pointer, + ); return NSString._(_ret, _lib, retain: true, release: true); } void enumerateMatchesInString_options_range_usingBlock_( - NSString string, - int options, - _NSRange range, - ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool block) { + NSString string, + int options, + _NSRange range, + ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool block, + ) { _lib._objc_msgSend_951( - _id, - _lib._sel_enumerateMatchesInString_options_range_usingBlock_1, - string._id, - options, - range, - block._id); + this.pointer, + _lib._sel_enumerateMatchesInString_options_range_usingBlock_1, + string.pointer, + options, + range, + block.pointer, + ); } NSArray matchesInString_options_range_( - NSString string, int options, _NSRange range) { - final _ret = _lib._objc_msgSend_952(_id, - _lib._sel_matchesInString_options_range_1, string._id, options, range); + NSString string, + int options, + _NSRange range, + ) { + final _ret = _lib._objc_msgSend_952( + this.pointer, + _lib._sel_matchesInString_options_range_1, + string.pointer, + options, + range, + ); return NSArray._(_ret, _lib, retain: true, release: true); } int numberOfMatchesInString_options_range_( - NSString string, int options, _NSRange range) { + NSString string, + int options, + _NSRange range, + ) { return _lib._objc_msgSend_953( - _id, - _lib._sel_numberOfMatchesInString_options_range_1, - string._id, - options, - range); + this.pointer, + _lib._sel_numberOfMatchesInString_options_range_1, + string.pointer, + options, + range, + ); } NSTextCheckingResult? firstMatchInString_options_range_( - NSString string, int options, _NSRange range) { + NSString string, + int options, + _NSRange range, + ) { final _ret = _lib._objc_msgSend_954( - _id, - _lib._sel_firstMatchInString_options_range_1, - string._id, - options, - range); + this.pointer, + _lib._sel_firstMatchInString_options_range_1, + string.pointer, + options, + range, + ); return _ret.address == 0 ? null : NSTextCheckingResult._(_ret, _lib, retain: true, release: true); } - void rangeOfFirstMatchInString_options_range_(ffi.Pointer<_NSRange> stret, - NSString string, int options, _NSRange range) { - _lib._objc_msgSend_useVariants1 + void rangeOfFirstMatchInString_options_range_( + ffi.Pointer<_NSRange> stret, + NSString string, + int options, + _NSRange range, + ) { + objc.useMsgSendVariants ? _lib._objc_msgSend_955_stret( - stret, - _id, - _lib._sel_rangeOfFirstMatchInString_options_range_1, - string._id, - options, - range) + stret, + this.pointer, + _lib._sel_rangeOfFirstMatchInString_options_range_1, + string.pointer, + options, + range, + ) : stret.ref = _lib._objc_msgSend_955( - _id, - _lib._sel_rangeOfFirstMatchInString_options_range_1, - string._id, - options, - range); + this.pointer, + _lib._sel_rangeOfFirstMatchInString_options_range_1, + string.pointer, + options, + range, + ); } NSString stringByReplacingMatchesInString_options_range_withTemplate_( - NSString string, int options, _NSRange range, NSString templ) { + NSString string, + int options, + _NSRange range, + NSString templ, + ) { final _ret = _lib._objc_msgSend_956( - _id, - _lib._sel_stringByReplacingMatchesInString_options_range_withTemplate_1, - string._id, - options, - range, - templ._id); + this.pointer, + _lib._sel_stringByReplacingMatchesInString_options_range_withTemplate_1, + string.pointer, + options, + range, + templ.pointer, + ); return NSString._(_ret, _lib, retain: true, release: true); } int replaceMatchesInString_options_range_withTemplate_( - NSMutableString string, int options, _NSRange range, NSString templ) { + NSMutableString string, + int options, + _NSRange range, + NSString templ, + ) { return _lib._objc_msgSend_957( - _id, - _lib._sel_replaceMatchesInString_options_range_withTemplate_1, - string._id, - options, - range, - templ._id); + this.pointer, + _lib._sel_replaceMatchesInString_options_range_withTemplate_1, + string.pointer, + options, + range, + templ.pointer, + ); } NSString replacementStringForResult_inString_offset_template_( - NSTextCheckingResult result, - NSString string, - int offset, - NSString templ) { + NSTextCheckingResult result, + NSString string, + int offset, + NSString templ, + ) { final _ret = _lib._objc_msgSend_958( - _id, - _lib._sel_replacementStringForResult_inString_offset_template_1, - result._id, - string._id, - offset, - templ._id); + this.pointer, + _lib._sel_replacementStringForResult_inString_offset_template_1, + result.pointer, + string.pointer, + offset, + templ.pointer, + ); return NSString._(_ret, _lib, retain: true, release: true); } static NSString escapedTemplateForString_( - SwiftLibrary _lib, NSString string) { - final _ret = _lib._objc_msgSend_69(_lib._class_NSRegularExpression1, - _lib._sel_escapedTemplateForString_1, string._id); + SwiftLibrary _lib, + NSString string, + ) { + final _ret = _lib._objc_msgSend_69( + _lib._class_NSRegularExpression1, + _lib._sel_escapedTemplateForString_1, + string.pointer, + ); return NSString._(_ret, _lib, retain: true, release: true); } @override NSRegularExpression init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSRegularExpression._(_ret, _lib, retain: true, release: true); } static NSRegularExpression new1(SwiftLibrary _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSRegularExpression1, _lib._sel_new1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSRegularExpression1, + _lib._sel_new1, + ); return NSRegularExpression._(_ret, _lib, retain: false, release: true); } static NSRegularExpression allocWithZone_( - SwiftLibrary _lib, ffi.Pointer<_NSZone> zone) { + SwiftLibrary _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSRegularExpression1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSRegularExpression1, + _lib._sel_allocWithZone_1, + zone, + ); return NSRegularExpression._(_ret, _lib, retain: false, release: true); } static NSRegularExpression alloc(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSRegularExpression1, _lib._sel_alloc1); + _lib._class_NSRegularExpression1, + _lib._sel_alloc1, + ); return NSRegularExpression._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + SwiftLibrary _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSRegularExpression1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSRegularExpression1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSRegularExpression1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + SwiftLibrary _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSRegularExpression1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { - return _lib._objc_msgSend_12(_lib._class_NSRegularExpression1, - _lib._sel_accessInstanceVariablesDirectly1); + return _lib._objc_msgSend_12( + _lib._class_NSRegularExpression1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(SwiftLibrary _lib) { return _lib._objc_msgSend_12( - _lib._class_NSRegularExpression1, _lib._sel_useStoredAccessor1); + _lib._class_NSRegularExpression1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSRegularExpression1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSRegularExpression1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSRegularExpression1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSRegularExpression1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, NSArray keys, NSString dependentKey) { + SwiftLibrary _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSRegularExpression1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSRegularExpression1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_85(_lib._class_NSRegularExpression1, - _lib._sel_classFallbacksForKeyedArchiver1); + final _ret = _lib._objc_msgSend_85( + _lib._class_NSRegularExpression1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSRegularExpression1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSRegularExpression1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } @@ -65888,55 +87915,80 @@ abstract class NSMatchingOptions { } void - _ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool_fnPtrTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - int arg1, - ffi.Pointer arg2) => - block.ref.target - .cast< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer arg0, - ffi.Int32 arg1, ffi.Pointer arg2)>>() - .asFunction< - void Function(ffi.Pointer, int, - ffi.Pointer)>()(arg0, arg1, arg2); +_ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool_fnPtrTrampoline( + ffi.Pointer block, + ffi.Pointer arg0, + int arg1, + ffi.Pointer arg2, +) => block.ref.target + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Int32 arg1, + ffi.Pointer arg2, + ) + > + >() + .asFunction< + void Function(ffi.Pointer, int, ffi.Pointer) + >()(arg0, arg1, arg2); final _ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool_closureRegistry = - , int, ffi.Pointer)>{}; -int _ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool_closureRegistryIndex = + < + int, + void Function(ffi.Pointer, int, ffi.Pointer) + >{}; +int +_ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool_closureRegistryIndex = 0; ffi.Pointer - _ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool_registerClosure( - void Function(ffi.Pointer, int, ffi.Pointer) fn) { +_ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool_registerClosure( + void Function(ffi.Pointer, int, ffi.Pointer) fn, +) { final id = ++_ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool_closureRegistryIndex; - _ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool_closureRegistry[ - id] = fn; + _ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool_closureRegistry[id] = + fn; return ffi.Pointer.fromAddress(id); } -void _ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool_closureTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - int arg1, - ffi.Pointer arg2) => - _ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool_closureRegistry[ - block.ref.target.address]!(arg0, arg1, arg2); +void +_ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool_closureTrampoline( + ffi.Pointer block, + ffi.Pointer arg0, + int arg1, + ffi.Pointer arg2, +) => + _ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool_closureRegistry[block + .ref + .target + .address]!(arg0, arg1, arg2); class ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool - extends _ObjCBlockBase { + extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool._( - ffi.Pointer<_ObjCBlock> id, SwiftLibrary lib, - {bool retain = false, bool release = true}) - : super._(id, lib, retain: retain, release: release); + ffi.Pointer pointer, + this._lib, { + bool retain = false, + bool release = true, + }) : super(pointer, retain: retain, release: release); + + SwiftLibrary _lib; /// Returns a block that wraps the given raw block pointer. static ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool - castFromPointer(SwiftLibrary lib, ffi.Pointer<_ObjCBlock> pointer, - {bool retain = false, bool release = false}) { + castFromPointer( + SwiftLibrary lib, + ffi.Pointer pointer, { + bool retain = false, + bool release = false, + }) { return ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool._( - pointer, lib, - retain: retain, release: release); + pointer, + lib, + retain: retain, + release: release, + ); } /// Creates a block from a C function pointer. @@ -65945,24 +87997,30 @@ class ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool.fromFunctionPointer( - SwiftLibrary lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer arg0, - ffi.Int32 arg1, ffi.Pointer arg2)>> - ptr) - : this._( - lib._newBlock1( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Int32, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool_fnPtrTrampoline) - .cast(), - ptr.cast()), - lib); + SwiftLibrary lib, + ffi.Pointer< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Int32 arg1, + ffi.Pointer arg2, + ) + > + > ptr, + ) : this._(objc.newBlock( + _cFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ) + >( + _ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool_fnPtrTrampoline, + ).cast(), + ptr.cast(), + ), lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -65971,23 +88029,39 @@ class ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool.fromFunction( - SwiftLibrary lib, - void Function(NSTextCheckingResult?, int, ffi.Pointer) fn) - : this._( - lib._newBlock1( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Int32, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool_closureTrampoline) - .cast(), - _ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool_registerClosure( - (ffi.Pointer arg0, int arg1, - ffi.Pointer arg2) => - fn(arg0.address == 0 ? null : NSTextCheckingResult._(arg0, lib, retain: true, release: true), arg1, arg2))), - lib); + SwiftLibrary lib, + void Function(NSTextCheckingResult?, int, ffi.Pointer) fn, + ) : this._(objc.newBlock( + _dartFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ) + >( + _ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool_closureTrampoline, + ).cast(), + _ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool_registerClosure( + ( + ffi.Pointer arg0, + int arg1, + ffi.Pointer arg2, + ) => fn( + arg0.address == 0 + ? null + : NSTextCheckingResult._( + arg0, + lib, + retain: true, + release: true, + ), + arg1, + arg2, + ), + ), + ), lib); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -66000,42 +88074,72 @@ class ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool.listener( - SwiftLibrary lib, - void Function(NSTextCheckingResult?, int, ffi.Pointer) fn) - : this._( - lib._newBlock1( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Int32, - ffi.Pointer)>.listener( - _ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool_closureTrampoline) - ..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool_registerClosure( - (ffi.Pointer arg0, int arg1, - ffi.Pointer arg2) => - fn(arg0.address == 0 ? null : NSTextCheckingResult._(arg0, lib, retain: true, release: true), arg1, arg2))), - lib); + SwiftLibrary lib, + void Function(NSTextCheckingResult?, int, ffi.Pointer) fn, + ) : this._(objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ) + >.listener( + _ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool_registerClosure( + ( + ffi.Pointer arg0, + int arg1, + ffi.Pointer arg2, + ) => fn( + arg0.address == 0 + ? null + : NSTextCheckingResult._( + arg0, + lib, + retain: true, + release: true, + ), + arg1, + arg2, + ), + ), + ), lib); static ffi.NativeCallable< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer, - ffi.Int32, ffi.Pointer)>? _dartFuncListenerTrampoline; - - void call(NSTextCheckingResult? arg0, int arg1, ffi.Pointer arg2) => - _id.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Int32 arg1, - ffi.Pointer arg2)>>() - .asFunction< - void Function(ffi.Pointer<_ObjCBlock>, - ffi.Pointer, int, ffi.Pointer)>()( - _id, arg0?._id ?? ffi.nullptr, arg1, arg2); + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ) + >? _dartFuncListenerTrampoline; + + void call( + NSTextCheckingResult? arg0, + int arg1, + ffi.Pointer arg2, + ) => pointer.ref.invoke + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Int32 arg1, + ffi.Pointer arg2, + ) + > + >() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ) + >()(pointer, arg0?.pointer ?? ffi.nullptr, arg1, arg2); } abstract class NSMatchingFlags { @@ -66047,137 +88151,196 @@ abstract class NSMatchingFlags { } class NSURLCache extends NSObject { - NSURLCache._(ffi.Pointer id, SwiftLibrary lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSURLCache._( + ffi.Pointer pointer, + SwiftLibrary lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSURLCache] that points to the same underlying object as [other]. - static NSURLCache castFrom(T other) { - return NSURLCache._(other._id, other._lib, retain: true, release: true); + static NSURLCache castFrom( + SwiftLibrary lib, + T other, + ) { + return NSURLCache._(other.pointer, lib, retain: true, release: true); } /// Returns a [NSURLCache] that wraps the given raw object pointer. static NSURLCache castFromPointer( - SwiftLibrary lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + SwiftLibrary lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSURLCache._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSURLCache]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_NSURLCache1); + static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSURLCache1, + ); } static NSURLCache getSharedURLCache(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_971( - _lib._class_NSURLCache1, _lib._sel_sharedURLCache1); + _lib._class_NSURLCache1, + _lib._sel_sharedURLCache1, + ); return NSURLCache._(_ret, _lib, retain: true, release: true); } static void setSharedURLCache(SwiftLibrary _lib, NSURLCache value) { return _lib._objc_msgSend_972( - _lib._class_NSURLCache1, _lib._sel_setSharedURLCache_1, value._id); + _lib._class_NSURLCache1, + _lib._sel_setSharedURLCache_1, + value.pointer, + ); } NSURLCache initWithMemoryCapacity_diskCapacity_diskPath_( - int memoryCapacity, int diskCapacity, NSString? path) { + int memoryCapacity, + int diskCapacity, + NSString? path, + ) { final _ret = _lib._objc_msgSend_973( - _id, - _lib._sel_initWithMemoryCapacity_diskCapacity_diskPath_1, - memoryCapacity, - diskCapacity, - path?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_initWithMemoryCapacity_diskCapacity_diskPath_1, + memoryCapacity, + diskCapacity, + path?.pointer ?? ffi.nullptr, + ); return NSURLCache._(_ret, _lib, retain: true, release: true); } NSURLCache initWithMemoryCapacity_diskCapacity_directoryURL_( - int memoryCapacity, int diskCapacity, NSURL? directoryURL) { + int memoryCapacity, + int diskCapacity, + NSURL? directoryURL, + ) { final _ret = _lib._objc_msgSend_974( - _id, - _lib._sel_initWithMemoryCapacity_diskCapacity_directoryURL_1, - memoryCapacity, - diskCapacity, - directoryURL?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_initWithMemoryCapacity_diskCapacity_directoryURL_1, + memoryCapacity, + diskCapacity, + directoryURL?.pointer ?? ffi.nullptr, + ); return NSURLCache._(_ret, _lib, retain: true, release: true); } NSCachedURLResponse? cachedResponseForRequest_(NSURLRequest request) { final _ret = _lib._objc_msgSend_979( - _id, _lib._sel_cachedResponseForRequest_1, request._id); + this.pointer, + _lib._sel_cachedResponseForRequest_1, + request.pointer, + ); return _ret.address == 0 ? null : NSCachedURLResponse._(_ret, _lib, retain: true, release: true); } void storeCachedResponse_forRequest_( - NSCachedURLResponse cachedResponse, NSURLRequest request) { - _lib._objc_msgSend_980(_id, _lib._sel_storeCachedResponse_forRequest_1, - cachedResponse._id, request._id); + NSCachedURLResponse cachedResponse, + NSURLRequest request, + ) { + _lib._objc_msgSend_980( + this.pointer, + _lib._sel_storeCachedResponse_forRequest_1, + cachedResponse.pointer, + request.pointer, + ); } void removeCachedResponseForRequest_(NSURLRequest request) { _lib._objc_msgSend_981( - _id, _lib._sel_removeCachedResponseForRequest_1, request._id); + this.pointer, + _lib._sel_removeCachedResponseForRequest_1, + request.pointer, + ); } void removeAllCachedResponses() { - _lib._objc_msgSend_1(_id, _lib._sel_removeAllCachedResponses1); + _lib._objc_msgSend_1(this.pointer, _lib._sel_removeAllCachedResponses1); } void removeCachedResponsesSinceDate_(NSDate date) { _lib._objc_msgSend_540( - _id, _lib._sel_removeCachedResponsesSinceDate_1, date._id); + this.pointer, + _lib._sel_removeCachedResponsesSinceDate_1, + date.pointer, + ); } int get memoryCapacity { - return _lib._objc_msgSend_10(_id, _lib._sel_memoryCapacity1); + return _lib._objc_msgSend_10(this.pointer, _lib._sel_memoryCapacity1); } set memoryCapacity(int value) { - return _lib._objc_msgSend_516(_id, _lib._sel_setMemoryCapacity_1, value); + return _lib._objc_msgSend_516( + this.pointer, + _lib._sel_setMemoryCapacity_1, + value, + ); } int get diskCapacity { - return _lib._objc_msgSend_10(_id, _lib._sel_diskCapacity1); + return _lib._objc_msgSend_10(this.pointer, _lib._sel_diskCapacity1); } set diskCapacity(int value) { - return _lib._objc_msgSend_516(_id, _lib._sel_setDiskCapacity_1, value); + return _lib._objc_msgSend_516( + this.pointer, + _lib._sel_setDiskCapacity_1, + value, + ); } int get currentMemoryUsage { - return _lib._objc_msgSend_10(_id, _lib._sel_currentMemoryUsage1); + return _lib._objc_msgSend_10(this.pointer, _lib._sel_currentMemoryUsage1); } int get currentDiskUsage { - return _lib._objc_msgSend_10(_id, _lib._sel_currentDiskUsage1); + return _lib._objc_msgSend_10(this.pointer, _lib._sel_currentDiskUsage1); } void storeCachedResponse_forDataTask_( - NSCachedURLResponse cachedResponse, NSURLSessionDataTask dataTask) { - _lib._objc_msgSend_982(_id, _lib._sel_storeCachedResponse_forDataTask_1, - cachedResponse._id, dataTask._id); + NSCachedURLResponse cachedResponse, + NSURLSessionDataTask dataTask, + ) { + _lib._objc_msgSend_982( + this.pointer, + _lib._sel_storeCachedResponse_forDataTask_1, + cachedResponse.pointer, + dataTask.pointer, + ); } void getCachedResponseForDataTask_completionHandler_( - NSURLSessionDataTask dataTask, - ObjCBlock_ffiVoid_NSCachedURLResponse completionHandler) { + NSURLSessionDataTask dataTask, + ObjCBlock_ffiVoid_NSCachedURLResponse completionHandler, + ) { _lib._objc_msgSend_983( - _id, - _lib._sel_getCachedResponseForDataTask_completionHandler_1, - dataTask._id, - completionHandler._id); + this.pointer, + _lib._sel_getCachedResponseForDataTask_completionHandler_1, + dataTask.pointer, + completionHandler.pointer, + ); } void removeCachedResponseForDataTask_(NSURLSessionDataTask dataTask) { _lib._objc_msgSend_984( - _id, _lib._sel_removeCachedResponseForDataTask_1, dataTask._id); + this.pointer, + _lib._sel_removeCachedResponseForDataTask_1, + dataTask.pointer, + ); } @override NSURLCache init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSURLCache._(_ret, _lib, retain: true, release: true); } @@ -66187,234 +88350,332 @@ class NSURLCache extends NSObject { } static NSURLCache allocWithZone_( - SwiftLibrary _lib, ffi.Pointer<_NSZone> zone) { + SwiftLibrary _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSURLCache1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSURLCache1, + _lib._sel_allocWithZone_1, + zone, + ); return NSURLCache._(_ret, _lib, retain: false, release: true); } static NSURLCache alloc(SwiftLibrary _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSURLCache1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSURLCache1, + _lib._sel_alloc1, + ); return NSURLCache._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + SwiftLibrary _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSURLCache1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSURLCache1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSURLCache1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + SwiftLibrary _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSURLCache1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { return _lib._objc_msgSend_12( - _lib._class_NSURLCache1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_NSURLCache1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(SwiftLibrary _lib) { return _lib._objc_msgSend_12( - _lib._class_NSURLCache1, _lib._sel_useStoredAccessor1); + _lib._class_NSURLCache1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSURLCache1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSURLCache1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSURLCache1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSURLCache1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, NSArray keys, NSString dependentKey) { + SwiftLibrary _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSURLCache1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSURLCache1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_85( - _lib._class_NSURLCache1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSURLCache1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLCache1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSURLCache1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } class NSCachedURLResponse extends NSObject { - NSCachedURLResponse._(ffi.Pointer id, SwiftLibrary lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSCachedURLResponse._( + ffi.Pointer pointer, + SwiftLibrary lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSCachedURLResponse] that points to the same underlying object as [other]. - static NSCachedURLResponse castFrom(T other) { - return NSCachedURLResponse._(other._id, other._lib, - retain: true, release: true); + static NSCachedURLResponse castFrom( + SwiftLibrary lib, + T other, + ) { + return NSCachedURLResponse._( + other.pointer, + lib, + retain: true, + release: true, + ); } /// Returns a [NSCachedURLResponse] that wraps the given raw object pointer. static NSCachedURLResponse castFromPointer( - SwiftLibrary lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + SwiftLibrary lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSCachedURLResponse._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSCachedURLResponse]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0(obj._id, obj._lib._sel_isKindOfClass_1, - obj._lib._class_NSCachedURLResponse1); + static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSCachedURLResponse1, + ); } NSCachedURLResponse initWithResponse_data_( - NSURLResponse response, NSData data) { + NSURLResponse response, + NSData data, + ) { final _ret = _lib._objc_msgSend_975( - _id, _lib._sel_initWithResponse_data_1, response._id, data._id); + this.pointer, + _lib._sel_initWithResponse_data_1, + response.pointer, + data.pointer, + ); return NSCachedURLResponse._(_ret, _lib, retain: true, release: true); } NSCachedURLResponse initWithResponse_data_userInfo_storagePolicy_( - NSURLResponse response, - NSData data, - NSDictionary? userInfo, - int storagePolicy) { + NSURLResponse response, + NSData data, + NSDictionary? userInfo, + int storagePolicy, + ) { final _ret = _lib._objc_msgSend_976( - _id, - _lib._sel_initWithResponse_data_userInfo_storagePolicy_1, - response._id, - data._id, - userInfo?._id ?? ffi.nullptr, - storagePolicy); + this.pointer, + _lib._sel_initWithResponse_data_userInfo_storagePolicy_1, + response.pointer, + data.pointer, + userInfo?.pointer ?? ffi.nullptr, + storagePolicy, + ); return NSCachedURLResponse._(_ret, _lib, retain: true, release: true); } NSURLResponse get response { - final _ret = _lib._objc_msgSend_977(_id, _lib._sel_response1); + final _ret = _lib._objc_msgSend_977(this.pointer, _lib._sel_response1); return NSURLResponse._(_ret, _lib, retain: true, release: true); } NSData get data { - final _ret = _lib._objc_msgSend_43(_id, _lib._sel_data1); + final _ret = _lib._objc_msgSend_43(this.pointer, _lib._sel_data1); return NSData._(_ret, _lib, retain: true, release: true); } NSDictionary? get userInfo { - final _ret = _lib._objc_msgSend_390(_id, _lib._sel_userInfo1); + final _ret = _lib._objc_msgSend_390(this.pointer, _lib._sel_userInfo1); return _ret.address == 0 ? null : NSDictionary._(_ret, _lib, retain: true, release: true); } int get storagePolicy { - return _lib._objc_msgSend_978(_id, _lib._sel_storagePolicy1); + return _lib._objc_msgSend_978(this.pointer, _lib._sel_storagePolicy1); } @override NSCachedURLResponse init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSCachedURLResponse._(_ret, _lib, retain: true, release: true); } static NSCachedURLResponse new1(SwiftLibrary _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSCachedURLResponse1, _lib._sel_new1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSCachedURLResponse1, + _lib._sel_new1, + ); return NSCachedURLResponse._(_ret, _lib, retain: false, release: true); } static NSCachedURLResponse allocWithZone_( - SwiftLibrary _lib, ffi.Pointer<_NSZone> zone) { + SwiftLibrary _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSCachedURLResponse1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSCachedURLResponse1, + _lib._sel_allocWithZone_1, + zone, + ); return NSCachedURLResponse._(_ret, _lib, retain: false, release: true); } static NSCachedURLResponse alloc(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSCachedURLResponse1, _lib._sel_alloc1); + _lib._class_NSCachedURLResponse1, + _lib._sel_alloc1, + ); return NSCachedURLResponse._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + SwiftLibrary _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSCachedURLResponse1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSCachedURLResponse1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSCachedURLResponse1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + SwiftLibrary _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSCachedURLResponse1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { - return _lib._objc_msgSend_12(_lib._class_NSCachedURLResponse1, - _lib._sel_accessInstanceVariablesDirectly1); + return _lib._objc_msgSend_12( + _lib._class_NSCachedURLResponse1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(SwiftLibrary _lib) { return _lib._objc_msgSend_12( - _lib._class_NSCachedURLResponse1, _lib._sel_useStoredAccessor1); + _lib._class_NSCachedURLResponse1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSCachedURLResponse1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSCachedURLResponse1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSCachedURLResponse1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSCachedURLResponse1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, NSArray keys, NSString dependentKey) { + SwiftLibrary _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSCachedURLResponse1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSCachedURLResponse1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_85(_lib._class_NSCachedURLResponse1, - _lib._sel_classFallbacksForKeyedArchiver1); + final _ret = _lib._objc_msgSend_85( + _lib._class_NSCachedURLResponse1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSCachedURLResponse1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSCachedURLResponse1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } @@ -66426,152 +88687,222 @@ abstract class NSURLCacheStoragePolicy { } class NSURLSessionDataTask extends NSURLSessionTask { - NSURLSessionDataTask._(ffi.Pointer id, SwiftLibrary lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSURLSessionDataTask._( + ffi.Pointer pointer, + SwiftLibrary lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSURLSessionDataTask] that points to the same underlying object as [other]. - static NSURLSessionDataTask castFrom(T other) { - return NSURLSessionDataTask._(other._id, other._lib, - retain: true, release: true); + static NSURLSessionDataTask castFrom( + SwiftLibrary lib, + T other, + ) { + return NSURLSessionDataTask._( + other.pointer, + lib, + retain: true, + release: true, + ); } /// Returns a [NSURLSessionDataTask] that wraps the given raw object pointer. static NSURLSessionDataTask castFromPointer( - SwiftLibrary lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + SwiftLibrary lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSURLSessionDataTask._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSURLSessionDataTask]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0(obj._id, obj._lib._sel_isKindOfClass_1, - obj._lib._class_NSURLSessionDataTask1); + static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSURLSessionDataTask1, + ); } @override NSURLSessionDataTask init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSURLSessionDataTask._(_ret, _lib, retain: true, release: true); } static NSURLSessionDataTask new1(SwiftLibrary _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSURLSessionDataTask1, _lib._sel_new1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSURLSessionDataTask1, + _lib._sel_new1, + ); return NSURLSessionDataTask._(_ret, _lib, retain: false, release: true); } static NSURLSessionDataTask allocWithZone_( - SwiftLibrary _lib, ffi.Pointer<_NSZone> zone) { + SwiftLibrary _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSURLSessionDataTask1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSURLSessionDataTask1, + _lib._sel_allocWithZone_1, + zone, + ); return NSURLSessionDataTask._(_ret, _lib, retain: false, release: true); } static NSURLSessionDataTask alloc(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLSessionDataTask1, _lib._sel_alloc1); + _lib._class_NSURLSessionDataTask1, + _lib._sel_alloc1, + ); return NSURLSessionDataTask._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + SwiftLibrary _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSURLSessionDataTask1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSURLSessionDataTask1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSURLSessionDataTask1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + SwiftLibrary _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSURLSessionDataTask1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { - return _lib._objc_msgSend_12(_lib._class_NSURLSessionDataTask1, - _lib._sel_accessInstanceVariablesDirectly1); + return _lib._objc_msgSend_12( + _lib._class_NSURLSessionDataTask1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(SwiftLibrary _lib) { return _lib._objc_msgSend_12( - _lib._class_NSURLSessionDataTask1, _lib._sel_useStoredAccessor1); + _lib._class_NSURLSessionDataTask1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSURLSessionDataTask1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSURLSessionDataTask1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSURLSessionDataTask1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSURLSessionDataTask1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, NSArray keys, NSString dependentKey) { + SwiftLibrary _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSURLSessionDataTask1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSURLSessionDataTask1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_85(_lib._class_NSURLSessionDataTask1, - _lib._sel_classFallbacksForKeyedArchiver1); + final _ret = _lib._objc_msgSend_85( + _lib._class_NSURLSessionDataTask1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLSessionDataTask1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSURLSessionDataTask1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } void _ObjCBlock_ffiVoid_NSCachedURLResponse_fnPtrTrampoline( - ffi.Pointer<_ObjCBlock> block, ffi.Pointer arg0) => - block.ref.target - .cast< - ffi - .NativeFunction arg0)>>() - .asFunction)>()(arg0); + ffi.Pointer block, + ffi.Pointer arg0, +) => block.ref.target + .cast< + ffi.NativeFunction arg0)> + >() + .asFunction)>()(arg0); final _ObjCBlock_ffiVoid_NSCachedURLResponse_closureRegistry = - )>{}; + )>{}; int _ObjCBlock_ffiVoid_NSCachedURLResponse_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_ffiVoid_NSCachedURLResponse_registerClosure( - void Function(ffi.Pointer) fn) { + void Function(ffi.Pointer) fn, +) { final id = ++_ObjCBlock_ffiVoid_NSCachedURLResponse_closureRegistryIndex; _ObjCBlock_ffiVoid_NSCachedURLResponse_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } void _ObjCBlock_ffiVoid_NSCachedURLResponse_closureTrampoline( - ffi.Pointer<_ObjCBlock> block, ffi.Pointer arg0) => - _ObjCBlock_ffiVoid_NSCachedURLResponse_closureRegistry[ - block.ref.target.address]!(arg0); - -class ObjCBlock_ffiVoid_NSCachedURLResponse extends _ObjCBlockBase { + ffi.Pointer block, + ffi.Pointer arg0, +) => _ObjCBlock_ffiVoid_NSCachedURLResponse_closureRegistry[block + .ref + .target + .address]!(arg0); + +class ObjCBlock_ffiVoid_NSCachedURLResponse extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSCachedURLResponse._( - ffi.Pointer<_ObjCBlock> id, SwiftLibrary lib, - {bool retain = false, bool release = true}) - : super._(id, lib, retain: retain, release: release); + ffi.Pointer pointer, + this._lib, { + bool retain = false, + bool release = true, + }) : super(pointer, retain: retain, release: release); + + SwiftLibrary _lib; /// Returns a block that wraps the given raw block pointer. static ObjCBlock_ffiVoid_NSCachedURLResponse castFromPointer( - SwiftLibrary lib, ffi.Pointer<_ObjCBlock> pointer, - {bool retain = false, bool release = false}) { - return ObjCBlock_ffiVoid_NSCachedURLResponse._(pointer, lib, - retain: retain, release: release); + SwiftLibrary lib, + ffi.Pointer pointer, { + bool retain = false, + bool release = false, + }) { + return ObjCBlock_ffiVoid_NSCachedURLResponse._( + pointer, + lib, + retain: retain, + release: release, + ); } /// Creates a block from a C function pointer. @@ -66580,20 +88911,20 @@ class ObjCBlock_ffiVoid_NSCachedURLResponse extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSCachedURLResponse.fromFunctionPointer( - SwiftLibrary lib, - ffi.Pointer< - ffi - .NativeFunction arg0)>> - ptr) - : this._( - lib._newBlock1( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_NSCachedURLResponse_fnPtrTrampoline) - .cast(), - ptr.cast()), - lib); + SwiftLibrary lib, + ffi.Pointer< + ffi.NativeFunction arg0)> + > ptr, + ) : this._(objc.newBlock( + _cFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_NSCachedURLResponse_fnPtrTrampoline).cast(), + ptr.cast(), + ), lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -66602,19 +88933,24 @@ class ObjCBlock_ffiVoid_NSCachedURLResponse extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSCachedURLResponse.fromFunction( - SwiftLibrary lib, void Function(NSCachedURLResponse?) fn) - : this._( - lib._newBlock1( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_NSCachedURLResponse_closureTrampoline) - .cast(), - _ObjCBlock_ffiVoid_NSCachedURLResponse_registerClosure( - (ffi.Pointer arg0) => fn(arg0.address == 0 - ? null - : NSCachedURLResponse._(arg0, lib, retain: true, release: true)))), - lib); + SwiftLibrary lib, + void Function(NSCachedURLResponse?) fn, + ) : this._(objc.newBlock( + _dartFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_NSCachedURLResponse_closureTrampoline).cast(), + _ObjCBlock_ffiVoid_NSCachedURLResponse_registerClosure(( + ffi.Pointer arg0, + ) => fn( + arg0.address == 0 + ? null + : NSCachedURLResponse._(arg0, lib, retain: true, release: true), + )), + ), lib); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -66627,275 +88963,386 @@ class ObjCBlock_ffiVoid_NSCachedURLResponse extends _ObjCBlockBase { /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. ObjCBlock_ffiVoid_NSCachedURLResponse.listener( - SwiftLibrary lib, void Function(NSCachedURLResponse?) fn) - : this._( - lib._newBlock1( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, - ffi.Pointer)>.listener( - _ObjCBlock_ffiVoid_NSCachedURLResponse_closureTrampoline) - ..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSCachedURLResponse_registerClosure( - (ffi.Pointer arg0) => fn( - arg0.address == 0 ? null : NSCachedURLResponse._(arg0, lib, retain: true, release: true)))), - lib); + SwiftLibrary lib, + void Function(NSCachedURLResponse?) fn, + ) : this._(objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ) + >.listener( + _ObjCBlock_ffiVoid_NSCachedURLResponse_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSCachedURLResponse_registerClosure(( + ffi.Pointer arg0, + ) => fn( + arg0.address == 0 + ? null + : NSCachedURLResponse._(arg0, lib, retain: true, release: true), + )), + ), lib); static ffi.NativeCallable< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer)>? - _dartFuncListenerTrampoline; + ffi.Void Function(ffi.Pointer, ffi.Pointer) + >? _dartFuncListenerTrampoline; - void call(NSCachedURLResponse? arg0) => _id.ref.invoke + void call(NSCachedURLResponse? arg0) => pointer.ref.invoke .cast< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0)>>() + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer block, + ffi.Pointer arg0, + ) + > + >() .asFunction< - void Function(ffi.Pointer<_ObjCBlock>, - ffi.Pointer)>()(_id, arg0?._id ?? ffi.nullptr); + void Function(ffi.Pointer, ffi.Pointer) + >()(pointer, arg0?.pointer ?? ffi.nullptr); } class NSURLConnection extends NSObject { - NSURLConnection._(ffi.Pointer id, SwiftLibrary lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSURLConnection._( + ffi.Pointer pointer, + SwiftLibrary lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSURLConnection] that points to the same underlying object as [other]. - static NSURLConnection castFrom(T other) { - return NSURLConnection._(other._id, other._lib, - retain: true, release: true); + static NSURLConnection castFrom( + SwiftLibrary lib, + T other, + ) { + return NSURLConnection._(other.pointer, lib, retain: true, release: true); } /// Returns a [NSURLConnection] that wraps the given raw object pointer. static NSURLConnection castFromPointer( - SwiftLibrary lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + SwiftLibrary lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSURLConnection._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSURLConnection]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0(obj._id, obj._lib._sel_isKindOfClass_1, - obj._lib._class_NSURLConnection1); + static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSURLConnection1, + ); } NSURLConnection? initWithRequest_delegate_startImmediately_( - NSURLRequest request, NSObject? delegate, bool startImmediately) { + NSURLRequest request, + NSObject? delegate, + bool startImmediately, + ) { final _ret = _lib._objc_msgSend_985( - _id, - _lib._sel_initWithRequest_delegate_startImmediately_1, - request._id, - delegate?._id ?? ffi.nullptr, - startImmediately); + this.pointer, + _lib._sel_initWithRequest_delegate_startImmediately_1, + request.pointer, + delegate?.pointer ?? ffi.nullptr, + startImmediately, + ); return _ret.address == 0 ? null : NSURLConnection._(_ret, _lib, retain: true, release: true); } NSURLConnection? initWithRequest_delegate_( - NSURLRequest request, NSObject? delegate) { + NSURLRequest request, + NSObject? delegate, + ) { final _ret = _lib._objc_msgSend_986( - _id, - _lib._sel_initWithRequest_delegate_1, - request._id, - delegate?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_initWithRequest_delegate_1, + request.pointer, + delegate?.pointer ?? ffi.nullptr, + ); return _ret.address == 0 ? null : NSURLConnection._(_ret, _lib, retain: true, release: true); } static NSURLConnection? connectionWithRequest_delegate_( - SwiftLibrary _lib, NSURLRequest request, NSObject? delegate) { + SwiftLibrary _lib, + NSURLRequest request, + NSObject? delegate, + ) { final _ret = _lib._objc_msgSend_987( - _lib._class_NSURLConnection1, - _lib._sel_connectionWithRequest_delegate_1, - request._id, - delegate?._id ?? ffi.nullptr); + _lib._class_NSURLConnection1, + _lib._sel_connectionWithRequest_delegate_1, + request.pointer, + delegate?.pointer ?? ffi.nullptr, + ); return _ret.address == 0 ? null : NSURLConnection._(_ret, _lib, retain: true, release: true); } NSURLRequest get originalRequest { - final _ret = _lib._objc_msgSend_988(_id, _lib._sel_originalRequest1); + final _ret = _lib._objc_msgSend_988( + this.pointer, + _lib._sel_originalRequest1, + ); return NSURLRequest._(_ret, _lib, retain: true, release: true); } NSURLRequest get currentRequest { - final _ret = _lib._objc_msgSend_988(_id, _lib._sel_currentRequest1); + final _ret = _lib._objc_msgSend_988( + this.pointer, + _lib._sel_currentRequest1, + ); return NSURLRequest._(_ret, _lib, retain: true, release: true); } void start() { - _lib._objc_msgSend_1(_id, _lib._sel_start1); + _lib._objc_msgSend_1(this.pointer, _lib._sel_start1); } void cancel() { - _lib._objc_msgSend_1(_id, _lib._sel_cancel1); + _lib._objc_msgSend_1(this.pointer, _lib._sel_cancel1); } void scheduleInRunLoop_forMode_(NSRunLoop aRunLoop, NSString mode) { _lib._objc_msgSend_569( - _id, _lib._sel_scheduleInRunLoop_forMode_1, aRunLoop._id, mode._id); + this.pointer, + _lib._sel_scheduleInRunLoop_forMode_1, + aRunLoop.pointer, + mode.pointer, + ); } void unscheduleFromRunLoop_forMode_(NSRunLoop aRunLoop, NSString mode) { _lib._objc_msgSend_569( - _id, _lib._sel_unscheduleFromRunLoop_forMode_1, aRunLoop._id, mode._id); + this.pointer, + _lib._sel_unscheduleFromRunLoop_forMode_1, + aRunLoop.pointer, + mode.pointer, + ); } void setDelegateQueue_(NSOperationQueue? queue) { _lib._objc_msgSend_989( - _id, _lib._sel_setDelegateQueue_1, queue?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setDelegateQueue_1, + queue?.pointer ?? ffi.nullptr, + ); } static bool canHandleRequest_(SwiftLibrary _lib, NSURLRequest request) { - return _lib._objc_msgSend_990(_lib._class_NSURLConnection1, - _lib._sel_canHandleRequest_1, request._id); + return _lib._objc_msgSend_990( + _lib._class_NSURLConnection1, + _lib._sel_canHandleRequest_1, + request.pointer, + ); } static NSData? sendSynchronousRequest_returningResponse_error_( - SwiftLibrary _lib, - NSURLRequest request, - ffi.Pointer> response, - ffi.Pointer> error) { + SwiftLibrary _lib, + NSURLRequest request, + ffi.Pointer> response, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_991( - _lib._class_NSURLConnection1, - _lib._sel_sendSynchronousRequest_returningResponse_error_1, - request._id, - response, - error); + _lib._class_NSURLConnection1, + _lib._sel_sendSynchronousRequest_returningResponse_error_1, + request.pointer, + response, + error, + ); return _ret.address == 0 ? null : NSData._(_ret, _lib, retain: true, release: true); } static void sendAsynchronousRequest_queue_completionHandler_( - SwiftLibrary _lib, - NSURLRequest request, - NSOperationQueue queue, - ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError handler) { + SwiftLibrary _lib, + NSURLRequest request, + NSOperationQueue queue, + ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError handler, + ) { _lib._objc_msgSend_992( - _lib._class_NSURLConnection1, - _lib._sel_sendAsynchronousRequest_queue_completionHandler_1, - request._id, - queue._id, - handler._id); + _lib._class_NSURLConnection1, + _lib._sel_sendAsynchronousRequest_queue_completionHandler_1, + request.pointer, + queue.pointer, + handler.pointer, + ); } @override NSURLConnection init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSURLConnection._(_ret, _lib, retain: true, release: true); } static NSURLConnection new1(SwiftLibrary _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSURLConnection1, _lib._sel_new1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSURLConnection1, + _lib._sel_new1, + ); return NSURLConnection._(_ret, _lib, retain: false, release: true); } static NSURLConnection allocWithZone_( - SwiftLibrary _lib, ffi.Pointer<_NSZone> zone) { + SwiftLibrary _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSURLConnection1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSURLConnection1, + _lib._sel_allocWithZone_1, + zone, + ); return NSURLConnection._(_ret, _lib, retain: false, release: true); } static NSURLConnection alloc(SwiftLibrary _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSURLConnection1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSURLConnection1, + _lib._sel_alloc1, + ); return NSURLConnection._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + SwiftLibrary _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSURLConnection1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSURLConnection1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSURLConnection1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + SwiftLibrary _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSURLConnection1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { - return _lib._objc_msgSend_12(_lib._class_NSURLConnection1, - _lib._sel_accessInstanceVariablesDirectly1); + return _lib._objc_msgSend_12( + _lib._class_NSURLConnection1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(SwiftLibrary _lib) { return _lib._objc_msgSend_12( - _lib._class_NSURLConnection1, _lib._sel_useStoredAccessor1); + _lib._class_NSURLConnection1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSURLConnection1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSURLConnection1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSURLConnection1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSURLConnection1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, NSArray keys, NSString dependentKey) { + SwiftLibrary _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSURLConnection1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSURLConnection1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_85(_lib._class_NSURLConnection1, - _lib._sel_classFallbacksForKeyedArchiver1); + final _ret = _lib._objc_msgSend_85( + _lib._class_NSURLConnection1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLConnection1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSURLConnection1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } void _ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError_fnPtrTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2) => - block.ref.target - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2)>>() - .asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>()(arg0, arg1, arg2); -final _ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError_closureRegistry = , ffi.Pointer, - ffi.Pointer)>{}; + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, +) => block.ref.target + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, + ) + > + >() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >()(arg0, arg1, arg2); +final _ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError_closureRegistry = + < + int, + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >{}; int _ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError_closureRegistryIndex = 0; ffi.Pointer - _ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError_registerClosure( - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer) - fn) { +_ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError_registerClosure( + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) fn, +) { final id = ++_ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError_closureRegistryIndex; _ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError_closureRegistry[id] = fn; @@ -66903,25 +89350,39 @@ ffi.Pointer } void _ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError_closureTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2) => - _ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError_closureRegistry[ - block.ref.target.address]!(arg0, arg1, arg2); - -class ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError extends _ObjCBlockBase { + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, +) => _ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError_closureRegistry[block + .ref + .target + .address]!(arg0, arg1, arg2); + +class ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError + extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError._( - ffi.Pointer<_ObjCBlock> id, SwiftLibrary lib, - {bool retain = false, bool release = true}) - : super._(id, lib, retain: retain, release: release); + ffi.Pointer pointer, + this._lib, { + bool retain = false, + bool release = true, + }) : super(pointer, retain: retain, release: release); + + SwiftLibrary _lib; /// Returns a block that wraps the given raw block pointer. static ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError castFromPointer( - SwiftLibrary lib, ffi.Pointer<_ObjCBlock> pointer, - {bool retain = false, bool release = false}) { - return ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError._(pointer, lib, - retain: retain, release: release); + SwiftLibrary lib, + ffi.Pointer pointer, { + bool retain = false, + bool release = false, + }) { + return ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError._( + pointer, + lib, + retain: retain, + release: release, + ); } /// Creates a block from a C function pointer. @@ -66930,26 +89391,30 @@ class ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError.fromFunctionPointer( - SwiftLibrary lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2)>> - ptr) - : this._( - lib._newBlock1( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError_fnPtrTrampoline) - .cast(), - ptr.cast()), - lib); + SwiftLibrary lib, + ffi.Pointer< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, + ) + > + > ptr, + ) : this._(objc.newBlock( + _cFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >( + _ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError_fnPtrTrampoline, + ).cast(), + ptr.cast(), + ), lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -66958,22 +89423,36 @@ class ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError.fromFunction( - SwiftLibrary lib, void Function(NSURLResponse?, NSData?, NSError?) fn) - : this._( - lib._newBlock1( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction, ffi.Pointer, ffi.Pointer, ffi.Pointer)>( - _ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError_closureTrampoline) - .cast(), - _ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError_registerClosure( - (ffi.Pointer arg0, ffi.Pointer arg1, - ffi.Pointer arg2) => - fn( - arg0.address == 0 - ? null - : NSURLResponse._(arg0, lib, retain: true, release: true), - arg1.address == 0 ? null : NSData._(arg1, lib, retain: true, release: true), - arg2.address == 0 ? null : NSError._(arg2, lib, retain: true, release: true)))), - lib); + SwiftLibrary lib, + void Function(NSURLResponse?, NSData?, NSError?) fn, + ) : this._(objc.newBlock( + _dartFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >( + _ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError_closureTrampoline, + ).cast(), + _ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError_registerClosure(( + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, + ) => fn( + arg0.address == 0 + ? null + : NSURLResponse._(arg0, lib, retain: true, release: true), + arg1.address == 0 + ? null + : NSData._(arg1, lib, retain: true, release: true), + arg2.address == 0 + ? null + : NSError._(arg2, lib, retain: true, release: true), + )), + ), lib); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -66986,250 +89465,346 @@ class ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError extends _ObjCBlockBase { /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError.listener( - SwiftLibrary lib, void Function(NSURLResponse?, NSData?, NSError?) fn) - : this._( - lib._newBlock1( - (_dartFuncListenerTrampoline ??= - ffi.NativeCallable, ffi.Pointer, ffi.Pointer, ffi.Pointer)>.listener( - _ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError_closureTrampoline) - ..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError_registerClosure( - (ffi.Pointer arg0, ffi.Pointer arg1, - ffi.Pointer arg2) => - fn( - arg0.address == 0 - ? null - : NSURLResponse._(arg0, lib, retain: true, release: true), - arg1.address == 0 ? null : NSData._(arg1, lib, retain: true, release: true), - arg2.address == 0 ? null : NSError._(arg2, lib, retain: true, release: true)))), - lib); + SwiftLibrary lib, + void Function(NSURLResponse?, NSData?, NSError?) fn, + ) : this._(objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >.listener( + _ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError_registerClosure(( + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, + ) => fn( + arg0.address == 0 + ? null + : NSURLResponse._(arg0, lib, retain: true, release: true), + arg1.address == 0 + ? null + : NSData._(arg1, lib, retain: true, release: true), + arg2.address == 0 + ? null + : NSError._(arg2, lib, retain: true, release: true), + )), + ), lib); static ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>? _dartFuncListenerTrampoline; - - void call(NSURLResponse? arg0, NSData? arg1, NSError? arg2) => _id.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2)>>() - .asFunction< - void Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>()( - _id, - arg0?._id ?? ffi.nullptr, - arg1?._id ?? ffi.nullptr, - arg2?._id ?? ffi.nullptr); + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >? _dartFuncListenerTrampoline; + + void call(NSURLResponse? arg0, NSData? arg1, NSError? arg2) => pointer + .ref + .invoke + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, + ) + > + >() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >()( + pointer, + arg0?.pointer ?? ffi.nullptr, + arg1?.pointer ?? ffi.nullptr, + arg2?.pointer ?? ffi.nullptr, + ); } class NSURLCredential extends NSObject { - NSURLCredential._(ffi.Pointer id, SwiftLibrary lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSURLCredential._( + ffi.Pointer pointer, + SwiftLibrary lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSURLCredential] that points to the same underlying object as [other]. - static NSURLCredential castFrom(T other) { - return NSURLCredential._(other._id, other._lib, - retain: true, release: true); + static NSURLCredential castFrom( + SwiftLibrary lib, + T other, + ) { + return NSURLCredential._(other.pointer, lib, retain: true, release: true); } /// Returns a [NSURLCredential] that wraps the given raw object pointer. static NSURLCredential castFromPointer( - SwiftLibrary lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + SwiftLibrary lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSURLCredential._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSURLCredential]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0(obj._id, obj._lib._sel_isKindOfClass_1, - obj._lib._class_NSURLCredential1); + static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSURLCredential1, + ); } int get persistence { - return _lib._objc_msgSend_993(_id, _lib._sel_persistence1); + return _lib._objc_msgSend_993(this.pointer, _lib._sel_persistence1); } NSURLCredential initWithUser_password_persistence_( - NSString user, NSString password, int persistence) { + NSString user, + NSString password, + int persistence, + ) { final _ret = _lib._objc_msgSend_994( - _id, - _lib._sel_initWithUser_password_persistence_1, - user._id, - password._id, - persistence); + this.pointer, + _lib._sel_initWithUser_password_persistence_1, + user.pointer, + password.pointer, + persistence, + ); return NSURLCredential._(_ret, _lib, retain: true, release: true); } static NSURLCredential credentialWithUser_password_persistence_( - SwiftLibrary _lib, NSString user, NSString password, int persistence) { + SwiftLibrary _lib, + NSString user, + NSString password, + int persistence, + ) { final _ret = _lib._objc_msgSend_995( - _lib._class_NSURLCredential1, - _lib._sel_credentialWithUser_password_persistence_1, - user._id, - password._id, - persistence); + _lib._class_NSURLCredential1, + _lib._sel_credentialWithUser_password_persistence_1, + user.pointer, + password.pointer, + persistence, + ); return NSURLCredential._(_ret, _lib, retain: true, release: true); } NSString? get user { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_user1); + final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_user1); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } NSString? get password { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_password1); + final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_password1); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } bool get hasPassword { - return _lib._objc_msgSend_12(_id, _lib._sel_hasPassword1); + return _lib._objc_msgSend_12(this.pointer, _lib._sel_hasPassword1); } NSURLCredential initWithIdentity_certificates_persistence_( - ffi.Pointer<__SecIdentity> identity, - NSArray? certArray, - int persistence) { + ffi.Pointer<__SecIdentity> identity, + NSArray? certArray, + int persistence, + ) { final _ret = _lib._objc_msgSend_996( - _id, - _lib._sel_initWithIdentity_certificates_persistence_1, - identity, - certArray?._id ?? ffi.nullptr, - persistence); + this.pointer, + _lib._sel_initWithIdentity_certificates_persistence_1, + identity, + certArray?.pointer ?? ffi.nullptr, + persistence, + ); return NSURLCredential._(_ret, _lib, retain: true, release: true); } static NSURLCredential credentialWithIdentity_certificates_persistence_( - SwiftLibrary _lib, - ffi.Pointer<__SecIdentity> identity, - NSArray? certArray, - int persistence) { + SwiftLibrary _lib, + ffi.Pointer<__SecIdentity> identity, + NSArray? certArray, + int persistence, + ) { final _ret = _lib._objc_msgSend_997( - _lib._class_NSURLCredential1, - _lib._sel_credentialWithIdentity_certificates_persistence_1, - identity, - certArray?._id ?? ffi.nullptr, - persistence); + _lib._class_NSURLCredential1, + _lib._sel_credentialWithIdentity_certificates_persistence_1, + identity, + certArray?.pointer ?? ffi.nullptr, + persistence, + ); return NSURLCredential._(_ret, _lib, retain: true, release: true); } ffi.Pointer<__SecIdentity> get identity { - return _lib._objc_msgSend_998(_id, _lib._sel_identity1); + return _lib._objc_msgSend_998(this.pointer, _lib._sel_identity1); } NSArray get certificates { - final _ret = _lib._objc_msgSend_85(_id, _lib._sel_certificates1); + final _ret = _lib._objc_msgSend_85(this.pointer, _lib._sel_certificates1); return NSArray._(_ret, _lib, retain: true, release: true); } NSURLCredential initWithTrust_(ffi.Pointer<__SecTrust> trust) { - final _ret = _lib._objc_msgSend_999(_id, _lib._sel_initWithTrust_1, trust); + final _ret = _lib._objc_msgSend_999( + this.pointer, + _lib._sel_initWithTrust_1, + trust, + ); return NSURLCredential._(_ret, _lib, retain: true, release: true); } static NSURLCredential credentialForTrust_( - SwiftLibrary _lib, ffi.Pointer<__SecTrust> trust) { + SwiftLibrary _lib, + ffi.Pointer<__SecTrust> trust, + ) { final _ret = _lib._objc_msgSend_1000( - _lib._class_NSURLCredential1, _lib._sel_credentialForTrust_1, trust); + _lib._class_NSURLCredential1, + _lib._sel_credentialForTrust_1, + trust, + ); return NSURLCredential._(_ret, _lib, retain: true, release: true); } @override NSURLCredential init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSURLCredential._(_ret, _lib, retain: true, release: true); } static NSURLCredential new1(SwiftLibrary _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSURLCredential1, _lib._sel_new1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSURLCredential1, + _lib._sel_new1, + ); return NSURLCredential._(_ret, _lib, retain: false, release: true); } static NSURLCredential allocWithZone_( - SwiftLibrary _lib, ffi.Pointer<_NSZone> zone) { + SwiftLibrary _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSURLCredential1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSURLCredential1, + _lib._sel_allocWithZone_1, + zone, + ); return NSURLCredential._(_ret, _lib, retain: false, release: true); } static NSURLCredential alloc(SwiftLibrary _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSURLCredential1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSURLCredential1, + _lib._sel_alloc1, + ); return NSURLCredential._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + SwiftLibrary _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSURLCredential1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSURLCredential1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSURLCredential1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + SwiftLibrary _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSURLCredential1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { - return _lib._objc_msgSend_12(_lib._class_NSURLCredential1, - _lib._sel_accessInstanceVariablesDirectly1); + return _lib._objc_msgSend_12( + _lib._class_NSURLCredential1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(SwiftLibrary _lib) { return _lib._objc_msgSend_12( - _lib._class_NSURLCredential1, _lib._sel_useStoredAccessor1); + _lib._class_NSURLCredential1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSURLCredential1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSURLCredential1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSURLCredential1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSURLCredential1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, NSArray keys, NSString dependentKey) { + SwiftLibrary _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSURLCredential1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSURLCredential1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_85(_lib._class_NSURLCredential1, - _lib._sel_classFallbacksForKeyedArchiver1); + final _ret = _lib._objc_msgSend_85( + _lib._class_NSURLCredential1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLCredential1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSURLCredential1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } @@ -67246,473 +89821,656 @@ final class __SecIdentity extends ffi.Opaque {} final class __SecTrust extends ffi.Opaque {} class NSURLProtectionSpace extends NSObject { - NSURLProtectionSpace._(ffi.Pointer id, SwiftLibrary lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSURLProtectionSpace._( + ffi.Pointer pointer, + SwiftLibrary lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSURLProtectionSpace] that points to the same underlying object as [other]. - static NSURLProtectionSpace castFrom(T other) { - return NSURLProtectionSpace._(other._id, other._lib, - retain: true, release: true); + static NSURLProtectionSpace castFrom( + SwiftLibrary lib, + T other, + ) { + return NSURLProtectionSpace._( + other.pointer, + lib, + retain: true, + release: true, + ); } /// Returns a [NSURLProtectionSpace] that wraps the given raw object pointer. static NSURLProtectionSpace castFromPointer( - SwiftLibrary lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + SwiftLibrary lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSURLProtectionSpace._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSURLProtectionSpace]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0(obj._id, obj._lib._sel_isKindOfClass_1, - obj._lib._class_NSURLProtectionSpace1); + static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSURLProtectionSpace1, + ); } NSURLProtectionSpace initWithHost_port_protocol_realm_authenticationMethod_( - NSString host, - int port, - NSString? protocol, - NSString? realm, - NSString? authenticationMethod) { + NSString host, + int port, + NSString? protocol, + NSString? realm, + NSString? authenticationMethod, + ) { final _ret = _lib._objc_msgSend_1001( - _id, - _lib._sel_initWithHost_port_protocol_realm_authenticationMethod_1, - host._id, - port, - protocol?._id ?? ffi.nullptr, - realm?._id ?? ffi.nullptr, - authenticationMethod?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_initWithHost_port_protocol_realm_authenticationMethod_1, + host.pointer, + port, + protocol?.pointer ?? ffi.nullptr, + realm?.pointer ?? ffi.nullptr, + authenticationMethod?.pointer ?? ffi.nullptr, + ); return NSURLProtectionSpace._(_ret, _lib, retain: true, release: true); } NSURLProtectionSpace initWithProxyHost_port_type_realm_authenticationMethod_( - NSString host, - int port, - NSString? type, - NSString? realm, - NSString? authenticationMethod) { + NSString host, + int port, + NSString? type, + NSString? realm, + NSString? authenticationMethod, + ) { final _ret = _lib._objc_msgSend_1001( - _id, - _lib._sel_initWithProxyHost_port_type_realm_authenticationMethod_1, - host._id, - port, - type?._id ?? ffi.nullptr, - realm?._id ?? ffi.nullptr, - authenticationMethod?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_initWithProxyHost_port_type_realm_authenticationMethod_1, + host.pointer, + port, + type?.pointer ?? ffi.nullptr, + realm?.pointer ?? ffi.nullptr, + authenticationMethod?.pointer ?? ffi.nullptr, + ); return NSURLProtectionSpace._(_ret, _lib, retain: true, release: true); } NSString? get realm { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_realm1); + final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_realm1); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } bool get receivesCredentialSecurely { - return _lib._objc_msgSend_12(_id, _lib._sel_receivesCredentialSecurely1); + return _lib._objc_msgSend_12( + this.pointer, + _lib._sel_receivesCredentialSecurely1, + ); } bool get isProxy { - return _lib._objc_msgSend_12(_id, _lib._sel_isProxy1); + return _lib._objc_msgSend_12(this.pointer, _lib._sel_isProxy1); } NSString get host { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_host1); + final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_host1); return NSString._(_ret, _lib, retain: true, release: true); } int get port { - return _lib._objc_msgSend_83(_id, _lib._sel_port1); + return _lib._objc_msgSend_83(this.pointer, _lib._sel_port1); } NSString? get proxyType { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_proxyType1); + final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_proxyType1); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } NSString? get protocol { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_protocol1); + final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_protocol1); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } NSString get authenticationMethod { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_authenticationMethod1); + final _ret = _lib._objc_msgSend_21( + this.pointer, + _lib._sel_authenticationMethod1, + ); return NSString._(_ret, _lib, retain: true, release: true); } NSArray? get distinguishedNames { - final _ret = _lib._objc_msgSend_84(_id, _lib._sel_distinguishedNames1); + final _ret = _lib._objc_msgSend_84( + this.pointer, + _lib._sel_distinguishedNames1, + ); return _ret.address == 0 ? null : NSArray._(_ret, _lib, retain: true, release: true); } ffi.Pointer<__SecTrust> get serverTrust { - return _lib._objc_msgSend_1002(_id, _lib._sel_serverTrust1); + return _lib._objc_msgSend_1002(this.pointer, _lib._sel_serverTrust1); } @override NSURLProtectionSpace init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSURLProtectionSpace._(_ret, _lib, retain: true, release: true); } static NSURLProtectionSpace new1(SwiftLibrary _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSURLProtectionSpace1, _lib._sel_new1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSURLProtectionSpace1, + _lib._sel_new1, + ); return NSURLProtectionSpace._(_ret, _lib, retain: false, release: true); } static NSURLProtectionSpace allocWithZone_( - SwiftLibrary _lib, ffi.Pointer<_NSZone> zone) { + SwiftLibrary _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSURLProtectionSpace1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSURLProtectionSpace1, + _lib._sel_allocWithZone_1, + zone, + ); return NSURLProtectionSpace._(_ret, _lib, retain: false, release: true); } static NSURLProtectionSpace alloc(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLProtectionSpace1, _lib._sel_alloc1); + _lib._class_NSURLProtectionSpace1, + _lib._sel_alloc1, + ); return NSURLProtectionSpace._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + SwiftLibrary _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSURLProtectionSpace1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSURLProtectionSpace1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSURLProtectionSpace1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + SwiftLibrary _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSURLProtectionSpace1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { - return _lib._objc_msgSend_12(_lib._class_NSURLProtectionSpace1, - _lib._sel_accessInstanceVariablesDirectly1); + return _lib._objc_msgSend_12( + _lib._class_NSURLProtectionSpace1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(SwiftLibrary _lib) { return _lib._objc_msgSend_12( - _lib._class_NSURLProtectionSpace1, _lib._sel_useStoredAccessor1); + _lib._class_NSURLProtectionSpace1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSURLProtectionSpace1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSURLProtectionSpace1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSURLProtectionSpace1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSURLProtectionSpace1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, NSArray keys, NSString dependentKey) { + SwiftLibrary _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSURLProtectionSpace1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSURLProtectionSpace1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_85(_lib._class_NSURLProtectionSpace1, - _lib._sel_classFallbacksForKeyedArchiver1); + final _ret = _lib._objc_msgSend_85( + _lib._class_NSURLProtectionSpace1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLProtectionSpace1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSURLProtectionSpace1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } class NSURLCredentialStorage extends NSObject { - NSURLCredentialStorage._(ffi.Pointer id, SwiftLibrary lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSURLCredentialStorage._( + ffi.Pointer pointer, + SwiftLibrary lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSURLCredentialStorage] that points to the same underlying object as [other]. - static NSURLCredentialStorage castFrom(T other) { - return NSURLCredentialStorage._(other._id, other._lib, - retain: true, release: true); + static NSURLCredentialStorage castFrom( + SwiftLibrary lib, + T other, + ) { + return NSURLCredentialStorage._( + other.pointer, + lib, + retain: true, + release: true, + ); } /// Returns a [NSURLCredentialStorage] that wraps the given raw object pointer. static NSURLCredentialStorage castFromPointer( - SwiftLibrary lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { - return NSURLCredentialStorage._(other, lib, - retain: retain, release: release); + SwiftLibrary lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { + return NSURLCredentialStorage._( + other, + lib, + retain: retain, + release: release, + ); } /// Returns whether [obj] is an instance of [NSURLCredentialStorage]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0(obj._id, obj._lib._sel_isKindOfClass_1, - obj._lib._class_NSURLCredentialStorage1); + static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSURLCredentialStorage1, + ); } static NSURLCredentialStorage getSharedCredentialStorage(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_1003(_lib._class_NSURLCredentialStorage1, - _lib._sel_sharedCredentialStorage1); + final _ret = _lib._objc_msgSend_1003( + _lib._class_NSURLCredentialStorage1, + _lib._sel_sharedCredentialStorage1, + ); return NSURLCredentialStorage._(_ret, _lib, retain: true, release: true); } NSDictionary? credentialsForProtectionSpace_(NSURLProtectionSpace space) { final _ret = _lib._objc_msgSend_1004( - _id, _lib._sel_credentialsForProtectionSpace_1, space._id); + this.pointer, + _lib._sel_credentialsForProtectionSpace_1, + space.pointer, + ); return _ret.address == 0 ? null : NSDictionary._(_ret, _lib, retain: true, release: true); } NSDictionary get allCredentials { - final _ret = _lib._objc_msgSend_181(_id, _lib._sel_allCredentials1); + final _ret = _lib._objc_msgSend_181( + this.pointer, + _lib._sel_allCredentials1, + ); return NSDictionary._(_ret, _lib, retain: true, release: true); } void setCredential_forProtectionSpace_( - NSURLCredential credential, NSURLProtectionSpace space) { - _lib._objc_msgSend_1005(_id, _lib._sel_setCredential_forProtectionSpace_1, - credential._id, space._id); + NSURLCredential credential, + NSURLProtectionSpace space, + ) { + _lib._objc_msgSend_1005( + this.pointer, + _lib._sel_setCredential_forProtectionSpace_1, + credential.pointer, + space.pointer, + ); } void removeCredential_forProtectionSpace_( - NSURLCredential credential, NSURLProtectionSpace space) { + NSURLCredential credential, + NSURLProtectionSpace space, + ) { _lib._objc_msgSend_1005( - _id, - _lib._sel_removeCredential_forProtectionSpace_1, - credential._id, - space._id); + this.pointer, + _lib._sel_removeCredential_forProtectionSpace_1, + credential.pointer, + space.pointer, + ); } - void removeCredential_forProtectionSpace_options_(NSURLCredential credential, - NSURLProtectionSpace space, NSDictionary? options) { + void removeCredential_forProtectionSpace_options_( + NSURLCredential credential, + NSURLProtectionSpace space, + NSDictionary? options, + ) { _lib._objc_msgSend_1006( - _id, - _lib._sel_removeCredential_forProtectionSpace_options_1, - credential._id, - space._id, - options?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_removeCredential_forProtectionSpace_options_1, + credential.pointer, + space.pointer, + options?.pointer ?? ffi.nullptr, + ); } NSURLCredential? defaultCredentialForProtectionSpace_( - NSURLProtectionSpace space) { + NSURLProtectionSpace space, + ) { final _ret = _lib._objc_msgSend_1007( - _id, _lib._sel_defaultCredentialForProtectionSpace_1, space._id); + this.pointer, + _lib._sel_defaultCredentialForProtectionSpace_1, + space.pointer, + ); return _ret.address == 0 ? null : NSURLCredential._(_ret, _lib, retain: true, release: true); } void setDefaultCredential_forProtectionSpace_( - NSURLCredential credential, NSURLProtectionSpace space) { + NSURLCredential credential, + NSURLProtectionSpace space, + ) { _lib._objc_msgSend_1005( - _id, - _lib._sel_setDefaultCredential_forProtectionSpace_1, - credential._id, - space._id); + this.pointer, + _lib._sel_setDefaultCredential_forProtectionSpace_1, + credential.pointer, + space.pointer, + ); } void getCredentialsForProtectionSpace_task_completionHandler_( - NSURLProtectionSpace protectionSpace, - NSURLSessionTask task, - ObjCBlock_ffiVoid_NSDictionary completionHandler) { + NSURLProtectionSpace protectionSpace, + NSURLSessionTask task, + ObjCBlock_ffiVoid_NSDictionary completionHandler, + ) { _lib._objc_msgSend_1008( - _id, - _lib._sel_getCredentialsForProtectionSpace_task_completionHandler_1, - protectionSpace._id, - task._id, - completionHandler._id); + this.pointer, + _lib._sel_getCredentialsForProtectionSpace_task_completionHandler_1, + protectionSpace.pointer, + task.pointer, + completionHandler.pointer, + ); } - void setCredential_forProtectionSpace_task_(NSURLCredential credential, - NSURLProtectionSpace protectionSpace, NSURLSessionTask task) { + void setCredential_forProtectionSpace_task_( + NSURLCredential credential, + NSURLProtectionSpace protectionSpace, + NSURLSessionTask task, + ) { _lib._objc_msgSend_1009( - _id, - _lib._sel_setCredential_forProtectionSpace_task_1, - credential._id, - protectionSpace._id, - task._id); + this.pointer, + _lib._sel_setCredential_forProtectionSpace_task_1, + credential.pointer, + protectionSpace.pointer, + task.pointer, + ); } void removeCredential_forProtectionSpace_options_task_( - NSURLCredential credential, - NSURLProtectionSpace protectionSpace, - NSDictionary? options, - NSURLSessionTask task) { + NSURLCredential credential, + NSURLProtectionSpace protectionSpace, + NSDictionary? options, + NSURLSessionTask task, + ) { _lib._objc_msgSend_1010( - _id, - _lib._sel_removeCredential_forProtectionSpace_options_task_1, - credential._id, - protectionSpace._id, - options?._id ?? ffi.nullptr, - task._id); + this.pointer, + _lib._sel_removeCredential_forProtectionSpace_options_task_1, + credential.pointer, + protectionSpace.pointer, + options?.pointer ?? ffi.nullptr, + task.pointer, + ); } void getDefaultCredentialForProtectionSpace_task_completionHandler_( - NSURLProtectionSpace space, - NSURLSessionTask task, - ObjCBlock_ffiVoid_NSURLCredential completionHandler) { + NSURLProtectionSpace space, + NSURLSessionTask task, + ObjCBlock_ffiVoid_NSURLCredential completionHandler, + ) { _lib._objc_msgSend_1011( - _id, - _lib._sel_getDefaultCredentialForProtectionSpace_task_completionHandler_1, - space._id, - task._id, - completionHandler._id); + this.pointer, + _lib._sel_getDefaultCredentialForProtectionSpace_task_completionHandler_1, + space.pointer, + task.pointer, + completionHandler.pointer, + ); } - void setDefaultCredential_forProtectionSpace_task_(NSURLCredential credential, - NSURLProtectionSpace protectionSpace, NSURLSessionTask task) { + void setDefaultCredential_forProtectionSpace_task_( + NSURLCredential credential, + NSURLProtectionSpace protectionSpace, + NSURLSessionTask task, + ) { _lib._objc_msgSend_1009( - _id, - _lib._sel_setDefaultCredential_forProtectionSpace_task_1, - credential._id, - protectionSpace._id, - task._id); + this.pointer, + _lib._sel_setDefaultCredential_forProtectionSpace_task_1, + credential.pointer, + protectionSpace.pointer, + task.pointer, + ); } @override NSURLCredentialStorage init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSURLCredentialStorage._(_ret, _lib, retain: true, release: true); } static NSURLCredentialStorage new1(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLCredentialStorage1, _lib._sel_new1); + _lib._class_NSURLCredentialStorage1, + _lib._sel_new1, + ); return NSURLCredentialStorage._(_ret, _lib, retain: false, release: true); } static NSURLCredentialStorage allocWithZone_( - SwiftLibrary _lib, ffi.Pointer<_NSZone> zone) { + SwiftLibrary _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSURLCredentialStorage1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSURLCredentialStorage1, + _lib._sel_allocWithZone_1, + zone, + ); return NSURLCredentialStorage._(_ret, _lib, retain: false, release: true); } static NSURLCredentialStorage alloc(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLCredentialStorage1, _lib._sel_alloc1); + _lib._class_NSURLCredentialStorage1, + _lib._sel_alloc1, + ); return NSURLCredentialStorage._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + SwiftLibrary _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSURLCredentialStorage1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSURLCredentialStorage1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSURLCredentialStorage1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + SwiftLibrary _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSURLCredentialStorage1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { - return _lib._objc_msgSend_12(_lib._class_NSURLCredentialStorage1, - _lib._sel_accessInstanceVariablesDirectly1); + return _lib._objc_msgSend_12( + _lib._class_NSURLCredentialStorage1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(SwiftLibrary _lib) { return _lib._objc_msgSend_12( - _lib._class_NSURLCredentialStorage1, _lib._sel_useStoredAccessor1); + _lib._class_NSURLCredentialStorage1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSURLCredentialStorage1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSURLCredentialStorage1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSURLCredentialStorage1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSURLCredentialStorage1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, NSArray keys, NSString dependentKey) { + SwiftLibrary _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSURLCredentialStorage1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSURLCredentialStorage1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_85(_lib._class_NSURLCredentialStorage1, - _lib._sel_classFallbacksForKeyedArchiver1); + final _ret = _lib._objc_msgSend_85( + _lib._class_NSURLCredentialStorage1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2(_lib._class_NSURLCredentialStorage1, - _lib._sel_classForKeyedUnarchiver1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSURLCredentialStorage1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } void _ObjCBlock_ffiVoid_NSDictionary_fnPtrTrampoline( - ffi.Pointer<_ObjCBlock> block, ffi.Pointer arg0) => - block.ref.target - .cast< - ffi - .NativeFunction arg0)>>() - .asFunction)>()(arg0); + ffi.Pointer block, + ffi.Pointer arg0, +) => block.ref.target + .cast< + ffi.NativeFunction arg0)> + >() + .asFunction)>()(arg0); final _ObjCBlock_ffiVoid_NSDictionary_closureRegistry = - )>{}; + )>{}; int _ObjCBlock_ffiVoid_NSDictionary_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_ffiVoid_NSDictionary_registerClosure( - void Function(ffi.Pointer) fn) { + void Function(ffi.Pointer) fn, +) { final id = ++_ObjCBlock_ffiVoid_NSDictionary_closureRegistryIndex; _ObjCBlock_ffiVoid_NSDictionary_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } void _ObjCBlock_ffiVoid_NSDictionary_closureTrampoline( - ffi.Pointer<_ObjCBlock> block, ffi.Pointer arg0) => - _ObjCBlock_ffiVoid_NSDictionary_closureRegistry[block.ref.target.address]!( - arg0); - -class ObjCBlock_ffiVoid_NSDictionary extends _ObjCBlockBase { - ObjCBlock_ffiVoid_NSDictionary._(ffi.Pointer<_ObjCBlock> id, SwiftLibrary lib, - {bool retain = false, bool release = true}) - : super._(id, lib, retain: retain, release: release); + ffi.Pointer block, + ffi.Pointer arg0, +) => _ObjCBlock_ffiVoid_NSDictionary_closureRegistry[block.ref.target.address]!( + arg0, +); + +class ObjCBlock_ffiVoid_NSDictionary extends objc.ObjCBlockBase { + ObjCBlock_ffiVoid_NSDictionary._( + ffi.Pointer pointer, + this._lib, { + bool retain = false, + bool release = true, + }) : super(pointer, retain: retain, release: release); + + SwiftLibrary _lib; /// Returns a block that wraps the given raw block pointer. static ObjCBlock_ffiVoid_NSDictionary castFromPointer( - SwiftLibrary lib, ffi.Pointer<_ObjCBlock> pointer, - {bool retain = false, bool release = false}) { - return ObjCBlock_ffiVoid_NSDictionary._(pointer, lib, - retain: retain, release: release); + SwiftLibrary lib, + ffi.Pointer pointer, { + bool retain = false, + bool release = false, + }) { + return ObjCBlock_ffiVoid_NSDictionary._( + pointer, + lib, + retain: retain, + release: release, + ); } /// Creates a block from a C function pointer. @@ -67721,21 +90479,20 @@ class ObjCBlock_ffiVoid_NSDictionary extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSDictionary.fromFunctionPointer( - SwiftLibrary lib, - ffi.Pointer< - ffi - .NativeFunction arg0)>> - ptr) - : this._( - lib - ._newBlock1( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_NSDictionary_fnPtrTrampoline) - .cast(), - ptr.cast()), - lib); + SwiftLibrary lib, + ffi.Pointer< + ffi.NativeFunction arg0)> + > ptr, + ) : this._(objc.newBlock( + _cFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_NSDictionary_fnPtrTrampoline).cast(), + ptr.cast(), + ), lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -67744,20 +90501,24 @@ class ObjCBlock_ffiVoid_NSDictionary extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSDictionary.fromFunction( - SwiftLibrary lib, void Function(NSDictionary?) fn) - : this._( - lib._newBlock1( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, ffi.Pointer)>( - _ObjCBlock_ffiVoid_NSDictionary_closureTrampoline) - .cast(), - _ObjCBlock_ffiVoid_NSDictionary_registerClosure( - (ffi.Pointer arg0) => fn(arg0.address == 0 - ? null - : NSDictionary._(arg0, lib, - retain: true, release: true)))), - lib); + SwiftLibrary lib, + void Function(NSDictionary?) fn, + ) : this._(objc.newBlock( + _dartFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_NSDictionary_closureTrampoline).cast(), + _ObjCBlock_ffiVoid_NSDictionary_registerClosure(( + ffi.Pointer arg0, + ) => fn( + arg0.address == 0 + ? null + : NSDictionary._(arg0, lib, retain: true, release: true), + )), + ), lib); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -67770,69 +90531,95 @@ class ObjCBlock_ffiVoid_NSDictionary extends _ObjCBlockBase { /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. ObjCBlock_ffiVoid_NSDictionary.listener( - SwiftLibrary lib, void Function(NSDictionary?) fn) - : this._( - lib._newBlock1( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, - ffi.Pointer)>.listener( - _ObjCBlock_ffiVoid_NSDictionary_closureTrampoline) - ..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSDictionary_registerClosure( - (ffi.Pointer arg0) => fn(arg0.address == 0 - ? null - : NSDictionary._(arg0, lib, retain: true, release: true)))), - lib); + SwiftLibrary lib, + void Function(NSDictionary?) fn, + ) : this._(objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ) + >.listener( + _ObjCBlock_ffiVoid_NSDictionary_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSDictionary_registerClosure(( + ffi.Pointer arg0, + ) => fn( + arg0.address == 0 + ? null + : NSDictionary._(arg0, lib, retain: true, release: true), + )), + ), lib); static ffi.NativeCallable< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer)>? - _dartFuncListenerTrampoline; + ffi.Void Function(ffi.Pointer, ffi.Pointer) + >? _dartFuncListenerTrampoline; - void call(NSDictionary? arg0) => _id.ref.invoke + void call(NSDictionary? arg0) => pointer.ref.invoke .cast< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0)>>() + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer block, + ffi.Pointer arg0, + ) + > + >() .asFunction< - void Function(ffi.Pointer<_ObjCBlock>, - ffi.Pointer)>()(_id, arg0?._id ?? ffi.nullptr); + void Function(ffi.Pointer, ffi.Pointer) + >()(pointer, arg0?.pointer ?? ffi.nullptr); } void _ObjCBlock_ffiVoid_NSURLCredential_fnPtrTrampoline( - ffi.Pointer<_ObjCBlock> block, ffi.Pointer arg0) => - block.ref.target - .cast< - ffi - .NativeFunction arg0)>>() - .asFunction)>()(arg0); + ffi.Pointer block, + ffi.Pointer arg0, +) => block.ref.target + .cast< + ffi.NativeFunction arg0)> + >() + .asFunction)>()(arg0); final _ObjCBlock_ffiVoid_NSURLCredential_closureRegistry = - )>{}; + )>{}; int _ObjCBlock_ffiVoid_NSURLCredential_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_ffiVoid_NSURLCredential_registerClosure( - void Function(ffi.Pointer) fn) { + void Function(ffi.Pointer) fn, +) { final id = ++_ObjCBlock_ffiVoid_NSURLCredential_closureRegistryIndex; _ObjCBlock_ffiVoid_NSURLCredential_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } void _ObjCBlock_ffiVoid_NSURLCredential_closureTrampoline( - ffi.Pointer<_ObjCBlock> block, ffi.Pointer arg0) => - _ObjCBlock_ffiVoid_NSURLCredential_closureRegistry[ - block.ref.target.address]!(arg0); - -class ObjCBlock_ffiVoid_NSURLCredential extends _ObjCBlockBase { + ffi.Pointer block, + ffi.Pointer arg0, +) => _ObjCBlock_ffiVoid_NSURLCredential_closureRegistry[block + .ref + .target + .address]!(arg0); + +class ObjCBlock_ffiVoid_NSURLCredential extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSURLCredential._( - ffi.Pointer<_ObjCBlock> id, SwiftLibrary lib, - {bool retain = false, bool release = true}) - : super._(id, lib, retain: retain, release: release); + ffi.Pointer pointer, + this._lib, { + bool retain = false, + bool release = true, + }) : super(pointer, retain: retain, release: release); + + SwiftLibrary _lib; /// Returns a block that wraps the given raw block pointer. static ObjCBlock_ffiVoid_NSURLCredential castFromPointer( - SwiftLibrary lib, ffi.Pointer<_ObjCBlock> pointer, - {bool retain = false, bool release = false}) { - return ObjCBlock_ffiVoid_NSURLCredential._(pointer, lib, - retain: retain, release: release); + SwiftLibrary lib, + ffi.Pointer pointer, { + bool retain = false, + bool release = false, + }) { + return ObjCBlock_ffiVoid_NSURLCredential._( + pointer, + lib, + retain: retain, + release: release, + ); } /// Creates a block from a C function pointer. @@ -67841,20 +90628,20 @@ class ObjCBlock_ffiVoid_NSURLCredential extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSURLCredential.fromFunctionPointer( - SwiftLibrary lib, - ffi.Pointer< - ffi - .NativeFunction arg0)>> - ptr) - : this._( - lib._newBlock1( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_NSURLCredential_fnPtrTrampoline) - .cast(), - ptr.cast()), - lib); + SwiftLibrary lib, + ffi.Pointer< + ffi.NativeFunction arg0)> + > ptr, + ) : this._(objc.newBlock( + _cFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_NSURLCredential_fnPtrTrampoline).cast(), + ptr.cast(), + ), lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -67863,19 +90650,24 @@ class ObjCBlock_ffiVoid_NSURLCredential extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSURLCredential.fromFunction( - SwiftLibrary lib, void Function(NSURLCredential?) fn) - : this._( - lib._newBlock1( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_NSURLCredential_closureTrampoline) - .cast(), - _ObjCBlock_ffiVoid_NSURLCredential_registerClosure( - (ffi.Pointer arg0) => fn(arg0.address == 0 - ? null - : NSURLCredential._(arg0, lib, retain: true, release: true)))), - lib); + SwiftLibrary lib, + void Function(NSURLCredential?) fn, + ) : this._(objc.newBlock( + _dartFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_NSURLCredential_closureTrampoline).cast(), + _ObjCBlock_ffiVoid_NSURLCredential_registerClosure(( + ffi.Pointer arg0, + ) => fn( + arg0.address == 0 + ? null + : NSURLCredential._(arg0, lib, retain: true, release: true), + )), + ), lib); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -67888,166 +90680,243 @@ class ObjCBlock_ffiVoid_NSURLCredential extends _ObjCBlockBase { /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. ObjCBlock_ffiVoid_NSURLCredential.listener( - SwiftLibrary lib, void Function(NSURLCredential?) fn) - : this._( - lib._newBlock1( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, - ffi.Pointer)>.listener( - _ObjCBlock_ffiVoid_NSURLCredential_closureTrampoline) - ..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSURLCredential_registerClosure( - (ffi.Pointer arg0) => fn( - arg0.address == 0 ? null : NSURLCredential._(arg0, lib, retain: true, release: true)))), - lib); + SwiftLibrary lib, + void Function(NSURLCredential?) fn, + ) : this._(objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ) + >.listener( + _ObjCBlock_ffiVoid_NSURLCredential_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSURLCredential_registerClosure(( + ffi.Pointer arg0, + ) => fn( + arg0.address == 0 + ? null + : NSURLCredential._(arg0, lib, retain: true, release: true), + )), + ), lib); static ffi.NativeCallable< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer)>? - _dartFuncListenerTrampoline; + ffi.Void Function(ffi.Pointer, ffi.Pointer) + >? _dartFuncListenerTrampoline; - void call(NSURLCredential? arg0) => _id.ref.invoke + void call(NSURLCredential? arg0) => pointer.ref.invoke .cast< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0)>>() + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer block, + ffi.Pointer arg0, + ) + > + >() .asFunction< - void Function(ffi.Pointer<_ObjCBlock>, - ffi.Pointer)>()(_id, arg0?._id ?? ffi.nullptr); + void Function(ffi.Pointer, ffi.Pointer) + >()(pointer, arg0?.pointer ?? ffi.nullptr); } class NSURLProtocol extends NSObject { - NSURLProtocol._(ffi.Pointer id, SwiftLibrary lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSURLProtocol._( + ffi.Pointer pointer, + SwiftLibrary lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSURLProtocol] that points to the same underlying object as [other]. - static NSURLProtocol castFrom(T other) { - return NSURLProtocol._(other._id, other._lib, retain: true, release: true); + static NSURLProtocol castFrom( + SwiftLibrary lib, + T other, + ) { + return NSURLProtocol._(other.pointer, lib, retain: true, release: true); } /// Returns a [NSURLProtocol] that wraps the given raw object pointer. static NSURLProtocol castFromPointer( - SwiftLibrary lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + SwiftLibrary lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSURLProtocol._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSURLProtocol]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_NSURLProtocol1); + static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSURLProtocol1, + ); } - NSURLProtocol initWithRequest_cachedResponse_client_(NSURLRequest request, - NSCachedURLResponse? cachedResponse, NSObject? client) { + NSURLProtocol initWithRequest_cachedResponse_client_( + NSURLRequest request, + NSCachedURLResponse? cachedResponse, + NSObject? client, + ) { final _ret = _lib._objc_msgSend_1012( - _id, - _lib._sel_initWithRequest_cachedResponse_client_1, - request._id, - cachedResponse?._id ?? ffi.nullptr, - client?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_initWithRequest_cachedResponse_client_1, + request.pointer, + cachedResponse?.pointer ?? ffi.nullptr, + client?.pointer ?? ffi.nullptr, + ); return NSURLProtocol._(_ret, _lib, retain: true, release: true); } NSObject? get client { - final _ret = _lib._objc_msgSend_17(_id, _lib._sel_client1); + final _ret = _lib._objc_msgSend_17(this.pointer, _lib._sel_client1); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } NSURLRequest get request { - final _ret = _lib._objc_msgSend_988(_id, _lib._sel_request1); + final _ret = _lib._objc_msgSend_988(this.pointer, _lib._sel_request1); return NSURLRequest._(_ret, _lib, retain: true, release: true); } NSCachedURLResponse? get cachedResponse { - final _ret = _lib._objc_msgSend_1013(_id, _lib._sel_cachedResponse1); + final _ret = _lib._objc_msgSend_1013( + this.pointer, + _lib._sel_cachedResponse1, + ); return _ret.address == 0 ? null : NSCachedURLResponse._(_ret, _lib, retain: true, release: true); } static bool canInitWithRequest_(SwiftLibrary _lib, NSURLRequest request) { - return _lib._objc_msgSend_990(_lib._class_NSURLProtocol1, - _lib._sel_canInitWithRequest_1, request._id); + return _lib._objc_msgSend_990( + _lib._class_NSURLProtocol1, + _lib._sel_canInitWithRequest_1, + request.pointer, + ); } static NSURLRequest canonicalRequestForRequest_( - SwiftLibrary _lib, NSURLRequest request) { - final _ret = _lib._objc_msgSend_1014(_lib._class_NSURLProtocol1, - _lib._sel_canonicalRequestForRequest_1, request._id); + SwiftLibrary _lib, + NSURLRequest request, + ) { + final _ret = _lib._objc_msgSend_1014( + _lib._class_NSURLProtocol1, + _lib._sel_canonicalRequestForRequest_1, + request.pointer, + ); return NSURLRequest._(_ret, _lib, retain: true, release: true); } static bool requestIsCacheEquivalent_toRequest_( - SwiftLibrary _lib, NSURLRequest a, NSURLRequest b) { - return _lib._objc_msgSend_1015(_lib._class_NSURLProtocol1, - _lib._sel_requestIsCacheEquivalent_toRequest_1, a._id, b._id); + SwiftLibrary _lib, + NSURLRequest a, + NSURLRequest b, + ) { + return _lib._objc_msgSend_1015( + _lib._class_NSURLProtocol1, + _lib._sel_requestIsCacheEquivalent_toRequest_1, + a.pointer, + b.pointer, + ); } void startLoading() { - _lib._objc_msgSend_1(_id, _lib._sel_startLoading1); + _lib._objc_msgSend_1(this.pointer, _lib._sel_startLoading1); } void stopLoading() { - _lib._objc_msgSend_1(_id, _lib._sel_stopLoading1); + _lib._objc_msgSend_1(this.pointer, _lib._sel_stopLoading1); } static NSObject? propertyForKey_inRequest_( - SwiftLibrary _lib, NSString key, NSURLRequest request) { - final _ret = _lib._objc_msgSend_1016(_lib._class_NSURLProtocol1, - _lib._sel_propertyForKey_inRequest_1, key._id, request._id); + SwiftLibrary _lib, + NSString key, + NSURLRequest request, + ) { + final _ret = _lib._objc_msgSend_1016( + _lib._class_NSURLProtocol1, + _lib._sel_propertyForKey_inRequest_1, + key.pointer, + request.pointer, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } - static void setProperty_forKey_inRequest_(SwiftLibrary _lib, NSObject value, - NSString key, NSMutableURLRequest request) { + static void setProperty_forKey_inRequest_( + SwiftLibrary _lib, + NSObject value, + NSString key, + NSMutableURLRequest request, + ) { _lib._objc_msgSend_1023( - _lib._class_NSURLProtocol1, - _lib._sel_setProperty_forKey_inRequest_1, - value._id, - key._id, - request._id); + _lib._class_NSURLProtocol1, + _lib._sel_setProperty_forKey_inRequest_1, + value.pointer, + key.pointer, + request.pointer, + ); } static void removePropertyForKey_inRequest_( - SwiftLibrary _lib, NSString key, NSMutableURLRequest request) { - _lib._objc_msgSend_1024(_lib._class_NSURLProtocol1, - _lib._sel_removePropertyForKey_inRequest_1, key._id, request._id); + SwiftLibrary _lib, + NSString key, + NSMutableURLRequest request, + ) { + _lib._objc_msgSend_1024( + _lib._class_NSURLProtocol1, + _lib._sel_removePropertyForKey_inRequest_1, + key.pointer, + request.pointer, + ); } static bool registerClass_(SwiftLibrary _lib, NSObject protocolClass) { - return _lib._objc_msgSend_0(_lib._class_NSURLProtocol1, - _lib._sel_registerClass_1, protocolClass._id); + return _lib._objc_msgSend_0( + _lib._class_NSURLProtocol1, + _lib._sel_registerClass_1, + protocolClass.pointer, + ); } static void unregisterClass_(SwiftLibrary _lib, NSObject protocolClass) { - _lib._objc_msgSend_15(_lib._class_NSURLProtocol1, - _lib._sel_unregisterClass_1, protocolClass._id); + _lib._objc_msgSend_15( + _lib._class_NSURLProtocol1, + _lib._sel_unregisterClass_1, + protocolClass.pointer, + ); } static bool canInitWithTask_(SwiftLibrary _lib, NSURLSessionTask task) { return _lib._objc_msgSend_1025( - _lib._class_NSURLProtocol1, _lib._sel_canInitWithTask_1, task._id); + _lib._class_NSURLProtocol1, + _lib._sel_canInitWithTask_1, + task.pointer, + ); } - NSURLProtocol initWithTask_cachedResponse_client_(NSURLSessionTask task, - NSCachedURLResponse? cachedResponse, NSObject? client) { + NSURLProtocol initWithTask_cachedResponse_client_( + NSURLSessionTask task, + NSCachedURLResponse? cachedResponse, + NSObject? client, + ) { final _ret = _lib._objc_msgSend_1026( - _id, - _lib._sel_initWithTask_cachedResponse_client_1, - task._id, - cachedResponse?._id ?? ffi.nullptr, - client?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_initWithTask_cachedResponse_client_1, + task.pointer, + cachedResponse?.pointer ?? ffi.nullptr, + client?.pointer ?? ffi.nullptr, + ); return NSURLProtocol._(_ret, _lib, retain: true, release: true); } NSURLSessionTask? get task { - final _ret = _lib._objc_msgSend_1027(_id, _lib._sel_task1); + final _ret = _lib._objc_msgSend_1027(this.pointer, _lib._sel_task1); return _ret.address == 0 ? null : NSURLSessionTask._(_ret, _lib, retain: true, release: true); @@ -68055,120 +90924,174 @@ class NSURLProtocol extends NSObject { @override NSURLProtocol init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSURLProtocol._(_ret, _lib, retain: true, release: true); } static NSURLProtocol new1(SwiftLibrary _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSURLProtocol1, _lib._sel_new1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSURLProtocol1, + _lib._sel_new1, + ); return NSURLProtocol._(_ret, _lib, retain: false, release: true); } static NSURLProtocol allocWithZone_( - SwiftLibrary _lib, ffi.Pointer<_NSZone> zone) { + SwiftLibrary _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSURLProtocol1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSURLProtocol1, + _lib._sel_allocWithZone_1, + zone, + ); return NSURLProtocol._(_ret, _lib, retain: false, release: true); } static NSURLProtocol alloc(SwiftLibrary _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSURLProtocol1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSURLProtocol1, + _lib._sel_alloc1, + ); return NSURLProtocol._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + SwiftLibrary _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSURLProtocol1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSURLProtocol1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSURLProtocol1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + SwiftLibrary _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSURLProtocol1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { return _lib._objc_msgSend_12( - _lib._class_NSURLProtocol1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_NSURLProtocol1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(SwiftLibrary _lib) { return _lib._objc_msgSend_12( - _lib._class_NSURLProtocol1, _lib._sel_useStoredAccessor1); + _lib._class_NSURLProtocol1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSURLProtocol1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSURLProtocol1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSURLProtocol1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSURLProtocol1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, NSArray keys, NSString dependentKey) { + SwiftLibrary _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSURLProtocol1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSURLProtocol1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_85( - _lib._class_NSURLProtocol1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSURLProtocol1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLProtocol1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSURLProtocol1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } class NSMutableURLRequest extends NSURLRequest { - NSMutableURLRequest._(ffi.Pointer id, SwiftLibrary lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSMutableURLRequest._( + ffi.Pointer pointer, + SwiftLibrary lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSMutableURLRequest] that points to the same underlying object as [other]. - static NSMutableURLRequest castFrom(T other) { - return NSMutableURLRequest._(other._id, other._lib, - retain: true, release: true); + static NSMutableURLRequest castFrom( + SwiftLibrary lib, + T other, + ) { + return NSMutableURLRequest._( + other.pointer, + lib, + retain: true, + release: true, + ); } /// Returns a [NSMutableURLRequest] that wraps the given raw object pointer. static NSMutableURLRequest castFromPointer( - SwiftLibrary lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + SwiftLibrary lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSMutableURLRequest._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSMutableURLRequest]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0(obj._id, obj._lib._sel_isKindOfClass_1, - obj._lib._class_NSMutableURLRequest1); + static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSMutableURLRequest1, + ); } @override NSURL? get URL { - final _ret = _lib._objc_msgSend_45(_id, _lib._sel_URL1); + final _ret = _lib._objc_msgSend_45(this.pointer, _lib._sel_URL1); return _ret.address == 0 ? null : NSURL._(_ret, _lib, retain: true, release: true); @@ -68176,32 +91099,46 @@ class NSMutableURLRequest extends NSURLRequest { set URL(NSURL? value) { return _lib._objc_msgSend_671( - _id, _lib._sel_setURL_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setURL_1, + value?.pointer ?? ffi.nullptr, + ); } @override int get cachePolicy { - return _lib._objc_msgSend_859(_id, _lib._sel_cachePolicy1); + return _lib._objc_msgSend_859(this.pointer, _lib._sel_cachePolicy1); } set cachePolicy(int value) { - return _lib._objc_msgSend_1017(_id, _lib._sel_setCachePolicy_1, value); + return _lib._objc_msgSend_1017( + this.pointer, + _lib._sel_setCachePolicy_1, + value, + ); } @override double get timeoutInterval { - return _lib._objc_msgSend_useVariants1 - ? _lib._objc_msgSend_165_fpret(_id, _lib._sel_timeoutInterval1) - : _lib._objc_msgSend_165(_id, _lib._sel_timeoutInterval1); + return objc.useMsgSendVariants + ? _lib._objc_msgSend_165_fpret(this.pointer, _lib._sel_timeoutInterval1) + : _lib._objc_msgSend_165(this.pointer, _lib._sel_timeoutInterval1); } set timeoutInterval(double value) { - return _lib._objc_msgSend_542(_id, _lib._sel_setTimeoutInterval_1, value); + return _lib._objc_msgSend_542( + this.pointer, + _lib._sel_setTimeoutInterval_1, + value, + ); } @override NSURL? get mainDocumentURL { - final _ret = _lib._objc_msgSend_45(_id, _lib._sel_mainDocumentURL1); + final _ret = _lib._objc_msgSend_45( + this.pointer, + _lib._sel_mainDocumentURL1, + ); return _ret.address == 0 ? null : NSURL._(_ret, _lib, retain: true, release: true); @@ -68209,91 +91146,131 @@ class NSMutableURLRequest extends NSURLRequest { set mainDocumentURL(NSURL? value) { return _lib._objc_msgSend_671( - _id, _lib._sel_setMainDocumentURL_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setMainDocumentURL_1, + value?.pointer ?? ffi.nullptr, + ); } @override int get networkServiceType { - return _lib._objc_msgSend_860(_id, _lib._sel_networkServiceType1); + return _lib._objc_msgSend_860(this.pointer, _lib._sel_networkServiceType1); } set networkServiceType(int value) { return _lib._objc_msgSend_1018( - _id, _lib._sel_setNetworkServiceType_1, value); + this.pointer, + _lib._sel_setNetworkServiceType_1, + value, + ); } @override bool get allowsCellularAccess { - return _lib._objc_msgSend_12(_id, _lib._sel_allowsCellularAccess1); + return _lib._objc_msgSend_12(this.pointer, _lib._sel_allowsCellularAccess1); } set allowsCellularAccess(bool value) { return _lib._objc_msgSend_527( - _id, _lib._sel_setAllowsCellularAccess_1, value); + this.pointer, + _lib._sel_setAllowsCellularAccess_1, + value, + ); } @override bool get allowsExpensiveNetworkAccess { - return _lib._objc_msgSend_12(_id, _lib._sel_allowsExpensiveNetworkAccess1); + return _lib._objc_msgSend_12( + this.pointer, + _lib._sel_allowsExpensiveNetworkAccess1, + ); } set allowsExpensiveNetworkAccess(bool value) { return _lib._objc_msgSend_527( - _id, _lib._sel_setAllowsExpensiveNetworkAccess_1, value); + this.pointer, + _lib._sel_setAllowsExpensiveNetworkAccess_1, + value, + ); } @override bool get allowsConstrainedNetworkAccess { return _lib._objc_msgSend_12( - _id, _lib._sel_allowsConstrainedNetworkAccess1); + this.pointer, + _lib._sel_allowsConstrainedNetworkAccess1, + ); } set allowsConstrainedNetworkAccess(bool value) { return _lib._objc_msgSend_527( - _id, _lib._sel_setAllowsConstrainedNetworkAccess_1, value); + this.pointer, + _lib._sel_setAllowsConstrainedNetworkAccess_1, + value, + ); } @override bool get assumesHTTP3Capable { - return _lib._objc_msgSend_12(_id, _lib._sel_assumesHTTP3Capable1); + return _lib._objc_msgSend_12(this.pointer, _lib._sel_assumesHTTP3Capable1); } set assumesHTTP3Capable(bool value) { return _lib._objc_msgSend_527( - _id, _lib._sel_setAssumesHTTP3Capable_1, value); + this.pointer, + _lib._sel_setAssumesHTTP3Capable_1, + value, + ); } @override int get attribution { - return _lib._objc_msgSend_861(_id, _lib._sel_attribution1); + return _lib._objc_msgSend_861(this.pointer, _lib._sel_attribution1); } set attribution(int value) { - return _lib._objc_msgSend_1019(_id, _lib._sel_setAttribution_1, value); + return _lib._objc_msgSend_1019( + this.pointer, + _lib._sel_setAttribution_1, + value, + ); } @override bool get requiresDNSSECValidation { - return _lib._objc_msgSend_12(_id, _lib._sel_requiresDNSSECValidation1); + return _lib._objc_msgSend_12( + this.pointer, + _lib._sel_requiresDNSSECValidation1, + ); } set requiresDNSSECValidation(bool value) { return _lib._objc_msgSend_527( - _id, _lib._sel_setRequiresDNSSECValidation_1, value); + this.pointer, + _lib._sel_setRequiresDNSSECValidation_1, + value, + ); } NSString get HTTPMethod { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_HTTPMethod1); + final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_HTTPMethod1); return NSString._(_ret, _lib, retain: true, release: true); } set HTTPMethod(NSString value) { - return _lib._objc_msgSend_646(_id, _lib._sel_setHTTPMethod_1, value._id); + return _lib._objc_msgSend_646( + this.pointer, + _lib._sel_setHTTPMethod_1, + value.pointer, + ); } @override NSDictionary? get allHTTPHeaderFields { - final _ret = _lib._objc_msgSend_390(_id, _lib._sel_allHTTPHeaderFields1); + final _ret = _lib._objc_msgSend_390( + this.pointer, + _lib._sel_allHTTPHeaderFields1, + ); return _ret.address == 0 ? null : NSDictionary._(_ret, _lib, retain: true, release: true); @@ -68301,22 +91278,33 @@ class NSMutableURLRequest extends NSURLRequest { set allHTTPHeaderFields(NSDictionary? value) { return _lib._objc_msgSend_634( - _id, _lib._sel_setAllHTTPHeaderFields_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setAllHTTPHeaderFields_1, + value?.pointer ?? ffi.nullptr, + ); } void setValue_forHTTPHeaderField_(NSString? value, NSString field) { - _lib._objc_msgSend_1020(_id, _lib._sel_setValue_forHTTPHeaderField_1, - value?._id ?? ffi.nullptr, field._id); + _lib._objc_msgSend_1020( + this.pointer, + _lib._sel_setValue_forHTTPHeaderField_1, + value?.pointer ?? ffi.nullptr, + field.pointer, + ); } void addValue_forHTTPHeaderField_(NSString value, NSString field) { _lib._objc_msgSend_551( - _id, _lib._sel_addValue_forHTTPHeaderField_1, value._id, field._id); + this.pointer, + _lib._sel_addValue_forHTTPHeaderField_1, + value.pointer, + field.pointer, + ); } @override NSData? get HTTPBody { - final _ret = _lib._objc_msgSend_286(_id, _lib._sel_HTTPBody1); + final _ret = _lib._objc_msgSend_286(this.pointer, _lib._sel_HTTPBody1); return _ret.address == 0 ? null : NSData._(_ret, _lib, retain: true, release: true); @@ -68324,12 +91312,18 @@ class NSMutableURLRequest extends NSURLRequest { set HTTPBody(NSData? value) { return _lib._objc_msgSend_1021( - _id, _lib._sel_setHTTPBody_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setHTTPBody_1, + value?.pointer ?? ffi.nullptr, + ); } @override NSInputStream? get HTTPBodyStream { - final _ret = _lib._objc_msgSend_875(_id, _lib._sel_HTTPBodyStream1); + final _ret = _lib._objc_msgSend_875( + this.pointer, + _lib._sel_HTTPBodyStream1, + ); return _ret.address == 0 ? null : NSInputStream._(_ret, _lib, retain: true, release: true); @@ -68337,203 +91331,295 @@ class NSMutableURLRequest extends NSURLRequest { set HTTPBodyStream(NSInputStream? value) { return _lib._objc_msgSend_1022( - _id, _lib._sel_setHTTPBodyStream_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setHTTPBodyStream_1, + value?.pointer ?? ffi.nullptr, + ); } @override bool get HTTPShouldHandleCookies { - return _lib._objc_msgSend_12(_id, _lib._sel_HTTPShouldHandleCookies1); + return _lib._objc_msgSend_12( + this.pointer, + _lib._sel_HTTPShouldHandleCookies1, + ); } set HTTPShouldHandleCookies(bool value) { return _lib._objc_msgSend_527( - _id, _lib._sel_setHTTPShouldHandleCookies_1, value); + this.pointer, + _lib._sel_setHTTPShouldHandleCookies_1, + value, + ); } @override bool get HTTPShouldUsePipelining { - return _lib._objc_msgSend_12(_id, _lib._sel_HTTPShouldUsePipelining1); + return _lib._objc_msgSend_12( + this.pointer, + _lib._sel_HTTPShouldUsePipelining1, + ); } set HTTPShouldUsePipelining(bool value) { return _lib._objc_msgSend_527( - _id, _lib._sel_setHTTPShouldUsePipelining_1, value); + this.pointer, + _lib._sel_setHTTPShouldUsePipelining_1, + value, + ); } static NSMutableURLRequest requestWithURL_(SwiftLibrary _lib, NSURL URL) { final _ret = _lib._objc_msgSend_262( - _lib._class_NSMutableURLRequest1, _lib._sel_requestWithURL_1, URL._id); + _lib._class_NSMutableURLRequest1, + _lib._sel_requestWithURL_1, + URL.pointer, + ); return NSMutableURLRequest._(_ret, _lib, retain: true, release: true); } static bool getSupportsSecureCoding(SwiftLibrary _lib) { return _lib._objc_msgSend_12( - _lib._class_NSMutableURLRequest1, _lib._sel_supportsSecureCoding1); + _lib._class_NSMutableURLRequest1, + _lib._sel_supportsSecureCoding1, + ); } static NSMutableURLRequest requestWithURL_cachePolicy_timeoutInterval_( - SwiftLibrary _lib, NSURL URL, int cachePolicy, double timeoutInterval) { + SwiftLibrary _lib, + NSURL URL, + int cachePolicy, + double timeoutInterval, + ) { final _ret = _lib._objc_msgSend_858( - _lib._class_NSMutableURLRequest1, - _lib._sel_requestWithURL_cachePolicy_timeoutInterval_1, - URL._id, - cachePolicy, - timeoutInterval); + _lib._class_NSMutableURLRequest1, + _lib._sel_requestWithURL_cachePolicy_timeoutInterval_1, + URL.pointer, + cachePolicy, + timeoutInterval, + ); return NSMutableURLRequest._(_ret, _lib, retain: true, release: true); } @override NSMutableURLRequest initWithURL_(NSURL URL) { - final _ret = _lib._objc_msgSend_262(_id, _lib._sel_initWithURL_1, URL._id); + final _ret = _lib._objc_msgSend_262( + this.pointer, + _lib._sel_initWithURL_1, + URL.pointer, + ); return NSMutableURLRequest._(_ret, _lib, retain: true, release: true); } @override NSMutableURLRequest initWithURL_cachePolicy_timeoutInterval_( - NSURL URL, int cachePolicy, double timeoutInterval) { + NSURL URL, + int cachePolicy, + double timeoutInterval, + ) { final _ret = _lib._objc_msgSend_858( - _id, - _lib._sel_initWithURL_cachePolicy_timeoutInterval_1, - URL._id, - cachePolicy, - timeoutInterval); + this.pointer, + _lib._sel_initWithURL_cachePolicy_timeoutInterval_1, + URL.pointer, + cachePolicy, + timeoutInterval, + ); return NSMutableURLRequest._(_ret, _lib, retain: true, release: true); } @override NSMutableURLRequest init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSMutableURLRequest._(_ret, _lib, retain: true, release: true); } static NSMutableURLRequest new1(SwiftLibrary _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSMutableURLRequest1, _lib._sel_new1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSMutableURLRequest1, + _lib._sel_new1, + ); return NSMutableURLRequest._(_ret, _lib, retain: false, release: true); } static NSMutableURLRequest allocWithZone_( - SwiftLibrary _lib, ffi.Pointer<_NSZone> zone) { + SwiftLibrary _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSMutableURLRequest1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSMutableURLRequest1, + _lib._sel_allocWithZone_1, + zone, + ); return NSMutableURLRequest._(_ret, _lib, retain: false, release: true); } static NSMutableURLRequest alloc(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSMutableURLRequest1, _lib._sel_alloc1); + _lib._class_NSMutableURLRequest1, + _lib._sel_alloc1, + ); return NSMutableURLRequest._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + SwiftLibrary _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSMutableURLRequest1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSMutableURLRequest1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSMutableURLRequest1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + SwiftLibrary _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSMutableURLRequest1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { - return _lib._objc_msgSend_12(_lib._class_NSMutableURLRequest1, - _lib._sel_accessInstanceVariablesDirectly1); + return _lib._objc_msgSend_12( + _lib._class_NSMutableURLRequest1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(SwiftLibrary _lib) { return _lib._objc_msgSend_12( - _lib._class_NSMutableURLRequest1, _lib._sel_useStoredAccessor1); + _lib._class_NSMutableURLRequest1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSMutableURLRequest1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSMutableURLRequest1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSMutableURLRequest1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSMutableURLRequest1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, NSArray keys, NSString dependentKey) { + SwiftLibrary _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSMutableURLRequest1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSMutableURLRequest1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_85(_lib._class_NSMutableURLRequest1, - _lib._sel_classFallbacksForKeyedArchiver1); + final _ret = _lib._objc_msgSend_85( + _lib._class_NSMutableURLRequest1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSMutableURLRequest1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSMutableURLRequest1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } class NSXMLParser extends NSObject { - NSXMLParser._(ffi.Pointer id, SwiftLibrary lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSXMLParser._( + ffi.Pointer pointer, + SwiftLibrary lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSXMLParser] that points to the same underlying object as [other]. - static NSXMLParser castFrom(T other) { - return NSXMLParser._(other._id, other._lib, retain: true, release: true); + static NSXMLParser castFrom( + SwiftLibrary lib, + T other, + ) { + return NSXMLParser._(other.pointer, lib, retain: true, release: true); } /// Returns a [NSXMLParser] that wraps the given raw object pointer. static NSXMLParser castFromPointer( - SwiftLibrary lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + SwiftLibrary lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSXMLParser._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSXMLParser]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_NSXMLParser1); + static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSXMLParser1, + ); } NSXMLParser? initWithContentsOfURL_(NSURL url) { - final _ret = - _lib._objc_msgSend_277(_id, _lib._sel_initWithContentsOfURL_1, url._id); + final _ret = _lib._objc_msgSend_277( + this.pointer, + _lib._sel_initWithContentsOfURL_1, + url.pointer, + ); return _ret.address == 0 ? null : NSXMLParser._(_ret, _lib, retain: true, release: true); } NSXMLParser initWithData_(NSData data) { - final _ret = - _lib._objc_msgSend_279(_id, _lib._sel_initWithData_1, data._id); + final _ret = _lib._objc_msgSend_279( + this.pointer, + _lib._sel_initWithData_1, + data.pointer, + ); return NSXMLParser._(_ret, _lib, retain: true, release: true); } NSXMLParser initWithStream_(NSInputStream stream) { - final _ret = - _lib._objc_msgSend_1028(_id, _lib._sel_initWithStream_1, stream._id); + final _ret = _lib._objc_msgSend_1028( + this.pointer, + _lib._sel_initWithStream_1, + stream.pointer, + ); return NSXMLParser._(_ret, _lib, retain: true, release: true); } NSObject? get delegate { - final _ret = _lib._objc_msgSend_17(_id, _lib._sel_delegate1); + final _ret = _lib._objc_msgSend_17(this.pointer, _lib._sel_delegate1); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); @@ -68541,99 +91627,130 @@ class NSXMLParser extends NSObject { set delegate(NSObject? value) { return _lib._objc_msgSend_416( - _id, _lib._sel_setDelegate_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setDelegate_1, + value?.pointer ?? ffi.nullptr, + ); } bool get shouldProcessNamespaces { - return _lib._objc_msgSend_12(_id, _lib._sel_shouldProcessNamespaces1); + return _lib._objc_msgSend_12( + this.pointer, + _lib._sel_shouldProcessNamespaces1, + ); } set shouldProcessNamespaces(bool value) { return _lib._objc_msgSend_527( - _id, _lib._sel_setShouldProcessNamespaces_1, value); + this.pointer, + _lib._sel_setShouldProcessNamespaces_1, + value, + ); } bool get shouldReportNamespacePrefixes { - return _lib._objc_msgSend_12(_id, _lib._sel_shouldReportNamespacePrefixes1); + return _lib._objc_msgSend_12( + this.pointer, + _lib._sel_shouldReportNamespacePrefixes1, + ); } set shouldReportNamespacePrefixes(bool value) { return _lib._objc_msgSend_527( - _id, _lib._sel_setShouldReportNamespacePrefixes_1, value); + this.pointer, + _lib._sel_setShouldReportNamespacePrefixes_1, + value, + ); } int get externalEntityResolvingPolicy { return _lib._objc_msgSend_1029( - _id, _lib._sel_externalEntityResolvingPolicy1); + this.pointer, + _lib._sel_externalEntityResolvingPolicy1, + ); } set externalEntityResolvingPolicy(int value) { return _lib._objc_msgSend_1030( - _id, _lib._sel_setExternalEntityResolvingPolicy_1, value); + this.pointer, + _lib._sel_setExternalEntityResolvingPolicy_1, + value, + ); } NSSet? get allowedExternalEntityURLs { - final _ret = - _lib._objc_msgSend_319(_id, _lib._sel_allowedExternalEntityURLs1); + final _ret = _lib._objc_msgSend_319( + this.pointer, + _lib._sel_allowedExternalEntityURLs1, + ); return _ret.address == 0 ? null : NSSet._(_ret, _lib, retain: true, release: true); } set allowedExternalEntityURLs(NSSet? value) { - return _lib._objc_msgSend_1031(_id, - _lib._sel_setAllowedExternalEntityURLs_1, value?._id ?? ffi.nullptr); + return _lib._objc_msgSend_1031( + this.pointer, + _lib._sel_setAllowedExternalEntityURLs_1, + value?.pointer ?? ffi.nullptr, + ); } bool parse() { - return _lib._objc_msgSend_12(_id, _lib._sel_parse1); + return _lib._objc_msgSend_12(this.pointer, _lib._sel_parse1); } void abortParsing() { - _lib._objc_msgSend_1(_id, _lib._sel_abortParsing1); + _lib._objc_msgSend_1(this.pointer, _lib._sel_abortParsing1); } NSError? get parserError { - final _ret = _lib._objc_msgSend_322(_id, _lib._sel_parserError1); + final _ret = _lib._objc_msgSend_322(this.pointer, _lib._sel_parserError1); return _ret.address == 0 ? null : NSError._(_ret, _lib, retain: true, release: true); } bool get shouldResolveExternalEntities { - return _lib._objc_msgSend_12(_id, _lib._sel_shouldResolveExternalEntities1); + return _lib._objc_msgSend_12( + this.pointer, + _lib._sel_shouldResolveExternalEntities1, + ); } set shouldResolveExternalEntities(bool value) { return _lib._objc_msgSend_527( - _id, _lib._sel_setShouldResolveExternalEntities_1, value); + this.pointer, + _lib._sel_setShouldResolveExternalEntities_1, + value, + ); } NSString? get publicID { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_publicID1); + final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_publicID1); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } NSString? get systemID { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_systemID1); + final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_systemID1); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } int get lineNumber { - return _lib._objc_msgSend_83(_id, _lib._sel_lineNumber1); + return _lib._objc_msgSend_83(this.pointer, _lib._sel_lineNumber1); } int get columnNumber { - return _lib._objc_msgSend_83(_id, _lib._sel_columnNumber1); + return _lib._objc_msgSend_83(this.pointer, _lib._sel_columnNumber1); } @override NSXMLParser init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSXMLParser._(_ret, _lib, retain: true, release: true); } @@ -68643,78 +91760,114 @@ class NSXMLParser extends NSObject { } static NSXMLParser allocWithZone_( - SwiftLibrary _lib, ffi.Pointer<_NSZone> zone) { + SwiftLibrary _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSXMLParser1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSXMLParser1, + _lib._sel_allocWithZone_1, + zone, + ); return NSXMLParser._(_ret, _lib, retain: false, release: true); } static NSXMLParser alloc(SwiftLibrary _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSXMLParser1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSXMLParser1, + _lib._sel_alloc1, + ); return NSXMLParser._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + SwiftLibrary _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSXMLParser1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSXMLParser1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSXMLParser1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + SwiftLibrary _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSXMLParser1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { return _lib._objc_msgSend_12( - _lib._class_NSXMLParser1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_NSXMLParser1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(SwiftLibrary _lib) { return _lib._objc_msgSend_12( - _lib._class_NSXMLParser1, _lib._sel_useStoredAccessor1); + _lib._class_NSXMLParser1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSXMLParser1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSXMLParser1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSXMLParser1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSXMLParser1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, NSArray keys, NSString dependentKey) { + SwiftLibrary _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSXMLParser1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSXMLParser1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_85( - _lib._class_NSXMLParser1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSXMLParser1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSXMLParser1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSXMLParser1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } @@ -68727,89 +91880,127 @@ abstract class NSXMLParserExternalEntityResolvingPolicy { } class NSFileWrapper extends NSObject { - NSFileWrapper._(ffi.Pointer id, SwiftLibrary lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSFileWrapper._( + ffi.Pointer pointer, + SwiftLibrary lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSFileWrapper] that points to the same underlying object as [other]. - static NSFileWrapper castFrom(T other) { - return NSFileWrapper._(other._id, other._lib, retain: true, release: true); + static NSFileWrapper castFrom( + SwiftLibrary lib, + T other, + ) { + return NSFileWrapper._(other.pointer, lib, retain: true, release: true); } /// Returns a [NSFileWrapper] that wraps the given raw object pointer. static NSFileWrapper castFromPointer( - SwiftLibrary lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + SwiftLibrary lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSFileWrapper._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSFileWrapper]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_NSFileWrapper1); + static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSFileWrapper1, + ); } NSFileWrapper? initWithURL_options_error_( - NSURL url, int options, ffi.Pointer> outError) { + NSURL url, + int options, + ffi.Pointer> outError, + ) { final _ret = _lib._objc_msgSend_1032( - _id, _lib._sel_initWithURL_options_error_1, url._id, options, outError); + this.pointer, + _lib._sel_initWithURL_options_error_1, + url.pointer, + options, + outError, + ); return _ret.address == 0 ? null : NSFileWrapper._(_ret, _lib, retain: true, release: true); } NSFileWrapper initDirectoryWithFileWrappers_( - NSDictionary childrenByPreferredName) { - final _ret = _lib._objc_msgSend_159(_id, - _lib._sel_initDirectoryWithFileWrappers_1, childrenByPreferredName._id); + NSDictionary childrenByPreferredName, + ) { + final _ret = _lib._objc_msgSend_159( + this.pointer, + _lib._sel_initDirectoryWithFileWrappers_1, + childrenByPreferredName.pointer, + ); return NSFileWrapper._(_ret, _lib, retain: true, release: true); } NSFileWrapper initRegularFileWithContents_(NSData contents) { final _ret = _lib._objc_msgSend_279( - _id, _lib._sel_initRegularFileWithContents_1, contents._id); + this.pointer, + _lib._sel_initRegularFileWithContents_1, + contents.pointer, + ); return NSFileWrapper._(_ret, _lib, retain: true, release: true); } NSFileWrapper initSymbolicLinkWithDestinationURL_(NSURL url) { final _ret = _lib._objc_msgSend_262( - _id, _lib._sel_initSymbolicLinkWithDestinationURL_1, url._id); + this.pointer, + _lib._sel_initSymbolicLinkWithDestinationURL_1, + url.pointer, + ); return NSFileWrapper._(_ret, _lib, retain: true, release: true); } NSFileWrapper? initWithSerializedRepresentation_( - NSData serializeRepresentation) { + NSData serializeRepresentation, + ) { final _ret = _lib._objc_msgSend_874( - _id, - _lib._sel_initWithSerializedRepresentation_1, - serializeRepresentation._id); + this.pointer, + _lib._sel_initWithSerializedRepresentation_1, + serializeRepresentation.pointer, + ); return _ret.address == 0 ? null : NSFileWrapper._(_ret, _lib, retain: true, release: true); } NSFileWrapper? initWithCoder_(NSCoder inCoder) { - final _ret = - _lib._objc_msgSend_47(_id, _lib._sel_initWithCoder_1, inCoder._id); + final _ret = _lib._objc_msgSend_47( + this.pointer, + _lib._sel_initWithCoder_1, + inCoder.pointer, + ); return _ret.address == 0 ? null : NSFileWrapper._(_ret, _lib, retain: true, release: true); } bool get directory { - return _lib._objc_msgSend_12(_id, _lib._sel_isDirectory1); + return _lib._objc_msgSend_12(this.pointer, _lib._sel_isDirectory1); } bool get regularFile { - return _lib._objc_msgSend_12(_id, _lib._sel_isRegularFile1); + return _lib._objc_msgSend_12(this.pointer, _lib._sel_isRegularFile1); } bool get symbolicLink { - return _lib._objc_msgSend_12(_id, _lib._sel_isSymbolicLink1); + return _lib._objc_msgSend_12(this.pointer, _lib._sel_isSymbolicLink1); } NSString? get preferredFilename { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_preferredFilename1); + final _ret = _lib._objc_msgSend_44( + this.pointer, + _lib._sel_preferredFilename1, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); @@ -68817,11 +92008,14 @@ class NSFileWrapper extends NSObject { set preferredFilename(NSString? value) { return _lib._objc_msgSend_545( - _id, _lib._sel_setPreferredFilename_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setPreferredFilename_1, + value?.pointer ?? ffi.nullptr, + ); } NSString? get filename { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_filename1); + final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_filename1); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); @@ -68829,104 +92023,150 @@ class NSFileWrapper extends NSObject { set filename(NSString? value) { return _lib._objc_msgSend_545( - _id, _lib._sel_setFilename_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setFilename_1, + value?.pointer ?? ffi.nullptr, + ); } NSDictionary get fileAttributes { - final _ret = _lib._objc_msgSend_181(_id, _lib._sel_fileAttributes1); + final _ret = _lib._objc_msgSend_181( + this.pointer, + _lib._sel_fileAttributes1, + ); return NSDictionary._(_ret, _lib, retain: true, release: true); } set fileAttributes(NSDictionary value) { return _lib._objc_msgSend_182( - _id, _lib._sel_setFileAttributes_1, value._id); + this.pointer, + _lib._sel_setFileAttributes_1, + value.pointer, + ); } bool matchesContentsOfURL_(NSURL url) { return _lib._objc_msgSend_265( - _id, _lib._sel_matchesContentsOfURL_1, url._id); + this.pointer, + _lib._sel_matchesContentsOfURL_1, + url.pointer, + ); } bool readFromURL_options_error_( - NSURL url, int options, ffi.Pointer> outError) { + NSURL url, + int options, + ffi.Pointer> outError, + ) { return _lib._objc_msgSend_1033( - _id, _lib._sel_readFromURL_options_error_1, url._id, options, outError); + this.pointer, + _lib._sel_readFromURL_options_error_1, + url.pointer, + options, + outError, + ); } bool writeToURL_options_originalContentsURL_error_( - NSURL url, - int options, - NSURL? originalContentsURL, - ffi.Pointer> outError) { + NSURL url, + int options, + NSURL? originalContentsURL, + ffi.Pointer> outError, + ) { return _lib._objc_msgSend_1034( - _id, - _lib._sel_writeToURL_options_originalContentsURL_error_1, - url._id, - options, - originalContentsURL?._id ?? ffi.nullptr, - outError); + this.pointer, + _lib._sel_writeToURL_options_originalContentsURL_error_1, + url.pointer, + options, + originalContentsURL?.pointer ?? ffi.nullptr, + outError, + ); } NSData? get serializedRepresentation { - final _ret = - _lib._objc_msgSend_286(_id, _lib._sel_serializedRepresentation1); + final _ret = _lib._objc_msgSend_286( + this.pointer, + _lib._sel_serializedRepresentation1, + ); return _ret.address == 0 ? null : NSData._(_ret, _lib, retain: true, release: true); } NSString addFileWrapper_(NSFileWrapper child) { - final _ret = - _lib._objc_msgSend_1035(_id, _lib._sel_addFileWrapper_1, child._id); + final _ret = _lib._objc_msgSend_1035( + this.pointer, + _lib._sel_addFileWrapper_1, + child.pointer, + ); return NSString._(_ret, _lib, retain: true, release: true); } NSString addRegularFileWithContents_preferredFilename_( - NSData data, NSString fileName) { + NSData data, + NSString fileName, + ) { final _ret = _lib._objc_msgSend_1036( - _id, - _lib._sel_addRegularFileWithContents_preferredFilename_1, - data._id, - fileName._id); + this.pointer, + _lib._sel_addRegularFileWithContents_preferredFilename_1, + data.pointer, + fileName.pointer, + ); return NSString._(_ret, _lib, retain: true, release: true); } void removeFileWrapper_(NSFileWrapper child) { - _lib._objc_msgSend_1037(_id, _lib._sel_removeFileWrapper_1, child._id); + _lib._objc_msgSend_1037( + this.pointer, + _lib._sel_removeFileWrapper_1, + child.pointer, + ); } NSDictionary? get fileWrappers { - final _ret = _lib._objc_msgSend_390(_id, _lib._sel_fileWrappers1); + final _ret = _lib._objc_msgSend_390(this.pointer, _lib._sel_fileWrappers1); return _ret.address == 0 ? null : NSDictionary._(_ret, _lib, retain: true, release: true); } NSString? keyForFileWrapper_(NSFileWrapper child) { - final _ret = - _lib._objc_msgSend_1038(_id, _lib._sel_keyForFileWrapper_1, child._id); + final _ret = _lib._objc_msgSend_1038( + this.pointer, + _lib._sel_keyForFileWrapper_1, + child.pointer, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } NSData? get regularFileContents { - final _ret = _lib._objc_msgSend_286(_id, _lib._sel_regularFileContents1); + final _ret = _lib._objc_msgSend_286( + this.pointer, + _lib._sel_regularFileContents1, + ); return _ret.address == 0 ? null : NSData._(_ret, _lib, retain: true, release: true); } NSURL? get symbolicLinkDestinationURL { - final _ret = - _lib._objc_msgSend_45(_id, _lib._sel_symbolicLinkDestinationURL1); + final _ret = _lib._objc_msgSend_45( + this.pointer, + _lib._sel_symbolicLinkDestinationURL1, + ); return _ret.address == 0 ? null : NSURL._(_ret, _lib, retain: true, release: true); } NSObject? initWithPath_(NSString path) { - final _ret = _lib._objc_msgSend_38(_id, _lib._sel_initWithPath_1, path._id); + final _ret = _lib._objc_msgSend_38( + this.pointer, + _lib._sel_initWithPath_1, + path.pointer, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); @@ -68934,135 +92174,196 @@ class NSFileWrapper extends NSObject { NSObject initSymbolicLinkWithDestination_(NSString path) { final _ret = _lib._objc_msgSend_31( - _id, _lib._sel_initSymbolicLinkWithDestination_1, path._id); + this.pointer, + _lib._sel_initSymbolicLinkWithDestination_1, + path.pointer, + ); return NSObject._(_ret, _lib, retain: true, release: true); } bool needsToBeUpdatedFromPath_(NSString path) { return _lib._objc_msgSend_64( - _id, _lib._sel_needsToBeUpdatedFromPath_1, path._id); + this.pointer, + _lib._sel_needsToBeUpdatedFromPath_1, + path.pointer, + ); } bool updateFromPath_(NSString path) { - return _lib._objc_msgSend_64(_id, _lib._sel_updateFromPath_1, path._id); + return _lib._objc_msgSend_64( + this.pointer, + _lib._sel_updateFromPath_1, + path.pointer, + ); } bool writeToFile_atomically_updateFilenames_( - NSString path, bool atomicFlag, bool updateFilenamesFlag) { + NSString path, + bool atomicFlag, + bool updateFilenamesFlag, + ) { return _lib._objc_msgSend_1039( - _id, - _lib._sel_writeToFile_atomically_updateFilenames_1, - path._id, - atomicFlag, - updateFilenamesFlag); + this.pointer, + _lib._sel_writeToFile_atomically_updateFilenames_1, + path.pointer, + atomicFlag, + updateFilenamesFlag, + ); } NSString addFileWithPath_(NSString path) { - final _ret = - _lib._objc_msgSend_69(_id, _lib._sel_addFileWithPath_1, path._id); + final _ret = _lib._objc_msgSend_69( + this.pointer, + _lib._sel_addFileWithPath_1, + path.pointer, + ); return NSString._(_ret, _lib, retain: true, release: true); } NSString addSymbolicLinkWithDestination_preferredFilename_( - NSString path, NSString filename) { + NSString path, + NSString filename, + ) { final _ret = _lib._objc_msgSend_364( - _id, - _lib._sel_addSymbolicLinkWithDestination_preferredFilename_1, - path._id, - filename._id); + this.pointer, + _lib._sel_addSymbolicLinkWithDestination_preferredFilename_1, + path.pointer, + filename.pointer, + ); return NSString._(_ret, _lib, retain: true, release: true); } NSString symbolicLinkDestination() { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_symbolicLinkDestination1); + final _ret = _lib._objc_msgSend_21( + this.pointer, + _lib._sel_symbolicLinkDestination1, + ); return NSString._(_ret, _lib, retain: true, release: true); } @override NSFileWrapper init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSFileWrapper._(_ret, _lib, retain: true, release: true); } static NSFileWrapper new1(SwiftLibrary _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSFileWrapper1, _lib._sel_new1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSFileWrapper1, + _lib._sel_new1, + ); return NSFileWrapper._(_ret, _lib, retain: false, release: true); } static NSFileWrapper allocWithZone_( - SwiftLibrary _lib, ffi.Pointer<_NSZone> zone) { + SwiftLibrary _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSFileWrapper1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSFileWrapper1, + _lib._sel_allocWithZone_1, + zone, + ); return NSFileWrapper._(_ret, _lib, retain: false, release: true); } static NSFileWrapper alloc(SwiftLibrary _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSFileWrapper1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSFileWrapper1, + _lib._sel_alloc1, + ); return NSFileWrapper._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + SwiftLibrary _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSFileWrapper1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSFileWrapper1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSFileWrapper1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + SwiftLibrary _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSFileWrapper1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { return _lib._objc_msgSend_12( - _lib._class_NSFileWrapper1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_NSFileWrapper1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(SwiftLibrary _lib) { return _lib._objc_msgSend_12( - _lib._class_NSFileWrapper1, _lib._sel_useStoredAccessor1); + _lib._class_NSFileWrapper1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSFileWrapper1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSFileWrapper1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSFileWrapper1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSFileWrapper1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, NSArray keys, NSString dependentKey) { + SwiftLibrary _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSFileWrapper1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSFileWrapper1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_85( - _lib._class_NSFileWrapper1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSFileWrapper1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSFileWrapper1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSFileWrapper1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } @@ -69078,74 +92379,101 @@ abstract class NSFileWrapperWritingOptions { } class NSURLSession extends NSObject { - NSURLSession._(ffi.Pointer id, SwiftLibrary lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSURLSession._( + ffi.Pointer pointer, + SwiftLibrary lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSURLSession] that points to the same underlying object as [other]. - static NSURLSession castFrom(T other) { - return NSURLSession._(other._id, other._lib, retain: true, release: true); + static NSURLSession castFrom( + SwiftLibrary lib, + T other, + ) { + return NSURLSession._(other.pointer, lib, retain: true, release: true); } /// Returns a [NSURLSession] that wraps the given raw object pointer. static NSURLSession castFromPointer( - SwiftLibrary lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + SwiftLibrary lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSURLSession._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSURLSession]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_NSURLSession1); + static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSURLSession1, + ); } static NSURLSession getSharedSession(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_1040( - _lib._class_NSURLSession1, _lib._sel_sharedSession1); + _lib._class_NSURLSession1, + _lib._sel_sharedSession1, + ); return NSURLSession._(_ret, _lib, retain: true, release: true); } static NSURLSession sessionWithConfiguration_( - SwiftLibrary _lib, NSURLSessionConfiguration configuration) { - final _ret = _lib._objc_msgSend_1056(_lib._class_NSURLSession1, - _lib._sel_sessionWithConfiguration_1, configuration._id); + SwiftLibrary _lib, + NSURLSessionConfiguration configuration, + ) { + final _ret = _lib._objc_msgSend_1056( + _lib._class_NSURLSession1, + _lib._sel_sessionWithConfiguration_1, + configuration.pointer, + ); return NSURLSession._(_ret, _lib, retain: true, release: true); } static NSURLSession sessionWithConfiguration_delegate_delegateQueue_( - SwiftLibrary _lib, - NSURLSessionConfiguration configuration, - NSObject? delegate, - NSOperationQueue? queue) { + SwiftLibrary _lib, + NSURLSessionConfiguration configuration, + NSObject? delegate, + NSOperationQueue? queue, + ) { final _ret = _lib._objc_msgSend_1057( - _lib._class_NSURLSession1, - _lib._sel_sessionWithConfiguration_delegate_delegateQueue_1, - configuration._id, - delegate?._id ?? ffi.nullptr, - queue?._id ?? ffi.nullptr); + _lib._class_NSURLSession1, + _lib._sel_sessionWithConfiguration_delegate_delegateQueue_1, + configuration.pointer, + delegate?.pointer ?? ffi.nullptr, + queue?.pointer ?? ffi.nullptr, + ); return NSURLSession._(_ret, _lib, retain: true, release: true); } NSOperationQueue get delegateQueue { - final _ret = _lib._objc_msgSend_917(_id, _lib._sel_delegateQueue1); + final _ret = _lib._objc_msgSend_917(this.pointer, _lib._sel_delegateQueue1); return NSOperationQueue._(_ret, _lib, retain: true, release: true); } NSObject? get delegate { - final _ret = _lib._objc_msgSend_17(_id, _lib._sel_delegate1); + final _ret = _lib._objc_msgSend_17(this.pointer, _lib._sel_delegate1); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } NSURLSessionConfiguration get configuration { - final _ret = _lib._objc_msgSend_1041(_id, _lib._sel_configuration1); + final _ret = _lib._objc_msgSend_1041( + this.pointer, + _lib._sel_configuration1, + ); return NSURLSessionConfiguration._(_ret, _lib, retain: true, release: true); } NSString? get sessionDescription { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_sessionDescription1); + final _ret = _lib._objc_msgSend_44( + this.pointer, + _lib._sel_sessionDescription1, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); @@ -69153,560 +92481,821 @@ class NSURLSession extends NSObject { set sessionDescription(NSString? value) { return _lib._objc_msgSend_545( - _id, _lib._sel_setSessionDescription_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setSessionDescription_1, + value?.pointer ?? ffi.nullptr, + ); } void finishTasksAndInvalidate() { - _lib._objc_msgSend_1(_id, _lib._sel_finishTasksAndInvalidate1); + _lib._objc_msgSend_1(this.pointer, _lib._sel_finishTasksAndInvalidate1); } void invalidateAndCancel() { - _lib._objc_msgSend_1(_id, _lib._sel_invalidateAndCancel1); + _lib._objc_msgSend_1(this.pointer, _lib._sel_invalidateAndCancel1); } void resetWithCompletionHandler_(ObjCBlock_ffiVoid completionHandler) { _lib._objc_msgSend_532( - _id, _lib._sel_resetWithCompletionHandler_1, completionHandler._id); + this.pointer, + _lib._sel_resetWithCompletionHandler_1, + completionHandler.pointer, + ); } void flushWithCompletionHandler_(ObjCBlock_ffiVoid completionHandler) { _lib._objc_msgSend_532( - _id, _lib._sel_flushWithCompletionHandler_1, completionHandler._id); + this.pointer, + _lib._sel_flushWithCompletionHandler_1, + completionHandler.pointer, + ); } void getTasksWithCompletionHandler_( - ObjCBlock_ffiVoid_NSArray_NSArray_NSArray completionHandler) { + ObjCBlock_ffiVoid_NSArray_NSArray_NSArray completionHandler, + ) { _lib._objc_msgSend_1058( - _id, _lib._sel_getTasksWithCompletionHandler_1, completionHandler._id); + this.pointer, + _lib._sel_getTasksWithCompletionHandler_1, + completionHandler.pointer, + ); } void getAllTasksWithCompletionHandler_( - ObjCBlock_ffiVoid_NSArray1 completionHandler) { - _lib._objc_msgSend_1059(_id, _lib._sel_getAllTasksWithCompletionHandler_1, - completionHandler._id); + ObjCBlock_ffiVoid_NSArray1 completionHandler, + ) { + _lib._objc_msgSend_1059( + this.pointer, + _lib._sel_getAllTasksWithCompletionHandler_1, + completionHandler.pointer, + ); } NSURLSessionDataTask dataTaskWithRequest_(NSURLRequest request) { final _ret = _lib._objc_msgSend_1060( - _id, _lib._sel_dataTaskWithRequest_1, request._id); + this.pointer, + _lib._sel_dataTaskWithRequest_1, + request.pointer, + ); return NSURLSessionDataTask._(_ret, _lib, retain: true, release: true); } NSURLSessionDataTask dataTaskWithURL_(NSURL url) { - final _ret = - _lib._objc_msgSend_1061(_id, _lib._sel_dataTaskWithURL_1, url._id); + final _ret = _lib._objc_msgSend_1061( + this.pointer, + _lib._sel_dataTaskWithURL_1, + url.pointer, + ); return NSURLSessionDataTask._(_ret, _lib, retain: true, release: true); } NSURLSessionUploadTask uploadTaskWithRequest_fromFile_( - NSURLRequest request, NSURL fileURL) { - final _ret = _lib._objc_msgSend_1063(_id, - _lib._sel_uploadTaskWithRequest_fromFile_1, request._id, fileURL._id); + NSURLRequest request, + NSURL fileURL, + ) { + final _ret = _lib._objc_msgSend_1063( + this.pointer, + _lib._sel_uploadTaskWithRequest_fromFile_1, + request.pointer, + fileURL.pointer, + ); return NSURLSessionUploadTask._(_ret, _lib, retain: true, release: true); } NSURLSessionUploadTask uploadTaskWithRequest_fromData_( - NSURLRequest request, NSData bodyData) { - final _ret = _lib._objc_msgSend_1064(_id, - _lib._sel_uploadTaskWithRequest_fromData_1, request._id, bodyData._id); + NSURLRequest request, + NSData bodyData, + ) { + final _ret = _lib._objc_msgSend_1064( + this.pointer, + _lib._sel_uploadTaskWithRequest_fromData_1, + request.pointer, + bodyData.pointer, + ); return NSURLSessionUploadTask._(_ret, _lib, retain: true, release: true); } NSURLSessionUploadTask uploadTaskWithResumeData_(NSData resumeData) { final _ret = _lib._objc_msgSend_1065( - _id, _lib._sel_uploadTaskWithResumeData_1, resumeData._id); + this.pointer, + _lib._sel_uploadTaskWithResumeData_1, + resumeData.pointer, + ); return NSURLSessionUploadTask._(_ret, _lib, retain: true, release: true); } NSURLSessionUploadTask uploadTaskWithStreamedRequest_(NSURLRequest request) { final _ret = _lib._objc_msgSend_1066( - _id, _lib._sel_uploadTaskWithStreamedRequest_1, request._id); + this.pointer, + _lib._sel_uploadTaskWithStreamedRequest_1, + request.pointer, + ); return NSURLSessionUploadTask._(_ret, _lib, retain: true, release: true); } NSURLSessionDownloadTask downloadTaskWithRequest_(NSURLRequest request) { final _ret = _lib._objc_msgSend_1067( - _id, _lib._sel_downloadTaskWithRequest_1, request._id); + this.pointer, + _lib._sel_downloadTaskWithRequest_1, + request.pointer, + ); return NSURLSessionDownloadTask._(_ret, _lib, retain: true, release: true); } NSURLSessionDownloadTask downloadTaskWithURL_(NSURL url) { - final _ret = - _lib._objc_msgSend_1068(_id, _lib._sel_downloadTaskWithURL_1, url._id); + final _ret = _lib._objc_msgSend_1068( + this.pointer, + _lib._sel_downloadTaskWithURL_1, + url.pointer, + ); return NSURLSessionDownloadTask._(_ret, _lib, retain: true, release: true); } NSURLSessionDownloadTask downloadTaskWithResumeData_(NSData resumeData) { final _ret = _lib._objc_msgSend_1069( - _id, _lib._sel_downloadTaskWithResumeData_1, resumeData._id); + this.pointer, + _lib._sel_downloadTaskWithResumeData_1, + resumeData.pointer, + ); return NSURLSessionDownloadTask._(_ret, _lib, retain: true, release: true); } NSURLSessionStreamTask streamTaskWithHostName_port_( - NSString hostname, int port) { + NSString hostname, + int port, + ) { final _ret = _lib._objc_msgSend_1072( - _id, _lib._sel_streamTaskWithHostName_port_1, hostname._id, port); + this.pointer, + _lib._sel_streamTaskWithHostName_port_1, + hostname.pointer, + port, + ); return NSURLSessionStreamTask._(_ret, _lib, retain: true, release: true); } NSURLSessionStreamTask streamTaskWithNetService_(NSNetService service) { final _ret = _lib._objc_msgSend_1080( - _id, _lib._sel_streamTaskWithNetService_1, service._id); + this.pointer, + _lib._sel_streamTaskWithNetService_1, + service.pointer, + ); return NSURLSessionStreamTask._(_ret, _lib, retain: true, release: true); } NSURLSessionWebSocketTask webSocketTaskWithURL_(NSURL url) { - final _ret = - _lib._objc_msgSend_1087(_id, _lib._sel_webSocketTaskWithURL_1, url._id); + final _ret = _lib._objc_msgSend_1087( + this.pointer, + _lib._sel_webSocketTaskWithURL_1, + url.pointer, + ); return NSURLSessionWebSocketTask._(_ret, _lib, retain: true, release: true); } NSURLSessionWebSocketTask webSocketTaskWithURL_protocols_( - NSURL url, NSArray protocols) { - final _ret = _lib._objc_msgSend_1088(_id, - _lib._sel_webSocketTaskWithURL_protocols_1, url._id, protocols._id); + NSURL url, + NSArray protocols, + ) { + final _ret = _lib._objc_msgSend_1088( + this.pointer, + _lib._sel_webSocketTaskWithURL_protocols_1, + url.pointer, + protocols.pointer, + ); return NSURLSessionWebSocketTask._(_ret, _lib, retain: true, release: true); } NSURLSessionWebSocketTask webSocketTaskWithRequest_(NSURLRequest request) { final _ret = _lib._objc_msgSend_1089( - _id, _lib._sel_webSocketTaskWithRequest_1, request._id); + this.pointer, + _lib._sel_webSocketTaskWithRequest_1, + request.pointer, + ); return NSURLSessionWebSocketTask._(_ret, _lib, retain: true, release: true); } @override NSURLSession init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSURLSession._(_ret, _lib, retain: true, release: true); } static NSURLSession new1(SwiftLibrary _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSURLSession1, _lib._sel_new1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSURLSession1, + _lib._sel_new1, + ); return NSURLSession._(_ret, _lib, retain: false, release: true); } NSURLSessionDataTask dataTaskWithRequest_completionHandler_( - NSURLRequest request, - ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError completionHandler) { + NSURLRequest request, + ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError completionHandler, + ) { final _ret = _lib._objc_msgSend_1090( - _id, - _lib._sel_dataTaskWithRequest_completionHandler_1, - request._id, - completionHandler._id); + this.pointer, + _lib._sel_dataTaskWithRequest_completionHandler_1, + request.pointer, + completionHandler.pointer, + ); return NSURLSessionDataTask._(_ret, _lib, retain: true, release: true); } - NSURLSessionDataTask dataTaskWithURL_completionHandler_(NSURL url, - ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError completionHandler) { + NSURLSessionDataTask dataTaskWithURL_completionHandler_( + NSURL url, + ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError completionHandler, + ) { final _ret = _lib._objc_msgSend_1091( - _id, - _lib._sel_dataTaskWithURL_completionHandler_1, - url._id, - completionHandler._id); + this.pointer, + _lib._sel_dataTaskWithURL_completionHandler_1, + url.pointer, + completionHandler.pointer, + ); return NSURLSessionDataTask._(_ret, _lib, retain: true, release: true); } NSURLSessionUploadTask uploadTaskWithRequest_fromFile_completionHandler_( - NSURLRequest request, - NSURL fileURL, - ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError completionHandler) { + NSURLRequest request, + NSURL fileURL, + ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError completionHandler, + ) { final _ret = _lib._objc_msgSend_1092( - _id, - _lib._sel_uploadTaskWithRequest_fromFile_completionHandler_1, - request._id, - fileURL._id, - completionHandler._id); + this.pointer, + _lib._sel_uploadTaskWithRequest_fromFile_completionHandler_1, + request.pointer, + fileURL.pointer, + completionHandler.pointer, + ); return NSURLSessionUploadTask._(_ret, _lib, retain: true, release: true); } NSURLSessionUploadTask uploadTaskWithRequest_fromData_completionHandler_( - NSURLRequest request, - NSData? bodyData, - ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError completionHandler) { + NSURLRequest request, + NSData? bodyData, + ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError completionHandler, + ) { final _ret = _lib._objc_msgSend_1093( - _id, - _lib._sel_uploadTaskWithRequest_fromData_completionHandler_1, - request._id, - bodyData?._id ?? ffi.nullptr, - completionHandler._id); + this.pointer, + _lib._sel_uploadTaskWithRequest_fromData_completionHandler_1, + request.pointer, + bodyData?.pointer ?? ffi.nullptr, + completionHandler.pointer, + ); return NSURLSessionUploadTask._(_ret, _lib, retain: true, release: true); } NSURLSessionUploadTask uploadTaskWithResumeData_completionHandler_( - NSData resumeData, - ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError completionHandler) { + NSData resumeData, + ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError completionHandler, + ) { final _ret = _lib._objc_msgSend_1094( - _id, - _lib._sel_uploadTaskWithResumeData_completionHandler_1, - resumeData._id, - completionHandler._id); + this.pointer, + _lib._sel_uploadTaskWithResumeData_completionHandler_1, + resumeData.pointer, + completionHandler.pointer, + ); return NSURLSessionUploadTask._(_ret, _lib, retain: true, release: true); } NSURLSessionDownloadTask downloadTaskWithRequest_completionHandler_( - NSURLRequest request, - ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError completionHandler) { + NSURLRequest request, + ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError completionHandler, + ) { final _ret = _lib._objc_msgSend_1095( - _id, - _lib._sel_downloadTaskWithRequest_completionHandler_1, - request._id, - completionHandler._id); + this.pointer, + _lib._sel_downloadTaskWithRequest_completionHandler_1, + request.pointer, + completionHandler.pointer, + ); return NSURLSessionDownloadTask._(_ret, _lib, retain: true, release: true); } - NSURLSessionDownloadTask downloadTaskWithURL_completionHandler_(NSURL url, - ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError completionHandler) { + NSURLSessionDownloadTask downloadTaskWithURL_completionHandler_( + NSURL url, + ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError completionHandler, + ) { final _ret = _lib._objc_msgSend_1096( - _id, - _lib._sel_downloadTaskWithURL_completionHandler_1, - url._id, - completionHandler._id); + this.pointer, + _lib._sel_downloadTaskWithURL_completionHandler_1, + url.pointer, + completionHandler.pointer, + ); return NSURLSessionDownloadTask._(_ret, _lib, retain: true, release: true); } NSURLSessionDownloadTask downloadTaskWithResumeData_completionHandler_( - NSData resumeData, - ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError completionHandler) { + NSData resumeData, + ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError completionHandler, + ) { final _ret = _lib._objc_msgSend_1097( - _id, - _lib._sel_downloadTaskWithResumeData_completionHandler_1, - resumeData._id, - completionHandler._id); + this.pointer, + _lib._sel_downloadTaskWithResumeData_completionHandler_1, + resumeData.pointer, + completionHandler.pointer, + ); return NSURLSessionDownloadTask._(_ret, _lib, retain: true, release: true); } static NSURLSession allocWithZone_( - SwiftLibrary _lib, ffi.Pointer<_NSZone> zone) { + SwiftLibrary _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSURLSession1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSURLSession1, + _lib._sel_allocWithZone_1, + zone, + ); return NSURLSession._(_ret, _lib, retain: false, release: true); } static NSURLSession alloc(SwiftLibrary _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSURLSession1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSURLSession1, + _lib._sel_alloc1, + ); return NSURLSession._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + SwiftLibrary _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSURLSession1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSURLSession1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSURLSession1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + SwiftLibrary _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSURLSession1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { return _lib._objc_msgSend_12( - _lib._class_NSURLSession1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_NSURLSession1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(SwiftLibrary _lib) { return _lib._objc_msgSend_12( - _lib._class_NSURLSession1, _lib._sel_useStoredAccessor1); + _lib._class_NSURLSession1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSURLSession1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSURLSession1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSURLSession1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSURLSession1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, NSArray keys, NSString dependentKey) { + SwiftLibrary _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSURLSession1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSURLSession1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_85( - _lib._class_NSURLSession1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSURLSession1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLSession1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSURLSession1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } class NSURLSessionConfiguration extends NSObject { - NSURLSessionConfiguration._(ffi.Pointer id, SwiftLibrary lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSURLSessionConfiguration._( + ffi.Pointer pointer, + SwiftLibrary lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSURLSessionConfiguration] that points to the same underlying object as [other]. - static NSURLSessionConfiguration castFrom(T other) { - return NSURLSessionConfiguration._(other._id, other._lib, - retain: true, release: true); + static NSURLSessionConfiguration castFrom( + SwiftLibrary lib, + T other, + ) { + return NSURLSessionConfiguration._( + other.pointer, + lib, + retain: true, + release: true, + ); } /// Returns a [NSURLSessionConfiguration] that wraps the given raw object pointer. static NSURLSessionConfiguration castFromPointer( - SwiftLibrary lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { - return NSURLSessionConfiguration._(other, lib, - retain: retain, release: release); + SwiftLibrary lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { + return NSURLSessionConfiguration._( + other, + lib, + retain: retain, + release: release, + ); } /// Returns whether [obj] is an instance of [NSURLSessionConfiguration]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0(obj._id, obj._lib._sel_isKindOfClass_1, - obj._lib._class_NSURLSessionConfiguration1); + static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSURLSessionConfiguration1, + ); } static NSURLSessionConfiguration getDefaultSessionConfiguration( - SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_1041(_lib._class_NSURLSessionConfiguration1, - _lib._sel_defaultSessionConfiguration1); + SwiftLibrary _lib, + ) { + final _ret = _lib._objc_msgSend_1041( + _lib._class_NSURLSessionConfiguration1, + _lib._sel_defaultSessionConfiguration1, + ); return NSURLSessionConfiguration._(_ret, _lib, retain: true, release: true); } static NSURLSessionConfiguration getEphemeralSessionConfiguration( - SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_1041(_lib._class_NSURLSessionConfiguration1, - _lib._sel_ephemeralSessionConfiguration1); + SwiftLibrary _lib, + ) { + final _ret = _lib._objc_msgSend_1041( + _lib._class_NSURLSessionConfiguration1, + _lib._sel_ephemeralSessionConfiguration1, + ); return NSURLSessionConfiguration._(_ret, _lib, retain: true, release: true); } static NSURLSessionConfiguration - backgroundSessionConfigurationWithIdentifier_( - SwiftLibrary _lib, NSString identifier) { + backgroundSessionConfigurationWithIdentifier_( + SwiftLibrary _lib, + NSString identifier, + ) { final _ret = _lib._objc_msgSend_1042( - _lib._class_NSURLSessionConfiguration1, - _lib._sel_backgroundSessionConfigurationWithIdentifier_1, - identifier._id); + _lib._class_NSURLSessionConfiguration1, + _lib._sel_backgroundSessionConfigurationWithIdentifier_1, + identifier.pointer, + ); return NSURLSessionConfiguration._(_ret, _lib, retain: true, release: true); } NSString? get identifier { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_identifier1); + final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_identifier1); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } int get requestCachePolicy { - return _lib._objc_msgSend_859(_id, _lib._sel_requestCachePolicy1); + return _lib._objc_msgSend_859(this.pointer, _lib._sel_requestCachePolicy1); } set requestCachePolicy(int value) { return _lib._objc_msgSend_1017( - _id, _lib._sel_setRequestCachePolicy_1, value); + this.pointer, + _lib._sel_setRequestCachePolicy_1, + value, + ); } double get timeoutIntervalForRequest { - return _lib._objc_msgSend_useVariants1 + return objc.useMsgSendVariants ? _lib._objc_msgSend_165_fpret( - _id, _lib._sel_timeoutIntervalForRequest1) - : _lib._objc_msgSend_165(_id, _lib._sel_timeoutIntervalForRequest1); + this.pointer, + _lib._sel_timeoutIntervalForRequest1, + ) + : _lib._objc_msgSend_165( + this.pointer, + _lib._sel_timeoutIntervalForRequest1, + ); } set timeoutIntervalForRequest(double value) { return _lib._objc_msgSend_542( - _id, _lib._sel_setTimeoutIntervalForRequest_1, value); + this.pointer, + _lib._sel_setTimeoutIntervalForRequest_1, + value, + ); } double get timeoutIntervalForResource { - return _lib._objc_msgSend_useVariants1 + return objc.useMsgSendVariants ? _lib._objc_msgSend_165_fpret( - _id, _lib._sel_timeoutIntervalForResource1) - : _lib._objc_msgSend_165(_id, _lib._sel_timeoutIntervalForResource1); + this.pointer, + _lib._sel_timeoutIntervalForResource1, + ) + : _lib._objc_msgSend_165( + this.pointer, + _lib._sel_timeoutIntervalForResource1, + ); } set timeoutIntervalForResource(double value) { return _lib._objc_msgSend_542( - _id, _lib._sel_setTimeoutIntervalForResource_1, value); + this.pointer, + _lib._sel_setTimeoutIntervalForResource_1, + value, + ); } int get networkServiceType { - return _lib._objc_msgSend_860(_id, _lib._sel_networkServiceType1); + return _lib._objc_msgSend_860(this.pointer, _lib._sel_networkServiceType1); } set networkServiceType(int value) { return _lib._objc_msgSend_1018( - _id, _lib._sel_setNetworkServiceType_1, value); + this.pointer, + _lib._sel_setNetworkServiceType_1, + value, + ); } bool get allowsCellularAccess { - return _lib._objc_msgSend_12(_id, _lib._sel_allowsCellularAccess1); + return _lib._objc_msgSend_12(this.pointer, _lib._sel_allowsCellularAccess1); } set allowsCellularAccess(bool value) { return _lib._objc_msgSend_527( - _id, _lib._sel_setAllowsCellularAccess_1, value); + this.pointer, + _lib._sel_setAllowsCellularAccess_1, + value, + ); } bool get allowsExpensiveNetworkAccess { - return _lib._objc_msgSend_12(_id, _lib._sel_allowsExpensiveNetworkAccess1); + return _lib._objc_msgSend_12( + this.pointer, + _lib._sel_allowsExpensiveNetworkAccess1, + ); } set allowsExpensiveNetworkAccess(bool value) { return _lib._objc_msgSend_527( - _id, _lib._sel_setAllowsExpensiveNetworkAccess_1, value); + this.pointer, + _lib._sel_setAllowsExpensiveNetworkAccess_1, + value, + ); } bool get allowsConstrainedNetworkAccess { return _lib._objc_msgSend_12( - _id, _lib._sel_allowsConstrainedNetworkAccess1); + this.pointer, + _lib._sel_allowsConstrainedNetworkAccess1, + ); } set allowsConstrainedNetworkAccess(bool value) { return _lib._objc_msgSend_527( - _id, _lib._sel_setAllowsConstrainedNetworkAccess_1, value); + this.pointer, + _lib._sel_setAllowsConstrainedNetworkAccess_1, + value, + ); } bool get requiresDNSSECValidation { - return _lib._objc_msgSend_12(_id, _lib._sel_requiresDNSSECValidation1); + return _lib._objc_msgSend_12( + this.pointer, + _lib._sel_requiresDNSSECValidation1, + ); } set requiresDNSSECValidation(bool value) { return _lib._objc_msgSend_527( - _id, _lib._sel_setRequiresDNSSECValidation_1, value); + this.pointer, + _lib._sel_setRequiresDNSSECValidation_1, + value, + ); } bool get waitsForConnectivity { - return _lib._objc_msgSend_12(_id, _lib._sel_waitsForConnectivity1); + return _lib._objc_msgSend_12(this.pointer, _lib._sel_waitsForConnectivity1); } set waitsForConnectivity(bool value) { return _lib._objc_msgSend_527( - _id, _lib._sel_setWaitsForConnectivity_1, value); + this.pointer, + _lib._sel_setWaitsForConnectivity_1, + value, + ); } bool get discretionary { - return _lib._objc_msgSend_12(_id, _lib._sel_isDiscretionary1); + return _lib._objc_msgSend_12(this.pointer, _lib._sel_isDiscretionary1); } set discretionary(bool value) { - return _lib._objc_msgSend_527(_id, _lib._sel_setDiscretionary_1, value); + return _lib._objc_msgSend_527( + this.pointer, + _lib._sel_setDiscretionary_1, + value, + ); } NSString? get sharedContainerIdentifier { - final _ret = - _lib._objc_msgSend_44(_id, _lib._sel_sharedContainerIdentifier1); + final _ret = _lib._objc_msgSend_44( + this.pointer, + _lib._sel_sharedContainerIdentifier1, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } set sharedContainerIdentifier(NSString? value) { - return _lib._objc_msgSend_545(_id, _lib._sel_setSharedContainerIdentifier_1, - value?._id ?? ffi.nullptr); + return _lib._objc_msgSend_545( + this.pointer, + _lib._sel_setSharedContainerIdentifier_1, + value?.pointer ?? ffi.nullptr, + ); } bool get sessionSendsLaunchEvents { - return _lib._objc_msgSend_12(_id, _lib._sel_sessionSendsLaunchEvents1); + return _lib._objc_msgSend_12( + this.pointer, + _lib._sel_sessionSendsLaunchEvents1, + ); } set sessionSendsLaunchEvents(bool value) { return _lib._objc_msgSend_527( - _id, _lib._sel_setSessionSendsLaunchEvents_1, value); + this.pointer, + _lib._sel_setSessionSendsLaunchEvents_1, + value, + ); } NSDictionary? get connectionProxyDictionary { - final _ret = - _lib._objc_msgSend_390(_id, _lib._sel_connectionProxyDictionary1); + final _ret = _lib._objc_msgSend_390( + this.pointer, + _lib._sel_connectionProxyDictionary1, + ); return _ret.address == 0 ? null : NSDictionary._(_ret, _lib, retain: true, release: true); } set connectionProxyDictionary(NSDictionary? value) { - return _lib._objc_msgSend_634(_id, _lib._sel_setConnectionProxyDictionary_1, - value?._id ?? ffi.nullptr); + return _lib._objc_msgSend_634( + this.pointer, + _lib._sel_setConnectionProxyDictionary_1, + value?.pointer ?? ffi.nullptr, + ); } int get TLSMinimumSupportedProtocol { - return _lib._objc_msgSend_1043(_id, _lib._sel_TLSMinimumSupportedProtocol1); + return _lib._objc_msgSend_1043( + this.pointer, + _lib._sel_TLSMinimumSupportedProtocol1, + ); } set TLSMinimumSupportedProtocol(int value) { return _lib._objc_msgSend_1044( - _id, _lib._sel_setTLSMinimumSupportedProtocol_1, value); + this.pointer, + _lib._sel_setTLSMinimumSupportedProtocol_1, + value, + ); } int get TLSMaximumSupportedProtocol { - return _lib._objc_msgSend_1043(_id, _lib._sel_TLSMaximumSupportedProtocol1); + return _lib._objc_msgSend_1043( + this.pointer, + _lib._sel_TLSMaximumSupportedProtocol1, + ); } set TLSMaximumSupportedProtocol(int value) { return _lib._objc_msgSend_1044( - _id, _lib._sel_setTLSMaximumSupportedProtocol_1, value); + this.pointer, + _lib._sel_setTLSMaximumSupportedProtocol_1, + value, + ); } int get TLSMinimumSupportedProtocolVersion { return _lib._objc_msgSend_1045( - _id, _lib._sel_TLSMinimumSupportedProtocolVersion1); + this.pointer, + _lib._sel_TLSMinimumSupportedProtocolVersion1, + ); } set TLSMinimumSupportedProtocolVersion(int value) { return _lib._objc_msgSend_1046( - _id, _lib._sel_setTLSMinimumSupportedProtocolVersion_1, value); + this.pointer, + _lib._sel_setTLSMinimumSupportedProtocolVersion_1, + value, + ); } int get TLSMaximumSupportedProtocolVersion { return _lib._objc_msgSend_1045( - _id, _lib._sel_TLSMaximumSupportedProtocolVersion1); + this.pointer, + _lib._sel_TLSMaximumSupportedProtocolVersion1, + ); } set TLSMaximumSupportedProtocolVersion(int value) { return _lib._objc_msgSend_1046( - _id, _lib._sel_setTLSMaximumSupportedProtocolVersion_1, value); + this.pointer, + _lib._sel_setTLSMaximumSupportedProtocolVersion_1, + value, + ); } bool get HTTPShouldUsePipelining { - return _lib._objc_msgSend_12(_id, _lib._sel_HTTPShouldUsePipelining1); + return _lib._objc_msgSend_12( + this.pointer, + _lib._sel_HTTPShouldUsePipelining1, + ); } set HTTPShouldUsePipelining(bool value) { return _lib._objc_msgSend_527( - _id, _lib._sel_setHTTPShouldUsePipelining_1, value); + this.pointer, + _lib._sel_setHTTPShouldUsePipelining_1, + value, + ); } bool get HTTPShouldSetCookies { - return _lib._objc_msgSend_12(_id, _lib._sel_HTTPShouldSetCookies1); + return _lib._objc_msgSend_12(this.pointer, _lib._sel_HTTPShouldSetCookies1); } set HTTPShouldSetCookies(bool value) { return _lib._objc_msgSend_527( - _id, _lib._sel_setHTTPShouldSetCookies_1, value); + this.pointer, + _lib._sel_setHTTPShouldSetCookies_1, + value, + ); } int get HTTPCookieAcceptPolicy { - return _lib._objc_msgSend_856(_id, _lib._sel_HTTPCookieAcceptPolicy1); + return _lib._objc_msgSend_856( + this.pointer, + _lib._sel_HTTPCookieAcceptPolicy1, + ); } set HTTPCookieAcceptPolicy(int value) { return _lib._objc_msgSend_857( - _id, _lib._sel_setHTTPCookieAcceptPolicy_1, value); + this.pointer, + _lib._sel_setHTTPCookieAcceptPolicy_1, + value, + ); } NSDictionary? get HTTPAdditionalHeaders { - final _ret = _lib._objc_msgSend_390(_id, _lib._sel_HTTPAdditionalHeaders1); + final _ret = _lib._objc_msgSend_390( + this.pointer, + _lib._sel_HTTPAdditionalHeaders1, + ); return _ret.address == 0 ? null : NSDictionary._(_ret, _lib, retain: true, release: true); @@ -69714,20 +93303,32 @@ class NSURLSessionConfiguration extends NSObject { set HTTPAdditionalHeaders(NSDictionary? value) { return _lib._objc_msgSend_634( - _id, _lib._sel_setHTTPAdditionalHeaders_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setHTTPAdditionalHeaders_1, + value?.pointer ?? ffi.nullptr, + ); } int get HTTPMaximumConnectionsPerHost { - return _lib._objc_msgSend_83(_id, _lib._sel_HTTPMaximumConnectionsPerHost1); + return _lib._objc_msgSend_83( + this.pointer, + _lib._sel_HTTPMaximumConnectionsPerHost1, + ); } set HTTPMaximumConnectionsPerHost(int value) { return _lib._objc_msgSend_635( - _id, _lib._sel_setHTTPMaximumConnectionsPerHost_1, value); + this.pointer, + _lib._sel_setHTTPMaximumConnectionsPerHost_1, + value, + ); } NSHTTPCookieStorage? get HTTPCookieStorage { - final _ret = _lib._objc_msgSend_1047(_id, _lib._sel_HTTPCookieStorage1); + final _ret = _lib._objc_msgSend_1047( + this.pointer, + _lib._sel_HTTPCookieStorage1, + ); return _ret.address == 0 ? null : NSHTTPCookieStorage._(_ret, _lib, retain: true, release: true); @@ -69735,11 +93336,17 @@ class NSURLSessionConfiguration extends NSObject { set HTTPCookieStorage(NSHTTPCookieStorage? value) { return _lib._objc_msgSend_1048( - _id, _lib._sel_setHTTPCookieStorage_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setHTTPCookieStorage_1, + value?.pointer ?? ffi.nullptr, + ); } NSURLCredentialStorage? get URLCredentialStorage { - final _ret = _lib._objc_msgSend_1049(_id, _lib._sel_URLCredentialStorage1); + final _ret = _lib._objc_msgSend_1049( + this.pointer, + _lib._sel_URLCredentialStorage1, + ); return _ret.address == 0 ? null : NSURLCredentialStorage._(_ret, _lib, retain: true, release: true); @@ -69747,11 +93354,14 @@ class NSURLSessionConfiguration extends NSObject { set URLCredentialStorage(NSURLCredentialStorage? value) { return _lib._objc_msgSend_1050( - _id, _lib._sel_setURLCredentialStorage_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setURLCredentialStorage_1, + value?.pointer ?? ffi.nullptr, + ); } NSURLCache? get URLCache { - final _ret = _lib._objc_msgSend_1051(_id, _lib._sel_URLCache1); + final _ret = _lib._objc_msgSend_1051(this.pointer, _lib._sel_URLCache1); return _ret.address == 0 ? null : NSURLCache._(_ret, _lib, retain: true, release: true); @@ -69759,21 +93369,32 @@ class NSURLSessionConfiguration extends NSObject { set URLCache(NSURLCache? value) { return _lib._objc_msgSend_1052( - _id, _lib._sel_setURLCache_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setURLCache_1, + value?.pointer ?? ffi.nullptr, + ); } bool get shouldUseExtendedBackgroundIdleMode { return _lib._objc_msgSend_12( - _id, _lib._sel_shouldUseExtendedBackgroundIdleMode1); + this.pointer, + _lib._sel_shouldUseExtendedBackgroundIdleMode1, + ); } set shouldUseExtendedBackgroundIdleMode(bool value) { return _lib._objc_msgSend_527( - _id, _lib._sel_setShouldUseExtendedBackgroundIdleMode_1, value); + this.pointer, + _lib._sel_setShouldUseExtendedBackgroundIdleMode_1, + value, + ); } NSArray? get protocolClasses { - final _ret = _lib._objc_msgSend_84(_id, _lib._sel_protocolClasses1); + final _ret = _lib._objc_msgSend_84( + this.pointer, + _lib._sel_protocolClasses1, + ); return _ret.address == 0 ? null : NSArray._(_ret, _lib, retain: true, release: true); @@ -69781,113 +93402,177 @@ class NSURLSessionConfiguration extends NSObject { set protocolClasses(NSArray? value) { return _lib._objc_msgSend_1053( - _id, _lib._sel_setProtocolClasses_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setProtocolClasses_1, + value?.pointer ?? ffi.nullptr, + ); } int get multipathServiceType { - return _lib._objc_msgSend_1054(_id, _lib._sel_multipathServiceType1); + return _lib._objc_msgSend_1054( + this.pointer, + _lib._sel_multipathServiceType1, + ); } set multipathServiceType(int value) { return _lib._objc_msgSend_1055( - _id, _lib._sel_setMultipathServiceType_1, value); + this.pointer, + _lib._sel_setMultipathServiceType_1, + value, + ); } @override NSURLSessionConfiguration init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSURLSessionConfiguration._(_ret, _lib, retain: true, release: true); } static NSURLSessionConfiguration new1(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLSessionConfiguration1, _lib._sel_new1); - return NSURLSessionConfiguration._(_ret, _lib, - retain: false, release: true); + _lib._class_NSURLSessionConfiguration1, + _lib._sel_new1, + ); + return NSURLSessionConfiguration._( + _ret, + _lib, + retain: false, + release: true, + ); } static NSURLSessionConfiguration backgroundSessionConfiguration_( - SwiftLibrary _lib, NSString identifier) { - final _ret = _lib._objc_msgSend_1042(_lib._class_NSURLSessionConfiguration1, - _lib._sel_backgroundSessionConfiguration_1, identifier._id); + SwiftLibrary _lib, + NSString identifier, + ) { + final _ret = _lib._objc_msgSend_1042( + _lib._class_NSURLSessionConfiguration1, + _lib._sel_backgroundSessionConfiguration_1, + identifier.pointer, + ); return NSURLSessionConfiguration._(_ret, _lib, retain: true, release: true); } static NSURLSessionConfiguration allocWithZone_( - SwiftLibrary _lib, ffi.Pointer<_NSZone> zone) { - final _ret = _lib._objc_msgSend_3(_lib._class_NSURLSessionConfiguration1, - _lib._sel_allocWithZone_1, zone); - return NSURLSessionConfiguration._(_ret, _lib, - retain: false, release: true); + SwiftLibrary _lib, + ffi.Pointer<_NSZone> zone, + ) { + final _ret = _lib._objc_msgSend_3( + _lib._class_NSURLSessionConfiguration1, + _lib._sel_allocWithZone_1, + zone, + ); + return NSURLSessionConfiguration._( + _ret, + _lib, + retain: false, + release: true, + ); } static NSURLSessionConfiguration alloc(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLSessionConfiguration1, _lib._sel_alloc1); - return NSURLSessionConfiguration._(_ret, _lib, - retain: false, release: true); + _lib._class_NSURLSessionConfiguration1, + _lib._sel_alloc1, + ); + return NSURLSessionConfiguration._( + _ret, + _lib, + retain: false, + release: true, + ); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + SwiftLibrary _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSURLSessionConfiguration1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSURLSessionConfiguration1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSURLSessionConfiguration1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + SwiftLibrary _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSURLSessionConfiguration1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { - return _lib._objc_msgSend_12(_lib._class_NSURLSessionConfiguration1, - _lib._sel_accessInstanceVariablesDirectly1); + return _lib._objc_msgSend_12( + _lib._class_NSURLSessionConfiguration1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(SwiftLibrary _lib) { return _lib._objc_msgSend_12( - _lib._class_NSURLSessionConfiguration1, _lib._sel_useStoredAccessor1); + _lib._class_NSURLSessionConfiguration1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSURLSessionConfiguration1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSURLSessionConfiguration1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSURLSessionConfiguration1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSURLSessionConfiguration1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, NSArray keys, NSString dependentKey) { + SwiftLibrary _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSURLSessionConfiguration1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSURLSessionConfiguration1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_85(_lib._class_NSURLSessionConfiguration1, - _lib._sel_classFallbacksForKeyedArchiver1); + final _ret = _lib._objc_msgSend_85( + _lib._class_NSURLSessionConfiguration1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2(_lib._class_NSURLSessionConfiguration1, - _lib._sel_classForKeyedUnarchiver1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSURLSessionConfiguration1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } @@ -69925,54 +93610,83 @@ abstract class NSURLSessionMultipathServiceType { } void _ObjCBlock_ffiVoid_NSArray_NSArray_NSArray_fnPtrTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2) => - block.ref.target - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2)>>() - .asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>()(arg0, arg1, arg2); -final _ObjCBlock_ffiVoid_NSArray_NSArray_NSArray_closureRegistry = , ffi.Pointer, - ffi.Pointer)>{}; + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, +) => block.ref.target + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, + ) + > + >() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >()(arg0, arg1, arg2); +final _ObjCBlock_ffiVoid_NSArray_NSArray_NSArray_closureRegistry = + < + int, + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >{}; int _ObjCBlock_ffiVoid_NSArray_NSArray_NSArray_closureRegistryIndex = 0; ffi.Pointer - _ObjCBlock_ffiVoid_NSArray_NSArray_NSArray_registerClosure( - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer) - fn) { +_ObjCBlock_ffiVoid_NSArray_NSArray_NSArray_registerClosure( + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) fn, +) { final id = ++_ObjCBlock_ffiVoid_NSArray_NSArray_NSArray_closureRegistryIndex; _ObjCBlock_ffiVoid_NSArray_NSArray_NSArray_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } void _ObjCBlock_ffiVoid_NSArray_NSArray_NSArray_closureTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2) => - _ObjCBlock_ffiVoid_NSArray_NSArray_NSArray_closureRegistry[ - block.ref.target.address]!(arg0, arg1, arg2); - -class ObjCBlock_ffiVoid_NSArray_NSArray_NSArray extends _ObjCBlockBase { + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, +) => _ObjCBlock_ffiVoid_NSArray_NSArray_NSArray_closureRegistry[block + .ref + .target + .address]!(arg0, arg1, arg2); + +class ObjCBlock_ffiVoid_NSArray_NSArray_NSArray extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSArray_NSArray_NSArray._( - ffi.Pointer<_ObjCBlock> id, SwiftLibrary lib, - {bool retain = false, bool release = true}) - : super._(id, lib, retain: retain, release: release); + ffi.Pointer pointer, + this._lib, { + bool retain = false, + bool release = true, + }) : super(pointer, retain: retain, release: release); + + SwiftLibrary _lib; /// Returns a block that wraps the given raw block pointer. static ObjCBlock_ffiVoid_NSArray_NSArray_NSArray castFromPointer( - SwiftLibrary lib, ffi.Pointer<_ObjCBlock> pointer, - {bool retain = false, bool release = false}) { - return ObjCBlock_ffiVoid_NSArray_NSArray_NSArray._(pointer, lib, - retain: retain, release: release); + SwiftLibrary lib, + ffi.Pointer pointer, { + bool retain = false, + bool release = false, + }) { + return ObjCBlock_ffiVoid_NSArray_NSArray_NSArray._( + pointer, + lib, + retain: retain, + release: release, + ); } /// Creates a block from a C function pointer. @@ -69981,26 +93695,30 @@ class ObjCBlock_ffiVoid_NSArray_NSArray_NSArray extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSArray_NSArray_NSArray.fromFunctionPointer( - SwiftLibrary lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2)>> - ptr) - : this._( - lib._newBlock1( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_NSArray_NSArray_NSArray_fnPtrTrampoline) - .cast(), - ptr.cast()), - lib); + SwiftLibrary lib, + ffi.Pointer< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, + ) + > + > ptr, + ) : this._(objc.newBlock( + _cFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >( + _ObjCBlock_ffiVoid_NSArray_NSArray_NSArray_fnPtrTrampoline, + ).cast(), + ptr.cast(), + ), lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -70008,23 +93726,31 @@ class ObjCBlock_ffiVoid_NSArray_NSArray_NSArray extends _ObjCBlockBase { /// This block must be invoked by native code running on the same thread as /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. - ObjCBlock_ffiVoid_NSArray_NSArray_NSArray.fromFunction(SwiftLibrary lib, void Function(NSArray, NSArray, NSArray) fn) - : this._( - lib._newBlock1( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_NSArray_NSArray_NSArray_closureTrampoline) - .cast(), - _ObjCBlock_ffiVoid_NSArray_NSArray_NSArray_registerClosure( - (ffi.Pointer arg0, ffi.Pointer arg1, ffi.Pointer arg2) => fn( - NSArray._(arg0, lib, retain: true, release: true), - NSArray._(arg1, lib, retain: true, release: true), - NSArray._(arg2, lib, retain: true, release: true)))), - lib); + ObjCBlock_ffiVoid_NSArray_NSArray_NSArray.fromFunction( + SwiftLibrary lib, + void Function(NSArray, NSArray, NSArray) fn, + ) : this._(objc.newBlock( + _dartFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >( + _ObjCBlock_ffiVoid_NSArray_NSArray_NSArray_closureTrampoline, + ).cast(), + _ObjCBlock_ffiVoid_NSArray_NSArray_NSArray_registerClosure(( + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, + ) => fn( + NSArray._(arg0, lib, retain: true, release: true), + NSArray._(arg1, lib, retain: true, release: true), + NSArray._(arg2, lib, retain: true, release: true), + )), + ), lib); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -70036,81 +93762,111 @@ class ObjCBlock_ffiVoid_NSArray_NSArray_NSArray extends _ObjCBlockBase { /// /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. - ObjCBlock_ffiVoid_NSArray_NSArray_NSArray.listener(SwiftLibrary lib, void Function(NSArray, NSArray, NSArray) fn) - : this._( - lib._newBlock1( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>.listener( - _ObjCBlock_ffiVoid_NSArray_NSArray_NSArray_closureTrampoline) - ..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSArray_NSArray_NSArray_registerClosure( - (ffi.Pointer arg0, ffi.Pointer arg1, ffi.Pointer arg2) => fn( - NSArray._(arg0, lib, retain: true, release: true), - NSArray._(arg1, lib, retain: true, release: true), - NSArray._(arg2, lib, retain: true, release: true)))), - lib); + ObjCBlock_ffiVoid_NSArray_NSArray_NSArray.listener( + SwiftLibrary lib, + void Function(NSArray, NSArray, NSArray) fn, + ) : this._(objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >.listener( + _ObjCBlock_ffiVoid_NSArray_NSArray_NSArray_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSArray_NSArray_NSArray_registerClosure(( + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, + ) => fn( + NSArray._(arg0, lib, retain: true, release: true), + NSArray._(arg1, lib, retain: true, release: true), + NSArray._(arg2, lib, retain: true, release: true), + )), + ), lib); static ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>? _dartFuncListenerTrampoline; - - void call(NSArray arg0, NSArray arg1, NSArray arg2) => _id.ref.invoke + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >? _dartFuncListenerTrampoline; + + void call(NSArray arg0, NSArray arg1, NSArray arg2) => pointer.ref.invoke .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2)>>() + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, + ) + > + >() .asFunction< - void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>()(_id, arg0._id, arg1._id, arg2._id); + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >()(pointer, arg0.pointer, arg1.pointer, arg2.pointer); } void _ObjCBlock_ffiVoid_NSArray1_fnPtrTrampoline( - ffi.Pointer<_ObjCBlock> block, ffi.Pointer arg0) => - block.ref.target - .cast< - ffi - .NativeFunction arg0)>>() - .asFunction)>()(arg0); + ffi.Pointer block, + ffi.Pointer arg0, +) => block.ref.target + .cast< + ffi.NativeFunction arg0)> + >() + .asFunction)>()(arg0); final _ObjCBlock_ffiVoid_NSArray1_closureRegistry = - )>{}; + )>{}; int _ObjCBlock_ffiVoid_NSArray1_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_ffiVoid_NSArray1_registerClosure( - void Function(ffi.Pointer) fn) { + void Function(ffi.Pointer) fn, +) { final id = ++_ObjCBlock_ffiVoid_NSArray1_closureRegistryIndex; _ObjCBlock_ffiVoid_NSArray1_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } void _ObjCBlock_ffiVoid_NSArray1_closureTrampoline( - ffi.Pointer<_ObjCBlock> block, ffi.Pointer arg0) => - _ObjCBlock_ffiVoid_NSArray1_closureRegistry[block.ref.target.address]!( - arg0); - -class ObjCBlock_ffiVoid_NSArray1 extends _ObjCBlockBase { - ObjCBlock_ffiVoid_NSArray1._(ffi.Pointer<_ObjCBlock> id, SwiftLibrary lib, - {bool retain = false, bool release = true}) - : super._(id, lib, retain: retain, release: release); + ffi.Pointer block, + ffi.Pointer arg0, +) => _ObjCBlock_ffiVoid_NSArray1_closureRegistry[block.ref.target.address]!( + arg0, +); + +class ObjCBlock_ffiVoid_NSArray1 extends objc.ObjCBlockBase { + ObjCBlock_ffiVoid_NSArray1._( + ffi.Pointer pointer, + this._lib, { + bool retain = false, + bool release = true, + }) : super(pointer, retain: retain, release: release); + + SwiftLibrary _lib; /// Returns a block that wraps the given raw block pointer. static ObjCBlock_ffiVoid_NSArray1 castFromPointer( - SwiftLibrary lib, ffi.Pointer<_ObjCBlock> pointer, - {bool retain = false, bool release = false}) { - return ObjCBlock_ffiVoid_NSArray1._(pointer, lib, - retain: retain, release: release); + SwiftLibrary lib, + ffi.Pointer pointer, { + bool retain = false, + bool release = false, + }) { + return ObjCBlock_ffiVoid_NSArray1._( + pointer, + lib, + retain: retain, + release: release, + ); } /// Creates a block from a C function pointer. @@ -70119,21 +93875,20 @@ class ObjCBlock_ffiVoid_NSArray1 extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSArray1.fromFunctionPointer( - SwiftLibrary lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer arg0)>> - ptr) - : this._( - lib - ._newBlock1( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_NSArray1_fnPtrTrampoline) - .cast(), - ptr.cast()), - lib); + SwiftLibrary lib, + ffi.Pointer< + ffi.NativeFunction arg0)> + > ptr, + ) : this._(objc.newBlock( + _cFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_NSArray1_fnPtrTrampoline).cast(), + ptr.cast(), + ), lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -70142,18 +93897,20 @@ class ObjCBlock_ffiVoid_NSArray1 extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSArray1.fromFunction( - SwiftLibrary lib, void Function(NSArray) fn) - : this._( - lib._newBlock1( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_NSArray1_closureTrampoline) - .cast(), - _ObjCBlock_ffiVoid_NSArray1_registerClosure( - (ffi.Pointer arg0) => - fn(NSArray._(arg0, lib, retain: true, release: true)))), - lib); + SwiftLibrary lib, + void Function(NSArray) fn, + ) : this._(objc.newBlock( + _dartFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_NSArray1_closureTrampoline).cast(), + _ObjCBlock_ffiVoid_NSArray1_registerClosure(( + ffi.Pointer arg0, + ) => fn(NSArray._(arg0, lib, retain: true, release: true))), + ), lib); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -70166,186 +93923,270 @@ class ObjCBlock_ffiVoid_NSArray1 extends _ObjCBlockBase { /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. ObjCBlock_ffiVoid_NSArray1.listener( - SwiftLibrary lib, void Function(NSArray) fn) - : this._( - lib._newBlock1( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, - ffi.Pointer)>.listener( - _ObjCBlock_ffiVoid_NSArray1_closureTrampoline) - ..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSArray1_registerClosure( - (ffi.Pointer arg0) => - fn(NSArray._(arg0, lib, retain: true, release: true)))), - lib); + SwiftLibrary lib, + void Function(NSArray) fn, + ) : this._(objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ) + >.listener( + _ObjCBlock_ffiVoid_NSArray1_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSArray1_registerClosure(( + ffi.Pointer arg0, + ) => fn(NSArray._(arg0, lib, retain: true, release: true))), + ), lib); static ffi.NativeCallable< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer)>? - _dartFuncListenerTrampoline; + ffi.Void Function(ffi.Pointer, ffi.Pointer) + >? _dartFuncListenerTrampoline; - void call(NSArray arg0) => _id.ref.invoke + void call(NSArray arg0) => pointer.ref.invoke .cast< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0)>>() + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer block, + ffi.Pointer arg0, + ) + > + >() .asFunction< - void Function(ffi.Pointer<_ObjCBlock>, - ffi.Pointer)>()(_id, arg0._id); + void Function(ffi.Pointer, ffi.Pointer) + >()(pointer, arg0.pointer); } class NSURLSessionUploadTask extends NSURLSessionDataTask { - NSURLSessionUploadTask._(ffi.Pointer id, SwiftLibrary lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSURLSessionUploadTask._( + ffi.Pointer pointer, + SwiftLibrary lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSURLSessionUploadTask] that points to the same underlying object as [other]. - static NSURLSessionUploadTask castFrom(T other) { - return NSURLSessionUploadTask._(other._id, other._lib, - retain: true, release: true); + static NSURLSessionUploadTask castFrom( + SwiftLibrary lib, + T other, + ) { + return NSURLSessionUploadTask._( + other.pointer, + lib, + retain: true, + release: true, + ); } /// Returns a [NSURLSessionUploadTask] that wraps the given raw object pointer. static NSURLSessionUploadTask castFromPointer( - SwiftLibrary lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { - return NSURLSessionUploadTask._(other, lib, - retain: retain, release: release); + SwiftLibrary lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { + return NSURLSessionUploadTask._( + other, + lib, + retain: retain, + release: release, + ); } /// Returns whether [obj] is an instance of [NSURLSessionUploadTask]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0(obj._id, obj._lib._sel_isKindOfClass_1, - obj._lib._class_NSURLSessionUploadTask1); + static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSURLSessionUploadTask1, + ); } @override NSURLSessionUploadTask init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSURLSessionUploadTask._(_ret, _lib, retain: true, release: true); } static NSURLSessionUploadTask new1(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLSessionUploadTask1, _lib._sel_new1); + _lib._class_NSURLSessionUploadTask1, + _lib._sel_new1, + ); return NSURLSessionUploadTask._(_ret, _lib, retain: false, release: true); } void cancelByProducingResumeData_( - ObjCBlock_ffiVoid_NSData completionHandler) { + ObjCBlock_ffiVoid_NSData completionHandler, + ) { _lib._objc_msgSend_1062( - _id, _lib._sel_cancelByProducingResumeData_1, completionHandler._id); + this.pointer, + _lib._sel_cancelByProducingResumeData_1, + completionHandler.pointer, + ); } static NSURLSessionUploadTask allocWithZone_( - SwiftLibrary _lib, ffi.Pointer<_NSZone> zone) { + SwiftLibrary _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSURLSessionUploadTask1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSURLSessionUploadTask1, + _lib._sel_allocWithZone_1, + zone, + ); return NSURLSessionUploadTask._(_ret, _lib, retain: false, release: true); } static NSURLSessionUploadTask alloc(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLSessionUploadTask1, _lib._sel_alloc1); + _lib._class_NSURLSessionUploadTask1, + _lib._sel_alloc1, + ); return NSURLSessionUploadTask._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + SwiftLibrary _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSURLSessionUploadTask1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSURLSessionUploadTask1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSURLSessionUploadTask1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + SwiftLibrary _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSURLSessionUploadTask1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { - return _lib._objc_msgSend_12(_lib._class_NSURLSessionUploadTask1, - _lib._sel_accessInstanceVariablesDirectly1); + return _lib._objc_msgSend_12( + _lib._class_NSURLSessionUploadTask1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(SwiftLibrary _lib) { return _lib._objc_msgSend_12( - _lib._class_NSURLSessionUploadTask1, _lib._sel_useStoredAccessor1); + _lib._class_NSURLSessionUploadTask1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSURLSessionUploadTask1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSURLSessionUploadTask1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSURLSessionUploadTask1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSURLSessionUploadTask1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, NSArray keys, NSString dependentKey) { + SwiftLibrary _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSURLSessionUploadTask1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSURLSessionUploadTask1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_85(_lib._class_NSURLSessionUploadTask1, - _lib._sel_classFallbacksForKeyedArchiver1); + final _ret = _lib._objc_msgSend_85( + _lib._class_NSURLSessionUploadTask1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2(_lib._class_NSURLSessionUploadTask1, - _lib._sel_classForKeyedUnarchiver1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSURLSessionUploadTask1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } void _ObjCBlock_ffiVoid_NSData_fnPtrTrampoline( - ffi.Pointer<_ObjCBlock> block, ffi.Pointer arg0) => - block.ref.target - .cast< - ffi - .NativeFunction arg0)>>() - .asFunction)>()(arg0); + ffi.Pointer block, + ffi.Pointer arg0, +) => block.ref.target + .cast< + ffi.NativeFunction arg0)> + >() + .asFunction)>()(arg0); final _ObjCBlock_ffiVoid_NSData_closureRegistry = - )>{}; + )>{}; int _ObjCBlock_ffiVoid_NSData_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_ffiVoid_NSData_registerClosure( - void Function(ffi.Pointer) fn) { + void Function(ffi.Pointer) fn, +) { final id = ++_ObjCBlock_ffiVoid_NSData_closureRegistryIndex; _ObjCBlock_ffiVoid_NSData_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } void _ObjCBlock_ffiVoid_NSData_closureTrampoline( - ffi.Pointer<_ObjCBlock> block, ffi.Pointer arg0) => - _ObjCBlock_ffiVoid_NSData_closureRegistry[block.ref.target.address]!(arg0); + ffi.Pointer block, + ffi.Pointer arg0, +) => _ObjCBlock_ffiVoid_NSData_closureRegistry[block.ref.target.address]!(arg0); -class ObjCBlock_ffiVoid_NSData extends _ObjCBlockBase { - ObjCBlock_ffiVoid_NSData._(ffi.Pointer<_ObjCBlock> id, SwiftLibrary lib, - {bool retain = false, bool release = true}) - : super._(id, lib, retain: retain, release: release); +class ObjCBlock_ffiVoid_NSData extends objc.ObjCBlockBase { + ObjCBlock_ffiVoid_NSData._( + ffi.Pointer pointer, + this._lib, { + bool retain = false, + bool release = true, + }) : super(pointer, retain: retain, release: release); + + SwiftLibrary _lib; /// Returns a block that wraps the given raw block pointer. static ObjCBlock_ffiVoid_NSData castFromPointer( - SwiftLibrary lib, ffi.Pointer<_ObjCBlock> pointer, - {bool retain = false, bool release = false}) { - return ObjCBlock_ffiVoid_NSData._(pointer, lib, - retain: retain, release: release); + SwiftLibrary lib, + ffi.Pointer pointer, { + bool retain = false, + bool release = false, + }) { + return ObjCBlock_ffiVoid_NSData._( + pointer, + lib, + retain: retain, + release: release, + ); } /// Creates a block from a C function pointer. @@ -70354,21 +94195,20 @@ class ObjCBlock_ffiVoid_NSData extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSData.fromFunctionPointer( - SwiftLibrary lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer arg0)>> - ptr) - : this._( - lib - ._newBlock1( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_NSData_fnPtrTrampoline) - .cast(), - ptr.cast()), - lib); + SwiftLibrary lib, + ffi.Pointer< + ffi.NativeFunction arg0)> + > ptr, + ) : this._(objc.newBlock( + _cFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_NSData_fnPtrTrampoline).cast(), + ptr.cast(), + ), lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -70377,19 +94217,24 @@ class ObjCBlock_ffiVoid_NSData extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSData.fromFunction( - SwiftLibrary lib, void Function(NSData?) fn) - : this._( - lib._newBlock1( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_NSData_closureTrampoline) - .cast(), - _ObjCBlock_ffiVoid_NSData_registerClosure( - (ffi.Pointer arg0) => fn(arg0.address == 0 - ? null - : NSData._(arg0, lib, retain: true, release: true)))), - lib); + SwiftLibrary lib, + void Function(NSData?) fn, + ) : this._(objc.newBlock( + _dartFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_NSData_closureTrampoline).cast(), + _ObjCBlock_ffiVoid_NSData_registerClosure(( + ffi.Pointer arg0, + ) => fn( + arg0.address == 0 + ? null + : NSData._(arg0, lib, retain: true, release: true), + )), + ), lib); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -70402,355 +94247,524 @@ class ObjCBlock_ffiVoid_NSData extends _ObjCBlockBase { /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. ObjCBlock_ffiVoid_NSData.listener(SwiftLibrary lib, void Function(NSData?) fn) - : this._( - lib._newBlock1( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, - ffi.Pointer)>.listener( - _ObjCBlock_ffiVoid_NSData_closureTrampoline) - ..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSData_registerClosure( - (ffi.Pointer arg0) => fn(arg0.address == 0 - ? null - : NSData._(arg0, lib, retain: true, release: true)))), - lib); + : this._(objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ) + >.listener( + _ObjCBlock_ffiVoid_NSData_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSData_registerClosure(( + ffi.Pointer arg0, + ) => fn( + arg0.address == 0 + ? null + : NSData._(arg0, lib, retain: true, release: true), + )), + ), lib); static ffi.NativeCallable< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer)>? - _dartFuncListenerTrampoline; + ffi.Void Function(ffi.Pointer, ffi.Pointer) + >? _dartFuncListenerTrampoline; - void call(NSData? arg0) => _id.ref.invoke + void call(NSData? arg0) => pointer.ref.invoke .cast< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0)>>() + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer block, + ffi.Pointer arg0, + ) + > + >() .asFunction< - void Function(ffi.Pointer<_ObjCBlock>, - ffi.Pointer)>()(_id, arg0?._id ?? ffi.nullptr); + void Function(ffi.Pointer, ffi.Pointer) + >()(pointer, arg0?.pointer ?? ffi.nullptr); } class NSURLSessionDownloadTask extends NSURLSessionTask { - NSURLSessionDownloadTask._(ffi.Pointer id, SwiftLibrary lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSURLSessionDownloadTask._( + ffi.Pointer pointer, + SwiftLibrary lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSURLSessionDownloadTask] that points to the same underlying object as [other]. - static NSURLSessionDownloadTask castFrom(T other) { - return NSURLSessionDownloadTask._(other._id, other._lib, - retain: true, release: true); + static NSURLSessionDownloadTask castFrom( + SwiftLibrary lib, + T other, + ) { + return NSURLSessionDownloadTask._( + other.pointer, + lib, + retain: true, + release: true, + ); } /// Returns a [NSURLSessionDownloadTask] that wraps the given raw object pointer. static NSURLSessionDownloadTask castFromPointer( - SwiftLibrary lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { - return NSURLSessionDownloadTask._(other, lib, - retain: retain, release: release); + SwiftLibrary lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { + return NSURLSessionDownloadTask._( + other, + lib, + retain: retain, + release: release, + ); } /// Returns whether [obj] is an instance of [NSURLSessionDownloadTask]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0(obj._id, obj._lib._sel_isKindOfClass_1, - obj._lib._class_NSURLSessionDownloadTask1); + static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSURLSessionDownloadTask1, + ); } void cancelByProducingResumeData_( - ObjCBlock_ffiVoid_NSData completionHandler) { + ObjCBlock_ffiVoid_NSData completionHandler, + ) { _lib._objc_msgSend_1062( - _id, _lib._sel_cancelByProducingResumeData_1, completionHandler._id); + this.pointer, + _lib._sel_cancelByProducingResumeData_1, + completionHandler.pointer, + ); } @override NSURLSessionDownloadTask init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSURLSessionDownloadTask._(_ret, _lib, retain: true, release: true); } static NSURLSessionDownloadTask new1(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLSessionDownloadTask1, _lib._sel_new1); + _lib._class_NSURLSessionDownloadTask1, + _lib._sel_new1, + ); return NSURLSessionDownloadTask._(_ret, _lib, retain: false, release: true); } static NSURLSessionDownloadTask allocWithZone_( - SwiftLibrary _lib, ffi.Pointer<_NSZone> zone) { + SwiftLibrary _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSURLSessionDownloadTask1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSURLSessionDownloadTask1, + _lib._sel_allocWithZone_1, + zone, + ); return NSURLSessionDownloadTask._(_ret, _lib, retain: false, release: true); } static NSURLSessionDownloadTask alloc(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLSessionDownloadTask1, _lib._sel_alloc1); + _lib._class_NSURLSessionDownloadTask1, + _lib._sel_alloc1, + ); return NSURLSessionDownloadTask._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + SwiftLibrary _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSURLSessionDownloadTask1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSURLSessionDownloadTask1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSURLSessionDownloadTask1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + SwiftLibrary _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSURLSessionDownloadTask1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { - return _lib._objc_msgSend_12(_lib._class_NSURLSessionDownloadTask1, - _lib._sel_accessInstanceVariablesDirectly1); + return _lib._objc_msgSend_12( + _lib._class_NSURLSessionDownloadTask1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(SwiftLibrary _lib) { return _lib._objc_msgSend_12( - _lib._class_NSURLSessionDownloadTask1, _lib._sel_useStoredAccessor1); + _lib._class_NSURLSessionDownloadTask1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSURLSessionDownloadTask1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSURLSessionDownloadTask1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSURLSessionDownloadTask1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSURLSessionDownloadTask1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, NSArray keys, NSString dependentKey) { + SwiftLibrary _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSURLSessionDownloadTask1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSURLSessionDownloadTask1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_85(_lib._class_NSURLSessionDownloadTask1, - _lib._sel_classFallbacksForKeyedArchiver1); + final _ret = _lib._objc_msgSend_85( + _lib._class_NSURLSessionDownloadTask1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2(_lib._class_NSURLSessionDownloadTask1, - _lib._sel_classForKeyedUnarchiver1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSURLSessionDownloadTask1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } class NSURLSessionStreamTask extends NSURLSessionTask { - NSURLSessionStreamTask._(ffi.Pointer id, SwiftLibrary lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSURLSessionStreamTask._( + ffi.Pointer pointer, + SwiftLibrary lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSURLSessionStreamTask] that points to the same underlying object as [other]. - static NSURLSessionStreamTask castFrom(T other) { - return NSURLSessionStreamTask._(other._id, other._lib, - retain: true, release: true); + static NSURLSessionStreamTask castFrom( + SwiftLibrary lib, + T other, + ) { + return NSURLSessionStreamTask._( + other.pointer, + lib, + retain: true, + release: true, + ); } /// Returns a [NSURLSessionStreamTask] that wraps the given raw object pointer. static NSURLSessionStreamTask castFromPointer( - SwiftLibrary lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { - return NSURLSessionStreamTask._(other, lib, - retain: retain, release: release); + SwiftLibrary lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { + return NSURLSessionStreamTask._( + other, + lib, + retain: retain, + release: release, + ); } /// Returns whether [obj] is an instance of [NSURLSessionStreamTask]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0(obj._id, obj._lib._sel_isKindOfClass_1, - obj._lib._class_NSURLSessionStreamTask1); + static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSURLSessionStreamTask1, + ); } void readDataOfMinLength_maxLength_timeout_completionHandler_( - int minBytes, - int maxBytes, - double timeout, - ObjCBlock_ffiVoid_NSData_bool_NSError completionHandler) { + int minBytes, + int maxBytes, + double timeout, + ObjCBlock_ffiVoid_NSData_bool_NSError completionHandler, + ) { _lib._objc_msgSend_1070( - _id, - _lib._sel_readDataOfMinLength_maxLength_timeout_completionHandler_1, - minBytes, - maxBytes, - timeout, - completionHandler._id); + this.pointer, + _lib._sel_readDataOfMinLength_maxLength_timeout_completionHandler_1, + minBytes, + maxBytes, + timeout, + completionHandler.pointer, + ); } - void writeData_timeout_completionHandler_(NSData data, double timeout, - ObjCBlock_ffiVoid_NSError completionHandler) { + void writeData_timeout_completionHandler_( + NSData data, + double timeout, + ObjCBlock_ffiVoid_NSError completionHandler, + ) { _lib._objc_msgSend_1071( - _id, - _lib._sel_writeData_timeout_completionHandler_1, - data._id, - timeout, - completionHandler._id); + this.pointer, + _lib._sel_writeData_timeout_completionHandler_1, + data.pointer, + timeout, + completionHandler.pointer, + ); } void captureStreams() { - _lib._objc_msgSend_1(_id, _lib._sel_captureStreams1); + _lib._objc_msgSend_1(this.pointer, _lib._sel_captureStreams1); } void closeWrite() { - _lib._objc_msgSend_1(_id, _lib._sel_closeWrite1); + _lib._objc_msgSend_1(this.pointer, _lib._sel_closeWrite1); } void closeRead() { - _lib._objc_msgSend_1(_id, _lib._sel_closeRead1); + _lib._objc_msgSend_1(this.pointer, _lib._sel_closeRead1); } void startSecureConnection() { - _lib._objc_msgSend_1(_id, _lib._sel_startSecureConnection1); + _lib._objc_msgSend_1(this.pointer, _lib._sel_startSecureConnection1); } void stopSecureConnection() { - _lib._objc_msgSend_1(_id, _lib._sel_stopSecureConnection1); + _lib._objc_msgSend_1(this.pointer, _lib._sel_stopSecureConnection1); } @override NSURLSessionStreamTask init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSURLSessionStreamTask._(_ret, _lib, retain: true, release: true); } static NSURLSessionStreamTask new1(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLSessionStreamTask1, _lib._sel_new1); + _lib._class_NSURLSessionStreamTask1, + _lib._sel_new1, + ); return NSURLSessionStreamTask._(_ret, _lib, retain: false, release: true); } static NSURLSessionStreamTask allocWithZone_( - SwiftLibrary _lib, ffi.Pointer<_NSZone> zone) { + SwiftLibrary _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSURLSessionStreamTask1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSURLSessionStreamTask1, + _lib._sel_allocWithZone_1, + zone, + ); return NSURLSessionStreamTask._(_ret, _lib, retain: false, release: true); } static NSURLSessionStreamTask alloc(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLSessionStreamTask1, _lib._sel_alloc1); + _lib._class_NSURLSessionStreamTask1, + _lib._sel_alloc1, + ); return NSURLSessionStreamTask._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + SwiftLibrary _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSURLSessionStreamTask1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSURLSessionStreamTask1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSURLSessionStreamTask1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + SwiftLibrary _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSURLSessionStreamTask1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { - return _lib._objc_msgSend_12(_lib._class_NSURLSessionStreamTask1, - _lib._sel_accessInstanceVariablesDirectly1); + return _lib._objc_msgSend_12( + _lib._class_NSURLSessionStreamTask1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(SwiftLibrary _lib) { return _lib._objc_msgSend_12( - _lib._class_NSURLSessionStreamTask1, _lib._sel_useStoredAccessor1); + _lib._class_NSURLSessionStreamTask1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSURLSessionStreamTask1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSURLSessionStreamTask1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSURLSessionStreamTask1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSURLSessionStreamTask1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, NSArray keys, NSString dependentKey) { + SwiftLibrary _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSURLSessionStreamTask1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSURLSessionStreamTask1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_85(_lib._class_NSURLSessionStreamTask1, - _lib._sel_classFallbacksForKeyedArchiver1); + final _ret = _lib._objc_msgSend_85( + _lib._class_NSURLSessionStreamTask1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2(_lib._class_NSURLSessionStreamTask1, - _lib._sel_classForKeyedUnarchiver1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSURLSessionStreamTask1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } void _ObjCBlock_ffiVoid_NSData_bool_NSError_fnPtrTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - bool arg1, - ffi.Pointer arg2) => - block.ref.target - .cast< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer arg0, ffi.Bool arg1, - ffi.Pointer arg2)>>() - .asFunction< - void Function(ffi.Pointer, bool, - ffi.Pointer)>()(arg0, arg1, arg2); -final _ObjCBlock_ffiVoid_NSData_bool_NSError_closureRegistry = , bool, ffi.Pointer)>{}; + ffi.Pointer block, + ffi.Pointer arg0, + bool arg1, + ffi.Pointer arg2, +) => block.ref.target + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Bool arg1, + ffi.Pointer arg2, + ) + > + >() + .asFunction< + void Function( + ffi.Pointer, + bool, + ffi.Pointer, + ) + >()(arg0, arg1, arg2); +final _ObjCBlock_ffiVoid_NSData_bool_NSError_closureRegistry = + < + int, + void Function( + ffi.Pointer, + bool, + ffi.Pointer, + ) + >{}; int _ObjCBlock_ffiVoid_NSData_bool_NSError_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_ffiVoid_NSData_bool_NSError_registerClosure( - void Function(ffi.Pointer, bool, ffi.Pointer) fn) { + void Function( + ffi.Pointer, + bool, + ffi.Pointer, + ) fn, +) { final id = ++_ObjCBlock_ffiVoid_NSData_bool_NSError_closureRegistryIndex; _ObjCBlock_ffiVoid_NSData_bool_NSError_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } void _ObjCBlock_ffiVoid_NSData_bool_NSError_closureTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - bool arg1, - ffi.Pointer arg2) => - _ObjCBlock_ffiVoid_NSData_bool_NSError_closureRegistry[ - block.ref.target.address]!(arg0, arg1, arg2); - -class ObjCBlock_ffiVoid_NSData_bool_NSError extends _ObjCBlockBase { + ffi.Pointer block, + ffi.Pointer arg0, + bool arg1, + ffi.Pointer arg2, +) => _ObjCBlock_ffiVoid_NSData_bool_NSError_closureRegistry[block + .ref + .target + .address]!(arg0, arg1, arg2); + +class ObjCBlock_ffiVoid_NSData_bool_NSError extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSData_bool_NSError._( - ffi.Pointer<_ObjCBlock> id, SwiftLibrary lib, - {bool retain = false, bool release = true}) - : super._(id, lib, retain: retain, release: release); + ffi.Pointer pointer, + this._lib, { + bool retain = false, + bool release = true, + }) : super(pointer, retain: retain, release: release); + + SwiftLibrary _lib; /// Returns a block that wraps the given raw block pointer. static ObjCBlock_ffiVoid_NSData_bool_NSError castFromPointer( - SwiftLibrary lib, ffi.Pointer<_ObjCBlock> pointer, - {bool retain = false, bool release = false}) { - return ObjCBlock_ffiVoid_NSData_bool_NSError._(pointer, lib, - retain: retain, release: release); + SwiftLibrary lib, + ffi.Pointer pointer, { + bool retain = false, + bool release = false, + }) { + return ObjCBlock_ffiVoid_NSData_bool_NSError._( + pointer, + lib, + retain: retain, + release: release, + ); } /// Creates a block from a C function pointer. @@ -70759,24 +94773,28 @@ class ObjCBlock_ffiVoid_NSData_bool_NSError extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSData_bool_NSError.fromFunctionPointer( - SwiftLibrary lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer arg0, ffi.Bool arg1, - ffi.Pointer arg2)>> - ptr) - : this._( - lib._newBlock1( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Bool, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_NSData_bool_NSError_fnPtrTrampoline) - .cast(), - ptr.cast()), - lib); + SwiftLibrary lib, + ffi.Pointer< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Bool arg1, + ffi.Pointer arg2, + ) + > + > ptr, + ) : this._(objc.newBlock( + _cFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_NSData_bool_NSError_fnPtrTrampoline).cast(), + ptr.cast(), + ), lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -70784,23 +94802,31 @@ class ObjCBlock_ffiVoid_NSData_bool_NSError extends _ObjCBlockBase { /// This block must be invoked by native code running on the same thread as /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. - ObjCBlock_ffiVoid_NSData_bool_NSError.fromFunction(SwiftLibrary lib, void Function(NSData, bool, NSError?) fn) - : this._( - lib._newBlock1( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Bool, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_NSData_bool_NSError_closureTrampoline) - .cast(), - _ObjCBlock_ffiVoid_NSData_bool_NSError_registerClosure( - (ffi.Pointer arg0, bool arg1, ffi.Pointer arg2) => fn( - NSData._(arg0, lib, retain: true, release: true), - arg1, - arg2.address == 0 ? null : NSError._(arg2, lib, retain: true, release: true)))), - lib); + ObjCBlock_ffiVoid_NSData_bool_NSError.fromFunction( + SwiftLibrary lib, + void Function(NSData, bool, NSError?) fn, + ) : this._(objc.newBlock( + _dartFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_NSData_bool_NSError_closureTrampoline).cast(), + _ObjCBlock_ffiVoid_NSData_bool_NSError_registerClosure(( + ffi.Pointer arg0, + bool arg1, + ffi.Pointer arg2, + ) => fn( + NSData._(arg0, lib, retain: true, release: true), + arg1, + arg2.address == 0 + ? null + : NSError._(arg2, lib, retain: true, release: true), + )), + ), lib); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -70813,96 +94839,150 @@ class ObjCBlock_ffiVoid_NSData_bool_NSError extends _ObjCBlockBase { /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. ObjCBlock_ffiVoid_NSData_bool_NSError.listener( - SwiftLibrary lib, void Function(NSData, bool, NSError?) fn) - : this._( - lib._newBlock1( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Bool, - ffi.Pointer)>.listener( - _ObjCBlock_ffiVoid_NSData_bool_NSError_closureTrampoline) - ..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSData_bool_NSError_registerClosure( - (ffi.Pointer arg0, bool arg1, - ffi.Pointer arg2) => - fn(NSData._(arg0, lib, retain: true, release: true), arg1, arg2.address == 0 ? null : NSError._(arg2, lib, retain: true, release: true)))), - lib); + SwiftLibrary lib, + void Function(NSData, bool, NSError?) fn, + ) : this._(objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.Pointer, + ) + >.listener( + _ObjCBlock_ffiVoid_NSData_bool_NSError_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSData_bool_NSError_registerClosure(( + ffi.Pointer arg0, + bool arg1, + ffi.Pointer arg2, + ) => fn( + NSData._(arg0, lib, retain: true, release: true), + arg1, + arg2.address == 0 + ? null + : NSError._(arg2, lib, retain: true, release: true), + )), + ), lib); static ffi.NativeCallable< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer, - ffi.Bool, ffi.Pointer)>? _dartFuncListenerTrampoline; - - void call(NSData arg0, bool arg1, NSError? arg2) => _id.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Bool arg1, - ffi.Pointer arg2)>>() - .asFunction< - void Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer, - bool, ffi.Pointer)>()( - _id, arg0._id, arg1, arg2?._id ?? ffi.nullptr); + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.Pointer, + ) + >? _dartFuncListenerTrampoline; + + void call(NSData arg0, bool arg1, NSError? arg2) => pointer.ref.invoke + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Bool arg1, + ffi.Pointer arg2, + ) + > + >() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + bool, + ffi.Pointer, + ) + >()(pointer, arg0.pointer, arg1, arg2?.pointer ?? ffi.nullptr); } class NSNetService extends NSObject { - NSNetService._(ffi.Pointer id, SwiftLibrary lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSNetService._( + ffi.Pointer pointer, + SwiftLibrary lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSNetService] that points to the same underlying object as [other]. - static NSNetService castFrom(T other) { - return NSNetService._(other._id, other._lib, retain: true, release: true); + static NSNetService castFrom( + SwiftLibrary lib, + T other, + ) { + return NSNetService._(other.pointer, lib, retain: true, release: true); } /// Returns a [NSNetService] that wraps the given raw object pointer. static NSNetService castFromPointer( - SwiftLibrary lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + SwiftLibrary lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSNetService._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSNetService]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_NSNetService1); + static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSNetService1, + ); } NSNetService initWithDomain_type_name_port_( - NSString domain, NSString type, NSString name, int port) { + NSString domain, + NSString type, + NSString name, + int port, + ) { final _ret = _lib._objc_msgSend_1073( - _id, - _lib._sel_initWithDomain_type_name_port_1, - domain._id, - type._id, - name._id, - port); + this.pointer, + _lib._sel_initWithDomain_type_name_port_1, + domain.pointer, + type.pointer, + name.pointer, + port, + ); return NSNetService._(_ret, _lib, retain: true, release: true); } NSNetService initWithDomain_type_name_( - NSString domain, NSString type, NSString name) { - final _ret = _lib._objc_msgSend_1074(_id, - _lib._sel_initWithDomain_type_name_1, domain._id, type._id, name._id); + NSString domain, + NSString type, + NSString name, + ) { + final _ret = _lib._objc_msgSend_1074( + this.pointer, + _lib._sel_initWithDomain_type_name_1, + domain.pointer, + type.pointer, + name.pointer, + ); return NSNetService._(_ret, _lib, retain: true, release: true); } void scheduleInRunLoop_forMode_(NSRunLoop aRunLoop, NSString mode) { _lib._objc_msgSend_569( - _id, _lib._sel_scheduleInRunLoop_forMode_1, aRunLoop._id, mode._id); + this.pointer, + _lib._sel_scheduleInRunLoop_forMode_1, + aRunLoop.pointer, + mode.pointer, + ); } void removeFromRunLoop_forMode_(NSRunLoop aRunLoop, NSString mode) { _lib._objc_msgSend_569( - _id, _lib._sel_removeFromRunLoop_forMode_1, aRunLoop._id, mode._id); + this.pointer, + _lib._sel_removeFromRunLoop_forMode_1, + aRunLoop.pointer, + mode.pointer, + ); } NSObject? get delegate { - final _ret = _lib._objc_msgSend_17(_id, _lib._sel_delegate1); + final _ret = _lib._objc_msgSend_17(this.pointer, _lib._sel_delegate1); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); @@ -70910,197 +94990,267 @@ class NSNetService extends NSObject { set delegate(NSObject? value) { return _lib._objc_msgSend_416( - _id, _lib._sel_setDelegate_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setDelegate_1, + value?.pointer ?? ffi.nullptr, + ); } bool get includesPeerToPeer { - return _lib._objc_msgSend_12(_id, _lib._sel_includesPeerToPeer1); + return _lib._objc_msgSend_12(this.pointer, _lib._sel_includesPeerToPeer1); } set includesPeerToPeer(bool value) { return _lib._objc_msgSend_527( - _id, _lib._sel_setIncludesPeerToPeer_1, value); + this.pointer, + _lib._sel_setIncludesPeerToPeer_1, + value, + ); } NSString get name { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_name1); + final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_name1); return NSString._(_ret, _lib, retain: true, release: true); } NSString get type { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_type1); + final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_type1); return NSString._(_ret, _lib, retain: true, release: true); } NSString get domain { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_domain1); + final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_domain1); return NSString._(_ret, _lib, retain: true, release: true); } NSString? get hostName { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_hostName1); + final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_hostName1); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } NSArray? get addresses { - final _ret = _lib._objc_msgSend_84(_id, _lib._sel_addresses1); + final _ret = _lib._objc_msgSend_84(this.pointer, _lib._sel_addresses1); return _ret.address == 0 ? null : NSArray._(_ret, _lib, retain: true, release: true); } int get port { - return _lib._objc_msgSend_83(_id, _lib._sel_port1); + return _lib._objc_msgSend_83(this.pointer, _lib._sel_port1); } void publish() { - _lib._objc_msgSend_1(_id, _lib._sel_publish1); + _lib._objc_msgSend_1(this.pointer, _lib._sel_publish1); } void publishWithOptions_(int options) { - _lib._objc_msgSend_1075(_id, _lib._sel_publishWithOptions_1, options); + _lib._objc_msgSend_1075( + this.pointer, + _lib._sel_publishWithOptions_1, + options, + ); } void resolve() { - _lib._objc_msgSend_1(_id, _lib._sel_resolve1); + _lib._objc_msgSend_1(this.pointer, _lib._sel_resolve1); } void stop() { - _lib._objc_msgSend_1(_id, _lib._sel_stop1); + _lib._objc_msgSend_1(this.pointer, _lib._sel_stop1); } static NSDictionary dictionaryFromTXTRecordData_( - SwiftLibrary _lib, NSData txtData) { - final _ret = _lib._objc_msgSend_1076(_lib._class_NSNetService1, - _lib._sel_dictionaryFromTXTRecordData_1, txtData._id); + SwiftLibrary _lib, + NSData txtData, + ) { + final _ret = _lib._objc_msgSend_1076( + _lib._class_NSNetService1, + _lib._sel_dictionaryFromTXTRecordData_1, + txtData.pointer, + ); return NSDictionary._(_ret, _lib, retain: true, release: true); } static NSData dataFromTXTRecordDictionary_( - SwiftLibrary _lib, NSDictionary txtDictionary) { - final _ret = _lib._objc_msgSend_1077(_lib._class_NSNetService1, - _lib._sel_dataFromTXTRecordDictionary_1, txtDictionary._id); + SwiftLibrary _lib, + NSDictionary txtDictionary, + ) { + final _ret = _lib._objc_msgSend_1077( + _lib._class_NSNetService1, + _lib._sel_dataFromTXTRecordDictionary_1, + txtDictionary.pointer, + ); return NSData._(_ret, _lib, retain: true, release: true); } void resolveWithTimeout_(double timeout) { - _lib._objc_msgSend_541(_id, _lib._sel_resolveWithTimeout_1, timeout); + _lib._objc_msgSend_541( + this.pointer, + _lib._sel_resolveWithTimeout_1, + timeout, + ); } bool getInputStream_outputStream_( - ffi.Pointer> inputStream, - ffi.Pointer> outputStream) { - return _lib._objc_msgSend_1078(_id, _lib._sel_getInputStream_outputStream_1, - inputStream, outputStream); + ffi.Pointer> inputStream, + ffi.Pointer> outputStream, + ) { + return _lib._objc_msgSend_1078( + this.pointer, + _lib._sel_getInputStream_outputStream_1, + inputStream, + outputStream, + ); } bool setTXTRecordData_(NSData? recordData) { return _lib._objc_msgSend_1079( - _id, _lib._sel_setTXTRecordData_1, recordData?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setTXTRecordData_1, + recordData?.pointer ?? ffi.nullptr, + ); } NSData? TXTRecordData() { - final _ret = _lib._objc_msgSend_286(_id, _lib._sel_TXTRecordData1); + final _ret = _lib._objc_msgSend_286(this.pointer, _lib._sel_TXTRecordData1); return _ret.address == 0 ? null : NSData._(_ret, _lib, retain: true, release: true); } void startMonitoring() { - _lib._objc_msgSend_1(_id, _lib._sel_startMonitoring1); + _lib._objc_msgSend_1(this.pointer, _lib._sel_startMonitoring1); } void stopMonitoring() { - _lib._objc_msgSend_1(_id, _lib._sel_stopMonitoring1); + _lib._objc_msgSend_1(this.pointer, _lib._sel_stopMonitoring1); } @override NSNetService init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSNetService._(_ret, _lib, retain: true, release: true); } static NSNetService new1(SwiftLibrary _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSNetService1, _lib._sel_new1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSNetService1, + _lib._sel_new1, + ); return NSNetService._(_ret, _lib, retain: false, release: true); } static NSNetService allocWithZone_( - SwiftLibrary _lib, ffi.Pointer<_NSZone> zone) { + SwiftLibrary _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSNetService1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSNetService1, + _lib._sel_allocWithZone_1, + zone, + ); return NSNetService._(_ret, _lib, retain: false, release: true); } static NSNetService alloc(SwiftLibrary _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSNetService1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSNetService1, + _lib._sel_alloc1, + ); return NSNetService._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + SwiftLibrary _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSNetService1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSNetService1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSNetService1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + SwiftLibrary _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSNetService1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { return _lib._objc_msgSend_12( - _lib._class_NSNetService1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_NSNetService1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(SwiftLibrary _lib) { return _lib._objc_msgSend_12( - _lib._class_NSNetService1, _lib._sel_useStoredAccessor1); + _lib._class_NSNetService1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSNetService1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSNetService1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSNetService1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSNetService1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, NSArray keys, NSString dependentKey) { + SwiftLibrary _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSNetService1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSNetService1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_85( - _lib._class_NSNetService1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSNetService1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSNetService1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSNetService1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } @@ -71111,69 +95261,109 @@ abstract class NSNetServiceOptions { } class NSURLSessionWebSocketTask extends NSURLSessionTask { - NSURLSessionWebSocketTask._(ffi.Pointer id, SwiftLibrary lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSURLSessionWebSocketTask._( + ffi.Pointer pointer, + SwiftLibrary lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSURLSessionWebSocketTask] that points to the same underlying object as [other]. - static NSURLSessionWebSocketTask castFrom(T other) { - return NSURLSessionWebSocketTask._(other._id, other._lib, - retain: true, release: true); + static NSURLSessionWebSocketTask castFrom( + SwiftLibrary lib, + T other, + ) { + return NSURLSessionWebSocketTask._( + other.pointer, + lib, + retain: true, + release: true, + ); } /// Returns a [NSURLSessionWebSocketTask] that wraps the given raw object pointer. static NSURLSessionWebSocketTask castFromPointer( - SwiftLibrary lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { - return NSURLSessionWebSocketTask._(other, lib, - retain: retain, release: release); + SwiftLibrary lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { + return NSURLSessionWebSocketTask._( + other, + lib, + retain: retain, + release: release, + ); } /// Returns whether [obj] is an instance of [NSURLSessionWebSocketTask]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0(obj._id, obj._lib._sel_isKindOfClass_1, - obj._lib._class_NSURLSessionWebSocketTask1); + static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSURLSessionWebSocketTask1, + ); } - void sendMessage_completionHandler_(NSURLSessionWebSocketMessage message, - ObjCBlock_ffiVoid_NSError completionHandler) { - _lib._objc_msgSend_1082(_id, _lib._sel_sendMessage_completionHandler_1, - message._id, completionHandler._id); + void sendMessage_completionHandler_( + NSURLSessionWebSocketMessage message, + ObjCBlock_ffiVoid_NSError completionHandler, + ) { + _lib._objc_msgSend_1082( + this.pointer, + _lib._sel_sendMessage_completionHandler_1, + message.pointer, + completionHandler.pointer, + ); } void receiveMessageWithCompletionHandler_( - ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError - completionHandler) { - _lib._objc_msgSend_1083(_id, - _lib._sel_receiveMessageWithCompletionHandler_1, completionHandler._id); + ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError completionHandler, + ) { + _lib._objc_msgSend_1083( + this.pointer, + _lib._sel_receiveMessageWithCompletionHandler_1, + completionHandler.pointer, + ); } void sendPingWithPongReceiveHandler_( - ObjCBlock_ffiVoid_NSError pongReceiveHandler) { - _lib._objc_msgSend_1084(_id, _lib._sel_sendPingWithPongReceiveHandler_1, - pongReceiveHandler._id); + ObjCBlock_ffiVoid_NSError pongReceiveHandler, + ) { + _lib._objc_msgSend_1084( + this.pointer, + _lib._sel_sendPingWithPongReceiveHandler_1, + pongReceiveHandler.pointer, + ); } void cancelWithCloseCode_reason_(int closeCode, NSData? reason) { - _lib._objc_msgSend_1085(_id, _lib._sel_cancelWithCloseCode_reason_1, - closeCode, reason?._id ?? ffi.nullptr); + _lib._objc_msgSend_1085( + this.pointer, + _lib._sel_cancelWithCloseCode_reason_1, + closeCode, + reason?.pointer ?? ffi.nullptr, + ); } int get maximumMessageSize { - return _lib._objc_msgSend_83(_id, _lib._sel_maximumMessageSize1); + return _lib._objc_msgSend_83(this.pointer, _lib._sel_maximumMessageSize1); } set maximumMessageSize(int value) { return _lib._objc_msgSend_635( - _id, _lib._sel_setMaximumMessageSize_1, value); + this.pointer, + _lib._sel_setMaximumMessageSize_1, + value, + ); } int get closeCode { - return _lib._objc_msgSend_1086(_id, _lib._sel_closeCode1); + return _lib._objc_msgSend_1086(this.pointer, _lib._sel_closeCode1); } NSData? get closeReason { - final _ret = _lib._objc_msgSend_286(_id, _lib._sel_closeReason1); + final _ret = _lib._objc_msgSend_286(this.pointer, _lib._sel_closeReason1); return _ret.address == 0 ? null : NSData._(_ret, _lib, retain: true, release: true); @@ -71181,149 +95371,232 @@ class NSURLSessionWebSocketTask extends NSURLSessionTask { @override NSURLSessionWebSocketTask init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSURLSessionWebSocketTask._(_ret, _lib, retain: true, release: true); } static NSURLSessionWebSocketTask new1(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLSessionWebSocketTask1, _lib._sel_new1); - return NSURLSessionWebSocketTask._(_ret, _lib, - retain: false, release: true); + _lib._class_NSURLSessionWebSocketTask1, + _lib._sel_new1, + ); + return NSURLSessionWebSocketTask._( + _ret, + _lib, + retain: false, + release: true, + ); } static NSURLSessionWebSocketTask allocWithZone_( - SwiftLibrary _lib, ffi.Pointer<_NSZone> zone) { - final _ret = _lib._objc_msgSend_3(_lib._class_NSURLSessionWebSocketTask1, - _lib._sel_allocWithZone_1, zone); - return NSURLSessionWebSocketTask._(_ret, _lib, - retain: false, release: true); + SwiftLibrary _lib, + ffi.Pointer<_NSZone> zone, + ) { + final _ret = _lib._objc_msgSend_3( + _lib._class_NSURLSessionWebSocketTask1, + _lib._sel_allocWithZone_1, + zone, + ); + return NSURLSessionWebSocketTask._( + _ret, + _lib, + retain: false, + release: true, + ); } static NSURLSessionWebSocketTask alloc(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLSessionWebSocketTask1, _lib._sel_alloc1); - return NSURLSessionWebSocketTask._(_ret, _lib, - retain: false, release: true); + _lib._class_NSURLSessionWebSocketTask1, + _lib._sel_alloc1, + ); + return NSURLSessionWebSocketTask._( + _ret, + _lib, + retain: false, + release: true, + ); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + SwiftLibrary _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSURLSessionWebSocketTask1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSURLSessionWebSocketTask1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSURLSessionWebSocketTask1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + SwiftLibrary _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSURLSessionWebSocketTask1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { - return _lib._objc_msgSend_12(_lib._class_NSURLSessionWebSocketTask1, - _lib._sel_accessInstanceVariablesDirectly1); + return _lib._objc_msgSend_12( + _lib._class_NSURLSessionWebSocketTask1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(SwiftLibrary _lib) { return _lib._objc_msgSend_12( - _lib._class_NSURLSessionWebSocketTask1, _lib._sel_useStoredAccessor1); + _lib._class_NSURLSessionWebSocketTask1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSURLSessionWebSocketTask1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSURLSessionWebSocketTask1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSURLSessionWebSocketTask1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSURLSessionWebSocketTask1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, NSArray keys, NSString dependentKey) { + SwiftLibrary _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSURLSessionWebSocketTask1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSURLSessionWebSocketTask1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_85(_lib._class_NSURLSessionWebSocketTask1, - _lib._sel_classFallbacksForKeyedArchiver1); + final _ret = _lib._objc_msgSend_85( + _lib._class_NSURLSessionWebSocketTask1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2(_lib._class_NSURLSessionWebSocketTask1, - _lib._sel_classForKeyedUnarchiver1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSURLSessionWebSocketTask1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } class NSURLSessionWebSocketMessage extends NSObject { - NSURLSessionWebSocketMessage._(ffi.Pointer id, SwiftLibrary lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSURLSessionWebSocketMessage._( + ffi.Pointer pointer, + SwiftLibrary lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSURLSessionWebSocketMessage] that points to the same underlying object as [other]. - static NSURLSessionWebSocketMessage castFrom( - T other) { - return NSURLSessionWebSocketMessage._(other._id, other._lib, - retain: true, release: true); + static NSURLSessionWebSocketMessage castFrom( + SwiftLibrary lib, + T other, + ) { + return NSURLSessionWebSocketMessage._( + other.pointer, + lib, + retain: true, + release: true, + ); } /// Returns a [NSURLSessionWebSocketMessage] that wraps the given raw object pointer. static NSURLSessionWebSocketMessage castFromPointer( - SwiftLibrary lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { - return NSURLSessionWebSocketMessage._(other, lib, - retain: retain, release: release); + SwiftLibrary lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { + return NSURLSessionWebSocketMessage._( + other, + lib, + retain: retain, + release: release, + ); } /// Returns whether [obj] is an instance of [NSURLSessionWebSocketMessage]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0(obj._id, obj._lib._sel_isKindOfClass_1, - obj._lib._class_NSURLSessionWebSocketMessage1); + static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSURLSessionWebSocketMessage1, + ); } NSURLSessionWebSocketMessage initWithData_(NSData data) { - final _ret = - _lib._objc_msgSend_279(_id, _lib._sel_initWithData_1, data._id); - return NSURLSessionWebSocketMessage._(_ret, _lib, - retain: true, release: true); + final _ret = _lib._objc_msgSend_279( + this.pointer, + _lib._sel_initWithData_1, + data.pointer, + ); + return NSURLSessionWebSocketMessage._( + _ret, + _lib, + retain: true, + release: true, + ); } NSURLSessionWebSocketMessage initWithString_(NSString string) { - final _ret = - _lib._objc_msgSend_31(_id, _lib._sel_initWithString_1, string._id); - return NSURLSessionWebSocketMessage._(_ret, _lib, - retain: true, release: true); + final _ret = _lib._objc_msgSend_31( + this.pointer, + _lib._sel_initWithString_1, + string.pointer, + ); + return NSURLSessionWebSocketMessage._( + _ret, + _lib, + retain: true, + release: true, + ); } int get type { - return _lib._objc_msgSend_1081(_id, _lib._sel_type1); + return _lib._objc_msgSend_1081(this.pointer, _lib._sel_type1); } NSData? get data { - final _ret = _lib._objc_msgSend_286(_id, _lib._sel_data1); + final _ret = _lib._objc_msgSend_286(this.pointer, _lib._sel_data1); return _ret.address == 0 ? null : NSData._(_ret, _lib, retain: true, release: true); } NSString? get string { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_string1); + final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_string1); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); @@ -71331,96 +95604,147 @@ class NSURLSessionWebSocketMessage extends NSObject { @override NSURLSessionWebSocketMessage init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); - return NSURLSessionWebSocketMessage._(_ret, _lib, - retain: true, release: true); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); + return NSURLSessionWebSocketMessage._( + _ret, + _lib, + retain: true, + release: true, + ); } static NSURLSessionWebSocketMessage new1(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLSessionWebSocketMessage1, _lib._sel_new1); - return NSURLSessionWebSocketMessage._(_ret, _lib, - retain: false, release: true); + _lib._class_NSURLSessionWebSocketMessage1, + _lib._sel_new1, + ); + return NSURLSessionWebSocketMessage._( + _ret, + _lib, + retain: false, + release: true, + ); } static NSURLSessionWebSocketMessage allocWithZone_( - SwiftLibrary _lib, ffi.Pointer<_NSZone> zone) { - final _ret = _lib._objc_msgSend_3(_lib._class_NSURLSessionWebSocketMessage1, - _lib._sel_allocWithZone_1, zone); - return NSURLSessionWebSocketMessage._(_ret, _lib, - retain: false, release: true); + SwiftLibrary _lib, + ffi.Pointer<_NSZone> zone, + ) { + final _ret = _lib._objc_msgSend_3( + _lib._class_NSURLSessionWebSocketMessage1, + _lib._sel_allocWithZone_1, + zone, + ); + return NSURLSessionWebSocketMessage._( + _ret, + _lib, + retain: false, + release: true, + ); } static NSURLSessionWebSocketMessage alloc(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLSessionWebSocketMessage1, _lib._sel_alloc1); - return NSURLSessionWebSocketMessage._(_ret, _lib, - retain: false, release: true); + _lib._class_NSURLSessionWebSocketMessage1, + _lib._sel_alloc1, + ); + return NSURLSessionWebSocketMessage._( + _ret, + _lib, + retain: false, + release: true, + ); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + SwiftLibrary _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSURLSessionWebSocketMessage1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSURLSessionWebSocketMessage1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSURLSessionWebSocketMessage1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + SwiftLibrary _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSURLSessionWebSocketMessage1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { - return _lib._objc_msgSend_12(_lib._class_NSURLSessionWebSocketMessage1, - _lib._sel_accessInstanceVariablesDirectly1); + return _lib._objc_msgSend_12( + _lib._class_NSURLSessionWebSocketMessage1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(SwiftLibrary _lib) { - return _lib._objc_msgSend_12(_lib._class_NSURLSessionWebSocketMessage1, - _lib._sel_useStoredAccessor1); + return _lib._objc_msgSend_12( + _lib._class_NSURLSessionWebSocketMessage1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, NSString key) { + SwiftLibrary _lib, + NSString key, + ) { final _ret = _lib._objc_msgSend_63( - _lib._class_NSURLSessionWebSocketMessage1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key._id); + _lib._class_NSURLSessionWebSocketMessage1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSURLSessionWebSocketMessage1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSURLSessionWebSocketMessage1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, NSArray keys, NSString dependentKey) { + SwiftLibrary _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSURLSessionWebSocketMessage1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSURLSessionWebSocketMessage1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_85( - _lib._class_NSURLSessionWebSocketMessage1, - _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSURLSessionWebSocketMessage1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2(_lib._class_NSURLSessionWebSocketMessage1, - _lib._sel_classForKeyedUnarchiver1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSURLSessionWebSocketMessage1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } @@ -71431,24 +95755,33 @@ abstract class NSURLSessionWebSocketMessageType { } void _ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError_fnPtrTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1) => - block.ref.target - .cast< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer arg0, - ffi.Pointer arg1)>>() - .asFunction< - void Function(ffi.Pointer, - ffi.Pointer)>()(arg0, arg1); + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, +) => block.ref.target + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) + > + >() + .asFunction< + void Function(ffi.Pointer, ffi.Pointer) + >()(arg0, arg1); final _ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError_closureRegistry = - , ffi.Pointer)>{}; -int _ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError_closureRegistryIndex = + < + int, + void Function(ffi.Pointer, ffi.Pointer) + >{}; +int +_ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError_closureRegistryIndex = 0; ffi.Pointer - _ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError_registerClosure( - void Function(ffi.Pointer, ffi.Pointer) fn) { +_ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError_registerClosure( + void Function(ffi.Pointer, ffi.Pointer) fn, +) { final id = ++_ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError_closureRegistryIndex; _ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError_closureRegistry[id] = @@ -71457,26 +95790,39 @@ ffi.Pointer } void _ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError_closureTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1) => - _ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError_closureRegistry[ - block.ref.target.address]!(arg0, arg1); + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, +) => + _ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError_closureRegistry[block + .ref + .target + .address]!(arg0, arg1); class ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError - extends _ObjCBlockBase { + extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError._( - ffi.Pointer<_ObjCBlock> id, SwiftLibrary lib, - {bool retain = false, bool release = true}) - : super._(id, lib, retain: retain, release: release); + ffi.Pointer pointer, + this._lib, { + bool retain = false, + bool release = true, + }) : super(pointer, retain: retain, release: release); + + SwiftLibrary _lib; /// Returns a block that wraps the given raw block pointer. static ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError castFromPointer( - SwiftLibrary lib, ffi.Pointer<_ObjCBlock> pointer, - {bool retain = false, bool release = false}) { + SwiftLibrary lib, + ffi.Pointer pointer, { + bool retain = false, + bool release = false, + }) { return ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError._( - pointer, lib, - retain: retain, release: release); + pointer, + lib, + retain: retain, + release: release, + ); } /// Creates a block from a C function pointer. @@ -71485,23 +95831,28 @@ class ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError.fromFunctionPointer( - SwiftLibrary lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer arg0, - ffi.Pointer arg1)>> - ptr) - : this._( - lib._newBlock1( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError_fnPtrTrampoline) - .cast(), - ptr.cast()), - lib); + SwiftLibrary lib, + ffi.Pointer< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) + > + > ptr, + ) : this._(objc.newBlock( + _cFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >( + _ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError_fnPtrTrampoline, + ).cast(), + ptr.cast(), + ), lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -71510,22 +95861,38 @@ class ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError.fromFunction( - SwiftLibrary lib, - void Function(NSURLSessionWebSocketMessage?, NSError?) fn) - : this._( - lib._newBlock1( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError_closureTrampoline) - .cast(), - _ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError_registerClosure( - (ffi.Pointer arg0, ffi.Pointer arg1) => fn( - arg0.address == 0 ? null : NSURLSessionWebSocketMessage._(arg0, lib, retain: true, release: true), - arg1.address == 0 ? null : NSError._(arg1, lib, retain: true, release: true)))), - lib); + SwiftLibrary lib, + void Function(NSURLSessionWebSocketMessage?, NSError?) fn, + ) : this._(objc.newBlock( + _dartFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >( + _ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError_closureTrampoline, + ).cast(), + _ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError_registerClosure( + ( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) => fn( + arg0.address == 0 + ? null + : NSURLSessionWebSocketMessage._( + arg0, + lib, + retain: true, + release: true, + ), + arg1.address == 0 + ? null + : NSError._(arg1, lib, retain: true, release: true), + ), + ), + ), lib); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -71538,41 +95905,66 @@ class ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError.listener( - SwiftLibrary lib, - void Function(NSURLSessionWebSocketMessage?, NSError?) fn) - : this._( - lib._newBlock1( - (_dartFuncListenerTrampoline ??= - ffi.NativeCallable, ffi.Pointer, ffi.Pointer)>.listener( - _ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError_closureTrampoline) - ..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError_registerClosure( - (ffi.Pointer arg0, ffi.Pointer arg1) => fn( - arg0.address == 0 - ? null - : NSURLSessionWebSocketMessage._(arg0, lib, - retain: true, release: true), - arg1.address == 0 - ? null - : NSError._(arg1, lib, retain: true, release: true)))), - lib); + SwiftLibrary lib, + void Function(NSURLSessionWebSocketMessage?, NSError?) fn, + ) : this._(objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >.listener( + _ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError_registerClosure( + ( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) => fn( + arg0.address == 0 + ? null + : NSURLSessionWebSocketMessage._( + arg0, + lib, + retain: true, + release: true, + ), + arg1.address == 0 + ? null + : NSError._(arg1, lib, retain: true, release: true), + ), + ), + ), lib); static ffi.NativeCallable< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer, - ffi.Pointer)>? _dartFuncListenerTrampoline; - - void call(NSURLSessionWebSocketMessage? arg0, NSError? arg1) => _id.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1)>>() - .asFunction< - void Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer, - ffi.Pointer)>()( - _id, arg0?._id ?? ffi.nullptr, arg1?._id ?? ffi.nullptr); + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >? _dartFuncListenerTrampoline; + + void call(NSURLSessionWebSocketMessage? arg0, NSError? arg1) => pointer + .ref + .invoke + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, + ) + > + >() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >()(pointer, arg0?.pointer ?? ffi.nullptr, arg1?.pointer ?? ffi.nullptr); } abstract class NSURLSessionWebSocketCloseCode { @@ -71593,29 +95985,45 @@ abstract class NSURLSessionWebSocketCloseCode { } void _ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError_fnPtrTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2) => - block.ref.target - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2)>>() - .asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>()(arg0, arg1, arg2); -final _ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError_closureRegistry = , ffi.Pointer, - ffi.Pointer)>{}; + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, +) => block.ref.target + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, + ) + > + >() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >()(arg0, arg1, arg2); +final _ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError_closureRegistry = + < + int, + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >{}; int _ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError_closureRegistryIndex = 0; ffi.Pointer - _ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError_registerClosure( - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer) - fn) { +_ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError_registerClosure( + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) fn, +) { final id = ++_ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError_closureRegistryIndex; _ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError_closureRegistry[id] = fn; @@ -71623,25 +96031,39 @@ ffi.Pointer } void _ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError_closureTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2) => - _ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError_closureRegistry[ - block.ref.target.address]!(arg0, arg1, arg2); - -class ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError extends _ObjCBlockBase { + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, +) => _ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError_closureRegistry[block + .ref + .target + .address]!(arg0, arg1, arg2); + +class ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError + extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError._( - ffi.Pointer<_ObjCBlock> id, SwiftLibrary lib, - {bool retain = false, bool release = true}) - : super._(id, lib, retain: retain, release: release); + ffi.Pointer pointer, + this._lib, { + bool retain = false, + bool release = true, + }) : super(pointer, retain: retain, release: release); + + SwiftLibrary _lib; /// Returns a block that wraps the given raw block pointer. static ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError castFromPointer( - SwiftLibrary lib, ffi.Pointer<_ObjCBlock> pointer, - {bool retain = false, bool release = false}) { - return ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError._(pointer, lib, - retain: retain, release: release); + SwiftLibrary lib, + ffi.Pointer pointer, { + bool retain = false, + bool release = false, + }) { + return ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError._( + pointer, + lib, + retain: retain, + release: release, + ); } /// Creates a block from a C function pointer. @@ -71650,26 +96072,30 @@ class ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError.fromFunctionPointer( - SwiftLibrary lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2)>> - ptr) - : this._( - lib._newBlock1( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError_fnPtrTrampoline) - .cast(), - ptr.cast()), - lib); + SwiftLibrary lib, + ffi.Pointer< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, + ) + > + > ptr, + ) : this._(objc.newBlock( + _cFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >( + _ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError_fnPtrTrampoline, + ).cast(), + ptr.cast(), + ), lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -71678,23 +96104,36 @@ class ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError.fromFunction( - SwiftLibrary lib, void Function(NSData?, NSURLResponse?, NSError?) fn) - : this._( - lib._newBlock1( - _dartFuncTrampoline ??= - ffi.Pointer.fromFunction, ffi.Pointer, ffi.Pointer, ffi.Pointer)>( - _ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError_closureTrampoline) - .cast(), - _ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError_registerClosure( - (ffi.Pointer arg0, ffi.Pointer arg1, - ffi.Pointer arg2) => - fn( - arg0.address == 0 - ? null - : NSData._(arg0, lib, retain: true, release: true), - arg1.address == 0 ? null : NSURLResponse._(arg1, lib, retain: true, release: true), - arg2.address == 0 ? null : NSError._(arg2, lib, retain: true, release: true)))), - lib); + SwiftLibrary lib, + void Function(NSData?, NSURLResponse?, NSError?) fn, + ) : this._(objc.newBlock( + _dartFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >( + _ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError_closureTrampoline, + ).cast(), + _ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError_registerClosure(( + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, + ) => fn( + arg0.address == 0 + ? null + : NSData._(arg0, lib, retain: true, release: true), + arg1.address == 0 + ? null + : NSURLResponse._(arg1, lib, retain: true, release: true), + arg2.address == 0 + ? null + : NSError._(arg2, lib, retain: true, release: true), + )), + ), lib); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -71707,75 +96146,114 @@ class ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError extends _ObjCBlockBase { /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError.listener( - SwiftLibrary lib, void Function(NSData?, NSURLResponse?, NSError?) fn) - : this._( - lib._newBlock1( - (_dartFuncListenerTrampoline ??= - ffi.NativeCallable, ffi.Pointer, ffi.Pointer, ffi.Pointer)>.listener( - _ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError_closureTrampoline) - ..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError_registerClosure((ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2) => - fn( - arg0.address == 0 - ? null - : NSData._(arg0, lib, retain: true, release: true), - arg1.address == 0 - ? null - : NSURLResponse._(arg1, lib, retain: true, release: true), - arg2.address == 0 ? null : NSError._(arg2, lib, retain: true, release: true)))), - lib); + SwiftLibrary lib, + void Function(NSData?, NSURLResponse?, NSError?) fn, + ) : this._(objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >.listener( + _ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError_registerClosure(( + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, + ) => fn( + arg0.address == 0 + ? null + : NSData._(arg0, lib, retain: true, release: true), + arg1.address == 0 + ? null + : NSURLResponse._(arg1, lib, retain: true, release: true), + arg2.address == 0 + ? null + : NSError._(arg2, lib, retain: true, release: true), + )), + ), lib); static ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>? _dartFuncListenerTrampoline; - - void call(NSData? arg0, NSURLResponse? arg1, NSError? arg2) => _id.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2)>>() - .asFunction< - void Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>()( - _id, - arg0?._id ?? ffi.nullptr, - arg1?._id ?? ffi.nullptr, - arg2?._id ?? ffi.nullptr); + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >? _dartFuncListenerTrampoline; + + void call(NSData? arg0, NSURLResponse? arg1, NSError? arg2) => pointer + .ref + .invoke + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, + ) + > + >() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >()( + pointer, + arg0?.pointer ?? ffi.nullptr, + arg1?.pointer ?? ffi.nullptr, + arg2?.pointer ?? ffi.nullptr, + ); } void _ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError_fnPtrTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2) => - block.ref.target - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2)>>() - .asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>()(arg0, arg1, arg2); -final _ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError_closureRegistry = , ffi.Pointer, - ffi.Pointer)>{}; + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, +) => block.ref.target + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, + ) + > + >() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >()(arg0, arg1, arg2); +final _ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError_closureRegistry = + < + int, + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >{}; int _ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError_closureRegistryIndex = 0; ffi.Pointer - _ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError_registerClosure( - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer) - fn) { +_ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError_registerClosure( + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) fn, +) { final id = ++_ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError_closureRegistryIndex; _ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError_closureRegistry[id] = fn; @@ -71783,25 +96261,38 @@ ffi.Pointer } void _ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError_closureTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2) => - _ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError_closureRegistry[ - block.ref.target.address]!(arg0, arg1, arg2); - -class ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError extends _ObjCBlockBase { + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, +) => _ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError_closureRegistry[block + .ref + .target + .address]!(arg0, arg1, arg2); + +class ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError._( - ffi.Pointer<_ObjCBlock> id, SwiftLibrary lib, - {bool retain = false, bool release = true}) - : super._(id, lib, retain: retain, release: release); + ffi.Pointer pointer, + this._lib, { + bool retain = false, + bool release = true, + }) : super(pointer, retain: retain, release: release); + + SwiftLibrary _lib; /// Returns a block that wraps the given raw block pointer. static ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError castFromPointer( - SwiftLibrary lib, ffi.Pointer<_ObjCBlock> pointer, - {bool retain = false, bool release = false}) { - return ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError._(pointer, lib, - retain: retain, release: release); + SwiftLibrary lib, + ffi.Pointer pointer, { + bool retain = false, + bool release = false, + }) { + return ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError._( + pointer, + lib, + retain: retain, + release: release, + ); } /// Creates a block from a C function pointer. @@ -71810,26 +96301,30 @@ class ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError.fromFunctionPointer( - SwiftLibrary lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2)>> - ptr) - : this._( - lib._newBlock1( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError_fnPtrTrampoline) - .cast(), - ptr.cast()), - lib); + SwiftLibrary lib, + ffi.Pointer< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, + ) + > + > ptr, + ) : this._(objc.newBlock( + _cFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >( + _ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError_fnPtrTrampoline, + ).cast(), + ptr.cast(), + ), lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -71838,23 +96333,36 @@ class ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError.fromFunction( - SwiftLibrary lib, void Function(NSURL?, NSURLResponse?, NSError?) fn) - : this._( - lib._newBlock1( - _dartFuncTrampoline ??= - ffi.Pointer.fromFunction, ffi.Pointer, ffi.Pointer, ffi.Pointer)>( - _ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError_closureTrampoline) - .cast(), - _ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError_registerClosure( - (ffi.Pointer arg0, ffi.Pointer arg1, ffi.Pointer arg2) => fn( - arg0.address == 0 - ? null - : NSURL._(arg0, lib, retain: true, release: true), - arg1.address == 0 - ? null - : NSURLResponse._(arg1, lib, retain: true, release: true), - arg2.address == 0 ? null : NSError._(arg2, lib, retain: true, release: true)))), - lib); + SwiftLibrary lib, + void Function(NSURL?, NSURLResponse?, NSError?) fn, + ) : this._(objc.newBlock( + _dartFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >( + _ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError_closureTrampoline, + ).cast(), + _ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError_registerClosure(( + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, + ) => fn( + arg0.address == 0 + ? null + : NSURL._(arg0, lib, retain: true, release: true), + arg1.address == 0 + ? null + : NSURLResponse._(arg1, lib, retain: true, release: true), + arg2.address == 0 + ? null + : NSError._(arg2, lib, retain: true, release: true), + )), + ), lib); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -71867,145 +96375,211 @@ class ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError extends _ObjCBlockBase { /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError.listener( - SwiftLibrary lib, void Function(NSURL?, NSURLResponse?, NSError?) fn) - : this._( - lib._newBlock1( - (_dartFuncListenerTrampoline ??= - ffi.NativeCallable, ffi.Pointer, ffi.Pointer, ffi.Pointer)>.listener( - _ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError_closureTrampoline) - ..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError_registerClosure( - (ffi.Pointer arg0, ffi.Pointer arg1, - ffi.Pointer arg2) => - fn( - arg0.address == 0 - ? null - : NSURL._(arg0, lib, retain: true, release: true), - arg1.address == 0 ? null : NSURLResponse._(arg1, lib, retain: true, release: true), - arg2.address == 0 ? null : NSError._(arg2, lib, retain: true, release: true)))), - lib); + SwiftLibrary lib, + void Function(NSURL?, NSURLResponse?, NSError?) fn, + ) : this._(objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >.listener( + _ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError_registerClosure(( + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, + ) => fn( + arg0.address == 0 + ? null + : NSURL._(arg0, lib, retain: true, release: true), + arg1.address == 0 + ? null + : NSURLResponse._(arg1, lib, retain: true, release: true), + arg2.address == 0 + ? null + : NSError._(arg2, lib, retain: true, release: true), + )), + ), lib); static ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>? _dartFuncListenerTrampoline; - - void call(NSURL? arg0, NSURLResponse? arg1, NSError? arg2) => _id.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2)>>() - .asFunction< - void Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>()( - _id, - arg0?._id ?? ffi.nullptr, - arg1?._id ?? ffi.nullptr, - arg2?._id ?? ffi.nullptr); + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >? _dartFuncListenerTrampoline; + + void call(NSURL? arg0, NSURLResponse? arg1, NSError? arg2) => pointer + .ref + .invoke + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, + ) + > + >() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >()( + pointer, + arg0?.pointer ?? ffi.nullptr, + arg1?.pointer ?? ffi.nullptr, + arg2?.pointer ?? ffi.nullptr, + ); } class NSProtocolChecker extends NSProxy { - NSProtocolChecker._(ffi.Pointer id, SwiftLibrary lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSProtocolChecker._( + ffi.Pointer pointer, + SwiftLibrary lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSProtocolChecker] that points to the same underlying object as [other]. - static NSProtocolChecker castFrom(T other) { - return NSProtocolChecker._(other._id, other._lib, - retain: true, release: true); + static NSProtocolChecker castFrom( + SwiftLibrary lib, + T other, + ) { + return NSProtocolChecker._(other.pointer, lib, retain: true, release: true); } /// Returns a [NSProtocolChecker] that wraps the given raw object pointer. static NSProtocolChecker castFromPointer( - SwiftLibrary lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + SwiftLibrary lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSProtocolChecker._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSProtocolChecker]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0(obj._id, obj._lib._sel_isKindOfClass_1, - obj._lib._class_NSProtocolChecker1); + static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSProtocolChecker1, + ); } Protocol get protocol { - final _ret = _lib._objc_msgSend_1098(_id, _lib._sel_protocol1); + final _ret = _lib._objc_msgSend_1098(this.pointer, _lib._sel_protocol1); return Protocol._(_ret, _lib, retain: true, release: true); } NSObject? get target { - final _ret = _lib._objc_msgSend_1099(_id, _lib._sel_target1); + final _ret = _lib._objc_msgSend_1099(this.pointer, _lib._sel_target1); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } static NSProtocolChecker protocolCheckerWithTarget_protocol_( - SwiftLibrary _lib, NSObject anObject, Protocol aProtocol) { + SwiftLibrary _lib, + NSObject anObject, + Protocol aProtocol, + ) { final _ret = _lib._objc_msgSend_1100( - _lib._class_NSProtocolChecker1, - _lib._sel_protocolCheckerWithTarget_protocol_1, - anObject._id, - aProtocol._id); + _lib._class_NSProtocolChecker1, + _lib._sel_protocolCheckerWithTarget_protocol_1, + anObject.pointer, + aProtocol.pointer, + ); return NSProtocolChecker._(_ret, _lib, retain: true, release: true); } NSProtocolChecker initWithTarget_protocol_( - NSObject anObject, Protocol aProtocol) { + NSObject anObject, + Protocol aProtocol, + ) { final _ret = _lib._objc_msgSend_1100( - _id, _lib._sel_initWithTarget_protocol_1, anObject._id, aProtocol._id); + this.pointer, + _lib._sel_initWithTarget_protocol_1, + anObject.pointer, + aProtocol.pointer, + ); return NSProtocolChecker._(_ret, _lib, retain: true, release: true); } static NSObject alloc(SwiftLibrary _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSProtocolChecker1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSProtocolChecker1, + _lib._sel_alloc1, + ); return NSObject._(_ret, _lib, retain: false, release: true); } static bool respondsToSelector_( - SwiftLibrary _lib, ffi.Pointer aSelector) { - return _lib._objc_msgSend_4(_lib._class_NSProtocolChecker1, - _lib._sel_respondsToSelector_1, aSelector); + SwiftLibrary _lib, + ffi.Pointer aSelector, + ) { + return _lib._objc_msgSend_4( + _lib._class_NSProtocolChecker1, + _lib._sel_respondsToSelector_1, + aSelector, + ); } } class NSTask extends NSObject { - NSTask._(ffi.Pointer id, SwiftLibrary lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSTask._( + ffi.Pointer pointer, + SwiftLibrary lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSTask] that points to the same underlying object as [other]. - static NSTask castFrom(T other) { - return NSTask._(other._id, other._lib, retain: true, release: true); + static NSTask castFrom( + SwiftLibrary lib, + T other, + ) { + return NSTask._(other.pointer, lib, retain: true, release: true); } /// Returns a [NSTask] that wraps the given raw object pointer. - static NSTask castFromPointer(SwiftLibrary lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + static NSTask castFromPointer( + SwiftLibrary lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSTask._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSTask]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_NSTask1); + static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSTask1, + ); } @override NSTask init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSTask._(_ret, _lib, retain: true, release: true); } NSURL? get executableURL { - final _ret = _lib._objc_msgSend_45(_id, _lib._sel_executableURL1); + final _ret = _lib._objc_msgSend_45(this.pointer, _lib._sel_executableURL1); return _ret.address == 0 ? null : NSURL._(_ret, _lib, retain: true, release: true); @@ -72013,11 +96587,14 @@ class NSTask extends NSObject { set executableURL(NSURL? value) { return _lib._objc_msgSend_671( - _id, _lib._sel_setExecutableURL_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setExecutableURL_1, + value?.pointer ?? ffi.nullptr, + ); } NSArray? get arguments { - final _ret = _lib._objc_msgSend_84(_id, _lib._sel_arguments1); + final _ret = _lib._objc_msgSend_84(this.pointer, _lib._sel_arguments1); return _ret.address == 0 ? null : NSArray._(_ret, _lib, retain: true, release: true); @@ -72025,11 +96602,14 @@ class NSTask extends NSObject { set arguments(NSArray? value) { return _lib._objc_msgSend_1053( - _id, _lib._sel_setArguments_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setArguments_1, + value?.pointer ?? ffi.nullptr, + ); } NSDictionary? get environment { - final _ret = _lib._objc_msgSend_390(_id, _lib._sel_environment1); + final _ret = _lib._objc_msgSend_390(this.pointer, _lib._sel_environment1); return _ret.address == 0 ? null : NSDictionary._(_ret, _lib, retain: true, release: true); @@ -72037,11 +96617,17 @@ class NSTask extends NSObject { set environment(NSDictionary? value) { return _lib._objc_msgSend_634( - _id, _lib._sel_setEnvironment_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setEnvironment_1, + value?.pointer ?? ffi.nullptr, + ); } NSURL? get currentDirectoryURL { - final _ret = _lib._objc_msgSend_45(_id, _lib._sel_currentDirectoryURL1); + final _ret = _lib._objc_msgSend_45( + this.pointer, + _lib._sel_currentDirectoryURL1, + ); return _ret.address == 0 ? null : NSURL._(_ret, _lib, retain: true, release: true); @@ -72049,11 +96635,17 @@ class NSTask extends NSObject { set currentDirectoryURL(NSURL? value) { return _lib._objc_msgSend_671( - _id, _lib._sel_setCurrentDirectoryURL_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setCurrentDirectoryURL_1, + value?.pointer ?? ffi.nullptr, + ); } NSData? get launchRequirementData { - final _ret = _lib._objc_msgSend_286(_id, _lib._sel_launchRequirementData1); + final _ret = _lib._objc_msgSend_286( + this.pointer, + _lib._sel_launchRequirementData1, + ); return _ret.address == 0 ? null : NSData._(_ret, _lib, retain: true, release: true); @@ -72061,11 +96653,14 @@ class NSTask extends NSObject { set launchRequirementData(NSData? value) { return _lib._objc_msgSend_1021( - _id, _lib._sel_setLaunchRequirementData_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setLaunchRequirementData_1, + value?.pointer ?? ffi.nullptr, + ); } NSObject? get standardInput { - final _ret = _lib._objc_msgSend_17(_id, _lib._sel_standardInput1); + final _ret = _lib._objc_msgSend_17(this.pointer, _lib._sel_standardInput1); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); @@ -72073,11 +96668,14 @@ class NSTask extends NSObject { set standardInput(NSObject? value) { return _lib._objc_msgSend_416( - _id, _lib._sel_setStandardInput_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setStandardInput_1, + value?.pointer ?? ffi.nullptr, + ); } NSObject? get standardOutput { - final _ret = _lib._objc_msgSend_17(_id, _lib._sel_standardOutput1); + final _ret = _lib._objc_msgSend_17(this.pointer, _lib._sel_standardOutput1); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); @@ -72085,11 +96683,14 @@ class NSTask extends NSObject { set standardOutput(NSObject? value) { return _lib._objc_msgSend_416( - _id, _lib._sel_setStandardOutput_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setStandardOutput_1, + value?.pointer ?? ffi.nullptr, + ); } NSObject? get standardError { - final _ret = _lib._objc_msgSend_17(_id, _lib._sel_standardError1); + final _ret = _lib._objc_msgSend_17(this.pointer, _lib._sel_standardError1); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); @@ -72097,47 +96698,57 @@ class NSTask extends NSObject { set standardError(NSObject? value) { return _lib._objc_msgSend_416( - _id, _lib._sel_setStandardError_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setStandardError_1, + value?.pointer ?? ffi.nullptr, + ); } - bool launchAndReturnError_(ffi.Pointer> error) { - return _lib._objc_msgSend_255(_id, _lib._sel_launchAndReturnError_1, error); + bool launchAndReturnError_(ffi.Pointer> error) { + return _lib._objc_msgSend_255( + this.pointer, + _lib._sel_launchAndReturnError_1, + error, + ); } void interrupt() { - _lib._objc_msgSend_1(_id, _lib._sel_interrupt1); + _lib._objc_msgSend_1(this.pointer, _lib._sel_interrupt1); } void terminate() { - _lib._objc_msgSend_1(_id, _lib._sel_terminate1); + _lib._objc_msgSend_1(this.pointer, _lib._sel_terminate1); } bool suspend() { - return _lib._objc_msgSend_12(_id, _lib._sel_suspend1); + return _lib._objc_msgSend_12(this.pointer, _lib._sel_suspend1); } bool resume() { - return _lib._objc_msgSend_12(_id, _lib._sel_resume1); + return _lib._objc_msgSend_12(this.pointer, _lib._sel_resume1); } int get processIdentifier { - return _lib._objc_msgSend_237(_id, _lib._sel_processIdentifier1); + return _lib._objc_msgSend_237(this.pointer, _lib._sel_processIdentifier1); } bool get running { - return _lib._objc_msgSend_12(_id, _lib._sel_isRunning1); + return _lib._objc_msgSend_12(this.pointer, _lib._sel_isRunning1); } int get terminationStatus { - return _lib._objc_msgSend_237(_id, _lib._sel_terminationStatus1); + return _lib._objc_msgSend_237(this.pointer, _lib._sel_terminationStatus1); } int get terminationReason { - return _lib._objc_msgSend_1101(_id, _lib._sel_terminationReason1); + return _lib._objc_msgSend_1101(this.pointer, _lib._sel_terminationReason1); } ObjCBlock_ffiVoid_NSTask? get terminationHandler { - final _ret = _lib._objc_msgSend_1102(_id, _lib._sel_terminationHandler1); + final _ret = _lib._objc_msgSend_1102( + this.pointer, + _lib._sel_terminationHandler1, + ); return _ret.address == 0 ? null : ObjCBlock_ffiVoid_NSTask._(_ret, _lib, retain: true, release: true); @@ -72145,42 +96756,51 @@ class NSTask extends NSObject { set terminationHandler(ObjCBlock_ffiVoid_NSTask? value) { return _lib._objc_msgSend_1103( - _id, _lib._sel_setTerminationHandler_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setTerminationHandler_1, + value?.pointer ?? ffi.nullptr, + ); } int get qualityOfService { - return _lib._objc_msgSend_543(_id, _lib._sel_qualityOfService1); + return _lib._objc_msgSend_543(this.pointer, _lib._sel_qualityOfService1); } set qualityOfService(int value) { - return _lib._objc_msgSend_544(_id, _lib._sel_setQualityOfService_1, value); + return _lib._objc_msgSend_544( + this.pointer, + _lib._sel_setQualityOfService_1, + value, + ); } static NSTask? - launchedTaskWithExecutableURL_arguments_error_terminationHandler_( - SwiftLibrary _lib, - NSURL url, - NSArray arguments, - ffi.Pointer> error, - ObjCBlock_ffiVoid_NSTask? terminationHandler) { + launchedTaskWithExecutableURL_arguments_error_terminationHandler_( + SwiftLibrary _lib, + NSURL url, + NSArray arguments, + ffi.Pointer> error, + ObjCBlock_ffiVoid_NSTask? terminationHandler, + ) { final _ret = _lib._objc_msgSend_1104( - _lib._class_NSTask1, - _lib._sel_launchedTaskWithExecutableURL_arguments_error_terminationHandler_1, - url._id, - arguments._id, - error, - terminationHandler?._id ?? ffi.nullptr); + _lib._class_NSTask1, + _lib._sel_launchedTaskWithExecutableURL_arguments_error_terminationHandler_1, + url.pointer, + arguments.pointer, + error, + terminationHandler?.pointer ?? ffi.nullptr, + ); return _ret.address == 0 ? null : NSTask._(_ret, _lib, retain: true, release: true); } void waitUntilExit() { - _lib._objc_msgSend_1(_id, _lib._sel_waitUntilExit1); + _lib._objc_msgSend_1(this.pointer, _lib._sel_waitUntilExit1); } NSString? get launchPath { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_launchPath1); + final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_launchPath1); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); @@ -72188,30 +96808,43 @@ class NSTask extends NSObject { set launchPath(NSString? value) { return _lib._objc_msgSend_545( - _id, _lib._sel_setLaunchPath_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setLaunchPath_1, + value?.pointer ?? ffi.nullptr, + ); } NSString get currentDirectoryPath { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_currentDirectoryPath1); + final _ret = _lib._objc_msgSend_21( + this.pointer, + _lib._sel_currentDirectoryPath1, + ); return NSString._(_ret, _lib, retain: true, release: true); } set currentDirectoryPath(NSString value) { return _lib._objc_msgSend_646( - _id, _lib._sel_setCurrentDirectoryPath_1, value._id); + this.pointer, + _lib._sel_setCurrentDirectoryPath_1, + value.pointer, + ); } void launch() { - _lib._objc_msgSend_1(_id, _lib._sel_launch1); + _lib._objc_msgSend_1(this.pointer, _lib._sel_launch1); } static NSTask launchedTaskWithLaunchPath_arguments_( - SwiftLibrary _lib, NSString path, NSArray arguments) { + SwiftLibrary _lib, + NSString path, + NSArray arguments, + ) { final _ret = _lib._objc_msgSend_1105( - _lib._class_NSTask1, - _lib._sel_launchedTaskWithLaunchPath_arguments_1, - path._id, - arguments._id); + _lib._class_NSTask1, + _lib._sel_launchedTaskWithLaunchPath_arguments_1, + path.pointer, + arguments.pointer, + ); return NSTask._(_ret, _lib, retain: true, release: true); } @@ -72222,7 +96855,10 @@ class NSTask extends NSObject { static NSTask allocWithZone_(SwiftLibrary _lib, ffi.Pointer<_NSZone> zone) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSTask1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSTask1, + _lib._sel_allocWithZone_1, + zone, + ); return NSTask._(_ret, _lib, retain: false, release: true); } @@ -72232,65 +96868,94 @@ class NSTask extends NSObject { } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + SwiftLibrary _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSTask1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSTask1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSTask1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + SwiftLibrary _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSTask1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { return _lib._objc_msgSend_12( - _lib._class_NSTask1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_NSTask1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(SwiftLibrary _lib) { return _lib._objc_msgSend_12( - _lib._class_NSTask1, _lib._sel_useStoredAccessor1); + _lib._class_NSTask1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSTask1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSTask1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSTask1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSTask1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, NSArray keys, NSString dependentKey) { + SwiftLibrary _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSTask1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSTask1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_85( - _lib._class_NSTask1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSTask1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSTask1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSTask1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } @@ -72301,37 +96966,52 @@ abstract class NSTaskTerminationReason { } void _ObjCBlock_ffiVoid_NSTask_fnPtrTrampoline( - ffi.Pointer<_ObjCBlock> block, ffi.Pointer arg0) => - block.ref.target - .cast< - ffi - .NativeFunction arg0)>>() - .asFunction)>()(arg0); + ffi.Pointer block, + ffi.Pointer arg0, +) => block.ref.target + .cast< + ffi.NativeFunction arg0)> + >() + .asFunction)>()(arg0); final _ObjCBlock_ffiVoid_NSTask_closureRegistry = - )>{}; + )>{}; int _ObjCBlock_ffiVoid_NSTask_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_ffiVoid_NSTask_registerClosure( - void Function(ffi.Pointer) fn) { + void Function(ffi.Pointer) fn, +) { final id = ++_ObjCBlock_ffiVoid_NSTask_closureRegistryIndex; _ObjCBlock_ffiVoid_NSTask_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } void _ObjCBlock_ffiVoid_NSTask_closureTrampoline( - ffi.Pointer<_ObjCBlock> block, ffi.Pointer arg0) => - _ObjCBlock_ffiVoid_NSTask_closureRegistry[block.ref.target.address]!(arg0); + ffi.Pointer block, + ffi.Pointer arg0, +) => _ObjCBlock_ffiVoid_NSTask_closureRegistry[block.ref.target.address]!(arg0); + +class ObjCBlock_ffiVoid_NSTask extends objc.ObjCBlockBase { + ObjCBlock_ffiVoid_NSTask._( + ffi.Pointer pointer, + this._lib, { + bool retain = false, + bool release = true, + }) : super(pointer, retain: retain, release: release); -class ObjCBlock_ffiVoid_NSTask extends _ObjCBlockBase { - ObjCBlock_ffiVoid_NSTask._(ffi.Pointer<_ObjCBlock> id, SwiftLibrary lib, - {bool retain = false, bool release = true}) - : super._(id, lib, retain: retain, release: release); + SwiftLibrary _lib; /// Returns a block that wraps the given raw block pointer. static ObjCBlock_ffiVoid_NSTask castFromPointer( - SwiftLibrary lib, ffi.Pointer<_ObjCBlock> pointer, - {bool retain = false, bool release = false}) { - return ObjCBlock_ffiVoid_NSTask._(pointer, lib, - retain: retain, release: release); + SwiftLibrary lib, + ffi.Pointer pointer, { + bool retain = false, + bool release = false, + }) { + return ObjCBlock_ffiVoid_NSTask._( + pointer, + lib, + retain: retain, + release: release, + ); } /// Creates a block from a C function pointer. @@ -72340,21 +97020,20 @@ class ObjCBlock_ffiVoid_NSTask extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSTask.fromFunctionPointer( - SwiftLibrary lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer arg0)>> - ptr) - : this._( - lib - ._newBlock1( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_NSTask_fnPtrTrampoline) - .cast(), - ptr.cast()), - lib); + SwiftLibrary lib, + ffi.Pointer< + ffi.NativeFunction arg0)> + > ptr, + ) : this._(objc.newBlock( + _cFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_NSTask_fnPtrTrampoline).cast(), + ptr.cast(), + ), lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -72363,18 +97042,20 @@ class ObjCBlock_ffiVoid_NSTask extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSTask.fromFunction( - SwiftLibrary lib, void Function(NSTask) fn) - : this._( - lib._newBlock1( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_NSTask_closureTrampoline) - .cast(), - _ObjCBlock_ffiVoid_NSTask_registerClosure( - (ffi.Pointer arg0) => - fn(NSTask._(arg0, lib, retain: true, release: true)))), - lib); + SwiftLibrary lib, + void Function(NSTask) fn, + ) : this._(objc.newBlock( + _dartFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_NSTask_closureTrampoline).cast(), + _ObjCBlock_ffiVoid_NSTask_registerClosure(( + ffi.Pointer arg0, + ) => fn(NSTask._(arg0, lib, retain: true, release: true))), + ), lib); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -72387,80 +97068,113 @@ class ObjCBlock_ffiVoid_NSTask extends _ObjCBlockBase { /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. ObjCBlock_ffiVoid_NSTask.listener(SwiftLibrary lib, void Function(NSTask) fn) - : this._( - lib._newBlock1( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, - ffi.Pointer)>.listener( - _ObjCBlock_ffiVoid_NSTask_closureTrampoline) - ..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSTask_registerClosure( - (ffi.Pointer arg0) => - fn(NSTask._(arg0, lib, retain: true, release: true)))), - lib); + : this._(objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ) + >.listener( + _ObjCBlock_ffiVoid_NSTask_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSTask_registerClosure(( + ffi.Pointer arg0, + ) => fn(NSTask._(arg0, lib, retain: true, release: true))), + ), lib); static ffi.NativeCallable< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer)>? - _dartFuncListenerTrampoline; + ffi.Void Function(ffi.Pointer, ffi.Pointer) + >? _dartFuncListenerTrampoline; - void call(NSTask arg0) => _id.ref.invoke + void call(NSTask arg0) => pointer.ref.invoke .cast< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0)>>() + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer block, + ffi.Pointer arg0, + ) + > + >() .asFunction< - void Function(ffi.Pointer<_ObjCBlock>, - ffi.Pointer)>()(_id, arg0._id); + void Function(ffi.Pointer, ffi.Pointer) + >()(pointer, arg0.pointer); } class NSXMLElement extends NSXMLNode { - NSXMLElement._(ffi.Pointer id, SwiftLibrary lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSXMLElement._( + ffi.Pointer pointer, + SwiftLibrary lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSXMLElement] that points to the same underlying object as [other]. - static NSXMLElement castFrom(T other) { - return NSXMLElement._(other._id, other._lib, retain: true, release: true); + static NSXMLElement castFrom( + SwiftLibrary lib, + T other, + ) { + return NSXMLElement._(other.pointer, lib, retain: true, release: true); } /// Returns a [NSXMLElement] that wraps the given raw object pointer. static NSXMLElement castFromPointer( - SwiftLibrary lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + SwiftLibrary lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSXMLElement._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSXMLElement]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_NSXMLElement1); + static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSXMLElement1, + ); } NSXMLElement initWithName_(NSString name) { - final _ret = _lib._objc_msgSend_31(_id, _lib._sel_initWithName_1, name._id); + final _ret = _lib._objc_msgSend_31( + this.pointer, + _lib._sel_initWithName_1, + name.pointer, + ); return NSXMLElement._(_ret, _lib, retain: true, release: true); } NSXMLElement initWithName_URI_(NSString name, NSString? URI) { final _ret = _lib._objc_msgSend_1142( - _id, _lib._sel_initWithName_URI_1, name._id, URI?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_initWithName_URI_1, + name.pointer, + URI?.pointer ?? ffi.nullptr, + ); return NSXMLElement._(_ret, _lib, retain: true, release: true); } NSXMLElement initWithName_stringValue_(NSString name, NSString? string) { final _ret = _lib._objc_msgSend_1142( - _id, - _lib._sel_initWithName_stringValue_1, - name._id, - string?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_initWithName_stringValue_1, + name.pointer, + string?.pointer ?? ffi.nullptr, + ); return NSXMLElement._(_ret, _lib, retain: true, release: true); } NSXMLElement? initWithXMLString_error_( - NSString string, ffi.Pointer> error) { + NSString string, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_303( - _id, _lib._sel_initWithXMLString_error_1, string._id, error); + this.pointer, + _lib._sel_initWithXMLString_error_1, + string.pointer, + error, + ); return _ret.address == 0 ? null : NSXMLElement._(_ret, _lib, retain: true, release: true); @@ -72469,35 +97183,51 @@ class NSXMLElement extends NSXMLNode { @override NSXMLElement initWithKind_options_(int kind, int options) { final _ret = _lib._objc_msgSend_1107( - _id, _lib._sel_initWithKind_options_1, kind, options); + this.pointer, + _lib._sel_initWithKind_options_1, + kind, + options, + ); return NSXMLElement._(_ret, _lib, retain: true, release: true); } NSArray elementsForName_(NSString name) { - final _ret = - _lib._objc_msgSend_358(_id, _lib._sel_elementsForName_1, name._id); + final _ret = _lib._objc_msgSend_358( + this.pointer, + _lib._sel_elementsForName_1, + name.pointer, + ); return NSArray._(_ret, _lib, retain: true, release: true); } NSArray elementsForLocalName_URI_(NSString localName, NSString? URI) { final _ret = _lib._objc_msgSend_1143( - _id, - _lib._sel_elementsForLocalName_URI_1, - localName._id, - URI?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_elementsForLocalName_URI_1, + localName.pointer, + URI?.pointer ?? ffi.nullptr, + ); return NSArray._(_ret, _lib, retain: true, release: true); } void addAttribute_(NSXMLNode attribute) { - _lib._objc_msgSend_1121(_id, _lib._sel_addAttribute_1, attribute._id); + _lib._objc_msgSend_1121( + this.pointer, + _lib._sel_addAttribute_1, + attribute.pointer, + ); } void removeAttributeForName_(NSString name) { - _lib._objc_msgSend_247(_id, _lib._sel_removeAttributeForName_1, name._id); + _lib._objc_msgSend_247( + this.pointer, + _lib._sel_removeAttributeForName_1, + name.pointer, + ); } NSArray? get attributes { - final _ret = _lib._objc_msgSend_84(_id, _lib._sel_attributes1); + final _ret = _lib._objc_msgSend_84(this.pointer, _lib._sel_attributes1); return _ret.address == 0 ? null : NSArray._(_ret, _lib, retain: true, release: true); @@ -72505,17 +97235,26 @@ class NSXMLElement extends NSXMLNode { set attributes(NSArray? value) { return _lib._objc_msgSend_1053( - _id, _lib._sel_setAttributes_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setAttributes_1, + value?.pointer ?? ffi.nullptr, + ); } void setAttributesWithDictionary_(NSDictionary attributes) { _lib._objc_msgSend_509( - _id, _lib._sel_setAttributesWithDictionary_1, attributes._id); + this.pointer, + _lib._sel_setAttributesWithDictionary_1, + attributes.pointer, + ); } NSXMLNode? attributeForName_(NSString name) { - final _ret = - _lib._objc_msgSend_1125(_id, _lib._sel_attributeForName_1, name._id); + final _ret = _lib._objc_msgSend_1125( + this.pointer, + _lib._sel_attributeForName_1, + name.pointer, + ); return _ret.address == 0 ? null : NSXMLNode._(_ret, _lib, retain: true, release: true); @@ -72523,25 +97262,34 @@ class NSXMLElement extends NSXMLNode { NSXMLNode? attributeForLocalName_URI_(NSString localName, NSString? URI) { final _ret = _lib._objc_msgSend_1144( - _id, - _lib._sel_attributeForLocalName_URI_1, - localName._id, - URI?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_attributeForLocalName_URI_1, + localName.pointer, + URI?.pointer ?? ffi.nullptr, + ); return _ret.address == 0 ? null : NSXMLNode._(_ret, _lib, retain: true, release: true); } void addNamespace_(NSXMLNode aNamespace) { - _lib._objc_msgSend_1121(_id, _lib._sel_addNamespace_1, aNamespace._id); + _lib._objc_msgSend_1121( + this.pointer, + _lib._sel_addNamespace_1, + aNamespace.pointer, + ); } void removeNamespaceForPrefix_(NSString name) { - _lib._objc_msgSend_247(_id, _lib._sel_removeNamespaceForPrefix_1, name._id); + _lib._objc_msgSend_247( + this.pointer, + _lib._sel_removeNamespaceForPrefix_1, + name.pointer, + ); } NSArray? get namespaces { - final _ret = _lib._objc_msgSend_84(_id, _lib._sel_namespaces1); + final _ret = _lib._objc_msgSend_84(this.pointer, _lib._sel_namespaces1); return _ret.address == 0 ? null : NSArray._(_ret, _lib, retain: true, release: true); @@ -72549,12 +97297,18 @@ class NSXMLElement extends NSXMLNode { set namespaces(NSArray? value) { return _lib._objc_msgSend_1053( - _id, _lib._sel_setNamespaces_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setNamespaces_1, + value?.pointer ?? ffi.nullptr, + ); } NSXMLNode? namespaceForPrefix_(NSString name) { - final _ret = - _lib._objc_msgSend_1125(_id, _lib._sel_namespaceForPrefix_1, name._id); + final _ret = _lib._objc_msgSend_1125( + this.pointer, + _lib._sel_namespaceForPrefix_1, + name.pointer, + ); return _ret.address == 0 ? null : NSXMLNode._(_ret, _lib, retain: true, release: true); @@ -72562,7 +97316,10 @@ class NSXMLElement extends NSXMLNode { NSXMLNode? resolveNamespaceForName_(NSString name) { final _ret = _lib._objc_msgSend_1125( - _id, _lib._sel_resolveNamespaceForName_1, name._id); + this.pointer, + _lib._sel_resolveNamespaceForName_1, + name.pointer, + ); return _ret.address == 0 ? null : NSXMLNode._(_ret, _lib, retain: true, release: true); @@ -72570,7 +97327,10 @@ class NSXMLElement extends NSXMLNode { NSString? resolvePrefixForNamespaceURI_(NSString namespaceURI) { final _ret = _lib._objc_msgSend_186( - _id, _lib._sel_resolvePrefixForNamespaceURI_1, namespaceURI._id); + this.pointer, + _lib._sel_resolvePrefixForNamespaceURI_1, + namespaceURI.pointer, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); @@ -72578,150 +97338,240 @@ class NSXMLElement extends NSXMLNode { void insertChild_atIndex_(NSXMLNode child, int index) { _lib._objc_msgSend_1119( - _id, _lib._sel_insertChild_atIndex_1, child._id, index); + this.pointer, + _lib._sel_insertChild_atIndex_1, + child.pointer, + index, + ); } void insertChildren_atIndex_(NSArray children, int index) { _lib._objc_msgSend_1120( - _id, _lib._sel_insertChildren_atIndex_1, children._id, index); + this.pointer, + _lib._sel_insertChildren_atIndex_1, + children.pointer, + index, + ); } void removeChildAtIndex_(int index) { - _lib._objc_msgSend_470(_id, _lib._sel_removeChildAtIndex_1, index); + _lib._objc_msgSend_470(this.pointer, _lib._sel_removeChildAtIndex_1, index); } void setChildren_(NSArray? children) { _lib._objc_msgSend_843( - _id, _lib._sel_setChildren_1, children?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setChildren_1, + children?.pointer ?? ffi.nullptr, + ); } void addChild_(NSXMLNode child) { - _lib._objc_msgSend_1121(_id, _lib._sel_addChild_1, child._id); + _lib._objc_msgSend_1121(this.pointer, _lib._sel_addChild_1, child.pointer); } void replaceChildAtIndex_withNode_(int index, NSXMLNode node) { _lib._objc_msgSend_1122( - _id, _lib._sel_replaceChildAtIndex_withNode_1, index, node._id); + this.pointer, + _lib._sel_replaceChildAtIndex_withNode_1, + index, + node.pointer, + ); } void normalizeAdjacentTextNodesPreservingCDATA_(bool preserve) { _lib._objc_msgSend_870( - _id, _lib._sel_normalizeAdjacentTextNodesPreservingCDATA_1, preserve); + this.pointer, + _lib._sel_normalizeAdjacentTextNodesPreservingCDATA_1, + preserve, + ); } void setAttributesAsDictionary_(NSDictionary attributes) { _lib._objc_msgSend_509( - _id, _lib._sel_setAttributesAsDictionary_1, attributes._id); + this.pointer, + _lib._sel_setAttributesAsDictionary_1, + attributes.pointer, + ); } @override NSXMLElement init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSXMLElement._(_ret, _lib, retain: true, release: true); } @override NSXMLElement initWithKind_(int kind) { - final _ret = _lib._objc_msgSend_1106(_id, _lib._sel_initWithKind_1, kind); + final _ret = _lib._objc_msgSend_1106( + this.pointer, + _lib._sel_initWithKind_1, + kind, + ); return NSXMLElement._(_ret, _lib, retain: true, release: true); } static NSObject document(SwiftLibrary _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSXMLElement1, _lib._sel_document1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSXMLElement1, + _lib._sel_document1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } static NSObject documentWithRootElement_( - SwiftLibrary _lib, NSXMLElement element) { - final _ret = _lib._objc_msgSend_1108(_lib._class_NSXMLElement1, - _lib._sel_documentWithRootElement_1, element._id); + SwiftLibrary _lib, + NSXMLElement element, + ) { + final _ret = _lib._objc_msgSend_1108( + _lib._class_NSXMLElement1, + _lib._sel_documentWithRootElement_1, + element.pointer, + ); return NSObject._(_ret, _lib, retain: true, release: true); } static NSObject elementWithName_(SwiftLibrary _lib, NSString name) { final _ret = _lib._objc_msgSend_31( - _lib._class_NSXMLElement1, _lib._sel_elementWithName_1, name._id); + _lib._class_NSXMLElement1, + _lib._sel_elementWithName_1, + name.pointer, + ); return NSObject._(_ret, _lib, retain: true, release: true); } static NSObject elementWithName_URI_( - SwiftLibrary _lib, NSString name, NSString URI) { - final _ret = _lib._objc_msgSend_1109(_lib._class_NSXMLElement1, - _lib._sel_elementWithName_URI_1, name._id, URI._id); + SwiftLibrary _lib, + NSString name, + NSString URI, + ) { + final _ret = _lib._objc_msgSend_1109( + _lib._class_NSXMLElement1, + _lib._sel_elementWithName_URI_1, + name.pointer, + URI.pointer, + ); return NSObject._(_ret, _lib, retain: true, release: true); } static NSObject elementWithName_stringValue_( - SwiftLibrary _lib, NSString name, NSString string) { - final _ret = _lib._objc_msgSend_1109(_lib._class_NSXMLElement1, - _lib._sel_elementWithName_stringValue_1, name._id, string._id); + SwiftLibrary _lib, + NSString name, + NSString string, + ) { + final _ret = _lib._objc_msgSend_1109( + _lib._class_NSXMLElement1, + _lib._sel_elementWithName_stringValue_1, + name.pointer, + string.pointer, + ); return NSObject._(_ret, _lib, retain: true, release: true); } - static NSObject elementWithName_children_attributes_(SwiftLibrary _lib, - NSString name, NSArray? children, NSArray? attributes) { + static NSObject elementWithName_children_attributes_( + SwiftLibrary _lib, + NSString name, + NSArray? children, + NSArray? attributes, + ) { final _ret = _lib._objc_msgSend_1110( - _lib._class_NSXMLElement1, - _lib._sel_elementWithName_children_attributes_1, - name._id, - children?._id ?? ffi.nullptr, - attributes?._id ?? ffi.nullptr); + _lib._class_NSXMLElement1, + _lib._sel_elementWithName_children_attributes_1, + name.pointer, + children?.pointer ?? ffi.nullptr, + attributes?.pointer ?? ffi.nullptr, + ); return NSObject._(_ret, _lib, retain: true, release: true); } static NSObject attributeWithName_stringValue_( - SwiftLibrary _lib, NSString name, NSString stringValue) { - final _ret = _lib._objc_msgSend_1109(_lib._class_NSXMLElement1, - _lib._sel_attributeWithName_stringValue_1, name._id, stringValue._id); + SwiftLibrary _lib, + NSString name, + NSString stringValue, + ) { + final _ret = _lib._objc_msgSend_1109( + _lib._class_NSXMLElement1, + _lib._sel_attributeWithName_stringValue_1, + name.pointer, + stringValue.pointer, + ); return NSObject._(_ret, _lib, retain: true, release: true); } static NSObject attributeWithName_URI_stringValue_( - SwiftLibrary _lib, NSString name, NSString URI, NSString stringValue) { + SwiftLibrary _lib, + NSString name, + NSString URI, + NSString stringValue, + ) { final _ret = _lib._objc_msgSend_1074( - _lib._class_NSXMLElement1, - _lib._sel_attributeWithName_URI_stringValue_1, - name._id, - URI._id, - stringValue._id); + _lib._class_NSXMLElement1, + _lib._sel_attributeWithName_URI_stringValue_1, + name.pointer, + URI.pointer, + stringValue.pointer, + ); return NSObject._(_ret, _lib, retain: true, release: true); } static NSObject namespaceWithName_stringValue_( - SwiftLibrary _lib, NSString name, NSString stringValue) { - final _ret = _lib._objc_msgSend_1109(_lib._class_NSXMLElement1, - _lib._sel_namespaceWithName_stringValue_1, name._id, stringValue._id); + SwiftLibrary _lib, + NSString name, + NSString stringValue, + ) { + final _ret = _lib._objc_msgSend_1109( + _lib._class_NSXMLElement1, + _lib._sel_namespaceWithName_stringValue_1, + name.pointer, + stringValue.pointer, + ); return NSObject._(_ret, _lib, retain: true, release: true); } static NSObject processingInstructionWithName_stringValue_( - SwiftLibrary _lib, NSString name, NSString stringValue) { + SwiftLibrary _lib, + NSString name, + NSString stringValue, + ) { final _ret = _lib._objc_msgSend_1109( - _lib._class_NSXMLElement1, - _lib._sel_processingInstructionWithName_stringValue_1, - name._id, - stringValue._id); + _lib._class_NSXMLElement1, + _lib._sel_processingInstructionWithName_stringValue_1, + name.pointer, + stringValue.pointer, + ); return NSObject._(_ret, _lib, retain: true, release: true); } static NSObject commentWithStringValue_( - SwiftLibrary _lib, NSString stringValue) { - final _ret = _lib._objc_msgSend_31(_lib._class_NSXMLElement1, - _lib._sel_commentWithStringValue_1, stringValue._id); + SwiftLibrary _lib, + NSString stringValue, + ) { + final _ret = _lib._objc_msgSend_31( + _lib._class_NSXMLElement1, + _lib._sel_commentWithStringValue_1, + stringValue.pointer, + ); return NSObject._(_ret, _lib, retain: true, release: true); } static NSObject textWithStringValue_( - SwiftLibrary _lib, NSString stringValue) { - final _ret = _lib._objc_msgSend_31(_lib._class_NSXMLElement1, - _lib._sel_textWithStringValue_1, stringValue._id); + SwiftLibrary _lib, + NSString stringValue, + ) { + final _ret = _lib._objc_msgSend_31( + _lib._class_NSXMLElement1, + _lib._sel_textWithStringValue_1, + stringValue.pointer, + ); return NSObject._(_ret, _lib, retain: true, release: true); } static NSObject? DTDNodeWithXMLString_(SwiftLibrary _lib, NSString string) { - final _ret = _lib._objc_msgSend_38(_lib._class_NSXMLElement1, - _lib._sel_DTDNodeWithXMLString_1, string._id); + final _ret = _lib._objc_msgSend_38( + _lib._class_NSXMLElement1, + _lib._sel_DTDNodeWithXMLString_1, + string.pointer, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); @@ -72729,257 +97579,391 @@ class NSXMLElement extends NSXMLNode { static NSString localNameForName_(SwiftLibrary _lib, NSString name) { final _ret = _lib._objc_msgSend_69( - _lib._class_NSXMLElement1, _lib._sel_localNameForName_1, name._id); + _lib._class_NSXMLElement1, + _lib._sel_localNameForName_1, + name.pointer, + ); return NSString._(_ret, _lib, retain: true, release: true); } static NSString? prefixForName_(SwiftLibrary _lib, NSString name) { final _ret = _lib._objc_msgSend_186( - _lib._class_NSXMLElement1, _lib._sel_prefixForName_1, name._id); + _lib._class_NSXMLElement1, + _lib._sel_prefixForName_1, + name.pointer, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } static NSXMLNode? predefinedNamespaceForPrefix_( - SwiftLibrary _lib, NSString name) { - final _ret = _lib._objc_msgSend_1125(_lib._class_NSXMLElement1, - _lib._sel_predefinedNamespaceForPrefix_1, name._id); + SwiftLibrary _lib, + NSString name, + ) { + final _ret = _lib._objc_msgSend_1125( + _lib._class_NSXMLElement1, + _lib._sel_predefinedNamespaceForPrefix_1, + name.pointer, + ); return _ret.address == 0 ? null : NSXMLNode._(_ret, _lib, retain: true, release: true); } static NSXMLElement new1(SwiftLibrary _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSXMLElement1, _lib._sel_new1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSXMLElement1, + _lib._sel_new1, + ); return NSXMLElement._(_ret, _lib, retain: false, release: true); } static NSXMLElement allocWithZone_( - SwiftLibrary _lib, ffi.Pointer<_NSZone> zone) { + SwiftLibrary _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSXMLElement1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSXMLElement1, + _lib._sel_allocWithZone_1, + zone, + ); return NSXMLElement._(_ret, _lib, retain: false, release: true); } static NSXMLElement alloc(SwiftLibrary _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSXMLElement1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSXMLElement1, + _lib._sel_alloc1, + ); return NSXMLElement._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + SwiftLibrary _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSXMLElement1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSXMLElement1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSXMLElement1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + SwiftLibrary _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSXMLElement1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { return _lib._objc_msgSend_12( - _lib._class_NSXMLElement1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_NSXMLElement1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(SwiftLibrary _lib) { return _lib._objc_msgSend_12( - _lib._class_NSXMLElement1, _lib._sel_useStoredAccessor1); + _lib._class_NSXMLElement1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSXMLElement1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSXMLElement1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSXMLElement1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSXMLElement1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, NSArray keys, NSString dependentKey) { + SwiftLibrary _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSXMLElement1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSXMLElement1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_85( - _lib._class_NSXMLElement1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSXMLElement1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSXMLElement1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSXMLElement1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } class NSXMLNode extends NSObject { - NSXMLNode._(ffi.Pointer id, SwiftLibrary lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSXMLNode._( + ffi.Pointer pointer, + SwiftLibrary lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSXMLNode] that points to the same underlying object as [other]. - static NSXMLNode castFrom(T other) { - return NSXMLNode._(other._id, other._lib, retain: true, release: true); + static NSXMLNode castFrom( + SwiftLibrary lib, + T other, + ) { + return NSXMLNode._(other.pointer, lib, retain: true, release: true); } /// Returns a [NSXMLNode] that wraps the given raw object pointer. static NSXMLNode castFromPointer( - SwiftLibrary lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + SwiftLibrary lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSXMLNode._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSXMLNode]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_NSXMLNode1); + static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSXMLNode1, + ); } @override NSXMLNode init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSXMLNode._(_ret, _lib, retain: true, release: true); } NSXMLNode initWithKind_(int kind) { - final _ret = _lib._objc_msgSend_1106(_id, _lib._sel_initWithKind_1, kind); + final _ret = _lib._objc_msgSend_1106( + this.pointer, + _lib._sel_initWithKind_1, + kind, + ); return NSXMLNode._(_ret, _lib, retain: true, release: true); } NSXMLNode initWithKind_options_(int kind, int options) { final _ret = _lib._objc_msgSend_1107( - _id, _lib._sel_initWithKind_options_1, kind, options); + this.pointer, + _lib._sel_initWithKind_options_1, + kind, + options, + ); return NSXMLNode._(_ret, _lib, retain: true, release: true); } static NSObject document(SwiftLibrary _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSXMLNode1, _lib._sel_document1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSXMLNode1, + _lib._sel_document1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } static NSObject documentWithRootElement_( - SwiftLibrary _lib, NSXMLElement element) { - final _ret = _lib._objc_msgSend_1108(_lib._class_NSXMLNode1, - _lib._sel_documentWithRootElement_1, element._id); + SwiftLibrary _lib, + NSXMLElement element, + ) { + final _ret = _lib._objc_msgSend_1108( + _lib._class_NSXMLNode1, + _lib._sel_documentWithRootElement_1, + element.pointer, + ); return NSObject._(_ret, _lib, retain: true, release: true); } static NSObject elementWithName_(SwiftLibrary _lib, NSString name) { final _ret = _lib._objc_msgSend_31( - _lib._class_NSXMLNode1, _lib._sel_elementWithName_1, name._id); + _lib._class_NSXMLNode1, + _lib._sel_elementWithName_1, + name.pointer, + ); return NSObject._(_ret, _lib, retain: true, release: true); } static NSObject elementWithName_URI_( - SwiftLibrary _lib, NSString name, NSString URI) { - final _ret = _lib._objc_msgSend_1109(_lib._class_NSXMLNode1, - _lib._sel_elementWithName_URI_1, name._id, URI._id); + SwiftLibrary _lib, + NSString name, + NSString URI, + ) { + final _ret = _lib._objc_msgSend_1109( + _lib._class_NSXMLNode1, + _lib._sel_elementWithName_URI_1, + name.pointer, + URI.pointer, + ); return NSObject._(_ret, _lib, retain: true, release: true); } static NSObject elementWithName_stringValue_( - SwiftLibrary _lib, NSString name, NSString string) { - final _ret = _lib._objc_msgSend_1109(_lib._class_NSXMLNode1, - _lib._sel_elementWithName_stringValue_1, name._id, string._id); + SwiftLibrary _lib, + NSString name, + NSString string, + ) { + final _ret = _lib._objc_msgSend_1109( + _lib._class_NSXMLNode1, + _lib._sel_elementWithName_stringValue_1, + name.pointer, + string.pointer, + ); return NSObject._(_ret, _lib, retain: true, release: true); } - static NSObject elementWithName_children_attributes_(SwiftLibrary _lib, - NSString name, NSArray? children, NSArray? attributes) { + static NSObject elementWithName_children_attributes_( + SwiftLibrary _lib, + NSString name, + NSArray? children, + NSArray? attributes, + ) { final _ret = _lib._objc_msgSend_1110( - _lib._class_NSXMLNode1, - _lib._sel_elementWithName_children_attributes_1, - name._id, - children?._id ?? ffi.nullptr, - attributes?._id ?? ffi.nullptr); + _lib._class_NSXMLNode1, + _lib._sel_elementWithName_children_attributes_1, + name.pointer, + children?.pointer ?? ffi.nullptr, + attributes?.pointer ?? ffi.nullptr, + ); return NSObject._(_ret, _lib, retain: true, release: true); } static NSObject attributeWithName_stringValue_( - SwiftLibrary _lib, NSString name, NSString stringValue) { - final _ret = _lib._objc_msgSend_1109(_lib._class_NSXMLNode1, - _lib._sel_attributeWithName_stringValue_1, name._id, stringValue._id); + SwiftLibrary _lib, + NSString name, + NSString stringValue, + ) { + final _ret = _lib._objc_msgSend_1109( + _lib._class_NSXMLNode1, + _lib._sel_attributeWithName_stringValue_1, + name.pointer, + stringValue.pointer, + ); return NSObject._(_ret, _lib, retain: true, release: true); } static NSObject attributeWithName_URI_stringValue_( - SwiftLibrary _lib, NSString name, NSString URI, NSString stringValue) { + SwiftLibrary _lib, + NSString name, + NSString URI, + NSString stringValue, + ) { final _ret = _lib._objc_msgSend_1074( - _lib._class_NSXMLNode1, - _lib._sel_attributeWithName_URI_stringValue_1, - name._id, - URI._id, - stringValue._id); + _lib._class_NSXMLNode1, + _lib._sel_attributeWithName_URI_stringValue_1, + name.pointer, + URI.pointer, + stringValue.pointer, + ); return NSObject._(_ret, _lib, retain: true, release: true); } static NSObject namespaceWithName_stringValue_( - SwiftLibrary _lib, NSString name, NSString stringValue) { - final _ret = _lib._objc_msgSend_1109(_lib._class_NSXMLNode1, - _lib._sel_namespaceWithName_stringValue_1, name._id, stringValue._id); + SwiftLibrary _lib, + NSString name, + NSString stringValue, + ) { + final _ret = _lib._objc_msgSend_1109( + _lib._class_NSXMLNode1, + _lib._sel_namespaceWithName_stringValue_1, + name.pointer, + stringValue.pointer, + ); return NSObject._(_ret, _lib, retain: true, release: true); } static NSObject processingInstructionWithName_stringValue_( - SwiftLibrary _lib, NSString name, NSString stringValue) { + SwiftLibrary _lib, + NSString name, + NSString stringValue, + ) { final _ret = _lib._objc_msgSend_1109( - _lib._class_NSXMLNode1, - _lib._sel_processingInstructionWithName_stringValue_1, - name._id, - stringValue._id); + _lib._class_NSXMLNode1, + _lib._sel_processingInstructionWithName_stringValue_1, + name.pointer, + stringValue.pointer, + ); return NSObject._(_ret, _lib, retain: true, release: true); } static NSObject commentWithStringValue_( - SwiftLibrary _lib, NSString stringValue) { - final _ret = _lib._objc_msgSend_31(_lib._class_NSXMLNode1, - _lib._sel_commentWithStringValue_1, stringValue._id); + SwiftLibrary _lib, + NSString stringValue, + ) { + final _ret = _lib._objc_msgSend_31( + _lib._class_NSXMLNode1, + _lib._sel_commentWithStringValue_1, + stringValue.pointer, + ); return NSObject._(_ret, _lib, retain: true, release: true); } static NSObject textWithStringValue_( - SwiftLibrary _lib, NSString stringValue) { - final _ret = _lib._objc_msgSend_31(_lib._class_NSXMLNode1, - _lib._sel_textWithStringValue_1, stringValue._id); + SwiftLibrary _lib, + NSString stringValue, + ) { + final _ret = _lib._objc_msgSend_31( + _lib._class_NSXMLNode1, + _lib._sel_textWithStringValue_1, + stringValue.pointer, + ); return NSObject._(_ret, _lib, retain: true, release: true); } static NSObject? DTDNodeWithXMLString_(SwiftLibrary _lib, NSString string) { final _ret = _lib._objc_msgSend_38( - _lib._class_NSXMLNode1, _lib._sel_DTDNodeWithXMLString_1, string._id); + _lib._class_NSXMLNode1, + _lib._sel_DTDNodeWithXMLString_1, + string.pointer, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } int get kind { - return _lib._objc_msgSend_1111(_id, _lib._sel_kind1); + return _lib._objc_msgSend_1111(this.pointer, _lib._sel_kind1); } NSString? get name { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_name1); + final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_name1); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); @@ -72987,11 +97971,14 @@ class NSXMLNode extends NSObject { set name(NSString? value) { return _lib._objc_msgSend_545( - _id, _lib._sel_setName_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setName_1, + value?.pointer ?? ffi.nullptr, + ); } NSObject? get objectValue { - final _ret = _lib._objc_msgSend_17(_id, _lib._sel_objectValue1); + final _ret = _lib._objc_msgSend_17(this.pointer, _lib._sel_objectValue1); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); @@ -72999,11 +97986,14 @@ class NSXMLNode extends NSObject { set objectValue(NSObject? value) { return _lib._objc_msgSend_416( - _id, _lib._sel_setObjectValue_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setObjectValue_1, + value?.pointer ?? ffi.nullptr, + ); } NSString? get stringValue { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_stringValue1); + final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_stringValue1); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); @@ -73011,109 +98001,123 @@ class NSXMLNode extends NSObject { set stringValue(NSString? value) { return _lib._objc_msgSend_545( - _id, _lib._sel_setStringValue_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setStringValue_1, + value?.pointer ?? ffi.nullptr, + ); } void setStringValue_resolvingEntities_(NSString string, bool resolve) { _lib._objc_msgSend_1112( - _id, _lib._sel_setStringValue_resolvingEntities_1, string._id, resolve); + this.pointer, + _lib._sel_setStringValue_resolvingEntities_1, + string.pointer, + resolve, + ); } int get index { - return _lib._objc_msgSend_10(_id, _lib._sel_index1); + return _lib._objc_msgSend_10(this.pointer, _lib._sel_index1); } int get level { - return _lib._objc_msgSend_10(_id, _lib._sel_level1); + return _lib._objc_msgSend_10(this.pointer, _lib._sel_level1); } NSXMLDocument? get rootDocument { - final _ret = _lib._objc_msgSend_1136(_id, _lib._sel_rootDocument1); + final _ret = _lib._objc_msgSend_1136(this.pointer, _lib._sel_rootDocument1); return _ret.address == 0 ? null : NSXMLDocument._(_ret, _lib, retain: true, release: true); } NSXMLNode? get parent { - final _ret = _lib._objc_msgSend_1137(_id, _lib._sel_parent1); + final _ret = _lib._objc_msgSend_1137(this.pointer, _lib._sel_parent1); return _ret.address == 0 ? null : NSXMLNode._(_ret, _lib, retain: true, release: true); } int get childCount { - return _lib._objc_msgSend_10(_id, _lib._sel_childCount1); + return _lib._objc_msgSend_10(this.pointer, _lib._sel_childCount1); } NSArray? get children { - final _ret = _lib._objc_msgSend_84(_id, _lib._sel_children1); + final _ret = _lib._objc_msgSend_84(this.pointer, _lib._sel_children1); return _ret.address == 0 ? null : NSArray._(_ret, _lib, retain: true, release: true); } NSXMLNode? childAtIndex_(int index) { - final _ret = _lib._objc_msgSend_1138(_id, _lib._sel_childAtIndex_1, index); + final _ret = _lib._objc_msgSend_1138( + this.pointer, + _lib._sel_childAtIndex_1, + index, + ); return _ret.address == 0 ? null : NSXMLNode._(_ret, _lib, retain: true, release: true); } NSXMLNode? get previousSibling { - final _ret = _lib._objc_msgSend_1137(_id, _lib._sel_previousSibling1); + final _ret = _lib._objc_msgSend_1137( + this.pointer, + _lib._sel_previousSibling1, + ); return _ret.address == 0 ? null : NSXMLNode._(_ret, _lib, retain: true, release: true); } NSXMLNode? get nextSibling { - final _ret = _lib._objc_msgSend_1137(_id, _lib._sel_nextSibling1); + final _ret = _lib._objc_msgSend_1137(this.pointer, _lib._sel_nextSibling1); return _ret.address == 0 ? null : NSXMLNode._(_ret, _lib, retain: true, release: true); } NSXMLNode? get previousNode { - final _ret = _lib._objc_msgSend_1137(_id, _lib._sel_previousNode1); + final _ret = _lib._objc_msgSend_1137(this.pointer, _lib._sel_previousNode1); return _ret.address == 0 ? null : NSXMLNode._(_ret, _lib, retain: true, release: true); } NSXMLNode? get nextNode { - final _ret = _lib._objc_msgSend_1137(_id, _lib._sel_nextNode1); + final _ret = _lib._objc_msgSend_1137(this.pointer, _lib._sel_nextNode1); return _ret.address == 0 ? null : NSXMLNode._(_ret, _lib, retain: true, release: true); } void detach() { - _lib._objc_msgSend_1(_id, _lib._sel_detach1); + _lib._objc_msgSend_1(this.pointer, _lib._sel_detach1); } NSString? get XPath { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_XPath1); + final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_XPath1); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } NSString? get localName { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_localName1); + final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_localName1); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } NSString? get prefix { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_prefix1); + final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_prefix1); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } NSString? get URI { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_URI1); + final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_URI1); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); @@ -73121,80 +98125,116 @@ class NSXMLNode extends NSObject { set URI(NSString? value) { return _lib._objc_msgSend_545( - _id, _lib._sel_setURI_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setURI_1, + value?.pointer ?? ffi.nullptr, + ); } static NSString localNameForName_(SwiftLibrary _lib, NSString name) { final _ret = _lib._objc_msgSend_69( - _lib._class_NSXMLNode1, _lib._sel_localNameForName_1, name._id); + _lib._class_NSXMLNode1, + _lib._sel_localNameForName_1, + name.pointer, + ); return NSString._(_ret, _lib, retain: true, release: true); } static NSString? prefixForName_(SwiftLibrary _lib, NSString name) { final _ret = _lib._objc_msgSend_186( - _lib._class_NSXMLNode1, _lib._sel_prefixForName_1, name._id); + _lib._class_NSXMLNode1, + _lib._sel_prefixForName_1, + name.pointer, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } static NSXMLNode? predefinedNamespaceForPrefix_( - SwiftLibrary _lib, NSString name) { - final _ret = _lib._objc_msgSend_1125(_lib._class_NSXMLNode1, - _lib._sel_predefinedNamespaceForPrefix_1, name._id); + SwiftLibrary _lib, + NSString name, + ) { + final _ret = _lib._objc_msgSend_1125( + _lib._class_NSXMLNode1, + _lib._sel_predefinedNamespaceForPrefix_1, + name.pointer, + ); return _ret.address == 0 ? null : NSXMLNode._(_ret, _lib, retain: true, release: true); } NSString get description { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_description1); + final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_description1); return NSString._(_ret, _lib, retain: true, release: true); } NSString get XMLString { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_XMLString1); + final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_XMLString1); return NSString._(_ret, _lib, retain: true, release: true); } NSString XMLStringWithOptions_(int options) { - final _ret = - _lib._objc_msgSend_1139(_id, _lib._sel_XMLStringWithOptions_1, options); + final _ret = _lib._objc_msgSend_1139( + this.pointer, + _lib._sel_XMLStringWithOptions_1, + options, + ); return NSString._(_ret, _lib, retain: true, release: true); } NSString canonicalXMLStringPreservingComments_(bool comments) { final _ret = _lib._objc_msgSend_1140( - _id, _lib._sel_canonicalXMLStringPreservingComments_1, comments); + this.pointer, + _lib._sel_canonicalXMLStringPreservingComments_1, + comments, + ); return NSString._(_ret, _lib, retain: true, release: true); } NSArray? nodesForXPath_error_( - NSString xpath, ffi.Pointer> error) { + NSString xpath, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_443( - _id, _lib._sel_nodesForXPath_error_1, xpath._id, error); + this.pointer, + _lib._sel_nodesForXPath_error_1, + xpath.pointer, + error, + ); return _ret.address == 0 ? null : NSArray._(_ret, _lib, retain: true, release: true); } - NSArray? objectsForXQuery_constants_error_(NSString xquery, - NSDictionary? constants, ffi.Pointer> error) { + NSArray? objectsForXQuery_constants_error_( + NSString xquery, + NSDictionary? constants, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_1141( - _id, - _lib._sel_objectsForXQuery_constants_error_1, - xquery._id, - constants?._id ?? ffi.nullptr, - error); + this.pointer, + _lib._sel_objectsForXQuery_constants_error_1, + xquery.pointer, + constants?.pointer ?? ffi.nullptr, + error, + ); return _ret.address == 0 ? null : NSArray._(_ret, _lib, retain: true, release: true); } NSArray? objectsForXQuery_error_( - NSString xquery, ffi.Pointer> error) { + NSString xquery, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_443( - _id, _lib._sel_objectsForXQuery_error_1, xquery._id, error); + this.pointer, + _lib._sel_objectsForXQuery_error_1, + xquery.pointer, + error, + ); return _ret.address == 0 ? null : NSArray._(_ret, _lib, retain: true, release: true); @@ -73206,9 +98246,14 @@ class NSXMLNode extends NSObject { } static NSXMLNode allocWithZone_( - SwiftLibrary _lib, ffi.Pointer<_NSZone> zone) { + SwiftLibrary _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSXMLNode1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSXMLNode1, + _lib._sel_allocWithZone_1, + zone, + ); return NSXMLNode._(_ret, _lib, retain: false, release: true); } @@ -73218,65 +98263,94 @@ class NSXMLNode extends NSObject { } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + SwiftLibrary _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSXMLNode1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSXMLNode1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSXMLNode1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + SwiftLibrary _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSXMLNode1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { return _lib._objc_msgSend_12( - _lib._class_NSXMLNode1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_NSXMLNode1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(SwiftLibrary _lib) { return _lib._objc_msgSend_12( - _lib._class_NSXMLNode1, _lib._sel_useStoredAccessor1); + _lib._class_NSXMLNode1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSXMLNode1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSXMLNode1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSXMLNode1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSXMLNode1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, NSArray keys, NSString dependentKey) { + SwiftLibrary _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSXMLNode1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSXMLNode1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_85( - _lib._class_NSXMLNode1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSXMLNode1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSXMLNode1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSXMLNode1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } @@ -73329,56 +98403,92 @@ abstract class NSXMLNodeOptions { } class NSXMLDocument extends NSXMLNode { - NSXMLDocument._(ffi.Pointer id, SwiftLibrary lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSXMLDocument._( + ffi.Pointer pointer, + SwiftLibrary lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSXMLDocument] that points to the same underlying object as [other]. - static NSXMLDocument castFrom(T other) { - return NSXMLDocument._(other._id, other._lib, retain: true, release: true); + static NSXMLDocument castFrom( + SwiftLibrary lib, + T other, + ) { + return NSXMLDocument._(other.pointer, lib, retain: true, release: true); } /// Returns a [NSXMLDocument] that wraps the given raw object pointer. static NSXMLDocument castFromPointer( - SwiftLibrary lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + SwiftLibrary lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSXMLDocument._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSXMLDocument]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_NSXMLDocument1); + static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSXMLDocument1, + ); } @override NSXMLDocument init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSXMLDocument._(_ret, _lib, retain: true, release: true); } NSXMLDocument? initWithXMLString_options_error_( - NSString string, int mask, ffi.Pointer> error) { - final _ret = _lib._objc_msgSend_1113(_id, - _lib._sel_initWithXMLString_options_error_1, string._id, mask, error); + NSString string, + int mask, + ffi.Pointer> error, + ) { + final _ret = _lib._objc_msgSend_1113( + this.pointer, + _lib._sel_initWithXMLString_options_error_1, + string.pointer, + mask, + error, + ); return _ret.address == 0 ? null : NSXMLDocument._(_ret, _lib, retain: true, release: true); } NSXMLDocument? initWithContentsOfURL_options_error_( - NSURL url, int mask, ffi.Pointer> error) { - final _ret = _lib._objc_msgSend_1114(_id, - _lib._sel_initWithContentsOfURL_options_error_1, url._id, mask, error); + NSURL url, + int mask, + ffi.Pointer> error, + ) { + final _ret = _lib._objc_msgSend_1114( + this.pointer, + _lib._sel_initWithContentsOfURL_options_error_1, + url.pointer, + mask, + error, + ); return _ret.address == 0 ? null : NSXMLDocument._(_ret, _lib, retain: true, release: true); } NSXMLDocument? initWithData_options_error_( - NSData data, int mask, ffi.Pointer> error) { + NSData data, + int mask, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_1115( - _id, _lib._sel_initWithData_options_error_1, data._id, mask, error); + this.pointer, + _lib._sel_initWithData_options_error_1, + data.pointer, + mask, + error, + ); return _ret.address == 0 ? null : NSXMLDocument._(_ret, _lib, retain: true, release: true); @@ -73386,18 +98496,27 @@ class NSXMLDocument extends NSXMLNode { NSXMLDocument initWithRootElement_(NSXMLElement? element) { final _ret = _lib._objc_msgSend_1116( - _id, _lib._sel_initWithRootElement_1, element?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_initWithRootElement_1, + element?.pointer ?? ffi.nullptr, + ); return NSXMLDocument._(_ret, _lib, retain: true, release: true); } static NSObject replacementClassForClass_(SwiftLibrary _lib, NSObject cls) { - final _ret = _lib._objc_msgSend_124(_lib._class_NSXMLDocument1, - _lib._sel_replacementClassForClass_1, cls._id); + final _ret = _lib._objc_msgSend_124( + _lib._class_NSXMLDocument1, + _lib._sel_replacementClassForClass_1, + cls.pointer, + ); return NSObject._(_ret, _lib, retain: true, release: true); } NSString? get characterEncoding { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_characterEncoding1); + final _ret = _lib._objc_msgSend_44( + this.pointer, + _lib._sel_characterEncoding1, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); @@ -73405,11 +98524,14 @@ class NSXMLDocument extends NSXMLNode { set characterEncoding(NSString? value) { return _lib._objc_msgSend_545( - _id, _lib._sel_setCharacterEncoding_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setCharacterEncoding_1, + value?.pointer ?? ffi.nullptr, + ); } NSString? get version { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_version1); + final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_version1); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); @@ -73417,28 +98539,41 @@ class NSXMLDocument extends NSXMLNode { set version(NSString? value) { return _lib._objc_msgSend_545( - _id, _lib._sel_setVersion_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setVersion_1, + value?.pointer ?? ffi.nullptr, + ); } bool get standalone { - return _lib._objc_msgSend_12(_id, _lib._sel_isStandalone1); + return _lib._objc_msgSend_12(this.pointer, _lib._sel_isStandalone1); } set standalone(bool value) { - return _lib._objc_msgSend_527(_id, _lib._sel_setStandalone_1, value); + return _lib._objc_msgSend_527( + this.pointer, + _lib._sel_setStandalone_1, + value, + ); } int get documentContentKind { - return _lib._objc_msgSend_1117(_id, _lib._sel_documentContentKind1); + return _lib._objc_msgSend_1117( + this.pointer, + _lib._sel_documentContentKind1, + ); } set documentContentKind(int value) { return _lib._objc_msgSend_1118( - _id, _lib._sel_setDocumentContentKind_1, value); + this.pointer, + _lib._sel_setDocumentContentKind_1, + value, + ); } NSString? get MIMEType { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_MIMEType1); + final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_MIMEType1); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); @@ -73446,11 +98581,14 @@ class NSXMLDocument extends NSXMLNode { set MIMEType(NSString? value) { return _lib._objc_msgSend_545( - _id, _lib._sel_setMIMEType_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setMIMEType_1, + value?.pointer ?? ffi.nullptr, + ); } NSXMLDTD? get DTD { - final _ret = _lib._objc_msgSend_1128(_id, _lib._sel_DTD1); + final _ret = _lib._objc_msgSend_1128(this.pointer, _lib._sel_DTD1); return _ret.address == 0 ? null : NSXMLDTD._(_ret, _lib, retain: true, release: true); @@ -73458,15 +98596,22 @@ class NSXMLDocument extends NSXMLNode { set DTD(NSXMLDTD? value) { return _lib._objc_msgSend_1129( - _id, _lib._sel_setDTD_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setDTD_1, + value?.pointer ?? ffi.nullptr, + ); } void setRootElement_(NSXMLElement root) { - _lib._objc_msgSend_1130(_id, _lib._sel_setRootElement_1, root._id); + _lib._objc_msgSend_1130( + this.pointer, + _lib._sel_setRootElement_1, + root.pointer, + ); } NSXMLElement? rootElement() { - final _ret = _lib._objc_msgSend_1131(_id, _lib._sel_rootElement1); + final _ret = _lib._objc_msgSend_1131(this.pointer, _lib._sel_rootElement1); return _ret.address == 0 ? null : NSXMLElement._(_ret, _lib, retain: true, release: true); @@ -73474,196 +98619,304 @@ class NSXMLDocument extends NSXMLNode { void insertChild_atIndex_(NSXMLNode child, int index) { _lib._objc_msgSend_1119( - _id, _lib._sel_insertChild_atIndex_1, child._id, index); + this.pointer, + _lib._sel_insertChild_atIndex_1, + child.pointer, + index, + ); } void insertChildren_atIndex_(NSArray children, int index) { _lib._objc_msgSend_1120( - _id, _lib._sel_insertChildren_atIndex_1, children._id, index); + this.pointer, + _lib._sel_insertChildren_atIndex_1, + children.pointer, + index, + ); } void removeChildAtIndex_(int index) { - _lib._objc_msgSend_470(_id, _lib._sel_removeChildAtIndex_1, index); + _lib._objc_msgSend_470(this.pointer, _lib._sel_removeChildAtIndex_1, index); } void setChildren_(NSArray? children) { _lib._objc_msgSend_843( - _id, _lib._sel_setChildren_1, children?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setChildren_1, + children?.pointer ?? ffi.nullptr, + ); } void addChild_(NSXMLNode child) { - _lib._objc_msgSend_1121(_id, _lib._sel_addChild_1, child._id); + _lib._objc_msgSend_1121(this.pointer, _lib._sel_addChild_1, child.pointer); } void replaceChildAtIndex_withNode_(int index, NSXMLNode node) { _lib._objc_msgSend_1122( - _id, _lib._sel_replaceChildAtIndex_withNode_1, index, node._id); + this.pointer, + _lib._sel_replaceChildAtIndex_withNode_1, + index, + node.pointer, + ); } NSData get XMLData { - final _ret = _lib._objc_msgSend_43(_id, _lib._sel_XMLData1); + final _ret = _lib._objc_msgSend_43(this.pointer, _lib._sel_XMLData1); return NSData._(_ret, _lib, retain: true, release: true); } NSData XMLDataWithOptions_(int options) { - final _ret = - _lib._objc_msgSend_1132(_id, _lib._sel_XMLDataWithOptions_1, options); + final _ret = _lib._objc_msgSend_1132( + this.pointer, + _lib._sel_XMLDataWithOptions_1, + options, + ); return NSData._(_ret, _lib, retain: true, release: true); } - NSObject? objectByApplyingXSLT_arguments_error_(NSData xslt, - NSDictionary? arguments, ffi.Pointer> error) { + NSObject? objectByApplyingXSLT_arguments_error_( + NSData xslt, + NSDictionary? arguments, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_1133( - _id, - _lib._sel_objectByApplyingXSLT_arguments_error_1, - xslt._id, - arguments?._id ?? ffi.nullptr, - error); + this.pointer, + _lib._sel_objectByApplyingXSLT_arguments_error_1, + xslt.pointer, + arguments?.pointer ?? ffi.nullptr, + error, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } - NSObject? objectByApplyingXSLTString_arguments_error_(NSString xslt, - NSDictionary? arguments, ffi.Pointer> error) { + NSObject? objectByApplyingXSLTString_arguments_error_( + NSString xslt, + NSDictionary? arguments, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_1134( - _id, - _lib._sel_objectByApplyingXSLTString_arguments_error_1, - xslt._id, - arguments?._id ?? ffi.nullptr, - error); + this.pointer, + _lib._sel_objectByApplyingXSLTString_arguments_error_1, + xslt.pointer, + arguments?.pointer ?? ffi.nullptr, + error, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } - NSObject? objectByApplyingXSLTAtURL_arguments_error_(NSURL xsltURL, - NSDictionary? argument, ffi.Pointer> error) { + NSObject? objectByApplyingXSLTAtURL_arguments_error_( + NSURL xsltURL, + NSDictionary? argument, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_1135( - _id, - _lib._sel_objectByApplyingXSLTAtURL_arguments_error_1, - xsltURL._id, - argument?._id ?? ffi.nullptr, - error); + this.pointer, + _lib._sel_objectByApplyingXSLTAtURL_arguments_error_1, + xsltURL.pointer, + argument?.pointer ?? ffi.nullptr, + error, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } - bool validateAndReturnError_(ffi.Pointer> error) { + bool validateAndReturnError_( + ffi.Pointer> error, + ) { return _lib._objc_msgSend_255( - _id, _lib._sel_validateAndReturnError_1, error); + this.pointer, + _lib._sel_validateAndReturnError_1, + error, + ); } @override NSXMLDocument initWithKind_(int kind) { - final _ret = _lib._objc_msgSend_1106(_id, _lib._sel_initWithKind_1, kind); + final _ret = _lib._objc_msgSend_1106( + this.pointer, + _lib._sel_initWithKind_1, + kind, + ); return NSXMLDocument._(_ret, _lib, retain: true, release: true); } @override NSXMLDocument initWithKind_options_(int kind, int options) { final _ret = _lib._objc_msgSend_1107( - _id, _lib._sel_initWithKind_options_1, kind, options); + this.pointer, + _lib._sel_initWithKind_options_1, + kind, + options, + ); return NSXMLDocument._(_ret, _lib, retain: true, release: true); } static NSObject document(SwiftLibrary _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSXMLDocument1, _lib._sel_document1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSXMLDocument1, + _lib._sel_document1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } static NSObject documentWithRootElement_( - SwiftLibrary _lib, NSXMLElement element) { - final _ret = _lib._objc_msgSend_1108(_lib._class_NSXMLDocument1, - _lib._sel_documentWithRootElement_1, element._id); + SwiftLibrary _lib, + NSXMLElement element, + ) { + final _ret = _lib._objc_msgSend_1108( + _lib._class_NSXMLDocument1, + _lib._sel_documentWithRootElement_1, + element.pointer, + ); return NSObject._(_ret, _lib, retain: true, release: true); } static NSObject elementWithName_(SwiftLibrary _lib, NSString name) { final _ret = _lib._objc_msgSend_31( - _lib._class_NSXMLDocument1, _lib._sel_elementWithName_1, name._id); + _lib._class_NSXMLDocument1, + _lib._sel_elementWithName_1, + name.pointer, + ); return NSObject._(_ret, _lib, retain: true, release: true); } static NSObject elementWithName_URI_( - SwiftLibrary _lib, NSString name, NSString URI) { - final _ret = _lib._objc_msgSend_1109(_lib._class_NSXMLDocument1, - _lib._sel_elementWithName_URI_1, name._id, URI._id); + SwiftLibrary _lib, + NSString name, + NSString URI, + ) { + final _ret = _lib._objc_msgSend_1109( + _lib._class_NSXMLDocument1, + _lib._sel_elementWithName_URI_1, + name.pointer, + URI.pointer, + ); return NSObject._(_ret, _lib, retain: true, release: true); } static NSObject elementWithName_stringValue_( - SwiftLibrary _lib, NSString name, NSString string) { - final _ret = _lib._objc_msgSend_1109(_lib._class_NSXMLDocument1, - _lib._sel_elementWithName_stringValue_1, name._id, string._id); + SwiftLibrary _lib, + NSString name, + NSString string, + ) { + final _ret = _lib._objc_msgSend_1109( + _lib._class_NSXMLDocument1, + _lib._sel_elementWithName_stringValue_1, + name.pointer, + string.pointer, + ); return NSObject._(_ret, _lib, retain: true, release: true); } - static NSObject elementWithName_children_attributes_(SwiftLibrary _lib, - NSString name, NSArray? children, NSArray? attributes) { + static NSObject elementWithName_children_attributes_( + SwiftLibrary _lib, + NSString name, + NSArray? children, + NSArray? attributes, + ) { final _ret = _lib._objc_msgSend_1110( - _lib._class_NSXMLDocument1, - _lib._sel_elementWithName_children_attributes_1, - name._id, - children?._id ?? ffi.nullptr, - attributes?._id ?? ffi.nullptr); + _lib._class_NSXMLDocument1, + _lib._sel_elementWithName_children_attributes_1, + name.pointer, + children?.pointer ?? ffi.nullptr, + attributes?.pointer ?? ffi.nullptr, + ); return NSObject._(_ret, _lib, retain: true, release: true); } static NSObject attributeWithName_stringValue_( - SwiftLibrary _lib, NSString name, NSString stringValue) { - final _ret = _lib._objc_msgSend_1109(_lib._class_NSXMLDocument1, - _lib._sel_attributeWithName_stringValue_1, name._id, stringValue._id); + SwiftLibrary _lib, + NSString name, + NSString stringValue, + ) { + final _ret = _lib._objc_msgSend_1109( + _lib._class_NSXMLDocument1, + _lib._sel_attributeWithName_stringValue_1, + name.pointer, + stringValue.pointer, + ); return NSObject._(_ret, _lib, retain: true, release: true); } static NSObject attributeWithName_URI_stringValue_( - SwiftLibrary _lib, NSString name, NSString URI, NSString stringValue) { + SwiftLibrary _lib, + NSString name, + NSString URI, + NSString stringValue, + ) { final _ret = _lib._objc_msgSend_1074( - _lib._class_NSXMLDocument1, - _lib._sel_attributeWithName_URI_stringValue_1, - name._id, - URI._id, - stringValue._id); + _lib._class_NSXMLDocument1, + _lib._sel_attributeWithName_URI_stringValue_1, + name.pointer, + URI.pointer, + stringValue.pointer, + ); return NSObject._(_ret, _lib, retain: true, release: true); } static NSObject namespaceWithName_stringValue_( - SwiftLibrary _lib, NSString name, NSString stringValue) { - final _ret = _lib._objc_msgSend_1109(_lib._class_NSXMLDocument1, - _lib._sel_namespaceWithName_stringValue_1, name._id, stringValue._id); + SwiftLibrary _lib, + NSString name, + NSString stringValue, + ) { + final _ret = _lib._objc_msgSend_1109( + _lib._class_NSXMLDocument1, + _lib._sel_namespaceWithName_stringValue_1, + name.pointer, + stringValue.pointer, + ); return NSObject._(_ret, _lib, retain: true, release: true); } static NSObject processingInstructionWithName_stringValue_( - SwiftLibrary _lib, NSString name, NSString stringValue) { + SwiftLibrary _lib, + NSString name, + NSString stringValue, + ) { final _ret = _lib._objc_msgSend_1109( - _lib._class_NSXMLDocument1, - _lib._sel_processingInstructionWithName_stringValue_1, - name._id, - stringValue._id); + _lib._class_NSXMLDocument1, + _lib._sel_processingInstructionWithName_stringValue_1, + name.pointer, + stringValue.pointer, + ); return NSObject._(_ret, _lib, retain: true, release: true); } static NSObject commentWithStringValue_( - SwiftLibrary _lib, NSString stringValue) { - final _ret = _lib._objc_msgSend_31(_lib._class_NSXMLDocument1, - _lib._sel_commentWithStringValue_1, stringValue._id); + SwiftLibrary _lib, + NSString stringValue, + ) { + final _ret = _lib._objc_msgSend_31( + _lib._class_NSXMLDocument1, + _lib._sel_commentWithStringValue_1, + stringValue.pointer, + ); return NSObject._(_ret, _lib, retain: true, release: true); } static NSObject textWithStringValue_( - SwiftLibrary _lib, NSString stringValue) { - final _ret = _lib._objc_msgSend_31(_lib._class_NSXMLDocument1, - _lib._sel_textWithStringValue_1, stringValue._id); + SwiftLibrary _lib, + NSString stringValue, + ) { + final _ret = _lib._objc_msgSend_31( + _lib._class_NSXMLDocument1, + _lib._sel_textWithStringValue_1, + stringValue.pointer, + ); return NSObject._(_ret, _lib, retain: true, release: true); } static NSObject? DTDNodeWithXMLString_(SwiftLibrary _lib, NSString string) { - final _ret = _lib._objc_msgSend_38(_lib._class_NSXMLDocument1, - _lib._sel_DTDNodeWithXMLString_1, string._id); + final _ret = _lib._objc_msgSend_38( + _lib._class_NSXMLDocument1, + _lib._sel_DTDNodeWithXMLString_1, + string.pointer, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); @@ -73671,106 +98924,155 @@ class NSXMLDocument extends NSXMLNode { static NSString localNameForName_(SwiftLibrary _lib, NSString name) { final _ret = _lib._objc_msgSend_69( - _lib._class_NSXMLDocument1, _lib._sel_localNameForName_1, name._id); + _lib._class_NSXMLDocument1, + _lib._sel_localNameForName_1, + name.pointer, + ); return NSString._(_ret, _lib, retain: true, release: true); } static NSString? prefixForName_(SwiftLibrary _lib, NSString name) { final _ret = _lib._objc_msgSend_186( - _lib._class_NSXMLDocument1, _lib._sel_prefixForName_1, name._id); + _lib._class_NSXMLDocument1, + _lib._sel_prefixForName_1, + name.pointer, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } static NSXMLNode? predefinedNamespaceForPrefix_( - SwiftLibrary _lib, NSString name) { - final _ret = _lib._objc_msgSend_1125(_lib._class_NSXMLDocument1, - _lib._sel_predefinedNamespaceForPrefix_1, name._id); + SwiftLibrary _lib, + NSString name, + ) { + final _ret = _lib._objc_msgSend_1125( + _lib._class_NSXMLDocument1, + _lib._sel_predefinedNamespaceForPrefix_1, + name.pointer, + ); return _ret.address == 0 ? null : NSXMLNode._(_ret, _lib, retain: true, release: true); } static NSXMLDocument new1(SwiftLibrary _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSXMLDocument1, _lib._sel_new1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSXMLDocument1, + _lib._sel_new1, + ); return NSXMLDocument._(_ret, _lib, retain: false, release: true); } static NSXMLDocument allocWithZone_( - SwiftLibrary _lib, ffi.Pointer<_NSZone> zone) { + SwiftLibrary _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSXMLDocument1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSXMLDocument1, + _lib._sel_allocWithZone_1, + zone, + ); return NSXMLDocument._(_ret, _lib, retain: false, release: true); } static NSXMLDocument alloc(SwiftLibrary _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSXMLDocument1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSXMLDocument1, + _lib._sel_alloc1, + ); return NSXMLDocument._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + SwiftLibrary _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSXMLDocument1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSXMLDocument1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSXMLDocument1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + SwiftLibrary _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSXMLDocument1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { return _lib._objc_msgSend_12( - _lib._class_NSXMLDocument1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_NSXMLDocument1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(SwiftLibrary _lib) { return _lib._objc_msgSend_12( - _lib._class_NSXMLDocument1, _lib._sel_useStoredAccessor1); + _lib._class_NSXMLDocument1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSXMLDocument1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSXMLDocument1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSXMLDocument1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSXMLDocument1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, NSArray keys, NSString dependentKey) { + SwiftLibrary _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSXMLDocument1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSXMLDocument1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_85( - _lib._class_NSXMLDocument1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSXMLDocument1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSXMLDocument1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSXMLDocument1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } @@ -73783,61 +99085,93 @@ abstract class NSXMLDocumentContentKind { } class NSXMLDTD extends NSXMLNode { - NSXMLDTD._(ffi.Pointer id, SwiftLibrary lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSXMLDTD._( + ffi.Pointer pointer, + SwiftLibrary lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSXMLDTD] that points to the same underlying object as [other]. - static NSXMLDTD castFrom(T other) { - return NSXMLDTD._(other._id, other._lib, retain: true, release: true); + static NSXMLDTD castFrom( + SwiftLibrary lib, + T other, + ) { + return NSXMLDTD._(other.pointer, lib, retain: true, release: true); } /// Returns a [NSXMLDTD] that wraps the given raw object pointer. static NSXMLDTD castFromPointer( - SwiftLibrary lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + SwiftLibrary lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSXMLDTD._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSXMLDTD]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_NSXMLDTD1); + static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSXMLDTD1, + ); } @override NSXMLDTD init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSXMLDTD._(_ret, _lib, retain: true, release: true); } @override NSXMLDTD initWithKind_options_(int kind, int options) { final _ret = _lib._objc_msgSend_1107( - _id, _lib._sel_initWithKind_options_1, kind, options); + this.pointer, + _lib._sel_initWithKind_options_1, + kind, + options, + ); return NSXMLDTD._(_ret, _lib, retain: true, release: true); } NSXMLDTD? initWithContentsOfURL_options_error_( - NSURL url, int mask, ffi.Pointer> error) { - final _ret = _lib._objc_msgSend_1114(_id, - _lib._sel_initWithContentsOfURL_options_error_1, url._id, mask, error); + NSURL url, + int mask, + ffi.Pointer> error, + ) { + final _ret = _lib._objc_msgSend_1114( + this.pointer, + _lib._sel_initWithContentsOfURL_options_error_1, + url.pointer, + mask, + error, + ); return _ret.address == 0 ? null : NSXMLDTD._(_ret, _lib, retain: true, release: true); } NSXMLDTD? initWithData_options_error_( - NSData data, int mask, ffi.Pointer> error) { + NSData data, + int mask, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_1115( - _id, _lib._sel_initWithData_options_error_1, data._id, mask, error); + this.pointer, + _lib._sel_initWithData_options_error_1, + data.pointer, + mask, + error, + ); return _ret.address == 0 ? null : NSXMLDTD._(_ret, _lib, retain: true, release: true); } NSString? get publicID { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_publicID1); + final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_publicID1); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); @@ -73845,11 +99179,14 @@ class NSXMLDTD extends NSXMLNode { set publicID(NSString? value) { return _lib._objc_msgSend_545( - _id, _lib._sel_setPublicID_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setPublicID_1, + value?.pointer ?? ffi.nullptr, + ); } NSString? get systemID { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_systemID1); + final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_systemID1); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); @@ -73857,40 +99194,61 @@ class NSXMLDTD extends NSXMLNode { set systemID(NSString? value) { return _lib._objc_msgSend_545( - _id, _lib._sel_setSystemID_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setSystemID_1, + value?.pointer ?? ffi.nullptr, + ); } void insertChild_atIndex_(NSXMLNode child, int index) { _lib._objc_msgSend_1119( - _id, _lib._sel_insertChild_atIndex_1, child._id, index); + this.pointer, + _lib._sel_insertChild_atIndex_1, + child.pointer, + index, + ); } void insertChildren_atIndex_(NSArray children, int index) { _lib._objc_msgSend_1120( - _id, _lib._sel_insertChildren_atIndex_1, children._id, index); + this.pointer, + _lib._sel_insertChildren_atIndex_1, + children.pointer, + index, + ); } void removeChildAtIndex_(int index) { - _lib._objc_msgSend_470(_id, _lib._sel_removeChildAtIndex_1, index); + _lib._objc_msgSend_470(this.pointer, _lib._sel_removeChildAtIndex_1, index); } void setChildren_(NSArray? children) { _lib._objc_msgSend_843( - _id, _lib._sel_setChildren_1, children?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setChildren_1, + children?.pointer ?? ffi.nullptr, + ); } void addChild_(NSXMLNode child) { - _lib._objc_msgSend_1121(_id, _lib._sel_addChild_1, child._id); + _lib._objc_msgSend_1121(this.pointer, _lib._sel_addChild_1, child.pointer); } void replaceChildAtIndex_withNode_(int index, NSXMLNode node) { _lib._objc_msgSend_1122( - _id, _lib._sel_replaceChildAtIndex_withNode_1, index, node._id); + this.pointer, + _lib._sel_replaceChildAtIndex_withNode_1, + index, + node.pointer, + ); } NSXMLDTDNode? entityDeclarationForName_(NSString name) { final _ret = _lib._objc_msgSend_1126( - _id, _lib._sel_entityDeclarationForName_1, name._id); + this.pointer, + _lib._sel_entityDeclarationForName_1, + name.pointer, + ); return _ret.address == 0 ? null : NSXMLDTDNode._(_ret, _lib, retain: true, release: true); @@ -73898,7 +99256,10 @@ class NSXMLDTD extends NSXMLNode { NSXMLDTDNode? notationDeclarationForName_(NSString name) { final _ret = _lib._objc_msgSend_1126( - _id, _lib._sel_notationDeclarationForName_1, name._id); + this.pointer, + _lib._sel_notationDeclarationForName_1, + name.pointer, + ); return _ret.address == 0 ? null : NSXMLDTDNode._(_ret, _lib, retain: true, release: true); @@ -73906,28 +99267,39 @@ class NSXMLDTD extends NSXMLNode { NSXMLDTDNode? elementDeclarationForName_(NSString name) { final _ret = _lib._objc_msgSend_1126( - _id, _lib._sel_elementDeclarationForName_1, name._id); + this.pointer, + _lib._sel_elementDeclarationForName_1, + name.pointer, + ); return _ret.address == 0 ? null : NSXMLDTDNode._(_ret, _lib, retain: true, release: true); } NSXMLDTDNode? attributeDeclarationForName_elementName_( - NSString name, NSString elementName) { + NSString name, + NSString elementName, + ) { final _ret = _lib._objc_msgSend_1127( - _id, - _lib._sel_attributeDeclarationForName_elementName_1, - name._id, - elementName._id); + this.pointer, + _lib._sel_attributeDeclarationForName_elementName_1, + name.pointer, + elementName.pointer, + ); return _ret.address == 0 ? null : NSXMLDTDNode._(_ret, _lib, retain: true, release: true); } static NSXMLDTDNode? predefinedEntityDeclarationForName_( - SwiftLibrary _lib, NSString name) { - final _ret = _lib._objc_msgSend_1126(_lib._class_NSXMLDTD1, - _lib._sel_predefinedEntityDeclarationForName_1, name._id); + SwiftLibrary _lib, + NSString name, + ) { + final _ret = _lib._objc_msgSend_1126( + _lib._class_NSXMLDTD1, + _lib._sel_predefinedEntityDeclarationForName_1, + name.pointer, + ); return _ret.address == 0 ? null : NSXMLDTDNode._(_ret, _lib, retain: true, release: true); @@ -73935,106 +99307,175 @@ class NSXMLDTD extends NSXMLNode { @override NSXMLDTD initWithKind_(int kind) { - final _ret = _lib._objc_msgSend_1106(_id, _lib._sel_initWithKind_1, kind); + final _ret = _lib._objc_msgSend_1106( + this.pointer, + _lib._sel_initWithKind_1, + kind, + ); return NSXMLDTD._(_ret, _lib, retain: true, release: true); } static NSObject document(SwiftLibrary _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSXMLDTD1, _lib._sel_document1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSXMLDTD1, + _lib._sel_document1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } static NSObject documentWithRootElement_( - SwiftLibrary _lib, NSXMLElement element) { - final _ret = _lib._objc_msgSend_1108(_lib._class_NSXMLDTD1, - _lib._sel_documentWithRootElement_1, element._id); + SwiftLibrary _lib, + NSXMLElement element, + ) { + final _ret = _lib._objc_msgSend_1108( + _lib._class_NSXMLDTD1, + _lib._sel_documentWithRootElement_1, + element.pointer, + ); return NSObject._(_ret, _lib, retain: true, release: true); } static NSObject elementWithName_(SwiftLibrary _lib, NSString name) { final _ret = _lib._objc_msgSend_31( - _lib._class_NSXMLDTD1, _lib._sel_elementWithName_1, name._id); + _lib._class_NSXMLDTD1, + _lib._sel_elementWithName_1, + name.pointer, + ); return NSObject._(_ret, _lib, retain: true, release: true); } static NSObject elementWithName_URI_( - SwiftLibrary _lib, NSString name, NSString URI) { - final _ret = _lib._objc_msgSend_1109(_lib._class_NSXMLDTD1, - _lib._sel_elementWithName_URI_1, name._id, URI._id); + SwiftLibrary _lib, + NSString name, + NSString URI, + ) { + final _ret = _lib._objc_msgSend_1109( + _lib._class_NSXMLDTD1, + _lib._sel_elementWithName_URI_1, + name.pointer, + URI.pointer, + ); return NSObject._(_ret, _lib, retain: true, release: true); } static NSObject elementWithName_stringValue_( - SwiftLibrary _lib, NSString name, NSString string) { - final _ret = _lib._objc_msgSend_1109(_lib._class_NSXMLDTD1, - _lib._sel_elementWithName_stringValue_1, name._id, string._id); + SwiftLibrary _lib, + NSString name, + NSString string, + ) { + final _ret = _lib._objc_msgSend_1109( + _lib._class_NSXMLDTD1, + _lib._sel_elementWithName_stringValue_1, + name.pointer, + string.pointer, + ); return NSObject._(_ret, _lib, retain: true, release: true); } - static NSObject elementWithName_children_attributes_(SwiftLibrary _lib, - NSString name, NSArray? children, NSArray? attributes) { + static NSObject elementWithName_children_attributes_( + SwiftLibrary _lib, + NSString name, + NSArray? children, + NSArray? attributes, + ) { final _ret = _lib._objc_msgSend_1110( - _lib._class_NSXMLDTD1, - _lib._sel_elementWithName_children_attributes_1, - name._id, - children?._id ?? ffi.nullptr, - attributes?._id ?? ffi.nullptr); + _lib._class_NSXMLDTD1, + _lib._sel_elementWithName_children_attributes_1, + name.pointer, + children?.pointer ?? ffi.nullptr, + attributes?.pointer ?? ffi.nullptr, + ); return NSObject._(_ret, _lib, retain: true, release: true); } static NSObject attributeWithName_stringValue_( - SwiftLibrary _lib, NSString name, NSString stringValue) { - final _ret = _lib._objc_msgSend_1109(_lib._class_NSXMLDTD1, - _lib._sel_attributeWithName_stringValue_1, name._id, stringValue._id); + SwiftLibrary _lib, + NSString name, + NSString stringValue, + ) { + final _ret = _lib._objc_msgSend_1109( + _lib._class_NSXMLDTD1, + _lib._sel_attributeWithName_stringValue_1, + name.pointer, + stringValue.pointer, + ); return NSObject._(_ret, _lib, retain: true, release: true); } static NSObject attributeWithName_URI_stringValue_( - SwiftLibrary _lib, NSString name, NSString URI, NSString stringValue) { + SwiftLibrary _lib, + NSString name, + NSString URI, + NSString stringValue, + ) { final _ret = _lib._objc_msgSend_1074( - _lib._class_NSXMLDTD1, - _lib._sel_attributeWithName_URI_stringValue_1, - name._id, - URI._id, - stringValue._id); + _lib._class_NSXMLDTD1, + _lib._sel_attributeWithName_URI_stringValue_1, + name.pointer, + URI.pointer, + stringValue.pointer, + ); return NSObject._(_ret, _lib, retain: true, release: true); } static NSObject namespaceWithName_stringValue_( - SwiftLibrary _lib, NSString name, NSString stringValue) { - final _ret = _lib._objc_msgSend_1109(_lib._class_NSXMLDTD1, - _lib._sel_namespaceWithName_stringValue_1, name._id, stringValue._id); + SwiftLibrary _lib, + NSString name, + NSString stringValue, + ) { + final _ret = _lib._objc_msgSend_1109( + _lib._class_NSXMLDTD1, + _lib._sel_namespaceWithName_stringValue_1, + name.pointer, + stringValue.pointer, + ); return NSObject._(_ret, _lib, retain: true, release: true); } static NSObject processingInstructionWithName_stringValue_( - SwiftLibrary _lib, NSString name, NSString stringValue) { + SwiftLibrary _lib, + NSString name, + NSString stringValue, + ) { final _ret = _lib._objc_msgSend_1109( - _lib._class_NSXMLDTD1, - _lib._sel_processingInstructionWithName_stringValue_1, - name._id, - stringValue._id); + _lib._class_NSXMLDTD1, + _lib._sel_processingInstructionWithName_stringValue_1, + name.pointer, + stringValue.pointer, + ); return NSObject._(_ret, _lib, retain: true, release: true); } static NSObject commentWithStringValue_( - SwiftLibrary _lib, NSString stringValue) { - final _ret = _lib._objc_msgSend_31(_lib._class_NSXMLDTD1, - _lib._sel_commentWithStringValue_1, stringValue._id); + SwiftLibrary _lib, + NSString stringValue, + ) { + final _ret = _lib._objc_msgSend_31( + _lib._class_NSXMLDTD1, + _lib._sel_commentWithStringValue_1, + stringValue.pointer, + ); return NSObject._(_ret, _lib, retain: true, release: true); } static NSObject textWithStringValue_( - SwiftLibrary _lib, NSString stringValue) { - final _ret = _lib._objc_msgSend_31(_lib._class_NSXMLDTD1, - _lib._sel_textWithStringValue_1, stringValue._id); + SwiftLibrary _lib, + NSString stringValue, + ) { + final _ret = _lib._objc_msgSend_31( + _lib._class_NSXMLDTD1, + _lib._sel_textWithStringValue_1, + stringValue.pointer, + ); return NSObject._(_ret, _lib, retain: true, release: true); } static NSObject? DTDNodeWithXMLString_(SwiftLibrary _lib, NSString string) { final _ret = _lib._objc_msgSend_38( - _lib._class_NSXMLDTD1, _lib._sel_DTDNodeWithXMLString_1, string._id); + _lib._class_NSXMLDTD1, + _lib._sel_DTDNodeWithXMLString_1, + string.pointer, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); @@ -74042,22 +99483,33 @@ class NSXMLDTD extends NSXMLNode { static NSString localNameForName_(SwiftLibrary _lib, NSString name) { final _ret = _lib._objc_msgSend_69( - _lib._class_NSXMLDTD1, _lib._sel_localNameForName_1, name._id); + _lib._class_NSXMLDTD1, + _lib._sel_localNameForName_1, + name.pointer, + ); return NSString._(_ret, _lib, retain: true, release: true); } static NSString? prefixForName_(SwiftLibrary _lib, NSString name) { final _ret = _lib._objc_msgSend_186( - _lib._class_NSXMLDTD1, _lib._sel_prefixForName_1, name._id); + _lib._class_NSXMLDTD1, + _lib._sel_prefixForName_1, + name.pointer, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } static NSXMLNode? predefinedNamespaceForPrefix_( - SwiftLibrary _lib, NSString name) { - final _ret = _lib._objc_msgSend_1125(_lib._class_NSXMLDTD1, - _lib._sel_predefinedNamespaceForPrefix_1, name._id); + SwiftLibrary _lib, + NSString name, + ) { + final _ret = _lib._objc_msgSend_1125( + _lib._class_NSXMLDTD1, + _lib._sel_predefinedNamespaceForPrefix_1, + name.pointer, + ); return _ret.address == 0 ? null : NSXMLNode._(_ret, _lib, retain: true, release: true); @@ -74070,7 +99522,10 @@ class NSXMLDTD extends NSXMLNode { static NSXMLDTD allocWithZone_(SwiftLibrary _lib, ffi.Pointer<_NSZone> zone) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSXMLDTD1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSXMLDTD1, + _lib._sel_allocWithZone_1, + zone, + ); return NSXMLDTD._(_ret, _lib, retain: false, release: true); } @@ -74080,95 +99535,139 @@ class NSXMLDTD extends NSXMLNode { } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + SwiftLibrary _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSXMLDTD1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSXMLDTD1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSXMLDTD1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + SwiftLibrary _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSXMLDTD1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { return _lib._objc_msgSend_12( - _lib._class_NSXMLDTD1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_NSXMLDTD1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(SwiftLibrary _lib) { return _lib._objc_msgSend_12( - _lib._class_NSXMLDTD1, _lib._sel_useStoredAccessor1); + _lib._class_NSXMLDTD1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSXMLDTD1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSXMLDTD1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSXMLDTD1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSXMLDTD1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, NSArray keys, NSString dependentKey) { + SwiftLibrary _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSXMLDTD1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSXMLDTD1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_85( - _lib._class_NSXMLDTD1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSXMLDTD1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSXMLDTD1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSXMLDTD1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } class NSXMLDTDNode extends NSXMLNode { - NSXMLDTDNode._(ffi.Pointer id, SwiftLibrary lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSXMLDTDNode._( + ffi.Pointer pointer, + SwiftLibrary lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSXMLDTDNode] that points to the same underlying object as [other]. - static NSXMLDTDNode castFrom(T other) { - return NSXMLDTDNode._(other._id, other._lib, retain: true, release: true); + static NSXMLDTDNode castFrom( + SwiftLibrary lib, + T other, + ) { + return NSXMLDTDNode._(other.pointer, lib, retain: true, release: true); } /// Returns a [NSXMLDTDNode] that wraps the given raw object pointer. static NSXMLDTDNode castFromPointer( - SwiftLibrary lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + SwiftLibrary lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSXMLDTDNode._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSXMLDTDNode]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_NSXMLDTDNode1); + static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_NSXMLDTDNode1, + ); } NSXMLDTDNode? initWithXMLString_(NSString string) { - final _ret = - _lib._objc_msgSend_38(_id, _lib._sel_initWithXMLString_1, string._id); + final _ret = _lib._objc_msgSend_38( + this.pointer, + _lib._sel_initWithXMLString_1, + string.pointer, + ); return _ret.address == 0 ? null : NSXMLDTDNode._(_ret, _lib, retain: true, release: true); @@ -74177,30 +99676,34 @@ class NSXMLDTDNode extends NSXMLNode { @override NSXMLDTDNode initWithKind_options_(int kind, int options) { final _ret = _lib._objc_msgSend_1107( - _id, _lib._sel_initWithKind_options_1, kind, options); + this.pointer, + _lib._sel_initWithKind_options_1, + kind, + options, + ); return NSXMLDTDNode._(_ret, _lib, retain: true, release: true); } @override NSXMLDTDNode init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return NSXMLDTDNode._(_ret, _lib, retain: true, release: true); } int get DTDKind { - return _lib._objc_msgSend_1123(_id, _lib._sel_DTDKind1); + return _lib._objc_msgSend_1123(this.pointer, _lib._sel_DTDKind1); } set DTDKind(int value) { - return _lib._objc_msgSend_1124(_id, _lib._sel_setDTDKind_1, value); + return _lib._objc_msgSend_1124(this.pointer, _lib._sel_setDTDKind_1, value); } bool get external1 { - return _lib._objc_msgSend_12(_id, _lib._sel_isExternal1); + return _lib._objc_msgSend_12(this.pointer, _lib._sel_isExternal1); } NSString? get publicID { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_publicID1); + final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_publicID1); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); @@ -74208,11 +99711,14 @@ class NSXMLDTDNode extends NSXMLNode { set publicID(NSString? value) { return _lib._objc_msgSend_545( - _id, _lib._sel_setPublicID_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setPublicID_1, + value?.pointer ?? ffi.nullptr, + ); } NSString? get systemID { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_systemID1); + final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_systemID1); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); @@ -74220,11 +99726,14 @@ class NSXMLDTDNode extends NSXMLNode { set systemID(NSString? value) { return _lib._objc_msgSend_545( - _id, _lib._sel_setSystemID_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setSystemID_1, + value?.pointer ?? ffi.nullptr, + ); } NSString? get notationName { - final _ret = _lib._objc_msgSend_44(_id, _lib._sel_notationName1); + final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_notationName1); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); @@ -74232,111 +99741,183 @@ class NSXMLDTDNode extends NSXMLNode { set notationName(NSString? value) { return _lib._objc_msgSend_545( - _id, _lib._sel_setNotationName_1, value?._id ?? ffi.nullptr); + this.pointer, + _lib._sel_setNotationName_1, + value?.pointer ?? ffi.nullptr, + ); } @override NSXMLDTDNode initWithKind_(int kind) { - final _ret = _lib._objc_msgSend_1106(_id, _lib._sel_initWithKind_1, kind); + final _ret = _lib._objc_msgSend_1106( + this.pointer, + _lib._sel_initWithKind_1, + kind, + ); return NSXMLDTDNode._(_ret, _lib, retain: true, release: true); } static NSObject document(SwiftLibrary _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSXMLDTDNode1, _lib._sel_document1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSXMLDTDNode1, + _lib._sel_document1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } static NSObject documentWithRootElement_( - SwiftLibrary _lib, NSXMLElement element) { - final _ret = _lib._objc_msgSend_1108(_lib._class_NSXMLDTDNode1, - _lib._sel_documentWithRootElement_1, element._id); + SwiftLibrary _lib, + NSXMLElement element, + ) { + final _ret = _lib._objc_msgSend_1108( + _lib._class_NSXMLDTDNode1, + _lib._sel_documentWithRootElement_1, + element.pointer, + ); return NSObject._(_ret, _lib, retain: true, release: true); } static NSObject elementWithName_(SwiftLibrary _lib, NSString name) { final _ret = _lib._objc_msgSend_31( - _lib._class_NSXMLDTDNode1, _lib._sel_elementWithName_1, name._id); + _lib._class_NSXMLDTDNode1, + _lib._sel_elementWithName_1, + name.pointer, + ); return NSObject._(_ret, _lib, retain: true, release: true); } static NSObject elementWithName_URI_( - SwiftLibrary _lib, NSString name, NSString URI) { - final _ret = _lib._objc_msgSend_1109(_lib._class_NSXMLDTDNode1, - _lib._sel_elementWithName_URI_1, name._id, URI._id); + SwiftLibrary _lib, + NSString name, + NSString URI, + ) { + final _ret = _lib._objc_msgSend_1109( + _lib._class_NSXMLDTDNode1, + _lib._sel_elementWithName_URI_1, + name.pointer, + URI.pointer, + ); return NSObject._(_ret, _lib, retain: true, release: true); } static NSObject elementWithName_stringValue_( - SwiftLibrary _lib, NSString name, NSString string) { - final _ret = _lib._objc_msgSend_1109(_lib._class_NSXMLDTDNode1, - _lib._sel_elementWithName_stringValue_1, name._id, string._id); + SwiftLibrary _lib, + NSString name, + NSString string, + ) { + final _ret = _lib._objc_msgSend_1109( + _lib._class_NSXMLDTDNode1, + _lib._sel_elementWithName_stringValue_1, + name.pointer, + string.pointer, + ); return NSObject._(_ret, _lib, retain: true, release: true); } - static NSObject elementWithName_children_attributes_(SwiftLibrary _lib, - NSString name, NSArray? children, NSArray? attributes) { + static NSObject elementWithName_children_attributes_( + SwiftLibrary _lib, + NSString name, + NSArray? children, + NSArray? attributes, + ) { final _ret = _lib._objc_msgSend_1110( - _lib._class_NSXMLDTDNode1, - _lib._sel_elementWithName_children_attributes_1, - name._id, - children?._id ?? ffi.nullptr, - attributes?._id ?? ffi.nullptr); + _lib._class_NSXMLDTDNode1, + _lib._sel_elementWithName_children_attributes_1, + name.pointer, + children?.pointer ?? ffi.nullptr, + attributes?.pointer ?? ffi.nullptr, + ); return NSObject._(_ret, _lib, retain: true, release: true); } static NSObject attributeWithName_stringValue_( - SwiftLibrary _lib, NSString name, NSString stringValue) { - final _ret = _lib._objc_msgSend_1109(_lib._class_NSXMLDTDNode1, - _lib._sel_attributeWithName_stringValue_1, name._id, stringValue._id); + SwiftLibrary _lib, + NSString name, + NSString stringValue, + ) { + final _ret = _lib._objc_msgSend_1109( + _lib._class_NSXMLDTDNode1, + _lib._sel_attributeWithName_stringValue_1, + name.pointer, + stringValue.pointer, + ); return NSObject._(_ret, _lib, retain: true, release: true); } static NSObject attributeWithName_URI_stringValue_( - SwiftLibrary _lib, NSString name, NSString URI, NSString stringValue) { + SwiftLibrary _lib, + NSString name, + NSString URI, + NSString stringValue, + ) { final _ret = _lib._objc_msgSend_1074( - _lib._class_NSXMLDTDNode1, - _lib._sel_attributeWithName_URI_stringValue_1, - name._id, - URI._id, - stringValue._id); + _lib._class_NSXMLDTDNode1, + _lib._sel_attributeWithName_URI_stringValue_1, + name.pointer, + URI.pointer, + stringValue.pointer, + ); return NSObject._(_ret, _lib, retain: true, release: true); } static NSObject namespaceWithName_stringValue_( - SwiftLibrary _lib, NSString name, NSString stringValue) { - final _ret = _lib._objc_msgSend_1109(_lib._class_NSXMLDTDNode1, - _lib._sel_namespaceWithName_stringValue_1, name._id, stringValue._id); + SwiftLibrary _lib, + NSString name, + NSString stringValue, + ) { + final _ret = _lib._objc_msgSend_1109( + _lib._class_NSXMLDTDNode1, + _lib._sel_namespaceWithName_stringValue_1, + name.pointer, + stringValue.pointer, + ); return NSObject._(_ret, _lib, retain: true, release: true); } static NSObject processingInstructionWithName_stringValue_( - SwiftLibrary _lib, NSString name, NSString stringValue) { + SwiftLibrary _lib, + NSString name, + NSString stringValue, + ) { final _ret = _lib._objc_msgSend_1109( - _lib._class_NSXMLDTDNode1, - _lib._sel_processingInstructionWithName_stringValue_1, - name._id, - stringValue._id); + _lib._class_NSXMLDTDNode1, + _lib._sel_processingInstructionWithName_stringValue_1, + name.pointer, + stringValue.pointer, + ); return NSObject._(_ret, _lib, retain: true, release: true); } static NSObject commentWithStringValue_( - SwiftLibrary _lib, NSString stringValue) { - final _ret = _lib._objc_msgSend_31(_lib._class_NSXMLDTDNode1, - _lib._sel_commentWithStringValue_1, stringValue._id); + SwiftLibrary _lib, + NSString stringValue, + ) { + final _ret = _lib._objc_msgSend_31( + _lib._class_NSXMLDTDNode1, + _lib._sel_commentWithStringValue_1, + stringValue.pointer, + ); return NSObject._(_ret, _lib, retain: true, release: true); } static NSObject textWithStringValue_( - SwiftLibrary _lib, NSString stringValue) { - final _ret = _lib._objc_msgSend_31(_lib._class_NSXMLDTDNode1, - _lib._sel_textWithStringValue_1, stringValue._id); + SwiftLibrary _lib, + NSString stringValue, + ) { + final _ret = _lib._objc_msgSend_31( + _lib._class_NSXMLDTDNode1, + _lib._sel_textWithStringValue_1, + stringValue.pointer, + ); return NSObject._(_ret, _lib, retain: true, release: true); } static NSObject? DTDNodeWithXMLString_(SwiftLibrary _lib, NSString string) { - final _ret = _lib._objc_msgSend_38(_lib._class_NSXMLDTDNode1, - _lib._sel_DTDNodeWithXMLString_1, string._id); + final _ret = _lib._objc_msgSend_38( + _lib._class_NSXMLDTDNode1, + _lib._sel_DTDNodeWithXMLString_1, + string.pointer, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); @@ -74344,106 +99925,155 @@ class NSXMLDTDNode extends NSXMLNode { static NSString localNameForName_(SwiftLibrary _lib, NSString name) { final _ret = _lib._objc_msgSend_69( - _lib._class_NSXMLDTDNode1, _lib._sel_localNameForName_1, name._id); + _lib._class_NSXMLDTDNode1, + _lib._sel_localNameForName_1, + name.pointer, + ); return NSString._(_ret, _lib, retain: true, release: true); } static NSString? prefixForName_(SwiftLibrary _lib, NSString name) { final _ret = _lib._objc_msgSend_186( - _lib._class_NSXMLDTDNode1, _lib._sel_prefixForName_1, name._id); + _lib._class_NSXMLDTDNode1, + _lib._sel_prefixForName_1, + name.pointer, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } static NSXMLNode? predefinedNamespaceForPrefix_( - SwiftLibrary _lib, NSString name) { - final _ret = _lib._objc_msgSend_1125(_lib._class_NSXMLDTDNode1, - _lib._sel_predefinedNamespaceForPrefix_1, name._id); + SwiftLibrary _lib, + NSString name, + ) { + final _ret = _lib._objc_msgSend_1125( + _lib._class_NSXMLDTDNode1, + _lib._sel_predefinedNamespaceForPrefix_1, + name.pointer, + ); return _ret.address == 0 ? null : NSXMLNode._(_ret, _lib, retain: true, release: true); } static NSXMLDTDNode new1(SwiftLibrary _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSXMLDTDNode1, _lib._sel_new1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSXMLDTDNode1, + _lib._sel_new1, + ); return NSXMLDTDNode._(_ret, _lib, retain: false, release: true); } static NSXMLDTDNode allocWithZone_( - SwiftLibrary _lib, ffi.Pointer<_NSZone> zone) { + SwiftLibrary _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSXMLDTDNode1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSXMLDTDNode1, + _lib._sel_allocWithZone_1, + zone, + ); return NSXMLDTDNode._(_ret, _lib, retain: false, release: true); } static NSXMLDTDNode alloc(SwiftLibrary _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSXMLDTDNode1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSXMLDTDNode1, + _lib._sel_alloc1, + ); return NSXMLDTDNode._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + SwiftLibrary _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSXMLDTDNode1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSXMLDTDNode1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSXMLDTDNode1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + SwiftLibrary _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSXMLDTDNode1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { return _lib._objc_msgSend_12( - _lib._class_NSXMLDTDNode1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_NSXMLDTDNode1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(SwiftLibrary _lib) { return _lib._objc_msgSend_12( - _lib._class_NSXMLDTDNode1, _lib._sel_useStoredAccessor1); + _lib._class_NSXMLDTDNode1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_NSXMLDTDNode1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_NSXMLDTDNode1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_NSXMLDTDNode1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_NSXMLDTDNode1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, NSArray keys, NSString dependentKey) { + SwiftLibrary _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_NSXMLDTDNode1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSXMLDTDNode1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_85( - _lib._class_NSXMLDTDNode1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSXMLDTDNode1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSXMLDTDNode1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSXMLDTDNode1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } @@ -74472,44 +100102,60 @@ abstract class NSXMLDTDNodeKind { } class SwiftClass extends NSObject { - SwiftClass._(ffi.Pointer id, SwiftLibrary lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + SwiftClass._( + ffi.Pointer pointer, + SwiftLibrary lib, { + bool retain = false, + bool release = false, + }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [SwiftClass] that points to the same underlying object as [other]. - static SwiftClass castFrom(T other) { - return SwiftClass._(other._id, other._lib, retain: true, release: true); + static SwiftClass castFrom( + SwiftLibrary lib, + T other, + ) { + return SwiftClass._(other.pointer, lib, retain: true, release: true); } /// Returns a [SwiftClass] that wraps the given raw object pointer. static SwiftClass castFromPointer( - SwiftLibrary lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + SwiftLibrary lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return SwiftClass._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [SwiftClass]. - static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_SwiftClass1); + static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { + return lib._objc_msgSend_0( + obj.pointer, + lib._sel_isKindOfClass_1, + lib._class_SwiftClass1, + ); } NSString sayHello() { - final _ret = _lib._objc_msgSend_21(_id, _lib._sel_sayHello1); + final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_sayHello1); return NSString._(_ret, _lib, retain: true, release: true); } int get someField { - return _lib._objc_msgSend_83(_id, _lib._sel_someField1); + return _lib._objc_msgSend_83(this.pointer, _lib._sel_someField1); } set someField(int value) { - return _lib._objc_msgSend_635(_id, _lib._sel_setSomeField_1, value); + return _lib._objc_msgSend_635( + this.pointer, + _lib._sel_setSomeField_1, + value, + ); } @override SwiftClass init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); + final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); return SwiftClass._(_ret, _lib, retain: true, release: true); } @@ -74519,78 +100165,114 @@ class SwiftClass extends NSObject { } static SwiftClass allocWithZone_( - SwiftLibrary _lib, ffi.Pointer<_NSZone> zone) { + SwiftLibrary _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_SwiftClass1, _lib._sel_allocWithZone_1, zone); + _lib._class_SwiftClass1, + _lib._sel_allocWithZone_1, + zone, + ); return SwiftClass._(_ret, _lib, retain: false, release: true); } static SwiftClass alloc(SwiftLibrary _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_SwiftClass1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_SwiftClass1, + _lib._sel_alloc1, + ); return SwiftClass._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + SwiftLibrary _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_SwiftClass1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_SwiftClass1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_SwiftClass1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + SwiftLibrary _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_SwiftClass1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget.pointer, + ); } static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { return _lib._objc_msgSend_12( - _lib._class_SwiftClass1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_SwiftClass1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(SwiftLibrary _lib) { return _lib._objc_msgSend_12( - _lib._class_SwiftClass1, _lib._sel_useStoredAccessor1); + _lib._class_SwiftClass1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, NSString key) { - final _ret = _lib._objc_msgSend_63(_lib._class_SwiftClass1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_63( + _lib._class_SwiftClass1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key.pointer, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, NSString key) { - return _lib._objc_msgSend_64(_lib._class_SwiftClass1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + SwiftLibrary _lib, + NSString key, + ) { + return _lib._objc_msgSend_64( + _lib._class_SwiftClass1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key.pointer, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, NSArray keys, NSString dependentKey) { + SwiftLibrary _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_88( - _lib._class_SwiftClass1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_SwiftClass1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys.pointer, + dependentKey.pointer, + ); } static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_85( - _lib._class_SwiftClass1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_SwiftClass1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_SwiftClass1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_SwiftClass1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } diff --git a/pkgs/ffigen/pubspec.yaml b/pkgs/ffigen/pubspec.yaml index 72b810fec..bb2e9b869 100644 --- a/pkgs/ffigen/pubspec.yaml +++ b/pkgs/ffigen/pubspec.yaml @@ -26,7 +26,6 @@ dependencies: logging: ^1.0.0 package_config: ^2.1.0 path: ^1.8.0 - objective_c: ^0.0.1 quiver: ^3.0.0 yaml: ^3.0.0 yaml_edit: ^2.0.3 @@ -35,6 +34,7 @@ dev_dependencies: json_schema: ^5.1.1 lints: ^2.0.1 meta: ^1.11.0 + objective_c: ^0.0.1 test: ^1.16.2 dependency_overrides: diff --git a/pkgs/objective_c/CHANGELOG.md b/pkgs/objective_c/CHANGELOG.md index 79f4d109d..efb02f5a2 100644 --- a/pkgs/objective_c/CHANGELOG.md +++ b/pkgs/objective_c/CHANGELOG.md @@ -1,4 +1,4 @@ -## 0.0.1 +## 0.0.1-wip - Move sharable code from ffigen's generated code into this package, including ObjCObjectBase, and ObjCBlockBase, as well as the core Objective C runtime diff --git a/pkgs/objective_c/README.md b/pkgs/objective_c/README.md index aec4bce06..5d3c591a0 100644 --- a/pkgs/objective_c/README.md +++ b/pkgs/objective_c/README.md @@ -1,4 +1,4 @@ # objective_c -A library to access Objective C from Dart and Flutter that acts as a support -library for package:ffigen. +A library to access Objective C from Flutter that acts as a support library for +package:ffigen. diff --git a/pkgs/objective_c/ffigen.yaml b/pkgs/objective_c/ffigen.yaml index 63105bbd0..4c3d9f5aa 100644 --- a/pkgs/objective_c/ffigen.yaml +++ b/pkgs/objective_c/ffigen.yaml @@ -27,6 +27,10 @@ globals: rename: '_(.*)': '$1' preamble: | + // Copyright (c) 2024, the Dart project authors. Please see the AUTHORS file + // for details. All rights reserved. Use of this source code is governed by a + // BSD-style license that can be found in the LICENSE file. + // ignore_for_file: always_specify_types // ignore_for_file: camel_case_types // ignore_for_file: non_constant_identifier_names diff --git a/pkgs/objective_c/ios/objective_c.podspec b/pkgs/objective_c/ios/objective_c.podspec index eb71727b6..e784ccd7c 100644 --- a/pkgs/objective_c/ios/objective_c.podspec +++ b/pkgs/objective_c/ios/objective_c.podspec @@ -5,9 +5,9 @@ Pod::Spec.new do |s| s.name = 'objective_c' s.version = '0.0.1' - s.summary = 'A library to access Objective C from Dart and Flutter that acts as a support library for package:ffigen.' + s.summary = 'A library to access Objective C from Flutter that acts as a support library for package:ffigen.' s.description = <<-DESC -A library to access Objective C from Dart and Flutter that acts as a support library for package:ffigen. +A library to access Objective C from Flutter that acts as a support library for package:ffigen. DESC s.homepage = 'http://example.com' s.license = { :file => '../LICENSE' } diff --git a/pkgs/objective_c/lib/src/objective_c_bindings_generated.dart b/pkgs/objective_c/lib/src/objective_c_bindings_generated.dart index 07acc0c8d..fb54176ed 100644 --- a/pkgs/objective_c/lib/src/objective_c_bindings_generated.dart +++ b/pkgs/objective_c/lib/src/objective_c_bindings_generated.dart @@ -1,3 +1,7 @@ +// Copyright (c) 2024, the Dart project authors. Please see the AUTHORS file +// for details. All rights reserved. Use of this source code is governed by a +// BSD-style license that can be found in the LICENSE file. + // ignore_for_file: always_specify_types // ignore_for_file: camel_case_types // ignore_for_file: non_constant_identifier_names @@ -9,25 +13,25 @@ import 'dart:ffi' as ffi; @ffi.Native Function(ffi.Pointer)>( - symbol: "sel_registerName", isLeaf: true) + symbol: 'sel_registerName', isLeaf: true) external ffi.Pointer registerName( ffi.Pointer name, ); @ffi.Native Function(ffi.Pointer)>( - symbol: "objc_getClass", isLeaf: true) + symbol: 'objc_getClass', isLeaf: true) external ffi.Pointer getClass( ffi.Pointer name, ); @ffi.Native Function(ffi.Pointer)>( - symbol: "objc_retain", isLeaf: true) + symbol: 'objc_retain', isLeaf: true) external ffi.Pointer objectRetain( ffi.Pointer object, ); @ffi.Native)>( - symbol: "objc_release", isLeaf: true) + symbol: 'objc_release', isLeaf: true) external void objectRelease( ffi.Pointer object, ); @@ -36,13 +40,13 @@ external void objectRelease( external final ffi.Pointer NSConcreteGlobalBlock; @ffi.Native Function(ffi.Pointer)>( - symbol: "Block_copy", isLeaf: true) + symbol: 'Block_copy', isLeaf: true) external ffi.Pointer blockCopy( ffi.Pointer object, ); @ffi.Native)>( - symbol: "Block_release", isLeaf: true) + symbol: 'Block_release', isLeaf: true) external void blockRelease( ffi.Pointer object, ); diff --git a/pkgs/objective_c/macos/objective_c.podspec b/pkgs/objective_c/macos/objective_c.podspec index e7c2df57a..f3ae43b6b 100644 --- a/pkgs/objective_c/macos/objective_c.podspec +++ b/pkgs/objective_c/macos/objective_c.podspec @@ -5,9 +5,9 @@ Pod::Spec.new do |s| s.name = 'objective_c' s.version = '0.0.1' - s.summary = 'A library to access Objective C from Dart and Flutter that acts as a support library for package:ffigen.' + s.summary = 'A library to access Objective C from Flutter that acts as a support library for package:ffigen.' s.description = <<-DESC -A library to access Objective C from Dart and Flutter that acts as a support library for package:ffigen. +A library to access Objective C from Flutter that acts as a support library for package:ffigen. DESC s.homepage = 'http://example.com' s.license = { :file => '../LICENSE' } diff --git a/pkgs/objective_c/pubspec.yaml b/pkgs/objective_c/pubspec.yaml index f8c9ce817..68031e259 100644 --- a/pkgs/objective_c/pubspec.yaml +++ b/pkgs/objective_c/pubspec.yaml @@ -3,7 +3,7 @@ # BSD-style license that can be found in the LICENSE file. name: objective_c -description: "A library to access Objective C from Dart and Flutter that acts as a support library for package:ffigen." +description: "A library to access Objective C from Flutter that acts as a support library for package:ffigen." version: 0.0.1-wip repository: https://github.com/dart-lang/native/tree/main/pkgs/objective_c From 3557789a5efe37fcad7814f58555d3695f1f78cc Mon Sep 17 00:00:00 2001 From: Liam Appelbe Date: Wed, 3 Apr 2024 10:34:30 +1300 Subject: [PATCH 03/21] Remove the objective_c dep from ffigen. Need to separate those tests --- pkgs/ffigen/pubspec.yaml | 5 ----- 1 file changed, 5 deletions(-) diff --git a/pkgs/ffigen/pubspec.yaml b/pkgs/ffigen/pubspec.yaml index bb2e9b869..24e645896 100644 --- a/pkgs/ffigen/pubspec.yaml +++ b/pkgs/ffigen/pubspec.yaml @@ -34,9 +34,4 @@ dev_dependencies: json_schema: ^5.1.1 lints: ^2.0.1 meta: ^1.11.0 - objective_c: ^0.0.1 test: ^1.16.2 - -dependency_overrides: - objective_c: - path: ../objective_c/ From 9ea9ddbdf30b4128472109bc6e5b8f5d90bb3275 Mon Sep 17 00:00:00 2001 From: Liam Appelbe Date: Wed, 3 Apr 2024 11:18:47 +1300 Subject: [PATCH 04/21] Disable analysis and move tests --- .github/ISSUE_TEMPLATE/objective_c.md | 6 + pkgs/ffigen/analysis_options.yaml | 9 +- .../objective_c/avf_audio_bindings.dart | 42116 +++++++--------- .../example/swift/swift_api_bindings.dart | 40507 +++++++-------- .../lib/src/code_generator/library.dart | 4 +- .../native_objc_test/.gitignore | 0 .../automated_ref_count_config.yaml | 0 .../automated_ref_count_test.dart | 0 .../automated_ref_count_test.m | 0 .../native_objc_test/bad_method_config.yaml | 0 .../native_objc_test/bad_method_test.dart | 0 .../native_objc_test/bad_method_test.m | 0 .../native_objc_test/block_config.yaml | 0 .../native_objc_test/block_test.dart | 0 .../native_objc_test/block_test.m | 0 .../native_objc_test/cast_config.yaml | 0 .../native_objc_test/cast_test.dart | 0 .../native_objc_test/cast_test.m | 0 .../native_objc_test/category_config.yaml | 0 .../native_objc_test/category_test.dart | 0 .../native_objc_test/category_test.m | 0 .../failed_to_load_config.yaml | 0 .../native_objc_test/failed_to_load_test.dart | 0 .../native_objc_test/failed_to_load_test.m | 0 .../native_objc_test/forward_decl_config.yaml | 0 .../native_objc_test/forward_decl_test.dart | 0 .../native_objc_test/forward_decl_test.h | 0 .../native_objc_test/forward_decl_test.m | 0 .../inherited_instancetype_config.yaml | 0 .../inherited_instancetype_test.dart | 0 .../inherited_instancetype_test.m | 0 .../native_objc_test/is_instance_config.yaml | 0 .../native_objc_test/is_instance_test.dart | 0 .../native_objc_test/is_instance_test.m | 0 .../native_objc_test/method_config.yaml | 0 .../native_objc_test/method_test.dart | 0 .../native_objc_test/method_test.m | 0 .../native_objc_test/native_objc_config.yaml | 0 .../native_objc_test/native_objc_test.dart | 0 .../native_objc_test/native_objc_test.m | 0 .../native_objc_test/nullable_config.yaml | 0 .../nullable_inheritance_config.yaml | 0 .../nullable_inheritance_test.dart | 0 .../nullable_inheritance_test.m | 0 .../native_objc_test/nullable_test.dart | 0 .../native_objc_test/nullable_test.m | 0 .../native_objc_test/property_config.yaml | 0 .../native_objc_test/property_test.dart | 0 .../native_objc_test/property_test.m | 0 .../native_objc_test/rename_config.yaml | 0 .../native_objc_test/rename_test.dart | 0 .../native_objc_test/rename_test.m | 0 .../native_objc_test/setup.dart | 0 .../native_objc_test/static_func_config.yaml | 0 .../static_func_native_config.yaml | 0 .../static_func_native_test.dart | 0 .../native_objc_test/static_func_test.dart | 0 .../native_objc_test/static_func_test.m | 0 .../native_objc_test/string_config.yaml | 0 .../native_objc_test/string_test.dart | 0 .../native_objc_test/string_test.m | 0 .../native_objc_test/swift_class_config.yaml | 0 .../native_objc_test/swift_class_test.dart | 0 .../native_objc_test/swift_class_test.swift | 0 .../native_objc_test/typedef_config.yaml | 0 .../native_objc_test/typedef_test.dart | 0 .../native_objc_test/typedef_test.m | 0 .../native_objc_test/util.dart | 0 .../native_objc_test/util.h | 0 69 files changed, 35156 insertions(+), 47486 deletions(-) create mode 100644 .github/ISSUE_TEMPLATE/objective_c.md rename pkgs/ffigen/{test => test_flutter}/native_objc_test/.gitignore (100%) rename pkgs/ffigen/{test => test_flutter}/native_objc_test/automated_ref_count_config.yaml (100%) rename pkgs/ffigen/{test => test_flutter}/native_objc_test/automated_ref_count_test.dart (100%) rename pkgs/ffigen/{test => test_flutter}/native_objc_test/automated_ref_count_test.m (100%) rename pkgs/ffigen/{test => test_flutter}/native_objc_test/bad_method_config.yaml (100%) rename pkgs/ffigen/{test => test_flutter}/native_objc_test/bad_method_test.dart (100%) rename pkgs/ffigen/{test => test_flutter}/native_objc_test/bad_method_test.m (100%) rename pkgs/ffigen/{test => test_flutter}/native_objc_test/block_config.yaml (100%) rename pkgs/ffigen/{test => test_flutter}/native_objc_test/block_test.dart (100%) rename pkgs/ffigen/{test => test_flutter}/native_objc_test/block_test.m (100%) rename pkgs/ffigen/{test => test_flutter}/native_objc_test/cast_config.yaml (100%) rename pkgs/ffigen/{test => test_flutter}/native_objc_test/cast_test.dart (100%) rename pkgs/ffigen/{test => test_flutter}/native_objc_test/cast_test.m (100%) rename pkgs/ffigen/{test => test_flutter}/native_objc_test/category_config.yaml (100%) rename pkgs/ffigen/{test => test_flutter}/native_objc_test/category_test.dart (100%) rename pkgs/ffigen/{test => test_flutter}/native_objc_test/category_test.m (100%) rename pkgs/ffigen/{test => test_flutter}/native_objc_test/failed_to_load_config.yaml (100%) rename pkgs/ffigen/{test => test_flutter}/native_objc_test/failed_to_load_test.dart (100%) rename pkgs/ffigen/{test => test_flutter}/native_objc_test/failed_to_load_test.m (100%) rename pkgs/ffigen/{test => test_flutter}/native_objc_test/forward_decl_config.yaml (100%) rename pkgs/ffigen/{test => test_flutter}/native_objc_test/forward_decl_test.dart (100%) rename pkgs/ffigen/{test => test_flutter}/native_objc_test/forward_decl_test.h (100%) rename pkgs/ffigen/{test => test_flutter}/native_objc_test/forward_decl_test.m (100%) rename pkgs/ffigen/{test => test_flutter}/native_objc_test/inherited_instancetype_config.yaml (100%) rename pkgs/ffigen/{test => test_flutter}/native_objc_test/inherited_instancetype_test.dart (100%) rename pkgs/ffigen/{test => test_flutter}/native_objc_test/inherited_instancetype_test.m (100%) rename pkgs/ffigen/{test => test_flutter}/native_objc_test/is_instance_config.yaml (100%) rename pkgs/ffigen/{test => test_flutter}/native_objc_test/is_instance_test.dart (100%) rename pkgs/ffigen/{test => test_flutter}/native_objc_test/is_instance_test.m (100%) rename pkgs/ffigen/{test => test_flutter}/native_objc_test/method_config.yaml (100%) rename pkgs/ffigen/{test => test_flutter}/native_objc_test/method_test.dart (100%) rename pkgs/ffigen/{test => test_flutter}/native_objc_test/method_test.m (100%) rename pkgs/ffigen/{test => test_flutter}/native_objc_test/native_objc_config.yaml (100%) rename pkgs/ffigen/{test => test_flutter}/native_objc_test/native_objc_test.dart (100%) rename pkgs/ffigen/{test => test_flutter}/native_objc_test/native_objc_test.m (100%) rename pkgs/ffigen/{test => test_flutter}/native_objc_test/nullable_config.yaml (100%) rename pkgs/ffigen/{test => test_flutter}/native_objc_test/nullable_inheritance_config.yaml (100%) rename pkgs/ffigen/{test => test_flutter}/native_objc_test/nullable_inheritance_test.dart (100%) rename pkgs/ffigen/{test => test_flutter}/native_objc_test/nullable_inheritance_test.m (100%) rename pkgs/ffigen/{test => test_flutter}/native_objc_test/nullable_test.dart (100%) rename pkgs/ffigen/{test => test_flutter}/native_objc_test/nullable_test.m (100%) rename pkgs/ffigen/{test => test_flutter}/native_objc_test/property_config.yaml (100%) rename pkgs/ffigen/{test => test_flutter}/native_objc_test/property_test.dart (100%) rename pkgs/ffigen/{test => test_flutter}/native_objc_test/property_test.m (100%) rename pkgs/ffigen/{test => test_flutter}/native_objc_test/rename_config.yaml (100%) rename pkgs/ffigen/{test => test_flutter}/native_objc_test/rename_test.dart (100%) rename pkgs/ffigen/{test => test_flutter}/native_objc_test/rename_test.m (100%) rename pkgs/ffigen/{test => test_flutter}/native_objc_test/setup.dart (100%) rename pkgs/ffigen/{test => test_flutter}/native_objc_test/static_func_config.yaml (100%) rename pkgs/ffigen/{test => test_flutter}/native_objc_test/static_func_native_config.yaml (100%) rename pkgs/ffigen/{test => test_flutter}/native_objc_test/static_func_native_test.dart (100%) rename pkgs/ffigen/{test => test_flutter}/native_objc_test/static_func_test.dart (100%) rename pkgs/ffigen/{test => test_flutter}/native_objc_test/static_func_test.m (100%) rename pkgs/ffigen/{test => test_flutter}/native_objc_test/string_config.yaml (100%) rename pkgs/ffigen/{test => test_flutter}/native_objc_test/string_test.dart (100%) rename pkgs/ffigen/{test => test_flutter}/native_objc_test/string_test.m (100%) rename pkgs/ffigen/{test => test_flutter}/native_objc_test/swift_class_config.yaml (100%) rename pkgs/ffigen/{test => test_flutter}/native_objc_test/swift_class_test.dart (100%) rename pkgs/ffigen/{test => test_flutter}/native_objc_test/swift_class_test.swift (100%) rename pkgs/ffigen/{test => test_flutter}/native_objc_test/typedef_config.yaml (100%) rename pkgs/ffigen/{test => test_flutter}/native_objc_test/typedef_test.dart (100%) rename pkgs/ffigen/{test => test_flutter}/native_objc_test/typedef_test.m (100%) rename pkgs/ffigen/{test => test_flutter}/native_objc_test/util.dart (100%) rename pkgs/ffigen/{test => test_flutter}/native_objc_test/util.h (100%) diff --git a/.github/ISSUE_TEMPLATE/objective_c.md b/.github/ISSUE_TEMPLATE/objective_c.md new file mode 100644 index 000000000..63039fbd6 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/objective_c.md @@ -0,0 +1,6 @@ +--- +name: "package:objective_c" +about: "Create a bug or file a feature request against package:objective_c." +labels: "package:objective_c" +--- + diff --git a/pkgs/ffigen/analysis_options.yaml b/pkgs/ffigen/analysis_options.yaml index 0ba641e24..a5268ae76 100644 --- a/pkgs/ffigen/analysis_options.yaml +++ b/pkgs/ffigen/analysis_options.yaml @@ -9,8 +9,15 @@ analyzer: todo: ignore exclude: - 'test/**_expected*' + # Goldens cannot be generated outside MacOS causing analysis errors. - - test/native_objc_test/** + # - test/native_objc_test/** # Moved to test_flutter for now. + + # Exclude anything that uses package:objective_c, due to flutter dependency. + # https://github.com/dart-lang/native/issues/1068 + - example/objective_c/** + - example/swift/** + - test_flutter/native_objc_test/** language: strict-casts: true strict-inference: true diff --git a/pkgs/ffigen/example/objective_c/avf_audio_bindings.dart b/pkgs/ffigen/example/objective_c/avf_audio_bindings.dart index cff129c7a..25f8711a1 100644 --- a/pkgs/ffigen/example/objective_c/avf_audio_bindings.dart +++ b/pkgs/ffigen/example/objective_c/avf_audio_bindings.dart @@ -37,21 +37,16 @@ class AVFAudio { } late final __objc_msgSend_1Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1 = __objc_msgSend_1Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1 = - __objc_msgSend_1Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_initialize1 = objc.registerName("initialize"); late final _sel_init1 = objc.registerName("init"); @@ -63,21 +58,16 @@ class AVFAudio { } late final __objc_msgSend_2Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_2 = __objc_msgSend_2Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_2 = - __objc_msgSend_2Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_new1 = objc.registerName("new"); late final _sel_allocWithZone_1 = objc.registerName("allocWithZone:"); @@ -90,23 +80,18 @@ class AVFAudio { } late final __objc_msgSend_3Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_NSZone>, + )>>('objc_msgSend'); + late final __objc_msgSend_3 = __objc_msgSend_3Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer<_NSZone>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_3 = - __objc_msgSend_3Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_NSZone>, - ) - >(); + )>(); late final _sel_alloc1 = objc.registerName("alloc"); late final _sel_dealloc1 = objc.registerName("dealloc"); @@ -129,23 +114,18 @@ class AVFAudio { } late final __objc_msgSend_4Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_4 = __objc_msgSend_4Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_4 = - __objc_msgSend_4Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); bool _objc_msgSend_0( ffi.Pointer obj, @@ -156,23 +136,18 @@ class AVFAudio { } late final __objc_msgSend_0Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_0 = __objc_msgSend_0Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_0 = - __objc_msgSend_0Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_isKindOfClass_1 = objc.registerName("isKindOfClass:"); late final _class_Protocol1 = objc.getClass("Protocol"); @@ -188,23 +163,18 @@ class AVFAudio { } late final __objc_msgSend_5Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_5 = __objc_msgSend_5Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_5 = - __objc_msgSend_5Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_methodForSelector_1 = objc.registerName("methodForSelector:"); ffi.Pointer> _objc_msgSend_6( @@ -216,23 +186,18 @@ class AVFAudio { } late final __objc_msgSend_6Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer> Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_6 = __objc_msgSend_6Ptr.asFunction< ffi.Pointer> Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_6 = - __objc_msgSend_6Ptr - .asFunction< - ffi.Pointer> Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_instanceMethodForSelector_1 = objc.registerName( "instanceMethodForSelector:", @@ -249,23 +214,18 @@ class AVFAudio { } late final __objc_msgSend_7Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_7 = __objc_msgSend_7Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_7 = - __objc_msgSend_7Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_forwardingTargetForSelector_1 = objc.registerName( "forwardingTargetForSelector:", @@ -279,23 +239,18 @@ class AVFAudio { } late final __objc_msgSend_8Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_8 = __objc_msgSend_8Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_8 = - __objc_msgSend_8Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _class_NSInvocation1 = objc.getClass("NSInvocation"); late final _class_NSMethodSignature1 = objc.getClass("NSMethodSignature"); @@ -311,23 +266,18 @@ class AVFAudio { } late final __objc_msgSend_9Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_9 = __objc_msgSend_9Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_9 = - __objc_msgSend_9Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_numberOfArguments1 = objc.registerName("numberOfArguments"); int _objc_msgSend_10( @@ -338,21 +288,16 @@ class AVFAudio { } late final __objc_msgSend_10Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedLong Function( + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_10 = __objc_msgSend_10Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_10 = - __objc_msgSend_10Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_getArgumentTypeAtIndex_1 = objc.registerName( "getArgumentTypeAtIndex:", @@ -366,23 +311,18 @@ class AVFAudio { } late final __objc_msgSend_11Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + )>>('objc_msgSend'); + late final __objc_msgSend_11 = __objc_msgSend_11Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_11 = - __objc_msgSend_11Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_frameLength1 = objc.registerName("frameLength"); late final _sel_isOneway1 = objc.registerName("isOneway"); @@ -394,21 +334,16 @@ class AVFAudio { } late final __objc_msgSend_12Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_12 = __objc_msgSend_12Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_12 = - __objc_msgSend_12Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_methodReturnType1 = objc.registerName("methodReturnType"); ffi.Pointer _objc_msgSend_13( @@ -419,27 +354,22 @@ class AVFAudio { } late final __objc_msgSend_13Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_13 = __objc_msgSend_13Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_13 = - __objc_msgSend_13Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_methodReturnLength1 = objc.registerName("methodReturnLength"); late final _sel_cancelPreviousPerformRequestsWithTarget_selector_object_1 = objc.registerName( - "cancelPreviousPerformRequestsWithTarget:selector:object:", - ); + "cancelPreviousPerformRequestsWithTarget:selector:object:", + ); void _objc_msgSend_14( ffi.Pointer obj, ffi.Pointer sel, @@ -451,27 +381,22 @@ class AVFAudio { } late final __objc_msgSend_14Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_14 = __objc_msgSend_14Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_14 = - __objc_msgSend_14Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_cancelPreviousPerformRequestsWithTarget_1 = objc.registerName( "cancelPreviousPerformRequestsWithTarget:", @@ -485,23 +410,18 @@ class AVFAudio { } late final __objc_msgSend_15Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_15 = __objc_msgSend_15Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_15 = - __objc_msgSend_15Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_accessInstanceVariablesDirectly1 = objc.registerName( "accessInstanceVariablesDirectly", @@ -519,23 +439,18 @@ class AVFAudio { } late final __objc_msgSend_16Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_16 = __objc_msgSend_16Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_16 = - __objc_msgSend_16Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _class_NSEnumerator1 = objc.getClass("NSEnumerator"); late final _sel_nextObject1 = objc.registerName("nextObject"); @@ -547,21 +462,16 @@ class AVFAudio { } late final __objc_msgSend_17Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_17 = __objc_msgSend_17Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_17 = - __objc_msgSend_17Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_allObjects1 = objc.registerName("allObjects"); late final _class_NSString1 = objc.getClass("NSString"); @@ -576,23 +486,18 @@ class AVFAudio { } late final __objc_msgSend_18Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedShort Function( + ffi.NativeFunction< + ffi.UnsignedShort Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + )>>('objc_msgSend'); + late final __objc_msgSend_18 = __objc_msgSend_18Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_18 = - __objc_msgSend_18Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _class_NSCoder1 = objc.getClass("NSCoder"); late final _sel_encodeValueOfObjCType_at_1 = objc.registerName( @@ -608,25 +513,20 @@ class AVFAudio { } late final __objc_msgSend_19Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_19 = __objc_msgSend_19Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_19 = - __objc_msgSend_19Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _class_NSData1 = objc.getClass("NSData"); late final _sel_bytes1 = objc.registerName("bytes"); @@ -638,21 +538,16 @@ class AVFAudio { } late final __objc_msgSend_20Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_20 = __objc_msgSend_20Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_20 = - __objc_msgSend_20Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_description1 = objc.registerName("description"); ffi.Pointer _objc_msgSend_21( @@ -663,21 +558,16 @@ class AVFAudio { } late final __objc_msgSend_21Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_21 = __objc_msgSend_21Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_21 = - __objc_msgSend_21Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_getBytes_length_1 = objc.registerName("getBytes:length:"); void _objc_msgSend_22( @@ -690,25 +580,20 @@ class AVFAudio { } late final __objc_msgSend_22Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + )>>('objc_msgSend'); + late final __objc_msgSend_22 = __objc_msgSend_22Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_22 = - __objc_msgSend_22Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_getBytes_range_1 = objc.registerName("getBytes:range:"); void _objc_msgSend_23( @@ -721,25 +606,20 @@ class AVFAudio { } late final __objc_msgSend_23Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange, + )>>('objc_msgSend'); + late final __objc_msgSend_23 = __objc_msgSend_23Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, _NSRange, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_23 = - __objc_msgSend_23Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - _NSRange, - ) - >(); + )>(); late final _sel_isEqualToData_1 = objc.registerName("isEqualToData:"); bool _objc_msgSend_24( @@ -751,23 +631,18 @@ class AVFAudio { } late final __objc_msgSend_24Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_24 = __objc_msgSend_24Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_24 = - __objc_msgSend_24Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_subdataWithRange_1 = objc.registerName("subdataWithRange:"); ffi.Pointer _objc_msgSend_25( @@ -779,23 +654,18 @@ class AVFAudio { } late final __objc_msgSend_25Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + )>>('objc_msgSend'); + late final __objc_msgSend_25 = __objc_msgSend_25Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, _NSRange, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_25 = - __objc_msgSend_25Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ) - >(); + )>(); late final _sel_writeToFile_atomically_1 = objc.registerName( "writeToFile:atomically:", @@ -810,25 +680,20 @@ class AVFAudio { } late final __objc_msgSend_26Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + )>>('objc_msgSend'); + late final __objc_msgSend_26 = __objc_msgSend_26Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Bool, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_26 = - __objc_msgSend_26Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - ) - >(); + bool, + )>(); late final _class_NSURL1 = objc.getClass("NSURL"); late final _sel_initWithScheme_host_path_1 = objc.registerName( @@ -845,30 +710,25 @@ class AVFAudio { } late final __objc_msgSend_27Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_27 = __objc_msgSend_27Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_27 = - __objc_msgSend_27Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); - late final _sel_initFileURLWithPath_isDirectory_relativeToURL_1 = objc - .registerName("initFileURLWithPath:isDirectory:relativeToURL:"); + late final _sel_initFileURLWithPath_isDirectory_relativeToURL_1 = + objc.registerName("initFileURLWithPath:isDirectory:relativeToURL:"); instancetype _objc_msgSend_28( ffi.Pointer obj, ffi.Pointer sel, @@ -880,27 +740,22 @@ class AVFAudio { } late final __objc_msgSend_28Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_28 = __objc_msgSend_28Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Bool, + bool, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_28 = - __objc_msgSend_28Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - ffi.Pointer, - ) - >(); + )>(); late final _sel_initFileURLWithPath_relativeToURL_1 = objc.registerName( "initFileURLWithPath:relativeToURL:", @@ -915,25 +770,20 @@ class AVFAudio { } late final __objc_msgSend_29Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_29 = __objc_msgSend_29Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_29 = - __objc_msgSend_29Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_initFileURLWithPath_isDirectory_1 = objc.registerName( "initFileURLWithPath:isDirectory:", @@ -948,25 +798,20 @@ class AVFAudio { } late final __objc_msgSend_30Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + )>>('objc_msgSend'); + late final __objc_msgSend_30 = __objc_msgSend_30Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Bool, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_30 = - __objc_msgSend_30Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - ) - >(); + bool, + )>(); late final _sel_initFileURLWithPath_1 = objc.registerName( "initFileURLWithPath:", @@ -980,26 +825,21 @@ class AVFAudio { } late final __objc_msgSend_31Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_31 = __objc_msgSend_31Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_31 = - __objc_msgSend_31Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); - late final _sel_fileURLWithPath_isDirectory_relativeToURL_1 = objc - .registerName("fileURLWithPath:isDirectory:relativeToURL:"); + late final _sel_fileURLWithPath_isDirectory_relativeToURL_1 = + objc.registerName("fileURLWithPath:isDirectory:relativeToURL:"); ffi.Pointer _objc_msgSend_32( ffi.Pointer obj, ffi.Pointer sel, @@ -1011,27 +851,22 @@ class AVFAudio { } late final __objc_msgSend_32Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_32 = __objc_msgSend_32Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Bool, + bool, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_32 = - __objc_msgSend_32Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - ffi.Pointer, - ) - >(); + )>(); late final _sel_fileURLWithPath_relativeToURL_1 = objc.registerName( "fileURLWithPath:relativeToURL:", @@ -1046,25 +881,20 @@ class AVFAudio { } late final __objc_msgSend_33Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_33 = __objc_msgSend_33Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_33 = - __objc_msgSend_33Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_fileURLWithPath_isDirectory_1 = objc.registerName( "fileURLWithPath:isDirectory:", @@ -1079,25 +909,20 @@ class AVFAudio { } late final __objc_msgSend_34Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + )>>('objc_msgSend'); + late final __objc_msgSend_34 = __objc_msgSend_34Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Bool, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_34 = - __objc_msgSend_34Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - ) - >(); + bool, + )>(); late final _sel_fileURLWithPath_1 = objc.registerName("fileURLWithPath:"); ffi.Pointer _objc_msgSend_35( @@ -1109,28 +934,23 @@ class AVFAudio { } late final __objc_msgSend_35Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_35 = __objc_msgSend_35Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_35 = - __objc_msgSend_35Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_initFileURLWithFileSystemRepresentation_isDirectory_relativeToURL_1 = objc.registerName( - "initFileURLWithFileSystemRepresentation:isDirectory:relativeToURL:", - ); + "initFileURLWithFileSystemRepresentation:isDirectory:relativeToURL:", + ); instancetype _objc_msgSend_36( ffi.Pointer obj, ffi.Pointer sel, @@ -1142,32 +962,27 @@ class AVFAudio { } late final __objc_msgSend_36Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_36 = __objc_msgSend_36Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Bool, + bool, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_36 = - __objc_msgSend_36Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - ffi.Pointer, - ) - >(); + )>(); late final _sel_fileURLWithFileSystemRepresentation_isDirectory_relativeToURL_1 = objc.registerName( - "fileURLWithFileSystemRepresentation:isDirectory:relativeToURL:", - ); + "fileURLWithFileSystemRepresentation:isDirectory:relativeToURL:", + ); ffi.Pointer _objc_msgSend_37( ffi.Pointer obj, ffi.Pointer sel, @@ -1179,27 +994,22 @@ class AVFAudio { } late final __objc_msgSend_37Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_37 = __objc_msgSend_37Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Bool, + bool, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_37 = - __objc_msgSend_37Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - ffi.Pointer, - ) - >(); + )>(); late final _sel_initWithString_1 = objc.registerName("initWithString:"); instancetype _objc_msgSend_38( @@ -1211,23 +1021,18 @@ class AVFAudio { } late final __objc_msgSend_38Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_38 = __objc_msgSend_38Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_38 = - __objc_msgSend_38Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_initWithString_relativeToURL_1 = objc.registerName( "initWithString:relativeToURL:", @@ -1242,32 +1047,27 @@ class AVFAudio { } late final __objc_msgSend_39Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_39 = __objc_msgSend_39Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_39 = - __objc_msgSend_39Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_URLWithString_1 = objc.registerName("URLWithString:"); late final _sel_URLWithString_relativeToURL_1 = objc.registerName( "URLWithString:relativeToURL:", ); - late final _sel_initWithString_encodingInvalidCharacters_1 = objc - .registerName("initWithString:encodingInvalidCharacters:"); + late final _sel_initWithString_encodingInvalidCharacters_1 = + objc.registerName("initWithString:encodingInvalidCharacters:"); instancetype _objc_msgSend_40( ffi.Pointer obj, ffi.Pointer sel, @@ -1278,31 +1078,26 @@ class AVFAudio { } late final __objc_msgSend_40Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + )>>('objc_msgSend'); + late final __objc_msgSend_40 = __objc_msgSend_40Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Bool, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_40 = - __objc_msgSend_40Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - ) - >(); + bool, + )>(); late final _sel_URLWithString_encodingInvalidCharacters_1 = objc.registerName( "URLWithString:encodingInvalidCharacters:", ); - late final _sel_initWithDataRepresentation_relativeToURL_1 = objc - .registerName("initWithDataRepresentation:relativeToURL:"); + late final _sel_initWithDataRepresentation_relativeToURL_1 = + objc.registerName("initWithDataRepresentation:relativeToURL:"); instancetype _objc_msgSend_41( ffi.Pointer obj, ffi.Pointer sel, @@ -1313,25 +1108,20 @@ class AVFAudio { } late final __objc_msgSend_41Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_41 = __objc_msgSend_41Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_41 = - __objc_msgSend_41Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_URLWithDataRepresentation_relativeToURL_1 = objc.registerName( "URLWithDataRepresentation:relativeToURL:", @@ -1346,30 +1136,25 @@ class AVFAudio { } late final __objc_msgSend_42Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_42 = __objc_msgSend_42Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_42 = - __objc_msgSend_42Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); - late final _sel_initAbsoluteURLWithDataRepresentation_relativeToURL_1 = objc - .registerName("initAbsoluteURLWithDataRepresentation:relativeToURL:"); - late final _sel_absoluteURLWithDataRepresentation_relativeToURL_1 = objc - .registerName("absoluteURLWithDataRepresentation:relativeToURL:"); + late final _sel_initAbsoluteURLWithDataRepresentation_relativeToURL_1 = + objc.registerName("initAbsoluteURLWithDataRepresentation:relativeToURL:"); + late final _sel_absoluteURLWithDataRepresentation_relativeToURL_1 = + objc.registerName("absoluteURLWithDataRepresentation:relativeToURL:"); late final _sel_dataRepresentation1 = objc.registerName("dataRepresentation"); ffi.Pointer _objc_msgSend_43( ffi.Pointer obj, @@ -1379,21 +1164,16 @@ class AVFAudio { } late final __objc_msgSend_43Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_43 = __objc_msgSend_43Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_43 = - __objc_msgSend_43Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_absoluteString1 = objc.registerName("absoluteString"); ffi.Pointer _objc_msgSend_44( @@ -1404,21 +1184,16 @@ class AVFAudio { } late final __objc_msgSend_44Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_44 = __objc_msgSend_44Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_44 = - __objc_msgSend_44Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_relativeString1 = objc.registerName("relativeString"); late final _sel_baseURL1 = objc.registerName("baseURL"); @@ -1430,21 +1205,16 @@ class AVFAudio { } late final __objc_msgSend_45Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_45 = __objc_msgSend_45Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_45 = - __objc_msgSend_45Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_absoluteURL1 = objc.registerName("absoluteURL"); late final _sel_scheme1 = objc.registerName("scheme"); @@ -1467,25 +1237,20 @@ class AVFAudio { } late final __objc_msgSend_46Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_46 = __objc_msgSend_46Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_46 = - __objc_msgSend_46Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_initWithCoder_1 = objc.registerName("initWithCoder:"); instancetype _objc_msgSend_47( @@ -1497,23 +1262,18 @@ class AVFAudio { } late final __objc_msgSend_47Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_47 = __objc_msgSend_47Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_47 = - __objc_msgSend_47Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_valueWithBytes_objCType_1 = objc.registerName( "valueWithBytes:objCType:", @@ -1528,25 +1288,20 @@ class AVFAudio { } late final __objc_msgSend_48Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_48 = __objc_msgSend_48Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_48 = - __objc_msgSend_48Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_value_withObjCType_1 = objc.registerName( "value:withObjCType:", @@ -1563,23 +1318,18 @@ class AVFAudio { } late final __objc_msgSend_49Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_49 = __objc_msgSend_49Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_49 = - __objc_msgSend_49Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_nonretainedObjectValue1 = objc.registerName( "nonretainedObjectValue", @@ -1594,23 +1344,18 @@ class AVFAudio { } late final __objc_msgSend_50Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_50 = __objc_msgSend_50Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_50 = - __objc_msgSend_50Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_pointerValue1 = objc.registerName("pointerValue"); late final _sel_isEqualToValue_1 = objc.registerName("isEqualToValue:"); @@ -1623,23 +1368,18 @@ class AVFAudio { } late final __objc_msgSend_51Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_51 = __objc_msgSend_51Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_51 = - __objc_msgSend_51Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_getValue_1 = objc.registerName("getValue:"); void _objc_msgSend_52( @@ -1651,23 +1391,18 @@ class AVFAudio { } late final __objc_msgSend_52Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_52 = __objc_msgSend_52Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_52 = - __objc_msgSend_52Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_valueWithRange_1 = objc.registerName("valueWithRange:"); ffi.Pointer _objc_msgSend_53( @@ -1679,23 +1414,18 @@ class AVFAudio { } late final __objc_msgSend_53Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + )>>('objc_msgSend'); + late final __objc_msgSend_53 = __objc_msgSend_53Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, _NSRange, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_53 = - __objc_msgSend_53Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ) - >(); + )>(); late final _sel_rangeValue1 = objc.registerName("rangeValue"); _NSRange _objc_msgSend_54( @@ -1706,21 +1436,16 @@ class AVFAudio { } late final __objc_msgSend_54Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + _NSRange Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_54 = __objc_msgSend_54Ptr.asFunction< _NSRange Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_54 = - __objc_msgSend_54Ptr - .asFunction< - _NSRange Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); void _objc_msgSend_54_stret( ffi.Pointer<_NSRange> stret, @@ -1731,23 +1456,18 @@ class AVFAudio { } late final __objc_msgSend_54_stretPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer<_NSRange>, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend_stret'); + late final __objc_msgSend_54_stret = __objc_msgSend_54_stretPtr.asFunction< + void Function( ffi.Pointer<_NSRange>, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend_stret'); - late final __objc_msgSend_54_stret = - __objc_msgSend_54_stretPtr - .asFunction< - void Function( - ffi.Pointer<_NSRange>, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_valueWithPoint_1 = objc.registerName("valueWithPoint:"); ffi.Pointer _objc_msgSend_55( @@ -1759,23 +1479,18 @@ class AVFAudio { } late final __objc_msgSend_55Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + CGPoint, + )>>('objc_msgSend'); + late final __objc_msgSend_55 = __objc_msgSend_55Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, CGPoint, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_55 = - __objc_msgSend_55Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - CGPoint, - ) - >(); + )>(); late final _sel_valueWithSize_1 = objc.registerName("valueWithSize:"); ffi.Pointer _objc_msgSend_56( @@ -1787,23 +1502,18 @@ class AVFAudio { } late final __objc_msgSend_56Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + CGSize, + )>>('objc_msgSend'); + late final __objc_msgSend_56 = __objc_msgSend_56Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, CGSize, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_56 = - __objc_msgSend_56Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - CGSize, - ) - >(); + )>(); late final _sel_valueWithRect_1 = objc.registerName("valueWithRect:"); ffi.Pointer _objc_msgSend_57( @@ -1815,23 +1525,18 @@ class AVFAudio { } late final __objc_msgSend_57Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + CGRect, + )>>('objc_msgSend'); + late final __objc_msgSend_57 = __objc_msgSend_57Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, CGRect, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_57 = - __objc_msgSend_57Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - CGRect, - ) - >(); + )>(); late final _sel_valueWithEdgeInsets_1 = objc.registerName( "valueWithEdgeInsets:", @@ -1845,23 +1550,18 @@ class AVFAudio { } late final __objc_msgSend_58Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + NSEdgeInsets, + )>>('objc_msgSend'); + late final __objc_msgSend_58 = __objc_msgSend_58Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, NSEdgeInsets, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_58 = - __objc_msgSend_58Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - NSEdgeInsets, - ) - >(); + )>(); late final _sel_pointValue1 = objc.registerName("pointValue"); CGPoint _objc_msgSend_59( @@ -1872,21 +1572,16 @@ class AVFAudio { } late final __objc_msgSend_59Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + CGPoint Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_59 = __objc_msgSend_59Ptr.asFunction< CGPoint Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_59 = - __objc_msgSend_59Ptr - .asFunction< - CGPoint Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); void _objc_msgSend_59_stret( ffi.Pointer stret, @@ -1897,23 +1592,18 @@ class AVFAudio { } late final __objc_msgSend_59_stretPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend_stret'); + late final __objc_msgSend_59_stret = __objc_msgSend_59_stretPtr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend_stret'); - late final __objc_msgSend_59_stret = - __objc_msgSend_59_stretPtr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_sizeValue1 = objc.registerName("sizeValue"); CGSize _objc_msgSend_60( @@ -1924,21 +1614,16 @@ class AVFAudio { } late final __objc_msgSend_60Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + CGSize Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_60 = __objc_msgSend_60Ptr.asFunction< CGSize Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_60 = - __objc_msgSend_60Ptr - .asFunction< - CGSize Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); void _objc_msgSend_60_stret( ffi.Pointer stret, @@ -1949,23 +1634,18 @@ class AVFAudio { } late final __objc_msgSend_60_stretPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend_stret'); + late final __objc_msgSend_60_stret = __objc_msgSend_60_stretPtr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend_stret'); - late final __objc_msgSend_60_stret = - __objc_msgSend_60_stretPtr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_rectValue1 = objc.registerName("rectValue"); CGRect _objc_msgSend_61( @@ -1976,21 +1656,16 @@ class AVFAudio { } late final __objc_msgSend_61Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + CGRect Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_61 = __objc_msgSend_61Ptr.asFunction< CGRect Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_61 = - __objc_msgSend_61Ptr - .asFunction< - CGRect Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); void _objc_msgSend_61_stret( ffi.Pointer stret, @@ -2001,23 +1676,18 @@ class AVFAudio { } late final __objc_msgSend_61_stretPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend_stret'); + late final __objc_msgSend_61_stret = __objc_msgSend_61_stretPtr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend_stret'); - late final __objc_msgSend_61_stret = - __objc_msgSend_61_stretPtr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_edgeInsetsValue1 = objc.registerName("edgeInsetsValue"); NSEdgeInsets _objc_msgSend_62( @@ -2028,21 +1698,16 @@ class AVFAudio { } late final __objc_msgSend_62Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + NSEdgeInsets Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_62 = __objc_msgSend_62Ptr.asFunction< NSEdgeInsets Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_62 = - __objc_msgSend_62Ptr - .asFunction< - NSEdgeInsets Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); void _objc_msgSend_62_stret( ffi.Pointer stret, @@ -2053,23 +1718,18 @@ class AVFAudio { } late final __objc_msgSend_62_stretPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend_stret'); + late final __objc_msgSend_62_stret = __objc_msgSend_62_stretPtr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend_stret'); - late final __objc_msgSend_62_stret = - __objc_msgSend_62_stretPtr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_keyPathsForValuesAffectingValueForKey_1 = objc.registerName( "keyPathsForValuesAffectingValueForKey:", @@ -2083,23 +1743,18 @@ class AVFAudio { } late final __objc_msgSend_63Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_63 = __objc_msgSend_63Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_63 = - __objc_msgSend_63Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_automaticallyNotifiesObserversForKey_1 = objc.registerName( "automaticallyNotifiesObserversForKey:", @@ -2113,23 +1768,18 @@ class AVFAudio { } late final __objc_msgSend_64Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_64 = __objc_msgSend_64Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_64 = - __objc_msgSend_64Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _class_NSArray1 = objc.getClass("NSArray"); late final _sel_objectAtIndex_1 = objc.registerName("objectAtIndex:"); @@ -2142,23 +1792,18 @@ class AVFAudio { } late final __objc_msgSend_65Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + )>>('objc_msgSend'); + late final __objc_msgSend_65 = __objc_msgSend_65Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_65 = - __objc_msgSend_65Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_initWithObjects_count_1 = objc.registerName( "initWithObjects:count:", @@ -2173,25 +1818,20 @@ class AVFAudio { } late final __objc_msgSend_66Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.UnsignedLong, + )>>('objc_msgSend'); + late final __objc_msgSend_66 = __objc_msgSend_66Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer>, - ffi.UnsignedLong, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_66 = - __objc_msgSend_66Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - int, - ) - >(); + int, + )>(); late final _sel_arrayByAddingObject_1 = objc.registerName( "arrayByAddingObject:", @@ -2205,23 +1845,18 @@ class AVFAudio { } late final __objc_msgSend_67Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_67 = __objc_msgSend_67Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_67 = - __objc_msgSend_67Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_arrayByAddingObjectsFromArray_1 = objc.registerName( "arrayByAddingObjectsFromArray:", @@ -2235,23 +1870,18 @@ class AVFAudio { } late final __objc_msgSend_68Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_68 = __objc_msgSend_68Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_68 = - __objc_msgSend_68Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_componentsJoinedByString_1 = objc.registerName( "componentsJoinedByString:", @@ -2265,23 +1895,18 @@ class AVFAudio { } late final __objc_msgSend_69Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_69 = __objc_msgSend_69Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_69 = - __objc_msgSend_69Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_containsObject_1 = objc.registerName("containsObject:"); late final _sel_descriptionWithLocale_1 = objc.registerName( @@ -2296,23 +1921,18 @@ class AVFAudio { } late final __objc_msgSend_70Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_70 = __objc_msgSend_70Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_70 = - __objc_msgSend_70Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_descriptionWithLocale_indent_1 = objc.registerName( "descriptionWithLocale:indent:", @@ -2327,25 +1947,20 @@ class AVFAudio { } late final __objc_msgSend_71Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + )>>('objc_msgSend'); + late final __objc_msgSend_71 = __objc_msgSend_71Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_71 = - __objc_msgSend_71Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_firstObjectCommonWithArray_1 = objc.registerName( "firstObjectCommonWithArray:", @@ -2359,23 +1974,18 @@ class AVFAudio { } late final __objc_msgSend_72Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_72 = __objc_msgSend_72Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_72 = - __objc_msgSend_72Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_getObjects_range_1 = objc.registerName("getObjects:range:"); void _objc_msgSend_73( @@ -2388,25 +1998,20 @@ class AVFAudio { } late final __objc_msgSend_73Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + _NSRange, + )>>('objc_msgSend'); + late final __objc_msgSend_73 = __objc_msgSend_73Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer>, _NSRange, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_73 = - __objc_msgSend_73Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - _NSRange, - ) - >(); + )>(); late final _sel_indexOfObject_1 = objc.registerName("indexOfObject:"); int _objc_msgSend_74( @@ -2418,23 +2023,18 @@ class AVFAudio { } late final __objc_msgSend_74Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedLong Function( + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_74 = __objc_msgSend_74Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_74 = - __objc_msgSend_74Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_indexOfObject_inRange_1 = objc.registerName( "indexOfObject:inRange:", @@ -2449,25 +2049,20 @@ class AVFAudio { } late final __objc_msgSend_75Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedLong Function( + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange, + )>>('objc_msgSend'); + late final __objc_msgSend_75 = __objc_msgSend_75Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, _NSRange, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_75 = - __objc_msgSend_75Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - _NSRange, - ) - >(); + )>(); late final _sel_indexOfObjectIdenticalTo_1 = objc.registerName( "indexOfObjectIdenticalTo:", @@ -2485,23 +2080,18 @@ class AVFAudio { } late final __objc_msgSend_76Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_76 = __objc_msgSend_76Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_76 = - __objc_msgSend_76Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_firstObject1 = objc.registerName("firstObject"); late final _sel_lastObject1 = objc.registerName("lastObject"); @@ -2514,21 +2104,16 @@ class AVFAudio { } late final __objc_msgSend_77Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_77 = __objc_msgSend_77Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_77 = - __objc_msgSend_77Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_reverseObjectEnumerator1 = objc.registerName( "reverseObjectEnumerator", @@ -2541,55 +2126,45 @@ class AVFAudio { ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer< - ffi.NativeFunction< - ffi.Long Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - > comparator, + ffi.NativeFunction< + ffi.Long Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>> + comparator, ffi.Pointer context, ) { return __objc_msgSend_78(obj, sel, comparator, context); } late final __objc_msgSend_78Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.Long Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_78 = __objc_msgSend_78Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer< - ffi.NativeFunction< - ffi.Long Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >, + ffi.NativeFunction< + ffi.Long Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_78 = - __objc_msgSend_78Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.Long Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >, - ffi.Pointer, - ) - >(); + )>(); late final _sel_sortedArrayUsingFunction_context_hint_1 = objc.registerName( "sortedArrayUsingFunction:context:hint:", @@ -2598,14 +2173,13 @@ class AVFAudio { ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer< - ffi.NativeFunction< - ffi.Long Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - > comparator, + ffi.NativeFunction< + ffi.Long Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>> + comparator, ffi.Pointer context, ffi.Pointer hint, ) { @@ -2613,43 +2187,34 @@ class AVFAudio { } late final __objc_msgSend_79Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.Long Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_79 = __objc_msgSend_79Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer< - ffi.NativeFunction< - ffi.Long Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >, + ffi.NativeFunction< + ffi.Long Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_79 = - __objc_msgSend_79Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.Long Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_sortedArrayUsingSelector_1 = objc.registerName( "sortedArrayUsingSelector:", @@ -2663,23 +2228,18 @@ class AVFAudio { } late final __objc_msgSend_80Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_80 = __objc_msgSend_80Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_80 = - __objc_msgSend_80Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_subarrayWithRange_1 = objc.registerName("subarrayWithRange:"); ffi.Pointer _objc_msgSend_81( @@ -2691,23 +2251,18 @@ class AVFAudio { } late final __objc_msgSend_81Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + )>>('objc_msgSend'); + late final __objc_msgSend_81 = __objc_msgSend_81Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, _NSRange, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_81 = - __objc_msgSend_81Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ) - >(); + )>(); late final _class_NSError1 = objc.getClass("NSError"); late final _sel_initWithDomain_code_userInfo_1 = objc.registerName( @@ -2724,27 +2279,22 @@ class AVFAudio { } late final __objc_msgSend_82Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Long, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_82 = __objc_msgSend_82Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Long, + int, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_82 = - __objc_msgSend_82Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ) - >(); + )>(); late final _sel_errorWithDomain_code_userInfo_1 = objc.registerName( "errorWithDomain:code:userInfo:", @@ -2759,21 +2309,16 @@ class AVFAudio { } late final __objc_msgSend_83Ptr = _lookup< - ffi.NativeFunction< - ffi.Long Function( + ffi.NativeFunction< + ffi.Long Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_83 = __objc_msgSend_83Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_83 = - __objc_msgSend_83Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_userInfo1 = objc.registerName("userInfo"); late final _sel_localizedDescription1 = objc.registerName( @@ -2796,21 +2341,16 @@ class AVFAudio { } late final __objc_msgSend_84Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_84 = __objc_msgSend_84Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_84 = - __objc_msgSend_84Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_recoveryAttempter1 = objc.registerName("recoveryAttempter"); late final _sel_helpAnchor1 = objc.registerName("helpAnchor"); @@ -2823,24 +2363,19 @@ class AVFAudio { } late final __objc_msgSend_85Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_85 = __objc_msgSend_85Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_85 = - __objc_msgSend_85Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); - late final _sel_setUserInfoValueProviderForDomain_provider_1 = objc - .registerName("setUserInfoValueProviderForDomain:provider:"); + late final _sel_setUserInfoValueProviderForDomain_provider_1 = + objc.registerName("setUserInfoValueProviderForDomain:provider:"); void _objc_msgSend_86( ffi.Pointer obj, ffi.Pointer sel, @@ -2851,25 +2386,20 @@ class AVFAudio { } late final __objc_msgSend_86Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_86 = __objc_msgSend_86Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_86 = - __objc_msgSend_86Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_userInfoValueProviderForDomain_1 = objc.registerName( "userInfoValueProviderForDomain:", @@ -2885,30 +2415,25 @@ class AVFAudio { } late final __objc_msgSend_87Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_87 = __objc_msgSend_87Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_87 = - __objc_msgSend_87Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); - late final _sel_setKeys_triggerChangeNotificationsForDependentKey_1 = objc - .registerName("setKeys:triggerChangeNotificationsForDependentKey:"); + late final _sel_setKeys_triggerChangeNotificationsForDependentKey_1 = + objc.registerName("setKeys:triggerChangeNotificationsForDependentKey:"); void _objc_msgSend_88( ffi.Pointer obj, ffi.Pointer sel, @@ -2919,25 +2444,20 @@ class AVFAudio { } late final __objc_msgSend_88Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_88 = __objc_msgSend_88Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_88 = - __objc_msgSend_88Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_classFallbacksForKeyedArchiver1 = objc.registerName( "classFallbacksForKeyedArchiver", @@ -2956,25 +2476,20 @@ class AVFAudio { } late final __objc_msgSend_89Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_89 = __objc_msgSend_89Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_89 = - __objc_msgSend_89Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ) - >(); + )>(); late final _sel_makeObjectsPerformSelector_1 = objc.registerName( "makeObjectsPerformSelector:", @@ -2992,25 +2507,20 @@ class AVFAudio { } late final __objc_msgSend_90Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_90 = __objc_msgSend_90Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_90 = - __objc_msgSend_90Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _class_NSIndexSet1 = objc.getClass("NSIndexSet"); late final _sel_indexSet1 = objc.registerName("indexSet"); @@ -3027,23 +2537,18 @@ class AVFAudio { } late final __objc_msgSend_91Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + )>>('objc_msgSend'); + late final __objc_msgSend_91 = __objc_msgSend_91Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, _NSRange, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_91 = - __objc_msgSend_91Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ) - >(); + )>(); late final _sel_initWithIndexesInRange_1 = objc.registerName( "initWithIndexesInRange:", @@ -3058,23 +2563,18 @@ class AVFAudio { } late final __objc_msgSend_92Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_92 = __objc_msgSend_92Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_92 = - __objc_msgSend_92Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_initWithIndex_1 = objc.registerName("initWithIndex:"); late final _sel_isEqualToIndexSet_1 = objc.registerName("isEqualToIndexSet:"); @@ -3087,23 +2587,18 @@ class AVFAudio { } late final __objc_msgSend_93Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_93 = __objc_msgSend_93Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_93 = - __objc_msgSend_93Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_firstIndex1 = objc.registerName("firstIndex"); late final _sel_lastIndex1 = objc.registerName("lastIndex"); @@ -3119,23 +2614,18 @@ class AVFAudio { } late final __objc_msgSend_94Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedLong Function( + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + )>>('objc_msgSend'); + late final __objc_msgSend_94 = __objc_msgSend_94Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_94 = - __objc_msgSend_94Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_indexLessThanIndex_1 = objc.registerName( "indexLessThanIndex:", @@ -3160,27 +2650,22 @@ class AVFAudio { } late final __objc_msgSend_95Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedLong Function( + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer<_NSRange>, + )>>('objc_msgSend'); + late final __objc_msgSend_95 = __objc_msgSend_95Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, + int, ffi.Pointer<_NSRange>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_95 = - __objc_msgSend_95Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer<_NSRange>, - ) - >(); + )>(); late final _sel_countOfIndexesInRange_1 = objc.registerName( "countOfIndexesInRange:", @@ -3194,23 +2679,18 @@ class AVFAudio { } late final __objc_msgSend_96Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedLong Function( + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + )>>('objc_msgSend'); + late final __objc_msgSend_96 = __objc_msgSend_96Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, _NSRange, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_96 = - __objc_msgSend_96Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ) - >(); + )>(); late final _sel_containsIndex_1 = objc.registerName("containsIndex:"); bool _objc_msgSend_97( @@ -3222,23 +2702,18 @@ class AVFAudio { } late final __objc_msgSend_97Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + )>>('objc_msgSend'); + late final __objc_msgSend_97 = __objc_msgSend_97Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_97 = - __objc_msgSend_97Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_containsIndexesInRange_1 = objc.registerName( "containsIndexesInRange:", @@ -3252,23 +2727,18 @@ class AVFAudio { } late final __objc_msgSend_98Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + )>>('objc_msgSend'); + late final __objc_msgSend_98 = __objc_msgSend_98Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, _NSRange, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_98 = - __objc_msgSend_98Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ) - >(); + )>(); late final _sel_containsIndexes_1 = objc.registerName("containsIndexes:"); late final _sel_intersectsIndexesInRange_1 = objc.registerName( @@ -3286,23 +2756,18 @@ class AVFAudio { } late final __objc_msgSend_99Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_99 = __objc_msgSend_99Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_99 = - __objc_msgSend_99Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_enumerateIndexesWithOptions_usingBlock_1 = objc.registerName( "enumerateIndexesWithOptions:usingBlock:", @@ -3317,28 +2782,23 @@ class AVFAudio { } late final __objc_msgSend_100Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_100 = __objc_msgSend_100Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_100 = - __objc_msgSend_100Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ) - >(); - - late final _sel_enumerateIndexesInRange_options_usingBlock_1 = objc - .registerName("enumerateIndexesInRange:options:usingBlock:"); + )>(); + + late final _sel_enumerateIndexesInRange_options_usingBlock_1 = + objc.registerName("enumerateIndexesInRange:options:usingBlock:"); void _objc_msgSend_101( ffi.Pointer obj, ffi.Pointer sel, @@ -3350,27 +2810,22 @@ class AVFAudio { } late final __objc_msgSend_101Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Int32, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_101 = __objc_msgSend_101Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, _NSRange, - ffi.Int32, + int, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_101 = - __objc_msgSend_101Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - int, - ffi.Pointer, - ) - >(); + )>(); late final _sel_indexPassingTest_1 = objc.registerName("indexPassingTest:"); int _objc_msgSend_102( @@ -3382,23 +2837,18 @@ class AVFAudio { } late final __objc_msgSend_102Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedLong Function( + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_102 = __objc_msgSend_102Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_102 = - __objc_msgSend_102Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_indexWithOptions_passingTest_1 = objc.registerName( "indexWithOptions:passingTest:", @@ -3413,25 +2863,20 @@ class AVFAudio { } late final __objc_msgSend_103Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedLong Function( + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_103 = __objc_msgSend_103Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_103 = - __objc_msgSend_103Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ) - >(); + )>(); late final _sel_indexInRange_options_passingTest_1 = objc.registerName( "indexInRange:options:passingTest:", @@ -3447,27 +2892,22 @@ class AVFAudio { } late final __objc_msgSend_104Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedLong Function( + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Int32, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_104 = __objc_msgSend_104Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, _NSRange, - ffi.Int32, + int, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_104 = - __objc_msgSend_104Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - int, - ffi.Pointer, - ) - >(); + )>(); late final _sel_indexesPassingTest_1 = objc.registerName( "indexesPassingTest:", @@ -3481,23 +2921,18 @@ class AVFAudio { } late final __objc_msgSend_105Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_105 = __objc_msgSend_105Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_105 = - __objc_msgSend_105Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_indexesWithOptions_passingTest_1 = objc.registerName( "indexesWithOptions:passingTest:", @@ -3512,25 +2947,20 @@ class AVFAudio { } late final __objc_msgSend_106Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_106 = __objc_msgSend_106Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_106 = - __objc_msgSend_106Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ) - >(); + )>(); late final _sel_indexesInRange_options_passingTest_1 = objc.registerName( "indexesInRange:options:passingTest:", @@ -3546,27 +2976,22 @@ class AVFAudio { } late final __objc_msgSend_107Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Int32, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_107 = __objc_msgSend_107Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, _NSRange, - ffi.Int32, + int, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_107 = - __objc_msgSend_107Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - int, - ffi.Pointer, - ) - >(); + )>(); late final _sel_enumerateRangesUsingBlock_1 = objc.registerName( "enumerateRangesUsingBlock:", @@ -3580,23 +3005,18 @@ class AVFAudio { } late final __objc_msgSend_108Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_108 = __objc_msgSend_108Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_108 = - __objc_msgSend_108Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_enumerateRangesWithOptions_usingBlock_1 = objc.registerName( "enumerateRangesWithOptions:usingBlock:", @@ -3611,28 +3031,23 @@ class AVFAudio { } late final __objc_msgSend_109Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_109 = __objc_msgSend_109Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_109 = - __objc_msgSend_109Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ) - >(); - - late final _sel_enumerateRangesInRange_options_usingBlock_1 = objc - .registerName("enumerateRangesInRange:options:usingBlock:"); + )>(); + + late final _sel_enumerateRangesInRange_options_usingBlock_1 = + objc.registerName("enumerateRangesInRange:options:usingBlock:"); void _objc_msgSend_110( ffi.Pointer obj, ffi.Pointer sel, @@ -3644,27 +3059,22 @@ class AVFAudio { } late final __objc_msgSend_110Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Int32, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_110 = __objc_msgSend_110Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, _NSRange, - ffi.Int32, + int, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_110 = - __objc_msgSend_110Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - int, - ffi.Pointer, - ) - >(); + )>(); late final _sel_objectsAtIndexes_1 = objc.registerName("objectsAtIndexes:"); ffi.Pointer _objc_msgSend_111( @@ -3676,23 +3086,18 @@ class AVFAudio { } late final __objc_msgSend_111Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_111 = __objc_msgSend_111Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_111 = - __objc_msgSend_111Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_objectAtIndexedSubscript_1 = objc.registerName( "objectAtIndexedSubscript:", @@ -3709,23 +3114,18 @@ class AVFAudio { } late final __objc_msgSend_112Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_112 = __objc_msgSend_112Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_112 = - __objc_msgSend_112Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_enumerateObjectsWithOptions_usingBlock_1 = objc.registerName( "enumerateObjectsWithOptions:usingBlock:", @@ -3740,28 +3140,23 @@ class AVFAudio { } late final __objc_msgSend_113Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_113 = __objc_msgSend_113Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_113 = - __objc_msgSend_113Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ) - >(); - - late final _sel_enumerateObjectsAtIndexes_options_usingBlock_1 = objc - .registerName("enumerateObjectsAtIndexes:options:usingBlock:"); + )>(); + + late final _sel_enumerateObjectsAtIndexes_options_usingBlock_1 = + objc.registerName("enumerateObjectsAtIndexes:options:usingBlock:"); void _objc_msgSend_114( ffi.Pointer obj, ffi.Pointer sel, @@ -3773,27 +3168,22 @@ class AVFAudio { } late final __objc_msgSend_114Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_114 = __objc_msgSend_114Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_114 = - __objc_msgSend_114Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ) - >(); + )>(); late final _sel_indexOfObjectPassingTest_1 = objc.registerName( "indexOfObjectPassingTest:", @@ -3807,23 +3197,18 @@ class AVFAudio { } late final __objc_msgSend_115Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedLong Function( + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_115 = __objc_msgSend_115Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_115 = - __objc_msgSend_115Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_indexOfObjectWithOptions_passingTest_1 = objc.registerName( "indexOfObjectWithOptions:passingTest:", @@ -3838,28 +3223,23 @@ class AVFAudio { } late final __objc_msgSend_116Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedLong Function( + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_116 = __objc_msgSend_116Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_116 = - __objc_msgSend_116Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ) - >(); - - late final _sel_indexOfObjectAtIndexes_options_passingTest_1 = objc - .registerName("indexOfObjectAtIndexes:options:passingTest:"); + )>(); + + late final _sel_indexOfObjectAtIndexes_options_passingTest_1 = + objc.registerName("indexOfObjectAtIndexes:options:passingTest:"); int _objc_msgSend_117( ffi.Pointer obj, ffi.Pointer sel, @@ -3871,27 +3251,22 @@ class AVFAudio { } late final __objc_msgSend_117Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedLong Function( + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_117 = __objc_msgSend_117Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_117 = - __objc_msgSend_117Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ) - >(); + )>(); late final _sel_indexesOfObjectsPassingTest_1 = objc.registerName( "indexesOfObjectsPassingTest:", @@ -3905,23 +3280,18 @@ class AVFAudio { } late final __objc_msgSend_118Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_118 = __objc_msgSend_118Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_118 = - __objc_msgSend_118Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_indexesOfObjectsWithOptions_passingTest_1 = objc.registerName( "indexesOfObjectsWithOptions:passingTest:", @@ -3936,28 +3306,23 @@ class AVFAudio { } late final __objc_msgSend_119Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_119 = __objc_msgSend_119Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_119 = - __objc_msgSend_119Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ) - >(); - - late final _sel_indexesOfObjectsAtIndexes_options_passingTest_1 = objc - .registerName("indexesOfObjectsAtIndexes:options:passingTest:"); + )>(); + + late final _sel_indexesOfObjectsAtIndexes_options_passingTest_1 = + objc.registerName("indexesOfObjectsAtIndexes:options:passingTest:"); ffi.Pointer _objc_msgSend_120( ffi.Pointer obj, ffi.Pointer sel, @@ -3969,27 +3334,22 @@ class AVFAudio { } late final __objc_msgSend_120Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_120 = __objc_msgSend_120Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_120 = - __objc_msgSend_120Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ) - >(); + )>(); late final _sel_sortedArrayUsingComparator_1 = objc.registerName( "sortedArrayUsingComparator:", @@ -4003,23 +3363,18 @@ class AVFAudio { } late final __objc_msgSend_121Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_121 = __objc_msgSend_121Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_121 = - __objc_msgSend_121Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_sortedArrayWithOptions_usingComparator_1 = objc.registerName( "sortedArrayWithOptions:usingComparator:", @@ -4034,28 +3389,23 @@ class AVFAudio { } late final __objc_msgSend_122Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_122 = __objc_msgSend_122Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_122 = - __objc_msgSend_122Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ) - >(); - - late final _sel_indexOfObject_inSortedRange_options_usingComparator_1 = objc - .registerName("indexOfObject:inSortedRange:options:usingComparator:"); + )>(); + + late final _sel_indexOfObject_inSortedRange_options_usingComparator_1 = + objc.registerName("indexOfObject:inSortedRange:options:usingComparator:"); int _objc_msgSend_123( ffi.Pointer obj, ffi.Pointer sel, @@ -4068,29 +3418,24 @@ class AVFAudio { } late final __objc_msgSend_123Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedLong Function( + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Int32, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_123 = __objc_msgSend_123Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, _NSRange, - ffi.Int32, + int, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_123 = - __objc_msgSend_123Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - _NSRange, - int, - ffi.Pointer, - ) - >(); + )>(); late final _sel_array1 = objc.registerName("array"); late final _sel_arrayWithObject_1 = objc.registerName("arrayWithObject:"); @@ -4103,23 +3448,18 @@ class AVFAudio { } late final __objc_msgSend_124Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_124 = __objc_msgSend_124Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_124 = - __objc_msgSend_124Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_arrayWithObjects_count_1 = objc.registerName( "arrayWithObjects:count:", @@ -4135,23 +3475,18 @@ class AVFAudio { } late final __objc_msgSend_125Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_125 = __objc_msgSend_125Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_125 = - __objc_msgSend_125Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_initWithObjects_1 = objc.registerName("initWithObjects:"); late final _sel_initWithArray_1 = objc.registerName("initWithArray:"); @@ -4168,25 +3503,20 @@ class AVFAudio { } late final __objc_msgSend_126Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + )>>('objc_msgSend'); + late final __objc_msgSend_126 = __objc_msgSend_126Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Bool, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_126 = - __objc_msgSend_126Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - ) - >(); + bool, + )>(); late final _sel_initWithContentsOfURL_error_1 = objc.registerName( "initWithContentsOfURL:error:", @@ -4201,25 +3531,20 @@ class AVFAudio { } late final __objc_msgSend_127Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_127 = __objc_msgSend_127Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_127 = - __objc_msgSend_127Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ) - >(); + )>(); late final _sel_arrayWithContentsOfURL_error_1 = objc.registerName( "arrayWithContentsOfURL:error:", @@ -4237,27 +3562,22 @@ class AVFAudio { } late final __objc_msgSend_128Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_128 = __objc_msgSend_128Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_128 = - __objc_msgSend_128Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ) - >(); + )>(); late final _sel_differenceFromArray_withOptions_1 = objc.registerName( "differenceFromArray:withOptions:", @@ -4272,25 +3592,20 @@ class AVFAudio { } late final __objc_msgSend_129Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + )>>('objc_msgSend'); + late final __objc_msgSend_129 = __objc_msgSend_129Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_129 = - __objc_msgSend_129Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_differenceFromArray_1 = objc.registerName( "differenceFromArray:", @@ -4307,23 +3622,18 @@ class AVFAudio { } late final __objc_msgSend_130Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_130 = __objc_msgSend_130Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_130 = - __objc_msgSend_130Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_getObjects_1 = objc.registerName("getObjects:"); void _objc_msgSend_131( @@ -4335,23 +3645,18 @@ class AVFAudio { } late final __objc_msgSend_131Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_131 = __objc_msgSend_131Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_131 = - __objc_msgSend_131Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ) - >(); + )>(); late final _sel_arrayWithContentsOfFile_1 = objc.registerName( "arrayWithContentsOfFile:", @@ -4365,23 +3670,18 @@ class AVFAudio { } late final __objc_msgSend_132Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_132 = __objc_msgSend_132Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_132 = - __objc_msgSend_132Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_arrayWithContentsOfURL_1 = objc.registerName( "arrayWithContentsOfURL:", @@ -4395,23 +3695,18 @@ class AVFAudio { } late final __objc_msgSend_133Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_133 = __objc_msgSend_133Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_133 = - __objc_msgSend_133Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_initWithContentsOfFile_1 = objc.registerName( "initWithContentsOfFile:", @@ -4432,25 +3727,20 @@ class AVFAudio { } late final __objc_msgSend_134Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + )>>('objc_msgSend'); + late final __objc_msgSend_134 = __objc_msgSend_134Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Bool, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_134 = - __objc_msgSend_134Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - ) - >(); + bool, + )>(); late final _sel_pathsMatchingExtensions_1 = objc.registerName( "pathsMatchingExtensions:", @@ -4467,30 +3757,25 @@ class AVFAudio { } late final __objc_msgSend_135Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_135 = __objc_msgSend_135Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_135 = - __objc_msgSend_135Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_addObserver_toObjectsAtIndexes_forKeyPath_options_context_1 = objc.registerName( - "addObserver:toObjectsAtIndexes:forKeyPath:options:context:", - ); + "addObserver:toObjectsAtIndexes:forKeyPath:options:context:", + ); void _objc_msgSend_136( ffi.Pointer obj, ffi.Pointer sel, @@ -4512,36 +3797,31 @@ class AVFAudio { } late final __objc_msgSend_136Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_136 = __objc_msgSend_136Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_136 = - __objc_msgSend_136Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ) - >(); + )>(); late final _sel_removeObserver_fromObjectsAtIndexes_forKeyPath_context_1 = objc.registerName( - "removeObserver:fromObjectsAtIndexes:forKeyPath:context:", - ); + "removeObserver:fromObjectsAtIndexes:forKeyPath:context:", + ); void _objc_msgSend_137( ffi.Pointer obj, ffi.Pointer sel, @@ -4554,32 +3834,27 @@ class AVFAudio { } late final __objc_msgSend_137Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_137 = __objc_msgSend_137Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_137 = - __objc_msgSend_137Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); - late final _sel_removeObserver_fromObjectsAtIndexes_forKeyPath_1 = objc - .registerName("removeObserver:fromObjectsAtIndexes:forKeyPath:"); + late final _sel_removeObserver_fromObjectsAtIndexes_forKeyPath_1 = + objc.registerName("removeObserver:fromObjectsAtIndexes:forKeyPath:"); void _objc_msgSend_138( ffi.Pointer obj, ffi.Pointer sel, @@ -4591,27 +3866,22 @@ class AVFAudio { } late final __objc_msgSend_138Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_138 = __objc_msgSend_138Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_138 = - __objc_msgSend_138Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_addObserver_forKeyPath_options_context_1 = objc.registerName( "addObserver:forKeyPath:options:context:", @@ -4628,29 +3898,24 @@ class AVFAudio { } late final __objc_msgSend_139Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_139 = __objc_msgSend_139Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_139 = - __objc_msgSend_139Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ) - >(); + )>(); late final _sel_removeObserver_forKeyPath_context_1 = objc.registerName( "removeObserver:forKeyPath:context:", @@ -4666,27 +3931,22 @@ class AVFAudio { } late final __objc_msgSend_140Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_140 = __objc_msgSend_140Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_140 = - __objc_msgSend_140Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_removeObserver_forKeyPath_1 = objc.registerName( "removeObserver:forKeyPath:", @@ -4701,25 +3961,20 @@ class AVFAudio { } late final __objc_msgSend_141Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_141 = __objc_msgSend_141Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_141 = - __objc_msgSend_141Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_sortedArrayUsingDescriptors_1 = objc.registerName( "sortedArrayUsingDescriptors:", @@ -4738,25 +3993,20 @@ class AVFAudio { } late final __objc_msgSend_142Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_142 = __objc_msgSend_142Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_142 = - __objc_msgSend_142Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_predicateWithFormat_1 = objc.registerName( "predicateWithFormat:", @@ -4770,23 +4020,18 @@ class AVFAudio { } late final __objc_msgSend_143Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_143 = __objc_msgSend_143Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_143 = - __objc_msgSend_143Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_predicateWithFormat_arguments_1 = objc.registerName( "predicateWithFormat:arguments:", @@ -4801,25 +4046,20 @@ class AVFAudio { } late final __objc_msgSend_144Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<__va_list_tag>, + )>>('objc_msgSend'); + late final __objc_msgSend_144 = __objc_msgSend_144Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer<__va_list_tag>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_144 = - __objc_msgSend_144Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<__va_list_tag>, - ) - >(); + )>(); late final _sel_predicateFromMetadataQueryString_1 = objc.registerName( "predicateFromMetadataQueryString:", @@ -4833,23 +4073,18 @@ class AVFAudio { } late final __objc_msgSend_145Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_145 = __objc_msgSend_145Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_145 = - __objc_msgSend_145Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_predicateWithValue_1 = objc.registerName( "predicateWithValue:", @@ -4863,23 +4098,18 @@ class AVFAudio { } late final __objc_msgSend_146Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + )>>('objc_msgSend'); + late final __objc_msgSend_146 = __objc_msgSend_146Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.Bool, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_146 = - __objc_msgSend_146Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - bool, - ) - >(); + bool, + )>(); late final _class_NSDictionary1 = objc.getClass("NSDictionary"); late final _sel_objectForKey_1 = objc.registerName("objectForKey:"); @@ -4898,27 +4128,22 @@ class AVFAudio { } late final __objc_msgSend_147Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer>, + ffi.UnsignedLong, + )>>('objc_msgSend'); + late final __objc_msgSend_147 = __objc_msgSend_147Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer>, ffi.Pointer>, - ffi.UnsignedLong, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_147 = - __objc_msgSend_147Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer>, - int, - ) - >(); + int, + )>(); late final _sel_allKeys1 = objc.registerName("allKeys"); late final _sel_allKeysForObject_1 = objc.registerName("allKeysForObject:"); @@ -4938,23 +4163,18 @@ class AVFAudio { } late final __objc_msgSend_148Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_148 = __objc_msgSend_148Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_148 = - __objc_msgSend_148Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_objectsForKeys_notFoundMarker_1 = objc.registerName( "objectsForKeys:notFoundMarker:", @@ -4969,25 +4189,20 @@ class AVFAudio { } late final __objc_msgSend_149Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_149 = __objc_msgSend_149Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_149 = - __objc_msgSend_149Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_keysSortedByValueUsingSelector_1 = objc.registerName( "keysSortedByValueUsingSelector:", @@ -5006,27 +4221,22 @@ class AVFAudio { } late final __objc_msgSend_150Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer>, + ffi.UnsignedLong, + )>>('objc_msgSend'); + late final __objc_msgSend_150 = __objc_msgSend_150Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer>, ffi.Pointer>, - ffi.UnsignedLong, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_150 = - __objc_msgSend_150Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer>, - int, - ) - >(); + int, + )>(); late final _sel_objectForKeyedSubscript_1 = objc.registerName( "objectForKeyedSubscript:", @@ -5043,26 +4253,21 @@ class AVFAudio { } late final __objc_msgSend_151Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_151 = __objc_msgSend_151Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_151 = - __objc_msgSend_151Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); - late final _sel_enumerateKeysAndObjectsWithOptions_usingBlock_1 = objc - .registerName("enumerateKeysAndObjectsWithOptions:usingBlock:"); + late final _sel_enumerateKeysAndObjectsWithOptions_usingBlock_1 = + objc.registerName("enumerateKeysAndObjectsWithOptions:usingBlock:"); void _objc_msgSend_152( ffi.Pointer obj, ffi.Pointer sel, @@ -5073,31 +4278,26 @@ class AVFAudio { } late final __objc_msgSend_152Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_152 = __objc_msgSend_152Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_152 = - __objc_msgSend_152Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ) - >(); + )>(); late final _sel_keysSortedByValueUsingComparator_1 = objc.registerName( "keysSortedByValueUsingComparator:", ); - late final _sel_keysSortedByValueWithOptions_usingComparator_1 = objc - .registerName("keysSortedByValueWithOptions:usingComparator:"); + late final _sel_keysSortedByValueWithOptions_usingComparator_1 = + objc.registerName("keysSortedByValueWithOptions:usingComparator:"); late final _sel_keysOfEntriesPassingTest_1 = objc.registerName( "keysOfEntriesPassingTest:", ); @@ -5110,23 +4310,18 @@ class AVFAudio { } late final __objc_msgSend_153Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_153 = __objc_msgSend_153Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_153 = - __objc_msgSend_153Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_keysOfEntriesWithOptions_passingTest_1 = objc.registerName( "keysOfEntriesWithOptions:passingTest:", @@ -5141,25 +4336,20 @@ class AVFAudio { } late final __objc_msgSend_154Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_154 = __objc_msgSend_154Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_154 = - __objc_msgSend_154Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ) - >(); + )>(); late final _sel_getObjects_andKeys_1 = objc.registerName( "getObjects:andKeys:", @@ -5174,25 +4364,20 @@ class AVFAudio { } late final __objc_msgSend_155Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_155 = __objc_msgSend_155Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer>, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_155 = - __objc_msgSend_155Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer>, - ) - >(); + )>(); late final _sel_dictionaryWithContentsOfFile_1 = objc.registerName( "dictionaryWithContentsOfFile:", @@ -5206,23 +4391,18 @@ class AVFAudio { } late final __objc_msgSend_156Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_156 = __objc_msgSend_156Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_156 = - __objc_msgSend_156Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_dictionaryWithContentsOfURL_1 = objc.registerName( "dictionaryWithContentsOfURL:", @@ -5236,23 +4416,18 @@ class AVFAudio { } late final __objc_msgSend_157Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_157 = __objc_msgSend_157Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_157 = - __objc_msgSend_157Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_dictionary1 = objc.registerName("dictionary"); late final _sel_dictionaryWithObject_forKey_1 = objc.registerName( @@ -5268,25 +4443,20 @@ class AVFAudio { } late final __objc_msgSend_158Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_158 = __objc_msgSend_158Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_158 = - __objc_msgSend_158Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_dictionaryWithObjects_forKeys_count_1 = objc.registerName( "dictionaryWithObjects:forKeys:count:", @@ -5306,23 +4476,18 @@ class AVFAudio { } late final __objc_msgSend_159Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_159 = __objc_msgSend_159Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_159 = - __objc_msgSend_159Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_dictionaryWithObjects_forKeys_1 = objc.registerName( "dictionaryWithObjects:forKeys:", @@ -5337,25 +4502,20 @@ class AVFAudio { } late final __objc_msgSend_160Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_160 = __objc_msgSend_160Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_160 = - __objc_msgSend_160Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_initWithObjectsAndKeys_1 = objc.registerName( "initWithObjectsAndKeys:", @@ -5376,25 +4536,20 @@ class AVFAudio { } late final __objc_msgSend_161Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + )>>('objc_msgSend'); + late final __objc_msgSend_161 = __objc_msgSend_161Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Bool, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_161 = - __objc_msgSend_161Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - ) - >(); + bool, + )>(); late final _sel_initWithObjects_forKeys_1 = objc.registerName( "initWithObjects:forKeys:", @@ -5409,25 +4564,20 @@ class AVFAudio { } late final __objc_msgSend_162Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_162 = __objc_msgSend_162Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_162 = - __objc_msgSend_162Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ) - >(); + )>(); late final _sel_dictionaryWithContentsOfURL_error_1 = objc.registerName( "dictionaryWithContentsOfURL:error:", @@ -5435,8 +4585,8 @@ class AVFAudio { late final _sel_sharedKeySetForKeys_1 = objc.registerName( "sharedKeySetForKeys:", ); - late final _sel_countByEnumeratingWithState_objects_count_1 = objc - .registerName("countByEnumeratingWithState:objects:count:"); + late final _sel_countByEnumeratingWithState_objects_count_1 = + objc.registerName("countByEnumeratingWithState:objects:count:"); int _objc_msgSend_163( ffi.Pointer obj, ffi.Pointer sel, @@ -5448,27 +4598,22 @@ class AVFAudio { } late final __objc_msgSend_163Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedLong Function( + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.UnsignedLong, + )>>('objc_msgSend'); + late final __objc_msgSend_163 = __objc_msgSend_163Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer>, - ffi.UnsignedLong, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_163 = - __objc_msgSend_163Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - int, - ) - >(); + int, + )>(); late final _sel_fileSize1 = objc.registerName("fileSize"); int _objc_msgSend_164( @@ -5479,21 +4624,16 @@ class AVFAudio { } late final __objc_msgSend_164Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedLongLong Function( + ffi.NativeFunction< + ffi.UnsignedLongLong Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_164 = __objc_msgSend_164Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_164 = - __objc_msgSend_164Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _class_NSDate1 = objc.getClass("NSDate"); late final _sel_timeIntervalSinceReferenceDate1 = objc.registerName( @@ -5507,21 +4647,16 @@ class AVFAudio { } late final __objc_msgSend_165Ptr = _lookup< - ffi.NativeFunction< - ffi.Double Function( + ffi.NativeFunction< + ffi.Double Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_165 = __objc_msgSend_165Ptr.asFunction< + double Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_165 = - __objc_msgSend_165Ptr - .asFunction< - double Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); double _objc_msgSend_165_fpret( ffi.Pointer obj, @@ -5531,21 +4666,16 @@ class AVFAudio { } late final __objc_msgSend_165_fpretPtr = _lookup< - ffi.NativeFunction< - ffi.Double Function( + ffi.NativeFunction< + ffi.Double Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend_fpret'); + late final __objc_msgSend_165_fpret = __objc_msgSend_165_fpretPtr.asFunction< + double Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend_fpret'); - late final __objc_msgSend_165_fpret = - __objc_msgSend_165_fpretPtr - .asFunction< - double Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_initWithTimeIntervalSinceReferenceDate_1 = objc.registerName( "initWithTimeIntervalSinceReferenceDate:", @@ -5559,23 +4689,18 @@ class AVFAudio { } late final __objc_msgSend_166Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Double, + )>>('objc_msgSend'); + late final __objc_msgSend_166 = __objc_msgSend_166Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, - ffi.Double, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_166 = - __objc_msgSend_166Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - double, - ) - >(); + double, + )>(); late final _sel_timeIntervalSinceDate_1 = objc.registerName( "timeIntervalSinceDate:", @@ -5589,23 +4714,18 @@ class AVFAudio { } late final __objc_msgSend_167Ptr = _lookup< - ffi.NativeFunction< - ffi.Double Function( + ffi.NativeFunction< + ffi.Double Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_167 = __objc_msgSend_167Ptr.asFunction< + double Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_167 = - __objc_msgSend_167Ptr - .asFunction< - double Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); double _objc_msgSend_167_fpret( ffi.Pointer obj, @@ -5616,23 +4736,18 @@ class AVFAudio { } late final __objc_msgSend_167_fpretPtr = _lookup< - ffi.NativeFunction< - ffi.Double Function( + ffi.NativeFunction< + ffi.Double Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend_fpret'); + late final __objc_msgSend_167_fpret = __objc_msgSend_167_fpretPtr.asFunction< + double Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend_fpret'); - late final __objc_msgSend_167_fpret = - __objc_msgSend_167_fpretPtr - .asFunction< - double Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_timeIntervalSinceNow1 = objc.registerName( "timeIntervalSinceNow", @@ -5654,23 +4769,18 @@ class AVFAudio { } late final __objc_msgSend_168Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_168 = __objc_msgSend_168Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_168 = - __objc_msgSend_168Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_laterDate_1 = objc.registerName("laterDate:"); late final _sel_compare_1 = objc.registerName("compare:"); @@ -5683,23 +4793,18 @@ class AVFAudio { } late final __objc_msgSend_169Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_169 = __objc_msgSend_169Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_169 = - __objc_msgSend_169Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_isEqualToDate_1 = objc.registerName("isEqualToDate:"); bool _objc_msgSend_170( @@ -5711,23 +4816,18 @@ class AVFAudio { } late final __objc_msgSend_170Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_170 = __objc_msgSend_170Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_170 = - __objc_msgSend_170Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_date1 = objc.registerName("date"); late final _sel_dateWithTimeIntervalSinceNow_1 = objc.registerName( @@ -5752,25 +4852,20 @@ class AVFAudio { } late final __objc_msgSend_171Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Double, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_171 = __objc_msgSend_171Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, - ffi.Double, + double, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_171 = - __objc_msgSend_171Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - double, - ffi.Pointer, - ) - >(); + )>(); late final _sel_distantFuture1 = objc.registerName("distantFuture"); ffi.Pointer _objc_msgSend_172( @@ -5781,21 +4876,16 @@ class AVFAudio { } late final __objc_msgSend_172Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_172 = __objc_msgSend_172Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_172 = - __objc_msgSend_172Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_distantPast1 = objc.registerName("distantPast"); late final _sel_now1 = objc.registerName("now"); @@ -5821,25 +4911,20 @@ class AVFAudio { } late final __objc_msgSend_173Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_173 = __objc_msgSend_173Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_173 = - __objc_msgSend_173Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_dateWithNaturalLanguageString_1 = objc.registerName( "dateWithNaturalLanguageString:", @@ -5861,27 +4946,22 @@ class AVFAudio { } late final __objc_msgSend_174Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_174 = __objc_msgSend_174Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_174 = - __objc_msgSend_174Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_dateWithString_calendarFormat_1 = objc.registerName( "dateWithString:calendarFormat:", @@ -5896,25 +4976,20 @@ class AVFAudio { } late final __objc_msgSend_175Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_175 = __objc_msgSend_175Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_175 = - __objc_msgSend_175Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _class_NSTimeZone1 = objc.getClass("NSTimeZone"); late final _sel_name1 = objc.registerName("name"); @@ -5931,23 +5006,18 @@ class AVFAudio { } late final __objc_msgSend_176Ptr = _lookup< - ffi.NativeFunction< - ffi.Long Function( + ffi.NativeFunction< + ffi.Long Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_176 = __objc_msgSend_176Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_176 = - __objc_msgSend_176Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_abbreviationForDate_1 = objc.registerName( "abbreviationForDate:", @@ -5961,23 +5031,18 @@ class AVFAudio { } late final __objc_msgSend_177Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_177 = __objc_msgSend_177Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_177 = - __objc_msgSend_177Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_isDaylightSavingTimeForDate_1 = objc.registerName( "isDaylightSavingTimeForDate:", @@ -5985,8 +5050,8 @@ class AVFAudio { late final _sel_daylightSavingTimeOffsetForDate_1 = objc.registerName( "daylightSavingTimeOffsetForDate:", ); - late final _sel_nextDaylightSavingTimeTransitionAfterDate_1 = objc - .registerName("nextDaylightSavingTimeTransitionAfterDate:"); + late final _sel_nextDaylightSavingTimeTransitionAfterDate_1 = + objc.registerName("nextDaylightSavingTimeTransitionAfterDate:"); ffi.Pointer _objc_msgSend_178( ffi.Pointer obj, ffi.Pointer sel, @@ -5996,23 +5061,18 @@ class AVFAudio { } late final __objc_msgSend_178Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_178 = __objc_msgSend_178Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_178 = - __objc_msgSend_178Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_systemTimeZone1 = objc.registerName("systemTimeZone"); ffi.Pointer _objc_msgSend_179( @@ -6023,21 +5083,16 @@ class AVFAudio { } late final __objc_msgSend_179Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_179 = __objc_msgSend_179Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_179 = - __objc_msgSend_179Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_resetSystemTimeZone1 = objc.registerName( "resetSystemTimeZone", @@ -6055,23 +5110,18 @@ class AVFAudio { } late final __objc_msgSend_180Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_180 = __objc_msgSend_180Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_180 = - __objc_msgSend_180Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_localTimeZone1 = objc.registerName("localTimeZone"); late final _sel_knownTimeZoneNames1 = objc.registerName("knownTimeZoneNames"); @@ -6086,21 +5136,16 @@ class AVFAudio { } late final __objc_msgSend_181Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_181 = __objc_msgSend_181Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_181 = - __objc_msgSend_181Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_setAbbreviationDictionary_1 = objc.registerName( "setAbbreviationDictionary:", @@ -6114,23 +5159,18 @@ class AVFAudio { } late final __objc_msgSend_182Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_182 = __objc_msgSend_182Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_182 = - __objc_msgSend_182Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_timeZoneDataVersion1 = objc.registerName( "timeZoneDataVersion", @@ -6154,21 +5194,16 @@ class AVFAudio { } late final __objc_msgSend_183Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_183 = __objc_msgSend_183Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_183 = - __objc_msgSend_183Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_isEqualToTimeZone_1 = objc.registerName("isEqualToTimeZone:"); bool _objc_msgSend_184( @@ -6180,23 +5215,18 @@ class AVFAudio { } late final __objc_msgSend_184Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_184 = __objc_msgSend_184Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_184 = - __objc_msgSend_184Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _class_NSLocale1 = objc.getClass("NSLocale"); late final _sel_displayNameForKey_value_1 = objc.registerName( @@ -6212,25 +5242,20 @@ class AVFAudio { } late final __objc_msgSend_185Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_185 = __objc_msgSend_185Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_185 = - __objc_msgSend_185Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_initWithLocaleIdentifier_1 = objc.registerName( "initWithLocaleIdentifier:", @@ -6252,23 +5277,18 @@ class AVFAudio { } late final __objc_msgSend_186Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_186 = __objc_msgSend_186Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_186 = - __objc_msgSend_186Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_languageIdentifier1 = objc.registerName("languageIdentifier"); late final _sel_countryCode1 = objc.registerName("countryCode"); @@ -6296,21 +5316,16 @@ class AVFAudio { } late final __objc_msgSend_187Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_187 = __objc_msgSend_187Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_187 = - __objc_msgSend_187Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_whitespaceCharacterSet1 = objc.registerName( "whitespaceCharacterSet", @@ -6362,23 +5377,18 @@ class AVFAudio { } late final __objc_msgSend_188Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + )>>('objc_msgSend'); + late final __objc_msgSend_188 = __objc_msgSend_188Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, _NSRange, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_188 = - __objc_msgSend_188Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ) - >(); + )>(); late final _sel_characterSetWithCharactersInString_1 = objc.registerName( "characterSetWithCharactersInString:", @@ -6392,23 +5402,18 @@ class AVFAudio { } late final __objc_msgSend_189Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_189 = __objc_msgSend_189Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_189 = - __objc_msgSend_189Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_characterSetWithBitmapRepresentation_1 = objc.registerName( "characterSetWithBitmapRepresentation:", @@ -6422,23 +5427,18 @@ class AVFAudio { } late final __objc_msgSend_190Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_190 = __objc_msgSend_190Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_190 = - __objc_msgSend_190Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_characterSetWithContentsOfFile_1 = objc.registerName( "characterSetWithContentsOfFile:", @@ -6452,23 +5452,18 @@ class AVFAudio { } late final __objc_msgSend_191Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_191 = __objc_msgSend_191Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_191 = - __objc_msgSend_191Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); instancetype _objc_msgSend_192( ffi.Pointer obj, @@ -6479,23 +5474,18 @@ class AVFAudio { } late final __objc_msgSend_192Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_192 = __objc_msgSend_192Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_192 = - __objc_msgSend_192Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_characterIsMember_1 = objc.registerName("characterIsMember:"); bool _objc_msgSend_193( @@ -6507,23 +5497,18 @@ class AVFAudio { } late final __objc_msgSend_193Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedShort, + )>>('objc_msgSend'); + late final __objc_msgSend_193 = __objc_msgSend_193Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, - ffi.UnsignedShort, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_193 = - __objc_msgSend_193Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_bitmapRepresentation1 = objc.registerName( "bitmapRepresentation", @@ -6541,23 +5526,18 @@ class AVFAudio { } late final __objc_msgSend_194Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedInt, + )>>('objc_msgSend'); + late final __objc_msgSend_194 = __objc_msgSend_194Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, - ffi.UnsignedInt, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_194 = - __objc_msgSend_194Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_isSupersetOfSet_1 = objc.registerName("isSupersetOfSet:"); bool _objc_msgSend_195( @@ -6569,23 +5549,18 @@ class AVFAudio { } late final __objc_msgSend_195Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_195 = __objc_msgSend_195Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_195 = - __objc_msgSend_195Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_hasMemberInPlane_1 = objc.registerName("hasMemberInPlane:"); bool _objc_msgSend_196( @@ -6597,23 +5572,18 @@ class AVFAudio { } late final __objc_msgSend_196Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Uint8, + )>>('objc_msgSend'); + late final __objc_msgSend_196 = __objc_msgSend_196Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, - ffi.Uint8, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_196 = - __objc_msgSend_196Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_URLUserAllowedCharacterSet1 = objc.registerName( "URLUserAllowedCharacterSet", @@ -6681,21 +5651,16 @@ class AVFAudio { } late final __objc_msgSend_197Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_197 = __objc_msgSend_197Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_197 = - __objc_msgSend_197Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_currentLocale1 = objc.registerName("currentLocale"); late final _sel_systemLocale1 = objc.registerName("systemLocale"); @@ -6724,23 +5689,18 @@ class AVFAudio { } late final __objc_msgSend_198Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_198 = __objc_msgSend_198Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_198 = - __objc_msgSend_198Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_localeIdentifierFromComponents_1 = objc.registerName( "localeIdentifierFromComponents:", @@ -6754,23 +5714,18 @@ class AVFAudio { } late final __objc_msgSend_199Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_199 = __objc_msgSend_199Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_199 = - __objc_msgSend_199Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_canonicalLocaleIdentifierFromString_1 = objc.registerName( "canonicalLocaleIdentifierFromString:", @@ -6790,23 +5745,18 @@ class AVFAudio { } late final __objc_msgSend_200Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Uint32, + )>>('objc_msgSend'); + late final __objc_msgSend_200 = __objc_msgSend_200Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.Uint32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_200 = - __objc_msgSend_200Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_windowsLocaleCodeFromLocaleIdentifier_1 = objc.registerName( "windowsLocaleCodeFromLocaleIdentifier:", @@ -6820,23 +5770,18 @@ class AVFAudio { } late final __objc_msgSend_201Ptr = _lookup< - ffi.NativeFunction< - ffi.Uint32 Function( + ffi.NativeFunction< + ffi.Uint32 Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_201 = __objc_msgSend_201Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_201 = - __objc_msgSend_201Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_characterDirectionForLanguage_1 = objc.registerName( "characterDirectionForLanguage:", @@ -6850,23 +5795,18 @@ class AVFAudio { } late final __objc_msgSend_202Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_202 = __objc_msgSend_202Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_202 = - __objc_msgSend_202Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_lineDirectionForLanguage_1 = objc.registerName( "lineDirectionForLanguage:", @@ -6884,25 +5824,20 @@ class AVFAudio { } late final __objc_msgSend_203Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_203 = __objc_msgSend_203Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_203 = - __objc_msgSend_203Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ) - >(); + )>(); late final _sel_timeZoneWithName_1 = objc.registerName("timeZoneWithName:"); late final _sel_timeZoneWithName_data_1 = objc.registerName( @@ -6918,25 +5853,20 @@ class AVFAudio { } late final __objc_msgSend_204Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_204 = __objc_msgSend_204Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_204 = - __objc_msgSend_204Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_initWithName_1 = objc.registerName("initWithName:"); late final _sel_initWithName_data_1 = objc.registerName("initWithName:data:"); @@ -6952,29 +5882,24 @@ class AVFAudio { } late final __objc_msgSend_205Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Long, + )>>('objc_msgSend'); + late final __objc_msgSend_205 = __objc_msgSend_205Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, - ffi.Long, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_205 = - __objc_msgSend_205Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_timeZoneWithAbbreviation_1 = objc.registerName( "timeZoneWithAbbreviation:", ); - late final _sel_dateWithYear_month_day_hour_minute_second_timeZone_1 = objc - .registerName("dateWithYear:month:day:hour:minute:second:timeZone:"); + late final _sel_dateWithYear_month_day_hour_minute_second_timeZone_1 = + objc.registerName("dateWithYear:month:day:hour:minute:second:timeZone:"); ffi.Pointer _objc_msgSend_206( ffi.Pointer obj, ffi.Pointer sel, @@ -7000,38 +5925,33 @@ class AVFAudio { } late final __objc_msgSend_206Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Long, + ffi.UnsignedLong, + ffi.UnsignedLong, + ffi.UnsignedLong, + ffi.UnsignedLong, + ffi.UnsignedLong, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_206 = __objc_msgSend_206Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.Long, - ffi.UnsignedLong, - ffi.UnsignedLong, - ffi.UnsignedLong, - ffi.UnsignedLong, - ffi.UnsignedLong, + int, + int, + int, + int, + int, + int, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_206 = - __objc_msgSend_206Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - int, - int, - int, - int, - int, - ffi.Pointer, - ) - >(); + )>(); - late final _sel_dateByAddingYears_months_days_hours_minutes_seconds_1 = objc - .registerName("dateByAddingYears:months:days:hours:minutes:seconds:"); + late final _sel_dateByAddingYears_months_days_hours_minutes_seconds_1 = + objc.registerName("dateByAddingYears:months:days:hours:minutes:seconds:"); ffi.Pointer _objc_msgSend_207( ffi.Pointer obj, ffi.Pointer sel, @@ -7046,33 +5966,28 @@ class AVFAudio { } late final __objc_msgSend_207Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Long, + ffi.Long, + ffi.Long, + ffi.Long, + ffi.Long, + ffi.Long, + )>>('objc_msgSend'); + late final __objc_msgSend_207 = __objc_msgSend_207Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.Long, - ffi.Long, - ffi.Long, - ffi.Long, - ffi.Long, - ffi.Long, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_207 = - __objc_msgSend_207Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - int, - int, - int, - int, - int, - ) - >(); + int, + int, + int, + int, + int, + int, + )>(); late final _sel_dayOfCommonEra1 = objc.registerName("dayOfCommonEra"); late final _sel_dayOfMonth1 = objc.registerName("dayOfMonth"); @@ -7097,25 +6012,20 @@ class AVFAudio { } late final __objc_msgSend_208Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_208 = __objc_msgSend_208Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_208 = - __objc_msgSend_208Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_descriptionWithCalendarFormat_1 = objc.registerName( "descriptionWithCalendarFormat:", @@ -7127,8 +6037,8 @@ class AVFAudio { late final _sel_initWithString_calendarFormat_1 = objc.registerName( "initWithString:calendarFormat:", ); - late final _sel_initWithYear_month_day_hour_minute_second_timeZone_1 = objc - .registerName("initWithYear:month:day:hour:minute:second:timeZone:"); + late final _sel_initWithYear_month_day_hour_minute_second_timeZone_1 = + objc.registerName("initWithYear:month:day:hour:minute:second:timeZone:"); late final _sel_setCalendarFormat_1 = objc.registerName("setCalendarFormat:"); void _objc_msgSend_209( ffi.Pointer obj, @@ -7139,23 +6049,18 @@ class AVFAudio { } late final __objc_msgSend_209Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_209 = __objc_msgSend_209Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_209 = - __objc_msgSend_209Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_setTimeZone_1 = objc.registerName("setTimeZone:"); void _objc_msgSend_210( @@ -7167,26 +6072,21 @@ class AVFAudio { } late final __objc_msgSend_210Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_210 = __objc_msgSend_210Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_210 = - __objc_msgSend_210Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); - late final _sel_years_months_days_hours_minutes_seconds_sinceDate_1 = objc - .registerName("years:months:days:hours:minutes:seconds:sinceDate:"); + late final _sel_years_months_days_hours_minutes_seconds_sinceDate_1 = + objc.registerName("years:months:days:hours:minutes:seconds:sinceDate:"); void _objc_msgSend_211( ffi.Pointer obj, ffi.Pointer sel, @@ -7202,8 +6102,20 @@ class AVFAudio { } late final __objc_msgSend_211Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_211 = __objc_msgSend_211Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, @@ -7213,24 +6125,7 @@ class AVFAudio { ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_211 = - __objc_msgSend_211Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_dateWithCalendarFormat_timeZone_1 = objc.registerName( "dateWithCalendarFormat:timeZone:", @@ -7245,28 +6140,23 @@ class AVFAudio { } late final __objc_msgSend_212Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_212 = __objc_msgSend_212Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_212 = - __objc_msgSend_212Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); - late final _sel_descriptionWithCalendarFormat_timeZone_locale_1 = objc - .registerName("descriptionWithCalendarFormat:timeZone:locale:"); + late final _sel_descriptionWithCalendarFormat_timeZone_locale_1 = + objc.registerName("descriptionWithCalendarFormat:timeZone:locale:"); ffi.Pointer _objc_msgSend_213( ffi.Pointer obj, ffi.Pointer sel, @@ -7278,27 +6168,22 @@ class AVFAudio { } late final __objc_msgSend_213Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_213 = __objc_msgSend_213Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_213 = - __objc_msgSend_213Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_fileModificationDate1 = objc.registerName( "fileModificationDate", @@ -7329,21 +6214,16 @@ class AVFAudio { } late final __objc_msgSend_214Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedInt Function( + ffi.NativeFunction< + ffi.UnsignedInt Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_214 = __objc_msgSend_214Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_214 = - __objc_msgSend_214Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_fileHFSTypeCode1 = objc.registerName("fileHFSTypeCode"); late final _sel_fileIsImmutable1 = objc.registerName("fileIsImmutable"); @@ -7358,21 +6238,16 @@ class AVFAudio { } late final __objc_msgSend_215Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_215 = __objc_msgSend_215Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_215 = - __objc_msgSend_215Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_fileGroupOwnerAccountID1 = objc.registerName( "fileGroupOwnerAccountID", @@ -7389,23 +6264,18 @@ class AVFAudio { } late final __objc_msgSend_216Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_216 = __objc_msgSend_216Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_216 = - __objc_msgSend_216Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_predicateFormat1 = objc.registerName("predicateFormat"); late final _sel_predicateWithSubstitutionVariables_1 = objc.registerName( @@ -7423,26 +6293,21 @@ class AVFAudio { } late final __objc_msgSend_217Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_217 = __objc_msgSend_217Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_217 = - __objc_msgSend_217Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); - late final _sel_evaluateWithObject_substitutionVariables_1 = objc - .registerName("evaluateWithObject:substitutionVariables:"); + late final _sel_evaluateWithObject_substitutionVariables_1 = + objc.registerName("evaluateWithObject:substitutionVariables:"); bool _objc_msgSend_218( ffi.Pointer obj, ffi.Pointer sel, @@ -7453,25 +6318,20 @@ class AVFAudio { } late final __objc_msgSend_218Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_218 = __objc_msgSend_218Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_218 = - __objc_msgSend_218Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_allowEvaluation1 = objc.registerName("allowEvaluation"); late final _sel_filteredArrayUsingPredicate_1 = objc.registerName( @@ -7486,23 +6346,18 @@ class AVFAudio { } late final __objc_msgSend_219Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_219 = __objc_msgSend_219Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_219 = - __objc_msgSend_219Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_initWithChar_1 = objc.registerName("initWithChar:"); ffi.Pointer _objc_msgSend_220( @@ -7514,23 +6369,18 @@ class AVFAudio { } late final __objc_msgSend_220Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Char, + )>>('objc_msgSend'); + late final __objc_msgSend_220 = __objc_msgSend_220Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.Char, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_220 = - __objc_msgSend_220Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_initWithUnsignedChar_1 = objc.registerName( "initWithUnsignedChar:", @@ -7544,23 +6394,18 @@ class AVFAudio { } late final __objc_msgSend_221Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedChar, + )>>('objc_msgSend'); + late final __objc_msgSend_221 = __objc_msgSend_221Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.UnsignedChar, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_221 = - __objc_msgSend_221Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_initWithShort_1 = objc.registerName("initWithShort:"); ffi.Pointer _objc_msgSend_222( @@ -7572,23 +6417,18 @@ class AVFAudio { } late final __objc_msgSend_222Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Short, + )>>('objc_msgSend'); + late final __objc_msgSend_222 = __objc_msgSend_222Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.Short, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_222 = - __objc_msgSend_222Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_initWithUnsignedShort_1 = objc.registerName( "initWithUnsignedShort:", @@ -7602,23 +6442,18 @@ class AVFAudio { } late final __objc_msgSend_223Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedShort, + )>>('objc_msgSend'); + late final __objc_msgSend_223 = __objc_msgSend_223Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.UnsignedShort, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_223 = - __objc_msgSend_223Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_initWithInt_1 = objc.registerName("initWithInt:"); ffi.Pointer _objc_msgSend_224( @@ -7630,23 +6465,18 @@ class AVFAudio { } late final __objc_msgSend_224Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int, + )>>('objc_msgSend'); + late final __objc_msgSend_224 = __objc_msgSend_224Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.Int, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_224 = - __objc_msgSend_224Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_initWithUnsignedInt_1 = objc.registerName( "initWithUnsignedInt:", @@ -7660,23 +6490,18 @@ class AVFAudio { } late final __objc_msgSend_225Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedInt, + )>>('objc_msgSend'); + late final __objc_msgSend_225 = __objc_msgSend_225Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.UnsignedInt, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_225 = - __objc_msgSend_225Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_initWithLong_1 = objc.registerName("initWithLong:"); ffi.Pointer _objc_msgSend_226( @@ -7688,23 +6513,18 @@ class AVFAudio { } late final __objc_msgSend_226Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Long, + )>>('objc_msgSend'); + late final __objc_msgSend_226 = __objc_msgSend_226Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.Long, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_226 = - __objc_msgSend_226Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_initWithUnsignedLong_1 = objc.registerName( "initWithUnsignedLong:", @@ -7718,23 +6538,18 @@ class AVFAudio { } late final __objc_msgSend_227Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + )>>('objc_msgSend'); + late final __objc_msgSend_227 = __objc_msgSend_227Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_227 = - __objc_msgSend_227Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_initWithLongLong_1 = objc.registerName("initWithLongLong:"); ffi.Pointer _objc_msgSend_228( @@ -7746,23 +6561,18 @@ class AVFAudio { } late final __objc_msgSend_228Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.LongLong, + )>>('objc_msgSend'); + late final __objc_msgSend_228 = __objc_msgSend_228Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.LongLong, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_228 = - __objc_msgSend_228Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_initWithUnsignedLongLong_1 = objc.registerName( "initWithUnsignedLongLong:", @@ -7776,23 +6586,18 @@ class AVFAudio { } late final __objc_msgSend_229Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLongLong, + )>>('objc_msgSend'); + late final __objc_msgSend_229 = __objc_msgSend_229Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.UnsignedLongLong, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_229 = - __objc_msgSend_229Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_initWithFloat_1 = objc.registerName("initWithFloat:"); ffi.Pointer _objc_msgSend_230( @@ -7804,23 +6609,18 @@ class AVFAudio { } late final __objc_msgSend_230Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Float, + )>>('objc_msgSend'); + late final __objc_msgSend_230 = __objc_msgSend_230Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.Float, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_230 = - __objc_msgSend_230Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - double, - ) - >(); + double, + )>(); late final _sel_initWithDouble_1 = objc.registerName("initWithDouble:"); ffi.Pointer _objc_msgSend_231( @@ -7832,23 +6632,18 @@ class AVFAudio { } late final __objc_msgSend_231Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Double, + )>>('objc_msgSend'); + late final __objc_msgSend_231 = __objc_msgSend_231Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.Double, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_231 = - __objc_msgSend_231Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - double, - ) - >(); + double, + )>(); late final _sel_initWithBool_1 = objc.registerName("initWithBool:"); ffi.Pointer _objc_msgSend_232( @@ -7860,23 +6655,18 @@ class AVFAudio { } late final __objc_msgSend_232Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + )>>('objc_msgSend'); + late final __objc_msgSend_232 = __objc_msgSend_232Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.Bool, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_232 = - __objc_msgSend_232Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - bool, - ) - >(); + bool, + )>(); late final _sel_initWithInteger_1 = objc.registerName("initWithInteger:"); late final _sel_initWithUnsignedInteger_1 = objc.registerName( @@ -7891,21 +6681,16 @@ class AVFAudio { } late final __objc_msgSend_233Ptr = _lookup< - ffi.NativeFunction< - ffi.Char Function( + ffi.NativeFunction< + ffi.Char Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_233 = __objc_msgSend_233Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_233 = - __objc_msgSend_233Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_unsignedCharValue1 = objc.registerName("unsignedCharValue"); int _objc_msgSend_234( @@ -7916,21 +6701,16 @@ class AVFAudio { } late final __objc_msgSend_234Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedChar Function( + ffi.NativeFunction< + ffi.UnsignedChar Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_234 = __objc_msgSend_234Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_234 = - __objc_msgSend_234Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_shortValue1 = objc.registerName("shortValue"); int _objc_msgSend_235( @@ -7941,21 +6721,16 @@ class AVFAudio { } late final __objc_msgSend_235Ptr = _lookup< - ffi.NativeFunction< - ffi.Short Function( + ffi.NativeFunction< + ffi.Short Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_235 = __objc_msgSend_235Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_235 = - __objc_msgSend_235Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_unsignedShortValue1 = objc.registerName("unsignedShortValue"); int _objc_msgSend_236( @@ -7966,21 +6741,16 @@ class AVFAudio { } late final __objc_msgSend_236Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedShort Function( + ffi.NativeFunction< + ffi.UnsignedShort Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_236 = __objc_msgSend_236Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_236 = - __objc_msgSend_236Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_intValue1 = objc.registerName("intValue"); int _objc_msgSend_237( @@ -7991,21 +6761,16 @@ class AVFAudio { } late final __objc_msgSend_237Ptr = _lookup< - ffi.NativeFunction< - ffi.Int Function( + ffi.NativeFunction< + ffi.Int Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_237 = __objc_msgSend_237Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_237 = - __objc_msgSend_237Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_unsignedIntValue1 = objc.registerName("unsignedIntValue"); late final _sel_longValue1 = objc.registerName("longValue"); @@ -8019,21 +6784,16 @@ class AVFAudio { } late final __objc_msgSend_238Ptr = _lookup< - ffi.NativeFunction< - ffi.LongLong Function( + ffi.NativeFunction< + ffi.LongLong Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_238 = __objc_msgSend_238Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_238 = - __objc_msgSend_238Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_unsignedLongLongValue1 = objc.registerName( "unsignedLongLongValue", @@ -8047,21 +6807,16 @@ class AVFAudio { } late final __objc_msgSend_239Ptr = _lookup< - ffi.NativeFunction< - ffi.Float Function( + ffi.NativeFunction< + ffi.Float Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_239 = __objc_msgSend_239Ptr.asFunction< + double Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_239 = - __objc_msgSend_239Ptr - .asFunction< - double Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); double _objc_msgSend_239_fpret( ffi.Pointer obj, @@ -8071,21 +6826,16 @@ class AVFAudio { } late final __objc_msgSend_239_fpretPtr = _lookup< - ffi.NativeFunction< - ffi.Float Function( + ffi.NativeFunction< + ffi.Float Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend_fpret'); + late final __objc_msgSend_239_fpret = __objc_msgSend_239_fpretPtr.asFunction< + double Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend_fpret'); - late final __objc_msgSend_239_fpret = - __objc_msgSend_239_fpretPtr - .asFunction< - double Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_doubleValue1 = objc.registerName("doubleValue"); late final _sel_boolValue1 = objc.registerName("boolValue"); @@ -8103,23 +6853,18 @@ class AVFAudio { } late final __objc_msgSend_240Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_240 = __objc_msgSend_240Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_240 = - __objc_msgSend_240Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_isEqualToNumber_1 = objc.registerName("isEqualToNumber:"); bool _objc_msgSend_241( @@ -8131,23 +6876,18 @@ class AVFAudio { } late final __objc_msgSend_241Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_241 = __objc_msgSend_241Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_241 = - __objc_msgSend_241Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_numberWithChar_1 = objc.registerName("numberWithChar:"); late final _sel_numberWithUnsignedChar_1 = objc.registerName( @@ -8200,25 +6940,20 @@ class AVFAudio { } late final __objc_msgSend_242Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + )>>('objc_msgSend'); + late final __objc_msgSend_242 = __objc_msgSend_242Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_242 = - __objc_msgSend_242Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_fileSystemRepresentation1 = objc.registerName( "fileSystemRepresentation", @@ -8242,27 +6977,22 @@ class AVFAudio { } late final __objc_msgSend_243Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_243 = __objc_msgSend_243Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer>, ffi.Pointer, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_243 = - __objc_msgSend_243Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer, - ffi.Pointer>, - ) - >(); + )>(); late final _sel_resourceValuesForKeys_error_1 = objc.registerName( "resourceValuesForKeys:error:", @@ -8277,25 +7007,20 @@ class AVFAudio { } late final __objc_msgSend_244Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_244 = __objc_msgSend_244Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_244 = - __objc_msgSend_244Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ) - >(); + )>(); late final _sel_setResourceValue_forKey_error_1 = objc.registerName( "setResourceValue:forKey:error:", @@ -8311,27 +7036,22 @@ class AVFAudio { } late final __objc_msgSend_245Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_245 = __objc_msgSend_245Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_245 = - __objc_msgSend_245Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ) - >(); + )>(); late final _sel_setResourceValues_error_1 = objc.registerName( "setResourceValues:error:", @@ -8346,25 +7066,20 @@ class AVFAudio { } late final __objc_msgSend_246Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_246 = __objc_msgSend_246Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_246 = - __objc_msgSend_246Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ) - >(); + )>(); late final _sel_removeCachedResourceValueForKey_1 = objc.registerName( "removeCachedResourceValueForKey:", @@ -8378,23 +7093,18 @@ class AVFAudio { } late final __objc_msgSend_247Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_247 = __objc_msgSend_247Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_247 = - __objc_msgSend_247Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_removeAllCachedResourceValues1 = objc.registerName( "removeAllCachedResourceValues", @@ -8404,8 +7114,8 @@ class AVFAudio { ); late final _sel_bookmarkDataWithOptions_includingResourceValuesForKeys_relativeToURL_error_1 = objc.registerName( - "bookmarkDataWithOptions:includingResourceValuesForKeys:relativeToURL:error:", - ); + "bookmarkDataWithOptions:includingResourceValuesForKeys:relativeToURL:error:", + ); ffi.Pointer _objc_msgSend_248( ffi.Pointer obj, ffi.Pointer sel, @@ -8418,34 +7128,29 @@ class AVFAudio { } late final __objc_msgSend_248Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_248 = __objc_msgSend_248Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, ffi.Pointer, ffi.Pointer, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_248 = - __objc_msgSend_248Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ) - >(); + )>(); late final _sel_initByResolvingBookmarkData_options_relativeToURL_bookmarkDataIsStale_error_1 = objc.registerName( - "initByResolvingBookmarkData:options:relativeToURL:bookmarkDataIsStale:error:", - ); + "initByResolvingBookmarkData:options:relativeToURL:bookmarkDataIsStale:error:", + ); instancetype _objc_msgSend_249( ffi.Pointer obj, ffi.Pointer sel, @@ -8467,36 +7172,31 @@ class AVFAudio { } late final __objc_msgSend_249Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_249 = __objc_msgSend_249Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, ffi.Pointer, ffi.Pointer, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_249 = - __objc_msgSend_249Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ) - >(); + )>(); late final _sel_URLByResolvingBookmarkData_options_relativeToURL_bookmarkDataIsStale_error_1 = objc.registerName( - "URLByResolvingBookmarkData:options:relativeToURL:bookmarkDataIsStale:error:", - ); + "URLByResolvingBookmarkData:options:relativeToURL:bookmarkDataIsStale:error:", + ); late final _sel_resourceValuesForKeys_fromBookmarkData_1 = objc.registerName( "resourceValuesForKeys:fromBookmarkData:", ); @@ -8510,25 +7210,20 @@ class AVFAudio { } late final __objc_msgSend_250Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_250 = __objc_msgSend_250Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_250 = - __objc_msgSend_250Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_writeBookmarkData_toURL_options_error_1 = objc.registerName( "writeBookmarkData:toURL:options:error:", @@ -8552,29 +7247,24 @@ class AVFAudio { } late final __objc_msgSend_251Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_251 = __objc_msgSend_251Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, + int, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_251 = - __objc_msgSend_251Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>, - ) - >(); + )>(); late final _sel_bookmarkDataWithContentsOfURL_error_1 = objc.registerName( "bookmarkDataWithContentsOfURL:error:", @@ -8589,28 +7279,23 @@ class AVFAudio { } late final __objc_msgSend_252Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_252 = __objc_msgSend_252Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_252 = - __objc_msgSend_252Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ) - >(); + )>(); - late final _sel_URLByResolvingAliasFileAtURL_options_error_1 = objc - .registerName("URLByResolvingAliasFileAtURL:options:error:"); + late final _sel_URLByResolvingAliasFileAtURL_options_error_1 = + objc.registerName("URLByResolvingAliasFileAtURL:options:error:"); instancetype _objc_msgSend_253( ffi.Pointer obj, ffi.Pointer sel, @@ -8622,27 +7307,22 @@ class AVFAudio { } late final __objc_msgSend_253Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_253 = __objc_msgSend_253Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_253 = - __objc_msgSend_253Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>, - ) - >(); + )>(); late final _sel_startAccessingSecurityScopedResource1 = objc.registerName( "startAccessingSecurityScopedResource", @@ -8650,8 +7330,8 @@ class AVFAudio { late final _sel_stopAccessingSecurityScopedResource1 = objc.registerName( "stopAccessingSecurityScopedResource", ); - late final _sel_getPromisedItemResourceValue_forKey_error_1 = objc - .registerName("getPromisedItemResourceValue:forKey:error:"); + late final _sel_getPromisedItemResourceValue_forKey_error_1 = + objc.registerName("getPromisedItemResourceValue:forKey:error:"); late final _sel_promisedItemResourceValuesForKeys_error_1 = objc.registerName( "promisedItemResourceValuesForKeys:error:", ); @@ -8665,28 +7345,23 @@ class AVFAudio { } late final __objc_msgSend_254Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_254 = __objc_msgSend_254Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_254 = - __objc_msgSend_254Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ) - >(); + )>(); - late final _sel_checkPromisedItemIsReachableAndReturnError_1 = objc - .registerName("checkPromisedItemIsReachableAndReturnError:"); + late final _sel_checkPromisedItemIsReachableAndReturnError_1 = + objc.registerName("checkPromisedItemIsReachableAndReturnError:"); bool _objc_msgSend_255( ffi.Pointer obj, ffi.Pointer sel, @@ -8696,23 +7371,18 @@ class AVFAudio { } late final __objc_msgSend_255Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_255 = __objc_msgSend_255Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_255 = - __objc_msgSend_255Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ) - >(); + )>(); late final _sel_fileURLWithPathComponents_1 = objc.registerName( "fileURLWithPathComponents:", @@ -8726,23 +7396,18 @@ class AVFAudio { } late final __objc_msgSend_256Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_256 = __objc_msgSend_256Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_256 = - __objc_msgSend_256Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_pathComponents1 = objc.registerName("pathComponents"); late final _sel_lastPathComponent1 = objc.registerName("lastPathComponent"); @@ -8759,23 +7424,18 @@ class AVFAudio { } late final __objc_msgSend_257Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_257 = __objc_msgSend_257Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_257 = - __objc_msgSend_257Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_URLByAppendingPathComponent_isDirectory_1 = objc.registerName( "URLByAppendingPathComponent:isDirectory:", @@ -8790,25 +7450,20 @@ class AVFAudio { } late final __objc_msgSend_258Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + )>>('objc_msgSend'); + late final __objc_msgSend_258 = __objc_msgSend_258Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Bool, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_258 = - __objc_msgSend_258Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - ) - >(); + bool, + )>(); late final _sel_URLByDeletingLastPathComponent1 = objc.registerName( "URLByDeletingLastPathComponent", @@ -8840,26 +7495,21 @@ class AVFAudio { } late final __objc_msgSend_259Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + )>>('objc_msgSend'); + late final __objc_msgSend_259 = __objc_msgSend_259Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.Bool, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_259 = - __objc_msgSend_259Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - bool, - ) - >(); + bool, + )>(); - late final _sel_loadResourceDataNotifyingClient_usingCache_1 = objc - .registerName("loadResourceDataNotifyingClient:usingCache:"); + late final _sel_loadResourceDataNotifyingClient_usingCache_1 = + objc.registerName("loadResourceDataNotifyingClient:usingCache:"); void _objc_msgSend_260( ffi.Pointer obj, ffi.Pointer sel, @@ -8870,25 +7520,20 @@ class AVFAudio { } late final __objc_msgSend_260Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + )>>('objc_msgSend'); + late final __objc_msgSend_260 = __objc_msgSend_260Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Bool, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_260 = - __objc_msgSend_260Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - ) - >(); + bool, + )>(); late final _sel_propertyForKey_1 = objc.registerName("propertyForKey:"); late final _sel_setResourceData_1 = objc.registerName("setResourceData:"); @@ -8905,25 +7550,20 @@ class AVFAudio { } late final __objc_msgSend_261Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_261 = __objc_msgSend_261Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_261 = - __objc_msgSend_261Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _class_NSURLHandle1 = objc.getClass("NSURLHandle"); late final _sel_registerURLHandleClass_1 = objc.registerName( @@ -8941,23 +7581,18 @@ class AVFAudio { } late final __objc_msgSend_262Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_262 = __objc_msgSend_262Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_262 = - __objc_msgSend_262Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_status1 = objc.registerName("status"); int _objc_msgSend_263( @@ -8968,21 +7603,16 @@ class AVFAudio { } late final __objc_msgSend_263Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_263 = __objc_msgSend_263Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_263 = - __objc_msgSend_263Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_failureReason1 = objc.registerName("failureReason"); late final _sel_addClient_1 = objc.registerName("addClient:"); @@ -9015,25 +7645,20 @@ class AVFAudio { } late final __objc_msgSend_264Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + )>>('objc_msgSend'); + late final __objc_msgSend_264 = __objc_msgSend_264Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Bool, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_264 = - __objc_msgSend_264Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - ) - >(); + bool, + )>(); late final _sel_canInitWithURL_1 = objc.registerName("canInitWithURL:"); bool _objc_msgSend_265( @@ -9045,23 +7670,18 @@ class AVFAudio { } late final __objc_msgSend_265Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_265 = __objc_msgSend_265Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_265 = - __objc_msgSend_265Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_cachedHandleForURL_1 = objc.registerName( "cachedHandleForURL:", @@ -9075,23 +7695,18 @@ class AVFAudio { } late final __objc_msgSend_266Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_266 = __objc_msgSend_266Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_266 = - __objc_msgSend_266Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_initWithURL_cached_1 = objc.registerName( "initWithURL:cached:", @@ -9106,25 +7721,20 @@ class AVFAudio { } late final __objc_msgSend_267Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + )>>('objc_msgSend'); + late final __objc_msgSend_267 = __objc_msgSend_267Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Bool, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_267 = - __objc_msgSend_267Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - ) - >(); + bool, + )>(); late final _sel_propertyForKeyIfAvailable_1 = objc.registerName( "propertyForKeyIfAvailable:", @@ -9152,23 +7762,18 @@ class AVFAudio { } late final __objc_msgSend_268Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + )>>('objc_msgSend'); + late final __objc_msgSend_268 = __objc_msgSend_268Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.Bool, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_268 = - __objc_msgSend_268Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - bool, - ) - >(); + bool, + )>(); late final _sel_writeToFile_options_error_1 = objc.registerName( "writeToFile:options:error:", @@ -9184,27 +7789,22 @@ class AVFAudio { } late final __objc_msgSend_269Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_269 = __objc_msgSend_269Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_269 = - __objc_msgSend_269Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>, - ) - >(); + )>(); late final _sel_writeToURL_options_error_1 = objc.registerName( "writeToURL:options:error:", @@ -9220,27 +7820,22 @@ class AVFAudio { } late final __objc_msgSend_270Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_270 = __objc_msgSend_270Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_270 = - __objc_msgSend_270Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>, - ) - >(); + )>(); late final _sel_rangeOfData_options_range_1 = objc.registerName( "rangeOfData:options:range:", @@ -9256,27 +7851,22 @@ class AVFAudio { } late final __objc_msgSend_271Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + _NSRange Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + _NSRange, + )>>('objc_msgSend'); + late final __objc_msgSend_271 = __objc_msgSend_271Ptr.asFunction< _NSRange Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, _NSRange, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_271 = - __objc_msgSend_271Ptr - .asFunction< - _NSRange Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - _NSRange, - ) - >(); + )>(); void _objc_msgSend_271_stret( ffi.Pointer<_NSRange> stret, @@ -9297,29 +7887,24 @@ class AVFAudio { } late final __objc_msgSend_271_stretPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer<_NSRange>, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + _NSRange, + )>>('objc_msgSend_stret'); + late final __objc_msgSend_271_stret = __objc_msgSend_271_stretPtr.asFunction< + void Function( ffi.Pointer<_NSRange>, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, _NSRange, - ) - > - >('objc_msgSend_stret'); - late final __objc_msgSend_271_stret = - __objc_msgSend_271_stretPtr - .asFunction< - void Function( - ffi.Pointer<_NSRange>, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - _NSRange, - ) - >(); + )>(); late final _sel_enumerateByteRangesUsingBlock_1 = objc.registerName( "enumerateByteRangesUsingBlock:", @@ -9333,23 +7918,18 @@ class AVFAudio { } late final __objc_msgSend_272Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_272 = __objc_msgSend_272Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_272 = - __objc_msgSend_272Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_dataWithBytes_length_1 = objc.registerName( "dataWithBytes:length:", @@ -9364,25 +7944,20 @@ class AVFAudio { } late final __objc_msgSend_273Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + )>>('objc_msgSend'); + late final __objc_msgSend_273 = __objc_msgSend_273Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_273 = - __objc_msgSend_273Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_dataWithBytesNoCopy_length_1 = objc.registerName( "dataWithBytesNoCopy:length:", @@ -9401,27 +7976,22 @@ class AVFAudio { } late final __objc_msgSend_274Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Bool, + )>>('objc_msgSend'); + late final __objc_msgSend_274 = __objc_msgSend_274Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, - ffi.Bool, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_274 = - __objc_msgSend_274Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - bool, - ) - >(); + int, + bool, + )>(); late final _sel_dataWithContentsOfFile_options_error_1 = objc.registerName( "dataWithContentsOfFile:options:error:", @@ -9437,27 +8007,22 @@ class AVFAudio { } late final __objc_msgSend_275Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_275 = __objc_msgSend_275Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_275 = - __objc_msgSend_275Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>, - ) - >(); + )>(); late final _sel_dataWithContentsOfURL_options_error_1 = objc.registerName( "dataWithContentsOfURL:options:error:", @@ -9473,27 +8038,22 @@ class AVFAudio { } late final __objc_msgSend_276Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_276 = __objc_msgSend_276Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_276 = - __objc_msgSend_276Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>, - ) - >(); + )>(); late final _sel_dataWithContentsOfFile_1 = objc.registerName( "dataWithContentsOfFile:", @@ -9510,23 +8070,18 @@ class AVFAudio { } late final __objc_msgSend_277Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_277 = __objc_msgSend_277Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_277 = - __objc_msgSend_277Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_initWithBytes_length_1 = objc.registerName( "initWithBytes:length:", @@ -9551,27 +8106,22 @@ class AVFAudio { } late final __objc_msgSend_278Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_278 = __objc_msgSend_278Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, + int, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_278 = - __objc_msgSend_278Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ) - >(); + )>(); late final _sel_initWithContentsOfFile_options_error_1 = objc.registerName( "initWithContentsOfFile:options:error:", @@ -9589,23 +8139,18 @@ class AVFAudio { } late final __objc_msgSend_279Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_279 = __objc_msgSend_279Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_279 = - __objc_msgSend_279Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_dataWithData_1 = objc.registerName("dataWithData:"); late final _sel_initWithBase64EncodedString_options_1 = objc.registerName( @@ -9621,25 +8166,20 @@ class AVFAudio { } late final __objc_msgSend_280Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + )>>('objc_msgSend'); + late final __objc_msgSend_280 = __objc_msgSend_280Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_280 = - __objc_msgSend_280Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_base64EncodedStringWithOptions_1 = objc.registerName( "base64EncodedStringWithOptions:", @@ -9653,23 +8193,18 @@ class AVFAudio { } late final __objc_msgSend_281Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + )>>('objc_msgSend'); + late final __objc_msgSend_281 = __objc_msgSend_281Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_281 = - __objc_msgSend_281Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_initWithBase64EncodedData_options_1 = objc.registerName( "initWithBase64EncodedData:options:", @@ -9684,25 +8219,20 @@ class AVFAudio { } late final __objc_msgSend_282Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + )>>('objc_msgSend'); + late final __objc_msgSend_282 = __objc_msgSend_282Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_282 = - __objc_msgSend_282Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_base64EncodedDataWithOptions_1 = objc.registerName( "base64EncodedDataWithOptions:", @@ -9716,23 +8246,18 @@ class AVFAudio { } late final __objc_msgSend_283Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + )>>('objc_msgSend'); + late final __objc_msgSend_283 = __objc_msgSend_283Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_283 = - __objc_msgSend_283Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_decompressedDataUsingAlgorithm_error_1 = objc.registerName( "decompressedDataUsingAlgorithm:error:", @@ -9747,25 +8272,20 @@ class AVFAudio { } late final __objc_msgSend_284Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_284 = __objc_msgSend_284Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_284 = - __objc_msgSend_284Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>, - ) - >(); + )>(); late final _sel_compressedDataUsingAlgorithm_error_1 = objc.registerName( "compressedDataUsingAlgorithm:error:", @@ -9791,23 +8311,18 @@ class AVFAudio { } late final __objc_msgSend_285Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_285 = __objc_msgSend_285Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_285 = - __objc_msgSend_285Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_decodeDataObject1 = objc.registerName("decodeDataObject"); ffi.Pointer _objc_msgSend_286( @@ -9818,21 +8333,16 @@ class AVFAudio { } late final __objc_msgSend_286Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_286 = __objc_msgSend_286Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_286 = - __objc_msgSend_286Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_decodeValueOfObjCType_at_size_1 = objc.registerName( "decodeValueOfObjCType:at:size:", @@ -9848,27 +8358,22 @@ class AVFAudio { } late final __objc_msgSend_287Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + )>>('objc_msgSend'); + late final __objc_msgSend_287 = __objc_msgSend_287Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_287 = - __objc_msgSend_287Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_versionForClassName_1 = objc.registerName( "versionForClassName:", @@ -9882,23 +8387,18 @@ class AVFAudio { } late final __objc_msgSend_288Ptr = _lookup< - ffi.NativeFunction< - ffi.Long Function( + ffi.NativeFunction< + ffi.Long Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_288 = __objc_msgSend_288Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_288 = - __objc_msgSend_288Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_encodeObject_1 = objc.registerName("encodeObject:"); void _objc_msgSend_289( @@ -9910,23 +8410,18 @@ class AVFAudio { } late final __objc_msgSend_289Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_289 = __objc_msgSend_289Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_289 = - __objc_msgSend_289Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_encodeRootObject_1 = objc.registerName("encodeRootObject:"); late final _sel_encodeBycopyObject_1 = objc.registerName( @@ -9948,23 +8443,18 @@ class AVFAudio { } late final __objc_msgSend_290Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_290 = __objc_msgSend_290Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_290 = - __objc_msgSend_290Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_encodeArrayOfObjCType_count_at_1 = objc.registerName( "encodeArrayOfObjCType:count:at:", @@ -9980,27 +8470,22 @@ class AVFAudio { } late final __objc_msgSend_291Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_291 = __objc_msgSend_291Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, + int, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_291 = - __objc_msgSend_291Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ) - >(); + )>(); late final _sel_encodeBytes_length_1 = objc.registerName( "encodeBytes:length:", @@ -10018,23 +8503,18 @@ class AVFAudio { } late final __objc_msgSend_292Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_292 = __objc_msgSend_292Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_292 = - __objc_msgSend_292Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ) - >(); + )>(); late final _sel_decodeValuesOfObjCTypes_1 = objc.registerName( "decodeValuesOfObjCTypes:", @@ -10054,23 +8534,18 @@ class AVFAudio { } late final __objc_msgSend_293Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_293 = __objc_msgSend_293Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_293 = - __objc_msgSend_293Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_encodePropertyList_1 = objc.registerName( "encodePropertyList:", @@ -10086,23 +8561,18 @@ class AVFAudio { } late final __objc_msgSend_294Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_NSZone>, + )>>('objc_msgSend'); + late final __objc_msgSend_294 = __objc_msgSend_294Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer<_NSZone>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_294 = - __objc_msgSend_294Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_NSZone>, - ) - >(); + )>(); late final _sel_objectZone1 = objc.registerName("objectZone"); ffi.Pointer<_NSZone> _objc_msgSend_295( @@ -10113,21 +8583,16 @@ class AVFAudio { } late final __objc_msgSend_295Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer<_NSZone> Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_295 = __objc_msgSend_295Ptr.asFunction< ffi.Pointer<_NSZone> Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_295 = - __objc_msgSend_295Ptr - .asFunction< - ffi.Pointer<_NSZone> Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_systemVersion1 = objc.registerName("systemVersion"); late final _sel_allowsKeyedCoding1 = objc.registerName("allowsKeyedCoding"); @@ -10148,25 +8613,20 @@ class AVFAudio { } late final __objc_msgSend_296Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_296 = __objc_msgSend_296Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, - ffi.Bool, + bool, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_296 = - __objc_msgSend_296Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - bool, - ffi.Pointer, - ) - >(); + )>(); late final _sel_encodeInt_forKey_1 = objc.registerName("encodeInt:forKey:"); void _objc_msgSend_297( @@ -10179,25 +8639,20 @@ class AVFAudio { } late final __objc_msgSend_297Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_297 = __objc_msgSend_297Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, - ffi.Int, + int, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_297 = - __objc_msgSend_297Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ) - >(); + )>(); late final _sel_encodeInt32_forKey_1 = objc.registerName( "encodeInt32:forKey:", @@ -10212,25 +8667,20 @@ class AVFAudio { } late final __objc_msgSend_298Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_298 = __objc_msgSend_298Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_298 = - __objc_msgSend_298Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ) - >(); + )>(); late final _sel_encodeInt64_forKey_1 = objc.registerName( "encodeInt64:forKey:", @@ -10245,25 +8695,20 @@ class AVFAudio { } late final __objc_msgSend_299Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int64, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_299 = __objc_msgSend_299Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, - ffi.Int64, + int, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_299 = - __objc_msgSend_299Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ) - >(); + )>(); late final _sel_encodeFloat_forKey_1 = objc.registerName( "encodeFloat:forKey:", @@ -10278,25 +8723,20 @@ class AVFAudio { } late final __objc_msgSend_300Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Float, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_300 = __objc_msgSend_300Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, - ffi.Float, + double, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_300 = - __objc_msgSend_300Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - double, - ffi.Pointer, - ) - >(); + )>(); late final _sel_encodeDouble_forKey_1 = objc.registerName( "encodeDouble:forKey:", @@ -10311,25 +8751,20 @@ class AVFAudio { } late final __objc_msgSend_301Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Double, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_301 = __objc_msgSend_301Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, - ffi.Double, + double, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_301 = - __objc_msgSend_301Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - double, - ffi.Pointer, - ) - >(); + )>(); late final _sel_encodeBytes_length_forKey_1 = objc.registerName( "encodeBytes:length:forKey:", @@ -10345,27 +8780,22 @@ class AVFAudio { } late final __objc_msgSend_302Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_302 = __objc_msgSend_302Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, + int, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_302 = - __objc_msgSend_302Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ) - >(); + )>(); late final _sel_containsValueForKey_1 = objc.registerName( "containsValueForKey:", @@ -10386,25 +8816,20 @@ class AVFAudio { } late final __objc_msgSend_303Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_303 = __objc_msgSend_303Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_303 = - __objc_msgSend_303Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ) - >(); + )>(); late final _sel_decodeBoolForKey_1 = objc.registerName("decodeBoolForKey:"); late final _sel_decodeIntForKey_1 = objc.registerName("decodeIntForKey:"); @@ -10417,23 +8842,18 @@ class AVFAudio { } late final __objc_msgSend_304Ptr = _lookup< - ffi.NativeFunction< - ffi.Int Function( + ffi.NativeFunction< + ffi.Int Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_304 = __objc_msgSend_304Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_304 = - __objc_msgSend_304Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_decodeInt32ForKey_1 = objc.registerName("decodeInt32ForKey:"); int _objc_msgSend_305( @@ -10445,23 +8865,18 @@ class AVFAudio { } late final __objc_msgSend_305Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_305 = __objc_msgSend_305Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_305 = - __objc_msgSend_305Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_decodeInt64ForKey_1 = objc.registerName("decodeInt64ForKey:"); int _objc_msgSend_306( @@ -10473,23 +8888,18 @@ class AVFAudio { } late final __objc_msgSend_306Ptr = _lookup< - ffi.NativeFunction< - ffi.Int64 Function( + ffi.NativeFunction< + ffi.Int64 Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_306 = __objc_msgSend_306Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_306 = - __objc_msgSend_306Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_decodeFloatForKey_1 = objc.registerName("decodeFloatForKey:"); double _objc_msgSend_307( @@ -10501,23 +8911,18 @@ class AVFAudio { } late final __objc_msgSend_307Ptr = _lookup< - ffi.NativeFunction< - ffi.Float Function( + ffi.NativeFunction< + ffi.Float Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_307 = __objc_msgSend_307Ptr.asFunction< + double Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_307 = - __objc_msgSend_307Ptr - .asFunction< - double Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); double _objc_msgSend_307_fpret( ffi.Pointer obj, @@ -10528,23 +8933,18 @@ class AVFAudio { } late final __objc_msgSend_307_fpretPtr = _lookup< - ffi.NativeFunction< - ffi.Float Function( + ffi.NativeFunction< + ffi.Float Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend_fpret'); + late final __objc_msgSend_307_fpret = __objc_msgSend_307_fpretPtr.asFunction< + double Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend_fpret'); - late final __objc_msgSend_307_fpret = - __objc_msgSend_307_fpretPtr - .asFunction< - double Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_decodeDoubleForKey_1 = objc.registerName( "decodeDoubleForKey:", @@ -10558,23 +8958,18 @@ class AVFAudio { } late final __objc_msgSend_308Ptr = _lookup< - ffi.NativeFunction< - ffi.Double Function( + ffi.NativeFunction< + ffi.Double Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_308 = __objc_msgSend_308Ptr.asFunction< + double Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_308 = - __objc_msgSend_308Ptr - .asFunction< - double Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); double _objc_msgSend_308_fpret( ffi.Pointer obj, @@ -10585,23 +8980,18 @@ class AVFAudio { } late final __objc_msgSend_308_fpretPtr = _lookup< - ffi.NativeFunction< - ffi.Double Function( + ffi.NativeFunction< + ffi.Double Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend_fpret'); + late final __objc_msgSend_308_fpret = __objc_msgSend_308_fpretPtr.asFunction< + double Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend_fpret'); - late final __objc_msgSend_308_fpret = - __objc_msgSend_308_fpretPtr - .asFunction< - double Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_decodeBytesForKey_returnedLength_1 = objc.registerName( "decodeBytesForKey:returnedLength:", @@ -10616,25 +9006,20 @@ class AVFAudio { } late final __objc_msgSend_309Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_309 = __objc_msgSend_309Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_309 = - __objc_msgSend_309Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_encodeInteger_forKey_1 = objc.registerName( "encodeInteger:forKey:", @@ -10649,25 +9034,20 @@ class AVFAudio { } late final __objc_msgSend_310Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Long, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_310 = __objc_msgSend_310Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, - ffi.Long, + int, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_310 = - __objc_msgSend_310Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ) - >(); + )>(); late final _sel_decodeIntegerForKey_1 = objc.registerName( "decodeIntegerForKey:", @@ -10688,28 +9068,23 @@ class AVFAudio { } late final __objc_msgSend_311Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_311 = __objc_msgSend_311Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_311 = - __objc_msgSend_311Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); - late final _sel_decodeTopLevelObjectOfClass_forKey_error_1 = objc - .registerName("decodeTopLevelObjectOfClass:forKey:error:"); + late final _sel_decodeTopLevelObjectOfClass_forKey_error_1 = + objc.registerName("decodeTopLevelObjectOfClass:forKey:error:"); ffi.Pointer _objc_msgSend_312( ffi.Pointer obj, ffi.Pointer sel, @@ -10721,27 +9096,22 @@ class AVFAudio { } late final __objc_msgSend_312Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_312 = __objc_msgSend_312Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_312 = - __objc_msgSend_312Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ) - >(); + )>(); late final _sel_decodeArrayOfObjectsOfClass_forKey_1 = objc.registerName( "decodeArrayOfObjectsOfClass:forKey:", @@ -10756,25 +9126,20 @@ class AVFAudio { } late final __objc_msgSend_313Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_313 = __objc_msgSend_313Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_313 = - __objc_msgSend_313Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_decodeDictionaryWithKeysOfClass_objectsOfClass_forKey_1 = objc .registerName("decodeDictionaryWithKeysOfClass:objectsOfClass:forKey:"); @@ -10789,27 +9154,22 @@ class AVFAudio { } late final __objc_msgSend_314Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_314 = __objc_msgSend_314Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_314 = - __objc_msgSend_314Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_decodeObjectOfClasses_forKey_1 = objc.registerName( "decodeObjectOfClasses:forKey:", @@ -10824,28 +9184,23 @@ class AVFAudio { } late final __objc_msgSend_315Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_315 = __objc_msgSend_315Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_315 = - __objc_msgSend_315Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); - late final _sel_decodeTopLevelObjectOfClasses_forKey_error_1 = objc - .registerName("decodeTopLevelObjectOfClasses:forKey:error:"); + late final _sel_decodeTopLevelObjectOfClasses_forKey_error_1 = + objc.registerName("decodeTopLevelObjectOfClasses:forKey:error:"); ffi.Pointer _objc_msgSend_316( ffi.Pointer obj, ffi.Pointer sel, @@ -10857,27 +9212,22 @@ class AVFAudio { } late final __objc_msgSend_316Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_316 = __objc_msgSend_316Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_316 = - __objc_msgSend_316Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ) - >(); + )>(); late final _sel_decodeArrayOfObjectsOfClasses_forKey_1 = objc.registerName( "decodeArrayOfObjectsOfClasses:forKey:", @@ -10892,30 +9242,25 @@ class AVFAudio { } late final __objc_msgSend_317Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_317 = __objc_msgSend_317Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_317 = - __objc_msgSend_317Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_decodeDictionaryWithKeysOfClasses_objectsOfClasses_forKey_1 = objc.registerName( - "decodeDictionaryWithKeysOfClasses:objectsOfClasses:forKey:", - ); + "decodeDictionaryWithKeysOfClasses:objectsOfClasses:forKey:", + ); ffi.Pointer _objc_msgSend_318( ffi.Pointer obj, ffi.Pointer sel, @@ -10927,27 +9272,22 @@ class AVFAudio { } late final __objc_msgSend_318Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_318 = __objc_msgSend_318Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_318 = - __objc_msgSend_318Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_decodePropertyListForKey_1 = objc.registerName( "decodePropertyListForKey:", @@ -10961,21 +9301,16 @@ class AVFAudio { } late final __objc_msgSend_319Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_319 = __objc_msgSend_319Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_319 = - __objc_msgSend_319Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_failWithError_1 = objc.registerName("failWithError:"); void _objc_msgSend_320( @@ -10987,23 +9322,18 @@ class AVFAudio { } late final __objc_msgSend_320Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_320 = __objc_msgSend_320Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_320 = - __objc_msgSend_320Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_decodingFailurePolicy1 = objc.registerName( "decodingFailurePolicy", @@ -11016,21 +9346,16 @@ class AVFAudio { } late final __objc_msgSend_321Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_321 = __objc_msgSend_321Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_321 = - __objc_msgSend_321Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_error1 = objc.registerName("error"); ffi.Pointer _objc_msgSend_322( @@ -11041,21 +9366,16 @@ class AVFAudio { } late final __objc_msgSend_322Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_322 = __objc_msgSend_322Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_322 = - __objc_msgSend_322Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_encodeNXObject_1 = objc.registerName("encodeNXObject:"); late final _sel_decodeNXObject1 = objc.registerName("decodeNXObject"); @@ -11072,23 +9392,18 @@ class AVFAudio { } late final __objc_msgSend_323Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + CGPoint, + )>>('objc_msgSend'); + late final __objc_msgSend_323 = __objc_msgSend_323Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, CGPoint, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_323 = - __objc_msgSend_323Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - CGPoint, - ) - >(); + )>(); late final _sel_decodePoint1 = objc.registerName("decodePoint"); late final _sel_encodeSize_1 = objc.registerName("encodeSize:"); @@ -11101,23 +9416,18 @@ class AVFAudio { } late final __objc_msgSend_324Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + CGSize, + )>>('objc_msgSend'); + late final __objc_msgSend_324 = __objc_msgSend_324Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, CGSize, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_324 = - __objc_msgSend_324Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - CGSize, - ) - >(); + )>(); late final _sel_decodeSize1 = objc.registerName("decodeSize"); late final _sel_encodeRect_1 = objc.registerName("encodeRect:"); @@ -11130,23 +9440,18 @@ class AVFAudio { } late final __objc_msgSend_325Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + CGRect, + )>>('objc_msgSend'); + late final __objc_msgSend_325 = __objc_msgSend_325Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, CGRect, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_325 = - __objc_msgSend_325Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - CGRect, - ) - >(); + )>(); late final _sel_decodeRect1 = objc.registerName("decodeRect"); late final _sel_encodePoint_forKey_1 = objc.registerName( @@ -11162,25 +9467,20 @@ class AVFAudio { } late final __objc_msgSend_326Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + CGPoint, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_326 = __objc_msgSend_326Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, CGPoint, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_326 = - __objc_msgSend_326Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - CGPoint, - ffi.Pointer, - ) - >(); + )>(); late final _sel_encodeSize_forKey_1 = objc.registerName("encodeSize:forKey:"); void _objc_msgSend_327( @@ -11193,25 +9493,20 @@ class AVFAudio { } late final __objc_msgSend_327Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + CGSize, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_327 = __objc_msgSend_327Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, CGSize, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_327 = - __objc_msgSend_327Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - CGSize, - ffi.Pointer, - ) - >(); + )>(); late final _sel_encodeRect_forKey_1 = objc.registerName("encodeRect:forKey:"); void _objc_msgSend_328( @@ -11224,25 +9519,20 @@ class AVFAudio { } late final __objc_msgSend_328Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + CGRect, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_328 = __objc_msgSend_328Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, CGRect, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_328 = - __objc_msgSend_328Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - CGRect, - ffi.Pointer, - ) - >(); + )>(); late final _sel_decodePointForKey_1 = objc.registerName("decodePointForKey:"); CGPoint _objc_msgSend_329( @@ -11254,23 +9544,18 @@ class AVFAudio { } late final __objc_msgSend_329Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + CGPoint Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_329 = __objc_msgSend_329Ptr.asFunction< CGPoint Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_329 = - __objc_msgSend_329Ptr - .asFunction< - CGPoint Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); void _objc_msgSend_329_stret( ffi.Pointer stret, @@ -11282,25 +9567,20 @@ class AVFAudio { } late final __objc_msgSend_329_stretPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend_stret'); + late final __objc_msgSend_329_stret = __objc_msgSend_329_stretPtr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend_stret'); - late final __objc_msgSend_329_stret = - __objc_msgSend_329_stretPtr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_decodeSizeForKey_1 = objc.registerName("decodeSizeForKey:"); CGSize _objc_msgSend_330( @@ -11312,23 +9592,18 @@ class AVFAudio { } late final __objc_msgSend_330Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + CGSize Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_330 = __objc_msgSend_330Ptr.asFunction< CGSize Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_330 = - __objc_msgSend_330Ptr - .asFunction< - CGSize Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); void _objc_msgSend_330_stret( ffi.Pointer stret, @@ -11340,25 +9615,20 @@ class AVFAudio { } late final __objc_msgSend_330_stretPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend_stret'); + late final __objc_msgSend_330_stret = __objc_msgSend_330_stretPtr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend_stret'); - late final __objc_msgSend_330_stret = - __objc_msgSend_330_stretPtr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_decodeRectForKey_1 = objc.registerName("decodeRectForKey:"); CGRect _objc_msgSend_331( @@ -11370,23 +9640,18 @@ class AVFAudio { } late final __objc_msgSend_331Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + CGRect Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_331 = __objc_msgSend_331Ptr.asFunction< CGRect Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_331 = - __objc_msgSend_331Ptr - .asFunction< - CGRect Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); void _objc_msgSend_331_stret( ffi.Pointer stret, @@ -11398,25 +9663,20 @@ class AVFAudio { } late final __objc_msgSend_331_stretPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend_stret'); + late final __objc_msgSend_331_stret = __objc_msgSend_331_stretPtr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend_stret'); - late final __objc_msgSend_331_stret = - __objc_msgSend_331_stretPtr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_substringFromIndex_1 = objc.registerName( "substringFromIndex:", @@ -11430,23 +9690,18 @@ class AVFAudio { } late final __objc_msgSend_332Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + )>>('objc_msgSend'); + late final __objc_msgSend_332 = __objc_msgSend_332Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_332 = - __objc_msgSend_332Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_substringToIndex_1 = objc.registerName("substringToIndex:"); late final _sel_substringWithRange_1 = objc.registerName( @@ -11461,23 +9716,18 @@ class AVFAudio { } late final __objc_msgSend_333Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + )>>('objc_msgSend'); + late final __objc_msgSend_333 = __objc_msgSend_333Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, _NSRange, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_333 = - __objc_msgSend_333Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ) - >(); + )>(); late final _sel_getCharacters_range_1 = objc.registerName( "getCharacters:range:", @@ -11492,25 +9742,20 @@ class AVFAudio { } late final __objc_msgSend_334Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange, + )>>('objc_msgSend'); + late final __objc_msgSend_334 = __objc_msgSend_334Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, _NSRange, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_334 = - __objc_msgSend_334Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - _NSRange, - ) - >(); + )>(); int _objc_msgSend_335( ffi.Pointer obj, @@ -11521,23 +9766,18 @@ class AVFAudio { } late final __objc_msgSend_335Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_335 = __objc_msgSend_335Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_335 = - __objc_msgSend_335Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_compare_options_1 = objc.registerName("compare:options:"); int _objc_msgSend_336( @@ -11550,25 +9790,20 @@ class AVFAudio { } late final __objc_msgSend_336Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + )>>('objc_msgSend'); + late final __objc_msgSend_336 = __objc_msgSend_336Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_336 = - __objc_msgSend_336Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_compare_options_range_1 = objc.registerName( "compare:options:range:", @@ -11584,27 +9819,22 @@ class AVFAudio { } late final __objc_msgSend_337Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + _NSRange, + )>>('objc_msgSend'); + late final __objc_msgSend_337 = __objc_msgSend_337Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, _NSRange, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_337 = - __objc_msgSend_337Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - _NSRange, - ) - >(); + )>(); late final _sel_compare_options_range_locale_1 = objc.registerName( "compare:options:range:locale:", @@ -11628,29 +9858,24 @@ class AVFAudio { } late final __objc_msgSend_338Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + _NSRange, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_338 = __objc_msgSend_338Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, _NSRange, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_338 = - __objc_msgSend_338Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - _NSRange, - ffi.Pointer, - ) - >(); + )>(); late final _sel_caseInsensitiveCompare_1 = objc.registerName( "caseInsensitiveCompare:", @@ -11678,25 +9903,20 @@ class AVFAudio { } late final __objc_msgSend_339Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + )>>('objc_msgSend'); + late final __objc_msgSend_339 = __objc_msgSend_339Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_339 = - __objc_msgSend_339Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_containsString_1 = objc.registerName("containsString:"); late final _sel_localizedCaseInsensitiveContainsString_1 = objc.registerName( @@ -11717,23 +9937,18 @@ class AVFAudio { } late final __objc_msgSend_340Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + _NSRange Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_340 = __objc_msgSend_340Ptr.asFunction< _NSRange Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_340 = - __objc_msgSend_340Ptr - .asFunction< - _NSRange Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); void _objc_msgSend_340_stret( ffi.Pointer<_NSRange> stret, @@ -11745,25 +9960,20 @@ class AVFAudio { } late final __objc_msgSend_340_stretPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer<_NSRange>, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend_stret'); + late final __objc_msgSend_340_stret = __objc_msgSend_340_stretPtr.asFunction< + void Function( ffi.Pointer<_NSRange>, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend_stret'); - late final __objc_msgSend_340_stret = - __objc_msgSend_340_stretPtr - .asFunction< - void Function( - ffi.Pointer<_NSRange>, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_rangeOfString_1 = objc.registerName("rangeOfString:"); late final _sel_rangeOfString_options_1 = objc.registerName( @@ -11779,25 +9989,20 @@ class AVFAudio { } late final __objc_msgSend_341Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + _NSRange Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + )>>('objc_msgSend'); + late final __objc_msgSend_341 = __objc_msgSend_341Ptr.asFunction< _NSRange Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_341 = - __objc_msgSend_341Ptr - .asFunction< - _NSRange Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); void _objc_msgSend_341_stret( ffi.Pointer<_NSRange> stret, @@ -11810,27 +10015,22 @@ class AVFAudio { } late final __objc_msgSend_341_stretPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer<_NSRange>, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + )>>('objc_msgSend_stret'); + late final __objc_msgSend_341_stret = __objc_msgSend_341_stretPtr.asFunction< + void Function( ffi.Pointer<_NSRange>, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend_stret'); - late final __objc_msgSend_341_stret = - __objc_msgSend_341_stretPtr - .asFunction< - void Function( - ffi.Pointer<_NSRange>, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_rangeOfString_options_range_1 = objc.registerName( "rangeOfString:options:range:", @@ -11852,27 +10052,22 @@ class AVFAudio { } late final __objc_msgSend_342Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + _NSRange Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + _NSRange, + )>>('objc_msgSend'); + late final __objc_msgSend_342 = __objc_msgSend_342Ptr.asFunction< _NSRange Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, _NSRange, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_342 = - __objc_msgSend_342Ptr - .asFunction< - _NSRange Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - _NSRange, - ) - >(); + )>(); void _objc_msgSend_342_stret( ffi.Pointer<_NSRange> stret, @@ -11893,29 +10088,24 @@ class AVFAudio { } late final __objc_msgSend_342_stretPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer<_NSRange>, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + _NSRange, + )>>('objc_msgSend_stret'); + late final __objc_msgSend_342_stret = __objc_msgSend_342_stretPtr.asFunction< + void Function( ffi.Pointer<_NSRange>, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, _NSRange, - ) - > - >('objc_msgSend_stret'); - late final __objc_msgSend_342_stret = - __objc_msgSend_342_stretPtr - .asFunction< - void Function( - ffi.Pointer<_NSRange>, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - _NSRange, - ) - >(); + )>(); late final _sel_rangeOfString_options_range_locale_1 = objc.registerName( "rangeOfString:options:range:locale:", @@ -11939,29 +10129,24 @@ class AVFAudio { } late final __objc_msgSend_343Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + _NSRange Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + _NSRange, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_343 = __objc_msgSend_343Ptr.asFunction< _NSRange Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, _NSRange, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_343 = - __objc_msgSend_343Ptr - .asFunction< - _NSRange Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - _NSRange, - ffi.Pointer, - ) - >(); + )>(); void _objc_msgSend_343_stret( ffi.Pointer<_NSRange> stret, @@ -11984,31 +10169,26 @@ class AVFAudio { } late final __objc_msgSend_343_stretPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer<_NSRange>, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + _NSRange, + ffi.Pointer, + )>>('objc_msgSend_stret'); + late final __objc_msgSend_343_stret = __objc_msgSend_343_stretPtr.asFunction< + void Function( ffi.Pointer<_NSRange>, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, _NSRange, ffi.Pointer, - ) - > - >('objc_msgSend_stret'); - late final __objc_msgSend_343_stret = - __objc_msgSend_343_stretPtr - .asFunction< - void Function( - ffi.Pointer<_NSRange>, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - _NSRange, - ffi.Pointer, - ) - >(); + )>(); late final _sel_rangeOfCharacterFromSet_1 = objc.registerName( "rangeOfCharacterFromSet:", @@ -12022,23 +10202,18 @@ class AVFAudio { } late final __objc_msgSend_344Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + _NSRange Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_344 = __objc_msgSend_344Ptr.asFunction< _NSRange Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_344 = - __objc_msgSend_344Ptr - .asFunction< - _NSRange Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); void _objc_msgSend_344_stret( ffi.Pointer<_NSRange> stret, @@ -12050,25 +10225,20 @@ class AVFAudio { } late final __objc_msgSend_344_stretPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer<_NSRange>, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend_stret'); + late final __objc_msgSend_344_stret = __objc_msgSend_344_stretPtr.asFunction< + void Function( ffi.Pointer<_NSRange>, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend_stret'); - late final __objc_msgSend_344_stret = - __objc_msgSend_344_stretPtr - .asFunction< - void Function( - ffi.Pointer<_NSRange>, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_rangeOfCharacterFromSet_options_1 = objc.registerName( "rangeOfCharacterFromSet:options:", @@ -12083,25 +10253,20 @@ class AVFAudio { } late final __objc_msgSend_345Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + _NSRange Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + )>>('objc_msgSend'); + late final __objc_msgSend_345 = __objc_msgSend_345Ptr.asFunction< _NSRange Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_345 = - __objc_msgSend_345Ptr - .asFunction< - _NSRange Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); void _objc_msgSend_345_stret( ffi.Pointer<_NSRange> stret, @@ -12114,27 +10279,22 @@ class AVFAudio { } late final __objc_msgSend_345_stretPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer<_NSRange>, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + )>>('objc_msgSend_stret'); + late final __objc_msgSend_345_stret = __objc_msgSend_345_stretPtr.asFunction< + void Function( ffi.Pointer<_NSRange>, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend_stret'); - late final __objc_msgSend_345_stret = - __objc_msgSend_345_stretPtr - .asFunction< - void Function( - ffi.Pointer<_NSRange>, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_rangeOfCharacterFromSet_options_range_1 = objc.registerName( "rangeOfCharacterFromSet:options:range:", @@ -12156,27 +10316,22 @@ class AVFAudio { } late final __objc_msgSend_346Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + _NSRange Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + _NSRange, + )>>('objc_msgSend'); + late final __objc_msgSend_346 = __objc_msgSend_346Ptr.asFunction< _NSRange Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, _NSRange, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_346 = - __objc_msgSend_346Ptr - .asFunction< - _NSRange Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - _NSRange, - ) - >(); + )>(); void _objc_msgSend_346_stret( ffi.Pointer<_NSRange> stret, @@ -12197,29 +10352,24 @@ class AVFAudio { } late final __objc_msgSend_346_stretPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer<_NSRange>, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + _NSRange, + )>>('objc_msgSend_stret'); + late final __objc_msgSend_346_stret = __objc_msgSend_346_stretPtr.asFunction< + void Function( ffi.Pointer<_NSRange>, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, _NSRange, - ) - > - >('objc_msgSend_stret'); - late final __objc_msgSend_346_stret = - __objc_msgSend_346_stretPtr - .asFunction< - void Function( - ffi.Pointer<_NSRange>, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - _NSRange, - ) - >(); + )>(); late final _sel_rangeOfComposedCharacterSequenceAtIndex_1 = objc.registerName( "rangeOfComposedCharacterSequenceAtIndex:", @@ -12233,23 +10383,18 @@ class AVFAudio { } late final __objc_msgSend_347Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + _NSRange Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + )>>('objc_msgSend'); + late final __objc_msgSend_347 = __objc_msgSend_347Ptr.asFunction< _NSRange Function( ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_347 = - __objc_msgSend_347Ptr - .asFunction< - _NSRange Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); void _objc_msgSend_347_stret( ffi.Pointer<_NSRange> stret, @@ -12261,28 +10406,23 @@ class AVFAudio { } late final __objc_msgSend_347_stretPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer<_NSRange>, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + )>>('objc_msgSend_stret'); + late final __objc_msgSend_347_stret = __objc_msgSend_347_stretPtr.asFunction< + void Function( ffi.Pointer<_NSRange>, ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, - ) - > - >('objc_msgSend_stret'); - late final __objc_msgSend_347_stret = - __objc_msgSend_347_stretPtr - .asFunction< - void Function( - ffi.Pointer<_NSRange>, - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); - late final _sel_rangeOfComposedCharacterSequencesForRange_1 = objc - .registerName("rangeOfComposedCharacterSequencesForRange:"); + late final _sel_rangeOfComposedCharacterSequencesForRange_1 = + objc.registerName("rangeOfComposedCharacterSequencesForRange:"); _NSRange _objc_msgSend_348( ffi.Pointer obj, ffi.Pointer sel, @@ -12292,23 +10432,18 @@ class AVFAudio { } late final __objc_msgSend_348Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + _NSRange Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + )>>('objc_msgSend'); + late final __objc_msgSend_348 = __objc_msgSend_348Ptr.asFunction< _NSRange Function( ffi.Pointer, ffi.Pointer, _NSRange, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_348 = - __objc_msgSend_348Ptr - .asFunction< - _NSRange Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ) - >(); + )>(); void _objc_msgSend_348_stret( ffi.Pointer<_NSRange> stret, @@ -12320,25 +10455,20 @@ class AVFAudio { } late final __objc_msgSend_348_stretPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer<_NSRange>, + ffi.Pointer, + ffi.Pointer, + _NSRange, + )>>('objc_msgSend_stret'); + late final __objc_msgSend_348_stret = __objc_msgSend_348_stretPtr.asFunction< + void Function( ffi.Pointer<_NSRange>, ffi.Pointer, ffi.Pointer, _NSRange, - ) - > - >('objc_msgSend_stret'); - late final __objc_msgSend_348_stret = - __objc_msgSend_348_stretPtr - .asFunction< - void Function( - ffi.Pointer<_NSRange>, - ffi.Pointer, - ffi.Pointer, - _NSRange, - ) - >(); + )>(); late final _sel_stringByAppendingString_1 = objc.registerName( "stringByAppendingString:", @@ -12370,23 +10500,18 @@ class AVFAudio { } late final __objc_msgSend_349Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_349 = __objc_msgSend_349Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_349 = - __objc_msgSend_349Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_lowercaseStringWithLocale_1 = objc.registerName( "lowercaseStringWithLocale:", @@ -12416,38 +10541,33 @@ class AVFAudio { } late final __objc_msgSend_350Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange, + )>>('objc_msgSend'); + late final __objc_msgSend_350 = __objc_msgSend_350Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, _NSRange, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_350 = - __objc_msgSend_350Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - _NSRange, - ) - >(); + )>(); late final _sel_lineRangeForRange_1 = objc.registerName("lineRangeForRange:"); - late final _sel_getParagraphStart_end_contentsEnd_forRange_1 = objc - .registerName("getParagraphStart:end:contentsEnd:forRange:"); + late final _sel_getParagraphStart_end_contentsEnd_forRange_1 = + objc.registerName("getParagraphStart:end:contentsEnd:forRange:"); late final _sel_paragraphRangeForRange_1 = objc.registerName( "paragraphRangeForRange:", ); - late final _sel_enumerateSubstringsInRange_options_usingBlock_1 = objc - .registerName("enumerateSubstringsInRange:options:usingBlock:"); + late final _sel_enumerateSubstringsInRange_options_usingBlock_1 = + objc.registerName("enumerateSubstringsInRange:options:usingBlock:"); void _objc_msgSend_351( ffi.Pointer obj, ffi.Pointer sel, @@ -12459,27 +10579,22 @@ class AVFAudio { } late final __objc_msgSend_351Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Int32, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_351 = __objc_msgSend_351Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, _NSRange, - ffi.Int32, + int, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_351 = - __objc_msgSend_351Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - int, - ffi.Pointer, - ) - >(); + )>(); late final _sel_enumerateLinesUsingBlock_1 = objc.registerName( "enumerateLinesUsingBlock:", @@ -12493,23 +10608,18 @@ class AVFAudio { } late final __objc_msgSend_352Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_352 = __objc_msgSend_352Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_352 = - __objc_msgSend_352Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_UTF8String1 = objc.registerName("UTF8String"); late final _sel_fastestEncoding1 = objc.registerName("fastestEncoding"); @@ -12527,25 +10637,20 @@ class AVFAudio { } late final __objc_msgSend_353Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Bool, + )>>('objc_msgSend'); + late final __objc_msgSend_353 = __objc_msgSend_353Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, - ffi.Bool, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_353 = - __objc_msgSend_353Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - bool, - ) - >(); + int, + bool, + )>(); late final _sel_dataUsingEncoding_1 = objc.registerName("dataUsingEncoding:"); ffi.Pointer _objc_msgSend_354( @@ -12557,23 +10662,18 @@ class AVFAudio { } late final __objc_msgSend_354Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + )>>('objc_msgSend'); + late final __objc_msgSend_354 = __objc_msgSend_354Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_354 = - __objc_msgSend_354Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_canBeConvertedToEncoding_1 = objc.registerName( "canBeConvertedToEncoding:", @@ -12595,32 +10695,27 @@ class AVFAudio { } late final __objc_msgSend_355Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.UnsignedLong, + )>>('objc_msgSend'); + late final __objc_msgSend_355 = __objc_msgSend_355Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, - ffi.UnsignedLong, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_355 = - __objc_msgSend_355Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - int, - ) - >(); + int, + int, + )>(); late final _sel_getBytes_maxLength_usedLength_encoding_options_range_remainingRange_1 = objc.registerName( - "getBytes:maxLength:usedLength:encoding:options:range:remainingRange:", - ); + "getBytes:maxLength:usedLength:encoding:options:range:remainingRange:", + ); bool _objc_msgSend_356( ffi.Pointer obj, ffi.Pointer sel, @@ -12646,35 +10741,30 @@ class AVFAudio { } late final __objc_msgSend_356Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Int32, + _NSRange, + ffi.Pointer<_NSRange>, + )>>('objc_msgSend'); + late final __objc_msgSend_356 = __objc_msgSend_356Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, + int, ffi.Pointer, - ffi.UnsignedLong, - ffi.Int32, + int, + int, _NSRange, ffi.Pointer<_NSRange>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_356 = - __objc_msgSend_356Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - int, - int, - _NSRange, - ffi.Pointer<_NSRange>, - ) - >(); + )>(); late final _sel_maximumLengthOfBytesUsingEncoding_1 = objc.registerName( "maximumLengthOfBytesUsingEncoding:", @@ -12693,21 +10783,16 @@ class AVFAudio { } late final __objc_msgSend_357Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_357 = __objc_msgSend_357Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_357 = - __objc_msgSend_357Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_localizedNameOfStringEncoding_1 = objc.registerName( "localizedNameOfStringEncoding:", @@ -12724,8 +10809,8 @@ class AVFAudio { late final _sel_decomposedStringWithCompatibilityMapping1 = objc.registerName( "decomposedStringWithCompatibilityMapping", ); - late final _sel_precomposedStringWithCompatibilityMapping1 = objc - .registerName("precomposedStringWithCompatibilityMapping"); + late final _sel_precomposedStringWithCompatibilityMapping1 = + objc.registerName("precomposedStringWithCompatibilityMapping"); late final _sel_componentsSeparatedByString_1 = objc.registerName( "componentsSeparatedByString:", ); @@ -12738,23 +10823,18 @@ class AVFAudio { } late final __objc_msgSend_358Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_358 = __objc_msgSend_358Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_358 = - __objc_msgSend_358Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_componentsSeparatedByCharactersInSet_1 = objc.registerName( "componentsSeparatedByCharactersInSet:", @@ -12768,23 +10848,18 @@ class AVFAudio { } late final __objc_msgSend_359Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_359 = __objc_msgSend_359Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_359 = - __objc_msgSend_359Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_stringByTrimmingCharactersInSet_1 = objc.registerName( "stringByTrimmingCharactersInSet:", @@ -12798,26 +10873,21 @@ class AVFAudio { } late final __objc_msgSend_360Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_360 = __objc_msgSend_360Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_360 = - __objc_msgSend_360Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); - late final _sel_stringByPaddingToLength_withString_startingAtIndex_1 = objc - .registerName("stringByPaddingToLength:withString:startingAtIndex:"); + late final _sel_stringByPaddingToLength_withString_startingAtIndex_1 = + objc.registerName("stringByPaddingToLength:withString:startingAtIndex:"); ffi.Pointer _objc_msgSend_361( ffi.Pointer obj, ffi.Pointer sel, @@ -12829,27 +10899,22 @@ class AVFAudio { } late final __objc_msgSend_361Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer, + ffi.UnsignedLong, + )>>('objc_msgSend'); + late final __objc_msgSend_361 = __objc_msgSend_361Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, + int, ffi.Pointer, - ffi.UnsignedLong, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_361 = - __objc_msgSend_361Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_stringByFoldingWithOptions_locale_1 = objc.registerName( "stringByFoldingWithOptions:locale:", @@ -12864,30 +10929,25 @@ class AVFAudio { } late final __objc_msgSend_362Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_362 = __objc_msgSend_362Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_362 = - __objc_msgSend_362Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ) - >(); + )>(); late final _sel_stringByReplacingOccurrencesOfString_withString_options_range_1 = objc.registerName( - "stringByReplacingOccurrencesOfString:withString:options:range:", - ); + "stringByReplacingOccurrencesOfString:withString:options:range:", + ); ffi.Pointer _objc_msgSend_363( ffi.Pointer obj, ffi.Pointer sel, @@ -12907,32 +10967,27 @@ class AVFAudio { } late final __objc_msgSend_363Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + _NSRange, + )>>('objc_msgSend'); + late final __objc_msgSend_363 = __objc_msgSend_363Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, _NSRange, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_363 = - __objc_msgSend_363Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - _NSRange, - ) - >(); + )>(); - late final _sel_stringByReplacingOccurrencesOfString_withString_1 = objc - .registerName("stringByReplacingOccurrencesOfString:withString:"); + late final _sel_stringByReplacingOccurrencesOfString_withString_1 = + objc.registerName("stringByReplacingOccurrencesOfString:withString:"); ffi.Pointer _objc_msgSend_364( ffi.Pointer obj, ffi.Pointer sel, @@ -12943,28 +10998,23 @@ class AVFAudio { } late final __objc_msgSend_364Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_364 = __objc_msgSend_364Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_364 = - __objc_msgSend_364Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); - late final _sel_stringByReplacingCharactersInRange_withString_1 = objc - .registerName("stringByReplacingCharactersInRange:withString:"); + late final _sel_stringByReplacingCharactersInRange_withString_1 = + objc.registerName("stringByReplacingCharactersInRange:withString:"); ffi.Pointer _objc_msgSend_365( ffi.Pointer obj, ffi.Pointer sel, @@ -12975,25 +11025,20 @@ class AVFAudio { } late final __objc_msgSend_365Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_365 = __objc_msgSend_365Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, _NSRange, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_365 = - __objc_msgSend_365Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - ) - >(); + )>(); late final _sel_stringByApplyingTransform_reverse_1 = objc.registerName( "stringByApplyingTransform:reverse:", @@ -13008,25 +11053,20 @@ class AVFAudio { } late final __objc_msgSend_366Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + )>>('objc_msgSend'); + late final __objc_msgSend_366 = __objc_msgSend_366Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Bool, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_366 = - __objc_msgSend_366Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - ) - >(); + bool, + )>(); late final _sel_writeToURL_atomically_encoding_error_1 = objc.registerName( "writeToURL:atomically:encoding:error:", @@ -13043,29 +11083,24 @@ class AVFAudio { } late final __objc_msgSend_367Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.UnsignedLong, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_367 = __objc_msgSend_367Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Bool, - ffi.UnsignedLong, + bool, + int, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_367 = - __objc_msgSend_367Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - int, - ffi.Pointer>, - ) - >(); + )>(); late final _sel_writeToFile_atomically_encoding_error_1 = objc.registerName( "writeToFile:atomically:encoding:error:", @@ -13082,33 +11117,28 @@ class AVFAudio { } late final __objc_msgSend_368Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.UnsignedLong, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_368 = __objc_msgSend_368Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Bool, - ffi.UnsignedLong, + bool, + int, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_368 = - __objc_msgSend_368Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - int, - ffi.Pointer>, - ) - >(); + )>(); late final _sel_hash1 = objc.registerName("hash"); - late final _sel_initWithCharactersNoCopy_length_freeWhenDone_1 = objc - .registerName("initWithCharactersNoCopy:length:freeWhenDone:"); + late final _sel_initWithCharactersNoCopy_length_freeWhenDone_1 = + objc.registerName("initWithCharactersNoCopy:length:freeWhenDone:"); instancetype _objc_msgSend_369( ffi.Pointer obj, ffi.Pointer sel, @@ -13120,30 +11150,25 @@ class AVFAudio { } late final __objc_msgSend_369Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Bool, + )>>('objc_msgSend'); + late final __objc_msgSend_369 = __objc_msgSend_369Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, - ffi.Bool, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_369 = - __objc_msgSend_369Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - bool, - ) - >(); + int, + bool, + )>(); - late final _sel_initWithCharactersNoCopy_length_deallocator_1 = objc - .registerName("initWithCharactersNoCopy:length:deallocator:"); + late final _sel_initWithCharactersNoCopy_length_deallocator_1 = + objc.registerName("initWithCharactersNoCopy:length:deallocator:"); instancetype _objc_msgSend_370( ffi.Pointer obj, ffi.Pointer sel, @@ -13155,27 +11180,22 @@ class AVFAudio { } late final __objc_msgSend_370Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_370 = __objc_msgSend_370Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, + int, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_370 = - __objc_msgSend_370Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ) - >(); + )>(); late final _sel_initWithCharacters_length_1 = objc.registerName( "initWithCharacters:length:", @@ -13190,25 +11210,20 @@ class AVFAudio { } late final __objc_msgSend_371Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + )>>('objc_msgSend'); + late final __objc_msgSend_371 = __objc_msgSend_371Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_371 = - __objc_msgSend_371Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_initWithUTF8String_1 = objc.registerName( "initWithUTF8String:", @@ -13222,23 +11237,18 @@ class AVFAudio { } late final __objc_msgSend_372Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_372 = __objc_msgSend_372Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_372 = - __objc_msgSend_372Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_initWithFormat_1 = objc.registerName("initWithFormat:"); late final _sel_initWithFormat_arguments_1 = objc.registerName( @@ -13254,25 +11264,20 @@ class AVFAudio { } late final __objc_msgSend_373Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<__va_list_tag>, + )>>('objc_msgSend'); + late final __objc_msgSend_373 = __objc_msgSend_373Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer<__va_list_tag>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_373 = - __objc_msgSend_373Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<__va_list_tag>, - ) - >(); + )>(); late final _sel_initWithFormat_locale_1 = objc.registerName( "initWithFormat:locale:", @@ -13287,25 +11292,20 @@ class AVFAudio { } late final __objc_msgSend_374Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_374 = __objc_msgSend_374Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_374 = - __objc_msgSend_374Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_initWithFormat_locale_arguments_1 = objc.registerName( "initWithFormat:locale:arguments:", @@ -13321,30 +11321,25 @@ class AVFAudio { } late final __objc_msgSend_375Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<__va_list_tag>, + )>>('objc_msgSend'); + late final __objc_msgSend_375 = __objc_msgSend_375Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer<__va_list_tag>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_375 = - __objc_msgSend_375Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<__va_list_tag>, - ) - >(); + )>(); - late final _sel_initWithValidatedFormat_validFormatSpecifiers_error_1 = objc - .registerName("initWithValidatedFormat:validFormatSpecifiers:error:"); + late final _sel_initWithValidatedFormat_validFormatSpecifiers_error_1 = + objc.registerName("initWithValidatedFormat:validFormatSpecifiers:error:"); instancetype _objc_msgSend_376( ffi.Pointer obj, ffi.Pointer sel, @@ -13356,32 +11351,27 @@ class AVFAudio { } late final __objc_msgSend_376Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_376 = __objc_msgSend_376Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_376 = - __objc_msgSend_376Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ) - >(); + )>(); late final _sel_initWithValidatedFormat_validFormatSpecifiers_locale_error_1 = objc.registerName( - "initWithValidatedFormat:validFormatSpecifiers:locale:error:", - ); + "initWithValidatedFormat:validFormatSpecifiers:locale:error:", + ); instancetype _objc_msgSend_377( ffi.Pointer obj, ffi.Pointer sel, @@ -13401,7 +11391,16 @@ class AVFAudio { } late final __objc_msgSend_377Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_377 = __objc_msgSend_377Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, @@ -13409,26 +11408,12 @@ class AVFAudio { ffi.Pointer, ffi.Pointer, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_377 = - __objc_msgSend_377Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ) - >(); + )>(); late final _sel_initWithValidatedFormat_validFormatSpecifiers_arguments_error_1 = objc.registerName( - "initWithValidatedFormat:validFormatSpecifiers:arguments:error:", - ); + "initWithValidatedFormat:validFormatSpecifiers:arguments:error:", + ); instancetype _objc_msgSend_378( ffi.Pointer obj, ffi.Pointer sel, @@ -13448,7 +11433,16 @@ class AVFAudio { } late final __objc_msgSend_378Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<__va_list_tag>, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_378 = __objc_msgSend_378Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, @@ -13456,26 +11450,12 @@ class AVFAudio { ffi.Pointer, ffi.Pointer<__va_list_tag>, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_378 = - __objc_msgSend_378Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<__va_list_tag>, - ffi.Pointer>, - ) - >(); + )>(); late final _sel_initWithValidatedFormat_validFormatSpecifiers_locale_arguments_error_1 = objc.registerName( - "initWithValidatedFormat:validFormatSpecifiers:locale:arguments:error:", - ); + "initWithValidatedFormat:validFormatSpecifiers:locale:arguments:error:", + ); instancetype _objc_msgSend_379( ffi.Pointer obj, ffi.Pointer sel, @@ -13497,7 +11477,17 @@ class AVFAudio { } late final __objc_msgSend_379Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<__va_list_tag>, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_379 = __objc_msgSend_379Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, @@ -13506,22 +11496,7 @@ class AVFAudio { ffi.Pointer, ffi.Pointer<__va_list_tag>, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_379 = - __objc_msgSend_379Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<__va_list_tag>, - ffi.Pointer>, - ) - >(); + )>(); late final _sel_initWithData_encoding_1 = objc.registerName( "initWithData:encoding:", @@ -13536,25 +11511,20 @@ class AVFAudio { } late final __objc_msgSend_380Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + )>>('objc_msgSend'); + late final __objc_msgSend_380 = __objc_msgSend_380Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_380 = - __objc_msgSend_380Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_initWithBytes_length_encoding_1 = objc.registerName( "initWithBytes:length:encoding:", @@ -13570,30 +11540,25 @@ class AVFAudio { } late final __objc_msgSend_381Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.UnsignedLong, + )>>('objc_msgSend'); + late final __objc_msgSend_381 = __objc_msgSend_381Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, - ffi.UnsignedLong, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_381 = - __objc_msgSend_381Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - int, - ) - >(); - - late final _sel_initWithBytesNoCopy_length_encoding_freeWhenDone_1 = objc - .registerName("initWithBytesNoCopy:length:encoding:freeWhenDone:"); + int, + int, + )>(); + + late final _sel_initWithBytesNoCopy_length_encoding_freeWhenDone_1 = + objc.registerName("initWithBytesNoCopy:length:encoding:freeWhenDone:"); instancetype _objc_msgSend_382( ffi.Pointer obj, ffi.Pointer sel, @@ -13606,32 +11571,27 @@ class AVFAudio { } late final __objc_msgSend_382Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.UnsignedLong, + ffi.Bool, + )>>('objc_msgSend'); + late final __objc_msgSend_382 = __objc_msgSend_382Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, - ffi.UnsignedLong, - ffi.Bool, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_382 = - __objc_msgSend_382Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - int, - bool, - ) - >(); + int, + int, + bool, + )>(); - late final _sel_initWithBytesNoCopy_length_encoding_deallocator_1 = objc - .registerName("initWithBytesNoCopy:length:encoding:deallocator:"); + late final _sel_initWithBytesNoCopy_length_encoding_deallocator_1 = + objc.registerName("initWithBytesNoCopy:length:encoding:deallocator:"); instancetype _objc_msgSend_383( ffi.Pointer obj, ffi.Pointer sel, @@ -13644,29 +11604,24 @@ class AVFAudio { } late final __objc_msgSend_383Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.UnsignedLong, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_383 = __objc_msgSend_383Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, - ffi.UnsignedLong, + int, + int, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_383 = - __objc_msgSend_383Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - int, - ffi.Pointer, - ) - >(); + )>(); late final _sel_string1 = objc.registerName("string"); late final _sel_stringWithString_1 = objc.registerName("stringWithString:"); @@ -13684,8 +11639,8 @@ class AVFAudio { .registerName("stringWithValidatedFormat:validFormatSpecifiers:error:"); late final _sel_localizedStringWithValidatedFormat_validFormatSpecifiers_error_1 = objc.registerName( - "localizedStringWithValidatedFormat:validFormatSpecifiers:error:", - ); + "localizedStringWithValidatedFormat:validFormatSpecifiers:error:", + ); late final _sel_initWithCString_encoding_1 = objc.registerName( "initWithCString:encoding:", ); @@ -13699,25 +11654,20 @@ class AVFAudio { } late final __objc_msgSend_384Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + )>>('objc_msgSend'); + late final __objc_msgSend_384 = __objc_msgSend_384Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_384 = - __objc_msgSend_384Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_stringWithCString_encoding_1 = objc.registerName( "stringWithCString:encoding:", @@ -13736,27 +11686,22 @@ class AVFAudio { } late final __objc_msgSend_385Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_385 = __objc_msgSend_385Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, + int, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_385 = - __objc_msgSend_385Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>, - ) - >(); + )>(); late final _sel_initWithContentsOfFile_encoding_error_1 = objc.registerName( "initWithContentsOfFile:encoding:error:", @@ -13772,27 +11717,22 @@ class AVFAudio { } late final __objc_msgSend_386Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_386 = __objc_msgSend_386Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, + int, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_386 = - __objc_msgSend_386Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>, - ) - >(); + )>(); late final _sel_stringWithContentsOfURL_encoding_error_1 = objc.registerName( "stringWithContentsOfURL:encoding:error:", @@ -13800,8 +11740,8 @@ class AVFAudio { late final _sel_stringWithContentsOfFile_encoding_error_1 = objc.registerName( "stringWithContentsOfFile:encoding:error:", ); - late final _sel_initWithContentsOfURL_usedEncoding_error_1 = objc - .registerName("initWithContentsOfURL:usedEncoding:error:"); + late final _sel_initWithContentsOfURL_usedEncoding_error_1 = + objc.registerName("initWithContentsOfURL:usedEncoding:error:"); instancetype _objc_msgSend_387( ffi.Pointer obj, ffi.Pointer sel, @@ -13813,30 +11753,25 @@ class AVFAudio { } late final __objc_msgSend_387Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_387 = __objc_msgSend_387Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_387 = - __objc_msgSend_387Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ) - >(); + )>(); - late final _sel_initWithContentsOfFile_usedEncoding_error_1 = objc - .registerName("initWithContentsOfFile:usedEncoding:error:"); + late final _sel_initWithContentsOfFile_usedEncoding_error_1 = + objc.registerName("initWithContentsOfFile:usedEncoding:error:"); instancetype _objc_msgSend_388( ffi.Pointer obj, ffi.Pointer sel, @@ -13848,36 +11783,31 @@ class AVFAudio { } late final __objc_msgSend_388Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_388 = __objc_msgSend_388Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_388 = - __objc_msgSend_388Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ) - >(); - - late final _sel_stringWithContentsOfURL_usedEncoding_error_1 = objc - .registerName("stringWithContentsOfURL:usedEncoding:error:"); - late final _sel_stringWithContentsOfFile_usedEncoding_error_1 = objc - .registerName("stringWithContentsOfFile:usedEncoding:error:"); + )>(); + + late final _sel_stringWithContentsOfURL_usedEncoding_error_1 = + objc.registerName("stringWithContentsOfURL:usedEncoding:error:"); + late final _sel_stringWithContentsOfFile_usedEncoding_error_1 = + objc.registerName("stringWithContentsOfFile:usedEncoding:error:"); late final _sel_stringEncodingForData_encodingOptions_convertedString_usedLossyConversion_1 = objc.registerName( - "stringEncodingForData:encodingOptions:convertedString:usedLossyConversion:", - ); + "stringEncodingForData:encodingOptions:convertedString:usedLossyConversion:", + ); int _objc_msgSend_389( ffi.Pointer obj, ffi.Pointer sel, @@ -13897,29 +11827,24 @@ class AVFAudio { } late final __objc_msgSend_389Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedLong Function( + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_389 = __objc_msgSend_389Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer>, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_389 = - __objc_msgSend_389Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer, - ) - >(); + )>(); late final _sel_propertyList1 = objc.registerName("propertyList"); late final _sel_propertyListFromStringsFileFormat1 = objc.registerName( @@ -13933,21 +11858,16 @@ class AVFAudio { } late final __objc_msgSend_390Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_390 = __objc_msgSend_390Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_390 = - __objc_msgSend_390Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_cString1 = objc.registerName("cString"); late final _sel_lossyCString1 = objc.registerName("lossyCString"); @@ -13966,28 +11886,23 @@ class AVFAudio { } late final __objc_msgSend_391Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + )>>('objc_msgSend'); + late final __objc_msgSend_391 = __objc_msgSend_391Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_391 = - __objc_msgSend_391Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); - - late final _sel_getCString_maxLength_range_remainingRange_1 = objc - .registerName("getCString:maxLength:range:remainingRange:"); + int, + )>(); + + late final _sel_getCString_maxLength_range_remainingRange_1 = + objc.registerName("getCString:maxLength:range:remainingRange:"); void _objc_msgSend_392( ffi.Pointer obj, ffi.Pointer sel, @@ -14007,29 +11922,24 @@ class AVFAudio { } late final __objc_msgSend_392Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + _NSRange, + ffi.Pointer<_NSRange>, + )>>('objc_msgSend'); + late final __objc_msgSend_392 = __objc_msgSend_392Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, + int, _NSRange, ffi.Pointer<_NSRange>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_392 = - __objc_msgSend_392Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - _NSRange, - ffi.Pointer<_NSRange>, - ) - >(); + )>(); late final _sel_stringWithContentsOfFile_1 = objc.registerName( "stringWithContentsOfFile:", @@ -14037,8 +11947,8 @@ class AVFAudio { late final _sel_stringWithContentsOfURL_1 = objc.registerName( "stringWithContentsOfURL:", ); - late final _sel_initWithCStringNoCopy_length_freeWhenDone_1 = objc - .registerName("initWithCStringNoCopy:length:freeWhenDone:"); + late final _sel_initWithCStringNoCopy_length_freeWhenDone_1 = + objc.registerName("initWithCStringNoCopy:length:freeWhenDone:"); ffi.Pointer _objc_msgSend_393( ffi.Pointer obj, ffi.Pointer sel, @@ -14050,27 +11960,22 @@ class AVFAudio { } late final __objc_msgSend_393Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Bool, + )>>('objc_msgSend'); + late final __objc_msgSend_393 = __objc_msgSend_393Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, - ffi.Bool, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_393 = - __objc_msgSend_393Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - bool, - ) - >(); + int, + bool, + )>(); late final _sel_initWithCString_length_1 = objc.registerName( "initWithCString:length:", @@ -14090,23 +11995,18 @@ class AVFAudio { } late final __objc_msgSend_394Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_394 = __objc_msgSend_394Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_394 = - __objc_msgSend_394Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_variantFittingPresentationWidth_1 = objc.registerName( "variantFittingPresentationWidth:", @@ -14120,23 +12020,18 @@ class AVFAudio { } late final __objc_msgSend_395Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Long, + )>>('objc_msgSend'); + late final __objc_msgSend_395 = __objc_msgSend_395Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.Long, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_395 = - __objc_msgSend_395Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_pathWithComponents_1 = objc.registerName( "pathWithComponents:", @@ -14150,23 +12045,18 @@ class AVFAudio { } late final __objc_msgSend_396Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_396 = __objc_msgSend_396Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_396 = - __objc_msgSend_396Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_isAbsolutePath1 = objc.registerName("isAbsolutePath"); late final _sel_stringByDeletingLastPathComponent1 = objc.registerName( @@ -14198,8 +12088,8 @@ class AVFAudio { ); late final _sel_completePathIntoString_caseSensitive_matchesIntoArray_filterTypes_1 = objc.registerName( - "completePathIntoString:caseSensitive:matchesIntoArray:filterTypes:", - ); + "completePathIntoString:caseSensitive:matchesIntoArray:filterTypes:", + ); int _objc_msgSend_397( ffi.Pointer obj, ffi.Pointer sel, @@ -14219,32 +12109,27 @@ class AVFAudio { } late final __objc_msgSend_397Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedLong Function( + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Bool, + ffi.Pointer>, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_397 = __objc_msgSend_397Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, ffi.Pointer>, - ffi.Bool, + bool, ffi.Pointer>, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_397 = - __objc_msgSend_397Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - bool, - ffi.Pointer>, - ffi.Pointer, - ) - >(); + )>(); - late final _sel_stringByAddingPercentEncodingWithAllowedCharacters_1 = objc - .registerName("stringByAddingPercentEncodingWithAllowedCharacters:"); + late final _sel_stringByAddingPercentEncodingWithAllowedCharacters_1 = + objc.registerName("stringByAddingPercentEncodingWithAllowedCharacters:"); ffi.Pointer _objc_msgSend_398( ffi.Pointer obj, ffi.Pointer sel, @@ -14254,29 +12139,24 @@ class AVFAudio { } late final __objc_msgSend_398Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_398 = __objc_msgSend_398Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_398 = - __objc_msgSend_398Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_stringByRemovingPercentEncoding1 = objc.registerName( "stringByRemovingPercentEncoding", ); - late final _sel_stringByAddingPercentEscapesUsingEncoding_1 = objc - .registerName("stringByAddingPercentEscapesUsingEncoding:"); + late final _sel_stringByAddingPercentEscapesUsingEncoding_1 = + objc.registerName("stringByAddingPercentEscapesUsingEncoding:"); ffi.Pointer _objc_msgSend_399( ffi.Pointer obj, ffi.Pointer sel, @@ -14286,26 +12166,21 @@ class AVFAudio { } late final __objc_msgSend_399Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + )>>('objc_msgSend'); + late final __objc_msgSend_399 = __objc_msgSend_399Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_399 = - __objc_msgSend_399Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); - late final _sel_stringByReplacingPercentEscapesUsingEncoding_1 = objc - .registerName("stringByReplacingPercentEscapesUsingEncoding:"); + late final _sel_stringByReplacingPercentEscapesUsingEncoding_1 = + objc.registerName("stringByReplacingPercentEscapesUsingEncoding:"); late final _class_NSOrthography1 = objc.getClass("NSOrthography"); late final _sel_dominantScript1 = objc.registerName("dominantScript"); late final _sel_languageMap1 = objc.registerName("languageMap"); @@ -14322,25 +12197,20 @@ class AVFAudio { } late final __objc_msgSend_400Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_400 = __objc_msgSend_400Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_400 = - __objc_msgSend_400Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_languagesForScript_1 = objc.registerName( "languagesForScript:", @@ -14354,12 +12224,12 @@ class AVFAudio { late final _sel_defaultOrthographyForLanguage_1 = objc.registerName( "defaultOrthographyForLanguage:", ); - late final _sel_orthographyWithDominantScript_languageMap_1 = objc - .registerName("orthographyWithDominantScript:languageMap:"); + late final _sel_orthographyWithDominantScript_languageMap_1 = + objc.registerName("orthographyWithDominantScript:languageMap:"); late final _sel_linguisticTagsInRange_scheme_options_orthography_tokenRanges_1 = objc.registerName( - "linguisticTagsInRange:scheme:options:orthography:tokenRanges:", - ); + "linguisticTagsInRange:scheme:options:orthography:tokenRanges:", + ); ffi.Pointer _objc_msgSend_401( ffi.Pointer obj, ffi.Pointer sel, @@ -14381,36 +12251,31 @@ class AVFAudio { } late final __objc_msgSend_401Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_401 = __objc_msgSend_401Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, _NSRange, ffi.Pointer, - ffi.Int32, + int, ffi.Pointer, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_401 = - __objc_msgSend_401Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - int, - ffi.Pointer, - ffi.Pointer>, - ) - >(); + )>(); late final _sel_enumerateLinguisticTagsInRange_scheme_options_orthography_usingBlock_1 = objc.registerName( - "enumerateLinguisticTagsInRange:scheme:options:orthography:usingBlock:", - ); + "enumerateLinguisticTagsInRange:scheme:options:orthography:usingBlock:", + ); void _objc_msgSend_402( ffi.Pointer obj, ffi.Pointer sel, @@ -14432,31 +12297,26 @@ class AVFAudio { } late final __objc_msgSend_402Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_402 = __objc_msgSend_402Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, _NSRange, ffi.Pointer, - ffi.Int32, + int, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_402 = - __objc_msgSend_402Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - int, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_anyObject1 = objc.registerName("anyObject"); late final _sel_intersectsSet_1 = objc.registerName("intersectsSet:"); @@ -14469,23 +12329,18 @@ class AVFAudio { } late final __objc_msgSend_403Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_403 = __objc_msgSend_403Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_403 = - __objc_msgSend_403Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_isEqualToSet_1 = objc.registerName("isEqualToSet:"); late final _sel_isSubsetOfSet_1 = objc.registerName("isSubsetOfSet:"); @@ -14499,23 +12354,18 @@ class AVFAudio { } late final __objc_msgSend_404Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_404 = __objc_msgSend_404Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_404 = - __objc_msgSend_404Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_setByAddingObjectsFromSet_1 = objc.registerName( "setByAddingObjectsFromSet:", @@ -14529,23 +12379,18 @@ class AVFAudio { } late final __objc_msgSend_405Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_405 = __objc_msgSend_405Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_405 = - __objc_msgSend_405Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_setByAddingObjectsFromArray_1 = objc.registerName( "setByAddingObjectsFromArray:", @@ -14559,23 +12404,18 @@ class AVFAudio { } late final __objc_msgSend_406Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_406 = __objc_msgSend_406Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_406 = - __objc_msgSend_406Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); void _objc_msgSend_407( ffi.Pointer obj, @@ -14586,23 +12426,18 @@ class AVFAudio { } late final __objc_msgSend_407Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_407 = __objc_msgSend_407Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_407 = - __objc_msgSend_407Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); void _objc_msgSend_408( ffi.Pointer obj, @@ -14614,25 +12449,20 @@ class AVFAudio { } late final __objc_msgSend_408Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_408 = __objc_msgSend_408Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_408 = - __objc_msgSend_408Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ) - >(); + )>(); late final _sel_objectsPassingTest_1 = objc.registerName( "objectsPassingTest:", @@ -14646,23 +12476,18 @@ class AVFAudio { } late final __objc_msgSend_409Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_409 = __objc_msgSend_409Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_409 = - __objc_msgSend_409Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_objectsWithOptions_passingTest_1 = objc.registerName( "objectsWithOptions:passingTest:", @@ -14677,25 +12502,20 @@ class AVFAudio { } late final __objc_msgSend_410Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_410 = __objc_msgSend_410Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_410 = - __objc_msgSend_410Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ) - >(); + )>(); late final _sel_set1 = objc.registerName("set"); late final _sel_setWithObject_1 = objc.registerName("setWithObject:"); @@ -14713,23 +12533,18 @@ class AVFAudio { } late final __objc_msgSend_411Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_411 = __objc_msgSend_411Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_411 = - __objc_msgSend_411Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_setWithArray_1 = objc.registerName("setWithArray:"); late final _sel_initWithSet_1 = objc.registerName("initWithSet:"); @@ -14746,25 +12561,20 @@ class AVFAudio { } late final __objc_msgSend_412Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + )>>('objc_msgSend'); + late final __objc_msgSend_412 = __objc_msgSend_412Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Bool, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_412 = - __objc_msgSend_412Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - ) - >(); + bool, + )>(); late final _sel_filteredSetUsingPredicate_1 = objc.registerName( "filteredSetUsingPredicate:", @@ -14778,23 +12588,18 @@ class AVFAudio { } late final __objc_msgSend_413Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_413 = __objc_msgSend_413Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_413 = - __objc_msgSend_413Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_invocationWithMethodSignature_1 = objc.registerName( "invocationWithMethodSignature:", @@ -14808,23 +12613,18 @@ class AVFAudio { } late final __objc_msgSend_414Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_414 = __objc_msgSend_414Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_414 = - __objc_msgSend_414Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_methodSignature1 = objc.registerName("methodSignature"); ffi.Pointer _objc_msgSend_415( @@ -14835,21 +12635,16 @@ class AVFAudio { } late final __objc_msgSend_415Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_415 = __objc_msgSend_415Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_415 = - __objc_msgSend_415Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_retainArguments1 = objc.registerName("retainArguments"); late final _sel_argumentsRetained1 = objc.registerName("argumentsRetained"); @@ -14864,23 +12659,18 @@ class AVFAudio { } late final __objc_msgSend_416Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_416 = __objc_msgSend_416Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_416 = - __objc_msgSend_416Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_selector1 = objc.registerName("selector"); ffi.Pointer _objc_msgSend_417( @@ -14891,21 +12681,16 @@ class AVFAudio { } late final __objc_msgSend_417Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_417 = __objc_msgSend_417Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_417 = - __objc_msgSend_417Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_setSelector_1 = objc.registerName("setSelector:"); void _objc_msgSend_418( @@ -14917,23 +12702,18 @@ class AVFAudio { } late final __objc_msgSend_418Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_418 = __objc_msgSend_418Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_418 = - __objc_msgSend_418Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_getReturnValue_1 = objc.registerName("getReturnValue:"); late final _sel_setReturnValue_1 = objc.registerName("setReturnValue:"); @@ -14950,25 +12730,20 @@ class AVFAudio { } late final __objc_msgSend_419Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Long, + )>>('objc_msgSend'); + late final __objc_msgSend_419 = __objc_msgSend_419Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Long, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_419 = - __objc_msgSend_419Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_setArgument_atIndex_1 = objc.registerName( "setArgument:atIndex:", @@ -14985,23 +12760,18 @@ class AVFAudio { } late final __objc_msgSend_420Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_420 = __objc_msgSend_420Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_420 = - __objc_msgSend_420Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ) - >(); + )>(); late final _sel_forwardInvocation_1 = objc.registerName("forwardInvocation:"); void _objc_msgSend_421( @@ -15013,23 +12783,18 @@ class AVFAudio { } late final __objc_msgSend_421Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_421 = __objc_msgSend_421Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_421 = - __objc_msgSend_421Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_methodSignatureForSelector_1 = objc.registerName( "methodSignatureForSelector:", @@ -15043,23 +12808,18 @@ class AVFAudio { } late final __objc_msgSend_422Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_422 = __objc_msgSend_422Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_422 = - __objc_msgSend_422Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_instanceMethodSignatureForSelector_1 = objc.registerName( "instanceMethodSignatureForSelector:", @@ -15091,23 +12851,18 @@ class AVFAudio { } late final __objc_msgSend_423Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Long, + )>>('objc_msgSend'); + late final __objc_msgSend_423 = __objc_msgSend_423Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, - ffi.Long, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_423 = - __objc_msgSend_423Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_classForCoder1 = objc.registerName("classForCoder"); late final _sel_replacementObjectForCoder_1 = objc.registerName( @@ -15122,8 +12877,8 @@ class AVFAudio { ); late final _sel_attemptRecoveryFromError_optionIndex_delegate_didRecoverSelector_contextInfo_1 = objc.registerName( - "attemptRecoveryFromError:optionIndex:delegate:didRecoverSelector:contextInfo:", - ); + "attemptRecoveryFromError:optionIndex:delegate:didRecoverSelector:contextInfo:", + ); void _objc_msgSend_424( ffi.Pointer obj, ffi.Pointer sel, @@ -15145,31 +12900,26 @@ class AVFAudio { } late final __objc_msgSend_424Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_424 = __objc_msgSend_424Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, + int, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_424 = - __objc_msgSend_424Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_attemptRecoveryFromError_optionIndex_1 = objc.registerName( "attemptRecoveryFromError:optionIndex:", @@ -15184,28 +12934,23 @@ class AVFAudio { } late final __objc_msgSend_425Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + )>>('objc_msgSend'); + late final __objc_msgSend_425 = __objc_msgSend_425Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_425 = - __objc_msgSend_425Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); - late final _sel_performSelector_withObject_afterDelay_inModes_1 = objc - .registerName("performSelector:withObject:afterDelay:inModes:"); + late final _sel_performSelector_withObject_afterDelay_inModes_1 = + objc.registerName("performSelector:withObject:afterDelay:inModes:"); void _objc_msgSend_426( ffi.Pointer obj, ffi.Pointer sel, @@ -15218,29 +12963,24 @@ class AVFAudio { } late final __objc_msgSend_426Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Double, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_426 = __objc_msgSend_426Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Double, + double, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_426 = - __objc_msgSend_426Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - double, - ffi.Pointer, - ) - >(); + )>(); late final _sel_performSelector_withObject_afterDelay_1 = objc.registerName( "performSelector:withObject:afterDelay:", @@ -15256,27 +12996,22 @@ class AVFAudio { } late final __objc_msgSend_427Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Double, + )>>('objc_msgSend'); + late final __objc_msgSend_427 = __objc_msgSend_427Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Double, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_427 = - __objc_msgSend_427Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - double, - ) - >(); + double, + )>(); late final _sel_URL_resourceDataDidBecomeAvailable_1 = objc.registerName( "URL:resourceDataDidBecomeAvailable:", @@ -15291,25 +13026,20 @@ class AVFAudio { } late final __objc_msgSend_428Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_428 = __objc_msgSend_428Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_428 = - __objc_msgSend_428Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_URLResourceDidFinishLoading_1 = objc.registerName( "URLResourceDidFinishLoading:", @@ -15323,23 +13053,18 @@ class AVFAudio { } late final __objc_msgSend_429Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_429 = __objc_msgSend_429Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_429 = - __objc_msgSend_429Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_URLResourceDidCancelLoading_1 = objc.registerName( "URLResourceDidCancelLoading:", @@ -15357,25 +13082,20 @@ class AVFAudio { } late final __objc_msgSend_430Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_430 = __objc_msgSend_430Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_430 = - __objc_msgSend_430Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _class_NSFileManager1 = objc.getClass("NSFileManager"); late final _sel_defaultManager1 = objc.registerName("defaultManager"); @@ -15387,26 +13107,21 @@ class AVFAudio { } late final __objc_msgSend_431Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_431 = __objc_msgSend_431Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_431 = - __objc_msgSend_431Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_mountedVolumeURLsIncludingResourceValuesForKeys_options_1 = objc.registerName( - "mountedVolumeURLsIncludingResourceValuesForKeys:options:", - ); + "mountedVolumeURLsIncludingResourceValuesForKeys:options:", + ); ffi.Pointer _objc_msgSend_432( ffi.Pointer obj, ffi.Pointer sel, @@ -15417,28 +13132,23 @@ class AVFAudio { } late final __objc_msgSend_432Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + )>>('objc_msgSend'); + late final __objc_msgSend_432 = __objc_msgSend_432Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_432 = - __objc_msgSend_432Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); - late final _sel_unmountVolumeAtURL_options_completionHandler_1 = objc - .registerName("unmountVolumeAtURL:options:completionHandler:"); + late final _sel_unmountVolumeAtURL_options_completionHandler_1 = + objc.registerName("unmountVolumeAtURL:options:completionHandler:"); void _objc_msgSend_433( ffi.Pointer obj, ffi.Pointer sel, @@ -15450,32 +13160,27 @@ class AVFAudio { } late final __objc_msgSend_433Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_433 = __objc_msgSend_433Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_433 = - __objc_msgSend_433Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ) - >(); + )>(); late final _sel_contentsOfDirectoryAtURL_includingPropertiesForKeys_options_error_1 = objc.registerName( - "contentsOfDirectoryAtURL:includingPropertiesForKeys:options:error:", - ); + "contentsOfDirectoryAtURL:includingPropertiesForKeys:options:error:", + ); ffi.Pointer _objc_msgSend_434( ffi.Pointer obj, ffi.Pointer sel, @@ -15488,29 +13193,24 @@ class AVFAudio { } late final __objc_msgSend_434Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_434 = __objc_msgSend_434Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_434 = - __objc_msgSend_434Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>, - ) - >(); + )>(); late final _sel_URLsForDirectory_inDomains_1 = objc.registerName( "URLsForDirectory:inDomains:", @@ -15525,30 +13225,25 @@ class AVFAudio { } late final __objc_msgSend_435Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Int32, + )>>('objc_msgSend'); + late final __objc_msgSend_435 = __objc_msgSend_435Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_435 = - __objc_msgSend_435Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - int, - ) - >(); + int, + int, + )>(); late final _sel_URLForDirectory_inDomain_appropriateForURL_create_error_1 = objc.registerName( - "URLForDirectory:inDomain:appropriateForURL:create:error:", - ); + "URLForDirectory:inDomain:appropriateForURL:create:error:", + ); ffi.Pointer _objc_msgSend_436( ffi.Pointer obj, ffi.Pointer sel, @@ -15570,34 +13265,29 @@ class AVFAudio { } late final __objc_msgSend_436Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Int32, + ffi.Pointer, + ffi.Bool, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_436 = __objc_msgSend_436Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, - ffi.Int32, + int, + int, ffi.Pointer, - ffi.Bool, + bool, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_436 = - __objc_msgSend_436Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - int, - ffi.Pointer, - bool, - ffi.Pointer>, - ) - >(); + )>(); - late final _sel_getRelationship_ofDirectoryAtURL_toItemAtURL_error_1 = objc - .registerName("getRelationship:ofDirectoryAtURL:toItemAtURL:error:"); + late final _sel_getRelationship_ofDirectoryAtURL_toItemAtURL_error_1 = + objc.registerName("getRelationship:ofDirectoryAtURL:toItemAtURL:error:"); bool _objc_msgSend_437( ffi.Pointer obj, ffi.Pointer sel, @@ -15617,34 +13307,29 @@ class AVFAudio { } late final __objc_msgSend_437Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_437 = __objc_msgSend_437Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_437 = - __objc_msgSend_437Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ) - >(); + )>(); late final _sel_getRelationship_ofDirectory_inDomain_toItemAtURL_error_1 = objc.registerName( - "getRelationship:ofDirectory:inDomain:toItemAtURL:error:", - ); + "getRelationship:ofDirectory:inDomain:toItemAtURL:error:", + ); bool _objc_msgSend_438( ffi.Pointer obj, ffi.Pointer sel, @@ -15666,36 +13351,31 @@ class AVFAudio { } late final __objc_msgSend_438Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Int32, + ffi.Pointer, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_438 = __objc_msgSend_438Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, - ffi.Int32, + int, + int, ffi.Pointer, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_438 = - __objc_msgSend_438Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - int, - ffi.Pointer, - ffi.Pointer>, - ) - >(); + )>(); late final _sel_createDirectoryAtURL_withIntermediateDirectories_attributes_error_1 = objc.registerName( - "createDirectoryAtURL:withIntermediateDirectories:attributes:error:", - ); + "createDirectoryAtURL:withIntermediateDirectories:attributes:error:", + ); bool _objc_msgSend_439( ffi.Pointer obj, ffi.Pointer sel, @@ -15715,32 +13395,27 @@ class AVFAudio { } late final __objc_msgSend_439Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.Pointer, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_439 = __objc_msgSend_439Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Bool, + bool, ffi.Pointer, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_439 = - __objc_msgSend_439Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - ffi.Pointer, - ffi.Pointer>, - ) - >(); + )>(); - late final _sel_createSymbolicLinkAtURL_withDestinationURL_error_1 = objc - .registerName("createSymbolicLinkAtURL:withDestinationURL:error:"); + late final _sel_createSymbolicLinkAtURL_withDestinationURL_error_1 = + objc.registerName("createSymbolicLinkAtURL:withDestinationURL:error:"); bool _objc_msgSend_440( ffi.Pointer obj, ffi.Pointer sel, @@ -15752,27 +13427,22 @@ class AVFAudio { } late final __objc_msgSend_440Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_440 = __objc_msgSend_440Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_440 = - __objc_msgSend_440Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ) - >(); + )>(); late final _sel_delegate1 = objc.registerName("delegate"); late final _sel_setDelegate_1 = objc.registerName("setDelegate:"); @@ -15790,32 +13460,27 @@ class AVFAudio { } late final __objc_msgSend_441Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_441 = __objc_msgSend_441Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_441 = - __objc_msgSend_441Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ) - >(); + )>(); late final _sel_createDirectoryAtPath_withIntermediateDirectories_attributes_error_1 = objc.registerName( - "createDirectoryAtPath:withIntermediateDirectories:attributes:error:", - ); + "createDirectoryAtPath:withIntermediateDirectories:attributes:error:", + ); bool _objc_msgSend_442( ffi.Pointer obj, ffi.Pointer sel, @@ -15835,29 +13500,24 @@ class AVFAudio { } late final __objc_msgSend_442Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.Pointer, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_442 = __objc_msgSend_442Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Bool, + bool, ffi.Pointer, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_442 = - __objc_msgSend_442Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - ffi.Pointer, - ffi.Pointer>, - ) - >(); + )>(); late final _sel_contentsOfDirectoryAtPath_error_1 = objc.registerName( "contentsOfDirectoryAtPath:error:", @@ -15872,25 +13532,20 @@ class AVFAudio { } late final __objc_msgSend_443Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_443 = __objc_msgSend_443Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_443 = - __objc_msgSend_443Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ) - >(); + )>(); late final _sel_subpathsOfDirectoryAtPath_error_1 = objc.registerName( "subpathsOfDirectoryAtPath:error:", @@ -15908,31 +13563,26 @@ class AVFAudio { } late final __objc_msgSend_444Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_444 = __objc_msgSend_444Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_444 = - __objc_msgSend_444Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ) - >(); + )>(); late final _sel_attributesOfFileSystemForPath_error_1 = objc.registerName( "attributesOfFileSystemForPath:error:", ); - late final _sel_createSymbolicLinkAtPath_withDestinationPath_error_1 = objc - .registerName("createSymbolicLinkAtPath:withDestinationPath:error:"); + late final _sel_createSymbolicLinkAtPath_withDestinationPath_error_1 = + objc.registerName("createSymbolicLinkAtPath:withDestinationPath:error:"); bool _objc_msgSend_445( ffi.Pointer obj, ffi.Pointer sel, @@ -15944,27 +13594,22 @@ class AVFAudio { } late final __objc_msgSend_445Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_445 = __objc_msgSend_445Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_445 = - __objc_msgSend_445Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ) - >(); + )>(); late final _sel_destinationOfSymbolicLinkAtPath_error_1 = objc.registerName( "destinationOfSymbolicLinkAtPath:error:", @@ -15979,25 +13624,20 @@ class AVFAudio { } late final __objc_msgSend_446Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_446 = __objc_msgSend_446Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_446 = - __objc_msgSend_446Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ) - >(); + )>(); late final _sel_copyItemAtPath_toPath_error_1 = objc.registerName( "copyItemAtPath:toPath:error:", @@ -16021,25 +13661,20 @@ class AVFAudio { } late final __objc_msgSend_447Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_447 = __objc_msgSend_447Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_447 = - __objc_msgSend_447Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ) - >(); + )>(); late final _sel_copyItemAtURL_toURL_error_1 = objc.registerName( "copyItemAtURL:toURL:error:", @@ -16067,27 +13702,22 @@ class AVFAudio { } late final __objc_msgSend_448Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_448 = __objc_msgSend_448Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer>, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_448 = - __objc_msgSend_448Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer>, - ) - >(); + )>(); late final _sel_fileAttributesAtPath_traverseLink_1 = objc.registerName( "fileAttributesAtPath:traverseLink:", @@ -16102,25 +13732,20 @@ class AVFAudio { } late final __objc_msgSend_449Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + )>>('objc_msgSend'); + late final __objc_msgSend_449 = __objc_msgSend_449Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Bool, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_449 = - __objc_msgSend_449Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - ) - >(); + bool, + )>(); late final _sel_changeFileAttributes_atPath_1 = objc.registerName( "changeFileAttributes:atPath:", @@ -16135,25 +13760,20 @@ class AVFAudio { } late final __objc_msgSend_450Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_450 = __objc_msgSend_450Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_450 = - __objc_msgSend_450Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_directoryContentsAtPath_1 = objc.registerName( "directoryContentsAtPath:", @@ -16177,25 +13797,20 @@ class AVFAudio { } late final __objc_msgSend_451Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_451 = __objc_msgSend_451Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_451 = - __objc_msgSend_451Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_createDirectoryAtPath_attributes_1 = objc.registerName( "createDirectoryAtPath:attributes:", @@ -16210,25 +13825,20 @@ class AVFAudio { } late final __objc_msgSend_452Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_452 = __objc_msgSend_452Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_452 = - __objc_msgSend_452Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_linkPath_toPath_handler_1 = objc.registerName( "linkPath:toPath:handler:", @@ -16244,27 +13854,22 @@ class AVFAudio { } late final __objc_msgSend_453Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_453 = __objc_msgSend_453Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_453 = - __objc_msgSend_453Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_copyPath_toPath_handler_1 = objc.registerName( "copyPath:toPath:handler:", @@ -16285,25 +13890,20 @@ class AVFAudio { } late final __objc_msgSend_454Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_454 = __objc_msgSend_454Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_454 = - __objc_msgSend_454Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_currentDirectoryPath1 = objc.registerName( "currentDirectoryPath", @@ -16325,25 +13925,20 @@ class AVFAudio { } late final __objc_msgSend_455Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_455 = __objc_msgSend_455Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_455 = - __objc_msgSend_455Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_isReadableFileAtPath_1 = objc.registerName( "isReadableFileAtPath:", @@ -16367,8 +13962,8 @@ class AVFAudio { late final _sel_enumeratorAtPath_1 = objc.registerName("enumeratorAtPath:"); late final _sel_enumeratorAtURL_includingPropertiesForKeys_options_errorHandler_1 = objc.registerName( - "enumeratorAtURL:includingPropertiesForKeys:options:errorHandler:", - ); + "enumeratorAtURL:includingPropertiesForKeys:options:errorHandler:", + ); ffi.Pointer _objc_msgSend_456( ffi.Pointer obj, ffi.Pointer sel, @@ -16381,29 +13976,24 @@ class AVFAudio { } late final __objc_msgSend_456Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_456 = __objc_msgSend_456Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_456 = - __objc_msgSend_456Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ) - >(); + )>(); late final _sel_subpathsAtPath_1 = objc.registerName("subpathsAtPath:"); late final _sel_contentsAtPath_1 = objc.registerName("contentsAtPath:"); @@ -16416,23 +14006,18 @@ class AVFAudio { } late final __objc_msgSend_457Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_457 = __objc_msgSend_457Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_457 = - __objc_msgSend_457Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_createFileAtPath_contents_attributes_1 = objc.registerName( "createFileAtPath:contents:attributes:", @@ -16448,27 +14033,22 @@ class AVFAudio { } late final __objc_msgSend_458Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_458 = __objc_msgSend_458Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_458 = - __objc_msgSend_458Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_fileSystemRepresentationWithPath_1 = objc.registerName( "fileSystemRepresentationWithPath:", @@ -16482,26 +14062,21 @@ class AVFAudio { } late final __objc_msgSend_459Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_459 = __objc_msgSend_459Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_459 = - __objc_msgSend_459Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); - late final _sel_stringWithFileSystemRepresentation_length_1 = objc - .registerName("stringWithFileSystemRepresentation:length:"); + late final _sel_stringWithFileSystemRepresentation_length_1 = + objc.registerName("stringWithFileSystemRepresentation:length:"); ffi.Pointer _objc_msgSend_460( ffi.Pointer obj, ffi.Pointer sel, @@ -16512,30 +14087,25 @@ class AVFAudio { } late final __objc_msgSend_460Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + )>>('objc_msgSend'); + late final __objc_msgSend_460 = __objc_msgSend_460Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_460 = - __objc_msgSend_460Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_replaceItemAtURL_withItemAtURL_backupItemName_options_resultingItemURL_error_1 = objc.registerName( - "replaceItemAtURL:withItemAtURL:backupItemName:options:resultingItemURL:error:", - ); + "replaceItemAtURL:withItemAtURL:backupItemName:options:resultingItemURL:error:", + ); bool _objc_msgSend_461( ffi.Pointer obj, ffi.Pointer sel, @@ -16559,36 +14129,31 @@ class AVFAudio { } late final __objc_msgSend_461Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer>, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_461 = __objc_msgSend_461Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, ffi.Pointer>, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_461 = - __objc_msgSend_461Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>, - ffi.Pointer>, - ) - >(); - - late final _sel_setUbiquitous_itemAtURL_destinationURL_error_1 = objc - .registerName("setUbiquitous:itemAtURL:destinationURL:error:"); + )>(); + + late final _sel_setUbiquitous_itemAtURL_destinationURL_error_1 = + objc.registerName("setUbiquitous:itemAtURL:destinationURL:error:"); bool _objc_msgSend_462( ffi.Pointer obj, ffi.Pointer sel, @@ -16601,35 +14166,30 @@ class AVFAudio { } late final __objc_msgSend_462Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_462 = __objc_msgSend_462Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, - ffi.Bool, + bool, ffi.Pointer, ffi.Pointer, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_462 = - __objc_msgSend_462Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - bool, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ) - >(); + )>(); late final _sel_isUbiquitousItemAtURL_1 = objc.registerName( "isUbiquitousItemAtURL:", ); - late final _sel_startDownloadingUbiquitousItemAtURL_error_1 = objc - .registerName("startDownloadingUbiquitousItemAtURL:error:"); + late final _sel_startDownloadingUbiquitousItemAtURL_error_1 = + objc.registerName("startDownloadingUbiquitousItemAtURL:error:"); late final _sel_evictUbiquitousItemAtURL_error_1 = objc.registerName( "evictUbiquitousItemAtURL:error:", ); @@ -16645,28 +14205,23 @@ class AVFAudio { } late final __objc_msgSend_463Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_463 = __objc_msgSend_463Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_463 = - __objc_msgSend_463Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_URLForPublishingUbiquitousItemAtURL_expirationDate_error_1 = objc.registerName( - "URLForPublishingUbiquitousItemAtURL:expirationDate:error:", - ); + "URLForPublishingUbiquitousItemAtURL:expirationDate:error:", + ); ffi.Pointer _objc_msgSend_464( ffi.Pointer obj, ffi.Pointer sel, @@ -16678,27 +14233,22 @@ class AVFAudio { } late final __objc_msgSend_464Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_464 = __objc_msgSend_464Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer>, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_464 = - __objc_msgSend_464Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer>, - ) - >(); + )>(); late final _sel_ubiquityIdentityToken1 = objc.registerName( "ubiquityIdentityToken", @@ -16715,28 +14265,23 @@ class AVFAudio { } late final __objc_msgSend_465Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_465 = __objc_msgSend_465Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_465 = - __objc_msgSend_465Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); - late final _sel_containerURLForSecurityApplicationGroupIdentifier_1 = objc - .registerName("containerURLForSecurityApplicationGroupIdentifier:"); + late final _sel_containerURLForSecurityApplicationGroupIdentifier_1 = + objc.registerName("containerURLForSecurityApplicationGroupIdentifier:"); late final _sel_homeDirectoryForCurrentUser1 = objc.registerName( "homeDirectoryForCurrentUser", ); @@ -16748,21 +14293,16 @@ class AVFAudio { } late final __objc_msgSend_466Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_466 = __objc_msgSend_466Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_466 = - __objc_msgSend_466Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_temporaryDirectory1 = objc.registerName("temporaryDirectory"); late final _sel_homeDirectoryForUser_1 = objc.registerName( @@ -16781,25 +14321,20 @@ class AVFAudio { } late final __objc_msgSend_467Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_467 = __objc_msgSend_467Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_467 = - __objc_msgSend_467Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_fileManager_willProcessPath_1 = objc.registerName( "fileManager:willProcessPath:", @@ -16814,25 +14349,20 @@ class AVFAudio { } late final __objc_msgSend_468Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_468 = __objc_msgSend_468Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_468 = - __objc_msgSend_468Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_validateValue_forKey_error_1 = objc.registerName( "validateValue:forKey:error:", @@ -16852,25 +14382,20 @@ class AVFAudio { } late final __objc_msgSend_469Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + )>>('objc_msgSend'); + late final __objc_msgSend_469 = __objc_msgSend_469Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_469 = - __objc_msgSend_469Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_removeLastObject1 = objc.registerName("removeLastObject"); late final _sel_removeObjectAtIndex_1 = objc.registerName( @@ -16885,23 +14410,18 @@ class AVFAudio { } late final __objc_msgSend_470Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + )>>('objc_msgSend'); + late final __objc_msgSend_470 = __objc_msgSend_470Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_470 = - __objc_msgSend_470Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_replaceObjectAtIndex_withObject_1 = objc.registerName( "replaceObjectAtIndex:withObject:", @@ -16916,25 +14436,20 @@ class AVFAudio { } late final __objc_msgSend_471Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_471 = __objc_msgSend_471Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, + int, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_471 = - __objc_msgSend_471Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ) - >(); + )>(); late final _sel_initWithCapacity_1 = objc.registerName("initWithCapacity:"); late final _sel_addObjectsFromArray_1 = objc.registerName( @@ -16949,23 +14464,18 @@ class AVFAudio { } late final __objc_msgSend_472Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_472 = __objc_msgSend_472Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_472 = - __objc_msgSend_472Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_exchangeObjectAtIndex_withObjectAtIndex_1 = objc.registerName( "exchangeObjectAtIndex:withObjectAtIndex:", @@ -16980,25 +14490,20 @@ class AVFAudio { } late final __objc_msgSend_473Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.UnsignedLong, + )>>('objc_msgSend'); + late final __objc_msgSend_473 = __objc_msgSend_473Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, - ffi.UnsignedLong, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_473 = - __objc_msgSend_473Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - int, - ) - >(); + int, + int, + )>(); late final _sel_removeAllObjects1 = objc.registerName("removeAllObjects"); late final _sel_removeObject_inRange_1 = objc.registerName( @@ -17014,25 +14519,20 @@ class AVFAudio { } late final __objc_msgSend_474Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange, + )>>('objc_msgSend'); + late final __objc_msgSend_474 = __objc_msgSend_474Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, _NSRange, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_474 = - __objc_msgSend_474Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - _NSRange, - ) - >(); + )>(); late final _sel_removeObject_1 = objc.registerName("removeObject:"); late final _sel_removeObjectIdenticalTo_inRange_1 = objc.registerName( @@ -17054,25 +14554,20 @@ class AVFAudio { } late final __objc_msgSend_475Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + )>>('objc_msgSend'); + late final __objc_msgSend_475 = __objc_msgSend_475Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_475 = - __objc_msgSend_475Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_removeObjectsInArray_1 = objc.registerName( "removeObjectsInArray:", @@ -17089,26 +14584,21 @@ class AVFAudio { } late final __objc_msgSend_476Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + )>>('objc_msgSend'); + late final __objc_msgSend_476 = __objc_msgSend_476Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, _NSRange, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_476 = - __objc_msgSend_476Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ) - >(); + )>(); - late final _sel_replaceObjectsInRange_withObjectsFromArray_range_1 = objc - .registerName("replaceObjectsInRange:withObjectsFromArray:range:"); + late final _sel_replaceObjectsInRange_withObjectsFromArray_range_1 = + objc.registerName("replaceObjectsInRange:withObjectsFromArray:range:"); void _objc_msgSend_477( ffi.Pointer obj, ffi.Pointer sel, @@ -17120,30 +14610,25 @@ class AVFAudio { } late final __objc_msgSend_477Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + _NSRange, + )>>('objc_msgSend'); + late final __objc_msgSend_477 = __objc_msgSend_477Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, _NSRange, ffi.Pointer, _NSRange, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_477 = - __objc_msgSend_477Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - _NSRange, - ) - >(); + )>(); - late final _sel_replaceObjectsInRange_withObjectsFromArray_1 = objc - .registerName("replaceObjectsInRange:withObjectsFromArray:"); + late final _sel_replaceObjectsInRange_withObjectsFromArray_1 = + objc.registerName("replaceObjectsInRange:withObjectsFromArray:"); void _objc_msgSend_478( ffi.Pointer obj, ffi.Pointer sel, @@ -17154,25 +14639,20 @@ class AVFAudio { } late final __objc_msgSend_478Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_478 = __objc_msgSend_478Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, _NSRange, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_478 = - __objc_msgSend_478Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - ) - >(); + )>(); late final _sel_setArray_1 = objc.registerName("setArray:"); late final _sel_sortUsingFunction_context_1 = objc.registerName( @@ -17182,55 +14662,45 @@ class AVFAudio { ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer< - ffi.NativeFunction< - ffi.Long Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - > compare, + ffi.NativeFunction< + ffi.Long Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>> + compare, ffi.Pointer context, ) { return __objc_msgSend_479(obj, sel, compare, context); } late final __objc_msgSend_479Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.Long Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_479 = __objc_msgSend_479Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer< - ffi.NativeFunction< - ffi.Long Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >, + ffi.NativeFunction< + ffi.Long Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_479 = - __objc_msgSend_479Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.Long Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >, - ffi.Pointer, - ) - >(); + )>(); late final _sel_sortUsingSelector_1 = objc.registerName("sortUsingSelector:"); late final _sel_insertObjects_atIndexes_1 = objc.registerName( @@ -17246,25 +14716,20 @@ class AVFAudio { } late final __objc_msgSend_480Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_480 = __objc_msgSend_480Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_480 = - __objc_msgSend_480Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_removeObjectsAtIndexes_1 = objc.registerName( "removeObjectsAtIndexes:", @@ -17278,23 +14743,18 @@ class AVFAudio { } late final __objc_msgSend_481Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_481 = __objc_msgSend_481Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_481 = - __objc_msgSend_481Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_replaceObjectsAtIndexes_withObjects_1 = objc.registerName( "replaceObjectsAtIndexes:withObjects:", @@ -17309,25 +14769,20 @@ class AVFAudio { } late final __objc_msgSend_482Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_482 = __objc_msgSend_482Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_482 = - __objc_msgSend_482Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_setObject_atIndexedSubscript_1 = objc.registerName( "setObject:atIndexedSubscript:", @@ -17344,23 +14799,18 @@ class AVFAudio { } late final __objc_msgSend_483Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_483 = __objc_msgSend_483Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_483 = - __objc_msgSend_483Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_sortWithOptions_usingComparator_1 = objc.registerName( "sortWithOptions:usingComparator:", @@ -17375,25 +14825,20 @@ class AVFAudio { } late final __objc_msgSend_484Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_484 = __objc_msgSend_484Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_484 = - __objc_msgSend_484Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ) - >(); + )>(); late final _sel_arrayWithCapacity_1 = objc.registerName("arrayWithCapacity:"); ffi.Pointer _objc_msgSend_485( @@ -17405,23 +14850,18 @@ class AVFAudio { } late final __objc_msgSend_485Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_485 = __objc_msgSend_485Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_485 = - __objc_msgSend_485Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); ffi.Pointer _objc_msgSend_486( ffi.Pointer obj, @@ -17432,23 +14872,18 @@ class AVFAudio { } late final __objc_msgSend_486Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_486 = __objc_msgSend_486Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_486 = - __objc_msgSend_486Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_applyDifference_1 = objc.registerName("applyDifference:"); late final _sel_sortUsingDescriptors_1 = objc.registerName( @@ -17466,23 +14901,18 @@ class AVFAudio { } late final __objc_msgSend_487Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_487 = __objc_msgSend_487Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_487 = - __objc_msgSend_487Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_mutableArrayValueForKey_1 = objc.registerName( "mutableArrayValueForKey:", @@ -17496,23 +14926,18 @@ class AVFAudio { } late final __objc_msgSend_488Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_488 = __objc_msgSend_488Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_488 = - __objc_msgSend_488Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _class_NSMutableOrderedSet1 = objc.getClass("NSMutableOrderedSet"); late final _class_NSOrderedSet1 = objc.getClass("NSOrderedSet"); @@ -17528,23 +14953,18 @@ class AVFAudio { } late final __objc_msgSend_489Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_489 = __objc_msgSend_489Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_489 = - __objc_msgSend_489Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_intersectsOrderedSet_1 = objc.registerName( "intersectsOrderedSet:", @@ -17561,21 +14981,16 @@ class AVFAudio { } late final __objc_msgSend_490Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_490 = __objc_msgSend_490Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_490 = - __objc_msgSend_490Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); ffi.Pointer _objc_msgSend_491( ffi.Pointer obj, @@ -17585,21 +15000,16 @@ class AVFAudio { } late final __objc_msgSend_491Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_491 = __objc_msgSend_491Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_491 = - __objc_msgSend_491Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_orderedSet1 = objc.registerName("orderedSet"); late final _sel_orderedSetWithObject_1 = objc.registerName( @@ -17623,26 +15033,21 @@ class AVFAudio { } late final __objc_msgSend_492Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_492 = __objc_msgSend_492Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_492 = - __objc_msgSend_492Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); - late final _sel_orderedSetWithOrderedSet_range_copyItems_1 = objc - .registerName("orderedSetWithOrderedSet:range:copyItems:"); + late final _sel_orderedSetWithOrderedSet_range_copyItems_1 = + objc.registerName("orderedSetWithOrderedSet:range:copyItems:"); instancetype _objc_msgSend_493( ffi.Pointer obj, ffi.Pointer sel, @@ -17654,27 +15059,22 @@ class AVFAudio { } late final __objc_msgSend_493Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Bool, + )>>('objc_msgSend'); + late final __objc_msgSend_493 = __objc_msgSend_493Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, _NSRange, - ffi.Bool, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_493 = - __objc_msgSend_493Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - _NSRange, - bool, - ) - >(); + bool, + )>(); late final _sel_orderedSetWithArray_1 = objc.registerName( "orderedSetWithArray:", @@ -17693,27 +15093,22 @@ class AVFAudio { } late final __objc_msgSend_494Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Bool, + )>>('objc_msgSend'); + late final __objc_msgSend_494 = __objc_msgSend_494Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, _NSRange, - ffi.Bool, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_494 = - __objc_msgSend_494Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - _NSRange, - bool, - ) - >(); + bool, + )>(); late final _sel_orderedSetWithSet_1 = objc.registerName("orderedSetWithSet:"); late final _sel_orderedSetWithSet_copyItems_1 = objc.registerName( @@ -17736,25 +15131,20 @@ class AVFAudio { } late final __objc_msgSend_495Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + )>>('objc_msgSend'); + late final __objc_msgSend_495 = __objc_msgSend_495Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Bool, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_495 = - __objc_msgSend_495Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - ) - >(); + bool, + )>(); late final _sel_initWithOrderedSet_range_copyItems_1 = objc.registerName( "initWithOrderedSet:range:copyItems:", @@ -17764,8 +15154,8 @@ class AVFAudio { ); late final _sel_differenceFromOrderedSet_withOptions_usingEquivalenceTest_1 = objc.registerName( - "differenceFromOrderedSet:withOptions:usingEquivalenceTest:", - ); + "differenceFromOrderedSet:withOptions:usingEquivalenceTest:", + ); ffi.Pointer _objc_msgSend_496( ffi.Pointer obj, ffi.Pointer sel, @@ -17777,27 +15167,22 @@ class AVFAudio { } late final __objc_msgSend_496Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_496 = __objc_msgSend_496Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_496 = - __objc_msgSend_496Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ) - >(); + )>(); late final _sel_differenceFromOrderedSet_withOptions_1 = objc.registerName( "differenceFromOrderedSet:withOptions:", @@ -17812,25 +15197,20 @@ class AVFAudio { } late final __objc_msgSend_497Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + )>>('objc_msgSend'); + late final __objc_msgSend_497 = __objc_msgSend_497Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_497 = - __objc_msgSend_497Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_differenceFromOrderedSet_1 = objc.registerName( "differenceFromOrderedSet:", @@ -17847,23 +15227,18 @@ class AVFAudio { } late final __objc_msgSend_498Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_498 = __objc_msgSend_498Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_498 = - __objc_msgSend_498Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_filteredOrderedSetUsingPredicate_1 = objc.registerName( "filteredOrderedSetUsingPredicate:", @@ -17877,23 +15252,18 @@ class AVFAudio { } late final __objc_msgSend_499Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_499 = __objc_msgSend_499Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_499 = - __objc_msgSend_499Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_addObjects_count_1 = objc.registerName("addObjects:count:"); void _objc_msgSend_500( @@ -17906,25 +15276,20 @@ class AVFAudio { } late final __objc_msgSend_500Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.UnsignedLong, + )>>('objc_msgSend'); + late final __objc_msgSend_500 = __objc_msgSend_500Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer>, - ffi.UnsignedLong, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_500 = - __objc_msgSend_500Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - int, - ) - >(); + int, + )>(); late final _sel_moveObjectsAtIndexes_toIndex_1 = objc.registerName( "moveObjectsAtIndexes:toIndex:", @@ -17939,25 +15304,20 @@ class AVFAudio { } late final __objc_msgSend_501Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + )>>('objc_msgSend'); + late final __objc_msgSend_501 = __objc_msgSend_501Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_501 = - __objc_msgSend_501Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_setObject_atIndex_1 = objc.registerName("setObject:atIndex:"); late final _sel_replaceObjectsInRange_withObjects_count_1 = objc.registerName( @@ -17974,27 +15334,22 @@ class AVFAudio { } late final __objc_msgSend_502Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer>, + ffi.UnsignedLong, + )>>('objc_msgSend'); + late final __objc_msgSend_502 = __objc_msgSend_502Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, _NSRange, ffi.Pointer>, - ffi.UnsignedLong, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_502 = - __objc_msgSend_502Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer>, - int, - ) - >(); + int, + )>(); late final _sel_intersectOrderedSet_1 = objc.registerName( "intersectOrderedSet:", @@ -18008,23 +15363,18 @@ class AVFAudio { } late final __objc_msgSend_503Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_503 = __objc_msgSend_503Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_503 = - __objc_msgSend_503Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_minusOrderedSet_1 = objc.registerName("minusOrderedSet:"); late final _sel_unionOrderedSet_1 = objc.registerName("unionOrderedSet:"); @@ -18038,23 +15388,18 @@ class AVFAudio { } late final __objc_msgSend_504Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_504 = __objc_msgSend_504Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_504 = - __objc_msgSend_504Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_minusSet_1 = objc.registerName("minusSet:"); late final _sel_unionSet_1 = objc.registerName("unionSet:"); @@ -18072,27 +15417,22 @@ class AVFAudio { } late final __objc_msgSend_505Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Int32, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_505 = __objc_msgSend_505Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, _NSRange, - ffi.Int32, + int, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_505 = - __objc_msgSend_505Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - int, - ffi.Pointer, - ) - >(); + )>(); late final _sel_orderedSetWithCapacity_1 = objc.registerName( "orderedSetWithCapacity:", @@ -18109,23 +15449,18 @@ class AVFAudio { } late final __objc_msgSend_506Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_506 = __objc_msgSend_506Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_506 = - __objc_msgSend_506Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _class_NSMutableSet1 = objc.getClass("NSMutableSet"); late final _sel_setSet_1 = objc.registerName("setSet:"); @@ -18142,23 +15477,18 @@ class AVFAudio { } late final __objc_msgSend_507Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_507 = __objc_msgSend_507Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_507 = - __objc_msgSend_507Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_valueForKeyPath_1 = objc.registerName("valueForKeyPath:"); late final _sel_setValue_forKeyPath_1 = objc.registerName( @@ -18195,23 +15525,18 @@ class AVFAudio { } late final __objc_msgSend_508Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_508 = __objc_msgSend_508Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_508 = - __objc_msgSend_508Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_setValuesForKeysWithDictionary_1 = objc.registerName( "setValuesForKeysWithDictionary:", @@ -18225,23 +15550,18 @@ class AVFAudio { } late final __objc_msgSend_509Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_509 = __objc_msgSend_509Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_509 = - __objc_msgSend_509Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_storedValueForKey_1 = objc.registerName("storedValueForKey:"); late final _sel_takeStoredValue_forKey_1 = objc.registerName( @@ -18264,8 +15584,8 @@ class AVFAudio { late final _sel_takeValuesFromDictionary_1 = objc.registerName( "takeValuesFromDictionary:", ); - late final _sel_observeValueForKeyPath_ofObject_change_context_1 = objc - .registerName("observeValueForKeyPath:ofObject:change:context:"); + late final _sel_observeValueForKeyPath_ofObject_change_context_1 = + objc.registerName("observeValueForKeyPath:ofObject:change:context:"); void _objc_msgSend_510( ffi.Pointer obj, ffi.Pointer sel, @@ -18278,29 +15598,24 @@ class AVFAudio { } late final __objc_msgSend_510Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_510 = __objc_msgSend_510Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_510 = - __objc_msgSend_510Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_willChangeValueForKey_1 = objc.registerName( "willChangeValueForKey:", @@ -18322,33 +15637,28 @@ class AVFAudio { } late final __objc_msgSend_511Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_511 = __objc_msgSend_511Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_511 = - __objc_msgSend_511Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_didChange_valuesAtIndexes_forKey_1 = objc.registerName( "didChange:valuesAtIndexes:forKey:", ); - late final _sel_willChangeValueForKey_withSetMutation_usingObjects_1 = objc - .registerName("willChangeValueForKey:withSetMutation:usingObjects:"); + late final _sel_willChangeValueForKey_withSetMutation_usingObjects_1 = + objc.registerName("willChangeValueForKey:withSetMutation:usingObjects:"); void _objc_msgSend_512( ffi.Pointer obj, ffi.Pointer sel, @@ -18360,30 +15670,25 @@ class AVFAudio { } late final __objc_msgSend_512Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_512 = __objc_msgSend_512Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_512 = - __objc_msgSend_512Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ) - >(); + )>(); - late final _sel_didChangeValueForKey_withSetMutation_usingObjects_1 = objc - .registerName("didChangeValueForKey:withSetMutation:usingObjects:"); + late final _sel_didChangeValueForKey_withSetMutation_usingObjects_1 = + objc.registerName("didChangeValueForKey:withSetMutation:usingObjects:"); late final _sel_observationInfo1 = objc.registerName("observationInfo"); late final _sel_setObservationInfo_1 = objc.registerName( "setObservationInfo:", @@ -18397,23 +15702,18 @@ class AVFAudio { } late final __objc_msgSend_513Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_513 = __objc_msgSend_513Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_513 = - __objc_msgSend_513Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_classForKeyedArchiver1 = objc.registerName( "classForKeyedArchiver", @@ -18431,28 +15731,23 @@ class AVFAudio { } late final __objc_msgSend_514Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + )>>('objc_msgSend'); + late final __objc_msgSend_514 = __objc_msgSend_514Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, - ffi.Bool, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_514 = - __objc_msgSend_514Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - bool, - ) - >(); + bool, + )>(); late final _sel_archivedDataWithRootObject_requiringSecureCoding_error_1 = objc.registerName( - "archivedDataWithRootObject:requiringSecureCoding:error:", - ); + "archivedDataWithRootObject:requiringSecureCoding:error:", + ); ffi.Pointer _objc_msgSend_515( ffi.Pointer obj, ffi.Pointer sel, @@ -18464,27 +15759,22 @@ class AVFAudio { } late final __objc_msgSend_515Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_515 = __objc_msgSend_515Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Bool, + bool, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_515 = - __objc_msgSend_515Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - ffi.Pointer>, - ) - >(); + )>(); late final _class_NSMutableData1 = objc.getClass("NSMutableData"); late final _sel_mutableBytes1 = objc.registerName("mutableBytes"); @@ -18498,23 +15788,18 @@ class AVFAudio { } late final __objc_msgSend_516Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + )>>('objc_msgSend'); + late final __objc_msgSend_516 = __objc_msgSend_516Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_516 = - __objc_msgSend_516Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_appendBytes_length_1 = objc.registerName( "appendBytes:length:", @@ -18534,25 +15819,20 @@ class AVFAudio { } late final __objc_msgSend_517Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_517 = __objc_msgSend_517Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, _NSRange, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_517 = - __objc_msgSend_517Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - ) - >(); + )>(); late final _sel_resetBytesInRange_1 = objc.registerName("resetBytesInRange:"); late final _sel_setData_1 = objc.registerName("setData:"); @@ -18576,27 +15856,22 @@ class AVFAudio { } late final __objc_msgSend_518Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + ffi.UnsignedLong, + )>>('objc_msgSend'); + late final __objc_msgSend_518 = __objc_msgSend_518Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, _NSRange, ffi.Pointer, - ffi.UnsignedLong, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_518 = - __objc_msgSend_518Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_dataWithCapacity_1 = objc.registerName("dataWithCapacity:"); instancetype _objc_msgSend_519( @@ -18608,23 +15883,18 @@ class AVFAudio { } late final __objc_msgSend_519Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + )>>('objc_msgSend'); + late final __objc_msgSend_519 = __objc_msgSend_519Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_519 = - __objc_msgSend_519Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_dataWithLength_1 = objc.registerName("dataWithLength:"); late final _sel_initWithLength_1 = objc.registerName("initWithLength:"); @@ -18641,25 +15911,20 @@ class AVFAudio { } late final __objc_msgSend_520Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_520 = __objc_msgSend_520Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_520 = - __objc_msgSend_520Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>, - ) - >(); + )>(); late final _sel_compressUsingAlgorithm_error_1 = objc.registerName( "compressUsingAlgorithm:error:", @@ -18676,23 +15941,18 @@ class AVFAudio { } late final __objc_msgSend_521Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_521 = __objc_msgSend_521Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_521 = - __objc_msgSend_521Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_archivedDataWithRootObject_1 = objc.registerName( "archivedDataWithRootObject:", @@ -18706,23 +15966,18 @@ class AVFAudio { } late final __objc_msgSend_522Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_522 = __objc_msgSend_522Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_522 = - __objc_msgSend_522Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_archiveRootObject_toFile_1 = objc.registerName( "archiveRootObject:toFile:", @@ -18736,21 +15991,16 @@ class AVFAudio { } late final __objc_msgSend_523Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_523 = __objc_msgSend_523Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_523 = - __objc_msgSend_523Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_setOutputFormat_1 = objc.registerName("setOutputFormat:"); void _objc_msgSend_524( @@ -18762,23 +16012,18 @@ class AVFAudio { } late final __objc_msgSend_524Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + )>>('objc_msgSend'); + late final __objc_msgSend_524 = __objc_msgSend_524Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_524 = - __objc_msgSend_524Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_encodedData1 = objc.registerName("encodedData"); late final _sel_finishEncoding1 = objc.registerName("finishEncoding"); @@ -18795,25 +16040,20 @@ class AVFAudio { } late final __objc_msgSend_525Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_525 = __objc_msgSend_525Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_525 = - __objc_msgSend_525Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_classNameForClass_1 = objc.registerName("classNameForClass:"); ffi.Pointer _objc_msgSend_526( @@ -18825,23 +16065,18 @@ class AVFAudio { } late final __objc_msgSend_526Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_526 = __objc_msgSend_526Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_526 = - __objc_msgSend_526Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_setRequiresSecureCoding_1 = objc.registerName( "setRequiresSecureCoding:", @@ -18855,23 +16090,18 @@ class AVFAudio { } late final __objc_msgSend_527Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + )>>('objc_msgSend'); + late final __objc_msgSend_527 = __objc_msgSend_527Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, - ffi.Bool, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_527 = - __objc_msgSend_527Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - bool, - ) - >(); + bool, + )>(); late final _sel_replacementObjectForKeyedArchiver_1 = objc.registerName( "replacementObjectForKeyedArchiver:", @@ -18885,28 +16115,23 @@ class AVFAudio { } late final __objc_msgSend_528Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_528 = __objc_msgSend_528Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_528 = - __objc_msgSend_528Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_performSelectorOnMainThread_withObject_waitUntilDone_modes_1 = objc.registerName( - "performSelectorOnMainThread:withObject:waitUntilDone:modes:", - ); + "performSelectorOnMainThread:withObject:waitUntilDone:modes:", + ); void _objc_msgSend_529( ffi.Pointer obj, ffi.Pointer sel, @@ -18919,29 +16144,24 @@ class AVFAudio { } late final __objc_msgSend_529Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_529 = __objc_msgSend_529Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Bool, + bool, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_529 = - __objc_msgSend_529Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - ffi.Pointer, - ) - >(); + )>(); late final _sel_performSelectorOnMainThread_withObject_waitUntilDone_1 = objc .registerName("performSelectorOnMainThread:withObject:waitUntilDone:"); @@ -18956,27 +16176,22 @@ class AVFAudio { } late final __objc_msgSend_530Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + )>>('objc_msgSend'); + late final __objc_msgSend_530 = __objc_msgSend_530Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Bool, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_530 = - __objc_msgSend_530Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - ) - >(); + bool, + )>(); late final _class_NSThread1 = objc.getClass("NSThread"); late final _sel_currentThread1 = objc.registerName("currentThread"); @@ -18988,21 +16203,16 @@ class AVFAudio { } late final __objc_msgSend_531Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_531 = __objc_msgSend_531Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_531 = - __objc_msgSend_531Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_detachNewThreadWithBlock_1 = objc.registerName( "detachNewThreadWithBlock:", @@ -19016,26 +16226,21 @@ class AVFAudio { } late final __objc_msgSend_532Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_532 = __objc_msgSend_532Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_532 = - __objc_msgSend_532Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); - late final _sel_detachNewThreadSelector_toTarget_withObject_1 = objc - .registerName("detachNewThreadSelector:toTarget:withObject:"); + late final _sel_detachNewThreadSelector_toTarget_withObject_1 = + objc.registerName("detachNewThreadSelector:toTarget:withObject:"); void _objc_msgSend_533( ffi.Pointer obj, ffi.Pointer sel, @@ -19047,27 +16252,22 @@ class AVFAudio { } late final __objc_msgSend_533Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_533 = __objc_msgSend_533Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_533 = - __objc_msgSend_533Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_isMultiThreaded1 = objc.registerName("isMultiThreaded"); late final _class_NSMutableDictionary1 = objc.getClass("NSMutableDictionary"); @@ -19085,25 +16285,20 @@ class AVFAudio { } late final __objc_msgSend_534Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_534 = __objc_msgSend_534Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_534 = - __objc_msgSend_534Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_addEntriesFromDictionary_1 = objc.registerName( "addEntriesFromDictionary:", @@ -19125,25 +16320,20 @@ class AVFAudio { } late final __objc_msgSend_535Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_535 = __objc_msgSend_535Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_535 = - __objc_msgSend_535Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_dictionaryWithCapacity_1 = objc.registerName( "dictionaryWithCapacity:", @@ -19157,23 +16347,18 @@ class AVFAudio { } late final __objc_msgSend_536Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_536 = __objc_msgSend_536Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_536 = - __objc_msgSend_536Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); ffi.Pointer _objc_msgSend_537( ffi.Pointer obj, @@ -19184,23 +16369,18 @@ class AVFAudio { } late final __objc_msgSend_537Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_537 = __objc_msgSend_537Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_537 = - __objc_msgSend_537Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_dictionaryWithSharedKeySet_1 = objc.registerName( "dictionaryWithSharedKeySet:", @@ -19214,23 +16394,18 @@ class AVFAudio { } late final __objc_msgSend_538Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_538 = __objc_msgSend_538Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_538 = - __objc_msgSend_538Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_threadDictionary1 = objc.registerName("threadDictionary"); ffi.Pointer _objc_msgSend_539( @@ -19241,21 +16416,16 @@ class AVFAudio { } late final __objc_msgSend_539Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_539 = __objc_msgSend_539Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_539 = - __objc_msgSend_539Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_sleepUntilDate_1 = objc.registerName("sleepUntilDate:"); void _objc_msgSend_540( @@ -19267,23 +16437,18 @@ class AVFAudio { } late final __objc_msgSend_540Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_540 = __objc_msgSend_540Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_540 = - __objc_msgSend_540Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_sleepForTimeInterval_1 = objc.registerName( "sleepForTimeInterval:", @@ -19297,23 +16462,18 @@ class AVFAudio { } late final __objc_msgSend_541Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Double, + )>>('objc_msgSend'); + late final __objc_msgSend_541 = __objc_msgSend_541Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, - ffi.Double, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_541 = - __objc_msgSend_541Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - double, - ) - >(); + double, + )>(); late final _sel_exit1 = objc.registerName("exit"); late final _sel_threadPriority1 = objc.registerName("threadPriority"); @@ -19327,23 +16487,18 @@ class AVFAudio { } late final __objc_msgSend_542Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Double, + )>>('objc_msgSend'); + late final __objc_msgSend_542 = __objc_msgSend_542Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, - ffi.Double, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_542 = - __objc_msgSend_542Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - double, - ) - >(); + double, + )>(); late final _sel_qualityOfService1 = objc.registerName("qualityOfService"); int _objc_msgSend_543( @@ -19354,21 +16509,16 @@ class AVFAudio { } late final __objc_msgSend_543Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_543 = __objc_msgSend_543Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_543 = - __objc_msgSend_543Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_setQualityOfService_1 = objc.registerName( "setQualityOfService:", @@ -19382,23 +16532,18 @@ class AVFAudio { } late final __objc_msgSend_544Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + )>>('objc_msgSend'); + late final __objc_msgSend_544 = __objc_msgSend_544Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_544 = - __objc_msgSend_544Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_callStackReturnAddresses1 = objc.registerName( "callStackReturnAddresses", @@ -19414,23 +16559,18 @@ class AVFAudio { } late final __objc_msgSend_545Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_545 = __objc_msgSend_545Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_545 = - __objc_msgSend_545Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_stackSize1 = objc.registerName("stackSize"); late final _sel_setStackSize_1 = objc.registerName("setStackSize:"); @@ -19450,27 +16590,22 @@ class AVFAudio { } late final __objc_msgSend_546Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_546 = __objc_msgSend_546Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_546 = - __objc_msgSend_546Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_initWithBlock_1 = objc.registerName("initWithBlock:"); instancetype _objc_msgSend_547( @@ -19482,23 +16617,18 @@ class AVFAudio { } late final __objc_msgSend_547Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_547 = __objc_msgSend_547Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_547 = - __objc_msgSend_547Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_isExecuting1 = objc.registerName("isExecuting"); late final _sel_isFinished1 = objc.registerName("isFinished"); @@ -19508,8 +16638,8 @@ class AVFAudio { late final _sel_main1 = objc.registerName("main"); late final _sel_performSelector_onThread_withObject_waitUntilDone_modes_1 = objc.registerName( - "performSelector:onThread:withObject:waitUntilDone:modes:", - ); + "performSelector:onThread:withObject:waitUntilDone:modes:", + ); void _objc_msgSend_548( ffi.Pointer obj, ffi.Pointer sel, @@ -19523,34 +16653,29 @@ class AVFAudio { } late final __objc_msgSend_548Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_548 = __objc_msgSend_548Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Bool, + bool, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_548 = - __objc_msgSend_548Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - ffi.Pointer, - ) - >(); + )>(); - late final _sel_performSelector_onThread_withObject_waitUntilDone_1 = objc - .registerName("performSelector:onThread:withObject:waitUntilDone:"); + late final _sel_performSelector_onThread_withObject_waitUntilDone_1 = + objc.registerName("performSelector:onThread:withObject:waitUntilDone:"); void _objc_msgSend_549( ffi.Pointer obj, ffi.Pointer sel, @@ -19563,29 +16688,24 @@ class AVFAudio { } late final __objc_msgSend_549Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + )>>('objc_msgSend'); + late final __objc_msgSend_549 = __objc_msgSend_549Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Bool, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_549 = - __objc_msgSend_549Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - ) - >(); + bool, + )>(); late final _sel_performSelectorInBackground_withObject_1 = objc.registerName( "performSelectorInBackground:withObject:", @@ -19601,21 +16721,16 @@ class AVFAudio { } late final __objc_msgSend_550Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_550 = __objc_msgSend_550Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_550 = - __objc_msgSend_550Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_encodeClassName_intoClassName_1 = objc.registerName( "encodeClassName:intoClassName:", @@ -19630,25 +16745,20 @@ class AVFAudio { } late final __objc_msgSend_551Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_551 = __objc_msgSend_551Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_551 = - __objc_msgSend_551Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_classNameEncodedForTrueClassName_1 = objc.registerName( "classNameEncodedForTrueClassName:", @@ -19668,23 +16778,18 @@ class AVFAudio { } late final __objc_msgSend_552Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_552 = __objc_msgSend_552Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_552 = - __objc_msgSend_552Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_classForPortCoder1 = objc.registerName("classForPortCoder"); late final _class_NSPortCoder1 = objc.getClass("NSPortCoder"); @@ -19699,21 +16804,16 @@ class AVFAudio { } late final __objc_msgSend_553Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_553 = __objc_msgSend_553Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_553 = - __objc_msgSend_553Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_invalidate1 = objc.registerName("invalidate"); late final _sel_isValid1 = objc.registerName("isValid"); @@ -19727,21 +16827,16 @@ class AVFAudio { } late final __objc_msgSend_554Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_554 = __objc_msgSend_554Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_554 = - __objc_msgSend_554Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_mainRunLoop1 = objc.registerName("mainRunLoop"); late final _sel_currentMode1 = objc.registerName("currentMode"); @@ -19754,25 +16849,20 @@ class AVFAudio { } late final __objc_msgSend_555Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer<__CFRunLoop> Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_555 = __objc_msgSend_555Ptr.asFunction< ffi.Pointer<__CFRunLoop> Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_555 = - __objc_msgSend_555Ptr - .asFunction< - ffi.Pointer<__CFRunLoop> Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _class_NSTimer1 = objc.getClass("NSTimer"); - late final _sel_timerWithTimeInterval_invocation_repeats_1 = objc - .registerName("timerWithTimeInterval:invocation:repeats:"); + late final _sel_timerWithTimeInterval_invocation_repeats_1 = + objc.registerName("timerWithTimeInterval:invocation:repeats:"); ffi.Pointer _objc_msgSend_556( ffi.Pointer obj, ffi.Pointer sel, @@ -19784,34 +16874,29 @@ class AVFAudio { } late final __objc_msgSend_556Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Double, + ffi.Pointer, + ffi.Bool, + )>>('objc_msgSend'); + late final __objc_msgSend_556 = __objc_msgSend_556Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.Double, + double, ffi.Pointer, - ffi.Bool, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_556 = - __objc_msgSend_556Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - double, - ffi.Pointer, - bool, - ) - >(); + bool, + )>(); - late final _sel_scheduledTimerWithTimeInterval_invocation_repeats_1 = objc - .registerName("scheduledTimerWithTimeInterval:invocation:repeats:"); + late final _sel_scheduledTimerWithTimeInterval_invocation_repeats_1 = + objc.registerName("scheduledTimerWithTimeInterval:invocation:repeats:"); late final _sel_timerWithTimeInterval_target_selector_userInfo_repeats_1 = objc.registerName( - "timerWithTimeInterval:target:selector:userInfo:repeats:", - ); + "timerWithTimeInterval:target:selector:userInfo:repeats:", + ); ffi.Pointer _objc_msgSend_557( ffi.Pointer obj, ffi.Pointer sel, @@ -19833,36 +16918,31 @@ class AVFAudio { } late final __objc_msgSend_557Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Double, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + )>>('objc_msgSend'); + late final __objc_msgSend_557 = __objc_msgSend_557Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.Double, + double, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Bool, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_557 = - __objc_msgSend_557Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - double, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - ) - >(); + bool, + )>(); late final _sel_scheduledTimerWithTimeInterval_target_selector_userInfo_repeats_1 = objc.registerName( - "scheduledTimerWithTimeInterval:target:selector:userInfo:repeats:", - ); + "scheduledTimerWithTimeInterval:target:selector:userInfo:repeats:", + ); late final _sel_timerWithTimeInterval_repeats_block_1 = objc.registerName( "timerWithTimeInterval:repeats:block:", ); @@ -19877,30 +16957,25 @@ class AVFAudio { } late final __objc_msgSend_558Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Double, + ffi.Bool, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_558 = __objc_msgSend_558Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.Double, - ffi.Bool, + double, + bool, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_558 = - __objc_msgSend_558Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - double, - bool, - ffi.Pointer, - ) - >(); + )>(); - late final _sel_scheduledTimerWithTimeInterval_repeats_block_1 = objc - .registerName("scheduledTimerWithTimeInterval:repeats:block:"); + late final _sel_scheduledTimerWithTimeInterval_repeats_block_1 = + objc.registerName("scheduledTimerWithTimeInterval:repeats:block:"); late final _sel_initWithFireDate_interval_repeats_block_1 = objc.registerName( "initWithFireDate:interval:repeats:block:", ); @@ -19916,34 +16991,29 @@ class AVFAudio { } late final __objc_msgSend_559Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Double, + ffi.Bool, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_559 = __objc_msgSend_559Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Double, - ffi.Bool, + double, + bool, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_559 = - __objc_msgSend_559Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - double, - bool, - ffi.Pointer, - ) - >(); + )>(); late final _sel_initWithFireDate_interval_target_selector_userInfo_repeats_1 = objc.registerName( - "initWithFireDate:interval:target:selector:userInfo:repeats:", - ); + "initWithFireDate:interval:target:selector:userInfo:repeats:", + ); instancetype _objc_msgSend_560( ffi.Pointer obj, ffi.Pointer sel, @@ -19958,33 +17028,28 @@ class AVFAudio { } late final __objc_msgSend_560Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Double, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + )>>('objc_msgSend'); + late final __objc_msgSend_560 = __objc_msgSend_560Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Double, + double, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Bool, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_560 = - __objc_msgSend_560Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - double, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - ) - >(); + bool, + )>(); late final _sel_fire1 = objc.registerName("fire"); late final _sel_fireDate1 = objc.registerName("fireDate"); @@ -19998,23 +17063,18 @@ class AVFAudio { } late final __objc_msgSend_561Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_561 = __objc_msgSend_561Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_561 = - __objc_msgSend_561Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_timeInterval1 = objc.registerName("timeInterval"); late final _sel_tolerance1 = objc.registerName("tolerance"); @@ -20030,25 +17090,20 @@ class AVFAudio { } late final __objc_msgSend_562Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_562 = __objc_msgSend_562Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_562 = - __objc_msgSend_562Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_addPort_forMode_1 = objc.registerName("addPort:forMode:"); void _objc_msgSend_563( @@ -20061,25 +17116,20 @@ class AVFAudio { } late final __objc_msgSend_563Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_563 = __objc_msgSend_563Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_563 = - __objc_msgSend_563Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_removePort_forMode_1 = objc.registerName( "removePort:forMode:", @@ -20094,23 +17144,18 @@ class AVFAudio { } late final __objc_msgSend_564Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_564 = __objc_msgSend_564Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_564 = - __objc_msgSend_564Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_acceptInputForMode_beforeDate_1 = objc.registerName( "acceptInputForMode:beforeDate:", @@ -20125,25 +17170,20 @@ class AVFAudio { } late final __objc_msgSend_565Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_565 = __objc_msgSend_565Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_565 = - __objc_msgSend_565Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_run1 = objc.registerName("run"); late final _sel_runUntilDate_1 = objc.registerName("runUntilDate:"); @@ -20160,25 +17200,20 @@ class AVFAudio { } late final __objc_msgSend_566Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_566 = __objc_msgSend_566Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_566 = - __objc_msgSend_566Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_configureAsServer1 = objc.registerName("configureAsServer"); late final _sel_performInModes_block_1 = objc.registerName( @@ -20194,29 +17229,24 @@ class AVFAudio { } late final __objc_msgSend_567Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_567 = __objc_msgSend_567Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_567 = - __objc_msgSend_567Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_performBlock_1 = objc.registerName("performBlock:"); - late final _sel_performSelector_target_argument_order_modes_1 = objc - .registerName("performSelector:target:argument:order:modes:"); + late final _sel_performSelector_target_argument_order_modes_1 = + objc.registerName("performSelector:target:argument:order:modes:"); void _objc_msgSend_568( ffi.Pointer obj, ffi.Pointer sel, @@ -20230,31 +17260,26 @@ class AVFAudio { } late final __objc_msgSend_568Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_568 = __objc_msgSend_568Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, + int, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_568 = - __objc_msgSend_568Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ) - >(); + )>(); late final _sel_cancelPerformSelector_target_argument_1 = objc.registerName( "cancelPerformSelector:target:argument:", @@ -20275,25 +17300,20 @@ class AVFAudio { } late final __objc_msgSend_569Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_569 = __objc_msgSend_569Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_569 = - __objc_msgSend_569Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_removeFromRunLoop_forMode_1 = objc.registerName( "removeFromRunLoop:forMode:", @@ -20323,32 +17343,27 @@ class AVFAudio { } late final __objc_msgSend_570Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + )>>('objc_msgSend'); + late final __objc_msgSend_570 = __objc_msgSend_570Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_570 = - __objc_msgSend_570Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); - late final _sel_sendBeforeDate_msgid_components_from_reserved_1 = objc - .registerName("sendBeforeDate:msgid:components:from:reserved:"); + late final _sel_sendBeforeDate_msgid_components_from_reserved_1 = + objc.registerName("sendBeforeDate:msgid:components:from:reserved:"); bool _objc_msgSend_571( ffi.Pointer obj, ffi.Pointer sel, @@ -20370,31 +17385,26 @@ class AVFAudio { } late final __objc_msgSend_571Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + )>>('objc_msgSend'); + late final __objc_msgSend_571 = __objc_msgSend_571Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, + int, ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_571 = - __objc_msgSend_571Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _class_NSConnection1 = objc.getClass("NSConnection"); late final _sel_statistics1 = objc.registerName("statistics"); @@ -20408,21 +17418,16 @@ class AVFAudio { } late final __objc_msgSend_572Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_572 = __objc_msgSend_572Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_572 = - __objc_msgSend_572Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_connectionWithRegisteredName_host_1 = objc.registerName( "connectionWithRegisteredName:host:", @@ -20437,25 +17442,20 @@ class AVFAudio { } late final __objc_msgSend_573Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_573 = __objc_msgSend_573Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_573 = - __objc_msgSend_573Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _class_NSPortNameServer1 = objc.getClass("NSPortNameServer"); late final _sel_systemDefaultPortNameServer1 = objc.registerName( @@ -20469,21 +17469,16 @@ class AVFAudio { } late final __objc_msgSend_574Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_574 = __objc_msgSend_574Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_574 = - __objc_msgSend_574Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_portForName_1 = objc.registerName("portForName:"); ffi.Pointer _objc_msgSend_575( @@ -20495,23 +17490,18 @@ class AVFAudio { } late final __objc_msgSend_575Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_575 = __objc_msgSend_575Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_575 = - __objc_msgSend_575Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_portForName_host_1 = objc.registerName("portForName:host:"); ffi.Pointer _objc_msgSend_576( @@ -20524,25 +17514,20 @@ class AVFAudio { } late final __objc_msgSend_576Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_576 = __objc_msgSend_576Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_576 = - __objc_msgSend_576Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_registerPort_name_1 = objc.registerName("registerPort:name:"); bool _objc_msgSend_577( @@ -20555,29 +17540,24 @@ class AVFAudio { } late final __objc_msgSend_577Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_577 = __objc_msgSend_577Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_577 = - __objc_msgSend_577Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_removePortForName_1 = objc.registerName("removePortForName:"); - late final _sel_connectionWithRegisteredName_host_usingNameServer_1 = objc - .registerName("connectionWithRegisteredName:host:usingNameServer:"); + late final _sel_connectionWithRegisteredName_host_usingNameServer_1 = + objc.registerName("connectionWithRegisteredName:host:usingNameServer:"); instancetype _objc_msgSend_578( ffi.Pointer obj, ffi.Pointer sel, @@ -20589,27 +17569,22 @@ class AVFAudio { } late final __objc_msgSend_578Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_578 = __objc_msgSend_578Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_578 = - __objc_msgSend_578Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _class_NSDistantObject1 = objc.getClass("NSDistantObject"); late final _class_NSProxy1 = objc.getClass("NSProxy"); @@ -20622,23 +17597,18 @@ class AVFAudio { } late final __objc_msgSend_579Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_579 = __objc_msgSend_579Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_579 = - __objc_msgSend_579Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_respondsToSelector_1 = objc.registerName( "respondsToSelector:", @@ -20656,25 +17626,20 @@ class AVFAudio { } late final __objc_msgSend_580Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_580 = __objc_msgSend_580Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_580 = - __objc_msgSend_580Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_initWithTarget_connection_1 = objc.registerName( "initWithTarget:connection:", @@ -20692,25 +17657,20 @@ class AVFAudio { } late final __objc_msgSend_581Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_581 = __objc_msgSend_581Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_581 = - __objc_msgSend_581Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_initWithLocal_connection_1 = objc.registerName( "initWithLocal:connection:", @@ -20727,27 +17687,22 @@ class AVFAudio { } late final __objc_msgSend_582Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_582 = __objc_msgSend_582Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_582 = - __objc_msgSend_582Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_connectionForProxy1 = objc.registerName("connectionForProxy"); - late final _sel_rootProxyForConnectionWithRegisteredName_host_1 = objc - .registerName("rootProxyForConnectionWithRegisteredName:host:"); + late final _sel_rootProxyForConnectionWithRegisteredName_host_1 = + objc.registerName("rootProxyForConnectionWithRegisteredName:host:"); ffi.Pointer _objc_msgSend_583( ffi.Pointer obj, ffi.Pointer sel, @@ -20758,30 +17713,25 @@ class AVFAudio { } late final __objc_msgSend_583Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_583 = __objc_msgSend_583Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_583 = - __objc_msgSend_583Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_rootProxyForConnectionWithRegisteredName_host_usingNameServer_1 = objc.registerName( - "rootProxyForConnectionWithRegisteredName:host:usingNameServer:", - ); + "rootProxyForConnectionWithRegisteredName:host:usingNameServer:", + ); ffi.Pointer _objc_msgSend_584( ffi.Pointer obj, ffi.Pointer sel, @@ -20793,27 +17743,22 @@ class AVFAudio { } late final __objc_msgSend_584Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_584 = __objc_msgSend_584Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_584 = - __objc_msgSend_584Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_serviceConnectionWithName_rootObject_usingNameServer_1 = objc .registerName("serviceConnectionWithName:rootObject:usingNameServer:"); @@ -20828,27 +17773,22 @@ class AVFAudio { } late final __objc_msgSend_585Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_585 = __objc_msgSend_585Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_585 = - __objc_msgSend_585Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_serviceConnectionWithName_rootObject_1 = objc.registerName( "serviceConnectionWithName:rootObject:", @@ -20863,25 +17803,20 @@ class AVFAudio { } late final __objc_msgSend_586Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_586 = __objc_msgSend_586Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_586 = - __objc_msgSend_586Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_requestTimeout1 = objc.registerName("requestTimeout"); late final _sel_setRequestTimeout_1 = objc.registerName("setRequestTimeout:"); @@ -20904,21 +17839,16 @@ class AVFAudio { } late final __objc_msgSend_587Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_587 = __objc_msgSend_587Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_587 = - __objc_msgSend_587Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_addRequestMode_1 = objc.registerName("addRequestMode:"); late final _sel_removeRequestMode_1 = objc.registerName("removeRequestMode:"); @@ -20933,23 +17863,18 @@ class AVFAudio { } late final __objc_msgSend_588Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_588 = __objc_msgSend_588Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_588 = - __objc_msgSend_588Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_registerName_withNameServer_1 = objc.registerName( "registerName:withNameServer:", @@ -20964,25 +17889,20 @@ class AVFAudio { } late final __objc_msgSend_589Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_589 = __objc_msgSend_589Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_589 = - __objc_msgSend_589Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_connectionWithReceivePort_sendPort_1 = objc.registerName( "connectionWithReceivePort:sendPort:", @@ -20997,25 +17917,20 @@ class AVFAudio { } late final __objc_msgSend_590Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_590 = __objc_msgSend_590Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_590 = - __objc_msgSend_590Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_currentConversation1 = objc.registerName( "currentConversation", @@ -21041,23 +17956,18 @@ class AVFAudio { } late final __objc_msgSend_591Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_591 = __objc_msgSend_591Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_591 = - __objc_msgSend_591Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_removeRunLoop_1 = objc.registerName("removeRunLoop:"); late final _sel_runInNewThread1 = objc.registerName("runInNewThread"); @@ -21080,27 +17990,22 @@ class AVFAudio { } late final __objc_msgSend_592Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_592 = __objc_msgSend_592Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_592 = - __objc_msgSend_592Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_removeConnection_fromRunLoop_forMode_1 = objc.registerName( "removeConnection:fromRunLoop:forMode:", @@ -21115,23 +18020,18 @@ class AVFAudio { } late final __objc_msgSend_593Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_593 = __objc_msgSend_593Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_593 = - __objc_msgSend_593Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_decodePortObject1 = objc.registerName("decodePortObject"); ffi.Pointer _objc_msgSend_594( @@ -21142,21 +18042,16 @@ class AVFAudio { } late final __objc_msgSend_594Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_594 = __objc_msgSend_594Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_594 = - __objc_msgSend_594Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_connection1 = objc.registerName("connection"); ffi.Pointer _objc_msgSend_595( @@ -21167,24 +18062,19 @@ class AVFAudio { } late final __objc_msgSend_595Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_595 = __objc_msgSend_595Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_595 = - __objc_msgSend_595Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); - late final _sel_portCoderWithReceivePort_sendPort_components_1 = objc - .registerName("portCoderWithReceivePort:sendPort:components:"); + late final _sel_portCoderWithReceivePort_sendPort_components_1 = + objc.registerName("portCoderWithReceivePort:sendPort:components:"); ffi.Pointer _objc_msgSend_596( ffi.Pointer obj, ffi.Pointer sel, @@ -21196,27 +18086,22 @@ class AVFAudio { } late final __objc_msgSend_596Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_596 = __objc_msgSend_596Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_596 = - __objc_msgSend_596Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_initWithReceivePort_sendPort_components_1 = objc.registerName( "initWithReceivePort:sendPort:components:", @@ -21234,23 +18119,18 @@ class AVFAudio { } late final __objc_msgSend_597Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_597 = __objc_msgSend_597Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_597 = - __objc_msgSend_597Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _class_NSClassDescription1 = objc.getClass("NSClassDescription"); late final _sel_registerClassDescription_forClass_1 = objc.registerName( @@ -21266,25 +18146,20 @@ class AVFAudio { } late final __objc_msgSend_598Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_598 = __objc_msgSend_598Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_598 = - __objc_msgSend_598Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_invalidateClassDescriptionCache1 = objc.registerName( "invalidateClassDescriptionCache", @@ -21301,23 +18176,18 @@ class AVFAudio { } late final __objc_msgSend_599Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_599 = __objc_msgSend_599Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_599 = - __objc_msgSend_599Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_attributeKeys1 = objc.registerName("attributeKeys"); late final _sel_toOneRelationshipKeys1 = objc.registerName( @@ -21338,21 +18208,16 @@ class AVFAudio { } late final __objc_msgSend_600Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_600 = __objc_msgSend_600Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_600 = - __objc_msgSend_600Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _class_NSScriptObjectSpecifier1 = objc.getClass( "NSScriptObjectSpecifier", @@ -21369,24 +18234,19 @@ class AVFAudio { } late final __objc_msgSend_601Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_601 = __objc_msgSend_601Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_601 = - __objc_msgSend_601Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); - late final _sel_descriptorWithDescriptorType_bytes_length_1 = objc - .registerName("descriptorWithDescriptorType:bytes:length:"); + late final _sel_descriptorWithDescriptorType_bytes_length_1 = + objc.registerName("descriptorWithDescriptorType:bytes:length:"); ffi.Pointer _objc_msgSend_602( ffi.Pointer obj, ffi.Pointer sel, @@ -21398,27 +18258,22 @@ class AVFAudio { } late final __objc_msgSend_602Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedInt, + ffi.Pointer, + ffi.UnsignedLong, + )>>('objc_msgSend'); + late final __objc_msgSend_602 = __objc_msgSend_602Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.UnsignedInt, + int, ffi.Pointer, - ffi.UnsignedLong, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_602 = - __objc_msgSend_602Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_descriptorWithDescriptorType_data_1 = objc.registerName( "descriptorWithDescriptorType:data:", @@ -21433,25 +18288,20 @@ class AVFAudio { } late final __objc_msgSend_603Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedInt, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_603 = __objc_msgSend_603Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.UnsignedInt, + int, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_603 = - __objc_msgSend_603Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ) - >(); + )>(); late final _sel_descriptorWithBoolean_1 = objc.registerName( "descriptorWithBoolean:", @@ -21465,23 +18315,18 @@ class AVFAudio { } late final __objc_msgSend_604Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedChar, + )>>('objc_msgSend'); + late final __objc_msgSend_604 = __objc_msgSend_604Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.UnsignedChar, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_604 = - __objc_msgSend_604Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_descriptorWithEnumCode_1 = objc.registerName( "descriptorWithEnumCode:", @@ -21495,23 +18340,18 @@ class AVFAudio { } late final __objc_msgSend_605Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedInt, + )>>('objc_msgSend'); + late final __objc_msgSend_605 = __objc_msgSend_605Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.UnsignedInt, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_605 = - __objc_msgSend_605Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_descriptorWithInt32_1 = objc.registerName( "descriptorWithInt32:", @@ -21525,23 +18365,18 @@ class AVFAudio { } late final __objc_msgSend_606Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int, + )>>('objc_msgSend'); + late final __objc_msgSend_606 = __objc_msgSend_606Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.Int, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_606 = - __objc_msgSend_606Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_descriptorWithDouble_1 = objc.registerName( "descriptorWithDouble:", @@ -21555,23 +18390,18 @@ class AVFAudio { } late final __objc_msgSend_607Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Double, + )>>('objc_msgSend'); + late final __objc_msgSend_607 = __objc_msgSend_607Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.Double, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_607 = - __objc_msgSend_607Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - double, - ) - >(); + double, + )>(); late final _sel_descriptorWithTypeCode_1 = objc.registerName( "descriptorWithTypeCode:", @@ -21588,23 +18418,18 @@ class AVFAudio { } late final __objc_msgSend_608Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_608 = __objc_msgSend_608Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_608 = - __objc_msgSend_608Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_descriptorWithDate_1 = objc.registerName( "descriptorWithDate:", @@ -21618,23 +18443,18 @@ class AVFAudio { } late final __objc_msgSend_609Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_609 = __objc_msgSend_609Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_609 = - __objc_msgSend_609Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_descriptorWithFileURL_1 = objc.registerName( "descriptorWithFileURL:", @@ -21648,28 +18468,23 @@ class AVFAudio { } late final __objc_msgSend_610Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_610 = __objc_msgSend_610Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_610 = - __objc_msgSend_610Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_appleEventWithEventClass_eventID_targetDescriptor_returnID_transactionID_1 = objc.registerName( - "appleEventWithEventClass:eventID:targetDescriptor:returnID:transactionID:", - ); + "appleEventWithEventClass:eventID:targetDescriptor:returnID:transactionID:", + ); ffi.Pointer _objc_msgSend_611( ffi.Pointer obj, ffi.Pointer sel, @@ -21691,31 +18506,26 @@ class AVFAudio { } late final __objc_msgSend_611Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedInt, + ffi.UnsignedInt, + ffi.Pointer, + ffi.Short, + ffi.Int, + )>>('objc_msgSend'); + late final __objc_msgSend_611 = __objc_msgSend_611Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.UnsignedInt, - ffi.UnsignedInt, + int, + int, ffi.Pointer, - ffi.Short, - ffi.Int, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_611 = - __objc_msgSend_611Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - int, - ffi.Pointer, - int, - int, - ) - >(); + int, + int, + )>(); late final _sel_listDescriptor1 = objc.registerName("listDescriptor"); late final _sel_recordDescriptor1 = objc.registerName("recordDescriptor"); @@ -21743,23 +18553,18 @@ class AVFAudio { } late final __objc_msgSend_612Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_612 = __objc_msgSend_612Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_612 = - __objc_msgSend_612Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_initWithDescriptorType_bytes_length_1 = objc.registerName( "initWithDescriptorType:bytes:length:", @@ -21775,27 +18580,22 @@ class AVFAudio { } late final __objc_msgSend_613Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedInt, + ffi.Pointer, + ffi.UnsignedLong, + )>>('objc_msgSend'); + late final __objc_msgSend_613 = __objc_msgSend_613Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, - ffi.UnsignedInt, + int, ffi.Pointer, - ffi.UnsignedLong, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_613 = - __objc_msgSend_613Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_initWithDescriptorType_data_1 = objc.registerName( "initWithDescriptorType:data:", @@ -21810,30 +18610,25 @@ class AVFAudio { } late final __objc_msgSend_614Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedInt, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_614 = __objc_msgSend_614Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, - ffi.UnsignedInt, + int, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_614 = - __objc_msgSend_614Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ) - >(); + )>(); late final _sel_initWithEventClass_eventID_targetDescriptor_returnID_transactionID_1 = objc.registerName( - "initWithEventClass:eventID:targetDescriptor:returnID:transactionID:", - ); + "initWithEventClass:eventID:targetDescriptor:returnID:transactionID:", + ); instancetype _objc_msgSend_615( ffi.Pointer obj, ffi.Pointer sel, @@ -21855,31 +18650,26 @@ class AVFAudio { } late final __objc_msgSend_615Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedInt, + ffi.UnsignedInt, + ffi.Pointer, + ffi.Short, + ffi.Int, + )>>('objc_msgSend'); + late final __objc_msgSend_615 = __objc_msgSend_615Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, - ffi.UnsignedInt, - ffi.UnsignedInt, + int, + int, ffi.Pointer, - ffi.Short, - ffi.Int, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_615 = - __objc_msgSend_615Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - int, - int, - ffi.Pointer, - int, - int, - ) - >(); + int, + int, + )>(); late final _sel_initListDescriptor1 = objc.registerName("initListDescriptor"); late final _sel_initRecordDescriptor1 = objc.registerName( @@ -21894,21 +18684,16 @@ class AVFAudio { } late final __objc_msgSend_616Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_616 = __objc_msgSend_616Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_616 = - __objc_msgSend_616Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_descriptorType1 = objc.registerName("descriptorType"); late final _sel_booleanValue1 = objc.registerName("booleanValue"); @@ -21934,25 +18719,20 @@ class AVFAudio { } late final __objc_msgSend_617Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedInt, + )>>('objc_msgSend'); + late final __objc_msgSend_617 = __objc_msgSend_617Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.UnsignedInt, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_617 = - __objc_msgSend_617Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_paramDescriptorForKeyword_1 = objc.registerName( "paramDescriptorForKeyword:", @@ -21966,23 +18746,18 @@ class AVFAudio { } late final __objc_msgSend_618Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedInt, + )>>('objc_msgSend'); + late final __objc_msgSend_618 = __objc_msgSend_618Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.UnsignedInt, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_618 = - __objc_msgSend_618Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_removeParamDescriptorWithKeyword_1 = objc.registerName( "removeParamDescriptorWithKeyword:", @@ -21996,23 +18771,18 @@ class AVFAudio { } late final __objc_msgSend_619Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedInt, + )>>('objc_msgSend'); + late final __objc_msgSend_619 = __objc_msgSend_619Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, - ffi.UnsignedInt, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_619 = - __objc_msgSend_619Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_setAttributeDescriptor_forKeyword_1 = objc.registerName( "setAttributeDescriptor:forKeyword:", @@ -22034,27 +18804,22 @@ class AVFAudio { } late final __objc_msgSend_620Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Double, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_620 = __objc_msgSend_620Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, - ffi.Double, + int, + double, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_620 = - __objc_msgSend_620Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - double, - ffi.Pointer>, - ) - >(); + )>(); late final _sel_isRecordDescriptor1 = objc.registerName("isRecordDescriptor"); late final _sel_numberOfItems1 = objc.registerName("numberOfItems"); @@ -22071,25 +18836,20 @@ class AVFAudio { } late final __objc_msgSend_621Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Long, + )>>('objc_msgSend'); + late final __objc_msgSend_621 = __objc_msgSend_621Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Long, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_621 = - __objc_msgSend_621Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_descriptorAtIndex_1 = objc.registerName("descriptorAtIndex:"); ffi.Pointer _objc_msgSend_622( @@ -22101,23 +18861,18 @@ class AVFAudio { } late final __objc_msgSend_622Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Long, + )>>('objc_msgSend'); + late final __objc_msgSend_622 = __objc_msgSend_622Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.Long, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_622 = - __objc_msgSend_622Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_removeDescriptorAtIndex_1 = objc.registerName( "removeDescriptorAtIndex:", @@ -22143,23 +18898,18 @@ class AVFAudio { } late final __objc_msgSend_623Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedInt Function( + ffi.NativeFunction< + ffi.UnsignedInt Function( + ffi.Pointer, + ffi.Pointer, + ffi.Long, + )>>('objc_msgSend'); + late final __objc_msgSend_623 = __objc_msgSend_623Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, - ffi.Long, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_623 = - __objc_msgSend_623Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_coerceToDescriptorType_1 = objc.registerName( "coerceToDescriptorType:", @@ -22176,23 +18926,18 @@ class AVFAudio { } late final __objc_msgSend_624Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_624 = __objc_msgSend_624Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_624 = - __objc_msgSend_624Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_initWithContainerSpecifier_key_1 = objc.registerName( "initWithContainerSpecifier:key:", @@ -22207,25 +18952,20 @@ class AVFAudio { } late final __objc_msgSend_625Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_625 = __objc_msgSend_625Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_625 = - __objc_msgSend_625Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _class_NSScriptClassDescription1 = objc.getClass( "NSScriptClassDescription", @@ -22239,23 +18979,18 @@ class AVFAudio { } late final __objc_msgSend_626Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_626 = __objc_msgSend_626Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_626 = - __objc_msgSend_626Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_initWithSuiteName_className_dictionary_1 = objc.registerName( "initWithSuiteName:className:dictionary:", @@ -22271,27 +19006,22 @@ class AVFAudio { } late final __objc_msgSend_627Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_627 = __objc_msgSend_627Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_627 = - __objc_msgSend_627Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_suiteName1 = objc.registerName("suiteName"); late final _sel_className1 = objc.registerName("className"); @@ -22309,21 +19039,16 @@ class AVFAudio { } late final __objc_msgSend_628Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_628 = __objc_msgSend_628Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_628 = - __objc_msgSend_628Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_appleEventCode1 = objc.registerName("appleEventCode"); late final _sel_matchesAppleEventCode_1 = objc.registerName( @@ -22332,8 +19057,8 @@ class AVFAudio { late final _class_NSScriptCommandDescription1 = objc.getClass( "NSScriptCommandDescription", ); - late final _sel_initWithSuiteName_commandName_dictionary_1 = objc - .registerName("initWithSuiteName:commandName:dictionary:"); + late final _sel_initWithSuiteName_commandName_dictionary_1 = + objc.registerName("initWithSuiteName:commandName:dictionary:"); late final _sel_commandName1 = objc.registerName("commandName"); late final _sel_appleEventClassCode1 = objc.registerName( "appleEventClassCode", @@ -22359,23 +19084,18 @@ class AVFAudio { } late final __objc_msgSend_629Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedInt Function( + ffi.NativeFunction< + ffi.UnsignedInt Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_629 = __objc_msgSend_629Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_629 = - __objc_msgSend_629Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_isOptionalArgumentWithName_1 = objc.registerName( "isOptionalArgumentWithName:", @@ -22393,23 +19113,18 @@ class AVFAudio { } late final __objc_msgSend_630Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_630 = __objc_msgSend_630Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_630 = - __objc_msgSend_630Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_commandDescription1 = objc.registerName("commandDescription"); ffi.Pointer _objc_msgSend_631( @@ -22420,21 +19135,16 @@ class AVFAudio { } late final __objc_msgSend_631Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_631 = __objc_msgSend_631Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_631 = - __objc_msgSend_631Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_directParameter1 = objc.registerName("directParameter"); late final _sel_setDirectParameter_1 = objc.registerName( @@ -22449,21 +19159,16 @@ class AVFAudio { } late final __objc_msgSend_632Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_632 = __objc_msgSend_632Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_632 = - __objc_msgSend_632Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_setReceiversSpecifier_1 = objc.registerName( "setReceiversSpecifier:", @@ -22477,23 +19182,18 @@ class AVFAudio { } late final __objc_msgSend_633Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_633 = __objc_msgSend_633Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_633 = - __objc_msgSend_633Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_evaluatedReceivers1 = objc.registerName("evaluatedReceivers"); late final _sel_arguments1 = objc.registerName("arguments"); @@ -22507,23 +19207,18 @@ class AVFAudio { } late final __objc_msgSend_634Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_634 = __objc_msgSend_634Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_634 = - __objc_msgSend_634Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_evaluatedArguments1 = objc.registerName("evaluatedArguments"); late final _sel_isWellFormed1 = objc.registerName("isWellFormed"); @@ -22544,23 +19239,18 @@ class AVFAudio { } late final __objc_msgSend_635Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Long, + )>>('objc_msgSend'); + late final __objc_msgSend_635 = __objc_msgSend_635Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, - ffi.Long, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_635 = - __objc_msgSend_635Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_scriptErrorOffendingObjectDescriptor1 = objc.registerName( "scriptErrorOffendingObjectDescriptor", @@ -22573,21 +19263,16 @@ class AVFAudio { } late final __objc_msgSend_636Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_636 = __objc_msgSend_636Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_636 = - __objc_msgSend_636Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_setScriptErrorOffendingObjectDescriptor_1 = objc.registerName( "setScriptErrorOffendingObjectDescriptor:", @@ -22601,23 +19286,18 @@ class AVFAudio { } late final __objc_msgSend_637Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_637 = __objc_msgSend_637Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_637 = - __objc_msgSend_637Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_scriptErrorExpectedTypeDescriptor1 = objc.registerName( "scriptErrorExpectedTypeDescriptor", @@ -22638,21 +19318,16 @@ class AVFAudio { } late final __objc_msgSend_638Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_638 = __objc_msgSend_638Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_638 = - __objc_msgSend_638Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_appleEvent1 = objc.registerName("appleEvent"); late final _sel_suspendExecution1 = objc.registerName("suspendExecution"); @@ -22670,21 +19345,16 @@ class AVFAudio { } late final __objc_msgSend_639Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_639 = __objc_msgSend_639Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_639 = - __objc_msgSend_639Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_createCommandInstanceWithZone_1 = objc.registerName( "createCommandInstanceWithZone:", @@ -22698,23 +19368,18 @@ class AVFAudio { } late final __objc_msgSend_640Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_NSZone>, + )>>('objc_msgSend'); + late final __objc_msgSend_640 = __objc_msgSend_640Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer<_NSZone>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_640 = - __objc_msgSend_640Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_NSZone>, - ) - >(); + )>(); late final _sel_supportsCommand_1 = objc.registerName("supportsCommand:"); bool _objc_msgSend_641( @@ -22726,23 +19391,18 @@ class AVFAudio { } late final __objc_msgSend_641Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_641 = __objc_msgSend_641Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_641 = - __objc_msgSend_641Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_selectorForCommand_1 = objc.registerName( "selectorForCommand:", @@ -22756,23 +19416,18 @@ class AVFAudio { } late final __objc_msgSend_642Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_642 = __objc_msgSend_642Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_642 = - __objc_msgSend_642Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_typeForKey_1 = objc.registerName("typeForKey:"); late final _sel_classDescriptionForKey_1 = objc.registerName( @@ -22787,23 +19442,18 @@ class AVFAudio { } late final __objc_msgSend_643Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_643 = __objc_msgSend_643Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_643 = - __objc_msgSend_643Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_appleEventCodeForKey_1 = objc.registerName( "appleEventCodeForKey:", @@ -22820,23 +19470,18 @@ class AVFAudio { } late final __objc_msgSend_644Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedInt, + )>>('objc_msgSend'); + late final __objc_msgSend_644 = __objc_msgSend_644Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.UnsignedInt, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_644 = - __objc_msgSend_644Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_defaultSubcontainerAttributeKey1 = objc.registerName( "defaultSubcontainerAttributeKey", @@ -22857,8 +19502,8 @@ class AVFAudio { late final _sel_isReadOnlyKey_1 = objc.registerName("isReadOnlyKey:"); late final _sel_initWithContainerClassDescription_containerSpecifier_key_1 = objc.registerName( - "initWithContainerClassDescription:containerSpecifier:key:", - ); + "initWithContainerClassDescription:containerSpecifier:key:", + ); instancetype _objc_msgSend_645( ffi.Pointer obj, ffi.Pointer sel, @@ -22870,27 +19515,22 @@ class AVFAudio { } late final __objc_msgSend_645Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_645 = __objc_msgSend_645Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_645 = - __objc_msgSend_645Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_childSpecifier1 = objc.registerName("childSpecifier"); late final _sel_setChildSpecifier_1 = objc.registerName("setChildSpecifier:"); @@ -22921,23 +19561,18 @@ class AVFAudio { } late final __objc_msgSend_646Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_646 = __objc_msgSend_646Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_646 = - __objc_msgSend_646Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_containerClassDescription1 = objc.registerName( "containerClassDescription", @@ -22954,29 +19589,24 @@ class AVFAudio { } late final __objc_msgSend_647Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_647 = __objc_msgSend_647Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_647 = - __objc_msgSend_647Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_keyClassDescription1 = objc.registerName( "keyClassDescription", ); - late final _sel_indicesOfObjectsByEvaluatingWithContainer_count_1 = objc - .registerName("indicesOfObjectsByEvaluatingWithContainer:count:"); + late final _sel_indicesOfObjectsByEvaluatingWithContainer_count_1 = + objc.registerName("indicesOfObjectsByEvaluatingWithContainer:count:"); ffi.Pointer _objc_msgSend_648( ffi.Pointer obj, ffi.Pointer sel, @@ -22987,25 +19617,20 @@ class AVFAudio { } late final __objc_msgSend_648Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_648 = __objc_msgSend_648Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_648 = - __objc_msgSend_648Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_objectsByEvaluatingWithContainers_1 = objc.registerName( "objectsByEvaluatingWithContainers:", @@ -23035,23 +19660,18 @@ class AVFAudio { } late final __objc_msgSend_649Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_649 = __objc_msgSend_649Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_649 = - __objc_msgSend_649Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_scriptingProperties1 = objc.registerName( "scriptingProperties", @@ -23059,8 +19679,8 @@ class AVFAudio { late final _sel_setScriptingProperties_1 = objc.registerName( "setScriptingProperties:", ); - late final _sel_copyScriptingValue_forKey_withProperties_1 = objc - .registerName("copyScriptingValue:forKey:withProperties:"); + late final _sel_copyScriptingValue_forKey_withProperties_1 = + objc.registerName("copyScriptingValue:forKey:withProperties:"); ffi.Pointer _objc_msgSend_650( ffi.Pointer obj, ffi.Pointer sel, @@ -23072,32 +19692,27 @@ class AVFAudio { } late final __objc_msgSend_650Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_650 = __objc_msgSend_650Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_650 = - __objc_msgSend_650Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_newScriptingObjectOfClass_forValueForKey_withContentsValue_properties_1 = objc.registerName( - "newScriptingObjectOfClass:forValueForKey:withContentsValue:properties:", - ); + "newScriptingObjectOfClass:forValueForKey:withContentsValue:properties:", + ); ffi.Pointer _objc_msgSend_651( ffi.Pointer obj, ffi.Pointer sel, @@ -23117,7 +19732,16 @@ class AVFAudio { } late final __objc_msgSend_651Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_651 = __objc_msgSend_651Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, @@ -23125,21 +19749,7 @@ class AVFAudio { ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_651 = - __objc_msgSend_651Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_classCode1 = objc.registerName("classCode"); late final _sel_valueAtIndex_inPropertyWithKey_1 = objc.registerName( @@ -23155,25 +19765,20 @@ class AVFAudio { } late final __objc_msgSend_652Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_652 = __objc_msgSend_652Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, + int, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_652 = - __objc_msgSend_652Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ) - >(); + )>(); late final _sel_valueWithName_inPropertyWithKey_1 = objc.registerName( "valueWithName:inPropertyWithKey:", @@ -23195,27 +19800,22 @@ class AVFAudio { } late final __objc_msgSend_653Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_653 = __objc_msgSend_653Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, + int, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_653 = - __objc_msgSend_653Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ) - >(); + )>(); late final _sel_removeValueAtIndex_fromPropertyWithKey_1 = objc.registerName( "removeValueAtIndex:fromPropertyWithKey:", @@ -23230,28 +19830,23 @@ class AVFAudio { } late final __objc_msgSend_654Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_654 = __objc_msgSend_654Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, + int, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_654 = - __objc_msgSend_654Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ) - >(); + )>(); - late final _sel_replaceValueAtIndex_inPropertyWithKey_withValue_1 = objc - .registerName("replaceValueAtIndex:inPropertyWithKey:withValue:"); + late final _sel_replaceValueAtIndex_inPropertyWithKey_withValue_1 = + objc.registerName("replaceValueAtIndex:inPropertyWithKey:withValue:"); void _objc_msgSend_655( ffi.Pointer obj, ffi.Pointer sel, @@ -23263,27 +19858,22 @@ class AVFAudio { } late final __objc_msgSend_655Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_655 = __objc_msgSend_655Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, + int, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_655 = - __objc_msgSend_655Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_insertValue_inPropertyWithKey_1 = objc.registerName( "insertValue:inPropertyWithKey:", @@ -23298,25 +19888,20 @@ class AVFAudio { } late final __objc_msgSend_656Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_656 = __objc_msgSend_656Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_656 = - __objc_msgSend_656Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_coerceValue_forKey_1 = objc.registerName( "coerceValue:forKey:", @@ -23331,29 +19916,24 @@ class AVFAudio { } late final __objc_msgSend_657Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_657 = __objc_msgSend_657Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_657 = - __objc_msgSend_657Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_objectSpecifier1 = objc.registerName("objectSpecifier"); - late final _sel_indicesOfObjectsByEvaluatingObjectSpecifier_1 = objc - .registerName("indicesOfObjectsByEvaluatingObjectSpecifier:"); + late final _sel_indicesOfObjectsByEvaluatingObjectSpecifier_1 = + objc.registerName("indicesOfObjectsByEvaluatingObjectSpecifier:"); ffi.Pointer _objc_msgSend_658( ffi.Pointer obj, ffi.Pointer sel, @@ -23363,23 +19943,18 @@ class AVFAudio { } late final __objc_msgSend_658Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_658 = __objc_msgSend_658Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_658 = - __objc_msgSend_658Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_isEqualTo_1 = objc.registerName("isEqualTo:"); late final _sel_isLessThanOrEqualTo_1 = objc.registerName( @@ -23427,21 +20002,16 @@ class AVFAudio { } late final __objc_msgSend_659Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_659 = __objc_msgSend_659Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_659 = - __objc_msgSend_659Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_progressWithTotalUnitCount_1 = objc.registerName( "progressWithTotalUnitCount:", @@ -23455,29 +20025,24 @@ class AVFAudio { } late final __objc_msgSend_660Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int64, + )>>('objc_msgSend'); + late final __objc_msgSend_660 = __objc_msgSend_660Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.Int64, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_660 = - __objc_msgSend_660Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_discreteProgressWithTotalUnitCount_1 = objc.registerName( "discreteProgressWithTotalUnitCount:", ); - late final _sel_progressWithTotalUnitCount_parent_pendingUnitCount_1 = objc - .registerName("progressWithTotalUnitCount:parent:pendingUnitCount:"); + late final _sel_progressWithTotalUnitCount_parent_pendingUnitCount_1 = + objc.registerName("progressWithTotalUnitCount:parent:pendingUnitCount:"); ffi.Pointer _objc_msgSend_661( ffi.Pointer obj, ffi.Pointer sel, @@ -23495,27 +20060,22 @@ class AVFAudio { } late final __objc_msgSend_661Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int64, + ffi.Pointer, + ffi.Int64, + )>>('objc_msgSend'); + late final __objc_msgSend_661 = __objc_msgSend_661Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.Int64, + int, ffi.Pointer, - ffi.Int64, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_661 = - __objc_msgSend_661Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_initWithParent_userInfo_1 = objc.registerName( "initWithParent:userInfo:", @@ -23530,25 +20090,20 @@ class AVFAudio { } late final __objc_msgSend_662Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_662 = __objc_msgSend_662Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_662 = - __objc_msgSend_662Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_becomeCurrentWithPendingUnitCount_1 = objc.registerName( "becomeCurrentWithPendingUnitCount:", @@ -23562,26 +20117,21 @@ class AVFAudio { } late final __objc_msgSend_663Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int64, + )>>('objc_msgSend'); + late final __objc_msgSend_663 = __objc_msgSend_663Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, - ffi.Int64, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_663 = - __objc_msgSend_663Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); - late final _sel_performAsCurrentWithPendingUnitCount_usingBlock_1 = objc - .registerName("performAsCurrentWithPendingUnitCount:usingBlock:"); + late final _sel_performAsCurrentWithPendingUnitCount_usingBlock_1 = + objc.registerName("performAsCurrentWithPendingUnitCount:usingBlock:"); void _objc_msgSend_664( ffi.Pointer obj, ffi.Pointer sel, @@ -23592,25 +20142,20 @@ class AVFAudio { } late final __objc_msgSend_664Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int64, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_664 = __objc_msgSend_664Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, - ffi.Int64, + int, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_664 = - __objc_msgSend_664Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ) - >(); + )>(); late final _sel_resignCurrent1 = objc.registerName("resignCurrent"); late final _sel_addChild_withPendingUnitCount_1 = objc.registerName( @@ -23626,25 +20171,20 @@ class AVFAudio { } late final __objc_msgSend_665Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int64, + )>>('objc_msgSend'); + late final __objc_msgSend_665 = __objc_msgSend_665Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int64, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_665 = - __objc_msgSend_665Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_totalUnitCount1 = objc.registerName("totalUnitCount"); int _objc_msgSend_666( @@ -23655,21 +20195,16 @@ class AVFAudio { } late final __objc_msgSend_666Ptr = _lookup< - ffi.NativeFunction< - ffi.Int64 Function( + ffi.NativeFunction< + ffi.Int64 Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_666 = __objc_msgSend_666Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_666 = - __objc_msgSend_666Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_setTotalUnitCount_1 = objc.registerName("setTotalUnitCount:"); void _objc_msgSend_667( @@ -23681,23 +20216,18 @@ class AVFAudio { } late final __objc_msgSend_667Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int64, + )>>('objc_msgSend'); + late final __objc_msgSend_667 = __objc_msgSend_667Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, - ffi.Int64, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_667 = - __objc_msgSend_667Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_completedUnitCount1 = objc.registerName("completedUnitCount"); late final _sel_setCompletedUnitCount_1 = objc.registerName( @@ -23728,21 +20258,16 @@ class AVFAudio { } late final __objc_msgSend_668Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_668 = __objc_msgSend_668Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_668 = - __objc_msgSend_668Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_setCancellationHandler_1 = objc.registerName( "setCancellationHandler:", @@ -23756,23 +20281,18 @@ class AVFAudio { } late final __objc_msgSend_669Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_669 = __objc_msgSend_669Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_669 = - __objc_msgSend_669Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_pausingHandler1 = objc.registerName("pausingHandler"); late final _sel_setPausingHandler_1 = objc.registerName("setPausingHandler:"); @@ -23804,23 +20324,18 @@ class AVFAudio { } late final __objc_msgSend_670Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_670 = __objc_msgSend_670Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_670 = - __objc_msgSend_670Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_throughput1 = objc.registerName("throughput"); late final _sel_setThroughput_1 = objc.registerName("setThroughput:"); @@ -23839,23 +20354,18 @@ class AVFAudio { } late final __objc_msgSend_671Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_671 = __objc_msgSend_671Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_671 = - __objc_msgSend_671Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_fileTotalCount1 = objc.registerName("fileTotalCount"); late final _sel_setFileTotalCount_1 = objc.registerName("setFileTotalCount:"); @@ -23865,8 +20375,8 @@ class AVFAudio { ); late final _sel_publish1 = objc.registerName("publish"); late final _sel_unpublish1 = objc.registerName("unpublish"); - late final _sel_addSubscriberForFileURL_withPublishingHandler_1 = objc - .registerName("addSubscriberForFileURL:withPublishingHandler:"); + late final _sel_addSubscriberForFileURL_withPublishingHandler_1 = + objc.registerName("addSubscriberForFileURL:withPublishingHandler:"); ffi.Pointer _objc_msgSend_672( ffi.Pointer obj, ffi.Pointer sel, @@ -23877,32 +20387,27 @@ class AVFAudio { } late final __objc_msgSend_672Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_672 = __objc_msgSend_672Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_672 = - __objc_msgSend_672Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_removeSubscriber_1 = objc.registerName("removeSubscriber:"); late final _sel_isOld1 = objc.registerName("isOld"); late final _sel_registerDataRepresentationForTypeIdentifier_visibility_loadHandler_1 = objc.registerName( - "registerDataRepresentationForTypeIdentifier:visibility:loadHandler:", - ); + "registerDataRepresentationForTypeIdentifier:visibility:loadHandler:", + ); void _objc_msgSend_673( ffi.Pointer obj, ffi.Pointer sel, @@ -23920,32 +20425,27 @@ class AVFAudio { } late final __objc_msgSend_673Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_673 = __objc_msgSend_673Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_673 = - __objc_msgSend_673Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ) - >(); + )>(); late final _sel_registerFileRepresentationForTypeIdentifier_fileOptions_visibility_loadHandler_1 = objc.registerName( - "registerFileRepresentationForTypeIdentifier:fileOptions:visibility:loadHandler:", - ); + "registerFileRepresentationForTypeIdentifier:fileOptions:visibility:loadHandler:", + ); void _objc_msgSend_674( ffi.Pointer obj, ffi.Pointer sel, @@ -23965,35 +20465,30 @@ class AVFAudio { } late final __objc_msgSend_674Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Int32, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_674 = __objc_msgSend_674Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, - ffi.Int32, + int, + int, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_674 = - __objc_msgSend_674Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - int, - ffi.Pointer, - ) - >(); + )>(); late final _sel_registeredTypeIdentifiers1 = objc.registerName( "registeredTypeIdentifiers", ); - late final _sel_registeredTypeIdentifiersWithFileOptions_1 = objc - .registerName("registeredTypeIdentifiersWithFileOptions:"); + late final _sel_registeredTypeIdentifiersWithFileOptions_1 = + objc.registerName("registeredTypeIdentifiersWithFileOptions:"); ffi.Pointer _objc_msgSend_675( ffi.Pointer obj, ffi.Pointer sel, @@ -24003,31 +20498,26 @@ class AVFAudio { } late final __objc_msgSend_675Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + )>>('objc_msgSend'); + late final __objc_msgSend_675 = __objc_msgSend_675Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_675 = - __objc_msgSend_675Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_hasItemConformingToTypeIdentifier_1 = objc.registerName( "hasItemConformingToTypeIdentifier:", ); late final _sel_hasRepresentationConformingToTypeIdentifier_fileOptions_1 = objc.registerName( - "hasRepresentationConformingToTypeIdentifier:fileOptions:", - ); + "hasRepresentationConformingToTypeIdentifier:fileOptions:", + ); bool _objc_msgSend_676( ffi.Pointer obj, ffi.Pointer sel, @@ -24038,30 +20528,25 @@ class AVFAudio { } late final __objc_msgSend_676Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + )>>('objc_msgSend'); + late final __objc_msgSend_676 = __objc_msgSend_676Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_676 = - __objc_msgSend_676Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_loadDataRepresentationForTypeIdentifier_completionHandler_1 = objc.registerName( - "loadDataRepresentationForTypeIdentifier:completionHandler:", - ); + "loadDataRepresentationForTypeIdentifier:completionHandler:", + ); ffi.Pointer _objc_msgSend_677( ffi.Pointer obj, ffi.Pointer sel, @@ -24072,30 +20557,25 @@ class AVFAudio { } late final __objc_msgSend_677Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_677 = __objc_msgSend_677Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_677 = - __objc_msgSend_677Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_loadFileRepresentationForTypeIdentifier_completionHandler_1 = objc.registerName( - "loadFileRepresentationForTypeIdentifier:completionHandler:", - ); + "loadFileRepresentationForTypeIdentifier:completionHandler:", + ); ffi.Pointer _objc_msgSend_678( ffi.Pointer obj, ffi.Pointer sel, @@ -24106,30 +20586,25 @@ class AVFAudio { } late final __objc_msgSend_678Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_678 = __objc_msgSend_678Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_678 = - __objc_msgSend_678Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_loadInPlaceFileRepresentationForTypeIdentifier_completionHandler_1 = objc.registerName( - "loadInPlaceFileRepresentationForTypeIdentifier:completionHandler:", - ); + "loadInPlaceFileRepresentationForTypeIdentifier:completionHandler:", + ); ffi.Pointer _objc_msgSend_679( ffi.Pointer obj, ffi.Pointer sel, @@ -24140,25 +20615,20 @@ class AVFAudio { } late final __objc_msgSend_679Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_679 = __objc_msgSend_679Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_679 = - __objc_msgSend_679Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_suggestedName1 = objc.registerName("suggestedName"); late final _sel_setSuggestedName_1 = objc.registerName("setSuggestedName:"); @@ -24175,28 +20645,23 @@ class AVFAudio { } late final __objc_msgSend_680Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + )>>('objc_msgSend'); + late final __objc_msgSend_680 = __objc_msgSend_680Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_680 = - __objc_msgSend_680Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); - late final _sel_registerObjectOfClass_visibility_loadHandler_1 = objc - .registerName("registerObjectOfClass:visibility:loadHandler:"); + late final _sel_registerObjectOfClass_visibility_loadHandler_1 = + objc.registerName("registerObjectOfClass:visibility:loadHandler:"); void _objc_msgSend_681( ffi.Pointer obj, ffi.Pointer sel, @@ -24208,27 +20673,22 @@ class AVFAudio { } late final __objc_msgSend_681Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_681 = __objc_msgSend_681Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_681 = - __objc_msgSend_681Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ) - >(); + )>(); late final _sel_canLoadObjectOfClass_1 = objc.registerName( "canLoadObjectOfClass:", @@ -24246,25 +20706,20 @@ class AVFAudio { } late final __objc_msgSend_682Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_682 = __objc_msgSend_682Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_682 = - __objc_msgSend_682Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_initWithItem_typeIdentifier_1 = objc.registerName( "initWithItem:typeIdentifier:", @@ -24279,28 +20734,23 @@ class AVFAudio { } late final __objc_msgSend_683Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_683 = __objc_msgSend_683Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_683 = - __objc_msgSend_683Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); - late final _sel_registerItemForTypeIdentifier_loadHandler_1 = objc - .registerName("registerItemForTypeIdentifier:loadHandler:"); + late final _sel_registerItemForTypeIdentifier_loadHandler_1 = + objc.registerName("registerItemForTypeIdentifier:loadHandler:"); void _objc_msgSend_684( ffi.Pointer obj, ffi.Pointer sel, @@ -24311,28 +20761,23 @@ class AVFAudio { } late final __objc_msgSend_684Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_684 = __objc_msgSend_684Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_684 = - __objc_msgSend_684Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); - late final _sel_loadItemForTypeIdentifier_options_completionHandler_1 = objc - .registerName("loadItemForTypeIdentifier:options:completionHandler:"); + late final _sel_loadItemForTypeIdentifier_options_completionHandler_1 = + objc.registerName("loadItemForTypeIdentifier:options:completionHandler:"); void _objc_msgSend_685( ffi.Pointer obj, ffi.Pointer sel, @@ -24350,27 +20795,22 @@ class AVFAudio { } late final __objc_msgSend_685Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_685 = __objc_msgSend_685Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_685 = - __objc_msgSend_685Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_previewImageHandler1 = objc.registerName( "previewImageHandler", @@ -24383,21 +20823,16 @@ class AVFAudio { } late final __objc_msgSend_686Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_686 = __objc_msgSend_686Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_686 = - __objc_msgSend_686Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_setPreviewImageHandler_1 = objc.registerName( "setPreviewImageHandler:", @@ -24411,26 +20846,21 @@ class AVFAudio { } late final __objc_msgSend_687Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_687 = __objc_msgSend_687Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_687 = - __objc_msgSend_687Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); - late final _sel_loadPreviewImageWithOptions_completionHandler_1 = objc - .registerName("loadPreviewImageWithOptions:completionHandler:"); + late final _sel_loadPreviewImageWithOptions_completionHandler_1 = + objc.registerName("loadPreviewImageWithOptions:completionHandler:"); void _objc_msgSend_688( ffi.Pointer obj, ffi.Pointer sel, @@ -24441,25 +20871,20 @@ class AVFAudio { } late final __objc_msgSend_688Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_688 = __objc_msgSend_688Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_688 = - __objc_msgSend_688Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _class_NSMutableString1 = objc.getClass("NSMutableString"); late final _sel_replaceCharactersInRange_withString_1 = objc.registerName( @@ -24475,25 +20900,20 @@ class AVFAudio { } late final __objc_msgSend_689Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_689 = __objc_msgSend_689Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, _NSRange, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_689 = - __objc_msgSend_689Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - ) - >(); + )>(); late final _sel_insertString_atIndex_1 = objc.registerName( "insertString:atIndex:", @@ -24508,25 +20928,20 @@ class AVFAudio { } late final __objc_msgSend_690Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + )>>('objc_msgSend'); + late final __objc_msgSend_690 = __objc_msgSend_690Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_690 = - __objc_msgSend_690Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_deleteCharactersInRange_1 = objc.registerName( "deleteCharactersInRange:", @@ -24534,8 +20949,8 @@ class AVFAudio { late final _sel_appendString_1 = objc.registerName("appendString:"); late final _sel_appendFormat_1 = objc.registerName("appendFormat:"); late final _sel_setString_1 = objc.registerName("setString:"); - late final _sel_replaceOccurrencesOfString_withString_options_range_1 = objc - .registerName("replaceOccurrencesOfString:withString:options:range:"); + late final _sel_replaceOccurrencesOfString_withString_options_range_1 = + objc.registerName("replaceOccurrencesOfString:withString:options:range:"); int _objc_msgSend_691( ffi.Pointer obj, ffi.Pointer sel, @@ -24555,32 +20970,27 @@ class AVFAudio { } late final __objc_msgSend_691Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedLong Function( + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + _NSRange, + )>>('objc_msgSend'); + late final __objc_msgSend_691 = __objc_msgSend_691Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, _NSRange, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_691 = - __objc_msgSend_691Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - _NSRange, - ) - >(); + )>(); - late final _sel_applyTransform_reverse_range_updatedRange_1 = objc - .registerName("applyTransform:reverse:range:updatedRange:"); + late final _sel_applyTransform_reverse_range_updatedRange_1 = + objc.registerName("applyTransform:reverse:range:updatedRange:"); bool _objc_msgSend_692( ffi.Pointer obj, ffi.Pointer sel, @@ -24600,29 +21010,24 @@ class AVFAudio { } late final __objc_msgSend_692Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + _NSRange, + ffi.Pointer<_NSRange>, + )>>('objc_msgSend'); + late final __objc_msgSend_692 = __objc_msgSend_692Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Bool, + bool, _NSRange, ffi.Pointer<_NSRange>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_692 = - __objc_msgSend_692Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - _NSRange, - ffi.Pointer<_NSRange>, - ) - >(); + )>(); ffi.Pointer _objc_msgSend_693( ffi.Pointer obj, @@ -24633,23 +21038,18 @@ class AVFAudio { } late final __objc_msgSend_693Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + )>>('objc_msgSend'); + late final __objc_msgSend_693 = __objc_msgSend_693Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_693 = - __objc_msgSend_693Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_stringWithCapacity_1 = objc.registerName( "stringWithCapacity:", @@ -24670,27 +21070,22 @@ class AVFAudio { } late final __objc_msgSend_694Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_694 = __objc_msgSend_694Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_694 = - __objc_msgSend_694Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_notificationWithName_object_1 = objc.registerName( "notificationWithName:object:", @@ -24708,21 +21103,16 @@ class AVFAudio { } late final __objc_msgSend_695Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_695 = __objc_msgSend_695Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_695 = - __objc_msgSend_695Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_bundleWithPath_1 = objc.registerName("bundleWithPath:"); late final _sel_initWithPath_1 = objc.registerName("initWithPath:"); @@ -24738,23 +21128,18 @@ class AVFAudio { } late final __objc_msgSend_696Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_696 = __objc_msgSend_696Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_696 = - __objc_msgSend_696Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_bundleWithIdentifier_1 = objc.registerName( "bundleWithIdentifier:", @@ -24768,23 +21153,18 @@ class AVFAudio { } late final __objc_msgSend_697Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_697 = __objc_msgSend_697Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_697 = - __objc_msgSend_697Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_allBundles1 = objc.registerName("allBundles"); late final _sel_allFrameworks1 = objc.registerName("allFrameworks"); @@ -24827,8 +21207,8 @@ class AVFAudio { late final _sel_builtInPlugInsPath1 = objc.registerName("builtInPlugInsPath"); late final _sel_URLForResource_withExtension_subdirectory_inBundleWithURL_1 = objc.registerName( - "URLForResource:withExtension:subdirectory:inBundleWithURL:", - ); + "URLForResource:withExtension:subdirectory:inBundleWithURL:", + ); ffi.Pointer _objc_msgSend_698( ffi.Pointer obj, ffi.Pointer sel, @@ -24841,7 +21221,16 @@ class AVFAudio { } late final __objc_msgSend_698Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_698 = __objc_msgSend_698Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, @@ -24849,26 +21238,12 @@ class AVFAudio { ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_698 = - __objc_msgSend_698Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_URLsForResourcesWithExtension_subdirectory_inBundleWithURL_1 = objc.registerName( - "URLsForResourcesWithExtension:subdirectory:inBundleWithURL:", - ); + "URLsForResourcesWithExtension:subdirectory:inBundleWithURL:", + ); ffi.Pointer _objc_msgSend_699( ffi.Pointer obj, ffi.Pointer sel, @@ -24880,27 +21255,22 @@ class AVFAudio { } late final __objc_msgSend_699Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_699 = __objc_msgSend_699Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_699 = - __objc_msgSend_699Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_URLForResource_withExtension_1 = objc.registerName( "URLForResource:withExtension:", @@ -24915,28 +21285,23 @@ class AVFAudio { } late final __objc_msgSend_700Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_700 = __objc_msgSend_700Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_700 = - __objc_msgSend_700Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); - late final _sel_URLForResource_withExtension_subdirectory_1 = objc - .registerName("URLForResource:withExtension:subdirectory:"); + late final _sel_URLForResource_withExtension_subdirectory_1 = + objc.registerName("URLForResource:withExtension:subdirectory:"); ffi.Pointer _objc_msgSend_701( ffi.Pointer obj, ffi.Pointer sel, @@ -24948,32 +21313,27 @@ class AVFAudio { } late final __objc_msgSend_701Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_701 = __objc_msgSend_701Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_701 = - __objc_msgSend_701Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_URLForResource_withExtension_subdirectory_localization_1 = objc.registerName( - "URLForResource:withExtension:subdirectory:localization:", - ); + "URLForResource:withExtension:subdirectory:localization:", + ); ffi.Pointer _objc_msgSend_702( ffi.Pointer obj, ffi.Pointer sel, @@ -24986,7 +21346,16 @@ class AVFAudio { } late final __objc_msgSend_702Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_702 = __objc_msgSend_702Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, @@ -24994,24 +21363,10 @@ class AVFAudio { ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_702 = - __objc_msgSend_702Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); - late final _sel_URLsForResourcesWithExtension_subdirectory_1 = objc - .registerName("URLsForResourcesWithExtension:subdirectory:"); + late final _sel_URLsForResourcesWithExtension_subdirectory_1 = + objc.registerName("URLsForResourcesWithExtension:subdirectory:"); ffi.Pointer _objc_msgSend_703( ffi.Pointer obj, ffi.Pointer sel, @@ -25022,30 +21377,25 @@ class AVFAudio { } late final __objc_msgSend_703Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_703 = __objc_msgSend_703Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_703 = - __objc_msgSend_703Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_URLsForResourcesWithExtension_subdirectory_localization_1 = objc.registerName( - "URLsForResourcesWithExtension:subdirectory:localization:", - ); + "URLsForResourcesWithExtension:subdirectory:localization:", + ); ffi.Pointer _objc_msgSend_704( ffi.Pointer obj, ffi.Pointer sel, @@ -25057,27 +21407,22 @@ class AVFAudio { } late final __objc_msgSend_704Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_704 = __objc_msgSend_704Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_704 = - __objc_msgSend_704Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_pathForResource_ofType_inDirectory_1 = objc.registerName( "pathForResource:ofType:inDirectory:", @@ -25093,27 +21438,22 @@ class AVFAudio { } late final __objc_msgSend_705Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_705 = __objc_msgSend_705Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_705 = - __objc_msgSend_705Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_pathsForResourcesOfType_inDirectory_1 = objc.registerName( "pathsForResourcesOfType:inDirectory:", @@ -25128,25 +21468,20 @@ class AVFAudio { } late final __objc_msgSend_706Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_706 = __objc_msgSend_706Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_706 = - __objc_msgSend_706Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_pathForResource_ofType_1 = objc.registerName( "pathForResource:ofType:", @@ -25161,28 +21496,23 @@ class AVFAudio { } late final __objc_msgSend_707Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_707 = __objc_msgSend_707Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_707 = - __objc_msgSend_707Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); - late final _sel_pathForResource_ofType_inDirectory_forLocalization_1 = objc - .registerName("pathForResource:ofType:inDirectory:forLocalization:"); + late final _sel_pathForResource_ofType_inDirectory_forLocalization_1 = + objc.registerName("pathForResource:ofType:inDirectory:forLocalization:"); ffi.Pointer _objc_msgSend_708( ffi.Pointer obj, ffi.Pointer sel, @@ -25195,7 +21525,16 @@ class AVFAudio { } late final __objc_msgSend_708Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_708 = __objc_msgSend_708Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, @@ -25203,24 +21542,10 @@ class AVFAudio { ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_708 = - __objc_msgSend_708Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); - late final _sel_pathsForResourcesOfType_inDirectory_forLocalization_1 = objc - .registerName("pathsForResourcesOfType:inDirectory:forLocalization:"); + late final _sel_pathsForResourcesOfType_inDirectory_forLocalization_1 = + objc.registerName("pathsForResourcesOfType:inDirectory:forLocalization:"); ffi.Pointer _objc_msgSend_709( ffi.Pointer obj, ffi.Pointer sel, @@ -25232,27 +21557,22 @@ class AVFAudio { } late final __objc_msgSend_709Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_709 = __objc_msgSend_709Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_709 = - __objc_msgSend_709Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_localizedStringForKey_value_table_1 = objc.registerName( "localizedStringForKey:value:table:", @@ -25268,27 +21588,22 @@ class AVFAudio { } late final __objc_msgSend_710Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_710 = __objc_msgSend_710Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_710 = - __objc_msgSend_710Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _class_NSAttributedString1 = objc.getClass("NSAttributedString"); late final _sel_attributesAtIndex_effectiveRange_1 = objc.registerName( @@ -25304,25 +21619,20 @@ class AVFAudio { } late final __objc_msgSend_711Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer<_NSRange>, + )>>('objc_msgSend'); + late final __objc_msgSend_711 = __objc_msgSend_711Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, + int, ffi.Pointer<_NSRange>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_711 = - __objc_msgSend_711Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer<_NSRange>, - ) - >(); + )>(); late final _sel_attribute_atIndex_effectiveRange_1 = objc.registerName( "attribute:atIndex:effectiveRange:", @@ -25338,27 +21648,22 @@ class AVFAudio { } late final __objc_msgSend_712Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer<_NSRange>, + )>>('objc_msgSend'); + late final __objc_msgSend_712 = __objc_msgSend_712Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, + int, ffi.Pointer<_NSRange>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_712 = - __objc_msgSend_712Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer<_NSRange>, - ) - >(); + )>(); late final _sel_attributedSubstringFromRange_1 = objc.registerName( "attributedSubstringFromRange:", @@ -25372,26 +21677,21 @@ class AVFAudio { } late final __objc_msgSend_713Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + )>>('objc_msgSend'); + late final __objc_msgSend_713 = __objc_msgSend_713Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, _NSRange, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_713 = - __objc_msgSend_713Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ) - >(); + )>(); - late final _sel_attributesAtIndex_longestEffectiveRange_inRange_1 = objc - .registerName("attributesAtIndex:longestEffectiveRange:inRange:"); + late final _sel_attributesAtIndex_longestEffectiveRange_inRange_1 = + objc.registerName("attributesAtIndex:longestEffectiveRange:inRange:"); ffi.Pointer _objc_msgSend_714( ffi.Pointer obj, ffi.Pointer sel, @@ -25403,30 +21703,25 @@ class AVFAudio { } late final __objc_msgSend_714Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer<_NSRange>, + _NSRange, + )>>('objc_msgSend'); + late final __objc_msgSend_714 = __objc_msgSend_714Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, + int, ffi.Pointer<_NSRange>, _NSRange, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_714 = - __objc_msgSend_714Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer<_NSRange>, - _NSRange, - ) - >(); + )>(); - late final _sel_attribute_atIndex_longestEffectiveRange_inRange_1 = objc - .registerName("attribute:atIndex:longestEffectiveRange:inRange:"); + late final _sel_attribute_atIndex_longestEffectiveRange_inRange_1 = + objc.registerName("attribute:atIndex:longestEffectiveRange:inRange:"); ffi.Pointer _objc_msgSend_715( ffi.Pointer obj, ffi.Pointer sel, @@ -25439,29 +21734,24 @@ class AVFAudio { } late final __objc_msgSend_715Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer<_NSRange>, + _NSRange, + )>>('objc_msgSend'); + late final __objc_msgSend_715 = __objc_msgSend_715Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, + int, ffi.Pointer<_NSRange>, _NSRange, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_715 = - __objc_msgSend_715Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer<_NSRange>, - _NSRange, - ) - >(); + )>(); late final _sel_isEqualToAttributedString_1 = objc.registerName( "isEqualToAttributedString:", @@ -25475,23 +21765,18 @@ class AVFAudio { } late final __objc_msgSend_716Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_716 = __objc_msgSend_716Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_716 = - __objc_msgSend_716Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_initWithString_attributes_1 = objc.registerName( "initWithString:attributes:", @@ -25506,25 +21791,20 @@ class AVFAudio { } late final __objc_msgSend_717Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_717 = __objc_msgSend_717Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_717 = - __objc_msgSend_717Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_initWithAttributedString_1 = objc.registerName( "initWithAttributedString:", @@ -25538,26 +21818,21 @@ class AVFAudio { } late final __objc_msgSend_718Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_718 = __objc_msgSend_718Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_718 = - __objc_msgSend_718Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); - late final _sel_enumerateAttributesInRange_options_usingBlock_1 = objc - .registerName("enumerateAttributesInRange:options:usingBlock:"); + late final _sel_enumerateAttributesInRange_options_usingBlock_1 = + objc.registerName("enumerateAttributesInRange:options:usingBlock:"); void _objc_msgSend_719( ffi.Pointer obj, ffi.Pointer sel, @@ -25569,30 +21844,25 @@ class AVFAudio { } late final __objc_msgSend_719Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Int32, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_719 = __objc_msgSend_719Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, _NSRange, - ffi.Int32, + int, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_719 = - __objc_msgSend_719Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - int, - ffi.Pointer, - ) - >(); + )>(); - late final _sel_enumerateAttribute_inRange_options_usingBlock_1 = objc - .registerName("enumerateAttribute:inRange:options:usingBlock:"); + late final _sel_enumerateAttribute_inRange_options_usingBlock_1 = + objc.registerName("enumerateAttribute:inRange:options:usingBlock:"); void _objc_msgSend_720( ffi.Pointer obj, ffi.Pointer sel, @@ -25612,29 +21882,24 @@ class AVFAudio { } late final __objc_msgSend_720Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Int32, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_720 = __objc_msgSend_720Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, _NSRange, - ffi.Int32, + int, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_720 = - __objc_msgSend_720Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - _NSRange, - int, - ffi.Pointer, - ) - >(); + )>(); late final _class_NSAttributedStringMarkdownParsingOptions1 = objc.getClass( "NSAttributedStringMarkdownParsingOptions", @@ -25654,21 +21919,16 @@ class AVFAudio { } late final __objc_msgSend_721Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_721 = __objc_msgSend_721Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_721 = - __objc_msgSend_721Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_setInterpretedSyntax_1 = objc.registerName( "setInterpretedSyntax:", @@ -25682,23 +21942,18 @@ class AVFAudio { } late final __objc_msgSend_722Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + )>>('objc_msgSend'); + late final __objc_msgSend_722 = __objc_msgSend_722Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_722 = - __objc_msgSend_722Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_failurePolicy1 = objc.registerName("failurePolicy"); int _objc_msgSend_723( @@ -25709,21 +21964,16 @@ class AVFAudio { } late final __objc_msgSend_723Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_723 = __objc_msgSend_723Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_723 = - __objc_msgSend_723Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_setFailurePolicy_1 = objc.registerName("setFailurePolicy:"); void _objc_msgSend_724( @@ -25735,23 +21985,18 @@ class AVFAudio { } late final __objc_msgSend_724Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + )>>('objc_msgSend'); + late final __objc_msgSend_724 = __objc_msgSend_724Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_724 = - __objc_msgSend_724Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_setLanguageCode_1 = objc.registerName("setLanguageCode:"); late final _sel_appliesSourcePositionAttributes1 = objc.registerName( @@ -25762,8 +22007,8 @@ class AVFAudio { ); late final _sel_initWithContentsOfMarkdownFileAtURL_options_baseURL_error_1 = objc.registerName( - "initWithContentsOfMarkdownFileAtURL:options:baseURL:error:", - ); + "initWithContentsOfMarkdownFileAtURL:options:baseURL:error:", + ); instancetype _objc_msgSend_725( ffi.Pointer obj, ffi.Pointer sel, @@ -25776,7 +22021,16 @@ class AVFAudio { } late final __objc_msgSend_725Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_725 = __objc_msgSend_725Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, @@ -25784,21 +22038,7 @@ class AVFAudio { ffi.Pointer, ffi.Pointer, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_725 = - __objc_msgSend_725Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ) - >(); + )>(); late final _sel_initWithMarkdown_options_baseURL_error_1 = objc.registerName( "initWithMarkdown:options:baseURL:error:", @@ -25815,7 +22055,16 @@ class AVFAudio { } late final __objc_msgSend_726Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_726 = __objc_msgSend_726Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, @@ -25823,24 +22072,10 @@ class AVFAudio { ffi.Pointer, ffi.Pointer, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_726 = - __objc_msgSend_726Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ) - >(); + )>(); - late final _sel_initWithMarkdownString_options_baseURL_error_1 = objc - .registerName("initWithMarkdownString:options:baseURL:error:"); + late final _sel_initWithMarkdownString_options_baseURL_error_1 = + objc.registerName("initWithMarkdownString:options:baseURL:error:"); instancetype _objc_msgSend_727( ffi.Pointer obj, ffi.Pointer sel, @@ -25860,7 +22095,16 @@ class AVFAudio { } late final __objc_msgSend_727Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_727 = __objc_msgSend_727Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, @@ -25868,21 +22112,7 @@ class AVFAudio { ffi.Pointer, ffi.Pointer, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_727 = - __objc_msgSend_727Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ) - >(); + )>(); late final _sel_initWithFormat_options_locale_1 = objc.registerName( "initWithFormat:options:locale:", @@ -25898,27 +22128,22 @@ class AVFAudio { } late final __objc_msgSend_728Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_728 = __objc_msgSend_728Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_728 = - __objc_msgSend_728Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ) - >(); + )>(); late final _sel_initWithFormat_options_locale_arguments_1 = objc.registerName( "initWithFormat:options:locale:arguments:", @@ -25935,35 +22160,30 @@ class AVFAudio { } late final __objc_msgSend_729Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ffi.Pointer<__va_list_tag>, + )>>('objc_msgSend'); + late final __objc_msgSend_729 = __objc_msgSend_729Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, ffi.Pointer, ffi.Pointer<__va_list_tag>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_729 = - __objc_msgSend_729Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ffi.Pointer<__va_list_tag>, - ) - >(); + )>(); late final _sel_localizedAttributedStringWithFormat_1 = objc.registerName( "localizedAttributedStringWithFormat:", ); - late final _sel_localizedAttributedStringWithFormat_options_1 = objc - .registerName("localizedAttributedStringWithFormat:options:"); + late final _sel_localizedAttributedStringWithFormat_options_1 = + objc.registerName("localizedAttributedStringWithFormat:options:"); instancetype _objc_msgSend_730( ffi.Pointer obj, ffi.Pointer sel, @@ -25974,25 +22194,20 @@ class AVFAudio { } late final __objc_msgSend_730Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + )>>('objc_msgSend'); + late final __objc_msgSend_730 = __objc_msgSend_730Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_730 = - __objc_msgSend_730Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_initWithFormat_options_locale_context_1 = objc.registerName( "initWithFormat:options:locale:context:", @@ -26009,32 +22224,27 @@ class AVFAudio { } late final __objc_msgSend_731Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_731 = __objc_msgSend_731Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_731 = - __objc_msgSend_731Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); - late final _sel_initWithFormat_options_locale_context_arguments_1 = objc - .registerName("initWithFormat:options:locale:context:arguments:"); + late final _sel_initWithFormat_options_locale_context_arguments_1 = + objc.registerName("initWithFormat:options:locale:context:arguments:"); instancetype _objc_msgSend_732( ffi.Pointer obj, ffi.Pointer sel, @@ -26056,34 +22266,29 @@ class AVFAudio { } late final __objc_msgSend_732Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<__va_list_tag>, + )>>('objc_msgSend'); + late final __objc_msgSend_732 = __objc_msgSend_732Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, ffi.Pointer, ffi.Pointer, ffi.Pointer<__va_list_tag>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_732 = - __objc_msgSend_732Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<__va_list_tag>, - ) - >(); + )>(); - late final _sel_localizedAttributedStringWithFormat_context_1 = objc - .registerName("localizedAttributedStringWithFormat:context:"); + late final _sel_localizedAttributedStringWithFormat_context_1 = + objc.registerName("localizedAttributedStringWithFormat:context:"); instancetype _objc_msgSend_733( ffi.Pointer obj, ffi.Pointer sel, @@ -26094,28 +22299,23 @@ class AVFAudio { } late final __objc_msgSend_733Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_733 = __objc_msgSend_733Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_733 = - __objc_msgSend_733Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); - late final _sel_localizedAttributedStringWithFormat_options_context_1 = objc - .registerName("localizedAttributedStringWithFormat:options:context:"); + late final _sel_localizedAttributedStringWithFormat_options_context_1 = + objc.registerName("localizedAttributedStringWithFormat:options:context:"); instancetype _objc_msgSend_734( ffi.Pointer obj, ffi.Pointer sel, @@ -26127,27 +22327,22 @@ class AVFAudio { } late final __objc_msgSend_734Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_734 = __objc_msgSend_734Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_734 = - __objc_msgSend_734Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ) - >(); + )>(); late final _sel_attributedStringByInflectingString1 = objc.registerName( "attributedStringByInflectingString", @@ -26160,24 +22355,19 @@ class AVFAudio { } late final __objc_msgSend_735Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_735 = __objc_msgSend_735Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_735 = - __objc_msgSend_735Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); - late final _sel_localizedAttributedStringForKey_value_table_1 = objc - .registerName("localizedAttributedStringForKey:value:table:"); + late final _sel_localizedAttributedStringForKey_value_table_1 = + objc.registerName("localizedAttributedStringForKey:value:table:"); ffi.Pointer _objc_msgSend_736( ffi.Pointer obj, ffi.Pointer sel, @@ -26189,27 +22379,22 @@ class AVFAudio { } late final __objc_msgSend_736Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_736 = __objc_msgSend_736Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_736 = - __objc_msgSend_736Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_bundleIdentifier1 = objc.registerName("bundleIdentifier"); late final _sel_infoDictionary1 = objc.registerName("infoDictionary"); @@ -26231,8 +22416,8 @@ class AVFAudio { late final _sel_preferredLocalizationsFromArray_1 = objc.registerName( "preferredLocalizationsFromArray:", ); - late final _sel_preferredLocalizationsFromArray_forPreferences_1 = objc - .registerName("preferredLocalizationsFromArray:forPreferences:"); + late final _sel_preferredLocalizationsFromArray_forPreferences_1 = + objc.registerName("preferredLocalizationsFromArray:forPreferences:"); ffi.Pointer _objc_msgSend_737( ffi.Pointer obj, ffi.Pointer sel, @@ -26243,25 +22428,20 @@ class AVFAudio { } late final __objc_msgSend_737Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_737 = __objc_msgSend_737Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_737 = - __objc_msgSend_737Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_executableArchitectures1 = objc.registerName( "executableArchitectures", @@ -26279,25 +22459,20 @@ class AVFAudio { } late final __objc_msgSend_738Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Double, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_738 = __objc_msgSend_738Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, - ffi.Double, + double, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_738 = - __objc_msgSend_738Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - double, - ffi.Pointer, - ) - >(); + )>(); late final _sel_preservationPriorityForTag_1 = objc.registerName( "preservationPriorityForTag:", @@ -26318,25 +22493,20 @@ class AVFAudio { } late final __objc_msgSend_739Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange, + )>>('objc_msgSend'); + late final __objc_msgSend_739 = __objc_msgSend_739Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, _NSRange, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_739 = - __objc_msgSend_739Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - _NSRange, - ) - >(); + )>(); late final _sel_mutableString1 = objc.registerName("mutableString"); ffi.Pointer _objc_msgSend_740( @@ -26347,21 +22517,16 @@ class AVFAudio { } late final __objc_msgSend_740Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_740 = __objc_msgSend_740Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_740 = - __objc_msgSend_740Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_addAttribute_value_range_1 = objc.registerName( "addAttribute:value:range:", @@ -26377,27 +22542,22 @@ class AVFAudio { } late final __objc_msgSend_741Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange, + )>>('objc_msgSend'); + late final __objc_msgSend_741 = __objc_msgSend_741Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, _NSRange, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_741 = - __objc_msgSend_741Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - _NSRange, - ) - >(); + )>(); late final _sel_addAttributes_range_1 = objc.registerName( "addAttributes:range:", @@ -26412,25 +22572,20 @@ class AVFAudio { } late final __objc_msgSend_742Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange, + )>>('objc_msgSend'); + late final __objc_msgSend_742 = __objc_msgSend_742Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, _NSRange, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_742 = - __objc_msgSend_742Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - _NSRange, - ) - >(); + )>(); late final _sel_removeAttribute_range_1 = objc.registerName( "removeAttribute:range:", @@ -26445,28 +22600,23 @@ class AVFAudio { } late final __objc_msgSend_743Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange, + )>>('objc_msgSend'); + late final __objc_msgSend_743 = __objc_msgSend_743Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, _NSRange, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_743 = - __objc_msgSend_743Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - _NSRange, - ) - >(); + )>(); - late final _sel_replaceCharactersInRange_withAttributedString_1 = objc - .registerName("replaceCharactersInRange:withAttributedString:"); + late final _sel_replaceCharactersInRange_withAttributedString_1 = + objc.registerName("replaceCharactersInRange:withAttributedString:"); void _objc_msgSend_744( ffi.Pointer obj, ffi.Pointer sel, @@ -26477,25 +22627,20 @@ class AVFAudio { } late final __objc_msgSend_744Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_744 = __objc_msgSend_744Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, _NSRange, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_744 = - __objc_msgSend_744Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - ) - >(); + )>(); late final _sel_insertAttributedString_atIndex_1 = objc.registerName( "insertAttributedString:atIndex:", @@ -26510,25 +22655,20 @@ class AVFAudio { } late final __objc_msgSend_745Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + )>>('objc_msgSend'); + late final __objc_msgSend_745 = __objc_msgSend_745Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_745 = - __objc_msgSend_745Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_appendAttributedString_1 = objc.registerName( "appendAttributedString:", @@ -26542,23 +22682,18 @@ class AVFAudio { } late final __objc_msgSend_746Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_746 = __objc_msgSend_746Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_746 = - __objc_msgSend_746Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_setAttributedString_1 = objc.registerName( "setAttributedString:", @@ -26582,23 +22717,18 @@ class AVFAudio { } late final __objc_msgSend_747Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_747 = __objc_msgSend_747Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_747 = - __objc_msgSend_747Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_attributedStringForObjectValue_withDefaultAttributes_1 = objc .registerName("attributedStringForObjectValue:withDefaultAttributes:"); @@ -26612,31 +22742,26 @@ class AVFAudio { } late final __objc_msgSend_748Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_748 = __objc_msgSend_748Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_748 = - __objc_msgSend_748Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_editingStringForObjectValue_1 = objc.registerName( "editingStringForObjectValue:", ); - late final _sel_getObjectValue_forString_errorDescription_1 = objc - .registerName("getObjectValue:forString:errorDescription:"); + late final _sel_getObjectValue_forString_errorDescription_1 = + objc.registerName("getObjectValue:forString:errorDescription:"); bool _objc_msgSend_749( ffi.Pointer obj, ffi.Pointer sel, @@ -26648,32 +22773,27 @@ class AVFAudio { } late final __objc_msgSend_749Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_749 = __objc_msgSend_749Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer>, ffi.Pointer, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_749 = - __objc_msgSend_749Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer, - ffi.Pointer>, - ) - >(); + )>(); late final _sel_isPartialStringValid_newEditingString_errorDescription_1 = objc.registerName( - "isPartialStringValid:newEditingString:errorDescription:", - ); + "isPartialStringValid:newEditingString:errorDescription:", + ); bool _objc_msgSend_750( ffi.Pointer obj, ffi.Pointer sel, @@ -26685,32 +22805,27 @@ class AVFAudio { } late final __objc_msgSend_750Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_750 = __objc_msgSend_750Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer>, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_750 = - __objc_msgSend_750Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer>, - ) - >(); + )>(); late final _sel_isPartialStringValid_proposedSelectedRange_originalString_originalSelectedRange_errorDescription_1 = objc.registerName( - "isPartialStringValid:proposedSelectedRange:originalString:originalSelectedRange:errorDescription:", - ); + "isPartialStringValid:proposedSelectedRange:originalString:originalSelectedRange:errorDescription:", + ); bool _objc_msgSend_751( ffi.Pointer obj, ffi.Pointer sel, @@ -26732,8 +22847,18 @@ class AVFAudio { } late final __objc_msgSend_751Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer<_NSRange>, + ffi.Pointer, + _NSRange, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_751 = __objc_msgSend_751Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer>, @@ -26741,22 +22866,7 @@ class AVFAudio { ffi.Pointer, _NSRange, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_751 = - __objc_msgSend_751Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer<_NSRange>, - ffi.Pointer, - _NSRange, - ffi.Pointer>, - ) - >(); + )>(); late final _sel_formattingContext1 = objc.registerName("formattingContext"); int _objc_msgSend_752( @@ -26767,21 +22877,16 @@ class AVFAudio { } late final __objc_msgSend_752Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_752 = __objc_msgSend_752Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_752 = - __objc_msgSend_752Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_setFormattingContext_1 = objc.registerName( "setFormattingContext:", @@ -26795,23 +22900,18 @@ class AVFAudio { } late final __objc_msgSend_753Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + )>>('objc_msgSend'); + late final __objc_msgSend_753 = __objc_msgSend_753Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_753 = - __objc_msgSend_753Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_getObjectValue_forString_range_error_1 = objc.registerName( "getObjectValue:forString:range:error:", @@ -26828,29 +22928,24 @@ class AVFAudio { } late final __objc_msgSend_754Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer, + ffi.Pointer<_NSRange>, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_754 = __objc_msgSend_754Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer>, ffi.Pointer, ffi.Pointer<_NSRange>, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_754 = - __objc_msgSend_754Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer, - ffi.Pointer<_NSRange>, - ffi.Pointer>, - ) - >(); + )>(); late final _sel_stringFromDate_1 = objc.registerName("stringFromDate:"); ffi.Pointer _objc_msgSend_755( @@ -26862,27 +22957,22 @@ class AVFAudio { } late final __objc_msgSend_755Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_755 = __objc_msgSend_755Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_755 = - __objc_msgSend_755Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_dateFromString_1 = objc.registerName("dateFromString:"); - late final _sel_localizedStringFromDate_dateStyle_timeStyle_1 = objc - .registerName("localizedStringFromDate:dateStyle:timeStyle:"); + late final _sel_localizedStringFromDate_dateStyle_timeStyle_1 = + objc.registerName("localizedStringFromDate:dateStyle:timeStyle:"); ffi.Pointer _objc_msgSend_756( ffi.Pointer obj, ffi.Pointer sel, @@ -26894,27 +22984,22 @@ class AVFAudio { } late final __objc_msgSend_756Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Int32, + )>>('objc_msgSend'); + late final __objc_msgSend_756 = __objc_msgSend_756Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_756 = - __objc_msgSend_756Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - int, - ) - >(); + int, + int, + )>(); late final _sel_dateFormatFromTemplate_options_locale_1 = objc.registerName( "dateFormatFromTemplate:options:locale:", @@ -26930,27 +23015,22 @@ class AVFAudio { } late final __objc_msgSend_757Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_757 = __objc_msgSend_757Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, + int, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_757 = - __objc_msgSend_757Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ) - >(); + )>(); late final _sel_defaultFormatterBehavior1 = objc.registerName( "defaultFormatterBehavior", @@ -26963,21 +23043,16 @@ class AVFAudio { } late final __objc_msgSend_758Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_758 = __objc_msgSend_758Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_758 = - __objc_msgSend_758Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_setDefaultFormatterBehavior_1 = objc.registerName( "setDefaultFormatterBehavior:", @@ -26991,23 +23066,18 @@ class AVFAudio { } late final __objc_msgSend_759Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + )>>('objc_msgSend'); + late final __objc_msgSend_759 = __objc_msgSend_759Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_759 = - __objc_msgSend_759Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_setLocalizedDateFormatFromTemplate_1 = objc.registerName( "setLocalizedDateFormatFromTemplate:", @@ -27023,21 +23093,16 @@ class AVFAudio { } late final __objc_msgSend_760Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_760 = __objc_msgSend_760Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_760 = - __objc_msgSend_760Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_setDateStyle_1 = objc.registerName("setDateStyle:"); void _objc_msgSend_761( @@ -27049,23 +23114,18 @@ class AVFAudio { } late final __objc_msgSend_761Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + )>>('objc_msgSend'); + late final __objc_msgSend_761 = __objc_msgSend_761Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_761 = - __objc_msgSend_761Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_timeStyle1 = objc.registerName("timeStyle"); late final _sel_setTimeStyle_1 = objc.registerName("setTimeStyle:"); @@ -27080,23 +23140,18 @@ class AVFAudio { } late final __objc_msgSend_762Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_762 = __objc_msgSend_762Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_762 = - __objc_msgSend_762Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_generatesCalendarDates1 = objc.registerName( "generatesCalendarDates", @@ -27118,21 +23173,16 @@ class AVFAudio { } late final __objc_msgSend_763Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_763 = __objc_msgSend_763Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_763 = - __objc_msgSend_763Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_autoupdatingCurrentCalendar1 = objc.registerName( "autoupdatingCurrentCalendar", @@ -27149,23 +23199,18 @@ class AVFAudio { } late final __objc_msgSend_764Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_764 = __objc_msgSend_764Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_764 = - __objc_msgSend_764Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_initWithCalendarIdentifier_1 = objc.registerName( "initWithCalendarIdentifier:", @@ -27178,21 +23223,16 @@ class AVFAudio { } late final __objc_msgSend_765Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_765 = __objc_msgSend_765Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_765 = - __objc_msgSend_765Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); void _objc_msgSend_766( ffi.Pointer obj, @@ -27203,23 +23243,18 @@ class AVFAudio { } late final __objc_msgSend_766Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_766 = __objc_msgSend_766Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_766 = - __objc_msgSend_766Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_firstWeekday1 = objc.registerName("firstWeekday"); late final _sel_setFirstWeekday_1 = objc.registerName("setFirstWeekday:"); @@ -27285,23 +23320,18 @@ class AVFAudio { } late final __objc_msgSend_767Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + _NSRange Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + )>>('objc_msgSend'); + late final __objc_msgSend_767 = __objc_msgSend_767Ptr.asFunction< _NSRange Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_767 = - __objc_msgSend_767Ptr - .asFunction< - _NSRange Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); void _objc_msgSend_767_stret( ffi.Pointer<_NSRange> stret, @@ -27313,25 +23343,20 @@ class AVFAudio { } late final __objc_msgSend_767_stretPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer<_NSRange>, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + )>>('objc_msgSend_stret'); + late final __objc_msgSend_767_stret = __objc_msgSend_767_stretPtr.asFunction< + void Function( ffi.Pointer<_NSRange>, ffi.Pointer, ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend_stret'); - late final __objc_msgSend_767_stret = - __objc_msgSend_767_stretPtr - .asFunction< - void Function( - ffi.Pointer<_NSRange>, - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_maximumRangeOfUnit_1 = objc.registerName( "maximumRangeOfUnit:", @@ -27350,27 +23375,22 @@ class AVFAudio { } late final __objc_msgSend_768Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + _NSRange Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Int32, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_768 = __objc_msgSend_768Ptr.asFunction< _NSRange Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, - ffi.Int32, + int, + int, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_768 = - __objc_msgSend_768Ptr - .asFunction< - _NSRange Function( - ffi.Pointer, - ffi.Pointer, - int, - int, - ffi.Pointer, - ) - >(); + )>(); void _objc_msgSend_768_stret( ffi.Pointer<_NSRange> stret, @@ -27384,29 +23404,24 @@ class AVFAudio { } late final __objc_msgSend_768_stretPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer<_NSRange>, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Int32, + ffi.Pointer, + )>>('objc_msgSend_stret'); + late final __objc_msgSend_768_stret = __objc_msgSend_768_stretPtr.asFunction< + void Function( ffi.Pointer<_NSRange>, ffi.Pointer, ffi.Pointer, - ffi.Int32, - ffi.Int32, + int, + int, ffi.Pointer, - ) - > - >('objc_msgSend_stret'); - late final __objc_msgSend_768_stret = - __objc_msgSend_768_stretPtr - .asFunction< - void Function( - ffi.Pointer<_NSRange>, - ffi.Pointer, - ffi.Pointer, - int, - int, - ffi.Pointer, - ) - >(); + )>(); late final _sel_ordinalityOfUnit_inUnit_forDate_1 = objc.registerName( "ordinalityOfUnit:inUnit:forDate:", @@ -27422,27 +23437,22 @@ class AVFAudio { } late final __objc_msgSend_769Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedLong Function( + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Int32, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_769 = __objc_msgSend_769Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, - ffi.Int32, + int, + int, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_769 = - __objc_msgSend_769Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - int, - int, - ffi.Pointer, - ) - >(); + )>(); late final _sel_rangeOfUnit_startDate_interval_forDate_1 = objc.registerName( "rangeOfUnit:startDate:interval:forDate:", @@ -27459,29 +23469,24 @@ class AVFAudio { } late final __objc_msgSend_770Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer>, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_770 = __objc_msgSend_770Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, ffi.Pointer>, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_770 = - __objc_msgSend_770Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _class_NSDateComponents1 = objc.getClass("NSDateComponents"); late final _sel_calendar1 = objc.registerName("calendar"); @@ -27493,21 +23498,16 @@ class AVFAudio { } late final __objc_msgSend_771Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_771 = __objc_msgSend_771Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_771 = - __objc_msgSend_771Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_setCalendar_1 = objc.registerName("setCalendar:"); void _objc_msgSend_772( @@ -27519,23 +23519,18 @@ class AVFAudio { } late final __objc_msgSend_772Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_772 = __objc_msgSend_772Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_772 = - __objc_msgSend_772Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); ffi.Pointer _objc_msgSend_773( ffi.Pointer obj, @@ -27545,21 +23540,16 @@ class AVFAudio { } late final __objc_msgSend_773Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_773 = __objc_msgSend_773Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_773 = - __objc_msgSend_773Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); void _objc_msgSend_774( ffi.Pointer obj, @@ -27570,23 +23560,18 @@ class AVFAudio { } late final __objc_msgSend_774Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_774 = __objc_msgSend_774Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_774 = - __objc_msgSend_774Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_era1 = objc.registerName("era"); late final _sel_setEra_1 = objc.registerName("setEra:"); @@ -27635,25 +23620,20 @@ class AVFAudio { } late final __objc_msgSend_775Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Long, + ffi.Int32, + )>>('objc_msgSend'); + late final __objc_msgSend_775 = __objc_msgSend_775Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, - ffi.Long, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_775 = - __objc_msgSend_775Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - int, - ) - >(); + int, + int, + )>(); late final _sel_valueForComponent_1 = objc.registerName("valueForComponent:"); int _objc_msgSend_776( @@ -27665,23 +23645,18 @@ class AVFAudio { } late final __objc_msgSend_776Ptr = _lookup< - ffi.NativeFunction< - ffi.Long Function( + ffi.NativeFunction< + ffi.Long Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + )>>('objc_msgSend'); + late final __objc_msgSend_776 = __objc_msgSend_776Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_776 = - __objc_msgSend_776Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_isValidDate1 = objc.registerName("isValidDate"); late final _sel_isValidDateInCalendar_1 = objc.registerName( @@ -27696,23 +23671,18 @@ class AVFAudio { } late final __objc_msgSend_777Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_777 = __objc_msgSend_777Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_777 = - __objc_msgSend_777Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_dateFromComponents_1 = objc.registerName( "dateFromComponents:", @@ -27726,23 +23696,18 @@ class AVFAudio { } late final __objc_msgSend_778Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_778 = __objc_msgSend_778Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_778 = - __objc_msgSend_778Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_components_fromDate_1 = objc.registerName( "components:fromDate:", @@ -27757,25 +23722,20 @@ class AVFAudio { } late final __objc_msgSend_779Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_779 = __objc_msgSend_779Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_779 = - __objc_msgSend_779Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ) - >(); + )>(); late final _sel_dateByAddingComponents_toDate_options_1 = objc.registerName( "dateByAddingComponents:toDate:options:", @@ -27791,27 +23751,22 @@ class AVFAudio { } late final __objc_msgSend_780Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + )>>('objc_msgSend'); + late final __objc_msgSend_780 = __objc_msgSend_780Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_780 = - __objc_msgSend_780Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_components_fromDate_toDate_options_1 = objc.registerName( "components:fromDate:toDate:options:", @@ -27835,29 +23790,24 @@ class AVFAudio { } late final __objc_msgSend_781Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + )>>('objc_msgSend'); + late final __objc_msgSend_781 = __objc_msgSend_781Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, ffi.Pointer, ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_781 = - __objc_msgSend_781Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_getEra_year_month_day_fromDate_1 = objc.registerName( "getEra:year:month:day:fromDate:", @@ -27883,8 +23833,18 @@ class AVFAudio { } late final __objc_msgSend_782Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_782 = __objc_msgSend_782Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, @@ -27892,27 +23852,12 @@ class AVFAudio { ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_782 = - __objc_msgSend_782Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_getEra_yearForWeekOfYear_weekOfYear_weekday_fromDate_1 = objc .registerName("getEra:yearForWeekOfYear:weekOfYear:weekday:fromDate:"); - late final _sel_getHour_minute_second_nanosecond_fromDate_1 = objc - .registerName("getHour:minute:second:nanosecond:fromDate:"); + late final _sel_getHour_minute_second_nanosecond_fromDate_1 = + objc.registerName("getHour:minute:second:nanosecond:fromDate:"); late final _sel_component_fromDate_1 = objc.registerName( "component:fromDate:", ); @@ -27926,30 +23871,25 @@ class AVFAudio { } late final __objc_msgSend_783Ptr = _lookup< - ffi.NativeFunction< - ffi.Long Function( + ffi.NativeFunction< + ffi.Long Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_783 = __objc_msgSend_783Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_783 = - __objc_msgSend_783Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ) - >(); + )>(); late final _sel_dateWithEra_year_month_day_hour_minute_second_nanosecond_1 = objc.registerName( - "dateWithEra:year:month:day:hour:minute:second:nanosecond:", - ); + "dateWithEra:year:month:day:hour:minute:second:nanosecond:", + ); ffi.Pointer _objc_msgSend_784( ffi.Pointer obj, ffi.Pointer sel, @@ -27977,42 +23917,37 @@ class AVFAudio { } late final __objc_msgSend_784Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Long, + ffi.Long, + ffi.Long, + ffi.Long, + ffi.Long, + ffi.Long, + ffi.Long, + ffi.Long, + )>>('objc_msgSend'); + late final __objc_msgSend_784 = __objc_msgSend_784Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.Long, - ffi.Long, - ffi.Long, - ffi.Long, - ffi.Long, - ffi.Long, - ffi.Long, - ffi.Long, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_784 = - __objc_msgSend_784Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - int, - int, - int, - int, - int, - int, - int, - ) - >(); + int, + int, + int, + int, + int, + int, + int, + int, + )>(); late final _sel_dateWithEra_yearForWeekOfYear_weekOfYear_weekday_hour_minute_second_nanosecond_1 = objc.registerName( - "dateWithEra:yearForWeekOfYear:weekOfYear:weekday:hour:minute:second:nanosecond:", - ); + "dateWithEra:yearForWeekOfYear:weekOfYear:weekday:hour:minute:second:nanosecond:", + ); late final _sel_startOfDayForDate_1 = objc.registerName("startOfDayForDate:"); late final _sel_componentsInTimeZone_fromDate_1 = objc.registerName( "componentsInTimeZone:fromDate:", @@ -28027,25 +23962,20 @@ class AVFAudio { } late final __objc_msgSend_785Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_785 = __objc_msgSend_785Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_785 = - __objc_msgSend_785Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_compareDate_toDate_toUnitGranularity_1 = objc.registerName( "compareDate:toDate:toUnitGranularity:", @@ -28061,27 +23991,22 @@ class AVFAudio { } late final __objc_msgSend_786Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + )>>('objc_msgSend'); + late final __objc_msgSend_786 = __objc_msgSend_786Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_786 = - __objc_msgSend_786Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_isDate_equalToDate_toUnitGranularity_1 = objc.registerName( "isDate:equalToDate:toUnitGranularity:", @@ -28097,27 +24022,22 @@ class AVFAudio { } late final __objc_msgSend_787Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + )>>('objc_msgSend'); + late final __objc_msgSend_787 = __objc_msgSend_787Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_787 = - __objc_msgSend_787Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_isDate_inSameDayAsDate_1 = objc.registerName( "isDate:inSameDayAsDate:", @@ -28132,32 +24052,27 @@ class AVFAudio { } late final __objc_msgSend_788Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_788 = __objc_msgSend_788Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_788 = - __objc_msgSend_788Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_isDateInToday_1 = objc.registerName("isDateInToday:"); late final _sel_isDateInYesterday_1 = objc.registerName("isDateInYesterday:"); late final _sel_isDateInTomorrow_1 = objc.registerName("isDateInTomorrow:"); late final _sel_isDateInWeekend_1 = objc.registerName("isDateInWeekend:"); - late final _sel_rangeOfWeekendStartDate_interval_containingDate_1 = objc - .registerName("rangeOfWeekendStartDate:interval:containingDate:"); + late final _sel_rangeOfWeekendStartDate_interval_containingDate_1 = + objc.registerName("rangeOfWeekendStartDate:interval:containingDate:"); bool _objc_msgSend_789( ffi.Pointer obj, ffi.Pointer sel, @@ -28169,30 +24084,25 @@ class AVFAudio { } late final __objc_msgSend_789Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_789 = __objc_msgSend_789Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer>, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_789 = - __objc_msgSend_789Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); - late final _sel_nextWeekendStartDate_interval_options_afterDate_1 = objc - .registerName("nextWeekendStartDate:interval:options:afterDate:"); + late final _sel_nextWeekendStartDate_interval_options_afterDate_1 = + objc.registerName("nextWeekendStartDate:interval:options:afterDate:"); bool _objc_msgSend_790( ffi.Pointer obj, ffi.Pointer sel, @@ -28205,34 +24115,29 @@ class AVFAudio { } late final __objc_msgSend_790Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_790 = __objc_msgSend_790Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer>, ffi.Pointer, - ffi.Int32, + int, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_790 = - __objc_msgSend_790Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer, - int, - ffi.Pointer, - ) - >(); + )>(); late final _sel_components_fromDateComponents_toDateComponents_options_1 = objc.registerName( - "components:fromDateComponents:toDateComponents:options:", - ); + "components:fromDateComponents:toDateComponents:options:", + ); ffi.Pointer _objc_msgSend_791( ffi.Pointer obj, ffi.Pointer sel, @@ -28252,29 +24157,24 @@ class AVFAudio { } late final __objc_msgSend_791Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + )>>('objc_msgSend'); + late final __objc_msgSend_791 = __objc_msgSend_791Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, ffi.Pointer, ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_791 = - __objc_msgSend_791Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_dateByAddingUnit_value_toDate_options_1 = objc.registerName( "dateByAddingUnit:value:toDate:options:", @@ -28291,34 +24191,29 @@ class AVFAudio { } late final __objc_msgSend_792Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Long, + ffi.Pointer, + ffi.Int32, + )>>('objc_msgSend'); + late final __objc_msgSend_792 = __objc_msgSend_792Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, - ffi.Long, + int, + int, ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_792 = - __objc_msgSend_792Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - int, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_enumerateDatesStartingAfterDate_matchingComponents_options_usingBlock_1 = objc.registerName( - "enumerateDatesStartingAfterDate:matchingComponents:options:usingBlock:", - ); + "enumerateDatesStartingAfterDate:matchingComponents:options:usingBlock:", + ); void _objc_msgSend_793( ffi.Pointer obj, ffi.Pointer sel, @@ -28331,32 +24226,27 @@ class AVFAudio { } late final __objc_msgSend_793Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_793 = __objc_msgSend_793Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_793 = - __objc_msgSend_793Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ) - >(); + )>(); - late final _sel_nextDateAfterDate_matchingComponents_options_1 = objc - .registerName("nextDateAfterDate:matchingComponents:options:"); + late final _sel_nextDateAfterDate_matchingComponents_options_1 = + objc.registerName("nextDateAfterDate:matchingComponents:options:"); ffi.Pointer _objc_msgSend_794( ffi.Pointer obj, ffi.Pointer sel, @@ -28368,30 +24258,25 @@ class AVFAudio { } late final __objc_msgSend_794Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + )>>('objc_msgSend'); + late final __objc_msgSend_794 = __objc_msgSend_794Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_794 = - __objc_msgSend_794Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); - late final _sel_nextDateAfterDate_matchingUnit_value_options_1 = objc - .registerName("nextDateAfterDate:matchingUnit:value:options:"); + late final _sel_nextDateAfterDate_matchingUnit_value_options_1 = + objc.registerName("nextDateAfterDate:matchingUnit:value:options:"); ffi.Pointer _objc_msgSend_795( ffi.Pointer obj, ffi.Pointer sel, @@ -28404,29 +24289,24 @@ class AVFAudio { } late final __objc_msgSend_795Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Long, + ffi.Int32, + )>>('objc_msgSend'); + late final __objc_msgSend_795 = __objc_msgSend_795Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, - ffi.Long, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_795 = - __objc_msgSend_795Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - int, - int, - ) - >(); + int, + int, + int, + )>(); late final _sel_nextDateAfterDate_matchingHour_minute_second_options_1 = objc .registerName("nextDateAfterDate:matchingHour:minute:second:options:"); @@ -28451,37 +24331,32 @@ class AVFAudio { } late final __objc_msgSend_796Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Long, + ffi.Long, + ffi.Long, + ffi.Int32, + )>>('objc_msgSend'); + late final __objc_msgSend_796 = __objc_msgSend_796Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Long, - ffi.Long, - ffi.Long, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_796 = - __objc_msgSend_796Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - int, - int, - int, - ) - >(); + int, + int, + int, + int, + )>(); late final _sel_dateBySettingUnit_value_ofDate_options_1 = objc.registerName( "dateBySettingUnit:value:ofDate:options:", ); - late final _sel_dateBySettingHour_minute_second_ofDate_options_1 = objc - .registerName("dateBySettingHour:minute:second:ofDate:options:"); + late final _sel_dateBySettingHour_minute_second_ofDate_options_1 = + objc.registerName("dateBySettingHour:minute:second:ofDate:options:"); ffi.Pointer _objc_msgSend_797( ffi.Pointer obj, ffi.Pointer sel, @@ -28495,31 +24370,26 @@ class AVFAudio { } late final __objc_msgSend_797Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Long, + ffi.Long, + ffi.Long, + ffi.Pointer, + ffi.Int32, + )>>('objc_msgSend'); + late final __objc_msgSend_797 = __objc_msgSend_797Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.Long, - ffi.Long, - ffi.Long, + int, + int, + int, ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_797 = - __objc_msgSend_797Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - int, - int, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_date_matchesComponents_1 = objc.registerName( "date:matchesComponents:", @@ -28534,25 +24404,20 @@ class AVFAudio { } late final __objc_msgSend_798Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_798 = __objc_msgSend_798Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_798 = - __objc_msgSend_798Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); void _objc_msgSend_799( ffi.Pointer obj, @@ -28563,23 +24428,18 @@ class AVFAudio { } late final __objc_msgSend_799Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_799 = __objc_msgSend_799Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_799 = - __objc_msgSend_799Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_isLenient1 = objc.registerName("isLenient"); late final _sel_setLenient_1 = objc.registerName("setLenient:"); @@ -28596,23 +24456,18 @@ class AVFAudio { } late final __objc_msgSend_800Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_800 = __objc_msgSend_800Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_800 = - __objc_msgSend_800Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_defaultDate1 = objc.registerName("defaultDate"); late final _sel_setDefaultDate_1 = objc.registerName("setDefaultDate:"); @@ -28626,23 +24481,18 @@ class AVFAudio { } late final __objc_msgSend_801Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_801 = __objc_msgSend_801Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_801 = - __objc_msgSend_801Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_setMonthSymbols_1 = objc.registerName("setMonthSymbols:"); late final _sel_setShortMonthSymbols_1 = objc.registerName( @@ -28716,23 +24566,18 @@ class AVFAudio { } late final __objc_msgSend_802Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_802 = __objc_msgSend_802Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_802 = - __objc_msgSend_802Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_numberFromString_1 = objc.registerName("numberFromString:"); ffi.Pointer _objc_msgSend_803( @@ -28744,23 +24589,18 @@ class AVFAudio { } late final __objc_msgSend_803Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_803 = __objc_msgSend_803Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_803 = - __objc_msgSend_803Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_localizedStringFromNumber_numberStyle_1 = objc.registerName( "localizedStringFromNumber:numberStyle:", @@ -28775,25 +24615,20 @@ class AVFAudio { } late final __objc_msgSend_804Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + )>>('objc_msgSend'); + late final __objc_msgSend_804 = __objc_msgSend_804Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_804 = - __objc_msgSend_804Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); int _objc_msgSend_805( ffi.Pointer obj, @@ -28803,21 +24638,16 @@ class AVFAudio { } late final __objc_msgSend_805Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_805 = __objc_msgSend_805Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_805 = - __objc_msgSend_805Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); void _objc_msgSend_806( ffi.Pointer obj, @@ -28828,23 +24658,18 @@ class AVFAudio { } late final __objc_msgSend_806Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + )>>('objc_msgSend'); + late final __objc_msgSend_806 = __objc_msgSend_806Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_806 = - __objc_msgSend_806Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_numberStyle1 = objc.registerName("numberStyle"); int _objc_msgSend_807( @@ -28855,21 +24680,16 @@ class AVFAudio { } late final __objc_msgSend_807Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_807 = __objc_msgSend_807Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_807 = - __objc_msgSend_807Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_setNumberStyle_1 = objc.registerName("setNumberStyle:"); void _objc_msgSend_808( @@ -28881,23 +24701,18 @@ class AVFAudio { } late final __objc_msgSend_808Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + )>>('objc_msgSend'); + late final __objc_msgSend_808 = __objc_msgSend_808Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_808 = - __objc_msgSend_808Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_generatesDecimalNumbers1 = objc.registerName( "generatesDecimalNumbers", @@ -28914,23 +24729,18 @@ class AVFAudio { } late final __objc_msgSend_809Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + )>>('objc_msgSend'); + late final __objc_msgSend_809 = __objc_msgSend_809Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_809 = - __objc_msgSend_809Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_negativeFormat1 = objc.registerName("negativeFormat"); late final _sel_setNegativeFormat_1 = objc.registerName("setNegativeFormat:"); @@ -29075,21 +24885,16 @@ class AVFAudio { } late final __objc_msgSend_810Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_810 = __objc_msgSend_810Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_810 = - __objc_msgSend_810Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_setPaddingPosition_1 = objc.registerName( "setPaddingPosition:", @@ -29103,23 +24908,18 @@ class AVFAudio { } late final __objc_msgSend_811Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + )>>('objc_msgSend'); + late final __objc_msgSend_811 = __objc_msgSend_811Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_811 = - __objc_msgSend_811Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_roundingMode1 = objc.registerName("roundingMode"); int _objc_msgSend_812( @@ -29130,21 +24930,16 @@ class AVFAudio { } late final __objc_msgSend_812Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_812 = __objc_msgSend_812Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_812 = - __objc_msgSend_812Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_setRoundingMode_1 = objc.registerName("setRoundingMode:"); void _objc_msgSend_813( @@ -29156,23 +24951,18 @@ class AVFAudio { } late final __objc_msgSend_813Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + )>>('objc_msgSend'); + late final __objc_msgSend_813 = __objc_msgSend_813Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_813 = - __objc_msgSend_813Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_roundingIncrement1 = objc.registerName("roundingIncrement"); ffi.Pointer _objc_msgSend_814( @@ -29183,21 +24973,16 @@ class AVFAudio { } late final __objc_msgSend_814Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_814 = __objc_msgSend_814Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_814 = - __objc_msgSend_814Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_setRoundingIncrement_1 = objc.registerName( "setRoundingIncrement:", @@ -29211,23 +24996,18 @@ class AVFAudio { } late final __objc_msgSend_815Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_815 = __objc_msgSend_815Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_815 = - __objc_msgSend_815Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_minimumIntegerDigits1 = objc.registerName( "minimumIntegerDigits", @@ -29318,23 +25098,18 @@ class AVFAudio { } late final __objc_msgSend_816Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_816 = __objc_msgSend_816Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_816 = - __objc_msgSend_816Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_attributedStringForNil1 = objc.registerName( "attributedStringForNil", @@ -29362,26 +25137,21 @@ class AVFAudio { } late final __objc_msgSend_817Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_817 = __objc_msgSend_817Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_817 = - __objc_msgSend_817Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_initWithRoundingMode_scale_raiseOnExactness_raiseOnOverflow_raiseOnUnderflow_raiseOnDivideByZero_1 = objc.registerName( - "initWithRoundingMode:scale:raiseOnExactness:raiseOnOverflow:raiseOnUnderflow:raiseOnDivideByZero:", - ); + "initWithRoundingMode:scale:raiseOnExactness:raiseOnOverflow:raiseOnUnderflow:raiseOnDivideByZero:", + ); instancetype _objc_msgSend_818( ffi.Pointer obj, ffi.Pointer sel, @@ -29405,38 +25175,33 @@ class AVFAudio { } late final __objc_msgSend_818Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Short, + ffi.Bool, + ffi.Bool, + ffi.Bool, + ffi.Bool, + )>>('objc_msgSend'); + late final __objc_msgSend_818 = __objc_msgSend_818Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, - ffi.Short, - ffi.Bool, - ffi.Bool, - ffi.Bool, - ffi.Bool, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_818 = - __objc_msgSend_818Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - int, - int, - bool, - bool, - bool, - bool, - ) - >(); + int, + int, + bool, + bool, + bool, + bool, + )>(); late final _sel_decimalNumberHandlerWithRoundingMode_scale_raiseOnExactness_raiseOnOverflow_raiseOnUnderflow_raiseOnDivideByZero_1 = objc.registerName( - "decimalNumberHandlerWithRoundingMode:scale:raiseOnExactness:raiseOnOverflow:raiseOnUnderflow:raiseOnDivideByZero:", - ); + "decimalNumberHandlerWithRoundingMode:scale:raiseOnExactness:raiseOnOverflow:raiseOnUnderflow:raiseOnDivideByZero:", + ); late final _sel_roundingBehavior1 = objc.registerName("roundingBehavior"); late final _sel_setRoundingBehavior_1 = objc.registerName( "setRoundingBehavior:", @@ -29450,23 +25215,18 @@ class AVFAudio { } late final __objc_msgSend_819Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_819 = __objc_msgSend_819Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_819 = - __objc_msgSend_819Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _class_NSScanner1 = objc.getClass("NSScanner"); late final _sel_scanLocation1 = objc.registerName("scanLocation"); @@ -29482,21 +25242,16 @@ class AVFAudio { } late final __objc_msgSend_820Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_820 = __objc_msgSend_820Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_820 = - __objc_msgSend_820Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_setCharactersToBeSkipped_1 = objc.registerName( "setCharactersToBeSkipped:", @@ -29510,23 +25265,18 @@ class AVFAudio { } late final __objc_msgSend_821Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_821 = __objc_msgSend_821Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_821 = - __objc_msgSend_821Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_caseSensitive1 = objc.registerName("caseSensitive"); late final _sel_setCaseSensitive_1 = objc.registerName("setCaseSensitive:"); @@ -29540,23 +25290,18 @@ class AVFAudio { } late final __objc_msgSend_822Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_822 = __objc_msgSend_822Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_822 = - __objc_msgSend_822Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_scanInteger_1 = objc.registerName("scanInteger:"); bool _objc_msgSend_823( @@ -29568,23 +25313,18 @@ class AVFAudio { } late final __objc_msgSend_823Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_823 = __objc_msgSend_823Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_823 = - __objc_msgSend_823Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_scanLongLong_1 = objc.registerName("scanLongLong:"); bool _objc_msgSend_824( @@ -29596,23 +25336,18 @@ class AVFAudio { } late final __objc_msgSend_824Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_824 = __objc_msgSend_824Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_824 = - __objc_msgSend_824Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_scanUnsignedLongLong_1 = objc.registerName( "scanUnsignedLongLong:", @@ -29626,23 +25361,18 @@ class AVFAudio { } late final __objc_msgSend_825Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_825 = __objc_msgSend_825Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_825 = - __objc_msgSend_825Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_scanFloat_1 = objc.registerName("scanFloat:"); bool _objc_msgSend_826( @@ -29654,23 +25384,18 @@ class AVFAudio { } late final __objc_msgSend_826Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_826 = __objc_msgSend_826Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_826 = - __objc_msgSend_826Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_scanDouble_1 = objc.registerName("scanDouble:"); bool _objc_msgSend_827( @@ -29682,23 +25407,18 @@ class AVFAudio { } late final __objc_msgSend_827Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_827 = __objc_msgSend_827Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_827 = - __objc_msgSend_827Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_scanHexInt_1 = objc.registerName("scanHexInt:"); bool _objc_msgSend_828( @@ -29710,23 +25430,18 @@ class AVFAudio { } late final __objc_msgSend_828Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_828 = __objc_msgSend_828Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_828 = - __objc_msgSend_828Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_scanHexLongLong_1 = objc.registerName("scanHexLongLong:"); late final _sel_scanHexFloat_1 = objc.registerName("scanHexFloat:"); @@ -29744,25 +25459,20 @@ class AVFAudio { } late final __objc_msgSend_829Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_829 = __objc_msgSend_829Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_829 = - __objc_msgSend_829Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ) - >(); + )>(); late final _sel_scanCharactersFromSet_intoString_1 = objc.registerName( "scanCharactersFromSet:intoString:", @@ -29777,25 +25487,20 @@ class AVFAudio { } late final __objc_msgSend_830Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_830 = __objc_msgSend_830Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_830 = - __objc_msgSend_830Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ) - >(); + )>(); late final _sel_scanUpToString_intoString_1 = objc.registerName( "scanUpToString:intoString:", @@ -29818,23 +25523,18 @@ class AVFAudio { } late final __objc_msgSend_831Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_831 = __objc_msgSend_831Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_831 = - __objc_msgSend_831Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _class_NSException1 = objc.getClass("NSException"); late final _sel_exceptionWithName_reason_userInfo_1 = objc.registerName( @@ -29851,27 +25551,22 @@ class AVFAudio { } late final __objc_msgSend_832Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_832 = __objc_msgSend_832Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_832 = - __objc_msgSend_832Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_initWithName_reason_userInfo_1 = objc.registerName( "initWithName:reason:userInfo:", @@ -29887,27 +25582,22 @@ class AVFAudio { } late final __objc_msgSend_833Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_833 = __objc_msgSend_833Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_833 = - __objc_msgSend_833Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_reason1 = objc.registerName("reason"); late final _sel_raise1 = objc.registerName("raise"); @@ -29926,27 +25616,22 @@ class AVFAudio { } late final __objc_msgSend_834Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<__va_list_tag>, + )>>('objc_msgSend'); + late final __objc_msgSend_834 = __objc_msgSend_834Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer<__va_list_tag>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_834 = - __objc_msgSend_834Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<__va_list_tag>, - ) - >(); + )>(); late final _class_NSFileHandle1 = objc.getClass("NSFileHandle"); late final _sel_availableData1 = objc.registerName("availableData"); @@ -29963,25 +25648,20 @@ class AVFAudio { } late final __objc_msgSend_835Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int, + ffi.Bool, + )>>('objc_msgSend'); + late final __objc_msgSend_835 = __objc_msgSend_835Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, - ffi.Int, - ffi.Bool, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_835 = - __objc_msgSend_835Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - int, - bool, - ) - >(); + int, + bool, + )>(); late final _sel_readDataToEndOfFileAndReturnError_1 = objc.registerName( "readDataToEndOfFileAndReturnError:", @@ -29995,23 +25675,18 @@ class AVFAudio { } late final __objc_msgSend_836Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_836 = __objc_msgSend_836Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_836 = - __objc_msgSend_836Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ) - >(); + )>(); late final _sel_readDataUpToLength_error_1 = objc.registerName( "readDataUpToLength:error:", @@ -30026,25 +25701,20 @@ class AVFAudio { } late final __objc_msgSend_837Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_837 = __objc_msgSend_837Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, + int, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_837 = - __objc_msgSend_837Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>, - ) - >(); + )>(); late final _sel_writeData_error_1 = objc.registerName("writeData:error:"); bool _objc_msgSend_838( @@ -30057,25 +25727,20 @@ class AVFAudio { } late final __objc_msgSend_838Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_838 = __objc_msgSend_838Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_838 = - __objc_msgSend_838Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ) - >(); + )>(); late final _sel_getOffset_error_1 = objc.registerName("getOffset:error:"); bool _objc_msgSend_839( @@ -30088,25 +25753,20 @@ class AVFAudio { } late final __objc_msgSend_839Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_839 = __objc_msgSend_839Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_839 = - __objc_msgSend_839Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ) - >(); + )>(); late final _sel_seekToEndReturningOffset_error_1 = objc.registerName( "seekToEndReturningOffset:error:", @@ -30124,25 +25784,20 @@ class AVFAudio { } late final __objc_msgSend_840Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLongLong, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_840 = __objc_msgSend_840Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, - ffi.UnsignedLongLong, + int, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_840 = - __objc_msgSend_840Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>, - ) - >(); + )>(); late final _sel_truncateAtOffset_error_1 = objc.registerName( "truncateAtOffset:error:", @@ -30164,21 +25819,16 @@ class AVFAudio { } late final __objc_msgSend_841Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_841 = __objc_msgSend_841Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_841 = - __objc_msgSend_841Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_fileHandleWithStandardOutput1 = objc.registerName( "fileHandleWithStandardOutput", @@ -30211,25 +25861,20 @@ class AVFAudio { } late final __objc_msgSend_842Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_842 = __objc_msgSend_842Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_842 = - __objc_msgSend_842Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ) - >(); + )>(); late final _sel_fileHandleForWritingToURL_error_1 = objc.registerName( "fileHandleForWritingToURL:error:", @@ -30249,39 +25894,34 @@ class AVFAudio { } late final __objc_msgSend_843Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_843 = __objc_msgSend_843Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_843 = - __objc_msgSend_843Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_readInBackgroundAndNotify1 = objc.registerName( "readInBackgroundAndNotify", ); - late final _sel_readToEndOfFileInBackgroundAndNotifyForModes_1 = objc - .registerName("readToEndOfFileInBackgroundAndNotifyForModes:"); + late final _sel_readToEndOfFileInBackgroundAndNotifyForModes_1 = + objc.registerName("readToEndOfFileInBackgroundAndNotifyForModes:"); late final _sel_readToEndOfFileInBackgroundAndNotify1 = objc.registerName( "readToEndOfFileInBackgroundAndNotify", ); - late final _sel_acceptConnectionInBackgroundAndNotifyForModes_1 = objc - .registerName("acceptConnectionInBackgroundAndNotifyForModes:"); + late final _sel_acceptConnectionInBackgroundAndNotifyForModes_1 = + objc.registerName("acceptConnectionInBackgroundAndNotifyForModes:"); late final _sel_acceptConnectionInBackgroundAndNotify1 = objc.registerName( "acceptConnectionInBackgroundAndNotify", ); - late final _sel_waitForDataInBackgroundAndNotifyForModes_1 = objc - .registerName("waitForDataInBackgroundAndNotifyForModes:"); + late final _sel_waitForDataInBackgroundAndNotifyForModes_1 = + objc.registerName("waitForDataInBackgroundAndNotifyForModes:"); late final _sel_waitForDataInBackgroundAndNotify1 = objc.registerName( "waitForDataInBackgroundAndNotify", ); @@ -30294,21 +25934,16 @@ class AVFAudio { } late final __objc_msgSend_844Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_844 = __objc_msgSend_844Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_844 = - __objc_msgSend_844Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_setReadabilityHandler_1 = objc.registerName( "setReadabilityHandler:", @@ -30322,23 +25957,18 @@ class AVFAudio { } late final __objc_msgSend_845Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_845 = __objc_msgSend_845Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_845 = - __objc_msgSend_845Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_writeabilityHandler1 = objc.registerName( "writeabilityHandler", @@ -30358,23 +25988,18 @@ class AVFAudio { } late final __objc_msgSend_846Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int, + )>>('objc_msgSend'); + late final __objc_msgSend_846 = __objc_msgSend_846Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, - ffi.Int, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_846 = - __objc_msgSend_846Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_fileDescriptor1 = objc.registerName("fileDescriptor"); late final _sel_readDataToEndOfFile1 = objc.registerName( @@ -30390,23 +26015,18 @@ class AVFAudio { } late final __objc_msgSend_847Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + )>>('objc_msgSend'); + late final __objc_msgSend_847 = __objc_msgSend_847Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_847 = - __objc_msgSend_847Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_offsetInFile1 = objc.registerName("offsetInFile"); late final _sel_seekToEndOfFile1 = objc.registerName("seekToEndOfFile"); @@ -30420,23 +26040,18 @@ class AVFAudio { } late final __objc_msgSend_848Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLongLong, + )>>('objc_msgSend'); + late final __objc_msgSend_848 = __objc_msgSend_848Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, - ffi.UnsignedLongLong, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_848 = - __objc_msgSend_848Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_truncateFileAtOffset_1 = objc.registerName( "truncateFileAtOffset:", @@ -30455,24 +26070,19 @@ class AVFAudio { } late final __objc_msgSend_849Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_849 = __objc_msgSend_849Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_849 = - __objc_msgSend_849Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); - late final _sel_sharedCookieStorageForGroupContainerIdentifier_1 = objc - .registerName("sharedCookieStorageForGroupContainerIdentifier:"); + late final _sel_sharedCookieStorageForGroupContainerIdentifier_1 = + objc.registerName("sharedCookieStorageForGroupContainerIdentifier:"); ffi.Pointer _objc_msgSend_850( ffi.Pointer obj, ffi.Pointer sel, @@ -30482,23 +26092,18 @@ class AVFAudio { } late final __objc_msgSend_850Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_850 = __objc_msgSend_850Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_850 = - __objc_msgSend_850Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_cookies1 = objc.registerName("cookies"); late final _class_NSHTTPCookie1 = objc.getClass("NSHTTPCookie"); @@ -30514,23 +26119,18 @@ class AVFAudio { } late final __objc_msgSend_851Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_851 = __objc_msgSend_851Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_851 = - __objc_msgSend_851Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_cookieWithProperties_1 = objc.registerName( "cookieWithProperties:", @@ -30544,23 +26144,18 @@ class AVFAudio { } late final __objc_msgSend_852Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_852 = __objc_msgSend_852Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_852 = - __objc_msgSend_852Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_requestHeaderFieldsWithCookies_1 = objc.registerName( "requestHeaderFieldsWithCookies:", @@ -30578,25 +26173,20 @@ class AVFAudio { } late final __objc_msgSend_853Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_853 = __objc_msgSend_853Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_853 = - __objc_msgSend_853Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_properties1 = objc.registerName("properties"); late final _sel_value1 = objc.registerName("value"); @@ -30618,23 +26208,18 @@ class AVFAudio { } late final __objc_msgSend_854Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_854 = __objc_msgSend_854Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_854 = - __objc_msgSend_854Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_deleteCookie_1 = objc.registerName("deleteCookie:"); late final _sel_removeCookiesSinceDate_1 = objc.registerName( @@ -30655,27 +26240,22 @@ class AVFAudio { } late final __objc_msgSend_855Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_855 = __objc_msgSend_855Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_855 = - __objc_msgSend_855Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_cookieAcceptPolicy1 = objc.registerName("cookieAcceptPolicy"); int _objc_msgSend_856( @@ -30686,21 +26266,16 @@ class AVFAudio { } late final __objc_msgSend_856Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_856 = __objc_msgSend_856Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_856 = - __objc_msgSend_856Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_setCookieAcceptPolicy_1 = objc.registerName( "setCookieAcceptPolicy:", @@ -30714,23 +26289,18 @@ class AVFAudio { } late final __objc_msgSend_857Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + )>>('objc_msgSend'); + late final __objc_msgSend_857 = __objc_msgSend_857Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_857 = - __objc_msgSend_857Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_sortedCookiesUsingDescriptors_1 = objc.registerName( "sortedCookiesUsingDescriptors:", @@ -30742,8 +26312,8 @@ class AVFAudio { late final _sel_supportsSecureCoding1 = objc.registerName( "supportsSecureCoding", ); - late final _sel_requestWithURL_cachePolicy_timeoutInterval_1 = objc - .registerName("requestWithURL:cachePolicy:timeoutInterval:"); + late final _sel_requestWithURL_cachePolicy_timeoutInterval_1 = + objc.registerName("requestWithURL:cachePolicy:timeoutInterval:"); instancetype _objc_msgSend_858( ffi.Pointer obj, ffi.Pointer sel, @@ -30755,27 +26325,22 @@ class AVFAudio { } late final __objc_msgSend_858Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Double, + )>>('objc_msgSend'); + late final __objc_msgSend_858 = __objc_msgSend_858Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, - ffi.Double, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_858 = - __objc_msgSend_858Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - double, - ) - >(); + int, + double, + )>(); late final _sel_initWithURL_cachePolicy_timeoutInterval_1 = objc.registerName( "initWithURL:cachePolicy:timeoutInterval:", @@ -30790,21 +26355,16 @@ class AVFAudio { } late final __objc_msgSend_859Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_859 = __objc_msgSend_859Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_859 = - __objc_msgSend_859Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_timeoutInterval1 = objc.registerName("timeoutInterval"); late final _sel_mainDocumentURL1 = objc.registerName("mainDocumentURL"); @@ -30817,21 +26377,16 @@ class AVFAudio { } late final __objc_msgSend_860Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_860 = __objc_msgSend_860Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_860 = - __objc_msgSend_860Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_allowsCellularAccess1 = objc.registerName( "allowsCellularAccess", @@ -30854,21 +26409,16 @@ class AVFAudio { } late final __objc_msgSend_861Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_861 = __objc_msgSend_861Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_861 = - __objc_msgSend_861Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_requiresDNSSECValidation1 = objc.registerName( "requiresDNSSECValidation", @@ -30895,25 +26445,20 @@ class AVFAudio { } late final __objc_msgSend_862Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_862 = __objc_msgSend_862Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_862 = - __objc_msgSend_862Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_streamStatus1 = objc.registerName("streamStatus"); int _objc_msgSend_863( @@ -30924,21 +26469,16 @@ class AVFAudio { } late final __objc_msgSend_863Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_863 = __objc_msgSend_863Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_863 = - __objc_msgSend_863Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_streamError1 = objc.registerName("streamError"); late final _class_NSOutputStream1 = objc.getClass("NSOutputStream"); @@ -30953,25 +26493,20 @@ class AVFAudio { } late final __objc_msgSend_864Ptr = _lookup< - ffi.NativeFunction< - ffi.Long Function( + ffi.NativeFunction< + ffi.Long Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + )>>('objc_msgSend'); + late final __objc_msgSend_864 = __objc_msgSend_864Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_864 = - __objc_msgSend_864Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_hasSpaceAvailable1 = objc.registerName("hasSpaceAvailable"); late final _sel_initToMemory1 = objc.registerName("initToMemory"); @@ -30988,25 +26523,20 @@ class AVFAudio { } late final __objc_msgSend_865Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + )>>('objc_msgSend'); + late final __objc_msgSend_865 = __objc_msgSend_865Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_865 = - __objc_msgSend_865Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_initWithURL_append_1 = objc.registerName( "initWithURL:append:", @@ -31021,25 +26551,20 @@ class AVFAudio { } late final __objc_msgSend_866Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + )>>('objc_msgSend'); + late final __objc_msgSend_866 = __objc_msgSend_866Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Bool, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_866 = - __objc_msgSend_866Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - ) - >(); + bool, + )>(); late final _sel_initToFileAtPath_append_1 = objc.registerName( "initToFileAtPath:append:", @@ -31058,8 +26583,8 @@ class AVFAudio { ); late final _sel_getStreamsToHostWithName_port_inputStream_outputStream_1 = objc.registerName( - "getStreamsToHostWithName:port:inputStream:outputStream:", - ); + "getStreamsToHostWithName:port:inputStream:outputStream:", + ); void _objc_msgSend_867( ffi.Pointer obj, ffi.Pointer sel, @@ -31079,29 +26604,24 @@ class AVFAudio { } late final __objc_msgSend_867Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Long, + ffi.Pointer>, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_867 = __objc_msgSend_867Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Long, + int, ffi.Pointer>, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_867 = - __objc_msgSend_867Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>, - ffi.Pointer>, - ) - >(); + )>(); late final _class_NSHost1 = objc.getClass("NSHost"); late final _sel_currentHost1 = objc.registerName("currentHost"); @@ -31115,23 +26635,18 @@ class AVFAudio { } late final __objc_msgSend_868Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_868 = __objc_msgSend_868Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_868 = - __objc_msgSend_868Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_hostWithAddress_1 = objc.registerName("hostWithAddress:"); late final _sel_isEqualToHost_1 = objc.registerName("isEqualToHost:"); @@ -31144,23 +26659,18 @@ class AVFAudio { } late final __objc_msgSend_869Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_869 = __objc_msgSend_869Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_869 = - __objc_msgSend_869Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_names1 = objc.registerName("names"); late final _sel_address1 = objc.registerName("address"); @@ -31178,28 +26688,23 @@ class AVFAudio { } late final __objc_msgSend_870Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + )>>('objc_msgSend'); + late final __objc_msgSend_870 = __objc_msgSend_870Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, - ffi.Bool, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_870 = - __objc_msgSend_870Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - bool, - ) - >(); + bool, + )>(); late final _sel_isHostCacheEnabled1 = objc.registerName("isHostCacheEnabled"); late final _sel_flushHostCache1 = objc.registerName("flushHostCache"); - late final _sel_getStreamsToHost_port_inputStream_outputStream_1 = objc - .registerName("getStreamsToHost:port:inputStream:outputStream:"); + late final _sel_getStreamsToHost_port_inputStream_outputStream_1 = + objc.registerName("getStreamsToHost:port:inputStream:outputStream:"); void _objc_msgSend_871( ffi.Pointer obj, ffi.Pointer sel, @@ -31212,34 +26717,29 @@ class AVFAudio { } late final __objc_msgSend_871Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Long, + ffi.Pointer>, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_871 = __objc_msgSend_871Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Long, + int, ffi.Pointer>, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_871 = - __objc_msgSend_871Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>, - ffi.Pointer>, - ) - >(); + )>(); late final _sel_getBoundStreamsWithBufferSize_inputStream_outputStream_1 = objc.registerName( - "getBoundStreamsWithBufferSize:inputStream:outputStream:", - ); + "getBoundStreamsWithBufferSize:inputStream:outputStream:", + ); void _objc_msgSend_872( ffi.Pointer obj, ffi.Pointer sel, @@ -31251,27 +26751,22 @@ class AVFAudio { } late final __objc_msgSend_872Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer>, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_872 = __objc_msgSend_872Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, + int, ffi.Pointer>, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_872 = - __objc_msgSend_872Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>, - ffi.Pointer>, - ) - >(); + )>(); late final _sel_read_maxLength_1 = objc.registerName("read:maxLength:"); late final _sel_getBuffer_length_1 = objc.registerName("getBuffer:length:"); @@ -31285,25 +26780,20 @@ class AVFAudio { } late final __objc_msgSend_873Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_873 = __objc_msgSend_873Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer>, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_873 = - __objc_msgSend_873Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer, - ) - >(); + )>(); late final _sel_hasBytesAvailable1 = objc.registerName("hasBytesAvailable"); late final _sel_initWithFileAtPath_1 = objc.registerName( @@ -31321,23 +26811,18 @@ class AVFAudio { } late final __objc_msgSend_874Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_874 = __objc_msgSend_874Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_874 = - __objc_msgSend_874Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_inputStreamWithFileAtPath_1 = objc.registerName( "inputStreamWithFileAtPath:", @@ -31354,21 +26839,16 @@ class AVFAudio { } late final __objc_msgSend_875Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_875 = __objc_msgSend_875Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_875 = - __objc_msgSend_875Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_HTTPShouldHandleCookies1 = objc.registerName( "HTTPShouldHandleCookies", @@ -31385,28 +26865,23 @@ class AVFAudio { } late final __objc_msgSend_876Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_876 = __objc_msgSend_876Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_876 = - __objc_msgSend_876Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_currentRequest1 = objc.registerName("currentRequest"); late final _class_NSURLResponse1 = objc.getClass("NSURLResponse"); late final _sel_initWithURL_MIMEType_expectedContentLength_textEncodingName_1 = objc.registerName( - "initWithURL:MIMEType:expectedContentLength:textEncodingName:", - ); + "initWithURL:MIMEType:expectedContentLength:textEncodingName:", + ); instancetype _objc_msgSend_877( ffi.Pointer obj, ffi.Pointer sel, @@ -31419,29 +26894,24 @@ class AVFAudio { } late final __objc_msgSend_877Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Long, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_877 = __objc_msgSend_877Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Long, + int, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_877 = - __objc_msgSend_877Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ) - >(); + )>(); late final _sel_MIMEType1 = objc.registerName("MIMEType"); late final _sel_expectedContentLength1 = objc.registerName( @@ -31458,21 +26928,16 @@ class AVFAudio { } late final __objc_msgSend_878Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_878 = __objc_msgSend_878Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_878 = - __objc_msgSend_878Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_progress1 = objc.registerName("progress"); ffi.Pointer _objc_msgSend_879( @@ -31483,21 +26948,16 @@ class AVFAudio { } late final __objc_msgSend_879Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_879 = __objc_msgSend_879Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_879 = - __objc_msgSend_879Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_earliestBeginDate1 = objc.registerName("earliestBeginDate"); late final _sel_setEarliestBeginDate_1 = objc.registerName( @@ -31538,21 +26998,16 @@ class AVFAudio { } late final __objc_msgSend_880Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_880 = __objc_msgSend_880Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_880 = - __objc_msgSend_880Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_suspend1 = objc.registerName("suspend"); late final _sel_priority1 = objc.registerName("priority"); @@ -31566,23 +27021,18 @@ class AVFAudio { } late final __objc_msgSend_881Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Float, + )>>('objc_msgSend'); + late final __objc_msgSend_881 = __objc_msgSend_881Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, - ffi.Float, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_881 = - __objc_msgSend_881Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - double, - ) - >(); + double, + )>(); late final _sel_prefersIncrementalDelivery1 = objc.registerName( "prefersIncrementalDelivery", @@ -31603,25 +27053,20 @@ class AVFAudio { } late final __objc_msgSend_882Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_882 = __objc_msgSend_882Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_882 = - __objc_msgSend_882Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_getCookiesForTask_completionHandler_1 = objc.registerName( "getCookiesForTask:completionHandler:", @@ -31636,25 +27081,20 @@ class AVFAudio { } late final __objc_msgSend_883Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_883 = __objc_msgSend_883Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_883 = - __objc_msgSend_883Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _class_NSIndexPath1 = objc.getClass("NSIndexPath"); late final _sel_indexPathWithIndex_1 = objc.registerName( @@ -31673,25 +27113,20 @@ class AVFAudio { } late final __objc_msgSend_884Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + )>>('objc_msgSend'); + late final __objc_msgSend_884 = __objc_msgSend_884Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_884 = - __objc_msgSend_884Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_initWithIndexes_length_1 = objc.registerName( "initWithIndexes:length:", @@ -31708,23 +27143,18 @@ class AVFAudio { } late final __objc_msgSend_885Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + )>>('objc_msgSend'); + late final __objc_msgSend_885 = __objc_msgSend_885Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_885 = - __objc_msgSend_885Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_indexPathByRemovingLastIndex1 = objc.registerName( "indexPathByRemovingLastIndex", @@ -31737,21 +27167,16 @@ class AVFAudio { } late final __objc_msgSend_886Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_886 = __objc_msgSend_886Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_886 = - __objc_msgSend_886Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_indexAtPosition_1 = objc.registerName("indexAtPosition:"); late final _sel_getIndexes_range_1 = objc.registerName("getIndexes:range:"); @@ -31765,25 +27190,20 @@ class AVFAudio { } late final __objc_msgSend_887Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange, + )>>('objc_msgSend'); + late final __objc_msgSend_887 = __objc_msgSend_887Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, _NSRange, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_887 = - __objc_msgSend_887Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - _NSRange, - ) - >(); + )>(); int _objc_msgSend_888( ffi.Pointer obj, @@ -31794,23 +27214,18 @@ class AVFAudio { } late final __objc_msgSend_888Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_888 = __objc_msgSend_888Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_888 = - __objc_msgSend_888Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_getIndexes_1 = objc.registerName("getIndexes:"); void _objc_msgSend_889( @@ -31822,23 +27237,18 @@ class AVFAudio { } late final __objc_msgSend_889Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_889 = __objc_msgSend_889Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_889 = - __objc_msgSend_889Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _class_NSInflectionRule1 = objc.getClass("NSInflectionRule"); late final _sel_automaticRule1 = objc.registerName("automaticRule"); @@ -31850,21 +27260,16 @@ class AVFAudio { } late final __objc_msgSend_890Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_890 = __objc_msgSend_890Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_890 = - __objc_msgSend_890Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_canInflectLanguage_1 = objc.registerName( "canInflectLanguage:", @@ -31882,21 +27287,16 @@ class AVFAudio { } late final __objc_msgSend_891Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_891 = __objc_msgSend_891Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_891 = - __objc_msgSend_891Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_setGrammaticalGender_1 = objc.registerName( "setGrammaticalGender:", @@ -31910,23 +27310,18 @@ class AVFAudio { } late final __objc_msgSend_892Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + )>>('objc_msgSend'); + late final __objc_msgSend_892 = __objc_msgSend_892Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_892 = - __objc_msgSend_892Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_partOfSpeech1 = objc.registerName("partOfSpeech"); int _objc_msgSend_893( @@ -31937,21 +27332,16 @@ class AVFAudio { } late final __objc_msgSend_893Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_893 = __objc_msgSend_893Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_893 = - __objc_msgSend_893Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_setPartOfSpeech_1 = objc.registerName("setPartOfSpeech:"); void _objc_msgSend_894( @@ -31963,23 +27353,18 @@ class AVFAudio { } late final __objc_msgSend_894Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + )>>('objc_msgSend'); + late final __objc_msgSend_894 = __objc_msgSend_894Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_894 = - __objc_msgSend_894Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_number1 = objc.registerName("number"); int _objc_msgSend_895( @@ -31990,21 +27375,16 @@ class AVFAudio { } late final __objc_msgSend_895Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_895 = __objc_msgSend_895Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_895 = - __objc_msgSend_895Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_setNumber_1 = objc.registerName("setNumber:"); void _objc_msgSend_896( @@ -32016,23 +27396,18 @@ class AVFAudio { } late final __objc_msgSend_896Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + )>>('objc_msgSend'); + late final __objc_msgSend_896 = __objc_msgSend_896Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_896 = - __objc_msgSend_896Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_grammaticalCase1 = objc.registerName("grammaticalCase"); int _objc_msgSend_897( @@ -32043,21 +27418,16 @@ class AVFAudio { } late final __objc_msgSend_897Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_897 = __objc_msgSend_897Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_897 = - __objc_msgSend_897Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_setGrammaticalCase_1 = objc.registerName( "setGrammaticalCase:", @@ -32071,23 +27441,18 @@ class AVFAudio { } late final __objc_msgSend_898Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + )>>('objc_msgSend'); + late final __objc_msgSend_898 = __objc_msgSend_898Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_898 = - __objc_msgSend_898Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_determination1 = objc.registerName("determination"); int _objc_msgSend_899( @@ -32098,21 +27463,16 @@ class AVFAudio { } late final __objc_msgSend_899Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_899 = __objc_msgSend_899Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_899 = - __objc_msgSend_899Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_setDetermination_1 = objc.registerName("setDetermination:"); void _objc_msgSend_900( @@ -32124,23 +27484,18 @@ class AVFAudio { } late final __objc_msgSend_900Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + )>>('objc_msgSend'); + late final __objc_msgSend_900 = __objc_msgSend_900Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_900 = - __objc_msgSend_900Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_grammaticalPerson1 = objc.registerName("grammaticalPerson"); int _objc_msgSend_901( @@ -32151,21 +27506,16 @@ class AVFAudio { } late final __objc_msgSend_901Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_901 = __objc_msgSend_901Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_901 = - __objc_msgSend_901Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_setGrammaticalPerson_1 = objc.registerName( "setGrammaticalPerson:", @@ -32179,23 +27529,18 @@ class AVFAudio { } late final __objc_msgSend_902Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + )>>('objc_msgSend'); + late final __objc_msgSend_902 = __objc_msgSend_902Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_902 = - __objc_msgSend_902Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_pronounType1 = objc.registerName("pronounType"); int _objc_msgSend_903( @@ -32206,21 +27551,16 @@ class AVFAudio { } late final __objc_msgSend_903Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_903 = __objc_msgSend_903Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_903 = - __objc_msgSend_903Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_setPronounType_1 = objc.registerName("setPronounType:"); void _objc_msgSend_904( @@ -32232,23 +27572,18 @@ class AVFAudio { } late final __objc_msgSend_904Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + )>>('objc_msgSend'); + late final __objc_msgSend_904 = __objc_msgSend_904Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_904 = - __objc_msgSend_904Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_definiteness1 = objc.registerName("definiteness"); int _objc_msgSend_905( @@ -32259,21 +27594,16 @@ class AVFAudio { } late final __objc_msgSend_905Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_905 = __objc_msgSend_905Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_905 = - __objc_msgSend_905Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_setDefiniteness_1 = objc.registerName("setDefiniteness:"); void _objc_msgSend_906( @@ -32285,23 +27615,18 @@ class AVFAudio { } late final __objc_msgSend_906Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + )>>('objc_msgSend'); + late final __objc_msgSend_906 = __objc_msgSend_906Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_906 = - __objc_msgSend_906Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _class_NSMorphologyCustomPronoun1 = objc.getClass( "NSMorphologyCustomPronoun", @@ -32338,23 +27663,18 @@ class AVFAudio { } late final __objc_msgSend_907Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_907 = __objc_msgSend_907Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_907 = - __objc_msgSend_907Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_setCustomPronoun_forLanguage_error_1 = objc.registerName( "setCustomPronoun:forLanguage:error:", @@ -32370,27 +27690,22 @@ class AVFAudio { } late final __objc_msgSend_908Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_908 = __objc_msgSend_908Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_908 = - __objc_msgSend_908Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ) - >(); + )>(); late final _sel_isUnspecified1 = objc.registerName("isUnspecified"); late final _sel_userMorphology1 = objc.registerName("userMorphology"); @@ -32402,21 +27717,16 @@ class AVFAudio { } late final __objc_msgSend_909Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_909 = __objc_msgSend_909Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_909 = - __objc_msgSend_909Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _class_NSOperationQueue1 = objc.getClass("NSOperationQueue"); late final _class_NSOperation1 = objc.getClass("NSOperation"); @@ -32433,23 +27743,18 @@ class AVFAudio { } late final __objc_msgSend_910Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_910 = __objc_msgSend_910Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_910 = - __objc_msgSend_910Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_removeDependency_1 = objc.registerName("removeDependency:"); late final _sel_dependencies1 = objc.registerName("dependencies"); @@ -32462,21 +27767,16 @@ class AVFAudio { } late final __objc_msgSend_911Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_911 = __objc_msgSend_911Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_911 = - __objc_msgSend_911Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_setQueuePriority_1 = objc.registerName("setQueuePriority:"); void _objc_msgSend_912( @@ -32488,23 +27788,18 @@ class AVFAudio { } late final __objc_msgSend_912Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + )>>('objc_msgSend'); + late final __objc_msgSend_912 = __objc_msgSend_912Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_912 = - __objc_msgSend_912Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_completionBlock1 = objc.registerName("completionBlock"); late final _sel_setCompletionBlock_1 = objc.registerName( @@ -32525,25 +27820,20 @@ class AVFAudio { } late final __objc_msgSend_913Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + )>>('objc_msgSend'); + late final __objc_msgSend_913 = __objc_msgSend_913Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Bool, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_913 = - __objc_msgSend_913Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - ) - >(); + bool, + )>(); late final _sel_addOperationWithBlock_1 = objc.registerName( "addOperationWithBlock:", @@ -32566,21 +27856,16 @@ class AVFAudio { } late final __objc_msgSend_914Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_914 = __objc_msgSend_914Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_914 = - __objc_msgSend_914Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_setUnderlyingQueue_1 = objc.registerName( "setUnderlyingQueue:", @@ -32594,23 +27879,18 @@ class AVFAudio { } late final __objc_msgSend_915Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_915 = __objc_msgSend_915Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_915 = - __objc_msgSend_915Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_cancelAllOperations1 = objc.registerName( "cancelAllOperations", @@ -32627,21 +27907,16 @@ class AVFAudio { } late final __objc_msgSend_916Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_916 = __objc_msgSend_916Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_916 = - __objc_msgSend_916Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_mainQueue1 = objc.registerName("mainQueue"); ffi.Pointer _objc_msgSend_917( @@ -32652,21 +27927,16 @@ class AVFAudio { } late final __objc_msgSend_917Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_917 = __objc_msgSend_917Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_917 = - __objc_msgSend_917Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_operations1 = objc.registerName("operations"); late final _sel_operationCount1 = objc.registerName("operationCount"); @@ -32681,23 +27951,18 @@ class AVFAudio { } late final __objc_msgSend_918Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + )>>('objc_msgSend'); + late final __objc_msgSend_918 = __objc_msgSend_918Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_918 = - __objc_msgSend_918Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _class_NSPointerFunctions1 = objc.getClass("NSPointerFunctions"); late final _sel_pointerFunctionsWithOptions_1 = objc.registerName( @@ -32712,36 +27977,28 @@ class AVFAudio { } late final __objc_msgSend_919Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + )>>('objc_msgSend'); + late final __objc_msgSend_919 = __objc_msgSend_919Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_919 = - __objc_msgSend_919Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_hashFunction1 = objc.registerName("hashFunction"); ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction)> - >, - ) - > - > - _objc_msgSend_920( + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function(ffi.Pointer)>>, + )>> _objc_msgSend_920( ffi.Pointer obj, ffi.Pointer sel, ) { @@ -32749,115 +28006,88 @@ class AVFAudio { } late final __objc_msgSend_920Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer)>>, + )>> + Function(ffi.Pointer, ffi.Pointer)>>( + 'objc_msgSend'); + late final __objc_msgSend_920 = __objc_msgSend_920Ptr.asFunction< ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function(ffi.Pointer) - > - >, - ) - > - > - Function(ffi.Pointer, ffi.Pointer) - > - >('objc_msgSend'); - late final __objc_msgSend_920 = - __objc_msgSend_920Ptr - .asFunction< - ffi.Pointer< ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function(ffi.Pointer) - > - >, - ) - > - > - Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + ffi.UnsignedLong Function( + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function(ffi.Pointer)>>, + )>> + Function( + ffi.Pointer, + ffi.Pointer, + )>(); late final _sel_setHashFunction_1 = objc.registerName("setHashFunction:"); void _objc_msgSend_921( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction)> - >, - ) - > - > value, + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function(ffi.Pointer)>>, + )>> + value, ) { return __objc_msgSend_921(obj, sel, value); } late final __objc_msgSend_921Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer)>>, + )>>, + )>>('objc_msgSend'); + late final __objc_msgSend_921 = __objc_msgSend_921Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function(ffi.Pointer) - > - >, - ) - > - >, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_921 = - __objc_msgSend_921Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer, - ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer, + ffi.Pointer< ffi.NativeFunction< - ffi.UnsignedLong Function(ffi.Pointer) - > - >, - ) - > - >, - ) - >(); + ffi.UnsignedLong Function(ffi.Pointer)>>, + )>>, + )>(); late final _sel_isEqualFunction1 = objc.registerName("isEqualFunction"); ffi.Pointer< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction)> - >, - ) - > - > - _objc_msgSend_922( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function(ffi.Pointer)>>, + )>> _objc_msgSend_922( ffi.Pointer obj, ffi.Pointer sel, ) { @@ -32865,44 +28095,33 @@ class AVFAudio { } late final __objc_msgSend_922Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer)>>, + )>> + Function(ffi.Pointer, ffi.Pointer)>>( + 'objc_msgSend'); + late final __objc_msgSend_922 = __objc_msgSend_922Ptr.asFunction< ffi.Pointer< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function(ffi.Pointer) - > - >, - ) - > - > - Function(ffi.Pointer, ffi.Pointer) - > - >('objc_msgSend'); - late final __objc_msgSend_922 = - __objc_msgSend_922Ptr - .asFunction< - ffi.Pointer< ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function(ffi.Pointer) - > - >, - ) - > - > - Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function(ffi.Pointer)>>, + )>> + Function( + ffi.Pointer, + ffi.Pointer, + )>(); late final _sel_setIsEqualFunction_1 = objc.registerName( "setIsEqualFunction:", @@ -32911,68 +28130,54 @@ class AVFAudio { ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction)> - >, - ) - > - > value, + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function(ffi.Pointer)>>, + )>> + value, ) { return __objc_msgSend_923(obj, sel, value); } late final __objc_msgSend_923Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer)>>, + )>>, + )>>('objc_msgSend'); + late final __objc_msgSend_923 = __objc_msgSend_923Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function(ffi.Pointer) - > - >, - ) - > - >, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_923 = - __objc_msgSend_923Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer< ffi.NativeFunction< - ffi.UnsignedLong Function(ffi.Pointer) - > - >, - ) - > - >, - ) - >(); + ffi.UnsignedLong Function(ffi.Pointer)>>, + )>>, + )>(); late final _sel_sizeFunction1 = objc.registerName("sizeFunction"); ffi.Pointer< - ffi.NativeFunction)> - > - _objc_msgSend_924( + ffi.NativeFunction)>> + _objc_msgSend_924( ffi.Pointer obj, ffi.Pointer sel, ) { @@ -32980,72 +28185,58 @@ class AVFAudio { } late final __objc_msgSend_924Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function(ffi.Pointer)>> + Function(ffi.Pointer, ffi.Pointer)>>( + 'objc_msgSend'); + late final __objc_msgSend_924 = __objc_msgSend_924Ptr.asFunction< ffi.Pointer< - ffi.NativeFunction)> - > - Function(ffi.Pointer, ffi.Pointer) - > - >('objc_msgSend'); - late final __objc_msgSend_924 = - __objc_msgSend_924Ptr - .asFunction< - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function(ffi.Pointer) - > - > - Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + ffi + .NativeFunction)>> + Function( + ffi.Pointer, + ffi.Pointer, + )>(); late final _sel_setSizeFunction_1 = objc.registerName("setSizeFunction:"); void _objc_msgSend_925( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer< - ffi.NativeFunction)> - > value, + ffi + .NativeFunction)>> + value, ) { return __objc_msgSend_925(obj, sel, value); } late final __objc_msgSend_925Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function(ffi.Pointer)>>, + )>>('objc_msgSend'); + late final __objc_msgSend_925 = __objc_msgSend_925Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer< - ffi.NativeFunction)> - >, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_925 = - __objc_msgSend_925Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function(ffi.Pointer) - > - >, - ) - >(); + ffi + .NativeFunction)>>, + )>(); late final _sel_descriptionFunction1 = objc.registerName( "descriptionFunction", ); ffi.Pointer< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer) - > - > - _objc_msgSend_926( + ffi.NativeFunction< + ffi.Pointer Function(ffi.Pointer)>> + _objc_msgSend_926( ffi.Pointer obj, ffi.Pointer sel, ) { @@ -33053,28 +28244,21 @@ class AVFAudio { } late final __objc_msgSend_926Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer)>> + Function(ffi.Pointer, ffi.Pointer)>>( + 'objc_msgSend'); + late final __objc_msgSend_926 = __objc_msgSend_926Ptr.asFunction< ffi.Pointer< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer) - > - > - Function(ffi.Pointer, ffi.Pointer) - > - >('objc_msgSend'); - late final __objc_msgSend_926 = - __objc_msgSend_926Ptr - .asFunction< - ffi.Pointer< ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer) - > - > - Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + ffi.Pointer Function(ffi.Pointer)>> + Function( + ffi.Pointer, + ffi.Pointer, + )>(); late final _sel_setDescriptionFunction_1 = objc.registerName( "setDescriptionFunction:", @@ -33083,53 +28267,41 @@ class AVFAudio { ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer) - > - > value, + ffi.NativeFunction< + ffi.Pointer Function(ffi.Pointer)>> + value, ) { return __objc_msgSend_927(obj, sel, value); } late final __objc_msgSend_927Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer)>>, + )>>('objc_msgSend'); + late final __objc_msgSend_927 = __objc_msgSend_927Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer) - > - >, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_927 = - __objc_msgSend_927Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer) - > - >, - ) - >(); + ffi.NativeFunction< + ffi.Pointer Function(ffi.Pointer)>>, + )>(); late final _sel_relinquishFunction1 = objc.registerName("relinquishFunction"); ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction)> - >, - ) - > - > - _objc_msgSend_928( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function(ffi.Pointer)>>, + )>> _objc_msgSend_928( ffi.Pointer obj, ffi.Pointer sel, ) { @@ -33137,42 +28309,31 @@ class AVFAudio { } late final __objc_msgSend_928Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer)>>, + )>> + Function(ffi.Pointer, ffi.Pointer)>>( + 'objc_msgSend'); + late final __objc_msgSend_928 = __objc_msgSend_928Ptr.asFunction< ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function(ffi.Pointer) - > - >, - ) - > - > - Function(ffi.Pointer, ffi.Pointer) - > - >('objc_msgSend'); - late final __objc_msgSend_928 = - __objc_msgSend_928Ptr - .asFunction< - ffi.Pointer< ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function(ffi.Pointer) - > - >, - ) - > - > - Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + ffi.Void Function( + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function(ffi.Pointer)>>, + )>> + Function( + ffi.Pointer, + ffi.Pointer, + )>(); late final _sel_setRelinquishFunction_1 = objc.registerName( "setRelinquishFunction:", @@ -33181,73 +28342,57 @@ class AVFAudio { ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction)> - >, - ) - > - > value, + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function(ffi.Pointer)>>, + )>> + value, ) { return __objc_msgSend_929(obj, sel, value); } late final __objc_msgSend_929Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer)>>, + )>>, + )>>('objc_msgSend'); + late final __objc_msgSend_929 = __objc_msgSend_929Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function(ffi.Pointer) - > - >, - ) - > - >, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_929 = - __objc_msgSend_929Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer< ffi.NativeFunction< - ffi.UnsignedLong Function(ffi.Pointer) - > - >, - ) - > - >, - ) - >(); + ffi.UnsignedLong Function(ffi.Pointer)>>, + )>>, + )>(); late final _sel_acquireFunction1 = objc.registerName("acquireFunction"); ffi.Pointer< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction)> - >, - ffi.Bool, - ) - > - > - _objc_msgSend_930( + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function(ffi.Pointer)>>, + ffi.Bool, + )>> _objc_msgSend_930( ffi.Pointer obj, ffi.Pointer sel, ) { @@ -33255,44 +28400,33 @@ class AVFAudio { } late final __objc_msgSend_930Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer)>>, + ffi.Bool, + )>> + Function(ffi.Pointer, ffi.Pointer)>>( + 'objc_msgSend'); + late final __objc_msgSend_930 = __objc_msgSend_930Ptr.asFunction< ffi.Pointer< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function(ffi.Pointer) - > - >, - ffi.Bool, - ) - > - > - Function(ffi.Pointer, ffi.Pointer) - > - >('objc_msgSend'); - late final __objc_msgSend_930 = - __objc_msgSend_930Ptr - .asFunction< - ffi.Pointer< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function(ffi.Pointer) - > - >, - ffi.Bool, - ) - > - > - Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function(ffi.Pointer)>>, + ffi.Bool, + )>> + Function( + ffi.Pointer, + ffi.Pointer, + )>(); late final _sel_setAcquireFunction_1 = objc.registerName( "setAcquireFunction:", @@ -33301,62 +28435,49 @@ class AVFAudio { ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction)> - >, - ffi.Bool, - ) - > - > value, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function(ffi.Pointer)>>, + ffi.Bool, + )>> + value, ) { return __objc_msgSend_931(obj, sel, value); } late final __objc_msgSend_931Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer)>>, + ffi.Bool, + )>>, + )>>('objc_msgSend'); + late final __objc_msgSend_931 = __objc_msgSend_931Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function(ffi.Pointer) - > - >, - ffi.Bool, - ) - > - >, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_931 = - __objc_msgSend_931Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer< ffi.NativeFunction< - ffi.UnsignedLong Function(ffi.Pointer) - > - >, - ffi.Bool, - ) - > - >, - ) - >(); + ffi.UnsignedLong Function(ffi.Pointer)>>, + ffi.Bool, + )>>, + )>(); late final _sel_usesStrongWriteBarrier1 = objc.registerName( "usesStrongWriteBarrier", @@ -33382,23 +28503,18 @@ class AVFAudio { } late final __objc_msgSend_932Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_932 = __objc_msgSend_932Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_932 = - __objc_msgSend_932Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_pointerArrayWithOptions_1 = objc.registerName( "pointerArrayWithOptions:", @@ -33412,23 +28528,18 @@ class AVFAudio { } late final __objc_msgSend_933Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + )>>('objc_msgSend'); + late final __objc_msgSend_933 = __objc_msgSend_933Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_933 = - __objc_msgSend_933Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_pointerArrayWithPointerFunctions_1 = objc.registerName( "pointerArrayWithPointerFunctions:", @@ -33442,23 +28553,18 @@ class AVFAudio { } late final __objc_msgSend_934Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_934 = __objc_msgSend_934Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_934 = - __objc_msgSend_934Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_pointerFunctions1 = objc.registerName("pointerFunctions"); ffi.Pointer _objc_msgSend_935( @@ -33469,21 +28575,16 @@ class AVFAudio { } late final __objc_msgSend_935Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_935 = __objc_msgSend_935Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_935 = - __objc_msgSend_935Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_pointerAtIndex_1 = objc.registerName("pointerAtIndex:"); ffi.Pointer _objc_msgSend_936( @@ -33495,23 +28596,18 @@ class AVFAudio { } late final __objc_msgSend_936Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + )>>('objc_msgSend'); + late final __objc_msgSend_936 = __objc_msgSend_936Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_936 = - __objc_msgSend_936Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_addPointer_1 = objc.registerName("addPointer:"); late final _sel_removePointerAtIndex_1 = objc.registerName( @@ -33533,25 +28629,20 @@ class AVFAudio { } late final __objc_msgSend_937Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_937 = __objc_msgSend_937Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, + int, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_937 = - __objc_msgSend_937Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ) - >(); + )>(); late final _sel_compact1 = objc.registerName("compact"); late final _sel_setCount_1 = objc.registerName("setCount:"); @@ -33572,21 +28663,16 @@ class AVFAudio { } late final __objc_msgSend_938Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_938 = __objc_msgSend_938Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_938 = - __objc_msgSend_938Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_weakObjectsPointerArray1 = objc.registerName( "weakObjectsPointerArray", @@ -33601,21 +28687,16 @@ class AVFAudio { } late final __objc_msgSend_939Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_939 = __objc_msgSend_939Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_939 = - __objc_msgSend_939Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_environment1 = objc.registerName("environment"); late final _sel_hostName1 = objc.registerName("hostName"); @@ -33643,21 +28724,16 @@ class AVFAudio { } late final __objc_msgSend_940Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + NSOperatingSystemVersion Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_940 = __objc_msgSend_940Ptr.asFunction< NSOperatingSystemVersion Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_940 = - __objc_msgSend_940Ptr - .asFunction< - NSOperatingSystemVersion Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); void _objc_msgSend_940_stret( ffi.Pointer stret, @@ -33668,23 +28744,18 @@ class AVFAudio { } late final __objc_msgSend_940_stretPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend_stret'); + late final __objc_msgSend_940_stret = __objc_msgSend_940_stretPtr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend_stret'); - late final __objc_msgSend_940_stret = - __objc_msgSend_940_stretPtr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_processorCount1 = objc.registerName("processorCount"); late final _sel_activeProcessorCount1 = objc.registerName( @@ -33703,23 +28774,18 @@ class AVFAudio { } late final __objc_msgSend_941Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + NSOperatingSystemVersion, + )>>('objc_msgSend'); + late final __objc_msgSend_941 = __objc_msgSend_941Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, NSOperatingSystemVersion, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_941 = - __objc_msgSend_941Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - NSOperatingSystemVersion, - ) - >(); + )>(); late final _sel_systemUptime1 = objc.registerName("systemUptime"); late final _sel_disableSuddenTermination1 = objc.registerName( @@ -33753,29 +28819,24 @@ class AVFAudio { } late final __objc_msgSend_942Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_942 = __objc_msgSend_942Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_942 = - __objc_msgSend_942Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ) - >(); + )>(); late final _sel_endActivity_1 = objc.registerName("endActivity:"); - late final _sel_performActivityWithOptions_reason_usingBlock_1 = objc - .registerName("performActivityWithOptions:reason:usingBlock:"); + late final _sel_performActivityWithOptions_reason_usingBlock_1 = + objc.registerName("performActivityWithOptions:reason:usingBlock:"); void _objc_msgSend_943( ffi.Pointer obj, ffi.Pointer sel, @@ -33787,30 +28848,25 @@ class AVFAudio { } late final __objc_msgSend_943Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_943 = __objc_msgSend_943Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_943 = - __objc_msgSend_943Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); - late final _sel_performExpiringActivityWithReason_usingBlock_1 = objc - .registerName("performExpiringActivityWithReason:usingBlock:"); + late final _sel_performExpiringActivityWithReason_usingBlock_1 = + objc.registerName("performExpiringActivityWithReason:usingBlock:"); void _objc_msgSend_944( ffi.Pointer obj, ffi.Pointer sel, @@ -33821,25 +28877,20 @@ class AVFAudio { } late final __objc_msgSend_944Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_944 = __objc_msgSend_944Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_944 = - __objc_msgSend_944Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_userName1 = objc.registerName("userName"); late final _sel_fullUserName1 = objc.registerName("fullUserName"); @@ -33852,21 +28903,16 @@ class AVFAudio { } late final __objc_msgSend_945Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_945 = __objc_msgSend_945Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_945 = - __objc_msgSend_945Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_isLowPowerModeEnabled1 = objc.registerName( "isLowPowerModeEnabled", @@ -33885,21 +28931,16 @@ class AVFAudio { } late final __objc_msgSend_946Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_946 = __objc_msgSend_946Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_946 = - __objc_msgSend_946Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_range1 = objc.registerName("range"); late final _sel_orthography1 = objc.registerName("orthography"); @@ -33911,21 +28952,16 @@ class AVFAudio { } late final __objc_msgSend_947Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_947 = __objc_msgSend_947Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_947 = - __objc_msgSend_947Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_grammarDetails1 = objc.registerName("grammarDetails"); late final _sel_duration1 = objc.registerName("duration"); @@ -33933,8 +28969,8 @@ class AVFAudio { late final _sel_replacementString1 = objc.registerName("replacementString"); late final _sel_alternativeStrings1 = objc.registerName("alternativeStrings"); late final _class_NSRegularExpression1 = objc.getClass("NSRegularExpression"); - late final _sel_regularExpressionWithPattern_options_error_1 = objc - .registerName("regularExpressionWithPattern:options:error:"); + late final _sel_regularExpressionWithPattern_options_error_1 = + objc.registerName("regularExpressionWithPattern:options:error:"); ffi.Pointer _objc_msgSend_948( ffi.Pointer obj, ffi.Pointer sel, @@ -33946,27 +28982,22 @@ class AVFAudio { } late final __objc_msgSend_948Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_948 = __objc_msgSend_948Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_948 = - __objc_msgSend_948Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>, - ) - >(); + )>(); late final _sel_initWithPattern_options_error_1 = objc.registerName( "initWithPattern:options:error:", @@ -33982,27 +29013,22 @@ class AVFAudio { } late final __objc_msgSend_949Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_949 = __objc_msgSend_949Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_949 = - __objc_msgSend_949Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>, - ) - >(); + )>(); late final _sel_pattern1 = objc.registerName("pattern"); late final _sel_options1 = objc.registerName("options"); @@ -34014,21 +29040,16 @@ class AVFAudio { } late final __objc_msgSend_950Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_950 = __objc_msgSend_950Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_950 = - __objc_msgSend_950Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_numberOfCaptureGroups1 = objc.registerName( "numberOfCaptureGroups", @@ -34036,8 +29057,8 @@ class AVFAudio { late final _sel_escapedPatternForString_1 = objc.registerName( "escapedPatternForString:", ); - late final _sel_enumerateMatchesInString_options_range_usingBlock_1 = objc - .registerName("enumerateMatchesInString:options:range:usingBlock:"); + late final _sel_enumerateMatchesInString_options_range_usingBlock_1 = + objc.registerName("enumerateMatchesInString:options:range:usingBlock:"); void _objc_msgSend_951( ffi.Pointer obj, ffi.Pointer sel, @@ -34050,29 +29071,24 @@ class AVFAudio { } late final __objc_msgSend_951Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + _NSRange, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_951 = __objc_msgSend_951Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, _NSRange, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_951 = - __objc_msgSend_951Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - _NSRange, - ffi.Pointer, - ) - >(); + )>(); late final _sel_matchesInString_options_range_1 = objc.registerName( "matchesInString:options:range:", @@ -34088,27 +29104,22 @@ class AVFAudio { } late final __objc_msgSend_952Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + _NSRange, + )>>('objc_msgSend'); + late final __objc_msgSend_952 = __objc_msgSend_952Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, _NSRange, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_952 = - __objc_msgSend_952Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - _NSRange, - ) - >(); + )>(); late final _sel_numberOfMatchesInString_options_range_1 = objc.registerName( "numberOfMatchesInString:options:range:", @@ -34124,27 +29135,22 @@ class AVFAudio { } late final __objc_msgSend_953Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedLong Function( + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + _NSRange, + )>>('objc_msgSend'); + late final __objc_msgSend_953 = __objc_msgSend_953Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, _NSRange, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_953 = - __objc_msgSend_953Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - _NSRange, - ) - >(); + )>(); late final _sel_firstMatchInString_options_range_1 = objc.registerName( "firstMatchInString:options:range:", @@ -34160,27 +29166,22 @@ class AVFAudio { } late final __objc_msgSend_954Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + _NSRange, + )>>('objc_msgSend'); + late final __objc_msgSend_954 = __objc_msgSend_954Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, _NSRange, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_954 = - __objc_msgSend_954Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - _NSRange, - ) - >(); + )>(); late final _sel_rangeOfFirstMatchInString_options_range_1 = objc.registerName( "rangeOfFirstMatchInString:options:range:", @@ -34196,27 +29197,22 @@ class AVFAudio { } late final __objc_msgSend_955Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + _NSRange Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + _NSRange, + )>>('objc_msgSend'); + late final __objc_msgSend_955 = __objc_msgSend_955Ptr.asFunction< _NSRange Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, _NSRange, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_955 = - __objc_msgSend_955Ptr - .asFunction< - _NSRange Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - _NSRange, - ) - >(); + )>(); void _objc_msgSend_955_stret( ffi.Pointer<_NSRange> stret, @@ -34230,34 +29226,29 @@ class AVFAudio { } late final __objc_msgSend_955_stretPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer<_NSRange>, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + _NSRange, + )>>('objc_msgSend_stret'); + late final __objc_msgSend_955_stret = __objc_msgSend_955_stretPtr.asFunction< + void Function( ffi.Pointer<_NSRange>, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, _NSRange, - ) - > - >('objc_msgSend_stret'); - late final __objc_msgSend_955_stret = - __objc_msgSend_955_stretPtr - .asFunction< - void Function( - ffi.Pointer<_NSRange>, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - _NSRange, - ) - >(); + )>(); late final _sel_stringByReplacingMatchesInString_options_range_withTemplate_1 = objc.registerName( - "stringByReplacingMatchesInString:options:range:withTemplate:", - ); + "stringByReplacingMatchesInString:options:range:withTemplate:", + ); ffi.Pointer _objc_msgSend_956( ffi.Pointer obj, ffi.Pointer sel, @@ -34270,32 +29261,27 @@ class AVFAudio { } late final __objc_msgSend_956Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + _NSRange, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_956 = __objc_msgSend_956Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, _NSRange, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_956 = - __objc_msgSend_956Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - _NSRange, - ffi.Pointer, - ) - >(); + )>(); - late final _sel_replaceMatchesInString_options_range_withTemplate_1 = objc - .registerName("replaceMatchesInString:options:range:withTemplate:"); + late final _sel_replaceMatchesInString_options_range_withTemplate_1 = + objc.registerName("replaceMatchesInString:options:range:withTemplate:"); int _objc_msgSend_957( ffi.Pointer obj, ffi.Pointer sel, @@ -34308,32 +29294,27 @@ class AVFAudio { } late final __objc_msgSend_957Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedLong Function( + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + _NSRange, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_957 = __objc_msgSend_957Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, _NSRange, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_957 = - __objc_msgSend_957Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - _NSRange, - ffi.Pointer, - ) - >(); + )>(); - late final _sel_replacementStringForResult_inString_offset_template_1 = objc - .registerName("replacementStringForResult:inString:offset:template:"); + late final _sel_replacementStringForResult_inString_offset_template_1 = + objc.registerName("replacementStringForResult:inString:offset:template:"); ffi.Pointer _objc_msgSend_958( ffi.Pointer obj, ffi.Pointer sel, @@ -34346,29 +29327,24 @@ class AVFAudio { } late final __objc_msgSend_958Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Long, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_958 = __objc_msgSend_958Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Long, + int, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_958 = - __objc_msgSend_958Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ) - >(); + )>(); late final _sel_escapedTemplateForString_1 = objc.registerName( "escapedTemplateForString:", @@ -34382,21 +29358,16 @@ class AVFAudio { } late final __objc_msgSend_959Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_959 = __objc_msgSend_959Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_959 = - __objc_msgSend_959Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_phoneNumber1 = objc.registerName("phoneNumber"); late final _sel_numberOfRanges1 = objc.registerName("numberOfRanges"); @@ -34414,27 +29385,22 @@ class AVFAudio { } late final __objc_msgSend_960Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Long, + )>>('objc_msgSend'); + late final __objc_msgSend_960 = __objc_msgSend_960Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.Long, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_960 = - __objc_msgSend_960Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_addressComponents1 = objc.registerName("addressComponents"); - late final _sel_orthographyCheckingResultWithRange_orthography_1 = objc - .registerName("orthographyCheckingResultWithRange:orthography:"); + late final _sel_orthographyCheckingResultWithRange_orthography_1 = + objc.registerName("orthographyCheckingResultWithRange:orthography:"); ffi.Pointer _objc_msgSend_961( ffi.Pointer obj, ffi.Pointer sel, @@ -34445,25 +29411,20 @@ class AVFAudio { } late final __objc_msgSend_961Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_961 = __objc_msgSend_961Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, _NSRange, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_961 = - __objc_msgSend_961Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - ) - >(); + )>(); late final _sel_spellCheckingResultWithRange_1 = objc.registerName( "spellCheckingResultWithRange:", @@ -34477,23 +29438,18 @@ class AVFAudio { } late final __objc_msgSend_962Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + )>>('objc_msgSend'); + late final __objc_msgSend_962 = __objc_msgSend_962Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, _NSRange, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_962 = - __objc_msgSend_962Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ) - >(); + )>(); late final _sel_grammarCheckingResultWithRange_details_1 = objc.registerName( "grammarCheckingResultWithRange:details:", @@ -34508,25 +29464,20 @@ class AVFAudio { } late final __objc_msgSend_963Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_963 = __objc_msgSend_963Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, _NSRange, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_963 = - __objc_msgSend_963Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - ) - >(); + )>(); late final _sel_dateCheckingResultWithRange_date_1 = objc.registerName( "dateCheckingResultWithRange:date:", @@ -34541,28 +29492,23 @@ class AVFAudio { } late final __objc_msgSend_964Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_964 = __objc_msgSend_964Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, _NSRange, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_964 = - __objc_msgSend_964Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - ) - >(); + )>(); - late final _sel_dateCheckingResultWithRange_date_timeZone_duration_1 = objc - .registerName("dateCheckingResultWithRange:date:timeZone:duration:"); + late final _sel_dateCheckingResultWithRange_date_timeZone_duration_1 = + objc.registerName("dateCheckingResultWithRange:date:timeZone:duration:"); ffi.Pointer _objc_msgSend_965( ffi.Pointer obj, ffi.Pointer sel, @@ -34575,32 +29521,27 @@ class AVFAudio { } late final __objc_msgSend_965Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + ffi.Pointer, + ffi.Double, + )>>('objc_msgSend'); + late final __objc_msgSend_965 = __objc_msgSend_965Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, _NSRange, ffi.Pointer, ffi.Pointer, - ffi.Double, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_965 = - __objc_msgSend_965Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - ffi.Pointer, - double, - ) - >(); + double, + )>(); - late final _sel_addressCheckingResultWithRange_components_1 = objc - .registerName("addressCheckingResultWithRange:components:"); + late final _sel_addressCheckingResultWithRange_components_1 = + objc.registerName("addressCheckingResultWithRange:components:"); ffi.Pointer _objc_msgSend_966( ffi.Pointer obj, ffi.Pointer sel, @@ -34611,25 +29552,20 @@ class AVFAudio { } late final __objc_msgSend_966Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_966 = __objc_msgSend_966Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, _NSRange, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_966 = - __objc_msgSend_966Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - ) - >(); + )>(); late final _sel_linkCheckingResultWithRange_URL_1 = objc.registerName( "linkCheckingResultWithRange:URL:", @@ -34644,28 +29580,23 @@ class AVFAudio { } late final __objc_msgSend_967Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_967 = __objc_msgSend_967Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, _NSRange, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_967 = - __objc_msgSend_967Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - ) - >(); + )>(); - late final _sel_quoteCheckingResultWithRange_replacementString_1 = objc - .registerName("quoteCheckingResultWithRange:replacementString:"); + late final _sel_quoteCheckingResultWithRange_replacementString_1 = + objc.registerName("quoteCheckingResultWithRange:replacementString:"); ffi.Pointer _objc_msgSend_968( ffi.Pointer obj, ffi.Pointer sel, @@ -34676,36 +29607,31 @@ class AVFAudio { } late final __objc_msgSend_968Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_968 = __objc_msgSend_968Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, _NSRange, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_968 = - __objc_msgSend_968Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - ) - >(); + )>(); - late final _sel_dashCheckingResultWithRange_replacementString_1 = objc - .registerName("dashCheckingResultWithRange:replacementString:"); + late final _sel_dashCheckingResultWithRange_replacementString_1 = + objc.registerName("dashCheckingResultWithRange:replacementString:"); late final _sel_replacementCheckingResultWithRange_replacementString_1 = objc .registerName("replacementCheckingResultWithRange:replacementString:"); - late final _sel_correctionCheckingResultWithRange_replacementString_1 = objc - .registerName("correctionCheckingResultWithRange:replacementString:"); + late final _sel_correctionCheckingResultWithRange_replacementString_1 = + objc.registerName("correctionCheckingResultWithRange:replacementString:"); late final _sel_correctionCheckingResultWithRange_replacementString_alternativeStrings_1 = objc.registerName( - "correctionCheckingResultWithRange:replacementString:alternativeStrings:", - ); + "correctionCheckingResultWithRange:replacementString:alternativeStrings:", + ); ffi.Pointer _objc_msgSend_969( ffi.Pointer obj, ffi.Pointer sel, @@ -34723,32 +29649,27 @@ class AVFAudio { } late final __objc_msgSend_969Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_969 = __objc_msgSend_969Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, _NSRange, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_969 = - __objc_msgSend_969Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_regularExpressionCheckingResultWithRanges_count_regularExpression_1 = objc.registerName( - "regularExpressionCheckingResultWithRanges:count:regularExpression:", - ); + "regularExpressionCheckingResultWithRanges:count:regularExpression:", + ); ffi.Pointer _objc_msgSend_970( ffi.Pointer obj, ffi.Pointer sel, @@ -34760,30 +29681,25 @@ class AVFAudio { } late final __objc_msgSend_970Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_NSRange>, + ffi.UnsignedLong, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_970 = __objc_msgSend_970Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer<_NSRange>, - ffi.UnsignedLong, + int, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_970 = - __objc_msgSend_970Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_NSRange>, - int, - ffi.Pointer, - ) - >(); + )>(); - late final _sel_phoneNumberCheckingResultWithRange_phoneNumber_1 = objc - .registerName("phoneNumberCheckingResultWithRange:phoneNumber:"); + late final _sel_phoneNumberCheckingResultWithRange_phoneNumber_1 = + objc.registerName("phoneNumberCheckingResultWithRange:phoneNumber:"); late final _sel_transitInformationCheckingResultWithRange_components_1 = objc .registerName("transitInformationCheckingResultWithRange:components:"); late final _class_NSURLCache1 = objc.getClass("NSURLCache"); @@ -34796,21 +29712,16 @@ class AVFAudio { } late final __objc_msgSend_971Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_971 = __objc_msgSend_971Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_971 = - __objc_msgSend_971Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_setSharedURLCache_1 = objc.registerName("setSharedURLCache:"); void _objc_msgSend_972( @@ -34822,26 +29733,21 @@ class AVFAudio { } late final __objc_msgSend_972Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_972 = __objc_msgSend_972Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_972 = - __objc_msgSend_972Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); - late final _sel_initWithMemoryCapacity_diskCapacity_diskPath_1 = objc - .registerName("initWithMemoryCapacity:diskCapacity:diskPath:"); + late final _sel_initWithMemoryCapacity_diskCapacity_diskPath_1 = + objc.registerName("initWithMemoryCapacity:diskCapacity:diskPath:"); instancetype _objc_msgSend_973( ffi.Pointer obj, ffi.Pointer sel, @@ -34853,30 +29759,25 @@ class AVFAudio { } late final __objc_msgSend_973Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.UnsignedLong, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_973 = __objc_msgSend_973Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, - ffi.UnsignedLong, + int, + int, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_973 = - __objc_msgSend_973Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - int, - int, - ffi.Pointer, - ) - >(); + )>(); - late final _sel_initWithMemoryCapacity_diskCapacity_directoryURL_1 = objc - .registerName("initWithMemoryCapacity:diskCapacity:directoryURL:"); + late final _sel_initWithMemoryCapacity_diskCapacity_directoryURL_1 = + objc.registerName("initWithMemoryCapacity:diskCapacity:directoryURL:"); instancetype _objc_msgSend_974( ffi.Pointer obj, ffi.Pointer sel, @@ -34894,27 +29795,22 @@ class AVFAudio { } late final __objc_msgSend_974Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.UnsignedLong, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_974 = __objc_msgSend_974Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, - ffi.UnsignedLong, + int, + int, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_974 = - __objc_msgSend_974Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - int, - int, - ffi.Pointer, - ) - >(); + )>(); late final _class_NSCachedURLResponse1 = objc.getClass("NSCachedURLResponse"); late final _sel_initWithResponse_data_1 = objc.registerName( @@ -34930,28 +29826,23 @@ class AVFAudio { } late final __objc_msgSend_975Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_975 = __objc_msgSend_975Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_975 = - __objc_msgSend_975Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); - late final _sel_initWithResponse_data_userInfo_storagePolicy_1 = objc - .registerName("initWithResponse:data:userInfo:storagePolicy:"); + late final _sel_initWithResponse_data_userInfo_storagePolicy_1 = + objc.registerName("initWithResponse:data:userInfo:storagePolicy:"); instancetype _objc_msgSend_976( ffi.Pointer obj, ffi.Pointer sel, @@ -34971,29 +29862,24 @@ class AVFAudio { } late final __objc_msgSend_976Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + )>>('objc_msgSend'); + late final __objc_msgSend_976 = __objc_msgSend_976Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_976 = - __objc_msgSend_976Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); ffi.Pointer _objc_msgSend_977( ffi.Pointer obj, @@ -35003,21 +29889,16 @@ class AVFAudio { } late final __objc_msgSend_977Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_977 = __objc_msgSend_977Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_977 = - __objc_msgSend_977Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_storagePolicy1 = objc.registerName("storagePolicy"); int _objc_msgSend_978( @@ -35028,21 +29909,16 @@ class AVFAudio { } late final __objc_msgSend_978Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_978 = __objc_msgSend_978Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_978 = - __objc_msgSend_978Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_cachedResponseForRequest_1 = objc.registerName( "cachedResponseForRequest:", @@ -35056,23 +29932,18 @@ class AVFAudio { } late final __objc_msgSend_979Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_979 = __objc_msgSend_979Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_979 = - __objc_msgSend_979Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_storeCachedResponse_forRequest_1 = objc.registerName( "storeCachedResponse:forRequest:", @@ -35087,25 +29958,20 @@ class AVFAudio { } late final __objc_msgSend_980Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_980 = __objc_msgSend_980Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_980 = - __objc_msgSend_980Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_removeCachedResponseForRequest_1 = objc.registerName( "removeCachedResponseForRequest:", @@ -35119,23 +29985,18 @@ class AVFAudio { } late final __objc_msgSend_981Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_981 = __objc_msgSend_981Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_981 = - __objc_msgSend_981Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_removeAllCachedResponses1 = objc.registerName( "removeAllCachedResponses", @@ -35165,28 +30026,23 @@ class AVFAudio { } late final __objc_msgSend_982Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_982 = __objc_msgSend_982Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_982 = - __objc_msgSend_982Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); - late final _sel_getCachedResponseForDataTask_completionHandler_1 = objc - .registerName("getCachedResponseForDataTask:completionHandler:"); + late final _sel_getCachedResponseForDataTask_completionHandler_1 = + objc.registerName("getCachedResponseForDataTask:completionHandler:"); void _objc_msgSend_983( ffi.Pointer obj, ffi.Pointer sel, @@ -35197,25 +30053,20 @@ class AVFAudio { } late final __objc_msgSend_983Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_983 = __objc_msgSend_983Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_983 = - __objc_msgSend_983Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_removeCachedResponseForDataTask_1 = objc.registerName( "removeCachedResponseForDataTask:", @@ -35229,27 +30080,22 @@ class AVFAudio { } late final __objc_msgSend_984Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_984 = __objc_msgSend_984Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_984 = - __objc_msgSend_984Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _class_NSURLConnection1 = objc.getClass("NSURLConnection"); - late final _sel_initWithRequest_delegate_startImmediately_1 = objc - .registerName("initWithRequest:delegate:startImmediately:"); + late final _sel_initWithRequest_delegate_startImmediately_1 = + objc.registerName("initWithRequest:delegate:startImmediately:"); instancetype _objc_msgSend_985( ffi.Pointer obj, ffi.Pointer sel, @@ -35261,27 +30107,22 @@ class AVFAudio { } late final __objc_msgSend_985Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + )>>('objc_msgSend'); + late final __objc_msgSend_985 = __objc_msgSend_985Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Bool, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_985 = - __objc_msgSend_985Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - ) - >(); + bool, + )>(); late final _sel_initWithRequest_delegate_1 = objc.registerName( "initWithRequest:delegate:", @@ -35296,25 +30137,20 @@ class AVFAudio { } late final __objc_msgSend_986Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_986 = __objc_msgSend_986Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_986 = - __objc_msgSend_986Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_connectionWithRequest_delegate_1 = objc.registerName( "connectionWithRequest:delegate:", @@ -35329,25 +30165,20 @@ class AVFAudio { } late final __objc_msgSend_987Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_987 = __objc_msgSend_987Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_987 = - __objc_msgSend_987Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); ffi.Pointer _objc_msgSend_988( ffi.Pointer obj, @@ -35357,21 +30188,16 @@ class AVFAudio { } late final __objc_msgSend_988Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_988 = __objc_msgSend_988Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_988 = - __objc_msgSend_988Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_unscheduleFromRunLoop_forMode_1 = objc.registerName( "unscheduleFromRunLoop:forMode:", @@ -35386,23 +30212,18 @@ class AVFAudio { } late final __objc_msgSend_989Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_989 = __objc_msgSend_989Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_989 = - __objc_msgSend_989Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_canHandleRequest_1 = objc.registerName("canHandleRequest:"); bool _objc_msgSend_990( @@ -35414,26 +30235,21 @@ class AVFAudio { } late final __objc_msgSend_990Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_990 = __objc_msgSend_990Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_990 = - __objc_msgSend_990Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); - late final _sel_sendSynchronousRequest_returningResponse_error_1 = objc - .registerName("sendSynchronousRequest:returningResponse:error:"); + late final _sel_sendSynchronousRequest_returningResponse_error_1 = + objc.registerName("sendSynchronousRequest:returningResponse:error:"); ffi.Pointer _objc_msgSend_991( ffi.Pointer obj, ffi.Pointer sel, @@ -35445,30 +30261,25 @@ class AVFAudio { } late final __objc_msgSend_991Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_991 = __objc_msgSend_991Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer>, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_991 = - __objc_msgSend_991Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer>, - ) - >(); + )>(); - late final _sel_sendAsynchronousRequest_queue_completionHandler_1 = objc - .registerName("sendAsynchronousRequest:queue:completionHandler:"); + late final _sel_sendAsynchronousRequest_queue_completionHandler_1 = + objc.registerName("sendAsynchronousRequest:queue:completionHandler:"); void _objc_msgSend_992( ffi.Pointer obj, ffi.Pointer sel, @@ -35480,27 +30291,22 @@ class AVFAudio { } late final __objc_msgSend_992Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_992 = __objc_msgSend_992Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_992 = - __objc_msgSend_992Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _class_NSURLCredential1 = objc.getClass("NSURLCredential"); late final _sel_persistence1 = objc.registerName("persistence"); @@ -35512,21 +30318,16 @@ class AVFAudio { } late final __objc_msgSend_993Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_993 = __objc_msgSend_993Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_993 = - __objc_msgSend_993Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_initWithUser_password_persistence_1 = objc.registerName( "initWithUser:password:persistence:", @@ -35542,27 +30343,22 @@ class AVFAudio { } late final __objc_msgSend_994Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + )>>('objc_msgSend'); + late final __objc_msgSend_994 = __objc_msgSend_994Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_994 = - __objc_msgSend_994Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_credentialWithUser_password_persistence_1 = objc.registerName( "credentialWithUser:password:persistence:", @@ -35578,31 +30374,26 @@ class AVFAudio { } late final __objc_msgSend_995Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + )>>('objc_msgSend'); + late final __objc_msgSend_995 = __objc_msgSend_995Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_995 = - __objc_msgSend_995Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_hasPassword1 = objc.registerName("hasPassword"); - late final _sel_initWithIdentity_certificates_persistence_1 = objc - .registerName("initWithIdentity:certificates:persistence:"); + late final _sel_initWithIdentity_certificates_persistence_1 = + objc.registerName("initWithIdentity:certificates:persistence:"); instancetype _objc_msgSend_996( ffi.Pointer obj, ffi.Pointer sel, @@ -35614,30 +30405,25 @@ class AVFAudio { } late final __objc_msgSend_996Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<__SecIdentity>, + ffi.Pointer, + ffi.Int32, + )>>('objc_msgSend'); + late final __objc_msgSend_996 = __objc_msgSend_996Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer<__SecIdentity>, ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_996 = - __objc_msgSend_996Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<__SecIdentity>, - ffi.Pointer, - int, - ) - >(); + int, + )>(); - late final _sel_credentialWithIdentity_certificates_persistence_1 = objc - .registerName("credentialWithIdentity:certificates:persistence:"); + late final _sel_credentialWithIdentity_certificates_persistence_1 = + objc.registerName("credentialWithIdentity:certificates:persistence:"); ffi.Pointer _objc_msgSend_997( ffi.Pointer obj, ffi.Pointer sel, @@ -35649,27 +30435,22 @@ class AVFAudio { } late final __objc_msgSend_997Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<__SecIdentity>, + ffi.Pointer, + ffi.Int32, + )>>('objc_msgSend'); + late final __objc_msgSend_997 = __objc_msgSend_997Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer<__SecIdentity>, ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_997 = - __objc_msgSend_997Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<__SecIdentity>, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_identity1 = objc.registerName("identity"); ffi.Pointer<__SecIdentity> _objc_msgSend_998( @@ -35680,21 +30461,16 @@ class AVFAudio { } late final __objc_msgSend_998Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer<__SecIdentity> Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_998 = __objc_msgSend_998Ptr.asFunction< ffi.Pointer<__SecIdentity> Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_998 = - __objc_msgSend_998Ptr - .asFunction< - ffi.Pointer<__SecIdentity> Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_certificates1 = objc.registerName("certificates"); late final _sel_initWithTrust_1 = objc.registerName("initWithTrust:"); @@ -35707,23 +30483,18 @@ class AVFAudio { } late final __objc_msgSend_999Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<__SecTrust>, + )>>('objc_msgSend'); + late final __objc_msgSend_999 = __objc_msgSend_999Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer<__SecTrust>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_999 = - __objc_msgSend_999Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<__SecTrust>, - ) - >(); + )>(); late final _sel_credentialForTrust_1 = objc.registerName( "credentialForTrust:", @@ -35737,23 +30508,18 @@ class AVFAudio { } late final __objc_msgSend_1000Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<__SecTrust>, + )>>('objc_msgSend'); + late final __objc_msgSend_1000 = __objc_msgSend_1000Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer<__SecTrust>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1000 = - __objc_msgSend_1000Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<__SecTrust>, - ) - >(); + )>(); late final _class_NSURLProtectionSpace1 = objc.getClass( "NSURLProtectionSpace", @@ -35781,36 +30547,31 @@ class AVFAudio { } late final __objc_msgSend_1001Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Long, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1001 = __objc_msgSend_1001Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Long, + int, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1001 = - __objc_msgSend_1001Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_initWithProxyHost_port_type_realm_authenticationMethod_1 = objc.registerName( - "initWithProxyHost:port:type:realm:authenticationMethod:", - ); + "initWithProxyHost:port:type:realm:authenticationMethod:", + ); late final _sel_realm1 = objc.registerName("realm"); late final _sel_receivesCredentialSecurely1 = objc.registerName( "receivesCredentialSecurely", @@ -35831,21 +30592,16 @@ class AVFAudio { } late final __objc_msgSend_1002Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer<__SecTrust> Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1002 = __objc_msgSend_1002Ptr.asFunction< ffi.Pointer<__SecTrust> Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1002 = - __objc_msgSend_1002Ptr - .asFunction< - ffi.Pointer<__SecTrust> Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _class_NSURLCredentialStorage1 = objc.getClass( "NSURLCredentialStorage", @@ -35861,21 +30617,16 @@ class AVFAudio { } late final __objc_msgSend_1003Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1003 = __objc_msgSend_1003Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1003 = - __objc_msgSend_1003Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_credentialsForProtectionSpace_1 = objc.registerName( "credentialsForProtectionSpace:", @@ -35889,23 +30640,18 @@ class AVFAudio { } late final __objc_msgSend_1004Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1004 = __objc_msgSend_1004Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1004 = - __objc_msgSend_1004Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_allCredentials1 = objc.registerName("allCredentials"); late final _sel_setCredential_forProtectionSpace_1 = objc.registerName( @@ -35921,31 +30667,26 @@ class AVFAudio { } late final __objc_msgSend_1005Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1005 = __objc_msgSend_1005Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1005 = - __objc_msgSend_1005Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_removeCredential_forProtectionSpace_1 = objc.registerName( "removeCredential:forProtectionSpace:", ); - late final _sel_removeCredential_forProtectionSpace_options_1 = objc - .registerName("removeCredential:forProtectionSpace:options:"); + late final _sel_removeCredential_forProtectionSpace_options_1 = + objc.registerName("removeCredential:forProtectionSpace:options:"); void _objc_msgSend_1006( ffi.Pointer obj, ffi.Pointer sel, @@ -35957,27 +30698,22 @@ class AVFAudio { } late final __objc_msgSend_1006Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1006 = __objc_msgSend_1006Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1006 = - __objc_msgSend_1006Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_defaultCredentialForProtectionSpace_1 = objc.registerName( "defaultCredentialForProtectionSpace:", @@ -35991,31 +30727,26 @@ class AVFAudio { } late final __objc_msgSend_1007Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1007 = __objc_msgSend_1007Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1007 = - __objc_msgSend_1007Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_setDefaultCredential_forProtectionSpace_1 = objc.registerName( "setDefaultCredential:forProtectionSpace:", ); late final _sel_getCredentialsForProtectionSpace_task_completionHandler_1 = objc.registerName( - "getCredentialsForProtectionSpace:task:completionHandler:", - ); + "getCredentialsForProtectionSpace:task:completionHandler:", + ); void _objc_msgSend_1008( ffi.Pointer obj, ffi.Pointer sel, @@ -36033,27 +30764,22 @@ class AVFAudio { } late final __objc_msgSend_1008Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1008 = __objc_msgSend_1008Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1008 = - __objc_msgSend_1008Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_setCredential_forProtectionSpace_task_1 = objc.registerName( "setCredential:forProtectionSpace:task:", @@ -36069,30 +30795,25 @@ class AVFAudio { } late final __objc_msgSend_1009Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1009 = __objc_msgSend_1009Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1009 = - __objc_msgSend_1009Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); - late final _sel_removeCredential_forProtectionSpace_options_task_1 = objc - .registerName("removeCredential:forProtectionSpace:options:task:"); + late final _sel_removeCredential_forProtectionSpace_options_task_1 = + objc.registerName("removeCredential:forProtectionSpace:options:task:"); void _objc_msgSend_1010( ffi.Pointer obj, ffi.Pointer sel, @@ -36112,34 +30833,29 @@ class AVFAudio { } late final __objc_msgSend_1010Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1010 = __objc_msgSend_1010Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1010 = - __objc_msgSend_1010Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_getDefaultCredentialForProtectionSpace_task_completionHandler_1 = objc.registerName( - "getDefaultCredentialForProtectionSpace:task:completionHandler:", - ); + "getDefaultCredentialForProtectionSpace:task:completionHandler:", + ); void _objc_msgSend_1011( ffi.Pointer obj, ffi.Pointer sel, @@ -36151,30 +30867,25 @@ class AVFAudio { } late final __objc_msgSend_1011Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1011 = __objc_msgSend_1011Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1011 = - __objc_msgSend_1011Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); - late final _sel_setDefaultCredential_forProtectionSpace_task_1 = objc - .registerName("setDefaultCredential:forProtectionSpace:task:"); + late final _sel_setDefaultCredential_forProtectionSpace_task_1 = + objc.registerName("setDefaultCredential:forProtectionSpace:task:"); late final _class_NSURLProtocol1 = objc.getClass("NSURLProtocol"); late final _sel_initWithRequest_cachedResponse_client_1 = objc.registerName( "initWithRequest:cachedResponse:client:", @@ -36190,27 +30901,22 @@ class AVFAudio { } late final __objc_msgSend_1012Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1012 = __objc_msgSend_1012Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1012 = - __objc_msgSend_1012Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_client1 = objc.registerName("client"); late final _sel_request1 = objc.registerName("request"); @@ -36223,21 +30929,16 @@ class AVFAudio { } late final __objc_msgSend_1013Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1013 = __objc_msgSend_1013Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1013 = - __objc_msgSend_1013Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_canInitWithRequest_1 = objc.registerName( "canInitWithRequest:", @@ -36254,23 +30955,18 @@ class AVFAudio { } late final __objc_msgSend_1014Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1014 = __objc_msgSend_1014Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1014 = - __objc_msgSend_1014Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_requestIsCacheEquivalent_toRequest_1 = objc.registerName( "requestIsCacheEquivalent:toRequest:", @@ -36285,25 +30981,20 @@ class AVFAudio { } late final __objc_msgSend_1015Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1015 = __objc_msgSend_1015Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1015 = - __objc_msgSend_1015Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_startLoading1 = objc.registerName("startLoading"); late final _sel_stopLoading1 = objc.registerName("stopLoading"); @@ -36320,25 +31011,20 @@ class AVFAudio { } late final __objc_msgSend_1016Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1016 = __objc_msgSend_1016Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1016 = - __objc_msgSend_1016Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _class_NSMutableURLRequest1 = objc.getClass("NSMutableURLRequest"); late final _sel_setURL_1 = objc.registerName("setURL:"); @@ -36352,23 +31038,18 @@ class AVFAudio { } late final __objc_msgSend_1017Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + )>>('objc_msgSend'); + late final __objc_msgSend_1017 = __objc_msgSend_1017Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1017 = - __objc_msgSend_1017Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_setTimeoutInterval_1 = objc.registerName( "setTimeoutInterval:", @@ -36388,23 +31069,18 @@ class AVFAudio { } late final __objc_msgSend_1018Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + )>>('objc_msgSend'); + late final __objc_msgSend_1018 = __objc_msgSend_1018Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1018 = - __objc_msgSend_1018Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_setAllowsCellularAccess_1 = objc.registerName( "setAllowsCellularAccess:", @@ -36428,23 +31104,18 @@ class AVFAudio { } late final __objc_msgSend_1019Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + )>>('objc_msgSend'); + late final __objc_msgSend_1019 = __objc_msgSend_1019Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1019 = - __objc_msgSend_1019Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_setRequiresDNSSECValidation_1 = objc.registerName( "setRequiresDNSSECValidation:", @@ -36466,25 +31137,20 @@ class AVFAudio { } late final __objc_msgSend_1020Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1020 = __objc_msgSend_1020Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1020 = - __objc_msgSend_1020Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_addValue_forHTTPHeaderField_1 = objc.registerName( "addValue:forHTTPHeaderField:", @@ -36499,23 +31165,18 @@ class AVFAudio { } late final __objc_msgSend_1021Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1021 = __objc_msgSend_1021Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1021 = - __objc_msgSend_1021Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_setHTTPBodyStream_1 = objc.registerName("setHTTPBodyStream:"); void _objc_msgSend_1022( @@ -36527,23 +31188,18 @@ class AVFAudio { } late final __objc_msgSend_1022Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1022 = __objc_msgSend_1022Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1022 = - __objc_msgSend_1022Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_setHTTPShouldHandleCookies_1 = objc.registerName( "setHTTPShouldHandleCookies:", @@ -36565,27 +31221,22 @@ class AVFAudio { } late final __objc_msgSend_1023Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1023 = __objc_msgSend_1023Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1023 = - __objc_msgSend_1023Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_removePropertyForKey_inRequest_1 = objc.registerName( "removePropertyForKey:inRequest:", @@ -36600,25 +31251,20 @@ class AVFAudio { } late final __objc_msgSend_1024Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1024 = __objc_msgSend_1024Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1024 = - __objc_msgSend_1024Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_registerClass_1 = objc.registerName("registerClass:"); late final _sel_unregisterClass_1 = objc.registerName("unregisterClass:"); @@ -36632,23 +31278,18 @@ class AVFAudio { } late final __objc_msgSend_1025Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1025 = __objc_msgSend_1025Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1025 = - __objc_msgSend_1025Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_initWithTask_cachedResponse_client_1 = objc.registerName( "initWithTask:cachedResponse:client:", @@ -36664,27 +31305,22 @@ class AVFAudio { } late final __objc_msgSend_1026Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1026 = __objc_msgSend_1026Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1026 = - __objc_msgSend_1026Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_task1 = objc.registerName("task"); ffi.Pointer _objc_msgSend_1027( @@ -36695,21 +31331,16 @@ class AVFAudio { } late final __objc_msgSend_1027Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1027 = __objc_msgSend_1027Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1027 = - __objc_msgSend_1027Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _class_NSXMLParser1 = objc.getClass("NSXMLParser"); late final _sel_initWithStream_1 = objc.registerName("initWithStream:"); @@ -36722,23 +31353,18 @@ class AVFAudio { } late final __objc_msgSend_1028Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1028 = __objc_msgSend_1028Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1028 = - __objc_msgSend_1028Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_shouldProcessNamespaces1 = objc.registerName( "shouldProcessNamespaces", @@ -36763,21 +31389,16 @@ class AVFAudio { } late final __objc_msgSend_1029Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1029 = __objc_msgSend_1029Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1029 = - __objc_msgSend_1029Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_setExternalEntityResolvingPolicy_1 = objc.registerName( "setExternalEntityResolvingPolicy:", @@ -36791,23 +31412,18 @@ class AVFAudio { } late final __objc_msgSend_1030Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + )>>('objc_msgSend'); + late final __objc_msgSend_1030 = __objc_msgSend_1030Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1030 = - __objc_msgSend_1030Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_allowedExternalEntityURLs1 = objc.registerName( "allowedExternalEntityURLs", @@ -36824,23 +31440,18 @@ class AVFAudio { } late final __objc_msgSend_1031Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1031 = __objc_msgSend_1031Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1031 = - __objc_msgSend_1031Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_parse1 = objc.registerName("parse"); late final _sel_abortParsing1 = objc.registerName("abortParsing"); @@ -36870,27 +31481,22 @@ class AVFAudio { } late final __objc_msgSend_1032Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_1032 = __objc_msgSend_1032Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1032 = - __objc_msgSend_1032Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>, - ) - >(); + )>(); late final _sel_initDirectoryWithFileWrappers_1 = objc.registerName( "initDirectoryWithFileWrappers:", @@ -36932,30 +31538,25 @@ class AVFAudio { } late final __objc_msgSend_1033Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_1033 = __objc_msgSend_1033Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1033 = - __objc_msgSend_1033Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>, - ) - >(); + )>(); - late final _sel_writeToURL_options_originalContentsURL_error_1 = objc - .registerName("writeToURL:options:originalContentsURL:error:"); + late final _sel_writeToURL_options_originalContentsURL_error_1 = + objc.registerName("writeToURL:options:originalContentsURL:error:"); bool _objc_msgSend_1034( ffi.Pointer obj, ffi.Pointer sel, @@ -36975,29 +31576,24 @@ class AVFAudio { } late final __objc_msgSend_1034Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_1034 = __objc_msgSend_1034Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, ffi.Pointer, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1034 = - __objc_msgSend_1034Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ffi.Pointer>, - ) - >(); + )>(); late final _sel_serializedRepresentation1 = objc.registerName( "serializedRepresentation", @@ -37012,26 +31608,21 @@ class AVFAudio { } late final __objc_msgSend_1035Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1035 = __objc_msgSend_1035Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1035 = - __objc_msgSend_1035Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); - late final _sel_addRegularFileWithContents_preferredFilename_1 = objc - .registerName("addRegularFileWithContents:preferredFilename:"); + late final _sel_addRegularFileWithContents_preferredFilename_1 = + objc.registerName("addRegularFileWithContents:preferredFilename:"); ffi.Pointer _objc_msgSend_1036( ffi.Pointer obj, ffi.Pointer sel, @@ -37042,25 +31633,20 @@ class AVFAudio { } late final __objc_msgSend_1036Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1036 = __objc_msgSend_1036Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1036 = - __objc_msgSend_1036Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_removeFileWrapper_1 = objc.registerName("removeFileWrapper:"); void _objc_msgSend_1037( @@ -37072,23 +31658,18 @@ class AVFAudio { } late final __objc_msgSend_1037Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1037 = __objc_msgSend_1037Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1037 = - __objc_msgSend_1037Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_fileWrappers1 = objc.registerName("fileWrappers"); late final _sel_keyForFileWrapper_1 = objc.registerName("keyForFileWrapper:"); @@ -37101,23 +31682,18 @@ class AVFAudio { } late final __objc_msgSend_1038Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1038 = __objc_msgSend_1038Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1038 = - __objc_msgSend_1038Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_regularFileContents1 = objc.registerName( "regularFileContents", @@ -37146,31 +31722,26 @@ class AVFAudio { } late final __objc_msgSend_1039Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.Bool, + )>>('objc_msgSend'); + late final __objc_msgSend_1039 = __objc_msgSend_1039Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Bool, - ffi.Bool, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1039 = - __objc_msgSend_1039Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - bool, - ) - >(); + bool, + bool, + )>(); late final _sel_addFileWithPath_1 = objc.registerName("addFileWithPath:"); - late final _sel_addSymbolicLinkWithDestination_preferredFilename_1 = objc - .registerName("addSymbolicLinkWithDestination:preferredFilename:"); + late final _sel_addSymbolicLinkWithDestination_preferredFilename_1 = + objc.registerName("addSymbolicLinkWithDestination:preferredFilename:"); late final _sel_symbolicLinkDestination1 = objc.registerName( "symbolicLinkDestination", ); @@ -37184,21 +31755,16 @@ class AVFAudio { } late final __objc_msgSend_1040Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1040 = __objc_msgSend_1040Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1040 = - __objc_msgSend_1040Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _class_NSURLSessionConfiguration1 = objc.getClass( "NSURLSessionConfiguration", @@ -37214,27 +31780,22 @@ class AVFAudio { } late final __objc_msgSend_1041Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1041 = __objc_msgSend_1041Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1041 = - __objc_msgSend_1041Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_ephemeralSessionConfiguration1 = objc.registerName( "ephemeralSessionConfiguration", ); - late final _sel_backgroundSessionConfigurationWithIdentifier_1 = objc - .registerName("backgroundSessionConfigurationWithIdentifier:"); + late final _sel_backgroundSessionConfigurationWithIdentifier_1 = + objc.registerName("backgroundSessionConfigurationWithIdentifier:"); ffi.Pointer _objc_msgSend_1042( ffi.Pointer obj, ffi.Pointer sel, @@ -37244,23 +31805,18 @@ class AVFAudio { } late final __objc_msgSend_1042Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1042 = __objc_msgSend_1042Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1042 = - __objc_msgSend_1042Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_identifier1 = objc.registerName("identifier"); late final _sel_requestCachePolicy1 = objc.registerName("requestCachePolicy"); @@ -37316,21 +31872,16 @@ class AVFAudio { } late final __objc_msgSend_1043Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1043 = __objc_msgSend_1043Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1043 = - __objc_msgSend_1043Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_setTLSMinimumSupportedProtocol_1 = objc.registerName( "setTLSMinimumSupportedProtocol:", @@ -37344,23 +31895,18 @@ class AVFAudio { } late final __objc_msgSend_1044Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + )>>('objc_msgSend'); + late final __objc_msgSend_1044 = __objc_msgSend_1044Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1044 = - __objc_msgSend_1044Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_TLSMaximumSupportedProtocol1 = objc.registerName( "TLSMaximumSupportedProtocol", @@ -37379,21 +31925,16 @@ class AVFAudio { } late final __objc_msgSend_1045Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1045 = __objc_msgSend_1045Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1045 = - __objc_msgSend_1045Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_setTLSMinimumSupportedProtocolVersion_1 = objc.registerName( "setTLSMinimumSupportedProtocolVersion:", @@ -37407,23 +31948,18 @@ class AVFAudio { } late final __objc_msgSend_1046Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + )>>('objc_msgSend'); + late final __objc_msgSend_1046 = __objc_msgSend_1046Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1046 = - __objc_msgSend_1046Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_TLSMaximumSupportedProtocolVersion1 = objc.registerName( "TLSMaximumSupportedProtocolVersion", @@ -37464,21 +32000,16 @@ class AVFAudio { } late final __objc_msgSend_1047Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1047 = __objc_msgSend_1047Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1047 = - __objc_msgSend_1047Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_setHTTPCookieStorage_1 = objc.registerName( "setHTTPCookieStorage:", @@ -37492,23 +32023,18 @@ class AVFAudio { } late final __objc_msgSend_1048Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1048 = __objc_msgSend_1048Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1048 = - __objc_msgSend_1048Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_URLCredentialStorage1 = objc.registerName( "URLCredentialStorage", @@ -37521,21 +32047,16 @@ class AVFAudio { } late final __objc_msgSend_1049Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1049 = __objc_msgSend_1049Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1049 = - __objc_msgSend_1049Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_setURLCredentialStorage_1 = objc.registerName( "setURLCredentialStorage:", @@ -37549,23 +32070,18 @@ class AVFAudio { } late final __objc_msgSend_1050Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1050 = __objc_msgSend_1050Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1050 = - __objc_msgSend_1050Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_URLCache1 = objc.registerName("URLCache"); ffi.Pointer _objc_msgSend_1051( @@ -37576,21 +32092,16 @@ class AVFAudio { } late final __objc_msgSend_1051Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1051 = __objc_msgSend_1051Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1051 = - __objc_msgSend_1051Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_setURLCache_1 = objc.registerName("setURLCache:"); void _objc_msgSend_1052( @@ -37602,23 +32113,18 @@ class AVFAudio { } late final __objc_msgSend_1052Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1052 = __objc_msgSend_1052Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1052 = - __objc_msgSend_1052Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_shouldUseExtendedBackgroundIdleMode1 = objc.registerName( "shouldUseExtendedBackgroundIdleMode", @@ -37639,23 +32145,18 @@ class AVFAudio { } late final __objc_msgSend_1053Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1053 = __objc_msgSend_1053Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1053 = - __objc_msgSend_1053Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_multipathServiceType1 = objc.registerName( "multipathServiceType", @@ -37668,21 +32169,16 @@ class AVFAudio { } late final __objc_msgSend_1054Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1054 = __objc_msgSend_1054Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1054 = - __objc_msgSend_1054Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_setMultipathServiceType_1 = objc.registerName( "setMultipathServiceType:", @@ -37696,23 +32192,18 @@ class AVFAudio { } late final __objc_msgSend_1055Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + )>>('objc_msgSend'); + late final __objc_msgSend_1055 = __objc_msgSend_1055Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1055 = - __objc_msgSend_1055Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_backgroundSessionConfiguration_1 = objc.registerName( "backgroundSessionConfiguration:", @@ -37729,26 +32220,21 @@ class AVFAudio { } late final __objc_msgSend_1056Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1056 = __objc_msgSend_1056Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1056 = - __objc_msgSend_1056Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); - late final _sel_sessionWithConfiguration_delegate_delegateQueue_1 = objc - .registerName("sessionWithConfiguration:delegate:delegateQueue:"); + late final _sel_sessionWithConfiguration_delegate_delegateQueue_1 = + objc.registerName("sessionWithConfiguration:delegate:delegateQueue:"); ffi.Pointer _objc_msgSend_1057( ffi.Pointer obj, ffi.Pointer sel, @@ -37760,27 +32246,22 @@ class AVFAudio { } late final __objc_msgSend_1057Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1057 = __objc_msgSend_1057Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1057 = - __objc_msgSend_1057Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_delegateQueue1 = objc.registerName("delegateQueue"); late final _sel_configuration1 = objc.registerName("configuration"); @@ -37812,23 +32293,18 @@ class AVFAudio { } late final __objc_msgSend_1058Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1058 = __objc_msgSend_1058Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1058 = - __objc_msgSend_1058Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_getAllTasksWithCompletionHandler_1 = objc.registerName( "getAllTasksWithCompletionHandler:", @@ -37842,23 +32318,18 @@ class AVFAudio { } late final __objc_msgSend_1059Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1059 = __objc_msgSend_1059Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1059 = - __objc_msgSend_1059Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_dataTaskWithRequest_1 = objc.registerName( "dataTaskWithRequest:", @@ -37872,23 +32343,18 @@ class AVFAudio { } late final __objc_msgSend_1060Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1060 = __objc_msgSend_1060Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1060 = - __objc_msgSend_1060Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_dataTaskWithURL_1 = objc.registerName("dataTaskWithURL:"); ffi.Pointer _objc_msgSend_1061( @@ -37900,23 +32366,18 @@ class AVFAudio { } late final __objc_msgSend_1061Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1061 = __objc_msgSend_1061Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1061 = - __objc_msgSend_1061Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _class_NSURLSessionUploadTask1 = objc.getClass( "NSURLSessionUploadTask", @@ -37933,23 +32394,18 @@ class AVFAudio { } late final __objc_msgSend_1062Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1062 = __objc_msgSend_1062Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1062 = - __objc_msgSend_1062Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_uploadTaskWithRequest_fromFile_1 = objc.registerName( "uploadTaskWithRequest:fromFile:", @@ -37964,25 +32420,20 @@ class AVFAudio { } late final __objc_msgSend_1063Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1063 = __objc_msgSend_1063Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1063 = - __objc_msgSend_1063Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_uploadTaskWithRequest_fromData_1 = objc.registerName( "uploadTaskWithRequest:fromData:", @@ -37997,25 +32448,20 @@ class AVFAudio { } late final __objc_msgSend_1064Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1064 = __objc_msgSend_1064Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1064 = - __objc_msgSend_1064Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_uploadTaskWithResumeData_1 = objc.registerName( "uploadTaskWithResumeData:", @@ -38029,23 +32475,18 @@ class AVFAudio { } late final __objc_msgSend_1065Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1065 = __objc_msgSend_1065Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1065 = - __objc_msgSend_1065Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_uploadTaskWithStreamedRequest_1 = objc.registerName( "uploadTaskWithStreamedRequest:", @@ -38059,23 +32500,18 @@ class AVFAudio { } late final __objc_msgSend_1066Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1066 = __objc_msgSend_1066Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1066 = - __objc_msgSend_1066Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _class_NSURLSessionDownloadTask1 = objc.getClass( "NSURLSessionDownloadTask", @@ -38092,23 +32528,18 @@ class AVFAudio { } late final __objc_msgSend_1067Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1067 = __objc_msgSend_1067Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1067 = - __objc_msgSend_1067Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_downloadTaskWithURL_1 = objc.registerName( "downloadTaskWithURL:", @@ -38122,23 +32553,18 @@ class AVFAudio { } late final __objc_msgSend_1068Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1068 = __objc_msgSend_1068Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1068 = - __objc_msgSend_1068Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_downloadTaskWithResumeData_1 = objc.registerName( "downloadTaskWithResumeData:", @@ -38152,31 +32578,26 @@ class AVFAudio { } late final __objc_msgSend_1069Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1069 = __objc_msgSend_1069Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1069 = - __objc_msgSend_1069Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _class_NSURLSessionStreamTask1 = objc.getClass( "NSURLSessionStreamTask", ); late final _sel_readDataOfMinLength_maxLength_timeout_completionHandler_1 = objc.registerName( - "readDataOfMinLength:maxLength:timeout:completionHandler:", - ); + "readDataOfMinLength:maxLength:timeout:completionHandler:", + ); void _objc_msgSend_1070( ffi.Pointer obj, ffi.Pointer sel, @@ -38196,29 +32617,24 @@ class AVFAudio { } late final __objc_msgSend_1070Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.UnsignedLong, + ffi.Double, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1070 = __objc_msgSend_1070Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, - ffi.UnsignedLong, - ffi.Double, + int, + int, + double, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1070 = - __objc_msgSend_1070Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - int, - double, - ffi.Pointer, - ) - >(); + )>(); late final _sel_writeData_timeout_completionHandler_1 = objc.registerName( "writeData:timeout:completionHandler:", @@ -38234,27 +32650,22 @@ class AVFAudio { } late final __objc_msgSend_1071Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Double, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1071 = __objc_msgSend_1071Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Double, + double, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1071 = - __objc_msgSend_1071Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - double, - ffi.Pointer, - ) - >(); + )>(); late final _sel_captureStreams1 = objc.registerName("captureStreams"); late final _sel_closeWrite1 = objc.registerName("closeWrite"); @@ -38278,25 +32689,20 @@ class AVFAudio { } late final __objc_msgSend_1072Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Long, + )>>('objc_msgSend'); + late final __objc_msgSend_1072 = __objc_msgSend_1072Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Long, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1072 = - __objc_msgSend_1072Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _class_NSNetService1 = objc.getClass("NSNetService"); late final _sel_initWithDomain_type_name_port_1 = objc.registerName( @@ -38314,29 +32720,24 @@ class AVFAudio { } late final __objc_msgSend_1073Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int, + )>>('objc_msgSend'); + late final __objc_msgSend_1073 = __objc_msgSend_1073Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1073 = - __objc_msgSend_1073Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_initWithDomain_type_name_1 = objc.registerName( "initWithDomain:type:name:", @@ -38352,27 +32753,22 @@ class AVFAudio { } late final __objc_msgSend_1074Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1074 = __objc_msgSend_1074Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1074 = - __objc_msgSend_1074Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_includesPeerToPeer1 = objc.registerName("includesPeerToPeer"); late final _sel_setIncludesPeerToPeer_1 = objc.registerName( @@ -38391,23 +32787,18 @@ class AVFAudio { } late final __objc_msgSend_1075Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + )>>('objc_msgSend'); + late final __objc_msgSend_1075 = __objc_msgSend_1075Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1075 = - __objc_msgSend_1075Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_resolve1 = objc.registerName("resolve"); late final _sel_stop1 = objc.registerName("stop"); @@ -38423,23 +32814,18 @@ class AVFAudio { } late final __objc_msgSend_1076Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1076 = __objc_msgSend_1076Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1076 = - __objc_msgSend_1076Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_dataFromTXTRecordDictionary_1 = objc.registerName( "dataFromTXTRecordDictionary:", @@ -38453,23 +32839,18 @@ class AVFAudio { } late final __objc_msgSend_1077Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1077 = __objc_msgSend_1077Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1077 = - __objc_msgSend_1077Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_resolveWithTimeout_1 = objc.registerName( "resolveWithTimeout:", @@ -38487,25 +32868,20 @@ class AVFAudio { } late final __objc_msgSend_1078Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_1078 = __objc_msgSend_1078Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer>, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1078 = - __objc_msgSend_1078Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer>, - ) - >(); + )>(); late final _sel_setTXTRecordData_1 = objc.registerName("setTXTRecordData:"); bool _objc_msgSend_1079( @@ -38517,23 +32893,18 @@ class AVFAudio { } late final __objc_msgSend_1079Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1079 = __objc_msgSend_1079Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1079 = - __objc_msgSend_1079Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_TXTRecordData1 = objc.registerName("TXTRecordData"); late final _sel_startMonitoring1 = objc.registerName("startMonitoring"); @@ -38550,23 +32921,18 @@ class AVFAudio { } late final __objc_msgSend_1080Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1080 = __objc_msgSend_1080Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1080 = - __objc_msgSend_1080Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _class_NSURLSessionWebSocketTask1 = objc.getClass( "NSURLSessionWebSocketTask", @@ -38582,21 +32948,16 @@ class AVFAudio { } late final __objc_msgSend_1081Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1081 = __objc_msgSend_1081Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1081 = - __objc_msgSend_1081Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_sendMessage_completionHandler_1 = objc.registerName( "sendMessage:completionHandler:", @@ -38611,25 +32972,20 @@ class AVFAudio { } late final __objc_msgSend_1082Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1082 = __objc_msgSend_1082Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1082 = - __objc_msgSend_1082Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_receiveMessageWithCompletionHandler_1 = objc.registerName( "receiveMessageWithCompletionHandler:", @@ -38643,23 +32999,18 @@ class AVFAudio { } late final __objc_msgSend_1083Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1083 = __objc_msgSend_1083Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1083 = - __objc_msgSend_1083Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_sendPingWithPongReceiveHandler_1 = objc.registerName( "sendPingWithPongReceiveHandler:", @@ -38673,23 +33024,18 @@ class AVFAudio { } late final __objc_msgSend_1084Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1084 = __objc_msgSend_1084Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1084 = - __objc_msgSend_1084Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_cancelWithCloseCode_reason_1 = objc.registerName( "cancelWithCloseCode:reason:", @@ -38704,25 +33050,20 @@ class AVFAudio { } late final __objc_msgSend_1085Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1085 = __objc_msgSend_1085Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1085 = - __objc_msgSend_1085Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ) - >(); + )>(); late final _sel_maximumMessageSize1 = objc.registerName("maximumMessageSize"); late final _sel_setMaximumMessageSize_1 = objc.registerName( @@ -38737,21 +33078,16 @@ class AVFAudio { } late final __objc_msgSend_1086Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1086 = __objc_msgSend_1086Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1086 = - __objc_msgSend_1086Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_closeReason1 = objc.registerName("closeReason"); late final _sel_webSocketTaskWithURL_1 = objc.registerName( @@ -38766,23 +33102,18 @@ class AVFAudio { } late final __objc_msgSend_1087Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1087 = __objc_msgSend_1087Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1087 = - __objc_msgSend_1087Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_webSocketTaskWithURL_protocols_1 = objc.registerName( "webSocketTaskWithURL:protocols:", @@ -38797,25 +33128,20 @@ class AVFAudio { } late final __objc_msgSend_1088Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1088 = __objc_msgSend_1088Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1088 = - __objc_msgSend_1088Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_webSocketTaskWithRequest_1 = objc.registerName( "webSocketTaskWithRequest:", @@ -38829,23 +33155,18 @@ class AVFAudio { } late final __objc_msgSend_1089Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1089 = __objc_msgSend_1089Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1089 = - __objc_msgSend_1089Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_dataTaskWithRequest_completionHandler_1 = objc.registerName( "dataTaskWithRequest:completionHandler:", @@ -38860,25 +33181,20 @@ class AVFAudio { } late final __objc_msgSend_1090Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1090 = __objc_msgSend_1090Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1090 = - __objc_msgSend_1090Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_dataTaskWithURL_completionHandler_1 = objc.registerName( "dataTaskWithURL:completionHandler:", @@ -38893,28 +33209,23 @@ class AVFAudio { } late final __objc_msgSend_1091Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1091 = __objc_msgSend_1091Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1091 = - __objc_msgSend_1091Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); - late final _sel_uploadTaskWithRequest_fromFile_completionHandler_1 = objc - .registerName("uploadTaskWithRequest:fromFile:completionHandler:"); + late final _sel_uploadTaskWithRequest_fromFile_completionHandler_1 = + objc.registerName("uploadTaskWithRequest:fromFile:completionHandler:"); ffi.Pointer _objc_msgSend_1092( ffi.Pointer obj, ffi.Pointer sel, @@ -38926,30 +33237,25 @@ class AVFAudio { } late final __objc_msgSend_1092Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1092 = __objc_msgSend_1092Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1092 = - __objc_msgSend_1092Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); - late final _sel_uploadTaskWithRequest_fromData_completionHandler_1 = objc - .registerName("uploadTaskWithRequest:fromData:completionHandler:"); + late final _sel_uploadTaskWithRequest_fromData_completionHandler_1 = + objc.registerName("uploadTaskWithRequest:fromData:completionHandler:"); ffi.Pointer _objc_msgSend_1093( ffi.Pointer obj, ffi.Pointer sel, @@ -38961,30 +33267,25 @@ class AVFAudio { } late final __objc_msgSend_1093Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1093 = __objc_msgSend_1093Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1093 = - __objc_msgSend_1093Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); - late final _sel_uploadTaskWithResumeData_completionHandler_1 = objc - .registerName("uploadTaskWithResumeData:completionHandler:"); + late final _sel_uploadTaskWithResumeData_completionHandler_1 = + objc.registerName("uploadTaskWithResumeData:completionHandler:"); ffi.Pointer _objc_msgSend_1094( ffi.Pointer obj, ffi.Pointer sel, @@ -38995,28 +33296,23 @@ class AVFAudio { } late final __objc_msgSend_1094Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1094 = __objc_msgSend_1094Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1094 = - __objc_msgSend_1094Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); - late final _sel_downloadTaskWithRequest_completionHandler_1 = objc - .registerName("downloadTaskWithRequest:completionHandler:"); + late final _sel_downloadTaskWithRequest_completionHandler_1 = + objc.registerName("downloadTaskWithRequest:completionHandler:"); ffi.Pointer _objc_msgSend_1095( ffi.Pointer obj, ffi.Pointer sel, @@ -39027,25 +33323,20 @@ class AVFAudio { } late final __objc_msgSend_1095Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1095 = __objc_msgSend_1095Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1095 = - __objc_msgSend_1095Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_downloadTaskWithURL_completionHandler_1 = objc.registerName( "downloadTaskWithURL:completionHandler:", @@ -39060,28 +33351,23 @@ class AVFAudio { } late final __objc_msgSend_1096Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1096 = __objc_msgSend_1096Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1096 = - __objc_msgSend_1096Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); - late final _sel_downloadTaskWithResumeData_completionHandler_1 = objc - .registerName("downloadTaskWithResumeData:completionHandler:"); + late final _sel_downloadTaskWithResumeData_completionHandler_1 = + objc.registerName("downloadTaskWithResumeData:completionHandler:"); ffi.Pointer _objc_msgSend_1097( ffi.Pointer obj, ffi.Pointer sel, @@ -39092,25 +33378,20 @@ class AVFAudio { } late final __objc_msgSend_1097Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1097 = __objc_msgSend_1097Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1097 = - __objc_msgSend_1097Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _class_NSProtocolChecker1 = objc.getClass("NSProtocolChecker"); ffi.Pointer _objc_msgSend_1098( @@ -39121,21 +33402,16 @@ class AVFAudio { } late final __objc_msgSend_1098Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1098 = __objc_msgSend_1098Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1098 = - __objc_msgSend_1098Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); ffi.Pointer _objc_msgSend_1099( ffi.Pointer obj, @@ -39145,21 +33421,16 @@ class AVFAudio { } late final __objc_msgSend_1099Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1099 = __objc_msgSend_1099Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1099 = - __objc_msgSend_1099Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_protocolCheckerWithTarget_protocol_1 = objc.registerName( "protocolCheckerWithTarget:protocol:", @@ -39174,25 +33445,20 @@ class AVFAudio { } late final __objc_msgSend_1100Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1100 = __objc_msgSend_1100Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1100 = - __objc_msgSend_1100Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_initWithTarget_protocol_1 = objc.registerName( "initWithTarget:protocol:", @@ -39234,21 +33500,16 @@ class AVFAudio { } late final __objc_msgSend_1101Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1101 = __objc_msgSend_1101Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1101 = - __objc_msgSend_1101Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_terminationHandler1 = objc.registerName("terminationHandler"); ffi.Pointer _objc_msgSend_1102( @@ -39259,21 +33520,16 @@ class AVFAudio { } late final __objc_msgSend_1102Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1102 = __objc_msgSend_1102Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1102 = - __objc_msgSend_1102Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_setTerminationHandler_1 = objc.registerName( "setTerminationHandler:", @@ -39287,28 +33543,23 @@ class AVFAudio { } late final __objc_msgSend_1103Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1103 = __objc_msgSend_1103Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1103 = - __objc_msgSend_1103Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_launchedTaskWithExecutableURL_arguments_error_terminationHandler_1 = objc.registerName( - "launchedTaskWithExecutableURL:arguments:error:terminationHandler:", - ); + "launchedTaskWithExecutableURL:arguments:error:terminationHandler:", + ); ffi.Pointer _objc_msgSend_1104( ffi.Pointer obj, ffi.Pointer sel, @@ -39328,7 +33579,16 @@ class AVFAudio { } late final __objc_msgSend_1104Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1104 = __objc_msgSend_1104Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, @@ -39336,21 +33596,7 @@ class AVFAudio { ffi.Pointer, ffi.Pointer>, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1104 = - __objc_msgSend_1104Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer, - ) - >(); + )>(); late final _sel_waitUntilExit1 = objc.registerName("waitUntilExit"); late final _sel_launchPath1 = objc.registerName("launchPath"); @@ -39372,25 +33618,20 @@ class AVFAudio { } late final __objc_msgSend_1105Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1105 = __objc_msgSend_1105Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1105 = - __objc_msgSend_1105Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _class_NSXMLElement1 = objc.getClass("NSXMLElement"); late final _class_NSXMLNode1 = objc.getClass("NSXMLNode"); @@ -39404,23 +33645,18 @@ class AVFAudio { } late final __objc_msgSend_1106Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + )>>('objc_msgSend'); + late final __objc_msgSend_1106 = __objc_msgSend_1106Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1106 = - __objc_msgSend_1106Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_initWithKind_options_1 = objc.registerName( "initWithKind:options:", @@ -39435,25 +33671,20 @@ class AVFAudio { } late final __objc_msgSend_1107Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Int32, + )>>('objc_msgSend'); + late final __objc_msgSend_1107 = __objc_msgSend_1107Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1107 = - __objc_msgSend_1107Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - int, - int, - ) - >(); + int, + int, + )>(); late final _sel_document1 = objc.registerName("document"); late final _sel_documentWithRootElement_1 = objc.registerName( @@ -39468,23 +33699,18 @@ class AVFAudio { } late final __objc_msgSend_1108Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1108 = __objc_msgSend_1108Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1108 = - __objc_msgSend_1108Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_elementWithName_1 = objc.registerName("elementWithName:"); late final _sel_elementWithName_URI_1 = objc.registerName( @@ -39500,25 +33726,20 @@ class AVFAudio { } late final __objc_msgSend_1109Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1109 = __objc_msgSend_1109Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1109 = - __objc_msgSend_1109Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_elementWithName_stringValue_1 = objc.registerName( "elementWithName:stringValue:", @@ -39537,27 +33758,22 @@ class AVFAudio { } late final __objc_msgSend_1110Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1110 = __objc_msgSend_1110Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1110 = - __objc_msgSend_1110Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_attributeWithName_stringValue_1 = objc.registerName( "attributeWithName:stringValue:", @@ -39568,8 +33784,8 @@ class AVFAudio { late final _sel_namespaceWithName_stringValue_1 = objc.registerName( "namespaceWithName:stringValue:", ); - late final _sel_processingInstructionWithName_stringValue_1 = objc - .registerName("processingInstructionWithName:stringValue:"); + late final _sel_processingInstructionWithName_stringValue_1 = + objc.registerName("processingInstructionWithName:stringValue:"); late final _sel_commentWithStringValue_1 = objc.registerName( "commentWithStringValue:", ); @@ -39587,21 +33803,16 @@ class AVFAudio { } late final __objc_msgSend_1111Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1111 = __objc_msgSend_1111Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1111 = - __objc_msgSend_1111Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_objectValue1 = objc.registerName("objectValue"); late final _sel_setObjectValue_1 = objc.registerName("setObjectValue:"); @@ -39619,25 +33830,20 @@ class AVFAudio { } late final __objc_msgSend_1112Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + )>>('objc_msgSend'); + late final __objc_msgSend_1112 = __objc_msgSend_1112Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Bool, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1112 = - __objc_msgSend_1112Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - ) - >(); + bool, + )>(); late final _sel_index1 = objc.registerName("index"); late final _sel_level1 = objc.registerName("level"); @@ -39656,27 +33862,22 @@ class AVFAudio { } late final __objc_msgSend_1113Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_1113 = __objc_msgSend_1113Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1113 = - __objc_msgSend_1113Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>, - ) - >(); + )>(); instancetype _objc_msgSend_1114( ffi.Pointer obj, @@ -39689,27 +33890,22 @@ class AVFAudio { } late final __objc_msgSend_1114Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_1114 = __objc_msgSend_1114Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1114 = - __objc_msgSend_1114Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>, - ) - >(); + )>(); late final _sel_initWithData_options_error_1 = objc.registerName( "initWithData:options:error:", @@ -39725,27 +33921,22 @@ class AVFAudio { } late final __objc_msgSend_1115Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_1115 = __objc_msgSend_1115Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1115 = - __objc_msgSend_1115Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>, - ) - >(); + )>(); late final _sel_initWithRootElement_1 = objc.registerName( "initWithRootElement:", @@ -39759,23 +33950,18 @@ class AVFAudio { } late final __objc_msgSend_1116Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1116 = __objc_msgSend_1116Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1116 = - __objc_msgSend_1116Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_replacementClassForClass_1 = objc.registerName( "replacementClassForClass:", @@ -39797,21 +33983,16 @@ class AVFAudio { } late final __objc_msgSend_1117Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1117 = __objc_msgSend_1117Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1117 = - __objc_msgSend_1117Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_setDocumentContentKind_1 = objc.registerName( "setDocumentContentKind:", @@ -39825,23 +34006,18 @@ class AVFAudio { } late final __objc_msgSend_1118Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + )>>('objc_msgSend'); + late final __objc_msgSend_1118 = __objc_msgSend_1118Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1118 = - __objc_msgSend_1118Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_setMIMEType_1 = objc.registerName("setMIMEType:"); late final _class_NSXMLDTD1 = objc.getClass("NSXMLDTD"); @@ -39860,25 +34036,20 @@ class AVFAudio { } late final __objc_msgSend_1119Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + )>>('objc_msgSend'); + late final __objc_msgSend_1119 = __objc_msgSend_1119Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1119 = - __objc_msgSend_1119Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_insertChildren_atIndex_1 = objc.registerName( "insertChildren:atIndex:", @@ -39893,25 +34064,20 @@ class AVFAudio { } late final __objc_msgSend_1120Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + )>>('objc_msgSend'); + late final __objc_msgSend_1120 = __objc_msgSend_1120Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1120 = - __objc_msgSend_1120Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_removeChildAtIndex_1 = objc.registerName( "removeChildAtIndex:", @@ -39927,23 +34093,18 @@ class AVFAudio { } late final __objc_msgSend_1121Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1121 = __objc_msgSend_1121Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1121 = - __objc_msgSend_1121Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_replaceChildAtIndex_withNode_1 = objc.registerName( "replaceChildAtIndex:withNode:", @@ -39958,25 +34119,20 @@ class AVFAudio { } late final __objc_msgSend_1122Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1122 = __objc_msgSend_1122Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, + int, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1122 = - __objc_msgSend_1122Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ) - >(); + )>(); late final _class_NSXMLDTDNode1 = objc.getClass("NSXMLDTDNode"); late final _sel_initWithXMLString_1 = objc.registerName("initWithXMLString:"); @@ -39989,21 +34145,16 @@ class AVFAudio { } late final __objc_msgSend_1123Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1123 = __objc_msgSend_1123Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1123 = - __objc_msgSend_1123Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_setDTDKind_1 = objc.registerName("setDTDKind:"); void _objc_msgSend_1124( @@ -40015,23 +34166,18 @@ class AVFAudio { } late final __objc_msgSend_1124Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + )>>('objc_msgSend'); + late final __objc_msgSend_1124 = __objc_msgSend_1124Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1124 = - __objc_msgSend_1124Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_isExternal1 = objc.registerName("isExternal"); late final _sel_notationName1 = objc.registerName("notationName"); @@ -40050,23 +34196,18 @@ class AVFAudio { } late final __objc_msgSend_1125Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1125 = __objc_msgSend_1125Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1125 = - __objc_msgSend_1125Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_entityDeclarationForName_1 = objc.registerName( "entityDeclarationForName:", @@ -40080,23 +34221,18 @@ class AVFAudio { } late final __objc_msgSend_1126Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1126 = __objc_msgSend_1126Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1126 = - __objc_msgSend_1126Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_notationDeclarationForName_1 = objc.registerName( "notationDeclarationForName:", @@ -40117,25 +34253,20 @@ class AVFAudio { } late final __objc_msgSend_1127Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1127 = __objc_msgSend_1127Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1127 = - __objc_msgSend_1127Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_predefinedEntityDeclarationForName_1 = objc.registerName( "predefinedEntityDeclarationForName:", @@ -40149,21 +34280,16 @@ class AVFAudio { } late final __objc_msgSend_1128Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1128 = __objc_msgSend_1128Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1128 = - __objc_msgSend_1128Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_setDTD_1 = objc.registerName("setDTD:"); void _objc_msgSend_1129( @@ -40175,23 +34301,18 @@ class AVFAudio { } late final __objc_msgSend_1129Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1129 = __objc_msgSend_1129Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1129 = - __objc_msgSend_1129Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_setRootElement_1 = objc.registerName("setRootElement:"); void _objc_msgSend_1130( @@ -40203,23 +34324,18 @@ class AVFAudio { } late final __objc_msgSend_1130Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1130 = __objc_msgSend_1130Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1130 = - __objc_msgSend_1130Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_rootElement1 = objc.registerName("rootElement"); ffi.Pointer _objc_msgSend_1131( @@ -40230,21 +34346,16 @@ class AVFAudio { } late final __objc_msgSend_1131Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1131 = __objc_msgSend_1131Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1131 = - __objc_msgSend_1131Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_XMLData1 = objc.registerName("XMLData"); late final _sel_XMLDataWithOptions_1 = objc.registerName( @@ -40259,23 +34370,18 @@ class AVFAudio { } late final __objc_msgSend_1132Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + )>>('objc_msgSend'); + late final __objc_msgSend_1132 = __objc_msgSend_1132Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1132 = - __objc_msgSend_1132Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_objectByApplyingXSLT_arguments_error_1 = objc.registerName( "objectByApplyingXSLT:arguments:error:", @@ -40291,30 +34397,25 @@ class AVFAudio { } late final __objc_msgSend_1133Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_1133 = __objc_msgSend_1133Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1133 = - __objc_msgSend_1133Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ) - >(); + )>(); - late final _sel_objectByApplyingXSLTString_arguments_error_1 = objc - .registerName("objectByApplyingXSLTString:arguments:error:"); + late final _sel_objectByApplyingXSLTString_arguments_error_1 = + objc.registerName("objectByApplyingXSLTString:arguments:error:"); ffi.Pointer _objc_msgSend_1134( ffi.Pointer obj, ffi.Pointer sel, @@ -40326,30 +34427,25 @@ class AVFAudio { } late final __objc_msgSend_1134Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_1134 = __objc_msgSend_1134Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1134 = - __objc_msgSend_1134Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ) - >(); + )>(); - late final _sel_objectByApplyingXSLTAtURL_arguments_error_1 = objc - .registerName("objectByApplyingXSLTAtURL:arguments:error:"); + late final _sel_objectByApplyingXSLTAtURL_arguments_error_1 = + objc.registerName("objectByApplyingXSLTAtURL:arguments:error:"); ffi.Pointer _objc_msgSend_1135( ffi.Pointer obj, ffi.Pointer sel, @@ -40361,27 +34457,22 @@ class AVFAudio { } late final __objc_msgSend_1135Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_1135 = __objc_msgSend_1135Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1135 = - __objc_msgSend_1135Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ) - >(); + )>(); late final _sel_validateAndReturnError_1 = objc.registerName( "validateAndReturnError:", @@ -40395,21 +34486,16 @@ class AVFAudio { } late final __objc_msgSend_1136Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1136 = __objc_msgSend_1136Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1136 = - __objc_msgSend_1136Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_parent1 = objc.registerName("parent"); ffi.Pointer _objc_msgSend_1137( @@ -40420,21 +34506,16 @@ class AVFAudio { } late final __objc_msgSend_1137Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1137 = __objc_msgSend_1137Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1137 = - __objc_msgSend_1137Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_childCount1 = objc.registerName("childCount"); late final _sel_children1 = objc.registerName("children"); @@ -40448,23 +34529,18 @@ class AVFAudio { } late final __objc_msgSend_1138Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + )>>('objc_msgSend'); + late final __objc_msgSend_1138 = __objc_msgSend_1138Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1138 = - __objc_msgSend_1138Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_previousSibling1 = objc.registerName("previousSibling"); late final _sel_nextSibling1 = objc.registerName("nextSibling"); @@ -40489,23 +34565,18 @@ class AVFAudio { } late final __objc_msgSend_1139Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + )>>('objc_msgSend'); + late final __objc_msgSend_1139 = __objc_msgSend_1139Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1139 = - __objc_msgSend_1139Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_canonicalXMLStringPreservingComments_1 = objc.registerName( "canonicalXMLStringPreservingComments:", @@ -40519,23 +34590,18 @@ class AVFAudio { } late final __objc_msgSend_1140Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + )>>('objc_msgSend'); + late final __objc_msgSend_1140 = __objc_msgSend_1140Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.Bool, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1140 = - __objc_msgSend_1140Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - bool, - ) - >(); + bool, + )>(); late final _sel_nodesForXPath_error_1 = objc.registerName( "nodesForXPath:error:", @@ -40554,27 +34620,22 @@ class AVFAudio { } late final __objc_msgSend_1141Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_1141 = __objc_msgSend_1141Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1141 = - __objc_msgSend_1141Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ) - >(); + )>(); late final _sel_objectsForXQuery_error_1 = objc.registerName( "objectsForXQuery:error:", @@ -40590,25 +34651,20 @@ class AVFAudio { } late final __objc_msgSend_1142Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1142 = __objc_msgSend_1142Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1142 = - __objc_msgSend_1142Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_initWithName_stringValue_1 = objc.registerName( "initWithName:stringValue:", @@ -40630,25 +34686,20 @@ class AVFAudio { } late final __objc_msgSend_1143Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1143 = __objc_msgSend_1143Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1143 = - __objc_msgSend_1143Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_addAttribute_1 = objc.registerName("addAttribute:"); late final _sel_removeAttributeForName_1 = objc.registerName( @@ -40673,25 +34724,20 @@ class AVFAudio { } late final __objc_msgSend_1144Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1144 = __objc_msgSend_1144Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1144 = - __objc_msgSend_1144Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_addNamespace_1 = objc.registerName("addNamespace:"); late final _sel_removeNamespaceForPrefix_1 = objc.registerName( @@ -40708,8 +34754,8 @@ class AVFAudio { late final _sel_resolvePrefixForNamespaceURI_1 = objc.registerName( "resolvePrefixForNamespaceURI:", ); - late final _sel_normalizeAdjacentTextNodesPreservingCDATA_1 = objc - .registerName("normalizeAdjacentTextNodesPreservingCDATA:"); + late final _sel_normalizeAdjacentTextNodesPreservingCDATA_1 = + objc.registerName("normalizeAdjacentTextNodesPreservingCDATA:"); late final _sel_setAttributesAsDictionary_1 = objc.registerName( "setAttributesAsDictionary:", ); @@ -40723,21 +34769,16 @@ class AVFAudio { } late final __objc_msgSend_1145Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1145 = __objc_msgSend_1145Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1145 = - __objc_msgSend_1145Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_availableCategories1 = objc.registerName( "availableCategories", @@ -40757,27 +34798,22 @@ class AVFAudio { } late final __objc_msgSend_1146Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_1146 = __objc_msgSend_1146Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1146 = - __objc_msgSend_1146Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>, - ) - >(); + )>(); late final _sel_setCategory_mode_options_error_1 = objc.registerName( "setCategory:mode:options:error:", @@ -40794,32 +34830,27 @@ class AVFAudio { } late final __objc_msgSend_1147Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_1147 = __objc_msgSend_1147Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1147 = - __objc_msgSend_1147Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>, - ) - >(); + )>(); - late final _sel_setCategory_mode_routeSharingPolicy_options_error_1 = objc - .registerName("setCategory:mode:routeSharingPolicy:options:error:"); + late final _sel_setCategory_mode_routeSharingPolicy_options_error_1 = + objc.registerName("setCategory:mode:routeSharingPolicy:options:error:"); bool _objc_msgSend_1148( ffi.Pointer obj, ffi.Pointer sel, @@ -40841,31 +34872,26 @@ class AVFAudio { } late final __objc_msgSend_1148Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Int32, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_1148 = __objc_msgSend_1148Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, - ffi.Int32, + int, + int, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1148 = - __objc_msgSend_1148Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - int, - ffi.Pointer>, - ) - >(); + )>(); late final _sel_category1 = objc.registerName("category"); late final _sel_categoryOptions1 = objc.registerName("categoryOptions"); @@ -40877,21 +34903,16 @@ class AVFAudio { } late final __objc_msgSend_1149Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1149 = __objc_msgSend_1149Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1149 = - __objc_msgSend_1149Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_routeSharingPolicy1 = objc.registerName("routeSharingPolicy"); int _objc_msgSend_1150( @@ -40902,27 +34923,22 @@ class AVFAudio { } late final __objc_msgSend_1150Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1150 = __objc_msgSend_1150Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1150 = - __objc_msgSend_1150Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_availableModes1 = objc.registerName("availableModes"); late final _sel_setMode_error_1 = objc.registerName("setMode:error:"); late final _sel_mode1 = objc.registerName("mode"); - late final _sel_setAllowHapticsAndSystemSoundsDuringRecording_error_1 = objc - .registerName("setAllowHapticsAndSystemSoundsDuringRecording:error:"); + late final _sel_setAllowHapticsAndSystemSoundsDuringRecording_error_1 = + objc.registerName("setAllowHapticsAndSystemSoundsDuringRecording:error:"); bool _objc_msgSend_1151( ffi.Pointer obj, ffi.Pointer sel, @@ -40933,28 +34949,23 @@ class AVFAudio { } late final __objc_msgSend_1151Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_1151 = __objc_msgSend_1151Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, - ffi.Bool, + bool, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1151 = - __objc_msgSend_1151Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - bool, - ffi.Pointer>, - ) - >(); + )>(); - late final _sel_allowHapticsAndSystemSoundsDuringRecording1 = objc - .registerName("allowHapticsAndSystemSoundsDuringRecording"); + late final _sel_allowHapticsAndSystemSoundsDuringRecording1 = + objc.registerName("allowHapticsAndSystemSoundsDuringRecording"); late final _sel_recordPermission1 = objc.registerName("recordPermission"); int _objc_msgSend_1152( ffi.Pointer obj, @@ -40964,21 +34975,16 @@ class AVFAudio { } late final __objc_msgSend_1152Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1152 = __objc_msgSend_1152Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1152 = - __objc_msgSend_1152Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_requestRecordPermission_1 = objc.registerName( "requestRecordPermission:", @@ -40992,23 +34998,18 @@ class AVFAudio { } late final __objc_msgSend_1153Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1153 = __objc_msgSend_1153Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1153 = - __objc_msgSend_1153Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_overrideOutputAudioPort_error_1 = objc.registerName( "overrideOutputAudioPort:error:", @@ -41023,25 +35024,20 @@ class AVFAudio { } late final __objc_msgSend_1154Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_1154 = __objc_msgSend_1154Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1154 = - __objc_msgSend_1154Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>, - ) - >(); + )>(); late final _class_AVAudioSessionPortDescription1 = objc.getClass( "AVAudioSessionPortDescription", @@ -41086,25 +35082,20 @@ class AVFAudio { } late final __objc_msgSend_1155Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_1155 = __objc_msgSend_1155Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1155 = - __objc_msgSend_1155Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ) - >(); + )>(); late final _sel_selectedDataSource1 = objc.registerName("selectedDataSource"); ffi.Pointer _objc_msgSend_1156( @@ -41115,21 +35106,16 @@ class AVFAudio { } late final __objc_msgSend_1156Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1156 = __objc_msgSend_1156Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1156 = - __objc_msgSend_1156Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_preferredDataSource1 = objc.registerName( "preferredDataSource", @@ -41147,25 +35133,20 @@ class AVFAudio { } late final __objc_msgSend_1157Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_1157 = __objc_msgSend_1157Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1157 = - __objc_msgSend_1157Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ) - >(); + )>(); late final _sel_setPreferredInput_error_1 = objc.registerName( "setPreferredInput:error:", @@ -41180,25 +35161,20 @@ class AVFAudio { } late final __objc_msgSend_1158Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_1158 = __objc_msgSend_1158Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1158 = - __objc_msgSend_1158Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ) - >(); + )>(); late final _sel_preferredInput1 = objc.registerName("preferredInput"); ffi.Pointer _objc_msgSend_1159( @@ -41209,24 +35185,19 @@ class AVFAudio { } late final __objc_msgSend_1159Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1159 = __objc_msgSend_1159Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1159 = - __objc_msgSend_1159Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); - late final _sel_setPrefersNoInterruptionsFromSystemAlerts_error_1 = objc - .registerName("setPrefersNoInterruptionsFromSystemAlerts:error:"); + late final _sel_setPrefersNoInterruptionsFromSystemAlerts_error_1 = + objc.registerName("setPrefersNoInterruptionsFromSystemAlerts:error:"); late final _sel_prefersNoInterruptionsFromSystemAlerts1 = objc.registerName( "prefersNoInterruptionsFromSystemAlerts", ); @@ -41239,21 +35210,16 @@ class AVFAudio { } late final __objc_msgSend_1160Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1160 = __objc_msgSend_1160Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1160 = - __objc_msgSend_1160Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_setActive_error_1 = objc.registerName("setActive:error:"); late final _sel_setActive_withOptions_error_1 = objc.registerName( @@ -41270,27 +35236,22 @@ class AVFAudio { } late final __objc_msgSend_1161Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.Int32, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_1161 = __objc_msgSend_1161Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, - ffi.Bool, - ffi.Int32, + bool, + int, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1161 = - __objc_msgSend_1161Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - bool, - int, - ffi.Pointer>, - ) - >(); + )>(); late final _sel_activateWithOptions_completionHandler_1 = objc.registerName( "activateWithOptions:completionHandler:", @@ -41305,25 +35266,20 @@ class AVFAudio { } late final __objc_msgSend_1162Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1162 = __objc_msgSend_1162Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1162 = - __objc_msgSend_1162Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ) - >(); + )>(); late final _sel_setPreferredSampleRate_error_1 = objc.registerName( "setPreferredSampleRate:error:", @@ -41338,25 +35294,20 @@ class AVFAudio { } late final __objc_msgSend_1163Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Double, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_1163 = __objc_msgSend_1163Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, - ffi.Double, + double, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1163 = - __objc_msgSend_1163Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - double, - ffi.Pointer>, - ) - >(); + )>(); late final _sel_preferredSampleRate1 = objc.registerName( "preferredSampleRate", @@ -41380,31 +35331,26 @@ class AVFAudio { } late final __objc_msgSend_1164Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Long, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_1164 = __objc_msgSend_1164Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, - ffi.Long, + int, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1164 = - __objc_msgSend_1164Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>, - ) - >(); + )>(); late final _sel_preferredInputNumberOfChannels1 = objc.registerName( "preferredInputNumberOfChannels", ); - late final _sel_setPreferredOutputNumberOfChannels_error_1 = objc - .registerName("setPreferredOutputNumberOfChannels:error:"); + late final _sel_setPreferredOutputNumberOfChannels_error_1 = + objc.registerName("setPreferredOutputNumberOfChannels:error:"); late final _sel_preferredOutputNumberOfChannels1 = objc.registerName( "preferredOutputNumberOfChannels", ); @@ -41421,25 +35367,20 @@ class AVFAudio { } late final __objc_msgSend_1165Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_1165 = __objc_msgSend_1165Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1165 = - __objc_msgSend_1165Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>, - ) - >(); + )>(); late final _sel_preferredInputOrientation1 = objc.registerName( "preferredInputOrientation", @@ -41452,21 +35393,16 @@ class AVFAudio { } late final __objc_msgSend_1166Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1166 = __objc_msgSend_1166Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1166 = - __objc_msgSend_1166Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_inputOrientation1 = objc.registerName("inputOrientation"); late final _sel_maximumInputNumberOfChannels1 = objc.registerName( @@ -41488,25 +35424,20 @@ class AVFAudio { } late final __objc_msgSend_1167Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Float, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_1167 = __objc_msgSend_1167Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, - ffi.Float, + double, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1167 = - __objc_msgSend_1167Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - double, - ffi.Pointer>, - ) - >(); + )>(); late final _sel_inputGain1 = objc.registerName("inputGain"); late final _sel_isInputGainSettable1 = objc.registerName( @@ -41552,21 +35483,16 @@ class AVFAudio { } late final __objc_msgSend_1168Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1168 = __objc_msgSend_1168Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1168 = - __objc_msgSend_1168Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_availableInputs1 = objc.registerName("availableInputs"); late final _class_AVAudioSessionRouteDescription1 = objc.getClass( @@ -41583,21 +35509,16 @@ class AVFAudio { } late final __objc_msgSend_1169Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1169 = __objc_msgSend_1169Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1169 = - __objc_msgSend_1169Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_setAggregatedIOPreference_error_1 = objc.registerName( "setAggregatedIOPreference:error:", @@ -41612,25 +35533,20 @@ class AVFAudio { } late final __objc_msgSend_1170Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_1170 = __objc_msgSend_1170Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1170 = - __objc_msgSend_1170Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>, - ) - >(); + )>(); late final _sel_setSupportsMultichannelContent_error_1 = objc.registerName( "setSupportsMultichannelContent:error:", @@ -41638,8 +35554,8 @@ class AVFAudio { late final _sel_supportsMultichannelContent1 = objc.registerName( "supportsMultichannelContent", ); - late final _sel_setPrefersInterruptionOnRouteDisconnect_error_1 = objc - .registerName("setPrefersInterruptionOnRouteDisconnect:error:"); + late final _sel_setPrefersInterruptionOnRouteDisconnect_error_1 = + objc.registerName("setPrefersInterruptionOnRouteDisconnect:error:"); late final _sel_prefersInterruptionOnRouteDisconnect1 = objc.registerName( "prefersInterruptionOnRouteDisconnect", ); @@ -41657,27 +35573,22 @@ class AVFAudio { } late final __objc_msgSend_1171Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.Long, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_1171 = __objc_msgSend_1171Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, - ffi.Bool, - ffi.Long, + bool, + int, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1171 = - __objc_msgSend_1171Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - bool, - int, - ffi.Pointer>, - ) - >(); + )>(); late final _sel_inputIsAvailable1 = objc.registerName("inputIsAvailable"); late final _sel_currentHardwareSampleRate1 = objc.registerName( @@ -41709,28 +35620,23 @@ class AVFAudio { } late final __objc_msgSend_1172Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_1172 = __objc_msgSend_1172Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1172 = - __objc_msgSend_1172Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ) - >(); + )>(); - late final _sel_initWithContentsOfURL_fileTypeHint_error_1 = objc - .registerName("initWithContentsOfURL:fileTypeHint:error:"); + late final _sel_initWithContentsOfURL_fileTypeHint_error_1 = + objc.registerName("initWithContentsOfURL:fileTypeHint:error:"); instancetype _objc_msgSend_1173( ffi.Pointer obj, ffi.Pointer sel, @@ -41742,27 +35648,22 @@ class AVFAudio { } late final __objc_msgSend_1173Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_1173 = __objc_msgSend_1173Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1173 = - __objc_msgSend_1173Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ) - >(); + )>(); late final _sel_initWithData_fileTypeHint_error_1 = objc.registerName( "initWithData:fileTypeHint:error:", @@ -41778,27 +35679,22 @@ class AVFAudio { } late final __objc_msgSend_1174Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_1174 = __objc_msgSend_1174Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1174 = - __objc_msgSend_1174Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ) - >(); + )>(); late final _sel_prepareToPlay1 = objc.registerName("prepareToPlay"); late final _sel_play1 = objc.registerName("play"); @@ -41812,23 +35708,18 @@ class AVFAudio { } late final __objc_msgSend_1175Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Double, + )>>('objc_msgSend'); + late final __objc_msgSend_1175 = __objc_msgSend_1175Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, - ffi.Double, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1175 = - __objc_msgSend_1175Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - double, - ) - >(); + double, + )>(); late final _sel_isPlaying1 = objc.registerName("isPlaying"); late final _sel_numberOfChannels1 = objc.registerName("numberOfChannels"); @@ -41852,25 +35743,20 @@ class AVFAudio { } late final __objc_msgSend_1176Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Float, + ffi.Double, + )>>('objc_msgSend'); + late final __objc_msgSend_1176 = __objc_msgSend_1176Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, - ffi.Float, - ffi.Double, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1176 = - __objc_msgSend_1176Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - double, - double, - ) - >(); + double, + double, + )>(); late final _sel_enableRate1 = objc.registerName("enableRate"); late final _sel_setEnableRate_1 = objc.registerName("setEnableRate:"); @@ -41895,23 +35781,18 @@ class AVFAudio { } late final __objc_msgSend_1177Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1177 = __objc_msgSend_1177Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1177 = - __objc_msgSend_1177Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _class_AVAudioChannelLayout1 = objc.getClass( "AVAudioChannelLayout", @@ -41926,23 +35807,18 @@ class AVFAudio { } late final __objc_msgSend_1178Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedInt, + )>>('objc_msgSend'); + late final __objc_msgSend_1178 = __objc_msgSend_1178Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, - ffi.UnsignedInt, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1178 = - __objc_msgSend_1178Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_initWithLayout_1 = objc.registerName("initWithLayout:"); instancetype _objc_msgSend_1179( @@ -41954,23 +35830,18 @@ class AVFAudio { } late final __objc_msgSend_1179Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1179 = __objc_msgSend_1179Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1179 = - __objc_msgSend_1179Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_isEqual_1 = objc.registerName("isEqual:"); late final _sel_layoutWithLayoutTag_1 = objc.registerName( @@ -41985,23 +35856,18 @@ class AVFAudio { } late final __objc_msgSend_1180Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedInt, + )>>('objc_msgSend'); + late final __objc_msgSend_1180 = __objc_msgSend_1180Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, - ffi.UnsignedInt, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1180 = - __objc_msgSend_1180Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_layoutWithLayout_1 = objc.registerName("layoutWithLayout:"); late final _sel_layoutTag1 = objc.registerName("layoutTag"); @@ -42014,21 +35880,16 @@ class AVFAudio { } late final __objc_msgSend_1181Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1181 = __objc_msgSend_1181Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1181 = - __objc_msgSend_1181Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_channelCount1 = objc.registerName("channelCount"); int _objc_msgSend_1182( @@ -42039,21 +35900,16 @@ class AVFAudio { } late final __objc_msgSend_1182Ptr = _lookup< - ffi.NativeFunction< - ffi.Uint32 Function( + ffi.NativeFunction< + ffi.Uint32 Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1182 = __objc_msgSend_1182Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1182 = - __objc_msgSend_1182Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_initWithStreamDescription_channelLayout_1 = objc.registerName( "initWithStreamDescription:channelLayout:", @@ -42068,28 +35924,23 @@ class AVFAudio { } late final __objc_msgSend_1183Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1183 = __objc_msgSend_1183Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1183 = - __objc_msgSend_1183Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); - late final _sel_initStandardFormatWithSampleRate_channels_1 = objc - .registerName("initStandardFormatWithSampleRate:channels:"); + late final _sel_initStandardFormatWithSampleRate_channels_1 = + objc.registerName("initStandardFormatWithSampleRate:channels:"); instancetype _objc_msgSend_1184( ffi.Pointer obj, ffi.Pointer sel, @@ -42100,28 +35951,23 @@ class AVFAudio { } late final __objc_msgSend_1184Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Double, + ffi.Uint32, + )>>('objc_msgSend'); + late final __objc_msgSend_1184 = __objc_msgSend_1184Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, - ffi.Double, - ffi.Uint32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1184 = - __objc_msgSend_1184Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - double, - int, - ) - >(); - - late final _sel_initStandardFormatWithSampleRate_channelLayout_1 = objc - .registerName("initStandardFormatWithSampleRate:channelLayout:"); + double, + int, + )>(); + + late final _sel_initStandardFormatWithSampleRate_channelLayout_1 = + objc.registerName("initStandardFormatWithSampleRate:channelLayout:"); instancetype _objc_msgSend_1185( ffi.Pointer obj, ffi.Pointer sel, @@ -42132,25 +35978,20 @@ class AVFAudio { } late final __objc_msgSend_1185Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Double, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1185 = __objc_msgSend_1185Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, - ffi.Double, + double, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1185 = - __objc_msgSend_1185Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - double, - ffi.Pointer, - ) - >(); + )>(); late final _sel_initWithCommonFormat_sampleRate_channels_interleaved_1 = objc .registerName("initWithCommonFormat:sampleRate:channels:interleaved:"); @@ -42173,34 +36014,29 @@ class AVFAudio { } late final __objc_msgSend_1186Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Double, + ffi.Uint32, + ffi.Bool, + )>>('objc_msgSend'); + late final __objc_msgSend_1186 = __objc_msgSend_1186Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, - ffi.Double, - ffi.Uint32, - ffi.Bool, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1186 = - __objc_msgSend_1186Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - int, - double, - int, - bool, - ) - >(); + int, + double, + int, + bool, + )>(); late final _sel_initWithCommonFormat_sampleRate_interleaved_channelLayout_1 = objc.registerName( - "initWithCommonFormat:sampleRate:interleaved:channelLayout:", - ); + "initWithCommonFormat:sampleRate:interleaved:channelLayout:", + ); instancetype _objc_msgSend_1187( ffi.Pointer obj, ffi.Pointer sel, @@ -42220,29 +36056,24 @@ class AVFAudio { } late final __objc_msgSend_1187Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Double, + ffi.Bool, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1187 = __objc_msgSend_1187Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, - ffi.Double, - ffi.Bool, + int, + double, + bool, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1187 = - __objc_msgSend_1187Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - int, - double, - bool, - ffi.Pointer, - ) - >(); + )>(); late final _sel_initWithSettings_1 = objc.registerName("initWithSettings:"); late final _sel_initWithCMAudioFormatDescription_1 = objc.registerName( @@ -42257,23 +36088,18 @@ class AVFAudio { } late final __objc_msgSend_1188Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1188 = __objc_msgSend_1188Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1188 = - __objc_msgSend_1188Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_isStandard1 = objc.registerName("isStandard"); late final _sel_commonFormat1 = objc.registerName("commonFormat"); @@ -42285,21 +36111,16 @@ class AVFAudio { } late final __objc_msgSend_1189Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1189 = __objc_msgSend_1189Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1189 = - __objc_msgSend_1189Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_isInterleaved1 = objc.registerName("isInterleaved"); late final _sel_streamDescription1 = objc.registerName("streamDescription"); @@ -42311,21 +36132,16 @@ class AVFAudio { } late final __objc_msgSend_1190Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1190 = __objc_msgSend_1190Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1190 = - __objc_msgSend_1190Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_channelLayout1 = objc.registerName("channelLayout"); ffi.Pointer _objc_msgSend_1191( @@ -42336,21 +36152,16 @@ class AVFAudio { } late final __objc_msgSend_1191Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1191 = __objc_msgSend_1191Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1191 = - __objc_msgSend_1191Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_magicCookie1 = objc.registerName("magicCookie"); late final _sel_setMagicCookie_1 = objc.registerName("setMagicCookie:"); @@ -42363,21 +36174,16 @@ class AVFAudio { } late final __objc_msgSend_1192Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1192 = __objc_msgSend_1192Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1192 = - __objc_msgSend_1192Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); ffi.Pointer _objc_msgSend_1193( ffi.Pointer obj, @@ -42387,21 +36193,16 @@ class AVFAudio { } late final __objc_msgSend_1193Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1193 = __objc_msgSend_1193Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1193 = - __objc_msgSend_1193Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_isMeteringEnabled1 = objc.registerName("isMeteringEnabled"); late final _sel_setMeteringEnabled_1 = objc.registerName( @@ -42420,23 +36221,18 @@ class AVFAudio { } late final __objc_msgSend_1194Ptr = _lookup< - ffi.NativeFunction< - ffi.Float Function( + ffi.NativeFunction< + ffi.Float Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + )>>('objc_msgSend'); + late final __objc_msgSend_1194 = __objc_msgSend_1194Ptr.asFunction< + double Function( ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1194 = - __objc_msgSend_1194Ptr - .asFunction< - double Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); double _objc_msgSend_1194_fpret( ffi.Pointer obj, @@ -42447,23 +36243,19 @@ class AVFAudio { } late final __objc_msgSend_1194_fpretPtr = _lookup< - ffi.NativeFunction< - ffi.Float Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ) - > - >('objc_msgSend_fpret'); + ffi.NativeFunction< + ffi.Float Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + )>>('objc_msgSend_fpret'); late final __objc_msgSend_1194_fpret = - __objc_msgSend_1194_fpretPtr - .asFunction< - double Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + __objc_msgSend_1194_fpretPtr.asFunction< + double Function( + ffi.Pointer, + ffi.Pointer, + int, + )>(); late final _sel_averagePowerForChannel_1 = objc.registerName( "averagePowerForChannel:", @@ -42612,7 +36404,7 @@ class NSObject extends objc.ObjCObjectBase { } static ffi.Pointer> - instanceMethodForSelector_( + instanceMethodForSelector_( AVFAudio _lib, ffi.Pointer aSelector, ) { @@ -42800,7 +36592,7 @@ class NSObject extends objc.ObjCObjectBase { } void - attemptRecoveryFromError_optionIndex_delegate_didRecoverSelector_contextInfo_( + attemptRecoveryFromError_optionIndex_delegate_didRecoverSelector_contextInfo_( NSError error, int recoveryOptionIndex, NSObject? delegate, @@ -43622,7 +37414,7 @@ class NSObject extends objc.ObjCObjectBase { } NSObject? - newScriptingObjectOfClass_forValueForKey_withContentsValue_properties_( + newScriptingObjectOfClass_forValueForKey_withContentsValue_properties_( NSObject objectClass, NSString key, NSObject? contentsValue, @@ -45359,31 +39151,31 @@ class NSString extends NSObject { ) { objc.useMsgSendVariants ? _lib._objc_msgSend_340_stret( - stret, - this.pointer, - _lib._sel_localizedStandardRangeOfString_1, - str.pointer, - ) + stret, + this.pointer, + _lib._sel_localizedStandardRangeOfString_1, + str.pointer, + ) : stret.ref = _lib._objc_msgSend_340( - this.pointer, - _lib._sel_localizedStandardRangeOfString_1, - str.pointer, - ); + this.pointer, + _lib._sel_localizedStandardRangeOfString_1, + str.pointer, + ); } void rangeOfString_(ffi.Pointer<_NSRange> stret, NSString searchString) { objc.useMsgSendVariants ? _lib._objc_msgSend_340_stret( - stret, - this.pointer, - _lib._sel_rangeOfString_1, - searchString.pointer, - ) + stret, + this.pointer, + _lib._sel_rangeOfString_1, + searchString.pointer, + ) : stret.ref = _lib._objc_msgSend_340( - this.pointer, - _lib._sel_rangeOfString_1, - searchString.pointer, - ); + this.pointer, + _lib._sel_rangeOfString_1, + searchString.pointer, + ); } void rangeOfString_options_( @@ -45393,18 +39185,18 @@ class NSString extends NSObject { ) { objc.useMsgSendVariants ? _lib._objc_msgSend_341_stret( - stret, - this.pointer, - _lib._sel_rangeOfString_options_1, - searchString.pointer, - mask, - ) + stret, + this.pointer, + _lib._sel_rangeOfString_options_1, + searchString.pointer, + mask, + ) : stret.ref = _lib._objc_msgSend_341( - this.pointer, - _lib._sel_rangeOfString_options_1, - searchString.pointer, - mask, - ); + this.pointer, + _lib._sel_rangeOfString_options_1, + searchString.pointer, + mask, + ); } void rangeOfString_options_range_( @@ -45415,20 +39207,20 @@ class NSString extends NSObject { ) { objc.useMsgSendVariants ? _lib._objc_msgSend_342_stret( - stret, - this.pointer, - _lib._sel_rangeOfString_options_range_1, - searchString.pointer, - mask, - rangeOfReceiverToSearch, - ) + stret, + this.pointer, + _lib._sel_rangeOfString_options_range_1, + searchString.pointer, + mask, + rangeOfReceiverToSearch, + ) : stret.ref = _lib._objc_msgSend_342( - this.pointer, - _lib._sel_rangeOfString_options_range_1, - searchString.pointer, - mask, - rangeOfReceiverToSearch, - ); + this.pointer, + _lib._sel_rangeOfString_options_range_1, + searchString.pointer, + mask, + rangeOfReceiverToSearch, + ); } void rangeOfString_options_range_locale_( @@ -45440,22 +39232,22 @@ class NSString extends NSObject { ) { objc.useMsgSendVariants ? _lib._objc_msgSend_343_stret( - stret, - this.pointer, - _lib._sel_rangeOfString_options_range_locale_1, - searchString.pointer, - mask, - rangeOfReceiverToSearch, - locale?.pointer ?? ffi.nullptr, - ) + stret, + this.pointer, + _lib._sel_rangeOfString_options_range_locale_1, + searchString.pointer, + mask, + rangeOfReceiverToSearch, + locale?.pointer ?? ffi.nullptr, + ) : stret.ref = _lib._objc_msgSend_343( - this.pointer, - _lib._sel_rangeOfString_options_range_locale_1, - searchString.pointer, - mask, - rangeOfReceiverToSearch, - locale?.pointer ?? ffi.nullptr, - ); + this.pointer, + _lib._sel_rangeOfString_options_range_locale_1, + searchString.pointer, + mask, + rangeOfReceiverToSearch, + locale?.pointer ?? ffi.nullptr, + ); } void rangeOfCharacterFromSet_( @@ -45464,16 +39256,16 @@ class NSString extends NSObject { ) { objc.useMsgSendVariants ? _lib._objc_msgSend_344_stret( - stret, - this.pointer, - _lib._sel_rangeOfCharacterFromSet_1, - searchSet.pointer, - ) + stret, + this.pointer, + _lib._sel_rangeOfCharacterFromSet_1, + searchSet.pointer, + ) : stret.ref = _lib._objc_msgSend_344( - this.pointer, - _lib._sel_rangeOfCharacterFromSet_1, - searchSet.pointer, - ); + this.pointer, + _lib._sel_rangeOfCharacterFromSet_1, + searchSet.pointer, + ); } void rangeOfCharacterFromSet_options_( @@ -45483,18 +39275,18 @@ class NSString extends NSObject { ) { objc.useMsgSendVariants ? _lib._objc_msgSend_345_stret( - stret, - this.pointer, - _lib._sel_rangeOfCharacterFromSet_options_1, - searchSet.pointer, - mask, - ) + stret, + this.pointer, + _lib._sel_rangeOfCharacterFromSet_options_1, + searchSet.pointer, + mask, + ) : stret.ref = _lib._objc_msgSend_345( - this.pointer, - _lib._sel_rangeOfCharacterFromSet_options_1, - searchSet.pointer, - mask, - ); + this.pointer, + _lib._sel_rangeOfCharacterFromSet_options_1, + searchSet.pointer, + mask, + ); } void rangeOfCharacterFromSet_options_range_( @@ -45505,20 +39297,20 @@ class NSString extends NSObject { ) { objc.useMsgSendVariants ? _lib._objc_msgSend_346_stret( - stret, - this.pointer, - _lib._sel_rangeOfCharacterFromSet_options_range_1, - searchSet.pointer, - mask, - rangeOfReceiverToSearch, - ) + stret, + this.pointer, + _lib._sel_rangeOfCharacterFromSet_options_range_1, + searchSet.pointer, + mask, + rangeOfReceiverToSearch, + ) : stret.ref = _lib._objc_msgSend_346( - this.pointer, - _lib._sel_rangeOfCharacterFromSet_options_range_1, - searchSet.pointer, - mask, - rangeOfReceiverToSearch, - ); + this.pointer, + _lib._sel_rangeOfCharacterFromSet_options_range_1, + searchSet.pointer, + mask, + rangeOfReceiverToSearch, + ); } void rangeOfComposedCharacterSequenceAtIndex_( @@ -45527,16 +39319,16 @@ class NSString extends NSObject { ) { objc.useMsgSendVariants ? _lib._objc_msgSend_347_stret( - stret, - this.pointer, - _lib._sel_rangeOfComposedCharacterSequenceAtIndex_1, - index, - ) + stret, + this.pointer, + _lib._sel_rangeOfComposedCharacterSequenceAtIndex_1, + index, + ) : stret.ref = _lib._objc_msgSend_347( - this.pointer, - _lib._sel_rangeOfComposedCharacterSequenceAtIndex_1, - index, - ); + this.pointer, + _lib._sel_rangeOfComposedCharacterSequenceAtIndex_1, + index, + ); } void rangeOfComposedCharacterSequencesForRange_( @@ -45545,16 +39337,16 @@ class NSString extends NSObject { ) { objc.useMsgSendVariants ? _lib._objc_msgSend_348_stret( - stret, - this.pointer, - _lib._sel_rangeOfComposedCharacterSequencesForRange_1, - range, - ) + stret, + this.pointer, + _lib._sel_rangeOfComposedCharacterSequencesForRange_1, + range, + ) : stret.ref = _lib._objc_msgSend_348( - this.pointer, - _lib._sel_rangeOfComposedCharacterSequencesForRange_1, - range, - ); + this.pointer, + _lib._sel_rangeOfComposedCharacterSequencesForRange_1, + range, + ); } NSString stringByAppendingString_(NSString aString) { @@ -45697,16 +39489,16 @@ class NSString extends NSObject { void lineRangeForRange_(ffi.Pointer<_NSRange> stret, _NSRange range) { objc.useMsgSendVariants ? _lib._objc_msgSend_348_stret( - stret, - this.pointer, - _lib._sel_lineRangeForRange_1, - range, - ) + stret, + this.pointer, + _lib._sel_lineRangeForRange_1, + range, + ) : stret.ref = _lib._objc_msgSend_348( - this.pointer, - _lib._sel_lineRangeForRange_1, - range, - ); + this.pointer, + _lib._sel_lineRangeForRange_1, + range, + ); } void getParagraphStart_end_contentsEnd_forRange_( @@ -45728,16 +39520,16 @@ class NSString extends NSObject { void paragraphRangeForRange_(ffi.Pointer<_NSRange> stret, _NSRange range) { objc.useMsgSendVariants ? _lib._objc_msgSend_348_stret( - stret, - this.pointer, - _lib._sel_paragraphRangeForRange_1, - range, - ) + stret, + this.pointer, + _lib._sel_paragraphRangeForRange_1, + range, + ) : stret.ref = _lib._objc_msgSend_348( - this.pointer, - _lib._sel_paragraphRangeForRange_1, - range, - ); + this.pointer, + _lib._sel_paragraphRangeForRange_1, + range, + ); } void enumerateSubstringsInRange_options_usingBlock_( @@ -46239,7 +40031,7 @@ class NSString extends NSObject { } NSString? - initWithValidatedFormat_validFormatSpecifiers_locale_arguments_error_( + initWithValidatedFormat_validFormatSpecifiers_locale_arguments_error_( NSString format, NSString validFormatSpecifiers, NSObject? locale, @@ -46406,7 +40198,7 @@ class NSString extends NSObject { } static NSString? - localizedStringWithValidatedFormat_validFormatSpecifiers_error_( + localizedStringWithValidatedFormat_validFormatSpecifiers_error_( AVFAudio _lib, NSString format, NSString validFormatSpecifiers, @@ -46596,7 +40388,7 @@ class NSString extends NSObject { } static int - stringEncodingForData_encodingOptions_convertedString_usedLossyConversion_( + stringEncodingForData_encodingOptions_convertedString_usedLossyConversion_( AVFAudio _lib, NSData data, NSDictionary? opts, @@ -47554,29 +41346,29 @@ class NSCoder extends NSObject { double decodeFloatForKey_(NSString key) { return objc.useMsgSendVariants ? _lib._objc_msgSend_307_fpret( - this.pointer, - _lib._sel_decodeFloatForKey_1, - key.pointer, - ) + this.pointer, + _lib._sel_decodeFloatForKey_1, + key.pointer, + ) : _lib._objc_msgSend_307( - this.pointer, - _lib._sel_decodeFloatForKey_1, - key.pointer, - ); + this.pointer, + _lib._sel_decodeFloatForKey_1, + key.pointer, + ); } double decodeDoubleForKey_(NSString key) { return objc.useMsgSendVariants ? _lib._objc_msgSend_308_fpret( - this.pointer, - _lib._sel_decodeDoubleForKey_1, - key.pointer, - ) + this.pointer, + _lib._sel_decodeDoubleForKey_1, + key.pointer, + ) : _lib._objc_msgSend_308( - this.pointer, - _lib._sel_decodeDoubleForKey_1, - key.pointer, - ); + this.pointer, + _lib._sel_decodeDoubleForKey_1, + key.pointer, + ); } ffi.Pointer decodeBytesForKey_returnedLength_( @@ -47805,14 +41597,14 @@ class NSCoder extends NSObject { void decodePoint(ffi.Pointer stret) { objc.useMsgSendVariants ? _lib._objc_msgSend_59_stret( - stret, - this.pointer, - _lib._sel_decodePoint1, - ) + stret, + this.pointer, + _lib._sel_decodePoint1, + ) : stret.ref = _lib._objc_msgSend_59( - this.pointer, - _lib._sel_decodePoint1, - ); + this.pointer, + _lib._sel_decodePoint1, + ); } void encodeSize_(CGSize size) { @@ -47822,14 +41614,14 @@ class NSCoder extends NSObject { void decodeSize(ffi.Pointer stret) { objc.useMsgSendVariants ? _lib._objc_msgSend_60_stret( - stret, - this.pointer, - _lib._sel_decodeSize1, - ) + stret, + this.pointer, + _lib._sel_decodeSize1, + ) : stret.ref = _lib._objc_msgSend_60( - this.pointer, - _lib._sel_decodeSize1, - ); + this.pointer, + _lib._sel_decodeSize1, + ); } void encodeRect_(CGRect rect) { @@ -47839,14 +41631,14 @@ class NSCoder extends NSObject { void decodeRect(ffi.Pointer stret) { objc.useMsgSendVariants ? _lib._objc_msgSend_61_stret( - stret, - this.pointer, - _lib._sel_decodeRect1, - ) + stret, + this.pointer, + _lib._sel_decodeRect1, + ) : stret.ref = _lib._objc_msgSend_61( - this.pointer, - _lib._sel_decodeRect1, - ); + this.pointer, + _lib._sel_decodeRect1, + ); } void encodePoint_forKey_(CGPoint point, NSString key) { @@ -47879,46 +41671,46 @@ class NSCoder extends NSObject { void decodePointForKey_(ffi.Pointer stret, NSString key) { objc.useMsgSendVariants ? _lib._objc_msgSend_329_stret( - stret, - this.pointer, - _lib._sel_decodePointForKey_1, - key.pointer, - ) + stret, + this.pointer, + _lib._sel_decodePointForKey_1, + key.pointer, + ) : stret.ref = _lib._objc_msgSend_329( - this.pointer, - _lib._sel_decodePointForKey_1, - key.pointer, - ); + this.pointer, + _lib._sel_decodePointForKey_1, + key.pointer, + ); } void decodeSizeForKey_(ffi.Pointer stret, NSString key) { objc.useMsgSendVariants ? _lib._objc_msgSend_330_stret( - stret, - this.pointer, - _lib._sel_decodeSizeForKey_1, - key.pointer, - ) + stret, + this.pointer, + _lib._sel_decodeSizeForKey_1, + key.pointer, + ) : stret.ref = _lib._objc_msgSend_330( - this.pointer, - _lib._sel_decodeSizeForKey_1, - key.pointer, - ); + this.pointer, + _lib._sel_decodeSizeForKey_1, + key.pointer, + ); } void decodeRectForKey_(ffi.Pointer stret, NSString key) { objc.useMsgSendVariants ? _lib._objc_msgSend_331_stret( - stret, - this.pointer, - _lib._sel_decodeRectForKey_1, - key.pointer, - ) + stret, + this.pointer, + _lib._sel_decodeRectForKey_1, + key.pointer, + ) : stret.ref = _lib._objc_msgSend_331( - this.pointer, - _lib._sel_decodeRectForKey_1, - key.pointer, - ); + this.pointer, + _lib._sel_decodeRectForKey_1, + key.pointer, + ); } @override @@ -48173,20 +41965,20 @@ class NSData extends NSObject { ) { objc.useMsgSendVariants ? _lib._objc_msgSend_271_stret( - stret, - this.pointer, - _lib._sel_rangeOfData_options_range_1, - dataToFind.pointer, - mask, - searchRange, - ) + stret, + this.pointer, + _lib._sel_rangeOfData_options_range_1, + dataToFind.pointer, + mask, + searchRange, + ) : stret.ref = _lib._objc_msgSend_271( - this.pointer, - _lib._sel_rangeOfData_options_range_1, - dataToFind.pointer, - mask, - searchRange, - ); + this.pointer, + _lib._sel_rangeOfData_options_range_1, + dataToFind.pointer, + mask, + searchRange, + ); } void enumerateByteRangesUsingBlock_( @@ -49237,7 +43029,7 @@ class NSURL extends NSObject { } NSData? - bookmarkDataWithOptions_includingResourceValuesForKeys_relativeToURL_error_( + bookmarkDataWithOptions_includingResourceValuesForKeys_relativeToURL_error_( int options, NSArray? keys, NSURL? relativeURL, @@ -49257,7 +43049,7 @@ class NSURL extends NSObject { } NSURL? - initByResolvingBookmarkData_options_relativeToURL_bookmarkDataIsStale_error_( + initByResolvingBookmarkData_options_relativeToURL_bookmarkDataIsStale_error_( NSData bookmarkData, int options, NSURL? relativeURL, @@ -49279,7 +43071,7 @@ class NSURL extends NSObject { } static NSURL? - URLByResolvingBookmarkData_options_relativeToURL_bookmarkDataIsStale_error_( + URLByResolvingBookmarkData_options_relativeToURL_bookmarkDataIsStale_error_( AVFAudio _lib, NSData bookmarkData, int options, @@ -50523,14 +44315,14 @@ class NSValue extends NSObject { void getRangeValue(ffi.Pointer<_NSRange> stret) { objc.useMsgSendVariants ? _lib._objc_msgSend_54_stret( - stret, - this.pointer, - _lib._sel_rangeValue1, - ) + stret, + this.pointer, + _lib._sel_rangeValue1, + ) : stret.ref = _lib._objc_msgSend_54( - this.pointer, - _lib._sel_rangeValue1, - ); + this.pointer, + _lib._sel_rangeValue1, + ); } static NSValue valueWithPoint_(AVFAudio _lib, CGPoint point) { @@ -50572,14 +44364,14 @@ class NSValue extends NSObject { void getPointValue(ffi.Pointer stret) { objc.useMsgSendVariants ? _lib._objc_msgSend_59_stret( - stret, - this.pointer, - _lib._sel_pointValue1, - ) + stret, + this.pointer, + _lib._sel_pointValue1, + ) : stret.ref = _lib._objc_msgSend_59( - this.pointer, - _lib._sel_pointValue1, - ); + this.pointer, + _lib._sel_pointValue1, + ); } void getSizeValue(ffi.Pointer stret) { @@ -50597,14 +44389,14 @@ class NSValue extends NSObject { void getEdgeInsetsValue(ffi.Pointer stret) { objc.useMsgSendVariants ? _lib._objc_msgSend_62_stret( - stret, - this.pointer, - _lib._sel_edgeInsetsValue1, - ) + stret, + this.pointer, + _lib._sel_edgeInsetsValue1, + ) : stret.ref = _lib._objc_msgSend_62( - this.pointer, - _lib._sel_edgeInsetsValue1, - ); + this.pointer, + _lib._sel_edgeInsetsValue1, + ); } @override @@ -51003,14 +44795,13 @@ class NSArray extends NSObject { NSArray sortedArrayUsingFunction_context_( ffi.Pointer< - ffi.NativeFunction< - ffi.Long Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - > comparator, + ffi.NativeFunction< + ffi.Long Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>> + comparator, ffi.Pointer context, ) { final _ret = _lib._objc_msgSend_78( @@ -51024,14 +44815,13 @@ class NSArray extends NSObject { NSArray sortedArrayUsingFunction_context_hint_( ffi.Pointer< - ffi.NativeFunction< - ffi.Long Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - > comparator, + ffi.NativeFunction< + ffi.Long Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>> + comparator, ffi.Pointer context, NSData? hint, ) { @@ -51885,7 +45675,7 @@ class NSError extends NSObject { } static ObjCBlock_objcObjCObject_NSError_NSString? - userInfoValueProviderForDomain_( + userInfoValueProviderForDomain_( AVFAudio _lib, NSError err, NSString userInfoKey, @@ -51901,11 +45691,11 @@ class NSError extends NSObject { return _ret.address == 0 ? null : ObjCBlock_objcObjCObject_NSError_NSString._( - _ret, - _lib, - retain: true, - release: true, - ); + _ret, + _lib, + retain: true, + release: true, + ); } @override @@ -52027,36 +45817,31 @@ class NSError extends NSObject { } ffi.Pointer -_ObjCBlock_objcObjCObject_NSError_NSString_fnPtrTrampoline( + _ObjCBlock_objcObjCObject_NSError_NSString_fnPtrTrampoline( ffi.Pointer block, ffi.Pointer arg0, ffi.Pointer arg1, -) => block.ref.target - .cast< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - ) - > - >() - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >()(arg0, arg1); -final _ObjCBlock_objcObjCObject_NSError_NSString_closureRegistry = - < - int, - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >{}; +) => + block.ref.target + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + )>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>()(arg0, arg1); +final _ObjCBlock_objcObjCObject_NSError_NSString_closureRegistry = Function( + ffi.Pointer, + ffi.Pointer, +)>{}; int _ObjCBlock_objcObjCObject_NSError_NSString_closureRegistryIndex = 0; ffi.Pointer -_ObjCBlock_objcObjCObject_NSError_NSString_registerClosure( + _ObjCBlock_objcObjCObject_NSError_NSString_registerClosure( ffi.Pointer Function( ffi.Pointer, ffi.Pointer, @@ -52068,14 +45853,13 @@ _ObjCBlock_objcObjCObject_NSError_NSString_registerClosure( } ffi.Pointer -_ObjCBlock_objcObjCObject_NSError_NSString_closureTrampoline( + _ObjCBlock_objcObjCObject_NSError_NSString_closureTrampoline( ffi.Pointer block, ffi.Pointer arg0, ffi.Pointer arg1, -) => _ObjCBlock_objcObjCObject_NSError_NSString_closureRegistry[block - .ref - .target - .address]!(arg0, arg1); +) => + _ObjCBlock_objcObjCObject_NSError_NSString_closureRegistry[ + block.ref.target.address]!(arg0, arg1); class ObjCBlock_objcObjCObject_NSError_NSString extends objc.ObjCBlockBase { ObjCBlock_objcObjCObject_NSError_NSString._( @@ -52110,26 +45894,25 @@ class ObjCBlock_objcObjCObject_NSError_NSString extends objc.ObjCBlockBase { ObjCBlock_objcObjCObject_NSError_NSString.fromFunctionPointer( AVFAudio lib, ffi.Pointer< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - ) - > - > ptr, - ) : this._(objc.newBlock( - _cFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >( - _ObjCBlock_objcObjCObject_NSError_NSString_fnPtrTrampoline, - ).cast(), - ptr.cast(), - ), lib); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + )>> + ptr, + ) : this._( + objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>( + _ObjCBlock_objcObjCObject_NSError_NSString_fnPtrTrampoline, + ).cast(), + ptr.cast(), + ), + lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -52140,71 +45923,68 @@ class ObjCBlock_objcObjCObject_NSError_NSString extends objc.ObjCBlockBase { ObjCBlock_objcObjCObject_NSError_NSString.fromFunction( AVFAudio lib, NSObject? Function(NSError, NSString) fn, - ) : this._(objc.newBlock( - _dartFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >( - _ObjCBlock_objcObjCObject_NSError_NSString_closureTrampoline, - ).cast(), - _ObjCBlock_objcObjCObject_NSError_NSString_registerClosure(( - ffi.Pointer arg0, - ffi.Pointer arg1, - ) => - fn( - NSError._(arg0, lib, retain: true, release: true), - NSString._(arg1, lib, retain: true, release: true), - )?.retainAndReturnPointer() ?? - ffi.nullptr), - ), lib); + ) : this._( + objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>( + _ObjCBlock_objcObjCObject_NSError_NSString_closureTrampoline, + ).cast(), + _ObjCBlock_objcObjCObject_NSError_NSString_registerClosure(( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) => + fn( + NSError._(arg0, lib, retain: true, release: true), + NSString._(arg1, lib, retain: true, release: true), + )?.retainAndReturnPointer() ?? + ffi.nullptr), + ), + lib); static ffi.Pointer? _dartFuncTrampoline; - NSObject? call(NSError arg0, NSString arg1) => - pointer.ref.invoke - .cast< - ffi.NativeFunction< + NSObject? call(NSError arg0, NSString arg1) => pointer.ref.invoke + .cast< + ffi.NativeFunction< ffi.Pointer Function( ffi.Pointer block, ffi.Pointer arg0, ffi.Pointer arg1, - ) - > - >() - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >()(pointer, arg0.pointer, arg1.pointer) - .address == - 0 - ? null - : NSObject._(pointer.ref.invoke - .cast< - ffi.NativeFunction< + )>>() + .asFunction< ffi.Pointer Function( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Pointer arg1, - ) - > - >() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>()(pointer, arg0.pointer, arg1.pointer) + .address == + 0 + ? null + : NSObject._( + pointer.ref.invoke + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, + )>>() .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >()( + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>()( pointer, arg0.pointer, arg1.pointer, - ), _lib, retain: false, release: true); + ), + _lib, + retain: false, + release: true); } class NSIndexSet extends NSObject { @@ -52669,13 +46449,13 @@ void _ObjCBlock_ffiVoid_ffiUnsignedLong_bool_fnPtrTrampoline( ffi.Pointer block, int arg0, ffi.Pointer arg1, -) => block.ref.target - .cast< - ffi.NativeFunction< - ffi.Void Function(ffi.UnsignedLong arg0, ffi.Pointer arg1) - > - >() - .asFunction)>()(arg0, arg1); +) => + block.ref.target + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.UnsignedLong arg0, ffi.Pointer arg1)>>() + .asFunction)>()(arg0, arg1); final _ObjCBlock_ffiVoid_ffiUnsignedLong_bool_closureRegistry = )>{}; int _ObjCBlock_ffiVoid_ffiUnsignedLong_bool_closureRegistryIndex = 0; @@ -52691,10 +46471,9 @@ void _ObjCBlock_ffiVoid_ffiUnsignedLong_bool_closureTrampoline( ffi.Pointer block, int arg0, ffi.Pointer arg1, -) => _ObjCBlock_ffiVoid_ffiUnsignedLong_bool_closureRegistry[block - .ref - .target - .address]!(arg0, arg1); +) => + _ObjCBlock_ffiVoid_ffiUnsignedLong_bool_closureRegistry[ + block.ref.target.address]!(arg0, arg1); class ObjCBlock_ffiVoid_ffiUnsignedLong_bool extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_ffiUnsignedLong_bool._( @@ -52729,21 +46508,23 @@ class ObjCBlock_ffiVoid_ffiUnsignedLong_bool extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_ffiUnsignedLong_bool.fromFunctionPointer( AVFAudio lib, ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function(ffi.UnsignedLong arg0, ffi.Pointer arg1) - > - > ptr, - ) : this._(objc.newBlock( - _cFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer, - ) - >(_ObjCBlock_ffiVoid_ffiUnsignedLong_bool_fnPtrTrampoline).cast(), - ptr.cast(), - ), lib); + ffi.NativeFunction< + ffi.Void Function( + ffi.UnsignedLong arg0, ffi.Pointer arg1)>> + ptr, + ) : this._( + objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer, + )>( + _ObjCBlock_ffiVoid_ffiUnsignedLong_bool_fnPtrTrampoline) + .cast(), + ptr.cast(), + ), + lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -52754,20 +46535,23 @@ class ObjCBlock_ffiVoid_ffiUnsignedLong_bool extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_ffiUnsignedLong_bool.fromFunction( AVFAudio lib, void Function(int, ffi.Pointer) fn, - ) : this._(objc.newBlock( - _dartFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer, - ) - >(_ObjCBlock_ffiVoid_ffiUnsignedLong_bool_closureTrampoline).cast(), - _ObjCBlock_ffiVoid_ffiUnsignedLong_bool_registerClosure(( - int arg0, - ffi.Pointer arg1, - ) => fn(arg0, arg1)), - ), lib); + ) : this._( + objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer, + )>( + _ObjCBlock_ffiVoid_ffiUnsignedLong_bool_closureTrampoline) + .cast(), + _ObjCBlock_ffiVoid_ffiUnsignedLong_bool_registerClosure(( + int arg0, + ffi.Pointer arg1, + ) => + fn(arg0, arg1)), + ), + lib); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -52782,44 +46566,43 @@ class ObjCBlock_ffiVoid_ffiUnsignedLong_bool extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_ffiUnsignedLong_bool.listener( AVFAudio lib, void Function(int, ffi.Pointer) fn, - ) : this._(objc.newBlock( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer, - ) - >.listener( - _ObjCBlock_ffiVoid_ffiUnsignedLong_bool_closureTrampoline, - )..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_ffiUnsignedLong_bool_registerClosure(( - int arg0, - ffi.Pointer arg1, - ) => fn(arg0, arg1)), - ), lib); + ) : this._( + objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer, + )>.listener( + _ObjCBlock_ffiVoid_ffiUnsignedLong_bool_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_ffiUnsignedLong_bool_registerClosure(( + int arg0, + ffi.Pointer arg1, + ) => + fn(arg0, arg1)), + ), + lib); static ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer, - ) - >? _dartFuncListenerTrampoline; + ffi.Void Function( + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer, + )>? _dartFuncListenerTrampoline; void call(int arg0, ffi.Pointer arg1) => pointer.ref.invoke .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer block, - ffi.UnsignedLong arg0, - ffi.Pointer arg1, - ) - > - >() + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer block, + ffi.UnsignedLong arg0, + ffi.Pointer arg1, + )>>() .asFunction< - void Function(ffi.Pointer, int, ffi.Pointer) - >()(pointer, arg0, arg1); + void Function(ffi.Pointer, int, + ffi.Pointer)>()(pointer, arg0, arg1); } abstract class NSEnumerationOptions { @@ -52831,13 +46614,13 @@ bool _ObjCBlock_bool_ffiUnsignedLong_bool_fnPtrTrampoline( ffi.Pointer block, int arg0, ffi.Pointer arg1, -) => block.ref.target - .cast< - ffi.NativeFunction< - ffi.Bool Function(ffi.UnsignedLong arg0, ffi.Pointer arg1) - > - >() - .asFunction)>()(arg0, arg1); +) => + block.ref.target + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.UnsignedLong arg0, ffi.Pointer arg1)>>() + .asFunction)>()(arg0, arg1); final _ObjCBlock_bool_ffiUnsignedLong_bool_closureRegistry = )>{}; int _ObjCBlock_bool_ffiUnsignedLong_bool_closureRegistryIndex = 0; @@ -52853,10 +46636,9 @@ bool _ObjCBlock_bool_ffiUnsignedLong_bool_closureTrampoline( ffi.Pointer block, int arg0, ffi.Pointer arg1, -) => _ObjCBlock_bool_ffiUnsignedLong_bool_closureRegistry[block - .ref - .target - .address]!(arg0, arg1); +) => + _ObjCBlock_bool_ffiUnsignedLong_bool_closureRegistry[ + block.ref.target.address]!(arg0, arg1); class ObjCBlock_bool_ffiUnsignedLong_bool extends objc.ObjCBlockBase { ObjCBlock_bool_ffiUnsignedLong_bool._( @@ -52891,24 +46673,24 @@ class ObjCBlock_bool_ffiUnsignedLong_bool extends objc.ObjCBlockBase { ObjCBlock_bool_ffiUnsignedLong_bool.fromFunctionPointer( AVFAudio lib, ffi.Pointer< - ffi.NativeFunction< - ffi.Bool Function(ffi.UnsignedLong arg0, ffi.Pointer arg1) - > - > ptr, - ) : this._(objc.newBlock( - _cFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer, - ) - >( - _ObjCBlock_bool_ffiUnsignedLong_bool_fnPtrTrampoline, - false, - ).cast(), - ptr.cast(), - ), lib); + ffi.NativeFunction< + ffi.Bool Function( + ffi.UnsignedLong arg0, ffi.Pointer arg1)>> + ptr, + ) : this._( + objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer, + )>( + _ObjCBlock_bool_ffiUnsignedLong_bool_fnPtrTrampoline, + false, + ).cast(), + ptr.cast(), + ), + lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -52919,51 +46701,50 @@ class ObjCBlock_bool_ffiUnsignedLong_bool extends objc.ObjCBlockBase { ObjCBlock_bool_ffiUnsignedLong_bool.fromFunction( AVFAudio lib, bool Function(int, ffi.Pointer) fn, - ) : this._(objc.newBlock( - _dartFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer, - ) - >( - _ObjCBlock_bool_ffiUnsignedLong_bool_closureTrampoline, - false, - ).cast(), - _ObjCBlock_bool_ffiUnsignedLong_bool_registerClosure(( - int arg0, - ffi.Pointer arg1, - ) => fn(arg0, arg1)), - ), lib); + ) : this._( + objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer, + )>( + _ObjCBlock_bool_ffiUnsignedLong_bool_closureTrampoline, + false, + ).cast(), + _ObjCBlock_bool_ffiUnsignedLong_bool_registerClosure(( + int arg0, + ffi.Pointer arg1, + ) => + fn(arg0, arg1)), + ), + lib); static ffi.Pointer? _dartFuncTrampoline; bool call(int arg0, ffi.Pointer arg1) => pointer.ref.invoke .cast< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer block, - ffi.UnsignedLong arg0, - ffi.Pointer arg1, - ) - > - >() + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer block, + ffi.UnsignedLong arg0, + ffi.Pointer arg1, + )>>() .asFunction< - bool Function(ffi.Pointer, int, ffi.Pointer) - >()(pointer, arg0, arg1); + bool Function(ffi.Pointer, int, + ffi.Pointer)>()(pointer, arg0, arg1); } void _ObjCBlock_ffiVoid_NSRange_bool_fnPtrTrampoline( ffi.Pointer block, _NSRange arg0, ffi.Pointer arg1, -) => block.ref.target - .cast< - ffi.NativeFunction< - ffi.Void Function(_NSRange arg0, ffi.Pointer arg1) - > - >() - .asFunction)>()(arg0, arg1); +) => + block.ref.target + .cast< + ffi.NativeFunction< + ffi.Void Function(_NSRange arg0, ffi.Pointer arg1)>>() + .asFunction< + void Function(_NSRange, ffi.Pointer)>()(arg0, arg1); final _ObjCBlock_ffiVoid_NSRange_bool_closureRegistry = )>{}; int _ObjCBlock_ffiVoid_NSRange_bool_closureRegistryIndex = 0; @@ -52979,10 +46760,11 @@ void _ObjCBlock_ffiVoid_NSRange_bool_closureTrampoline( ffi.Pointer block, _NSRange arg0, ffi.Pointer arg1, -) => _ObjCBlock_ffiVoid_NSRange_bool_closureRegistry[block.ref.target.address]!( - arg0, - arg1, -); +) => + _ObjCBlock_ffiVoid_NSRange_bool_closureRegistry[block.ref.target.address]!( + arg0, + arg1, + ); class ObjCBlock_ffiVoid_NSRange_bool extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSRange_bool._( @@ -53017,21 +46799,21 @@ class ObjCBlock_ffiVoid_NSRange_bool extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSRange_bool.fromFunctionPointer( AVFAudio lib, ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function(_NSRange arg0, ffi.Pointer arg1) - > - > ptr, - ) : this._(objc.newBlock( - _cFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - _NSRange, - ffi.Pointer, - ) - >(_ObjCBlock_ffiVoid_NSRange_bool_fnPtrTrampoline).cast(), - ptr.cast(), - ), lib); + ffi.NativeFunction< + ffi.Void Function(_NSRange arg0, ffi.Pointer arg1)>> + ptr, + ) : this._( + objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + _NSRange, + ffi.Pointer, + )>(_ObjCBlock_ffiVoid_NSRange_bool_fnPtrTrampoline) + .cast(), + ptr.cast(), + ), + lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -53042,20 +46824,22 @@ class ObjCBlock_ffiVoid_NSRange_bool extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSRange_bool.fromFunction( AVFAudio lib, void Function(_NSRange, ffi.Pointer) fn, - ) : this._(objc.newBlock( - _dartFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - _NSRange, - ffi.Pointer, - ) - >(_ObjCBlock_ffiVoid_NSRange_bool_closureTrampoline).cast(), - _ObjCBlock_ffiVoid_NSRange_bool_registerClosure(( - _NSRange arg0, - ffi.Pointer arg1, - ) => fn(arg0, arg1)), - ), lib); + ) : this._( + objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + _NSRange, + ffi.Pointer, + )>(_ObjCBlock_ffiVoid_NSRange_bool_closureTrampoline) + .cast(), + _ObjCBlock_ffiVoid_NSRange_bool_registerClosure(( + _NSRange arg0, + ffi.Pointer arg1, + ) => + fn(arg0, arg1)), + ), + lib); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -53070,48 +46854,46 @@ class ObjCBlock_ffiVoid_NSRange_bool extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSRange_bool.listener( AVFAudio lib, void Function(_NSRange, ffi.Pointer) fn, - ) : this._(objc.newBlock( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - _NSRange, - ffi.Pointer, - ) - >.listener( - _ObjCBlock_ffiVoid_NSRange_bool_closureTrampoline, - )..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSRange_bool_registerClosure(( - _NSRange arg0, - ffi.Pointer arg1, - ) => fn(arg0, arg1)), - ), lib); + ) : this._( + objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + _NSRange, + ffi.Pointer, + )>.listener( + _ObjCBlock_ffiVoid_NSRange_bool_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSRange_bool_registerClosure(( + _NSRange arg0, + ffi.Pointer arg1, + ) => + fn(arg0, arg1)), + ), + lib); static ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - _NSRange, - ffi.Pointer, - ) - >? _dartFuncListenerTrampoline; + ffi.Void Function( + ffi.Pointer, + _NSRange, + ffi.Pointer, + )>? _dartFuncListenerTrampoline; void call(_NSRange arg0, ffi.Pointer arg1) => pointer.ref.invoke .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer block, - _NSRange arg0, - ffi.Pointer arg1, - ) - > - >() + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer block, + _NSRange arg0, + ffi.Pointer arg1, + )>>() .asFunction< - void Function( - ffi.Pointer, - _NSRange, - ffi.Pointer, - ) - >()(pointer, arg0, arg1); + void Function( + ffi.Pointer, + _NSRange, + ffi.Pointer, + )>()(pointer, arg0, arg1); } void _ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool_fnPtrTrampoline( @@ -53119,28 +46901,26 @@ void _ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool_fnPtrTrampoline( ffi.Pointer arg0, int arg1, ffi.Pointer arg2, -) => block.ref.target - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.UnsignedLong arg1, - ffi.Pointer arg2, - ) - > - >() - .asFunction< - void Function(ffi.Pointer, int, ffi.Pointer) - >()(arg0, arg1, arg2); +) => + block.ref.target + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.UnsignedLong arg1, + ffi.Pointer arg2, + )>>() + .asFunction< + void Function(ffi.Pointer, int, + ffi.Pointer)>()(arg0, arg1, arg2); final _ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool_closureRegistry = - < - int, - void Function(ffi.Pointer, int, ffi.Pointer) - >{}; -int -_ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool_closureRegistryIndex = 0; + , int, ffi.Pointer)>{}; +int _ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool_closureRegistryIndex = + 0; ffi.Pointer -_ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool_registerClosure( + _ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool_registerClosure( void Function(ffi.Pointer, int, ffi.Pointer) fn, ) { final id = @@ -53156,10 +46936,8 @@ void _ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool_closureTrampoline( int arg1, ffi.Pointer arg2, ) => - _ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool_closureRegistry[block - .ref - .target - .address]!(arg0, arg1, arg2); + _ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool_closureRegistry[ + block.ref.target.address]!(arg0, arg1, arg2); class ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool extends objc.ObjCBlockBase { @@ -53195,28 +46973,27 @@ class ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool.fromFunctionPointer( AVFAudio lib, ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.UnsignedLong arg1, - ffi.Pointer arg2, - ) - > - > ptr, - ) : this._(objc.newBlock( - _cFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer, - ) - >( - _ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool_fnPtrTrampoline, - ).cast(), - ptr.cast(), - ), lib); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.UnsignedLong arg1, + ffi.Pointer arg2, + )>> + ptr, + ) : this._( + objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer, + )>( + _ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool_fnPtrTrampoline, + ).cast(), + ptr.cast(), + ), + lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -53227,29 +47004,34 @@ class ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool.fromFunction( AVFAudio lib, void Function(NSObject, int, ffi.Pointer) fn, - ) : this._(objc.newBlock( - _dartFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer, - ) - >( - _ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool_closureTrampoline, - ).cast(), - _ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool_registerClosure(( - ffi.Pointer arg0, - int arg1, - ffi.Pointer arg2, - ) => fn(NSObject._( - arg0, - lib, - retain: true, - release: true, - ), arg1, arg2)), - ), lib); + ) : this._( + objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer, + )>( + _ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool_closureTrampoline, + ).cast(), + _ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool_registerClosure( + ( + ffi.Pointer arg0, + int arg1, + ffi.Pointer arg2, + ) => + fn( + NSObject._( + arg0, + lib, + retain: true, + release: true, + ), + arg1, + arg2)), + ), + lib); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -53264,60 +47046,61 @@ class ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool.listener( AVFAudio lib, void Function(NSObject, int, ffi.Pointer) fn, - ) : this._(objc.newBlock( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( + ) : this._( + objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer, + )>.listener( + _ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool_registerClosure( + ( + ffi.Pointer arg0, + int arg1, + ffi.Pointer arg2, + ) => + fn( + NSObject._( + arg0, + lib, + retain: true, + release: true, + ), + arg1, + arg2)), + ), + lib); + static ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer, + )>? _dartFuncListenerTrampoline; + + void call(NSObject arg0, int arg1, ffi.Pointer arg2) => + pointer.ref.invoke + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.UnsignedLong arg1, + ffi.Pointer arg2, + )>>() + .asFunction< + void Function( ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, + int, ffi.Pointer, - ) - >.listener( - _ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool_closureTrampoline, - )..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool_registerClosure(( - ffi.Pointer arg0, - int arg1, - ffi.Pointer arg2, - ) => fn(NSObject._( - arg0, - lib, - retain: true, - release: true, - ), arg1, arg2)), - ), lib); - static ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer, - ) - >? _dartFuncListenerTrampoline; - - void call(NSObject arg0, int arg1, ffi.Pointer arg2) => pointer - .ref - .invoke - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.UnsignedLong arg1, - ffi.Pointer arg2, - ) - > - >() - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ) - >()(pointer, arg0.pointer, arg1, arg2); + )>()(pointer, arg0.pointer, arg1, arg2); } bool _ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool_fnPtrTrampoline( @@ -53325,28 +47108,26 @@ bool _ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool_fnPtrTrampoline( ffi.Pointer arg0, int arg1, ffi.Pointer arg2, -) => block.ref.target - .cast< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer arg0, - ffi.UnsignedLong arg1, - ffi.Pointer arg2, - ) - > - >() - .asFunction< - bool Function(ffi.Pointer, int, ffi.Pointer) - >()(arg0, arg1, arg2); +) => + block.ref.target + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer arg0, + ffi.UnsignedLong arg1, + ffi.Pointer arg2, + )>>() + .asFunction< + bool Function(ffi.Pointer, int, + ffi.Pointer)>()(arg0, arg1, arg2); final _ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool_closureRegistry = - < - int, - bool Function(ffi.Pointer, int, ffi.Pointer) - >{}; + , int, ffi.Pointer)>{}; int _ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool_closureRegistryIndex = 0; ffi.Pointer -_ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool_registerClosure( + _ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool_registerClosure( bool Function(ffi.Pointer, int, ffi.Pointer) fn, ) { final id = @@ -53360,10 +47141,9 @@ bool _ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool_closureTrampoline( ffi.Pointer arg0, int arg1, ffi.Pointer arg2, -) => _ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool_closureRegistry[block - .ref - .target - .address]!(arg0, arg1, arg2); +) => + _ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool_closureRegistry[ + block.ref.target.address]!(arg0, arg1, arg2); class ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool extends objc.ObjCBlockBase { @@ -53399,29 +47179,28 @@ class ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool.fromFunctionPointer( AVFAudio lib, ffi.Pointer< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer arg0, - ffi.UnsignedLong arg1, - ffi.Pointer arg2, - ) - > - > ptr, - ) : this._(objc.newBlock( - _cFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer, - ) - >( - _ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool_fnPtrTrampoline, - false, - ).cast(), - ptr.cast(), - ), lib); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer arg0, + ffi.UnsignedLong arg1, + ffi.Pointer arg2, + )>> + ptr, + ) : this._( + objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer, + )>( + _ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool_fnPtrTrampoline, + false, + ).cast(), + ptr.cast(), + ), + lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -53432,100 +47211,96 @@ class ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool.fromFunction( AVFAudio lib, bool Function(NSObject, int, ffi.Pointer) fn, - ) : this._(objc.newBlock( - _dartFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Bool Function( + ) : this._( + objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer, + )>( + _ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool_closureTrampoline, + false, + ).cast(), + _ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool_registerClosure( + ( + ffi.Pointer arg0, + int arg1, + ffi.Pointer arg2, + ) => + fn( + NSObject._( + arg0, + lib, + retain: true, + release: true, + ), + arg1, + arg2)), + ), + lib); + static ffi.Pointer? _dartFuncTrampoline; + + bool call(NSObject arg0, int arg1, ffi.Pointer arg2) => + pointer.ref.invoke + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.UnsignedLong arg1, + ffi.Pointer arg2, + )>>() + .asFunction< + bool Function( ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, + int, ffi.Pointer, - ) - >( - _ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool_closureTrampoline, - false, - ).cast(), - _ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool_registerClosure(( - ffi.Pointer arg0, - int arg1, - ffi.Pointer arg2, - ) => fn(NSObject._( - arg0, - lib, - retain: true, - release: true, - ), arg1, arg2)), - ), lib); - static ffi.Pointer? _dartFuncTrampoline; - - bool call(NSObject arg0, int arg1, ffi.Pointer arg2) => pointer - .ref - .invoke - .cast< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.UnsignedLong arg1, - ffi.Pointer arg2, - ) - > - >() - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ) - >()(pointer, arg0.pointer, arg1, arg2); + )>()(pointer, arg0.pointer, arg1, arg2); } int _ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject_fnPtrTrampoline( ffi.Pointer block, ffi.Pointer arg0, ffi.Pointer arg1, -) => block.ref.target - .cast< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - ) - > - >() - .asFunction< - int Function(ffi.Pointer, ffi.Pointer) - >()(arg0, arg1); +) => + block.ref.target + .cast< + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + )>>() + .asFunction< + int Function(ffi.Pointer, + ffi.Pointer)>()(arg0, arg1); final _ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject_closureRegistry = - < - int, - int Function(ffi.Pointer, ffi.Pointer) - >{}; -int -_ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject_closureRegistryIndex = + , ffi.Pointer)>{}; +int _ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject_closureRegistryIndex = 0; ffi.Pointer -_ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject_registerClosure( + _ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject_registerClosure( int Function(ffi.Pointer, ffi.Pointer) fn, ) { final id = ++_ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject_closureRegistryIndex; - _ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject_closureRegistry[id] = - fn; + _ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject_closureRegistry[ + id] = fn; return ffi.Pointer.fromAddress(id); } int -_ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject_closureTrampoline( + _ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject_closureTrampoline( ffi.Pointer block, ffi.Pointer arg0, ffi.Pointer arg1, ) => - _ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject_closureRegistry[block - .ref - .target - .address]!(arg0, arg1); + _ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject_closureRegistry[ + block.ref.target.address]!(arg0, arg1); class ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject extends objc.ObjCBlockBase { @@ -53540,7 +47315,7 @@ class ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject /// Returns a block that wraps the given raw block pointer. static ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject - castFromPointer( + castFromPointer( AVFAudio lib, ffi.Pointer pointer, { bool retain = false, @@ -53562,27 +47337,26 @@ class ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject.fromFunctionPointer( AVFAudio lib, ffi.Pointer< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - ) - > - > ptr, - ) : this._(objc.newBlock( - _cFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Int32 Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >( - _ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject_fnPtrTrampoline, - 0, - ).cast(), - ptr.cast(), - ), lib); + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + )>> + ptr, + ) : this._( + objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>( + _ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject_fnPtrTrampoline, + 0, + ).cast(), + ptr.cast(), + ), + lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -53593,47 +47367,45 @@ class ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject.fromFunction( AVFAudio lib, int Function(NSObject, NSObject) fn, - ) : this._(objc.newBlock( - _dartFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Int32 Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >( - _ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject_closureTrampoline, - 0, - ).cast(), - _ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject_registerClosure( - ( - ffi.Pointer arg0, - ffi.Pointer arg1, - ) => fn( - NSObject._(arg0, lib, retain: true, release: true), - NSObject._(arg1, lib, retain: true, release: true), - ), - ), - ), lib); + ) : this._( + objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>( + _ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject_closureTrampoline, + 0, + ).cast(), + _ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject_registerClosure( + ( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) => + fn( + NSObject._(arg0, lib, retain: true, release: true), + NSObject._(arg1, lib, retain: true, release: true), + ), + ), + ), + lib); static ffi.Pointer? _dartFuncTrampoline; int call(NSObject arg0, NSObject arg1) => pointer.ref.invoke .cast< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Pointer arg1, - ) - > - >() + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, + )>>() .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >()(pointer, arg0.pointer, arg1.pointer); + int Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>()(pointer, arg0.pointer, arg1.pointer); } abstract class NSComparisonResult { @@ -53665,26 +47437,23 @@ bool _ObjCBlock_bool_objcObjCObject_objcObjCObject_fnPtrTrampoline( ffi.Pointer block, ffi.Pointer arg0, ffi.Pointer arg1, -) => block.ref.target - .cast< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - ) - > - >() - .asFunction< - bool Function(ffi.Pointer, ffi.Pointer) - >()(arg0, arg1); -final _ObjCBlock_bool_objcObjCObject_objcObjCObject_closureRegistry = - < - int, - bool Function(ffi.Pointer, ffi.Pointer) - >{}; +) => + block.ref.target + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + )>>() + .asFunction< + bool Function(ffi.Pointer, + ffi.Pointer)>()(arg0, arg1); +final _ObjCBlock_bool_objcObjCObject_objcObjCObject_closureRegistry = , ffi.Pointer)>{}; int _ObjCBlock_bool_objcObjCObject_objcObjCObject_closureRegistryIndex = 0; ffi.Pointer -_ObjCBlock_bool_objcObjCObject_objcObjCObject_registerClosure( + _ObjCBlock_bool_objcObjCObject_objcObjCObject_registerClosure( bool Function(ffi.Pointer, ffi.Pointer) fn, ) { final id = @@ -53697,10 +47466,9 @@ bool _ObjCBlock_bool_objcObjCObject_objcObjCObject_closureTrampoline( ffi.Pointer block, ffi.Pointer arg0, ffi.Pointer arg1, -) => _ObjCBlock_bool_objcObjCObject_objcObjCObject_closureRegistry[block - .ref - .target - .address]!(arg0, arg1); +) => + _ObjCBlock_bool_objcObjCObject_objcObjCObject_closureRegistry[ + block.ref.target.address]!(arg0, arg1); class ObjCBlock_bool_objcObjCObject_objcObjCObject extends objc.ObjCBlockBase { ObjCBlock_bool_objcObjCObject_objcObjCObject._( @@ -53735,27 +47503,26 @@ class ObjCBlock_bool_objcObjCObject_objcObjCObject extends objc.ObjCBlockBase { ObjCBlock_bool_objcObjCObject_objcObjCObject.fromFunctionPointer( AVFAudio lib, ffi.Pointer< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - ) - > - > ptr, - ) : this._(objc.newBlock( - _cFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >( - _ObjCBlock_bool_objcObjCObject_objcObjCObject_fnPtrTrampoline, - false, - ).cast(), - ptr.cast(), - ), lib); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + )>> + ptr, + ) : this._( + objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>( + _ObjCBlock_bool_objcObjCObject_objcObjCObject_fnPtrTrampoline, + false, + ).cast(), + ptr.cast(), + ), + lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -53766,45 +47533,43 @@ class ObjCBlock_bool_objcObjCObject_objcObjCObject extends objc.ObjCBlockBase { ObjCBlock_bool_objcObjCObject_objcObjCObject.fromFunction( AVFAudio lib, bool Function(NSObject, NSObject) fn, - ) : this._(objc.newBlock( - _dartFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >( - _ObjCBlock_bool_objcObjCObject_objcObjCObject_closureTrampoline, - false, - ).cast(), - _ObjCBlock_bool_objcObjCObject_objcObjCObject_registerClosure(( - ffi.Pointer arg0, - ffi.Pointer arg1, - ) => fn( - NSObject._(arg0, lib, retain: true, release: true), - NSObject._(arg1, lib, retain: true, release: true), - )), - ), lib); + ) : this._( + objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>( + _ObjCBlock_bool_objcObjCObject_objcObjCObject_closureTrampoline, + false, + ).cast(), + _ObjCBlock_bool_objcObjCObject_objcObjCObject_registerClosure(( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) => + fn( + NSObject._(arg0, lib, retain: true, release: true), + NSObject._(arg1, lib, retain: true, release: true), + )), + ), + lib); static ffi.Pointer? _dartFuncTrampoline; bool call(NSObject arg0, NSObject arg1) => pointer.ref.invoke .cast< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Pointer arg1, - ) - > - >() + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, + )>>() .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >()(pointer, arg0.pointer, arg1.pointer); + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>()(pointer, arg0.pointer, arg1.pointer); } abstract class NSKeyValueObservingOptions { @@ -54102,26 +47867,23 @@ bool _ObjCBlock_bool_objcObjCObject_NSDictionary_fnPtrTrampoline( ffi.Pointer block, ffi.Pointer arg0, ffi.Pointer arg1, -) => block.ref.target - .cast< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - ) - > - >() - .asFunction< - bool Function(ffi.Pointer, ffi.Pointer) - >()(arg0, arg1); -final _ObjCBlock_bool_objcObjCObject_NSDictionary_closureRegistry = - < - int, - bool Function(ffi.Pointer, ffi.Pointer) - >{}; +) => + block.ref.target + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + )>>() + .asFunction< + bool Function(ffi.Pointer, + ffi.Pointer)>()(arg0, arg1); +final _ObjCBlock_bool_objcObjCObject_NSDictionary_closureRegistry = , ffi.Pointer)>{}; int _ObjCBlock_bool_objcObjCObject_NSDictionary_closureRegistryIndex = 0; ffi.Pointer -_ObjCBlock_bool_objcObjCObject_NSDictionary_registerClosure( + _ObjCBlock_bool_objcObjCObject_NSDictionary_registerClosure( bool Function(ffi.Pointer, ffi.Pointer) fn, ) { final id = ++_ObjCBlock_bool_objcObjCObject_NSDictionary_closureRegistryIndex; @@ -54133,10 +47895,9 @@ bool _ObjCBlock_bool_objcObjCObject_NSDictionary_closureTrampoline( ffi.Pointer block, ffi.Pointer arg0, ffi.Pointer arg1, -) => _ObjCBlock_bool_objcObjCObject_NSDictionary_closureRegistry[block - .ref - .target - .address]!(arg0, arg1); +) => + _ObjCBlock_bool_objcObjCObject_NSDictionary_closureRegistry[ + block.ref.target.address]!(arg0, arg1); class ObjCBlock_bool_objcObjCObject_NSDictionary extends objc.ObjCBlockBase { ObjCBlock_bool_objcObjCObject_NSDictionary._( @@ -54171,27 +47932,26 @@ class ObjCBlock_bool_objcObjCObject_NSDictionary extends objc.ObjCBlockBase { ObjCBlock_bool_objcObjCObject_NSDictionary.fromFunctionPointer( AVFAudio lib, ffi.Pointer< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - ) - > - > ptr, - ) : this._(objc.newBlock( - _cFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >( - _ObjCBlock_bool_objcObjCObject_NSDictionary_fnPtrTrampoline, - false, - ).cast(), - ptr.cast(), - ), lib); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + )>> + ptr, + ) : this._( + objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>( + _ObjCBlock_bool_objcObjCObject_NSDictionary_fnPtrTrampoline, + false, + ).cast(), + ptr.cast(), + ), + lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -54202,49 +47962,49 @@ class ObjCBlock_bool_objcObjCObject_NSDictionary extends objc.ObjCBlockBase { ObjCBlock_bool_objcObjCObject_NSDictionary.fromFunction( AVFAudio lib, bool Function(NSObject?, NSDictionary?) fn, - ) : this._(objc.newBlock( - _dartFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >( - _ObjCBlock_bool_objcObjCObject_NSDictionary_closureTrampoline, - false, - ).cast(), - _ObjCBlock_bool_objcObjCObject_NSDictionary_registerClosure(( - ffi.Pointer arg0, - ffi.Pointer arg1, - ) => fn( - arg0.address == 0 - ? null - : NSObject._(arg0, lib, retain: true, release: true), - arg1.address == 0 - ? null - : NSDictionary._(arg1, lib, retain: true, release: true), - )), - ), lib); + ) : this._( + objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>( + _ObjCBlock_bool_objcObjCObject_NSDictionary_closureTrampoline, + false, + ).cast(), + _ObjCBlock_bool_objcObjCObject_NSDictionary_registerClosure(( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) => + fn( + arg0.address == 0 + ? null + : NSObject._(arg0, lib, retain: true, release: true), + arg1.address == 0 + ? null + : NSDictionary._(arg1, lib, + retain: true, release: true), + )), + ), + lib); static ffi.Pointer? _dartFuncTrampoline; bool call(NSObject? arg0, NSDictionary? arg1) => pointer.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Pointer arg1, - ) - > - >() - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >()(pointer, arg0?.pointer ?? ffi.nullptr, arg1?.pointer ?? ffi.nullptr); + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, + )>>() + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>()( + pointer, arg0?.pointer ?? ffi.nullptr, arg1?.pointer ?? ffi.nullptr); } class NSDictionary extends NSObject { @@ -55015,36 +48775,32 @@ void _ObjCBlock_ffiVoid_objcObjCObject_objcObjCObject_bool_fnPtrTrampoline( ffi.Pointer arg0, ffi.Pointer arg1, ffi.Pointer arg2, -) => block.ref.target - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2, - ) - > - >() - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >()(arg0, arg1, arg2); +) => + block.ref.target + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, + )>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>()(arg0, arg1, arg2); final _ObjCBlock_ffiVoid_objcObjCObject_objcObjCObject_bool_closureRegistry = - < - int, - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >{}; + , + ffi.Pointer, + ffi.Pointer, +)>{}; int _ObjCBlock_ffiVoid_objcObjCObject_objcObjCObject_bool_closureRegistryIndex = 0; ffi.Pointer -_ObjCBlock_ffiVoid_objcObjCObject_objcObjCObject_bool_registerClosure( + _ObjCBlock_ffiVoid_objcObjCObject_objcObjCObject_bool_registerClosure( void Function( ffi.Pointer, ffi.Pointer, @@ -55063,10 +48819,9 @@ void _ObjCBlock_ffiVoid_objcObjCObject_objcObjCObject_bool_closureTrampoline( ffi.Pointer arg0, ffi.Pointer arg1, ffi.Pointer arg2, -) => _ObjCBlock_ffiVoid_objcObjCObject_objcObjCObject_bool_closureRegistry[block - .ref - .target - .address]!(arg0, arg1, arg2); +) => + _ObjCBlock_ffiVoid_objcObjCObject_objcObjCObject_bool_closureRegistry[ + block.ref.target.address]!(arg0, arg1, arg2); class ObjCBlock_ffiVoid_objcObjCObject_objcObjCObject_bool extends objc.ObjCBlockBase { @@ -55102,28 +48857,27 @@ class ObjCBlock_ffiVoid_objcObjCObject_objcObjCObject_bool ObjCBlock_ffiVoid_objcObjCObject_objcObjCObject_bool.fromFunctionPointer( AVFAudio lib, ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2, - ) - > - > ptr, - ) : this._(objc.newBlock( - _cFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >( - _ObjCBlock_ffiVoid_objcObjCObject_objcObjCObject_bool_fnPtrTrampoline, - ).cast(), - ptr.cast(), - ), lib); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, + )>> + ptr, + ) : this._( + objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>( + _ObjCBlock_ffiVoid_objcObjCObject_objcObjCObject_bool_fnPtrTrampoline, + ).cast(), + ptr.cast(), + ), + lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -55134,28 +48888,30 @@ class ObjCBlock_ffiVoid_objcObjCObject_objcObjCObject_bool ObjCBlock_ffiVoid_objcObjCObject_objcObjCObject_bool.fromFunction( AVFAudio lib, void Function(NSObject, NSObject, ffi.Pointer) fn, - ) : this._(objc.newBlock( - _dartFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >( - _ObjCBlock_ffiVoid_objcObjCObject_objcObjCObject_bool_closureTrampoline, - ).cast(), - _ObjCBlock_ffiVoid_objcObjCObject_objcObjCObject_bool_registerClosure(( - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2, - ) => fn( - NSObject._(arg0, lib, retain: true, release: true), - NSObject._(arg1, lib, retain: true, release: true), - arg2, - )), - ), lib); + ) : this._( + objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>( + _ObjCBlock_ffiVoid_objcObjCObject_objcObjCObject_bool_closureTrampoline, + ).cast(), + _ObjCBlock_ffiVoid_objcObjCObject_objcObjCObject_bool_registerClosure( + ( + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, + ) => + fn( + NSObject._(arg0, lib, retain: true, release: true), + NSObject._(arg1, lib, retain: true, release: true), + arg2, + )), + ), + lib); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -55170,59 +48926,57 @@ class ObjCBlock_ffiVoid_objcObjCObject_objcObjCObject_bool ObjCBlock_ffiVoid_objcObjCObject_objcObjCObject_bool.listener( AVFAudio lib, void Function(NSObject, NSObject, ffi.Pointer) fn, - ) : this._(objc.newBlock( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( + ) : this._( + objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>.listener( + _ObjCBlock_ffiVoid_objcObjCObject_objcObjCObject_bool_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_objcObjCObject_objcObjCObject_bool_registerClosure( + ( + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, + ) => + fn( + NSObject._(arg0, lib, retain: true, release: true), + NSObject._(arg1, lib, retain: true, release: true), + arg2, + )), + ), + lib); + static ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>? _dartFuncListenerTrampoline; + + void call(NSObject arg0, NSObject arg1, ffi.Pointer arg2) => + pointer.ref.invoke + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, + )>>() + .asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - >.listener( - _ObjCBlock_ffiVoid_objcObjCObject_objcObjCObject_bool_closureTrampoline, - )..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_objcObjCObject_objcObjCObject_bool_registerClosure(( - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2, - ) => fn( - NSObject._(arg0, lib, retain: true, release: true), - NSObject._(arg1, lib, retain: true, release: true), - arg2, - )), - ), lib); - static ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >? _dartFuncListenerTrampoline; - - void call(NSObject arg0, NSObject arg1, ffi.Pointer arg2) => pointer - .ref - .invoke - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2, - ) - > - >() - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >()(pointer, arg0.pointer, arg1.pointer, arg2); + )>()(pointer, arg0.pointer, arg1.pointer, arg2); } bool _ObjCBlock_bool_objcObjCObject_objcObjCObject_bool_fnPtrTrampoline( @@ -55230,35 +48984,30 @@ bool _ObjCBlock_bool_objcObjCObject_objcObjCObject_bool_fnPtrTrampoline( ffi.Pointer arg0, ffi.Pointer arg1, ffi.Pointer arg2, -) => block.ref.target - .cast< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2, - ) - > - >() - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >()(arg0, arg1, arg2); -final _ObjCBlock_bool_objcObjCObject_objcObjCObject_bool_closureRegistry = - < - int, - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >{}; +) => + block.ref.target + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, + )>>() + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>()(arg0, arg1, arg2); +final _ObjCBlock_bool_objcObjCObject_objcObjCObject_bool_closureRegistry = , + ffi.Pointer, + ffi.Pointer, +)>{}; int _ObjCBlock_bool_objcObjCObject_objcObjCObject_bool_closureRegistryIndex = 0; ffi.Pointer -_ObjCBlock_bool_objcObjCObject_objcObjCObject_bool_registerClosure( + _ObjCBlock_bool_objcObjCObject_objcObjCObject_bool_registerClosure( bool Function( ffi.Pointer, ffi.Pointer, @@ -55276,10 +49025,9 @@ bool _ObjCBlock_bool_objcObjCObject_objcObjCObject_bool_closureTrampoline( ffi.Pointer arg0, ffi.Pointer arg1, ffi.Pointer arg2, -) => _ObjCBlock_bool_objcObjCObject_objcObjCObject_bool_closureRegistry[block - .ref - .target - .address]!(arg0, arg1, arg2); +) => + _ObjCBlock_bool_objcObjCObject_objcObjCObject_bool_closureRegistry[ + block.ref.target.address]!(arg0, arg1, arg2); class ObjCBlock_bool_objcObjCObject_objcObjCObject_bool extends objc.ObjCBlockBase { @@ -55315,29 +49063,28 @@ class ObjCBlock_bool_objcObjCObject_objcObjCObject_bool ObjCBlock_bool_objcObjCObject_objcObjCObject_bool.fromFunctionPointer( AVFAudio lib, ffi.Pointer< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2, - ) - > - > ptr, - ) : this._(objc.newBlock( - _cFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >( - _ObjCBlock_bool_objcObjCObject_objcObjCObject_bool_fnPtrTrampoline, - false, - ).cast(), - ptr.cast(), - ), lib); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, + )>> + ptr, + ) : this._( + objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>( + _ObjCBlock_bool_objcObjCObject_objcObjCObject_bool_fnPtrTrampoline, + false, + ).cast(), + ptr.cast(), + ), + lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -55348,52 +49095,50 @@ class ObjCBlock_bool_objcObjCObject_objcObjCObject_bool ObjCBlock_bool_objcObjCObject_objcObjCObject_bool.fromFunction( AVFAudio lib, bool Function(NSObject, NSObject, ffi.Pointer) fn, - ) : this._(objc.newBlock( - _dartFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Bool Function( + ) : this._( + objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>( + _ObjCBlock_bool_objcObjCObject_objcObjCObject_bool_closureTrampoline, + false, + ).cast(), + _ObjCBlock_bool_objcObjCObject_objcObjCObject_bool_registerClosure( + ( + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, + ) => + fn( + NSObject._(arg0, lib, retain: true, release: true), + NSObject._(arg1, lib, retain: true, release: true), + arg2, + )), + ), + lib); + static ffi.Pointer? _dartFuncTrampoline; + + bool call(NSObject arg0, NSObject arg1, ffi.Pointer arg2) => + pointer.ref.invoke + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, + )>>() + .asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - >( - _ObjCBlock_bool_objcObjCObject_objcObjCObject_bool_closureTrampoline, - false, - ).cast(), - _ObjCBlock_bool_objcObjCObject_objcObjCObject_bool_registerClosure(( - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2, - ) => fn( - NSObject._(arg0, lib, retain: true, release: true), - NSObject._(arg1, lib, retain: true, release: true), - arg2, - )), - ), lib); - static ffi.Pointer? _dartFuncTrampoline; - - bool call(NSObject arg0, NSObject arg1, ffi.Pointer arg2) => pointer - .ref - .invoke - .cast< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2, - ) - > - >() - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >()(pointer, arg0.pointer, arg1.pointer, arg2); + )>()(pointer, arg0.pointer, arg1.pointer, arg2); } final class NSFastEnumerationState extends ffi.Struct { @@ -55443,13 +49188,13 @@ class NSDate extends NSObject { double get timeIntervalSinceReferenceDate { return objc.useMsgSendVariants ? _lib._objc_msgSend_165_fpret( - this.pointer, - _lib._sel_timeIntervalSinceReferenceDate1, - ) + this.pointer, + _lib._sel_timeIntervalSinceReferenceDate1, + ) : _lib._objc_msgSend_165( - this.pointer, - _lib._sel_timeIntervalSinceReferenceDate1, - ); + this.pointer, + _lib._sel_timeIntervalSinceReferenceDate1, + ); } @override @@ -55481,36 +49226,36 @@ class NSDate extends NSObject { double timeIntervalSinceDate_(NSDate anotherDate) { return objc.useMsgSendVariants ? _lib._objc_msgSend_167_fpret( - this.pointer, - _lib._sel_timeIntervalSinceDate_1, - anotherDate.pointer, - ) + this.pointer, + _lib._sel_timeIntervalSinceDate_1, + anotherDate.pointer, + ) : _lib._objc_msgSend_167( - this.pointer, - _lib._sel_timeIntervalSinceDate_1, - anotherDate.pointer, - ); + this.pointer, + _lib._sel_timeIntervalSinceDate_1, + anotherDate.pointer, + ); } double get timeIntervalSinceNow { return objc.useMsgSendVariants ? _lib._objc_msgSend_165_fpret( - this.pointer, - _lib._sel_timeIntervalSinceNow1, - ) + this.pointer, + _lib._sel_timeIntervalSinceNow1, + ) : _lib._objc_msgSend_165(this.pointer, _lib._sel_timeIntervalSinceNow1); } double get timeIntervalSince1970 { return objc.useMsgSendVariants ? _lib._objc_msgSend_165_fpret( - this.pointer, - _lib._sel_timeIntervalSince19701, - ) + this.pointer, + _lib._sel_timeIntervalSince19701, + ) : _lib._objc_msgSend_165( - this.pointer, - _lib._sel_timeIntervalSince19701, - ); + this.pointer, + _lib._sel_timeIntervalSince19701, + ); } NSObject addTimeInterval_(double seconds) { @@ -56563,15 +50308,15 @@ class NSTimeZone extends NSObject { double daylightSavingTimeOffsetForDate_(NSDate aDate) { return objc.useMsgSendVariants ? _lib._objc_msgSend_167_fpret( - this.pointer, - _lib._sel_daylightSavingTimeOffsetForDate_1, - aDate.pointer, - ) + this.pointer, + _lib._sel_daylightSavingTimeOffsetForDate_1, + aDate.pointer, + ) : _lib._objc_msgSend_167( - this.pointer, - _lib._sel_daylightSavingTimeOffsetForDate_1, - aDate.pointer, - ); + this.pointer, + _lib._sel_daylightSavingTimeOffsetForDate_1, + aDate.pointer, + ); } NSDate? nextDaylightSavingTimeTransitionAfterDate_(NSDate aDate) { @@ -56674,13 +50419,13 @@ class NSTimeZone extends NSObject { double get daylightSavingTimeOffset { return objc.useMsgSendVariants ? _lib._objc_msgSend_165_fpret( - this.pointer, - _lib._sel_daylightSavingTimeOffset1, - ) + this.pointer, + _lib._sel_daylightSavingTimeOffset1, + ) : _lib._objc_msgSend_165( - this.pointer, - _lib._sel_daylightSavingTimeOffset1, - ); + this.pointer, + _lib._sel_daylightSavingTimeOffset1, + ); } NSDate? get nextDaylightSavingTimeTransition { @@ -58330,7 +52075,8 @@ abstract class NSDataWritingOptions { static const int NSDataWritingFileProtectionComplete = 536870912; static const int NSDataWritingFileProtectionCompleteUnlessOpen = 805306368; static const int - NSDataWritingFileProtectionCompleteUntilFirstUserAuthentication = 1073741824; + NSDataWritingFileProtectionCompleteUntilFirstUserAuthentication = + 1073741824; static const int NSDataWritingFileProtectionCompleteWhenUserInactive = 1342177280; static const int NSDataWritingFileProtectionMask = 4026531840; @@ -58347,24 +52093,20 @@ void _ObjCBlock_ffiVoid_ffiVoid_NSRange_bool_fnPtrTrampoline( ffi.Pointer arg0, _NSRange arg1, ffi.Pointer arg2, -) => block.ref.target - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - _NSRange arg1, - ffi.Pointer arg2, - ) - > - >() - .asFunction< - void Function(ffi.Pointer, _NSRange, ffi.Pointer) - >()(arg0, arg1, arg2); -final _ObjCBlock_ffiVoid_ffiVoid_NSRange_bool_closureRegistry = - < - int, - void Function(ffi.Pointer, _NSRange, ffi.Pointer) - >{}; +) => + block.ref.target + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + _NSRange arg1, + ffi.Pointer arg2, + )>>() + .asFunction< + void Function(ffi.Pointer, _NSRange, + ffi.Pointer)>()(arg0, arg1, arg2); +final _ObjCBlock_ffiVoid_ffiVoid_NSRange_bool_closureRegistry = , _NSRange, ffi.Pointer)>{}; int _ObjCBlock_ffiVoid_ffiVoid_NSRange_bool_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_ffiVoid_ffiVoid_NSRange_bool_registerClosure( void Function(ffi.Pointer, _NSRange, ffi.Pointer) fn, @@ -58379,10 +52121,9 @@ void _ObjCBlock_ffiVoid_ffiVoid_NSRange_bool_closureTrampoline( ffi.Pointer arg0, _NSRange arg1, ffi.Pointer arg2, -) => _ObjCBlock_ffiVoid_ffiVoid_NSRange_bool_closureRegistry[block - .ref - .target - .address]!(arg0, arg1, arg2); +) => + _ObjCBlock_ffiVoid_ffiVoid_NSRange_bool_closureRegistry[ + block.ref.target.address]!(arg0, arg1, arg2); class ObjCBlock_ffiVoid_ffiVoid_NSRange_bool extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_ffiVoid_NSRange_bool._( @@ -58417,26 +52158,27 @@ class ObjCBlock_ffiVoid_ffiVoid_NSRange_bool extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_ffiVoid_NSRange_bool.fromFunctionPointer( AVFAudio lib, ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - _NSRange arg1, - ffi.Pointer arg2, - ) - > - > ptr, - ) : this._(objc.newBlock( - _cFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - ) - >(_ObjCBlock_ffiVoid_ffiVoid_NSRange_bool_fnPtrTrampoline).cast(), - ptr.cast(), - ), lib); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + _NSRange arg1, + ffi.Pointer arg2, + )>> + ptr, + ) : this._( + objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + )>( + _ObjCBlock_ffiVoid_ffiVoid_NSRange_bool_fnPtrTrampoline) + .cast(), + ptr.cast(), + ), + lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -58447,22 +52189,25 @@ class ObjCBlock_ffiVoid_ffiVoid_NSRange_bool extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_ffiVoid_NSRange_bool.fromFunction( AVFAudio lib, void Function(ffi.Pointer, _NSRange, ffi.Pointer) fn, - ) : this._(objc.newBlock( - _dartFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - ) - >(_ObjCBlock_ffiVoid_ffiVoid_NSRange_bool_closureTrampoline).cast(), - _ObjCBlock_ffiVoid_ffiVoid_NSRange_bool_registerClosure(( - ffi.Pointer arg0, - _NSRange arg1, - ffi.Pointer arg2, - ) => fn(arg0, arg1, arg2)), - ), lib); + ) : this._( + objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + )>( + _ObjCBlock_ffiVoid_ffiVoid_NSRange_bool_closureTrampoline) + .cast(), + _ObjCBlock_ffiVoid_ffiVoid_NSRange_bool_registerClosure(( + ffi.Pointer arg0, + _NSRange arg1, + ffi.Pointer arg2, + ) => + fn(arg0, arg1, arg2)), + ), + lib); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -58477,57 +52222,56 @@ class ObjCBlock_ffiVoid_ffiVoid_NSRange_bool extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_ffiVoid_NSRange_bool.listener( AVFAudio lib, void Function(ffi.Pointer, _NSRange, ffi.Pointer) fn, - ) : this._(objc.newBlock( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - ) - >.listener( - _ObjCBlock_ffiVoid_ffiVoid_NSRange_bool_closureTrampoline, - )..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_ffiVoid_NSRange_bool_registerClosure(( - ffi.Pointer arg0, - _NSRange arg1, - ffi.Pointer arg2, - ) => fn(arg0, arg1, arg2)), - ), lib); + ) : this._( + objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + )>.listener( + _ObjCBlock_ffiVoid_ffiVoid_NSRange_bool_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_ffiVoid_NSRange_bool_registerClosure(( + ffi.Pointer arg0, + _NSRange arg1, + ffi.Pointer arg2, + ) => + fn(arg0, arg1, arg2)), + ), + lib); static ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - ) - >? _dartFuncListenerTrampoline; + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + )>? _dartFuncListenerTrampoline; void call( ffi.Pointer arg0, _NSRange arg1, ffi.Pointer arg2, - ) => pointer.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer block, - ffi.Pointer arg0, - _NSRange arg1, - ffi.Pointer arg2, - ) - > - >() - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - ) - >()(pointer, arg0, arg1, arg2); + ) => + pointer.ref.invoke + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer block, + ffi.Pointer arg0, + _NSRange arg1, + ffi.Pointer arg2, + )>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + )>()(pointer, arg0, arg1, arg2); } abstract class NSDataReadingOptions { @@ -58543,18 +52287,18 @@ void _ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong_fnPtrTrampoline( ffi.Pointer block, ffi.Pointer arg0, int arg1, -) => block.ref.target - .cast< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer arg0, ffi.UnsignedLong arg1) - > - >() - .asFunction, int)>()(arg0, arg1); +) => + block.ref.target + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, ffi.UnsignedLong arg1)>>() + .asFunction, int)>()(arg0, arg1); final _ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong_closureRegistry = , int)>{}; int _ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong_closureRegistryIndex = 0; ffi.Pointer -_ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong_registerClosure( + _ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong_registerClosure( void Function(ffi.Pointer, int) fn, ) { final id = ++_ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong_closureRegistryIndex; @@ -58566,10 +52310,9 @@ void _ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong_closureTrampoline( ffi.Pointer block, ffi.Pointer arg0, int arg1, -) => _ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong_closureRegistry[block - .ref - .target - .address]!(arg0, arg1); +) => + _ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong_closureRegistry[ + block.ref.target.address]!(arg0, arg1); class ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong._( @@ -58604,23 +52347,23 @@ class ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong.fromFunctionPointer( AVFAudio lib, ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer arg0, ffi.UnsignedLong arg1) - > - > ptr, - ) : this._(objc.newBlock( - _cFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ) - >( - _ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong_fnPtrTrampoline, - ).cast(), - ptr.cast(), - ), lib); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, ffi.UnsignedLong arg1)>> + ptr, + ) : this._( + objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + )>( + _ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong_fnPtrTrampoline, + ).cast(), + ptr.cast(), + ), + lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -58631,22 +52374,23 @@ class ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong.fromFunction( AVFAudio lib, void Function(ffi.Pointer, int) fn, - ) : this._(objc.newBlock( - _dartFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ) - >( - _ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong_closureTrampoline, - ).cast(), - _ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong_registerClosure(( - ffi.Pointer arg0, - int arg1, - ) => fn(arg0, arg1)), - ), lib); + ) : this._( + objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + )>( + _ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong_closureTrampoline, + ).cast(), + _ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong_registerClosure(( + ffi.Pointer arg0, + int arg1, + ) => + fn(arg0, arg1)), + ), + lib); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -58661,44 +52405,43 @@ class ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong.listener( AVFAudio lib, void Function(ffi.Pointer, int) fn, - ) : this._(objc.newBlock( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ) - >.listener( - _ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong_closureTrampoline, - )..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong_registerClosure(( - ffi.Pointer arg0, - int arg1, - ) => fn(arg0, arg1)), - ), lib); + ) : this._( + objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + )>.listener( + _ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong_registerClosure(( + ffi.Pointer arg0, + int arg1, + ) => + fn(arg0, arg1)), + ), + lib); static ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ) - >? _dartFuncListenerTrampoline; + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + )>? _dartFuncListenerTrampoline; void call(ffi.Pointer arg0, int arg1) => pointer.ref.invoke .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.UnsignedLong arg1, - ) - > - >() + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.UnsignedLong arg1, + )>>() .asFunction< - void Function(ffi.Pointer, ffi.Pointer, int) - >()(pointer, arg0, arg1); + void Function(ffi.Pointer, ffi.Pointer, + int)>()(pointer, arg0, arg1); } abstract class NSDataBase64DecodingOptions { @@ -58755,38 +52498,33 @@ void _ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool_fnPtrTrampoline( _NSRange arg1, _NSRange arg2, ffi.Pointer arg3, -) => block.ref.target - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - _NSRange arg1, - _NSRange arg2, - ffi.Pointer arg3, - ) - > - >() - .asFunction< - void Function( - ffi.Pointer, - _NSRange, - _NSRange, - ffi.Pointer, - ) - >()(arg0, arg1, arg2, arg3); -final _ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool_closureRegistry = - < - int, - void Function( - ffi.Pointer, - _NSRange, - _NSRange, - ffi.Pointer, - ) - >{}; +) => + block.ref.target + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + _NSRange arg1, + _NSRange arg2, + ffi.Pointer arg3, + )>>() + .asFunction< + void Function( + ffi.Pointer, + _NSRange, + _NSRange, + ffi.Pointer, + )>()(arg0, arg1, arg2, arg3); +final _ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool_closureRegistry = , + _NSRange, + _NSRange, + ffi.Pointer, +)>{}; int _ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool_closureRegistryIndex = 0; ffi.Pointer -_ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool_registerClosure( + _ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool_registerClosure( void Function( ffi.Pointer, _NSRange, @@ -58806,10 +52544,9 @@ void _ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool_closureTrampoline( _NSRange arg1, _NSRange arg2, ffi.Pointer arg3, -) => _ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool_closureRegistry[block - .ref - .target - .address]!(arg0, arg1, arg2, arg3); +) => + _ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool_closureRegistry[ + block.ref.target.address]!(arg0, arg1, arg2, arg3); class ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool extends objc.ObjCBlockBase { @@ -58845,30 +52582,29 @@ class ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool.fromFunctionPointer( AVFAudio lib, ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - _NSRange arg1, - _NSRange arg2, - ffi.Pointer arg3, - ) - > - > ptr, - ) : this._(objc.newBlock( - _cFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - _NSRange, - ffi.Pointer, - ) - >( - _ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool_fnPtrTrampoline, - ).cast(), - ptr.cast(), - ), lib); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + _NSRange arg1, + _NSRange arg2, + ffi.Pointer arg3, + )>> + ptr, + ) : this._( + objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + _NSRange, + ffi.Pointer, + )>( + _ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool_fnPtrTrampoline, + ).cast(), + ptr.cast(), + ), + lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -58879,33 +52615,34 @@ class ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool.fromFunction( AVFAudio lib, void Function(NSString?, _NSRange, _NSRange, ffi.Pointer) fn, - ) : this._(objc.newBlock( - _dartFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - _NSRange, - ffi.Pointer, - ) - >( - _ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool_closureTrampoline, - ).cast(), - _ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool_registerClosure(( - ffi.Pointer arg0, - _NSRange arg1, - _NSRange arg2, - ffi.Pointer arg3, - ) => fn( - arg0.address == 0 - ? null - : NSString._(arg0, lib, retain: true, release: true), - arg1, - arg2, - arg3, - )), - ), lib); + ) : this._( + objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + _NSRange, + ffi.Pointer, + )>( + _ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool_closureTrampoline, + ).cast(), + _ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool_registerClosure(( + ffi.Pointer arg0, + _NSRange arg1, + _NSRange arg2, + ffi.Pointer arg3, + ) => + fn( + arg0.address == 0 + ? null + : NSString._(arg0, lib, retain: true, release: true), + arg1, + arg2, + arg3, + )), + ), + lib); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -58920,88 +52657,86 @@ class ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool.listener( AVFAudio lib, void Function(NSString?, _NSRange, _NSRange, ffi.Pointer) fn, - ) : this._(objc.newBlock( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - _NSRange, - ffi.Pointer, - ) - >.listener( - _ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool_closureTrampoline, - )..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool_registerClosure(( - ffi.Pointer arg0, - _NSRange arg1, - _NSRange arg2, - ffi.Pointer arg3, - ) => fn( - arg0.address == 0 - ? null - : NSString._(arg0, lib, retain: true, release: true), - arg1, - arg2, - arg3, - )), - ), lib); + ) : this._( + objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + _NSRange, + ffi.Pointer, + )>.listener( + _ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool_registerClosure(( + ffi.Pointer arg0, + _NSRange arg1, + _NSRange arg2, + ffi.Pointer arg3, + ) => + fn( + arg0.address == 0 + ? null + : NSString._(arg0, lib, retain: true, release: true), + arg1, + arg2, + arg3, + )), + ), + lib); static ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - _NSRange, - ffi.Pointer, - ) - >? _dartFuncListenerTrampoline; + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + _NSRange, + ffi.Pointer, + )>? _dartFuncListenerTrampoline; void call( NSString? arg0, _NSRange arg1, _NSRange arg2, ffi.Pointer arg3, - ) => pointer.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer block, - ffi.Pointer arg0, - _NSRange arg1, - _NSRange arg2, - ffi.Pointer arg3, - ) - > - >() - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - _NSRange, - ffi.Pointer, - ) - >()(pointer, arg0?.pointer ?? ffi.nullptr, arg1, arg2, arg3); + ) => + pointer.ref.invoke + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer block, + ffi.Pointer arg0, + _NSRange arg1, + _NSRange arg2, + ffi.Pointer arg3, + )>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + _NSRange, + ffi.Pointer, + )>()(pointer, arg0?.pointer ?? ffi.nullptr, arg1, arg2, arg3); } void _ObjCBlock_ffiVoid_NSString_bool_fnPtrTrampoline( ffi.Pointer block, ffi.Pointer arg0, ffi.Pointer arg1, -) => block.ref.target - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - ) - > - >() - .asFunction< - void Function(ffi.Pointer, ffi.Pointer) - >()(arg0, arg1); +) => + block.ref.target + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + )>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer)>()(arg0, arg1); final _ObjCBlock_ffiVoid_NSString_bool_closureRegistry = , ffi.Pointer)>{}; int _ObjCBlock_ffiVoid_NSString_bool_closureRegistryIndex = 0; @@ -59017,10 +52752,9 @@ void _ObjCBlock_ffiVoid_NSString_bool_closureTrampoline( ffi.Pointer block, ffi.Pointer arg0, ffi.Pointer arg1, -) => _ObjCBlock_ffiVoid_NSString_bool_closureRegistry[block - .ref - .target - .address]!(arg0, arg1); +) => + _ObjCBlock_ffiVoid_NSString_bool_closureRegistry[block.ref.target.address]!( + arg0, arg1); class ObjCBlock_ffiVoid_NSString_bool extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSString_bool._( @@ -59055,24 +52789,24 @@ class ObjCBlock_ffiVoid_NSString_bool extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSString_bool.fromFunctionPointer( AVFAudio lib, ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - ) - > - > ptr, - ) : this._(objc.newBlock( - _cFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(_ObjCBlock_ffiVoid_NSString_bool_fnPtrTrampoline).cast(), - ptr.cast(), - ), lib); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + )>> + ptr, + ) : this._( + objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>(_ObjCBlock_ffiVoid_NSString_bool_fnPtrTrampoline) + .cast(), + ptr.cast(), + ), + lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -59083,20 +52817,22 @@ class ObjCBlock_ffiVoid_NSString_bool extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSString_bool.fromFunction( AVFAudio lib, void Function(NSString, ffi.Pointer) fn, - ) : this._(objc.newBlock( - _dartFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(_ObjCBlock_ffiVoid_NSString_bool_closureTrampoline).cast(), - _ObjCBlock_ffiVoid_NSString_bool_registerClosure(( - ffi.Pointer arg0, - ffi.Pointer arg1, - ) => fn(NSString._(arg0, lib, retain: true, release: true), arg1)), - ), lib); + ) : this._( + objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>(_ObjCBlock_ffiVoid_NSString_bool_closureTrampoline) + .cast(), + _ObjCBlock_ffiVoid_NSString_bool_registerClosure(( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) => + fn(NSString._(arg0, lib, retain: true, release: true), arg1)), + ), + lib); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -59111,48 +52847,46 @@ class ObjCBlock_ffiVoid_NSString_bool extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSString_bool.listener( AVFAudio lib, void Function(NSString, ffi.Pointer) fn, - ) : this._(objc.newBlock( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >.listener( - _ObjCBlock_ffiVoid_NSString_bool_closureTrampoline, - )..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSString_bool_registerClosure(( - ffi.Pointer arg0, - ffi.Pointer arg1, - ) => fn(NSString._(arg0, lib, retain: true, release: true), arg1)), - ), lib); + ) : this._( + objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>.listener( + _ObjCBlock_ffiVoid_NSString_bool_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSString_bool_registerClosure(( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) => + fn(NSString._(arg0, lib, retain: true, release: true), arg1)), + ), + lib); static ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >? _dartFuncListenerTrampoline; + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>? _dartFuncListenerTrampoline; void call(NSString arg0, ffi.Pointer arg1) => pointer.ref.invoke .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Pointer arg1, - ) - > - >() + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, + )>>() .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >()(pointer, arg0.pointer, arg1); + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>()(pointer, arg0.pointer, arg1); } abstract class NSStringEncodingConversionOptions { @@ -59164,25 +52898,24 @@ void _ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong_fnPtrTrampoline( ffi.Pointer block, ffi.Pointer arg0, int arg1, -) => block.ref.target - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.UnsignedLong arg1, - ) - > - >() - .asFunction, int)>()( - arg0, - arg1, -); +) => + block.ref.target + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.UnsignedLong arg1, + )>>() + .asFunction, int)>()( + arg0, + arg1, + ); final _ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong_closureRegistry = , int)>{}; int _ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong_closureRegistryIndex = 0; ffi.Pointer -_ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong_registerClosure( + _ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong_registerClosure( void Function(ffi.Pointer, int) fn, ) { final id = @@ -59195,10 +52928,9 @@ void _ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong_closureTrampoline( ffi.Pointer block, ffi.Pointer arg0, int arg1, -) => _ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong_closureRegistry[block - .ref - .target - .address]!(arg0, arg1); +) => + _ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong_closureRegistry[ + block.ref.target.address]!(arg0, arg1); class ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong extends objc.ObjCBlockBase { @@ -59234,26 +52966,25 @@ class ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong.fromFunctionPointer( AVFAudio lib, ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.UnsignedLong arg1, - ) - > - > ptr, - ) : this._(objc.newBlock( - _cFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ) - >( - _ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong_fnPtrTrampoline, - ).cast(), - ptr.cast(), - ), lib); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.UnsignedLong arg1, + )>> + ptr, + ) : this._( + objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + )>( + _ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong_fnPtrTrampoline, + ).cast(), + ptr.cast(), + ), + lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -59264,22 +52995,24 @@ class ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong.fromFunction( AVFAudio lib, void Function(ffi.Pointer, int) fn, - ) : this._(objc.newBlock( - _dartFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ) - >( - _ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong_closureTrampoline, - ).cast(), - _ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong_registerClosure(( - ffi.Pointer arg0, - int arg1, - ) => fn(arg0, arg1)), - ), lib); + ) : this._( + objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + )>( + _ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong_closureTrampoline, + ).cast(), + _ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong_registerClosure( + ( + ffi.Pointer arg0, + int arg1, + ) => + fn(arg0, arg1)), + ), + lib); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -59294,48 +53027,47 @@ class ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong.listener( AVFAudio lib, void Function(ffi.Pointer, int) fn, - ) : this._(objc.newBlock( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ) - >.listener( - _ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong_closureTrampoline, - )..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong_registerClosure(( - ffi.Pointer arg0, - int arg1, - ) => fn(arg0, arg1)), - ), lib); + ) : this._( + objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + )>.listener( + _ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong_registerClosure( + ( + ffi.Pointer arg0, + int arg1, + ) => + fn(arg0, arg1)), + ), + lib); static ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ) - >? _dartFuncListenerTrampoline; + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + )>? _dartFuncListenerTrampoline; void call(ffi.Pointer arg0, int arg1) => pointer.ref.invoke .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.UnsignedLong arg1, - ) - > - >() + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.UnsignedLong arg1, + )>>() .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >()(pointer, arg0, arg1); + void Function( + ffi.Pointer, + ffi.Pointer, + int, + )>()(pointer, arg0, arg1); } abstract class NSLinguisticTaggerOptions { @@ -59612,18 +53344,17 @@ void _ObjCBlock_ffiVoid_objcObjCObject_bool_fnPtrTrampoline( ffi.Pointer block, ffi.Pointer arg0, ffi.Pointer arg1, -) => block.ref.target - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - ) - > - >() - .asFunction< - void Function(ffi.Pointer, ffi.Pointer) - >()(arg0, arg1); +) => + block.ref.target + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + )>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer)>()(arg0, arg1); final _ObjCBlock_ffiVoid_objcObjCObject_bool_closureRegistry = , ffi.Pointer)>{}; int _ObjCBlock_ffiVoid_objcObjCObject_bool_closureRegistryIndex = 0; @@ -59639,10 +53370,9 @@ void _ObjCBlock_ffiVoid_objcObjCObject_bool_closureTrampoline( ffi.Pointer block, ffi.Pointer arg0, ffi.Pointer arg1, -) => _ObjCBlock_ffiVoid_objcObjCObject_bool_closureRegistry[block - .ref - .target - .address]!(arg0, arg1); +) => + _ObjCBlock_ffiVoid_objcObjCObject_bool_closureRegistry[ + block.ref.target.address]!(arg0, arg1); class ObjCBlock_ffiVoid_objcObjCObject_bool extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_objcObjCObject_bool._( @@ -59677,24 +53407,24 @@ class ObjCBlock_ffiVoid_objcObjCObject_bool extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_objcObjCObject_bool.fromFunctionPointer( AVFAudio lib, ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - ) - > - > ptr, - ) : this._(objc.newBlock( - _cFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(_ObjCBlock_ffiVoid_objcObjCObject_bool_fnPtrTrampoline).cast(), - ptr.cast(), - ), lib); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + )>> + ptr, + ) : this._( + objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>(_ObjCBlock_ffiVoid_objcObjCObject_bool_fnPtrTrampoline) + .cast(), + ptr.cast(), + ), + lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -59705,20 +53435,23 @@ class ObjCBlock_ffiVoid_objcObjCObject_bool extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_objcObjCObject_bool.fromFunction( AVFAudio lib, void Function(NSObject, ffi.Pointer) fn, - ) : this._(objc.newBlock( - _dartFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(_ObjCBlock_ffiVoid_objcObjCObject_bool_closureTrampoline).cast(), - _ObjCBlock_ffiVoid_objcObjCObject_bool_registerClosure(( - ffi.Pointer arg0, - ffi.Pointer arg1, - ) => fn(NSObject._(arg0, lib, retain: true, release: true), arg1)), - ), lib); + ) : this._( + objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>( + _ObjCBlock_ffiVoid_objcObjCObject_bool_closureTrampoline) + .cast(), + _ObjCBlock_ffiVoid_objcObjCObject_bool_registerClosure(( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) => + fn(NSObject._(arg0, lib, retain: true, release: true), arg1)), + ), + lib); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -59733,66 +53466,63 @@ class ObjCBlock_ffiVoid_objcObjCObject_bool extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_objcObjCObject_bool.listener( AVFAudio lib, void Function(NSObject, ffi.Pointer) fn, - ) : this._(objc.newBlock( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >.listener( - _ObjCBlock_ffiVoid_objcObjCObject_bool_closureTrampoline, - )..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_objcObjCObject_bool_registerClosure(( - ffi.Pointer arg0, - ffi.Pointer arg1, - ) => fn(NSObject._(arg0, lib, retain: true, release: true), arg1)), - ), lib); + ) : this._( + objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>.listener( + _ObjCBlock_ffiVoid_objcObjCObject_bool_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_objcObjCObject_bool_registerClosure(( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) => + fn(NSObject._(arg0, lib, retain: true, release: true), arg1)), + ), + lib); static ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >? _dartFuncListenerTrampoline; + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>? _dartFuncListenerTrampoline; void call(NSObject arg0, ffi.Pointer arg1) => pointer.ref.invoke .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Pointer arg1, - ) - > - >() + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, + )>>() .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >()(pointer, arg0.pointer, arg1); + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>()(pointer, arg0.pointer, arg1); } bool _ObjCBlock_bool_objcObjCObject_bool_fnPtrTrampoline( ffi.Pointer block, ffi.Pointer arg0, ffi.Pointer arg1, -) => block.ref.target - .cast< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - ) - > - >() - .asFunction< - bool Function(ffi.Pointer, ffi.Pointer) - >()(arg0, arg1); +) => + block.ref.target + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + )>>() + .asFunction< + bool Function(ffi.Pointer, + ffi.Pointer)>()(arg0, arg1); final _ObjCBlock_bool_objcObjCObject_bool_closureRegistry = , ffi.Pointer)>{}; int _ObjCBlock_bool_objcObjCObject_bool_closureRegistryIndex = 0; @@ -59808,10 +53538,9 @@ bool _ObjCBlock_bool_objcObjCObject_bool_closureTrampoline( ffi.Pointer block, ffi.Pointer arg0, ffi.Pointer arg1, -) => _ObjCBlock_bool_objcObjCObject_bool_closureRegistry[block - .ref - .target - .address]!(arg0, arg1); +) => + _ObjCBlock_bool_objcObjCObject_bool_closureRegistry[ + block.ref.target.address]!(arg0, arg1); class ObjCBlock_bool_objcObjCObject_bool extends objc.ObjCBlockBase { ObjCBlock_bool_objcObjCObject_bool._( @@ -59846,27 +53575,26 @@ class ObjCBlock_bool_objcObjCObject_bool extends objc.ObjCBlockBase { ObjCBlock_bool_objcObjCObject_bool.fromFunctionPointer( AVFAudio lib, ffi.Pointer< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - ) - > - > ptr, - ) : this._(objc.newBlock( - _cFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >( - _ObjCBlock_bool_objcObjCObject_bool_fnPtrTrampoline, - false, - ).cast(), - ptr.cast(), - ), lib); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + )>> + ptr, + ) : this._( + objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>( + _ObjCBlock_bool_objcObjCObject_bool_fnPtrTrampoline, + false, + ).cast(), + ptr.cast(), + ), + lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -59877,42 +53605,40 @@ class ObjCBlock_bool_objcObjCObject_bool extends objc.ObjCBlockBase { ObjCBlock_bool_objcObjCObject_bool.fromFunction( AVFAudio lib, bool Function(NSObject, ffi.Pointer) fn, - ) : this._(objc.newBlock( - _dartFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >( - _ObjCBlock_bool_objcObjCObject_bool_closureTrampoline, - false, - ).cast(), - _ObjCBlock_bool_objcObjCObject_bool_registerClosure(( - ffi.Pointer arg0, - ffi.Pointer arg1, - ) => fn(NSObject._(arg0, lib, retain: true, release: true), arg1)), - ), lib); + ) : this._( + objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>( + _ObjCBlock_bool_objcObjCObject_bool_closureTrampoline, + false, + ).cast(), + _ObjCBlock_bool_objcObjCObject_bool_registerClosure(( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) => + fn(NSObject._(arg0, lib, retain: true, release: true), arg1)), + ), + lib); static ffi.Pointer? _dartFuncTrampoline; bool call(NSObject arg0, ffi.Pointer arg1) => pointer.ref.invoke .cast< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Pointer arg1, - ) - > - >() + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, + )>>() .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >()(pointer, arg0.pointer, arg1); + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>()(pointer, arg0.pointer, arg1); } class NSFileManager extends NSObject { @@ -60671,7 +54397,7 @@ class NSFileManager extends NSObject { } bool - replaceItemAtURL_withItemAtURL_backupItemName_options_resultingItemURL_error_( + replaceItemAtURL_withItemAtURL_backupItemName_options_resultingItemURL_error_( NSURL originalItemURL, NSURL newItemURL, NSString? backupItemName, @@ -60969,11 +54695,12 @@ abstract class NSFileManagerUnmountOptions { void _ObjCBlock_ffiVoid_NSError_fnPtrTrampoline( ffi.Pointer block, ffi.Pointer arg0, -) => block.ref.target - .cast< - ffi.NativeFunction arg0)> - >() - .asFunction)>()(arg0); +) => + block.ref.target + .cast< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer arg0)>>() + .asFunction)>()(arg0); final _ObjCBlock_ffiVoid_NSError_closureRegistry = )>{}; int _ObjCBlock_ffiVoid_NSError_closureRegistryIndex = 0; @@ -60988,9 +54715,10 @@ ffi.Pointer _ObjCBlock_ffiVoid_NSError_registerClosure( void _ObjCBlock_ffiVoid_NSError_closureTrampoline( ffi.Pointer block, ffi.Pointer arg0, -) => _ObjCBlock_ffiVoid_NSError_closureRegistry[block.ref.target.address]!( - arg0, -); +) => + _ObjCBlock_ffiVoid_NSError_closureRegistry[block.ref.target.address]!( + arg0, + ); class ObjCBlock_ffiVoid_NSError extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSError._( @@ -61025,18 +54753,20 @@ class ObjCBlock_ffiVoid_NSError extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSError.fromFunctionPointer( AVFAudio lib, ffi.Pointer< - ffi.NativeFunction arg0)> - > ptr, - ) : this._(objc.newBlock( - _cFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ) - >(_ObjCBlock_ffiVoid_NSError_fnPtrTrampoline).cast(), - ptr.cast(), - ), lib); + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer arg0)>> + ptr, + ) : this._( + objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + )>(_ObjCBlock_ffiVoid_NSError_fnPtrTrampoline) + .cast(), + ptr.cast(), + ), + lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -61047,22 +54777,24 @@ class ObjCBlock_ffiVoid_NSError extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSError.fromFunction( AVFAudio lib, void Function(NSError?) fn, - ) : this._(objc.newBlock( - _dartFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ) - >(_ObjCBlock_ffiVoid_NSError_closureTrampoline).cast(), - _ObjCBlock_ffiVoid_NSError_registerClosure(( - ffi.Pointer arg0, - ) => fn( - arg0.address == 0 - ? null - : NSError._(arg0, lib, retain: true, release: true), - )), - ), lib); + ) : this._( + objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + )>(_ObjCBlock_ffiVoid_NSError_closureTrampoline) + .cast(), + _ObjCBlock_ffiVoid_NSError_registerClosure(( + ffi.Pointer arg0, + ) => + fn( + arg0.address == 0 + ? null + : NSError._(arg0, lib, retain: true, release: true), + )), + ), + lib); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -61075,41 +54807,43 @@ class ObjCBlock_ffiVoid_NSError extends objc.ObjCBlockBase { /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. ObjCBlock_ffiVoid_NSError.listener(AVFAudio lib, void Function(NSError?) fn) - : this._(objc.newBlock( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ) - >.listener( - _ObjCBlock_ffiVoid_NSError_closureTrampoline, - )..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSError_registerClosure(( - ffi.Pointer arg0, - ) => fn( - arg0.address == 0 - ? null - : NSError._(arg0, lib, retain: true, release: true), - )), - ), lib); + : this._( + objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + )>.listener( + _ObjCBlock_ffiVoid_NSError_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSError_registerClosure(( + ffi.Pointer arg0, + ) => + fn( + arg0.address == 0 + ? null + : NSError._(arg0, lib, retain: true, release: true), + )), + ), + lib); static ffi.NativeCallable< - ffi.Void Function(ffi.Pointer, ffi.Pointer) - >? _dartFuncListenerTrampoline; + ffi.Void Function( + ffi.Pointer, ffi.Pointer)>? + _dartFuncListenerTrampoline; void call(NSError? arg0) => pointer.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer block, - ffi.Pointer arg0, - ) - > - >() - .asFunction< - void Function(ffi.Pointer, ffi.Pointer) - >()(pointer, arg0?.pointer ?? ffi.nullptr); + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer block, + ffi.Pointer arg0, + )>>() + .asFunction< + void Function( + ffi.Pointer, ffi.Pointer)>()( + pointer, arg0?.pointer ?? ffi.nullptr); } abstract class NSDirectoryEnumerationOptions { @@ -61168,23 +54902,20 @@ bool _ObjCBlock_bool_NSURL_NSError_fnPtrTrampoline( ffi.Pointer block, ffi.Pointer arg0, ffi.Pointer arg1, -) => block.ref.target - .cast< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - ) - > - >() - .asFunction< - bool Function(ffi.Pointer, ffi.Pointer) - >()(arg0, arg1); -final _ObjCBlock_bool_NSURL_NSError_closureRegistry = - < - int, - bool Function(ffi.Pointer, ffi.Pointer) - >{}; +) => + block.ref.target + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + )>>() + .asFunction< + bool Function(ffi.Pointer, + ffi.Pointer)>()(arg0, arg1); +final _ObjCBlock_bool_NSURL_NSError_closureRegistry = , ffi.Pointer)>{}; int _ObjCBlock_bool_NSURL_NSError_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_bool_NSURL_NSError_registerClosure( bool Function(ffi.Pointer, ffi.Pointer) fn, @@ -61198,10 +54929,11 @@ bool _ObjCBlock_bool_NSURL_NSError_closureTrampoline( ffi.Pointer block, ffi.Pointer arg0, ffi.Pointer arg1, -) => _ObjCBlock_bool_NSURL_NSError_closureRegistry[block.ref.target.address]!( - arg0, - arg1, -); +) => + _ObjCBlock_bool_NSURL_NSError_closureRegistry[block.ref.target.address]!( + arg0, + arg1, + ); class ObjCBlock_bool_NSURL_NSError extends objc.ObjCBlockBase { ObjCBlock_bool_NSURL_NSError._( @@ -61236,24 +54968,24 @@ class ObjCBlock_bool_NSURL_NSError extends objc.ObjCBlockBase { ObjCBlock_bool_NSURL_NSError.fromFunctionPointer( AVFAudio lib, ffi.Pointer< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - ) - > - > ptr, - ) : this._(objc.newBlock( - _cFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(_ObjCBlock_bool_NSURL_NSError_fnPtrTrampoline, false).cast(), - ptr.cast(), - ), lib); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + )>> + ptr, + ) : this._( + objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>(_ObjCBlock_bool_NSURL_NSError_fnPtrTrampoline, false) + .cast(), + ptr.cast(), + ), + lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -61264,42 +54996,41 @@ class ObjCBlock_bool_NSURL_NSError extends objc.ObjCBlockBase { ObjCBlock_bool_NSURL_NSError.fromFunction( AVFAudio lib, bool Function(NSURL, NSError) fn, - ) : this._(objc.newBlock( - _dartFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(_ObjCBlock_bool_NSURL_NSError_closureTrampoline, false).cast(), - _ObjCBlock_bool_NSURL_NSError_registerClosure(( - ffi.Pointer arg0, - ffi.Pointer arg1, - ) => fn( - NSURL._(arg0, lib, retain: true, release: true), - NSError._(arg1, lib, retain: true, release: true), - )), - ), lib); + ) : this._( + objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>(_ObjCBlock_bool_NSURL_NSError_closureTrampoline, false) + .cast(), + _ObjCBlock_bool_NSURL_NSError_registerClosure(( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) => + fn( + NSURL._(arg0, lib, retain: true, release: true), + NSError._(arg1, lib, retain: true, release: true), + )), + ), + lib); static ffi.Pointer? _dartFuncTrampoline; bool call(NSURL arg0, NSError arg1) => pointer.ref.invoke .cast< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Pointer arg1, - ) - > - >() + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, + )>>() .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >()(pointer, arg0.pointer, arg1.pointer); + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>()(pointer, arg0.pointer, arg1.pointer); } abstract class NSFileManagerItemReplacementOptions { @@ -61311,23 +55042,20 @@ void _ObjCBlock_ffiVoid_NSDictionary_NSError_fnPtrTrampoline( ffi.Pointer block, ffi.Pointer arg0, ffi.Pointer arg1, -) => block.ref.target - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - ) - > - >() - .asFunction< - void Function(ffi.Pointer, ffi.Pointer) - >()(arg0, arg1); -final _ObjCBlock_ffiVoid_NSDictionary_NSError_closureRegistry = - < - int, - void Function(ffi.Pointer, ffi.Pointer) - >{}; +) => + block.ref.target + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + )>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer)>()(arg0, arg1); +final _ObjCBlock_ffiVoid_NSDictionary_NSError_closureRegistry = , ffi.Pointer)>{}; int _ObjCBlock_ffiVoid_NSDictionary_NSError_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_ffiVoid_NSDictionary_NSError_registerClosure( void Function(ffi.Pointer, ffi.Pointer) fn, @@ -61341,10 +55069,9 @@ void _ObjCBlock_ffiVoid_NSDictionary_NSError_closureTrampoline( ffi.Pointer block, ffi.Pointer arg0, ffi.Pointer arg1, -) => _ObjCBlock_ffiVoid_NSDictionary_NSError_closureRegistry[block - .ref - .target - .address]!(arg0, arg1); +) => + _ObjCBlock_ffiVoid_NSDictionary_NSError_closureRegistry[ + block.ref.target.address]!(arg0, arg1); class ObjCBlock_ffiVoid_NSDictionary_NSError extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSDictionary_NSError._( @@ -61379,24 +55106,25 @@ class ObjCBlock_ffiVoid_NSDictionary_NSError extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSDictionary_NSError.fromFunctionPointer( AVFAudio lib, ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - ) - > - > ptr, - ) : this._(objc.newBlock( - _cFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(_ObjCBlock_ffiVoid_NSDictionary_NSError_fnPtrTrampoline).cast(), - ptr.cast(), - ), lib); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + )>> + ptr, + ) : this._( + objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>( + _ObjCBlock_ffiVoid_NSDictionary_NSError_fnPtrTrampoline) + .cast(), + ptr.cast(), + ), + lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -61407,27 +55135,31 @@ class ObjCBlock_ffiVoid_NSDictionary_NSError extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSDictionary_NSError.fromFunction( AVFAudio lib, void Function(NSDictionary?, NSError?) fn, - ) : this._(objc.newBlock( - _dartFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(_ObjCBlock_ffiVoid_NSDictionary_NSError_closureTrampoline).cast(), - _ObjCBlock_ffiVoid_NSDictionary_NSError_registerClosure(( - ffi.Pointer arg0, - ffi.Pointer arg1, - ) => fn( - arg0.address == 0 - ? null - : NSDictionary._(arg0, lib, retain: true, release: true), - arg1.address == 0 - ? null - : NSError._(arg1, lib, retain: true, release: true), - )), - ), lib); + ) : this._( + objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>( + _ObjCBlock_ffiVoid_NSDictionary_NSError_closureTrampoline) + .cast(), + _ObjCBlock_ffiVoid_NSDictionary_NSError_registerClosure(( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) => + fn( + arg0.address == 0 + ? null + : NSDictionary._(arg0, lib, + retain: true, release: true), + arg1.address == 0 + ? null + : NSError._(arg1, lib, retain: true, release: true), + )), + ), + lib); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -61442,55 +55174,55 @@ class ObjCBlock_ffiVoid_NSDictionary_NSError extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSDictionary_NSError.listener( AVFAudio lib, void Function(NSDictionary?, NSError?) fn, - ) : this._(objc.newBlock( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >.listener( - _ObjCBlock_ffiVoid_NSDictionary_NSError_closureTrampoline, - )..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSDictionary_NSError_registerClosure(( - ffi.Pointer arg0, - ffi.Pointer arg1, - ) => fn( - arg0.address == 0 - ? null - : NSDictionary._(arg0, lib, retain: true, release: true), - arg1.address == 0 - ? null - : NSError._(arg1, lib, retain: true, release: true), - )), - ), lib); + ) : this._( + objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>.listener( + _ObjCBlock_ffiVoid_NSDictionary_NSError_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSDictionary_NSError_registerClosure(( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) => + fn( + arg0.address == 0 + ? null + : NSDictionary._(arg0, lib, + retain: true, release: true), + arg1.address == 0 + ? null + : NSError._(arg1, lib, retain: true, release: true), + )), + ), + lib); static ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >? _dartFuncListenerTrampoline; + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>? _dartFuncListenerTrampoline; void call(NSDictionary? arg0, NSError? arg1) => pointer.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Pointer arg1, - ) - > - >() - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >()(pointer, arg0?.pointer ?? ffi.nullptr, arg1?.pointer ?? ffi.nullptr); + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, + )>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>()( + pointer, arg0?.pointer ?? ffi.nullptr, arg1?.pointer ?? ffi.nullptr); } class NSMutableArray extends NSArray { @@ -61712,14 +55444,13 @@ class NSMutableArray extends NSArray { void sortUsingFunction_context_( ffi.Pointer< - ffi.NativeFunction< - ffi.Long Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - > compare, + ffi.NativeFunction< + ffi.Long Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>> + compare, ffi.Pointer context, ) { _lib._objc_msgSend_479( @@ -65429,7 +59160,8 @@ ffi.Pointer _ObjCBlock_ffiVoid_registerClosure(void Function() fn) { void _ObjCBlock_ffiVoid_closureTrampoline( ffi.Pointer block, -) => _ObjCBlock_ffiVoid_closureRegistry[block.ref.target.address]!(); +) => + _ObjCBlock_ffiVoid_closureRegistry[block.ref.target.address]!(); class ObjCBlock_ffiVoid extends objc.ObjCBlockBase { ObjCBlock_ffiVoid._( @@ -65459,13 +59191,15 @@ class ObjCBlock_ffiVoid extends objc.ObjCBlockBase { ObjCBlock_ffiVoid.fromFunctionPointer( AVFAudio lib, ffi.Pointer> ptr, - ) : this._(objc.newBlock( - _cFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Void Function(ffi.Pointer) - >(_ObjCBlock_ffiVoid_fnPtrTrampoline).cast(), - ptr.cast(), - ), lib); + ) : this._( + objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function(ffi.Pointer)>( + _ObjCBlock_ffiVoid_fnPtrTrampoline) + .cast(), + ptr.cast(), + ), + lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -65474,13 +59208,15 @@ class ObjCBlock_ffiVoid extends objc.ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid.fromFunction(AVFAudio lib, void Function() fn) - : this._(objc.newBlock( - _dartFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Void Function(ffi.Pointer) - >(_ObjCBlock_ffiVoid_closureTrampoline).cast(), - _ObjCBlock_ffiVoid_registerClosure(() => fn()), - ), lib); + : this._( + objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function(ffi.Pointer)>( + _ObjCBlock_ffiVoid_closureTrampoline) + .cast(), + _ObjCBlock_ffiVoid_registerClosure(() => fn()), + ), + lib); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -65493,23 +59229,24 @@ class ObjCBlock_ffiVoid extends objc.ObjCBlockBase { /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. ObjCBlock_ffiVoid.listener(AVFAudio lib, void Function() fn) - : this._(objc.newBlock( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function(ffi.Pointer) - >.listener( - _ObjCBlock_ffiVoid_closureTrampoline, - )..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_registerClosure(() => fn()), - ), lib); + : this._( + objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function(ffi.Pointer)>.listener( + _ObjCBlock_ffiVoid_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_registerClosure(() => fn()), + ), + lib); static ffi.NativeCallable)>? - _dartFuncListenerTrampoline; + _dartFuncListenerTrampoline; void call() => pointer.ref.invoke .cast< - ffi.NativeFunction block)> - >() + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer block)>>() .asFunction)>()(pointer); } @@ -67138,7 +60875,7 @@ class NSTimer extends NSObject { } static NSTimer - scheduledTimerWithTimeInterval_target_selector_userInfo_repeats_( + scheduledTimerWithTimeInterval_target_selector_userInfo_repeats_( AVFAudio _lib, double ti, NSObject aTarget, @@ -67401,11 +61138,12 @@ class NSTimer extends NSObject { void _ObjCBlock_ffiVoid_NSTimer_fnPtrTrampoline( ffi.Pointer block, ffi.Pointer arg0, -) => block.ref.target - .cast< - ffi.NativeFunction arg0)> - >() - .asFunction)>()(arg0); +) => + block.ref.target + .cast< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer arg0)>>() + .asFunction)>()(arg0); final _ObjCBlock_ffiVoid_NSTimer_closureRegistry = )>{}; int _ObjCBlock_ffiVoid_NSTimer_closureRegistryIndex = 0; @@ -67420,9 +61158,10 @@ ffi.Pointer _ObjCBlock_ffiVoid_NSTimer_registerClosure( void _ObjCBlock_ffiVoid_NSTimer_closureTrampoline( ffi.Pointer block, ffi.Pointer arg0, -) => _ObjCBlock_ffiVoid_NSTimer_closureRegistry[block.ref.target.address]!( - arg0, -); +) => + _ObjCBlock_ffiVoid_NSTimer_closureRegistry[block.ref.target.address]!( + arg0, + ); class ObjCBlock_ffiVoid_NSTimer extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSTimer._( @@ -67457,18 +61196,20 @@ class ObjCBlock_ffiVoid_NSTimer extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSTimer.fromFunctionPointer( AVFAudio lib, ffi.Pointer< - ffi.NativeFunction arg0)> - > ptr, - ) : this._(objc.newBlock( - _cFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ) - >(_ObjCBlock_ffiVoid_NSTimer_fnPtrTrampoline).cast(), - ptr.cast(), - ), lib); + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer arg0)>> + ptr, + ) : this._( + objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + )>(_ObjCBlock_ffiVoid_NSTimer_fnPtrTrampoline) + .cast(), + ptr.cast(), + ), + lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -67479,18 +61220,20 @@ class ObjCBlock_ffiVoid_NSTimer extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSTimer.fromFunction( AVFAudio lib, void Function(NSTimer) fn, - ) : this._(objc.newBlock( - _dartFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ) - >(_ObjCBlock_ffiVoid_NSTimer_closureTrampoline).cast(), - _ObjCBlock_ffiVoid_NSTimer_registerClosure(( - ffi.Pointer arg0, - ) => fn(NSTimer._(arg0, lib, retain: true, release: true))), - ), lib); + ) : this._( + objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + )>(_ObjCBlock_ffiVoid_NSTimer_closureTrampoline) + .cast(), + _ObjCBlock_ffiVoid_NSTimer_registerClosure(( + ffi.Pointer arg0, + ) => + fn(NSTimer._(arg0, lib, retain: true, release: true))), + ), + lib); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -67503,37 +61246,38 @@ class ObjCBlock_ffiVoid_NSTimer extends objc.ObjCBlockBase { /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. ObjCBlock_ffiVoid_NSTimer.listener(AVFAudio lib, void Function(NSTimer) fn) - : this._(objc.newBlock( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ) - >.listener( - _ObjCBlock_ffiVoid_NSTimer_closureTrampoline, - )..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSTimer_registerClosure(( - ffi.Pointer arg0, - ) => fn(NSTimer._(arg0, lib, retain: true, release: true))), - ), lib); + : this._( + objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + )>.listener( + _ObjCBlock_ffiVoid_NSTimer_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSTimer_registerClosure(( + ffi.Pointer arg0, + ) => + fn(NSTimer._(arg0, lib, retain: true, release: true))), + ), + lib); static ffi.NativeCallable< - ffi.Void Function(ffi.Pointer, ffi.Pointer) - >? _dartFuncListenerTrampoline; + ffi.Void Function( + ffi.Pointer, ffi.Pointer)>? + _dartFuncListenerTrampoline; void call(NSTimer arg0) => pointer.ref.invoke .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer block, - ffi.Pointer arg0, - ) - > - >() + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer block, + ffi.Pointer arg0, + )>>() .asFunction< - void Function(ffi.Pointer, ffi.Pointer) - >()(pointer, arg0.pointer); + void Function(ffi.Pointer, + ffi.Pointer)>()(pointer, arg0.pointer); } class NSConnection extends NSObject { @@ -67643,7 +61387,7 @@ class NSConnection extends NSObject { } static NSDistantObject? - rootProxyForConnectionWithRegisteredName_host_usingNameServer_( + rootProxyForConnectionWithRegisteredName_host_usingNameServer_( AVFAudio _lib, NSString name, NSString? hostName, @@ -68821,7 +62565,7 @@ class NSScriptObjectSpecifier extends NSObject { } NSScriptObjectSpecifier - initWithContainerClassDescription_containerSpecifier_key_( + initWithContainerClassDescription_containerSpecifier_key_( NSScriptClassDescription classDesc, NSScriptObjectSpecifier? container, NSString property, @@ -69330,7 +63074,7 @@ class NSAppleEventDescriptor extends NSObject { } static NSAppleEventDescriptor - appleEventWithEventClass_eventID_targetDescriptor_returnID_transactionID_( + appleEventWithEventClass_eventID_targetDescriptor_returnID_transactionID_( AVFAudio _lib, int eventClass, int eventID, @@ -69452,7 +63196,7 @@ class NSAppleEventDescriptor extends NSObject { } NSAppleEventDescriptor - initWithEventClass_eventID_targetDescriptor_returnID_transactionID_( + initWithEventClass_eventID_targetDescriptor_returnID_transactionID_( int eventClass, int eventID, NSAppleEventDescriptor? targetDescriptor, @@ -70997,7 +64741,7 @@ class NSItemProvider extends NSObject { } void - registerFileRepresentationForTypeIdentifier_fileOptions_visibility_loadHandler_( + registerFileRepresentationForTypeIdentifier_fileOptions_visibility_loadHandler_( NSString typeIdentifier, int fileOptions, int visibility, @@ -71184,7 +64928,7 @@ class NSItemProvider extends NSObject { void registerItemForTypeIdentifier_loadHandler_( NSString typeIdentifier, ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary - loadHandler, + loadHandler, ) { _lib._objc_msgSend_684( this.pointer, @@ -71209,24 +64953,25 @@ class NSItemProvider extends NSObject { } ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary? - get previewImageHandler { + get previewImageHandler { final _ret = _lib._objc_msgSend_686( this.pointer, _lib._sel_previewImageHandler1, ); return _ret.address == 0 ? null - : ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary._( - _ret, - _lib, - retain: true, - release: true, - ); + : ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary + ._( + _ret, + _lib, + retain: true, + release: true, + ); } set previewImageHandler( ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary? - value, + value, ) { return _lib._objc_msgSend_687( this.pointer, @@ -71376,23 +65121,23 @@ abstract class NSItemProviderRepresentationVisibility { } ffi.Pointer -_ObjCBlock_NSProgress_ffiVoidNSDataNSError_fnPtrTrampoline( + _ObjCBlock_NSProgress_ffiVoidNSDataNSError_fnPtrTrampoline( ffi.Pointer block, ffi.Pointer arg0, -) => block.ref.target - .cast< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer arg0) - > - >() - .asFunction< - ffi.Pointer Function(ffi.Pointer) - >()(arg0); +) => + block.ref.target + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer arg0)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer)>()(arg0); final _ObjCBlock_NSProgress_ffiVoidNSDataNSError_closureRegistry = Function(ffi.Pointer)>{}; int _ObjCBlock_NSProgress_ffiVoidNSDataNSError_closureRegistryIndex = 0; ffi.Pointer -_ObjCBlock_NSProgress_ffiVoidNSDataNSError_registerClosure( + _ObjCBlock_NSProgress_ffiVoidNSDataNSError_registerClosure( ffi.Pointer Function(ffi.Pointer) fn, ) { final id = ++_ObjCBlock_NSProgress_ffiVoidNSDataNSError_closureRegistryIndex; @@ -71401,13 +65146,12 @@ _ObjCBlock_NSProgress_ffiVoidNSDataNSError_registerClosure( } ffi.Pointer -_ObjCBlock_NSProgress_ffiVoidNSDataNSError_closureTrampoline( + _ObjCBlock_NSProgress_ffiVoidNSDataNSError_closureTrampoline( ffi.Pointer block, ffi.Pointer arg0, -) => _ObjCBlock_NSProgress_ffiVoidNSDataNSError_closureRegistry[block - .ref - .target - .address]!(arg0); +) => + _ObjCBlock_NSProgress_ffiVoidNSDataNSError_closureRegistry[ + block.ref.target.address]!(arg0); class ObjCBlock_NSProgress_ffiVoidNSDataNSError extends objc.ObjCBlockBase { ObjCBlock_NSProgress_ffiVoidNSDataNSError._( @@ -71442,22 +65186,22 @@ class ObjCBlock_NSProgress_ffiVoidNSDataNSError extends objc.ObjCBlockBase { ObjCBlock_NSProgress_ffiVoidNSDataNSError.fromFunctionPointer( AVFAudio lib, ffi.Pointer< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer arg0) - > - > ptr, - ) : this._(objc.newBlock( - _cFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >( - _ObjCBlock_NSProgress_ffiVoidNSDataNSError_fnPtrTrampoline, - ).cast(), - ptr.cast(), - ), lib); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer arg0)>> + ptr, + ) : this._( + objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>( + _ObjCBlock_NSProgress_ffiVoidNSDataNSError_fnPtrTrampoline, + ).cast(), + ptr.cast(), + ), + lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -71468,63 +65212,60 @@ class ObjCBlock_NSProgress_ffiVoidNSDataNSError extends objc.ObjCBlockBase { ObjCBlock_NSProgress_ffiVoidNSDataNSError.fromFunction( AVFAudio lib, NSProgress? Function(ObjCBlock_ffiVoid_NSData_NSError) fn, - ) : this._(objc.newBlock( - _dartFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >( - _ObjCBlock_NSProgress_ffiVoidNSDataNSError_closureTrampoline, - ).cast(), - _ObjCBlock_NSProgress_ffiVoidNSDataNSError_registerClosure(( - ffi.Pointer arg0, - ) => - fn(ObjCBlock_ffiVoid_NSData_NSError._( - arg0, - lib, - retain: true, - release: true, - ))?.retainAndReturnPointer() ?? - ffi.nullptr), - ), lib); + ) : this._( + objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>( + _ObjCBlock_NSProgress_ffiVoidNSDataNSError_closureTrampoline, + ).cast(), + _ObjCBlock_NSProgress_ffiVoidNSDataNSError_registerClosure(( + ffi.Pointer arg0, + ) => + fn(ObjCBlock_ffiVoid_NSData_NSError._( + arg0, + lib, + retain: true, + release: true, + ))?.retainAndReturnPointer() ?? + ffi.nullptr), + ), + lib); static ffi.Pointer? _dartFuncTrampoline; - NSProgress? call(ObjCBlock_ffiVoid_NSData_NSError arg0) => - pointer.ref.invoke - .cast< - ffi.NativeFunction< + NSProgress? call(ObjCBlock_ffiVoid_NSData_NSError arg0) => pointer.ref.invoke + .cast< + ffi.NativeFunction< ffi.Pointer Function( ffi.Pointer block, ffi.Pointer arg0, - ) - > - >() - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >()(pointer, arg0.pointer) - .address == - 0 - ? null - : NSProgress._(pointer.ref.invoke - .cast< - ffi.NativeFunction< + )>>() + .asFunction< ffi.Pointer Function( - ffi.Pointer block, - ffi.Pointer arg0, - ) - > - >() + ffi.Pointer, + ffi.Pointer, + )>()(pointer, arg0.pointer) + .address == + 0 + ? null + : NSProgress._( + pointer.ref.invoke + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer block, + ffi.Pointer arg0, + )>>() .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >()(pointer, arg0.pointer), _lib, retain: false, release: true); + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>()(pointer, arg0.pointer), + _lib, + retain: false, + release: true); } class NSProgress extends NSObject { @@ -71809,9 +65550,9 @@ class NSProgress extends NSObject { double get fractionCompleted { return objc.useMsgSendVariants ? _lib._objc_msgSend_165_fpret( - this.pointer, - _lib._sel_fractionCompleted1, - ) + this.pointer, + _lib._sel_fractionCompleted1, + ) : _lib._objc_msgSend_165(this.pointer, _lib._sel_fractionCompleted1); } @@ -72111,15 +65852,15 @@ class NSProgress extends NSObject { ffi.Pointer _ObjCBlock_ffiVoid_NSProgress_fnPtrTrampoline( ffi.Pointer block, ffi.Pointer arg0, -) => block.ref.target - .cast< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer arg0) - > - >() - .asFunction< - ffi.Pointer Function(ffi.Pointer) - >()(arg0); +) => + block.ref.target + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer arg0)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer)>()(arg0); final _ObjCBlock_ffiVoid_NSProgress_closureRegistry = Function(ffi.Pointer)>{}; int _ObjCBlock_ffiVoid_NSProgress_closureRegistryIndex = 0; @@ -72134,9 +65875,10 @@ ffi.Pointer _ObjCBlock_ffiVoid_NSProgress_registerClosure( ffi.Pointer _ObjCBlock_ffiVoid_NSProgress_closureTrampoline( ffi.Pointer block, ffi.Pointer arg0, -) => _ObjCBlock_ffiVoid_NSProgress_closureRegistry[block.ref.target.address]!( - arg0, -); +) => + _ObjCBlock_ffiVoid_NSProgress_closureRegistry[block.ref.target.address]!( + arg0, + ); class ObjCBlock_ffiVoid_NSProgress extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSProgress._( @@ -72171,20 +65913,21 @@ class ObjCBlock_ffiVoid_NSProgress extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSProgress.fromFunctionPointer( AVFAudio lib, ffi.Pointer< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer arg0) - > - > ptr, - ) : this._(objc.newBlock( - _cFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(_ObjCBlock_ffiVoid_NSProgress_fnPtrTrampoline).cast(), - ptr.cast(), - ), lib); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer arg0)>> + ptr, + ) : this._( + objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>(_ObjCBlock_ffiVoid_NSProgress_fnPtrTrampoline) + .cast(), + ptr.cast(), + ), + lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -72195,84 +65938,79 @@ class ObjCBlock_ffiVoid_NSProgress extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSProgress.fromFunction( AVFAudio lib, ObjCBlock_ffiVoid? Function(NSProgress) fn, - ) : this._(objc.newBlock( - _dartFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(_ObjCBlock_ffiVoid_NSProgress_closureTrampoline).cast(), - _ObjCBlock_ffiVoid_NSProgress_registerClosure(( - ffi.Pointer arg0, - ) => - fn(NSProgress._( - arg0, - lib, - retain: true, - release: true, - ))?.retainAndReturnPointer() ?? - ffi.nullptr), - ), lib); + ) : this._( + objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>(_ObjCBlock_ffiVoid_NSProgress_closureTrampoline) + .cast(), + _ObjCBlock_ffiVoid_NSProgress_registerClosure(( + ffi.Pointer arg0, + ) => + fn(NSProgress._( + arg0, + lib, + retain: true, + release: true, + ))?.retainAndReturnPointer() ?? + ffi.nullptr), + ), + lib); static ffi.Pointer? _dartFuncTrampoline; - ObjCBlock_ffiVoid? call(NSProgress arg0) => - pointer.ref.invoke - .cast< - ffi.NativeFunction< + ObjCBlock_ffiVoid? call(NSProgress arg0) => pointer.ref.invoke + .cast< + ffi.NativeFunction< ffi.Pointer Function( ffi.Pointer block, ffi.Pointer arg0, - ) - > - >() - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >()(pointer, arg0.pointer) - .address == - 0 - ? null - : ObjCBlock_ffiVoid._(pointer.ref.invoke - .cast< - ffi.NativeFunction< + )>>() + .asFunction< ffi.Pointer Function( - ffi.Pointer block, - ffi.Pointer arg0, - ) - > - >() + ffi.Pointer, + ffi.Pointer, + )>()(pointer, arg0.pointer) + .address == + 0 + ? null + : ObjCBlock_ffiVoid._( + pointer.ref.invoke + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer block, + ffi.Pointer arg0, + )>>() .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >()(pointer, arg0.pointer), _lib, retain: false, release: true); + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>()(pointer, arg0.pointer), + _lib, + retain: false, + release: true); } void _ObjCBlock_ffiVoid_NSData_NSError_fnPtrTrampoline( ffi.Pointer block, ffi.Pointer arg0, ffi.Pointer arg1, -) => block.ref.target - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - ) - > - >() - .asFunction< - void Function(ffi.Pointer, ffi.Pointer) - >()(arg0, arg1); -final _ObjCBlock_ffiVoid_NSData_NSError_closureRegistry = - < - int, - void Function(ffi.Pointer, ffi.Pointer) - >{}; +) => + block.ref.target + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + )>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer)>()(arg0, arg1); +final _ObjCBlock_ffiVoid_NSData_NSError_closureRegistry = , ffi.Pointer)>{}; int _ObjCBlock_ffiVoid_NSData_NSError_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_ffiVoid_NSData_NSError_registerClosure( void Function(ffi.Pointer, ffi.Pointer) fn, @@ -72286,10 +66024,9 @@ void _ObjCBlock_ffiVoid_NSData_NSError_closureTrampoline( ffi.Pointer block, ffi.Pointer arg0, ffi.Pointer arg1, -) => _ObjCBlock_ffiVoid_NSData_NSError_closureRegistry[block - .ref - .target - .address]!(arg0, arg1); +) => + _ObjCBlock_ffiVoid_NSData_NSError_closureRegistry[ + block.ref.target.address]!(arg0, arg1); class ObjCBlock_ffiVoid_NSData_NSError extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSData_NSError._( @@ -72324,24 +66061,24 @@ class ObjCBlock_ffiVoid_NSData_NSError extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSData_NSError.fromFunctionPointer( AVFAudio lib, ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - ) - > - > ptr, - ) : this._(objc.newBlock( - _cFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(_ObjCBlock_ffiVoid_NSData_NSError_fnPtrTrampoline).cast(), - ptr.cast(), - ), lib); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + )>> + ptr, + ) : this._( + objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>(_ObjCBlock_ffiVoid_NSData_NSError_fnPtrTrampoline) + .cast(), + ptr.cast(), + ), + lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -72352,27 +66089,29 @@ class ObjCBlock_ffiVoid_NSData_NSError extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSData_NSError.fromFunction( AVFAudio lib, void Function(NSData?, NSError?) fn, - ) : this._(objc.newBlock( - _dartFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(_ObjCBlock_ffiVoid_NSData_NSError_closureTrampoline).cast(), - _ObjCBlock_ffiVoid_NSData_NSError_registerClosure(( - ffi.Pointer arg0, - ffi.Pointer arg1, - ) => fn( - arg0.address == 0 - ? null - : NSData._(arg0, lib, retain: true, release: true), - arg1.address == 0 - ? null - : NSError._(arg1, lib, retain: true, release: true), - )), - ), lib); + ) : this._( + objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>(_ObjCBlock_ffiVoid_NSData_NSError_closureTrampoline) + .cast(), + _ObjCBlock_ffiVoid_NSData_NSError_registerClosure(( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) => + fn( + arg0.address == 0 + ? null + : NSData._(arg0, lib, retain: true, release: true), + arg1.address == 0 + ? null + : NSError._(arg1, lib, retain: true, release: true), + )), + ), + lib); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -72387,55 +66126,54 @@ class ObjCBlock_ffiVoid_NSData_NSError extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSData_NSError.listener( AVFAudio lib, void Function(NSData?, NSError?) fn, - ) : this._(objc.newBlock( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >.listener( - _ObjCBlock_ffiVoid_NSData_NSError_closureTrampoline, - )..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSData_NSError_registerClosure(( - ffi.Pointer arg0, - ffi.Pointer arg1, - ) => fn( - arg0.address == 0 - ? null - : NSData._(arg0, lib, retain: true, release: true), - arg1.address == 0 - ? null - : NSError._(arg1, lib, retain: true, release: true), - )), - ), lib); + ) : this._( + objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>.listener( + _ObjCBlock_ffiVoid_NSData_NSError_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSData_NSError_registerClosure(( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) => + fn( + arg0.address == 0 + ? null + : NSData._(arg0, lib, retain: true, release: true), + arg1.address == 0 + ? null + : NSError._(arg1, lib, retain: true, release: true), + )), + ), + lib); static ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >? _dartFuncListenerTrampoline; + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>? _dartFuncListenerTrampoline; void call(NSData? arg0, NSError? arg1) => pointer.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Pointer arg1, - ) - > - >() - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >()(pointer, arg0?.pointer ?? ffi.nullptr, arg1?.pointer ?? ffi.nullptr); + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, + )>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>()( + pointer, arg0?.pointer ?? ffi.nullptr, arg1?.pointer ?? ffi.nullptr); } abstract class NSItemProviderFileOptions { @@ -72443,23 +66181,23 @@ abstract class NSItemProviderFileOptions { } ffi.Pointer -_ObjCBlock_NSProgress_ffiVoidNSURLboolNSError_fnPtrTrampoline( + _ObjCBlock_NSProgress_ffiVoidNSURLboolNSError_fnPtrTrampoline( ffi.Pointer block, ffi.Pointer arg0, -) => block.ref.target - .cast< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer arg0) - > - >() - .asFunction< - ffi.Pointer Function(ffi.Pointer) - >()(arg0); +) => + block.ref.target + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer arg0)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer)>()(arg0); final _ObjCBlock_NSProgress_ffiVoidNSURLboolNSError_closureRegistry = Function(ffi.Pointer)>{}; int _ObjCBlock_NSProgress_ffiVoidNSURLboolNSError_closureRegistryIndex = 0; ffi.Pointer -_ObjCBlock_NSProgress_ffiVoidNSURLboolNSError_registerClosure( + _ObjCBlock_NSProgress_ffiVoidNSURLboolNSError_registerClosure( ffi.Pointer Function(ffi.Pointer) fn, ) { final id = @@ -72469,13 +66207,12 @@ _ObjCBlock_NSProgress_ffiVoidNSURLboolNSError_registerClosure( } ffi.Pointer -_ObjCBlock_NSProgress_ffiVoidNSURLboolNSError_closureTrampoline( + _ObjCBlock_NSProgress_ffiVoidNSURLboolNSError_closureTrampoline( ffi.Pointer block, ffi.Pointer arg0, -) => _ObjCBlock_NSProgress_ffiVoidNSURLboolNSError_closureRegistry[block - .ref - .target - .address]!(arg0); +) => + _ObjCBlock_NSProgress_ffiVoidNSURLboolNSError_closureRegistry[ + block.ref.target.address]!(arg0); class ObjCBlock_NSProgress_ffiVoidNSURLboolNSError extends objc.ObjCBlockBase { ObjCBlock_NSProgress_ffiVoidNSURLboolNSError._( @@ -72510,22 +66247,22 @@ class ObjCBlock_NSProgress_ffiVoidNSURLboolNSError extends objc.ObjCBlockBase { ObjCBlock_NSProgress_ffiVoidNSURLboolNSError.fromFunctionPointer( AVFAudio lib, ffi.Pointer< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer arg0) - > - > ptr, - ) : this._(objc.newBlock( - _cFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >( - _ObjCBlock_NSProgress_ffiVoidNSURLboolNSError_fnPtrTrampoline, - ).cast(), - ptr.cast(), - ), lib); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer arg0)>> + ptr, + ) : this._( + objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>( + _ObjCBlock_NSProgress_ffiVoidNSURLboolNSError_fnPtrTrampoline, + ).cast(), + ptr.cast(), + ), + lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -72536,63 +66273,61 @@ class ObjCBlock_NSProgress_ffiVoidNSURLboolNSError extends objc.ObjCBlockBase { ObjCBlock_NSProgress_ffiVoidNSURLboolNSError.fromFunction( AVFAudio lib, NSProgress? Function(ObjCBlock_ffiVoid_NSURL_bool_NSError) fn, - ) : this._(objc.newBlock( - _dartFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >( - _ObjCBlock_NSProgress_ffiVoidNSURLboolNSError_closureTrampoline, - ).cast(), - _ObjCBlock_NSProgress_ffiVoidNSURLboolNSError_registerClosure(( - ffi.Pointer arg0, - ) => - fn(ObjCBlock_ffiVoid_NSURL_bool_NSError._( - arg0, - lib, - retain: true, - release: true, - ))?.retainAndReturnPointer() ?? - ffi.nullptr), - ), lib); + ) : this._( + objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>( + _ObjCBlock_NSProgress_ffiVoidNSURLboolNSError_closureTrampoline, + ).cast(), + _ObjCBlock_NSProgress_ffiVoidNSURLboolNSError_registerClosure(( + ffi.Pointer arg0, + ) => + fn(ObjCBlock_ffiVoid_NSURL_bool_NSError._( + arg0, + lib, + retain: true, + release: true, + ))?.retainAndReturnPointer() ?? + ffi.nullptr), + ), + lib); static ffi.Pointer? _dartFuncTrampoline; NSProgress? call(ObjCBlock_ffiVoid_NSURL_bool_NSError arg0) => pointer.ref.invoke .cast< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer block, - ffi.Pointer arg0, - ) - > - >() + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer block, + ffi.Pointer arg0, + )>>() .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >()(pointer, arg0.pointer) + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>()(pointer, arg0.pointer) .address == 0 ? null - : NSProgress._(pointer.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer block, - ffi.Pointer arg0, - ) - > - >() - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >()(pointer, arg0.pointer), _lib, retain: false, release: true); + : NSProgress._( + pointer.ref.invoke + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer block, + ffi.Pointer arg0, + )>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>()(pointer, arg0.pointer), + _lib, + retain: false, + release: true); } void _ObjCBlock_ffiVoid_NSURL_bool_NSError_fnPtrTrampoline( @@ -72600,32 +66335,27 @@ void _ObjCBlock_ffiVoid_NSURL_bool_NSError_fnPtrTrampoline( ffi.Pointer arg0, bool arg1, ffi.Pointer arg2, -) => block.ref.target - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.Bool arg1, - ffi.Pointer arg2, - ) - > - >() - .asFunction< - void Function( - ffi.Pointer, - bool, - ffi.Pointer, - ) - >()(arg0, arg1, arg2); -final _ObjCBlock_ffiVoid_NSURL_bool_NSError_closureRegistry = - < - int, - void Function( - ffi.Pointer, - bool, - ffi.Pointer, - ) - >{}; +) => + block.ref.target + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Bool arg1, + ffi.Pointer arg2, + )>>() + .asFunction< + void Function( + ffi.Pointer, + bool, + ffi.Pointer, + )>()(arg0, arg1, arg2); +final _ObjCBlock_ffiVoid_NSURL_bool_NSError_closureRegistry = , + bool, + ffi.Pointer, +)>{}; int _ObjCBlock_ffiVoid_NSURL_bool_NSError_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_ffiVoid_NSURL_bool_NSError_registerClosure( void Function( @@ -72644,10 +66374,9 @@ void _ObjCBlock_ffiVoid_NSURL_bool_NSError_closureTrampoline( ffi.Pointer arg0, bool arg1, ffi.Pointer arg2, -) => _ObjCBlock_ffiVoid_NSURL_bool_NSError_closureRegistry[block - .ref - .target - .address]!(arg0, arg1, arg2); +) => + _ObjCBlock_ffiVoid_NSURL_bool_NSError_closureRegistry[ + block.ref.target.address]!(arg0, arg1, arg2); class ObjCBlock_ffiVoid_NSURL_bool_NSError extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSURL_bool_NSError._( @@ -72682,26 +66411,26 @@ class ObjCBlock_ffiVoid_NSURL_bool_NSError extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSURL_bool_NSError.fromFunctionPointer( AVFAudio lib, ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.Bool arg1, - ffi.Pointer arg2, - ) - > - > ptr, - ) : this._(objc.newBlock( - _cFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - ffi.Pointer, - ) - >(_ObjCBlock_ffiVoid_NSURL_bool_NSError_fnPtrTrampoline).cast(), - ptr.cast(), - ), lib); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Bool arg1, + ffi.Pointer arg2, + )>> + ptr, + ) : this._( + objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.Pointer, + )>(_ObjCBlock_ffiVoid_NSURL_bool_NSError_fnPtrTrampoline) + .cast(), + ptr.cast(), + ), + lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -72712,30 +66441,33 @@ class ObjCBlock_ffiVoid_NSURL_bool_NSError extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSURL_bool_NSError.fromFunction( AVFAudio lib, void Function(NSURL?, bool, NSError?) fn, - ) : this._(objc.newBlock( - _dartFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - ffi.Pointer, - ) - >(_ObjCBlock_ffiVoid_NSURL_bool_NSError_closureTrampoline).cast(), - _ObjCBlock_ffiVoid_NSURL_bool_NSError_registerClosure(( - ffi.Pointer arg0, - bool arg1, - ffi.Pointer arg2, - ) => fn( - arg0.address == 0 - ? null - : NSURL._(arg0, lib, retain: true, release: true), - arg1, - arg2.address == 0 - ? null - : NSError._(arg2, lib, retain: true, release: true), - )), - ), lib); + ) : this._( + objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.Pointer, + )>( + _ObjCBlock_ffiVoid_NSURL_bool_NSError_closureTrampoline) + .cast(), + _ObjCBlock_ffiVoid_NSURL_bool_NSError_registerClosure(( + ffi.Pointer arg0, + bool arg1, + ffi.Pointer arg2, + ) => + fn( + arg0.address == 0 + ? null + : NSURL._(arg0, lib, retain: true, release: true), + arg1, + arg2.address == 0 + ? null + : NSError._(arg2, lib, retain: true, release: true), + )), + ), + lib); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -72750,89 +66482,84 @@ class ObjCBlock_ffiVoid_NSURL_bool_NSError extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSURL_bool_NSError.listener( AVFAudio lib, void Function(NSURL?, bool, NSError?) fn, - ) : this._(objc.newBlock( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - ffi.Pointer, - ) - >.listener( - _ObjCBlock_ffiVoid_NSURL_bool_NSError_closureTrampoline, - )..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSURL_bool_NSError_registerClosure(( - ffi.Pointer arg0, - bool arg1, - ffi.Pointer arg2, - ) => fn( - arg0.address == 0 - ? null - : NSURL._(arg0, lib, retain: true, release: true), - arg1, - arg2.address == 0 - ? null - : NSError._(arg2, lib, retain: true, release: true), - )), - ), lib); + ) : this._( + objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.Pointer, + )>.listener( + _ObjCBlock_ffiVoid_NSURL_bool_NSError_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSURL_bool_NSError_registerClosure(( + ffi.Pointer arg0, + bool arg1, + ffi.Pointer arg2, + ) => + fn( + arg0.address == 0 + ? null + : NSURL._(arg0, lib, retain: true, release: true), + arg1, + arg2.address == 0 + ? null + : NSError._(arg2, lib, retain: true, release: true), + )), + ), + lib); static ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - ffi.Pointer, - ) - >? _dartFuncListenerTrampoline; + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.Pointer, + )>? _dartFuncListenerTrampoline; void call(NSURL? arg0, bool arg1, NSError? arg2) => pointer.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Bool arg1, - ffi.Pointer arg2, - ) - > - >() - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - bool, - ffi.Pointer, - ) - >()( - pointer, - arg0?.pointer ?? ffi.nullptr, - arg1, - arg2?.pointer ?? ffi.nullptr, - ); + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Bool arg1, + ffi.Pointer arg2, + )>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + bool, + ffi.Pointer, + )>()( + pointer, + arg0?.pointer ?? ffi.nullptr, + arg1, + arg2?.pointer ?? ffi.nullptr, + ); } void _ObjCBlock_ffiVoid_NSURL_NSError_fnPtrTrampoline( ffi.Pointer block, ffi.Pointer arg0, ffi.Pointer arg1, -) => block.ref.target - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - ) - > - >() - .asFunction< - void Function(ffi.Pointer, ffi.Pointer) - >()(arg0, arg1); -final _ObjCBlock_ffiVoid_NSURL_NSError_closureRegistry = - < - int, - void Function(ffi.Pointer, ffi.Pointer) - >{}; +) => + block.ref.target + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + )>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer)>()(arg0, arg1); +final _ObjCBlock_ffiVoid_NSURL_NSError_closureRegistry = , ffi.Pointer)>{}; int _ObjCBlock_ffiVoid_NSURL_NSError_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_ffiVoid_NSURL_NSError_registerClosure( void Function(ffi.Pointer, ffi.Pointer) fn, @@ -72846,10 +66573,9 @@ void _ObjCBlock_ffiVoid_NSURL_NSError_closureTrampoline( ffi.Pointer block, ffi.Pointer arg0, ffi.Pointer arg1, -) => _ObjCBlock_ffiVoid_NSURL_NSError_closureRegistry[block - .ref - .target - .address]!(arg0, arg1); +) => + _ObjCBlock_ffiVoid_NSURL_NSError_closureRegistry[block.ref.target.address]!( + arg0, arg1); class ObjCBlock_ffiVoid_NSURL_NSError extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSURL_NSError._( @@ -72884,24 +66610,24 @@ class ObjCBlock_ffiVoid_NSURL_NSError extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSURL_NSError.fromFunctionPointer( AVFAudio lib, ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - ) - > - > ptr, - ) : this._(objc.newBlock( - _cFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(_ObjCBlock_ffiVoid_NSURL_NSError_fnPtrTrampoline).cast(), - ptr.cast(), - ), lib); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + )>> + ptr, + ) : this._( + objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>(_ObjCBlock_ffiVoid_NSURL_NSError_fnPtrTrampoline) + .cast(), + ptr.cast(), + ), + lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -72912,27 +66638,29 @@ class ObjCBlock_ffiVoid_NSURL_NSError extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSURL_NSError.fromFunction( AVFAudio lib, void Function(NSURL?, NSError?) fn, - ) : this._(objc.newBlock( - _dartFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(_ObjCBlock_ffiVoid_NSURL_NSError_closureTrampoline).cast(), - _ObjCBlock_ffiVoid_NSURL_NSError_registerClosure(( - ffi.Pointer arg0, - ffi.Pointer arg1, - ) => fn( - arg0.address == 0 - ? null - : NSURL._(arg0, lib, retain: true, release: true), - arg1.address == 0 - ? null - : NSError._(arg1, lib, retain: true, release: true), - )), - ), lib); + ) : this._( + objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>(_ObjCBlock_ffiVoid_NSURL_NSError_closureTrampoline) + .cast(), + _ObjCBlock_ffiVoid_NSURL_NSError_registerClosure(( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) => + fn( + arg0.address == 0 + ? null + : NSURL._(arg0, lib, retain: true, release: true), + arg1.address == 0 + ? null + : NSError._(arg1, lib, retain: true, release: true), + )), + ), + lib); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -72947,75 +66675,74 @@ class ObjCBlock_ffiVoid_NSURL_NSError extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSURL_NSError.listener( AVFAudio lib, void Function(NSURL?, NSError?) fn, - ) : this._(objc.newBlock( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >.listener( - _ObjCBlock_ffiVoid_NSURL_NSError_closureTrampoline, - )..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSURL_NSError_registerClosure(( - ffi.Pointer arg0, - ffi.Pointer arg1, - ) => fn( - arg0.address == 0 - ? null - : NSURL._(arg0, lib, retain: true, release: true), - arg1.address == 0 - ? null - : NSError._(arg1, lib, retain: true, release: true), - )), - ), lib); + ) : this._( + objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>.listener( + _ObjCBlock_ffiVoid_NSURL_NSError_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSURL_NSError_registerClosure(( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) => + fn( + arg0.address == 0 + ? null + : NSURL._(arg0, lib, retain: true, release: true), + arg1.address == 0 + ? null + : NSError._(arg1, lib, retain: true, release: true), + )), + ), + lib); static ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >? _dartFuncListenerTrampoline; + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>? _dartFuncListenerTrampoline; void call(NSURL? arg0, NSError? arg1) => pointer.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Pointer arg1, - ) - > - >() - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >()(pointer, arg0?.pointer ?? ffi.nullptr, arg1?.pointer ?? ffi.nullptr); + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, + )>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>()( + pointer, arg0?.pointer ?? ffi.nullptr, arg1?.pointer ?? ffi.nullptr); } ffi.Pointer -_ObjCBlock_NSProgress_ffiVoidobjcObjCObjectNSError_fnPtrTrampoline( + _ObjCBlock_NSProgress_ffiVoidobjcObjCObjectNSError_fnPtrTrampoline( ffi.Pointer block, ffi.Pointer arg0, -) => block.ref.target - .cast< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer arg0) - > - >() - .asFunction< - ffi.Pointer Function(ffi.Pointer) - >()(arg0); +) => + block.ref.target + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer arg0)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer)>()(arg0); final _ObjCBlock_NSProgress_ffiVoidobjcObjCObjectNSError_closureRegistry = Function(ffi.Pointer)>{}; int _ObjCBlock_NSProgress_ffiVoidobjcObjCObjectNSError_closureRegistryIndex = 0; ffi.Pointer -_ObjCBlock_NSProgress_ffiVoidobjcObjCObjectNSError_registerClosure( + _ObjCBlock_NSProgress_ffiVoidobjcObjCObjectNSError_registerClosure( ffi.Pointer Function(ffi.Pointer) fn, ) { final id = @@ -73025,13 +66752,12 @@ _ObjCBlock_NSProgress_ffiVoidobjcObjCObjectNSError_registerClosure( } ffi.Pointer -_ObjCBlock_NSProgress_ffiVoidobjcObjCObjectNSError_closureTrampoline( + _ObjCBlock_NSProgress_ffiVoidobjcObjCObjectNSError_closureTrampoline( ffi.Pointer block, ffi.Pointer arg0, -) => _ObjCBlock_NSProgress_ffiVoidobjcObjCObjectNSError_closureRegistry[block - .ref - .target - .address]!(arg0); +) => + _ObjCBlock_NSProgress_ffiVoidobjcObjCObjectNSError_closureRegistry[ + block.ref.target.address]!(arg0); class ObjCBlock_NSProgress_ffiVoidobjcObjCObjectNSError extends objc.ObjCBlockBase { @@ -73067,22 +66793,22 @@ class ObjCBlock_NSProgress_ffiVoidobjcObjCObjectNSError ObjCBlock_NSProgress_ffiVoidobjcObjCObjectNSError.fromFunctionPointer( AVFAudio lib, ffi.Pointer< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer arg0) - > - > ptr, - ) : this._(objc.newBlock( - _cFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >( - _ObjCBlock_NSProgress_ffiVoidobjcObjCObjectNSError_fnPtrTrampoline, - ).cast(), - ptr.cast(), - ), lib); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer arg0)>> + ptr, + ) : this._( + objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>( + _ObjCBlock_NSProgress_ffiVoidobjcObjCObjectNSError_fnPtrTrampoline, + ).cast(), + ptr.cast(), + ), + lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -73093,86 +66819,82 @@ class ObjCBlock_NSProgress_ffiVoidobjcObjCObjectNSError ObjCBlock_NSProgress_ffiVoidobjcObjCObjectNSError.fromFunction( AVFAudio lib, NSProgress? Function(ObjCBlock_ffiVoid_objcObjCObject_NSError) fn, - ) : this._(objc.newBlock( - _dartFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >( - _ObjCBlock_NSProgress_ffiVoidobjcObjCObjectNSError_closureTrampoline, - ).cast(), - _ObjCBlock_NSProgress_ffiVoidobjcObjCObjectNSError_registerClosure(( - ffi.Pointer arg0, - ) => - fn(ObjCBlock_ffiVoid_objcObjCObject_NSError._( - arg0, - lib, - retain: true, - release: true, - ))?.retainAndReturnPointer() ?? - ffi.nullptr), - ), lib); + ) : this._( + objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>( + _ObjCBlock_NSProgress_ffiVoidobjcObjCObjectNSError_closureTrampoline, + ).cast(), + _ObjCBlock_NSProgress_ffiVoidobjcObjCObjectNSError_registerClosure( + ( + ffi.Pointer arg0, + ) => + fn(ObjCBlock_ffiVoid_objcObjCObject_NSError._( + arg0, + lib, + retain: true, + release: true, + ))?.retainAndReturnPointer() ?? + ffi.nullptr), + ), + lib); static ffi.Pointer? _dartFuncTrampoline; NSProgress? call(ObjCBlock_ffiVoid_objcObjCObject_NSError arg0) => pointer.ref.invoke .cast< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer block, - ffi.Pointer arg0, - ) - > - >() + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer block, + ffi.Pointer arg0, + )>>() .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >()(pointer, arg0.pointer) + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>()(pointer, arg0.pointer) .address == 0 ? null - : NSProgress._(pointer.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer block, - ffi.Pointer arg0, - ) - > - >() - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >()(pointer, arg0.pointer), _lib, retain: false, release: true); + : NSProgress._( + pointer.ref.invoke + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer block, + ffi.Pointer arg0, + )>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>()(pointer, arg0.pointer), + _lib, + retain: false, + release: true); } void _ObjCBlock_ffiVoid_objcObjCObject_NSError_fnPtrTrampoline( ffi.Pointer block, ffi.Pointer arg0, ffi.Pointer arg1, -) => block.ref.target - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - ) - > - >() - .asFunction< - void Function(ffi.Pointer, ffi.Pointer) - >()(arg0, arg1); -final _ObjCBlock_ffiVoid_objcObjCObject_NSError_closureRegistry = - < - int, - void Function(ffi.Pointer, ffi.Pointer) - >{}; +) => + block.ref.target + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + )>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer)>()(arg0, arg1); +final _ObjCBlock_ffiVoid_objcObjCObject_NSError_closureRegistry = , ffi.Pointer)>{}; int _ObjCBlock_ffiVoid_objcObjCObject_NSError_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_ffiVoid_objcObjCObject_NSError_registerClosure( void Function(ffi.Pointer, ffi.Pointer) fn, @@ -73186,10 +66908,9 @@ void _ObjCBlock_ffiVoid_objcObjCObject_NSError_closureTrampoline( ffi.Pointer block, ffi.Pointer arg0, ffi.Pointer arg1, -) => _ObjCBlock_ffiVoid_objcObjCObject_NSError_closureRegistry[block - .ref - .target - .address]!(arg0, arg1); +) => + _ObjCBlock_ffiVoid_objcObjCObject_NSError_closureRegistry[ + block.ref.target.address]!(arg0, arg1); class ObjCBlock_ffiVoid_objcObjCObject_NSError extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_objcObjCObject_NSError._( @@ -73224,24 +66945,25 @@ class ObjCBlock_ffiVoid_objcObjCObject_NSError extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_objcObjCObject_NSError.fromFunctionPointer( AVFAudio lib, ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - ) - > - > ptr, - ) : this._(objc.newBlock( - _cFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(_ObjCBlock_ffiVoid_objcObjCObject_NSError_fnPtrTrampoline).cast(), - ptr.cast(), - ), lib); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + )>> + ptr, + ) : this._( + objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>( + _ObjCBlock_ffiVoid_objcObjCObject_NSError_fnPtrTrampoline) + .cast(), + ptr.cast(), + ), + lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -73252,29 +66974,30 @@ class ObjCBlock_ffiVoid_objcObjCObject_NSError extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_objcObjCObject_NSError.fromFunction( AVFAudio lib, void Function(NSObject?, NSError?) fn, - ) : this._(objc.newBlock( - _dartFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >( - _ObjCBlock_ffiVoid_objcObjCObject_NSError_closureTrampoline, - ).cast(), - _ObjCBlock_ffiVoid_objcObjCObject_NSError_registerClosure(( - ffi.Pointer arg0, - ffi.Pointer arg1, - ) => fn( - arg0.address == 0 - ? null - : NSObject._(arg0, lib, retain: true, release: true), - arg1.address == 0 - ? null - : NSError._(arg1, lib, retain: true, release: true), - )), - ), lib); + ) : this._( + objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>( + _ObjCBlock_ffiVoid_objcObjCObject_NSError_closureTrampoline, + ).cast(), + _ObjCBlock_ffiVoid_objcObjCObject_NSError_registerClosure(( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) => + fn( + arg0.address == 0 + ? null + : NSObject._(arg0, lib, retain: true, release: true), + arg1.address == 0 + ? null + : NSError._(arg1, lib, retain: true, release: true), + )), + ), + lib); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -73289,94 +67012,88 @@ class ObjCBlock_ffiVoid_objcObjCObject_NSError extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_objcObjCObject_NSError.listener( AVFAudio lib, void Function(NSObject?, NSError?) fn, - ) : this._(objc.newBlock( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >.listener( - _ObjCBlock_ffiVoid_objcObjCObject_NSError_closureTrampoline, - )..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_objcObjCObject_NSError_registerClosure(( - ffi.Pointer arg0, - ffi.Pointer arg1, - ) => fn( - arg0.address == 0 - ? null - : NSObject._(arg0, lib, retain: true, release: true), - arg1.address == 0 - ? null - : NSError._(arg1, lib, retain: true, release: true), - )), - ), lib); + ) : this._( + objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>.listener( + _ObjCBlock_ffiVoid_objcObjCObject_NSError_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_objcObjCObject_NSError_registerClosure(( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) => + fn( + arg0.address == 0 + ? null + : NSObject._(arg0, lib, retain: true, release: true), + arg1.address == 0 + ? null + : NSError._(arg1, lib, retain: true, release: true), + )), + ), + lib); static ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >? _dartFuncListenerTrampoline; + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>? _dartFuncListenerTrampoline; void call(NSObject? arg0, NSError? arg1) => pointer.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Pointer arg1, - ) - > - >() - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >()(pointer, arg0?.pointer ?? ffi.nullptr, arg1?.pointer ?? ffi.nullptr); + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, + )>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>()( + pointer, arg0?.pointer ?? ffi.nullptr, arg1?.pointer ?? ffi.nullptr); } void -_ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary_fnPtrTrampoline( + _ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary_fnPtrTrampoline( ffi.Pointer block, ffi.Pointer arg0, ffi.Pointer arg1, ffi.Pointer arg2, -) => block.ref.target - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2, - ) - > - >() - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >()(arg0, arg1, arg2); +) => + block.ref.target + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, + )>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>()(arg0, arg1, arg2); final _ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary_closureRegistry = - < - int, - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >{}; -int -_ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary_closureRegistryIndex = + , + ffi.Pointer, + ffi.Pointer, +)>{}; +int _ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary_closureRegistryIndex = 0; ffi.Pointer -_ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary_registerClosure( + _ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary_registerClosure( void Function( ffi.Pointer, ffi.Pointer, @@ -73385,22 +67102,20 @@ _ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary_regi ) { final id = ++_ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary_closureRegistryIndex; - _ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary_closureRegistry[id] = - fn; + _ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary_closureRegistry[ + id] = fn; return ffi.Pointer.fromAddress(id); } void -_ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary_closureTrampoline( + _ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary_closureTrampoline( ffi.Pointer block, ffi.Pointer arg0, ffi.Pointer arg1, ffi.Pointer arg2, ) => - _ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary_closureRegistry[block - .ref - .target - .address]!(arg0, arg1, arg2); + _ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary_closureRegistry[ + block.ref.target.address]!(arg0, arg1, arg2); class ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary extends objc.ObjCBlockBase { @@ -73415,13 +67130,14 @@ class ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary /// Returns a block that wraps the given raw block pointer. static ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary - castFromPointer( + castFromPointer( AVFAudio lib, ffi.Pointer pointer, { bool retain = false, bool release = false, }) { - return ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary._( + return ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary + ._( pointer, lib, retain: retain, @@ -73437,28 +67153,27 @@ class ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary.fromFunctionPointer( AVFAudio lib, ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2, - ) - > - > ptr, - ) : this._(objc.newBlock( - _cFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >( - _ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary_fnPtrTrampoline, - ).cast(), - ptr.cast(), - ), lib); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, + )>> + ptr, + ) : this._( + objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>( + _ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary_fnPtrTrampoline, + ).cast(), + ptr.cast(), + ), + lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -73473,35 +67188,36 @@ class ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary NSObject, NSDictionary, ) fn, - ) : this._(objc.newBlock( - _dartFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >( - _ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary_closureTrampoline, - ).cast(), - _ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary_registerClosure( - ( - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2, - ) => fn( - ObjCBlock_ffiVoid_objcObjCObject_NSError1._( - arg0, - lib, - retain: true, - release: true, + ) : this._( + objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>( + _ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary_closureTrampoline, + ).cast(), + _ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary_registerClosure( + ( + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, + ) => + fn( + ObjCBlock_ffiVoid_objcObjCObject_NSError1._( + arg0, + lib, + retain: true, + release: true, + ), + NSObject._(arg1, lib, retain: true, release: true), + NSDictionary._(arg2, lib, retain: true, release: true), + ), + ), ), - NSObject._(arg1, lib, retain: true, release: true), - NSDictionary._(arg2, lib, retain: true, release: true), - ), - ), - ), lib); + lib); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -73520,94 +67236,90 @@ class ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary NSObject, NSDictionary, ) fn, - ) : this._(objc.newBlock( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >.listener( - _ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary_closureTrampoline, - )..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary_registerClosure( - ( - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2, - ) => fn( - ObjCBlock_ffiVoid_objcObjCObject_NSError1._( - arg0, - lib, - retain: true, - release: true, + ) : this._( + objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>.listener( + _ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary_registerClosure( + ( + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, + ) => + fn( + ObjCBlock_ffiVoid_objcObjCObject_NSError1._( + arg0, + lib, + retain: true, + release: true, + ), + NSObject._(arg1, lib, retain: true, release: true), + NSDictionary._(arg2, lib, retain: true, release: true), + ), + ), ), - NSObject._(arg1, lib, retain: true, release: true), - NSDictionary._(arg2, lib, retain: true, release: true), - ), - ), - ), lib); + lib); static ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >? _dartFuncListenerTrampoline; + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>? _dartFuncListenerTrampoline; void call( ObjCBlock_ffiVoid_objcObjCObject_NSError1 arg0, NSObject arg1, NSDictionary arg2, - ) => pointer.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2, - ) - > - >() - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >()(pointer, arg0.pointer, arg1.pointer, arg2.pointer); + ) => + pointer.ref.invoke + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, + )>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>()(pointer, arg0.pointer, arg1.pointer, arg2.pointer); } void _ObjCBlock_ffiVoid_objcObjCObject_NSError1_fnPtrTrampoline( ffi.Pointer block, ffi.Pointer arg0, ffi.Pointer arg1, -) => block.ref.target - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - ) - > - >() - .asFunction< - void Function(ffi.Pointer, ffi.Pointer) - >()(arg0, arg1); -final _ObjCBlock_ffiVoid_objcObjCObject_NSError1_closureRegistry = - < - int, - void Function(ffi.Pointer, ffi.Pointer) - >{}; +) => + block.ref.target + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + )>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer)>()(arg0, arg1); +final _ObjCBlock_ffiVoid_objcObjCObject_NSError1_closureRegistry = , ffi.Pointer)>{}; int _ObjCBlock_ffiVoid_objcObjCObject_NSError1_closureRegistryIndex = 0; ffi.Pointer -_ObjCBlock_ffiVoid_objcObjCObject_NSError1_registerClosure( + _ObjCBlock_ffiVoid_objcObjCObject_NSError1_registerClosure( void Function(ffi.Pointer, ffi.Pointer) fn, ) { final id = ++_ObjCBlock_ffiVoid_objcObjCObject_NSError1_closureRegistryIndex; @@ -73619,10 +67331,9 @@ void _ObjCBlock_ffiVoid_objcObjCObject_NSError1_closureTrampoline( ffi.Pointer block, ffi.Pointer arg0, ffi.Pointer arg1, -) => _ObjCBlock_ffiVoid_objcObjCObject_NSError1_closureRegistry[block - .ref - .target - .address]!(arg0, arg1); +) => + _ObjCBlock_ffiVoid_objcObjCObject_NSError1_closureRegistry[ + block.ref.target.address]!(arg0, arg1); class ObjCBlock_ffiVoid_objcObjCObject_NSError1 extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_objcObjCObject_NSError1._( @@ -73657,26 +67368,25 @@ class ObjCBlock_ffiVoid_objcObjCObject_NSError1 extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_objcObjCObject_NSError1.fromFunctionPointer( AVFAudio lib, ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - ) - > - > ptr, - ) : this._(objc.newBlock( - _cFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >( - _ObjCBlock_ffiVoid_objcObjCObject_NSError1_fnPtrTrampoline, - ).cast(), - ptr.cast(), - ), lib); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + )>> + ptr, + ) : this._( + objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>( + _ObjCBlock_ffiVoid_objcObjCObject_NSError1_fnPtrTrampoline, + ).cast(), + ptr.cast(), + ), + lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -73687,27 +67397,28 @@ class ObjCBlock_ffiVoid_objcObjCObject_NSError1 extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_objcObjCObject_NSError1.fromFunction( AVFAudio lib, void Function(NSObject?, NSError) fn, - ) : this._(objc.newBlock( - _dartFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >( - _ObjCBlock_ffiVoid_objcObjCObject_NSError1_closureTrampoline, - ).cast(), - _ObjCBlock_ffiVoid_objcObjCObject_NSError1_registerClosure(( - ffi.Pointer arg0, - ffi.Pointer arg1, - ) => fn( - arg0.address == 0 - ? null - : NSObject._(arg0, lib, retain: true, release: true), - NSError._(arg1, lib, retain: true, release: true), - )), - ), lib); + ) : this._( + objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>( + _ObjCBlock_ffiVoid_objcObjCObject_NSError1_closureTrampoline, + ).cast(), + _ObjCBlock_ffiVoid_objcObjCObject_NSError1_registerClosure(( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) => + fn( + arg0.address == 0 + ? null + : NSObject._(arg0, lib, retain: true, release: true), + NSError._(arg1, lib, retain: true, release: true), + )), + ), + lib); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -73722,53 +67433,51 @@ class ObjCBlock_ffiVoid_objcObjCObject_NSError1 extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_objcObjCObject_NSError1.listener( AVFAudio lib, void Function(NSObject?, NSError) fn, - ) : this._(objc.newBlock( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >.listener( - _ObjCBlock_ffiVoid_objcObjCObject_NSError1_closureTrampoline, - )..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_objcObjCObject_NSError1_registerClosure(( - ffi.Pointer arg0, - ffi.Pointer arg1, - ) => fn( - arg0.address == 0 - ? null - : NSObject._(arg0, lib, retain: true, release: true), - NSError._(arg1, lib, retain: true, release: true), - )), - ), lib); + ) : this._( + objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>.listener( + _ObjCBlock_ffiVoid_objcObjCObject_NSError1_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_objcObjCObject_NSError1_registerClosure(( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) => + fn( + arg0.address == 0 + ? null + : NSObject._(arg0, lib, retain: true, release: true), + NSError._(arg1, lib, retain: true, release: true), + )), + ), + lib); static ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >? _dartFuncListenerTrampoline; + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>? _dartFuncListenerTrampoline; void call(NSObject? arg0, NSError arg1) => pointer.ref.invoke .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Pointer arg1, - ) - > - >() + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, + )>>() .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >()(pointer, arg0?.pointer ?? ffi.nullptr, arg1.pointer); + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>()(pointer, arg0?.pointer ?? ffi.nullptr, arg1.pointer); } class NSMutableString extends NSString { @@ -74110,7 +67819,7 @@ class NSMutableString extends NSString { @override NSMutableString? - initWithValidatedFormat_validFormatSpecifiers_arguments_error_( + initWithValidatedFormat_validFormatSpecifiers_arguments_error_( NSString format, NSString validFormatSpecifiers, ffi.Pointer<__va_list_tag> argList, @@ -74131,7 +67840,7 @@ class NSMutableString extends NSString { @override NSMutableString? - initWithValidatedFormat_validFormatSpecifiers_locale_arguments_error_( + initWithValidatedFormat_validFormatSpecifiers_locale_arguments_error_( NSString format, NSString validFormatSpecifiers, NSObject? locale, @@ -74290,7 +67999,7 @@ class NSMutableString extends NSString { } static NSMutableString? - stringWithValidatedFormat_validFormatSpecifiers_error_( + stringWithValidatedFormat_validFormatSpecifiers_error_( AVFAudio _lib, NSString format, NSString validFormatSpecifiers, @@ -74309,7 +68018,7 @@ class NSMutableString extends NSString { } static NSMutableString? - localizedStringWithValidatedFormat_validFormatSpecifiers_error_( + localizedStringWithValidatedFormat_validFormatSpecifiers_error_( AVFAudio _lib, NSString format, NSString validFormatSpecifiers, @@ -74504,7 +68213,7 @@ class NSMutableString extends NSString { } static int - stringEncodingForData_encodingOptions_convertedString_usedLossyConversion_( + stringEncodingForData_encodingOptions_convertedString_usedLossyConversion_( AVFAudio _lib, NSData data, NSDictionary? opts, @@ -75599,15 +69308,15 @@ class NSBundle extends NSObject { double preservationPriorityForTag_(NSString tag) { return objc.useMsgSendVariants ? _lib._objc_msgSend_308_fpret( - this.pointer, - _lib._sel_preservationPriorityForTag_1, - tag.pointer, - ) + this.pointer, + _lib._sel_preservationPriorityForTag_1, + tag.pointer, + ) : _lib._objc_msgSend_308( - this.pointer, - _lib._sel_preservationPriorityForTag_1, - tag.pointer, - ); + this.pointer, + _lib._sel_preservationPriorityForTag_1, + tag.pointer, + ); } @override @@ -75920,7 +69629,7 @@ class NSAttributedString extends NSObject { } NSAttributedString? - initWithContentsOfMarkdownFileAtURL_options_baseURL_error_( + initWithContentsOfMarkdownFileAtURL_options_baseURL_error_( NSURL markdownFile, NSAttributedStringMarkdownParsingOptions? options, NSURL? baseURL, @@ -76086,7 +69795,7 @@ class NSAttributedString extends NSObject { } static NSAttributedString - localizedAttributedStringWithFormat_options_context_( + localizedAttributedStringWithFormat_options_context_( AVFAudio _lib, NSAttributedString format, int options, @@ -76240,7 +69949,7 @@ class NSAttributedString extends NSObject { abstract class NSAttributedStringEnumerationOptions { static const int NSAttributedStringEnumerationReverse = 2; static const int - NSAttributedStringEnumerationLongestEffectiveRangeNotRequired = 1048576; + NSAttributedStringEnumerationLongestEffectiveRangeNotRequired = 1048576; } void _ObjCBlock_ffiVoid_NSDictionary_NSRange_bool_fnPtrTrampoline( @@ -76248,35 +69957,30 @@ void _ObjCBlock_ffiVoid_NSDictionary_NSRange_bool_fnPtrTrampoline( ffi.Pointer arg0, _NSRange arg1, ffi.Pointer arg2, -) => block.ref.target - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - _NSRange arg1, - ffi.Pointer arg2, - ) - > - >() - .asFunction< - void Function( - ffi.Pointer, - _NSRange, - ffi.Pointer, - ) - >()(arg0, arg1, arg2); -final _ObjCBlock_ffiVoid_NSDictionary_NSRange_bool_closureRegistry = - < - int, - void Function( - ffi.Pointer, - _NSRange, - ffi.Pointer, - ) - >{}; +) => + block.ref.target + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + _NSRange arg1, + ffi.Pointer arg2, + )>>() + .asFunction< + void Function( + ffi.Pointer, + _NSRange, + ffi.Pointer, + )>()(arg0, arg1, arg2); +final _ObjCBlock_ffiVoid_NSDictionary_NSRange_bool_closureRegistry = , + _NSRange, + ffi.Pointer, +)>{}; int _ObjCBlock_ffiVoid_NSDictionary_NSRange_bool_closureRegistryIndex = 0; ffi.Pointer -_ObjCBlock_ffiVoid_NSDictionary_NSRange_bool_registerClosure( + _ObjCBlock_ffiVoid_NSDictionary_NSRange_bool_registerClosure( void Function( ffi.Pointer, _NSRange, @@ -76294,10 +69998,9 @@ void _ObjCBlock_ffiVoid_NSDictionary_NSRange_bool_closureTrampoline( ffi.Pointer arg0, _NSRange arg1, ffi.Pointer arg2, -) => _ObjCBlock_ffiVoid_NSDictionary_NSRange_bool_closureRegistry[block - .ref - .target - .address]!(arg0, arg1, arg2); +) => + _ObjCBlock_ffiVoid_NSDictionary_NSRange_bool_closureRegistry[ + block.ref.target.address]!(arg0, arg1, arg2); class ObjCBlock_ffiVoid_NSDictionary_NSRange_bool extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSDictionary_NSRange_bool._( @@ -76332,28 +70035,27 @@ class ObjCBlock_ffiVoid_NSDictionary_NSRange_bool extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSDictionary_NSRange_bool.fromFunctionPointer( AVFAudio lib, ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - _NSRange arg1, - ffi.Pointer arg2, - ) - > - > ptr, - ) : this._(objc.newBlock( - _cFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - ) - >( - _ObjCBlock_ffiVoid_NSDictionary_NSRange_bool_fnPtrTrampoline, - ).cast(), - ptr.cast(), - ), lib); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + _NSRange arg1, + ffi.Pointer arg2, + )>> + ptr, + ) : this._( + objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + )>( + _ObjCBlock_ffiVoid_NSDictionary_NSRange_bool_fnPtrTrampoline, + ).cast(), + ptr.cast(), + ), + lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -76364,29 +70066,33 @@ class ObjCBlock_ffiVoid_NSDictionary_NSRange_bool extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSDictionary_NSRange_bool.fromFunction( AVFAudio lib, void Function(NSDictionary, _NSRange, ffi.Pointer) fn, - ) : this._(objc.newBlock( - _dartFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - ) - >( - _ObjCBlock_ffiVoid_NSDictionary_NSRange_bool_closureTrampoline, - ).cast(), - _ObjCBlock_ffiVoid_NSDictionary_NSRange_bool_registerClosure(( - ffi.Pointer arg0, - _NSRange arg1, - ffi.Pointer arg2, - ) => fn(NSDictionary._( - arg0, - lib, - retain: true, - release: true, - ), arg1, arg2)), - ), lib); + ) : this._( + objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + )>( + _ObjCBlock_ffiVoid_NSDictionary_NSRange_bool_closureTrampoline, + ).cast(), + _ObjCBlock_ffiVoid_NSDictionary_NSRange_bool_registerClosure(( + ffi.Pointer arg0, + _NSRange arg1, + ffi.Pointer arg2, + ) => + fn( + NSDictionary._( + arg0, + lib, + retain: true, + release: true, + ), + arg1, + arg2)), + ), + lib); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -76401,62 +70107,64 @@ class ObjCBlock_ffiVoid_NSDictionary_NSRange_bool extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSDictionary_NSRange_bool.listener( AVFAudio lib, void Function(NSDictionary, _NSRange, ffi.Pointer) fn, - ) : this._(objc.newBlock( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - ) - >.listener( - _ObjCBlock_ffiVoid_NSDictionary_NSRange_bool_closureTrampoline, - )..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSDictionary_NSRange_bool_registerClosure(( - ffi.Pointer arg0, - _NSRange arg1, - ffi.Pointer arg2, - ) => fn(NSDictionary._( - arg0, - lib, - retain: true, - release: true, - ), arg1, arg2)), - ), lib); + ) : this._( + objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + )>.listener( + _ObjCBlock_ffiVoid_NSDictionary_NSRange_bool_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSDictionary_NSRange_bool_registerClosure(( + ffi.Pointer arg0, + _NSRange arg1, + ffi.Pointer arg2, + ) => + fn( + NSDictionary._( + arg0, + lib, + retain: true, + release: true, + ), + arg1, + arg2)), + ), + lib); static ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - ) - >? _dartFuncListenerTrampoline; + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + )>? _dartFuncListenerTrampoline; void call( NSDictionary arg0, _NSRange arg1, ffi.Pointer arg2, - ) => pointer.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer block, - ffi.Pointer arg0, - _NSRange arg1, - ffi.Pointer arg2, - ) - > - >() - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - ) - >()(pointer, arg0.pointer, arg1, arg2); + ) => + pointer.ref.invoke + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer block, + ffi.Pointer arg0, + _NSRange arg1, + ffi.Pointer arg2, + )>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + )>()(pointer, arg0.pointer, arg1, arg2); } void _ObjCBlock_ffiVoid_objcObjCObject_NSRange_bool_fnPtrTrampoline( @@ -76464,35 +70172,30 @@ void _ObjCBlock_ffiVoid_objcObjCObject_NSRange_bool_fnPtrTrampoline( ffi.Pointer arg0, _NSRange arg1, ffi.Pointer arg2, -) => block.ref.target - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - _NSRange arg1, - ffi.Pointer arg2, - ) - > - >() - .asFunction< - void Function( - ffi.Pointer, - _NSRange, - ffi.Pointer, - ) - >()(arg0, arg1, arg2); -final _ObjCBlock_ffiVoid_objcObjCObject_NSRange_bool_closureRegistry = - < - int, - void Function( - ffi.Pointer, - _NSRange, - ffi.Pointer, - ) - >{}; +) => + block.ref.target + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + _NSRange arg1, + ffi.Pointer arg2, + )>>() + .asFunction< + void Function( + ffi.Pointer, + _NSRange, + ffi.Pointer, + )>()(arg0, arg1, arg2); +final _ObjCBlock_ffiVoid_objcObjCObject_NSRange_bool_closureRegistry = , + _NSRange, + ffi.Pointer, +)>{}; int _ObjCBlock_ffiVoid_objcObjCObject_NSRange_bool_closureRegistryIndex = 0; ffi.Pointer -_ObjCBlock_ffiVoid_objcObjCObject_NSRange_bool_registerClosure( + _ObjCBlock_ffiVoid_objcObjCObject_NSRange_bool_registerClosure( void Function( ffi.Pointer, _NSRange, @@ -76510,10 +70213,9 @@ void _ObjCBlock_ffiVoid_objcObjCObject_NSRange_bool_closureTrampoline( ffi.Pointer arg0, _NSRange arg1, ffi.Pointer arg2, -) => _ObjCBlock_ffiVoid_objcObjCObject_NSRange_bool_closureRegistry[block - .ref - .target - .address]!(arg0, arg1, arg2); +) => + _ObjCBlock_ffiVoid_objcObjCObject_NSRange_bool_closureRegistry[ + block.ref.target.address]!(arg0, arg1, arg2); class ObjCBlock_ffiVoid_objcObjCObject_NSRange_bool extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_objcObjCObject_NSRange_bool._( @@ -76548,28 +70250,27 @@ class ObjCBlock_ffiVoid_objcObjCObject_NSRange_bool extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_objcObjCObject_NSRange_bool.fromFunctionPointer( AVFAudio lib, ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - _NSRange arg1, - ffi.Pointer arg2, - ) - > - > ptr, - ) : this._(objc.newBlock( - _cFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - ) - >( - _ObjCBlock_ffiVoid_objcObjCObject_NSRange_bool_fnPtrTrampoline, - ).cast(), - ptr.cast(), - ), lib); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + _NSRange arg1, + ffi.Pointer arg2, + )>> + ptr, + ) : this._( + objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + )>( + _ObjCBlock_ffiVoid_objcObjCObject_NSRange_bool_fnPtrTrampoline, + ).cast(), + ptr.cast(), + ), + lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -76580,30 +70281,31 @@ class ObjCBlock_ffiVoid_objcObjCObject_NSRange_bool extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_objcObjCObject_NSRange_bool.fromFunction( AVFAudio lib, void Function(NSObject?, _NSRange, ffi.Pointer) fn, - ) : this._(objc.newBlock( - _dartFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - ) - >( - _ObjCBlock_ffiVoid_objcObjCObject_NSRange_bool_closureTrampoline, - ).cast(), - _ObjCBlock_ffiVoid_objcObjCObject_NSRange_bool_registerClosure(( - ffi.Pointer arg0, - _NSRange arg1, - ffi.Pointer arg2, - ) => fn( - arg0.address == 0 - ? null - : NSObject._(arg0, lib, retain: true, release: true), - arg1, - arg2, - )), - ), lib); + ) : this._( + objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + )>( + _ObjCBlock_ffiVoid_objcObjCObject_NSRange_bool_closureTrampoline, + ).cast(), + _ObjCBlock_ffiVoid_objcObjCObject_NSRange_bool_registerClosure(( + ffi.Pointer arg0, + _NSRange arg1, + ffi.Pointer arg2, + ) => + fn( + arg0.address == 0 + ? null + : NSObject._(arg0, lib, retain: true, release: true), + arg1, + arg2, + )), + ), + lib); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -76618,63 +70320,62 @@ class ObjCBlock_ffiVoid_objcObjCObject_NSRange_bool extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_objcObjCObject_NSRange_bool.listener( AVFAudio lib, void Function(NSObject?, _NSRange, ffi.Pointer) fn, - ) : this._(objc.newBlock( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - ) - >.listener( - _ObjCBlock_ffiVoid_objcObjCObject_NSRange_bool_closureTrampoline, - )..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_objcObjCObject_NSRange_bool_registerClosure(( - ffi.Pointer arg0, - _NSRange arg1, - ffi.Pointer arg2, - ) => fn( - arg0.address == 0 - ? null - : NSObject._(arg0, lib, retain: true, release: true), - arg1, - arg2, - )), - ), lib); + ) : this._( + objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + )>.listener( + _ObjCBlock_ffiVoid_objcObjCObject_NSRange_bool_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_objcObjCObject_NSRange_bool_registerClosure(( + ffi.Pointer arg0, + _NSRange arg1, + ffi.Pointer arg2, + ) => + fn( + arg0.address == 0 + ? null + : NSObject._(arg0, lib, retain: true, release: true), + arg1, + arg2, + )), + ), + lib); static ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - ) - >? _dartFuncListenerTrampoline; + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + )>? _dartFuncListenerTrampoline; void call( NSObject? arg0, _NSRange arg1, ffi.Pointer arg2, - ) => pointer.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer block, - ffi.Pointer arg0, - _NSRange arg1, - ffi.Pointer arg2, - ) - > - >() - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - ) - >()(pointer, arg0?.pointer ?? ffi.nullptr, arg1, arg2); + ) => + pointer.ref.invoke + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer block, + ffi.Pointer arg0, + _NSRange arg1, + ffi.Pointer arg2, + )>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + )>()(pointer, arg0?.pointer ?? ffi.nullptr, arg1, arg2); } class NSAttributedStringMarkdownParsingOptions extends NSObject { @@ -76686,9 +70387,8 @@ class NSAttributedStringMarkdownParsingOptions extends NSObject { }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSAttributedStringMarkdownParsingOptions] that points to the same underlying object as [other]. - static NSAttributedStringMarkdownParsingOptions castFrom< - T extends objc.ObjCObjectBase - >(AVFAudio lib, T other) { + static NSAttributedStringMarkdownParsingOptions + castFrom(AVFAudio lib, T other) { return NSAttributedStringMarkdownParsingOptions._( other.pointer, lib, @@ -76941,18 +70641,20 @@ abstract class NSAttributedStringMarkdownInterpretedSyntax { static const int NSAttributedStringMarkdownInterpretedSyntaxFull = 0; static const int NSAttributedStringMarkdownInterpretedSyntaxInlineOnly = 1; static const int - NSAttributedStringMarkdownInterpretedSyntaxInlineOnlyPreservingWhitespace = 2; + NSAttributedStringMarkdownInterpretedSyntaxInlineOnlyPreservingWhitespace = + 2; } abstract class NSAttributedStringMarkdownParsingFailurePolicy { static const int NSAttributedStringMarkdownParsingFailureReturnError = 0; static const int - NSAttributedStringMarkdownParsingFailureReturnPartiallyParsedIfPossible = 1; + NSAttributedStringMarkdownParsingFailureReturnPartiallyParsedIfPossible = + 1; } abstract class NSAttributedStringFormattingOptions { static const int - NSAttributedStringFormattingInsertArgumentAttributesWithoutMerging = 1; + NSAttributedStringFormattingInsertArgumentAttributesWithoutMerging = 1; static const int NSAttributedStringFormattingApplyReplacementIndexAttribute = 2; } @@ -77156,7 +70858,7 @@ class NSMutableAttributedString extends NSAttributedString { @override NSMutableAttributedString? - initWithContentsOfMarkdownFileAtURL_options_baseURL_error_( + initWithContentsOfMarkdownFileAtURL_options_baseURL_error_( NSURL markdownFile, NSAttributedStringMarkdownParsingOptions? options, NSURL? baseURL, @@ -77328,7 +71030,7 @@ class NSMutableAttributedString extends NSAttributedString { } static NSMutableAttributedString - localizedAttributedStringWithFormat_options_context_( + localizedAttributedStringWithFormat_options_context_( AVFAudio _lib, NSAttributedString format, int options, @@ -78350,7 +72052,7 @@ class NSFormatter extends NSObject { } bool - isPartialStringValid_proposedSelectedRange_originalString_originalSelectedRange_errorDescription_( + isPartialStringValid_proposedSelectedRange_originalString_originalSelectedRange_errorDescription_( ffi.Pointer> partialStringPtr, ffi.Pointer<_NSRange> proposedSelRangePtr, NSString origString, @@ -78799,31 +72501,31 @@ class NSCalendar extends NSObject { void minimumRangeOfUnit_(ffi.Pointer<_NSRange> stret, int unit) { objc.useMsgSendVariants ? _lib._objc_msgSend_767_stret( - stret, - this.pointer, - _lib._sel_minimumRangeOfUnit_1, - unit, - ) + stret, + this.pointer, + _lib._sel_minimumRangeOfUnit_1, + unit, + ) : stret.ref = _lib._objc_msgSend_767( - this.pointer, - _lib._sel_minimumRangeOfUnit_1, - unit, - ); + this.pointer, + _lib._sel_minimumRangeOfUnit_1, + unit, + ); } void maximumRangeOfUnit_(ffi.Pointer<_NSRange> stret, int unit) { objc.useMsgSendVariants ? _lib._objc_msgSend_767_stret( - stret, - this.pointer, - _lib._sel_maximumRangeOfUnit_1, - unit, - ) + stret, + this.pointer, + _lib._sel_maximumRangeOfUnit_1, + unit, + ) : stret.ref = _lib._objc_msgSend_767( - this.pointer, - _lib._sel_maximumRangeOfUnit_1, - unit, - ); + this.pointer, + _lib._sel_maximumRangeOfUnit_1, + unit, + ); } void rangeOfUnit_inUnit_forDate_( @@ -78834,20 +72536,20 @@ class NSCalendar extends NSObject { ) { objc.useMsgSendVariants ? _lib._objc_msgSend_768_stret( - stret, - this.pointer, - _lib._sel_rangeOfUnit_inUnit_forDate_1, - smaller, - larger, - date.pointer, - ) + stret, + this.pointer, + _lib._sel_rangeOfUnit_inUnit_forDate_1, + smaller, + larger, + date.pointer, + ) : stret.ref = _lib._objc_msgSend_768( - this.pointer, - _lib._sel_rangeOfUnit_inUnit_forDate_1, - smaller, - larger, - date.pointer, - ); + this.pointer, + _lib._sel_rangeOfUnit_inUnit_forDate_1, + smaller, + larger, + date.pointer, + ); } int ordinalityOfUnit_inUnit_forDate_(int smaller, int larger, NSDate date) { @@ -79022,7 +72724,7 @@ class NSCalendar extends NSObject { } NSDate? - dateWithEra_yearForWeekOfYear_weekOfYear_weekday_hour_minute_second_nanosecond_( + dateWithEra_yearForWeekOfYear_weekOfYear_weekday_hour_minute_second_nanosecond_( int eraValue, int yearValue, int weekValue, @@ -79874,24 +73576,20 @@ void _ObjCBlock_ffiVoid_NSDate_bool_bool_fnPtrTrampoline( ffi.Pointer arg0, bool arg1, ffi.Pointer arg2, -) => block.ref.target - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.Bool arg1, - ffi.Pointer arg2, - ) - > - >() - .asFunction< - void Function(ffi.Pointer, bool, ffi.Pointer) - >()(arg0, arg1, arg2); -final _ObjCBlock_ffiVoid_NSDate_bool_bool_closureRegistry = - < - int, - void Function(ffi.Pointer, bool, ffi.Pointer) - >{}; +) => + block.ref.target + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Bool arg1, + ffi.Pointer arg2, + )>>() + .asFunction< + void Function(ffi.Pointer, bool, + ffi.Pointer)>()(arg0, arg1, arg2); +final _ObjCBlock_ffiVoid_NSDate_bool_bool_closureRegistry = , bool, ffi.Pointer)>{}; int _ObjCBlock_ffiVoid_NSDate_bool_bool_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_ffiVoid_NSDate_bool_bool_registerClosure( void Function(ffi.Pointer, bool, ffi.Pointer) fn, @@ -79906,10 +73604,9 @@ void _ObjCBlock_ffiVoid_NSDate_bool_bool_closureTrampoline( ffi.Pointer arg0, bool arg1, ffi.Pointer arg2, -) => _ObjCBlock_ffiVoid_NSDate_bool_bool_closureRegistry[block - .ref - .target - .address]!(arg0, arg1, arg2); +) => + _ObjCBlock_ffiVoid_NSDate_bool_bool_closureRegistry[ + block.ref.target.address]!(arg0, arg1, arg2); class ObjCBlock_ffiVoid_NSDate_bool_bool extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSDate_bool_bool._( @@ -79944,26 +73641,26 @@ class ObjCBlock_ffiVoid_NSDate_bool_bool extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSDate_bool_bool.fromFunctionPointer( AVFAudio lib, ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.Bool arg1, - ffi.Pointer arg2, - ) - > - > ptr, - ) : this._(objc.newBlock( - _cFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - ffi.Pointer, - ) - >(_ObjCBlock_ffiVoid_NSDate_bool_bool_fnPtrTrampoline).cast(), - ptr.cast(), - ), lib); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Bool arg1, + ffi.Pointer arg2, + )>> + ptr, + ) : this._( + objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.Pointer, + )>(_ObjCBlock_ffiVoid_NSDate_bool_bool_fnPtrTrampoline) + .cast(), + ptr.cast(), + ), + lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -79974,28 +73671,30 @@ class ObjCBlock_ffiVoid_NSDate_bool_bool extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSDate_bool_bool.fromFunction( AVFAudio lib, void Function(NSDate?, bool, ffi.Pointer) fn, - ) : this._(objc.newBlock( - _dartFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - ffi.Pointer, - ) - >(_ObjCBlock_ffiVoid_NSDate_bool_bool_closureTrampoline).cast(), - _ObjCBlock_ffiVoid_NSDate_bool_bool_registerClosure(( - ffi.Pointer arg0, - bool arg1, - ffi.Pointer arg2, - ) => fn( - arg0.address == 0 - ? null - : NSDate._(arg0, lib, retain: true, release: true), - arg1, - arg2, - )), - ), lib); + ) : this._( + objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.Pointer, + )>(_ObjCBlock_ffiVoid_NSDate_bool_bool_closureTrampoline) + .cast(), + _ObjCBlock_ffiVoid_NSDate_bool_bool_registerClosure(( + ffi.Pointer arg0, + bool arg1, + ffi.Pointer arg2, + ) => + fn( + arg0.address == 0 + ? null + : NSDate._(arg0, lib, retain: true, release: true), + arg1, + arg2, + )), + ), + lib); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -80010,61 +73709,58 @@ class ObjCBlock_ffiVoid_NSDate_bool_bool extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSDate_bool_bool.listener( AVFAudio lib, void Function(NSDate?, bool, ffi.Pointer) fn, - ) : this._(objc.newBlock( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( + ) : this._( + objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.Pointer, + )>.listener( + _ObjCBlock_ffiVoid_NSDate_bool_bool_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSDate_bool_bool_registerClosure(( + ffi.Pointer arg0, + bool arg1, + ffi.Pointer arg2, + ) => + fn( + arg0.address == 0 + ? null + : NSDate._(arg0, lib, retain: true, release: true), + arg1, + arg2, + )), + ), + lib); + static ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.Pointer, + )>? _dartFuncListenerTrampoline; + + void call(NSDate? arg0, bool arg1, ffi.Pointer arg2) => + pointer.ref.invoke + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Bool arg1, + ffi.Pointer arg2, + )>>() + .asFunction< + void Function( ffi.Pointer, ffi.Pointer, - ffi.Bool, + bool, ffi.Pointer, - ) - >.listener( - _ObjCBlock_ffiVoid_NSDate_bool_bool_closureTrampoline, - )..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSDate_bool_bool_registerClosure(( - ffi.Pointer arg0, - bool arg1, - ffi.Pointer arg2, - ) => fn( - arg0.address == 0 - ? null - : NSDate._(arg0, lib, retain: true, release: true), - arg1, - arg2, - )), - ), lib); - static ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - ffi.Pointer, - ) - >? _dartFuncListenerTrampoline; - - void call(NSDate? arg0, bool arg1, ffi.Pointer arg2) => pointer - .ref - .invoke - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Bool arg1, - ffi.Pointer arg2, - ) - > - >() - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - bool, - ffi.Pointer, - ) - >()(pointer, arg0?.pointer ?? ffi.nullptr, arg1, arg2); + )>()(pointer, arg0?.pointer ?? ffi.nullptr, arg1, arg2); } class NSNumberFormatter extends NSFormatter { @@ -81325,7 +75021,7 @@ class NSDecimalNumberHandler extends NSObject { } NSDecimalNumberHandler - initWithRoundingMode_scale_raiseOnExactness_raiseOnOverflow_raiseOnUnderflow_raiseOnDivideByZero_( + initWithRoundingMode_scale_raiseOnExactness_raiseOnOverflow_raiseOnUnderflow_raiseOnDivideByZero_( int roundingMode, int scale, bool exact, @@ -81347,7 +75043,7 @@ class NSDecimalNumberHandler extends NSObject { } static NSDecimalNumberHandler - decimalNumberHandlerWithRoundingMode_scale_raiseOnExactness_raiseOnOverflow_raiseOnUnderflow_raiseOnDivideByZero_( + decimalNumberHandlerWithRoundingMode_scale_raiseOnExactness_raiseOnOverflow_raiseOnUnderflow_raiseOnDivideByZero_( AVFAudio _lib, int roundingMode, int scale, @@ -82471,11 +76167,11 @@ class NSFileHandle extends NSObject { return _ret.address == 0 ? null : ObjCBlock_ffiVoid_NSFileHandle._( - _ret, - _lib, - retain: true, - release: true, - ); + _ret, + _lib, + retain: true, + release: true, + ); } set readabilityHandler(ObjCBlock_ffiVoid_NSFileHandle? value) { @@ -82494,11 +76190,11 @@ class NSFileHandle extends NSObject { return _ret.address == 0 ? null : ObjCBlock_ffiVoid_NSFileHandle._( - _ret, - _lib, - retain: true, - release: true, - ); + _ret, + _lib, + retain: true, + release: true, + ); } set writeabilityHandler(ObjCBlock_ffiVoid_NSFileHandle? value) { @@ -82698,11 +76394,12 @@ class NSFileHandle extends NSObject { void _ObjCBlock_ffiVoid_NSFileHandle_fnPtrTrampoline( ffi.Pointer block, ffi.Pointer arg0, -) => block.ref.target - .cast< - ffi.NativeFunction arg0)> - >() - .asFunction)>()(arg0); +) => + block.ref.target + .cast< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer arg0)>>() + .asFunction)>()(arg0); final _ObjCBlock_ffiVoid_NSFileHandle_closureRegistry = )>{}; int _ObjCBlock_ffiVoid_NSFileHandle_closureRegistryIndex = 0; @@ -82717,9 +76414,10 @@ ffi.Pointer _ObjCBlock_ffiVoid_NSFileHandle_registerClosure( void _ObjCBlock_ffiVoid_NSFileHandle_closureTrampoline( ffi.Pointer block, ffi.Pointer arg0, -) => _ObjCBlock_ffiVoid_NSFileHandle_closureRegistry[block.ref.target.address]!( - arg0, -); +) => + _ObjCBlock_ffiVoid_NSFileHandle_closureRegistry[block.ref.target.address]!( + arg0, + ); class ObjCBlock_ffiVoid_NSFileHandle extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSFileHandle._( @@ -82754,18 +76452,20 @@ class ObjCBlock_ffiVoid_NSFileHandle extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSFileHandle.fromFunctionPointer( AVFAudio lib, ffi.Pointer< - ffi.NativeFunction arg0)> - > ptr, - ) : this._(objc.newBlock( - _cFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ) - >(_ObjCBlock_ffiVoid_NSFileHandle_fnPtrTrampoline).cast(), - ptr.cast(), - ), lib); + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer arg0)>> + ptr, + ) : this._( + objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + )>(_ObjCBlock_ffiVoid_NSFileHandle_fnPtrTrampoline) + .cast(), + ptr.cast(), + ), + lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -82776,18 +76476,20 @@ class ObjCBlock_ffiVoid_NSFileHandle extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSFileHandle.fromFunction( AVFAudio lib, void Function(NSFileHandle) fn, - ) : this._(objc.newBlock( - _dartFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ) - >(_ObjCBlock_ffiVoid_NSFileHandle_closureTrampoline).cast(), - _ObjCBlock_ffiVoid_NSFileHandle_registerClosure(( - ffi.Pointer arg0, - ) => fn(NSFileHandle._(arg0, lib, retain: true, release: true))), - ), lib); + ) : this._( + objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + )>(_ObjCBlock_ffiVoid_NSFileHandle_closureTrampoline) + .cast(), + _ObjCBlock_ffiVoid_NSFileHandle_registerClosure(( + ffi.Pointer arg0, + ) => + fn(NSFileHandle._(arg0, lib, retain: true, release: true))), + ), + lib); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -82802,37 +76504,38 @@ class ObjCBlock_ffiVoid_NSFileHandle extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSFileHandle.listener( AVFAudio lib, void Function(NSFileHandle) fn, - ) : this._(objc.newBlock( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ) - >.listener( - _ObjCBlock_ffiVoid_NSFileHandle_closureTrampoline, - )..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSFileHandle_registerClosure(( - ffi.Pointer arg0, - ) => fn(NSFileHandle._(arg0, lib, retain: true, release: true))), - ), lib); + ) : this._( + objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + )>.listener( + _ObjCBlock_ffiVoid_NSFileHandle_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSFileHandle_registerClosure(( + ffi.Pointer arg0, + ) => + fn(NSFileHandle._(arg0, lib, retain: true, release: true))), + ), + lib); static ffi.NativeCallable< - ffi.Void Function(ffi.Pointer, ffi.Pointer) - >? _dartFuncListenerTrampoline; + ffi.Void Function( + ffi.Pointer, ffi.Pointer)>? + _dartFuncListenerTrampoline; void call(NSFileHandle arg0) => pointer.ref.invoke .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer block, - ffi.Pointer arg0, - ) - > - >() + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer block, + ffi.Pointer arg0, + )>>() .asFunction< - void Function(ffi.Pointer, ffi.Pointer) - >()(pointer, arg0.pointer); + void Function(ffi.Pointer, + ffi.Pointer)>()(pointer, arg0.pointer); } class NSHTTPCookieStorage extends NSObject { @@ -85497,11 +79200,12 @@ abstract class NSURLSessionTaskState { void _ObjCBlock_ffiVoid_NSArray_fnPtrTrampoline( ffi.Pointer block, ffi.Pointer arg0, -) => block.ref.target - .cast< - ffi.NativeFunction arg0)> - >() - .asFunction)>()(arg0); +) => + block.ref.target + .cast< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer arg0)>>() + .asFunction)>()(arg0); final _ObjCBlock_ffiVoid_NSArray_closureRegistry = )>{}; int _ObjCBlock_ffiVoid_NSArray_closureRegistryIndex = 0; @@ -85516,9 +79220,10 @@ ffi.Pointer _ObjCBlock_ffiVoid_NSArray_registerClosure( void _ObjCBlock_ffiVoid_NSArray_closureTrampoline( ffi.Pointer block, ffi.Pointer arg0, -) => _ObjCBlock_ffiVoid_NSArray_closureRegistry[block.ref.target.address]!( - arg0, -); +) => + _ObjCBlock_ffiVoid_NSArray_closureRegistry[block.ref.target.address]!( + arg0, + ); class ObjCBlock_ffiVoid_NSArray extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSArray._( @@ -85553,18 +79258,20 @@ class ObjCBlock_ffiVoid_NSArray extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSArray.fromFunctionPointer( AVFAudio lib, ffi.Pointer< - ffi.NativeFunction arg0)> - > ptr, - ) : this._(objc.newBlock( - _cFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ) - >(_ObjCBlock_ffiVoid_NSArray_fnPtrTrampoline).cast(), - ptr.cast(), - ), lib); + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer arg0)>> + ptr, + ) : this._( + objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + )>(_ObjCBlock_ffiVoid_NSArray_fnPtrTrampoline) + .cast(), + ptr.cast(), + ), + lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -85575,22 +79282,24 @@ class ObjCBlock_ffiVoid_NSArray extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSArray.fromFunction( AVFAudio lib, void Function(NSArray?) fn, - ) : this._(objc.newBlock( - _dartFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ) - >(_ObjCBlock_ffiVoid_NSArray_closureTrampoline).cast(), - _ObjCBlock_ffiVoid_NSArray_registerClosure(( - ffi.Pointer arg0, - ) => fn( - arg0.address == 0 - ? null - : NSArray._(arg0, lib, retain: true, release: true), - )), - ), lib); + ) : this._( + objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + )>(_ObjCBlock_ffiVoid_NSArray_closureTrampoline) + .cast(), + _ObjCBlock_ffiVoid_NSArray_registerClosure(( + ffi.Pointer arg0, + ) => + fn( + arg0.address == 0 + ? null + : NSArray._(arg0, lib, retain: true, release: true), + )), + ), + lib); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -85603,41 +79312,43 @@ class ObjCBlock_ffiVoid_NSArray extends objc.ObjCBlockBase { /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. ObjCBlock_ffiVoid_NSArray.listener(AVFAudio lib, void Function(NSArray?) fn) - : this._(objc.newBlock( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ) - >.listener( - _ObjCBlock_ffiVoid_NSArray_closureTrampoline, - )..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSArray_registerClosure(( - ffi.Pointer arg0, - ) => fn( - arg0.address == 0 - ? null - : NSArray._(arg0, lib, retain: true, release: true), - )), - ), lib); + : this._( + objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + )>.listener( + _ObjCBlock_ffiVoid_NSArray_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSArray_registerClosure(( + ffi.Pointer arg0, + ) => + fn( + arg0.address == 0 + ? null + : NSArray._(arg0, lib, retain: true, release: true), + )), + ), + lib); static ffi.NativeCallable< - ffi.Void Function(ffi.Pointer, ffi.Pointer) - >? _dartFuncListenerTrampoline; + ffi.Void Function( + ffi.Pointer, ffi.Pointer)>? + _dartFuncListenerTrampoline; void call(NSArray? arg0) => pointer.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer block, - ffi.Pointer arg0, - ) - > - >() - .asFunction< - void Function(ffi.Pointer, ffi.Pointer) - >()(pointer, arg0?.pointer ?? ffi.nullptr); + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer block, + ffi.Pointer arg0, + )>>() + .asFunction< + void Function( + ffi.Pointer, ffi.Pointer)>()( + pointer, arg0?.pointer ?? ffi.nullptr); } class NSIndexPath extends NSObject { @@ -87699,30 +81410,26 @@ class NSPointerFunctions extends NSObject { } ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction)> - >, - ) - > - > - get hashFunction { + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function(ffi.Pointer)>>, + )>> get hashFunction { return _lib._objc_msgSend_920(this.pointer, _lib._sel_hashFunction1); } set hashFunction( ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction)> - >, - ) - > - > value, + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function(ffi.Pointer)>>, + )>> + value, ) { return _lib._objc_msgSend_921( this.pointer, @@ -87732,32 +81439,28 @@ class NSPointerFunctions extends NSObject { } ffi.Pointer< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction)> - >, - ) - > - > - get isEqualFunction { + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function(ffi.Pointer)>>, + )>> get isEqualFunction { return _lib._objc_msgSend_922(this.pointer, _lib._sel_isEqualFunction1); } set isEqualFunction( ffi.Pointer< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction)> - >, - ) - > - > value, + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function(ffi.Pointer)>>, + )>> + value, ) { return _lib._objc_msgSend_923( this.pointer, @@ -87767,16 +81470,16 @@ class NSPointerFunctions extends NSObject { } ffi.Pointer< - ffi.NativeFunction)> - > - get sizeFunction { + ffi.NativeFunction)>> + get sizeFunction { return _lib._objc_msgSend_924(this.pointer, _lib._sel_sizeFunction1); } set sizeFunction( ffi.Pointer< - ffi.NativeFunction)> - > value, + ffi + .NativeFunction)>> + value, ) { return _lib._objc_msgSend_925( this.pointer, @@ -87786,20 +81489,17 @@ class NSPointerFunctions extends NSObject { } ffi.Pointer< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer) - > - > - get descriptionFunction { + ffi.NativeFunction< + ffi.Pointer Function(ffi.Pointer)>> + get descriptionFunction { return _lib._objc_msgSend_926(this.pointer, _lib._sel_descriptionFunction1); } set descriptionFunction( ffi.Pointer< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer) - > - > value, + ffi.NativeFunction< + ffi.Pointer Function(ffi.Pointer)>> + value, ) { return _lib._objc_msgSend_927( this.pointer, @@ -87809,30 +81509,26 @@ class NSPointerFunctions extends NSObject { } ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction)> - >, - ) - > - > - get relinquishFunction { + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function(ffi.Pointer)>>, + )>> get relinquishFunction { return _lib._objc_msgSend_928(this.pointer, _lib._sel_relinquishFunction1); } set relinquishFunction( ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction)> - >, - ) - > - > value, + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function(ffi.Pointer)>>, + )>> + value, ) { return _lib._objc_msgSend_929( this.pointer, @@ -87842,32 +81538,28 @@ class NSPointerFunctions extends NSObject { } ffi.Pointer< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction)> - >, - ffi.Bool, - ) - > - > - get acquireFunction { + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function(ffi.Pointer)>>, + ffi.Bool, + )>> get acquireFunction { return _lib._objc_msgSend_930(this.pointer, _lib._sel_acquireFunction1); } set acquireFunction( ffi.Pointer< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction)> - >, - ffi.Bool, - ) - > - > value, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function(ffi.Pointer)>>, + ffi.Bool, + )>> + value, ) { return _lib._objc_msgSend_931( this.pointer, @@ -88139,14 +81831,14 @@ class NSProcessInfo extends NSObject { void getOperatingSystemVersion(ffi.Pointer stret) { objc.useMsgSendVariants ? _lib._objc_msgSend_940_stret( - stret, - this.pointer, - _lib._sel_operatingSystemVersion1, - ) + stret, + this.pointer, + _lib._sel_operatingSystemVersion1, + ) : stret.ref = _lib._objc_msgSend_940( - this.pointer, - _lib._sel_operatingSystemVersion1, - ); + this.pointer, + _lib._sel_operatingSystemVersion1, + ); } int get processorCount { @@ -88442,9 +82134,10 @@ abstract class NSActivityOptions { void _ObjCBlock_ffiVoid_bool_fnPtrTrampoline( ffi.Pointer block, bool arg0, -) => block.ref.target - .cast>() - .asFunction()(arg0); +) => + block.ref.target + .cast>() + .asFunction()(arg0); final _ObjCBlock_ffiVoid_bool_closureRegistry = {}; int _ObjCBlock_ffiVoid_bool_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_ffiVoid_bool_registerClosure( @@ -88458,7 +82151,8 @@ ffi.Pointer _ObjCBlock_ffiVoid_bool_registerClosure( void _ObjCBlock_ffiVoid_bool_closureTrampoline( ffi.Pointer block, bool arg0, -) => _ObjCBlock_ffiVoid_bool_closureRegistry[block.ref.target.address]!(arg0); +) => + _ObjCBlock_ffiVoid_bool_closureRegistry[block.ref.target.address]!(arg0); class ObjCBlock_ffiVoid_bool extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_bool._( @@ -88493,13 +82187,15 @@ class ObjCBlock_ffiVoid_bool extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_bool.fromFunctionPointer( AVFAudio lib, ffi.Pointer> ptr, - ) : this._(objc.newBlock( - _cFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Void Function(ffi.Pointer, ffi.Bool) - >(_ObjCBlock_ffiVoid_bool_fnPtrTrampoline).cast(), - ptr.cast(), - ), lib); + ) : this._( + objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function(ffi.Pointer, + ffi.Bool)>(_ObjCBlock_ffiVoid_bool_fnPtrTrampoline) + .cast(), + ptr.cast(), + ), + lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -88508,13 +82204,15 @@ class ObjCBlock_ffiVoid_bool extends objc.ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_bool.fromFunction(AVFAudio lib, void Function(bool) fn) - : this._(objc.newBlock( - _dartFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Void Function(ffi.Pointer, ffi.Bool) - >(_ObjCBlock_ffiVoid_bool_closureTrampoline).cast(), - _ObjCBlock_ffiVoid_bool_registerClosure((bool arg0) => fn(arg0)), - ), lib); + : this._( + objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function(ffi.Pointer, + ffi.Bool)>(_ObjCBlock_ffiVoid_bool_closureTrampoline) + .cast(), + _ObjCBlock_ffiVoid_bool_registerClosure((bool arg0) => fn(arg0)), + ), + lib); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -88527,30 +82225,31 @@ class ObjCBlock_ffiVoid_bool extends objc.ObjCBlockBase { /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. ObjCBlock_ffiVoid_bool.listener(AVFAudio lib, void Function(bool) fn) - : this._(objc.newBlock( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function(ffi.Pointer, ffi.Bool) - >.listener( - _ObjCBlock_ffiVoid_bool_closureTrampoline, - )..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_bool_registerClosure((bool arg0) => fn(arg0)), - ), lib); - static ffi.NativeCallable< - ffi.Void Function(ffi.Pointer, ffi.Bool) - >? _dartFuncListenerTrampoline; + : this._( + objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, ffi.Bool)>.listener( + _ObjCBlock_ffiVoid_bool_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_bool_registerClosure((bool arg0) => fn(arg0)), + ), + lib); + static ffi + .NativeCallable, ffi.Bool)>? + _dartFuncListenerTrampoline; void call(bool arg0) => pointer.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer block, ffi.Bool arg0) - > - >() - .asFunction, bool)>()( - pointer, - arg0, - ); + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer block, ffi.Bool arg0)>>() + .asFunction, bool)>()( + pointer, + arg0, + ); } abstract class NSProcessInfoThermalState { @@ -88702,31 +82401,31 @@ class NSTextCheckingResult extends NSObject { void rangeAtIndex_(ffi.Pointer<_NSRange> stret, int idx) { objc.useMsgSendVariants ? _lib._objc_msgSend_347_stret( - stret, - this.pointer, - _lib._sel_rangeAtIndex_1, - idx, - ) + stret, + this.pointer, + _lib._sel_rangeAtIndex_1, + idx, + ) : stret.ref = _lib._objc_msgSend_347( - this.pointer, - _lib._sel_rangeAtIndex_1, - idx, - ); + this.pointer, + _lib._sel_rangeAtIndex_1, + idx, + ); } void rangeWithName_(ffi.Pointer<_NSRange> stret, NSString name) { objc.useMsgSendVariants ? _lib._objc_msgSend_340_stret( - stret, - this.pointer, - _lib._sel_rangeWithName_1, - name.pointer, - ) + stret, + this.pointer, + _lib._sel_rangeWithName_1, + name.pointer, + ) : stret.ref = _lib._objc_msgSend_340( - this.pointer, - _lib._sel_rangeWithName_1, - name.pointer, - ); + this.pointer, + _lib._sel_rangeWithName_1, + name.pointer, + ); } NSTextCheckingResult resultByAdjustingRangesWithOffset_(int offset) { @@ -88803,7 +82502,7 @@ class NSTextCheckingResult extends NSObject { } static NSTextCheckingResult - dateCheckingResultWithRange_date_timeZone_duration_( + dateCheckingResultWithRange_date_timeZone_duration_( AVFAudio _lib, _NSRange range, NSDate date, @@ -88878,7 +82577,7 @@ class NSTextCheckingResult extends NSObject { } static NSTextCheckingResult - replacementCheckingResultWithRange_replacementString_( + replacementCheckingResultWithRange_replacementString_( AVFAudio _lib, _NSRange range, NSString replacementString, @@ -88893,7 +82592,7 @@ class NSTextCheckingResult extends NSObject { } static NSTextCheckingResult - correctionCheckingResultWithRange_replacementString_( + correctionCheckingResultWithRange_replacementString_( AVFAudio _lib, _NSRange range, NSString replacementString, @@ -88908,7 +82607,7 @@ class NSTextCheckingResult extends NSObject { } static NSTextCheckingResult - correctionCheckingResultWithRange_replacementString_alternativeStrings_( + correctionCheckingResultWithRange_replacementString_alternativeStrings_( AVFAudio _lib, _NSRange range, NSString replacementString, @@ -88925,7 +82624,7 @@ class NSTextCheckingResult extends NSObject { } static NSTextCheckingResult - regularExpressionCheckingResultWithRanges_count_regularExpression_( + regularExpressionCheckingResultWithRanges_count_regularExpression_( AVFAudio _lib, ffi.Pointer<_NSRange> ranges, int count, @@ -88956,7 +82655,7 @@ class NSTextCheckingResult extends NSObject { } static NSTextCheckingResult - transitInformationCheckingResultWithRange_components_( + transitInformationCheckingResultWithRange_components_( AVFAudio _lib, _NSRange range, NSDictionary components, @@ -89283,20 +82982,20 @@ class NSRegularExpression extends NSObject { ) { objc.useMsgSendVariants ? _lib._objc_msgSend_955_stret( - stret, - this.pointer, - _lib._sel_rangeOfFirstMatchInString_options_range_1, - string.pointer, - options, - range, - ) + stret, + this.pointer, + _lib._sel_rangeOfFirstMatchInString_options_range_1, + string.pointer, + options, + range, + ) : stret.ref = _lib._objc_msgSend_955( - this.pointer, - _lib._sel_rangeOfFirstMatchInString_options_range_1, - string.pointer, - options, - range, - ); + this.pointer, + _lib._sel_rangeOfFirstMatchInString_options_range_1, + string.pointer, + options, + range, + ); } NSString stringByReplacingMatchesInString_options_range_withTemplate_( @@ -89504,54 +83203,49 @@ abstract class NSMatchingOptions { } void -_ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool_fnPtrTrampoline( + _ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool_fnPtrTrampoline( ffi.Pointer block, ffi.Pointer arg0, int arg1, ffi.Pointer arg2, -) => block.ref.target - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.Int32 arg1, - ffi.Pointer arg2, - ) - > - >() - .asFunction< - void Function(ffi.Pointer, int, ffi.Pointer) - >()(arg0, arg1, arg2); +) => + block.ref.target + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Int32 arg1, + ffi.Pointer arg2, + )>>() + .asFunction< + void Function(ffi.Pointer, int, + ffi.Pointer)>()(arg0, arg1, arg2); final _ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool_closureRegistry = - < - int, - void Function(ffi.Pointer, int, ffi.Pointer) - >{}; -int -_ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool_closureRegistryIndex = + , int, ffi.Pointer)>{}; +int _ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool_closureRegistryIndex = 0; ffi.Pointer -_ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool_registerClosure( + _ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool_registerClosure( void Function(ffi.Pointer, int, ffi.Pointer) fn, ) { final id = ++_ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool_closureRegistryIndex; - _ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool_closureRegistry[id] = - fn; + _ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool_closureRegistry[ + id] = fn; return ffi.Pointer.fromAddress(id); } void -_ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool_closureTrampoline( + _ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool_closureTrampoline( ffi.Pointer block, ffi.Pointer arg0, int arg1, ffi.Pointer arg2, ) => - _ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool_closureRegistry[block - .ref - .target - .address]!(arg0, arg1, arg2); + _ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool_closureRegistry[ + block.ref.target.address]!(arg0, arg1, arg2); class ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool extends objc.ObjCBlockBase { @@ -89566,7 +83260,7 @@ class ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool /// Returns a block that wraps the given raw block pointer. static ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool - castFromPointer( + castFromPointer( AVFAudio lib, ffi.Pointer pointer, { bool retain = false, @@ -89588,28 +83282,27 @@ class ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool.fromFunctionPointer( AVFAudio lib, ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.Int32 arg1, - ffi.Pointer arg2, - ) - > - > ptr, - ) : this._(objc.newBlock( - _cFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer, - ) - >( - _ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool_fnPtrTrampoline, - ).cast(), - ptr.cast(), - ), lib); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Int32 arg1, + ffi.Pointer arg2, + )>> + ptr, + ) : this._( + objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + )>( + _ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool_fnPtrTrampoline, + ).cast(), + ptr.cast(), + ), + lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -89620,37 +83313,38 @@ class ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool.fromFunction( AVFAudio lib, void Function(NSTextCheckingResult?, int, ffi.Pointer) fn, - ) : this._(objc.newBlock( - _dartFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer, - ) - >( - _ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool_closureTrampoline, - ).cast(), - _ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool_registerClosure( - ( - ffi.Pointer arg0, - int arg1, - ffi.Pointer arg2, - ) => fn( - arg0.address == 0 - ? null - : NSTextCheckingResult._( - arg0, - lib, - retain: true, - release: true, + ) : this._( + objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + )>( + _ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool_closureTrampoline, + ).cast(), + _ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool_registerClosure( + ( + ffi.Pointer arg0, + int arg1, + ffi.Pointer arg2, + ) => + fn( + arg0.address == 0 + ? null + : NSTextCheckingResult._( + arg0, + lib, + retain: true, + release: true, + ), + arg1, + arg2, ), - arg1, - arg2, - ), - ), - ), lib); + ), + ), + lib); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -89665,70 +83359,69 @@ class ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool.listener( AVFAudio lib, void Function(NSTextCheckingResult?, int, ffi.Pointer) fn, - ) : this._(objc.newBlock( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer, - ) - >.listener( - _ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool_closureTrampoline, - )..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool_registerClosure( - ( - ffi.Pointer arg0, - int arg1, - ffi.Pointer arg2, - ) => fn( - arg0.address == 0 - ? null - : NSTextCheckingResult._( - arg0, - lib, - retain: true, - release: true, + ) : this._( + objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + )>.listener( + _ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool_registerClosure( + ( + ffi.Pointer arg0, + int arg1, + ffi.Pointer arg2, + ) => + fn( + arg0.address == 0 + ? null + : NSTextCheckingResult._( + arg0, + lib, + retain: true, + release: true, + ), + arg1, + arg2, ), - arg1, - arg2, - ), - ), - ), lib); + ), + ), + lib); static ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer, - ) - >? _dartFuncListenerTrampoline; + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + )>? _dartFuncListenerTrampoline; void call( NSTextCheckingResult? arg0, int arg1, ffi.Pointer arg2, - ) => pointer.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Int32 arg1, - ffi.Pointer arg2, - ) - > - >() - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ) - >()(pointer, arg0?.pointer ?? ffi.nullptr, arg1, arg2); + ) => + pointer.ref.invoke + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Int32 arg1, + ffi.Pointer arg2, + )>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + )>()(pointer, arg0?.pointer ?? ffi.nullptr, arg1, arg2); } abstract class NSMatchingFlags { @@ -90442,11 +84135,12 @@ class NSURLSessionDataTask extends NSURLSessionTask { void _ObjCBlock_ffiVoid_NSCachedURLResponse_fnPtrTrampoline( ffi.Pointer block, ffi.Pointer arg0, -) => block.ref.target - .cast< - ffi.NativeFunction arg0)> - >() - .asFunction)>()(arg0); +) => + block.ref.target + .cast< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer arg0)>>() + .asFunction)>()(arg0); final _ObjCBlock_ffiVoid_NSCachedURLResponse_closureRegistry = )>{}; int _ObjCBlock_ffiVoid_NSCachedURLResponse_closureRegistryIndex = 0; @@ -90461,10 +84155,9 @@ ffi.Pointer _ObjCBlock_ffiVoid_NSCachedURLResponse_registerClosure( void _ObjCBlock_ffiVoid_NSCachedURLResponse_closureTrampoline( ffi.Pointer block, ffi.Pointer arg0, -) => _ObjCBlock_ffiVoid_NSCachedURLResponse_closureRegistry[block - .ref - .target - .address]!(arg0); +) => + _ObjCBlock_ffiVoid_NSCachedURLResponse_closureRegistry[ + block.ref.target.address]!(arg0); class ObjCBlock_ffiVoid_NSCachedURLResponse extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSCachedURLResponse._( @@ -90499,18 +84192,20 @@ class ObjCBlock_ffiVoid_NSCachedURLResponse extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSCachedURLResponse.fromFunctionPointer( AVFAudio lib, ffi.Pointer< - ffi.NativeFunction arg0)> - > ptr, - ) : this._(objc.newBlock( - _cFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ) - >(_ObjCBlock_ffiVoid_NSCachedURLResponse_fnPtrTrampoline).cast(), - ptr.cast(), - ), lib); + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer arg0)>> + ptr, + ) : this._( + objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + )>(_ObjCBlock_ffiVoid_NSCachedURLResponse_fnPtrTrampoline) + .cast(), + ptr.cast(), + ), + lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -90521,22 +84216,26 @@ class ObjCBlock_ffiVoid_NSCachedURLResponse extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSCachedURLResponse.fromFunction( AVFAudio lib, void Function(NSCachedURLResponse?) fn, - ) : this._(objc.newBlock( - _dartFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ) - >(_ObjCBlock_ffiVoid_NSCachedURLResponse_closureTrampoline).cast(), - _ObjCBlock_ffiVoid_NSCachedURLResponse_registerClosure(( - ffi.Pointer arg0, - ) => fn( - arg0.address == 0 - ? null - : NSCachedURLResponse._(arg0, lib, retain: true, release: true), - )), - ), lib); + ) : this._( + objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + )>( + _ObjCBlock_ffiVoid_NSCachedURLResponse_closureTrampoline) + .cast(), + _ObjCBlock_ffiVoid_NSCachedURLResponse_registerClosure(( + ffi.Pointer arg0, + ) => + fn( + arg0.address == 0 + ? null + : NSCachedURLResponse._(arg0, lib, + retain: true, release: true), + )), + ), + lib); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -90551,41 +84250,44 @@ class ObjCBlock_ffiVoid_NSCachedURLResponse extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSCachedURLResponse.listener( AVFAudio lib, void Function(NSCachedURLResponse?) fn, - ) : this._(objc.newBlock( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ) - >.listener( - _ObjCBlock_ffiVoid_NSCachedURLResponse_closureTrampoline, - )..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSCachedURLResponse_registerClosure(( - ffi.Pointer arg0, - ) => fn( - arg0.address == 0 - ? null - : NSCachedURLResponse._(arg0, lib, retain: true, release: true), - )), - ), lib); + ) : this._( + objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + )>.listener( + _ObjCBlock_ffiVoid_NSCachedURLResponse_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSCachedURLResponse_registerClosure(( + ffi.Pointer arg0, + ) => + fn( + arg0.address == 0 + ? null + : NSCachedURLResponse._(arg0, lib, + retain: true, release: true), + )), + ), + lib); static ffi.NativeCallable< - ffi.Void Function(ffi.Pointer, ffi.Pointer) - >? _dartFuncListenerTrampoline; + ffi.Void Function( + ffi.Pointer, ffi.Pointer)>? + _dartFuncListenerTrampoline; void call(NSCachedURLResponse? arg0) => pointer.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer block, - ffi.Pointer arg0, - ) - > - >() - .asFunction< - void Function(ffi.Pointer, ffi.Pointer) - >()(pointer, arg0?.pointer ?? ffi.nullptr); + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer block, + ffi.Pointer arg0, + )>>() + .asFunction< + void Function( + ffi.Pointer, ffi.Pointer)>()( + pointer, arg0?.pointer ?? ffi.nullptr); } class NSURLConnection extends NSObject { @@ -90894,35 +84596,30 @@ void _ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError_fnPtrTrampoline( ffi.Pointer arg0, ffi.Pointer arg1, ffi.Pointer arg2, -) => block.ref.target - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2, - ) - > - >() - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >()(arg0, arg1, arg2); -final _ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError_closureRegistry = - < - int, - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >{}; +) => + block.ref.target + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, + )>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>()(arg0, arg1, arg2); +final _ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError_closureRegistry = , + ffi.Pointer, + ffi.Pointer, +)>{}; int _ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError_closureRegistryIndex = 0; ffi.Pointer -_ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError_registerClosure( + _ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError_registerClosure( void Function( ffi.Pointer, ffi.Pointer, @@ -90940,10 +84637,9 @@ void _ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError_closureTrampoline( ffi.Pointer arg0, ffi.Pointer arg1, ffi.Pointer arg2, -) => _ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError_closureRegistry[block - .ref - .target - .address]!(arg0, arg1, arg2); +) => + _ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError_closureRegistry[ + block.ref.target.address]!(arg0, arg1, arg2); class ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError extends objc.ObjCBlockBase { @@ -90979,28 +84675,27 @@ class ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError.fromFunctionPointer( AVFAudio lib, ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2, - ) - > - > ptr, - ) : this._(objc.newBlock( - _cFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >( - _ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError_fnPtrTrampoline, - ).cast(), - ptr.cast(), - ), lib); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, + )>> + ptr, + ) : this._( + objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>( + _ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError_fnPtrTrampoline, + ).cast(), + ptr.cast(), + ), + lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -91011,34 +84706,36 @@ class ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError.fromFunction( AVFAudio lib, void Function(NSURLResponse?, NSData?, NSError?) fn, - ) : this._(objc.newBlock( - _dartFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >( - _ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError_closureTrampoline, - ).cast(), - _ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError_registerClosure(( - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2, - ) => fn( - arg0.address == 0 - ? null - : NSURLResponse._(arg0, lib, retain: true, release: true), - arg1.address == 0 - ? null - : NSData._(arg1, lib, retain: true, release: true), - arg2.address == 0 - ? null - : NSError._(arg2, lib, retain: true, release: true), - )), - ), lib); + ) : this._( + objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>( + _ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError_closureTrampoline, + ).cast(), + _ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError_registerClosure(( + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, + ) => + fn( + arg0.address == 0 + ? null + : NSURLResponse._(arg0, lib, + retain: true, release: true), + arg1.address == 0 + ? null + : NSData._(arg1, lib, retain: true, release: true), + arg2.address == 0 + ? null + : NSError._(arg2, lib, retain: true, release: true), + )), + ), + lib); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -91053,70 +84750,68 @@ class ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError.listener( AVFAudio lib, void Function(NSURLResponse?, NSData?, NSError?) fn, - ) : this._(objc.newBlock( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( + ) : this._( + objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>.listener( + _ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError_registerClosure(( + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, + ) => + fn( + arg0.address == 0 + ? null + : NSURLResponse._(arg0, lib, + retain: true, release: true), + arg1.address == 0 + ? null + : NSData._(arg1, lib, retain: true, release: true), + arg2.address == 0 + ? null + : NSError._(arg2, lib, retain: true, release: true), + )), + ), + lib); + static ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>? _dartFuncListenerTrampoline; + + void call(NSURLResponse? arg0, NSData? arg1, NSError? arg2) => + pointer.ref.invoke + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, + )>>() + .asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - >.listener( - _ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError_closureTrampoline, - )..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError_registerClosure(( - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2, - ) => fn( - arg0.address == 0 - ? null - : NSURLResponse._(arg0, lib, retain: true, release: true), - arg1.address == 0 - ? null - : NSData._(arg1, lib, retain: true, release: true), - arg2.address == 0 - ? null - : NSError._(arg2, lib, retain: true, release: true), - )), - ), lib); - static ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >? _dartFuncListenerTrampoline; - - void call(NSURLResponse? arg0, NSData? arg1, NSError? arg2) => pointer - .ref - .invoke - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2, - ) - > - >() - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >()( - pointer, - arg0?.pointer ?? ffi.nullptr, - arg1?.pointer ?? ffi.nullptr, - arg2?.pointer ?? ffi.nullptr, - ); + )>()( + pointer, + arg0?.pointer ?? ffi.nullptr, + arg1?.pointer ?? ffi.nullptr, + arg2?.pointer ?? ffi.nullptr, + ); } class NSURLCredential extends NSObject { @@ -92011,11 +85706,12 @@ class NSURLCredentialStorage extends NSObject { void _ObjCBlock_ffiVoid_NSDictionary_fnPtrTrampoline( ffi.Pointer block, ffi.Pointer arg0, -) => block.ref.target - .cast< - ffi.NativeFunction arg0)> - >() - .asFunction)>()(arg0); +) => + block.ref.target + .cast< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer arg0)>>() + .asFunction)>()(arg0); final _ObjCBlock_ffiVoid_NSDictionary_closureRegistry = )>{}; int _ObjCBlock_ffiVoid_NSDictionary_closureRegistryIndex = 0; @@ -92030,9 +85726,10 @@ ffi.Pointer _ObjCBlock_ffiVoid_NSDictionary_registerClosure( void _ObjCBlock_ffiVoid_NSDictionary_closureTrampoline( ffi.Pointer block, ffi.Pointer arg0, -) => _ObjCBlock_ffiVoid_NSDictionary_closureRegistry[block.ref.target.address]!( - arg0, -); +) => + _ObjCBlock_ffiVoid_NSDictionary_closureRegistry[block.ref.target.address]!( + arg0, + ); class ObjCBlock_ffiVoid_NSDictionary extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSDictionary._( @@ -92067,18 +85764,20 @@ class ObjCBlock_ffiVoid_NSDictionary extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSDictionary.fromFunctionPointer( AVFAudio lib, ffi.Pointer< - ffi.NativeFunction arg0)> - > ptr, - ) : this._(objc.newBlock( - _cFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ) - >(_ObjCBlock_ffiVoid_NSDictionary_fnPtrTrampoline).cast(), - ptr.cast(), - ), lib); + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer arg0)>> + ptr, + ) : this._( + objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + )>(_ObjCBlock_ffiVoid_NSDictionary_fnPtrTrampoline) + .cast(), + ptr.cast(), + ), + lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -92089,22 +85788,25 @@ class ObjCBlock_ffiVoid_NSDictionary extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSDictionary.fromFunction( AVFAudio lib, void Function(NSDictionary?) fn, - ) : this._(objc.newBlock( - _dartFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ) - >(_ObjCBlock_ffiVoid_NSDictionary_closureTrampoline).cast(), - _ObjCBlock_ffiVoid_NSDictionary_registerClosure(( - ffi.Pointer arg0, - ) => fn( - arg0.address == 0 - ? null - : NSDictionary._(arg0, lib, retain: true, release: true), - )), - ), lib); + ) : this._( + objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + )>(_ObjCBlock_ffiVoid_NSDictionary_closureTrampoline) + .cast(), + _ObjCBlock_ffiVoid_NSDictionary_registerClosure(( + ffi.Pointer arg0, + ) => + fn( + arg0.address == 0 + ? null + : NSDictionary._(arg0, lib, + retain: true, release: true), + )), + ), + lib); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -92119,51 +85821,55 @@ class ObjCBlock_ffiVoid_NSDictionary extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSDictionary.listener( AVFAudio lib, void Function(NSDictionary?) fn, - ) : this._(objc.newBlock( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ) - >.listener( - _ObjCBlock_ffiVoid_NSDictionary_closureTrampoline, - )..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSDictionary_registerClosure(( - ffi.Pointer arg0, - ) => fn( - arg0.address == 0 - ? null - : NSDictionary._(arg0, lib, retain: true, release: true), - )), - ), lib); + ) : this._( + objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + )>.listener( + _ObjCBlock_ffiVoid_NSDictionary_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSDictionary_registerClosure(( + ffi.Pointer arg0, + ) => + fn( + arg0.address == 0 + ? null + : NSDictionary._(arg0, lib, + retain: true, release: true), + )), + ), + lib); static ffi.NativeCallable< - ffi.Void Function(ffi.Pointer, ffi.Pointer) - >? _dartFuncListenerTrampoline; + ffi.Void Function( + ffi.Pointer, ffi.Pointer)>? + _dartFuncListenerTrampoline; void call(NSDictionary? arg0) => pointer.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer block, - ffi.Pointer arg0, - ) - > - >() - .asFunction< - void Function(ffi.Pointer, ffi.Pointer) - >()(pointer, arg0?.pointer ?? ffi.nullptr); + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer block, + ffi.Pointer arg0, + )>>() + .asFunction< + void Function( + ffi.Pointer, ffi.Pointer)>()( + pointer, arg0?.pointer ?? ffi.nullptr); } void _ObjCBlock_ffiVoid_NSURLCredential_fnPtrTrampoline( ffi.Pointer block, ffi.Pointer arg0, -) => block.ref.target - .cast< - ffi.NativeFunction arg0)> - >() - .asFunction)>()(arg0); +) => + block.ref.target + .cast< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer arg0)>>() + .asFunction)>()(arg0); final _ObjCBlock_ffiVoid_NSURLCredential_closureRegistry = )>{}; int _ObjCBlock_ffiVoid_NSURLCredential_closureRegistryIndex = 0; @@ -92178,10 +85884,9 @@ ffi.Pointer _ObjCBlock_ffiVoid_NSURLCredential_registerClosure( void _ObjCBlock_ffiVoid_NSURLCredential_closureTrampoline( ffi.Pointer block, ffi.Pointer arg0, -) => _ObjCBlock_ffiVoid_NSURLCredential_closureRegistry[block - .ref - .target - .address]!(arg0); +) => + _ObjCBlock_ffiVoid_NSURLCredential_closureRegistry[ + block.ref.target.address]!(arg0); class ObjCBlock_ffiVoid_NSURLCredential extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSURLCredential._( @@ -92216,18 +85921,20 @@ class ObjCBlock_ffiVoid_NSURLCredential extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSURLCredential.fromFunctionPointer( AVFAudio lib, ffi.Pointer< - ffi.NativeFunction arg0)> - > ptr, - ) : this._(objc.newBlock( - _cFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ) - >(_ObjCBlock_ffiVoid_NSURLCredential_fnPtrTrampoline).cast(), - ptr.cast(), - ), lib); + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer arg0)>> + ptr, + ) : this._( + objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + )>(_ObjCBlock_ffiVoid_NSURLCredential_fnPtrTrampoline) + .cast(), + ptr.cast(), + ), + lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -92238,22 +85945,25 @@ class ObjCBlock_ffiVoid_NSURLCredential extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSURLCredential.fromFunction( AVFAudio lib, void Function(NSURLCredential?) fn, - ) : this._(objc.newBlock( - _dartFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ) - >(_ObjCBlock_ffiVoid_NSURLCredential_closureTrampoline).cast(), - _ObjCBlock_ffiVoid_NSURLCredential_registerClosure(( - ffi.Pointer arg0, - ) => fn( - arg0.address == 0 - ? null - : NSURLCredential._(arg0, lib, retain: true, release: true), - )), - ), lib); + ) : this._( + objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + )>(_ObjCBlock_ffiVoid_NSURLCredential_closureTrampoline) + .cast(), + _ObjCBlock_ffiVoid_NSURLCredential_registerClosure(( + ffi.Pointer arg0, + ) => + fn( + arg0.address == 0 + ? null + : NSURLCredential._(arg0, lib, + retain: true, release: true), + )), + ), + lib); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -92268,41 +85978,44 @@ class ObjCBlock_ffiVoid_NSURLCredential extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSURLCredential.listener( AVFAudio lib, void Function(NSURLCredential?) fn, - ) : this._(objc.newBlock( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ) - >.listener( - _ObjCBlock_ffiVoid_NSURLCredential_closureTrampoline, - )..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSURLCredential_registerClosure(( - ffi.Pointer arg0, - ) => fn( - arg0.address == 0 - ? null - : NSURLCredential._(arg0, lib, retain: true, release: true), - )), - ), lib); + ) : this._( + objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + )>.listener( + _ObjCBlock_ffiVoid_NSURLCredential_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSURLCredential_registerClosure(( + ffi.Pointer arg0, + ) => + fn( + arg0.address == 0 + ? null + : NSURLCredential._(arg0, lib, + retain: true, release: true), + )), + ), + lib); static ffi.NativeCallable< - ffi.Void Function(ffi.Pointer, ffi.Pointer) - >? _dartFuncListenerTrampoline; + ffi.Void Function( + ffi.Pointer, ffi.Pointer)>? + _dartFuncListenerTrampoline; void call(NSURLCredential? arg0) => pointer.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer block, - ffi.Pointer arg0, - ) - > - >() - .asFunction< - void Function(ffi.Pointer, ffi.Pointer) - >()(pointer, arg0?.pointer ?? ffi.nullptr); + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer block, + ffi.Pointer arg0, + )>>() + .asFunction< + void Function( + ffi.Pointer, ffi.Pointer)>()( + pointer, arg0?.pointer ?? ffi.nullptr); } class NSURLProtocol extends NSObject { @@ -94554,7 +88267,7 @@ class NSURLSessionConfiguration extends NSObject { } static NSURLSessionConfiguration - backgroundSessionConfigurationWithIdentifier_( + backgroundSessionConfigurationWithIdentifier_( AVFAudio _lib, NSString identifier, ) { @@ -94588,13 +88301,13 @@ class NSURLSessionConfiguration extends NSObject { double get timeoutIntervalForRequest { return objc.useMsgSendVariants ? _lib._objc_msgSend_165_fpret( - this.pointer, - _lib._sel_timeoutIntervalForRequest1, - ) + this.pointer, + _lib._sel_timeoutIntervalForRequest1, + ) : _lib._objc_msgSend_165( - this.pointer, - _lib._sel_timeoutIntervalForRequest1, - ); + this.pointer, + _lib._sel_timeoutIntervalForRequest1, + ); } set timeoutIntervalForRequest(double value) { @@ -94608,13 +88321,13 @@ class NSURLSessionConfiguration extends NSObject { double get timeoutIntervalForResource { return objc.useMsgSendVariants ? _lib._objc_msgSend_165_fpret( - this.pointer, - _lib._sel_timeoutIntervalForResource1, - ) + this.pointer, + _lib._sel_timeoutIntervalForResource1, + ) : _lib._objc_msgSend_165( - this.pointer, - _lib._sel_timeoutIntervalForResource1, - ); + this.pointer, + _lib._sel_timeoutIntervalForResource1, + ); } set timeoutIntervalForResource(double value) { @@ -95194,35 +88907,30 @@ void _ObjCBlock_ffiVoid_NSArray_NSArray_NSArray_fnPtrTrampoline( ffi.Pointer arg0, ffi.Pointer arg1, ffi.Pointer arg2, -) => block.ref.target - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2, - ) - > - >() - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >()(arg0, arg1, arg2); -final _ObjCBlock_ffiVoid_NSArray_NSArray_NSArray_closureRegistry = - < - int, - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >{}; +) => + block.ref.target + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, + )>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>()(arg0, arg1, arg2); +final _ObjCBlock_ffiVoid_NSArray_NSArray_NSArray_closureRegistry = , + ffi.Pointer, + ffi.Pointer, +)>{}; int _ObjCBlock_ffiVoid_NSArray_NSArray_NSArray_closureRegistryIndex = 0; ffi.Pointer -_ObjCBlock_ffiVoid_NSArray_NSArray_NSArray_registerClosure( + _ObjCBlock_ffiVoid_NSArray_NSArray_NSArray_registerClosure( void Function( ffi.Pointer, ffi.Pointer, @@ -95239,10 +88947,9 @@ void _ObjCBlock_ffiVoid_NSArray_NSArray_NSArray_closureTrampoline( ffi.Pointer arg0, ffi.Pointer arg1, ffi.Pointer arg2, -) => _ObjCBlock_ffiVoid_NSArray_NSArray_NSArray_closureRegistry[block - .ref - .target - .address]!(arg0, arg1, arg2); +) => + _ObjCBlock_ffiVoid_NSArray_NSArray_NSArray_closureRegistry[ + block.ref.target.address]!(arg0, arg1, arg2); class ObjCBlock_ffiVoid_NSArray_NSArray_NSArray extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSArray_NSArray_NSArray._( @@ -95277,28 +88984,27 @@ class ObjCBlock_ffiVoid_NSArray_NSArray_NSArray extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSArray_NSArray_NSArray.fromFunctionPointer( AVFAudio lib, ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2, - ) - > - > ptr, - ) : this._(objc.newBlock( - _cFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >( - _ObjCBlock_ffiVoid_NSArray_NSArray_NSArray_fnPtrTrampoline, - ).cast(), - ptr.cast(), - ), lib); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, + )>> + ptr, + ) : this._( + objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>( + _ObjCBlock_ffiVoid_NSArray_NSArray_NSArray_fnPtrTrampoline, + ).cast(), + ptr.cast(), + ), + lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -95309,28 +89015,29 @@ class ObjCBlock_ffiVoid_NSArray_NSArray_NSArray extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSArray_NSArray_NSArray.fromFunction( AVFAudio lib, void Function(NSArray, NSArray, NSArray) fn, - ) : this._(objc.newBlock( - _dartFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >( - _ObjCBlock_ffiVoid_NSArray_NSArray_NSArray_closureTrampoline, - ).cast(), - _ObjCBlock_ffiVoid_NSArray_NSArray_NSArray_registerClosure(( - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2, - ) => fn( - NSArray._(arg0, lib, retain: true, release: true), - NSArray._(arg1, lib, retain: true, release: true), - NSArray._(arg2, lib, retain: true, release: true), - )), - ), lib); + ) : this._( + objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>( + _ObjCBlock_ffiVoid_NSArray_NSArray_NSArray_closureTrampoline, + ).cast(), + _ObjCBlock_ffiVoid_NSArray_NSArray_NSArray_registerClosure(( + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, + ) => + fn( + NSArray._(arg0, lib, retain: true, release: true), + NSArray._(arg1, lib, retain: true, release: true), + NSArray._(arg2, lib, retain: true, release: true), + )), + ), + lib); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -95345,67 +89052,66 @@ class ObjCBlock_ffiVoid_NSArray_NSArray_NSArray extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSArray_NSArray_NSArray.listener( AVFAudio lib, void Function(NSArray, NSArray, NSArray) fn, - ) : this._(objc.newBlock( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >.listener( - _ObjCBlock_ffiVoid_NSArray_NSArray_NSArray_closureTrampoline, - )..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSArray_NSArray_NSArray_registerClosure(( - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2, - ) => fn( - NSArray._(arg0, lib, retain: true, release: true), - NSArray._(arg1, lib, retain: true, release: true), - NSArray._(arg2, lib, retain: true, release: true), - )), - ), lib); + ) : this._( + objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>.listener( + _ObjCBlock_ffiVoid_NSArray_NSArray_NSArray_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSArray_NSArray_NSArray_registerClosure(( + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, + ) => + fn( + NSArray._(arg0, lib, retain: true, release: true), + NSArray._(arg1, lib, retain: true, release: true), + NSArray._(arg2, lib, retain: true, release: true), + )), + ), + lib); static ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >? _dartFuncListenerTrampoline; + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>? _dartFuncListenerTrampoline; void call(NSArray arg0, NSArray arg1, NSArray arg2) => pointer.ref.invoke .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2, - ) - > - >() + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, + )>>() .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >()(pointer, arg0.pointer, arg1.pointer, arg2.pointer); + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>()(pointer, arg0.pointer, arg1.pointer, arg2.pointer); } void _ObjCBlock_ffiVoid_NSArray1_fnPtrTrampoline( ffi.Pointer block, ffi.Pointer arg0, -) => block.ref.target - .cast< - ffi.NativeFunction arg0)> - >() - .asFunction)>()(arg0); +) => + block.ref.target + .cast< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer arg0)>>() + .asFunction)>()(arg0); final _ObjCBlock_ffiVoid_NSArray1_closureRegistry = )>{}; int _ObjCBlock_ffiVoid_NSArray1_closureRegistryIndex = 0; @@ -95420,9 +89126,10 @@ ffi.Pointer _ObjCBlock_ffiVoid_NSArray1_registerClosure( void _ObjCBlock_ffiVoid_NSArray1_closureTrampoline( ffi.Pointer block, ffi.Pointer arg0, -) => _ObjCBlock_ffiVoid_NSArray1_closureRegistry[block.ref.target.address]!( - arg0, -); +) => + _ObjCBlock_ffiVoid_NSArray1_closureRegistry[block.ref.target.address]!( + arg0, + ); class ObjCBlock_ffiVoid_NSArray1 extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSArray1._( @@ -95457,18 +89164,20 @@ class ObjCBlock_ffiVoid_NSArray1 extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSArray1.fromFunctionPointer( AVFAudio lib, ffi.Pointer< - ffi.NativeFunction arg0)> - > ptr, - ) : this._(objc.newBlock( - _cFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ) - >(_ObjCBlock_ffiVoid_NSArray1_fnPtrTrampoline).cast(), - ptr.cast(), - ), lib); + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer arg0)>> + ptr, + ) : this._( + objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + )>(_ObjCBlock_ffiVoid_NSArray1_fnPtrTrampoline) + .cast(), + ptr.cast(), + ), + lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -95479,18 +89188,20 @@ class ObjCBlock_ffiVoid_NSArray1 extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSArray1.fromFunction( AVFAudio lib, void Function(NSArray) fn, - ) : this._(objc.newBlock( - _dartFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ) - >(_ObjCBlock_ffiVoid_NSArray1_closureTrampoline).cast(), - _ObjCBlock_ffiVoid_NSArray1_registerClosure(( - ffi.Pointer arg0, - ) => fn(NSArray._(arg0, lib, retain: true, release: true))), - ), lib); + ) : this._( + objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + )>(_ObjCBlock_ffiVoid_NSArray1_closureTrampoline) + .cast(), + _ObjCBlock_ffiVoid_NSArray1_registerClosure(( + ffi.Pointer arg0, + ) => + fn(NSArray._(arg0, lib, retain: true, release: true))), + ), + lib); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -95503,37 +89214,38 @@ class ObjCBlock_ffiVoid_NSArray1 extends objc.ObjCBlockBase { /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. ObjCBlock_ffiVoid_NSArray1.listener(AVFAudio lib, void Function(NSArray) fn) - : this._(objc.newBlock( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ) - >.listener( - _ObjCBlock_ffiVoid_NSArray1_closureTrampoline, - )..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSArray1_registerClosure(( - ffi.Pointer arg0, - ) => fn(NSArray._(arg0, lib, retain: true, release: true))), - ), lib); + : this._( + objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + )>.listener( + _ObjCBlock_ffiVoid_NSArray1_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSArray1_registerClosure(( + ffi.Pointer arg0, + ) => + fn(NSArray._(arg0, lib, retain: true, release: true))), + ), + lib); static ffi.NativeCallable< - ffi.Void Function(ffi.Pointer, ffi.Pointer) - >? _dartFuncListenerTrampoline; + ffi.Void Function( + ffi.Pointer, ffi.Pointer)>? + _dartFuncListenerTrampoline; void call(NSArray arg0) => pointer.ref.invoke .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer block, - ffi.Pointer arg0, - ) - > - >() + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer block, + ffi.Pointer arg0, + )>>() .asFunction< - void Function(ffi.Pointer, ffi.Pointer) - >()(pointer, arg0.pointer); + void Function(ffi.Pointer, + ffi.Pointer)>()(pointer, arg0.pointer); } class NSURLSessionUploadTask extends NSURLSessionDataTask { @@ -95721,11 +89433,12 @@ class NSURLSessionUploadTask extends NSURLSessionDataTask { void _ObjCBlock_ffiVoid_NSData_fnPtrTrampoline( ffi.Pointer block, ffi.Pointer arg0, -) => block.ref.target - .cast< - ffi.NativeFunction arg0)> - >() - .asFunction)>()(arg0); +) => + block.ref.target + .cast< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer arg0)>>() + .asFunction)>()(arg0); final _ObjCBlock_ffiVoid_NSData_closureRegistry = )>{}; int _ObjCBlock_ffiVoid_NSData_closureRegistryIndex = 0; @@ -95740,7 +89453,8 @@ ffi.Pointer _ObjCBlock_ffiVoid_NSData_registerClosure( void _ObjCBlock_ffiVoid_NSData_closureTrampoline( ffi.Pointer block, ffi.Pointer arg0, -) => _ObjCBlock_ffiVoid_NSData_closureRegistry[block.ref.target.address]!(arg0); +) => + _ObjCBlock_ffiVoid_NSData_closureRegistry[block.ref.target.address]!(arg0); class ObjCBlock_ffiVoid_NSData extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSData._( @@ -95775,18 +89489,20 @@ class ObjCBlock_ffiVoid_NSData extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSData.fromFunctionPointer( AVFAudio lib, ffi.Pointer< - ffi.NativeFunction arg0)> - > ptr, - ) : this._(objc.newBlock( - _cFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ) - >(_ObjCBlock_ffiVoid_NSData_fnPtrTrampoline).cast(), - ptr.cast(), - ), lib); + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer arg0)>> + ptr, + ) : this._( + objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + )>(_ObjCBlock_ffiVoid_NSData_fnPtrTrampoline) + .cast(), + ptr.cast(), + ), + lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -95795,22 +89511,24 @@ class ObjCBlock_ffiVoid_NSData extends objc.ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSData.fromFunction(AVFAudio lib, void Function(NSData?) fn) - : this._(objc.newBlock( - _dartFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ) - >(_ObjCBlock_ffiVoid_NSData_closureTrampoline).cast(), - _ObjCBlock_ffiVoid_NSData_registerClosure(( - ffi.Pointer arg0, - ) => fn( - arg0.address == 0 - ? null - : NSData._(arg0, lib, retain: true, release: true), - )), - ), lib); + : this._( + objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + )>(_ObjCBlock_ffiVoid_NSData_closureTrampoline) + .cast(), + _ObjCBlock_ffiVoid_NSData_registerClosure(( + ffi.Pointer arg0, + ) => + fn( + arg0.address == 0 + ? null + : NSData._(arg0, lib, retain: true, release: true), + )), + ), + lib); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -95823,41 +89541,43 @@ class ObjCBlock_ffiVoid_NSData extends objc.ObjCBlockBase { /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. ObjCBlock_ffiVoid_NSData.listener(AVFAudio lib, void Function(NSData?) fn) - : this._(objc.newBlock( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ) - >.listener( - _ObjCBlock_ffiVoid_NSData_closureTrampoline, - )..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSData_registerClosure(( - ffi.Pointer arg0, - ) => fn( - arg0.address == 0 - ? null - : NSData._(arg0, lib, retain: true, release: true), - )), - ), lib); + : this._( + objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + )>.listener( + _ObjCBlock_ffiVoid_NSData_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSData_registerClosure(( + ffi.Pointer arg0, + ) => + fn( + arg0.address == 0 + ? null + : NSData._(arg0, lib, retain: true, release: true), + )), + ), + lib); static ffi.NativeCallable< - ffi.Void Function(ffi.Pointer, ffi.Pointer) - >? _dartFuncListenerTrampoline; + ffi.Void Function( + ffi.Pointer, ffi.Pointer)>? + _dartFuncListenerTrampoline; void call(NSData? arg0) => pointer.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer block, - ffi.Pointer arg0, - ) - > - >() - .asFunction< - void Function(ffi.Pointer, ffi.Pointer) - >()(pointer, arg0?.pointer ?? ffi.nullptr); + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer block, + ffi.Pointer arg0, + )>>() + .asFunction< + void Function( + ffi.Pointer, ffi.Pointer)>()( + pointer, arg0?.pointer ?? ffi.nullptr); } class NSURLSessionDownloadTask extends NSURLSessionTask { @@ -96269,32 +89989,27 @@ void _ObjCBlock_ffiVoid_NSData_bool_NSError_fnPtrTrampoline( ffi.Pointer arg0, bool arg1, ffi.Pointer arg2, -) => block.ref.target - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.Bool arg1, - ffi.Pointer arg2, - ) - > - >() - .asFunction< - void Function( - ffi.Pointer, - bool, - ffi.Pointer, - ) - >()(arg0, arg1, arg2); -final _ObjCBlock_ffiVoid_NSData_bool_NSError_closureRegistry = - < - int, - void Function( - ffi.Pointer, - bool, - ffi.Pointer, - ) - >{}; +) => + block.ref.target + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Bool arg1, + ffi.Pointer arg2, + )>>() + .asFunction< + void Function( + ffi.Pointer, + bool, + ffi.Pointer, + )>()(arg0, arg1, arg2); +final _ObjCBlock_ffiVoid_NSData_bool_NSError_closureRegistry = , + bool, + ffi.Pointer, +)>{}; int _ObjCBlock_ffiVoid_NSData_bool_NSError_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_ffiVoid_NSData_bool_NSError_registerClosure( void Function( @@ -96313,10 +90028,9 @@ void _ObjCBlock_ffiVoid_NSData_bool_NSError_closureTrampoline( ffi.Pointer arg0, bool arg1, ffi.Pointer arg2, -) => _ObjCBlock_ffiVoid_NSData_bool_NSError_closureRegistry[block - .ref - .target - .address]!(arg0, arg1, arg2); +) => + _ObjCBlock_ffiVoid_NSData_bool_NSError_closureRegistry[ + block.ref.target.address]!(arg0, arg1, arg2); class ObjCBlock_ffiVoid_NSData_bool_NSError extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSData_bool_NSError._( @@ -96351,26 +90065,26 @@ class ObjCBlock_ffiVoid_NSData_bool_NSError extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSData_bool_NSError.fromFunctionPointer( AVFAudio lib, ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.Bool arg1, - ffi.Pointer arg2, - ) - > - > ptr, - ) : this._(objc.newBlock( - _cFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - ffi.Pointer, - ) - >(_ObjCBlock_ffiVoid_NSData_bool_NSError_fnPtrTrampoline).cast(), - ptr.cast(), - ), lib); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Bool arg1, + ffi.Pointer arg2, + )>> + ptr, + ) : this._( + objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.Pointer, + )>(_ObjCBlock_ffiVoid_NSData_bool_NSError_fnPtrTrampoline) + .cast(), + ptr.cast(), + ), + lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -96381,28 +90095,31 @@ class ObjCBlock_ffiVoid_NSData_bool_NSError extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSData_bool_NSError.fromFunction( AVFAudio lib, void Function(NSData, bool, NSError?) fn, - ) : this._(objc.newBlock( - _dartFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - ffi.Pointer, - ) - >(_ObjCBlock_ffiVoid_NSData_bool_NSError_closureTrampoline).cast(), - _ObjCBlock_ffiVoid_NSData_bool_NSError_registerClosure(( - ffi.Pointer arg0, - bool arg1, - ffi.Pointer arg2, - ) => fn( - NSData._(arg0, lib, retain: true, release: true), - arg1, - arg2.address == 0 - ? null - : NSError._(arg2, lib, retain: true, release: true), - )), - ), lib); + ) : this._( + objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.Pointer, + )>( + _ObjCBlock_ffiVoid_NSData_bool_NSError_closureTrampoline) + .cast(), + _ObjCBlock_ffiVoid_NSData_bool_NSError_registerClosure(( + ffi.Pointer arg0, + bool arg1, + ffi.Pointer arg2, + ) => + fn( + NSData._(arg0, lib, retain: true, release: true), + arg1, + arg2.address == 0 + ? null + : NSError._(arg2, lib, retain: true, release: true), + )), + ), + lib); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -96417,59 +90134,57 @@ class ObjCBlock_ffiVoid_NSData_bool_NSError extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSData_bool_NSError.listener( AVFAudio lib, void Function(NSData, bool, NSError?) fn, - ) : this._(objc.newBlock( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - ffi.Pointer, - ) - >.listener( - _ObjCBlock_ffiVoid_NSData_bool_NSError_closureTrampoline, - )..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSData_bool_NSError_registerClosure(( - ffi.Pointer arg0, - bool arg1, - ffi.Pointer arg2, - ) => fn( - NSData._(arg0, lib, retain: true, release: true), - arg1, - arg2.address == 0 - ? null - : NSError._(arg2, lib, retain: true, release: true), - )), - ), lib); + ) : this._( + objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.Pointer, + )>.listener( + _ObjCBlock_ffiVoid_NSData_bool_NSError_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSData_bool_NSError_registerClosure(( + ffi.Pointer arg0, + bool arg1, + ffi.Pointer arg2, + ) => + fn( + NSData._(arg0, lib, retain: true, release: true), + arg1, + arg2.address == 0 + ? null + : NSError._(arg2, lib, retain: true, release: true), + )), + ), + lib); static ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - ffi.Pointer, - ) - >? _dartFuncListenerTrampoline; + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.Pointer, + )>? _dartFuncListenerTrampoline; void call(NSData arg0, bool arg1, NSError? arg2) => pointer.ref.invoke .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Bool arg1, - ffi.Pointer arg2, - ) - > - >() + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Bool arg1, + ffi.Pointer arg2, + )>>() .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - bool, - ffi.Pointer, - ) - >()(pointer, arg0.pointer, arg1, arg2?.pointer ?? ffi.nullptr); + void Function( + ffi.Pointer, + ffi.Pointer, + bool, + ffi.Pointer, + )>()(pointer, arg0.pointer, arg1, arg2?.pointer ?? ffi.nullptr); } class NSNetService extends NSObject { @@ -97331,28 +91046,25 @@ void _ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError_fnPtrTrampoline( ffi.Pointer block, ffi.Pointer arg0, ffi.Pointer arg1, -) => block.ref.target - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - ) - > - >() - .asFunction< - void Function(ffi.Pointer, ffi.Pointer) - >()(arg0, arg1); +) => + block.ref.target + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + )>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer)>()(arg0, arg1); final _ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError_closureRegistry = - < - int, - void Function(ffi.Pointer, ffi.Pointer) - >{}; -int -_ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError_closureRegistryIndex = + , ffi.Pointer)>{}; +int _ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError_closureRegistryIndex = 0; ffi.Pointer -_ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError_registerClosure( + _ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError_registerClosure( void Function(ffi.Pointer, ffi.Pointer) fn, ) { final id = @@ -97367,10 +91079,8 @@ void _ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError_closureTrampoline( ffi.Pointer arg0, ffi.Pointer arg1, ) => - _ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError_closureRegistry[block - .ref - .target - .address]!(arg0, arg1); + _ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError_closureRegistry[ + block.ref.target.address]!(arg0, arg1); class ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError extends objc.ObjCBlockBase { @@ -97406,26 +91116,25 @@ class ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError.fromFunctionPointer( AVFAudio lib, ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - ) - > - > ptr, - ) : this._(objc.newBlock( - _cFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >( - _ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError_fnPtrTrampoline, - ).cast(), - ptr.cast(), - ), lib); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + )>> + ptr, + ) : this._( + objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>( + _ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError_fnPtrTrampoline, + ).cast(), + ptr.cast(), + ), + lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -97436,36 +91145,37 @@ class ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError.fromFunction( AVFAudio lib, void Function(NSURLSessionWebSocketMessage?, NSError?) fn, - ) : this._(objc.newBlock( - _dartFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >( - _ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError_closureTrampoline, - ).cast(), - _ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError_registerClosure( - ( - ffi.Pointer arg0, - ffi.Pointer arg1, - ) => fn( - arg0.address == 0 - ? null - : NSURLSessionWebSocketMessage._( - arg0, - lib, - retain: true, - release: true, + ) : this._( + objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>( + _ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError_closureTrampoline, + ).cast(), + _ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError_registerClosure( + ( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) => + fn( + arg0.address == 0 + ? null + : NSURLSessionWebSocketMessage._( + arg0, + lib, + retain: true, + release: true, + ), + arg1.address == 0 + ? null + : NSError._(arg1, lib, retain: true, release: true), ), - arg1.address == 0 - ? null - : NSError._(arg1, lib, retain: true, release: true), - ), - ), - ), lib); + ), + ), + lib); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -97480,64 +91190,62 @@ class ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError.listener( AVFAudio lib, void Function(NSURLSessionWebSocketMessage?, NSError?) fn, - ) : this._(objc.newBlock( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >.listener( - _ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError_closureTrampoline, - )..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError_registerClosure( - ( - ffi.Pointer arg0, - ffi.Pointer arg1, - ) => fn( - arg0.address == 0 - ? null - : NSURLSessionWebSocketMessage._( - arg0, - lib, - retain: true, - release: true, + ) : this._( + objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>.listener( + _ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError_registerClosure( + ( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) => + fn( + arg0.address == 0 + ? null + : NSURLSessionWebSocketMessage._( + arg0, + lib, + retain: true, + release: true, + ), + arg1.address == 0 + ? null + : NSError._(arg1, lib, retain: true, release: true), ), - arg1.address == 0 - ? null - : NSError._(arg1, lib, retain: true, release: true), - ), - ), - ), lib); + ), + ), + lib); static ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >? _dartFuncListenerTrampoline; - - void call(NSURLSessionWebSocketMessage? arg0, NSError? arg1) => pointer - .ref - .invoke - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Pointer arg1, - ) - > - >() - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >()(pointer, arg0?.pointer ?? ffi.nullptr, arg1?.pointer ?? ffi.nullptr); + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>? _dartFuncListenerTrampoline; + + void call(NSURLSessionWebSocketMessage? arg0, NSError? arg1) => + pointer.ref.invoke + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, + )>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>()( + pointer, arg0?.pointer ?? ffi.nullptr, arg1?.pointer ?? ffi.nullptr); } abstract class NSURLSessionWebSocketCloseCode { @@ -97562,35 +91270,30 @@ void _ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError_fnPtrTrampoline( ffi.Pointer arg0, ffi.Pointer arg1, ffi.Pointer arg2, -) => block.ref.target - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2, - ) - > - >() - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >()(arg0, arg1, arg2); -final _ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError_closureRegistry = - < - int, - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >{}; +) => + block.ref.target + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, + )>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>()(arg0, arg1, arg2); +final _ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError_closureRegistry = , + ffi.Pointer, + ffi.Pointer, +)>{}; int _ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError_closureRegistryIndex = 0; ffi.Pointer -_ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError_registerClosure( + _ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError_registerClosure( void Function( ffi.Pointer, ffi.Pointer, @@ -97608,10 +91311,9 @@ void _ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError_closureTrampoline( ffi.Pointer arg0, ffi.Pointer arg1, ffi.Pointer arg2, -) => _ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError_closureRegistry[block - .ref - .target - .address]!(arg0, arg1, arg2); +) => + _ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError_closureRegistry[ + block.ref.target.address]!(arg0, arg1, arg2); class ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError extends objc.ObjCBlockBase { @@ -97647,28 +91349,27 @@ class ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError.fromFunctionPointer( AVFAudio lib, ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2, - ) - > - > ptr, - ) : this._(objc.newBlock( - _cFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >( - _ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError_fnPtrTrampoline, - ).cast(), - ptr.cast(), - ), lib); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, + )>> + ptr, + ) : this._( + objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>( + _ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError_fnPtrTrampoline, + ).cast(), + ptr.cast(), + ), + lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -97679,34 +91380,36 @@ class ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError.fromFunction( AVFAudio lib, void Function(NSData?, NSURLResponse?, NSError?) fn, - ) : this._(objc.newBlock( - _dartFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >( - _ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError_closureTrampoline, - ).cast(), - _ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError_registerClosure(( - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2, - ) => fn( - arg0.address == 0 - ? null - : NSData._(arg0, lib, retain: true, release: true), - arg1.address == 0 - ? null - : NSURLResponse._(arg1, lib, retain: true, release: true), - arg2.address == 0 - ? null - : NSError._(arg2, lib, retain: true, release: true), - )), - ), lib); + ) : this._( + objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>( + _ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError_closureTrampoline, + ).cast(), + _ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError_registerClosure(( + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, + ) => + fn( + arg0.address == 0 + ? null + : NSData._(arg0, lib, retain: true, release: true), + arg1.address == 0 + ? null + : NSURLResponse._(arg1, lib, + retain: true, release: true), + arg2.address == 0 + ? null + : NSError._(arg2, lib, retain: true, release: true), + )), + ), + lib); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -97721,70 +91424,68 @@ class ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError.listener( AVFAudio lib, void Function(NSData?, NSURLResponse?, NSError?) fn, - ) : this._(objc.newBlock( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( + ) : this._( + objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>.listener( + _ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError_registerClosure(( + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, + ) => + fn( + arg0.address == 0 + ? null + : NSData._(arg0, lib, retain: true, release: true), + arg1.address == 0 + ? null + : NSURLResponse._(arg1, lib, + retain: true, release: true), + arg2.address == 0 + ? null + : NSError._(arg2, lib, retain: true, release: true), + )), + ), + lib); + static ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>? _dartFuncListenerTrampoline; + + void call(NSData? arg0, NSURLResponse? arg1, NSError? arg2) => + pointer.ref.invoke + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, + )>>() + .asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - >.listener( - _ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError_closureTrampoline, - )..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError_registerClosure(( - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2, - ) => fn( - arg0.address == 0 - ? null - : NSData._(arg0, lib, retain: true, release: true), - arg1.address == 0 - ? null - : NSURLResponse._(arg1, lib, retain: true, release: true), - arg2.address == 0 - ? null - : NSError._(arg2, lib, retain: true, release: true), - )), - ), lib); - static ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >? _dartFuncListenerTrampoline; - - void call(NSData? arg0, NSURLResponse? arg1, NSError? arg2) => pointer - .ref - .invoke - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2, - ) - > - >() - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >()( - pointer, - arg0?.pointer ?? ffi.nullptr, - arg1?.pointer ?? ffi.nullptr, - arg2?.pointer ?? ffi.nullptr, - ); + )>()( + pointer, + arg0?.pointer ?? ffi.nullptr, + arg1?.pointer ?? ffi.nullptr, + arg2?.pointer ?? ffi.nullptr, + ); } void _ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError_fnPtrTrampoline( @@ -97792,35 +91493,30 @@ void _ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError_fnPtrTrampoline( ffi.Pointer arg0, ffi.Pointer arg1, ffi.Pointer arg2, -) => block.ref.target - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2, - ) - > - >() - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >()(arg0, arg1, arg2); -final _ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError_closureRegistry = - < - int, - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >{}; +) => + block.ref.target + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, + )>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>()(arg0, arg1, arg2); +final _ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError_closureRegistry = , + ffi.Pointer, + ffi.Pointer, +)>{}; int _ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError_closureRegistryIndex = 0; ffi.Pointer -_ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError_registerClosure( + _ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError_registerClosure( void Function( ffi.Pointer, ffi.Pointer, @@ -97838,10 +91534,9 @@ void _ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError_closureTrampoline( ffi.Pointer arg0, ffi.Pointer arg1, ffi.Pointer arg2, -) => _ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError_closureRegistry[block - .ref - .target - .address]!(arg0, arg1, arg2); +) => + _ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError_closureRegistry[ + block.ref.target.address]!(arg0, arg1, arg2); class ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError._( @@ -97876,28 +91571,27 @@ class ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError.fromFunctionPointer( AVFAudio lib, ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2, - ) - > - > ptr, - ) : this._(objc.newBlock( - _cFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >( - _ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError_fnPtrTrampoline, - ).cast(), - ptr.cast(), - ), lib); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, + )>> + ptr, + ) : this._( + objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>( + _ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError_fnPtrTrampoline, + ).cast(), + ptr.cast(), + ), + lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -97908,34 +91602,36 @@ class ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError.fromFunction( AVFAudio lib, void Function(NSURL?, NSURLResponse?, NSError?) fn, - ) : this._(objc.newBlock( - _dartFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >( - _ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError_closureTrampoline, - ).cast(), - _ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError_registerClosure(( - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2, - ) => fn( - arg0.address == 0 - ? null - : NSURL._(arg0, lib, retain: true, release: true), - arg1.address == 0 - ? null - : NSURLResponse._(arg1, lib, retain: true, release: true), - arg2.address == 0 - ? null - : NSError._(arg2, lib, retain: true, release: true), - )), - ), lib); + ) : this._( + objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>( + _ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError_closureTrampoline, + ).cast(), + _ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError_registerClosure(( + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, + ) => + fn( + arg0.address == 0 + ? null + : NSURL._(arg0, lib, retain: true, release: true), + arg1.address == 0 + ? null + : NSURLResponse._(arg1, lib, + retain: true, release: true), + arg2.address == 0 + ? null + : NSError._(arg2, lib, retain: true, release: true), + )), + ), + lib); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -97950,70 +91646,68 @@ class ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError.listener( AVFAudio lib, void Function(NSURL?, NSURLResponse?, NSError?) fn, - ) : this._(objc.newBlock( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( + ) : this._( + objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>.listener( + _ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError_registerClosure(( + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, + ) => + fn( + arg0.address == 0 + ? null + : NSURL._(arg0, lib, retain: true, release: true), + arg1.address == 0 + ? null + : NSURLResponse._(arg1, lib, + retain: true, release: true), + arg2.address == 0 + ? null + : NSError._(arg2, lib, retain: true, release: true), + )), + ), + lib); + static ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>? _dartFuncListenerTrampoline; + + void call(NSURL? arg0, NSURLResponse? arg1, NSError? arg2) => + pointer.ref.invoke + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, + )>>() + .asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - >.listener( - _ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError_closureTrampoline, - )..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError_registerClosure(( - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2, - ) => fn( - arg0.address == 0 - ? null - : NSURL._(arg0, lib, retain: true, release: true), - arg1.address == 0 - ? null - : NSURLResponse._(arg1, lib, retain: true, release: true), - arg2.address == 0 - ? null - : NSError._(arg2, lib, retain: true, release: true), - )), - ), lib); - static ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >? _dartFuncListenerTrampoline; - - void call(NSURL? arg0, NSURLResponse? arg1, NSError? arg2) => pointer - .ref - .invoke - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2, - ) - > - >() - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >()( - pointer, - arg0?.pointer ?? ffi.nullptr, - arg1?.pointer ?? ffi.nullptr, - arg2?.pointer ?? ffi.nullptr, - ); + )>()( + pointer, + arg0?.pointer ?? ffi.nullptr, + arg1?.pointer ?? ffi.nullptr, + arg2?.pointer ?? ffi.nullptr, + ); } class NSProtocolChecker extends NSProxy { @@ -98345,7 +92039,7 @@ class NSTask extends NSObject { } static NSTask? - launchedTaskWithExecutableURL_arguments_error_terminationHandler_( + launchedTaskWithExecutableURL_arguments_error_terminationHandler_( AVFAudio _lib, NSURL url, NSArray arguments, @@ -98538,11 +92232,12 @@ abstract class NSTaskTerminationReason { void _ObjCBlock_ffiVoid_NSTask_fnPtrTrampoline( ffi.Pointer block, ffi.Pointer arg0, -) => block.ref.target - .cast< - ffi.NativeFunction arg0)> - >() - .asFunction)>()(arg0); +) => + block.ref.target + .cast< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer arg0)>>() + .asFunction)>()(arg0); final _ObjCBlock_ffiVoid_NSTask_closureRegistry = )>{}; int _ObjCBlock_ffiVoid_NSTask_closureRegistryIndex = 0; @@ -98557,7 +92252,8 @@ ffi.Pointer _ObjCBlock_ffiVoid_NSTask_registerClosure( void _ObjCBlock_ffiVoid_NSTask_closureTrampoline( ffi.Pointer block, ffi.Pointer arg0, -) => _ObjCBlock_ffiVoid_NSTask_closureRegistry[block.ref.target.address]!(arg0); +) => + _ObjCBlock_ffiVoid_NSTask_closureRegistry[block.ref.target.address]!(arg0); class ObjCBlock_ffiVoid_NSTask extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSTask._( @@ -98592,18 +92288,20 @@ class ObjCBlock_ffiVoid_NSTask extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSTask.fromFunctionPointer( AVFAudio lib, ffi.Pointer< - ffi.NativeFunction arg0)> - > ptr, - ) : this._(objc.newBlock( - _cFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ) - >(_ObjCBlock_ffiVoid_NSTask_fnPtrTrampoline).cast(), - ptr.cast(), - ), lib); + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer arg0)>> + ptr, + ) : this._( + objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + )>(_ObjCBlock_ffiVoid_NSTask_fnPtrTrampoline) + .cast(), + ptr.cast(), + ), + lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -98612,18 +92310,20 @@ class ObjCBlock_ffiVoid_NSTask extends objc.ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSTask.fromFunction(AVFAudio lib, void Function(NSTask) fn) - : this._(objc.newBlock( - _dartFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ) - >(_ObjCBlock_ffiVoid_NSTask_closureTrampoline).cast(), - _ObjCBlock_ffiVoid_NSTask_registerClosure(( - ffi.Pointer arg0, - ) => fn(NSTask._(arg0, lib, retain: true, release: true))), - ), lib); + : this._( + objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + )>(_ObjCBlock_ffiVoid_NSTask_closureTrampoline) + .cast(), + _ObjCBlock_ffiVoid_NSTask_registerClosure(( + ffi.Pointer arg0, + ) => + fn(NSTask._(arg0, lib, retain: true, release: true))), + ), + lib); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -98636,37 +92336,38 @@ class ObjCBlock_ffiVoid_NSTask extends objc.ObjCBlockBase { /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. ObjCBlock_ffiVoid_NSTask.listener(AVFAudio lib, void Function(NSTask) fn) - : this._(objc.newBlock( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ) - >.listener( - _ObjCBlock_ffiVoid_NSTask_closureTrampoline, - )..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSTask_registerClosure(( - ffi.Pointer arg0, - ) => fn(NSTask._(arg0, lib, retain: true, release: true))), - ), lib); + : this._( + objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + )>.listener( + _ObjCBlock_ffiVoid_NSTask_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSTask_registerClosure(( + ffi.Pointer arg0, + ) => + fn(NSTask._(arg0, lib, retain: true, release: true))), + ), + lib); static ffi.NativeCallable< - ffi.Void Function(ffi.Pointer, ffi.Pointer) - >? _dartFuncListenerTrampoline; + ffi.Void Function( + ffi.Pointer, ffi.Pointer)>? + _dartFuncListenerTrampoline; void call(NSTask arg0) => pointer.ref.invoke .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer block, - ffi.Pointer arg0, - ) - > - >() + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer block, + ffi.Pointer arg0, + )>>() .asFunction< - void Function(ffi.Pointer, ffi.Pointer) - >()(pointer, arg0.pointer); + void Function(ffi.Pointer, + ffi.Pointer)>()(pointer, arg0.pointer); } class NSXMLElement extends NSXMLNode { @@ -101839,11 +95540,11 @@ class AVAudioSession extends NSObject { return _ret.address == 0 ? null : AVAudioSessionPortDescription._( - _ret, - _lib, - retain: true, - release: true, - ); + _ret, + _lib, + retain: true, + release: true, + ); } bool setPrefersNoInterruptionsFromSystemAlerts_error_( @@ -101922,9 +95623,9 @@ class AVAudioSession extends NSObject { double get preferredSampleRate { return objc.useMsgSendVariants ? _lib._objc_msgSend_165_fpret( - this.pointer, - _lib._sel_preferredSampleRate1, - ) + this.pointer, + _lib._sel_preferredSampleRate1, + ) : _lib._objc_msgSend_165(this.pointer, _lib._sel_preferredSampleRate1); } @@ -101943,13 +95644,13 @@ class AVAudioSession extends NSObject { double get preferredIOBufferDuration { return objc.useMsgSendVariants ? _lib._objc_msgSend_165_fpret( - this.pointer, - _lib._sel_preferredIOBufferDuration1, - ) + this.pointer, + _lib._sel_preferredIOBufferDuration1, + ) : _lib._objc_msgSend_165( - this.pointer, - _lib._sel_preferredIOBufferDuration1, - ); + this.pointer, + _lib._sel_preferredIOBufferDuration1, + ); } bool setPreferredInputNumberOfChannels_error_( @@ -102071,11 +95772,11 @@ class AVAudioSession extends NSObject { return _ret.address == 0 ? null : AVAudioSessionDataSourceDescription._( - _ret, - _lib, - retain: true, - release: true, - ); + _ret, + _lib, + retain: true, + release: true, + ); } bool setInputDataSource_error_( @@ -102108,11 +95809,11 @@ class AVAudioSession extends NSObject { return _ret.address == 0 ? null : AVAudioSessionDataSourceDescription._( - _ret, - _lib, - retain: true, - release: true, - ); + _ret, + _lib, + retain: true, + release: true, + ); } bool setOutputDataSource_error_( @@ -102162,9 +95863,9 @@ class AVAudioSession extends NSObject { double get IOBufferDuration { return objc.useMsgSendVariants ? _lib._objc_msgSend_165_fpret( - this.pointer, - _lib._sel_IOBufferDuration1, - ) + this.pointer, + _lib._sel_IOBufferDuration1, + ) : _lib._objc_msgSend_165(this.pointer, _lib._sel_IOBufferDuration1); } @@ -102309,13 +96010,13 @@ class AVAudioSession extends NSObject { double get currentHardwareSampleRate { return objc.useMsgSendVariants ? _lib._objc_msgSend_165_fpret( - this.pointer, - _lib._sel_currentHardwareSampleRate1, - ) + this.pointer, + _lib._sel_currentHardwareSampleRate1, + ) : _lib._objc_msgSend_165( - this.pointer, - _lib._sel_currentHardwareSampleRate1, - ); + this.pointer, + _lib._sel_currentHardwareSampleRate1, + ); } int get currentHardwareInputNumberOfChannels { @@ -102347,13 +96048,13 @@ class AVAudioSession extends NSObject { double get preferredHardwareSampleRate { return objc.useMsgSendVariants ? _lib._objc_msgSend_165_fpret( - this.pointer, - _lib._sel_preferredHardwareSampleRate1, - ) + this.pointer, + _lib._sel_preferredHardwareSampleRate1, + ) : _lib._objc_msgSend_165( - this.pointer, - _lib._sel_preferredHardwareSampleRate1, - ); + this.pointer, + _lib._sel_preferredHardwareSampleRate1, + ); } static AVAudioSession new1(AVFAudio _lib) { @@ -102483,11 +96184,11 @@ abstract class AVAudioSessionCategoryOptions { static const int AVAudioSessionCategoryOptionAllowBluetooth = 4; static const int AVAudioSessionCategoryOptionDefaultToSpeaker = 8; static const int - AVAudioSessionCategoryOptionInterruptSpokenAudioAndMixWithOthers = 17; + AVAudioSessionCategoryOptionInterruptSpokenAudioAndMixWithOthers = 17; static const int AVAudioSessionCategoryOptionAllowBluetoothA2DP = 32; static const int AVAudioSessionCategoryOptionAllowAirPlay = 64; static const int - AVAudioSessionCategoryOptionOverrideMutedMicrophoneInterruption = 128; + AVAudioSessionCategoryOptionOverrideMutedMicrophoneInterruption = 128; } abstract class AVAudioSessionRouteSharingPolicy { @@ -102605,11 +96306,11 @@ class AVAudioSessionPortDescription extends NSObject { return _ret.address == 0 ? null : AVAudioSessionDataSourceDescription._( - _ret, - _lib, - retain: true, - release: true, - ); + _ret, + _lib, + retain: true, + release: true, + ); } AVAudioSessionDataSourceDescription? get preferredDataSource { @@ -102620,11 +96321,11 @@ class AVAudioSessionPortDescription extends NSObject { return _ret.address == 0 ? null : AVAudioSessionDataSourceDescription._( - _ret, - _lib, - retain: true, - release: true, - ); + _ret, + _lib, + retain: true, + release: true, + ); } bool setPreferredDataSource_error_( @@ -102795,9 +96496,8 @@ class AVAudioSessionDataSourceDescription extends NSObject { }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [AVAudioSessionDataSourceDescription] that points to the same underlying object as [other]. - static AVAudioSessionDataSourceDescription castFrom< - T extends objc.ObjCObjectBase - >(AVFAudio lib, T other) { + static AVAudioSessionDataSourceDescription + castFrom(AVFAudio lib, T other) { return AVAudioSessionDataSourceDescription._( other.pointer, lib, @@ -103064,16 +96764,16 @@ void _ObjCBlock_ffiVoid_bool_NSError_fnPtrTrampoline( ffi.Pointer block, bool arg0, ffi.Pointer arg1, -) => block.ref.target - .cast< - ffi.NativeFunction< - ffi.Void Function(ffi.Bool arg0, ffi.Pointer arg1) - > - >() - .asFunction)>()( - arg0, - arg1, -); +) => + block.ref.target + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Bool arg0, ffi.Pointer arg1)>>() + .asFunction)>()( + arg0, + arg1, + ); final _ObjCBlock_ffiVoid_bool_NSError_closureRegistry = )>{}; int _ObjCBlock_ffiVoid_bool_NSError_closureRegistryIndex = 0; @@ -103089,10 +96789,11 @@ void _ObjCBlock_ffiVoid_bool_NSError_closureTrampoline( ffi.Pointer block, bool arg0, ffi.Pointer arg1, -) => _ObjCBlock_ffiVoid_bool_NSError_closureRegistry[block.ref.target.address]!( - arg0, - arg1, -); +) => + _ObjCBlock_ffiVoid_bool_NSError_closureRegistry[block.ref.target.address]!( + arg0, + arg1, + ); class ObjCBlock_ffiVoid_bool_NSError extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_bool_NSError._( @@ -103127,21 +96828,22 @@ class ObjCBlock_ffiVoid_bool_NSError extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_bool_NSError.fromFunctionPointer( AVFAudio lib, ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function(ffi.Bool arg0, ffi.Pointer arg1) - > - > ptr, - ) : this._(objc.newBlock( - _cFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Bool, - ffi.Pointer, - ) - >(_ObjCBlock_ffiVoid_bool_NSError_fnPtrTrampoline).cast(), - ptr.cast(), - ), lib); + ffi.NativeFunction< + ffi.Void Function( + ffi.Bool arg0, ffi.Pointer arg1)>> + ptr, + ) : this._( + objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Bool, + ffi.Pointer, + )>(_ObjCBlock_ffiVoid_bool_NSError_fnPtrTrampoline) + .cast(), + ptr.cast(), + ), + lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -103152,25 +96854,27 @@ class ObjCBlock_ffiVoid_bool_NSError extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_bool_NSError.fromFunction( AVFAudio lib, void Function(bool, NSError?) fn, - ) : this._(objc.newBlock( - _dartFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Bool, - ffi.Pointer, - ) - >(_ObjCBlock_ffiVoid_bool_NSError_closureTrampoline).cast(), - _ObjCBlock_ffiVoid_bool_NSError_registerClosure(( - bool arg0, - ffi.Pointer arg1, - ) => fn( - arg0, - arg1.address == 0 - ? null - : NSError._(arg1, lib, retain: true, release: true), - )), - ), lib); + ) : this._( + objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Bool, + ffi.Pointer, + )>(_ObjCBlock_ffiVoid_bool_NSError_closureTrampoline) + .cast(), + _ObjCBlock_ffiVoid_bool_NSError_registerClosure(( + bool arg0, + ffi.Pointer arg1, + ) => + fn( + arg0, + arg1.address == 0 + ? null + : NSError._(arg1, lib, retain: true, release: true), + )), + ), + lib); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -103185,53 +96889,51 @@ class ObjCBlock_ffiVoid_bool_NSError extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_bool_NSError.listener( AVFAudio lib, void Function(bool, NSError?) fn, - ) : this._(objc.newBlock( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Bool, - ffi.Pointer, - ) - >.listener( - _ObjCBlock_ffiVoid_bool_NSError_closureTrampoline, - )..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_bool_NSError_registerClosure(( - bool arg0, - ffi.Pointer arg1, - ) => fn( - arg0, - arg1.address == 0 - ? null - : NSError._(arg1, lib, retain: true, release: true), - )), - ), lib); + ) : this._( + objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Bool, + ffi.Pointer, + )>.listener( + _ObjCBlock_ffiVoid_bool_NSError_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_bool_NSError_registerClosure(( + bool arg0, + ffi.Pointer arg1, + ) => + fn( + arg0, + arg1.address == 0 + ? null + : NSError._(arg1, lib, retain: true, release: true), + )), + ), + lib); static ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Bool, - ffi.Pointer, - ) - >? _dartFuncListenerTrampoline; + ffi.Void Function( + ffi.Pointer, + ffi.Bool, + ffi.Pointer, + )>? _dartFuncListenerTrampoline; void call(bool arg0, NSError? arg1) => pointer.ref.invoke .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer block, - ffi.Bool arg0, - ffi.Pointer arg1, - ) - > - >() + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer block, + ffi.Bool arg0, + ffi.Pointer arg1, + )>>() .asFunction< - void Function( - ffi.Pointer, - bool, - ffi.Pointer, - ) - >()(pointer, arg0, arg1?.pointer ?? ffi.nullptr); + void Function( + ffi.Pointer, + bool, + ffi.Pointer, + )>()(pointer, arg0, arg1?.pointer ?? ffi.nullptr); } abstract class AVAudioStereoOrientation { @@ -103700,9 +97402,9 @@ class AVAudioPlayer extends NSObject { double get deviceCurrentTime { return objc.useMsgSendVariants ? _lib._objc_msgSend_165_fpret( - this.pointer, - _lib._sel_deviceCurrentTime1, - ) + this.pointer, + _lib._sel_deviceCurrentTime1, + ) : _lib._objc_msgSend_165(this.pointer, _lib._sel_deviceCurrentTime1); } @@ -103747,29 +97449,29 @@ class AVAudioPlayer extends NSObject { double peakPowerForChannel_(int channelNumber) { return objc.useMsgSendVariants ? _lib._objc_msgSend_1194_fpret( - this.pointer, - _lib._sel_peakPowerForChannel_1, - channelNumber, - ) + this.pointer, + _lib._sel_peakPowerForChannel_1, + channelNumber, + ) : _lib._objc_msgSend_1194( - this.pointer, - _lib._sel_peakPowerForChannel_1, - channelNumber, - ); + this.pointer, + _lib._sel_peakPowerForChannel_1, + channelNumber, + ); } double averagePowerForChannel_(int channelNumber) { return objc.useMsgSendVariants ? _lib._objc_msgSend_1194_fpret( - this.pointer, - _lib._sel_averagePowerForChannel_1, - channelNumber, - ) + this.pointer, + _lib._sel_averagePowerForChannel_1, + channelNumber, + ) : _lib._objc_msgSend_1194( - this.pointer, - _lib._sel_averagePowerForChannel_1, - channelNumber, - ); + this.pointer, + _lib._sel_averagePowerForChannel_1, + channelNumber, + ); } NSArray? get channelAssignments { diff --git a/pkgs/ffigen/example/swift/swift_api_bindings.dart b/pkgs/ffigen/example/swift/swift_api_bindings.dart index f09a7666b..e0b24098f 100644 --- a/pkgs/ffigen/example/swift/swift_api_bindings.dart +++ b/pkgs/ffigen/example/swift/swift_api_bindings.dart @@ -25,7 +25,7 @@ class SwiftLibrary { /// The symbols are looked up in [dynamicLibrary]. SwiftLibrary(ffi.DynamicLibrary dynamicLibrary) - : _lookup = dynamicLibrary.lookup; + : _lookup = dynamicLibrary.lookup; /// The symbols are looked up with [lookup]. SwiftLibrary.fromLookup( @@ -42,21 +42,16 @@ class SwiftLibrary { } late final __objc_msgSend_1Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1 = __objc_msgSend_1Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1 = - __objc_msgSend_1Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_initialize1 = objc.registerName("initialize"); late final _sel_init1 = objc.registerName("init"); @@ -68,21 +63,16 @@ class SwiftLibrary { } late final __objc_msgSend_2Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_2 = __objc_msgSend_2Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_2 = - __objc_msgSend_2Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_new1 = objc.registerName("new"); late final _sel_allocWithZone_1 = objc.registerName("allocWithZone:"); @@ -95,23 +85,18 @@ class SwiftLibrary { } late final __objc_msgSend_3Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_NSZone>, + )>>('objc_msgSend'); + late final __objc_msgSend_3 = __objc_msgSend_3Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer<_NSZone>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_3 = - __objc_msgSend_3Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_NSZone>, - ) - >(); + )>(); late final _sel_alloc1 = objc.registerName("alloc"); late final _sel_dealloc1 = objc.registerName("dealloc"); @@ -134,23 +119,18 @@ class SwiftLibrary { } late final __objc_msgSend_4Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_4 = __objc_msgSend_4Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_4 = - __objc_msgSend_4Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); bool _objc_msgSend_0( ffi.Pointer obj, @@ -161,23 +141,18 @@ class SwiftLibrary { } late final __objc_msgSend_0Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_0 = __objc_msgSend_0Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_0 = - __objc_msgSend_0Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_isKindOfClass_1 = objc.registerName("isKindOfClass:"); late final _class_Protocol1 = objc.getClass("Protocol"); @@ -193,23 +168,18 @@ class SwiftLibrary { } late final __objc_msgSend_5Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_5 = __objc_msgSend_5Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_5 = - __objc_msgSend_5Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_methodForSelector_1 = objc.registerName("methodForSelector:"); ffi.Pointer> _objc_msgSend_6( @@ -221,23 +191,18 @@ class SwiftLibrary { } late final __objc_msgSend_6Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer> Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_6 = __objc_msgSend_6Ptr.asFunction< ffi.Pointer> Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_6 = - __objc_msgSend_6Ptr - .asFunction< - ffi.Pointer> Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_instanceMethodForSelector_1 = objc.registerName( "instanceMethodForSelector:", @@ -254,23 +219,18 @@ class SwiftLibrary { } late final __objc_msgSend_7Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_7 = __objc_msgSend_7Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_7 = - __objc_msgSend_7Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_forwardingTargetForSelector_1 = objc.registerName( "forwardingTargetForSelector:", @@ -284,23 +244,18 @@ class SwiftLibrary { } late final __objc_msgSend_8Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_8 = __objc_msgSend_8Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_8 = - __objc_msgSend_8Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _class_NSInvocation1 = objc.getClass("NSInvocation"); late final _class_NSMethodSignature1 = objc.getClass("NSMethodSignature"); @@ -316,23 +271,18 @@ class SwiftLibrary { } late final __objc_msgSend_9Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_9 = __objc_msgSend_9Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_9 = - __objc_msgSend_9Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_numberOfArguments1 = objc.registerName("numberOfArguments"); int _objc_msgSend_10( @@ -343,21 +293,16 @@ class SwiftLibrary { } late final __objc_msgSend_10Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedLong Function( + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_10 = __objc_msgSend_10Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_10 = - __objc_msgSend_10Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_getArgumentTypeAtIndex_1 = objc.registerName( "getArgumentTypeAtIndex:", @@ -371,23 +316,18 @@ class SwiftLibrary { } late final __objc_msgSend_11Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + )>>('objc_msgSend'); + late final __objc_msgSend_11 = __objc_msgSend_11Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_11 = - __objc_msgSend_11Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_frameLength1 = objc.registerName("frameLength"); late final _sel_isOneway1 = objc.registerName("isOneway"); @@ -399,21 +339,16 @@ class SwiftLibrary { } late final __objc_msgSend_12Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_12 = __objc_msgSend_12Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_12 = - __objc_msgSend_12Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_methodReturnType1 = objc.registerName("methodReturnType"); ffi.Pointer _objc_msgSend_13( @@ -424,27 +359,22 @@ class SwiftLibrary { } late final __objc_msgSend_13Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_13 = __objc_msgSend_13Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_13 = - __objc_msgSend_13Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_methodReturnLength1 = objc.registerName("methodReturnLength"); late final _sel_cancelPreviousPerformRequestsWithTarget_selector_object_1 = objc.registerName( - "cancelPreviousPerformRequestsWithTarget:selector:object:", - ); + "cancelPreviousPerformRequestsWithTarget:selector:object:", + ); void _objc_msgSend_14( ffi.Pointer obj, ffi.Pointer sel, @@ -456,27 +386,22 @@ class SwiftLibrary { } late final __objc_msgSend_14Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_14 = __objc_msgSend_14Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_14 = - __objc_msgSend_14Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_cancelPreviousPerformRequestsWithTarget_1 = objc.registerName( "cancelPreviousPerformRequestsWithTarget:", @@ -490,23 +415,18 @@ class SwiftLibrary { } late final __objc_msgSend_15Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_15 = __objc_msgSend_15Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_15 = - __objc_msgSend_15Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_accessInstanceVariablesDirectly1 = objc.registerName( "accessInstanceVariablesDirectly", @@ -524,23 +444,18 @@ class SwiftLibrary { } late final __objc_msgSend_16Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_16 = __objc_msgSend_16Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_16 = - __objc_msgSend_16Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _class_NSEnumerator1 = objc.getClass("NSEnumerator"); late final _sel_nextObject1 = objc.registerName("nextObject"); @@ -552,21 +467,16 @@ class SwiftLibrary { } late final __objc_msgSend_17Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_17 = __objc_msgSend_17Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_17 = - __objc_msgSend_17Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_allObjects1 = objc.registerName("allObjects"); late final _class_NSString1 = objc.getClass("NSString"); @@ -581,23 +491,18 @@ class SwiftLibrary { } late final __objc_msgSend_18Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedShort Function( + ffi.NativeFunction< + ffi.UnsignedShort Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + )>>('objc_msgSend'); + late final __objc_msgSend_18 = __objc_msgSend_18Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_18 = - __objc_msgSend_18Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _class_NSCoder1 = objc.getClass("NSCoder"); late final _sel_encodeValueOfObjCType_at_1 = objc.registerName( @@ -613,25 +518,20 @@ class SwiftLibrary { } late final __objc_msgSend_19Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_19 = __objc_msgSend_19Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_19 = - __objc_msgSend_19Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _class_NSData1 = objc.getClass("NSData"); late final _sel_bytes1 = objc.registerName("bytes"); @@ -643,21 +543,16 @@ class SwiftLibrary { } late final __objc_msgSend_20Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_20 = __objc_msgSend_20Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_20 = - __objc_msgSend_20Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_description1 = objc.registerName("description"); ffi.Pointer _objc_msgSend_21( @@ -668,21 +563,16 @@ class SwiftLibrary { } late final __objc_msgSend_21Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_21 = __objc_msgSend_21Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_21 = - __objc_msgSend_21Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_getBytes_length_1 = objc.registerName("getBytes:length:"); void _objc_msgSend_22( @@ -695,25 +585,20 @@ class SwiftLibrary { } late final __objc_msgSend_22Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + )>>('objc_msgSend'); + late final __objc_msgSend_22 = __objc_msgSend_22Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_22 = - __objc_msgSend_22Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_getBytes_range_1 = objc.registerName("getBytes:range:"); void _objc_msgSend_23( @@ -726,25 +611,20 @@ class SwiftLibrary { } late final __objc_msgSend_23Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange, + )>>('objc_msgSend'); + late final __objc_msgSend_23 = __objc_msgSend_23Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, _NSRange, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_23 = - __objc_msgSend_23Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - _NSRange, - ) - >(); + )>(); late final _sel_isEqualToData_1 = objc.registerName("isEqualToData:"); bool _objc_msgSend_24( @@ -756,23 +636,18 @@ class SwiftLibrary { } late final __objc_msgSend_24Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_24 = __objc_msgSend_24Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_24 = - __objc_msgSend_24Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_subdataWithRange_1 = objc.registerName("subdataWithRange:"); ffi.Pointer _objc_msgSend_25( @@ -784,23 +659,18 @@ class SwiftLibrary { } late final __objc_msgSend_25Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + )>>('objc_msgSend'); + late final __objc_msgSend_25 = __objc_msgSend_25Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, _NSRange, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_25 = - __objc_msgSend_25Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ) - >(); + )>(); late final _sel_writeToFile_atomically_1 = objc.registerName( "writeToFile:atomically:", @@ -815,25 +685,20 @@ class SwiftLibrary { } late final __objc_msgSend_26Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + )>>('objc_msgSend'); + late final __objc_msgSend_26 = __objc_msgSend_26Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Bool, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_26 = - __objc_msgSend_26Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - ) - >(); + bool, + )>(); late final _class_NSURL1 = objc.getClass("NSURL"); late final _sel_initWithScheme_host_path_1 = objc.registerName( @@ -850,30 +715,25 @@ class SwiftLibrary { } late final __objc_msgSend_27Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_27 = __objc_msgSend_27Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_27 = - __objc_msgSend_27Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); - late final _sel_initFileURLWithPath_isDirectory_relativeToURL_1 = objc - .registerName("initFileURLWithPath:isDirectory:relativeToURL:"); + late final _sel_initFileURLWithPath_isDirectory_relativeToURL_1 = + objc.registerName("initFileURLWithPath:isDirectory:relativeToURL:"); instancetype _objc_msgSend_28( ffi.Pointer obj, ffi.Pointer sel, @@ -885,27 +745,22 @@ class SwiftLibrary { } late final __objc_msgSend_28Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_28 = __objc_msgSend_28Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Bool, + bool, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_28 = - __objc_msgSend_28Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - ffi.Pointer, - ) - >(); + )>(); late final _sel_initFileURLWithPath_relativeToURL_1 = objc.registerName( "initFileURLWithPath:relativeToURL:", @@ -920,25 +775,20 @@ class SwiftLibrary { } late final __objc_msgSend_29Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_29 = __objc_msgSend_29Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_29 = - __objc_msgSend_29Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_initFileURLWithPath_isDirectory_1 = objc.registerName( "initFileURLWithPath:isDirectory:", @@ -953,25 +803,20 @@ class SwiftLibrary { } late final __objc_msgSend_30Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + )>>('objc_msgSend'); + late final __objc_msgSend_30 = __objc_msgSend_30Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Bool, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_30 = - __objc_msgSend_30Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - ) - >(); + bool, + )>(); late final _sel_initFileURLWithPath_1 = objc.registerName( "initFileURLWithPath:", @@ -985,26 +830,21 @@ class SwiftLibrary { } late final __objc_msgSend_31Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_31 = __objc_msgSend_31Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_31 = - __objc_msgSend_31Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); - late final _sel_fileURLWithPath_isDirectory_relativeToURL_1 = objc - .registerName("fileURLWithPath:isDirectory:relativeToURL:"); + late final _sel_fileURLWithPath_isDirectory_relativeToURL_1 = + objc.registerName("fileURLWithPath:isDirectory:relativeToURL:"); ffi.Pointer _objc_msgSend_32( ffi.Pointer obj, ffi.Pointer sel, @@ -1016,27 +856,22 @@ class SwiftLibrary { } late final __objc_msgSend_32Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_32 = __objc_msgSend_32Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Bool, + bool, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_32 = - __objc_msgSend_32Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - ffi.Pointer, - ) - >(); + )>(); late final _sel_fileURLWithPath_relativeToURL_1 = objc.registerName( "fileURLWithPath:relativeToURL:", @@ -1051,25 +886,20 @@ class SwiftLibrary { } late final __objc_msgSend_33Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_33 = __objc_msgSend_33Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_33 = - __objc_msgSend_33Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_fileURLWithPath_isDirectory_1 = objc.registerName( "fileURLWithPath:isDirectory:", @@ -1084,25 +914,20 @@ class SwiftLibrary { } late final __objc_msgSend_34Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + )>>('objc_msgSend'); + late final __objc_msgSend_34 = __objc_msgSend_34Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Bool, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_34 = - __objc_msgSend_34Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - ) - >(); + bool, + )>(); late final _sel_fileURLWithPath_1 = objc.registerName("fileURLWithPath:"); ffi.Pointer _objc_msgSend_35( @@ -1114,28 +939,23 @@ class SwiftLibrary { } late final __objc_msgSend_35Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_35 = __objc_msgSend_35Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_35 = - __objc_msgSend_35Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_initFileURLWithFileSystemRepresentation_isDirectory_relativeToURL_1 = objc.registerName( - "initFileURLWithFileSystemRepresentation:isDirectory:relativeToURL:", - ); + "initFileURLWithFileSystemRepresentation:isDirectory:relativeToURL:", + ); instancetype _objc_msgSend_36( ffi.Pointer obj, ffi.Pointer sel, @@ -1147,32 +967,27 @@ class SwiftLibrary { } late final __objc_msgSend_36Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_36 = __objc_msgSend_36Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Bool, + bool, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_36 = - __objc_msgSend_36Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - ffi.Pointer, - ) - >(); + )>(); late final _sel_fileURLWithFileSystemRepresentation_isDirectory_relativeToURL_1 = objc.registerName( - "fileURLWithFileSystemRepresentation:isDirectory:relativeToURL:", - ); + "fileURLWithFileSystemRepresentation:isDirectory:relativeToURL:", + ); ffi.Pointer _objc_msgSend_37( ffi.Pointer obj, ffi.Pointer sel, @@ -1184,27 +999,22 @@ class SwiftLibrary { } late final __objc_msgSend_37Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_37 = __objc_msgSend_37Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Bool, + bool, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_37 = - __objc_msgSend_37Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - ffi.Pointer, - ) - >(); + )>(); late final _sel_initWithString_1 = objc.registerName("initWithString:"); instancetype _objc_msgSend_38( @@ -1216,23 +1026,18 @@ class SwiftLibrary { } late final __objc_msgSend_38Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_38 = __objc_msgSend_38Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_38 = - __objc_msgSend_38Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_initWithString_relativeToURL_1 = objc.registerName( "initWithString:relativeToURL:", @@ -1247,32 +1052,27 @@ class SwiftLibrary { } late final __objc_msgSend_39Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_39 = __objc_msgSend_39Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_39 = - __objc_msgSend_39Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_URLWithString_1 = objc.registerName("URLWithString:"); late final _sel_URLWithString_relativeToURL_1 = objc.registerName( "URLWithString:relativeToURL:", ); - late final _sel_initWithString_encodingInvalidCharacters_1 = objc - .registerName("initWithString:encodingInvalidCharacters:"); + late final _sel_initWithString_encodingInvalidCharacters_1 = + objc.registerName("initWithString:encodingInvalidCharacters:"); instancetype _objc_msgSend_40( ffi.Pointer obj, ffi.Pointer sel, @@ -1283,31 +1083,26 @@ class SwiftLibrary { } late final __objc_msgSend_40Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + )>>('objc_msgSend'); + late final __objc_msgSend_40 = __objc_msgSend_40Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Bool, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_40 = - __objc_msgSend_40Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - ) - >(); + bool, + )>(); late final _sel_URLWithString_encodingInvalidCharacters_1 = objc.registerName( "URLWithString:encodingInvalidCharacters:", ); - late final _sel_initWithDataRepresentation_relativeToURL_1 = objc - .registerName("initWithDataRepresentation:relativeToURL:"); + late final _sel_initWithDataRepresentation_relativeToURL_1 = + objc.registerName("initWithDataRepresentation:relativeToURL:"); instancetype _objc_msgSend_41( ffi.Pointer obj, ffi.Pointer sel, @@ -1318,25 +1113,20 @@ class SwiftLibrary { } late final __objc_msgSend_41Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_41 = __objc_msgSend_41Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_41 = - __objc_msgSend_41Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_URLWithDataRepresentation_relativeToURL_1 = objc.registerName( "URLWithDataRepresentation:relativeToURL:", @@ -1351,30 +1141,25 @@ class SwiftLibrary { } late final __objc_msgSend_42Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_42 = __objc_msgSend_42Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_42 = - __objc_msgSend_42Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); - late final _sel_initAbsoluteURLWithDataRepresentation_relativeToURL_1 = objc - .registerName("initAbsoluteURLWithDataRepresentation:relativeToURL:"); - late final _sel_absoluteURLWithDataRepresentation_relativeToURL_1 = objc - .registerName("absoluteURLWithDataRepresentation:relativeToURL:"); + late final _sel_initAbsoluteURLWithDataRepresentation_relativeToURL_1 = + objc.registerName("initAbsoluteURLWithDataRepresentation:relativeToURL:"); + late final _sel_absoluteURLWithDataRepresentation_relativeToURL_1 = + objc.registerName("absoluteURLWithDataRepresentation:relativeToURL:"); late final _sel_dataRepresentation1 = objc.registerName("dataRepresentation"); ffi.Pointer _objc_msgSend_43( ffi.Pointer obj, @@ -1384,21 +1169,16 @@ class SwiftLibrary { } late final __objc_msgSend_43Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_43 = __objc_msgSend_43Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_43 = - __objc_msgSend_43Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_absoluteString1 = objc.registerName("absoluteString"); ffi.Pointer _objc_msgSend_44( @@ -1409,21 +1189,16 @@ class SwiftLibrary { } late final __objc_msgSend_44Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_44 = __objc_msgSend_44Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_44 = - __objc_msgSend_44Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_relativeString1 = objc.registerName("relativeString"); late final _sel_baseURL1 = objc.registerName("baseURL"); @@ -1435,21 +1210,16 @@ class SwiftLibrary { } late final __objc_msgSend_45Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_45 = __objc_msgSend_45Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_45 = - __objc_msgSend_45Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_absoluteURL1 = objc.registerName("absoluteURL"); late final _sel_scheme1 = objc.registerName("scheme"); @@ -1472,25 +1242,20 @@ class SwiftLibrary { } late final __objc_msgSend_46Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_46 = __objc_msgSend_46Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_46 = - __objc_msgSend_46Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_initWithCoder_1 = objc.registerName("initWithCoder:"); instancetype _objc_msgSend_47( @@ -1502,23 +1267,18 @@ class SwiftLibrary { } late final __objc_msgSend_47Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_47 = __objc_msgSend_47Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_47 = - __objc_msgSend_47Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_valueWithBytes_objCType_1 = objc.registerName( "valueWithBytes:objCType:", @@ -1533,25 +1293,20 @@ class SwiftLibrary { } late final __objc_msgSend_48Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_48 = __objc_msgSend_48Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_48 = - __objc_msgSend_48Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_value_withObjCType_1 = objc.registerName( "value:withObjCType:", @@ -1568,23 +1323,18 @@ class SwiftLibrary { } late final __objc_msgSend_49Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_49 = __objc_msgSend_49Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_49 = - __objc_msgSend_49Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_nonretainedObjectValue1 = objc.registerName( "nonretainedObjectValue", @@ -1599,23 +1349,18 @@ class SwiftLibrary { } late final __objc_msgSend_50Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_50 = __objc_msgSend_50Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_50 = - __objc_msgSend_50Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_pointerValue1 = objc.registerName("pointerValue"); late final _sel_isEqualToValue_1 = objc.registerName("isEqualToValue:"); @@ -1628,23 +1373,18 @@ class SwiftLibrary { } late final __objc_msgSend_51Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_51 = __objc_msgSend_51Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_51 = - __objc_msgSend_51Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_getValue_1 = objc.registerName("getValue:"); void _objc_msgSend_52( @@ -1656,23 +1396,18 @@ class SwiftLibrary { } late final __objc_msgSend_52Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_52 = __objc_msgSend_52Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_52 = - __objc_msgSend_52Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_valueWithRange_1 = objc.registerName("valueWithRange:"); ffi.Pointer _objc_msgSend_53( @@ -1684,23 +1419,18 @@ class SwiftLibrary { } late final __objc_msgSend_53Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + )>>('objc_msgSend'); + late final __objc_msgSend_53 = __objc_msgSend_53Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, _NSRange, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_53 = - __objc_msgSend_53Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ) - >(); + )>(); late final _sel_rangeValue1 = objc.registerName("rangeValue"); _NSRange _objc_msgSend_54( @@ -1711,21 +1441,16 @@ class SwiftLibrary { } late final __objc_msgSend_54Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + _NSRange Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_54 = __objc_msgSend_54Ptr.asFunction< _NSRange Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_54 = - __objc_msgSend_54Ptr - .asFunction< - _NSRange Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); void _objc_msgSend_54_stret( ffi.Pointer<_NSRange> stret, @@ -1736,23 +1461,18 @@ class SwiftLibrary { } late final __objc_msgSend_54_stretPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer<_NSRange>, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend_stret'); + late final __objc_msgSend_54_stret = __objc_msgSend_54_stretPtr.asFunction< + void Function( ffi.Pointer<_NSRange>, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend_stret'); - late final __objc_msgSend_54_stret = - __objc_msgSend_54_stretPtr - .asFunction< - void Function( - ffi.Pointer<_NSRange>, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_valueWithPoint_1 = objc.registerName("valueWithPoint:"); ffi.Pointer _objc_msgSend_55( @@ -1764,23 +1484,18 @@ class SwiftLibrary { } late final __objc_msgSend_55Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + CGPoint, + )>>('objc_msgSend'); + late final __objc_msgSend_55 = __objc_msgSend_55Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, CGPoint, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_55 = - __objc_msgSend_55Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - CGPoint, - ) - >(); + )>(); late final _sel_valueWithSize_1 = objc.registerName("valueWithSize:"); ffi.Pointer _objc_msgSend_56( @@ -1792,23 +1507,18 @@ class SwiftLibrary { } late final __objc_msgSend_56Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + CGSize, + )>>('objc_msgSend'); + late final __objc_msgSend_56 = __objc_msgSend_56Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, CGSize, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_56 = - __objc_msgSend_56Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - CGSize, - ) - >(); + )>(); late final _sel_valueWithRect_1 = objc.registerName("valueWithRect:"); ffi.Pointer _objc_msgSend_57( @@ -1820,23 +1530,18 @@ class SwiftLibrary { } late final __objc_msgSend_57Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + CGRect, + )>>('objc_msgSend'); + late final __objc_msgSend_57 = __objc_msgSend_57Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, CGRect, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_57 = - __objc_msgSend_57Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - CGRect, - ) - >(); + )>(); late final _sel_valueWithEdgeInsets_1 = objc.registerName( "valueWithEdgeInsets:", @@ -1850,23 +1555,18 @@ class SwiftLibrary { } late final __objc_msgSend_58Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + NSEdgeInsets, + )>>('objc_msgSend'); + late final __objc_msgSend_58 = __objc_msgSend_58Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, NSEdgeInsets, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_58 = - __objc_msgSend_58Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - NSEdgeInsets, - ) - >(); + )>(); late final _sel_pointValue1 = objc.registerName("pointValue"); CGPoint _objc_msgSend_59( @@ -1877,21 +1577,16 @@ class SwiftLibrary { } late final __objc_msgSend_59Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + CGPoint Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_59 = __objc_msgSend_59Ptr.asFunction< CGPoint Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_59 = - __objc_msgSend_59Ptr - .asFunction< - CGPoint Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); void _objc_msgSend_59_stret( ffi.Pointer stret, @@ -1902,23 +1597,18 @@ class SwiftLibrary { } late final __objc_msgSend_59_stretPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend_stret'); + late final __objc_msgSend_59_stret = __objc_msgSend_59_stretPtr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend_stret'); - late final __objc_msgSend_59_stret = - __objc_msgSend_59_stretPtr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_sizeValue1 = objc.registerName("sizeValue"); CGSize _objc_msgSend_60( @@ -1929,21 +1619,16 @@ class SwiftLibrary { } late final __objc_msgSend_60Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + CGSize Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_60 = __objc_msgSend_60Ptr.asFunction< CGSize Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_60 = - __objc_msgSend_60Ptr - .asFunction< - CGSize Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); void _objc_msgSend_60_stret( ffi.Pointer stret, @@ -1954,23 +1639,18 @@ class SwiftLibrary { } late final __objc_msgSend_60_stretPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend_stret'); + late final __objc_msgSend_60_stret = __objc_msgSend_60_stretPtr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend_stret'); - late final __objc_msgSend_60_stret = - __objc_msgSend_60_stretPtr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_rectValue1 = objc.registerName("rectValue"); CGRect _objc_msgSend_61( @@ -1981,21 +1661,16 @@ class SwiftLibrary { } late final __objc_msgSend_61Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + CGRect Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_61 = __objc_msgSend_61Ptr.asFunction< CGRect Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_61 = - __objc_msgSend_61Ptr - .asFunction< - CGRect Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); void _objc_msgSend_61_stret( ffi.Pointer stret, @@ -2006,23 +1681,18 @@ class SwiftLibrary { } late final __objc_msgSend_61_stretPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend_stret'); + late final __objc_msgSend_61_stret = __objc_msgSend_61_stretPtr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend_stret'); - late final __objc_msgSend_61_stret = - __objc_msgSend_61_stretPtr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_edgeInsetsValue1 = objc.registerName("edgeInsetsValue"); NSEdgeInsets _objc_msgSend_62( @@ -2033,21 +1703,16 @@ class SwiftLibrary { } late final __objc_msgSend_62Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + NSEdgeInsets Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_62 = __objc_msgSend_62Ptr.asFunction< NSEdgeInsets Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_62 = - __objc_msgSend_62Ptr - .asFunction< - NSEdgeInsets Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); void _objc_msgSend_62_stret( ffi.Pointer stret, @@ -2058,23 +1723,18 @@ class SwiftLibrary { } late final __objc_msgSend_62_stretPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend_stret'); + late final __objc_msgSend_62_stret = __objc_msgSend_62_stretPtr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend_stret'); - late final __objc_msgSend_62_stret = - __objc_msgSend_62_stretPtr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_keyPathsForValuesAffectingValueForKey_1 = objc.registerName( "keyPathsForValuesAffectingValueForKey:", @@ -2088,23 +1748,18 @@ class SwiftLibrary { } late final __objc_msgSend_63Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_63 = __objc_msgSend_63Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_63 = - __objc_msgSend_63Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_automaticallyNotifiesObserversForKey_1 = objc.registerName( "automaticallyNotifiesObserversForKey:", @@ -2118,23 +1773,18 @@ class SwiftLibrary { } late final __objc_msgSend_64Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_64 = __objc_msgSend_64Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_64 = - __objc_msgSend_64Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _class_NSArray1 = objc.getClass("NSArray"); late final _sel_objectAtIndex_1 = objc.registerName("objectAtIndex:"); @@ -2147,23 +1797,18 @@ class SwiftLibrary { } late final __objc_msgSend_65Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + )>>('objc_msgSend'); + late final __objc_msgSend_65 = __objc_msgSend_65Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_65 = - __objc_msgSend_65Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_initWithObjects_count_1 = objc.registerName( "initWithObjects:count:", @@ -2178,25 +1823,20 @@ class SwiftLibrary { } late final __objc_msgSend_66Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.UnsignedLong, + )>>('objc_msgSend'); + late final __objc_msgSend_66 = __objc_msgSend_66Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer>, - ffi.UnsignedLong, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_66 = - __objc_msgSend_66Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - int, - ) - >(); + int, + )>(); late final _sel_arrayByAddingObject_1 = objc.registerName( "arrayByAddingObject:", @@ -2210,23 +1850,18 @@ class SwiftLibrary { } late final __objc_msgSend_67Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_67 = __objc_msgSend_67Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_67 = - __objc_msgSend_67Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_arrayByAddingObjectsFromArray_1 = objc.registerName( "arrayByAddingObjectsFromArray:", @@ -2240,23 +1875,18 @@ class SwiftLibrary { } late final __objc_msgSend_68Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_68 = __objc_msgSend_68Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_68 = - __objc_msgSend_68Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_componentsJoinedByString_1 = objc.registerName( "componentsJoinedByString:", @@ -2270,23 +1900,18 @@ class SwiftLibrary { } late final __objc_msgSend_69Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_69 = __objc_msgSend_69Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_69 = - __objc_msgSend_69Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_containsObject_1 = objc.registerName("containsObject:"); late final _sel_descriptionWithLocale_1 = objc.registerName( @@ -2301,23 +1926,18 @@ class SwiftLibrary { } late final __objc_msgSend_70Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_70 = __objc_msgSend_70Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_70 = - __objc_msgSend_70Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_descriptionWithLocale_indent_1 = objc.registerName( "descriptionWithLocale:indent:", @@ -2332,25 +1952,20 @@ class SwiftLibrary { } late final __objc_msgSend_71Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + )>>('objc_msgSend'); + late final __objc_msgSend_71 = __objc_msgSend_71Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_71 = - __objc_msgSend_71Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_firstObjectCommonWithArray_1 = objc.registerName( "firstObjectCommonWithArray:", @@ -2364,23 +1979,18 @@ class SwiftLibrary { } late final __objc_msgSend_72Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_72 = __objc_msgSend_72Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_72 = - __objc_msgSend_72Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_getObjects_range_1 = objc.registerName("getObjects:range:"); void _objc_msgSend_73( @@ -2393,25 +2003,20 @@ class SwiftLibrary { } late final __objc_msgSend_73Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + _NSRange, + )>>('objc_msgSend'); + late final __objc_msgSend_73 = __objc_msgSend_73Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer>, _NSRange, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_73 = - __objc_msgSend_73Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - _NSRange, - ) - >(); + )>(); late final _sel_indexOfObject_1 = objc.registerName("indexOfObject:"); int _objc_msgSend_74( @@ -2423,23 +2028,18 @@ class SwiftLibrary { } late final __objc_msgSend_74Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedLong Function( + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_74 = __objc_msgSend_74Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_74 = - __objc_msgSend_74Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_indexOfObject_inRange_1 = objc.registerName( "indexOfObject:inRange:", @@ -2454,25 +2054,20 @@ class SwiftLibrary { } late final __objc_msgSend_75Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedLong Function( + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange, + )>>('objc_msgSend'); + late final __objc_msgSend_75 = __objc_msgSend_75Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, _NSRange, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_75 = - __objc_msgSend_75Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - _NSRange, - ) - >(); + )>(); late final _sel_indexOfObjectIdenticalTo_1 = objc.registerName( "indexOfObjectIdenticalTo:", @@ -2490,23 +2085,18 @@ class SwiftLibrary { } late final __objc_msgSend_76Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_76 = __objc_msgSend_76Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_76 = - __objc_msgSend_76Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_firstObject1 = objc.registerName("firstObject"); late final _sel_lastObject1 = objc.registerName("lastObject"); @@ -2519,21 +2109,16 @@ class SwiftLibrary { } late final __objc_msgSend_77Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_77 = __objc_msgSend_77Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_77 = - __objc_msgSend_77Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_reverseObjectEnumerator1 = objc.registerName( "reverseObjectEnumerator", @@ -2546,55 +2131,45 @@ class SwiftLibrary { ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer< - ffi.NativeFunction< - ffi.Long Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - > comparator, + ffi.NativeFunction< + ffi.Long Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>> + comparator, ffi.Pointer context, ) { return __objc_msgSend_78(obj, sel, comparator, context); } late final __objc_msgSend_78Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.Long Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_78 = __objc_msgSend_78Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer< - ffi.NativeFunction< - ffi.Long Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >, + ffi.NativeFunction< + ffi.Long Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_78 = - __objc_msgSend_78Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.Long Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >, - ffi.Pointer, - ) - >(); + )>(); late final _sel_sortedArrayUsingFunction_context_hint_1 = objc.registerName( "sortedArrayUsingFunction:context:hint:", @@ -2603,14 +2178,13 @@ class SwiftLibrary { ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer< - ffi.NativeFunction< - ffi.Long Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - > comparator, + ffi.NativeFunction< + ffi.Long Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>> + comparator, ffi.Pointer context, ffi.Pointer hint, ) { @@ -2618,43 +2192,34 @@ class SwiftLibrary { } late final __objc_msgSend_79Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.Long Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_79 = __objc_msgSend_79Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer< - ffi.NativeFunction< - ffi.Long Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >, + ffi.NativeFunction< + ffi.Long Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_79 = - __objc_msgSend_79Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.Long Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_sortedArrayUsingSelector_1 = objc.registerName( "sortedArrayUsingSelector:", @@ -2668,23 +2233,18 @@ class SwiftLibrary { } late final __objc_msgSend_80Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_80 = __objc_msgSend_80Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_80 = - __objc_msgSend_80Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_subarrayWithRange_1 = objc.registerName("subarrayWithRange:"); ffi.Pointer _objc_msgSend_81( @@ -2696,23 +2256,18 @@ class SwiftLibrary { } late final __objc_msgSend_81Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + )>>('objc_msgSend'); + late final __objc_msgSend_81 = __objc_msgSend_81Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, _NSRange, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_81 = - __objc_msgSend_81Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ) - >(); + )>(); late final _class_NSError1 = objc.getClass("NSError"); late final _sel_initWithDomain_code_userInfo_1 = objc.registerName( @@ -2729,27 +2284,22 @@ class SwiftLibrary { } late final __objc_msgSend_82Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Long, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_82 = __objc_msgSend_82Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Long, + int, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_82 = - __objc_msgSend_82Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ) - >(); + )>(); late final _sel_errorWithDomain_code_userInfo_1 = objc.registerName( "errorWithDomain:code:userInfo:", @@ -2764,21 +2314,16 @@ class SwiftLibrary { } late final __objc_msgSend_83Ptr = _lookup< - ffi.NativeFunction< - ffi.Long Function( + ffi.NativeFunction< + ffi.Long Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_83 = __objc_msgSend_83Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_83 = - __objc_msgSend_83Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_userInfo1 = objc.registerName("userInfo"); late final _sel_localizedDescription1 = objc.registerName( @@ -2801,21 +2346,16 @@ class SwiftLibrary { } late final __objc_msgSend_84Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_84 = __objc_msgSend_84Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_84 = - __objc_msgSend_84Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_recoveryAttempter1 = objc.registerName("recoveryAttempter"); late final _sel_helpAnchor1 = objc.registerName("helpAnchor"); @@ -2828,24 +2368,19 @@ class SwiftLibrary { } late final __objc_msgSend_85Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_85 = __objc_msgSend_85Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_85 = - __objc_msgSend_85Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); - late final _sel_setUserInfoValueProviderForDomain_provider_1 = objc - .registerName("setUserInfoValueProviderForDomain:provider:"); + late final _sel_setUserInfoValueProviderForDomain_provider_1 = + objc.registerName("setUserInfoValueProviderForDomain:provider:"); void _objc_msgSend_86( ffi.Pointer obj, ffi.Pointer sel, @@ -2856,25 +2391,20 @@ class SwiftLibrary { } late final __objc_msgSend_86Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_86 = __objc_msgSend_86Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_86 = - __objc_msgSend_86Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_userInfoValueProviderForDomain_1 = objc.registerName( "userInfoValueProviderForDomain:", @@ -2890,30 +2420,25 @@ class SwiftLibrary { } late final __objc_msgSend_87Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_87 = __objc_msgSend_87Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_87 = - __objc_msgSend_87Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); - late final _sel_setKeys_triggerChangeNotificationsForDependentKey_1 = objc - .registerName("setKeys:triggerChangeNotificationsForDependentKey:"); + late final _sel_setKeys_triggerChangeNotificationsForDependentKey_1 = + objc.registerName("setKeys:triggerChangeNotificationsForDependentKey:"); void _objc_msgSend_88( ffi.Pointer obj, ffi.Pointer sel, @@ -2924,25 +2449,20 @@ class SwiftLibrary { } late final __objc_msgSend_88Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_88 = __objc_msgSend_88Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_88 = - __objc_msgSend_88Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_classFallbacksForKeyedArchiver1 = objc.registerName( "classFallbacksForKeyedArchiver", @@ -2961,25 +2481,20 @@ class SwiftLibrary { } late final __objc_msgSend_89Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_89 = __objc_msgSend_89Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_89 = - __objc_msgSend_89Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ) - >(); + )>(); late final _sel_makeObjectsPerformSelector_1 = objc.registerName( "makeObjectsPerformSelector:", @@ -2997,25 +2512,20 @@ class SwiftLibrary { } late final __objc_msgSend_90Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_90 = __objc_msgSend_90Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_90 = - __objc_msgSend_90Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _class_NSIndexSet1 = objc.getClass("NSIndexSet"); late final _sel_indexSet1 = objc.registerName("indexSet"); @@ -3032,23 +2542,18 @@ class SwiftLibrary { } late final __objc_msgSend_91Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + )>>('objc_msgSend'); + late final __objc_msgSend_91 = __objc_msgSend_91Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, _NSRange, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_91 = - __objc_msgSend_91Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ) - >(); + )>(); late final _sel_initWithIndexesInRange_1 = objc.registerName( "initWithIndexesInRange:", @@ -3063,23 +2568,18 @@ class SwiftLibrary { } late final __objc_msgSend_92Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_92 = __objc_msgSend_92Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_92 = - __objc_msgSend_92Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_initWithIndex_1 = objc.registerName("initWithIndex:"); late final _sel_isEqualToIndexSet_1 = objc.registerName("isEqualToIndexSet:"); @@ -3092,23 +2592,18 @@ class SwiftLibrary { } late final __objc_msgSend_93Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_93 = __objc_msgSend_93Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_93 = - __objc_msgSend_93Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_firstIndex1 = objc.registerName("firstIndex"); late final _sel_lastIndex1 = objc.registerName("lastIndex"); @@ -3124,23 +2619,18 @@ class SwiftLibrary { } late final __objc_msgSend_94Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedLong Function( + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + )>>('objc_msgSend'); + late final __objc_msgSend_94 = __objc_msgSend_94Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_94 = - __objc_msgSend_94Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_indexLessThanIndex_1 = objc.registerName( "indexLessThanIndex:", @@ -3165,27 +2655,22 @@ class SwiftLibrary { } late final __objc_msgSend_95Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedLong Function( + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer<_NSRange>, + )>>('objc_msgSend'); + late final __objc_msgSend_95 = __objc_msgSend_95Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, + int, ffi.Pointer<_NSRange>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_95 = - __objc_msgSend_95Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer<_NSRange>, - ) - >(); + )>(); late final _sel_countOfIndexesInRange_1 = objc.registerName( "countOfIndexesInRange:", @@ -3199,23 +2684,18 @@ class SwiftLibrary { } late final __objc_msgSend_96Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedLong Function( + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + )>>('objc_msgSend'); + late final __objc_msgSend_96 = __objc_msgSend_96Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, _NSRange, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_96 = - __objc_msgSend_96Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ) - >(); + )>(); late final _sel_containsIndex_1 = objc.registerName("containsIndex:"); bool _objc_msgSend_97( @@ -3227,23 +2707,18 @@ class SwiftLibrary { } late final __objc_msgSend_97Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + )>>('objc_msgSend'); + late final __objc_msgSend_97 = __objc_msgSend_97Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_97 = - __objc_msgSend_97Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_containsIndexesInRange_1 = objc.registerName( "containsIndexesInRange:", @@ -3257,23 +2732,18 @@ class SwiftLibrary { } late final __objc_msgSend_98Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + )>>('objc_msgSend'); + late final __objc_msgSend_98 = __objc_msgSend_98Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, _NSRange, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_98 = - __objc_msgSend_98Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ) - >(); + )>(); late final _sel_containsIndexes_1 = objc.registerName("containsIndexes:"); late final _sel_intersectsIndexesInRange_1 = objc.registerName( @@ -3291,23 +2761,18 @@ class SwiftLibrary { } late final __objc_msgSend_99Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_99 = __objc_msgSend_99Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_99 = - __objc_msgSend_99Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_enumerateIndexesWithOptions_usingBlock_1 = objc.registerName( "enumerateIndexesWithOptions:usingBlock:", @@ -3322,28 +2787,23 @@ class SwiftLibrary { } late final __objc_msgSend_100Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_100 = __objc_msgSend_100Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_100 = - __objc_msgSend_100Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ) - >(); - - late final _sel_enumerateIndexesInRange_options_usingBlock_1 = objc - .registerName("enumerateIndexesInRange:options:usingBlock:"); + )>(); + + late final _sel_enumerateIndexesInRange_options_usingBlock_1 = + objc.registerName("enumerateIndexesInRange:options:usingBlock:"); void _objc_msgSend_101( ffi.Pointer obj, ffi.Pointer sel, @@ -3355,27 +2815,22 @@ class SwiftLibrary { } late final __objc_msgSend_101Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Int32, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_101 = __objc_msgSend_101Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, _NSRange, - ffi.Int32, + int, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_101 = - __objc_msgSend_101Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - int, - ffi.Pointer, - ) - >(); + )>(); late final _sel_indexPassingTest_1 = objc.registerName("indexPassingTest:"); int _objc_msgSend_102( @@ -3387,23 +2842,18 @@ class SwiftLibrary { } late final __objc_msgSend_102Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedLong Function( + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_102 = __objc_msgSend_102Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_102 = - __objc_msgSend_102Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_indexWithOptions_passingTest_1 = objc.registerName( "indexWithOptions:passingTest:", @@ -3418,25 +2868,20 @@ class SwiftLibrary { } late final __objc_msgSend_103Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedLong Function( + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_103 = __objc_msgSend_103Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_103 = - __objc_msgSend_103Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ) - >(); + )>(); late final _sel_indexInRange_options_passingTest_1 = objc.registerName( "indexInRange:options:passingTest:", @@ -3452,27 +2897,22 @@ class SwiftLibrary { } late final __objc_msgSend_104Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedLong Function( + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Int32, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_104 = __objc_msgSend_104Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, _NSRange, - ffi.Int32, + int, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_104 = - __objc_msgSend_104Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - int, - ffi.Pointer, - ) - >(); + )>(); late final _sel_indexesPassingTest_1 = objc.registerName( "indexesPassingTest:", @@ -3486,23 +2926,18 @@ class SwiftLibrary { } late final __objc_msgSend_105Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_105 = __objc_msgSend_105Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_105 = - __objc_msgSend_105Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_indexesWithOptions_passingTest_1 = objc.registerName( "indexesWithOptions:passingTest:", @@ -3517,25 +2952,20 @@ class SwiftLibrary { } late final __objc_msgSend_106Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_106 = __objc_msgSend_106Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_106 = - __objc_msgSend_106Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ) - >(); + )>(); late final _sel_indexesInRange_options_passingTest_1 = objc.registerName( "indexesInRange:options:passingTest:", @@ -3551,27 +2981,22 @@ class SwiftLibrary { } late final __objc_msgSend_107Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Int32, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_107 = __objc_msgSend_107Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, _NSRange, - ffi.Int32, + int, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_107 = - __objc_msgSend_107Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - int, - ffi.Pointer, - ) - >(); + )>(); late final _sel_enumerateRangesUsingBlock_1 = objc.registerName( "enumerateRangesUsingBlock:", @@ -3585,23 +3010,18 @@ class SwiftLibrary { } late final __objc_msgSend_108Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_108 = __objc_msgSend_108Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_108 = - __objc_msgSend_108Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_enumerateRangesWithOptions_usingBlock_1 = objc.registerName( "enumerateRangesWithOptions:usingBlock:", @@ -3616,28 +3036,23 @@ class SwiftLibrary { } late final __objc_msgSend_109Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_109 = __objc_msgSend_109Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_109 = - __objc_msgSend_109Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ) - >(); - - late final _sel_enumerateRangesInRange_options_usingBlock_1 = objc - .registerName("enumerateRangesInRange:options:usingBlock:"); + )>(); + + late final _sel_enumerateRangesInRange_options_usingBlock_1 = + objc.registerName("enumerateRangesInRange:options:usingBlock:"); void _objc_msgSend_110( ffi.Pointer obj, ffi.Pointer sel, @@ -3649,27 +3064,22 @@ class SwiftLibrary { } late final __objc_msgSend_110Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Int32, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_110 = __objc_msgSend_110Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, _NSRange, - ffi.Int32, + int, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_110 = - __objc_msgSend_110Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - int, - ffi.Pointer, - ) - >(); + )>(); late final _sel_objectsAtIndexes_1 = objc.registerName("objectsAtIndexes:"); ffi.Pointer _objc_msgSend_111( @@ -3681,23 +3091,18 @@ class SwiftLibrary { } late final __objc_msgSend_111Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_111 = __objc_msgSend_111Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_111 = - __objc_msgSend_111Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_objectAtIndexedSubscript_1 = objc.registerName( "objectAtIndexedSubscript:", @@ -3714,23 +3119,18 @@ class SwiftLibrary { } late final __objc_msgSend_112Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_112 = __objc_msgSend_112Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_112 = - __objc_msgSend_112Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_enumerateObjectsWithOptions_usingBlock_1 = objc.registerName( "enumerateObjectsWithOptions:usingBlock:", @@ -3745,28 +3145,23 @@ class SwiftLibrary { } late final __objc_msgSend_113Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_113 = __objc_msgSend_113Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_113 = - __objc_msgSend_113Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ) - >(); - - late final _sel_enumerateObjectsAtIndexes_options_usingBlock_1 = objc - .registerName("enumerateObjectsAtIndexes:options:usingBlock:"); + )>(); + + late final _sel_enumerateObjectsAtIndexes_options_usingBlock_1 = + objc.registerName("enumerateObjectsAtIndexes:options:usingBlock:"); void _objc_msgSend_114( ffi.Pointer obj, ffi.Pointer sel, @@ -3778,27 +3173,22 @@ class SwiftLibrary { } late final __objc_msgSend_114Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_114 = __objc_msgSend_114Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_114 = - __objc_msgSend_114Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ) - >(); + )>(); late final _sel_indexOfObjectPassingTest_1 = objc.registerName( "indexOfObjectPassingTest:", @@ -3812,23 +3202,18 @@ class SwiftLibrary { } late final __objc_msgSend_115Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedLong Function( + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_115 = __objc_msgSend_115Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_115 = - __objc_msgSend_115Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_indexOfObjectWithOptions_passingTest_1 = objc.registerName( "indexOfObjectWithOptions:passingTest:", @@ -3843,28 +3228,23 @@ class SwiftLibrary { } late final __objc_msgSend_116Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedLong Function( + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_116 = __objc_msgSend_116Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_116 = - __objc_msgSend_116Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ) - >(); - - late final _sel_indexOfObjectAtIndexes_options_passingTest_1 = objc - .registerName("indexOfObjectAtIndexes:options:passingTest:"); + )>(); + + late final _sel_indexOfObjectAtIndexes_options_passingTest_1 = + objc.registerName("indexOfObjectAtIndexes:options:passingTest:"); int _objc_msgSend_117( ffi.Pointer obj, ffi.Pointer sel, @@ -3876,27 +3256,22 @@ class SwiftLibrary { } late final __objc_msgSend_117Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedLong Function( + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_117 = __objc_msgSend_117Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_117 = - __objc_msgSend_117Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ) - >(); + )>(); late final _sel_indexesOfObjectsPassingTest_1 = objc.registerName( "indexesOfObjectsPassingTest:", @@ -3910,23 +3285,18 @@ class SwiftLibrary { } late final __objc_msgSend_118Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_118 = __objc_msgSend_118Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_118 = - __objc_msgSend_118Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_indexesOfObjectsWithOptions_passingTest_1 = objc.registerName( "indexesOfObjectsWithOptions:passingTest:", @@ -3941,28 +3311,23 @@ class SwiftLibrary { } late final __objc_msgSend_119Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_119 = __objc_msgSend_119Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_119 = - __objc_msgSend_119Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ) - >(); - - late final _sel_indexesOfObjectsAtIndexes_options_passingTest_1 = objc - .registerName("indexesOfObjectsAtIndexes:options:passingTest:"); + )>(); + + late final _sel_indexesOfObjectsAtIndexes_options_passingTest_1 = + objc.registerName("indexesOfObjectsAtIndexes:options:passingTest:"); ffi.Pointer _objc_msgSend_120( ffi.Pointer obj, ffi.Pointer sel, @@ -3974,27 +3339,22 @@ class SwiftLibrary { } late final __objc_msgSend_120Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_120 = __objc_msgSend_120Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_120 = - __objc_msgSend_120Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ) - >(); + )>(); late final _sel_sortedArrayUsingComparator_1 = objc.registerName( "sortedArrayUsingComparator:", @@ -4008,23 +3368,18 @@ class SwiftLibrary { } late final __objc_msgSend_121Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_121 = __objc_msgSend_121Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_121 = - __objc_msgSend_121Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_sortedArrayWithOptions_usingComparator_1 = objc.registerName( "sortedArrayWithOptions:usingComparator:", @@ -4039,28 +3394,23 @@ class SwiftLibrary { } late final __objc_msgSend_122Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_122 = __objc_msgSend_122Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_122 = - __objc_msgSend_122Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ) - >(); - - late final _sel_indexOfObject_inSortedRange_options_usingComparator_1 = objc - .registerName("indexOfObject:inSortedRange:options:usingComparator:"); + )>(); + + late final _sel_indexOfObject_inSortedRange_options_usingComparator_1 = + objc.registerName("indexOfObject:inSortedRange:options:usingComparator:"); int _objc_msgSend_123( ffi.Pointer obj, ffi.Pointer sel, @@ -4073,29 +3423,24 @@ class SwiftLibrary { } late final __objc_msgSend_123Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedLong Function( + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Int32, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_123 = __objc_msgSend_123Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, _NSRange, - ffi.Int32, + int, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_123 = - __objc_msgSend_123Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - _NSRange, - int, - ffi.Pointer, - ) - >(); + )>(); late final _sel_array1 = objc.registerName("array"); late final _sel_arrayWithObject_1 = objc.registerName("arrayWithObject:"); @@ -4108,23 +3453,18 @@ class SwiftLibrary { } late final __objc_msgSend_124Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_124 = __objc_msgSend_124Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_124 = - __objc_msgSend_124Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_arrayWithObjects_count_1 = objc.registerName( "arrayWithObjects:count:", @@ -4140,23 +3480,18 @@ class SwiftLibrary { } late final __objc_msgSend_125Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_125 = __objc_msgSend_125Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_125 = - __objc_msgSend_125Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_initWithObjects_1 = objc.registerName("initWithObjects:"); late final _sel_initWithArray_1 = objc.registerName("initWithArray:"); @@ -4173,25 +3508,20 @@ class SwiftLibrary { } late final __objc_msgSend_126Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + )>>('objc_msgSend'); + late final __objc_msgSend_126 = __objc_msgSend_126Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Bool, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_126 = - __objc_msgSend_126Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - ) - >(); + bool, + )>(); late final _sel_initWithContentsOfURL_error_1 = objc.registerName( "initWithContentsOfURL:error:", @@ -4206,25 +3536,20 @@ class SwiftLibrary { } late final __objc_msgSend_127Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_127 = __objc_msgSend_127Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_127 = - __objc_msgSend_127Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ) - >(); + )>(); late final _sel_arrayWithContentsOfURL_error_1 = objc.registerName( "arrayWithContentsOfURL:error:", @@ -4242,27 +3567,22 @@ class SwiftLibrary { } late final __objc_msgSend_128Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_128 = __objc_msgSend_128Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_128 = - __objc_msgSend_128Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ) - >(); + )>(); late final _sel_differenceFromArray_withOptions_1 = objc.registerName( "differenceFromArray:withOptions:", @@ -4277,25 +3597,20 @@ class SwiftLibrary { } late final __objc_msgSend_129Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + )>>('objc_msgSend'); + late final __objc_msgSend_129 = __objc_msgSend_129Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_129 = - __objc_msgSend_129Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_differenceFromArray_1 = objc.registerName( "differenceFromArray:", @@ -4312,23 +3627,18 @@ class SwiftLibrary { } late final __objc_msgSend_130Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_130 = __objc_msgSend_130Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_130 = - __objc_msgSend_130Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_getObjects_1 = objc.registerName("getObjects:"); void _objc_msgSend_131( @@ -4340,23 +3650,18 @@ class SwiftLibrary { } late final __objc_msgSend_131Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_131 = __objc_msgSend_131Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_131 = - __objc_msgSend_131Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ) - >(); + )>(); late final _sel_arrayWithContentsOfFile_1 = objc.registerName( "arrayWithContentsOfFile:", @@ -4370,23 +3675,18 @@ class SwiftLibrary { } late final __objc_msgSend_132Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_132 = __objc_msgSend_132Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_132 = - __objc_msgSend_132Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_arrayWithContentsOfURL_1 = objc.registerName( "arrayWithContentsOfURL:", @@ -4400,23 +3700,18 @@ class SwiftLibrary { } late final __objc_msgSend_133Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_133 = __objc_msgSend_133Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_133 = - __objc_msgSend_133Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_initWithContentsOfFile_1 = objc.registerName( "initWithContentsOfFile:", @@ -4437,25 +3732,20 @@ class SwiftLibrary { } late final __objc_msgSend_134Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + )>>('objc_msgSend'); + late final __objc_msgSend_134 = __objc_msgSend_134Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Bool, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_134 = - __objc_msgSend_134Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - ) - >(); + bool, + )>(); late final _sel_pathsMatchingExtensions_1 = objc.registerName( "pathsMatchingExtensions:", @@ -4472,30 +3762,25 @@ class SwiftLibrary { } late final __objc_msgSend_135Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_135 = __objc_msgSend_135Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_135 = - __objc_msgSend_135Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_addObserver_toObjectsAtIndexes_forKeyPath_options_context_1 = objc.registerName( - "addObserver:toObjectsAtIndexes:forKeyPath:options:context:", - ); + "addObserver:toObjectsAtIndexes:forKeyPath:options:context:", + ); void _objc_msgSend_136( ffi.Pointer obj, ffi.Pointer sel, @@ -4517,36 +3802,31 @@ class SwiftLibrary { } late final __objc_msgSend_136Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_136 = __objc_msgSend_136Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_136 = - __objc_msgSend_136Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ) - >(); + )>(); late final _sel_removeObserver_fromObjectsAtIndexes_forKeyPath_context_1 = objc.registerName( - "removeObserver:fromObjectsAtIndexes:forKeyPath:context:", - ); + "removeObserver:fromObjectsAtIndexes:forKeyPath:context:", + ); void _objc_msgSend_137( ffi.Pointer obj, ffi.Pointer sel, @@ -4559,32 +3839,27 @@ class SwiftLibrary { } late final __objc_msgSend_137Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_137 = __objc_msgSend_137Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_137 = - __objc_msgSend_137Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); - late final _sel_removeObserver_fromObjectsAtIndexes_forKeyPath_1 = objc - .registerName("removeObserver:fromObjectsAtIndexes:forKeyPath:"); + late final _sel_removeObserver_fromObjectsAtIndexes_forKeyPath_1 = + objc.registerName("removeObserver:fromObjectsAtIndexes:forKeyPath:"); void _objc_msgSend_138( ffi.Pointer obj, ffi.Pointer sel, @@ -4596,27 +3871,22 @@ class SwiftLibrary { } late final __objc_msgSend_138Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_138 = __objc_msgSend_138Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_138 = - __objc_msgSend_138Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_addObserver_forKeyPath_options_context_1 = objc.registerName( "addObserver:forKeyPath:options:context:", @@ -4633,29 +3903,24 @@ class SwiftLibrary { } late final __objc_msgSend_139Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_139 = __objc_msgSend_139Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_139 = - __objc_msgSend_139Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ) - >(); + )>(); late final _sel_removeObserver_forKeyPath_context_1 = objc.registerName( "removeObserver:forKeyPath:context:", @@ -4671,27 +3936,22 @@ class SwiftLibrary { } late final __objc_msgSend_140Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_140 = __objc_msgSend_140Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_140 = - __objc_msgSend_140Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_removeObserver_forKeyPath_1 = objc.registerName( "removeObserver:forKeyPath:", @@ -4706,25 +3966,20 @@ class SwiftLibrary { } late final __objc_msgSend_141Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_141 = __objc_msgSend_141Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_141 = - __objc_msgSend_141Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_sortedArrayUsingDescriptors_1 = objc.registerName( "sortedArrayUsingDescriptors:", @@ -4743,25 +3998,20 @@ class SwiftLibrary { } late final __objc_msgSend_142Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_142 = __objc_msgSend_142Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_142 = - __objc_msgSend_142Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_predicateWithFormat_1 = objc.registerName( "predicateWithFormat:", @@ -4775,23 +4025,18 @@ class SwiftLibrary { } late final __objc_msgSend_143Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_143 = __objc_msgSend_143Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_143 = - __objc_msgSend_143Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_predicateWithFormat_arguments_1 = objc.registerName( "predicateWithFormat:arguments:", @@ -4806,25 +4051,20 @@ class SwiftLibrary { } late final __objc_msgSend_144Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<__va_list_tag>, + )>>('objc_msgSend'); + late final __objc_msgSend_144 = __objc_msgSend_144Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer<__va_list_tag>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_144 = - __objc_msgSend_144Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<__va_list_tag>, - ) - >(); + )>(); late final _sel_predicateFromMetadataQueryString_1 = objc.registerName( "predicateFromMetadataQueryString:", @@ -4838,23 +4078,18 @@ class SwiftLibrary { } late final __objc_msgSend_145Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_145 = __objc_msgSend_145Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_145 = - __objc_msgSend_145Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_predicateWithValue_1 = objc.registerName( "predicateWithValue:", @@ -4868,23 +4103,18 @@ class SwiftLibrary { } late final __objc_msgSend_146Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + )>>('objc_msgSend'); + late final __objc_msgSend_146 = __objc_msgSend_146Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.Bool, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_146 = - __objc_msgSend_146Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - bool, - ) - >(); + bool, + )>(); late final _class_NSDictionary1 = objc.getClass("NSDictionary"); late final _sel_objectForKey_1 = objc.registerName("objectForKey:"); @@ -4903,27 +4133,22 @@ class SwiftLibrary { } late final __objc_msgSend_147Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer>, + ffi.UnsignedLong, + )>>('objc_msgSend'); + late final __objc_msgSend_147 = __objc_msgSend_147Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer>, ffi.Pointer>, - ffi.UnsignedLong, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_147 = - __objc_msgSend_147Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer>, - int, - ) - >(); + int, + )>(); late final _sel_allKeys1 = objc.registerName("allKeys"); late final _sel_allKeysForObject_1 = objc.registerName("allKeysForObject:"); @@ -4943,23 +4168,18 @@ class SwiftLibrary { } late final __objc_msgSend_148Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_148 = __objc_msgSend_148Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_148 = - __objc_msgSend_148Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_objectsForKeys_notFoundMarker_1 = objc.registerName( "objectsForKeys:notFoundMarker:", @@ -4974,25 +4194,20 @@ class SwiftLibrary { } late final __objc_msgSend_149Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_149 = __objc_msgSend_149Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_149 = - __objc_msgSend_149Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_keysSortedByValueUsingSelector_1 = objc.registerName( "keysSortedByValueUsingSelector:", @@ -5011,27 +4226,22 @@ class SwiftLibrary { } late final __objc_msgSend_150Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer>, + ffi.UnsignedLong, + )>>('objc_msgSend'); + late final __objc_msgSend_150 = __objc_msgSend_150Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer>, ffi.Pointer>, - ffi.UnsignedLong, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_150 = - __objc_msgSend_150Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer>, - int, - ) - >(); + int, + )>(); late final _sel_objectForKeyedSubscript_1 = objc.registerName( "objectForKeyedSubscript:", @@ -5048,26 +4258,21 @@ class SwiftLibrary { } late final __objc_msgSend_151Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_151 = __objc_msgSend_151Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_151 = - __objc_msgSend_151Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); - late final _sel_enumerateKeysAndObjectsWithOptions_usingBlock_1 = objc - .registerName("enumerateKeysAndObjectsWithOptions:usingBlock:"); + late final _sel_enumerateKeysAndObjectsWithOptions_usingBlock_1 = + objc.registerName("enumerateKeysAndObjectsWithOptions:usingBlock:"); void _objc_msgSend_152( ffi.Pointer obj, ffi.Pointer sel, @@ -5078,31 +4283,26 @@ class SwiftLibrary { } late final __objc_msgSend_152Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_152 = __objc_msgSend_152Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_152 = - __objc_msgSend_152Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ) - >(); + )>(); late final _sel_keysSortedByValueUsingComparator_1 = objc.registerName( "keysSortedByValueUsingComparator:", ); - late final _sel_keysSortedByValueWithOptions_usingComparator_1 = objc - .registerName("keysSortedByValueWithOptions:usingComparator:"); + late final _sel_keysSortedByValueWithOptions_usingComparator_1 = + objc.registerName("keysSortedByValueWithOptions:usingComparator:"); late final _sel_keysOfEntriesPassingTest_1 = objc.registerName( "keysOfEntriesPassingTest:", ); @@ -5115,23 +4315,18 @@ class SwiftLibrary { } late final __objc_msgSend_153Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_153 = __objc_msgSend_153Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_153 = - __objc_msgSend_153Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_keysOfEntriesWithOptions_passingTest_1 = objc.registerName( "keysOfEntriesWithOptions:passingTest:", @@ -5146,25 +4341,20 @@ class SwiftLibrary { } late final __objc_msgSend_154Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_154 = __objc_msgSend_154Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_154 = - __objc_msgSend_154Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ) - >(); + )>(); late final _sel_getObjects_andKeys_1 = objc.registerName( "getObjects:andKeys:", @@ -5179,25 +4369,20 @@ class SwiftLibrary { } late final __objc_msgSend_155Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_155 = __objc_msgSend_155Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer>, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_155 = - __objc_msgSend_155Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer>, - ) - >(); + )>(); late final _sel_dictionaryWithContentsOfFile_1 = objc.registerName( "dictionaryWithContentsOfFile:", @@ -5211,23 +4396,18 @@ class SwiftLibrary { } late final __objc_msgSend_156Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_156 = __objc_msgSend_156Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_156 = - __objc_msgSend_156Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_dictionaryWithContentsOfURL_1 = objc.registerName( "dictionaryWithContentsOfURL:", @@ -5241,23 +4421,18 @@ class SwiftLibrary { } late final __objc_msgSend_157Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_157 = __objc_msgSend_157Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_157 = - __objc_msgSend_157Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_dictionary1 = objc.registerName("dictionary"); late final _sel_dictionaryWithObject_forKey_1 = objc.registerName( @@ -5273,25 +4448,20 @@ class SwiftLibrary { } late final __objc_msgSend_158Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_158 = __objc_msgSend_158Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_158 = - __objc_msgSend_158Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_dictionaryWithObjects_forKeys_count_1 = objc.registerName( "dictionaryWithObjects:forKeys:count:", @@ -5311,23 +4481,18 @@ class SwiftLibrary { } late final __objc_msgSend_159Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_159 = __objc_msgSend_159Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_159 = - __objc_msgSend_159Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_dictionaryWithObjects_forKeys_1 = objc.registerName( "dictionaryWithObjects:forKeys:", @@ -5342,25 +4507,20 @@ class SwiftLibrary { } late final __objc_msgSend_160Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_160 = __objc_msgSend_160Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_160 = - __objc_msgSend_160Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_initWithObjectsAndKeys_1 = objc.registerName( "initWithObjectsAndKeys:", @@ -5381,25 +4541,20 @@ class SwiftLibrary { } late final __objc_msgSend_161Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + )>>('objc_msgSend'); + late final __objc_msgSend_161 = __objc_msgSend_161Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Bool, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_161 = - __objc_msgSend_161Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - ) - >(); + bool, + )>(); late final _sel_initWithObjects_forKeys_1 = objc.registerName( "initWithObjects:forKeys:", @@ -5414,25 +4569,20 @@ class SwiftLibrary { } late final __objc_msgSend_162Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_162 = __objc_msgSend_162Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_162 = - __objc_msgSend_162Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ) - >(); + )>(); late final _sel_dictionaryWithContentsOfURL_error_1 = objc.registerName( "dictionaryWithContentsOfURL:error:", @@ -5440,8 +4590,8 @@ class SwiftLibrary { late final _sel_sharedKeySetForKeys_1 = objc.registerName( "sharedKeySetForKeys:", ); - late final _sel_countByEnumeratingWithState_objects_count_1 = objc - .registerName("countByEnumeratingWithState:objects:count:"); + late final _sel_countByEnumeratingWithState_objects_count_1 = + objc.registerName("countByEnumeratingWithState:objects:count:"); int _objc_msgSend_163( ffi.Pointer obj, ffi.Pointer sel, @@ -5453,27 +4603,22 @@ class SwiftLibrary { } late final __objc_msgSend_163Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedLong Function( + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.UnsignedLong, + )>>('objc_msgSend'); + late final __objc_msgSend_163 = __objc_msgSend_163Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer>, - ffi.UnsignedLong, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_163 = - __objc_msgSend_163Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - int, - ) - >(); + int, + )>(); late final _sel_fileSize1 = objc.registerName("fileSize"); int _objc_msgSend_164( @@ -5484,21 +4629,16 @@ class SwiftLibrary { } late final __objc_msgSend_164Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedLongLong Function( + ffi.NativeFunction< + ffi.UnsignedLongLong Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_164 = __objc_msgSend_164Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_164 = - __objc_msgSend_164Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _class_NSDate1 = objc.getClass("NSDate"); late final _sel_timeIntervalSinceReferenceDate1 = objc.registerName( @@ -5512,21 +4652,16 @@ class SwiftLibrary { } late final __objc_msgSend_165Ptr = _lookup< - ffi.NativeFunction< - ffi.Double Function( + ffi.NativeFunction< + ffi.Double Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_165 = __objc_msgSend_165Ptr.asFunction< + double Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_165 = - __objc_msgSend_165Ptr - .asFunction< - double Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); double _objc_msgSend_165_fpret( ffi.Pointer obj, @@ -5536,21 +4671,16 @@ class SwiftLibrary { } late final __objc_msgSend_165_fpretPtr = _lookup< - ffi.NativeFunction< - ffi.Double Function( + ffi.NativeFunction< + ffi.Double Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend_fpret'); + late final __objc_msgSend_165_fpret = __objc_msgSend_165_fpretPtr.asFunction< + double Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend_fpret'); - late final __objc_msgSend_165_fpret = - __objc_msgSend_165_fpretPtr - .asFunction< - double Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_initWithTimeIntervalSinceReferenceDate_1 = objc.registerName( "initWithTimeIntervalSinceReferenceDate:", @@ -5564,23 +4694,18 @@ class SwiftLibrary { } late final __objc_msgSend_166Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Double, + )>>('objc_msgSend'); + late final __objc_msgSend_166 = __objc_msgSend_166Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, - ffi.Double, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_166 = - __objc_msgSend_166Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - double, - ) - >(); + double, + )>(); late final _sel_timeIntervalSinceDate_1 = objc.registerName( "timeIntervalSinceDate:", @@ -5594,23 +4719,18 @@ class SwiftLibrary { } late final __objc_msgSend_167Ptr = _lookup< - ffi.NativeFunction< - ffi.Double Function( + ffi.NativeFunction< + ffi.Double Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_167 = __objc_msgSend_167Ptr.asFunction< + double Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_167 = - __objc_msgSend_167Ptr - .asFunction< - double Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); double _objc_msgSend_167_fpret( ffi.Pointer obj, @@ -5621,23 +4741,18 @@ class SwiftLibrary { } late final __objc_msgSend_167_fpretPtr = _lookup< - ffi.NativeFunction< - ffi.Double Function( + ffi.NativeFunction< + ffi.Double Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend_fpret'); + late final __objc_msgSend_167_fpret = __objc_msgSend_167_fpretPtr.asFunction< + double Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend_fpret'); - late final __objc_msgSend_167_fpret = - __objc_msgSend_167_fpretPtr - .asFunction< - double Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_timeIntervalSinceNow1 = objc.registerName( "timeIntervalSinceNow", @@ -5659,23 +4774,18 @@ class SwiftLibrary { } late final __objc_msgSend_168Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_168 = __objc_msgSend_168Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_168 = - __objc_msgSend_168Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_laterDate_1 = objc.registerName("laterDate:"); late final _sel_compare_1 = objc.registerName("compare:"); @@ -5688,23 +4798,18 @@ class SwiftLibrary { } late final __objc_msgSend_169Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_169 = __objc_msgSend_169Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_169 = - __objc_msgSend_169Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_isEqualToDate_1 = objc.registerName("isEqualToDate:"); bool _objc_msgSend_170( @@ -5716,23 +4821,18 @@ class SwiftLibrary { } late final __objc_msgSend_170Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_170 = __objc_msgSend_170Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_170 = - __objc_msgSend_170Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_date1 = objc.registerName("date"); late final _sel_dateWithTimeIntervalSinceNow_1 = objc.registerName( @@ -5757,25 +4857,20 @@ class SwiftLibrary { } late final __objc_msgSend_171Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Double, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_171 = __objc_msgSend_171Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, - ffi.Double, + double, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_171 = - __objc_msgSend_171Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - double, - ffi.Pointer, - ) - >(); + )>(); late final _sel_distantFuture1 = objc.registerName("distantFuture"); ffi.Pointer _objc_msgSend_172( @@ -5786,21 +4881,16 @@ class SwiftLibrary { } late final __objc_msgSend_172Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_172 = __objc_msgSend_172Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_172 = - __objc_msgSend_172Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_distantPast1 = objc.registerName("distantPast"); late final _sel_now1 = objc.registerName("now"); @@ -5826,25 +4916,20 @@ class SwiftLibrary { } late final __objc_msgSend_173Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_173 = __objc_msgSend_173Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_173 = - __objc_msgSend_173Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_dateWithNaturalLanguageString_1 = objc.registerName( "dateWithNaturalLanguageString:", @@ -5866,27 +4951,22 @@ class SwiftLibrary { } late final __objc_msgSend_174Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_174 = __objc_msgSend_174Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_174 = - __objc_msgSend_174Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_dateWithString_calendarFormat_1 = objc.registerName( "dateWithString:calendarFormat:", @@ -5901,25 +4981,20 @@ class SwiftLibrary { } late final __objc_msgSend_175Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_175 = __objc_msgSend_175Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_175 = - __objc_msgSend_175Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _class_NSTimeZone1 = objc.getClass("NSTimeZone"); late final _sel_name1 = objc.registerName("name"); @@ -5936,23 +5011,18 @@ class SwiftLibrary { } late final __objc_msgSend_176Ptr = _lookup< - ffi.NativeFunction< - ffi.Long Function( + ffi.NativeFunction< + ffi.Long Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_176 = __objc_msgSend_176Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_176 = - __objc_msgSend_176Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_abbreviationForDate_1 = objc.registerName( "abbreviationForDate:", @@ -5966,23 +5036,18 @@ class SwiftLibrary { } late final __objc_msgSend_177Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_177 = __objc_msgSend_177Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_177 = - __objc_msgSend_177Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_isDaylightSavingTimeForDate_1 = objc.registerName( "isDaylightSavingTimeForDate:", @@ -5990,8 +5055,8 @@ class SwiftLibrary { late final _sel_daylightSavingTimeOffsetForDate_1 = objc.registerName( "daylightSavingTimeOffsetForDate:", ); - late final _sel_nextDaylightSavingTimeTransitionAfterDate_1 = objc - .registerName("nextDaylightSavingTimeTransitionAfterDate:"); + late final _sel_nextDaylightSavingTimeTransitionAfterDate_1 = + objc.registerName("nextDaylightSavingTimeTransitionAfterDate:"); ffi.Pointer _objc_msgSend_178( ffi.Pointer obj, ffi.Pointer sel, @@ -6001,23 +5066,18 @@ class SwiftLibrary { } late final __objc_msgSend_178Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_178 = __objc_msgSend_178Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_178 = - __objc_msgSend_178Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_systemTimeZone1 = objc.registerName("systemTimeZone"); ffi.Pointer _objc_msgSend_179( @@ -6028,21 +5088,16 @@ class SwiftLibrary { } late final __objc_msgSend_179Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_179 = __objc_msgSend_179Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_179 = - __objc_msgSend_179Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_resetSystemTimeZone1 = objc.registerName( "resetSystemTimeZone", @@ -6060,23 +5115,18 @@ class SwiftLibrary { } late final __objc_msgSend_180Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_180 = __objc_msgSend_180Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_180 = - __objc_msgSend_180Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_localTimeZone1 = objc.registerName("localTimeZone"); late final _sel_knownTimeZoneNames1 = objc.registerName("knownTimeZoneNames"); @@ -6091,21 +5141,16 @@ class SwiftLibrary { } late final __objc_msgSend_181Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_181 = __objc_msgSend_181Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_181 = - __objc_msgSend_181Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_setAbbreviationDictionary_1 = objc.registerName( "setAbbreviationDictionary:", @@ -6119,23 +5164,18 @@ class SwiftLibrary { } late final __objc_msgSend_182Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_182 = __objc_msgSend_182Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_182 = - __objc_msgSend_182Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_timeZoneDataVersion1 = objc.registerName( "timeZoneDataVersion", @@ -6159,21 +5199,16 @@ class SwiftLibrary { } late final __objc_msgSend_183Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_183 = __objc_msgSend_183Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_183 = - __objc_msgSend_183Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_isEqualToTimeZone_1 = objc.registerName("isEqualToTimeZone:"); bool _objc_msgSend_184( @@ -6185,23 +5220,18 @@ class SwiftLibrary { } late final __objc_msgSend_184Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_184 = __objc_msgSend_184Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_184 = - __objc_msgSend_184Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _class_NSLocale1 = objc.getClass("NSLocale"); late final _sel_displayNameForKey_value_1 = objc.registerName( @@ -6217,25 +5247,20 @@ class SwiftLibrary { } late final __objc_msgSend_185Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_185 = __objc_msgSend_185Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_185 = - __objc_msgSend_185Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_initWithLocaleIdentifier_1 = objc.registerName( "initWithLocaleIdentifier:", @@ -6257,23 +5282,18 @@ class SwiftLibrary { } late final __objc_msgSend_186Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_186 = __objc_msgSend_186Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_186 = - __objc_msgSend_186Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_languageIdentifier1 = objc.registerName("languageIdentifier"); late final _sel_countryCode1 = objc.registerName("countryCode"); @@ -6301,21 +5321,16 @@ class SwiftLibrary { } late final __objc_msgSend_187Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_187 = __objc_msgSend_187Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_187 = - __objc_msgSend_187Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_whitespaceCharacterSet1 = objc.registerName( "whitespaceCharacterSet", @@ -6367,23 +5382,18 @@ class SwiftLibrary { } late final __objc_msgSend_188Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + )>>('objc_msgSend'); + late final __objc_msgSend_188 = __objc_msgSend_188Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, _NSRange, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_188 = - __objc_msgSend_188Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ) - >(); + )>(); late final _sel_characterSetWithCharactersInString_1 = objc.registerName( "characterSetWithCharactersInString:", @@ -6397,23 +5407,18 @@ class SwiftLibrary { } late final __objc_msgSend_189Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_189 = __objc_msgSend_189Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_189 = - __objc_msgSend_189Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_characterSetWithBitmapRepresentation_1 = objc.registerName( "characterSetWithBitmapRepresentation:", @@ -6427,23 +5432,18 @@ class SwiftLibrary { } late final __objc_msgSend_190Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_190 = __objc_msgSend_190Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_190 = - __objc_msgSend_190Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_characterSetWithContentsOfFile_1 = objc.registerName( "characterSetWithContentsOfFile:", @@ -6457,23 +5457,18 @@ class SwiftLibrary { } late final __objc_msgSend_191Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_191 = __objc_msgSend_191Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_191 = - __objc_msgSend_191Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); instancetype _objc_msgSend_192( ffi.Pointer obj, @@ -6484,23 +5479,18 @@ class SwiftLibrary { } late final __objc_msgSend_192Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_192 = __objc_msgSend_192Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_192 = - __objc_msgSend_192Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_characterIsMember_1 = objc.registerName("characterIsMember:"); bool _objc_msgSend_193( @@ -6512,23 +5502,18 @@ class SwiftLibrary { } late final __objc_msgSend_193Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedShort, + )>>('objc_msgSend'); + late final __objc_msgSend_193 = __objc_msgSend_193Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, - ffi.UnsignedShort, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_193 = - __objc_msgSend_193Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_bitmapRepresentation1 = objc.registerName( "bitmapRepresentation", @@ -6546,23 +5531,18 @@ class SwiftLibrary { } late final __objc_msgSend_194Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedInt, + )>>('objc_msgSend'); + late final __objc_msgSend_194 = __objc_msgSend_194Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, - ffi.UnsignedInt, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_194 = - __objc_msgSend_194Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_isSupersetOfSet_1 = objc.registerName("isSupersetOfSet:"); bool _objc_msgSend_195( @@ -6574,23 +5554,18 @@ class SwiftLibrary { } late final __objc_msgSend_195Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_195 = __objc_msgSend_195Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_195 = - __objc_msgSend_195Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_hasMemberInPlane_1 = objc.registerName("hasMemberInPlane:"); bool _objc_msgSend_196( @@ -6602,23 +5577,18 @@ class SwiftLibrary { } late final __objc_msgSend_196Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Uint8, + )>>('objc_msgSend'); + late final __objc_msgSend_196 = __objc_msgSend_196Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, - ffi.Uint8, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_196 = - __objc_msgSend_196Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_URLUserAllowedCharacterSet1 = objc.registerName( "URLUserAllowedCharacterSet", @@ -6686,21 +5656,16 @@ class SwiftLibrary { } late final __objc_msgSend_197Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_197 = __objc_msgSend_197Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_197 = - __objc_msgSend_197Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_currentLocale1 = objc.registerName("currentLocale"); late final _sel_systemLocale1 = objc.registerName("systemLocale"); @@ -6729,23 +5694,18 @@ class SwiftLibrary { } late final __objc_msgSend_198Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_198 = __objc_msgSend_198Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_198 = - __objc_msgSend_198Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_localeIdentifierFromComponents_1 = objc.registerName( "localeIdentifierFromComponents:", @@ -6759,23 +5719,18 @@ class SwiftLibrary { } late final __objc_msgSend_199Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_199 = __objc_msgSend_199Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_199 = - __objc_msgSend_199Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_canonicalLocaleIdentifierFromString_1 = objc.registerName( "canonicalLocaleIdentifierFromString:", @@ -6795,23 +5750,18 @@ class SwiftLibrary { } late final __objc_msgSend_200Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Uint32, + )>>('objc_msgSend'); + late final __objc_msgSend_200 = __objc_msgSend_200Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.Uint32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_200 = - __objc_msgSend_200Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_windowsLocaleCodeFromLocaleIdentifier_1 = objc.registerName( "windowsLocaleCodeFromLocaleIdentifier:", @@ -6825,23 +5775,18 @@ class SwiftLibrary { } late final __objc_msgSend_201Ptr = _lookup< - ffi.NativeFunction< - ffi.Uint32 Function( + ffi.NativeFunction< + ffi.Uint32 Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_201 = __objc_msgSend_201Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_201 = - __objc_msgSend_201Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_characterDirectionForLanguage_1 = objc.registerName( "characterDirectionForLanguage:", @@ -6855,23 +5800,18 @@ class SwiftLibrary { } late final __objc_msgSend_202Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_202 = __objc_msgSend_202Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_202 = - __objc_msgSend_202Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_lineDirectionForLanguage_1 = objc.registerName( "lineDirectionForLanguage:", @@ -6889,25 +5829,20 @@ class SwiftLibrary { } late final __objc_msgSend_203Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_203 = __objc_msgSend_203Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_203 = - __objc_msgSend_203Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ) - >(); + )>(); late final _sel_timeZoneWithName_1 = objc.registerName("timeZoneWithName:"); late final _sel_timeZoneWithName_data_1 = objc.registerName( @@ -6923,25 +5858,20 @@ class SwiftLibrary { } late final __objc_msgSend_204Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_204 = __objc_msgSend_204Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_204 = - __objc_msgSend_204Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_initWithName_1 = objc.registerName("initWithName:"); late final _sel_initWithName_data_1 = objc.registerName("initWithName:data:"); @@ -6957,29 +5887,24 @@ class SwiftLibrary { } late final __objc_msgSend_205Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Long, + )>>('objc_msgSend'); + late final __objc_msgSend_205 = __objc_msgSend_205Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, - ffi.Long, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_205 = - __objc_msgSend_205Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_timeZoneWithAbbreviation_1 = objc.registerName( "timeZoneWithAbbreviation:", ); - late final _sel_dateWithYear_month_day_hour_minute_second_timeZone_1 = objc - .registerName("dateWithYear:month:day:hour:minute:second:timeZone:"); + late final _sel_dateWithYear_month_day_hour_minute_second_timeZone_1 = + objc.registerName("dateWithYear:month:day:hour:minute:second:timeZone:"); ffi.Pointer _objc_msgSend_206( ffi.Pointer obj, ffi.Pointer sel, @@ -7005,38 +5930,33 @@ class SwiftLibrary { } late final __objc_msgSend_206Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Long, + ffi.UnsignedLong, + ffi.UnsignedLong, + ffi.UnsignedLong, + ffi.UnsignedLong, + ffi.UnsignedLong, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_206 = __objc_msgSend_206Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.Long, - ffi.UnsignedLong, - ffi.UnsignedLong, - ffi.UnsignedLong, - ffi.UnsignedLong, - ffi.UnsignedLong, + int, + int, + int, + int, + int, + int, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_206 = - __objc_msgSend_206Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - int, - int, - int, - int, - int, - ffi.Pointer, - ) - >(); + )>(); - late final _sel_dateByAddingYears_months_days_hours_minutes_seconds_1 = objc - .registerName("dateByAddingYears:months:days:hours:minutes:seconds:"); + late final _sel_dateByAddingYears_months_days_hours_minutes_seconds_1 = + objc.registerName("dateByAddingYears:months:days:hours:minutes:seconds:"); ffi.Pointer _objc_msgSend_207( ffi.Pointer obj, ffi.Pointer sel, @@ -7051,33 +5971,28 @@ class SwiftLibrary { } late final __objc_msgSend_207Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Long, + ffi.Long, + ffi.Long, + ffi.Long, + ffi.Long, + ffi.Long, + )>>('objc_msgSend'); + late final __objc_msgSend_207 = __objc_msgSend_207Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.Long, - ffi.Long, - ffi.Long, - ffi.Long, - ffi.Long, - ffi.Long, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_207 = - __objc_msgSend_207Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - int, - int, - int, - int, - int, - ) - >(); + int, + int, + int, + int, + int, + int, + )>(); late final _sel_dayOfCommonEra1 = objc.registerName("dayOfCommonEra"); late final _sel_dayOfMonth1 = objc.registerName("dayOfMonth"); @@ -7102,25 +6017,20 @@ class SwiftLibrary { } late final __objc_msgSend_208Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_208 = __objc_msgSend_208Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_208 = - __objc_msgSend_208Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_descriptionWithCalendarFormat_1 = objc.registerName( "descriptionWithCalendarFormat:", @@ -7132,8 +6042,8 @@ class SwiftLibrary { late final _sel_initWithString_calendarFormat_1 = objc.registerName( "initWithString:calendarFormat:", ); - late final _sel_initWithYear_month_day_hour_minute_second_timeZone_1 = objc - .registerName("initWithYear:month:day:hour:minute:second:timeZone:"); + late final _sel_initWithYear_month_day_hour_minute_second_timeZone_1 = + objc.registerName("initWithYear:month:day:hour:minute:second:timeZone:"); late final _sel_setCalendarFormat_1 = objc.registerName("setCalendarFormat:"); void _objc_msgSend_209( ffi.Pointer obj, @@ -7144,23 +6054,18 @@ class SwiftLibrary { } late final __objc_msgSend_209Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_209 = __objc_msgSend_209Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_209 = - __objc_msgSend_209Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_setTimeZone_1 = objc.registerName("setTimeZone:"); void _objc_msgSend_210( @@ -7172,26 +6077,21 @@ class SwiftLibrary { } late final __objc_msgSend_210Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_210 = __objc_msgSend_210Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_210 = - __objc_msgSend_210Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); - late final _sel_years_months_days_hours_minutes_seconds_sinceDate_1 = objc - .registerName("years:months:days:hours:minutes:seconds:sinceDate:"); + late final _sel_years_months_days_hours_minutes_seconds_sinceDate_1 = + objc.registerName("years:months:days:hours:minutes:seconds:sinceDate:"); void _objc_msgSend_211( ffi.Pointer obj, ffi.Pointer sel, @@ -7207,8 +6107,20 @@ class SwiftLibrary { } late final __objc_msgSend_211Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_211 = __objc_msgSend_211Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, @@ -7218,24 +6130,7 @@ class SwiftLibrary { ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_211 = - __objc_msgSend_211Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_dateWithCalendarFormat_timeZone_1 = objc.registerName( "dateWithCalendarFormat:timeZone:", @@ -7250,28 +6145,23 @@ class SwiftLibrary { } late final __objc_msgSend_212Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_212 = __objc_msgSend_212Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_212 = - __objc_msgSend_212Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); - late final _sel_descriptionWithCalendarFormat_timeZone_locale_1 = objc - .registerName("descriptionWithCalendarFormat:timeZone:locale:"); + late final _sel_descriptionWithCalendarFormat_timeZone_locale_1 = + objc.registerName("descriptionWithCalendarFormat:timeZone:locale:"); ffi.Pointer _objc_msgSend_213( ffi.Pointer obj, ffi.Pointer sel, @@ -7283,27 +6173,22 @@ class SwiftLibrary { } late final __objc_msgSend_213Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_213 = __objc_msgSend_213Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_213 = - __objc_msgSend_213Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_fileModificationDate1 = objc.registerName( "fileModificationDate", @@ -7334,21 +6219,16 @@ class SwiftLibrary { } late final __objc_msgSend_214Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedInt Function( + ffi.NativeFunction< + ffi.UnsignedInt Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_214 = __objc_msgSend_214Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_214 = - __objc_msgSend_214Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_fileHFSTypeCode1 = objc.registerName("fileHFSTypeCode"); late final _sel_fileIsImmutable1 = objc.registerName("fileIsImmutable"); @@ -7363,21 +6243,16 @@ class SwiftLibrary { } late final __objc_msgSend_215Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_215 = __objc_msgSend_215Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_215 = - __objc_msgSend_215Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_fileGroupOwnerAccountID1 = objc.registerName( "fileGroupOwnerAccountID", @@ -7394,23 +6269,18 @@ class SwiftLibrary { } late final __objc_msgSend_216Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_216 = __objc_msgSend_216Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_216 = - __objc_msgSend_216Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_predicateFormat1 = objc.registerName("predicateFormat"); late final _sel_predicateWithSubstitutionVariables_1 = objc.registerName( @@ -7428,26 +6298,21 @@ class SwiftLibrary { } late final __objc_msgSend_217Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_217 = __objc_msgSend_217Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_217 = - __objc_msgSend_217Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); - late final _sel_evaluateWithObject_substitutionVariables_1 = objc - .registerName("evaluateWithObject:substitutionVariables:"); + late final _sel_evaluateWithObject_substitutionVariables_1 = + objc.registerName("evaluateWithObject:substitutionVariables:"); bool _objc_msgSend_218( ffi.Pointer obj, ffi.Pointer sel, @@ -7458,25 +6323,20 @@ class SwiftLibrary { } late final __objc_msgSend_218Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_218 = __objc_msgSend_218Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_218 = - __objc_msgSend_218Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_allowEvaluation1 = objc.registerName("allowEvaluation"); late final _sel_filteredArrayUsingPredicate_1 = objc.registerName( @@ -7491,23 +6351,18 @@ class SwiftLibrary { } late final __objc_msgSend_219Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_219 = __objc_msgSend_219Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_219 = - __objc_msgSend_219Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_initWithChar_1 = objc.registerName("initWithChar:"); ffi.Pointer _objc_msgSend_220( @@ -7519,23 +6374,18 @@ class SwiftLibrary { } late final __objc_msgSend_220Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Char, + )>>('objc_msgSend'); + late final __objc_msgSend_220 = __objc_msgSend_220Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.Char, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_220 = - __objc_msgSend_220Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_initWithUnsignedChar_1 = objc.registerName( "initWithUnsignedChar:", @@ -7549,23 +6399,18 @@ class SwiftLibrary { } late final __objc_msgSend_221Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedChar, + )>>('objc_msgSend'); + late final __objc_msgSend_221 = __objc_msgSend_221Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.UnsignedChar, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_221 = - __objc_msgSend_221Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_initWithShort_1 = objc.registerName("initWithShort:"); ffi.Pointer _objc_msgSend_222( @@ -7577,23 +6422,18 @@ class SwiftLibrary { } late final __objc_msgSend_222Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Short, + )>>('objc_msgSend'); + late final __objc_msgSend_222 = __objc_msgSend_222Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.Short, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_222 = - __objc_msgSend_222Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_initWithUnsignedShort_1 = objc.registerName( "initWithUnsignedShort:", @@ -7607,23 +6447,18 @@ class SwiftLibrary { } late final __objc_msgSend_223Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedShort, + )>>('objc_msgSend'); + late final __objc_msgSend_223 = __objc_msgSend_223Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.UnsignedShort, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_223 = - __objc_msgSend_223Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_initWithInt_1 = objc.registerName("initWithInt:"); ffi.Pointer _objc_msgSend_224( @@ -7635,23 +6470,18 @@ class SwiftLibrary { } late final __objc_msgSend_224Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int, + )>>('objc_msgSend'); + late final __objc_msgSend_224 = __objc_msgSend_224Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.Int, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_224 = - __objc_msgSend_224Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_initWithUnsignedInt_1 = objc.registerName( "initWithUnsignedInt:", @@ -7665,23 +6495,18 @@ class SwiftLibrary { } late final __objc_msgSend_225Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedInt, + )>>('objc_msgSend'); + late final __objc_msgSend_225 = __objc_msgSend_225Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.UnsignedInt, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_225 = - __objc_msgSend_225Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_initWithLong_1 = objc.registerName("initWithLong:"); ffi.Pointer _objc_msgSend_226( @@ -7693,23 +6518,18 @@ class SwiftLibrary { } late final __objc_msgSend_226Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Long, + )>>('objc_msgSend'); + late final __objc_msgSend_226 = __objc_msgSend_226Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.Long, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_226 = - __objc_msgSend_226Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_initWithUnsignedLong_1 = objc.registerName( "initWithUnsignedLong:", @@ -7723,23 +6543,18 @@ class SwiftLibrary { } late final __objc_msgSend_227Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + )>>('objc_msgSend'); + late final __objc_msgSend_227 = __objc_msgSend_227Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_227 = - __objc_msgSend_227Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_initWithLongLong_1 = objc.registerName("initWithLongLong:"); ffi.Pointer _objc_msgSend_228( @@ -7751,23 +6566,18 @@ class SwiftLibrary { } late final __objc_msgSend_228Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.LongLong, + )>>('objc_msgSend'); + late final __objc_msgSend_228 = __objc_msgSend_228Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.LongLong, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_228 = - __objc_msgSend_228Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_initWithUnsignedLongLong_1 = objc.registerName( "initWithUnsignedLongLong:", @@ -7781,23 +6591,18 @@ class SwiftLibrary { } late final __objc_msgSend_229Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLongLong, + )>>('objc_msgSend'); + late final __objc_msgSend_229 = __objc_msgSend_229Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.UnsignedLongLong, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_229 = - __objc_msgSend_229Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_initWithFloat_1 = objc.registerName("initWithFloat:"); ffi.Pointer _objc_msgSend_230( @@ -7809,23 +6614,18 @@ class SwiftLibrary { } late final __objc_msgSend_230Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Float, + )>>('objc_msgSend'); + late final __objc_msgSend_230 = __objc_msgSend_230Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.Float, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_230 = - __objc_msgSend_230Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - double, - ) - >(); + double, + )>(); late final _sel_initWithDouble_1 = objc.registerName("initWithDouble:"); ffi.Pointer _objc_msgSend_231( @@ -7837,23 +6637,18 @@ class SwiftLibrary { } late final __objc_msgSend_231Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Double, + )>>('objc_msgSend'); + late final __objc_msgSend_231 = __objc_msgSend_231Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.Double, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_231 = - __objc_msgSend_231Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - double, - ) - >(); + double, + )>(); late final _sel_initWithBool_1 = objc.registerName("initWithBool:"); ffi.Pointer _objc_msgSend_232( @@ -7865,23 +6660,18 @@ class SwiftLibrary { } late final __objc_msgSend_232Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + )>>('objc_msgSend'); + late final __objc_msgSend_232 = __objc_msgSend_232Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.Bool, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_232 = - __objc_msgSend_232Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - bool, - ) - >(); + bool, + )>(); late final _sel_initWithInteger_1 = objc.registerName("initWithInteger:"); late final _sel_initWithUnsignedInteger_1 = objc.registerName( @@ -7896,21 +6686,16 @@ class SwiftLibrary { } late final __objc_msgSend_233Ptr = _lookup< - ffi.NativeFunction< - ffi.Char Function( + ffi.NativeFunction< + ffi.Char Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_233 = __objc_msgSend_233Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_233 = - __objc_msgSend_233Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_unsignedCharValue1 = objc.registerName("unsignedCharValue"); int _objc_msgSend_234( @@ -7921,21 +6706,16 @@ class SwiftLibrary { } late final __objc_msgSend_234Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedChar Function( + ffi.NativeFunction< + ffi.UnsignedChar Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_234 = __objc_msgSend_234Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_234 = - __objc_msgSend_234Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_shortValue1 = objc.registerName("shortValue"); int _objc_msgSend_235( @@ -7946,21 +6726,16 @@ class SwiftLibrary { } late final __objc_msgSend_235Ptr = _lookup< - ffi.NativeFunction< - ffi.Short Function( + ffi.NativeFunction< + ffi.Short Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_235 = __objc_msgSend_235Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_235 = - __objc_msgSend_235Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_unsignedShortValue1 = objc.registerName("unsignedShortValue"); int _objc_msgSend_236( @@ -7971,21 +6746,16 @@ class SwiftLibrary { } late final __objc_msgSend_236Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedShort Function( + ffi.NativeFunction< + ffi.UnsignedShort Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_236 = __objc_msgSend_236Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_236 = - __objc_msgSend_236Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_intValue1 = objc.registerName("intValue"); int _objc_msgSend_237( @@ -7996,21 +6766,16 @@ class SwiftLibrary { } late final __objc_msgSend_237Ptr = _lookup< - ffi.NativeFunction< - ffi.Int Function( + ffi.NativeFunction< + ffi.Int Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_237 = __objc_msgSend_237Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_237 = - __objc_msgSend_237Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_unsignedIntValue1 = objc.registerName("unsignedIntValue"); late final _sel_longValue1 = objc.registerName("longValue"); @@ -8024,21 +6789,16 @@ class SwiftLibrary { } late final __objc_msgSend_238Ptr = _lookup< - ffi.NativeFunction< - ffi.LongLong Function( + ffi.NativeFunction< + ffi.LongLong Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_238 = __objc_msgSend_238Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_238 = - __objc_msgSend_238Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_unsignedLongLongValue1 = objc.registerName( "unsignedLongLongValue", @@ -8052,21 +6812,16 @@ class SwiftLibrary { } late final __objc_msgSend_239Ptr = _lookup< - ffi.NativeFunction< - ffi.Float Function( + ffi.NativeFunction< + ffi.Float Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_239 = __objc_msgSend_239Ptr.asFunction< + double Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_239 = - __objc_msgSend_239Ptr - .asFunction< - double Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); double _objc_msgSend_239_fpret( ffi.Pointer obj, @@ -8076,21 +6831,16 @@ class SwiftLibrary { } late final __objc_msgSend_239_fpretPtr = _lookup< - ffi.NativeFunction< - ffi.Float Function( + ffi.NativeFunction< + ffi.Float Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend_fpret'); + late final __objc_msgSend_239_fpret = __objc_msgSend_239_fpretPtr.asFunction< + double Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend_fpret'); - late final __objc_msgSend_239_fpret = - __objc_msgSend_239_fpretPtr - .asFunction< - double Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_doubleValue1 = objc.registerName("doubleValue"); late final _sel_boolValue1 = objc.registerName("boolValue"); @@ -8108,23 +6858,18 @@ class SwiftLibrary { } late final __objc_msgSend_240Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_240 = __objc_msgSend_240Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_240 = - __objc_msgSend_240Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_isEqualToNumber_1 = objc.registerName("isEqualToNumber:"); bool _objc_msgSend_241( @@ -8136,23 +6881,18 @@ class SwiftLibrary { } late final __objc_msgSend_241Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_241 = __objc_msgSend_241Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_241 = - __objc_msgSend_241Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_numberWithChar_1 = objc.registerName("numberWithChar:"); late final _sel_numberWithUnsignedChar_1 = objc.registerName( @@ -8205,25 +6945,20 @@ class SwiftLibrary { } late final __objc_msgSend_242Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + )>>('objc_msgSend'); + late final __objc_msgSend_242 = __objc_msgSend_242Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_242 = - __objc_msgSend_242Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_fileSystemRepresentation1 = objc.registerName( "fileSystemRepresentation", @@ -8247,27 +6982,22 @@ class SwiftLibrary { } late final __objc_msgSend_243Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_243 = __objc_msgSend_243Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer>, ffi.Pointer, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_243 = - __objc_msgSend_243Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer, - ffi.Pointer>, - ) - >(); + )>(); late final _sel_resourceValuesForKeys_error_1 = objc.registerName( "resourceValuesForKeys:error:", @@ -8282,25 +7012,20 @@ class SwiftLibrary { } late final __objc_msgSend_244Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_244 = __objc_msgSend_244Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_244 = - __objc_msgSend_244Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ) - >(); + )>(); late final _sel_setResourceValue_forKey_error_1 = objc.registerName( "setResourceValue:forKey:error:", @@ -8316,27 +7041,22 @@ class SwiftLibrary { } late final __objc_msgSend_245Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_245 = __objc_msgSend_245Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_245 = - __objc_msgSend_245Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ) - >(); + )>(); late final _sel_setResourceValues_error_1 = objc.registerName( "setResourceValues:error:", @@ -8351,25 +7071,20 @@ class SwiftLibrary { } late final __objc_msgSend_246Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_246 = __objc_msgSend_246Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_246 = - __objc_msgSend_246Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ) - >(); + )>(); late final _sel_removeCachedResourceValueForKey_1 = objc.registerName( "removeCachedResourceValueForKey:", @@ -8383,23 +7098,18 @@ class SwiftLibrary { } late final __objc_msgSend_247Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_247 = __objc_msgSend_247Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_247 = - __objc_msgSend_247Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_removeAllCachedResourceValues1 = objc.registerName( "removeAllCachedResourceValues", @@ -8409,8 +7119,8 @@ class SwiftLibrary { ); late final _sel_bookmarkDataWithOptions_includingResourceValuesForKeys_relativeToURL_error_1 = objc.registerName( - "bookmarkDataWithOptions:includingResourceValuesForKeys:relativeToURL:error:", - ); + "bookmarkDataWithOptions:includingResourceValuesForKeys:relativeToURL:error:", + ); ffi.Pointer _objc_msgSend_248( ffi.Pointer obj, ffi.Pointer sel, @@ -8423,34 +7133,29 @@ class SwiftLibrary { } late final __objc_msgSend_248Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_248 = __objc_msgSend_248Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, ffi.Pointer, ffi.Pointer, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_248 = - __objc_msgSend_248Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ) - >(); + )>(); late final _sel_initByResolvingBookmarkData_options_relativeToURL_bookmarkDataIsStale_error_1 = objc.registerName( - "initByResolvingBookmarkData:options:relativeToURL:bookmarkDataIsStale:error:", - ); + "initByResolvingBookmarkData:options:relativeToURL:bookmarkDataIsStale:error:", + ); instancetype _objc_msgSend_249( ffi.Pointer obj, ffi.Pointer sel, @@ -8472,36 +7177,31 @@ class SwiftLibrary { } late final __objc_msgSend_249Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_249 = __objc_msgSend_249Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, ffi.Pointer, ffi.Pointer, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_249 = - __objc_msgSend_249Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ) - >(); + )>(); late final _sel_URLByResolvingBookmarkData_options_relativeToURL_bookmarkDataIsStale_error_1 = objc.registerName( - "URLByResolvingBookmarkData:options:relativeToURL:bookmarkDataIsStale:error:", - ); + "URLByResolvingBookmarkData:options:relativeToURL:bookmarkDataIsStale:error:", + ); late final _sel_resourceValuesForKeys_fromBookmarkData_1 = objc.registerName( "resourceValuesForKeys:fromBookmarkData:", ); @@ -8515,25 +7215,20 @@ class SwiftLibrary { } late final __objc_msgSend_250Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_250 = __objc_msgSend_250Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_250 = - __objc_msgSend_250Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_writeBookmarkData_toURL_options_error_1 = objc.registerName( "writeBookmarkData:toURL:options:error:", @@ -8557,29 +7252,24 @@ class SwiftLibrary { } late final __objc_msgSend_251Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_251 = __objc_msgSend_251Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, + int, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_251 = - __objc_msgSend_251Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>, - ) - >(); + )>(); late final _sel_bookmarkDataWithContentsOfURL_error_1 = objc.registerName( "bookmarkDataWithContentsOfURL:error:", @@ -8594,28 +7284,23 @@ class SwiftLibrary { } late final __objc_msgSend_252Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_252 = __objc_msgSend_252Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_252 = - __objc_msgSend_252Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ) - >(); + )>(); - late final _sel_URLByResolvingAliasFileAtURL_options_error_1 = objc - .registerName("URLByResolvingAliasFileAtURL:options:error:"); + late final _sel_URLByResolvingAliasFileAtURL_options_error_1 = + objc.registerName("URLByResolvingAliasFileAtURL:options:error:"); instancetype _objc_msgSend_253( ffi.Pointer obj, ffi.Pointer sel, @@ -8627,27 +7312,22 @@ class SwiftLibrary { } late final __objc_msgSend_253Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_253 = __objc_msgSend_253Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_253 = - __objc_msgSend_253Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>, - ) - >(); + )>(); late final _sel_startAccessingSecurityScopedResource1 = objc.registerName( "startAccessingSecurityScopedResource", @@ -8655,8 +7335,8 @@ class SwiftLibrary { late final _sel_stopAccessingSecurityScopedResource1 = objc.registerName( "stopAccessingSecurityScopedResource", ); - late final _sel_getPromisedItemResourceValue_forKey_error_1 = objc - .registerName("getPromisedItemResourceValue:forKey:error:"); + late final _sel_getPromisedItemResourceValue_forKey_error_1 = + objc.registerName("getPromisedItemResourceValue:forKey:error:"); late final _sel_promisedItemResourceValuesForKeys_error_1 = objc.registerName( "promisedItemResourceValuesForKeys:error:", ); @@ -8670,28 +7350,23 @@ class SwiftLibrary { } late final __objc_msgSend_254Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_254 = __objc_msgSend_254Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_254 = - __objc_msgSend_254Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ) - >(); + )>(); - late final _sel_checkPromisedItemIsReachableAndReturnError_1 = objc - .registerName("checkPromisedItemIsReachableAndReturnError:"); + late final _sel_checkPromisedItemIsReachableAndReturnError_1 = + objc.registerName("checkPromisedItemIsReachableAndReturnError:"); bool _objc_msgSend_255( ffi.Pointer obj, ffi.Pointer sel, @@ -8701,23 +7376,18 @@ class SwiftLibrary { } late final __objc_msgSend_255Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_255 = __objc_msgSend_255Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_255 = - __objc_msgSend_255Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ) - >(); + )>(); late final _sel_fileURLWithPathComponents_1 = objc.registerName( "fileURLWithPathComponents:", @@ -8731,23 +7401,18 @@ class SwiftLibrary { } late final __objc_msgSend_256Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_256 = __objc_msgSend_256Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_256 = - __objc_msgSend_256Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_pathComponents1 = objc.registerName("pathComponents"); late final _sel_lastPathComponent1 = objc.registerName("lastPathComponent"); @@ -8764,23 +7429,18 @@ class SwiftLibrary { } late final __objc_msgSend_257Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_257 = __objc_msgSend_257Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_257 = - __objc_msgSend_257Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_URLByAppendingPathComponent_isDirectory_1 = objc.registerName( "URLByAppendingPathComponent:isDirectory:", @@ -8795,25 +7455,20 @@ class SwiftLibrary { } late final __objc_msgSend_258Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + )>>('objc_msgSend'); + late final __objc_msgSend_258 = __objc_msgSend_258Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Bool, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_258 = - __objc_msgSend_258Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - ) - >(); + bool, + )>(); late final _sel_URLByDeletingLastPathComponent1 = objc.registerName( "URLByDeletingLastPathComponent", @@ -8845,26 +7500,21 @@ class SwiftLibrary { } late final __objc_msgSend_259Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + )>>('objc_msgSend'); + late final __objc_msgSend_259 = __objc_msgSend_259Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.Bool, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_259 = - __objc_msgSend_259Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - bool, - ) - >(); + bool, + )>(); - late final _sel_loadResourceDataNotifyingClient_usingCache_1 = objc - .registerName("loadResourceDataNotifyingClient:usingCache:"); + late final _sel_loadResourceDataNotifyingClient_usingCache_1 = + objc.registerName("loadResourceDataNotifyingClient:usingCache:"); void _objc_msgSend_260( ffi.Pointer obj, ffi.Pointer sel, @@ -8875,25 +7525,20 @@ class SwiftLibrary { } late final __objc_msgSend_260Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + )>>('objc_msgSend'); + late final __objc_msgSend_260 = __objc_msgSend_260Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Bool, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_260 = - __objc_msgSend_260Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - ) - >(); + bool, + )>(); late final _sel_propertyForKey_1 = objc.registerName("propertyForKey:"); late final _sel_setResourceData_1 = objc.registerName("setResourceData:"); @@ -8910,25 +7555,20 @@ class SwiftLibrary { } late final __objc_msgSend_261Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_261 = __objc_msgSend_261Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_261 = - __objc_msgSend_261Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _class_NSURLHandle1 = objc.getClass("NSURLHandle"); late final _sel_registerURLHandleClass_1 = objc.registerName( @@ -8946,23 +7586,18 @@ class SwiftLibrary { } late final __objc_msgSend_262Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_262 = __objc_msgSend_262Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_262 = - __objc_msgSend_262Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_status1 = objc.registerName("status"); int _objc_msgSend_263( @@ -8973,21 +7608,16 @@ class SwiftLibrary { } late final __objc_msgSend_263Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_263 = __objc_msgSend_263Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_263 = - __objc_msgSend_263Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_failureReason1 = objc.registerName("failureReason"); late final _sel_addClient_1 = objc.registerName("addClient:"); @@ -9020,25 +7650,20 @@ class SwiftLibrary { } late final __objc_msgSend_264Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + )>>('objc_msgSend'); + late final __objc_msgSend_264 = __objc_msgSend_264Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Bool, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_264 = - __objc_msgSend_264Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - ) - >(); + bool, + )>(); late final _sel_canInitWithURL_1 = objc.registerName("canInitWithURL:"); bool _objc_msgSend_265( @@ -9050,23 +7675,18 @@ class SwiftLibrary { } late final __objc_msgSend_265Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_265 = __objc_msgSend_265Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_265 = - __objc_msgSend_265Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_cachedHandleForURL_1 = objc.registerName( "cachedHandleForURL:", @@ -9080,23 +7700,18 @@ class SwiftLibrary { } late final __objc_msgSend_266Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_266 = __objc_msgSend_266Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_266 = - __objc_msgSend_266Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_initWithURL_cached_1 = objc.registerName( "initWithURL:cached:", @@ -9111,25 +7726,20 @@ class SwiftLibrary { } late final __objc_msgSend_267Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + )>>('objc_msgSend'); + late final __objc_msgSend_267 = __objc_msgSend_267Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Bool, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_267 = - __objc_msgSend_267Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - ) - >(); + bool, + )>(); late final _sel_propertyForKeyIfAvailable_1 = objc.registerName( "propertyForKeyIfAvailable:", @@ -9157,23 +7767,18 @@ class SwiftLibrary { } late final __objc_msgSend_268Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + )>>('objc_msgSend'); + late final __objc_msgSend_268 = __objc_msgSend_268Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.Bool, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_268 = - __objc_msgSend_268Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - bool, - ) - >(); + bool, + )>(); late final _sel_writeToFile_options_error_1 = objc.registerName( "writeToFile:options:error:", @@ -9189,27 +7794,22 @@ class SwiftLibrary { } late final __objc_msgSend_269Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_269 = __objc_msgSend_269Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_269 = - __objc_msgSend_269Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>, - ) - >(); + )>(); late final _sel_writeToURL_options_error_1 = objc.registerName( "writeToURL:options:error:", @@ -9225,27 +7825,22 @@ class SwiftLibrary { } late final __objc_msgSend_270Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_270 = __objc_msgSend_270Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_270 = - __objc_msgSend_270Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>, - ) - >(); + )>(); late final _sel_rangeOfData_options_range_1 = objc.registerName( "rangeOfData:options:range:", @@ -9261,27 +7856,22 @@ class SwiftLibrary { } late final __objc_msgSend_271Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + _NSRange Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + _NSRange, + )>>('objc_msgSend'); + late final __objc_msgSend_271 = __objc_msgSend_271Ptr.asFunction< _NSRange Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, _NSRange, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_271 = - __objc_msgSend_271Ptr - .asFunction< - _NSRange Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - _NSRange, - ) - >(); + )>(); void _objc_msgSend_271_stret( ffi.Pointer<_NSRange> stret, @@ -9302,29 +7892,24 @@ class SwiftLibrary { } late final __objc_msgSend_271_stretPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer<_NSRange>, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + _NSRange, + )>>('objc_msgSend_stret'); + late final __objc_msgSend_271_stret = __objc_msgSend_271_stretPtr.asFunction< + void Function( ffi.Pointer<_NSRange>, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, _NSRange, - ) - > - >('objc_msgSend_stret'); - late final __objc_msgSend_271_stret = - __objc_msgSend_271_stretPtr - .asFunction< - void Function( - ffi.Pointer<_NSRange>, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - _NSRange, - ) - >(); + )>(); late final _sel_enumerateByteRangesUsingBlock_1 = objc.registerName( "enumerateByteRangesUsingBlock:", @@ -9338,23 +7923,18 @@ class SwiftLibrary { } late final __objc_msgSend_272Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_272 = __objc_msgSend_272Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_272 = - __objc_msgSend_272Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_dataWithBytes_length_1 = objc.registerName( "dataWithBytes:length:", @@ -9369,25 +7949,20 @@ class SwiftLibrary { } late final __objc_msgSend_273Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + )>>('objc_msgSend'); + late final __objc_msgSend_273 = __objc_msgSend_273Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_273 = - __objc_msgSend_273Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_dataWithBytesNoCopy_length_1 = objc.registerName( "dataWithBytesNoCopy:length:", @@ -9406,27 +7981,22 @@ class SwiftLibrary { } late final __objc_msgSend_274Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Bool, + )>>('objc_msgSend'); + late final __objc_msgSend_274 = __objc_msgSend_274Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, - ffi.Bool, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_274 = - __objc_msgSend_274Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - bool, - ) - >(); + int, + bool, + )>(); late final _sel_dataWithContentsOfFile_options_error_1 = objc.registerName( "dataWithContentsOfFile:options:error:", @@ -9442,27 +8012,22 @@ class SwiftLibrary { } late final __objc_msgSend_275Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_275 = __objc_msgSend_275Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_275 = - __objc_msgSend_275Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>, - ) - >(); + )>(); late final _sel_dataWithContentsOfURL_options_error_1 = objc.registerName( "dataWithContentsOfURL:options:error:", @@ -9478,27 +8043,22 @@ class SwiftLibrary { } late final __objc_msgSend_276Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_276 = __objc_msgSend_276Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_276 = - __objc_msgSend_276Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>, - ) - >(); + )>(); late final _sel_dataWithContentsOfFile_1 = objc.registerName( "dataWithContentsOfFile:", @@ -9515,23 +8075,18 @@ class SwiftLibrary { } late final __objc_msgSend_277Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_277 = __objc_msgSend_277Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_277 = - __objc_msgSend_277Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_initWithBytes_length_1 = objc.registerName( "initWithBytes:length:", @@ -9556,27 +8111,22 @@ class SwiftLibrary { } late final __objc_msgSend_278Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_278 = __objc_msgSend_278Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, + int, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_278 = - __objc_msgSend_278Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ) - >(); + )>(); late final _sel_initWithContentsOfFile_options_error_1 = objc.registerName( "initWithContentsOfFile:options:error:", @@ -9594,23 +8144,18 @@ class SwiftLibrary { } late final __objc_msgSend_279Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_279 = __objc_msgSend_279Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_279 = - __objc_msgSend_279Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_dataWithData_1 = objc.registerName("dataWithData:"); late final _sel_initWithBase64EncodedString_options_1 = objc.registerName( @@ -9626,25 +8171,20 @@ class SwiftLibrary { } late final __objc_msgSend_280Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + )>>('objc_msgSend'); + late final __objc_msgSend_280 = __objc_msgSend_280Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_280 = - __objc_msgSend_280Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_base64EncodedStringWithOptions_1 = objc.registerName( "base64EncodedStringWithOptions:", @@ -9658,23 +8198,18 @@ class SwiftLibrary { } late final __objc_msgSend_281Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + )>>('objc_msgSend'); + late final __objc_msgSend_281 = __objc_msgSend_281Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_281 = - __objc_msgSend_281Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_initWithBase64EncodedData_options_1 = objc.registerName( "initWithBase64EncodedData:options:", @@ -9689,25 +8224,20 @@ class SwiftLibrary { } late final __objc_msgSend_282Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + )>>('objc_msgSend'); + late final __objc_msgSend_282 = __objc_msgSend_282Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_282 = - __objc_msgSend_282Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_base64EncodedDataWithOptions_1 = objc.registerName( "base64EncodedDataWithOptions:", @@ -9721,23 +8251,18 @@ class SwiftLibrary { } late final __objc_msgSend_283Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + )>>('objc_msgSend'); + late final __objc_msgSend_283 = __objc_msgSend_283Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_283 = - __objc_msgSend_283Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_decompressedDataUsingAlgorithm_error_1 = objc.registerName( "decompressedDataUsingAlgorithm:error:", @@ -9752,25 +8277,20 @@ class SwiftLibrary { } late final __objc_msgSend_284Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_284 = __objc_msgSend_284Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_284 = - __objc_msgSend_284Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>, - ) - >(); + )>(); late final _sel_compressedDataUsingAlgorithm_error_1 = objc.registerName( "compressedDataUsingAlgorithm:error:", @@ -9796,23 +8316,18 @@ class SwiftLibrary { } late final __objc_msgSend_285Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_285 = __objc_msgSend_285Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_285 = - __objc_msgSend_285Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_decodeDataObject1 = objc.registerName("decodeDataObject"); ffi.Pointer _objc_msgSend_286( @@ -9823,21 +8338,16 @@ class SwiftLibrary { } late final __objc_msgSend_286Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_286 = __objc_msgSend_286Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_286 = - __objc_msgSend_286Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_decodeValueOfObjCType_at_size_1 = objc.registerName( "decodeValueOfObjCType:at:size:", @@ -9853,27 +8363,22 @@ class SwiftLibrary { } late final __objc_msgSend_287Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + )>>('objc_msgSend'); + late final __objc_msgSend_287 = __objc_msgSend_287Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_287 = - __objc_msgSend_287Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_versionForClassName_1 = objc.registerName( "versionForClassName:", @@ -9887,23 +8392,18 @@ class SwiftLibrary { } late final __objc_msgSend_288Ptr = _lookup< - ffi.NativeFunction< - ffi.Long Function( + ffi.NativeFunction< + ffi.Long Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_288 = __objc_msgSend_288Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_288 = - __objc_msgSend_288Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_encodeObject_1 = objc.registerName("encodeObject:"); void _objc_msgSend_289( @@ -9915,23 +8415,18 @@ class SwiftLibrary { } late final __objc_msgSend_289Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_289 = __objc_msgSend_289Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_289 = - __objc_msgSend_289Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_encodeRootObject_1 = objc.registerName("encodeRootObject:"); late final _sel_encodeBycopyObject_1 = objc.registerName( @@ -9953,23 +8448,18 @@ class SwiftLibrary { } late final __objc_msgSend_290Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_290 = __objc_msgSend_290Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_290 = - __objc_msgSend_290Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_encodeArrayOfObjCType_count_at_1 = objc.registerName( "encodeArrayOfObjCType:count:at:", @@ -9985,27 +8475,22 @@ class SwiftLibrary { } late final __objc_msgSend_291Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_291 = __objc_msgSend_291Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, + int, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_291 = - __objc_msgSend_291Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ) - >(); + )>(); late final _sel_encodeBytes_length_1 = objc.registerName( "encodeBytes:length:", @@ -10023,23 +8508,18 @@ class SwiftLibrary { } late final __objc_msgSend_292Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_292 = __objc_msgSend_292Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_292 = - __objc_msgSend_292Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ) - >(); + )>(); late final _sel_decodeValuesOfObjCTypes_1 = objc.registerName( "decodeValuesOfObjCTypes:", @@ -10059,23 +8539,18 @@ class SwiftLibrary { } late final __objc_msgSend_293Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_293 = __objc_msgSend_293Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_293 = - __objc_msgSend_293Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_encodePropertyList_1 = objc.registerName( "encodePropertyList:", @@ -10091,23 +8566,18 @@ class SwiftLibrary { } late final __objc_msgSend_294Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_NSZone>, + )>>('objc_msgSend'); + late final __objc_msgSend_294 = __objc_msgSend_294Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer<_NSZone>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_294 = - __objc_msgSend_294Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_NSZone>, - ) - >(); + )>(); late final _sel_objectZone1 = objc.registerName("objectZone"); ffi.Pointer<_NSZone> _objc_msgSend_295( @@ -10118,21 +8588,16 @@ class SwiftLibrary { } late final __objc_msgSend_295Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer<_NSZone> Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_295 = __objc_msgSend_295Ptr.asFunction< ffi.Pointer<_NSZone> Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_295 = - __objc_msgSend_295Ptr - .asFunction< - ffi.Pointer<_NSZone> Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_systemVersion1 = objc.registerName("systemVersion"); late final _sel_allowsKeyedCoding1 = objc.registerName("allowsKeyedCoding"); @@ -10153,25 +8618,20 @@ class SwiftLibrary { } late final __objc_msgSend_296Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_296 = __objc_msgSend_296Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, - ffi.Bool, + bool, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_296 = - __objc_msgSend_296Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - bool, - ffi.Pointer, - ) - >(); + )>(); late final _sel_encodeInt_forKey_1 = objc.registerName("encodeInt:forKey:"); void _objc_msgSend_297( @@ -10184,25 +8644,20 @@ class SwiftLibrary { } late final __objc_msgSend_297Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_297 = __objc_msgSend_297Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, - ffi.Int, + int, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_297 = - __objc_msgSend_297Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ) - >(); + )>(); late final _sel_encodeInt32_forKey_1 = objc.registerName( "encodeInt32:forKey:", @@ -10217,25 +8672,20 @@ class SwiftLibrary { } late final __objc_msgSend_298Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_298 = __objc_msgSend_298Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_298 = - __objc_msgSend_298Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ) - >(); + )>(); late final _sel_encodeInt64_forKey_1 = objc.registerName( "encodeInt64:forKey:", @@ -10250,25 +8700,20 @@ class SwiftLibrary { } late final __objc_msgSend_299Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int64, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_299 = __objc_msgSend_299Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, - ffi.Int64, + int, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_299 = - __objc_msgSend_299Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ) - >(); + )>(); late final _sel_encodeFloat_forKey_1 = objc.registerName( "encodeFloat:forKey:", @@ -10283,25 +8728,20 @@ class SwiftLibrary { } late final __objc_msgSend_300Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Float, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_300 = __objc_msgSend_300Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, - ffi.Float, + double, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_300 = - __objc_msgSend_300Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - double, - ffi.Pointer, - ) - >(); + )>(); late final _sel_encodeDouble_forKey_1 = objc.registerName( "encodeDouble:forKey:", @@ -10316,25 +8756,20 @@ class SwiftLibrary { } late final __objc_msgSend_301Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Double, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_301 = __objc_msgSend_301Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, - ffi.Double, + double, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_301 = - __objc_msgSend_301Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - double, - ffi.Pointer, - ) - >(); + )>(); late final _sel_encodeBytes_length_forKey_1 = objc.registerName( "encodeBytes:length:forKey:", @@ -10350,27 +8785,22 @@ class SwiftLibrary { } late final __objc_msgSend_302Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_302 = __objc_msgSend_302Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, + int, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_302 = - __objc_msgSend_302Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ) - >(); + )>(); late final _sel_containsValueForKey_1 = objc.registerName( "containsValueForKey:", @@ -10391,25 +8821,20 @@ class SwiftLibrary { } late final __objc_msgSend_303Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_303 = __objc_msgSend_303Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_303 = - __objc_msgSend_303Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ) - >(); + )>(); late final _sel_decodeBoolForKey_1 = objc.registerName("decodeBoolForKey:"); late final _sel_decodeIntForKey_1 = objc.registerName("decodeIntForKey:"); @@ -10422,23 +8847,18 @@ class SwiftLibrary { } late final __objc_msgSend_304Ptr = _lookup< - ffi.NativeFunction< - ffi.Int Function( + ffi.NativeFunction< + ffi.Int Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_304 = __objc_msgSend_304Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_304 = - __objc_msgSend_304Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_decodeInt32ForKey_1 = objc.registerName("decodeInt32ForKey:"); int _objc_msgSend_305( @@ -10450,23 +8870,18 @@ class SwiftLibrary { } late final __objc_msgSend_305Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_305 = __objc_msgSend_305Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_305 = - __objc_msgSend_305Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_decodeInt64ForKey_1 = objc.registerName("decodeInt64ForKey:"); int _objc_msgSend_306( @@ -10478,23 +8893,18 @@ class SwiftLibrary { } late final __objc_msgSend_306Ptr = _lookup< - ffi.NativeFunction< - ffi.Int64 Function( + ffi.NativeFunction< + ffi.Int64 Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_306 = __objc_msgSend_306Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_306 = - __objc_msgSend_306Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_decodeFloatForKey_1 = objc.registerName("decodeFloatForKey:"); double _objc_msgSend_307( @@ -10506,23 +8916,18 @@ class SwiftLibrary { } late final __objc_msgSend_307Ptr = _lookup< - ffi.NativeFunction< - ffi.Float Function( + ffi.NativeFunction< + ffi.Float Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_307 = __objc_msgSend_307Ptr.asFunction< + double Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_307 = - __objc_msgSend_307Ptr - .asFunction< - double Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); double _objc_msgSend_307_fpret( ffi.Pointer obj, @@ -10533,23 +8938,18 @@ class SwiftLibrary { } late final __objc_msgSend_307_fpretPtr = _lookup< - ffi.NativeFunction< - ffi.Float Function( + ffi.NativeFunction< + ffi.Float Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend_fpret'); + late final __objc_msgSend_307_fpret = __objc_msgSend_307_fpretPtr.asFunction< + double Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend_fpret'); - late final __objc_msgSend_307_fpret = - __objc_msgSend_307_fpretPtr - .asFunction< - double Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_decodeDoubleForKey_1 = objc.registerName( "decodeDoubleForKey:", @@ -10563,23 +8963,18 @@ class SwiftLibrary { } late final __objc_msgSend_308Ptr = _lookup< - ffi.NativeFunction< - ffi.Double Function( + ffi.NativeFunction< + ffi.Double Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_308 = __objc_msgSend_308Ptr.asFunction< + double Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_308 = - __objc_msgSend_308Ptr - .asFunction< - double Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); double _objc_msgSend_308_fpret( ffi.Pointer obj, @@ -10590,23 +8985,18 @@ class SwiftLibrary { } late final __objc_msgSend_308_fpretPtr = _lookup< - ffi.NativeFunction< - ffi.Double Function( + ffi.NativeFunction< + ffi.Double Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend_fpret'); + late final __objc_msgSend_308_fpret = __objc_msgSend_308_fpretPtr.asFunction< + double Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend_fpret'); - late final __objc_msgSend_308_fpret = - __objc_msgSend_308_fpretPtr - .asFunction< - double Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_decodeBytesForKey_returnedLength_1 = objc.registerName( "decodeBytesForKey:returnedLength:", @@ -10621,25 +9011,20 @@ class SwiftLibrary { } late final __objc_msgSend_309Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_309 = __objc_msgSend_309Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_309 = - __objc_msgSend_309Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_encodeInteger_forKey_1 = objc.registerName( "encodeInteger:forKey:", @@ -10654,25 +9039,20 @@ class SwiftLibrary { } late final __objc_msgSend_310Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Long, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_310 = __objc_msgSend_310Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, - ffi.Long, + int, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_310 = - __objc_msgSend_310Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ) - >(); + )>(); late final _sel_decodeIntegerForKey_1 = objc.registerName( "decodeIntegerForKey:", @@ -10693,28 +9073,23 @@ class SwiftLibrary { } late final __objc_msgSend_311Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_311 = __objc_msgSend_311Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_311 = - __objc_msgSend_311Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); - late final _sel_decodeTopLevelObjectOfClass_forKey_error_1 = objc - .registerName("decodeTopLevelObjectOfClass:forKey:error:"); + late final _sel_decodeTopLevelObjectOfClass_forKey_error_1 = + objc.registerName("decodeTopLevelObjectOfClass:forKey:error:"); ffi.Pointer _objc_msgSend_312( ffi.Pointer obj, ffi.Pointer sel, @@ -10726,27 +9101,22 @@ class SwiftLibrary { } late final __objc_msgSend_312Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_312 = __objc_msgSend_312Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_312 = - __objc_msgSend_312Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ) - >(); + )>(); late final _sel_decodeArrayOfObjectsOfClass_forKey_1 = objc.registerName( "decodeArrayOfObjectsOfClass:forKey:", @@ -10761,25 +9131,20 @@ class SwiftLibrary { } late final __objc_msgSend_313Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_313 = __objc_msgSend_313Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_313 = - __objc_msgSend_313Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_decodeDictionaryWithKeysOfClass_objectsOfClass_forKey_1 = objc .registerName("decodeDictionaryWithKeysOfClass:objectsOfClass:forKey:"); @@ -10794,27 +9159,22 @@ class SwiftLibrary { } late final __objc_msgSend_314Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_314 = __objc_msgSend_314Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_314 = - __objc_msgSend_314Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_decodeObjectOfClasses_forKey_1 = objc.registerName( "decodeObjectOfClasses:forKey:", @@ -10829,28 +9189,23 @@ class SwiftLibrary { } late final __objc_msgSend_315Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_315 = __objc_msgSend_315Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_315 = - __objc_msgSend_315Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); - late final _sel_decodeTopLevelObjectOfClasses_forKey_error_1 = objc - .registerName("decodeTopLevelObjectOfClasses:forKey:error:"); + late final _sel_decodeTopLevelObjectOfClasses_forKey_error_1 = + objc.registerName("decodeTopLevelObjectOfClasses:forKey:error:"); ffi.Pointer _objc_msgSend_316( ffi.Pointer obj, ffi.Pointer sel, @@ -10862,27 +9217,22 @@ class SwiftLibrary { } late final __objc_msgSend_316Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_316 = __objc_msgSend_316Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_316 = - __objc_msgSend_316Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ) - >(); + )>(); late final _sel_decodeArrayOfObjectsOfClasses_forKey_1 = objc.registerName( "decodeArrayOfObjectsOfClasses:forKey:", @@ -10897,30 +9247,25 @@ class SwiftLibrary { } late final __objc_msgSend_317Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_317 = __objc_msgSend_317Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_317 = - __objc_msgSend_317Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_decodeDictionaryWithKeysOfClasses_objectsOfClasses_forKey_1 = objc.registerName( - "decodeDictionaryWithKeysOfClasses:objectsOfClasses:forKey:", - ); + "decodeDictionaryWithKeysOfClasses:objectsOfClasses:forKey:", + ); ffi.Pointer _objc_msgSend_318( ffi.Pointer obj, ffi.Pointer sel, @@ -10932,27 +9277,22 @@ class SwiftLibrary { } late final __objc_msgSend_318Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_318 = __objc_msgSend_318Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_318 = - __objc_msgSend_318Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_decodePropertyListForKey_1 = objc.registerName( "decodePropertyListForKey:", @@ -10966,21 +9306,16 @@ class SwiftLibrary { } late final __objc_msgSend_319Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_319 = __objc_msgSend_319Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_319 = - __objc_msgSend_319Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_failWithError_1 = objc.registerName("failWithError:"); void _objc_msgSend_320( @@ -10992,23 +9327,18 @@ class SwiftLibrary { } late final __objc_msgSend_320Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_320 = __objc_msgSend_320Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_320 = - __objc_msgSend_320Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_decodingFailurePolicy1 = objc.registerName( "decodingFailurePolicy", @@ -11021,21 +9351,16 @@ class SwiftLibrary { } late final __objc_msgSend_321Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_321 = __objc_msgSend_321Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_321 = - __objc_msgSend_321Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_error1 = objc.registerName("error"); ffi.Pointer _objc_msgSend_322( @@ -11046,21 +9371,16 @@ class SwiftLibrary { } late final __objc_msgSend_322Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_322 = __objc_msgSend_322Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_322 = - __objc_msgSend_322Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_encodeNXObject_1 = objc.registerName("encodeNXObject:"); late final _sel_decodeNXObject1 = objc.registerName("decodeNXObject"); @@ -11077,23 +9397,18 @@ class SwiftLibrary { } late final __objc_msgSend_323Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + CGPoint, + )>>('objc_msgSend'); + late final __objc_msgSend_323 = __objc_msgSend_323Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, CGPoint, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_323 = - __objc_msgSend_323Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - CGPoint, - ) - >(); + )>(); late final _sel_decodePoint1 = objc.registerName("decodePoint"); late final _sel_encodeSize_1 = objc.registerName("encodeSize:"); @@ -11106,23 +9421,18 @@ class SwiftLibrary { } late final __objc_msgSend_324Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + CGSize, + )>>('objc_msgSend'); + late final __objc_msgSend_324 = __objc_msgSend_324Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, CGSize, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_324 = - __objc_msgSend_324Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - CGSize, - ) - >(); + )>(); late final _sel_decodeSize1 = objc.registerName("decodeSize"); late final _sel_encodeRect_1 = objc.registerName("encodeRect:"); @@ -11135,23 +9445,18 @@ class SwiftLibrary { } late final __objc_msgSend_325Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + CGRect, + )>>('objc_msgSend'); + late final __objc_msgSend_325 = __objc_msgSend_325Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, CGRect, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_325 = - __objc_msgSend_325Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - CGRect, - ) - >(); + )>(); late final _sel_decodeRect1 = objc.registerName("decodeRect"); late final _sel_encodePoint_forKey_1 = objc.registerName( @@ -11167,25 +9472,20 @@ class SwiftLibrary { } late final __objc_msgSend_326Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + CGPoint, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_326 = __objc_msgSend_326Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, CGPoint, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_326 = - __objc_msgSend_326Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - CGPoint, - ffi.Pointer, - ) - >(); + )>(); late final _sel_encodeSize_forKey_1 = objc.registerName("encodeSize:forKey:"); void _objc_msgSend_327( @@ -11198,25 +9498,20 @@ class SwiftLibrary { } late final __objc_msgSend_327Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + CGSize, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_327 = __objc_msgSend_327Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, CGSize, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_327 = - __objc_msgSend_327Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - CGSize, - ffi.Pointer, - ) - >(); + )>(); late final _sel_encodeRect_forKey_1 = objc.registerName("encodeRect:forKey:"); void _objc_msgSend_328( @@ -11229,25 +9524,20 @@ class SwiftLibrary { } late final __objc_msgSend_328Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + CGRect, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_328 = __objc_msgSend_328Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, CGRect, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_328 = - __objc_msgSend_328Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - CGRect, - ffi.Pointer, - ) - >(); + )>(); late final _sel_decodePointForKey_1 = objc.registerName("decodePointForKey:"); CGPoint _objc_msgSend_329( @@ -11259,23 +9549,18 @@ class SwiftLibrary { } late final __objc_msgSend_329Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + CGPoint Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_329 = __objc_msgSend_329Ptr.asFunction< CGPoint Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_329 = - __objc_msgSend_329Ptr - .asFunction< - CGPoint Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); void _objc_msgSend_329_stret( ffi.Pointer stret, @@ -11287,25 +9572,20 @@ class SwiftLibrary { } late final __objc_msgSend_329_stretPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend_stret'); + late final __objc_msgSend_329_stret = __objc_msgSend_329_stretPtr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend_stret'); - late final __objc_msgSend_329_stret = - __objc_msgSend_329_stretPtr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_decodeSizeForKey_1 = objc.registerName("decodeSizeForKey:"); CGSize _objc_msgSend_330( @@ -11317,23 +9597,18 @@ class SwiftLibrary { } late final __objc_msgSend_330Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + CGSize Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_330 = __objc_msgSend_330Ptr.asFunction< CGSize Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_330 = - __objc_msgSend_330Ptr - .asFunction< - CGSize Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); void _objc_msgSend_330_stret( ffi.Pointer stret, @@ -11345,25 +9620,20 @@ class SwiftLibrary { } late final __objc_msgSend_330_stretPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend_stret'); + late final __objc_msgSend_330_stret = __objc_msgSend_330_stretPtr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend_stret'); - late final __objc_msgSend_330_stret = - __objc_msgSend_330_stretPtr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_decodeRectForKey_1 = objc.registerName("decodeRectForKey:"); CGRect _objc_msgSend_331( @@ -11375,23 +9645,18 @@ class SwiftLibrary { } late final __objc_msgSend_331Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + CGRect Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_331 = __objc_msgSend_331Ptr.asFunction< CGRect Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_331 = - __objc_msgSend_331Ptr - .asFunction< - CGRect Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); void _objc_msgSend_331_stret( ffi.Pointer stret, @@ -11403,25 +9668,20 @@ class SwiftLibrary { } late final __objc_msgSend_331_stretPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend_stret'); + late final __objc_msgSend_331_stret = __objc_msgSend_331_stretPtr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend_stret'); - late final __objc_msgSend_331_stret = - __objc_msgSend_331_stretPtr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_substringFromIndex_1 = objc.registerName( "substringFromIndex:", @@ -11435,23 +9695,18 @@ class SwiftLibrary { } late final __objc_msgSend_332Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + )>>('objc_msgSend'); + late final __objc_msgSend_332 = __objc_msgSend_332Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_332 = - __objc_msgSend_332Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_substringToIndex_1 = objc.registerName("substringToIndex:"); late final _sel_substringWithRange_1 = objc.registerName( @@ -11466,23 +9721,18 @@ class SwiftLibrary { } late final __objc_msgSend_333Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + )>>('objc_msgSend'); + late final __objc_msgSend_333 = __objc_msgSend_333Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, _NSRange, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_333 = - __objc_msgSend_333Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ) - >(); + )>(); late final _sel_getCharacters_range_1 = objc.registerName( "getCharacters:range:", @@ -11497,25 +9747,20 @@ class SwiftLibrary { } late final __objc_msgSend_334Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange, + )>>('objc_msgSend'); + late final __objc_msgSend_334 = __objc_msgSend_334Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, _NSRange, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_334 = - __objc_msgSend_334Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - _NSRange, - ) - >(); + )>(); int _objc_msgSend_335( ffi.Pointer obj, @@ -11526,23 +9771,18 @@ class SwiftLibrary { } late final __objc_msgSend_335Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_335 = __objc_msgSend_335Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_335 = - __objc_msgSend_335Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_compare_options_1 = objc.registerName("compare:options:"); int _objc_msgSend_336( @@ -11555,25 +9795,20 @@ class SwiftLibrary { } late final __objc_msgSend_336Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + )>>('objc_msgSend'); + late final __objc_msgSend_336 = __objc_msgSend_336Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_336 = - __objc_msgSend_336Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_compare_options_range_1 = objc.registerName( "compare:options:range:", @@ -11589,27 +9824,22 @@ class SwiftLibrary { } late final __objc_msgSend_337Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + _NSRange, + )>>('objc_msgSend'); + late final __objc_msgSend_337 = __objc_msgSend_337Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, _NSRange, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_337 = - __objc_msgSend_337Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - _NSRange, - ) - >(); + )>(); late final _sel_compare_options_range_locale_1 = objc.registerName( "compare:options:range:locale:", @@ -11633,29 +9863,24 @@ class SwiftLibrary { } late final __objc_msgSend_338Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + _NSRange, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_338 = __objc_msgSend_338Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, _NSRange, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_338 = - __objc_msgSend_338Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - _NSRange, - ffi.Pointer, - ) - >(); + )>(); late final _sel_caseInsensitiveCompare_1 = objc.registerName( "caseInsensitiveCompare:", @@ -11683,25 +9908,20 @@ class SwiftLibrary { } late final __objc_msgSend_339Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + )>>('objc_msgSend'); + late final __objc_msgSend_339 = __objc_msgSend_339Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_339 = - __objc_msgSend_339Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_containsString_1 = objc.registerName("containsString:"); late final _sel_localizedCaseInsensitiveContainsString_1 = objc.registerName( @@ -11722,23 +9942,18 @@ class SwiftLibrary { } late final __objc_msgSend_340Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + _NSRange Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_340 = __objc_msgSend_340Ptr.asFunction< _NSRange Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_340 = - __objc_msgSend_340Ptr - .asFunction< - _NSRange Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); void _objc_msgSend_340_stret( ffi.Pointer<_NSRange> stret, @@ -11750,25 +9965,20 @@ class SwiftLibrary { } late final __objc_msgSend_340_stretPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer<_NSRange>, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend_stret'); + late final __objc_msgSend_340_stret = __objc_msgSend_340_stretPtr.asFunction< + void Function( ffi.Pointer<_NSRange>, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend_stret'); - late final __objc_msgSend_340_stret = - __objc_msgSend_340_stretPtr - .asFunction< - void Function( - ffi.Pointer<_NSRange>, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_rangeOfString_1 = objc.registerName("rangeOfString:"); late final _sel_rangeOfString_options_1 = objc.registerName( @@ -11784,25 +9994,20 @@ class SwiftLibrary { } late final __objc_msgSend_341Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + _NSRange Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + )>>('objc_msgSend'); + late final __objc_msgSend_341 = __objc_msgSend_341Ptr.asFunction< _NSRange Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_341 = - __objc_msgSend_341Ptr - .asFunction< - _NSRange Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); void _objc_msgSend_341_stret( ffi.Pointer<_NSRange> stret, @@ -11815,27 +10020,22 @@ class SwiftLibrary { } late final __objc_msgSend_341_stretPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer<_NSRange>, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + )>>('objc_msgSend_stret'); + late final __objc_msgSend_341_stret = __objc_msgSend_341_stretPtr.asFunction< + void Function( ffi.Pointer<_NSRange>, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend_stret'); - late final __objc_msgSend_341_stret = - __objc_msgSend_341_stretPtr - .asFunction< - void Function( - ffi.Pointer<_NSRange>, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_rangeOfString_options_range_1 = objc.registerName( "rangeOfString:options:range:", @@ -11857,27 +10057,22 @@ class SwiftLibrary { } late final __objc_msgSend_342Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + _NSRange Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + _NSRange, + )>>('objc_msgSend'); + late final __objc_msgSend_342 = __objc_msgSend_342Ptr.asFunction< _NSRange Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, _NSRange, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_342 = - __objc_msgSend_342Ptr - .asFunction< - _NSRange Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - _NSRange, - ) - >(); + )>(); void _objc_msgSend_342_stret( ffi.Pointer<_NSRange> stret, @@ -11898,29 +10093,24 @@ class SwiftLibrary { } late final __objc_msgSend_342_stretPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer<_NSRange>, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + _NSRange, + )>>('objc_msgSend_stret'); + late final __objc_msgSend_342_stret = __objc_msgSend_342_stretPtr.asFunction< + void Function( ffi.Pointer<_NSRange>, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, _NSRange, - ) - > - >('objc_msgSend_stret'); - late final __objc_msgSend_342_stret = - __objc_msgSend_342_stretPtr - .asFunction< - void Function( - ffi.Pointer<_NSRange>, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - _NSRange, - ) - >(); + )>(); late final _sel_rangeOfString_options_range_locale_1 = objc.registerName( "rangeOfString:options:range:locale:", @@ -11944,29 +10134,24 @@ class SwiftLibrary { } late final __objc_msgSend_343Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + _NSRange Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + _NSRange, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_343 = __objc_msgSend_343Ptr.asFunction< _NSRange Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, _NSRange, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_343 = - __objc_msgSend_343Ptr - .asFunction< - _NSRange Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - _NSRange, - ffi.Pointer, - ) - >(); + )>(); void _objc_msgSend_343_stret( ffi.Pointer<_NSRange> stret, @@ -11989,31 +10174,26 @@ class SwiftLibrary { } late final __objc_msgSend_343_stretPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer<_NSRange>, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + _NSRange, + ffi.Pointer, + )>>('objc_msgSend_stret'); + late final __objc_msgSend_343_stret = __objc_msgSend_343_stretPtr.asFunction< + void Function( ffi.Pointer<_NSRange>, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, _NSRange, ffi.Pointer, - ) - > - >('objc_msgSend_stret'); - late final __objc_msgSend_343_stret = - __objc_msgSend_343_stretPtr - .asFunction< - void Function( - ffi.Pointer<_NSRange>, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - _NSRange, - ffi.Pointer, - ) - >(); + )>(); late final _sel_rangeOfCharacterFromSet_1 = objc.registerName( "rangeOfCharacterFromSet:", @@ -12027,23 +10207,18 @@ class SwiftLibrary { } late final __objc_msgSend_344Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + _NSRange Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_344 = __objc_msgSend_344Ptr.asFunction< _NSRange Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_344 = - __objc_msgSend_344Ptr - .asFunction< - _NSRange Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); void _objc_msgSend_344_stret( ffi.Pointer<_NSRange> stret, @@ -12055,25 +10230,20 @@ class SwiftLibrary { } late final __objc_msgSend_344_stretPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer<_NSRange>, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend_stret'); + late final __objc_msgSend_344_stret = __objc_msgSend_344_stretPtr.asFunction< + void Function( ffi.Pointer<_NSRange>, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend_stret'); - late final __objc_msgSend_344_stret = - __objc_msgSend_344_stretPtr - .asFunction< - void Function( - ffi.Pointer<_NSRange>, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_rangeOfCharacterFromSet_options_1 = objc.registerName( "rangeOfCharacterFromSet:options:", @@ -12088,25 +10258,20 @@ class SwiftLibrary { } late final __objc_msgSend_345Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + _NSRange Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + )>>('objc_msgSend'); + late final __objc_msgSend_345 = __objc_msgSend_345Ptr.asFunction< _NSRange Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_345 = - __objc_msgSend_345Ptr - .asFunction< - _NSRange Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); void _objc_msgSend_345_stret( ffi.Pointer<_NSRange> stret, @@ -12119,27 +10284,22 @@ class SwiftLibrary { } late final __objc_msgSend_345_stretPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer<_NSRange>, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + )>>('objc_msgSend_stret'); + late final __objc_msgSend_345_stret = __objc_msgSend_345_stretPtr.asFunction< + void Function( ffi.Pointer<_NSRange>, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend_stret'); - late final __objc_msgSend_345_stret = - __objc_msgSend_345_stretPtr - .asFunction< - void Function( - ffi.Pointer<_NSRange>, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_rangeOfCharacterFromSet_options_range_1 = objc.registerName( "rangeOfCharacterFromSet:options:range:", @@ -12161,27 +10321,22 @@ class SwiftLibrary { } late final __objc_msgSend_346Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + _NSRange Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + _NSRange, + )>>('objc_msgSend'); + late final __objc_msgSend_346 = __objc_msgSend_346Ptr.asFunction< _NSRange Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, _NSRange, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_346 = - __objc_msgSend_346Ptr - .asFunction< - _NSRange Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - _NSRange, - ) - >(); + )>(); void _objc_msgSend_346_stret( ffi.Pointer<_NSRange> stret, @@ -12202,29 +10357,24 @@ class SwiftLibrary { } late final __objc_msgSend_346_stretPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer<_NSRange>, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + _NSRange, + )>>('objc_msgSend_stret'); + late final __objc_msgSend_346_stret = __objc_msgSend_346_stretPtr.asFunction< + void Function( ffi.Pointer<_NSRange>, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, _NSRange, - ) - > - >('objc_msgSend_stret'); - late final __objc_msgSend_346_stret = - __objc_msgSend_346_stretPtr - .asFunction< - void Function( - ffi.Pointer<_NSRange>, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - _NSRange, - ) - >(); + )>(); late final _sel_rangeOfComposedCharacterSequenceAtIndex_1 = objc.registerName( "rangeOfComposedCharacterSequenceAtIndex:", @@ -12238,23 +10388,18 @@ class SwiftLibrary { } late final __objc_msgSend_347Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + _NSRange Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + )>>('objc_msgSend'); + late final __objc_msgSend_347 = __objc_msgSend_347Ptr.asFunction< _NSRange Function( ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_347 = - __objc_msgSend_347Ptr - .asFunction< - _NSRange Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); void _objc_msgSend_347_stret( ffi.Pointer<_NSRange> stret, @@ -12266,28 +10411,23 @@ class SwiftLibrary { } late final __objc_msgSend_347_stretPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer<_NSRange>, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + )>>('objc_msgSend_stret'); + late final __objc_msgSend_347_stret = __objc_msgSend_347_stretPtr.asFunction< + void Function( ffi.Pointer<_NSRange>, ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, - ) - > - >('objc_msgSend_stret'); - late final __objc_msgSend_347_stret = - __objc_msgSend_347_stretPtr - .asFunction< - void Function( - ffi.Pointer<_NSRange>, - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); - late final _sel_rangeOfComposedCharacterSequencesForRange_1 = objc - .registerName("rangeOfComposedCharacterSequencesForRange:"); + late final _sel_rangeOfComposedCharacterSequencesForRange_1 = + objc.registerName("rangeOfComposedCharacterSequencesForRange:"); _NSRange _objc_msgSend_348( ffi.Pointer obj, ffi.Pointer sel, @@ -12297,23 +10437,18 @@ class SwiftLibrary { } late final __objc_msgSend_348Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + _NSRange Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + )>>('objc_msgSend'); + late final __objc_msgSend_348 = __objc_msgSend_348Ptr.asFunction< _NSRange Function( ffi.Pointer, ffi.Pointer, _NSRange, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_348 = - __objc_msgSend_348Ptr - .asFunction< - _NSRange Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ) - >(); + )>(); void _objc_msgSend_348_stret( ffi.Pointer<_NSRange> stret, @@ -12325,25 +10460,20 @@ class SwiftLibrary { } late final __objc_msgSend_348_stretPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer<_NSRange>, + ffi.Pointer, + ffi.Pointer, + _NSRange, + )>>('objc_msgSend_stret'); + late final __objc_msgSend_348_stret = __objc_msgSend_348_stretPtr.asFunction< + void Function( ffi.Pointer<_NSRange>, ffi.Pointer, ffi.Pointer, _NSRange, - ) - > - >('objc_msgSend_stret'); - late final __objc_msgSend_348_stret = - __objc_msgSend_348_stretPtr - .asFunction< - void Function( - ffi.Pointer<_NSRange>, - ffi.Pointer, - ffi.Pointer, - _NSRange, - ) - >(); + )>(); late final _sel_stringByAppendingString_1 = objc.registerName( "stringByAppendingString:", @@ -12375,23 +10505,18 @@ class SwiftLibrary { } late final __objc_msgSend_349Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_349 = __objc_msgSend_349Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_349 = - __objc_msgSend_349Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_lowercaseStringWithLocale_1 = objc.registerName( "lowercaseStringWithLocale:", @@ -12421,38 +10546,33 @@ class SwiftLibrary { } late final __objc_msgSend_350Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange, + )>>('objc_msgSend'); + late final __objc_msgSend_350 = __objc_msgSend_350Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, _NSRange, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_350 = - __objc_msgSend_350Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - _NSRange, - ) - >(); + )>(); late final _sel_lineRangeForRange_1 = objc.registerName("lineRangeForRange:"); - late final _sel_getParagraphStart_end_contentsEnd_forRange_1 = objc - .registerName("getParagraphStart:end:contentsEnd:forRange:"); + late final _sel_getParagraphStart_end_contentsEnd_forRange_1 = + objc.registerName("getParagraphStart:end:contentsEnd:forRange:"); late final _sel_paragraphRangeForRange_1 = objc.registerName( "paragraphRangeForRange:", ); - late final _sel_enumerateSubstringsInRange_options_usingBlock_1 = objc - .registerName("enumerateSubstringsInRange:options:usingBlock:"); + late final _sel_enumerateSubstringsInRange_options_usingBlock_1 = + objc.registerName("enumerateSubstringsInRange:options:usingBlock:"); void _objc_msgSend_351( ffi.Pointer obj, ffi.Pointer sel, @@ -12464,27 +10584,22 @@ class SwiftLibrary { } late final __objc_msgSend_351Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Int32, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_351 = __objc_msgSend_351Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, _NSRange, - ffi.Int32, + int, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_351 = - __objc_msgSend_351Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - int, - ffi.Pointer, - ) - >(); + )>(); late final _sel_enumerateLinesUsingBlock_1 = objc.registerName( "enumerateLinesUsingBlock:", @@ -12498,23 +10613,18 @@ class SwiftLibrary { } late final __objc_msgSend_352Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_352 = __objc_msgSend_352Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_352 = - __objc_msgSend_352Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_UTF8String1 = objc.registerName("UTF8String"); late final _sel_fastestEncoding1 = objc.registerName("fastestEncoding"); @@ -12532,25 +10642,20 @@ class SwiftLibrary { } late final __objc_msgSend_353Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Bool, + )>>('objc_msgSend'); + late final __objc_msgSend_353 = __objc_msgSend_353Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, - ffi.Bool, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_353 = - __objc_msgSend_353Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - bool, - ) - >(); + int, + bool, + )>(); late final _sel_dataUsingEncoding_1 = objc.registerName("dataUsingEncoding:"); ffi.Pointer _objc_msgSend_354( @@ -12562,23 +10667,18 @@ class SwiftLibrary { } late final __objc_msgSend_354Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + )>>('objc_msgSend'); + late final __objc_msgSend_354 = __objc_msgSend_354Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_354 = - __objc_msgSend_354Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_canBeConvertedToEncoding_1 = objc.registerName( "canBeConvertedToEncoding:", @@ -12600,32 +10700,27 @@ class SwiftLibrary { } late final __objc_msgSend_355Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.UnsignedLong, + )>>('objc_msgSend'); + late final __objc_msgSend_355 = __objc_msgSend_355Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, - ffi.UnsignedLong, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_355 = - __objc_msgSend_355Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - int, - ) - >(); + int, + int, + )>(); late final _sel_getBytes_maxLength_usedLength_encoding_options_range_remainingRange_1 = objc.registerName( - "getBytes:maxLength:usedLength:encoding:options:range:remainingRange:", - ); + "getBytes:maxLength:usedLength:encoding:options:range:remainingRange:", + ); bool _objc_msgSend_356( ffi.Pointer obj, ffi.Pointer sel, @@ -12651,35 +10746,30 @@ class SwiftLibrary { } late final __objc_msgSend_356Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Int32, + _NSRange, + ffi.Pointer<_NSRange>, + )>>('objc_msgSend'); + late final __objc_msgSend_356 = __objc_msgSend_356Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, + int, ffi.Pointer, - ffi.UnsignedLong, - ffi.Int32, + int, + int, _NSRange, ffi.Pointer<_NSRange>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_356 = - __objc_msgSend_356Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - int, - int, - _NSRange, - ffi.Pointer<_NSRange>, - ) - >(); + )>(); late final _sel_maximumLengthOfBytesUsingEncoding_1 = objc.registerName( "maximumLengthOfBytesUsingEncoding:", @@ -12698,21 +10788,16 @@ class SwiftLibrary { } late final __objc_msgSend_357Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_357 = __objc_msgSend_357Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_357 = - __objc_msgSend_357Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_localizedNameOfStringEncoding_1 = objc.registerName( "localizedNameOfStringEncoding:", @@ -12729,8 +10814,8 @@ class SwiftLibrary { late final _sel_decomposedStringWithCompatibilityMapping1 = objc.registerName( "decomposedStringWithCompatibilityMapping", ); - late final _sel_precomposedStringWithCompatibilityMapping1 = objc - .registerName("precomposedStringWithCompatibilityMapping"); + late final _sel_precomposedStringWithCompatibilityMapping1 = + objc.registerName("precomposedStringWithCompatibilityMapping"); late final _sel_componentsSeparatedByString_1 = objc.registerName( "componentsSeparatedByString:", ); @@ -12743,23 +10828,18 @@ class SwiftLibrary { } late final __objc_msgSend_358Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_358 = __objc_msgSend_358Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_358 = - __objc_msgSend_358Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_componentsSeparatedByCharactersInSet_1 = objc.registerName( "componentsSeparatedByCharactersInSet:", @@ -12773,23 +10853,18 @@ class SwiftLibrary { } late final __objc_msgSend_359Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_359 = __objc_msgSend_359Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_359 = - __objc_msgSend_359Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_stringByTrimmingCharactersInSet_1 = objc.registerName( "stringByTrimmingCharactersInSet:", @@ -12803,26 +10878,21 @@ class SwiftLibrary { } late final __objc_msgSend_360Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_360 = __objc_msgSend_360Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_360 = - __objc_msgSend_360Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); - late final _sel_stringByPaddingToLength_withString_startingAtIndex_1 = objc - .registerName("stringByPaddingToLength:withString:startingAtIndex:"); + late final _sel_stringByPaddingToLength_withString_startingAtIndex_1 = + objc.registerName("stringByPaddingToLength:withString:startingAtIndex:"); ffi.Pointer _objc_msgSend_361( ffi.Pointer obj, ffi.Pointer sel, @@ -12834,27 +10904,22 @@ class SwiftLibrary { } late final __objc_msgSend_361Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer, + ffi.UnsignedLong, + )>>('objc_msgSend'); + late final __objc_msgSend_361 = __objc_msgSend_361Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, + int, ffi.Pointer, - ffi.UnsignedLong, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_361 = - __objc_msgSend_361Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_stringByFoldingWithOptions_locale_1 = objc.registerName( "stringByFoldingWithOptions:locale:", @@ -12869,30 +10934,25 @@ class SwiftLibrary { } late final __objc_msgSend_362Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_362 = __objc_msgSend_362Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_362 = - __objc_msgSend_362Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ) - >(); + )>(); late final _sel_stringByReplacingOccurrencesOfString_withString_options_range_1 = objc.registerName( - "stringByReplacingOccurrencesOfString:withString:options:range:", - ); + "stringByReplacingOccurrencesOfString:withString:options:range:", + ); ffi.Pointer _objc_msgSend_363( ffi.Pointer obj, ffi.Pointer sel, @@ -12912,32 +10972,27 @@ class SwiftLibrary { } late final __objc_msgSend_363Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + _NSRange, + )>>('objc_msgSend'); + late final __objc_msgSend_363 = __objc_msgSend_363Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, _NSRange, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_363 = - __objc_msgSend_363Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - _NSRange, - ) - >(); + )>(); - late final _sel_stringByReplacingOccurrencesOfString_withString_1 = objc - .registerName("stringByReplacingOccurrencesOfString:withString:"); + late final _sel_stringByReplacingOccurrencesOfString_withString_1 = + objc.registerName("stringByReplacingOccurrencesOfString:withString:"); ffi.Pointer _objc_msgSend_364( ffi.Pointer obj, ffi.Pointer sel, @@ -12948,28 +11003,23 @@ class SwiftLibrary { } late final __objc_msgSend_364Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_364 = __objc_msgSend_364Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_364 = - __objc_msgSend_364Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); - late final _sel_stringByReplacingCharactersInRange_withString_1 = objc - .registerName("stringByReplacingCharactersInRange:withString:"); + late final _sel_stringByReplacingCharactersInRange_withString_1 = + objc.registerName("stringByReplacingCharactersInRange:withString:"); ffi.Pointer _objc_msgSend_365( ffi.Pointer obj, ffi.Pointer sel, @@ -12980,25 +11030,20 @@ class SwiftLibrary { } late final __objc_msgSend_365Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_365 = __objc_msgSend_365Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, _NSRange, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_365 = - __objc_msgSend_365Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - ) - >(); + )>(); late final _sel_stringByApplyingTransform_reverse_1 = objc.registerName( "stringByApplyingTransform:reverse:", @@ -13013,25 +11058,20 @@ class SwiftLibrary { } late final __objc_msgSend_366Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + )>>('objc_msgSend'); + late final __objc_msgSend_366 = __objc_msgSend_366Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Bool, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_366 = - __objc_msgSend_366Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - ) - >(); + bool, + )>(); late final _sel_writeToURL_atomically_encoding_error_1 = objc.registerName( "writeToURL:atomically:encoding:error:", @@ -13048,29 +11088,24 @@ class SwiftLibrary { } late final __objc_msgSend_367Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.UnsignedLong, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_367 = __objc_msgSend_367Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Bool, - ffi.UnsignedLong, + bool, + int, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_367 = - __objc_msgSend_367Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - int, - ffi.Pointer>, - ) - >(); + )>(); late final _sel_writeToFile_atomically_encoding_error_1 = objc.registerName( "writeToFile:atomically:encoding:error:", @@ -13087,33 +11122,28 @@ class SwiftLibrary { } late final __objc_msgSend_368Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.UnsignedLong, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_368 = __objc_msgSend_368Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Bool, - ffi.UnsignedLong, + bool, + int, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_368 = - __objc_msgSend_368Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - int, - ffi.Pointer>, - ) - >(); + )>(); late final _sel_hash1 = objc.registerName("hash"); - late final _sel_initWithCharactersNoCopy_length_freeWhenDone_1 = objc - .registerName("initWithCharactersNoCopy:length:freeWhenDone:"); + late final _sel_initWithCharactersNoCopy_length_freeWhenDone_1 = + objc.registerName("initWithCharactersNoCopy:length:freeWhenDone:"); instancetype _objc_msgSend_369( ffi.Pointer obj, ffi.Pointer sel, @@ -13125,30 +11155,25 @@ class SwiftLibrary { } late final __objc_msgSend_369Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Bool, + )>>('objc_msgSend'); + late final __objc_msgSend_369 = __objc_msgSend_369Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, - ffi.Bool, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_369 = - __objc_msgSend_369Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - bool, - ) - >(); + int, + bool, + )>(); - late final _sel_initWithCharactersNoCopy_length_deallocator_1 = objc - .registerName("initWithCharactersNoCopy:length:deallocator:"); + late final _sel_initWithCharactersNoCopy_length_deallocator_1 = + objc.registerName("initWithCharactersNoCopy:length:deallocator:"); instancetype _objc_msgSend_370( ffi.Pointer obj, ffi.Pointer sel, @@ -13160,27 +11185,22 @@ class SwiftLibrary { } late final __objc_msgSend_370Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_370 = __objc_msgSend_370Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, + int, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_370 = - __objc_msgSend_370Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ) - >(); + )>(); late final _sel_initWithCharacters_length_1 = objc.registerName( "initWithCharacters:length:", @@ -13195,25 +11215,20 @@ class SwiftLibrary { } late final __objc_msgSend_371Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + )>>('objc_msgSend'); + late final __objc_msgSend_371 = __objc_msgSend_371Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_371 = - __objc_msgSend_371Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_initWithUTF8String_1 = objc.registerName( "initWithUTF8String:", @@ -13227,23 +11242,18 @@ class SwiftLibrary { } late final __objc_msgSend_372Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_372 = __objc_msgSend_372Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_372 = - __objc_msgSend_372Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_initWithFormat_1 = objc.registerName("initWithFormat:"); late final _sel_initWithFormat_arguments_1 = objc.registerName( @@ -13259,25 +11269,20 @@ class SwiftLibrary { } late final __objc_msgSend_373Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<__va_list_tag>, + )>>('objc_msgSend'); + late final __objc_msgSend_373 = __objc_msgSend_373Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer<__va_list_tag>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_373 = - __objc_msgSend_373Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<__va_list_tag>, - ) - >(); + )>(); late final _sel_initWithFormat_locale_1 = objc.registerName( "initWithFormat:locale:", @@ -13292,25 +11297,20 @@ class SwiftLibrary { } late final __objc_msgSend_374Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_374 = __objc_msgSend_374Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_374 = - __objc_msgSend_374Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_initWithFormat_locale_arguments_1 = objc.registerName( "initWithFormat:locale:arguments:", @@ -13326,30 +11326,25 @@ class SwiftLibrary { } late final __objc_msgSend_375Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<__va_list_tag>, + )>>('objc_msgSend'); + late final __objc_msgSend_375 = __objc_msgSend_375Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer<__va_list_tag>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_375 = - __objc_msgSend_375Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<__va_list_tag>, - ) - >(); + )>(); - late final _sel_initWithValidatedFormat_validFormatSpecifiers_error_1 = objc - .registerName("initWithValidatedFormat:validFormatSpecifiers:error:"); + late final _sel_initWithValidatedFormat_validFormatSpecifiers_error_1 = + objc.registerName("initWithValidatedFormat:validFormatSpecifiers:error:"); instancetype _objc_msgSend_376( ffi.Pointer obj, ffi.Pointer sel, @@ -13361,32 +11356,27 @@ class SwiftLibrary { } late final __objc_msgSend_376Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_376 = __objc_msgSend_376Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_376 = - __objc_msgSend_376Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ) - >(); + )>(); late final _sel_initWithValidatedFormat_validFormatSpecifiers_locale_error_1 = objc.registerName( - "initWithValidatedFormat:validFormatSpecifiers:locale:error:", - ); + "initWithValidatedFormat:validFormatSpecifiers:locale:error:", + ); instancetype _objc_msgSend_377( ffi.Pointer obj, ffi.Pointer sel, @@ -13406,7 +11396,16 @@ class SwiftLibrary { } late final __objc_msgSend_377Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_377 = __objc_msgSend_377Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, @@ -13414,26 +11413,12 @@ class SwiftLibrary { ffi.Pointer, ffi.Pointer, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_377 = - __objc_msgSend_377Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ) - >(); + )>(); late final _sel_initWithValidatedFormat_validFormatSpecifiers_arguments_error_1 = objc.registerName( - "initWithValidatedFormat:validFormatSpecifiers:arguments:error:", - ); + "initWithValidatedFormat:validFormatSpecifiers:arguments:error:", + ); instancetype _objc_msgSend_378( ffi.Pointer obj, ffi.Pointer sel, @@ -13453,7 +11438,16 @@ class SwiftLibrary { } late final __objc_msgSend_378Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<__va_list_tag>, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_378 = __objc_msgSend_378Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, @@ -13461,26 +11455,12 @@ class SwiftLibrary { ffi.Pointer, ffi.Pointer<__va_list_tag>, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_378 = - __objc_msgSend_378Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<__va_list_tag>, - ffi.Pointer>, - ) - >(); + )>(); late final _sel_initWithValidatedFormat_validFormatSpecifiers_locale_arguments_error_1 = objc.registerName( - "initWithValidatedFormat:validFormatSpecifiers:locale:arguments:error:", - ); + "initWithValidatedFormat:validFormatSpecifiers:locale:arguments:error:", + ); instancetype _objc_msgSend_379( ffi.Pointer obj, ffi.Pointer sel, @@ -13502,7 +11482,17 @@ class SwiftLibrary { } late final __objc_msgSend_379Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<__va_list_tag>, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_379 = __objc_msgSend_379Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, @@ -13511,22 +11501,7 @@ class SwiftLibrary { ffi.Pointer, ffi.Pointer<__va_list_tag>, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_379 = - __objc_msgSend_379Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<__va_list_tag>, - ffi.Pointer>, - ) - >(); + )>(); late final _sel_initWithData_encoding_1 = objc.registerName( "initWithData:encoding:", @@ -13541,25 +11516,20 @@ class SwiftLibrary { } late final __objc_msgSend_380Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + )>>('objc_msgSend'); + late final __objc_msgSend_380 = __objc_msgSend_380Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_380 = - __objc_msgSend_380Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_initWithBytes_length_encoding_1 = objc.registerName( "initWithBytes:length:encoding:", @@ -13575,30 +11545,25 @@ class SwiftLibrary { } late final __objc_msgSend_381Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.UnsignedLong, + )>>('objc_msgSend'); + late final __objc_msgSend_381 = __objc_msgSend_381Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, - ffi.UnsignedLong, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_381 = - __objc_msgSend_381Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - int, - ) - >(); - - late final _sel_initWithBytesNoCopy_length_encoding_freeWhenDone_1 = objc - .registerName("initWithBytesNoCopy:length:encoding:freeWhenDone:"); + int, + int, + )>(); + + late final _sel_initWithBytesNoCopy_length_encoding_freeWhenDone_1 = + objc.registerName("initWithBytesNoCopy:length:encoding:freeWhenDone:"); instancetype _objc_msgSend_382( ffi.Pointer obj, ffi.Pointer sel, @@ -13611,32 +11576,27 @@ class SwiftLibrary { } late final __objc_msgSend_382Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.UnsignedLong, + ffi.Bool, + )>>('objc_msgSend'); + late final __objc_msgSend_382 = __objc_msgSend_382Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, - ffi.UnsignedLong, - ffi.Bool, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_382 = - __objc_msgSend_382Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - int, - bool, - ) - >(); + int, + int, + bool, + )>(); - late final _sel_initWithBytesNoCopy_length_encoding_deallocator_1 = objc - .registerName("initWithBytesNoCopy:length:encoding:deallocator:"); + late final _sel_initWithBytesNoCopy_length_encoding_deallocator_1 = + objc.registerName("initWithBytesNoCopy:length:encoding:deallocator:"); instancetype _objc_msgSend_383( ffi.Pointer obj, ffi.Pointer sel, @@ -13649,29 +11609,24 @@ class SwiftLibrary { } late final __objc_msgSend_383Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.UnsignedLong, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_383 = __objc_msgSend_383Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, - ffi.UnsignedLong, + int, + int, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_383 = - __objc_msgSend_383Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - int, - ffi.Pointer, - ) - >(); + )>(); late final _sel_string1 = objc.registerName("string"); late final _sel_stringWithString_1 = objc.registerName("stringWithString:"); @@ -13689,8 +11644,8 @@ class SwiftLibrary { .registerName("stringWithValidatedFormat:validFormatSpecifiers:error:"); late final _sel_localizedStringWithValidatedFormat_validFormatSpecifiers_error_1 = objc.registerName( - "localizedStringWithValidatedFormat:validFormatSpecifiers:error:", - ); + "localizedStringWithValidatedFormat:validFormatSpecifiers:error:", + ); late final _sel_initWithCString_encoding_1 = objc.registerName( "initWithCString:encoding:", ); @@ -13704,25 +11659,20 @@ class SwiftLibrary { } late final __objc_msgSend_384Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + )>>('objc_msgSend'); + late final __objc_msgSend_384 = __objc_msgSend_384Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_384 = - __objc_msgSend_384Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_stringWithCString_encoding_1 = objc.registerName( "stringWithCString:encoding:", @@ -13741,27 +11691,22 @@ class SwiftLibrary { } late final __objc_msgSend_385Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_385 = __objc_msgSend_385Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, + int, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_385 = - __objc_msgSend_385Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>, - ) - >(); + )>(); late final _sel_initWithContentsOfFile_encoding_error_1 = objc.registerName( "initWithContentsOfFile:encoding:error:", @@ -13777,27 +11722,22 @@ class SwiftLibrary { } late final __objc_msgSend_386Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_386 = __objc_msgSend_386Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, + int, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_386 = - __objc_msgSend_386Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>, - ) - >(); + )>(); late final _sel_stringWithContentsOfURL_encoding_error_1 = objc.registerName( "stringWithContentsOfURL:encoding:error:", @@ -13805,8 +11745,8 @@ class SwiftLibrary { late final _sel_stringWithContentsOfFile_encoding_error_1 = objc.registerName( "stringWithContentsOfFile:encoding:error:", ); - late final _sel_initWithContentsOfURL_usedEncoding_error_1 = objc - .registerName("initWithContentsOfURL:usedEncoding:error:"); + late final _sel_initWithContentsOfURL_usedEncoding_error_1 = + objc.registerName("initWithContentsOfURL:usedEncoding:error:"); instancetype _objc_msgSend_387( ffi.Pointer obj, ffi.Pointer sel, @@ -13818,30 +11758,25 @@ class SwiftLibrary { } late final __objc_msgSend_387Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_387 = __objc_msgSend_387Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_387 = - __objc_msgSend_387Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ) - >(); + )>(); - late final _sel_initWithContentsOfFile_usedEncoding_error_1 = objc - .registerName("initWithContentsOfFile:usedEncoding:error:"); + late final _sel_initWithContentsOfFile_usedEncoding_error_1 = + objc.registerName("initWithContentsOfFile:usedEncoding:error:"); instancetype _objc_msgSend_388( ffi.Pointer obj, ffi.Pointer sel, @@ -13853,36 +11788,31 @@ class SwiftLibrary { } late final __objc_msgSend_388Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_388 = __objc_msgSend_388Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_388 = - __objc_msgSend_388Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ) - >(); - - late final _sel_stringWithContentsOfURL_usedEncoding_error_1 = objc - .registerName("stringWithContentsOfURL:usedEncoding:error:"); - late final _sel_stringWithContentsOfFile_usedEncoding_error_1 = objc - .registerName("stringWithContentsOfFile:usedEncoding:error:"); + )>(); + + late final _sel_stringWithContentsOfURL_usedEncoding_error_1 = + objc.registerName("stringWithContentsOfURL:usedEncoding:error:"); + late final _sel_stringWithContentsOfFile_usedEncoding_error_1 = + objc.registerName("stringWithContentsOfFile:usedEncoding:error:"); late final _sel_stringEncodingForData_encodingOptions_convertedString_usedLossyConversion_1 = objc.registerName( - "stringEncodingForData:encodingOptions:convertedString:usedLossyConversion:", - ); + "stringEncodingForData:encodingOptions:convertedString:usedLossyConversion:", + ); int _objc_msgSend_389( ffi.Pointer obj, ffi.Pointer sel, @@ -13902,29 +11832,24 @@ class SwiftLibrary { } late final __objc_msgSend_389Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedLong Function( + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_389 = __objc_msgSend_389Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer>, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_389 = - __objc_msgSend_389Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer, - ) - >(); + )>(); late final _sel_propertyList1 = objc.registerName("propertyList"); late final _sel_propertyListFromStringsFileFormat1 = objc.registerName( @@ -13938,21 +11863,16 @@ class SwiftLibrary { } late final __objc_msgSend_390Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_390 = __objc_msgSend_390Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_390 = - __objc_msgSend_390Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_cString1 = objc.registerName("cString"); late final _sel_lossyCString1 = objc.registerName("lossyCString"); @@ -13971,28 +11891,23 @@ class SwiftLibrary { } late final __objc_msgSend_391Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + )>>('objc_msgSend'); + late final __objc_msgSend_391 = __objc_msgSend_391Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_391 = - __objc_msgSend_391Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); - - late final _sel_getCString_maxLength_range_remainingRange_1 = objc - .registerName("getCString:maxLength:range:remainingRange:"); + int, + )>(); + + late final _sel_getCString_maxLength_range_remainingRange_1 = + objc.registerName("getCString:maxLength:range:remainingRange:"); void _objc_msgSend_392( ffi.Pointer obj, ffi.Pointer sel, @@ -14012,29 +11927,24 @@ class SwiftLibrary { } late final __objc_msgSend_392Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + _NSRange, + ffi.Pointer<_NSRange>, + )>>('objc_msgSend'); + late final __objc_msgSend_392 = __objc_msgSend_392Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, + int, _NSRange, ffi.Pointer<_NSRange>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_392 = - __objc_msgSend_392Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - _NSRange, - ffi.Pointer<_NSRange>, - ) - >(); + )>(); late final _sel_stringWithContentsOfFile_1 = objc.registerName( "stringWithContentsOfFile:", @@ -14042,8 +11952,8 @@ class SwiftLibrary { late final _sel_stringWithContentsOfURL_1 = objc.registerName( "stringWithContentsOfURL:", ); - late final _sel_initWithCStringNoCopy_length_freeWhenDone_1 = objc - .registerName("initWithCStringNoCopy:length:freeWhenDone:"); + late final _sel_initWithCStringNoCopy_length_freeWhenDone_1 = + objc.registerName("initWithCStringNoCopy:length:freeWhenDone:"); ffi.Pointer _objc_msgSend_393( ffi.Pointer obj, ffi.Pointer sel, @@ -14055,27 +11965,22 @@ class SwiftLibrary { } late final __objc_msgSend_393Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Bool, + )>>('objc_msgSend'); + late final __objc_msgSend_393 = __objc_msgSend_393Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, - ffi.Bool, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_393 = - __objc_msgSend_393Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - bool, - ) - >(); + int, + bool, + )>(); late final _sel_initWithCString_length_1 = objc.registerName( "initWithCString:length:", @@ -14095,23 +12000,18 @@ class SwiftLibrary { } late final __objc_msgSend_394Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_394 = __objc_msgSend_394Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_394 = - __objc_msgSend_394Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_variantFittingPresentationWidth_1 = objc.registerName( "variantFittingPresentationWidth:", @@ -14125,23 +12025,18 @@ class SwiftLibrary { } late final __objc_msgSend_395Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Long, + )>>('objc_msgSend'); + late final __objc_msgSend_395 = __objc_msgSend_395Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.Long, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_395 = - __objc_msgSend_395Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_pathWithComponents_1 = objc.registerName( "pathWithComponents:", @@ -14155,23 +12050,18 @@ class SwiftLibrary { } late final __objc_msgSend_396Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_396 = __objc_msgSend_396Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_396 = - __objc_msgSend_396Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_isAbsolutePath1 = objc.registerName("isAbsolutePath"); late final _sel_stringByDeletingLastPathComponent1 = objc.registerName( @@ -14203,8 +12093,8 @@ class SwiftLibrary { ); late final _sel_completePathIntoString_caseSensitive_matchesIntoArray_filterTypes_1 = objc.registerName( - "completePathIntoString:caseSensitive:matchesIntoArray:filterTypes:", - ); + "completePathIntoString:caseSensitive:matchesIntoArray:filterTypes:", + ); int _objc_msgSend_397( ffi.Pointer obj, ffi.Pointer sel, @@ -14224,32 +12114,27 @@ class SwiftLibrary { } late final __objc_msgSend_397Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedLong Function( + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Bool, + ffi.Pointer>, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_397 = __objc_msgSend_397Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, ffi.Pointer>, - ffi.Bool, + bool, ffi.Pointer>, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_397 = - __objc_msgSend_397Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - bool, - ffi.Pointer>, - ffi.Pointer, - ) - >(); + )>(); - late final _sel_stringByAddingPercentEncodingWithAllowedCharacters_1 = objc - .registerName("stringByAddingPercentEncodingWithAllowedCharacters:"); + late final _sel_stringByAddingPercentEncodingWithAllowedCharacters_1 = + objc.registerName("stringByAddingPercentEncodingWithAllowedCharacters:"); ffi.Pointer _objc_msgSend_398( ffi.Pointer obj, ffi.Pointer sel, @@ -14259,29 +12144,24 @@ class SwiftLibrary { } late final __objc_msgSend_398Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_398 = __objc_msgSend_398Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_398 = - __objc_msgSend_398Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_stringByRemovingPercentEncoding1 = objc.registerName( "stringByRemovingPercentEncoding", ); - late final _sel_stringByAddingPercentEscapesUsingEncoding_1 = objc - .registerName("stringByAddingPercentEscapesUsingEncoding:"); + late final _sel_stringByAddingPercentEscapesUsingEncoding_1 = + objc.registerName("stringByAddingPercentEscapesUsingEncoding:"); ffi.Pointer _objc_msgSend_399( ffi.Pointer obj, ffi.Pointer sel, @@ -14291,26 +12171,21 @@ class SwiftLibrary { } late final __objc_msgSend_399Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + )>>('objc_msgSend'); + late final __objc_msgSend_399 = __objc_msgSend_399Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_399 = - __objc_msgSend_399Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); - late final _sel_stringByReplacingPercentEscapesUsingEncoding_1 = objc - .registerName("stringByReplacingPercentEscapesUsingEncoding:"); + late final _sel_stringByReplacingPercentEscapesUsingEncoding_1 = + objc.registerName("stringByReplacingPercentEscapesUsingEncoding:"); late final _class_NSOrthography1 = objc.getClass("NSOrthography"); late final _sel_dominantScript1 = objc.registerName("dominantScript"); late final _sel_languageMap1 = objc.registerName("languageMap"); @@ -14327,25 +12202,20 @@ class SwiftLibrary { } late final __objc_msgSend_400Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_400 = __objc_msgSend_400Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_400 = - __objc_msgSend_400Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_languagesForScript_1 = objc.registerName( "languagesForScript:", @@ -14359,12 +12229,12 @@ class SwiftLibrary { late final _sel_defaultOrthographyForLanguage_1 = objc.registerName( "defaultOrthographyForLanguage:", ); - late final _sel_orthographyWithDominantScript_languageMap_1 = objc - .registerName("orthographyWithDominantScript:languageMap:"); + late final _sel_orthographyWithDominantScript_languageMap_1 = + objc.registerName("orthographyWithDominantScript:languageMap:"); late final _sel_linguisticTagsInRange_scheme_options_orthography_tokenRanges_1 = objc.registerName( - "linguisticTagsInRange:scheme:options:orthography:tokenRanges:", - ); + "linguisticTagsInRange:scheme:options:orthography:tokenRanges:", + ); ffi.Pointer _objc_msgSend_401( ffi.Pointer obj, ffi.Pointer sel, @@ -14386,36 +12256,31 @@ class SwiftLibrary { } late final __objc_msgSend_401Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_401 = __objc_msgSend_401Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, _NSRange, ffi.Pointer, - ffi.Int32, + int, ffi.Pointer, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_401 = - __objc_msgSend_401Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - int, - ffi.Pointer, - ffi.Pointer>, - ) - >(); + )>(); late final _sel_enumerateLinguisticTagsInRange_scheme_options_orthography_usingBlock_1 = objc.registerName( - "enumerateLinguisticTagsInRange:scheme:options:orthography:usingBlock:", - ); + "enumerateLinguisticTagsInRange:scheme:options:orthography:usingBlock:", + ); void _objc_msgSend_402( ffi.Pointer obj, ffi.Pointer sel, @@ -14437,31 +12302,26 @@ class SwiftLibrary { } late final __objc_msgSend_402Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_402 = __objc_msgSend_402Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, _NSRange, ffi.Pointer, - ffi.Int32, + int, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_402 = - __objc_msgSend_402Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - int, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_anyObject1 = objc.registerName("anyObject"); late final _sel_intersectsSet_1 = objc.registerName("intersectsSet:"); @@ -14474,23 +12334,18 @@ class SwiftLibrary { } late final __objc_msgSend_403Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_403 = __objc_msgSend_403Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_403 = - __objc_msgSend_403Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_isEqualToSet_1 = objc.registerName("isEqualToSet:"); late final _sel_isSubsetOfSet_1 = objc.registerName("isSubsetOfSet:"); @@ -14504,23 +12359,18 @@ class SwiftLibrary { } late final __objc_msgSend_404Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_404 = __objc_msgSend_404Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_404 = - __objc_msgSend_404Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_setByAddingObjectsFromSet_1 = objc.registerName( "setByAddingObjectsFromSet:", @@ -14534,23 +12384,18 @@ class SwiftLibrary { } late final __objc_msgSend_405Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_405 = __objc_msgSend_405Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_405 = - __objc_msgSend_405Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_setByAddingObjectsFromArray_1 = objc.registerName( "setByAddingObjectsFromArray:", @@ -14564,23 +12409,18 @@ class SwiftLibrary { } late final __objc_msgSend_406Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_406 = __objc_msgSend_406Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_406 = - __objc_msgSend_406Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); void _objc_msgSend_407( ffi.Pointer obj, @@ -14591,23 +12431,18 @@ class SwiftLibrary { } late final __objc_msgSend_407Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_407 = __objc_msgSend_407Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_407 = - __objc_msgSend_407Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); void _objc_msgSend_408( ffi.Pointer obj, @@ -14619,25 +12454,20 @@ class SwiftLibrary { } late final __objc_msgSend_408Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_408 = __objc_msgSend_408Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_408 = - __objc_msgSend_408Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ) - >(); + )>(); late final _sel_objectsPassingTest_1 = objc.registerName( "objectsPassingTest:", @@ -14651,23 +12481,18 @@ class SwiftLibrary { } late final __objc_msgSend_409Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_409 = __objc_msgSend_409Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_409 = - __objc_msgSend_409Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_objectsWithOptions_passingTest_1 = objc.registerName( "objectsWithOptions:passingTest:", @@ -14682,25 +12507,20 @@ class SwiftLibrary { } late final __objc_msgSend_410Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_410 = __objc_msgSend_410Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_410 = - __objc_msgSend_410Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ) - >(); + )>(); late final _sel_set1 = objc.registerName("set"); late final _sel_setWithObject_1 = objc.registerName("setWithObject:"); @@ -14718,23 +12538,18 @@ class SwiftLibrary { } late final __objc_msgSend_411Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_411 = __objc_msgSend_411Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_411 = - __objc_msgSend_411Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_setWithArray_1 = objc.registerName("setWithArray:"); late final _sel_initWithSet_1 = objc.registerName("initWithSet:"); @@ -14751,25 +12566,20 @@ class SwiftLibrary { } late final __objc_msgSend_412Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + )>>('objc_msgSend'); + late final __objc_msgSend_412 = __objc_msgSend_412Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Bool, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_412 = - __objc_msgSend_412Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - ) - >(); + bool, + )>(); late final _sel_filteredSetUsingPredicate_1 = objc.registerName( "filteredSetUsingPredicate:", @@ -14783,23 +12593,18 @@ class SwiftLibrary { } late final __objc_msgSend_413Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_413 = __objc_msgSend_413Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_413 = - __objc_msgSend_413Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_invocationWithMethodSignature_1 = objc.registerName( "invocationWithMethodSignature:", @@ -14813,23 +12618,18 @@ class SwiftLibrary { } late final __objc_msgSend_414Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_414 = __objc_msgSend_414Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_414 = - __objc_msgSend_414Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_methodSignature1 = objc.registerName("methodSignature"); ffi.Pointer _objc_msgSend_415( @@ -14840,21 +12640,16 @@ class SwiftLibrary { } late final __objc_msgSend_415Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_415 = __objc_msgSend_415Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_415 = - __objc_msgSend_415Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_retainArguments1 = objc.registerName("retainArguments"); late final _sel_argumentsRetained1 = objc.registerName("argumentsRetained"); @@ -14869,23 +12664,18 @@ class SwiftLibrary { } late final __objc_msgSend_416Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_416 = __objc_msgSend_416Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_416 = - __objc_msgSend_416Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_selector1 = objc.registerName("selector"); ffi.Pointer _objc_msgSend_417( @@ -14896,21 +12686,16 @@ class SwiftLibrary { } late final __objc_msgSend_417Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_417 = __objc_msgSend_417Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_417 = - __objc_msgSend_417Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_setSelector_1 = objc.registerName("setSelector:"); void _objc_msgSend_418( @@ -14922,23 +12707,18 @@ class SwiftLibrary { } late final __objc_msgSend_418Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_418 = __objc_msgSend_418Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_418 = - __objc_msgSend_418Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_getReturnValue_1 = objc.registerName("getReturnValue:"); late final _sel_setReturnValue_1 = objc.registerName("setReturnValue:"); @@ -14955,25 +12735,20 @@ class SwiftLibrary { } late final __objc_msgSend_419Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Long, + )>>('objc_msgSend'); + late final __objc_msgSend_419 = __objc_msgSend_419Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Long, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_419 = - __objc_msgSend_419Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_setArgument_atIndex_1 = objc.registerName( "setArgument:atIndex:", @@ -14990,23 +12765,18 @@ class SwiftLibrary { } late final __objc_msgSend_420Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_420 = __objc_msgSend_420Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_420 = - __objc_msgSend_420Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ) - >(); + )>(); late final _sel_forwardInvocation_1 = objc.registerName("forwardInvocation:"); void _objc_msgSend_421( @@ -15018,23 +12788,18 @@ class SwiftLibrary { } late final __objc_msgSend_421Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_421 = __objc_msgSend_421Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_421 = - __objc_msgSend_421Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_methodSignatureForSelector_1 = objc.registerName( "methodSignatureForSelector:", @@ -15048,23 +12813,18 @@ class SwiftLibrary { } late final __objc_msgSend_422Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_422 = __objc_msgSend_422Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_422 = - __objc_msgSend_422Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_instanceMethodSignatureForSelector_1 = objc.registerName( "instanceMethodSignatureForSelector:", @@ -15096,23 +12856,18 @@ class SwiftLibrary { } late final __objc_msgSend_423Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Long, + )>>('objc_msgSend'); + late final __objc_msgSend_423 = __objc_msgSend_423Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, - ffi.Long, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_423 = - __objc_msgSend_423Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_classForCoder1 = objc.registerName("classForCoder"); late final _sel_replacementObjectForCoder_1 = objc.registerName( @@ -15127,8 +12882,8 @@ class SwiftLibrary { ); late final _sel_attemptRecoveryFromError_optionIndex_delegate_didRecoverSelector_contextInfo_1 = objc.registerName( - "attemptRecoveryFromError:optionIndex:delegate:didRecoverSelector:contextInfo:", - ); + "attemptRecoveryFromError:optionIndex:delegate:didRecoverSelector:contextInfo:", + ); void _objc_msgSend_424( ffi.Pointer obj, ffi.Pointer sel, @@ -15150,31 +12905,26 @@ class SwiftLibrary { } late final __objc_msgSend_424Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_424 = __objc_msgSend_424Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, + int, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_424 = - __objc_msgSend_424Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_attemptRecoveryFromError_optionIndex_1 = objc.registerName( "attemptRecoveryFromError:optionIndex:", @@ -15189,28 +12939,23 @@ class SwiftLibrary { } late final __objc_msgSend_425Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + )>>('objc_msgSend'); + late final __objc_msgSend_425 = __objc_msgSend_425Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_425 = - __objc_msgSend_425Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); - late final _sel_performSelector_withObject_afterDelay_inModes_1 = objc - .registerName("performSelector:withObject:afterDelay:inModes:"); + late final _sel_performSelector_withObject_afterDelay_inModes_1 = + objc.registerName("performSelector:withObject:afterDelay:inModes:"); void _objc_msgSend_426( ffi.Pointer obj, ffi.Pointer sel, @@ -15223,29 +12968,24 @@ class SwiftLibrary { } late final __objc_msgSend_426Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Double, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_426 = __objc_msgSend_426Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Double, + double, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_426 = - __objc_msgSend_426Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - double, - ffi.Pointer, - ) - >(); + )>(); late final _sel_performSelector_withObject_afterDelay_1 = objc.registerName( "performSelector:withObject:afterDelay:", @@ -15261,27 +13001,22 @@ class SwiftLibrary { } late final __objc_msgSend_427Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Double, + )>>('objc_msgSend'); + late final __objc_msgSend_427 = __objc_msgSend_427Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Double, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_427 = - __objc_msgSend_427Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - double, - ) - >(); + double, + )>(); late final _sel_URL_resourceDataDidBecomeAvailable_1 = objc.registerName( "URL:resourceDataDidBecomeAvailable:", @@ -15296,25 +13031,20 @@ class SwiftLibrary { } late final __objc_msgSend_428Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_428 = __objc_msgSend_428Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_428 = - __objc_msgSend_428Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_URLResourceDidFinishLoading_1 = objc.registerName( "URLResourceDidFinishLoading:", @@ -15328,23 +13058,18 @@ class SwiftLibrary { } late final __objc_msgSend_429Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_429 = __objc_msgSend_429Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_429 = - __objc_msgSend_429Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_URLResourceDidCancelLoading_1 = objc.registerName( "URLResourceDidCancelLoading:", @@ -15362,25 +13087,20 @@ class SwiftLibrary { } late final __objc_msgSend_430Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_430 = __objc_msgSend_430Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_430 = - __objc_msgSend_430Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _class_NSFileManager1 = objc.getClass("NSFileManager"); late final _sel_defaultManager1 = objc.registerName("defaultManager"); @@ -15392,26 +13112,21 @@ class SwiftLibrary { } late final __objc_msgSend_431Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_431 = __objc_msgSend_431Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_431 = - __objc_msgSend_431Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_mountedVolumeURLsIncludingResourceValuesForKeys_options_1 = objc.registerName( - "mountedVolumeURLsIncludingResourceValuesForKeys:options:", - ); + "mountedVolumeURLsIncludingResourceValuesForKeys:options:", + ); ffi.Pointer _objc_msgSend_432( ffi.Pointer obj, ffi.Pointer sel, @@ -15422,28 +13137,23 @@ class SwiftLibrary { } late final __objc_msgSend_432Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + )>>('objc_msgSend'); + late final __objc_msgSend_432 = __objc_msgSend_432Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_432 = - __objc_msgSend_432Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); - late final _sel_unmountVolumeAtURL_options_completionHandler_1 = objc - .registerName("unmountVolumeAtURL:options:completionHandler:"); + late final _sel_unmountVolumeAtURL_options_completionHandler_1 = + objc.registerName("unmountVolumeAtURL:options:completionHandler:"); void _objc_msgSend_433( ffi.Pointer obj, ffi.Pointer sel, @@ -15455,32 +13165,27 @@ class SwiftLibrary { } late final __objc_msgSend_433Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_433 = __objc_msgSend_433Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_433 = - __objc_msgSend_433Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ) - >(); + )>(); late final _sel_contentsOfDirectoryAtURL_includingPropertiesForKeys_options_error_1 = objc.registerName( - "contentsOfDirectoryAtURL:includingPropertiesForKeys:options:error:", - ); + "contentsOfDirectoryAtURL:includingPropertiesForKeys:options:error:", + ); ffi.Pointer _objc_msgSend_434( ffi.Pointer obj, ffi.Pointer sel, @@ -15493,29 +13198,24 @@ class SwiftLibrary { } late final __objc_msgSend_434Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_434 = __objc_msgSend_434Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_434 = - __objc_msgSend_434Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>, - ) - >(); + )>(); late final _sel_URLsForDirectory_inDomains_1 = objc.registerName( "URLsForDirectory:inDomains:", @@ -15530,30 +13230,25 @@ class SwiftLibrary { } late final __objc_msgSend_435Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Int32, + )>>('objc_msgSend'); + late final __objc_msgSend_435 = __objc_msgSend_435Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_435 = - __objc_msgSend_435Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - int, - ) - >(); + int, + int, + )>(); late final _sel_URLForDirectory_inDomain_appropriateForURL_create_error_1 = objc.registerName( - "URLForDirectory:inDomain:appropriateForURL:create:error:", - ); + "URLForDirectory:inDomain:appropriateForURL:create:error:", + ); ffi.Pointer _objc_msgSend_436( ffi.Pointer obj, ffi.Pointer sel, @@ -15575,34 +13270,29 @@ class SwiftLibrary { } late final __objc_msgSend_436Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Int32, + ffi.Pointer, + ffi.Bool, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_436 = __objc_msgSend_436Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, - ffi.Int32, + int, + int, ffi.Pointer, - ffi.Bool, + bool, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_436 = - __objc_msgSend_436Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - int, - ffi.Pointer, - bool, - ffi.Pointer>, - ) - >(); + )>(); - late final _sel_getRelationship_ofDirectoryAtURL_toItemAtURL_error_1 = objc - .registerName("getRelationship:ofDirectoryAtURL:toItemAtURL:error:"); + late final _sel_getRelationship_ofDirectoryAtURL_toItemAtURL_error_1 = + objc.registerName("getRelationship:ofDirectoryAtURL:toItemAtURL:error:"); bool _objc_msgSend_437( ffi.Pointer obj, ffi.Pointer sel, @@ -15622,34 +13312,29 @@ class SwiftLibrary { } late final __objc_msgSend_437Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_437 = __objc_msgSend_437Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_437 = - __objc_msgSend_437Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ) - >(); + )>(); late final _sel_getRelationship_ofDirectory_inDomain_toItemAtURL_error_1 = objc.registerName( - "getRelationship:ofDirectory:inDomain:toItemAtURL:error:", - ); + "getRelationship:ofDirectory:inDomain:toItemAtURL:error:", + ); bool _objc_msgSend_438( ffi.Pointer obj, ffi.Pointer sel, @@ -15671,36 +13356,31 @@ class SwiftLibrary { } late final __objc_msgSend_438Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Int32, + ffi.Pointer, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_438 = __objc_msgSend_438Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, - ffi.Int32, + int, + int, ffi.Pointer, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_438 = - __objc_msgSend_438Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - int, - ffi.Pointer, - ffi.Pointer>, - ) - >(); + )>(); late final _sel_createDirectoryAtURL_withIntermediateDirectories_attributes_error_1 = objc.registerName( - "createDirectoryAtURL:withIntermediateDirectories:attributes:error:", - ); + "createDirectoryAtURL:withIntermediateDirectories:attributes:error:", + ); bool _objc_msgSend_439( ffi.Pointer obj, ffi.Pointer sel, @@ -15720,32 +13400,27 @@ class SwiftLibrary { } late final __objc_msgSend_439Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.Pointer, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_439 = __objc_msgSend_439Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Bool, + bool, ffi.Pointer, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_439 = - __objc_msgSend_439Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - ffi.Pointer, - ffi.Pointer>, - ) - >(); + )>(); - late final _sel_createSymbolicLinkAtURL_withDestinationURL_error_1 = objc - .registerName("createSymbolicLinkAtURL:withDestinationURL:error:"); + late final _sel_createSymbolicLinkAtURL_withDestinationURL_error_1 = + objc.registerName("createSymbolicLinkAtURL:withDestinationURL:error:"); bool _objc_msgSend_440( ffi.Pointer obj, ffi.Pointer sel, @@ -15757,27 +13432,22 @@ class SwiftLibrary { } late final __objc_msgSend_440Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_440 = __objc_msgSend_440Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_440 = - __objc_msgSend_440Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ) - >(); + )>(); late final _sel_delegate1 = objc.registerName("delegate"); late final _sel_setDelegate_1 = objc.registerName("setDelegate:"); @@ -15795,32 +13465,27 @@ class SwiftLibrary { } late final __objc_msgSend_441Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_441 = __objc_msgSend_441Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_441 = - __objc_msgSend_441Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ) - >(); + )>(); late final _sel_createDirectoryAtPath_withIntermediateDirectories_attributes_error_1 = objc.registerName( - "createDirectoryAtPath:withIntermediateDirectories:attributes:error:", - ); + "createDirectoryAtPath:withIntermediateDirectories:attributes:error:", + ); bool _objc_msgSend_442( ffi.Pointer obj, ffi.Pointer sel, @@ -15840,29 +13505,24 @@ class SwiftLibrary { } late final __objc_msgSend_442Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.Pointer, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_442 = __objc_msgSend_442Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Bool, + bool, ffi.Pointer, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_442 = - __objc_msgSend_442Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - ffi.Pointer, - ffi.Pointer>, - ) - >(); + )>(); late final _sel_contentsOfDirectoryAtPath_error_1 = objc.registerName( "contentsOfDirectoryAtPath:error:", @@ -15877,25 +13537,20 @@ class SwiftLibrary { } late final __objc_msgSend_443Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_443 = __objc_msgSend_443Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_443 = - __objc_msgSend_443Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ) - >(); + )>(); late final _sel_subpathsOfDirectoryAtPath_error_1 = objc.registerName( "subpathsOfDirectoryAtPath:error:", @@ -15913,31 +13568,26 @@ class SwiftLibrary { } late final __objc_msgSend_444Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_444 = __objc_msgSend_444Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_444 = - __objc_msgSend_444Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ) - >(); + )>(); late final _sel_attributesOfFileSystemForPath_error_1 = objc.registerName( "attributesOfFileSystemForPath:error:", ); - late final _sel_createSymbolicLinkAtPath_withDestinationPath_error_1 = objc - .registerName("createSymbolicLinkAtPath:withDestinationPath:error:"); + late final _sel_createSymbolicLinkAtPath_withDestinationPath_error_1 = + objc.registerName("createSymbolicLinkAtPath:withDestinationPath:error:"); bool _objc_msgSend_445( ffi.Pointer obj, ffi.Pointer sel, @@ -15949,27 +13599,22 @@ class SwiftLibrary { } late final __objc_msgSend_445Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_445 = __objc_msgSend_445Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_445 = - __objc_msgSend_445Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ) - >(); + )>(); late final _sel_destinationOfSymbolicLinkAtPath_error_1 = objc.registerName( "destinationOfSymbolicLinkAtPath:error:", @@ -15984,25 +13629,20 @@ class SwiftLibrary { } late final __objc_msgSend_446Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_446 = __objc_msgSend_446Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_446 = - __objc_msgSend_446Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ) - >(); + )>(); late final _sel_copyItemAtPath_toPath_error_1 = objc.registerName( "copyItemAtPath:toPath:error:", @@ -16026,25 +13666,20 @@ class SwiftLibrary { } late final __objc_msgSend_447Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_447 = __objc_msgSend_447Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_447 = - __objc_msgSend_447Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ) - >(); + )>(); late final _sel_copyItemAtURL_toURL_error_1 = objc.registerName( "copyItemAtURL:toURL:error:", @@ -16072,27 +13707,22 @@ class SwiftLibrary { } late final __objc_msgSend_448Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_448 = __objc_msgSend_448Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer>, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_448 = - __objc_msgSend_448Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer>, - ) - >(); + )>(); late final _sel_fileAttributesAtPath_traverseLink_1 = objc.registerName( "fileAttributesAtPath:traverseLink:", @@ -16107,25 +13737,20 @@ class SwiftLibrary { } late final __objc_msgSend_449Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + )>>('objc_msgSend'); + late final __objc_msgSend_449 = __objc_msgSend_449Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Bool, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_449 = - __objc_msgSend_449Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - ) - >(); + bool, + )>(); late final _sel_changeFileAttributes_atPath_1 = objc.registerName( "changeFileAttributes:atPath:", @@ -16140,25 +13765,20 @@ class SwiftLibrary { } late final __objc_msgSend_450Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_450 = __objc_msgSend_450Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_450 = - __objc_msgSend_450Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_directoryContentsAtPath_1 = objc.registerName( "directoryContentsAtPath:", @@ -16182,25 +13802,20 @@ class SwiftLibrary { } late final __objc_msgSend_451Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_451 = __objc_msgSend_451Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_451 = - __objc_msgSend_451Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_createDirectoryAtPath_attributes_1 = objc.registerName( "createDirectoryAtPath:attributes:", @@ -16215,25 +13830,20 @@ class SwiftLibrary { } late final __objc_msgSend_452Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_452 = __objc_msgSend_452Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_452 = - __objc_msgSend_452Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_linkPath_toPath_handler_1 = objc.registerName( "linkPath:toPath:handler:", @@ -16249,27 +13859,22 @@ class SwiftLibrary { } late final __objc_msgSend_453Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_453 = __objc_msgSend_453Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_453 = - __objc_msgSend_453Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_copyPath_toPath_handler_1 = objc.registerName( "copyPath:toPath:handler:", @@ -16290,25 +13895,20 @@ class SwiftLibrary { } late final __objc_msgSend_454Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_454 = __objc_msgSend_454Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_454 = - __objc_msgSend_454Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_currentDirectoryPath1 = objc.registerName( "currentDirectoryPath", @@ -16330,25 +13930,20 @@ class SwiftLibrary { } late final __objc_msgSend_455Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_455 = __objc_msgSend_455Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_455 = - __objc_msgSend_455Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_isReadableFileAtPath_1 = objc.registerName( "isReadableFileAtPath:", @@ -16372,8 +13967,8 @@ class SwiftLibrary { late final _sel_enumeratorAtPath_1 = objc.registerName("enumeratorAtPath:"); late final _sel_enumeratorAtURL_includingPropertiesForKeys_options_errorHandler_1 = objc.registerName( - "enumeratorAtURL:includingPropertiesForKeys:options:errorHandler:", - ); + "enumeratorAtURL:includingPropertiesForKeys:options:errorHandler:", + ); ffi.Pointer _objc_msgSend_456( ffi.Pointer obj, ffi.Pointer sel, @@ -16386,29 +13981,24 @@ class SwiftLibrary { } late final __objc_msgSend_456Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_456 = __objc_msgSend_456Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_456 = - __objc_msgSend_456Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ) - >(); + )>(); late final _sel_subpathsAtPath_1 = objc.registerName("subpathsAtPath:"); late final _sel_contentsAtPath_1 = objc.registerName("contentsAtPath:"); @@ -16421,23 +14011,18 @@ class SwiftLibrary { } late final __objc_msgSend_457Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_457 = __objc_msgSend_457Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_457 = - __objc_msgSend_457Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_createFileAtPath_contents_attributes_1 = objc.registerName( "createFileAtPath:contents:attributes:", @@ -16453,27 +14038,22 @@ class SwiftLibrary { } late final __objc_msgSend_458Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_458 = __objc_msgSend_458Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_458 = - __objc_msgSend_458Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_fileSystemRepresentationWithPath_1 = objc.registerName( "fileSystemRepresentationWithPath:", @@ -16487,26 +14067,21 @@ class SwiftLibrary { } late final __objc_msgSend_459Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_459 = __objc_msgSend_459Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_459 = - __objc_msgSend_459Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); - late final _sel_stringWithFileSystemRepresentation_length_1 = objc - .registerName("stringWithFileSystemRepresentation:length:"); + late final _sel_stringWithFileSystemRepresentation_length_1 = + objc.registerName("stringWithFileSystemRepresentation:length:"); ffi.Pointer _objc_msgSend_460( ffi.Pointer obj, ffi.Pointer sel, @@ -16517,30 +14092,25 @@ class SwiftLibrary { } late final __objc_msgSend_460Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + )>>('objc_msgSend'); + late final __objc_msgSend_460 = __objc_msgSend_460Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_460 = - __objc_msgSend_460Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_replaceItemAtURL_withItemAtURL_backupItemName_options_resultingItemURL_error_1 = objc.registerName( - "replaceItemAtURL:withItemAtURL:backupItemName:options:resultingItemURL:error:", - ); + "replaceItemAtURL:withItemAtURL:backupItemName:options:resultingItemURL:error:", + ); bool _objc_msgSend_461( ffi.Pointer obj, ffi.Pointer sel, @@ -16564,36 +14134,31 @@ class SwiftLibrary { } late final __objc_msgSend_461Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer>, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_461 = __objc_msgSend_461Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, ffi.Pointer>, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_461 = - __objc_msgSend_461Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>, - ffi.Pointer>, - ) - >(); - - late final _sel_setUbiquitous_itemAtURL_destinationURL_error_1 = objc - .registerName("setUbiquitous:itemAtURL:destinationURL:error:"); + )>(); + + late final _sel_setUbiquitous_itemAtURL_destinationURL_error_1 = + objc.registerName("setUbiquitous:itemAtURL:destinationURL:error:"); bool _objc_msgSend_462( ffi.Pointer obj, ffi.Pointer sel, @@ -16606,35 +14171,30 @@ class SwiftLibrary { } late final __objc_msgSend_462Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_462 = __objc_msgSend_462Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, - ffi.Bool, + bool, ffi.Pointer, ffi.Pointer, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_462 = - __objc_msgSend_462Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - bool, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ) - >(); + )>(); late final _sel_isUbiquitousItemAtURL_1 = objc.registerName( "isUbiquitousItemAtURL:", ); - late final _sel_startDownloadingUbiquitousItemAtURL_error_1 = objc - .registerName("startDownloadingUbiquitousItemAtURL:error:"); + late final _sel_startDownloadingUbiquitousItemAtURL_error_1 = + objc.registerName("startDownloadingUbiquitousItemAtURL:error:"); late final _sel_evictUbiquitousItemAtURL_error_1 = objc.registerName( "evictUbiquitousItemAtURL:error:", ); @@ -16650,28 +14210,23 @@ class SwiftLibrary { } late final __objc_msgSend_463Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_463 = __objc_msgSend_463Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_463 = - __objc_msgSend_463Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_URLForPublishingUbiquitousItemAtURL_expirationDate_error_1 = objc.registerName( - "URLForPublishingUbiquitousItemAtURL:expirationDate:error:", - ); + "URLForPublishingUbiquitousItemAtURL:expirationDate:error:", + ); ffi.Pointer _objc_msgSend_464( ffi.Pointer obj, ffi.Pointer sel, @@ -16683,27 +14238,22 @@ class SwiftLibrary { } late final __objc_msgSend_464Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_464 = __objc_msgSend_464Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer>, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_464 = - __objc_msgSend_464Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer>, - ) - >(); + )>(); late final _sel_ubiquityIdentityToken1 = objc.registerName( "ubiquityIdentityToken", @@ -16720,28 +14270,23 @@ class SwiftLibrary { } late final __objc_msgSend_465Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_465 = __objc_msgSend_465Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_465 = - __objc_msgSend_465Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); - late final _sel_containerURLForSecurityApplicationGroupIdentifier_1 = objc - .registerName("containerURLForSecurityApplicationGroupIdentifier:"); + late final _sel_containerURLForSecurityApplicationGroupIdentifier_1 = + objc.registerName("containerURLForSecurityApplicationGroupIdentifier:"); late final _sel_homeDirectoryForCurrentUser1 = objc.registerName( "homeDirectoryForCurrentUser", ); @@ -16753,21 +14298,16 @@ class SwiftLibrary { } late final __objc_msgSend_466Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_466 = __objc_msgSend_466Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_466 = - __objc_msgSend_466Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_temporaryDirectory1 = objc.registerName("temporaryDirectory"); late final _sel_homeDirectoryForUser_1 = objc.registerName( @@ -16786,25 +14326,20 @@ class SwiftLibrary { } late final __objc_msgSend_467Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_467 = __objc_msgSend_467Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_467 = - __objc_msgSend_467Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_fileManager_willProcessPath_1 = objc.registerName( "fileManager:willProcessPath:", @@ -16819,25 +14354,20 @@ class SwiftLibrary { } late final __objc_msgSend_468Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_468 = __objc_msgSend_468Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_468 = - __objc_msgSend_468Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_validateValue_forKey_error_1 = objc.registerName( "validateValue:forKey:error:", @@ -16857,25 +14387,20 @@ class SwiftLibrary { } late final __objc_msgSend_469Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + )>>('objc_msgSend'); + late final __objc_msgSend_469 = __objc_msgSend_469Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_469 = - __objc_msgSend_469Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_removeLastObject1 = objc.registerName("removeLastObject"); late final _sel_removeObjectAtIndex_1 = objc.registerName( @@ -16890,23 +14415,18 @@ class SwiftLibrary { } late final __objc_msgSend_470Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + )>>('objc_msgSend'); + late final __objc_msgSend_470 = __objc_msgSend_470Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_470 = - __objc_msgSend_470Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_replaceObjectAtIndex_withObject_1 = objc.registerName( "replaceObjectAtIndex:withObject:", @@ -16921,25 +14441,20 @@ class SwiftLibrary { } late final __objc_msgSend_471Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_471 = __objc_msgSend_471Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, + int, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_471 = - __objc_msgSend_471Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ) - >(); + )>(); late final _sel_initWithCapacity_1 = objc.registerName("initWithCapacity:"); late final _sel_addObjectsFromArray_1 = objc.registerName( @@ -16954,23 +14469,18 @@ class SwiftLibrary { } late final __objc_msgSend_472Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_472 = __objc_msgSend_472Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_472 = - __objc_msgSend_472Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_exchangeObjectAtIndex_withObjectAtIndex_1 = objc.registerName( "exchangeObjectAtIndex:withObjectAtIndex:", @@ -16985,25 +14495,20 @@ class SwiftLibrary { } late final __objc_msgSend_473Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.UnsignedLong, + )>>('objc_msgSend'); + late final __objc_msgSend_473 = __objc_msgSend_473Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, - ffi.UnsignedLong, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_473 = - __objc_msgSend_473Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - int, - ) - >(); + int, + int, + )>(); late final _sel_removeAllObjects1 = objc.registerName("removeAllObjects"); late final _sel_removeObject_inRange_1 = objc.registerName( @@ -17019,25 +14524,20 @@ class SwiftLibrary { } late final __objc_msgSend_474Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange, + )>>('objc_msgSend'); + late final __objc_msgSend_474 = __objc_msgSend_474Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, _NSRange, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_474 = - __objc_msgSend_474Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - _NSRange, - ) - >(); + )>(); late final _sel_removeObject_1 = objc.registerName("removeObject:"); late final _sel_removeObjectIdenticalTo_inRange_1 = objc.registerName( @@ -17059,25 +14559,20 @@ class SwiftLibrary { } late final __objc_msgSend_475Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + )>>('objc_msgSend'); + late final __objc_msgSend_475 = __objc_msgSend_475Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_475 = - __objc_msgSend_475Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_removeObjectsInArray_1 = objc.registerName( "removeObjectsInArray:", @@ -17094,26 +14589,21 @@ class SwiftLibrary { } late final __objc_msgSend_476Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + )>>('objc_msgSend'); + late final __objc_msgSend_476 = __objc_msgSend_476Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, _NSRange, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_476 = - __objc_msgSend_476Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ) - >(); + )>(); - late final _sel_replaceObjectsInRange_withObjectsFromArray_range_1 = objc - .registerName("replaceObjectsInRange:withObjectsFromArray:range:"); + late final _sel_replaceObjectsInRange_withObjectsFromArray_range_1 = + objc.registerName("replaceObjectsInRange:withObjectsFromArray:range:"); void _objc_msgSend_477( ffi.Pointer obj, ffi.Pointer sel, @@ -17125,30 +14615,25 @@ class SwiftLibrary { } late final __objc_msgSend_477Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + _NSRange, + )>>('objc_msgSend'); + late final __objc_msgSend_477 = __objc_msgSend_477Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, _NSRange, ffi.Pointer, _NSRange, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_477 = - __objc_msgSend_477Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - _NSRange, - ) - >(); + )>(); - late final _sel_replaceObjectsInRange_withObjectsFromArray_1 = objc - .registerName("replaceObjectsInRange:withObjectsFromArray:"); + late final _sel_replaceObjectsInRange_withObjectsFromArray_1 = + objc.registerName("replaceObjectsInRange:withObjectsFromArray:"); void _objc_msgSend_478( ffi.Pointer obj, ffi.Pointer sel, @@ -17159,25 +14644,20 @@ class SwiftLibrary { } late final __objc_msgSend_478Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_478 = __objc_msgSend_478Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, _NSRange, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_478 = - __objc_msgSend_478Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - ) - >(); + )>(); late final _sel_setArray_1 = objc.registerName("setArray:"); late final _sel_sortUsingFunction_context_1 = objc.registerName( @@ -17187,55 +14667,45 @@ class SwiftLibrary { ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer< - ffi.NativeFunction< - ffi.Long Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - > compare, + ffi.NativeFunction< + ffi.Long Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>> + compare, ffi.Pointer context, ) { return __objc_msgSend_479(obj, sel, compare, context); } late final __objc_msgSend_479Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.Long Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_479 = __objc_msgSend_479Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer< - ffi.NativeFunction< - ffi.Long Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >, + ffi.NativeFunction< + ffi.Long Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_479 = - __objc_msgSend_479Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.Long Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >, - ffi.Pointer, - ) - >(); + )>(); late final _sel_sortUsingSelector_1 = objc.registerName("sortUsingSelector:"); late final _sel_insertObjects_atIndexes_1 = objc.registerName( @@ -17251,25 +14721,20 @@ class SwiftLibrary { } late final __objc_msgSend_480Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_480 = __objc_msgSend_480Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_480 = - __objc_msgSend_480Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_removeObjectsAtIndexes_1 = objc.registerName( "removeObjectsAtIndexes:", @@ -17283,23 +14748,18 @@ class SwiftLibrary { } late final __objc_msgSend_481Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_481 = __objc_msgSend_481Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_481 = - __objc_msgSend_481Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_replaceObjectsAtIndexes_withObjects_1 = objc.registerName( "replaceObjectsAtIndexes:withObjects:", @@ -17314,25 +14774,20 @@ class SwiftLibrary { } late final __objc_msgSend_482Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_482 = __objc_msgSend_482Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_482 = - __objc_msgSend_482Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_setObject_atIndexedSubscript_1 = objc.registerName( "setObject:atIndexedSubscript:", @@ -17349,23 +14804,18 @@ class SwiftLibrary { } late final __objc_msgSend_483Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_483 = __objc_msgSend_483Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_483 = - __objc_msgSend_483Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_sortWithOptions_usingComparator_1 = objc.registerName( "sortWithOptions:usingComparator:", @@ -17380,25 +14830,20 @@ class SwiftLibrary { } late final __objc_msgSend_484Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_484 = __objc_msgSend_484Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_484 = - __objc_msgSend_484Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ) - >(); + )>(); late final _sel_arrayWithCapacity_1 = objc.registerName("arrayWithCapacity:"); ffi.Pointer _objc_msgSend_485( @@ -17410,23 +14855,18 @@ class SwiftLibrary { } late final __objc_msgSend_485Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_485 = __objc_msgSend_485Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_485 = - __objc_msgSend_485Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); ffi.Pointer _objc_msgSend_486( ffi.Pointer obj, @@ -17437,23 +14877,18 @@ class SwiftLibrary { } late final __objc_msgSend_486Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_486 = __objc_msgSend_486Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_486 = - __objc_msgSend_486Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_applyDifference_1 = objc.registerName("applyDifference:"); late final _sel_sortUsingDescriptors_1 = objc.registerName( @@ -17471,23 +14906,18 @@ class SwiftLibrary { } late final __objc_msgSend_487Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_487 = __objc_msgSend_487Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_487 = - __objc_msgSend_487Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_mutableArrayValueForKey_1 = objc.registerName( "mutableArrayValueForKey:", @@ -17501,23 +14931,18 @@ class SwiftLibrary { } late final __objc_msgSend_488Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_488 = __objc_msgSend_488Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_488 = - __objc_msgSend_488Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _class_NSMutableOrderedSet1 = objc.getClass("NSMutableOrderedSet"); late final _class_NSOrderedSet1 = objc.getClass("NSOrderedSet"); @@ -17533,23 +14958,18 @@ class SwiftLibrary { } late final __objc_msgSend_489Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_489 = __objc_msgSend_489Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_489 = - __objc_msgSend_489Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_intersectsOrderedSet_1 = objc.registerName( "intersectsOrderedSet:", @@ -17566,21 +14986,16 @@ class SwiftLibrary { } late final __objc_msgSend_490Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_490 = __objc_msgSend_490Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_490 = - __objc_msgSend_490Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); ffi.Pointer _objc_msgSend_491( ffi.Pointer obj, @@ -17590,21 +15005,16 @@ class SwiftLibrary { } late final __objc_msgSend_491Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_491 = __objc_msgSend_491Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_491 = - __objc_msgSend_491Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_orderedSet1 = objc.registerName("orderedSet"); late final _sel_orderedSetWithObject_1 = objc.registerName( @@ -17628,26 +15038,21 @@ class SwiftLibrary { } late final __objc_msgSend_492Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_492 = __objc_msgSend_492Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_492 = - __objc_msgSend_492Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); - late final _sel_orderedSetWithOrderedSet_range_copyItems_1 = objc - .registerName("orderedSetWithOrderedSet:range:copyItems:"); + late final _sel_orderedSetWithOrderedSet_range_copyItems_1 = + objc.registerName("orderedSetWithOrderedSet:range:copyItems:"); instancetype _objc_msgSend_493( ffi.Pointer obj, ffi.Pointer sel, @@ -17659,27 +15064,22 @@ class SwiftLibrary { } late final __objc_msgSend_493Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Bool, + )>>('objc_msgSend'); + late final __objc_msgSend_493 = __objc_msgSend_493Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, _NSRange, - ffi.Bool, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_493 = - __objc_msgSend_493Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - _NSRange, - bool, - ) - >(); + bool, + )>(); late final _sel_orderedSetWithArray_1 = objc.registerName( "orderedSetWithArray:", @@ -17698,27 +15098,22 @@ class SwiftLibrary { } late final __objc_msgSend_494Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Bool, + )>>('objc_msgSend'); + late final __objc_msgSend_494 = __objc_msgSend_494Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, _NSRange, - ffi.Bool, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_494 = - __objc_msgSend_494Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - _NSRange, - bool, - ) - >(); + bool, + )>(); late final _sel_orderedSetWithSet_1 = objc.registerName("orderedSetWithSet:"); late final _sel_orderedSetWithSet_copyItems_1 = objc.registerName( @@ -17741,25 +15136,20 @@ class SwiftLibrary { } late final __objc_msgSend_495Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + )>>('objc_msgSend'); + late final __objc_msgSend_495 = __objc_msgSend_495Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Bool, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_495 = - __objc_msgSend_495Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - ) - >(); + bool, + )>(); late final _sel_initWithOrderedSet_range_copyItems_1 = objc.registerName( "initWithOrderedSet:range:copyItems:", @@ -17769,8 +15159,8 @@ class SwiftLibrary { ); late final _sel_differenceFromOrderedSet_withOptions_usingEquivalenceTest_1 = objc.registerName( - "differenceFromOrderedSet:withOptions:usingEquivalenceTest:", - ); + "differenceFromOrderedSet:withOptions:usingEquivalenceTest:", + ); ffi.Pointer _objc_msgSend_496( ffi.Pointer obj, ffi.Pointer sel, @@ -17782,27 +15172,22 @@ class SwiftLibrary { } late final __objc_msgSend_496Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_496 = __objc_msgSend_496Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_496 = - __objc_msgSend_496Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ) - >(); + )>(); late final _sel_differenceFromOrderedSet_withOptions_1 = objc.registerName( "differenceFromOrderedSet:withOptions:", @@ -17817,25 +15202,20 @@ class SwiftLibrary { } late final __objc_msgSend_497Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + )>>('objc_msgSend'); + late final __objc_msgSend_497 = __objc_msgSend_497Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_497 = - __objc_msgSend_497Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_differenceFromOrderedSet_1 = objc.registerName( "differenceFromOrderedSet:", @@ -17852,23 +15232,18 @@ class SwiftLibrary { } late final __objc_msgSend_498Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_498 = __objc_msgSend_498Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_498 = - __objc_msgSend_498Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_filteredOrderedSetUsingPredicate_1 = objc.registerName( "filteredOrderedSetUsingPredicate:", @@ -17882,23 +15257,18 @@ class SwiftLibrary { } late final __objc_msgSend_499Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_499 = __objc_msgSend_499Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_499 = - __objc_msgSend_499Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_addObjects_count_1 = objc.registerName("addObjects:count:"); void _objc_msgSend_500( @@ -17911,25 +15281,20 @@ class SwiftLibrary { } late final __objc_msgSend_500Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.UnsignedLong, + )>>('objc_msgSend'); + late final __objc_msgSend_500 = __objc_msgSend_500Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer>, - ffi.UnsignedLong, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_500 = - __objc_msgSend_500Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - int, - ) - >(); + int, + )>(); late final _sel_moveObjectsAtIndexes_toIndex_1 = objc.registerName( "moveObjectsAtIndexes:toIndex:", @@ -17944,25 +15309,20 @@ class SwiftLibrary { } late final __objc_msgSend_501Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + )>>('objc_msgSend'); + late final __objc_msgSend_501 = __objc_msgSend_501Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_501 = - __objc_msgSend_501Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_setObject_atIndex_1 = objc.registerName("setObject:atIndex:"); late final _sel_replaceObjectsInRange_withObjects_count_1 = objc.registerName( @@ -17979,27 +15339,22 @@ class SwiftLibrary { } late final __objc_msgSend_502Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer>, + ffi.UnsignedLong, + )>>('objc_msgSend'); + late final __objc_msgSend_502 = __objc_msgSend_502Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, _NSRange, ffi.Pointer>, - ffi.UnsignedLong, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_502 = - __objc_msgSend_502Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer>, - int, - ) - >(); + int, + )>(); late final _sel_intersectOrderedSet_1 = objc.registerName( "intersectOrderedSet:", @@ -18013,23 +15368,18 @@ class SwiftLibrary { } late final __objc_msgSend_503Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_503 = __objc_msgSend_503Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_503 = - __objc_msgSend_503Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_minusOrderedSet_1 = objc.registerName("minusOrderedSet:"); late final _sel_unionOrderedSet_1 = objc.registerName("unionOrderedSet:"); @@ -18043,23 +15393,18 @@ class SwiftLibrary { } late final __objc_msgSend_504Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_504 = __objc_msgSend_504Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_504 = - __objc_msgSend_504Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_minusSet_1 = objc.registerName("minusSet:"); late final _sel_unionSet_1 = objc.registerName("unionSet:"); @@ -18077,27 +15422,22 @@ class SwiftLibrary { } late final __objc_msgSend_505Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Int32, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_505 = __objc_msgSend_505Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, _NSRange, - ffi.Int32, + int, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_505 = - __objc_msgSend_505Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - int, - ffi.Pointer, - ) - >(); + )>(); late final _sel_orderedSetWithCapacity_1 = objc.registerName( "orderedSetWithCapacity:", @@ -18114,23 +15454,18 @@ class SwiftLibrary { } late final __objc_msgSend_506Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_506 = __objc_msgSend_506Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_506 = - __objc_msgSend_506Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _class_NSMutableSet1 = objc.getClass("NSMutableSet"); late final _sel_setSet_1 = objc.registerName("setSet:"); @@ -18147,23 +15482,18 @@ class SwiftLibrary { } late final __objc_msgSend_507Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_507 = __objc_msgSend_507Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_507 = - __objc_msgSend_507Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_valueForKeyPath_1 = objc.registerName("valueForKeyPath:"); late final _sel_setValue_forKeyPath_1 = objc.registerName( @@ -18200,23 +15530,18 @@ class SwiftLibrary { } late final __objc_msgSend_508Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_508 = __objc_msgSend_508Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_508 = - __objc_msgSend_508Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_setValuesForKeysWithDictionary_1 = objc.registerName( "setValuesForKeysWithDictionary:", @@ -18230,23 +15555,18 @@ class SwiftLibrary { } late final __objc_msgSend_509Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_509 = __objc_msgSend_509Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_509 = - __objc_msgSend_509Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_storedValueForKey_1 = objc.registerName("storedValueForKey:"); late final _sel_takeStoredValue_forKey_1 = objc.registerName( @@ -18269,8 +15589,8 @@ class SwiftLibrary { late final _sel_takeValuesFromDictionary_1 = objc.registerName( "takeValuesFromDictionary:", ); - late final _sel_observeValueForKeyPath_ofObject_change_context_1 = objc - .registerName("observeValueForKeyPath:ofObject:change:context:"); + late final _sel_observeValueForKeyPath_ofObject_change_context_1 = + objc.registerName("observeValueForKeyPath:ofObject:change:context:"); void _objc_msgSend_510( ffi.Pointer obj, ffi.Pointer sel, @@ -18283,29 +15603,24 @@ class SwiftLibrary { } late final __objc_msgSend_510Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_510 = __objc_msgSend_510Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_510 = - __objc_msgSend_510Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_willChangeValueForKey_1 = objc.registerName( "willChangeValueForKey:", @@ -18327,33 +15642,28 @@ class SwiftLibrary { } late final __objc_msgSend_511Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_511 = __objc_msgSend_511Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_511 = - __objc_msgSend_511Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_didChange_valuesAtIndexes_forKey_1 = objc.registerName( "didChange:valuesAtIndexes:forKey:", ); - late final _sel_willChangeValueForKey_withSetMutation_usingObjects_1 = objc - .registerName("willChangeValueForKey:withSetMutation:usingObjects:"); + late final _sel_willChangeValueForKey_withSetMutation_usingObjects_1 = + objc.registerName("willChangeValueForKey:withSetMutation:usingObjects:"); void _objc_msgSend_512( ffi.Pointer obj, ffi.Pointer sel, @@ -18365,30 +15675,25 @@ class SwiftLibrary { } late final __objc_msgSend_512Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_512 = __objc_msgSend_512Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_512 = - __objc_msgSend_512Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ) - >(); + )>(); - late final _sel_didChangeValueForKey_withSetMutation_usingObjects_1 = objc - .registerName("didChangeValueForKey:withSetMutation:usingObjects:"); + late final _sel_didChangeValueForKey_withSetMutation_usingObjects_1 = + objc.registerName("didChangeValueForKey:withSetMutation:usingObjects:"); late final _sel_observationInfo1 = objc.registerName("observationInfo"); late final _sel_setObservationInfo_1 = objc.registerName( "setObservationInfo:", @@ -18402,23 +15707,18 @@ class SwiftLibrary { } late final __objc_msgSend_513Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_513 = __objc_msgSend_513Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_513 = - __objc_msgSend_513Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_classForKeyedArchiver1 = objc.registerName( "classForKeyedArchiver", @@ -18436,28 +15736,23 @@ class SwiftLibrary { } late final __objc_msgSend_514Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + )>>('objc_msgSend'); + late final __objc_msgSend_514 = __objc_msgSend_514Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, - ffi.Bool, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_514 = - __objc_msgSend_514Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - bool, - ) - >(); + bool, + )>(); late final _sel_archivedDataWithRootObject_requiringSecureCoding_error_1 = objc.registerName( - "archivedDataWithRootObject:requiringSecureCoding:error:", - ); + "archivedDataWithRootObject:requiringSecureCoding:error:", + ); ffi.Pointer _objc_msgSend_515( ffi.Pointer obj, ffi.Pointer sel, @@ -18469,27 +15764,22 @@ class SwiftLibrary { } late final __objc_msgSend_515Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_515 = __objc_msgSend_515Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Bool, + bool, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_515 = - __objc_msgSend_515Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - ffi.Pointer>, - ) - >(); + )>(); late final _class_NSMutableData1 = objc.getClass("NSMutableData"); late final _sel_mutableBytes1 = objc.registerName("mutableBytes"); @@ -18503,23 +15793,18 @@ class SwiftLibrary { } late final __objc_msgSend_516Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + )>>('objc_msgSend'); + late final __objc_msgSend_516 = __objc_msgSend_516Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_516 = - __objc_msgSend_516Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_appendBytes_length_1 = objc.registerName( "appendBytes:length:", @@ -18539,25 +15824,20 @@ class SwiftLibrary { } late final __objc_msgSend_517Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_517 = __objc_msgSend_517Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, _NSRange, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_517 = - __objc_msgSend_517Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - ) - >(); + )>(); late final _sel_resetBytesInRange_1 = objc.registerName("resetBytesInRange:"); late final _sel_setData_1 = objc.registerName("setData:"); @@ -18581,27 +15861,22 @@ class SwiftLibrary { } late final __objc_msgSend_518Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + ffi.UnsignedLong, + )>>('objc_msgSend'); + late final __objc_msgSend_518 = __objc_msgSend_518Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, _NSRange, ffi.Pointer, - ffi.UnsignedLong, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_518 = - __objc_msgSend_518Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_dataWithCapacity_1 = objc.registerName("dataWithCapacity:"); instancetype _objc_msgSend_519( @@ -18613,23 +15888,18 @@ class SwiftLibrary { } late final __objc_msgSend_519Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + )>>('objc_msgSend'); + late final __objc_msgSend_519 = __objc_msgSend_519Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_519 = - __objc_msgSend_519Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_dataWithLength_1 = objc.registerName("dataWithLength:"); late final _sel_initWithLength_1 = objc.registerName("initWithLength:"); @@ -18646,25 +15916,20 @@ class SwiftLibrary { } late final __objc_msgSend_520Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_520 = __objc_msgSend_520Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_520 = - __objc_msgSend_520Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>, - ) - >(); + )>(); late final _sel_compressUsingAlgorithm_error_1 = objc.registerName( "compressUsingAlgorithm:error:", @@ -18681,23 +15946,18 @@ class SwiftLibrary { } late final __objc_msgSend_521Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_521 = __objc_msgSend_521Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_521 = - __objc_msgSend_521Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_archivedDataWithRootObject_1 = objc.registerName( "archivedDataWithRootObject:", @@ -18711,23 +15971,18 @@ class SwiftLibrary { } late final __objc_msgSend_522Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_522 = __objc_msgSend_522Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_522 = - __objc_msgSend_522Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_archiveRootObject_toFile_1 = objc.registerName( "archiveRootObject:toFile:", @@ -18741,21 +15996,16 @@ class SwiftLibrary { } late final __objc_msgSend_523Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_523 = __objc_msgSend_523Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_523 = - __objc_msgSend_523Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_setOutputFormat_1 = objc.registerName("setOutputFormat:"); void _objc_msgSend_524( @@ -18767,23 +16017,18 @@ class SwiftLibrary { } late final __objc_msgSend_524Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + )>>('objc_msgSend'); + late final __objc_msgSend_524 = __objc_msgSend_524Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_524 = - __objc_msgSend_524Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_encodedData1 = objc.registerName("encodedData"); late final _sel_finishEncoding1 = objc.registerName("finishEncoding"); @@ -18800,25 +16045,20 @@ class SwiftLibrary { } late final __objc_msgSend_525Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_525 = __objc_msgSend_525Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_525 = - __objc_msgSend_525Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_classNameForClass_1 = objc.registerName("classNameForClass:"); ffi.Pointer _objc_msgSend_526( @@ -18830,23 +16070,18 @@ class SwiftLibrary { } late final __objc_msgSend_526Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_526 = __objc_msgSend_526Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_526 = - __objc_msgSend_526Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_setRequiresSecureCoding_1 = objc.registerName( "setRequiresSecureCoding:", @@ -18860,23 +16095,18 @@ class SwiftLibrary { } late final __objc_msgSend_527Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + )>>('objc_msgSend'); + late final __objc_msgSend_527 = __objc_msgSend_527Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, - ffi.Bool, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_527 = - __objc_msgSend_527Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - bool, - ) - >(); + bool, + )>(); late final _sel_replacementObjectForKeyedArchiver_1 = objc.registerName( "replacementObjectForKeyedArchiver:", @@ -18890,28 +16120,23 @@ class SwiftLibrary { } late final __objc_msgSend_528Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_528 = __objc_msgSend_528Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_528 = - __objc_msgSend_528Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_performSelectorOnMainThread_withObject_waitUntilDone_modes_1 = objc.registerName( - "performSelectorOnMainThread:withObject:waitUntilDone:modes:", - ); + "performSelectorOnMainThread:withObject:waitUntilDone:modes:", + ); void _objc_msgSend_529( ffi.Pointer obj, ffi.Pointer sel, @@ -18924,29 +16149,24 @@ class SwiftLibrary { } late final __objc_msgSend_529Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_529 = __objc_msgSend_529Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Bool, + bool, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_529 = - __objc_msgSend_529Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - ffi.Pointer, - ) - >(); + )>(); late final _sel_performSelectorOnMainThread_withObject_waitUntilDone_1 = objc .registerName("performSelectorOnMainThread:withObject:waitUntilDone:"); @@ -18961,27 +16181,22 @@ class SwiftLibrary { } late final __objc_msgSend_530Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + )>>('objc_msgSend'); + late final __objc_msgSend_530 = __objc_msgSend_530Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Bool, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_530 = - __objc_msgSend_530Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - ) - >(); + bool, + )>(); late final _class_NSThread1 = objc.getClass("NSThread"); late final _sel_currentThread1 = objc.registerName("currentThread"); @@ -18993,21 +16208,16 @@ class SwiftLibrary { } late final __objc_msgSend_531Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_531 = __objc_msgSend_531Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_531 = - __objc_msgSend_531Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_detachNewThreadWithBlock_1 = objc.registerName( "detachNewThreadWithBlock:", @@ -19021,26 +16231,21 @@ class SwiftLibrary { } late final __objc_msgSend_532Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_532 = __objc_msgSend_532Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_532 = - __objc_msgSend_532Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); - late final _sel_detachNewThreadSelector_toTarget_withObject_1 = objc - .registerName("detachNewThreadSelector:toTarget:withObject:"); + late final _sel_detachNewThreadSelector_toTarget_withObject_1 = + objc.registerName("detachNewThreadSelector:toTarget:withObject:"); void _objc_msgSend_533( ffi.Pointer obj, ffi.Pointer sel, @@ -19052,27 +16257,22 @@ class SwiftLibrary { } late final __objc_msgSend_533Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_533 = __objc_msgSend_533Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_533 = - __objc_msgSend_533Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_isMultiThreaded1 = objc.registerName("isMultiThreaded"); late final _class_NSMutableDictionary1 = objc.getClass("NSMutableDictionary"); @@ -19090,25 +16290,20 @@ class SwiftLibrary { } late final __objc_msgSend_534Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_534 = __objc_msgSend_534Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_534 = - __objc_msgSend_534Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_addEntriesFromDictionary_1 = objc.registerName( "addEntriesFromDictionary:", @@ -19130,25 +16325,20 @@ class SwiftLibrary { } late final __objc_msgSend_535Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_535 = __objc_msgSend_535Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_535 = - __objc_msgSend_535Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_dictionaryWithCapacity_1 = objc.registerName( "dictionaryWithCapacity:", @@ -19162,23 +16352,18 @@ class SwiftLibrary { } late final __objc_msgSend_536Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_536 = __objc_msgSend_536Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_536 = - __objc_msgSend_536Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); ffi.Pointer _objc_msgSend_537( ffi.Pointer obj, @@ -19189,23 +16374,18 @@ class SwiftLibrary { } late final __objc_msgSend_537Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_537 = __objc_msgSend_537Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_537 = - __objc_msgSend_537Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_dictionaryWithSharedKeySet_1 = objc.registerName( "dictionaryWithSharedKeySet:", @@ -19219,23 +16399,18 @@ class SwiftLibrary { } late final __objc_msgSend_538Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_538 = __objc_msgSend_538Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_538 = - __objc_msgSend_538Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_threadDictionary1 = objc.registerName("threadDictionary"); ffi.Pointer _objc_msgSend_539( @@ -19246,21 +16421,16 @@ class SwiftLibrary { } late final __objc_msgSend_539Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_539 = __objc_msgSend_539Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_539 = - __objc_msgSend_539Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_sleepUntilDate_1 = objc.registerName("sleepUntilDate:"); void _objc_msgSend_540( @@ -19272,23 +16442,18 @@ class SwiftLibrary { } late final __objc_msgSend_540Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_540 = __objc_msgSend_540Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_540 = - __objc_msgSend_540Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_sleepForTimeInterval_1 = objc.registerName( "sleepForTimeInterval:", @@ -19302,23 +16467,18 @@ class SwiftLibrary { } late final __objc_msgSend_541Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Double, + )>>('objc_msgSend'); + late final __objc_msgSend_541 = __objc_msgSend_541Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, - ffi.Double, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_541 = - __objc_msgSend_541Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - double, - ) - >(); + double, + )>(); late final _sel_exit1 = objc.registerName("exit"); late final _sel_threadPriority1 = objc.registerName("threadPriority"); @@ -19332,23 +16492,18 @@ class SwiftLibrary { } late final __objc_msgSend_542Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Double, + )>>('objc_msgSend'); + late final __objc_msgSend_542 = __objc_msgSend_542Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, - ffi.Double, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_542 = - __objc_msgSend_542Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - double, - ) - >(); + double, + )>(); late final _sel_qualityOfService1 = objc.registerName("qualityOfService"); int _objc_msgSend_543( @@ -19359,21 +16514,16 @@ class SwiftLibrary { } late final __objc_msgSend_543Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_543 = __objc_msgSend_543Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_543 = - __objc_msgSend_543Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_setQualityOfService_1 = objc.registerName( "setQualityOfService:", @@ -19387,23 +16537,18 @@ class SwiftLibrary { } late final __objc_msgSend_544Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + )>>('objc_msgSend'); + late final __objc_msgSend_544 = __objc_msgSend_544Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_544 = - __objc_msgSend_544Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_callStackReturnAddresses1 = objc.registerName( "callStackReturnAddresses", @@ -19419,23 +16564,18 @@ class SwiftLibrary { } late final __objc_msgSend_545Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_545 = __objc_msgSend_545Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_545 = - __objc_msgSend_545Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_stackSize1 = objc.registerName("stackSize"); late final _sel_setStackSize_1 = objc.registerName("setStackSize:"); @@ -19455,27 +16595,22 @@ class SwiftLibrary { } late final __objc_msgSend_546Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_546 = __objc_msgSend_546Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_546 = - __objc_msgSend_546Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_initWithBlock_1 = objc.registerName("initWithBlock:"); instancetype _objc_msgSend_547( @@ -19487,23 +16622,18 @@ class SwiftLibrary { } late final __objc_msgSend_547Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_547 = __objc_msgSend_547Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_547 = - __objc_msgSend_547Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_isExecuting1 = objc.registerName("isExecuting"); late final _sel_isFinished1 = objc.registerName("isFinished"); @@ -19513,8 +16643,8 @@ class SwiftLibrary { late final _sel_main1 = objc.registerName("main"); late final _sel_performSelector_onThread_withObject_waitUntilDone_modes_1 = objc.registerName( - "performSelector:onThread:withObject:waitUntilDone:modes:", - ); + "performSelector:onThread:withObject:waitUntilDone:modes:", + ); void _objc_msgSend_548( ffi.Pointer obj, ffi.Pointer sel, @@ -19528,34 +16658,29 @@ class SwiftLibrary { } late final __objc_msgSend_548Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_548 = __objc_msgSend_548Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Bool, + bool, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_548 = - __objc_msgSend_548Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - ffi.Pointer, - ) - >(); + )>(); - late final _sel_performSelector_onThread_withObject_waitUntilDone_1 = objc - .registerName("performSelector:onThread:withObject:waitUntilDone:"); + late final _sel_performSelector_onThread_withObject_waitUntilDone_1 = + objc.registerName("performSelector:onThread:withObject:waitUntilDone:"); void _objc_msgSend_549( ffi.Pointer obj, ffi.Pointer sel, @@ -19568,29 +16693,24 @@ class SwiftLibrary { } late final __objc_msgSend_549Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + )>>('objc_msgSend'); + late final __objc_msgSend_549 = __objc_msgSend_549Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Bool, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_549 = - __objc_msgSend_549Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - ) - >(); + bool, + )>(); late final _sel_performSelectorInBackground_withObject_1 = objc.registerName( "performSelectorInBackground:withObject:", @@ -19606,21 +16726,16 @@ class SwiftLibrary { } late final __objc_msgSend_550Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_550 = __objc_msgSend_550Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_550 = - __objc_msgSend_550Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_encodeClassName_intoClassName_1 = objc.registerName( "encodeClassName:intoClassName:", @@ -19635,25 +16750,20 @@ class SwiftLibrary { } late final __objc_msgSend_551Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_551 = __objc_msgSend_551Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_551 = - __objc_msgSend_551Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_classNameEncodedForTrueClassName_1 = objc.registerName( "classNameEncodedForTrueClassName:", @@ -19673,23 +16783,18 @@ class SwiftLibrary { } late final __objc_msgSend_552Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_552 = __objc_msgSend_552Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_552 = - __objc_msgSend_552Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_classForPortCoder1 = objc.registerName("classForPortCoder"); late final _class_NSPortCoder1 = objc.getClass("NSPortCoder"); @@ -19704,21 +16809,16 @@ class SwiftLibrary { } late final __objc_msgSend_553Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_553 = __objc_msgSend_553Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_553 = - __objc_msgSend_553Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_invalidate1 = objc.registerName("invalidate"); late final _sel_isValid1 = objc.registerName("isValid"); @@ -19732,21 +16832,16 @@ class SwiftLibrary { } late final __objc_msgSend_554Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_554 = __objc_msgSend_554Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_554 = - __objc_msgSend_554Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_mainRunLoop1 = objc.registerName("mainRunLoop"); late final _sel_currentMode1 = objc.registerName("currentMode"); @@ -19759,25 +16854,20 @@ class SwiftLibrary { } late final __objc_msgSend_555Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer<__CFRunLoop> Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_555 = __objc_msgSend_555Ptr.asFunction< ffi.Pointer<__CFRunLoop> Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_555 = - __objc_msgSend_555Ptr - .asFunction< - ffi.Pointer<__CFRunLoop> Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _class_NSTimer1 = objc.getClass("NSTimer"); - late final _sel_timerWithTimeInterval_invocation_repeats_1 = objc - .registerName("timerWithTimeInterval:invocation:repeats:"); + late final _sel_timerWithTimeInterval_invocation_repeats_1 = + objc.registerName("timerWithTimeInterval:invocation:repeats:"); ffi.Pointer _objc_msgSend_556( ffi.Pointer obj, ffi.Pointer sel, @@ -19789,34 +16879,29 @@ class SwiftLibrary { } late final __objc_msgSend_556Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Double, + ffi.Pointer, + ffi.Bool, + )>>('objc_msgSend'); + late final __objc_msgSend_556 = __objc_msgSend_556Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.Double, + double, ffi.Pointer, - ffi.Bool, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_556 = - __objc_msgSend_556Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - double, - ffi.Pointer, - bool, - ) - >(); + bool, + )>(); - late final _sel_scheduledTimerWithTimeInterval_invocation_repeats_1 = objc - .registerName("scheduledTimerWithTimeInterval:invocation:repeats:"); + late final _sel_scheduledTimerWithTimeInterval_invocation_repeats_1 = + objc.registerName("scheduledTimerWithTimeInterval:invocation:repeats:"); late final _sel_timerWithTimeInterval_target_selector_userInfo_repeats_1 = objc.registerName( - "timerWithTimeInterval:target:selector:userInfo:repeats:", - ); + "timerWithTimeInterval:target:selector:userInfo:repeats:", + ); ffi.Pointer _objc_msgSend_557( ffi.Pointer obj, ffi.Pointer sel, @@ -19838,36 +16923,31 @@ class SwiftLibrary { } late final __objc_msgSend_557Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Double, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + )>>('objc_msgSend'); + late final __objc_msgSend_557 = __objc_msgSend_557Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.Double, + double, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Bool, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_557 = - __objc_msgSend_557Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - double, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - ) - >(); + bool, + )>(); late final _sel_scheduledTimerWithTimeInterval_target_selector_userInfo_repeats_1 = objc.registerName( - "scheduledTimerWithTimeInterval:target:selector:userInfo:repeats:", - ); + "scheduledTimerWithTimeInterval:target:selector:userInfo:repeats:", + ); late final _sel_timerWithTimeInterval_repeats_block_1 = objc.registerName( "timerWithTimeInterval:repeats:block:", ); @@ -19882,30 +16962,25 @@ class SwiftLibrary { } late final __objc_msgSend_558Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Double, + ffi.Bool, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_558 = __objc_msgSend_558Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.Double, - ffi.Bool, + double, + bool, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_558 = - __objc_msgSend_558Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - double, - bool, - ffi.Pointer, - ) - >(); + )>(); - late final _sel_scheduledTimerWithTimeInterval_repeats_block_1 = objc - .registerName("scheduledTimerWithTimeInterval:repeats:block:"); + late final _sel_scheduledTimerWithTimeInterval_repeats_block_1 = + objc.registerName("scheduledTimerWithTimeInterval:repeats:block:"); late final _sel_initWithFireDate_interval_repeats_block_1 = objc.registerName( "initWithFireDate:interval:repeats:block:", ); @@ -19921,34 +16996,29 @@ class SwiftLibrary { } late final __objc_msgSend_559Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Double, + ffi.Bool, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_559 = __objc_msgSend_559Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Double, - ffi.Bool, + double, + bool, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_559 = - __objc_msgSend_559Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - double, - bool, - ffi.Pointer, - ) - >(); + )>(); late final _sel_initWithFireDate_interval_target_selector_userInfo_repeats_1 = objc.registerName( - "initWithFireDate:interval:target:selector:userInfo:repeats:", - ); + "initWithFireDate:interval:target:selector:userInfo:repeats:", + ); instancetype _objc_msgSend_560( ffi.Pointer obj, ffi.Pointer sel, @@ -19963,33 +17033,28 @@ class SwiftLibrary { } late final __objc_msgSend_560Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Double, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + )>>('objc_msgSend'); + late final __objc_msgSend_560 = __objc_msgSend_560Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Double, + double, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Bool, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_560 = - __objc_msgSend_560Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - double, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - ) - >(); + bool, + )>(); late final _sel_fire1 = objc.registerName("fire"); late final _sel_fireDate1 = objc.registerName("fireDate"); @@ -20003,23 +17068,18 @@ class SwiftLibrary { } late final __objc_msgSend_561Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_561 = __objc_msgSend_561Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_561 = - __objc_msgSend_561Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_timeInterval1 = objc.registerName("timeInterval"); late final _sel_tolerance1 = objc.registerName("tolerance"); @@ -20035,25 +17095,20 @@ class SwiftLibrary { } late final __objc_msgSend_562Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_562 = __objc_msgSend_562Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_562 = - __objc_msgSend_562Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_addPort_forMode_1 = objc.registerName("addPort:forMode:"); void _objc_msgSend_563( @@ -20066,25 +17121,20 @@ class SwiftLibrary { } late final __objc_msgSend_563Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_563 = __objc_msgSend_563Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_563 = - __objc_msgSend_563Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_removePort_forMode_1 = objc.registerName( "removePort:forMode:", @@ -20099,23 +17149,18 @@ class SwiftLibrary { } late final __objc_msgSend_564Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_564 = __objc_msgSend_564Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_564 = - __objc_msgSend_564Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_acceptInputForMode_beforeDate_1 = objc.registerName( "acceptInputForMode:beforeDate:", @@ -20130,25 +17175,20 @@ class SwiftLibrary { } late final __objc_msgSend_565Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_565 = __objc_msgSend_565Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_565 = - __objc_msgSend_565Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_run1 = objc.registerName("run"); late final _sel_runUntilDate_1 = objc.registerName("runUntilDate:"); @@ -20165,25 +17205,20 @@ class SwiftLibrary { } late final __objc_msgSend_566Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_566 = __objc_msgSend_566Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_566 = - __objc_msgSend_566Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_configureAsServer1 = objc.registerName("configureAsServer"); late final _sel_performInModes_block_1 = objc.registerName( @@ -20199,29 +17234,24 @@ class SwiftLibrary { } late final __objc_msgSend_567Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_567 = __objc_msgSend_567Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_567 = - __objc_msgSend_567Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_performBlock_1 = objc.registerName("performBlock:"); - late final _sel_performSelector_target_argument_order_modes_1 = objc - .registerName("performSelector:target:argument:order:modes:"); + late final _sel_performSelector_target_argument_order_modes_1 = + objc.registerName("performSelector:target:argument:order:modes:"); void _objc_msgSend_568( ffi.Pointer obj, ffi.Pointer sel, @@ -20235,31 +17265,26 @@ class SwiftLibrary { } late final __objc_msgSend_568Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_568 = __objc_msgSend_568Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, + int, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_568 = - __objc_msgSend_568Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ) - >(); + )>(); late final _sel_cancelPerformSelector_target_argument_1 = objc.registerName( "cancelPerformSelector:target:argument:", @@ -20280,25 +17305,20 @@ class SwiftLibrary { } late final __objc_msgSend_569Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_569 = __objc_msgSend_569Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_569 = - __objc_msgSend_569Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_removeFromRunLoop_forMode_1 = objc.registerName( "removeFromRunLoop:forMode:", @@ -20328,32 +17348,27 @@ class SwiftLibrary { } late final __objc_msgSend_570Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + )>>('objc_msgSend'); + late final __objc_msgSend_570 = __objc_msgSend_570Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_570 = - __objc_msgSend_570Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); - late final _sel_sendBeforeDate_msgid_components_from_reserved_1 = objc - .registerName("sendBeforeDate:msgid:components:from:reserved:"); + late final _sel_sendBeforeDate_msgid_components_from_reserved_1 = + objc.registerName("sendBeforeDate:msgid:components:from:reserved:"); bool _objc_msgSend_571( ffi.Pointer obj, ffi.Pointer sel, @@ -20375,31 +17390,26 @@ class SwiftLibrary { } late final __objc_msgSend_571Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + )>>('objc_msgSend'); + late final __objc_msgSend_571 = __objc_msgSend_571Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, + int, ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_571 = - __objc_msgSend_571Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _class_NSConnection1 = objc.getClass("NSConnection"); late final _sel_statistics1 = objc.registerName("statistics"); @@ -20413,21 +17423,16 @@ class SwiftLibrary { } late final __objc_msgSend_572Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_572 = __objc_msgSend_572Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_572 = - __objc_msgSend_572Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_connectionWithRegisteredName_host_1 = objc.registerName( "connectionWithRegisteredName:host:", @@ -20442,25 +17447,20 @@ class SwiftLibrary { } late final __objc_msgSend_573Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_573 = __objc_msgSend_573Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_573 = - __objc_msgSend_573Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _class_NSPortNameServer1 = objc.getClass("NSPortNameServer"); late final _sel_systemDefaultPortNameServer1 = objc.registerName( @@ -20474,21 +17474,16 @@ class SwiftLibrary { } late final __objc_msgSend_574Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_574 = __objc_msgSend_574Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_574 = - __objc_msgSend_574Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_portForName_1 = objc.registerName("portForName:"); ffi.Pointer _objc_msgSend_575( @@ -20500,23 +17495,18 @@ class SwiftLibrary { } late final __objc_msgSend_575Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_575 = __objc_msgSend_575Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_575 = - __objc_msgSend_575Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_portForName_host_1 = objc.registerName("portForName:host:"); ffi.Pointer _objc_msgSend_576( @@ -20529,25 +17519,20 @@ class SwiftLibrary { } late final __objc_msgSend_576Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_576 = __objc_msgSend_576Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_576 = - __objc_msgSend_576Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_registerPort_name_1 = objc.registerName("registerPort:name:"); bool _objc_msgSend_577( @@ -20560,29 +17545,24 @@ class SwiftLibrary { } late final __objc_msgSend_577Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_577 = __objc_msgSend_577Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_577 = - __objc_msgSend_577Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_removePortForName_1 = objc.registerName("removePortForName:"); - late final _sel_connectionWithRegisteredName_host_usingNameServer_1 = objc - .registerName("connectionWithRegisteredName:host:usingNameServer:"); + late final _sel_connectionWithRegisteredName_host_usingNameServer_1 = + objc.registerName("connectionWithRegisteredName:host:usingNameServer:"); instancetype _objc_msgSend_578( ffi.Pointer obj, ffi.Pointer sel, @@ -20594,27 +17574,22 @@ class SwiftLibrary { } late final __objc_msgSend_578Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_578 = __objc_msgSend_578Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_578 = - __objc_msgSend_578Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _class_NSDistantObject1 = objc.getClass("NSDistantObject"); late final _class_NSProxy1 = objc.getClass("NSProxy"); @@ -20627,23 +17602,18 @@ class SwiftLibrary { } late final __objc_msgSend_579Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_579 = __objc_msgSend_579Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_579 = - __objc_msgSend_579Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_respondsToSelector_1 = objc.registerName( "respondsToSelector:", @@ -20661,25 +17631,20 @@ class SwiftLibrary { } late final __objc_msgSend_580Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_580 = __objc_msgSend_580Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_580 = - __objc_msgSend_580Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_initWithTarget_connection_1 = objc.registerName( "initWithTarget:connection:", @@ -20697,25 +17662,20 @@ class SwiftLibrary { } late final __objc_msgSend_581Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_581 = __objc_msgSend_581Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_581 = - __objc_msgSend_581Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_initWithLocal_connection_1 = objc.registerName( "initWithLocal:connection:", @@ -20732,27 +17692,22 @@ class SwiftLibrary { } late final __objc_msgSend_582Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_582 = __objc_msgSend_582Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_582 = - __objc_msgSend_582Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_connectionForProxy1 = objc.registerName("connectionForProxy"); - late final _sel_rootProxyForConnectionWithRegisteredName_host_1 = objc - .registerName("rootProxyForConnectionWithRegisteredName:host:"); + late final _sel_rootProxyForConnectionWithRegisteredName_host_1 = + objc.registerName("rootProxyForConnectionWithRegisteredName:host:"); ffi.Pointer _objc_msgSend_583( ffi.Pointer obj, ffi.Pointer sel, @@ -20763,30 +17718,25 @@ class SwiftLibrary { } late final __objc_msgSend_583Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_583 = __objc_msgSend_583Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_583 = - __objc_msgSend_583Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_rootProxyForConnectionWithRegisteredName_host_usingNameServer_1 = objc.registerName( - "rootProxyForConnectionWithRegisteredName:host:usingNameServer:", - ); + "rootProxyForConnectionWithRegisteredName:host:usingNameServer:", + ); ffi.Pointer _objc_msgSend_584( ffi.Pointer obj, ffi.Pointer sel, @@ -20798,27 +17748,22 @@ class SwiftLibrary { } late final __objc_msgSend_584Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_584 = __objc_msgSend_584Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_584 = - __objc_msgSend_584Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_serviceConnectionWithName_rootObject_usingNameServer_1 = objc .registerName("serviceConnectionWithName:rootObject:usingNameServer:"); @@ -20833,27 +17778,22 @@ class SwiftLibrary { } late final __objc_msgSend_585Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_585 = __objc_msgSend_585Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_585 = - __objc_msgSend_585Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_serviceConnectionWithName_rootObject_1 = objc.registerName( "serviceConnectionWithName:rootObject:", @@ -20868,25 +17808,20 @@ class SwiftLibrary { } late final __objc_msgSend_586Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_586 = __objc_msgSend_586Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_586 = - __objc_msgSend_586Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_requestTimeout1 = objc.registerName("requestTimeout"); late final _sel_setRequestTimeout_1 = objc.registerName("setRequestTimeout:"); @@ -20909,21 +17844,16 @@ class SwiftLibrary { } late final __objc_msgSend_587Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_587 = __objc_msgSend_587Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_587 = - __objc_msgSend_587Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_addRequestMode_1 = objc.registerName("addRequestMode:"); late final _sel_removeRequestMode_1 = objc.registerName("removeRequestMode:"); @@ -20938,23 +17868,18 @@ class SwiftLibrary { } late final __objc_msgSend_588Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_588 = __objc_msgSend_588Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_588 = - __objc_msgSend_588Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_registerName_withNameServer_1 = objc.registerName( "registerName:withNameServer:", @@ -20969,25 +17894,20 @@ class SwiftLibrary { } late final __objc_msgSend_589Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_589 = __objc_msgSend_589Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_589 = - __objc_msgSend_589Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_connectionWithReceivePort_sendPort_1 = objc.registerName( "connectionWithReceivePort:sendPort:", @@ -21002,25 +17922,20 @@ class SwiftLibrary { } late final __objc_msgSend_590Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_590 = __objc_msgSend_590Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_590 = - __objc_msgSend_590Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_currentConversation1 = objc.registerName( "currentConversation", @@ -21046,23 +17961,18 @@ class SwiftLibrary { } late final __objc_msgSend_591Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_591 = __objc_msgSend_591Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_591 = - __objc_msgSend_591Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_removeRunLoop_1 = objc.registerName("removeRunLoop:"); late final _sel_runInNewThread1 = objc.registerName("runInNewThread"); @@ -21085,27 +17995,22 @@ class SwiftLibrary { } late final __objc_msgSend_592Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_592 = __objc_msgSend_592Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_592 = - __objc_msgSend_592Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_removeConnection_fromRunLoop_forMode_1 = objc.registerName( "removeConnection:fromRunLoop:forMode:", @@ -21120,23 +18025,18 @@ class SwiftLibrary { } late final __objc_msgSend_593Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_593 = __objc_msgSend_593Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_593 = - __objc_msgSend_593Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_decodePortObject1 = objc.registerName("decodePortObject"); ffi.Pointer _objc_msgSend_594( @@ -21147,21 +18047,16 @@ class SwiftLibrary { } late final __objc_msgSend_594Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_594 = __objc_msgSend_594Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_594 = - __objc_msgSend_594Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_connection1 = objc.registerName("connection"); ffi.Pointer _objc_msgSend_595( @@ -21172,24 +18067,19 @@ class SwiftLibrary { } late final __objc_msgSend_595Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_595 = __objc_msgSend_595Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_595 = - __objc_msgSend_595Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); - late final _sel_portCoderWithReceivePort_sendPort_components_1 = objc - .registerName("portCoderWithReceivePort:sendPort:components:"); + late final _sel_portCoderWithReceivePort_sendPort_components_1 = + objc.registerName("portCoderWithReceivePort:sendPort:components:"); ffi.Pointer _objc_msgSend_596( ffi.Pointer obj, ffi.Pointer sel, @@ -21201,27 +18091,22 @@ class SwiftLibrary { } late final __objc_msgSend_596Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_596 = __objc_msgSend_596Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_596 = - __objc_msgSend_596Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_initWithReceivePort_sendPort_components_1 = objc.registerName( "initWithReceivePort:sendPort:components:", @@ -21239,23 +18124,18 @@ class SwiftLibrary { } late final __objc_msgSend_597Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_597 = __objc_msgSend_597Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_597 = - __objc_msgSend_597Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _class_NSClassDescription1 = objc.getClass("NSClassDescription"); late final _sel_registerClassDescription_forClass_1 = objc.registerName( @@ -21271,25 +18151,20 @@ class SwiftLibrary { } late final __objc_msgSend_598Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_598 = __objc_msgSend_598Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_598 = - __objc_msgSend_598Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_invalidateClassDescriptionCache1 = objc.registerName( "invalidateClassDescriptionCache", @@ -21306,23 +18181,18 @@ class SwiftLibrary { } late final __objc_msgSend_599Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_599 = __objc_msgSend_599Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_599 = - __objc_msgSend_599Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_attributeKeys1 = objc.registerName("attributeKeys"); late final _sel_toOneRelationshipKeys1 = objc.registerName( @@ -21343,21 +18213,16 @@ class SwiftLibrary { } late final __objc_msgSend_600Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_600 = __objc_msgSend_600Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_600 = - __objc_msgSend_600Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _class_NSScriptObjectSpecifier1 = objc.getClass( "NSScriptObjectSpecifier", @@ -21374,24 +18239,19 @@ class SwiftLibrary { } late final __objc_msgSend_601Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_601 = __objc_msgSend_601Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_601 = - __objc_msgSend_601Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); - late final _sel_descriptorWithDescriptorType_bytes_length_1 = objc - .registerName("descriptorWithDescriptorType:bytes:length:"); + late final _sel_descriptorWithDescriptorType_bytes_length_1 = + objc.registerName("descriptorWithDescriptorType:bytes:length:"); ffi.Pointer _objc_msgSend_602( ffi.Pointer obj, ffi.Pointer sel, @@ -21403,27 +18263,22 @@ class SwiftLibrary { } late final __objc_msgSend_602Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedInt, + ffi.Pointer, + ffi.UnsignedLong, + )>>('objc_msgSend'); + late final __objc_msgSend_602 = __objc_msgSend_602Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.UnsignedInt, + int, ffi.Pointer, - ffi.UnsignedLong, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_602 = - __objc_msgSend_602Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_descriptorWithDescriptorType_data_1 = objc.registerName( "descriptorWithDescriptorType:data:", @@ -21438,25 +18293,20 @@ class SwiftLibrary { } late final __objc_msgSend_603Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedInt, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_603 = __objc_msgSend_603Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.UnsignedInt, + int, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_603 = - __objc_msgSend_603Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ) - >(); + )>(); late final _sel_descriptorWithBoolean_1 = objc.registerName( "descriptorWithBoolean:", @@ -21470,23 +18320,18 @@ class SwiftLibrary { } late final __objc_msgSend_604Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedChar, + )>>('objc_msgSend'); + late final __objc_msgSend_604 = __objc_msgSend_604Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.UnsignedChar, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_604 = - __objc_msgSend_604Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_descriptorWithEnumCode_1 = objc.registerName( "descriptorWithEnumCode:", @@ -21500,23 +18345,18 @@ class SwiftLibrary { } late final __objc_msgSend_605Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedInt, + )>>('objc_msgSend'); + late final __objc_msgSend_605 = __objc_msgSend_605Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.UnsignedInt, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_605 = - __objc_msgSend_605Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_descriptorWithInt32_1 = objc.registerName( "descriptorWithInt32:", @@ -21530,23 +18370,18 @@ class SwiftLibrary { } late final __objc_msgSend_606Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int, + )>>('objc_msgSend'); + late final __objc_msgSend_606 = __objc_msgSend_606Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.Int, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_606 = - __objc_msgSend_606Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_descriptorWithDouble_1 = objc.registerName( "descriptorWithDouble:", @@ -21560,23 +18395,18 @@ class SwiftLibrary { } late final __objc_msgSend_607Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Double, + )>>('objc_msgSend'); + late final __objc_msgSend_607 = __objc_msgSend_607Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.Double, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_607 = - __objc_msgSend_607Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - double, - ) - >(); + double, + )>(); late final _sel_descriptorWithTypeCode_1 = objc.registerName( "descriptorWithTypeCode:", @@ -21593,23 +18423,18 @@ class SwiftLibrary { } late final __objc_msgSend_608Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_608 = __objc_msgSend_608Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_608 = - __objc_msgSend_608Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_descriptorWithDate_1 = objc.registerName( "descriptorWithDate:", @@ -21623,23 +18448,18 @@ class SwiftLibrary { } late final __objc_msgSend_609Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_609 = __objc_msgSend_609Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_609 = - __objc_msgSend_609Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_descriptorWithFileURL_1 = objc.registerName( "descriptorWithFileURL:", @@ -21653,28 +18473,23 @@ class SwiftLibrary { } late final __objc_msgSend_610Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_610 = __objc_msgSend_610Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_610 = - __objc_msgSend_610Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_appleEventWithEventClass_eventID_targetDescriptor_returnID_transactionID_1 = objc.registerName( - "appleEventWithEventClass:eventID:targetDescriptor:returnID:transactionID:", - ); + "appleEventWithEventClass:eventID:targetDescriptor:returnID:transactionID:", + ); ffi.Pointer _objc_msgSend_611( ffi.Pointer obj, ffi.Pointer sel, @@ -21696,31 +18511,26 @@ class SwiftLibrary { } late final __objc_msgSend_611Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedInt, + ffi.UnsignedInt, + ffi.Pointer, + ffi.Short, + ffi.Int, + )>>('objc_msgSend'); + late final __objc_msgSend_611 = __objc_msgSend_611Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.UnsignedInt, - ffi.UnsignedInt, + int, + int, ffi.Pointer, - ffi.Short, - ffi.Int, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_611 = - __objc_msgSend_611Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - int, - ffi.Pointer, - int, - int, - ) - >(); + int, + int, + )>(); late final _sel_listDescriptor1 = objc.registerName("listDescriptor"); late final _sel_recordDescriptor1 = objc.registerName("recordDescriptor"); @@ -21748,23 +18558,18 @@ class SwiftLibrary { } late final __objc_msgSend_612Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_612 = __objc_msgSend_612Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_612 = - __objc_msgSend_612Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_initWithDescriptorType_bytes_length_1 = objc.registerName( "initWithDescriptorType:bytes:length:", @@ -21780,27 +18585,22 @@ class SwiftLibrary { } late final __objc_msgSend_613Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedInt, + ffi.Pointer, + ffi.UnsignedLong, + )>>('objc_msgSend'); + late final __objc_msgSend_613 = __objc_msgSend_613Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, - ffi.UnsignedInt, + int, ffi.Pointer, - ffi.UnsignedLong, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_613 = - __objc_msgSend_613Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_initWithDescriptorType_data_1 = objc.registerName( "initWithDescriptorType:data:", @@ -21815,30 +18615,25 @@ class SwiftLibrary { } late final __objc_msgSend_614Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedInt, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_614 = __objc_msgSend_614Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, - ffi.UnsignedInt, + int, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_614 = - __objc_msgSend_614Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ) - >(); + )>(); late final _sel_initWithEventClass_eventID_targetDescriptor_returnID_transactionID_1 = objc.registerName( - "initWithEventClass:eventID:targetDescriptor:returnID:transactionID:", - ); + "initWithEventClass:eventID:targetDescriptor:returnID:transactionID:", + ); instancetype _objc_msgSend_615( ffi.Pointer obj, ffi.Pointer sel, @@ -21860,31 +18655,26 @@ class SwiftLibrary { } late final __objc_msgSend_615Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedInt, + ffi.UnsignedInt, + ffi.Pointer, + ffi.Short, + ffi.Int, + )>>('objc_msgSend'); + late final __objc_msgSend_615 = __objc_msgSend_615Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, - ffi.UnsignedInt, - ffi.UnsignedInt, + int, + int, ffi.Pointer, - ffi.Short, - ffi.Int, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_615 = - __objc_msgSend_615Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - int, - int, - ffi.Pointer, - int, - int, - ) - >(); + int, + int, + )>(); late final _sel_initListDescriptor1 = objc.registerName("initListDescriptor"); late final _sel_initRecordDescriptor1 = objc.registerName( @@ -21899,21 +18689,16 @@ class SwiftLibrary { } late final __objc_msgSend_616Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_616 = __objc_msgSend_616Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_616 = - __objc_msgSend_616Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_descriptorType1 = objc.registerName("descriptorType"); late final _sel_booleanValue1 = objc.registerName("booleanValue"); @@ -21939,25 +18724,20 @@ class SwiftLibrary { } late final __objc_msgSend_617Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedInt, + )>>('objc_msgSend'); + late final __objc_msgSend_617 = __objc_msgSend_617Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.UnsignedInt, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_617 = - __objc_msgSend_617Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_paramDescriptorForKeyword_1 = objc.registerName( "paramDescriptorForKeyword:", @@ -21971,23 +18751,18 @@ class SwiftLibrary { } late final __objc_msgSend_618Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedInt, + )>>('objc_msgSend'); + late final __objc_msgSend_618 = __objc_msgSend_618Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.UnsignedInt, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_618 = - __objc_msgSend_618Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_removeParamDescriptorWithKeyword_1 = objc.registerName( "removeParamDescriptorWithKeyword:", @@ -22001,23 +18776,18 @@ class SwiftLibrary { } late final __objc_msgSend_619Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedInt, + )>>('objc_msgSend'); + late final __objc_msgSend_619 = __objc_msgSend_619Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, - ffi.UnsignedInt, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_619 = - __objc_msgSend_619Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_setAttributeDescriptor_forKeyword_1 = objc.registerName( "setAttributeDescriptor:forKeyword:", @@ -22039,27 +18809,22 @@ class SwiftLibrary { } late final __objc_msgSend_620Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Double, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_620 = __objc_msgSend_620Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, - ffi.Double, + int, + double, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_620 = - __objc_msgSend_620Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - double, - ffi.Pointer>, - ) - >(); + )>(); late final _sel_isRecordDescriptor1 = objc.registerName("isRecordDescriptor"); late final _sel_numberOfItems1 = objc.registerName("numberOfItems"); @@ -22076,25 +18841,20 @@ class SwiftLibrary { } late final __objc_msgSend_621Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Long, + )>>('objc_msgSend'); + late final __objc_msgSend_621 = __objc_msgSend_621Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Long, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_621 = - __objc_msgSend_621Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_descriptorAtIndex_1 = objc.registerName("descriptorAtIndex:"); ffi.Pointer _objc_msgSend_622( @@ -22106,23 +18866,18 @@ class SwiftLibrary { } late final __objc_msgSend_622Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Long, + )>>('objc_msgSend'); + late final __objc_msgSend_622 = __objc_msgSend_622Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.Long, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_622 = - __objc_msgSend_622Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_removeDescriptorAtIndex_1 = objc.registerName( "removeDescriptorAtIndex:", @@ -22148,23 +18903,18 @@ class SwiftLibrary { } late final __objc_msgSend_623Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedInt Function( + ffi.NativeFunction< + ffi.UnsignedInt Function( + ffi.Pointer, + ffi.Pointer, + ffi.Long, + )>>('objc_msgSend'); + late final __objc_msgSend_623 = __objc_msgSend_623Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, - ffi.Long, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_623 = - __objc_msgSend_623Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_coerceToDescriptorType_1 = objc.registerName( "coerceToDescriptorType:", @@ -22181,23 +18931,18 @@ class SwiftLibrary { } late final __objc_msgSend_624Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_624 = __objc_msgSend_624Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_624 = - __objc_msgSend_624Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_initWithContainerSpecifier_key_1 = objc.registerName( "initWithContainerSpecifier:key:", @@ -22212,25 +18957,20 @@ class SwiftLibrary { } late final __objc_msgSend_625Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_625 = __objc_msgSend_625Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_625 = - __objc_msgSend_625Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _class_NSScriptClassDescription1 = objc.getClass( "NSScriptClassDescription", @@ -22244,23 +18984,18 @@ class SwiftLibrary { } late final __objc_msgSend_626Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_626 = __objc_msgSend_626Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_626 = - __objc_msgSend_626Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_initWithSuiteName_className_dictionary_1 = objc.registerName( "initWithSuiteName:className:dictionary:", @@ -22276,27 +19011,22 @@ class SwiftLibrary { } late final __objc_msgSend_627Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_627 = __objc_msgSend_627Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_627 = - __objc_msgSend_627Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_suiteName1 = objc.registerName("suiteName"); late final _sel_className1 = objc.registerName("className"); @@ -22314,21 +19044,16 @@ class SwiftLibrary { } late final __objc_msgSend_628Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_628 = __objc_msgSend_628Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_628 = - __objc_msgSend_628Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_appleEventCode1 = objc.registerName("appleEventCode"); late final _sel_matchesAppleEventCode_1 = objc.registerName( @@ -22337,8 +19062,8 @@ class SwiftLibrary { late final _class_NSScriptCommandDescription1 = objc.getClass( "NSScriptCommandDescription", ); - late final _sel_initWithSuiteName_commandName_dictionary_1 = objc - .registerName("initWithSuiteName:commandName:dictionary:"); + late final _sel_initWithSuiteName_commandName_dictionary_1 = + objc.registerName("initWithSuiteName:commandName:dictionary:"); late final _sel_commandName1 = objc.registerName("commandName"); late final _sel_appleEventClassCode1 = objc.registerName( "appleEventClassCode", @@ -22364,23 +19089,18 @@ class SwiftLibrary { } late final __objc_msgSend_629Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedInt Function( + ffi.NativeFunction< + ffi.UnsignedInt Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_629 = __objc_msgSend_629Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_629 = - __objc_msgSend_629Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_isOptionalArgumentWithName_1 = objc.registerName( "isOptionalArgumentWithName:", @@ -22398,23 +19118,18 @@ class SwiftLibrary { } late final __objc_msgSend_630Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_630 = __objc_msgSend_630Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_630 = - __objc_msgSend_630Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_commandDescription1 = objc.registerName("commandDescription"); ffi.Pointer _objc_msgSend_631( @@ -22425,21 +19140,16 @@ class SwiftLibrary { } late final __objc_msgSend_631Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_631 = __objc_msgSend_631Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_631 = - __objc_msgSend_631Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_directParameter1 = objc.registerName("directParameter"); late final _sel_setDirectParameter_1 = objc.registerName( @@ -22454,21 +19164,16 @@ class SwiftLibrary { } late final __objc_msgSend_632Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_632 = __objc_msgSend_632Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_632 = - __objc_msgSend_632Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_setReceiversSpecifier_1 = objc.registerName( "setReceiversSpecifier:", @@ -22482,23 +19187,18 @@ class SwiftLibrary { } late final __objc_msgSend_633Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_633 = __objc_msgSend_633Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_633 = - __objc_msgSend_633Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_evaluatedReceivers1 = objc.registerName("evaluatedReceivers"); late final _sel_arguments1 = objc.registerName("arguments"); @@ -22512,23 +19212,18 @@ class SwiftLibrary { } late final __objc_msgSend_634Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_634 = __objc_msgSend_634Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_634 = - __objc_msgSend_634Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_evaluatedArguments1 = objc.registerName("evaluatedArguments"); late final _sel_isWellFormed1 = objc.registerName("isWellFormed"); @@ -22549,23 +19244,18 @@ class SwiftLibrary { } late final __objc_msgSend_635Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Long, + )>>('objc_msgSend'); + late final __objc_msgSend_635 = __objc_msgSend_635Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, - ffi.Long, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_635 = - __objc_msgSend_635Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_scriptErrorOffendingObjectDescriptor1 = objc.registerName( "scriptErrorOffendingObjectDescriptor", @@ -22578,21 +19268,16 @@ class SwiftLibrary { } late final __objc_msgSend_636Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_636 = __objc_msgSend_636Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_636 = - __objc_msgSend_636Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_setScriptErrorOffendingObjectDescriptor_1 = objc.registerName( "setScriptErrorOffendingObjectDescriptor:", @@ -22606,23 +19291,18 @@ class SwiftLibrary { } late final __objc_msgSend_637Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_637 = __objc_msgSend_637Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_637 = - __objc_msgSend_637Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_scriptErrorExpectedTypeDescriptor1 = objc.registerName( "scriptErrorExpectedTypeDescriptor", @@ -22643,21 +19323,16 @@ class SwiftLibrary { } late final __objc_msgSend_638Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_638 = __objc_msgSend_638Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_638 = - __objc_msgSend_638Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_appleEvent1 = objc.registerName("appleEvent"); late final _sel_suspendExecution1 = objc.registerName("suspendExecution"); @@ -22675,21 +19350,16 @@ class SwiftLibrary { } late final __objc_msgSend_639Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_639 = __objc_msgSend_639Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_639 = - __objc_msgSend_639Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_createCommandInstanceWithZone_1 = objc.registerName( "createCommandInstanceWithZone:", @@ -22703,23 +19373,18 @@ class SwiftLibrary { } late final __objc_msgSend_640Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_NSZone>, + )>>('objc_msgSend'); + late final __objc_msgSend_640 = __objc_msgSend_640Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer<_NSZone>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_640 = - __objc_msgSend_640Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_NSZone>, - ) - >(); + )>(); late final _sel_supportsCommand_1 = objc.registerName("supportsCommand:"); bool _objc_msgSend_641( @@ -22731,23 +19396,18 @@ class SwiftLibrary { } late final __objc_msgSend_641Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_641 = __objc_msgSend_641Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_641 = - __objc_msgSend_641Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_selectorForCommand_1 = objc.registerName( "selectorForCommand:", @@ -22761,23 +19421,18 @@ class SwiftLibrary { } late final __objc_msgSend_642Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_642 = __objc_msgSend_642Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_642 = - __objc_msgSend_642Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_typeForKey_1 = objc.registerName("typeForKey:"); late final _sel_classDescriptionForKey_1 = objc.registerName( @@ -22792,23 +19447,18 @@ class SwiftLibrary { } late final __objc_msgSend_643Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_643 = __objc_msgSend_643Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_643 = - __objc_msgSend_643Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_appleEventCodeForKey_1 = objc.registerName( "appleEventCodeForKey:", @@ -22825,23 +19475,18 @@ class SwiftLibrary { } late final __objc_msgSend_644Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedInt, + )>>('objc_msgSend'); + late final __objc_msgSend_644 = __objc_msgSend_644Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.UnsignedInt, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_644 = - __objc_msgSend_644Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_defaultSubcontainerAttributeKey1 = objc.registerName( "defaultSubcontainerAttributeKey", @@ -22862,8 +19507,8 @@ class SwiftLibrary { late final _sel_isReadOnlyKey_1 = objc.registerName("isReadOnlyKey:"); late final _sel_initWithContainerClassDescription_containerSpecifier_key_1 = objc.registerName( - "initWithContainerClassDescription:containerSpecifier:key:", - ); + "initWithContainerClassDescription:containerSpecifier:key:", + ); instancetype _objc_msgSend_645( ffi.Pointer obj, ffi.Pointer sel, @@ -22875,27 +19520,22 @@ class SwiftLibrary { } late final __objc_msgSend_645Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_645 = __objc_msgSend_645Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_645 = - __objc_msgSend_645Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_childSpecifier1 = objc.registerName("childSpecifier"); late final _sel_setChildSpecifier_1 = objc.registerName("setChildSpecifier:"); @@ -22926,23 +19566,18 @@ class SwiftLibrary { } late final __objc_msgSend_646Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_646 = __objc_msgSend_646Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_646 = - __objc_msgSend_646Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_containerClassDescription1 = objc.registerName( "containerClassDescription", @@ -22959,29 +19594,24 @@ class SwiftLibrary { } late final __objc_msgSend_647Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_647 = __objc_msgSend_647Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_647 = - __objc_msgSend_647Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_keyClassDescription1 = objc.registerName( "keyClassDescription", ); - late final _sel_indicesOfObjectsByEvaluatingWithContainer_count_1 = objc - .registerName("indicesOfObjectsByEvaluatingWithContainer:count:"); + late final _sel_indicesOfObjectsByEvaluatingWithContainer_count_1 = + objc.registerName("indicesOfObjectsByEvaluatingWithContainer:count:"); ffi.Pointer _objc_msgSend_648( ffi.Pointer obj, ffi.Pointer sel, @@ -22992,25 +19622,20 @@ class SwiftLibrary { } late final __objc_msgSend_648Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_648 = __objc_msgSend_648Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_648 = - __objc_msgSend_648Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_objectsByEvaluatingWithContainers_1 = objc.registerName( "objectsByEvaluatingWithContainers:", @@ -23040,23 +19665,18 @@ class SwiftLibrary { } late final __objc_msgSend_649Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_649 = __objc_msgSend_649Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_649 = - __objc_msgSend_649Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_scriptingProperties1 = objc.registerName( "scriptingProperties", @@ -23064,8 +19684,8 @@ class SwiftLibrary { late final _sel_setScriptingProperties_1 = objc.registerName( "setScriptingProperties:", ); - late final _sel_copyScriptingValue_forKey_withProperties_1 = objc - .registerName("copyScriptingValue:forKey:withProperties:"); + late final _sel_copyScriptingValue_forKey_withProperties_1 = + objc.registerName("copyScriptingValue:forKey:withProperties:"); ffi.Pointer _objc_msgSend_650( ffi.Pointer obj, ffi.Pointer sel, @@ -23077,32 +19697,27 @@ class SwiftLibrary { } late final __objc_msgSend_650Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_650 = __objc_msgSend_650Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_650 = - __objc_msgSend_650Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_newScriptingObjectOfClass_forValueForKey_withContentsValue_properties_1 = objc.registerName( - "newScriptingObjectOfClass:forValueForKey:withContentsValue:properties:", - ); + "newScriptingObjectOfClass:forValueForKey:withContentsValue:properties:", + ); ffi.Pointer _objc_msgSend_651( ffi.Pointer obj, ffi.Pointer sel, @@ -23122,7 +19737,16 @@ class SwiftLibrary { } late final __objc_msgSend_651Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_651 = __objc_msgSend_651Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, @@ -23130,21 +19754,7 @@ class SwiftLibrary { ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_651 = - __objc_msgSend_651Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_classCode1 = objc.registerName("classCode"); late final _sel_valueAtIndex_inPropertyWithKey_1 = objc.registerName( @@ -23160,25 +19770,20 @@ class SwiftLibrary { } late final __objc_msgSend_652Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_652 = __objc_msgSend_652Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, + int, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_652 = - __objc_msgSend_652Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ) - >(); + )>(); late final _sel_valueWithName_inPropertyWithKey_1 = objc.registerName( "valueWithName:inPropertyWithKey:", @@ -23200,27 +19805,22 @@ class SwiftLibrary { } late final __objc_msgSend_653Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_653 = __objc_msgSend_653Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, + int, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_653 = - __objc_msgSend_653Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ) - >(); + )>(); late final _sel_removeValueAtIndex_fromPropertyWithKey_1 = objc.registerName( "removeValueAtIndex:fromPropertyWithKey:", @@ -23235,28 +19835,23 @@ class SwiftLibrary { } late final __objc_msgSend_654Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_654 = __objc_msgSend_654Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, + int, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_654 = - __objc_msgSend_654Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ) - >(); + )>(); - late final _sel_replaceValueAtIndex_inPropertyWithKey_withValue_1 = objc - .registerName("replaceValueAtIndex:inPropertyWithKey:withValue:"); + late final _sel_replaceValueAtIndex_inPropertyWithKey_withValue_1 = + objc.registerName("replaceValueAtIndex:inPropertyWithKey:withValue:"); void _objc_msgSend_655( ffi.Pointer obj, ffi.Pointer sel, @@ -23268,27 +19863,22 @@ class SwiftLibrary { } late final __objc_msgSend_655Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_655 = __objc_msgSend_655Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, + int, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_655 = - __objc_msgSend_655Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_insertValue_inPropertyWithKey_1 = objc.registerName( "insertValue:inPropertyWithKey:", @@ -23303,25 +19893,20 @@ class SwiftLibrary { } late final __objc_msgSend_656Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_656 = __objc_msgSend_656Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_656 = - __objc_msgSend_656Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_coerceValue_forKey_1 = objc.registerName( "coerceValue:forKey:", @@ -23336,29 +19921,24 @@ class SwiftLibrary { } late final __objc_msgSend_657Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_657 = __objc_msgSend_657Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_657 = - __objc_msgSend_657Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_objectSpecifier1 = objc.registerName("objectSpecifier"); - late final _sel_indicesOfObjectsByEvaluatingObjectSpecifier_1 = objc - .registerName("indicesOfObjectsByEvaluatingObjectSpecifier:"); + late final _sel_indicesOfObjectsByEvaluatingObjectSpecifier_1 = + objc.registerName("indicesOfObjectsByEvaluatingObjectSpecifier:"); ffi.Pointer _objc_msgSend_658( ffi.Pointer obj, ffi.Pointer sel, @@ -23368,23 +19948,18 @@ class SwiftLibrary { } late final __objc_msgSend_658Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_658 = __objc_msgSend_658Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_658 = - __objc_msgSend_658Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_isEqualTo_1 = objc.registerName("isEqualTo:"); late final _sel_isLessThanOrEqualTo_1 = objc.registerName( @@ -23432,21 +20007,16 @@ class SwiftLibrary { } late final __objc_msgSend_659Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_659 = __objc_msgSend_659Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_659 = - __objc_msgSend_659Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_progressWithTotalUnitCount_1 = objc.registerName( "progressWithTotalUnitCount:", @@ -23460,29 +20030,24 @@ class SwiftLibrary { } late final __objc_msgSend_660Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int64, + )>>('objc_msgSend'); + late final __objc_msgSend_660 = __objc_msgSend_660Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.Int64, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_660 = - __objc_msgSend_660Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_discreteProgressWithTotalUnitCount_1 = objc.registerName( "discreteProgressWithTotalUnitCount:", ); - late final _sel_progressWithTotalUnitCount_parent_pendingUnitCount_1 = objc - .registerName("progressWithTotalUnitCount:parent:pendingUnitCount:"); + late final _sel_progressWithTotalUnitCount_parent_pendingUnitCount_1 = + objc.registerName("progressWithTotalUnitCount:parent:pendingUnitCount:"); ffi.Pointer _objc_msgSend_661( ffi.Pointer obj, ffi.Pointer sel, @@ -23500,27 +20065,22 @@ class SwiftLibrary { } late final __objc_msgSend_661Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int64, + ffi.Pointer, + ffi.Int64, + )>>('objc_msgSend'); + late final __objc_msgSend_661 = __objc_msgSend_661Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.Int64, + int, ffi.Pointer, - ffi.Int64, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_661 = - __objc_msgSend_661Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_initWithParent_userInfo_1 = objc.registerName( "initWithParent:userInfo:", @@ -23535,25 +20095,20 @@ class SwiftLibrary { } late final __objc_msgSend_662Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_662 = __objc_msgSend_662Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_662 = - __objc_msgSend_662Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_becomeCurrentWithPendingUnitCount_1 = objc.registerName( "becomeCurrentWithPendingUnitCount:", @@ -23567,26 +20122,21 @@ class SwiftLibrary { } late final __objc_msgSend_663Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int64, + )>>('objc_msgSend'); + late final __objc_msgSend_663 = __objc_msgSend_663Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, - ffi.Int64, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_663 = - __objc_msgSend_663Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); - late final _sel_performAsCurrentWithPendingUnitCount_usingBlock_1 = objc - .registerName("performAsCurrentWithPendingUnitCount:usingBlock:"); + late final _sel_performAsCurrentWithPendingUnitCount_usingBlock_1 = + objc.registerName("performAsCurrentWithPendingUnitCount:usingBlock:"); void _objc_msgSend_664( ffi.Pointer obj, ffi.Pointer sel, @@ -23597,25 +20147,20 @@ class SwiftLibrary { } late final __objc_msgSend_664Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int64, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_664 = __objc_msgSend_664Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, - ffi.Int64, + int, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_664 = - __objc_msgSend_664Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ) - >(); + )>(); late final _sel_resignCurrent1 = objc.registerName("resignCurrent"); late final _sel_addChild_withPendingUnitCount_1 = objc.registerName( @@ -23631,25 +20176,20 @@ class SwiftLibrary { } late final __objc_msgSend_665Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int64, + )>>('objc_msgSend'); + late final __objc_msgSend_665 = __objc_msgSend_665Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int64, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_665 = - __objc_msgSend_665Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_totalUnitCount1 = objc.registerName("totalUnitCount"); int _objc_msgSend_666( @@ -23660,21 +20200,16 @@ class SwiftLibrary { } late final __objc_msgSend_666Ptr = _lookup< - ffi.NativeFunction< - ffi.Int64 Function( + ffi.NativeFunction< + ffi.Int64 Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_666 = __objc_msgSend_666Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_666 = - __objc_msgSend_666Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_setTotalUnitCount_1 = objc.registerName("setTotalUnitCount:"); void _objc_msgSend_667( @@ -23686,23 +20221,18 @@ class SwiftLibrary { } late final __objc_msgSend_667Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int64, + )>>('objc_msgSend'); + late final __objc_msgSend_667 = __objc_msgSend_667Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, - ffi.Int64, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_667 = - __objc_msgSend_667Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_completedUnitCount1 = objc.registerName("completedUnitCount"); late final _sel_setCompletedUnitCount_1 = objc.registerName( @@ -23733,21 +20263,16 @@ class SwiftLibrary { } late final __objc_msgSend_668Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_668 = __objc_msgSend_668Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_668 = - __objc_msgSend_668Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_setCancellationHandler_1 = objc.registerName( "setCancellationHandler:", @@ -23761,23 +20286,18 @@ class SwiftLibrary { } late final __objc_msgSend_669Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_669 = __objc_msgSend_669Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_669 = - __objc_msgSend_669Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_pausingHandler1 = objc.registerName("pausingHandler"); late final _sel_setPausingHandler_1 = objc.registerName("setPausingHandler:"); @@ -23809,23 +20329,18 @@ class SwiftLibrary { } late final __objc_msgSend_670Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_670 = __objc_msgSend_670Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_670 = - __objc_msgSend_670Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_throughput1 = objc.registerName("throughput"); late final _sel_setThroughput_1 = objc.registerName("setThroughput:"); @@ -23844,23 +20359,18 @@ class SwiftLibrary { } late final __objc_msgSend_671Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_671 = __objc_msgSend_671Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_671 = - __objc_msgSend_671Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_fileTotalCount1 = objc.registerName("fileTotalCount"); late final _sel_setFileTotalCount_1 = objc.registerName("setFileTotalCount:"); @@ -23870,8 +20380,8 @@ class SwiftLibrary { ); late final _sel_publish1 = objc.registerName("publish"); late final _sel_unpublish1 = objc.registerName("unpublish"); - late final _sel_addSubscriberForFileURL_withPublishingHandler_1 = objc - .registerName("addSubscriberForFileURL:withPublishingHandler:"); + late final _sel_addSubscriberForFileURL_withPublishingHandler_1 = + objc.registerName("addSubscriberForFileURL:withPublishingHandler:"); ffi.Pointer _objc_msgSend_672( ffi.Pointer obj, ffi.Pointer sel, @@ -23882,32 +20392,27 @@ class SwiftLibrary { } late final __objc_msgSend_672Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_672 = __objc_msgSend_672Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_672 = - __objc_msgSend_672Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_removeSubscriber_1 = objc.registerName("removeSubscriber:"); late final _sel_isOld1 = objc.registerName("isOld"); late final _sel_registerDataRepresentationForTypeIdentifier_visibility_loadHandler_1 = objc.registerName( - "registerDataRepresentationForTypeIdentifier:visibility:loadHandler:", - ); + "registerDataRepresentationForTypeIdentifier:visibility:loadHandler:", + ); void _objc_msgSend_673( ffi.Pointer obj, ffi.Pointer sel, @@ -23925,32 +20430,27 @@ class SwiftLibrary { } late final __objc_msgSend_673Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_673 = __objc_msgSend_673Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_673 = - __objc_msgSend_673Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ) - >(); + )>(); late final _sel_registerFileRepresentationForTypeIdentifier_fileOptions_visibility_loadHandler_1 = objc.registerName( - "registerFileRepresentationForTypeIdentifier:fileOptions:visibility:loadHandler:", - ); + "registerFileRepresentationForTypeIdentifier:fileOptions:visibility:loadHandler:", + ); void _objc_msgSend_674( ffi.Pointer obj, ffi.Pointer sel, @@ -23970,35 +20470,30 @@ class SwiftLibrary { } late final __objc_msgSend_674Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Int32, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_674 = __objc_msgSend_674Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, - ffi.Int32, + int, + int, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_674 = - __objc_msgSend_674Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - int, - ffi.Pointer, - ) - >(); + )>(); late final _sel_registeredTypeIdentifiers1 = objc.registerName( "registeredTypeIdentifiers", ); - late final _sel_registeredTypeIdentifiersWithFileOptions_1 = objc - .registerName("registeredTypeIdentifiersWithFileOptions:"); + late final _sel_registeredTypeIdentifiersWithFileOptions_1 = + objc.registerName("registeredTypeIdentifiersWithFileOptions:"); ffi.Pointer _objc_msgSend_675( ffi.Pointer obj, ffi.Pointer sel, @@ -24008,31 +20503,26 @@ class SwiftLibrary { } late final __objc_msgSend_675Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + )>>('objc_msgSend'); + late final __objc_msgSend_675 = __objc_msgSend_675Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_675 = - __objc_msgSend_675Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_hasItemConformingToTypeIdentifier_1 = objc.registerName( "hasItemConformingToTypeIdentifier:", ); late final _sel_hasRepresentationConformingToTypeIdentifier_fileOptions_1 = objc.registerName( - "hasRepresentationConformingToTypeIdentifier:fileOptions:", - ); + "hasRepresentationConformingToTypeIdentifier:fileOptions:", + ); bool _objc_msgSend_676( ffi.Pointer obj, ffi.Pointer sel, @@ -24043,30 +20533,25 @@ class SwiftLibrary { } late final __objc_msgSend_676Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + )>>('objc_msgSend'); + late final __objc_msgSend_676 = __objc_msgSend_676Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_676 = - __objc_msgSend_676Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_loadDataRepresentationForTypeIdentifier_completionHandler_1 = objc.registerName( - "loadDataRepresentationForTypeIdentifier:completionHandler:", - ); + "loadDataRepresentationForTypeIdentifier:completionHandler:", + ); ffi.Pointer _objc_msgSend_677( ffi.Pointer obj, ffi.Pointer sel, @@ -24077,30 +20562,25 @@ class SwiftLibrary { } late final __objc_msgSend_677Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_677 = __objc_msgSend_677Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_677 = - __objc_msgSend_677Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_loadFileRepresentationForTypeIdentifier_completionHandler_1 = objc.registerName( - "loadFileRepresentationForTypeIdentifier:completionHandler:", - ); + "loadFileRepresentationForTypeIdentifier:completionHandler:", + ); ffi.Pointer _objc_msgSend_678( ffi.Pointer obj, ffi.Pointer sel, @@ -24111,30 +20591,25 @@ class SwiftLibrary { } late final __objc_msgSend_678Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_678 = __objc_msgSend_678Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_678 = - __objc_msgSend_678Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_loadInPlaceFileRepresentationForTypeIdentifier_completionHandler_1 = objc.registerName( - "loadInPlaceFileRepresentationForTypeIdentifier:completionHandler:", - ); + "loadInPlaceFileRepresentationForTypeIdentifier:completionHandler:", + ); ffi.Pointer _objc_msgSend_679( ffi.Pointer obj, ffi.Pointer sel, @@ -24145,25 +20620,20 @@ class SwiftLibrary { } late final __objc_msgSend_679Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_679 = __objc_msgSend_679Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_679 = - __objc_msgSend_679Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_suggestedName1 = objc.registerName("suggestedName"); late final _sel_setSuggestedName_1 = objc.registerName("setSuggestedName:"); @@ -24180,28 +20650,23 @@ class SwiftLibrary { } late final __objc_msgSend_680Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + )>>('objc_msgSend'); + late final __objc_msgSend_680 = __objc_msgSend_680Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_680 = - __objc_msgSend_680Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); - late final _sel_registerObjectOfClass_visibility_loadHandler_1 = objc - .registerName("registerObjectOfClass:visibility:loadHandler:"); + late final _sel_registerObjectOfClass_visibility_loadHandler_1 = + objc.registerName("registerObjectOfClass:visibility:loadHandler:"); void _objc_msgSend_681( ffi.Pointer obj, ffi.Pointer sel, @@ -24213,27 +20678,22 @@ class SwiftLibrary { } late final __objc_msgSend_681Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_681 = __objc_msgSend_681Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_681 = - __objc_msgSend_681Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ) - >(); + )>(); late final _sel_canLoadObjectOfClass_1 = objc.registerName( "canLoadObjectOfClass:", @@ -24251,25 +20711,20 @@ class SwiftLibrary { } late final __objc_msgSend_682Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_682 = __objc_msgSend_682Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_682 = - __objc_msgSend_682Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_initWithItem_typeIdentifier_1 = objc.registerName( "initWithItem:typeIdentifier:", @@ -24284,28 +20739,23 @@ class SwiftLibrary { } late final __objc_msgSend_683Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_683 = __objc_msgSend_683Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_683 = - __objc_msgSend_683Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); - late final _sel_registerItemForTypeIdentifier_loadHandler_1 = objc - .registerName("registerItemForTypeIdentifier:loadHandler:"); + late final _sel_registerItemForTypeIdentifier_loadHandler_1 = + objc.registerName("registerItemForTypeIdentifier:loadHandler:"); void _objc_msgSend_684( ffi.Pointer obj, ffi.Pointer sel, @@ -24316,28 +20766,23 @@ class SwiftLibrary { } late final __objc_msgSend_684Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_684 = __objc_msgSend_684Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_684 = - __objc_msgSend_684Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); - late final _sel_loadItemForTypeIdentifier_options_completionHandler_1 = objc - .registerName("loadItemForTypeIdentifier:options:completionHandler:"); + late final _sel_loadItemForTypeIdentifier_options_completionHandler_1 = + objc.registerName("loadItemForTypeIdentifier:options:completionHandler:"); void _objc_msgSend_685( ffi.Pointer obj, ffi.Pointer sel, @@ -24355,27 +20800,22 @@ class SwiftLibrary { } late final __objc_msgSend_685Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_685 = __objc_msgSend_685Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_685 = - __objc_msgSend_685Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_previewImageHandler1 = objc.registerName( "previewImageHandler", @@ -24388,21 +20828,16 @@ class SwiftLibrary { } late final __objc_msgSend_686Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_686 = __objc_msgSend_686Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_686 = - __objc_msgSend_686Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_setPreviewImageHandler_1 = objc.registerName( "setPreviewImageHandler:", @@ -24416,26 +20851,21 @@ class SwiftLibrary { } late final __objc_msgSend_687Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_687 = __objc_msgSend_687Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_687 = - __objc_msgSend_687Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); - late final _sel_loadPreviewImageWithOptions_completionHandler_1 = objc - .registerName("loadPreviewImageWithOptions:completionHandler:"); + late final _sel_loadPreviewImageWithOptions_completionHandler_1 = + objc.registerName("loadPreviewImageWithOptions:completionHandler:"); void _objc_msgSend_688( ffi.Pointer obj, ffi.Pointer sel, @@ -24446,25 +20876,20 @@ class SwiftLibrary { } late final __objc_msgSend_688Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_688 = __objc_msgSend_688Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_688 = - __objc_msgSend_688Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _class_NSMutableString1 = objc.getClass("NSMutableString"); late final _sel_replaceCharactersInRange_withString_1 = objc.registerName( @@ -24480,25 +20905,20 @@ class SwiftLibrary { } late final __objc_msgSend_689Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_689 = __objc_msgSend_689Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, _NSRange, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_689 = - __objc_msgSend_689Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - ) - >(); + )>(); late final _sel_insertString_atIndex_1 = objc.registerName( "insertString:atIndex:", @@ -24513,25 +20933,20 @@ class SwiftLibrary { } late final __objc_msgSend_690Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + )>>('objc_msgSend'); + late final __objc_msgSend_690 = __objc_msgSend_690Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_690 = - __objc_msgSend_690Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_deleteCharactersInRange_1 = objc.registerName( "deleteCharactersInRange:", @@ -24539,8 +20954,8 @@ class SwiftLibrary { late final _sel_appendString_1 = objc.registerName("appendString:"); late final _sel_appendFormat_1 = objc.registerName("appendFormat:"); late final _sel_setString_1 = objc.registerName("setString:"); - late final _sel_replaceOccurrencesOfString_withString_options_range_1 = objc - .registerName("replaceOccurrencesOfString:withString:options:range:"); + late final _sel_replaceOccurrencesOfString_withString_options_range_1 = + objc.registerName("replaceOccurrencesOfString:withString:options:range:"); int _objc_msgSend_691( ffi.Pointer obj, ffi.Pointer sel, @@ -24560,32 +20975,27 @@ class SwiftLibrary { } late final __objc_msgSend_691Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedLong Function( + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + _NSRange, + )>>('objc_msgSend'); + late final __objc_msgSend_691 = __objc_msgSend_691Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, _NSRange, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_691 = - __objc_msgSend_691Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - _NSRange, - ) - >(); + )>(); - late final _sel_applyTransform_reverse_range_updatedRange_1 = objc - .registerName("applyTransform:reverse:range:updatedRange:"); + late final _sel_applyTransform_reverse_range_updatedRange_1 = + objc.registerName("applyTransform:reverse:range:updatedRange:"); bool _objc_msgSend_692( ffi.Pointer obj, ffi.Pointer sel, @@ -24605,29 +21015,24 @@ class SwiftLibrary { } late final __objc_msgSend_692Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + _NSRange, + ffi.Pointer<_NSRange>, + )>>('objc_msgSend'); + late final __objc_msgSend_692 = __objc_msgSend_692Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Bool, + bool, _NSRange, ffi.Pointer<_NSRange>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_692 = - __objc_msgSend_692Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - _NSRange, - ffi.Pointer<_NSRange>, - ) - >(); + )>(); ffi.Pointer _objc_msgSend_693( ffi.Pointer obj, @@ -24638,23 +21043,18 @@ class SwiftLibrary { } late final __objc_msgSend_693Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + )>>('objc_msgSend'); + late final __objc_msgSend_693 = __objc_msgSend_693Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_693 = - __objc_msgSend_693Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_stringWithCapacity_1 = objc.registerName( "stringWithCapacity:", @@ -24675,27 +21075,22 @@ class SwiftLibrary { } late final __objc_msgSend_694Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_694 = __objc_msgSend_694Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_694 = - __objc_msgSend_694Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_notificationWithName_object_1 = objc.registerName( "notificationWithName:object:", @@ -24713,21 +21108,16 @@ class SwiftLibrary { } late final __objc_msgSend_695Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_695 = __objc_msgSend_695Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_695 = - __objc_msgSend_695Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_bundleWithPath_1 = objc.registerName("bundleWithPath:"); late final _sel_initWithPath_1 = objc.registerName("initWithPath:"); @@ -24743,23 +21133,18 @@ class SwiftLibrary { } late final __objc_msgSend_696Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_696 = __objc_msgSend_696Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_696 = - __objc_msgSend_696Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_bundleWithIdentifier_1 = objc.registerName( "bundleWithIdentifier:", @@ -24773,23 +21158,18 @@ class SwiftLibrary { } late final __objc_msgSend_697Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_697 = __objc_msgSend_697Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_697 = - __objc_msgSend_697Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_allBundles1 = objc.registerName("allBundles"); late final _sel_allFrameworks1 = objc.registerName("allFrameworks"); @@ -24832,8 +21212,8 @@ class SwiftLibrary { late final _sel_builtInPlugInsPath1 = objc.registerName("builtInPlugInsPath"); late final _sel_URLForResource_withExtension_subdirectory_inBundleWithURL_1 = objc.registerName( - "URLForResource:withExtension:subdirectory:inBundleWithURL:", - ); + "URLForResource:withExtension:subdirectory:inBundleWithURL:", + ); ffi.Pointer _objc_msgSend_698( ffi.Pointer obj, ffi.Pointer sel, @@ -24846,7 +21226,16 @@ class SwiftLibrary { } late final __objc_msgSend_698Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_698 = __objc_msgSend_698Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, @@ -24854,26 +21243,12 @@ class SwiftLibrary { ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_698 = - __objc_msgSend_698Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_URLsForResourcesWithExtension_subdirectory_inBundleWithURL_1 = objc.registerName( - "URLsForResourcesWithExtension:subdirectory:inBundleWithURL:", - ); + "URLsForResourcesWithExtension:subdirectory:inBundleWithURL:", + ); ffi.Pointer _objc_msgSend_699( ffi.Pointer obj, ffi.Pointer sel, @@ -24885,27 +21260,22 @@ class SwiftLibrary { } late final __objc_msgSend_699Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_699 = __objc_msgSend_699Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_699 = - __objc_msgSend_699Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_URLForResource_withExtension_1 = objc.registerName( "URLForResource:withExtension:", @@ -24920,28 +21290,23 @@ class SwiftLibrary { } late final __objc_msgSend_700Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_700 = __objc_msgSend_700Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_700 = - __objc_msgSend_700Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); - late final _sel_URLForResource_withExtension_subdirectory_1 = objc - .registerName("URLForResource:withExtension:subdirectory:"); + late final _sel_URLForResource_withExtension_subdirectory_1 = + objc.registerName("URLForResource:withExtension:subdirectory:"); ffi.Pointer _objc_msgSend_701( ffi.Pointer obj, ffi.Pointer sel, @@ -24953,32 +21318,27 @@ class SwiftLibrary { } late final __objc_msgSend_701Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_701 = __objc_msgSend_701Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_701 = - __objc_msgSend_701Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_URLForResource_withExtension_subdirectory_localization_1 = objc.registerName( - "URLForResource:withExtension:subdirectory:localization:", - ); + "URLForResource:withExtension:subdirectory:localization:", + ); ffi.Pointer _objc_msgSend_702( ffi.Pointer obj, ffi.Pointer sel, @@ -24991,7 +21351,16 @@ class SwiftLibrary { } late final __objc_msgSend_702Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_702 = __objc_msgSend_702Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, @@ -24999,24 +21368,10 @@ class SwiftLibrary { ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_702 = - __objc_msgSend_702Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); - late final _sel_URLsForResourcesWithExtension_subdirectory_1 = objc - .registerName("URLsForResourcesWithExtension:subdirectory:"); + late final _sel_URLsForResourcesWithExtension_subdirectory_1 = + objc.registerName("URLsForResourcesWithExtension:subdirectory:"); ffi.Pointer _objc_msgSend_703( ffi.Pointer obj, ffi.Pointer sel, @@ -25027,30 +21382,25 @@ class SwiftLibrary { } late final __objc_msgSend_703Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_703 = __objc_msgSend_703Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_703 = - __objc_msgSend_703Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_URLsForResourcesWithExtension_subdirectory_localization_1 = objc.registerName( - "URLsForResourcesWithExtension:subdirectory:localization:", - ); + "URLsForResourcesWithExtension:subdirectory:localization:", + ); ffi.Pointer _objc_msgSend_704( ffi.Pointer obj, ffi.Pointer sel, @@ -25062,27 +21412,22 @@ class SwiftLibrary { } late final __objc_msgSend_704Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_704 = __objc_msgSend_704Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_704 = - __objc_msgSend_704Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_pathForResource_ofType_inDirectory_1 = objc.registerName( "pathForResource:ofType:inDirectory:", @@ -25098,27 +21443,22 @@ class SwiftLibrary { } late final __objc_msgSend_705Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_705 = __objc_msgSend_705Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_705 = - __objc_msgSend_705Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_pathsForResourcesOfType_inDirectory_1 = objc.registerName( "pathsForResourcesOfType:inDirectory:", @@ -25133,25 +21473,20 @@ class SwiftLibrary { } late final __objc_msgSend_706Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_706 = __objc_msgSend_706Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_706 = - __objc_msgSend_706Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_pathForResource_ofType_1 = objc.registerName( "pathForResource:ofType:", @@ -25166,28 +21501,23 @@ class SwiftLibrary { } late final __objc_msgSend_707Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_707 = __objc_msgSend_707Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_707 = - __objc_msgSend_707Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); - late final _sel_pathForResource_ofType_inDirectory_forLocalization_1 = objc - .registerName("pathForResource:ofType:inDirectory:forLocalization:"); + late final _sel_pathForResource_ofType_inDirectory_forLocalization_1 = + objc.registerName("pathForResource:ofType:inDirectory:forLocalization:"); ffi.Pointer _objc_msgSend_708( ffi.Pointer obj, ffi.Pointer sel, @@ -25200,7 +21530,16 @@ class SwiftLibrary { } late final __objc_msgSend_708Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_708 = __objc_msgSend_708Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, @@ -25208,24 +21547,10 @@ class SwiftLibrary { ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_708 = - __objc_msgSend_708Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); - late final _sel_pathsForResourcesOfType_inDirectory_forLocalization_1 = objc - .registerName("pathsForResourcesOfType:inDirectory:forLocalization:"); + late final _sel_pathsForResourcesOfType_inDirectory_forLocalization_1 = + objc.registerName("pathsForResourcesOfType:inDirectory:forLocalization:"); ffi.Pointer _objc_msgSend_709( ffi.Pointer obj, ffi.Pointer sel, @@ -25237,27 +21562,22 @@ class SwiftLibrary { } late final __objc_msgSend_709Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_709 = __objc_msgSend_709Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_709 = - __objc_msgSend_709Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_localizedStringForKey_value_table_1 = objc.registerName( "localizedStringForKey:value:table:", @@ -25273,27 +21593,22 @@ class SwiftLibrary { } late final __objc_msgSend_710Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_710 = __objc_msgSend_710Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_710 = - __objc_msgSend_710Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _class_NSAttributedString1 = objc.getClass("NSAttributedString"); late final _sel_attributesAtIndex_effectiveRange_1 = objc.registerName( @@ -25309,25 +21624,20 @@ class SwiftLibrary { } late final __objc_msgSend_711Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer<_NSRange>, + )>>('objc_msgSend'); + late final __objc_msgSend_711 = __objc_msgSend_711Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, + int, ffi.Pointer<_NSRange>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_711 = - __objc_msgSend_711Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer<_NSRange>, - ) - >(); + )>(); late final _sel_attribute_atIndex_effectiveRange_1 = objc.registerName( "attribute:atIndex:effectiveRange:", @@ -25343,27 +21653,22 @@ class SwiftLibrary { } late final __objc_msgSend_712Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer<_NSRange>, + )>>('objc_msgSend'); + late final __objc_msgSend_712 = __objc_msgSend_712Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, + int, ffi.Pointer<_NSRange>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_712 = - __objc_msgSend_712Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer<_NSRange>, - ) - >(); + )>(); late final _sel_attributedSubstringFromRange_1 = objc.registerName( "attributedSubstringFromRange:", @@ -25377,26 +21682,21 @@ class SwiftLibrary { } late final __objc_msgSend_713Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + )>>('objc_msgSend'); + late final __objc_msgSend_713 = __objc_msgSend_713Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, _NSRange, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_713 = - __objc_msgSend_713Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ) - >(); + )>(); - late final _sel_attributesAtIndex_longestEffectiveRange_inRange_1 = objc - .registerName("attributesAtIndex:longestEffectiveRange:inRange:"); + late final _sel_attributesAtIndex_longestEffectiveRange_inRange_1 = + objc.registerName("attributesAtIndex:longestEffectiveRange:inRange:"); ffi.Pointer _objc_msgSend_714( ffi.Pointer obj, ffi.Pointer sel, @@ -25408,30 +21708,25 @@ class SwiftLibrary { } late final __objc_msgSend_714Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer<_NSRange>, + _NSRange, + )>>('objc_msgSend'); + late final __objc_msgSend_714 = __objc_msgSend_714Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, + int, ffi.Pointer<_NSRange>, _NSRange, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_714 = - __objc_msgSend_714Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer<_NSRange>, - _NSRange, - ) - >(); + )>(); - late final _sel_attribute_atIndex_longestEffectiveRange_inRange_1 = objc - .registerName("attribute:atIndex:longestEffectiveRange:inRange:"); + late final _sel_attribute_atIndex_longestEffectiveRange_inRange_1 = + objc.registerName("attribute:atIndex:longestEffectiveRange:inRange:"); ffi.Pointer _objc_msgSend_715( ffi.Pointer obj, ffi.Pointer sel, @@ -25444,29 +21739,24 @@ class SwiftLibrary { } late final __objc_msgSend_715Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer<_NSRange>, + _NSRange, + )>>('objc_msgSend'); + late final __objc_msgSend_715 = __objc_msgSend_715Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, + int, ffi.Pointer<_NSRange>, _NSRange, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_715 = - __objc_msgSend_715Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer<_NSRange>, - _NSRange, - ) - >(); + )>(); late final _sel_isEqualToAttributedString_1 = objc.registerName( "isEqualToAttributedString:", @@ -25480,23 +21770,18 @@ class SwiftLibrary { } late final __objc_msgSend_716Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_716 = __objc_msgSend_716Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_716 = - __objc_msgSend_716Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_initWithString_attributes_1 = objc.registerName( "initWithString:attributes:", @@ -25511,25 +21796,20 @@ class SwiftLibrary { } late final __objc_msgSend_717Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_717 = __objc_msgSend_717Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_717 = - __objc_msgSend_717Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_initWithAttributedString_1 = objc.registerName( "initWithAttributedString:", @@ -25543,26 +21823,21 @@ class SwiftLibrary { } late final __objc_msgSend_718Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_718 = __objc_msgSend_718Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_718 = - __objc_msgSend_718Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); - late final _sel_enumerateAttributesInRange_options_usingBlock_1 = objc - .registerName("enumerateAttributesInRange:options:usingBlock:"); + late final _sel_enumerateAttributesInRange_options_usingBlock_1 = + objc.registerName("enumerateAttributesInRange:options:usingBlock:"); void _objc_msgSend_719( ffi.Pointer obj, ffi.Pointer sel, @@ -25574,30 +21849,25 @@ class SwiftLibrary { } late final __objc_msgSend_719Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Int32, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_719 = __objc_msgSend_719Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, _NSRange, - ffi.Int32, + int, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_719 = - __objc_msgSend_719Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - int, - ffi.Pointer, - ) - >(); + )>(); - late final _sel_enumerateAttribute_inRange_options_usingBlock_1 = objc - .registerName("enumerateAttribute:inRange:options:usingBlock:"); + late final _sel_enumerateAttribute_inRange_options_usingBlock_1 = + objc.registerName("enumerateAttribute:inRange:options:usingBlock:"); void _objc_msgSend_720( ffi.Pointer obj, ffi.Pointer sel, @@ -25617,29 +21887,24 @@ class SwiftLibrary { } late final __objc_msgSend_720Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Int32, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_720 = __objc_msgSend_720Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, _NSRange, - ffi.Int32, + int, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_720 = - __objc_msgSend_720Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - _NSRange, - int, - ffi.Pointer, - ) - >(); + )>(); late final _class_NSAttributedStringMarkdownParsingOptions1 = objc.getClass( "NSAttributedStringMarkdownParsingOptions", @@ -25659,21 +21924,16 @@ class SwiftLibrary { } late final __objc_msgSend_721Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_721 = __objc_msgSend_721Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_721 = - __objc_msgSend_721Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_setInterpretedSyntax_1 = objc.registerName( "setInterpretedSyntax:", @@ -25687,23 +21947,18 @@ class SwiftLibrary { } late final __objc_msgSend_722Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + )>>('objc_msgSend'); + late final __objc_msgSend_722 = __objc_msgSend_722Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_722 = - __objc_msgSend_722Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_failurePolicy1 = objc.registerName("failurePolicy"); int _objc_msgSend_723( @@ -25714,21 +21969,16 @@ class SwiftLibrary { } late final __objc_msgSend_723Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_723 = __objc_msgSend_723Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_723 = - __objc_msgSend_723Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_setFailurePolicy_1 = objc.registerName("setFailurePolicy:"); void _objc_msgSend_724( @@ -25740,23 +21990,18 @@ class SwiftLibrary { } late final __objc_msgSend_724Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + )>>('objc_msgSend'); + late final __objc_msgSend_724 = __objc_msgSend_724Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_724 = - __objc_msgSend_724Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_setLanguageCode_1 = objc.registerName("setLanguageCode:"); late final _sel_appliesSourcePositionAttributes1 = objc.registerName( @@ -25767,8 +22012,8 @@ class SwiftLibrary { ); late final _sel_initWithContentsOfMarkdownFileAtURL_options_baseURL_error_1 = objc.registerName( - "initWithContentsOfMarkdownFileAtURL:options:baseURL:error:", - ); + "initWithContentsOfMarkdownFileAtURL:options:baseURL:error:", + ); instancetype _objc_msgSend_725( ffi.Pointer obj, ffi.Pointer sel, @@ -25781,7 +22026,16 @@ class SwiftLibrary { } late final __objc_msgSend_725Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_725 = __objc_msgSend_725Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, @@ -25789,21 +22043,7 @@ class SwiftLibrary { ffi.Pointer, ffi.Pointer, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_725 = - __objc_msgSend_725Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ) - >(); + )>(); late final _sel_initWithMarkdown_options_baseURL_error_1 = objc.registerName( "initWithMarkdown:options:baseURL:error:", @@ -25820,7 +22060,16 @@ class SwiftLibrary { } late final __objc_msgSend_726Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_726 = __objc_msgSend_726Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, @@ -25828,24 +22077,10 @@ class SwiftLibrary { ffi.Pointer, ffi.Pointer, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_726 = - __objc_msgSend_726Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ) - >(); + )>(); - late final _sel_initWithMarkdownString_options_baseURL_error_1 = objc - .registerName("initWithMarkdownString:options:baseURL:error:"); + late final _sel_initWithMarkdownString_options_baseURL_error_1 = + objc.registerName("initWithMarkdownString:options:baseURL:error:"); instancetype _objc_msgSend_727( ffi.Pointer obj, ffi.Pointer sel, @@ -25865,7 +22100,16 @@ class SwiftLibrary { } late final __objc_msgSend_727Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_727 = __objc_msgSend_727Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, @@ -25873,21 +22117,7 @@ class SwiftLibrary { ffi.Pointer, ffi.Pointer, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_727 = - __objc_msgSend_727Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ) - >(); + )>(); late final _sel_initWithFormat_options_locale_1 = objc.registerName( "initWithFormat:options:locale:", @@ -25903,27 +22133,22 @@ class SwiftLibrary { } late final __objc_msgSend_728Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_728 = __objc_msgSend_728Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_728 = - __objc_msgSend_728Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ) - >(); + )>(); late final _sel_initWithFormat_options_locale_arguments_1 = objc.registerName( "initWithFormat:options:locale:arguments:", @@ -25940,35 +22165,30 @@ class SwiftLibrary { } late final __objc_msgSend_729Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ffi.Pointer<__va_list_tag>, + )>>('objc_msgSend'); + late final __objc_msgSend_729 = __objc_msgSend_729Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, ffi.Pointer, ffi.Pointer<__va_list_tag>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_729 = - __objc_msgSend_729Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ffi.Pointer<__va_list_tag>, - ) - >(); + )>(); late final _sel_localizedAttributedStringWithFormat_1 = objc.registerName( "localizedAttributedStringWithFormat:", ); - late final _sel_localizedAttributedStringWithFormat_options_1 = objc - .registerName("localizedAttributedStringWithFormat:options:"); + late final _sel_localizedAttributedStringWithFormat_options_1 = + objc.registerName("localizedAttributedStringWithFormat:options:"); instancetype _objc_msgSend_730( ffi.Pointer obj, ffi.Pointer sel, @@ -25979,25 +22199,20 @@ class SwiftLibrary { } late final __objc_msgSend_730Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + )>>('objc_msgSend'); + late final __objc_msgSend_730 = __objc_msgSend_730Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_730 = - __objc_msgSend_730Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_initWithFormat_options_locale_context_1 = objc.registerName( "initWithFormat:options:locale:context:", @@ -26014,32 +22229,27 @@ class SwiftLibrary { } late final __objc_msgSend_731Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_731 = __objc_msgSend_731Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_731 = - __objc_msgSend_731Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); - late final _sel_initWithFormat_options_locale_context_arguments_1 = objc - .registerName("initWithFormat:options:locale:context:arguments:"); + late final _sel_initWithFormat_options_locale_context_arguments_1 = + objc.registerName("initWithFormat:options:locale:context:arguments:"); instancetype _objc_msgSend_732( ffi.Pointer obj, ffi.Pointer sel, @@ -26061,34 +22271,29 @@ class SwiftLibrary { } late final __objc_msgSend_732Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<__va_list_tag>, + )>>('objc_msgSend'); + late final __objc_msgSend_732 = __objc_msgSend_732Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, ffi.Pointer, ffi.Pointer, ffi.Pointer<__va_list_tag>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_732 = - __objc_msgSend_732Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<__va_list_tag>, - ) - >(); + )>(); - late final _sel_localizedAttributedStringWithFormat_context_1 = objc - .registerName("localizedAttributedStringWithFormat:context:"); + late final _sel_localizedAttributedStringWithFormat_context_1 = + objc.registerName("localizedAttributedStringWithFormat:context:"); instancetype _objc_msgSend_733( ffi.Pointer obj, ffi.Pointer sel, @@ -26099,28 +22304,23 @@ class SwiftLibrary { } late final __objc_msgSend_733Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_733 = __objc_msgSend_733Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_733 = - __objc_msgSend_733Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); - late final _sel_localizedAttributedStringWithFormat_options_context_1 = objc - .registerName("localizedAttributedStringWithFormat:options:context:"); + late final _sel_localizedAttributedStringWithFormat_options_context_1 = + objc.registerName("localizedAttributedStringWithFormat:options:context:"); instancetype _objc_msgSend_734( ffi.Pointer obj, ffi.Pointer sel, @@ -26132,27 +22332,22 @@ class SwiftLibrary { } late final __objc_msgSend_734Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_734 = __objc_msgSend_734Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_734 = - __objc_msgSend_734Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ) - >(); + )>(); late final _sel_attributedStringByInflectingString1 = objc.registerName( "attributedStringByInflectingString", @@ -26165,24 +22360,19 @@ class SwiftLibrary { } late final __objc_msgSend_735Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_735 = __objc_msgSend_735Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_735 = - __objc_msgSend_735Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); - late final _sel_localizedAttributedStringForKey_value_table_1 = objc - .registerName("localizedAttributedStringForKey:value:table:"); + late final _sel_localizedAttributedStringForKey_value_table_1 = + objc.registerName("localizedAttributedStringForKey:value:table:"); ffi.Pointer _objc_msgSend_736( ffi.Pointer obj, ffi.Pointer sel, @@ -26194,27 +22384,22 @@ class SwiftLibrary { } late final __objc_msgSend_736Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_736 = __objc_msgSend_736Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_736 = - __objc_msgSend_736Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_bundleIdentifier1 = objc.registerName("bundleIdentifier"); late final _sel_infoDictionary1 = objc.registerName("infoDictionary"); @@ -26236,8 +22421,8 @@ class SwiftLibrary { late final _sel_preferredLocalizationsFromArray_1 = objc.registerName( "preferredLocalizationsFromArray:", ); - late final _sel_preferredLocalizationsFromArray_forPreferences_1 = objc - .registerName("preferredLocalizationsFromArray:forPreferences:"); + late final _sel_preferredLocalizationsFromArray_forPreferences_1 = + objc.registerName("preferredLocalizationsFromArray:forPreferences:"); ffi.Pointer _objc_msgSend_737( ffi.Pointer obj, ffi.Pointer sel, @@ -26248,25 +22433,20 @@ class SwiftLibrary { } late final __objc_msgSend_737Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_737 = __objc_msgSend_737Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_737 = - __objc_msgSend_737Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_executableArchitectures1 = objc.registerName( "executableArchitectures", @@ -26284,25 +22464,20 @@ class SwiftLibrary { } late final __objc_msgSend_738Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Double, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_738 = __objc_msgSend_738Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, - ffi.Double, + double, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_738 = - __objc_msgSend_738Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - double, - ffi.Pointer, - ) - >(); + )>(); late final _sel_preservationPriorityForTag_1 = objc.registerName( "preservationPriorityForTag:", @@ -26323,25 +22498,20 @@ class SwiftLibrary { } late final __objc_msgSend_739Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange, + )>>('objc_msgSend'); + late final __objc_msgSend_739 = __objc_msgSend_739Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, _NSRange, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_739 = - __objc_msgSend_739Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - _NSRange, - ) - >(); + )>(); late final _sel_mutableString1 = objc.registerName("mutableString"); ffi.Pointer _objc_msgSend_740( @@ -26352,21 +22522,16 @@ class SwiftLibrary { } late final __objc_msgSend_740Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_740 = __objc_msgSend_740Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_740 = - __objc_msgSend_740Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_addAttribute_value_range_1 = objc.registerName( "addAttribute:value:range:", @@ -26382,27 +22547,22 @@ class SwiftLibrary { } late final __objc_msgSend_741Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange, + )>>('objc_msgSend'); + late final __objc_msgSend_741 = __objc_msgSend_741Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, _NSRange, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_741 = - __objc_msgSend_741Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - _NSRange, - ) - >(); + )>(); late final _sel_addAttributes_range_1 = objc.registerName( "addAttributes:range:", @@ -26417,25 +22577,20 @@ class SwiftLibrary { } late final __objc_msgSend_742Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange, + )>>('objc_msgSend'); + late final __objc_msgSend_742 = __objc_msgSend_742Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, _NSRange, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_742 = - __objc_msgSend_742Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - _NSRange, - ) - >(); + )>(); late final _sel_removeAttribute_range_1 = objc.registerName( "removeAttribute:range:", @@ -26450,28 +22605,23 @@ class SwiftLibrary { } late final __objc_msgSend_743Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange, + )>>('objc_msgSend'); + late final __objc_msgSend_743 = __objc_msgSend_743Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, _NSRange, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_743 = - __objc_msgSend_743Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - _NSRange, - ) - >(); + )>(); - late final _sel_replaceCharactersInRange_withAttributedString_1 = objc - .registerName("replaceCharactersInRange:withAttributedString:"); + late final _sel_replaceCharactersInRange_withAttributedString_1 = + objc.registerName("replaceCharactersInRange:withAttributedString:"); void _objc_msgSend_744( ffi.Pointer obj, ffi.Pointer sel, @@ -26482,25 +22632,20 @@ class SwiftLibrary { } late final __objc_msgSend_744Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_744 = __objc_msgSend_744Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, _NSRange, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_744 = - __objc_msgSend_744Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - ) - >(); + )>(); late final _sel_insertAttributedString_atIndex_1 = objc.registerName( "insertAttributedString:atIndex:", @@ -26515,25 +22660,20 @@ class SwiftLibrary { } late final __objc_msgSend_745Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + )>>('objc_msgSend'); + late final __objc_msgSend_745 = __objc_msgSend_745Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_745 = - __objc_msgSend_745Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_appendAttributedString_1 = objc.registerName( "appendAttributedString:", @@ -26547,23 +22687,18 @@ class SwiftLibrary { } late final __objc_msgSend_746Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_746 = __objc_msgSend_746Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_746 = - __objc_msgSend_746Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_setAttributedString_1 = objc.registerName( "setAttributedString:", @@ -26587,23 +22722,18 @@ class SwiftLibrary { } late final __objc_msgSend_747Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_747 = __objc_msgSend_747Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_747 = - __objc_msgSend_747Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_attributedStringForObjectValue_withDefaultAttributes_1 = objc .registerName("attributedStringForObjectValue:withDefaultAttributes:"); @@ -26617,31 +22747,26 @@ class SwiftLibrary { } late final __objc_msgSend_748Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_748 = __objc_msgSend_748Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_748 = - __objc_msgSend_748Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_editingStringForObjectValue_1 = objc.registerName( "editingStringForObjectValue:", ); - late final _sel_getObjectValue_forString_errorDescription_1 = objc - .registerName("getObjectValue:forString:errorDescription:"); + late final _sel_getObjectValue_forString_errorDescription_1 = + objc.registerName("getObjectValue:forString:errorDescription:"); bool _objc_msgSend_749( ffi.Pointer obj, ffi.Pointer sel, @@ -26653,32 +22778,27 @@ class SwiftLibrary { } late final __objc_msgSend_749Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_749 = __objc_msgSend_749Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer>, ffi.Pointer, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_749 = - __objc_msgSend_749Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer, - ffi.Pointer>, - ) - >(); + )>(); late final _sel_isPartialStringValid_newEditingString_errorDescription_1 = objc.registerName( - "isPartialStringValid:newEditingString:errorDescription:", - ); + "isPartialStringValid:newEditingString:errorDescription:", + ); bool _objc_msgSend_750( ffi.Pointer obj, ffi.Pointer sel, @@ -26690,32 +22810,27 @@ class SwiftLibrary { } late final __objc_msgSend_750Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_750 = __objc_msgSend_750Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer>, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_750 = - __objc_msgSend_750Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer>, - ) - >(); + )>(); late final _sel_isPartialStringValid_proposedSelectedRange_originalString_originalSelectedRange_errorDescription_1 = objc.registerName( - "isPartialStringValid:proposedSelectedRange:originalString:originalSelectedRange:errorDescription:", - ); + "isPartialStringValid:proposedSelectedRange:originalString:originalSelectedRange:errorDescription:", + ); bool _objc_msgSend_751( ffi.Pointer obj, ffi.Pointer sel, @@ -26737,8 +22852,18 @@ class SwiftLibrary { } late final __objc_msgSend_751Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer<_NSRange>, + ffi.Pointer, + _NSRange, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_751 = __objc_msgSend_751Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer>, @@ -26746,22 +22871,7 @@ class SwiftLibrary { ffi.Pointer, _NSRange, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_751 = - __objc_msgSend_751Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer<_NSRange>, - ffi.Pointer, - _NSRange, - ffi.Pointer>, - ) - >(); + )>(); late final _sel_formattingContext1 = objc.registerName("formattingContext"); int _objc_msgSend_752( @@ -26772,21 +22882,16 @@ class SwiftLibrary { } late final __objc_msgSend_752Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_752 = __objc_msgSend_752Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_752 = - __objc_msgSend_752Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_setFormattingContext_1 = objc.registerName( "setFormattingContext:", @@ -26800,23 +22905,18 @@ class SwiftLibrary { } late final __objc_msgSend_753Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + )>>('objc_msgSend'); + late final __objc_msgSend_753 = __objc_msgSend_753Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_753 = - __objc_msgSend_753Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_getObjectValue_forString_range_error_1 = objc.registerName( "getObjectValue:forString:range:error:", @@ -26833,29 +22933,24 @@ class SwiftLibrary { } late final __objc_msgSend_754Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer, + ffi.Pointer<_NSRange>, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_754 = __objc_msgSend_754Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer>, ffi.Pointer, ffi.Pointer<_NSRange>, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_754 = - __objc_msgSend_754Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer, - ffi.Pointer<_NSRange>, - ffi.Pointer>, - ) - >(); + )>(); late final _sel_stringFromDate_1 = objc.registerName("stringFromDate:"); ffi.Pointer _objc_msgSend_755( @@ -26867,27 +22962,22 @@ class SwiftLibrary { } late final __objc_msgSend_755Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_755 = __objc_msgSend_755Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_755 = - __objc_msgSend_755Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_dateFromString_1 = objc.registerName("dateFromString:"); - late final _sel_localizedStringFromDate_dateStyle_timeStyle_1 = objc - .registerName("localizedStringFromDate:dateStyle:timeStyle:"); + late final _sel_localizedStringFromDate_dateStyle_timeStyle_1 = + objc.registerName("localizedStringFromDate:dateStyle:timeStyle:"); ffi.Pointer _objc_msgSend_756( ffi.Pointer obj, ffi.Pointer sel, @@ -26899,27 +22989,22 @@ class SwiftLibrary { } late final __objc_msgSend_756Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Int32, + )>>('objc_msgSend'); + late final __objc_msgSend_756 = __objc_msgSend_756Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_756 = - __objc_msgSend_756Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - int, - ) - >(); + int, + int, + )>(); late final _sel_dateFormatFromTemplate_options_locale_1 = objc.registerName( "dateFormatFromTemplate:options:locale:", @@ -26935,27 +23020,22 @@ class SwiftLibrary { } late final __objc_msgSend_757Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_757 = __objc_msgSend_757Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, + int, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_757 = - __objc_msgSend_757Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ) - >(); + )>(); late final _sel_defaultFormatterBehavior1 = objc.registerName( "defaultFormatterBehavior", @@ -26968,21 +23048,16 @@ class SwiftLibrary { } late final __objc_msgSend_758Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_758 = __objc_msgSend_758Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_758 = - __objc_msgSend_758Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_setDefaultFormatterBehavior_1 = objc.registerName( "setDefaultFormatterBehavior:", @@ -26996,23 +23071,18 @@ class SwiftLibrary { } late final __objc_msgSend_759Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + )>>('objc_msgSend'); + late final __objc_msgSend_759 = __objc_msgSend_759Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_759 = - __objc_msgSend_759Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_setLocalizedDateFormatFromTemplate_1 = objc.registerName( "setLocalizedDateFormatFromTemplate:", @@ -27028,21 +23098,16 @@ class SwiftLibrary { } late final __objc_msgSend_760Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_760 = __objc_msgSend_760Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_760 = - __objc_msgSend_760Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_setDateStyle_1 = objc.registerName("setDateStyle:"); void _objc_msgSend_761( @@ -27054,23 +23119,18 @@ class SwiftLibrary { } late final __objc_msgSend_761Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + )>>('objc_msgSend'); + late final __objc_msgSend_761 = __objc_msgSend_761Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_761 = - __objc_msgSend_761Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_timeStyle1 = objc.registerName("timeStyle"); late final _sel_setTimeStyle_1 = objc.registerName("setTimeStyle:"); @@ -27085,23 +23145,18 @@ class SwiftLibrary { } late final __objc_msgSend_762Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_762 = __objc_msgSend_762Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_762 = - __objc_msgSend_762Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_generatesCalendarDates1 = objc.registerName( "generatesCalendarDates", @@ -27123,21 +23178,16 @@ class SwiftLibrary { } late final __objc_msgSend_763Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_763 = __objc_msgSend_763Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_763 = - __objc_msgSend_763Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_autoupdatingCurrentCalendar1 = objc.registerName( "autoupdatingCurrentCalendar", @@ -27154,23 +23204,18 @@ class SwiftLibrary { } late final __objc_msgSend_764Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_764 = __objc_msgSend_764Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_764 = - __objc_msgSend_764Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_initWithCalendarIdentifier_1 = objc.registerName( "initWithCalendarIdentifier:", @@ -27183,21 +23228,16 @@ class SwiftLibrary { } late final __objc_msgSend_765Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_765 = __objc_msgSend_765Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_765 = - __objc_msgSend_765Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); void _objc_msgSend_766( ffi.Pointer obj, @@ -27208,23 +23248,18 @@ class SwiftLibrary { } late final __objc_msgSend_766Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_766 = __objc_msgSend_766Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_766 = - __objc_msgSend_766Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_firstWeekday1 = objc.registerName("firstWeekday"); late final _sel_setFirstWeekday_1 = objc.registerName("setFirstWeekday:"); @@ -27290,23 +23325,18 @@ class SwiftLibrary { } late final __objc_msgSend_767Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + _NSRange Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + )>>('objc_msgSend'); + late final __objc_msgSend_767 = __objc_msgSend_767Ptr.asFunction< _NSRange Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_767 = - __objc_msgSend_767Ptr - .asFunction< - _NSRange Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); void _objc_msgSend_767_stret( ffi.Pointer<_NSRange> stret, @@ -27318,25 +23348,20 @@ class SwiftLibrary { } late final __objc_msgSend_767_stretPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer<_NSRange>, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + )>>('objc_msgSend_stret'); + late final __objc_msgSend_767_stret = __objc_msgSend_767_stretPtr.asFunction< + void Function( ffi.Pointer<_NSRange>, ffi.Pointer, ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend_stret'); - late final __objc_msgSend_767_stret = - __objc_msgSend_767_stretPtr - .asFunction< - void Function( - ffi.Pointer<_NSRange>, - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_maximumRangeOfUnit_1 = objc.registerName( "maximumRangeOfUnit:", @@ -27355,27 +23380,22 @@ class SwiftLibrary { } late final __objc_msgSend_768Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + _NSRange Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Int32, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_768 = __objc_msgSend_768Ptr.asFunction< _NSRange Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, - ffi.Int32, + int, + int, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_768 = - __objc_msgSend_768Ptr - .asFunction< - _NSRange Function( - ffi.Pointer, - ffi.Pointer, - int, - int, - ffi.Pointer, - ) - >(); + )>(); void _objc_msgSend_768_stret( ffi.Pointer<_NSRange> stret, @@ -27389,29 +23409,24 @@ class SwiftLibrary { } late final __objc_msgSend_768_stretPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer<_NSRange>, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Int32, + ffi.Pointer, + )>>('objc_msgSend_stret'); + late final __objc_msgSend_768_stret = __objc_msgSend_768_stretPtr.asFunction< + void Function( ffi.Pointer<_NSRange>, ffi.Pointer, ffi.Pointer, - ffi.Int32, - ffi.Int32, + int, + int, ffi.Pointer, - ) - > - >('objc_msgSend_stret'); - late final __objc_msgSend_768_stret = - __objc_msgSend_768_stretPtr - .asFunction< - void Function( - ffi.Pointer<_NSRange>, - ffi.Pointer, - ffi.Pointer, - int, - int, - ffi.Pointer, - ) - >(); + )>(); late final _sel_ordinalityOfUnit_inUnit_forDate_1 = objc.registerName( "ordinalityOfUnit:inUnit:forDate:", @@ -27427,27 +23442,22 @@ class SwiftLibrary { } late final __objc_msgSend_769Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedLong Function( + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Int32, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_769 = __objc_msgSend_769Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, - ffi.Int32, + int, + int, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_769 = - __objc_msgSend_769Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - int, - int, - ffi.Pointer, - ) - >(); + )>(); late final _sel_rangeOfUnit_startDate_interval_forDate_1 = objc.registerName( "rangeOfUnit:startDate:interval:forDate:", @@ -27464,29 +23474,24 @@ class SwiftLibrary { } late final __objc_msgSend_770Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer>, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_770 = __objc_msgSend_770Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, ffi.Pointer>, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_770 = - __objc_msgSend_770Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _class_NSDateComponents1 = objc.getClass("NSDateComponents"); late final _sel_calendar1 = objc.registerName("calendar"); @@ -27498,21 +23503,16 @@ class SwiftLibrary { } late final __objc_msgSend_771Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_771 = __objc_msgSend_771Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_771 = - __objc_msgSend_771Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_setCalendar_1 = objc.registerName("setCalendar:"); void _objc_msgSend_772( @@ -27524,23 +23524,18 @@ class SwiftLibrary { } late final __objc_msgSend_772Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_772 = __objc_msgSend_772Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_772 = - __objc_msgSend_772Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); ffi.Pointer _objc_msgSend_773( ffi.Pointer obj, @@ -27550,21 +23545,16 @@ class SwiftLibrary { } late final __objc_msgSend_773Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_773 = __objc_msgSend_773Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_773 = - __objc_msgSend_773Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); void _objc_msgSend_774( ffi.Pointer obj, @@ -27575,23 +23565,18 @@ class SwiftLibrary { } late final __objc_msgSend_774Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_774 = __objc_msgSend_774Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_774 = - __objc_msgSend_774Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_era1 = objc.registerName("era"); late final _sel_setEra_1 = objc.registerName("setEra:"); @@ -27640,25 +23625,20 @@ class SwiftLibrary { } late final __objc_msgSend_775Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Long, + ffi.Int32, + )>>('objc_msgSend'); + late final __objc_msgSend_775 = __objc_msgSend_775Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, - ffi.Long, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_775 = - __objc_msgSend_775Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - int, - ) - >(); + int, + int, + )>(); late final _sel_valueForComponent_1 = objc.registerName("valueForComponent:"); int _objc_msgSend_776( @@ -27670,23 +23650,18 @@ class SwiftLibrary { } late final __objc_msgSend_776Ptr = _lookup< - ffi.NativeFunction< - ffi.Long Function( + ffi.NativeFunction< + ffi.Long Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + )>>('objc_msgSend'); + late final __objc_msgSend_776 = __objc_msgSend_776Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_776 = - __objc_msgSend_776Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_isValidDate1 = objc.registerName("isValidDate"); late final _sel_isValidDateInCalendar_1 = objc.registerName( @@ -27701,23 +23676,18 @@ class SwiftLibrary { } late final __objc_msgSend_777Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_777 = __objc_msgSend_777Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_777 = - __objc_msgSend_777Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_dateFromComponents_1 = objc.registerName( "dateFromComponents:", @@ -27731,23 +23701,18 @@ class SwiftLibrary { } late final __objc_msgSend_778Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_778 = __objc_msgSend_778Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_778 = - __objc_msgSend_778Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_components_fromDate_1 = objc.registerName( "components:fromDate:", @@ -27762,25 +23727,20 @@ class SwiftLibrary { } late final __objc_msgSend_779Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_779 = __objc_msgSend_779Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_779 = - __objc_msgSend_779Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ) - >(); + )>(); late final _sel_dateByAddingComponents_toDate_options_1 = objc.registerName( "dateByAddingComponents:toDate:options:", @@ -27796,27 +23756,22 @@ class SwiftLibrary { } late final __objc_msgSend_780Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + )>>('objc_msgSend'); + late final __objc_msgSend_780 = __objc_msgSend_780Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_780 = - __objc_msgSend_780Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_components_fromDate_toDate_options_1 = objc.registerName( "components:fromDate:toDate:options:", @@ -27840,29 +23795,24 @@ class SwiftLibrary { } late final __objc_msgSend_781Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + )>>('objc_msgSend'); + late final __objc_msgSend_781 = __objc_msgSend_781Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, ffi.Pointer, ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_781 = - __objc_msgSend_781Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_getEra_year_month_day_fromDate_1 = objc.registerName( "getEra:year:month:day:fromDate:", @@ -27888,8 +23838,18 @@ class SwiftLibrary { } late final __objc_msgSend_782Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_782 = __objc_msgSend_782Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, @@ -27897,27 +23857,12 @@ class SwiftLibrary { ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_782 = - __objc_msgSend_782Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_getEra_yearForWeekOfYear_weekOfYear_weekday_fromDate_1 = objc .registerName("getEra:yearForWeekOfYear:weekOfYear:weekday:fromDate:"); - late final _sel_getHour_minute_second_nanosecond_fromDate_1 = objc - .registerName("getHour:minute:second:nanosecond:fromDate:"); + late final _sel_getHour_minute_second_nanosecond_fromDate_1 = + objc.registerName("getHour:minute:second:nanosecond:fromDate:"); late final _sel_component_fromDate_1 = objc.registerName( "component:fromDate:", ); @@ -27931,30 +23876,25 @@ class SwiftLibrary { } late final __objc_msgSend_783Ptr = _lookup< - ffi.NativeFunction< - ffi.Long Function( + ffi.NativeFunction< + ffi.Long Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_783 = __objc_msgSend_783Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_783 = - __objc_msgSend_783Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ) - >(); + )>(); late final _sel_dateWithEra_year_month_day_hour_minute_second_nanosecond_1 = objc.registerName( - "dateWithEra:year:month:day:hour:minute:second:nanosecond:", - ); + "dateWithEra:year:month:day:hour:minute:second:nanosecond:", + ); ffi.Pointer _objc_msgSend_784( ffi.Pointer obj, ffi.Pointer sel, @@ -27982,42 +23922,37 @@ class SwiftLibrary { } late final __objc_msgSend_784Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Long, + ffi.Long, + ffi.Long, + ffi.Long, + ffi.Long, + ffi.Long, + ffi.Long, + ffi.Long, + )>>('objc_msgSend'); + late final __objc_msgSend_784 = __objc_msgSend_784Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.Long, - ffi.Long, - ffi.Long, - ffi.Long, - ffi.Long, - ffi.Long, - ffi.Long, - ffi.Long, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_784 = - __objc_msgSend_784Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - int, - int, - int, - int, - int, - int, - int, - ) - >(); + int, + int, + int, + int, + int, + int, + int, + int, + )>(); late final _sel_dateWithEra_yearForWeekOfYear_weekOfYear_weekday_hour_minute_second_nanosecond_1 = objc.registerName( - "dateWithEra:yearForWeekOfYear:weekOfYear:weekday:hour:minute:second:nanosecond:", - ); + "dateWithEra:yearForWeekOfYear:weekOfYear:weekday:hour:minute:second:nanosecond:", + ); late final _sel_startOfDayForDate_1 = objc.registerName("startOfDayForDate:"); late final _sel_componentsInTimeZone_fromDate_1 = objc.registerName( "componentsInTimeZone:fromDate:", @@ -28032,25 +23967,20 @@ class SwiftLibrary { } late final __objc_msgSend_785Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_785 = __objc_msgSend_785Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_785 = - __objc_msgSend_785Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_compareDate_toDate_toUnitGranularity_1 = objc.registerName( "compareDate:toDate:toUnitGranularity:", @@ -28066,27 +23996,22 @@ class SwiftLibrary { } late final __objc_msgSend_786Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + )>>('objc_msgSend'); + late final __objc_msgSend_786 = __objc_msgSend_786Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_786 = - __objc_msgSend_786Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_isDate_equalToDate_toUnitGranularity_1 = objc.registerName( "isDate:equalToDate:toUnitGranularity:", @@ -28102,27 +24027,22 @@ class SwiftLibrary { } late final __objc_msgSend_787Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + )>>('objc_msgSend'); + late final __objc_msgSend_787 = __objc_msgSend_787Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_787 = - __objc_msgSend_787Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_isDate_inSameDayAsDate_1 = objc.registerName( "isDate:inSameDayAsDate:", @@ -28137,32 +24057,27 @@ class SwiftLibrary { } late final __objc_msgSend_788Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_788 = __objc_msgSend_788Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_788 = - __objc_msgSend_788Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_isDateInToday_1 = objc.registerName("isDateInToday:"); late final _sel_isDateInYesterday_1 = objc.registerName("isDateInYesterday:"); late final _sel_isDateInTomorrow_1 = objc.registerName("isDateInTomorrow:"); late final _sel_isDateInWeekend_1 = objc.registerName("isDateInWeekend:"); - late final _sel_rangeOfWeekendStartDate_interval_containingDate_1 = objc - .registerName("rangeOfWeekendStartDate:interval:containingDate:"); + late final _sel_rangeOfWeekendStartDate_interval_containingDate_1 = + objc.registerName("rangeOfWeekendStartDate:interval:containingDate:"); bool _objc_msgSend_789( ffi.Pointer obj, ffi.Pointer sel, @@ -28174,30 +24089,25 @@ class SwiftLibrary { } late final __objc_msgSend_789Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_789 = __objc_msgSend_789Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer>, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_789 = - __objc_msgSend_789Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); - late final _sel_nextWeekendStartDate_interval_options_afterDate_1 = objc - .registerName("nextWeekendStartDate:interval:options:afterDate:"); + late final _sel_nextWeekendStartDate_interval_options_afterDate_1 = + objc.registerName("nextWeekendStartDate:interval:options:afterDate:"); bool _objc_msgSend_790( ffi.Pointer obj, ffi.Pointer sel, @@ -28210,34 +24120,29 @@ class SwiftLibrary { } late final __objc_msgSend_790Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_790 = __objc_msgSend_790Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer>, ffi.Pointer, - ffi.Int32, + int, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_790 = - __objc_msgSend_790Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer, - int, - ffi.Pointer, - ) - >(); + )>(); late final _sel_components_fromDateComponents_toDateComponents_options_1 = objc.registerName( - "components:fromDateComponents:toDateComponents:options:", - ); + "components:fromDateComponents:toDateComponents:options:", + ); ffi.Pointer _objc_msgSend_791( ffi.Pointer obj, ffi.Pointer sel, @@ -28257,29 +24162,24 @@ class SwiftLibrary { } late final __objc_msgSend_791Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + )>>('objc_msgSend'); + late final __objc_msgSend_791 = __objc_msgSend_791Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, ffi.Pointer, ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_791 = - __objc_msgSend_791Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_dateByAddingUnit_value_toDate_options_1 = objc.registerName( "dateByAddingUnit:value:toDate:options:", @@ -28296,34 +24196,29 @@ class SwiftLibrary { } late final __objc_msgSend_792Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Long, + ffi.Pointer, + ffi.Int32, + )>>('objc_msgSend'); + late final __objc_msgSend_792 = __objc_msgSend_792Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, - ffi.Long, + int, + int, ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_792 = - __objc_msgSend_792Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - int, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_enumerateDatesStartingAfterDate_matchingComponents_options_usingBlock_1 = objc.registerName( - "enumerateDatesStartingAfterDate:matchingComponents:options:usingBlock:", - ); + "enumerateDatesStartingAfterDate:matchingComponents:options:usingBlock:", + ); void _objc_msgSend_793( ffi.Pointer obj, ffi.Pointer sel, @@ -28336,32 +24231,27 @@ class SwiftLibrary { } late final __objc_msgSend_793Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_793 = __objc_msgSend_793Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_793 = - __objc_msgSend_793Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ) - >(); + )>(); - late final _sel_nextDateAfterDate_matchingComponents_options_1 = objc - .registerName("nextDateAfterDate:matchingComponents:options:"); + late final _sel_nextDateAfterDate_matchingComponents_options_1 = + objc.registerName("nextDateAfterDate:matchingComponents:options:"); ffi.Pointer _objc_msgSend_794( ffi.Pointer obj, ffi.Pointer sel, @@ -28373,30 +24263,25 @@ class SwiftLibrary { } late final __objc_msgSend_794Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + )>>('objc_msgSend'); + late final __objc_msgSend_794 = __objc_msgSend_794Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_794 = - __objc_msgSend_794Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); - late final _sel_nextDateAfterDate_matchingUnit_value_options_1 = objc - .registerName("nextDateAfterDate:matchingUnit:value:options:"); + late final _sel_nextDateAfterDate_matchingUnit_value_options_1 = + objc.registerName("nextDateAfterDate:matchingUnit:value:options:"); ffi.Pointer _objc_msgSend_795( ffi.Pointer obj, ffi.Pointer sel, @@ -28409,29 +24294,24 @@ class SwiftLibrary { } late final __objc_msgSend_795Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Long, + ffi.Int32, + )>>('objc_msgSend'); + late final __objc_msgSend_795 = __objc_msgSend_795Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, - ffi.Long, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_795 = - __objc_msgSend_795Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - int, - int, - ) - >(); + int, + int, + int, + )>(); late final _sel_nextDateAfterDate_matchingHour_minute_second_options_1 = objc .registerName("nextDateAfterDate:matchingHour:minute:second:options:"); @@ -28456,37 +24336,32 @@ class SwiftLibrary { } late final __objc_msgSend_796Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Long, + ffi.Long, + ffi.Long, + ffi.Int32, + )>>('objc_msgSend'); + late final __objc_msgSend_796 = __objc_msgSend_796Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Long, - ffi.Long, - ffi.Long, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_796 = - __objc_msgSend_796Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - int, - int, - int, - ) - >(); + int, + int, + int, + int, + )>(); late final _sel_dateBySettingUnit_value_ofDate_options_1 = objc.registerName( "dateBySettingUnit:value:ofDate:options:", ); - late final _sel_dateBySettingHour_minute_second_ofDate_options_1 = objc - .registerName("dateBySettingHour:minute:second:ofDate:options:"); + late final _sel_dateBySettingHour_minute_second_ofDate_options_1 = + objc.registerName("dateBySettingHour:minute:second:ofDate:options:"); ffi.Pointer _objc_msgSend_797( ffi.Pointer obj, ffi.Pointer sel, @@ -28500,31 +24375,26 @@ class SwiftLibrary { } late final __objc_msgSend_797Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Long, + ffi.Long, + ffi.Long, + ffi.Pointer, + ffi.Int32, + )>>('objc_msgSend'); + late final __objc_msgSend_797 = __objc_msgSend_797Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.Long, - ffi.Long, - ffi.Long, + int, + int, + int, ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_797 = - __objc_msgSend_797Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - int, - int, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_date_matchesComponents_1 = objc.registerName( "date:matchesComponents:", @@ -28539,25 +24409,20 @@ class SwiftLibrary { } late final __objc_msgSend_798Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_798 = __objc_msgSend_798Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_798 = - __objc_msgSend_798Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); void _objc_msgSend_799( ffi.Pointer obj, @@ -28568,23 +24433,18 @@ class SwiftLibrary { } late final __objc_msgSend_799Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_799 = __objc_msgSend_799Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_799 = - __objc_msgSend_799Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_isLenient1 = objc.registerName("isLenient"); late final _sel_setLenient_1 = objc.registerName("setLenient:"); @@ -28601,23 +24461,18 @@ class SwiftLibrary { } late final __objc_msgSend_800Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_800 = __objc_msgSend_800Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_800 = - __objc_msgSend_800Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_defaultDate1 = objc.registerName("defaultDate"); late final _sel_setDefaultDate_1 = objc.registerName("setDefaultDate:"); @@ -28631,23 +24486,18 @@ class SwiftLibrary { } late final __objc_msgSend_801Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_801 = __objc_msgSend_801Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_801 = - __objc_msgSend_801Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_setMonthSymbols_1 = objc.registerName("setMonthSymbols:"); late final _sel_setShortMonthSymbols_1 = objc.registerName( @@ -28721,23 +24571,18 @@ class SwiftLibrary { } late final __objc_msgSend_802Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_802 = __objc_msgSend_802Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_802 = - __objc_msgSend_802Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_numberFromString_1 = objc.registerName("numberFromString:"); ffi.Pointer _objc_msgSend_803( @@ -28749,23 +24594,18 @@ class SwiftLibrary { } late final __objc_msgSend_803Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_803 = __objc_msgSend_803Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_803 = - __objc_msgSend_803Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_localizedStringFromNumber_numberStyle_1 = objc.registerName( "localizedStringFromNumber:numberStyle:", @@ -28780,25 +24620,20 @@ class SwiftLibrary { } late final __objc_msgSend_804Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + )>>('objc_msgSend'); + late final __objc_msgSend_804 = __objc_msgSend_804Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_804 = - __objc_msgSend_804Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); int _objc_msgSend_805( ffi.Pointer obj, @@ -28808,21 +24643,16 @@ class SwiftLibrary { } late final __objc_msgSend_805Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_805 = __objc_msgSend_805Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_805 = - __objc_msgSend_805Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); void _objc_msgSend_806( ffi.Pointer obj, @@ -28833,23 +24663,18 @@ class SwiftLibrary { } late final __objc_msgSend_806Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + )>>('objc_msgSend'); + late final __objc_msgSend_806 = __objc_msgSend_806Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_806 = - __objc_msgSend_806Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_numberStyle1 = objc.registerName("numberStyle"); int _objc_msgSend_807( @@ -28860,21 +24685,16 @@ class SwiftLibrary { } late final __objc_msgSend_807Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_807 = __objc_msgSend_807Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_807 = - __objc_msgSend_807Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_setNumberStyle_1 = objc.registerName("setNumberStyle:"); void _objc_msgSend_808( @@ -28886,23 +24706,18 @@ class SwiftLibrary { } late final __objc_msgSend_808Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + )>>('objc_msgSend'); + late final __objc_msgSend_808 = __objc_msgSend_808Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_808 = - __objc_msgSend_808Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_generatesDecimalNumbers1 = objc.registerName( "generatesDecimalNumbers", @@ -28919,23 +24734,18 @@ class SwiftLibrary { } late final __objc_msgSend_809Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + )>>('objc_msgSend'); + late final __objc_msgSend_809 = __objc_msgSend_809Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_809 = - __objc_msgSend_809Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_negativeFormat1 = objc.registerName("negativeFormat"); late final _sel_setNegativeFormat_1 = objc.registerName("setNegativeFormat:"); @@ -29080,21 +24890,16 @@ class SwiftLibrary { } late final __objc_msgSend_810Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_810 = __objc_msgSend_810Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_810 = - __objc_msgSend_810Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_setPaddingPosition_1 = objc.registerName( "setPaddingPosition:", @@ -29108,23 +24913,18 @@ class SwiftLibrary { } late final __objc_msgSend_811Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + )>>('objc_msgSend'); + late final __objc_msgSend_811 = __objc_msgSend_811Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_811 = - __objc_msgSend_811Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_roundingMode1 = objc.registerName("roundingMode"); int _objc_msgSend_812( @@ -29135,21 +24935,16 @@ class SwiftLibrary { } late final __objc_msgSend_812Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_812 = __objc_msgSend_812Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_812 = - __objc_msgSend_812Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_setRoundingMode_1 = objc.registerName("setRoundingMode:"); void _objc_msgSend_813( @@ -29161,23 +24956,18 @@ class SwiftLibrary { } late final __objc_msgSend_813Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + )>>('objc_msgSend'); + late final __objc_msgSend_813 = __objc_msgSend_813Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_813 = - __objc_msgSend_813Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_roundingIncrement1 = objc.registerName("roundingIncrement"); ffi.Pointer _objc_msgSend_814( @@ -29188,21 +24978,16 @@ class SwiftLibrary { } late final __objc_msgSend_814Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_814 = __objc_msgSend_814Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_814 = - __objc_msgSend_814Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_setRoundingIncrement_1 = objc.registerName( "setRoundingIncrement:", @@ -29216,23 +25001,18 @@ class SwiftLibrary { } late final __objc_msgSend_815Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_815 = __objc_msgSend_815Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_815 = - __objc_msgSend_815Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_minimumIntegerDigits1 = objc.registerName( "minimumIntegerDigits", @@ -29323,23 +25103,18 @@ class SwiftLibrary { } late final __objc_msgSend_816Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_816 = __objc_msgSend_816Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_816 = - __objc_msgSend_816Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_attributedStringForNil1 = objc.registerName( "attributedStringForNil", @@ -29367,26 +25142,21 @@ class SwiftLibrary { } late final __objc_msgSend_817Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_817 = __objc_msgSend_817Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_817 = - __objc_msgSend_817Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_initWithRoundingMode_scale_raiseOnExactness_raiseOnOverflow_raiseOnUnderflow_raiseOnDivideByZero_1 = objc.registerName( - "initWithRoundingMode:scale:raiseOnExactness:raiseOnOverflow:raiseOnUnderflow:raiseOnDivideByZero:", - ); + "initWithRoundingMode:scale:raiseOnExactness:raiseOnOverflow:raiseOnUnderflow:raiseOnDivideByZero:", + ); instancetype _objc_msgSend_818( ffi.Pointer obj, ffi.Pointer sel, @@ -29410,38 +25180,33 @@ class SwiftLibrary { } late final __objc_msgSend_818Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Short, + ffi.Bool, + ffi.Bool, + ffi.Bool, + ffi.Bool, + )>>('objc_msgSend'); + late final __objc_msgSend_818 = __objc_msgSend_818Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, - ffi.Short, - ffi.Bool, - ffi.Bool, - ffi.Bool, - ffi.Bool, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_818 = - __objc_msgSend_818Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - int, - int, - bool, - bool, - bool, - bool, - ) - >(); + int, + int, + bool, + bool, + bool, + bool, + )>(); late final _sel_decimalNumberHandlerWithRoundingMode_scale_raiseOnExactness_raiseOnOverflow_raiseOnUnderflow_raiseOnDivideByZero_1 = objc.registerName( - "decimalNumberHandlerWithRoundingMode:scale:raiseOnExactness:raiseOnOverflow:raiseOnUnderflow:raiseOnDivideByZero:", - ); + "decimalNumberHandlerWithRoundingMode:scale:raiseOnExactness:raiseOnOverflow:raiseOnUnderflow:raiseOnDivideByZero:", + ); late final _sel_roundingBehavior1 = objc.registerName("roundingBehavior"); late final _sel_setRoundingBehavior_1 = objc.registerName( "setRoundingBehavior:", @@ -29455,23 +25220,18 @@ class SwiftLibrary { } late final __objc_msgSend_819Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_819 = __objc_msgSend_819Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_819 = - __objc_msgSend_819Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _class_NSScanner1 = objc.getClass("NSScanner"); late final _sel_scanLocation1 = objc.registerName("scanLocation"); @@ -29487,21 +25247,16 @@ class SwiftLibrary { } late final __objc_msgSend_820Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_820 = __objc_msgSend_820Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_820 = - __objc_msgSend_820Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_setCharactersToBeSkipped_1 = objc.registerName( "setCharactersToBeSkipped:", @@ -29515,23 +25270,18 @@ class SwiftLibrary { } late final __objc_msgSend_821Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_821 = __objc_msgSend_821Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_821 = - __objc_msgSend_821Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_caseSensitive1 = objc.registerName("caseSensitive"); late final _sel_setCaseSensitive_1 = objc.registerName("setCaseSensitive:"); @@ -29545,23 +25295,18 @@ class SwiftLibrary { } late final __objc_msgSend_822Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_822 = __objc_msgSend_822Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_822 = - __objc_msgSend_822Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_scanInteger_1 = objc.registerName("scanInteger:"); bool _objc_msgSend_823( @@ -29573,23 +25318,18 @@ class SwiftLibrary { } late final __objc_msgSend_823Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_823 = __objc_msgSend_823Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_823 = - __objc_msgSend_823Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_scanLongLong_1 = objc.registerName("scanLongLong:"); bool _objc_msgSend_824( @@ -29601,23 +25341,18 @@ class SwiftLibrary { } late final __objc_msgSend_824Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_824 = __objc_msgSend_824Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_824 = - __objc_msgSend_824Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_scanUnsignedLongLong_1 = objc.registerName( "scanUnsignedLongLong:", @@ -29631,23 +25366,18 @@ class SwiftLibrary { } late final __objc_msgSend_825Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_825 = __objc_msgSend_825Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_825 = - __objc_msgSend_825Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_scanFloat_1 = objc.registerName("scanFloat:"); bool _objc_msgSend_826( @@ -29659,23 +25389,18 @@ class SwiftLibrary { } late final __objc_msgSend_826Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_826 = __objc_msgSend_826Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_826 = - __objc_msgSend_826Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_scanDouble_1 = objc.registerName("scanDouble:"); bool _objc_msgSend_827( @@ -29687,23 +25412,18 @@ class SwiftLibrary { } late final __objc_msgSend_827Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_827 = __objc_msgSend_827Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_827 = - __objc_msgSend_827Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_scanHexInt_1 = objc.registerName("scanHexInt:"); bool _objc_msgSend_828( @@ -29715,23 +25435,18 @@ class SwiftLibrary { } late final __objc_msgSend_828Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_828 = __objc_msgSend_828Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_828 = - __objc_msgSend_828Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_scanHexLongLong_1 = objc.registerName("scanHexLongLong:"); late final _sel_scanHexFloat_1 = objc.registerName("scanHexFloat:"); @@ -29749,25 +25464,20 @@ class SwiftLibrary { } late final __objc_msgSend_829Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_829 = __objc_msgSend_829Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_829 = - __objc_msgSend_829Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ) - >(); + )>(); late final _sel_scanCharactersFromSet_intoString_1 = objc.registerName( "scanCharactersFromSet:intoString:", @@ -29782,25 +25492,20 @@ class SwiftLibrary { } late final __objc_msgSend_830Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_830 = __objc_msgSend_830Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_830 = - __objc_msgSend_830Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ) - >(); + )>(); late final _sel_scanUpToString_intoString_1 = objc.registerName( "scanUpToString:intoString:", @@ -29823,23 +25528,18 @@ class SwiftLibrary { } late final __objc_msgSend_831Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_831 = __objc_msgSend_831Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_831 = - __objc_msgSend_831Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _class_NSException1 = objc.getClass("NSException"); late final _sel_exceptionWithName_reason_userInfo_1 = objc.registerName( @@ -29856,27 +25556,22 @@ class SwiftLibrary { } late final __objc_msgSend_832Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_832 = __objc_msgSend_832Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_832 = - __objc_msgSend_832Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_initWithName_reason_userInfo_1 = objc.registerName( "initWithName:reason:userInfo:", @@ -29892,27 +25587,22 @@ class SwiftLibrary { } late final __objc_msgSend_833Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_833 = __objc_msgSend_833Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_833 = - __objc_msgSend_833Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_reason1 = objc.registerName("reason"); late final _sel_raise1 = objc.registerName("raise"); @@ -29931,27 +25621,22 @@ class SwiftLibrary { } late final __objc_msgSend_834Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<__va_list_tag>, + )>>('objc_msgSend'); + late final __objc_msgSend_834 = __objc_msgSend_834Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer<__va_list_tag>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_834 = - __objc_msgSend_834Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<__va_list_tag>, - ) - >(); + )>(); late final _class_NSFileHandle1 = objc.getClass("NSFileHandle"); late final _sel_availableData1 = objc.registerName("availableData"); @@ -29968,25 +25653,20 @@ class SwiftLibrary { } late final __objc_msgSend_835Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int, + ffi.Bool, + )>>('objc_msgSend'); + late final __objc_msgSend_835 = __objc_msgSend_835Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, - ffi.Int, - ffi.Bool, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_835 = - __objc_msgSend_835Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - int, - bool, - ) - >(); + int, + bool, + )>(); late final _sel_readDataToEndOfFileAndReturnError_1 = objc.registerName( "readDataToEndOfFileAndReturnError:", @@ -30000,23 +25680,18 @@ class SwiftLibrary { } late final __objc_msgSend_836Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_836 = __objc_msgSend_836Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_836 = - __objc_msgSend_836Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ) - >(); + )>(); late final _sel_readDataUpToLength_error_1 = objc.registerName( "readDataUpToLength:error:", @@ -30031,25 +25706,20 @@ class SwiftLibrary { } late final __objc_msgSend_837Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_837 = __objc_msgSend_837Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, + int, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_837 = - __objc_msgSend_837Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>, - ) - >(); + )>(); late final _sel_writeData_error_1 = objc.registerName("writeData:error:"); bool _objc_msgSend_838( @@ -30062,25 +25732,20 @@ class SwiftLibrary { } late final __objc_msgSend_838Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_838 = __objc_msgSend_838Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_838 = - __objc_msgSend_838Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ) - >(); + )>(); late final _sel_getOffset_error_1 = objc.registerName("getOffset:error:"); bool _objc_msgSend_839( @@ -30093,25 +25758,20 @@ class SwiftLibrary { } late final __objc_msgSend_839Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_839 = __objc_msgSend_839Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_839 = - __objc_msgSend_839Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ) - >(); + )>(); late final _sel_seekToEndReturningOffset_error_1 = objc.registerName( "seekToEndReturningOffset:error:", @@ -30129,25 +25789,20 @@ class SwiftLibrary { } late final __objc_msgSend_840Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLongLong, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_840 = __objc_msgSend_840Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, - ffi.UnsignedLongLong, + int, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_840 = - __objc_msgSend_840Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>, - ) - >(); + )>(); late final _sel_truncateAtOffset_error_1 = objc.registerName( "truncateAtOffset:error:", @@ -30169,21 +25824,16 @@ class SwiftLibrary { } late final __objc_msgSend_841Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_841 = __objc_msgSend_841Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_841 = - __objc_msgSend_841Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_fileHandleWithStandardOutput1 = objc.registerName( "fileHandleWithStandardOutput", @@ -30216,25 +25866,20 @@ class SwiftLibrary { } late final __objc_msgSend_842Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_842 = __objc_msgSend_842Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_842 = - __objc_msgSend_842Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ) - >(); + )>(); late final _sel_fileHandleForWritingToURL_error_1 = objc.registerName( "fileHandleForWritingToURL:error:", @@ -30254,39 +25899,34 @@ class SwiftLibrary { } late final __objc_msgSend_843Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_843 = __objc_msgSend_843Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_843 = - __objc_msgSend_843Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_readInBackgroundAndNotify1 = objc.registerName( "readInBackgroundAndNotify", ); - late final _sel_readToEndOfFileInBackgroundAndNotifyForModes_1 = objc - .registerName("readToEndOfFileInBackgroundAndNotifyForModes:"); + late final _sel_readToEndOfFileInBackgroundAndNotifyForModes_1 = + objc.registerName("readToEndOfFileInBackgroundAndNotifyForModes:"); late final _sel_readToEndOfFileInBackgroundAndNotify1 = objc.registerName( "readToEndOfFileInBackgroundAndNotify", ); - late final _sel_acceptConnectionInBackgroundAndNotifyForModes_1 = objc - .registerName("acceptConnectionInBackgroundAndNotifyForModes:"); + late final _sel_acceptConnectionInBackgroundAndNotifyForModes_1 = + objc.registerName("acceptConnectionInBackgroundAndNotifyForModes:"); late final _sel_acceptConnectionInBackgroundAndNotify1 = objc.registerName( "acceptConnectionInBackgroundAndNotify", ); - late final _sel_waitForDataInBackgroundAndNotifyForModes_1 = objc - .registerName("waitForDataInBackgroundAndNotifyForModes:"); + late final _sel_waitForDataInBackgroundAndNotifyForModes_1 = + objc.registerName("waitForDataInBackgroundAndNotifyForModes:"); late final _sel_waitForDataInBackgroundAndNotify1 = objc.registerName( "waitForDataInBackgroundAndNotify", ); @@ -30299,21 +25939,16 @@ class SwiftLibrary { } late final __objc_msgSend_844Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_844 = __objc_msgSend_844Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_844 = - __objc_msgSend_844Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_setReadabilityHandler_1 = objc.registerName( "setReadabilityHandler:", @@ -30327,23 +25962,18 @@ class SwiftLibrary { } late final __objc_msgSend_845Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_845 = __objc_msgSend_845Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_845 = - __objc_msgSend_845Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_writeabilityHandler1 = objc.registerName( "writeabilityHandler", @@ -30363,23 +25993,18 @@ class SwiftLibrary { } late final __objc_msgSend_846Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int, + )>>('objc_msgSend'); + late final __objc_msgSend_846 = __objc_msgSend_846Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, - ffi.Int, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_846 = - __objc_msgSend_846Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_fileDescriptor1 = objc.registerName("fileDescriptor"); late final _sel_readDataToEndOfFile1 = objc.registerName( @@ -30395,23 +26020,18 @@ class SwiftLibrary { } late final __objc_msgSend_847Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + )>>('objc_msgSend'); + late final __objc_msgSend_847 = __objc_msgSend_847Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_847 = - __objc_msgSend_847Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_offsetInFile1 = objc.registerName("offsetInFile"); late final _sel_seekToEndOfFile1 = objc.registerName("seekToEndOfFile"); @@ -30425,23 +26045,18 @@ class SwiftLibrary { } late final __objc_msgSend_848Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLongLong, + )>>('objc_msgSend'); + late final __objc_msgSend_848 = __objc_msgSend_848Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, - ffi.UnsignedLongLong, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_848 = - __objc_msgSend_848Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_truncateFileAtOffset_1 = objc.registerName( "truncateFileAtOffset:", @@ -30460,24 +26075,19 @@ class SwiftLibrary { } late final __objc_msgSend_849Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_849 = __objc_msgSend_849Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_849 = - __objc_msgSend_849Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); - late final _sel_sharedCookieStorageForGroupContainerIdentifier_1 = objc - .registerName("sharedCookieStorageForGroupContainerIdentifier:"); + late final _sel_sharedCookieStorageForGroupContainerIdentifier_1 = + objc.registerName("sharedCookieStorageForGroupContainerIdentifier:"); ffi.Pointer _objc_msgSend_850( ffi.Pointer obj, ffi.Pointer sel, @@ -30487,23 +26097,18 @@ class SwiftLibrary { } late final __objc_msgSend_850Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_850 = __objc_msgSend_850Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_850 = - __objc_msgSend_850Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_cookies1 = objc.registerName("cookies"); late final _class_NSHTTPCookie1 = objc.getClass("NSHTTPCookie"); @@ -30519,23 +26124,18 @@ class SwiftLibrary { } late final __objc_msgSend_851Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_851 = __objc_msgSend_851Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_851 = - __objc_msgSend_851Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_cookieWithProperties_1 = objc.registerName( "cookieWithProperties:", @@ -30549,23 +26149,18 @@ class SwiftLibrary { } late final __objc_msgSend_852Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_852 = __objc_msgSend_852Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_852 = - __objc_msgSend_852Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_requestHeaderFieldsWithCookies_1 = objc.registerName( "requestHeaderFieldsWithCookies:", @@ -30583,25 +26178,20 @@ class SwiftLibrary { } late final __objc_msgSend_853Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_853 = __objc_msgSend_853Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_853 = - __objc_msgSend_853Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_properties1 = objc.registerName("properties"); late final _sel_value1 = objc.registerName("value"); @@ -30623,23 +26213,18 @@ class SwiftLibrary { } late final __objc_msgSend_854Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_854 = __objc_msgSend_854Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_854 = - __objc_msgSend_854Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_deleteCookie_1 = objc.registerName("deleteCookie:"); late final _sel_removeCookiesSinceDate_1 = objc.registerName( @@ -30660,27 +26245,22 @@ class SwiftLibrary { } late final __objc_msgSend_855Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_855 = __objc_msgSend_855Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_855 = - __objc_msgSend_855Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_cookieAcceptPolicy1 = objc.registerName("cookieAcceptPolicy"); int _objc_msgSend_856( @@ -30691,21 +26271,16 @@ class SwiftLibrary { } late final __objc_msgSend_856Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_856 = __objc_msgSend_856Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_856 = - __objc_msgSend_856Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_setCookieAcceptPolicy_1 = objc.registerName( "setCookieAcceptPolicy:", @@ -30719,23 +26294,18 @@ class SwiftLibrary { } late final __objc_msgSend_857Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + )>>('objc_msgSend'); + late final __objc_msgSend_857 = __objc_msgSend_857Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_857 = - __objc_msgSend_857Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_sortedCookiesUsingDescriptors_1 = objc.registerName( "sortedCookiesUsingDescriptors:", @@ -30747,8 +26317,8 @@ class SwiftLibrary { late final _sel_supportsSecureCoding1 = objc.registerName( "supportsSecureCoding", ); - late final _sel_requestWithURL_cachePolicy_timeoutInterval_1 = objc - .registerName("requestWithURL:cachePolicy:timeoutInterval:"); + late final _sel_requestWithURL_cachePolicy_timeoutInterval_1 = + objc.registerName("requestWithURL:cachePolicy:timeoutInterval:"); instancetype _objc_msgSend_858( ffi.Pointer obj, ffi.Pointer sel, @@ -30760,27 +26330,22 @@ class SwiftLibrary { } late final __objc_msgSend_858Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Double, + )>>('objc_msgSend'); + late final __objc_msgSend_858 = __objc_msgSend_858Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, - ffi.Double, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_858 = - __objc_msgSend_858Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - double, - ) - >(); + int, + double, + )>(); late final _sel_initWithURL_cachePolicy_timeoutInterval_1 = objc.registerName( "initWithURL:cachePolicy:timeoutInterval:", @@ -30795,21 +26360,16 @@ class SwiftLibrary { } late final __objc_msgSend_859Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_859 = __objc_msgSend_859Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_859 = - __objc_msgSend_859Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_timeoutInterval1 = objc.registerName("timeoutInterval"); late final _sel_mainDocumentURL1 = objc.registerName("mainDocumentURL"); @@ -30822,21 +26382,16 @@ class SwiftLibrary { } late final __objc_msgSend_860Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_860 = __objc_msgSend_860Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_860 = - __objc_msgSend_860Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_allowsCellularAccess1 = objc.registerName( "allowsCellularAccess", @@ -30859,21 +26414,16 @@ class SwiftLibrary { } late final __objc_msgSend_861Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_861 = __objc_msgSend_861Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_861 = - __objc_msgSend_861Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_requiresDNSSECValidation1 = objc.registerName( "requiresDNSSECValidation", @@ -30900,25 +26450,20 @@ class SwiftLibrary { } late final __objc_msgSend_862Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_862 = __objc_msgSend_862Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_862 = - __objc_msgSend_862Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_streamStatus1 = objc.registerName("streamStatus"); int _objc_msgSend_863( @@ -30929,21 +26474,16 @@ class SwiftLibrary { } late final __objc_msgSend_863Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_863 = __objc_msgSend_863Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_863 = - __objc_msgSend_863Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_streamError1 = objc.registerName("streamError"); late final _class_NSOutputStream1 = objc.getClass("NSOutputStream"); @@ -30958,25 +26498,20 @@ class SwiftLibrary { } late final __objc_msgSend_864Ptr = _lookup< - ffi.NativeFunction< - ffi.Long Function( + ffi.NativeFunction< + ffi.Long Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + )>>('objc_msgSend'); + late final __objc_msgSend_864 = __objc_msgSend_864Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_864 = - __objc_msgSend_864Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_hasSpaceAvailable1 = objc.registerName("hasSpaceAvailable"); late final _sel_initToMemory1 = objc.registerName("initToMemory"); @@ -30993,25 +26528,20 @@ class SwiftLibrary { } late final __objc_msgSend_865Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + )>>('objc_msgSend'); + late final __objc_msgSend_865 = __objc_msgSend_865Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_865 = - __objc_msgSend_865Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_initWithURL_append_1 = objc.registerName( "initWithURL:append:", @@ -31026,25 +26556,20 @@ class SwiftLibrary { } late final __objc_msgSend_866Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + )>>('objc_msgSend'); + late final __objc_msgSend_866 = __objc_msgSend_866Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Bool, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_866 = - __objc_msgSend_866Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - ) - >(); + bool, + )>(); late final _sel_initToFileAtPath_append_1 = objc.registerName( "initToFileAtPath:append:", @@ -31063,8 +26588,8 @@ class SwiftLibrary { ); late final _sel_getStreamsToHostWithName_port_inputStream_outputStream_1 = objc.registerName( - "getStreamsToHostWithName:port:inputStream:outputStream:", - ); + "getStreamsToHostWithName:port:inputStream:outputStream:", + ); void _objc_msgSend_867( ffi.Pointer obj, ffi.Pointer sel, @@ -31084,29 +26609,24 @@ class SwiftLibrary { } late final __objc_msgSend_867Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Long, + ffi.Pointer>, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_867 = __objc_msgSend_867Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Long, + int, ffi.Pointer>, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_867 = - __objc_msgSend_867Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>, - ffi.Pointer>, - ) - >(); + )>(); late final _class_NSHost1 = objc.getClass("NSHost"); late final _sel_currentHost1 = objc.registerName("currentHost"); @@ -31120,23 +26640,18 @@ class SwiftLibrary { } late final __objc_msgSend_868Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_868 = __objc_msgSend_868Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_868 = - __objc_msgSend_868Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_hostWithAddress_1 = objc.registerName("hostWithAddress:"); late final _sel_isEqualToHost_1 = objc.registerName("isEqualToHost:"); @@ -31149,23 +26664,18 @@ class SwiftLibrary { } late final __objc_msgSend_869Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_869 = __objc_msgSend_869Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_869 = - __objc_msgSend_869Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_names1 = objc.registerName("names"); late final _sel_address1 = objc.registerName("address"); @@ -31183,28 +26693,23 @@ class SwiftLibrary { } late final __objc_msgSend_870Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + )>>('objc_msgSend'); + late final __objc_msgSend_870 = __objc_msgSend_870Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, - ffi.Bool, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_870 = - __objc_msgSend_870Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - bool, - ) - >(); + bool, + )>(); late final _sel_isHostCacheEnabled1 = objc.registerName("isHostCacheEnabled"); late final _sel_flushHostCache1 = objc.registerName("flushHostCache"); - late final _sel_getStreamsToHost_port_inputStream_outputStream_1 = objc - .registerName("getStreamsToHost:port:inputStream:outputStream:"); + late final _sel_getStreamsToHost_port_inputStream_outputStream_1 = + objc.registerName("getStreamsToHost:port:inputStream:outputStream:"); void _objc_msgSend_871( ffi.Pointer obj, ffi.Pointer sel, @@ -31217,34 +26722,29 @@ class SwiftLibrary { } late final __objc_msgSend_871Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Long, + ffi.Pointer>, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_871 = __objc_msgSend_871Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Long, + int, ffi.Pointer>, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_871 = - __objc_msgSend_871Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>, - ffi.Pointer>, - ) - >(); + )>(); late final _sel_getBoundStreamsWithBufferSize_inputStream_outputStream_1 = objc.registerName( - "getBoundStreamsWithBufferSize:inputStream:outputStream:", - ); + "getBoundStreamsWithBufferSize:inputStream:outputStream:", + ); void _objc_msgSend_872( ffi.Pointer obj, ffi.Pointer sel, @@ -31256,27 +26756,22 @@ class SwiftLibrary { } late final __objc_msgSend_872Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer>, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_872 = __objc_msgSend_872Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, + int, ffi.Pointer>, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_872 = - __objc_msgSend_872Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>, - ffi.Pointer>, - ) - >(); + )>(); late final _sel_read_maxLength_1 = objc.registerName("read:maxLength:"); late final _sel_getBuffer_length_1 = objc.registerName("getBuffer:length:"); @@ -31290,25 +26785,20 @@ class SwiftLibrary { } late final __objc_msgSend_873Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_873 = __objc_msgSend_873Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer>, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_873 = - __objc_msgSend_873Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer, - ) - >(); + )>(); late final _sel_hasBytesAvailable1 = objc.registerName("hasBytesAvailable"); late final _sel_initWithFileAtPath_1 = objc.registerName( @@ -31326,23 +26816,18 @@ class SwiftLibrary { } late final __objc_msgSend_874Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_874 = __objc_msgSend_874Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_874 = - __objc_msgSend_874Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_inputStreamWithFileAtPath_1 = objc.registerName( "inputStreamWithFileAtPath:", @@ -31359,21 +26844,16 @@ class SwiftLibrary { } late final __objc_msgSend_875Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_875 = __objc_msgSend_875Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_875 = - __objc_msgSend_875Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_HTTPShouldHandleCookies1 = objc.registerName( "HTTPShouldHandleCookies", @@ -31390,28 +26870,23 @@ class SwiftLibrary { } late final __objc_msgSend_876Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_876 = __objc_msgSend_876Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_876 = - __objc_msgSend_876Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_currentRequest1 = objc.registerName("currentRequest"); late final _class_NSURLResponse1 = objc.getClass("NSURLResponse"); late final _sel_initWithURL_MIMEType_expectedContentLength_textEncodingName_1 = objc.registerName( - "initWithURL:MIMEType:expectedContentLength:textEncodingName:", - ); + "initWithURL:MIMEType:expectedContentLength:textEncodingName:", + ); instancetype _objc_msgSend_877( ffi.Pointer obj, ffi.Pointer sel, @@ -31424,29 +26899,24 @@ class SwiftLibrary { } late final __objc_msgSend_877Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Long, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_877 = __objc_msgSend_877Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Long, + int, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_877 = - __objc_msgSend_877Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ) - >(); + )>(); late final _sel_MIMEType1 = objc.registerName("MIMEType"); late final _sel_expectedContentLength1 = objc.registerName( @@ -31463,21 +26933,16 @@ class SwiftLibrary { } late final __objc_msgSend_878Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_878 = __objc_msgSend_878Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_878 = - __objc_msgSend_878Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_progress1 = objc.registerName("progress"); ffi.Pointer _objc_msgSend_879( @@ -31488,21 +26953,16 @@ class SwiftLibrary { } late final __objc_msgSend_879Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_879 = __objc_msgSend_879Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_879 = - __objc_msgSend_879Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_earliestBeginDate1 = objc.registerName("earliestBeginDate"); late final _sel_setEarliestBeginDate_1 = objc.registerName( @@ -31543,21 +27003,16 @@ class SwiftLibrary { } late final __objc_msgSend_880Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_880 = __objc_msgSend_880Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_880 = - __objc_msgSend_880Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_suspend1 = objc.registerName("suspend"); late final _sel_priority1 = objc.registerName("priority"); @@ -31571,23 +27026,18 @@ class SwiftLibrary { } late final __objc_msgSend_881Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Float, + )>>('objc_msgSend'); + late final __objc_msgSend_881 = __objc_msgSend_881Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, - ffi.Float, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_881 = - __objc_msgSend_881Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - double, - ) - >(); + double, + )>(); late final _sel_prefersIncrementalDelivery1 = objc.registerName( "prefersIncrementalDelivery", @@ -31608,25 +27058,20 @@ class SwiftLibrary { } late final __objc_msgSend_882Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_882 = __objc_msgSend_882Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_882 = - __objc_msgSend_882Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_getCookiesForTask_completionHandler_1 = objc.registerName( "getCookiesForTask:completionHandler:", @@ -31641,25 +27086,20 @@ class SwiftLibrary { } late final __objc_msgSend_883Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_883 = __objc_msgSend_883Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_883 = - __objc_msgSend_883Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _class_NSIndexPath1 = objc.getClass("NSIndexPath"); late final _sel_indexPathWithIndex_1 = objc.registerName( @@ -31678,25 +27118,20 @@ class SwiftLibrary { } late final __objc_msgSend_884Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + )>>('objc_msgSend'); + late final __objc_msgSend_884 = __objc_msgSend_884Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_884 = - __objc_msgSend_884Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_initWithIndexes_length_1 = objc.registerName( "initWithIndexes:length:", @@ -31713,23 +27148,18 @@ class SwiftLibrary { } late final __objc_msgSend_885Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + )>>('objc_msgSend'); + late final __objc_msgSend_885 = __objc_msgSend_885Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_885 = - __objc_msgSend_885Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_indexPathByRemovingLastIndex1 = objc.registerName( "indexPathByRemovingLastIndex", @@ -31742,21 +27172,16 @@ class SwiftLibrary { } late final __objc_msgSend_886Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_886 = __objc_msgSend_886Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_886 = - __objc_msgSend_886Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_indexAtPosition_1 = objc.registerName("indexAtPosition:"); late final _sel_getIndexes_range_1 = objc.registerName("getIndexes:range:"); @@ -31770,25 +27195,20 @@ class SwiftLibrary { } late final __objc_msgSend_887Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange, + )>>('objc_msgSend'); + late final __objc_msgSend_887 = __objc_msgSend_887Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, _NSRange, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_887 = - __objc_msgSend_887Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - _NSRange, - ) - >(); + )>(); int _objc_msgSend_888( ffi.Pointer obj, @@ -31799,23 +27219,18 @@ class SwiftLibrary { } late final __objc_msgSend_888Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_888 = __objc_msgSend_888Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_888 = - __objc_msgSend_888Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_getIndexes_1 = objc.registerName("getIndexes:"); void _objc_msgSend_889( @@ -31827,23 +27242,18 @@ class SwiftLibrary { } late final __objc_msgSend_889Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_889 = __objc_msgSend_889Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_889 = - __objc_msgSend_889Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _class_NSInflectionRule1 = objc.getClass("NSInflectionRule"); late final _sel_automaticRule1 = objc.registerName("automaticRule"); @@ -31855,21 +27265,16 @@ class SwiftLibrary { } late final __objc_msgSend_890Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_890 = __objc_msgSend_890Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_890 = - __objc_msgSend_890Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_canInflectLanguage_1 = objc.registerName( "canInflectLanguage:", @@ -31887,21 +27292,16 @@ class SwiftLibrary { } late final __objc_msgSend_891Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_891 = __objc_msgSend_891Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_891 = - __objc_msgSend_891Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_setGrammaticalGender_1 = objc.registerName( "setGrammaticalGender:", @@ -31915,23 +27315,18 @@ class SwiftLibrary { } late final __objc_msgSend_892Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + )>>('objc_msgSend'); + late final __objc_msgSend_892 = __objc_msgSend_892Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_892 = - __objc_msgSend_892Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_partOfSpeech1 = objc.registerName("partOfSpeech"); int _objc_msgSend_893( @@ -31942,21 +27337,16 @@ class SwiftLibrary { } late final __objc_msgSend_893Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_893 = __objc_msgSend_893Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_893 = - __objc_msgSend_893Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_setPartOfSpeech_1 = objc.registerName("setPartOfSpeech:"); void _objc_msgSend_894( @@ -31968,23 +27358,18 @@ class SwiftLibrary { } late final __objc_msgSend_894Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + )>>('objc_msgSend'); + late final __objc_msgSend_894 = __objc_msgSend_894Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_894 = - __objc_msgSend_894Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_number1 = objc.registerName("number"); int _objc_msgSend_895( @@ -31995,21 +27380,16 @@ class SwiftLibrary { } late final __objc_msgSend_895Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_895 = __objc_msgSend_895Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_895 = - __objc_msgSend_895Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_setNumber_1 = objc.registerName("setNumber:"); void _objc_msgSend_896( @@ -32021,23 +27401,18 @@ class SwiftLibrary { } late final __objc_msgSend_896Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + )>>('objc_msgSend'); + late final __objc_msgSend_896 = __objc_msgSend_896Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_896 = - __objc_msgSend_896Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_grammaticalCase1 = objc.registerName("grammaticalCase"); int _objc_msgSend_897( @@ -32048,21 +27423,16 @@ class SwiftLibrary { } late final __objc_msgSend_897Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_897 = __objc_msgSend_897Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_897 = - __objc_msgSend_897Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_setGrammaticalCase_1 = objc.registerName( "setGrammaticalCase:", @@ -32076,23 +27446,18 @@ class SwiftLibrary { } late final __objc_msgSend_898Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + )>>('objc_msgSend'); + late final __objc_msgSend_898 = __objc_msgSend_898Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_898 = - __objc_msgSend_898Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_determination1 = objc.registerName("determination"); int _objc_msgSend_899( @@ -32103,21 +27468,16 @@ class SwiftLibrary { } late final __objc_msgSend_899Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_899 = __objc_msgSend_899Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_899 = - __objc_msgSend_899Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_setDetermination_1 = objc.registerName("setDetermination:"); void _objc_msgSend_900( @@ -32129,23 +27489,18 @@ class SwiftLibrary { } late final __objc_msgSend_900Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + )>>('objc_msgSend'); + late final __objc_msgSend_900 = __objc_msgSend_900Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_900 = - __objc_msgSend_900Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_grammaticalPerson1 = objc.registerName("grammaticalPerson"); int _objc_msgSend_901( @@ -32156,21 +27511,16 @@ class SwiftLibrary { } late final __objc_msgSend_901Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_901 = __objc_msgSend_901Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_901 = - __objc_msgSend_901Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_setGrammaticalPerson_1 = objc.registerName( "setGrammaticalPerson:", @@ -32184,23 +27534,18 @@ class SwiftLibrary { } late final __objc_msgSend_902Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + )>>('objc_msgSend'); + late final __objc_msgSend_902 = __objc_msgSend_902Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_902 = - __objc_msgSend_902Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_pronounType1 = objc.registerName("pronounType"); int _objc_msgSend_903( @@ -32211,21 +27556,16 @@ class SwiftLibrary { } late final __objc_msgSend_903Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_903 = __objc_msgSend_903Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_903 = - __objc_msgSend_903Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_setPronounType_1 = objc.registerName("setPronounType:"); void _objc_msgSend_904( @@ -32237,23 +27577,18 @@ class SwiftLibrary { } late final __objc_msgSend_904Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + )>>('objc_msgSend'); + late final __objc_msgSend_904 = __objc_msgSend_904Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_904 = - __objc_msgSend_904Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_definiteness1 = objc.registerName("definiteness"); int _objc_msgSend_905( @@ -32264,21 +27599,16 @@ class SwiftLibrary { } late final __objc_msgSend_905Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_905 = __objc_msgSend_905Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_905 = - __objc_msgSend_905Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_setDefiniteness_1 = objc.registerName("setDefiniteness:"); void _objc_msgSend_906( @@ -32290,23 +27620,18 @@ class SwiftLibrary { } late final __objc_msgSend_906Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + )>>('objc_msgSend'); + late final __objc_msgSend_906 = __objc_msgSend_906Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_906 = - __objc_msgSend_906Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _class_NSMorphologyCustomPronoun1 = objc.getClass( "NSMorphologyCustomPronoun", @@ -32343,23 +27668,18 @@ class SwiftLibrary { } late final __objc_msgSend_907Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_907 = __objc_msgSend_907Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_907 = - __objc_msgSend_907Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_setCustomPronoun_forLanguage_error_1 = objc.registerName( "setCustomPronoun:forLanguage:error:", @@ -32375,27 +27695,22 @@ class SwiftLibrary { } late final __objc_msgSend_908Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_908 = __objc_msgSend_908Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_908 = - __objc_msgSend_908Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ) - >(); + )>(); late final _sel_isUnspecified1 = objc.registerName("isUnspecified"); late final _sel_userMorphology1 = objc.registerName("userMorphology"); @@ -32407,21 +27722,16 @@ class SwiftLibrary { } late final __objc_msgSend_909Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_909 = __objc_msgSend_909Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_909 = - __objc_msgSend_909Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _class_NSOperationQueue1 = objc.getClass("NSOperationQueue"); late final _class_NSOperation1 = objc.getClass("NSOperation"); @@ -32438,23 +27748,18 @@ class SwiftLibrary { } late final __objc_msgSend_910Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_910 = __objc_msgSend_910Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_910 = - __objc_msgSend_910Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_removeDependency_1 = objc.registerName("removeDependency:"); late final _sel_dependencies1 = objc.registerName("dependencies"); @@ -32467,21 +27772,16 @@ class SwiftLibrary { } late final __objc_msgSend_911Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_911 = __objc_msgSend_911Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_911 = - __objc_msgSend_911Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_setQueuePriority_1 = objc.registerName("setQueuePriority:"); void _objc_msgSend_912( @@ -32493,23 +27793,18 @@ class SwiftLibrary { } late final __objc_msgSend_912Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + )>>('objc_msgSend'); + late final __objc_msgSend_912 = __objc_msgSend_912Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_912 = - __objc_msgSend_912Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_completionBlock1 = objc.registerName("completionBlock"); late final _sel_setCompletionBlock_1 = objc.registerName( @@ -32530,25 +27825,20 @@ class SwiftLibrary { } late final __objc_msgSend_913Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + )>>('objc_msgSend'); + late final __objc_msgSend_913 = __objc_msgSend_913Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Bool, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_913 = - __objc_msgSend_913Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - ) - >(); + bool, + )>(); late final _sel_addOperationWithBlock_1 = objc.registerName( "addOperationWithBlock:", @@ -32571,21 +27861,16 @@ class SwiftLibrary { } late final __objc_msgSend_914Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_914 = __objc_msgSend_914Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_914 = - __objc_msgSend_914Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_setUnderlyingQueue_1 = objc.registerName( "setUnderlyingQueue:", @@ -32599,23 +27884,18 @@ class SwiftLibrary { } late final __objc_msgSend_915Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_915 = __objc_msgSend_915Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_915 = - __objc_msgSend_915Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_cancelAllOperations1 = objc.registerName( "cancelAllOperations", @@ -32632,21 +27912,16 @@ class SwiftLibrary { } late final __objc_msgSend_916Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_916 = __objc_msgSend_916Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_916 = - __objc_msgSend_916Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_mainQueue1 = objc.registerName("mainQueue"); ffi.Pointer _objc_msgSend_917( @@ -32657,21 +27932,16 @@ class SwiftLibrary { } late final __objc_msgSend_917Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_917 = __objc_msgSend_917Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_917 = - __objc_msgSend_917Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_operations1 = objc.registerName("operations"); late final _sel_operationCount1 = objc.registerName("operationCount"); @@ -32686,23 +27956,18 @@ class SwiftLibrary { } late final __objc_msgSend_918Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + )>>('objc_msgSend'); + late final __objc_msgSend_918 = __objc_msgSend_918Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_918 = - __objc_msgSend_918Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _class_NSPointerFunctions1 = objc.getClass("NSPointerFunctions"); late final _sel_pointerFunctionsWithOptions_1 = objc.registerName( @@ -32717,36 +27982,28 @@ class SwiftLibrary { } late final __objc_msgSend_919Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + )>>('objc_msgSend'); + late final __objc_msgSend_919 = __objc_msgSend_919Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_919 = - __objc_msgSend_919Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_hashFunction1 = objc.registerName("hashFunction"); ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction)> - >, - ) - > - > - _objc_msgSend_920( + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function(ffi.Pointer)>>, + )>> _objc_msgSend_920( ffi.Pointer obj, ffi.Pointer sel, ) { @@ -32754,115 +28011,88 @@ class SwiftLibrary { } late final __objc_msgSend_920Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer)>>, + )>> + Function(ffi.Pointer, ffi.Pointer)>>( + 'objc_msgSend'); + late final __objc_msgSend_920 = __objc_msgSend_920Ptr.asFunction< ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function(ffi.Pointer) - > - >, - ) - > - > - Function(ffi.Pointer, ffi.Pointer) - > - >('objc_msgSend'); - late final __objc_msgSend_920 = - __objc_msgSend_920Ptr - .asFunction< - ffi.Pointer< ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function(ffi.Pointer) - > - >, - ) - > - > - Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + ffi.UnsignedLong Function( + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function(ffi.Pointer)>>, + )>> + Function( + ffi.Pointer, + ffi.Pointer, + )>(); late final _sel_setHashFunction_1 = objc.registerName("setHashFunction:"); void _objc_msgSend_921( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction)> - >, - ) - > - > value, + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function(ffi.Pointer)>>, + )>> + value, ) { return __objc_msgSend_921(obj, sel, value); } late final __objc_msgSend_921Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer)>>, + )>>, + )>>('objc_msgSend'); + late final __objc_msgSend_921 = __objc_msgSend_921Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function(ffi.Pointer) - > - >, - ) - > - >, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_921 = - __objc_msgSend_921Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer, - ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer, + ffi.Pointer< ffi.NativeFunction< - ffi.UnsignedLong Function(ffi.Pointer) - > - >, - ) - > - >, - ) - >(); + ffi.UnsignedLong Function(ffi.Pointer)>>, + )>>, + )>(); late final _sel_isEqualFunction1 = objc.registerName("isEqualFunction"); ffi.Pointer< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction)> - >, - ) - > - > - _objc_msgSend_922( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function(ffi.Pointer)>>, + )>> _objc_msgSend_922( ffi.Pointer obj, ffi.Pointer sel, ) { @@ -32870,44 +28100,33 @@ class SwiftLibrary { } late final __objc_msgSend_922Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer)>>, + )>> + Function(ffi.Pointer, ffi.Pointer)>>( + 'objc_msgSend'); + late final __objc_msgSend_922 = __objc_msgSend_922Ptr.asFunction< ffi.Pointer< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function(ffi.Pointer) - > - >, - ) - > - > - Function(ffi.Pointer, ffi.Pointer) - > - >('objc_msgSend'); - late final __objc_msgSend_922 = - __objc_msgSend_922Ptr - .asFunction< - ffi.Pointer< ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function(ffi.Pointer) - > - >, - ) - > - > - Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function(ffi.Pointer)>>, + )>> + Function( + ffi.Pointer, + ffi.Pointer, + )>(); late final _sel_setIsEqualFunction_1 = objc.registerName( "setIsEqualFunction:", @@ -32916,68 +28135,54 @@ class SwiftLibrary { ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction)> - >, - ) - > - > value, + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function(ffi.Pointer)>>, + )>> + value, ) { return __objc_msgSend_923(obj, sel, value); } late final __objc_msgSend_923Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer)>>, + )>>, + )>>('objc_msgSend'); + late final __objc_msgSend_923 = __objc_msgSend_923Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function(ffi.Pointer) - > - >, - ) - > - >, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_923 = - __objc_msgSend_923Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer< ffi.NativeFunction< - ffi.UnsignedLong Function(ffi.Pointer) - > - >, - ) - > - >, - ) - >(); + ffi.UnsignedLong Function(ffi.Pointer)>>, + )>>, + )>(); late final _sel_sizeFunction1 = objc.registerName("sizeFunction"); ffi.Pointer< - ffi.NativeFunction)> - > - _objc_msgSend_924( + ffi.NativeFunction)>> + _objc_msgSend_924( ffi.Pointer obj, ffi.Pointer sel, ) { @@ -32985,72 +28190,58 @@ class SwiftLibrary { } late final __objc_msgSend_924Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function(ffi.Pointer)>> + Function(ffi.Pointer, ffi.Pointer)>>( + 'objc_msgSend'); + late final __objc_msgSend_924 = __objc_msgSend_924Ptr.asFunction< ffi.Pointer< - ffi.NativeFunction)> - > - Function(ffi.Pointer, ffi.Pointer) - > - >('objc_msgSend'); - late final __objc_msgSend_924 = - __objc_msgSend_924Ptr - .asFunction< - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function(ffi.Pointer) - > - > - Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + ffi + .NativeFunction)>> + Function( + ffi.Pointer, + ffi.Pointer, + )>(); late final _sel_setSizeFunction_1 = objc.registerName("setSizeFunction:"); void _objc_msgSend_925( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer< - ffi.NativeFunction)> - > value, + ffi + .NativeFunction)>> + value, ) { return __objc_msgSend_925(obj, sel, value); } late final __objc_msgSend_925Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function(ffi.Pointer)>>, + )>>('objc_msgSend'); + late final __objc_msgSend_925 = __objc_msgSend_925Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer< - ffi.NativeFunction)> - >, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_925 = - __objc_msgSend_925Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function(ffi.Pointer) - > - >, - ) - >(); + ffi + .NativeFunction)>>, + )>(); late final _sel_descriptionFunction1 = objc.registerName( "descriptionFunction", ); ffi.Pointer< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer) - > - > - _objc_msgSend_926( + ffi.NativeFunction< + ffi.Pointer Function(ffi.Pointer)>> + _objc_msgSend_926( ffi.Pointer obj, ffi.Pointer sel, ) { @@ -33058,28 +28249,21 @@ class SwiftLibrary { } late final __objc_msgSend_926Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer)>> + Function(ffi.Pointer, ffi.Pointer)>>( + 'objc_msgSend'); + late final __objc_msgSend_926 = __objc_msgSend_926Ptr.asFunction< ffi.Pointer< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer) - > - > - Function(ffi.Pointer, ffi.Pointer) - > - >('objc_msgSend'); - late final __objc_msgSend_926 = - __objc_msgSend_926Ptr - .asFunction< - ffi.Pointer< ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer) - > - > - Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + ffi.Pointer Function(ffi.Pointer)>> + Function( + ffi.Pointer, + ffi.Pointer, + )>(); late final _sel_setDescriptionFunction_1 = objc.registerName( "setDescriptionFunction:", @@ -33088,53 +28272,41 @@ class SwiftLibrary { ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer) - > - > value, + ffi.NativeFunction< + ffi.Pointer Function(ffi.Pointer)>> + value, ) { return __objc_msgSend_927(obj, sel, value); } late final __objc_msgSend_927Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer)>>, + )>>('objc_msgSend'); + late final __objc_msgSend_927 = __objc_msgSend_927Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer) - > - >, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_927 = - __objc_msgSend_927Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer) - > - >, - ) - >(); + ffi.NativeFunction< + ffi.Pointer Function(ffi.Pointer)>>, + )>(); late final _sel_relinquishFunction1 = objc.registerName("relinquishFunction"); ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction)> - >, - ) - > - > - _objc_msgSend_928( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function(ffi.Pointer)>>, + )>> _objc_msgSend_928( ffi.Pointer obj, ffi.Pointer sel, ) { @@ -33142,42 +28314,31 @@ class SwiftLibrary { } late final __objc_msgSend_928Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer)>>, + )>> + Function(ffi.Pointer, ffi.Pointer)>>( + 'objc_msgSend'); + late final __objc_msgSend_928 = __objc_msgSend_928Ptr.asFunction< ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function(ffi.Pointer) - > - >, - ) - > - > - Function(ffi.Pointer, ffi.Pointer) - > - >('objc_msgSend'); - late final __objc_msgSend_928 = - __objc_msgSend_928Ptr - .asFunction< - ffi.Pointer< ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function(ffi.Pointer) - > - >, - ) - > - > - Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + ffi.Void Function( + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function(ffi.Pointer)>>, + )>> + Function( + ffi.Pointer, + ffi.Pointer, + )>(); late final _sel_setRelinquishFunction_1 = objc.registerName( "setRelinquishFunction:", @@ -33186,73 +28347,57 @@ class SwiftLibrary { ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction)> - >, - ) - > - > value, + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function(ffi.Pointer)>>, + )>> + value, ) { return __objc_msgSend_929(obj, sel, value); } late final __objc_msgSend_929Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer)>>, + )>>, + )>>('objc_msgSend'); + late final __objc_msgSend_929 = __objc_msgSend_929Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function(ffi.Pointer) - > - >, - ) - > - >, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_929 = - __objc_msgSend_929Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer< ffi.NativeFunction< - ffi.UnsignedLong Function(ffi.Pointer) - > - >, - ) - > - >, - ) - >(); + ffi.UnsignedLong Function(ffi.Pointer)>>, + )>>, + )>(); late final _sel_acquireFunction1 = objc.registerName("acquireFunction"); ffi.Pointer< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction)> - >, - ffi.Bool, - ) - > - > - _objc_msgSend_930( + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function(ffi.Pointer)>>, + ffi.Bool, + )>> _objc_msgSend_930( ffi.Pointer obj, ffi.Pointer sel, ) { @@ -33260,44 +28405,33 @@ class SwiftLibrary { } late final __objc_msgSend_930Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer)>>, + ffi.Bool, + )>> + Function(ffi.Pointer, ffi.Pointer)>>( + 'objc_msgSend'); + late final __objc_msgSend_930 = __objc_msgSend_930Ptr.asFunction< ffi.Pointer< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function(ffi.Pointer) - > - >, - ffi.Bool, - ) - > - > - Function(ffi.Pointer, ffi.Pointer) - > - >('objc_msgSend'); - late final __objc_msgSend_930 = - __objc_msgSend_930Ptr - .asFunction< - ffi.Pointer< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function(ffi.Pointer) - > - >, - ffi.Bool, - ) - > - > - Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function(ffi.Pointer)>>, + ffi.Bool, + )>> + Function( + ffi.Pointer, + ffi.Pointer, + )>(); late final _sel_setAcquireFunction_1 = objc.registerName( "setAcquireFunction:", @@ -33306,62 +28440,49 @@ class SwiftLibrary { ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction)> - >, - ffi.Bool, - ) - > - > value, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function(ffi.Pointer)>>, + ffi.Bool, + )>> + value, ) { return __objc_msgSend_931(obj, sel, value); } late final __objc_msgSend_931Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer)>>, + ffi.Bool, + )>>, + )>>('objc_msgSend'); + late final __objc_msgSend_931 = __objc_msgSend_931Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function(ffi.Pointer) - > - >, - ffi.Bool, - ) - > - >, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_931 = - __objc_msgSend_931Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer< ffi.NativeFunction< - ffi.UnsignedLong Function(ffi.Pointer) - > - >, - ffi.Bool, - ) - > - >, - ) - >(); + ffi.UnsignedLong Function(ffi.Pointer)>>, + ffi.Bool, + )>>, + )>(); late final _sel_usesStrongWriteBarrier1 = objc.registerName( "usesStrongWriteBarrier", @@ -33387,23 +28508,18 @@ class SwiftLibrary { } late final __objc_msgSend_932Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_932 = __objc_msgSend_932Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_932 = - __objc_msgSend_932Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_pointerArrayWithOptions_1 = objc.registerName( "pointerArrayWithOptions:", @@ -33417,23 +28533,18 @@ class SwiftLibrary { } late final __objc_msgSend_933Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + )>>('objc_msgSend'); + late final __objc_msgSend_933 = __objc_msgSend_933Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_933 = - __objc_msgSend_933Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_pointerArrayWithPointerFunctions_1 = objc.registerName( "pointerArrayWithPointerFunctions:", @@ -33447,23 +28558,18 @@ class SwiftLibrary { } late final __objc_msgSend_934Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_934 = __objc_msgSend_934Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_934 = - __objc_msgSend_934Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_pointerFunctions1 = objc.registerName("pointerFunctions"); ffi.Pointer _objc_msgSend_935( @@ -33474,21 +28580,16 @@ class SwiftLibrary { } late final __objc_msgSend_935Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_935 = __objc_msgSend_935Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_935 = - __objc_msgSend_935Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_pointerAtIndex_1 = objc.registerName("pointerAtIndex:"); ffi.Pointer _objc_msgSend_936( @@ -33500,23 +28601,18 @@ class SwiftLibrary { } late final __objc_msgSend_936Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + )>>('objc_msgSend'); + late final __objc_msgSend_936 = __objc_msgSend_936Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_936 = - __objc_msgSend_936Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_addPointer_1 = objc.registerName("addPointer:"); late final _sel_removePointerAtIndex_1 = objc.registerName( @@ -33538,25 +28634,20 @@ class SwiftLibrary { } late final __objc_msgSend_937Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_937 = __objc_msgSend_937Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, + int, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_937 = - __objc_msgSend_937Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ) - >(); + )>(); late final _sel_compact1 = objc.registerName("compact"); late final _sel_setCount_1 = objc.registerName("setCount:"); @@ -33577,21 +28668,16 @@ class SwiftLibrary { } late final __objc_msgSend_938Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_938 = __objc_msgSend_938Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_938 = - __objc_msgSend_938Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_weakObjectsPointerArray1 = objc.registerName( "weakObjectsPointerArray", @@ -33606,21 +28692,16 @@ class SwiftLibrary { } late final __objc_msgSend_939Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_939 = __objc_msgSend_939Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_939 = - __objc_msgSend_939Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_environment1 = objc.registerName("environment"); late final _sel_hostName1 = objc.registerName("hostName"); @@ -33648,21 +28729,16 @@ class SwiftLibrary { } late final __objc_msgSend_940Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + NSOperatingSystemVersion Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_940 = __objc_msgSend_940Ptr.asFunction< NSOperatingSystemVersion Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_940 = - __objc_msgSend_940Ptr - .asFunction< - NSOperatingSystemVersion Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); void _objc_msgSend_940_stret( ffi.Pointer stret, @@ -33673,23 +28749,18 @@ class SwiftLibrary { } late final __objc_msgSend_940_stretPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend_stret'); + late final __objc_msgSend_940_stret = __objc_msgSend_940_stretPtr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend_stret'); - late final __objc_msgSend_940_stret = - __objc_msgSend_940_stretPtr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_processorCount1 = objc.registerName("processorCount"); late final _sel_activeProcessorCount1 = objc.registerName( @@ -33708,23 +28779,18 @@ class SwiftLibrary { } late final __objc_msgSend_941Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + NSOperatingSystemVersion, + )>>('objc_msgSend'); + late final __objc_msgSend_941 = __objc_msgSend_941Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, NSOperatingSystemVersion, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_941 = - __objc_msgSend_941Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - NSOperatingSystemVersion, - ) - >(); + )>(); late final _sel_systemUptime1 = objc.registerName("systemUptime"); late final _sel_disableSuddenTermination1 = objc.registerName( @@ -33758,29 +28824,24 @@ class SwiftLibrary { } late final __objc_msgSend_942Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_942 = __objc_msgSend_942Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_942 = - __objc_msgSend_942Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ) - >(); + )>(); late final _sel_endActivity_1 = objc.registerName("endActivity:"); - late final _sel_performActivityWithOptions_reason_usingBlock_1 = objc - .registerName("performActivityWithOptions:reason:usingBlock:"); + late final _sel_performActivityWithOptions_reason_usingBlock_1 = + objc.registerName("performActivityWithOptions:reason:usingBlock:"); void _objc_msgSend_943( ffi.Pointer obj, ffi.Pointer sel, @@ -33792,30 +28853,25 @@ class SwiftLibrary { } late final __objc_msgSend_943Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_943 = __objc_msgSend_943Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_943 = - __objc_msgSend_943Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); - late final _sel_performExpiringActivityWithReason_usingBlock_1 = objc - .registerName("performExpiringActivityWithReason:usingBlock:"); + late final _sel_performExpiringActivityWithReason_usingBlock_1 = + objc.registerName("performExpiringActivityWithReason:usingBlock:"); void _objc_msgSend_944( ffi.Pointer obj, ffi.Pointer sel, @@ -33826,25 +28882,20 @@ class SwiftLibrary { } late final __objc_msgSend_944Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_944 = __objc_msgSend_944Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_944 = - __objc_msgSend_944Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_userName1 = objc.registerName("userName"); late final _sel_fullUserName1 = objc.registerName("fullUserName"); @@ -33857,21 +28908,16 @@ class SwiftLibrary { } late final __objc_msgSend_945Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_945 = __objc_msgSend_945Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_945 = - __objc_msgSend_945Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_isLowPowerModeEnabled1 = objc.registerName( "isLowPowerModeEnabled", @@ -33890,21 +28936,16 @@ class SwiftLibrary { } late final __objc_msgSend_946Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_946 = __objc_msgSend_946Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_946 = - __objc_msgSend_946Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_range1 = objc.registerName("range"); late final _sel_orthography1 = objc.registerName("orthography"); @@ -33916,21 +28957,16 @@ class SwiftLibrary { } late final __objc_msgSend_947Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_947 = __objc_msgSend_947Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_947 = - __objc_msgSend_947Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_grammarDetails1 = objc.registerName("grammarDetails"); late final _sel_duration1 = objc.registerName("duration"); @@ -33938,8 +28974,8 @@ class SwiftLibrary { late final _sel_replacementString1 = objc.registerName("replacementString"); late final _sel_alternativeStrings1 = objc.registerName("alternativeStrings"); late final _class_NSRegularExpression1 = objc.getClass("NSRegularExpression"); - late final _sel_regularExpressionWithPattern_options_error_1 = objc - .registerName("regularExpressionWithPattern:options:error:"); + late final _sel_regularExpressionWithPattern_options_error_1 = + objc.registerName("regularExpressionWithPattern:options:error:"); ffi.Pointer _objc_msgSend_948( ffi.Pointer obj, ffi.Pointer sel, @@ -33951,27 +28987,22 @@ class SwiftLibrary { } late final __objc_msgSend_948Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_948 = __objc_msgSend_948Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_948 = - __objc_msgSend_948Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>, - ) - >(); + )>(); late final _sel_initWithPattern_options_error_1 = objc.registerName( "initWithPattern:options:error:", @@ -33987,27 +29018,22 @@ class SwiftLibrary { } late final __objc_msgSend_949Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_949 = __objc_msgSend_949Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_949 = - __objc_msgSend_949Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>, - ) - >(); + )>(); late final _sel_pattern1 = objc.registerName("pattern"); late final _sel_options1 = objc.registerName("options"); @@ -34019,21 +29045,16 @@ class SwiftLibrary { } late final __objc_msgSend_950Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_950 = __objc_msgSend_950Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_950 = - __objc_msgSend_950Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_numberOfCaptureGroups1 = objc.registerName( "numberOfCaptureGroups", @@ -34041,8 +29062,8 @@ class SwiftLibrary { late final _sel_escapedPatternForString_1 = objc.registerName( "escapedPatternForString:", ); - late final _sel_enumerateMatchesInString_options_range_usingBlock_1 = objc - .registerName("enumerateMatchesInString:options:range:usingBlock:"); + late final _sel_enumerateMatchesInString_options_range_usingBlock_1 = + objc.registerName("enumerateMatchesInString:options:range:usingBlock:"); void _objc_msgSend_951( ffi.Pointer obj, ffi.Pointer sel, @@ -34055,29 +29076,24 @@ class SwiftLibrary { } late final __objc_msgSend_951Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + _NSRange, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_951 = __objc_msgSend_951Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, _NSRange, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_951 = - __objc_msgSend_951Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - _NSRange, - ffi.Pointer, - ) - >(); + )>(); late final _sel_matchesInString_options_range_1 = objc.registerName( "matchesInString:options:range:", @@ -34093,27 +29109,22 @@ class SwiftLibrary { } late final __objc_msgSend_952Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + _NSRange, + )>>('objc_msgSend'); + late final __objc_msgSend_952 = __objc_msgSend_952Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, _NSRange, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_952 = - __objc_msgSend_952Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - _NSRange, - ) - >(); + )>(); late final _sel_numberOfMatchesInString_options_range_1 = objc.registerName( "numberOfMatchesInString:options:range:", @@ -34129,27 +29140,22 @@ class SwiftLibrary { } late final __objc_msgSend_953Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedLong Function( + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + _NSRange, + )>>('objc_msgSend'); + late final __objc_msgSend_953 = __objc_msgSend_953Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, _NSRange, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_953 = - __objc_msgSend_953Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - _NSRange, - ) - >(); + )>(); late final _sel_firstMatchInString_options_range_1 = objc.registerName( "firstMatchInString:options:range:", @@ -34165,27 +29171,22 @@ class SwiftLibrary { } late final __objc_msgSend_954Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + _NSRange, + )>>('objc_msgSend'); + late final __objc_msgSend_954 = __objc_msgSend_954Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, _NSRange, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_954 = - __objc_msgSend_954Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - _NSRange, - ) - >(); + )>(); late final _sel_rangeOfFirstMatchInString_options_range_1 = objc.registerName( "rangeOfFirstMatchInString:options:range:", @@ -34201,27 +29202,22 @@ class SwiftLibrary { } late final __objc_msgSend_955Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + _NSRange Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + _NSRange, + )>>('objc_msgSend'); + late final __objc_msgSend_955 = __objc_msgSend_955Ptr.asFunction< _NSRange Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, _NSRange, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_955 = - __objc_msgSend_955Ptr - .asFunction< - _NSRange Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - _NSRange, - ) - >(); + )>(); void _objc_msgSend_955_stret( ffi.Pointer<_NSRange> stret, @@ -34235,34 +29231,29 @@ class SwiftLibrary { } late final __objc_msgSend_955_stretPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer<_NSRange>, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + _NSRange, + )>>('objc_msgSend_stret'); + late final __objc_msgSend_955_stret = __objc_msgSend_955_stretPtr.asFunction< + void Function( ffi.Pointer<_NSRange>, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, _NSRange, - ) - > - >('objc_msgSend_stret'); - late final __objc_msgSend_955_stret = - __objc_msgSend_955_stretPtr - .asFunction< - void Function( - ffi.Pointer<_NSRange>, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - _NSRange, - ) - >(); + )>(); late final _sel_stringByReplacingMatchesInString_options_range_withTemplate_1 = objc.registerName( - "stringByReplacingMatchesInString:options:range:withTemplate:", - ); + "stringByReplacingMatchesInString:options:range:withTemplate:", + ); ffi.Pointer _objc_msgSend_956( ffi.Pointer obj, ffi.Pointer sel, @@ -34275,32 +29266,27 @@ class SwiftLibrary { } late final __objc_msgSend_956Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + _NSRange, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_956 = __objc_msgSend_956Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, _NSRange, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_956 = - __objc_msgSend_956Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - _NSRange, - ffi.Pointer, - ) - >(); + )>(); - late final _sel_replaceMatchesInString_options_range_withTemplate_1 = objc - .registerName("replaceMatchesInString:options:range:withTemplate:"); + late final _sel_replaceMatchesInString_options_range_withTemplate_1 = + objc.registerName("replaceMatchesInString:options:range:withTemplate:"); int _objc_msgSend_957( ffi.Pointer obj, ffi.Pointer sel, @@ -34313,32 +29299,27 @@ class SwiftLibrary { } late final __objc_msgSend_957Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedLong Function( + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + _NSRange, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_957 = __objc_msgSend_957Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, _NSRange, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_957 = - __objc_msgSend_957Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - _NSRange, - ffi.Pointer, - ) - >(); + )>(); - late final _sel_replacementStringForResult_inString_offset_template_1 = objc - .registerName("replacementStringForResult:inString:offset:template:"); + late final _sel_replacementStringForResult_inString_offset_template_1 = + objc.registerName("replacementStringForResult:inString:offset:template:"); ffi.Pointer _objc_msgSend_958( ffi.Pointer obj, ffi.Pointer sel, @@ -34351,29 +29332,24 @@ class SwiftLibrary { } late final __objc_msgSend_958Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Long, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_958 = __objc_msgSend_958Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Long, + int, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_958 = - __objc_msgSend_958Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ) - >(); + )>(); late final _sel_escapedTemplateForString_1 = objc.registerName( "escapedTemplateForString:", @@ -34387,21 +29363,16 @@ class SwiftLibrary { } late final __objc_msgSend_959Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_959 = __objc_msgSend_959Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_959 = - __objc_msgSend_959Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_phoneNumber1 = objc.registerName("phoneNumber"); late final _sel_numberOfRanges1 = objc.registerName("numberOfRanges"); @@ -34419,27 +29390,22 @@ class SwiftLibrary { } late final __objc_msgSend_960Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Long, + )>>('objc_msgSend'); + late final __objc_msgSend_960 = __objc_msgSend_960Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.Long, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_960 = - __objc_msgSend_960Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_addressComponents1 = objc.registerName("addressComponents"); - late final _sel_orthographyCheckingResultWithRange_orthography_1 = objc - .registerName("orthographyCheckingResultWithRange:orthography:"); + late final _sel_orthographyCheckingResultWithRange_orthography_1 = + objc.registerName("orthographyCheckingResultWithRange:orthography:"); ffi.Pointer _objc_msgSend_961( ffi.Pointer obj, ffi.Pointer sel, @@ -34450,25 +29416,20 @@ class SwiftLibrary { } late final __objc_msgSend_961Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_961 = __objc_msgSend_961Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, _NSRange, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_961 = - __objc_msgSend_961Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - ) - >(); + )>(); late final _sel_spellCheckingResultWithRange_1 = objc.registerName( "spellCheckingResultWithRange:", @@ -34482,23 +29443,18 @@ class SwiftLibrary { } late final __objc_msgSend_962Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + )>>('objc_msgSend'); + late final __objc_msgSend_962 = __objc_msgSend_962Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, _NSRange, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_962 = - __objc_msgSend_962Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ) - >(); + )>(); late final _sel_grammarCheckingResultWithRange_details_1 = objc.registerName( "grammarCheckingResultWithRange:details:", @@ -34513,25 +29469,20 @@ class SwiftLibrary { } late final __objc_msgSend_963Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_963 = __objc_msgSend_963Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, _NSRange, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_963 = - __objc_msgSend_963Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - ) - >(); + )>(); late final _sel_dateCheckingResultWithRange_date_1 = objc.registerName( "dateCheckingResultWithRange:date:", @@ -34546,28 +29497,23 @@ class SwiftLibrary { } late final __objc_msgSend_964Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_964 = __objc_msgSend_964Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, _NSRange, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_964 = - __objc_msgSend_964Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - ) - >(); + )>(); - late final _sel_dateCheckingResultWithRange_date_timeZone_duration_1 = objc - .registerName("dateCheckingResultWithRange:date:timeZone:duration:"); + late final _sel_dateCheckingResultWithRange_date_timeZone_duration_1 = + objc.registerName("dateCheckingResultWithRange:date:timeZone:duration:"); ffi.Pointer _objc_msgSend_965( ffi.Pointer obj, ffi.Pointer sel, @@ -34580,32 +29526,27 @@ class SwiftLibrary { } late final __objc_msgSend_965Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + ffi.Pointer, + ffi.Double, + )>>('objc_msgSend'); + late final __objc_msgSend_965 = __objc_msgSend_965Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, _NSRange, ffi.Pointer, ffi.Pointer, - ffi.Double, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_965 = - __objc_msgSend_965Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - ffi.Pointer, - double, - ) - >(); + double, + )>(); - late final _sel_addressCheckingResultWithRange_components_1 = objc - .registerName("addressCheckingResultWithRange:components:"); + late final _sel_addressCheckingResultWithRange_components_1 = + objc.registerName("addressCheckingResultWithRange:components:"); ffi.Pointer _objc_msgSend_966( ffi.Pointer obj, ffi.Pointer sel, @@ -34616,25 +29557,20 @@ class SwiftLibrary { } late final __objc_msgSend_966Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_966 = __objc_msgSend_966Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, _NSRange, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_966 = - __objc_msgSend_966Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - ) - >(); + )>(); late final _sel_linkCheckingResultWithRange_URL_1 = objc.registerName( "linkCheckingResultWithRange:URL:", @@ -34649,28 +29585,23 @@ class SwiftLibrary { } late final __objc_msgSend_967Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_967 = __objc_msgSend_967Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, _NSRange, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_967 = - __objc_msgSend_967Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - ) - >(); + )>(); - late final _sel_quoteCheckingResultWithRange_replacementString_1 = objc - .registerName("quoteCheckingResultWithRange:replacementString:"); + late final _sel_quoteCheckingResultWithRange_replacementString_1 = + objc.registerName("quoteCheckingResultWithRange:replacementString:"); ffi.Pointer _objc_msgSend_968( ffi.Pointer obj, ffi.Pointer sel, @@ -34681,36 +29612,31 @@ class SwiftLibrary { } late final __objc_msgSend_968Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_968 = __objc_msgSend_968Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, _NSRange, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_968 = - __objc_msgSend_968Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - ) - >(); + )>(); - late final _sel_dashCheckingResultWithRange_replacementString_1 = objc - .registerName("dashCheckingResultWithRange:replacementString:"); + late final _sel_dashCheckingResultWithRange_replacementString_1 = + objc.registerName("dashCheckingResultWithRange:replacementString:"); late final _sel_replacementCheckingResultWithRange_replacementString_1 = objc .registerName("replacementCheckingResultWithRange:replacementString:"); - late final _sel_correctionCheckingResultWithRange_replacementString_1 = objc - .registerName("correctionCheckingResultWithRange:replacementString:"); + late final _sel_correctionCheckingResultWithRange_replacementString_1 = + objc.registerName("correctionCheckingResultWithRange:replacementString:"); late final _sel_correctionCheckingResultWithRange_replacementString_alternativeStrings_1 = objc.registerName( - "correctionCheckingResultWithRange:replacementString:alternativeStrings:", - ); + "correctionCheckingResultWithRange:replacementString:alternativeStrings:", + ); ffi.Pointer _objc_msgSend_969( ffi.Pointer obj, ffi.Pointer sel, @@ -34728,32 +29654,27 @@ class SwiftLibrary { } late final __objc_msgSend_969Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_969 = __objc_msgSend_969Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, _NSRange, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_969 = - __objc_msgSend_969Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_regularExpressionCheckingResultWithRanges_count_regularExpression_1 = objc.registerName( - "regularExpressionCheckingResultWithRanges:count:regularExpression:", - ); + "regularExpressionCheckingResultWithRanges:count:regularExpression:", + ); ffi.Pointer _objc_msgSend_970( ffi.Pointer obj, ffi.Pointer sel, @@ -34765,30 +29686,25 @@ class SwiftLibrary { } late final __objc_msgSend_970Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_NSRange>, + ffi.UnsignedLong, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_970 = __objc_msgSend_970Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer<_NSRange>, - ffi.UnsignedLong, + int, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_970 = - __objc_msgSend_970Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_NSRange>, - int, - ffi.Pointer, - ) - >(); + )>(); - late final _sel_phoneNumberCheckingResultWithRange_phoneNumber_1 = objc - .registerName("phoneNumberCheckingResultWithRange:phoneNumber:"); + late final _sel_phoneNumberCheckingResultWithRange_phoneNumber_1 = + objc.registerName("phoneNumberCheckingResultWithRange:phoneNumber:"); late final _sel_transitInformationCheckingResultWithRange_components_1 = objc .registerName("transitInformationCheckingResultWithRange:components:"); late final _class_NSURLCache1 = objc.getClass("NSURLCache"); @@ -34801,21 +29717,16 @@ class SwiftLibrary { } late final __objc_msgSend_971Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_971 = __objc_msgSend_971Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_971 = - __objc_msgSend_971Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_setSharedURLCache_1 = objc.registerName("setSharedURLCache:"); void _objc_msgSend_972( @@ -34827,26 +29738,21 @@ class SwiftLibrary { } late final __objc_msgSend_972Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_972 = __objc_msgSend_972Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_972 = - __objc_msgSend_972Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); - late final _sel_initWithMemoryCapacity_diskCapacity_diskPath_1 = objc - .registerName("initWithMemoryCapacity:diskCapacity:diskPath:"); + late final _sel_initWithMemoryCapacity_diskCapacity_diskPath_1 = + objc.registerName("initWithMemoryCapacity:diskCapacity:diskPath:"); instancetype _objc_msgSend_973( ffi.Pointer obj, ffi.Pointer sel, @@ -34858,30 +29764,25 @@ class SwiftLibrary { } late final __objc_msgSend_973Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.UnsignedLong, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_973 = __objc_msgSend_973Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, - ffi.UnsignedLong, + int, + int, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_973 = - __objc_msgSend_973Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - int, - int, - ffi.Pointer, - ) - >(); + )>(); - late final _sel_initWithMemoryCapacity_diskCapacity_directoryURL_1 = objc - .registerName("initWithMemoryCapacity:diskCapacity:directoryURL:"); + late final _sel_initWithMemoryCapacity_diskCapacity_directoryURL_1 = + objc.registerName("initWithMemoryCapacity:diskCapacity:directoryURL:"); instancetype _objc_msgSend_974( ffi.Pointer obj, ffi.Pointer sel, @@ -34899,27 +29800,22 @@ class SwiftLibrary { } late final __objc_msgSend_974Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.UnsignedLong, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_974 = __objc_msgSend_974Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, - ffi.UnsignedLong, + int, + int, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_974 = - __objc_msgSend_974Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - int, - int, - ffi.Pointer, - ) - >(); + )>(); late final _class_NSCachedURLResponse1 = objc.getClass("NSCachedURLResponse"); late final _sel_initWithResponse_data_1 = objc.registerName( @@ -34935,28 +29831,23 @@ class SwiftLibrary { } late final __objc_msgSend_975Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_975 = __objc_msgSend_975Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_975 = - __objc_msgSend_975Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); - late final _sel_initWithResponse_data_userInfo_storagePolicy_1 = objc - .registerName("initWithResponse:data:userInfo:storagePolicy:"); + late final _sel_initWithResponse_data_userInfo_storagePolicy_1 = + objc.registerName("initWithResponse:data:userInfo:storagePolicy:"); instancetype _objc_msgSend_976( ffi.Pointer obj, ffi.Pointer sel, @@ -34976,29 +29867,24 @@ class SwiftLibrary { } late final __objc_msgSend_976Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + )>>('objc_msgSend'); + late final __objc_msgSend_976 = __objc_msgSend_976Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_976 = - __objc_msgSend_976Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); ffi.Pointer _objc_msgSend_977( ffi.Pointer obj, @@ -35008,21 +29894,16 @@ class SwiftLibrary { } late final __objc_msgSend_977Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_977 = __objc_msgSend_977Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_977 = - __objc_msgSend_977Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_storagePolicy1 = objc.registerName("storagePolicy"); int _objc_msgSend_978( @@ -35033,21 +29914,16 @@ class SwiftLibrary { } late final __objc_msgSend_978Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_978 = __objc_msgSend_978Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_978 = - __objc_msgSend_978Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_cachedResponseForRequest_1 = objc.registerName( "cachedResponseForRequest:", @@ -35061,23 +29937,18 @@ class SwiftLibrary { } late final __objc_msgSend_979Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_979 = __objc_msgSend_979Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_979 = - __objc_msgSend_979Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_storeCachedResponse_forRequest_1 = objc.registerName( "storeCachedResponse:forRequest:", @@ -35092,25 +29963,20 @@ class SwiftLibrary { } late final __objc_msgSend_980Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_980 = __objc_msgSend_980Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_980 = - __objc_msgSend_980Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_removeCachedResponseForRequest_1 = objc.registerName( "removeCachedResponseForRequest:", @@ -35124,23 +29990,18 @@ class SwiftLibrary { } late final __objc_msgSend_981Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_981 = __objc_msgSend_981Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_981 = - __objc_msgSend_981Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_removeAllCachedResponses1 = objc.registerName( "removeAllCachedResponses", @@ -35170,28 +30031,23 @@ class SwiftLibrary { } late final __objc_msgSend_982Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_982 = __objc_msgSend_982Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_982 = - __objc_msgSend_982Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); - late final _sel_getCachedResponseForDataTask_completionHandler_1 = objc - .registerName("getCachedResponseForDataTask:completionHandler:"); + late final _sel_getCachedResponseForDataTask_completionHandler_1 = + objc.registerName("getCachedResponseForDataTask:completionHandler:"); void _objc_msgSend_983( ffi.Pointer obj, ffi.Pointer sel, @@ -35202,25 +30058,20 @@ class SwiftLibrary { } late final __objc_msgSend_983Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_983 = __objc_msgSend_983Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_983 = - __objc_msgSend_983Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_removeCachedResponseForDataTask_1 = objc.registerName( "removeCachedResponseForDataTask:", @@ -35234,27 +30085,22 @@ class SwiftLibrary { } late final __objc_msgSend_984Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_984 = __objc_msgSend_984Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_984 = - __objc_msgSend_984Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _class_NSURLConnection1 = objc.getClass("NSURLConnection"); - late final _sel_initWithRequest_delegate_startImmediately_1 = objc - .registerName("initWithRequest:delegate:startImmediately:"); + late final _sel_initWithRequest_delegate_startImmediately_1 = + objc.registerName("initWithRequest:delegate:startImmediately:"); instancetype _objc_msgSend_985( ffi.Pointer obj, ffi.Pointer sel, @@ -35266,27 +30112,22 @@ class SwiftLibrary { } late final __objc_msgSend_985Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + )>>('objc_msgSend'); + late final __objc_msgSend_985 = __objc_msgSend_985Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Bool, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_985 = - __objc_msgSend_985Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - ) - >(); + bool, + )>(); late final _sel_initWithRequest_delegate_1 = objc.registerName( "initWithRequest:delegate:", @@ -35301,25 +30142,20 @@ class SwiftLibrary { } late final __objc_msgSend_986Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_986 = __objc_msgSend_986Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_986 = - __objc_msgSend_986Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_connectionWithRequest_delegate_1 = objc.registerName( "connectionWithRequest:delegate:", @@ -35334,25 +30170,20 @@ class SwiftLibrary { } late final __objc_msgSend_987Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_987 = __objc_msgSend_987Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_987 = - __objc_msgSend_987Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); ffi.Pointer _objc_msgSend_988( ffi.Pointer obj, @@ -35362,21 +30193,16 @@ class SwiftLibrary { } late final __objc_msgSend_988Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_988 = __objc_msgSend_988Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_988 = - __objc_msgSend_988Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_unscheduleFromRunLoop_forMode_1 = objc.registerName( "unscheduleFromRunLoop:forMode:", @@ -35391,23 +30217,18 @@ class SwiftLibrary { } late final __objc_msgSend_989Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_989 = __objc_msgSend_989Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_989 = - __objc_msgSend_989Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_canHandleRequest_1 = objc.registerName("canHandleRequest:"); bool _objc_msgSend_990( @@ -35419,26 +30240,21 @@ class SwiftLibrary { } late final __objc_msgSend_990Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_990 = __objc_msgSend_990Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_990 = - __objc_msgSend_990Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); - late final _sel_sendSynchronousRequest_returningResponse_error_1 = objc - .registerName("sendSynchronousRequest:returningResponse:error:"); + late final _sel_sendSynchronousRequest_returningResponse_error_1 = + objc.registerName("sendSynchronousRequest:returningResponse:error:"); ffi.Pointer _objc_msgSend_991( ffi.Pointer obj, ffi.Pointer sel, @@ -35450,30 +30266,25 @@ class SwiftLibrary { } late final __objc_msgSend_991Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_991 = __objc_msgSend_991Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer>, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_991 = - __objc_msgSend_991Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer>, - ) - >(); + )>(); - late final _sel_sendAsynchronousRequest_queue_completionHandler_1 = objc - .registerName("sendAsynchronousRequest:queue:completionHandler:"); + late final _sel_sendAsynchronousRequest_queue_completionHandler_1 = + objc.registerName("sendAsynchronousRequest:queue:completionHandler:"); void _objc_msgSend_992( ffi.Pointer obj, ffi.Pointer sel, @@ -35485,27 +30296,22 @@ class SwiftLibrary { } late final __objc_msgSend_992Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_992 = __objc_msgSend_992Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_992 = - __objc_msgSend_992Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _class_NSURLCredential1 = objc.getClass("NSURLCredential"); late final _sel_persistence1 = objc.registerName("persistence"); @@ -35517,21 +30323,16 @@ class SwiftLibrary { } late final __objc_msgSend_993Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_993 = __objc_msgSend_993Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_993 = - __objc_msgSend_993Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_initWithUser_password_persistence_1 = objc.registerName( "initWithUser:password:persistence:", @@ -35547,27 +30348,22 @@ class SwiftLibrary { } late final __objc_msgSend_994Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + )>>('objc_msgSend'); + late final __objc_msgSend_994 = __objc_msgSend_994Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_994 = - __objc_msgSend_994Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_credentialWithUser_password_persistence_1 = objc.registerName( "credentialWithUser:password:persistence:", @@ -35583,31 +30379,26 @@ class SwiftLibrary { } late final __objc_msgSend_995Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + )>>('objc_msgSend'); + late final __objc_msgSend_995 = __objc_msgSend_995Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_995 = - __objc_msgSend_995Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_hasPassword1 = objc.registerName("hasPassword"); - late final _sel_initWithIdentity_certificates_persistence_1 = objc - .registerName("initWithIdentity:certificates:persistence:"); + late final _sel_initWithIdentity_certificates_persistence_1 = + objc.registerName("initWithIdentity:certificates:persistence:"); instancetype _objc_msgSend_996( ffi.Pointer obj, ffi.Pointer sel, @@ -35619,30 +30410,25 @@ class SwiftLibrary { } late final __objc_msgSend_996Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<__SecIdentity>, + ffi.Pointer, + ffi.Int32, + )>>('objc_msgSend'); + late final __objc_msgSend_996 = __objc_msgSend_996Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer<__SecIdentity>, ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_996 = - __objc_msgSend_996Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<__SecIdentity>, - ffi.Pointer, - int, - ) - >(); + int, + )>(); - late final _sel_credentialWithIdentity_certificates_persistence_1 = objc - .registerName("credentialWithIdentity:certificates:persistence:"); + late final _sel_credentialWithIdentity_certificates_persistence_1 = + objc.registerName("credentialWithIdentity:certificates:persistence:"); ffi.Pointer _objc_msgSend_997( ffi.Pointer obj, ffi.Pointer sel, @@ -35654,27 +30440,22 @@ class SwiftLibrary { } late final __objc_msgSend_997Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<__SecIdentity>, + ffi.Pointer, + ffi.Int32, + )>>('objc_msgSend'); + late final __objc_msgSend_997 = __objc_msgSend_997Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer<__SecIdentity>, ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_997 = - __objc_msgSend_997Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<__SecIdentity>, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_identity1 = objc.registerName("identity"); ffi.Pointer<__SecIdentity> _objc_msgSend_998( @@ -35685,21 +30466,16 @@ class SwiftLibrary { } late final __objc_msgSend_998Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer<__SecIdentity> Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_998 = __objc_msgSend_998Ptr.asFunction< ffi.Pointer<__SecIdentity> Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_998 = - __objc_msgSend_998Ptr - .asFunction< - ffi.Pointer<__SecIdentity> Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_certificates1 = objc.registerName("certificates"); late final _sel_initWithTrust_1 = objc.registerName("initWithTrust:"); @@ -35712,23 +30488,18 @@ class SwiftLibrary { } late final __objc_msgSend_999Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<__SecTrust>, + )>>('objc_msgSend'); + late final __objc_msgSend_999 = __objc_msgSend_999Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer<__SecTrust>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_999 = - __objc_msgSend_999Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<__SecTrust>, - ) - >(); + )>(); late final _sel_credentialForTrust_1 = objc.registerName( "credentialForTrust:", @@ -35742,23 +30513,18 @@ class SwiftLibrary { } late final __objc_msgSend_1000Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<__SecTrust>, + )>>('objc_msgSend'); + late final __objc_msgSend_1000 = __objc_msgSend_1000Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer<__SecTrust>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1000 = - __objc_msgSend_1000Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<__SecTrust>, - ) - >(); + )>(); late final _class_NSURLProtectionSpace1 = objc.getClass( "NSURLProtectionSpace", @@ -35786,36 +30552,31 @@ class SwiftLibrary { } late final __objc_msgSend_1001Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Long, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1001 = __objc_msgSend_1001Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Long, + int, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1001 = - __objc_msgSend_1001Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_initWithProxyHost_port_type_realm_authenticationMethod_1 = objc.registerName( - "initWithProxyHost:port:type:realm:authenticationMethod:", - ); + "initWithProxyHost:port:type:realm:authenticationMethod:", + ); late final _sel_realm1 = objc.registerName("realm"); late final _sel_receivesCredentialSecurely1 = objc.registerName( "receivesCredentialSecurely", @@ -35836,21 +30597,16 @@ class SwiftLibrary { } late final __objc_msgSend_1002Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer<__SecTrust> Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1002 = __objc_msgSend_1002Ptr.asFunction< ffi.Pointer<__SecTrust> Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1002 = - __objc_msgSend_1002Ptr - .asFunction< - ffi.Pointer<__SecTrust> Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _class_NSURLCredentialStorage1 = objc.getClass( "NSURLCredentialStorage", @@ -35866,21 +30622,16 @@ class SwiftLibrary { } late final __objc_msgSend_1003Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1003 = __objc_msgSend_1003Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1003 = - __objc_msgSend_1003Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_credentialsForProtectionSpace_1 = objc.registerName( "credentialsForProtectionSpace:", @@ -35894,23 +30645,18 @@ class SwiftLibrary { } late final __objc_msgSend_1004Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1004 = __objc_msgSend_1004Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1004 = - __objc_msgSend_1004Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_allCredentials1 = objc.registerName("allCredentials"); late final _sel_setCredential_forProtectionSpace_1 = objc.registerName( @@ -35926,31 +30672,26 @@ class SwiftLibrary { } late final __objc_msgSend_1005Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1005 = __objc_msgSend_1005Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1005 = - __objc_msgSend_1005Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_removeCredential_forProtectionSpace_1 = objc.registerName( "removeCredential:forProtectionSpace:", ); - late final _sel_removeCredential_forProtectionSpace_options_1 = objc - .registerName("removeCredential:forProtectionSpace:options:"); + late final _sel_removeCredential_forProtectionSpace_options_1 = + objc.registerName("removeCredential:forProtectionSpace:options:"); void _objc_msgSend_1006( ffi.Pointer obj, ffi.Pointer sel, @@ -35962,27 +30703,22 @@ class SwiftLibrary { } late final __objc_msgSend_1006Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1006 = __objc_msgSend_1006Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1006 = - __objc_msgSend_1006Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_defaultCredentialForProtectionSpace_1 = objc.registerName( "defaultCredentialForProtectionSpace:", @@ -35996,31 +30732,26 @@ class SwiftLibrary { } late final __objc_msgSend_1007Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1007 = __objc_msgSend_1007Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1007 = - __objc_msgSend_1007Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_setDefaultCredential_forProtectionSpace_1 = objc.registerName( "setDefaultCredential:forProtectionSpace:", ); late final _sel_getCredentialsForProtectionSpace_task_completionHandler_1 = objc.registerName( - "getCredentialsForProtectionSpace:task:completionHandler:", - ); + "getCredentialsForProtectionSpace:task:completionHandler:", + ); void _objc_msgSend_1008( ffi.Pointer obj, ffi.Pointer sel, @@ -36038,27 +30769,22 @@ class SwiftLibrary { } late final __objc_msgSend_1008Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1008 = __objc_msgSend_1008Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1008 = - __objc_msgSend_1008Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_setCredential_forProtectionSpace_task_1 = objc.registerName( "setCredential:forProtectionSpace:task:", @@ -36074,30 +30800,25 @@ class SwiftLibrary { } late final __objc_msgSend_1009Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1009 = __objc_msgSend_1009Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1009 = - __objc_msgSend_1009Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); - late final _sel_removeCredential_forProtectionSpace_options_task_1 = objc - .registerName("removeCredential:forProtectionSpace:options:task:"); + late final _sel_removeCredential_forProtectionSpace_options_task_1 = + objc.registerName("removeCredential:forProtectionSpace:options:task:"); void _objc_msgSend_1010( ffi.Pointer obj, ffi.Pointer sel, @@ -36117,34 +30838,29 @@ class SwiftLibrary { } late final __objc_msgSend_1010Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1010 = __objc_msgSend_1010Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1010 = - __objc_msgSend_1010Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_getDefaultCredentialForProtectionSpace_task_completionHandler_1 = objc.registerName( - "getDefaultCredentialForProtectionSpace:task:completionHandler:", - ); + "getDefaultCredentialForProtectionSpace:task:completionHandler:", + ); void _objc_msgSend_1011( ffi.Pointer obj, ffi.Pointer sel, @@ -36156,30 +30872,25 @@ class SwiftLibrary { } late final __objc_msgSend_1011Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1011 = __objc_msgSend_1011Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1011 = - __objc_msgSend_1011Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); - late final _sel_setDefaultCredential_forProtectionSpace_task_1 = objc - .registerName("setDefaultCredential:forProtectionSpace:task:"); + late final _sel_setDefaultCredential_forProtectionSpace_task_1 = + objc.registerName("setDefaultCredential:forProtectionSpace:task:"); late final _class_NSURLProtocol1 = objc.getClass("NSURLProtocol"); late final _sel_initWithRequest_cachedResponse_client_1 = objc.registerName( "initWithRequest:cachedResponse:client:", @@ -36195,27 +30906,22 @@ class SwiftLibrary { } late final __objc_msgSend_1012Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1012 = __objc_msgSend_1012Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1012 = - __objc_msgSend_1012Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_client1 = objc.registerName("client"); late final _sel_request1 = objc.registerName("request"); @@ -36228,21 +30934,16 @@ class SwiftLibrary { } late final __objc_msgSend_1013Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1013 = __objc_msgSend_1013Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1013 = - __objc_msgSend_1013Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_canInitWithRequest_1 = objc.registerName( "canInitWithRequest:", @@ -36259,23 +30960,18 @@ class SwiftLibrary { } late final __objc_msgSend_1014Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1014 = __objc_msgSend_1014Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1014 = - __objc_msgSend_1014Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_requestIsCacheEquivalent_toRequest_1 = objc.registerName( "requestIsCacheEquivalent:toRequest:", @@ -36290,25 +30986,20 @@ class SwiftLibrary { } late final __objc_msgSend_1015Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1015 = __objc_msgSend_1015Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1015 = - __objc_msgSend_1015Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_startLoading1 = objc.registerName("startLoading"); late final _sel_stopLoading1 = objc.registerName("stopLoading"); @@ -36325,25 +31016,20 @@ class SwiftLibrary { } late final __objc_msgSend_1016Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1016 = __objc_msgSend_1016Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1016 = - __objc_msgSend_1016Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _class_NSMutableURLRequest1 = objc.getClass("NSMutableURLRequest"); late final _sel_setURL_1 = objc.registerName("setURL:"); @@ -36357,23 +31043,18 @@ class SwiftLibrary { } late final __objc_msgSend_1017Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + )>>('objc_msgSend'); + late final __objc_msgSend_1017 = __objc_msgSend_1017Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1017 = - __objc_msgSend_1017Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_setTimeoutInterval_1 = objc.registerName( "setTimeoutInterval:", @@ -36393,23 +31074,18 @@ class SwiftLibrary { } late final __objc_msgSend_1018Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + )>>('objc_msgSend'); + late final __objc_msgSend_1018 = __objc_msgSend_1018Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1018 = - __objc_msgSend_1018Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_setAllowsCellularAccess_1 = objc.registerName( "setAllowsCellularAccess:", @@ -36433,23 +31109,18 @@ class SwiftLibrary { } late final __objc_msgSend_1019Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + )>>('objc_msgSend'); + late final __objc_msgSend_1019 = __objc_msgSend_1019Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1019 = - __objc_msgSend_1019Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_setRequiresDNSSECValidation_1 = objc.registerName( "setRequiresDNSSECValidation:", @@ -36471,25 +31142,20 @@ class SwiftLibrary { } late final __objc_msgSend_1020Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1020 = __objc_msgSend_1020Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1020 = - __objc_msgSend_1020Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_addValue_forHTTPHeaderField_1 = objc.registerName( "addValue:forHTTPHeaderField:", @@ -36504,23 +31170,18 @@ class SwiftLibrary { } late final __objc_msgSend_1021Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1021 = __objc_msgSend_1021Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1021 = - __objc_msgSend_1021Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_setHTTPBodyStream_1 = objc.registerName("setHTTPBodyStream:"); void _objc_msgSend_1022( @@ -36532,23 +31193,18 @@ class SwiftLibrary { } late final __objc_msgSend_1022Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1022 = __objc_msgSend_1022Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1022 = - __objc_msgSend_1022Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_setHTTPShouldHandleCookies_1 = objc.registerName( "setHTTPShouldHandleCookies:", @@ -36570,27 +31226,22 @@ class SwiftLibrary { } late final __objc_msgSend_1023Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1023 = __objc_msgSend_1023Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1023 = - __objc_msgSend_1023Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_removePropertyForKey_inRequest_1 = objc.registerName( "removePropertyForKey:inRequest:", @@ -36605,25 +31256,20 @@ class SwiftLibrary { } late final __objc_msgSend_1024Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1024 = __objc_msgSend_1024Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1024 = - __objc_msgSend_1024Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_registerClass_1 = objc.registerName("registerClass:"); late final _sel_unregisterClass_1 = objc.registerName("unregisterClass:"); @@ -36637,23 +31283,18 @@ class SwiftLibrary { } late final __objc_msgSend_1025Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1025 = __objc_msgSend_1025Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1025 = - __objc_msgSend_1025Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_initWithTask_cachedResponse_client_1 = objc.registerName( "initWithTask:cachedResponse:client:", @@ -36669,27 +31310,22 @@ class SwiftLibrary { } late final __objc_msgSend_1026Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1026 = __objc_msgSend_1026Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1026 = - __objc_msgSend_1026Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_task1 = objc.registerName("task"); ffi.Pointer _objc_msgSend_1027( @@ -36700,21 +31336,16 @@ class SwiftLibrary { } late final __objc_msgSend_1027Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1027 = __objc_msgSend_1027Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1027 = - __objc_msgSend_1027Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _class_NSXMLParser1 = objc.getClass("NSXMLParser"); late final _sel_initWithStream_1 = objc.registerName("initWithStream:"); @@ -36727,23 +31358,18 @@ class SwiftLibrary { } late final __objc_msgSend_1028Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1028 = __objc_msgSend_1028Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1028 = - __objc_msgSend_1028Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_shouldProcessNamespaces1 = objc.registerName( "shouldProcessNamespaces", @@ -36768,21 +31394,16 @@ class SwiftLibrary { } late final __objc_msgSend_1029Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1029 = __objc_msgSend_1029Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1029 = - __objc_msgSend_1029Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_setExternalEntityResolvingPolicy_1 = objc.registerName( "setExternalEntityResolvingPolicy:", @@ -36796,23 +31417,18 @@ class SwiftLibrary { } late final __objc_msgSend_1030Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + )>>('objc_msgSend'); + late final __objc_msgSend_1030 = __objc_msgSend_1030Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1030 = - __objc_msgSend_1030Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_allowedExternalEntityURLs1 = objc.registerName( "allowedExternalEntityURLs", @@ -36829,23 +31445,18 @@ class SwiftLibrary { } late final __objc_msgSend_1031Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1031 = __objc_msgSend_1031Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1031 = - __objc_msgSend_1031Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_parse1 = objc.registerName("parse"); late final _sel_abortParsing1 = objc.registerName("abortParsing"); @@ -36875,27 +31486,22 @@ class SwiftLibrary { } late final __objc_msgSend_1032Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_1032 = __objc_msgSend_1032Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1032 = - __objc_msgSend_1032Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>, - ) - >(); + )>(); late final _sel_initDirectoryWithFileWrappers_1 = objc.registerName( "initDirectoryWithFileWrappers:", @@ -36937,30 +31543,25 @@ class SwiftLibrary { } late final __objc_msgSend_1033Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_1033 = __objc_msgSend_1033Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1033 = - __objc_msgSend_1033Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>, - ) - >(); + )>(); - late final _sel_writeToURL_options_originalContentsURL_error_1 = objc - .registerName("writeToURL:options:originalContentsURL:error:"); + late final _sel_writeToURL_options_originalContentsURL_error_1 = + objc.registerName("writeToURL:options:originalContentsURL:error:"); bool _objc_msgSend_1034( ffi.Pointer obj, ffi.Pointer sel, @@ -36980,29 +31581,24 @@ class SwiftLibrary { } late final __objc_msgSend_1034Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_1034 = __objc_msgSend_1034Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, ffi.Pointer, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1034 = - __objc_msgSend_1034Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ffi.Pointer>, - ) - >(); + )>(); late final _sel_serializedRepresentation1 = objc.registerName( "serializedRepresentation", @@ -37017,26 +31613,21 @@ class SwiftLibrary { } late final __objc_msgSend_1035Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1035 = __objc_msgSend_1035Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1035 = - __objc_msgSend_1035Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); - late final _sel_addRegularFileWithContents_preferredFilename_1 = objc - .registerName("addRegularFileWithContents:preferredFilename:"); + late final _sel_addRegularFileWithContents_preferredFilename_1 = + objc.registerName("addRegularFileWithContents:preferredFilename:"); ffi.Pointer _objc_msgSend_1036( ffi.Pointer obj, ffi.Pointer sel, @@ -37047,25 +31638,20 @@ class SwiftLibrary { } late final __objc_msgSend_1036Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1036 = __objc_msgSend_1036Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1036 = - __objc_msgSend_1036Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_removeFileWrapper_1 = objc.registerName("removeFileWrapper:"); void _objc_msgSend_1037( @@ -37077,23 +31663,18 @@ class SwiftLibrary { } late final __objc_msgSend_1037Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1037 = __objc_msgSend_1037Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1037 = - __objc_msgSend_1037Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_fileWrappers1 = objc.registerName("fileWrappers"); late final _sel_keyForFileWrapper_1 = objc.registerName("keyForFileWrapper:"); @@ -37106,23 +31687,18 @@ class SwiftLibrary { } late final __objc_msgSend_1038Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1038 = __objc_msgSend_1038Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1038 = - __objc_msgSend_1038Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_regularFileContents1 = objc.registerName( "regularFileContents", @@ -37151,31 +31727,26 @@ class SwiftLibrary { } late final __objc_msgSend_1039Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.Bool, + )>>('objc_msgSend'); + late final __objc_msgSend_1039 = __objc_msgSend_1039Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Bool, - ffi.Bool, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1039 = - __objc_msgSend_1039Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - bool, - ) - >(); + bool, + bool, + )>(); late final _sel_addFileWithPath_1 = objc.registerName("addFileWithPath:"); - late final _sel_addSymbolicLinkWithDestination_preferredFilename_1 = objc - .registerName("addSymbolicLinkWithDestination:preferredFilename:"); + late final _sel_addSymbolicLinkWithDestination_preferredFilename_1 = + objc.registerName("addSymbolicLinkWithDestination:preferredFilename:"); late final _sel_symbolicLinkDestination1 = objc.registerName( "symbolicLinkDestination", ); @@ -37189,21 +31760,16 @@ class SwiftLibrary { } late final __objc_msgSend_1040Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1040 = __objc_msgSend_1040Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1040 = - __objc_msgSend_1040Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _class_NSURLSessionConfiguration1 = objc.getClass( "NSURLSessionConfiguration", @@ -37219,27 +31785,22 @@ class SwiftLibrary { } late final __objc_msgSend_1041Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1041 = __objc_msgSend_1041Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1041 = - __objc_msgSend_1041Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_ephemeralSessionConfiguration1 = objc.registerName( "ephemeralSessionConfiguration", ); - late final _sel_backgroundSessionConfigurationWithIdentifier_1 = objc - .registerName("backgroundSessionConfigurationWithIdentifier:"); + late final _sel_backgroundSessionConfigurationWithIdentifier_1 = + objc.registerName("backgroundSessionConfigurationWithIdentifier:"); ffi.Pointer _objc_msgSend_1042( ffi.Pointer obj, ffi.Pointer sel, @@ -37249,23 +31810,18 @@ class SwiftLibrary { } late final __objc_msgSend_1042Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1042 = __objc_msgSend_1042Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1042 = - __objc_msgSend_1042Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_identifier1 = objc.registerName("identifier"); late final _sel_requestCachePolicy1 = objc.registerName("requestCachePolicy"); @@ -37321,21 +31877,16 @@ class SwiftLibrary { } late final __objc_msgSend_1043Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1043 = __objc_msgSend_1043Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1043 = - __objc_msgSend_1043Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_setTLSMinimumSupportedProtocol_1 = objc.registerName( "setTLSMinimumSupportedProtocol:", @@ -37349,23 +31900,18 @@ class SwiftLibrary { } late final __objc_msgSend_1044Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + )>>('objc_msgSend'); + late final __objc_msgSend_1044 = __objc_msgSend_1044Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1044 = - __objc_msgSend_1044Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_TLSMaximumSupportedProtocol1 = objc.registerName( "TLSMaximumSupportedProtocol", @@ -37384,21 +31930,16 @@ class SwiftLibrary { } late final __objc_msgSend_1045Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1045 = __objc_msgSend_1045Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1045 = - __objc_msgSend_1045Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_setTLSMinimumSupportedProtocolVersion_1 = objc.registerName( "setTLSMinimumSupportedProtocolVersion:", @@ -37412,23 +31953,18 @@ class SwiftLibrary { } late final __objc_msgSend_1046Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + )>>('objc_msgSend'); + late final __objc_msgSend_1046 = __objc_msgSend_1046Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1046 = - __objc_msgSend_1046Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_TLSMaximumSupportedProtocolVersion1 = objc.registerName( "TLSMaximumSupportedProtocolVersion", @@ -37469,21 +32005,16 @@ class SwiftLibrary { } late final __objc_msgSend_1047Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1047 = __objc_msgSend_1047Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1047 = - __objc_msgSend_1047Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_setHTTPCookieStorage_1 = objc.registerName( "setHTTPCookieStorage:", @@ -37497,23 +32028,18 @@ class SwiftLibrary { } late final __objc_msgSend_1048Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1048 = __objc_msgSend_1048Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1048 = - __objc_msgSend_1048Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_URLCredentialStorage1 = objc.registerName( "URLCredentialStorage", @@ -37526,21 +32052,16 @@ class SwiftLibrary { } late final __objc_msgSend_1049Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1049 = __objc_msgSend_1049Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1049 = - __objc_msgSend_1049Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_setURLCredentialStorage_1 = objc.registerName( "setURLCredentialStorage:", @@ -37554,23 +32075,18 @@ class SwiftLibrary { } late final __objc_msgSend_1050Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1050 = __objc_msgSend_1050Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1050 = - __objc_msgSend_1050Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_URLCache1 = objc.registerName("URLCache"); ffi.Pointer _objc_msgSend_1051( @@ -37581,21 +32097,16 @@ class SwiftLibrary { } late final __objc_msgSend_1051Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1051 = __objc_msgSend_1051Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1051 = - __objc_msgSend_1051Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_setURLCache_1 = objc.registerName("setURLCache:"); void _objc_msgSend_1052( @@ -37607,23 +32118,18 @@ class SwiftLibrary { } late final __objc_msgSend_1052Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1052 = __objc_msgSend_1052Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1052 = - __objc_msgSend_1052Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_shouldUseExtendedBackgroundIdleMode1 = objc.registerName( "shouldUseExtendedBackgroundIdleMode", @@ -37644,23 +32150,18 @@ class SwiftLibrary { } late final __objc_msgSend_1053Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1053 = __objc_msgSend_1053Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1053 = - __objc_msgSend_1053Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_multipathServiceType1 = objc.registerName( "multipathServiceType", @@ -37673,21 +32174,16 @@ class SwiftLibrary { } late final __objc_msgSend_1054Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1054 = __objc_msgSend_1054Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1054 = - __objc_msgSend_1054Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_setMultipathServiceType_1 = objc.registerName( "setMultipathServiceType:", @@ -37701,23 +32197,18 @@ class SwiftLibrary { } late final __objc_msgSend_1055Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + )>>('objc_msgSend'); + late final __objc_msgSend_1055 = __objc_msgSend_1055Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1055 = - __objc_msgSend_1055Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_backgroundSessionConfiguration_1 = objc.registerName( "backgroundSessionConfiguration:", @@ -37734,26 +32225,21 @@ class SwiftLibrary { } late final __objc_msgSend_1056Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1056 = __objc_msgSend_1056Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1056 = - __objc_msgSend_1056Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); - late final _sel_sessionWithConfiguration_delegate_delegateQueue_1 = objc - .registerName("sessionWithConfiguration:delegate:delegateQueue:"); + late final _sel_sessionWithConfiguration_delegate_delegateQueue_1 = + objc.registerName("sessionWithConfiguration:delegate:delegateQueue:"); ffi.Pointer _objc_msgSend_1057( ffi.Pointer obj, ffi.Pointer sel, @@ -37765,27 +32251,22 @@ class SwiftLibrary { } late final __objc_msgSend_1057Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1057 = __objc_msgSend_1057Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1057 = - __objc_msgSend_1057Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_delegateQueue1 = objc.registerName("delegateQueue"); late final _sel_configuration1 = objc.registerName("configuration"); @@ -37817,23 +32298,18 @@ class SwiftLibrary { } late final __objc_msgSend_1058Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1058 = __objc_msgSend_1058Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1058 = - __objc_msgSend_1058Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_getAllTasksWithCompletionHandler_1 = objc.registerName( "getAllTasksWithCompletionHandler:", @@ -37847,23 +32323,18 @@ class SwiftLibrary { } late final __objc_msgSend_1059Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1059 = __objc_msgSend_1059Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1059 = - __objc_msgSend_1059Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_dataTaskWithRequest_1 = objc.registerName( "dataTaskWithRequest:", @@ -37877,23 +32348,18 @@ class SwiftLibrary { } late final __objc_msgSend_1060Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1060 = __objc_msgSend_1060Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1060 = - __objc_msgSend_1060Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_dataTaskWithURL_1 = objc.registerName("dataTaskWithURL:"); ffi.Pointer _objc_msgSend_1061( @@ -37905,23 +32371,18 @@ class SwiftLibrary { } late final __objc_msgSend_1061Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1061 = __objc_msgSend_1061Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1061 = - __objc_msgSend_1061Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _class_NSURLSessionUploadTask1 = objc.getClass( "NSURLSessionUploadTask", @@ -37938,23 +32399,18 @@ class SwiftLibrary { } late final __objc_msgSend_1062Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1062 = __objc_msgSend_1062Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1062 = - __objc_msgSend_1062Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_uploadTaskWithRequest_fromFile_1 = objc.registerName( "uploadTaskWithRequest:fromFile:", @@ -37969,25 +32425,20 @@ class SwiftLibrary { } late final __objc_msgSend_1063Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1063 = __objc_msgSend_1063Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1063 = - __objc_msgSend_1063Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_uploadTaskWithRequest_fromData_1 = objc.registerName( "uploadTaskWithRequest:fromData:", @@ -38002,25 +32453,20 @@ class SwiftLibrary { } late final __objc_msgSend_1064Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1064 = __objc_msgSend_1064Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1064 = - __objc_msgSend_1064Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_uploadTaskWithResumeData_1 = objc.registerName( "uploadTaskWithResumeData:", @@ -38034,23 +32480,18 @@ class SwiftLibrary { } late final __objc_msgSend_1065Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1065 = __objc_msgSend_1065Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1065 = - __objc_msgSend_1065Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_uploadTaskWithStreamedRequest_1 = objc.registerName( "uploadTaskWithStreamedRequest:", @@ -38064,23 +32505,18 @@ class SwiftLibrary { } late final __objc_msgSend_1066Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1066 = __objc_msgSend_1066Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1066 = - __objc_msgSend_1066Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _class_NSURLSessionDownloadTask1 = objc.getClass( "NSURLSessionDownloadTask", @@ -38097,23 +32533,18 @@ class SwiftLibrary { } late final __objc_msgSend_1067Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1067 = __objc_msgSend_1067Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1067 = - __objc_msgSend_1067Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_downloadTaskWithURL_1 = objc.registerName( "downloadTaskWithURL:", @@ -38127,23 +32558,18 @@ class SwiftLibrary { } late final __objc_msgSend_1068Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1068 = __objc_msgSend_1068Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1068 = - __objc_msgSend_1068Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_downloadTaskWithResumeData_1 = objc.registerName( "downloadTaskWithResumeData:", @@ -38157,31 +32583,26 @@ class SwiftLibrary { } late final __objc_msgSend_1069Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1069 = __objc_msgSend_1069Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1069 = - __objc_msgSend_1069Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _class_NSURLSessionStreamTask1 = objc.getClass( "NSURLSessionStreamTask", ); late final _sel_readDataOfMinLength_maxLength_timeout_completionHandler_1 = objc.registerName( - "readDataOfMinLength:maxLength:timeout:completionHandler:", - ); + "readDataOfMinLength:maxLength:timeout:completionHandler:", + ); void _objc_msgSend_1070( ffi.Pointer obj, ffi.Pointer sel, @@ -38201,29 +32622,24 @@ class SwiftLibrary { } late final __objc_msgSend_1070Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.UnsignedLong, + ffi.Double, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1070 = __objc_msgSend_1070Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, - ffi.UnsignedLong, - ffi.Double, + int, + int, + double, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1070 = - __objc_msgSend_1070Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - int, - double, - ffi.Pointer, - ) - >(); + )>(); late final _sel_writeData_timeout_completionHandler_1 = objc.registerName( "writeData:timeout:completionHandler:", @@ -38239,27 +32655,22 @@ class SwiftLibrary { } late final __objc_msgSend_1071Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Double, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1071 = __objc_msgSend_1071Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Double, + double, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1071 = - __objc_msgSend_1071Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - double, - ffi.Pointer, - ) - >(); + )>(); late final _sel_captureStreams1 = objc.registerName("captureStreams"); late final _sel_closeWrite1 = objc.registerName("closeWrite"); @@ -38283,25 +32694,20 @@ class SwiftLibrary { } late final __objc_msgSend_1072Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Long, + )>>('objc_msgSend'); + late final __objc_msgSend_1072 = __objc_msgSend_1072Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Long, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1072 = - __objc_msgSend_1072Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _class_NSNetService1 = objc.getClass("NSNetService"); late final _sel_initWithDomain_type_name_port_1 = objc.registerName( @@ -38319,29 +32725,24 @@ class SwiftLibrary { } late final __objc_msgSend_1073Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int, + )>>('objc_msgSend'); + late final __objc_msgSend_1073 = __objc_msgSend_1073Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1073 = - __objc_msgSend_1073Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_initWithDomain_type_name_1 = objc.registerName( "initWithDomain:type:name:", @@ -38357,27 +32758,22 @@ class SwiftLibrary { } late final __objc_msgSend_1074Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1074 = __objc_msgSend_1074Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1074 = - __objc_msgSend_1074Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_includesPeerToPeer1 = objc.registerName("includesPeerToPeer"); late final _sel_setIncludesPeerToPeer_1 = objc.registerName( @@ -38396,23 +32792,18 @@ class SwiftLibrary { } late final __objc_msgSend_1075Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + )>>('objc_msgSend'); + late final __objc_msgSend_1075 = __objc_msgSend_1075Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1075 = - __objc_msgSend_1075Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_resolve1 = objc.registerName("resolve"); late final _sel_stop1 = objc.registerName("stop"); @@ -38428,23 +32819,18 @@ class SwiftLibrary { } late final __objc_msgSend_1076Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1076 = __objc_msgSend_1076Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1076 = - __objc_msgSend_1076Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_dataFromTXTRecordDictionary_1 = objc.registerName( "dataFromTXTRecordDictionary:", @@ -38458,23 +32844,18 @@ class SwiftLibrary { } late final __objc_msgSend_1077Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1077 = __objc_msgSend_1077Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1077 = - __objc_msgSend_1077Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_resolveWithTimeout_1 = objc.registerName( "resolveWithTimeout:", @@ -38492,25 +32873,20 @@ class SwiftLibrary { } late final __objc_msgSend_1078Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_1078 = __objc_msgSend_1078Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer>, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1078 = - __objc_msgSend_1078Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer>, - ) - >(); + )>(); late final _sel_setTXTRecordData_1 = objc.registerName("setTXTRecordData:"); bool _objc_msgSend_1079( @@ -38522,23 +32898,18 @@ class SwiftLibrary { } late final __objc_msgSend_1079Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1079 = __objc_msgSend_1079Ptr.asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1079 = - __objc_msgSend_1079Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_TXTRecordData1 = objc.registerName("TXTRecordData"); late final _sel_startMonitoring1 = objc.registerName("startMonitoring"); @@ -38555,23 +32926,18 @@ class SwiftLibrary { } late final __objc_msgSend_1080Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1080 = __objc_msgSend_1080Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1080 = - __objc_msgSend_1080Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _class_NSURLSessionWebSocketTask1 = objc.getClass( "NSURLSessionWebSocketTask", @@ -38587,21 +32953,16 @@ class SwiftLibrary { } late final __objc_msgSend_1081Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1081 = __objc_msgSend_1081Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1081 = - __objc_msgSend_1081Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_sendMessage_completionHandler_1 = objc.registerName( "sendMessage:completionHandler:", @@ -38616,25 +32977,20 @@ class SwiftLibrary { } late final __objc_msgSend_1082Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1082 = __objc_msgSend_1082Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1082 = - __objc_msgSend_1082Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_receiveMessageWithCompletionHandler_1 = objc.registerName( "receiveMessageWithCompletionHandler:", @@ -38648,23 +33004,18 @@ class SwiftLibrary { } late final __objc_msgSend_1083Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1083 = __objc_msgSend_1083Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1083 = - __objc_msgSend_1083Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_sendPingWithPongReceiveHandler_1 = objc.registerName( "sendPingWithPongReceiveHandler:", @@ -38678,23 +33029,18 @@ class SwiftLibrary { } late final __objc_msgSend_1084Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1084 = __objc_msgSend_1084Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1084 = - __objc_msgSend_1084Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_cancelWithCloseCode_reason_1 = objc.registerName( "cancelWithCloseCode:reason:", @@ -38709,25 +33055,20 @@ class SwiftLibrary { } late final __objc_msgSend_1085Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1085 = __objc_msgSend_1085Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1085 = - __objc_msgSend_1085Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ) - >(); + )>(); late final _sel_maximumMessageSize1 = objc.registerName("maximumMessageSize"); late final _sel_setMaximumMessageSize_1 = objc.registerName( @@ -38742,21 +33083,16 @@ class SwiftLibrary { } late final __objc_msgSend_1086Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1086 = __objc_msgSend_1086Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1086 = - __objc_msgSend_1086Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_closeReason1 = objc.registerName("closeReason"); late final _sel_webSocketTaskWithURL_1 = objc.registerName( @@ -38771,23 +33107,18 @@ class SwiftLibrary { } late final __objc_msgSend_1087Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1087 = __objc_msgSend_1087Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1087 = - __objc_msgSend_1087Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_webSocketTaskWithURL_protocols_1 = objc.registerName( "webSocketTaskWithURL:protocols:", @@ -38802,25 +33133,20 @@ class SwiftLibrary { } late final __objc_msgSend_1088Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1088 = __objc_msgSend_1088Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1088 = - __objc_msgSend_1088Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_webSocketTaskWithRequest_1 = objc.registerName( "webSocketTaskWithRequest:", @@ -38834,23 +33160,18 @@ class SwiftLibrary { } late final __objc_msgSend_1089Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1089 = __objc_msgSend_1089Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1089 = - __objc_msgSend_1089Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_dataTaskWithRequest_completionHandler_1 = objc.registerName( "dataTaskWithRequest:completionHandler:", @@ -38865,25 +33186,20 @@ class SwiftLibrary { } late final __objc_msgSend_1090Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1090 = __objc_msgSend_1090Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1090 = - __objc_msgSend_1090Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_dataTaskWithURL_completionHandler_1 = objc.registerName( "dataTaskWithURL:completionHandler:", @@ -38898,28 +33214,23 @@ class SwiftLibrary { } late final __objc_msgSend_1091Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1091 = __objc_msgSend_1091Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1091 = - __objc_msgSend_1091Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); - late final _sel_uploadTaskWithRequest_fromFile_completionHandler_1 = objc - .registerName("uploadTaskWithRequest:fromFile:completionHandler:"); + late final _sel_uploadTaskWithRequest_fromFile_completionHandler_1 = + objc.registerName("uploadTaskWithRequest:fromFile:completionHandler:"); ffi.Pointer _objc_msgSend_1092( ffi.Pointer obj, ffi.Pointer sel, @@ -38931,30 +33242,25 @@ class SwiftLibrary { } late final __objc_msgSend_1092Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1092 = __objc_msgSend_1092Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1092 = - __objc_msgSend_1092Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); - late final _sel_uploadTaskWithRequest_fromData_completionHandler_1 = objc - .registerName("uploadTaskWithRequest:fromData:completionHandler:"); + late final _sel_uploadTaskWithRequest_fromData_completionHandler_1 = + objc.registerName("uploadTaskWithRequest:fromData:completionHandler:"); ffi.Pointer _objc_msgSend_1093( ffi.Pointer obj, ffi.Pointer sel, @@ -38966,30 +33272,25 @@ class SwiftLibrary { } late final __objc_msgSend_1093Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1093 = __objc_msgSend_1093Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1093 = - __objc_msgSend_1093Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); - late final _sel_uploadTaskWithResumeData_completionHandler_1 = objc - .registerName("uploadTaskWithResumeData:completionHandler:"); + late final _sel_uploadTaskWithResumeData_completionHandler_1 = + objc.registerName("uploadTaskWithResumeData:completionHandler:"); ffi.Pointer _objc_msgSend_1094( ffi.Pointer obj, ffi.Pointer sel, @@ -39000,28 +33301,23 @@ class SwiftLibrary { } late final __objc_msgSend_1094Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1094 = __objc_msgSend_1094Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1094 = - __objc_msgSend_1094Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); - late final _sel_downloadTaskWithRequest_completionHandler_1 = objc - .registerName("downloadTaskWithRequest:completionHandler:"); + late final _sel_downloadTaskWithRequest_completionHandler_1 = + objc.registerName("downloadTaskWithRequest:completionHandler:"); ffi.Pointer _objc_msgSend_1095( ffi.Pointer obj, ffi.Pointer sel, @@ -39032,25 +33328,20 @@ class SwiftLibrary { } late final __objc_msgSend_1095Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1095 = __objc_msgSend_1095Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1095 = - __objc_msgSend_1095Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_downloadTaskWithURL_completionHandler_1 = objc.registerName( "downloadTaskWithURL:completionHandler:", @@ -39065,28 +33356,23 @@ class SwiftLibrary { } late final __objc_msgSend_1096Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1096 = __objc_msgSend_1096Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1096 = - __objc_msgSend_1096Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); - late final _sel_downloadTaskWithResumeData_completionHandler_1 = objc - .registerName("downloadTaskWithResumeData:completionHandler:"); + late final _sel_downloadTaskWithResumeData_completionHandler_1 = + objc.registerName("downloadTaskWithResumeData:completionHandler:"); ffi.Pointer _objc_msgSend_1097( ffi.Pointer obj, ffi.Pointer sel, @@ -39097,25 +33383,20 @@ class SwiftLibrary { } late final __objc_msgSend_1097Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1097 = __objc_msgSend_1097Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1097 = - __objc_msgSend_1097Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _class_NSProtocolChecker1 = objc.getClass("NSProtocolChecker"); ffi.Pointer _objc_msgSend_1098( @@ -39126,21 +33407,16 @@ class SwiftLibrary { } late final __objc_msgSend_1098Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1098 = __objc_msgSend_1098Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1098 = - __objc_msgSend_1098Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); ffi.Pointer _objc_msgSend_1099( ffi.Pointer obj, @@ -39150,21 +33426,16 @@ class SwiftLibrary { } late final __objc_msgSend_1099Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1099 = __objc_msgSend_1099Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1099 = - __objc_msgSend_1099Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_protocolCheckerWithTarget_protocol_1 = objc.registerName( "protocolCheckerWithTarget:protocol:", @@ -39179,25 +33450,20 @@ class SwiftLibrary { } late final __objc_msgSend_1100Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1100 = __objc_msgSend_1100Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1100 = - __objc_msgSend_1100Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_initWithTarget_protocol_1 = objc.registerName( "initWithTarget:protocol:", @@ -39239,21 +33505,16 @@ class SwiftLibrary { } late final __objc_msgSend_1101Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1101 = __objc_msgSend_1101Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1101 = - __objc_msgSend_1101Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_terminationHandler1 = objc.registerName("terminationHandler"); ffi.Pointer _objc_msgSend_1102( @@ -39264,21 +33525,16 @@ class SwiftLibrary { } late final __objc_msgSend_1102Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1102 = __objc_msgSend_1102Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1102 = - __objc_msgSend_1102Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_setTerminationHandler_1 = objc.registerName( "setTerminationHandler:", @@ -39292,28 +33548,23 @@ class SwiftLibrary { } late final __objc_msgSend_1103Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1103 = __objc_msgSend_1103Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1103 = - __objc_msgSend_1103Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_launchedTaskWithExecutableURL_arguments_error_terminationHandler_1 = objc.registerName( - "launchedTaskWithExecutableURL:arguments:error:terminationHandler:", - ); + "launchedTaskWithExecutableURL:arguments:error:terminationHandler:", + ); ffi.Pointer _objc_msgSend_1104( ffi.Pointer obj, ffi.Pointer sel, @@ -39333,7 +33584,16 @@ class SwiftLibrary { } late final __objc_msgSend_1104Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1104 = __objc_msgSend_1104Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, @@ -39341,21 +33601,7 @@ class SwiftLibrary { ffi.Pointer, ffi.Pointer>, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1104 = - __objc_msgSend_1104Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer, - ) - >(); + )>(); late final _sel_waitUntilExit1 = objc.registerName("waitUntilExit"); late final _sel_launchPath1 = objc.registerName("launchPath"); @@ -39377,25 +33623,20 @@ class SwiftLibrary { } late final __objc_msgSend_1105Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1105 = __objc_msgSend_1105Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1105 = - __objc_msgSend_1105Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _class_NSXMLElement1 = objc.getClass("NSXMLElement"); late final _class_NSXMLNode1 = objc.getClass("NSXMLNode"); @@ -39409,23 +33650,18 @@ class SwiftLibrary { } late final __objc_msgSend_1106Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + )>>('objc_msgSend'); + late final __objc_msgSend_1106 = __objc_msgSend_1106Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1106 = - __objc_msgSend_1106Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_initWithKind_options_1 = objc.registerName( "initWithKind:options:", @@ -39440,25 +33676,20 @@ class SwiftLibrary { } late final __objc_msgSend_1107Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Int32, + )>>('objc_msgSend'); + late final __objc_msgSend_1107 = __objc_msgSend_1107Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1107 = - __objc_msgSend_1107Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - int, - int, - ) - >(); + int, + int, + )>(); late final _sel_document1 = objc.registerName("document"); late final _sel_documentWithRootElement_1 = objc.registerName( @@ -39473,23 +33704,18 @@ class SwiftLibrary { } late final __objc_msgSend_1108Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1108 = __objc_msgSend_1108Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1108 = - __objc_msgSend_1108Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_elementWithName_1 = objc.registerName("elementWithName:"); late final _sel_elementWithName_URI_1 = objc.registerName( @@ -39505,25 +33731,20 @@ class SwiftLibrary { } late final __objc_msgSend_1109Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1109 = __objc_msgSend_1109Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1109 = - __objc_msgSend_1109Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_elementWithName_stringValue_1 = objc.registerName( "elementWithName:stringValue:", @@ -39542,27 +33763,22 @@ class SwiftLibrary { } late final __objc_msgSend_1110Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1110 = __objc_msgSend_1110Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1110 = - __objc_msgSend_1110Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_attributeWithName_stringValue_1 = objc.registerName( "attributeWithName:stringValue:", @@ -39573,8 +33789,8 @@ class SwiftLibrary { late final _sel_namespaceWithName_stringValue_1 = objc.registerName( "namespaceWithName:stringValue:", ); - late final _sel_processingInstructionWithName_stringValue_1 = objc - .registerName("processingInstructionWithName:stringValue:"); + late final _sel_processingInstructionWithName_stringValue_1 = + objc.registerName("processingInstructionWithName:stringValue:"); late final _sel_commentWithStringValue_1 = objc.registerName( "commentWithStringValue:", ); @@ -39592,21 +33808,16 @@ class SwiftLibrary { } late final __objc_msgSend_1111Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1111 = __objc_msgSend_1111Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1111 = - __objc_msgSend_1111Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_objectValue1 = objc.registerName("objectValue"); late final _sel_setObjectValue_1 = objc.registerName("setObjectValue:"); @@ -39624,25 +33835,20 @@ class SwiftLibrary { } late final __objc_msgSend_1112Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + )>>('objc_msgSend'); + late final __objc_msgSend_1112 = __objc_msgSend_1112Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Bool, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1112 = - __objc_msgSend_1112Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - ) - >(); + bool, + )>(); late final _sel_index1 = objc.registerName("index"); late final _sel_level1 = objc.registerName("level"); @@ -39661,27 +33867,22 @@ class SwiftLibrary { } late final __objc_msgSend_1113Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_1113 = __objc_msgSend_1113Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1113 = - __objc_msgSend_1113Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>, - ) - >(); + )>(); instancetype _objc_msgSend_1114( ffi.Pointer obj, @@ -39694,27 +33895,22 @@ class SwiftLibrary { } late final __objc_msgSend_1114Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_1114 = __objc_msgSend_1114Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1114 = - __objc_msgSend_1114Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>, - ) - >(); + )>(); late final _sel_initWithData_options_error_1 = objc.registerName( "initWithData:options:error:", @@ -39730,27 +33926,22 @@ class SwiftLibrary { } late final __objc_msgSend_1115Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_1115 = __objc_msgSend_1115Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1115 = - __objc_msgSend_1115Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>, - ) - >(); + )>(); late final _sel_initWithRootElement_1 = objc.registerName( "initWithRootElement:", @@ -39764,23 +33955,18 @@ class SwiftLibrary { } late final __objc_msgSend_1116Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1116 = __objc_msgSend_1116Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1116 = - __objc_msgSend_1116Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_replacementClassForClass_1 = objc.registerName( "replacementClassForClass:", @@ -39802,21 +33988,16 @@ class SwiftLibrary { } late final __objc_msgSend_1117Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1117 = __objc_msgSend_1117Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1117 = - __objc_msgSend_1117Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_setDocumentContentKind_1 = objc.registerName( "setDocumentContentKind:", @@ -39830,23 +34011,18 @@ class SwiftLibrary { } late final __objc_msgSend_1118Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + )>>('objc_msgSend'); + late final __objc_msgSend_1118 = __objc_msgSend_1118Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1118 = - __objc_msgSend_1118Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_setMIMEType_1 = objc.registerName("setMIMEType:"); late final _class_NSXMLDTD1 = objc.getClass("NSXMLDTD"); @@ -39865,25 +34041,20 @@ class SwiftLibrary { } late final __objc_msgSend_1119Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + )>>('objc_msgSend'); + late final __objc_msgSend_1119 = __objc_msgSend_1119Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1119 = - __objc_msgSend_1119Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_insertChildren_atIndex_1 = objc.registerName( "insertChildren:atIndex:", @@ -39898,25 +34069,20 @@ class SwiftLibrary { } late final __objc_msgSend_1120Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + )>>('objc_msgSend'); + late final __objc_msgSend_1120 = __objc_msgSend_1120Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1120 = - __objc_msgSend_1120Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_removeChildAtIndex_1 = objc.registerName( "removeChildAtIndex:", @@ -39932,23 +34098,18 @@ class SwiftLibrary { } late final __objc_msgSend_1121Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1121 = __objc_msgSend_1121Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1121 = - __objc_msgSend_1121Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_replaceChildAtIndex_withNode_1 = objc.registerName( "replaceChildAtIndex:withNode:", @@ -39963,25 +34124,20 @@ class SwiftLibrary { } late final __objc_msgSend_1122Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1122 = __objc_msgSend_1122Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, + int, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1122 = - __objc_msgSend_1122Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ) - >(); + )>(); late final _class_NSXMLDTDNode1 = objc.getClass("NSXMLDTDNode"); late final _sel_initWithXMLString_1 = objc.registerName("initWithXMLString:"); @@ -39994,21 +34150,16 @@ class SwiftLibrary { } late final __objc_msgSend_1123Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1123 = __objc_msgSend_1123Ptr.asFunction< + int Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1123 = - __objc_msgSend_1123Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_setDTDKind_1 = objc.registerName("setDTDKind:"); void _objc_msgSend_1124( @@ -40020,23 +34171,18 @@ class SwiftLibrary { } late final __objc_msgSend_1124Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + )>>('objc_msgSend'); + late final __objc_msgSend_1124 = __objc_msgSend_1124Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1124 = - __objc_msgSend_1124Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_isExternal1 = objc.registerName("isExternal"); late final _sel_notationName1 = objc.registerName("notationName"); @@ -40055,23 +34201,18 @@ class SwiftLibrary { } late final __objc_msgSend_1125Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1125 = __objc_msgSend_1125Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1125 = - __objc_msgSend_1125Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_entityDeclarationForName_1 = objc.registerName( "entityDeclarationForName:", @@ -40085,23 +34226,18 @@ class SwiftLibrary { } late final __objc_msgSend_1126Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1126 = __objc_msgSend_1126Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1126 = - __objc_msgSend_1126Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_notationDeclarationForName_1 = objc.registerName( "notationDeclarationForName:", @@ -40122,25 +34258,20 @@ class SwiftLibrary { } late final __objc_msgSend_1127Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1127 = __objc_msgSend_1127Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1127 = - __objc_msgSend_1127Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_predefinedEntityDeclarationForName_1 = objc.registerName( "predefinedEntityDeclarationForName:", @@ -40154,21 +34285,16 @@ class SwiftLibrary { } late final __objc_msgSend_1128Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1128 = __objc_msgSend_1128Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1128 = - __objc_msgSend_1128Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_setDTD_1 = objc.registerName("setDTD:"); void _objc_msgSend_1129( @@ -40180,23 +34306,18 @@ class SwiftLibrary { } late final __objc_msgSend_1129Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1129 = __objc_msgSend_1129Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1129 = - __objc_msgSend_1129Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_setRootElement_1 = objc.registerName("setRootElement:"); void _objc_msgSend_1130( @@ -40208,23 +34329,18 @@ class SwiftLibrary { } late final __objc_msgSend_1130Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1130 = __objc_msgSend_1130Ptr.asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1130 = - __objc_msgSend_1130Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_rootElement1 = objc.registerName("rootElement"); ffi.Pointer _objc_msgSend_1131( @@ -40235,21 +34351,16 @@ class SwiftLibrary { } late final __objc_msgSend_1131Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1131 = __objc_msgSend_1131Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1131 = - __objc_msgSend_1131Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_XMLData1 = objc.registerName("XMLData"); late final _sel_XMLDataWithOptions_1 = objc.registerName( @@ -40264,23 +34375,18 @@ class SwiftLibrary { } late final __objc_msgSend_1132Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + )>>('objc_msgSend'); + late final __objc_msgSend_1132 = __objc_msgSend_1132Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1132 = - __objc_msgSend_1132Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_objectByApplyingXSLT_arguments_error_1 = objc.registerName( "objectByApplyingXSLT:arguments:error:", @@ -40296,30 +34402,25 @@ class SwiftLibrary { } late final __objc_msgSend_1133Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_1133 = __objc_msgSend_1133Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1133 = - __objc_msgSend_1133Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ) - >(); + )>(); - late final _sel_objectByApplyingXSLTString_arguments_error_1 = objc - .registerName("objectByApplyingXSLTString:arguments:error:"); + late final _sel_objectByApplyingXSLTString_arguments_error_1 = + objc.registerName("objectByApplyingXSLTString:arguments:error:"); ffi.Pointer _objc_msgSend_1134( ffi.Pointer obj, ffi.Pointer sel, @@ -40331,30 +34432,25 @@ class SwiftLibrary { } late final __objc_msgSend_1134Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_1134 = __objc_msgSend_1134Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1134 = - __objc_msgSend_1134Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ) - >(); + )>(); - late final _sel_objectByApplyingXSLTAtURL_arguments_error_1 = objc - .registerName("objectByApplyingXSLTAtURL:arguments:error:"); + late final _sel_objectByApplyingXSLTAtURL_arguments_error_1 = + objc.registerName("objectByApplyingXSLTAtURL:arguments:error:"); ffi.Pointer _objc_msgSend_1135( ffi.Pointer obj, ffi.Pointer sel, @@ -40366,27 +34462,22 @@ class SwiftLibrary { } late final __objc_msgSend_1135Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_1135 = __objc_msgSend_1135Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1135 = - __objc_msgSend_1135Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ) - >(); + )>(); late final _sel_validateAndReturnError_1 = objc.registerName( "validateAndReturnError:", @@ -40400,21 +34491,16 @@ class SwiftLibrary { } late final __objc_msgSend_1136Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1136 = __objc_msgSend_1136Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1136 = - __objc_msgSend_1136Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_parent1 = objc.registerName("parent"); ffi.Pointer _objc_msgSend_1137( @@ -40425,21 +34511,16 @@ class SwiftLibrary { } late final __objc_msgSend_1137Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1137 = __objc_msgSend_1137Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1137 = - __objc_msgSend_1137Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_childCount1 = objc.registerName("childCount"); late final _sel_children1 = objc.registerName("children"); @@ -40453,23 +34534,18 @@ class SwiftLibrary { } late final __objc_msgSend_1138Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + )>>('objc_msgSend'); + late final __objc_msgSend_1138 = __objc_msgSend_1138Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1138 = - __objc_msgSend_1138Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_previousSibling1 = objc.registerName("previousSibling"); late final _sel_nextSibling1 = objc.registerName("nextSibling"); @@ -40494,23 +34570,18 @@ class SwiftLibrary { } late final __objc_msgSend_1139Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + )>>('objc_msgSend'); + late final __objc_msgSend_1139 = __objc_msgSend_1139Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1139 = - __objc_msgSend_1139Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + int, + )>(); late final _sel_canonicalXMLStringPreservingComments_1 = objc.registerName( "canonicalXMLStringPreservingComments:", @@ -40524,23 +34595,18 @@ class SwiftLibrary { } late final __objc_msgSend_1140Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + )>>('objc_msgSend'); + late final __objc_msgSend_1140 = __objc_msgSend_1140Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.Bool, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1140 = - __objc_msgSend_1140Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - bool, - ) - >(); + bool, + )>(); late final _sel_nodesForXPath_error_1 = objc.registerName( "nodesForXPath:error:", @@ -40559,27 +34625,22 @@ class SwiftLibrary { } late final __objc_msgSend_1141Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + )>>('objc_msgSend'); + late final __objc_msgSend_1141 = __objc_msgSend_1141Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1141 = - __objc_msgSend_1141Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ) - >(); + )>(); late final _sel_objectsForXQuery_error_1 = objc.registerName( "objectsForXQuery:error:", @@ -40595,25 +34656,20 @@ class SwiftLibrary { } late final __objc_msgSend_1142Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1142 = __objc_msgSend_1142Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1142 = - __objc_msgSend_1142Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_initWithName_stringValue_1 = objc.registerName( "initWithName:stringValue:", @@ -40635,25 +34691,20 @@ class SwiftLibrary { } late final __objc_msgSend_1143Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1143 = __objc_msgSend_1143Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1143 = - __objc_msgSend_1143Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_addAttribute_1 = objc.registerName("addAttribute:"); late final _sel_removeAttributeForName_1 = objc.registerName( @@ -40678,25 +34729,20 @@ class SwiftLibrary { } late final __objc_msgSend_1144Ptr = _lookup< - ffi.NativeFunction< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>>('objc_msgSend'); + late final __objc_msgSend_1144 = __objc_msgSend_1144Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1144 = - __objc_msgSend_1144Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + )>(); late final _sel_addNamespace_1 = objc.registerName("addNamespace:"); late final _sel_removeNamespaceForPrefix_1 = objc.registerName( @@ -40713,8 +34759,8 @@ class SwiftLibrary { late final _sel_resolvePrefixForNamespaceURI_1 = objc.registerName( "resolvePrefixForNamespaceURI:", ); - late final _sel_normalizeAdjacentTextNodesPreservingCDATA_1 = objc - .registerName("normalizeAdjacentTextNodesPreservingCDATA:"); + late final _sel_normalizeAdjacentTextNodesPreservingCDATA_1 = + objc.registerName("normalizeAdjacentTextNodesPreservingCDATA:"); late final _sel_setAttributesAsDictionary_1 = objc.registerName( "setAttributesAsDictionary:", ); @@ -40862,7 +34908,7 @@ class NSObject extends objc.ObjCObjectBase { } static ffi.Pointer> - instanceMethodForSelector_( + instanceMethodForSelector_( SwiftLibrary _lib, ffi.Pointer aSelector, ) { @@ -41050,7 +35096,7 @@ class NSObject extends objc.ObjCObjectBase { } void - attemptRecoveryFromError_optionIndex_delegate_didRecoverSelector_contextInfo_( + attemptRecoveryFromError_optionIndex_delegate_didRecoverSelector_contextInfo_( NSError error, int recoveryOptionIndex, NSObject? delegate, @@ -41872,7 +35918,7 @@ class NSObject extends objc.ObjCObjectBase { } NSObject? - newScriptingObjectOfClass_forValueForKey_withContentsValue_properties_( + newScriptingObjectOfClass_forValueForKey_withContentsValue_properties_( NSObject objectClass, NSString key, NSObject? contentsValue, @@ -43618,31 +37664,31 @@ class NSString extends NSObject { ) { objc.useMsgSendVariants ? _lib._objc_msgSend_340_stret( - stret, - this.pointer, - _lib._sel_localizedStandardRangeOfString_1, - str.pointer, - ) + stret, + this.pointer, + _lib._sel_localizedStandardRangeOfString_1, + str.pointer, + ) : stret.ref = _lib._objc_msgSend_340( - this.pointer, - _lib._sel_localizedStandardRangeOfString_1, - str.pointer, - ); + this.pointer, + _lib._sel_localizedStandardRangeOfString_1, + str.pointer, + ); } void rangeOfString_(ffi.Pointer<_NSRange> stret, NSString searchString) { objc.useMsgSendVariants ? _lib._objc_msgSend_340_stret( - stret, - this.pointer, - _lib._sel_rangeOfString_1, - searchString.pointer, - ) + stret, + this.pointer, + _lib._sel_rangeOfString_1, + searchString.pointer, + ) : stret.ref = _lib._objc_msgSend_340( - this.pointer, - _lib._sel_rangeOfString_1, - searchString.pointer, - ); + this.pointer, + _lib._sel_rangeOfString_1, + searchString.pointer, + ); } void rangeOfString_options_( @@ -43652,18 +37698,18 @@ class NSString extends NSObject { ) { objc.useMsgSendVariants ? _lib._objc_msgSend_341_stret( - stret, - this.pointer, - _lib._sel_rangeOfString_options_1, - searchString.pointer, - mask, - ) + stret, + this.pointer, + _lib._sel_rangeOfString_options_1, + searchString.pointer, + mask, + ) : stret.ref = _lib._objc_msgSend_341( - this.pointer, - _lib._sel_rangeOfString_options_1, - searchString.pointer, - mask, - ); + this.pointer, + _lib._sel_rangeOfString_options_1, + searchString.pointer, + mask, + ); } void rangeOfString_options_range_( @@ -43674,20 +37720,20 @@ class NSString extends NSObject { ) { objc.useMsgSendVariants ? _lib._objc_msgSend_342_stret( - stret, - this.pointer, - _lib._sel_rangeOfString_options_range_1, - searchString.pointer, - mask, - rangeOfReceiverToSearch, - ) + stret, + this.pointer, + _lib._sel_rangeOfString_options_range_1, + searchString.pointer, + mask, + rangeOfReceiverToSearch, + ) : stret.ref = _lib._objc_msgSend_342( - this.pointer, - _lib._sel_rangeOfString_options_range_1, - searchString.pointer, - mask, - rangeOfReceiverToSearch, - ); + this.pointer, + _lib._sel_rangeOfString_options_range_1, + searchString.pointer, + mask, + rangeOfReceiverToSearch, + ); } void rangeOfString_options_range_locale_( @@ -43699,22 +37745,22 @@ class NSString extends NSObject { ) { objc.useMsgSendVariants ? _lib._objc_msgSend_343_stret( - stret, - this.pointer, - _lib._sel_rangeOfString_options_range_locale_1, - searchString.pointer, - mask, - rangeOfReceiverToSearch, - locale?.pointer ?? ffi.nullptr, - ) + stret, + this.pointer, + _lib._sel_rangeOfString_options_range_locale_1, + searchString.pointer, + mask, + rangeOfReceiverToSearch, + locale?.pointer ?? ffi.nullptr, + ) : stret.ref = _lib._objc_msgSend_343( - this.pointer, - _lib._sel_rangeOfString_options_range_locale_1, - searchString.pointer, - mask, - rangeOfReceiverToSearch, - locale?.pointer ?? ffi.nullptr, - ); + this.pointer, + _lib._sel_rangeOfString_options_range_locale_1, + searchString.pointer, + mask, + rangeOfReceiverToSearch, + locale?.pointer ?? ffi.nullptr, + ); } void rangeOfCharacterFromSet_( @@ -43723,16 +37769,16 @@ class NSString extends NSObject { ) { objc.useMsgSendVariants ? _lib._objc_msgSend_344_stret( - stret, - this.pointer, - _lib._sel_rangeOfCharacterFromSet_1, - searchSet.pointer, - ) + stret, + this.pointer, + _lib._sel_rangeOfCharacterFromSet_1, + searchSet.pointer, + ) : stret.ref = _lib._objc_msgSend_344( - this.pointer, - _lib._sel_rangeOfCharacterFromSet_1, - searchSet.pointer, - ); + this.pointer, + _lib._sel_rangeOfCharacterFromSet_1, + searchSet.pointer, + ); } void rangeOfCharacterFromSet_options_( @@ -43742,18 +37788,18 @@ class NSString extends NSObject { ) { objc.useMsgSendVariants ? _lib._objc_msgSend_345_stret( - stret, - this.pointer, - _lib._sel_rangeOfCharacterFromSet_options_1, - searchSet.pointer, - mask, - ) + stret, + this.pointer, + _lib._sel_rangeOfCharacterFromSet_options_1, + searchSet.pointer, + mask, + ) : stret.ref = _lib._objc_msgSend_345( - this.pointer, - _lib._sel_rangeOfCharacterFromSet_options_1, - searchSet.pointer, - mask, - ); + this.pointer, + _lib._sel_rangeOfCharacterFromSet_options_1, + searchSet.pointer, + mask, + ); } void rangeOfCharacterFromSet_options_range_( @@ -43764,20 +37810,20 @@ class NSString extends NSObject { ) { objc.useMsgSendVariants ? _lib._objc_msgSend_346_stret( - stret, - this.pointer, - _lib._sel_rangeOfCharacterFromSet_options_range_1, - searchSet.pointer, - mask, - rangeOfReceiverToSearch, - ) + stret, + this.pointer, + _lib._sel_rangeOfCharacterFromSet_options_range_1, + searchSet.pointer, + mask, + rangeOfReceiverToSearch, + ) : stret.ref = _lib._objc_msgSend_346( - this.pointer, - _lib._sel_rangeOfCharacterFromSet_options_range_1, - searchSet.pointer, - mask, - rangeOfReceiverToSearch, - ); + this.pointer, + _lib._sel_rangeOfCharacterFromSet_options_range_1, + searchSet.pointer, + mask, + rangeOfReceiverToSearch, + ); } void rangeOfComposedCharacterSequenceAtIndex_( @@ -43786,16 +37832,16 @@ class NSString extends NSObject { ) { objc.useMsgSendVariants ? _lib._objc_msgSend_347_stret( - stret, - this.pointer, - _lib._sel_rangeOfComposedCharacterSequenceAtIndex_1, - index, - ) + stret, + this.pointer, + _lib._sel_rangeOfComposedCharacterSequenceAtIndex_1, + index, + ) : stret.ref = _lib._objc_msgSend_347( - this.pointer, - _lib._sel_rangeOfComposedCharacterSequenceAtIndex_1, - index, - ); + this.pointer, + _lib._sel_rangeOfComposedCharacterSequenceAtIndex_1, + index, + ); } void rangeOfComposedCharacterSequencesForRange_( @@ -43804,16 +37850,16 @@ class NSString extends NSObject { ) { objc.useMsgSendVariants ? _lib._objc_msgSend_348_stret( - stret, - this.pointer, - _lib._sel_rangeOfComposedCharacterSequencesForRange_1, - range, - ) + stret, + this.pointer, + _lib._sel_rangeOfComposedCharacterSequencesForRange_1, + range, + ) : stret.ref = _lib._objc_msgSend_348( - this.pointer, - _lib._sel_rangeOfComposedCharacterSequencesForRange_1, - range, - ); + this.pointer, + _lib._sel_rangeOfComposedCharacterSequencesForRange_1, + range, + ); } NSString stringByAppendingString_(NSString aString) { @@ -43956,16 +38002,16 @@ class NSString extends NSObject { void lineRangeForRange_(ffi.Pointer<_NSRange> stret, _NSRange range) { objc.useMsgSendVariants ? _lib._objc_msgSend_348_stret( - stret, - this.pointer, - _lib._sel_lineRangeForRange_1, - range, - ) + stret, + this.pointer, + _lib._sel_lineRangeForRange_1, + range, + ) : stret.ref = _lib._objc_msgSend_348( - this.pointer, - _lib._sel_lineRangeForRange_1, - range, - ); + this.pointer, + _lib._sel_lineRangeForRange_1, + range, + ); } void getParagraphStart_end_contentsEnd_forRange_( @@ -43987,16 +38033,16 @@ class NSString extends NSObject { void paragraphRangeForRange_(ffi.Pointer<_NSRange> stret, _NSRange range) { objc.useMsgSendVariants ? _lib._objc_msgSend_348_stret( - stret, - this.pointer, - _lib._sel_paragraphRangeForRange_1, - range, - ) + stret, + this.pointer, + _lib._sel_paragraphRangeForRange_1, + range, + ) : stret.ref = _lib._objc_msgSend_348( - this.pointer, - _lib._sel_paragraphRangeForRange_1, - range, - ); + this.pointer, + _lib._sel_paragraphRangeForRange_1, + range, + ); } void enumerateSubstringsInRange_options_usingBlock_( @@ -44501,7 +38547,7 @@ class NSString extends NSObject { } NSString? - initWithValidatedFormat_validFormatSpecifiers_locale_arguments_error_( + initWithValidatedFormat_validFormatSpecifiers_locale_arguments_error_( NSString format, NSString validFormatSpecifiers, NSObject? locale, @@ -44671,7 +38717,7 @@ class NSString extends NSObject { } static NSString? - localizedStringWithValidatedFormat_validFormatSpecifiers_error_( + localizedStringWithValidatedFormat_validFormatSpecifiers_error_( SwiftLibrary _lib, NSString format, NSString validFormatSpecifiers, @@ -44861,7 +38907,7 @@ class NSString extends NSObject { } static int - stringEncodingForData_encodingOptions_convertedString_usedLossyConversion_( + stringEncodingForData_encodingOptions_convertedString_usedLossyConversion_( SwiftLibrary _lib, NSData data, NSDictionary? opts, @@ -45819,29 +39865,29 @@ class NSCoder extends NSObject { double decodeFloatForKey_(NSString key) { return objc.useMsgSendVariants ? _lib._objc_msgSend_307_fpret( - this.pointer, - _lib._sel_decodeFloatForKey_1, - key.pointer, - ) + this.pointer, + _lib._sel_decodeFloatForKey_1, + key.pointer, + ) : _lib._objc_msgSend_307( - this.pointer, - _lib._sel_decodeFloatForKey_1, - key.pointer, - ); + this.pointer, + _lib._sel_decodeFloatForKey_1, + key.pointer, + ); } double decodeDoubleForKey_(NSString key) { return objc.useMsgSendVariants ? _lib._objc_msgSend_308_fpret( - this.pointer, - _lib._sel_decodeDoubleForKey_1, - key.pointer, - ) + this.pointer, + _lib._sel_decodeDoubleForKey_1, + key.pointer, + ) : _lib._objc_msgSend_308( - this.pointer, - _lib._sel_decodeDoubleForKey_1, - key.pointer, - ); + this.pointer, + _lib._sel_decodeDoubleForKey_1, + key.pointer, + ); } ffi.Pointer decodeBytesForKey_returnedLength_( @@ -46070,14 +40116,14 @@ class NSCoder extends NSObject { void decodePoint(ffi.Pointer stret) { objc.useMsgSendVariants ? _lib._objc_msgSend_59_stret( - stret, - this.pointer, - _lib._sel_decodePoint1, - ) + stret, + this.pointer, + _lib._sel_decodePoint1, + ) : stret.ref = _lib._objc_msgSend_59( - this.pointer, - _lib._sel_decodePoint1, - ); + this.pointer, + _lib._sel_decodePoint1, + ); } void encodeSize_(CGSize size) { @@ -46087,14 +40133,14 @@ class NSCoder extends NSObject { void decodeSize(ffi.Pointer stret) { objc.useMsgSendVariants ? _lib._objc_msgSend_60_stret( - stret, - this.pointer, - _lib._sel_decodeSize1, - ) + stret, + this.pointer, + _lib._sel_decodeSize1, + ) : stret.ref = _lib._objc_msgSend_60( - this.pointer, - _lib._sel_decodeSize1, - ); + this.pointer, + _lib._sel_decodeSize1, + ); } void encodeRect_(CGRect rect) { @@ -46104,14 +40150,14 @@ class NSCoder extends NSObject { void decodeRect(ffi.Pointer stret) { objc.useMsgSendVariants ? _lib._objc_msgSend_61_stret( - stret, - this.pointer, - _lib._sel_decodeRect1, - ) + stret, + this.pointer, + _lib._sel_decodeRect1, + ) : stret.ref = _lib._objc_msgSend_61( - this.pointer, - _lib._sel_decodeRect1, - ); + this.pointer, + _lib._sel_decodeRect1, + ); } void encodePoint_forKey_(CGPoint point, NSString key) { @@ -46144,46 +40190,46 @@ class NSCoder extends NSObject { void decodePointForKey_(ffi.Pointer stret, NSString key) { objc.useMsgSendVariants ? _lib._objc_msgSend_329_stret( - stret, - this.pointer, - _lib._sel_decodePointForKey_1, - key.pointer, - ) + stret, + this.pointer, + _lib._sel_decodePointForKey_1, + key.pointer, + ) : stret.ref = _lib._objc_msgSend_329( - this.pointer, - _lib._sel_decodePointForKey_1, - key.pointer, - ); + this.pointer, + _lib._sel_decodePointForKey_1, + key.pointer, + ); } void decodeSizeForKey_(ffi.Pointer stret, NSString key) { objc.useMsgSendVariants ? _lib._objc_msgSend_330_stret( - stret, - this.pointer, - _lib._sel_decodeSizeForKey_1, - key.pointer, - ) + stret, + this.pointer, + _lib._sel_decodeSizeForKey_1, + key.pointer, + ) : stret.ref = _lib._objc_msgSend_330( - this.pointer, - _lib._sel_decodeSizeForKey_1, - key.pointer, - ); + this.pointer, + _lib._sel_decodeSizeForKey_1, + key.pointer, + ); } void decodeRectForKey_(ffi.Pointer stret, NSString key) { objc.useMsgSendVariants ? _lib._objc_msgSend_331_stret( - stret, - this.pointer, - _lib._sel_decodeRectForKey_1, - key.pointer, - ) + stret, + this.pointer, + _lib._sel_decodeRectForKey_1, + key.pointer, + ) : stret.ref = _lib._objc_msgSend_331( - this.pointer, - _lib._sel_decodeRectForKey_1, - key.pointer, - ); + this.pointer, + _lib._sel_decodeRectForKey_1, + key.pointer, + ); } @override @@ -46441,20 +40487,20 @@ class NSData extends NSObject { ) { objc.useMsgSendVariants ? _lib._objc_msgSend_271_stret( - stret, - this.pointer, - _lib._sel_rangeOfData_options_range_1, - dataToFind.pointer, - mask, - searchRange, - ) + stret, + this.pointer, + _lib._sel_rangeOfData_options_range_1, + dataToFind.pointer, + mask, + searchRange, + ) : stret.ref = _lib._objc_msgSend_271( - this.pointer, - _lib._sel_rangeOfData_options_range_1, - dataToFind.pointer, - mask, - searchRange, - ); + this.pointer, + _lib._sel_rangeOfData_options_range_1, + dataToFind.pointer, + mask, + searchRange, + ); } void enumerateByteRangesUsingBlock_( @@ -47511,7 +41557,7 @@ class NSURL extends NSObject { } NSData? - bookmarkDataWithOptions_includingResourceValuesForKeys_relativeToURL_error_( + bookmarkDataWithOptions_includingResourceValuesForKeys_relativeToURL_error_( int options, NSArray? keys, NSURL? relativeURL, @@ -47531,7 +41577,7 @@ class NSURL extends NSObject { } NSURL? - initByResolvingBookmarkData_options_relativeToURL_bookmarkDataIsStale_error_( + initByResolvingBookmarkData_options_relativeToURL_bookmarkDataIsStale_error_( NSData bookmarkData, int options, NSURL? relativeURL, @@ -47553,7 +41599,7 @@ class NSURL extends NSObject { } static NSURL? - URLByResolvingBookmarkData_options_relativeToURL_bookmarkDataIsStale_error_( + URLByResolvingBookmarkData_options_relativeToURL_bookmarkDataIsStale_error_( SwiftLibrary _lib, NSData bookmarkData, int options, @@ -48800,14 +42846,14 @@ class NSValue extends NSObject { void getRangeValue(ffi.Pointer<_NSRange> stret) { objc.useMsgSendVariants ? _lib._objc_msgSend_54_stret( - stret, - this.pointer, - _lib._sel_rangeValue1, - ) + stret, + this.pointer, + _lib._sel_rangeValue1, + ) : stret.ref = _lib._objc_msgSend_54( - this.pointer, - _lib._sel_rangeValue1, - ); + this.pointer, + _lib._sel_rangeValue1, + ); } static NSValue valueWithPoint_(SwiftLibrary _lib, CGPoint point) { @@ -48849,14 +42895,14 @@ class NSValue extends NSObject { void getPointValue(ffi.Pointer stret) { objc.useMsgSendVariants ? _lib._objc_msgSend_59_stret( - stret, - this.pointer, - _lib._sel_pointValue1, - ) + stret, + this.pointer, + _lib._sel_pointValue1, + ) : stret.ref = _lib._objc_msgSend_59( - this.pointer, - _lib._sel_pointValue1, - ); + this.pointer, + _lib._sel_pointValue1, + ); } void getSizeValue(ffi.Pointer stret) { @@ -48874,14 +42920,14 @@ class NSValue extends NSObject { void getEdgeInsetsValue(ffi.Pointer stret) { objc.useMsgSendVariants ? _lib._objc_msgSend_62_stret( - stret, - this.pointer, - _lib._sel_edgeInsetsValue1, - ) + stret, + this.pointer, + _lib._sel_edgeInsetsValue1, + ) : stret.ref = _lib._objc_msgSend_62( - this.pointer, - _lib._sel_edgeInsetsValue1, - ); + this.pointer, + _lib._sel_edgeInsetsValue1, + ); } @override @@ -49280,14 +43326,13 @@ class NSArray extends NSObject { NSArray sortedArrayUsingFunction_context_( ffi.Pointer< - ffi.NativeFunction< - ffi.Long Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - > comparator, + ffi.NativeFunction< + ffi.Long Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>> + comparator, ffi.Pointer context, ) { final _ret = _lib._objc_msgSend_78( @@ -49301,14 +43346,13 @@ class NSArray extends NSObject { NSArray sortedArrayUsingFunction_context_hint_( ffi.Pointer< - ffi.NativeFunction< - ffi.Long Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - > comparator, + ffi.NativeFunction< + ffi.Long Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>> + comparator, ffi.Pointer context, NSData? hint, ) { @@ -50162,7 +44206,7 @@ class NSError extends NSObject { } static ObjCBlock_objcObjCObject_NSError_NSString? - userInfoValueProviderForDomain_( + userInfoValueProviderForDomain_( SwiftLibrary _lib, NSError err, NSString userInfoKey, @@ -50178,11 +44222,11 @@ class NSError extends NSObject { return _ret.address == 0 ? null : ObjCBlock_objcObjCObject_NSError_NSString._( - _ret, - _lib, - retain: true, - release: true, - ); + _ret, + _lib, + retain: true, + release: true, + ); } @override @@ -50304,36 +44348,31 @@ class NSError extends NSObject { } ffi.Pointer -_ObjCBlock_objcObjCObject_NSError_NSString_fnPtrTrampoline( + _ObjCBlock_objcObjCObject_NSError_NSString_fnPtrTrampoline( ffi.Pointer block, ffi.Pointer arg0, ffi.Pointer arg1, -) => block.ref.target - .cast< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - ) - > - >() - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >()(arg0, arg1); -final _ObjCBlock_objcObjCObject_NSError_NSString_closureRegistry = - < - int, - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >{}; +) => + block.ref.target + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + )>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>()(arg0, arg1); +final _ObjCBlock_objcObjCObject_NSError_NSString_closureRegistry = Function( + ffi.Pointer, + ffi.Pointer, +)>{}; int _ObjCBlock_objcObjCObject_NSError_NSString_closureRegistryIndex = 0; ffi.Pointer -_ObjCBlock_objcObjCObject_NSError_NSString_registerClosure( + _ObjCBlock_objcObjCObject_NSError_NSString_registerClosure( ffi.Pointer Function( ffi.Pointer, ffi.Pointer, @@ -50345,14 +44384,13 @@ _ObjCBlock_objcObjCObject_NSError_NSString_registerClosure( } ffi.Pointer -_ObjCBlock_objcObjCObject_NSError_NSString_closureTrampoline( + _ObjCBlock_objcObjCObject_NSError_NSString_closureTrampoline( ffi.Pointer block, ffi.Pointer arg0, ffi.Pointer arg1, -) => _ObjCBlock_objcObjCObject_NSError_NSString_closureRegistry[block - .ref - .target - .address]!(arg0, arg1); +) => + _ObjCBlock_objcObjCObject_NSError_NSString_closureRegistry[ + block.ref.target.address]!(arg0, arg1); class ObjCBlock_objcObjCObject_NSError_NSString extends objc.ObjCBlockBase { ObjCBlock_objcObjCObject_NSError_NSString._( @@ -50387,26 +44425,25 @@ class ObjCBlock_objcObjCObject_NSError_NSString extends objc.ObjCBlockBase { ObjCBlock_objcObjCObject_NSError_NSString.fromFunctionPointer( SwiftLibrary lib, ffi.Pointer< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - ) - > - > ptr, - ) : this._(objc.newBlock( - _cFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >( - _ObjCBlock_objcObjCObject_NSError_NSString_fnPtrTrampoline, - ).cast(), - ptr.cast(), - ), lib); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + )>> + ptr, + ) : this._( + objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>( + _ObjCBlock_objcObjCObject_NSError_NSString_fnPtrTrampoline, + ).cast(), + ptr.cast(), + ), + lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -50417,71 +44454,68 @@ class ObjCBlock_objcObjCObject_NSError_NSString extends objc.ObjCBlockBase { ObjCBlock_objcObjCObject_NSError_NSString.fromFunction( SwiftLibrary lib, NSObject? Function(NSError, NSString) fn, - ) : this._(objc.newBlock( - _dartFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >( - _ObjCBlock_objcObjCObject_NSError_NSString_closureTrampoline, - ).cast(), - _ObjCBlock_objcObjCObject_NSError_NSString_registerClosure(( - ffi.Pointer arg0, - ffi.Pointer arg1, - ) => - fn( - NSError._(arg0, lib, retain: true, release: true), - NSString._(arg1, lib, retain: true, release: true), - )?.retainAndReturnPointer() ?? - ffi.nullptr), - ), lib); + ) : this._( + objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>( + _ObjCBlock_objcObjCObject_NSError_NSString_closureTrampoline, + ).cast(), + _ObjCBlock_objcObjCObject_NSError_NSString_registerClosure(( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) => + fn( + NSError._(arg0, lib, retain: true, release: true), + NSString._(arg1, lib, retain: true, release: true), + )?.retainAndReturnPointer() ?? + ffi.nullptr), + ), + lib); static ffi.Pointer? _dartFuncTrampoline; - NSObject? call(NSError arg0, NSString arg1) => - pointer.ref.invoke - .cast< - ffi.NativeFunction< + NSObject? call(NSError arg0, NSString arg1) => pointer.ref.invoke + .cast< + ffi.NativeFunction< ffi.Pointer Function( ffi.Pointer block, ffi.Pointer arg0, ffi.Pointer arg1, - ) - > - >() - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >()(pointer, arg0.pointer, arg1.pointer) - .address == - 0 - ? null - : NSObject._(pointer.ref.invoke - .cast< - ffi.NativeFunction< + )>>() + .asFunction< ffi.Pointer Function( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Pointer arg1, - ) - > - >() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>()(pointer, arg0.pointer, arg1.pointer) + .address == + 0 + ? null + : NSObject._( + pointer.ref.invoke + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, + )>>() .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >()( + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>()( pointer, arg0.pointer, arg1.pointer, - ), _lib, retain: false, release: true); + ), + _lib, + retain: false, + release: true); } class NSIndexSet extends NSObject { @@ -50952,13 +44986,13 @@ void _ObjCBlock_ffiVoid_ffiUnsignedLong_bool_fnPtrTrampoline( ffi.Pointer block, int arg0, ffi.Pointer arg1, -) => block.ref.target - .cast< - ffi.NativeFunction< - ffi.Void Function(ffi.UnsignedLong arg0, ffi.Pointer arg1) - > - >() - .asFunction)>()(arg0, arg1); +) => + block.ref.target + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.UnsignedLong arg0, ffi.Pointer arg1)>>() + .asFunction)>()(arg0, arg1); final _ObjCBlock_ffiVoid_ffiUnsignedLong_bool_closureRegistry = )>{}; int _ObjCBlock_ffiVoid_ffiUnsignedLong_bool_closureRegistryIndex = 0; @@ -50974,10 +45008,9 @@ void _ObjCBlock_ffiVoid_ffiUnsignedLong_bool_closureTrampoline( ffi.Pointer block, int arg0, ffi.Pointer arg1, -) => _ObjCBlock_ffiVoid_ffiUnsignedLong_bool_closureRegistry[block - .ref - .target - .address]!(arg0, arg1); +) => + _ObjCBlock_ffiVoid_ffiUnsignedLong_bool_closureRegistry[ + block.ref.target.address]!(arg0, arg1); class ObjCBlock_ffiVoid_ffiUnsignedLong_bool extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_ffiUnsignedLong_bool._( @@ -51012,21 +45045,23 @@ class ObjCBlock_ffiVoid_ffiUnsignedLong_bool extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_ffiUnsignedLong_bool.fromFunctionPointer( SwiftLibrary lib, ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function(ffi.UnsignedLong arg0, ffi.Pointer arg1) - > - > ptr, - ) : this._(objc.newBlock( - _cFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer, - ) - >(_ObjCBlock_ffiVoid_ffiUnsignedLong_bool_fnPtrTrampoline).cast(), - ptr.cast(), - ), lib); + ffi.NativeFunction< + ffi.Void Function( + ffi.UnsignedLong arg0, ffi.Pointer arg1)>> + ptr, + ) : this._( + objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer, + )>( + _ObjCBlock_ffiVoid_ffiUnsignedLong_bool_fnPtrTrampoline) + .cast(), + ptr.cast(), + ), + lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -51037,20 +45072,23 @@ class ObjCBlock_ffiVoid_ffiUnsignedLong_bool extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_ffiUnsignedLong_bool.fromFunction( SwiftLibrary lib, void Function(int, ffi.Pointer) fn, - ) : this._(objc.newBlock( - _dartFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer, - ) - >(_ObjCBlock_ffiVoid_ffiUnsignedLong_bool_closureTrampoline).cast(), - _ObjCBlock_ffiVoid_ffiUnsignedLong_bool_registerClosure(( - int arg0, - ffi.Pointer arg1, - ) => fn(arg0, arg1)), - ), lib); + ) : this._( + objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer, + )>( + _ObjCBlock_ffiVoid_ffiUnsignedLong_bool_closureTrampoline) + .cast(), + _ObjCBlock_ffiVoid_ffiUnsignedLong_bool_registerClosure(( + int arg0, + ffi.Pointer arg1, + ) => + fn(arg0, arg1)), + ), + lib); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -51065,44 +45103,43 @@ class ObjCBlock_ffiVoid_ffiUnsignedLong_bool extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_ffiUnsignedLong_bool.listener( SwiftLibrary lib, void Function(int, ffi.Pointer) fn, - ) : this._(objc.newBlock( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer, - ) - >.listener( - _ObjCBlock_ffiVoid_ffiUnsignedLong_bool_closureTrampoline, - )..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_ffiUnsignedLong_bool_registerClosure(( - int arg0, - ffi.Pointer arg1, - ) => fn(arg0, arg1)), - ), lib); + ) : this._( + objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer, + )>.listener( + _ObjCBlock_ffiVoid_ffiUnsignedLong_bool_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_ffiUnsignedLong_bool_registerClosure(( + int arg0, + ffi.Pointer arg1, + ) => + fn(arg0, arg1)), + ), + lib); static ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer, - ) - >? _dartFuncListenerTrampoline; + ffi.Void Function( + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer, + )>? _dartFuncListenerTrampoline; void call(int arg0, ffi.Pointer arg1) => pointer.ref.invoke .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer block, - ffi.UnsignedLong arg0, - ffi.Pointer arg1, - ) - > - >() + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer block, + ffi.UnsignedLong arg0, + ffi.Pointer arg1, + )>>() .asFunction< - void Function(ffi.Pointer, int, ffi.Pointer) - >()(pointer, arg0, arg1); + void Function(ffi.Pointer, int, + ffi.Pointer)>()(pointer, arg0, arg1); } abstract class NSEnumerationOptions { @@ -51114,13 +45151,13 @@ bool _ObjCBlock_bool_ffiUnsignedLong_bool_fnPtrTrampoline( ffi.Pointer block, int arg0, ffi.Pointer arg1, -) => block.ref.target - .cast< - ffi.NativeFunction< - ffi.Bool Function(ffi.UnsignedLong arg0, ffi.Pointer arg1) - > - >() - .asFunction)>()(arg0, arg1); +) => + block.ref.target + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.UnsignedLong arg0, ffi.Pointer arg1)>>() + .asFunction)>()(arg0, arg1); final _ObjCBlock_bool_ffiUnsignedLong_bool_closureRegistry = )>{}; int _ObjCBlock_bool_ffiUnsignedLong_bool_closureRegistryIndex = 0; @@ -51136,10 +45173,9 @@ bool _ObjCBlock_bool_ffiUnsignedLong_bool_closureTrampoline( ffi.Pointer block, int arg0, ffi.Pointer arg1, -) => _ObjCBlock_bool_ffiUnsignedLong_bool_closureRegistry[block - .ref - .target - .address]!(arg0, arg1); +) => + _ObjCBlock_bool_ffiUnsignedLong_bool_closureRegistry[ + block.ref.target.address]!(arg0, arg1); class ObjCBlock_bool_ffiUnsignedLong_bool extends objc.ObjCBlockBase { ObjCBlock_bool_ffiUnsignedLong_bool._( @@ -51174,24 +45210,24 @@ class ObjCBlock_bool_ffiUnsignedLong_bool extends objc.ObjCBlockBase { ObjCBlock_bool_ffiUnsignedLong_bool.fromFunctionPointer( SwiftLibrary lib, ffi.Pointer< - ffi.NativeFunction< - ffi.Bool Function(ffi.UnsignedLong arg0, ffi.Pointer arg1) - > - > ptr, - ) : this._(objc.newBlock( - _cFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer, - ) - >( - _ObjCBlock_bool_ffiUnsignedLong_bool_fnPtrTrampoline, - false, - ).cast(), - ptr.cast(), - ), lib); + ffi.NativeFunction< + ffi.Bool Function( + ffi.UnsignedLong arg0, ffi.Pointer arg1)>> + ptr, + ) : this._( + objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer, + )>( + _ObjCBlock_bool_ffiUnsignedLong_bool_fnPtrTrampoline, + false, + ).cast(), + ptr.cast(), + ), + lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -51202,51 +45238,50 @@ class ObjCBlock_bool_ffiUnsignedLong_bool extends objc.ObjCBlockBase { ObjCBlock_bool_ffiUnsignedLong_bool.fromFunction( SwiftLibrary lib, bool Function(int, ffi.Pointer) fn, - ) : this._(objc.newBlock( - _dartFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer, - ) - >( - _ObjCBlock_bool_ffiUnsignedLong_bool_closureTrampoline, - false, - ).cast(), - _ObjCBlock_bool_ffiUnsignedLong_bool_registerClosure(( - int arg0, - ffi.Pointer arg1, - ) => fn(arg0, arg1)), - ), lib); + ) : this._( + objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer, + )>( + _ObjCBlock_bool_ffiUnsignedLong_bool_closureTrampoline, + false, + ).cast(), + _ObjCBlock_bool_ffiUnsignedLong_bool_registerClosure(( + int arg0, + ffi.Pointer arg1, + ) => + fn(arg0, arg1)), + ), + lib); static ffi.Pointer? _dartFuncTrampoline; bool call(int arg0, ffi.Pointer arg1) => pointer.ref.invoke .cast< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer block, - ffi.UnsignedLong arg0, - ffi.Pointer arg1, - ) - > - >() + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer block, + ffi.UnsignedLong arg0, + ffi.Pointer arg1, + )>>() .asFunction< - bool Function(ffi.Pointer, int, ffi.Pointer) - >()(pointer, arg0, arg1); + bool Function(ffi.Pointer, int, + ffi.Pointer)>()(pointer, arg0, arg1); } void _ObjCBlock_ffiVoid_NSRange_bool_fnPtrTrampoline( ffi.Pointer block, _NSRange arg0, ffi.Pointer arg1, -) => block.ref.target - .cast< - ffi.NativeFunction< - ffi.Void Function(_NSRange arg0, ffi.Pointer arg1) - > - >() - .asFunction)>()(arg0, arg1); +) => + block.ref.target + .cast< + ffi.NativeFunction< + ffi.Void Function(_NSRange arg0, ffi.Pointer arg1)>>() + .asFunction< + void Function(_NSRange, ffi.Pointer)>()(arg0, arg1); final _ObjCBlock_ffiVoid_NSRange_bool_closureRegistry = )>{}; int _ObjCBlock_ffiVoid_NSRange_bool_closureRegistryIndex = 0; @@ -51262,10 +45297,11 @@ void _ObjCBlock_ffiVoid_NSRange_bool_closureTrampoline( ffi.Pointer block, _NSRange arg0, ffi.Pointer arg1, -) => _ObjCBlock_ffiVoid_NSRange_bool_closureRegistry[block.ref.target.address]!( - arg0, - arg1, -); +) => + _ObjCBlock_ffiVoid_NSRange_bool_closureRegistry[block.ref.target.address]!( + arg0, + arg1, + ); class ObjCBlock_ffiVoid_NSRange_bool extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSRange_bool._( @@ -51300,21 +45336,21 @@ class ObjCBlock_ffiVoid_NSRange_bool extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSRange_bool.fromFunctionPointer( SwiftLibrary lib, ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function(_NSRange arg0, ffi.Pointer arg1) - > - > ptr, - ) : this._(objc.newBlock( - _cFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - _NSRange, - ffi.Pointer, - ) - >(_ObjCBlock_ffiVoid_NSRange_bool_fnPtrTrampoline).cast(), - ptr.cast(), - ), lib); + ffi.NativeFunction< + ffi.Void Function(_NSRange arg0, ffi.Pointer arg1)>> + ptr, + ) : this._( + objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + _NSRange, + ffi.Pointer, + )>(_ObjCBlock_ffiVoid_NSRange_bool_fnPtrTrampoline) + .cast(), + ptr.cast(), + ), + lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -51325,20 +45361,22 @@ class ObjCBlock_ffiVoid_NSRange_bool extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSRange_bool.fromFunction( SwiftLibrary lib, void Function(_NSRange, ffi.Pointer) fn, - ) : this._(objc.newBlock( - _dartFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - _NSRange, - ffi.Pointer, - ) - >(_ObjCBlock_ffiVoid_NSRange_bool_closureTrampoline).cast(), - _ObjCBlock_ffiVoid_NSRange_bool_registerClosure(( - _NSRange arg0, - ffi.Pointer arg1, - ) => fn(arg0, arg1)), - ), lib); + ) : this._( + objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + _NSRange, + ffi.Pointer, + )>(_ObjCBlock_ffiVoid_NSRange_bool_closureTrampoline) + .cast(), + _ObjCBlock_ffiVoid_NSRange_bool_registerClosure(( + _NSRange arg0, + ffi.Pointer arg1, + ) => + fn(arg0, arg1)), + ), + lib); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -51353,48 +45391,46 @@ class ObjCBlock_ffiVoid_NSRange_bool extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSRange_bool.listener( SwiftLibrary lib, void Function(_NSRange, ffi.Pointer) fn, - ) : this._(objc.newBlock( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - _NSRange, - ffi.Pointer, - ) - >.listener( - _ObjCBlock_ffiVoid_NSRange_bool_closureTrampoline, - )..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSRange_bool_registerClosure(( - _NSRange arg0, - ffi.Pointer arg1, - ) => fn(arg0, arg1)), - ), lib); + ) : this._( + objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + _NSRange, + ffi.Pointer, + )>.listener( + _ObjCBlock_ffiVoid_NSRange_bool_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSRange_bool_registerClosure(( + _NSRange arg0, + ffi.Pointer arg1, + ) => + fn(arg0, arg1)), + ), + lib); static ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - _NSRange, - ffi.Pointer, - ) - >? _dartFuncListenerTrampoline; + ffi.Void Function( + ffi.Pointer, + _NSRange, + ffi.Pointer, + )>? _dartFuncListenerTrampoline; void call(_NSRange arg0, ffi.Pointer arg1) => pointer.ref.invoke .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer block, - _NSRange arg0, - ffi.Pointer arg1, - ) - > - >() + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer block, + _NSRange arg0, + ffi.Pointer arg1, + )>>() .asFunction< - void Function( - ffi.Pointer, - _NSRange, - ffi.Pointer, - ) - >()(pointer, arg0, arg1); + void Function( + ffi.Pointer, + _NSRange, + ffi.Pointer, + )>()(pointer, arg0, arg1); } void _ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool_fnPtrTrampoline( @@ -51402,28 +45438,26 @@ void _ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool_fnPtrTrampoline( ffi.Pointer arg0, int arg1, ffi.Pointer arg2, -) => block.ref.target - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.UnsignedLong arg1, - ffi.Pointer arg2, - ) - > - >() - .asFunction< - void Function(ffi.Pointer, int, ffi.Pointer) - >()(arg0, arg1, arg2); +) => + block.ref.target + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.UnsignedLong arg1, + ffi.Pointer arg2, + )>>() + .asFunction< + void Function(ffi.Pointer, int, + ffi.Pointer)>()(arg0, arg1, arg2); final _ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool_closureRegistry = - < - int, - void Function(ffi.Pointer, int, ffi.Pointer) - >{}; -int -_ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool_closureRegistryIndex = 0; + , int, ffi.Pointer)>{}; +int _ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool_closureRegistryIndex = + 0; ffi.Pointer -_ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool_registerClosure( + _ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool_registerClosure( void Function(ffi.Pointer, int, ffi.Pointer) fn, ) { final id = @@ -51439,10 +45473,8 @@ void _ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool_closureTrampoline( int arg1, ffi.Pointer arg2, ) => - _ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool_closureRegistry[block - .ref - .target - .address]!(arg0, arg1, arg2); + _ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool_closureRegistry[ + block.ref.target.address]!(arg0, arg1, arg2); class ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool extends objc.ObjCBlockBase { @@ -51478,28 +45510,27 @@ class ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool.fromFunctionPointer( SwiftLibrary lib, ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.UnsignedLong arg1, - ffi.Pointer arg2, - ) - > - > ptr, - ) : this._(objc.newBlock( - _cFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer, - ) - >( - _ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool_fnPtrTrampoline, - ).cast(), - ptr.cast(), - ), lib); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.UnsignedLong arg1, + ffi.Pointer arg2, + )>> + ptr, + ) : this._( + objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer, + )>( + _ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool_fnPtrTrampoline, + ).cast(), + ptr.cast(), + ), + lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -51510,29 +45541,34 @@ class ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool.fromFunction( SwiftLibrary lib, void Function(NSObject, int, ffi.Pointer) fn, - ) : this._(objc.newBlock( - _dartFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer, - ) - >( - _ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool_closureTrampoline, - ).cast(), - _ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool_registerClosure(( - ffi.Pointer arg0, - int arg1, - ffi.Pointer arg2, - ) => fn(NSObject._( - arg0, - lib, - retain: true, - release: true, - ), arg1, arg2)), - ), lib); + ) : this._( + objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer, + )>( + _ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool_closureTrampoline, + ).cast(), + _ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool_registerClosure( + ( + ffi.Pointer arg0, + int arg1, + ffi.Pointer arg2, + ) => + fn( + NSObject._( + arg0, + lib, + retain: true, + release: true, + ), + arg1, + arg2)), + ), + lib); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -51547,60 +45583,61 @@ class ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool.listener( SwiftLibrary lib, void Function(NSObject, int, ffi.Pointer) fn, - ) : this._(objc.newBlock( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( + ) : this._( + objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer, + )>.listener( + _ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool_registerClosure( + ( + ffi.Pointer arg0, + int arg1, + ffi.Pointer arg2, + ) => + fn( + NSObject._( + arg0, + lib, + retain: true, + release: true, + ), + arg1, + arg2)), + ), + lib); + static ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer, + )>? _dartFuncListenerTrampoline; + + void call(NSObject arg0, int arg1, ffi.Pointer arg2) => + pointer.ref.invoke + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.UnsignedLong arg1, + ffi.Pointer arg2, + )>>() + .asFunction< + void Function( ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, + int, ffi.Pointer, - ) - >.listener( - _ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool_closureTrampoline, - )..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool_registerClosure(( - ffi.Pointer arg0, - int arg1, - ffi.Pointer arg2, - ) => fn(NSObject._( - arg0, - lib, - retain: true, - release: true, - ), arg1, arg2)), - ), lib); - static ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer, - ) - >? _dartFuncListenerTrampoline; - - void call(NSObject arg0, int arg1, ffi.Pointer arg2) => pointer - .ref - .invoke - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.UnsignedLong arg1, - ffi.Pointer arg2, - ) - > - >() - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ) - >()(pointer, arg0.pointer, arg1, arg2); + )>()(pointer, arg0.pointer, arg1, arg2); } bool _ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool_fnPtrTrampoline( @@ -51608,28 +45645,26 @@ bool _ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool_fnPtrTrampoline( ffi.Pointer arg0, int arg1, ffi.Pointer arg2, -) => block.ref.target - .cast< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer arg0, - ffi.UnsignedLong arg1, - ffi.Pointer arg2, - ) - > - >() - .asFunction< - bool Function(ffi.Pointer, int, ffi.Pointer) - >()(arg0, arg1, arg2); +) => + block.ref.target + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer arg0, + ffi.UnsignedLong arg1, + ffi.Pointer arg2, + )>>() + .asFunction< + bool Function(ffi.Pointer, int, + ffi.Pointer)>()(arg0, arg1, arg2); final _ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool_closureRegistry = - < - int, - bool Function(ffi.Pointer, int, ffi.Pointer) - >{}; + , int, ffi.Pointer)>{}; int _ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool_closureRegistryIndex = 0; ffi.Pointer -_ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool_registerClosure( + _ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool_registerClosure( bool Function(ffi.Pointer, int, ffi.Pointer) fn, ) { final id = @@ -51643,10 +45678,9 @@ bool _ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool_closureTrampoline( ffi.Pointer arg0, int arg1, ffi.Pointer arg2, -) => _ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool_closureRegistry[block - .ref - .target - .address]!(arg0, arg1, arg2); +) => + _ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool_closureRegistry[ + block.ref.target.address]!(arg0, arg1, arg2); class ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool extends objc.ObjCBlockBase { @@ -51682,29 +45716,28 @@ class ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool.fromFunctionPointer( SwiftLibrary lib, ffi.Pointer< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer arg0, - ffi.UnsignedLong arg1, - ffi.Pointer arg2, - ) - > - > ptr, - ) : this._(objc.newBlock( - _cFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer, - ) - >( - _ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool_fnPtrTrampoline, - false, - ).cast(), - ptr.cast(), - ), lib); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer arg0, + ffi.UnsignedLong arg1, + ffi.Pointer arg2, + )>> + ptr, + ) : this._( + objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer, + )>( + _ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool_fnPtrTrampoline, + false, + ).cast(), + ptr.cast(), + ), + lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -51715,100 +45748,96 @@ class ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool.fromFunction( SwiftLibrary lib, bool Function(NSObject, int, ffi.Pointer) fn, - ) : this._(objc.newBlock( - _dartFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Bool Function( + ) : this._( + objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer, + )>( + _ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool_closureTrampoline, + false, + ).cast(), + _ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool_registerClosure( + ( + ffi.Pointer arg0, + int arg1, + ffi.Pointer arg2, + ) => + fn( + NSObject._( + arg0, + lib, + retain: true, + release: true, + ), + arg1, + arg2)), + ), + lib); + static ffi.Pointer? _dartFuncTrampoline; + + bool call(NSObject arg0, int arg1, ffi.Pointer arg2) => + pointer.ref.invoke + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.UnsignedLong arg1, + ffi.Pointer arg2, + )>>() + .asFunction< + bool Function( ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, + int, ffi.Pointer, - ) - >( - _ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool_closureTrampoline, - false, - ).cast(), - _ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool_registerClosure(( - ffi.Pointer arg0, - int arg1, - ffi.Pointer arg2, - ) => fn(NSObject._( - arg0, - lib, - retain: true, - release: true, - ), arg1, arg2)), - ), lib); - static ffi.Pointer? _dartFuncTrampoline; - - bool call(NSObject arg0, int arg1, ffi.Pointer arg2) => pointer - .ref - .invoke - .cast< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.UnsignedLong arg1, - ffi.Pointer arg2, - ) - > - >() - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ) - >()(pointer, arg0.pointer, arg1, arg2); + )>()(pointer, arg0.pointer, arg1, arg2); } int _ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject_fnPtrTrampoline( ffi.Pointer block, ffi.Pointer arg0, ffi.Pointer arg1, -) => block.ref.target - .cast< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - ) - > - >() - .asFunction< - int Function(ffi.Pointer, ffi.Pointer) - >()(arg0, arg1); +) => + block.ref.target + .cast< + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + )>>() + .asFunction< + int Function(ffi.Pointer, + ffi.Pointer)>()(arg0, arg1); final _ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject_closureRegistry = - < - int, - int Function(ffi.Pointer, ffi.Pointer) - >{}; -int -_ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject_closureRegistryIndex = + , ffi.Pointer)>{}; +int _ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject_closureRegistryIndex = 0; ffi.Pointer -_ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject_registerClosure( + _ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject_registerClosure( int Function(ffi.Pointer, ffi.Pointer) fn, ) { final id = ++_ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject_closureRegistryIndex; - _ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject_closureRegistry[id] = - fn; + _ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject_closureRegistry[ + id] = fn; return ffi.Pointer.fromAddress(id); } int -_ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject_closureTrampoline( + _ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject_closureTrampoline( ffi.Pointer block, ffi.Pointer arg0, ffi.Pointer arg1, ) => - _ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject_closureRegistry[block - .ref - .target - .address]!(arg0, arg1); + _ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject_closureRegistry[ + block.ref.target.address]!(arg0, arg1); class ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject extends objc.ObjCBlockBase { @@ -51823,7 +45852,7 @@ class ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject /// Returns a block that wraps the given raw block pointer. static ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject - castFromPointer( + castFromPointer( SwiftLibrary lib, ffi.Pointer pointer, { bool retain = false, @@ -51845,27 +45874,26 @@ class ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject.fromFunctionPointer( SwiftLibrary lib, ffi.Pointer< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - ) - > - > ptr, - ) : this._(objc.newBlock( - _cFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Int32 Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >( - _ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject_fnPtrTrampoline, - 0, - ).cast(), - ptr.cast(), - ), lib); + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + )>> + ptr, + ) : this._( + objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>( + _ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject_fnPtrTrampoline, + 0, + ).cast(), + ptr.cast(), + ), + lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -51876,47 +45904,45 @@ class ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject.fromFunction( SwiftLibrary lib, int Function(NSObject, NSObject) fn, - ) : this._(objc.newBlock( - _dartFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Int32 Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >( - _ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject_closureTrampoline, - 0, - ).cast(), - _ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject_registerClosure( - ( - ffi.Pointer arg0, - ffi.Pointer arg1, - ) => fn( - NSObject._(arg0, lib, retain: true, release: true), - NSObject._(arg1, lib, retain: true, release: true), - ), - ), - ), lib); + ) : this._( + objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>( + _ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject_closureTrampoline, + 0, + ).cast(), + _ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject_registerClosure( + ( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) => + fn( + NSObject._(arg0, lib, retain: true, release: true), + NSObject._(arg1, lib, retain: true, release: true), + ), + ), + ), + lib); static ffi.Pointer? _dartFuncTrampoline; int call(NSObject arg0, NSObject arg1) => pointer.ref.invoke .cast< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Pointer arg1, - ) - > - >() + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, + )>>() .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >()(pointer, arg0.pointer, arg1.pointer); + int Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>()(pointer, arg0.pointer, arg1.pointer); } abstract class NSComparisonResult { @@ -51948,26 +45974,23 @@ bool _ObjCBlock_bool_objcObjCObject_objcObjCObject_fnPtrTrampoline( ffi.Pointer block, ffi.Pointer arg0, ffi.Pointer arg1, -) => block.ref.target - .cast< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - ) - > - >() - .asFunction< - bool Function(ffi.Pointer, ffi.Pointer) - >()(arg0, arg1); -final _ObjCBlock_bool_objcObjCObject_objcObjCObject_closureRegistry = - < - int, - bool Function(ffi.Pointer, ffi.Pointer) - >{}; +) => + block.ref.target + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + )>>() + .asFunction< + bool Function(ffi.Pointer, + ffi.Pointer)>()(arg0, arg1); +final _ObjCBlock_bool_objcObjCObject_objcObjCObject_closureRegistry = , ffi.Pointer)>{}; int _ObjCBlock_bool_objcObjCObject_objcObjCObject_closureRegistryIndex = 0; ffi.Pointer -_ObjCBlock_bool_objcObjCObject_objcObjCObject_registerClosure( + _ObjCBlock_bool_objcObjCObject_objcObjCObject_registerClosure( bool Function(ffi.Pointer, ffi.Pointer) fn, ) { final id = @@ -51980,10 +46003,9 @@ bool _ObjCBlock_bool_objcObjCObject_objcObjCObject_closureTrampoline( ffi.Pointer block, ffi.Pointer arg0, ffi.Pointer arg1, -) => _ObjCBlock_bool_objcObjCObject_objcObjCObject_closureRegistry[block - .ref - .target - .address]!(arg0, arg1); +) => + _ObjCBlock_bool_objcObjCObject_objcObjCObject_closureRegistry[ + block.ref.target.address]!(arg0, arg1); class ObjCBlock_bool_objcObjCObject_objcObjCObject extends objc.ObjCBlockBase { ObjCBlock_bool_objcObjCObject_objcObjCObject._( @@ -52018,27 +46040,26 @@ class ObjCBlock_bool_objcObjCObject_objcObjCObject extends objc.ObjCBlockBase { ObjCBlock_bool_objcObjCObject_objcObjCObject.fromFunctionPointer( SwiftLibrary lib, ffi.Pointer< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - ) - > - > ptr, - ) : this._(objc.newBlock( - _cFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >( - _ObjCBlock_bool_objcObjCObject_objcObjCObject_fnPtrTrampoline, - false, - ).cast(), - ptr.cast(), - ), lib); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + )>> + ptr, + ) : this._( + objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>( + _ObjCBlock_bool_objcObjCObject_objcObjCObject_fnPtrTrampoline, + false, + ).cast(), + ptr.cast(), + ), + lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -52049,45 +46070,43 @@ class ObjCBlock_bool_objcObjCObject_objcObjCObject extends objc.ObjCBlockBase { ObjCBlock_bool_objcObjCObject_objcObjCObject.fromFunction( SwiftLibrary lib, bool Function(NSObject, NSObject) fn, - ) : this._(objc.newBlock( - _dartFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >( - _ObjCBlock_bool_objcObjCObject_objcObjCObject_closureTrampoline, - false, - ).cast(), - _ObjCBlock_bool_objcObjCObject_objcObjCObject_registerClosure(( - ffi.Pointer arg0, - ffi.Pointer arg1, - ) => fn( - NSObject._(arg0, lib, retain: true, release: true), - NSObject._(arg1, lib, retain: true, release: true), - )), - ), lib); + ) : this._( + objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>( + _ObjCBlock_bool_objcObjCObject_objcObjCObject_closureTrampoline, + false, + ).cast(), + _ObjCBlock_bool_objcObjCObject_objcObjCObject_registerClosure(( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) => + fn( + NSObject._(arg0, lib, retain: true, release: true), + NSObject._(arg1, lib, retain: true, release: true), + )), + ), + lib); static ffi.Pointer? _dartFuncTrampoline; bool call(NSObject arg0, NSObject arg1) => pointer.ref.invoke .cast< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Pointer arg1, - ) - > - >() + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, + )>>() .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >()(pointer, arg0.pointer, arg1.pointer); + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>()(pointer, arg0.pointer, arg1.pointer); } abstract class NSKeyValueObservingOptions { @@ -52388,26 +46407,23 @@ bool _ObjCBlock_bool_objcObjCObject_NSDictionary_fnPtrTrampoline( ffi.Pointer block, ffi.Pointer arg0, ffi.Pointer arg1, -) => block.ref.target - .cast< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - ) - > - >() - .asFunction< - bool Function(ffi.Pointer, ffi.Pointer) - >()(arg0, arg1); -final _ObjCBlock_bool_objcObjCObject_NSDictionary_closureRegistry = - < - int, - bool Function(ffi.Pointer, ffi.Pointer) - >{}; +) => + block.ref.target + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + )>>() + .asFunction< + bool Function(ffi.Pointer, + ffi.Pointer)>()(arg0, arg1); +final _ObjCBlock_bool_objcObjCObject_NSDictionary_closureRegistry = , ffi.Pointer)>{}; int _ObjCBlock_bool_objcObjCObject_NSDictionary_closureRegistryIndex = 0; ffi.Pointer -_ObjCBlock_bool_objcObjCObject_NSDictionary_registerClosure( + _ObjCBlock_bool_objcObjCObject_NSDictionary_registerClosure( bool Function(ffi.Pointer, ffi.Pointer) fn, ) { final id = ++_ObjCBlock_bool_objcObjCObject_NSDictionary_closureRegistryIndex; @@ -52419,10 +46435,9 @@ bool _ObjCBlock_bool_objcObjCObject_NSDictionary_closureTrampoline( ffi.Pointer block, ffi.Pointer arg0, ffi.Pointer arg1, -) => _ObjCBlock_bool_objcObjCObject_NSDictionary_closureRegistry[block - .ref - .target - .address]!(arg0, arg1); +) => + _ObjCBlock_bool_objcObjCObject_NSDictionary_closureRegistry[ + block.ref.target.address]!(arg0, arg1); class ObjCBlock_bool_objcObjCObject_NSDictionary extends objc.ObjCBlockBase { ObjCBlock_bool_objcObjCObject_NSDictionary._( @@ -52457,27 +46472,26 @@ class ObjCBlock_bool_objcObjCObject_NSDictionary extends objc.ObjCBlockBase { ObjCBlock_bool_objcObjCObject_NSDictionary.fromFunctionPointer( SwiftLibrary lib, ffi.Pointer< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - ) - > - > ptr, - ) : this._(objc.newBlock( - _cFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >( - _ObjCBlock_bool_objcObjCObject_NSDictionary_fnPtrTrampoline, - false, - ).cast(), - ptr.cast(), - ), lib); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + )>> + ptr, + ) : this._( + objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>( + _ObjCBlock_bool_objcObjCObject_NSDictionary_fnPtrTrampoline, + false, + ).cast(), + ptr.cast(), + ), + lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -52488,49 +46502,49 @@ class ObjCBlock_bool_objcObjCObject_NSDictionary extends objc.ObjCBlockBase { ObjCBlock_bool_objcObjCObject_NSDictionary.fromFunction( SwiftLibrary lib, bool Function(NSObject?, NSDictionary?) fn, - ) : this._(objc.newBlock( - _dartFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >( - _ObjCBlock_bool_objcObjCObject_NSDictionary_closureTrampoline, - false, - ).cast(), - _ObjCBlock_bool_objcObjCObject_NSDictionary_registerClosure(( - ffi.Pointer arg0, - ffi.Pointer arg1, - ) => fn( - arg0.address == 0 - ? null - : NSObject._(arg0, lib, retain: true, release: true), - arg1.address == 0 - ? null - : NSDictionary._(arg1, lib, retain: true, release: true), - )), - ), lib); + ) : this._( + objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>( + _ObjCBlock_bool_objcObjCObject_NSDictionary_closureTrampoline, + false, + ).cast(), + _ObjCBlock_bool_objcObjCObject_NSDictionary_registerClosure(( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) => + fn( + arg0.address == 0 + ? null + : NSObject._(arg0, lib, retain: true, release: true), + arg1.address == 0 + ? null + : NSDictionary._(arg1, lib, + retain: true, release: true), + )), + ), + lib); static ffi.Pointer? _dartFuncTrampoline; bool call(NSObject? arg0, NSDictionary? arg1) => pointer.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Pointer arg1, - ) - > - >() - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >()(pointer, arg0?.pointer ?? ffi.nullptr, arg1?.pointer ?? ffi.nullptr); + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, + )>>() + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>()( + pointer, arg0?.pointer ?? ffi.nullptr, arg1?.pointer ?? ffi.nullptr); } class NSDictionary extends NSObject { @@ -53307,36 +47321,32 @@ void _ObjCBlock_ffiVoid_objcObjCObject_objcObjCObject_bool_fnPtrTrampoline( ffi.Pointer arg0, ffi.Pointer arg1, ffi.Pointer arg2, -) => block.ref.target - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2, - ) - > - >() - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >()(arg0, arg1, arg2); +) => + block.ref.target + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, + )>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>()(arg0, arg1, arg2); final _ObjCBlock_ffiVoid_objcObjCObject_objcObjCObject_bool_closureRegistry = - < - int, - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >{}; + , + ffi.Pointer, + ffi.Pointer, +)>{}; int _ObjCBlock_ffiVoid_objcObjCObject_objcObjCObject_bool_closureRegistryIndex = 0; ffi.Pointer -_ObjCBlock_ffiVoid_objcObjCObject_objcObjCObject_bool_registerClosure( + _ObjCBlock_ffiVoid_objcObjCObject_objcObjCObject_bool_registerClosure( void Function( ffi.Pointer, ffi.Pointer, @@ -53355,10 +47365,9 @@ void _ObjCBlock_ffiVoid_objcObjCObject_objcObjCObject_bool_closureTrampoline( ffi.Pointer arg0, ffi.Pointer arg1, ffi.Pointer arg2, -) => _ObjCBlock_ffiVoid_objcObjCObject_objcObjCObject_bool_closureRegistry[block - .ref - .target - .address]!(arg0, arg1, arg2); +) => + _ObjCBlock_ffiVoid_objcObjCObject_objcObjCObject_bool_closureRegistry[ + block.ref.target.address]!(arg0, arg1, arg2); class ObjCBlock_ffiVoid_objcObjCObject_objcObjCObject_bool extends objc.ObjCBlockBase { @@ -53394,28 +47403,27 @@ class ObjCBlock_ffiVoid_objcObjCObject_objcObjCObject_bool ObjCBlock_ffiVoid_objcObjCObject_objcObjCObject_bool.fromFunctionPointer( SwiftLibrary lib, ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2, - ) - > - > ptr, - ) : this._(objc.newBlock( - _cFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >( - _ObjCBlock_ffiVoid_objcObjCObject_objcObjCObject_bool_fnPtrTrampoline, - ).cast(), - ptr.cast(), - ), lib); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, + )>> + ptr, + ) : this._( + objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>( + _ObjCBlock_ffiVoid_objcObjCObject_objcObjCObject_bool_fnPtrTrampoline, + ).cast(), + ptr.cast(), + ), + lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -53426,28 +47434,30 @@ class ObjCBlock_ffiVoid_objcObjCObject_objcObjCObject_bool ObjCBlock_ffiVoid_objcObjCObject_objcObjCObject_bool.fromFunction( SwiftLibrary lib, void Function(NSObject, NSObject, ffi.Pointer) fn, - ) : this._(objc.newBlock( - _dartFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >( - _ObjCBlock_ffiVoid_objcObjCObject_objcObjCObject_bool_closureTrampoline, - ).cast(), - _ObjCBlock_ffiVoid_objcObjCObject_objcObjCObject_bool_registerClosure(( - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2, - ) => fn( - NSObject._(arg0, lib, retain: true, release: true), - NSObject._(arg1, lib, retain: true, release: true), - arg2, - )), - ), lib); + ) : this._( + objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>( + _ObjCBlock_ffiVoid_objcObjCObject_objcObjCObject_bool_closureTrampoline, + ).cast(), + _ObjCBlock_ffiVoid_objcObjCObject_objcObjCObject_bool_registerClosure( + ( + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, + ) => + fn( + NSObject._(arg0, lib, retain: true, release: true), + NSObject._(arg1, lib, retain: true, release: true), + arg2, + )), + ), + lib); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -53462,59 +47472,57 @@ class ObjCBlock_ffiVoid_objcObjCObject_objcObjCObject_bool ObjCBlock_ffiVoid_objcObjCObject_objcObjCObject_bool.listener( SwiftLibrary lib, void Function(NSObject, NSObject, ffi.Pointer) fn, - ) : this._(objc.newBlock( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( + ) : this._( + objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>.listener( + _ObjCBlock_ffiVoid_objcObjCObject_objcObjCObject_bool_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_objcObjCObject_objcObjCObject_bool_registerClosure( + ( + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, + ) => + fn( + NSObject._(arg0, lib, retain: true, release: true), + NSObject._(arg1, lib, retain: true, release: true), + arg2, + )), + ), + lib); + static ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>? _dartFuncListenerTrampoline; + + void call(NSObject arg0, NSObject arg1, ffi.Pointer arg2) => + pointer.ref.invoke + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, + )>>() + .asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - >.listener( - _ObjCBlock_ffiVoid_objcObjCObject_objcObjCObject_bool_closureTrampoline, - )..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_objcObjCObject_objcObjCObject_bool_registerClosure(( - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2, - ) => fn( - NSObject._(arg0, lib, retain: true, release: true), - NSObject._(arg1, lib, retain: true, release: true), - arg2, - )), - ), lib); - static ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >? _dartFuncListenerTrampoline; - - void call(NSObject arg0, NSObject arg1, ffi.Pointer arg2) => pointer - .ref - .invoke - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2, - ) - > - >() - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >()(pointer, arg0.pointer, arg1.pointer, arg2); + )>()(pointer, arg0.pointer, arg1.pointer, arg2); } bool _ObjCBlock_bool_objcObjCObject_objcObjCObject_bool_fnPtrTrampoline( @@ -53522,35 +47530,30 @@ bool _ObjCBlock_bool_objcObjCObject_objcObjCObject_bool_fnPtrTrampoline( ffi.Pointer arg0, ffi.Pointer arg1, ffi.Pointer arg2, -) => block.ref.target - .cast< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2, - ) - > - >() - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >()(arg0, arg1, arg2); -final _ObjCBlock_bool_objcObjCObject_objcObjCObject_bool_closureRegistry = - < - int, - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >{}; +) => + block.ref.target + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, + )>>() + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>()(arg0, arg1, arg2); +final _ObjCBlock_bool_objcObjCObject_objcObjCObject_bool_closureRegistry = , + ffi.Pointer, + ffi.Pointer, +)>{}; int _ObjCBlock_bool_objcObjCObject_objcObjCObject_bool_closureRegistryIndex = 0; ffi.Pointer -_ObjCBlock_bool_objcObjCObject_objcObjCObject_bool_registerClosure( + _ObjCBlock_bool_objcObjCObject_objcObjCObject_bool_registerClosure( bool Function( ffi.Pointer, ffi.Pointer, @@ -53568,10 +47571,9 @@ bool _ObjCBlock_bool_objcObjCObject_objcObjCObject_bool_closureTrampoline( ffi.Pointer arg0, ffi.Pointer arg1, ffi.Pointer arg2, -) => _ObjCBlock_bool_objcObjCObject_objcObjCObject_bool_closureRegistry[block - .ref - .target - .address]!(arg0, arg1, arg2); +) => + _ObjCBlock_bool_objcObjCObject_objcObjCObject_bool_closureRegistry[ + block.ref.target.address]!(arg0, arg1, arg2); class ObjCBlock_bool_objcObjCObject_objcObjCObject_bool extends objc.ObjCBlockBase { @@ -53607,29 +47609,28 @@ class ObjCBlock_bool_objcObjCObject_objcObjCObject_bool ObjCBlock_bool_objcObjCObject_objcObjCObject_bool.fromFunctionPointer( SwiftLibrary lib, ffi.Pointer< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2, - ) - > - > ptr, - ) : this._(objc.newBlock( - _cFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >( - _ObjCBlock_bool_objcObjCObject_objcObjCObject_bool_fnPtrTrampoline, - false, - ).cast(), - ptr.cast(), - ), lib); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, + )>> + ptr, + ) : this._( + objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>( + _ObjCBlock_bool_objcObjCObject_objcObjCObject_bool_fnPtrTrampoline, + false, + ).cast(), + ptr.cast(), + ), + lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -53640,52 +47641,50 @@ class ObjCBlock_bool_objcObjCObject_objcObjCObject_bool ObjCBlock_bool_objcObjCObject_objcObjCObject_bool.fromFunction( SwiftLibrary lib, bool Function(NSObject, NSObject, ffi.Pointer) fn, - ) : this._(objc.newBlock( - _dartFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Bool Function( + ) : this._( + objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>( + _ObjCBlock_bool_objcObjCObject_objcObjCObject_bool_closureTrampoline, + false, + ).cast(), + _ObjCBlock_bool_objcObjCObject_objcObjCObject_bool_registerClosure( + ( + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, + ) => + fn( + NSObject._(arg0, lib, retain: true, release: true), + NSObject._(arg1, lib, retain: true, release: true), + arg2, + )), + ), + lib); + static ffi.Pointer? _dartFuncTrampoline; + + bool call(NSObject arg0, NSObject arg1, ffi.Pointer arg2) => + pointer.ref.invoke + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, + )>>() + .asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - >( - _ObjCBlock_bool_objcObjCObject_objcObjCObject_bool_closureTrampoline, - false, - ).cast(), - _ObjCBlock_bool_objcObjCObject_objcObjCObject_bool_registerClosure(( - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2, - ) => fn( - NSObject._(arg0, lib, retain: true, release: true), - NSObject._(arg1, lib, retain: true, release: true), - arg2, - )), - ), lib); - static ffi.Pointer? _dartFuncTrampoline; - - bool call(NSObject arg0, NSObject arg1, ffi.Pointer arg2) => pointer - .ref - .invoke - .cast< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2, - ) - > - >() - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >()(pointer, arg0.pointer, arg1.pointer, arg2); + )>()(pointer, arg0.pointer, arg1.pointer, arg2); } final class NSFastEnumerationState extends ffi.Struct { @@ -53738,13 +47737,13 @@ class NSDate extends NSObject { double get timeIntervalSinceReferenceDate { return objc.useMsgSendVariants ? _lib._objc_msgSend_165_fpret( - this.pointer, - _lib._sel_timeIntervalSinceReferenceDate1, - ) + this.pointer, + _lib._sel_timeIntervalSinceReferenceDate1, + ) : _lib._objc_msgSend_165( - this.pointer, - _lib._sel_timeIntervalSinceReferenceDate1, - ); + this.pointer, + _lib._sel_timeIntervalSinceReferenceDate1, + ); } @override @@ -53776,36 +47775,36 @@ class NSDate extends NSObject { double timeIntervalSinceDate_(NSDate anotherDate) { return objc.useMsgSendVariants ? _lib._objc_msgSend_167_fpret( - this.pointer, - _lib._sel_timeIntervalSinceDate_1, - anotherDate.pointer, - ) + this.pointer, + _lib._sel_timeIntervalSinceDate_1, + anotherDate.pointer, + ) : _lib._objc_msgSend_167( - this.pointer, - _lib._sel_timeIntervalSinceDate_1, - anotherDate.pointer, - ); + this.pointer, + _lib._sel_timeIntervalSinceDate_1, + anotherDate.pointer, + ); } double get timeIntervalSinceNow { return objc.useMsgSendVariants ? _lib._objc_msgSend_165_fpret( - this.pointer, - _lib._sel_timeIntervalSinceNow1, - ) + this.pointer, + _lib._sel_timeIntervalSinceNow1, + ) : _lib._objc_msgSend_165(this.pointer, _lib._sel_timeIntervalSinceNow1); } double get timeIntervalSince1970 { return objc.useMsgSendVariants ? _lib._objc_msgSend_165_fpret( - this.pointer, - _lib._sel_timeIntervalSince19701, - ) + this.pointer, + _lib._sel_timeIntervalSince19701, + ) : _lib._objc_msgSend_165( - this.pointer, - _lib._sel_timeIntervalSince19701, - ); + this.pointer, + _lib._sel_timeIntervalSince19701, + ); } NSObject addTimeInterval_(double seconds) { @@ -54858,15 +48857,15 @@ class NSTimeZone extends NSObject { double daylightSavingTimeOffsetForDate_(NSDate aDate) { return objc.useMsgSendVariants ? _lib._objc_msgSend_167_fpret( - this.pointer, - _lib._sel_daylightSavingTimeOffsetForDate_1, - aDate.pointer, - ) + this.pointer, + _lib._sel_daylightSavingTimeOffsetForDate_1, + aDate.pointer, + ) : _lib._objc_msgSend_167( - this.pointer, - _lib._sel_daylightSavingTimeOffsetForDate_1, - aDate.pointer, - ); + this.pointer, + _lib._sel_daylightSavingTimeOffsetForDate_1, + aDate.pointer, + ); } NSDate? nextDaylightSavingTimeTransitionAfterDate_(NSDate aDate) { @@ -54969,13 +48968,13 @@ class NSTimeZone extends NSObject { double get daylightSavingTimeOffset { return objc.useMsgSendVariants ? _lib._objc_msgSend_165_fpret( - this.pointer, - _lib._sel_daylightSavingTimeOffset1, - ) + this.pointer, + _lib._sel_daylightSavingTimeOffset1, + ) : _lib._objc_msgSend_165( - this.pointer, - _lib._sel_daylightSavingTimeOffset1, - ); + this.pointer, + _lib._sel_daylightSavingTimeOffset1, + ); } NSDate? get nextDaylightSavingTimeTransition { @@ -56640,7 +50639,8 @@ abstract class NSDataWritingOptions { static const int NSDataWritingFileProtectionComplete = 536870912; static const int NSDataWritingFileProtectionCompleteUnlessOpen = 805306368; static const int - NSDataWritingFileProtectionCompleteUntilFirstUserAuthentication = 1073741824; + NSDataWritingFileProtectionCompleteUntilFirstUserAuthentication = + 1073741824; static const int NSDataWritingFileProtectionCompleteWhenUserInactive = 1342177280; static const int NSDataWritingFileProtectionMask = 4026531840; @@ -56657,24 +50657,20 @@ void _ObjCBlock_ffiVoid_ffiVoid_NSRange_bool_fnPtrTrampoline( ffi.Pointer arg0, _NSRange arg1, ffi.Pointer arg2, -) => block.ref.target - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - _NSRange arg1, - ffi.Pointer arg2, - ) - > - >() - .asFunction< - void Function(ffi.Pointer, _NSRange, ffi.Pointer) - >()(arg0, arg1, arg2); -final _ObjCBlock_ffiVoid_ffiVoid_NSRange_bool_closureRegistry = - < - int, - void Function(ffi.Pointer, _NSRange, ffi.Pointer) - >{}; +) => + block.ref.target + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + _NSRange arg1, + ffi.Pointer arg2, + )>>() + .asFunction< + void Function(ffi.Pointer, _NSRange, + ffi.Pointer)>()(arg0, arg1, arg2); +final _ObjCBlock_ffiVoid_ffiVoid_NSRange_bool_closureRegistry = , _NSRange, ffi.Pointer)>{}; int _ObjCBlock_ffiVoid_ffiVoid_NSRange_bool_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_ffiVoid_ffiVoid_NSRange_bool_registerClosure( void Function(ffi.Pointer, _NSRange, ffi.Pointer) fn, @@ -56689,10 +50685,9 @@ void _ObjCBlock_ffiVoid_ffiVoid_NSRange_bool_closureTrampoline( ffi.Pointer arg0, _NSRange arg1, ffi.Pointer arg2, -) => _ObjCBlock_ffiVoid_ffiVoid_NSRange_bool_closureRegistry[block - .ref - .target - .address]!(arg0, arg1, arg2); +) => + _ObjCBlock_ffiVoid_ffiVoid_NSRange_bool_closureRegistry[ + block.ref.target.address]!(arg0, arg1, arg2); class ObjCBlock_ffiVoid_ffiVoid_NSRange_bool extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_ffiVoid_NSRange_bool._( @@ -56727,26 +50722,27 @@ class ObjCBlock_ffiVoid_ffiVoid_NSRange_bool extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_ffiVoid_NSRange_bool.fromFunctionPointer( SwiftLibrary lib, ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - _NSRange arg1, - ffi.Pointer arg2, - ) - > - > ptr, - ) : this._(objc.newBlock( - _cFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - ) - >(_ObjCBlock_ffiVoid_ffiVoid_NSRange_bool_fnPtrTrampoline).cast(), - ptr.cast(), - ), lib); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + _NSRange arg1, + ffi.Pointer arg2, + )>> + ptr, + ) : this._( + objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + )>( + _ObjCBlock_ffiVoid_ffiVoid_NSRange_bool_fnPtrTrampoline) + .cast(), + ptr.cast(), + ), + lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -56757,22 +50753,25 @@ class ObjCBlock_ffiVoid_ffiVoid_NSRange_bool extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_ffiVoid_NSRange_bool.fromFunction( SwiftLibrary lib, void Function(ffi.Pointer, _NSRange, ffi.Pointer) fn, - ) : this._(objc.newBlock( - _dartFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - ) - >(_ObjCBlock_ffiVoid_ffiVoid_NSRange_bool_closureTrampoline).cast(), - _ObjCBlock_ffiVoid_ffiVoid_NSRange_bool_registerClosure(( - ffi.Pointer arg0, - _NSRange arg1, - ffi.Pointer arg2, - ) => fn(arg0, arg1, arg2)), - ), lib); + ) : this._( + objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + )>( + _ObjCBlock_ffiVoid_ffiVoid_NSRange_bool_closureTrampoline) + .cast(), + _ObjCBlock_ffiVoid_ffiVoid_NSRange_bool_registerClosure(( + ffi.Pointer arg0, + _NSRange arg1, + ffi.Pointer arg2, + ) => + fn(arg0, arg1, arg2)), + ), + lib); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -56787,57 +50786,56 @@ class ObjCBlock_ffiVoid_ffiVoid_NSRange_bool extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_ffiVoid_NSRange_bool.listener( SwiftLibrary lib, void Function(ffi.Pointer, _NSRange, ffi.Pointer) fn, - ) : this._(objc.newBlock( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - ) - >.listener( - _ObjCBlock_ffiVoid_ffiVoid_NSRange_bool_closureTrampoline, - )..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_ffiVoid_NSRange_bool_registerClosure(( - ffi.Pointer arg0, - _NSRange arg1, - ffi.Pointer arg2, - ) => fn(arg0, arg1, arg2)), - ), lib); + ) : this._( + objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + )>.listener( + _ObjCBlock_ffiVoid_ffiVoid_NSRange_bool_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_ffiVoid_NSRange_bool_registerClosure(( + ffi.Pointer arg0, + _NSRange arg1, + ffi.Pointer arg2, + ) => + fn(arg0, arg1, arg2)), + ), + lib); static ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - ) - >? _dartFuncListenerTrampoline; + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + )>? _dartFuncListenerTrampoline; void call( ffi.Pointer arg0, _NSRange arg1, ffi.Pointer arg2, - ) => pointer.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer block, - ffi.Pointer arg0, - _NSRange arg1, - ffi.Pointer arg2, - ) - > - >() - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - ) - >()(pointer, arg0, arg1, arg2); + ) => + pointer.ref.invoke + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer block, + ffi.Pointer arg0, + _NSRange arg1, + ffi.Pointer arg2, + )>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + )>()(pointer, arg0, arg1, arg2); } abstract class NSDataReadingOptions { @@ -56853,18 +50851,18 @@ void _ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong_fnPtrTrampoline( ffi.Pointer block, ffi.Pointer arg0, int arg1, -) => block.ref.target - .cast< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer arg0, ffi.UnsignedLong arg1) - > - >() - .asFunction, int)>()(arg0, arg1); +) => + block.ref.target + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, ffi.UnsignedLong arg1)>>() + .asFunction, int)>()(arg0, arg1); final _ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong_closureRegistry = , int)>{}; int _ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong_closureRegistryIndex = 0; ffi.Pointer -_ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong_registerClosure( + _ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong_registerClosure( void Function(ffi.Pointer, int) fn, ) { final id = ++_ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong_closureRegistryIndex; @@ -56876,10 +50874,9 @@ void _ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong_closureTrampoline( ffi.Pointer block, ffi.Pointer arg0, int arg1, -) => _ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong_closureRegistry[block - .ref - .target - .address]!(arg0, arg1); +) => + _ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong_closureRegistry[ + block.ref.target.address]!(arg0, arg1); class ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong._( @@ -56914,23 +50911,23 @@ class ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong.fromFunctionPointer( SwiftLibrary lib, ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer arg0, ffi.UnsignedLong arg1) - > - > ptr, - ) : this._(objc.newBlock( - _cFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ) - >( - _ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong_fnPtrTrampoline, - ).cast(), - ptr.cast(), - ), lib); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, ffi.UnsignedLong arg1)>> + ptr, + ) : this._( + objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + )>( + _ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong_fnPtrTrampoline, + ).cast(), + ptr.cast(), + ), + lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -56941,22 +50938,23 @@ class ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong.fromFunction( SwiftLibrary lib, void Function(ffi.Pointer, int) fn, - ) : this._(objc.newBlock( - _dartFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ) - >( - _ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong_closureTrampoline, - ).cast(), - _ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong_registerClosure(( - ffi.Pointer arg0, - int arg1, - ) => fn(arg0, arg1)), - ), lib); + ) : this._( + objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + )>( + _ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong_closureTrampoline, + ).cast(), + _ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong_registerClosure(( + ffi.Pointer arg0, + int arg1, + ) => + fn(arg0, arg1)), + ), + lib); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -56971,44 +50969,43 @@ class ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong.listener( SwiftLibrary lib, void Function(ffi.Pointer, int) fn, - ) : this._(objc.newBlock( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ) - >.listener( - _ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong_closureTrampoline, - )..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong_registerClosure(( - ffi.Pointer arg0, - int arg1, - ) => fn(arg0, arg1)), - ), lib); + ) : this._( + objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + )>.listener( + _ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong_registerClosure(( + ffi.Pointer arg0, + int arg1, + ) => + fn(arg0, arg1)), + ), + lib); static ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ) - >? _dartFuncListenerTrampoline; + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + )>? _dartFuncListenerTrampoline; void call(ffi.Pointer arg0, int arg1) => pointer.ref.invoke .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.UnsignedLong arg1, - ) - > - >() + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.UnsignedLong arg1, + )>>() .asFunction< - void Function(ffi.Pointer, ffi.Pointer, int) - >()(pointer, arg0, arg1); + void Function(ffi.Pointer, ffi.Pointer, + int)>()(pointer, arg0, arg1); } abstract class NSDataBase64DecodingOptions { @@ -57065,38 +51062,33 @@ void _ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool_fnPtrTrampoline( _NSRange arg1, _NSRange arg2, ffi.Pointer arg3, -) => block.ref.target - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - _NSRange arg1, - _NSRange arg2, - ffi.Pointer arg3, - ) - > - >() - .asFunction< - void Function( - ffi.Pointer, - _NSRange, - _NSRange, - ffi.Pointer, - ) - >()(arg0, arg1, arg2, arg3); -final _ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool_closureRegistry = - < - int, - void Function( - ffi.Pointer, - _NSRange, - _NSRange, - ffi.Pointer, - ) - >{}; +) => + block.ref.target + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + _NSRange arg1, + _NSRange arg2, + ffi.Pointer arg3, + )>>() + .asFunction< + void Function( + ffi.Pointer, + _NSRange, + _NSRange, + ffi.Pointer, + )>()(arg0, arg1, arg2, arg3); +final _ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool_closureRegistry = , + _NSRange, + _NSRange, + ffi.Pointer, +)>{}; int _ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool_closureRegistryIndex = 0; ffi.Pointer -_ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool_registerClosure( + _ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool_registerClosure( void Function( ffi.Pointer, _NSRange, @@ -57116,10 +51108,9 @@ void _ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool_closureTrampoline( _NSRange arg1, _NSRange arg2, ffi.Pointer arg3, -) => _ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool_closureRegistry[block - .ref - .target - .address]!(arg0, arg1, arg2, arg3); +) => + _ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool_closureRegistry[ + block.ref.target.address]!(arg0, arg1, arg2, arg3); class ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool extends objc.ObjCBlockBase { @@ -57155,30 +51146,29 @@ class ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool.fromFunctionPointer( SwiftLibrary lib, ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - _NSRange arg1, - _NSRange arg2, - ffi.Pointer arg3, - ) - > - > ptr, - ) : this._(objc.newBlock( - _cFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - _NSRange, - ffi.Pointer, - ) - >( - _ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool_fnPtrTrampoline, - ).cast(), - ptr.cast(), - ), lib); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + _NSRange arg1, + _NSRange arg2, + ffi.Pointer arg3, + )>> + ptr, + ) : this._( + objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + _NSRange, + ffi.Pointer, + )>( + _ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool_fnPtrTrampoline, + ).cast(), + ptr.cast(), + ), + lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -57189,33 +51179,34 @@ class ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool.fromFunction( SwiftLibrary lib, void Function(NSString?, _NSRange, _NSRange, ffi.Pointer) fn, - ) : this._(objc.newBlock( - _dartFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - _NSRange, - ffi.Pointer, - ) - >( - _ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool_closureTrampoline, - ).cast(), - _ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool_registerClosure(( - ffi.Pointer arg0, - _NSRange arg1, - _NSRange arg2, - ffi.Pointer arg3, - ) => fn( - arg0.address == 0 - ? null - : NSString._(arg0, lib, retain: true, release: true), - arg1, - arg2, - arg3, - )), - ), lib); + ) : this._( + objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + _NSRange, + ffi.Pointer, + )>( + _ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool_closureTrampoline, + ).cast(), + _ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool_registerClosure(( + ffi.Pointer arg0, + _NSRange arg1, + _NSRange arg2, + ffi.Pointer arg3, + ) => + fn( + arg0.address == 0 + ? null + : NSString._(arg0, lib, retain: true, release: true), + arg1, + arg2, + arg3, + )), + ), + lib); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -57230,88 +51221,86 @@ class ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool.listener( SwiftLibrary lib, void Function(NSString?, _NSRange, _NSRange, ffi.Pointer) fn, - ) : this._(objc.newBlock( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - _NSRange, - ffi.Pointer, - ) - >.listener( - _ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool_closureTrampoline, - )..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool_registerClosure(( - ffi.Pointer arg0, - _NSRange arg1, - _NSRange arg2, - ffi.Pointer arg3, - ) => fn( - arg0.address == 0 - ? null - : NSString._(arg0, lib, retain: true, release: true), - arg1, - arg2, - arg3, - )), - ), lib); + ) : this._( + objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + _NSRange, + ffi.Pointer, + )>.listener( + _ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool_registerClosure(( + ffi.Pointer arg0, + _NSRange arg1, + _NSRange arg2, + ffi.Pointer arg3, + ) => + fn( + arg0.address == 0 + ? null + : NSString._(arg0, lib, retain: true, release: true), + arg1, + arg2, + arg3, + )), + ), + lib); static ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - _NSRange, - ffi.Pointer, - ) - >? _dartFuncListenerTrampoline; + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + _NSRange, + ffi.Pointer, + )>? _dartFuncListenerTrampoline; void call( NSString? arg0, _NSRange arg1, _NSRange arg2, ffi.Pointer arg3, - ) => pointer.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer block, - ffi.Pointer arg0, - _NSRange arg1, - _NSRange arg2, - ffi.Pointer arg3, - ) - > - >() - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - _NSRange, - ffi.Pointer, - ) - >()(pointer, arg0?.pointer ?? ffi.nullptr, arg1, arg2, arg3); + ) => + pointer.ref.invoke + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer block, + ffi.Pointer arg0, + _NSRange arg1, + _NSRange arg2, + ffi.Pointer arg3, + )>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + _NSRange, + ffi.Pointer, + )>()(pointer, arg0?.pointer ?? ffi.nullptr, arg1, arg2, arg3); } void _ObjCBlock_ffiVoid_NSString_bool_fnPtrTrampoline( ffi.Pointer block, ffi.Pointer arg0, ffi.Pointer arg1, -) => block.ref.target - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - ) - > - >() - .asFunction< - void Function(ffi.Pointer, ffi.Pointer) - >()(arg0, arg1); +) => + block.ref.target + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + )>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer)>()(arg0, arg1); final _ObjCBlock_ffiVoid_NSString_bool_closureRegistry = , ffi.Pointer)>{}; int _ObjCBlock_ffiVoid_NSString_bool_closureRegistryIndex = 0; @@ -57327,10 +51316,9 @@ void _ObjCBlock_ffiVoid_NSString_bool_closureTrampoline( ffi.Pointer block, ffi.Pointer arg0, ffi.Pointer arg1, -) => _ObjCBlock_ffiVoid_NSString_bool_closureRegistry[block - .ref - .target - .address]!(arg0, arg1); +) => + _ObjCBlock_ffiVoid_NSString_bool_closureRegistry[block.ref.target.address]!( + arg0, arg1); class ObjCBlock_ffiVoid_NSString_bool extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSString_bool._( @@ -57365,24 +51353,24 @@ class ObjCBlock_ffiVoid_NSString_bool extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSString_bool.fromFunctionPointer( SwiftLibrary lib, ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - ) - > - > ptr, - ) : this._(objc.newBlock( - _cFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(_ObjCBlock_ffiVoid_NSString_bool_fnPtrTrampoline).cast(), - ptr.cast(), - ), lib); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + )>> + ptr, + ) : this._( + objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>(_ObjCBlock_ffiVoid_NSString_bool_fnPtrTrampoline) + .cast(), + ptr.cast(), + ), + lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -57393,20 +51381,22 @@ class ObjCBlock_ffiVoid_NSString_bool extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSString_bool.fromFunction( SwiftLibrary lib, void Function(NSString, ffi.Pointer) fn, - ) : this._(objc.newBlock( - _dartFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(_ObjCBlock_ffiVoid_NSString_bool_closureTrampoline).cast(), - _ObjCBlock_ffiVoid_NSString_bool_registerClosure(( - ffi.Pointer arg0, - ffi.Pointer arg1, - ) => fn(NSString._(arg0, lib, retain: true, release: true), arg1)), - ), lib); + ) : this._( + objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>(_ObjCBlock_ffiVoid_NSString_bool_closureTrampoline) + .cast(), + _ObjCBlock_ffiVoid_NSString_bool_registerClosure(( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) => + fn(NSString._(arg0, lib, retain: true, release: true), arg1)), + ), + lib); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -57421,48 +51411,46 @@ class ObjCBlock_ffiVoid_NSString_bool extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSString_bool.listener( SwiftLibrary lib, void Function(NSString, ffi.Pointer) fn, - ) : this._(objc.newBlock( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >.listener( - _ObjCBlock_ffiVoid_NSString_bool_closureTrampoline, - )..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSString_bool_registerClosure(( - ffi.Pointer arg0, - ffi.Pointer arg1, - ) => fn(NSString._(arg0, lib, retain: true, release: true), arg1)), - ), lib); + ) : this._( + objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>.listener( + _ObjCBlock_ffiVoid_NSString_bool_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSString_bool_registerClosure(( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) => + fn(NSString._(arg0, lib, retain: true, release: true), arg1)), + ), + lib); static ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >? _dartFuncListenerTrampoline; + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>? _dartFuncListenerTrampoline; void call(NSString arg0, ffi.Pointer arg1) => pointer.ref.invoke .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Pointer arg1, - ) - > - >() + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, + )>>() .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >()(pointer, arg0.pointer, arg1); + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>()(pointer, arg0.pointer, arg1); } abstract class NSStringEncodingConversionOptions { @@ -57474,25 +51462,24 @@ void _ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong_fnPtrTrampoline( ffi.Pointer block, ffi.Pointer arg0, int arg1, -) => block.ref.target - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.UnsignedLong arg1, - ) - > - >() - .asFunction, int)>()( - arg0, - arg1, -); +) => + block.ref.target + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.UnsignedLong arg1, + )>>() + .asFunction, int)>()( + arg0, + arg1, + ); final _ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong_closureRegistry = , int)>{}; int _ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong_closureRegistryIndex = 0; ffi.Pointer -_ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong_registerClosure( + _ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong_registerClosure( void Function(ffi.Pointer, int) fn, ) { final id = @@ -57505,10 +51492,9 @@ void _ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong_closureTrampoline( ffi.Pointer block, ffi.Pointer arg0, int arg1, -) => _ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong_closureRegistry[block - .ref - .target - .address]!(arg0, arg1); +) => + _ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong_closureRegistry[ + block.ref.target.address]!(arg0, arg1); class ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong extends objc.ObjCBlockBase { @@ -57544,26 +51530,25 @@ class ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong.fromFunctionPointer( SwiftLibrary lib, ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.UnsignedLong arg1, - ) - > - > ptr, - ) : this._(objc.newBlock( - _cFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ) - >( - _ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong_fnPtrTrampoline, - ).cast(), - ptr.cast(), - ), lib); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.UnsignedLong arg1, + )>> + ptr, + ) : this._( + objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + )>( + _ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong_fnPtrTrampoline, + ).cast(), + ptr.cast(), + ), + lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -57574,22 +51559,24 @@ class ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong.fromFunction( SwiftLibrary lib, void Function(ffi.Pointer, int) fn, - ) : this._(objc.newBlock( - _dartFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ) - >( - _ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong_closureTrampoline, - ).cast(), - _ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong_registerClosure(( - ffi.Pointer arg0, - int arg1, - ) => fn(arg0, arg1)), - ), lib); + ) : this._( + objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + )>( + _ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong_closureTrampoline, + ).cast(), + _ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong_registerClosure( + ( + ffi.Pointer arg0, + int arg1, + ) => + fn(arg0, arg1)), + ), + lib); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -57604,48 +51591,47 @@ class ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong.listener( SwiftLibrary lib, void Function(ffi.Pointer, int) fn, - ) : this._(objc.newBlock( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ) - >.listener( - _ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong_closureTrampoline, - )..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong_registerClosure(( - ffi.Pointer arg0, - int arg1, - ) => fn(arg0, arg1)), - ), lib); + ) : this._( + objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + )>.listener( + _ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong_registerClosure( + ( + ffi.Pointer arg0, + int arg1, + ) => + fn(arg0, arg1)), + ), + lib); static ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ) - >? _dartFuncListenerTrampoline; + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + )>? _dartFuncListenerTrampoline; void call(ffi.Pointer arg0, int arg1) => pointer.ref.invoke .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.UnsignedLong arg1, - ) - > - >() + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.UnsignedLong arg1, + )>>() .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >()(pointer, arg0, arg1); + void Function( + ffi.Pointer, + ffi.Pointer, + int, + )>()(pointer, arg0, arg1); } abstract class NSLinguisticTaggerOptions { @@ -57922,18 +51908,17 @@ void _ObjCBlock_ffiVoid_objcObjCObject_bool_fnPtrTrampoline( ffi.Pointer block, ffi.Pointer arg0, ffi.Pointer arg1, -) => block.ref.target - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - ) - > - >() - .asFunction< - void Function(ffi.Pointer, ffi.Pointer) - >()(arg0, arg1); +) => + block.ref.target + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + )>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer)>()(arg0, arg1); final _ObjCBlock_ffiVoid_objcObjCObject_bool_closureRegistry = , ffi.Pointer)>{}; int _ObjCBlock_ffiVoid_objcObjCObject_bool_closureRegistryIndex = 0; @@ -57949,10 +51934,9 @@ void _ObjCBlock_ffiVoid_objcObjCObject_bool_closureTrampoline( ffi.Pointer block, ffi.Pointer arg0, ffi.Pointer arg1, -) => _ObjCBlock_ffiVoid_objcObjCObject_bool_closureRegistry[block - .ref - .target - .address]!(arg0, arg1); +) => + _ObjCBlock_ffiVoid_objcObjCObject_bool_closureRegistry[ + block.ref.target.address]!(arg0, arg1); class ObjCBlock_ffiVoid_objcObjCObject_bool extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_objcObjCObject_bool._( @@ -57987,24 +51971,24 @@ class ObjCBlock_ffiVoid_objcObjCObject_bool extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_objcObjCObject_bool.fromFunctionPointer( SwiftLibrary lib, ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - ) - > - > ptr, - ) : this._(objc.newBlock( - _cFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(_ObjCBlock_ffiVoid_objcObjCObject_bool_fnPtrTrampoline).cast(), - ptr.cast(), - ), lib); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + )>> + ptr, + ) : this._( + objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>(_ObjCBlock_ffiVoid_objcObjCObject_bool_fnPtrTrampoline) + .cast(), + ptr.cast(), + ), + lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -58015,20 +51999,23 @@ class ObjCBlock_ffiVoid_objcObjCObject_bool extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_objcObjCObject_bool.fromFunction( SwiftLibrary lib, void Function(NSObject, ffi.Pointer) fn, - ) : this._(objc.newBlock( - _dartFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(_ObjCBlock_ffiVoid_objcObjCObject_bool_closureTrampoline).cast(), - _ObjCBlock_ffiVoid_objcObjCObject_bool_registerClosure(( - ffi.Pointer arg0, - ffi.Pointer arg1, - ) => fn(NSObject._(arg0, lib, retain: true, release: true), arg1)), - ), lib); + ) : this._( + objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>( + _ObjCBlock_ffiVoid_objcObjCObject_bool_closureTrampoline) + .cast(), + _ObjCBlock_ffiVoid_objcObjCObject_bool_registerClosure(( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) => + fn(NSObject._(arg0, lib, retain: true, release: true), arg1)), + ), + lib); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -58043,66 +52030,63 @@ class ObjCBlock_ffiVoid_objcObjCObject_bool extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_objcObjCObject_bool.listener( SwiftLibrary lib, void Function(NSObject, ffi.Pointer) fn, - ) : this._(objc.newBlock( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >.listener( - _ObjCBlock_ffiVoid_objcObjCObject_bool_closureTrampoline, - )..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_objcObjCObject_bool_registerClosure(( - ffi.Pointer arg0, - ffi.Pointer arg1, - ) => fn(NSObject._(arg0, lib, retain: true, release: true), arg1)), - ), lib); + ) : this._( + objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>.listener( + _ObjCBlock_ffiVoid_objcObjCObject_bool_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_objcObjCObject_bool_registerClosure(( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) => + fn(NSObject._(arg0, lib, retain: true, release: true), arg1)), + ), + lib); static ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >? _dartFuncListenerTrampoline; + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>? _dartFuncListenerTrampoline; void call(NSObject arg0, ffi.Pointer arg1) => pointer.ref.invoke .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Pointer arg1, - ) - > - >() + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, + )>>() .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >()(pointer, arg0.pointer, arg1); + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>()(pointer, arg0.pointer, arg1); } bool _ObjCBlock_bool_objcObjCObject_bool_fnPtrTrampoline( ffi.Pointer block, ffi.Pointer arg0, ffi.Pointer arg1, -) => block.ref.target - .cast< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - ) - > - >() - .asFunction< - bool Function(ffi.Pointer, ffi.Pointer) - >()(arg0, arg1); +) => + block.ref.target + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + )>>() + .asFunction< + bool Function(ffi.Pointer, + ffi.Pointer)>()(arg0, arg1); final _ObjCBlock_bool_objcObjCObject_bool_closureRegistry = , ffi.Pointer)>{}; int _ObjCBlock_bool_objcObjCObject_bool_closureRegistryIndex = 0; @@ -58118,10 +52102,9 @@ bool _ObjCBlock_bool_objcObjCObject_bool_closureTrampoline( ffi.Pointer block, ffi.Pointer arg0, ffi.Pointer arg1, -) => _ObjCBlock_bool_objcObjCObject_bool_closureRegistry[block - .ref - .target - .address]!(arg0, arg1); +) => + _ObjCBlock_bool_objcObjCObject_bool_closureRegistry[ + block.ref.target.address]!(arg0, arg1); class ObjCBlock_bool_objcObjCObject_bool extends objc.ObjCBlockBase { ObjCBlock_bool_objcObjCObject_bool._( @@ -58156,27 +52139,26 @@ class ObjCBlock_bool_objcObjCObject_bool extends objc.ObjCBlockBase { ObjCBlock_bool_objcObjCObject_bool.fromFunctionPointer( SwiftLibrary lib, ffi.Pointer< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - ) - > - > ptr, - ) : this._(objc.newBlock( - _cFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >( - _ObjCBlock_bool_objcObjCObject_bool_fnPtrTrampoline, - false, - ).cast(), - ptr.cast(), - ), lib); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + )>> + ptr, + ) : this._( + objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>( + _ObjCBlock_bool_objcObjCObject_bool_fnPtrTrampoline, + false, + ).cast(), + ptr.cast(), + ), + lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -58187,42 +52169,40 @@ class ObjCBlock_bool_objcObjCObject_bool extends objc.ObjCBlockBase { ObjCBlock_bool_objcObjCObject_bool.fromFunction( SwiftLibrary lib, bool Function(NSObject, ffi.Pointer) fn, - ) : this._(objc.newBlock( - _dartFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >( - _ObjCBlock_bool_objcObjCObject_bool_closureTrampoline, - false, - ).cast(), - _ObjCBlock_bool_objcObjCObject_bool_registerClosure(( - ffi.Pointer arg0, - ffi.Pointer arg1, - ) => fn(NSObject._(arg0, lib, retain: true, release: true), arg1)), - ), lib); + ) : this._( + objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>( + _ObjCBlock_bool_objcObjCObject_bool_closureTrampoline, + false, + ).cast(), + _ObjCBlock_bool_objcObjCObject_bool_registerClosure(( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) => + fn(NSObject._(arg0, lib, retain: true, release: true), arg1)), + ), + lib); static ffi.Pointer? _dartFuncTrampoline; bool call(NSObject arg0, ffi.Pointer arg1) => pointer.ref.invoke .cast< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Pointer arg1, - ) - > - >() + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, + )>>() .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >()(pointer, arg0.pointer, arg1); + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>()(pointer, arg0.pointer, arg1); } class NSFileManager extends NSObject { @@ -58981,7 +52961,7 @@ class NSFileManager extends NSObject { } bool - replaceItemAtURL_withItemAtURL_backupItemName_options_resultingItemURL_error_( + replaceItemAtURL_withItemAtURL_backupItemName_options_resultingItemURL_error_( NSURL originalItemURL, NSURL newItemURL, NSString? backupItemName, @@ -59279,11 +53259,12 @@ abstract class NSFileManagerUnmountOptions { void _ObjCBlock_ffiVoid_NSError_fnPtrTrampoline( ffi.Pointer block, ffi.Pointer arg0, -) => block.ref.target - .cast< - ffi.NativeFunction arg0)> - >() - .asFunction)>()(arg0); +) => + block.ref.target + .cast< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer arg0)>>() + .asFunction)>()(arg0); final _ObjCBlock_ffiVoid_NSError_closureRegistry = )>{}; int _ObjCBlock_ffiVoid_NSError_closureRegistryIndex = 0; @@ -59298,9 +53279,10 @@ ffi.Pointer _ObjCBlock_ffiVoid_NSError_registerClosure( void _ObjCBlock_ffiVoid_NSError_closureTrampoline( ffi.Pointer block, ffi.Pointer arg0, -) => _ObjCBlock_ffiVoid_NSError_closureRegistry[block.ref.target.address]!( - arg0, -); +) => + _ObjCBlock_ffiVoid_NSError_closureRegistry[block.ref.target.address]!( + arg0, + ); class ObjCBlock_ffiVoid_NSError extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSError._( @@ -59335,18 +53317,20 @@ class ObjCBlock_ffiVoid_NSError extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSError.fromFunctionPointer( SwiftLibrary lib, ffi.Pointer< - ffi.NativeFunction arg0)> - > ptr, - ) : this._(objc.newBlock( - _cFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ) - >(_ObjCBlock_ffiVoid_NSError_fnPtrTrampoline).cast(), - ptr.cast(), - ), lib); + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer arg0)>> + ptr, + ) : this._( + objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + )>(_ObjCBlock_ffiVoid_NSError_fnPtrTrampoline) + .cast(), + ptr.cast(), + ), + lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -59357,22 +53341,24 @@ class ObjCBlock_ffiVoid_NSError extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSError.fromFunction( SwiftLibrary lib, void Function(NSError?) fn, - ) : this._(objc.newBlock( - _dartFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ) - >(_ObjCBlock_ffiVoid_NSError_closureTrampoline).cast(), - _ObjCBlock_ffiVoid_NSError_registerClosure(( - ffi.Pointer arg0, - ) => fn( - arg0.address == 0 - ? null - : NSError._(arg0, lib, retain: true, release: true), - )), - ), lib); + ) : this._( + objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + )>(_ObjCBlock_ffiVoid_NSError_closureTrampoline) + .cast(), + _ObjCBlock_ffiVoid_NSError_registerClosure(( + ffi.Pointer arg0, + ) => + fn( + arg0.address == 0 + ? null + : NSError._(arg0, lib, retain: true, release: true), + )), + ), + lib); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -59387,41 +53373,43 @@ class ObjCBlock_ffiVoid_NSError extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSError.listener( SwiftLibrary lib, void Function(NSError?) fn, - ) : this._(objc.newBlock( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ) - >.listener( - _ObjCBlock_ffiVoid_NSError_closureTrampoline, - )..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSError_registerClosure(( - ffi.Pointer arg0, - ) => fn( - arg0.address == 0 - ? null - : NSError._(arg0, lib, retain: true, release: true), - )), - ), lib); + ) : this._( + objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + )>.listener( + _ObjCBlock_ffiVoid_NSError_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSError_registerClosure(( + ffi.Pointer arg0, + ) => + fn( + arg0.address == 0 + ? null + : NSError._(arg0, lib, retain: true, release: true), + )), + ), + lib); static ffi.NativeCallable< - ffi.Void Function(ffi.Pointer, ffi.Pointer) - >? _dartFuncListenerTrampoline; + ffi.Void Function( + ffi.Pointer, ffi.Pointer)>? + _dartFuncListenerTrampoline; void call(NSError? arg0) => pointer.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer block, - ffi.Pointer arg0, - ) - > - >() - .asFunction< - void Function(ffi.Pointer, ffi.Pointer) - >()(pointer, arg0?.pointer ?? ffi.nullptr); + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer block, + ffi.Pointer arg0, + )>>() + .asFunction< + void Function( + ffi.Pointer, ffi.Pointer)>()( + pointer, arg0?.pointer ?? ffi.nullptr); } abstract class NSDirectoryEnumerationOptions { @@ -59480,23 +53468,20 @@ bool _ObjCBlock_bool_NSURL_NSError_fnPtrTrampoline( ffi.Pointer block, ffi.Pointer arg0, ffi.Pointer arg1, -) => block.ref.target - .cast< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - ) - > - >() - .asFunction< - bool Function(ffi.Pointer, ffi.Pointer) - >()(arg0, arg1); -final _ObjCBlock_bool_NSURL_NSError_closureRegistry = - < - int, - bool Function(ffi.Pointer, ffi.Pointer) - >{}; +) => + block.ref.target + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + )>>() + .asFunction< + bool Function(ffi.Pointer, + ffi.Pointer)>()(arg0, arg1); +final _ObjCBlock_bool_NSURL_NSError_closureRegistry = , ffi.Pointer)>{}; int _ObjCBlock_bool_NSURL_NSError_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_bool_NSURL_NSError_registerClosure( bool Function(ffi.Pointer, ffi.Pointer) fn, @@ -59510,10 +53495,11 @@ bool _ObjCBlock_bool_NSURL_NSError_closureTrampoline( ffi.Pointer block, ffi.Pointer arg0, ffi.Pointer arg1, -) => _ObjCBlock_bool_NSURL_NSError_closureRegistry[block.ref.target.address]!( - arg0, - arg1, -); +) => + _ObjCBlock_bool_NSURL_NSError_closureRegistry[block.ref.target.address]!( + arg0, + arg1, + ); class ObjCBlock_bool_NSURL_NSError extends objc.ObjCBlockBase { ObjCBlock_bool_NSURL_NSError._( @@ -59548,24 +53534,24 @@ class ObjCBlock_bool_NSURL_NSError extends objc.ObjCBlockBase { ObjCBlock_bool_NSURL_NSError.fromFunctionPointer( SwiftLibrary lib, ffi.Pointer< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - ) - > - > ptr, - ) : this._(objc.newBlock( - _cFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(_ObjCBlock_bool_NSURL_NSError_fnPtrTrampoline, false).cast(), - ptr.cast(), - ), lib); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + )>> + ptr, + ) : this._( + objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>(_ObjCBlock_bool_NSURL_NSError_fnPtrTrampoline, false) + .cast(), + ptr.cast(), + ), + lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -59576,42 +53562,41 @@ class ObjCBlock_bool_NSURL_NSError extends objc.ObjCBlockBase { ObjCBlock_bool_NSURL_NSError.fromFunction( SwiftLibrary lib, bool Function(NSURL, NSError) fn, - ) : this._(objc.newBlock( - _dartFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(_ObjCBlock_bool_NSURL_NSError_closureTrampoline, false).cast(), - _ObjCBlock_bool_NSURL_NSError_registerClosure(( - ffi.Pointer arg0, - ffi.Pointer arg1, - ) => fn( - NSURL._(arg0, lib, retain: true, release: true), - NSError._(arg1, lib, retain: true, release: true), - )), - ), lib); + ) : this._( + objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>(_ObjCBlock_bool_NSURL_NSError_closureTrampoline, false) + .cast(), + _ObjCBlock_bool_NSURL_NSError_registerClosure(( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) => + fn( + NSURL._(arg0, lib, retain: true, release: true), + NSError._(arg1, lib, retain: true, release: true), + )), + ), + lib); static ffi.Pointer? _dartFuncTrampoline; bool call(NSURL arg0, NSError arg1) => pointer.ref.invoke .cast< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Pointer arg1, - ) - > - >() + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, + )>>() .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >()(pointer, arg0.pointer, arg1.pointer); + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>()(pointer, arg0.pointer, arg1.pointer); } abstract class NSFileManagerItemReplacementOptions { @@ -59623,23 +53608,20 @@ void _ObjCBlock_ffiVoid_NSDictionary_NSError_fnPtrTrampoline( ffi.Pointer block, ffi.Pointer arg0, ffi.Pointer arg1, -) => block.ref.target - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - ) - > - >() - .asFunction< - void Function(ffi.Pointer, ffi.Pointer) - >()(arg0, arg1); -final _ObjCBlock_ffiVoid_NSDictionary_NSError_closureRegistry = - < - int, - void Function(ffi.Pointer, ffi.Pointer) - >{}; +) => + block.ref.target + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + )>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer)>()(arg0, arg1); +final _ObjCBlock_ffiVoid_NSDictionary_NSError_closureRegistry = , ffi.Pointer)>{}; int _ObjCBlock_ffiVoid_NSDictionary_NSError_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_ffiVoid_NSDictionary_NSError_registerClosure( void Function(ffi.Pointer, ffi.Pointer) fn, @@ -59653,10 +53635,9 @@ void _ObjCBlock_ffiVoid_NSDictionary_NSError_closureTrampoline( ffi.Pointer block, ffi.Pointer arg0, ffi.Pointer arg1, -) => _ObjCBlock_ffiVoid_NSDictionary_NSError_closureRegistry[block - .ref - .target - .address]!(arg0, arg1); +) => + _ObjCBlock_ffiVoid_NSDictionary_NSError_closureRegistry[ + block.ref.target.address]!(arg0, arg1); class ObjCBlock_ffiVoid_NSDictionary_NSError extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSDictionary_NSError._( @@ -59691,24 +53672,25 @@ class ObjCBlock_ffiVoid_NSDictionary_NSError extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSDictionary_NSError.fromFunctionPointer( SwiftLibrary lib, ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - ) - > - > ptr, - ) : this._(objc.newBlock( - _cFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(_ObjCBlock_ffiVoid_NSDictionary_NSError_fnPtrTrampoline).cast(), - ptr.cast(), - ), lib); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + )>> + ptr, + ) : this._( + objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>( + _ObjCBlock_ffiVoid_NSDictionary_NSError_fnPtrTrampoline) + .cast(), + ptr.cast(), + ), + lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -59719,27 +53701,31 @@ class ObjCBlock_ffiVoid_NSDictionary_NSError extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSDictionary_NSError.fromFunction( SwiftLibrary lib, void Function(NSDictionary?, NSError?) fn, - ) : this._(objc.newBlock( - _dartFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(_ObjCBlock_ffiVoid_NSDictionary_NSError_closureTrampoline).cast(), - _ObjCBlock_ffiVoid_NSDictionary_NSError_registerClosure(( - ffi.Pointer arg0, - ffi.Pointer arg1, - ) => fn( - arg0.address == 0 - ? null - : NSDictionary._(arg0, lib, retain: true, release: true), - arg1.address == 0 - ? null - : NSError._(arg1, lib, retain: true, release: true), - )), - ), lib); + ) : this._( + objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>( + _ObjCBlock_ffiVoid_NSDictionary_NSError_closureTrampoline) + .cast(), + _ObjCBlock_ffiVoid_NSDictionary_NSError_registerClosure(( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) => + fn( + arg0.address == 0 + ? null + : NSDictionary._(arg0, lib, + retain: true, release: true), + arg1.address == 0 + ? null + : NSError._(arg1, lib, retain: true, release: true), + )), + ), + lib); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -59754,55 +53740,55 @@ class ObjCBlock_ffiVoid_NSDictionary_NSError extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSDictionary_NSError.listener( SwiftLibrary lib, void Function(NSDictionary?, NSError?) fn, - ) : this._(objc.newBlock( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >.listener( - _ObjCBlock_ffiVoid_NSDictionary_NSError_closureTrampoline, - )..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSDictionary_NSError_registerClosure(( - ffi.Pointer arg0, - ffi.Pointer arg1, - ) => fn( - arg0.address == 0 - ? null - : NSDictionary._(arg0, lib, retain: true, release: true), - arg1.address == 0 - ? null - : NSError._(arg1, lib, retain: true, release: true), - )), - ), lib); + ) : this._( + objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>.listener( + _ObjCBlock_ffiVoid_NSDictionary_NSError_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSDictionary_NSError_registerClosure(( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) => + fn( + arg0.address == 0 + ? null + : NSDictionary._(arg0, lib, + retain: true, release: true), + arg1.address == 0 + ? null + : NSError._(arg1, lib, retain: true, release: true), + )), + ), + lib); static ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >? _dartFuncListenerTrampoline; + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>? _dartFuncListenerTrampoline; void call(NSDictionary? arg0, NSError? arg1) => pointer.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Pointer arg1, - ) - > - >() - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >()(pointer, arg0?.pointer ?? ffi.nullptr, arg1?.pointer ?? ffi.nullptr); + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, + )>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>()( + pointer, arg0?.pointer ?? ffi.nullptr, arg1?.pointer ?? ffi.nullptr); } class NSMutableArray extends NSArray { @@ -60024,14 +54010,13 @@ class NSMutableArray extends NSArray { void sortUsingFunction_context_( ffi.Pointer< - ffi.NativeFunction< - ffi.Long Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - > compare, + ffi.NativeFunction< + ffi.Long Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>> + compare, ffi.Pointer context, ) { _lib._objc_msgSend_479( @@ -63762,7 +57747,8 @@ ffi.Pointer _ObjCBlock_ffiVoid_registerClosure(void Function() fn) { void _ObjCBlock_ffiVoid_closureTrampoline( ffi.Pointer block, -) => _ObjCBlock_ffiVoid_closureRegistry[block.ref.target.address]!(); +) => + _ObjCBlock_ffiVoid_closureRegistry[block.ref.target.address]!(); class ObjCBlock_ffiVoid extends objc.ObjCBlockBase { ObjCBlock_ffiVoid._( @@ -63792,13 +57778,15 @@ class ObjCBlock_ffiVoid extends objc.ObjCBlockBase { ObjCBlock_ffiVoid.fromFunctionPointer( SwiftLibrary lib, ffi.Pointer> ptr, - ) : this._(objc.newBlock( - _cFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Void Function(ffi.Pointer) - >(_ObjCBlock_ffiVoid_fnPtrTrampoline).cast(), - ptr.cast(), - ), lib); + ) : this._( + objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function(ffi.Pointer)>( + _ObjCBlock_ffiVoid_fnPtrTrampoline) + .cast(), + ptr.cast(), + ), + lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -63807,13 +57795,15 @@ class ObjCBlock_ffiVoid extends objc.ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid.fromFunction(SwiftLibrary lib, void Function() fn) - : this._(objc.newBlock( - _dartFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Void Function(ffi.Pointer) - >(_ObjCBlock_ffiVoid_closureTrampoline).cast(), - _ObjCBlock_ffiVoid_registerClosure(() => fn()), - ), lib); + : this._( + objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function(ffi.Pointer)>( + _ObjCBlock_ffiVoid_closureTrampoline) + .cast(), + _ObjCBlock_ffiVoid_registerClosure(() => fn()), + ), + lib); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -63826,23 +57816,24 @@ class ObjCBlock_ffiVoid extends objc.ObjCBlockBase { /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. ObjCBlock_ffiVoid.listener(SwiftLibrary lib, void Function() fn) - : this._(objc.newBlock( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function(ffi.Pointer) - >.listener( - _ObjCBlock_ffiVoid_closureTrampoline, - )..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_registerClosure(() => fn()), - ), lib); + : this._( + objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function(ffi.Pointer)>.listener( + _ObjCBlock_ffiVoid_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_registerClosure(() => fn()), + ), + lib); static ffi.NativeCallable)>? - _dartFuncListenerTrampoline; + _dartFuncListenerTrampoline; void call() => pointer.ref.invoke .cast< - ffi.NativeFunction block)> - >() + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer block)>>() .asFunction)>()(pointer); } @@ -65483,7 +59474,7 @@ class NSTimer extends NSObject { } static NSTimer - scheduledTimerWithTimeInterval_target_selector_userInfo_repeats_( + scheduledTimerWithTimeInterval_target_selector_userInfo_repeats_( SwiftLibrary _lib, double ti, NSObject aTarget, @@ -65746,11 +59737,12 @@ class NSTimer extends NSObject { void _ObjCBlock_ffiVoid_NSTimer_fnPtrTrampoline( ffi.Pointer block, ffi.Pointer arg0, -) => block.ref.target - .cast< - ffi.NativeFunction arg0)> - >() - .asFunction)>()(arg0); +) => + block.ref.target + .cast< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer arg0)>>() + .asFunction)>()(arg0); final _ObjCBlock_ffiVoid_NSTimer_closureRegistry = )>{}; int _ObjCBlock_ffiVoid_NSTimer_closureRegistryIndex = 0; @@ -65765,9 +59757,10 @@ ffi.Pointer _ObjCBlock_ffiVoid_NSTimer_registerClosure( void _ObjCBlock_ffiVoid_NSTimer_closureTrampoline( ffi.Pointer block, ffi.Pointer arg0, -) => _ObjCBlock_ffiVoid_NSTimer_closureRegistry[block.ref.target.address]!( - arg0, -); +) => + _ObjCBlock_ffiVoid_NSTimer_closureRegistry[block.ref.target.address]!( + arg0, + ); class ObjCBlock_ffiVoid_NSTimer extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSTimer._( @@ -65802,18 +59795,20 @@ class ObjCBlock_ffiVoid_NSTimer extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSTimer.fromFunctionPointer( SwiftLibrary lib, ffi.Pointer< - ffi.NativeFunction arg0)> - > ptr, - ) : this._(objc.newBlock( - _cFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ) - >(_ObjCBlock_ffiVoid_NSTimer_fnPtrTrampoline).cast(), - ptr.cast(), - ), lib); + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer arg0)>> + ptr, + ) : this._( + objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + )>(_ObjCBlock_ffiVoid_NSTimer_fnPtrTrampoline) + .cast(), + ptr.cast(), + ), + lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -65824,18 +59819,20 @@ class ObjCBlock_ffiVoid_NSTimer extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSTimer.fromFunction( SwiftLibrary lib, void Function(NSTimer) fn, - ) : this._(objc.newBlock( - _dartFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ) - >(_ObjCBlock_ffiVoid_NSTimer_closureTrampoline).cast(), - _ObjCBlock_ffiVoid_NSTimer_registerClosure(( - ffi.Pointer arg0, - ) => fn(NSTimer._(arg0, lib, retain: true, release: true))), - ), lib); + ) : this._( + objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + )>(_ObjCBlock_ffiVoid_NSTimer_closureTrampoline) + .cast(), + _ObjCBlock_ffiVoid_NSTimer_registerClosure(( + ffi.Pointer arg0, + ) => + fn(NSTimer._(arg0, lib, retain: true, release: true))), + ), + lib); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -65850,37 +59847,38 @@ class ObjCBlock_ffiVoid_NSTimer extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSTimer.listener( SwiftLibrary lib, void Function(NSTimer) fn, - ) : this._(objc.newBlock( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ) - >.listener( - _ObjCBlock_ffiVoid_NSTimer_closureTrampoline, - )..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSTimer_registerClosure(( - ffi.Pointer arg0, - ) => fn(NSTimer._(arg0, lib, retain: true, release: true))), - ), lib); + ) : this._( + objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + )>.listener( + _ObjCBlock_ffiVoid_NSTimer_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSTimer_registerClosure(( + ffi.Pointer arg0, + ) => + fn(NSTimer._(arg0, lib, retain: true, release: true))), + ), + lib); static ffi.NativeCallable< - ffi.Void Function(ffi.Pointer, ffi.Pointer) - >? _dartFuncListenerTrampoline; + ffi.Void Function( + ffi.Pointer, ffi.Pointer)>? + _dartFuncListenerTrampoline; void call(NSTimer arg0) => pointer.ref.invoke .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer block, - ffi.Pointer arg0, - ) - > - >() + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer block, + ffi.Pointer arg0, + )>>() .asFunction< - void Function(ffi.Pointer, ffi.Pointer) - >()(pointer, arg0.pointer); + void Function(ffi.Pointer, + ffi.Pointer)>()(pointer, arg0.pointer); } class NSConnection extends NSObject { @@ -65990,7 +59988,7 @@ class NSConnection extends NSObject { } static NSDistantObject? - rootProxyForConnectionWithRegisteredName_host_usingNameServer_( + rootProxyForConnectionWithRegisteredName_host_usingNameServer_( SwiftLibrary _lib, NSString name, NSString? hostName, @@ -67171,7 +61169,7 @@ class NSScriptObjectSpecifier extends NSObject { } NSScriptObjectSpecifier - initWithContainerClassDescription_containerSpecifier_key_( + initWithContainerClassDescription_containerSpecifier_key_( NSScriptClassDescription classDesc, NSScriptObjectSpecifier? container, NSString property, @@ -67680,7 +61678,7 @@ class NSAppleEventDescriptor extends NSObject { } static NSAppleEventDescriptor - appleEventWithEventClass_eventID_targetDescriptor_returnID_transactionID_( + appleEventWithEventClass_eventID_targetDescriptor_returnID_transactionID_( SwiftLibrary _lib, int eventClass, int eventID, @@ -67802,7 +61800,7 @@ class NSAppleEventDescriptor extends NSObject { } NSAppleEventDescriptor - initWithEventClass_eventID_targetDescriptor_returnID_transactionID_( + initWithEventClass_eventID_targetDescriptor_returnID_transactionID_( int eventClass, int eventID, NSAppleEventDescriptor? targetDescriptor, @@ -69347,7 +63345,7 @@ class NSItemProvider extends NSObject { } void - registerFileRepresentationForTypeIdentifier_fileOptions_visibility_loadHandler_( + registerFileRepresentationForTypeIdentifier_fileOptions_visibility_loadHandler_( NSString typeIdentifier, int fileOptions, int visibility, @@ -69534,7 +63532,7 @@ class NSItemProvider extends NSObject { void registerItemForTypeIdentifier_loadHandler_( NSString typeIdentifier, ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary - loadHandler, + loadHandler, ) { _lib._objc_msgSend_684( this.pointer, @@ -69559,24 +63557,25 @@ class NSItemProvider extends NSObject { } ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary? - get previewImageHandler { + get previewImageHandler { final _ret = _lib._objc_msgSend_686( this.pointer, _lib._sel_previewImageHandler1, ); return _ret.address == 0 ? null - : ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary._( - _ret, - _lib, - retain: true, - release: true, - ); + : ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary + ._( + _ret, + _lib, + retain: true, + release: true, + ); } set previewImageHandler( ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary? - value, + value, ) { return _lib._objc_msgSend_687( this.pointer, @@ -69726,23 +63725,23 @@ abstract class NSItemProviderRepresentationVisibility { } ffi.Pointer -_ObjCBlock_NSProgress_ffiVoidNSDataNSError_fnPtrTrampoline( + _ObjCBlock_NSProgress_ffiVoidNSDataNSError_fnPtrTrampoline( ffi.Pointer block, ffi.Pointer arg0, -) => block.ref.target - .cast< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer arg0) - > - >() - .asFunction< - ffi.Pointer Function(ffi.Pointer) - >()(arg0); +) => + block.ref.target + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer arg0)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer)>()(arg0); final _ObjCBlock_NSProgress_ffiVoidNSDataNSError_closureRegistry = Function(ffi.Pointer)>{}; int _ObjCBlock_NSProgress_ffiVoidNSDataNSError_closureRegistryIndex = 0; ffi.Pointer -_ObjCBlock_NSProgress_ffiVoidNSDataNSError_registerClosure( + _ObjCBlock_NSProgress_ffiVoidNSDataNSError_registerClosure( ffi.Pointer Function(ffi.Pointer) fn, ) { final id = ++_ObjCBlock_NSProgress_ffiVoidNSDataNSError_closureRegistryIndex; @@ -69751,13 +63750,12 @@ _ObjCBlock_NSProgress_ffiVoidNSDataNSError_registerClosure( } ffi.Pointer -_ObjCBlock_NSProgress_ffiVoidNSDataNSError_closureTrampoline( + _ObjCBlock_NSProgress_ffiVoidNSDataNSError_closureTrampoline( ffi.Pointer block, ffi.Pointer arg0, -) => _ObjCBlock_NSProgress_ffiVoidNSDataNSError_closureRegistry[block - .ref - .target - .address]!(arg0); +) => + _ObjCBlock_NSProgress_ffiVoidNSDataNSError_closureRegistry[ + block.ref.target.address]!(arg0); class ObjCBlock_NSProgress_ffiVoidNSDataNSError extends objc.ObjCBlockBase { ObjCBlock_NSProgress_ffiVoidNSDataNSError._( @@ -69792,22 +63790,22 @@ class ObjCBlock_NSProgress_ffiVoidNSDataNSError extends objc.ObjCBlockBase { ObjCBlock_NSProgress_ffiVoidNSDataNSError.fromFunctionPointer( SwiftLibrary lib, ffi.Pointer< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer arg0) - > - > ptr, - ) : this._(objc.newBlock( - _cFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >( - _ObjCBlock_NSProgress_ffiVoidNSDataNSError_fnPtrTrampoline, - ).cast(), - ptr.cast(), - ), lib); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer arg0)>> + ptr, + ) : this._( + objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>( + _ObjCBlock_NSProgress_ffiVoidNSDataNSError_fnPtrTrampoline, + ).cast(), + ptr.cast(), + ), + lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -69818,63 +63816,60 @@ class ObjCBlock_NSProgress_ffiVoidNSDataNSError extends objc.ObjCBlockBase { ObjCBlock_NSProgress_ffiVoidNSDataNSError.fromFunction( SwiftLibrary lib, NSProgress? Function(ObjCBlock_ffiVoid_NSData_NSError) fn, - ) : this._(objc.newBlock( - _dartFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >( - _ObjCBlock_NSProgress_ffiVoidNSDataNSError_closureTrampoline, - ).cast(), - _ObjCBlock_NSProgress_ffiVoidNSDataNSError_registerClosure(( - ffi.Pointer arg0, - ) => - fn(ObjCBlock_ffiVoid_NSData_NSError._( - arg0, - lib, - retain: true, - release: true, - ))?.retainAndReturnPointer() ?? - ffi.nullptr), - ), lib); + ) : this._( + objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>( + _ObjCBlock_NSProgress_ffiVoidNSDataNSError_closureTrampoline, + ).cast(), + _ObjCBlock_NSProgress_ffiVoidNSDataNSError_registerClosure(( + ffi.Pointer arg0, + ) => + fn(ObjCBlock_ffiVoid_NSData_NSError._( + arg0, + lib, + retain: true, + release: true, + ))?.retainAndReturnPointer() ?? + ffi.nullptr), + ), + lib); static ffi.Pointer? _dartFuncTrampoline; - NSProgress? call(ObjCBlock_ffiVoid_NSData_NSError arg0) => - pointer.ref.invoke - .cast< - ffi.NativeFunction< + NSProgress? call(ObjCBlock_ffiVoid_NSData_NSError arg0) => pointer.ref.invoke + .cast< + ffi.NativeFunction< ffi.Pointer Function( ffi.Pointer block, ffi.Pointer arg0, - ) - > - >() - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >()(pointer, arg0.pointer) - .address == - 0 - ? null - : NSProgress._(pointer.ref.invoke - .cast< - ffi.NativeFunction< + )>>() + .asFunction< ffi.Pointer Function( - ffi.Pointer block, - ffi.Pointer arg0, - ) - > - >() + ffi.Pointer, + ffi.Pointer, + )>()(pointer, arg0.pointer) + .address == + 0 + ? null + : NSProgress._( + pointer.ref.invoke + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer block, + ffi.Pointer arg0, + )>>() .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >()(pointer, arg0.pointer), _lib, retain: false, release: true); + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>()(pointer, arg0.pointer), + _lib, + retain: false, + release: true); } class NSProgress extends NSObject { @@ -70162,9 +64157,9 @@ class NSProgress extends NSObject { double get fractionCompleted { return objc.useMsgSendVariants ? _lib._objc_msgSend_165_fpret( - this.pointer, - _lib._sel_fractionCompleted1, - ) + this.pointer, + _lib._sel_fractionCompleted1, + ) : _lib._objc_msgSend_165(this.pointer, _lib._sel_fractionCompleted1); } @@ -70467,15 +64462,15 @@ class NSProgress extends NSObject { ffi.Pointer _ObjCBlock_ffiVoid_NSProgress_fnPtrTrampoline( ffi.Pointer block, ffi.Pointer arg0, -) => block.ref.target - .cast< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer arg0) - > - >() - .asFunction< - ffi.Pointer Function(ffi.Pointer) - >()(arg0); +) => + block.ref.target + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer arg0)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer)>()(arg0); final _ObjCBlock_ffiVoid_NSProgress_closureRegistry = Function(ffi.Pointer)>{}; int _ObjCBlock_ffiVoid_NSProgress_closureRegistryIndex = 0; @@ -70490,9 +64485,10 @@ ffi.Pointer _ObjCBlock_ffiVoid_NSProgress_registerClosure( ffi.Pointer _ObjCBlock_ffiVoid_NSProgress_closureTrampoline( ffi.Pointer block, ffi.Pointer arg0, -) => _ObjCBlock_ffiVoid_NSProgress_closureRegistry[block.ref.target.address]!( - arg0, -); +) => + _ObjCBlock_ffiVoid_NSProgress_closureRegistry[block.ref.target.address]!( + arg0, + ); class ObjCBlock_ffiVoid_NSProgress extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSProgress._( @@ -70527,20 +64523,21 @@ class ObjCBlock_ffiVoid_NSProgress extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSProgress.fromFunctionPointer( SwiftLibrary lib, ffi.Pointer< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer arg0) - > - > ptr, - ) : this._(objc.newBlock( - _cFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(_ObjCBlock_ffiVoid_NSProgress_fnPtrTrampoline).cast(), - ptr.cast(), - ), lib); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer arg0)>> + ptr, + ) : this._( + objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>(_ObjCBlock_ffiVoid_NSProgress_fnPtrTrampoline) + .cast(), + ptr.cast(), + ), + lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -70551,84 +64548,79 @@ class ObjCBlock_ffiVoid_NSProgress extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSProgress.fromFunction( SwiftLibrary lib, ObjCBlock_ffiVoid? Function(NSProgress) fn, - ) : this._(objc.newBlock( - _dartFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(_ObjCBlock_ffiVoid_NSProgress_closureTrampoline).cast(), - _ObjCBlock_ffiVoid_NSProgress_registerClosure(( - ffi.Pointer arg0, - ) => - fn(NSProgress._( - arg0, - lib, - retain: true, - release: true, - ))?.retainAndReturnPointer() ?? - ffi.nullptr), - ), lib); + ) : this._( + objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>(_ObjCBlock_ffiVoid_NSProgress_closureTrampoline) + .cast(), + _ObjCBlock_ffiVoid_NSProgress_registerClosure(( + ffi.Pointer arg0, + ) => + fn(NSProgress._( + arg0, + lib, + retain: true, + release: true, + ))?.retainAndReturnPointer() ?? + ffi.nullptr), + ), + lib); static ffi.Pointer? _dartFuncTrampoline; - ObjCBlock_ffiVoid? call(NSProgress arg0) => - pointer.ref.invoke - .cast< - ffi.NativeFunction< + ObjCBlock_ffiVoid? call(NSProgress arg0) => pointer.ref.invoke + .cast< + ffi.NativeFunction< ffi.Pointer Function( ffi.Pointer block, ffi.Pointer arg0, - ) - > - >() - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >()(pointer, arg0.pointer) - .address == - 0 - ? null - : ObjCBlock_ffiVoid._(pointer.ref.invoke - .cast< - ffi.NativeFunction< + )>>() + .asFunction< ffi.Pointer Function( - ffi.Pointer block, - ffi.Pointer arg0, - ) - > - >() + ffi.Pointer, + ffi.Pointer, + )>()(pointer, arg0.pointer) + .address == + 0 + ? null + : ObjCBlock_ffiVoid._( + pointer.ref.invoke + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer block, + ffi.Pointer arg0, + )>>() .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >()(pointer, arg0.pointer), _lib, retain: false, release: true); + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>()(pointer, arg0.pointer), + _lib, + retain: false, + release: true); } void _ObjCBlock_ffiVoid_NSData_NSError_fnPtrTrampoline( ffi.Pointer block, ffi.Pointer arg0, ffi.Pointer arg1, -) => block.ref.target - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - ) - > - >() - .asFunction< - void Function(ffi.Pointer, ffi.Pointer) - >()(arg0, arg1); -final _ObjCBlock_ffiVoid_NSData_NSError_closureRegistry = - < - int, - void Function(ffi.Pointer, ffi.Pointer) - >{}; +) => + block.ref.target + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + )>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer)>()(arg0, arg1); +final _ObjCBlock_ffiVoid_NSData_NSError_closureRegistry = , ffi.Pointer)>{}; int _ObjCBlock_ffiVoid_NSData_NSError_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_ffiVoid_NSData_NSError_registerClosure( void Function(ffi.Pointer, ffi.Pointer) fn, @@ -70642,10 +64634,9 @@ void _ObjCBlock_ffiVoid_NSData_NSError_closureTrampoline( ffi.Pointer block, ffi.Pointer arg0, ffi.Pointer arg1, -) => _ObjCBlock_ffiVoid_NSData_NSError_closureRegistry[block - .ref - .target - .address]!(arg0, arg1); +) => + _ObjCBlock_ffiVoid_NSData_NSError_closureRegistry[ + block.ref.target.address]!(arg0, arg1); class ObjCBlock_ffiVoid_NSData_NSError extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSData_NSError._( @@ -70680,24 +64671,24 @@ class ObjCBlock_ffiVoid_NSData_NSError extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSData_NSError.fromFunctionPointer( SwiftLibrary lib, ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - ) - > - > ptr, - ) : this._(objc.newBlock( - _cFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(_ObjCBlock_ffiVoid_NSData_NSError_fnPtrTrampoline).cast(), - ptr.cast(), - ), lib); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + )>> + ptr, + ) : this._( + objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>(_ObjCBlock_ffiVoid_NSData_NSError_fnPtrTrampoline) + .cast(), + ptr.cast(), + ), + lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -70708,27 +64699,29 @@ class ObjCBlock_ffiVoid_NSData_NSError extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSData_NSError.fromFunction( SwiftLibrary lib, void Function(NSData?, NSError?) fn, - ) : this._(objc.newBlock( - _dartFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(_ObjCBlock_ffiVoid_NSData_NSError_closureTrampoline).cast(), - _ObjCBlock_ffiVoid_NSData_NSError_registerClosure(( - ffi.Pointer arg0, - ffi.Pointer arg1, - ) => fn( - arg0.address == 0 - ? null - : NSData._(arg0, lib, retain: true, release: true), - arg1.address == 0 - ? null - : NSError._(arg1, lib, retain: true, release: true), - )), - ), lib); + ) : this._( + objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>(_ObjCBlock_ffiVoid_NSData_NSError_closureTrampoline) + .cast(), + _ObjCBlock_ffiVoid_NSData_NSError_registerClosure(( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) => + fn( + arg0.address == 0 + ? null + : NSData._(arg0, lib, retain: true, release: true), + arg1.address == 0 + ? null + : NSError._(arg1, lib, retain: true, release: true), + )), + ), + lib); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -70743,55 +64736,54 @@ class ObjCBlock_ffiVoid_NSData_NSError extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSData_NSError.listener( SwiftLibrary lib, void Function(NSData?, NSError?) fn, - ) : this._(objc.newBlock( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >.listener( - _ObjCBlock_ffiVoid_NSData_NSError_closureTrampoline, - )..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSData_NSError_registerClosure(( - ffi.Pointer arg0, - ffi.Pointer arg1, - ) => fn( - arg0.address == 0 - ? null - : NSData._(arg0, lib, retain: true, release: true), - arg1.address == 0 - ? null - : NSError._(arg1, lib, retain: true, release: true), - )), - ), lib); + ) : this._( + objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>.listener( + _ObjCBlock_ffiVoid_NSData_NSError_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSData_NSError_registerClosure(( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) => + fn( + arg0.address == 0 + ? null + : NSData._(arg0, lib, retain: true, release: true), + arg1.address == 0 + ? null + : NSError._(arg1, lib, retain: true, release: true), + )), + ), + lib); static ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >? _dartFuncListenerTrampoline; + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>? _dartFuncListenerTrampoline; void call(NSData? arg0, NSError? arg1) => pointer.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Pointer arg1, - ) - > - >() - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >()(pointer, arg0?.pointer ?? ffi.nullptr, arg1?.pointer ?? ffi.nullptr); + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, + )>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>()( + pointer, arg0?.pointer ?? ffi.nullptr, arg1?.pointer ?? ffi.nullptr); } abstract class NSItemProviderFileOptions { @@ -70799,23 +64791,23 @@ abstract class NSItemProviderFileOptions { } ffi.Pointer -_ObjCBlock_NSProgress_ffiVoidNSURLboolNSError_fnPtrTrampoline( + _ObjCBlock_NSProgress_ffiVoidNSURLboolNSError_fnPtrTrampoline( ffi.Pointer block, ffi.Pointer arg0, -) => block.ref.target - .cast< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer arg0) - > - >() - .asFunction< - ffi.Pointer Function(ffi.Pointer) - >()(arg0); +) => + block.ref.target + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer arg0)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer)>()(arg0); final _ObjCBlock_NSProgress_ffiVoidNSURLboolNSError_closureRegistry = Function(ffi.Pointer)>{}; int _ObjCBlock_NSProgress_ffiVoidNSURLboolNSError_closureRegistryIndex = 0; ffi.Pointer -_ObjCBlock_NSProgress_ffiVoidNSURLboolNSError_registerClosure( + _ObjCBlock_NSProgress_ffiVoidNSURLboolNSError_registerClosure( ffi.Pointer Function(ffi.Pointer) fn, ) { final id = @@ -70825,13 +64817,12 @@ _ObjCBlock_NSProgress_ffiVoidNSURLboolNSError_registerClosure( } ffi.Pointer -_ObjCBlock_NSProgress_ffiVoidNSURLboolNSError_closureTrampoline( + _ObjCBlock_NSProgress_ffiVoidNSURLboolNSError_closureTrampoline( ffi.Pointer block, ffi.Pointer arg0, -) => _ObjCBlock_NSProgress_ffiVoidNSURLboolNSError_closureRegistry[block - .ref - .target - .address]!(arg0); +) => + _ObjCBlock_NSProgress_ffiVoidNSURLboolNSError_closureRegistry[ + block.ref.target.address]!(arg0); class ObjCBlock_NSProgress_ffiVoidNSURLboolNSError extends objc.ObjCBlockBase { ObjCBlock_NSProgress_ffiVoidNSURLboolNSError._( @@ -70866,22 +64857,22 @@ class ObjCBlock_NSProgress_ffiVoidNSURLboolNSError extends objc.ObjCBlockBase { ObjCBlock_NSProgress_ffiVoidNSURLboolNSError.fromFunctionPointer( SwiftLibrary lib, ffi.Pointer< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer arg0) - > - > ptr, - ) : this._(objc.newBlock( - _cFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >( - _ObjCBlock_NSProgress_ffiVoidNSURLboolNSError_fnPtrTrampoline, - ).cast(), - ptr.cast(), - ), lib); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer arg0)>> + ptr, + ) : this._( + objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>( + _ObjCBlock_NSProgress_ffiVoidNSURLboolNSError_fnPtrTrampoline, + ).cast(), + ptr.cast(), + ), + lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -70892,63 +64883,61 @@ class ObjCBlock_NSProgress_ffiVoidNSURLboolNSError extends objc.ObjCBlockBase { ObjCBlock_NSProgress_ffiVoidNSURLboolNSError.fromFunction( SwiftLibrary lib, NSProgress? Function(ObjCBlock_ffiVoid_NSURL_bool_NSError) fn, - ) : this._(objc.newBlock( - _dartFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >( - _ObjCBlock_NSProgress_ffiVoidNSURLboolNSError_closureTrampoline, - ).cast(), - _ObjCBlock_NSProgress_ffiVoidNSURLboolNSError_registerClosure(( - ffi.Pointer arg0, - ) => - fn(ObjCBlock_ffiVoid_NSURL_bool_NSError._( - arg0, - lib, - retain: true, - release: true, - ))?.retainAndReturnPointer() ?? - ffi.nullptr), - ), lib); + ) : this._( + objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>( + _ObjCBlock_NSProgress_ffiVoidNSURLboolNSError_closureTrampoline, + ).cast(), + _ObjCBlock_NSProgress_ffiVoidNSURLboolNSError_registerClosure(( + ffi.Pointer arg0, + ) => + fn(ObjCBlock_ffiVoid_NSURL_bool_NSError._( + arg0, + lib, + retain: true, + release: true, + ))?.retainAndReturnPointer() ?? + ffi.nullptr), + ), + lib); static ffi.Pointer? _dartFuncTrampoline; NSProgress? call(ObjCBlock_ffiVoid_NSURL_bool_NSError arg0) => pointer.ref.invoke .cast< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer block, - ffi.Pointer arg0, - ) - > - >() + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer block, + ffi.Pointer arg0, + )>>() .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >()(pointer, arg0.pointer) + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>()(pointer, arg0.pointer) .address == 0 ? null - : NSProgress._(pointer.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer block, - ffi.Pointer arg0, - ) - > - >() - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >()(pointer, arg0.pointer), _lib, retain: false, release: true); + : NSProgress._( + pointer.ref.invoke + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer block, + ffi.Pointer arg0, + )>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>()(pointer, arg0.pointer), + _lib, + retain: false, + release: true); } void _ObjCBlock_ffiVoid_NSURL_bool_NSError_fnPtrTrampoline( @@ -70956,32 +64945,27 @@ void _ObjCBlock_ffiVoid_NSURL_bool_NSError_fnPtrTrampoline( ffi.Pointer arg0, bool arg1, ffi.Pointer arg2, -) => block.ref.target - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.Bool arg1, - ffi.Pointer arg2, - ) - > - >() - .asFunction< - void Function( - ffi.Pointer, - bool, - ffi.Pointer, - ) - >()(arg0, arg1, arg2); -final _ObjCBlock_ffiVoid_NSURL_bool_NSError_closureRegistry = - < - int, - void Function( - ffi.Pointer, - bool, - ffi.Pointer, - ) - >{}; +) => + block.ref.target + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Bool arg1, + ffi.Pointer arg2, + )>>() + .asFunction< + void Function( + ffi.Pointer, + bool, + ffi.Pointer, + )>()(arg0, arg1, arg2); +final _ObjCBlock_ffiVoid_NSURL_bool_NSError_closureRegistry = , + bool, + ffi.Pointer, +)>{}; int _ObjCBlock_ffiVoid_NSURL_bool_NSError_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_ffiVoid_NSURL_bool_NSError_registerClosure( void Function( @@ -71000,10 +64984,9 @@ void _ObjCBlock_ffiVoid_NSURL_bool_NSError_closureTrampoline( ffi.Pointer arg0, bool arg1, ffi.Pointer arg2, -) => _ObjCBlock_ffiVoid_NSURL_bool_NSError_closureRegistry[block - .ref - .target - .address]!(arg0, arg1, arg2); +) => + _ObjCBlock_ffiVoid_NSURL_bool_NSError_closureRegistry[ + block.ref.target.address]!(arg0, arg1, arg2); class ObjCBlock_ffiVoid_NSURL_bool_NSError extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSURL_bool_NSError._( @@ -71038,26 +65021,26 @@ class ObjCBlock_ffiVoid_NSURL_bool_NSError extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSURL_bool_NSError.fromFunctionPointer( SwiftLibrary lib, ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.Bool arg1, - ffi.Pointer arg2, - ) - > - > ptr, - ) : this._(objc.newBlock( - _cFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - ffi.Pointer, - ) - >(_ObjCBlock_ffiVoid_NSURL_bool_NSError_fnPtrTrampoline).cast(), - ptr.cast(), - ), lib); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Bool arg1, + ffi.Pointer arg2, + )>> + ptr, + ) : this._( + objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.Pointer, + )>(_ObjCBlock_ffiVoid_NSURL_bool_NSError_fnPtrTrampoline) + .cast(), + ptr.cast(), + ), + lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -71068,30 +65051,33 @@ class ObjCBlock_ffiVoid_NSURL_bool_NSError extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSURL_bool_NSError.fromFunction( SwiftLibrary lib, void Function(NSURL?, bool, NSError?) fn, - ) : this._(objc.newBlock( - _dartFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - ffi.Pointer, - ) - >(_ObjCBlock_ffiVoid_NSURL_bool_NSError_closureTrampoline).cast(), - _ObjCBlock_ffiVoid_NSURL_bool_NSError_registerClosure(( - ffi.Pointer arg0, - bool arg1, - ffi.Pointer arg2, - ) => fn( - arg0.address == 0 - ? null - : NSURL._(arg0, lib, retain: true, release: true), - arg1, - arg2.address == 0 - ? null - : NSError._(arg2, lib, retain: true, release: true), - )), - ), lib); + ) : this._( + objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.Pointer, + )>( + _ObjCBlock_ffiVoid_NSURL_bool_NSError_closureTrampoline) + .cast(), + _ObjCBlock_ffiVoid_NSURL_bool_NSError_registerClosure(( + ffi.Pointer arg0, + bool arg1, + ffi.Pointer arg2, + ) => + fn( + arg0.address == 0 + ? null + : NSURL._(arg0, lib, retain: true, release: true), + arg1, + arg2.address == 0 + ? null + : NSError._(arg2, lib, retain: true, release: true), + )), + ), + lib); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -71106,89 +65092,84 @@ class ObjCBlock_ffiVoid_NSURL_bool_NSError extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSURL_bool_NSError.listener( SwiftLibrary lib, void Function(NSURL?, bool, NSError?) fn, - ) : this._(objc.newBlock( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - ffi.Pointer, - ) - >.listener( - _ObjCBlock_ffiVoid_NSURL_bool_NSError_closureTrampoline, - )..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSURL_bool_NSError_registerClosure(( - ffi.Pointer arg0, - bool arg1, - ffi.Pointer arg2, - ) => fn( - arg0.address == 0 - ? null - : NSURL._(arg0, lib, retain: true, release: true), - arg1, - arg2.address == 0 - ? null - : NSError._(arg2, lib, retain: true, release: true), - )), - ), lib); + ) : this._( + objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.Pointer, + )>.listener( + _ObjCBlock_ffiVoid_NSURL_bool_NSError_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSURL_bool_NSError_registerClosure(( + ffi.Pointer arg0, + bool arg1, + ffi.Pointer arg2, + ) => + fn( + arg0.address == 0 + ? null + : NSURL._(arg0, lib, retain: true, release: true), + arg1, + arg2.address == 0 + ? null + : NSError._(arg2, lib, retain: true, release: true), + )), + ), + lib); static ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - ffi.Pointer, - ) - >? _dartFuncListenerTrampoline; + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.Pointer, + )>? _dartFuncListenerTrampoline; void call(NSURL? arg0, bool arg1, NSError? arg2) => pointer.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Bool arg1, - ffi.Pointer arg2, - ) - > - >() - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - bool, - ffi.Pointer, - ) - >()( - pointer, - arg0?.pointer ?? ffi.nullptr, - arg1, - arg2?.pointer ?? ffi.nullptr, - ); + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Bool arg1, + ffi.Pointer arg2, + )>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + bool, + ffi.Pointer, + )>()( + pointer, + arg0?.pointer ?? ffi.nullptr, + arg1, + arg2?.pointer ?? ffi.nullptr, + ); } void _ObjCBlock_ffiVoid_NSURL_NSError_fnPtrTrampoline( ffi.Pointer block, ffi.Pointer arg0, ffi.Pointer arg1, -) => block.ref.target - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - ) - > - >() - .asFunction< - void Function(ffi.Pointer, ffi.Pointer) - >()(arg0, arg1); -final _ObjCBlock_ffiVoid_NSURL_NSError_closureRegistry = - < - int, - void Function(ffi.Pointer, ffi.Pointer) - >{}; +) => + block.ref.target + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + )>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer)>()(arg0, arg1); +final _ObjCBlock_ffiVoid_NSURL_NSError_closureRegistry = , ffi.Pointer)>{}; int _ObjCBlock_ffiVoid_NSURL_NSError_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_ffiVoid_NSURL_NSError_registerClosure( void Function(ffi.Pointer, ffi.Pointer) fn, @@ -71202,10 +65183,9 @@ void _ObjCBlock_ffiVoid_NSURL_NSError_closureTrampoline( ffi.Pointer block, ffi.Pointer arg0, ffi.Pointer arg1, -) => _ObjCBlock_ffiVoid_NSURL_NSError_closureRegistry[block - .ref - .target - .address]!(arg0, arg1); +) => + _ObjCBlock_ffiVoid_NSURL_NSError_closureRegistry[block.ref.target.address]!( + arg0, arg1); class ObjCBlock_ffiVoid_NSURL_NSError extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSURL_NSError._( @@ -71240,24 +65220,24 @@ class ObjCBlock_ffiVoid_NSURL_NSError extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSURL_NSError.fromFunctionPointer( SwiftLibrary lib, ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - ) - > - > ptr, - ) : this._(objc.newBlock( - _cFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(_ObjCBlock_ffiVoid_NSURL_NSError_fnPtrTrampoline).cast(), - ptr.cast(), - ), lib); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + )>> + ptr, + ) : this._( + objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>(_ObjCBlock_ffiVoid_NSURL_NSError_fnPtrTrampoline) + .cast(), + ptr.cast(), + ), + lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -71268,27 +65248,29 @@ class ObjCBlock_ffiVoid_NSURL_NSError extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSURL_NSError.fromFunction( SwiftLibrary lib, void Function(NSURL?, NSError?) fn, - ) : this._(objc.newBlock( - _dartFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(_ObjCBlock_ffiVoid_NSURL_NSError_closureTrampoline).cast(), - _ObjCBlock_ffiVoid_NSURL_NSError_registerClosure(( - ffi.Pointer arg0, - ffi.Pointer arg1, - ) => fn( - arg0.address == 0 - ? null - : NSURL._(arg0, lib, retain: true, release: true), - arg1.address == 0 - ? null - : NSError._(arg1, lib, retain: true, release: true), - )), - ), lib); + ) : this._( + objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>(_ObjCBlock_ffiVoid_NSURL_NSError_closureTrampoline) + .cast(), + _ObjCBlock_ffiVoid_NSURL_NSError_registerClosure(( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) => + fn( + arg0.address == 0 + ? null + : NSURL._(arg0, lib, retain: true, release: true), + arg1.address == 0 + ? null + : NSError._(arg1, lib, retain: true, release: true), + )), + ), + lib); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -71303,75 +65285,74 @@ class ObjCBlock_ffiVoid_NSURL_NSError extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSURL_NSError.listener( SwiftLibrary lib, void Function(NSURL?, NSError?) fn, - ) : this._(objc.newBlock( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >.listener( - _ObjCBlock_ffiVoid_NSURL_NSError_closureTrampoline, - )..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSURL_NSError_registerClosure(( - ffi.Pointer arg0, - ffi.Pointer arg1, - ) => fn( - arg0.address == 0 - ? null - : NSURL._(arg0, lib, retain: true, release: true), - arg1.address == 0 - ? null - : NSError._(arg1, lib, retain: true, release: true), - )), - ), lib); + ) : this._( + objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>.listener( + _ObjCBlock_ffiVoid_NSURL_NSError_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSURL_NSError_registerClosure(( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) => + fn( + arg0.address == 0 + ? null + : NSURL._(arg0, lib, retain: true, release: true), + arg1.address == 0 + ? null + : NSError._(arg1, lib, retain: true, release: true), + )), + ), + lib); static ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >? _dartFuncListenerTrampoline; + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>? _dartFuncListenerTrampoline; void call(NSURL? arg0, NSError? arg1) => pointer.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Pointer arg1, - ) - > - >() - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >()(pointer, arg0?.pointer ?? ffi.nullptr, arg1?.pointer ?? ffi.nullptr); + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, + )>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>()( + pointer, arg0?.pointer ?? ffi.nullptr, arg1?.pointer ?? ffi.nullptr); } ffi.Pointer -_ObjCBlock_NSProgress_ffiVoidobjcObjCObjectNSError_fnPtrTrampoline( + _ObjCBlock_NSProgress_ffiVoidobjcObjCObjectNSError_fnPtrTrampoline( ffi.Pointer block, ffi.Pointer arg0, -) => block.ref.target - .cast< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer arg0) - > - >() - .asFunction< - ffi.Pointer Function(ffi.Pointer) - >()(arg0); +) => + block.ref.target + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer arg0)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer)>()(arg0); final _ObjCBlock_NSProgress_ffiVoidobjcObjCObjectNSError_closureRegistry = Function(ffi.Pointer)>{}; int _ObjCBlock_NSProgress_ffiVoidobjcObjCObjectNSError_closureRegistryIndex = 0; ffi.Pointer -_ObjCBlock_NSProgress_ffiVoidobjcObjCObjectNSError_registerClosure( + _ObjCBlock_NSProgress_ffiVoidobjcObjCObjectNSError_registerClosure( ffi.Pointer Function(ffi.Pointer) fn, ) { final id = @@ -71381,13 +65362,12 @@ _ObjCBlock_NSProgress_ffiVoidobjcObjCObjectNSError_registerClosure( } ffi.Pointer -_ObjCBlock_NSProgress_ffiVoidobjcObjCObjectNSError_closureTrampoline( + _ObjCBlock_NSProgress_ffiVoidobjcObjCObjectNSError_closureTrampoline( ffi.Pointer block, ffi.Pointer arg0, -) => _ObjCBlock_NSProgress_ffiVoidobjcObjCObjectNSError_closureRegistry[block - .ref - .target - .address]!(arg0); +) => + _ObjCBlock_NSProgress_ffiVoidobjcObjCObjectNSError_closureRegistry[ + block.ref.target.address]!(arg0); class ObjCBlock_NSProgress_ffiVoidobjcObjCObjectNSError extends objc.ObjCBlockBase { @@ -71423,22 +65403,22 @@ class ObjCBlock_NSProgress_ffiVoidobjcObjCObjectNSError ObjCBlock_NSProgress_ffiVoidobjcObjCObjectNSError.fromFunctionPointer( SwiftLibrary lib, ffi.Pointer< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer arg0) - > - > ptr, - ) : this._(objc.newBlock( - _cFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >( - _ObjCBlock_NSProgress_ffiVoidobjcObjCObjectNSError_fnPtrTrampoline, - ).cast(), - ptr.cast(), - ), lib); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer arg0)>> + ptr, + ) : this._( + objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>( + _ObjCBlock_NSProgress_ffiVoidobjcObjCObjectNSError_fnPtrTrampoline, + ).cast(), + ptr.cast(), + ), + lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -71449,86 +65429,82 @@ class ObjCBlock_NSProgress_ffiVoidobjcObjCObjectNSError ObjCBlock_NSProgress_ffiVoidobjcObjCObjectNSError.fromFunction( SwiftLibrary lib, NSProgress? Function(ObjCBlock_ffiVoid_objcObjCObject_NSError) fn, - ) : this._(objc.newBlock( - _dartFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >( - _ObjCBlock_NSProgress_ffiVoidobjcObjCObjectNSError_closureTrampoline, - ).cast(), - _ObjCBlock_NSProgress_ffiVoidobjcObjCObjectNSError_registerClosure(( - ffi.Pointer arg0, - ) => - fn(ObjCBlock_ffiVoid_objcObjCObject_NSError._( - arg0, - lib, - retain: true, - release: true, - ))?.retainAndReturnPointer() ?? - ffi.nullptr), - ), lib); + ) : this._( + objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>( + _ObjCBlock_NSProgress_ffiVoidobjcObjCObjectNSError_closureTrampoline, + ).cast(), + _ObjCBlock_NSProgress_ffiVoidobjcObjCObjectNSError_registerClosure( + ( + ffi.Pointer arg0, + ) => + fn(ObjCBlock_ffiVoid_objcObjCObject_NSError._( + arg0, + lib, + retain: true, + release: true, + ))?.retainAndReturnPointer() ?? + ffi.nullptr), + ), + lib); static ffi.Pointer? _dartFuncTrampoline; NSProgress? call(ObjCBlock_ffiVoid_objcObjCObject_NSError arg0) => pointer.ref.invoke .cast< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer block, - ffi.Pointer arg0, - ) - > - >() + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer block, + ffi.Pointer arg0, + )>>() .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >()(pointer, arg0.pointer) + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>()(pointer, arg0.pointer) .address == 0 ? null - : NSProgress._(pointer.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer block, - ffi.Pointer arg0, - ) - > - >() - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >()(pointer, arg0.pointer), _lib, retain: false, release: true); + : NSProgress._( + pointer.ref.invoke + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer block, + ffi.Pointer arg0, + )>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + )>()(pointer, arg0.pointer), + _lib, + retain: false, + release: true); } void _ObjCBlock_ffiVoid_objcObjCObject_NSError_fnPtrTrampoline( ffi.Pointer block, ffi.Pointer arg0, ffi.Pointer arg1, -) => block.ref.target - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - ) - > - >() - .asFunction< - void Function(ffi.Pointer, ffi.Pointer) - >()(arg0, arg1); -final _ObjCBlock_ffiVoid_objcObjCObject_NSError_closureRegistry = - < - int, - void Function(ffi.Pointer, ffi.Pointer) - >{}; +) => + block.ref.target + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + )>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer)>()(arg0, arg1); +final _ObjCBlock_ffiVoid_objcObjCObject_NSError_closureRegistry = , ffi.Pointer)>{}; int _ObjCBlock_ffiVoid_objcObjCObject_NSError_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_ffiVoid_objcObjCObject_NSError_registerClosure( void Function(ffi.Pointer, ffi.Pointer) fn, @@ -71542,10 +65518,9 @@ void _ObjCBlock_ffiVoid_objcObjCObject_NSError_closureTrampoline( ffi.Pointer block, ffi.Pointer arg0, ffi.Pointer arg1, -) => _ObjCBlock_ffiVoid_objcObjCObject_NSError_closureRegistry[block - .ref - .target - .address]!(arg0, arg1); +) => + _ObjCBlock_ffiVoid_objcObjCObject_NSError_closureRegistry[ + block.ref.target.address]!(arg0, arg1); class ObjCBlock_ffiVoid_objcObjCObject_NSError extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_objcObjCObject_NSError._( @@ -71580,24 +65555,25 @@ class ObjCBlock_ffiVoid_objcObjCObject_NSError extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_objcObjCObject_NSError.fromFunctionPointer( SwiftLibrary lib, ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - ) - > - > ptr, - ) : this._(objc.newBlock( - _cFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(_ObjCBlock_ffiVoid_objcObjCObject_NSError_fnPtrTrampoline).cast(), - ptr.cast(), - ), lib); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + )>> + ptr, + ) : this._( + objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>( + _ObjCBlock_ffiVoid_objcObjCObject_NSError_fnPtrTrampoline) + .cast(), + ptr.cast(), + ), + lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -71608,29 +65584,30 @@ class ObjCBlock_ffiVoid_objcObjCObject_NSError extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_objcObjCObject_NSError.fromFunction( SwiftLibrary lib, void Function(NSObject?, NSError?) fn, - ) : this._(objc.newBlock( - _dartFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >( - _ObjCBlock_ffiVoid_objcObjCObject_NSError_closureTrampoline, - ).cast(), - _ObjCBlock_ffiVoid_objcObjCObject_NSError_registerClosure(( - ffi.Pointer arg0, - ffi.Pointer arg1, - ) => fn( - arg0.address == 0 - ? null - : NSObject._(arg0, lib, retain: true, release: true), - arg1.address == 0 - ? null - : NSError._(arg1, lib, retain: true, release: true), - )), - ), lib); + ) : this._( + objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>( + _ObjCBlock_ffiVoid_objcObjCObject_NSError_closureTrampoline, + ).cast(), + _ObjCBlock_ffiVoid_objcObjCObject_NSError_registerClosure(( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) => + fn( + arg0.address == 0 + ? null + : NSObject._(arg0, lib, retain: true, release: true), + arg1.address == 0 + ? null + : NSError._(arg1, lib, retain: true, release: true), + )), + ), + lib); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -71645,94 +65622,88 @@ class ObjCBlock_ffiVoid_objcObjCObject_NSError extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_objcObjCObject_NSError.listener( SwiftLibrary lib, void Function(NSObject?, NSError?) fn, - ) : this._(objc.newBlock( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >.listener( - _ObjCBlock_ffiVoid_objcObjCObject_NSError_closureTrampoline, - )..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_objcObjCObject_NSError_registerClosure(( - ffi.Pointer arg0, - ffi.Pointer arg1, - ) => fn( - arg0.address == 0 - ? null - : NSObject._(arg0, lib, retain: true, release: true), - arg1.address == 0 - ? null - : NSError._(arg1, lib, retain: true, release: true), - )), - ), lib); + ) : this._( + objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>.listener( + _ObjCBlock_ffiVoid_objcObjCObject_NSError_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_objcObjCObject_NSError_registerClosure(( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) => + fn( + arg0.address == 0 + ? null + : NSObject._(arg0, lib, retain: true, release: true), + arg1.address == 0 + ? null + : NSError._(arg1, lib, retain: true, release: true), + )), + ), + lib); static ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >? _dartFuncListenerTrampoline; + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>? _dartFuncListenerTrampoline; void call(NSObject? arg0, NSError? arg1) => pointer.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Pointer arg1, - ) - > - >() - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >()(pointer, arg0?.pointer ?? ffi.nullptr, arg1?.pointer ?? ffi.nullptr); + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, + )>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>()( + pointer, arg0?.pointer ?? ffi.nullptr, arg1?.pointer ?? ffi.nullptr); } void -_ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary_fnPtrTrampoline( + _ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary_fnPtrTrampoline( ffi.Pointer block, ffi.Pointer arg0, ffi.Pointer arg1, ffi.Pointer arg2, -) => block.ref.target - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2, - ) - > - >() - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >()(arg0, arg1, arg2); +) => + block.ref.target + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, + )>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>()(arg0, arg1, arg2); final _ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary_closureRegistry = - < - int, - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >{}; -int -_ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary_closureRegistryIndex = + , + ffi.Pointer, + ffi.Pointer, +)>{}; +int _ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary_closureRegistryIndex = 0; ffi.Pointer -_ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary_registerClosure( + _ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary_registerClosure( void Function( ffi.Pointer, ffi.Pointer, @@ -71741,22 +65712,20 @@ _ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary_regi ) { final id = ++_ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary_closureRegistryIndex; - _ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary_closureRegistry[id] = - fn; + _ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary_closureRegistry[ + id] = fn; return ffi.Pointer.fromAddress(id); } void -_ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary_closureTrampoline( + _ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary_closureTrampoline( ffi.Pointer block, ffi.Pointer arg0, ffi.Pointer arg1, ffi.Pointer arg2, ) => - _ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary_closureRegistry[block - .ref - .target - .address]!(arg0, arg1, arg2); + _ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary_closureRegistry[ + block.ref.target.address]!(arg0, arg1, arg2); class ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary extends objc.ObjCBlockBase { @@ -71771,13 +65740,14 @@ class ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary /// Returns a block that wraps the given raw block pointer. static ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary - castFromPointer( + castFromPointer( SwiftLibrary lib, ffi.Pointer pointer, { bool retain = false, bool release = false, }) { - return ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary._( + return ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary + ._( pointer, lib, retain: retain, @@ -71793,28 +65763,27 @@ class ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary.fromFunctionPointer( SwiftLibrary lib, ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2, - ) - > - > ptr, - ) : this._(objc.newBlock( - _cFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >( - _ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary_fnPtrTrampoline, - ).cast(), - ptr.cast(), - ), lib); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, + )>> + ptr, + ) : this._( + objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>( + _ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary_fnPtrTrampoline, + ).cast(), + ptr.cast(), + ), + lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -71829,35 +65798,36 @@ class ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary NSObject, NSDictionary, ) fn, - ) : this._(objc.newBlock( - _dartFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >( - _ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary_closureTrampoline, - ).cast(), - _ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary_registerClosure( - ( - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2, - ) => fn( - ObjCBlock_ffiVoid_objcObjCObject_NSError1._( - arg0, - lib, - retain: true, - release: true, + ) : this._( + objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>( + _ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary_closureTrampoline, + ).cast(), + _ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary_registerClosure( + ( + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, + ) => + fn( + ObjCBlock_ffiVoid_objcObjCObject_NSError1._( + arg0, + lib, + retain: true, + release: true, + ), + NSObject._(arg1, lib, retain: true, release: true), + NSDictionary._(arg2, lib, retain: true, release: true), + ), + ), ), - NSObject._(arg1, lib, retain: true, release: true), - NSDictionary._(arg2, lib, retain: true, release: true), - ), - ), - ), lib); + lib); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -71876,94 +65846,90 @@ class ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary NSObject, NSDictionary, ) fn, - ) : this._(objc.newBlock( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >.listener( - _ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary_closureTrampoline, - )..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary_registerClosure( - ( - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2, - ) => fn( - ObjCBlock_ffiVoid_objcObjCObject_NSError1._( - arg0, - lib, - retain: true, - release: true, + ) : this._( + objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>.listener( + _ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary_registerClosure( + ( + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, + ) => + fn( + ObjCBlock_ffiVoid_objcObjCObject_NSError1._( + arg0, + lib, + retain: true, + release: true, + ), + NSObject._(arg1, lib, retain: true, release: true), + NSDictionary._(arg2, lib, retain: true, release: true), + ), + ), ), - NSObject._(arg1, lib, retain: true, release: true), - NSDictionary._(arg2, lib, retain: true, release: true), - ), - ), - ), lib); + lib); static ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >? _dartFuncListenerTrampoline; + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>? _dartFuncListenerTrampoline; void call( ObjCBlock_ffiVoid_objcObjCObject_NSError1 arg0, NSObject arg1, NSDictionary arg2, - ) => pointer.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2, - ) - > - >() - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >()(pointer, arg0.pointer, arg1.pointer, arg2.pointer); + ) => + pointer.ref.invoke + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, + )>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>()(pointer, arg0.pointer, arg1.pointer, arg2.pointer); } void _ObjCBlock_ffiVoid_objcObjCObject_NSError1_fnPtrTrampoline( ffi.Pointer block, ffi.Pointer arg0, ffi.Pointer arg1, -) => block.ref.target - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - ) - > - >() - .asFunction< - void Function(ffi.Pointer, ffi.Pointer) - >()(arg0, arg1); -final _ObjCBlock_ffiVoid_objcObjCObject_NSError1_closureRegistry = - < - int, - void Function(ffi.Pointer, ffi.Pointer) - >{}; +) => + block.ref.target + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + )>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer)>()(arg0, arg1); +final _ObjCBlock_ffiVoid_objcObjCObject_NSError1_closureRegistry = , ffi.Pointer)>{}; int _ObjCBlock_ffiVoid_objcObjCObject_NSError1_closureRegistryIndex = 0; ffi.Pointer -_ObjCBlock_ffiVoid_objcObjCObject_NSError1_registerClosure( + _ObjCBlock_ffiVoid_objcObjCObject_NSError1_registerClosure( void Function(ffi.Pointer, ffi.Pointer) fn, ) { final id = ++_ObjCBlock_ffiVoid_objcObjCObject_NSError1_closureRegistryIndex; @@ -71975,10 +65941,9 @@ void _ObjCBlock_ffiVoid_objcObjCObject_NSError1_closureTrampoline( ffi.Pointer block, ffi.Pointer arg0, ffi.Pointer arg1, -) => _ObjCBlock_ffiVoid_objcObjCObject_NSError1_closureRegistry[block - .ref - .target - .address]!(arg0, arg1); +) => + _ObjCBlock_ffiVoid_objcObjCObject_NSError1_closureRegistry[ + block.ref.target.address]!(arg0, arg1); class ObjCBlock_ffiVoid_objcObjCObject_NSError1 extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_objcObjCObject_NSError1._( @@ -72013,26 +65978,25 @@ class ObjCBlock_ffiVoid_objcObjCObject_NSError1 extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_objcObjCObject_NSError1.fromFunctionPointer( SwiftLibrary lib, ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - ) - > - > ptr, - ) : this._(objc.newBlock( - _cFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >( - _ObjCBlock_ffiVoid_objcObjCObject_NSError1_fnPtrTrampoline, - ).cast(), - ptr.cast(), - ), lib); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + )>> + ptr, + ) : this._( + objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>( + _ObjCBlock_ffiVoid_objcObjCObject_NSError1_fnPtrTrampoline, + ).cast(), + ptr.cast(), + ), + lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -72043,27 +66007,28 @@ class ObjCBlock_ffiVoid_objcObjCObject_NSError1 extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_objcObjCObject_NSError1.fromFunction( SwiftLibrary lib, void Function(NSObject?, NSError) fn, - ) : this._(objc.newBlock( - _dartFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >( - _ObjCBlock_ffiVoid_objcObjCObject_NSError1_closureTrampoline, - ).cast(), - _ObjCBlock_ffiVoid_objcObjCObject_NSError1_registerClosure(( - ffi.Pointer arg0, - ffi.Pointer arg1, - ) => fn( - arg0.address == 0 - ? null - : NSObject._(arg0, lib, retain: true, release: true), - NSError._(arg1, lib, retain: true, release: true), - )), - ), lib); + ) : this._( + objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>( + _ObjCBlock_ffiVoid_objcObjCObject_NSError1_closureTrampoline, + ).cast(), + _ObjCBlock_ffiVoid_objcObjCObject_NSError1_registerClosure(( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) => + fn( + arg0.address == 0 + ? null + : NSObject._(arg0, lib, retain: true, release: true), + NSError._(arg1, lib, retain: true, release: true), + )), + ), + lib); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -72078,53 +66043,51 @@ class ObjCBlock_ffiVoid_objcObjCObject_NSError1 extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_objcObjCObject_NSError1.listener( SwiftLibrary lib, void Function(NSObject?, NSError) fn, - ) : this._(objc.newBlock( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >.listener( - _ObjCBlock_ffiVoid_objcObjCObject_NSError1_closureTrampoline, - )..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_objcObjCObject_NSError1_registerClosure(( - ffi.Pointer arg0, - ffi.Pointer arg1, - ) => fn( - arg0.address == 0 - ? null - : NSObject._(arg0, lib, retain: true, release: true), - NSError._(arg1, lib, retain: true, release: true), - )), - ), lib); + ) : this._( + objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>.listener( + _ObjCBlock_ffiVoid_objcObjCObject_NSError1_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_objcObjCObject_NSError1_registerClosure(( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) => + fn( + arg0.address == 0 + ? null + : NSObject._(arg0, lib, retain: true, release: true), + NSError._(arg1, lib, retain: true, release: true), + )), + ), + lib); static ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >? _dartFuncListenerTrampoline; + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>? _dartFuncListenerTrampoline; void call(NSObject? arg0, NSError arg1) => pointer.ref.invoke .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Pointer arg1, - ) - > - >() + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, + )>>() .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >()(pointer, arg0?.pointer ?? ffi.nullptr, arg1.pointer); + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>()(pointer, arg0?.pointer ?? ffi.nullptr, arg1.pointer); } class NSMutableString extends NSString { @@ -72469,7 +66432,7 @@ class NSMutableString extends NSString { @override NSMutableString? - initWithValidatedFormat_validFormatSpecifiers_arguments_error_( + initWithValidatedFormat_validFormatSpecifiers_arguments_error_( NSString format, NSString validFormatSpecifiers, ffi.Pointer<__va_list_tag> argList, @@ -72490,7 +66453,7 @@ class NSMutableString extends NSString { @override NSMutableString? - initWithValidatedFormat_validFormatSpecifiers_locale_arguments_error_( + initWithValidatedFormat_validFormatSpecifiers_locale_arguments_error_( NSString format, NSString validFormatSpecifiers, NSObject? locale, @@ -72649,7 +66612,7 @@ class NSMutableString extends NSString { } static NSMutableString? - stringWithValidatedFormat_validFormatSpecifiers_error_( + stringWithValidatedFormat_validFormatSpecifiers_error_( SwiftLibrary _lib, NSString format, NSString validFormatSpecifiers, @@ -72668,7 +66631,7 @@ class NSMutableString extends NSString { } static NSMutableString? - localizedStringWithValidatedFormat_validFormatSpecifiers_error_( + localizedStringWithValidatedFormat_validFormatSpecifiers_error_( SwiftLibrary _lib, NSString format, NSString validFormatSpecifiers, @@ -72863,7 +66826,7 @@ class NSMutableString extends NSString { } static int - stringEncodingForData_encodingOptions_convertedString_usedLossyConversion_( + stringEncodingForData_encodingOptions_convertedString_usedLossyConversion_( SwiftLibrary _lib, NSData data, NSDictionary? opts, @@ -73961,15 +67924,15 @@ class NSBundle extends NSObject { double preservationPriorityForTag_(NSString tag) { return objc.useMsgSendVariants ? _lib._objc_msgSend_308_fpret( - this.pointer, - _lib._sel_preservationPriorityForTag_1, - tag.pointer, - ) + this.pointer, + _lib._sel_preservationPriorityForTag_1, + tag.pointer, + ) : _lib._objc_msgSend_308( - this.pointer, - _lib._sel_preservationPriorityForTag_1, - tag.pointer, - ); + this.pointer, + _lib._sel_preservationPriorityForTag_1, + tag.pointer, + ); } @override @@ -74282,7 +68245,7 @@ class NSAttributedString extends NSObject { } NSAttributedString? - initWithContentsOfMarkdownFileAtURL_options_baseURL_error_( + initWithContentsOfMarkdownFileAtURL_options_baseURL_error_( NSURL markdownFile, NSAttributedStringMarkdownParsingOptions? options, NSURL? baseURL, @@ -74448,7 +68411,7 @@ class NSAttributedString extends NSObject { } static NSAttributedString - localizedAttributedStringWithFormat_options_context_( + localizedAttributedStringWithFormat_options_context_( SwiftLibrary _lib, NSAttributedString format, int options, @@ -74602,7 +68565,7 @@ class NSAttributedString extends NSObject { abstract class NSAttributedStringEnumerationOptions { static const int NSAttributedStringEnumerationReverse = 2; static const int - NSAttributedStringEnumerationLongestEffectiveRangeNotRequired = 1048576; + NSAttributedStringEnumerationLongestEffectiveRangeNotRequired = 1048576; } void _ObjCBlock_ffiVoid_NSDictionary_NSRange_bool_fnPtrTrampoline( @@ -74610,35 +68573,30 @@ void _ObjCBlock_ffiVoid_NSDictionary_NSRange_bool_fnPtrTrampoline( ffi.Pointer arg0, _NSRange arg1, ffi.Pointer arg2, -) => block.ref.target - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - _NSRange arg1, - ffi.Pointer arg2, - ) - > - >() - .asFunction< - void Function( - ffi.Pointer, - _NSRange, - ffi.Pointer, - ) - >()(arg0, arg1, arg2); -final _ObjCBlock_ffiVoid_NSDictionary_NSRange_bool_closureRegistry = - < - int, - void Function( - ffi.Pointer, - _NSRange, - ffi.Pointer, - ) - >{}; +) => + block.ref.target + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + _NSRange arg1, + ffi.Pointer arg2, + )>>() + .asFunction< + void Function( + ffi.Pointer, + _NSRange, + ffi.Pointer, + )>()(arg0, arg1, arg2); +final _ObjCBlock_ffiVoid_NSDictionary_NSRange_bool_closureRegistry = , + _NSRange, + ffi.Pointer, +)>{}; int _ObjCBlock_ffiVoid_NSDictionary_NSRange_bool_closureRegistryIndex = 0; ffi.Pointer -_ObjCBlock_ffiVoid_NSDictionary_NSRange_bool_registerClosure( + _ObjCBlock_ffiVoid_NSDictionary_NSRange_bool_registerClosure( void Function( ffi.Pointer, _NSRange, @@ -74656,10 +68614,9 @@ void _ObjCBlock_ffiVoid_NSDictionary_NSRange_bool_closureTrampoline( ffi.Pointer arg0, _NSRange arg1, ffi.Pointer arg2, -) => _ObjCBlock_ffiVoid_NSDictionary_NSRange_bool_closureRegistry[block - .ref - .target - .address]!(arg0, arg1, arg2); +) => + _ObjCBlock_ffiVoid_NSDictionary_NSRange_bool_closureRegistry[ + block.ref.target.address]!(arg0, arg1, arg2); class ObjCBlock_ffiVoid_NSDictionary_NSRange_bool extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSDictionary_NSRange_bool._( @@ -74694,28 +68651,27 @@ class ObjCBlock_ffiVoid_NSDictionary_NSRange_bool extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSDictionary_NSRange_bool.fromFunctionPointer( SwiftLibrary lib, ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - _NSRange arg1, - ffi.Pointer arg2, - ) - > - > ptr, - ) : this._(objc.newBlock( - _cFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - ) - >( - _ObjCBlock_ffiVoid_NSDictionary_NSRange_bool_fnPtrTrampoline, - ).cast(), - ptr.cast(), - ), lib); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + _NSRange arg1, + ffi.Pointer arg2, + )>> + ptr, + ) : this._( + objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + )>( + _ObjCBlock_ffiVoid_NSDictionary_NSRange_bool_fnPtrTrampoline, + ).cast(), + ptr.cast(), + ), + lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -74726,29 +68682,33 @@ class ObjCBlock_ffiVoid_NSDictionary_NSRange_bool extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSDictionary_NSRange_bool.fromFunction( SwiftLibrary lib, void Function(NSDictionary, _NSRange, ffi.Pointer) fn, - ) : this._(objc.newBlock( - _dartFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - ) - >( - _ObjCBlock_ffiVoid_NSDictionary_NSRange_bool_closureTrampoline, - ).cast(), - _ObjCBlock_ffiVoid_NSDictionary_NSRange_bool_registerClosure(( - ffi.Pointer arg0, - _NSRange arg1, - ffi.Pointer arg2, - ) => fn(NSDictionary._( - arg0, - lib, - retain: true, - release: true, - ), arg1, arg2)), - ), lib); + ) : this._( + objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + )>( + _ObjCBlock_ffiVoid_NSDictionary_NSRange_bool_closureTrampoline, + ).cast(), + _ObjCBlock_ffiVoid_NSDictionary_NSRange_bool_registerClosure(( + ffi.Pointer arg0, + _NSRange arg1, + ffi.Pointer arg2, + ) => + fn( + NSDictionary._( + arg0, + lib, + retain: true, + release: true, + ), + arg1, + arg2)), + ), + lib); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -74763,62 +68723,64 @@ class ObjCBlock_ffiVoid_NSDictionary_NSRange_bool extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSDictionary_NSRange_bool.listener( SwiftLibrary lib, void Function(NSDictionary, _NSRange, ffi.Pointer) fn, - ) : this._(objc.newBlock( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - ) - >.listener( - _ObjCBlock_ffiVoid_NSDictionary_NSRange_bool_closureTrampoline, - )..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSDictionary_NSRange_bool_registerClosure(( - ffi.Pointer arg0, - _NSRange arg1, - ffi.Pointer arg2, - ) => fn(NSDictionary._( - arg0, - lib, - retain: true, - release: true, - ), arg1, arg2)), - ), lib); + ) : this._( + objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + )>.listener( + _ObjCBlock_ffiVoid_NSDictionary_NSRange_bool_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSDictionary_NSRange_bool_registerClosure(( + ffi.Pointer arg0, + _NSRange arg1, + ffi.Pointer arg2, + ) => + fn( + NSDictionary._( + arg0, + lib, + retain: true, + release: true, + ), + arg1, + arg2)), + ), + lib); static ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - ) - >? _dartFuncListenerTrampoline; + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + )>? _dartFuncListenerTrampoline; void call( NSDictionary arg0, _NSRange arg1, ffi.Pointer arg2, - ) => pointer.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer block, - ffi.Pointer arg0, - _NSRange arg1, - ffi.Pointer arg2, - ) - > - >() - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - ) - >()(pointer, arg0.pointer, arg1, arg2); + ) => + pointer.ref.invoke + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer block, + ffi.Pointer arg0, + _NSRange arg1, + ffi.Pointer arg2, + )>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + )>()(pointer, arg0.pointer, arg1, arg2); } void _ObjCBlock_ffiVoid_objcObjCObject_NSRange_bool_fnPtrTrampoline( @@ -74826,35 +68788,30 @@ void _ObjCBlock_ffiVoid_objcObjCObject_NSRange_bool_fnPtrTrampoline( ffi.Pointer arg0, _NSRange arg1, ffi.Pointer arg2, -) => block.ref.target - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - _NSRange arg1, - ffi.Pointer arg2, - ) - > - >() - .asFunction< - void Function( - ffi.Pointer, - _NSRange, - ffi.Pointer, - ) - >()(arg0, arg1, arg2); -final _ObjCBlock_ffiVoid_objcObjCObject_NSRange_bool_closureRegistry = - < - int, - void Function( - ffi.Pointer, - _NSRange, - ffi.Pointer, - ) - >{}; +) => + block.ref.target + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + _NSRange arg1, + ffi.Pointer arg2, + )>>() + .asFunction< + void Function( + ffi.Pointer, + _NSRange, + ffi.Pointer, + )>()(arg0, arg1, arg2); +final _ObjCBlock_ffiVoid_objcObjCObject_NSRange_bool_closureRegistry = , + _NSRange, + ffi.Pointer, +)>{}; int _ObjCBlock_ffiVoid_objcObjCObject_NSRange_bool_closureRegistryIndex = 0; ffi.Pointer -_ObjCBlock_ffiVoid_objcObjCObject_NSRange_bool_registerClosure( + _ObjCBlock_ffiVoid_objcObjCObject_NSRange_bool_registerClosure( void Function( ffi.Pointer, _NSRange, @@ -74872,10 +68829,9 @@ void _ObjCBlock_ffiVoid_objcObjCObject_NSRange_bool_closureTrampoline( ffi.Pointer arg0, _NSRange arg1, ffi.Pointer arg2, -) => _ObjCBlock_ffiVoid_objcObjCObject_NSRange_bool_closureRegistry[block - .ref - .target - .address]!(arg0, arg1, arg2); +) => + _ObjCBlock_ffiVoid_objcObjCObject_NSRange_bool_closureRegistry[ + block.ref.target.address]!(arg0, arg1, arg2); class ObjCBlock_ffiVoid_objcObjCObject_NSRange_bool extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_objcObjCObject_NSRange_bool._( @@ -74910,28 +68866,27 @@ class ObjCBlock_ffiVoid_objcObjCObject_NSRange_bool extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_objcObjCObject_NSRange_bool.fromFunctionPointer( SwiftLibrary lib, ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - _NSRange arg1, - ffi.Pointer arg2, - ) - > - > ptr, - ) : this._(objc.newBlock( - _cFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - ) - >( - _ObjCBlock_ffiVoid_objcObjCObject_NSRange_bool_fnPtrTrampoline, - ).cast(), - ptr.cast(), - ), lib); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + _NSRange arg1, + ffi.Pointer arg2, + )>> + ptr, + ) : this._( + objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + )>( + _ObjCBlock_ffiVoid_objcObjCObject_NSRange_bool_fnPtrTrampoline, + ).cast(), + ptr.cast(), + ), + lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -74942,30 +68897,31 @@ class ObjCBlock_ffiVoid_objcObjCObject_NSRange_bool extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_objcObjCObject_NSRange_bool.fromFunction( SwiftLibrary lib, void Function(NSObject?, _NSRange, ffi.Pointer) fn, - ) : this._(objc.newBlock( - _dartFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - ) - >( - _ObjCBlock_ffiVoid_objcObjCObject_NSRange_bool_closureTrampoline, - ).cast(), - _ObjCBlock_ffiVoid_objcObjCObject_NSRange_bool_registerClosure(( - ffi.Pointer arg0, - _NSRange arg1, - ffi.Pointer arg2, - ) => fn( - arg0.address == 0 - ? null - : NSObject._(arg0, lib, retain: true, release: true), - arg1, - arg2, - )), - ), lib); + ) : this._( + objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + )>( + _ObjCBlock_ffiVoid_objcObjCObject_NSRange_bool_closureTrampoline, + ).cast(), + _ObjCBlock_ffiVoid_objcObjCObject_NSRange_bool_registerClosure(( + ffi.Pointer arg0, + _NSRange arg1, + ffi.Pointer arg2, + ) => + fn( + arg0.address == 0 + ? null + : NSObject._(arg0, lib, retain: true, release: true), + arg1, + arg2, + )), + ), + lib); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -74980,63 +68936,62 @@ class ObjCBlock_ffiVoid_objcObjCObject_NSRange_bool extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_objcObjCObject_NSRange_bool.listener( SwiftLibrary lib, void Function(NSObject?, _NSRange, ffi.Pointer) fn, - ) : this._(objc.newBlock( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - ) - >.listener( - _ObjCBlock_ffiVoid_objcObjCObject_NSRange_bool_closureTrampoline, - )..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_objcObjCObject_NSRange_bool_registerClosure(( - ffi.Pointer arg0, - _NSRange arg1, - ffi.Pointer arg2, - ) => fn( - arg0.address == 0 - ? null - : NSObject._(arg0, lib, retain: true, release: true), - arg1, - arg2, - )), - ), lib); + ) : this._( + objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + )>.listener( + _ObjCBlock_ffiVoid_objcObjCObject_NSRange_bool_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_objcObjCObject_NSRange_bool_registerClosure(( + ffi.Pointer arg0, + _NSRange arg1, + ffi.Pointer arg2, + ) => + fn( + arg0.address == 0 + ? null + : NSObject._(arg0, lib, retain: true, release: true), + arg1, + arg2, + )), + ), + lib); static ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - ) - >? _dartFuncListenerTrampoline; + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + )>? _dartFuncListenerTrampoline; void call( NSObject? arg0, _NSRange arg1, ffi.Pointer arg2, - ) => pointer.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer block, - ffi.Pointer arg0, - _NSRange arg1, - ffi.Pointer arg2, - ) - > - >() - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - ) - >()(pointer, arg0?.pointer ?? ffi.nullptr, arg1, arg2); + ) => + pointer.ref.invoke + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer block, + ffi.Pointer arg0, + _NSRange arg1, + ffi.Pointer arg2, + )>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + )>()(pointer, arg0?.pointer ?? ffi.nullptr, arg1, arg2); } class NSAttributedStringMarkdownParsingOptions extends NSObject { @@ -75048,9 +69003,8 @@ class NSAttributedStringMarkdownParsingOptions extends NSObject { }) : super._(pointer, lib, retain: retain, release: release); /// Returns a [NSAttributedStringMarkdownParsingOptions] that points to the same underlying object as [other]. - static NSAttributedStringMarkdownParsingOptions castFrom< - T extends objc.ObjCObjectBase - >(SwiftLibrary lib, T other) { + static NSAttributedStringMarkdownParsingOptions + castFrom(SwiftLibrary lib, T other) { return NSAttributedStringMarkdownParsingOptions._( other.pointer, lib, @@ -75303,18 +69257,20 @@ abstract class NSAttributedStringMarkdownInterpretedSyntax { static const int NSAttributedStringMarkdownInterpretedSyntaxFull = 0; static const int NSAttributedStringMarkdownInterpretedSyntaxInlineOnly = 1; static const int - NSAttributedStringMarkdownInterpretedSyntaxInlineOnlyPreservingWhitespace = 2; + NSAttributedStringMarkdownInterpretedSyntaxInlineOnlyPreservingWhitespace = + 2; } abstract class NSAttributedStringMarkdownParsingFailurePolicy { static const int NSAttributedStringMarkdownParsingFailureReturnError = 0; static const int - NSAttributedStringMarkdownParsingFailureReturnPartiallyParsedIfPossible = 1; + NSAttributedStringMarkdownParsingFailureReturnPartiallyParsedIfPossible = + 1; } abstract class NSAttributedStringFormattingOptions { static const int - NSAttributedStringFormattingInsertArgumentAttributesWithoutMerging = 1; + NSAttributedStringFormattingInsertArgumentAttributesWithoutMerging = 1; static const int NSAttributedStringFormattingApplyReplacementIndexAttribute = 2; } @@ -75518,7 +69474,7 @@ class NSMutableAttributedString extends NSAttributedString { @override NSMutableAttributedString? - initWithContentsOfMarkdownFileAtURL_options_baseURL_error_( + initWithContentsOfMarkdownFileAtURL_options_baseURL_error_( NSURL markdownFile, NSAttributedStringMarkdownParsingOptions? options, NSURL? baseURL, @@ -75690,7 +69646,7 @@ class NSMutableAttributedString extends NSAttributedString { } static NSMutableAttributedString - localizedAttributedStringWithFormat_options_context_( + localizedAttributedStringWithFormat_options_context_( SwiftLibrary _lib, NSAttributedString format, int options, @@ -76712,7 +70668,7 @@ class NSFormatter extends NSObject { } bool - isPartialStringValid_proposedSelectedRange_originalString_originalSelectedRange_errorDescription_( + isPartialStringValid_proposedSelectedRange_originalString_originalSelectedRange_errorDescription_( ffi.Pointer> partialStringPtr, ffi.Pointer<_NSRange> proposedSelRangePtr, NSString origString, @@ -77164,31 +71120,31 @@ class NSCalendar extends NSObject { void minimumRangeOfUnit_(ffi.Pointer<_NSRange> stret, int unit) { objc.useMsgSendVariants ? _lib._objc_msgSend_767_stret( - stret, - this.pointer, - _lib._sel_minimumRangeOfUnit_1, - unit, - ) + stret, + this.pointer, + _lib._sel_minimumRangeOfUnit_1, + unit, + ) : stret.ref = _lib._objc_msgSend_767( - this.pointer, - _lib._sel_minimumRangeOfUnit_1, - unit, - ); + this.pointer, + _lib._sel_minimumRangeOfUnit_1, + unit, + ); } void maximumRangeOfUnit_(ffi.Pointer<_NSRange> stret, int unit) { objc.useMsgSendVariants ? _lib._objc_msgSend_767_stret( - stret, - this.pointer, - _lib._sel_maximumRangeOfUnit_1, - unit, - ) + stret, + this.pointer, + _lib._sel_maximumRangeOfUnit_1, + unit, + ) : stret.ref = _lib._objc_msgSend_767( - this.pointer, - _lib._sel_maximumRangeOfUnit_1, - unit, - ); + this.pointer, + _lib._sel_maximumRangeOfUnit_1, + unit, + ); } void rangeOfUnit_inUnit_forDate_( @@ -77199,20 +71155,20 @@ class NSCalendar extends NSObject { ) { objc.useMsgSendVariants ? _lib._objc_msgSend_768_stret( - stret, - this.pointer, - _lib._sel_rangeOfUnit_inUnit_forDate_1, - smaller, - larger, - date.pointer, - ) + stret, + this.pointer, + _lib._sel_rangeOfUnit_inUnit_forDate_1, + smaller, + larger, + date.pointer, + ) : stret.ref = _lib._objc_msgSend_768( - this.pointer, - _lib._sel_rangeOfUnit_inUnit_forDate_1, - smaller, - larger, - date.pointer, - ); + this.pointer, + _lib._sel_rangeOfUnit_inUnit_forDate_1, + smaller, + larger, + date.pointer, + ); } int ordinalityOfUnit_inUnit_forDate_(int smaller, int larger, NSDate date) { @@ -77387,7 +71343,7 @@ class NSCalendar extends NSObject { } NSDate? - dateWithEra_yearForWeekOfYear_weekOfYear_weekday_hour_minute_second_nanosecond_( + dateWithEra_yearForWeekOfYear_weekOfYear_weekday_hour_minute_second_nanosecond_( int eraValue, int yearValue, int weekValue, @@ -78242,24 +72198,20 @@ void _ObjCBlock_ffiVoid_NSDate_bool_bool_fnPtrTrampoline( ffi.Pointer arg0, bool arg1, ffi.Pointer arg2, -) => block.ref.target - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.Bool arg1, - ffi.Pointer arg2, - ) - > - >() - .asFunction< - void Function(ffi.Pointer, bool, ffi.Pointer) - >()(arg0, arg1, arg2); -final _ObjCBlock_ffiVoid_NSDate_bool_bool_closureRegistry = - < - int, - void Function(ffi.Pointer, bool, ffi.Pointer) - >{}; +) => + block.ref.target + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Bool arg1, + ffi.Pointer arg2, + )>>() + .asFunction< + void Function(ffi.Pointer, bool, + ffi.Pointer)>()(arg0, arg1, arg2); +final _ObjCBlock_ffiVoid_NSDate_bool_bool_closureRegistry = , bool, ffi.Pointer)>{}; int _ObjCBlock_ffiVoid_NSDate_bool_bool_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_ffiVoid_NSDate_bool_bool_registerClosure( void Function(ffi.Pointer, bool, ffi.Pointer) fn, @@ -78274,10 +72226,9 @@ void _ObjCBlock_ffiVoid_NSDate_bool_bool_closureTrampoline( ffi.Pointer arg0, bool arg1, ffi.Pointer arg2, -) => _ObjCBlock_ffiVoid_NSDate_bool_bool_closureRegistry[block - .ref - .target - .address]!(arg0, arg1, arg2); +) => + _ObjCBlock_ffiVoid_NSDate_bool_bool_closureRegistry[ + block.ref.target.address]!(arg0, arg1, arg2); class ObjCBlock_ffiVoid_NSDate_bool_bool extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSDate_bool_bool._( @@ -78312,26 +72263,26 @@ class ObjCBlock_ffiVoid_NSDate_bool_bool extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSDate_bool_bool.fromFunctionPointer( SwiftLibrary lib, ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.Bool arg1, - ffi.Pointer arg2, - ) - > - > ptr, - ) : this._(objc.newBlock( - _cFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - ffi.Pointer, - ) - >(_ObjCBlock_ffiVoid_NSDate_bool_bool_fnPtrTrampoline).cast(), - ptr.cast(), - ), lib); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Bool arg1, + ffi.Pointer arg2, + )>> + ptr, + ) : this._( + objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.Pointer, + )>(_ObjCBlock_ffiVoid_NSDate_bool_bool_fnPtrTrampoline) + .cast(), + ptr.cast(), + ), + lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -78342,28 +72293,30 @@ class ObjCBlock_ffiVoid_NSDate_bool_bool extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSDate_bool_bool.fromFunction( SwiftLibrary lib, void Function(NSDate?, bool, ffi.Pointer) fn, - ) : this._(objc.newBlock( - _dartFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - ffi.Pointer, - ) - >(_ObjCBlock_ffiVoid_NSDate_bool_bool_closureTrampoline).cast(), - _ObjCBlock_ffiVoid_NSDate_bool_bool_registerClosure(( - ffi.Pointer arg0, - bool arg1, - ffi.Pointer arg2, - ) => fn( - arg0.address == 0 - ? null - : NSDate._(arg0, lib, retain: true, release: true), - arg1, - arg2, - )), - ), lib); + ) : this._( + objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.Pointer, + )>(_ObjCBlock_ffiVoid_NSDate_bool_bool_closureTrampoline) + .cast(), + _ObjCBlock_ffiVoid_NSDate_bool_bool_registerClosure(( + ffi.Pointer arg0, + bool arg1, + ffi.Pointer arg2, + ) => + fn( + arg0.address == 0 + ? null + : NSDate._(arg0, lib, retain: true, release: true), + arg1, + arg2, + )), + ), + lib); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -78378,61 +72331,58 @@ class ObjCBlock_ffiVoid_NSDate_bool_bool extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSDate_bool_bool.listener( SwiftLibrary lib, void Function(NSDate?, bool, ffi.Pointer) fn, - ) : this._(objc.newBlock( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( + ) : this._( + objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.Pointer, + )>.listener( + _ObjCBlock_ffiVoid_NSDate_bool_bool_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSDate_bool_bool_registerClosure(( + ffi.Pointer arg0, + bool arg1, + ffi.Pointer arg2, + ) => + fn( + arg0.address == 0 + ? null + : NSDate._(arg0, lib, retain: true, release: true), + arg1, + arg2, + )), + ), + lib); + static ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.Pointer, + )>? _dartFuncListenerTrampoline; + + void call(NSDate? arg0, bool arg1, ffi.Pointer arg2) => + pointer.ref.invoke + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Bool arg1, + ffi.Pointer arg2, + )>>() + .asFunction< + void Function( ffi.Pointer, ffi.Pointer, - ffi.Bool, + bool, ffi.Pointer, - ) - >.listener( - _ObjCBlock_ffiVoid_NSDate_bool_bool_closureTrampoline, - )..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSDate_bool_bool_registerClosure(( - ffi.Pointer arg0, - bool arg1, - ffi.Pointer arg2, - ) => fn( - arg0.address == 0 - ? null - : NSDate._(arg0, lib, retain: true, release: true), - arg1, - arg2, - )), - ), lib); - static ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - ffi.Pointer, - ) - >? _dartFuncListenerTrampoline; - - void call(NSDate? arg0, bool arg1, ffi.Pointer arg2) => pointer - .ref - .invoke - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Bool arg1, - ffi.Pointer arg2, - ) - > - >() - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - bool, - ffi.Pointer, - ) - >()(pointer, arg0?.pointer ?? ffi.nullptr, arg1, arg2); + )>()(pointer, arg0?.pointer ?? ffi.nullptr, arg1, arg2); } class NSNumberFormatter extends NSFormatter { @@ -79695,7 +73645,7 @@ class NSDecimalNumberHandler extends NSObject { } NSDecimalNumberHandler - initWithRoundingMode_scale_raiseOnExactness_raiseOnOverflow_raiseOnUnderflow_raiseOnDivideByZero_( + initWithRoundingMode_scale_raiseOnExactness_raiseOnOverflow_raiseOnUnderflow_raiseOnDivideByZero_( int roundingMode, int scale, bool exact, @@ -79717,7 +73667,7 @@ class NSDecimalNumberHandler extends NSObject { } static NSDecimalNumberHandler - decimalNumberHandlerWithRoundingMode_scale_raiseOnExactness_raiseOnOverflow_raiseOnUnderflow_raiseOnDivideByZero_( + decimalNumberHandlerWithRoundingMode_scale_raiseOnExactness_raiseOnOverflow_raiseOnUnderflow_raiseOnDivideByZero_( SwiftLibrary _lib, int roundingMode, int scale, @@ -80850,11 +74800,11 @@ class NSFileHandle extends NSObject { return _ret.address == 0 ? null : ObjCBlock_ffiVoid_NSFileHandle._( - _ret, - _lib, - retain: true, - release: true, - ); + _ret, + _lib, + retain: true, + release: true, + ); } set readabilityHandler(ObjCBlock_ffiVoid_NSFileHandle? value) { @@ -80873,11 +74823,11 @@ class NSFileHandle extends NSObject { return _ret.address == 0 ? null : ObjCBlock_ffiVoid_NSFileHandle._( - _ret, - _lib, - retain: true, - release: true, - ); + _ret, + _lib, + retain: true, + release: true, + ); } set writeabilityHandler(ObjCBlock_ffiVoid_NSFileHandle? value) { @@ -81080,11 +75030,12 @@ class NSFileHandle extends NSObject { void _ObjCBlock_ffiVoid_NSFileHandle_fnPtrTrampoline( ffi.Pointer block, ffi.Pointer arg0, -) => block.ref.target - .cast< - ffi.NativeFunction arg0)> - >() - .asFunction)>()(arg0); +) => + block.ref.target + .cast< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer arg0)>>() + .asFunction)>()(arg0); final _ObjCBlock_ffiVoid_NSFileHandle_closureRegistry = )>{}; int _ObjCBlock_ffiVoid_NSFileHandle_closureRegistryIndex = 0; @@ -81099,9 +75050,10 @@ ffi.Pointer _ObjCBlock_ffiVoid_NSFileHandle_registerClosure( void _ObjCBlock_ffiVoid_NSFileHandle_closureTrampoline( ffi.Pointer block, ffi.Pointer arg0, -) => _ObjCBlock_ffiVoid_NSFileHandle_closureRegistry[block.ref.target.address]!( - arg0, -); +) => + _ObjCBlock_ffiVoid_NSFileHandle_closureRegistry[block.ref.target.address]!( + arg0, + ); class ObjCBlock_ffiVoid_NSFileHandle extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSFileHandle._( @@ -81136,18 +75088,20 @@ class ObjCBlock_ffiVoid_NSFileHandle extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSFileHandle.fromFunctionPointer( SwiftLibrary lib, ffi.Pointer< - ffi.NativeFunction arg0)> - > ptr, - ) : this._(objc.newBlock( - _cFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ) - >(_ObjCBlock_ffiVoid_NSFileHandle_fnPtrTrampoline).cast(), - ptr.cast(), - ), lib); + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer arg0)>> + ptr, + ) : this._( + objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + )>(_ObjCBlock_ffiVoid_NSFileHandle_fnPtrTrampoline) + .cast(), + ptr.cast(), + ), + lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -81158,18 +75112,20 @@ class ObjCBlock_ffiVoid_NSFileHandle extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSFileHandle.fromFunction( SwiftLibrary lib, void Function(NSFileHandle) fn, - ) : this._(objc.newBlock( - _dartFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ) - >(_ObjCBlock_ffiVoid_NSFileHandle_closureTrampoline).cast(), - _ObjCBlock_ffiVoid_NSFileHandle_registerClosure(( - ffi.Pointer arg0, - ) => fn(NSFileHandle._(arg0, lib, retain: true, release: true))), - ), lib); + ) : this._( + objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + )>(_ObjCBlock_ffiVoid_NSFileHandle_closureTrampoline) + .cast(), + _ObjCBlock_ffiVoid_NSFileHandle_registerClosure(( + ffi.Pointer arg0, + ) => + fn(NSFileHandle._(arg0, lib, retain: true, release: true))), + ), + lib); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -81184,37 +75140,38 @@ class ObjCBlock_ffiVoid_NSFileHandle extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSFileHandle.listener( SwiftLibrary lib, void Function(NSFileHandle) fn, - ) : this._(objc.newBlock( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ) - >.listener( - _ObjCBlock_ffiVoid_NSFileHandle_closureTrampoline, - )..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSFileHandle_registerClosure(( - ffi.Pointer arg0, - ) => fn(NSFileHandle._(arg0, lib, retain: true, release: true))), - ), lib); + ) : this._( + objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + )>.listener( + _ObjCBlock_ffiVoid_NSFileHandle_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSFileHandle_registerClosure(( + ffi.Pointer arg0, + ) => + fn(NSFileHandle._(arg0, lib, retain: true, release: true))), + ), + lib); static ffi.NativeCallable< - ffi.Void Function(ffi.Pointer, ffi.Pointer) - >? _dartFuncListenerTrampoline; + ffi.Void Function( + ffi.Pointer, ffi.Pointer)>? + _dartFuncListenerTrampoline; void call(NSFileHandle arg0) => pointer.ref.invoke .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer block, - ffi.Pointer arg0, - ) - > - >() + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer block, + ffi.Pointer arg0, + )>>() .asFunction< - void Function(ffi.Pointer, ffi.Pointer) - >()(pointer, arg0.pointer); + void Function(ffi.Pointer, + ffi.Pointer)>()(pointer, arg0.pointer); } class NSHTTPCookieStorage extends NSObject { @@ -83888,11 +77845,12 @@ abstract class NSURLSessionTaskState { void _ObjCBlock_ffiVoid_NSArray_fnPtrTrampoline( ffi.Pointer block, ffi.Pointer arg0, -) => block.ref.target - .cast< - ffi.NativeFunction arg0)> - >() - .asFunction)>()(arg0); +) => + block.ref.target + .cast< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer arg0)>>() + .asFunction)>()(arg0); final _ObjCBlock_ffiVoid_NSArray_closureRegistry = )>{}; int _ObjCBlock_ffiVoid_NSArray_closureRegistryIndex = 0; @@ -83907,9 +77865,10 @@ ffi.Pointer _ObjCBlock_ffiVoid_NSArray_registerClosure( void _ObjCBlock_ffiVoid_NSArray_closureTrampoline( ffi.Pointer block, ffi.Pointer arg0, -) => _ObjCBlock_ffiVoid_NSArray_closureRegistry[block.ref.target.address]!( - arg0, -); +) => + _ObjCBlock_ffiVoid_NSArray_closureRegistry[block.ref.target.address]!( + arg0, + ); class ObjCBlock_ffiVoid_NSArray extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSArray._( @@ -83944,18 +77903,20 @@ class ObjCBlock_ffiVoid_NSArray extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSArray.fromFunctionPointer( SwiftLibrary lib, ffi.Pointer< - ffi.NativeFunction arg0)> - > ptr, - ) : this._(objc.newBlock( - _cFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ) - >(_ObjCBlock_ffiVoid_NSArray_fnPtrTrampoline).cast(), - ptr.cast(), - ), lib); + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer arg0)>> + ptr, + ) : this._( + objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + )>(_ObjCBlock_ffiVoid_NSArray_fnPtrTrampoline) + .cast(), + ptr.cast(), + ), + lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -83966,22 +77927,24 @@ class ObjCBlock_ffiVoid_NSArray extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSArray.fromFunction( SwiftLibrary lib, void Function(NSArray?) fn, - ) : this._(objc.newBlock( - _dartFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ) - >(_ObjCBlock_ffiVoid_NSArray_closureTrampoline).cast(), - _ObjCBlock_ffiVoid_NSArray_registerClosure(( - ffi.Pointer arg0, - ) => fn( - arg0.address == 0 - ? null - : NSArray._(arg0, lib, retain: true, release: true), - )), - ), lib); + ) : this._( + objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + )>(_ObjCBlock_ffiVoid_NSArray_closureTrampoline) + .cast(), + _ObjCBlock_ffiVoid_NSArray_registerClosure(( + ffi.Pointer arg0, + ) => + fn( + arg0.address == 0 + ? null + : NSArray._(arg0, lib, retain: true, release: true), + )), + ), + lib); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -83996,41 +77959,43 @@ class ObjCBlock_ffiVoid_NSArray extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSArray.listener( SwiftLibrary lib, void Function(NSArray?) fn, - ) : this._(objc.newBlock( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ) - >.listener( - _ObjCBlock_ffiVoid_NSArray_closureTrampoline, - )..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSArray_registerClosure(( - ffi.Pointer arg0, - ) => fn( - arg0.address == 0 - ? null - : NSArray._(arg0, lib, retain: true, release: true), - )), - ), lib); + ) : this._( + objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + )>.listener( + _ObjCBlock_ffiVoid_NSArray_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSArray_registerClosure(( + ffi.Pointer arg0, + ) => + fn( + arg0.address == 0 + ? null + : NSArray._(arg0, lib, retain: true, release: true), + )), + ), + lib); static ffi.NativeCallable< - ffi.Void Function(ffi.Pointer, ffi.Pointer) - >? _dartFuncListenerTrampoline; + ffi.Void Function( + ffi.Pointer, ffi.Pointer)>? + _dartFuncListenerTrampoline; void call(NSArray? arg0) => pointer.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer block, - ffi.Pointer arg0, - ) - > - >() - .asFunction< - void Function(ffi.Pointer, ffi.Pointer) - >()(pointer, arg0?.pointer ?? ffi.nullptr); + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer block, + ffi.Pointer arg0, + )>>() + .asFunction< + void Function( + ffi.Pointer, ffi.Pointer)>()( + pointer, arg0?.pointer ?? ffi.nullptr); } class NSIndexPath extends NSObject { @@ -86107,30 +80072,26 @@ class NSPointerFunctions extends NSObject { } ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction)> - >, - ) - > - > - get hashFunction { + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function(ffi.Pointer)>>, + )>> get hashFunction { return _lib._objc_msgSend_920(this.pointer, _lib._sel_hashFunction1); } set hashFunction( ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction)> - >, - ) - > - > value, + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function(ffi.Pointer)>>, + )>> + value, ) { return _lib._objc_msgSend_921( this.pointer, @@ -86140,32 +80101,28 @@ class NSPointerFunctions extends NSObject { } ffi.Pointer< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction)> - >, - ) - > - > - get isEqualFunction { + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function(ffi.Pointer)>>, + )>> get isEqualFunction { return _lib._objc_msgSend_922(this.pointer, _lib._sel_isEqualFunction1); } set isEqualFunction( ffi.Pointer< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction)> - >, - ) - > - > value, + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function(ffi.Pointer)>>, + )>> + value, ) { return _lib._objc_msgSend_923( this.pointer, @@ -86175,16 +80132,16 @@ class NSPointerFunctions extends NSObject { } ffi.Pointer< - ffi.NativeFunction)> - > - get sizeFunction { + ffi.NativeFunction)>> + get sizeFunction { return _lib._objc_msgSend_924(this.pointer, _lib._sel_sizeFunction1); } set sizeFunction( ffi.Pointer< - ffi.NativeFunction)> - > value, + ffi + .NativeFunction)>> + value, ) { return _lib._objc_msgSend_925( this.pointer, @@ -86194,20 +80151,17 @@ class NSPointerFunctions extends NSObject { } ffi.Pointer< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer) - > - > - get descriptionFunction { + ffi.NativeFunction< + ffi.Pointer Function(ffi.Pointer)>> + get descriptionFunction { return _lib._objc_msgSend_926(this.pointer, _lib._sel_descriptionFunction1); } set descriptionFunction( ffi.Pointer< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer) - > - > value, + ffi.NativeFunction< + ffi.Pointer Function(ffi.Pointer)>> + value, ) { return _lib._objc_msgSend_927( this.pointer, @@ -86217,30 +80171,26 @@ class NSPointerFunctions extends NSObject { } ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction)> - >, - ) - > - > - get relinquishFunction { + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function(ffi.Pointer)>>, + )>> get relinquishFunction { return _lib._objc_msgSend_928(this.pointer, _lib._sel_relinquishFunction1); } set relinquishFunction( ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction)> - >, - ) - > - > value, + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function(ffi.Pointer)>>, + )>> + value, ) { return _lib._objc_msgSend_929( this.pointer, @@ -86250,32 +80200,28 @@ class NSPointerFunctions extends NSObject { } ffi.Pointer< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction)> - >, - ffi.Bool, - ) - > - > - get acquireFunction { + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function(ffi.Pointer)>>, + ffi.Bool, + )>> get acquireFunction { return _lib._objc_msgSend_930(this.pointer, _lib._sel_acquireFunction1); } set acquireFunction( ffi.Pointer< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction)> - >, - ffi.Bool, - ) - > - > value, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function(ffi.Pointer)>>, + ffi.Bool, + )>> + value, ) { return _lib._objc_msgSend_931( this.pointer, @@ -86547,14 +80493,14 @@ class NSProcessInfo extends NSObject { void getOperatingSystemVersion(ffi.Pointer stret) { objc.useMsgSendVariants ? _lib._objc_msgSend_940_stret( - stret, - this.pointer, - _lib._sel_operatingSystemVersion1, - ) + stret, + this.pointer, + _lib._sel_operatingSystemVersion1, + ) : stret.ref = _lib._objc_msgSend_940( - this.pointer, - _lib._sel_operatingSystemVersion1, - ); + this.pointer, + _lib._sel_operatingSystemVersion1, + ); } int get processorCount { @@ -86850,9 +80796,10 @@ abstract class NSActivityOptions { void _ObjCBlock_ffiVoid_bool_fnPtrTrampoline( ffi.Pointer block, bool arg0, -) => block.ref.target - .cast>() - .asFunction()(arg0); +) => + block.ref.target + .cast>() + .asFunction()(arg0); final _ObjCBlock_ffiVoid_bool_closureRegistry = {}; int _ObjCBlock_ffiVoid_bool_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_ffiVoid_bool_registerClosure( @@ -86866,7 +80813,8 @@ ffi.Pointer _ObjCBlock_ffiVoid_bool_registerClosure( void _ObjCBlock_ffiVoid_bool_closureTrampoline( ffi.Pointer block, bool arg0, -) => _ObjCBlock_ffiVoid_bool_closureRegistry[block.ref.target.address]!(arg0); +) => + _ObjCBlock_ffiVoid_bool_closureRegistry[block.ref.target.address]!(arg0); class ObjCBlock_ffiVoid_bool extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_bool._( @@ -86901,13 +80849,15 @@ class ObjCBlock_ffiVoid_bool extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_bool.fromFunctionPointer( SwiftLibrary lib, ffi.Pointer> ptr, - ) : this._(objc.newBlock( - _cFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Void Function(ffi.Pointer, ffi.Bool) - >(_ObjCBlock_ffiVoid_bool_fnPtrTrampoline).cast(), - ptr.cast(), - ), lib); + ) : this._( + objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function(ffi.Pointer, + ffi.Bool)>(_ObjCBlock_ffiVoid_bool_fnPtrTrampoline) + .cast(), + ptr.cast(), + ), + lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -86916,13 +80866,15 @@ class ObjCBlock_ffiVoid_bool extends objc.ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_bool.fromFunction(SwiftLibrary lib, void Function(bool) fn) - : this._(objc.newBlock( - _dartFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Void Function(ffi.Pointer, ffi.Bool) - >(_ObjCBlock_ffiVoid_bool_closureTrampoline).cast(), - _ObjCBlock_ffiVoid_bool_registerClosure((bool arg0) => fn(arg0)), - ), lib); + : this._( + objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function(ffi.Pointer, + ffi.Bool)>(_ObjCBlock_ffiVoid_bool_closureTrampoline) + .cast(), + _ObjCBlock_ffiVoid_bool_registerClosure((bool arg0) => fn(arg0)), + ), + lib); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -86935,30 +80887,31 @@ class ObjCBlock_ffiVoid_bool extends objc.ObjCBlockBase { /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. ObjCBlock_ffiVoid_bool.listener(SwiftLibrary lib, void Function(bool) fn) - : this._(objc.newBlock( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function(ffi.Pointer, ffi.Bool) - >.listener( - _ObjCBlock_ffiVoid_bool_closureTrampoline, - )..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_bool_registerClosure((bool arg0) => fn(arg0)), - ), lib); - static ffi.NativeCallable< - ffi.Void Function(ffi.Pointer, ffi.Bool) - >? _dartFuncListenerTrampoline; + : this._( + objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, ffi.Bool)>.listener( + _ObjCBlock_ffiVoid_bool_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_bool_registerClosure((bool arg0) => fn(arg0)), + ), + lib); + static ffi + .NativeCallable, ffi.Bool)>? + _dartFuncListenerTrampoline; void call(bool arg0) => pointer.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer block, ffi.Bool arg0) - > - >() - .asFunction, bool)>()( - pointer, - arg0, - ); + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer block, ffi.Bool arg0)>>() + .asFunction, bool)>()( + pointer, + arg0, + ); } abstract class NSProcessInfoThermalState { @@ -87110,31 +81063,31 @@ class NSTextCheckingResult extends NSObject { void rangeAtIndex_(ffi.Pointer<_NSRange> stret, int idx) { objc.useMsgSendVariants ? _lib._objc_msgSend_347_stret( - stret, - this.pointer, - _lib._sel_rangeAtIndex_1, - idx, - ) + stret, + this.pointer, + _lib._sel_rangeAtIndex_1, + idx, + ) : stret.ref = _lib._objc_msgSend_347( - this.pointer, - _lib._sel_rangeAtIndex_1, - idx, - ); + this.pointer, + _lib._sel_rangeAtIndex_1, + idx, + ); } void rangeWithName_(ffi.Pointer<_NSRange> stret, NSString name) { objc.useMsgSendVariants ? _lib._objc_msgSend_340_stret( - stret, - this.pointer, - _lib._sel_rangeWithName_1, - name.pointer, - ) + stret, + this.pointer, + _lib._sel_rangeWithName_1, + name.pointer, + ) : stret.ref = _lib._objc_msgSend_340( - this.pointer, - _lib._sel_rangeWithName_1, - name.pointer, - ); + this.pointer, + _lib._sel_rangeWithName_1, + name.pointer, + ); } NSTextCheckingResult resultByAdjustingRangesWithOffset_(int offset) { @@ -87211,7 +81164,7 @@ class NSTextCheckingResult extends NSObject { } static NSTextCheckingResult - dateCheckingResultWithRange_date_timeZone_duration_( + dateCheckingResultWithRange_date_timeZone_duration_( SwiftLibrary _lib, _NSRange range, NSDate date, @@ -87286,7 +81239,7 @@ class NSTextCheckingResult extends NSObject { } static NSTextCheckingResult - replacementCheckingResultWithRange_replacementString_( + replacementCheckingResultWithRange_replacementString_( SwiftLibrary _lib, _NSRange range, NSString replacementString, @@ -87301,7 +81254,7 @@ class NSTextCheckingResult extends NSObject { } static NSTextCheckingResult - correctionCheckingResultWithRange_replacementString_( + correctionCheckingResultWithRange_replacementString_( SwiftLibrary _lib, _NSRange range, NSString replacementString, @@ -87316,7 +81269,7 @@ class NSTextCheckingResult extends NSObject { } static NSTextCheckingResult - correctionCheckingResultWithRange_replacementString_alternativeStrings_( + correctionCheckingResultWithRange_replacementString_alternativeStrings_( SwiftLibrary _lib, _NSRange range, NSString replacementString, @@ -87333,7 +81286,7 @@ class NSTextCheckingResult extends NSObject { } static NSTextCheckingResult - regularExpressionCheckingResultWithRanges_count_regularExpression_( + regularExpressionCheckingResultWithRanges_count_regularExpression_( SwiftLibrary _lib, ffi.Pointer<_NSRange> ranges, int count, @@ -87364,7 +81317,7 @@ class NSTextCheckingResult extends NSObject { } static NSTextCheckingResult - transitInformationCheckingResultWithRange_components_( + transitInformationCheckingResultWithRange_components_( SwiftLibrary _lib, _NSRange range, NSDictionary components, @@ -87691,20 +81644,20 @@ class NSRegularExpression extends NSObject { ) { objc.useMsgSendVariants ? _lib._objc_msgSend_955_stret( - stret, - this.pointer, - _lib._sel_rangeOfFirstMatchInString_options_range_1, - string.pointer, - options, - range, - ) + stret, + this.pointer, + _lib._sel_rangeOfFirstMatchInString_options_range_1, + string.pointer, + options, + range, + ) : stret.ref = _lib._objc_msgSend_955( - this.pointer, - _lib._sel_rangeOfFirstMatchInString_options_range_1, - string.pointer, - options, - range, - ); + this.pointer, + _lib._sel_rangeOfFirstMatchInString_options_range_1, + string.pointer, + options, + range, + ); } NSString stringByReplacingMatchesInString_options_range_withTemplate_( @@ -87915,54 +81868,49 @@ abstract class NSMatchingOptions { } void -_ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool_fnPtrTrampoline( + _ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool_fnPtrTrampoline( ffi.Pointer block, ffi.Pointer arg0, int arg1, ffi.Pointer arg2, -) => block.ref.target - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.Int32 arg1, - ffi.Pointer arg2, - ) - > - >() - .asFunction< - void Function(ffi.Pointer, int, ffi.Pointer) - >()(arg0, arg1, arg2); +) => + block.ref.target + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Int32 arg1, + ffi.Pointer arg2, + )>>() + .asFunction< + void Function(ffi.Pointer, int, + ffi.Pointer)>()(arg0, arg1, arg2); final _ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool_closureRegistry = - < - int, - void Function(ffi.Pointer, int, ffi.Pointer) - >{}; -int -_ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool_closureRegistryIndex = + , int, ffi.Pointer)>{}; +int _ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool_closureRegistryIndex = 0; ffi.Pointer -_ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool_registerClosure( + _ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool_registerClosure( void Function(ffi.Pointer, int, ffi.Pointer) fn, ) { final id = ++_ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool_closureRegistryIndex; - _ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool_closureRegistry[id] = - fn; + _ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool_closureRegistry[ + id] = fn; return ffi.Pointer.fromAddress(id); } void -_ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool_closureTrampoline( + _ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool_closureTrampoline( ffi.Pointer block, ffi.Pointer arg0, int arg1, ffi.Pointer arg2, ) => - _ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool_closureRegistry[block - .ref - .target - .address]!(arg0, arg1, arg2); + _ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool_closureRegistry[ + block.ref.target.address]!(arg0, arg1, arg2); class ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool extends objc.ObjCBlockBase { @@ -87977,7 +81925,7 @@ class ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool /// Returns a block that wraps the given raw block pointer. static ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool - castFromPointer( + castFromPointer( SwiftLibrary lib, ffi.Pointer pointer, { bool retain = false, @@ -87999,28 +81947,27 @@ class ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool.fromFunctionPointer( SwiftLibrary lib, ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.Int32 arg1, - ffi.Pointer arg2, - ) - > - > ptr, - ) : this._(objc.newBlock( - _cFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer, - ) - >( - _ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool_fnPtrTrampoline, - ).cast(), - ptr.cast(), - ), lib); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Int32 arg1, + ffi.Pointer arg2, + )>> + ptr, + ) : this._( + objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + )>( + _ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool_fnPtrTrampoline, + ).cast(), + ptr.cast(), + ), + lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -88031,37 +81978,38 @@ class ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool.fromFunction( SwiftLibrary lib, void Function(NSTextCheckingResult?, int, ffi.Pointer) fn, - ) : this._(objc.newBlock( - _dartFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer, - ) - >( - _ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool_closureTrampoline, - ).cast(), - _ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool_registerClosure( - ( - ffi.Pointer arg0, - int arg1, - ffi.Pointer arg2, - ) => fn( - arg0.address == 0 - ? null - : NSTextCheckingResult._( - arg0, - lib, - retain: true, - release: true, + ) : this._( + objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + )>( + _ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool_closureTrampoline, + ).cast(), + _ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool_registerClosure( + ( + ffi.Pointer arg0, + int arg1, + ffi.Pointer arg2, + ) => + fn( + arg0.address == 0 + ? null + : NSTextCheckingResult._( + arg0, + lib, + retain: true, + release: true, + ), + arg1, + arg2, ), - arg1, - arg2, - ), - ), - ), lib); + ), + ), + lib); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -88076,70 +82024,69 @@ class ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool.listener( SwiftLibrary lib, void Function(NSTextCheckingResult?, int, ffi.Pointer) fn, - ) : this._(objc.newBlock( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer, - ) - >.listener( - _ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool_closureTrampoline, - )..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool_registerClosure( - ( - ffi.Pointer arg0, - int arg1, - ffi.Pointer arg2, - ) => fn( - arg0.address == 0 - ? null - : NSTextCheckingResult._( - arg0, - lib, - retain: true, - release: true, + ) : this._( + objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + )>.listener( + _ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool_registerClosure( + ( + ffi.Pointer arg0, + int arg1, + ffi.Pointer arg2, + ) => + fn( + arg0.address == 0 + ? null + : NSTextCheckingResult._( + arg0, + lib, + retain: true, + release: true, + ), + arg1, + arg2, ), - arg1, - arg2, - ), - ), - ), lib); + ), + ), + lib); static ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer, - ) - >? _dartFuncListenerTrampoline; + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + )>? _dartFuncListenerTrampoline; void call( NSTextCheckingResult? arg0, int arg1, ffi.Pointer arg2, - ) => pointer.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Int32 arg1, - ffi.Pointer arg2, - ) - > - >() - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ) - >()(pointer, arg0?.pointer ?? ffi.nullptr, arg1, arg2); + ) => + pointer.ref.invoke + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Int32 arg1, + ffi.Pointer arg2, + )>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + )>()(pointer, arg0?.pointer ?? ffi.nullptr, arg1, arg2); } abstract class NSMatchingFlags { @@ -88856,11 +82803,12 @@ class NSURLSessionDataTask extends NSURLSessionTask { void _ObjCBlock_ffiVoid_NSCachedURLResponse_fnPtrTrampoline( ffi.Pointer block, ffi.Pointer arg0, -) => block.ref.target - .cast< - ffi.NativeFunction arg0)> - >() - .asFunction)>()(arg0); +) => + block.ref.target + .cast< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer arg0)>>() + .asFunction)>()(arg0); final _ObjCBlock_ffiVoid_NSCachedURLResponse_closureRegistry = )>{}; int _ObjCBlock_ffiVoid_NSCachedURLResponse_closureRegistryIndex = 0; @@ -88875,10 +82823,9 @@ ffi.Pointer _ObjCBlock_ffiVoid_NSCachedURLResponse_registerClosure( void _ObjCBlock_ffiVoid_NSCachedURLResponse_closureTrampoline( ffi.Pointer block, ffi.Pointer arg0, -) => _ObjCBlock_ffiVoid_NSCachedURLResponse_closureRegistry[block - .ref - .target - .address]!(arg0); +) => + _ObjCBlock_ffiVoid_NSCachedURLResponse_closureRegistry[ + block.ref.target.address]!(arg0); class ObjCBlock_ffiVoid_NSCachedURLResponse extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSCachedURLResponse._( @@ -88913,18 +82860,20 @@ class ObjCBlock_ffiVoid_NSCachedURLResponse extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSCachedURLResponse.fromFunctionPointer( SwiftLibrary lib, ffi.Pointer< - ffi.NativeFunction arg0)> - > ptr, - ) : this._(objc.newBlock( - _cFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ) - >(_ObjCBlock_ffiVoid_NSCachedURLResponse_fnPtrTrampoline).cast(), - ptr.cast(), - ), lib); + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer arg0)>> + ptr, + ) : this._( + objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + )>(_ObjCBlock_ffiVoid_NSCachedURLResponse_fnPtrTrampoline) + .cast(), + ptr.cast(), + ), + lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -88935,22 +82884,26 @@ class ObjCBlock_ffiVoid_NSCachedURLResponse extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSCachedURLResponse.fromFunction( SwiftLibrary lib, void Function(NSCachedURLResponse?) fn, - ) : this._(objc.newBlock( - _dartFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ) - >(_ObjCBlock_ffiVoid_NSCachedURLResponse_closureTrampoline).cast(), - _ObjCBlock_ffiVoid_NSCachedURLResponse_registerClosure(( - ffi.Pointer arg0, - ) => fn( - arg0.address == 0 - ? null - : NSCachedURLResponse._(arg0, lib, retain: true, release: true), - )), - ), lib); + ) : this._( + objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + )>( + _ObjCBlock_ffiVoid_NSCachedURLResponse_closureTrampoline) + .cast(), + _ObjCBlock_ffiVoid_NSCachedURLResponse_registerClosure(( + ffi.Pointer arg0, + ) => + fn( + arg0.address == 0 + ? null + : NSCachedURLResponse._(arg0, lib, + retain: true, release: true), + )), + ), + lib); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -88965,41 +82918,44 @@ class ObjCBlock_ffiVoid_NSCachedURLResponse extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSCachedURLResponse.listener( SwiftLibrary lib, void Function(NSCachedURLResponse?) fn, - ) : this._(objc.newBlock( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ) - >.listener( - _ObjCBlock_ffiVoid_NSCachedURLResponse_closureTrampoline, - )..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSCachedURLResponse_registerClosure(( - ffi.Pointer arg0, - ) => fn( - arg0.address == 0 - ? null - : NSCachedURLResponse._(arg0, lib, retain: true, release: true), - )), - ), lib); + ) : this._( + objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + )>.listener( + _ObjCBlock_ffiVoid_NSCachedURLResponse_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSCachedURLResponse_registerClosure(( + ffi.Pointer arg0, + ) => + fn( + arg0.address == 0 + ? null + : NSCachedURLResponse._(arg0, lib, + retain: true, release: true), + )), + ), + lib); static ffi.NativeCallable< - ffi.Void Function(ffi.Pointer, ffi.Pointer) - >? _dartFuncListenerTrampoline; + ffi.Void Function( + ffi.Pointer, ffi.Pointer)>? + _dartFuncListenerTrampoline; void call(NSCachedURLResponse? arg0) => pointer.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer block, - ffi.Pointer arg0, - ) - > - >() - .asFunction< - void Function(ffi.Pointer, ffi.Pointer) - >()(pointer, arg0?.pointer ?? ffi.nullptr); + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer block, + ffi.Pointer arg0, + )>>() + .asFunction< + void Function( + ffi.Pointer, ffi.Pointer)>()( + pointer, arg0?.pointer ?? ffi.nullptr); } class NSURLConnection extends NSObject { @@ -89308,35 +83264,30 @@ void _ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError_fnPtrTrampoline( ffi.Pointer arg0, ffi.Pointer arg1, ffi.Pointer arg2, -) => block.ref.target - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2, - ) - > - >() - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >()(arg0, arg1, arg2); -final _ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError_closureRegistry = - < - int, - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >{}; +) => + block.ref.target + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, + )>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>()(arg0, arg1, arg2); +final _ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError_closureRegistry = , + ffi.Pointer, + ffi.Pointer, +)>{}; int _ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError_closureRegistryIndex = 0; ffi.Pointer -_ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError_registerClosure( + _ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError_registerClosure( void Function( ffi.Pointer, ffi.Pointer, @@ -89354,10 +83305,9 @@ void _ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError_closureTrampoline( ffi.Pointer arg0, ffi.Pointer arg1, ffi.Pointer arg2, -) => _ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError_closureRegistry[block - .ref - .target - .address]!(arg0, arg1, arg2); +) => + _ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError_closureRegistry[ + block.ref.target.address]!(arg0, arg1, arg2); class ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError extends objc.ObjCBlockBase { @@ -89393,28 +83343,27 @@ class ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError.fromFunctionPointer( SwiftLibrary lib, ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2, - ) - > - > ptr, - ) : this._(objc.newBlock( - _cFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >( - _ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError_fnPtrTrampoline, - ).cast(), - ptr.cast(), - ), lib); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, + )>> + ptr, + ) : this._( + objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>( + _ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError_fnPtrTrampoline, + ).cast(), + ptr.cast(), + ), + lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -89425,34 +83374,36 @@ class ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError.fromFunction( SwiftLibrary lib, void Function(NSURLResponse?, NSData?, NSError?) fn, - ) : this._(objc.newBlock( - _dartFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >( - _ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError_closureTrampoline, - ).cast(), - _ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError_registerClosure(( - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2, - ) => fn( - arg0.address == 0 - ? null - : NSURLResponse._(arg0, lib, retain: true, release: true), - arg1.address == 0 - ? null - : NSData._(arg1, lib, retain: true, release: true), - arg2.address == 0 - ? null - : NSError._(arg2, lib, retain: true, release: true), - )), - ), lib); + ) : this._( + objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>( + _ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError_closureTrampoline, + ).cast(), + _ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError_registerClosure(( + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, + ) => + fn( + arg0.address == 0 + ? null + : NSURLResponse._(arg0, lib, + retain: true, release: true), + arg1.address == 0 + ? null + : NSData._(arg1, lib, retain: true, release: true), + arg2.address == 0 + ? null + : NSError._(arg2, lib, retain: true, release: true), + )), + ), + lib); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -89467,70 +83418,68 @@ class ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError.listener( SwiftLibrary lib, void Function(NSURLResponse?, NSData?, NSError?) fn, - ) : this._(objc.newBlock( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( + ) : this._( + objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>.listener( + _ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError_registerClosure(( + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, + ) => + fn( + arg0.address == 0 + ? null + : NSURLResponse._(arg0, lib, + retain: true, release: true), + arg1.address == 0 + ? null + : NSData._(arg1, lib, retain: true, release: true), + arg2.address == 0 + ? null + : NSError._(arg2, lib, retain: true, release: true), + )), + ), + lib); + static ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>? _dartFuncListenerTrampoline; + + void call(NSURLResponse? arg0, NSData? arg1, NSError? arg2) => + pointer.ref.invoke + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, + )>>() + .asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - >.listener( - _ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError_closureTrampoline, - )..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError_registerClosure(( - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2, - ) => fn( - arg0.address == 0 - ? null - : NSURLResponse._(arg0, lib, retain: true, release: true), - arg1.address == 0 - ? null - : NSData._(arg1, lib, retain: true, release: true), - arg2.address == 0 - ? null - : NSError._(arg2, lib, retain: true, release: true), - )), - ), lib); - static ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >? _dartFuncListenerTrampoline; - - void call(NSURLResponse? arg0, NSData? arg1, NSError? arg2) => pointer - .ref - .invoke - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2, - ) - > - >() - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >()( - pointer, - arg0?.pointer ?? ffi.nullptr, - arg1?.pointer ?? ffi.nullptr, - arg2?.pointer ?? ffi.nullptr, - ); + )>()( + pointer, + arg0?.pointer ?? ffi.nullptr, + arg1?.pointer ?? ffi.nullptr, + arg2?.pointer ?? ffi.nullptr, + ); } class NSURLCredential extends NSObject { @@ -90425,11 +84374,12 @@ class NSURLCredentialStorage extends NSObject { void _ObjCBlock_ffiVoid_NSDictionary_fnPtrTrampoline( ffi.Pointer block, ffi.Pointer arg0, -) => block.ref.target - .cast< - ffi.NativeFunction arg0)> - >() - .asFunction)>()(arg0); +) => + block.ref.target + .cast< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer arg0)>>() + .asFunction)>()(arg0); final _ObjCBlock_ffiVoid_NSDictionary_closureRegistry = )>{}; int _ObjCBlock_ffiVoid_NSDictionary_closureRegistryIndex = 0; @@ -90444,9 +84394,10 @@ ffi.Pointer _ObjCBlock_ffiVoid_NSDictionary_registerClosure( void _ObjCBlock_ffiVoid_NSDictionary_closureTrampoline( ffi.Pointer block, ffi.Pointer arg0, -) => _ObjCBlock_ffiVoid_NSDictionary_closureRegistry[block.ref.target.address]!( - arg0, -); +) => + _ObjCBlock_ffiVoid_NSDictionary_closureRegistry[block.ref.target.address]!( + arg0, + ); class ObjCBlock_ffiVoid_NSDictionary extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSDictionary._( @@ -90481,18 +84432,20 @@ class ObjCBlock_ffiVoid_NSDictionary extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSDictionary.fromFunctionPointer( SwiftLibrary lib, ffi.Pointer< - ffi.NativeFunction arg0)> - > ptr, - ) : this._(objc.newBlock( - _cFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ) - >(_ObjCBlock_ffiVoid_NSDictionary_fnPtrTrampoline).cast(), - ptr.cast(), - ), lib); + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer arg0)>> + ptr, + ) : this._( + objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + )>(_ObjCBlock_ffiVoid_NSDictionary_fnPtrTrampoline) + .cast(), + ptr.cast(), + ), + lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -90503,22 +84456,25 @@ class ObjCBlock_ffiVoid_NSDictionary extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSDictionary.fromFunction( SwiftLibrary lib, void Function(NSDictionary?) fn, - ) : this._(objc.newBlock( - _dartFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ) - >(_ObjCBlock_ffiVoid_NSDictionary_closureTrampoline).cast(), - _ObjCBlock_ffiVoid_NSDictionary_registerClosure(( - ffi.Pointer arg0, - ) => fn( - arg0.address == 0 - ? null - : NSDictionary._(arg0, lib, retain: true, release: true), - )), - ), lib); + ) : this._( + objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + )>(_ObjCBlock_ffiVoid_NSDictionary_closureTrampoline) + .cast(), + _ObjCBlock_ffiVoid_NSDictionary_registerClosure(( + ffi.Pointer arg0, + ) => + fn( + arg0.address == 0 + ? null + : NSDictionary._(arg0, lib, + retain: true, release: true), + )), + ), + lib); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -90533,51 +84489,55 @@ class ObjCBlock_ffiVoid_NSDictionary extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSDictionary.listener( SwiftLibrary lib, void Function(NSDictionary?) fn, - ) : this._(objc.newBlock( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ) - >.listener( - _ObjCBlock_ffiVoid_NSDictionary_closureTrampoline, - )..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSDictionary_registerClosure(( - ffi.Pointer arg0, - ) => fn( - arg0.address == 0 - ? null - : NSDictionary._(arg0, lib, retain: true, release: true), - )), - ), lib); + ) : this._( + objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + )>.listener( + _ObjCBlock_ffiVoid_NSDictionary_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSDictionary_registerClosure(( + ffi.Pointer arg0, + ) => + fn( + arg0.address == 0 + ? null + : NSDictionary._(arg0, lib, + retain: true, release: true), + )), + ), + lib); static ffi.NativeCallable< - ffi.Void Function(ffi.Pointer, ffi.Pointer) - >? _dartFuncListenerTrampoline; + ffi.Void Function( + ffi.Pointer, ffi.Pointer)>? + _dartFuncListenerTrampoline; void call(NSDictionary? arg0) => pointer.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer block, - ffi.Pointer arg0, - ) - > - >() - .asFunction< - void Function(ffi.Pointer, ffi.Pointer) - >()(pointer, arg0?.pointer ?? ffi.nullptr); + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer block, + ffi.Pointer arg0, + )>>() + .asFunction< + void Function( + ffi.Pointer, ffi.Pointer)>()( + pointer, arg0?.pointer ?? ffi.nullptr); } void _ObjCBlock_ffiVoid_NSURLCredential_fnPtrTrampoline( ffi.Pointer block, ffi.Pointer arg0, -) => block.ref.target - .cast< - ffi.NativeFunction arg0)> - >() - .asFunction)>()(arg0); +) => + block.ref.target + .cast< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer arg0)>>() + .asFunction)>()(arg0); final _ObjCBlock_ffiVoid_NSURLCredential_closureRegistry = )>{}; int _ObjCBlock_ffiVoid_NSURLCredential_closureRegistryIndex = 0; @@ -90592,10 +84552,9 @@ ffi.Pointer _ObjCBlock_ffiVoid_NSURLCredential_registerClosure( void _ObjCBlock_ffiVoid_NSURLCredential_closureTrampoline( ffi.Pointer block, ffi.Pointer arg0, -) => _ObjCBlock_ffiVoid_NSURLCredential_closureRegistry[block - .ref - .target - .address]!(arg0); +) => + _ObjCBlock_ffiVoid_NSURLCredential_closureRegistry[ + block.ref.target.address]!(arg0); class ObjCBlock_ffiVoid_NSURLCredential extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSURLCredential._( @@ -90630,18 +84589,20 @@ class ObjCBlock_ffiVoid_NSURLCredential extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSURLCredential.fromFunctionPointer( SwiftLibrary lib, ffi.Pointer< - ffi.NativeFunction arg0)> - > ptr, - ) : this._(objc.newBlock( - _cFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ) - >(_ObjCBlock_ffiVoid_NSURLCredential_fnPtrTrampoline).cast(), - ptr.cast(), - ), lib); + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer arg0)>> + ptr, + ) : this._( + objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + )>(_ObjCBlock_ffiVoid_NSURLCredential_fnPtrTrampoline) + .cast(), + ptr.cast(), + ), + lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -90652,22 +84613,25 @@ class ObjCBlock_ffiVoid_NSURLCredential extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSURLCredential.fromFunction( SwiftLibrary lib, void Function(NSURLCredential?) fn, - ) : this._(objc.newBlock( - _dartFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ) - >(_ObjCBlock_ffiVoid_NSURLCredential_closureTrampoline).cast(), - _ObjCBlock_ffiVoid_NSURLCredential_registerClosure(( - ffi.Pointer arg0, - ) => fn( - arg0.address == 0 - ? null - : NSURLCredential._(arg0, lib, retain: true, release: true), - )), - ), lib); + ) : this._( + objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + )>(_ObjCBlock_ffiVoid_NSURLCredential_closureTrampoline) + .cast(), + _ObjCBlock_ffiVoid_NSURLCredential_registerClosure(( + ffi.Pointer arg0, + ) => + fn( + arg0.address == 0 + ? null + : NSURLCredential._(arg0, lib, + retain: true, release: true), + )), + ), + lib); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -90682,41 +84646,44 @@ class ObjCBlock_ffiVoid_NSURLCredential extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSURLCredential.listener( SwiftLibrary lib, void Function(NSURLCredential?) fn, - ) : this._(objc.newBlock( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ) - >.listener( - _ObjCBlock_ffiVoid_NSURLCredential_closureTrampoline, - )..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSURLCredential_registerClosure(( - ffi.Pointer arg0, - ) => fn( - arg0.address == 0 - ? null - : NSURLCredential._(arg0, lib, retain: true, release: true), - )), - ), lib); + ) : this._( + objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + )>.listener( + _ObjCBlock_ffiVoid_NSURLCredential_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSURLCredential_registerClosure(( + ffi.Pointer arg0, + ) => + fn( + arg0.address == 0 + ? null + : NSURLCredential._(arg0, lib, + retain: true, release: true), + )), + ), + lib); static ffi.NativeCallable< - ffi.Void Function(ffi.Pointer, ffi.Pointer) - >? _dartFuncListenerTrampoline; + ffi.Void Function( + ffi.Pointer, ffi.Pointer)>? + _dartFuncListenerTrampoline; void call(NSURLCredential? arg0) => pointer.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer block, - ffi.Pointer arg0, - ) - > - >() - .asFunction< - void Function(ffi.Pointer, ffi.Pointer) - >()(pointer, arg0?.pointer ?? ffi.nullptr); + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer block, + ffi.Pointer arg0, + )>>() + .asFunction< + void Function( + ffi.Pointer, ffi.Pointer)>()( + pointer, arg0?.pointer ?? ffi.nullptr); } class NSURLProtocol extends NSObject { @@ -92974,7 +86941,7 @@ class NSURLSessionConfiguration extends NSObject { } static NSURLSessionConfiguration - backgroundSessionConfigurationWithIdentifier_( + backgroundSessionConfigurationWithIdentifier_( SwiftLibrary _lib, NSString identifier, ) { @@ -93008,13 +86975,13 @@ class NSURLSessionConfiguration extends NSObject { double get timeoutIntervalForRequest { return objc.useMsgSendVariants ? _lib._objc_msgSend_165_fpret( - this.pointer, - _lib._sel_timeoutIntervalForRequest1, - ) + this.pointer, + _lib._sel_timeoutIntervalForRequest1, + ) : _lib._objc_msgSend_165( - this.pointer, - _lib._sel_timeoutIntervalForRequest1, - ); + this.pointer, + _lib._sel_timeoutIntervalForRequest1, + ); } set timeoutIntervalForRequest(double value) { @@ -93028,13 +86995,13 @@ class NSURLSessionConfiguration extends NSObject { double get timeoutIntervalForResource { return objc.useMsgSendVariants ? _lib._objc_msgSend_165_fpret( - this.pointer, - _lib._sel_timeoutIntervalForResource1, - ) + this.pointer, + _lib._sel_timeoutIntervalForResource1, + ) : _lib._objc_msgSend_165( - this.pointer, - _lib._sel_timeoutIntervalForResource1, - ); + this.pointer, + _lib._sel_timeoutIntervalForResource1, + ); } set timeoutIntervalForResource(double value) { @@ -93614,35 +87581,30 @@ void _ObjCBlock_ffiVoid_NSArray_NSArray_NSArray_fnPtrTrampoline( ffi.Pointer arg0, ffi.Pointer arg1, ffi.Pointer arg2, -) => block.ref.target - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2, - ) - > - >() - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >()(arg0, arg1, arg2); -final _ObjCBlock_ffiVoid_NSArray_NSArray_NSArray_closureRegistry = - < - int, - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >{}; +) => + block.ref.target + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, + )>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>()(arg0, arg1, arg2); +final _ObjCBlock_ffiVoid_NSArray_NSArray_NSArray_closureRegistry = , + ffi.Pointer, + ffi.Pointer, +)>{}; int _ObjCBlock_ffiVoid_NSArray_NSArray_NSArray_closureRegistryIndex = 0; ffi.Pointer -_ObjCBlock_ffiVoid_NSArray_NSArray_NSArray_registerClosure( + _ObjCBlock_ffiVoid_NSArray_NSArray_NSArray_registerClosure( void Function( ffi.Pointer, ffi.Pointer, @@ -93659,10 +87621,9 @@ void _ObjCBlock_ffiVoid_NSArray_NSArray_NSArray_closureTrampoline( ffi.Pointer arg0, ffi.Pointer arg1, ffi.Pointer arg2, -) => _ObjCBlock_ffiVoid_NSArray_NSArray_NSArray_closureRegistry[block - .ref - .target - .address]!(arg0, arg1, arg2); +) => + _ObjCBlock_ffiVoid_NSArray_NSArray_NSArray_closureRegistry[ + block.ref.target.address]!(arg0, arg1, arg2); class ObjCBlock_ffiVoid_NSArray_NSArray_NSArray extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSArray_NSArray_NSArray._( @@ -93697,28 +87658,27 @@ class ObjCBlock_ffiVoid_NSArray_NSArray_NSArray extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSArray_NSArray_NSArray.fromFunctionPointer( SwiftLibrary lib, ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2, - ) - > - > ptr, - ) : this._(objc.newBlock( - _cFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >( - _ObjCBlock_ffiVoid_NSArray_NSArray_NSArray_fnPtrTrampoline, - ).cast(), - ptr.cast(), - ), lib); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, + )>> + ptr, + ) : this._( + objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>( + _ObjCBlock_ffiVoid_NSArray_NSArray_NSArray_fnPtrTrampoline, + ).cast(), + ptr.cast(), + ), + lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -93729,28 +87689,29 @@ class ObjCBlock_ffiVoid_NSArray_NSArray_NSArray extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSArray_NSArray_NSArray.fromFunction( SwiftLibrary lib, void Function(NSArray, NSArray, NSArray) fn, - ) : this._(objc.newBlock( - _dartFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >( - _ObjCBlock_ffiVoid_NSArray_NSArray_NSArray_closureTrampoline, - ).cast(), - _ObjCBlock_ffiVoid_NSArray_NSArray_NSArray_registerClosure(( - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2, - ) => fn( - NSArray._(arg0, lib, retain: true, release: true), - NSArray._(arg1, lib, retain: true, release: true), - NSArray._(arg2, lib, retain: true, release: true), - )), - ), lib); + ) : this._( + objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>( + _ObjCBlock_ffiVoid_NSArray_NSArray_NSArray_closureTrampoline, + ).cast(), + _ObjCBlock_ffiVoid_NSArray_NSArray_NSArray_registerClosure(( + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, + ) => + fn( + NSArray._(arg0, lib, retain: true, release: true), + NSArray._(arg1, lib, retain: true, release: true), + NSArray._(arg2, lib, retain: true, release: true), + )), + ), + lib); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -93765,67 +87726,66 @@ class ObjCBlock_ffiVoid_NSArray_NSArray_NSArray extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSArray_NSArray_NSArray.listener( SwiftLibrary lib, void Function(NSArray, NSArray, NSArray) fn, - ) : this._(objc.newBlock( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >.listener( - _ObjCBlock_ffiVoid_NSArray_NSArray_NSArray_closureTrampoline, - )..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSArray_NSArray_NSArray_registerClosure(( - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2, - ) => fn( - NSArray._(arg0, lib, retain: true, release: true), - NSArray._(arg1, lib, retain: true, release: true), - NSArray._(arg2, lib, retain: true, release: true), - )), - ), lib); + ) : this._( + objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>.listener( + _ObjCBlock_ffiVoid_NSArray_NSArray_NSArray_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSArray_NSArray_NSArray_registerClosure(( + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, + ) => + fn( + NSArray._(arg0, lib, retain: true, release: true), + NSArray._(arg1, lib, retain: true, release: true), + NSArray._(arg2, lib, retain: true, release: true), + )), + ), + lib); static ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >? _dartFuncListenerTrampoline; + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>? _dartFuncListenerTrampoline; void call(NSArray arg0, NSArray arg1, NSArray arg2) => pointer.ref.invoke .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2, - ) - > - >() + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, + )>>() .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >()(pointer, arg0.pointer, arg1.pointer, arg2.pointer); + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>()(pointer, arg0.pointer, arg1.pointer, arg2.pointer); } void _ObjCBlock_ffiVoid_NSArray1_fnPtrTrampoline( ffi.Pointer block, ffi.Pointer arg0, -) => block.ref.target - .cast< - ffi.NativeFunction arg0)> - >() - .asFunction)>()(arg0); +) => + block.ref.target + .cast< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer arg0)>>() + .asFunction)>()(arg0); final _ObjCBlock_ffiVoid_NSArray1_closureRegistry = )>{}; int _ObjCBlock_ffiVoid_NSArray1_closureRegistryIndex = 0; @@ -93840,9 +87800,10 @@ ffi.Pointer _ObjCBlock_ffiVoid_NSArray1_registerClosure( void _ObjCBlock_ffiVoid_NSArray1_closureTrampoline( ffi.Pointer block, ffi.Pointer arg0, -) => _ObjCBlock_ffiVoid_NSArray1_closureRegistry[block.ref.target.address]!( - arg0, -); +) => + _ObjCBlock_ffiVoid_NSArray1_closureRegistry[block.ref.target.address]!( + arg0, + ); class ObjCBlock_ffiVoid_NSArray1 extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSArray1._( @@ -93877,18 +87838,20 @@ class ObjCBlock_ffiVoid_NSArray1 extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSArray1.fromFunctionPointer( SwiftLibrary lib, ffi.Pointer< - ffi.NativeFunction arg0)> - > ptr, - ) : this._(objc.newBlock( - _cFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ) - >(_ObjCBlock_ffiVoid_NSArray1_fnPtrTrampoline).cast(), - ptr.cast(), - ), lib); + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer arg0)>> + ptr, + ) : this._( + objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + )>(_ObjCBlock_ffiVoid_NSArray1_fnPtrTrampoline) + .cast(), + ptr.cast(), + ), + lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -93899,18 +87862,20 @@ class ObjCBlock_ffiVoid_NSArray1 extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSArray1.fromFunction( SwiftLibrary lib, void Function(NSArray) fn, - ) : this._(objc.newBlock( - _dartFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ) - >(_ObjCBlock_ffiVoid_NSArray1_closureTrampoline).cast(), - _ObjCBlock_ffiVoid_NSArray1_registerClosure(( - ffi.Pointer arg0, - ) => fn(NSArray._(arg0, lib, retain: true, release: true))), - ), lib); + ) : this._( + objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + )>(_ObjCBlock_ffiVoid_NSArray1_closureTrampoline) + .cast(), + _ObjCBlock_ffiVoid_NSArray1_registerClosure(( + ffi.Pointer arg0, + ) => + fn(NSArray._(arg0, lib, retain: true, release: true))), + ), + lib); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -93925,37 +87890,38 @@ class ObjCBlock_ffiVoid_NSArray1 extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSArray1.listener( SwiftLibrary lib, void Function(NSArray) fn, - ) : this._(objc.newBlock( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ) - >.listener( - _ObjCBlock_ffiVoid_NSArray1_closureTrampoline, - )..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSArray1_registerClosure(( - ffi.Pointer arg0, - ) => fn(NSArray._(arg0, lib, retain: true, release: true))), - ), lib); + ) : this._( + objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + )>.listener( + _ObjCBlock_ffiVoid_NSArray1_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSArray1_registerClosure(( + ffi.Pointer arg0, + ) => + fn(NSArray._(arg0, lib, retain: true, release: true))), + ), + lib); static ffi.NativeCallable< - ffi.Void Function(ffi.Pointer, ffi.Pointer) - >? _dartFuncListenerTrampoline; + ffi.Void Function( + ffi.Pointer, ffi.Pointer)>? + _dartFuncListenerTrampoline; void call(NSArray arg0) => pointer.ref.invoke .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer block, - ffi.Pointer arg0, - ) - > - >() + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer block, + ffi.Pointer arg0, + )>>() .asFunction< - void Function(ffi.Pointer, ffi.Pointer) - >()(pointer, arg0.pointer); + void Function(ffi.Pointer, + ffi.Pointer)>()(pointer, arg0.pointer); } class NSURLSessionUploadTask extends NSURLSessionDataTask { @@ -94143,11 +88109,12 @@ class NSURLSessionUploadTask extends NSURLSessionDataTask { void _ObjCBlock_ffiVoid_NSData_fnPtrTrampoline( ffi.Pointer block, ffi.Pointer arg0, -) => block.ref.target - .cast< - ffi.NativeFunction arg0)> - >() - .asFunction)>()(arg0); +) => + block.ref.target + .cast< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer arg0)>>() + .asFunction)>()(arg0); final _ObjCBlock_ffiVoid_NSData_closureRegistry = )>{}; int _ObjCBlock_ffiVoid_NSData_closureRegistryIndex = 0; @@ -94162,7 +88129,8 @@ ffi.Pointer _ObjCBlock_ffiVoid_NSData_registerClosure( void _ObjCBlock_ffiVoid_NSData_closureTrampoline( ffi.Pointer block, ffi.Pointer arg0, -) => _ObjCBlock_ffiVoid_NSData_closureRegistry[block.ref.target.address]!(arg0); +) => + _ObjCBlock_ffiVoid_NSData_closureRegistry[block.ref.target.address]!(arg0); class ObjCBlock_ffiVoid_NSData extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSData._( @@ -94197,18 +88165,20 @@ class ObjCBlock_ffiVoid_NSData extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSData.fromFunctionPointer( SwiftLibrary lib, ffi.Pointer< - ffi.NativeFunction arg0)> - > ptr, - ) : this._(objc.newBlock( - _cFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ) - >(_ObjCBlock_ffiVoid_NSData_fnPtrTrampoline).cast(), - ptr.cast(), - ), lib); + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer arg0)>> + ptr, + ) : this._( + objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + )>(_ObjCBlock_ffiVoid_NSData_fnPtrTrampoline) + .cast(), + ptr.cast(), + ), + lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -94219,22 +88189,24 @@ class ObjCBlock_ffiVoid_NSData extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSData.fromFunction( SwiftLibrary lib, void Function(NSData?) fn, - ) : this._(objc.newBlock( - _dartFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ) - >(_ObjCBlock_ffiVoid_NSData_closureTrampoline).cast(), - _ObjCBlock_ffiVoid_NSData_registerClosure(( - ffi.Pointer arg0, - ) => fn( - arg0.address == 0 - ? null - : NSData._(arg0, lib, retain: true, release: true), - )), - ), lib); + ) : this._( + objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + )>(_ObjCBlock_ffiVoid_NSData_closureTrampoline) + .cast(), + _ObjCBlock_ffiVoid_NSData_registerClosure(( + ffi.Pointer arg0, + ) => + fn( + arg0.address == 0 + ? null + : NSData._(arg0, lib, retain: true, release: true), + )), + ), + lib); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -94247,41 +88219,43 @@ class ObjCBlock_ffiVoid_NSData extends objc.ObjCBlockBase { /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. ObjCBlock_ffiVoid_NSData.listener(SwiftLibrary lib, void Function(NSData?) fn) - : this._(objc.newBlock( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ) - >.listener( - _ObjCBlock_ffiVoid_NSData_closureTrampoline, - )..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSData_registerClosure(( - ffi.Pointer arg0, - ) => fn( - arg0.address == 0 - ? null - : NSData._(arg0, lib, retain: true, release: true), - )), - ), lib); + : this._( + objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + )>.listener( + _ObjCBlock_ffiVoid_NSData_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSData_registerClosure(( + ffi.Pointer arg0, + ) => + fn( + arg0.address == 0 + ? null + : NSData._(arg0, lib, retain: true, release: true), + )), + ), + lib); static ffi.NativeCallable< - ffi.Void Function(ffi.Pointer, ffi.Pointer) - >? _dartFuncListenerTrampoline; + ffi.Void Function( + ffi.Pointer, ffi.Pointer)>? + _dartFuncListenerTrampoline; void call(NSData? arg0) => pointer.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer block, - ffi.Pointer arg0, - ) - > - >() - .asFunction< - void Function(ffi.Pointer, ffi.Pointer) - >()(pointer, arg0?.pointer ?? ffi.nullptr); + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer block, + ffi.Pointer arg0, + )>>() + .asFunction< + void Function( + ffi.Pointer, ffi.Pointer)>()( + pointer, arg0?.pointer ?? ffi.nullptr); } class NSURLSessionDownloadTask extends NSURLSessionTask { @@ -94693,32 +88667,27 @@ void _ObjCBlock_ffiVoid_NSData_bool_NSError_fnPtrTrampoline( ffi.Pointer arg0, bool arg1, ffi.Pointer arg2, -) => block.ref.target - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.Bool arg1, - ffi.Pointer arg2, - ) - > - >() - .asFunction< - void Function( - ffi.Pointer, - bool, - ffi.Pointer, - ) - >()(arg0, arg1, arg2); -final _ObjCBlock_ffiVoid_NSData_bool_NSError_closureRegistry = - < - int, - void Function( - ffi.Pointer, - bool, - ffi.Pointer, - ) - >{}; +) => + block.ref.target + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Bool arg1, + ffi.Pointer arg2, + )>>() + .asFunction< + void Function( + ffi.Pointer, + bool, + ffi.Pointer, + )>()(arg0, arg1, arg2); +final _ObjCBlock_ffiVoid_NSData_bool_NSError_closureRegistry = , + bool, + ffi.Pointer, +)>{}; int _ObjCBlock_ffiVoid_NSData_bool_NSError_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_ffiVoid_NSData_bool_NSError_registerClosure( void Function( @@ -94737,10 +88706,9 @@ void _ObjCBlock_ffiVoid_NSData_bool_NSError_closureTrampoline( ffi.Pointer arg0, bool arg1, ffi.Pointer arg2, -) => _ObjCBlock_ffiVoid_NSData_bool_NSError_closureRegistry[block - .ref - .target - .address]!(arg0, arg1, arg2); +) => + _ObjCBlock_ffiVoid_NSData_bool_NSError_closureRegistry[ + block.ref.target.address]!(arg0, arg1, arg2); class ObjCBlock_ffiVoid_NSData_bool_NSError extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSData_bool_NSError._( @@ -94775,26 +88743,26 @@ class ObjCBlock_ffiVoid_NSData_bool_NSError extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSData_bool_NSError.fromFunctionPointer( SwiftLibrary lib, ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.Bool arg1, - ffi.Pointer arg2, - ) - > - > ptr, - ) : this._(objc.newBlock( - _cFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - ffi.Pointer, - ) - >(_ObjCBlock_ffiVoid_NSData_bool_NSError_fnPtrTrampoline).cast(), - ptr.cast(), - ), lib); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Bool arg1, + ffi.Pointer arg2, + )>> + ptr, + ) : this._( + objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.Pointer, + )>(_ObjCBlock_ffiVoid_NSData_bool_NSError_fnPtrTrampoline) + .cast(), + ptr.cast(), + ), + lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -94805,28 +88773,31 @@ class ObjCBlock_ffiVoid_NSData_bool_NSError extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSData_bool_NSError.fromFunction( SwiftLibrary lib, void Function(NSData, bool, NSError?) fn, - ) : this._(objc.newBlock( - _dartFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - ffi.Pointer, - ) - >(_ObjCBlock_ffiVoid_NSData_bool_NSError_closureTrampoline).cast(), - _ObjCBlock_ffiVoid_NSData_bool_NSError_registerClosure(( - ffi.Pointer arg0, - bool arg1, - ffi.Pointer arg2, - ) => fn( - NSData._(arg0, lib, retain: true, release: true), - arg1, - arg2.address == 0 - ? null - : NSError._(arg2, lib, retain: true, release: true), - )), - ), lib); + ) : this._( + objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.Pointer, + )>( + _ObjCBlock_ffiVoid_NSData_bool_NSError_closureTrampoline) + .cast(), + _ObjCBlock_ffiVoid_NSData_bool_NSError_registerClosure(( + ffi.Pointer arg0, + bool arg1, + ffi.Pointer arg2, + ) => + fn( + NSData._(arg0, lib, retain: true, release: true), + arg1, + arg2.address == 0 + ? null + : NSError._(arg2, lib, retain: true, release: true), + )), + ), + lib); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -94841,59 +88812,57 @@ class ObjCBlock_ffiVoid_NSData_bool_NSError extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSData_bool_NSError.listener( SwiftLibrary lib, void Function(NSData, bool, NSError?) fn, - ) : this._(objc.newBlock( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - ffi.Pointer, - ) - >.listener( - _ObjCBlock_ffiVoid_NSData_bool_NSError_closureTrampoline, - )..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSData_bool_NSError_registerClosure(( - ffi.Pointer arg0, - bool arg1, - ffi.Pointer arg2, - ) => fn( - NSData._(arg0, lib, retain: true, release: true), - arg1, - arg2.address == 0 - ? null - : NSError._(arg2, lib, retain: true, release: true), - )), - ), lib); + ) : this._( + objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.Pointer, + )>.listener( + _ObjCBlock_ffiVoid_NSData_bool_NSError_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSData_bool_NSError_registerClosure(( + ffi.Pointer arg0, + bool arg1, + ffi.Pointer arg2, + ) => + fn( + NSData._(arg0, lib, retain: true, release: true), + arg1, + arg2.address == 0 + ? null + : NSError._(arg2, lib, retain: true, release: true), + )), + ), + lib); static ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - ffi.Pointer, - ) - >? _dartFuncListenerTrampoline; + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.Pointer, + )>? _dartFuncListenerTrampoline; void call(NSData arg0, bool arg1, NSError? arg2) => pointer.ref.invoke .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Bool arg1, - ffi.Pointer arg2, - ) - > - >() + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Bool arg1, + ffi.Pointer arg2, + )>>() .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - bool, - ffi.Pointer, - ) - >()(pointer, arg0.pointer, arg1, arg2?.pointer ?? ffi.nullptr); + void Function( + ffi.Pointer, + ffi.Pointer, + bool, + ffi.Pointer, + )>()(pointer, arg0.pointer, arg1, arg2?.pointer ?? ffi.nullptr); } class NSNetService extends NSObject { @@ -95758,28 +89727,25 @@ void _ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError_fnPtrTrampoline( ffi.Pointer block, ffi.Pointer arg0, ffi.Pointer arg1, -) => block.ref.target - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - ) - > - >() - .asFunction< - void Function(ffi.Pointer, ffi.Pointer) - >()(arg0, arg1); +) => + block.ref.target + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + )>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer)>()(arg0, arg1); final _ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError_closureRegistry = - < - int, - void Function(ffi.Pointer, ffi.Pointer) - >{}; -int -_ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError_closureRegistryIndex = + , ffi.Pointer)>{}; +int _ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError_closureRegistryIndex = 0; ffi.Pointer -_ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError_registerClosure( + _ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError_registerClosure( void Function(ffi.Pointer, ffi.Pointer) fn, ) { final id = @@ -95794,10 +89760,8 @@ void _ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError_closureTrampoline( ffi.Pointer arg0, ffi.Pointer arg1, ) => - _ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError_closureRegistry[block - .ref - .target - .address]!(arg0, arg1); + _ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError_closureRegistry[ + block.ref.target.address]!(arg0, arg1); class ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError extends objc.ObjCBlockBase { @@ -95833,26 +89797,25 @@ class ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError.fromFunctionPointer( SwiftLibrary lib, ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - ) - > - > ptr, - ) : this._(objc.newBlock( - _cFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >( - _ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError_fnPtrTrampoline, - ).cast(), - ptr.cast(), - ), lib); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + )>> + ptr, + ) : this._( + objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>( + _ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError_fnPtrTrampoline, + ).cast(), + ptr.cast(), + ), + lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -95863,36 +89826,37 @@ class ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError.fromFunction( SwiftLibrary lib, void Function(NSURLSessionWebSocketMessage?, NSError?) fn, - ) : this._(objc.newBlock( - _dartFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >( - _ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError_closureTrampoline, - ).cast(), - _ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError_registerClosure( - ( - ffi.Pointer arg0, - ffi.Pointer arg1, - ) => fn( - arg0.address == 0 - ? null - : NSURLSessionWebSocketMessage._( - arg0, - lib, - retain: true, - release: true, + ) : this._( + objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>( + _ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError_closureTrampoline, + ).cast(), + _ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError_registerClosure( + ( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) => + fn( + arg0.address == 0 + ? null + : NSURLSessionWebSocketMessage._( + arg0, + lib, + retain: true, + release: true, + ), + arg1.address == 0 + ? null + : NSError._(arg1, lib, retain: true, release: true), ), - arg1.address == 0 - ? null - : NSError._(arg1, lib, retain: true, release: true), - ), - ), - ), lib); + ), + ), + lib); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -95907,64 +89871,62 @@ class ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError.listener( SwiftLibrary lib, void Function(NSURLSessionWebSocketMessage?, NSError?) fn, - ) : this._(objc.newBlock( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >.listener( - _ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError_closureTrampoline, - )..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError_registerClosure( - ( - ffi.Pointer arg0, - ffi.Pointer arg1, - ) => fn( - arg0.address == 0 - ? null - : NSURLSessionWebSocketMessage._( - arg0, - lib, - retain: true, - release: true, + ) : this._( + objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>.listener( + _ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError_registerClosure( + ( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) => + fn( + arg0.address == 0 + ? null + : NSURLSessionWebSocketMessage._( + arg0, + lib, + retain: true, + release: true, + ), + arg1.address == 0 + ? null + : NSError._(arg1, lib, retain: true, release: true), ), - arg1.address == 0 - ? null - : NSError._(arg1, lib, retain: true, release: true), - ), - ), - ), lib); + ), + ), + lib); static ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >? _dartFuncListenerTrampoline; - - void call(NSURLSessionWebSocketMessage? arg0, NSError? arg1) => pointer - .ref - .invoke - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Pointer arg1, - ) - > - >() - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >()(pointer, arg0?.pointer ?? ffi.nullptr, arg1?.pointer ?? ffi.nullptr); + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>? _dartFuncListenerTrampoline; + + void call(NSURLSessionWebSocketMessage? arg0, NSError? arg1) => + pointer.ref.invoke + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, + )>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>()( + pointer, arg0?.pointer ?? ffi.nullptr, arg1?.pointer ?? ffi.nullptr); } abstract class NSURLSessionWebSocketCloseCode { @@ -95989,35 +89951,30 @@ void _ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError_fnPtrTrampoline( ffi.Pointer arg0, ffi.Pointer arg1, ffi.Pointer arg2, -) => block.ref.target - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2, - ) - > - >() - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >()(arg0, arg1, arg2); -final _ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError_closureRegistry = - < - int, - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >{}; +) => + block.ref.target + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, + )>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>()(arg0, arg1, arg2); +final _ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError_closureRegistry = , + ffi.Pointer, + ffi.Pointer, +)>{}; int _ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError_closureRegistryIndex = 0; ffi.Pointer -_ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError_registerClosure( + _ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError_registerClosure( void Function( ffi.Pointer, ffi.Pointer, @@ -96035,10 +89992,9 @@ void _ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError_closureTrampoline( ffi.Pointer arg0, ffi.Pointer arg1, ffi.Pointer arg2, -) => _ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError_closureRegistry[block - .ref - .target - .address]!(arg0, arg1, arg2); +) => + _ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError_closureRegistry[ + block.ref.target.address]!(arg0, arg1, arg2); class ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError extends objc.ObjCBlockBase { @@ -96074,28 +90030,27 @@ class ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError.fromFunctionPointer( SwiftLibrary lib, ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2, - ) - > - > ptr, - ) : this._(objc.newBlock( - _cFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >( - _ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError_fnPtrTrampoline, - ).cast(), - ptr.cast(), - ), lib); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, + )>> + ptr, + ) : this._( + objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>( + _ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError_fnPtrTrampoline, + ).cast(), + ptr.cast(), + ), + lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -96106,34 +90061,36 @@ class ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError.fromFunction( SwiftLibrary lib, void Function(NSData?, NSURLResponse?, NSError?) fn, - ) : this._(objc.newBlock( - _dartFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >( - _ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError_closureTrampoline, - ).cast(), - _ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError_registerClosure(( - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2, - ) => fn( - arg0.address == 0 - ? null - : NSData._(arg0, lib, retain: true, release: true), - arg1.address == 0 - ? null - : NSURLResponse._(arg1, lib, retain: true, release: true), - arg2.address == 0 - ? null - : NSError._(arg2, lib, retain: true, release: true), - )), - ), lib); + ) : this._( + objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>( + _ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError_closureTrampoline, + ).cast(), + _ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError_registerClosure(( + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, + ) => + fn( + arg0.address == 0 + ? null + : NSData._(arg0, lib, retain: true, release: true), + arg1.address == 0 + ? null + : NSURLResponse._(arg1, lib, + retain: true, release: true), + arg2.address == 0 + ? null + : NSError._(arg2, lib, retain: true, release: true), + )), + ), + lib); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -96148,70 +90105,68 @@ class ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError.listener( SwiftLibrary lib, void Function(NSData?, NSURLResponse?, NSError?) fn, - ) : this._(objc.newBlock( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( + ) : this._( + objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>.listener( + _ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError_registerClosure(( + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, + ) => + fn( + arg0.address == 0 + ? null + : NSData._(arg0, lib, retain: true, release: true), + arg1.address == 0 + ? null + : NSURLResponse._(arg1, lib, + retain: true, release: true), + arg2.address == 0 + ? null + : NSError._(arg2, lib, retain: true, release: true), + )), + ), + lib); + static ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>? _dartFuncListenerTrampoline; + + void call(NSData? arg0, NSURLResponse? arg1, NSError? arg2) => + pointer.ref.invoke + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, + )>>() + .asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - >.listener( - _ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError_closureTrampoline, - )..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError_registerClosure(( - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2, - ) => fn( - arg0.address == 0 - ? null - : NSData._(arg0, lib, retain: true, release: true), - arg1.address == 0 - ? null - : NSURLResponse._(arg1, lib, retain: true, release: true), - arg2.address == 0 - ? null - : NSError._(arg2, lib, retain: true, release: true), - )), - ), lib); - static ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >? _dartFuncListenerTrampoline; - - void call(NSData? arg0, NSURLResponse? arg1, NSError? arg2) => pointer - .ref - .invoke - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2, - ) - > - >() - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >()( - pointer, - arg0?.pointer ?? ffi.nullptr, - arg1?.pointer ?? ffi.nullptr, - arg2?.pointer ?? ffi.nullptr, - ); + )>()( + pointer, + arg0?.pointer ?? ffi.nullptr, + arg1?.pointer ?? ffi.nullptr, + arg2?.pointer ?? ffi.nullptr, + ); } void _ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError_fnPtrTrampoline( @@ -96219,35 +90174,30 @@ void _ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError_fnPtrTrampoline( ffi.Pointer arg0, ffi.Pointer arg1, ffi.Pointer arg2, -) => block.ref.target - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2, - ) - > - >() - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >()(arg0, arg1, arg2); -final _ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError_closureRegistry = - < - int, - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >{}; +) => + block.ref.target + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, + )>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>()(arg0, arg1, arg2); +final _ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError_closureRegistry = , + ffi.Pointer, + ffi.Pointer, +)>{}; int _ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError_closureRegistryIndex = 0; ffi.Pointer -_ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError_registerClosure( + _ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError_registerClosure( void Function( ffi.Pointer, ffi.Pointer, @@ -96265,10 +90215,9 @@ void _ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError_closureTrampoline( ffi.Pointer arg0, ffi.Pointer arg1, ffi.Pointer arg2, -) => _ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError_closureRegistry[block - .ref - .target - .address]!(arg0, arg1, arg2); +) => + _ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError_closureRegistry[ + block.ref.target.address]!(arg0, arg1, arg2); class ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError._( @@ -96303,28 +90252,27 @@ class ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError.fromFunctionPointer( SwiftLibrary lib, ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2, - ) - > - > ptr, - ) : this._(objc.newBlock( - _cFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >( - _ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError_fnPtrTrampoline, - ).cast(), - ptr.cast(), - ), lib); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, + )>> + ptr, + ) : this._( + objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>( + _ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError_fnPtrTrampoline, + ).cast(), + ptr.cast(), + ), + lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -96335,34 +90283,36 @@ class ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError.fromFunction( SwiftLibrary lib, void Function(NSURL?, NSURLResponse?, NSError?) fn, - ) : this._(objc.newBlock( - _dartFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >( - _ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError_closureTrampoline, - ).cast(), - _ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError_registerClosure(( - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2, - ) => fn( - arg0.address == 0 - ? null - : NSURL._(arg0, lib, retain: true, release: true), - arg1.address == 0 - ? null - : NSURLResponse._(arg1, lib, retain: true, release: true), - arg2.address == 0 - ? null - : NSError._(arg2, lib, retain: true, release: true), - )), - ), lib); + ) : this._( + objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>( + _ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError_closureTrampoline, + ).cast(), + _ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError_registerClosure(( + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, + ) => + fn( + arg0.address == 0 + ? null + : NSURL._(arg0, lib, retain: true, release: true), + arg1.address == 0 + ? null + : NSURLResponse._(arg1, lib, + retain: true, release: true), + arg2.address == 0 + ? null + : NSError._(arg2, lib, retain: true, release: true), + )), + ), + lib); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -96377,70 +90327,68 @@ class ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError.listener( SwiftLibrary lib, void Function(NSURL?, NSURLResponse?, NSError?) fn, - ) : this._(objc.newBlock( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( + ) : this._( + objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>.listener( + _ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError_registerClosure(( + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, + ) => + fn( + arg0.address == 0 + ? null + : NSURL._(arg0, lib, retain: true, release: true), + arg1.address == 0 + ? null + : NSURLResponse._(arg1, lib, + retain: true, release: true), + arg2.address == 0 + ? null + : NSError._(arg2, lib, retain: true, release: true), + )), + ), + lib); + static ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + )>? _dartFuncListenerTrampoline; + + void call(NSURL? arg0, NSURLResponse? arg1, NSError? arg2) => + pointer.ref.invoke + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, + )>>() + .asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ) - >.listener( - _ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError_closureTrampoline, - )..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError_registerClosure(( - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2, - ) => fn( - arg0.address == 0 - ? null - : NSURL._(arg0, lib, retain: true, release: true), - arg1.address == 0 - ? null - : NSURLResponse._(arg1, lib, retain: true, release: true), - arg2.address == 0 - ? null - : NSError._(arg2, lib, retain: true, release: true), - )), - ), lib); - static ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >? _dartFuncListenerTrampoline; - - void call(NSURL? arg0, NSURLResponse? arg1, NSError? arg2) => pointer - .ref - .invoke - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2, - ) - > - >() - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >()( - pointer, - arg0?.pointer ?? ffi.nullptr, - arg1?.pointer ?? ffi.nullptr, - arg2?.pointer ?? ffi.nullptr, - ); + )>()( + pointer, + arg0?.pointer ?? ffi.nullptr, + arg1?.pointer ?? ffi.nullptr, + arg2?.pointer ?? ffi.nullptr, + ); } class NSProtocolChecker extends NSProxy { @@ -96775,7 +90723,7 @@ class NSTask extends NSObject { } static NSTask? - launchedTaskWithExecutableURL_arguments_error_terminationHandler_( + launchedTaskWithExecutableURL_arguments_error_terminationHandler_( SwiftLibrary _lib, NSURL url, NSArray arguments, @@ -96968,11 +90916,12 @@ abstract class NSTaskTerminationReason { void _ObjCBlock_ffiVoid_NSTask_fnPtrTrampoline( ffi.Pointer block, ffi.Pointer arg0, -) => block.ref.target - .cast< - ffi.NativeFunction arg0)> - >() - .asFunction)>()(arg0); +) => + block.ref.target + .cast< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer arg0)>>() + .asFunction)>()(arg0); final _ObjCBlock_ffiVoid_NSTask_closureRegistry = )>{}; int _ObjCBlock_ffiVoid_NSTask_closureRegistryIndex = 0; @@ -96987,7 +90936,8 @@ ffi.Pointer _ObjCBlock_ffiVoid_NSTask_registerClosure( void _ObjCBlock_ffiVoid_NSTask_closureTrampoline( ffi.Pointer block, ffi.Pointer arg0, -) => _ObjCBlock_ffiVoid_NSTask_closureRegistry[block.ref.target.address]!(arg0); +) => + _ObjCBlock_ffiVoid_NSTask_closureRegistry[block.ref.target.address]!(arg0); class ObjCBlock_ffiVoid_NSTask extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSTask._( @@ -97022,18 +90972,20 @@ class ObjCBlock_ffiVoid_NSTask extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSTask.fromFunctionPointer( SwiftLibrary lib, ffi.Pointer< - ffi.NativeFunction arg0)> - > ptr, - ) : this._(objc.newBlock( - _cFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ) - >(_ObjCBlock_ffiVoid_NSTask_fnPtrTrampoline).cast(), - ptr.cast(), - ), lib); + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer arg0)>> + ptr, + ) : this._( + objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + )>(_ObjCBlock_ffiVoid_NSTask_fnPtrTrampoline) + .cast(), + ptr.cast(), + ), + lib); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -97044,18 +90996,20 @@ class ObjCBlock_ffiVoid_NSTask extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSTask.fromFunction( SwiftLibrary lib, void Function(NSTask) fn, - ) : this._(objc.newBlock( - _dartFuncTrampoline ??= - ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ) - >(_ObjCBlock_ffiVoid_NSTask_closureTrampoline).cast(), - _ObjCBlock_ffiVoid_NSTask_registerClosure(( - ffi.Pointer arg0, - ) => fn(NSTask._(arg0, lib, retain: true, release: true))), - ), lib); + ) : this._( + objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + )>(_ObjCBlock_ffiVoid_NSTask_closureTrampoline) + .cast(), + _ObjCBlock_ffiVoid_NSTask_registerClosure(( + ffi.Pointer arg0, + ) => + fn(NSTask._(arg0, lib, retain: true, release: true))), + ), + lib); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -97068,37 +91022,38 @@ class ObjCBlock_ffiVoid_NSTask extends objc.ObjCBlockBase { /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. ObjCBlock_ffiVoid_NSTask.listener(SwiftLibrary lib, void Function(NSTask) fn) - : this._(objc.newBlock( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ) - >.listener( - _ObjCBlock_ffiVoid_NSTask_closureTrampoline, - )..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSTask_registerClosure(( - ffi.Pointer arg0, - ) => fn(NSTask._(arg0, lib, retain: true, release: true))), - ), lib); + : this._( + objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + )>.listener( + _ObjCBlock_ffiVoid_NSTask_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSTask_registerClosure(( + ffi.Pointer arg0, + ) => + fn(NSTask._(arg0, lib, retain: true, release: true))), + ), + lib); static ffi.NativeCallable< - ffi.Void Function(ffi.Pointer, ffi.Pointer) - >? _dartFuncListenerTrampoline; + ffi.Void Function( + ffi.Pointer, ffi.Pointer)>? + _dartFuncListenerTrampoline; void call(NSTask arg0) => pointer.ref.invoke .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer block, - ffi.Pointer arg0, - ) - > - >() + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer block, + ffi.Pointer arg0, + )>>() .asFunction< - void Function(ffi.Pointer, ffi.Pointer) - >()(pointer, arg0.pointer); + void Function(ffi.Pointer, + ffi.Pointer)>()(pointer, arg0.pointer); } class NSXMLElement extends NSXMLNode { diff --git a/pkgs/ffigen/lib/src/code_generator/library.dart b/pkgs/ffigen/lib/src/code_generator/library.dart index ef9149b5d..60ad7c3ff 100644 --- a/pkgs/ffigen/lib/src/code_generator/library.dart +++ b/pkgs/ffigen/lib/src/code_generator/library.dart @@ -150,8 +150,8 @@ class Library { /// Formats a file using the Dart formatter. void _dartFormat(String path) { final sdkPath = getSdkPath(); - final result = Process.runSync(p.join(sdkPath, 'bin', 'dart'), - ['format', '--enable-experiment=tall-style', path], + final result = Process.runSync( + p.join(sdkPath, 'bin', 'dart'), ['format', path], runInShell: Platform.isWindows); if (result.stderr.toString().isNotEmpty) { _logger.severe(result.stderr); diff --git a/pkgs/ffigen/test/native_objc_test/.gitignore b/pkgs/ffigen/test_flutter/native_objc_test/.gitignore similarity index 100% rename from pkgs/ffigen/test/native_objc_test/.gitignore rename to pkgs/ffigen/test_flutter/native_objc_test/.gitignore diff --git a/pkgs/ffigen/test/native_objc_test/automated_ref_count_config.yaml b/pkgs/ffigen/test_flutter/native_objc_test/automated_ref_count_config.yaml similarity index 100% rename from pkgs/ffigen/test/native_objc_test/automated_ref_count_config.yaml rename to pkgs/ffigen/test_flutter/native_objc_test/automated_ref_count_config.yaml diff --git a/pkgs/ffigen/test/native_objc_test/automated_ref_count_test.dart b/pkgs/ffigen/test_flutter/native_objc_test/automated_ref_count_test.dart similarity index 100% rename from pkgs/ffigen/test/native_objc_test/automated_ref_count_test.dart rename to pkgs/ffigen/test_flutter/native_objc_test/automated_ref_count_test.dart diff --git a/pkgs/ffigen/test/native_objc_test/automated_ref_count_test.m b/pkgs/ffigen/test_flutter/native_objc_test/automated_ref_count_test.m similarity index 100% rename from pkgs/ffigen/test/native_objc_test/automated_ref_count_test.m rename to pkgs/ffigen/test_flutter/native_objc_test/automated_ref_count_test.m diff --git a/pkgs/ffigen/test/native_objc_test/bad_method_config.yaml b/pkgs/ffigen/test_flutter/native_objc_test/bad_method_config.yaml similarity index 100% rename from pkgs/ffigen/test/native_objc_test/bad_method_config.yaml rename to pkgs/ffigen/test_flutter/native_objc_test/bad_method_config.yaml diff --git a/pkgs/ffigen/test/native_objc_test/bad_method_test.dart b/pkgs/ffigen/test_flutter/native_objc_test/bad_method_test.dart similarity index 100% rename from pkgs/ffigen/test/native_objc_test/bad_method_test.dart rename to pkgs/ffigen/test_flutter/native_objc_test/bad_method_test.dart diff --git a/pkgs/ffigen/test/native_objc_test/bad_method_test.m b/pkgs/ffigen/test_flutter/native_objc_test/bad_method_test.m similarity index 100% rename from pkgs/ffigen/test/native_objc_test/bad_method_test.m rename to pkgs/ffigen/test_flutter/native_objc_test/bad_method_test.m diff --git a/pkgs/ffigen/test/native_objc_test/block_config.yaml b/pkgs/ffigen/test_flutter/native_objc_test/block_config.yaml similarity index 100% rename from pkgs/ffigen/test/native_objc_test/block_config.yaml rename to pkgs/ffigen/test_flutter/native_objc_test/block_config.yaml diff --git a/pkgs/ffigen/test/native_objc_test/block_test.dart b/pkgs/ffigen/test_flutter/native_objc_test/block_test.dart similarity index 100% rename from pkgs/ffigen/test/native_objc_test/block_test.dart rename to pkgs/ffigen/test_flutter/native_objc_test/block_test.dart diff --git a/pkgs/ffigen/test/native_objc_test/block_test.m b/pkgs/ffigen/test_flutter/native_objc_test/block_test.m similarity index 100% rename from pkgs/ffigen/test/native_objc_test/block_test.m rename to pkgs/ffigen/test_flutter/native_objc_test/block_test.m diff --git a/pkgs/ffigen/test/native_objc_test/cast_config.yaml b/pkgs/ffigen/test_flutter/native_objc_test/cast_config.yaml similarity index 100% rename from pkgs/ffigen/test/native_objc_test/cast_config.yaml rename to pkgs/ffigen/test_flutter/native_objc_test/cast_config.yaml diff --git a/pkgs/ffigen/test/native_objc_test/cast_test.dart b/pkgs/ffigen/test_flutter/native_objc_test/cast_test.dart similarity index 100% rename from pkgs/ffigen/test/native_objc_test/cast_test.dart rename to pkgs/ffigen/test_flutter/native_objc_test/cast_test.dart diff --git a/pkgs/ffigen/test/native_objc_test/cast_test.m b/pkgs/ffigen/test_flutter/native_objc_test/cast_test.m similarity index 100% rename from pkgs/ffigen/test/native_objc_test/cast_test.m rename to pkgs/ffigen/test_flutter/native_objc_test/cast_test.m diff --git a/pkgs/ffigen/test/native_objc_test/category_config.yaml b/pkgs/ffigen/test_flutter/native_objc_test/category_config.yaml similarity index 100% rename from pkgs/ffigen/test/native_objc_test/category_config.yaml rename to pkgs/ffigen/test_flutter/native_objc_test/category_config.yaml diff --git a/pkgs/ffigen/test/native_objc_test/category_test.dart b/pkgs/ffigen/test_flutter/native_objc_test/category_test.dart similarity index 100% rename from pkgs/ffigen/test/native_objc_test/category_test.dart rename to pkgs/ffigen/test_flutter/native_objc_test/category_test.dart diff --git a/pkgs/ffigen/test/native_objc_test/category_test.m b/pkgs/ffigen/test_flutter/native_objc_test/category_test.m similarity index 100% rename from pkgs/ffigen/test/native_objc_test/category_test.m rename to pkgs/ffigen/test_flutter/native_objc_test/category_test.m diff --git a/pkgs/ffigen/test/native_objc_test/failed_to_load_config.yaml b/pkgs/ffigen/test_flutter/native_objc_test/failed_to_load_config.yaml similarity index 100% rename from pkgs/ffigen/test/native_objc_test/failed_to_load_config.yaml rename to pkgs/ffigen/test_flutter/native_objc_test/failed_to_load_config.yaml diff --git a/pkgs/ffigen/test/native_objc_test/failed_to_load_test.dart b/pkgs/ffigen/test_flutter/native_objc_test/failed_to_load_test.dart similarity index 100% rename from pkgs/ffigen/test/native_objc_test/failed_to_load_test.dart rename to pkgs/ffigen/test_flutter/native_objc_test/failed_to_load_test.dart diff --git a/pkgs/ffigen/test/native_objc_test/failed_to_load_test.m b/pkgs/ffigen/test_flutter/native_objc_test/failed_to_load_test.m similarity index 100% rename from pkgs/ffigen/test/native_objc_test/failed_to_load_test.m rename to pkgs/ffigen/test_flutter/native_objc_test/failed_to_load_test.m diff --git a/pkgs/ffigen/test/native_objc_test/forward_decl_config.yaml b/pkgs/ffigen/test_flutter/native_objc_test/forward_decl_config.yaml similarity index 100% rename from pkgs/ffigen/test/native_objc_test/forward_decl_config.yaml rename to pkgs/ffigen/test_flutter/native_objc_test/forward_decl_config.yaml diff --git a/pkgs/ffigen/test/native_objc_test/forward_decl_test.dart b/pkgs/ffigen/test_flutter/native_objc_test/forward_decl_test.dart similarity index 100% rename from pkgs/ffigen/test/native_objc_test/forward_decl_test.dart rename to pkgs/ffigen/test_flutter/native_objc_test/forward_decl_test.dart diff --git a/pkgs/ffigen/test/native_objc_test/forward_decl_test.h b/pkgs/ffigen/test_flutter/native_objc_test/forward_decl_test.h similarity index 100% rename from pkgs/ffigen/test/native_objc_test/forward_decl_test.h rename to pkgs/ffigen/test_flutter/native_objc_test/forward_decl_test.h diff --git a/pkgs/ffigen/test/native_objc_test/forward_decl_test.m b/pkgs/ffigen/test_flutter/native_objc_test/forward_decl_test.m similarity index 100% rename from pkgs/ffigen/test/native_objc_test/forward_decl_test.m rename to pkgs/ffigen/test_flutter/native_objc_test/forward_decl_test.m diff --git a/pkgs/ffigen/test/native_objc_test/inherited_instancetype_config.yaml b/pkgs/ffigen/test_flutter/native_objc_test/inherited_instancetype_config.yaml similarity index 100% rename from pkgs/ffigen/test/native_objc_test/inherited_instancetype_config.yaml rename to pkgs/ffigen/test_flutter/native_objc_test/inherited_instancetype_config.yaml diff --git a/pkgs/ffigen/test/native_objc_test/inherited_instancetype_test.dart b/pkgs/ffigen/test_flutter/native_objc_test/inherited_instancetype_test.dart similarity index 100% rename from pkgs/ffigen/test/native_objc_test/inherited_instancetype_test.dart rename to pkgs/ffigen/test_flutter/native_objc_test/inherited_instancetype_test.dart diff --git a/pkgs/ffigen/test/native_objc_test/inherited_instancetype_test.m b/pkgs/ffigen/test_flutter/native_objc_test/inherited_instancetype_test.m similarity index 100% rename from pkgs/ffigen/test/native_objc_test/inherited_instancetype_test.m rename to pkgs/ffigen/test_flutter/native_objc_test/inherited_instancetype_test.m diff --git a/pkgs/ffigen/test/native_objc_test/is_instance_config.yaml b/pkgs/ffigen/test_flutter/native_objc_test/is_instance_config.yaml similarity index 100% rename from pkgs/ffigen/test/native_objc_test/is_instance_config.yaml rename to pkgs/ffigen/test_flutter/native_objc_test/is_instance_config.yaml diff --git a/pkgs/ffigen/test/native_objc_test/is_instance_test.dart b/pkgs/ffigen/test_flutter/native_objc_test/is_instance_test.dart similarity index 100% rename from pkgs/ffigen/test/native_objc_test/is_instance_test.dart rename to pkgs/ffigen/test_flutter/native_objc_test/is_instance_test.dart diff --git a/pkgs/ffigen/test/native_objc_test/is_instance_test.m b/pkgs/ffigen/test_flutter/native_objc_test/is_instance_test.m similarity index 100% rename from pkgs/ffigen/test/native_objc_test/is_instance_test.m rename to pkgs/ffigen/test_flutter/native_objc_test/is_instance_test.m diff --git a/pkgs/ffigen/test/native_objc_test/method_config.yaml b/pkgs/ffigen/test_flutter/native_objc_test/method_config.yaml similarity index 100% rename from pkgs/ffigen/test/native_objc_test/method_config.yaml rename to pkgs/ffigen/test_flutter/native_objc_test/method_config.yaml diff --git a/pkgs/ffigen/test/native_objc_test/method_test.dart b/pkgs/ffigen/test_flutter/native_objc_test/method_test.dart similarity index 100% rename from pkgs/ffigen/test/native_objc_test/method_test.dart rename to pkgs/ffigen/test_flutter/native_objc_test/method_test.dart diff --git a/pkgs/ffigen/test/native_objc_test/method_test.m b/pkgs/ffigen/test_flutter/native_objc_test/method_test.m similarity index 100% rename from pkgs/ffigen/test/native_objc_test/method_test.m rename to pkgs/ffigen/test_flutter/native_objc_test/method_test.m diff --git a/pkgs/ffigen/test/native_objc_test/native_objc_config.yaml b/pkgs/ffigen/test_flutter/native_objc_test/native_objc_config.yaml similarity index 100% rename from pkgs/ffigen/test/native_objc_test/native_objc_config.yaml rename to pkgs/ffigen/test_flutter/native_objc_test/native_objc_config.yaml diff --git a/pkgs/ffigen/test/native_objc_test/native_objc_test.dart b/pkgs/ffigen/test_flutter/native_objc_test/native_objc_test.dart similarity index 100% rename from pkgs/ffigen/test/native_objc_test/native_objc_test.dart rename to pkgs/ffigen/test_flutter/native_objc_test/native_objc_test.dart diff --git a/pkgs/ffigen/test/native_objc_test/native_objc_test.m b/pkgs/ffigen/test_flutter/native_objc_test/native_objc_test.m similarity index 100% rename from pkgs/ffigen/test/native_objc_test/native_objc_test.m rename to pkgs/ffigen/test_flutter/native_objc_test/native_objc_test.m diff --git a/pkgs/ffigen/test/native_objc_test/nullable_config.yaml b/pkgs/ffigen/test_flutter/native_objc_test/nullable_config.yaml similarity index 100% rename from pkgs/ffigen/test/native_objc_test/nullable_config.yaml rename to pkgs/ffigen/test_flutter/native_objc_test/nullable_config.yaml diff --git a/pkgs/ffigen/test/native_objc_test/nullable_inheritance_config.yaml b/pkgs/ffigen/test_flutter/native_objc_test/nullable_inheritance_config.yaml similarity index 100% rename from pkgs/ffigen/test/native_objc_test/nullable_inheritance_config.yaml rename to pkgs/ffigen/test_flutter/native_objc_test/nullable_inheritance_config.yaml diff --git a/pkgs/ffigen/test/native_objc_test/nullable_inheritance_test.dart b/pkgs/ffigen/test_flutter/native_objc_test/nullable_inheritance_test.dart similarity index 100% rename from pkgs/ffigen/test/native_objc_test/nullable_inheritance_test.dart rename to pkgs/ffigen/test_flutter/native_objc_test/nullable_inheritance_test.dart diff --git a/pkgs/ffigen/test/native_objc_test/nullable_inheritance_test.m b/pkgs/ffigen/test_flutter/native_objc_test/nullable_inheritance_test.m similarity index 100% rename from pkgs/ffigen/test/native_objc_test/nullable_inheritance_test.m rename to pkgs/ffigen/test_flutter/native_objc_test/nullable_inheritance_test.m diff --git a/pkgs/ffigen/test/native_objc_test/nullable_test.dart b/pkgs/ffigen/test_flutter/native_objc_test/nullable_test.dart similarity index 100% rename from pkgs/ffigen/test/native_objc_test/nullable_test.dart rename to pkgs/ffigen/test_flutter/native_objc_test/nullable_test.dart diff --git a/pkgs/ffigen/test/native_objc_test/nullable_test.m b/pkgs/ffigen/test_flutter/native_objc_test/nullable_test.m similarity index 100% rename from pkgs/ffigen/test/native_objc_test/nullable_test.m rename to pkgs/ffigen/test_flutter/native_objc_test/nullable_test.m diff --git a/pkgs/ffigen/test/native_objc_test/property_config.yaml b/pkgs/ffigen/test_flutter/native_objc_test/property_config.yaml similarity index 100% rename from pkgs/ffigen/test/native_objc_test/property_config.yaml rename to pkgs/ffigen/test_flutter/native_objc_test/property_config.yaml diff --git a/pkgs/ffigen/test/native_objc_test/property_test.dart b/pkgs/ffigen/test_flutter/native_objc_test/property_test.dart similarity index 100% rename from pkgs/ffigen/test/native_objc_test/property_test.dart rename to pkgs/ffigen/test_flutter/native_objc_test/property_test.dart diff --git a/pkgs/ffigen/test/native_objc_test/property_test.m b/pkgs/ffigen/test_flutter/native_objc_test/property_test.m similarity index 100% rename from pkgs/ffigen/test/native_objc_test/property_test.m rename to pkgs/ffigen/test_flutter/native_objc_test/property_test.m diff --git a/pkgs/ffigen/test/native_objc_test/rename_config.yaml b/pkgs/ffigen/test_flutter/native_objc_test/rename_config.yaml similarity index 100% rename from pkgs/ffigen/test/native_objc_test/rename_config.yaml rename to pkgs/ffigen/test_flutter/native_objc_test/rename_config.yaml diff --git a/pkgs/ffigen/test/native_objc_test/rename_test.dart b/pkgs/ffigen/test_flutter/native_objc_test/rename_test.dart similarity index 100% rename from pkgs/ffigen/test/native_objc_test/rename_test.dart rename to pkgs/ffigen/test_flutter/native_objc_test/rename_test.dart diff --git a/pkgs/ffigen/test/native_objc_test/rename_test.m b/pkgs/ffigen/test_flutter/native_objc_test/rename_test.m similarity index 100% rename from pkgs/ffigen/test/native_objc_test/rename_test.m rename to pkgs/ffigen/test_flutter/native_objc_test/rename_test.m diff --git a/pkgs/ffigen/test/native_objc_test/setup.dart b/pkgs/ffigen/test_flutter/native_objc_test/setup.dart similarity index 100% rename from pkgs/ffigen/test/native_objc_test/setup.dart rename to pkgs/ffigen/test_flutter/native_objc_test/setup.dart diff --git a/pkgs/ffigen/test/native_objc_test/static_func_config.yaml b/pkgs/ffigen/test_flutter/native_objc_test/static_func_config.yaml similarity index 100% rename from pkgs/ffigen/test/native_objc_test/static_func_config.yaml rename to pkgs/ffigen/test_flutter/native_objc_test/static_func_config.yaml diff --git a/pkgs/ffigen/test/native_objc_test/static_func_native_config.yaml b/pkgs/ffigen/test_flutter/native_objc_test/static_func_native_config.yaml similarity index 100% rename from pkgs/ffigen/test/native_objc_test/static_func_native_config.yaml rename to pkgs/ffigen/test_flutter/native_objc_test/static_func_native_config.yaml diff --git a/pkgs/ffigen/test/native_objc_test/static_func_native_test.dart b/pkgs/ffigen/test_flutter/native_objc_test/static_func_native_test.dart similarity index 100% rename from pkgs/ffigen/test/native_objc_test/static_func_native_test.dart rename to pkgs/ffigen/test_flutter/native_objc_test/static_func_native_test.dart diff --git a/pkgs/ffigen/test/native_objc_test/static_func_test.dart b/pkgs/ffigen/test_flutter/native_objc_test/static_func_test.dart similarity index 100% rename from pkgs/ffigen/test/native_objc_test/static_func_test.dart rename to pkgs/ffigen/test_flutter/native_objc_test/static_func_test.dart diff --git a/pkgs/ffigen/test/native_objc_test/static_func_test.m b/pkgs/ffigen/test_flutter/native_objc_test/static_func_test.m similarity index 100% rename from pkgs/ffigen/test/native_objc_test/static_func_test.m rename to pkgs/ffigen/test_flutter/native_objc_test/static_func_test.m diff --git a/pkgs/ffigen/test/native_objc_test/string_config.yaml b/pkgs/ffigen/test_flutter/native_objc_test/string_config.yaml similarity index 100% rename from pkgs/ffigen/test/native_objc_test/string_config.yaml rename to pkgs/ffigen/test_flutter/native_objc_test/string_config.yaml diff --git a/pkgs/ffigen/test/native_objc_test/string_test.dart b/pkgs/ffigen/test_flutter/native_objc_test/string_test.dart similarity index 100% rename from pkgs/ffigen/test/native_objc_test/string_test.dart rename to pkgs/ffigen/test_flutter/native_objc_test/string_test.dart diff --git a/pkgs/ffigen/test/native_objc_test/string_test.m b/pkgs/ffigen/test_flutter/native_objc_test/string_test.m similarity index 100% rename from pkgs/ffigen/test/native_objc_test/string_test.m rename to pkgs/ffigen/test_flutter/native_objc_test/string_test.m diff --git a/pkgs/ffigen/test/native_objc_test/swift_class_config.yaml b/pkgs/ffigen/test_flutter/native_objc_test/swift_class_config.yaml similarity index 100% rename from pkgs/ffigen/test/native_objc_test/swift_class_config.yaml rename to pkgs/ffigen/test_flutter/native_objc_test/swift_class_config.yaml diff --git a/pkgs/ffigen/test/native_objc_test/swift_class_test.dart b/pkgs/ffigen/test_flutter/native_objc_test/swift_class_test.dart similarity index 100% rename from pkgs/ffigen/test/native_objc_test/swift_class_test.dart rename to pkgs/ffigen/test_flutter/native_objc_test/swift_class_test.dart diff --git a/pkgs/ffigen/test/native_objc_test/swift_class_test.swift b/pkgs/ffigen/test_flutter/native_objc_test/swift_class_test.swift similarity index 100% rename from pkgs/ffigen/test/native_objc_test/swift_class_test.swift rename to pkgs/ffigen/test_flutter/native_objc_test/swift_class_test.swift diff --git a/pkgs/ffigen/test/native_objc_test/typedef_config.yaml b/pkgs/ffigen/test_flutter/native_objc_test/typedef_config.yaml similarity index 100% rename from pkgs/ffigen/test/native_objc_test/typedef_config.yaml rename to pkgs/ffigen/test_flutter/native_objc_test/typedef_config.yaml diff --git a/pkgs/ffigen/test/native_objc_test/typedef_test.dart b/pkgs/ffigen/test_flutter/native_objc_test/typedef_test.dart similarity index 100% rename from pkgs/ffigen/test/native_objc_test/typedef_test.dart rename to pkgs/ffigen/test_flutter/native_objc_test/typedef_test.dart diff --git a/pkgs/ffigen/test/native_objc_test/typedef_test.m b/pkgs/ffigen/test_flutter/native_objc_test/typedef_test.m similarity index 100% rename from pkgs/ffigen/test/native_objc_test/typedef_test.m rename to pkgs/ffigen/test_flutter/native_objc_test/typedef_test.m diff --git a/pkgs/ffigen/test/native_objc_test/util.dart b/pkgs/ffigen/test_flutter/native_objc_test/util.dart similarity index 100% rename from pkgs/ffigen/test/native_objc_test/util.dart rename to pkgs/ffigen/test_flutter/native_objc_test/util.dart diff --git a/pkgs/ffigen/test/native_objc_test/util.h b/pkgs/ffigen/test_flutter/native_objc_test/util.h similarity index 100% rename from pkgs/ffigen/test/native_objc_test/util.h rename to pkgs/ffigen/test_flutter/native_objc_test/util.h From 50a2ac5773efc89bc3fc422b89e2885ac630656a Mon Sep 17 00:00:00 2001 From: Liam Appelbe Date: Fri, 5 Apr 2024 11:24:56 +1300 Subject: [PATCH 05/21] Fix tests --- .../lib/src/code_generator/imports.dart | 1 - .../lib/src/code_generator/library.dart | 4 ++-- pkgs/ffigen/lib/src/code_generator/utils.dart | 20 ++++++++++++++++ pkgs/ffigen/pubspec.yaml | 5 ++++ .../native_objc_test/.gitignore | 0 .../automated_ref_count_config.yaml | 0 .../automated_ref_count_test.dart | 17 +++---------- .../automated_ref_count_test.m | 0 .../native_objc_test/bad_method_config.yaml | 0 .../native_objc_test/bad_method_test.dart | 0 .../native_objc_test/bad_method_test.m | 0 .../native_objc_test/block_config.yaml | 0 .../native_objc_test/block_test.dart | 12 ---------- .../native_objc_test/block_test.m | 0 .../native_objc_test/cast_config.yaml | 0 .../native_objc_test/cast_test.dart | 3 ++- .../native_objc_test/cast_test.m | 0 .../native_objc_test/category_config.yaml | 0 .../native_objc_test/category_test.dart | 0 .../native_objc_test/category_test.m | 0 .../failed_to_load_config.yaml | 0 .../native_objc_test/failed_to_load_test.dart | 0 .../native_objc_test/failed_to_load_test.m | 0 .../native_objc_test/forward_decl_config.yaml | 0 .../native_objc_test/forward_decl_test.dart | 0 .../native_objc_test/forward_decl_test.h | 0 .../native_objc_test/forward_decl_test.m | 0 .../inherited_instancetype_config.yaml | 0 .../inherited_instancetype_test.dart | 0 .../inherited_instancetype_test.m | 0 .../native_objc_test/is_instance_config.yaml | 0 .../native_objc_test/is_instance_test.dart | 24 +++++++++---------- .../native_objc_test/is_instance_test.m | 0 .../native_objc_test/method_config.yaml | 0 .../native_objc_test/method_test.dart | 0 .../native_objc_test/method_test.m | 0 .../native_objc_test/native_objc_config.yaml | 0 .../native_objc_test/native_objc_test.dart | 3 ++- .../native_objc_test/native_objc_test.m | 0 .../native_objc_test/nullable_config.yaml | 0 .../nullable_inheritance_config.yaml | 0 .../nullable_inheritance_test.dart | 0 .../nullable_inheritance_test.m | 0 .../native_objc_test/nullable_test.dart | 0 .../native_objc_test/nullable_test.m | 0 .../native_objc_test/property_config.yaml | 0 .../native_objc_test/property_test.dart | 0 .../native_objc_test/property_test.m | 0 .../native_objc_test/rename_config.yaml | 0 .../native_objc_test/rename_test.dart | 0 .../native_objc_test/rename_test.m | 0 .../native_objc_test/setup.dart | 0 .../native_objc_test/static_func_config.yaml | 0 .../static_func_native_config.yaml | 0 .../static_func_native_test.dart | 0 .../native_objc_test/static_func_test.dart | 0 .../native_objc_test/static_func_test.m | 0 .../native_objc_test/string_config.yaml | 0 .../native_objc_test/string_test.dart | 0 .../native_objc_test/string_test.m | 0 .../native_objc_test/swift_class_config.yaml | 0 .../native_objc_test/swift_class_test.dart | 0 .../native_objc_test/swift_class_test.swift | 0 .../native_objc_test/typedef_config.yaml | 0 .../native_objc_test/typedef_test.dart | 0 .../native_objc_test/typedef_test.m | 0 .../native_objc_test/util.dart | 12 ++++++++++ .../native_objc_test/util.h | 0 pkgs/objective_c/ffigen.yaml | 4 ++-- .../src/objective_c_bindings_generated.dart | 6 ++--- pkgs/objective_c/src/objective_c_runtime.h | 4 ++-- 71 files changed, 65 insertions(+), 50 deletions(-) rename pkgs/ffigen/{test_flutter => test}/native_objc_test/.gitignore (100%) rename pkgs/ffigen/{test_flutter => test}/native_objc_test/automated_ref_count_config.yaml (100%) rename pkgs/ffigen/{test_flutter => test}/native_objc_test/automated_ref_count_test.dart (95%) rename pkgs/ffigen/{test_flutter => test}/native_objc_test/automated_ref_count_test.m (100%) rename pkgs/ffigen/{test_flutter => test}/native_objc_test/bad_method_config.yaml (100%) rename pkgs/ffigen/{test_flutter => test}/native_objc_test/bad_method_test.dart (100%) rename pkgs/ffigen/{test_flutter => test}/native_objc_test/bad_method_test.m (100%) rename pkgs/ffigen/{test_flutter => test}/native_objc_test/block_config.yaml (100%) rename pkgs/ffigen/{test_flutter => test}/native_objc_test/block_test.dart (97%) rename pkgs/ffigen/{test_flutter => test}/native_objc_test/block_test.m (100%) rename pkgs/ffigen/{test_flutter => test}/native_objc_test/cast_config.yaml (100%) rename pkgs/ffigen/{test_flutter => test}/native_objc_test/cast_test.dart (93%) rename pkgs/ffigen/{test_flutter => test}/native_objc_test/cast_test.m (100%) rename pkgs/ffigen/{test_flutter => test}/native_objc_test/category_config.yaml (100%) rename pkgs/ffigen/{test_flutter => test}/native_objc_test/category_test.dart (100%) rename pkgs/ffigen/{test_flutter => test}/native_objc_test/category_test.m (100%) rename pkgs/ffigen/{test_flutter => test}/native_objc_test/failed_to_load_config.yaml (100%) rename pkgs/ffigen/{test_flutter => test}/native_objc_test/failed_to_load_test.dart (100%) rename pkgs/ffigen/{test_flutter => test}/native_objc_test/failed_to_load_test.m (100%) rename pkgs/ffigen/{test_flutter => test}/native_objc_test/forward_decl_config.yaml (100%) rename pkgs/ffigen/{test_flutter => test}/native_objc_test/forward_decl_test.dart (100%) rename pkgs/ffigen/{test_flutter => test}/native_objc_test/forward_decl_test.h (100%) rename pkgs/ffigen/{test_flutter => test}/native_objc_test/forward_decl_test.m (100%) rename pkgs/ffigen/{test_flutter => test}/native_objc_test/inherited_instancetype_config.yaml (100%) rename pkgs/ffigen/{test_flutter => test}/native_objc_test/inherited_instancetype_test.dart (100%) rename pkgs/ffigen/{test_flutter => test}/native_objc_test/inherited_instancetype_test.m (100%) rename pkgs/ffigen/{test_flutter => test}/native_objc_test/is_instance_config.yaml (100%) rename pkgs/ffigen/{test_flutter => test}/native_objc_test/is_instance_test.dart (55%) rename pkgs/ffigen/{test_flutter => test}/native_objc_test/is_instance_test.m (100%) rename pkgs/ffigen/{test_flutter => test}/native_objc_test/method_config.yaml (100%) rename pkgs/ffigen/{test_flutter => test}/native_objc_test/method_test.dart (100%) rename pkgs/ffigen/{test_flutter => test}/native_objc_test/method_test.m (100%) rename pkgs/ffigen/{test_flutter => test}/native_objc_test/native_objc_config.yaml (100%) rename pkgs/ffigen/{test_flutter => test}/native_objc_test/native_objc_test.dart (94%) rename pkgs/ffigen/{test_flutter => test}/native_objc_test/native_objc_test.m (100%) rename pkgs/ffigen/{test_flutter => test}/native_objc_test/nullable_config.yaml (100%) rename pkgs/ffigen/{test_flutter => test}/native_objc_test/nullable_inheritance_config.yaml (100%) rename pkgs/ffigen/{test_flutter => test}/native_objc_test/nullable_inheritance_test.dart (100%) rename pkgs/ffigen/{test_flutter => test}/native_objc_test/nullable_inheritance_test.m (100%) rename pkgs/ffigen/{test_flutter => test}/native_objc_test/nullable_test.dart (100%) rename pkgs/ffigen/{test_flutter => test}/native_objc_test/nullable_test.m (100%) rename pkgs/ffigen/{test_flutter => test}/native_objc_test/property_config.yaml (100%) rename pkgs/ffigen/{test_flutter => test}/native_objc_test/property_test.dart (100%) rename pkgs/ffigen/{test_flutter => test}/native_objc_test/property_test.m (100%) rename pkgs/ffigen/{test_flutter => test}/native_objc_test/rename_config.yaml (100%) rename pkgs/ffigen/{test_flutter => test}/native_objc_test/rename_test.dart (100%) rename pkgs/ffigen/{test_flutter => test}/native_objc_test/rename_test.m (100%) rename pkgs/ffigen/{test_flutter => test}/native_objc_test/setup.dart (100%) rename pkgs/ffigen/{test_flutter => test}/native_objc_test/static_func_config.yaml (100%) rename pkgs/ffigen/{test_flutter => test}/native_objc_test/static_func_native_config.yaml (100%) rename pkgs/ffigen/{test_flutter => test}/native_objc_test/static_func_native_test.dart (100%) rename pkgs/ffigen/{test_flutter => test}/native_objc_test/static_func_test.dart (100%) rename pkgs/ffigen/{test_flutter => test}/native_objc_test/static_func_test.m (100%) rename pkgs/ffigen/{test_flutter => test}/native_objc_test/string_config.yaml (100%) rename pkgs/ffigen/{test_flutter => test}/native_objc_test/string_test.dart (100%) rename pkgs/ffigen/{test_flutter => test}/native_objc_test/string_test.m (100%) rename pkgs/ffigen/{test_flutter => test}/native_objc_test/swift_class_config.yaml (100%) rename pkgs/ffigen/{test_flutter => test}/native_objc_test/swift_class_test.dart (100%) rename pkgs/ffigen/{test_flutter => test}/native_objc_test/swift_class_test.swift (100%) rename pkgs/ffigen/{test_flutter => test}/native_objc_test/typedef_config.yaml (100%) rename pkgs/ffigen/{test_flutter => test}/native_objc_test/typedef_test.dart (100%) rename pkgs/ffigen/{test_flutter => test}/native_objc_test/typedef_test.m (100%) rename pkgs/ffigen/{test_flutter => test}/native_objc_test/util.dart (75%) rename pkgs/ffigen/{test_flutter => test}/native_objc_test/util.h (100%) diff --git a/pkgs/ffigen/lib/src/code_generator/imports.dart b/pkgs/ffigen/lib/src/code_generator/imports.dart index 86237f558..69a580c78 100644 --- a/pkgs/ffigen/lib/src/code_generator/imports.dart +++ b/pkgs/ffigen/lib/src/code_generator/imports.dart @@ -2,7 +2,6 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -import 'struct.dart'; import 'type.dart'; import 'writer.dart'; diff --git a/pkgs/ffigen/lib/src/code_generator/library.dart b/pkgs/ffigen/lib/src/code_generator/library.dart index 60ad7c3ff..b8155bebd 100644 --- a/pkgs/ffigen/lib/src/code_generator/library.dart +++ b/pkgs/ffigen/lib/src/code_generator/library.dart @@ -149,9 +149,9 @@ class Library { /// Formats a file using the Dart formatter. void _dartFormat(String path) { - final sdkPath = getSdkPath(); final result = Process.runSync( - p.join(sdkPath, 'bin', 'dart'), ['format', path], + findDart(), ['format', path], + workingDirectory: Directory.current.absolute.path, runInShell: Platform.isWindows); if (result.stderr.toString().isNotEmpty) { _logger.severe(result.stderr); diff --git a/pkgs/ffigen/lib/src/code_generator/utils.dart b/pkgs/ffigen/lib/src/code_generator/utils.dart index 4bad8e3dd..d4e5f0d5b 100644 --- a/pkgs/ffigen/lib/src/code_generator/utils.dart +++ b/pkgs/ffigen/lib/src/code_generator/utils.dart @@ -2,6 +2,9 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +import 'dart:io'; + +import 'package:path/path.dart' as p; import 'dart_keywords.dart'; import 'pointer.dart'; import 'type.dart'; @@ -112,3 +115,20 @@ String makeArrayAnnotation(Writer w, ConstantArray arrayType) { return '@${w.ffiLibraryPrefix}.Array.multi([${dimensions.join(', ')}])'; } + +String findDart() { + // Returns the path to the Dart executable, which will usually just be + // Platform.resolvedExecutable. But when running flutter tests, the + // resolvedExecutable will be flutter_tester, and Dart will be in a + // directory a few levels up from it. + String path = Platform.resolvedExecutable; + if (p.basenameWithoutExtension(path) == 'dart') return path; + final dartExe = 'dart${p.extension(path)}'; + while (path.isNotEmpty) { + path = p.dirname(path); + final dartPath = p.join(path, dartExe); + if (File(dartPath).existsSync()) return dartPath; + } + throw Exception( + "Couldn't find Dart executable near ${Platform.resolvedExecutable}"); +} diff --git a/pkgs/ffigen/pubspec.yaml b/pkgs/ffigen/pubspec.yaml index 24e645896..bb2e9b869 100644 --- a/pkgs/ffigen/pubspec.yaml +++ b/pkgs/ffigen/pubspec.yaml @@ -34,4 +34,9 @@ dev_dependencies: json_schema: ^5.1.1 lints: ^2.0.1 meta: ^1.11.0 + objective_c: ^0.0.1 test: ^1.16.2 + +dependency_overrides: + objective_c: + path: ../objective_c/ diff --git a/pkgs/ffigen/test_flutter/native_objc_test/.gitignore b/pkgs/ffigen/test/native_objc_test/.gitignore similarity index 100% rename from pkgs/ffigen/test_flutter/native_objc_test/.gitignore rename to pkgs/ffigen/test/native_objc_test/.gitignore diff --git a/pkgs/ffigen/test_flutter/native_objc_test/automated_ref_count_config.yaml b/pkgs/ffigen/test/native_objc_test/automated_ref_count_config.yaml similarity index 100% rename from pkgs/ffigen/test_flutter/native_objc_test/automated_ref_count_config.yaml rename to pkgs/ffigen/test/native_objc_test/automated_ref_count_config.yaml diff --git a/pkgs/ffigen/test_flutter/native_objc_test/automated_ref_count_test.dart b/pkgs/ffigen/test/native_objc_test/automated_ref_count_test.dart similarity index 95% rename from pkgs/ffigen/test_flutter/native_objc_test/automated_ref_count_test.dart rename to pkgs/ffigen/test/native_objc_test/automated_ref_count_test.dart index 170fea2b0..6808d7018 100644 --- a/pkgs/ffigen/test_flutter/native_objc_test/automated_ref_count_test.dart +++ b/pkgs/ffigen/test/native_objc_test/automated_ref_count_test.dart @@ -8,15 +8,15 @@ import 'dart:ffi'; import 'dart:io'; -import 'package:test/test.dart'; import 'package:ffi/ffi.dart'; +import 'package:objective_c/objective_c.dart'; +import 'package:test/test.dart'; import '../test_utils.dart'; import 'automated_ref_count_bindings.dart'; import 'util.dart'; void main() { late AutomatedRefCountTestObjCLibrary lib; - late void Function(Pointer, Pointer) executeInternalCommand; group('Automatic reference counting', () { setUpAll(() { @@ -27,20 +27,9 @@ void main() { lib = AutomatedRefCountTestObjCLibrary( DynamicLibrary.open(dylib.absolute.path)); - executeInternalCommand = DynamicLibrary.process().lookupFunction< - Void Function(Pointer, Pointer), - void Function( - Pointer, Pointer)>('Dart_ExecuteInternalCommand'); - generateBindingsForCoverage('automated_ref_count'); }); - doGC() { - final gcNow = "gc-now".toNativeUtf8(); - executeInternalCommand(gcNow.cast(), nullptr); - calloc.free(gcNow); - } - newMethodsInner(Pointer counter) { final obj1 = ArcTestObject.new1(lib); obj1.setCounter_(counter); @@ -63,7 +52,7 @@ void main() { allocMethodsInner(Pointer counter) { final obj1 = ArcTestObject.alloc(lib).initWithCounter_(counter); expect(counter.value, 1); - final obj2 = ArcTestObject.castFrom(ArcTestObject.alloc(lib).init()); + final obj2 = ArcTestObject.castFrom(lib, ArcTestObject.alloc(lib).init()); obj2.setCounter_(counter); expect(counter.value, 2); final obj3 = ArcTestObject.allocTheThing(lib).initWithCounter_(counter); diff --git a/pkgs/ffigen/test_flutter/native_objc_test/automated_ref_count_test.m b/pkgs/ffigen/test/native_objc_test/automated_ref_count_test.m similarity index 100% rename from pkgs/ffigen/test_flutter/native_objc_test/automated_ref_count_test.m rename to pkgs/ffigen/test/native_objc_test/automated_ref_count_test.m diff --git a/pkgs/ffigen/test_flutter/native_objc_test/bad_method_config.yaml b/pkgs/ffigen/test/native_objc_test/bad_method_config.yaml similarity index 100% rename from pkgs/ffigen/test_flutter/native_objc_test/bad_method_config.yaml rename to pkgs/ffigen/test/native_objc_test/bad_method_config.yaml diff --git a/pkgs/ffigen/test_flutter/native_objc_test/bad_method_test.dart b/pkgs/ffigen/test/native_objc_test/bad_method_test.dart similarity index 100% rename from pkgs/ffigen/test_flutter/native_objc_test/bad_method_test.dart rename to pkgs/ffigen/test/native_objc_test/bad_method_test.dart diff --git a/pkgs/ffigen/test_flutter/native_objc_test/bad_method_test.m b/pkgs/ffigen/test/native_objc_test/bad_method_test.m similarity index 100% rename from pkgs/ffigen/test_flutter/native_objc_test/bad_method_test.m rename to pkgs/ffigen/test/native_objc_test/bad_method_test.m diff --git a/pkgs/ffigen/test_flutter/native_objc_test/block_config.yaml b/pkgs/ffigen/test/native_objc_test/block_config.yaml similarity index 100% rename from pkgs/ffigen/test_flutter/native_objc_test/block_config.yaml rename to pkgs/ffigen/test/native_objc_test/block_config.yaml diff --git a/pkgs/ffigen/test_flutter/native_objc_test/block_test.dart b/pkgs/ffigen/test/native_objc_test/block_test.dart similarity index 97% rename from pkgs/ffigen/test_flutter/native_objc_test/block_test.dart rename to pkgs/ffigen/test/native_objc_test/block_test.dart index 713e76650..93bc3f41d 100644 --- a/pkgs/ffigen/test_flutter/native_objc_test/block_test.dart +++ b/pkgs/ffigen/test/native_objc_test/block_test.dart @@ -27,7 +27,6 @@ typedef BlockBlock = ObjCBlock_Int32Int32_Int32Int32; void main() { late BlockTestObjCLibrary lib; - late void Function(Pointer, Pointer) executeInternalCommand; group('Blocks', () { setUpAll(() { @@ -36,20 +35,9 @@ void main() { verifySetupFile(dylib); lib = BlockTestObjCLibrary(DynamicLibrary.open(dylib.absolute.path)); - executeInternalCommand = DynamicLibrary.process().lookupFunction< - Void Function(Pointer, Pointer), - void Function( - Pointer, Pointer)>('Dart_ExecuteInternalCommand'); - generateBindingsForCoverage('block'); }); - doGC() { - final gcNow = "gc-now".toNativeUtf8(); - executeInternalCommand(gcNow.cast(), nullptr); - calloc.free(gcNow); - } - test('BlockTester is working', () { // This doesn't test any Block functionality, just that the BlockTester // itself is working correctly. diff --git a/pkgs/ffigen/test_flutter/native_objc_test/block_test.m b/pkgs/ffigen/test/native_objc_test/block_test.m similarity index 100% rename from pkgs/ffigen/test_flutter/native_objc_test/block_test.m rename to pkgs/ffigen/test/native_objc_test/block_test.m diff --git a/pkgs/ffigen/test_flutter/native_objc_test/cast_config.yaml b/pkgs/ffigen/test/native_objc_test/cast_config.yaml similarity index 100% rename from pkgs/ffigen/test_flutter/native_objc_test/cast_config.yaml rename to pkgs/ffigen/test/native_objc_test/cast_config.yaml diff --git a/pkgs/ffigen/test_flutter/native_objc_test/cast_test.dart b/pkgs/ffigen/test/native_objc_test/cast_test.dart similarity index 93% rename from pkgs/ffigen/test_flutter/native_objc_test/cast_test.dart rename to pkgs/ffigen/test/native_objc_test/cast_test.dart index c63d94037..dcac0dc51 100644 --- a/pkgs/ffigen/test_flutter/native_objc_test/cast_test.dart +++ b/pkgs/ffigen/test/native_objc_test/cast_test.dart @@ -9,6 +9,7 @@ import 'dart:ffi'; import 'dart:io'; +import 'package:objective_c/objective_c.dart'; import 'package:test/test.dart'; import '../test_utils.dart'; import 'cast_bindings.dart'; @@ -29,7 +30,7 @@ void main() { }); test('castFrom', () { - final fromCast = Castaway.castFrom(testInstance!.meAsNSObject()); + final fromCast = Castaway.castFrom(lib, testInstance!.meAsNSObject()); expect(fromCast, testInstance!); }); diff --git a/pkgs/ffigen/test_flutter/native_objc_test/cast_test.m b/pkgs/ffigen/test/native_objc_test/cast_test.m similarity index 100% rename from pkgs/ffigen/test_flutter/native_objc_test/cast_test.m rename to pkgs/ffigen/test/native_objc_test/cast_test.m diff --git a/pkgs/ffigen/test_flutter/native_objc_test/category_config.yaml b/pkgs/ffigen/test/native_objc_test/category_config.yaml similarity index 100% rename from pkgs/ffigen/test_flutter/native_objc_test/category_config.yaml rename to pkgs/ffigen/test/native_objc_test/category_config.yaml diff --git a/pkgs/ffigen/test_flutter/native_objc_test/category_test.dart b/pkgs/ffigen/test/native_objc_test/category_test.dart similarity index 100% rename from pkgs/ffigen/test_flutter/native_objc_test/category_test.dart rename to pkgs/ffigen/test/native_objc_test/category_test.dart diff --git a/pkgs/ffigen/test_flutter/native_objc_test/category_test.m b/pkgs/ffigen/test/native_objc_test/category_test.m similarity index 100% rename from pkgs/ffigen/test_flutter/native_objc_test/category_test.m rename to pkgs/ffigen/test/native_objc_test/category_test.m diff --git a/pkgs/ffigen/test_flutter/native_objc_test/failed_to_load_config.yaml b/pkgs/ffigen/test/native_objc_test/failed_to_load_config.yaml similarity index 100% rename from pkgs/ffigen/test_flutter/native_objc_test/failed_to_load_config.yaml rename to pkgs/ffigen/test/native_objc_test/failed_to_load_config.yaml diff --git a/pkgs/ffigen/test_flutter/native_objc_test/failed_to_load_test.dart b/pkgs/ffigen/test/native_objc_test/failed_to_load_test.dart similarity index 100% rename from pkgs/ffigen/test_flutter/native_objc_test/failed_to_load_test.dart rename to pkgs/ffigen/test/native_objc_test/failed_to_load_test.dart diff --git a/pkgs/ffigen/test_flutter/native_objc_test/failed_to_load_test.m b/pkgs/ffigen/test/native_objc_test/failed_to_load_test.m similarity index 100% rename from pkgs/ffigen/test_flutter/native_objc_test/failed_to_load_test.m rename to pkgs/ffigen/test/native_objc_test/failed_to_load_test.m diff --git a/pkgs/ffigen/test_flutter/native_objc_test/forward_decl_config.yaml b/pkgs/ffigen/test/native_objc_test/forward_decl_config.yaml similarity index 100% rename from pkgs/ffigen/test_flutter/native_objc_test/forward_decl_config.yaml rename to pkgs/ffigen/test/native_objc_test/forward_decl_config.yaml diff --git a/pkgs/ffigen/test_flutter/native_objc_test/forward_decl_test.dart b/pkgs/ffigen/test/native_objc_test/forward_decl_test.dart similarity index 100% rename from pkgs/ffigen/test_flutter/native_objc_test/forward_decl_test.dart rename to pkgs/ffigen/test/native_objc_test/forward_decl_test.dart diff --git a/pkgs/ffigen/test_flutter/native_objc_test/forward_decl_test.h b/pkgs/ffigen/test/native_objc_test/forward_decl_test.h similarity index 100% rename from pkgs/ffigen/test_flutter/native_objc_test/forward_decl_test.h rename to pkgs/ffigen/test/native_objc_test/forward_decl_test.h diff --git a/pkgs/ffigen/test_flutter/native_objc_test/forward_decl_test.m b/pkgs/ffigen/test/native_objc_test/forward_decl_test.m similarity index 100% rename from pkgs/ffigen/test_flutter/native_objc_test/forward_decl_test.m rename to pkgs/ffigen/test/native_objc_test/forward_decl_test.m diff --git a/pkgs/ffigen/test_flutter/native_objc_test/inherited_instancetype_config.yaml b/pkgs/ffigen/test/native_objc_test/inherited_instancetype_config.yaml similarity index 100% rename from pkgs/ffigen/test_flutter/native_objc_test/inherited_instancetype_config.yaml rename to pkgs/ffigen/test/native_objc_test/inherited_instancetype_config.yaml diff --git a/pkgs/ffigen/test_flutter/native_objc_test/inherited_instancetype_test.dart b/pkgs/ffigen/test/native_objc_test/inherited_instancetype_test.dart similarity index 100% rename from pkgs/ffigen/test_flutter/native_objc_test/inherited_instancetype_test.dart rename to pkgs/ffigen/test/native_objc_test/inherited_instancetype_test.dart diff --git a/pkgs/ffigen/test_flutter/native_objc_test/inherited_instancetype_test.m b/pkgs/ffigen/test/native_objc_test/inherited_instancetype_test.m similarity index 100% rename from pkgs/ffigen/test_flutter/native_objc_test/inherited_instancetype_test.m rename to pkgs/ffigen/test/native_objc_test/inherited_instancetype_test.m diff --git a/pkgs/ffigen/test_flutter/native_objc_test/is_instance_config.yaml b/pkgs/ffigen/test/native_objc_test/is_instance_config.yaml similarity index 100% rename from pkgs/ffigen/test_flutter/native_objc_test/is_instance_config.yaml rename to pkgs/ffigen/test/native_objc_test/is_instance_config.yaml diff --git a/pkgs/ffigen/test_flutter/native_objc_test/is_instance_test.dart b/pkgs/ffigen/test/native_objc_test/is_instance_test.dart similarity index 55% rename from pkgs/ffigen/test_flutter/native_objc_test/is_instance_test.dart rename to pkgs/ffigen/test/native_objc_test/is_instance_test.dart index bbbfee923..be88f58e5 100644 --- a/pkgs/ffigen/test_flutter/native_objc_test/is_instance_test.dart +++ b/pkgs/ffigen/test/native_objc_test/is_instance_test.dart @@ -27,21 +27,21 @@ void main() { }); test('Unrelated classes', () { - final base = NSObject.castFrom(BaseClass.new1(lib)); - final unrelated = NSObject.castFrom(UnrelatedClass.new1(lib)); - expect(BaseClass.isInstance(base), isTrue); - expect(BaseClass.isInstance(unrelated), isFalse); - expect(UnrelatedClass.isInstance(base), isFalse); - expect(UnrelatedClass.isInstance(unrelated), isTrue); + final base = NSObject.castFrom(lib, BaseClass.new1(lib)); + final unrelated = NSObject.castFrom(lib, UnrelatedClass.new1(lib)); + expect(BaseClass.isInstance(lib, base), isTrue); + expect(BaseClass.isInstance(lib, unrelated), isFalse); + expect(UnrelatedClass.isInstance(lib, base), isFalse); + expect(UnrelatedClass.isInstance(lib, unrelated), isTrue); }); test('Base class vs child class', () { - final base = NSObject.castFrom(BaseClass.new1(lib)); - final child = NSObject.castFrom(ChildClass.new1(lib)); - expect(BaseClass.isInstance(base), isTrue); - expect(BaseClass.isInstance(child), isTrue); - expect(ChildClass.isInstance(base), isFalse); - expect(ChildClass.isInstance(child), isTrue); + final base = NSObject.castFrom(lib, BaseClass.new1(lib)); + final child = NSObject.castFrom(lib, ChildClass.new1(lib)); + expect(BaseClass.isInstance(lib, base), isTrue); + expect(BaseClass.isInstance(lib, child), isTrue); + expect(ChildClass.isInstance(lib, base), isFalse); + expect(ChildClass.isInstance(lib, child), isTrue); }); }); } diff --git a/pkgs/ffigen/test_flutter/native_objc_test/is_instance_test.m b/pkgs/ffigen/test/native_objc_test/is_instance_test.m similarity index 100% rename from pkgs/ffigen/test_flutter/native_objc_test/is_instance_test.m rename to pkgs/ffigen/test/native_objc_test/is_instance_test.m diff --git a/pkgs/ffigen/test_flutter/native_objc_test/method_config.yaml b/pkgs/ffigen/test/native_objc_test/method_config.yaml similarity index 100% rename from pkgs/ffigen/test_flutter/native_objc_test/method_config.yaml rename to pkgs/ffigen/test/native_objc_test/method_config.yaml diff --git a/pkgs/ffigen/test_flutter/native_objc_test/method_test.dart b/pkgs/ffigen/test/native_objc_test/method_test.dart similarity index 100% rename from pkgs/ffigen/test_flutter/native_objc_test/method_test.dart rename to pkgs/ffigen/test/native_objc_test/method_test.dart diff --git a/pkgs/ffigen/test_flutter/native_objc_test/method_test.m b/pkgs/ffigen/test/native_objc_test/method_test.m similarity index 100% rename from pkgs/ffigen/test_flutter/native_objc_test/method_test.m rename to pkgs/ffigen/test/native_objc_test/method_test.m diff --git a/pkgs/ffigen/test_flutter/native_objc_test/native_objc_config.yaml b/pkgs/ffigen/test/native_objc_test/native_objc_config.yaml similarity index 100% rename from pkgs/ffigen/test_flutter/native_objc_test/native_objc_config.yaml rename to pkgs/ffigen/test/native_objc_test/native_objc_config.yaml diff --git a/pkgs/ffigen/test_flutter/native_objc_test/native_objc_test.dart b/pkgs/ffigen/test/native_objc_test/native_objc_test.dart similarity index 94% rename from pkgs/ffigen/test_flutter/native_objc_test/native_objc_test.dart rename to pkgs/ffigen/test/native_objc_test/native_objc_test.dart index 28c006a36..df4d9d2ec 100644 --- a/pkgs/ffigen/test_flutter/native_objc_test/native_objc_test.dart +++ b/pkgs/ffigen/test/native_objc_test/native_objc_test.dart @@ -8,6 +8,7 @@ import 'dart:ffi'; import 'dart:io'; +import 'package:objective_c/objective_c.dart'; import 'package:test/test.dart'; import '../test_utils.dart'; import 'native_objc_test_bindings.dart'; @@ -37,7 +38,7 @@ void main() { foo.idVal = obj; expect(foo.idVal, obj); - foo.selVal = Pointer.fromAddress(456); + foo.selVal = Pointer.fromAddress(456); expect(foo.selVal.address, 456); foo.classVal = obj; diff --git a/pkgs/ffigen/test_flutter/native_objc_test/native_objc_test.m b/pkgs/ffigen/test/native_objc_test/native_objc_test.m similarity index 100% rename from pkgs/ffigen/test_flutter/native_objc_test/native_objc_test.m rename to pkgs/ffigen/test/native_objc_test/native_objc_test.m diff --git a/pkgs/ffigen/test_flutter/native_objc_test/nullable_config.yaml b/pkgs/ffigen/test/native_objc_test/nullable_config.yaml similarity index 100% rename from pkgs/ffigen/test_flutter/native_objc_test/nullable_config.yaml rename to pkgs/ffigen/test/native_objc_test/nullable_config.yaml diff --git a/pkgs/ffigen/test_flutter/native_objc_test/nullable_inheritance_config.yaml b/pkgs/ffigen/test/native_objc_test/nullable_inheritance_config.yaml similarity index 100% rename from pkgs/ffigen/test_flutter/native_objc_test/nullable_inheritance_config.yaml rename to pkgs/ffigen/test/native_objc_test/nullable_inheritance_config.yaml diff --git a/pkgs/ffigen/test_flutter/native_objc_test/nullable_inheritance_test.dart b/pkgs/ffigen/test/native_objc_test/nullable_inheritance_test.dart similarity index 100% rename from pkgs/ffigen/test_flutter/native_objc_test/nullable_inheritance_test.dart rename to pkgs/ffigen/test/native_objc_test/nullable_inheritance_test.dart diff --git a/pkgs/ffigen/test_flutter/native_objc_test/nullable_inheritance_test.m b/pkgs/ffigen/test/native_objc_test/nullable_inheritance_test.m similarity index 100% rename from pkgs/ffigen/test_flutter/native_objc_test/nullable_inheritance_test.m rename to pkgs/ffigen/test/native_objc_test/nullable_inheritance_test.m diff --git a/pkgs/ffigen/test_flutter/native_objc_test/nullable_test.dart b/pkgs/ffigen/test/native_objc_test/nullable_test.dart similarity index 100% rename from pkgs/ffigen/test_flutter/native_objc_test/nullable_test.dart rename to pkgs/ffigen/test/native_objc_test/nullable_test.dart diff --git a/pkgs/ffigen/test_flutter/native_objc_test/nullable_test.m b/pkgs/ffigen/test/native_objc_test/nullable_test.m similarity index 100% rename from pkgs/ffigen/test_flutter/native_objc_test/nullable_test.m rename to pkgs/ffigen/test/native_objc_test/nullable_test.m diff --git a/pkgs/ffigen/test_flutter/native_objc_test/property_config.yaml b/pkgs/ffigen/test/native_objc_test/property_config.yaml similarity index 100% rename from pkgs/ffigen/test_flutter/native_objc_test/property_config.yaml rename to pkgs/ffigen/test/native_objc_test/property_config.yaml diff --git a/pkgs/ffigen/test_flutter/native_objc_test/property_test.dart b/pkgs/ffigen/test/native_objc_test/property_test.dart similarity index 100% rename from pkgs/ffigen/test_flutter/native_objc_test/property_test.dart rename to pkgs/ffigen/test/native_objc_test/property_test.dart diff --git a/pkgs/ffigen/test_flutter/native_objc_test/property_test.m b/pkgs/ffigen/test/native_objc_test/property_test.m similarity index 100% rename from pkgs/ffigen/test_flutter/native_objc_test/property_test.m rename to pkgs/ffigen/test/native_objc_test/property_test.m diff --git a/pkgs/ffigen/test_flutter/native_objc_test/rename_config.yaml b/pkgs/ffigen/test/native_objc_test/rename_config.yaml similarity index 100% rename from pkgs/ffigen/test_flutter/native_objc_test/rename_config.yaml rename to pkgs/ffigen/test/native_objc_test/rename_config.yaml diff --git a/pkgs/ffigen/test_flutter/native_objc_test/rename_test.dart b/pkgs/ffigen/test/native_objc_test/rename_test.dart similarity index 100% rename from pkgs/ffigen/test_flutter/native_objc_test/rename_test.dart rename to pkgs/ffigen/test/native_objc_test/rename_test.dart diff --git a/pkgs/ffigen/test_flutter/native_objc_test/rename_test.m b/pkgs/ffigen/test/native_objc_test/rename_test.m similarity index 100% rename from pkgs/ffigen/test_flutter/native_objc_test/rename_test.m rename to pkgs/ffigen/test/native_objc_test/rename_test.m diff --git a/pkgs/ffigen/test_flutter/native_objc_test/setup.dart b/pkgs/ffigen/test/native_objc_test/setup.dart similarity index 100% rename from pkgs/ffigen/test_flutter/native_objc_test/setup.dart rename to pkgs/ffigen/test/native_objc_test/setup.dart diff --git a/pkgs/ffigen/test_flutter/native_objc_test/static_func_config.yaml b/pkgs/ffigen/test/native_objc_test/static_func_config.yaml similarity index 100% rename from pkgs/ffigen/test_flutter/native_objc_test/static_func_config.yaml rename to pkgs/ffigen/test/native_objc_test/static_func_config.yaml diff --git a/pkgs/ffigen/test_flutter/native_objc_test/static_func_native_config.yaml b/pkgs/ffigen/test/native_objc_test/static_func_native_config.yaml similarity index 100% rename from pkgs/ffigen/test_flutter/native_objc_test/static_func_native_config.yaml rename to pkgs/ffigen/test/native_objc_test/static_func_native_config.yaml diff --git a/pkgs/ffigen/test_flutter/native_objc_test/static_func_native_test.dart b/pkgs/ffigen/test/native_objc_test/static_func_native_test.dart similarity index 100% rename from pkgs/ffigen/test_flutter/native_objc_test/static_func_native_test.dart rename to pkgs/ffigen/test/native_objc_test/static_func_native_test.dart diff --git a/pkgs/ffigen/test_flutter/native_objc_test/static_func_test.dart b/pkgs/ffigen/test/native_objc_test/static_func_test.dart similarity index 100% rename from pkgs/ffigen/test_flutter/native_objc_test/static_func_test.dart rename to pkgs/ffigen/test/native_objc_test/static_func_test.dart diff --git a/pkgs/ffigen/test_flutter/native_objc_test/static_func_test.m b/pkgs/ffigen/test/native_objc_test/static_func_test.m similarity index 100% rename from pkgs/ffigen/test_flutter/native_objc_test/static_func_test.m rename to pkgs/ffigen/test/native_objc_test/static_func_test.m diff --git a/pkgs/ffigen/test_flutter/native_objc_test/string_config.yaml b/pkgs/ffigen/test/native_objc_test/string_config.yaml similarity index 100% rename from pkgs/ffigen/test_flutter/native_objc_test/string_config.yaml rename to pkgs/ffigen/test/native_objc_test/string_config.yaml diff --git a/pkgs/ffigen/test_flutter/native_objc_test/string_test.dart b/pkgs/ffigen/test/native_objc_test/string_test.dart similarity index 100% rename from pkgs/ffigen/test_flutter/native_objc_test/string_test.dart rename to pkgs/ffigen/test/native_objc_test/string_test.dart diff --git a/pkgs/ffigen/test_flutter/native_objc_test/string_test.m b/pkgs/ffigen/test/native_objc_test/string_test.m similarity index 100% rename from pkgs/ffigen/test_flutter/native_objc_test/string_test.m rename to pkgs/ffigen/test/native_objc_test/string_test.m diff --git a/pkgs/ffigen/test_flutter/native_objc_test/swift_class_config.yaml b/pkgs/ffigen/test/native_objc_test/swift_class_config.yaml similarity index 100% rename from pkgs/ffigen/test_flutter/native_objc_test/swift_class_config.yaml rename to pkgs/ffigen/test/native_objc_test/swift_class_config.yaml diff --git a/pkgs/ffigen/test_flutter/native_objc_test/swift_class_test.dart b/pkgs/ffigen/test/native_objc_test/swift_class_test.dart similarity index 100% rename from pkgs/ffigen/test_flutter/native_objc_test/swift_class_test.dart rename to pkgs/ffigen/test/native_objc_test/swift_class_test.dart diff --git a/pkgs/ffigen/test_flutter/native_objc_test/swift_class_test.swift b/pkgs/ffigen/test/native_objc_test/swift_class_test.swift similarity index 100% rename from pkgs/ffigen/test_flutter/native_objc_test/swift_class_test.swift rename to pkgs/ffigen/test/native_objc_test/swift_class_test.swift diff --git a/pkgs/ffigen/test_flutter/native_objc_test/typedef_config.yaml b/pkgs/ffigen/test/native_objc_test/typedef_config.yaml similarity index 100% rename from pkgs/ffigen/test_flutter/native_objc_test/typedef_config.yaml rename to pkgs/ffigen/test/native_objc_test/typedef_config.yaml diff --git a/pkgs/ffigen/test_flutter/native_objc_test/typedef_test.dart b/pkgs/ffigen/test/native_objc_test/typedef_test.dart similarity index 100% rename from pkgs/ffigen/test_flutter/native_objc_test/typedef_test.dart rename to pkgs/ffigen/test/native_objc_test/typedef_test.dart diff --git a/pkgs/ffigen/test_flutter/native_objc_test/typedef_test.m b/pkgs/ffigen/test/native_objc_test/typedef_test.m similarity index 100% rename from pkgs/ffigen/test_flutter/native_objc_test/typedef_test.m rename to pkgs/ffigen/test/native_objc_test/typedef_test.m diff --git a/pkgs/ffigen/test_flutter/native_objc_test/util.dart b/pkgs/ffigen/test/native_objc_test/util.dart similarity index 75% rename from pkgs/ffigen/test_flutter/native_objc_test/util.dart rename to pkgs/ffigen/test/native_objc_test/util.dart index 7ef14bf62..ba7824b3d 100644 --- a/pkgs/ffigen/test_flutter/native_objc_test/util.dart +++ b/pkgs/ffigen/test/native_objc_test/util.dart @@ -2,9 +2,11 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +import 'dart:ffi'; import 'dart:io'; import 'package:ffigen/ffigen.dart'; +import 'package:ffi/ffi.dart'; import 'package:path/path.dart' as path; import 'package:test/test.dart'; @@ -26,3 +28,13 @@ void generateBindingsForCoverage(String testName) { assert(file.existsSync()); file.delete(); } + +@Native, Pointer)>( + symbol: 'Dart_ExecuteInternalCommand') +external void _executeInternalCommand(Pointer cmd, Pointer arg); + +void doGC() { + final gcNow = "gc-now".toNativeUtf8(); + _executeInternalCommand(gcNow.cast(), nullptr); + calloc.free(gcNow); +} diff --git a/pkgs/ffigen/test_flutter/native_objc_test/util.h b/pkgs/ffigen/test/native_objc_test/util.h similarity index 100% rename from pkgs/ffigen/test_flutter/native_objc_test/util.h rename to pkgs/ffigen/test/native_objc_test/util.h diff --git a/pkgs/objective_c/ffigen.yaml b/pkgs/objective_c/ffigen.yaml index 4c3d9f5aa..436a8f1ee 100644 --- a/pkgs/objective_c/ffigen.yaml +++ b/pkgs/objective_c/ffigen.yaml @@ -19,8 +19,8 @@ functions: 'objc_getClass': 'getClass' 'objc_retain': 'objectRetain' 'objc_release': 'objectRelease' - 'Block_copy': 'blockCopy' - 'Block_release': 'blockRelease' + '_Block_copy': 'blockCopy' + '_Block_release': 'blockRelease' globals: include: - _NSConcreteGlobalBlock diff --git a/pkgs/objective_c/lib/src/objective_c_bindings_generated.dart b/pkgs/objective_c/lib/src/objective_c_bindings_generated.dart index fb54176ed..caaeb1c62 100644 --- a/pkgs/objective_c/lib/src/objective_c_bindings_generated.dart +++ b/pkgs/objective_c/lib/src/objective_c_bindings_generated.dart @@ -36,17 +36,17 @@ external void objectRelease( ffi.Pointer object, ); -@ffi.Native>(symbol: "_NSConcreteGlobalBlock") +@ffi.Native>(symbol: '_NSConcreteGlobalBlock') external final ffi.Pointer NSConcreteGlobalBlock; @ffi.Native Function(ffi.Pointer)>( - symbol: 'Block_copy', isLeaf: true) + symbol: '_Block_copy', isLeaf: true) external ffi.Pointer blockCopy( ffi.Pointer object, ); @ffi.Native)>( - symbol: 'Block_release', isLeaf: true) + symbol: '_Block_release', isLeaf: true) external void blockRelease( ffi.Pointer object, ); diff --git a/pkgs/objective_c/src/objective_c_runtime.h b/pkgs/objective_c/src/objective_c_runtime.h index 1dfd0cf3c..7e87cf9f7 100644 --- a/pkgs/objective_c/src/objective_c_runtime.h +++ b/pkgs/objective_c/src/objective_c_runtime.h @@ -36,5 +36,5 @@ typedef struct _ObjCBlock { void* target; } ObjCBlock; -ObjCBlock* Block_copy(ObjCBlock* object); -void Block_release(ObjCBlock* object); +ObjCBlock* _Block_copy(ObjCBlock* object); +void _Block_release(ObjCBlock* object); From 1e8d65051a82ad603eb0e6363b866ac00749dbc9 Mon Sep 17 00:00:00 2001 From: Liam Appelbe Date: Fri, 5 Apr 2024 12:56:09 +1300 Subject: [PATCH 06/21] Workflows --- .github/workflows/ffigen.yml | 14 +++--- .github/workflows/objective_c.yaml | 44 +++++++++++++++++++ .../static_func_native_test.dart | 12 ----- .../native_objc_test/static_func_test.dart | 12 ----- 4 files changed, 52 insertions(+), 30 deletions(-) create mode 100644 .github/workflows/objective_c.yaml diff --git a/.github/workflows/ffigen.yml b/.github/workflows/ffigen.yml index 051d99c56..33281b9d7 100644 --- a/.github/workflows/ffigen.yml +++ b/.github/workflows/ffigen.yml @@ -1,17 +1,20 @@ name: ffigen on: - # Run on PRs and pushes to the default branch. + # Run on PRs and pushes to the default branch, in either the ffigen directory, + # or the objective_c directory. push: branches: [main, stable] paths: - '.github/workflows/ffigen.yml' - 'pkgs/ffigen/**' + - 'pkgs/objective_c/**' pull_request: branches: [main, stable] paths: - '.github/workflows/ffigen.yml' - 'pkgs/ffigen/**' + - 'pkgs/objective_c/**' schedule: - cron: "0 0 * * 0" @@ -28,8 +31,7 @@ jobs: strategy: fail-fast: false matrix: - sdk: [dev] -# sdk: [3.3.0] + sdk: [3.3.0] steps: - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 - uses: dart-lang/setup-dart@fedb1266e91cf51be2fdb382869461a434b920a3 @@ -57,7 +59,7 @@ jobs: - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 - uses: dart-lang/setup-dart@fedb1266e91cf51be2fdb382869461a434b920a3 with: - sdk: dev #3.3.0 + sdk: 3.3.0 - name: Install dependencies run: dart pub get - name: Install libclang-14-dev @@ -78,7 +80,7 @@ jobs: - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 - uses: dart-lang/setup-dart@fedb1266e91cf51be2fdb382869461a434b920a3 with: - sdk: dev #3.3.0 + sdk: 3.3.0 - name: Install dependencies run: dart pub get - name: Build test dylib and bindings @@ -111,7 +113,7 @@ jobs: - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 - uses: dart-lang/setup-dart@fedb1266e91cf51be2fdb382869461a434b920a3 with: - sdk: dev #3.3.0 + sdk: 3.3.0 - name: Install dependencies run: dart pub get - name: Build test dylib and bindings diff --git a/.github/workflows/objective_c.yaml b/.github/workflows/objective_c.yaml new file mode 100644 index 000000000..906ea2525 --- /dev/null +++ b/.github/workflows/objective_c.yaml @@ -0,0 +1,44 @@ +name: objective_c + +on: + # Run on PRs and pushes to the default branch. + push: + branches: [main, stable] + paths: + - '.github/workflows/objective_c.yml' + - 'pkgs/objective_c/**' + pull_request: + branches: [main, stable] + paths: + - '.github/workflows/objective_c.yml' + - 'pkgs/objective_c/**' + schedule: + - cron: "0 0 * * 0" + +env: + PUB_ENVIRONMENT: bot.github + +jobs: + # Check code formatting and static analysis. + analyze: + runs-on: macos-latest + defaults: + run: + working-directory: pkgs/objective_c/ + strategy: + fail-fast: false + steps: + - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 + - uses: subosito/flutter-action@2783a3f08e1baf891508463f8c6653c258246225 + with: + flutter-version: 3.19.0 + channel: 'stable' + - id: install + name: Install dependencies + run: flutter pub get + - name: Check formatting + run: dart format --output=none --set-exit-if-changed . + if: always() && steps.install.outcome == 'success' + - name: Analyze code + run: flutter analyze --fatal-infos + if: always() && steps.install.outcome == 'success' diff --git a/pkgs/ffigen/test/native_objc_test/static_func_native_test.dart b/pkgs/ffigen/test/native_objc_test/static_func_native_test.dart index 93cbcad74..679537bfb 100644 --- a/pkgs/ffigen/test/native_objc_test/static_func_native_test.dart +++ b/pkgs/ffigen/test/native_objc_test/static_func_native_test.dart @@ -21,7 +21,6 @@ typedef IntBlock = ObjCBlock_Int32_Int32; void main() { late StaticFuncTestObjCLibrary lib; - late void Function(Pointer, Pointer) executeInternalCommand; group('static functions', () { setUpAll(() { @@ -30,20 +29,9 @@ void main() { verifySetupFile(dylib); lib = StaticFuncTestObjCLibrary(DynamicLibrary.open(dylib.absolute.path)); - executeInternalCommand = DynamicLibrary.process().lookupFunction< - Void Function(Pointer, Pointer), - void Function( - Pointer, Pointer)>('Dart_ExecuteInternalCommand'); - generateBindingsForCoverage('static_func'); }); - doGC() { - final gcNow = "gc-now".toNativeUtf8(); - executeInternalCommand(gcNow.cast(), nullptr); - calloc.free(gcNow); - } - Pointer staticFuncOfObjectRefCountTest(Allocator alloc) { final counter = alloc(); counter.value = 0; diff --git a/pkgs/ffigen/test/native_objc_test/static_func_test.dart b/pkgs/ffigen/test/native_objc_test/static_func_test.dart index f3d9c01be..60ed6c4da 100644 --- a/pkgs/ffigen/test/native_objc_test/static_func_test.dart +++ b/pkgs/ffigen/test/native_objc_test/static_func_test.dart @@ -21,7 +21,6 @@ typedef IntBlock = ObjCBlock_Int32_Int32; void main() { late StaticFuncTestObjCLibrary lib; - late void Function(Pointer, Pointer) executeInternalCommand; group('static functions', () { setUpAll(() { @@ -30,20 +29,9 @@ void main() { verifySetupFile(dylib); lib = StaticFuncTestObjCLibrary(DynamicLibrary.open(dylib.absolute.path)); - executeInternalCommand = DynamicLibrary.process().lookupFunction< - Void Function(Pointer, Pointer), - void Function( - Pointer, Pointer)>('Dart_ExecuteInternalCommand'); - generateBindingsForCoverage('static_func'); }); - doGC() { - final gcNow = "gc-now".toNativeUtf8(); - executeInternalCommand(gcNow.cast(), nullptr); - calloc.free(gcNow); - } - Pointer staticFuncOfObjectRefCountTest(Allocator alloc) { final counter = alloc(); counter.value = 0; From 7c47494c6191d5a57c3fe06582d579b1eef72e04 Mon Sep 17 00:00:00 2001 From: Liam Appelbe Date: Fri, 5 Apr 2024 13:01:13 +1300 Subject: [PATCH 07/21] Fix analysis --- pkgs/objective_c/pubspec.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/objective_c/pubspec.yaml b/pkgs/objective_c/pubspec.yaml index 68031e259..5d104274d 100644 --- a/pkgs/objective_c/pubspec.yaml +++ b/pkgs/objective_c/pubspec.yaml @@ -28,7 +28,6 @@ dev_dependencies: flutter_test: sdk: flutter flutter_lints: ^3.0.0 - test: ^1.25.0 flutter: plugin: From 5249b79fc97a503dcfc65f90bf17eeee561bf155 Mon Sep 17 00:00:00 2001 From: Liam Appelbe Date: Mon, 8 Apr 2024 09:44:32 +1200 Subject: [PATCH 08/21] Fix analysis --- .github/workflows/ffigen.yml | 12 +++++++----- .github/workflows/ffigen_weekly.yml | 8 ++++++-- pkgs/objective_c/lib/objective_c.dart | 12 +++++++++--- pkgs/objective_c/lib/src/core.dart | 17 ++++++----------- 4 files changed, 28 insertions(+), 21 deletions(-) diff --git a/.github/workflows/ffigen.yml b/.github/workflows/ffigen.yml index 33281b9d7..b34375850 100644 --- a/.github/workflows/ffigen.yml +++ b/.github/workflows/ffigen.yml @@ -30,23 +30,25 @@ jobs: working-directory: pkgs/ffigen/ strategy: fail-fast: false - matrix: - sdk: [3.3.0] steps: - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 - uses: dart-lang/setup-dart@fedb1266e91cf51be2fdb382869461a434b920a3 with: - sdk: ${{ matrix.sdk }} + sdk: 3.3.0 + - uses: subosito/flutter-action@2783a3f08e1baf891508463f8c6653c258246225 + with: + flutter-version: 3.19.0 + channel: 'stable' - id: install name: Install dependencies - run: dart pub get && dart pub get --directory="example/shared_bindings" + run: flutter pub get && flutter pub get --directory="example/shared_bindings" - name: Check formatting run: dart format --output=none --set-exit-if-changed . if: always() && steps.install.outcome == 'success' - name: Build test dylib and bindings run: dart test/setup.dart - name: Analyze code - run: dart analyze --fatal-infos + run: flutter analyze --fatal-infos if: always() && steps.install.outcome == 'success' test-linux: diff --git a/.github/workflows/ffigen_weekly.yml b/.github/workflows/ffigen_weekly.yml index 5dfa4bd74..eb2435f84 100644 --- a/.github/workflows/ffigen_weekly.yml +++ b/.github/workflows/ffigen_weekly.yml @@ -22,9 +22,13 @@ jobs: - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 - uses: dart-lang/setup-dart@fedb1266e91cf51be2fdb382869461a434b920a3 with: - sdk: dev #3.3.0 + sdk: 3.3.0 + - uses: subosito/flutter-action@2783a3f08e1baf891508463f8c6653c258246225 + with: + flutter-version: 3.19.0 + channel: 'stable' - name: Install dependencies - run: dart pub get + run: flutter pub get - name: Build test dylib and bindings run: dart test/setup.dart - name: Run VM tests diff --git a/pkgs/objective_c/lib/objective_c.dart b/pkgs/objective_c/lib/objective_c.dart index 7688f22ee..754a061a7 100644 --- a/pkgs/objective_c/lib/objective_c.dart +++ b/pkgs/objective_c/lib/objective_c.dart @@ -3,6 +3,12 @@ // BSD-style license that can be found in the LICENSE file. export 'src/core.dart'; -export 'src/objective_c_bindings_generated.dart' show - ObjCSelector, ObjCObject, ObjCBlock, - objectRetain, objectRelease, blockCopy, blockRelease; +export 'src/objective_c_bindings_generated.dart' + show + ObjCSelector, + ObjCObject, + ObjCBlock, + objectRetain, + objectRelease, + blockCopy, + blockRelease; diff --git a/pkgs/objective_c/lib/src/core.dart b/pkgs/objective_c/lib/src/core.dart index 5756458c8..9a9fb9380 100644 --- a/pkgs/objective_c/lib/src/core.dart +++ b/pkgs/objective_c/lib/src/core.dart @@ -2,10 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -import 'dart:async'; import 'dart:ffi'; -import 'dart:io'; -import 'dart:isolate'; import 'package:ffi/ffi.dart'; @@ -79,14 +76,13 @@ class _ObjCFinalizable implements Finalizable { } NativeFinalizer get _finalizer => throw UnimplementedError(); - void _retain(Pointer pointer) => throw UnimplementedError(); - void _release(Pointer pointer) => throw UnimplementedError(); + void _retain(Pointer ptr) => throw UnimplementedError(); + void _release(Pointer ptr) => throw UnimplementedError(); } class ObjCObjectBase extends _ObjCFinalizable { - ObjCObjectBase(Pointer ptr, - {required bool retain, required bool release}) - : super(ptr, retain: retain, release: release); + ObjCObjectBase(super.ptr, + {required super.retain, required super.release}); static final _objectFinalizer = NativeFinalizer( Native.addressOf)>>( @@ -104,9 +100,8 @@ class ObjCObjectBase extends _ObjCFinalizable { } class ObjCBlockBase extends _ObjCFinalizable { - ObjCBlockBase(Pointer ptr, - {required bool retain, required bool release}) - : super(ptr, retain: retain, release: release); + ObjCBlockBase(super.ptr, + {required super.retain, required super.release}); static final _blockFinalizer = NativeFinalizer( Native.addressOf)>>( From 8d69c7f7a8098a57e0c596d1adbcc8408bd0b76c Mon Sep 17 00:00:00 2001 From: Liam Appelbe Date: Mon, 8 Apr 2024 12:06:24 +1200 Subject: [PATCH 09/21] Fix analysis --- .github/workflows/ffigen.yml | 1 - pkgs/ffigen/lib/src/code_generator/library.dart | 3 +-- pkgs/objective_c/lib/src/core.dart | 6 ++---- 3 files changed, 3 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ffigen.yml b/.github/workflows/ffigen.yml index b34375850..915799b8a 100644 --- a/.github/workflows/ffigen.yml +++ b/.github/workflows/ffigen.yml @@ -49,7 +49,6 @@ jobs: run: dart test/setup.dart - name: Analyze code run: flutter analyze --fatal-infos - if: always() && steps.install.outcome == 'success' test-linux: needs: analyze diff --git a/pkgs/ffigen/lib/src/code_generator/library.dart b/pkgs/ffigen/lib/src/code_generator/library.dart index b8155bebd..cdafd45e6 100644 --- a/pkgs/ffigen/lib/src/code_generator/library.dart +++ b/pkgs/ffigen/lib/src/code_generator/library.dart @@ -149,8 +149,7 @@ class Library { /// Formats a file using the Dart formatter. void _dartFormat(String path) { - final result = Process.runSync( - findDart(), ['format', path], + final result = Process.runSync(findDart(), ['format', path], workingDirectory: Directory.current.absolute.path, runInShell: Platform.isWindows); if (result.stderr.toString().isNotEmpty) { diff --git a/pkgs/objective_c/lib/src/core.dart b/pkgs/objective_c/lib/src/core.dart index 9a9fb9380..51f3fe2f7 100644 --- a/pkgs/objective_c/lib/src/core.dart +++ b/pkgs/objective_c/lib/src/core.dart @@ -81,8 +81,7 @@ class _ObjCFinalizable implements Finalizable { } class ObjCObjectBase extends _ObjCFinalizable { - ObjCObjectBase(super.ptr, - {required super.retain, required super.release}); + ObjCObjectBase(super.ptr, {required super.retain, required super.release}); static final _objectFinalizer = NativeFinalizer( Native.addressOf)>>( @@ -100,8 +99,7 @@ class ObjCObjectBase extends _ObjCFinalizable { } class ObjCBlockBase extends _ObjCFinalizable { - ObjCBlockBase(super.ptr, - {required super.retain, required super.release}); + ObjCBlockBase(super.ptr, {required super.retain, required super.release}); static final _blockFinalizer = NativeFinalizer( Native.addressOf)>>( From 62d5340ffc5b872d5ac293825d4fbf4957bcad4c Mon Sep 17 00:00:00 2001 From: Liam Appelbe Date: Mon, 8 Apr 2024 12:48:17 +1200 Subject: [PATCH 10/21] Fix analysis --- pkgs/ffigen/lib/src/code_generator/library.dart | 2 -- pkgs/ffigen/lib/src/code_generator/utils.dart | 1 + .../test/native_objc_test/automated_ref_count_test.dart | 2 ++ pkgs/ffigen/test/native_objc_test/block_test.dart | 9 ++++++--- .../test/native_objc_test/static_func_native_test.dart | 5 ++++- pkgs/ffigen/test/native_objc_test/static_func_test.dart | 5 ++++- pkgs/ffigen/test/native_objc_test/util.dart | 3 +-- 7 files changed, 18 insertions(+), 9 deletions(-) diff --git a/pkgs/ffigen/lib/src/code_generator/library.dart b/pkgs/ffigen/lib/src/code_generator/library.dart index cdafd45e6..f311ac07e 100644 --- a/pkgs/ffigen/lib/src/code_generator/library.dart +++ b/pkgs/ffigen/lib/src/code_generator/library.dart @@ -4,12 +4,10 @@ import 'dart:io'; -import 'package:cli_util/cli_util.dart'; import 'package:collection/collection.dart'; import 'package:ffigen/src/code_generator.dart'; import 'package:ffigen/src/config_provider/config_types.dart'; import 'package:logging/logging.dart'; -import 'package:path/path.dart' as p; import 'package:yaml_edit/yaml_edit.dart'; import 'utils.dart'; diff --git a/pkgs/ffigen/lib/src/code_generator/utils.dart b/pkgs/ffigen/lib/src/code_generator/utils.dart index d4e5f0d5b..f5dab083e 100644 --- a/pkgs/ffigen/lib/src/code_generator/utils.dart +++ b/pkgs/ffigen/lib/src/code_generator/utils.dart @@ -5,6 +5,7 @@ import 'dart:io'; import 'package:path/path.dart' as p; + import 'dart_keywords.dart'; import 'pointer.dart'; import 'type.dart'; diff --git a/pkgs/ffigen/test/native_objc_test/automated_ref_count_test.dart b/pkgs/ffigen/test/native_objc_test/automated_ref_count_test.dart index 6808d7018..164d5ec3f 100644 --- a/pkgs/ffigen/test/native_objc_test/automated_ref_count_test.dart +++ b/pkgs/ffigen/test/native_objc_test/automated_ref_count_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// ignore_for_file: unused_local_variable + // Objective C support is only available on mac. @TestOn('mac-os') diff --git a/pkgs/ffigen/test/native_objc_test/block_test.dart b/pkgs/ffigen/test/native_objc_test/block_test.dart index 93bc3f41d..f2467c832 100644 --- a/pkgs/ffigen/test/native_objc_test/block_test.dart +++ b/pkgs/ffigen/test/native_objc_test/block_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// ignore_for_file: unused_local_variable + // Objective C support is only available on mac. @TestOn('mac-os') @@ -9,8 +11,9 @@ import 'dart:async'; import 'dart:ffi'; import 'dart:io'; -import 'package:test/test.dart'; import 'package:ffi/ffi.dart'; +import 'package:test/test.dart'; + import '../test_utils.dart'; import 'block_bindings.dart'; import 'util.dart'; @@ -71,7 +74,7 @@ void main() { }); test('Listener block same thread', () async { - final hasRun = Completer(); + final hasRun = Completer(); int value = 0; final block = VoidBlock.listener(lib, () { value = 123; @@ -85,7 +88,7 @@ void main() { }); test('Listener block new thread', () async { - final hasRun = Completer(); + final hasRun = Completer(); int value = 0; final block = VoidBlock.listener(lib, () { value = 123; diff --git a/pkgs/ffigen/test/native_objc_test/static_func_native_test.dart b/pkgs/ffigen/test/native_objc_test/static_func_native_test.dart index 679537bfb..444c6d767 100644 --- a/pkgs/ffigen/test/native_objc_test/static_func_native_test.dart +++ b/pkgs/ffigen/test/native_objc_test/static_func_native_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// ignore_for_file: unused_local_variable + // Objective C support is only available on mac. @TestOn('mac-os') @@ -11,8 +13,9 @@ import 'dart:ffi'; import 'dart:io'; -import 'package:test/test.dart'; import 'package:ffi/ffi.dart'; +import 'package:test/test.dart'; + import '../test_utils.dart'; import 'static_func_native_bindings.dart'; import 'util.dart'; diff --git a/pkgs/ffigen/test/native_objc_test/static_func_test.dart b/pkgs/ffigen/test/native_objc_test/static_func_test.dart index 60ed6c4da..0a938fd0f 100644 --- a/pkgs/ffigen/test/native_objc_test/static_func_test.dart +++ b/pkgs/ffigen/test/native_objc_test/static_func_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// ignore_for_file: unused_local_variable + // Objective C support is only available on mac. @TestOn('mac-os') @@ -11,8 +13,9 @@ import 'dart:ffi'; import 'dart:io'; -import 'package:test/test.dart'; import 'package:ffi/ffi.dart'; +import 'package:test/test.dart'; + import '../test_utils.dart'; import 'static_func_bindings.dart'; import 'util.dart'; diff --git a/pkgs/ffigen/test/native_objc_test/util.dart b/pkgs/ffigen/test/native_objc_test/util.dart index ba7824b3d..ead45b844 100644 --- a/pkgs/ffigen/test/native_objc_test/util.dart +++ b/pkgs/ffigen/test/native_objc_test/util.dart @@ -5,10 +5,9 @@ import 'dart:ffi'; import 'dart:io'; -import 'package:ffigen/ffigen.dart'; import 'package:ffi/ffi.dart'; +import 'package:ffigen/ffigen.dart'; import 'package:path/path.dart' as path; -import 'package:test/test.dart'; import '../test_utils.dart'; From e48d38bd3d533bd53c6aa1d72a018395a5783fb5 Mon Sep 17 00:00:00 2001 From: Liam Appelbe Date: Mon, 8 Apr 2024 13:02:06 +1200 Subject: [PATCH 11/21] Fix analysis --- .github/workflows/health.yaml | 1 - .github/workflows/{health_jnigen.yaml => health_flutter.yaml} | 1 + .../test/native_objc_test/automated_ref_count_config.yaml | 2 +- pkgs/ffigen/test/native_objc_test/bad_method_config.yaml | 2 +- pkgs/ffigen/test/native_objc_test/block_config.yaml | 2 +- pkgs/ffigen/test/native_objc_test/cast_config.yaml | 2 +- pkgs/ffigen/test/native_objc_test/category_config.yaml | 2 +- pkgs/ffigen/test/native_objc_test/failed_to_load_config.yaml | 2 +- pkgs/ffigen/test/native_objc_test/forward_decl_config.yaml | 2 +- .../test/native_objc_test/inherited_instancetype_config.yaml | 2 +- pkgs/ffigen/test/native_objc_test/is_instance_config.yaml | 2 +- pkgs/ffigen/test/native_objc_test/method_config.yaml | 2 +- pkgs/ffigen/test/native_objc_test/native_objc_config.yaml | 2 +- pkgs/ffigen/test/native_objc_test/nullable_config.yaml | 2 +- .../test/native_objc_test/nullable_inheritance_config.yaml | 2 +- pkgs/ffigen/test/native_objc_test/property_config.yaml | 2 +- pkgs/ffigen/test/native_objc_test/rename_config.yaml | 2 +- pkgs/ffigen/test/native_objc_test/static_func_config.yaml | 2 +- .../ffigen/test/native_objc_test/static_func_native_config.yaml | 2 +- pkgs/ffigen/test/native_objc_test/string_config.yaml | 2 +- pkgs/ffigen/test/native_objc_test/swift_class_config.yaml | 2 +- pkgs/ffigen/test/native_objc_test/typedef_config.yaml | 2 +- 22 files changed, 21 insertions(+), 21 deletions(-) rename .github/workflows/{health_jnigen.yaml => health_flutter.yaml} (95%) diff --git a/.github/workflows/health.yaml b/.github/workflows/health.yaml index c6c5dd041..02f09862f 100644 --- a/.github/workflows/health.yaml +++ b/.github/workflows/health.yaml @@ -5,7 +5,6 @@ on: # Remove paths after https://github.com/bmw-tech/dart_apitool/issues/177 is addressed. paths: - "pkgs/ffi/**" - - "pkgs/ffigen/**" - "pkgs/native_assets_builder/**" - "pkgs/native_assets_cli/**" - "pkgs/native_toolchain_c/**" diff --git a/.github/workflows/health_jnigen.yaml b/.github/workflows/health_flutter.yaml similarity index 95% rename from .github/workflows/health_jnigen.yaml rename to .github/workflows/health_flutter.yaml index 7d20e2e46..a526cb7a3 100644 --- a/.github/workflows/health_jnigen.yaml +++ b/.github/workflows/health_flutter.yaml @@ -4,6 +4,7 @@ on: branches: [ main ] # Merge back into health.yaml after https://github.com/bmw-tech/dart_apitool/issues/177 is addressed. paths: + - "pkgs/ffigen/**" - "pkgs/jni/**" - "pkgs/jnigen/**" types: [opened, synchronize, reopened, labeled, unlabeled] diff --git a/pkgs/ffigen/test/native_objc_test/automated_ref_count_config.yaml b/pkgs/ffigen/test/native_objc_test/automated_ref_count_config.yaml index 600d33dd3..7ecf98715 100644 --- a/pkgs/ffigen/test/native_objc_test/automated_ref_count_config.yaml +++ b/pkgs/ffigen/test/native_objc_test/automated_ref_count_config.yaml @@ -15,4 +15,4 @@ headers: entry-points: - 'automated_ref_count_test.m' preamble: | - // ignore_for_file: camel_case_types, non_constant_identifier_names, unused_element, unused_field + // ignore_for_file: camel_case_types, non_constant_identifier_names, unnecessary_non_null_assertion, unused_element, unused_field diff --git a/pkgs/ffigen/test/native_objc_test/bad_method_config.yaml b/pkgs/ffigen/test/native_objc_test/bad_method_config.yaml index 5ad9c1b9b..1534fbb92 100644 --- a/pkgs/ffigen/test/native_objc_test/bad_method_config.yaml +++ b/pkgs/ffigen/test/native_objc_test/bad_method_config.yaml @@ -18,4 +18,4 @@ headers: entry-points: - 'bad_method_test.m' preamble: | - // ignore_for_file: camel_case_types, non_constant_identifier_names, unused_element, unused_field + // ignore_for_file: camel_case_types, non_constant_identifier_names, unnecessary_non_null_assertion, unused_element, unused_field diff --git a/pkgs/ffigen/test/native_objc_test/block_config.yaml b/pkgs/ffigen/test/native_objc_test/block_config.yaml index 9f12686e3..18289df95 100644 --- a/pkgs/ffigen/test/native_objc_test/block_config.yaml +++ b/pkgs/ffigen/test/native_objc_test/block_config.yaml @@ -13,4 +13,4 @@ headers: entry-points: - 'block_test.m' preamble: | - // ignore_for_file: camel_case_types, non_constant_identifier_names, unused_element, unused_field + // ignore_for_file: camel_case_types, non_constant_identifier_names, unnecessary_non_null_assertion, unused_element, unused_field diff --git a/pkgs/ffigen/test/native_objc_test/cast_config.yaml b/pkgs/ffigen/test/native_objc_test/cast_config.yaml index af3394113..ff5b3faac 100644 --- a/pkgs/ffigen/test/native_objc_test/cast_config.yaml +++ b/pkgs/ffigen/test/native_objc_test/cast_config.yaml @@ -10,4 +10,4 @@ headers: entry-points: - 'cast_test.m' preamble: | - // ignore_for_file: camel_case_types, non_constant_identifier_names, unused_element, unused_field + // ignore_for_file: camel_case_types, non_constant_identifier_names, unnecessary_non_null_assertion, unused_element, unused_field diff --git a/pkgs/ffigen/test/native_objc_test/category_config.yaml b/pkgs/ffigen/test/native_objc_test/category_config.yaml index 5c74e1a54..5c267388e 100644 --- a/pkgs/ffigen/test/native_objc_test/category_config.yaml +++ b/pkgs/ffigen/test/native_objc_test/category_config.yaml @@ -12,4 +12,4 @@ headers: # Include it twice, as a regression test for #353 - 'category_test.m' preamble: | - // ignore_for_file: camel_case_types, non_constant_identifier_names, unused_element, unused_field + // ignore_for_file: camel_case_types, non_constant_identifier_names, unnecessary_non_null_assertion, unused_element, unused_field diff --git a/pkgs/ffigen/test/native_objc_test/failed_to_load_config.yaml b/pkgs/ffigen/test/native_objc_test/failed_to_load_config.yaml index c96702d80..cdd7a2d99 100644 --- a/pkgs/ffigen/test/native_objc_test/failed_to_load_config.yaml +++ b/pkgs/ffigen/test/native_objc_test/failed_to_load_config.yaml @@ -10,4 +10,4 @@ headers: entry-points: - 'failed_to_load_test.m' preamble: | - // ignore_for_file: camel_case_types, non_constant_identifier_names, unused_element, unused_field + // ignore_for_file: camel_case_types, non_constant_identifier_names, unnecessary_non_null_assertion, unused_element, unused_field diff --git a/pkgs/ffigen/test/native_objc_test/forward_decl_config.yaml b/pkgs/ffigen/test/native_objc_test/forward_decl_config.yaml index 7a5c815fc..0c7b33fbb 100644 --- a/pkgs/ffigen/test/native_objc_test/forward_decl_config.yaml +++ b/pkgs/ffigen/test/native_objc_test/forward_decl_config.yaml @@ -11,4 +11,4 @@ headers: - 'forward_decl_test.h' - 'forward_decl_test.m' preamble: | - // ignore_for_file: camel_case_types, non_constant_identifier_names, unused_element, unused_field + // ignore_for_file: camel_case_types, non_constant_identifier_names, unnecessary_non_null_assertion, unused_element, unused_field diff --git a/pkgs/ffigen/test/native_objc_test/inherited_instancetype_config.yaml b/pkgs/ffigen/test/native_objc_test/inherited_instancetype_config.yaml index 926197921..0a26d8bce 100644 --- a/pkgs/ffigen/test/native_objc_test/inherited_instancetype_config.yaml +++ b/pkgs/ffigen/test/native_objc_test/inherited_instancetype_config.yaml @@ -10,4 +10,4 @@ headers: entry-points: - 'inherited_instancetype_test.m' preamble: | - // ignore_for_file: camel_case_types, non_constant_identifier_names, unused_element, unused_field + // ignore_for_file: camel_case_types, non_constant_identifier_names, unnecessary_non_null_assertion, unused_element, unused_field diff --git a/pkgs/ffigen/test/native_objc_test/is_instance_config.yaml b/pkgs/ffigen/test/native_objc_test/is_instance_config.yaml index 2673c0bab..bae5136ef 100644 --- a/pkgs/ffigen/test/native_objc_test/is_instance_config.yaml +++ b/pkgs/ffigen/test/native_objc_test/is_instance_config.yaml @@ -11,4 +11,4 @@ headers: entry-points: - 'is_instance_test.m' preamble: | - // ignore_for_file: camel_case_types, non_constant_identifier_names, unused_element, unused_field + // ignore_for_file: camel_case_types, non_constant_identifier_names, unnecessary_non_null_assertion, unused_element, unused_field diff --git a/pkgs/ffigen/test/native_objc_test/method_config.yaml b/pkgs/ffigen/test/native_objc_test/method_config.yaml index 969ab7cf3..4d09ef519 100644 --- a/pkgs/ffigen/test/native_objc_test/method_config.yaml +++ b/pkgs/ffigen/test/native_objc_test/method_config.yaml @@ -10,4 +10,4 @@ headers: entry-points: - 'method_test.m' preamble: | - // ignore_for_file: camel_case_types, non_constant_identifier_names, unused_element, unused_field + // ignore_for_file: camel_case_types, non_constant_identifier_names, unnecessary_non_null_assertion, unused_element, unused_field diff --git a/pkgs/ffigen/test/native_objc_test/native_objc_config.yaml b/pkgs/ffigen/test/native_objc_test/native_objc_config.yaml index 58bcf5016..0da292f6f 100644 --- a/pkgs/ffigen/test/native_objc_test/native_objc_config.yaml +++ b/pkgs/ffigen/test/native_objc_test/native_objc_config.yaml @@ -18,4 +18,4 @@ headers: entry-points: - 'native_objc_test.m' preamble: | - // ignore_for_file: camel_case_types, non_constant_identifier_names, unused_element, unused_field + // ignore_for_file: camel_case_types, non_constant_identifier_names, unnecessary_non_null_assertion, unused_element, unused_field diff --git a/pkgs/ffigen/test/native_objc_test/nullable_config.yaml b/pkgs/ffigen/test/native_objc_test/nullable_config.yaml index eba9e7706..6818337d4 100644 --- a/pkgs/ffigen/test/native_objc_test/nullable_config.yaml +++ b/pkgs/ffigen/test/native_objc_test/nullable_config.yaml @@ -10,4 +10,4 @@ headers: entry-points: - 'nullable_test.m' preamble: | - // ignore_for_file: camel_case_types, non_constant_identifier_names, unused_element, unused_field + // ignore_for_file: camel_case_types, non_constant_identifier_names, unnecessary_non_null_assertion, unused_element, unused_field diff --git a/pkgs/ffigen/test/native_objc_test/nullable_inheritance_config.yaml b/pkgs/ffigen/test/native_objc_test/nullable_inheritance_config.yaml index 930a53129..f5d95d199 100644 --- a/pkgs/ffigen/test/native_objc_test/nullable_inheritance_config.yaml +++ b/pkgs/ffigen/test/native_objc_test/nullable_inheritance_config.yaml @@ -11,4 +11,4 @@ headers: entry-points: - 'nullable_inheritance_test.m' preamble: | - // ignore_for_file: camel_case_types, non_constant_identifier_names, unused_element, unused_field + // ignore_for_file: camel_case_types, non_constant_identifier_names, unnecessary_non_null_assertion, unused_element, unused_field diff --git a/pkgs/ffigen/test/native_objc_test/property_config.yaml b/pkgs/ffigen/test/native_objc_test/property_config.yaml index 220a83a30..b3b7b0ade 100644 --- a/pkgs/ffigen/test/native_objc_test/property_config.yaml +++ b/pkgs/ffigen/test/native_objc_test/property_config.yaml @@ -10,4 +10,4 @@ headers: entry-points: - 'property_test.m' preamble: | - // ignore_for_file: camel_case_types, non_constant_identifier_names, unused_element, unused_field + // ignore_for_file: camel_case_types, non_constant_identifier_names, unnecessary_non_null_assertion, unused_element, unused_field diff --git a/pkgs/ffigen/test/native_objc_test/rename_config.yaml b/pkgs/ffigen/test/native_objc_test/rename_config.yaml index 8dbae035e..4f80f56dc 100644 --- a/pkgs/ffigen/test/native_objc_test/rename_config.yaml +++ b/pkgs/ffigen/test/native_objc_test/rename_config.yaml @@ -20,4 +20,4 @@ headers: entry-points: - 'rename_test.m' preamble: | - // ignore_for_file: camel_case_types, non_constant_identifier_names, unused_element, unused_field + // ignore_for_file: camel_case_types, non_constant_identifier_names, unnecessary_non_null_assertion, unused_element, unused_field diff --git a/pkgs/ffigen/test/native_objc_test/static_func_config.yaml b/pkgs/ffigen/test/native_objc_test/static_func_config.yaml index bbafeaa78..8ec7b4213 100644 --- a/pkgs/ffigen/test/native_objc_test/static_func_config.yaml +++ b/pkgs/ffigen/test/native_objc_test/static_func_config.yaml @@ -15,4 +15,4 @@ headers: entry-points: - 'static_func_test.m' preamble: | - // ignore_for_file: camel_case_types, non_constant_identifier_names, unused_element, unused_field + // ignore_for_file: camel_case_types, non_constant_identifier_names, unnecessary_non_null_assertion, unused_element, unused_field diff --git a/pkgs/ffigen/test/native_objc_test/static_func_native_config.yaml b/pkgs/ffigen/test/native_objc_test/static_func_native_config.yaml index 2a591c9f7..9b5406af2 100644 --- a/pkgs/ffigen/test/native_objc_test/static_func_native_config.yaml +++ b/pkgs/ffigen/test/native_objc_test/static_func_native_config.yaml @@ -16,4 +16,4 @@ headers: entry-points: - 'static_func_test.m' preamble: | - // ignore_for_file: camel_case_types, non_constant_identifier_names, unused_element, unused_field + // ignore_for_file: camel_case_types, non_constant_identifier_names, unnecessary_non_null_assertion, unused_element, unused_field diff --git a/pkgs/ffigen/test/native_objc_test/string_config.yaml b/pkgs/ffigen/test/native_objc_test/string_config.yaml index 016b2bd93..35b96a955 100644 --- a/pkgs/ffigen/test/native_objc_test/string_config.yaml +++ b/pkgs/ffigen/test/native_objc_test/string_config.yaml @@ -10,4 +10,4 @@ headers: entry-points: - 'string_test.m' preamble: | - // ignore_for_file: camel_case_types, non_constant_identifier_names, unused_element, unused_field + // ignore_for_file: camel_case_types, non_constant_identifier_names, unnecessary_non_null_assertion, unused_element, unused_field diff --git a/pkgs/ffigen/test/native_objc_test/swift_class_config.yaml b/pkgs/ffigen/test/native_objc_test/swift_class_config.yaml index 20bd2881d..01f96dd13 100644 --- a/pkgs/ffigen/test/native_objc_test/swift_class_config.yaml +++ b/pkgs/ffigen/test/native_objc_test/swift_class_config.yaml @@ -12,4 +12,4 @@ headers: entry-points: - 'swift_class_test-Swift.h' preamble: | - // ignore_for_file: camel_case_types, non_constant_identifier_names, unused_element, unused_field + // ignore_for_file: camel_case_types, non_constant_identifier_names, unnecessary_non_null_assertion, unused_element, unused_field diff --git a/pkgs/ffigen/test/native_objc_test/typedef_config.yaml b/pkgs/ffigen/test/native_objc_test/typedef_config.yaml index f375bfc7d..a2c273508 100644 --- a/pkgs/ffigen/test/native_objc_test/typedef_config.yaml +++ b/pkgs/ffigen/test/native_objc_test/typedef_config.yaml @@ -14,4 +14,4 @@ headers: entry-points: - 'typedef_test.m' preamble: | - // ignore_for_file: camel_case_types, non_constant_identifier_names, unused_element, unused_field + // ignore_for_file: camel_case_types, non_constant_identifier_names, unnecessary_non_null_assertion, unused_element, unused_field From 09a4734d600f88e89a5a73ea64e3415448364a42 Mon Sep 17 00:00:00 2001 From: Liam Appelbe Date: Mon, 8 Apr 2024 13:28:08 +1200 Subject: [PATCH 12/21] Fix analysis --- pkgs/ffigen/test/native_objc_test/failed_to_load_test.dart | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/ffigen/test/native_objc_test/failed_to_load_test.dart b/pkgs/ffigen/test/native_objc_test/failed_to_load_test.dart index 8d1bb7091..017844ad6 100644 --- a/pkgs/ffigen/test/native_objc_test/failed_to_load_test.dart +++ b/pkgs/ffigen/test/native_objc_test/failed_to_load_test.dart @@ -6,7 +6,6 @@ @TestOn('mac-os') import 'dart:ffi'; -import 'dart:io'; import 'package:test/test.dart'; import '../test_utils.dart'; From c34d5f86b6aaec7711b8207be0534ce5dc15dbc0 Mon Sep 17 00:00:00 2001 From: Liam Appelbe Date: Mon, 8 Apr 2024 14:37:36 +1200 Subject: [PATCH 13/21] Fix tests --- .github/workflows/ffigen.yml | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ffigen.yml b/.github/workflows/ffigen.yml index 915799b8a..eaf801276 100644 --- a/.github/workflows/ffigen.yml +++ b/.github/workflows/ffigen.yml @@ -61,8 +61,12 @@ jobs: - uses: dart-lang/setup-dart@fedb1266e91cf51be2fdb382869461a434b920a3 with: sdk: 3.3.0 + - uses: subosito/flutter-action@2783a3f08e1baf891508463f8c6653c258246225 + with: + flutter-version: 3.19.0 + channel: 'stable' - name: Install dependencies - run: dart pub get + run: flutter pub get - name: Install libclang-14-dev run: sudo apt-get install libclang-14-dev - name: Build test dylib and bindings @@ -82,8 +86,12 @@ jobs: - uses: dart-lang/setup-dart@fedb1266e91cf51be2fdb382869461a434b920a3 with: sdk: 3.3.0 + - uses: subosito/flutter-action@2783a3f08e1baf891508463f8c6653c258246225 + with: + flutter-version: 3.19.0 + channel: 'stable' - name: Install dependencies - run: dart pub get + run: flutter pub get - name: Build test dylib and bindings run: dart test/setup.dart - name: Run VM tests @@ -115,8 +123,12 @@ jobs: - uses: dart-lang/setup-dart@fedb1266e91cf51be2fdb382869461a434b920a3 with: sdk: 3.3.0 + - uses: subosito/flutter-action@2783a3f08e1baf891508463f8c6653c258246225 + with: + flutter-version: 3.19.0 + channel: 'stable' - name: Install dependencies - run: dart pub get + run: flutter pub get - name: Build test dylib and bindings run: dart test/setup.dart - name: Run VM tests From 4dcd7156f783a1e1f47cdaca302a070a0c7d315a Mon Sep 17 00:00:00 2001 From: Liam Appelbe Date: Tue, 9 Apr 2024 13:48:30 +1200 Subject: [PATCH 14/21] Fix tests and address comments --- .github/workflows/ffigen.yml | 12 ------------ pkgs/ffigen/analysis_options.yaml | 3 --- .../test/example_tests/objective_c_example_test.dart | 4 ++-- .../test/example_tests/swift_example_test.dart | 2 +- 4 files changed, 3 insertions(+), 18 deletions(-) diff --git a/.github/workflows/ffigen.yml b/.github/workflows/ffigen.yml index eaf801276..c3fdfbfdf 100644 --- a/.github/workflows/ffigen.yml +++ b/.github/workflows/ffigen.yml @@ -32,9 +32,6 @@ jobs: fail-fast: false steps: - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 - - uses: dart-lang/setup-dart@fedb1266e91cf51be2fdb382869461a434b920a3 - with: - sdk: 3.3.0 - uses: subosito/flutter-action@2783a3f08e1baf891508463f8c6653c258246225 with: flutter-version: 3.19.0 @@ -58,9 +55,6 @@ jobs: working-directory: pkgs/ffigen/ steps: - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 - - uses: dart-lang/setup-dart@fedb1266e91cf51be2fdb382869461a434b920a3 - with: - sdk: 3.3.0 - uses: subosito/flutter-action@2783a3f08e1baf891508463f8c6653c258246225 with: flutter-version: 3.19.0 @@ -83,9 +77,6 @@ jobs: working-directory: pkgs/ffigen/ steps: - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 - - uses: dart-lang/setup-dart@fedb1266e91cf51be2fdb382869461a434b920a3 - with: - sdk: 3.3.0 - uses: subosito/flutter-action@2783a3f08e1baf891508463f8c6653c258246225 with: flutter-version: 3.19.0 @@ -120,9 +111,6 @@ jobs: working-directory: pkgs/ffigen/ steps: - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 - - uses: dart-lang/setup-dart@fedb1266e91cf51be2fdb382869461a434b920a3 - with: - sdk: 3.3.0 - uses: subosito/flutter-action@2783a3f08e1baf891508463f8c6653c258246225 with: flutter-version: 3.19.0 diff --git a/pkgs/ffigen/analysis_options.yaml b/pkgs/ffigen/analysis_options.yaml index a5268ae76..eb3d90860 100644 --- a/pkgs/ffigen/analysis_options.yaml +++ b/pkgs/ffigen/analysis_options.yaml @@ -10,9 +10,6 @@ analyzer: exclude: - 'test/**_expected*' - # Goldens cannot be generated outside MacOS causing analysis errors. - # - test/native_objc_test/** # Moved to test_flutter for now. - # Exclude anything that uses package:objective_c, due to flutter dependency. # https://github.com/dart-lang/native/issues/1068 - example/objective_c/** diff --git a/pkgs/ffigen/test/example_tests/objective_c_example_test.dart b/pkgs/ffigen/test/example_tests/objective_c_example_test.dart index eba22e613..a47a27427 100644 --- a/pkgs/ffigen/test/example_tests/objective_c_example_test.dart +++ b/pkgs/ffigen/test/example_tests/objective_c_example_test.dart @@ -35,8 +35,8 @@ void main() { expect(output, contains('class AVAudioPlayer extends NSObject {')); expect( output, - contains('AVAudioPlayer? initWithContentsOfURL_error_(' - 'NSURL url, ffi.Pointer> outError) {')); + contains('AVAudioPlayer? initWithContentsOfURL_error_(NSURL url, ' + 'ffi.Pointer> outError) {')); expect(output, contains('double get duration {')); expect(output, contains('bool play() {')); }); diff --git a/pkgs/ffigen/test/example_tests/swift_example_test.dart b/pkgs/ffigen/test/example_tests/swift_example_test.dart index a4ac61e5e..17a4211fe 100644 --- a/pkgs/ffigen/test/example_tests/swift_example_test.dart +++ b/pkgs/ffigen/test/example_tests/swift_example_test.dart @@ -63,7 +63,7 @@ void main() { expect( output, contains(RegExp(r'late final _class_SwiftClass.* = ' - r'_getClass.*\("swift_module\.SwiftClass"\)'))); + r'objc.getClass.*\("swift_module\.SwiftClass"\)'))); }); }); } From 0396b3c82679c30341eb5a178ba76c10a47bcc28 Mon Sep 17 00:00:00 2001 From: Liam Appelbe Date: Tue, 9 Apr 2024 13:54:37 +1200 Subject: [PATCH 15/21] Improve ffigen's CHANGELOG entry --- pkgs/ffigen/CHANGELOG.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pkgs/ffigen/CHANGELOG.md b/pkgs/ffigen/CHANGELOG.md index 0e4a40602..c52f4b5b1 100644 --- a/pkgs/ffigen/CHANGELOG.md +++ b/pkgs/ffigen/CHANGELOG.md @@ -5,7 +5,10 @@ `ffi-native` option. - Add `retainAndReturnPointer` method to ObjC objects and blocks, and add `castFromPointer` method to blocks. -- Use `package:objective_c` in ObjC bindings. +- __Breaking change__: Use `package:objective_c` in ObjC bindings. This means + that ObjC packages will have a flutter dependency (until #1068 is fixed), and + also makes some minor API changes (`castFrom` and `isInstance` now take a + `lib` argument). ## 11.0.0 From a5d0d99551cdf66da3238dc5eb3fada04293608c Mon Sep 17 00:00:00 2001 From: Liam Appelbe Date: Tue, 9 Apr 2024 14:42:49 +1200 Subject: [PATCH 16/21] Gather objective_c coverage during ffigen tests --- pkgs/ffigen/tool/coverage.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/ffigen/tool/coverage.sh b/pkgs/ffigen/tool/coverage.sh index 02c8e2f47..9c9c24581 100755 --- a/pkgs/ffigen/tool/coverage.sh +++ b/pkgs/ffigen/tool/coverage.sh @@ -11,5 +11,5 @@ set -e dart pub global activate coverage # Generate coverage report. dart run --pause-isolates-on-exit --disable-service-auth-codes --enable-vm-service=3000 test & -dart pub global run coverage:collect_coverage --wait-paused --uri=http://127.0.0.1:3000/ -o coverage.json --resume-isolates --scope-output=ffigen +dart pub global run coverage:collect_coverage --wait-paused --uri=http://127.0.0.1:3000/ -o coverage.json --resume-isolates --scope-output=ffigen --scope-output=objective_c dart pub global run coverage:format_coverage --packages=.dart_tool/package_config.json --lcov -i coverage.json -o lcov.info From 6413bab15fbfca315391c9cc58113d6dc85b145e Mon Sep 17 00:00:00 2001 From: Liam Appelbe Date: Wed, 10 Apr 2024 11:50:25 +1200 Subject: [PATCH 17/21] Daco's comments --- pkgs/ffigen/lib/src/code_generator/utils.dart | 9 +++++---- pkgs/ffigen/pubspec.yaml | 3 +++ 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/pkgs/ffigen/lib/src/code_generator/utils.dart b/pkgs/ffigen/lib/src/code_generator/utils.dart index f5dab083e..f1dfd4da1 100644 --- a/pkgs/ffigen/lib/src/code_generator/utils.dart +++ b/pkgs/ffigen/lib/src/code_generator/utils.dart @@ -117,11 +117,12 @@ String makeArrayAnnotation(Writer w, ConstantArray arrayType) { return '@${w.ffiLibraryPrefix}.Array.multi([${dimensions.join(', ')}])'; } +/// The path to the Dart executable. +/// +/// This is usually just Platform.resolvedExecutable. But when running flutter +/// tests, the resolvedExecutable will be flutter_tester, and Dart will be in a +/// directory a few levels up from it. String findDart() { - // Returns the path to the Dart executable, which will usually just be - // Platform.resolvedExecutable. But when running flutter tests, the - // resolvedExecutable will be flutter_tester, and Dart will be in a - // directory a few levels up from it. String path = Platform.resolvedExecutable; if (p.basenameWithoutExtension(path) == 'dart') return path; final dartExe = 'dart${p.extension(path)}'; diff --git a/pkgs/ffigen/pubspec.yaml b/pkgs/ffigen/pubspec.yaml index bb2e9b869..42ec01321 100644 --- a/pkgs/ffigen/pubspec.yaml +++ b/pkgs/ffigen/pubspec.yaml @@ -38,5 +38,8 @@ dev_dependencies: test: ^1.16.2 dependency_overrides: + # package:objective_c has a flutter dependency, so `dart test` must be run + # using the dart from the flutter SDK. + # See https://github.com/dart-lang/native/issues/1068 objective_c: path: ../objective_c/ From 85473c73d568cff950f2807ce4f4800f543d5f53 Mon Sep 17 00:00:00 2001 From: Liam Appelbe Date: Thu, 11 Apr 2024 15:47:51 +1200 Subject: [PATCH 18/21] Move objc_msgSend into package:objective_c --- .../objective_c/avf_audio_bindings.dart | 123467 +++++---------- .../example/objective_c/play_audio.dart | 8 +- pkgs/ffigen/example/swift/example.dart | 4 +- .../example/swift/swift_api_bindings.dart | 118773 +++++--------- .../lib/src/code_generator/enum_class.dart | 2 +- pkgs/ffigen/lib/src/code_generator/func.dart | 6 +- .../lib/src/code_generator/imports.dart | 2 +- .../lib/src/code_generator/native_type.dart | 2 +- .../lib/src/code_generator/objc_block.dart | 46 +- .../objc_built_in_functions.dart | 113 +- .../src/code_generator/objc_interface.dart | 63 +- .../lib/src/code_generator/objc_nullable.dart | 4 +- .../lib/src/code_generator/pointer.dart | 5 +- pkgs/ffigen/lib/src/code_generator/type.dart | 13 +- .../lib/src/code_generator/typealias.dart | 13 +- .../sub_parsers/objc_block_parser.dart | 1 - .../objective_c_example_test.dart | 5 +- .../example_tests/swift_example_test.dart | 3 +- .../automated_ref_count_test.dart | 56 +- .../native_objc_test/bad_method_test.dart | 7 +- .../test/native_objc_test/block_test.dart | 100 +- .../test/native_objc_test/cast_test.dart | 21 +- .../test/native_objc_test/category_test.dart | 5 +- .../native_objc_test/failed_to_load_test.dart | 11 +- .../native_objc_test/forward_decl_test.dart | 7 +- .../inherited_instancetype_test.dart | 11 +- .../native_objc_test/is_instance_test.dart | 28 +- .../test/native_objc_test/method_test.dart | 13 +- .../native_objc_test/native_objc_test.dart | 11 +- .../nullable_inheritance_test.dart | 10 +- .../test/native_objc_test/nullable_test.dart | 24 +- .../test/native_objc_test/property_test.dart | 11 +- .../test/native_objc_test/rename_test.dart | 5 +- .../static_func_native_test.dart | 24 +- .../native_objc_test/static_func_test.dart | 8 +- .../test/native_objc_test/string_test.dart | 14 +- .../native_objc_test/swift_class_test.dart | 5 +- .../test/native_objc_test/typedef_test.dart | 6 +- pkgs/objective_c/ffigen.yaml | 5 +- pkgs/objective_c/lib/src/core.dart | 7 + .../src/objective_c_bindings_generated.dart | 9 + pkgs/objective_c/src/objective_c_runtime.h | 6 + 42 files changed, 86080 insertions(+), 156854 deletions(-) diff --git a/pkgs/ffigen/example/objective_c/avf_audio_bindings.dart b/pkgs/ffigen/example/objective_c/avf_audio_bindings.dart index 25f8711a1..db17abbec 100644 --- a/pkgs/ffigen/example/objective_c/avf_audio_bindings.dart +++ b/pkgs/ffigen/example/objective_c/avf_audio_bindings.dart @@ -12,42450 +12,4422 @@ import 'dart:ffi' as ffi; import 'package:objective_c/objective_c.dart' as objc; import 'package:ffi/ffi.dart' as pkg_ffi; -/// Bindings for AVFAudio. -class AVFAudio { - /// Holds the symbol lookup function. - final ffi.Pointer Function( - String symbolName, - ) _lookup; - - /// The symbols are looked up in [dynamicLibrary]. - AVFAudio(ffi.DynamicLibrary dynamicLibrary) : _lookup = dynamicLibrary.lookup; - - /// The symbols are looked up with [lookup]. - AVFAudio.fromLookup( - ffi.Pointer Function(String symbolName) lookup, - ) : _lookup = lookup; - - late final _class_NSObject1 = objc.getClass("NSObject"); - late final _sel_load1 = objc.registerName("load"); - void _objc_msgSend_1( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_1(obj, sel); - } - - late final __objc_msgSend_1Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1 = __objc_msgSend_1Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_initialize1 = objc.registerName("initialize"); - late final _sel_init1 = objc.registerName("init"); - instancetype _objc_msgSend_2( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_2(obj, sel); - } - - late final __objc_msgSend_2Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_2 = __objc_msgSend_2Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_new1 = objc.registerName("new"); - late final _sel_allocWithZone_1 = objc.registerName("allocWithZone:"); - instancetype _objc_msgSend_3( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer<_NSZone> zone, - ) { - return __objc_msgSend_3(obj, sel, zone); - } - - late final __objc_msgSend_3Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_NSZone>, - )>>('objc_msgSend'); - late final __objc_msgSend_3 = __objc_msgSend_3Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_NSZone>, - )>(); - - late final _sel_alloc1 = objc.registerName("alloc"); - late final _sel_dealloc1 = objc.registerName("dealloc"); - late final _sel_finalize1 = objc.registerName("finalize"); - late final _sel_copy1 = objc.registerName("copy"); - late final _sel_mutableCopy1 = objc.registerName("mutableCopy"); - late final _sel_copyWithZone_1 = objc.registerName("copyWithZone:"); - late final _sel_mutableCopyWithZone_1 = objc.registerName( - "mutableCopyWithZone:", - ); - late final _sel_instancesRespondToSelector_1 = objc.registerName( - "instancesRespondToSelector:", - ); - bool _objc_msgSend_4( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aSelector, - ) { - return __objc_msgSend_4(obj, sel, aSelector); - } - - late final __objc_msgSend_4Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_4 = __objc_msgSend_4Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - bool _objc_msgSend_0( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer clazz, - ) { - return __objc_msgSend_0(obj, sel, clazz); - } - - late final __objc_msgSend_0Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_0 = __objc_msgSend_0Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_isKindOfClass_1 = objc.registerName("isKindOfClass:"); - late final _class_Protocol1 = objc.getClass("Protocol"); - late final _sel_conformsToProtocol_1 = objc.registerName( - "conformsToProtocol:", - ); - bool _objc_msgSend_5( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer protocol, - ) { - return __objc_msgSend_5(obj, sel, protocol); - } - - late final __objc_msgSend_5Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_5 = __objc_msgSend_5Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_methodForSelector_1 = objc.registerName("methodForSelector:"); - ffi.Pointer> _objc_msgSend_6( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aSelector, - ) { - return __objc_msgSend_6(obj, sel, aSelector); - } - - late final __objc_msgSend_6Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer> Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_6 = __objc_msgSend_6Ptr.asFunction< - ffi.Pointer> Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_instanceMethodForSelector_1 = objc.registerName( - "instanceMethodForSelector:", - ); - late final _sel_doesNotRecognizeSelector_1 = objc.registerName( - "doesNotRecognizeSelector:", - ); - void _objc_msgSend_7( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aSelector, - ) { - return __objc_msgSend_7(obj, sel, aSelector); - } - - late final __objc_msgSend_7Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_7 = __objc_msgSend_7Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_forwardingTargetForSelector_1 = objc.registerName( - "forwardingTargetForSelector:", - ); - ffi.Pointer _objc_msgSend_8( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aSelector, - ) { - return __objc_msgSend_8(obj, sel, aSelector); - } - - late final __objc_msgSend_8Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_8 = __objc_msgSend_8Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _class_NSInvocation1 = objc.getClass("NSInvocation"); - late final _class_NSMethodSignature1 = objc.getClass("NSMethodSignature"); - late final _sel_signatureWithObjCTypes_1 = objc.registerName( - "signatureWithObjCTypes:", - ); - ffi.Pointer _objc_msgSend_9( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer types, - ) { - return __objc_msgSend_9(obj, sel, types); - } - - late final __objc_msgSend_9Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_9 = __objc_msgSend_9Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_numberOfArguments1 = objc.registerName("numberOfArguments"); - int _objc_msgSend_10( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_10(obj, sel); - } - - late final __objc_msgSend_10Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_10 = __objc_msgSend_10Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_getArgumentTypeAtIndex_1 = objc.registerName( - "getArgumentTypeAtIndex:", - ); - ffi.Pointer _objc_msgSend_11( - ffi.Pointer obj, - ffi.Pointer sel, - int idx, - ) { - return __objc_msgSend_11(obj, sel, idx); - } - - late final __objc_msgSend_11Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - )>>('objc_msgSend'); - late final __objc_msgSend_11 = __objc_msgSend_11Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_frameLength1 = objc.registerName("frameLength"); - late final _sel_isOneway1 = objc.registerName("isOneway"); - bool _objc_msgSend_12( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_12(obj, sel); - } - - late final __objc_msgSend_12Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_12 = __objc_msgSend_12Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_methodReturnType1 = objc.registerName("methodReturnType"); - ffi.Pointer _objc_msgSend_13( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_13(obj, sel); - } - - late final __objc_msgSend_13Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_13 = __objc_msgSend_13Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_methodReturnLength1 = objc.registerName("methodReturnLength"); - late final _sel_cancelPreviousPerformRequestsWithTarget_selector_object_1 = - objc.registerName( - "cancelPreviousPerformRequestsWithTarget:selector:object:", - ); - void _objc_msgSend_14( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aTarget, - ffi.Pointer aSelector, - ffi.Pointer anArgument, - ) { - return __objc_msgSend_14(obj, sel, aTarget, aSelector, anArgument); - } - - late final __objc_msgSend_14Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_14 = __objc_msgSend_14Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_cancelPreviousPerformRequestsWithTarget_1 = objc.registerName( - "cancelPreviousPerformRequestsWithTarget:", - ); - void _objc_msgSend_15( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aTarget, - ) { - return __objc_msgSend_15(obj, sel, aTarget); - } - - late final __objc_msgSend_15Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_15 = __objc_msgSend_15Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_accessInstanceVariablesDirectly1 = objc.registerName( - "accessInstanceVariablesDirectly", - ); - late final _sel_useStoredAccessor1 = objc.registerName("useStoredAccessor"); - late final _class_NSSet1 = objc.getClass("NSSet"); - late final _sel_count1 = objc.registerName("count"); - late final _sel_member_1 = objc.registerName("member:"); - ffi.Pointer _objc_msgSend_16( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer object, - ) { - return __objc_msgSend_16(obj, sel, object); - } - - late final __objc_msgSend_16Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_16 = __objc_msgSend_16Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _class_NSEnumerator1 = objc.getClass("NSEnumerator"); - late final _sel_nextObject1 = objc.registerName("nextObject"); - ffi.Pointer _objc_msgSend_17( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_17(obj, sel); - } - - late final __objc_msgSend_17Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_17 = __objc_msgSend_17Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_allObjects1 = objc.registerName("allObjects"); - late final _class_NSString1 = objc.getClass("NSString"); - late final _sel_length1 = objc.registerName("length"); - late final _sel_characterAtIndex_1 = objc.registerName("characterAtIndex:"); - int _objc_msgSend_18( - ffi.Pointer obj, - ffi.Pointer sel, - int index, - ) { - return __objc_msgSend_18(obj, sel, index); - } - - late final __objc_msgSend_18Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedShort Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - )>>('objc_msgSend'); - late final __objc_msgSend_18 = __objc_msgSend_18Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _class_NSCoder1 = objc.getClass("NSCoder"); - late final _sel_encodeValueOfObjCType_at_1 = objc.registerName( - "encodeValueOfObjCType:at:", - ); - void _objc_msgSend_19( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer type, - ffi.Pointer addr, - ) { - return __objc_msgSend_19(obj, sel, type, addr); - } - - late final __objc_msgSend_19Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_19 = __objc_msgSend_19Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _class_NSData1 = objc.getClass("NSData"); - late final _sel_bytes1 = objc.registerName("bytes"); - ffi.Pointer _objc_msgSend_20( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_20(obj, sel); - } - - late final __objc_msgSend_20Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_20 = __objc_msgSend_20Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_description1 = objc.registerName("description"); - ffi.Pointer _objc_msgSend_21( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_21(obj, sel); - } - - late final __objc_msgSend_21Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_21 = __objc_msgSend_21Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_getBytes_length_1 = objc.registerName("getBytes:length:"); - void _objc_msgSend_22( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer buffer, - int length, - ) { - return __objc_msgSend_22(obj, sel, buffer, length); - } - - late final __objc_msgSend_22Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - )>>('objc_msgSend'); - late final __objc_msgSend_22 = __objc_msgSend_22Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_getBytes_range_1 = objc.registerName("getBytes:range:"); - void _objc_msgSend_23( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer buffer, - _NSRange range, - ) { - return __objc_msgSend_23(obj, sel, buffer, range); - } - - late final __objc_msgSend_23Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - _NSRange, - )>>('objc_msgSend'); - late final __objc_msgSend_23 = __objc_msgSend_23Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - _NSRange, - )>(); - - late final _sel_isEqualToData_1 = objc.registerName("isEqualToData:"); - bool _objc_msgSend_24( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer other, - ) { - return __objc_msgSend_24(obj, sel, other); - } - - late final __objc_msgSend_24Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_24 = __objc_msgSend_24Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_subdataWithRange_1 = objc.registerName("subdataWithRange:"); - ffi.Pointer _objc_msgSend_25( - ffi.Pointer obj, - ffi.Pointer sel, - _NSRange range, - ) { - return __objc_msgSend_25(obj, sel, range); - } - - late final __objc_msgSend_25Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - )>>('objc_msgSend'); - late final __objc_msgSend_25 = __objc_msgSend_25Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - )>(); - - late final _sel_writeToFile_atomically_1 = objc.registerName( - "writeToFile:atomically:", - ); - bool _objc_msgSend_26( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, - bool useAuxiliaryFile, - ) { - return __objc_msgSend_26(obj, sel, path, useAuxiliaryFile); - } - - late final __objc_msgSend_26Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - )>>('objc_msgSend'); - late final __objc_msgSend_26 = __objc_msgSend_26Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - )>(); - - late final _class_NSURL1 = objc.getClass("NSURL"); - late final _sel_initWithScheme_host_path_1 = objc.registerName( - "initWithScheme:host:path:", - ); - instancetype _objc_msgSend_27( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer scheme, - ffi.Pointer host, - ffi.Pointer path, - ) { - return __objc_msgSend_27(obj, sel, scheme, host, path); - } - - late final __objc_msgSend_27Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_27 = __objc_msgSend_27Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_initFileURLWithPath_isDirectory_relativeToURL_1 = - objc.registerName("initFileURLWithPath:isDirectory:relativeToURL:"); - instancetype _objc_msgSend_28( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, - bool isDir, - ffi.Pointer baseURL, - ) { - return __objc_msgSend_28(obj, sel, path, isDir, baseURL); - } - - late final __objc_msgSend_28Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_28 = __objc_msgSend_28Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - ffi.Pointer, - )>(); - - late final _sel_initFileURLWithPath_relativeToURL_1 = objc.registerName( - "initFileURLWithPath:relativeToURL:", - ); - instancetype _objc_msgSend_29( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, - ffi.Pointer baseURL, - ) { - return __objc_msgSend_29(obj, sel, path, baseURL); - } - - late final __objc_msgSend_29Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_29 = __objc_msgSend_29Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_initFileURLWithPath_isDirectory_1 = objc.registerName( - "initFileURLWithPath:isDirectory:", - ); - instancetype _objc_msgSend_30( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, - bool isDir, - ) { - return __objc_msgSend_30(obj, sel, path, isDir); - } - - late final __objc_msgSend_30Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - )>>('objc_msgSend'); - late final __objc_msgSend_30 = __objc_msgSend_30Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - )>(); - - late final _sel_initFileURLWithPath_1 = objc.registerName( - "initFileURLWithPath:", - ); - instancetype _objc_msgSend_31( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, - ) { - return __objc_msgSend_31(obj, sel, path); - } - - late final __objc_msgSend_31Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_31 = __objc_msgSend_31Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_fileURLWithPath_isDirectory_relativeToURL_1 = - objc.registerName("fileURLWithPath:isDirectory:relativeToURL:"); - ffi.Pointer _objc_msgSend_32( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, - bool isDir, - ffi.Pointer baseURL, - ) { - return __objc_msgSend_32(obj, sel, path, isDir, baseURL); - } - - late final __objc_msgSend_32Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_32 = __objc_msgSend_32Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - ffi.Pointer, - )>(); - - late final _sel_fileURLWithPath_relativeToURL_1 = objc.registerName( - "fileURLWithPath:relativeToURL:", - ); - ffi.Pointer _objc_msgSend_33( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, - ffi.Pointer baseURL, - ) { - return __objc_msgSend_33(obj, sel, path, baseURL); - } - - late final __objc_msgSend_33Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_33 = __objc_msgSend_33Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_fileURLWithPath_isDirectory_1 = objc.registerName( - "fileURLWithPath:isDirectory:", - ); - ffi.Pointer _objc_msgSend_34( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, - bool isDir, - ) { - return __objc_msgSend_34(obj, sel, path, isDir); - } - - late final __objc_msgSend_34Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - )>>('objc_msgSend'); - late final __objc_msgSend_34 = __objc_msgSend_34Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - )>(); - - late final _sel_fileURLWithPath_1 = objc.registerName("fileURLWithPath:"); - ffi.Pointer _objc_msgSend_35( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, - ) { - return __objc_msgSend_35(obj, sel, path); - } - - late final __objc_msgSend_35Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_35 = __objc_msgSend_35Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_initFileURLWithFileSystemRepresentation_isDirectory_relativeToURL_1 = - objc.registerName( - "initFileURLWithFileSystemRepresentation:isDirectory:relativeToURL:", - ); - instancetype _objc_msgSend_36( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, - bool isDir, - ffi.Pointer baseURL, - ) { - return __objc_msgSend_36(obj, sel, path, isDir, baseURL); - } - - late final __objc_msgSend_36Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_36 = __objc_msgSend_36Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - ffi.Pointer, - )>(); - - late final _sel_fileURLWithFileSystemRepresentation_isDirectory_relativeToURL_1 = - objc.registerName( - "fileURLWithFileSystemRepresentation:isDirectory:relativeToURL:", - ); - ffi.Pointer _objc_msgSend_37( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, - bool isDir, - ffi.Pointer baseURL, - ) { - return __objc_msgSend_37(obj, sel, path, isDir, baseURL); - } - - late final __objc_msgSend_37Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_37 = __objc_msgSend_37Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - ffi.Pointer, - )>(); - - late final _sel_initWithString_1 = objc.registerName("initWithString:"); - instancetype _objc_msgSend_38( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer URLString, - ) { - return __objc_msgSend_38(obj, sel, URLString); - } - - late final __objc_msgSend_38Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_38 = __objc_msgSend_38Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_initWithString_relativeToURL_1 = objc.registerName( - "initWithString:relativeToURL:", - ); - instancetype _objc_msgSend_39( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer URLString, - ffi.Pointer baseURL, - ) { - return __objc_msgSend_39(obj, sel, URLString, baseURL); - } - - late final __objc_msgSend_39Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_39 = __objc_msgSend_39Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_URLWithString_1 = objc.registerName("URLWithString:"); - late final _sel_URLWithString_relativeToURL_1 = objc.registerName( - "URLWithString:relativeToURL:", - ); - late final _sel_initWithString_encodingInvalidCharacters_1 = - objc.registerName("initWithString:encodingInvalidCharacters:"); - instancetype _objc_msgSend_40( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer URLString, - bool encodingInvalidCharacters, - ) { - return __objc_msgSend_40(obj, sel, URLString, encodingInvalidCharacters); - } - - late final __objc_msgSend_40Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - )>>('objc_msgSend'); - late final __objc_msgSend_40 = __objc_msgSend_40Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - )>(); - - late final _sel_URLWithString_encodingInvalidCharacters_1 = objc.registerName( - "URLWithString:encodingInvalidCharacters:", - ); - late final _sel_initWithDataRepresentation_relativeToURL_1 = - objc.registerName("initWithDataRepresentation:relativeToURL:"); - instancetype _objc_msgSend_41( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer data, - ffi.Pointer baseURL, - ) { - return __objc_msgSend_41(obj, sel, data, baseURL); - } - - late final __objc_msgSend_41Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_41 = __objc_msgSend_41Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_URLWithDataRepresentation_relativeToURL_1 = objc.registerName( - "URLWithDataRepresentation:relativeToURL:", - ); - ffi.Pointer _objc_msgSend_42( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer data, - ffi.Pointer baseURL, - ) { - return __objc_msgSend_42(obj, sel, data, baseURL); - } - - late final __objc_msgSend_42Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_42 = __objc_msgSend_42Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_initAbsoluteURLWithDataRepresentation_relativeToURL_1 = - objc.registerName("initAbsoluteURLWithDataRepresentation:relativeToURL:"); - late final _sel_absoluteURLWithDataRepresentation_relativeToURL_1 = - objc.registerName("absoluteURLWithDataRepresentation:relativeToURL:"); - late final _sel_dataRepresentation1 = objc.registerName("dataRepresentation"); - ffi.Pointer _objc_msgSend_43( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_43(obj, sel); - } - - late final __objc_msgSend_43Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_43 = __objc_msgSend_43Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_absoluteString1 = objc.registerName("absoluteString"); - ffi.Pointer _objc_msgSend_44( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_44(obj, sel); - } - - late final __objc_msgSend_44Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_44 = __objc_msgSend_44Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_relativeString1 = objc.registerName("relativeString"); - late final _sel_baseURL1 = objc.registerName("baseURL"); - ffi.Pointer _objc_msgSend_45( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_45(obj, sel); - } - - late final __objc_msgSend_45Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_45 = __objc_msgSend_45Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_absoluteURL1 = objc.registerName("absoluteURL"); - late final _sel_scheme1 = objc.registerName("scheme"); - late final _sel_resourceSpecifier1 = objc.registerName("resourceSpecifier"); - late final _sel_host1 = objc.registerName("host"); - late final _class_NSNumber1 = objc.getClass("NSNumber"); - late final _class_NSValue1 = objc.getClass("NSValue"); - late final _sel_getValue_size_1 = objc.registerName("getValue:size:"); - late final _sel_objCType1 = objc.registerName("objCType"); - late final _sel_initWithBytes_objCType_1 = objc.registerName( - "initWithBytes:objCType:", - ); - instancetype _objc_msgSend_46( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, - ffi.Pointer type, - ) { - return __objc_msgSend_46(obj, sel, value, type); - } - - late final __objc_msgSend_46Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_46 = __objc_msgSend_46Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_initWithCoder_1 = objc.registerName("initWithCoder:"); - instancetype _objc_msgSend_47( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer coder, - ) { - return __objc_msgSend_47(obj, sel, coder); - } - - late final __objc_msgSend_47Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_47 = __objc_msgSend_47Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_valueWithBytes_objCType_1 = objc.registerName( - "valueWithBytes:objCType:", - ); - ffi.Pointer _objc_msgSend_48( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, - ffi.Pointer type, - ) { - return __objc_msgSend_48(obj, sel, value, type); - } - - late final __objc_msgSend_48Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_48 = __objc_msgSend_48Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_value_withObjCType_1 = objc.registerName( - "value:withObjCType:", - ); - late final _sel_valueWithNonretainedObject_1 = objc.registerName( - "valueWithNonretainedObject:", - ); - ffi.Pointer _objc_msgSend_49( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer anObject, - ) { - return __objc_msgSend_49(obj, sel, anObject); - } - - late final __objc_msgSend_49Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_49 = __objc_msgSend_49Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_nonretainedObjectValue1 = objc.registerName( - "nonretainedObjectValue", - ); - late final _sel_valueWithPointer_1 = objc.registerName("valueWithPointer:"); - ffi.Pointer _objc_msgSend_50( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer pointer, - ) { - return __objc_msgSend_50(obj, sel, pointer); - } - - late final __objc_msgSend_50Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_50 = __objc_msgSend_50Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_pointerValue1 = objc.registerName("pointerValue"); - late final _sel_isEqualToValue_1 = objc.registerName("isEqualToValue:"); - bool _objc_msgSend_51( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, - ) { - return __objc_msgSend_51(obj, sel, value); - } - - late final __objc_msgSend_51Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_51 = __objc_msgSend_51Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_getValue_1 = objc.registerName("getValue:"); - void _objc_msgSend_52( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, - ) { - return __objc_msgSend_52(obj, sel, value); - } - - late final __objc_msgSend_52Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_52 = __objc_msgSend_52Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_valueWithRange_1 = objc.registerName("valueWithRange:"); - ffi.Pointer _objc_msgSend_53( - ffi.Pointer obj, - ffi.Pointer sel, - _NSRange range, - ) { - return __objc_msgSend_53(obj, sel, range); - } - - late final __objc_msgSend_53Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - )>>('objc_msgSend'); - late final __objc_msgSend_53 = __objc_msgSend_53Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - )>(); - - late final _sel_rangeValue1 = objc.registerName("rangeValue"); - _NSRange _objc_msgSend_54( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_54(obj, sel); - } - - late final __objc_msgSend_54Ptr = _lookup< - ffi.NativeFunction< - _NSRange Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_54 = __objc_msgSend_54Ptr.asFunction< - _NSRange Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - void _objc_msgSend_54_stret( - ffi.Pointer<_NSRange> stret, - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_54_stret(stret, obj, sel); - } - - late final __objc_msgSend_54_stretPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer<_NSRange>, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend_stret'); - late final __objc_msgSend_54_stret = __objc_msgSend_54_stretPtr.asFunction< - void Function( - ffi.Pointer<_NSRange>, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_valueWithPoint_1 = objc.registerName("valueWithPoint:"); - ffi.Pointer _objc_msgSend_55( - ffi.Pointer obj, - ffi.Pointer sel, - CGPoint point, - ) { - return __objc_msgSend_55(obj, sel, point); - } - - late final __objc_msgSend_55Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - CGPoint, - )>>('objc_msgSend'); - late final __objc_msgSend_55 = __objc_msgSend_55Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - CGPoint, - )>(); - - late final _sel_valueWithSize_1 = objc.registerName("valueWithSize:"); - ffi.Pointer _objc_msgSend_56( - ffi.Pointer obj, - ffi.Pointer sel, - CGSize size, - ) { - return __objc_msgSend_56(obj, sel, size); - } - - late final __objc_msgSend_56Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - CGSize, - )>>('objc_msgSend'); - late final __objc_msgSend_56 = __objc_msgSend_56Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - CGSize, - )>(); - - late final _sel_valueWithRect_1 = objc.registerName("valueWithRect:"); - ffi.Pointer _objc_msgSend_57( - ffi.Pointer obj, - ffi.Pointer sel, - CGRect rect, - ) { - return __objc_msgSend_57(obj, sel, rect); - } - - late final __objc_msgSend_57Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - CGRect, - )>>('objc_msgSend'); - late final __objc_msgSend_57 = __objc_msgSend_57Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - CGRect, - )>(); - - late final _sel_valueWithEdgeInsets_1 = objc.registerName( - "valueWithEdgeInsets:", - ); - ffi.Pointer _objc_msgSend_58( - ffi.Pointer obj, - ffi.Pointer sel, - NSEdgeInsets insets, - ) { - return __objc_msgSend_58(obj, sel, insets); - } - - late final __objc_msgSend_58Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - NSEdgeInsets, - )>>('objc_msgSend'); - late final __objc_msgSend_58 = __objc_msgSend_58Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - NSEdgeInsets, - )>(); - - late final _sel_pointValue1 = objc.registerName("pointValue"); - CGPoint _objc_msgSend_59( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_59(obj, sel); - } - - late final __objc_msgSend_59Ptr = _lookup< - ffi.NativeFunction< - CGPoint Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_59 = __objc_msgSend_59Ptr.asFunction< - CGPoint Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - void _objc_msgSend_59_stret( - ffi.Pointer stret, - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_59_stret(stret, obj, sel); - } - - late final __objc_msgSend_59_stretPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend_stret'); - late final __objc_msgSend_59_stret = __objc_msgSend_59_stretPtr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_sizeValue1 = objc.registerName("sizeValue"); - CGSize _objc_msgSend_60( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_60(obj, sel); - } - - late final __objc_msgSend_60Ptr = _lookup< - ffi.NativeFunction< - CGSize Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_60 = __objc_msgSend_60Ptr.asFunction< - CGSize Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - void _objc_msgSend_60_stret( - ffi.Pointer stret, - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_60_stret(stret, obj, sel); - } - - late final __objc_msgSend_60_stretPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend_stret'); - late final __objc_msgSend_60_stret = __objc_msgSend_60_stretPtr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_rectValue1 = objc.registerName("rectValue"); - CGRect _objc_msgSend_61( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_61(obj, sel); - } - - late final __objc_msgSend_61Ptr = _lookup< - ffi.NativeFunction< - CGRect Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_61 = __objc_msgSend_61Ptr.asFunction< - CGRect Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - void _objc_msgSend_61_stret( - ffi.Pointer stret, - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_61_stret(stret, obj, sel); - } - - late final __objc_msgSend_61_stretPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend_stret'); - late final __objc_msgSend_61_stret = __objc_msgSend_61_stretPtr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_edgeInsetsValue1 = objc.registerName("edgeInsetsValue"); - NSEdgeInsets _objc_msgSend_62( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_62(obj, sel); - } - - late final __objc_msgSend_62Ptr = _lookup< - ffi.NativeFunction< - NSEdgeInsets Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_62 = __objc_msgSend_62Ptr.asFunction< - NSEdgeInsets Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - void _objc_msgSend_62_stret( - ffi.Pointer stret, - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_62_stret(stret, obj, sel); - } - - late final __objc_msgSend_62_stretPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend_stret'); - late final __objc_msgSend_62_stret = __objc_msgSend_62_stretPtr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_keyPathsForValuesAffectingValueForKey_1 = objc.registerName( - "keyPathsForValuesAffectingValueForKey:", - ); - ffi.Pointer _objc_msgSend_63( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer key, - ) { - return __objc_msgSend_63(obj, sel, key); - } - - late final __objc_msgSend_63Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_63 = __objc_msgSend_63Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_automaticallyNotifiesObserversForKey_1 = objc.registerName( - "automaticallyNotifiesObserversForKey:", - ); - bool _objc_msgSend_64( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer key, - ) { - return __objc_msgSend_64(obj, sel, key); - } - - late final __objc_msgSend_64Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_64 = __objc_msgSend_64Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _class_NSArray1 = objc.getClass("NSArray"); - late final _sel_objectAtIndex_1 = objc.registerName("objectAtIndex:"); - ffi.Pointer _objc_msgSend_65( - ffi.Pointer obj, - ffi.Pointer sel, - int index, - ) { - return __objc_msgSend_65(obj, sel, index); - } - - late final __objc_msgSend_65Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - )>>('objc_msgSend'); - late final __objc_msgSend_65 = __objc_msgSend_65Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_initWithObjects_count_1 = objc.registerName( - "initWithObjects:count:", - ); - instancetype _objc_msgSend_66( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer> objects, - int cnt, - ) { - return __objc_msgSend_66(obj, sel, objects, cnt); - } - - late final __objc_msgSend_66Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.UnsignedLong, - )>>('objc_msgSend'); - late final __objc_msgSend_66 = __objc_msgSend_66Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - int, - )>(); - - late final _sel_arrayByAddingObject_1 = objc.registerName( - "arrayByAddingObject:", - ); - ffi.Pointer _objc_msgSend_67( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer anObject, - ) { - return __objc_msgSend_67(obj, sel, anObject); - } - - late final __objc_msgSend_67Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_67 = __objc_msgSend_67Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_arrayByAddingObjectsFromArray_1 = objc.registerName( - "arrayByAddingObjectsFromArray:", - ); - ffi.Pointer _objc_msgSend_68( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer otherArray, - ) { - return __objc_msgSend_68(obj, sel, otherArray); - } - - late final __objc_msgSend_68Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_68 = __objc_msgSend_68Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_componentsJoinedByString_1 = objc.registerName( - "componentsJoinedByString:", - ); - ffi.Pointer _objc_msgSend_69( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer separator, - ) { - return __objc_msgSend_69(obj, sel, separator); - } - - late final __objc_msgSend_69Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_69 = __objc_msgSend_69Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_containsObject_1 = objc.registerName("containsObject:"); - late final _sel_descriptionWithLocale_1 = objc.registerName( - "descriptionWithLocale:", - ); - ffi.Pointer _objc_msgSend_70( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer locale, - ) { - return __objc_msgSend_70(obj, sel, locale); - } - - late final __objc_msgSend_70Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_70 = __objc_msgSend_70Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_descriptionWithLocale_indent_1 = objc.registerName( - "descriptionWithLocale:indent:", - ); - ffi.Pointer _objc_msgSend_71( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer locale, - int level, - ) { - return __objc_msgSend_71(obj, sel, locale, level); - } - - late final __objc_msgSend_71Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - )>>('objc_msgSend'); - late final __objc_msgSend_71 = __objc_msgSend_71Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_firstObjectCommonWithArray_1 = objc.registerName( - "firstObjectCommonWithArray:", - ); - ffi.Pointer _objc_msgSend_72( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer otherArray, - ) { - return __objc_msgSend_72(obj, sel, otherArray); - } - - late final __objc_msgSend_72Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_72 = __objc_msgSend_72Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_getObjects_range_1 = objc.registerName("getObjects:range:"); - void _objc_msgSend_73( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer> objects, - _NSRange range, - ) { - return __objc_msgSend_73(obj, sel, objects, range); - } - - late final __objc_msgSend_73Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - _NSRange, - )>>('objc_msgSend'); - late final __objc_msgSend_73 = __objc_msgSend_73Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - _NSRange, - )>(); - - late final _sel_indexOfObject_1 = objc.registerName("indexOfObject:"); - int _objc_msgSend_74( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer anObject, - ) { - return __objc_msgSend_74(obj, sel, anObject); - } - - late final __objc_msgSend_74Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_74 = __objc_msgSend_74Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_indexOfObject_inRange_1 = objc.registerName( - "indexOfObject:inRange:", - ); - int _objc_msgSend_75( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer anObject, - _NSRange range, - ) { - return __objc_msgSend_75(obj, sel, anObject, range); - } - - late final __objc_msgSend_75Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - _NSRange, - )>>('objc_msgSend'); - late final __objc_msgSend_75 = __objc_msgSend_75Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - _NSRange, - )>(); - - late final _sel_indexOfObjectIdenticalTo_1 = objc.registerName( - "indexOfObjectIdenticalTo:", - ); - late final _sel_indexOfObjectIdenticalTo_inRange_1 = objc.registerName( - "indexOfObjectIdenticalTo:inRange:", - ); - late final _sel_isEqualToArray_1 = objc.registerName("isEqualToArray:"); - bool _objc_msgSend_76( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer otherArray, - ) { - return __objc_msgSend_76(obj, sel, otherArray); - } - - late final __objc_msgSend_76Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_76 = __objc_msgSend_76Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_firstObject1 = objc.registerName("firstObject"); - late final _sel_lastObject1 = objc.registerName("lastObject"); - late final _sel_objectEnumerator1 = objc.registerName("objectEnumerator"); - ffi.Pointer _objc_msgSend_77( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_77(obj, sel); - } - - late final __objc_msgSend_77Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_77 = __objc_msgSend_77Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_reverseObjectEnumerator1 = objc.registerName( - "reverseObjectEnumerator", - ); - late final _sel_sortedArrayHint1 = objc.registerName("sortedArrayHint"); - late final _sel_sortedArrayUsingFunction_context_1 = objc.registerName( - "sortedArrayUsingFunction:context:", - ); - ffi.Pointer _objc_msgSend_78( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer< - ffi.NativeFunction< - ffi.Long Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>> - comparator, - ffi.Pointer context, - ) { - return __objc_msgSend_78(obj, sel, comparator, context); - } - - late final __objc_msgSend_78Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.Long Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_78 = __objc_msgSend_78Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.Long Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>, - ffi.Pointer, - )>(); - - late final _sel_sortedArrayUsingFunction_context_hint_1 = objc.registerName( - "sortedArrayUsingFunction:context:hint:", - ); - ffi.Pointer _objc_msgSend_79( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer< - ffi.NativeFunction< - ffi.Long Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>> - comparator, - ffi.Pointer context, - ffi.Pointer hint, - ) { - return __objc_msgSend_79(obj, sel, comparator, context, hint); - } - - late final __objc_msgSend_79Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.Long Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_79 = __objc_msgSend_79Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.Long Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_sortedArrayUsingSelector_1 = objc.registerName( - "sortedArrayUsingSelector:", - ); - ffi.Pointer _objc_msgSend_80( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer comparator, - ) { - return __objc_msgSend_80(obj, sel, comparator); - } - - late final __objc_msgSend_80Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_80 = __objc_msgSend_80Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_subarrayWithRange_1 = objc.registerName("subarrayWithRange:"); - ffi.Pointer _objc_msgSend_81( - ffi.Pointer obj, - ffi.Pointer sel, - _NSRange range, - ) { - return __objc_msgSend_81(obj, sel, range); - } - - late final __objc_msgSend_81Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - )>>('objc_msgSend'); - late final __objc_msgSend_81 = __objc_msgSend_81Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - )>(); - - late final _class_NSError1 = objc.getClass("NSError"); - late final _sel_initWithDomain_code_userInfo_1 = objc.registerName( - "initWithDomain:code:userInfo:", - ); - instancetype _objc_msgSend_82( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer domain, - int code, - ffi.Pointer dict, - ) { - return __objc_msgSend_82(obj, sel, domain, code, dict); - } - - late final __objc_msgSend_82Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Long, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_82 = __objc_msgSend_82Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - )>(); - - late final _sel_errorWithDomain_code_userInfo_1 = objc.registerName( - "errorWithDomain:code:userInfo:", - ); - late final _sel_domain1 = objc.registerName("domain"); - late final _sel_code1 = objc.registerName("code"); - int _objc_msgSend_83( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_83(obj, sel); - } - - late final __objc_msgSend_83Ptr = _lookup< - ffi.NativeFunction< - ffi.Long Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_83 = __objc_msgSend_83Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_userInfo1 = objc.registerName("userInfo"); - late final _sel_localizedDescription1 = objc.registerName( - "localizedDescription", - ); - late final _sel_localizedFailureReason1 = objc.registerName( - "localizedFailureReason", - ); - late final _sel_localizedRecoverySuggestion1 = objc.registerName( - "localizedRecoverySuggestion", - ); - late final _sel_localizedRecoveryOptions1 = objc.registerName( - "localizedRecoveryOptions", - ); - ffi.Pointer _objc_msgSend_84( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_84(obj, sel); - } - - late final __objc_msgSend_84Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_84 = __objc_msgSend_84Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_recoveryAttempter1 = objc.registerName("recoveryAttempter"); - late final _sel_helpAnchor1 = objc.registerName("helpAnchor"); - late final _sel_underlyingErrors1 = objc.registerName("underlyingErrors"); - ffi.Pointer _objc_msgSend_85( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_85(obj, sel); - } - - late final __objc_msgSend_85Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_85 = __objc_msgSend_85Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_setUserInfoValueProviderForDomain_provider_1 = - objc.registerName("setUserInfoValueProviderForDomain:provider:"); - void _objc_msgSend_86( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer errorDomain, - ffi.Pointer provider, - ) { - return __objc_msgSend_86(obj, sel, errorDomain, provider); - } - - late final __objc_msgSend_86Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_86 = __objc_msgSend_86Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_userInfoValueProviderForDomain_1 = objc.registerName( - "userInfoValueProviderForDomain:", - ); - ffi.Pointer _objc_msgSend_87( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer err, - ffi.Pointer userInfoKey, - ffi.Pointer errorDomain, - ) { - return __objc_msgSend_87(obj, sel, err, userInfoKey, errorDomain); - } - - late final __objc_msgSend_87Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_87 = __objc_msgSend_87Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_setKeys_triggerChangeNotificationsForDependentKey_1 = - objc.registerName("setKeys:triggerChangeNotificationsForDependentKey:"); - void _objc_msgSend_88( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer keys, - ffi.Pointer dependentKey, - ) { - return __objc_msgSend_88(obj, sel, keys, dependentKey); - } - - late final __objc_msgSend_88Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_88 = __objc_msgSend_88Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_classFallbacksForKeyedArchiver1 = objc.registerName( - "classFallbacksForKeyedArchiver", - ); - late final _sel_classForKeyedUnarchiver1 = objc.registerName( - "classForKeyedUnarchiver", - ); - late final _sel_writeToURL_error_1 = objc.registerName("writeToURL:error:"); - bool _objc_msgSend_89( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, - ffi.Pointer> error, - ) { - return __objc_msgSend_89(obj, sel, url, error); - } - - late final __objc_msgSend_89Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_89 = __objc_msgSend_89Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>(); - - late final _sel_makeObjectsPerformSelector_1 = objc.registerName( - "makeObjectsPerformSelector:", - ); - late final _sel_makeObjectsPerformSelector_withObject_1 = objc.registerName( - "makeObjectsPerformSelector:withObject:", - ); - void _objc_msgSend_90( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aSelector, - ffi.Pointer argument, - ) { - return __objc_msgSend_90(obj, sel, aSelector, argument); - } - - late final __objc_msgSend_90Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_90 = __objc_msgSend_90Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _class_NSIndexSet1 = objc.getClass("NSIndexSet"); - late final _sel_indexSet1 = objc.registerName("indexSet"); - late final _sel_indexSetWithIndex_1 = objc.registerName("indexSetWithIndex:"); - late final _sel_indexSetWithIndexesInRange_1 = objc.registerName( - "indexSetWithIndexesInRange:", - ); - instancetype _objc_msgSend_91( - ffi.Pointer obj, - ffi.Pointer sel, - _NSRange range, - ) { - return __objc_msgSend_91(obj, sel, range); - } - - late final __objc_msgSend_91Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - )>>('objc_msgSend'); - late final __objc_msgSend_91 = __objc_msgSend_91Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - )>(); - - late final _sel_initWithIndexesInRange_1 = objc.registerName( - "initWithIndexesInRange:", - ); - late final _sel_initWithIndexSet_1 = objc.registerName("initWithIndexSet:"); - instancetype _objc_msgSend_92( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer indexSet, - ) { - return __objc_msgSend_92(obj, sel, indexSet); - } - - late final __objc_msgSend_92Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_92 = __objc_msgSend_92Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_initWithIndex_1 = objc.registerName("initWithIndex:"); - late final _sel_isEqualToIndexSet_1 = objc.registerName("isEqualToIndexSet:"); - bool _objc_msgSend_93( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer indexSet, - ) { - return __objc_msgSend_93(obj, sel, indexSet); - } - - late final __objc_msgSend_93Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_93 = __objc_msgSend_93Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_firstIndex1 = objc.registerName("firstIndex"); - late final _sel_lastIndex1 = objc.registerName("lastIndex"); - late final _sel_indexGreaterThanIndex_1 = objc.registerName( - "indexGreaterThanIndex:", - ); - int _objc_msgSend_94( - ffi.Pointer obj, - ffi.Pointer sel, - int value, - ) { - return __objc_msgSend_94(obj, sel, value); - } - - late final __objc_msgSend_94Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - )>>('objc_msgSend'); - late final __objc_msgSend_94 = __objc_msgSend_94Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_indexLessThanIndex_1 = objc.registerName( - "indexLessThanIndex:", - ); - late final _sel_indexGreaterThanOrEqualToIndex_1 = objc.registerName( - "indexGreaterThanOrEqualToIndex:", - ); - late final _sel_indexLessThanOrEqualToIndex_1 = objc.registerName( - "indexLessThanOrEqualToIndex:", - ); - late final _sel_getIndexes_maxCount_inIndexRange_1 = objc.registerName( - "getIndexes:maxCount:inIndexRange:", - ); - int _objc_msgSend_95( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer indexBuffer, - int bufferSize, - ffi.Pointer<_NSRange> range, - ) { - return __objc_msgSend_95(obj, sel, indexBuffer, bufferSize, range); - } - - late final __objc_msgSend_95Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer<_NSRange>, - )>>('objc_msgSend'); - late final __objc_msgSend_95 = __objc_msgSend_95Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer<_NSRange>, - )>(); - - late final _sel_countOfIndexesInRange_1 = objc.registerName( - "countOfIndexesInRange:", - ); - int _objc_msgSend_96( - ffi.Pointer obj, - ffi.Pointer sel, - _NSRange range, - ) { - return __objc_msgSend_96(obj, sel, range); - } - - late final __objc_msgSend_96Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - )>>('objc_msgSend'); - late final __objc_msgSend_96 = __objc_msgSend_96Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - )>(); - - late final _sel_containsIndex_1 = objc.registerName("containsIndex:"); - bool _objc_msgSend_97( - ffi.Pointer obj, - ffi.Pointer sel, - int value, - ) { - return __objc_msgSend_97(obj, sel, value); - } - - late final __objc_msgSend_97Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - )>>('objc_msgSend'); - late final __objc_msgSend_97 = __objc_msgSend_97Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_containsIndexesInRange_1 = objc.registerName( - "containsIndexesInRange:", - ); - bool _objc_msgSend_98( - ffi.Pointer obj, - ffi.Pointer sel, - _NSRange range, - ) { - return __objc_msgSend_98(obj, sel, range); - } - - late final __objc_msgSend_98Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - )>>('objc_msgSend'); - late final __objc_msgSend_98 = __objc_msgSend_98Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - )>(); - - late final _sel_containsIndexes_1 = objc.registerName("containsIndexes:"); - late final _sel_intersectsIndexesInRange_1 = objc.registerName( - "intersectsIndexesInRange:", - ); - late final _sel_enumerateIndexesUsingBlock_1 = objc.registerName( - "enumerateIndexesUsingBlock:", - ); - void _objc_msgSend_99( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer block, - ) { - return __objc_msgSend_99(obj, sel, block); - } - - late final __objc_msgSend_99Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_99 = __objc_msgSend_99Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_enumerateIndexesWithOptions_usingBlock_1 = objc.registerName( - "enumerateIndexesWithOptions:usingBlock:", - ); - void _objc_msgSend_100( - ffi.Pointer obj, - ffi.Pointer sel, - int opts, - ffi.Pointer block, - ) { - return __objc_msgSend_100(obj, sel, opts, block); - } - - late final __objc_msgSend_100Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_100 = __objc_msgSend_100Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - )>(); - - late final _sel_enumerateIndexesInRange_options_usingBlock_1 = - objc.registerName("enumerateIndexesInRange:options:usingBlock:"); - void _objc_msgSend_101( - ffi.Pointer obj, - ffi.Pointer sel, - _NSRange range, - int opts, - ffi.Pointer block, - ) { - return __objc_msgSend_101(obj, sel, range, opts, block); - } - - late final __objc_msgSend_101Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Int32, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_101 = __objc_msgSend_101Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - int, - ffi.Pointer, - )>(); - - late final _sel_indexPassingTest_1 = objc.registerName("indexPassingTest:"); - int _objc_msgSend_102( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer predicate, - ) { - return __objc_msgSend_102(obj, sel, predicate); - } - - late final __objc_msgSend_102Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_102 = __objc_msgSend_102Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_indexWithOptions_passingTest_1 = objc.registerName( - "indexWithOptions:passingTest:", - ); - int _objc_msgSend_103( - ffi.Pointer obj, - ffi.Pointer sel, - int opts, - ffi.Pointer predicate, - ) { - return __objc_msgSend_103(obj, sel, opts, predicate); - } - - late final __objc_msgSend_103Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_103 = __objc_msgSend_103Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - )>(); - - late final _sel_indexInRange_options_passingTest_1 = objc.registerName( - "indexInRange:options:passingTest:", - ); - int _objc_msgSend_104( - ffi.Pointer obj, - ffi.Pointer sel, - _NSRange range, - int opts, - ffi.Pointer predicate, - ) { - return __objc_msgSend_104(obj, sel, range, opts, predicate); - } - - late final __objc_msgSend_104Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Int32, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_104 = __objc_msgSend_104Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - int, - ffi.Pointer, - )>(); - - late final _sel_indexesPassingTest_1 = objc.registerName( - "indexesPassingTest:", - ); - ffi.Pointer _objc_msgSend_105( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer predicate, - ) { - return __objc_msgSend_105(obj, sel, predicate); - } - - late final __objc_msgSend_105Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_105 = __objc_msgSend_105Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_indexesWithOptions_passingTest_1 = objc.registerName( - "indexesWithOptions:passingTest:", - ); - ffi.Pointer _objc_msgSend_106( - ffi.Pointer obj, - ffi.Pointer sel, - int opts, - ffi.Pointer predicate, - ) { - return __objc_msgSend_106(obj, sel, opts, predicate); - } - - late final __objc_msgSend_106Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_106 = __objc_msgSend_106Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - )>(); - - late final _sel_indexesInRange_options_passingTest_1 = objc.registerName( - "indexesInRange:options:passingTest:", - ); - ffi.Pointer _objc_msgSend_107( - ffi.Pointer obj, - ffi.Pointer sel, - _NSRange range, - int opts, - ffi.Pointer predicate, - ) { - return __objc_msgSend_107(obj, sel, range, opts, predicate); - } - - late final __objc_msgSend_107Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Int32, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_107 = __objc_msgSend_107Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - int, - ffi.Pointer, - )>(); - - late final _sel_enumerateRangesUsingBlock_1 = objc.registerName( - "enumerateRangesUsingBlock:", - ); - void _objc_msgSend_108( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer block, - ) { - return __objc_msgSend_108(obj, sel, block); - } - - late final __objc_msgSend_108Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_108 = __objc_msgSend_108Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_enumerateRangesWithOptions_usingBlock_1 = objc.registerName( - "enumerateRangesWithOptions:usingBlock:", - ); - void _objc_msgSend_109( - ffi.Pointer obj, - ffi.Pointer sel, - int opts, - ffi.Pointer block, - ) { - return __objc_msgSend_109(obj, sel, opts, block); - } - - late final __objc_msgSend_109Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_109 = __objc_msgSend_109Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - )>(); - - late final _sel_enumerateRangesInRange_options_usingBlock_1 = - objc.registerName("enumerateRangesInRange:options:usingBlock:"); - void _objc_msgSend_110( - ffi.Pointer obj, - ffi.Pointer sel, - _NSRange range, - int opts, - ffi.Pointer block, - ) { - return __objc_msgSend_110(obj, sel, range, opts, block); - } - - late final __objc_msgSend_110Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Int32, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_110 = __objc_msgSend_110Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - int, - ffi.Pointer, - )>(); - - late final _sel_objectsAtIndexes_1 = objc.registerName("objectsAtIndexes:"); - ffi.Pointer _objc_msgSend_111( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer indexes, - ) { - return __objc_msgSend_111(obj, sel, indexes); - } - - late final __objc_msgSend_111Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_111 = __objc_msgSend_111Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_objectAtIndexedSubscript_1 = objc.registerName( - "objectAtIndexedSubscript:", - ); - late final _sel_enumerateObjectsUsingBlock_1 = objc.registerName( - "enumerateObjectsUsingBlock:", - ); - void _objc_msgSend_112( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer block, - ) { - return __objc_msgSend_112(obj, sel, block); - } - - late final __objc_msgSend_112Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_112 = __objc_msgSend_112Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_enumerateObjectsWithOptions_usingBlock_1 = objc.registerName( - "enumerateObjectsWithOptions:usingBlock:", - ); - void _objc_msgSend_113( - ffi.Pointer obj, - ffi.Pointer sel, - int opts, - ffi.Pointer block, - ) { - return __objc_msgSend_113(obj, sel, opts, block); - } - - late final __objc_msgSend_113Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_113 = __objc_msgSend_113Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - )>(); - - late final _sel_enumerateObjectsAtIndexes_options_usingBlock_1 = - objc.registerName("enumerateObjectsAtIndexes:options:usingBlock:"); - void _objc_msgSend_114( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer s, - int opts, - ffi.Pointer block, - ) { - return __objc_msgSend_114(obj, sel, s, opts, block); - } - - late final __objc_msgSend_114Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_114 = __objc_msgSend_114Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - )>(); - - late final _sel_indexOfObjectPassingTest_1 = objc.registerName( - "indexOfObjectPassingTest:", - ); - int _objc_msgSend_115( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer predicate, - ) { - return __objc_msgSend_115(obj, sel, predicate); - } - - late final __objc_msgSend_115Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_115 = __objc_msgSend_115Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_indexOfObjectWithOptions_passingTest_1 = objc.registerName( - "indexOfObjectWithOptions:passingTest:", - ); - int _objc_msgSend_116( - ffi.Pointer obj, - ffi.Pointer sel, - int opts, - ffi.Pointer predicate, - ) { - return __objc_msgSend_116(obj, sel, opts, predicate); - } - - late final __objc_msgSend_116Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_116 = __objc_msgSend_116Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - )>(); - - late final _sel_indexOfObjectAtIndexes_options_passingTest_1 = - objc.registerName("indexOfObjectAtIndexes:options:passingTest:"); - int _objc_msgSend_117( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer s, - int opts, - ffi.Pointer predicate, - ) { - return __objc_msgSend_117(obj, sel, s, opts, predicate); - } - - late final __objc_msgSend_117Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_117 = __objc_msgSend_117Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - )>(); - - late final _sel_indexesOfObjectsPassingTest_1 = objc.registerName( - "indexesOfObjectsPassingTest:", - ); - ffi.Pointer _objc_msgSend_118( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer predicate, - ) { - return __objc_msgSend_118(obj, sel, predicate); - } - - late final __objc_msgSend_118Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_118 = __objc_msgSend_118Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_indexesOfObjectsWithOptions_passingTest_1 = objc.registerName( - "indexesOfObjectsWithOptions:passingTest:", - ); - ffi.Pointer _objc_msgSend_119( - ffi.Pointer obj, - ffi.Pointer sel, - int opts, - ffi.Pointer predicate, - ) { - return __objc_msgSend_119(obj, sel, opts, predicate); - } - - late final __objc_msgSend_119Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_119 = __objc_msgSend_119Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - )>(); - - late final _sel_indexesOfObjectsAtIndexes_options_passingTest_1 = - objc.registerName("indexesOfObjectsAtIndexes:options:passingTest:"); - ffi.Pointer _objc_msgSend_120( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer s, - int opts, - ffi.Pointer predicate, - ) { - return __objc_msgSend_120(obj, sel, s, opts, predicate); - } - - late final __objc_msgSend_120Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_120 = __objc_msgSend_120Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - )>(); - - late final _sel_sortedArrayUsingComparator_1 = objc.registerName( - "sortedArrayUsingComparator:", - ); - ffi.Pointer _objc_msgSend_121( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer cmptr, - ) { - return __objc_msgSend_121(obj, sel, cmptr); - } - - late final __objc_msgSend_121Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_121 = __objc_msgSend_121Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_sortedArrayWithOptions_usingComparator_1 = objc.registerName( - "sortedArrayWithOptions:usingComparator:", - ); - ffi.Pointer _objc_msgSend_122( - ffi.Pointer obj, - ffi.Pointer sel, - int opts, - ffi.Pointer cmptr, - ) { - return __objc_msgSend_122(obj, sel, opts, cmptr); - } - - late final __objc_msgSend_122Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_122 = __objc_msgSend_122Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - )>(); - - late final _sel_indexOfObject_inSortedRange_options_usingComparator_1 = - objc.registerName("indexOfObject:inSortedRange:options:usingComparator:"); - int _objc_msgSend_123( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer obj1, - _NSRange r, - int opts, - ffi.Pointer cmp, - ) { - return __objc_msgSend_123(obj, sel, obj1, r, opts, cmp); - } - - late final __objc_msgSend_123Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Int32, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_123 = __objc_msgSend_123Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - _NSRange, - int, - ffi.Pointer, - )>(); - - late final _sel_array1 = objc.registerName("array"); - late final _sel_arrayWithObject_1 = objc.registerName("arrayWithObject:"); - instancetype _objc_msgSend_124( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer anObject, - ) { - return __objc_msgSend_124(obj, sel, anObject); - } - - late final __objc_msgSend_124Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_124 = __objc_msgSend_124Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_arrayWithObjects_count_1 = objc.registerName( - "arrayWithObjects:count:", - ); - late final _sel_arrayWithObjects_1 = objc.registerName("arrayWithObjects:"); - late final _sel_arrayWithArray_1 = objc.registerName("arrayWithArray:"); - instancetype _objc_msgSend_125( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer array, - ) { - return __objc_msgSend_125(obj, sel, array); - } - - late final __objc_msgSend_125Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_125 = __objc_msgSend_125Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_initWithObjects_1 = objc.registerName("initWithObjects:"); - late final _sel_initWithArray_1 = objc.registerName("initWithArray:"); - late final _sel_initWithArray_copyItems_1 = objc.registerName( - "initWithArray:copyItems:", - ); - instancetype _objc_msgSend_126( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer array, - bool flag, - ) { - return __objc_msgSend_126(obj, sel, array, flag); - } - - late final __objc_msgSend_126Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - )>>('objc_msgSend'); - late final __objc_msgSend_126 = __objc_msgSend_126Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - )>(); - - late final _sel_initWithContentsOfURL_error_1 = objc.registerName( - "initWithContentsOfURL:error:", - ); - ffi.Pointer _objc_msgSend_127( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, - ffi.Pointer> error, - ) { - return __objc_msgSend_127(obj, sel, url, error); - } - - late final __objc_msgSend_127Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_127 = __objc_msgSend_127Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>(); - - late final _sel_arrayWithContentsOfURL_error_1 = objc.registerName( - "arrayWithContentsOfURL:error:", - ); - late final _sel_differenceFromArray_withOptions_usingEquivalenceTest_1 = objc - .registerName("differenceFromArray:withOptions:usingEquivalenceTest:"); - ffi.Pointer _objc_msgSend_128( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer other, - int options, - ffi.Pointer block, - ) { - return __objc_msgSend_128(obj, sel, other, options, block); - } - - late final __objc_msgSend_128Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_128 = __objc_msgSend_128Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - )>(); - - late final _sel_differenceFromArray_withOptions_1 = objc.registerName( - "differenceFromArray:withOptions:", - ); - ffi.Pointer _objc_msgSend_129( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer other, - int options, - ) { - return __objc_msgSend_129(obj, sel, other, options); - } - - late final __objc_msgSend_129Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - )>>('objc_msgSend'); - late final __objc_msgSend_129 = __objc_msgSend_129Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_differenceFromArray_1 = objc.registerName( - "differenceFromArray:", - ); - late final _sel_arrayByApplyingDifference_1 = objc.registerName( - "arrayByApplyingDifference:", - ); - ffi.Pointer _objc_msgSend_130( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer difference, - ) { - return __objc_msgSend_130(obj, sel, difference); - } - - late final __objc_msgSend_130Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_130 = __objc_msgSend_130Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_getObjects_1 = objc.registerName("getObjects:"); - void _objc_msgSend_131( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer> objects, - ) { - return __objc_msgSend_131(obj, sel, objects); - } - - late final __objc_msgSend_131Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_131 = __objc_msgSend_131Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>(); - - late final _sel_arrayWithContentsOfFile_1 = objc.registerName( - "arrayWithContentsOfFile:", - ); - ffi.Pointer _objc_msgSend_132( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, - ) { - return __objc_msgSend_132(obj, sel, path); - } - - late final __objc_msgSend_132Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_132 = __objc_msgSend_132Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_arrayWithContentsOfURL_1 = objc.registerName( - "arrayWithContentsOfURL:", - ); - ffi.Pointer _objc_msgSend_133( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, - ) { - return __objc_msgSend_133(obj, sel, url); - } - - late final __objc_msgSend_133Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_133 = __objc_msgSend_133Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_initWithContentsOfFile_1 = objc.registerName( - "initWithContentsOfFile:", - ); - late final _sel_initWithContentsOfURL_1 = objc.registerName( - "initWithContentsOfURL:", - ); - late final _sel_writeToURL_atomically_1 = objc.registerName( - "writeToURL:atomically:", - ); - bool _objc_msgSend_134( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, - bool atomically, - ) { - return __objc_msgSend_134(obj, sel, url, atomically); - } - - late final __objc_msgSend_134Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - )>>('objc_msgSend'); - late final __objc_msgSend_134 = __objc_msgSend_134Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - )>(); - - late final _sel_pathsMatchingExtensions_1 = objc.registerName( - "pathsMatchingExtensions:", - ); - late final _sel_valueForKey_1 = objc.registerName("valueForKey:"); - late final _sel_setValue_forKey_1 = objc.registerName("setValue:forKey:"); - void _objc_msgSend_135( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, - ffi.Pointer key, - ) { - return __objc_msgSend_135(obj, sel, value, key); - } - - late final __objc_msgSend_135Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_135 = __objc_msgSend_135Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_addObserver_toObjectsAtIndexes_forKeyPath_options_context_1 = - objc.registerName( - "addObserver:toObjectsAtIndexes:forKeyPath:options:context:", - ); - void _objc_msgSend_136( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer observer, - ffi.Pointer indexes, - ffi.Pointer keyPath, - int options, - ffi.Pointer context, - ) { - return __objc_msgSend_136( - obj, - sel, - observer, - indexes, - keyPath, - options, - context, - ); - } - - late final __objc_msgSend_136Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_136 = __objc_msgSend_136Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - )>(); - - late final _sel_removeObserver_fromObjectsAtIndexes_forKeyPath_context_1 = - objc.registerName( - "removeObserver:fromObjectsAtIndexes:forKeyPath:context:", - ); - void _objc_msgSend_137( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer observer, - ffi.Pointer indexes, - ffi.Pointer keyPath, - ffi.Pointer context, - ) { - return __objc_msgSend_137(obj, sel, observer, indexes, keyPath, context); - } - - late final __objc_msgSend_137Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_137 = __objc_msgSend_137Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_removeObserver_fromObjectsAtIndexes_forKeyPath_1 = - objc.registerName("removeObserver:fromObjectsAtIndexes:forKeyPath:"); - void _objc_msgSend_138( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer observer, - ffi.Pointer indexes, - ffi.Pointer keyPath, - ) { - return __objc_msgSend_138(obj, sel, observer, indexes, keyPath); - } - - late final __objc_msgSend_138Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_138 = __objc_msgSend_138Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_addObserver_forKeyPath_options_context_1 = objc.registerName( - "addObserver:forKeyPath:options:context:", - ); - void _objc_msgSend_139( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer observer, - ffi.Pointer keyPath, - int options, - ffi.Pointer context, - ) { - return __objc_msgSend_139(obj, sel, observer, keyPath, options, context); - } - - late final __objc_msgSend_139Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_139 = __objc_msgSend_139Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - )>(); - - late final _sel_removeObserver_forKeyPath_context_1 = objc.registerName( - "removeObserver:forKeyPath:context:", - ); - void _objc_msgSend_140( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer observer, - ffi.Pointer keyPath, - ffi.Pointer context, - ) { - return __objc_msgSend_140(obj, sel, observer, keyPath, context); - } - - late final __objc_msgSend_140Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_140 = __objc_msgSend_140Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_removeObserver_forKeyPath_1 = objc.registerName( - "removeObserver:forKeyPath:", - ); - void _objc_msgSend_141( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer observer, - ffi.Pointer keyPath, - ) { - return __objc_msgSend_141(obj, sel, observer, keyPath); - } - - late final __objc_msgSend_141Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_141 = __objc_msgSend_141Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_sortedArrayUsingDescriptors_1 = objc.registerName( - "sortedArrayUsingDescriptors:", - ); - late final _class_NSPredicate1 = objc.getClass("NSPredicate"); - late final _sel_predicateWithFormat_argumentArray_1 = objc.registerName( - "predicateWithFormat:argumentArray:", - ); - ffi.Pointer _objc_msgSend_142( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer predicateFormat, - ffi.Pointer arguments, - ) { - return __objc_msgSend_142(obj, sel, predicateFormat, arguments); - } - - late final __objc_msgSend_142Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_142 = __objc_msgSend_142Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_predicateWithFormat_1 = objc.registerName( - "predicateWithFormat:", - ); - ffi.Pointer _objc_msgSend_143( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer predicateFormat, - ) { - return __objc_msgSend_143(obj, sel, predicateFormat); - } - - late final __objc_msgSend_143Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_143 = __objc_msgSend_143Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_predicateWithFormat_arguments_1 = objc.registerName( - "predicateWithFormat:arguments:", - ); - ffi.Pointer _objc_msgSend_144( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer predicateFormat, - ffi.Pointer<__va_list_tag> argList, - ) { - return __objc_msgSend_144(obj, sel, predicateFormat, argList); - } - - late final __objc_msgSend_144Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<__va_list_tag>, - )>>('objc_msgSend'); - late final __objc_msgSend_144 = __objc_msgSend_144Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<__va_list_tag>, - )>(); - - late final _sel_predicateFromMetadataQueryString_1 = objc.registerName( - "predicateFromMetadataQueryString:", - ); - ffi.Pointer _objc_msgSend_145( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer queryString, - ) { - return __objc_msgSend_145(obj, sel, queryString); - } - - late final __objc_msgSend_145Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_145 = __objc_msgSend_145Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_predicateWithValue_1 = objc.registerName( - "predicateWithValue:", - ); - ffi.Pointer _objc_msgSend_146( - ffi.Pointer obj, - ffi.Pointer sel, - bool value, - ) { - return __objc_msgSend_146(obj, sel, value); - } - - late final __objc_msgSend_146Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - )>>('objc_msgSend'); - late final __objc_msgSend_146 = __objc_msgSend_146Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - bool, - )>(); - - late final _class_NSDictionary1 = objc.getClass("NSDictionary"); - late final _sel_objectForKey_1 = objc.registerName("objectForKey:"); - late final _sel_keyEnumerator1 = objc.registerName("keyEnumerator"); - late final _sel_initWithObjects_forKeys_count_1 = objc.registerName( - "initWithObjects:forKeys:count:", - ); - instancetype _objc_msgSend_147( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer> objects, - ffi.Pointer> keys, - int cnt, - ) { - return __objc_msgSend_147(obj, sel, objects, keys, cnt); - } - - late final __objc_msgSend_147Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer>, - ffi.UnsignedLong, - )>>('objc_msgSend'); - late final __objc_msgSend_147 = __objc_msgSend_147Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer>, - int, - )>(); - - late final _sel_allKeys1 = objc.registerName("allKeys"); - late final _sel_allKeysForObject_1 = objc.registerName("allKeysForObject:"); - late final _sel_allValues1 = objc.registerName("allValues"); - late final _sel_descriptionInStringsFileFormat1 = objc.registerName( - "descriptionInStringsFileFormat", - ); - late final _sel_isEqualToDictionary_1 = objc.registerName( - "isEqualToDictionary:", - ); - bool _objc_msgSend_148( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer otherDictionary, - ) { - return __objc_msgSend_148(obj, sel, otherDictionary); - } - - late final __objc_msgSend_148Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_148 = __objc_msgSend_148Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_objectsForKeys_notFoundMarker_1 = objc.registerName( - "objectsForKeys:notFoundMarker:", - ); - ffi.Pointer _objc_msgSend_149( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer keys, - ffi.Pointer marker, - ) { - return __objc_msgSend_149(obj, sel, keys, marker); - } - - late final __objc_msgSend_149Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_149 = __objc_msgSend_149Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_keysSortedByValueUsingSelector_1 = objc.registerName( - "keysSortedByValueUsingSelector:", - ); - late final _sel_getObjects_andKeys_count_1 = objc.registerName( - "getObjects:andKeys:count:", - ); - void _objc_msgSend_150( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer> objects, - ffi.Pointer> keys, - int count, - ) { - return __objc_msgSend_150(obj, sel, objects, keys, count); - } - - late final __objc_msgSend_150Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer>, - ffi.UnsignedLong, - )>>('objc_msgSend'); - late final __objc_msgSend_150 = __objc_msgSend_150Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer>, - int, - )>(); - - late final _sel_objectForKeyedSubscript_1 = objc.registerName( - "objectForKeyedSubscript:", - ); - late final _sel_enumerateKeysAndObjectsUsingBlock_1 = objc.registerName( - "enumerateKeysAndObjectsUsingBlock:", - ); - void _objc_msgSend_151( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer block, - ) { - return __objc_msgSend_151(obj, sel, block); - } - - late final __objc_msgSend_151Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_151 = __objc_msgSend_151Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_enumerateKeysAndObjectsWithOptions_usingBlock_1 = - objc.registerName("enumerateKeysAndObjectsWithOptions:usingBlock:"); - void _objc_msgSend_152( - ffi.Pointer obj, - ffi.Pointer sel, - int opts, - ffi.Pointer block, - ) { - return __objc_msgSend_152(obj, sel, opts, block); - } - - late final __objc_msgSend_152Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_152 = __objc_msgSend_152Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - )>(); - - late final _sel_keysSortedByValueUsingComparator_1 = objc.registerName( - "keysSortedByValueUsingComparator:", - ); - late final _sel_keysSortedByValueWithOptions_usingComparator_1 = - objc.registerName("keysSortedByValueWithOptions:usingComparator:"); - late final _sel_keysOfEntriesPassingTest_1 = objc.registerName( - "keysOfEntriesPassingTest:", - ); - ffi.Pointer _objc_msgSend_153( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer predicate, - ) { - return __objc_msgSend_153(obj, sel, predicate); - } - - late final __objc_msgSend_153Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_153 = __objc_msgSend_153Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_keysOfEntriesWithOptions_passingTest_1 = objc.registerName( - "keysOfEntriesWithOptions:passingTest:", - ); - ffi.Pointer _objc_msgSend_154( - ffi.Pointer obj, - ffi.Pointer sel, - int opts, - ffi.Pointer predicate, - ) { - return __objc_msgSend_154(obj, sel, opts, predicate); - } - - late final __objc_msgSend_154Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_154 = __objc_msgSend_154Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - )>(); - - late final _sel_getObjects_andKeys_1 = objc.registerName( - "getObjects:andKeys:", - ); - void _objc_msgSend_155( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer> objects, - ffi.Pointer> keys, - ) { - return __objc_msgSend_155(obj, sel, objects, keys); - } - - late final __objc_msgSend_155Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_155 = __objc_msgSend_155Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer>, - )>(); - - late final _sel_dictionaryWithContentsOfFile_1 = objc.registerName( - "dictionaryWithContentsOfFile:", - ); - ffi.Pointer _objc_msgSend_156( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, - ) { - return __objc_msgSend_156(obj, sel, path); - } - - late final __objc_msgSend_156Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_156 = __objc_msgSend_156Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_dictionaryWithContentsOfURL_1 = objc.registerName( - "dictionaryWithContentsOfURL:", - ); - ffi.Pointer _objc_msgSend_157( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, - ) { - return __objc_msgSend_157(obj, sel, url); - } - - late final __objc_msgSend_157Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_157 = __objc_msgSend_157Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_dictionary1 = objc.registerName("dictionary"); - late final _sel_dictionaryWithObject_forKey_1 = objc.registerName( - "dictionaryWithObject:forKey:", - ); - instancetype _objc_msgSend_158( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer object, - ffi.Pointer key, - ) { - return __objc_msgSend_158(obj, sel, object, key); - } - - late final __objc_msgSend_158Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_158 = __objc_msgSend_158Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_dictionaryWithObjects_forKeys_count_1 = objc.registerName( - "dictionaryWithObjects:forKeys:count:", - ); - late final _sel_dictionaryWithObjectsAndKeys_1 = objc.registerName( - "dictionaryWithObjectsAndKeys:", - ); - late final _sel_dictionaryWithDictionary_1 = objc.registerName( - "dictionaryWithDictionary:", - ); - instancetype _objc_msgSend_159( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer dict, - ) { - return __objc_msgSend_159(obj, sel, dict); - } - - late final __objc_msgSend_159Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_159 = __objc_msgSend_159Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_dictionaryWithObjects_forKeys_1 = objc.registerName( - "dictionaryWithObjects:forKeys:", - ); - instancetype _objc_msgSend_160( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer objects, - ffi.Pointer keys, - ) { - return __objc_msgSend_160(obj, sel, objects, keys); - } - - late final __objc_msgSend_160Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_160 = __objc_msgSend_160Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_initWithObjectsAndKeys_1 = objc.registerName( - "initWithObjectsAndKeys:", - ); - late final _sel_initWithDictionary_1 = objc.registerName( - "initWithDictionary:", - ); - late final _sel_initWithDictionary_copyItems_1 = objc.registerName( - "initWithDictionary:copyItems:", - ); - instancetype _objc_msgSend_161( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer otherDictionary, - bool flag, - ) { - return __objc_msgSend_161(obj, sel, otherDictionary, flag); - } - - late final __objc_msgSend_161Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - )>>('objc_msgSend'); - late final __objc_msgSend_161 = __objc_msgSend_161Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - )>(); - - late final _sel_initWithObjects_forKeys_1 = objc.registerName( - "initWithObjects:forKeys:", - ); - ffi.Pointer _objc_msgSend_162( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, - ffi.Pointer> error, - ) { - return __objc_msgSend_162(obj, sel, url, error); - } - - late final __objc_msgSend_162Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_162 = __objc_msgSend_162Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>(); - - late final _sel_dictionaryWithContentsOfURL_error_1 = objc.registerName( - "dictionaryWithContentsOfURL:error:", - ); - late final _sel_sharedKeySetForKeys_1 = objc.registerName( - "sharedKeySetForKeys:", - ); - late final _sel_countByEnumeratingWithState_objects_count_1 = - objc.registerName("countByEnumeratingWithState:objects:count:"); - int _objc_msgSend_163( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer state, - ffi.Pointer> buffer, - int len, - ) { - return __objc_msgSend_163(obj, sel, state, buffer, len); - } - - late final __objc_msgSend_163Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.UnsignedLong, - )>>('objc_msgSend'); - late final __objc_msgSend_163 = __objc_msgSend_163Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - int, - )>(); - - late final _sel_fileSize1 = objc.registerName("fileSize"); - int _objc_msgSend_164( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_164(obj, sel); - } - - late final __objc_msgSend_164Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedLongLong Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_164 = __objc_msgSend_164Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _class_NSDate1 = objc.getClass("NSDate"); - late final _sel_timeIntervalSinceReferenceDate1 = objc.registerName( - "timeIntervalSinceReferenceDate", - ); - double _objc_msgSend_165( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_165(obj, sel); - } - - late final __objc_msgSend_165Ptr = _lookup< - ffi.NativeFunction< - ffi.Double Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_165 = __objc_msgSend_165Ptr.asFunction< - double Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - double _objc_msgSend_165_fpret( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_165_fpret(obj, sel); - } - - late final __objc_msgSend_165_fpretPtr = _lookup< - ffi.NativeFunction< - ffi.Double Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend_fpret'); - late final __objc_msgSend_165_fpret = __objc_msgSend_165_fpretPtr.asFunction< - double Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_initWithTimeIntervalSinceReferenceDate_1 = objc.registerName( - "initWithTimeIntervalSinceReferenceDate:", - ); - instancetype _objc_msgSend_166( - ffi.Pointer obj, - ffi.Pointer sel, - double ti, - ) { - return __objc_msgSend_166(obj, sel, ti); - } - - late final __objc_msgSend_166Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Double, - )>>('objc_msgSend'); - late final __objc_msgSend_166 = __objc_msgSend_166Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - double, - )>(); - - late final _sel_timeIntervalSinceDate_1 = objc.registerName( - "timeIntervalSinceDate:", - ); - double _objc_msgSend_167( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer anotherDate, - ) { - return __objc_msgSend_167(obj, sel, anotherDate); - } - - late final __objc_msgSend_167Ptr = _lookup< - ffi.NativeFunction< - ffi.Double Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_167 = __objc_msgSend_167Ptr.asFunction< - double Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - double _objc_msgSend_167_fpret( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer anotherDate, - ) { - return __objc_msgSend_167_fpret(obj, sel, anotherDate); - } - - late final __objc_msgSend_167_fpretPtr = _lookup< - ffi.NativeFunction< - ffi.Double Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend_fpret'); - late final __objc_msgSend_167_fpret = __objc_msgSend_167_fpretPtr.asFunction< - double Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_timeIntervalSinceNow1 = objc.registerName( - "timeIntervalSinceNow", - ); - late final _sel_timeIntervalSince19701 = objc.registerName( - "timeIntervalSince1970", - ); - late final _sel_addTimeInterval_1 = objc.registerName("addTimeInterval:"); - late final _sel_dateByAddingTimeInterval_1 = objc.registerName( - "dateByAddingTimeInterval:", - ); - late final _sel_earlierDate_1 = objc.registerName("earlierDate:"); - ffi.Pointer _objc_msgSend_168( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer anotherDate, - ) { - return __objc_msgSend_168(obj, sel, anotherDate); - } - - late final __objc_msgSend_168Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_168 = __objc_msgSend_168Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_laterDate_1 = objc.registerName("laterDate:"); - late final _sel_compare_1 = objc.registerName("compare:"); - int _objc_msgSend_169( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer other, - ) { - return __objc_msgSend_169(obj, sel, other); - } - - late final __objc_msgSend_169Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_169 = __objc_msgSend_169Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_isEqualToDate_1 = objc.registerName("isEqualToDate:"); - bool _objc_msgSend_170( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer otherDate, - ) { - return __objc_msgSend_170(obj, sel, otherDate); - } - - late final __objc_msgSend_170Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_170 = __objc_msgSend_170Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_date1 = objc.registerName("date"); - late final _sel_dateWithTimeIntervalSinceNow_1 = objc.registerName( - "dateWithTimeIntervalSinceNow:", - ); - late final _sel_dateWithTimeIntervalSinceReferenceDate_1 = objc.registerName( - "dateWithTimeIntervalSinceReferenceDate:", - ); - late final _sel_dateWithTimeIntervalSince1970_1 = objc.registerName( - "dateWithTimeIntervalSince1970:", - ); - late final _sel_dateWithTimeInterval_sinceDate_1 = objc.registerName( - "dateWithTimeInterval:sinceDate:", - ); - instancetype _objc_msgSend_171( - ffi.Pointer obj, - ffi.Pointer sel, - double secsToBeAdded, - ffi.Pointer date, - ) { - return __objc_msgSend_171(obj, sel, secsToBeAdded, date); - } - - late final __objc_msgSend_171Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Double, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_171 = __objc_msgSend_171Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - double, - ffi.Pointer, - )>(); - - late final _sel_distantFuture1 = objc.registerName("distantFuture"); - ffi.Pointer _objc_msgSend_172( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_172(obj, sel); - } - - late final __objc_msgSend_172Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_172 = __objc_msgSend_172Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_distantPast1 = objc.registerName("distantPast"); - late final _sel_now1 = objc.registerName("now"); - late final _sel_initWithTimeIntervalSinceNow_1 = objc.registerName( - "initWithTimeIntervalSinceNow:", - ); - late final _sel_initWithTimeIntervalSince1970_1 = objc.registerName( - "initWithTimeIntervalSince1970:", - ); - late final _sel_initWithTimeInterval_sinceDate_1 = objc.registerName( - "initWithTimeInterval:sinceDate:", - ); - late final _sel_dateWithNaturalLanguageString_locale_1 = objc.registerName( - "dateWithNaturalLanguageString:locale:", - ); - ffi.Pointer _objc_msgSend_173( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer string, - ffi.Pointer locale, - ) { - return __objc_msgSend_173(obj, sel, string, locale); - } - - late final __objc_msgSend_173Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_173 = __objc_msgSend_173Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_dateWithNaturalLanguageString_1 = objc.registerName( - "dateWithNaturalLanguageString:", - ); - late final _sel_dateWithString_1 = objc.registerName("dateWithString:"); - late final _class_NSCalendarDate1 = objc.getClass("NSCalendarDate"); - late final _sel_calendarDate1 = objc.registerName("calendarDate"); - late final _sel_dateWithString_calendarFormat_locale_1 = objc.registerName( - "dateWithString:calendarFormat:locale:", - ); - ffi.Pointer _objc_msgSend_174( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer description, - ffi.Pointer format, - ffi.Pointer locale, - ) { - return __objc_msgSend_174(obj, sel, description, format, locale); - } - - late final __objc_msgSend_174Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_174 = __objc_msgSend_174Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_dateWithString_calendarFormat_1 = objc.registerName( - "dateWithString:calendarFormat:", - ); - ffi.Pointer _objc_msgSend_175( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer description, - ffi.Pointer format, - ) { - return __objc_msgSend_175(obj, sel, description, format); - } - - late final __objc_msgSend_175Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_175 = __objc_msgSend_175Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _class_NSTimeZone1 = objc.getClass("NSTimeZone"); - late final _sel_name1 = objc.registerName("name"); - late final _sel_data1 = objc.registerName("data"); - late final _sel_secondsFromGMTForDate_1 = objc.registerName( - "secondsFromGMTForDate:", - ); - int _objc_msgSend_176( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aDate, - ) { - return __objc_msgSend_176(obj, sel, aDate); - } - - late final __objc_msgSend_176Ptr = _lookup< - ffi.NativeFunction< - ffi.Long Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_176 = __objc_msgSend_176Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_abbreviationForDate_1 = objc.registerName( - "abbreviationForDate:", - ); - ffi.Pointer _objc_msgSend_177( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aDate, - ) { - return __objc_msgSend_177(obj, sel, aDate); - } - - late final __objc_msgSend_177Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_177 = __objc_msgSend_177Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_isDaylightSavingTimeForDate_1 = objc.registerName( - "isDaylightSavingTimeForDate:", - ); - late final _sel_daylightSavingTimeOffsetForDate_1 = objc.registerName( - "daylightSavingTimeOffsetForDate:", - ); - late final _sel_nextDaylightSavingTimeTransitionAfterDate_1 = - objc.registerName("nextDaylightSavingTimeTransitionAfterDate:"); - ffi.Pointer _objc_msgSend_178( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aDate, - ) { - return __objc_msgSend_178(obj, sel, aDate); - } - - late final __objc_msgSend_178Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_178 = __objc_msgSend_178Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_systemTimeZone1 = objc.registerName("systemTimeZone"); - ffi.Pointer _objc_msgSend_179( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_179(obj, sel); - } - - late final __objc_msgSend_179Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_179 = __objc_msgSend_179Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_resetSystemTimeZone1 = objc.registerName( - "resetSystemTimeZone", - ); - late final _sel_defaultTimeZone1 = objc.registerName("defaultTimeZone"); - late final _sel_setDefaultTimeZone_1 = objc.registerName( - "setDefaultTimeZone:", - ); - void _objc_msgSend_180( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, - ) { - return __objc_msgSend_180(obj, sel, value); - } - - late final __objc_msgSend_180Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_180 = __objc_msgSend_180Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_localTimeZone1 = objc.registerName("localTimeZone"); - late final _sel_knownTimeZoneNames1 = objc.registerName("knownTimeZoneNames"); - late final _sel_abbreviationDictionary1 = objc.registerName( - "abbreviationDictionary", - ); - ffi.Pointer _objc_msgSend_181( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_181(obj, sel); - } - - late final __objc_msgSend_181Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_181 = __objc_msgSend_181Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_setAbbreviationDictionary_1 = objc.registerName( - "setAbbreviationDictionary:", - ); - void _objc_msgSend_182( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, - ) { - return __objc_msgSend_182(obj, sel, value); - } - - late final __objc_msgSend_182Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_182 = __objc_msgSend_182Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_timeZoneDataVersion1 = objc.registerName( - "timeZoneDataVersion", - ); - late final _sel_secondsFromGMT1 = objc.registerName("secondsFromGMT"); - late final _sel_abbreviation1 = objc.registerName("abbreviation"); - late final _sel_isDaylightSavingTime1 = objc.registerName( - "isDaylightSavingTime", - ); - late final _sel_daylightSavingTimeOffset1 = objc.registerName( - "daylightSavingTimeOffset", - ); - late final _sel_nextDaylightSavingTimeTransition1 = objc.registerName( - "nextDaylightSavingTimeTransition", - ); - ffi.Pointer _objc_msgSend_183( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_183(obj, sel); - } - - late final __objc_msgSend_183Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_183 = __objc_msgSend_183Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_isEqualToTimeZone_1 = objc.registerName("isEqualToTimeZone:"); - bool _objc_msgSend_184( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aTimeZone, - ) { - return __objc_msgSend_184(obj, sel, aTimeZone); - } - - late final __objc_msgSend_184Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_184 = __objc_msgSend_184Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _class_NSLocale1 = objc.getClass("NSLocale"); - late final _sel_displayNameForKey_value_1 = objc.registerName( - "displayNameForKey:value:", - ); - ffi.Pointer _objc_msgSend_185( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer key, - ffi.Pointer value, - ) { - return __objc_msgSend_185(obj, sel, key, value); - } - - late final __objc_msgSend_185Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_185 = __objc_msgSend_185Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_initWithLocaleIdentifier_1 = objc.registerName( - "initWithLocaleIdentifier:", - ); - late final _sel_localeIdentifier1 = objc.registerName("localeIdentifier"); - late final _sel_localizedStringForLocaleIdentifier_1 = objc.registerName( - "localizedStringForLocaleIdentifier:", - ); - late final _sel_languageCode1 = objc.registerName("languageCode"); - late final _sel_localizedStringForLanguageCode_1 = objc.registerName( - "localizedStringForLanguageCode:", - ); - ffi.Pointer _objc_msgSend_186( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer languageCode, - ) { - return __objc_msgSend_186(obj, sel, languageCode); - } - - late final __objc_msgSend_186Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_186 = __objc_msgSend_186Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_languageIdentifier1 = objc.registerName("languageIdentifier"); - late final _sel_countryCode1 = objc.registerName("countryCode"); - late final _sel_localizedStringForCountryCode_1 = objc.registerName( - "localizedStringForCountryCode:", - ); - late final _sel_regionCode1 = objc.registerName("regionCode"); - late final _sel_scriptCode1 = objc.registerName("scriptCode"); - late final _sel_localizedStringForScriptCode_1 = objc.registerName( - "localizedStringForScriptCode:", - ); - late final _sel_variantCode1 = objc.registerName("variantCode"); - late final _sel_localizedStringForVariantCode_1 = objc.registerName( - "localizedStringForVariantCode:", - ); - late final _class_NSCharacterSet1 = objc.getClass("NSCharacterSet"); - late final _sel_controlCharacterSet1 = objc.registerName( - "controlCharacterSet", - ); - ffi.Pointer _objc_msgSend_187( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_187(obj, sel); - } - - late final __objc_msgSend_187Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_187 = __objc_msgSend_187Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_whitespaceCharacterSet1 = objc.registerName( - "whitespaceCharacterSet", - ); - late final _sel_whitespaceAndNewlineCharacterSet1 = objc.registerName( - "whitespaceAndNewlineCharacterSet", - ); - late final _sel_decimalDigitCharacterSet1 = objc.registerName( - "decimalDigitCharacterSet", - ); - late final _sel_letterCharacterSet1 = objc.registerName("letterCharacterSet"); - late final _sel_lowercaseLetterCharacterSet1 = objc.registerName( - "lowercaseLetterCharacterSet", - ); - late final _sel_uppercaseLetterCharacterSet1 = objc.registerName( - "uppercaseLetterCharacterSet", - ); - late final _sel_nonBaseCharacterSet1 = objc.registerName( - "nonBaseCharacterSet", - ); - late final _sel_alphanumericCharacterSet1 = objc.registerName( - "alphanumericCharacterSet", - ); - late final _sel_decomposableCharacterSet1 = objc.registerName( - "decomposableCharacterSet", - ); - late final _sel_illegalCharacterSet1 = objc.registerName( - "illegalCharacterSet", - ); - late final _sel_punctuationCharacterSet1 = objc.registerName( - "punctuationCharacterSet", - ); - late final _sel_capitalizedLetterCharacterSet1 = objc.registerName( - "capitalizedLetterCharacterSet", - ); - late final _sel_symbolCharacterSet1 = objc.registerName("symbolCharacterSet"); - late final _sel_newlineCharacterSet1 = objc.registerName( - "newlineCharacterSet", - ); - late final _sel_characterSetWithRange_1 = objc.registerName( - "characterSetWithRange:", - ); - ffi.Pointer _objc_msgSend_188( - ffi.Pointer obj, - ffi.Pointer sel, - _NSRange aRange, - ) { - return __objc_msgSend_188(obj, sel, aRange); - } - - late final __objc_msgSend_188Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - )>>('objc_msgSend'); - late final __objc_msgSend_188 = __objc_msgSend_188Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - )>(); - - late final _sel_characterSetWithCharactersInString_1 = objc.registerName( - "characterSetWithCharactersInString:", - ); - ffi.Pointer _objc_msgSend_189( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aString, - ) { - return __objc_msgSend_189(obj, sel, aString); - } - - late final __objc_msgSend_189Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_189 = __objc_msgSend_189Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_characterSetWithBitmapRepresentation_1 = objc.registerName( - "characterSetWithBitmapRepresentation:", - ); - ffi.Pointer _objc_msgSend_190( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer data, - ) { - return __objc_msgSend_190(obj, sel, data); - } - - late final __objc_msgSend_190Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_190 = __objc_msgSend_190Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_characterSetWithContentsOfFile_1 = objc.registerName( - "characterSetWithContentsOfFile:", - ); - ffi.Pointer _objc_msgSend_191( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer fName, - ) { - return __objc_msgSend_191(obj, sel, fName); - } - - late final __objc_msgSend_191Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_191 = __objc_msgSend_191Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - instancetype _objc_msgSend_192( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer coder, - ) { - return __objc_msgSend_192(obj, sel, coder); - } - - late final __objc_msgSend_192Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_192 = __objc_msgSend_192Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_characterIsMember_1 = objc.registerName("characterIsMember:"); - bool _objc_msgSend_193( - ffi.Pointer obj, - ffi.Pointer sel, - int aCharacter, - ) { - return __objc_msgSend_193(obj, sel, aCharacter); - } - - late final __objc_msgSend_193Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedShort, - )>>('objc_msgSend'); - late final __objc_msgSend_193 = __objc_msgSend_193Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_bitmapRepresentation1 = objc.registerName( - "bitmapRepresentation", - ); - late final _sel_invertedSet1 = objc.registerName("invertedSet"); - late final _sel_longCharacterIsMember_1 = objc.registerName( - "longCharacterIsMember:", - ); - bool _objc_msgSend_194( - ffi.Pointer obj, - ffi.Pointer sel, - int theLongChar, - ) { - return __objc_msgSend_194(obj, sel, theLongChar); - } - - late final __objc_msgSend_194Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedInt, - )>>('objc_msgSend'); - late final __objc_msgSend_194 = __objc_msgSend_194Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_isSupersetOfSet_1 = objc.registerName("isSupersetOfSet:"); - bool _objc_msgSend_195( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer theOtherSet, - ) { - return __objc_msgSend_195(obj, sel, theOtherSet); - } - - late final __objc_msgSend_195Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_195 = __objc_msgSend_195Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_hasMemberInPlane_1 = objc.registerName("hasMemberInPlane:"); - bool _objc_msgSend_196( - ffi.Pointer obj, - ffi.Pointer sel, - int thePlane, - ) { - return __objc_msgSend_196(obj, sel, thePlane); - } - - late final __objc_msgSend_196Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Uint8, - )>>('objc_msgSend'); - late final __objc_msgSend_196 = __objc_msgSend_196Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_URLUserAllowedCharacterSet1 = objc.registerName( - "URLUserAllowedCharacterSet", - ); - late final _sel_URLPasswordAllowedCharacterSet1 = objc.registerName( - "URLPasswordAllowedCharacterSet", - ); - late final _sel_URLHostAllowedCharacterSet1 = objc.registerName( - "URLHostAllowedCharacterSet", - ); - late final _sel_URLPathAllowedCharacterSet1 = objc.registerName( - "URLPathAllowedCharacterSet", - ); - late final _sel_URLQueryAllowedCharacterSet1 = objc.registerName( - "URLQueryAllowedCharacterSet", - ); - late final _sel_URLFragmentAllowedCharacterSet1 = objc.registerName( - "URLFragmentAllowedCharacterSet", - ); - late final _sel_exemplarCharacterSet1 = objc.registerName( - "exemplarCharacterSet", - ); - late final _sel_calendarIdentifier1 = objc.registerName("calendarIdentifier"); - late final _sel_localizedStringForCalendarIdentifier_1 = objc.registerName( - "localizedStringForCalendarIdentifier:", - ); - late final _sel_collationIdentifier1 = objc.registerName( - "collationIdentifier", - ); - late final _sel_localizedStringForCollationIdentifier_1 = objc.registerName( - "localizedStringForCollationIdentifier:", - ); - late final _sel_usesMetricSystem1 = objc.registerName("usesMetricSystem"); - late final _sel_decimalSeparator1 = objc.registerName("decimalSeparator"); - late final _sel_groupingSeparator1 = objc.registerName("groupingSeparator"); - late final _sel_currencySymbol1 = objc.registerName("currencySymbol"); - late final _sel_currencyCode1 = objc.registerName("currencyCode"); - late final _sel_localizedStringForCurrencyCode_1 = objc.registerName( - "localizedStringForCurrencyCode:", - ); - late final _sel_collatorIdentifier1 = objc.registerName("collatorIdentifier"); - late final _sel_localizedStringForCollatorIdentifier_1 = objc.registerName( - "localizedStringForCollatorIdentifier:", - ); - late final _sel_quotationBeginDelimiter1 = objc.registerName( - "quotationBeginDelimiter", - ); - late final _sel_quotationEndDelimiter1 = objc.registerName( - "quotationEndDelimiter", - ); - late final _sel_alternateQuotationBeginDelimiter1 = objc.registerName( - "alternateQuotationBeginDelimiter", - ); - late final _sel_alternateQuotationEndDelimiter1 = objc.registerName( - "alternateQuotationEndDelimiter", - ); - late final _sel_autoupdatingCurrentLocale1 = objc.registerName( - "autoupdatingCurrentLocale", - ); - ffi.Pointer _objc_msgSend_197( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_197(obj, sel); - } - - late final __objc_msgSend_197Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_197 = __objc_msgSend_197Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_currentLocale1 = objc.registerName("currentLocale"); - late final _sel_systemLocale1 = objc.registerName("systemLocale"); - late final _sel_localeWithLocaleIdentifier_1 = objc.registerName( - "localeWithLocaleIdentifier:", - ); - late final _sel_availableLocaleIdentifiers1 = objc.registerName( - "availableLocaleIdentifiers", - ); - late final _sel_ISOLanguageCodes1 = objc.registerName("ISOLanguageCodes"); - late final _sel_ISOCountryCodes1 = objc.registerName("ISOCountryCodes"); - late final _sel_ISOCurrencyCodes1 = objc.registerName("ISOCurrencyCodes"); - late final _sel_commonISOCurrencyCodes1 = objc.registerName( - "commonISOCurrencyCodes", - ); - late final _sel_preferredLanguages1 = objc.registerName("preferredLanguages"); - late final _sel_componentsFromLocaleIdentifier_1 = objc.registerName( - "componentsFromLocaleIdentifier:", - ); - ffi.Pointer _objc_msgSend_198( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer string, - ) { - return __objc_msgSend_198(obj, sel, string); - } - - late final __objc_msgSend_198Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_198 = __objc_msgSend_198Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_localeIdentifierFromComponents_1 = objc.registerName( - "localeIdentifierFromComponents:", - ); - ffi.Pointer _objc_msgSend_199( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer dict, - ) { - return __objc_msgSend_199(obj, sel, dict); - } - - late final __objc_msgSend_199Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_199 = __objc_msgSend_199Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_canonicalLocaleIdentifierFromString_1 = objc.registerName( - "canonicalLocaleIdentifierFromString:", - ); - late final _sel_canonicalLanguageIdentifierFromString_1 = objc.registerName( - "canonicalLanguageIdentifierFromString:", - ); - late final _sel_localeIdentifierFromWindowsLocaleCode_1 = objc.registerName( - "localeIdentifierFromWindowsLocaleCode:", - ); - ffi.Pointer _objc_msgSend_200( - ffi.Pointer obj, - ffi.Pointer sel, - int lcid, - ) { - return __objc_msgSend_200(obj, sel, lcid); - } - - late final __objc_msgSend_200Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Uint32, - )>>('objc_msgSend'); - late final __objc_msgSend_200 = __objc_msgSend_200Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_windowsLocaleCodeFromLocaleIdentifier_1 = objc.registerName( - "windowsLocaleCodeFromLocaleIdentifier:", - ); - int _objc_msgSend_201( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer localeIdentifier, - ) { - return __objc_msgSend_201(obj, sel, localeIdentifier); - } - - late final __objc_msgSend_201Ptr = _lookup< - ffi.NativeFunction< - ffi.Uint32 Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_201 = __objc_msgSend_201Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_characterDirectionForLanguage_1 = objc.registerName( - "characterDirectionForLanguage:", - ); - int _objc_msgSend_202( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer isoLangCode, - ) { - return __objc_msgSend_202(obj, sel, isoLangCode); - } - - late final __objc_msgSend_202Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_202 = __objc_msgSend_202Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_lineDirectionForLanguage_1 = objc.registerName( - "lineDirectionForLanguage:", - ); - late final _sel_localizedName_locale_1 = objc.registerName( - "localizedName:locale:", - ); - ffi.Pointer _objc_msgSend_203( - ffi.Pointer obj, - ffi.Pointer sel, - int style, - ffi.Pointer locale, - ) { - return __objc_msgSend_203(obj, sel, style, locale); - } - - late final __objc_msgSend_203Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_203 = __objc_msgSend_203Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - )>(); - - late final _sel_timeZoneWithName_1 = objc.registerName("timeZoneWithName:"); - late final _sel_timeZoneWithName_data_1 = objc.registerName( - "timeZoneWithName:data:", - ); - instancetype _objc_msgSend_204( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer tzName, - ffi.Pointer aData, - ) { - return __objc_msgSend_204(obj, sel, tzName, aData); - } - - late final __objc_msgSend_204Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_204 = __objc_msgSend_204Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_initWithName_1 = objc.registerName("initWithName:"); - late final _sel_initWithName_data_1 = objc.registerName("initWithName:data:"); - late final _sel_timeZoneForSecondsFromGMT_1 = objc.registerName( - "timeZoneForSecondsFromGMT:", - ); - instancetype _objc_msgSend_205( - ffi.Pointer obj, - ffi.Pointer sel, - int seconds, - ) { - return __objc_msgSend_205(obj, sel, seconds); - } - - late final __objc_msgSend_205Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Long, - )>>('objc_msgSend'); - late final __objc_msgSend_205 = __objc_msgSend_205Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_timeZoneWithAbbreviation_1 = objc.registerName( - "timeZoneWithAbbreviation:", - ); - late final _sel_dateWithYear_month_day_hour_minute_second_timeZone_1 = - objc.registerName("dateWithYear:month:day:hour:minute:second:timeZone:"); - ffi.Pointer _objc_msgSend_206( - ffi.Pointer obj, - ffi.Pointer sel, - int year, - int month, - int day, - int hour, - int minute, - int second, - ffi.Pointer aTimeZone, - ) { - return __objc_msgSend_206( - obj, - sel, - year, - month, - day, - hour, - minute, - second, - aTimeZone, - ); - } - - late final __objc_msgSend_206Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Long, - ffi.UnsignedLong, - ffi.UnsignedLong, - ffi.UnsignedLong, - ffi.UnsignedLong, - ffi.UnsignedLong, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_206 = __objc_msgSend_206Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - int, - int, - int, - int, - int, - ffi.Pointer, - )>(); - - late final _sel_dateByAddingYears_months_days_hours_minutes_seconds_1 = - objc.registerName("dateByAddingYears:months:days:hours:minutes:seconds:"); - ffi.Pointer _objc_msgSend_207( - ffi.Pointer obj, - ffi.Pointer sel, - int year, - int month, - int day, - int hour, - int minute, - int second, - ) { - return __objc_msgSend_207(obj, sel, year, month, day, hour, minute, second); - } - - late final __objc_msgSend_207Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Long, - ffi.Long, - ffi.Long, - ffi.Long, - ffi.Long, - ffi.Long, - )>>('objc_msgSend'); - late final __objc_msgSend_207 = __objc_msgSend_207Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - int, - int, - int, - int, - int, - )>(); - - late final _sel_dayOfCommonEra1 = objc.registerName("dayOfCommonEra"); - late final _sel_dayOfMonth1 = objc.registerName("dayOfMonth"); - late final _sel_dayOfWeek1 = objc.registerName("dayOfWeek"); - late final _sel_dayOfYear1 = objc.registerName("dayOfYear"); - late final _sel_hourOfDay1 = objc.registerName("hourOfDay"); - late final _sel_minuteOfHour1 = objc.registerName("minuteOfHour"); - late final _sel_monthOfYear1 = objc.registerName("monthOfYear"); - late final _sel_secondOfMinute1 = objc.registerName("secondOfMinute"); - late final _sel_yearOfCommonEra1 = objc.registerName("yearOfCommonEra"); - late final _sel_calendarFormat1 = objc.registerName("calendarFormat"); - late final _sel_descriptionWithCalendarFormat_locale_1 = objc.registerName( - "descriptionWithCalendarFormat:locale:", - ); - ffi.Pointer _objc_msgSend_208( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer format, - ffi.Pointer locale, - ) { - return __objc_msgSend_208(obj, sel, format, locale); - } - - late final __objc_msgSend_208Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_208 = __objc_msgSend_208Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_descriptionWithCalendarFormat_1 = objc.registerName( - "descriptionWithCalendarFormat:", - ); - late final _sel_timeZone1 = objc.registerName("timeZone"); - late final _sel_initWithString_calendarFormat_locale_1 = objc.registerName( - "initWithString:calendarFormat:locale:", - ); - late final _sel_initWithString_calendarFormat_1 = objc.registerName( - "initWithString:calendarFormat:", - ); - late final _sel_initWithYear_month_day_hour_minute_second_timeZone_1 = - objc.registerName("initWithYear:month:day:hour:minute:second:timeZone:"); - late final _sel_setCalendarFormat_1 = objc.registerName("setCalendarFormat:"); - void _objc_msgSend_209( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer format, - ) { - return __objc_msgSend_209(obj, sel, format); - } - - late final __objc_msgSend_209Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_209 = __objc_msgSend_209Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_setTimeZone_1 = objc.registerName("setTimeZone:"); - void _objc_msgSend_210( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aTimeZone, - ) { - return __objc_msgSend_210(obj, sel, aTimeZone); - } - - late final __objc_msgSend_210Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_210 = __objc_msgSend_210Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_years_months_days_hours_minutes_seconds_sinceDate_1 = - objc.registerName("years:months:days:hours:minutes:seconds:sinceDate:"); - void _objc_msgSend_211( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer yp, - ffi.Pointer mop, - ffi.Pointer dp, - ffi.Pointer hp, - ffi.Pointer mip, - ffi.Pointer sp, - ffi.Pointer date, - ) { - return __objc_msgSend_211(obj, sel, yp, mop, dp, hp, mip, sp, date); - } - - late final __objc_msgSend_211Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_211 = __objc_msgSend_211Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_dateWithCalendarFormat_timeZone_1 = objc.registerName( - "dateWithCalendarFormat:timeZone:", - ); - ffi.Pointer _objc_msgSend_212( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer format, - ffi.Pointer aTimeZone, - ) { - return __objc_msgSend_212(obj, sel, format, aTimeZone); - } - - late final __objc_msgSend_212Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_212 = __objc_msgSend_212Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_descriptionWithCalendarFormat_timeZone_locale_1 = - objc.registerName("descriptionWithCalendarFormat:timeZone:locale:"); - ffi.Pointer _objc_msgSend_213( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer format, - ffi.Pointer aTimeZone, - ffi.Pointer locale, - ) { - return __objc_msgSend_213(obj, sel, format, aTimeZone, locale); - } - - late final __objc_msgSend_213Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_213 = __objc_msgSend_213Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_fileModificationDate1 = objc.registerName( - "fileModificationDate", - ); - late final _sel_fileType1 = objc.registerName("fileType"); - late final _sel_filePosixPermissions1 = objc.registerName( - "filePosixPermissions", - ); - late final _sel_fileOwnerAccountName1 = objc.registerName( - "fileOwnerAccountName", - ); - late final _sel_fileGroupOwnerAccountName1 = objc.registerName( - "fileGroupOwnerAccountName", - ); - late final _sel_fileSystemNumber1 = objc.registerName("fileSystemNumber"); - late final _sel_fileSystemFileNumber1 = objc.registerName( - "fileSystemFileNumber", - ); - late final _sel_fileExtensionHidden1 = objc.registerName( - "fileExtensionHidden", - ); - late final _sel_fileHFSCreatorCode1 = objc.registerName("fileHFSCreatorCode"); - int _objc_msgSend_214( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_214(obj, sel); - } - - late final __objc_msgSend_214Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedInt Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_214 = __objc_msgSend_214Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_fileHFSTypeCode1 = objc.registerName("fileHFSTypeCode"); - late final _sel_fileIsImmutable1 = objc.registerName("fileIsImmutable"); - late final _sel_fileIsAppendOnly1 = objc.registerName("fileIsAppendOnly"); - late final _sel_fileCreationDate1 = objc.registerName("fileCreationDate"); - late final _sel_fileOwnerAccountID1 = objc.registerName("fileOwnerAccountID"); - ffi.Pointer _objc_msgSend_215( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_215(obj, sel); - } - - late final __objc_msgSend_215Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_215 = __objc_msgSend_215Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_fileGroupOwnerAccountID1 = objc.registerName( - "fileGroupOwnerAccountID", - ); - late final _sel_predicateWithBlock_1 = objc.registerName( - "predicateWithBlock:", - ); - ffi.Pointer _objc_msgSend_216( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer block, - ) { - return __objc_msgSend_216(obj, sel, block); - } - - late final __objc_msgSend_216Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_216 = __objc_msgSend_216Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_predicateFormat1 = objc.registerName("predicateFormat"); - late final _sel_predicateWithSubstitutionVariables_1 = objc.registerName( - "predicateWithSubstitutionVariables:", - ); - late final _sel_evaluateWithObject_1 = objc.registerName( - "evaluateWithObject:", - ); - bool _objc_msgSend_217( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer object, - ) { - return __objc_msgSend_217(obj, sel, object); - } - - late final __objc_msgSend_217Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_217 = __objc_msgSend_217Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_evaluateWithObject_substitutionVariables_1 = - objc.registerName("evaluateWithObject:substitutionVariables:"); - bool _objc_msgSend_218( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer object, - ffi.Pointer bindings, - ) { - return __objc_msgSend_218(obj, sel, object, bindings); - } - - late final __objc_msgSend_218Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_218 = __objc_msgSend_218Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_allowEvaluation1 = objc.registerName("allowEvaluation"); - late final _sel_filteredArrayUsingPredicate_1 = objc.registerName( - "filteredArrayUsingPredicate:", - ); - ffi.Pointer _objc_msgSend_219( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer predicate, - ) { - return __objc_msgSend_219(obj, sel, predicate); - } - - late final __objc_msgSend_219Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_219 = __objc_msgSend_219Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_initWithChar_1 = objc.registerName("initWithChar:"); - ffi.Pointer _objc_msgSend_220( - ffi.Pointer obj, - ffi.Pointer sel, - int value, - ) { - return __objc_msgSend_220(obj, sel, value); - } - - late final __objc_msgSend_220Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Char, - )>>('objc_msgSend'); - late final __objc_msgSend_220 = __objc_msgSend_220Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_initWithUnsignedChar_1 = objc.registerName( - "initWithUnsignedChar:", - ); - ffi.Pointer _objc_msgSend_221( - ffi.Pointer obj, - ffi.Pointer sel, - int value, - ) { - return __objc_msgSend_221(obj, sel, value); - } - - late final __objc_msgSend_221Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedChar, - )>>('objc_msgSend'); - late final __objc_msgSend_221 = __objc_msgSend_221Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_initWithShort_1 = objc.registerName("initWithShort:"); - ffi.Pointer _objc_msgSend_222( - ffi.Pointer obj, - ffi.Pointer sel, - int value, - ) { - return __objc_msgSend_222(obj, sel, value); - } - - late final __objc_msgSend_222Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Short, - )>>('objc_msgSend'); - late final __objc_msgSend_222 = __objc_msgSend_222Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_initWithUnsignedShort_1 = objc.registerName( - "initWithUnsignedShort:", - ); - ffi.Pointer _objc_msgSend_223( - ffi.Pointer obj, - ffi.Pointer sel, - int value, - ) { - return __objc_msgSend_223(obj, sel, value); - } - - late final __objc_msgSend_223Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedShort, - )>>('objc_msgSend'); - late final __objc_msgSend_223 = __objc_msgSend_223Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_initWithInt_1 = objc.registerName("initWithInt:"); - ffi.Pointer _objc_msgSend_224( - ffi.Pointer obj, - ffi.Pointer sel, - int value, - ) { - return __objc_msgSend_224(obj, sel, value); - } - - late final __objc_msgSend_224Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int, - )>>('objc_msgSend'); - late final __objc_msgSend_224 = __objc_msgSend_224Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_initWithUnsignedInt_1 = objc.registerName( - "initWithUnsignedInt:", - ); - ffi.Pointer _objc_msgSend_225( - ffi.Pointer obj, - ffi.Pointer sel, - int value, - ) { - return __objc_msgSend_225(obj, sel, value); - } - - late final __objc_msgSend_225Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedInt, - )>>('objc_msgSend'); - late final __objc_msgSend_225 = __objc_msgSend_225Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_initWithLong_1 = objc.registerName("initWithLong:"); - ffi.Pointer _objc_msgSend_226( - ffi.Pointer obj, - ffi.Pointer sel, - int value, - ) { - return __objc_msgSend_226(obj, sel, value); - } - - late final __objc_msgSend_226Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Long, - )>>('objc_msgSend'); - late final __objc_msgSend_226 = __objc_msgSend_226Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_initWithUnsignedLong_1 = objc.registerName( - "initWithUnsignedLong:", - ); - ffi.Pointer _objc_msgSend_227( - ffi.Pointer obj, - ffi.Pointer sel, - int value, - ) { - return __objc_msgSend_227(obj, sel, value); - } - - late final __objc_msgSend_227Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - )>>('objc_msgSend'); - late final __objc_msgSend_227 = __objc_msgSend_227Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_initWithLongLong_1 = objc.registerName("initWithLongLong:"); - ffi.Pointer _objc_msgSend_228( - ffi.Pointer obj, - ffi.Pointer sel, - int value, - ) { - return __objc_msgSend_228(obj, sel, value); - } - - late final __objc_msgSend_228Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.LongLong, - )>>('objc_msgSend'); - late final __objc_msgSend_228 = __objc_msgSend_228Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_initWithUnsignedLongLong_1 = objc.registerName( - "initWithUnsignedLongLong:", - ); - ffi.Pointer _objc_msgSend_229( - ffi.Pointer obj, - ffi.Pointer sel, - int value, - ) { - return __objc_msgSend_229(obj, sel, value); - } - - late final __objc_msgSend_229Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLongLong, - )>>('objc_msgSend'); - late final __objc_msgSend_229 = __objc_msgSend_229Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_initWithFloat_1 = objc.registerName("initWithFloat:"); - ffi.Pointer _objc_msgSend_230( - ffi.Pointer obj, - ffi.Pointer sel, - double value, - ) { - return __objc_msgSend_230(obj, sel, value); - } - - late final __objc_msgSend_230Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Float, - )>>('objc_msgSend'); - late final __objc_msgSend_230 = __objc_msgSend_230Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - double, - )>(); - - late final _sel_initWithDouble_1 = objc.registerName("initWithDouble:"); - ffi.Pointer _objc_msgSend_231( - ffi.Pointer obj, - ffi.Pointer sel, - double value, - ) { - return __objc_msgSend_231(obj, sel, value); - } - - late final __objc_msgSend_231Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Double, - )>>('objc_msgSend'); - late final __objc_msgSend_231 = __objc_msgSend_231Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - double, - )>(); - - late final _sel_initWithBool_1 = objc.registerName("initWithBool:"); - ffi.Pointer _objc_msgSend_232( - ffi.Pointer obj, - ffi.Pointer sel, - bool value, - ) { - return __objc_msgSend_232(obj, sel, value); - } - - late final __objc_msgSend_232Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - )>>('objc_msgSend'); - late final __objc_msgSend_232 = __objc_msgSend_232Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - bool, - )>(); - - late final _sel_initWithInteger_1 = objc.registerName("initWithInteger:"); - late final _sel_initWithUnsignedInteger_1 = objc.registerName( - "initWithUnsignedInteger:", - ); - late final _sel_charValue1 = objc.registerName("charValue"); - int _objc_msgSend_233( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_233(obj, sel); - } - - late final __objc_msgSend_233Ptr = _lookup< - ffi.NativeFunction< - ffi.Char Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_233 = __objc_msgSend_233Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_unsignedCharValue1 = objc.registerName("unsignedCharValue"); - int _objc_msgSend_234( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_234(obj, sel); - } - - late final __objc_msgSend_234Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedChar Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_234 = __objc_msgSend_234Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_shortValue1 = objc.registerName("shortValue"); - int _objc_msgSend_235( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_235(obj, sel); - } - - late final __objc_msgSend_235Ptr = _lookup< - ffi.NativeFunction< - ffi.Short Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_235 = __objc_msgSend_235Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_unsignedShortValue1 = objc.registerName("unsignedShortValue"); - int _objc_msgSend_236( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_236(obj, sel); - } - - late final __objc_msgSend_236Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedShort Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_236 = __objc_msgSend_236Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_intValue1 = objc.registerName("intValue"); - int _objc_msgSend_237( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_237(obj, sel); - } - - late final __objc_msgSend_237Ptr = _lookup< - ffi.NativeFunction< - ffi.Int Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_237 = __objc_msgSend_237Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_unsignedIntValue1 = objc.registerName("unsignedIntValue"); - late final _sel_longValue1 = objc.registerName("longValue"); - late final _sel_unsignedLongValue1 = objc.registerName("unsignedLongValue"); - late final _sel_longLongValue1 = objc.registerName("longLongValue"); - int _objc_msgSend_238( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_238(obj, sel); - } - - late final __objc_msgSend_238Ptr = _lookup< - ffi.NativeFunction< - ffi.LongLong Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_238 = __objc_msgSend_238Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_unsignedLongLongValue1 = objc.registerName( - "unsignedLongLongValue", - ); - late final _sel_floatValue1 = objc.registerName("floatValue"); - double _objc_msgSend_239( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_239(obj, sel); - } - - late final __objc_msgSend_239Ptr = _lookup< - ffi.NativeFunction< - ffi.Float Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_239 = __objc_msgSend_239Ptr.asFunction< - double Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - double _objc_msgSend_239_fpret( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_239_fpret(obj, sel); - } - - late final __objc_msgSend_239_fpretPtr = _lookup< - ffi.NativeFunction< - ffi.Float Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend_fpret'); - late final __objc_msgSend_239_fpret = __objc_msgSend_239_fpretPtr.asFunction< - double Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_doubleValue1 = objc.registerName("doubleValue"); - late final _sel_boolValue1 = objc.registerName("boolValue"); - late final _sel_integerValue1 = objc.registerName("integerValue"); - late final _sel_unsignedIntegerValue1 = objc.registerName( - "unsignedIntegerValue", - ); - late final _sel_stringValue1 = objc.registerName("stringValue"); - int _objc_msgSend_240( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer otherNumber, - ) { - return __objc_msgSend_240(obj, sel, otherNumber); - } - - late final __objc_msgSend_240Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_240 = __objc_msgSend_240Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_isEqualToNumber_1 = objc.registerName("isEqualToNumber:"); - bool _objc_msgSend_241( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer number, - ) { - return __objc_msgSend_241(obj, sel, number); - } - - late final __objc_msgSend_241Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_241 = __objc_msgSend_241Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_numberWithChar_1 = objc.registerName("numberWithChar:"); - late final _sel_numberWithUnsignedChar_1 = objc.registerName( - "numberWithUnsignedChar:", - ); - late final _sel_numberWithShort_1 = objc.registerName("numberWithShort:"); - late final _sel_numberWithUnsignedShort_1 = objc.registerName( - "numberWithUnsignedShort:", - ); - late final _sel_numberWithInt_1 = objc.registerName("numberWithInt:"); - late final _sel_numberWithUnsignedInt_1 = objc.registerName( - "numberWithUnsignedInt:", - ); - late final _sel_numberWithLong_1 = objc.registerName("numberWithLong:"); - late final _sel_numberWithUnsignedLong_1 = objc.registerName( - "numberWithUnsignedLong:", - ); - late final _sel_numberWithLongLong_1 = objc.registerName( - "numberWithLongLong:", - ); - late final _sel_numberWithUnsignedLongLong_1 = objc.registerName( - "numberWithUnsignedLongLong:", - ); - late final _sel_numberWithFloat_1 = objc.registerName("numberWithFloat:"); - late final _sel_numberWithDouble_1 = objc.registerName("numberWithDouble:"); - late final _sel_numberWithBool_1 = objc.registerName("numberWithBool:"); - late final _sel_numberWithInteger_1 = objc.registerName("numberWithInteger:"); - late final _sel_numberWithUnsignedInteger_1 = objc.registerName( - "numberWithUnsignedInteger:", - ); - late final _sel_port1 = objc.registerName("port"); - late final _sel_user1 = objc.registerName("user"); - late final _sel_password1 = objc.registerName("password"); - late final _sel_path1 = objc.registerName("path"); - late final _sel_fragment1 = objc.registerName("fragment"); - late final _sel_parameterString1 = objc.registerName("parameterString"); - late final _sel_query1 = objc.registerName("query"); - late final _sel_relativePath1 = objc.registerName("relativePath"); - late final _sel_hasDirectoryPath1 = objc.registerName("hasDirectoryPath"); - late final _sel_getFileSystemRepresentation_maxLength_1 = objc.registerName( - "getFileSystemRepresentation:maxLength:", - ); - bool _objc_msgSend_242( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer buffer, - int maxBufferLength, - ) { - return __objc_msgSend_242(obj, sel, buffer, maxBufferLength); - } - - late final __objc_msgSend_242Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - )>>('objc_msgSend'); - late final __objc_msgSend_242 = __objc_msgSend_242Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_fileSystemRepresentation1 = objc.registerName( - "fileSystemRepresentation", - ); - late final _sel_isFileURL1 = objc.registerName("isFileURL"); - late final _sel_standardizedURL1 = objc.registerName("standardizedURL"); - late final _sel_isFileReferenceURL1 = objc.registerName("isFileReferenceURL"); - late final _sel_fileReferenceURL1 = objc.registerName("fileReferenceURL"); - late final _sel_filePathURL1 = objc.registerName("filePathURL"); - late final _sel_getResourceValue_forKey_error_1 = objc.registerName( - "getResourceValue:forKey:error:", - ); - bool _objc_msgSend_243( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer> value, - ffi.Pointer key, - ffi.Pointer> error, - ) { - return __objc_msgSend_243(obj, sel, value, key, error); - } - - late final __objc_msgSend_243Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_243 = __objc_msgSend_243Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer, - ffi.Pointer>, - )>(); - - late final _sel_resourceValuesForKeys_error_1 = objc.registerName( - "resourceValuesForKeys:error:", - ); - ffi.Pointer _objc_msgSend_244( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer keys, - ffi.Pointer> error, - ) { - return __objc_msgSend_244(obj, sel, keys, error); - } - - late final __objc_msgSend_244Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_244 = __objc_msgSend_244Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>(); - - late final _sel_setResourceValue_forKey_error_1 = objc.registerName( - "setResourceValue:forKey:error:", - ); - bool _objc_msgSend_245( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, - ffi.Pointer key, - ffi.Pointer> error, - ) { - return __objc_msgSend_245(obj, sel, value, key, error); - } - - late final __objc_msgSend_245Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_245 = __objc_msgSend_245Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>(); - - late final _sel_setResourceValues_error_1 = objc.registerName( - "setResourceValues:error:", - ); - bool _objc_msgSend_246( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer keyedValues, - ffi.Pointer> error, - ) { - return __objc_msgSend_246(obj, sel, keyedValues, error); - } - - late final __objc_msgSend_246Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_246 = __objc_msgSend_246Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>(); - - late final _sel_removeCachedResourceValueForKey_1 = objc.registerName( - "removeCachedResourceValueForKey:", - ); - void _objc_msgSend_247( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer key, - ) { - return __objc_msgSend_247(obj, sel, key); - } - - late final __objc_msgSend_247Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_247 = __objc_msgSend_247Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_removeAllCachedResourceValues1 = objc.registerName( - "removeAllCachedResourceValues", - ); - late final _sel_setTemporaryResourceValue_forKey_1 = objc.registerName( - "setTemporaryResourceValue:forKey:", - ); - late final _sel_bookmarkDataWithOptions_includingResourceValuesForKeys_relativeToURL_error_1 = - objc.registerName( - "bookmarkDataWithOptions:includingResourceValuesForKeys:relativeToURL:error:", - ); - ffi.Pointer _objc_msgSend_248( - ffi.Pointer obj, - ffi.Pointer sel, - int options, - ffi.Pointer keys, - ffi.Pointer relativeURL, - ffi.Pointer> error, - ) { - return __objc_msgSend_248(obj, sel, options, keys, relativeURL, error); - } - - late final __objc_msgSend_248Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_248 = __objc_msgSend_248Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>(); - - late final _sel_initByResolvingBookmarkData_options_relativeToURL_bookmarkDataIsStale_error_1 = - objc.registerName( - "initByResolvingBookmarkData:options:relativeToURL:bookmarkDataIsStale:error:", - ); - instancetype _objc_msgSend_249( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer bookmarkData, - int options, - ffi.Pointer relativeURL, - ffi.Pointer isStale, - ffi.Pointer> error, - ) { - return __objc_msgSend_249( - obj, - sel, - bookmarkData, - options, - relativeURL, - isStale, - error, - ); - } - - late final __objc_msgSend_249Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_249 = __objc_msgSend_249Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>(); - - late final _sel_URLByResolvingBookmarkData_options_relativeToURL_bookmarkDataIsStale_error_1 = - objc.registerName( - "URLByResolvingBookmarkData:options:relativeToURL:bookmarkDataIsStale:error:", - ); - late final _sel_resourceValuesForKeys_fromBookmarkData_1 = objc.registerName( - "resourceValuesForKeys:fromBookmarkData:", - ); - ffi.Pointer _objc_msgSend_250( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer keys, - ffi.Pointer bookmarkData, - ) { - return __objc_msgSend_250(obj, sel, keys, bookmarkData); - } - - late final __objc_msgSend_250Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_250 = __objc_msgSend_250Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_writeBookmarkData_toURL_options_error_1 = objc.registerName( - "writeBookmarkData:toURL:options:error:", - ); - bool _objc_msgSend_251( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer bookmarkData, - ffi.Pointer bookmarkFileURL, - int options, - ffi.Pointer> error, - ) { - return __objc_msgSend_251( - obj, - sel, - bookmarkData, - bookmarkFileURL, - options, - error, - ); - } - - late final __objc_msgSend_251Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_251 = __objc_msgSend_251Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>, - )>(); - - late final _sel_bookmarkDataWithContentsOfURL_error_1 = objc.registerName( - "bookmarkDataWithContentsOfURL:error:", - ); - ffi.Pointer _objc_msgSend_252( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer bookmarkFileURL, - ffi.Pointer> error, - ) { - return __objc_msgSend_252(obj, sel, bookmarkFileURL, error); - } - - late final __objc_msgSend_252Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_252 = __objc_msgSend_252Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>(); - - late final _sel_URLByResolvingAliasFileAtURL_options_error_1 = - objc.registerName("URLByResolvingAliasFileAtURL:options:error:"); - instancetype _objc_msgSend_253( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, - int options, - ffi.Pointer> error, - ) { - return __objc_msgSend_253(obj, sel, url, options, error); - } - - late final __objc_msgSend_253Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_253 = __objc_msgSend_253Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>, - )>(); - - late final _sel_startAccessingSecurityScopedResource1 = objc.registerName( - "startAccessingSecurityScopedResource", - ); - late final _sel_stopAccessingSecurityScopedResource1 = objc.registerName( - "stopAccessingSecurityScopedResource", - ); - late final _sel_getPromisedItemResourceValue_forKey_error_1 = - objc.registerName("getPromisedItemResourceValue:forKey:error:"); - late final _sel_promisedItemResourceValuesForKeys_error_1 = objc.registerName( - "promisedItemResourceValuesForKeys:error:", - ); - ffi.Pointer _objc_msgSend_254( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer keys, - ffi.Pointer> error, - ) { - return __objc_msgSend_254(obj, sel, keys, error); - } - - late final __objc_msgSend_254Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_254 = __objc_msgSend_254Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>(); - - late final _sel_checkPromisedItemIsReachableAndReturnError_1 = - objc.registerName("checkPromisedItemIsReachableAndReturnError:"); - bool _objc_msgSend_255( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer> error, - ) { - return __objc_msgSend_255(obj, sel, error); - } - - late final __objc_msgSend_255Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_255 = __objc_msgSend_255Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>(); - - late final _sel_fileURLWithPathComponents_1 = objc.registerName( - "fileURLWithPathComponents:", - ); - ffi.Pointer _objc_msgSend_256( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer components, - ) { - return __objc_msgSend_256(obj, sel, components); - } - - late final __objc_msgSend_256Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_256 = __objc_msgSend_256Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_pathComponents1 = objc.registerName("pathComponents"); - late final _sel_lastPathComponent1 = objc.registerName("lastPathComponent"); - late final _sel_pathExtension1 = objc.registerName("pathExtension"); - late final _sel_URLByAppendingPathComponent_1 = objc.registerName( - "URLByAppendingPathComponent:", - ); - ffi.Pointer _objc_msgSend_257( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer pathComponent, - ) { - return __objc_msgSend_257(obj, sel, pathComponent); - } - - late final __objc_msgSend_257Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_257 = __objc_msgSend_257Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_URLByAppendingPathComponent_isDirectory_1 = objc.registerName( - "URLByAppendingPathComponent:isDirectory:", - ); - ffi.Pointer _objc_msgSend_258( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer pathComponent, - bool isDirectory, - ) { - return __objc_msgSend_258(obj, sel, pathComponent, isDirectory); - } - - late final __objc_msgSend_258Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - )>>('objc_msgSend'); - late final __objc_msgSend_258 = __objc_msgSend_258Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - )>(); - - late final _sel_URLByDeletingLastPathComponent1 = objc.registerName( - "URLByDeletingLastPathComponent", - ); - late final _sel_URLByAppendingPathExtension_1 = objc.registerName( - "URLByAppendingPathExtension:", - ); - late final _sel_URLByDeletingPathExtension1 = objc.registerName( - "URLByDeletingPathExtension", - ); - late final _sel_checkResourceIsReachableAndReturnError_1 = objc.registerName( - "checkResourceIsReachableAndReturnError:", - ); - late final _sel_URLByStandardizingPath1 = objc.registerName( - "URLByStandardizingPath", - ); - late final _sel_URLByResolvingSymlinksInPath1 = objc.registerName( - "URLByResolvingSymlinksInPath", - ); - late final _sel_resourceDataUsingCache_1 = objc.registerName( - "resourceDataUsingCache:", - ); - ffi.Pointer _objc_msgSend_259( - ffi.Pointer obj, - ffi.Pointer sel, - bool shouldUseCache, - ) { - return __objc_msgSend_259(obj, sel, shouldUseCache); - } - - late final __objc_msgSend_259Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - )>>('objc_msgSend'); - late final __objc_msgSend_259 = __objc_msgSend_259Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - bool, - )>(); - - late final _sel_loadResourceDataNotifyingClient_usingCache_1 = - objc.registerName("loadResourceDataNotifyingClient:usingCache:"); - void _objc_msgSend_260( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer client, - bool shouldUseCache, - ) { - return __objc_msgSend_260(obj, sel, client, shouldUseCache); - } - - late final __objc_msgSend_260Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - )>>('objc_msgSend'); - late final __objc_msgSend_260 = __objc_msgSend_260Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - )>(); - - late final _sel_propertyForKey_1 = objc.registerName("propertyForKey:"); - late final _sel_setResourceData_1 = objc.registerName("setResourceData:"); - late final _sel_setProperty_forKey_1 = objc.registerName( - "setProperty:forKey:", - ); - bool _objc_msgSend_261( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer property, - ffi.Pointer propertyKey, - ) { - return __objc_msgSend_261(obj, sel, property, propertyKey); - } - - late final __objc_msgSend_261Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_261 = __objc_msgSend_261Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _class_NSURLHandle1 = objc.getClass("NSURLHandle"); - late final _sel_registerURLHandleClass_1 = objc.registerName( - "registerURLHandleClass:", - ); - late final _sel_URLHandleClassForURL_1 = objc.registerName( - "URLHandleClassForURL:", - ); - ffi.Pointer _objc_msgSend_262( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer anURL, - ) { - return __objc_msgSend_262(obj, sel, anURL); - } - - late final __objc_msgSend_262Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_262 = __objc_msgSend_262Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_status1 = objc.registerName("status"); - int _objc_msgSend_263( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_263(obj, sel); - } - - late final __objc_msgSend_263Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_263 = __objc_msgSend_263Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_failureReason1 = objc.registerName("failureReason"); - late final _sel_addClient_1 = objc.registerName("addClient:"); - late final _sel_removeClient_1 = objc.registerName("removeClient:"); - late final _sel_loadInBackground1 = objc.registerName("loadInBackground"); - late final _sel_cancelLoadInBackground1 = objc.registerName( - "cancelLoadInBackground", - ); - late final _sel_resourceData1 = objc.registerName("resourceData"); - late final _sel_availableResourceData1 = objc.registerName( - "availableResourceData", - ); - late final _sel_expectedResourceDataSize1 = objc.registerName( - "expectedResourceDataSize", - ); - late final _sel_flushCachedData1 = objc.registerName("flushCachedData"); - late final _sel_backgroundLoadDidFailWithReason_1 = objc.registerName( - "backgroundLoadDidFailWithReason:", - ); - late final _sel_didLoadBytes_loadComplete_1 = objc.registerName( - "didLoadBytes:loadComplete:", - ); - void _objc_msgSend_264( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer newBytes, - bool yorn, - ) { - return __objc_msgSend_264(obj, sel, newBytes, yorn); - } - - late final __objc_msgSend_264Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - )>>('objc_msgSend'); - late final __objc_msgSend_264 = __objc_msgSend_264Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - )>(); - - late final _sel_canInitWithURL_1 = objc.registerName("canInitWithURL:"); - bool _objc_msgSend_265( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer anURL, - ) { - return __objc_msgSend_265(obj, sel, anURL); - } - - late final __objc_msgSend_265Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_265 = __objc_msgSend_265Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_cachedHandleForURL_1 = objc.registerName( - "cachedHandleForURL:", - ); - ffi.Pointer _objc_msgSend_266( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer anURL, - ) { - return __objc_msgSend_266(obj, sel, anURL); - } - - late final __objc_msgSend_266Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_266 = __objc_msgSend_266Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_initWithURL_cached_1 = objc.registerName( - "initWithURL:cached:", - ); - ffi.Pointer _objc_msgSend_267( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer anURL, - bool willCache, - ) { - return __objc_msgSend_267(obj, sel, anURL, willCache); - } - - late final __objc_msgSend_267Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - )>>('objc_msgSend'); - late final __objc_msgSend_267 = __objc_msgSend_267Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - )>(); - - late final _sel_propertyForKeyIfAvailable_1 = objc.registerName( - "propertyForKeyIfAvailable:", - ); - late final _sel_writeProperty_forKey_1 = objc.registerName( - "writeProperty:forKey:", - ); - late final _sel_writeData_1 = objc.registerName("writeData:"); - late final _sel_loadInForeground1 = objc.registerName("loadInForeground"); - late final _sel_beginLoadInBackground1 = objc.registerName( - "beginLoadInBackground", - ); - late final _sel_endLoadInBackground1 = objc.registerName( - "endLoadInBackground", - ); - late final _sel_URLHandleUsingCache_1 = objc.registerName( - "URLHandleUsingCache:", - ); - ffi.Pointer _objc_msgSend_268( - ffi.Pointer obj, - ffi.Pointer sel, - bool shouldUseCache, - ) { - return __objc_msgSend_268(obj, sel, shouldUseCache); - } - - late final __objc_msgSend_268Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - )>>('objc_msgSend'); - late final __objc_msgSend_268 = __objc_msgSend_268Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - bool, - )>(); - - late final _sel_writeToFile_options_error_1 = objc.registerName( - "writeToFile:options:error:", - ); - bool _objc_msgSend_269( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, - int writeOptionsMask, - ffi.Pointer> errorPtr, - ) { - return __objc_msgSend_269(obj, sel, path, writeOptionsMask, errorPtr); - } - - late final __objc_msgSend_269Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_269 = __objc_msgSend_269Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>, - )>(); - - late final _sel_writeToURL_options_error_1 = objc.registerName( - "writeToURL:options:error:", - ); - bool _objc_msgSend_270( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, - int writeOptionsMask, - ffi.Pointer> errorPtr, - ) { - return __objc_msgSend_270(obj, sel, url, writeOptionsMask, errorPtr); - } - - late final __objc_msgSend_270Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_270 = __objc_msgSend_270Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>, - )>(); - - late final _sel_rangeOfData_options_range_1 = objc.registerName( - "rangeOfData:options:range:", - ); - _NSRange _objc_msgSend_271( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer dataToFind, - int mask, - _NSRange searchRange, - ) { - return __objc_msgSend_271(obj, sel, dataToFind, mask, searchRange); - } - - late final __objc_msgSend_271Ptr = _lookup< - ffi.NativeFunction< - _NSRange Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - _NSRange, - )>>('objc_msgSend'); - late final __objc_msgSend_271 = __objc_msgSend_271Ptr.asFunction< - _NSRange Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - _NSRange, - )>(); - - void _objc_msgSend_271_stret( - ffi.Pointer<_NSRange> stret, - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer dataToFind, - int mask, - _NSRange searchRange, - ) { - return __objc_msgSend_271_stret( - stret, - obj, - sel, - dataToFind, - mask, - searchRange, - ); - } - - late final __objc_msgSend_271_stretPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer<_NSRange>, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - _NSRange, - )>>('objc_msgSend_stret'); - late final __objc_msgSend_271_stret = __objc_msgSend_271_stretPtr.asFunction< - void Function( - ffi.Pointer<_NSRange>, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - _NSRange, - )>(); - - late final _sel_enumerateByteRangesUsingBlock_1 = objc.registerName( - "enumerateByteRangesUsingBlock:", - ); - void _objc_msgSend_272( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer block, - ) { - return __objc_msgSend_272(obj, sel, block); - } - - late final __objc_msgSend_272Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_272 = __objc_msgSend_272Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_dataWithBytes_length_1 = objc.registerName( - "dataWithBytes:length:", - ); - instancetype _objc_msgSend_273( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer bytes, - int length, - ) { - return __objc_msgSend_273(obj, sel, bytes, length); - } - - late final __objc_msgSend_273Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - )>>('objc_msgSend'); - late final __objc_msgSend_273 = __objc_msgSend_273Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_dataWithBytesNoCopy_length_1 = objc.registerName( - "dataWithBytesNoCopy:length:", - ); - late final _sel_dataWithBytesNoCopy_length_freeWhenDone_1 = objc.registerName( - "dataWithBytesNoCopy:length:freeWhenDone:", - ); - instancetype _objc_msgSend_274( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer bytes, - int length, - bool b, - ) { - return __objc_msgSend_274(obj, sel, bytes, length, b); - } - - late final __objc_msgSend_274Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ffi.Bool, - )>>('objc_msgSend'); - late final __objc_msgSend_274 = __objc_msgSend_274Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - bool, - )>(); - - late final _sel_dataWithContentsOfFile_options_error_1 = objc.registerName( - "dataWithContentsOfFile:options:error:", - ); - instancetype _objc_msgSend_275( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, - int readOptionsMask, - ffi.Pointer> errorPtr, - ) { - return __objc_msgSend_275(obj, sel, path, readOptionsMask, errorPtr); - } - - late final __objc_msgSend_275Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_275 = __objc_msgSend_275Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>, - )>(); - - late final _sel_dataWithContentsOfURL_options_error_1 = objc.registerName( - "dataWithContentsOfURL:options:error:", - ); - instancetype _objc_msgSend_276( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, - int readOptionsMask, - ffi.Pointer> errorPtr, - ) { - return __objc_msgSend_276(obj, sel, url, readOptionsMask, errorPtr); - } - - late final __objc_msgSend_276Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_276 = __objc_msgSend_276Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>, - )>(); - - late final _sel_dataWithContentsOfFile_1 = objc.registerName( - "dataWithContentsOfFile:", - ); - late final _sel_dataWithContentsOfURL_1 = objc.registerName( - "dataWithContentsOfURL:", - ); - instancetype _objc_msgSend_277( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, - ) { - return __objc_msgSend_277(obj, sel, url); - } - - late final __objc_msgSend_277Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_277 = __objc_msgSend_277Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_initWithBytes_length_1 = objc.registerName( - "initWithBytes:length:", - ); - late final _sel_initWithBytesNoCopy_length_1 = objc.registerName( - "initWithBytesNoCopy:length:", - ); - late final _sel_initWithBytesNoCopy_length_freeWhenDone_1 = objc.registerName( - "initWithBytesNoCopy:length:freeWhenDone:", - ); - late final _sel_initWithBytesNoCopy_length_deallocator_1 = objc.registerName( - "initWithBytesNoCopy:length:deallocator:", - ); - instancetype _objc_msgSend_278( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer bytes, - int length, - ffi.Pointer deallocator, - ) { - return __objc_msgSend_278(obj, sel, bytes, length, deallocator); - } - - late final __objc_msgSend_278Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_278 = __objc_msgSend_278Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - )>(); - - late final _sel_initWithContentsOfFile_options_error_1 = objc.registerName( - "initWithContentsOfFile:options:error:", - ); - late final _sel_initWithContentsOfURL_options_error_1 = objc.registerName( - "initWithContentsOfURL:options:error:", - ); - late final _sel_initWithData_1 = objc.registerName("initWithData:"); - instancetype _objc_msgSend_279( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer data, - ) { - return __objc_msgSend_279(obj, sel, data); - } - - late final __objc_msgSend_279Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_279 = __objc_msgSend_279Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_dataWithData_1 = objc.registerName("dataWithData:"); - late final _sel_initWithBase64EncodedString_options_1 = objc.registerName( - "initWithBase64EncodedString:options:", - ); - instancetype _objc_msgSend_280( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer base64String, - int options, - ) { - return __objc_msgSend_280(obj, sel, base64String, options); - } - - late final __objc_msgSend_280Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - )>>('objc_msgSend'); - late final __objc_msgSend_280 = __objc_msgSend_280Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_base64EncodedStringWithOptions_1 = objc.registerName( - "base64EncodedStringWithOptions:", - ); - ffi.Pointer _objc_msgSend_281( - ffi.Pointer obj, - ffi.Pointer sel, - int options, - ) { - return __objc_msgSend_281(obj, sel, options); - } - - late final __objc_msgSend_281Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - )>>('objc_msgSend'); - late final __objc_msgSend_281 = __objc_msgSend_281Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_initWithBase64EncodedData_options_1 = objc.registerName( - "initWithBase64EncodedData:options:", - ); - instancetype _objc_msgSend_282( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer base64Data, - int options, - ) { - return __objc_msgSend_282(obj, sel, base64Data, options); - } - - late final __objc_msgSend_282Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - )>>('objc_msgSend'); - late final __objc_msgSend_282 = __objc_msgSend_282Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_base64EncodedDataWithOptions_1 = objc.registerName( - "base64EncodedDataWithOptions:", - ); - ffi.Pointer _objc_msgSend_283( - ffi.Pointer obj, - ffi.Pointer sel, - int options, - ) { - return __objc_msgSend_283(obj, sel, options); - } - - late final __objc_msgSend_283Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - )>>('objc_msgSend'); - late final __objc_msgSend_283 = __objc_msgSend_283Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_decompressedDataUsingAlgorithm_error_1 = objc.registerName( - "decompressedDataUsingAlgorithm:error:", - ); - instancetype _objc_msgSend_284( - ffi.Pointer obj, - ffi.Pointer sel, - int algorithm, - ffi.Pointer> error, - ) { - return __objc_msgSend_284(obj, sel, algorithm, error); - } - - late final __objc_msgSend_284Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_284 = __objc_msgSend_284Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>, - )>(); - - late final _sel_compressedDataUsingAlgorithm_error_1 = objc.registerName( - "compressedDataUsingAlgorithm:error:", - ); - late final _sel_getBytes_1 = objc.registerName("getBytes:"); - late final _sel_dataWithContentsOfMappedFile_1 = objc.registerName( - "dataWithContentsOfMappedFile:", - ); - late final _sel_initWithContentsOfMappedFile_1 = objc.registerName( - "initWithContentsOfMappedFile:", - ); - late final _sel_initWithBase64Encoding_1 = objc.registerName( - "initWithBase64Encoding:", - ); - late final _sel_base64Encoding1 = objc.registerName("base64Encoding"); - late final _sel_encodeDataObject_1 = objc.registerName("encodeDataObject:"); - void _objc_msgSend_285( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer data, - ) { - return __objc_msgSend_285(obj, sel, data); - } - - late final __objc_msgSend_285Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_285 = __objc_msgSend_285Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_decodeDataObject1 = objc.registerName("decodeDataObject"); - ffi.Pointer _objc_msgSend_286( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_286(obj, sel); - } - - late final __objc_msgSend_286Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_286 = __objc_msgSend_286Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_decodeValueOfObjCType_at_size_1 = objc.registerName( - "decodeValueOfObjCType:at:size:", - ); - void _objc_msgSend_287( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer type, - ffi.Pointer data, - int size, - ) { - return __objc_msgSend_287(obj, sel, type, data, size); - } - - late final __objc_msgSend_287Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - )>>('objc_msgSend'); - late final __objc_msgSend_287 = __objc_msgSend_287Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_versionForClassName_1 = objc.registerName( - "versionForClassName:", - ); - int _objc_msgSend_288( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer className, - ) { - return __objc_msgSend_288(obj, sel, className); - } - - late final __objc_msgSend_288Ptr = _lookup< - ffi.NativeFunction< - ffi.Long Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_288 = __objc_msgSend_288Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_encodeObject_1 = objc.registerName("encodeObject:"); - void _objc_msgSend_289( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer object, - ) { - return __objc_msgSend_289(obj, sel, object); - } - - late final __objc_msgSend_289Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_289 = __objc_msgSend_289Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_encodeRootObject_1 = objc.registerName("encodeRootObject:"); - late final _sel_encodeBycopyObject_1 = objc.registerName( - "encodeBycopyObject:", - ); - late final _sel_encodeByrefObject_1 = objc.registerName("encodeByrefObject:"); - late final _sel_encodeConditionalObject_1 = objc.registerName( - "encodeConditionalObject:", - ); - late final _sel_encodeValuesOfObjCTypes_1 = objc.registerName( - "encodeValuesOfObjCTypes:", - ); - void _objc_msgSend_290( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer types, - ) { - return __objc_msgSend_290(obj, sel, types); - } - - late final __objc_msgSend_290Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_290 = __objc_msgSend_290Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_encodeArrayOfObjCType_count_at_1 = objc.registerName( - "encodeArrayOfObjCType:count:at:", - ); - void _objc_msgSend_291( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer type, - int count, - ffi.Pointer array, - ) { - return __objc_msgSend_291(obj, sel, type, count, array); - } - - late final __objc_msgSend_291Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_291 = __objc_msgSend_291Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - )>(); - - late final _sel_encodeBytes_length_1 = objc.registerName( - "encodeBytes:length:", - ); - late final _sel_decodeObject1 = objc.registerName("decodeObject"); - late final _sel_decodeTopLevelObjectAndReturnError_1 = objc.registerName( - "decodeTopLevelObjectAndReturnError:", - ); - ffi.Pointer _objc_msgSend_292( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer> error, - ) { - return __objc_msgSend_292(obj, sel, error); - } - - late final __objc_msgSend_292Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_292 = __objc_msgSend_292Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>(); - - late final _sel_decodeValuesOfObjCTypes_1 = objc.registerName( - "decodeValuesOfObjCTypes:", - ); - late final _sel_decodeArrayOfObjCType_count_at_1 = objc.registerName( - "decodeArrayOfObjCType:count:at:", - ); - late final _sel_decodeBytesWithReturnedLength_1 = objc.registerName( - "decodeBytesWithReturnedLength:", - ); - ffi.Pointer _objc_msgSend_293( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer lengthp, - ) { - return __objc_msgSend_293(obj, sel, lengthp); - } - - late final __objc_msgSend_293Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_293 = __objc_msgSend_293Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_encodePropertyList_1 = objc.registerName( - "encodePropertyList:", - ); - late final _sel_decodePropertyList1 = objc.registerName("decodePropertyList"); - late final _sel_setObjectZone_1 = objc.registerName("setObjectZone:"); - void _objc_msgSend_294( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer<_NSZone> zone, - ) { - return __objc_msgSend_294(obj, sel, zone); - } - - late final __objc_msgSend_294Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_NSZone>, - )>>('objc_msgSend'); - late final __objc_msgSend_294 = __objc_msgSend_294Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_NSZone>, - )>(); - - late final _sel_objectZone1 = objc.registerName("objectZone"); - ffi.Pointer<_NSZone> _objc_msgSend_295( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_295(obj, sel); - } - - late final __objc_msgSend_295Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer<_NSZone> Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_295 = __objc_msgSend_295Ptr.asFunction< - ffi.Pointer<_NSZone> Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_systemVersion1 = objc.registerName("systemVersion"); - late final _sel_allowsKeyedCoding1 = objc.registerName("allowsKeyedCoding"); - late final _sel_encodeObject_forKey_1 = objc.registerName( - "encodeObject:forKey:", - ); - late final _sel_encodeConditionalObject_forKey_1 = objc.registerName( - "encodeConditionalObject:forKey:", - ); - late final _sel_encodeBool_forKey_1 = objc.registerName("encodeBool:forKey:"); - void _objc_msgSend_296( - ffi.Pointer obj, - ffi.Pointer sel, - bool value, - ffi.Pointer key, - ) { - return __objc_msgSend_296(obj, sel, value, key); - } - - late final __objc_msgSend_296Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_296 = __objc_msgSend_296Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - bool, - ffi.Pointer, - )>(); - - late final _sel_encodeInt_forKey_1 = objc.registerName("encodeInt:forKey:"); - void _objc_msgSend_297( - ffi.Pointer obj, - ffi.Pointer sel, - int value, - ffi.Pointer key, - ) { - return __objc_msgSend_297(obj, sel, value, key); - } - - late final __objc_msgSend_297Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_297 = __objc_msgSend_297Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - )>(); - - late final _sel_encodeInt32_forKey_1 = objc.registerName( - "encodeInt32:forKey:", - ); - void _objc_msgSend_298( - ffi.Pointer obj, - ffi.Pointer sel, - int value, - ffi.Pointer key, - ) { - return __objc_msgSend_298(obj, sel, value, key); - } - - late final __objc_msgSend_298Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_298 = __objc_msgSend_298Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - )>(); - - late final _sel_encodeInt64_forKey_1 = objc.registerName( - "encodeInt64:forKey:", - ); - void _objc_msgSend_299( - ffi.Pointer obj, - ffi.Pointer sel, - int value, - ffi.Pointer key, - ) { - return __objc_msgSend_299(obj, sel, value, key); - } - - late final __objc_msgSend_299Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int64, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_299 = __objc_msgSend_299Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - )>(); - - late final _sel_encodeFloat_forKey_1 = objc.registerName( - "encodeFloat:forKey:", - ); - void _objc_msgSend_300( - ffi.Pointer obj, - ffi.Pointer sel, - double value, - ffi.Pointer key, - ) { - return __objc_msgSend_300(obj, sel, value, key); - } - - late final __objc_msgSend_300Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Float, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_300 = __objc_msgSend_300Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - double, - ffi.Pointer, - )>(); - - late final _sel_encodeDouble_forKey_1 = objc.registerName( - "encodeDouble:forKey:", - ); - void _objc_msgSend_301( - ffi.Pointer obj, - ffi.Pointer sel, - double value, - ffi.Pointer key, - ) { - return __objc_msgSend_301(obj, sel, value, key); - } - - late final __objc_msgSend_301Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Double, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_301 = __objc_msgSend_301Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - double, - ffi.Pointer, - )>(); - - late final _sel_encodeBytes_length_forKey_1 = objc.registerName( - "encodeBytes:length:forKey:", - ); - void _objc_msgSend_302( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer bytes, - int length, - ffi.Pointer key, - ) { - return __objc_msgSend_302(obj, sel, bytes, length, key); - } - - late final __objc_msgSend_302Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_302 = __objc_msgSend_302Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - )>(); - - late final _sel_containsValueForKey_1 = objc.registerName( - "containsValueForKey:", - ); - late final _sel_decodeObjectForKey_1 = objc.registerName( - "decodeObjectForKey:", - ); - late final _sel_decodeTopLevelObjectForKey_error_1 = objc.registerName( - "decodeTopLevelObjectForKey:error:", - ); - ffi.Pointer _objc_msgSend_303( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer key, - ffi.Pointer> error, - ) { - return __objc_msgSend_303(obj, sel, key, error); - } - - late final __objc_msgSend_303Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_303 = __objc_msgSend_303Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>(); - - late final _sel_decodeBoolForKey_1 = objc.registerName("decodeBoolForKey:"); - late final _sel_decodeIntForKey_1 = objc.registerName("decodeIntForKey:"); - int _objc_msgSend_304( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer key, - ) { - return __objc_msgSend_304(obj, sel, key); - } - - late final __objc_msgSend_304Ptr = _lookup< - ffi.NativeFunction< - ffi.Int Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_304 = __objc_msgSend_304Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_decodeInt32ForKey_1 = objc.registerName("decodeInt32ForKey:"); - int _objc_msgSend_305( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer key, - ) { - return __objc_msgSend_305(obj, sel, key); - } - - late final __objc_msgSend_305Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_305 = __objc_msgSend_305Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_decodeInt64ForKey_1 = objc.registerName("decodeInt64ForKey:"); - int _objc_msgSend_306( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer key, - ) { - return __objc_msgSend_306(obj, sel, key); - } - - late final __objc_msgSend_306Ptr = _lookup< - ffi.NativeFunction< - ffi.Int64 Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_306 = __objc_msgSend_306Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_decodeFloatForKey_1 = objc.registerName("decodeFloatForKey:"); - double _objc_msgSend_307( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer key, - ) { - return __objc_msgSend_307(obj, sel, key); - } - - late final __objc_msgSend_307Ptr = _lookup< - ffi.NativeFunction< - ffi.Float Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_307 = __objc_msgSend_307Ptr.asFunction< - double Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - double _objc_msgSend_307_fpret( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer key, - ) { - return __objc_msgSend_307_fpret(obj, sel, key); - } - - late final __objc_msgSend_307_fpretPtr = _lookup< - ffi.NativeFunction< - ffi.Float Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend_fpret'); - late final __objc_msgSend_307_fpret = __objc_msgSend_307_fpretPtr.asFunction< - double Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_decodeDoubleForKey_1 = objc.registerName( - "decodeDoubleForKey:", - ); - double _objc_msgSend_308( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer key, - ) { - return __objc_msgSend_308(obj, sel, key); - } - - late final __objc_msgSend_308Ptr = _lookup< - ffi.NativeFunction< - ffi.Double Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_308 = __objc_msgSend_308Ptr.asFunction< - double Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - double _objc_msgSend_308_fpret( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer key, - ) { - return __objc_msgSend_308_fpret(obj, sel, key); - } - - late final __objc_msgSend_308_fpretPtr = _lookup< - ffi.NativeFunction< - ffi.Double Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend_fpret'); - late final __objc_msgSend_308_fpret = __objc_msgSend_308_fpretPtr.asFunction< - double Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_decodeBytesForKey_returnedLength_1 = objc.registerName( - "decodeBytesForKey:returnedLength:", - ); - ffi.Pointer _objc_msgSend_309( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer key, - ffi.Pointer lengthp, - ) { - return __objc_msgSend_309(obj, sel, key, lengthp); - } - - late final __objc_msgSend_309Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_309 = __objc_msgSend_309Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_encodeInteger_forKey_1 = objc.registerName( - "encodeInteger:forKey:", - ); - void _objc_msgSend_310( - ffi.Pointer obj, - ffi.Pointer sel, - int value, - ffi.Pointer key, - ) { - return __objc_msgSend_310(obj, sel, value, key); - } - - late final __objc_msgSend_310Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Long, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_310 = __objc_msgSend_310Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - )>(); - - late final _sel_decodeIntegerForKey_1 = objc.registerName( - "decodeIntegerForKey:", - ); - late final _sel_requiresSecureCoding1 = objc.registerName( - "requiresSecureCoding", - ); - late final _sel_decodeObjectOfClass_forKey_1 = objc.registerName( - "decodeObjectOfClass:forKey:", - ); - ffi.Pointer _objc_msgSend_311( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aClass, - ffi.Pointer key, - ) { - return __objc_msgSend_311(obj, sel, aClass, key); - } - - late final __objc_msgSend_311Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_311 = __objc_msgSend_311Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_decodeTopLevelObjectOfClass_forKey_error_1 = - objc.registerName("decodeTopLevelObjectOfClass:forKey:error:"); - ffi.Pointer _objc_msgSend_312( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aClass, - ffi.Pointer key, - ffi.Pointer> error, - ) { - return __objc_msgSend_312(obj, sel, aClass, key, error); - } - - late final __objc_msgSend_312Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_312 = __objc_msgSend_312Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>(); - - late final _sel_decodeArrayOfObjectsOfClass_forKey_1 = objc.registerName( - "decodeArrayOfObjectsOfClass:forKey:", - ); - ffi.Pointer _objc_msgSend_313( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer cls, - ffi.Pointer key, - ) { - return __objc_msgSend_313(obj, sel, cls, key); - } - - late final __objc_msgSend_313Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_313 = __objc_msgSend_313Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_decodeDictionaryWithKeysOfClass_objectsOfClass_forKey_1 = objc - .registerName("decodeDictionaryWithKeysOfClass:objectsOfClass:forKey:"); - ffi.Pointer _objc_msgSend_314( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer keyCls, - ffi.Pointer objectCls, - ffi.Pointer key, - ) { - return __objc_msgSend_314(obj, sel, keyCls, objectCls, key); - } - - late final __objc_msgSend_314Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_314 = __objc_msgSend_314Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_decodeObjectOfClasses_forKey_1 = objc.registerName( - "decodeObjectOfClasses:forKey:", - ); - ffi.Pointer _objc_msgSend_315( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer classes, - ffi.Pointer key, - ) { - return __objc_msgSend_315(obj, sel, classes, key); - } - - late final __objc_msgSend_315Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_315 = __objc_msgSend_315Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_decodeTopLevelObjectOfClasses_forKey_error_1 = - objc.registerName("decodeTopLevelObjectOfClasses:forKey:error:"); - ffi.Pointer _objc_msgSend_316( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer classes, - ffi.Pointer key, - ffi.Pointer> error, - ) { - return __objc_msgSend_316(obj, sel, classes, key, error); - } - - late final __objc_msgSend_316Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_316 = __objc_msgSend_316Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>(); - - late final _sel_decodeArrayOfObjectsOfClasses_forKey_1 = objc.registerName( - "decodeArrayOfObjectsOfClasses:forKey:", - ); - ffi.Pointer _objc_msgSend_317( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer classes, - ffi.Pointer key, - ) { - return __objc_msgSend_317(obj, sel, classes, key); - } - - late final __objc_msgSend_317Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_317 = __objc_msgSend_317Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_decodeDictionaryWithKeysOfClasses_objectsOfClasses_forKey_1 = - objc.registerName( - "decodeDictionaryWithKeysOfClasses:objectsOfClasses:forKey:", - ); - ffi.Pointer _objc_msgSend_318( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer keyClasses, - ffi.Pointer objectClasses, - ffi.Pointer key, - ) { - return __objc_msgSend_318(obj, sel, keyClasses, objectClasses, key); - } - - late final __objc_msgSend_318Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_318 = __objc_msgSend_318Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_decodePropertyListForKey_1 = objc.registerName( - "decodePropertyListForKey:", - ); - late final _sel_allowedClasses1 = objc.registerName("allowedClasses"); - ffi.Pointer _objc_msgSend_319( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_319(obj, sel); - } - - late final __objc_msgSend_319Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_319 = __objc_msgSend_319Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_failWithError_1 = objc.registerName("failWithError:"); - void _objc_msgSend_320( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer error, - ) { - return __objc_msgSend_320(obj, sel, error); - } - - late final __objc_msgSend_320Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_320 = __objc_msgSend_320Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_decodingFailurePolicy1 = objc.registerName( - "decodingFailurePolicy", - ); - int _objc_msgSend_321( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_321(obj, sel); - } - - late final __objc_msgSend_321Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_321 = __objc_msgSend_321Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_error1 = objc.registerName("error"); - ffi.Pointer _objc_msgSend_322( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_322(obj, sel); - } - - late final __objc_msgSend_322Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_322 = __objc_msgSend_322Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_encodeNXObject_1 = objc.registerName("encodeNXObject:"); - late final _sel_decodeNXObject1 = objc.registerName("decodeNXObject"); - late final _sel_decodeValueOfObjCType_at_1 = objc.registerName( - "decodeValueOfObjCType:at:", - ); - late final _sel_encodePoint_1 = objc.registerName("encodePoint:"); - void _objc_msgSend_323( - ffi.Pointer obj, - ffi.Pointer sel, - CGPoint point, - ) { - return __objc_msgSend_323(obj, sel, point); - } - - late final __objc_msgSend_323Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - CGPoint, - )>>('objc_msgSend'); - late final __objc_msgSend_323 = __objc_msgSend_323Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - CGPoint, - )>(); - - late final _sel_decodePoint1 = objc.registerName("decodePoint"); - late final _sel_encodeSize_1 = objc.registerName("encodeSize:"); - void _objc_msgSend_324( - ffi.Pointer obj, - ffi.Pointer sel, - CGSize size, - ) { - return __objc_msgSend_324(obj, sel, size); - } - - late final __objc_msgSend_324Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - CGSize, - )>>('objc_msgSend'); - late final __objc_msgSend_324 = __objc_msgSend_324Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - CGSize, - )>(); - - late final _sel_decodeSize1 = objc.registerName("decodeSize"); - late final _sel_encodeRect_1 = objc.registerName("encodeRect:"); - void _objc_msgSend_325( - ffi.Pointer obj, - ffi.Pointer sel, - CGRect rect, - ) { - return __objc_msgSend_325(obj, sel, rect); - } - - late final __objc_msgSend_325Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - CGRect, - )>>('objc_msgSend'); - late final __objc_msgSend_325 = __objc_msgSend_325Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - CGRect, - )>(); - - late final _sel_decodeRect1 = objc.registerName("decodeRect"); - late final _sel_encodePoint_forKey_1 = objc.registerName( - "encodePoint:forKey:", - ); - void _objc_msgSend_326( - ffi.Pointer obj, - ffi.Pointer sel, - CGPoint point, - ffi.Pointer key, - ) { - return __objc_msgSend_326(obj, sel, point, key); - } - - late final __objc_msgSend_326Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - CGPoint, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_326 = __objc_msgSend_326Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - CGPoint, - ffi.Pointer, - )>(); - - late final _sel_encodeSize_forKey_1 = objc.registerName("encodeSize:forKey:"); - void _objc_msgSend_327( - ffi.Pointer obj, - ffi.Pointer sel, - CGSize size, - ffi.Pointer key, - ) { - return __objc_msgSend_327(obj, sel, size, key); - } - - late final __objc_msgSend_327Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - CGSize, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_327 = __objc_msgSend_327Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - CGSize, - ffi.Pointer, - )>(); - - late final _sel_encodeRect_forKey_1 = objc.registerName("encodeRect:forKey:"); - void _objc_msgSend_328( - ffi.Pointer obj, - ffi.Pointer sel, - CGRect rect, - ffi.Pointer key, - ) { - return __objc_msgSend_328(obj, sel, rect, key); - } - - late final __objc_msgSend_328Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - CGRect, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_328 = __objc_msgSend_328Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - CGRect, - ffi.Pointer, - )>(); - - late final _sel_decodePointForKey_1 = objc.registerName("decodePointForKey:"); - CGPoint _objc_msgSend_329( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer key, - ) { - return __objc_msgSend_329(obj, sel, key); - } - - late final __objc_msgSend_329Ptr = _lookup< - ffi.NativeFunction< - CGPoint Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_329 = __objc_msgSend_329Ptr.asFunction< - CGPoint Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - void _objc_msgSend_329_stret( - ffi.Pointer stret, - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer key, - ) { - return __objc_msgSend_329_stret(stret, obj, sel, key); - } - - late final __objc_msgSend_329_stretPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend_stret'); - late final __objc_msgSend_329_stret = __objc_msgSend_329_stretPtr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_decodeSizeForKey_1 = objc.registerName("decodeSizeForKey:"); - CGSize _objc_msgSend_330( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer key, - ) { - return __objc_msgSend_330(obj, sel, key); - } - - late final __objc_msgSend_330Ptr = _lookup< - ffi.NativeFunction< - CGSize Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_330 = __objc_msgSend_330Ptr.asFunction< - CGSize Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - void _objc_msgSend_330_stret( - ffi.Pointer stret, - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer key, - ) { - return __objc_msgSend_330_stret(stret, obj, sel, key); - } - - late final __objc_msgSend_330_stretPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend_stret'); - late final __objc_msgSend_330_stret = __objc_msgSend_330_stretPtr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_decodeRectForKey_1 = objc.registerName("decodeRectForKey:"); - CGRect _objc_msgSend_331( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer key, - ) { - return __objc_msgSend_331(obj, sel, key); - } - - late final __objc_msgSend_331Ptr = _lookup< - ffi.NativeFunction< - CGRect Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_331 = __objc_msgSend_331Ptr.asFunction< - CGRect Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - void _objc_msgSend_331_stret( - ffi.Pointer stret, - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer key, - ) { - return __objc_msgSend_331_stret(stret, obj, sel, key); - } - - late final __objc_msgSend_331_stretPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend_stret'); - late final __objc_msgSend_331_stret = __objc_msgSend_331_stretPtr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_substringFromIndex_1 = objc.registerName( - "substringFromIndex:", - ); - ffi.Pointer _objc_msgSend_332( - ffi.Pointer obj, - ffi.Pointer sel, - int from, - ) { - return __objc_msgSend_332(obj, sel, from); - } - - late final __objc_msgSend_332Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - )>>('objc_msgSend'); - late final __objc_msgSend_332 = __objc_msgSend_332Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_substringToIndex_1 = objc.registerName("substringToIndex:"); - late final _sel_substringWithRange_1 = objc.registerName( - "substringWithRange:", - ); - ffi.Pointer _objc_msgSend_333( - ffi.Pointer obj, - ffi.Pointer sel, - _NSRange range, - ) { - return __objc_msgSend_333(obj, sel, range); - } - - late final __objc_msgSend_333Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - )>>('objc_msgSend'); - late final __objc_msgSend_333 = __objc_msgSend_333Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - )>(); - - late final _sel_getCharacters_range_1 = objc.registerName( - "getCharacters:range:", - ); - void _objc_msgSend_334( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer buffer, - _NSRange range, - ) { - return __objc_msgSend_334(obj, sel, buffer, range); - } - - late final __objc_msgSend_334Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - _NSRange, - )>>('objc_msgSend'); - late final __objc_msgSend_334 = __objc_msgSend_334Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - _NSRange, - )>(); - - int _objc_msgSend_335( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer string, - ) { - return __objc_msgSend_335(obj, sel, string); - } - - late final __objc_msgSend_335Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_335 = __objc_msgSend_335Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_compare_options_1 = objc.registerName("compare:options:"); - int _objc_msgSend_336( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer string, - int mask, - ) { - return __objc_msgSend_336(obj, sel, string, mask); - } - - late final __objc_msgSend_336Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - )>>('objc_msgSend'); - late final __objc_msgSend_336 = __objc_msgSend_336Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_compare_options_range_1 = objc.registerName( - "compare:options:range:", - ); - int _objc_msgSend_337( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer string, - int mask, - _NSRange rangeOfReceiverToCompare, - ) { - return __objc_msgSend_337(obj, sel, string, mask, rangeOfReceiverToCompare); - } - - late final __objc_msgSend_337Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - _NSRange, - )>>('objc_msgSend'); - late final __objc_msgSend_337 = __objc_msgSend_337Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - _NSRange, - )>(); - - late final _sel_compare_options_range_locale_1 = objc.registerName( - "compare:options:range:locale:", - ); - int _objc_msgSend_338( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer string, - int mask, - _NSRange rangeOfReceiverToCompare, - ffi.Pointer locale, - ) { - return __objc_msgSend_338( - obj, - sel, - string, - mask, - rangeOfReceiverToCompare, - locale, - ); - } - - late final __objc_msgSend_338Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - _NSRange, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_338 = __objc_msgSend_338Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - _NSRange, - ffi.Pointer, - )>(); - - late final _sel_caseInsensitiveCompare_1 = objc.registerName( - "caseInsensitiveCompare:", - ); - late final _sel_localizedCompare_1 = objc.registerName("localizedCompare:"); - late final _sel_localizedCaseInsensitiveCompare_1 = objc.registerName( - "localizedCaseInsensitiveCompare:", - ); - late final _sel_localizedStandardCompare_1 = objc.registerName( - "localizedStandardCompare:", - ); - late final _sel_isEqualToString_1 = objc.registerName("isEqualToString:"); - late final _sel_hasPrefix_1 = objc.registerName("hasPrefix:"); - late final _sel_hasSuffix_1 = objc.registerName("hasSuffix:"); - late final _sel_commonPrefixWithString_options_1 = objc.registerName( - "commonPrefixWithString:options:", - ); - ffi.Pointer _objc_msgSend_339( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer str, - int mask, - ) { - return __objc_msgSend_339(obj, sel, str, mask); - } - - late final __objc_msgSend_339Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - )>>('objc_msgSend'); - late final __objc_msgSend_339 = __objc_msgSend_339Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_containsString_1 = objc.registerName("containsString:"); - late final _sel_localizedCaseInsensitiveContainsString_1 = objc.registerName( - "localizedCaseInsensitiveContainsString:", - ); - late final _sel_localizedStandardContainsString_1 = objc.registerName( - "localizedStandardContainsString:", - ); - late final _sel_localizedStandardRangeOfString_1 = objc.registerName( - "localizedStandardRangeOfString:", - ); - _NSRange _objc_msgSend_340( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer str, - ) { - return __objc_msgSend_340(obj, sel, str); - } - - late final __objc_msgSend_340Ptr = _lookup< - ffi.NativeFunction< - _NSRange Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_340 = __objc_msgSend_340Ptr.asFunction< - _NSRange Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - void _objc_msgSend_340_stret( - ffi.Pointer<_NSRange> stret, - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer str, - ) { - return __objc_msgSend_340_stret(stret, obj, sel, str); - } - - late final __objc_msgSend_340_stretPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer<_NSRange>, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend_stret'); - late final __objc_msgSend_340_stret = __objc_msgSend_340_stretPtr.asFunction< - void Function( - ffi.Pointer<_NSRange>, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_rangeOfString_1 = objc.registerName("rangeOfString:"); - late final _sel_rangeOfString_options_1 = objc.registerName( - "rangeOfString:options:", - ); - _NSRange _objc_msgSend_341( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer searchString, - int mask, - ) { - return __objc_msgSend_341(obj, sel, searchString, mask); - } - - late final __objc_msgSend_341Ptr = _lookup< - ffi.NativeFunction< - _NSRange Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - )>>('objc_msgSend'); - late final __objc_msgSend_341 = __objc_msgSend_341Ptr.asFunction< - _NSRange Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - void _objc_msgSend_341_stret( - ffi.Pointer<_NSRange> stret, - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer searchString, - int mask, - ) { - return __objc_msgSend_341_stret(stret, obj, sel, searchString, mask); - } - - late final __objc_msgSend_341_stretPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer<_NSRange>, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - )>>('objc_msgSend_stret'); - late final __objc_msgSend_341_stret = __objc_msgSend_341_stretPtr.asFunction< - void Function( - ffi.Pointer<_NSRange>, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_rangeOfString_options_range_1 = objc.registerName( - "rangeOfString:options:range:", - ); - _NSRange _objc_msgSend_342( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer searchString, - int mask, - _NSRange rangeOfReceiverToSearch, - ) { - return __objc_msgSend_342( - obj, - sel, - searchString, - mask, - rangeOfReceiverToSearch, - ); - } - - late final __objc_msgSend_342Ptr = _lookup< - ffi.NativeFunction< - _NSRange Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - _NSRange, - )>>('objc_msgSend'); - late final __objc_msgSend_342 = __objc_msgSend_342Ptr.asFunction< - _NSRange Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - _NSRange, - )>(); - - void _objc_msgSend_342_stret( - ffi.Pointer<_NSRange> stret, - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer searchString, - int mask, - _NSRange rangeOfReceiverToSearch, - ) { - return __objc_msgSend_342_stret( - stret, - obj, - sel, - searchString, - mask, - rangeOfReceiverToSearch, - ); - } - - late final __objc_msgSend_342_stretPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer<_NSRange>, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - _NSRange, - )>>('objc_msgSend_stret'); - late final __objc_msgSend_342_stret = __objc_msgSend_342_stretPtr.asFunction< - void Function( - ffi.Pointer<_NSRange>, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - _NSRange, - )>(); - - late final _sel_rangeOfString_options_range_locale_1 = objc.registerName( - "rangeOfString:options:range:locale:", - ); - _NSRange _objc_msgSend_343( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer searchString, - int mask, - _NSRange rangeOfReceiverToSearch, - ffi.Pointer locale, - ) { - return __objc_msgSend_343( - obj, - sel, - searchString, - mask, - rangeOfReceiverToSearch, - locale, - ); - } - - late final __objc_msgSend_343Ptr = _lookup< - ffi.NativeFunction< - _NSRange Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - _NSRange, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_343 = __objc_msgSend_343Ptr.asFunction< - _NSRange Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - _NSRange, - ffi.Pointer, - )>(); - - void _objc_msgSend_343_stret( - ffi.Pointer<_NSRange> stret, - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer searchString, - int mask, - _NSRange rangeOfReceiverToSearch, - ffi.Pointer locale, - ) { - return __objc_msgSend_343_stret( - stret, - obj, - sel, - searchString, - mask, - rangeOfReceiverToSearch, - locale, - ); - } - - late final __objc_msgSend_343_stretPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer<_NSRange>, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - _NSRange, - ffi.Pointer, - )>>('objc_msgSend_stret'); - late final __objc_msgSend_343_stret = __objc_msgSend_343_stretPtr.asFunction< - void Function( - ffi.Pointer<_NSRange>, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - _NSRange, - ffi.Pointer, - )>(); - - late final _sel_rangeOfCharacterFromSet_1 = objc.registerName( - "rangeOfCharacterFromSet:", - ); - _NSRange _objc_msgSend_344( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer searchSet, - ) { - return __objc_msgSend_344(obj, sel, searchSet); - } - - late final __objc_msgSend_344Ptr = _lookup< - ffi.NativeFunction< - _NSRange Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_344 = __objc_msgSend_344Ptr.asFunction< - _NSRange Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - void _objc_msgSend_344_stret( - ffi.Pointer<_NSRange> stret, - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer searchSet, - ) { - return __objc_msgSend_344_stret(stret, obj, sel, searchSet); - } - - late final __objc_msgSend_344_stretPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer<_NSRange>, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend_stret'); - late final __objc_msgSend_344_stret = __objc_msgSend_344_stretPtr.asFunction< - void Function( - ffi.Pointer<_NSRange>, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_rangeOfCharacterFromSet_options_1 = objc.registerName( - "rangeOfCharacterFromSet:options:", - ); - _NSRange _objc_msgSend_345( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer searchSet, - int mask, - ) { - return __objc_msgSend_345(obj, sel, searchSet, mask); - } - - late final __objc_msgSend_345Ptr = _lookup< - ffi.NativeFunction< - _NSRange Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - )>>('objc_msgSend'); - late final __objc_msgSend_345 = __objc_msgSend_345Ptr.asFunction< - _NSRange Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - void _objc_msgSend_345_stret( - ffi.Pointer<_NSRange> stret, - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer searchSet, - int mask, - ) { - return __objc_msgSend_345_stret(stret, obj, sel, searchSet, mask); - } - - late final __objc_msgSend_345_stretPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer<_NSRange>, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - )>>('objc_msgSend_stret'); - late final __objc_msgSend_345_stret = __objc_msgSend_345_stretPtr.asFunction< - void Function( - ffi.Pointer<_NSRange>, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_rangeOfCharacterFromSet_options_range_1 = objc.registerName( - "rangeOfCharacterFromSet:options:range:", - ); - _NSRange _objc_msgSend_346( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer searchSet, - int mask, - _NSRange rangeOfReceiverToSearch, - ) { - return __objc_msgSend_346( - obj, - sel, - searchSet, - mask, - rangeOfReceiverToSearch, - ); - } - - late final __objc_msgSend_346Ptr = _lookup< - ffi.NativeFunction< - _NSRange Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - _NSRange, - )>>('objc_msgSend'); - late final __objc_msgSend_346 = __objc_msgSend_346Ptr.asFunction< - _NSRange Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - _NSRange, - )>(); - - void _objc_msgSend_346_stret( - ffi.Pointer<_NSRange> stret, - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer searchSet, - int mask, - _NSRange rangeOfReceiverToSearch, - ) { - return __objc_msgSend_346_stret( - stret, - obj, - sel, - searchSet, - mask, - rangeOfReceiverToSearch, - ); - } - - late final __objc_msgSend_346_stretPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer<_NSRange>, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - _NSRange, - )>>('objc_msgSend_stret'); - late final __objc_msgSend_346_stret = __objc_msgSend_346_stretPtr.asFunction< - void Function( - ffi.Pointer<_NSRange>, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - _NSRange, - )>(); - - late final _sel_rangeOfComposedCharacterSequenceAtIndex_1 = objc.registerName( - "rangeOfComposedCharacterSequenceAtIndex:", - ); - _NSRange _objc_msgSend_347( - ffi.Pointer obj, - ffi.Pointer sel, - int index, - ) { - return __objc_msgSend_347(obj, sel, index); - } - - late final __objc_msgSend_347Ptr = _lookup< - ffi.NativeFunction< - _NSRange Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - )>>('objc_msgSend'); - late final __objc_msgSend_347 = __objc_msgSend_347Ptr.asFunction< - _NSRange Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - void _objc_msgSend_347_stret( - ffi.Pointer<_NSRange> stret, - ffi.Pointer obj, - ffi.Pointer sel, - int index, - ) { - return __objc_msgSend_347_stret(stret, obj, sel, index); - } - - late final __objc_msgSend_347_stretPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer<_NSRange>, - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - )>>('objc_msgSend_stret'); - late final __objc_msgSend_347_stret = __objc_msgSend_347_stretPtr.asFunction< - void Function( - ffi.Pointer<_NSRange>, - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_rangeOfComposedCharacterSequencesForRange_1 = - objc.registerName("rangeOfComposedCharacterSequencesForRange:"); - _NSRange _objc_msgSend_348( - ffi.Pointer obj, - ffi.Pointer sel, - _NSRange range, - ) { - return __objc_msgSend_348(obj, sel, range); - } - - late final __objc_msgSend_348Ptr = _lookup< - ffi.NativeFunction< - _NSRange Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - )>>('objc_msgSend'); - late final __objc_msgSend_348 = __objc_msgSend_348Ptr.asFunction< - _NSRange Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - )>(); - - void _objc_msgSend_348_stret( - ffi.Pointer<_NSRange> stret, - ffi.Pointer obj, - ffi.Pointer sel, - _NSRange range, - ) { - return __objc_msgSend_348_stret(stret, obj, sel, range); - } - - late final __objc_msgSend_348_stretPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer<_NSRange>, - ffi.Pointer, - ffi.Pointer, - _NSRange, - )>>('objc_msgSend_stret'); - late final __objc_msgSend_348_stret = __objc_msgSend_348_stretPtr.asFunction< - void Function( - ffi.Pointer<_NSRange>, - ffi.Pointer, - ffi.Pointer, - _NSRange, - )>(); - - late final _sel_stringByAppendingString_1 = objc.registerName( - "stringByAppendingString:", - ); - late final _sel_stringByAppendingFormat_1 = objc.registerName( - "stringByAppendingFormat:", - ); - late final _sel_uppercaseString1 = objc.registerName("uppercaseString"); - late final _sel_lowercaseString1 = objc.registerName("lowercaseString"); - late final _sel_capitalizedString1 = objc.registerName("capitalizedString"); - late final _sel_localizedUppercaseString1 = objc.registerName( - "localizedUppercaseString", - ); - late final _sel_localizedLowercaseString1 = objc.registerName( - "localizedLowercaseString", - ); - late final _sel_localizedCapitalizedString1 = objc.registerName( - "localizedCapitalizedString", - ); - late final _sel_uppercaseStringWithLocale_1 = objc.registerName( - "uppercaseStringWithLocale:", - ); - ffi.Pointer _objc_msgSend_349( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer locale, - ) { - return __objc_msgSend_349(obj, sel, locale); - } - - late final __objc_msgSend_349Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_349 = __objc_msgSend_349Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_lowercaseStringWithLocale_1 = objc.registerName( - "lowercaseStringWithLocale:", - ); - late final _sel_capitalizedStringWithLocale_1 = objc.registerName( - "capitalizedStringWithLocale:", - ); - late final _sel_getLineStart_end_contentsEnd_forRange_1 = objc.registerName( - "getLineStart:end:contentsEnd:forRange:", - ); - void _objc_msgSend_350( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer startPtr, - ffi.Pointer lineEndPtr, - ffi.Pointer contentsEndPtr, - _NSRange range, - ) { - return __objc_msgSend_350( - obj, - sel, - startPtr, - lineEndPtr, - contentsEndPtr, - range, - ); - } - - late final __objc_msgSend_350Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - _NSRange, - )>>('objc_msgSend'); - late final __objc_msgSend_350 = __objc_msgSend_350Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - _NSRange, - )>(); - - late final _sel_lineRangeForRange_1 = objc.registerName("lineRangeForRange:"); - late final _sel_getParagraphStart_end_contentsEnd_forRange_1 = - objc.registerName("getParagraphStart:end:contentsEnd:forRange:"); - late final _sel_paragraphRangeForRange_1 = objc.registerName( - "paragraphRangeForRange:", - ); - late final _sel_enumerateSubstringsInRange_options_usingBlock_1 = - objc.registerName("enumerateSubstringsInRange:options:usingBlock:"); - void _objc_msgSend_351( - ffi.Pointer obj, - ffi.Pointer sel, - _NSRange range, - int opts, - ffi.Pointer block, - ) { - return __objc_msgSend_351(obj, sel, range, opts, block); - } - - late final __objc_msgSend_351Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Int32, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_351 = __objc_msgSend_351Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - int, - ffi.Pointer, - )>(); - - late final _sel_enumerateLinesUsingBlock_1 = objc.registerName( - "enumerateLinesUsingBlock:", - ); - void _objc_msgSend_352( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer block, - ) { - return __objc_msgSend_352(obj, sel, block); - } - - late final __objc_msgSend_352Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_352 = __objc_msgSend_352Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_UTF8String1 = objc.registerName("UTF8String"); - late final _sel_fastestEncoding1 = objc.registerName("fastestEncoding"); - late final _sel_smallestEncoding1 = objc.registerName("smallestEncoding"); - late final _sel_dataUsingEncoding_allowLossyConversion_1 = objc.registerName( - "dataUsingEncoding:allowLossyConversion:", - ); - ffi.Pointer _objc_msgSend_353( - ffi.Pointer obj, - ffi.Pointer sel, - int encoding, - bool lossy, - ) { - return __objc_msgSend_353(obj, sel, encoding, lossy); - } - - late final __objc_msgSend_353Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ffi.Bool, - )>>('objc_msgSend'); - late final __objc_msgSend_353 = __objc_msgSend_353Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - bool, - )>(); - - late final _sel_dataUsingEncoding_1 = objc.registerName("dataUsingEncoding:"); - ffi.Pointer _objc_msgSend_354( - ffi.Pointer obj, - ffi.Pointer sel, - int encoding, - ) { - return __objc_msgSend_354(obj, sel, encoding); - } - - late final __objc_msgSend_354Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - )>>('objc_msgSend'); - late final __objc_msgSend_354 = __objc_msgSend_354Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_canBeConvertedToEncoding_1 = objc.registerName( - "canBeConvertedToEncoding:", - ); - late final _sel_cStringUsingEncoding_1 = objc.registerName( - "cStringUsingEncoding:", - ); - late final _sel_getCString_maxLength_encoding_1 = objc.registerName( - "getCString:maxLength:encoding:", - ); - bool _objc_msgSend_355( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer buffer, - int maxBufferCount, - int encoding, - ) { - return __objc_msgSend_355(obj, sel, buffer, maxBufferCount, encoding); - } - - late final __objc_msgSend_355Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ffi.UnsignedLong, - )>>('objc_msgSend'); - late final __objc_msgSend_355 = __objc_msgSend_355Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - int, - )>(); - - late final _sel_getBytes_maxLength_usedLength_encoding_options_range_remainingRange_1 = - objc.registerName( - "getBytes:maxLength:usedLength:encoding:options:range:remainingRange:", - ); - bool _objc_msgSend_356( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer buffer, - int maxBufferCount, - ffi.Pointer usedBufferCount, - int encoding, - int options, - _NSRange range, - ffi.Pointer<_NSRange> leftover, - ) { - return __objc_msgSend_356( - obj, - sel, - buffer, - maxBufferCount, - usedBufferCount, - encoding, - options, - range, - leftover, - ); - } - - late final __objc_msgSend_356Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer, - ffi.UnsignedLong, - ffi.Int32, - _NSRange, - ffi.Pointer<_NSRange>, - )>>('objc_msgSend'); - late final __objc_msgSend_356 = __objc_msgSend_356Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - int, - int, - _NSRange, - ffi.Pointer<_NSRange>, - )>(); - - late final _sel_maximumLengthOfBytesUsingEncoding_1 = objc.registerName( - "maximumLengthOfBytesUsingEncoding:", - ); - late final _sel_lengthOfBytesUsingEncoding_1 = objc.registerName( - "lengthOfBytesUsingEncoding:", - ); - late final _sel_availableStringEncodings1 = objc.registerName( - "availableStringEncodings", - ); - ffi.Pointer _objc_msgSend_357( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_357(obj, sel); - } - - late final __objc_msgSend_357Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_357 = __objc_msgSend_357Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_localizedNameOfStringEncoding_1 = objc.registerName( - "localizedNameOfStringEncoding:", - ); - late final _sel_defaultCStringEncoding1 = objc.registerName( - "defaultCStringEncoding", - ); - late final _sel_decomposedStringWithCanonicalMapping1 = objc.registerName( - "decomposedStringWithCanonicalMapping", - ); - late final _sel_precomposedStringWithCanonicalMapping1 = objc.registerName( - "precomposedStringWithCanonicalMapping", - ); - late final _sel_decomposedStringWithCompatibilityMapping1 = objc.registerName( - "decomposedStringWithCompatibilityMapping", - ); - late final _sel_precomposedStringWithCompatibilityMapping1 = - objc.registerName("precomposedStringWithCompatibilityMapping"); - late final _sel_componentsSeparatedByString_1 = objc.registerName( - "componentsSeparatedByString:", - ); - ffi.Pointer _objc_msgSend_358( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer separator, - ) { - return __objc_msgSend_358(obj, sel, separator); - } - - late final __objc_msgSend_358Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_358 = __objc_msgSend_358Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_componentsSeparatedByCharactersInSet_1 = objc.registerName( - "componentsSeparatedByCharactersInSet:", - ); - ffi.Pointer _objc_msgSend_359( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer separator, - ) { - return __objc_msgSend_359(obj, sel, separator); - } - - late final __objc_msgSend_359Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_359 = __objc_msgSend_359Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_stringByTrimmingCharactersInSet_1 = objc.registerName( - "stringByTrimmingCharactersInSet:", - ); - ffi.Pointer _objc_msgSend_360( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer set1, - ) { - return __objc_msgSend_360(obj, sel, set1); - } - - late final __objc_msgSend_360Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_360 = __objc_msgSend_360Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_stringByPaddingToLength_withString_startingAtIndex_1 = - objc.registerName("stringByPaddingToLength:withString:startingAtIndex:"); - ffi.Pointer _objc_msgSend_361( - ffi.Pointer obj, - ffi.Pointer sel, - int newLength, - ffi.Pointer padString, - int padIndex, - ) { - return __objc_msgSend_361(obj, sel, newLength, padString, padIndex); - } - - late final __objc_msgSend_361Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer, - ffi.UnsignedLong, - )>>('objc_msgSend'); - late final __objc_msgSend_361 = __objc_msgSend_361Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - int, - )>(); - - late final _sel_stringByFoldingWithOptions_locale_1 = objc.registerName( - "stringByFoldingWithOptions:locale:", - ); - ffi.Pointer _objc_msgSend_362( - ffi.Pointer obj, - ffi.Pointer sel, - int options, - ffi.Pointer locale, - ) { - return __objc_msgSend_362(obj, sel, options, locale); - } - - late final __objc_msgSend_362Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_362 = __objc_msgSend_362Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - )>(); - - late final _sel_stringByReplacingOccurrencesOfString_withString_options_range_1 = - objc.registerName( - "stringByReplacingOccurrencesOfString:withString:options:range:", - ); - ffi.Pointer _objc_msgSend_363( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer target, - ffi.Pointer replacement, - int options, - _NSRange searchRange, - ) { - return __objc_msgSend_363( - obj, - sel, - target, - replacement, - options, - searchRange, - ); - } - - late final __objc_msgSend_363Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - _NSRange, - )>>('objc_msgSend'); - late final __objc_msgSend_363 = __objc_msgSend_363Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - _NSRange, - )>(); - - late final _sel_stringByReplacingOccurrencesOfString_withString_1 = - objc.registerName("stringByReplacingOccurrencesOfString:withString:"); - ffi.Pointer _objc_msgSend_364( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer target, - ffi.Pointer replacement, - ) { - return __objc_msgSend_364(obj, sel, target, replacement); - } - - late final __objc_msgSend_364Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_364 = __objc_msgSend_364Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_stringByReplacingCharactersInRange_withString_1 = - objc.registerName("stringByReplacingCharactersInRange:withString:"); - ffi.Pointer _objc_msgSend_365( - ffi.Pointer obj, - ffi.Pointer sel, - _NSRange range, - ffi.Pointer replacement, - ) { - return __objc_msgSend_365(obj, sel, range, replacement); - } - - late final __objc_msgSend_365Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_365 = __objc_msgSend_365Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - )>(); - - late final _sel_stringByApplyingTransform_reverse_1 = objc.registerName( - "stringByApplyingTransform:reverse:", - ); - ffi.Pointer _objc_msgSend_366( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer transform, - bool reverse, - ) { - return __objc_msgSend_366(obj, sel, transform, reverse); - } - - late final __objc_msgSend_366Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - )>>('objc_msgSend'); - late final __objc_msgSend_366 = __objc_msgSend_366Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - )>(); - - late final _sel_writeToURL_atomically_encoding_error_1 = objc.registerName( - "writeToURL:atomically:encoding:error:", - ); - bool _objc_msgSend_367( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, - bool useAuxiliaryFile, - int enc, - ffi.Pointer> error, - ) { - return __objc_msgSend_367(obj, sel, url, useAuxiliaryFile, enc, error); - } - - late final __objc_msgSend_367Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - ffi.UnsignedLong, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_367 = __objc_msgSend_367Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - int, - ffi.Pointer>, - )>(); - - late final _sel_writeToFile_atomically_encoding_error_1 = objc.registerName( - "writeToFile:atomically:encoding:error:", - ); - bool _objc_msgSend_368( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, - bool useAuxiliaryFile, - int enc, - ffi.Pointer> error, - ) { - return __objc_msgSend_368(obj, sel, path, useAuxiliaryFile, enc, error); - } - - late final __objc_msgSend_368Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - ffi.UnsignedLong, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_368 = __objc_msgSend_368Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - int, - ffi.Pointer>, - )>(); - - late final _sel_hash1 = objc.registerName("hash"); - late final _sel_initWithCharactersNoCopy_length_freeWhenDone_1 = - objc.registerName("initWithCharactersNoCopy:length:freeWhenDone:"); - instancetype _objc_msgSend_369( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer characters, - int length, - bool freeBuffer, - ) { - return __objc_msgSend_369(obj, sel, characters, length, freeBuffer); - } - - late final __objc_msgSend_369Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ffi.Bool, - )>>('objc_msgSend'); - late final __objc_msgSend_369 = __objc_msgSend_369Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - bool, - )>(); - - late final _sel_initWithCharactersNoCopy_length_deallocator_1 = - objc.registerName("initWithCharactersNoCopy:length:deallocator:"); - instancetype _objc_msgSend_370( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer chars, - int len, - ffi.Pointer deallocator, - ) { - return __objc_msgSend_370(obj, sel, chars, len, deallocator); - } - - late final __objc_msgSend_370Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_370 = __objc_msgSend_370Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - )>(); - - late final _sel_initWithCharacters_length_1 = objc.registerName( - "initWithCharacters:length:", - ); - instancetype _objc_msgSend_371( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer characters, - int length, - ) { - return __objc_msgSend_371(obj, sel, characters, length); - } - - late final __objc_msgSend_371Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - )>>('objc_msgSend'); - late final __objc_msgSend_371 = __objc_msgSend_371Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_initWithUTF8String_1 = objc.registerName( - "initWithUTF8String:", - ); - instancetype _objc_msgSend_372( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer nullTerminatedCString, - ) { - return __objc_msgSend_372(obj, sel, nullTerminatedCString); - } - - late final __objc_msgSend_372Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_372 = __objc_msgSend_372Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_initWithFormat_1 = objc.registerName("initWithFormat:"); - late final _sel_initWithFormat_arguments_1 = objc.registerName( - "initWithFormat:arguments:", - ); - instancetype _objc_msgSend_373( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer format, - ffi.Pointer<__va_list_tag> argList, - ) { - return __objc_msgSend_373(obj, sel, format, argList); - } - - late final __objc_msgSend_373Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<__va_list_tag>, - )>>('objc_msgSend'); - late final __objc_msgSend_373 = __objc_msgSend_373Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<__va_list_tag>, - )>(); - - late final _sel_initWithFormat_locale_1 = objc.registerName( - "initWithFormat:locale:", - ); - instancetype _objc_msgSend_374( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer format, - ffi.Pointer locale, - ) { - return __objc_msgSend_374(obj, sel, format, locale); - } - - late final __objc_msgSend_374Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_374 = __objc_msgSend_374Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_initWithFormat_locale_arguments_1 = objc.registerName( - "initWithFormat:locale:arguments:", - ); - instancetype _objc_msgSend_375( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer format, - ffi.Pointer locale, - ffi.Pointer<__va_list_tag> argList, - ) { - return __objc_msgSend_375(obj, sel, format, locale, argList); - } - - late final __objc_msgSend_375Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<__va_list_tag>, - )>>('objc_msgSend'); - late final __objc_msgSend_375 = __objc_msgSend_375Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<__va_list_tag>, - )>(); - - late final _sel_initWithValidatedFormat_validFormatSpecifiers_error_1 = - objc.registerName("initWithValidatedFormat:validFormatSpecifiers:error:"); - instancetype _objc_msgSend_376( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer format, - ffi.Pointer validFormatSpecifiers, - ffi.Pointer> error, - ) { - return __objc_msgSend_376(obj, sel, format, validFormatSpecifiers, error); - } - - late final __objc_msgSend_376Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_376 = __objc_msgSend_376Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>(); - - late final _sel_initWithValidatedFormat_validFormatSpecifiers_locale_error_1 = - objc.registerName( - "initWithValidatedFormat:validFormatSpecifiers:locale:error:", - ); - instancetype _objc_msgSend_377( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer format, - ffi.Pointer validFormatSpecifiers, - ffi.Pointer locale, - ffi.Pointer> error, - ) { - return __objc_msgSend_377( - obj, - sel, - format, - validFormatSpecifiers, - locale, - error, - ); - } - - late final __objc_msgSend_377Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_377 = __objc_msgSend_377Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>(); - - late final _sel_initWithValidatedFormat_validFormatSpecifiers_arguments_error_1 = - objc.registerName( - "initWithValidatedFormat:validFormatSpecifiers:arguments:error:", - ); - instancetype _objc_msgSend_378( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer format, - ffi.Pointer validFormatSpecifiers, - ffi.Pointer<__va_list_tag> argList, - ffi.Pointer> error, - ) { - return __objc_msgSend_378( - obj, - sel, - format, - validFormatSpecifiers, - argList, - error, - ); - } - - late final __objc_msgSend_378Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<__va_list_tag>, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_378 = __objc_msgSend_378Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<__va_list_tag>, - ffi.Pointer>, - )>(); - - late final _sel_initWithValidatedFormat_validFormatSpecifiers_locale_arguments_error_1 = - objc.registerName( - "initWithValidatedFormat:validFormatSpecifiers:locale:arguments:error:", - ); - instancetype _objc_msgSend_379( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer format, - ffi.Pointer validFormatSpecifiers, - ffi.Pointer locale, - ffi.Pointer<__va_list_tag> argList, - ffi.Pointer> error, - ) { - return __objc_msgSend_379( - obj, - sel, - format, - validFormatSpecifiers, - locale, - argList, - error, - ); - } - - late final __objc_msgSend_379Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<__va_list_tag>, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_379 = __objc_msgSend_379Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<__va_list_tag>, - ffi.Pointer>, - )>(); - - late final _sel_initWithData_encoding_1 = objc.registerName( - "initWithData:encoding:", - ); - instancetype _objc_msgSend_380( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer data, - int encoding, - ) { - return __objc_msgSend_380(obj, sel, data, encoding); - } - - late final __objc_msgSend_380Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - )>>('objc_msgSend'); - late final __objc_msgSend_380 = __objc_msgSend_380Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_initWithBytes_length_encoding_1 = objc.registerName( - "initWithBytes:length:encoding:", - ); - instancetype _objc_msgSend_381( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer bytes, - int len, - int encoding, - ) { - return __objc_msgSend_381(obj, sel, bytes, len, encoding); - } - - late final __objc_msgSend_381Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ffi.UnsignedLong, - )>>('objc_msgSend'); - late final __objc_msgSend_381 = __objc_msgSend_381Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - int, - )>(); - - late final _sel_initWithBytesNoCopy_length_encoding_freeWhenDone_1 = - objc.registerName("initWithBytesNoCopy:length:encoding:freeWhenDone:"); - instancetype _objc_msgSend_382( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer bytes, - int len, - int encoding, - bool freeBuffer, - ) { - return __objc_msgSend_382(obj, sel, bytes, len, encoding, freeBuffer); - } - - late final __objc_msgSend_382Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ffi.UnsignedLong, - ffi.Bool, - )>>('objc_msgSend'); - late final __objc_msgSend_382 = __objc_msgSend_382Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - int, - bool, - )>(); - - late final _sel_initWithBytesNoCopy_length_encoding_deallocator_1 = - objc.registerName("initWithBytesNoCopy:length:encoding:deallocator:"); - instancetype _objc_msgSend_383( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer bytes, - int len, - int encoding, - ffi.Pointer deallocator, - ) { - return __objc_msgSend_383(obj, sel, bytes, len, encoding, deallocator); - } - - late final __objc_msgSend_383Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ffi.UnsignedLong, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_383 = __objc_msgSend_383Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - int, - ffi.Pointer, - )>(); - - late final _sel_string1 = objc.registerName("string"); - late final _sel_stringWithString_1 = objc.registerName("stringWithString:"); - late final _sel_stringWithCharacters_length_1 = objc.registerName( - "stringWithCharacters:length:", - ); - late final _sel_stringWithUTF8String_1 = objc.registerName( - "stringWithUTF8String:", - ); - late final _sel_stringWithFormat_1 = objc.registerName("stringWithFormat:"); - late final _sel_localizedStringWithFormat_1 = objc.registerName( - "localizedStringWithFormat:", - ); - late final _sel_stringWithValidatedFormat_validFormatSpecifiers_error_1 = objc - .registerName("stringWithValidatedFormat:validFormatSpecifiers:error:"); - late final _sel_localizedStringWithValidatedFormat_validFormatSpecifiers_error_1 = - objc.registerName( - "localizedStringWithValidatedFormat:validFormatSpecifiers:error:", - ); - late final _sel_initWithCString_encoding_1 = objc.registerName( - "initWithCString:encoding:", - ); - instancetype _objc_msgSend_384( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer nullTerminatedCString, - int encoding, - ) { - return __objc_msgSend_384(obj, sel, nullTerminatedCString, encoding); - } - - late final __objc_msgSend_384Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - )>>('objc_msgSend'); - late final __objc_msgSend_384 = __objc_msgSend_384Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_stringWithCString_encoding_1 = objc.registerName( - "stringWithCString:encoding:", - ); - late final _sel_initWithContentsOfURL_encoding_error_1 = objc.registerName( - "initWithContentsOfURL:encoding:error:", - ); - instancetype _objc_msgSend_385( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, - int enc, - ffi.Pointer> error, - ) { - return __objc_msgSend_385(obj, sel, url, enc, error); - } - - late final __objc_msgSend_385Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_385 = __objc_msgSend_385Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>, - )>(); - - late final _sel_initWithContentsOfFile_encoding_error_1 = objc.registerName( - "initWithContentsOfFile:encoding:error:", - ); - instancetype _objc_msgSend_386( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, - int enc, - ffi.Pointer> error, - ) { - return __objc_msgSend_386(obj, sel, path, enc, error); - } - - late final __objc_msgSend_386Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_386 = __objc_msgSend_386Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>, - )>(); - - late final _sel_stringWithContentsOfURL_encoding_error_1 = objc.registerName( - "stringWithContentsOfURL:encoding:error:", - ); - late final _sel_stringWithContentsOfFile_encoding_error_1 = objc.registerName( - "stringWithContentsOfFile:encoding:error:", - ); - late final _sel_initWithContentsOfURL_usedEncoding_error_1 = - objc.registerName("initWithContentsOfURL:usedEncoding:error:"); - instancetype _objc_msgSend_387( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, - ffi.Pointer enc, - ffi.Pointer> error, - ) { - return __objc_msgSend_387(obj, sel, url, enc, error); - } - - late final __objc_msgSend_387Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_387 = __objc_msgSend_387Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>(); - - late final _sel_initWithContentsOfFile_usedEncoding_error_1 = - objc.registerName("initWithContentsOfFile:usedEncoding:error:"); - instancetype _objc_msgSend_388( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, - ffi.Pointer enc, - ffi.Pointer> error, - ) { - return __objc_msgSend_388(obj, sel, path, enc, error); - } - - late final __objc_msgSend_388Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_388 = __objc_msgSend_388Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>(); - - late final _sel_stringWithContentsOfURL_usedEncoding_error_1 = - objc.registerName("stringWithContentsOfURL:usedEncoding:error:"); - late final _sel_stringWithContentsOfFile_usedEncoding_error_1 = - objc.registerName("stringWithContentsOfFile:usedEncoding:error:"); - late final _sel_stringEncodingForData_encodingOptions_convertedString_usedLossyConversion_1 = - objc.registerName( - "stringEncodingForData:encodingOptions:convertedString:usedLossyConversion:", - ); - int _objc_msgSend_389( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer data, - ffi.Pointer opts, - ffi.Pointer> string, - ffi.Pointer usedLossyConversion, - ) { - return __objc_msgSend_389( - obj, - sel, - data, - opts, - string, - usedLossyConversion, - ); - } - - late final __objc_msgSend_389Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_389 = __objc_msgSend_389Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer, - )>(); - - late final _sel_propertyList1 = objc.registerName("propertyList"); - late final _sel_propertyListFromStringsFileFormat1 = objc.registerName( - "propertyListFromStringsFileFormat", - ); - ffi.Pointer _objc_msgSend_390( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_390(obj, sel); - } - - late final __objc_msgSend_390Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_390 = __objc_msgSend_390Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_cString1 = objc.registerName("cString"); - late final _sel_lossyCString1 = objc.registerName("lossyCString"); - late final _sel_cStringLength1 = objc.registerName("cStringLength"); - late final _sel_getCString_1 = objc.registerName("getCString:"); - late final _sel_getCString_maxLength_1 = objc.registerName( - "getCString:maxLength:", - ); - void _objc_msgSend_391( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer bytes, - int maxLength, - ) { - return __objc_msgSend_391(obj, sel, bytes, maxLength); - } - - late final __objc_msgSend_391Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - )>>('objc_msgSend'); - late final __objc_msgSend_391 = __objc_msgSend_391Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_getCString_maxLength_range_remainingRange_1 = - objc.registerName("getCString:maxLength:range:remainingRange:"); - void _objc_msgSend_392( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer bytes, - int maxLength, - _NSRange aRange, - ffi.Pointer<_NSRange> leftoverRange, - ) { - return __objc_msgSend_392( - obj, - sel, - bytes, - maxLength, - aRange, - leftoverRange, - ); - } - - late final __objc_msgSend_392Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - _NSRange, - ffi.Pointer<_NSRange>, - )>>('objc_msgSend'); - late final __objc_msgSend_392 = __objc_msgSend_392Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - _NSRange, - ffi.Pointer<_NSRange>, - )>(); - - late final _sel_stringWithContentsOfFile_1 = objc.registerName( - "stringWithContentsOfFile:", - ); - late final _sel_stringWithContentsOfURL_1 = objc.registerName( - "stringWithContentsOfURL:", - ); - late final _sel_initWithCStringNoCopy_length_freeWhenDone_1 = - objc.registerName("initWithCStringNoCopy:length:freeWhenDone:"); - ffi.Pointer _objc_msgSend_393( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer bytes, - int length, - bool freeBuffer, - ) { - return __objc_msgSend_393(obj, sel, bytes, length, freeBuffer); - } - - late final __objc_msgSend_393Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ffi.Bool, - )>>('objc_msgSend'); - late final __objc_msgSend_393 = __objc_msgSend_393Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - bool, - )>(); - - late final _sel_initWithCString_length_1 = objc.registerName( - "initWithCString:length:", - ); - late final _sel_initWithCString_1 = objc.registerName("initWithCString:"); - late final _sel_stringWithCString_length_1 = objc.registerName( - "stringWithCString:length:", - ); - late final _sel_stringWithCString_1 = objc.registerName("stringWithCString:"); - late final _sel_getCharacters_1 = objc.registerName("getCharacters:"); - void _objc_msgSend_394( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer buffer, - ) { - return __objc_msgSend_394(obj, sel, buffer); - } - - late final __objc_msgSend_394Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_394 = __objc_msgSend_394Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_variantFittingPresentationWidth_1 = objc.registerName( - "variantFittingPresentationWidth:", - ); - ffi.Pointer _objc_msgSend_395( - ffi.Pointer obj, - ffi.Pointer sel, - int width, - ) { - return __objc_msgSend_395(obj, sel, width); - } - - late final __objc_msgSend_395Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Long, - )>>('objc_msgSend'); - late final __objc_msgSend_395 = __objc_msgSend_395Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_pathWithComponents_1 = objc.registerName( - "pathWithComponents:", - ); - ffi.Pointer _objc_msgSend_396( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer components, - ) { - return __objc_msgSend_396(obj, sel, components); - } - - late final __objc_msgSend_396Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_396 = __objc_msgSend_396Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_isAbsolutePath1 = objc.registerName("isAbsolutePath"); - late final _sel_stringByDeletingLastPathComponent1 = objc.registerName( - "stringByDeletingLastPathComponent", - ); - late final _sel_stringByAppendingPathComponent_1 = objc.registerName( - "stringByAppendingPathComponent:", - ); - late final _sel_stringByDeletingPathExtension1 = objc.registerName( - "stringByDeletingPathExtension", - ); - late final _sel_stringByAppendingPathExtension_1 = objc.registerName( - "stringByAppendingPathExtension:", - ); - late final _sel_stringByAbbreviatingWithTildeInPath1 = objc.registerName( - "stringByAbbreviatingWithTildeInPath", - ); - late final _sel_stringByExpandingTildeInPath1 = objc.registerName( - "stringByExpandingTildeInPath", - ); - late final _sel_stringByStandardizingPath1 = objc.registerName( - "stringByStandardizingPath", - ); - late final _sel_stringByResolvingSymlinksInPath1 = objc.registerName( - "stringByResolvingSymlinksInPath", - ); - late final _sel_stringsByAppendingPaths_1 = objc.registerName( - "stringsByAppendingPaths:", - ); - late final _sel_completePathIntoString_caseSensitive_matchesIntoArray_filterTypes_1 = - objc.registerName( - "completePathIntoString:caseSensitive:matchesIntoArray:filterTypes:", - ); - int _objc_msgSend_397( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer> outputName, - bool flag, - ffi.Pointer> outputArray, - ffi.Pointer filterTypes, - ) { - return __objc_msgSend_397( - obj, - sel, - outputName, - flag, - outputArray, - filterTypes, - ); - } - - late final __objc_msgSend_397Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Bool, - ffi.Pointer>, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_397 = __objc_msgSend_397Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - bool, - ffi.Pointer>, - ffi.Pointer, - )>(); - - late final _sel_stringByAddingPercentEncodingWithAllowedCharacters_1 = - objc.registerName("stringByAddingPercentEncodingWithAllowedCharacters:"); - ffi.Pointer _objc_msgSend_398( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer allowedCharacters, - ) { - return __objc_msgSend_398(obj, sel, allowedCharacters); - } - - late final __objc_msgSend_398Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_398 = __objc_msgSend_398Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_stringByRemovingPercentEncoding1 = objc.registerName( - "stringByRemovingPercentEncoding", - ); - late final _sel_stringByAddingPercentEscapesUsingEncoding_1 = - objc.registerName("stringByAddingPercentEscapesUsingEncoding:"); - ffi.Pointer _objc_msgSend_399( - ffi.Pointer obj, - ffi.Pointer sel, - int enc, - ) { - return __objc_msgSend_399(obj, sel, enc); - } - - late final __objc_msgSend_399Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - )>>('objc_msgSend'); - late final __objc_msgSend_399 = __objc_msgSend_399Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_stringByReplacingPercentEscapesUsingEncoding_1 = - objc.registerName("stringByReplacingPercentEscapesUsingEncoding:"); - late final _class_NSOrthography1 = objc.getClass("NSOrthography"); - late final _sel_dominantScript1 = objc.registerName("dominantScript"); - late final _sel_languageMap1 = objc.registerName("languageMap"); - late final _sel_initWithDominantScript_languageMap_1 = objc.registerName( - "initWithDominantScript:languageMap:", - ); - instancetype _objc_msgSend_400( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer script, - ffi.Pointer map, - ) { - return __objc_msgSend_400(obj, sel, script, map); - } - - late final __objc_msgSend_400Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_400 = __objc_msgSend_400Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_languagesForScript_1 = objc.registerName( - "languagesForScript:", - ); - late final _sel_dominantLanguageForScript_1 = objc.registerName( - "dominantLanguageForScript:", - ); - late final _sel_dominantLanguage1 = objc.registerName("dominantLanguage"); - late final _sel_allScripts1 = objc.registerName("allScripts"); - late final _sel_allLanguages1 = objc.registerName("allLanguages"); - late final _sel_defaultOrthographyForLanguage_1 = objc.registerName( - "defaultOrthographyForLanguage:", - ); - late final _sel_orthographyWithDominantScript_languageMap_1 = - objc.registerName("orthographyWithDominantScript:languageMap:"); - late final _sel_linguisticTagsInRange_scheme_options_orthography_tokenRanges_1 = - objc.registerName( - "linguisticTagsInRange:scheme:options:orthography:tokenRanges:", - ); - ffi.Pointer _objc_msgSend_401( - ffi.Pointer obj, - ffi.Pointer sel, - _NSRange range, - ffi.Pointer scheme, - int options, - ffi.Pointer orthography, - ffi.Pointer> tokenRanges, - ) { - return __objc_msgSend_401( - obj, - sel, - range, - scheme, - options, - orthography, - tokenRanges, - ); - } - - late final __objc_msgSend_401Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - ffi.Int32, - ffi.Pointer, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_401 = __objc_msgSend_401Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - int, - ffi.Pointer, - ffi.Pointer>, - )>(); - - late final _sel_enumerateLinguisticTagsInRange_scheme_options_orthography_usingBlock_1 = - objc.registerName( - "enumerateLinguisticTagsInRange:scheme:options:orthography:usingBlock:", - ); - void _objc_msgSend_402( - ffi.Pointer obj, - ffi.Pointer sel, - _NSRange range, - ffi.Pointer scheme, - int options, - ffi.Pointer orthography, - ffi.Pointer block, - ) { - return __objc_msgSend_402( - obj, - sel, - range, - scheme, - options, - orthography, - block, - ); - } - - late final __objc_msgSend_402Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - ffi.Int32, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_402 = __objc_msgSend_402Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - int, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_anyObject1 = objc.registerName("anyObject"); - late final _sel_intersectsSet_1 = objc.registerName("intersectsSet:"); - bool _objc_msgSend_403( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer otherSet, - ) { - return __objc_msgSend_403(obj, sel, otherSet); - } - - late final __objc_msgSend_403Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_403 = __objc_msgSend_403Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_isEqualToSet_1 = objc.registerName("isEqualToSet:"); - late final _sel_isSubsetOfSet_1 = objc.registerName("isSubsetOfSet:"); - late final _sel_setByAddingObject_1 = objc.registerName("setByAddingObject:"); - ffi.Pointer _objc_msgSend_404( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer anObject, - ) { - return __objc_msgSend_404(obj, sel, anObject); - } - - late final __objc_msgSend_404Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_404 = __objc_msgSend_404Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_setByAddingObjectsFromSet_1 = objc.registerName( - "setByAddingObjectsFromSet:", - ); - ffi.Pointer _objc_msgSend_405( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer other, - ) { - return __objc_msgSend_405(obj, sel, other); - } - - late final __objc_msgSend_405Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_405 = __objc_msgSend_405Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_setByAddingObjectsFromArray_1 = objc.registerName( - "setByAddingObjectsFromArray:", - ); - ffi.Pointer _objc_msgSend_406( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer other, - ) { - return __objc_msgSend_406(obj, sel, other); - } - - late final __objc_msgSend_406Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_406 = __objc_msgSend_406Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - void _objc_msgSend_407( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer block, - ) { - return __objc_msgSend_407(obj, sel, block); - } - - late final __objc_msgSend_407Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_407 = __objc_msgSend_407Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - void _objc_msgSend_408( - ffi.Pointer obj, - ffi.Pointer sel, - int opts, - ffi.Pointer block, - ) { - return __objc_msgSend_408(obj, sel, opts, block); - } - - late final __objc_msgSend_408Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_408 = __objc_msgSend_408Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - )>(); - - late final _sel_objectsPassingTest_1 = objc.registerName( - "objectsPassingTest:", - ); - ffi.Pointer _objc_msgSend_409( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer predicate, - ) { - return __objc_msgSend_409(obj, sel, predicate); - } - - late final __objc_msgSend_409Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_409 = __objc_msgSend_409Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_objectsWithOptions_passingTest_1 = objc.registerName( - "objectsWithOptions:passingTest:", - ); - ffi.Pointer _objc_msgSend_410( - ffi.Pointer obj, - ffi.Pointer sel, - int opts, - ffi.Pointer predicate, - ) { - return __objc_msgSend_410(obj, sel, opts, predicate); - } - - late final __objc_msgSend_410Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_410 = __objc_msgSend_410Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - )>(); - - late final _sel_set1 = objc.registerName("set"); - late final _sel_setWithObject_1 = objc.registerName("setWithObject:"); - late final _sel_setWithObjects_count_1 = objc.registerName( - "setWithObjects:count:", - ); - late final _sel_setWithObjects_1 = objc.registerName("setWithObjects:"); - late final _sel_setWithSet_1 = objc.registerName("setWithSet:"); - instancetype _objc_msgSend_411( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer set1, - ) { - return __objc_msgSend_411(obj, sel, set1); - } - - late final __objc_msgSend_411Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_411 = __objc_msgSend_411Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_setWithArray_1 = objc.registerName("setWithArray:"); - late final _sel_initWithSet_1 = objc.registerName("initWithSet:"); - late final _sel_initWithSet_copyItems_1 = objc.registerName( - "initWithSet:copyItems:", - ); - instancetype _objc_msgSend_412( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer set1, - bool flag, - ) { - return __objc_msgSend_412(obj, sel, set1, flag); - } - - late final __objc_msgSend_412Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - )>>('objc_msgSend'); - late final __objc_msgSend_412 = __objc_msgSend_412Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - )>(); - - late final _sel_filteredSetUsingPredicate_1 = objc.registerName( - "filteredSetUsingPredicate:", - ); - ffi.Pointer _objc_msgSend_413( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer predicate, - ) { - return __objc_msgSend_413(obj, sel, predicate); - } - - late final __objc_msgSend_413Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_413 = __objc_msgSend_413Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_invocationWithMethodSignature_1 = objc.registerName( - "invocationWithMethodSignature:", - ); - ffi.Pointer _objc_msgSend_414( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer sig, - ) { - return __objc_msgSend_414(obj, sel, sig); - } - - late final __objc_msgSend_414Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_414 = __objc_msgSend_414Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_methodSignature1 = objc.registerName("methodSignature"); - ffi.Pointer _objc_msgSend_415( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_415(obj, sel); - } - - late final __objc_msgSend_415Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_415 = __objc_msgSend_415Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_retainArguments1 = objc.registerName("retainArguments"); - late final _sel_argumentsRetained1 = objc.registerName("argumentsRetained"); - late final _sel_target1 = objc.registerName("target"); - late final _sel_setTarget_1 = objc.registerName("setTarget:"); - void _objc_msgSend_416( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, - ) { - return __objc_msgSend_416(obj, sel, value); - } - - late final __objc_msgSend_416Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_416 = __objc_msgSend_416Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_selector1 = objc.registerName("selector"); - ffi.Pointer _objc_msgSend_417( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_417(obj, sel); - } - - late final __objc_msgSend_417Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_417 = __objc_msgSend_417Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_setSelector_1 = objc.registerName("setSelector:"); - void _objc_msgSend_418( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, - ) { - return __objc_msgSend_418(obj, sel, value); - } - - late final __objc_msgSend_418Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_418 = __objc_msgSend_418Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_getReturnValue_1 = objc.registerName("getReturnValue:"); - late final _sel_setReturnValue_1 = objc.registerName("setReturnValue:"); - late final _sel_getArgument_atIndex_1 = objc.registerName( - "getArgument:atIndex:", - ); - void _objc_msgSend_419( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer argumentLocation, - int idx, - ) { - return __objc_msgSend_419(obj, sel, argumentLocation, idx); - } - - late final __objc_msgSend_419Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Long, - )>>('objc_msgSend'); - late final __objc_msgSend_419 = __objc_msgSend_419Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_setArgument_atIndex_1 = objc.registerName( - "setArgument:atIndex:", - ); - late final _sel_invoke1 = objc.registerName("invoke"); - late final _sel_invokeWithTarget_1 = objc.registerName("invokeWithTarget:"); - late final _sel_invokeUsingIMP_1 = objc.registerName("invokeUsingIMP:"); - void _objc_msgSend_420( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer> imp, - ) { - return __objc_msgSend_420(obj, sel, imp); - } - - late final __objc_msgSend_420Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_420 = __objc_msgSend_420Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>(); - - late final _sel_forwardInvocation_1 = objc.registerName("forwardInvocation:"); - void _objc_msgSend_421( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer anInvocation, - ) { - return __objc_msgSend_421(obj, sel, anInvocation); - } - - late final __objc_msgSend_421Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_421 = __objc_msgSend_421Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_methodSignatureForSelector_1 = objc.registerName( - "methodSignatureForSelector:", - ); - ffi.Pointer _objc_msgSend_422( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aSelector, - ) { - return __objc_msgSend_422(obj, sel, aSelector); - } - - late final __objc_msgSend_422Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_422 = __objc_msgSend_422Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_instanceMethodSignatureForSelector_1 = objc.registerName( - "instanceMethodSignatureForSelector:", - ); - late final _sel_allowsWeakReference1 = objc.registerName( - "allowsWeakReference", - ); - late final _sel_retainWeakReference1 = objc.registerName( - "retainWeakReference", - ); - late final _sel_isSubclassOfClass_1 = objc.registerName("isSubclassOfClass:"); - late final _sel_resolveClassMethod_1 = objc.registerName( - "resolveClassMethod:", - ); - late final _sel_resolveInstanceMethod_1 = objc.registerName( - "resolveInstanceMethod:", - ); - late final _sel_superclass1 = objc.registerName("superclass"); - late final _sel_class1 = objc.registerName("class"); - late final _sel_debugDescription1 = objc.registerName("debugDescription"); - late final _sel_version1 = objc.registerName("version"); - late final _sel_setVersion_1 = objc.registerName("setVersion:"); - void _objc_msgSend_423( - ffi.Pointer obj, - ffi.Pointer sel, - int aVersion, - ) { - return __objc_msgSend_423(obj, sel, aVersion); - } - - late final __objc_msgSend_423Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Long, - )>>('objc_msgSend'); - late final __objc_msgSend_423 = __objc_msgSend_423Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_classForCoder1 = objc.registerName("classForCoder"); - late final _sel_replacementObjectForCoder_1 = objc.registerName( - "replacementObjectForCoder:", - ); - late final _sel_awakeAfterUsingCoder_1 = objc.registerName( - "awakeAfterUsingCoder:", - ); - late final _sel_poseAsClass_1 = objc.registerName("poseAsClass:"); - late final _sel_autoContentAccessingProxy1 = objc.registerName( - "autoContentAccessingProxy", - ); - late final _sel_attemptRecoveryFromError_optionIndex_delegate_didRecoverSelector_contextInfo_1 = - objc.registerName( - "attemptRecoveryFromError:optionIndex:delegate:didRecoverSelector:contextInfo:", - ); - void _objc_msgSend_424( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer error, - int recoveryOptionIndex, - ffi.Pointer delegate, - ffi.Pointer didRecoverSelector, - ffi.Pointer contextInfo, - ) { - return __objc_msgSend_424( - obj, - sel, - error, - recoveryOptionIndex, - delegate, - didRecoverSelector, - contextInfo, - ); - } - - late final __objc_msgSend_424Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_424 = __objc_msgSend_424Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_attemptRecoveryFromError_optionIndex_1 = objc.registerName( - "attemptRecoveryFromError:optionIndex:", - ); - bool _objc_msgSend_425( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer error, - int recoveryOptionIndex, - ) { - return __objc_msgSend_425(obj, sel, error, recoveryOptionIndex); - } - - late final __objc_msgSend_425Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - )>>('objc_msgSend'); - late final __objc_msgSend_425 = __objc_msgSend_425Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_performSelector_withObject_afterDelay_inModes_1 = - objc.registerName("performSelector:withObject:afterDelay:inModes:"); - void _objc_msgSend_426( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aSelector, - ffi.Pointer anArgument, - double delay, - ffi.Pointer modes, - ) { - return __objc_msgSend_426(obj, sel, aSelector, anArgument, delay, modes); - } - - late final __objc_msgSend_426Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Double, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_426 = __objc_msgSend_426Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - double, - ffi.Pointer, - )>(); - - late final _sel_performSelector_withObject_afterDelay_1 = objc.registerName( - "performSelector:withObject:afterDelay:", - ); - void _objc_msgSend_427( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aSelector, - ffi.Pointer anArgument, - double delay, - ) { - return __objc_msgSend_427(obj, sel, aSelector, anArgument, delay); - } - - late final __objc_msgSend_427Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Double, - )>>('objc_msgSend'); - late final __objc_msgSend_427 = __objc_msgSend_427Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - double, - )>(); - - late final _sel_URL_resourceDataDidBecomeAvailable_1 = objc.registerName( - "URL:resourceDataDidBecomeAvailable:", - ); - void _objc_msgSend_428( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer sender, - ffi.Pointer newBytes, - ) { - return __objc_msgSend_428(obj, sel, sender, newBytes); - } - - late final __objc_msgSend_428Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_428 = __objc_msgSend_428Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_URLResourceDidFinishLoading_1 = objc.registerName( - "URLResourceDidFinishLoading:", - ); - void _objc_msgSend_429( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer sender, - ) { - return __objc_msgSend_429(obj, sel, sender); - } - - late final __objc_msgSend_429Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_429 = __objc_msgSend_429Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_URLResourceDidCancelLoading_1 = objc.registerName( - "URLResourceDidCancelLoading:", - ); - late final _sel_URL_resourceDidFailLoadingWithReason_1 = objc.registerName( - "URL:resourceDidFailLoadingWithReason:", - ); - void _objc_msgSend_430( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer sender, - ffi.Pointer reason, - ) { - return __objc_msgSend_430(obj, sel, sender, reason); - } - - late final __objc_msgSend_430Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_430 = __objc_msgSend_430Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _class_NSFileManager1 = objc.getClass("NSFileManager"); - late final _sel_defaultManager1 = objc.registerName("defaultManager"); - ffi.Pointer _objc_msgSend_431( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_431(obj, sel); - } - - late final __objc_msgSend_431Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_431 = __objc_msgSend_431Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_mountedVolumeURLsIncludingResourceValuesForKeys_options_1 = - objc.registerName( - "mountedVolumeURLsIncludingResourceValuesForKeys:options:", - ); - ffi.Pointer _objc_msgSend_432( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer propertyKeys, - int options, - ) { - return __objc_msgSend_432(obj, sel, propertyKeys, options); - } - - late final __objc_msgSend_432Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - )>>('objc_msgSend'); - late final __objc_msgSend_432 = __objc_msgSend_432Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_unmountVolumeAtURL_options_completionHandler_1 = - objc.registerName("unmountVolumeAtURL:options:completionHandler:"); - void _objc_msgSend_433( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, - int mask, - ffi.Pointer completionHandler, - ) { - return __objc_msgSend_433(obj, sel, url, mask, completionHandler); - } - - late final __objc_msgSend_433Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_433 = __objc_msgSend_433Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - )>(); - - late final _sel_contentsOfDirectoryAtURL_includingPropertiesForKeys_options_error_1 = - objc.registerName( - "contentsOfDirectoryAtURL:includingPropertiesForKeys:options:error:", - ); - ffi.Pointer _objc_msgSend_434( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, - ffi.Pointer keys, - int mask, - ffi.Pointer> error, - ) { - return __objc_msgSend_434(obj, sel, url, keys, mask, error); - } - - late final __objc_msgSend_434Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_434 = __objc_msgSend_434Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>, - )>(); - - late final _sel_URLsForDirectory_inDomains_1 = objc.registerName( - "URLsForDirectory:inDomains:", - ); - ffi.Pointer _objc_msgSend_435( - ffi.Pointer obj, - ffi.Pointer sel, - int directory, - int domainMask, - ) { - return __objc_msgSend_435(obj, sel, directory, domainMask); - } - - late final __objc_msgSend_435Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Int32, - )>>('objc_msgSend'); - late final __objc_msgSend_435 = __objc_msgSend_435Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - int, - )>(); - - late final _sel_URLForDirectory_inDomain_appropriateForURL_create_error_1 = - objc.registerName( - "URLForDirectory:inDomain:appropriateForURL:create:error:", - ); - ffi.Pointer _objc_msgSend_436( - ffi.Pointer obj, - ffi.Pointer sel, - int directory, - int domain, - ffi.Pointer url, - bool shouldCreate, - ffi.Pointer> error, - ) { - return __objc_msgSend_436( - obj, - sel, - directory, - domain, - url, - shouldCreate, - error, - ); - } - - late final __objc_msgSend_436Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Int32, - ffi.Pointer, - ffi.Bool, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_436 = __objc_msgSend_436Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - int, - ffi.Pointer, - bool, - ffi.Pointer>, - )>(); - - late final _sel_getRelationship_ofDirectoryAtURL_toItemAtURL_error_1 = - objc.registerName("getRelationship:ofDirectoryAtURL:toItemAtURL:error:"); - bool _objc_msgSend_437( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer outRelationship, - ffi.Pointer directoryURL, - ffi.Pointer otherURL, - ffi.Pointer> error, - ) { - return __objc_msgSend_437( - obj, - sel, - outRelationship, - directoryURL, - otherURL, - error, - ); - } - - late final __objc_msgSend_437Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_437 = __objc_msgSend_437Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>(); - - late final _sel_getRelationship_ofDirectory_inDomain_toItemAtURL_error_1 = - objc.registerName( - "getRelationship:ofDirectory:inDomain:toItemAtURL:error:", - ); - bool _objc_msgSend_438( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer outRelationship, - int directory, - int domainMask, - ffi.Pointer url, - ffi.Pointer> error, - ) { - return __objc_msgSend_438( - obj, - sel, - outRelationship, - directory, - domainMask, - url, - error, - ); - } - - late final __objc_msgSend_438Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Int32, - ffi.Pointer, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_438 = __objc_msgSend_438Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - int, - ffi.Pointer, - ffi.Pointer>, - )>(); - - late final _sel_createDirectoryAtURL_withIntermediateDirectories_attributes_error_1 = - objc.registerName( - "createDirectoryAtURL:withIntermediateDirectories:attributes:error:", - ); - bool _objc_msgSend_439( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, - bool createIntermediates, - ffi.Pointer attributes, - ffi.Pointer> error, - ) { - return __objc_msgSend_439( - obj, - sel, - url, - createIntermediates, - attributes, - error, - ); - } - - late final __objc_msgSend_439Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - ffi.Pointer, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_439 = __objc_msgSend_439Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - ffi.Pointer, - ffi.Pointer>, - )>(); - - late final _sel_createSymbolicLinkAtURL_withDestinationURL_error_1 = - objc.registerName("createSymbolicLinkAtURL:withDestinationURL:error:"); - bool _objc_msgSend_440( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, - ffi.Pointer destURL, - ffi.Pointer> error, - ) { - return __objc_msgSend_440(obj, sel, url, destURL, error); - } - - late final __objc_msgSend_440Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_440 = __objc_msgSend_440Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>(); - - late final _sel_delegate1 = objc.registerName("delegate"); - late final _sel_setDelegate_1 = objc.registerName("setDelegate:"); - late final _sel_setAttributes_ofItemAtPath_error_1 = objc.registerName( - "setAttributes:ofItemAtPath:error:", - ); - bool _objc_msgSend_441( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer attributes, - ffi.Pointer path, - ffi.Pointer> error, - ) { - return __objc_msgSend_441(obj, sel, attributes, path, error); - } - - late final __objc_msgSend_441Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_441 = __objc_msgSend_441Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>(); - - late final _sel_createDirectoryAtPath_withIntermediateDirectories_attributes_error_1 = - objc.registerName( - "createDirectoryAtPath:withIntermediateDirectories:attributes:error:", - ); - bool _objc_msgSend_442( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, - bool createIntermediates, - ffi.Pointer attributes, - ffi.Pointer> error, - ) { - return __objc_msgSend_442( - obj, - sel, - path, - createIntermediates, - attributes, - error, - ); - } - - late final __objc_msgSend_442Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - ffi.Pointer, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_442 = __objc_msgSend_442Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - ffi.Pointer, - ffi.Pointer>, - )>(); - - late final _sel_contentsOfDirectoryAtPath_error_1 = objc.registerName( - "contentsOfDirectoryAtPath:error:", - ); - ffi.Pointer _objc_msgSend_443( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, - ffi.Pointer> error, - ) { - return __objc_msgSend_443(obj, sel, path, error); - } - - late final __objc_msgSend_443Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_443 = __objc_msgSend_443Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>(); - - late final _sel_subpathsOfDirectoryAtPath_error_1 = objc.registerName( - "subpathsOfDirectoryAtPath:error:", - ); - late final _sel_attributesOfItemAtPath_error_1 = objc.registerName( - "attributesOfItemAtPath:error:", - ); - ffi.Pointer _objc_msgSend_444( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, - ffi.Pointer> error, - ) { - return __objc_msgSend_444(obj, sel, path, error); - } - - late final __objc_msgSend_444Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_444 = __objc_msgSend_444Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>(); - - late final _sel_attributesOfFileSystemForPath_error_1 = objc.registerName( - "attributesOfFileSystemForPath:error:", - ); - late final _sel_createSymbolicLinkAtPath_withDestinationPath_error_1 = - objc.registerName("createSymbolicLinkAtPath:withDestinationPath:error:"); - bool _objc_msgSend_445( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, - ffi.Pointer destPath, - ffi.Pointer> error, - ) { - return __objc_msgSend_445(obj, sel, path, destPath, error); - } - - late final __objc_msgSend_445Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_445 = __objc_msgSend_445Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>(); - - late final _sel_destinationOfSymbolicLinkAtPath_error_1 = objc.registerName( - "destinationOfSymbolicLinkAtPath:error:", - ); - ffi.Pointer _objc_msgSend_446( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, - ffi.Pointer> error, - ) { - return __objc_msgSend_446(obj, sel, path, error); - } - - late final __objc_msgSend_446Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_446 = __objc_msgSend_446Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>(); - - late final _sel_copyItemAtPath_toPath_error_1 = objc.registerName( - "copyItemAtPath:toPath:error:", - ); - late final _sel_moveItemAtPath_toPath_error_1 = objc.registerName( - "moveItemAtPath:toPath:error:", - ); - late final _sel_linkItemAtPath_toPath_error_1 = objc.registerName( - "linkItemAtPath:toPath:error:", - ); - late final _sel_removeItemAtPath_error_1 = objc.registerName( - "removeItemAtPath:error:", - ); - bool _objc_msgSend_447( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, - ffi.Pointer> error, - ) { - return __objc_msgSend_447(obj, sel, path, error); - } - - late final __objc_msgSend_447Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_447 = __objc_msgSend_447Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>(); - - late final _sel_copyItemAtURL_toURL_error_1 = objc.registerName( - "copyItemAtURL:toURL:error:", - ); - late final _sel_moveItemAtURL_toURL_error_1 = objc.registerName( - "moveItemAtURL:toURL:error:", - ); - late final _sel_linkItemAtURL_toURL_error_1 = objc.registerName( - "linkItemAtURL:toURL:error:", - ); - late final _sel_removeItemAtURL_error_1 = objc.registerName( - "removeItemAtURL:error:", - ); - late final _sel_trashItemAtURL_resultingItemURL_error_1 = objc.registerName( - "trashItemAtURL:resultingItemURL:error:", - ); - bool _objc_msgSend_448( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, - ffi.Pointer> outResultingURL, - ffi.Pointer> error, - ) { - return __objc_msgSend_448(obj, sel, url, outResultingURL, error); - } - - late final __objc_msgSend_448Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_448 = __objc_msgSend_448Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer>, - )>(); - - late final _sel_fileAttributesAtPath_traverseLink_1 = objc.registerName( - "fileAttributesAtPath:traverseLink:", - ); - ffi.Pointer _objc_msgSend_449( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, - bool yorn, - ) { - return __objc_msgSend_449(obj, sel, path, yorn); - } - - late final __objc_msgSend_449Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - )>>('objc_msgSend'); - late final __objc_msgSend_449 = __objc_msgSend_449Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - )>(); - - late final _sel_changeFileAttributes_atPath_1 = objc.registerName( - "changeFileAttributes:atPath:", - ); - bool _objc_msgSend_450( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer attributes, - ffi.Pointer path, - ) { - return __objc_msgSend_450(obj, sel, attributes, path); - } - - late final __objc_msgSend_450Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_450 = __objc_msgSend_450Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_directoryContentsAtPath_1 = objc.registerName( - "directoryContentsAtPath:", - ); - late final _sel_fileSystemAttributesAtPath_1 = objc.registerName( - "fileSystemAttributesAtPath:", - ); - late final _sel_pathContentOfSymbolicLinkAtPath_1 = objc.registerName( - "pathContentOfSymbolicLinkAtPath:", - ); - late final _sel_createSymbolicLinkAtPath_pathContent_1 = objc.registerName( - "createSymbolicLinkAtPath:pathContent:", - ); - bool _objc_msgSend_451( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, - ffi.Pointer otherpath, - ) { - return __objc_msgSend_451(obj, sel, path, otherpath); - } - - late final __objc_msgSend_451Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_451 = __objc_msgSend_451Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_createDirectoryAtPath_attributes_1 = objc.registerName( - "createDirectoryAtPath:attributes:", - ); - bool _objc_msgSend_452( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, - ffi.Pointer attributes, - ) { - return __objc_msgSend_452(obj, sel, path, attributes); - } - - late final __objc_msgSend_452Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_452 = __objc_msgSend_452Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_linkPath_toPath_handler_1 = objc.registerName( - "linkPath:toPath:handler:", - ); - bool _objc_msgSend_453( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer src, - ffi.Pointer dest, - ffi.Pointer handler, - ) { - return __objc_msgSend_453(obj, sel, src, dest, handler); - } - - late final __objc_msgSend_453Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_453 = __objc_msgSend_453Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_copyPath_toPath_handler_1 = objc.registerName( - "copyPath:toPath:handler:", - ); - late final _sel_movePath_toPath_handler_1 = objc.registerName( - "movePath:toPath:handler:", - ); - late final _sel_removeFileAtPath_handler_1 = objc.registerName( - "removeFileAtPath:handler:", - ); - bool _objc_msgSend_454( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, - ffi.Pointer handler, - ) { - return __objc_msgSend_454(obj, sel, path, handler); - } - - late final __objc_msgSend_454Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_454 = __objc_msgSend_454Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_currentDirectoryPath1 = objc.registerName( - "currentDirectoryPath", - ); - late final _sel_changeCurrentDirectoryPath_1 = objc.registerName( - "changeCurrentDirectoryPath:", - ); - late final _sel_fileExistsAtPath_1 = objc.registerName("fileExistsAtPath:"); - late final _sel_fileExistsAtPath_isDirectory_1 = objc.registerName( - "fileExistsAtPath:isDirectory:", - ); - bool _objc_msgSend_455( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, - ffi.Pointer isDirectory, - ) { - return __objc_msgSend_455(obj, sel, path, isDirectory); - } - - late final __objc_msgSend_455Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_455 = __objc_msgSend_455Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_isReadableFileAtPath_1 = objc.registerName( - "isReadableFileAtPath:", - ); - late final _sel_isWritableFileAtPath_1 = objc.registerName( - "isWritableFileAtPath:", - ); - late final _sel_isExecutableFileAtPath_1 = objc.registerName( - "isExecutableFileAtPath:", - ); - late final _sel_isDeletableFileAtPath_1 = objc.registerName( - "isDeletableFileAtPath:", - ); - late final _sel_contentsEqualAtPath_andPath_1 = objc.registerName( - "contentsEqualAtPath:andPath:", - ); - late final _sel_displayNameAtPath_1 = objc.registerName("displayNameAtPath:"); - late final _sel_componentsToDisplayForPath_1 = objc.registerName( - "componentsToDisplayForPath:", - ); - late final _sel_enumeratorAtPath_1 = objc.registerName("enumeratorAtPath:"); - late final _sel_enumeratorAtURL_includingPropertiesForKeys_options_errorHandler_1 = - objc.registerName( - "enumeratorAtURL:includingPropertiesForKeys:options:errorHandler:", - ); - ffi.Pointer _objc_msgSend_456( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, - ffi.Pointer keys, - int mask, - ffi.Pointer handler, - ) { - return __objc_msgSend_456(obj, sel, url, keys, mask, handler); - } - - late final __objc_msgSend_456Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_456 = __objc_msgSend_456Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - )>(); - - late final _sel_subpathsAtPath_1 = objc.registerName("subpathsAtPath:"); - late final _sel_contentsAtPath_1 = objc.registerName("contentsAtPath:"); - ffi.Pointer _objc_msgSend_457( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, - ) { - return __objc_msgSend_457(obj, sel, path); - } - - late final __objc_msgSend_457Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_457 = __objc_msgSend_457Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_createFileAtPath_contents_attributes_1 = objc.registerName( - "createFileAtPath:contents:attributes:", - ); - bool _objc_msgSend_458( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, - ffi.Pointer data, - ffi.Pointer attr, - ) { - return __objc_msgSend_458(obj, sel, path, data, attr); - } - - late final __objc_msgSend_458Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_458 = __objc_msgSend_458Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_fileSystemRepresentationWithPath_1 = objc.registerName( - "fileSystemRepresentationWithPath:", - ); - ffi.Pointer _objc_msgSend_459( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, - ) { - return __objc_msgSend_459(obj, sel, path); - } - - late final __objc_msgSend_459Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_459 = __objc_msgSend_459Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_stringWithFileSystemRepresentation_length_1 = - objc.registerName("stringWithFileSystemRepresentation:length:"); - ffi.Pointer _objc_msgSend_460( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer str, - int len, - ) { - return __objc_msgSend_460(obj, sel, str, len); - } - - late final __objc_msgSend_460Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - )>>('objc_msgSend'); - late final __objc_msgSend_460 = __objc_msgSend_460Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_replaceItemAtURL_withItemAtURL_backupItemName_options_resultingItemURL_error_1 = - objc.registerName( - "replaceItemAtURL:withItemAtURL:backupItemName:options:resultingItemURL:error:", - ); - bool _objc_msgSend_461( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer originalItemURL, - ffi.Pointer newItemURL, - ffi.Pointer backupItemName, - int options, - ffi.Pointer> resultingURL, - ffi.Pointer> error, - ) { - return __objc_msgSend_461( - obj, - sel, - originalItemURL, - newItemURL, - backupItemName, - options, - resultingURL, - error, - ); - } - - late final __objc_msgSend_461Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer>, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_461 = __objc_msgSend_461Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>, - ffi.Pointer>, - )>(); - - late final _sel_setUbiquitous_itemAtURL_destinationURL_error_1 = - objc.registerName("setUbiquitous:itemAtURL:destinationURL:error:"); - bool _objc_msgSend_462( - ffi.Pointer obj, - ffi.Pointer sel, - bool flag, - ffi.Pointer url, - ffi.Pointer destinationURL, - ffi.Pointer> error, - ) { - return __objc_msgSend_462(obj, sel, flag, url, destinationURL, error); - } - - late final __objc_msgSend_462Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_462 = __objc_msgSend_462Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - bool, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>(); - - late final _sel_isUbiquitousItemAtURL_1 = objc.registerName( - "isUbiquitousItemAtURL:", - ); - late final _sel_startDownloadingUbiquitousItemAtURL_error_1 = - objc.registerName("startDownloadingUbiquitousItemAtURL:error:"); - late final _sel_evictUbiquitousItemAtURL_error_1 = objc.registerName( - "evictUbiquitousItemAtURL:error:", - ); - late final _sel_URLForUbiquityContainerIdentifier_1 = objc.registerName( - "URLForUbiquityContainerIdentifier:", - ); - ffi.Pointer _objc_msgSend_463( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer containerIdentifier, - ) { - return __objc_msgSend_463(obj, sel, containerIdentifier); - } - - late final __objc_msgSend_463Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_463 = __objc_msgSend_463Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_URLForPublishingUbiquitousItemAtURL_expirationDate_error_1 = - objc.registerName( - "URLForPublishingUbiquitousItemAtURL:expirationDate:error:", - ); - ffi.Pointer _objc_msgSend_464( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, - ffi.Pointer> outDate, - ffi.Pointer> error, - ) { - return __objc_msgSend_464(obj, sel, url, outDate, error); - } - - late final __objc_msgSend_464Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_464 = __objc_msgSend_464Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer>, - )>(); - - late final _sel_ubiquityIdentityToken1 = objc.registerName( - "ubiquityIdentityToken", - ); - late final _sel_getFileProviderServicesForItemAtURL_completionHandler_1 = objc - .registerName("getFileProviderServicesForItemAtURL:completionHandler:"); - void _objc_msgSend_465( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, - ffi.Pointer completionHandler, - ) { - return __objc_msgSend_465(obj, sel, url, completionHandler); - } - - late final __objc_msgSend_465Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_465 = __objc_msgSend_465Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_containerURLForSecurityApplicationGroupIdentifier_1 = - objc.registerName("containerURLForSecurityApplicationGroupIdentifier:"); - late final _sel_homeDirectoryForCurrentUser1 = objc.registerName( - "homeDirectoryForCurrentUser", - ); - ffi.Pointer _objc_msgSend_466( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_466(obj, sel); - } - - late final __objc_msgSend_466Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_466 = __objc_msgSend_466Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_temporaryDirectory1 = objc.registerName("temporaryDirectory"); - late final _sel_homeDirectoryForUser_1 = objc.registerName( - "homeDirectoryForUser:", - ); - late final _sel_fileManager_shouldProceedAfterError_1 = objc.registerName( - "fileManager:shouldProceedAfterError:", - ); - bool _objc_msgSend_467( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer fm, - ffi.Pointer errorInfo, - ) { - return __objc_msgSend_467(obj, sel, fm, errorInfo); - } - - late final __objc_msgSend_467Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_467 = __objc_msgSend_467Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_fileManager_willProcessPath_1 = objc.registerName( - "fileManager:willProcessPath:", - ); - void _objc_msgSend_468( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer fm, - ffi.Pointer path, - ) { - return __objc_msgSend_468(obj, sel, fm, path); - } - - late final __objc_msgSend_468Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_468 = __objc_msgSend_468Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_validateValue_forKey_error_1 = objc.registerName( - "validateValue:forKey:error:", - ); - late final _class_NSMutableArray1 = objc.getClass("NSMutableArray"); - late final _sel_addObject_1 = objc.registerName("addObject:"); - late final _sel_insertObject_atIndex_1 = objc.registerName( - "insertObject:atIndex:", - ); - void _objc_msgSend_469( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer anObject, - int index, - ) { - return __objc_msgSend_469(obj, sel, anObject, index); - } - - late final __objc_msgSend_469Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - )>>('objc_msgSend'); - late final __objc_msgSend_469 = __objc_msgSend_469Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_removeLastObject1 = objc.registerName("removeLastObject"); - late final _sel_removeObjectAtIndex_1 = objc.registerName( - "removeObjectAtIndex:", - ); - void _objc_msgSend_470( - ffi.Pointer obj, - ffi.Pointer sel, - int index, - ) { - return __objc_msgSend_470(obj, sel, index); - } - - late final __objc_msgSend_470Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - )>>('objc_msgSend'); - late final __objc_msgSend_470 = __objc_msgSend_470Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_replaceObjectAtIndex_withObject_1 = objc.registerName( - "replaceObjectAtIndex:withObject:", - ); - void _objc_msgSend_471( - ffi.Pointer obj, - ffi.Pointer sel, - int index, - ffi.Pointer anObject, - ) { - return __objc_msgSend_471(obj, sel, index, anObject); - } - - late final __objc_msgSend_471Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_471 = __objc_msgSend_471Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - )>(); - - late final _sel_initWithCapacity_1 = objc.registerName("initWithCapacity:"); - late final _sel_addObjectsFromArray_1 = objc.registerName( - "addObjectsFromArray:", - ); - void _objc_msgSend_472( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer otherArray, - ) { - return __objc_msgSend_472(obj, sel, otherArray); - } - - late final __objc_msgSend_472Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_472 = __objc_msgSend_472Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_exchangeObjectAtIndex_withObjectAtIndex_1 = objc.registerName( - "exchangeObjectAtIndex:withObjectAtIndex:", - ); - void _objc_msgSend_473( - ffi.Pointer obj, - ffi.Pointer sel, - int idx1, - int idx2, - ) { - return __objc_msgSend_473(obj, sel, idx1, idx2); - } - - late final __objc_msgSend_473Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ffi.UnsignedLong, - )>>('objc_msgSend'); - late final __objc_msgSend_473 = __objc_msgSend_473Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - int, - )>(); - - late final _sel_removeAllObjects1 = objc.registerName("removeAllObjects"); - late final _sel_removeObject_inRange_1 = objc.registerName( - "removeObject:inRange:", - ); - void _objc_msgSend_474( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer anObject, - _NSRange range, - ) { - return __objc_msgSend_474(obj, sel, anObject, range); - } - - late final __objc_msgSend_474Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - _NSRange, - )>>('objc_msgSend'); - late final __objc_msgSend_474 = __objc_msgSend_474Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - _NSRange, - )>(); - - late final _sel_removeObject_1 = objc.registerName("removeObject:"); - late final _sel_removeObjectIdenticalTo_inRange_1 = objc.registerName( - "removeObjectIdenticalTo:inRange:", - ); - late final _sel_removeObjectIdenticalTo_1 = objc.registerName( - "removeObjectIdenticalTo:", - ); - late final _sel_removeObjectsFromIndices_numIndices_1 = objc.registerName( - "removeObjectsFromIndices:numIndices:", - ); - void _objc_msgSend_475( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer indices, - int cnt, - ) { - return __objc_msgSend_475(obj, sel, indices, cnt); - } - - late final __objc_msgSend_475Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - )>>('objc_msgSend'); - late final __objc_msgSend_475 = __objc_msgSend_475Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_removeObjectsInArray_1 = objc.registerName( - "removeObjectsInArray:", - ); - late final _sel_removeObjectsInRange_1 = objc.registerName( - "removeObjectsInRange:", - ); - void _objc_msgSend_476( - ffi.Pointer obj, - ffi.Pointer sel, - _NSRange range, - ) { - return __objc_msgSend_476(obj, sel, range); - } - - late final __objc_msgSend_476Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - )>>('objc_msgSend'); - late final __objc_msgSend_476 = __objc_msgSend_476Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - )>(); - - late final _sel_replaceObjectsInRange_withObjectsFromArray_range_1 = - objc.registerName("replaceObjectsInRange:withObjectsFromArray:range:"); - void _objc_msgSend_477( - ffi.Pointer obj, - ffi.Pointer sel, - _NSRange range, - ffi.Pointer otherArray, - _NSRange otherRange, - ) { - return __objc_msgSend_477(obj, sel, range, otherArray, otherRange); - } - - late final __objc_msgSend_477Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - _NSRange, - )>>('objc_msgSend'); - late final __objc_msgSend_477 = __objc_msgSend_477Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - _NSRange, - )>(); - - late final _sel_replaceObjectsInRange_withObjectsFromArray_1 = - objc.registerName("replaceObjectsInRange:withObjectsFromArray:"); - void _objc_msgSend_478( - ffi.Pointer obj, - ffi.Pointer sel, - _NSRange range, - ffi.Pointer otherArray, - ) { - return __objc_msgSend_478(obj, sel, range, otherArray); - } - - late final __objc_msgSend_478Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_478 = __objc_msgSend_478Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - )>(); - - late final _sel_setArray_1 = objc.registerName("setArray:"); - late final _sel_sortUsingFunction_context_1 = objc.registerName( - "sortUsingFunction:context:", - ); - void _objc_msgSend_479( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer< - ffi.NativeFunction< - ffi.Long Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>> - compare, - ffi.Pointer context, - ) { - return __objc_msgSend_479(obj, sel, compare, context); - } - - late final __objc_msgSend_479Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.Long Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_479 = __objc_msgSend_479Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.Long Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>, - ffi.Pointer, - )>(); - - late final _sel_sortUsingSelector_1 = objc.registerName("sortUsingSelector:"); - late final _sel_insertObjects_atIndexes_1 = objc.registerName( - "insertObjects:atIndexes:", - ); - void _objc_msgSend_480( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer objects, - ffi.Pointer indexes, - ) { - return __objc_msgSend_480(obj, sel, objects, indexes); - } - - late final __objc_msgSend_480Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_480 = __objc_msgSend_480Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_removeObjectsAtIndexes_1 = objc.registerName( - "removeObjectsAtIndexes:", - ); - void _objc_msgSend_481( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer indexes, - ) { - return __objc_msgSend_481(obj, sel, indexes); - } - - late final __objc_msgSend_481Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_481 = __objc_msgSend_481Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_replaceObjectsAtIndexes_withObjects_1 = objc.registerName( - "replaceObjectsAtIndexes:withObjects:", - ); - void _objc_msgSend_482( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer indexes, - ffi.Pointer objects, - ) { - return __objc_msgSend_482(obj, sel, indexes, objects); - } - - late final __objc_msgSend_482Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_482 = __objc_msgSend_482Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_setObject_atIndexedSubscript_1 = objc.registerName( - "setObject:atIndexedSubscript:", - ); - late final _sel_sortUsingComparator_1 = objc.registerName( - "sortUsingComparator:", - ); - void _objc_msgSend_483( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer cmptr, - ) { - return __objc_msgSend_483(obj, sel, cmptr); - } - - late final __objc_msgSend_483Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_483 = __objc_msgSend_483Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_sortWithOptions_usingComparator_1 = objc.registerName( - "sortWithOptions:usingComparator:", - ); - void _objc_msgSend_484( - ffi.Pointer obj, - ffi.Pointer sel, - int opts, - ffi.Pointer cmptr, - ) { - return __objc_msgSend_484(obj, sel, opts, cmptr); - } - - late final __objc_msgSend_484Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_484 = __objc_msgSend_484Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - )>(); - - late final _sel_arrayWithCapacity_1 = objc.registerName("arrayWithCapacity:"); - ffi.Pointer _objc_msgSend_485( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, - ) { - return __objc_msgSend_485(obj, sel, path); - } - - late final __objc_msgSend_485Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_485 = __objc_msgSend_485Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - ffi.Pointer _objc_msgSend_486( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, - ) { - return __objc_msgSend_486(obj, sel, url); - } - - late final __objc_msgSend_486Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_486 = __objc_msgSend_486Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_applyDifference_1 = objc.registerName("applyDifference:"); - late final _sel_sortUsingDescriptors_1 = objc.registerName( - "sortUsingDescriptors:", - ); - late final _sel_filterUsingPredicate_1 = objc.registerName( - "filterUsingPredicate:", - ); - void _objc_msgSend_487( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer predicate, - ) { - return __objc_msgSend_487(obj, sel, predicate); - } - - late final __objc_msgSend_487Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_487 = __objc_msgSend_487Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_mutableArrayValueForKey_1 = objc.registerName( - "mutableArrayValueForKey:", - ); - ffi.Pointer _objc_msgSend_488( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer key, - ) { - return __objc_msgSend_488(obj, sel, key); - } - - late final __objc_msgSend_488Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_488 = __objc_msgSend_488Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _class_NSMutableOrderedSet1 = objc.getClass("NSMutableOrderedSet"); - late final _class_NSOrderedSet1 = objc.getClass("NSOrderedSet"); - late final _sel_isEqualToOrderedSet_1 = objc.registerName( - "isEqualToOrderedSet:", - ); - bool _objc_msgSend_489( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer other, - ) { - return __objc_msgSend_489(obj, sel, other); - } - - late final __objc_msgSend_489Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_489 = __objc_msgSend_489Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_intersectsOrderedSet_1 = objc.registerName( - "intersectsOrderedSet:", - ); - late final _sel_isSubsetOfOrderedSet_1 = objc.registerName( - "isSubsetOfOrderedSet:", - ); - late final _sel_reversedOrderedSet1 = objc.registerName("reversedOrderedSet"); - ffi.Pointer _objc_msgSend_490( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_490(obj, sel); - } - - late final __objc_msgSend_490Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_490 = __objc_msgSend_490Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - ffi.Pointer _objc_msgSend_491( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_491(obj, sel); - } - - late final __objc_msgSend_491Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_491 = __objc_msgSend_491Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_orderedSet1 = objc.registerName("orderedSet"); - late final _sel_orderedSetWithObject_1 = objc.registerName( - "orderedSetWithObject:", - ); - late final _sel_orderedSetWithObjects_count_1 = objc.registerName( - "orderedSetWithObjects:count:", - ); - late final _sel_orderedSetWithObjects_1 = objc.registerName( - "orderedSetWithObjects:", - ); - late final _sel_orderedSetWithOrderedSet_1 = objc.registerName( - "orderedSetWithOrderedSet:", - ); - instancetype _objc_msgSend_492( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer set1, - ) { - return __objc_msgSend_492(obj, sel, set1); - } - - late final __objc_msgSend_492Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_492 = __objc_msgSend_492Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_orderedSetWithOrderedSet_range_copyItems_1 = - objc.registerName("orderedSetWithOrderedSet:range:copyItems:"); - instancetype _objc_msgSend_493( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer set1, - _NSRange range, - bool flag, - ) { - return __objc_msgSend_493(obj, sel, set1, range, flag); - } - - late final __objc_msgSend_493Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Bool, - )>>('objc_msgSend'); - late final __objc_msgSend_493 = __objc_msgSend_493Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - _NSRange, - bool, - )>(); - - late final _sel_orderedSetWithArray_1 = objc.registerName( - "orderedSetWithArray:", - ); - late final _sel_orderedSetWithArray_range_copyItems_1 = objc.registerName( - "orderedSetWithArray:range:copyItems:", - ); - instancetype _objc_msgSend_494( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer array, - _NSRange range, - bool flag, - ) { - return __objc_msgSend_494(obj, sel, array, range, flag); - } - - late final __objc_msgSend_494Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Bool, - )>>('objc_msgSend'); - late final __objc_msgSend_494 = __objc_msgSend_494Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - _NSRange, - bool, - )>(); - - late final _sel_orderedSetWithSet_1 = objc.registerName("orderedSetWithSet:"); - late final _sel_orderedSetWithSet_copyItems_1 = objc.registerName( - "orderedSetWithSet:copyItems:", - ); - late final _sel_initWithObject_1 = objc.registerName("initWithObject:"); - late final _sel_initWithOrderedSet_1 = objc.registerName( - "initWithOrderedSet:", - ); - late final _sel_initWithOrderedSet_copyItems_1 = objc.registerName( - "initWithOrderedSet:copyItems:", - ); - instancetype _objc_msgSend_495( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer set1, - bool flag, - ) { - return __objc_msgSend_495(obj, sel, set1, flag); - } - - late final __objc_msgSend_495Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - )>>('objc_msgSend'); - late final __objc_msgSend_495 = __objc_msgSend_495Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - )>(); - - late final _sel_initWithOrderedSet_range_copyItems_1 = objc.registerName( - "initWithOrderedSet:range:copyItems:", - ); - late final _sel_initWithArray_range_copyItems_1 = objc.registerName( - "initWithArray:range:copyItems:", - ); - late final _sel_differenceFromOrderedSet_withOptions_usingEquivalenceTest_1 = - objc.registerName( - "differenceFromOrderedSet:withOptions:usingEquivalenceTest:", - ); - ffi.Pointer _objc_msgSend_496( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer other, - int options, - ffi.Pointer block, - ) { - return __objc_msgSend_496(obj, sel, other, options, block); - } - - late final __objc_msgSend_496Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_496 = __objc_msgSend_496Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - )>(); - - late final _sel_differenceFromOrderedSet_withOptions_1 = objc.registerName( - "differenceFromOrderedSet:withOptions:", - ); - ffi.Pointer _objc_msgSend_497( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer other, - int options, - ) { - return __objc_msgSend_497(obj, sel, other, options); - } - - late final __objc_msgSend_497Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - )>>('objc_msgSend'); - late final __objc_msgSend_497 = __objc_msgSend_497Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_differenceFromOrderedSet_1 = objc.registerName( - "differenceFromOrderedSet:", - ); - late final _sel_orderedSetByApplyingDifference_1 = objc.registerName( - "orderedSetByApplyingDifference:", - ); - ffi.Pointer _objc_msgSend_498( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer difference, - ) { - return __objc_msgSend_498(obj, sel, difference); - } - - late final __objc_msgSend_498Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_498 = __objc_msgSend_498Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_filteredOrderedSetUsingPredicate_1 = objc.registerName( - "filteredOrderedSetUsingPredicate:", - ); - ffi.Pointer _objc_msgSend_499( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer p, - ) { - return __objc_msgSend_499(obj, sel, p); - } - - late final __objc_msgSend_499Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_499 = __objc_msgSend_499Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_addObjects_count_1 = objc.registerName("addObjects:count:"); - void _objc_msgSend_500( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer> objects, - int count, - ) { - return __objc_msgSend_500(obj, sel, objects, count); - } - - late final __objc_msgSend_500Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.UnsignedLong, - )>>('objc_msgSend'); - late final __objc_msgSend_500 = __objc_msgSend_500Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - int, - )>(); - - late final _sel_moveObjectsAtIndexes_toIndex_1 = objc.registerName( - "moveObjectsAtIndexes:toIndex:", - ); - void _objc_msgSend_501( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer indexes, - int idx, - ) { - return __objc_msgSend_501(obj, sel, indexes, idx); - } - - late final __objc_msgSend_501Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - )>>('objc_msgSend'); - late final __objc_msgSend_501 = __objc_msgSend_501Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_setObject_atIndex_1 = objc.registerName("setObject:atIndex:"); - late final _sel_replaceObjectsInRange_withObjects_count_1 = objc.registerName( - "replaceObjectsInRange:withObjects:count:", - ); - void _objc_msgSend_502( - ffi.Pointer obj, - ffi.Pointer sel, - _NSRange range, - ffi.Pointer> objects, - int count, - ) { - return __objc_msgSend_502(obj, sel, range, objects, count); - } - - late final __objc_msgSend_502Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer>, - ffi.UnsignedLong, - )>>('objc_msgSend'); - late final __objc_msgSend_502 = __objc_msgSend_502Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer>, - int, - )>(); - - late final _sel_intersectOrderedSet_1 = objc.registerName( - "intersectOrderedSet:", - ); - void _objc_msgSend_503( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer other, - ) { - return __objc_msgSend_503(obj, sel, other); - } - - late final __objc_msgSend_503Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_503 = __objc_msgSend_503Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_minusOrderedSet_1 = objc.registerName("minusOrderedSet:"); - late final _sel_unionOrderedSet_1 = objc.registerName("unionOrderedSet:"); - late final _sel_intersectSet_1 = objc.registerName("intersectSet:"); - void _objc_msgSend_504( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer other, - ) { - return __objc_msgSend_504(obj, sel, other); - } - - late final __objc_msgSend_504Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_504 = __objc_msgSend_504Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_minusSet_1 = objc.registerName("minusSet:"); - late final _sel_unionSet_1 = objc.registerName("unionSet:"); - late final _sel_sortRange_options_usingComparator_1 = objc.registerName( - "sortRange:options:usingComparator:", - ); - void _objc_msgSend_505( - ffi.Pointer obj, - ffi.Pointer sel, - _NSRange range, - int opts, - ffi.Pointer cmptr, - ) { - return __objc_msgSend_505(obj, sel, range, opts, cmptr); - } - - late final __objc_msgSend_505Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Int32, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_505 = __objc_msgSend_505Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - int, - ffi.Pointer, - )>(); - - late final _sel_orderedSetWithCapacity_1 = objc.registerName( - "orderedSetWithCapacity:", - ); - late final _sel_mutableOrderedSetValueForKey_1 = objc.registerName( - "mutableOrderedSetValueForKey:", - ); - ffi.Pointer _objc_msgSend_506( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer key, - ) { - return __objc_msgSend_506(obj, sel, key); - } - - late final __objc_msgSend_506Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_506 = __objc_msgSend_506Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _class_NSMutableSet1 = objc.getClass("NSMutableSet"); - late final _sel_setSet_1 = objc.registerName("setSet:"); - late final _sel_setWithCapacity_1 = objc.registerName("setWithCapacity:"); - late final _sel_mutableSetValueForKey_1 = objc.registerName( - "mutableSetValueForKey:", - ); - ffi.Pointer _objc_msgSend_507( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer key, - ) { - return __objc_msgSend_507(obj, sel, key); - } - - late final __objc_msgSend_507Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_507 = __objc_msgSend_507Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_valueForKeyPath_1 = objc.registerName("valueForKeyPath:"); - late final _sel_setValue_forKeyPath_1 = objc.registerName( - "setValue:forKeyPath:", - ); - late final _sel_validateValue_forKeyPath_error_1 = objc.registerName( - "validateValue:forKeyPath:error:", - ); - late final _sel_mutableArrayValueForKeyPath_1 = objc.registerName( - "mutableArrayValueForKeyPath:", - ); - late final _sel_mutableOrderedSetValueForKeyPath_1 = objc.registerName( - "mutableOrderedSetValueForKeyPath:", - ); - late final _sel_mutableSetValueForKeyPath_1 = objc.registerName( - "mutableSetValueForKeyPath:", - ); - late final _sel_valueForUndefinedKey_1 = objc.registerName( - "valueForUndefinedKey:", - ); - late final _sel_setValue_forUndefinedKey_1 = objc.registerName( - "setValue:forUndefinedKey:", - ); - late final _sel_setNilValueForKey_1 = objc.registerName("setNilValueForKey:"); - late final _sel_dictionaryWithValuesForKeys_1 = objc.registerName( - "dictionaryWithValuesForKeys:", - ); - ffi.Pointer _objc_msgSend_508( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer keys, - ) { - return __objc_msgSend_508(obj, sel, keys); - } - - late final __objc_msgSend_508Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_508 = __objc_msgSend_508Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_setValuesForKeysWithDictionary_1 = objc.registerName( - "setValuesForKeysWithDictionary:", - ); - void _objc_msgSend_509( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer keyedValues, - ) { - return __objc_msgSend_509(obj, sel, keyedValues); - } - - late final __objc_msgSend_509Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_509 = __objc_msgSend_509Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_storedValueForKey_1 = objc.registerName("storedValueForKey:"); - late final _sel_takeStoredValue_forKey_1 = objc.registerName( - "takeStoredValue:forKey:", - ); - late final _sel_takeValue_forKey_1 = objc.registerName("takeValue:forKey:"); - late final _sel_takeValue_forKeyPath_1 = objc.registerName( - "takeValue:forKeyPath:", - ); - late final _sel_handleQueryWithUnboundKey_1 = objc.registerName( - "handleQueryWithUnboundKey:", - ); - late final _sel_handleTakeValue_forUnboundKey_1 = objc.registerName( - "handleTakeValue:forUnboundKey:", - ); - late final _sel_unableToSetNilForKey_1 = objc.registerName( - "unableToSetNilForKey:", - ); - late final _sel_valuesForKeys_1 = objc.registerName("valuesForKeys:"); - late final _sel_takeValuesFromDictionary_1 = objc.registerName( - "takeValuesFromDictionary:", - ); - late final _sel_observeValueForKeyPath_ofObject_change_context_1 = - objc.registerName("observeValueForKeyPath:ofObject:change:context:"); - void _objc_msgSend_510( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer keyPath, - ffi.Pointer object, - ffi.Pointer change, - ffi.Pointer context, - ) { - return __objc_msgSend_510(obj, sel, keyPath, object, change, context); - } - - late final __objc_msgSend_510Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_510 = __objc_msgSend_510Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_willChangeValueForKey_1 = objc.registerName( - "willChangeValueForKey:", - ); - late final _sel_didChangeValueForKey_1 = objc.registerName( - "didChangeValueForKey:", - ); - late final _sel_willChange_valuesAtIndexes_forKey_1 = objc.registerName( - "willChange:valuesAtIndexes:forKey:", - ); - void _objc_msgSend_511( - ffi.Pointer obj, - ffi.Pointer sel, - int changeKind, - ffi.Pointer indexes, - ffi.Pointer key, - ) { - return __objc_msgSend_511(obj, sel, changeKind, indexes, key); - } - - late final __objc_msgSend_511Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_511 = __objc_msgSend_511Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_didChange_valuesAtIndexes_forKey_1 = objc.registerName( - "didChange:valuesAtIndexes:forKey:", - ); - late final _sel_willChangeValueForKey_withSetMutation_usingObjects_1 = - objc.registerName("willChangeValueForKey:withSetMutation:usingObjects:"); - void _objc_msgSend_512( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer key, - int mutationKind, - ffi.Pointer objects, - ) { - return __objc_msgSend_512(obj, sel, key, mutationKind, objects); - } - - late final __objc_msgSend_512Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_512 = __objc_msgSend_512Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - )>(); - - late final _sel_didChangeValueForKey_withSetMutation_usingObjects_1 = - objc.registerName("didChangeValueForKey:withSetMutation:usingObjects:"); - late final _sel_observationInfo1 = objc.registerName("observationInfo"); - late final _sel_setObservationInfo_1 = objc.registerName( - "setObservationInfo:", - ); - void _objc_msgSend_513( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, - ) { - return __objc_msgSend_513(obj, sel, value); - } - - late final __objc_msgSend_513Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_513 = __objc_msgSend_513Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_classForKeyedArchiver1 = objc.registerName( - "classForKeyedArchiver", - ); - late final _class_NSKeyedArchiver1 = objc.getClass("NSKeyedArchiver"); - late final _sel_initRequiringSecureCoding_1 = objc.registerName( - "initRequiringSecureCoding:", - ); - instancetype _objc_msgSend_514( - ffi.Pointer obj, - ffi.Pointer sel, - bool requiresSecureCoding, - ) { - return __objc_msgSend_514(obj, sel, requiresSecureCoding); - } - - late final __objc_msgSend_514Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - )>>('objc_msgSend'); - late final __objc_msgSend_514 = __objc_msgSend_514Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - bool, - )>(); - - late final _sel_archivedDataWithRootObject_requiringSecureCoding_error_1 = - objc.registerName( - "archivedDataWithRootObject:requiringSecureCoding:error:", - ); - ffi.Pointer _objc_msgSend_515( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer object, - bool requiresSecureCoding, - ffi.Pointer> error, - ) { - return __objc_msgSend_515(obj, sel, object, requiresSecureCoding, error); - } - - late final __objc_msgSend_515Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_515 = __objc_msgSend_515Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - ffi.Pointer>, - )>(); - - late final _class_NSMutableData1 = objc.getClass("NSMutableData"); - late final _sel_mutableBytes1 = objc.registerName("mutableBytes"); - late final _sel_setLength_1 = objc.registerName("setLength:"); - void _objc_msgSend_516( - ffi.Pointer obj, - ffi.Pointer sel, - int value, - ) { - return __objc_msgSend_516(obj, sel, value); - } - - late final __objc_msgSend_516Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - )>>('objc_msgSend'); - late final __objc_msgSend_516 = __objc_msgSend_516Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_appendBytes_length_1 = objc.registerName( - "appendBytes:length:", - ); - late final _sel_appendData_1 = objc.registerName("appendData:"); - late final _sel_increaseLengthBy_1 = objc.registerName("increaseLengthBy:"); - late final _sel_replaceBytesInRange_withBytes_1 = objc.registerName( - "replaceBytesInRange:withBytes:", - ); - void _objc_msgSend_517( - ffi.Pointer obj, - ffi.Pointer sel, - _NSRange range, - ffi.Pointer bytes, - ) { - return __objc_msgSend_517(obj, sel, range, bytes); - } - - late final __objc_msgSend_517Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_517 = __objc_msgSend_517Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - )>(); - - late final _sel_resetBytesInRange_1 = objc.registerName("resetBytesInRange:"); - late final _sel_setData_1 = objc.registerName("setData:"); - late final _sel_replaceBytesInRange_withBytes_length_1 = objc.registerName( - "replaceBytesInRange:withBytes:length:", - ); - void _objc_msgSend_518( - ffi.Pointer obj, - ffi.Pointer sel, - _NSRange range, - ffi.Pointer replacementBytes, - int replacementLength, - ) { - return __objc_msgSend_518( - obj, - sel, - range, - replacementBytes, - replacementLength, - ); - } - - late final __objc_msgSend_518Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - ffi.UnsignedLong, - )>>('objc_msgSend'); - late final __objc_msgSend_518 = __objc_msgSend_518Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - int, - )>(); - - late final _sel_dataWithCapacity_1 = objc.registerName("dataWithCapacity:"); - instancetype _objc_msgSend_519( - ffi.Pointer obj, - ffi.Pointer sel, - int aNumItems, - ) { - return __objc_msgSend_519(obj, sel, aNumItems); - } - - late final __objc_msgSend_519Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - )>>('objc_msgSend'); - late final __objc_msgSend_519 = __objc_msgSend_519Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_dataWithLength_1 = objc.registerName("dataWithLength:"); - late final _sel_initWithLength_1 = objc.registerName("initWithLength:"); - late final _sel_decompressUsingAlgorithm_error_1 = objc.registerName( - "decompressUsingAlgorithm:error:", - ); - bool _objc_msgSend_520( - ffi.Pointer obj, - ffi.Pointer sel, - int algorithm, - ffi.Pointer> error, - ) { - return __objc_msgSend_520(obj, sel, algorithm, error); - } - - late final __objc_msgSend_520Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_520 = __objc_msgSend_520Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>, - )>(); - - late final _sel_compressUsingAlgorithm_error_1 = objc.registerName( - "compressUsingAlgorithm:error:", - ); - late final _sel_initForWritingWithMutableData_1 = objc.registerName( - "initForWritingWithMutableData:", - ); - instancetype _objc_msgSend_521( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer data, - ) { - return __objc_msgSend_521(obj, sel, data); - } - - late final __objc_msgSend_521Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_521 = __objc_msgSend_521Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_archivedDataWithRootObject_1 = objc.registerName( - "archivedDataWithRootObject:", - ); - ffi.Pointer _objc_msgSend_522( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer rootObject, - ) { - return __objc_msgSend_522(obj, sel, rootObject); - } - - late final __objc_msgSend_522Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_522 = __objc_msgSend_522Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_archiveRootObject_toFile_1 = objc.registerName( - "archiveRootObject:toFile:", - ); - late final _sel_outputFormat1 = objc.registerName("outputFormat"); - int _objc_msgSend_523( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_523(obj, sel); - } - - late final __objc_msgSend_523Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_523 = __objc_msgSend_523Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_setOutputFormat_1 = objc.registerName("setOutputFormat:"); - void _objc_msgSend_524( - ffi.Pointer obj, - ffi.Pointer sel, - int value, - ) { - return __objc_msgSend_524(obj, sel, value); - } - - late final __objc_msgSend_524Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - )>>('objc_msgSend'); - late final __objc_msgSend_524 = __objc_msgSend_524Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_encodedData1 = objc.registerName("encodedData"); - late final _sel_finishEncoding1 = objc.registerName("finishEncoding"); - late final _sel_setClassName_forClass_1 = objc.registerName( - "setClassName:forClass:", - ); - void _objc_msgSend_525( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer codedName, - ffi.Pointer cls, - ) { - return __objc_msgSend_525(obj, sel, codedName, cls); - } - - late final __objc_msgSend_525Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_525 = __objc_msgSend_525Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_classNameForClass_1 = objc.registerName("classNameForClass:"); - ffi.Pointer _objc_msgSend_526( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer cls, - ) { - return __objc_msgSend_526(obj, sel, cls); - } - - late final __objc_msgSend_526Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_526 = __objc_msgSend_526Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_setRequiresSecureCoding_1 = objc.registerName( - "setRequiresSecureCoding:", - ); - void _objc_msgSend_527( - ffi.Pointer obj, - ffi.Pointer sel, - bool value, - ) { - return __objc_msgSend_527(obj, sel, value); - } - - late final __objc_msgSend_527Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - )>>('objc_msgSend'); - late final __objc_msgSend_527 = __objc_msgSend_527Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - bool, - )>(); - - late final _sel_replacementObjectForKeyedArchiver_1 = objc.registerName( - "replacementObjectForKeyedArchiver:", - ); - ffi.Pointer _objc_msgSend_528( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer archiver, - ) { - return __objc_msgSend_528(obj, sel, archiver); - } - - late final __objc_msgSend_528Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_528 = __objc_msgSend_528Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_performSelectorOnMainThread_withObject_waitUntilDone_modes_1 = - objc.registerName( - "performSelectorOnMainThread:withObject:waitUntilDone:modes:", - ); - void _objc_msgSend_529( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aSelector, - ffi.Pointer arg, - bool wait, - ffi.Pointer array, - ) { - return __objc_msgSend_529(obj, sel, aSelector, arg, wait, array); - } - - late final __objc_msgSend_529Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_529 = __objc_msgSend_529Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - ffi.Pointer, - )>(); - - late final _sel_performSelectorOnMainThread_withObject_waitUntilDone_1 = objc - .registerName("performSelectorOnMainThread:withObject:waitUntilDone:"); - void _objc_msgSend_530( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aSelector, - ffi.Pointer arg, - bool wait, - ) { - return __objc_msgSend_530(obj, sel, aSelector, arg, wait); - } - - late final __objc_msgSend_530Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - )>>('objc_msgSend'); - late final __objc_msgSend_530 = __objc_msgSend_530Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - )>(); - - late final _class_NSThread1 = objc.getClass("NSThread"); - late final _sel_currentThread1 = objc.registerName("currentThread"); - ffi.Pointer _objc_msgSend_531( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_531(obj, sel); - } - - late final __objc_msgSend_531Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_531 = __objc_msgSend_531Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_detachNewThreadWithBlock_1 = objc.registerName( - "detachNewThreadWithBlock:", - ); - void _objc_msgSend_532( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer block, - ) { - return __objc_msgSend_532(obj, sel, block); - } - - late final __objc_msgSend_532Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_532 = __objc_msgSend_532Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_detachNewThreadSelector_toTarget_withObject_1 = - objc.registerName("detachNewThreadSelector:toTarget:withObject:"); - void _objc_msgSend_533( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer selector, - ffi.Pointer target, - ffi.Pointer argument, - ) { - return __objc_msgSend_533(obj, sel, selector, target, argument); - } - - late final __objc_msgSend_533Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_533 = __objc_msgSend_533Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_isMultiThreaded1 = objc.registerName("isMultiThreaded"); - late final _class_NSMutableDictionary1 = objc.getClass("NSMutableDictionary"); - late final _sel_removeObjectForKey_1 = objc.registerName( - "removeObjectForKey:", - ); - late final _sel_setObject_forKey_1 = objc.registerName("setObject:forKey:"); - void _objc_msgSend_534( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer anObject, - ffi.Pointer aKey, - ) { - return __objc_msgSend_534(obj, sel, anObject, aKey); - } - - late final __objc_msgSend_534Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_534 = __objc_msgSend_534Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_addEntriesFromDictionary_1 = objc.registerName( - "addEntriesFromDictionary:", - ); - late final _sel_removeObjectsForKeys_1 = objc.registerName( - "removeObjectsForKeys:", - ); - late final _sel_setDictionary_1 = objc.registerName("setDictionary:"); - late final _sel_setObject_forKeyedSubscript_1 = objc.registerName( - "setObject:forKeyedSubscript:", - ); - void _objc_msgSend_535( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer obj1, - ffi.Pointer key, - ) { - return __objc_msgSend_535(obj, sel, obj1, key); - } - - late final __objc_msgSend_535Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_535 = __objc_msgSend_535Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_dictionaryWithCapacity_1 = objc.registerName( - "dictionaryWithCapacity:", - ); - ffi.Pointer _objc_msgSend_536( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, - ) { - return __objc_msgSend_536(obj, sel, path); - } - - late final __objc_msgSend_536Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_536 = __objc_msgSend_536Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - ffi.Pointer _objc_msgSend_537( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, - ) { - return __objc_msgSend_537(obj, sel, url); - } - - late final __objc_msgSend_537Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_537 = __objc_msgSend_537Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_dictionaryWithSharedKeySet_1 = objc.registerName( - "dictionaryWithSharedKeySet:", - ); - ffi.Pointer _objc_msgSend_538( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer keyset, - ) { - return __objc_msgSend_538(obj, sel, keyset); - } - - late final __objc_msgSend_538Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_538 = __objc_msgSend_538Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_threadDictionary1 = objc.registerName("threadDictionary"); - ffi.Pointer _objc_msgSend_539( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_539(obj, sel); - } - - late final __objc_msgSend_539Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_539 = __objc_msgSend_539Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_sleepUntilDate_1 = objc.registerName("sleepUntilDate:"); - void _objc_msgSend_540( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer date, - ) { - return __objc_msgSend_540(obj, sel, date); - } - - late final __objc_msgSend_540Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_540 = __objc_msgSend_540Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_sleepForTimeInterval_1 = objc.registerName( - "sleepForTimeInterval:", - ); - void _objc_msgSend_541( - ffi.Pointer obj, - ffi.Pointer sel, - double ti, - ) { - return __objc_msgSend_541(obj, sel, ti); - } - - late final __objc_msgSend_541Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Double, - )>>('objc_msgSend'); - late final __objc_msgSend_541 = __objc_msgSend_541Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - double, - )>(); - - late final _sel_exit1 = objc.registerName("exit"); - late final _sel_threadPriority1 = objc.registerName("threadPriority"); - late final _sel_setThreadPriority_1 = objc.registerName("setThreadPriority:"); - void _objc_msgSend_542( - ffi.Pointer obj, - ffi.Pointer sel, - double value, - ) { - return __objc_msgSend_542(obj, sel, value); - } - - late final __objc_msgSend_542Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Double, - )>>('objc_msgSend'); - late final __objc_msgSend_542 = __objc_msgSend_542Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - double, - )>(); - - late final _sel_qualityOfService1 = objc.registerName("qualityOfService"); - int _objc_msgSend_543( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_543(obj, sel); - } - - late final __objc_msgSend_543Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_543 = __objc_msgSend_543Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_setQualityOfService_1 = objc.registerName( - "setQualityOfService:", - ); - void _objc_msgSend_544( - ffi.Pointer obj, - ffi.Pointer sel, - int value, - ) { - return __objc_msgSend_544(obj, sel, value); - } - - late final __objc_msgSend_544Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - )>>('objc_msgSend'); - late final __objc_msgSend_544 = __objc_msgSend_544Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_callStackReturnAddresses1 = objc.registerName( - "callStackReturnAddresses", - ); - late final _sel_callStackSymbols1 = objc.registerName("callStackSymbols"); - late final _sel_setName_1 = objc.registerName("setName:"); - void _objc_msgSend_545( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, - ) { - return __objc_msgSend_545(obj, sel, value); - } - - late final __objc_msgSend_545Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_545 = __objc_msgSend_545Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_stackSize1 = objc.registerName("stackSize"); - late final _sel_setStackSize_1 = objc.registerName("setStackSize:"); - late final _sel_isMainThread1 = objc.registerName("isMainThread"); - late final _sel_mainThread1 = objc.registerName("mainThread"); - late final _sel_initWithTarget_selector_object_1 = objc.registerName( - "initWithTarget:selector:object:", - ); - instancetype _objc_msgSend_546( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer target, - ffi.Pointer selector, - ffi.Pointer argument, - ) { - return __objc_msgSend_546(obj, sel, target, selector, argument); - } - - late final __objc_msgSend_546Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_546 = __objc_msgSend_546Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_initWithBlock_1 = objc.registerName("initWithBlock:"); - instancetype _objc_msgSend_547( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer block, - ) { - return __objc_msgSend_547(obj, sel, block); - } - - late final __objc_msgSend_547Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_547 = __objc_msgSend_547Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_isExecuting1 = objc.registerName("isExecuting"); - late final _sel_isFinished1 = objc.registerName("isFinished"); - late final _sel_isCancelled1 = objc.registerName("isCancelled"); - late final _sel_cancel1 = objc.registerName("cancel"); - late final _sel_start1 = objc.registerName("start"); - late final _sel_main1 = objc.registerName("main"); - late final _sel_performSelector_onThread_withObject_waitUntilDone_modes_1 = - objc.registerName( - "performSelector:onThread:withObject:waitUntilDone:modes:", - ); - void _objc_msgSend_548( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aSelector, - ffi.Pointer thr, - ffi.Pointer arg, - bool wait, - ffi.Pointer array, - ) { - return __objc_msgSend_548(obj, sel, aSelector, thr, arg, wait, array); - } - - late final __objc_msgSend_548Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_548 = __objc_msgSend_548Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - ffi.Pointer, - )>(); - - late final _sel_performSelector_onThread_withObject_waitUntilDone_1 = - objc.registerName("performSelector:onThread:withObject:waitUntilDone:"); - void _objc_msgSend_549( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aSelector, - ffi.Pointer thr, - ffi.Pointer arg, - bool wait, - ) { - return __objc_msgSend_549(obj, sel, aSelector, thr, arg, wait); - } - - late final __objc_msgSend_549Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - )>>('objc_msgSend'); - late final __objc_msgSend_549 = __objc_msgSend_549Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - )>(); - - late final _sel_performSelectorInBackground_withObject_1 = objc.registerName( - "performSelectorInBackground:withObject:", - ); - late final _sel_classForArchiver1 = objc.registerName("classForArchiver"); - late final _class_NSArchiver1 = objc.getClass("NSArchiver"); - late final _sel_archiverData1 = objc.registerName("archiverData"); - ffi.Pointer _objc_msgSend_550( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_550(obj, sel); - } - - late final __objc_msgSend_550Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_550 = __objc_msgSend_550Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_encodeClassName_intoClassName_1 = objc.registerName( - "encodeClassName:intoClassName:", - ); - void _objc_msgSend_551( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer trueName, - ffi.Pointer inArchiveName, - ) { - return __objc_msgSend_551(obj, sel, trueName, inArchiveName); - } - - late final __objc_msgSend_551Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_551 = __objc_msgSend_551Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_classNameEncodedForTrueClassName_1 = objc.registerName( - "classNameEncodedForTrueClassName:", - ); - late final _sel_replaceObject_withObject_1 = objc.registerName( - "replaceObject:withObject:", - ); - late final _sel_replacementObjectForArchiver_1 = objc.registerName( - "replacementObjectForArchiver:", - ); - ffi.Pointer _objc_msgSend_552( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer archiver, - ) { - return __objc_msgSend_552(obj, sel, archiver); - } - - late final __objc_msgSend_552Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_552 = __objc_msgSend_552Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_classForPortCoder1 = objc.registerName("classForPortCoder"); - late final _class_NSPortCoder1 = objc.getClass("NSPortCoder"); - late final _sel_isBycopy1 = objc.registerName("isBycopy"); - late final _sel_isByref1 = objc.registerName("isByref"); - late final _class_NSPort1 = objc.getClass("NSPort"); - ffi.Pointer _objc_msgSend_553( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_553(obj, sel); - } - - late final __objc_msgSend_553Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_553 = __objc_msgSend_553Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_invalidate1 = objc.registerName("invalidate"); - late final _sel_isValid1 = objc.registerName("isValid"); - late final _class_NSRunLoop1 = objc.getClass("NSRunLoop"); - late final _sel_currentRunLoop1 = objc.registerName("currentRunLoop"); - ffi.Pointer _objc_msgSend_554( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_554(obj, sel); - } - - late final __objc_msgSend_554Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_554 = __objc_msgSend_554Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_mainRunLoop1 = objc.registerName("mainRunLoop"); - late final _sel_currentMode1 = objc.registerName("currentMode"); - late final _sel_getCFRunLoop1 = objc.registerName("getCFRunLoop"); - ffi.Pointer<__CFRunLoop> _objc_msgSend_555( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_555(obj, sel); - } - - late final __objc_msgSend_555Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer<__CFRunLoop> Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_555 = __objc_msgSend_555Ptr.asFunction< - ffi.Pointer<__CFRunLoop> Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _class_NSTimer1 = objc.getClass("NSTimer"); - late final _sel_timerWithTimeInterval_invocation_repeats_1 = - objc.registerName("timerWithTimeInterval:invocation:repeats:"); - ffi.Pointer _objc_msgSend_556( - ffi.Pointer obj, - ffi.Pointer sel, - double ti, - ffi.Pointer invocation, - bool yesOrNo, - ) { - return __objc_msgSend_556(obj, sel, ti, invocation, yesOrNo); - } - - late final __objc_msgSend_556Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Double, - ffi.Pointer, - ffi.Bool, - )>>('objc_msgSend'); - late final __objc_msgSend_556 = __objc_msgSend_556Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - double, - ffi.Pointer, - bool, - )>(); - - late final _sel_scheduledTimerWithTimeInterval_invocation_repeats_1 = - objc.registerName("scheduledTimerWithTimeInterval:invocation:repeats:"); - late final _sel_timerWithTimeInterval_target_selector_userInfo_repeats_1 = - objc.registerName( - "timerWithTimeInterval:target:selector:userInfo:repeats:", - ); - ffi.Pointer _objc_msgSend_557( - ffi.Pointer obj, - ffi.Pointer sel, - double ti, - ffi.Pointer aTarget, - ffi.Pointer aSelector, - ffi.Pointer userInfo, - bool yesOrNo, - ) { - return __objc_msgSend_557( - obj, - sel, - ti, - aTarget, - aSelector, - userInfo, - yesOrNo, - ); - } - - late final __objc_msgSend_557Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Double, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - )>>('objc_msgSend'); - late final __objc_msgSend_557 = __objc_msgSend_557Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - double, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - )>(); - - late final _sel_scheduledTimerWithTimeInterval_target_selector_userInfo_repeats_1 = - objc.registerName( - "scheduledTimerWithTimeInterval:target:selector:userInfo:repeats:", - ); - late final _sel_timerWithTimeInterval_repeats_block_1 = objc.registerName( - "timerWithTimeInterval:repeats:block:", - ); - ffi.Pointer _objc_msgSend_558( - ffi.Pointer obj, - ffi.Pointer sel, - double interval, - bool repeats, - ffi.Pointer block, - ) { - return __objc_msgSend_558(obj, sel, interval, repeats, block); - } - - late final __objc_msgSend_558Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Double, - ffi.Bool, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_558 = __objc_msgSend_558Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - double, - bool, - ffi.Pointer, - )>(); - - late final _sel_scheduledTimerWithTimeInterval_repeats_block_1 = - objc.registerName("scheduledTimerWithTimeInterval:repeats:block:"); - late final _sel_initWithFireDate_interval_repeats_block_1 = objc.registerName( - "initWithFireDate:interval:repeats:block:", - ); - instancetype _objc_msgSend_559( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer date, - double interval, - bool repeats, - ffi.Pointer block, - ) { - return __objc_msgSend_559(obj, sel, date, interval, repeats, block); - } - - late final __objc_msgSend_559Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Double, - ffi.Bool, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_559 = __objc_msgSend_559Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - double, - bool, - ffi.Pointer, - )>(); - - late final _sel_initWithFireDate_interval_target_selector_userInfo_repeats_1 = - objc.registerName( - "initWithFireDate:interval:target:selector:userInfo:repeats:", - ); - instancetype _objc_msgSend_560( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer date, - double ti, - ffi.Pointer t, - ffi.Pointer s, - ffi.Pointer ui, - bool rep, - ) { - return __objc_msgSend_560(obj, sel, date, ti, t, s, ui, rep); - } - - late final __objc_msgSend_560Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Double, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - )>>('objc_msgSend'); - late final __objc_msgSend_560 = __objc_msgSend_560Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - double, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - )>(); - - late final _sel_fire1 = objc.registerName("fire"); - late final _sel_fireDate1 = objc.registerName("fireDate"); - late final _sel_setFireDate_1 = objc.registerName("setFireDate:"); - void _objc_msgSend_561( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, - ) { - return __objc_msgSend_561(obj, sel, value); - } - - late final __objc_msgSend_561Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_561 = __objc_msgSend_561Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_timeInterval1 = objc.registerName("timeInterval"); - late final _sel_tolerance1 = objc.registerName("tolerance"); - late final _sel_setTolerance_1 = objc.registerName("setTolerance:"); - late final _sel_addTimer_forMode_1 = objc.registerName("addTimer:forMode:"); - void _objc_msgSend_562( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer timer, - ffi.Pointer mode, - ) { - return __objc_msgSend_562(obj, sel, timer, mode); - } - - late final __objc_msgSend_562Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_562 = __objc_msgSend_562Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_addPort_forMode_1 = objc.registerName("addPort:forMode:"); - void _objc_msgSend_563( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aPort, - ffi.Pointer mode, - ) { - return __objc_msgSend_563(obj, sel, aPort, mode); - } - - late final __objc_msgSend_563Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_563 = __objc_msgSend_563Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_removePort_forMode_1 = objc.registerName( - "removePort:forMode:", - ); - late final _sel_limitDateForMode_1 = objc.registerName("limitDateForMode:"); - ffi.Pointer _objc_msgSend_564( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer mode, - ) { - return __objc_msgSend_564(obj, sel, mode); - } - - late final __objc_msgSend_564Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_564 = __objc_msgSend_564Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_acceptInputForMode_beforeDate_1 = objc.registerName( - "acceptInputForMode:beforeDate:", - ); - void _objc_msgSend_565( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer mode, - ffi.Pointer limitDate, - ) { - return __objc_msgSend_565(obj, sel, mode, limitDate); - } - - late final __objc_msgSend_565Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_565 = __objc_msgSend_565Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_run1 = objc.registerName("run"); - late final _sel_runUntilDate_1 = objc.registerName("runUntilDate:"); - late final _sel_runMode_beforeDate_1 = objc.registerName( - "runMode:beforeDate:", - ); - bool _objc_msgSend_566( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer mode, - ffi.Pointer limitDate, - ) { - return __objc_msgSend_566(obj, sel, mode, limitDate); - } - - late final __objc_msgSend_566Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_566 = __objc_msgSend_566Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_configureAsServer1 = objc.registerName("configureAsServer"); - late final _sel_performInModes_block_1 = objc.registerName( - "performInModes:block:", - ); - void _objc_msgSend_567( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer modes, - ffi.Pointer block, - ) { - return __objc_msgSend_567(obj, sel, modes, block); - } - - late final __objc_msgSend_567Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_567 = __objc_msgSend_567Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_performBlock_1 = objc.registerName("performBlock:"); - late final _sel_performSelector_target_argument_order_modes_1 = - objc.registerName("performSelector:target:argument:order:modes:"); - void _objc_msgSend_568( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aSelector, - ffi.Pointer target, - ffi.Pointer arg, - int order, - ffi.Pointer modes, - ) { - return __objc_msgSend_568(obj, sel, aSelector, target, arg, order, modes); - } - - late final __objc_msgSend_568Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_568 = __objc_msgSend_568Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - )>(); - - late final _sel_cancelPerformSelector_target_argument_1 = objc.registerName( - "cancelPerformSelector:target:argument:", - ); - late final _sel_cancelPerformSelectorsWithTarget_1 = objc.registerName( - "cancelPerformSelectorsWithTarget:", - ); - late final _sel_scheduleInRunLoop_forMode_1 = objc.registerName( - "scheduleInRunLoop:forMode:", - ); - void _objc_msgSend_569( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer runLoop, - ffi.Pointer mode, - ) { - return __objc_msgSend_569(obj, sel, runLoop, mode); - } - - late final __objc_msgSend_569Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_569 = __objc_msgSend_569Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_removeFromRunLoop_forMode_1 = objc.registerName( - "removeFromRunLoop:forMode:", - ); - late final _sel_reservedSpaceLength1 = objc.registerName( - "reservedSpaceLength", - ); - late final _sel_sendBeforeDate_components_from_reserved_1 = objc.registerName( - "sendBeforeDate:components:from:reserved:", - ); - bool _objc_msgSend_570( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer limitDate, - ffi.Pointer components, - ffi.Pointer receivePort, - int headerSpaceReserved, - ) { - return __objc_msgSend_570( - obj, - sel, - limitDate, - components, - receivePort, - headerSpaceReserved, - ); - } - - late final __objc_msgSend_570Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - )>>('objc_msgSend'); - late final __objc_msgSend_570 = __objc_msgSend_570Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_sendBeforeDate_msgid_components_from_reserved_1 = - objc.registerName("sendBeforeDate:msgid:components:from:reserved:"); - bool _objc_msgSend_571( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer limitDate, - int msgID, - ffi.Pointer components, - ffi.Pointer receivePort, - int headerSpaceReserved, - ) { - return __objc_msgSend_571( - obj, - sel, - limitDate, - msgID, - components, - receivePort, - headerSpaceReserved, - ); - } - - late final __objc_msgSend_571Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - )>>('objc_msgSend'); - late final __objc_msgSend_571 = __objc_msgSend_571Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _class_NSConnection1 = objc.getClass("NSConnection"); - late final _sel_statistics1 = objc.registerName("statistics"); - late final _sel_allConnections1 = objc.registerName("allConnections"); - late final _sel_defaultConnection1 = objc.registerName("defaultConnection"); - ffi.Pointer _objc_msgSend_572( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_572(obj, sel); - } - - late final __objc_msgSend_572Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_572 = __objc_msgSend_572Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_connectionWithRegisteredName_host_1 = objc.registerName( - "connectionWithRegisteredName:host:", - ); - instancetype _objc_msgSend_573( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer name, - ffi.Pointer hostName, - ) { - return __objc_msgSend_573(obj, sel, name, hostName); - } - - late final __objc_msgSend_573Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_573 = __objc_msgSend_573Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _class_NSPortNameServer1 = objc.getClass("NSPortNameServer"); - late final _sel_systemDefaultPortNameServer1 = objc.registerName( - "systemDefaultPortNameServer", - ); - ffi.Pointer _objc_msgSend_574( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_574(obj, sel); - } - - late final __objc_msgSend_574Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_574 = __objc_msgSend_574Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_portForName_1 = objc.registerName("portForName:"); - ffi.Pointer _objc_msgSend_575( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer name, - ) { - return __objc_msgSend_575(obj, sel, name); - } - - late final __objc_msgSend_575Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_575 = __objc_msgSend_575Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_portForName_host_1 = objc.registerName("portForName:host:"); - ffi.Pointer _objc_msgSend_576( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer name, - ffi.Pointer host, - ) { - return __objc_msgSend_576(obj, sel, name, host); - } - - late final __objc_msgSend_576Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_576 = __objc_msgSend_576Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_registerPort_name_1 = objc.registerName("registerPort:name:"); - bool _objc_msgSend_577( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer port, - ffi.Pointer name, - ) { - return __objc_msgSend_577(obj, sel, port, name); - } - - late final __objc_msgSend_577Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_577 = __objc_msgSend_577Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_removePortForName_1 = objc.registerName("removePortForName:"); - late final _sel_connectionWithRegisteredName_host_usingNameServer_1 = - objc.registerName("connectionWithRegisteredName:host:usingNameServer:"); - instancetype _objc_msgSend_578( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer name, - ffi.Pointer hostName, - ffi.Pointer server, - ) { - return __objc_msgSend_578(obj, sel, name, hostName, server); - } - - late final __objc_msgSend_578Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_578 = __objc_msgSend_578Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _class_NSDistantObject1 = objc.getClass("NSDistantObject"); - late final _class_NSProxy1 = objc.getClass("NSProxy"); - ffi.Pointer _objc_msgSend_579( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer sel1, - ) { - return __objc_msgSend_579(obj, sel, sel1); - } - - late final __objc_msgSend_579Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_579 = __objc_msgSend_579Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_respondsToSelector_1 = objc.registerName( - "respondsToSelector:", - ); - late final _sel_proxyWithTarget_connection_1 = objc.registerName( - "proxyWithTarget:connection:", - ); - ffi.Pointer _objc_msgSend_580( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer target, - ffi.Pointer connection, - ) { - return __objc_msgSend_580(obj, sel, target, connection); - } - - late final __objc_msgSend_580Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_580 = __objc_msgSend_580Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_initWithTarget_connection_1 = objc.registerName( - "initWithTarget:connection:", - ); - late final _sel_proxyWithLocal_connection_1 = objc.registerName( - "proxyWithLocal:connection:", - ); - ffi.Pointer _objc_msgSend_581( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer target, - ffi.Pointer connection, - ) { - return __objc_msgSend_581(obj, sel, target, connection); - } - - late final __objc_msgSend_581Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_581 = __objc_msgSend_581Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_initWithLocal_connection_1 = objc.registerName( - "initWithLocal:connection:", - ); - late final _sel_setProtocolForProxy_1 = objc.registerName( - "setProtocolForProxy:", - ); - void _objc_msgSend_582( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer proto, - ) { - return __objc_msgSend_582(obj, sel, proto); - } - - late final __objc_msgSend_582Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_582 = __objc_msgSend_582Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_connectionForProxy1 = objc.registerName("connectionForProxy"); - late final _sel_rootProxyForConnectionWithRegisteredName_host_1 = - objc.registerName("rootProxyForConnectionWithRegisteredName:host:"); - ffi.Pointer _objc_msgSend_583( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer name, - ffi.Pointer hostName, - ) { - return __objc_msgSend_583(obj, sel, name, hostName); - } - - late final __objc_msgSend_583Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_583 = __objc_msgSend_583Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_rootProxyForConnectionWithRegisteredName_host_usingNameServer_1 = - objc.registerName( - "rootProxyForConnectionWithRegisteredName:host:usingNameServer:", - ); - ffi.Pointer _objc_msgSend_584( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer name, - ffi.Pointer hostName, - ffi.Pointer server, - ) { - return __objc_msgSend_584(obj, sel, name, hostName, server); - } - - late final __objc_msgSend_584Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_584 = __objc_msgSend_584Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_serviceConnectionWithName_rootObject_usingNameServer_1 = objc - .registerName("serviceConnectionWithName:rootObject:usingNameServer:"); - instancetype _objc_msgSend_585( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer name, - ffi.Pointer root, - ffi.Pointer server, - ) { - return __objc_msgSend_585(obj, sel, name, root, server); - } - - late final __objc_msgSend_585Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_585 = __objc_msgSend_585Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_serviceConnectionWithName_rootObject_1 = objc.registerName( - "serviceConnectionWithName:rootObject:", - ); - instancetype _objc_msgSend_586( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer name, - ffi.Pointer root, - ) { - return __objc_msgSend_586(obj, sel, name, root); - } - - late final __objc_msgSend_586Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_586 = __objc_msgSend_586Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_requestTimeout1 = objc.registerName("requestTimeout"); - late final _sel_setRequestTimeout_1 = objc.registerName("setRequestTimeout:"); - late final _sel_replyTimeout1 = objc.registerName("replyTimeout"); - late final _sel_setReplyTimeout_1 = objc.registerName("setReplyTimeout:"); - late final _sel_rootObject1 = objc.registerName("rootObject"); - late final _sel_setRootObject_1 = objc.registerName("setRootObject:"); - late final _sel_independentConversationQueueing1 = objc.registerName( - "independentConversationQueueing", - ); - late final _sel_setIndependentConversationQueueing_1 = objc.registerName( - "setIndependentConversationQueueing:", - ); - late final _sel_rootProxy1 = objc.registerName("rootProxy"); - ffi.Pointer _objc_msgSend_587( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_587(obj, sel); - } - - late final __objc_msgSend_587Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_587 = __objc_msgSend_587Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_addRequestMode_1 = objc.registerName("addRequestMode:"); - late final _sel_removeRequestMode_1 = objc.registerName("removeRequestMode:"); - late final _sel_requestModes1 = objc.registerName("requestModes"); - late final _sel_registerName_1 = objc.registerName("registerName:"); - bool _objc_msgSend_588( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer name, - ) { - return __objc_msgSend_588(obj, sel, name); - } - - late final __objc_msgSend_588Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_588 = __objc_msgSend_588Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_registerName_withNameServer_1 = objc.registerName( - "registerName:withNameServer:", - ); - bool _objc_msgSend_589( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer name, - ffi.Pointer server, - ) { - return __objc_msgSend_589(obj, sel, name, server); - } - - late final __objc_msgSend_589Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_589 = __objc_msgSend_589Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_connectionWithReceivePort_sendPort_1 = objc.registerName( - "connectionWithReceivePort:sendPort:", - ); - instancetype _objc_msgSend_590( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer receivePort, - ffi.Pointer sendPort, - ) { - return __objc_msgSend_590(obj, sel, receivePort, sendPort); - } - - late final __objc_msgSend_590Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_590 = __objc_msgSend_590Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_currentConversation1 = objc.registerName( - "currentConversation", - ); - late final _sel_initWithReceivePort_sendPort_1 = objc.registerName( - "initWithReceivePort:sendPort:", - ); - late final _sel_sendPort1 = objc.registerName("sendPort"); - late final _sel_receivePort1 = objc.registerName("receivePort"); - late final _sel_enableMultipleThreads1 = objc.registerName( - "enableMultipleThreads", - ); - late final _sel_multipleThreadsEnabled1 = objc.registerName( - "multipleThreadsEnabled", - ); - late final _sel_addRunLoop_1 = objc.registerName("addRunLoop:"); - void _objc_msgSend_591( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer runloop, - ) { - return __objc_msgSend_591(obj, sel, runloop); - } - - late final __objc_msgSend_591Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_591 = __objc_msgSend_591Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_removeRunLoop_1 = objc.registerName("removeRunLoop:"); - late final _sel_runInNewThread1 = objc.registerName("runInNewThread"); - late final _sel_remoteObjects1 = objc.registerName("remoteObjects"); - late final _sel_localObjects1 = objc.registerName("localObjects"); - late final _sel_dispatchWithComponents_1 = objc.registerName( - "dispatchWithComponents:", - ); - late final _sel_addConnection_toRunLoop_forMode_1 = objc.registerName( - "addConnection:toRunLoop:forMode:", - ); - void _objc_msgSend_592( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer conn, - ffi.Pointer runLoop, - ffi.Pointer mode, - ) { - return __objc_msgSend_592(obj, sel, conn, runLoop, mode); - } - - late final __objc_msgSend_592Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_592 = __objc_msgSend_592Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_removeConnection_fromRunLoop_forMode_1 = objc.registerName( - "removeConnection:fromRunLoop:forMode:", - ); - late final _sel_encodePortObject_1 = objc.registerName("encodePortObject:"); - void _objc_msgSend_593( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aport, - ) { - return __objc_msgSend_593(obj, sel, aport); - } - - late final __objc_msgSend_593Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_593 = __objc_msgSend_593Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_decodePortObject1 = objc.registerName("decodePortObject"); - ffi.Pointer _objc_msgSend_594( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_594(obj, sel); - } - - late final __objc_msgSend_594Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_594 = __objc_msgSend_594Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_connection1 = objc.registerName("connection"); - ffi.Pointer _objc_msgSend_595( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_595(obj, sel); - } - - late final __objc_msgSend_595Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_595 = __objc_msgSend_595Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_portCoderWithReceivePort_sendPort_components_1 = - objc.registerName("portCoderWithReceivePort:sendPort:components:"); - ffi.Pointer _objc_msgSend_596( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer rcvPort, - ffi.Pointer sndPort, - ffi.Pointer comps, - ) { - return __objc_msgSend_596(obj, sel, rcvPort, sndPort, comps); - } - - late final __objc_msgSend_596Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_596 = __objc_msgSend_596Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_initWithReceivePort_sendPort_components_1 = objc.registerName( - "initWithReceivePort:sendPort:components:", - ); - late final _sel_dispatch1 = objc.registerName("dispatch"); - late final _sel_replacementObjectForPortCoder_1 = objc.registerName( - "replacementObjectForPortCoder:", - ); - ffi.Pointer _objc_msgSend_597( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer coder, - ) { - return __objc_msgSend_597(obj, sel, coder); - } - - late final __objc_msgSend_597Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_597 = __objc_msgSend_597Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _class_NSClassDescription1 = objc.getClass("NSClassDescription"); - late final _sel_registerClassDescription_forClass_1 = objc.registerName( - "registerClassDescription:forClass:", - ); - void _objc_msgSend_598( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer description, - ffi.Pointer aClass, - ) { - return __objc_msgSend_598(obj, sel, description, aClass); - } - - late final __objc_msgSend_598Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_598 = __objc_msgSend_598Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_invalidateClassDescriptionCache1 = objc.registerName( - "invalidateClassDescriptionCache", - ); - late final _sel_classDescriptionForClass_1 = objc.registerName( - "classDescriptionForClass:", - ); - ffi.Pointer _objc_msgSend_599( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aClass, - ) { - return __objc_msgSend_599(obj, sel, aClass); - } - - late final __objc_msgSend_599Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_599 = __objc_msgSend_599Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_attributeKeys1 = objc.registerName("attributeKeys"); - late final _sel_toOneRelationshipKeys1 = objc.registerName( - "toOneRelationshipKeys", - ); - late final _sel_toManyRelationshipKeys1 = objc.registerName( - "toManyRelationshipKeys", - ); - late final _sel_inverseForRelationshipKey_1 = objc.registerName( - "inverseForRelationshipKey:", - ); - late final _sel_classDescription1 = objc.registerName("classDescription"); - ffi.Pointer _objc_msgSend_600( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_600(obj, sel); - } - - late final __objc_msgSend_600Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_600 = __objc_msgSend_600Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _class_NSScriptObjectSpecifier1 = objc.getClass( - "NSScriptObjectSpecifier", - ); - late final _class_NSAppleEventDescriptor1 = objc.getClass( - "NSAppleEventDescriptor", - ); - late final _sel_nullDescriptor1 = objc.registerName("nullDescriptor"); - ffi.Pointer _objc_msgSend_601( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_601(obj, sel); - } - - late final __objc_msgSend_601Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_601 = __objc_msgSend_601Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_descriptorWithDescriptorType_bytes_length_1 = - objc.registerName("descriptorWithDescriptorType:bytes:length:"); - ffi.Pointer _objc_msgSend_602( - ffi.Pointer obj, - ffi.Pointer sel, - int descriptorType, - ffi.Pointer bytes, - int byteCount, - ) { - return __objc_msgSend_602(obj, sel, descriptorType, bytes, byteCount); - } - - late final __objc_msgSend_602Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedInt, - ffi.Pointer, - ffi.UnsignedLong, - )>>('objc_msgSend'); - late final __objc_msgSend_602 = __objc_msgSend_602Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - int, - )>(); - - late final _sel_descriptorWithDescriptorType_data_1 = objc.registerName( - "descriptorWithDescriptorType:data:", - ); - ffi.Pointer _objc_msgSend_603( - ffi.Pointer obj, - ffi.Pointer sel, - int descriptorType, - ffi.Pointer data, - ) { - return __objc_msgSend_603(obj, sel, descriptorType, data); - } - - late final __objc_msgSend_603Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedInt, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_603 = __objc_msgSend_603Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - )>(); - - late final _sel_descriptorWithBoolean_1 = objc.registerName( - "descriptorWithBoolean:", - ); - ffi.Pointer _objc_msgSend_604( - ffi.Pointer obj, - ffi.Pointer sel, - int boolean, - ) { - return __objc_msgSend_604(obj, sel, boolean); - } - - late final __objc_msgSend_604Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedChar, - )>>('objc_msgSend'); - late final __objc_msgSend_604 = __objc_msgSend_604Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_descriptorWithEnumCode_1 = objc.registerName( - "descriptorWithEnumCode:", - ); - ffi.Pointer _objc_msgSend_605( - ffi.Pointer obj, - ffi.Pointer sel, - int enumerator, - ) { - return __objc_msgSend_605(obj, sel, enumerator); - } - - late final __objc_msgSend_605Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedInt, - )>>('objc_msgSend'); - late final __objc_msgSend_605 = __objc_msgSend_605Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_descriptorWithInt32_1 = objc.registerName( - "descriptorWithInt32:", - ); - ffi.Pointer _objc_msgSend_606( - ffi.Pointer obj, - ffi.Pointer sel, - int signedInt, - ) { - return __objc_msgSend_606(obj, sel, signedInt); - } - - late final __objc_msgSend_606Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int, - )>>('objc_msgSend'); - late final __objc_msgSend_606 = __objc_msgSend_606Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_descriptorWithDouble_1 = objc.registerName( - "descriptorWithDouble:", - ); - ffi.Pointer _objc_msgSend_607( - ffi.Pointer obj, - ffi.Pointer sel, - double doubleValue, - ) { - return __objc_msgSend_607(obj, sel, doubleValue); - } - - late final __objc_msgSend_607Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Double, - )>>('objc_msgSend'); - late final __objc_msgSend_607 = __objc_msgSend_607Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - double, - )>(); - - late final _sel_descriptorWithTypeCode_1 = objc.registerName( - "descriptorWithTypeCode:", - ); - late final _sel_descriptorWithString_1 = objc.registerName( - "descriptorWithString:", - ); - ffi.Pointer _objc_msgSend_608( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer string, - ) { - return __objc_msgSend_608(obj, sel, string); - } - - late final __objc_msgSend_608Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_608 = __objc_msgSend_608Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_descriptorWithDate_1 = objc.registerName( - "descriptorWithDate:", - ); - ffi.Pointer _objc_msgSend_609( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer date, - ) { - return __objc_msgSend_609(obj, sel, date); - } - - late final __objc_msgSend_609Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_609 = __objc_msgSend_609Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_descriptorWithFileURL_1 = objc.registerName( - "descriptorWithFileURL:", - ); - ffi.Pointer _objc_msgSend_610( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer fileURL, - ) { - return __objc_msgSend_610(obj, sel, fileURL); - } - - late final __objc_msgSend_610Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_610 = __objc_msgSend_610Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_appleEventWithEventClass_eventID_targetDescriptor_returnID_transactionID_1 = - objc.registerName( - "appleEventWithEventClass:eventID:targetDescriptor:returnID:transactionID:", - ); - ffi.Pointer _objc_msgSend_611( - ffi.Pointer obj, - ffi.Pointer sel, - int eventClass, - int eventID, - ffi.Pointer targetDescriptor, - int returnID, - int transactionID, - ) { - return __objc_msgSend_611( - obj, - sel, - eventClass, - eventID, - targetDescriptor, - returnID, - transactionID, - ); - } - - late final __objc_msgSend_611Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedInt, - ffi.UnsignedInt, - ffi.Pointer, - ffi.Short, - ffi.Int, - )>>('objc_msgSend'); - late final __objc_msgSend_611 = __objc_msgSend_611Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - int, - ffi.Pointer, - int, - int, - )>(); - - late final _sel_listDescriptor1 = objc.registerName("listDescriptor"); - late final _sel_recordDescriptor1 = objc.registerName("recordDescriptor"); - late final _sel_currentProcessDescriptor1 = objc.registerName( - "currentProcessDescriptor", - ); - late final _sel_descriptorWithProcessIdentifier_1 = objc.registerName( - "descriptorWithProcessIdentifier:", - ); - late final _sel_descriptorWithBundleIdentifier_1 = objc.registerName( - "descriptorWithBundleIdentifier:", - ); - late final _sel_descriptorWithApplicationURL_1 = objc.registerName( - "descriptorWithApplicationURL:", - ); - late final _sel_initWithAEDescNoCopy_1 = objc.registerName( - "initWithAEDescNoCopy:", - ); - instancetype _objc_msgSend_612( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aeDesc, - ) { - return __objc_msgSend_612(obj, sel, aeDesc); - } - - late final __objc_msgSend_612Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_612 = __objc_msgSend_612Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_initWithDescriptorType_bytes_length_1 = objc.registerName( - "initWithDescriptorType:bytes:length:", - ); - instancetype _objc_msgSend_613( - ffi.Pointer obj, - ffi.Pointer sel, - int descriptorType, - ffi.Pointer bytes, - int byteCount, - ) { - return __objc_msgSend_613(obj, sel, descriptorType, bytes, byteCount); - } - - late final __objc_msgSend_613Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedInt, - ffi.Pointer, - ffi.UnsignedLong, - )>>('objc_msgSend'); - late final __objc_msgSend_613 = __objc_msgSend_613Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - int, - )>(); - - late final _sel_initWithDescriptorType_data_1 = objc.registerName( - "initWithDescriptorType:data:", - ); - instancetype _objc_msgSend_614( - ffi.Pointer obj, - ffi.Pointer sel, - int descriptorType, - ffi.Pointer data, - ) { - return __objc_msgSend_614(obj, sel, descriptorType, data); - } - - late final __objc_msgSend_614Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedInt, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_614 = __objc_msgSend_614Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - )>(); - - late final _sel_initWithEventClass_eventID_targetDescriptor_returnID_transactionID_1 = - objc.registerName( - "initWithEventClass:eventID:targetDescriptor:returnID:transactionID:", - ); - instancetype _objc_msgSend_615( - ffi.Pointer obj, - ffi.Pointer sel, - int eventClass, - int eventID, - ffi.Pointer targetDescriptor, - int returnID, - int transactionID, - ) { - return __objc_msgSend_615( - obj, - sel, - eventClass, - eventID, - targetDescriptor, - returnID, - transactionID, - ); - } - - late final __objc_msgSend_615Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedInt, - ffi.UnsignedInt, - ffi.Pointer, - ffi.Short, - ffi.Int, - )>>('objc_msgSend'); - late final __objc_msgSend_615 = __objc_msgSend_615Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - int, - int, - ffi.Pointer, - int, - int, - )>(); - - late final _sel_initListDescriptor1 = objc.registerName("initListDescriptor"); - late final _sel_initRecordDescriptor1 = objc.registerName( - "initRecordDescriptor", - ); - late final _sel_aeDesc1 = objc.registerName("aeDesc"); - ffi.Pointer _objc_msgSend_616( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_616(obj, sel); - } - - late final __objc_msgSend_616Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_616 = __objc_msgSend_616Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_descriptorType1 = objc.registerName("descriptorType"); - late final _sel_booleanValue1 = objc.registerName("booleanValue"); - late final _sel_enumCodeValue1 = objc.registerName("enumCodeValue"); - late final _sel_int32Value1 = objc.registerName("int32Value"); - late final _sel_typeCodeValue1 = objc.registerName("typeCodeValue"); - late final _sel_dateValue1 = objc.registerName("dateValue"); - late final _sel_fileURLValue1 = objc.registerName("fileURLValue"); - late final _sel_eventClass1 = objc.registerName("eventClass"); - late final _sel_eventID1 = objc.registerName("eventID"); - late final _sel_returnID1 = objc.registerName("returnID"); - late final _sel_transactionID1 = objc.registerName("transactionID"); - late final _sel_setParamDescriptor_forKeyword_1 = objc.registerName( - "setParamDescriptor:forKeyword:", - ); - void _objc_msgSend_617( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer descriptor, - int keyword, - ) { - return __objc_msgSend_617(obj, sel, descriptor, keyword); - } - - late final __objc_msgSend_617Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedInt, - )>>('objc_msgSend'); - late final __objc_msgSend_617 = __objc_msgSend_617Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_paramDescriptorForKeyword_1 = objc.registerName( - "paramDescriptorForKeyword:", - ); - ffi.Pointer _objc_msgSend_618( - ffi.Pointer obj, - ffi.Pointer sel, - int keyword, - ) { - return __objc_msgSend_618(obj, sel, keyword); - } - - late final __objc_msgSend_618Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedInt, - )>>('objc_msgSend'); - late final __objc_msgSend_618 = __objc_msgSend_618Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_removeParamDescriptorWithKeyword_1 = objc.registerName( - "removeParamDescriptorWithKeyword:", - ); - void _objc_msgSend_619( - ffi.Pointer obj, - ffi.Pointer sel, - int keyword, - ) { - return __objc_msgSend_619(obj, sel, keyword); - } - - late final __objc_msgSend_619Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedInt, - )>>('objc_msgSend'); - late final __objc_msgSend_619 = __objc_msgSend_619Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_setAttributeDescriptor_forKeyword_1 = objc.registerName( - "setAttributeDescriptor:forKeyword:", - ); - late final _sel_attributeDescriptorForKeyword_1 = objc.registerName( - "attributeDescriptorForKeyword:", - ); - late final _sel_sendEventWithOptions_timeout_error_1 = objc.registerName( - "sendEventWithOptions:timeout:error:", - ); - ffi.Pointer _objc_msgSend_620( - ffi.Pointer obj, - ffi.Pointer sel, - int sendOptions, - double timeoutInSeconds, - ffi.Pointer> error, - ) { - return __objc_msgSend_620(obj, sel, sendOptions, timeoutInSeconds, error); - } - - late final __objc_msgSend_620Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Double, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_620 = __objc_msgSend_620Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - double, - ffi.Pointer>, - )>(); - - late final _sel_isRecordDescriptor1 = objc.registerName("isRecordDescriptor"); - late final _sel_numberOfItems1 = objc.registerName("numberOfItems"); - late final _sel_insertDescriptor_atIndex_1 = objc.registerName( - "insertDescriptor:atIndex:", - ); - void _objc_msgSend_621( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer descriptor, - int index, - ) { - return __objc_msgSend_621(obj, sel, descriptor, index); - } - - late final __objc_msgSend_621Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Long, - )>>('objc_msgSend'); - late final __objc_msgSend_621 = __objc_msgSend_621Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_descriptorAtIndex_1 = objc.registerName("descriptorAtIndex:"); - ffi.Pointer _objc_msgSend_622( - ffi.Pointer obj, - ffi.Pointer sel, - int index, - ) { - return __objc_msgSend_622(obj, sel, index); - } - - late final __objc_msgSend_622Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Long, - )>>('objc_msgSend'); - late final __objc_msgSend_622 = __objc_msgSend_622Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_removeDescriptorAtIndex_1 = objc.registerName( - "removeDescriptorAtIndex:", - ); - late final _sel_setDescriptor_forKeyword_1 = objc.registerName( - "setDescriptor:forKeyword:", - ); - late final _sel_descriptorForKeyword_1 = objc.registerName( - "descriptorForKeyword:", - ); - late final _sel_removeDescriptorWithKeyword_1 = objc.registerName( - "removeDescriptorWithKeyword:", - ); - late final _sel_keywordForDescriptorAtIndex_1 = objc.registerName( - "keywordForDescriptorAtIndex:", - ); - int _objc_msgSend_623( - ffi.Pointer obj, - ffi.Pointer sel, - int index, - ) { - return __objc_msgSend_623(obj, sel, index); - } - - late final __objc_msgSend_623Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedInt Function( - ffi.Pointer, - ffi.Pointer, - ffi.Long, - )>>('objc_msgSend'); - late final __objc_msgSend_623 = __objc_msgSend_623Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_coerceToDescriptorType_1 = objc.registerName( - "coerceToDescriptorType:", - ); - late final _sel_objectSpecifierWithDescriptor_1 = objc.registerName( - "objectSpecifierWithDescriptor:", - ); - ffi.Pointer _objc_msgSend_624( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer descriptor, - ) { - return __objc_msgSend_624(obj, sel, descriptor); - } - - late final __objc_msgSend_624Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_624 = __objc_msgSend_624Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_initWithContainerSpecifier_key_1 = objc.registerName( - "initWithContainerSpecifier:key:", - ); - instancetype _objc_msgSend_625( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer container, - ffi.Pointer property, - ) { - return __objc_msgSend_625(obj, sel, container, property); - } - - late final __objc_msgSend_625Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_625 = __objc_msgSend_625Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _class_NSScriptClassDescription1 = objc.getClass( - "NSScriptClassDescription", - ); - ffi.Pointer _objc_msgSend_626( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aClass, - ) { - return __objc_msgSend_626(obj, sel, aClass); - } - - late final __objc_msgSend_626Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_626 = __objc_msgSend_626Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_initWithSuiteName_className_dictionary_1 = objc.registerName( - "initWithSuiteName:className:dictionary:", - ); - instancetype _objc_msgSend_627( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer suiteName, - ffi.Pointer className, - ffi.Pointer classDeclaration, - ) { - return __objc_msgSend_627(obj, sel, suiteName, className, classDeclaration); - } - - late final __objc_msgSend_627Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_627 = __objc_msgSend_627Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_suiteName1 = objc.registerName("suiteName"); - late final _sel_className1 = objc.registerName("className"); - late final _sel_implementationClassName1 = objc.registerName( - "implementationClassName", - ); - late final _sel_superclassDescription1 = objc.registerName( - "superclassDescription", - ); - ffi.Pointer _objc_msgSend_628( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_628(obj, sel); - } - - late final __objc_msgSend_628Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_628 = __objc_msgSend_628Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_appleEventCode1 = objc.registerName("appleEventCode"); - late final _sel_matchesAppleEventCode_1 = objc.registerName( - "matchesAppleEventCode:", - ); - late final _class_NSScriptCommandDescription1 = objc.getClass( - "NSScriptCommandDescription", - ); - late final _sel_initWithSuiteName_commandName_dictionary_1 = - objc.registerName("initWithSuiteName:commandName:dictionary:"); - late final _sel_commandName1 = objc.registerName("commandName"); - late final _sel_appleEventClassCode1 = objc.registerName( - "appleEventClassCode", - ); - late final _sel_commandClassName1 = objc.registerName("commandClassName"); - late final _sel_returnType1 = objc.registerName("returnType"); - late final _sel_appleEventCodeForReturnType1 = objc.registerName( - "appleEventCodeForReturnType", - ); - late final _sel_argumentNames1 = objc.registerName("argumentNames"); - late final _sel_typeForArgumentWithName_1 = objc.registerName( - "typeForArgumentWithName:", - ); - late final _sel_appleEventCodeForArgumentWithName_1 = objc.registerName( - "appleEventCodeForArgumentWithName:", - ); - int _objc_msgSend_629( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer argumentName, - ) { - return __objc_msgSend_629(obj, sel, argumentName); - } - - late final __objc_msgSend_629Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedInt Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_629 = __objc_msgSend_629Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_isOptionalArgumentWithName_1 = objc.registerName( - "isOptionalArgumentWithName:", - ); - late final _class_NSScriptCommand1 = objc.getClass("NSScriptCommand"); - late final _sel_initWithCommandDescription_1 = objc.registerName( - "initWithCommandDescription:", - ); - instancetype _objc_msgSend_630( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer commandDef, - ) { - return __objc_msgSend_630(obj, sel, commandDef); - } - - late final __objc_msgSend_630Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_630 = __objc_msgSend_630Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_commandDescription1 = objc.registerName("commandDescription"); - ffi.Pointer _objc_msgSend_631( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_631(obj, sel); - } - - late final __objc_msgSend_631Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_631 = __objc_msgSend_631Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_directParameter1 = objc.registerName("directParameter"); - late final _sel_setDirectParameter_1 = objc.registerName( - "setDirectParameter:", - ); - late final _sel_receiversSpecifier1 = objc.registerName("receiversSpecifier"); - ffi.Pointer _objc_msgSend_632( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_632(obj, sel); - } - - late final __objc_msgSend_632Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_632 = __objc_msgSend_632Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_setReceiversSpecifier_1 = objc.registerName( - "setReceiversSpecifier:", - ); - void _objc_msgSend_633( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, - ) { - return __objc_msgSend_633(obj, sel, value); - } - - late final __objc_msgSend_633Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_633 = __objc_msgSend_633Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_evaluatedReceivers1 = objc.registerName("evaluatedReceivers"); - late final _sel_arguments1 = objc.registerName("arguments"); - late final _sel_setArguments_1 = objc.registerName("setArguments:"); - void _objc_msgSend_634( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, - ) { - return __objc_msgSend_634(obj, sel, value); - } - - late final __objc_msgSend_634Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_634 = __objc_msgSend_634Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_evaluatedArguments1 = objc.registerName("evaluatedArguments"); - late final _sel_isWellFormed1 = objc.registerName("isWellFormed"); - late final _sel_performDefaultImplementation1 = objc.registerName( - "performDefaultImplementation", - ); - late final _sel_executeCommand1 = objc.registerName("executeCommand"); - late final _sel_scriptErrorNumber1 = objc.registerName("scriptErrorNumber"); - late final _sel_setScriptErrorNumber_1 = objc.registerName( - "setScriptErrorNumber:", - ); - void _objc_msgSend_635( - ffi.Pointer obj, - ffi.Pointer sel, - int value, - ) { - return __objc_msgSend_635(obj, sel, value); - } - - late final __objc_msgSend_635Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Long, - )>>('objc_msgSend'); - late final __objc_msgSend_635 = __objc_msgSend_635Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_scriptErrorOffendingObjectDescriptor1 = objc.registerName( - "scriptErrorOffendingObjectDescriptor", - ); - ffi.Pointer _objc_msgSend_636( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_636(obj, sel); - } - - late final __objc_msgSend_636Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_636 = __objc_msgSend_636Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_setScriptErrorOffendingObjectDescriptor_1 = objc.registerName( - "setScriptErrorOffendingObjectDescriptor:", - ); - void _objc_msgSend_637( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, - ) { - return __objc_msgSend_637(obj, sel, value); - } - - late final __objc_msgSend_637Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_637 = __objc_msgSend_637Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_scriptErrorExpectedTypeDescriptor1 = objc.registerName( - "scriptErrorExpectedTypeDescriptor", - ); - late final _sel_setScriptErrorExpectedTypeDescriptor_1 = objc.registerName( - "setScriptErrorExpectedTypeDescriptor:", - ); - late final _sel_scriptErrorString1 = objc.registerName("scriptErrorString"); - late final _sel_setScriptErrorString_1 = objc.registerName( - "setScriptErrorString:", - ); - late final _sel_currentCommand1 = objc.registerName("currentCommand"); - ffi.Pointer _objc_msgSend_638( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_638(obj, sel); - } - - late final __objc_msgSend_638Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_638 = __objc_msgSend_638Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_appleEvent1 = objc.registerName("appleEvent"); - late final _sel_suspendExecution1 = objc.registerName("suspendExecution"); - late final _sel_resumeExecutionWithResult_1 = objc.registerName( - "resumeExecutionWithResult:", - ); - late final _sel_createCommandInstance1 = objc.registerName( - "createCommandInstance", - ); - ffi.Pointer _objc_msgSend_639( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_639(obj, sel); - } - - late final __objc_msgSend_639Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_639 = __objc_msgSend_639Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_createCommandInstanceWithZone_1 = objc.registerName( - "createCommandInstanceWithZone:", - ); - ffi.Pointer _objc_msgSend_640( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer<_NSZone> zone, - ) { - return __objc_msgSend_640(obj, sel, zone); - } - - late final __objc_msgSend_640Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_NSZone>, - )>>('objc_msgSend'); - late final __objc_msgSend_640 = __objc_msgSend_640Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_NSZone>, - )>(); - - late final _sel_supportsCommand_1 = objc.registerName("supportsCommand:"); - bool _objc_msgSend_641( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer commandDescription, - ) { - return __objc_msgSend_641(obj, sel, commandDescription); - } - - late final __objc_msgSend_641Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_641 = __objc_msgSend_641Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_selectorForCommand_1 = objc.registerName( - "selectorForCommand:", - ); - ffi.Pointer _objc_msgSend_642( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer commandDescription, - ) { - return __objc_msgSend_642(obj, sel, commandDescription); - } - - late final __objc_msgSend_642Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_642 = __objc_msgSend_642Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_typeForKey_1 = objc.registerName("typeForKey:"); - late final _sel_classDescriptionForKey_1 = objc.registerName( - "classDescriptionForKey:", - ); - ffi.Pointer _objc_msgSend_643( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer key, - ) { - return __objc_msgSend_643(obj, sel, key); - } - - late final __objc_msgSend_643Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_643 = __objc_msgSend_643Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_appleEventCodeForKey_1 = objc.registerName( - "appleEventCodeForKey:", - ); - late final _sel_keyWithAppleEventCode_1 = objc.registerName( - "keyWithAppleEventCode:", - ); - ffi.Pointer _objc_msgSend_644( - ffi.Pointer obj, - ffi.Pointer sel, - int appleEventCode, - ) { - return __objc_msgSend_644(obj, sel, appleEventCode); - } - - late final __objc_msgSend_644Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedInt, - )>>('objc_msgSend'); - late final __objc_msgSend_644 = __objc_msgSend_644Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_defaultSubcontainerAttributeKey1 = objc.registerName( - "defaultSubcontainerAttributeKey", - ); - late final _sel_isLocationRequiredToCreateForKey_1 = objc.registerName( - "isLocationRequiredToCreateForKey:", - ); - late final _sel_hasPropertyForKey_1 = objc.registerName("hasPropertyForKey:"); - late final _sel_hasOrderedToManyRelationshipForKey_1 = objc.registerName( - "hasOrderedToManyRelationshipForKey:", - ); - late final _sel_hasReadablePropertyForKey_1 = objc.registerName( - "hasReadablePropertyForKey:", - ); - late final _sel_hasWritablePropertyForKey_1 = objc.registerName( - "hasWritablePropertyForKey:", - ); - late final _sel_isReadOnlyKey_1 = objc.registerName("isReadOnlyKey:"); - late final _sel_initWithContainerClassDescription_containerSpecifier_key_1 = - objc.registerName( - "initWithContainerClassDescription:containerSpecifier:key:", - ); - instancetype _objc_msgSend_645( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer classDesc, - ffi.Pointer container, - ffi.Pointer property, - ) { - return __objc_msgSend_645(obj, sel, classDesc, container, property); - } - - late final __objc_msgSend_645Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_645 = __objc_msgSend_645Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_childSpecifier1 = objc.registerName("childSpecifier"); - late final _sel_setChildSpecifier_1 = objc.registerName("setChildSpecifier:"); - late final _sel_containerSpecifier1 = objc.registerName("containerSpecifier"); - late final _sel_setContainerSpecifier_1 = objc.registerName( - "setContainerSpecifier:", - ); - late final _sel_containerIsObjectBeingTested1 = objc.registerName( - "containerIsObjectBeingTested", - ); - late final _sel_setContainerIsObjectBeingTested_1 = objc.registerName( - "setContainerIsObjectBeingTested:", - ); - late final _sel_containerIsRangeContainerObject1 = objc.registerName( - "containerIsRangeContainerObject", - ); - late final _sel_setContainerIsRangeContainerObject_1 = objc.registerName( - "setContainerIsRangeContainerObject:", - ); - late final _sel_key1 = objc.registerName("key"); - late final _sel_setKey_1 = objc.registerName("setKey:"); - void _objc_msgSend_646( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, - ) { - return __objc_msgSend_646(obj, sel, value); - } - - late final __objc_msgSend_646Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_646 = __objc_msgSend_646Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_containerClassDescription1 = objc.registerName( - "containerClassDescription", - ); - late final _sel_setContainerClassDescription_1 = objc.registerName( - "setContainerClassDescription:", - ); - void _objc_msgSend_647( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, - ) { - return __objc_msgSend_647(obj, sel, value); - } - - late final __objc_msgSend_647Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_647 = __objc_msgSend_647Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_keyClassDescription1 = objc.registerName( - "keyClassDescription", - ); - late final _sel_indicesOfObjectsByEvaluatingWithContainer_count_1 = - objc.registerName("indicesOfObjectsByEvaluatingWithContainer:count:"); - ffi.Pointer _objc_msgSend_648( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer container, - ffi.Pointer count, - ) { - return __objc_msgSend_648(obj, sel, container, count); - } - - late final __objc_msgSend_648Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_648 = __objc_msgSend_648Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_objectsByEvaluatingWithContainers_1 = objc.registerName( - "objectsByEvaluatingWithContainers:", - ); - late final _sel_objectsByEvaluatingSpecifier1 = objc.registerName( - "objectsByEvaluatingSpecifier", - ); - late final _sel_evaluationErrorNumber1 = objc.registerName( - "evaluationErrorNumber", - ); - late final _sel_setEvaluationErrorNumber_1 = objc.registerName( - "setEvaluationErrorNumber:", - ); - late final _sel_evaluationErrorSpecifier1 = objc.registerName( - "evaluationErrorSpecifier", - ); - late final _sel_descriptor1 = objc.registerName("descriptor"); - late final _sel_scriptingValueForSpecifier_1 = objc.registerName( - "scriptingValueForSpecifier:", - ); - ffi.Pointer _objc_msgSend_649( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer objectSpecifier, - ) { - return __objc_msgSend_649(obj, sel, objectSpecifier); - } - - late final __objc_msgSend_649Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_649 = __objc_msgSend_649Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_scriptingProperties1 = objc.registerName( - "scriptingProperties", - ); - late final _sel_setScriptingProperties_1 = objc.registerName( - "setScriptingProperties:", - ); - late final _sel_copyScriptingValue_forKey_withProperties_1 = - objc.registerName("copyScriptingValue:forKey:withProperties:"); - ffi.Pointer _objc_msgSend_650( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, - ffi.Pointer key, - ffi.Pointer properties, - ) { - return __objc_msgSend_650(obj, sel, value, key, properties); - } - - late final __objc_msgSend_650Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_650 = __objc_msgSend_650Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_newScriptingObjectOfClass_forValueForKey_withContentsValue_properties_1 = - objc.registerName( - "newScriptingObjectOfClass:forValueForKey:withContentsValue:properties:", - ); - ffi.Pointer _objc_msgSend_651( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer objectClass, - ffi.Pointer key, - ffi.Pointer contentsValue, - ffi.Pointer properties, - ) { - return __objc_msgSend_651( - obj, - sel, - objectClass, - key, - contentsValue, - properties, - ); - } - - late final __objc_msgSend_651Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_651 = __objc_msgSend_651Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_classCode1 = objc.registerName("classCode"); - late final _sel_valueAtIndex_inPropertyWithKey_1 = objc.registerName( - "valueAtIndex:inPropertyWithKey:", - ); - ffi.Pointer _objc_msgSend_652( - ffi.Pointer obj, - ffi.Pointer sel, - int index, - ffi.Pointer key, - ) { - return __objc_msgSend_652(obj, sel, index, key); - } - - late final __objc_msgSend_652Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_652 = __objc_msgSend_652Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - )>(); - - late final _sel_valueWithName_inPropertyWithKey_1 = objc.registerName( - "valueWithName:inPropertyWithKey:", - ); - late final _sel_valueWithUniqueID_inPropertyWithKey_1 = objc.registerName( - "valueWithUniqueID:inPropertyWithKey:", - ); - late final _sel_insertValue_atIndex_inPropertyWithKey_1 = objc.registerName( - "insertValue:atIndex:inPropertyWithKey:", - ); - void _objc_msgSend_653( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, - int index, - ffi.Pointer key, - ) { - return __objc_msgSend_653(obj, sel, value, index, key); - } - - late final __objc_msgSend_653Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_653 = __objc_msgSend_653Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - )>(); - - late final _sel_removeValueAtIndex_fromPropertyWithKey_1 = objc.registerName( - "removeValueAtIndex:fromPropertyWithKey:", - ); - void _objc_msgSend_654( - ffi.Pointer obj, - ffi.Pointer sel, - int index, - ffi.Pointer key, - ) { - return __objc_msgSend_654(obj, sel, index, key); - } - - late final __objc_msgSend_654Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_654 = __objc_msgSend_654Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - )>(); - - late final _sel_replaceValueAtIndex_inPropertyWithKey_withValue_1 = - objc.registerName("replaceValueAtIndex:inPropertyWithKey:withValue:"); - void _objc_msgSend_655( - ffi.Pointer obj, - ffi.Pointer sel, - int index, - ffi.Pointer key, - ffi.Pointer value, - ) { - return __objc_msgSend_655(obj, sel, index, key, value); - } - - late final __objc_msgSend_655Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_655 = __objc_msgSend_655Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_insertValue_inPropertyWithKey_1 = objc.registerName( - "insertValue:inPropertyWithKey:", - ); - void _objc_msgSend_656( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, - ffi.Pointer key, - ) { - return __objc_msgSend_656(obj, sel, value, key); - } - - late final __objc_msgSend_656Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_656 = __objc_msgSend_656Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_coerceValue_forKey_1 = objc.registerName( - "coerceValue:forKey:", - ); - ffi.Pointer _objc_msgSend_657( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, - ffi.Pointer key, - ) { - return __objc_msgSend_657(obj, sel, value, key); - } - - late final __objc_msgSend_657Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_657 = __objc_msgSend_657Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_objectSpecifier1 = objc.registerName("objectSpecifier"); - late final _sel_indicesOfObjectsByEvaluatingObjectSpecifier_1 = - objc.registerName("indicesOfObjectsByEvaluatingObjectSpecifier:"); - ffi.Pointer _objc_msgSend_658( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer specifier, - ) { - return __objc_msgSend_658(obj, sel, specifier); - } - - late final __objc_msgSend_658Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_658 = __objc_msgSend_658Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_isEqualTo_1 = objc.registerName("isEqualTo:"); - late final _sel_isLessThanOrEqualTo_1 = objc.registerName( - "isLessThanOrEqualTo:", - ); - late final _sel_isLessThan_1 = objc.registerName("isLessThan:"); - late final _sel_isGreaterThanOrEqualTo_1 = objc.registerName( - "isGreaterThanOrEqualTo:", - ); - late final _sel_isGreaterThan_1 = objc.registerName("isGreaterThan:"); - late final _sel_isNotEqualTo_1 = objc.registerName("isNotEqualTo:"); - late final _sel_doesContain_1 = objc.registerName("doesContain:"); - late final _sel_isLike_1 = objc.registerName("isLike:"); - late final _sel_isCaseInsensitiveLike_1 = objc.registerName( - "isCaseInsensitiveLike:", - ); - late final _sel_scriptingIsEqualTo_1 = objc.registerName( - "scriptingIsEqualTo:", - ); - late final _sel_scriptingIsLessThanOrEqualTo_1 = objc.registerName( - "scriptingIsLessThanOrEqualTo:", - ); - late final _sel_scriptingIsLessThan_1 = objc.registerName( - "scriptingIsLessThan:", - ); - late final _sel_scriptingIsGreaterThanOrEqualTo_1 = objc.registerName( - "scriptingIsGreaterThanOrEqualTo:", - ); - late final _sel_scriptingIsGreaterThan_1 = objc.registerName( - "scriptingIsGreaterThan:", - ); - late final _sel_scriptingBeginsWith_1 = objc.registerName( - "scriptingBeginsWith:", - ); - late final _sel_scriptingEndsWith_1 = objc.registerName("scriptingEndsWith:"); - late final _sel_scriptingContains_1 = objc.registerName("scriptingContains:"); - late final _class_NSItemProvider1 = objc.getClass("NSItemProvider"); - late final _class_NSProgress1 = objc.getClass("NSProgress"); - late final _sel_currentProgress1 = objc.registerName("currentProgress"); - ffi.Pointer _objc_msgSend_659( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_659(obj, sel); - } - - late final __objc_msgSend_659Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_659 = __objc_msgSend_659Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_progressWithTotalUnitCount_1 = objc.registerName( - "progressWithTotalUnitCount:", - ); - ffi.Pointer _objc_msgSend_660( - ffi.Pointer obj, - ffi.Pointer sel, - int unitCount, - ) { - return __objc_msgSend_660(obj, sel, unitCount); - } - - late final __objc_msgSend_660Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int64, - )>>('objc_msgSend'); - late final __objc_msgSend_660 = __objc_msgSend_660Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_discreteProgressWithTotalUnitCount_1 = objc.registerName( - "discreteProgressWithTotalUnitCount:", - ); - late final _sel_progressWithTotalUnitCount_parent_pendingUnitCount_1 = - objc.registerName("progressWithTotalUnitCount:parent:pendingUnitCount:"); - ffi.Pointer _objc_msgSend_661( - ffi.Pointer obj, - ffi.Pointer sel, - int unitCount, - ffi.Pointer parent, - int portionOfParentTotalUnitCount, - ) { - return __objc_msgSend_661( - obj, - sel, - unitCount, - parent, - portionOfParentTotalUnitCount, - ); - } - - late final __objc_msgSend_661Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int64, - ffi.Pointer, - ffi.Int64, - )>>('objc_msgSend'); - late final __objc_msgSend_661 = __objc_msgSend_661Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - int, - )>(); - - late final _sel_initWithParent_userInfo_1 = objc.registerName( - "initWithParent:userInfo:", - ); - instancetype _objc_msgSend_662( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer parentProgressOrNil, - ffi.Pointer userInfoOrNil, - ) { - return __objc_msgSend_662(obj, sel, parentProgressOrNil, userInfoOrNil); - } - - late final __objc_msgSend_662Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_662 = __objc_msgSend_662Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_becomeCurrentWithPendingUnitCount_1 = objc.registerName( - "becomeCurrentWithPendingUnitCount:", - ); - void _objc_msgSend_663( - ffi.Pointer obj, - ffi.Pointer sel, - int unitCount, - ) { - return __objc_msgSend_663(obj, sel, unitCount); - } - - late final __objc_msgSend_663Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int64, - )>>('objc_msgSend'); - late final __objc_msgSend_663 = __objc_msgSend_663Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_performAsCurrentWithPendingUnitCount_usingBlock_1 = - objc.registerName("performAsCurrentWithPendingUnitCount:usingBlock:"); - void _objc_msgSend_664( - ffi.Pointer obj, - ffi.Pointer sel, - int unitCount, - ffi.Pointer work, - ) { - return __objc_msgSend_664(obj, sel, unitCount, work); - } - - late final __objc_msgSend_664Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int64, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_664 = __objc_msgSend_664Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - )>(); - - late final _sel_resignCurrent1 = objc.registerName("resignCurrent"); - late final _sel_addChild_withPendingUnitCount_1 = objc.registerName( - "addChild:withPendingUnitCount:", - ); - void _objc_msgSend_665( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer child, - int inUnitCount, - ) { - return __objc_msgSend_665(obj, sel, child, inUnitCount); - } - - late final __objc_msgSend_665Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int64, - )>>('objc_msgSend'); - late final __objc_msgSend_665 = __objc_msgSend_665Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_totalUnitCount1 = objc.registerName("totalUnitCount"); - int _objc_msgSend_666( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_666(obj, sel); - } - - late final __objc_msgSend_666Ptr = _lookup< - ffi.NativeFunction< - ffi.Int64 Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_666 = __objc_msgSend_666Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_setTotalUnitCount_1 = objc.registerName("setTotalUnitCount:"); - void _objc_msgSend_667( - ffi.Pointer obj, - ffi.Pointer sel, - int value, - ) { - return __objc_msgSend_667(obj, sel, value); - } - - late final __objc_msgSend_667Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int64, - )>>('objc_msgSend'); - late final __objc_msgSend_667 = __objc_msgSend_667Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_completedUnitCount1 = objc.registerName("completedUnitCount"); - late final _sel_setCompletedUnitCount_1 = objc.registerName( - "setCompletedUnitCount:", - ); - late final _sel_setLocalizedDescription_1 = objc.registerName( - "setLocalizedDescription:", - ); - late final _sel_localizedAdditionalDescription1 = objc.registerName( - "localizedAdditionalDescription", - ); - late final _sel_setLocalizedAdditionalDescription_1 = objc.registerName( - "setLocalizedAdditionalDescription:", - ); - late final _sel_isCancellable1 = objc.registerName("isCancellable"); - late final _sel_setCancellable_1 = objc.registerName("setCancellable:"); - late final _sel_isPausable1 = objc.registerName("isPausable"); - late final _sel_setPausable_1 = objc.registerName("setPausable:"); - late final _sel_isPaused1 = objc.registerName("isPaused"); - late final _sel_cancellationHandler1 = objc.registerName( - "cancellationHandler", - ); - ffi.Pointer _objc_msgSend_668( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_668(obj, sel); - } - - late final __objc_msgSend_668Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_668 = __objc_msgSend_668Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_setCancellationHandler_1 = objc.registerName( - "setCancellationHandler:", - ); - void _objc_msgSend_669( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, - ) { - return __objc_msgSend_669(obj, sel, value); - } - - late final __objc_msgSend_669Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_669 = __objc_msgSend_669Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_pausingHandler1 = objc.registerName("pausingHandler"); - late final _sel_setPausingHandler_1 = objc.registerName("setPausingHandler:"); - late final _sel_resumingHandler1 = objc.registerName("resumingHandler"); - late final _sel_setResumingHandler_1 = objc.registerName( - "setResumingHandler:", - ); - late final _sel_setUserInfoObject_forKey_1 = objc.registerName( - "setUserInfoObject:forKey:", - ); - late final _sel_isIndeterminate1 = objc.registerName("isIndeterminate"); - late final _sel_fractionCompleted1 = objc.registerName("fractionCompleted"); - late final _sel_pause1 = objc.registerName("pause"); - late final _sel_resume1 = objc.registerName("resume"); - late final _sel_kind1 = objc.registerName("kind"); - late final _sel_setKind_1 = objc.registerName("setKind:"); - late final _sel_estimatedTimeRemaining1 = objc.registerName( - "estimatedTimeRemaining", - ); - late final _sel_setEstimatedTimeRemaining_1 = objc.registerName( - "setEstimatedTimeRemaining:", - ); - void _objc_msgSend_670( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, - ) { - return __objc_msgSend_670(obj, sel, value); - } - - late final __objc_msgSend_670Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_670 = __objc_msgSend_670Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_throughput1 = objc.registerName("throughput"); - late final _sel_setThroughput_1 = objc.registerName("setThroughput:"); - late final _sel_fileOperationKind1 = objc.registerName("fileOperationKind"); - late final _sel_setFileOperationKind_1 = objc.registerName( - "setFileOperationKind:", - ); - late final _sel_fileURL1 = objc.registerName("fileURL"); - late final _sel_setFileURL_1 = objc.registerName("setFileURL:"); - void _objc_msgSend_671( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, - ) { - return __objc_msgSend_671(obj, sel, value); - } - - late final __objc_msgSend_671Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_671 = __objc_msgSend_671Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_fileTotalCount1 = objc.registerName("fileTotalCount"); - late final _sel_setFileTotalCount_1 = objc.registerName("setFileTotalCount:"); - late final _sel_fileCompletedCount1 = objc.registerName("fileCompletedCount"); - late final _sel_setFileCompletedCount_1 = objc.registerName( - "setFileCompletedCount:", - ); - late final _sel_publish1 = objc.registerName("publish"); - late final _sel_unpublish1 = objc.registerName("unpublish"); - late final _sel_addSubscriberForFileURL_withPublishingHandler_1 = - objc.registerName("addSubscriberForFileURL:withPublishingHandler:"); - ffi.Pointer _objc_msgSend_672( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, - ffi.Pointer publishingHandler, - ) { - return __objc_msgSend_672(obj, sel, url, publishingHandler); - } - - late final __objc_msgSend_672Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_672 = __objc_msgSend_672Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_removeSubscriber_1 = objc.registerName("removeSubscriber:"); - late final _sel_isOld1 = objc.registerName("isOld"); - late final _sel_registerDataRepresentationForTypeIdentifier_visibility_loadHandler_1 = - objc.registerName( - "registerDataRepresentationForTypeIdentifier:visibility:loadHandler:", - ); - void _objc_msgSend_673( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer typeIdentifier, - int visibility, - ffi.Pointer loadHandler, - ) { - return __objc_msgSend_673( - obj, - sel, - typeIdentifier, - visibility, - loadHandler, - ); - } - - late final __objc_msgSend_673Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_673 = __objc_msgSend_673Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - )>(); - - late final _sel_registerFileRepresentationForTypeIdentifier_fileOptions_visibility_loadHandler_1 = - objc.registerName( - "registerFileRepresentationForTypeIdentifier:fileOptions:visibility:loadHandler:", - ); - void _objc_msgSend_674( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer typeIdentifier, - int fileOptions, - int visibility, - ffi.Pointer loadHandler, - ) { - return __objc_msgSend_674( - obj, - sel, - typeIdentifier, - fileOptions, - visibility, - loadHandler, - ); - } - - late final __objc_msgSend_674Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Int32, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_674 = __objc_msgSend_674Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - int, - ffi.Pointer, - )>(); - - late final _sel_registeredTypeIdentifiers1 = objc.registerName( - "registeredTypeIdentifiers", - ); - late final _sel_registeredTypeIdentifiersWithFileOptions_1 = - objc.registerName("registeredTypeIdentifiersWithFileOptions:"); - ffi.Pointer _objc_msgSend_675( - ffi.Pointer obj, - ffi.Pointer sel, - int fileOptions, - ) { - return __objc_msgSend_675(obj, sel, fileOptions); - } - - late final __objc_msgSend_675Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - )>>('objc_msgSend'); - late final __objc_msgSend_675 = __objc_msgSend_675Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_hasItemConformingToTypeIdentifier_1 = objc.registerName( - "hasItemConformingToTypeIdentifier:", - ); - late final _sel_hasRepresentationConformingToTypeIdentifier_fileOptions_1 = - objc.registerName( - "hasRepresentationConformingToTypeIdentifier:fileOptions:", - ); - bool _objc_msgSend_676( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer typeIdentifier, - int fileOptions, - ) { - return __objc_msgSend_676(obj, sel, typeIdentifier, fileOptions); - } - - late final __objc_msgSend_676Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - )>>('objc_msgSend'); - late final __objc_msgSend_676 = __objc_msgSend_676Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_loadDataRepresentationForTypeIdentifier_completionHandler_1 = - objc.registerName( - "loadDataRepresentationForTypeIdentifier:completionHandler:", - ); - ffi.Pointer _objc_msgSend_677( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer typeIdentifier, - ffi.Pointer completionHandler, - ) { - return __objc_msgSend_677(obj, sel, typeIdentifier, completionHandler); - } - - late final __objc_msgSend_677Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_677 = __objc_msgSend_677Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_loadFileRepresentationForTypeIdentifier_completionHandler_1 = - objc.registerName( - "loadFileRepresentationForTypeIdentifier:completionHandler:", - ); - ffi.Pointer _objc_msgSend_678( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer typeIdentifier, - ffi.Pointer completionHandler, - ) { - return __objc_msgSend_678(obj, sel, typeIdentifier, completionHandler); - } - - late final __objc_msgSend_678Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_678 = __objc_msgSend_678Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_loadInPlaceFileRepresentationForTypeIdentifier_completionHandler_1 = - objc.registerName( - "loadInPlaceFileRepresentationForTypeIdentifier:completionHandler:", - ); - ffi.Pointer _objc_msgSend_679( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer typeIdentifier, - ffi.Pointer completionHandler, - ) { - return __objc_msgSend_679(obj, sel, typeIdentifier, completionHandler); - } - - late final __objc_msgSend_679Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_679 = __objc_msgSend_679Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_suggestedName1 = objc.registerName("suggestedName"); - late final _sel_setSuggestedName_1 = objc.registerName("setSuggestedName:"); - late final _sel_registerObject_visibility_1 = objc.registerName( - "registerObject:visibility:", - ); - void _objc_msgSend_680( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer object, - int visibility, - ) { - return __objc_msgSend_680(obj, sel, object, visibility); - } - - late final __objc_msgSend_680Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - )>>('objc_msgSend'); - late final __objc_msgSend_680 = __objc_msgSend_680Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_registerObjectOfClass_visibility_loadHandler_1 = - objc.registerName("registerObjectOfClass:visibility:loadHandler:"); - void _objc_msgSend_681( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aClass, - int visibility, - ffi.Pointer loadHandler, - ) { - return __objc_msgSend_681(obj, sel, aClass, visibility, loadHandler); - } - - late final __objc_msgSend_681Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_681 = __objc_msgSend_681Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - )>(); - - late final _sel_canLoadObjectOfClass_1 = objc.registerName( - "canLoadObjectOfClass:", - ); - late final _sel_loadObjectOfClass_completionHandler_1 = objc.registerName( - "loadObjectOfClass:completionHandler:", - ); - ffi.Pointer _objc_msgSend_682( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aClass, - ffi.Pointer completionHandler, - ) { - return __objc_msgSend_682(obj, sel, aClass, completionHandler); - } - - late final __objc_msgSend_682Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_682 = __objc_msgSend_682Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_initWithItem_typeIdentifier_1 = objc.registerName( - "initWithItem:typeIdentifier:", - ); - instancetype _objc_msgSend_683( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer item, - ffi.Pointer typeIdentifier, - ) { - return __objc_msgSend_683(obj, sel, item, typeIdentifier); - } - - late final __objc_msgSend_683Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_683 = __objc_msgSend_683Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_registerItemForTypeIdentifier_loadHandler_1 = - objc.registerName("registerItemForTypeIdentifier:loadHandler:"); - void _objc_msgSend_684( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer typeIdentifier, - ffi.Pointer loadHandler, - ) { - return __objc_msgSend_684(obj, sel, typeIdentifier, loadHandler); - } - - late final __objc_msgSend_684Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_684 = __objc_msgSend_684Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_loadItemForTypeIdentifier_options_completionHandler_1 = - objc.registerName("loadItemForTypeIdentifier:options:completionHandler:"); - void _objc_msgSend_685( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer typeIdentifier, - ffi.Pointer options, - ffi.Pointer completionHandler, - ) { - return __objc_msgSend_685( - obj, - sel, - typeIdentifier, - options, - completionHandler, - ); - } - - late final __objc_msgSend_685Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_685 = __objc_msgSend_685Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_previewImageHandler1 = objc.registerName( - "previewImageHandler", - ); - ffi.Pointer _objc_msgSend_686( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_686(obj, sel); - } - - late final __objc_msgSend_686Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_686 = __objc_msgSend_686Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_setPreviewImageHandler_1 = objc.registerName( - "setPreviewImageHandler:", - ); - void _objc_msgSend_687( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, - ) { - return __objc_msgSend_687(obj, sel, value); - } - - late final __objc_msgSend_687Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_687 = __objc_msgSend_687Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_loadPreviewImageWithOptions_completionHandler_1 = - objc.registerName("loadPreviewImageWithOptions:completionHandler:"); - void _objc_msgSend_688( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer options, - ffi.Pointer completionHandler, - ) { - return __objc_msgSend_688(obj, sel, options, completionHandler); - } - - late final __objc_msgSend_688Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_688 = __objc_msgSend_688Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _class_NSMutableString1 = objc.getClass("NSMutableString"); - late final _sel_replaceCharactersInRange_withString_1 = objc.registerName( - "replaceCharactersInRange:withString:", - ); - void _objc_msgSend_689( - ffi.Pointer obj, - ffi.Pointer sel, - _NSRange range, - ffi.Pointer aString, - ) { - return __objc_msgSend_689(obj, sel, range, aString); - } - - late final __objc_msgSend_689Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_689 = __objc_msgSend_689Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - )>(); - - late final _sel_insertString_atIndex_1 = objc.registerName( - "insertString:atIndex:", - ); - void _objc_msgSend_690( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aString, - int loc, - ) { - return __objc_msgSend_690(obj, sel, aString, loc); - } - - late final __objc_msgSend_690Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - )>>('objc_msgSend'); - late final __objc_msgSend_690 = __objc_msgSend_690Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_deleteCharactersInRange_1 = objc.registerName( - "deleteCharactersInRange:", - ); - late final _sel_appendString_1 = objc.registerName("appendString:"); - late final _sel_appendFormat_1 = objc.registerName("appendFormat:"); - late final _sel_setString_1 = objc.registerName("setString:"); - late final _sel_replaceOccurrencesOfString_withString_options_range_1 = - objc.registerName("replaceOccurrencesOfString:withString:options:range:"); - int _objc_msgSend_691( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer target, - ffi.Pointer replacement, - int options, - _NSRange searchRange, - ) { - return __objc_msgSend_691( - obj, - sel, - target, - replacement, - options, - searchRange, - ); - } - - late final __objc_msgSend_691Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - _NSRange, - )>>('objc_msgSend'); - late final __objc_msgSend_691 = __objc_msgSend_691Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - _NSRange, - )>(); - - late final _sel_applyTransform_reverse_range_updatedRange_1 = - objc.registerName("applyTransform:reverse:range:updatedRange:"); - bool _objc_msgSend_692( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer transform, - bool reverse, - _NSRange range, - ffi.Pointer<_NSRange> resultingRange, - ) { - return __objc_msgSend_692( - obj, - sel, - transform, - reverse, - range, - resultingRange, - ); - } - - late final __objc_msgSend_692Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - _NSRange, - ffi.Pointer<_NSRange>, - )>>('objc_msgSend'); - late final __objc_msgSend_692 = __objc_msgSend_692Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - _NSRange, - ffi.Pointer<_NSRange>, - )>(); - - ffi.Pointer _objc_msgSend_693( - ffi.Pointer obj, - ffi.Pointer sel, - int capacity, - ) { - return __objc_msgSend_693(obj, sel, capacity); - } - - late final __objc_msgSend_693Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - )>>('objc_msgSend'); - late final __objc_msgSend_693 = __objc_msgSend_693Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_stringWithCapacity_1 = objc.registerName( - "stringWithCapacity:", - ); - late final _class_NSNotification1 = objc.getClass("NSNotification"); - late final _sel_object1 = objc.registerName("object"); - late final _sel_initWithName_object_userInfo_1 = objc.registerName( - "initWithName:object:userInfo:", - ); - instancetype _objc_msgSend_694( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer name, - ffi.Pointer object, - ffi.Pointer userInfo, - ) { - return __objc_msgSend_694(obj, sel, name, object, userInfo); - } - - late final __objc_msgSend_694Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_694 = __objc_msgSend_694Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_notificationWithName_object_1 = objc.registerName( - "notificationWithName:object:", - ); - late final _sel_notificationWithName_object_userInfo_1 = objc.registerName( - "notificationWithName:object:userInfo:", - ); - late final _class_NSBundle1 = objc.getClass("NSBundle"); - late final _sel_mainBundle1 = objc.registerName("mainBundle"); - ffi.Pointer _objc_msgSend_695( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_695(obj, sel); - } - - late final __objc_msgSend_695Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_695 = __objc_msgSend_695Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_bundleWithPath_1 = objc.registerName("bundleWithPath:"); - late final _sel_initWithPath_1 = objc.registerName("initWithPath:"); - late final _sel_bundleWithURL_1 = objc.registerName("bundleWithURL:"); - late final _sel_initWithURL_1 = objc.registerName("initWithURL:"); - late final _sel_bundleForClass_1 = objc.registerName("bundleForClass:"); - ffi.Pointer _objc_msgSend_696( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aClass, - ) { - return __objc_msgSend_696(obj, sel, aClass); - } - - late final __objc_msgSend_696Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_696 = __objc_msgSend_696Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_bundleWithIdentifier_1 = objc.registerName( - "bundleWithIdentifier:", - ); - ffi.Pointer _objc_msgSend_697( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer identifier, - ) { - return __objc_msgSend_697(obj, sel, identifier); - } - - late final __objc_msgSend_697Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_697 = __objc_msgSend_697Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_allBundles1 = objc.registerName("allBundles"); - late final _sel_allFrameworks1 = objc.registerName("allFrameworks"); - late final _sel_isLoaded1 = objc.registerName("isLoaded"); - late final _sel_unload1 = objc.registerName("unload"); - late final _sel_preflightAndReturnError_1 = objc.registerName( - "preflightAndReturnError:", - ); - late final _sel_loadAndReturnError_1 = objc.registerName( - "loadAndReturnError:", - ); - late final _sel_bundleURL1 = objc.registerName("bundleURL"); - late final _sel_resourceURL1 = objc.registerName("resourceURL"); - late final _sel_executableURL1 = objc.registerName("executableURL"); - late final _sel_URLForAuxiliaryExecutable_1 = objc.registerName( - "URLForAuxiliaryExecutable:", - ); - late final _sel_privateFrameworksURL1 = objc.registerName( - "privateFrameworksURL", - ); - late final _sel_sharedFrameworksURL1 = objc.registerName( - "sharedFrameworksURL", - ); - late final _sel_sharedSupportURL1 = objc.registerName("sharedSupportURL"); - late final _sel_builtInPlugInsURL1 = objc.registerName("builtInPlugInsURL"); - late final _sel_appStoreReceiptURL1 = objc.registerName("appStoreReceiptURL"); - late final _sel_bundlePath1 = objc.registerName("bundlePath"); - late final _sel_resourcePath1 = objc.registerName("resourcePath"); - late final _sel_executablePath1 = objc.registerName("executablePath"); - late final _sel_pathForAuxiliaryExecutable_1 = objc.registerName( - "pathForAuxiliaryExecutable:", - ); - late final _sel_privateFrameworksPath1 = objc.registerName( - "privateFrameworksPath", - ); - late final _sel_sharedFrameworksPath1 = objc.registerName( - "sharedFrameworksPath", - ); - late final _sel_sharedSupportPath1 = objc.registerName("sharedSupportPath"); - late final _sel_builtInPlugInsPath1 = objc.registerName("builtInPlugInsPath"); - late final _sel_URLForResource_withExtension_subdirectory_inBundleWithURL_1 = - objc.registerName( - "URLForResource:withExtension:subdirectory:inBundleWithURL:", - ); - ffi.Pointer _objc_msgSend_698( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer name, - ffi.Pointer ext, - ffi.Pointer subpath, - ffi.Pointer bundleURL, - ) { - return __objc_msgSend_698(obj, sel, name, ext, subpath, bundleURL); - } - - late final __objc_msgSend_698Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_698 = __objc_msgSend_698Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_URLsForResourcesWithExtension_subdirectory_inBundleWithURL_1 = - objc.registerName( - "URLsForResourcesWithExtension:subdirectory:inBundleWithURL:", - ); - ffi.Pointer _objc_msgSend_699( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer ext, - ffi.Pointer subpath, - ffi.Pointer bundleURL, - ) { - return __objc_msgSend_699(obj, sel, ext, subpath, bundleURL); - } - - late final __objc_msgSend_699Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_699 = __objc_msgSend_699Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_URLForResource_withExtension_1 = objc.registerName( - "URLForResource:withExtension:", - ); - ffi.Pointer _objc_msgSend_700( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer name, - ffi.Pointer ext, - ) { - return __objc_msgSend_700(obj, sel, name, ext); - } - - late final __objc_msgSend_700Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_700 = __objc_msgSend_700Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_URLForResource_withExtension_subdirectory_1 = - objc.registerName("URLForResource:withExtension:subdirectory:"); - ffi.Pointer _objc_msgSend_701( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer name, - ffi.Pointer ext, - ffi.Pointer subpath, - ) { - return __objc_msgSend_701(obj, sel, name, ext, subpath); - } - - late final __objc_msgSend_701Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_701 = __objc_msgSend_701Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_URLForResource_withExtension_subdirectory_localization_1 = - objc.registerName( - "URLForResource:withExtension:subdirectory:localization:", - ); - ffi.Pointer _objc_msgSend_702( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer name, - ffi.Pointer ext, - ffi.Pointer subpath, - ffi.Pointer localizationName, - ) { - return __objc_msgSend_702(obj, sel, name, ext, subpath, localizationName); - } - - late final __objc_msgSend_702Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_702 = __objc_msgSend_702Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_URLsForResourcesWithExtension_subdirectory_1 = - objc.registerName("URLsForResourcesWithExtension:subdirectory:"); - ffi.Pointer _objc_msgSend_703( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer ext, - ffi.Pointer subpath, - ) { - return __objc_msgSend_703(obj, sel, ext, subpath); - } - - late final __objc_msgSend_703Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_703 = __objc_msgSend_703Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_URLsForResourcesWithExtension_subdirectory_localization_1 = - objc.registerName( - "URLsForResourcesWithExtension:subdirectory:localization:", - ); - ffi.Pointer _objc_msgSend_704( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer ext, - ffi.Pointer subpath, - ffi.Pointer localizationName, - ) { - return __objc_msgSend_704(obj, sel, ext, subpath, localizationName); - } - - late final __objc_msgSend_704Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_704 = __objc_msgSend_704Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_pathForResource_ofType_inDirectory_1 = objc.registerName( - "pathForResource:ofType:inDirectory:", - ); - ffi.Pointer _objc_msgSend_705( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer name, - ffi.Pointer ext, - ffi.Pointer bundlePath, - ) { - return __objc_msgSend_705(obj, sel, name, ext, bundlePath); - } - - late final __objc_msgSend_705Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_705 = __objc_msgSend_705Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_pathsForResourcesOfType_inDirectory_1 = objc.registerName( - "pathsForResourcesOfType:inDirectory:", - ); - ffi.Pointer _objc_msgSend_706( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer ext, - ffi.Pointer bundlePath, - ) { - return __objc_msgSend_706(obj, sel, ext, bundlePath); - } - - late final __objc_msgSend_706Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_706 = __objc_msgSend_706Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_pathForResource_ofType_1 = objc.registerName( - "pathForResource:ofType:", - ); - ffi.Pointer _objc_msgSend_707( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer name, - ffi.Pointer ext, - ) { - return __objc_msgSend_707(obj, sel, name, ext); - } - - late final __objc_msgSend_707Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_707 = __objc_msgSend_707Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_pathForResource_ofType_inDirectory_forLocalization_1 = - objc.registerName("pathForResource:ofType:inDirectory:forLocalization:"); - ffi.Pointer _objc_msgSend_708( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer name, - ffi.Pointer ext, - ffi.Pointer subpath, - ffi.Pointer localizationName, - ) { - return __objc_msgSend_708(obj, sel, name, ext, subpath, localizationName); - } - - late final __objc_msgSend_708Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_708 = __objc_msgSend_708Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_pathsForResourcesOfType_inDirectory_forLocalization_1 = - objc.registerName("pathsForResourcesOfType:inDirectory:forLocalization:"); - ffi.Pointer _objc_msgSend_709( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer ext, - ffi.Pointer subpath, - ffi.Pointer localizationName, - ) { - return __objc_msgSend_709(obj, sel, ext, subpath, localizationName); - } - - late final __objc_msgSend_709Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_709 = __objc_msgSend_709Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_localizedStringForKey_value_table_1 = objc.registerName( - "localizedStringForKey:value:table:", - ); - ffi.Pointer _objc_msgSend_710( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer key, - ffi.Pointer value, - ffi.Pointer tableName, - ) { - return __objc_msgSend_710(obj, sel, key, value, tableName); - } - - late final __objc_msgSend_710Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_710 = __objc_msgSend_710Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _class_NSAttributedString1 = objc.getClass("NSAttributedString"); - late final _sel_attributesAtIndex_effectiveRange_1 = objc.registerName( - "attributesAtIndex:effectiveRange:", - ); - ffi.Pointer _objc_msgSend_711( - ffi.Pointer obj, - ffi.Pointer sel, - int location, - ffi.Pointer<_NSRange> range, - ) { - return __objc_msgSend_711(obj, sel, location, range); - } - - late final __objc_msgSend_711Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer<_NSRange>, - )>>('objc_msgSend'); - late final __objc_msgSend_711 = __objc_msgSend_711Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer<_NSRange>, - )>(); - - late final _sel_attribute_atIndex_effectiveRange_1 = objc.registerName( - "attribute:atIndex:effectiveRange:", - ); - ffi.Pointer _objc_msgSend_712( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer attrName, - int location, - ffi.Pointer<_NSRange> range, - ) { - return __objc_msgSend_712(obj, sel, attrName, location, range); - } - - late final __objc_msgSend_712Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer<_NSRange>, - )>>('objc_msgSend'); - late final __objc_msgSend_712 = __objc_msgSend_712Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer<_NSRange>, - )>(); - - late final _sel_attributedSubstringFromRange_1 = objc.registerName( - "attributedSubstringFromRange:", - ); - ffi.Pointer _objc_msgSend_713( - ffi.Pointer obj, - ffi.Pointer sel, - _NSRange range, - ) { - return __objc_msgSend_713(obj, sel, range); - } - - late final __objc_msgSend_713Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - )>>('objc_msgSend'); - late final __objc_msgSend_713 = __objc_msgSend_713Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - )>(); - - late final _sel_attributesAtIndex_longestEffectiveRange_inRange_1 = - objc.registerName("attributesAtIndex:longestEffectiveRange:inRange:"); - ffi.Pointer _objc_msgSend_714( - ffi.Pointer obj, - ffi.Pointer sel, - int location, - ffi.Pointer<_NSRange> range, - _NSRange rangeLimit, - ) { - return __objc_msgSend_714(obj, sel, location, range, rangeLimit); - } - - late final __objc_msgSend_714Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer<_NSRange>, - _NSRange, - )>>('objc_msgSend'); - late final __objc_msgSend_714 = __objc_msgSend_714Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer<_NSRange>, - _NSRange, - )>(); - - late final _sel_attribute_atIndex_longestEffectiveRange_inRange_1 = - objc.registerName("attribute:atIndex:longestEffectiveRange:inRange:"); - ffi.Pointer _objc_msgSend_715( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer attrName, - int location, - ffi.Pointer<_NSRange> range, - _NSRange rangeLimit, - ) { - return __objc_msgSend_715(obj, sel, attrName, location, range, rangeLimit); - } - - late final __objc_msgSend_715Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer<_NSRange>, - _NSRange, - )>>('objc_msgSend'); - late final __objc_msgSend_715 = __objc_msgSend_715Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer<_NSRange>, - _NSRange, - )>(); - - late final _sel_isEqualToAttributedString_1 = objc.registerName( - "isEqualToAttributedString:", - ); - bool _objc_msgSend_716( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer other, - ) { - return __objc_msgSend_716(obj, sel, other); - } - - late final __objc_msgSend_716Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_716 = __objc_msgSend_716Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_initWithString_attributes_1 = objc.registerName( - "initWithString:attributes:", - ); - instancetype _objc_msgSend_717( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer str, - ffi.Pointer attrs, - ) { - return __objc_msgSend_717(obj, sel, str, attrs); - } - - late final __objc_msgSend_717Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_717 = __objc_msgSend_717Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_initWithAttributedString_1 = objc.registerName( - "initWithAttributedString:", - ); - instancetype _objc_msgSend_718( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer attrStr, - ) { - return __objc_msgSend_718(obj, sel, attrStr); - } - - late final __objc_msgSend_718Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_718 = __objc_msgSend_718Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_enumerateAttributesInRange_options_usingBlock_1 = - objc.registerName("enumerateAttributesInRange:options:usingBlock:"); - void _objc_msgSend_719( - ffi.Pointer obj, - ffi.Pointer sel, - _NSRange enumerationRange, - int opts, - ffi.Pointer block, - ) { - return __objc_msgSend_719(obj, sel, enumerationRange, opts, block); - } - - late final __objc_msgSend_719Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Int32, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_719 = __objc_msgSend_719Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - int, - ffi.Pointer, - )>(); - - late final _sel_enumerateAttribute_inRange_options_usingBlock_1 = - objc.registerName("enumerateAttribute:inRange:options:usingBlock:"); - void _objc_msgSend_720( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer attrName, - _NSRange enumerationRange, - int opts, - ffi.Pointer block, - ) { - return __objc_msgSend_720( - obj, - sel, - attrName, - enumerationRange, - opts, - block, - ); - } - - late final __objc_msgSend_720Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Int32, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_720 = __objc_msgSend_720Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - _NSRange, - int, - ffi.Pointer, - )>(); - - late final _class_NSAttributedStringMarkdownParsingOptions1 = objc.getClass( - "NSAttributedStringMarkdownParsingOptions", - ); - late final _sel_allowsExtendedAttributes1 = objc.registerName( - "allowsExtendedAttributes", - ); - late final _sel_setAllowsExtendedAttributes_1 = objc.registerName( - "setAllowsExtendedAttributes:", - ); - late final _sel_interpretedSyntax1 = objc.registerName("interpretedSyntax"); - int _objc_msgSend_721( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_721(obj, sel); - } - - late final __objc_msgSend_721Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_721 = __objc_msgSend_721Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_setInterpretedSyntax_1 = objc.registerName( - "setInterpretedSyntax:", - ); - void _objc_msgSend_722( - ffi.Pointer obj, - ffi.Pointer sel, - int value, - ) { - return __objc_msgSend_722(obj, sel, value); - } - - late final __objc_msgSend_722Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - )>>('objc_msgSend'); - late final __objc_msgSend_722 = __objc_msgSend_722Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_failurePolicy1 = objc.registerName("failurePolicy"); - int _objc_msgSend_723( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_723(obj, sel); - } - - late final __objc_msgSend_723Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_723 = __objc_msgSend_723Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_setFailurePolicy_1 = objc.registerName("setFailurePolicy:"); - void _objc_msgSend_724( - ffi.Pointer obj, - ffi.Pointer sel, - int value, - ) { - return __objc_msgSend_724(obj, sel, value); - } - - late final __objc_msgSend_724Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - )>>('objc_msgSend'); - late final __objc_msgSend_724 = __objc_msgSend_724Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_setLanguageCode_1 = objc.registerName("setLanguageCode:"); - late final _sel_appliesSourcePositionAttributes1 = objc.registerName( - "appliesSourcePositionAttributes", - ); - late final _sel_setAppliesSourcePositionAttributes_1 = objc.registerName( - "setAppliesSourcePositionAttributes:", - ); - late final _sel_initWithContentsOfMarkdownFileAtURL_options_baseURL_error_1 = - objc.registerName( - "initWithContentsOfMarkdownFileAtURL:options:baseURL:error:", - ); - instancetype _objc_msgSend_725( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer markdownFile, - ffi.Pointer options, - ffi.Pointer baseURL, - ffi.Pointer> error, - ) { - return __objc_msgSend_725(obj, sel, markdownFile, options, baseURL, error); - } - - late final __objc_msgSend_725Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_725 = __objc_msgSend_725Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>(); - - late final _sel_initWithMarkdown_options_baseURL_error_1 = objc.registerName( - "initWithMarkdown:options:baseURL:error:", - ); - instancetype _objc_msgSend_726( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer markdown, - ffi.Pointer options, - ffi.Pointer baseURL, - ffi.Pointer> error, - ) { - return __objc_msgSend_726(obj, sel, markdown, options, baseURL, error); - } - - late final __objc_msgSend_726Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_726 = __objc_msgSend_726Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>(); - - late final _sel_initWithMarkdownString_options_baseURL_error_1 = - objc.registerName("initWithMarkdownString:options:baseURL:error:"); - instancetype _objc_msgSend_727( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer markdownString, - ffi.Pointer options, - ffi.Pointer baseURL, - ffi.Pointer> error, - ) { - return __objc_msgSend_727( - obj, - sel, - markdownString, - options, - baseURL, - error, - ); - } - - late final __objc_msgSend_727Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_727 = __objc_msgSend_727Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>(); - - late final _sel_initWithFormat_options_locale_1 = objc.registerName( - "initWithFormat:options:locale:", - ); - instancetype _objc_msgSend_728( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer format, - int options, - ffi.Pointer locale, - ) { - return __objc_msgSend_728(obj, sel, format, options, locale); - } - - late final __objc_msgSend_728Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_728 = __objc_msgSend_728Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - )>(); - - late final _sel_initWithFormat_options_locale_arguments_1 = objc.registerName( - "initWithFormat:options:locale:arguments:", - ); - instancetype _objc_msgSend_729( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer format, - int options, - ffi.Pointer locale, - ffi.Pointer<__va_list_tag> arguments, - ) { - return __objc_msgSend_729(obj, sel, format, options, locale, arguments); - } - - late final __objc_msgSend_729Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer, - ffi.Pointer<__va_list_tag>, - )>>('objc_msgSend'); - late final __objc_msgSend_729 = __objc_msgSend_729Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ffi.Pointer<__va_list_tag>, - )>(); - - late final _sel_localizedAttributedStringWithFormat_1 = objc.registerName( - "localizedAttributedStringWithFormat:", - ); - late final _sel_localizedAttributedStringWithFormat_options_1 = - objc.registerName("localizedAttributedStringWithFormat:options:"); - instancetype _objc_msgSend_730( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer format, - int options, - ) { - return __objc_msgSend_730(obj, sel, format, options); - } - - late final __objc_msgSend_730Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - )>>('objc_msgSend'); - late final __objc_msgSend_730 = __objc_msgSend_730Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_initWithFormat_options_locale_context_1 = objc.registerName( - "initWithFormat:options:locale:context:", - ); - instancetype _objc_msgSend_731( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer format, - int options, - ffi.Pointer locale, - ffi.Pointer context, - ) { - return __objc_msgSend_731(obj, sel, format, options, locale, context); - } - - late final __objc_msgSend_731Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_731 = __objc_msgSend_731Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_initWithFormat_options_locale_context_arguments_1 = - objc.registerName("initWithFormat:options:locale:context:arguments:"); - instancetype _objc_msgSend_732( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer format, - int options, - ffi.Pointer locale, - ffi.Pointer context, - ffi.Pointer<__va_list_tag> arguments, - ) { - return __objc_msgSend_732( - obj, - sel, - format, - options, - locale, - context, - arguments, - ); - } - - late final __objc_msgSend_732Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<__va_list_tag>, - )>>('objc_msgSend'); - late final __objc_msgSend_732 = __objc_msgSend_732Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<__va_list_tag>, - )>(); - - late final _sel_localizedAttributedStringWithFormat_context_1 = - objc.registerName("localizedAttributedStringWithFormat:context:"); - instancetype _objc_msgSend_733( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer format, - ffi.Pointer context, - ) { - return __objc_msgSend_733(obj, sel, format, context); - } - - late final __objc_msgSend_733Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_733 = __objc_msgSend_733Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_localizedAttributedStringWithFormat_options_context_1 = - objc.registerName("localizedAttributedStringWithFormat:options:context:"); - instancetype _objc_msgSend_734( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer format, - int options, - ffi.Pointer context, - ) { - return __objc_msgSend_734(obj, sel, format, options, context); - } - - late final __objc_msgSend_734Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_734 = __objc_msgSend_734Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - )>(); - - late final _sel_attributedStringByInflectingString1 = objc.registerName( - "attributedStringByInflectingString", - ); - ffi.Pointer _objc_msgSend_735( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_735(obj, sel); - } - - late final __objc_msgSend_735Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_735 = __objc_msgSend_735Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_localizedAttributedStringForKey_value_table_1 = - objc.registerName("localizedAttributedStringForKey:value:table:"); - ffi.Pointer _objc_msgSend_736( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer key, - ffi.Pointer value, - ffi.Pointer tableName, - ) { - return __objc_msgSend_736(obj, sel, key, value, tableName); - } - - late final __objc_msgSend_736Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_736 = __objc_msgSend_736Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_bundleIdentifier1 = objc.registerName("bundleIdentifier"); - late final _sel_infoDictionary1 = objc.registerName("infoDictionary"); - late final _sel_localizedInfoDictionary1 = objc.registerName( - "localizedInfoDictionary", - ); - late final _sel_objectForInfoDictionaryKey_1 = objc.registerName( - "objectForInfoDictionaryKey:", - ); - late final _sel_classNamed_1 = objc.registerName("classNamed:"); - late final _sel_principalClass1 = objc.registerName("principalClass"); - late final _sel_preferredLocalizations1 = objc.registerName( - "preferredLocalizations", - ); - late final _sel_localizations1 = objc.registerName("localizations"); - late final _sel_developmentLocalization1 = objc.registerName( - "developmentLocalization", - ); - late final _sel_preferredLocalizationsFromArray_1 = objc.registerName( - "preferredLocalizationsFromArray:", - ); - late final _sel_preferredLocalizationsFromArray_forPreferences_1 = - objc.registerName("preferredLocalizationsFromArray:forPreferences:"); - ffi.Pointer _objc_msgSend_737( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer localizationsArray, - ffi.Pointer preferencesArray, - ) { - return __objc_msgSend_737(obj, sel, localizationsArray, preferencesArray); - } - - late final __objc_msgSend_737Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_737 = __objc_msgSend_737Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_executableArchitectures1 = objc.registerName( - "executableArchitectures", - ); - late final _sel_setPreservationPriority_forTags_1 = objc.registerName( - "setPreservationPriority:forTags:", - ); - void _objc_msgSend_738( - ffi.Pointer obj, - ffi.Pointer sel, - double priority, - ffi.Pointer tags, - ) { - return __objc_msgSend_738(obj, sel, priority, tags); - } - - late final __objc_msgSend_738Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Double, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_738 = __objc_msgSend_738Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - double, - ffi.Pointer, - )>(); - - late final _sel_preservationPriorityForTag_1 = objc.registerName( - "preservationPriorityForTag:", - ); - late final _class_NSMutableAttributedString1 = objc.getClass( - "NSMutableAttributedString", - ); - late final _sel_setAttributes_range_1 = objc.registerName( - "setAttributes:range:", - ); - void _objc_msgSend_739( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer attrs, - _NSRange range, - ) { - return __objc_msgSend_739(obj, sel, attrs, range); - } - - late final __objc_msgSend_739Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - _NSRange, - )>>('objc_msgSend'); - late final __objc_msgSend_739 = __objc_msgSend_739Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - _NSRange, - )>(); - - late final _sel_mutableString1 = objc.registerName("mutableString"); - ffi.Pointer _objc_msgSend_740( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_740(obj, sel); - } - - late final __objc_msgSend_740Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_740 = __objc_msgSend_740Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_addAttribute_value_range_1 = objc.registerName( - "addAttribute:value:range:", - ); - void _objc_msgSend_741( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer name, - ffi.Pointer value, - _NSRange range, - ) { - return __objc_msgSend_741(obj, sel, name, value, range); - } - - late final __objc_msgSend_741Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - _NSRange, - )>>('objc_msgSend'); - late final __objc_msgSend_741 = __objc_msgSend_741Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - _NSRange, - )>(); - - late final _sel_addAttributes_range_1 = objc.registerName( - "addAttributes:range:", - ); - void _objc_msgSend_742( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer attrs, - _NSRange range, - ) { - return __objc_msgSend_742(obj, sel, attrs, range); - } - - late final __objc_msgSend_742Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - _NSRange, - )>>('objc_msgSend'); - late final __objc_msgSend_742 = __objc_msgSend_742Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - _NSRange, - )>(); - - late final _sel_removeAttribute_range_1 = objc.registerName( - "removeAttribute:range:", - ); - void _objc_msgSend_743( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer name, - _NSRange range, - ) { - return __objc_msgSend_743(obj, sel, name, range); - } - - late final __objc_msgSend_743Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - _NSRange, - )>>('objc_msgSend'); - late final __objc_msgSend_743 = __objc_msgSend_743Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - _NSRange, - )>(); - - late final _sel_replaceCharactersInRange_withAttributedString_1 = - objc.registerName("replaceCharactersInRange:withAttributedString:"); - void _objc_msgSend_744( - ffi.Pointer obj, - ffi.Pointer sel, - _NSRange range, - ffi.Pointer attrString, - ) { - return __objc_msgSend_744(obj, sel, range, attrString); - } - - late final __objc_msgSend_744Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_744 = __objc_msgSend_744Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - )>(); - - late final _sel_insertAttributedString_atIndex_1 = objc.registerName( - "insertAttributedString:atIndex:", - ); - void _objc_msgSend_745( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer attrString, - int loc, - ) { - return __objc_msgSend_745(obj, sel, attrString, loc); - } - - late final __objc_msgSend_745Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - )>>('objc_msgSend'); - late final __objc_msgSend_745 = __objc_msgSend_745Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_appendAttributedString_1 = objc.registerName( - "appendAttributedString:", - ); - void _objc_msgSend_746( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer attrString, - ) { - return __objc_msgSend_746(obj, sel, attrString); - } - - late final __objc_msgSend_746Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_746 = __objc_msgSend_746Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_setAttributedString_1 = objc.registerName( - "setAttributedString:", - ); - late final _sel_beginEditing1 = objc.registerName("beginEditing"); - late final _sel_endEditing1 = objc.registerName("endEditing"); - late final _sel_appendLocalizedFormat_1 = objc.registerName( - "appendLocalizedFormat:", - ); - late final _class_NSDateFormatter1 = objc.getClass("NSDateFormatter"); - late final _class_NSFormatter1 = objc.getClass("NSFormatter"); - late final _sel_stringForObjectValue_1 = objc.registerName( - "stringForObjectValue:", - ); - ffi.Pointer _objc_msgSend_747( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer obj1, - ) { - return __objc_msgSend_747(obj, sel, obj1); - } - - late final __objc_msgSend_747Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_747 = __objc_msgSend_747Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_attributedStringForObjectValue_withDefaultAttributes_1 = objc - .registerName("attributedStringForObjectValue:withDefaultAttributes:"); - ffi.Pointer _objc_msgSend_748( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer obj1, - ffi.Pointer attrs, - ) { - return __objc_msgSend_748(obj, sel, obj1, attrs); - } - - late final __objc_msgSend_748Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_748 = __objc_msgSend_748Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_editingStringForObjectValue_1 = objc.registerName( - "editingStringForObjectValue:", - ); - late final _sel_getObjectValue_forString_errorDescription_1 = - objc.registerName("getObjectValue:forString:errorDescription:"); - bool _objc_msgSend_749( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer> obj1, - ffi.Pointer string, - ffi.Pointer> error, - ) { - return __objc_msgSend_749(obj, sel, obj1, string, error); - } - - late final __objc_msgSend_749Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_749 = __objc_msgSend_749Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer, - ffi.Pointer>, - )>(); - - late final _sel_isPartialStringValid_newEditingString_errorDescription_1 = - objc.registerName( - "isPartialStringValid:newEditingString:errorDescription:", - ); - bool _objc_msgSend_750( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer partialString, - ffi.Pointer> newString, - ffi.Pointer> error, - ) { - return __objc_msgSend_750(obj, sel, partialString, newString, error); - } - - late final __objc_msgSend_750Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_750 = __objc_msgSend_750Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer>, - )>(); - - late final _sel_isPartialStringValid_proposedSelectedRange_originalString_originalSelectedRange_errorDescription_1 = - objc.registerName( - "isPartialStringValid:proposedSelectedRange:originalString:originalSelectedRange:errorDescription:", - ); - bool _objc_msgSend_751( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer> partialStringPtr, - ffi.Pointer<_NSRange> proposedSelRangePtr, - ffi.Pointer origString, - _NSRange origSelRange, - ffi.Pointer> error, - ) { - return __objc_msgSend_751( - obj, - sel, - partialStringPtr, - proposedSelRangePtr, - origString, - origSelRange, - error, - ); - } - - late final __objc_msgSend_751Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer<_NSRange>, - ffi.Pointer, - _NSRange, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_751 = __objc_msgSend_751Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer<_NSRange>, - ffi.Pointer, - _NSRange, - ffi.Pointer>, - )>(); - - late final _sel_formattingContext1 = objc.registerName("formattingContext"); - int _objc_msgSend_752( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_752(obj, sel); - } - - late final __objc_msgSend_752Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_752 = __objc_msgSend_752Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_setFormattingContext_1 = objc.registerName( - "setFormattingContext:", - ); - void _objc_msgSend_753( - ffi.Pointer obj, - ffi.Pointer sel, - int value, - ) { - return __objc_msgSend_753(obj, sel, value); - } - - late final __objc_msgSend_753Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - )>>('objc_msgSend'); - late final __objc_msgSend_753 = __objc_msgSend_753Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_getObjectValue_forString_range_error_1 = objc.registerName( - "getObjectValue:forString:range:error:", - ); - bool _objc_msgSend_754( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer> obj1, - ffi.Pointer string, - ffi.Pointer<_NSRange> rangep, - ffi.Pointer> error, - ) { - return __objc_msgSend_754(obj, sel, obj1, string, rangep, error); - } - - late final __objc_msgSend_754Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer, - ffi.Pointer<_NSRange>, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_754 = __objc_msgSend_754Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer, - ffi.Pointer<_NSRange>, - ffi.Pointer>, - )>(); - - late final _sel_stringFromDate_1 = objc.registerName("stringFromDate:"); - ffi.Pointer _objc_msgSend_755( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer date, - ) { - return __objc_msgSend_755(obj, sel, date); - } - - late final __objc_msgSend_755Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_755 = __objc_msgSend_755Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_dateFromString_1 = objc.registerName("dateFromString:"); - late final _sel_localizedStringFromDate_dateStyle_timeStyle_1 = - objc.registerName("localizedStringFromDate:dateStyle:timeStyle:"); - ffi.Pointer _objc_msgSend_756( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer date, - int dstyle, - int tstyle, - ) { - return __objc_msgSend_756(obj, sel, date, dstyle, tstyle); - } - - late final __objc_msgSend_756Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Int32, - )>>('objc_msgSend'); - late final __objc_msgSend_756 = __objc_msgSend_756Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - int, - )>(); - - late final _sel_dateFormatFromTemplate_options_locale_1 = objc.registerName( - "dateFormatFromTemplate:options:locale:", - ); - ffi.Pointer _objc_msgSend_757( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer tmplate, - int opts, - ffi.Pointer locale, - ) { - return __objc_msgSend_757(obj, sel, tmplate, opts, locale); - } - - late final __objc_msgSend_757Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_757 = __objc_msgSend_757Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - )>(); - - late final _sel_defaultFormatterBehavior1 = objc.registerName( - "defaultFormatterBehavior", - ); - int _objc_msgSend_758( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_758(obj, sel); - } - - late final __objc_msgSend_758Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_758 = __objc_msgSend_758Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_setDefaultFormatterBehavior_1 = objc.registerName( - "setDefaultFormatterBehavior:", - ); - void _objc_msgSend_759( - ffi.Pointer obj, - ffi.Pointer sel, - int value, - ) { - return __objc_msgSend_759(obj, sel, value); - } - - late final __objc_msgSend_759Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - )>>('objc_msgSend'); - late final __objc_msgSend_759 = __objc_msgSend_759Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_setLocalizedDateFormatFromTemplate_1 = objc.registerName( - "setLocalizedDateFormatFromTemplate:", - ); - late final _sel_dateFormat1 = objc.registerName("dateFormat"); - late final _sel_setDateFormat_1 = objc.registerName("setDateFormat:"); - late final _sel_dateStyle1 = objc.registerName("dateStyle"); - int _objc_msgSend_760( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_760(obj, sel); - } - - late final __objc_msgSend_760Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_760 = __objc_msgSend_760Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_setDateStyle_1 = objc.registerName("setDateStyle:"); - void _objc_msgSend_761( - ffi.Pointer obj, - ffi.Pointer sel, - int value, - ) { - return __objc_msgSend_761(obj, sel, value); - } - - late final __objc_msgSend_761Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - )>>('objc_msgSend'); - late final __objc_msgSend_761 = __objc_msgSend_761Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_timeStyle1 = objc.registerName("timeStyle"); - late final _sel_setTimeStyle_1 = objc.registerName("setTimeStyle:"); - late final _sel_locale1 = objc.registerName("locale"); - late final _sel_setLocale_1 = objc.registerName("setLocale:"); - void _objc_msgSend_762( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, - ) { - return __objc_msgSend_762(obj, sel, value); - } - - late final __objc_msgSend_762Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_762 = __objc_msgSend_762Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_generatesCalendarDates1 = objc.registerName( - "generatesCalendarDates", - ); - late final _sel_setGeneratesCalendarDates_1 = objc.registerName( - "setGeneratesCalendarDates:", - ); - late final _sel_formatterBehavior1 = objc.registerName("formatterBehavior"); - late final _sel_setFormatterBehavior_1 = objc.registerName( - "setFormatterBehavior:", - ); - late final _class_NSCalendar1 = objc.getClass("NSCalendar"); - late final _sel_currentCalendar1 = objc.registerName("currentCalendar"); - ffi.Pointer _objc_msgSend_763( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_763(obj, sel); - } - - late final __objc_msgSend_763Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_763 = __objc_msgSend_763Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_autoupdatingCurrentCalendar1 = objc.registerName( - "autoupdatingCurrentCalendar", - ); - late final _sel_calendarWithIdentifier_1 = objc.registerName( - "calendarWithIdentifier:", - ); - ffi.Pointer _objc_msgSend_764( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer calendarIdentifierConstant, - ) { - return __objc_msgSend_764(obj, sel, calendarIdentifierConstant); - } - - late final __objc_msgSend_764Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_764 = __objc_msgSend_764Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_initWithCalendarIdentifier_1 = objc.registerName( - "initWithCalendarIdentifier:", - ); - ffi.Pointer _objc_msgSend_765( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_765(obj, sel); - } - - late final __objc_msgSend_765Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_765 = __objc_msgSend_765Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - void _objc_msgSend_766( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, - ) { - return __objc_msgSend_766(obj, sel, value); - } - - late final __objc_msgSend_766Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_766 = __objc_msgSend_766Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_firstWeekday1 = objc.registerName("firstWeekday"); - late final _sel_setFirstWeekday_1 = objc.registerName("setFirstWeekday:"); - late final _sel_minimumDaysInFirstWeek1 = objc.registerName( - "minimumDaysInFirstWeek", - ); - late final _sel_setMinimumDaysInFirstWeek_1 = objc.registerName( - "setMinimumDaysInFirstWeek:", - ); - late final _sel_eraSymbols1 = objc.registerName("eraSymbols"); - late final _sel_longEraSymbols1 = objc.registerName("longEraSymbols"); - late final _sel_monthSymbols1 = objc.registerName("monthSymbols"); - late final _sel_shortMonthSymbols1 = objc.registerName("shortMonthSymbols"); - late final _sel_veryShortMonthSymbols1 = objc.registerName( - "veryShortMonthSymbols", - ); - late final _sel_standaloneMonthSymbols1 = objc.registerName( - "standaloneMonthSymbols", - ); - late final _sel_shortStandaloneMonthSymbols1 = objc.registerName( - "shortStandaloneMonthSymbols", - ); - late final _sel_veryShortStandaloneMonthSymbols1 = objc.registerName( - "veryShortStandaloneMonthSymbols", - ); - late final _sel_weekdaySymbols1 = objc.registerName("weekdaySymbols"); - late final _sel_shortWeekdaySymbols1 = objc.registerName( - "shortWeekdaySymbols", - ); - late final _sel_veryShortWeekdaySymbols1 = objc.registerName( - "veryShortWeekdaySymbols", - ); - late final _sel_standaloneWeekdaySymbols1 = objc.registerName( - "standaloneWeekdaySymbols", - ); - late final _sel_shortStandaloneWeekdaySymbols1 = objc.registerName( - "shortStandaloneWeekdaySymbols", - ); - late final _sel_veryShortStandaloneWeekdaySymbols1 = objc.registerName( - "veryShortStandaloneWeekdaySymbols", - ); - late final _sel_quarterSymbols1 = objc.registerName("quarterSymbols"); - late final _sel_shortQuarterSymbols1 = objc.registerName( - "shortQuarterSymbols", - ); - late final _sel_standaloneQuarterSymbols1 = objc.registerName( - "standaloneQuarterSymbols", - ); - late final _sel_shortStandaloneQuarterSymbols1 = objc.registerName( - "shortStandaloneQuarterSymbols", - ); - late final _sel_AMSymbol1 = objc.registerName("AMSymbol"); - late final _sel_PMSymbol1 = objc.registerName("PMSymbol"); - late final _sel_minimumRangeOfUnit_1 = objc.registerName( - "minimumRangeOfUnit:", - ); - _NSRange _objc_msgSend_767( - ffi.Pointer obj, - ffi.Pointer sel, - int unit, - ) { - return __objc_msgSend_767(obj, sel, unit); - } - - late final __objc_msgSend_767Ptr = _lookup< - ffi.NativeFunction< - _NSRange Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - )>>('objc_msgSend'); - late final __objc_msgSend_767 = __objc_msgSend_767Ptr.asFunction< - _NSRange Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - void _objc_msgSend_767_stret( - ffi.Pointer<_NSRange> stret, - ffi.Pointer obj, - ffi.Pointer sel, - int unit, - ) { - return __objc_msgSend_767_stret(stret, obj, sel, unit); - } - - late final __objc_msgSend_767_stretPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer<_NSRange>, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - )>>('objc_msgSend_stret'); - late final __objc_msgSend_767_stret = __objc_msgSend_767_stretPtr.asFunction< - void Function( - ffi.Pointer<_NSRange>, - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_maximumRangeOfUnit_1 = objc.registerName( - "maximumRangeOfUnit:", - ); - late final _sel_rangeOfUnit_inUnit_forDate_1 = objc.registerName( - "rangeOfUnit:inUnit:forDate:", - ); - _NSRange _objc_msgSend_768( - ffi.Pointer obj, - ffi.Pointer sel, - int smaller, - int larger, - ffi.Pointer date, - ) { - return __objc_msgSend_768(obj, sel, smaller, larger, date); - } - - late final __objc_msgSend_768Ptr = _lookup< - ffi.NativeFunction< - _NSRange Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Int32, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_768 = __objc_msgSend_768Ptr.asFunction< - _NSRange Function( - ffi.Pointer, - ffi.Pointer, - int, - int, - ffi.Pointer, - )>(); - - void _objc_msgSend_768_stret( - ffi.Pointer<_NSRange> stret, - ffi.Pointer obj, - ffi.Pointer sel, - int smaller, - int larger, - ffi.Pointer date, - ) { - return __objc_msgSend_768_stret(stret, obj, sel, smaller, larger, date); - } - - late final __objc_msgSend_768_stretPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer<_NSRange>, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Int32, - ffi.Pointer, - )>>('objc_msgSend_stret'); - late final __objc_msgSend_768_stret = __objc_msgSend_768_stretPtr.asFunction< - void Function( - ffi.Pointer<_NSRange>, - ffi.Pointer, - ffi.Pointer, - int, - int, - ffi.Pointer, - )>(); - - late final _sel_ordinalityOfUnit_inUnit_forDate_1 = objc.registerName( - "ordinalityOfUnit:inUnit:forDate:", - ); - int _objc_msgSend_769( - ffi.Pointer obj, - ffi.Pointer sel, - int smaller, - int larger, - ffi.Pointer date, - ) { - return __objc_msgSend_769(obj, sel, smaller, larger, date); - } - - late final __objc_msgSend_769Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Int32, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_769 = __objc_msgSend_769Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - int, - int, - ffi.Pointer, - )>(); - - late final _sel_rangeOfUnit_startDate_interval_forDate_1 = objc.registerName( - "rangeOfUnit:startDate:interval:forDate:", - ); - bool _objc_msgSend_770( - ffi.Pointer obj, - ffi.Pointer sel, - int unit, - ffi.Pointer> datep, - ffi.Pointer tip, - ffi.Pointer date, - ) { - return __objc_msgSend_770(obj, sel, unit, datep, tip, date); - } - - late final __objc_msgSend_770Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer>, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_770 = __objc_msgSend_770Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _class_NSDateComponents1 = objc.getClass("NSDateComponents"); - late final _sel_calendar1 = objc.registerName("calendar"); - ffi.Pointer _objc_msgSend_771( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_771(obj, sel); - } - - late final __objc_msgSend_771Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_771 = __objc_msgSend_771Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_setCalendar_1 = objc.registerName("setCalendar:"); - void _objc_msgSend_772( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, - ) { - return __objc_msgSend_772(obj, sel, value); - } - - late final __objc_msgSend_772Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_772 = __objc_msgSend_772Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - ffi.Pointer _objc_msgSend_773( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_773(obj, sel); - } - - late final __objc_msgSend_773Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_773 = __objc_msgSend_773Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - void _objc_msgSend_774( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, - ) { - return __objc_msgSend_774(obj, sel, value); - } - - late final __objc_msgSend_774Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_774 = __objc_msgSend_774Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_era1 = objc.registerName("era"); - late final _sel_setEra_1 = objc.registerName("setEra:"); - late final _sel_year1 = objc.registerName("year"); - late final _sel_setYear_1 = objc.registerName("setYear:"); - late final _sel_month1 = objc.registerName("month"); - late final _sel_setMonth_1 = objc.registerName("setMonth:"); - late final _sel_day1 = objc.registerName("day"); - late final _sel_setDay_1 = objc.registerName("setDay:"); - late final _sel_hour1 = objc.registerName("hour"); - late final _sel_setHour_1 = objc.registerName("setHour:"); - late final _sel_minute1 = objc.registerName("minute"); - late final _sel_setMinute_1 = objc.registerName("setMinute:"); - late final _sel_second1 = objc.registerName("second"); - late final _sel_setSecond_1 = objc.registerName("setSecond:"); - late final _sel_nanosecond1 = objc.registerName("nanosecond"); - late final _sel_setNanosecond_1 = objc.registerName("setNanosecond:"); - late final _sel_weekday1 = objc.registerName("weekday"); - late final _sel_setWeekday_1 = objc.registerName("setWeekday:"); - late final _sel_weekdayOrdinal1 = objc.registerName("weekdayOrdinal"); - late final _sel_setWeekdayOrdinal_1 = objc.registerName("setWeekdayOrdinal:"); - late final _sel_quarter1 = objc.registerName("quarter"); - late final _sel_setQuarter_1 = objc.registerName("setQuarter:"); - late final _sel_weekOfMonth1 = objc.registerName("weekOfMonth"); - late final _sel_setWeekOfMonth_1 = objc.registerName("setWeekOfMonth:"); - late final _sel_weekOfYear1 = objc.registerName("weekOfYear"); - late final _sel_setWeekOfYear_1 = objc.registerName("setWeekOfYear:"); - late final _sel_yearForWeekOfYear1 = objc.registerName("yearForWeekOfYear"); - late final _sel_setYearForWeekOfYear_1 = objc.registerName( - "setYearForWeekOfYear:", - ); - late final _sel_isLeapMonth1 = objc.registerName("isLeapMonth"); - late final _sel_setLeapMonth_1 = objc.registerName("setLeapMonth:"); - late final _sel_week1 = objc.registerName("week"); - late final _sel_setWeek_1 = objc.registerName("setWeek:"); - late final _sel_setValue_forComponent_1 = objc.registerName( - "setValue:forComponent:", - ); - void _objc_msgSend_775( - ffi.Pointer obj, - ffi.Pointer sel, - int value, - int unit, - ) { - return __objc_msgSend_775(obj, sel, value, unit); - } - - late final __objc_msgSend_775Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Long, - ffi.Int32, - )>>('objc_msgSend'); - late final __objc_msgSend_775 = __objc_msgSend_775Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - int, - )>(); - - late final _sel_valueForComponent_1 = objc.registerName("valueForComponent:"); - int _objc_msgSend_776( - ffi.Pointer obj, - ffi.Pointer sel, - int unit, - ) { - return __objc_msgSend_776(obj, sel, unit); - } - - late final __objc_msgSend_776Ptr = _lookup< - ffi.NativeFunction< - ffi.Long Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - )>>('objc_msgSend'); - late final __objc_msgSend_776 = __objc_msgSend_776Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_isValidDate1 = objc.registerName("isValidDate"); - late final _sel_isValidDateInCalendar_1 = objc.registerName( - "isValidDateInCalendar:", - ); - bool _objc_msgSend_777( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer calendar, - ) { - return __objc_msgSend_777(obj, sel, calendar); - } - - late final __objc_msgSend_777Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_777 = __objc_msgSend_777Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_dateFromComponents_1 = objc.registerName( - "dateFromComponents:", - ); - ffi.Pointer _objc_msgSend_778( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer comps, - ) { - return __objc_msgSend_778(obj, sel, comps); - } - - late final __objc_msgSend_778Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_778 = __objc_msgSend_778Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_components_fromDate_1 = objc.registerName( - "components:fromDate:", - ); - ffi.Pointer _objc_msgSend_779( - ffi.Pointer obj, - ffi.Pointer sel, - int unitFlags, - ffi.Pointer date, - ) { - return __objc_msgSend_779(obj, sel, unitFlags, date); - } - - late final __objc_msgSend_779Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_779 = __objc_msgSend_779Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - )>(); - - late final _sel_dateByAddingComponents_toDate_options_1 = objc.registerName( - "dateByAddingComponents:toDate:options:", - ); - ffi.Pointer _objc_msgSend_780( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer comps, - ffi.Pointer date, - int opts, - ) { - return __objc_msgSend_780(obj, sel, comps, date, opts); - } - - late final __objc_msgSend_780Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - )>>('objc_msgSend'); - late final __objc_msgSend_780 = __objc_msgSend_780Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_components_fromDate_toDate_options_1 = objc.registerName( - "components:fromDate:toDate:options:", - ); - ffi.Pointer _objc_msgSend_781( - ffi.Pointer obj, - ffi.Pointer sel, - int unitFlags, - ffi.Pointer startingDate, - ffi.Pointer resultDate, - int opts, - ) { - return __objc_msgSend_781( - obj, - sel, - unitFlags, - startingDate, - resultDate, - opts, - ); - } - - late final __objc_msgSend_781Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - )>>('objc_msgSend'); - late final __objc_msgSend_781 = __objc_msgSend_781Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_getEra_year_month_day_fromDate_1 = objc.registerName( - "getEra:year:month:day:fromDate:", - ); - void _objc_msgSend_782( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer eraValuePointer, - ffi.Pointer yearValuePointer, - ffi.Pointer monthValuePointer, - ffi.Pointer dayValuePointer, - ffi.Pointer date, - ) { - return __objc_msgSend_782( - obj, - sel, - eraValuePointer, - yearValuePointer, - monthValuePointer, - dayValuePointer, - date, - ); - } - - late final __objc_msgSend_782Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_782 = __objc_msgSend_782Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_getEra_yearForWeekOfYear_weekOfYear_weekday_fromDate_1 = objc - .registerName("getEra:yearForWeekOfYear:weekOfYear:weekday:fromDate:"); - late final _sel_getHour_minute_second_nanosecond_fromDate_1 = - objc.registerName("getHour:minute:second:nanosecond:fromDate:"); - late final _sel_component_fromDate_1 = objc.registerName( - "component:fromDate:", - ); - int _objc_msgSend_783( - ffi.Pointer obj, - ffi.Pointer sel, - int unit, - ffi.Pointer date, - ) { - return __objc_msgSend_783(obj, sel, unit, date); - } - - late final __objc_msgSend_783Ptr = _lookup< - ffi.NativeFunction< - ffi.Long Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_783 = __objc_msgSend_783Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - )>(); - - late final _sel_dateWithEra_year_month_day_hour_minute_second_nanosecond_1 = - objc.registerName( - "dateWithEra:year:month:day:hour:minute:second:nanosecond:", - ); - ffi.Pointer _objc_msgSend_784( - ffi.Pointer obj, - ffi.Pointer sel, - int eraValue, - int yearValue, - int monthValue, - int dayValue, - int hourValue, - int minuteValue, - int secondValue, - int nanosecondValue, - ) { - return __objc_msgSend_784( - obj, - sel, - eraValue, - yearValue, - monthValue, - dayValue, - hourValue, - minuteValue, - secondValue, - nanosecondValue, - ); - } - - late final __objc_msgSend_784Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Long, - ffi.Long, - ffi.Long, - ffi.Long, - ffi.Long, - ffi.Long, - ffi.Long, - ffi.Long, - )>>('objc_msgSend'); - late final __objc_msgSend_784 = __objc_msgSend_784Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - int, - int, - int, - int, - int, - int, - int, - )>(); - - late final _sel_dateWithEra_yearForWeekOfYear_weekOfYear_weekday_hour_minute_second_nanosecond_1 = - objc.registerName( - "dateWithEra:yearForWeekOfYear:weekOfYear:weekday:hour:minute:second:nanosecond:", - ); - late final _sel_startOfDayForDate_1 = objc.registerName("startOfDayForDate:"); - late final _sel_componentsInTimeZone_fromDate_1 = objc.registerName( - "componentsInTimeZone:fromDate:", - ); - ffi.Pointer _objc_msgSend_785( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer timezone, - ffi.Pointer date, - ) { - return __objc_msgSend_785(obj, sel, timezone, date); - } - - late final __objc_msgSend_785Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_785 = __objc_msgSend_785Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_compareDate_toDate_toUnitGranularity_1 = objc.registerName( - "compareDate:toDate:toUnitGranularity:", - ); - int _objc_msgSend_786( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer date1, - ffi.Pointer date2, - int unit, - ) { - return __objc_msgSend_786(obj, sel, date1, date2, unit); - } - - late final __objc_msgSend_786Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - )>>('objc_msgSend'); - late final __objc_msgSend_786 = __objc_msgSend_786Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_isDate_equalToDate_toUnitGranularity_1 = objc.registerName( - "isDate:equalToDate:toUnitGranularity:", - ); - bool _objc_msgSend_787( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer date1, - ffi.Pointer date2, - int unit, - ) { - return __objc_msgSend_787(obj, sel, date1, date2, unit); - } - - late final __objc_msgSend_787Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - )>>('objc_msgSend'); - late final __objc_msgSend_787 = __objc_msgSend_787Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_isDate_inSameDayAsDate_1 = objc.registerName( - "isDate:inSameDayAsDate:", - ); - bool _objc_msgSend_788( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer date1, - ffi.Pointer date2, - ) { - return __objc_msgSend_788(obj, sel, date1, date2); - } - - late final __objc_msgSend_788Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_788 = __objc_msgSend_788Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_isDateInToday_1 = objc.registerName("isDateInToday:"); - late final _sel_isDateInYesterday_1 = objc.registerName("isDateInYesterday:"); - late final _sel_isDateInTomorrow_1 = objc.registerName("isDateInTomorrow:"); - late final _sel_isDateInWeekend_1 = objc.registerName("isDateInWeekend:"); - late final _sel_rangeOfWeekendStartDate_interval_containingDate_1 = - objc.registerName("rangeOfWeekendStartDate:interval:containingDate:"); - bool _objc_msgSend_789( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer> datep, - ffi.Pointer tip, - ffi.Pointer date, - ) { - return __objc_msgSend_789(obj, sel, datep, tip, date); - } - - late final __objc_msgSend_789Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_789 = __objc_msgSend_789Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_nextWeekendStartDate_interval_options_afterDate_1 = - objc.registerName("nextWeekendStartDate:interval:options:afterDate:"); - bool _objc_msgSend_790( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer> datep, - ffi.Pointer tip, - int options, - ffi.Pointer date, - ) { - return __objc_msgSend_790(obj, sel, datep, tip, options, date); - } - - late final __objc_msgSend_790Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer, - ffi.Int32, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_790 = __objc_msgSend_790Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer, - int, - ffi.Pointer, - )>(); - - late final _sel_components_fromDateComponents_toDateComponents_options_1 = - objc.registerName( - "components:fromDateComponents:toDateComponents:options:", - ); - ffi.Pointer _objc_msgSend_791( - ffi.Pointer obj, - ffi.Pointer sel, - int unitFlags, - ffi.Pointer startingDateComp, - ffi.Pointer resultDateComp, - int options, - ) { - return __objc_msgSend_791( - obj, - sel, - unitFlags, - startingDateComp, - resultDateComp, - options, - ); - } - - late final __objc_msgSend_791Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - )>>('objc_msgSend'); - late final __objc_msgSend_791 = __objc_msgSend_791Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_dateByAddingUnit_value_toDate_options_1 = objc.registerName( - "dateByAddingUnit:value:toDate:options:", - ); - ffi.Pointer _objc_msgSend_792( - ffi.Pointer obj, - ffi.Pointer sel, - int unit, - int value, - ffi.Pointer date, - int options, - ) { - return __objc_msgSend_792(obj, sel, unit, value, date, options); - } - - late final __objc_msgSend_792Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Long, - ffi.Pointer, - ffi.Int32, - )>>('objc_msgSend'); - late final __objc_msgSend_792 = __objc_msgSend_792Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - int, - ffi.Pointer, - int, - )>(); - - late final _sel_enumerateDatesStartingAfterDate_matchingComponents_options_usingBlock_1 = - objc.registerName( - "enumerateDatesStartingAfterDate:matchingComponents:options:usingBlock:", - ); - void _objc_msgSend_793( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer start, - ffi.Pointer comps, - int opts, - ffi.Pointer block, - ) { - return __objc_msgSend_793(obj, sel, start, comps, opts, block); - } - - late final __objc_msgSend_793Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_793 = __objc_msgSend_793Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - )>(); - - late final _sel_nextDateAfterDate_matchingComponents_options_1 = - objc.registerName("nextDateAfterDate:matchingComponents:options:"); - ffi.Pointer _objc_msgSend_794( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer date, - ffi.Pointer comps, - int options, - ) { - return __objc_msgSend_794(obj, sel, date, comps, options); - } - - late final __objc_msgSend_794Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - )>>('objc_msgSend'); - late final __objc_msgSend_794 = __objc_msgSend_794Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_nextDateAfterDate_matchingUnit_value_options_1 = - objc.registerName("nextDateAfterDate:matchingUnit:value:options:"); - ffi.Pointer _objc_msgSend_795( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer date, - int unit, - int value, - int options, - ) { - return __objc_msgSend_795(obj, sel, date, unit, value, options); - } - - late final __objc_msgSend_795Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Long, - ffi.Int32, - )>>('objc_msgSend'); - late final __objc_msgSend_795 = __objc_msgSend_795Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - int, - int, - )>(); - - late final _sel_nextDateAfterDate_matchingHour_minute_second_options_1 = objc - .registerName("nextDateAfterDate:matchingHour:minute:second:options:"); - ffi.Pointer _objc_msgSend_796( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer date, - int hourValue, - int minuteValue, - int secondValue, - int options, - ) { - return __objc_msgSend_796( - obj, - sel, - date, - hourValue, - minuteValue, - secondValue, - options, - ); - } - - late final __objc_msgSend_796Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Long, - ffi.Long, - ffi.Long, - ffi.Int32, - )>>('objc_msgSend'); - late final __objc_msgSend_796 = __objc_msgSend_796Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - int, - int, - int, - )>(); - - late final _sel_dateBySettingUnit_value_ofDate_options_1 = objc.registerName( - "dateBySettingUnit:value:ofDate:options:", - ); - late final _sel_dateBySettingHour_minute_second_ofDate_options_1 = - objc.registerName("dateBySettingHour:minute:second:ofDate:options:"); - ffi.Pointer _objc_msgSend_797( - ffi.Pointer obj, - ffi.Pointer sel, - int h, - int m, - int s, - ffi.Pointer date, - int opts, - ) { - return __objc_msgSend_797(obj, sel, h, m, s, date, opts); - } - - late final __objc_msgSend_797Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Long, - ffi.Long, - ffi.Long, - ffi.Pointer, - ffi.Int32, - )>>('objc_msgSend'); - late final __objc_msgSend_797 = __objc_msgSend_797Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - int, - int, - ffi.Pointer, - int, - )>(); - - late final _sel_date_matchesComponents_1 = objc.registerName( - "date:matchesComponents:", - ); - bool _objc_msgSend_798( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer date, - ffi.Pointer components, - ) { - return __objc_msgSend_798(obj, sel, date, components); - } - - late final __objc_msgSend_798Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_798 = __objc_msgSend_798Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - void _objc_msgSend_799( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, - ) { - return __objc_msgSend_799(obj, sel, value); - } - - late final __objc_msgSend_799Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_799 = __objc_msgSend_799Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_isLenient1 = objc.registerName("isLenient"); - late final _sel_setLenient_1 = objc.registerName("setLenient:"); - late final _sel_twoDigitStartDate1 = objc.registerName("twoDigitStartDate"); - late final _sel_setTwoDigitStartDate_1 = objc.registerName( - "setTwoDigitStartDate:", - ); - void _objc_msgSend_800( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, - ) { - return __objc_msgSend_800(obj, sel, value); - } - - late final __objc_msgSend_800Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_800 = __objc_msgSend_800Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_defaultDate1 = objc.registerName("defaultDate"); - late final _sel_setDefaultDate_1 = objc.registerName("setDefaultDate:"); - late final _sel_setEraSymbols_1 = objc.registerName("setEraSymbols:"); - void _objc_msgSend_801( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, - ) { - return __objc_msgSend_801(obj, sel, value); - } - - late final __objc_msgSend_801Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_801 = __objc_msgSend_801Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_setMonthSymbols_1 = objc.registerName("setMonthSymbols:"); - late final _sel_setShortMonthSymbols_1 = objc.registerName( - "setShortMonthSymbols:", - ); - late final _sel_setWeekdaySymbols_1 = objc.registerName("setWeekdaySymbols:"); - late final _sel_setShortWeekdaySymbols_1 = objc.registerName( - "setShortWeekdaySymbols:", - ); - late final _sel_setAMSymbol_1 = objc.registerName("setAMSymbol:"); - late final _sel_setPMSymbol_1 = objc.registerName("setPMSymbol:"); - late final _sel_setLongEraSymbols_1 = objc.registerName("setLongEraSymbols:"); - late final _sel_setVeryShortMonthSymbols_1 = objc.registerName( - "setVeryShortMonthSymbols:", - ); - late final _sel_setStandaloneMonthSymbols_1 = objc.registerName( - "setStandaloneMonthSymbols:", - ); - late final _sel_setShortStandaloneMonthSymbols_1 = objc.registerName( - "setShortStandaloneMonthSymbols:", - ); - late final _sel_setVeryShortStandaloneMonthSymbols_1 = objc.registerName( - "setVeryShortStandaloneMonthSymbols:", - ); - late final _sel_setVeryShortWeekdaySymbols_1 = objc.registerName( - "setVeryShortWeekdaySymbols:", - ); - late final _sel_setStandaloneWeekdaySymbols_1 = objc.registerName( - "setStandaloneWeekdaySymbols:", - ); - late final _sel_setShortStandaloneWeekdaySymbols_1 = objc.registerName( - "setShortStandaloneWeekdaySymbols:", - ); - late final _sel_setVeryShortStandaloneWeekdaySymbols_1 = objc.registerName( - "setVeryShortStandaloneWeekdaySymbols:", - ); - late final _sel_setQuarterSymbols_1 = objc.registerName("setQuarterSymbols:"); - late final _sel_setShortQuarterSymbols_1 = objc.registerName( - "setShortQuarterSymbols:", - ); - late final _sel_setStandaloneQuarterSymbols_1 = objc.registerName( - "setStandaloneQuarterSymbols:", - ); - late final _sel_setShortStandaloneQuarterSymbols_1 = objc.registerName( - "setShortStandaloneQuarterSymbols:", - ); - late final _sel_gregorianStartDate1 = objc.registerName("gregorianStartDate"); - late final _sel_setGregorianStartDate_1 = objc.registerName( - "setGregorianStartDate:", - ); - late final _sel_doesRelativeDateFormatting1 = objc.registerName( - "doesRelativeDateFormatting", - ); - late final _sel_setDoesRelativeDateFormatting_1 = objc.registerName( - "setDoesRelativeDateFormatting:", - ); - late final _sel_initWithDateFormat_allowNaturalLanguage_1 = objc.registerName( - "initWithDateFormat:allowNaturalLanguage:", - ); - late final _sel_allowsNaturalLanguage1 = objc.registerName( - "allowsNaturalLanguage", - ); - late final _class_NSNumberFormatter1 = objc.getClass("NSNumberFormatter"); - late final _sel_stringFromNumber_1 = objc.registerName("stringFromNumber:"); - ffi.Pointer _objc_msgSend_802( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer number, - ) { - return __objc_msgSend_802(obj, sel, number); - } - - late final __objc_msgSend_802Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_802 = __objc_msgSend_802Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_numberFromString_1 = objc.registerName("numberFromString:"); - ffi.Pointer _objc_msgSend_803( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer string, - ) { - return __objc_msgSend_803(obj, sel, string); - } - - late final __objc_msgSend_803Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_803 = __objc_msgSend_803Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_localizedStringFromNumber_numberStyle_1 = objc.registerName( - "localizedStringFromNumber:numberStyle:", - ); - ffi.Pointer _objc_msgSend_804( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer num, - int nstyle, - ) { - return __objc_msgSend_804(obj, sel, num, nstyle); - } - - late final __objc_msgSend_804Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - )>>('objc_msgSend'); - late final __objc_msgSend_804 = __objc_msgSend_804Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - int _objc_msgSend_805( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_805(obj, sel); - } - - late final __objc_msgSend_805Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_805 = __objc_msgSend_805Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - void _objc_msgSend_806( - ffi.Pointer obj, - ffi.Pointer sel, - int behavior, - ) { - return __objc_msgSend_806(obj, sel, behavior); - } - - late final __objc_msgSend_806Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - )>>('objc_msgSend'); - late final __objc_msgSend_806 = __objc_msgSend_806Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_numberStyle1 = objc.registerName("numberStyle"); - int _objc_msgSend_807( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_807(obj, sel); - } - - late final __objc_msgSend_807Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_807 = __objc_msgSend_807Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_setNumberStyle_1 = objc.registerName("setNumberStyle:"); - void _objc_msgSend_808( - ffi.Pointer obj, - ffi.Pointer sel, - int value, - ) { - return __objc_msgSend_808(obj, sel, value); - } - - late final __objc_msgSend_808Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - )>>('objc_msgSend'); - late final __objc_msgSend_808 = __objc_msgSend_808Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_generatesDecimalNumbers1 = objc.registerName( - "generatesDecimalNumbers", - ); - late final _sel_setGeneratesDecimalNumbers_1 = objc.registerName( - "setGeneratesDecimalNumbers:", - ); - void _objc_msgSend_809( - ffi.Pointer obj, - ffi.Pointer sel, - int value, - ) { - return __objc_msgSend_809(obj, sel, value); - } - - late final __objc_msgSend_809Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - )>>('objc_msgSend'); - late final __objc_msgSend_809 = __objc_msgSend_809Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_negativeFormat1 = objc.registerName("negativeFormat"); - late final _sel_setNegativeFormat_1 = objc.registerName("setNegativeFormat:"); - late final _sel_textAttributesForNegativeValues1 = objc.registerName( - "textAttributesForNegativeValues", - ); - late final _sel_setTextAttributesForNegativeValues_1 = objc.registerName( - "setTextAttributesForNegativeValues:", - ); - late final _sel_positiveFormat1 = objc.registerName("positiveFormat"); - late final _sel_setPositiveFormat_1 = objc.registerName("setPositiveFormat:"); - late final _sel_textAttributesForPositiveValues1 = objc.registerName( - "textAttributesForPositiveValues", - ); - late final _sel_setTextAttributesForPositiveValues_1 = objc.registerName( - "setTextAttributesForPositiveValues:", - ); - late final _sel_allowsFloats1 = objc.registerName("allowsFloats"); - late final _sel_setAllowsFloats_1 = objc.registerName("setAllowsFloats:"); - late final _sel_setDecimalSeparator_1 = objc.registerName( - "setDecimalSeparator:", - ); - late final _sel_alwaysShowsDecimalSeparator1 = objc.registerName( - "alwaysShowsDecimalSeparator", - ); - late final _sel_setAlwaysShowsDecimalSeparator_1 = objc.registerName( - "setAlwaysShowsDecimalSeparator:", - ); - late final _sel_currencyDecimalSeparator1 = objc.registerName( - "currencyDecimalSeparator", - ); - late final _sel_setCurrencyDecimalSeparator_1 = objc.registerName( - "setCurrencyDecimalSeparator:", - ); - late final _sel_usesGroupingSeparator1 = objc.registerName( - "usesGroupingSeparator", - ); - late final _sel_setUsesGroupingSeparator_1 = objc.registerName( - "setUsesGroupingSeparator:", - ); - late final _sel_setGroupingSeparator_1 = objc.registerName( - "setGroupingSeparator:", - ); - late final _sel_zeroSymbol1 = objc.registerName("zeroSymbol"); - late final _sel_setZeroSymbol_1 = objc.registerName("setZeroSymbol:"); - late final _sel_textAttributesForZero1 = objc.registerName( - "textAttributesForZero", - ); - late final _sel_setTextAttributesForZero_1 = objc.registerName( - "setTextAttributesForZero:", - ); - late final _sel_nilSymbol1 = objc.registerName("nilSymbol"); - late final _sel_setNilSymbol_1 = objc.registerName("setNilSymbol:"); - late final _sel_textAttributesForNil1 = objc.registerName( - "textAttributesForNil", - ); - late final _sel_setTextAttributesForNil_1 = objc.registerName( - "setTextAttributesForNil:", - ); - late final _sel_notANumberSymbol1 = objc.registerName("notANumberSymbol"); - late final _sel_setNotANumberSymbol_1 = objc.registerName( - "setNotANumberSymbol:", - ); - late final _sel_textAttributesForNotANumber1 = objc.registerName( - "textAttributesForNotANumber", - ); - late final _sel_setTextAttributesForNotANumber_1 = objc.registerName( - "setTextAttributesForNotANumber:", - ); - late final _sel_positiveInfinitySymbol1 = objc.registerName( - "positiveInfinitySymbol", - ); - late final _sel_setPositiveInfinitySymbol_1 = objc.registerName( - "setPositiveInfinitySymbol:", - ); - late final _sel_textAttributesForPositiveInfinity1 = objc.registerName( - "textAttributesForPositiveInfinity", - ); - late final _sel_setTextAttributesForPositiveInfinity_1 = objc.registerName( - "setTextAttributesForPositiveInfinity:", - ); - late final _sel_negativeInfinitySymbol1 = objc.registerName( - "negativeInfinitySymbol", - ); - late final _sel_setNegativeInfinitySymbol_1 = objc.registerName( - "setNegativeInfinitySymbol:", - ); - late final _sel_textAttributesForNegativeInfinity1 = objc.registerName( - "textAttributesForNegativeInfinity", - ); - late final _sel_setTextAttributesForNegativeInfinity_1 = objc.registerName( - "setTextAttributesForNegativeInfinity:", - ); - late final _sel_positivePrefix1 = objc.registerName("positivePrefix"); - late final _sel_setPositivePrefix_1 = objc.registerName("setPositivePrefix:"); - late final _sel_positiveSuffix1 = objc.registerName("positiveSuffix"); - late final _sel_setPositiveSuffix_1 = objc.registerName("setPositiveSuffix:"); - late final _sel_negativePrefix1 = objc.registerName("negativePrefix"); - late final _sel_setNegativePrefix_1 = objc.registerName("setNegativePrefix:"); - late final _sel_negativeSuffix1 = objc.registerName("negativeSuffix"); - late final _sel_setNegativeSuffix_1 = objc.registerName("setNegativeSuffix:"); - late final _sel_setCurrencyCode_1 = objc.registerName("setCurrencyCode:"); - late final _sel_setCurrencySymbol_1 = objc.registerName("setCurrencySymbol:"); - late final _sel_internationalCurrencySymbol1 = objc.registerName( - "internationalCurrencySymbol", - ); - late final _sel_setInternationalCurrencySymbol_1 = objc.registerName( - "setInternationalCurrencySymbol:", - ); - late final _sel_percentSymbol1 = objc.registerName("percentSymbol"); - late final _sel_setPercentSymbol_1 = objc.registerName("setPercentSymbol:"); - late final _sel_perMillSymbol1 = objc.registerName("perMillSymbol"); - late final _sel_setPerMillSymbol_1 = objc.registerName("setPerMillSymbol:"); - late final _sel_minusSign1 = objc.registerName("minusSign"); - late final _sel_setMinusSign_1 = objc.registerName("setMinusSign:"); - late final _sel_plusSign1 = objc.registerName("plusSign"); - late final _sel_setPlusSign_1 = objc.registerName("setPlusSign:"); - late final _sel_exponentSymbol1 = objc.registerName("exponentSymbol"); - late final _sel_setExponentSymbol_1 = objc.registerName("setExponentSymbol:"); - late final _sel_groupingSize1 = objc.registerName("groupingSize"); - late final _sel_setGroupingSize_1 = objc.registerName("setGroupingSize:"); - late final _sel_secondaryGroupingSize1 = objc.registerName( - "secondaryGroupingSize", - ); - late final _sel_setSecondaryGroupingSize_1 = objc.registerName( - "setSecondaryGroupingSize:", - ); - late final _sel_multiplier1 = objc.registerName("multiplier"); - late final _sel_setMultiplier_1 = objc.registerName("setMultiplier:"); - late final _sel_formatWidth1 = objc.registerName("formatWidth"); - late final _sel_setFormatWidth_1 = objc.registerName("setFormatWidth:"); - late final _sel_paddingCharacter1 = objc.registerName("paddingCharacter"); - late final _sel_setPaddingCharacter_1 = objc.registerName( - "setPaddingCharacter:", - ); - late final _sel_paddingPosition1 = objc.registerName("paddingPosition"); - int _objc_msgSend_810( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_810(obj, sel); - } - - late final __objc_msgSend_810Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_810 = __objc_msgSend_810Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_setPaddingPosition_1 = objc.registerName( - "setPaddingPosition:", - ); - void _objc_msgSend_811( - ffi.Pointer obj, - ffi.Pointer sel, - int value, - ) { - return __objc_msgSend_811(obj, sel, value); - } - - late final __objc_msgSend_811Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - )>>('objc_msgSend'); - late final __objc_msgSend_811 = __objc_msgSend_811Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_roundingMode1 = objc.registerName("roundingMode"); - int _objc_msgSend_812( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_812(obj, sel); - } - - late final __objc_msgSend_812Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_812 = __objc_msgSend_812Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_setRoundingMode_1 = objc.registerName("setRoundingMode:"); - void _objc_msgSend_813( - ffi.Pointer obj, - ffi.Pointer sel, - int value, - ) { - return __objc_msgSend_813(obj, sel, value); - } - - late final __objc_msgSend_813Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - )>>('objc_msgSend'); - late final __objc_msgSend_813 = __objc_msgSend_813Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_roundingIncrement1 = objc.registerName("roundingIncrement"); - ffi.Pointer _objc_msgSend_814( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_814(obj, sel); - } - - late final __objc_msgSend_814Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_814 = __objc_msgSend_814Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_setRoundingIncrement_1 = objc.registerName( - "setRoundingIncrement:", - ); - void _objc_msgSend_815( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, - ) { - return __objc_msgSend_815(obj, sel, value); - } - - late final __objc_msgSend_815Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_815 = __objc_msgSend_815Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_minimumIntegerDigits1 = objc.registerName( - "minimumIntegerDigits", - ); - late final _sel_setMinimumIntegerDigits_1 = objc.registerName( - "setMinimumIntegerDigits:", - ); - late final _sel_maximumIntegerDigits1 = objc.registerName( - "maximumIntegerDigits", - ); - late final _sel_setMaximumIntegerDigits_1 = objc.registerName( - "setMaximumIntegerDigits:", - ); - late final _sel_minimumFractionDigits1 = objc.registerName( - "minimumFractionDigits", - ); - late final _sel_setMinimumFractionDigits_1 = objc.registerName( - "setMinimumFractionDigits:", - ); - late final _sel_maximumFractionDigits1 = objc.registerName( - "maximumFractionDigits", - ); - late final _sel_setMaximumFractionDigits_1 = objc.registerName( - "setMaximumFractionDigits:", - ); - late final _sel_minimum1 = objc.registerName("minimum"); - late final _sel_setMinimum_1 = objc.registerName("setMinimum:"); - late final _sel_maximum1 = objc.registerName("maximum"); - late final _sel_setMaximum_1 = objc.registerName("setMaximum:"); - late final _sel_currencyGroupingSeparator1 = objc.registerName( - "currencyGroupingSeparator", - ); - late final _sel_setCurrencyGroupingSeparator_1 = objc.registerName( - "setCurrencyGroupingSeparator:", - ); - late final _sel_usesSignificantDigits1 = objc.registerName( - "usesSignificantDigits", - ); - late final _sel_setUsesSignificantDigits_1 = objc.registerName( - "setUsesSignificantDigits:", - ); - late final _sel_minimumSignificantDigits1 = objc.registerName( - "minimumSignificantDigits", - ); - late final _sel_setMinimumSignificantDigits_1 = objc.registerName( - "setMinimumSignificantDigits:", - ); - late final _sel_maximumSignificantDigits1 = objc.registerName( - "maximumSignificantDigits", - ); - late final _sel_setMaximumSignificantDigits_1 = objc.registerName( - "setMaximumSignificantDigits:", - ); - late final _sel_isPartialStringValidationEnabled1 = objc.registerName( - "isPartialStringValidationEnabled", - ); - late final _sel_setPartialStringValidationEnabled_1 = objc.registerName( - "setPartialStringValidationEnabled:", - ); - late final _sel_hasThousandSeparators1 = objc.registerName( - "hasThousandSeparators", - ); - late final _sel_setHasThousandSeparators_1 = objc.registerName( - "setHasThousandSeparators:", - ); - late final _sel_thousandSeparator1 = objc.registerName("thousandSeparator"); - late final _sel_setThousandSeparator_1 = objc.registerName( - "setThousandSeparator:", - ); - late final _sel_localizesFormat1 = objc.registerName("localizesFormat"); - late final _sel_setLocalizesFormat_1 = objc.registerName( - "setLocalizesFormat:", - ); - late final _sel_format1 = objc.registerName("format"); - late final _sel_setFormat_1 = objc.registerName("setFormat:"); - late final _sel_attributedStringForZero1 = objc.registerName( - "attributedStringForZero", - ); - late final _sel_setAttributedStringForZero_1 = objc.registerName( - "setAttributedStringForZero:", - ); - void _objc_msgSend_816( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, - ) { - return __objc_msgSend_816(obj, sel, value); - } - - late final __objc_msgSend_816Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_816 = __objc_msgSend_816Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_attributedStringForNil1 = objc.registerName( - "attributedStringForNil", - ); - late final _sel_setAttributedStringForNil_1 = objc.registerName( - "setAttributedStringForNil:", - ); - late final _sel_attributedStringForNotANumber1 = objc.registerName( - "attributedStringForNotANumber", - ); - late final _sel_setAttributedStringForNotANumber_1 = objc.registerName( - "setAttributedStringForNotANumber:", - ); - late final _class_NSDecimalNumberHandler1 = objc.getClass( - "NSDecimalNumberHandler", - ); - late final _sel_defaultDecimalNumberHandler1 = objc.registerName( - "defaultDecimalNumberHandler", - ); - ffi.Pointer _objc_msgSend_817( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_817(obj, sel); - } - - late final __objc_msgSend_817Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_817 = __objc_msgSend_817Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_initWithRoundingMode_scale_raiseOnExactness_raiseOnOverflow_raiseOnUnderflow_raiseOnDivideByZero_1 = - objc.registerName( - "initWithRoundingMode:scale:raiseOnExactness:raiseOnOverflow:raiseOnUnderflow:raiseOnDivideByZero:", - ); - instancetype _objc_msgSend_818( - ffi.Pointer obj, - ffi.Pointer sel, - int roundingMode, - int scale, - bool exact, - bool overflow, - bool underflow, - bool divideByZero, - ) { - return __objc_msgSend_818( - obj, - sel, - roundingMode, - scale, - exact, - overflow, - underflow, - divideByZero, - ); - } - - late final __objc_msgSend_818Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Short, - ffi.Bool, - ffi.Bool, - ffi.Bool, - ffi.Bool, - )>>('objc_msgSend'); - late final __objc_msgSend_818 = __objc_msgSend_818Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - int, - int, - bool, - bool, - bool, - bool, - )>(); - - late final _sel_decimalNumberHandlerWithRoundingMode_scale_raiseOnExactness_raiseOnOverflow_raiseOnUnderflow_raiseOnDivideByZero_1 = - objc.registerName( - "decimalNumberHandlerWithRoundingMode:scale:raiseOnExactness:raiseOnOverflow:raiseOnUnderflow:raiseOnDivideByZero:", - ); - late final _sel_roundingBehavior1 = objc.registerName("roundingBehavior"); - late final _sel_setRoundingBehavior_1 = objc.registerName( - "setRoundingBehavior:", - ); - void _objc_msgSend_819( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, - ) { - return __objc_msgSend_819(obj, sel, value); - } - - late final __objc_msgSend_819Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_819 = __objc_msgSend_819Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _class_NSScanner1 = objc.getClass("NSScanner"); - late final _sel_scanLocation1 = objc.registerName("scanLocation"); - late final _sel_setScanLocation_1 = objc.registerName("setScanLocation:"); - late final _sel_charactersToBeSkipped1 = objc.registerName( - "charactersToBeSkipped", - ); - ffi.Pointer _objc_msgSend_820( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_820(obj, sel); - } - - late final __objc_msgSend_820Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_820 = __objc_msgSend_820Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_setCharactersToBeSkipped_1 = objc.registerName( - "setCharactersToBeSkipped:", - ); - void _objc_msgSend_821( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, - ) { - return __objc_msgSend_821(obj, sel, value); - } - - late final __objc_msgSend_821Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_821 = __objc_msgSend_821Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_caseSensitive1 = objc.registerName("caseSensitive"); - late final _sel_setCaseSensitive_1 = objc.registerName("setCaseSensitive:"); - late final _sel_scanInt_1 = objc.registerName("scanInt:"); - bool _objc_msgSend_822( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer result, - ) { - return __objc_msgSend_822(obj, sel, result); - } - - late final __objc_msgSend_822Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_822 = __objc_msgSend_822Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_scanInteger_1 = objc.registerName("scanInteger:"); - bool _objc_msgSend_823( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer result, - ) { - return __objc_msgSend_823(obj, sel, result); - } - - late final __objc_msgSend_823Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_823 = __objc_msgSend_823Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_scanLongLong_1 = objc.registerName("scanLongLong:"); - bool _objc_msgSend_824( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer result, - ) { - return __objc_msgSend_824(obj, sel, result); - } - - late final __objc_msgSend_824Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_824 = __objc_msgSend_824Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_scanUnsignedLongLong_1 = objc.registerName( - "scanUnsignedLongLong:", - ); - bool _objc_msgSend_825( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer result, - ) { - return __objc_msgSend_825(obj, sel, result); - } - - late final __objc_msgSend_825Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_825 = __objc_msgSend_825Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_scanFloat_1 = objc.registerName("scanFloat:"); - bool _objc_msgSend_826( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer result, - ) { - return __objc_msgSend_826(obj, sel, result); - } - - late final __objc_msgSend_826Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_826 = __objc_msgSend_826Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_scanDouble_1 = objc.registerName("scanDouble:"); - bool _objc_msgSend_827( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer result, - ) { - return __objc_msgSend_827(obj, sel, result); - } - - late final __objc_msgSend_827Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_827 = __objc_msgSend_827Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_scanHexInt_1 = objc.registerName("scanHexInt:"); - bool _objc_msgSend_828( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer result, - ) { - return __objc_msgSend_828(obj, sel, result); - } - - late final __objc_msgSend_828Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_828 = __objc_msgSend_828Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_scanHexLongLong_1 = objc.registerName("scanHexLongLong:"); - late final _sel_scanHexFloat_1 = objc.registerName("scanHexFloat:"); - late final _sel_scanHexDouble_1 = objc.registerName("scanHexDouble:"); - late final _sel_scanString_intoString_1 = objc.registerName( - "scanString:intoString:", - ); - bool _objc_msgSend_829( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer string, - ffi.Pointer> result, - ) { - return __objc_msgSend_829(obj, sel, string, result); - } - - late final __objc_msgSend_829Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_829 = __objc_msgSend_829Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>(); - - late final _sel_scanCharactersFromSet_intoString_1 = objc.registerName( - "scanCharactersFromSet:intoString:", - ); - bool _objc_msgSend_830( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer set1, - ffi.Pointer> result, - ) { - return __objc_msgSend_830(obj, sel, set1, result); - } - - late final __objc_msgSend_830Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_830 = __objc_msgSend_830Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>(); - - late final _sel_scanUpToString_intoString_1 = objc.registerName( - "scanUpToString:intoString:", - ); - late final _sel_scanUpToCharactersFromSet_intoString_1 = objc.registerName( - "scanUpToCharactersFromSet:intoString:", - ); - late final _sel_isAtEnd1 = objc.registerName("isAtEnd"); - late final _sel_scannerWithString_1 = objc.registerName("scannerWithString:"); - late final _sel_localizedScannerWithString_1 = objc.registerName( - "localizedScannerWithString:", - ); - late final _sel_scanDecimal_1 = objc.registerName("scanDecimal:"); - bool _objc_msgSend_831( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer dcm, - ) { - return __objc_msgSend_831(obj, sel, dcm); - } - - late final __objc_msgSend_831Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_831 = __objc_msgSend_831Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _class_NSException1 = objc.getClass("NSException"); - late final _sel_exceptionWithName_reason_userInfo_1 = objc.registerName( - "exceptionWithName:reason:userInfo:", - ); - ffi.Pointer _objc_msgSend_832( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer name, - ffi.Pointer reason, - ffi.Pointer userInfo, - ) { - return __objc_msgSend_832(obj, sel, name, reason, userInfo); - } - - late final __objc_msgSend_832Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_832 = __objc_msgSend_832Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_initWithName_reason_userInfo_1 = objc.registerName( - "initWithName:reason:userInfo:", - ); - instancetype _objc_msgSend_833( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aName, - ffi.Pointer aReason, - ffi.Pointer aUserInfo, - ) { - return __objc_msgSend_833(obj, sel, aName, aReason, aUserInfo); - } - - late final __objc_msgSend_833Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_833 = __objc_msgSend_833Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_reason1 = objc.registerName("reason"); - late final _sel_raise1 = objc.registerName("raise"); - late final _sel_raise_format_1 = objc.registerName("raise:format:"); - late final _sel_raise_format_arguments_1 = objc.registerName( - "raise:format:arguments:", - ); - void _objc_msgSend_834( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer name, - ffi.Pointer format, - ffi.Pointer<__va_list_tag> argList, - ) { - return __objc_msgSend_834(obj, sel, name, format, argList); - } - - late final __objc_msgSend_834Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<__va_list_tag>, - )>>('objc_msgSend'); - late final __objc_msgSend_834 = __objc_msgSend_834Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<__va_list_tag>, - )>(); - - late final _class_NSFileHandle1 = objc.getClass("NSFileHandle"); - late final _sel_availableData1 = objc.registerName("availableData"); - late final _sel_initWithFileDescriptor_closeOnDealloc_1 = objc.registerName( - "initWithFileDescriptor:closeOnDealloc:", - ); - instancetype _objc_msgSend_835( - ffi.Pointer obj, - ffi.Pointer sel, - int fd, - bool closeopt, - ) { - return __objc_msgSend_835(obj, sel, fd, closeopt); - } - - late final __objc_msgSend_835Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int, - ffi.Bool, - )>>('objc_msgSend'); - late final __objc_msgSend_835 = __objc_msgSend_835Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - int, - bool, - )>(); - - late final _sel_readDataToEndOfFileAndReturnError_1 = objc.registerName( - "readDataToEndOfFileAndReturnError:", - ); - ffi.Pointer _objc_msgSend_836( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer> error, - ) { - return __objc_msgSend_836(obj, sel, error); - } - - late final __objc_msgSend_836Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_836 = __objc_msgSend_836Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>(); - - late final _sel_readDataUpToLength_error_1 = objc.registerName( - "readDataUpToLength:error:", - ); - ffi.Pointer _objc_msgSend_837( - ffi.Pointer obj, - ffi.Pointer sel, - int length, - ffi.Pointer> error, - ) { - return __objc_msgSend_837(obj, sel, length, error); - } - - late final __objc_msgSend_837Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_837 = __objc_msgSend_837Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>, - )>(); - - late final _sel_writeData_error_1 = objc.registerName("writeData:error:"); - bool _objc_msgSend_838( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer data, - ffi.Pointer> error, - ) { - return __objc_msgSend_838(obj, sel, data, error); - } - - late final __objc_msgSend_838Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_838 = __objc_msgSend_838Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>(); - - late final _sel_getOffset_error_1 = objc.registerName("getOffset:error:"); - bool _objc_msgSend_839( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer offsetInFile, - ffi.Pointer> error, - ) { - return __objc_msgSend_839(obj, sel, offsetInFile, error); - } - - late final __objc_msgSend_839Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_839 = __objc_msgSend_839Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>(); - - late final _sel_seekToEndReturningOffset_error_1 = objc.registerName( - "seekToEndReturningOffset:error:", - ); - late final _sel_seekToOffset_error_1 = objc.registerName( - "seekToOffset:error:", - ); - bool _objc_msgSend_840( - ffi.Pointer obj, - ffi.Pointer sel, - int offset, - ffi.Pointer> error, - ) { - return __objc_msgSend_840(obj, sel, offset, error); - } - - late final __objc_msgSend_840Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLongLong, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_840 = __objc_msgSend_840Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>, - )>(); - - late final _sel_truncateAtOffset_error_1 = objc.registerName( - "truncateAtOffset:error:", - ); - late final _sel_synchronizeAndReturnError_1 = objc.registerName( - "synchronizeAndReturnError:", - ); - late final _sel_closeAndReturnError_1 = objc.registerName( - "closeAndReturnError:", - ); - late final _sel_fileHandleWithStandardInput1 = objc.registerName( - "fileHandleWithStandardInput", - ); - ffi.Pointer _objc_msgSend_841( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_841(obj, sel); - } - - late final __objc_msgSend_841Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_841 = __objc_msgSend_841Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_fileHandleWithStandardOutput1 = objc.registerName( - "fileHandleWithStandardOutput", - ); - late final _sel_fileHandleWithStandardError1 = objc.registerName( - "fileHandleWithStandardError", - ); - late final _sel_fileHandleWithNullDevice1 = objc.registerName( - "fileHandleWithNullDevice", - ); - late final _sel_fileHandleForReadingAtPath_1 = objc.registerName( - "fileHandleForReadingAtPath:", - ); - late final _sel_fileHandleForWritingAtPath_1 = objc.registerName( - "fileHandleForWritingAtPath:", - ); - late final _sel_fileHandleForUpdatingAtPath_1 = objc.registerName( - "fileHandleForUpdatingAtPath:", - ); - late final _sel_fileHandleForReadingFromURL_error_1 = objc.registerName( - "fileHandleForReadingFromURL:error:", - ); - instancetype _objc_msgSend_842( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, - ffi.Pointer> error, - ) { - return __objc_msgSend_842(obj, sel, url, error); - } - - late final __objc_msgSend_842Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_842 = __objc_msgSend_842Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>(); - - late final _sel_fileHandleForWritingToURL_error_1 = objc.registerName( - "fileHandleForWritingToURL:error:", - ); - late final _sel_fileHandleForUpdatingURL_error_1 = objc.registerName( - "fileHandleForUpdatingURL:error:", - ); - late final _sel_readInBackgroundAndNotifyForModes_1 = objc.registerName( - "readInBackgroundAndNotifyForModes:", - ); - void _objc_msgSend_843( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer modes, - ) { - return __objc_msgSend_843(obj, sel, modes); - } - - late final __objc_msgSend_843Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_843 = __objc_msgSend_843Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_readInBackgroundAndNotify1 = objc.registerName( - "readInBackgroundAndNotify", - ); - late final _sel_readToEndOfFileInBackgroundAndNotifyForModes_1 = - objc.registerName("readToEndOfFileInBackgroundAndNotifyForModes:"); - late final _sel_readToEndOfFileInBackgroundAndNotify1 = objc.registerName( - "readToEndOfFileInBackgroundAndNotify", - ); - late final _sel_acceptConnectionInBackgroundAndNotifyForModes_1 = - objc.registerName("acceptConnectionInBackgroundAndNotifyForModes:"); - late final _sel_acceptConnectionInBackgroundAndNotify1 = objc.registerName( - "acceptConnectionInBackgroundAndNotify", - ); - late final _sel_waitForDataInBackgroundAndNotifyForModes_1 = - objc.registerName("waitForDataInBackgroundAndNotifyForModes:"); - late final _sel_waitForDataInBackgroundAndNotify1 = objc.registerName( - "waitForDataInBackgroundAndNotify", - ); - late final _sel_readabilityHandler1 = objc.registerName("readabilityHandler"); - ffi.Pointer _objc_msgSend_844( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_844(obj, sel); - } - - late final __objc_msgSend_844Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_844 = __objc_msgSend_844Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_setReadabilityHandler_1 = objc.registerName( - "setReadabilityHandler:", - ); - void _objc_msgSend_845( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, - ) { - return __objc_msgSend_845(obj, sel, value); - } - - late final __objc_msgSend_845Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_845 = __objc_msgSend_845Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_writeabilityHandler1 = objc.registerName( - "writeabilityHandler", - ); - late final _sel_setWriteabilityHandler_1 = objc.registerName( - "setWriteabilityHandler:", - ); - late final _sel_initWithFileDescriptor_1 = objc.registerName( - "initWithFileDescriptor:", - ); - instancetype _objc_msgSend_846( - ffi.Pointer obj, - ffi.Pointer sel, - int fd, - ) { - return __objc_msgSend_846(obj, sel, fd); - } - - late final __objc_msgSend_846Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int, - )>>('objc_msgSend'); - late final __objc_msgSend_846 = __objc_msgSend_846Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_fileDescriptor1 = objc.registerName("fileDescriptor"); - late final _sel_readDataToEndOfFile1 = objc.registerName( - "readDataToEndOfFile", - ); - late final _sel_readDataOfLength_1 = objc.registerName("readDataOfLength:"); - ffi.Pointer _objc_msgSend_847( - ffi.Pointer obj, - ffi.Pointer sel, - int length, - ) { - return __objc_msgSend_847(obj, sel, length); - } - - late final __objc_msgSend_847Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - )>>('objc_msgSend'); - late final __objc_msgSend_847 = __objc_msgSend_847Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_offsetInFile1 = objc.registerName("offsetInFile"); - late final _sel_seekToEndOfFile1 = objc.registerName("seekToEndOfFile"); - late final _sel_seekToFileOffset_1 = objc.registerName("seekToFileOffset:"); - void _objc_msgSend_848( - ffi.Pointer obj, - ffi.Pointer sel, - int offset, - ) { - return __objc_msgSend_848(obj, sel, offset); - } - - late final __objc_msgSend_848Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLongLong, - )>>('objc_msgSend'); - late final __objc_msgSend_848 = __objc_msgSend_848Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_truncateFileAtOffset_1 = objc.registerName( - "truncateFileAtOffset:", - ); - late final _sel_synchronizeFile1 = objc.registerName("synchronizeFile"); - late final _sel_closeFile1 = objc.registerName("closeFile"); - late final _class_NSHTTPCookieStorage1 = objc.getClass("NSHTTPCookieStorage"); - late final _sel_sharedHTTPCookieStorage1 = objc.registerName( - "sharedHTTPCookieStorage", - ); - ffi.Pointer _objc_msgSend_849( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_849(obj, sel); - } - - late final __objc_msgSend_849Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_849 = __objc_msgSend_849Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_sharedCookieStorageForGroupContainerIdentifier_1 = - objc.registerName("sharedCookieStorageForGroupContainerIdentifier:"); - ffi.Pointer _objc_msgSend_850( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer identifier, - ) { - return __objc_msgSend_850(obj, sel, identifier); - } - - late final __objc_msgSend_850Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_850 = __objc_msgSend_850Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_cookies1 = objc.registerName("cookies"); - late final _class_NSHTTPCookie1 = objc.getClass("NSHTTPCookie"); - late final _sel_initWithProperties_1 = objc.registerName( - "initWithProperties:", - ); - instancetype _objc_msgSend_851( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer properties, - ) { - return __objc_msgSend_851(obj, sel, properties); - } - - late final __objc_msgSend_851Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_851 = __objc_msgSend_851Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_cookieWithProperties_1 = objc.registerName( - "cookieWithProperties:", - ); - ffi.Pointer _objc_msgSend_852( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer properties, - ) { - return __objc_msgSend_852(obj, sel, properties); - } - - late final __objc_msgSend_852Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_852 = __objc_msgSend_852Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_requestHeaderFieldsWithCookies_1 = objc.registerName( - "requestHeaderFieldsWithCookies:", - ); - late final _sel_cookiesWithResponseHeaderFields_forURL_1 = objc.registerName( - "cookiesWithResponseHeaderFields:forURL:", - ); - ffi.Pointer _objc_msgSend_853( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer headerFields, - ffi.Pointer URL, - ) { - return __objc_msgSend_853(obj, sel, headerFields, URL); - } - - late final __objc_msgSend_853Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_853 = __objc_msgSend_853Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_properties1 = objc.registerName("properties"); - late final _sel_value1 = objc.registerName("value"); - late final _sel_expiresDate1 = objc.registerName("expiresDate"); - late final _sel_isSessionOnly1 = objc.registerName("isSessionOnly"); - late final _sel_isSecure1 = objc.registerName("isSecure"); - late final _sel_isHTTPOnly1 = objc.registerName("isHTTPOnly"); - late final _sel_comment1 = objc.registerName("comment"); - late final _sel_commentURL1 = objc.registerName("commentURL"); - late final _sel_portList1 = objc.registerName("portList"); - late final _sel_sameSitePolicy1 = objc.registerName("sameSitePolicy"); - late final _sel_setCookie_1 = objc.registerName("setCookie:"); - void _objc_msgSend_854( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer cookie, - ) { - return __objc_msgSend_854(obj, sel, cookie); - } - - late final __objc_msgSend_854Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_854 = __objc_msgSend_854Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_deleteCookie_1 = objc.registerName("deleteCookie:"); - late final _sel_removeCookiesSinceDate_1 = objc.registerName( - "removeCookiesSinceDate:", - ); - late final _sel_cookiesForURL_1 = objc.registerName("cookiesForURL:"); - late final _sel_setCookies_forURL_mainDocumentURL_1 = objc.registerName( - "setCookies:forURL:mainDocumentURL:", - ); - void _objc_msgSend_855( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer cookies, - ffi.Pointer URL, - ffi.Pointer mainDocumentURL, - ) { - return __objc_msgSend_855(obj, sel, cookies, URL, mainDocumentURL); - } - - late final __objc_msgSend_855Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_855 = __objc_msgSend_855Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_cookieAcceptPolicy1 = objc.registerName("cookieAcceptPolicy"); - int _objc_msgSend_856( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_856(obj, sel); - } - - late final __objc_msgSend_856Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_856 = __objc_msgSend_856Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_setCookieAcceptPolicy_1 = objc.registerName( - "setCookieAcceptPolicy:", - ); - void _objc_msgSend_857( - ffi.Pointer obj, - ffi.Pointer sel, - int value, - ) { - return __objc_msgSend_857(obj, sel, value); - } - - late final __objc_msgSend_857Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - )>>('objc_msgSend'); - late final __objc_msgSend_857 = __objc_msgSend_857Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_sortedCookiesUsingDescriptors_1 = objc.registerName( - "sortedCookiesUsingDescriptors:", - ); - late final _class_NSURLSessionTask1 = objc.getClass("NSURLSessionTask"); - late final _sel_taskIdentifier1 = objc.registerName("taskIdentifier"); - late final _class_NSURLRequest1 = objc.getClass("NSURLRequest"); - late final _sel_requestWithURL_1 = objc.registerName("requestWithURL:"); - late final _sel_supportsSecureCoding1 = objc.registerName( - "supportsSecureCoding", - ); - late final _sel_requestWithURL_cachePolicy_timeoutInterval_1 = - objc.registerName("requestWithURL:cachePolicy:timeoutInterval:"); - instancetype _objc_msgSend_858( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer URL, - int cachePolicy, - double timeoutInterval, - ) { - return __objc_msgSend_858(obj, sel, URL, cachePolicy, timeoutInterval); - } - - late final __objc_msgSend_858Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Double, - )>>('objc_msgSend'); - late final __objc_msgSend_858 = __objc_msgSend_858Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - double, - )>(); - - late final _sel_initWithURL_cachePolicy_timeoutInterval_1 = objc.registerName( - "initWithURL:cachePolicy:timeoutInterval:", - ); - late final _sel_URL1 = objc.registerName("URL"); - late final _sel_cachePolicy1 = objc.registerName("cachePolicy"); - int _objc_msgSend_859( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_859(obj, sel); - } - - late final __objc_msgSend_859Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_859 = __objc_msgSend_859Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_timeoutInterval1 = objc.registerName("timeoutInterval"); - late final _sel_mainDocumentURL1 = objc.registerName("mainDocumentURL"); - late final _sel_networkServiceType1 = objc.registerName("networkServiceType"); - int _objc_msgSend_860( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_860(obj, sel); - } - - late final __objc_msgSend_860Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_860 = __objc_msgSend_860Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_allowsCellularAccess1 = objc.registerName( - "allowsCellularAccess", - ); - late final _sel_allowsExpensiveNetworkAccess1 = objc.registerName( - "allowsExpensiveNetworkAccess", - ); - late final _sel_allowsConstrainedNetworkAccess1 = objc.registerName( - "allowsConstrainedNetworkAccess", - ); - late final _sel_assumesHTTP3Capable1 = objc.registerName( - "assumesHTTP3Capable", - ); - late final _sel_attribution1 = objc.registerName("attribution"); - int _objc_msgSend_861( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_861(obj, sel); - } - - late final __objc_msgSend_861Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_861 = __objc_msgSend_861Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_requiresDNSSECValidation1 = objc.registerName( - "requiresDNSSECValidation", - ); - late final _sel_HTTPMethod1 = objc.registerName("HTTPMethod"); - late final _sel_allHTTPHeaderFields1 = objc.registerName( - "allHTTPHeaderFields", - ); - late final _sel_valueForHTTPHeaderField_1 = objc.registerName( - "valueForHTTPHeaderField:", - ); - late final _sel_HTTPBody1 = objc.registerName("HTTPBody"); - late final _class_NSInputStream1 = objc.getClass("NSInputStream"); - late final _class_NSStream1 = objc.getClass("NSStream"); - late final _sel_open1 = objc.registerName("open"); - late final _sel_close1 = objc.registerName("close"); - bool _objc_msgSend_862( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer property, - ffi.Pointer key, - ) { - return __objc_msgSend_862(obj, sel, property, key); - } - - late final __objc_msgSend_862Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_862 = __objc_msgSend_862Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_streamStatus1 = objc.registerName("streamStatus"); - int _objc_msgSend_863( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_863(obj, sel); - } - - late final __objc_msgSend_863Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_863 = __objc_msgSend_863Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_streamError1 = objc.registerName("streamError"); - late final _class_NSOutputStream1 = objc.getClass("NSOutputStream"); - late final _sel_write_maxLength_1 = objc.registerName("write:maxLength:"); - int _objc_msgSend_864( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer buffer, - int len, - ) { - return __objc_msgSend_864(obj, sel, buffer, len); - } - - late final __objc_msgSend_864Ptr = _lookup< - ffi.NativeFunction< - ffi.Long Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - )>>('objc_msgSend'); - late final __objc_msgSend_864 = __objc_msgSend_864Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_hasSpaceAvailable1 = objc.registerName("hasSpaceAvailable"); - late final _sel_initToMemory1 = objc.registerName("initToMemory"); - late final _sel_initToBuffer_capacity_1 = objc.registerName( - "initToBuffer:capacity:", - ); - instancetype _objc_msgSend_865( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer buffer, - int capacity, - ) { - return __objc_msgSend_865(obj, sel, buffer, capacity); - } - - late final __objc_msgSend_865Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - )>>('objc_msgSend'); - late final __objc_msgSend_865 = __objc_msgSend_865Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_initWithURL_append_1 = objc.registerName( - "initWithURL:append:", - ); - instancetype _objc_msgSend_866( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, - bool shouldAppend, - ) { - return __objc_msgSend_866(obj, sel, url, shouldAppend); - } - - late final __objc_msgSend_866Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - )>>('objc_msgSend'); - late final __objc_msgSend_866 = __objc_msgSend_866Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - )>(); - - late final _sel_initToFileAtPath_append_1 = objc.registerName( - "initToFileAtPath:append:", - ); - late final _sel_outputStreamToMemory1 = objc.registerName( - "outputStreamToMemory", - ); - late final _sel_outputStreamToBuffer_capacity_1 = objc.registerName( - "outputStreamToBuffer:capacity:", - ); - late final _sel_outputStreamToFileAtPath_append_1 = objc.registerName( - "outputStreamToFileAtPath:append:", - ); - late final _sel_outputStreamWithURL_append_1 = objc.registerName( - "outputStreamWithURL:append:", - ); - late final _sel_getStreamsToHostWithName_port_inputStream_outputStream_1 = - objc.registerName( - "getStreamsToHostWithName:port:inputStream:outputStream:", - ); - void _objc_msgSend_867( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer hostname, - int port, - ffi.Pointer> inputStream, - ffi.Pointer> outputStream, - ) { - return __objc_msgSend_867( - obj, - sel, - hostname, - port, - inputStream, - outputStream, - ); - } - - late final __objc_msgSend_867Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Long, - ffi.Pointer>, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_867 = __objc_msgSend_867Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>, - ffi.Pointer>, - )>(); - - late final _class_NSHost1 = objc.getClass("NSHost"); - late final _sel_currentHost1 = objc.registerName("currentHost"); - late final _sel_hostWithName_1 = objc.registerName("hostWithName:"); - instancetype _objc_msgSend_868( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer name, - ) { - return __objc_msgSend_868(obj, sel, name); - } - - late final __objc_msgSend_868Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_868 = __objc_msgSend_868Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_hostWithAddress_1 = objc.registerName("hostWithAddress:"); - late final _sel_isEqualToHost_1 = objc.registerName("isEqualToHost:"); - bool _objc_msgSend_869( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aHost, - ) { - return __objc_msgSend_869(obj, sel, aHost); - } - - late final __objc_msgSend_869Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_869 = __objc_msgSend_869Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_names1 = objc.registerName("names"); - late final _sel_address1 = objc.registerName("address"); - late final _sel_addresses1 = objc.registerName("addresses"); - late final _sel_localizedName1 = objc.registerName("localizedName"); - late final _sel_setHostCacheEnabled_1 = objc.registerName( - "setHostCacheEnabled:", - ); - void _objc_msgSend_870( - ffi.Pointer obj, - ffi.Pointer sel, - bool flag, - ) { - return __objc_msgSend_870(obj, sel, flag); - } - - late final __objc_msgSend_870Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - )>>('objc_msgSend'); - late final __objc_msgSend_870 = __objc_msgSend_870Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - bool, - )>(); - - late final _sel_isHostCacheEnabled1 = objc.registerName("isHostCacheEnabled"); - late final _sel_flushHostCache1 = objc.registerName("flushHostCache"); - late final _sel_getStreamsToHost_port_inputStream_outputStream_1 = - objc.registerName("getStreamsToHost:port:inputStream:outputStream:"); - void _objc_msgSend_871( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer host, - int port, - ffi.Pointer> inputStream, - ffi.Pointer> outputStream, - ) { - return __objc_msgSend_871(obj, sel, host, port, inputStream, outputStream); - } - - late final __objc_msgSend_871Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Long, - ffi.Pointer>, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_871 = __objc_msgSend_871Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>, - ffi.Pointer>, - )>(); - - late final _sel_getBoundStreamsWithBufferSize_inputStream_outputStream_1 = - objc.registerName( - "getBoundStreamsWithBufferSize:inputStream:outputStream:", - ); - void _objc_msgSend_872( - ffi.Pointer obj, - ffi.Pointer sel, - int bufferSize, - ffi.Pointer> inputStream, - ffi.Pointer> outputStream, - ) { - return __objc_msgSend_872(obj, sel, bufferSize, inputStream, outputStream); - } - - late final __objc_msgSend_872Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer>, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_872 = __objc_msgSend_872Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>, - ffi.Pointer>, - )>(); - - late final _sel_read_maxLength_1 = objc.registerName("read:maxLength:"); - late final _sel_getBuffer_length_1 = objc.registerName("getBuffer:length:"); - bool _objc_msgSend_873( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer> buffer, - ffi.Pointer len, - ) { - return __objc_msgSend_873(obj, sel, buffer, len); - } - - late final __objc_msgSend_873Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_873 = __objc_msgSend_873Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer, - )>(); - - late final _sel_hasBytesAvailable1 = objc.registerName("hasBytesAvailable"); - late final _sel_initWithFileAtPath_1 = objc.registerName( - "initWithFileAtPath:", - ); - late final _sel_inputStreamWithData_1 = objc.registerName( - "inputStreamWithData:", - ); - instancetype _objc_msgSend_874( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer data, - ) { - return __objc_msgSend_874(obj, sel, data); - } - - late final __objc_msgSend_874Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_874 = __objc_msgSend_874Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_inputStreamWithFileAtPath_1 = objc.registerName( - "inputStreamWithFileAtPath:", - ); - late final _sel_inputStreamWithURL_1 = objc.registerName( - "inputStreamWithURL:", - ); - late final _sel_HTTPBodyStream1 = objc.registerName("HTTPBodyStream"); - ffi.Pointer _objc_msgSend_875( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_875(obj, sel); - } - - late final __objc_msgSend_875Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_875 = __objc_msgSend_875Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_HTTPShouldHandleCookies1 = objc.registerName( - "HTTPShouldHandleCookies", - ); - late final _sel_HTTPShouldUsePipelining1 = objc.registerName( - "HTTPShouldUsePipelining", - ); - late final _sel_originalRequest1 = objc.registerName("originalRequest"); - ffi.Pointer _objc_msgSend_876( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_876(obj, sel); - } - - late final __objc_msgSend_876Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_876 = __objc_msgSend_876Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_currentRequest1 = objc.registerName("currentRequest"); - late final _class_NSURLResponse1 = objc.getClass("NSURLResponse"); - late final _sel_initWithURL_MIMEType_expectedContentLength_textEncodingName_1 = - objc.registerName( - "initWithURL:MIMEType:expectedContentLength:textEncodingName:", - ); - instancetype _objc_msgSend_877( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer URL, - ffi.Pointer MIMEType, - int length, - ffi.Pointer name, - ) { - return __objc_msgSend_877(obj, sel, URL, MIMEType, length, name); - } - - late final __objc_msgSend_877Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Long, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_877 = __objc_msgSend_877Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - )>(); - - late final _sel_MIMEType1 = objc.registerName("MIMEType"); - late final _sel_expectedContentLength1 = objc.registerName( - "expectedContentLength", - ); - late final _sel_textEncodingName1 = objc.registerName("textEncodingName"); - late final _sel_suggestedFilename1 = objc.registerName("suggestedFilename"); - late final _sel_response1 = objc.registerName("response"); - ffi.Pointer _objc_msgSend_878( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_878(obj, sel); - } - - late final __objc_msgSend_878Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_878 = __objc_msgSend_878Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_progress1 = objc.registerName("progress"); - ffi.Pointer _objc_msgSend_879( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_879(obj, sel); - } - - late final __objc_msgSend_879Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_879 = __objc_msgSend_879Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_earliestBeginDate1 = objc.registerName("earliestBeginDate"); - late final _sel_setEarliestBeginDate_1 = objc.registerName( - "setEarliestBeginDate:", - ); - late final _sel_countOfBytesClientExpectsToSend1 = objc.registerName( - "countOfBytesClientExpectsToSend", - ); - late final _sel_setCountOfBytesClientExpectsToSend_1 = objc.registerName( - "setCountOfBytesClientExpectsToSend:", - ); - late final _sel_countOfBytesClientExpectsToReceive1 = objc.registerName( - "countOfBytesClientExpectsToReceive", - ); - late final _sel_setCountOfBytesClientExpectsToReceive_1 = objc.registerName( - "setCountOfBytesClientExpectsToReceive:", - ); - late final _sel_countOfBytesSent1 = objc.registerName("countOfBytesSent"); - late final _sel_countOfBytesReceived1 = objc.registerName( - "countOfBytesReceived", - ); - late final _sel_countOfBytesExpectedToSend1 = objc.registerName( - "countOfBytesExpectedToSend", - ); - late final _sel_countOfBytesExpectedToReceive1 = objc.registerName( - "countOfBytesExpectedToReceive", - ); - late final _sel_taskDescription1 = objc.registerName("taskDescription"); - late final _sel_setTaskDescription_1 = objc.registerName( - "setTaskDescription:", - ); - late final _sel_state1 = objc.registerName("state"); - int _objc_msgSend_880( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_880(obj, sel); - } - - late final __objc_msgSend_880Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_880 = __objc_msgSend_880Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_suspend1 = objc.registerName("suspend"); - late final _sel_priority1 = objc.registerName("priority"); - late final _sel_setPriority_1 = objc.registerName("setPriority:"); - void _objc_msgSend_881( - ffi.Pointer obj, - ffi.Pointer sel, - double value, - ) { - return __objc_msgSend_881(obj, sel, value); - } - - late final __objc_msgSend_881Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Float, - )>>('objc_msgSend'); - late final __objc_msgSend_881 = __objc_msgSend_881Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - double, - )>(); - - late final _sel_prefersIncrementalDelivery1 = objc.registerName( - "prefersIncrementalDelivery", - ); - late final _sel_setPrefersIncrementalDelivery_1 = objc.registerName( - "setPrefersIncrementalDelivery:", - ); - late final _sel_storeCookies_forTask_1 = objc.registerName( - "storeCookies:forTask:", - ); - void _objc_msgSend_882( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer cookies, - ffi.Pointer task, - ) { - return __objc_msgSend_882(obj, sel, cookies, task); - } - - late final __objc_msgSend_882Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_882 = __objc_msgSend_882Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_getCookiesForTask_completionHandler_1 = objc.registerName( - "getCookiesForTask:completionHandler:", - ); - void _objc_msgSend_883( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer task, - ffi.Pointer completionHandler, - ) { - return __objc_msgSend_883(obj, sel, task, completionHandler); - } - - late final __objc_msgSend_883Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_883 = __objc_msgSend_883Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _class_NSIndexPath1 = objc.getClass("NSIndexPath"); - late final _sel_indexPathWithIndex_1 = objc.registerName( - "indexPathWithIndex:", - ); - late final _sel_indexPathWithIndexes_length_1 = objc.registerName( - "indexPathWithIndexes:length:", - ); - instancetype _objc_msgSend_884( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer indexes, - int length, - ) { - return __objc_msgSend_884(obj, sel, indexes, length); - } - - late final __objc_msgSend_884Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - )>>('objc_msgSend'); - late final __objc_msgSend_884 = __objc_msgSend_884Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_initWithIndexes_length_1 = objc.registerName( - "initWithIndexes:length:", - ); - late final _sel_indexPathByAddingIndex_1 = objc.registerName( - "indexPathByAddingIndex:", - ); - ffi.Pointer _objc_msgSend_885( - ffi.Pointer obj, - ffi.Pointer sel, - int index, - ) { - return __objc_msgSend_885(obj, sel, index); - } - - late final __objc_msgSend_885Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - )>>('objc_msgSend'); - late final __objc_msgSend_885 = __objc_msgSend_885Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_indexPathByRemovingLastIndex1 = objc.registerName( - "indexPathByRemovingLastIndex", - ); - ffi.Pointer _objc_msgSend_886( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_886(obj, sel); - } - - late final __objc_msgSend_886Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_886 = __objc_msgSend_886Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_indexAtPosition_1 = objc.registerName("indexAtPosition:"); - late final _sel_getIndexes_range_1 = objc.registerName("getIndexes:range:"); - void _objc_msgSend_887( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer indexes, - _NSRange positionRange, - ) { - return __objc_msgSend_887(obj, sel, indexes, positionRange); - } - - late final __objc_msgSend_887Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - _NSRange, - )>>('objc_msgSend'); - late final __objc_msgSend_887 = __objc_msgSend_887Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - _NSRange, - )>(); - - int _objc_msgSend_888( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer otherObject, - ) { - return __objc_msgSend_888(obj, sel, otherObject); - } - - late final __objc_msgSend_888Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_888 = __objc_msgSend_888Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_getIndexes_1 = objc.registerName("getIndexes:"); - void _objc_msgSend_889( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer indexes, - ) { - return __objc_msgSend_889(obj, sel, indexes); - } - - late final __objc_msgSend_889Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_889 = __objc_msgSend_889Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _class_NSInflectionRule1 = objc.getClass("NSInflectionRule"); - late final _sel_automaticRule1 = objc.registerName("automaticRule"); - ffi.Pointer _objc_msgSend_890( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_890(obj, sel); - } - - late final __objc_msgSend_890Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_890 = __objc_msgSend_890Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_canInflectLanguage_1 = objc.registerName( - "canInflectLanguage:", - ); - late final _sel_canInflectPreferredLocalization1 = objc.registerName( - "canInflectPreferredLocalization", - ); - late final _class_NSMorphology1 = objc.getClass("NSMorphology"); - late final _sel_grammaticalGender1 = objc.registerName("grammaticalGender"); - int _objc_msgSend_891( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_891(obj, sel); - } - - late final __objc_msgSend_891Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_891 = __objc_msgSend_891Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_setGrammaticalGender_1 = objc.registerName( - "setGrammaticalGender:", - ); - void _objc_msgSend_892( - ffi.Pointer obj, - ffi.Pointer sel, - int value, - ) { - return __objc_msgSend_892(obj, sel, value); - } - - late final __objc_msgSend_892Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - )>>('objc_msgSend'); - late final __objc_msgSend_892 = __objc_msgSend_892Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_partOfSpeech1 = objc.registerName("partOfSpeech"); - int _objc_msgSend_893( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_893(obj, sel); - } - - late final __objc_msgSend_893Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_893 = __objc_msgSend_893Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_setPartOfSpeech_1 = objc.registerName("setPartOfSpeech:"); - void _objc_msgSend_894( - ffi.Pointer obj, - ffi.Pointer sel, - int value, - ) { - return __objc_msgSend_894(obj, sel, value); - } - - late final __objc_msgSend_894Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - )>>('objc_msgSend'); - late final __objc_msgSend_894 = __objc_msgSend_894Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_number1 = objc.registerName("number"); - int _objc_msgSend_895( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_895(obj, sel); - } - - late final __objc_msgSend_895Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_895 = __objc_msgSend_895Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_setNumber_1 = objc.registerName("setNumber:"); - void _objc_msgSend_896( - ffi.Pointer obj, - ffi.Pointer sel, - int value, - ) { - return __objc_msgSend_896(obj, sel, value); - } - - late final __objc_msgSend_896Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - )>>('objc_msgSend'); - late final __objc_msgSend_896 = __objc_msgSend_896Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_grammaticalCase1 = objc.registerName("grammaticalCase"); - int _objc_msgSend_897( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_897(obj, sel); - } - - late final __objc_msgSend_897Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_897 = __objc_msgSend_897Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_setGrammaticalCase_1 = objc.registerName( - "setGrammaticalCase:", - ); - void _objc_msgSend_898( - ffi.Pointer obj, - ffi.Pointer sel, - int value, - ) { - return __objc_msgSend_898(obj, sel, value); - } - - late final __objc_msgSend_898Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - )>>('objc_msgSend'); - late final __objc_msgSend_898 = __objc_msgSend_898Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_determination1 = objc.registerName("determination"); - int _objc_msgSend_899( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_899(obj, sel); - } - - late final __objc_msgSend_899Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_899 = __objc_msgSend_899Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_setDetermination_1 = objc.registerName("setDetermination:"); - void _objc_msgSend_900( - ffi.Pointer obj, - ffi.Pointer sel, - int value, - ) { - return __objc_msgSend_900(obj, sel, value); - } - - late final __objc_msgSend_900Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - )>>('objc_msgSend'); - late final __objc_msgSend_900 = __objc_msgSend_900Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_grammaticalPerson1 = objc.registerName("grammaticalPerson"); - int _objc_msgSend_901( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_901(obj, sel); - } - - late final __objc_msgSend_901Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_901 = __objc_msgSend_901Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_setGrammaticalPerson_1 = objc.registerName( - "setGrammaticalPerson:", - ); - void _objc_msgSend_902( - ffi.Pointer obj, - ffi.Pointer sel, - int value, - ) { - return __objc_msgSend_902(obj, sel, value); - } - - late final __objc_msgSend_902Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - )>>('objc_msgSend'); - late final __objc_msgSend_902 = __objc_msgSend_902Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_pronounType1 = objc.registerName("pronounType"); - int _objc_msgSend_903( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_903(obj, sel); - } - - late final __objc_msgSend_903Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_903 = __objc_msgSend_903Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_setPronounType_1 = objc.registerName("setPronounType:"); - void _objc_msgSend_904( - ffi.Pointer obj, - ffi.Pointer sel, - int value, - ) { - return __objc_msgSend_904(obj, sel, value); - } - - late final __objc_msgSend_904Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - )>>('objc_msgSend'); - late final __objc_msgSend_904 = __objc_msgSend_904Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_definiteness1 = objc.registerName("definiteness"); - int _objc_msgSend_905( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_905(obj, sel); - } - - late final __objc_msgSend_905Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_905 = __objc_msgSend_905Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_setDefiniteness_1 = objc.registerName("setDefiniteness:"); - void _objc_msgSend_906( - ffi.Pointer obj, - ffi.Pointer sel, - int value, - ) { - return __objc_msgSend_906(obj, sel, value); - } - - late final __objc_msgSend_906Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - )>>('objc_msgSend'); - late final __objc_msgSend_906 = __objc_msgSend_906Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _class_NSMorphologyCustomPronoun1 = objc.getClass( - "NSMorphologyCustomPronoun", - ); - late final _sel_isSupportedForLanguage_1 = objc.registerName( - "isSupportedForLanguage:", - ); - late final _sel_requiredKeysForLanguage_1 = objc.registerName( - "requiredKeysForLanguage:", - ); - late final _sel_subjectForm1 = objc.registerName("subjectForm"); - late final _sel_setSubjectForm_1 = objc.registerName("setSubjectForm:"); - late final _sel_objectForm1 = objc.registerName("objectForm"); - late final _sel_setObjectForm_1 = objc.registerName("setObjectForm:"); - late final _sel_possessiveForm1 = objc.registerName("possessiveForm"); - late final _sel_setPossessiveForm_1 = objc.registerName("setPossessiveForm:"); - late final _sel_possessiveAdjectiveForm1 = objc.registerName( - "possessiveAdjectiveForm", - ); - late final _sel_setPossessiveAdjectiveForm_1 = objc.registerName( - "setPossessiveAdjectiveForm:", - ); - late final _sel_reflexiveForm1 = objc.registerName("reflexiveForm"); - late final _sel_setReflexiveForm_1 = objc.registerName("setReflexiveForm:"); - late final _sel_customPronounForLanguage_1 = objc.registerName( - "customPronounForLanguage:", - ); - ffi.Pointer _objc_msgSend_907( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer language, - ) { - return __objc_msgSend_907(obj, sel, language); - } - - late final __objc_msgSend_907Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_907 = __objc_msgSend_907Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_setCustomPronoun_forLanguage_error_1 = objc.registerName( - "setCustomPronoun:forLanguage:error:", - ); - bool _objc_msgSend_908( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer features, - ffi.Pointer language, - ffi.Pointer> error, - ) { - return __objc_msgSend_908(obj, sel, features, language, error); - } - - late final __objc_msgSend_908Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_908 = __objc_msgSend_908Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>(); - - late final _sel_isUnspecified1 = objc.registerName("isUnspecified"); - late final _sel_userMorphology1 = objc.registerName("userMorphology"); - ffi.Pointer _objc_msgSend_909( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_909(obj, sel); - } - - late final __objc_msgSend_909Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_909 = __objc_msgSend_909Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _class_NSOperationQueue1 = objc.getClass("NSOperationQueue"); - late final _class_NSOperation1 = objc.getClass("NSOperation"); - late final _sel_isConcurrent1 = objc.registerName("isConcurrent"); - late final _sel_isAsynchronous1 = objc.registerName("isAsynchronous"); - late final _sel_isReady1 = objc.registerName("isReady"); - late final _sel_addDependency_1 = objc.registerName("addDependency:"); - void _objc_msgSend_910( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer op, - ) { - return __objc_msgSend_910(obj, sel, op); - } - - late final __objc_msgSend_910Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_910 = __objc_msgSend_910Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_removeDependency_1 = objc.registerName("removeDependency:"); - late final _sel_dependencies1 = objc.registerName("dependencies"); - late final _sel_queuePriority1 = objc.registerName("queuePriority"); - int _objc_msgSend_911( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_911(obj, sel); - } - - late final __objc_msgSend_911Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_911 = __objc_msgSend_911Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_setQueuePriority_1 = objc.registerName("setQueuePriority:"); - void _objc_msgSend_912( - ffi.Pointer obj, - ffi.Pointer sel, - int value, - ) { - return __objc_msgSend_912(obj, sel, value); - } - - late final __objc_msgSend_912Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - )>>('objc_msgSend'); - late final __objc_msgSend_912 = __objc_msgSend_912Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_completionBlock1 = objc.registerName("completionBlock"); - late final _sel_setCompletionBlock_1 = objc.registerName( - "setCompletionBlock:", - ); - late final _sel_waitUntilFinished1 = objc.registerName("waitUntilFinished"); - late final _sel_addOperation_1 = objc.registerName("addOperation:"); - late final _sel_addOperations_waitUntilFinished_1 = objc.registerName( - "addOperations:waitUntilFinished:", - ); - void _objc_msgSend_913( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer ops, - bool wait, - ) { - return __objc_msgSend_913(obj, sel, ops, wait); - } - - late final __objc_msgSend_913Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - )>>('objc_msgSend'); - late final __objc_msgSend_913 = __objc_msgSend_913Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - )>(); - - late final _sel_addOperationWithBlock_1 = objc.registerName( - "addOperationWithBlock:", - ); - late final _sel_addBarrierBlock_1 = objc.registerName("addBarrierBlock:"); - late final _sel_maxConcurrentOperationCount1 = objc.registerName( - "maxConcurrentOperationCount", - ); - late final _sel_setMaxConcurrentOperationCount_1 = objc.registerName( - "setMaxConcurrentOperationCount:", - ); - late final _sel_isSuspended1 = objc.registerName("isSuspended"); - late final _sel_setSuspended_1 = objc.registerName("setSuspended:"); - late final _sel_underlyingQueue1 = objc.registerName("underlyingQueue"); - ffi.Pointer _objc_msgSend_914( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_914(obj, sel); - } - - late final __objc_msgSend_914Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_914 = __objc_msgSend_914Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_setUnderlyingQueue_1 = objc.registerName( - "setUnderlyingQueue:", - ); - void _objc_msgSend_915( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, - ) { - return __objc_msgSend_915(obj, sel, value); - } - - late final __objc_msgSend_915Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_915 = __objc_msgSend_915Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_cancelAllOperations1 = objc.registerName( - "cancelAllOperations", - ); - late final _sel_waitUntilAllOperationsAreFinished1 = objc.registerName( - "waitUntilAllOperationsAreFinished", - ); - late final _sel_currentQueue1 = objc.registerName("currentQueue"); - ffi.Pointer _objc_msgSend_916( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_916(obj, sel); - } - - late final __objc_msgSend_916Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_916 = __objc_msgSend_916Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_mainQueue1 = objc.registerName("mainQueue"); - ffi.Pointer _objc_msgSend_917( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_917(obj, sel); - } - - late final __objc_msgSend_917Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_917 = __objc_msgSend_917Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_operations1 = objc.registerName("operations"); - late final _sel_operationCount1 = objc.registerName("operationCount"); - late final _class_NSPointerArray1 = objc.getClass("NSPointerArray"); - late final _sel_initWithOptions_1 = objc.registerName("initWithOptions:"); - instancetype _objc_msgSend_918( - ffi.Pointer obj, - ffi.Pointer sel, - int options, - ) { - return __objc_msgSend_918(obj, sel, options); - } - - late final __objc_msgSend_918Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - )>>('objc_msgSend'); - late final __objc_msgSend_918 = __objc_msgSend_918Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _class_NSPointerFunctions1 = objc.getClass("NSPointerFunctions"); - late final _sel_pointerFunctionsWithOptions_1 = objc.registerName( - "pointerFunctionsWithOptions:", - ); - ffi.Pointer _objc_msgSend_919( - ffi.Pointer obj, - ffi.Pointer sel, - int options, - ) { - return __objc_msgSend_919(obj, sel, options); - } - - late final __objc_msgSend_919Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - )>>('objc_msgSend'); - late final __objc_msgSend_919 = __objc_msgSend_919Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_hashFunction1 = objc.registerName("hashFunction"); - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function(ffi.Pointer)>>, - )>> _objc_msgSend_920( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_920(obj, sel); - } - - late final __objc_msgSend_920Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer)>>, - )>> - Function(ffi.Pointer, ffi.Pointer)>>( - 'objc_msgSend'); - late final __objc_msgSend_920 = __objc_msgSend_920Ptr.asFunction< - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function(ffi.Pointer)>>, - )>> - Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_setHashFunction_1 = objc.registerName("setHashFunction:"); - void _objc_msgSend_921( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function(ffi.Pointer)>>, - )>> - value, - ) { - return __objc_msgSend_921(obj, sel, value); - } - - late final __objc_msgSend_921Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer)>>, - )>>, - )>>('objc_msgSend'); - late final __objc_msgSend_921 = __objc_msgSend_921Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function(ffi.Pointer)>>, - )>>, - )>(); - - late final _sel_isEqualFunction1 = objc.registerName("isEqualFunction"); - ffi.Pointer< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function(ffi.Pointer)>>, - )>> _objc_msgSend_922( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_922(obj, sel); - } - - late final __objc_msgSend_922Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer)>>, - )>> - Function(ffi.Pointer, ffi.Pointer)>>( - 'objc_msgSend'); - late final __objc_msgSend_922 = __objc_msgSend_922Ptr.asFunction< - ffi.Pointer< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function(ffi.Pointer)>>, - )>> - Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_setIsEqualFunction_1 = objc.registerName( - "setIsEqualFunction:", - ); - void _objc_msgSend_923( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function(ffi.Pointer)>>, - )>> - value, - ) { - return __objc_msgSend_923(obj, sel, value); - } - - late final __objc_msgSend_923Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer)>>, - )>>, - )>>('objc_msgSend'); - late final __objc_msgSend_923 = __objc_msgSend_923Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function(ffi.Pointer)>>, - )>>, - )>(); - - late final _sel_sizeFunction1 = objc.registerName("sizeFunction"); - ffi.Pointer< - ffi.NativeFunction)>> - _objc_msgSend_924( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_924(obj, sel); - } - - late final __objc_msgSend_924Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function(ffi.Pointer)>> - Function(ffi.Pointer, ffi.Pointer)>>( - 'objc_msgSend'); - late final __objc_msgSend_924 = __objc_msgSend_924Ptr.asFunction< - ffi.Pointer< - ffi - .NativeFunction)>> - Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_setSizeFunction_1 = objc.registerName("setSizeFunction:"); - void _objc_msgSend_925( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer< - ffi - .NativeFunction)>> - value, - ) { - return __objc_msgSend_925(obj, sel, value); - } - - late final __objc_msgSend_925Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function(ffi.Pointer)>>, - )>>('objc_msgSend'); - late final __objc_msgSend_925 = __objc_msgSend_925Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer< - ffi - .NativeFunction)>>, - )>(); - - late final _sel_descriptionFunction1 = objc.registerName( - "descriptionFunction", - ); - ffi.Pointer< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer)>> - _objc_msgSend_926( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_926(obj, sel); - } - - late final __objc_msgSend_926Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer)>> - Function(ffi.Pointer, ffi.Pointer)>>( - 'objc_msgSend'); - late final __objc_msgSend_926 = __objc_msgSend_926Ptr.asFunction< - ffi.Pointer< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer)>> - Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_setDescriptionFunction_1 = objc.registerName( - "setDescriptionFunction:", - ); - void _objc_msgSend_927( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer)>> - value, - ) { - return __objc_msgSend_927(obj, sel, value); - } - - late final __objc_msgSend_927Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer)>>, - )>>('objc_msgSend'); - late final __objc_msgSend_927 = __objc_msgSend_927Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer)>>, - )>(); - - late final _sel_relinquishFunction1 = objc.registerName("relinquishFunction"); - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function(ffi.Pointer)>>, - )>> _objc_msgSend_928( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_928(obj, sel); - } - - late final __objc_msgSend_928Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer)>>, - )>> - Function(ffi.Pointer, ffi.Pointer)>>( - 'objc_msgSend'); - late final __objc_msgSend_928 = __objc_msgSend_928Ptr.asFunction< - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function(ffi.Pointer)>>, - )>> - Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_setRelinquishFunction_1 = objc.registerName( - "setRelinquishFunction:", - ); - void _objc_msgSend_929( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function(ffi.Pointer)>>, - )>> - value, - ) { - return __objc_msgSend_929(obj, sel, value); - } - - late final __objc_msgSend_929Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer)>>, - )>>, - )>>('objc_msgSend'); - late final __objc_msgSend_929 = __objc_msgSend_929Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function(ffi.Pointer)>>, - )>>, - )>(); - - late final _sel_acquireFunction1 = objc.registerName("acquireFunction"); - ffi.Pointer< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function(ffi.Pointer)>>, - ffi.Bool, - )>> _objc_msgSend_930( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_930(obj, sel); - } - - late final __objc_msgSend_930Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer)>>, - ffi.Bool, - )>> - Function(ffi.Pointer, ffi.Pointer)>>( - 'objc_msgSend'); - late final __objc_msgSend_930 = __objc_msgSend_930Ptr.asFunction< - ffi.Pointer< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function(ffi.Pointer)>>, - ffi.Bool, - )>> - Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_setAcquireFunction_1 = objc.registerName( - "setAcquireFunction:", - ); - void _objc_msgSend_931( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function(ffi.Pointer)>>, - ffi.Bool, - )>> - value, - ) { - return __objc_msgSend_931(obj, sel, value); - } - - late final __objc_msgSend_931Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer)>>, - ffi.Bool, - )>>, - )>>('objc_msgSend'); - late final __objc_msgSend_931 = __objc_msgSend_931Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function(ffi.Pointer)>>, - ffi.Bool, - )>>, - )>(); - - late final _sel_usesStrongWriteBarrier1 = objc.registerName( - "usesStrongWriteBarrier", - ); - late final _sel_setUsesStrongWriteBarrier_1 = objc.registerName( - "setUsesStrongWriteBarrier:", - ); - late final _sel_usesWeakReadAndWriteBarriers1 = objc.registerName( - "usesWeakReadAndWriteBarriers", - ); - late final _sel_setUsesWeakReadAndWriteBarriers_1 = objc.registerName( - "setUsesWeakReadAndWriteBarriers:", - ); - late final _sel_initWithPointerFunctions_1 = objc.registerName( - "initWithPointerFunctions:", - ); - instancetype _objc_msgSend_932( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer functions, - ) { - return __objc_msgSend_932(obj, sel, functions); - } - - late final __objc_msgSend_932Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_932 = __objc_msgSend_932Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_pointerArrayWithOptions_1 = objc.registerName( - "pointerArrayWithOptions:", - ); - ffi.Pointer _objc_msgSend_933( - ffi.Pointer obj, - ffi.Pointer sel, - int options, - ) { - return __objc_msgSend_933(obj, sel, options); - } - - late final __objc_msgSend_933Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - )>>('objc_msgSend'); - late final __objc_msgSend_933 = __objc_msgSend_933Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_pointerArrayWithPointerFunctions_1 = objc.registerName( - "pointerArrayWithPointerFunctions:", - ); - ffi.Pointer _objc_msgSend_934( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer functions, - ) { - return __objc_msgSend_934(obj, sel, functions); - } - - late final __objc_msgSend_934Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_934 = __objc_msgSend_934Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_pointerFunctions1 = objc.registerName("pointerFunctions"); - ffi.Pointer _objc_msgSend_935( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_935(obj, sel); - } - - late final __objc_msgSend_935Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_935 = __objc_msgSend_935Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_pointerAtIndex_1 = objc.registerName("pointerAtIndex:"); - ffi.Pointer _objc_msgSend_936( - ffi.Pointer obj, - ffi.Pointer sel, - int index, - ) { - return __objc_msgSend_936(obj, sel, index); - } - - late final __objc_msgSend_936Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - )>>('objc_msgSend'); - late final __objc_msgSend_936 = __objc_msgSend_936Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_addPointer_1 = objc.registerName("addPointer:"); - late final _sel_removePointerAtIndex_1 = objc.registerName( - "removePointerAtIndex:", - ); - late final _sel_insertPointer_atIndex_1 = objc.registerName( - "insertPointer:atIndex:", - ); - late final _sel_replacePointerAtIndex_withPointer_1 = objc.registerName( - "replacePointerAtIndex:withPointer:", - ); - void _objc_msgSend_937( - ffi.Pointer obj, - ffi.Pointer sel, - int index, - ffi.Pointer item, - ) { - return __objc_msgSend_937(obj, sel, index, item); - } - - late final __objc_msgSend_937Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_937 = __objc_msgSend_937Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - )>(); - - late final _sel_compact1 = objc.registerName("compact"); - late final _sel_setCount_1 = objc.registerName("setCount:"); - late final _sel_pointerArrayWithStrongObjects1 = objc.registerName( - "pointerArrayWithStrongObjects", - ); - late final _sel_pointerArrayWithWeakObjects1 = objc.registerName( - "pointerArrayWithWeakObjects", - ); - late final _sel_strongObjectsPointerArray1 = objc.registerName( - "strongObjectsPointerArray", - ); - ffi.Pointer _objc_msgSend_938( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_938(obj, sel); - } - - late final __objc_msgSend_938Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_938 = __objc_msgSend_938Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_weakObjectsPointerArray1 = objc.registerName( - "weakObjectsPointerArray", - ); - late final _class_NSProcessInfo1 = objc.getClass("NSProcessInfo"); - late final _sel_processInfo1 = objc.registerName("processInfo"); - ffi.Pointer _objc_msgSend_939( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_939(obj, sel); - } - - late final __objc_msgSend_939Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_939 = __objc_msgSend_939Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_environment1 = objc.registerName("environment"); - late final _sel_hostName1 = objc.registerName("hostName"); - late final _sel_processName1 = objc.registerName("processName"); - late final _sel_setProcessName_1 = objc.registerName("setProcessName:"); - late final _sel_processIdentifier1 = objc.registerName("processIdentifier"); - late final _sel_globallyUniqueString1 = objc.registerName( - "globallyUniqueString", - ); - late final _sel_operatingSystem1 = objc.registerName("operatingSystem"); - late final _sel_operatingSystemName1 = objc.registerName( - "operatingSystemName", - ); - late final _sel_operatingSystemVersionString1 = objc.registerName( - "operatingSystemVersionString", - ); - late final _sel_operatingSystemVersion1 = objc.registerName( - "operatingSystemVersion", - ); - NSOperatingSystemVersion _objc_msgSend_940( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_940(obj, sel); - } - - late final __objc_msgSend_940Ptr = _lookup< - ffi.NativeFunction< - NSOperatingSystemVersion Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_940 = __objc_msgSend_940Ptr.asFunction< - NSOperatingSystemVersion Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - void _objc_msgSend_940_stret( - ffi.Pointer stret, - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_940_stret(stret, obj, sel); - } - - late final __objc_msgSend_940_stretPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend_stret'); - late final __objc_msgSend_940_stret = __objc_msgSend_940_stretPtr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_processorCount1 = objc.registerName("processorCount"); - late final _sel_activeProcessorCount1 = objc.registerName( - "activeProcessorCount", - ); - late final _sel_physicalMemory1 = objc.registerName("physicalMemory"); - late final _sel_isOperatingSystemAtLeastVersion_1 = objc.registerName( - "isOperatingSystemAtLeastVersion:", - ); - bool _objc_msgSend_941( - ffi.Pointer obj, - ffi.Pointer sel, - NSOperatingSystemVersion version, - ) { - return __objc_msgSend_941(obj, sel, version); - } - - late final __objc_msgSend_941Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - NSOperatingSystemVersion, - )>>('objc_msgSend'); - late final __objc_msgSend_941 = __objc_msgSend_941Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - NSOperatingSystemVersion, - )>(); - - late final _sel_systemUptime1 = objc.registerName("systemUptime"); - late final _sel_disableSuddenTermination1 = objc.registerName( - "disableSuddenTermination", - ); - late final _sel_enableSuddenTermination1 = objc.registerName( - "enableSuddenTermination", - ); - late final _sel_disableAutomaticTermination_1 = objc.registerName( - "disableAutomaticTermination:", - ); - late final _sel_enableAutomaticTermination_1 = objc.registerName( - "enableAutomaticTermination:", - ); - late final _sel_automaticTerminationSupportEnabled1 = objc.registerName( - "automaticTerminationSupportEnabled", - ); - late final _sel_setAutomaticTerminationSupportEnabled_1 = objc.registerName( - "setAutomaticTerminationSupportEnabled:", - ); - late final _sel_beginActivityWithOptions_reason_1 = objc.registerName( - "beginActivityWithOptions:reason:", - ); - ffi.Pointer _objc_msgSend_942( - ffi.Pointer obj, - ffi.Pointer sel, - int options, - ffi.Pointer reason, - ) { - return __objc_msgSend_942(obj, sel, options, reason); - } - - late final __objc_msgSend_942Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_942 = __objc_msgSend_942Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - )>(); - - late final _sel_endActivity_1 = objc.registerName("endActivity:"); - late final _sel_performActivityWithOptions_reason_usingBlock_1 = - objc.registerName("performActivityWithOptions:reason:usingBlock:"); - void _objc_msgSend_943( - ffi.Pointer obj, - ffi.Pointer sel, - int options, - ffi.Pointer reason, - ffi.Pointer block, - ) { - return __objc_msgSend_943(obj, sel, options, reason, block); - } - - late final __objc_msgSend_943Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_943 = __objc_msgSend_943Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_performExpiringActivityWithReason_usingBlock_1 = - objc.registerName("performExpiringActivityWithReason:usingBlock:"); - void _objc_msgSend_944( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer reason, - ffi.Pointer block, - ) { - return __objc_msgSend_944(obj, sel, reason, block); - } - - late final __objc_msgSend_944Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_944 = __objc_msgSend_944Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_userName1 = objc.registerName("userName"); - late final _sel_fullUserName1 = objc.registerName("fullUserName"); - late final _sel_thermalState1 = objc.registerName("thermalState"); - int _objc_msgSend_945( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_945(obj, sel); - } - - late final __objc_msgSend_945Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_945 = __objc_msgSend_945Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_isLowPowerModeEnabled1 = objc.registerName( - "isLowPowerModeEnabled", - ); - late final _sel_isMacCatalystApp1 = objc.registerName("isMacCatalystApp"); - late final _sel_isiOSAppOnMac1 = objc.registerName("isiOSAppOnMac"); - late final _class_NSTextCheckingResult1 = objc.getClass( - "NSTextCheckingResult", - ); - late final _sel_resultType1 = objc.registerName("resultType"); - int _objc_msgSend_946( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_946(obj, sel); - } - - late final __objc_msgSend_946Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_946 = __objc_msgSend_946Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_range1 = objc.registerName("range"); - late final _sel_orthography1 = objc.registerName("orthography"); - ffi.Pointer _objc_msgSend_947( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_947(obj, sel); - } - - late final __objc_msgSend_947Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_947 = __objc_msgSend_947Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_grammarDetails1 = objc.registerName("grammarDetails"); - late final _sel_duration1 = objc.registerName("duration"); - late final _sel_components1 = objc.registerName("components"); - late final _sel_replacementString1 = objc.registerName("replacementString"); - late final _sel_alternativeStrings1 = objc.registerName("alternativeStrings"); - late final _class_NSRegularExpression1 = objc.getClass("NSRegularExpression"); - late final _sel_regularExpressionWithPattern_options_error_1 = - objc.registerName("regularExpressionWithPattern:options:error:"); - ffi.Pointer _objc_msgSend_948( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer pattern, - int options, - ffi.Pointer> error, - ) { - return __objc_msgSend_948(obj, sel, pattern, options, error); - } - - late final __objc_msgSend_948Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_948 = __objc_msgSend_948Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>, - )>(); - - late final _sel_initWithPattern_options_error_1 = objc.registerName( - "initWithPattern:options:error:", - ); - instancetype _objc_msgSend_949( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer pattern, - int options, - ffi.Pointer> error, - ) { - return __objc_msgSend_949(obj, sel, pattern, options, error); - } - - late final __objc_msgSend_949Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_949 = __objc_msgSend_949Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>, - )>(); - - late final _sel_pattern1 = objc.registerName("pattern"); - late final _sel_options1 = objc.registerName("options"); - int _objc_msgSend_950( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_950(obj, sel); - } - - late final __objc_msgSend_950Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_950 = __objc_msgSend_950Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_numberOfCaptureGroups1 = objc.registerName( - "numberOfCaptureGroups", - ); - late final _sel_escapedPatternForString_1 = objc.registerName( - "escapedPatternForString:", - ); - late final _sel_enumerateMatchesInString_options_range_usingBlock_1 = - objc.registerName("enumerateMatchesInString:options:range:usingBlock:"); - void _objc_msgSend_951( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer string, - int options, - _NSRange range, - ffi.Pointer block, - ) { - return __objc_msgSend_951(obj, sel, string, options, range, block); - } - - late final __objc_msgSend_951Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - _NSRange, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_951 = __objc_msgSend_951Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - _NSRange, - ffi.Pointer, - )>(); - - late final _sel_matchesInString_options_range_1 = objc.registerName( - "matchesInString:options:range:", - ); - ffi.Pointer _objc_msgSend_952( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer string, - int options, - _NSRange range, - ) { - return __objc_msgSend_952(obj, sel, string, options, range); - } - - late final __objc_msgSend_952Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - _NSRange, - )>>('objc_msgSend'); - late final __objc_msgSend_952 = __objc_msgSend_952Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - _NSRange, - )>(); - - late final _sel_numberOfMatchesInString_options_range_1 = objc.registerName( - "numberOfMatchesInString:options:range:", - ); - int _objc_msgSend_953( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer string, - int options, - _NSRange range, - ) { - return __objc_msgSend_953(obj, sel, string, options, range); - } - - late final __objc_msgSend_953Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - _NSRange, - )>>('objc_msgSend'); - late final __objc_msgSend_953 = __objc_msgSend_953Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - _NSRange, - )>(); - - late final _sel_firstMatchInString_options_range_1 = objc.registerName( - "firstMatchInString:options:range:", - ); - ffi.Pointer _objc_msgSend_954( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer string, - int options, - _NSRange range, - ) { - return __objc_msgSend_954(obj, sel, string, options, range); - } - - late final __objc_msgSend_954Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - _NSRange, - )>>('objc_msgSend'); - late final __objc_msgSend_954 = __objc_msgSend_954Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - _NSRange, - )>(); - - late final _sel_rangeOfFirstMatchInString_options_range_1 = objc.registerName( - "rangeOfFirstMatchInString:options:range:", - ); - _NSRange _objc_msgSend_955( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer string, - int options, - _NSRange range, - ) { - return __objc_msgSend_955(obj, sel, string, options, range); - } - - late final __objc_msgSend_955Ptr = _lookup< - ffi.NativeFunction< - _NSRange Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - _NSRange, - )>>('objc_msgSend'); - late final __objc_msgSend_955 = __objc_msgSend_955Ptr.asFunction< - _NSRange Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - _NSRange, - )>(); - - void _objc_msgSend_955_stret( - ffi.Pointer<_NSRange> stret, - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer string, - int options, - _NSRange range, - ) { - return __objc_msgSend_955_stret(stret, obj, sel, string, options, range); - } - - late final __objc_msgSend_955_stretPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer<_NSRange>, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - _NSRange, - )>>('objc_msgSend_stret'); - late final __objc_msgSend_955_stret = __objc_msgSend_955_stretPtr.asFunction< - void Function( - ffi.Pointer<_NSRange>, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - _NSRange, - )>(); - - late final _sel_stringByReplacingMatchesInString_options_range_withTemplate_1 = - objc.registerName( - "stringByReplacingMatchesInString:options:range:withTemplate:", - ); - ffi.Pointer _objc_msgSend_956( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer string, - int options, - _NSRange range, - ffi.Pointer templ, - ) { - return __objc_msgSend_956(obj, sel, string, options, range, templ); - } - - late final __objc_msgSend_956Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - _NSRange, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_956 = __objc_msgSend_956Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - _NSRange, - ffi.Pointer, - )>(); - - late final _sel_replaceMatchesInString_options_range_withTemplate_1 = - objc.registerName("replaceMatchesInString:options:range:withTemplate:"); - int _objc_msgSend_957( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer string, - int options, - _NSRange range, - ffi.Pointer templ, - ) { - return __objc_msgSend_957(obj, sel, string, options, range, templ); - } - - late final __objc_msgSend_957Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - _NSRange, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_957 = __objc_msgSend_957Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - _NSRange, - ffi.Pointer, - )>(); - - late final _sel_replacementStringForResult_inString_offset_template_1 = - objc.registerName("replacementStringForResult:inString:offset:template:"); - ffi.Pointer _objc_msgSend_958( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer result, - ffi.Pointer string, - int offset, - ffi.Pointer templ, - ) { - return __objc_msgSend_958(obj, sel, result, string, offset, templ); - } - - late final __objc_msgSend_958Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Long, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_958 = __objc_msgSend_958Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - )>(); - - late final _sel_escapedTemplateForString_1 = objc.registerName( - "escapedTemplateForString:", - ); - late final _sel_regularExpression1 = objc.registerName("regularExpression"); - ffi.Pointer _objc_msgSend_959( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_959(obj, sel); - } - - late final __objc_msgSend_959Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_959 = __objc_msgSend_959Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_phoneNumber1 = objc.registerName("phoneNumber"); - late final _sel_numberOfRanges1 = objc.registerName("numberOfRanges"); - late final _sel_rangeAtIndex_1 = objc.registerName("rangeAtIndex:"); - late final _sel_rangeWithName_1 = objc.registerName("rangeWithName:"); - late final _sel_resultByAdjustingRangesWithOffset_1 = objc.registerName( - "resultByAdjustingRangesWithOffset:", - ); - ffi.Pointer _objc_msgSend_960( - ffi.Pointer obj, - ffi.Pointer sel, - int offset, - ) { - return __objc_msgSend_960(obj, sel, offset); - } - - late final __objc_msgSend_960Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Long, - )>>('objc_msgSend'); - late final __objc_msgSend_960 = __objc_msgSend_960Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_addressComponents1 = objc.registerName("addressComponents"); - late final _sel_orthographyCheckingResultWithRange_orthography_1 = - objc.registerName("orthographyCheckingResultWithRange:orthography:"); - ffi.Pointer _objc_msgSend_961( - ffi.Pointer obj, - ffi.Pointer sel, - _NSRange range, - ffi.Pointer orthography, - ) { - return __objc_msgSend_961(obj, sel, range, orthography); - } - - late final __objc_msgSend_961Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_961 = __objc_msgSend_961Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - )>(); - - late final _sel_spellCheckingResultWithRange_1 = objc.registerName( - "spellCheckingResultWithRange:", - ); - ffi.Pointer _objc_msgSend_962( - ffi.Pointer obj, - ffi.Pointer sel, - _NSRange range, - ) { - return __objc_msgSend_962(obj, sel, range); - } - - late final __objc_msgSend_962Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - )>>('objc_msgSend'); - late final __objc_msgSend_962 = __objc_msgSend_962Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - )>(); - - late final _sel_grammarCheckingResultWithRange_details_1 = objc.registerName( - "grammarCheckingResultWithRange:details:", - ); - ffi.Pointer _objc_msgSend_963( - ffi.Pointer obj, - ffi.Pointer sel, - _NSRange range, - ffi.Pointer details, - ) { - return __objc_msgSend_963(obj, sel, range, details); - } - - late final __objc_msgSend_963Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_963 = __objc_msgSend_963Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - )>(); - - late final _sel_dateCheckingResultWithRange_date_1 = objc.registerName( - "dateCheckingResultWithRange:date:", - ); - ffi.Pointer _objc_msgSend_964( - ffi.Pointer obj, - ffi.Pointer sel, - _NSRange range, - ffi.Pointer date, - ) { - return __objc_msgSend_964(obj, sel, range, date); - } - - late final __objc_msgSend_964Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_964 = __objc_msgSend_964Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - )>(); - - late final _sel_dateCheckingResultWithRange_date_timeZone_duration_1 = - objc.registerName("dateCheckingResultWithRange:date:timeZone:duration:"); - ffi.Pointer _objc_msgSend_965( - ffi.Pointer obj, - ffi.Pointer sel, - _NSRange range, - ffi.Pointer date, - ffi.Pointer timeZone, - double duration, - ) { - return __objc_msgSend_965(obj, sel, range, date, timeZone, duration); - } - - late final __objc_msgSend_965Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - ffi.Pointer, - ffi.Double, - )>>('objc_msgSend'); - late final __objc_msgSend_965 = __objc_msgSend_965Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - ffi.Pointer, - double, - )>(); - - late final _sel_addressCheckingResultWithRange_components_1 = - objc.registerName("addressCheckingResultWithRange:components:"); - ffi.Pointer _objc_msgSend_966( - ffi.Pointer obj, - ffi.Pointer sel, - _NSRange range, - ffi.Pointer components, - ) { - return __objc_msgSend_966(obj, sel, range, components); - } - - late final __objc_msgSend_966Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_966 = __objc_msgSend_966Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - )>(); - - late final _sel_linkCheckingResultWithRange_URL_1 = objc.registerName( - "linkCheckingResultWithRange:URL:", - ); - ffi.Pointer _objc_msgSend_967( - ffi.Pointer obj, - ffi.Pointer sel, - _NSRange range, - ffi.Pointer url, - ) { - return __objc_msgSend_967(obj, sel, range, url); - } - - late final __objc_msgSend_967Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_967 = __objc_msgSend_967Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - )>(); - - late final _sel_quoteCheckingResultWithRange_replacementString_1 = - objc.registerName("quoteCheckingResultWithRange:replacementString:"); - ffi.Pointer _objc_msgSend_968( - ffi.Pointer obj, - ffi.Pointer sel, - _NSRange range, - ffi.Pointer replacementString, - ) { - return __objc_msgSend_968(obj, sel, range, replacementString); - } - - late final __objc_msgSend_968Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_968 = __objc_msgSend_968Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - )>(); - - late final _sel_dashCheckingResultWithRange_replacementString_1 = - objc.registerName("dashCheckingResultWithRange:replacementString:"); - late final _sel_replacementCheckingResultWithRange_replacementString_1 = objc - .registerName("replacementCheckingResultWithRange:replacementString:"); - late final _sel_correctionCheckingResultWithRange_replacementString_1 = - objc.registerName("correctionCheckingResultWithRange:replacementString:"); - late final _sel_correctionCheckingResultWithRange_replacementString_alternativeStrings_1 = - objc.registerName( - "correctionCheckingResultWithRange:replacementString:alternativeStrings:", - ); - ffi.Pointer _objc_msgSend_969( - ffi.Pointer obj, - ffi.Pointer sel, - _NSRange range, - ffi.Pointer replacementString, - ffi.Pointer alternativeStrings, - ) { - return __objc_msgSend_969( - obj, - sel, - range, - replacementString, - alternativeStrings, - ); - } - - late final __objc_msgSend_969Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_969 = __objc_msgSend_969Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_regularExpressionCheckingResultWithRanges_count_regularExpression_1 = - objc.registerName( - "regularExpressionCheckingResultWithRanges:count:regularExpression:", - ); - ffi.Pointer _objc_msgSend_970( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer<_NSRange> ranges, - int count, - ffi.Pointer regularExpression, - ) { - return __objc_msgSend_970(obj, sel, ranges, count, regularExpression); - } - - late final __objc_msgSend_970Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_NSRange>, - ffi.UnsignedLong, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_970 = __objc_msgSend_970Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_NSRange>, - int, - ffi.Pointer, - )>(); - - late final _sel_phoneNumberCheckingResultWithRange_phoneNumber_1 = - objc.registerName("phoneNumberCheckingResultWithRange:phoneNumber:"); - late final _sel_transitInformationCheckingResultWithRange_components_1 = objc - .registerName("transitInformationCheckingResultWithRange:components:"); - late final _class_NSURLCache1 = objc.getClass("NSURLCache"); - late final _sel_sharedURLCache1 = objc.registerName("sharedURLCache"); - ffi.Pointer _objc_msgSend_971( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_971(obj, sel); - } - - late final __objc_msgSend_971Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_971 = __objc_msgSend_971Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_setSharedURLCache_1 = objc.registerName("setSharedURLCache:"); - void _objc_msgSend_972( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, - ) { - return __objc_msgSend_972(obj, sel, value); - } - - late final __objc_msgSend_972Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_972 = __objc_msgSend_972Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_initWithMemoryCapacity_diskCapacity_diskPath_1 = - objc.registerName("initWithMemoryCapacity:diskCapacity:diskPath:"); - instancetype _objc_msgSend_973( - ffi.Pointer obj, - ffi.Pointer sel, - int memoryCapacity, - int diskCapacity, - ffi.Pointer path, - ) { - return __objc_msgSend_973(obj, sel, memoryCapacity, diskCapacity, path); - } - - late final __objc_msgSend_973Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ffi.UnsignedLong, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_973 = __objc_msgSend_973Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - int, - int, - ffi.Pointer, - )>(); - - late final _sel_initWithMemoryCapacity_diskCapacity_directoryURL_1 = - objc.registerName("initWithMemoryCapacity:diskCapacity:directoryURL:"); - instancetype _objc_msgSend_974( - ffi.Pointer obj, - ffi.Pointer sel, - int memoryCapacity, - int diskCapacity, - ffi.Pointer directoryURL, - ) { - return __objc_msgSend_974( - obj, - sel, - memoryCapacity, - diskCapacity, - directoryURL, - ); - } - - late final __objc_msgSend_974Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ffi.UnsignedLong, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_974 = __objc_msgSend_974Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - int, - int, - ffi.Pointer, - )>(); - - late final _class_NSCachedURLResponse1 = objc.getClass("NSCachedURLResponse"); - late final _sel_initWithResponse_data_1 = objc.registerName( - "initWithResponse:data:", - ); - instancetype _objc_msgSend_975( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer response, - ffi.Pointer data, - ) { - return __objc_msgSend_975(obj, sel, response, data); - } - - late final __objc_msgSend_975Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_975 = __objc_msgSend_975Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_initWithResponse_data_userInfo_storagePolicy_1 = - objc.registerName("initWithResponse:data:userInfo:storagePolicy:"); - instancetype _objc_msgSend_976( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer response, - ffi.Pointer data, - ffi.Pointer userInfo, - int storagePolicy, - ) { - return __objc_msgSend_976( - obj, - sel, - response, - data, - userInfo, - storagePolicy, - ); - } - - late final __objc_msgSend_976Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - )>>('objc_msgSend'); - late final __objc_msgSend_976 = __objc_msgSend_976Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - ffi.Pointer _objc_msgSend_977( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_977(obj, sel); - } - - late final __objc_msgSend_977Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_977 = __objc_msgSend_977Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_storagePolicy1 = objc.registerName("storagePolicy"); - int _objc_msgSend_978( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_978(obj, sel); - } - - late final __objc_msgSend_978Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_978 = __objc_msgSend_978Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_cachedResponseForRequest_1 = objc.registerName( - "cachedResponseForRequest:", - ); - ffi.Pointer _objc_msgSend_979( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer request, - ) { - return __objc_msgSend_979(obj, sel, request); - } - - late final __objc_msgSend_979Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_979 = __objc_msgSend_979Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_storeCachedResponse_forRequest_1 = objc.registerName( - "storeCachedResponse:forRequest:", - ); - void _objc_msgSend_980( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer cachedResponse, - ffi.Pointer request, - ) { - return __objc_msgSend_980(obj, sel, cachedResponse, request); - } - - late final __objc_msgSend_980Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_980 = __objc_msgSend_980Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_removeCachedResponseForRequest_1 = objc.registerName( - "removeCachedResponseForRequest:", - ); - void _objc_msgSend_981( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer request, - ) { - return __objc_msgSend_981(obj, sel, request); - } - - late final __objc_msgSend_981Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_981 = __objc_msgSend_981Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_removeAllCachedResponses1 = objc.registerName( - "removeAllCachedResponses", - ); - late final _sel_removeCachedResponsesSinceDate_1 = objc.registerName( - "removeCachedResponsesSinceDate:", - ); - late final _sel_memoryCapacity1 = objc.registerName("memoryCapacity"); - late final _sel_setMemoryCapacity_1 = objc.registerName("setMemoryCapacity:"); - late final _sel_diskCapacity1 = objc.registerName("diskCapacity"); - late final _sel_setDiskCapacity_1 = objc.registerName("setDiskCapacity:"); - late final _sel_currentMemoryUsage1 = objc.registerName("currentMemoryUsage"); - late final _sel_currentDiskUsage1 = objc.registerName("currentDiskUsage"); - late final _class_NSURLSessionDataTask1 = objc.getClass( - "NSURLSessionDataTask", - ); - late final _sel_storeCachedResponse_forDataTask_1 = objc.registerName( - "storeCachedResponse:forDataTask:", - ); - void _objc_msgSend_982( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer cachedResponse, - ffi.Pointer dataTask, - ) { - return __objc_msgSend_982(obj, sel, cachedResponse, dataTask); - } - - late final __objc_msgSend_982Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_982 = __objc_msgSend_982Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_getCachedResponseForDataTask_completionHandler_1 = - objc.registerName("getCachedResponseForDataTask:completionHandler:"); - void _objc_msgSend_983( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer dataTask, - ffi.Pointer completionHandler, - ) { - return __objc_msgSend_983(obj, sel, dataTask, completionHandler); - } - - late final __objc_msgSend_983Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_983 = __objc_msgSend_983Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_removeCachedResponseForDataTask_1 = objc.registerName( - "removeCachedResponseForDataTask:", - ); - void _objc_msgSend_984( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer dataTask, - ) { - return __objc_msgSend_984(obj, sel, dataTask); - } - - late final __objc_msgSend_984Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_984 = __objc_msgSend_984Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _class_NSURLConnection1 = objc.getClass("NSURLConnection"); - late final _sel_initWithRequest_delegate_startImmediately_1 = - objc.registerName("initWithRequest:delegate:startImmediately:"); - instancetype _objc_msgSend_985( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer request, - ffi.Pointer delegate, - bool startImmediately, - ) { - return __objc_msgSend_985(obj, sel, request, delegate, startImmediately); - } - - late final __objc_msgSend_985Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - )>>('objc_msgSend'); - late final __objc_msgSend_985 = __objc_msgSend_985Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - )>(); - - late final _sel_initWithRequest_delegate_1 = objc.registerName( - "initWithRequest:delegate:", - ); - instancetype _objc_msgSend_986( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer request, - ffi.Pointer delegate, - ) { - return __objc_msgSend_986(obj, sel, request, delegate); - } - - late final __objc_msgSend_986Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_986 = __objc_msgSend_986Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_connectionWithRequest_delegate_1 = objc.registerName( - "connectionWithRequest:delegate:", - ); - ffi.Pointer _objc_msgSend_987( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer request, - ffi.Pointer delegate, - ) { - return __objc_msgSend_987(obj, sel, request, delegate); - } - - late final __objc_msgSend_987Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_987 = __objc_msgSend_987Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - ffi.Pointer _objc_msgSend_988( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_988(obj, sel); - } - - late final __objc_msgSend_988Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_988 = __objc_msgSend_988Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_unscheduleFromRunLoop_forMode_1 = objc.registerName( - "unscheduleFromRunLoop:forMode:", - ); - late final _sel_setDelegateQueue_1 = objc.registerName("setDelegateQueue:"); - void _objc_msgSend_989( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer queue, - ) { - return __objc_msgSend_989(obj, sel, queue); - } - - late final __objc_msgSend_989Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_989 = __objc_msgSend_989Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_canHandleRequest_1 = objc.registerName("canHandleRequest:"); - bool _objc_msgSend_990( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer request, - ) { - return __objc_msgSend_990(obj, sel, request); - } - - late final __objc_msgSend_990Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_990 = __objc_msgSend_990Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_sendSynchronousRequest_returningResponse_error_1 = - objc.registerName("sendSynchronousRequest:returningResponse:error:"); - ffi.Pointer _objc_msgSend_991( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer request, - ffi.Pointer> response, - ffi.Pointer> error, - ) { - return __objc_msgSend_991(obj, sel, request, response, error); - } - - late final __objc_msgSend_991Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_991 = __objc_msgSend_991Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer>, - )>(); - - late final _sel_sendAsynchronousRequest_queue_completionHandler_1 = - objc.registerName("sendAsynchronousRequest:queue:completionHandler:"); - void _objc_msgSend_992( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer request, - ffi.Pointer queue, - ffi.Pointer handler, - ) { - return __objc_msgSend_992(obj, sel, request, queue, handler); - } - - late final __objc_msgSend_992Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_992 = __objc_msgSend_992Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _class_NSURLCredential1 = objc.getClass("NSURLCredential"); - late final _sel_persistence1 = objc.registerName("persistence"); - int _objc_msgSend_993( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_993(obj, sel); - } - - late final __objc_msgSend_993Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_993 = __objc_msgSend_993Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_initWithUser_password_persistence_1 = objc.registerName( - "initWithUser:password:persistence:", - ); - instancetype _objc_msgSend_994( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer user, - ffi.Pointer password, - int persistence, - ) { - return __objc_msgSend_994(obj, sel, user, password, persistence); - } - - late final __objc_msgSend_994Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - )>>('objc_msgSend'); - late final __objc_msgSend_994 = __objc_msgSend_994Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_credentialWithUser_password_persistence_1 = objc.registerName( - "credentialWithUser:password:persistence:", - ); - ffi.Pointer _objc_msgSend_995( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer user, - ffi.Pointer password, - int persistence, - ) { - return __objc_msgSend_995(obj, sel, user, password, persistence); - } - - late final __objc_msgSend_995Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - )>>('objc_msgSend'); - late final __objc_msgSend_995 = __objc_msgSend_995Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_hasPassword1 = objc.registerName("hasPassword"); - late final _sel_initWithIdentity_certificates_persistence_1 = - objc.registerName("initWithIdentity:certificates:persistence:"); - instancetype _objc_msgSend_996( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer<__SecIdentity> identity, - ffi.Pointer certArray, - int persistence, - ) { - return __objc_msgSend_996(obj, sel, identity, certArray, persistence); - } - - late final __objc_msgSend_996Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<__SecIdentity>, - ffi.Pointer, - ffi.Int32, - )>>('objc_msgSend'); - late final __objc_msgSend_996 = __objc_msgSend_996Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<__SecIdentity>, - ffi.Pointer, - int, - )>(); - - late final _sel_credentialWithIdentity_certificates_persistence_1 = - objc.registerName("credentialWithIdentity:certificates:persistence:"); - ffi.Pointer _objc_msgSend_997( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer<__SecIdentity> identity, - ffi.Pointer certArray, - int persistence, - ) { - return __objc_msgSend_997(obj, sel, identity, certArray, persistence); - } - - late final __objc_msgSend_997Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<__SecIdentity>, - ffi.Pointer, - ffi.Int32, - )>>('objc_msgSend'); - late final __objc_msgSend_997 = __objc_msgSend_997Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<__SecIdentity>, - ffi.Pointer, - int, - )>(); - - late final _sel_identity1 = objc.registerName("identity"); - ffi.Pointer<__SecIdentity> _objc_msgSend_998( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_998(obj, sel); - } - - late final __objc_msgSend_998Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer<__SecIdentity> Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_998 = __objc_msgSend_998Ptr.asFunction< - ffi.Pointer<__SecIdentity> Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_certificates1 = objc.registerName("certificates"); - late final _sel_initWithTrust_1 = objc.registerName("initWithTrust:"); - instancetype _objc_msgSend_999( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer<__SecTrust> trust, - ) { - return __objc_msgSend_999(obj, sel, trust); - } - - late final __objc_msgSend_999Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<__SecTrust>, - )>>('objc_msgSend'); - late final __objc_msgSend_999 = __objc_msgSend_999Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<__SecTrust>, - )>(); - - late final _sel_credentialForTrust_1 = objc.registerName( - "credentialForTrust:", - ); - ffi.Pointer _objc_msgSend_1000( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer<__SecTrust> trust, - ) { - return __objc_msgSend_1000(obj, sel, trust); - } - - late final __objc_msgSend_1000Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<__SecTrust>, - )>>('objc_msgSend'); - late final __objc_msgSend_1000 = __objc_msgSend_1000Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<__SecTrust>, - )>(); - - late final _class_NSURLProtectionSpace1 = objc.getClass( - "NSURLProtectionSpace", - ); - late final _sel_initWithHost_port_protocol_realm_authenticationMethod_1 = objc - .registerName("initWithHost:port:protocol:realm:authenticationMethod:"); - instancetype _objc_msgSend_1001( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer host, - int port, - ffi.Pointer protocol, - ffi.Pointer realm, - ffi.Pointer authenticationMethod, - ) { - return __objc_msgSend_1001( - obj, - sel, - host, - port, - protocol, - realm, - authenticationMethod, - ); - } - - late final __objc_msgSend_1001Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Long, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1001 = __objc_msgSend_1001Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_initWithProxyHost_port_type_realm_authenticationMethod_1 = - objc.registerName( - "initWithProxyHost:port:type:realm:authenticationMethod:", - ); - late final _sel_realm1 = objc.registerName("realm"); - late final _sel_receivesCredentialSecurely1 = objc.registerName( - "receivesCredentialSecurely", - ); - late final _sel_isProxy1 = objc.registerName("isProxy"); - late final _sel_proxyType1 = objc.registerName("proxyType"); - late final _sel_protocol1 = objc.registerName("protocol"); - late final _sel_authenticationMethod1 = objc.registerName( - "authenticationMethod", - ); - late final _sel_distinguishedNames1 = objc.registerName("distinguishedNames"); - late final _sel_serverTrust1 = objc.registerName("serverTrust"); - ffi.Pointer<__SecTrust> _objc_msgSend_1002( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_1002(obj, sel); - } - - late final __objc_msgSend_1002Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer<__SecTrust> Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1002 = __objc_msgSend_1002Ptr.asFunction< - ffi.Pointer<__SecTrust> Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _class_NSURLCredentialStorage1 = objc.getClass( - "NSURLCredentialStorage", - ); - late final _sel_sharedCredentialStorage1 = objc.registerName( - "sharedCredentialStorage", - ); - ffi.Pointer _objc_msgSend_1003( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_1003(obj, sel); - } - - late final __objc_msgSend_1003Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1003 = __objc_msgSend_1003Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_credentialsForProtectionSpace_1 = objc.registerName( - "credentialsForProtectionSpace:", - ); - ffi.Pointer _objc_msgSend_1004( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer space, - ) { - return __objc_msgSend_1004(obj, sel, space); - } - - late final __objc_msgSend_1004Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1004 = __objc_msgSend_1004Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_allCredentials1 = objc.registerName("allCredentials"); - late final _sel_setCredential_forProtectionSpace_1 = objc.registerName( - "setCredential:forProtectionSpace:", - ); - void _objc_msgSend_1005( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer credential, - ffi.Pointer space, - ) { - return __objc_msgSend_1005(obj, sel, credential, space); - } - - late final __objc_msgSend_1005Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1005 = __objc_msgSend_1005Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_removeCredential_forProtectionSpace_1 = objc.registerName( - "removeCredential:forProtectionSpace:", - ); - late final _sel_removeCredential_forProtectionSpace_options_1 = - objc.registerName("removeCredential:forProtectionSpace:options:"); - void _objc_msgSend_1006( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer credential, - ffi.Pointer space, - ffi.Pointer options, - ) { - return __objc_msgSend_1006(obj, sel, credential, space, options); - } - - late final __objc_msgSend_1006Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1006 = __objc_msgSend_1006Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_defaultCredentialForProtectionSpace_1 = objc.registerName( - "defaultCredentialForProtectionSpace:", - ); - ffi.Pointer _objc_msgSend_1007( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer space, - ) { - return __objc_msgSend_1007(obj, sel, space); - } - - late final __objc_msgSend_1007Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1007 = __objc_msgSend_1007Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_setDefaultCredential_forProtectionSpace_1 = objc.registerName( - "setDefaultCredential:forProtectionSpace:", - ); - late final _sel_getCredentialsForProtectionSpace_task_completionHandler_1 = - objc.registerName( - "getCredentialsForProtectionSpace:task:completionHandler:", - ); - void _objc_msgSend_1008( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer protectionSpace, - ffi.Pointer task, - ffi.Pointer completionHandler, - ) { - return __objc_msgSend_1008( - obj, - sel, - protectionSpace, - task, - completionHandler, - ); - } - - late final __objc_msgSend_1008Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1008 = __objc_msgSend_1008Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_setCredential_forProtectionSpace_task_1 = objc.registerName( - "setCredential:forProtectionSpace:task:", - ); - void _objc_msgSend_1009( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer credential, - ffi.Pointer protectionSpace, - ffi.Pointer task, - ) { - return __objc_msgSend_1009(obj, sel, credential, protectionSpace, task); - } - - late final __objc_msgSend_1009Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1009 = __objc_msgSend_1009Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_removeCredential_forProtectionSpace_options_task_1 = - objc.registerName("removeCredential:forProtectionSpace:options:task:"); - void _objc_msgSend_1010( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer credential, - ffi.Pointer protectionSpace, - ffi.Pointer options, - ffi.Pointer task, - ) { - return __objc_msgSend_1010( - obj, - sel, - credential, - protectionSpace, - options, - task, - ); - } - - late final __objc_msgSend_1010Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1010 = __objc_msgSend_1010Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_getDefaultCredentialForProtectionSpace_task_completionHandler_1 = - objc.registerName( - "getDefaultCredentialForProtectionSpace:task:completionHandler:", - ); - void _objc_msgSend_1011( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer space, - ffi.Pointer task, - ffi.Pointer completionHandler, - ) { - return __objc_msgSend_1011(obj, sel, space, task, completionHandler); - } - - late final __objc_msgSend_1011Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1011 = __objc_msgSend_1011Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_setDefaultCredential_forProtectionSpace_task_1 = - objc.registerName("setDefaultCredential:forProtectionSpace:task:"); - late final _class_NSURLProtocol1 = objc.getClass("NSURLProtocol"); - late final _sel_initWithRequest_cachedResponse_client_1 = objc.registerName( - "initWithRequest:cachedResponse:client:", - ); - instancetype _objc_msgSend_1012( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer request, - ffi.Pointer cachedResponse, - ffi.Pointer client, - ) { - return __objc_msgSend_1012(obj, sel, request, cachedResponse, client); - } - - late final __objc_msgSend_1012Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1012 = __objc_msgSend_1012Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_client1 = objc.registerName("client"); - late final _sel_request1 = objc.registerName("request"); - late final _sel_cachedResponse1 = objc.registerName("cachedResponse"); - ffi.Pointer _objc_msgSend_1013( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_1013(obj, sel); - } - - late final __objc_msgSend_1013Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1013 = __objc_msgSend_1013Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_canInitWithRequest_1 = objc.registerName( - "canInitWithRequest:", - ); - late final _sel_canonicalRequestForRequest_1 = objc.registerName( - "canonicalRequestForRequest:", - ); - ffi.Pointer _objc_msgSend_1014( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer request, - ) { - return __objc_msgSend_1014(obj, sel, request); - } - - late final __objc_msgSend_1014Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1014 = __objc_msgSend_1014Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_requestIsCacheEquivalent_toRequest_1 = objc.registerName( - "requestIsCacheEquivalent:toRequest:", - ); - bool _objc_msgSend_1015( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer a, - ffi.Pointer b, - ) { - return __objc_msgSend_1015(obj, sel, a, b); - } - - late final __objc_msgSend_1015Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1015 = __objc_msgSend_1015Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_startLoading1 = objc.registerName("startLoading"); - late final _sel_stopLoading1 = objc.registerName("stopLoading"); - late final _sel_propertyForKey_inRequest_1 = objc.registerName( - "propertyForKey:inRequest:", - ); - ffi.Pointer _objc_msgSend_1016( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer key, - ffi.Pointer request, - ) { - return __objc_msgSend_1016(obj, sel, key, request); - } - - late final __objc_msgSend_1016Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1016 = __objc_msgSend_1016Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _class_NSMutableURLRequest1 = objc.getClass("NSMutableURLRequest"); - late final _sel_setURL_1 = objc.registerName("setURL:"); - late final _sel_setCachePolicy_1 = objc.registerName("setCachePolicy:"); - void _objc_msgSend_1017( - ffi.Pointer obj, - ffi.Pointer sel, - int value, - ) { - return __objc_msgSend_1017(obj, sel, value); - } - - late final __objc_msgSend_1017Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - )>>('objc_msgSend'); - late final __objc_msgSend_1017 = __objc_msgSend_1017Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_setTimeoutInterval_1 = objc.registerName( - "setTimeoutInterval:", - ); - late final _sel_setMainDocumentURL_1 = objc.registerName( - "setMainDocumentURL:", - ); - late final _sel_setNetworkServiceType_1 = objc.registerName( - "setNetworkServiceType:", - ); - void _objc_msgSend_1018( - ffi.Pointer obj, - ffi.Pointer sel, - int value, - ) { - return __objc_msgSend_1018(obj, sel, value); - } - - late final __objc_msgSend_1018Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - )>>('objc_msgSend'); - late final __objc_msgSend_1018 = __objc_msgSend_1018Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_setAllowsCellularAccess_1 = objc.registerName( - "setAllowsCellularAccess:", - ); - late final _sel_setAllowsExpensiveNetworkAccess_1 = objc.registerName( - "setAllowsExpensiveNetworkAccess:", - ); - late final _sel_setAllowsConstrainedNetworkAccess_1 = objc.registerName( - "setAllowsConstrainedNetworkAccess:", - ); - late final _sel_setAssumesHTTP3Capable_1 = objc.registerName( - "setAssumesHTTP3Capable:", - ); - late final _sel_setAttribution_1 = objc.registerName("setAttribution:"); - void _objc_msgSend_1019( - ffi.Pointer obj, - ffi.Pointer sel, - int value, - ) { - return __objc_msgSend_1019(obj, sel, value); - } - - late final __objc_msgSend_1019Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - )>>('objc_msgSend'); - late final __objc_msgSend_1019 = __objc_msgSend_1019Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_setRequiresDNSSECValidation_1 = objc.registerName( - "setRequiresDNSSECValidation:", - ); - late final _sel_setHTTPMethod_1 = objc.registerName("setHTTPMethod:"); - late final _sel_setAllHTTPHeaderFields_1 = objc.registerName( - "setAllHTTPHeaderFields:", - ); - late final _sel_setValue_forHTTPHeaderField_1 = objc.registerName( - "setValue:forHTTPHeaderField:", - ); - void _objc_msgSend_1020( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, - ffi.Pointer field, - ) { - return __objc_msgSend_1020(obj, sel, value, field); - } - - late final __objc_msgSend_1020Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1020 = __objc_msgSend_1020Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_addValue_forHTTPHeaderField_1 = objc.registerName( - "addValue:forHTTPHeaderField:", - ); - late final _sel_setHTTPBody_1 = objc.registerName("setHTTPBody:"); - void _objc_msgSend_1021( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, - ) { - return __objc_msgSend_1021(obj, sel, value); - } - - late final __objc_msgSend_1021Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1021 = __objc_msgSend_1021Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_setHTTPBodyStream_1 = objc.registerName("setHTTPBodyStream:"); - void _objc_msgSend_1022( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, - ) { - return __objc_msgSend_1022(obj, sel, value); - } - - late final __objc_msgSend_1022Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1022 = __objc_msgSend_1022Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_setHTTPShouldHandleCookies_1 = objc.registerName( - "setHTTPShouldHandleCookies:", - ); - late final _sel_setHTTPShouldUsePipelining_1 = objc.registerName( - "setHTTPShouldUsePipelining:", - ); - late final _sel_setProperty_forKey_inRequest_1 = objc.registerName( - "setProperty:forKey:inRequest:", - ); - void _objc_msgSend_1023( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, - ffi.Pointer key, - ffi.Pointer request, - ) { - return __objc_msgSend_1023(obj, sel, value, key, request); - } - - late final __objc_msgSend_1023Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1023 = __objc_msgSend_1023Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_removePropertyForKey_inRequest_1 = objc.registerName( - "removePropertyForKey:inRequest:", - ); - void _objc_msgSend_1024( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer key, - ffi.Pointer request, - ) { - return __objc_msgSend_1024(obj, sel, key, request); - } - - late final __objc_msgSend_1024Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1024 = __objc_msgSend_1024Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_registerClass_1 = objc.registerName("registerClass:"); - late final _sel_unregisterClass_1 = objc.registerName("unregisterClass:"); - late final _sel_canInitWithTask_1 = objc.registerName("canInitWithTask:"); - bool _objc_msgSend_1025( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer task, - ) { - return __objc_msgSend_1025(obj, sel, task); - } - - late final __objc_msgSend_1025Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1025 = __objc_msgSend_1025Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_initWithTask_cachedResponse_client_1 = objc.registerName( - "initWithTask:cachedResponse:client:", - ); - instancetype _objc_msgSend_1026( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer task, - ffi.Pointer cachedResponse, - ffi.Pointer client, - ) { - return __objc_msgSend_1026(obj, sel, task, cachedResponse, client); - } - - late final __objc_msgSend_1026Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1026 = __objc_msgSend_1026Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_task1 = objc.registerName("task"); - ffi.Pointer _objc_msgSend_1027( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_1027(obj, sel); - } - - late final __objc_msgSend_1027Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1027 = __objc_msgSend_1027Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _class_NSXMLParser1 = objc.getClass("NSXMLParser"); - late final _sel_initWithStream_1 = objc.registerName("initWithStream:"); - instancetype _objc_msgSend_1028( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer stream, - ) { - return __objc_msgSend_1028(obj, sel, stream); - } - - late final __objc_msgSend_1028Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1028 = __objc_msgSend_1028Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_shouldProcessNamespaces1 = objc.registerName( - "shouldProcessNamespaces", - ); - late final _sel_setShouldProcessNamespaces_1 = objc.registerName( - "setShouldProcessNamespaces:", - ); - late final _sel_shouldReportNamespacePrefixes1 = objc.registerName( - "shouldReportNamespacePrefixes", - ); - late final _sel_setShouldReportNamespacePrefixes_1 = objc.registerName( - "setShouldReportNamespacePrefixes:", - ); - late final _sel_externalEntityResolvingPolicy1 = objc.registerName( - "externalEntityResolvingPolicy", - ); - int _objc_msgSend_1029( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_1029(obj, sel); - } - - late final __objc_msgSend_1029Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1029 = __objc_msgSend_1029Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_setExternalEntityResolvingPolicy_1 = objc.registerName( - "setExternalEntityResolvingPolicy:", - ); - void _objc_msgSend_1030( - ffi.Pointer obj, - ffi.Pointer sel, - int value, - ) { - return __objc_msgSend_1030(obj, sel, value); - } - - late final __objc_msgSend_1030Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - )>>('objc_msgSend'); - late final __objc_msgSend_1030 = __objc_msgSend_1030Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_allowedExternalEntityURLs1 = objc.registerName( - "allowedExternalEntityURLs", - ); - late final _sel_setAllowedExternalEntityURLs_1 = objc.registerName( - "setAllowedExternalEntityURLs:", - ); - void _objc_msgSend_1031( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, - ) { - return __objc_msgSend_1031(obj, sel, value); - } - - late final __objc_msgSend_1031Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1031 = __objc_msgSend_1031Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_parse1 = objc.registerName("parse"); - late final _sel_abortParsing1 = objc.registerName("abortParsing"); - late final _sel_parserError1 = objc.registerName("parserError"); - late final _sel_shouldResolveExternalEntities1 = objc.registerName( - "shouldResolveExternalEntities", - ); - late final _sel_setShouldResolveExternalEntities_1 = objc.registerName( - "setShouldResolveExternalEntities:", - ); - late final _sel_publicID1 = objc.registerName("publicID"); - late final _sel_systemID1 = objc.registerName("systemID"); - late final _sel_lineNumber1 = objc.registerName("lineNumber"); - late final _sel_columnNumber1 = objc.registerName("columnNumber"); - late final _class_NSFileWrapper1 = objc.getClass("NSFileWrapper"); - late final _sel_initWithURL_options_error_1 = objc.registerName( - "initWithURL:options:error:", - ); - instancetype _objc_msgSend_1032( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, - int options, - ffi.Pointer> outError, - ) { - return __objc_msgSend_1032(obj, sel, url, options, outError); - } - - late final __objc_msgSend_1032Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_1032 = __objc_msgSend_1032Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>, - )>(); - - late final _sel_initDirectoryWithFileWrappers_1 = objc.registerName( - "initDirectoryWithFileWrappers:", - ); - late final _sel_initRegularFileWithContents_1 = objc.registerName( - "initRegularFileWithContents:", - ); - late final _sel_initSymbolicLinkWithDestinationURL_1 = objc.registerName( - "initSymbolicLinkWithDestinationURL:", - ); - late final _sel_initWithSerializedRepresentation_1 = objc.registerName( - "initWithSerializedRepresentation:", - ); - late final _sel_isDirectory1 = objc.registerName("isDirectory"); - late final _sel_isRegularFile1 = objc.registerName("isRegularFile"); - late final _sel_isSymbolicLink1 = objc.registerName("isSymbolicLink"); - late final _sel_preferredFilename1 = objc.registerName("preferredFilename"); - late final _sel_setPreferredFilename_1 = objc.registerName( - "setPreferredFilename:", - ); - late final _sel_filename1 = objc.registerName("filename"); - late final _sel_setFilename_1 = objc.registerName("setFilename:"); - late final _sel_fileAttributes1 = objc.registerName("fileAttributes"); - late final _sel_setFileAttributes_1 = objc.registerName("setFileAttributes:"); - late final _sel_matchesContentsOfURL_1 = objc.registerName( - "matchesContentsOfURL:", - ); - late final _sel_readFromURL_options_error_1 = objc.registerName( - "readFromURL:options:error:", - ); - bool _objc_msgSend_1033( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, - int options, - ffi.Pointer> outError, - ) { - return __objc_msgSend_1033(obj, sel, url, options, outError); - } - - late final __objc_msgSend_1033Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_1033 = __objc_msgSend_1033Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>, - )>(); - - late final _sel_writeToURL_options_originalContentsURL_error_1 = - objc.registerName("writeToURL:options:originalContentsURL:error:"); - bool _objc_msgSend_1034( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, - int options, - ffi.Pointer originalContentsURL, - ffi.Pointer> outError, - ) { - return __objc_msgSend_1034( - obj, - sel, - url, - options, - originalContentsURL, - outError, - ); - } - - late final __objc_msgSend_1034Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_1034 = __objc_msgSend_1034Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ffi.Pointer>, - )>(); - - late final _sel_serializedRepresentation1 = objc.registerName( - "serializedRepresentation", - ); - late final _sel_addFileWrapper_1 = objc.registerName("addFileWrapper:"); - ffi.Pointer _objc_msgSend_1035( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer child, - ) { - return __objc_msgSend_1035(obj, sel, child); - } - - late final __objc_msgSend_1035Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1035 = __objc_msgSend_1035Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_addRegularFileWithContents_preferredFilename_1 = - objc.registerName("addRegularFileWithContents:preferredFilename:"); - ffi.Pointer _objc_msgSend_1036( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer data, - ffi.Pointer fileName, - ) { - return __objc_msgSend_1036(obj, sel, data, fileName); - } - - late final __objc_msgSend_1036Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1036 = __objc_msgSend_1036Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_removeFileWrapper_1 = objc.registerName("removeFileWrapper:"); - void _objc_msgSend_1037( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer child, - ) { - return __objc_msgSend_1037(obj, sel, child); - } - - late final __objc_msgSend_1037Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1037 = __objc_msgSend_1037Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_fileWrappers1 = objc.registerName("fileWrappers"); - late final _sel_keyForFileWrapper_1 = objc.registerName("keyForFileWrapper:"); - ffi.Pointer _objc_msgSend_1038( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer child, - ) { - return __objc_msgSend_1038(obj, sel, child); - } - - late final __objc_msgSend_1038Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1038 = __objc_msgSend_1038Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_regularFileContents1 = objc.registerName( - "regularFileContents", - ); - late final _sel_symbolicLinkDestinationURL1 = objc.registerName( - "symbolicLinkDestinationURL", - ); - late final _sel_initSymbolicLinkWithDestination_1 = objc.registerName( - "initSymbolicLinkWithDestination:", - ); - late final _sel_needsToBeUpdatedFromPath_1 = objc.registerName( - "needsToBeUpdatedFromPath:", - ); - late final _sel_updateFromPath_1 = objc.registerName("updateFromPath:"); - late final _sel_writeToFile_atomically_updateFilenames_1 = objc.registerName( - "writeToFile:atomically:updateFilenames:", - ); - bool _objc_msgSend_1039( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, - bool atomicFlag, - bool updateFilenamesFlag, - ) { - return __objc_msgSend_1039(obj, sel, path, atomicFlag, updateFilenamesFlag); - } - - late final __objc_msgSend_1039Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - ffi.Bool, - )>>('objc_msgSend'); - late final __objc_msgSend_1039 = __objc_msgSend_1039Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - bool, - )>(); - - late final _sel_addFileWithPath_1 = objc.registerName("addFileWithPath:"); - late final _sel_addSymbolicLinkWithDestination_preferredFilename_1 = - objc.registerName("addSymbolicLinkWithDestination:preferredFilename:"); - late final _sel_symbolicLinkDestination1 = objc.registerName( - "symbolicLinkDestination", - ); - late final _class_NSURLSession1 = objc.getClass("NSURLSession"); - late final _sel_sharedSession1 = objc.registerName("sharedSession"); - ffi.Pointer _objc_msgSend_1040( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_1040(obj, sel); - } - - late final __objc_msgSend_1040Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1040 = __objc_msgSend_1040Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _class_NSURLSessionConfiguration1 = objc.getClass( - "NSURLSessionConfiguration", - ); - late final _sel_defaultSessionConfiguration1 = objc.registerName( - "defaultSessionConfiguration", - ); - ffi.Pointer _objc_msgSend_1041( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_1041(obj, sel); - } - - late final __objc_msgSend_1041Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1041 = __objc_msgSend_1041Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_ephemeralSessionConfiguration1 = objc.registerName( - "ephemeralSessionConfiguration", - ); - late final _sel_backgroundSessionConfigurationWithIdentifier_1 = - objc.registerName("backgroundSessionConfigurationWithIdentifier:"); - ffi.Pointer _objc_msgSend_1042( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer identifier, - ) { - return __objc_msgSend_1042(obj, sel, identifier); - } - - late final __objc_msgSend_1042Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1042 = __objc_msgSend_1042Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_identifier1 = objc.registerName("identifier"); - late final _sel_requestCachePolicy1 = objc.registerName("requestCachePolicy"); - late final _sel_setRequestCachePolicy_1 = objc.registerName( - "setRequestCachePolicy:", - ); - late final _sel_timeoutIntervalForRequest1 = objc.registerName( - "timeoutIntervalForRequest", - ); - late final _sel_setTimeoutIntervalForRequest_1 = objc.registerName( - "setTimeoutIntervalForRequest:", - ); - late final _sel_timeoutIntervalForResource1 = objc.registerName( - "timeoutIntervalForResource", - ); - late final _sel_setTimeoutIntervalForResource_1 = objc.registerName( - "setTimeoutIntervalForResource:", - ); - late final _sel_waitsForConnectivity1 = objc.registerName( - "waitsForConnectivity", - ); - late final _sel_setWaitsForConnectivity_1 = objc.registerName( - "setWaitsForConnectivity:", - ); - late final _sel_isDiscretionary1 = objc.registerName("isDiscretionary"); - late final _sel_setDiscretionary_1 = objc.registerName("setDiscretionary:"); - late final _sel_sharedContainerIdentifier1 = objc.registerName( - "sharedContainerIdentifier", - ); - late final _sel_setSharedContainerIdentifier_1 = objc.registerName( - "setSharedContainerIdentifier:", - ); - late final _sel_sessionSendsLaunchEvents1 = objc.registerName( - "sessionSendsLaunchEvents", - ); - late final _sel_setSessionSendsLaunchEvents_1 = objc.registerName( - "setSessionSendsLaunchEvents:", - ); - late final _sel_connectionProxyDictionary1 = objc.registerName( - "connectionProxyDictionary", - ); - late final _sel_setConnectionProxyDictionary_1 = objc.registerName( - "setConnectionProxyDictionary:", - ); - late final _sel_TLSMinimumSupportedProtocol1 = objc.registerName( - "TLSMinimumSupportedProtocol", - ); - int _objc_msgSend_1043( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_1043(obj, sel); - } - - late final __objc_msgSend_1043Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1043 = __objc_msgSend_1043Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_setTLSMinimumSupportedProtocol_1 = objc.registerName( - "setTLSMinimumSupportedProtocol:", - ); - void _objc_msgSend_1044( - ffi.Pointer obj, - ffi.Pointer sel, - int value, - ) { - return __objc_msgSend_1044(obj, sel, value); - } - - late final __objc_msgSend_1044Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - )>>('objc_msgSend'); - late final __objc_msgSend_1044 = __objc_msgSend_1044Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_TLSMaximumSupportedProtocol1 = objc.registerName( - "TLSMaximumSupportedProtocol", - ); - late final _sel_setTLSMaximumSupportedProtocol_1 = objc.registerName( - "setTLSMaximumSupportedProtocol:", - ); - late final _sel_TLSMinimumSupportedProtocolVersion1 = objc.registerName( - "TLSMinimumSupportedProtocolVersion", - ); - int _objc_msgSend_1045( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_1045(obj, sel); - } - - late final __objc_msgSend_1045Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1045 = __objc_msgSend_1045Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_setTLSMinimumSupportedProtocolVersion_1 = objc.registerName( - "setTLSMinimumSupportedProtocolVersion:", - ); - void _objc_msgSend_1046( - ffi.Pointer obj, - ffi.Pointer sel, - int value, - ) { - return __objc_msgSend_1046(obj, sel, value); - } - - late final __objc_msgSend_1046Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - )>>('objc_msgSend'); - late final __objc_msgSend_1046 = __objc_msgSend_1046Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_TLSMaximumSupportedProtocolVersion1 = objc.registerName( - "TLSMaximumSupportedProtocolVersion", - ); - late final _sel_setTLSMaximumSupportedProtocolVersion_1 = objc.registerName( - "setTLSMaximumSupportedProtocolVersion:", - ); - late final _sel_HTTPShouldSetCookies1 = objc.registerName( - "HTTPShouldSetCookies", - ); - late final _sel_setHTTPShouldSetCookies_1 = objc.registerName( - "setHTTPShouldSetCookies:", - ); - late final _sel_HTTPCookieAcceptPolicy1 = objc.registerName( - "HTTPCookieAcceptPolicy", - ); - late final _sel_setHTTPCookieAcceptPolicy_1 = objc.registerName( - "setHTTPCookieAcceptPolicy:", - ); - late final _sel_HTTPAdditionalHeaders1 = objc.registerName( - "HTTPAdditionalHeaders", - ); - late final _sel_setHTTPAdditionalHeaders_1 = objc.registerName( - "setHTTPAdditionalHeaders:", - ); - late final _sel_HTTPMaximumConnectionsPerHost1 = objc.registerName( - "HTTPMaximumConnectionsPerHost", - ); - late final _sel_setHTTPMaximumConnectionsPerHost_1 = objc.registerName( - "setHTTPMaximumConnectionsPerHost:", - ); - late final _sel_HTTPCookieStorage1 = objc.registerName("HTTPCookieStorage"); - ffi.Pointer _objc_msgSend_1047( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_1047(obj, sel); - } - - late final __objc_msgSend_1047Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1047 = __objc_msgSend_1047Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_setHTTPCookieStorage_1 = objc.registerName( - "setHTTPCookieStorage:", - ); - void _objc_msgSend_1048( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, - ) { - return __objc_msgSend_1048(obj, sel, value); - } - - late final __objc_msgSend_1048Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1048 = __objc_msgSend_1048Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_URLCredentialStorage1 = objc.registerName( - "URLCredentialStorage", - ); - ffi.Pointer _objc_msgSend_1049( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_1049(obj, sel); - } - - late final __objc_msgSend_1049Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1049 = __objc_msgSend_1049Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_setURLCredentialStorage_1 = objc.registerName( - "setURLCredentialStorage:", - ); - void _objc_msgSend_1050( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, - ) { - return __objc_msgSend_1050(obj, sel, value); - } - - late final __objc_msgSend_1050Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1050 = __objc_msgSend_1050Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_URLCache1 = objc.registerName("URLCache"); - ffi.Pointer _objc_msgSend_1051( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_1051(obj, sel); - } - - late final __objc_msgSend_1051Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1051 = __objc_msgSend_1051Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_setURLCache_1 = objc.registerName("setURLCache:"); - void _objc_msgSend_1052( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, - ) { - return __objc_msgSend_1052(obj, sel, value); - } - - late final __objc_msgSend_1052Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1052 = __objc_msgSend_1052Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_shouldUseExtendedBackgroundIdleMode1 = objc.registerName( - "shouldUseExtendedBackgroundIdleMode", - ); - late final _sel_setShouldUseExtendedBackgroundIdleMode_1 = objc.registerName( - "setShouldUseExtendedBackgroundIdleMode:", - ); - late final _sel_protocolClasses1 = objc.registerName("protocolClasses"); - late final _sel_setProtocolClasses_1 = objc.registerName( - "setProtocolClasses:", - ); - void _objc_msgSend_1053( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, - ) { - return __objc_msgSend_1053(obj, sel, value); - } - - late final __objc_msgSend_1053Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1053 = __objc_msgSend_1053Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_multipathServiceType1 = objc.registerName( - "multipathServiceType", - ); - int _objc_msgSend_1054( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_1054(obj, sel); - } - - late final __objc_msgSend_1054Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1054 = __objc_msgSend_1054Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_setMultipathServiceType_1 = objc.registerName( - "setMultipathServiceType:", - ); - void _objc_msgSend_1055( - ffi.Pointer obj, - ffi.Pointer sel, - int value, - ) { - return __objc_msgSend_1055(obj, sel, value); - } - - late final __objc_msgSend_1055Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - )>>('objc_msgSend'); - late final __objc_msgSend_1055 = __objc_msgSend_1055Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_backgroundSessionConfiguration_1 = objc.registerName( - "backgroundSessionConfiguration:", - ); - late final _sel_sessionWithConfiguration_1 = objc.registerName( - "sessionWithConfiguration:", - ); - ffi.Pointer _objc_msgSend_1056( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer configuration, - ) { - return __objc_msgSend_1056(obj, sel, configuration); - } - - late final __objc_msgSend_1056Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1056 = __objc_msgSend_1056Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_sessionWithConfiguration_delegate_delegateQueue_1 = - objc.registerName("sessionWithConfiguration:delegate:delegateQueue:"); - ffi.Pointer _objc_msgSend_1057( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer configuration, - ffi.Pointer delegate, - ffi.Pointer queue, - ) { - return __objc_msgSend_1057(obj, sel, configuration, delegate, queue); - } - - late final __objc_msgSend_1057Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1057 = __objc_msgSend_1057Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_delegateQueue1 = objc.registerName("delegateQueue"); - late final _sel_configuration1 = objc.registerName("configuration"); - late final _sel_sessionDescription1 = objc.registerName("sessionDescription"); - late final _sel_setSessionDescription_1 = objc.registerName( - "setSessionDescription:", - ); - late final _sel_finishTasksAndInvalidate1 = objc.registerName( - "finishTasksAndInvalidate", - ); - late final _sel_invalidateAndCancel1 = objc.registerName( - "invalidateAndCancel", - ); - late final _sel_resetWithCompletionHandler_1 = objc.registerName( - "resetWithCompletionHandler:", - ); - late final _sel_flushWithCompletionHandler_1 = objc.registerName( - "flushWithCompletionHandler:", - ); - late final _sel_getTasksWithCompletionHandler_1 = objc.registerName( - "getTasksWithCompletionHandler:", - ); - void _objc_msgSend_1058( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer completionHandler, - ) { - return __objc_msgSend_1058(obj, sel, completionHandler); - } - - late final __objc_msgSend_1058Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1058 = __objc_msgSend_1058Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_getAllTasksWithCompletionHandler_1 = objc.registerName( - "getAllTasksWithCompletionHandler:", - ); - void _objc_msgSend_1059( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer completionHandler, - ) { - return __objc_msgSend_1059(obj, sel, completionHandler); - } - - late final __objc_msgSend_1059Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1059 = __objc_msgSend_1059Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_dataTaskWithRequest_1 = objc.registerName( - "dataTaskWithRequest:", - ); - ffi.Pointer _objc_msgSend_1060( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer request, - ) { - return __objc_msgSend_1060(obj, sel, request); - } - - late final __objc_msgSend_1060Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1060 = __objc_msgSend_1060Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_dataTaskWithURL_1 = objc.registerName("dataTaskWithURL:"); - ffi.Pointer _objc_msgSend_1061( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, - ) { - return __objc_msgSend_1061(obj, sel, url); - } - - late final __objc_msgSend_1061Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1061 = __objc_msgSend_1061Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _class_NSURLSessionUploadTask1 = objc.getClass( - "NSURLSessionUploadTask", - ); - late final _sel_cancelByProducingResumeData_1 = objc.registerName( - "cancelByProducingResumeData:", - ); - void _objc_msgSend_1062( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer completionHandler, - ) { - return __objc_msgSend_1062(obj, sel, completionHandler); - } - - late final __objc_msgSend_1062Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1062 = __objc_msgSend_1062Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_uploadTaskWithRequest_fromFile_1 = objc.registerName( - "uploadTaskWithRequest:fromFile:", - ); - ffi.Pointer _objc_msgSend_1063( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer request, - ffi.Pointer fileURL, - ) { - return __objc_msgSend_1063(obj, sel, request, fileURL); - } - - late final __objc_msgSend_1063Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1063 = __objc_msgSend_1063Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_uploadTaskWithRequest_fromData_1 = objc.registerName( - "uploadTaskWithRequest:fromData:", - ); - ffi.Pointer _objc_msgSend_1064( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer request, - ffi.Pointer bodyData, - ) { - return __objc_msgSend_1064(obj, sel, request, bodyData); - } - - late final __objc_msgSend_1064Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1064 = __objc_msgSend_1064Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_uploadTaskWithResumeData_1 = objc.registerName( - "uploadTaskWithResumeData:", - ); - ffi.Pointer _objc_msgSend_1065( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer resumeData, - ) { - return __objc_msgSend_1065(obj, sel, resumeData); - } - - late final __objc_msgSend_1065Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1065 = __objc_msgSend_1065Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_uploadTaskWithStreamedRequest_1 = objc.registerName( - "uploadTaskWithStreamedRequest:", - ); - ffi.Pointer _objc_msgSend_1066( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer request, - ) { - return __objc_msgSend_1066(obj, sel, request); - } - - late final __objc_msgSend_1066Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1066 = __objc_msgSend_1066Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _class_NSURLSessionDownloadTask1 = objc.getClass( - "NSURLSessionDownloadTask", - ); - late final _sel_downloadTaskWithRequest_1 = objc.registerName( - "downloadTaskWithRequest:", - ); - ffi.Pointer _objc_msgSend_1067( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer request, - ) { - return __objc_msgSend_1067(obj, sel, request); - } - - late final __objc_msgSend_1067Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1067 = __objc_msgSend_1067Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_downloadTaskWithURL_1 = objc.registerName( - "downloadTaskWithURL:", - ); - ffi.Pointer _objc_msgSend_1068( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, - ) { - return __objc_msgSend_1068(obj, sel, url); - } - - late final __objc_msgSend_1068Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1068 = __objc_msgSend_1068Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_downloadTaskWithResumeData_1 = objc.registerName( - "downloadTaskWithResumeData:", - ); - ffi.Pointer _objc_msgSend_1069( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer resumeData, - ) { - return __objc_msgSend_1069(obj, sel, resumeData); - } - - late final __objc_msgSend_1069Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1069 = __objc_msgSend_1069Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _class_NSURLSessionStreamTask1 = objc.getClass( - "NSURLSessionStreamTask", - ); - late final _sel_readDataOfMinLength_maxLength_timeout_completionHandler_1 = - objc.registerName( - "readDataOfMinLength:maxLength:timeout:completionHandler:", - ); - void _objc_msgSend_1070( - ffi.Pointer obj, - ffi.Pointer sel, - int minBytes, - int maxBytes, - double timeout, - ffi.Pointer completionHandler, - ) { - return __objc_msgSend_1070( - obj, - sel, - minBytes, - maxBytes, - timeout, - completionHandler, - ); - } - - late final __objc_msgSend_1070Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ffi.UnsignedLong, - ffi.Double, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1070 = __objc_msgSend_1070Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - int, - double, - ffi.Pointer, - )>(); - - late final _sel_writeData_timeout_completionHandler_1 = objc.registerName( - "writeData:timeout:completionHandler:", - ); - void _objc_msgSend_1071( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer data, - double timeout, - ffi.Pointer completionHandler, - ) { - return __objc_msgSend_1071(obj, sel, data, timeout, completionHandler); - } - - late final __objc_msgSend_1071Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Double, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1071 = __objc_msgSend_1071Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - double, - ffi.Pointer, - )>(); - - late final _sel_captureStreams1 = objc.registerName("captureStreams"); - late final _sel_closeWrite1 = objc.registerName("closeWrite"); - late final _sel_closeRead1 = objc.registerName("closeRead"); - late final _sel_startSecureConnection1 = objc.registerName( - "startSecureConnection", - ); - late final _sel_stopSecureConnection1 = objc.registerName( - "stopSecureConnection", - ); - late final _sel_streamTaskWithHostName_port_1 = objc.registerName( - "streamTaskWithHostName:port:", - ); - ffi.Pointer _objc_msgSend_1072( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer hostname, - int port, - ) { - return __objc_msgSend_1072(obj, sel, hostname, port); - } - - late final __objc_msgSend_1072Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Long, - )>>('objc_msgSend'); - late final __objc_msgSend_1072 = __objc_msgSend_1072Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _class_NSNetService1 = objc.getClass("NSNetService"); - late final _sel_initWithDomain_type_name_port_1 = objc.registerName( - "initWithDomain:type:name:port:", - ); - instancetype _objc_msgSend_1073( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer domain, - ffi.Pointer type, - ffi.Pointer name, - int port, - ) { - return __objc_msgSend_1073(obj, sel, domain, type, name, port); - } - - late final __objc_msgSend_1073Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int, - )>>('objc_msgSend'); - late final __objc_msgSend_1073 = __objc_msgSend_1073Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_initWithDomain_type_name_1 = objc.registerName( - "initWithDomain:type:name:", - ); - instancetype _objc_msgSend_1074( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer domain, - ffi.Pointer type, - ffi.Pointer name, - ) { - return __objc_msgSend_1074(obj, sel, domain, type, name); - } - - late final __objc_msgSend_1074Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1074 = __objc_msgSend_1074Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_includesPeerToPeer1 = objc.registerName("includesPeerToPeer"); - late final _sel_setIncludesPeerToPeer_1 = objc.registerName( - "setIncludesPeerToPeer:", - ); - late final _sel_type1 = objc.registerName("type"); - late final _sel_publishWithOptions_1 = objc.registerName( - "publishWithOptions:", - ); - void _objc_msgSend_1075( - ffi.Pointer obj, - ffi.Pointer sel, - int options, - ) { - return __objc_msgSend_1075(obj, sel, options); - } - - late final __objc_msgSend_1075Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - )>>('objc_msgSend'); - late final __objc_msgSend_1075 = __objc_msgSend_1075Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_resolve1 = objc.registerName("resolve"); - late final _sel_stop1 = objc.registerName("stop"); - late final _sel_dictionaryFromTXTRecordData_1 = objc.registerName( - "dictionaryFromTXTRecordData:", - ); - ffi.Pointer _objc_msgSend_1076( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer txtData, - ) { - return __objc_msgSend_1076(obj, sel, txtData); - } - - late final __objc_msgSend_1076Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1076 = __objc_msgSend_1076Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_dataFromTXTRecordDictionary_1 = objc.registerName( - "dataFromTXTRecordDictionary:", - ); - ffi.Pointer _objc_msgSend_1077( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer txtDictionary, - ) { - return __objc_msgSend_1077(obj, sel, txtDictionary); - } - - late final __objc_msgSend_1077Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1077 = __objc_msgSend_1077Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_resolveWithTimeout_1 = objc.registerName( - "resolveWithTimeout:", - ); - late final _sel_getInputStream_outputStream_1 = objc.registerName( - "getInputStream:outputStream:", - ); - bool _objc_msgSend_1078( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer> inputStream, - ffi.Pointer> outputStream, - ) { - return __objc_msgSend_1078(obj, sel, inputStream, outputStream); - } - - late final __objc_msgSend_1078Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_1078 = __objc_msgSend_1078Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer>, - )>(); - - late final _sel_setTXTRecordData_1 = objc.registerName("setTXTRecordData:"); - bool _objc_msgSend_1079( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer recordData, - ) { - return __objc_msgSend_1079(obj, sel, recordData); - } - - late final __objc_msgSend_1079Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1079 = __objc_msgSend_1079Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_TXTRecordData1 = objc.registerName("TXTRecordData"); - late final _sel_startMonitoring1 = objc.registerName("startMonitoring"); - late final _sel_stopMonitoring1 = objc.registerName("stopMonitoring"); - late final _sel_streamTaskWithNetService_1 = objc.registerName( - "streamTaskWithNetService:", - ); - ffi.Pointer _objc_msgSend_1080( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer service, - ) { - return __objc_msgSend_1080(obj, sel, service); - } - - late final __objc_msgSend_1080Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1080 = __objc_msgSend_1080Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _class_NSURLSessionWebSocketTask1 = objc.getClass( - "NSURLSessionWebSocketTask", - ); - late final _class_NSURLSessionWebSocketMessage1 = objc.getClass( - "NSURLSessionWebSocketMessage", - ); - int _objc_msgSend_1081( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_1081(obj, sel); - } - - late final __objc_msgSend_1081Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1081 = __objc_msgSend_1081Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_sendMessage_completionHandler_1 = objc.registerName( - "sendMessage:completionHandler:", - ); - void _objc_msgSend_1082( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer message, - ffi.Pointer completionHandler, - ) { - return __objc_msgSend_1082(obj, sel, message, completionHandler); - } - - late final __objc_msgSend_1082Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1082 = __objc_msgSend_1082Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_receiveMessageWithCompletionHandler_1 = objc.registerName( - "receiveMessageWithCompletionHandler:", - ); - void _objc_msgSend_1083( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer completionHandler, - ) { - return __objc_msgSend_1083(obj, sel, completionHandler); - } - - late final __objc_msgSend_1083Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1083 = __objc_msgSend_1083Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_sendPingWithPongReceiveHandler_1 = objc.registerName( - "sendPingWithPongReceiveHandler:", - ); - void _objc_msgSend_1084( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer pongReceiveHandler, - ) { - return __objc_msgSend_1084(obj, sel, pongReceiveHandler); - } - - late final __objc_msgSend_1084Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1084 = __objc_msgSend_1084Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_cancelWithCloseCode_reason_1 = objc.registerName( - "cancelWithCloseCode:reason:", - ); - void _objc_msgSend_1085( - ffi.Pointer obj, - ffi.Pointer sel, - int closeCode, - ffi.Pointer reason, - ) { - return __objc_msgSend_1085(obj, sel, closeCode, reason); - } - - late final __objc_msgSend_1085Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1085 = __objc_msgSend_1085Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - )>(); - - late final _sel_maximumMessageSize1 = objc.registerName("maximumMessageSize"); - late final _sel_setMaximumMessageSize_1 = objc.registerName( - "setMaximumMessageSize:", - ); - late final _sel_closeCode1 = objc.registerName("closeCode"); - int _objc_msgSend_1086( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_1086(obj, sel); - } - - late final __objc_msgSend_1086Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1086 = __objc_msgSend_1086Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_closeReason1 = objc.registerName("closeReason"); - late final _sel_webSocketTaskWithURL_1 = objc.registerName( - "webSocketTaskWithURL:", - ); - ffi.Pointer _objc_msgSend_1087( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, - ) { - return __objc_msgSend_1087(obj, sel, url); - } - - late final __objc_msgSend_1087Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1087 = __objc_msgSend_1087Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_webSocketTaskWithURL_protocols_1 = objc.registerName( - "webSocketTaskWithURL:protocols:", - ); - ffi.Pointer _objc_msgSend_1088( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, - ffi.Pointer protocols, - ) { - return __objc_msgSend_1088(obj, sel, url, protocols); - } - - late final __objc_msgSend_1088Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1088 = __objc_msgSend_1088Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_webSocketTaskWithRequest_1 = objc.registerName( - "webSocketTaskWithRequest:", - ); - ffi.Pointer _objc_msgSend_1089( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer request, - ) { - return __objc_msgSend_1089(obj, sel, request); - } - - late final __objc_msgSend_1089Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1089 = __objc_msgSend_1089Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_dataTaskWithRequest_completionHandler_1 = objc.registerName( - "dataTaskWithRequest:completionHandler:", - ); - ffi.Pointer _objc_msgSend_1090( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer request, - ffi.Pointer completionHandler, - ) { - return __objc_msgSend_1090(obj, sel, request, completionHandler); - } - - late final __objc_msgSend_1090Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1090 = __objc_msgSend_1090Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_dataTaskWithURL_completionHandler_1 = objc.registerName( - "dataTaskWithURL:completionHandler:", - ); - ffi.Pointer _objc_msgSend_1091( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, - ffi.Pointer completionHandler, - ) { - return __objc_msgSend_1091(obj, sel, url, completionHandler); - } - - late final __objc_msgSend_1091Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1091 = __objc_msgSend_1091Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_uploadTaskWithRequest_fromFile_completionHandler_1 = - objc.registerName("uploadTaskWithRequest:fromFile:completionHandler:"); - ffi.Pointer _objc_msgSend_1092( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer request, - ffi.Pointer fileURL, - ffi.Pointer completionHandler, - ) { - return __objc_msgSend_1092(obj, sel, request, fileURL, completionHandler); - } - - late final __objc_msgSend_1092Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1092 = __objc_msgSend_1092Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_uploadTaskWithRequest_fromData_completionHandler_1 = - objc.registerName("uploadTaskWithRequest:fromData:completionHandler:"); - ffi.Pointer _objc_msgSend_1093( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer request, - ffi.Pointer bodyData, - ffi.Pointer completionHandler, - ) { - return __objc_msgSend_1093(obj, sel, request, bodyData, completionHandler); - } - - late final __objc_msgSend_1093Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1093 = __objc_msgSend_1093Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_uploadTaskWithResumeData_completionHandler_1 = - objc.registerName("uploadTaskWithResumeData:completionHandler:"); - ffi.Pointer _objc_msgSend_1094( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer resumeData, - ffi.Pointer completionHandler, - ) { - return __objc_msgSend_1094(obj, sel, resumeData, completionHandler); - } - - late final __objc_msgSend_1094Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1094 = __objc_msgSend_1094Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_downloadTaskWithRequest_completionHandler_1 = - objc.registerName("downloadTaskWithRequest:completionHandler:"); - ffi.Pointer _objc_msgSend_1095( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer request, - ffi.Pointer completionHandler, - ) { - return __objc_msgSend_1095(obj, sel, request, completionHandler); - } - - late final __objc_msgSend_1095Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1095 = __objc_msgSend_1095Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_downloadTaskWithURL_completionHandler_1 = objc.registerName( - "downloadTaskWithURL:completionHandler:", - ); - ffi.Pointer _objc_msgSend_1096( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, - ffi.Pointer completionHandler, - ) { - return __objc_msgSend_1096(obj, sel, url, completionHandler); - } - - late final __objc_msgSend_1096Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1096 = __objc_msgSend_1096Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_downloadTaskWithResumeData_completionHandler_1 = - objc.registerName("downloadTaskWithResumeData:completionHandler:"); - ffi.Pointer _objc_msgSend_1097( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer resumeData, - ffi.Pointer completionHandler, - ) { - return __objc_msgSend_1097(obj, sel, resumeData, completionHandler); - } - - late final __objc_msgSend_1097Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1097 = __objc_msgSend_1097Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _class_NSProtocolChecker1 = objc.getClass("NSProtocolChecker"); - ffi.Pointer _objc_msgSend_1098( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_1098(obj, sel); - } - - late final __objc_msgSend_1098Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1098 = __objc_msgSend_1098Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - ffi.Pointer _objc_msgSend_1099( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_1099(obj, sel); - } - - late final __objc_msgSend_1099Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1099 = __objc_msgSend_1099Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_protocolCheckerWithTarget_protocol_1 = objc.registerName( - "protocolCheckerWithTarget:protocol:", - ); - instancetype _objc_msgSend_1100( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer anObject, - ffi.Pointer aProtocol, - ) { - return __objc_msgSend_1100(obj, sel, anObject, aProtocol); - } - - late final __objc_msgSend_1100Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1100 = __objc_msgSend_1100Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_initWithTarget_protocol_1 = objc.registerName( - "initWithTarget:protocol:", - ); - late final _class_NSTask1 = objc.getClass("NSTask"); - late final _sel_setExecutableURL_1 = objc.registerName("setExecutableURL:"); - late final _sel_setEnvironment_1 = objc.registerName("setEnvironment:"); - late final _sel_currentDirectoryURL1 = objc.registerName( - "currentDirectoryURL", - ); - late final _sel_setCurrentDirectoryURL_1 = objc.registerName( - "setCurrentDirectoryURL:", - ); - late final _sel_launchRequirementData1 = objc.registerName( - "launchRequirementData", - ); - late final _sel_setLaunchRequirementData_1 = objc.registerName( - "setLaunchRequirementData:", - ); - late final _sel_standardInput1 = objc.registerName("standardInput"); - late final _sel_setStandardInput_1 = objc.registerName("setStandardInput:"); - late final _sel_standardOutput1 = objc.registerName("standardOutput"); - late final _sel_setStandardOutput_1 = objc.registerName("setStandardOutput:"); - late final _sel_standardError1 = objc.registerName("standardError"); - late final _sel_setStandardError_1 = objc.registerName("setStandardError:"); - late final _sel_launchAndReturnError_1 = objc.registerName( - "launchAndReturnError:", - ); - late final _sel_interrupt1 = objc.registerName("interrupt"); - late final _sel_terminate1 = objc.registerName("terminate"); - late final _sel_isRunning1 = objc.registerName("isRunning"); - late final _sel_terminationStatus1 = objc.registerName("terminationStatus"); - late final _sel_terminationReason1 = objc.registerName("terminationReason"); - int _objc_msgSend_1101( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_1101(obj, sel); - } - - late final __objc_msgSend_1101Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1101 = __objc_msgSend_1101Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_terminationHandler1 = objc.registerName("terminationHandler"); - ffi.Pointer _objc_msgSend_1102( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_1102(obj, sel); - } - - late final __objc_msgSend_1102Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1102 = __objc_msgSend_1102Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_setTerminationHandler_1 = objc.registerName( - "setTerminationHandler:", - ); - void _objc_msgSend_1103( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, - ) { - return __objc_msgSend_1103(obj, sel, value); - } - - late final __objc_msgSend_1103Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1103 = __objc_msgSend_1103Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_launchedTaskWithExecutableURL_arguments_error_terminationHandler_1 = - objc.registerName( - "launchedTaskWithExecutableURL:arguments:error:terminationHandler:", - ); - ffi.Pointer _objc_msgSend_1104( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, - ffi.Pointer arguments, - ffi.Pointer> error, - ffi.Pointer terminationHandler, - ) { - return __objc_msgSend_1104( - obj, - sel, - url, - arguments, - error, - terminationHandler, - ); - } - - late final __objc_msgSend_1104Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1104 = __objc_msgSend_1104Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer, - )>(); - - late final _sel_waitUntilExit1 = objc.registerName("waitUntilExit"); - late final _sel_launchPath1 = objc.registerName("launchPath"); - late final _sel_setLaunchPath_1 = objc.registerName("setLaunchPath:"); - late final _sel_setCurrentDirectoryPath_1 = objc.registerName( - "setCurrentDirectoryPath:", - ); - late final _sel_launch1 = objc.registerName("launch"); - late final _sel_launchedTaskWithLaunchPath_arguments_1 = objc.registerName( - "launchedTaskWithLaunchPath:arguments:", - ); - ffi.Pointer _objc_msgSend_1105( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, - ffi.Pointer arguments, - ) { - return __objc_msgSend_1105(obj, sel, path, arguments); - } - - late final __objc_msgSend_1105Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1105 = __objc_msgSend_1105Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _class_NSXMLElement1 = objc.getClass("NSXMLElement"); - late final _class_NSXMLNode1 = objc.getClass("NSXMLNode"); - late final _sel_initWithKind_1 = objc.registerName("initWithKind:"); - instancetype _objc_msgSend_1106( - ffi.Pointer obj, - ffi.Pointer sel, - int kind, - ) { - return __objc_msgSend_1106(obj, sel, kind); - } - - late final __objc_msgSend_1106Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - )>>('objc_msgSend'); - late final __objc_msgSend_1106 = __objc_msgSend_1106Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_initWithKind_options_1 = objc.registerName( - "initWithKind:options:", - ); - instancetype _objc_msgSend_1107( - ffi.Pointer obj, - ffi.Pointer sel, - int kind, - int options, - ) { - return __objc_msgSend_1107(obj, sel, kind, options); - } - - late final __objc_msgSend_1107Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Int32, - )>>('objc_msgSend'); - late final __objc_msgSend_1107 = __objc_msgSend_1107Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - int, - int, - )>(); - - late final _sel_document1 = objc.registerName("document"); - late final _sel_documentWithRootElement_1 = objc.registerName( - "documentWithRootElement:", - ); - ffi.Pointer _objc_msgSend_1108( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer element, - ) { - return __objc_msgSend_1108(obj, sel, element); - } - - late final __objc_msgSend_1108Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1108 = __objc_msgSend_1108Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_elementWithName_1 = objc.registerName("elementWithName:"); - late final _sel_elementWithName_URI_1 = objc.registerName( - "elementWithName:URI:", - ); - ffi.Pointer _objc_msgSend_1109( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer name, - ffi.Pointer URI, - ) { - return __objc_msgSend_1109(obj, sel, name, URI); - } - - late final __objc_msgSend_1109Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1109 = __objc_msgSend_1109Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_elementWithName_stringValue_1 = objc.registerName( - "elementWithName:stringValue:", - ); - late final _sel_elementWithName_children_attributes_1 = objc.registerName( - "elementWithName:children:attributes:", - ); - ffi.Pointer _objc_msgSend_1110( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer name, - ffi.Pointer children, - ffi.Pointer attributes, - ) { - return __objc_msgSend_1110(obj, sel, name, children, attributes); - } - - late final __objc_msgSend_1110Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1110 = __objc_msgSend_1110Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_attributeWithName_stringValue_1 = objc.registerName( - "attributeWithName:stringValue:", - ); - late final _sel_attributeWithName_URI_stringValue_1 = objc.registerName( - "attributeWithName:URI:stringValue:", - ); - late final _sel_namespaceWithName_stringValue_1 = objc.registerName( - "namespaceWithName:stringValue:", - ); - late final _sel_processingInstructionWithName_stringValue_1 = - objc.registerName("processingInstructionWithName:stringValue:"); - late final _sel_commentWithStringValue_1 = objc.registerName( - "commentWithStringValue:", - ); - late final _sel_textWithStringValue_1 = objc.registerName( - "textWithStringValue:", - ); - late final _sel_DTDNodeWithXMLString_1 = objc.registerName( - "DTDNodeWithXMLString:", - ); - int _objc_msgSend_1111( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_1111(obj, sel); - } - - late final __objc_msgSend_1111Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1111 = __objc_msgSend_1111Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_objectValue1 = objc.registerName("objectValue"); - late final _sel_setObjectValue_1 = objc.registerName("setObjectValue:"); - late final _sel_setStringValue_1 = objc.registerName("setStringValue:"); - late final _sel_setStringValue_resolvingEntities_1 = objc.registerName( - "setStringValue:resolvingEntities:", - ); - void _objc_msgSend_1112( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer string, - bool resolve, - ) { - return __objc_msgSend_1112(obj, sel, string, resolve); - } - - late final __objc_msgSend_1112Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - )>>('objc_msgSend'); - late final __objc_msgSend_1112 = __objc_msgSend_1112Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - )>(); - - late final _sel_index1 = objc.registerName("index"); - late final _sel_level1 = objc.registerName("level"); - late final _class_NSXMLDocument1 = objc.getClass("NSXMLDocument"); - late final _sel_initWithXMLString_options_error_1 = objc.registerName( - "initWithXMLString:options:error:", - ); - instancetype _objc_msgSend_1113( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer string, - int mask, - ffi.Pointer> error, - ) { - return __objc_msgSend_1113(obj, sel, string, mask, error); - } - - late final __objc_msgSend_1113Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_1113 = __objc_msgSend_1113Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>, - )>(); - - instancetype _objc_msgSend_1114( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, - int mask, - ffi.Pointer> error, - ) { - return __objc_msgSend_1114(obj, sel, url, mask, error); - } - - late final __objc_msgSend_1114Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_1114 = __objc_msgSend_1114Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>, - )>(); - - late final _sel_initWithData_options_error_1 = objc.registerName( - "initWithData:options:error:", - ); - instancetype _objc_msgSend_1115( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer data, - int mask, - ffi.Pointer> error, - ) { - return __objc_msgSend_1115(obj, sel, data, mask, error); - } - - late final __objc_msgSend_1115Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_1115 = __objc_msgSend_1115Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>, - )>(); - - late final _sel_initWithRootElement_1 = objc.registerName( - "initWithRootElement:", - ); - instancetype _objc_msgSend_1116( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer element, - ) { - return __objc_msgSend_1116(obj, sel, element); - } - - late final __objc_msgSend_1116Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1116 = __objc_msgSend_1116Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_replacementClassForClass_1 = objc.registerName( - "replacementClassForClass:", - ); - late final _sel_characterEncoding1 = objc.registerName("characterEncoding"); - late final _sel_setCharacterEncoding_1 = objc.registerName( - "setCharacterEncoding:", - ); - late final _sel_isStandalone1 = objc.registerName("isStandalone"); - late final _sel_setStandalone_1 = objc.registerName("setStandalone:"); - late final _sel_documentContentKind1 = objc.registerName( - "documentContentKind", - ); - int _objc_msgSend_1117( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_1117(obj, sel); - } - - late final __objc_msgSend_1117Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1117 = __objc_msgSend_1117Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_setDocumentContentKind_1 = objc.registerName( - "setDocumentContentKind:", - ); - void _objc_msgSend_1118( - ffi.Pointer obj, - ffi.Pointer sel, - int value, - ) { - return __objc_msgSend_1118(obj, sel, value); - } - - late final __objc_msgSend_1118Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - )>>('objc_msgSend'); - late final __objc_msgSend_1118 = __objc_msgSend_1118Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_setMIMEType_1 = objc.registerName("setMIMEType:"); - late final _class_NSXMLDTD1 = objc.getClass("NSXMLDTD"); - late final _sel_setPublicID_1 = objc.registerName("setPublicID:"); - late final _sel_setSystemID_1 = objc.registerName("setSystemID:"); - late final _sel_insertChild_atIndex_1 = objc.registerName( - "insertChild:atIndex:", - ); - void _objc_msgSend_1119( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer child, - int index, - ) { - return __objc_msgSend_1119(obj, sel, child, index); - } - - late final __objc_msgSend_1119Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - )>>('objc_msgSend'); - late final __objc_msgSend_1119 = __objc_msgSend_1119Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_insertChildren_atIndex_1 = objc.registerName( - "insertChildren:atIndex:", - ); - void _objc_msgSend_1120( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer children, - int index, - ) { - return __objc_msgSend_1120(obj, sel, children, index); - } - - late final __objc_msgSend_1120Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - )>>('objc_msgSend'); - late final __objc_msgSend_1120 = __objc_msgSend_1120Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_removeChildAtIndex_1 = objc.registerName( - "removeChildAtIndex:", - ); - late final _sel_setChildren_1 = objc.registerName("setChildren:"); - late final _sel_addChild_1 = objc.registerName("addChild:"); - void _objc_msgSend_1121( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer child, - ) { - return __objc_msgSend_1121(obj, sel, child); - } - - late final __objc_msgSend_1121Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1121 = __objc_msgSend_1121Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_replaceChildAtIndex_withNode_1 = objc.registerName( - "replaceChildAtIndex:withNode:", - ); - void _objc_msgSend_1122( - ffi.Pointer obj, - ffi.Pointer sel, - int index, - ffi.Pointer node, - ) { - return __objc_msgSend_1122(obj, sel, index, node); - } - - late final __objc_msgSend_1122Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1122 = __objc_msgSend_1122Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - )>(); - - late final _class_NSXMLDTDNode1 = objc.getClass("NSXMLDTDNode"); - late final _sel_initWithXMLString_1 = objc.registerName("initWithXMLString:"); - late final _sel_DTDKind1 = objc.registerName("DTDKind"); - int _objc_msgSend_1123( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_1123(obj, sel); - } - - late final __objc_msgSend_1123Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1123 = __objc_msgSend_1123Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_setDTDKind_1 = objc.registerName("setDTDKind:"); - void _objc_msgSend_1124( - ffi.Pointer obj, - ffi.Pointer sel, - int value, - ) { - return __objc_msgSend_1124(obj, sel, value); - } - - late final __objc_msgSend_1124Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - )>>('objc_msgSend'); - late final __objc_msgSend_1124 = __objc_msgSend_1124Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_isExternal1 = objc.registerName("isExternal"); - late final _sel_notationName1 = objc.registerName("notationName"); - late final _sel_setNotationName_1 = objc.registerName("setNotationName:"); - late final _sel_localNameForName_1 = objc.registerName("localNameForName:"); - late final _sel_prefixForName_1 = objc.registerName("prefixForName:"); - late final _sel_predefinedNamespaceForPrefix_1 = objc.registerName( - "predefinedNamespaceForPrefix:", - ); - ffi.Pointer _objc_msgSend_1125( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer name, - ) { - return __objc_msgSend_1125(obj, sel, name); - } - - late final __objc_msgSend_1125Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1125 = __objc_msgSend_1125Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_entityDeclarationForName_1 = objc.registerName( - "entityDeclarationForName:", - ); - ffi.Pointer _objc_msgSend_1126( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer name, - ) { - return __objc_msgSend_1126(obj, sel, name); - } - - late final __objc_msgSend_1126Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1126 = __objc_msgSend_1126Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_notationDeclarationForName_1 = objc.registerName( - "notationDeclarationForName:", - ); - late final _sel_elementDeclarationForName_1 = objc.registerName( - "elementDeclarationForName:", - ); - late final _sel_attributeDeclarationForName_elementName_1 = objc.registerName( - "attributeDeclarationForName:elementName:", - ); - ffi.Pointer _objc_msgSend_1127( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer name, - ffi.Pointer elementName, - ) { - return __objc_msgSend_1127(obj, sel, name, elementName); - } - - late final __objc_msgSend_1127Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1127 = __objc_msgSend_1127Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_predefinedEntityDeclarationForName_1 = objc.registerName( - "predefinedEntityDeclarationForName:", - ); - late final _sel_DTD1 = objc.registerName("DTD"); - ffi.Pointer _objc_msgSend_1128( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_1128(obj, sel); - } - - late final __objc_msgSend_1128Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1128 = __objc_msgSend_1128Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_setDTD_1 = objc.registerName("setDTD:"); - void _objc_msgSend_1129( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, - ) { - return __objc_msgSend_1129(obj, sel, value); - } - - late final __objc_msgSend_1129Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1129 = __objc_msgSend_1129Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_setRootElement_1 = objc.registerName("setRootElement:"); - void _objc_msgSend_1130( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer root, - ) { - return __objc_msgSend_1130(obj, sel, root); - } - - late final __objc_msgSend_1130Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1130 = __objc_msgSend_1130Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_rootElement1 = objc.registerName("rootElement"); - ffi.Pointer _objc_msgSend_1131( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_1131(obj, sel); - } - - late final __objc_msgSend_1131Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1131 = __objc_msgSend_1131Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_XMLData1 = objc.registerName("XMLData"); - late final _sel_XMLDataWithOptions_1 = objc.registerName( - "XMLDataWithOptions:", - ); - ffi.Pointer _objc_msgSend_1132( - ffi.Pointer obj, - ffi.Pointer sel, - int options, - ) { - return __objc_msgSend_1132(obj, sel, options); - } - - late final __objc_msgSend_1132Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - )>>('objc_msgSend'); - late final __objc_msgSend_1132 = __objc_msgSend_1132Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_objectByApplyingXSLT_arguments_error_1 = objc.registerName( - "objectByApplyingXSLT:arguments:error:", - ); - ffi.Pointer _objc_msgSend_1133( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer xslt, - ffi.Pointer arguments, - ffi.Pointer> error, - ) { - return __objc_msgSend_1133(obj, sel, xslt, arguments, error); - } - - late final __objc_msgSend_1133Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_1133 = __objc_msgSend_1133Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>(); - - late final _sel_objectByApplyingXSLTString_arguments_error_1 = - objc.registerName("objectByApplyingXSLTString:arguments:error:"); - ffi.Pointer _objc_msgSend_1134( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer xslt, - ffi.Pointer arguments, - ffi.Pointer> error, - ) { - return __objc_msgSend_1134(obj, sel, xslt, arguments, error); - } - - late final __objc_msgSend_1134Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_1134 = __objc_msgSend_1134Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>(); - - late final _sel_objectByApplyingXSLTAtURL_arguments_error_1 = - objc.registerName("objectByApplyingXSLTAtURL:arguments:error:"); - ffi.Pointer _objc_msgSend_1135( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer xsltURL, - ffi.Pointer argument, - ffi.Pointer> error, - ) { - return __objc_msgSend_1135(obj, sel, xsltURL, argument, error); - } - - late final __objc_msgSend_1135Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_1135 = __objc_msgSend_1135Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>(); - - late final _sel_validateAndReturnError_1 = objc.registerName( - "validateAndReturnError:", - ); - late final _sel_rootDocument1 = objc.registerName("rootDocument"); - ffi.Pointer _objc_msgSend_1136( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_1136(obj, sel); - } - - late final __objc_msgSend_1136Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1136 = __objc_msgSend_1136Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_parent1 = objc.registerName("parent"); - ffi.Pointer _objc_msgSend_1137( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_1137(obj, sel); - } - - late final __objc_msgSend_1137Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1137 = __objc_msgSend_1137Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_childCount1 = objc.registerName("childCount"); - late final _sel_children1 = objc.registerName("children"); - late final _sel_childAtIndex_1 = objc.registerName("childAtIndex:"); - ffi.Pointer _objc_msgSend_1138( - ffi.Pointer obj, - ffi.Pointer sel, - int index, - ) { - return __objc_msgSend_1138(obj, sel, index); - } - - late final __objc_msgSend_1138Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - )>>('objc_msgSend'); - late final __objc_msgSend_1138 = __objc_msgSend_1138Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_previousSibling1 = objc.registerName("previousSibling"); - late final _sel_nextSibling1 = objc.registerName("nextSibling"); - late final _sel_previousNode1 = objc.registerName("previousNode"); - late final _sel_nextNode1 = objc.registerName("nextNode"); - late final _sel_detach1 = objc.registerName("detach"); - late final _sel_XPath1 = objc.registerName("XPath"); - late final _sel_localName1 = objc.registerName("localName"); - late final _sel_prefix1 = objc.registerName("prefix"); - late final _sel_URI1 = objc.registerName("URI"); - late final _sel_setURI_1 = objc.registerName("setURI:"); - late final _sel_XMLString1 = objc.registerName("XMLString"); - late final _sel_XMLStringWithOptions_1 = objc.registerName( - "XMLStringWithOptions:", - ); - ffi.Pointer _objc_msgSend_1139( - ffi.Pointer obj, - ffi.Pointer sel, - int options, - ) { - return __objc_msgSend_1139(obj, sel, options); - } - - late final __objc_msgSend_1139Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - )>>('objc_msgSend'); - late final __objc_msgSend_1139 = __objc_msgSend_1139Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_canonicalXMLStringPreservingComments_1 = objc.registerName( - "canonicalXMLStringPreservingComments:", - ); - ffi.Pointer _objc_msgSend_1140( - ffi.Pointer obj, - ffi.Pointer sel, - bool comments, - ) { - return __objc_msgSend_1140(obj, sel, comments); - } - - late final __objc_msgSend_1140Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - )>>('objc_msgSend'); - late final __objc_msgSend_1140 = __objc_msgSend_1140Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - bool, - )>(); - - late final _sel_nodesForXPath_error_1 = objc.registerName( - "nodesForXPath:error:", - ); - late final _sel_objectsForXQuery_constants_error_1 = objc.registerName( - "objectsForXQuery:constants:error:", - ); - ffi.Pointer _objc_msgSend_1141( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer xquery, - ffi.Pointer constants, - ffi.Pointer> error, - ) { - return __objc_msgSend_1141(obj, sel, xquery, constants, error); - } - - late final __objc_msgSend_1141Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_1141 = __objc_msgSend_1141Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>(); - - late final _sel_objectsForXQuery_error_1 = objc.registerName( - "objectsForXQuery:error:", - ); - late final _sel_initWithName_URI_1 = objc.registerName("initWithName:URI:"); - instancetype _objc_msgSend_1142( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer name, - ffi.Pointer URI, - ) { - return __objc_msgSend_1142(obj, sel, name, URI); - } - - late final __objc_msgSend_1142Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1142 = __objc_msgSend_1142Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_initWithName_stringValue_1 = objc.registerName( - "initWithName:stringValue:", - ); - late final _sel_initWithXMLString_error_1 = objc.registerName( - "initWithXMLString:error:", - ); - late final _sel_elementsForName_1 = objc.registerName("elementsForName:"); - late final _sel_elementsForLocalName_URI_1 = objc.registerName( - "elementsForLocalName:URI:", - ); - ffi.Pointer _objc_msgSend_1143( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer localName, - ffi.Pointer URI, - ) { - return __objc_msgSend_1143(obj, sel, localName, URI); - } - - late final __objc_msgSend_1143Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1143 = __objc_msgSend_1143Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_addAttribute_1 = objc.registerName("addAttribute:"); - late final _sel_removeAttributeForName_1 = objc.registerName( - "removeAttributeForName:", - ); - late final _sel_attributes1 = objc.registerName("attributes"); - late final _sel_setAttributes_1 = objc.registerName("setAttributes:"); - late final _sel_setAttributesWithDictionary_1 = objc.registerName( - "setAttributesWithDictionary:", - ); - late final _sel_attributeForName_1 = objc.registerName("attributeForName:"); - late final _sel_attributeForLocalName_URI_1 = objc.registerName( - "attributeForLocalName:URI:", - ); - ffi.Pointer _objc_msgSend_1144( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer localName, - ffi.Pointer URI, - ) { - return __objc_msgSend_1144(obj, sel, localName, URI); - } - - late final __objc_msgSend_1144Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1144 = __objc_msgSend_1144Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_addNamespace_1 = objc.registerName("addNamespace:"); - late final _sel_removeNamespaceForPrefix_1 = objc.registerName( - "removeNamespaceForPrefix:", - ); - late final _sel_namespaces1 = objc.registerName("namespaces"); - late final _sel_setNamespaces_1 = objc.registerName("setNamespaces:"); - late final _sel_namespaceForPrefix_1 = objc.registerName( - "namespaceForPrefix:", - ); - late final _sel_resolveNamespaceForName_1 = objc.registerName( - "resolveNamespaceForName:", - ); - late final _sel_resolvePrefixForNamespaceURI_1 = objc.registerName( - "resolvePrefixForNamespaceURI:", - ); - late final _sel_normalizeAdjacentTextNodesPreservingCDATA_1 = - objc.registerName("normalizeAdjacentTextNodesPreservingCDATA:"); - late final _sel_setAttributesAsDictionary_1 = objc.registerName( - "setAttributesAsDictionary:", - ); - late final _class_AVAudioSession1 = objc.getClass("AVAudioSession"); - late final _sel_sharedInstance1 = objc.registerName("sharedInstance"); - ffi.Pointer _objc_msgSend_1145( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_1145(obj, sel); - } - - late final __objc_msgSend_1145Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1145 = __objc_msgSend_1145Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_availableCategories1 = objc.registerName( - "availableCategories", - ); - late final _sel_setCategory_error_1 = objc.registerName("setCategory:error:"); - late final _sel_setCategory_withOptions_error_1 = objc.registerName( - "setCategory:withOptions:error:", - ); - bool _objc_msgSend_1146( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer category, - int options, - ffi.Pointer> outError, - ) { - return __objc_msgSend_1146(obj, sel, category, options, outError); - } - - late final __objc_msgSend_1146Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_1146 = __objc_msgSend_1146Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>, - )>(); - - late final _sel_setCategory_mode_options_error_1 = objc.registerName( - "setCategory:mode:options:error:", - ); - bool _objc_msgSend_1147( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer category, - ffi.Pointer mode, - int options, - ffi.Pointer> outError, - ) { - return __objc_msgSend_1147(obj, sel, category, mode, options, outError); - } - - late final __objc_msgSend_1147Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_1147 = __objc_msgSend_1147Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>, - )>(); - - late final _sel_setCategory_mode_routeSharingPolicy_options_error_1 = - objc.registerName("setCategory:mode:routeSharingPolicy:options:error:"); - bool _objc_msgSend_1148( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer category, - ffi.Pointer mode, - int policy, - int options, - ffi.Pointer> outError, - ) { - return __objc_msgSend_1148( - obj, - sel, - category, - mode, - policy, - options, - outError, - ); - } - - late final __objc_msgSend_1148Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Int32, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_1148 = __objc_msgSend_1148Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - int, - ffi.Pointer>, - )>(); - - late final _sel_category1 = objc.registerName("category"); - late final _sel_categoryOptions1 = objc.registerName("categoryOptions"); - int _objc_msgSend_1149( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_1149(obj, sel); - } - - late final __objc_msgSend_1149Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1149 = __objc_msgSend_1149Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_routeSharingPolicy1 = objc.registerName("routeSharingPolicy"); - int _objc_msgSend_1150( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_1150(obj, sel); - } - - late final __objc_msgSend_1150Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1150 = __objc_msgSend_1150Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_availableModes1 = objc.registerName("availableModes"); - late final _sel_setMode_error_1 = objc.registerName("setMode:error:"); - late final _sel_mode1 = objc.registerName("mode"); - late final _sel_setAllowHapticsAndSystemSoundsDuringRecording_error_1 = - objc.registerName("setAllowHapticsAndSystemSoundsDuringRecording:error:"); - bool _objc_msgSend_1151( - ffi.Pointer obj, - ffi.Pointer sel, - bool inValue, - ffi.Pointer> outError, - ) { - return __objc_msgSend_1151(obj, sel, inValue, outError); - } - - late final __objc_msgSend_1151Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_1151 = __objc_msgSend_1151Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - bool, - ffi.Pointer>, - )>(); - - late final _sel_allowHapticsAndSystemSoundsDuringRecording1 = - objc.registerName("allowHapticsAndSystemSoundsDuringRecording"); - late final _sel_recordPermission1 = objc.registerName("recordPermission"); - int _objc_msgSend_1152( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_1152(obj, sel); - } - - late final __objc_msgSend_1152Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1152 = __objc_msgSend_1152Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_requestRecordPermission_1 = objc.registerName( - "requestRecordPermission:", - ); - void _objc_msgSend_1153( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer response, - ) { - return __objc_msgSend_1153(obj, sel, response); - } - - late final __objc_msgSend_1153Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1153 = __objc_msgSend_1153Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_overrideOutputAudioPort_error_1 = objc.registerName( - "overrideOutputAudioPort:error:", - ); - bool _objc_msgSend_1154( - ffi.Pointer obj, - ffi.Pointer sel, - int portOverride, - ffi.Pointer> outError, - ) { - return __objc_msgSend_1154(obj, sel, portOverride, outError); - } - - late final __objc_msgSend_1154Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_1154 = __objc_msgSend_1154Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>, - )>(); - - late final _class_AVAudioSessionPortDescription1 = objc.getClass( - "AVAudioSessionPortDescription", - ); - late final _sel_portType1 = objc.registerName("portType"); - late final _sel_portName1 = objc.registerName("portName"); - late final _sel_UID1 = objc.registerName("UID"); - late final _sel_hasHardwareVoiceCallProcessing1 = objc.registerName( - "hasHardwareVoiceCallProcessing", - ); - late final _sel_isSpatialAudioEnabled1 = objc.registerName( - "isSpatialAudioEnabled", - ); - late final _sel_channels1 = objc.registerName("channels"); - late final _sel_dataSources1 = objc.registerName("dataSources"); - late final _class_AVAudioSessionDataSourceDescription1 = objc.getClass( - "AVAudioSessionDataSourceDescription", - ); - late final _sel_dataSourceID1 = objc.registerName("dataSourceID"); - late final _sel_dataSourceName1 = objc.registerName("dataSourceName"); - late final _sel_location1 = objc.registerName("location"); - late final _sel_orientation1 = objc.registerName("orientation"); - late final _sel_supportedPolarPatterns1 = objc.registerName( - "supportedPolarPatterns", - ); - late final _sel_selectedPolarPattern1 = objc.registerName( - "selectedPolarPattern", - ); - late final _sel_preferredPolarPattern1 = objc.registerName( - "preferredPolarPattern", - ); - late final _sel_setPreferredPolarPattern_error_1 = objc.registerName( - "setPreferredPolarPattern:error:", - ); - bool _objc_msgSend_1155( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer pattern, - ffi.Pointer> outError, - ) { - return __objc_msgSend_1155(obj, sel, pattern, outError); - } - - late final __objc_msgSend_1155Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_1155 = __objc_msgSend_1155Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>(); - - late final _sel_selectedDataSource1 = objc.registerName("selectedDataSource"); - ffi.Pointer _objc_msgSend_1156( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_1156(obj, sel); - } - - late final __objc_msgSend_1156Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1156 = __objc_msgSend_1156Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_preferredDataSource1 = objc.registerName( - "preferredDataSource", - ); - late final _sel_setPreferredDataSource_error_1 = objc.registerName( - "setPreferredDataSource:error:", - ); - bool _objc_msgSend_1157( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer dataSource, - ffi.Pointer> outError, - ) { - return __objc_msgSend_1157(obj, sel, dataSource, outError); - } - - late final __objc_msgSend_1157Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_1157 = __objc_msgSend_1157Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>(); - - late final _sel_setPreferredInput_error_1 = objc.registerName( - "setPreferredInput:error:", - ); - bool _objc_msgSend_1158( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer inPort, - ffi.Pointer> outError, - ) { - return __objc_msgSend_1158(obj, sel, inPort, outError); - } - - late final __objc_msgSend_1158Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_1158 = __objc_msgSend_1158Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>(); - - late final _sel_preferredInput1 = objc.registerName("preferredInput"); - ffi.Pointer _objc_msgSend_1159( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_1159(obj, sel); - } - - late final __objc_msgSend_1159Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1159 = __objc_msgSend_1159Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_setPrefersNoInterruptionsFromSystemAlerts_error_1 = - objc.registerName("setPrefersNoInterruptionsFromSystemAlerts:error:"); - late final _sel_prefersNoInterruptionsFromSystemAlerts1 = objc.registerName( - "prefersNoInterruptionsFromSystemAlerts", - ); - late final _sel_renderingMode1 = objc.registerName("renderingMode"); - int _objc_msgSend_1160( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_1160(obj, sel); - } - - late final __objc_msgSend_1160Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1160 = __objc_msgSend_1160Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_setActive_error_1 = objc.registerName("setActive:error:"); - late final _sel_setActive_withOptions_error_1 = objc.registerName( - "setActive:withOptions:error:", - ); - bool _objc_msgSend_1161( - ffi.Pointer obj, - ffi.Pointer sel, - bool active, - int options, - ffi.Pointer> outError, - ) { - return __objc_msgSend_1161(obj, sel, active, options, outError); - } - - late final __objc_msgSend_1161Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - ffi.Int32, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_1161 = __objc_msgSend_1161Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - bool, - int, - ffi.Pointer>, - )>(); - - late final _sel_activateWithOptions_completionHandler_1 = objc.registerName( - "activateWithOptions:completionHandler:", - ); - void _objc_msgSend_1162( - ffi.Pointer obj, - ffi.Pointer sel, - int options, - ffi.Pointer handler, - ) { - return __objc_msgSend_1162(obj, sel, options, handler); - } - - late final __objc_msgSend_1162Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1162 = __objc_msgSend_1162Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - )>(); - - late final _sel_setPreferredSampleRate_error_1 = objc.registerName( - "setPreferredSampleRate:error:", - ); - bool _objc_msgSend_1163( - ffi.Pointer obj, - ffi.Pointer sel, - double sampleRate, - ffi.Pointer> outError, - ) { - return __objc_msgSend_1163(obj, sel, sampleRate, outError); - } - - late final __objc_msgSend_1163Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Double, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_1163 = __objc_msgSend_1163Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - double, - ffi.Pointer>, - )>(); - - late final _sel_preferredSampleRate1 = objc.registerName( - "preferredSampleRate", - ); - late final _sel_setPreferredIOBufferDuration_error_1 = objc.registerName( - "setPreferredIOBufferDuration:error:", - ); - late final _sel_preferredIOBufferDuration1 = objc.registerName( - "preferredIOBufferDuration", - ); - late final _sel_setPreferredInputNumberOfChannels_error_1 = objc.registerName( - "setPreferredInputNumberOfChannels:error:", - ); - bool _objc_msgSend_1164( - ffi.Pointer obj, - ffi.Pointer sel, - int count, - ffi.Pointer> outError, - ) { - return __objc_msgSend_1164(obj, sel, count, outError); - } - - late final __objc_msgSend_1164Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Long, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_1164 = __objc_msgSend_1164Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>, - )>(); - - late final _sel_preferredInputNumberOfChannels1 = objc.registerName( - "preferredInputNumberOfChannels", - ); - late final _sel_setPreferredOutputNumberOfChannels_error_1 = - objc.registerName("setPreferredOutputNumberOfChannels:error:"); - late final _sel_preferredOutputNumberOfChannels1 = objc.registerName( - "preferredOutputNumberOfChannels", - ); - late final _sel_setPreferredInputOrientation_error_1 = objc.registerName( - "setPreferredInputOrientation:error:", - ); - bool _objc_msgSend_1165( - ffi.Pointer obj, - ffi.Pointer sel, - int orientation, - ffi.Pointer> outError, - ) { - return __objc_msgSend_1165(obj, sel, orientation, outError); - } - - late final __objc_msgSend_1165Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_1165 = __objc_msgSend_1165Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>, - )>(); - - late final _sel_preferredInputOrientation1 = objc.registerName( - "preferredInputOrientation", - ); - int _objc_msgSend_1166( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_1166(obj, sel); - } - - late final __objc_msgSend_1166Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1166 = __objc_msgSend_1166Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_inputOrientation1 = objc.registerName("inputOrientation"); - late final _sel_maximumInputNumberOfChannels1 = objc.registerName( - "maximumInputNumberOfChannels", - ); - late final _sel_maximumOutputNumberOfChannels1 = objc.registerName( - "maximumOutputNumberOfChannels", - ); - late final _sel_setInputGain_error_1 = objc.registerName( - "setInputGain:error:", - ); - bool _objc_msgSend_1167( - ffi.Pointer obj, - ffi.Pointer sel, - double gain, - ffi.Pointer> outError, - ) { - return __objc_msgSend_1167(obj, sel, gain, outError); - } - - late final __objc_msgSend_1167Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Float, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_1167 = __objc_msgSend_1167Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - double, - ffi.Pointer>, - )>(); - - late final _sel_inputGain1 = objc.registerName("inputGain"); - late final _sel_isInputGainSettable1 = objc.registerName( - "isInputGainSettable", - ); - late final _sel_isInputAvailable1 = objc.registerName("isInputAvailable"); - late final _sel_inputDataSources1 = objc.registerName("inputDataSources"); - late final _sel_inputDataSource1 = objc.registerName("inputDataSource"); - late final _sel_setInputDataSource_error_1 = objc.registerName( - "setInputDataSource:error:", - ); - late final _sel_outputDataSources1 = objc.registerName("outputDataSources"); - late final _sel_outputDataSource1 = objc.registerName("outputDataSource"); - late final _sel_setOutputDataSource_error_1 = objc.registerName( - "setOutputDataSource:error:", - ); - late final _sel_sampleRate1 = objc.registerName("sampleRate"); - late final _sel_inputNumberOfChannels1 = objc.registerName( - "inputNumberOfChannels", - ); - late final _sel_outputNumberOfChannels1 = objc.registerName( - "outputNumberOfChannels", - ); - late final _sel_inputLatency1 = objc.registerName("inputLatency"); - late final _sel_outputLatency1 = objc.registerName("outputLatency"); - late final _sel_IOBufferDuration1 = objc.registerName("IOBufferDuration"); - late final _sel_supportedOutputChannelLayouts1 = objc.registerName( - "supportedOutputChannelLayouts", - ); - late final _sel_isOtherAudioPlaying1 = objc.registerName( - "isOtherAudioPlaying", - ); - late final _sel_secondaryAudioShouldBeSilencedHint1 = objc.registerName( - "secondaryAudioShouldBeSilencedHint", - ); - late final _sel_outputVolume1 = objc.registerName("outputVolume"); - late final _sel_promptStyle1 = objc.registerName("promptStyle"); - int _objc_msgSend_1168( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_1168(obj, sel); - } - - late final __objc_msgSend_1168Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1168 = __objc_msgSend_1168Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_availableInputs1 = objc.registerName("availableInputs"); - late final _class_AVAudioSessionRouteDescription1 = objc.getClass( - "AVAudioSessionRouteDescription", - ); - late final _sel_inputs1 = objc.registerName("inputs"); - late final _sel_outputs1 = objc.registerName("outputs"); - late final _sel_currentRoute1 = objc.registerName("currentRoute"); - ffi.Pointer _objc_msgSend_1169( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_1169(obj, sel); - } - - late final __objc_msgSend_1169Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1169 = __objc_msgSend_1169Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_setAggregatedIOPreference_error_1 = objc.registerName( - "setAggregatedIOPreference:error:", - ); - bool _objc_msgSend_1170( - ffi.Pointer obj, - ffi.Pointer sel, - int inIOType, - ffi.Pointer> outError, - ) { - return __objc_msgSend_1170(obj, sel, inIOType, outError); - } - - late final __objc_msgSend_1170Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_1170 = __objc_msgSend_1170Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>, - )>(); - - late final _sel_setSupportsMultichannelContent_error_1 = objc.registerName( - "setSupportsMultichannelContent:error:", - ); - late final _sel_supportsMultichannelContent1 = objc.registerName( - "supportsMultichannelContent", - ); - late final _sel_setPrefersInterruptionOnRouteDisconnect_error_1 = - objc.registerName("setPrefersInterruptionOnRouteDisconnect:error:"); - late final _sel_prefersInterruptionOnRouteDisconnect1 = objc.registerName( - "prefersInterruptionOnRouteDisconnect", - ); - late final _sel_setActive_withFlags_error_1 = objc.registerName( - "setActive:withFlags:error:", - ); - bool _objc_msgSend_1171( - ffi.Pointer obj, - ffi.Pointer sel, - bool active, - int flags, - ffi.Pointer> outError, - ) { - return __objc_msgSend_1171(obj, sel, active, flags, outError); - } - - late final __objc_msgSend_1171Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - ffi.Long, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_1171 = __objc_msgSend_1171Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - bool, - int, - ffi.Pointer>, - )>(); - - late final _sel_inputIsAvailable1 = objc.registerName("inputIsAvailable"); - late final _sel_currentHardwareSampleRate1 = objc.registerName( - "currentHardwareSampleRate", - ); - late final _sel_currentHardwareInputNumberOfChannels1 = objc.registerName( - "currentHardwareInputNumberOfChannels", - ); - late final _sel_currentHardwareOutputNumberOfChannels1 = objc.registerName( - "currentHardwareOutputNumberOfChannels", - ); - late final _sel_setPreferredHardwareSampleRate_error_1 = objc.registerName( - "setPreferredHardwareSampleRate:error:", - ); - late final _sel_preferredHardwareSampleRate1 = objc.registerName( - "preferredHardwareSampleRate", - ); - late final _class_AVAudioPlayer1 = objc.getClass("AVAudioPlayer"); - late final _sel_initWithData_error_1 = objc.registerName( - "initWithData:error:", - ); - instancetype _objc_msgSend_1172( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer data, - ffi.Pointer> outError, - ) { - return __objc_msgSend_1172(obj, sel, data, outError); - } - - late final __objc_msgSend_1172Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_1172 = __objc_msgSend_1172Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>(); - - late final _sel_initWithContentsOfURL_fileTypeHint_error_1 = - objc.registerName("initWithContentsOfURL:fileTypeHint:error:"); - instancetype _objc_msgSend_1173( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, - ffi.Pointer utiString, - ffi.Pointer> outError, - ) { - return __objc_msgSend_1173(obj, sel, url, utiString, outError); - } - - late final __objc_msgSend_1173Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_1173 = __objc_msgSend_1173Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>(); - - late final _sel_initWithData_fileTypeHint_error_1 = objc.registerName( - "initWithData:fileTypeHint:error:", - ); - instancetype _objc_msgSend_1174( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer data, - ffi.Pointer utiString, - ffi.Pointer> outError, - ) { - return __objc_msgSend_1174(obj, sel, data, utiString, outError); - } - - late final __objc_msgSend_1174Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_1174 = __objc_msgSend_1174Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>(); - - late final _sel_prepareToPlay1 = objc.registerName("prepareToPlay"); - late final _sel_play1 = objc.registerName("play"); - late final _sel_playAtTime_1 = objc.registerName("playAtTime:"); - bool _objc_msgSend_1175( - ffi.Pointer obj, - ffi.Pointer sel, - double time, - ) { - return __objc_msgSend_1175(obj, sel, time); - } - - late final __objc_msgSend_1175Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Double, - )>>('objc_msgSend'); - late final __objc_msgSend_1175 = __objc_msgSend_1175Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - double, - )>(); - - late final _sel_isPlaying1 = objc.registerName("isPlaying"); - late final _sel_numberOfChannels1 = objc.registerName("numberOfChannels"); - late final _sel_currentDevice1 = objc.registerName("currentDevice"); - late final _sel_setCurrentDevice_1 = objc.registerName("setCurrentDevice:"); - late final _sel_url1 = objc.registerName("url"); - late final _sel_pan1 = objc.registerName("pan"); - late final _sel_setPan_1 = objc.registerName("setPan:"); - late final _sel_volume1 = objc.registerName("volume"); - late final _sel_setVolume_1 = objc.registerName("setVolume:"); - late final _sel_setVolume_fadeDuration_1 = objc.registerName( - "setVolume:fadeDuration:", - ); - void _objc_msgSend_1176( - ffi.Pointer obj, - ffi.Pointer sel, - double volume, - double duration, - ) { - return __objc_msgSend_1176(obj, sel, volume, duration); - } - - late final __objc_msgSend_1176Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Float, - ffi.Double, - )>>('objc_msgSend'); - late final __objc_msgSend_1176 = __objc_msgSend_1176Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - double, - double, - )>(); - - late final _sel_enableRate1 = objc.registerName("enableRate"); - late final _sel_setEnableRate_1 = objc.registerName("setEnableRate:"); - late final _sel_rate1 = objc.registerName("rate"); - late final _sel_setRate_1 = objc.registerName("setRate:"); - late final _sel_currentTime1 = objc.registerName("currentTime"); - late final _sel_setCurrentTime_1 = objc.registerName("setCurrentTime:"); - late final _sel_deviceCurrentTime1 = objc.registerName("deviceCurrentTime"); - late final _sel_numberOfLoops1 = objc.registerName("numberOfLoops"); - late final _sel_setNumberOfLoops_1 = objc.registerName("setNumberOfLoops:"); - late final _sel_settings1 = objc.registerName("settings"); - late final _class_AVAudioFormat1 = objc.getClass("AVAudioFormat"); - late final _sel_initWithStreamDescription_1 = objc.registerName( - "initWithStreamDescription:", - ); - instancetype _objc_msgSend_1177( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer asbd, - ) { - return __objc_msgSend_1177(obj, sel, asbd); - } - - late final __objc_msgSend_1177Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1177 = __objc_msgSend_1177Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _class_AVAudioChannelLayout1 = objc.getClass( - "AVAudioChannelLayout", - ); - late final _sel_initWithLayoutTag_1 = objc.registerName("initWithLayoutTag:"); - instancetype _objc_msgSend_1178( - ffi.Pointer obj, - ffi.Pointer sel, - int layoutTag, - ) { - return __objc_msgSend_1178(obj, sel, layoutTag); - } - - late final __objc_msgSend_1178Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedInt, - )>>('objc_msgSend'); - late final __objc_msgSend_1178 = __objc_msgSend_1178Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_initWithLayout_1 = objc.registerName("initWithLayout:"); - instancetype _objc_msgSend_1179( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer layout, - ) { - return __objc_msgSend_1179(obj, sel, layout); - } - - late final __objc_msgSend_1179Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1179 = __objc_msgSend_1179Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_isEqual_1 = objc.registerName("isEqual:"); - late final _sel_layoutWithLayoutTag_1 = objc.registerName( - "layoutWithLayoutTag:", - ); - instancetype _objc_msgSend_1180( - ffi.Pointer obj, - ffi.Pointer sel, - int layoutTag, - ) { - return __objc_msgSend_1180(obj, sel, layoutTag); - } - - late final __objc_msgSend_1180Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedInt, - )>>('objc_msgSend'); - late final __objc_msgSend_1180 = __objc_msgSend_1180Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_layoutWithLayout_1 = objc.registerName("layoutWithLayout:"); - late final _sel_layoutTag1 = objc.registerName("layoutTag"); - late final _sel_layout1 = objc.registerName("layout"); - ffi.Pointer _objc_msgSend_1181( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_1181(obj, sel); - } - - late final __objc_msgSend_1181Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1181 = __objc_msgSend_1181Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_channelCount1 = objc.registerName("channelCount"); - int _objc_msgSend_1182( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_1182(obj, sel); - } - - late final __objc_msgSend_1182Ptr = _lookup< - ffi.NativeFunction< - ffi.Uint32 Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1182 = __objc_msgSend_1182Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_initWithStreamDescription_channelLayout_1 = objc.registerName( - "initWithStreamDescription:channelLayout:", - ); - instancetype _objc_msgSend_1183( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer asbd, - ffi.Pointer layout, - ) { - return __objc_msgSend_1183(obj, sel, asbd, layout); - } - - late final __objc_msgSend_1183Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1183 = __objc_msgSend_1183Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_initStandardFormatWithSampleRate_channels_1 = - objc.registerName("initStandardFormatWithSampleRate:channels:"); - instancetype _objc_msgSend_1184( - ffi.Pointer obj, - ffi.Pointer sel, - double sampleRate, - int channels, - ) { - return __objc_msgSend_1184(obj, sel, sampleRate, channels); - } - - late final __objc_msgSend_1184Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Double, - ffi.Uint32, - )>>('objc_msgSend'); - late final __objc_msgSend_1184 = __objc_msgSend_1184Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - double, - int, - )>(); - - late final _sel_initStandardFormatWithSampleRate_channelLayout_1 = - objc.registerName("initStandardFormatWithSampleRate:channelLayout:"); - instancetype _objc_msgSend_1185( - ffi.Pointer obj, - ffi.Pointer sel, - double sampleRate, - ffi.Pointer layout, - ) { - return __objc_msgSend_1185(obj, sel, sampleRate, layout); - } - - late final __objc_msgSend_1185Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Double, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1185 = __objc_msgSend_1185Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - double, - ffi.Pointer, - )>(); - - late final _sel_initWithCommonFormat_sampleRate_channels_interleaved_1 = objc - .registerName("initWithCommonFormat:sampleRate:channels:interleaved:"); - instancetype _objc_msgSend_1186( - ffi.Pointer obj, - ffi.Pointer sel, - int format, - double sampleRate, - int channels, - bool interleaved, - ) { - return __objc_msgSend_1186( - obj, - sel, - format, - sampleRate, - channels, - interleaved, - ); - } - - late final __objc_msgSend_1186Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Double, - ffi.Uint32, - ffi.Bool, - )>>('objc_msgSend'); - late final __objc_msgSend_1186 = __objc_msgSend_1186Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - int, - double, - int, - bool, - )>(); - - late final _sel_initWithCommonFormat_sampleRate_interleaved_channelLayout_1 = - objc.registerName( - "initWithCommonFormat:sampleRate:interleaved:channelLayout:", - ); - instancetype _objc_msgSend_1187( - ffi.Pointer obj, - ffi.Pointer sel, - int format, - double sampleRate, - bool interleaved, - ffi.Pointer layout, - ) { - return __objc_msgSend_1187( - obj, - sel, - format, - sampleRate, - interleaved, - layout, - ); - } - - late final __objc_msgSend_1187Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Double, - ffi.Bool, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1187 = __objc_msgSend_1187Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - int, - double, - bool, - ffi.Pointer, - )>(); - - late final _sel_initWithSettings_1 = objc.registerName("initWithSettings:"); - late final _sel_initWithCMAudioFormatDescription_1 = objc.registerName( - "initWithCMAudioFormatDescription:", - ); - instancetype _objc_msgSend_1188( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer formatDescription, - ) { - return __objc_msgSend_1188(obj, sel, formatDescription); - } - - late final __objc_msgSend_1188Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1188 = __objc_msgSend_1188Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_isStandard1 = objc.registerName("isStandard"); - late final _sel_commonFormat1 = objc.registerName("commonFormat"); - int _objc_msgSend_1189( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_1189(obj, sel); - } - - late final __objc_msgSend_1189Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1189 = __objc_msgSend_1189Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_isInterleaved1 = objc.registerName("isInterleaved"); - late final _sel_streamDescription1 = objc.registerName("streamDescription"); - ffi.Pointer _objc_msgSend_1190( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_1190(obj, sel); - } - - late final __objc_msgSend_1190Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1190 = __objc_msgSend_1190Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_channelLayout1 = objc.registerName("channelLayout"); - ffi.Pointer _objc_msgSend_1191( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_1191(obj, sel); - } - - late final __objc_msgSend_1191Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1191 = __objc_msgSend_1191Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_magicCookie1 = objc.registerName("magicCookie"); - late final _sel_setMagicCookie_1 = objc.registerName("setMagicCookie:"); - late final _sel_formatDescription1 = objc.registerName("formatDescription"); - ffi.Pointer _objc_msgSend_1192( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_1192(obj, sel); - } - - late final __objc_msgSend_1192Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1192 = __objc_msgSend_1192Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - ffi.Pointer _objc_msgSend_1193( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_1193(obj, sel); - } - - late final __objc_msgSend_1193Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1193 = __objc_msgSend_1193Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_isMeteringEnabled1 = objc.registerName("isMeteringEnabled"); - late final _sel_setMeteringEnabled_1 = objc.registerName( - "setMeteringEnabled:", - ); - late final _sel_updateMeters1 = objc.registerName("updateMeters"); - late final _sel_peakPowerForChannel_1 = objc.registerName( - "peakPowerForChannel:", - ); - double _objc_msgSend_1194( - ffi.Pointer obj, - ffi.Pointer sel, - int channelNumber, - ) { - return __objc_msgSend_1194(obj, sel, channelNumber); - } - - late final __objc_msgSend_1194Ptr = _lookup< - ffi.NativeFunction< - ffi.Float Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - )>>('objc_msgSend'); - late final __objc_msgSend_1194 = __objc_msgSend_1194Ptr.asFunction< - double Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - double _objc_msgSend_1194_fpret( - ffi.Pointer obj, - ffi.Pointer sel, - int channelNumber, - ) { - return __objc_msgSend_1194_fpret(obj, sel, channelNumber); - } - - late final __objc_msgSend_1194_fpretPtr = _lookup< - ffi.NativeFunction< - ffi.Float Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - )>>('objc_msgSend_fpret'); - late final __objc_msgSend_1194_fpret = - __objc_msgSend_1194_fpretPtr.asFunction< - double Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_averagePowerForChannel_1 = objc.registerName( - "averagePowerForChannel:", - ); - late final _sel_channelAssignments1 = objc.registerName("channelAssignments"); - late final _sel_setChannelAssignments_1 = objc.registerName( - "setChannelAssignments:", - ); -} - class NSObject extends objc.ObjCObjectBase { - NSObject._( - ffi.Pointer pointer, - this._lib, { - bool retain = false, - bool release = false, - }) : super(pointer, retain: retain, release: release); - - AVFAudio _lib; + NSObject._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super(pointer, retain: retain, release: release); /// Returns a [NSObject] that points to the same underlying object as [other]. - static NSObject castFrom( - AVFAudio lib, - T other, - ) { - return NSObject._(other.pointer, lib, retain: true, release: true); + static NSObject castFrom(T other) { + return NSObject._(other.pointer, retain: true, release: true); } /// Returns a [NSObject] that wraps the given raw object pointer. - static NSObject castFromPointer( - AVFAudio lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSObject._(other, lib, retain: retain, release: release); + static NSObject castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSObject._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSObject]. - static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSObject1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0(obj.pointer, _sel_isKindOfClass_, _class_NSObject); } - static void load(AVFAudio _lib) { - _lib._objc_msgSend_1(_lib._class_NSObject1, _lib._sel_load1); + static void load() { + _objc_msgSend_1(_class_NSObject, _sel_load); } - static void initialize(AVFAudio _lib) { - _lib._objc_msgSend_1(_lib._class_NSObject1, _lib._sel_initialize1); + static void initialize() { + _objc_msgSend_1(_class_NSObject, _sel_initialize); } NSObject init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSObject._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSObject._(_ret, retain: true, release: true); } - static NSObject new1(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2(_lib._class_NSObject1, _lib._sel_new1); - return NSObject._(_ret, _lib, retain: false, release: true); + static NSObject new1() { + final _ret = _objc_msgSend_2(_class_NSObject, _sel_new); + return NSObject._(_ret, retain: false, release: true); } - static NSObject allocWithZone_(AVFAudio _lib, ffi.Pointer<_NSZone> zone) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSObject1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSObject._(_ret, _lib, retain: false, release: true); + static NSObject allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = _objc_msgSend_3(_class_NSObject, _sel_allocWithZone_, zone); + return NSObject._(_ret, retain: false, release: true); } - static NSObject alloc(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2(_lib._class_NSObject1, _lib._sel_alloc1); - return NSObject._(_ret, _lib, retain: false, release: true); + static NSObject alloc() { + final _ret = _objc_msgSend_2(_class_NSObject, _sel_alloc); + return NSObject._(_ret, retain: false, release: true); } void dealloc() { - _lib._objc_msgSend_1(this.pointer, _lib._sel_dealloc1); + _objc_msgSend_1(this.pointer, _sel_dealloc); } void finalize() { - _lib._objc_msgSend_1(this.pointer, _lib._sel_finalize1); + _objc_msgSend_1(this.pointer, _sel_finalize); } NSObject copy() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_copy1); - return NSObject._(_ret, _lib, retain: false, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_copy); + return NSObject._(_ret, retain: false, release: true); } NSObject mutableCopy() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_mutableCopy1); - return NSObject._(_ret, _lib, retain: false, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_mutableCopy); + return NSObject._(_ret, retain: false, release: true); } - static NSObject copyWithZone_(AVFAudio _lib, ffi.Pointer<_NSZone> zone) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSObject1, - _lib._sel_copyWithZone_1, - zone, - ); - return NSObject._(_ret, _lib, retain: false, release: true); + static NSObject copyWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = _objc_msgSend_3(_class_NSObject, _sel_copyWithZone_, zone); + return NSObject._(_ret, retain: false, release: true); } - static NSObject mutableCopyWithZone_( - AVFAudio _lib, - ffi.Pointer<_NSZone> zone, - ) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSObject1, - _lib._sel_mutableCopyWithZone_1, - zone, - ); - return NSObject._(_ret, _lib, retain: false, release: true); + static NSObject mutableCopyWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = + _objc_msgSend_3(_class_NSObject, _sel_mutableCopyWithZone_, zone); + return NSObject._(_ret, retain: false, release: true); } static bool instancesRespondToSelector_( - AVFAudio _lib, - ffi.Pointer aSelector, - ) { - return _lib._objc_msgSend_4( - _lib._class_NSObject1, - _lib._sel_instancesRespondToSelector_1, - aSelector, - ); + ffi.Pointer aSelector) { + return _objc_msgSend_4( + _class_NSObject, _sel_instancesRespondToSelector_, aSelector); } - static bool conformsToProtocol_(AVFAudio _lib, Protocol protocol) { - return _lib._objc_msgSend_5( - _lib._class_NSObject1, - _lib._sel_conformsToProtocol_1, - protocol.pointer, - ); + static bool conformsToProtocol_(Protocol protocol) { + return _objc_msgSend_5( + _class_NSObject, _sel_conformsToProtocol_, protocol.pointer); } ffi.Pointer> methodForSelector_( - ffi.Pointer aSelector, - ) { - return _lib._objc_msgSend_6( - this.pointer, - _lib._sel_methodForSelector_1, - aSelector, - ); + ffi.Pointer aSelector) { + return _objc_msgSend_6(this.pointer, _sel_methodForSelector_, aSelector); } static ffi.Pointer> - instanceMethodForSelector_( - AVFAudio _lib, - ffi.Pointer aSelector, - ) { - return _lib._objc_msgSend_6( - _lib._class_NSObject1, - _lib._sel_instanceMethodForSelector_1, - aSelector, - ); + instanceMethodForSelector_(ffi.Pointer aSelector) { + return _objc_msgSend_6( + _class_NSObject, _sel_instanceMethodForSelector_, aSelector); } void doesNotRecognizeSelector_(ffi.Pointer aSelector) { - _lib._objc_msgSend_7( - this.pointer, - _lib._sel_doesNotRecognizeSelector_1, - aSelector, - ); + _objc_msgSend_7(this.pointer, _sel_doesNotRecognizeSelector_, aSelector); } NSObject forwardingTargetForSelector_( - ffi.Pointer aSelector, - ) { - final _ret = _lib._objc_msgSend_8( - this.pointer, - _lib._sel_forwardingTargetForSelector_1, - aSelector, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + ffi.Pointer aSelector) { + final _ret = _objc_msgSend_8( + this.pointer, _sel_forwardingTargetForSelector_, aSelector); + return NSObject._(_ret, retain: true, release: true); } void forwardInvocation_(NSInvocation anInvocation) { - _lib._objc_msgSend_421( - this.pointer, - _lib._sel_forwardInvocation_1, - anInvocation.pointer, - ); + _objc_msgSend_421( + this.pointer, _sel_forwardInvocation_, anInvocation.pointer); } NSMethodSignature methodSignatureForSelector_( - ffi.Pointer aSelector, - ) { - final _ret = _lib._objc_msgSend_422( - this.pointer, - _lib._sel_methodSignatureForSelector_1, - aSelector, - ); - return NSMethodSignature._(_ret, _lib, retain: true, release: true); + ffi.Pointer aSelector) { + final _ret = _objc_msgSend_422( + this.pointer, _sel_methodSignatureForSelector_, aSelector); + return NSMethodSignature._(_ret, retain: true, release: true); } static NSMethodSignature instanceMethodSignatureForSelector_( - AVFAudio _lib, - ffi.Pointer aSelector, - ) { - final _ret = _lib._objc_msgSend_422( - _lib._class_NSObject1, - _lib._sel_instanceMethodSignatureForSelector_1, - aSelector, - ); - return NSMethodSignature._(_ret, _lib, retain: true, release: true); + ffi.Pointer aSelector) { + final _ret = _objc_msgSend_422( + _class_NSObject, _sel_instanceMethodSignatureForSelector_, aSelector); + return NSMethodSignature._(_ret, retain: true, release: true); } bool allowsWeakReference() { - return _lib._objc_msgSend_12(this.pointer, _lib._sel_allowsWeakReference1); + return _objc_msgSend_12(this.pointer, _sel_allowsWeakReference); } bool retainWeakReference() { - return _lib._objc_msgSend_12(this.pointer, _lib._sel_retainWeakReference1); + return _objc_msgSend_12(this.pointer, _sel_retainWeakReference); } - static bool isSubclassOfClass_(AVFAudio _lib, NSObject aClass) { - return _lib._objc_msgSend_0( - _lib._class_NSObject1, - _lib._sel_isSubclassOfClass_1, - aClass.pointer, - ); + static bool isSubclassOfClass_(NSObject aClass) { + return _objc_msgSend_0( + _class_NSObject, _sel_isSubclassOfClass_, aClass.pointer); } - static bool resolveClassMethod_( - AVFAudio _lib, - ffi.Pointer sel, - ) { - return _lib._objc_msgSend_4( - _lib._class_NSObject1, - _lib._sel_resolveClassMethod_1, - sel, - ); + static bool resolveClassMethod_(ffi.Pointer sel) { + return _objc_msgSend_4(_class_NSObject, _sel_resolveClassMethod_, sel); } - static bool resolveInstanceMethod_( - AVFAudio _lib, - ffi.Pointer sel, - ) { - return _lib._objc_msgSend_4( - _lib._class_NSObject1, - _lib._sel_resolveInstanceMethod_1, - sel, - ); + static bool resolveInstanceMethod_(ffi.Pointer sel) { + return _objc_msgSend_4(_class_NSObject, _sel_resolveInstanceMethod_, sel); } - static int hash(AVFAudio _lib) { - return _lib._objc_msgSend_10(_lib._class_NSObject1, _lib._sel_hash1); + static int hash() { + return _objc_msgSend_10(_class_NSObject, _sel_hash); } - static NSObject superclass(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSObject1, - _lib._sel_superclass1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + static NSObject superclass() { + final _ret = _objc_msgSend_2(_class_NSObject, _sel_superclass); + return NSObject._(_ret, retain: true, release: true); } - static NSObject class1(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2(_lib._class_NSObject1, _lib._sel_class1); - return NSObject._(_ret, _lib, retain: true, release: true); + static NSObject class1() { + final _ret = _objc_msgSend_2(_class_NSObject, _sel_class); + return NSObject._(_ret, retain: true, release: true); } - static NSString description(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_21( - _lib._class_NSObject1, - _lib._sel_description1, - ); - return NSString._(_ret, _lib, retain: true, release: true); + static NSString description() { + final _ret = _objc_msgSend_21(_class_NSObject, _sel_description); + return NSString._(_ret, retain: true, release: true); } - static NSString debugDescription(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_21( - _lib._class_NSObject1, - _lib._sel_debugDescription1, - ); - return NSString._(_ret, _lib, retain: true, release: true); + static NSString debugDescription() { + final _ret = _objc_msgSend_21(_class_NSObject, _sel_debugDescription); + return NSString._(_ret, retain: true, release: true); } - static int version(AVFAudio _lib) { - return _lib._objc_msgSend_83(_lib._class_NSObject1, _lib._sel_version1); + static int version() { + return _objc_msgSend_83(_class_NSObject, _sel_version); } - static void setVersion_(AVFAudio _lib, int aVersion) { - _lib._objc_msgSend_423( - _lib._class_NSObject1, - _lib._sel_setVersion_1, - aVersion, - ); + static void setVersion_(int aVersion) { + _objc_msgSend_423(_class_NSObject, _sel_setVersion_, aVersion); } NSObject get classForCoder { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_classForCoder1); - return NSObject._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_classForCoder); + return NSObject._(_ret, retain: true, release: true); } NSObject? replacementObjectForCoder_(NSCoder coder) { - final _ret = _lib._objc_msgSend_47( - this.pointer, - _lib._sel_replacementObjectForCoder_1, - coder.pointer, - ); + final _ret = _objc_msgSend_47( + this.pointer, _sel_replacementObjectForCoder_, coder.pointer); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } NSObject? awakeAfterUsingCoder_(NSCoder coder) { - final _ret = _lib._objc_msgSend_47( - this.pointer, - _lib._sel_awakeAfterUsingCoder_1, - coder.pointer, - ); + final _ret = _objc_msgSend_47( + this.pointer, _sel_awakeAfterUsingCoder_, coder.pointer); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: false, release: true); + : NSObject._(_ret, retain: false, release: true); } - static void poseAsClass_(AVFAudio _lib, NSObject aClass) { - _lib._objc_msgSend_15( - _lib._class_NSObject1, - _lib._sel_poseAsClass_1, - aClass.pointer, - ); + static void poseAsClass_(NSObject aClass) { + _objc_msgSend_15(_class_NSObject, _sel_poseAsClass_, aClass.pointer); } NSObject get autoContentAccessingProxy { - final _ret = _lib._objc_msgSend_2( - this.pointer, - _lib._sel_autoContentAccessingProxy1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_autoContentAccessingProxy); + return NSObject._(_ret, retain: true, release: true); } void attemptRecoveryFromError_optionIndex_delegate_didRecoverSelector_contextInfo_( - NSError error, - int recoveryOptionIndex, - NSObject? delegate, - ffi.Pointer didRecoverSelector, - ffi.Pointer contextInfo, - ) { - _lib._objc_msgSend_424( - this.pointer, - _lib._sel_attemptRecoveryFromError_optionIndex_delegate_didRecoverSelector_contextInfo_1, - error.pointer, - recoveryOptionIndex, - delegate?.pointer ?? ffi.nullptr, - didRecoverSelector, - contextInfo, - ); + NSError error, + int recoveryOptionIndex, + NSObject? delegate, + ffi.Pointer didRecoverSelector, + ffi.Pointer contextInfo) { + _objc_msgSend_424( + this.pointer, + _sel_attemptRecoveryFromError_optionIndex_delegate_didRecoverSelector_contextInfo_, + error.pointer, + recoveryOptionIndex, + delegate?.pointer ?? ffi.nullptr, + didRecoverSelector, + contextInfo); } bool attemptRecoveryFromError_optionIndex_( - NSError error, - int recoveryOptionIndex, - ) { - return _lib._objc_msgSend_425( - this.pointer, - _lib._sel_attemptRecoveryFromError_optionIndex_1, - error.pointer, - recoveryOptionIndex, - ); + NSError error, int recoveryOptionIndex) { + return _objc_msgSend_425( + this.pointer, + _sel_attemptRecoveryFromError_optionIndex_, + error.pointer, + recoveryOptionIndex); } void performSelector_withObject_afterDelay_inModes_( - ffi.Pointer aSelector, - NSObject? anArgument, - double delay, - NSArray modes, - ) { - _lib._objc_msgSend_426( - this.pointer, - _lib._sel_performSelector_withObject_afterDelay_inModes_1, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - delay, - modes.pointer, - ); + ffi.Pointer aSelector, + NSObject? anArgument, + double delay, + NSArray modes) { + _objc_msgSend_426( + this.pointer, + _sel_performSelector_withObject_afterDelay_inModes_, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + delay, + modes.pointer); } void performSelector_withObject_afterDelay_( - ffi.Pointer aSelector, - NSObject? anArgument, - double delay, - ) { - _lib._objc_msgSend_427( - this.pointer, - _lib._sel_performSelector_withObject_afterDelay_1, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - delay, - ); + ffi.Pointer aSelector, + NSObject? anArgument, + double delay) { + _objc_msgSend_427(this.pointer, _sel_performSelector_withObject_afterDelay_, + aSelector, anArgument?.pointer ?? ffi.nullptr, delay); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSObject1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSObject1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSObject, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); + } + + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSObject, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); } void URL_resourceDataDidBecomeAvailable_(NSURL sender, NSData newBytes) { - _lib._objc_msgSend_428( - this.pointer, - _lib._sel_URL_resourceDataDidBecomeAvailable_1, - sender.pointer, - newBytes.pointer, - ); + _objc_msgSend_428(this.pointer, _sel_URL_resourceDataDidBecomeAvailable_, + sender.pointer, newBytes.pointer); } void URLResourceDidFinishLoading_(NSURL sender) { - _lib._objc_msgSend_429( - this.pointer, - _lib._sel_URLResourceDidFinishLoading_1, - sender.pointer, - ); + _objc_msgSend_429( + this.pointer, _sel_URLResourceDidFinishLoading_, sender.pointer); } void URLResourceDidCancelLoading_(NSURL sender) { - _lib._objc_msgSend_429( - this.pointer, - _lib._sel_URLResourceDidCancelLoading_1, - sender.pointer, - ); + _objc_msgSend_429( + this.pointer, _sel_URLResourceDidCancelLoading_, sender.pointer); } void URL_resourceDidFailLoadingWithReason_(NSURL sender, NSString reason) { - _lib._objc_msgSend_430( - this.pointer, - _lib._sel_URL_resourceDidFailLoadingWithReason_1, - sender.pointer, - reason.pointer, - ); + _objc_msgSend_430(this.pointer, _sel_URL_resourceDidFailLoadingWithReason_, + sender.pointer, reason.pointer); } bool fileManager_shouldProceedAfterError_( - NSFileManager fm, - NSDictionary errorInfo, - ) { - return _lib._objc_msgSend_467( - this.pointer, - _lib._sel_fileManager_shouldProceedAfterError_1, - fm.pointer, - errorInfo.pointer, - ); + NSFileManager fm, NSDictionary errorInfo) { + return _objc_msgSend_467( + this.pointer, + _sel_fileManager_shouldProceedAfterError_, + fm.pointer, + errorInfo.pointer); } void fileManager_willProcessPath_(NSFileManager fm, NSString path) { - _lib._objc_msgSend_468( - this.pointer, - _lib._sel_fileManager_willProcessPath_1, - fm.pointer, - path.pointer, - ); + _objc_msgSend_468(this.pointer, _sel_fileManager_willProcessPath_, + fm.pointer, path.pointer); } - static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSObject1, - _lib._sel_accessInstanceVariablesDirectly1, - ); + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSObject, _sel_accessInstanceVariablesDirectly); } NSObject? valueForKey_(NSString key) { - final _ret = _lib._objc_msgSend_38( - this.pointer, - _lib._sel_valueForKey_1, - key.pointer, - ); + final _ret = _objc_msgSend_38(this.pointer, _sel_valueForKey_, key.pointer); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } void setValue_forKey_(NSObject? value, NSString key) { - _lib._objc_msgSend_135( - this.pointer, - _lib._sel_setValue_forKey_1, - value?.pointer ?? ffi.nullptr, - key.pointer, - ); + _objc_msgSend_135(this.pointer, _sel_setValue_forKey_, + value?.pointer ?? ffi.nullptr, key.pointer); } bool validateValue_forKey_error_( - ffi.Pointer> ioValue, - NSString inKey, - ffi.Pointer> outError, - ) { - return _lib._objc_msgSend_243( - this.pointer, - _lib._sel_validateValue_forKey_error_1, - ioValue, - inKey.pointer, - outError, - ); + ffi.Pointer> ioValue, + NSString inKey, + ffi.Pointer> outError) { + return _objc_msgSend_243(this.pointer, _sel_validateValue_forKey_error_, + ioValue, inKey.pointer, outError); } NSMutableArray mutableArrayValueForKey_(NSString key) { - final _ret = _lib._objc_msgSend_488( - this.pointer, - _lib._sel_mutableArrayValueForKey_1, - key.pointer, - ); - return NSMutableArray._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_488( + this.pointer, _sel_mutableArrayValueForKey_, key.pointer); + return NSMutableArray._(_ret, retain: true, release: true); } NSMutableOrderedSet mutableOrderedSetValueForKey_(NSString key) { - final _ret = _lib._objc_msgSend_506( - this.pointer, - _lib._sel_mutableOrderedSetValueForKey_1, - key.pointer, - ); - return NSMutableOrderedSet._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_506( + this.pointer, _sel_mutableOrderedSetValueForKey_, key.pointer); + return NSMutableOrderedSet._(_ret, retain: true, release: true); } NSMutableSet mutableSetValueForKey_(NSString key) { - final _ret = _lib._objc_msgSend_507( - this.pointer, - _lib._sel_mutableSetValueForKey_1, - key.pointer, - ); - return NSMutableSet._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_507( + this.pointer, _sel_mutableSetValueForKey_, key.pointer); + return NSMutableSet._(_ret, retain: true, release: true); } NSObject? valueForKeyPath_(NSString keyPath) { - final _ret = _lib._objc_msgSend_38( - this.pointer, - _lib._sel_valueForKeyPath_1, - keyPath.pointer, - ); + final _ret = + _objc_msgSend_38(this.pointer, _sel_valueForKeyPath_, keyPath.pointer); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } void setValue_forKeyPath_(NSObject? value, NSString keyPath) { - _lib._objc_msgSend_135( - this.pointer, - _lib._sel_setValue_forKeyPath_1, - value?.pointer ?? ffi.nullptr, - keyPath.pointer, - ); + _objc_msgSend_135(this.pointer, _sel_setValue_forKeyPath_, + value?.pointer ?? ffi.nullptr, keyPath.pointer); } bool validateValue_forKeyPath_error_( - ffi.Pointer> ioValue, - NSString inKeyPath, - ffi.Pointer> outError, - ) { - return _lib._objc_msgSend_243( - this.pointer, - _lib._sel_validateValue_forKeyPath_error_1, - ioValue, - inKeyPath.pointer, - outError, - ); + ffi.Pointer> ioValue, + NSString inKeyPath, + ffi.Pointer> outError) { + return _objc_msgSend_243(this.pointer, _sel_validateValue_forKeyPath_error_, + ioValue, inKeyPath.pointer, outError); } NSMutableArray mutableArrayValueForKeyPath_(NSString keyPath) { - final _ret = _lib._objc_msgSend_488( - this.pointer, - _lib._sel_mutableArrayValueForKeyPath_1, - keyPath.pointer, - ); - return NSMutableArray._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_488( + this.pointer, _sel_mutableArrayValueForKeyPath_, keyPath.pointer); + return NSMutableArray._(_ret, retain: true, release: true); } NSMutableOrderedSet mutableOrderedSetValueForKeyPath_(NSString keyPath) { - final _ret = _lib._objc_msgSend_506( - this.pointer, - _lib._sel_mutableOrderedSetValueForKeyPath_1, - keyPath.pointer, - ); - return NSMutableOrderedSet._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_506( + this.pointer, _sel_mutableOrderedSetValueForKeyPath_, keyPath.pointer); + return NSMutableOrderedSet._(_ret, retain: true, release: true); } NSMutableSet mutableSetValueForKeyPath_(NSString keyPath) { - final _ret = _lib._objc_msgSend_507( - this.pointer, - _lib._sel_mutableSetValueForKeyPath_1, - keyPath.pointer, - ); - return NSMutableSet._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_507( + this.pointer, _sel_mutableSetValueForKeyPath_, keyPath.pointer); + return NSMutableSet._(_ret, retain: true, release: true); } NSObject? valueForUndefinedKey_(NSString key) { - final _ret = _lib._objc_msgSend_38( - this.pointer, - _lib._sel_valueForUndefinedKey_1, - key.pointer, - ); + final _ret = + _objc_msgSend_38(this.pointer, _sel_valueForUndefinedKey_, key.pointer); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } void setValue_forUndefinedKey_(NSObject? value, NSString key) { - _lib._objc_msgSend_135( - this.pointer, - _lib._sel_setValue_forUndefinedKey_1, - value?.pointer ?? ffi.nullptr, - key.pointer, - ); + _objc_msgSend_135(this.pointer, _sel_setValue_forUndefinedKey_, + value?.pointer ?? ffi.nullptr, key.pointer); } void setNilValueForKey_(NSString key) { - _lib._objc_msgSend_247( - this.pointer, - _lib._sel_setNilValueForKey_1, - key.pointer, - ); + _objc_msgSend_247(this.pointer, _sel_setNilValueForKey_, key.pointer); } NSDictionary dictionaryWithValuesForKeys_(NSArray keys) { - final _ret = _lib._objc_msgSend_508( - this.pointer, - _lib._sel_dictionaryWithValuesForKeys_1, - keys.pointer, - ); - return NSDictionary._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_508( + this.pointer, _sel_dictionaryWithValuesForKeys_, keys.pointer); + return NSDictionary._(_ret, retain: true, release: true); } void setValuesForKeysWithDictionary_(NSDictionary keyedValues) { - _lib._objc_msgSend_509( - this.pointer, - _lib._sel_setValuesForKeysWithDictionary_1, - keyedValues.pointer, - ); + _objc_msgSend_509(this.pointer, _sel_setValuesForKeysWithDictionary_, + keyedValues.pointer); } - static bool useStoredAccessor(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSObject1, - _lib._sel_useStoredAccessor1, - ); + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSObject, _sel_useStoredAccessor); } NSObject? storedValueForKey_(NSString key) { - final _ret = _lib._objc_msgSend_38( - this.pointer, - _lib._sel_storedValueForKey_1, - key.pointer, - ); + final _ret = + _objc_msgSend_38(this.pointer, _sel_storedValueForKey_, key.pointer); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } void takeStoredValue_forKey_(NSObject? value, NSString key) { - _lib._objc_msgSend_135( - this.pointer, - _lib._sel_takeStoredValue_forKey_1, - value?.pointer ?? ffi.nullptr, - key.pointer, - ); + _objc_msgSend_135(this.pointer, _sel_takeStoredValue_forKey_, + value?.pointer ?? ffi.nullptr, key.pointer); } void takeValue_forKey_(NSObject? value, NSString key) { - _lib._objc_msgSend_135( - this.pointer, - _lib._sel_takeValue_forKey_1, - value?.pointer ?? ffi.nullptr, - key.pointer, - ); + _objc_msgSend_135(this.pointer, _sel_takeValue_forKey_, + value?.pointer ?? ffi.nullptr, key.pointer); } void takeValue_forKeyPath_(NSObject? value, NSString keyPath) { - _lib._objc_msgSend_135( - this.pointer, - _lib._sel_takeValue_forKeyPath_1, - value?.pointer ?? ffi.nullptr, - keyPath.pointer, - ); + _objc_msgSend_135(this.pointer, _sel_takeValue_forKeyPath_, + value?.pointer ?? ffi.nullptr, keyPath.pointer); } NSObject? handleQueryWithUnboundKey_(NSString key) { - final _ret = _lib._objc_msgSend_38( - this.pointer, - _lib._sel_handleQueryWithUnboundKey_1, - key.pointer, - ); + final _ret = _objc_msgSend_38( + this.pointer, _sel_handleQueryWithUnboundKey_, key.pointer); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } void handleTakeValue_forUnboundKey_(NSObject? value, NSString key) { - _lib._objc_msgSend_135( - this.pointer, - _lib._sel_handleTakeValue_forUnboundKey_1, - value?.pointer ?? ffi.nullptr, - key.pointer, - ); + _objc_msgSend_135(this.pointer, _sel_handleTakeValue_forUnboundKey_, + value?.pointer ?? ffi.nullptr, key.pointer); } void unableToSetNilForKey_(NSString key) { - _lib._objc_msgSend_247( - this.pointer, - _lib._sel_unableToSetNilForKey_1, - key.pointer, - ); + _objc_msgSend_247(this.pointer, _sel_unableToSetNilForKey_, key.pointer); } NSDictionary valuesForKeys_(NSArray keys) { - final _ret = _lib._objc_msgSend_508( - this.pointer, - _lib._sel_valuesForKeys_1, - keys.pointer, - ); - return NSDictionary._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_508(this.pointer, _sel_valuesForKeys_, keys.pointer); + return NSDictionary._(_ret, retain: true, release: true); } void takeValuesFromDictionary_(NSDictionary properties) { - _lib._objc_msgSend_509( - this.pointer, - _lib._sel_takeValuesFromDictionary_1, - properties.pointer, - ); - } - - void observeValueForKeyPath_ofObject_change_context_( - NSString? keyPath, - NSObject? object, - NSDictionary? change, - ffi.Pointer context, - ) { - _lib._objc_msgSend_510( - this.pointer, - _lib._sel_observeValueForKeyPath_ofObject_change_context_1, - keyPath?.pointer ?? ffi.nullptr, - object?.pointer ?? ffi.nullptr, - change?.pointer ?? ffi.nullptr, - context, - ); - } - - void addObserver_forKeyPath_options_context_( - NSObject observer, - NSString keyPath, - int options, - ffi.Pointer context, - ) { - _lib._objc_msgSend_139( - this.pointer, - _lib._sel_addObserver_forKeyPath_options_context_1, - observer.pointer, - keyPath.pointer, - options, - context, - ); + _objc_msgSend_509( + this.pointer, _sel_takeValuesFromDictionary_, properties.pointer); + } + + void observeValueForKeyPath_ofObject_change_context_(NSString? keyPath, + NSObject? object, NSDictionary? change, ffi.Pointer context) { + _objc_msgSend_510( + this.pointer, + _sel_observeValueForKeyPath_ofObject_change_context_, + keyPath?.pointer ?? ffi.nullptr, + object?.pointer ?? ffi.nullptr, + change?.pointer ?? ffi.nullptr, + context); + } + + void addObserver_forKeyPath_options_context_(NSObject observer, + NSString keyPath, int options, ffi.Pointer context) { + _objc_msgSend_139( + this.pointer, + _sel_addObserver_forKeyPath_options_context_, + observer.pointer, + keyPath.pointer, + options, + context); } void removeObserver_forKeyPath_context_( - NSObject observer, - NSString keyPath, - ffi.Pointer context, - ) { - _lib._objc_msgSend_140( - this.pointer, - _lib._sel_removeObserver_forKeyPath_context_1, - observer.pointer, - keyPath.pointer, - context, - ); + NSObject observer, NSString keyPath, ffi.Pointer context) { + _objc_msgSend_140(this.pointer, _sel_removeObserver_forKeyPath_context_, + observer.pointer, keyPath.pointer, context); } void removeObserver_forKeyPath_(NSObject observer, NSString keyPath) { - _lib._objc_msgSend_141( - this.pointer, - _lib._sel_removeObserver_forKeyPath_1, - observer.pointer, - keyPath.pointer, - ); + _objc_msgSend_141(this.pointer, _sel_removeObserver_forKeyPath_, + observer.pointer, keyPath.pointer); } void willChangeValueForKey_(NSString key) { - _lib._objc_msgSend_247( - this.pointer, - _lib._sel_willChangeValueForKey_1, - key.pointer, - ); + _objc_msgSend_247(this.pointer, _sel_willChangeValueForKey_, key.pointer); } void didChangeValueForKey_(NSString key) { - _lib._objc_msgSend_247( - this.pointer, - _lib._sel_didChangeValueForKey_1, - key.pointer, - ); + _objc_msgSend_247(this.pointer, _sel_didChangeValueForKey_, key.pointer); } void willChange_valuesAtIndexes_forKey_( - int changeKind, - NSIndexSet indexes, - NSString key, - ) { - _lib._objc_msgSend_511( - this.pointer, - _lib._sel_willChange_valuesAtIndexes_forKey_1, - changeKind, - indexes.pointer, - key.pointer, - ); + int changeKind, NSIndexSet indexes, NSString key) { + _objc_msgSend_511(this.pointer, _sel_willChange_valuesAtIndexes_forKey_, + changeKind, indexes.pointer, key.pointer); } void didChange_valuesAtIndexes_forKey_( - int changeKind, - NSIndexSet indexes, - NSString key, - ) { - _lib._objc_msgSend_511( - this.pointer, - _lib._sel_didChange_valuesAtIndexes_forKey_1, - changeKind, - indexes.pointer, - key.pointer, - ); + int changeKind, NSIndexSet indexes, NSString key) { + _objc_msgSend_511(this.pointer, _sel_didChange_valuesAtIndexes_forKey_, + changeKind, indexes.pointer, key.pointer); } void willChangeValueForKey_withSetMutation_usingObjects_( - NSString key, - int mutationKind, - NSSet objects, - ) { - _lib._objc_msgSend_512( - this.pointer, - _lib._sel_willChangeValueForKey_withSetMutation_usingObjects_1, - key.pointer, - mutationKind, - objects.pointer, - ); + NSString key, int mutationKind, NSSet objects) { + _objc_msgSend_512( + this.pointer, + _sel_willChangeValueForKey_withSetMutation_usingObjects_, + key.pointer, + mutationKind, + objects.pointer); } void didChangeValueForKey_withSetMutation_usingObjects_( - NSString key, - int mutationKind, - NSSet objects, - ) { - _lib._objc_msgSend_512( - this.pointer, - _lib._sel_didChangeValueForKey_withSetMutation_usingObjects_1, - key.pointer, - mutationKind, - objects.pointer, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSObject1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSObject1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSString key, int mutationKind, NSSet objects) { + _objc_msgSend_512( + this.pointer, + _sel_didChangeValueForKey_withSetMutation_usingObjects_, + key.pointer, + mutationKind, + objects.pointer); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSObject, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSObject, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); } ffi.Pointer get observationInfo { - return _lib._objc_msgSend_20(this.pointer, _lib._sel_observationInfo1); + return _objc_msgSend_20(this.pointer, _sel_observationInfo); } set observationInfo(ffi.Pointer value) { - return _lib._objc_msgSend_513( - this.pointer, - _lib._sel_setObservationInfo_1, - value, - ); + return _objc_msgSend_513(this.pointer, _sel_setObservationInfo_, value); } static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSObject1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSObject, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); } NSObject? get classForKeyedArchiver { - final _ret = _lib._objc_msgSend_17( - this.pointer, - _lib._sel_classForKeyedArchiver1, - ); + final _ret = _objc_msgSend_17(this.pointer, _sel_classForKeyedArchiver); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } NSObject? replacementObjectForKeyedArchiver_(NSKeyedArchiver archiver) { - final _ret = _lib._objc_msgSend_528( - this.pointer, - _lib._sel_replacementObjectForKeyedArchiver_1, - archiver.pointer, - ); + final _ret = _objc_msgSend_528(this.pointer, + _sel_replacementObjectForKeyedArchiver_, archiver.pointer); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } - static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSObject1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); + static NSArray classFallbacksForKeyedArchiver() { + final _ret = + _objc_msgSend_85(_class_NSObject, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); } - static NSObject classForKeyedUnarchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSObject1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + static NSObject classForKeyedUnarchiver() { + final _ret = _objc_msgSend_2(_class_NSObject, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); } void performSelectorOnMainThread_withObject_waitUntilDone_modes_( - ffi.Pointer aSelector, - NSObject? arg, - bool wait, - NSArray? array, - ) { - _lib._objc_msgSend_529( - this.pointer, - _lib._sel_performSelectorOnMainThread_withObject_waitUntilDone_modes_1, - aSelector, - arg?.pointer ?? ffi.nullptr, - wait, - array?.pointer ?? ffi.nullptr, - ); + ffi.Pointer aSelector, + NSObject? arg, + bool wait, + NSArray? array) { + _objc_msgSend_529( + this.pointer, + _sel_performSelectorOnMainThread_withObject_waitUntilDone_modes_, + aSelector, + arg?.pointer ?? ffi.nullptr, + wait, + array?.pointer ?? ffi.nullptr); } void performSelectorOnMainThread_withObject_waitUntilDone_( - ffi.Pointer aSelector, - NSObject? arg, - bool wait, - ) { - _lib._objc_msgSend_530( - this.pointer, - _lib._sel_performSelectorOnMainThread_withObject_waitUntilDone_1, - aSelector, - arg?.pointer ?? ffi.nullptr, - wait, - ); + ffi.Pointer aSelector, NSObject? arg, bool wait) { + _objc_msgSend_530( + this.pointer, + _sel_performSelectorOnMainThread_withObject_waitUntilDone_, + aSelector, + arg?.pointer ?? ffi.nullptr, + wait); } void performSelector_onThread_withObject_waitUntilDone_modes_( - ffi.Pointer aSelector, - NSThread thr, - NSObject? arg, - bool wait, - NSArray? array, - ) { - _lib._objc_msgSend_548( - this.pointer, - _lib._sel_performSelector_onThread_withObject_waitUntilDone_modes_1, - aSelector, - thr.pointer, - arg?.pointer ?? ffi.nullptr, - wait, - array?.pointer ?? ffi.nullptr, - ); + ffi.Pointer aSelector, + NSThread thr, + NSObject? arg, + bool wait, + NSArray? array) { + _objc_msgSend_548( + this.pointer, + _sel_performSelector_onThread_withObject_waitUntilDone_modes_, + aSelector, + thr.pointer, + arg?.pointer ?? ffi.nullptr, + wait, + array?.pointer ?? ffi.nullptr); } void performSelector_onThread_withObject_waitUntilDone_( - ffi.Pointer aSelector, - NSThread thr, - NSObject? arg, - bool wait, - ) { - _lib._objc_msgSend_549( - this.pointer, - _lib._sel_performSelector_onThread_withObject_waitUntilDone_1, - aSelector, - thr.pointer, - arg?.pointer ?? ffi.nullptr, - wait, - ); + ffi.Pointer aSelector, + NSThread thr, + NSObject? arg, + bool wait) { + _objc_msgSend_549( + this.pointer, + _sel_performSelector_onThread_withObject_waitUntilDone_, + aSelector, + thr.pointer, + arg?.pointer ?? ffi.nullptr, + wait); } void performSelectorInBackground_withObject_( - ffi.Pointer aSelector, - NSObject? arg, - ) { - _lib._objc_msgSend_90( - this.pointer, - _lib._sel_performSelectorInBackground_withObject_1, - aSelector, - arg?.pointer ?? ffi.nullptr, - ); + ffi.Pointer aSelector, NSObject? arg) { + _objc_msgSend_90(this.pointer, _sel_performSelectorInBackground_withObject_, + aSelector, arg?.pointer ?? ffi.nullptr); } NSObject? get classForArchiver { - final _ret = _lib._objc_msgSend_17( - this.pointer, - _lib._sel_classForArchiver1, - ); + final _ret = _objc_msgSend_17(this.pointer, _sel_classForArchiver); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } NSObject? replacementObjectForArchiver_(NSArchiver archiver) { - final _ret = _lib._objc_msgSend_552( - this.pointer, - _lib._sel_replacementObjectForArchiver_1, - archiver.pointer, - ); + final _ret = _objc_msgSend_552( + this.pointer, _sel_replacementObjectForArchiver_, archiver.pointer); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } NSObject get classForPortCoder { - final _ret = _lib._objc_msgSend_2( - this.pointer, - _lib._sel_classForPortCoder1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_classForPortCoder); + return NSObject._(_ret, retain: true, release: true); } NSObject? replacementObjectForPortCoder_(NSPortCoder coder) { - final _ret = _lib._objc_msgSend_597( - this.pointer, - _lib._sel_replacementObjectForPortCoder_1, - coder.pointer, - ); + final _ret = _objc_msgSend_597( + this.pointer, _sel_replacementObjectForPortCoder_, coder.pointer); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } NSClassDescription get classDescription { - final _ret = _lib._objc_msgSend_600( - this.pointer, - _lib._sel_classDescription1, - ); - return NSClassDescription._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_600(this.pointer, _sel_classDescription); + return NSClassDescription._(_ret, retain: true, release: true); } NSArray get attributeKeys { - final _ret = _lib._objc_msgSend_85(this.pointer, _lib._sel_attributeKeys1); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_85(this.pointer, _sel_attributeKeys); + return NSArray._(_ret, retain: true, release: true); } NSArray get toOneRelationshipKeys { - final _ret = _lib._objc_msgSend_85( - this.pointer, - _lib._sel_toOneRelationshipKeys1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_85(this.pointer, _sel_toOneRelationshipKeys); + return NSArray._(_ret, retain: true, release: true); } NSArray get toManyRelationshipKeys { - final _ret = _lib._objc_msgSend_85( - this.pointer, - _lib._sel_toManyRelationshipKeys1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_85(this.pointer, _sel_toManyRelationshipKeys); + return NSArray._(_ret, retain: true, release: true); } NSString? inverseForRelationshipKey_(NSString relationshipKey) { - final _ret = _lib._objc_msgSend_186( - this.pointer, - _lib._sel_inverseForRelationshipKey_1, - relationshipKey.pointer, - ); + final _ret = _objc_msgSend_186( + this.pointer, _sel_inverseForRelationshipKey_, relationshipKey.pointer); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } NSObject? scriptingValueForSpecifier_( - NSScriptObjectSpecifier objectSpecifier, - ) { - final _ret = _lib._objc_msgSend_649( - this.pointer, - _lib._sel_scriptingValueForSpecifier_1, - objectSpecifier.pointer, - ); + NSScriptObjectSpecifier objectSpecifier) { + final _ret = _objc_msgSend_649(this.pointer, + _sel_scriptingValueForSpecifier_, objectSpecifier.pointer); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } NSDictionary? get scriptingProperties { - final _ret = _lib._objc_msgSend_390( - this.pointer, - _lib._sel_scriptingProperties1, - ); + final _ret = _objc_msgSend_390(this.pointer, _sel_scriptingProperties); return _ret.address == 0 ? null - : NSDictionary._(_ret, _lib, retain: true, release: true); + : NSDictionary._(_ret, retain: true, release: true); } set scriptingProperties(NSDictionary? value) { - return _lib._objc_msgSend_634( - this.pointer, - _lib._sel_setScriptingProperties_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_634(this.pointer, _sel_setScriptingProperties_, + value?.pointer ?? ffi.nullptr); } NSObject? copyScriptingValue_forKey_withProperties_( - NSObject value, - NSString key, - NSDictionary properties, - ) { - final _ret = _lib._objc_msgSend_650( - this.pointer, - _lib._sel_copyScriptingValue_forKey_withProperties_1, - value.pointer, - key.pointer, - properties.pointer, - ); + NSObject value, NSString key, NSDictionary properties) { + final _ret = _objc_msgSend_650( + this.pointer, + _sel_copyScriptingValue_forKey_withProperties_, + value.pointer, + key.pointer, + properties.pointer); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: false, release: true); + : NSObject._(_ret, retain: false, release: true); } NSObject? newScriptingObjectOfClass_forValueForKey_withContentsValue_properties_( - NSObject objectClass, - NSString key, - NSObject? contentsValue, - NSDictionary properties, - ) { - final _ret = _lib._objc_msgSend_651( - this.pointer, - _lib._sel_newScriptingObjectOfClass_forValueForKey_withContentsValue_properties_1, - objectClass.pointer, - key.pointer, - contentsValue?.pointer ?? ffi.nullptr, - properties.pointer, - ); + NSObject objectClass, + NSString key, + NSObject? contentsValue, + NSDictionary properties) { + final _ret = _objc_msgSend_651( + this.pointer, + _sel_newScriptingObjectOfClass_forValueForKey_withContentsValue_properties_, + objectClass.pointer, + key.pointer, + contentsValue?.pointer ?? ffi.nullptr, + properties.pointer); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: false, release: true); + : NSObject._(_ret, retain: false, release: true); } int get classCode { - return _lib._objc_msgSend_214(this.pointer, _lib._sel_classCode1); + return _objc_msgSend_214(this.pointer, _sel_classCode); } NSString? get className { - final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_className1); + final _ret = _objc_msgSend_44(this.pointer, _sel_className); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } NSObject? valueAtIndex_inPropertyWithKey_(int index, NSString key) { - final _ret = _lib._objc_msgSend_652( - this.pointer, - _lib._sel_valueAtIndex_inPropertyWithKey_1, - index, - key.pointer, - ); + final _ret = _objc_msgSend_652( + this.pointer, _sel_valueAtIndex_inPropertyWithKey_, index, key.pointer); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } NSObject? valueWithName_inPropertyWithKey_(NSString name, NSString key) { - final _ret = _lib._objc_msgSend_175( - this.pointer, - _lib._sel_valueWithName_inPropertyWithKey_1, - name.pointer, - key.pointer, - ); + final _ret = _objc_msgSend_175(this.pointer, + _sel_valueWithName_inPropertyWithKey_, name.pointer, key.pointer); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } NSObject? valueWithUniqueID_inPropertyWithKey_( - NSObject uniqueID, - NSString key, - ) { - final _ret = _lib._objc_msgSend_311( - this.pointer, - _lib._sel_valueWithUniqueID_inPropertyWithKey_1, - uniqueID.pointer, - key.pointer, - ); + NSObject uniqueID, NSString key) { + final _ret = _objc_msgSend_311( + this.pointer, + _sel_valueWithUniqueID_inPropertyWithKey_, + uniqueID.pointer, + key.pointer); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } void insertValue_atIndex_inPropertyWithKey_( - NSObject value, - int index, - NSString key, - ) { - _lib._objc_msgSend_653( - this.pointer, - _lib._sel_insertValue_atIndex_inPropertyWithKey_1, - value.pointer, - index, - key.pointer, - ); + NSObject value, int index, NSString key) { + _objc_msgSend_653(this.pointer, _sel_insertValue_atIndex_inPropertyWithKey_, + value.pointer, index, key.pointer); } void removeValueAtIndex_fromPropertyWithKey_(int index, NSString key) { - _lib._objc_msgSend_654( - this.pointer, - _lib._sel_removeValueAtIndex_fromPropertyWithKey_1, - index, - key.pointer, - ); + _objc_msgSend_654(this.pointer, + _sel_removeValueAtIndex_fromPropertyWithKey_, index, key.pointer); } void replaceValueAtIndex_inPropertyWithKey_withValue_( - int index, - NSString key, - NSObject value, - ) { - _lib._objc_msgSend_655( - this.pointer, - _lib._sel_replaceValueAtIndex_inPropertyWithKey_withValue_1, - index, - key.pointer, - value.pointer, - ); + int index, NSString key, NSObject value) { + _objc_msgSend_655( + this.pointer, + _sel_replaceValueAtIndex_inPropertyWithKey_withValue_, + index, + key.pointer, + value.pointer); } void insertValue_inPropertyWithKey_(NSObject value, NSString key) { - _lib._objc_msgSend_656( - this.pointer, - _lib._sel_insertValue_inPropertyWithKey_1, - value.pointer, - key.pointer, - ); + _objc_msgSend_656(this.pointer, _sel_insertValue_inPropertyWithKey_, + value.pointer, key.pointer); } NSObject? coerceValue_forKey_(NSObject? value, NSString key) { - final _ret = _lib._objc_msgSend_657( - this.pointer, - _lib._sel_coerceValue_forKey_1, - value?.pointer ?? ffi.nullptr, - key.pointer, - ); + final _ret = _objc_msgSend_657(this.pointer, _sel_coerceValue_forKey_, + value?.pointer ?? ffi.nullptr, key.pointer); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } NSScriptObjectSpecifier? get objectSpecifier { - final _ret = _lib._objc_msgSend_632( - this.pointer, - _lib._sel_objectSpecifier1, - ); + final _ret = _objc_msgSend_632(this.pointer, _sel_objectSpecifier); return _ret.address == 0 ? null - : NSScriptObjectSpecifier._(_ret, _lib, retain: true, release: true); + : NSScriptObjectSpecifier._(_ret, retain: true, release: true); } NSArray? indicesOfObjectsByEvaluatingObjectSpecifier_( - NSScriptObjectSpecifier specifier, - ) { - final _ret = _lib._objc_msgSend_658( - this.pointer, - _lib._sel_indicesOfObjectsByEvaluatingObjectSpecifier_1, - specifier.pointer, - ); + NSScriptObjectSpecifier specifier) { + final _ret = _objc_msgSend_658(this.pointer, + _sel_indicesOfObjectsByEvaluatingObjectSpecifier_, specifier.pointer); return _ret.address == 0 ? null - : NSArray._(_ret, _lib, retain: true, release: true); + : NSArray._(_ret, retain: true, release: true); } bool isEqualTo_(NSObject? object) { - return _lib._objc_msgSend_217( - this.pointer, - _lib._sel_isEqualTo_1, - object?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_217( + this.pointer, _sel_isEqualTo_, object?.pointer ?? ffi.nullptr); } bool isLessThanOrEqualTo_(NSObject? object) { - return _lib._objc_msgSend_217( - this.pointer, - _lib._sel_isLessThanOrEqualTo_1, - object?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_217(this.pointer, _sel_isLessThanOrEqualTo_, + object?.pointer ?? ffi.nullptr); } bool isLessThan_(NSObject? object) { - return _lib._objc_msgSend_217( - this.pointer, - _lib._sel_isLessThan_1, - object?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_217( + this.pointer, _sel_isLessThan_, object?.pointer ?? ffi.nullptr); } bool isGreaterThanOrEqualTo_(NSObject? object) { - return _lib._objc_msgSend_217( - this.pointer, - _lib._sel_isGreaterThanOrEqualTo_1, - object?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_217(this.pointer, _sel_isGreaterThanOrEqualTo_, + object?.pointer ?? ffi.nullptr); } bool isGreaterThan_(NSObject? object) { - return _lib._objc_msgSend_217( - this.pointer, - _lib._sel_isGreaterThan_1, - object?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_217( + this.pointer, _sel_isGreaterThan_, object?.pointer ?? ffi.nullptr); } bool isNotEqualTo_(NSObject? object) { - return _lib._objc_msgSend_217( - this.pointer, - _lib._sel_isNotEqualTo_1, - object?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_217( + this.pointer, _sel_isNotEqualTo_, object?.pointer ?? ffi.nullptr); } bool doesContain_(NSObject object) { - return _lib._objc_msgSend_0( - this.pointer, - _lib._sel_doesContain_1, - object.pointer, - ); + return _objc_msgSend_0(this.pointer, _sel_doesContain_, object.pointer); } bool isLike_(NSString object) { - return _lib._objc_msgSend_64( - this.pointer, - _lib._sel_isLike_1, - object.pointer, - ); + return _objc_msgSend_64(this.pointer, _sel_isLike_, object.pointer); } bool isCaseInsensitiveLike_(NSString object) { - return _lib._objc_msgSend_64( - this.pointer, - _lib._sel_isCaseInsensitiveLike_1, - object.pointer, - ); + return _objc_msgSend_64( + this.pointer, _sel_isCaseInsensitiveLike_, object.pointer); } bool scriptingIsEqualTo_(NSObject object) { - return _lib._objc_msgSend_0( - this.pointer, - _lib._sel_scriptingIsEqualTo_1, - object.pointer, - ); + return _objc_msgSend_0( + this.pointer, _sel_scriptingIsEqualTo_, object.pointer); } bool scriptingIsLessThanOrEqualTo_(NSObject object) { - return _lib._objc_msgSend_0( - this.pointer, - _lib._sel_scriptingIsLessThanOrEqualTo_1, - object.pointer, - ); + return _objc_msgSend_0( + this.pointer, _sel_scriptingIsLessThanOrEqualTo_, object.pointer); } bool scriptingIsLessThan_(NSObject object) { - return _lib._objc_msgSend_0( - this.pointer, - _lib._sel_scriptingIsLessThan_1, - object.pointer, - ); + return _objc_msgSend_0( + this.pointer, _sel_scriptingIsLessThan_, object.pointer); } bool scriptingIsGreaterThanOrEqualTo_(NSObject object) { - return _lib._objc_msgSend_0( - this.pointer, - _lib._sel_scriptingIsGreaterThanOrEqualTo_1, - object.pointer, - ); + return _objc_msgSend_0( + this.pointer, _sel_scriptingIsGreaterThanOrEqualTo_, object.pointer); } bool scriptingIsGreaterThan_(NSObject object) { - return _lib._objc_msgSend_0( - this.pointer, - _lib._sel_scriptingIsGreaterThan_1, - object.pointer, - ); + return _objc_msgSend_0( + this.pointer, _sel_scriptingIsGreaterThan_, object.pointer); } bool scriptingBeginsWith_(NSObject object) { - return _lib._objc_msgSend_0( - this.pointer, - _lib._sel_scriptingBeginsWith_1, - object.pointer, - ); + return _objc_msgSend_0( + this.pointer, _sel_scriptingBeginsWith_, object.pointer); } bool scriptingEndsWith_(NSObject object) { - return _lib._objc_msgSend_0( - this.pointer, - _lib._sel_scriptingEndsWith_1, - object.pointer, - ); + return _objc_msgSend_0( + this.pointer, _sel_scriptingEndsWith_, object.pointer); } bool scriptingContains_(NSObject object) { - return _lib._objc_msgSend_0( - this.pointer, - _lib._sel_scriptingContains_1, - object.pointer, - ); + return _objc_msgSend_0( + this.pointer, _sel_scriptingContains_, object.pointer); } } +late final _class_NSObject = objc.getClass("NSObject"); +late final _sel_load = objc.registerName("load"); +final _objc_msgSend_1 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + void Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_initialize = objc.registerName("initialize"); typedef instancetype = ffi.Pointer; typedef Dartinstancetype = NSObject; +late final _sel_init = objc.registerName("init"); +final _objc_msgSend_2 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function(ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + instancetype Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_new = objc.registerName("new"); final class _NSZone extends ffi.Opaque {} -class Protocol extends objc.ObjCObjectBase { - Protocol._( - ffi.Pointer pointer, - this._lib, { - bool retain = false, - bool release = false, - }) : super(pointer, retain: retain, release: release); +late final _sel_allocWithZone_ = objc.registerName("allocWithZone:"); +final _objc_msgSend_3 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer<_NSZone> zone)>>() + .asFunction< + instancetype Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer<_NSZone>)>(); +late final _sel_alloc = objc.registerName("alloc"); +late final _sel_dealloc = objc.registerName("dealloc"); +late final _sel_finalize = objc.registerName("finalize"); +late final _sel_copy = objc.registerName("copy"); +late final _sel_mutableCopy = objc.registerName("mutableCopy"); +late final _sel_copyWithZone_ = objc.registerName("copyWithZone:"); +late final _sel_mutableCopyWithZone_ = + objc.registerName("mutableCopyWithZone:"); +late final _sel_instancesRespondToSelector_ = + objc.registerName("instancesRespondToSelector:"); +final _objc_msgSend_4 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer aSelector)>>() + .asFunction< + bool Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); - AVFAudio _lib; +class Protocol extends objc.ObjCObjectBase { + Protocol._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super(pointer, retain: retain, release: release); /// Returns a [Protocol] that points to the same underlying object as [other]. - static Protocol castFrom( - AVFAudio lib, - T other, - ) { - return Protocol._(other.pointer, lib, retain: true, release: true); + static Protocol castFrom(T other) { + return Protocol._(other.pointer, retain: true, release: true); } /// Returns a [Protocol] that wraps the given raw object pointer. - static Protocol castFromPointer( - AVFAudio lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return Protocol._(other, lib, retain: retain, release: release); + static Protocol castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return Protocol._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [Protocol]. - static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_Protocol1, - ); - } -} + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0(obj.pointer, _sel_isKindOfClass_, _class_Protocol); + } +} + +final _objc_msgSend_0 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer clazz)>>() + .asFunction< + bool Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_isKindOfClass_ = objc.registerName("isKindOfClass:"); +late final _class_Protocol = objc.getClass("Protocol"); +late final _sel_conformsToProtocol_ = objc.registerName("conformsToProtocol:"); +final _objc_msgSend_5 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer protocol)>>() + .asFunction< + bool Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_methodForSelector_ = objc.registerName("methodForSelector:"); +final _objc_msgSend_6 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer> Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer aSelector)>>() + .asFunction< + ffi.Pointer> Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_instanceMethodForSelector_ = + objc.registerName("instanceMethodForSelector:"); +late final _sel_doesNotRecognizeSelector_ = + objc.registerName("doesNotRecognizeSelector:"); +final _objc_msgSend_7 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer aSelector)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_forwardingTargetForSelector_ = + objc.registerName("forwardingTargetForSelector:"); +final _objc_msgSend_8 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer aSelector)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); class NSInvocation extends NSObject { - NSInvocation._( - ffi.Pointer pointer, - AVFAudio lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSInvocation._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSInvocation] that points to the same underlying object as [other]. - static NSInvocation castFrom( - AVFAudio lib, - T other, - ) { - return NSInvocation._(other.pointer, lib, retain: true, release: true); + static NSInvocation castFrom(T other) { + return NSInvocation._(other.pointer, retain: true, release: true); } /// Returns a [NSInvocation] that wraps the given raw object pointer. - static NSInvocation castFromPointer( - AVFAudio lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSInvocation._(other, lib, retain: retain, release: release); + static NSInvocation castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSInvocation._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSInvocation]. - static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSInvocation1, - ); - } - - static NSInvocation invocationWithMethodSignature_( - AVFAudio _lib, - NSMethodSignature sig, - ) { - final _ret = _lib._objc_msgSend_414( - _lib._class_NSInvocation1, - _lib._sel_invocationWithMethodSignature_1, - sig.pointer, - ); - return NSInvocation._(_ret, _lib, retain: true, release: true); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0( + obj.pointer, _sel_isKindOfClass_, _class_NSInvocation); + } + + static NSInvocation invocationWithMethodSignature_(NSMethodSignature sig) { + final _ret = _objc_msgSend_414( + _class_NSInvocation, _sel_invocationWithMethodSignature_, sig.pointer); + return NSInvocation._(_ret, retain: true, release: true); } NSMethodSignature get methodSignature { - final _ret = _lib._objc_msgSend_415( - this.pointer, - _lib._sel_methodSignature1, - ); - return NSMethodSignature._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_415(this.pointer, _sel_methodSignature); + return NSMethodSignature._(_ret, retain: true, release: true); } void retainArguments() { - _lib._objc_msgSend_1(this.pointer, _lib._sel_retainArguments1); + _objc_msgSend_1(this.pointer, _sel_retainArguments); } bool get argumentsRetained { - return _lib._objc_msgSend_12(this.pointer, _lib._sel_argumentsRetained1); + return _objc_msgSend_12(this.pointer, _sel_argumentsRetained); } NSObject? get target { - final _ret = _lib._objc_msgSend_17(this.pointer, _lib._sel_target1); + final _ret = _objc_msgSend_17(this.pointer, _sel_target); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } set target(NSObject? value) { - return _lib._objc_msgSend_416( - this.pointer, - _lib._sel_setTarget_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_416( + this.pointer, _sel_setTarget_, value?.pointer ?? ffi.nullptr); } ffi.Pointer get selector { - return _lib._objc_msgSend_417(this.pointer, _lib._sel_selector1); + return _objc_msgSend_417(this.pointer, _sel_selector); } set selector(ffi.Pointer value) { - return _lib._objc_msgSend_418(this.pointer, _lib._sel_setSelector_1, value); + return _objc_msgSend_418(this.pointer, _sel_setSelector_, value); } void getReturnValue_(ffi.Pointer retLoc) { - _lib._objc_msgSend_52(this.pointer, _lib._sel_getReturnValue_1, retLoc); + _objc_msgSend_52(this.pointer, _sel_getReturnValue_, retLoc); } void setReturnValue_(ffi.Pointer retLoc) { - _lib._objc_msgSend_52(this.pointer, _lib._sel_setReturnValue_1, retLoc); + _objc_msgSend_52(this.pointer, _sel_setReturnValue_, retLoc); } void getArgument_atIndex_(ffi.Pointer argumentLocation, int idx) { - _lib._objc_msgSend_419( - this.pointer, - _lib._sel_getArgument_atIndex_1, - argumentLocation, - idx, - ); + _objc_msgSend_419( + this.pointer, _sel_getArgument_atIndex_, argumentLocation, idx); } void setArgument_atIndex_(ffi.Pointer argumentLocation, int idx) { - _lib._objc_msgSend_419( - this.pointer, - _lib._sel_setArgument_atIndex_1, - argumentLocation, - idx, - ); + _objc_msgSend_419( + this.pointer, _sel_setArgument_atIndex_, argumentLocation, idx); } void invoke() { - _lib._objc_msgSend_1(this.pointer, _lib._sel_invoke1); + _objc_msgSend_1(this.pointer, _sel_invoke); } void invokeWithTarget_(NSObject target) { - _lib._objc_msgSend_15( - this.pointer, - _lib._sel_invokeWithTarget_1, - target.pointer, - ); + _objc_msgSend_15(this.pointer, _sel_invokeWithTarget_, target.pointer); } void invokeUsingIMP_( - ffi.Pointer> imp, - ) { - _lib._objc_msgSend_420(this.pointer, _lib._sel_invokeUsingIMP_1, imp); + ffi.Pointer> imp) { + _objc_msgSend_420(this.pointer, _sel_invokeUsingIMP_, imp); } @override NSInvocation init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSInvocation._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSInvocation._(_ret, retain: true, release: true); } - static NSInvocation new1(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSInvocation1, - _lib._sel_new1, - ); - return NSInvocation._(_ret, _lib, retain: false, release: true); + static NSInvocation new1() { + final _ret = _objc_msgSend_2(_class_NSInvocation, _sel_new); + return NSInvocation._(_ret, retain: false, release: true); } - static NSInvocation allocWithZone_(AVFAudio _lib, ffi.Pointer<_NSZone> zone) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSInvocation1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSInvocation._(_ret, _lib, retain: false, release: true); + static NSInvocation allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = + _objc_msgSend_3(_class_NSInvocation, _sel_allocWithZone_, zone); + return NSInvocation._(_ret, retain: false, release: true); } - static NSInvocation alloc(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSInvocation1, - _lib._sel_alloc1, - ); - return NSInvocation._(_ret, _lib, retain: false, release: true); + static NSInvocation alloc() { + final _ret = _objc_msgSend_2(_class_NSInvocation, _sel_alloc); + return NSInvocation._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSInvocation1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSInvocation1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSInvocation1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSInvocation1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSInvocation1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSInvocation1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSInvocation, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); + } + + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSInvocation, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); + } + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSInvocation, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSInvocation, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSInvocation, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSInvocation, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); } static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSInvocation1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSInvocation1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSInvocation1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSInvocation, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = _objc_msgSend_85( + _class_NSInvocation, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = + _objc_msgSend_2(_class_NSInvocation, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); } } +late final _class_NSInvocation = objc.getClass("NSInvocation"); + class NSMethodSignature extends NSObject { - NSMethodSignature._( - ffi.Pointer pointer, - AVFAudio lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSMethodSignature._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSMethodSignature] that points to the same underlying object as [other]. - static NSMethodSignature castFrom( - AVFAudio lib, - T other, - ) { - return NSMethodSignature._(other.pointer, lib, retain: true, release: true); + static NSMethodSignature castFrom(T other) { + return NSMethodSignature._(other.pointer, retain: true, release: true); } /// Returns a [NSMethodSignature] that wraps the given raw object pointer. - static NSMethodSignature castFromPointer( - AVFAudio lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSMethodSignature._(other, lib, retain: retain, release: release); + static NSMethodSignature castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSMethodSignature._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSMethodSignature]. - static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSMethodSignature1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0( + obj.pointer, _sel_isKindOfClass_, _class_NSMethodSignature); } static NSMethodSignature? signatureWithObjCTypes_( - AVFAudio _lib, - ffi.Pointer types, - ) { - final _ret = _lib._objc_msgSend_9( - _lib._class_NSMethodSignature1, - _lib._sel_signatureWithObjCTypes_1, - types, - ); + ffi.Pointer types) { + final _ret = _objc_msgSend_9( + _class_NSMethodSignature, _sel_signatureWithObjCTypes_, types); return _ret.address == 0 ? null - : NSMethodSignature._(_ret, _lib, retain: true, release: true); + : NSMethodSignature._(_ret, retain: true, release: true); } int get numberOfArguments { - return _lib._objc_msgSend_10(this.pointer, _lib._sel_numberOfArguments1); + return _objc_msgSend_10(this.pointer, _sel_numberOfArguments); } ffi.Pointer getArgumentTypeAtIndex_(int idx) { - return _lib._objc_msgSend_11( - this.pointer, - _lib._sel_getArgumentTypeAtIndex_1, - idx, - ); + return _objc_msgSend_11(this.pointer, _sel_getArgumentTypeAtIndex_, idx); } int get frameLength { - return _lib._objc_msgSend_10(this.pointer, _lib._sel_frameLength1); + return _objc_msgSend_10(this.pointer, _sel_frameLength); } bool isOneway() { - return _lib._objc_msgSend_12(this.pointer, _lib._sel_isOneway1); + return _objc_msgSend_12(this.pointer, _sel_isOneway); } ffi.Pointer get methodReturnType { - return _lib._objc_msgSend_13(this.pointer, _lib._sel_methodReturnType1); + return _objc_msgSend_13(this.pointer, _sel_methodReturnType); } int get methodReturnLength { - return _lib._objc_msgSend_10(this.pointer, _lib._sel_methodReturnLength1); + return _objc_msgSend_10(this.pointer, _sel_methodReturnLength); } @override NSMethodSignature init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSMethodSignature._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSMethodSignature._(_ret, retain: true, release: true); } - static NSMethodSignature new1(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSMethodSignature1, - _lib._sel_new1, - ); - return NSMethodSignature._(_ret, _lib, retain: false, release: true); + static NSMethodSignature new1() { + final _ret = _objc_msgSend_2(_class_NSMethodSignature, _sel_new); + return NSMethodSignature._(_ret, retain: false, release: true); } - static NSMethodSignature allocWithZone_( - AVFAudio _lib, - ffi.Pointer<_NSZone> zone, - ) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSMethodSignature1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSMethodSignature._(_ret, _lib, retain: false, release: true); + static NSMethodSignature allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = + _objc_msgSend_3(_class_NSMethodSignature, _sel_allocWithZone_, zone); + return NSMethodSignature._(_ret, retain: false, release: true); } - static NSMethodSignature alloc(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSMethodSignature1, - _lib._sel_alloc1, - ); - return NSMethodSignature._(_ret, _lib, retain: false, release: true); + static NSMethodSignature alloc() { + final _ret = _objc_msgSend_2(_class_NSMethodSignature, _sel_alloc); + return NSMethodSignature._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSMethodSignature1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSMethodSignature1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSMethodSignature1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSMethodSignature1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSMethodSignature1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSMethodSignature1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSMethodSignature, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); } - static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSMethodSignature1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSMethodSignature1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSMethodSignature1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSMethodSignature, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); + } + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSMethodSignature, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSMethodSignature, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSMethodSignature, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSMethodSignature, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); } -} + + static void setKeys_triggerChangeNotificationsForDependentKey_( + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSMethodSignature, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = _objc_msgSend_85( + _class_NSMethodSignature, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = + _objc_msgSend_2(_class_NSMethodSignature, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); + } +} + +late final _class_NSMethodSignature = objc.getClass("NSMethodSignature"); +late final _sel_signatureWithObjCTypes_ = + objc.registerName("signatureWithObjCTypes:"); +final _objc_msgSend_9 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer types)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_numberOfArguments = objc.registerName("numberOfArguments"); +final _objc_msgSend_10 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.UnsignedLong Function(ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + int Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_getArgumentTypeAtIndex_ = + objc.registerName("getArgumentTypeAtIndex:"); +final _objc_msgSend_11 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function(ffi.Pointer obj, + ffi.Pointer sel, ffi.UnsignedLong idx)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, int)>(); +late final _sel_frameLength = objc.registerName("frameLength"); +late final _sel_isOneway = objc.registerName("isOneway"); +final _objc_msgSend_12 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function(ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + bool Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_methodReturnType = objc.registerName("methodReturnType"); +final _objc_msgSend_13 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function(ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_methodReturnLength = objc.registerName("methodReturnLength"); +late final _sel_cancelPreviousPerformRequestsWithTarget_selector_object_ = objc + .registerName("cancelPreviousPerformRequestsWithTarget:selector:object:"); +final _objc_msgSend_14 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer aTarget, + ffi.Pointer aSelector, + ffi.Pointer anArgument)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_cancelPreviousPerformRequestsWithTarget_ = + objc.registerName("cancelPreviousPerformRequestsWithTarget:"); +final _objc_msgSend_15 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer aTarget)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_accessInstanceVariablesDirectly = + objc.registerName("accessInstanceVariablesDirectly"); +late final _sel_useStoredAccessor = objc.registerName("useStoredAccessor"); class NSSet extends NSObject { - NSSet._( - ffi.Pointer pointer, - AVFAudio lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSSet._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSSet] that points to the same underlying object as [other]. - static NSSet castFrom(AVFAudio lib, T other) { - return NSSet._(other.pointer, lib, retain: true, release: true); + static NSSet castFrom(T other) { + return NSSet._(other.pointer, retain: true, release: true); } /// Returns a [NSSet] that wraps the given raw object pointer. - static NSSet castFromPointer( - AVFAudio lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSSet._(other, lib, retain: retain, release: release); + static NSSet castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSSet._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSSet]. - static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSSet1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0(obj.pointer, _sel_isKindOfClass_, _class_NSSet); } int get count { - return _lib._objc_msgSend_10(this.pointer, _lib._sel_count1); + return _objc_msgSend_10(this.pointer, _sel_count); } NSObject? member_(NSObject object) { - final _ret = _lib._objc_msgSend_16( - this.pointer, - _lib._sel_member_1, - object.pointer, - ); + final _ret = _objc_msgSend_16(this.pointer, _sel_member_, object.pointer); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } NSEnumerator objectEnumerator() { - final _ret = _lib._objc_msgSend_77( - this.pointer, - _lib._sel_objectEnumerator1, - ); - return NSEnumerator._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_77(this.pointer, _sel_objectEnumerator); + return NSEnumerator._(_ret, retain: true, release: true); } @override NSSet init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSSet._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSSet._(_ret, retain: true, release: true); } NSSet initWithObjects_count_( - ffi.Pointer> objects, - int cnt, - ) { - final _ret = _lib._objc_msgSend_66( - this.pointer, - _lib._sel_initWithObjects_count_1, - objects, - cnt, - ); - return NSSet._(_ret, _lib, retain: true, release: true); + ffi.Pointer> objects, int cnt) { + final _ret = _objc_msgSend_66( + this.pointer, _sel_initWithObjects_count_, objects, cnt); + return NSSet._(_ret, retain: true, release: true); } NSSet? initWithCoder_(NSCoder coder) { - final _ret = _lib._objc_msgSend_47( - this.pointer, - _lib._sel_initWithCoder_1, - coder.pointer, - ); + final _ret = + _objc_msgSend_47(this.pointer, _sel_initWithCoder_, coder.pointer); return _ret.address == 0 ? null - : NSSet._(_ret, _lib, retain: true, release: true); + : NSSet._(_ret, retain: true, release: true); } NSArray get allObjects { - final _ret = _lib._objc_msgSend_85(this.pointer, _lib._sel_allObjects1); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_85(this.pointer, _sel_allObjects); + return NSArray._(_ret, retain: true, release: true); } NSObject? anyObject() { - final _ret = _lib._objc_msgSend_17(this.pointer, _lib._sel_anyObject1); + final _ret = _objc_msgSend_17(this.pointer, _sel_anyObject); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } bool containsObject_(NSObject anObject) { - return _lib._objc_msgSend_0( - this.pointer, - _lib._sel_containsObject_1, - anObject.pointer, - ); + return _objc_msgSend_0( + this.pointer, _sel_containsObject_, anObject.pointer); } NSString get description { - final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_description1); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_description); + return NSString._(_ret, retain: true, release: true); } NSString descriptionWithLocale_(NSObject? locale) { - final _ret = _lib._objc_msgSend_70( - this.pointer, - _lib._sel_descriptionWithLocale_1, - locale?.pointer ?? ffi.nullptr, - ); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_70(this.pointer, _sel_descriptionWithLocale_, + locale?.pointer ?? ffi.nullptr); + return NSString._(_ret, retain: true, release: true); } bool intersectsSet_(NSSet otherSet) { - return _lib._objc_msgSend_403( - this.pointer, - _lib._sel_intersectsSet_1, - otherSet.pointer, - ); + return _objc_msgSend_403( + this.pointer, _sel_intersectsSet_, otherSet.pointer); } bool isEqualToSet_(NSSet otherSet) { - return _lib._objc_msgSend_403( - this.pointer, - _lib._sel_isEqualToSet_1, - otherSet.pointer, - ); + return _objc_msgSend_403( + this.pointer, _sel_isEqualToSet_, otherSet.pointer); } bool isSubsetOfSet_(NSSet otherSet) { - return _lib._objc_msgSend_403( - this.pointer, - _lib._sel_isSubsetOfSet_1, - otherSet.pointer, - ); + return _objc_msgSend_403( + this.pointer, _sel_isSubsetOfSet_, otherSet.pointer); } void makeObjectsPerformSelector_(ffi.Pointer aSelector) { - _lib._objc_msgSend_7( - this.pointer, - _lib._sel_makeObjectsPerformSelector_1, - aSelector, - ); + _objc_msgSend_7(this.pointer, _sel_makeObjectsPerformSelector_, aSelector); } void makeObjectsPerformSelector_withObject_( - ffi.Pointer aSelector, - NSObject? argument, - ) { - _lib._objc_msgSend_90( - this.pointer, - _lib._sel_makeObjectsPerformSelector_withObject_1, - aSelector, - argument?.pointer ?? ffi.nullptr, - ); + ffi.Pointer aSelector, NSObject? argument) { + _objc_msgSend_90(this.pointer, _sel_makeObjectsPerformSelector_withObject_, + aSelector, argument?.pointer ?? ffi.nullptr); } NSSet setByAddingObject_(NSObject anObject) { - final _ret = _lib._objc_msgSend_404( - this.pointer, - _lib._sel_setByAddingObject_1, - anObject.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_404( + this.pointer, _sel_setByAddingObject_, anObject.pointer); + return NSSet._(_ret, retain: true, release: true); } NSSet setByAddingObjectsFromSet_(NSSet other) { - final _ret = _lib._objc_msgSend_405( - this.pointer, - _lib._sel_setByAddingObjectsFromSet_1, - other.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_405( + this.pointer, _sel_setByAddingObjectsFromSet_, other.pointer); + return NSSet._(_ret, retain: true, release: true); } NSSet setByAddingObjectsFromArray_(NSArray other) { - final _ret = _lib._objc_msgSend_406( - this.pointer, - _lib._sel_setByAddingObjectsFromArray_1, - other.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_406( + this.pointer, _sel_setByAddingObjectsFromArray_, other.pointer); + return NSSet._(_ret, retain: true, release: true); } void enumerateObjectsUsingBlock_( - ObjCBlock_ffiVoid_objcObjCObject_bool block, - ) { - _lib._objc_msgSend_407( - this.pointer, - _lib._sel_enumerateObjectsUsingBlock_1, - block.pointer, - ); + ObjCBlock_ffiVoid_objcObjCObject_bool block) { + _objc_msgSend_407( + this.pointer, _sel_enumerateObjectsUsingBlock_, block.pointer); } void enumerateObjectsWithOptions_usingBlock_( - int opts, - ObjCBlock_ffiVoid_objcObjCObject_bool block, - ) { - _lib._objc_msgSend_408( - this.pointer, - _lib._sel_enumerateObjectsWithOptions_usingBlock_1, - opts, - block.pointer, - ); + int opts, ObjCBlock_ffiVoid_objcObjCObject_bool block) { + _objc_msgSend_408(this.pointer, + _sel_enumerateObjectsWithOptions_usingBlock_, opts, block.pointer); } NSSet objectsPassingTest_(ObjCBlock_bool_objcObjCObject_bool predicate) { - final _ret = _lib._objc_msgSend_409( - this.pointer, - _lib._sel_objectsPassingTest_1, - predicate.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_409( + this.pointer, _sel_objectsPassingTest_, predicate.pointer); + return NSSet._(_ret, retain: true, release: true); } NSSet objectsWithOptions_passingTest_( - int opts, - ObjCBlock_bool_objcObjCObject_bool predicate, - ) { - final _ret = _lib._objc_msgSend_410( - this.pointer, - _lib._sel_objectsWithOptions_passingTest_1, - opts, - predicate.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); + int opts, ObjCBlock_bool_objcObjCObject_bool predicate) { + final _ret = _objc_msgSend_410(this.pointer, + _sel_objectsWithOptions_passingTest_, opts, predicate.pointer); + return NSSet._(_ret, retain: true, release: true); } - static NSSet set1(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2(_lib._class_NSSet1, _lib._sel_set1); - return NSSet._(_ret, _lib, retain: true, release: true); + static NSSet set1() { + final _ret = _objc_msgSend_2(_class_NSSet, _sel_set); + return NSSet._(_ret, retain: true, release: true); } - static NSSet setWithObject_(AVFAudio _lib, NSObject object) { - final _ret = _lib._objc_msgSend_124( - _lib._class_NSSet1, - _lib._sel_setWithObject_1, - object.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); + static NSSet setWithObject_(NSObject object) { + final _ret = + _objc_msgSend_124(_class_NSSet, _sel_setWithObject_, object.pointer); + return NSSet._(_ret, retain: true, release: true); } static NSSet setWithObjects_count_( - AVFAudio _lib, - ffi.Pointer> objects, - int cnt, - ) { - final _ret = _lib._objc_msgSend_66( - _lib._class_NSSet1, - _lib._sel_setWithObjects_count_1, - objects, - cnt, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static NSSet setWithObjects_(AVFAudio _lib, NSObject firstObj) { - final _ret = _lib._objc_msgSend_124( - _lib._class_NSSet1, - _lib._sel_setWithObjects_1, - firstObj.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static NSSet setWithSet_(AVFAudio _lib, NSSet set) { - final _ret = _lib._objc_msgSend_411( - _lib._class_NSSet1, - _lib._sel_setWithSet_1, - set.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static NSSet setWithArray_(AVFAudio _lib, NSArray array) { - final _ret = _lib._objc_msgSend_125( - _lib._class_NSSet1, - _lib._sel_setWithArray_1, - array.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); + ffi.Pointer> objects, int cnt) { + final _ret = _objc_msgSend_66( + _class_NSSet, _sel_setWithObjects_count_, objects, cnt); + return NSSet._(_ret, retain: true, release: true); + } + + static NSSet setWithObjects_(NSObject firstObj) { + final _ret = + _objc_msgSend_124(_class_NSSet, _sel_setWithObjects_, firstObj.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static NSSet setWithSet_(NSSet set) { + final _ret = _objc_msgSend_411(_class_NSSet, _sel_setWithSet_, set.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static NSSet setWithArray_(NSArray array) { + final _ret = + _objc_msgSend_125(_class_NSSet, _sel_setWithArray_, array.pointer); + return NSSet._(_ret, retain: true, release: true); } NSSet initWithObjects_(NSObject firstObj) { - final _ret = _lib._objc_msgSend_124( - this.pointer, - _lib._sel_initWithObjects_1, - firstObj.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_124( + this.pointer, _sel_initWithObjects_, firstObj.pointer); + return NSSet._(_ret, retain: true, release: true); } NSSet initWithSet_(NSSet set) { - final _ret = _lib._objc_msgSend_411( - this.pointer, - _lib._sel_initWithSet_1, - set.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_411(this.pointer, _sel_initWithSet_, set.pointer); + return NSSet._(_ret, retain: true, release: true); } NSSet initWithSet_copyItems_(NSSet set, bool flag) { - final _ret = _lib._objc_msgSend_412( - this.pointer, - _lib._sel_initWithSet_copyItems_1, - set.pointer, - flag, - ); - return NSSet._(_ret, _lib, retain: false, release: true); + final _ret = _objc_msgSend_412( + this.pointer, _sel_initWithSet_copyItems_, set.pointer, flag); + return NSSet._(_ret, retain: false, release: true); } NSSet initWithArray_(NSArray array) { - final _ret = _lib._objc_msgSend_125( - this.pointer, - _lib._sel_initWithArray_1, - array.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_125(this.pointer, _sel_initWithArray_, array.pointer); + return NSSet._(_ret, retain: true, release: true); } NSObject valueForKey_(NSString key) { - final _ret = _lib._objc_msgSend_31( - this.pointer, - _lib._sel_valueForKey_1, - key.pointer, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_31(this.pointer, _sel_valueForKey_, key.pointer); + return NSObject._(_ret, retain: true, release: true); } @override void setValue_forKey_(NSObject? value, NSString key) { - _lib._objc_msgSend_135( - this.pointer, - _lib._sel_setValue_forKey_1, - value?.pointer ?? ffi.nullptr, - key.pointer, - ); + _objc_msgSend_135(this.pointer, _sel_setValue_forKey_, + value?.pointer ?? ffi.nullptr, key.pointer); } @override - void addObserver_forKeyPath_options_context_( - NSObject observer, - NSString keyPath, - int options, - ffi.Pointer context, - ) { - _lib._objc_msgSend_139( - this.pointer, - _lib._sel_addObserver_forKeyPath_options_context_1, - observer.pointer, - keyPath.pointer, - options, - context, - ); + void addObserver_forKeyPath_options_context_(NSObject observer, + NSString keyPath, int options, ffi.Pointer context) { + _objc_msgSend_139( + this.pointer, + _sel_addObserver_forKeyPath_options_context_, + observer.pointer, + keyPath.pointer, + options, + context); } @override void removeObserver_forKeyPath_context_( - NSObject observer, - NSString keyPath, - ffi.Pointer context, - ) { - _lib._objc_msgSend_140( - this.pointer, - _lib._sel_removeObserver_forKeyPath_context_1, - observer.pointer, - keyPath.pointer, - context, - ); + NSObject observer, NSString keyPath, ffi.Pointer context) { + _objc_msgSend_140(this.pointer, _sel_removeObserver_forKeyPath_context_, + observer.pointer, keyPath.pointer, context); } @override void removeObserver_forKeyPath_(NSObject observer, NSString keyPath) { - _lib._objc_msgSend_141( - this.pointer, - _lib._sel_removeObserver_forKeyPath_1, - observer.pointer, - keyPath.pointer, - ); + _objc_msgSend_141(this.pointer, _sel_removeObserver_forKeyPath_, + observer.pointer, keyPath.pointer); } NSArray sortedArrayUsingDescriptors_(NSArray sortDescriptors) { - final _ret = _lib._objc_msgSend_68( - this.pointer, - _lib._sel_sortedArrayUsingDescriptors_1, - sortDescriptors.pointer, - ); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_68(this.pointer, + _sel_sortedArrayUsingDescriptors_, sortDescriptors.pointer); + return NSArray._(_ret, retain: true, release: true); } NSSet filteredSetUsingPredicate_(NSPredicate predicate) { - final _ret = _lib._objc_msgSend_413( - this.pointer, - _lib._sel_filteredSetUsingPredicate_1, - predicate.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_413( + this.pointer, _sel_filteredSetUsingPredicate_, predicate.pointer); + return NSSet._(_ret, retain: true, release: true); } - static NSSet new1(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2(_lib._class_NSSet1, _lib._sel_new1); - return NSSet._(_ret, _lib, retain: false, release: true); + static NSSet new1() { + final _ret = _objc_msgSend_2(_class_NSSet, _sel_new); + return NSSet._(_ret, retain: false, release: true); } - static NSSet allocWithZone_(AVFAudio _lib, ffi.Pointer<_NSZone> zone) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSSet1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSSet._(_ret, _lib, retain: false, release: true); + static NSSet allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = _objc_msgSend_3(_class_NSSet, _sel_allocWithZone_, zone); + return NSSet._(_ret, retain: false, release: true); } - static NSSet alloc(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2(_lib._class_NSSet1, _lib._sel_alloc1); - return NSSet._(_ret, _lib, retain: false, release: true); + static NSSet alloc() { + final _ret = _objc_msgSend_2(_class_NSSet, _sel_alloc); + return NSSet._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSSet1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSSet1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSSet1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSSet1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSSet1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSSet1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSSet, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); + } + + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSSet, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); + } + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12(_class_NSSet, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSSet, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63( + _class_NSSet, _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64( + _class_NSSet, _sel_automaticallyNotifiesObserversForKey_, key.pointer); } static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSSet1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSSet1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSSet1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSSet, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = + _objc_msgSend_85(_class_NSSet, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = _objc_msgSend_2(_class_NSSet, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); } } +late final _class_NSSet = objc.getClass("NSSet"); +late final _sel_count = objc.registerName("count"); +late final _sel_member_ = objc.registerName("member:"); +final _objc_msgSend_16 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer object)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); + class NSEnumerator extends NSObject { - NSEnumerator._( - ffi.Pointer pointer, - AVFAudio lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSEnumerator._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSEnumerator] that points to the same underlying object as [other]. - static NSEnumerator castFrom( - AVFAudio lib, - T other, - ) { - return NSEnumerator._(other.pointer, lib, retain: true, release: true); + static NSEnumerator castFrom(T other) { + return NSEnumerator._(other.pointer, retain: true, release: true); } /// Returns a [NSEnumerator] that wraps the given raw object pointer. - static NSEnumerator castFromPointer( - AVFAudio lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSEnumerator._(other, lib, retain: retain, release: release); + static NSEnumerator castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSEnumerator._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSEnumerator]. - static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSEnumerator1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0( + obj.pointer, _sel_isKindOfClass_, _class_NSEnumerator); } NSObject? nextObject() { - final _ret = _lib._objc_msgSend_17(this.pointer, _lib._sel_nextObject1); + final _ret = _objc_msgSend_17(this.pointer, _sel_nextObject); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } NSObject get allObjects { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_allObjects1); - return NSObject._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_allObjects); + return NSObject._(_ret, retain: true, release: true); } @override NSEnumerator init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSEnumerator._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSEnumerator._(_ret, retain: true, release: true); } - static NSEnumerator new1(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSEnumerator1, - _lib._sel_new1, - ); - return NSEnumerator._(_ret, _lib, retain: false, release: true); + static NSEnumerator new1() { + final _ret = _objc_msgSend_2(_class_NSEnumerator, _sel_new); + return NSEnumerator._(_ret, retain: false, release: true); } - static NSEnumerator allocWithZone_(AVFAudio _lib, ffi.Pointer<_NSZone> zone) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSEnumerator1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSEnumerator._(_ret, _lib, retain: false, release: true); + static NSEnumerator allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = + _objc_msgSend_3(_class_NSEnumerator, _sel_allocWithZone_, zone); + return NSEnumerator._(_ret, retain: false, release: true); } - static NSEnumerator alloc(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSEnumerator1, - _lib._sel_alloc1, - ); - return NSEnumerator._(_ret, _lib, retain: false, release: true); + static NSEnumerator alloc() { + final _ret = _objc_msgSend_2(_class_NSEnumerator, _sel_alloc); + return NSEnumerator._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSEnumerator1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSEnumerator1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSEnumerator1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSEnumerator1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSEnumerator1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSEnumerator1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSEnumerator, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); + } + + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSEnumerator, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); + } + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSEnumerator, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSEnumerator, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSEnumerator, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSEnumerator, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); } static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSEnumerator1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSEnumerator1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSEnumerator1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSEnumerator, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = _objc_msgSend_85( + _class_NSEnumerator, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = + _objc_msgSend_2(_class_NSEnumerator, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); } } +late final _class_NSEnumerator = objc.getClass("NSEnumerator"); +late final _sel_nextObject = objc.registerName("nextObject"); +final _objc_msgSend_17 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_allObjects = objc.registerName("allObjects"); + class NSString extends NSObject { - NSString._( - ffi.Pointer pointer, - AVFAudio lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSString._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSString] that points to the same underlying object as [other]. - static NSString castFrom( - AVFAudio lib, - T other, - ) { - return NSString._(other.pointer, lib, retain: true, release: true); + static NSString castFrom(T other) { + return NSString._(other.pointer, retain: true, release: true); } /// Returns a [NSString] that wraps the given raw object pointer. - static NSString castFromPointer( - AVFAudio lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSString._(other, lib, retain: retain, release: release); + static NSString castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSString._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSString]. - static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSString1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0(obj.pointer, _sel_isKindOfClass_, _class_NSString); } - factory NSString(AVFAudio _lib, String str) { + factory NSString(String str) { final cstr = str.toNativeUtf16(); - final nsstr = stringWithCharacters_length_(_lib, cstr.cast(), str.length); + final nsstr = stringWithCharacters_length_(cstr.cast(), str.length); pkg_ffi.calloc.free(cstr); return nsstr; } @override String toString() { - final data = dataUsingEncoding_( - 0x94000100 /* NSUTF16LittleEndianStringEncoding */, - ); + final data = + dataUsingEncoding_(0x94000100 /* NSUTF16LittleEndianStringEncoding */); return data!.bytes.cast().toDartString(length: length); } int get length { - return _lib._objc_msgSend_10(this.pointer, _lib._sel_length1); + return _objc_msgSend_10(this.pointer, _sel_length); } int characterAtIndex_(int index) { - return _lib._objc_msgSend_18( - this.pointer, - _lib._sel_characterAtIndex_1, - index, - ); + return _objc_msgSend_18(this.pointer, _sel_characterAtIndex_, index); } @override NSString init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSString._(_ret, retain: true, release: true); } NSString? initWithCoder_(NSCoder coder) { - final _ret = _lib._objc_msgSend_47( - this.pointer, - _lib._sel_initWithCoder_1, - coder.pointer, - ); + final _ret = + _objc_msgSend_47(this.pointer, _sel_initWithCoder_, coder.pointer); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } NSString substringFromIndex_(int from) { - final _ret = _lib._objc_msgSend_332( - this.pointer, - _lib._sel_substringFromIndex_1, - from, - ); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_332(this.pointer, _sel_substringFromIndex_, from); + return NSString._(_ret, retain: true, release: true); } NSString substringToIndex_(int to) { - final _ret = _lib._objc_msgSend_332( - this.pointer, - _lib._sel_substringToIndex_1, - to, - ); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_332(this.pointer, _sel_substringToIndex_, to); + return NSString._(_ret, retain: true, release: true); } NSString substringWithRange_(_NSRange range) { - final _ret = _lib._objc_msgSend_333( - this.pointer, - _lib._sel_substringWithRange_1, - range, - ); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_333(this.pointer, _sel_substringWithRange_, range); + return NSString._(_ret, retain: true, release: true); } void getCharacters_range_( - ffi.Pointer buffer, - _NSRange range, - ) { - _lib._objc_msgSend_334( - this.pointer, - _lib._sel_getCharacters_range_1, - buffer, - range, - ); + ffi.Pointer buffer, _NSRange range) { + _objc_msgSend_334(this.pointer, _sel_getCharacters_range_, buffer, range); } int compare_(NSString string) { - return _lib._objc_msgSend_335( - this.pointer, - _lib._sel_compare_1, - string.pointer, - ); + return _objc_msgSend_335(this.pointer, _sel_compare_, string.pointer); } int compare_options_(NSString string, int mask) { - return _lib._objc_msgSend_336( - this.pointer, - _lib._sel_compare_options_1, - string.pointer, - mask, - ); + return _objc_msgSend_336( + this.pointer, _sel_compare_options_, string.pointer, mask); } int compare_options_range_( - NSString string, - int mask, - _NSRange rangeOfReceiverToCompare, - ) { - return _lib._objc_msgSend_337( - this.pointer, - _lib._sel_compare_options_range_1, - string.pointer, - mask, - rangeOfReceiverToCompare, - ); - } - - int compare_options_range_locale_( - NSString string, - int mask, - _NSRange rangeOfReceiverToCompare, - NSObject? locale, - ) { - return _lib._objc_msgSend_338( - this.pointer, - _lib._sel_compare_options_range_locale_1, - string.pointer, - mask, - rangeOfReceiverToCompare, - locale?.pointer ?? ffi.nullptr, - ); + NSString string, int mask, _NSRange rangeOfReceiverToCompare) { + return _objc_msgSend_337(this.pointer, _sel_compare_options_range_, + string.pointer, mask, rangeOfReceiverToCompare); + } + + int compare_options_range_locale_(NSString string, int mask, + _NSRange rangeOfReceiverToCompare, NSObject? locale) { + return _objc_msgSend_338( + this.pointer, + _sel_compare_options_range_locale_, + string.pointer, + mask, + rangeOfReceiverToCompare, + locale?.pointer ?? ffi.nullptr); } int caseInsensitiveCompare_(NSString string) { - return _lib._objc_msgSend_335( - this.pointer, - _lib._sel_caseInsensitiveCompare_1, - string.pointer, - ); + return _objc_msgSend_335( + this.pointer, _sel_caseInsensitiveCompare_, string.pointer); } int localizedCompare_(NSString string) { - return _lib._objc_msgSend_335( - this.pointer, - _lib._sel_localizedCompare_1, - string.pointer, - ); + return _objc_msgSend_335( + this.pointer, _sel_localizedCompare_, string.pointer); } int localizedCaseInsensitiveCompare_(NSString string) { - return _lib._objc_msgSend_335( - this.pointer, - _lib._sel_localizedCaseInsensitiveCompare_1, - string.pointer, - ); + return _objc_msgSend_335( + this.pointer, _sel_localizedCaseInsensitiveCompare_, string.pointer); } int localizedStandardCompare_(NSString string) { - return _lib._objc_msgSend_335( - this.pointer, - _lib._sel_localizedStandardCompare_1, - string.pointer, - ); + return _objc_msgSend_335( + this.pointer, _sel_localizedStandardCompare_, string.pointer); } bool isEqualToString_(NSString aString) { - return _lib._objc_msgSend_64( - this.pointer, - _lib._sel_isEqualToString_1, - aString.pointer, - ); + return _objc_msgSend_64( + this.pointer, _sel_isEqualToString_, aString.pointer); } bool hasPrefix_(NSString str) { - return _lib._objc_msgSend_64( - this.pointer, - _lib._sel_hasPrefix_1, - str.pointer, - ); + return _objc_msgSend_64(this.pointer, _sel_hasPrefix_, str.pointer); } bool hasSuffix_(NSString str) { - return _lib._objc_msgSend_64( - this.pointer, - _lib._sel_hasSuffix_1, - str.pointer, - ); + return _objc_msgSend_64(this.pointer, _sel_hasSuffix_, str.pointer); } NSString commonPrefixWithString_options_(NSString str, int mask) { - final _ret = _lib._objc_msgSend_339( - this.pointer, - _lib._sel_commonPrefixWithString_options_1, - str.pointer, - mask, - ); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_339( + this.pointer, _sel_commonPrefixWithString_options_, str.pointer, mask); + return NSString._(_ret, retain: true, release: true); } bool containsString_(NSString str) { - return _lib._objc_msgSend_64( - this.pointer, - _lib._sel_containsString_1, - str.pointer, - ); + return _objc_msgSend_64(this.pointer, _sel_containsString_, str.pointer); } bool localizedCaseInsensitiveContainsString_(NSString str) { - return _lib._objc_msgSend_64( - this.pointer, - _lib._sel_localizedCaseInsensitiveContainsString_1, - str.pointer, - ); + return _objc_msgSend_64(this.pointer, + _sel_localizedCaseInsensitiveContainsString_, str.pointer); } bool localizedStandardContainsString_(NSString str) { - return _lib._objc_msgSend_64( - this.pointer, - _lib._sel_localizedStandardContainsString_1, - str.pointer, - ); + return _objc_msgSend_64( + this.pointer, _sel_localizedStandardContainsString_, str.pointer); } void localizedStandardRangeOfString_( - ffi.Pointer<_NSRange> stret, - NSString str, - ) { + ffi.Pointer<_NSRange> stret, NSString str) { objc.useMsgSendVariants - ? _lib._objc_msgSend_340_stret( - stret, - this.pointer, - _lib._sel_localizedStandardRangeOfString_1, - str.pointer, - ) - : stret.ref = _lib._objc_msgSend_340( - this.pointer, - _lib._sel_localizedStandardRangeOfString_1, - str.pointer, - ); + ? _objc_msgSend_340Stret(stret, this.pointer, + _sel_localizedStandardRangeOfString_, str.pointer) + : stret.ref = _objc_msgSend_340( + this.pointer, _sel_localizedStandardRangeOfString_, str.pointer); } void rangeOfString_(ffi.Pointer<_NSRange> stret, NSString searchString) { objc.useMsgSendVariants - ? _lib._objc_msgSend_340_stret( - stret, - this.pointer, - _lib._sel_rangeOfString_1, - searchString.pointer, - ) - : stret.ref = _lib._objc_msgSend_340( - this.pointer, - _lib._sel_rangeOfString_1, - searchString.pointer, - ); + ? _objc_msgSend_340Stret( + stret, this.pointer, _sel_rangeOfString_, searchString.pointer) + : stret.ref = _objc_msgSend_340( + this.pointer, _sel_rangeOfString_, searchString.pointer); } void rangeOfString_options_( - ffi.Pointer<_NSRange> stret, - NSString searchString, - int mask, - ) { + ffi.Pointer<_NSRange> stret, NSString searchString, int mask) { objc.useMsgSendVariants - ? _lib._objc_msgSend_341_stret( - stret, - this.pointer, - _lib._sel_rangeOfString_options_1, - searchString.pointer, - mask, - ) - : stret.ref = _lib._objc_msgSend_341( - this.pointer, - _lib._sel_rangeOfString_options_1, - searchString.pointer, - mask, - ); + ? _objc_msgSend_341Stret(stret, this.pointer, + _sel_rangeOfString_options_, searchString.pointer, mask) + : stret.ref = _objc_msgSend_341(this.pointer, + _sel_rangeOfString_options_, searchString.pointer, mask); } - void rangeOfString_options_range_( - ffi.Pointer<_NSRange> stret, - NSString searchString, - int mask, - _NSRange rangeOfReceiverToSearch, - ) { + void rangeOfString_options_range_(ffi.Pointer<_NSRange> stret, + NSString searchString, int mask, _NSRange rangeOfReceiverToSearch) { objc.useMsgSendVariants - ? _lib._objc_msgSend_342_stret( + ? _objc_msgSend_342Stret( stret, this.pointer, - _lib._sel_rangeOfString_options_range_1, + _sel_rangeOfString_options_range_, searchString.pointer, mask, - rangeOfReceiverToSearch, - ) - : stret.ref = _lib._objc_msgSend_342( + rangeOfReceiverToSearch) + : stret.ref = _objc_msgSend_342( this.pointer, - _lib._sel_rangeOfString_options_range_1, + _sel_rangeOfString_options_range_, searchString.pointer, mask, - rangeOfReceiverToSearch, - ); + rangeOfReceiverToSearch); } void rangeOfString_options_range_locale_( - ffi.Pointer<_NSRange> stret, - NSString searchString, - int mask, - _NSRange rangeOfReceiverToSearch, - NSLocale? locale, - ) { + ffi.Pointer<_NSRange> stret, + NSString searchString, + int mask, + _NSRange rangeOfReceiverToSearch, + NSLocale? locale) { objc.useMsgSendVariants - ? _lib._objc_msgSend_343_stret( + ? _objc_msgSend_343Stret( stret, this.pointer, - _lib._sel_rangeOfString_options_range_locale_1, + _sel_rangeOfString_options_range_locale_, searchString.pointer, mask, rangeOfReceiverToSearch, - locale?.pointer ?? ffi.nullptr, - ) - : stret.ref = _lib._objc_msgSend_343( + locale?.pointer ?? ffi.nullptr) + : stret.ref = _objc_msgSend_343( this.pointer, - _lib._sel_rangeOfString_options_range_locale_1, + _sel_rangeOfString_options_range_locale_, searchString.pointer, mask, rangeOfReceiverToSearch, - locale?.pointer ?? ffi.nullptr, - ); + locale?.pointer ?? ffi.nullptr); } void rangeOfCharacterFromSet_( - ffi.Pointer<_NSRange> stret, - NSCharacterSet searchSet, - ) { + ffi.Pointer<_NSRange> stret, NSCharacterSet searchSet) { objc.useMsgSendVariants - ? _lib._objc_msgSend_344_stret( - stret, - this.pointer, - _lib._sel_rangeOfCharacterFromSet_1, - searchSet.pointer, - ) - : stret.ref = _lib._objc_msgSend_344( - this.pointer, - _lib._sel_rangeOfCharacterFromSet_1, - searchSet.pointer, - ); + ? _objc_msgSend_344Stret(stret, this.pointer, + _sel_rangeOfCharacterFromSet_, searchSet.pointer) + : stret.ref = _objc_msgSend_344( + this.pointer, _sel_rangeOfCharacterFromSet_, searchSet.pointer); } void rangeOfCharacterFromSet_options_( - ffi.Pointer<_NSRange> stret, - NSCharacterSet searchSet, - int mask, - ) { + ffi.Pointer<_NSRange> stret, NSCharacterSet searchSet, int mask) { objc.useMsgSendVariants - ? _lib._objc_msgSend_345_stret( - stret, - this.pointer, - _lib._sel_rangeOfCharacterFromSet_options_1, - searchSet.pointer, - mask, - ) - : stret.ref = _lib._objc_msgSend_345( - this.pointer, - _lib._sel_rangeOfCharacterFromSet_options_1, - searchSet.pointer, - mask, - ); + ? _objc_msgSend_345Stret(stret, this.pointer, + _sel_rangeOfCharacterFromSet_options_, searchSet.pointer, mask) + : stret.ref = _objc_msgSend_345(this.pointer, + _sel_rangeOfCharacterFromSet_options_, searchSet.pointer, mask); } - void rangeOfCharacterFromSet_options_range_( - ffi.Pointer<_NSRange> stret, - NSCharacterSet searchSet, - int mask, - _NSRange rangeOfReceiverToSearch, - ) { + void rangeOfCharacterFromSet_options_range_(ffi.Pointer<_NSRange> stret, + NSCharacterSet searchSet, int mask, _NSRange rangeOfReceiverToSearch) { objc.useMsgSendVariants - ? _lib._objc_msgSend_346_stret( + ? _objc_msgSend_346Stret( stret, this.pointer, - _lib._sel_rangeOfCharacterFromSet_options_range_1, + _sel_rangeOfCharacterFromSet_options_range_, searchSet.pointer, mask, - rangeOfReceiverToSearch, - ) - : stret.ref = _lib._objc_msgSend_346( + rangeOfReceiverToSearch) + : stret.ref = _objc_msgSend_346( this.pointer, - _lib._sel_rangeOfCharacterFromSet_options_range_1, + _sel_rangeOfCharacterFromSet_options_range_, searchSet.pointer, mask, - rangeOfReceiverToSearch, - ); + rangeOfReceiverToSearch); } void rangeOfComposedCharacterSequenceAtIndex_( - ffi.Pointer<_NSRange> stret, - int index, - ) { + ffi.Pointer<_NSRange> stret, int index) { objc.useMsgSendVariants - ? _lib._objc_msgSend_347_stret( - stret, - this.pointer, - _lib._sel_rangeOfComposedCharacterSequenceAtIndex_1, - index, - ) - : stret.ref = _lib._objc_msgSend_347( - this.pointer, - _lib._sel_rangeOfComposedCharacterSequenceAtIndex_1, - index, - ); + ? _objc_msgSend_347Stret(stret, this.pointer, + _sel_rangeOfComposedCharacterSequenceAtIndex_, index) + : stret.ref = _objc_msgSend_347( + this.pointer, _sel_rangeOfComposedCharacterSequenceAtIndex_, index); } void rangeOfComposedCharacterSequencesForRange_( - ffi.Pointer<_NSRange> stret, - _NSRange range, - ) { + ffi.Pointer<_NSRange> stret, _NSRange range) { objc.useMsgSendVariants - ? _lib._objc_msgSend_348_stret( - stret, - this.pointer, - _lib._sel_rangeOfComposedCharacterSequencesForRange_1, - range, - ) - : stret.ref = _lib._objc_msgSend_348( - this.pointer, - _lib._sel_rangeOfComposedCharacterSequencesForRange_1, - range, - ); + ? _objc_msgSend_348Stret(stret, this.pointer, + _sel_rangeOfComposedCharacterSequencesForRange_, range) + : stret.ref = _objc_msgSend_348(this.pointer, + _sel_rangeOfComposedCharacterSequencesForRange_, range); } NSString stringByAppendingString_(NSString aString) { - final _ret = _lib._objc_msgSend_69( - this.pointer, - _lib._sel_stringByAppendingString_1, - aString.pointer, - ); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_69( + this.pointer, _sel_stringByAppendingString_, aString.pointer); + return NSString._(_ret, retain: true, release: true); } NSString stringByAppendingFormat_(NSString format) { - final _ret = _lib._objc_msgSend_69( - this.pointer, - _lib._sel_stringByAppendingFormat_1, - format.pointer, - ); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_69( + this.pointer, _sel_stringByAppendingFormat_, format.pointer); + return NSString._(_ret, retain: true, release: true); } double get doubleValue { return objc.useMsgSendVariants - ? _lib._objc_msgSend_165_fpret(this.pointer, _lib._sel_doubleValue1) - : _lib._objc_msgSend_165(this.pointer, _lib._sel_doubleValue1); + ? _objc_msgSend_165Fpret(this.pointer, _sel_doubleValue) + : _objc_msgSend_165(this.pointer, _sel_doubleValue); } double get floatValue { return objc.useMsgSendVariants - ? _lib._objc_msgSend_239_fpret(this.pointer, _lib._sel_floatValue1) - : _lib._objc_msgSend_239(this.pointer, _lib._sel_floatValue1); + ? _objc_msgSend_239Fpret(this.pointer, _sel_floatValue) + : _objc_msgSend_239(this.pointer, _sel_floatValue); } int get intValue { - return _lib._objc_msgSend_237(this.pointer, _lib._sel_intValue1); + return _objc_msgSend_237(this.pointer, _sel_intValue); } int get integerValue { - return _lib._objc_msgSend_83(this.pointer, _lib._sel_integerValue1); + return _objc_msgSend_83(this.pointer, _sel_integerValue); } int get longLongValue { - return _lib._objc_msgSend_238(this.pointer, _lib._sel_longLongValue1); + return _objc_msgSend_238(this.pointer, _sel_longLongValue); } bool get boolValue { - return _lib._objc_msgSend_12(this.pointer, _lib._sel_boolValue1); + return _objc_msgSend_12(this.pointer, _sel_boolValue); } NSString get uppercaseString { - final _ret = _lib._objc_msgSend_21( - this.pointer, - _lib._sel_uppercaseString1, - ); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_uppercaseString); + return NSString._(_ret, retain: true, release: true); } NSString get lowercaseString { - final _ret = _lib._objc_msgSend_21( - this.pointer, - _lib._sel_lowercaseString1, - ); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_lowercaseString); + return NSString._(_ret, retain: true, release: true); } NSString get capitalizedString { - final _ret = _lib._objc_msgSend_21( - this.pointer, - _lib._sel_capitalizedString1, - ); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_capitalizedString); + return NSString._(_ret, retain: true, release: true); } NSString get localizedUppercaseString { - final _ret = _lib._objc_msgSend_21( - this.pointer, - _lib._sel_localizedUppercaseString1, - ); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_localizedUppercaseString); + return NSString._(_ret, retain: true, release: true); } NSString get localizedLowercaseString { - final _ret = _lib._objc_msgSend_21( - this.pointer, - _lib._sel_localizedLowercaseString1, - ); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_localizedLowercaseString); + return NSString._(_ret, retain: true, release: true); } NSString get localizedCapitalizedString { - final _ret = _lib._objc_msgSend_21( - this.pointer, - _lib._sel_localizedCapitalizedString1, - ); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_21(this.pointer, _sel_localizedCapitalizedString); + return NSString._(_ret, retain: true, release: true); } NSString uppercaseStringWithLocale_(NSLocale? locale) { - final _ret = _lib._objc_msgSend_349( - this.pointer, - _lib._sel_uppercaseStringWithLocale_1, - locale?.pointer ?? ffi.nullptr, - ); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_349(this.pointer, + _sel_uppercaseStringWithLocale_, locale?.pointer ?? ffi.nullptr); + return NSString._(_ret, retain: true, release: true); } NSString lowercaseStringWithLocale_(NSLocale? locale) { - final _ret = _lib._objc_msgSend_349( - this.pointer, - _lib._sel_lowercaseStringWithLocale_1, - locale?.pointer ?? ffi.nullptr, - ); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_349(this.pointer, + _sel_lowercaseStringWithLocale_, locale?.pointer ?? ffi.nullptr); + return NSString._(_ret, retain: true, release: true); } NSString capitalizedStringWithLocale_(NSLocale? locale) { - final _ret = _lib._objc_msgSend_349( - this.pointer, - _lib._sel_capitalizedStringWithLocale_1, - locale?.pointer ?? ffi.nullptr, - ); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_349(this.pointer, + _sel_capitalizedStringWithLocale_, locale?.pointer ?? ffi.nullptr); + return NSString._(_ret, retain: true, release: true); } void getLineStart_end_contentsEnd_forRange_( - ffi.Pointer startPtr, - ffi.Pointer lineEndPtr, - ffi.Pointer contentsEndPtr, - _NSRange range, - ) { - _lib._objc_msgSend_350( - this.pointer, - _lib._sel_getLineStart_end_contentsEnd_forRange_1, - startPtr, - lineEndPtr, - contentsEndPtr, - range, - ); + ffi.Pointer startPtr, + ffi.Pointer lineEndPtr, + ffi.Pointer contentsEndPtr, + _NSRange range) { + _objc_msgSend_350(this.pointer, _sel_getLineStart_end_contentsEnd_forRange_, + startPtr, lineEndPtr, contentsEndPtr, range); } void lineRangeForRange_(ffi.Pointer<_NSRange> stret, _NSRange range) { objc.useMsgSendVariants - ? _lib._objc_msgSend_348_stret( - stret, - this.pointer, - _lib._sel_lineRangeForRange_1, - range, - ) - : stret.ref = _lib._objc_msgSend_348( - this.pointer, - _lib._sel_lineRangeForRange_1, - range, - ); + ? _objc_msgSend_348Stret( + stret, this.pointer, _sel_lineRangeForRange_, range) + : stret.ref = + _objc_msgSend_348(this.pointer, _sel_lineRangeForRange_, range); } void getParagraphStart_end_contentsEnd_forRange_( - ffi.Pointer startPtr, - ffi.Pointer parEndPtr, - ffi.Pointer contentsEndPtr, - _NSRange range, - ) { - _lib._objc_msgSend_350( - this.pointer, - _lib._sel_getParagraphStart_end_contentsEnd_forRange_1, - startPtr, - parEndPtr, - contentsEndPtr, - range, - ); + ffi.Pointer startPtr, + ffi.Pointer parEndPtr, + ffi.Pointer contentsEndPtr, + _NSRange range) { + _objc_msgSend_350( + this.pointer, + _sel_getParagraphStart_end_contentsEnd_forRange_, + startPtr, + parEndPtr, + contentsEndPtr, + range); } void paragraphRangeForRange_(ffi.Pointer<_NSRange> stret, _NSRange range) { objc.useMsgSendVariants - ? _lib._objc_msgSend_348_stret( - stret, - this.pointer, - _lib._sel_paragraphRangeForRange_1, - range, - ) - : stret.ref = _lib._objc_msgSend_348( - this.pointer, - _lib._sel_paragraphRangeForRange_1, - range, - ); + ? _objc_msgSend_348Stret( + stret, this.pointer, _sel_paragraphRangeForRange_, range) + : stret.ref = _objc_msgSend_348( + this.pointer, _sel_paragraphRangeForRange_, range); } - void enumerateSubstringsInRange_options_usingBlock_( - _NSRange range, - int opts, - ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool block, - ) { - _lib._objc_msgSend_351( - this.pointer, - _lib._sel_enumerateSubstringsInRange_options_usingBlock_1, - range, - opts, - block.pointer, - ); + void enumerateSubstringsInRange_options_usingBlock_(_NSRange range, int opts, + ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool block) { + _objc_msgSend_351( + this.pointer, + _sel_enumerateSubstringsInRange_options_usingBlock_, + range, + opts, + block.pointer); } void enumerateLinesUsingBlock_(ObjCBlock_ffiVoid_NSString_bool block) { - _lib._objc_msgSend_352( - this.pointer, - _lib._sel_enumerateLinesUsingBlock_1, - block.pointer, - ); + _objc_msgSend_352( + this.pointer, _sel_enumerateLinesUsingBlock_, block.pointer); } ffi.Pointer get UTF8String { - return _lib._objc_msgSend_13(this.pointer, _lib._sel_UTF8String1); + return _objc_msgSend_13(this.pointer, _sel_UTF8String); } int get fastestEncoding { - return _lib._objc_msgSend_10(this.pointer, _lib._sel_fastestEncoding1); + return _objc_msgSend_10(this.pointer, _sel_fastestEncoding); } int get smallestEncoding { - return _lib._objc_msgSend_10(this.pointer, _lib._sel_smallestEncoding1); + return _objc_msgSend_10(this.pointer, _sel_smallestEncoding); } NSData? dataUsingEncoding_allowLossyConversion_(int encoding, bool lossy) { - final _ret = _lib._objc_msgSend_353( - this.pointer, - _lib._sel_dataUsingEncoding_allowLossyConversion_1, - encoding, - lossy, - ); + final _ret = _objc_msgSend_353(this.pointer, + _sel_dataUsingEncoding_allowLossyConversion_, encoding, lossy); return _ret.address == 0 ? null - : NSData._(_ret, _lib, retain: true, release: true); + : NSData._(_ret, retain: true, release: true); } NSData? dataUsingEncoding_(int encoding) { - final _ret = _lib._objc_msgSend_354( - this.pointer, - _lib._sel_dataUsingEncoding_1, - encoding, - ); + final _ret = + _objc_msgSend_354(this.pointer, _sel_dataUsingEncoding_, encoding); return _ret.address == 0 ? null - : NSData._(_ret, _lib, retain: true, release: true); + : NSData._(_ret, retain: true, release: true); } bool canBeConvertedToEncoding_(int encoding) { - return _lib._objc_msgSend_97( - this.pointer, - _lib._sel_canBeConvertedToEncoding_1, - encoding, - ); + return _objc_msgSend_97( + this.pointer, _sel_canBeConvertedToEncoding_, encoding); } ffi.Pointer cStringUsingEncoding_(int encoding) { - return _lib._objc_msgSend_11( - this.pointer, - _lib._sel_cStringUsingEncoding_1, - encoding, - ); + return _objc_msgSend_11(this.pointer, _sel_cStringUsingEncoding_, encoding); } bool getCString_maxLength_encoding_( - ffi.Pointer buffer, - int maxBufferCount, - int encoding, - ) { - return _lib._objc_msgSend_355( - this.pointer, - _lib._sel_getCString_maxLength_encoding_1, - buffer, - maxBufferCount, - encoding, - ); + ffi.Pointer buffer, int maxBufferCount, int encoding) { + return _objc_msgSend_355(this.pointer, _sel_getCString_maxLength_encoding_, + buffer, maxBufferCount, encoding); } bool getBytes_maxLength_usedLength_encoding_options_range_remainingRange_( - ffi.Pointer buffer, - int maxBufferCount, - ffi.Pointer usedBufferCount, - int encoding, - int options, - _NSRange range, - ffi.Pointer<_NSRange> leftover, - ) { - return _lib._objc_msgSend_356( - this.pointer, - _lib._sel_getBytes_maxLength_usedLength_encoding_options_range_remainingRange_1, - buffer, - maxBufferCount, - usedBufferCount, - encoding, - options, - range, - leftover, - ); + ffi.Pointer buffer, + int maxBufferCount, + ffi.Pointer usedBufferCount, + int encoding, + int options, + _NSRange range, + ffi.Pointer<_NSRange> leftover) { + return _objc_msgSend_356( + this.pointer, + _sel_getBytes_maxLength_usedLength_encoding_options_range_remainingRange_, + buffer, + maxBufferCount, + usedBufferCount, + encoding, + options, + range, + leftover); } int maximumLengthOfBytesUsingEncoding_(int enc) { - return _lib._objc_msgSend_94( - this.pointer, - _lib._sel_maximumLengthOfBytesUsingEncoding_1, - enc, - ); + return _objc_msgSend_94( + this.pointer, _sel_maximumLengthOfBytesUsingEncoding_, enc); } int lengthOfBytesUsingEncoding_(int enc) { - return _lib._objc_msgSend_94( - this.pointer, - _lib._sel_lengthOfBytesUsingEncoding_1, - enc, - ); + return _objc_msgSend_94( + this.pointer, _sel_lengthOfBytesUsingEncoding_, enc); } - static ffi.Pointer getAvailableStringEncodings( - AVFAudio _lib, - ) { - return _lib._objc_msgSend_357( - _lib._class_NSString1, - _lib._sel_availableStringEncodings1, - ); + static ffi.Pointer getAvailableStringEncodings() { + return _objc_msgSend_357(_class_NSString, _sel_availableStringEncodings); } - static NSString localizedNameOfStringEncoding_(AVFAudio _lib, int encoding) { - final _ret = _lib._objc_msgSend_332( - _lib._class_NSString1, - _lib._sel_localizedNameOfStringEncoding_1, - encoding, - ); - return NSString._(_ret, _lib, retain: true, release: true); + static NSString localizedNameOfStringEncoding_(int encoding) { + final _ret = _objc_msgSend_332( + _class_NSString, _sel_localizedNameOfStringEncoding_, encoding); + return NSString._(_ret, retain: true, release: true); } - static int getDefaultCStringEncoding(AVFAudio _lib) { - return _lib._objc_msgSend_10( - _lib._class_NSString1, - _lib._sel_defaultCStringEncoding1, - ); + static int getDefaultCStringEncoding() { + return _objc_msgSend_10(_class_NSString, _sel_defaultCStringEncoding); } NSString get decomposedStringWithCanonicalMapping { - final _ret = _lib._objc_msgSend_21( - this.pointer, - _lib._sel_decomposedStringWithCanonicalMapping1, - ); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21( + this.pointer, _sel_decomposedStringWithCanonicalMapping); + return NSString._(_ret, retain: true, release: true); } NSString get precomposedStringWithCanonicalMapping { - final _ret = _lib._objc_msgSend_21( - this.pointer, - _lib._sel_precomposedStringWithCanonicalMapping1, - ); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21( + this.pointer, _sel_precomposedStringWithCanonicalMapping); + return NSString._(_ret, retain: true, release: true); } NSString get decomposedStringWithCompatibilityMapping { - final _ret = _lib._objc_msgSend_21( - this.pointer, - _lib._sel_decomposedStringWithCompatibilityMapping1, - ); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21( + this.pointer, _sel_decomposedStringWithCompatibilityMapping); + return NSString._(_ret, retain: true, release: true); } NSString get precomposedStringWithCompatibilityMapping { - final _ret = _lib._objc_msgSend_21( - this.pointer, - _lib._sel_precomposedStringWithCompatibilityMapping1, - ); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21( + this.pointer, _sel_precomposedStringWithCompatibilityMapping); + return NSString._(_ret, retain: true, release: true); } NSArray componentsSeparatedByString_(NSString separator) { - final _ret = _lib._objc_msgSend_358( - this.pointer, - _lib._sel_componentsSeparatedByString_1, - separator.pointer, - ); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_358( + this.pointer, _sel_componentsSeparatedByString_, separator.pointer); + return NSArray._(_ret, retain: true, release: true); } NSArray componentsSeparatedByCharactersInSet_(NSCharacterSet separator) { - final _ret = _lib._objc_msgSend_359( - this.pointer, - _lib._sel_componentsSeparatedByCharactersInSet_1, - separator.pointer, - ); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_359(this.pointer, + _sel_componentsSeparatedByCharactersInSet_, separator.pointer); + return NSArray._(_ret, retain: true, release: true); } NSString stringByTrimmingCharactersInSet_(NSCharacterSet set) { - final _ret = _lib._objc_msgSend_360( - this.pointer, - _lib._sel_stringByTrimmingCharactersInSet_1, - set.pointer, - ); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_360( + this.pointer, _sel_stringByTrimmingCharactersInSet_, set.pointer); + return NSString._(_ret, retain: true, release: true); } NSString stringByPaddingToLength_withString_startingAtIndex_( - int newLength, - NSString padString, - int padIndex, - ) { - final _ret = _lib._objc_msgSend_361( - this.pointer, - _lib._sel_stringByPaddingToLength_withString_startingAtIndex_1, - newLength, - padString.pointer, - padIndex, - ); - return NSString._(_ret, _lib, retain: true, release: true); + int newLength, NSString padString, int padIndex) { + final _ret = _objc_msgSend_361( + this.pointer, + _sel_stringByPaddingToLength_withString_startingAtIndex_, + newLength, + padString.pointer, + padIndex); + return NSString._(_ret, retain: true, release: true); } NSString stringByFoldingWithOptions_locale_(int options, NSLocale? locale) { - final _ret = _lib._objc_msgSend_362( - this.pointer, - _lib._sel_stringByFoldingWithOptions_locale_1, - options, - locale?.pointer ?? ffi.nullptr, - ); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_362( + this.pointer, + _sel_stringByFoldingWithOptions_locale_, + options, + locale?.pointer ?? ffi.nullptr); + return NSString._(_ret, retain: true, release: true); } NSString stringByReplacingOccurrencesOfString_withString_options_range_( - NSString target, - NSString replacement, - int options, - _NSRange searchRange, - ) { - final _ret = _lib._objc_msgSend_363( - this.pointer, - _lib._sel_stringByReplacingOccurrencesOfString_withString_options_range_1, - target.pointer, - replacement.pointer, - options, - searchRange, - ); - return NSString._(_ret, _lib, retain: true, release: true); + NSString target, + NSString replacement, + int options, + _NSRange searchRange) { + final _ret = _objc_msgSend_363( + this.pointer, + _sel_stringByReplacingOccurrencesOfString_withString_options_range_, + target.pointer, + replacement.pointer, + options, + searchRange); + return NSString._(_ret, retain: true, release: true); } NSString stringByReplacingOccurrencesOfString_withString_( - NSString target, - NSString replacement, - ) { - final _ret = _lib._objc_msgSend_364( - this.pointer, - _lib._sel_stringByReplacingOccurrencesOfString_withString_1, - target.pointer, - replacement.pointer, - ); - return NSString._(_ret, _lib, retain: true, release: true); + NSString target, NSString replacement) { + final _ret = _objc_msgSend_364( + this.pointer, + _sel_stringByReplacingOccurrencesOfString_withString_, + target.pointer, + replacement.pointer); + return NSString._(_ret, retain: true, release: true); } NSString stringByReplacingCharactersInRange_withString_( - _NSRange range, - NSString replacement, - ) { - final _ret = _lib._objc_msgSend_365( - this.pointer, - _lib._sel_stringByReplacingCharactersInRange_withString_1, - range, - replacement.pointer, - ); - return NSString._(_ret, _lib, retain: true, release: true); + _NSRange range, NSString replacement) { + final _ret = _objc_msgSend_365( + this.pointer, + _sel_stringByReplacingCharactersInRange_withString_, + range, + replacement.pointer); + return NSString._(_ret, retain: true, release: true); } NSString? stringByApplyingTransform_reverse_( - NSString transform, - bool reverse, - ) { - final _ret = _lib._objc_msgSend_366( - this.pointer, - _lib._sel_stringByApplyingTransform_reverse_1, - transform.pointer, - reverse, - ); - return _ret.address == 0 - ? null - : NSString._(_ret, _lib, retain: true, release: true); - } - - bool writeToURL_atomically_encoding_error_( - NSURL url, - bool useAuxiliaryFile, - int enc, - ffi.Pointer> error, - ) { - return _lib._objc_msgSend_367( - this.pointer, - _lib._sel_writeToURL_atomically_encoding_error_1, - url.pointer, - useAuxiliaryFile, - enc, - error, - ); + NSString transform, bool reverse) { + final _ret = _objc_msgSend_366(this.pointer, + _sel_stringByApplyingTransform_reverse_, transform.pointer, reverse); + return _ret.address == 0 + ? null + : NSString._(_ret, retain: true, release: true); + } + + bool writeToURL_atomically_encoding_error_(NSURL url, bool useAuxiliaryFile, + int enc, ffi.Pointer> error) { + return _objc_msgSend_367( + this.pointer, + _sel_writeToURL_atomically_encoding_error_, + url.pointer, + useAuxiliaryFile, + enc, + error); } bool writeToFile_atomically_encoding_error_( - NSString path, - bool useAuxiliaryFile, - int enc, - ffi.Pointer> error, - ) { - return _lib._objc_msgSend_368( - this.pointer, - _lib._sel_writeToFile_atomically_encoding_error_1, - path.pointer, - useAuxiliaryFile, - enc, - error, - ); + NSString path, + bool useAuxiliaryFile, + int enc, + ffi.Pointer> error) { + return _objc_msgSend_368( + this.pointer, + _sel_writeToFile_atomically_encoding_error_, + path.pointer, + useAuxiliaryFile, + enc, + error); } NSString get description { - final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_description1); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_description); + return NSString._(_ret, retain: true, release: true); } int get hash { - return _lib._objc_msgSend_10(this.pointer, _lib._sel_hash1); + return _objc_msgSend_10(this.pointer, _sel_hash); } NSString initWithCharactersNoCopy_length_freeWhenDone_( - ffi.Pointer characters, - int length, - bool freeBuffer, - ) { - final _ret = _lib._objc_msgSend_369( - this.pointer, - _lib._sel_initWithCharactersNoCopy_length_freeWhenDone_1, - characters, - length, - freeBuffer, - ); - return NSString._(_ret, _lib, retain: false, release: true); + ffi.Pointer characters, int length, bool freeBuffer) { + final _ret = _objc_msgSend_369( + this.pointer, + _sel_initWithCharactersNoCopy_length_freeWhenDone_, + characters, + length, + freeBuffer); + return NSString._(_ret, retain: false, release: true); } NSString initWithCharactersNoCopy_length_deallocator_( - ffi.Pointer chars, - int len, - ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong? deallocator, - ) { - final _ret = _lib._objc_msgSend_370( - this.pointer, - _lib._sel_initWithCharactersNoCopy_length_deallocator_1, - chars, - len, - deallocator?.pointer ?? ffi.nullptr, - ); - return NSString._(_ret, _lib, retain: false, release: true); + ffi.Pointer chars, + int len, + ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong? deallocator) { + final _ret = _objc_msgSend_370( + this.pointer, + _sel_initWithCharactersNoCopy_length_deallocator_, + chars, + len, + deallocator?.pointer ?? ffi.nullptr); + return NSString._(_ret, retain: false, release: true); } NSString initWithCharacters_length_( - ffi.Pointer characters, - int length, - ) { - final _ret = _lib._objc_msgSend_371( - this.pointer, - _lib._sel_initWithCharacters_length_1, - characters, - length, - ); - return NSString._(_ret, _lib, retain: true, release: true); + ffi.Pointer characters, int length) { + final _ret = _objc_msgSend_371( + this.pointer, _sel_initWithCharacters_length_, characters, length); + return NSString._(_ret, retain: true, release: true); } NSString? initWithUTF8String_(ffi.Pointer nullTerminatedCString) { - final _ret = _lib._objc_msgSend_372( - this.pointer, - _lib._sel_initWithUTF8String_1, - nullTerminatedCString, - ); + final _ret = _objc_msgSend_372( + this.pointer, _sel_initWithUTF8String_, nullTerminatedCString); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } NSString initWithString_(NSString aString) { - final _ret = _lib._objc_msgSend_31( - this.pointer, - _lib._sel_initWithString_1, - aString.pointer, - ); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_31(this.pointer, _sel_initWithString_, aString.pointer); + return NSString._(_ret, retain: true, release: true); } NSString initWithFormat_(NSString format) { - final _ret = _lib._objc_msgSend_31( - this.pointer, - _lib._sel_initWithFormat_1, - format.pointer, - ); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_31(this.pointer, _sel_initWithFormat_, format.pointer); + return NSString._(_ret, retain: true, release: true); } NSString initWithFormat_arguments_( - NSString format, - ffi.Pointer<__va_list_tag> argList, - ) { - final _ret = _lib._objc_msgSend_373( - this.pointer, - _lib._sel_initWithFormat_arguments_1, - format.pointer, - argList, - ); - return NSString._(_ret, _lib, retain: true, release: true); + NSString format, ffi.Pointer<__va_list_tag> argList) { + final _ret = _objc_msgSend_373( + this.pointer, _sel_initWithFormat_arguments_, format.pointer, argList); + return NSString._(_ret, retain: true, release: true); } NSString initWithFormat_locale_(NSString format, NSObject? locale) { - final _ret = _lib._objc_msgSend_374( - this.pointer, - _lib._sel_initWithFormat_locale_1, - format.pointer, - locale?.pointer ?? ffi.nullptr, - ); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_374(this.pointer, _sel_initWithFormat_locale_, + format.pointer, locale?.pointer ?? ffi.nullptr); + return NSString._(_ret, retain: true, release: true); } NSString initWithFormat_locale_arguments_( - NSString format, - NSObject? locale, - ffi.Pointer<__va_list_tag> argList, - ) { - final _ret = _lib._objc_msgSend_375( - this.pointer, - _lib._sel_initWithFormat_locale_arguments_1, - format.pointer, - locale?.pointer ?? ffi.nullptr, - argList, - ); - return NSString._(_ret, _lib, retain: true, release: true); + NSString format, NSObject? locale, ffi.Pointer<__va_list_tag> argList) { + final _ret = _objc_msgSend_375( + this.pointer, + _sel_initWithFormat_locale_arguments_, + format.pointer, + locale?.pointer ?? ffi.nullptr, + argList); + return NSString._(_ret, retain: true, release: true); } NSString? initWithValidatedFormat_validFormatSpecifiers_error_( - NSString format, - NSString validFormatSpecifiers, - ffi.Pointer> error, - ) { - final _ret = _lib._objc_msgSend_376( - this.pointer, - _lib._sel_initWithValidatedFormat_validFormatSpecifiers_error_1, - format.pointer, - validFormatSpecifiers.pointer, - error, - ); + NSString format, + NSString validFormatSpecifiers, + ffi.Pointer> error) { + final _ret = _objc_msgSend_376( + this.pointer, + _sel_initWithValidatedFormat_validFormatSpecifiers_error_, + format.pointer, + validFormatSpecifiers.pointer, + error); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } NSString? initWithValidatedFormat_validFormatSpecifiers_locale_error_( - NSString format, - NSString validFormatSpecifiers, - NSObject? locale, - ffi.Pointer> error, - ) { - final _ret = _lib._objc_msgSend_377( - this.pointer, - _lib._sel_initWithValidatedFormat_validFormatSpecifiers_locale_error_1, - format.pointer, - validFormatSpecifiers.pointer, - locale?.pointer ?? ffi.nullptr, - error, - ); + NSString format, + NSString validFormatSpecifiers, + NSObject? locale, + ffi.Pointer> error) { + final _ret = _objc_msgSend_377( + this.pointer, + _sel_initWithValidatedFormat_validFormatSpecifiers_locale_error_, + format.pointer, + validFormatSpecifiers.pointer, + locale?.pointer ?? ffi.nullptr, + error); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } NSString? initWithValidatedFormat_validFormatSpecifiers_arguments_error_( - NSString format, - NSString validFormatSpecifiers, - ffi.Pointer<__va_list_tag> argList, - ffi.Pointer> error, - ) { - final _ret = _lib._objc_msgSend_378( - this.pointer, - _lib._sel_initWithValidatedFormat_validFormatSpecifiers_arguments_error_1, - format.pointer, - validFormatSpecifiers.pointer, - argList, - error, - ); + NSString format, + NSString validFormatSpecifiers, + ffi.Pointer<__va_list_tag> argList, + ffi.Pointer> error) { + final _ret = _objc_msgSend_378( + this.pointer, + _sel_initWithValidatedFormat_validFormatSpecifiers_arguments_error_, + format.pointer, + validFormatSpecifiers.pointer, + argList, + error); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } NSString? initWithValidatedFormat_validFormatSpecifiers_locale_arguments_error_( - NSString format, - NSString validFormatSpecifiers, - NSObject? locale, - ffi.Pointer<__va_list_tag> argList, - ffi.Pointer> error, - ) { - final _ret = _lib._objc_msgSend_379( - this.pointer, - _lib._sel_initWithValidatedFormat_validFormatSpecifiers_locale_arguments_error_1, - format.pointer, - validFormatSpecifiers.pointer, - locale?.pointer ?? ffi.nullptr, - argList, - error, - ); - return _ret.address == 0 - ? null - : NSString._(_ret, _lib, retain: true, release: true); + NSString format, + NSString validFormatSpecifiers, + NSObject? locale, + ffi.Pointer<__va_list_tag> argList, + ffi.Pointer> error) { + final _ret = _objc_msgSend_379( + this.pointer, + _sel_initWithValidatedFormat_validFormatSpecifiers_locale_arguments_error_, + format.pointer, + validFormatSpecifiers.pointer, + locale?.pointer ?? ffi.nullptr, + argList, + error); + return _ret.address == 0 + ? null + : NSString._(_ret, retain: true, release: true); } NSString? initWithData_encoding_(NSData data, int encoding) { - final _ret = _lib._objc_msgSend_380( - this.pointer, - _lib._sel_initWithData_encoding_1, - data.pointer, - encoding, - ); + final _ret = _objc_msgSend_380( + this.pointer, _sel_initWithData_encoding_, data.pointer, encoding); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } NSString? initWithBytes_length_encoding_( - ffi.Pointer bytes, - int len, - int encoding, - ) { - final _ret = _lib._objc_msgSend_381( - this.pointer, - _lib._sel_initWithBytes_length_encoding_1, - bytes, - len, - encoding, - ); + ffi.Pointer bytes, int len, int encoding) { + final _ret = _objc_msgSend_381(this.pointer, + _sel_initWithBytes_length_encoding_, bytes, len, encoding); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } NSString? initWithBytesNoCopy_length_encoding_freeWhenDone_( - ffi.Pointer bytes, - int len, - int encoding, - bool freeBuffer, - ) { - final _ret = _lib._objc_msgSend_382( - this.pointer, - _lib._sel_initWithBytesNoCopy_length_encoding_freeWhenDone_1, - bytes, - len, - encoding, - freeBuffer, - ); + ffi.Pointer bytes, int len, int encoding, bool freeBuffer) { + final _ret = _objc_msgSend_382( + this.pointer, + _sel_initWithBytesNoCopy_length_encoding_freeWhenDone_, + bytes, + len, + encoding, + freeBuffer); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: false, release: true); + : NSString._(_ret, retain: false, release: true); } NSString? initWithBytesNoCopy_length_encoding_deallocator_( - ffi.Pointer bytes, - int len, - int encoding, - ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong? deallocator, - ) { - final _ret = _lib._objc_msgSend_383( - this.pointer, - _lib._sel_initWithBytesNoCopy_length_encoding_deallocator_1, - bytes, - len, - encoding, - deallocator?.pointer ?? ffi.nullptr, - ); + ffi.Pointer bytes, + int len, + int encoding, + ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong? deallocator) { + final _ret = _objc_msgSend_383( + this.pointer, + _sel_initWithBytesNoCopy_length_encoding_deallocator_, + bytes, + len, + encoding, + deallocator?.pointer ?? ffi.nullptr); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: false, release: true); + : NSString._(_ret, retain: false, release: true); } - static NSString string(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2(_lib._class_NSString1, _lib._sel_string1); - return NSString._(_ret, _lib, retain: true, release: true); + static NSString string() { + final _ret = _objc_msgSend_2(_class_NSString, _sel_string); + return NSString._(_ret, retain: true, release: true); } - static NSString stringWithString_(AVFAudio _lib, NSString string) { - final _ret = _lib._objc_msgSend_31( - _lib._class_NSString1, - _lib._sel_stringWithString_1, - string.pointer, - ); - return NSString._(_ret, _lib, retain: true, release: true); + static NSString stringWithString_(NSString string) { + final _ret = _objc_msgSend_31( + _class_NSString, _sel_stringWithString_, string.pointer); + return NSString._(_ret, retain: true, release: true); } static NSString stringWithCharacters_length_( - AVFAudio _lib, - ffi.Pointer characters, - int length, - ) { - final _ret = _lib._objc_msgSend_371( - _lib._class_NSString1, - _lib._sel_stringWithCharacters_length_1, - characters, - length, - ); - return NSString._(_ret, _lib, retain: true, release: true); + ffi.Pointer characters, int length) { + final _ret = _objc_msgSend_371( + _class_NSString, _sel_stringWithCharacters_length_, characters, length); + return NSString._(_ret, retain: true, release: true); } static NSString? stringWithUTF8String_( - AVFAudio _lib, - ffi.Pointer nullTerminatedCString, - ) { - final _ret = _lib._objc_msgSend_372( - _lib._class_NSString1, - _lib._sel_stringWithUTF8String_1, - nullTerminatedCString, - ); + ffi.Pointer nullTerminatedCString) { + final _ret = _objc_msgSend_372( + _class_NSString, _sel_stringWithUTF8String_, nullTerminatedCString); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } - static NSString stringWithFormat_(AVFAudio _lib, NSString format) { - final _ret = _lib._objc_msgSend_31( - _lib._class_NSString1, - _lib._sel_stringWithFormat_1, - format.pointer, - ); - return NSString._(_ret, _lib, retain: true, release: true); + static NSString stringWithFormat_(NSString format) { + final _ret = _objc_msgSend_31( + _class_NSString, _sel_stringWithFormat_, format.pointer); + return NSString._(_ret, retain: true, release: true); } - static NSString localizedStringWithFormat_(AVFAudio _lib, NSString format) { - final _ret = _lib._objc_msgSend_31( - _lib._class_NSString1, - _lib._sel_localizedStringWithFormat_1, - format.pointer, - ); - return NSString._(_ret, _lib, retain: true, release: true); + static NSString localizedStringWithFormat_(NSString format) { + final _ret = _objc_msgSend_31( + _class_NSString, _sel_localizedStringWithFormat_, format.pointer); + return NSString._(_ret, retain: true, release: true); } static NSString? stringWithValidatedFormat_validFormatSpecifiers_error_( - AVFAudio _lib, - NSString format, - NSString validFormatSpecifiers, - ffi.Pointer> error, - ) { - final _ret = _lib._objc_msgSend_376( - _lib._class_NSString1, - _lib._sel_stringWithValidatedFormat_validFormatSpecifiers_error_1, - format.pointer, - validFormatSpecifiers.pointer, - error, - ); + NSString format, + NSString validFormatSpecifiers, + ffi.Pointer> error) { + final _ret = _objc_msgSend_376( + _class_NSString, + _sel_stringWithValidatedFormat_validFormatSpecifiers_error_, + format.pointer, + validFormatSpecifiers.pointer, + error); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } static NSString? localizedStringWithValidatedFormat_validFormatSpecifiers_error_( - AVFAudio _lib, - NSString format, - NSString validFormatSpecifiers, - ffi.Pointer> error, - ) { - final _ret = _lib._objc_msgSend_376( - _lib._class_NSString1, - _lib._sel_localizedStringWithValidatedFormat_validFormatSpecifiers_error_1, - format.pointer, - validFormatSpecifiers.pointer, - error, - ); + NSString format, + NSString validFormatSpecifiers, + ffi.Pointer> error) { + final _ret = _objc_msgSend_376( + _class_NSString, + _sel_localizedStringWithValidatedFormat_validFormatSpecifiers_error_, + format.pointer, + validFormatSpecifiers.pointer, + error); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } NSString? initWithCString_encoding_( - ffi.Pointer nullTerminatedCString, - int encoding, - ) { - final _ret = _lib._objc_msgSend_384( - this.pointer, - _lib._sel_initWithCString_encoding_1, - nullTerminatedCString, - encoding, - ); + ffi.Pointer nullTerminatedCString, int encoding) { + final _ret = _objc_msgSend_384(this.pointer, _sel_initWithCString_encoding_, + nullTerminatedCString, encoding); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } static NSString? stringWithCString_encoding_( - AVFAudio _lib, - ffi.Pointer cString, - int enc, - ) { - final _ret = _lib._objc_msgSend_384( - _lib._class_NSString1, - _lib._sel_stringWithCString_encoding_1, - cString, - enc, - ); + ffi.Pointer cString, int enc) { + final _ret = _objc_msgSend_384( + _class_NSString, _sel_stringWithCString_encoding_, cString, enc); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } NSString? initWithContentsOfURL_encoding_error_( - NSURL url, - int enc, - ffi.Pointer> error, - ) { - final _ret = _lib._objc_msgSend_385( - this.pointer, - _lib._sel_initWithContentsOfURL_encoding_error_1, - url.pointer, - enc, - error, - ); + NSURL url, int enc, ffi.Pointer> error) { + final _ret = _objc_msgSend_385(this.pointer, + _sel_initWithContentsOfURL_encoding_error_, url.pointer, enc, error); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } NSString? initWithContentsOfFile_encoding_error_( - NSString path, - int enc, - ffi.Pointer> error, - ) { - final _ret = _lib._objc_msgSend_386( - this.pointer, - _lib._sel_initWithContentsOfFile_encoding_error_1, - path.pointer, - enc, - error, - ); + NSString path, int enc, ffi.Pointer> error) { + final _ret = _objc_msgSend_386(this.pointer, + _sel_initWithContentsOfFile_encoding_error_, path.pointer, enc, error); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } static NSString? stringWithContentsOfURL_encoding_error_( - AVFAudio _lib, - NSURL url, - int enc, - ffi.Pointer> error, - ) { - final _ret = _lib._objc_msgSend_385( - _lib._class_NSString1, - _lib._sel_stringWithContentsOfURL_encoding_error_1, - url.pointer, - enc, - error, - ); + NSURL url, int enc, ffi.Pointer> error) { + final _ret = _objc_msgSend_385(_class_NSString, + _sel_stringWithContentsOfURL_encoding_error_, url.pointer, enc, error); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } static NSString? stringWithContentsOfFile_encoding_error_( - AVFAudio _lib, - NSString path, - int enc, - ffi.Pointer> error, - ) { - final _ret = _lib._objc_msgSend_386( - _lib._class_NSString1, - _lib._sel_stringWithContentsOfFile_encoding_error_1, - path.pointer, - enc, - error, - ); + NSString path, int enc, ffi.Pointer> error) { + final _ret = _objc_msgSend_386( + _class_NSString, + _sel_stringWithContentsOfFile_encoding_error_, + path.pointer, + enc, + error); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } NSString? initWithContentsOfURL_usedEncoding_error_( - NSURL url, - ffi.Pointer enc, - ffi.Pointer> error, - ) { - final _ret = _lib._objc_msgSend_387( - this.pointer, - _lib._sel_initWithContentsOfURL_usedEncoding_error_1, - url.pointer, - enc, - error, - ); + NSURL url, + ffi.Pointer enc, + ffi.Pointer> error) { + final _ret = _objc_msgSend_387( + this.pointer, + _sel_initWithContentsOfURL_usedEncoding_error_, + url.pointer, + enc, + error); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } NSString? initWithContentsOfFile_usedEncoding_error_( - NSString path, - ffi.Pointer enc, - ffi.Pointer> error, - ) { - final _ret = _lib._objc_msgSend_388( - this.pointer, - _lib._sel_initWithContentsOfFile_usedEncoding_error_1, - path.pointer, - enc, - error, - ); + NSString path, + ffi.Pointer enc, + ffi.Pointer> error) { + final _ret = _objc_msgSend_388( + this.pointer, + _sel_initWithContentsOfFile_usedEncoding_error_, + path.pointer, + enc, + error); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } static NSString? stringWithContentsOfURL_usedEncoding_error_( - AVFAudio _lib, - NSURL url, - ffi.Pointer enc, - ffi.Pointer> error, - ) { - final _ret = _lib._objc_msgSend_387( - _lib._class_NSString1, - _lib._sel_stringWithContentsOfURL_usedEncoding_error_1, - url.pointer, - enc, - error, - ); + NSURL url, + ffi.Pointer enc, + ffi.Pointer> error) { + final _ret = _objc_msgSend_387( + _class_NSString, + _sel_stringWithContentsOfURL_usedEncoding_error_, + url.pointer, + enc, + error); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } static NSString? stringWithContentsOfFile_usedEncoding_error_( - AVFAudio _lib, - NSString path, - ffi.Pointer enc, - ffi.Pointer> error, - ) { - final _ret = _lib._objc_msgSend_388( - _lib._class_NSString1, - _lib._sel_stringWithContentsOfFile_usedEncoding_error_1, - path.pointer, - enc, - error, - ); + NSString path, + ffi.Pointer enc, + ffi.Pointer> error) { + final _ret = _objc_msgSend_388( + _class_NSString, + _sel_stringWithContentsOfFile_usedEncoding_error_, + path.pointer, + enc, + error); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } static int stringEncodingForData_encodingOptions_convertedString_usedLossyConversion_( - AVFAudio _lib, - NSData data, - NSDictionary? opts, - ffi.Pointer> string, - ffi.Pointer usedLossyConversion, - ) { - return _lib._objc_msgSend_389( - _lib._class_NSString1, - _lib._sel_stringEncodingForData_encodingOptions_convertedString_usedLossyConversion_1, - data.pointer, - opts?.pointer ?? ffi.nullptr, - string, - usedLossyConversion, - ); + NSData data, + NSDictionary? opts, + ffi.Pointer> string, + ffi.Pointer usedLossyConversion) { + return _objc_msgSend_389( + _class_NSString, + _sel_stringEncodingForData_encodingOptions_convertedString_usedLossyConversion_, + data.pointer, + opts?.pointer ?? ffi.nullptr, + string, + usedLossyConversion); } NSObject propertyList() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_propertyList1); - return NSObject._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_propertyList); + return NSObject._(_ret, retain: true, release: true); } NSDictionary? propertyListFromStringsFileFormat() { - final _ret = _lib._objc_msgSend_390( - this.pointer, - _lib._sel_propertyListFromStringsFileFormat1, - ); + final _ret = + _objc_msgSend_390(this.pointer, _sel_propertyListFromStringsFileFormat); return _ret.address == 0 ? null - : NSDictionary._(_ret, _lib, retain: true, release: true); + : NSDictionary._(_ret, retain: true, release: true); } ffi.Pointer cString() { - return _lib._objc_msgSend_13(this.pointer, _lib._sel_cString1); + return _objc_msgSend_13(this.pointer, _sel_cString); } ffi.Pointer lossyCString() { - return _lib._objc_msgSend_13(this.pointer, _lib._sel_lossyCString1); + return _objc_msgSend_13(this.pointer, _sel_lossyCString); } int cStringLength() { - return _lib._objc_msgSend_10(this.pointer, _lib._sel_cStringLength1); + return _objc_msgSend_10(this.pointer, _sel_cStringLength); } void getCString_(ffi.Pointer bytes) { - _lib._objc_msgSend_290(this.pointer, _lib._sel_getCString_1, bytes); + _objc_msgSend_290(this.pointer, _sel_getCString_, bytes); } void getCString_maxLength_(ffi.Pointer bytes, int maxLength) { - _lib._objc_msgSend_391( - this.pointer, - _lib._sel_getCString_maxLength_1, - bytes, - maxLength, - ); - } - - void getCString_maxLength_range_remainingRange_( - ffi.Pointer bytes, - int maxLength, - _NSRange aRange, - ffi.Pointer<_NSRange> leftoverRange, - ) { - _lib._objc_msgSend_392( - this.pointer, - _lib._sel_getCString_maxLength_range_remainingRange_1, - bytes, - maxLength, - aRange, - leftoverRange, - ); + _objc_msgSend_391( + this.pointer, _sel_getCString_maxLength_, bytes, maxLength); + } + + void getCString_maxLength_range_remainingRange_(ffi.Pointer bytes, + int maxLength, _NSRange aRange, ffi.Pointer<_NSRange> leftoverRange) { + _objc_msgSend_392( + this.pointer, + _sel_getCString_maxLength_range_remainingRange_, + bytes, + maxLength, + aRange, + leftoverRange); } bool writeToFile_atomically_(NSString path, bool useAuxiliaryFile) { - return _lib._objc_msgSend_26( - this.pointer, - _lib._sel_writeToFile_atomically_1, - path.pointer, - useAuxiliaryFile, - ); + return _objc_msgSend_26(this.pointer, _sel_writeToFile_atomically_, + path.pointer, useAuxiliaryFile); } bool writeToURL_atomically_(NSURL url, bool atomically) { - return _lib._objc_msgSend_134( - this.pointer, - _lib._sel_writeToURL_atomically_1, - url.pointer, - atomically, - ); + return _objc_msgSend_134( + this.pointer, _sel_writeToURL_atomically_, url.pointer, atomically); } NSObject? initWithContentsOfFile_(NSString path) { - final _ret = _lib._objc_msgSend_38( - this.pointer, - _lib._sel_initWithContentsOfFile_1, - path.pointer, - ); + final _ret = _objc_msgSend_38( + this.pointer, _sel_initWithContentsOfFile_, path.pointer); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } NSObject? initWithContentsOfURL_(NSURL url) { - final _ret = _lib._objc_msgSend_277( - this.pointer, - _lib._sel_initWithContentsOfURL_1, - url.pointer, - ); + final _ret = _objc_msgSend_277( + this.pointer, _sel_initWithContentsOfURL_, url.pointer); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } - static NSObject? stringWithContentsOfFile_(AVFAudio _lib, NSString path) { - final _ret = _lib._objc_msgSend_38( - _lib._class_NSString1, - _lib._sel_stringWithContentsOfFile_1, - path.pointer, - ); + static NSObject? stringWithContentsOfFile_(NSString path) { + final _ret = _objc_msgSend_38( + _class_NSString, _sel_stringWithContentsOfFile_, path.pointer); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } - static NSObject? stringWithContentsOfURL_(AVFAudio _lib, NSURL url) { - final _ret = _lib._objc_msgSend_277( - _lib._class_NSString1, - _lib._sel_stringWithContentsOfURL_1, - url.pointer, - ); + static NSObject? stringWithContentsOfURL_(NSURL url) { + final _ret = _objc_msgSend_277( + _class_NSString, _sel_stringWithContentsOfURL_, url.pointer); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } NSObject? initWithCStringNoCopy_length_freeWhenDone_( - ffi.Pointer bytes, - int length, - bool freeBuffer, - ) { - final _ret = _lib._objc_msgSend_393( - this.pointer, - _lib._sel_initWithCStringNoCopy_length_freeWhenDone_1, - bytes, - length, - freeBuffer, - ); + ffi.Pointer bytes, int length, bool freeBuffer) { + final _ret = _objc_msgSend_393( + this.pointer, + _sel_initWithCStringNoCopy_length_freeWhenDone_, + bytes, + length, + freeBuffer); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: false, release: true); + : NSObject._(_ret, retain: false, release: true); } NSObject? initWithCString_length_(ffi.Pointer bytes, int length) { - final _ret = _lib._objc_msgSend_384( - this.pointer, - _lib._sel_initWithCString_length_1, - bytes, - length, - ); + final _ret = _objc_msgSend_384( + this.pointer, _sel_initWithCString_length_, bytes, length); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } NSObject? initWithCString_(ffi.Pointer bytes) { - final _ret = _lib._objc_msgSend_372( - this.pointer, - _lib._sel_initWithCString_1, - bytes, - ); + final _ret = _objc_msgSend_372(this.pointer, _sel_initWithCString_, bytes); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } static NSObject? stringWithCString_length_( - AVFAudio _lib, - ffi.Pointer bytes, - int length, - ) { - final _ret = _lib._objc_msgSend_384( - _lib._class_NSString1, - _lib._sel_stringWithCString_length_1, - bytes, - length, - ); + ffi.Pointer bytes, int length) { + final _ret = _objc_msgSend_384( + _class_NSString, _sel_stringWithCString_length_, bytes, length); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } - static NSObject? stringWithCString_( - AVFAudio _lib, - ffi.Pointer bytes, - ) { - final _ret = _lib._objc_msgSend_372( - _lib._class_NSString1, - _lib._sel_stringWithCString_1, - bytes, - ); + static NSObject? stringWithCString_(ffi.Pointer bytes) { + final _ret = + _objc_msgSend_372(_class_NSString, _sel_stringWithCString_, bytes); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } void getCharacters_(ffi.Pointer buffer) { - _lib._objc_msgSend_394(this.pointer, _lib._sel_getCharacters_1, buffer); + _objc_msgSend_394(this.pointer, _sel_getCharacters_, buffer); } NSString variantFittingPresentationWidth_(int width) { - final _ret = _lib._objc_msgSend_395( - this.pointer, - _lib._sel_variantFittingPresentationWidth_1, - width, - ); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_395( + this.pointer, _sel_variantFittingPresentationWidth_, width); + return NSString._(_ret, retain: true, release: true); } - static NSString pathWithComponents_(AVFAudio _lib, NSArray components) { - final _ret = _lib._objc_msgSend_396( - _lib._class_NSString1, - _lib._sel_pathWithComponents_1, - components.pointer, - ); - return NSString._(_ret, _lib, retain: true, release: true); + static NSString pathWithComponents_(NSArray components) { + final _ret = _objc_msgSend_396( + _class_NSString, _sel_pathWithComponents_, components.pointer); + return NSString._(_ret, retain: true, release: true); } NSArray get pathComponents { - final _ret = _lib._objc_msgSend_85(this.pointer, _lib._sel_pathComponents1); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_85(this.pointer, _sel_pathComponents); + return NSArray._(_ret, retain: true, release: true); } bool get absolutePath { - return _lib._objc_msgSend_12(this.pointer, _lib._sel_isAbsolutePath1); + return _objc_msgSend_12(this.pointer, _sel_isAbsolutePath); } NSString get lastPathComponent { - final _ret = _lib._objc_msgSend_21( - this.pointer, - _lib._sel_lastPathComponent1, - ); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_lastPathComponent); + return NSString._(_ret, retain: true, release: true); } NSString get stringByDeletingLastPathComponent { - final _ret = _lib._objc_msgSend_21( - this.pointer, - _lib._sel_stringByDeletingLastPathComponent1, - ); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_21(this.pointer, _sel_stringByDeletingLastPathComponent); + return NSString._(_ret, retain: true, release: true); } NSString stringByAppendingPathComponent_(NSString str) { - final _ret = _lib._objc_msgSend_69( - this.pointer, - _lib._sel_stringByAppendingPathComponent_1, - str.pointer, - ); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_69( + this.pointer, _sel_stringByAppendingPathComponent_, str.pointer); + return NSString._(_ret, retain: true, release: true); } NSString get pathExtension { - final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_pathExtension1); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_pathExtension); + return NSString._(_ret, retain: true, release: true); } NSString get stringByDeletingPathExtension { - final _ret = _lib._objc_msgSend_21( - this.pointer, - _lib._sel_stringByDeletingPathExtension1, - ); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_21(this.pointer, _sel_stringByDeletingPathExtension); + return NSString._(_ret, retain: true, release: true); } NSString? stringByAppendingPathExtension_(NSString str) { - final _ret = _lib._objc_msgSend_186( - this.pointer, - _lib._sel_stringByAppendingPathExtension_1, - str.pointer, - ); + final _ret = _objc_msgSend_186( + this.pointer, _sel_stringByAppendingPathExtension_, str.pointer); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } NSString get stringByAbbreviatingWithTildeInPath { - final _ret = _lib._objc_msgSend_21( - this.pointer, - _lib._sel_stringByAbbreviatingWithTildeInPath1, - ); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21( + this.pointer, _sel_stringByAbbreviatingWithTildeInPath); + return NSString._(_ret, retain: true, release: true); } NSString get stringByExpandingTildeInPath { - final _ret = _lib._objc_msgSend_21( - this.pointer, - _lib._sel_stringByExpandingTildeInPath1, - ); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_21(this.pointer, _sel_stringByExpandingTildeInPath); + return NSString._(_ret, retain: true, release: true); } NSString get stringByStandardizingPath { - final _ret = _lib._objc_msgSend_21( - this.pointer, - _lib._sel_stringByStandardizingPath1, - ); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_stringByStandardizingPath); + return NSString._(_ret, retain: true, release: true); } NSString get stringByResolvingSymlinksInPath { - final _ret = _lib._objc_msgSend_21( - this.pointer, - _lib._sel_stringByResolvingSymlinksInPath1, - ); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_21(this.pointer, _sel_stringByResolvingSymlinksInPath); + return NSString._(_ret, retain: true, release: true); } NSArray stringsByAppendingPaths_(NSArray paths) { - final _ret = _lib._objc_msgSend_68( - this.pointer, - _lib._sel_stringsByAppendingPaths_1, - paths.pointer, - ); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_68( + this.pointer, _sel_stringsByAppendingPaths_, paths.pointer); + return NSArray._(_ret, retain: true, release: true); } int completePathIntoString_caseSensitive_matchesIntoArray_filterTypes_( - ffi.Pointer> outputName, - bool flag, - ffi.Pointer> outputArray, - NSArray? filterTypes, - ) { - return _lib._objc_msgSend_397( - this.pointer, - _lib._sel_completePathIntoString_caseSensitive_matchesIntoArray_filterTypes_1, - outputName, - flag, - outputArray, - filterTypes?.pointer ?? ffi.nullptr, - ); + ffi.Pointer> outputName, + bool flag, + ffi.Pointer> outputArray, + NSArray? filterTypes) { + return _objc_msgSend_397( + this.pointer, + _sel_completePathIntoString_caseSensitive_matchesIntoArray_filterTypes_, + outputName, + flag, + outputArray, + filterTypes?.pointer ?? ffi.nullptr); } ffi.Pointer get fileSystemRepresentation { - return _lib._objc_msgSend_13( - this.pointer, - _lib._sel_fileSystemRepresentation1, - ); + return _objc_msgSend_13(this.pointer, _sel_fileSystemRepresentation); } bool getFileSystemRepresentation_maxLength_( - ffi.Pointer cname, - int max, - ) { - return _lib._objc_msgSend_242( - this.pointer, - _lib._sel_getFileSystemRepresentation_maxLength_1, - cname, - max, - ); + ffi.Pointer cname, int max) { + return _objc_msgSend_242( + this.pointer, _sel_getFileSystemRepresentation_maxLength_, cname, max); } NSString? stringByAddingPercentEncodingWithAllowedCharacters_( - NSCharacterSet allowedCharacters, - ) { - final _ret = _lib._objc_msgSend_398( - this.pointer, - _lib._sel_stringByAddingPercentEncodingWithAllowedCharacters_1, - allowedCharacters.pointer, - ); + NSCharacterSet allowedCharacters) { + final _ret = _objc_msgSend_398( + this.pointer, + _sel_stringByAddingPercentEncodingWithAllowedCharacters_, + allowedCharacters.pointer); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } NSString? get stringByRemovingPercentEncoding { - final _ret = _lib._objc_msgSend_44( - this.pointer, - _lib._sel_stringByRemovingPercentEncoding1, - ); + final _ret = + _objc_msgSend_44(this.pointer, _sel_stringByRemovingPercentEncoding); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } NSString? stringByAddingPercentEscapesUsingEncoding_(int enc) { - final _ret = _lib._objc_msgSend_399( - this.pointer, - _lib._sel_stringByAddingPercentEscapesUsingEncoding_1, - enc, - ); + final _ret = _objc_msgSend_399( + this.pointer, _sel_stringByAddingPercentEscapesUsingEncoding_, enc); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } NSString? stringByReplacingPercentEscapesUsingEncoding_(int enc) { - final _ret = _lib._objc_msgSend_399( - this.pointer, - _lib._sel_stringByReplacingPercentEscapesUsingEncoding_1, - enc, - ); + final _ret = _objc_msgSend_399( + this.pointer, _sel_stringByReplacingPercentEscapesUsingEncoding_, enc); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } NSArray linguisticTagsInRange_scheme_options_orthography_tokenRanges_( - _NSRange range, - NSString scheme, - int options, - NSOrthography? orthography, - ffi.Pointer> tokenRanges, - ) { - final _ret = _lib._objc_msgSend_401( - this.pointer, - _lib._sel_linguisticTagsInRange_scheme_options_orthography_tokenRanges_1, - range, - scheme.pointer, - options, - orthography?.pointer ?? ffi.nullptr, - tokenRanges, - ); - return NSArray._(_ret, _lib, retain: true, release: true); + _NSRange range, + NSString scheme, + int options, + NSOrthography? orthography, + ffi.Pointer> tokenRanges) { + final _ret = _objc_msgSend_401( + this.pointer, + _sel_linguisticTagsInRange_scheme_options_orthography_tokenRanges_, + range, + scheme.pointer, + options, + orthography?.pointer ?? ffi.nullptr, + tokenRanges); + return NSArray._(_ret, retain: true, release: true); } void enumerateLinguisticTagsInRange_scheme_options_orthography_usingBlock_( - _NSRange range, - NSString scheme, - int options, - NSOrthography? orthography, - ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool block, - ) { - _lib._objc_msgSend_402( - this.pointer, - _lib._sel_enumerateLinguisticTagsInRange_scheme_options_orthography_usingBlock_1, - range, - scheme.pointer, - options, - orthography?.pointer ?? ffi.nullptr, - block.pointer, - ); - } - - static NSString new1(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2(_lib._class_NSString1, _lib._sel_new1); - return NSString._(_ret, _lib, retain: false, release: true); - } - - static NSString allocWithZone_(AVFAudio _lib, ffi.Pointer<_NSZone> zone) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSString1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSString._(_ret, _lib, retain: false, release: true); - } - - static NSString alloc(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2(_lib._class_NSString1, _lib._sel_alloc1); - return NSString._(_ret, _lib, retain: false, release: true); + _NSRange range, + NSString scheme, + int options, + NSOrthography? orthography, + ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool block) { + _objc_msgSend_402( + this.pointer, + _sel_enumerateLinguisticTagsInRange_scheme_options_orthography_usingBlock_, + range, + scheme.pointer, + options, + orthography?.pointer ?? ffi.nullptr, + block.pointer); + } + + static NSString new1() { + final _ret = _objc_msgSend_2(_class_NSString, _sel_new); + return NSString._(_ret, retain: false, release: true); + } + + static NSString allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = _objc_msgSend_3(_class_NSString, _sel_allocWithZone_, zone); + return NSString._(_ret, retain: false, release: true); + } + + static NSString alloc() { + final _ret = _objc_msgSend_2(_class_NSString, _sel_alloc); + return NSString._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSString1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSString1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSString1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSString1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSString1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSString1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSString, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); + } + + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSString, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); + } + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSString, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSString, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSString, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSString, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); } static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSString1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSString1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSString1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSString, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = + _objc_msgSend_85(_class_NSString, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = _objc_msgSend_2(_class_NSString, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); } } extension StringToNSString on String { - NSString toNSString(AVFAudio lib) => NSString(lib, this); + NSString toNSString() => NSString(this); } +late final _class_NSString = objc.getClass("NSString"); +late final _sel_length = objc.registerName("length"); +late final _sel_characterAtIndex_ = objc.registerName("characterAtIndex:"); +final _objc_msgSend_18 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.UnsignedShort Function(ffi.Pointer obj, + ffi.Pointer sel, ffi.UnsignedLong index)>>() + .asFunction< + int Function(ffi.Pointer, + ffi.Pointer, int)>(); + class NSCoder extends NSObject { - NSCoder._( - ffi.Pointer pointer, - AVFAudio lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSCoder._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSCoder] that points to the same underlying object as [other]. - static NSCoder castFrom( - AVFAudio lib, - T other, - ) { - return NSCoder._(other.pointer, lib, retain: true, release: true); + static NSCoder castFrom(T other) { + return NSCoder._(other.pointer, retain: true, release: true); } /// Returns a [NSCoder] that wraps the given raw object pointer. - static NSCoder castFromPointer( - AVFAudio lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSCoder._(other, lib, retain: retain, release: release); + static NSCoder castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSCoder._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSCoder]. - static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSCoder1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0(obj.pointer, _sel_isKindOfClass_, _class_NSCoder); } void encodeValueOfObjCType_at_( - ffi.Pointer type, - ffi.Pointer addr, - ) { - _lib._objc_msgSend_19( - this.pointer, - _lib._sel_encodeValueOfObjCType_at_1, - type, - addr, - ); + ffi.Pointer type, ffi.Pointer addr) { + _objc_msgSend_19(this.pointer, _sel_encodeValueOfObjCType_at_, type, addr); } void encodeDataObject_(NSData data) { - _lib._objc_msgSend_285( - this.pointer, - _lib._sel_encodeDataObject_1, - data.pointer, - ); + _objc_msgSend_285(this.pointer, _sel_encodeDataObject_, data.pointer); } NSData? decodeDataObject() { - final _ret = _lib._objc_msgSend_286( - this.pointer, - _lib._sel_decodeDataObject1, - ); + final _ret = _objc_msgSend_286(this.pointer, _sel_decodeDataObject); return _ret.address == 0 ? null - : NSData._(_ret, _lib, retain: true, release: true); + : NSData._(_ret, retain: true, release: true); } void decodeValueOfObjCType_at_size_( - ffi.Pointer type, - ffi.Pointer data, - int size, - ) { - _lib._objc_msgSend_287( - this.pointer, - _lib._sel_decodeValueOfObjCType_at_size_1, - type, - data, - size, - ); + ffi.Pointer type, ffi.Pointer data, int size) { + _objc_msgSend_287( + this.pointer, _sel_decodeValueOfObjCType_at_size_, type, data, size); } int versionForClassName_(NSString className) { - return _lib._objc_msgSend_288( - this.pointer, - _lib._sel_versionForClassName_1, - className.pointer, - ); + return _objc_msgSend_288( + this.pointer, _sel_versionForClassName_, className.pointer); } void encodeObject_(NSObject? object) { - _lib._objc_msgSend_289( - this.pointer, - _lib._sel_encodeObject_1, - object?.pointer ?? ffi.nullptr, - ); + _objc_msgSend_289( + this.pointer, _sel_encodeObject_, object?.pointer ?? ffi.nullptr); } void encodeRootObject_(NSObject rootObject) { - _lib._objc_msgSend_15( - this.pointer, - _lib._sel_encodeRootObject_1, - rootObject.pointer, - ); + _objc_msgSend_15(this.pointer, _sel_encodeRootObject_, rootObject.pointer); } void encodeBycopyObject_(NSObject? anObject) { - _lib._objc_msgSend_289( - this.pointer, - _lib._sel_encodeBycopyObject_1, - anObject?.pointer ?? ffi.nullptr, - ); + _objc_msgSend_289(this.pointer, _sel_encodeBycopyObject_, + anObject?.pointer ?? ffi.nullptr); } void encodeByrefObject_(NSObject? anObject) { - _lib._objc_msgSend_289( - this.pointer, - _lib._sel_encodeByrefObject_1, - anObject?.pointer ?? ffi.nullptr, - ); + _objc_msgSend_289(this.pointer, _sel_encodeByrefObject_, + anObject?.pointer ?? ffi.nullptr); } void encodeConditionalObject_(NSObject? object) { - _lib._objc_msgSend_289( - this.pointer, - _lib._sel_encodeConditionalObject_1, - object?.pointer ?? ffi.nullptr, - ); + _objc_msgSend_289(this.pointer, _sel_encodeConditionalObject_, + object?.pointer ?? ffi.nullptr); } void encodeValuesOfObjCTypes_(ffi.Pointer types) { - _lib._objc_msgSend_290( - this.pointer, - _lib._sel_encodeValuesOfObjCTypes_1, - types, - ); + _objc_msgSend_290(this.pointer, _sel_encodeValuesOfObjCTypes_, types); } void encodeArrayOfObjCType_count_at_( - ffi.Pointer type, - int count, - ffi.Pointer array, - ) { - _lib._objc_msgSend_291( - this.pointer, - _lib._sel_encodeArrayOfObjCType_count_at_1, - type, - count, - array, - ); + ffi.Pointer type, int count, ffi.Pointer array) { + _objc_msgSend_291( + this.pointer, _sel_encodeArrayOfObjCType_count_at_, type, count, array); } void encodeBytes_length_(ffi.Pointer byteaddr, int length) { - _lib._objc_msgSend_22( - this.pointer, - _lib._sel_encodeBytes_length_1, - byteaddr, - length, - ); + _objc_msgSend_22(this.pointer, _sel_encodeBytes_length_, byteaddr, length); } NSObject? decodeObject() { - final _ret = _lib._objc_msgSend_17(this.pointer, _lib._sel_decodeObject1); + final _ret = _objc_msgSend_17(this.pointer, _sel_decodeObject); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } NSObject? decodeTopLevelObjectAndReturnError_( - ffi.Pointer> error, - ) { - final _ret = _lib._objc_msgSend_292( - this.pointer, - _lib._sel_decodeTopLevelObjectAndReturnError_1, - error, - ); + ffi.Pointer> error) { + final _ret = _objc_msgSend_292( + this.pointer, _sel_decodeTopLevelObjectAndReturnError_, error); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } void decodeValuesOfObjCTypes_(ffi.Pointer types) { - _lib._objc_msgSend_290( - this.pointer, - _lib._sel_decodeValuesOfObjCTypes_1, - types, - ); + _objc_msgSend_290(this.pointer, _sel_decodeValuesOfObjCTypes_, types); } void decodeArrayOfObjCType_count_at_( - ffi.Pointer itemType, - int count, - ffi.Pointer array, - ) { - _lib._objc_msgSend_291( - this.pointer, - _lib._sel_decodeArrayOfObjCType_count_at_1, - itemType, - count, - array, - ); + ffi.Pointer itemType, int count, ffi.Pointer array) { + _objc_msgSend_291(this.pointer, _sel_decodeArrayOfObjCType_count_at_, + itemType, count, array); } ffi.Pointer decodeBytesWithReturnedLength_( - ffi.Pointer lengthp, - ) { - return _lib._objc_msgSend_293( - this.pointer, - _lib._sel_decodeBytesWithReturnedLength_1, - lengthp, - ); + ffi.Pointer lengthp) { + return _objc_msgSend_293( + this.pointer, _sel_decodeBytesWithReturnedLength_, lengthp); } void encodePropertyList_(NSObject aPropertyList) { - _lib._objc_msgSend_15( - this.pointer, - _lib._sel_encodePropertyList_1, - aPropertyList.pointer, - ); + _objc_msgSend_15( + this.pointer, _sel_encodePropertyList_, aPropertyList.pointer); } NSObject? decodePropertyList() { - final _ret = _lib._objc_msgSend_17( - this.pointer, - _lib._sel_decodePropertyList1, - ); + final _ret = _objc_msgSend_17(this.pointer, _sel_decodePropertyList); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } void setObjectZone_(ffi.Pointer<_NSZone> zone) { - _lib._objc_msgSend_294(this.pointer, _lib._sel_setObjectZone_1, zone); + _objc_msgSend_294(this.pointer, _sel_setObjectZone_, zone); } ffi.Pointer<_NSZone> objectZone() { - return _lib._objc_msgSend_295(this.pointer, _lib._sel_objectZone1); + return _objc_msgSend_295(this.pointer, _sel_objectZone); } int get systemVersion { - return _lib._objc_msgSend_214(this.pointer, _lib._sel_systemVersion1); + return _objc_msgSend_214(this.pointer, _sel_systemVersion); } bool get allowsKeyedCoding { - return _lib._objc_msgSend_12(this.pointer, _lib._sel_allowsKeyedCoding1); + return _objc_msgSend_12(this.pointer, _sel_allowsKeyedCoding); } void encodeObject_forKey_(NSObject? object, NSString key) { - _lib._objc_msgSend_135( - this.pointer, - _lib._sel_encodeObject_forKey_1, - object?.pointer ?? ffi.nullptr, - key.pointer, - ); + _objc_msgSend_135(this.pointer, _sel_encodeObject_forKey_, + object?.pointer ?? ffi.nullptr, key.pointer); } void encodeConditionalObject_forKey_(NSObject? object, NSString key) { - _lib._objc_msgSend_135( - this.pointer, - _lib._sel_encodeConditionalObject_forKey_1, - object?.pointer ?? ffi.nullptr, - key.pointer, - ); + _objc_msgSend_135(this.pointer, _sel_encodeConditionalObject_forKey_, + object?.pointer ?? ffi.nullptr, key.pointer); } void encodeBool_forKey_(bool value, NSString key) { - _lib._objc_msgSend_296( - this.pointer, - _lib._sel_encodeBool_forKey_1, - value, - key.pointer, - ); + _objc_msgSend_296( + this.pointer, _sel_encodeBool_forKey_, value, key.pointer); } void encodeInt_forKey_(int value, NSString key) { - _lib._objc_msgSend_297( - this.pointer, - _lib._sel_encodeInt_forKey_1, - value, - key.pointer, - ); + _objc_msgSend_297(this.pointer, _sel_encodeInt_forKey_, value, key.pointer); } void encodeInt32_forKey_(int value, NSString key) { - _lib._objc_msgSend_298( - this.pointer, - _lib._sel_encodeInt32_forKey_1, - value, - key.pointer, - ); + _objc_msgSend_298( + this.pointer, _sel_encodeInt32_forKey_, value, key.pointer); } void encodeInt64_forKey_(int value, NSString key) { - _lib._objc_msgSend_299( - this.pointer, - _lib._sel_encodeInt64_forKey_1, - value, - key.pointer, - ); + _objc_msgSend_299( + this.pointer, _sel_encodeInt64_forKey_, value, key.pointer); } void encodeFloat_forKey_(double value, NSString key) { - _lib._objc_msgSend_300( - this.pointer, - _lib._sel_encodeFloat_forKey_1, - value, - key.pointer, - ); + _objc_msgSend_300( + this.pointer, _sel_encodeFloat_forKey_, value, key.pointer); } void encodeDouble_forKey_(double value, NSString key) { - _lib._objc_msgSend_301( - this.pointer, - _lib._sel_encodeDouble_forKey_1, - value, - key.pointer, - ); + _objc_msgSend_301( + this.pointer, _sel_encodeDouble_forKey_, value, key.pointer); } void encodeBytes_length_forKey_( - ffi.Pointer bytes, - int length, - NSString key, - ) { - _lib._objc_msgSend_302( - this.pointer, - _lib._sel_encodeBytes_length_forKey_1, - bytes, - length, - key.pointer, - ); + ffi.Pointer bytes, int length, NSString key) { + _objc_msgSend_302(this.pointer, _sel_encodeBytes_length_forKey_, bytes, + length, key.pointer); } bool containsValueForKey_(NSString key) { - return _lib._objc_msgSend_64( - this.pointer, - _lib._sel_containsValueForKey_1, - key.pointer, - ); + return _objc_msgSend_64( + this.pointer, _sel_containsValueForKey_, key.pointer); } NSObject? decodeObjectForKey_(NSString key) { - final _ret = _lib._objc_msgSend_38( - this.pointer, - _lib._sel_decodeObjectForKey_1, - key.pointer, - ); + final _ret = + _objc_msgSend_38(this.pointer, _sel_decodeObjectForKey_, key.pointer); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } NSObject? decodeTopLevelObjectForKey_error_( - NSString key, - ffi.Pointer> error, - ) { - final _ret = _lib._objc_msgSend_303( - this.pointer, - _lib._sel_decodeTopLevelObjectForKey_error_1, - key.pointer, - error, - ); + NSString key, ffi.Pointer> error) { + final _ret = _objc_msgSend_303(this.pointer, + _sel_decodeTopLevelObjectForKey_error_, key.pointer, error); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } bool decodeBoolForKey_(NSString key) { - return _lib._objc_msgSend_64( - this.pointer, - _lib._sel_decodeBoolForKey_1, - key.pointer, - ); + return _objc_msgSend_64(this.pointer, _sel_decodeBoolForKey_, key.pointer); } int decodeIntForKey_(NSString key) { - return _lib._objc_msgSend_304( - this.pointer, - _lib._sel_decodeIntForKey_1, - key.pointer, - ); + return _objc_msgSend_304(this.pointer, _sel_decodeIntForKey_, key.pointer); } int decodeInt32ForKey_(NSString key) { - return _lib._objc_msgSend_305( - this.pointer, - _lib._sel_decodeInt32ForKey_1, - key.pointer, - ); + return _objc_msgSend_305( + this.pointer, _sel_decodeInt32ForKey_, key.pointer); } int decodeInt64ForKey_(NSString key) { - return _lib._objc_msgSend_306( - this.pointer, - _lib._sel_decodeInt64ForKey_1, - key.pointer, - ); + return _objc_msgSend_306( + this.pointer, _sel_decodeInt64ForKey_, key.pointer); } double decodeFloatForKey_(NSString key) { return objc.useMsgSendVariants - ? _lib._objc_msgSend_307_fpret( - this.pointer, - _lib._sel_decodeFloatForKey_1, - key.pointer, - ) - : _lib._objc_msgSend_307( - this.pointer, - _lib._sel_decodeFloatForKey_1, - key.pointer, - ); + ? _objc_msgSend_307Fpret( + this.pointer, _sel_decodeFloatForKey_, key.pointer) + : _objc_msgSend_307(this.pointer, _sel_decodeFloatForKey_, key.pointer); } double decodeDoubleForKey_(NSString key) { return objc.useMsgSendVariants - ? _lib._objc_msgSend_308_fpret( - this.pointer, - _lib._sel_decodeDoubleForKey_1, - key.pointer, - ) - : _lib._objc_msgSend_308( - this.pointer, - _lib._sel_decodeDoubleForKey_1, - key.pointer, - ); + ? _objc_msgSend_308Fpret( + this.pointer, _sel_decodeDoubleForKey_, key.pointer) + : _objc_msgSend_308( + this.pointer, _sel_decodeDoubleForKey_, key.pointer); } ffi.Pointer decodeBytesForKey_returnedLength_( - NSString key, - ffi.Pointer lengthp, - ) { - return _lib._objc_msgSend_309( - this.pointer, - _lib._sel_decodeBytesForKey_returnedLength_1, - key.pointer, - lengthp, - ); + NSString key, ffi.Pointer lengthp) { + return _objc_msgSend_309(this.pointer, + _sel_decodeBytesForKey_returnedLength_, key.pointer, lengthp); } void encodeInteger_forKey_(int value, NSString key) { - _lib._objc_msgSend_310( - this.pointer, - _lib._sel_encodeInteger_forKey_1, - value, - key.pointer, - ); + _objc_msgSend_310( + this.pointer, _sel_encodeInteger_forKey_, value, key.pointer); } int decodeIntegerForKey_(NSString key) { - return _lib._objc_msgSend_288( - this.pointer, - _lib._sel_decodeIntegerForKey_1, - key.pointer, - ); + return _objc_msgSend_288( + this.pointer, _sel_decodeIntegerForKey_, key.pointer); } bool get requiresSecureCoding { - return _lib._objc_msgSend_12(this.pointer, _lib._sel_requiresSecureCoding1); + return _objc_msgSend_12(this.pointer, _sel_requiresSecureCoding); } NSObject? decodeObjectOfClass_forKey_(NSObject aClass, NSString key) { - final _ret = _lib._objc_msgSend_311( - this.pointer, - _lib._sel_decodeObjectOfClass_forKey_1, - aClass.pointer, - key.pointer, - ); + final _ret = _objc_msgSend_311(this.pointer, + _sel_decodeObjectOfClass_forKey_, aClass.pointer, key.pointer); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } - NSObject? decodeTopLevelObjectOfClass_forKey_error_( - NSObject aClass, - NSString key, - ffi.Pointer> error, - ) { - final _ret = _lib._objc_msgSend_312( - this.pointer, - _lib._sel_decodeTopLevelObjectOfClass_forKey_error_1, - aClass.pointer, - key.pointer, - error, - ); + NSObject? decodeTopLevelObjectOfClass_forKey_error_(NSObject aClass, + NSString key, ffi.Pointer> error) { + final _ret = _objc_msgSend_312( + this.pointer, + _sel_decodeTopLevelObjectOfClass_forKey_error_, + aClass.pointer, + key.pointer, + error); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } NSArray? decodeArrayOfObjectsOfClass_forKey_(NSObject cls, NSString key) { - final _ret = _lib._objc_msgSend_313( - this.pointer, - _lib._sel_decodeArrayOfObjectsOfClass_forKey_1, - cls.pointer, - key.pointer, - ); + final _ret = _objc_msgSend_313(this.pointer, + _sel_decodeArrayOfObjectsOfClass_forKey_, cls.pointer, key.pointer); return _ret.address == 0 ? null - : NSArray._(_ret, _lib, retain: true, release: true); + : NSArray._(_ret, retain: true, release: true); } NSDictionary? decodeDictionaryWithKeysOfClass_objectsOfClass_forKey_( - NSObject keyCls, - NSObject objectCls, - NSString key, - ) { - final _ret = _lib._objc_msgSend_314( - this.pointer, - _lib._sel_decodeDictionaryWithKeysOfClass_objectsOfClass_forKey_1, - keyCls.pointer, - objectCls.pointer, - key.pointer, - ); + NSObject keyCls, NSObject objectCls, NSString key) { + final _ret = _objc_msgSend_314( + this.pointer, + _sel_decodeDictionaryWithKeysOfClass_objectsOfClass_forKey_, + keyCls.pointer, + objectCls.pointer, + key.pointer); return _ret.address == 0 ? null - : NSDictionary._(_ret, _lib, retain: true, release: true); + : NSDictionary._(_ret, retain: true, release: true); } NSObject? decodeObjectOfClasses_forKey_(NSSet? classes, NSString key) { - final _ret = _lib._objc_msgSend_315( - this.pointer, - _lib._sel_decodeObjectOfClasses_forKey_1, - classes?.pointer ?? ffi.nullptr, - key.pointer, - ); + final _ret = _objc_msgSend_315( + this.pointer, + _sel_decodeObjectOfClasses_forKey_, + classes?.pointer ?? ffi.nullptr, + key.pointer); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } - NSObject? decodeTopLevelObjectOfClasses_forKey_error_( - NSSet? classes, - NSString key, - ffi.Pointer> error, - ) { - final _ret = _lib._objc_msgSend_316( - this.pointer, - _lib._sel_decodeTopLevelObjectOfClasses_forKey_error_1, - classes?.pointer ?? ffi.nullptr, - key.pointer, - error, - ); + NSObject? decodeTopLevelObjectOfClasses_forKey_error_(NSSet? classes, + NSString key, ffi.Pointer> error) { + final _ret = _objc_msgSend_316( + this.pointer, + _sel_decodeTopLevelObjectOfClasses_forKey_error_, + classes?.pointer ?? ffi.nullptr, + key.pointer, + error); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } NSArray? decodeArrayOfObjectsOfClasses_forKey_(NSSet classes, NSString key) { - final _ret = _lib._objc_msgSend_317( - this.pointer, - _lib._sel_decodeArrayOfObjectsOfClasses_forKey_1, - classes.pointer, - key.pointer, - ); + final _ret = _objc_msgSend_317( + this.pointer, + _sel_decodeArrayOfObjectsOfClasses_forKey_, + classes.pointer, + key.pointer); return _ret.address == 0 ? null - : NSArray._(_ret, _lib, retain: true, release: true); + : NSArray._(_ret, retain: true, release: true); } NSDictionary? decodeDictionaryWithKeysOfClasses_objectsOfClasses_forKey_( - NSSet keyClasses, - NSSet objectClasses, - NSString key, - ) { - final _ret = _lib._objc_msgSend_318( - this.pointer, - _lib._sel_decodeDictionaryWithKeysOfClasses_objectsOfClasses_forKey_1, - keyClasses.pointer, - objectClasses.pointer, - key.pointer, - ); + NSSet keyClasses, NSSet objectClasses, NSString key) { + final _ret = _objc_msgSend_318( + this.pointer, + _sel_decodeDictionaryWithKeysOfClasses_objectsOfClasses_forKey_, + keyClasses.pointer, + objectClasses.pointer, + key.pointer); return _ret.address == 0 ? null - : NSDictionary._(_ret, _lib, retain: true, release: true); + : NSDictionary._(_ret, retain: true, release: true); } NSObject? decodePropertyListForKey_(NSString key) { - final _ret = _lib._objc_msgSend_38( - this.pointer, - _lib._sel_decodePropertyListForKey_1, - key.pointer, - ); + final _ret = _objc_msgSend_38( + this.pointer, _sel_decodePropertyListForKey_, key.pointer); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } NSSet? get allowedClasses { - final _ret = _lib._objc_msgSend_319( - this.pointer, - _lib._sel_allowedClasses1, - ); + final _ret = _objc_msgSend_319(this.pointer, _sel_allowedClasses); return _ret.address == 0 ? null - : NSSet._(_ret, _lib, retain: true, release: true); + : NSSet._(_ret, retain: true, release: true); } void failWithError_(NSError error) { - _lib._objc_msgSend_320( - this.pointer, - _lib._sel_failWithError_1, - error.pointer, - ); + _objc_msgSend_320(this.pointer, _sel_failWithError_, error.pointer); } int get decodingFailurePolicy { - return _lib._objc_msgSend_321( - this.pointer, - _lib._sel_decodingFailurePolicy1, - ); + return _objc_msgSend_321(this.pointer, _sel_decodingFailurePolicy); } NSError? get error { - final _ret = _lib._objc_msgSend_322(this.pointer, _lib._sel_error1); + final _ret = _objc_msgSend_322(this.pointer, _sel_error); return _ret.address == 0 ? null - : NSError._(_ret, _lib, retain: true, release: true); + : NSError._(_ret, retain: true, release: true); } void encodeNXObject_(NSObject object) { - _lib._objc_msgSend_15( - this.pointer, - _lib._sel_encodeNXObject_1, - object.pointer, - ); + _objc_msgSend_15(this.pointer, _sel_encodeNXObject_, object.pointer); } NSObject? decodeNXObject() { - final _ret = _lib._objc_msgSend_17(this.pointer, _lib._sel_decodeNXObject1); + final _ret = _objc_msgSend_17(this.pointer, _sel_decodeNXObject); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } void decodeValueOfObjCType_at_( - ffi.Pointer type, - ffi.Pointer data, - ) { - _lib._objc_msgSend_19( - this.pointer, - _lib._sel_decodeValueOfObjCType_at_1, - type, - data, - ); + ffi.Pointer type, ffi.Pointer data) { + _objc_msgSend_19(this.pointer, _sel_decodeValueOfObjCType_at_, type, data); } void encodePoint_(CGPoint point) { - _lib._objc_msgSend_323(this.pointer, _lib._sel_encodePoint_1, point); + _objc_msgSend_323(this.pointer, _sel_encodePoint_, point); } void decodePoint(ffi.Pointer stret) { objc.useMsgSendVariants - ? _lib._objc_msgSend_59_stret( - stret, - this.pointer, - _lib._sel_decodePoint1, - ) - : stret.ref = _lib._objc_msgSend_59( - this.pointer, - _lib._sel_decodePoint1, - ); + ? _objc_msgSend_59Stret(stret, this.pointer, _sel_decodePoint) + : stret.ref = _objc_msgSend_59(this.pointer, _sel_decodePoint); } void encodeSize_(CGSize size) { - _lib._objc_msgSend_324(this.pointer, _lib._sel_encodeSize_1, size); + _objc_msgSend_324(this.pointer, _sel_encodeSize_, size); } void decodeSize(ffi.Pointer stret) { objc.useMsgSendVariants - ? _lib._objc_msgSend_60_stret( - stret, - this.pointer, - _lib._sel_decodeSize1, - ) - : stret.ref = _lib._objc_msgSend_60( - this.pointer, - _lib._sel_decodeSize1, - ); + ? _objc_msgSend_60Stret(stret, this.pointer, _sel_decodeSize) + : stret.ref = _objc_msgSend_60(this.pointer, _sel_decodeSize); } void encodeRect_(CGRect rect) { - _lib._objc_msgSend_325(this.pointer, _lib._sel_encodeRect_1, rect); + _objc_msgSend_325(this.pointer, _sel_encodeRect_, rect); } void decodeRect(ffi.Pointer stret) { objc.useMsgSendVariants - ? _lib._objc_msgSend_61_stret( - stret, - this.pointer, - _lib._sel_decodeRect1, - ) - : stret.ref = _lib._objc_msgSend_61( - this.pointer, - _lib._sel_decodeRect1, - ); + ? _objc_msgSend_61Stret(stret, this.pointer, _sel_decodeRect) + : stret.ref = _objc_msgSend_61(this.pointer, _sel_decodeRect); } void encodePoint_forKey_(CGPoint point, NSString key) { - _lib._objc_msgSend_326( - this.pointer, - _lib._sel_encodePoint_forKey_1, - point, - key.pointer, - ); + _objc_msgSend_326( + this.pointer, _sel_encodePoint_forKey_, point, key.pointer); } void encodeSize_forKey_(CGSize size, NSString key) { - _lib._objc_msgSend_327( - this.pointer, - _lib._sel_encodeSize_forKey_1, - size, - key.pointer, - ); + _objc_msgSend_327(this.pointer, _sel_encodeSize_forKey_, size, key.pointer); } void encodeRect_forKey_(CGRect rect, NSString key) { - _lib._objc_msgSend_328( - this.pointer, - _lib._sel_encodeRect_forKey_1, - rect, - key.pointer, - ); + _objc_msgSend_328(this.pointer, _sel_encodeRect_forKey_, rect, key.pointer); } void decodePointForKey_(ffi.Pointer stret, NSString key) { objc.useMsgSendVariants - ? _lib._objc_msgSend_329_stret( - stret, - this.pointer, - _lib._sel_decodePointForKey_1, - key.pointer, - ) - : stret.ref = _lib._objc_msgSend_329( - this.pointer, - _lib._sel_decodePointForKey_1, - key.pointer, - ); + ? _objc_msgSend_329Stret( + stret, this.pointer, _sel_decodePointForKey_, key.pointer) + : stret.ref = _objc_msgSend_329( + this.pointer, _sel_decodePointForKey_, key.pointer); } void decodeSizeForKey_(ffi.Pointer stret, NSString key) { objc.useMsgSendVariants - ? _lib._objc_msgSend_330_stret( - stret, - this.pointer, - _lib._sel_decodeSizeForKey_1, - key.pointer, - ) - : stret.ref = _lib._objc_msgSend_330( - this.pointer, - _lib._sel_decodeSizeForKey_1, - key.pointer, - ); + ? _objc_msgSend_330Stret( + stret, this.pointer, _sel_decodeSizeForKey_, key.pointer) + : stret.ref = _objc_msgSend_330( + this.pointer, _sel_decodeSizeForKey_, key.pointer); } void decodeRectForKey_(ffi.Pointer stret, NSString key) { objc.useMsgSendVariants - ? _lib._objc_msgSend_331_stret( - stret, - this.pointer, - _lib._sel_decodeRectForKey_1, - key.pointer, - ) - : stret.ref = _lib._objc_msgSend_331( - this.pointer, - _lib._sel_decodeRectForKey_1, - key.pointer, - ); + ? _objc_msgSend_331Stret( + stret, this.pointer, _sel_decodeRectForKey_, key.pointer) + : stret.ref = _objc_msgSend_331( + this.pointer, _sel_decodeRectForKey_, key.pointer); } @override NSCoder init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSCoder._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSCoder._(_ret, retain: true, release: true); } - static NSCoder new1(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2(_lib._class_NSCoder1, _lib._sel_new1); - return NSCoder._(_ret, _lib, retain: false, release: true); + static NSCoder new1() { + final _ret = _objc_msgSend_2(_class_NSCoder, _sel_new); + return NSCoder._(_ret, retain: false, release: true); } - static NSCoder allocWithZone_(AVFAudio _lib, ffi.Pointer<_NSZone> zone) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSCoder1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSCoder._(_ret, _lib, retain: false, release: true); + static NSCoder allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = _objc_msgSend_3(_class_NSCoder, _sel_allocWithZone_, zone); + return NSCoder._(_ret, retain: false, release: true); } - static NSCoder alloc(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2(_lib._class_NSCoder1, _lib._sel_alloc1); - return NSCoder._(_ret, _lib, retain: false, release: true); + static NSCoder alloc() { + final _ret = _objc_msgSend_2(_class_NSCoder, _sel_alloc); + return NSCoder._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSCoder1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSCoder1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSCoder1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSCoder1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSCoder1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSCoder1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSCoder, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); } - static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSCoder1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSCoder1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSCoder1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSCoder, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); } -} + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSCoder, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSCoder, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSCoder, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSCoder, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); + } + + static void setKeys_triggerChangeNotificationsForDependentKey_( + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSCoder, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = + _objc_msgSend_85(_class_NSCoder, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = _objc_msgSend_2(_class_NSCoder, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); + } +} + +late final _class_NSCoder = objc.getClass("NSCoder"); +late final _sel_encodeValueOfObjCType_at_ = + objc.registerName("encodeValueOfObjCType:at:"); +final _objc_msgSend_19 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer type, + ffi.Pointer addr)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); class NSData extends NSObject { - NSData._( - ffi.Pointer pointer, - AVFAudio lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSData._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSData] that points to the same underlying object as [other]. - static NSData castFrom(AVFAudio lib, T other) { - return NSData._(other.pointer, lib, retain: true, release: true); + static NSData castFrom(T other) { + return NSData._(other.pointer, retain: true, release: true); } /// Returns a [NSData] that wraps the given raw object pointer. - static NSData castFromPointer( - AVFAudio lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSData._(other, lib, retain: retain, release: release); + static NSData castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSData._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSData]. - static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSData1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0(obj.pointer, _sel_isKindOfClass_, _class_NSData); } int get length { - return _lib._objc_msgSend_10(this.pointer, _lib._sel_length1); + return _objc_msgSend_10(this.pointer, _sel_length); } ffi.Pointer get bytes { - return _lib._objc_msgSend_20(this.pointer, _lib._sel_bytes1); + return _objc_msgSend_20(this.pointer, _sel_bytes); } NSString get description { - final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_description1); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_description); + return NSString._(_ret, retain: true, release: true); } void getBytes_length_(ffi.Pointer buffer, int length) { - _lib._objc_msgSend_22( - this.pointer, - _lib._sel_getBytes_length_1, - buffer, - length, - ); + _objc_msgSend_22(this.pointer, _sel_getBytes_length_, buffer, length); } void getBytes_range_(ffi.Pointer buffer, _NSRange range) { - _lib._objc_msgSend_23( - this.pointer, - _lib._sel_getBytes_range_1, - buffer, - range, - ); + _objc_msgSend_23(this.pointer, _sel_getBytes_range_, buffer, range); } bool isEqualToData_(NSData other) { - return _lib._objc_msgSend_24( - this.pointer, - _lib._sel_isEqualToData_1, - other.pointer, - ); + return _objc_msgSend_24(this.pointer, _sel_isEqualToData_, other.pointer); } NSData subdataWithRange_(_NSRange range) { - final _ret = _lib._objc_msgSend_25( - this.pointer, - _lib._sel_subdataWithRange_1, - range, - ); - return NSData._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_25(this.pointer, _sel_subdataWithRange_, range); + return NSData._(_ret, retain: true, release: true); } bool writeToFile_atomically_(NSString path, bool useAuxiliaryFile) { - return _lib._objc_msgSend_26( - this.pointer, - _lib._sel_writeToFile_atomically_1, - path.pointer, - useAuxiliaryFile, - ); + return _objc_msgSend_26(this.pointer, _sel_writeToFile_atomically_, + path.pointer, useAuxiliaryFile); } bool writeToURL_atomically_(NSURL url, bool atomically) { - return _lib._objc_msgSend_134( - this.pointer, - _lib._sel_writeToURL_atomically_1, - url.pointer, - atomically, - ); - } - - bool writeToFile_options_error_( - NSString path, - int writeOptionsMask, - ffi.Pointer> errorPtr, - ) { - return _lib._objc_msgSend_269( - this.pointer, - _lib._sel_writeToFile_options_error_1, - path.pointer, - writeOptionsMask, - errorPtr, - ); - } - - bool writeToURL_options_error_( - NSURL url, - int writeOptionsMask, - ffi.Pointer> errorPtr, - ) { - return _lib._objc_msgSend_270( - this.pointer, - _lib._sel_writeToURL_options_error_1, - url.pointer, - writeOptionsMask, - errorPtr, - ); - } - - void rangeOfData_options_range_( - ffi.Pointer<_NSRange> stret, - NSData dataToFind, - int mask, - _NSRange searchRange, - ) { + return _objc_msgSend_134( + this.pointer, _sel_writeToURL_atomically_, url.pointer, atomically); + } + + bool writeToFile_options_error_(NSString path, int writeOptionsMask, + ffi.Pointer> errorPtr) { + return _objc_msgSend_269(this.pointer, _sel_writeToFile_options_error_, + path.pointer, writeOptionsMask, errorPtr); + } + + bool writeToURL_options_error_(NSURL url, int writeOptionsMask, + ffi.Pointer> errorPtr) { + return _objc_msgSend_270(this.pointer, _sel_writeToURL_options_error_, + url.pointer, writeOptionsMask, errorPtr); + } + + void rangeOfData_options_range_(ffi.Pointer<_NSRange> stret, + NSData dataToFind, int mask, _NSRange searchRange) { objc.useMsgSendVariants - ? _lib._objc_msgSend_271_stret( + ? _objc_msgSend_271Stret( stret, this.pointer, - _lib._sel_rangeOfData_options_range_1, + _sel_rangeOfData_options_range_, dataToFind.pointer, mask, - searchRange, - ) - : stret.ref = _lib._objc_msgSend_271( + searchRange) + : stret.ref = _objc_msgSend_271( this.pointer, - _lib._sel_rangeOfData_options_range_1, + _sel_rangeOfData_options_range_, dataToFind.pointer, mask, - searchRange, - ); + searchRange); } void enumerateByteRangesUsingBlock_( - ObjCBlock_ffiVoid_ffiVoid_NSRange_bool block, - ) { - _lib._objc_msgSend_272( - this.pointer, - _lib._sel_enumerateByteRangesUsingBlock_1, - block.pointer, - ); - } - - static NSData data(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2(_lib._class_NSData1, _lib._sel_data1); - return NSData._(_ret, _lib, retain: true, release: true); - } - - static NSData dataWithBytes_length_( - AVFAudio _lib, - ffi.Pointer bytes, - int length, - ) { - final _ret = _lib._objc_msgSend_273( - _lib._class_NSData1, - _lib._sel_dataWithBytes_length_1, - bytes, - length, - ); - return NSData._(_ret, _lib, retain: true, release: true); + ObjCBlock_ffiVoid_ffiVoid_NSRange_bool block) { + _objc_msgSend_272( + this.pointer, _sel_enumerateByteRangesUsingBlock_, block.pointer); + } + + static NSData data() { + final _ret = _objc_msgSend_2(_class_NSData, _sel_data); + return NSData._(_ret, retain: true, release: true); + } + + static NSData dataWithBytes_length_(ffi.Pointer bytes, int length) { + final _ret = _objc_msgSend_273( + _class_NSData, _sel_dataWithBytes_length_, bytes, length); + return NSData._(_ret, retain: true, release: true); } static NSData dataWithBytesNoCopy_length_( - AVFAudio _lib, - ffi.Pointer bytes, - int length, - ) { - final _ret = _lib._objc_msgSend_273( - _lib._class_NSData1, - _lib._sel_dataWithBytesNoCopy_length_1, - bytes, - length, - ); - return NSData._(_ret, _lib, retain: false, release: true); + ffi.Pointer bytes, int length) { + final _ret = _objc_msgSend_273( + _class_NSData, _sel_dataWithBytesNoCopy_length_, bytes, length); + return NSData._(_ret, retain: false, release: true); } static NSData dataWithBytesNoCopy_length_freeWhenDone_( - AVFAudio _lib, - ffi.Pointer bytes, - int length, - bool b, - ) { - final _ret = _lib._objc_msgSend_274( - _lib._class_NSData1, - _lib._sel_dataWithBytesNoCopy_length_freeWhenDone_1, - bytes, - length, - b, - ); - return NSData._(_ret, _lib, retain: false, release: true); + ffi.Pointer bytes, int length, bool b) { + final _ret = _objc_msgSend_274(_class_NSData, + _sel_dataWithBytesNoCopy_length_freeWhenDone_, bytes, length, b); + return NSData._(_ret, retain: false, release: true); } - static NSData? dataWithContentsOfFile_options_error_( - AVFAudio _lib, - NSString path, - int readOptionsMask, - ffi.Pointer> errorPtr, - ) { - final _ret = _lib._objc_msgSend_275( - _lib._class_NSData1, - _lib._sel_dataWithContentsOfFile_options_error_1, - path.pointer, - readOptionsMask, - errorPtr, - ); + static NSData? dataWithContentsOfFile_options_error_(NSString path, + int readOptionsMask, ffi.Pointer> errorPtr) { + final _ret = _objc_msgSend_275( + _class_NSData, + _sel_dataWithContentsOfFile_options_error_, + path.pointer, + readOptionsMask, + errorPtr); return _ret.address == 0 ? null - : NSData._(_ret, _lib, retain: true, release: true); + : NSData._(_ret, retain: true, release: true); } - static NSData? dataWithContentsOfURL_options_error_( - AVFAudio _lib, - NSURL url, - int readOptionsMask, - ffi.Pointer> errorPtr, - ) { - final _ret = _lib._objc_msgSend_276( - _lib._class_NSData1, - _lib._sel_dataWithContentsOfURL_options_error_1, - url.pointer, - readOptionsMask, - errorPtr, - ); + static NSData? dataWithContentsOfURL_options_error_(NSURL url, + int readOptionsMask, ffi.Pointer> errorPtr) { + final _ret = _objc_msgSend_276( + _class_NSData, + _sel_dataWithContentsOfURL_options_error_, + url.pointer, + readOptionsMask, + errorPtr); return _ret.address == 0 ? null - : NSData._(_ret, _lib, retain: true, release: true); + : NSData._(_ret, retain: true, release: true); } - static NSData? dataWithContentsOfFile_(AVFAudio _lib, NSString path) { - final _ret = _lib._objc_msgSend_38( - _lib._class_NSData1, - _lib._sel_dataWithContentsOfFile_1, - path.pointer, - ); + static NSData? dataWithContentsOfFile_(NSString path) { + final _ret = _objc_msgSend_38( + _class_NSData, _sel_dataWithContentsOfFile_, path.pointer); return _ret.address == 0 ? null - : NSData._(_ret, _lib, retain: true, release: true); + : NSData._(_ret, retain: true, release: true); } - static NSData? dataWithContentsOfURL_(AVFAudio _lib, NSURL url) { - final _ret = _lib._objc_msgSend_277( - _lib._class_NSData1, - _lib._sel_dataWithContentsOfURL_1, - url.pointer, - ); + static NSData? dataWithContentsOfURL_(NSURL url) { + final _ret = _objc_msgSend_277( + _class_NSData, _sel_dataWithContentsOfURL_, url.pointer); return _ret.address == 0 ? null - : NSData._(_ret, _lib, retain: true, release: true); + : NSData._(_ret, retain: true, release: true); } NSData initWithBytes_length_(ffi.Pointer bytes, int length) { - final _ret = _lib._objc_msgSend_273( - this.pointer, - _lib._sel_initWithBytes_length_1, - bytes, - length, - ); - return NSData._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_273( + this.pointer, _sel_initWithBytes_length_, bytes, length); + return NSData._(_ret, retain: true, release: true); } NSData initWithBytesNoCopy_length_(ffi.Pointer bytes, int length) { - final _ret = _lib._objc_msgSend_273( - this.pointer, - _lib._sel_initWithBytesNoCopy_length_1, - bytes, - length, - ); - return NSData._(_ret, _lib, retain: false, release: true); + final _ret = _objc_msgSend_273( + this.pointer, _sel_initWithBytesNoCopy_length_, bytes, length); + return NSData._(_ret, retain: false, release: true); } NSData initWithBytesNoCopy_length_freeWhenDone_( - ffi.Pointer bytes, - int length, - bool b, - ) { - final _ret = _lib._objc_msgSend_274( - this.pointer, - _lib._sel_initWithBytesNoCopy_length_freeWhenDone_1, - bytes, - length, - b, - ); - return NSData._(_ret, _lib, retain: false, release: true); - } - - NSData initWithBytesNoCopy_length_deallocator_( - ffi.Pointer bytes, - int length, - ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong? deallocator, - ) { - final _ret = _lib._objc_msgSend_278( - this.pointer, - _lib._sel_initWithBytesNoCopy_length_deallocator_1, - bytes, - length, - deallocator?.pointer ?? ffi.nullptr, - ); - return NSData._(_ret, _lib, retain: false, release: true); - } - - NSData? initWithContentsOfFile_options_error_( - NSString path, - int readOptionsMask, - ffi.Pointer> errorPtr, - ) { - final _ret = _lib._objc_msgSend_275( - this.pointer, - _lib._sel_initWithContentsOfFile_options_error_1, - path.pointer, - readOptionsMask, - errorPtr, - ); - return _ret.address == 0 - ? null - : NSData._(_ret, _lib, retain: true, release: true); - } - - NSData? initWithContentsOfURL_options_error_( - NSURL url, - int readOptionsMask, - ffi.Pointer> errorPtr, - ) { - final _ret = _lib._objc_msgSend_276( - this.pointer, - _lib._sel_initWithContentsOfURL_options_error_1, - url.pointer, - readOptionsMask, - errorPtr, - ); - return _ret.address == 0 - ? null - : NSData._(_ret, _lib, retain: true, release: true); + ffi.Pointer bytes, int length, bool b) { + final _ret = _objc_msgSend_274(this.pointer, + _sel_initWithBytesNoCopy_length_freeWhenDone_, bytes, length, b); + return NSData._(_ret, retain: false, release: true); + } + + NSData initWithBytesNoCopy_length_deallocator_(ffi.Pointer bytes, + int length, ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong? deallocator) { + final _ret = _objc_msgSend_278( + this.pointer, + _sel_initWithBytesNoCopy_length_deallocator_, + bytes, + length, + deallocator?.pointer ?? ffi.nullptr); + return NSData._(_ret, retain: false, release: true); + } + + NSData? initWithContentsOfFile_options_error_(NSString path, + int readOptionsMask, ffi.Pointer> errorPtr) { + final _ret = _objc_msgSend_275( + this.pointer, + _sel_initWithContentsOfFile_options_error_, + path.pointer, + readOptionsMask, + errorPtr); + return _ret.address == 0 + ? null + : NSData._(_ret, retain: true, release: true); + } + + NSData? initWithContentsOfURL_options_error_(NSURL url, int readOptionsMask, + ffi.Pointer> errorPtr) { + final _ret = _objc_msgSend_276( + this.pointer, + _sel_initWithContentsOfURL_options_error_, + url.pointer, + readOptionsMask, + errorPtr); + return _ret.address == 0 + ? null + : NSData._(_ret, retain: true, release: true); } NSData? initWithContentsOfFile_(NSString path) { - final _ret = _lib._objc_msgSend_38( - this.pointer, - _lib._sel_initWithContentsOfFile_1, - path.pointer, - ); + final _ret = _objc_msgSend_38( + this.pointer, _sel_initWithContentsOfFile_, path.pointer); return _ret.address == 0 ? null - : NSData._(_ret, _lib, retain: true, release: true); + : NSData._(_ret, retain: true, release: true); } NSData? initWithContentsOfURL_(NSURL url) { - final _ret = _lib._objc_msgSend_277( - this.pointer, - _lib._sel_initWithContentsOfURL_1, - url.pointer, - ); + final _ret = _objc_msgSend_277( + this.pointer, _sel_initWithContentsOfURL_, url.pointer); return _ret.address == 0 ? null - : NSData._(_ret, _lib, retain: true, release: true); + : NSData._(_ret, retain: true, release: true); } NSData initWithData_(NSData data) { - final _ret = _lib._objc_msgSend_279( - this.pointer, - _lib._sel_initWithData_1, - data.pointer, - ); - return NSData._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_279(this.pointer, _sel_initWithData_, data.pointer); + return NSData._(_ret, retain: true, release: true); } - static NSData dataWithData_(AVFAudio _lib, NSData data) { - final _ret = _lib._objc_msgSend_279( - _lib._class_NSData1, - _lib._sel_dataWithData_1, - data.pointer, - ); - return NSData._(_ret, _lib, retain: true, release: true); + static NSData dataWithData_(NSData data) { + final _ret = + _objc_msgSend_279(_class_NSData, _sel_dataWithData_, data.pointer); + return NSData._(_ret, retain: true, release: true); } NSData? initWithBase64EncodedString_options_( - NSString base64String, - int options, - ) { - final _ret = _lib._objc_msgSend_280( - this.pointer, - _lib._sel_initWithBase64EncodedString_options_1, - base64String.pointer, - options, - ); + NSString base64String, int options) { + final _ret = _objc_msgSend_280( + this.pointer, + _sel_initWithBase64EncodedString_options_, + base64String.pointer, + options); return _ret.address == 0 ? null - : NSData._(_ret, _lib, retain: true, release: true); + : NSData._(_ret, retain: true, release: true); } NSString base64EncodedStringWithOptions_(int options) { - final _ret = _lib._objc_msgSend_281( - this.pointer, - _lib._sel_base64EncodedStringWithOptions_1, - options, - ); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_281( + this.pointer, _sel_base64EncodedStringWithOptions_, options); + return NSString._(_ret, retain: true, release: true); } NSData? initWithBase64EncodedData_options_(NSData base64Data, int options) { - final _ret = _lib._objc_msgSend_282( - this.pointer, - _lib._sel_initWithBase64EncodedData_options_1, - base64Data.pointer, - options, - ); + final _ret = _objc_msgSend_282(this.pointer, + _sel_initWithBase64EncodedData_options_, base64Data.pointer, options); return _ret.address == 0 ? null - : NSData._(_ret, _lib, retain: true, release: true); + : NSData._(_ret, retain: true, release: true); } NSData base64EncodedDataWithOptions_(int options) { - final _ret = _lib._objc_msgSend_283( - this.pointer, - _lib._sel_base64EncodedDataWithOptions_1, - options, - ); - return NSData._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_283( + this.pointer, _sel_base64EncodedDataWithOptions_, options); + return NSData._(_ret, retain: true, release: true); } NSData? decompressedDataUsingAlgorithm_error_( - int algorithm, - ffi.Pointer> error, - ) { - final _ret = _lib._objc_msgSend_284( - this.pointer, - _lib._sel_decompressedDataUsingAlgorithm_error_1, - algorithm, - error, - ); + int algorithm, ffi.Pointer> error) { + final _ret = _objc_msgSend_284(this.pointer, + _sel_decompressedDataUsingAlgorithm_error_, algorithm, error); return _ret.address == 0 ? null - : NSData._(_ret, _lib, retain: true, release: true); + : NSData._(_ret, retain: true, release: true); } NSData? compressedDataUsingAlgorithm_error_( - int algorithm, - ffi.Pointer> error, - ) { - final _ret = _lib._objc_msgSend_284( - this.pointer, - _lib._sel_compressedDataUsingAlgorithm_error_1, - algorithm, - error, - ); + int algorithm, ffi.Pointer> error) { + final _ret = _objc_msgSend_284(this.pointer, + _sel_compressedDataUsingAlgorithm_error_, algorithm, error); return _ret.address == 0 ? null - : NSData._(_ret, _lib, retain: true, release: true); + : NSData._(_ret, retain: true, release: true); } void getBytes_(ffi.Pointer buffer) { - _lib._objc_msgSend_52(this.pointer, _lib._sel_getBytes_1, buffer); + _objc_msgSend_52(this.pointer, _sel_getBytes_, buffer); } - static NSObject? dataWithContentsOfMappedFile_(AVFAudio _lib, NSString path) { - final _ret = _lib._objc_msgSend_38( - _lib._class_NSData1, - _lib._sel_dataWithContentsOfMappedFile_1, - path.pointer, - ); + static NSObject? dataWithContentsOfMappedFile_(NSString path) { + final _ret = _objc_msgSend_38( + _class_NSData, _sel_dataWithContentsOfMappedFile_, path.pointer); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } NSObject? initWithContentsOfMappedFile_(NSString path) { - final _ret = _lib._objc_msgSend_38( - this.pointer, - _lib._sel_initWithContentsOfMappedFile_1, - path.pointer, - ); + final _ret = _objc_msgSend_38( + this.pointer, _sel_initWithContentsOfMappedFile_, path.pointer); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } NSObject? initWithBase64Encoding_(NSString base64String) { - final _ret = _lib._objc_msgSend_38( - this.pointer, - _lib._sel_initWithBase64Encoding_1, - base64String.pointer, - ); + final _ret = _objc_msgSend_38( + this.pointer, _sel_initWithBase64Encoding_, base64String.pointer); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } NSString base64Encoding() { - final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_base64Encoding1); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_base64Encoding); + return NSString._(_ret, retain: true, release: true); } @override NSData init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSData._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSData._(_ret, retain: true, release: true); } - static NSData new1(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2(_lib._class_NSData1, _lib._sel_new1); - return NSData._(_ret, _lib, retain: false, release: true); + static NSData new1() { + final _ret = _objc_msgSend_2(_class_NSData, _sel_new); + return NSData._(_ret, retain: false, release: true); } - static NSData allocWithZone_(AVFAudio _lib, ffi.Pointer<_NSZone> zone) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSData1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSData._(_ret, _lib, retain: false, release: true); + static NSData allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = _objc_msgSend_3(_class_NSData, _sel_allocWithZone_, zone); + return NSData._(_ret, retain: false, release: true); } - static NSData alloc(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2(_lib._class_NSData1, _lib._sel_alloc1); - return NSData._(_ret, _lib, retain: false, release: true); + static NSData alloc() { + final _ret = _objc_msgSend_2(_class_NSData, _sel_alloc); + return NSData._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSData1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSData1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSData1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSData1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSData1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSData1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSData, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); } - static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSData1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSData1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSData1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSData, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); } -} + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSData, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSData, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSData, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64( + _class_NSData, _sel_automaticallyNotifiesObserversForKey_, key.pointer); + } + + static void setKeys_triggerChangeNotificationsForDependentKey_( + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSData, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = + _objc_msgSend_85(_class_NSData, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = _objc_msgSend_2(_class_NSData, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); + } +} + +late final _class_NSData = objc.getClass("NSData"); +late final _sel_bytes = objc.registerName("bytes"); +final _objc_msgSend_20 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function(ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_description = objc.registerName("description"); +final _objc_msgSend_21 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_getBytes_length_ = objc.registerName("getBytes:length:"); +final _objc_msgSend_22 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer buffer, + ffi.UnsignedLong length)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer, int)>(); final class _NSRange extends ffi.Struct { @ffi.UnsignedLong() @@ -42465,2058 +4437,1903 @@ final class _NSRange extends ffi.Struct { external int length; } +late final _sel_getBytes_range_ = objc.registerName("getBytes:range:"); +final _objc_msgSend_23 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer buffer, + _NSRange range)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer, _NSRange)>(); +late final _sel_isEqualToData_ = objc.registerName("isEqualToData:"); +final _objc_msgSend_24 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer other)>>() + .asFunction< + bool Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_subdataWithRange_ = objc.registerName("subdataWithRange:"); +final _objc_msgSend_25 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + _NSRange range)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, _NSRange)>(); +late final _sel_writeToFile_atomically_ = + objc.registerName("writeToFile:atomically:"); +final _objc_msgSend_26 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer path, + ffi.Bool useAuxiliaryFile)>>() + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool)>(); + class NSURL extends NSObject { - NSURL._( - ffi.Pointer pointer, - AVFAudio lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSURL._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSURL] that points to the same underlying object as [other]. - static NSURL castFrom(AVFAudio lib, T other) { - return NSURL._(other.pointer, lib, retain: true, release: true); + static NSURL castFrom(T other) { + return NSURL._(other.pointer, retain: true, release: true); } /// Returns a [NSURL] that wraps the given raw object pointer. - static NSURL castFromPointer( - AVFAudio lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSURL._(other, lib, retain: retain, release: release); + static NSURL castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSURL._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSURL]. - static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSURL1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0(obj.pointer, _sel_isKindOfClass_, _class_NSURL); } NSURL? initWithScheme_host_path_( - NSString scheme, - NSString? host, - NSString path, - ) { - final _ret = _lib._objc_msgSend_27( - this.pointer, - _lib._sel_initWithScheme_host_path_1, - scheme.pointer, - host?.pointer ?? ffi.nullptr, - path.pointer, - ); + NSString scheme, NSString? host, NSString path) { + final _ret = _objc_msgSend_27(this.pointer, _sel_initWithScheme_host_path_, + scheme.pointer, host?.pointer ?? ffi.nullptr, path.pointer); return _ret.address == 0 ? null - : NSURL._(_ret, _lib, retain: true, release: true); + : NSURL._(_ret, retain: true, release: true); } NSURL initFileURLWithPath_isDirectory_relativeToURL_( - NSString path, - bool isDir, - NSURL? baseURL, - ) { - final _ret = _lib._objc_msgSend_28( - this.pointer, - _lib._sel_initFileURLWithPath_isDirectory_relativeToURL_1, - path.pointer, - isDir, - baseURL?.pointer ?? ffi.nullptr, - ); - return NSURL._(_ret, _lib, retain: true, release: true); + NSString path, bool isDir, NSURL? baseURL) { + final _ret = _objc_msgSend_28( + this.pointer, + _sel_initFileURLWithPath_isDirectory_relativeToURL_, + path.pointer, + isDir, + baseURL?.pointer ?? ffi.nullptr); + return NSURL._(_ret, retain: true, release: true); } NSURL initFileURLWithPath_relativeToURL_(NSString path, NSURL? baseURL) { - final _ret = _lib._objc_msgSend_29( - this.pointer, - _lib._sel_initFileURLWithPath_relativeToURL_1, - path.pointer, - baseURL?.pointer ?? ffi.nullptr, - ); - return NSURL._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_29( + this.pointer, + _sel_initFileURLWithPath_relativeToURL_, + path.pointer, + baseURL?.pointer ?? ffi.nullptr); + return NSURL._(_ret, retain: true, release: true); } NSURL initFileURLWithPath_isDirectory_(NSString path, bool isDir) { - final _ret = _lib._objc_msgSend_30( - this.pointer, - _lib._sel_initFileURLWithPath_isDirectory_1, - path.pointer, - isDir, - ); - return NSURL._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_30(this.pointer, + _sel_initFileURLWithPath_isDirectory_, path.pointer, isDir); + return NSURL._(_ret, retain: true, release: true); } NSURL initFileURLWithPath_(NSString path) { - final _ret = _lib._objc_msgSend_31( - this.pointer, - _lib._sel_initFileURLWithPath_1, - path.pointer, - ); - return NSURL._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_31(this.pointer, _sel_initFileURLWithPath_, path.pointer); + return NSURL._(_ret, retain: true, release: true); } static NSURL fileURLWithPath_isDirectory_relativeToURL_( - AVFAudio _lib, - NSString path, - bool isDir, - NSURL? baseURL, - ) { - final _ret = _lib._objc_msgSend_32( - _lib._class_NSURL1, - _lib._sel_fileURLWithPath_isDirectory_relativeToURL_1, - path.pointer, - isDir, - baseURL?.pointer ?? ffi.nullptr, - ); - return NSURL._(_ret, _lib, retain: true, release: true); - } - - static NSURL fileURLWithPath_relativeToURL_( - AVFAudio _lib, - NSString path, - NSURL? baseURL, - ) { - final _ret = _lib._objc_msgSend_33( - _lib._class_NSURL1, - _lib._sel_fileURLWithPath_relativeToURL_1, - path.pointer, - baseURL?.pointer ?? ffi.nullptr, - ); - return NSURL._(_ret, _lib, retain: true, release: true); - } - - static NSURL fileURLWithPath_isDirectory_( - AVFAudio _lib, - NSString path, - bool isDir, - ) { - final _ret = _lib._objc_msgSend_34( - _lib._class_NSURL1, - _lib._sel_fileURLWithPath_isDirectory_1, - path.pointer, - isDir, - ); - return NSURL._(_ret, _lib, retain: true, release: true); - } - - static NSURL fileURLWithPath_(AVFAudio _lib, NSString path) { - final _ret = _lib._objc_msgSend_35( - _lib._class_NSURL1, - _lib._sel_fileURLWithPath_1, - path.pointer, - ); - return NSURL._(_ret, _lib, retain: true, release: true); + NSString path, bool isDir, NSURL? baseURL) { + final _ret = _objc_msgSend_32( + _class_NSURL, + _sel_fileURLWithPath_isDirectory_relativeToURL_, + path.pointer, + isDir, + baseURL?.pointer ?? ffi.nullptr); + return NSURL._(_ret, retain: true, release: true); + } + + static NSURL fileURLWithPath_relativeToURL_(NSString path, NSURL? baseURL) { + final _ret = _objc_msgSend_33( + _class_NSURL, + _sel_fileURLWithPath_relativeToURL_, + path.pointer, + baseURL?.pointer ?? ffi.nullptr); + return NSURL._(_ret, retain: true, release: true); + } + + static NSURL fileURLWithPath_isDirectory_(NSString path, bool isDir) { + final _ret = _objc_msgSend_34( + _class_NSURL, _sel_fileURLWithPath_isDirectory_, path.pointer, isDir); + return NSURL._(_ret, retain: true, release: true); + } + + static NSURL fileURLWithPath_(NSString path) { + final _ret = + _objc_msgSend_35(_class_NSURL, _sel_fileURLWithPath_, path.pointer); + return NSURL._(_ret, retain: true, release: true); } NSURL initFileURLWithFileSystemRepresentation_isDirectory_relativeToURL_( - ffi.Pointer path, - bool isDir, - NSURL? baseURL, - ) { - final _ret = _lib._objc_msgSend_36( - this.pointer, - _lib._sel_initFileURLWithFileSystemRepresentation_isDirectory_relativeToURL_1, - path, - isDir, - baseURL?.pointer ?? ffi.nullptr, - ); - return NSURL._(_ret, _lib, retain: true, release: true); + ffi.Pointer path, bool isDir, NSURL? baseURL) { + final _ret = _objc_msgSend_36( + this.pointer, + _sel_initFileURLWithFileSystemRepresentation_isDirectory_relativeToURL_, + path, + isDir, + baseURL?.pointer ?? ffi.nullptr); + return NSURL._(_ret, retain: true, release: true); } static NSURL fileURLWithFileSystemRepresentation_isDirectory_relativeToURL_( - AVFAudio _lib, - ffi.Pointer path, - bool isDir, - NSURL? baseURL, - ) { - final _ret = _lib._objc_msgSend_37( - _lib._class_NSURL1, - _lib._sel_fileURLWithFileSystemRepresentation_isDirectory_relativeToURL_1, - path, - isDir, - baseURL?.pointer ?? ffi.nullptr, - ); - return NSURL._(_ret, _lib, retain: true, release: true); + ffi.Pointer path, bool isDir, NSURL? baseURL) { + final _ret = _objc_msgSend_37( + _class_NSURL, + _sel_fileURLWithFileSystemRepresentation_isDirectory_relativeToURL_, + path, + isDir, + baseURL?.pointer ?? ffi.nullptr); + return NSURL._(_ret, retain: true, release: true); } NSURL? initWithString_(NSString URLString) { - final _ret = _lib._objc_msgSend_38( - this.pointer, - _lib._sel_initWithString_1, - URLString.pointer, - ); + final _ret = + _objc_msgSend_38(this.pointer, _sel_initWithString_, URLString.pointer); return _ret.address == 0 ? null - : NSURL._(_ret, _lib, retain: true, release: true); + : NSURL._(_ret, retain: true, release: true); } NSURL? initWithString_relativeToURL_(NSString URLString, NSURL? baseURL) { - final _ret = _lib._objc_msgSend_39( - this.pointer, - _lib._sel_initWithString_relativeToURL_1, - URLString.pointer, - baseURL?.pointer ?? ffi.nullptr, - ); + final _ret = _objc_msgSend_39( + this.pointer, + _sel_initWithString_relativeToURL_, + URLString.pointer, + baseURL?.pointer ?? ffi.nullptr); return _ret.address == 0 ? null - : NSURL._(_ret, _lib, retain: true, release: true); + : NSURL._(_ret, retain: true, release: true); } - static NSURL? URLWithString_(AVFAudio _lib, NSString URLString) { - final _ret = _lib._objc_msgSend_38( - _lib._class_NSURL1, - _lib._sel_URLWithString_1, - URLString.pointer, - ); + static NSURL? URLWithString_(NSString URLString) { + final _ret = + _objc_msgSend_38(_class_NSURL, _sel_URLWithString_, URLString.pointer); return _ret.address == 0 ? null - : NSURL._(_ret, _lib, retain: true, release: true); + : NSURL._(_ret, retain: true, release: true); } static NSURL? URLWithString_relativeToURL_( - AVFAudio _lib, - NSString URLString, - NSURL? baseURL, - ) { - final _ret = _lib._objc_msgSend_39( - _lib._class_NSURL1, - _lib._sel_URLWithString_relativeToURL_1, - URLString.pointer, - baseURL?.pointer ?? ffi.nullptr, - ); + NSString URLString, NSURL? baseURL) { + final _ret = _objc_msgSend_39( + _class_NSURL, + _sel_URLWithString_relativeToURL_, + URLString.pointer, + baseURL?.pointer ?? ffi.nullptr); return _ret.address == 0 ? null - : NSURL._(_ret, _lib, retain: true, release: true); + : NSURL._(_ret, retain: true, release: true); } NSURL? initWithString_encodingInvalidCharacters_( - NSString URLString, - bool encodingInvalidCharacters, - ) { - final _ret = _lib._objc_msgSend_40( - this.pointer, - _lib._sel_initWithString_encodingInvalidCharacters_1, - URLString.pointer, - encodingInvalidCharacters, - ); + NSString URLString, bool encodingInvalidCharacters) { + final _ret = _objc_msgSend_40( + this.pointer, + _sel_initWithString_encodingInvalidCharacters_, + URLString.pointer, + encodingInvalidCharacters); return _ret.address == 0 ? null - : NSURL._(_ret, _lib, retain: true, release: true); + : NSURL._(_ret, retain: true, release: true); } static NSURL? URLWithString_encodingInvalidCharacters_( - AVFAudio _lib, - NSString URLString, - bool encodingInvalidCharacters, - ) { - final _ret = _lib._objc_msgSend_40( - _lib._class_NSURL1, - _lib._sel_URLWithString_encodingInvalidCharacters_1, - URLString.pointer, - encodingInvalidCharacters, - ); + NSString URLString, bool encodingInvalidCharacters) { + final _ret = _objc_msgSend_40( + _class_NSURL, + _sel_URLWithString_encodingInvalidCharacters_, + URLString.pointer, + encodingInvalidCharacters); return _ret.address == 0 ? null - : NSURL._(_ret, _lib, retain: true, release: true); + : NSURL._(_ret, retain: true, release: true); } NSURL initWithDataRepresentation_relativeToURL_(NSData data, NSURL? baseURL) { - final _ret = _lib._objc_msgSend_41( - this.pointer, - _lib._sel_initWithDataRepresentation_relativeToURL_1, - data.pointer, - baseURL?.pointer ?? ffi.nullptr, - ); - return NSURL._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_41( + this.pointer, + _sel_initWithDataRepresentation_relativeToURL_, + data.pointer, + baseURL?.pointer ?? ffi.nullptr); + return NSURL._(_ret, retain: true, release: true); } static NSURL URLWithDataRepresentation_relativeToURL_( - AVFAudio _lib, - NSData data, - NSURL? baseURL, - ) { - final _ret = _lib._objc_msgSend_42( - _lib._class_NSURL1, - _lib._sel_URLWithDataRepresentation_relativeToURL_1, - data.pointer, - baseURL?.pointer ?? ffi.nullptr, - ); - return NSURL._(_ret, _lib, retain: true, release: true); + NSData data, NSURL? baseURL) { + final _ret = _objc_msgSend_42( + _class_NSURL, + _sel_URLWithDataRepresentation_relativeToURL_, + data.pointer, + baseURL?.pointer ?? ffi.nullptr); + return NSURL._(_ret, retain: true, release: true); } NSURL initAbsoluteURLWithDataRepresentation_relativeToURL_( - NSData data, - NSURL? baseURL, - ) { - final _ret = _lib._objc_msgSend_41( - this.pointer, - _lib._sel_initAbsoluteURLWithDataRepresentation_relativeToURL_1, - data.pointer, - baseURL?.pointer ?? ffi.nullptr, - ); - return NSURL._(_ret, _lib, retain: true, release: true); + NSData data, NSURL? baseURL) { + final _ret = _objc_msgSend_41( + this.pointer, + _sel_initAbsoluteURLWithDataRepresentation_relativeToURL_, + data.pointer, + baseURL?.pointer ?? ffi.nullptr); + return NSURL._(_ret, retain: true, release: true); } static NSURL absoluteURLWithDataRepresentation_relativeToURL_( - AVFAudio _lib, - NSData data, - NSURL? baseURL, - ) { - final _ret = _lib._objc_msgSend_42( - _lib._class_NSURL1, - _lib._sel_absoluteURLWithDataRepresentation_relativeToURL_1, - data.pointer, - baseURL?.pointer ?? ffi.nullptr, - ); - return NSURL._(_ret, _lib, retain: true, release: true); + NSData data, NSURL? baseURL) { + final _ret = _objc_msgSend_42( + _class_NSURL, + _sel_absoluteURLWithDataRepresentation_relativeToURL_, + data.pointer, + baseURL?.pointer ?? ffi.nullptr); + return NSURL._(_ret, retain: true, release: true); } NSData get dataRepresentation { - final _ret = _lib._objc_msgSend_43( - this.pointer, - _lib._sel_dataRepresentation1, - ); - return NSData._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_43(this.pointer, _sel_dataRepresentation); + return NSData._(_ret, retain: true, release: true); } NSString? get absoluteString { - final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_absoluteString1); + final _ret = _objc_msgSend_44(this.pointer, _sel_absoluteString); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } NSString get relativeString { - final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_relativeString1); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_relativeString); + return NSString._(_ret, retain: true, release: true); } NSURL? get baseURL { - final _ret = _lib._objc_msgSend_45(this.pointer, _lib._sel_baseURL1); + final _ret = _objc_msgSend_45(this.pointer, _sel_baseURL); return _ret.address == 0 ? null - : NSURL._(_ret, _lib, retain: true, release: true); + : NSURL._(_ret, retain: true, release: true); } NSURL? get absoluteURL { - final _ret = _lib._objc_msgSend_45(this.pointer, _lib._sel_absoluteURL1); + final _ret = _objc_msgSend_45(this.pointer, _sel_absoluteURL); return _ret.address == 0 ? null - : NSURL._(_ret, _lib, retain: true, release: true); + : NSURL._(_ret, retain: true, release: true); } NSString? get scheme { - final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_scheme1); + final _ret = _objc_msgSend_44(this.pointer, _sel_scheme); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } NSString? get resourceSpecifier { - final _ret = _lib._objc_msgSend_44( - this.pointer, - _lib._sel_resourceSpecifier1, - ); + final _ret = _objc_msgSend_44(this.pointer, _sel_resourceSpecifier); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } NSString? get host { - final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_host1); + final _ret = _objc_msgSend_44(this.pointer, _sel_host); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } NSNumber? get port { - final _ret = _lib._objc_msgSend_215(this.pointer, _lib._sel_port1); + final _ret = _objc_msgSend_215(this.pointer, _sel_port); return _ret.address == 0 ? null - : NSNumber._(_ret, _lib, retain: true, release: true); + : NSNumber._(_ret, retain: true, release: true); } NSString? get user { - final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_user1); + final _ret = _objc_msgSend_44(this.pointer, _sel_user); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } NSString? get password { - final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_password1); + final _ret = _objc_msgSend_44(this.pointer, _sel_password); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } NSString? get path { - final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_path1); + final _ret = _objc_msgSend_44(this.pointer, _sel_path); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } NSString? get fragment { - final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_fragment1); + final _ret = _objc_msgSend_44(this.pointer, _sel_fragment); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } NSString? get parameterString { - final _ret = _lib._objc_msgSend_44( - this.pointer, - _lib._sel_parameterString1, - ); + final _ret = _objc_msgSend_44(this.pointer, _sel_parameterString); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } NSString? get query { - final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_query1); + final _ret = _objc_msgSend_44(this.pointer, _sel_query); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } NSString? get relativePath { - final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_relativePath1); + final _ret = _objc_msgSend_44(this.pointer, _sel_relativePath); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } bool get hasDirectoryPath { - return _lib._objc_msgSend_12(this.pointer, _lib._sel_hasDirectoryPath1); + return _objc_msgSend_12(this.pointer, _sel_hasDirectoryPath); } bool getFileSystemRepresentation_maxLength_( - ffi.Pointer buffer, - int maxBufferLength, - ) { - return _lib._objc_msgSend_242( - this.pointer, - _lib._sel_getFileSystemRepresentation_maxLength_1, - buffer, - maxBufferLength, - ); + ffi.Pointer buffer, int maxBufferLength) { + return _objc_msgSend_242(this.pointer, + _sel_getFileSystemRepresentation_maxLength_, buffer, maxBufferLength); } ffi.Pointer get fileSystemRepresentation { - return _lib._objc_msgSend_13( - this.pointer, - _lib._sel_fileSystemRepresentation1, - ); + return _objc_msgSend_13(this.pointer, _sel_fileSystemRepresentation); } bool get fileURL { - return _lib._objc_msgSend_12(this.pointer, _lib._sel_isFileURL1); + return _objc_msgSend_12(this.pointer, _sel_isFileURL); } NSURL? get standardizedURL { - final _ret = _lib._objc_msgSend_45( - this.pointer, - _lib._sel_standardizedURL1, - ); + final _ret = _objc_msgSend_45(this.pointer, _sel_standardizedURL); return _ret.address == 0 ? null - : NSURL._(_ret, _lib, retain: true, release: true); + : NSURL._(_ret, retain: true, release: true); } bool isFileReferenceURL() { - return _lib._objc_msgSend_12(this.pointer, _lib._sel_isFileReferenceURL1); + return _objc_msgSend_12(this.pointer, _sel_isFileReferenceURL); } NSURL? fileReferenceURL() { - final _ret = _lib._objc_msgSend_45( - this.pointer, - _lib._sel_fileReferenceURL1, - ); + final _ret = _objc_msgSend_45(this.pointer, _sel_fileReferenceURL); return _ret.address == 0 ? null - : NSURL._(_ret, _lib, retain: true, release: true); + : NSURL._(_ret, retain: true, release: true); } NSURL? get filePathURL { - final _ret = _lib._objc_msgSend_45(this.pointer, _lib._sel_filePathURL1); + final _ret = _objc_msgSend_45(this.pointer, _sel_filePathURL); return _ret.address == 0 ? null - : NSURL._(_ret, _lib, retain: true, release: true); + : NSURL._(_ret, retain: true, release: true); } bool getResourceValue_forKey_error_( - ffi.Pointer> value, - NSString key, - ffi.Pointer> error, - ) { - return _lib._objc_msgSend_243( - this.pointer, - _lib._sel_getResourceValue_forKey_error_1, - value, - key.pointer, - error, - ); + ffi.Pointer> value, + NSString key, + ffi.Pointer> error) { + return _objc_msgSend_243(this.pointer, _sel_getResourceValue_forKey_error_, + value, key.pointer, error); } NSObject? resourceValuesForKeys_error_( - NSArray keys, - ffi.Pointer> error, - ) { - final _ret = _lib._objc_msgSend_244( - this.pointer, - _lib._sel_resourceValuesForKeys_error_1, - keys.pointer, - error, - ); - return _ret.address == 0 - ? null - : NSObject._(_ret, _lib, retain: true, release: true); - } - - bool setResourceValue_forKey_error_( - NSObject? value, - NSString key, - ffi.Pointer> error, - ) { - return _lib._objc_msgSend_245( - this.pointer, - _lib._sel_setResourceValue_forKey_error_1, - value?.pointer ?? ffi.nullptr, - key.pointer, - error, - ); + NSArray keys, ffi.Pointer> error) { + final _ret = _objc_msgSend_244( + this.pointer, _sel_resourceValuesForKeys_error_, keys.pointer, error); + return _ret.address == 0 + ? null + : NSObject._(_ret, retain: true, release: true); + } + + bool setResourceValue_forKey_error_(NSObject? value, NSString key, + ffi.Pointer> error) { + return _objc_msgSend_245(this.pointer, _sel_setResourceValue_forKey_error_, + value?.pointer ?? ffi.nullptr, key.pointer, error); } bool setResourceValues_error_( - NSObject keyedValues, - ffi.Pointer> error, - ) { - return _lib._objc_msgSend_246( - this.pointer, - _lib._sel_setResourceValues_error_1, - keyedValues.pointer, - error, - ); + NSObject keyedValues, ffi.Pointer> error) { + return _objc_msgSend_246(this.pointer, _sel_setResourceValues_error_, + keyedValues.pointer, error); } void removeCachedResourceValueForKey_(NSString key) { - _lib._objc_msgSend_247( - this.pointer, - _lib._sel_removeCachedResourceValueForKey_1, - key.pointer, - ); + _objc_msgSend_247( + this.pointer, _sel_removeCachedResourceValueForKey_, key.pointer); } void removeAllCachedResourceValues() { - _lib._objc_msgSend_1( - this.pointer, - _lib._sel_removeAllCachedResourceValues1, - ); + _objc_msgSend_1(this.pointer, _sel_removeAllCachedResourceValues); } void setTemporaryResourceValue_forKey_(NSObject? value, NSString key) { - _lib._objc_msgSend_135( - this.pointer, - _lib._sel_setTemporaryResourceValue_forKey_1, - value?.pointer ?? ffi.nullptr, - key.pointer, - ); + _objc_msgSend_135(this.pointer, _sel_setTemporaryResourceValue_forKey_, + value?.pointer ?? ffi.nullptr, key.pointer); } NSData? bookmarkDataWithOptions_includingResourceValuesForKeys_relativeToURL_error_( - int options, - NSArray? keys, - NSURL? relativeURL, - ffi.Pointer> error, - ) { - final _ret = _lib._objc_msgSend_248( - this.pointer, - _lib._sel_bookmarkDataWithOptions_includingResourceValuesForKeys_relativeToURL_error_1, - options, - keys?.pointer ?? ffi.nullptr, - relativeURL?.pointer ?? ffi.nullptr, - error, - ); + int options, + NSArray? keys, + NSURL? relativeURL, + ffi.Pointer> error) { + final _ret = _objc_msgSend_248( + this.pointer, + _sel_bookmarkDataWithOptions_includingResourceValuesForKeys_relativeToURL_error_, + options, + keys?.pointer ?? ffi.nullptr, + relativeURL?.pointer ?? ffi.nullptr, + error); return _ret.address == 0 ? null - : NSData._(_ret, _lib, retain: true, release: true); + : NSData._(_ret, retain: true, release: true); } NSURL? initByResolvingBookmarkData_options_relativeToURL_bookmarkDataIsStale_error_( - NSData bookmarkData, - int options, - NSURL? relativeURL, - ffi.Pointer isStale, - ffi.Pointer> error, - ) { - final _ret = _lib._objc_msgSend_249( - this.pointer, - _lib._sel_initByResolvingBookmarkData_options_relativeToURL_bookmarkDataIsStale_error_1, - bookmarkData.pointer, - options, - relativeURL?.pointer ?? ffi.nullptr, - isStale, - error, - ); - return _ret.address == 0 - ? null - : NSURL._(_ret, _lib, retain: true, release: true); + NSData bookmarkData, + int options, + NSURL? relativeURL, + ffi.Pointer isStale, + ffi.Pointer> error) { + final _ret = _objc_msgSend_249( + this.pointer, + _sel_initByResolvingBookmarkData_options_relativeToURL_bookmarkDataIsStale_error_, + bookmarkData.pointer, + options, + relativeURL?.pointer ?? ffi.nullptr, + isStale, + error); + return _ret.address == 0 + ? null + : NSURL._(_ret, retain: true, release: true); } static NSURL? URLByResolvingBookmarkData_options_relativeToURL_bookmarkDataIsStale_error_( - AVFAudio _lib, - NSData bookmarkData, - int options, - NSURL? relativeURL, - ffi.Pointer isStale, - ffi.Pointer> error, - ) { - final _ret = _lib._objc_msgSend_249( - _lib._class_NSURL1, - _lib._sel_URLByResolvingBookmarkData_options_relativeToURL_bookmarkDataIsStale_error_1, - bookmarkData.pointer, - options, - relativeURL?.pointer ?? ffi.nullptr, - isStale, - error, - ); - return _ret.address == 0 - ? null - : NSURL._(_ret, _lib, retain: true, release: true); + NSData bookmarkData, + int options, + NSURL? relativeURL, + ffi.Pointer isStale, + ffi.Pointer> error) { + final _ret = _objc_msgSend_249( + _class_NSURL, + _sel_URLByResolvingBookmarkData_options_relativeToURL_bookmarkDataIsStale_error_, + bookmarkData.pointer, + options, + relativeURL?.pointer ?? ffi.nullptr, + isStale, + error); + return _ret.address == 0 + ? null + : NSURL._(_ret, retain: true, release: true); } static NSObject? resourceValuesForKeys_fromBookmarkData_( - AVFAudio _lib, - NSArray keys, - NSData bookmarkData, - ) { - final _ret = _lib._objc_msgSend_250( - _lib._class_NSURL1, - _lib._sel_resourceValuesForKeys_fromBookmarkData_1, - keys.pointer, - bookmarkData.pointer, - ); + NSArray keys, NSData bookmarkData) { + final _ret = _objc_msgSend_250( + _class_NSURL, + _sel_resourceValuesForKeys_fromBookmarkData_, + keys.pointer, + bookmarkData.pointer); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } static bool writeBookmarkData_toURL_options_error_( - AVFAudio _lib, - NSData bookmarkData, - NSURL bookmarkFileURL, - int options, - ffi.Pointer> error, - ) { - return _lib._objc_msgSend_251( - _lib._class_NSURL1, - _lib._sel_writeBookmarkData_toURL_options_error_1, - bookmarkData.pointer, - bookmarkFileURL.pointer, - options, - error, - ); + NSData bookmarkData, + NSURL bookmarkFileURL, + int options, + ffi.Pointer> error) { + return _objc_msgSend_251( + _class_NSURL, + _sel_writeBookmarkData_toURL_options_error_, + bookmarkData.pointer, + bookmarkFileURL.pointer, + options, + error); } static NSData? bookmarkDataWithContentsOfURL_error_( - AVFAudio _lib, - NSURL bookmarkFileURL, - ffi.Pointer> error, - ) { - final _ret = _lib._objc_msgSend_252( - _lib._class_NSURL1, - _lib._sel_bookmarkDataWithContentsOfURL_error_1, - bookmarkFileURL.pointer, - error, - ); + NSURL bookmarkFileURL, ffi.Pointer> error) { + final _ret = _objc_msgSend_252( + _class_NSURL, + _sel_bookmarkDataWithContentsOfURL_error_, + bookmarkFileURL.pointer, + error); return _ret.address == 0 ? null - : NSData._(_ret, _lib, retain: true, release: true); + : NSData._(_ret, retain: true, release: true); } static NSURL? URLByResolvingAliasFileAtURL_options_error_( - AVFAudio _lib, - NSURL url, - int options, - ffi.Pointer> error, - ) { - final _ret = _lib._objc_msgSend_253( - _lib._class_NSURL1, - _lib._sel_URLByResolvingAliasFileAtURL_options_error_1, - url.pointer, - options, - error, - ); + NSURL url, int options, ffi.Pointer> error) { + final _ret = _objc_msgSend_253( + _class_NSURL, + _sel_URLByResolvingAliasFileAtURL_options_error_, + url.pointer, + options, + error); return _ret.address == 0 ? null - : NSURL._(_ret, _lib, retain: true, release: true); + : NSURL._(_ret, retain: true, release: true); } bool startAccessingSecurityScopedResource() { - return _lib._objc_msgSend_12( - this.pointer, - _lib._sel_startAccessingSecurityScopedResource1, - ); + return _objc_msgSend_12( + this.pointer, _sel_startAccessingSecurityScopedResource); } void stopAccessingSecurityScopedResource() { - _lib._objc_msgSend_1( - this.pointer, - _lib._sel_stopAccessingSecurityScopedResource1, - ); + _objc_msgSend_1(this.pointer, _sel_stopAccessingSecurityScopedResource); } bool getPromisedItemResourceValue_forKey_error_( - ffi.Pointer> value, - NSString key, - ffi.Pointer> error, - ) { - return _lib._objc_msgSend_243( - this.pointer, - _lib._sel_getPromisedItemResourceValue_forKey_error_1, - value, - key.pointer, - error, - ); + ffi.Pointer> value, + NSString key, + ffi.Pointer> error) { + return _objc_msgSend_243( + this.pointer, + _sel_getPromisedItemResourceValue_forKey_error_, + value, + key.pointer, + error); } NSDictionary? promisedItemResourceValuesForKeys_error_( - NSArray keys, - ffi.Pointer> error, - ) { - final _ret = _lib._objc_msgSend_254( - this.pointer, - _lib._sel_promisedItemResourceValuesForKeys_error_1, - keys.pointer, - error, - ); + NSArray keys, ffi.Pointer> error) { + final _ret = _objc_msgSend_254(this.pointer, + _sel_promisedItemResourceValuesForKeys_error_, keys.pointer, error); return _ret.address == 0 ? null - : NSDictionary._(_ret, _lib, retain: true, release: true); + : NSDictionary._(_ret, retain: true, release: true); } bool checkPromisedItemIsReachableAndReturnError_( - ffi.Pointer> error, - ) { - return _lib._objc_msgSend_255( - this.pointer, - _lib._sel_checkPromisedItemIsReachableAndReturnError_1, - error, - ); + ffi.Pointer> error) { + return _objc_msgSend_255( + this.pointer, _sel_checkPromisedItemIsReachableAndReturnError_, error); } - static NSURL? fileURLWithPathComponents_(AVFAudio _lib, NSArray components) { - final _ret = _lib._objc_msgSend_256( - _lib._class_NSURL1, - _lib._sel_fileURLWithPathComponents_1, - components.pointer, - ); + static NSURL? fileURLWithPathComponents_(NSArray components) { + final _ret = _objc_msgSend_256( + _class_NSURL, _sel_fileURLWithPathComponents_, components.pointer); return _ret.address == 0 ? null - : NSURL._(_ret, _lib, retain: true, release: true); + : NSURL._(_ret, retain: true, release: true); } NSArray? get pathComponents { - final _ret = _lib._objc_msgSend_84(this.pointer, _lib._sel_pathComponents1); + final _ret = _objc_msgSend_84(this.pointer, _sel_pathComponents); return _ret.address == 0 ? null - : NSArray._(_ret, _lib, retain: true, release: true); + : NSArray._(_ret, retain: true, release: true); } NSString? get lastPathComponent { - final _ret = _lib._objc_msgSend_44( - this.pointer, - _lib._sel_lastPathComponent1, - ); + final _ret = _objc_msgSend_44(this.pointer, _sel_lastPathComponent); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } NSString? get pathExtension { - final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_pathExtension1); + final _ret = _objc_msgSend_44(this.pointer, _sel_pathExtension); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } NSURL? URLByAppendingPathComponent_(NSString pathComponent) { - final _ret = _lib._objc_msgSend_257( - this.pointer, - _lib._sel_URLByAppendingPathComponent_1, - pathComponent.pointer, - ); + final _ret = _objc_msgSend_257( + this.pointer, _sel_URLByAppendingPathComponent_, pathComponent.pointer); return _ret.address == 0 ? null - : NSURL._(_ret, _lib, retain: true, release: true); + : NSURL._(_ret, retain: true, release: true); } NSURL? URLByAppendingPathComponent_isDirectory_( - NSString pathComponent, - bool isDirectory, - ) { - final _ret = _lib._objc_msgSend_258( - this.pointer, - _lib._sel_URLByAppendingPathComponent_isDirectory_1, - pathComponent.pointer, - isDirectory, - ); + NSString pathComponent, bool isDirectory) { + final _ret = _objc_msgSend_258( + this.pointer, + _sel_URLByAppendingPathComponent_isDirectory_, + pathComponent.pointer, + isDirectory); return _ret.address == 0 ? null - : NSURL._(_ret, _lib, retain: true, release: true); + : NSURL._(_ret, retain: true, release: true); } NSURL? get URLByDeletingLastPathComponent { - final _ret = _lib._objc_msgSend_45( - this.pointer, - _lib._sel_URLByDeletingLastPathComponent1, - ); + final _ret = + _objc_msgSend_45(this.pointer, _sel_URLByDeletingLastPathComponent); return _ret.address == 0 ? null - : NSURL._(_ret, _lib, retain: true, release: true); + : NSURL._(_ret, retain: true, release: true); } NSURL? URLByAppendingPathExtension_(NSString pathExtension) { - final _ret = _lib._objc_msgSend_257( - this.pointer, - _lib._sel_URLByAppendingPathExtension_1, - pathExtension.pointer, - ); + final _ret = _objc_msgSend_257( + this.pointer, _sel_URLByAppendingPathExtension_, pathExtension.pointer); return _ret.address == 0 ? null - : NSURL._(_ret, _lib, retain: true, release: true); + : NSURL._(_ret, retain: true, release: true); } NSURL? get URLByDeletingPathExtension { - final _ret = _lib._objc_msgSend_45( - this.pointer, - _lib._sel_URLByDeletingPathExtension1, - ); + final _ret = + _objc_msgSend_45(this.pointer, _sel_URLByDeletingPathExtension); return _ret.address == 0 ? null - : NSURL._(_ret, _lib, retain: true, release: true); + : NSURL._(_ret, retain: true, release: true); } bool checkResourceIsReachableAndReturnError_( - ffi.Pointer> error, - ) { - return _lib._objc_msgSend_255( - this.pointer, - _lib._sel_checkResourceIsReachableAndReturnError_1, - error, - ); + ffi.Pointer> error) { + return _objc_msgSend_255( + this.pointer, _sel_checkResourceIsReachableAndReturnError_, error); } NSURL? get URLByStandardizingPath { - final _ret = _lib._objc_msgSend_45( - this.pointer, - _lib._sel_URLByStandardizingPath1, - ); + final _ret = _objc_msgSend_45(this.pointer, _sel_URLByStandardizingPath); return _ret.address == 0 ? null - : NSURL._(_ret, _lib, retain: true, release: true); + : NSURL._(_ret, retain: true, release: true); } NSURL? get URLByResolvingSymlinksInPath { - final _ret = _lib._objc_msgSend_45( - this.pointer, - _lib._sel_URLByResolvingSymlinksInPath1, - ); + final _ret = + _objc_msgSend_45(this.pointer, _sel_URLByResolvingSymlinksInPath); return _ret.address == 0 ? null - : NSURL._(_ret, _lib, retain: true, release: true); + : NSURL._(_ret, retain: true, release: true); } NSData? resourceDataUsingCache_(bool shouldUseCache) { - final _ret = _lib._objc_msgSend_259( - this.pointer, - _lib._sel_resourceDataUsingCache_1, - shouldUseCache, - ); + final _ret = _objc_msgSend_259( + this.pointer, _sel_resourceDataUsingCache_, shouldUseCache); return _ret.address == 0 ? null - : NSData._(_ret, _lib, retain: true, release: true); + : NSData._(_ret, retain: true, release: true); } void loadResourceDataNotifyingClient_usingCache_( - NSObject client, - bool shouldUseCache, - ) { - _lib._objc_msgSend_260( - this.pointer, - _lib._sel_loadResourceDataNotifyingClient_usingCache_1, - client.pointer, - shouldUseCache, - ); + NSObject client, bool shouldUseCache) { + _objc_msgSend_260( + this.pointer, + _sel_loadResourceDataNotifyingClient_usingCache_, + client.pointer, + shouldUseCache); } NSObject? propertyForKey_(NSString propertyKey) { - final _ret = _lib._objc_msgSend_38( - this.pointer, - _lib._sel_propertyForKey_1, - propertyKey.pointer, - ); + final _ret = _objc_msgSend_38( + this.pointer, _sel_propertyForKey_, propertyKey.pointer); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } bool setResourceData_(NSData data) { - return _lib._objc_msgSend_24( - this.pointer, - _lib._sel_setResourceData_1, - data.pointer, - ); + return _objc_msgSend_24(this.pointer, _sel_setResourceData_, data.pointer); } bool setProperty_forKey_(NSObject property, NSString propertyKey) { - return _lib._objc_msgSend_261( - this.pointer, - _lib._sel_setProperty_forKey_1, - property.pointer, - propertyKey.pointer, - ); + return _objc_msgSend_261(this.pointer, _sel_setProperty_forKey_, + property.pointer, propertyKey.pointer); } NSURLHandle? URLHandleUsingCache_(bool shouldUseCache) { - final _ret = _lib._objc_msgSend_268( - this.pointer, - _lib._sel_URLHandleUsingCache_1, - shouldUseCache, - ); + final _ret = _objc_msgSend_268( + this.pointer, _sel_URLHandleUsingCache_, shouldUseCache); return _ret.address == 0 ? null - : NSURLHandle._(_ret, _lib, retain: true, release: true); + : NSURLHandle._(_ret, retain: true, release: true); } @override NSURL init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSURL._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSURL._(_ret, retain: true, release: true); } - static NSURL new1(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2(_lib._class_NSURL1, _lib._sel_new1); - return NSURL._(_ret, _lib, retain: false, release: true); + static NSURL new1() { + final _ret = _objc_msgSend_2(_class_NSURL, _sel_new); + return NSURL._(_ret, retain: false, release: true); } - static NSURL allocWithZone_(AVFAudio _lib, ffi.Pointer<_NSZone> zone) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSURL1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSURL._(_ret, _lib, retain: false, release: true); + static NSURL allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = _objc_msgSend_3(_class_NSURL, _sel_allocWithZone_, zone); + return NSURL._(_ret, retain: false, release: true); } - static NSURL alloc(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2(_lib._class_NSURL1, _lib._sel_alloc1); - return NSURL._(_ret, _lib, retain: false, release: true); + static NSURL alloc() { + final _ret = _objc_msgSend_2(_class_NSURL, _sel_alloc); + return NSURL._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSURL1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSURL1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSURL1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSURL1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSURL1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSURL1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSURL, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); + } + + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSURL, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); + } + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12(_class_NSURL, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSURL, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63( + _class_NSURL, _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64( + _class_NSURL, _sel_automaticallyNotifiesObserversForKey_, key.pointer); } static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSURL1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSURL1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSURL1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSURL, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = + _objc_msgSend_85(_class_NSURL, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = _objc_msgSend_2(_class_NSURL, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); } } +late final _class_NSURL = objc.getClass("NSURL"); +late final _sel_initWithScheme_host_path_ = + objc.registerName("initWithScheme:host:path:"); +final _objc_msgSend_27 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer scheme, + ffi.Pointer host, + ffi.Pointer path)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_initFileURLWithPath_isDirectory_relativeToURL_ = + objc.registerName("initFileURLWithPath:isDirectory:relativeToURL:"); +final _objc_msgSend_28 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer path, + ffi.Bool isDir, + ffi.Pointer baseURL)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool, + ffi.Pointer)>(); +late final _sel_initFileURLWithPath_relativeToURL_ = + objc.registerName("initFileURLWithPath:relativeToURL:"); +final _objc_msgSend_29 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer path, + ffi.Pointer baseURL)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_initFileURLWithPath_isDirectory_ = + objc.registerName("initFileURLWithPath:isDirectory:"); +final _objc_msgSend_30 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer path, + ffi.Bool isDir)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool)>(); +late final _sel_initFileURLWithPath_ = + objc.registerName("initFileURLWithPath:"); +final _objc_msgSend_31 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer path)>>() + .asFunction< + instancetype Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_fileURLWithPath_isDirectory_relativeToURL_ = + objc.registerName("fileURLWithPath:isDirectory:relativeToURL:"); +final _objc_msgSend_32 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer path, + ffi.Bool isDir, + ffi.Pointer baseURL)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool, + ffi.Pointer)>(); +late final _sel_fileURLWithPath_relativeToURL_ = + objc.registerName("fileURLWithPath:relativeToURL:"); +final _objc_msgSend_33 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer path, + ffi.Pointer baseURL)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_fileURLWithPath_isDirectory_ = + objc.registerName("fileURLWithPath:isDirectory:"); +final _objc_msgSend_34 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer path, + ffi.Bool isDir)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool)>(); +late final _sel_fileURLWithPath_ = objc.registerName("fileURLWithPath:"); +final _objc_msgSend_35 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer path)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_initFileURLWithFileSystemRepresentation_isDirectory_relativeToURL_ = + objc.registerName( + "initFileURLWithFileSystemRepresentation:isDirectory:relativeToURL:"); +final _objc_msgSend_36 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer path, + ffi.Bool isDir, + ffi.Pointer baseURL)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool, + ffi.Pointer)>(); +late final _sel_fileURLWithFileSystemRepresentation_isDirectory_relativeToURL_ = + objc.registerName( + "fileURLWithFileSystemRepresentation:isDirectory:relativeToURL:"); +final _objc_msgSend_37 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer path, + ffi.Bool isDir, + ffi.Pointer baseURL)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool, + ffi.Pointer)>(); +late final _sel_initWithString_ = objc.registerName("initWithString:"); +final _objc_msgSend_38 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer URLString)>>() + .asFunction< + instancetype Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_initWithString_relativeToURL_ = + objc.registerName("initWithString:relativeToURL:"); +final _objc_msgSend_39 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer URLString, + ffi.Pointer baseURL)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_URLWithString_ = objc.registerName("URLWithString:"); +late final _sel_URLWithString_relativeToURL_ = + objc.registerName("URLWithString:relativeToURL:"); +late final _sel_initWithString_encodingInvalidCharacters_ = + objc.registerName("initWithString:encodingInvalidCharacters:"); +final _objc_msgSend_40 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer URLString, + ffi.Bool encodingInvalidCharacters)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool)>(); +late final _sel_URLWithString_encodingInvalidCharacters_ = + objc.registerName("URLWithString:encodingInvalidCharacters:"); +late final _sel_initWithDataRepresentation_relativeToURL_ = + objc.registerName("initWithDataRepresentation:relativeToURL:"); +final _objc_msgSend_41 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer data, + ffi.Pointer baseURL)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_URLWithDataRepresentation_relativeToURL_ = + objc.registerName("URLWithDataRepresentation:relativeToURL:"); +final _objc_msgSend_42 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer data, + ffi.Pointer baseURL)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_initAbsoluteURLWithDataRepresentation_relativeToURL_ = + objc.registerName("initAbsoluteURLWithDataRepresentation:relativeToURL:"); +late final _sel_absoluteURLWithDataRepresentation_relativeToURL_ = + objc.registerName("absoluteURLWithDataRepresentation:relativeToURL:"); +late final _sel_dataRepresentation = objc.registerName("dataRepresentation"); +final _objc_msgSend_43 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_absoluteString = objc.registerName("absoluteString"); +final _objc_msgSend_44 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_relativeString = objc.registerName("relativeString"); +late final _sel_baseURL = objc.registerName("baseURL"); +final _objc_msgSend_45 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_absoluteURL = objc.registerName("absoluteURL"); +late final _sel_scheme = objc.registerName("scheme"); +late final _sel_resourceSpecifier = objc.registerName("resourceSpecifier"); +late final _sel_host = objc.registerName("host"); + class NSNumber extends NSValue { - NSNumber._( - ffi.Pointer pointer, - AVFAudio lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSNumber._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSNumber] that points to the same underlying object as [other]. - static NSNumber castFrom( - AVFAudio lib, - T other, - ) { - return NSNumber._(other.pointer, lib, retain: true, release: true); + static NSNumber castFrom(T other) { + return NSNumber._(other.pointer, retain: true, release: true); } /// Returns a [NSNumber] that wraps the given raw object pointer. - static NSNumber castFromPointer( - AVFAudio lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSNumber._(other, lib, retain: retain, release: release); + static NSNumber castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSNumber._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSNumber]. - static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSNumber1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0(obj.pointer, _sel_isKindOfClass_, _class_NSNumber); } @override NSNumber? initWithCoder_(NSCoder coder) { - final _ret = _lib._objc_msgSend_47( - this.pointer, - _lib._sel_initWithCoder_1, - coder.pointer, - ); + final _ret = + _objc_msgSend_47(this.pointer, _sel_initWithCoder_, coder.pointer); return _ret.address == 0 ? null - : NSNumber._(_ret, _lib, retain: true, release: true); + : NSNumber._(_ret, retain: true, release: true); } NSNumber initWithChar_(int value) { - final _ret = _lib._objc_msgSend_220( - this.pointer, - _lib._sel_initWithChar_1, - value, - ); - return NSNumber._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_220(this.pointer, _sel_initWithChar_, value); + return NSNumber._(_ret, retain: true, release: true); } NSNumber initWithUnsignedChar_(int value) { - final _ret = _lib._objc_msgSend_221( - this.pointer, - _lib._sel_initWithUnsignedChar_1, - value, - ); - return NSNumber._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_221(this.pointer, _sel_initWithUnsignedChar_, value); + return NSNumber._(_ret, retain: true, release: true); } NSNumber initWithShort_(int value) { - final _ret = _lib._objc_msgSend_222( - this.pointer, - _lib._sel_initWithShort_1, - value, - ); - return NSNumber._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_222(this.pointer, _sel_initWithShort_, value); + return NSNumber._(_ret, retain: true, release: true); } NSNumber initWithUnsignedShort_(int value) { - final _ret = _lib._objc_msgSend_223( - this.pointer, - _lib._sel_initWithUnsignedShort_1, - value, - ); - return NSNumber._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_223(this.pointer, _sel_initWithUnsignedShort_, value); + return NSNumber._(_ret, retain: true, release: true); } NSNumber initWithInt_(int value) { - final _ret = _lib._objc_msgSend_224( - this.pointer, - _lib._sel_initWithInt_1, - value, - ); - return NSNumber._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_224(this.pointer, _sel_initWithInt_, value); + return NSNumber._(_ret, retain: true, release: true); } NSNumber initWithUnsignedInt_(int value) { - final _ret = _lib._objc_msgSend_225( - this.pointer, - _lib._sel_initWithUnsignedInt_1, - value, - ); - return NSNumber._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_225(this.pointer, _sel_initWithUnsignedInt_, value); + return NSNumber._(_ret, retain: true, release: true); } NSNumber initWithLong_(int value) { - final _ret = _lib._objc_msgSend_226( - this.pointer, - _lib._sel_initWithLong_1, - value, - ); - return NSNumber._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_226(this.pointer, _sel_initWithLong_, value); + return NSNumber._(_ret, retain: true, release: true); } NSNumber initWithUnsignedLong_(int value) { - final _ret = _lib._objc_msgSend_227( - this.pointer, - _lib._sel_initWithUnsignedLong_1, - value, - ); - return NSNumber._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_227(this.pointer, _sel_initWithUnsignedLong_, value); + return NSNumber._(_ret, retain: true, release: true); } NSNumber initWithLongLong_(int value) { - final _ret = _lib._objc_msgSend_228( - this.pointer, - _lib._sel_initWithLongLong_1, - value, - ); - return NSNumber._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_228(this.pointer, _sel_initWithLongLong_, value); + return NSNumber._(_ret, retain: true, release: true); } NSNumber initWithUnsignedLongLong_(int value) { - final _ret = _lib._objc_msgSend_229( - this.pointer, - _lib._sel_initWithUnsignedLongLong_1, - value, - ); - return NSNumber._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_229(this.pointer, _sel_initWithUnsignedLongLong_, value); + return NSNumber._(_ret, retain: true, release: true); } NSNumber initWithFloat_(double value) { - final _ret = _lib._objc_msgSend_230( - this.pointer, - _lib._sel_initWithFloat_1, - value, - ); - return NSNumber._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_230(this.pointer, _sel_initWithFloat_, value); + return NSNumber._(_ret, retain: true, release: true); } NSNumber initWithDouble_(double value) { - final _ret = _lib._objc_msgSend_231( - this.pointer, - _lib._sel_initWithDouble_1, - value, - ); - return NSNumber._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_231(this.pointer, _sel_initWithDouble_, value); + return NSNumber._(_ret, retain: true, release: true); } NSNumber initWithBool_(bool value) { - final _ret = _lib._objc_msgSend_232( - this.pointer, - _lib._sel_initWithBool_1, - value, - ); - return NSNumber._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_232(this.pointer, _sel_initWithBool_, value); + return NSNumber._(_ret, retain: true, release: true); } NSNumber initWithInteger_(int value) { - final _ret = _lib._objc_msgSend_226( - this.pointer, - _lib._sel_initWithInteger_1, - value, - ); - return NSNumber._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_226(this.pointer, _sel_initWithInteger_, value); + return NSNumber._(_ret, retain: true, release: true); } NSNumber initWithUnsignedInteger_(int value) { - final _ret = _lib._objc_msgSend_227( - this.pointer, - _lib._sel_initWithUnsignedInteger_1, - value, - ); - return NSNumber._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_227(this.pointer, _sel_initWithUnsignedInteger_, value); + return NSNumber._(_ret, retain: true, release: true); } int get charValue { - return _lib._objc_msgSend_233(this.pointer, _lib._sel_charValue1); + return _objc_msgSend_233(this.pointer, _sel_charValue); } int get unsignedCharValue { - return _lib._objc_msgSend_234(this.pointer, _lib._sel_unsignedCharValue1); + return _objc_msgSend_234(this.pointer, _sel_unsignedCharValue); } int get shortValue { - return _lib._objc_msgSend_235(this.pointer, _lib._sel_shortValue1); + return _objc_msgSend_235(this.pointer, _sel_shortValue); } int get unsignedShortValue { - return _lib._objc_msgSend_236(this.pointer, _lib._sel_unsignedShortValue1); + return _objc_msgSend_236(this.pointer, _sel_unsignedShortValue); } int get intValue { - return _lib._objc_msgSend_237(this.pointer, _lib._sel_intValue1); + return _objc_msgSend_237(this.pointer, _sel_intValue); } int get unsignedIntValue { - return _lib._objc_msgSend_214(this.pointer, _lib._sel_unsignedIntValue1); + return _objc_msgSend_214(this.pointer, _sel_unsignedIntValue); } int get longValue { - return _lib._objc_msgSend_83(this.pointer, _lib._sel_longValue1); + return _objc_msgSend_83(this.pointer, _sel_longValue); } int get unsignedLongValue { - return _lib._objc_msgSend_10(this.pointer, _lib._sel_unsignedLongValue1); + return _objc_msgSend_10(this.pointer, _sel_unsignedLongValue); } int get longLongValue { - return _lib._objc_msgSend_238(this.pointer, _lib._sel_longLongValue1); + return _objc_msgSend_238(this.pointer, _sel_longLongValue); } int get unsignedLongLongValue { - return _lib._objc_msgSend_164( - this.pointer, - _lib._sel_unsignedLongLongValue1, - ); + return _objc_msgSend_164(this.pointer, _sel_unsignedLongLongValue); } double get floatValue { return objc.useMsgSendVariants - ? _lib._objc_msgSend_239_fpret(this.pointer, _lib._sel_floatValue1) - : _lib._objc_msgSend_239(this.pointer, _lib._sel_floatValue1); + ? _objc_msgSend_239Fpret(this.pointer, _sel_floatValue) + : _objc_msgSend_239(this.pointer, _sel_floatValue); } double get doubleValue { return objc.useMsgSendVariants - ? _lib._objc_msgSend_165_fpret(this.pointer, _lib._sel_doubleValue1) - : _lib._objc_msgSend_165(this.pointer, _lib._sel_doubleValue1); + ? _objc_msgSend_165Fpret(this.pointer, _sel_doubleValue) + : _objc_msgSend_165(this.pointer, _sel_doubleValue); } bool get boolValue { - return _lib._objc_msgSend_12(this.pointer, _lib._sel_boolValue1); + return _objc_msgSend_12(this.pointer, _sel_boolValue); } int get integerValue { - return _lib._objc_msgSend_83(this.pointer, _lib._sel_integerValue1); + return _objc_msgSend_83(this.pointer, _sel_integerValue); } int get unsignedIntegerValue { - return _lib._objc_msgSend_10(this.pointer, _lib._sel_unsignedIntegerValue1); + return _objc_msgSend_10(this.pointer, _sel_unsignedIntegerValue); } NSString get stringValue { - final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_stringValue1); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_stringValue); + return NSString._(_ret, retain: true, release: true); } int compare_(NSNumber otherNumber) { - return _lib._objc_msgSend_240( - this.pointer, - _lib._sel_compare_1, - otherNumber.pointer, - ); + return _objc_msgSend_240(this.pointer, _sel_compare_, otherNumber.pointer); } bool isEqualToNumber_(NSNumber number) { - return _lib._objc_msgSend_241( - this.pointer, - _lib._sel_isEqualToNumber_1, - number.pointer, - ); + return _objc_msgSend_241( + this.pointer, _sel_isEqualToNumber_, number.pointer); } NSString descriptionWithLocale_(NSObject? locale) { - final _ret = _lib._objc_msgSend_70( - this.pointer, - _lib._sel_descriptionWithLocale_1, - locale?.pointer ?? ffi.nullptr, - ); - return NSString._(_ret, _lib, retain: true, release: true); - } - - static NSNumber numberWithChar_(AVFAudio _lib, int value) { - final _ret = _lib._objc_msgSend_220( - _lib._class_NSNumber1, - _lib._sel_numberWithChar_1, - value, - ); - return NSNumber._(_ret, _lib, retain: true, release: true); - } - - static NSNumber numberWithUnsignedChar_(AVFAudio _lib, int value) { - final _ret = _lib._objc_msgSend_221( - _lib._class_NSNumber1, - _lib._sel_numberWithUnsignedChar_1, - value, - ); - return NSNumber._(_ret, _lib, retain: true, release: true); - } - - static NSNumber numberWithShort_(AVFAudio _lib, int value) { - final _ret = _lib._objc_msgSend_222( - _lib._class_NSNumber1, - _lib._sel_numberWithShort_1, - value, - ); - return NSNumber._(_ret, _lib, retain: true, release: true); - } - - static NSNumber numberWithUnsignedShort_(AVFAudio _lib, int value) { - final _ret = _lib._objc_msgSend_223( - _lib._class_NSNumber1, - _lib._sel_numberWithUnsignedShort_1, - value, - ); - return NSNumber._(_ret, _lib, retain: true, release: true); - } - - static NSNumber numberWithInt_(AVFAudio _lib, int value) { - final _ret = _lib._objc_msgSend_224( - _lib._class_NSNumber1, - _lib._sel_numberWithInt_1, - value, - ); - return NSNumber._(_ret, _lib, retain: true, release: true); - } - - static NSNumber numberWithUnsignedInt_(AVFAudio _lib, int value) { - final _ret = _lib._objc_msgSend_225( - _lib._class_NSNumber1, - _lib._sel_numberWithUnsignedInt_1, - value, - ); - return NSNumber._(_ret, _lib, retain: true, release: true); - } - - static NSNumber numberWithLong_(AVFAudio _lib, int value) { - final _ret = _lib._objc_msgSend_226( - _lib._class_NSNumber1, - _lib._sel_numberWithLong_1, - value, - ); - return NSNumber._(_ret, _lib, retain: true, release: true); - } - - static NSNumber numberWithUnsignedLong_(AVFAudio _lib, int value) { - final _ret = _lib._objc_msgSend_227( - _lib._class_NSNumber1, - _lib._sel_numberWithUnsignedLong_1, - value, - ); - return NSNumber._(_ret, _lib, retain: true, release: true); - } - - static NSNumber numberWithLongLong_(AVFAudio _lib, int value) { - final _ret = _lib._objc_msgSend_228( - _lib._class_NSNumber1, - _lib._sel_numberWithLongLong_1, - value, - ); - return NSNumber._(_ret, _lib, retain: true, release: true); - } - - static NSNumber numberWithUnsignedLongLong_(AVFAudio _lib, int value) { - final _ret = _lib._objc_msgSend_229( - _lib._class_NSNumber1, - _lib._sel_numberWithUnsignedLongLong_1, - value, - ); - return NSNumber._(_ret, _lib, retain: true, release: true); - } - - static NSNumber numberWithFloat_(AVFAudio _lib, double value) { - final _ret = _lib._objc_msgSend_230( - _lib._class_NSNumber1, - _lib._sel_numberWithFloat_1, - value, - ); - return NSNumber._(_ret, _lib, retain: true, release: true); - } - - static NSNumber numberWithDouble_(AVFAudio _lib, double value) { - final _ret = _lib._objc_msgSend_231( - _lib._class_NSNumber1, - _lib._sel_numberWithDouble_1, - value, - ); - return NSNumber._(_ret, _lib, retain: true, release: true); - } - - static NSNumber numberWithBool_(AVFAudio _lib, bool value) { - final _ret = _lib._objc_msgSend_232( - _lib._class_NSNumber1, - _lib._sel_numberWithBool_1, - value, - ); - return NSNumber._(_ret, _lib, retain: true, release: true); - } - - static NSNumber numberWithInteger_(AVFAudio _lib, int value) { - final _ret = _lib._objc_msgSend_226( - _lib._class_NSNumber1, - _lib._sel_numberWithInteger_1, - value, - ); - return NSNumber._(_ret, _lib, retain: true, release: true); - } - - static NSNumber numberWithUnsignedInteger_(AVFAudio _lib, int value) { - final _ret = _lib._objc_msgSend_227( - _lib._class_NSNumber1, - _lib._sel_numberWithUnsignedInteger_1, - value, - ); - return NSNumber._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_70(this.pointer, _sel_descriptionWithLocale_, + locale?.pointer ?? ffi.nullptr); + return NSString._(_ret, retain: true, release: true); + } + + static NSNumber numberWithChar_(int value) { + final _ret = + _objc_msgSend_220(_class_NSNumber, _sel_numberWithChar_, value); + return NSNumber._(_ret, retain: true, release: true); + } + + static NSNumber numberWithUnsignedChar_(int value) { + final _ret = + _objc_msgSend_221(_class_NSNumber, _sel_numberWithUnsignedChar_, value); + return NSNumber._(_ret, retain: true, release: true); + } + + static NSNumber numberWithShort_(int value) { + final _ret = + _objc_msgSend_222(_class_NSNumber, _sel_numberWithShort_, value); + return NSNumber._(_ret, retain: true, release: true); + } + + static NSNumber numberWithUnsignedShort_(int value) { + final _ret = _objc_msgSend_223( + _class_NSNumber, _sel_numberWithUnsignedShort_, value); + return NSNumber._(_ret, retain: true, release: true); + } + + static NSNumber numberWithInt_(int value) { + final _ret = _objc_msgSend_224(_class_NSNumber, _sel_numberWithInt_, value); + return NSNumber._(_ret, retain: true, release: true); + } + + static NSNumber numberWithUnsignedInt_(int value) { + final _ret = + _objc_msgSend_225(_class_NSNumber, _sel_numberWithUnsignedInt_, value); + return NSNumber._(_ret, retain: true, release: true); + } + + static NSNumber numberWithLong_(int value) { + final _ret = + _objc_msgSend_226(_class_NSNumber, _sel_numberWithLong_, value); + return NSNumber._(_ret, retain: true, release: true); + } + + static NSNumber numberWithUnsignedLong_(int value) { + final _ret = + _objc_msgSend_227(_class_NSNumber, _sel_numberWithUnsignedLong_, value); + return NSNumber._(_ret, retain: true, release: true); + } + + static NSNumber numberWithLongLong_(int value) { + final _ret = + _objc_msgSend_228(_class_NSNumber, _sel_numberWithLongLong_, value); + return NSNumber._(_ret, retain: true, release: true); + } + + static NSNumber numberWithUnsignedLongLong_(int value) { + final _ret = _objc_msgSend_229( + _class_NSNumber, _sel_numberWithUnsignedLongLong_, value); + return NSNumber._(_ret, retain: true, release: true); + } + + static NSNumber numberWithFloat_(double value) { + final _ret = + _objc_msgSend_230(_class_NSNumber, _sel_numberWithFloat_, value); + return NSNumber._(_ret, retain: true, release: true); + } + + static NSNumber numberWithDouble_(double value) { + final _ret = + _objc_msgSend_231(_class_NSNumber, _sel_numberWithDouble_, value); + return NSNumber._(_ret, retain: true, release: true); + } + + static NSNumber numberWithBool_(bool value) { + final _ret = + _objc_msgSend_232(_class_NSNumber, _sel_numberWithBool_, value); + return NSNumber._(_ret, retain: true, release: true); + } + + static NSNumber numberWithInteger_(int value) { + final _ret = + _objc_msgSend_226(_class_NSNumber, _sel_numberWithInteger_, value); + return NSNumber._(_ret, retain: true, release: true); + } + + static NSNumber numberWithUnsignedInteger_(int value) { + final _ret = _objc_msgSend_227( + _class_NSNumber, _sel_numberWithUnsignedInteger_, value); + return NSNumber._(_ret, retain: true, release: true); } @override NSNumber initWithBytes_objCType_( - ffi.Pointer value, - ffi.Pointer type, - ) { - final _ret = _lib._objc_msgSend_46( - this.pointer, - _lib._sel_initWithBytes_objCType_1, - value, - type, - ); - return NSNumber._(_ret, _lib, retain: true, release: true); + ffi.Pointer value, ffi.Pointer type) { + final _ret = _objc_msgSend_46( + this.pointer, _sel_initWithBytes_objCType_, value, type); + return NSNumber._(_ret, retain: true, release: true); } static NSValue valueWithBytes_objCType_( - AVFAudio _lib, - ffi.Pointer value, - ffi.Pointer type, - ) { - final _ret = _lib._objc_msgSend_48( - _lib._class_NSNumber1, - _lib._sel_valueWithBytes_objCType_1, - value, - type, - ); - return NSValue._(_ret, _lib, retain: true, release: true); + ffi.Pointer value, ffi.Pointer type) { + final _ret = _objc_msgSend_48( + _class_NSNumber, _sel_valueWithBytes_objCType_, value, type); + return NSValue._(_ret, retain: true, release: true); } static NSValue value_withObjCType_( - AVFAudio _lib, - ffi.Pointer value, - ffi.Pointer type, - ) { - final _ret = _lib._objc_msgSend_48( - _lib._class_NSNumber1, - _lib._sel_value_withObjCType_1, - value, - type, - ); - return NSValue._(_ret, _lib, retain: true, release: true); - } - - static NSValue valueWithNonretainedObject_( - AVFAudio _lib, - NSObject? anObject, - ) { - final _ret = _lib._objc_msgSend_49( - _lib._class_NSNumber1, - _lib._sel_valueWithNonretainedObject_1, - anObject?.pointer ?? ffi.nullptr, - ); - return NSValue._(_ret, _lib, retain: true, release: true); - } - - static NSValue valueWithPointer_( - AVFAudio _lib, - ffi.Pointer pointer, - ) { - final _ret = _lib._objc_msgSend_50( - _lib._class_NSNumber1, - _lib._sel_valueWithPointer_1, - pointer, - ); - return NSValue._(_ret, _lib, retain: true, release: true); - } - - static NSValue valueWithRange_(AVFAudio _lib, _NSRange range) { - final _ret = _lib._objc_msgSend_53( - _lib._class_NSNumber1, - _lib._sel_valueWithRange_1, - range, - ); - return NSValue._(_ret, _lib, retain: true, release: true); - } - - static NSValue valueWithPoint_(AVFAudio _lib, CGPoint point) { - final _ret = _lib._objc_msgSend_55( - _lib._class_NSNumber1, - _lib._sel_valueWithPoint_1, - point, - ); - return NSValue._(_ret, _lib, retain: true, release: true); - } - - static NSValue valueWithSize_(AVFAudio _lib, CGSize size) { - final _ret = _lib._objc_msgSend_56( - _lib._class_NSNumber1, - _lib._sel_valueWithSize_1, - size, - ); - return NSValue._(_ret, _lib, retain: true, release: true); - } - - static NSValue valueWithRect_(AVFAudio _lib, CGRect rect) { - final _ret = _lib._objc_msgSend_57( - _lib._class_NSNumber1, - _lib._sel_valueWithRect_1, - rect, - ); - return NSValue._(_ret, _lib, retain: true, release: true); - } - - static NSValue valueWithEdgeInsets_(AVFAudio _lib, NSEdgeInsets insets) { - final _ret = _lib._objc_msgSend_58( - _lib._class_NSNumber1, - _lib._sel_valueWithEdgeInsets_1, - insets, - ); - return NSValue._(_ret, _lib, retain: true, release: true); + ffi.Pointer value, ffi.Pointer type) { + final _ret = _objc_msgSend_48( + _class_NSNumber, _sel_value_withObjCType_, value, type); + return NSValue._(_ret, retain: true, release: true); + } + + static NSValue valueWithNonretainedObject_(NSObject? anObject) { + final _ret = _objc_msgSend_49(_class_NSNumber, + _sel_valueWithNonretainedObject_, anObject?.pointer ?? ffi.nullptr); + return NSValue._(_ret, retain: true, release: true); + } + + static NSValue valueWithPointer_(ffi.Pointer pointer) { + final _ret = + _objc_msgSend_50(_class_NSNumber, _sel_valueWithPointer_, pointer); + return NSValue._(_ret, retain: true, release: true); + } + + static NSValue valueWithRange_(_NSRange range) { + final _ret = _objc_msgSend_53(_class_NSNumber, _sel_valueWithRange_, range); + return NSValue._(_ret, retain: true, release: true); + } + + static NSValue valueWithPoint_(CGPoint point) { + final _ret = _objc_msgSend_55(_class_NSNumber, _sel_valueWithPoint_, point); + return NSValue._(_ret, retain: true, release: true); + } + + static NSValue valueWithSize_(CGSize size) { + final _ret = _objc_msgSend_56(_class_NSNumber, _sel_valueWithSize_, size); + return NSValue._(_ret, retain: true, release: true); + } + + static NSValue valueWithRect_(CGRect rect) { + final _ret = _objc_msgSend_57(_class_NSNumber, _sel_valueWithRect_, rect); + return NSValue._(_ret, retain: true, release: true); + } + + static NSValue valueWithEdgeInsets_(NSEdgeInsets insets) { + final _ret = + _objc_msgSend_58(_class_NSNumber, _sel_valueWithEdgeInsets_, insets); + return NSValue._(_ret, retain: true, release: true); } @override NSNumber init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSNumber._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSNumber._(_ret, retain: true, release: true); } - static NSNumber new1(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2(_lib._class_NSNumber1, _lib._sel_new1); - return NSNumber._(_ret, _lib, retain: false, release: true); + static NSNumber new1() { + final _ret = _objc_msgSend_2(_class_NSNumber, _sel_new); + return NSNumber._(_ret, retain: false, release: true); } - static NSNumber allocWithZone_(AVFAudio _lib, ffi.Pointer<_NSZone> zone) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSNumber1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSNumber._(_ret, _lib, retain: false, release: true); + static NSNumber allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = _objc_msgSend_3(_class_NSNumber, _sel_allocWithZone_, zone); + return NSNumber._(_ret, retain: false, release: true); } - static NSNumber alloc(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2(_lib._class_NSNumber1, _lib._sel_alloc1); - return NSNumber._(_ret, _lib, retain: false, release: true); + static NSNumber alloc() { + final _ret = _objc_msgSend_2(_class_NSNumber, _sel_alloc); + return NSNumber._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSNumber1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSNumber1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSNumber1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSNumber1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSNumber1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSNumber1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSNumber, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); + } + + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSNumber, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); + } + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSNumber, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSNumber, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSNumber, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSNumber, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); } static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSNumber1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSNumber1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSNumber1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSNumber, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = + _objc_msgSend_85(_class_NSNumber, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = _objc_msgSend_2(_class_NSNumber, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); } } +late final _class_NSNumber = objc.getClass("NSNumber"); + class NSValue extends NSObject { - NSValue._( - ffi.Pointer pointer, - AVFAudio lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSValue._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSValue] that points to the same underlying object as [other]. - static NSValue castFrom( - AVFAudio lib, - T other, - ) { - return NSValue._(other.pointer, lib, retain: true, release: true); + static NSValue castFrom(T other) { + return NSValue._(other.pointer, retain: true, release: true); } /// Returns a [NSValue] that wraps the given raw object pointer. - static NSValue castFromPointer( - AVFAudio lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSValue._(other, lib, retain: retain, release: release); + static NSValue castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSValue._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSValue]. - static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSValue1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0(obj.pointer, _sel_isKindOfClass_, _class_NSValue); } void getValue_size_(ffi.Pointer value, int size) { - _lib._objc_msgSend_22(this.pointer, _lib._sel_getValue_size_1, value, size); + _objc_msgSend_22(this.pointer, _sel_getValue_size_, value, size); } ffi.Pointer get objCType { - return _lib._objc_msgSend_13(this.pointer, _lib._sel_objCType1); + return _objc_msgSend_13(this.pointer, _sel_objCType); } NSValue initWithBytes_objCType_( - ffi.Pointer value, - ffi.Pointer type, - ) { - final _ret = _lib._objc_msgSend_46( - this.pointer, - _lib._sel_initWithBytes_objCType_1, - value, - type, - ); - return NSValue._(_ret, _lib, retain: true, release: true); + ffi.Pointer value, ffi.Pointer type) { + final _ret = _objc_msgSend_46( + this.pointer, _sel_initWithBytes_objCType_, value, type); + return NSValue._(_ret, retain: true, release: true); } NSValue? initWithCoder_(NSCoder coder) { - final _ret = _lib._objc_msgSend_47( - this.pointer, - _lib._sel_initWithCoder_1, - coder.pointer, - ); + final _ret = + _objc_msgSend_47(this.pointer, _sel_initWithCoder_, coder.pointer); return _ret.address == 0 ? null - : NSValue._(_ret, _lib, retain: true, release: true); + : NSValue._(_ret, retain: true, release: true); } static NSValue valueWithBytes_objCType_( - AVFAudio _lib, - ffi.Pointer value, - ffi.Pointer type, - ) { - final _ret = _lib._objc_msgSend_48( - _lib._class_NSValue1, - _lib._sel_valueWithBytes_objCType_1, - value, - type, - ); - return NSValue._(_ret, _lib, retain: true, release: true); + ffi.Pointer value, ffi.Pointer type) { + final _ret = _objc_msgSend_48( + _class_NSValue, _sel_valueWithBytes_objCType_, value, type); + return NSValue._(_ret, retain: true, release: true); } static NSValue value_withObjCType_( - AVFAudio _lib, - ffi.Pointer value, - ffi.Pointer type, - ) { - final _ret = _lib._objc_msgSend_48( - _lib._class_NSValue1, - _lib._sel_value_withObjCType_1, - value, - type, - ); - return NSValue._(_ret, _lib, retain: true, release: true); - } - - static NSValue valueWithNonretainedObject_( - AVFAudio _lib, - NSObject? anObject, - ) { - final _ret = _lib._objc_msgSend_49( - _lib._class_NSValue1, - _lib._sel_valueWithNonretainedObject_1, - anObject?.pointer ?? ffi.nullptr, - ); - return NSValue._(_ret, _lib, retain: true, release: true); + ffi.Pointer value, ffi.Pointer type) { + final _ret = + _objc_msgSend_48(_class_NSValue, _sel_value_withObjCType_, value, type); + return NSValue._(_ret, retain: true, release: true); + } + + static NSValue valueWithNonretainedObject_(NSObject? anObject) { + final _ret = _objc_msgSend_49(_class_NSValue, + _sel_valueWithNonretainedObject_, anObject?.pointer ?? ffi.nullptr); + return NSValue._(_ret, retain: true, release: true); } NSObject? get nonretainedObjectValue { - final _ret = _lib._objc_msgSend_17( - this.pointer, - _lib._sel_nonretainedObjectValue1, - ); + final _ret = _objc_msgSend_17(this.pointer, _sel_nonretainedObjectValue); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } - static NSValue valueWithPointer_( - AVFAudio _lib, - ffi.Pointer pointer, - ) { - final _ret = _lib._objc_msgSend_50( - _lib._class_NSValue1, - _lib._sel_valueWithPointer_1, - pointer, - ); - return NSValue._(_ret, _lib, retain: true, release: true); + static NSValue valueWithPointer_(ffi.Pointer pointer) { + final _ret = + _objc_msgSend_50(_class_NSValue, _sel_valueWithPointer_, pointer); + return NSValue._(_ret, retain: true, release: true); } ffi.Pointer get pointerValue { - return _lib._objc_msgSend_20(this.pointer, _lib._sel_pointerValue1); + return _objc_msgSend_20(this.pointer, _sel_pointerValue); } bool isEqualToValue_(NSValue value) { - return _lib._objc_msgSend_51( - this.pointer, - _lib._sel_isEqualToValue_1, - value.pointer, - ); + return _objc_msgSend_51(this.pointer, _sel_isEqualToValue_, value.pointer); } void getValue_(ffi.Pointer value) { - _lib._objc_msgSend_52(this.pointer, _lib._sel_getValue_1, value); + _objc_msgSend_52(this.pointer, _sel_getValue_, value); } - static NSValue valueWithRange_(AVFAudio _lib, _NSRange range) { - final _ret = _lib._objc_msgSend_53( - _lib._class_NSValue1, - _lib._sel_valueWithRange_1, - range, - ); - return NSValue._(_ret, _lib, retain: true, release: true); + static NSValue valueWithRange_(_NSRange range) { + final _ret = _objc_msgSend_53(_class_NSValue, _sel_valueWithRange_, range); + return NSValue._(_ret, retain: true, release: true); } void getRangeValue(ffi.Pointer<_NSRange> stret) { objc.useMsgSendVariants - ? _lib._objc_msgSend_54_stret( - stret, - this.pointer, - _lib._sel_rangeValue1, - ) - : stret.ref = _lib._objc_msgSend_54( - this.pointer, - _lib._sel_rangeValue1, - ); + ? _objc_msgSend_54Stret(stret, this.pointer, _sel_rangeValue) + : stret.ref = _objc_msgSend_54(this.pointer, _sel_rangeValue); } - static NSValue valueWithPoint_(AVFAudio _lib, CGPoint point) { - final _ret = _lib._objc_msgSend_55( - _lib._class_NSValue1, - _lib._sel_valueWithPoint_1, - point, - ); - return NSValue._(_ret, _lib, retain: true, release: true); + static NSValue valueWithPoint_(CGPoint point) { + final _ret = _objc_msgSend_55(_class_NSValue, _sel_valueWithPoint_, point); + return NSValue._(_ret, retain: true, release: true); } - static NSValue valueWithSize_(AVFAudio _lib, CGSize size) { - final _ret = _lib._objc_msgSend_56( - _lib._class_NSValue1, - _lib._sel_valueWithSize_1, - size, - ); - return NSValue._(_ret, _lib, retain: true, release: true); + static NSValue valueWithSize_(CGSize size) { + final _ret = _objc_msgSend_56(_class_NSValue, _sel_valueWithSize_, size); + return NSValue._(_ret, retain: true, release: true); } - static NSValue valueWithRect_(AVFAudio _lib, CGRect rect) { - final _ret = _lib._objc_msgSend_57( - _lib._class_NSValue1, - _lib._sel_valueWithRect_1, - rect, - ); - return NSValue._(_ret, _lib, retain: true, release: true); + static NSValue valueWithRect_(CGRect rect) { + final _ret = _objc_msgSend_57(_class_NSValue, _sel_valueWithRect_, rect); + return NSValue._(_ret, retain: true, release: true); } - static NSValue valueWithEdgeInsets_(AVFAudio _lib, NSEdgeInsets insets) { - final _ret = _lib._objc_msgSend_58( - _lib._class_NSValue1, - _lib._sel_valueWithEdgeInsets_1, - insets, - ); - return NSValue._(_ret, _lib, retain: true, release: true); + static NSValue valueWithEdgeInsets_(NSEdgeInsets insets) { + final _ret = + _objc_msgSend_58(_class_NSValue, _sel_valueWithEdgeInsets_, insets); + return NSValue._(_ret, retain: true, release: true); } void getPointValue(ffi.Pointer stret) { objc.useMsgSendVariants - ? _lib._objc_msgSend_59_stret( - stret, - this.pointer, - _lib._sel_pointValue1, - ) - : stret.ref = _lib._objc_msgSend_59( - this.pointer, - _lib._sel_pointValue1, - ); + ? _objc_msgSend_59Stret(stret, this.pointer, _sel_pointValue) + : stret.ref = _objc_msgSend_59(this.pointer, _sel_pointValue); } void getSizeValue(ffi.Pointer stret) { objc.useMsgSendVariants - ? _lib._objc_msgSend_60_stret(stret, this.pointer, _lib._sel_sizeValue1) - : stret.ref = _lib._objc_msgSend_60(this.pointer, _lib._sel_sizeValue1); + ? _objc_msgSend_60Stret(stret, this.pointer, _sel_sizeValue) + : stret.ref = _objc_msgSend_60(this.pointer, _sel_sizeValue); } void getRectValue(ffi.Pointer stret) { objc.useMsgSendVariants - ? _lib._objc_msgSend_61_stret(stret, this.pointer, _lib._sel_rectValue1) - : stret.ref = _lib._objc_msgSend_61(this.pointer, _lib._sel_rectValue1); + ? _objc_msgSend_61Stret(stret, this.pointer, _sel_rectValue) + : stret.ref = _objc_msgSend_61(this.pointer, _sel_rectValue); } void getEdgeInsetsValue(ffi.Pointer stret) { objc.useMsgSendVariants - ? _lib._objc_msgSend_62_stret( - stret, - this.pointer, - _lib._sel_edgeInsetsValue1, - ) - : stret.ref = _lib._objc_msgSend_62( - this.pointer, - _lib._sel_edgeInsetsValue1, - ); + ? _objc_msgSend_62Stret(stret, this.pointer, _sel_edgeInsetsValue) + : stret.ref = _objc_msgSend_62(this.pointer, _sel_edgeInsetsValue); } @override NSValue init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSValue._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSValue._(_ret, retain: true, release: true); } - static NSValue new1(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2(_lib._class_NSValue1, _lib._sel_new1); - return NSValue._(_ret, _lib, retain: false, release: true); + static NSValue new1() { + final _ret = _objc_msgSend_2(_class_NSValue, _sel_new); + return NSValue._(_ret, retain: false, release: true); } - static NSValue allocWithZone_(AVFAudio _lib, ffi.Pointer<_NSZone> zone) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSValue1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSValue._(_ret, _lib, retain: false, release: true); + static NSValue allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = _objc_msgSend_3(_class_NSValue, _sel_allocWithZone_, zone); + return NSValue._(_ret, retain: false, release: true); } - static NSValue alloc(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2(_lib._class_NSValue1, _lib._sel_alloc1); - return NSValue._(_ret, _lib, retain: false, release: true); + static NSValue alloc() { + final _ret = _objc_msgSend_2(_class_NSValue, _sel_alloc); + return NSValue._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSValue1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSValue1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSValue1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSValue1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSValue1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSValue1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSValue, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); + } + + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSValue, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); + } + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSValue, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSValue, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSValue, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSValue, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); } static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSValue1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSValue1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSValue1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSValue, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = + _objc_msgSend_85(_class_NSValue, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = _objc_msgSend_2(_class_NSValue, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); } } +late final _class_NSValue = objc.getClass("NSValue"); +late final _sel_getValue_size_ = objc.registerName("getValue:size:"); +late final _sel_objCType = objc.registerName("objCType"); +late final _sel_initWithBytes_objCType_ = + objc.registerName("initWithBytes:objCType:"); +final _objc_msgSend_46 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value, + ffi.Pointer type)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_initWithCoder_ = objc.registerName("initWithCoder:"); +final _objc_msgSend_47 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer coder)>>() + .asFunction< + instancetype Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_valueWithBytes_objCType_ = + objc.registerName("valueWithBytes:objCType:"); +final _objc_msgSend_48 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value, + ffi.Pointer type)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_value_withObjCType_ = objc.registerName("value:withObjCType:"); +late final _sel_valueWithNonretainedObject_ = + objc.registerName("valueWithNonretainedObject:"); +final _objc_msgSend_49 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer anObject)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_nonretainedObjectValue = + objc.registerName("nonretainedObjectValue"); +late final _sel_valueWithPointer_ = objc.registerName("valueWithPointer:"); +final _objc_msgSend_50 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer pointer)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_pointerValue = objc.registerName("pointerValue"); +late final _sel_isEqualToValue_ = objc.registerName("isEqualToValue:"); +final _objc_msgSend_51 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value)>>() + .asFunction< + bool Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_getValue_ = objc.registerName("getValue:"); +final _objc_msgSend_52 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_valueWithRange_ = objc.registerName("valueWithRange:"); +final _objc_msgSend_53 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + _NSRange range)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, _NSRange)>(); +late final _sel_rangeValue = objc.registerName("rangeValue"); +final _objc_msgSend_54 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + _NSRange Function(ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + _NSRange Function( + ffi.Pointer, ffi.Pointer)>(); +final _objc_msgSend_54Stret = objc.msgSendStretPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer<_NSRange> stret, + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + void Function(ffi.Pointer<_NSRange>, ffi.Pointer, + ffi.Pointer)>(); + final class CGPoint extends ffi.Struct { @ffi.Double() external double x; @@ -44525,6 +6342,18 @@ final class CGPoint extends ffi.Struct { external double y; } +late final _sel_valueWithPoint_ = objc.registerName("valueWithPoint:"); +final _objc_msgSend_55 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + CGPoint point)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, CGPoint)>(); + final class CGSize extends ffi.Struct { @ffi.Double() external double width; @@ -44533,12 +6362,36 @@ final class CGSize extends ffi.Struct { external double height; } +late final _sel_valueWithSize_ = objc.registerName("valueWithSize:"); +final _objc_msgSend_56 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + CGSize size)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, CGSize)>(); + final class CGRect extends ffi.Struct { external CGPoint origin; external CGSize size; } +late final _sel_valueWithRect_ = objc.registerName("valueWithRect:"); +final _objc_msgSend_57 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + CGRect rect)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, CGRect)>(); + final class NSEdgeInsets extends ffi.Struct { @ffi.Double() external double top; @@ -44553,1300 +6406,1300 @@ final class NSEdgeInsets extends ffi.Struct { external double right; } +late final _sel_valueWithEdgeInsets_ = + objc.registerName("valueWithEdgeInsets:"); +final _objc_msgSend_58 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + NSEdgeInsets insets)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, NSEdgeInsets)>(); +late final _sel_pointValue = objc.registerName("pointValue"); +final _objc_msgSend_59 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + CGPoint Function(ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + CGPoint Function( + ffi.Pointer, ffi.Pointer)>(); +final _objc_msgSend_59Stret = objc.msgSendStretPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer stret, + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + void Function(ffi.Pointer, ffi.Pointer, + ffi.Pointer)>(); +late final _sel_sizeValue = objc.registerName("sizeValue"); +final _objc_msgSend_60 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + CGSize Function(ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + CGSize Function( + ffi.Pointer, ffi.Pointer)>(); +final _objc_msgSend_60Stret = objc.msgSendStretPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer stret, + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + void Function(ffi.Pointer, ffi.Pointer, + ffi.Pointer)>(); +late final _sel_rectValue = objc.registerName("rectValue"); +final _objc_msgSend_61 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + CGRect Function(ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + CGRect Function( + ffi.Pointer, ffi.Pointer)>(); +final _objc_msgSend_61Stret = objc.msgSendStretPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer stret, + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + void Function(ffi.Pointer, ffi.Pointer, + ffi.Pointer)>(); +late final _sel_edgeInsetsValue = objc.registerName("edgeInsetsValue"); +final _objc_msgSend_62 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + NSEdgeInsets Function(ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + NSEdgeInsets Function( + ffi.Pointer, ffi.Pointer)>(); +final _objc_msgSend_62Stret = objc.msgSendStretPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer stret, + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + void Function(ffi.Pointer, ffi.Pointer, + ffi.Pointer)>(); +late final _sel_keyPathsForValuesAffectingValueForKey_ = + objc.registerName("keyPathsForValuesAffectingValueForKey:"); +final _objc_msgSend_63 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer key)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_automaticallyNotifiesObserversForKey_ = + objc.registerName("automaticallyNotifiesObserversForKey:"); +final _objc_msgSend_64 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer key)>>() + .asFunction< + bool Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); + class NSArray extends NSObject { - NSArray._( - ffi.Pointer pointer, - AVFAudio lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSArray._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSArray] that points to the same underlying object as [other]. - static NSArray castFrom( - AVFAudio lib, - T other, - ) { - return NSArray._(other.pointer, lib, retain: true, release: true); + static NSArray castFrom(T other) { + return NSArray._(other.pointer, retain: true, release: true); } /// Returns a [NSArray] that wraps the given raw object pointer. - static NSArray castFromPointer( - AVFAudio lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSArray._(other, lib, retain: retain, release: release); + static NSArray castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSArray._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSArray]. - static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSArray1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0(obj.pointer, _sel_isKindOfClass_, _class_NSArray); } int get count { - return _lib._objc_msgSend_10(this.pointer, _lib._sel_count1); + return _objc_msgSend_10(this.pointer, _sel_count); } NSObject objectAtIndex_(int index) { - final _ret = _lib._objc_msgSend_65( - this.pointer, - _lib._sel_objectAtIndex_1, - index, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_65(this.pointer, _sel_objectAtIndex_, index); + return NSObject._(_ret, retain: true, release: true); } @override NSArray init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSArray._(_ret, retain: true, release: true); } NSArray initWithObjects_count_( - ffi.Pointer> objects, - int cnt, - ) { - final _ret = _lib._objc_msgSend_66( - this.pointer, - _lib._sel_initWithObjects_count_1, - objects, - cnt, - ); - return NSArray._(_ret, _lib, retain: true, release: true); + ffi.Pointer> objects, int cnt) { + final _ret = _objc_msgSend_66( + this.pointer, _sel_initWithObjects_count_, objects, cnt); + return NSArray._(_ret, retain: true, release: true); } NSArray? initWithCoder_(NSCoder coder) { - final _ret = _lib._objc_msgSend_47( - this.pointer, - _lib._sel_initWithCoder_1, - coder.pointer, - ); + final _ret = + _objc_msgSend_47(this.pointer, _sel_initWithCoder_, coder.pointer); return _ret.address == 0 ? null - : NSArray._(_ret, _lib, retain: true, release: true); + : NSArray._(_ret, retain: true, release: true); } NSArray arrayByAddingObject_(NSObject anObject) { - final _ret = _lib._objc_msgSend_67( - this.pointer, - _lib._sel_arrayByAddingObject_1, - anObject.pointer, - ); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_67( + this.pointer, _sel_arrayByAddingObject_, anObject.pointer); + return NSArray._(_ret, retain: true, release: true); } NSArray arrayByAddingObjectsFromArray_(NSArray otherArray) { - final _ret = _lib._objc_msgSend_68( - this.pointer, - _lib._sel_arrayByAddingObjectsFromArray_1, - otherArray.pointer, - ); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_68( + this.pointer, _sel_arrayByAddingObjectsFromArray_, otherArray.pointer); + return NSArray._(_ret, retain: true, release: true); } NSString componentsJoinedByString_(NSString separator) { - final _ret = _lib._objc_msgSend_69( - this.pointer, - _lib._sel_componentsJoinedByString_1, - separator.pointer, - ); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_69( + this.pointer, _sel_componentsJoinedByString_, separator.pointer); + return NSString._(_ret, retain: true, release: true); } bool containsObject_(NSObject anObject) { - return _lib._objc_msgSend_0( - this.pointer, - _lib._sel_containsObject_1, - anObject.pointer, - ); + return _objc_msgSend_0( + this.pointer, _sel_containsObject_, anObject.pointer); } NSString get description { - final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_description1); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_description); + return NSString._(_ret, retain: true, release: true); } NSString descriptionWithLocale_(NSObject? locale) { - final _ret = _lib._objc_msgSend_70( - this.pointer, - _lib._sel_descriptionWithLocale_1, - locale?.pointer ?? ffi.nullptr, - ); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_70(this.pointer, _sel_descriptionWithLocale_, + locale?.pointer ?? ffi.nullptr); + return NSString._(_ret, retain: true, release: true); } NSString descriptionWithLocale_indent_(NSObject? locale, int level) { - final _ret = _lib._objc_msgSend_71( - this.pointer, - _lib._sel_descriptionWithLocale_indent_1, - locale?.pointer ?? ffi.nullptr, - level, - ); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_71( + this.pointer, + _sel_descriptionWithLocale_indent_, + locale?.pointer ?? ffi.nullptr, + level); + return NSString._(_ret, retain: true, release: true); } NSObject? firstObjectCommonWithArray_(NSArray otherArray) { - final _ret = _lib._objc_msgSend_72( - this.pointer, - _lib._sel_firstObjectCommonWithArray_1, - otherArray.pointer, - ); + final _ret = _objc_msgSend_72( + this.pointer, _sel_firstObjectCommonWithArray_, otherArray.pointer); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } void getObjects_range_( - ffi.Pointer> objects, - _NSRange range, - ) { - _lib._objc_msgSend_73( - this.pointer, - _lib._sel_getObjects_range_1, - objects, - range, - ); + ffi.Pointer> objects, _NSRange range) { + _objc_msgSend_73(this.pointer, _sel_getObjects_range_, objects, range); } int indexOfObject_(NSObject anObject) { - return _lib._objc_msgSend_74( - this.pointer, - _lib._sel_indexOfObject_1, - anObject.pointer, - ); + return _objc_msgSend_74( + this.pointer, _sel_indexOfObject_, anObject.pointer); } int indexOfObject_inRange_(NSObject anObject, _NSRange range) { - return _lib._objc_msgSend_75( - this.pointer, - _lib._sel_indexOfObject_inRange_1, - anObject.pointer, - range, - ); + return _objc_msgSend_75( + this.pointer, _sel_indexOfObject_inRange_, anObject.pointer, range); } int indexOfObjectIdenticalTo_(NSObject anObject) { - return _lib._objc_msgSend_74( - this.pointer, - _lib._sel_indexOfObjectIdenticalTo_1, - anObject.pointer, - ); + return _objc_msgSend_74( + this.pointer, _sel_indexOfObjectIdenticalTo_, anObject.pointer); } int indexOfObjectIdenticalTo_inRange_(NSObject anObject, _NSRange range) { - return _lib._objc_msgSend_75( - this.pointer, - _lib._sel_indexOfObjectIdenticalTo_inRange_1, - anObject.pointer, - range, - ); + return _objc_msgSend_75(this.pointer, + _sel_indexOfObjectIdenticalTo_inRange_, anObject.pointer, range); } bool isEqualToArray_(NSArray otherArray) { - return _lib._objc_msgSend_76( - this.pointer, - _lib._sel_isEqualToArray_1, - otherArray.pointer, - ); + return _objc_msgSend_76( + this.pointer, _sel_isEqualToArray_, otherArray.pointer); } NSObject? get firstObject { - final _ret = _lib._objc_msgSend_17(this.pointer, _lib._sel_firstObject1); + final _ret = _objc_msgSend_17(this.pointer, _sel_firstObject); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } NSObject? get lastObject { - final _ret = _lib._objc_msgSend_17(this.pointer, _lib._sel_lastObject1); + final _ret = _objc_msgSend_17(this.pointer, _sel_lastObject); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } NSEnumerator objectEnumerator() { - final _ret = _lib._objc_msgSend_77( - this.pointer, - _lib._sel_objectEnumerator1, - ); - return NSEnumerator._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_77(this.pointer, _sel_objectEnumerator); + return NSEnumerator._(_ret, retain: true, release: true); } NSEnumerator reverseObjectEnumerator() { - final _ret = _lib._objc_msgSend_77( - this.pointer, - _lib._sel_reverseObjectEnumerator1, - ); - return NSEnumerator._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_77(this.pointer, _sel_reverseObjectEnumerator); + return NSEnumerator._(_ret, retain: true, release: true); } NSData get sortedArrayHint { - final _ret = _lib._objc_msgSend_43( - this.pointer, - _lib._sel_sortedArrayHint1, - ); - return NSData._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_43(this.pointer, _sel_sortedArrayHint); + return NSData._(_ret, retain: true, release: true); } NSArray sortedArrayUsingFunction_context_( - ffi.Pointer< - ffi.NativeFunction< - ffi.Long Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>> - comparator, - ffi.Pointer context, - ) { - final _ret = _lib._objc_msgSend_78( - this.pointer, - _lib._sel_sortedArrayUsingFunction_context_1, - comparator, - context, - ); - return NSArray._(_ret, _lib, retain: true, release: true); + ffi.Pointer< + ffi.NativeFunction< + ffi.Long Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>> + comparator, + ffi.Pointer context) { + final _ret = _objc_msgSend_78(this.pointer, + _sel_sortedArrayUsingFunction_context_, comparator, context); + return NSArray._(_ret, retain: true, release: true); } NSArray sortedArrayUsingFunction_context_hint_( - ffi.Pointer< - ffi.NativeFunction< - ffi.Long Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>> + ffi.Pointer< + ffi.NativeFunction< + ffi.Long Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>> + comparator, + ffi.Pointer context, + NSData? hint) { + final _ret = _objc_msgSend_79( + this.pointer, + _sel_sortedArrayUsingFunction_context_hint_, comparator, - ffi.Pointer context, - NSData? hint, - ) { - final _ret = _lib._objc_msgSend_79( - this.pointer, - _lib._sel_sortedArrayUsingFunction_context_hint_1, - comparator, - context, - hint?.pointer ?? ffi.nullptr, - ); - return NSArray._(_ret, _lib, retain: true, release: true); + context, + hint?.pointer ?? ffi.nullptr); + return NSArray._(_ret, retain: true, release: true); } NSArray sortedArrayUsingSelector_(ffi.Pointer comparator) { - final _ret = _lib._objc_msgSend_80( - this.pointer, - _lib._sel_sortedArrayUsingSelector_1, - comparator, - ); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_80( + this.pointer, _sel_sortedArrayUsingSelector_, comparator); + return NSArray._(_ret, retain: true, release: true); } NSArray subarrayWithRange_(_NSRange range) { - final _ret = _lib._objc_msgSend_81( - this.pointer, - _lib._sel_subarrayWithRange_1, - range, - ); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_81(this.pointer, _sel_subarrayWithRange_, range); + return NSArray._(_ret, retain: true, release: true); } bool writeToURL_error_( - NSURL url, - ffi.Pointer> error, - ) { - return _lib._objc_msgSend_89( - this.pointer, - _lib._sel_writeToURL_error_1, - url.pointer, - error, - ); + NSURL url, ffi.Pointer> error) { + return _objc_msgSend_89( + this.pointer, _sel_writeToURL_error_, url.pointer, error); } void makeObjectsPerformSelector_(ffi.Pointer aSelector) { - _lib._objc_msgSend_7( - this.pointer, - _lib._sel_makeObjectsPerformSelector_1, - aSelector, - ); + _objc_msgSend_7(this.pointer, _sel_makeObjectsPerformSelector_, aSelector); } void makeObjectsPerformSelector_withObject_( - ffi.Pointer aSelector, - NSObject? argument, - ) { - _lib._objc_msgSend_90( - this.pointer, - _lib._sel_makeObjectsPerformSelector_withObject_1, - aSelector, - argument?.pointer ?? ffi.nullptr, - ); + ffi.Pointer aSelector, NSObject? argument) { + _objc_msgSend_90(this.pointer, _sel_makeObjectsPerformSelector_withObject_, + aSelector, argument?.pointer ?? ffi.nullptr); } NSArray objectsAtIndexes_(NSIndexSet indexes) { - final _ret = _lib._objc_msgSend_111( - this.pointer, - _lib._sel_objectsAtIndexes_1, - indexes.pointer, - ); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_111( + this.pointer, _sel_objectsAtIndexes_, indexes.pointer); + return NSArray._(_ret, retain: true, release: true); } NSObject objectAtIndexedSubscript_(int idx) { - final _ret = _lib._objc_msgSend_65( - this.pointer, - _lib._sel_objectAtIndexedSubscript_1, - idx, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_65(this.pointer, _sel_objectAtIndexedSubscript_, idx); + return NSObject._(_ret, retain: true, release: true); } void enumerateObjectsUsingBlock_( - ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool block, - ) { - _lib._objc_msgSend_112( - this.pointer, - _lib._sel_enumerateObjectsUsingBlock_1, - block.pointer, - ); + ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool block) { + _objc_msgSend_112( + this.pointer, _sel_enumerateObjectsUsingBlock_, block.pointer); } void enumerateObjectsWithOptions_usingBlock_( - int opts, - ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool block, - ) { - _lib._objc_msgSend_113( - this.pointer, - _lib._sel_enumerateObjectsWithOptions_usingBlock_1, - opts, - block.pointer, - ); - } - - void enumerateObjectsAtIndexes_options_usingBlock_( - NSIndexSet s, - int opts, - ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool block, - ) { - _lib._objc_msgSend_114( - this.pointer, - _lib._sel_enumerateObjectsAtIndexes_options_usingBlock_1, - s.pointer, - opts, - block.pointer, - ); + int opts, ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool block) { + _objc_msgSend_113(this.pointer, + _sel_enumerateObjectsWithOptions_usingBlock_, opts, block.pointer); + } + + void enumerateObjectsAtIndexes_options_usingBlock_(NSIndexSet s, int opts, + ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool block) { + _objc_msgSend_114( + this.pointer, + _sel_enumerateObjectsAtIndexes_options_usingBlock_, + s.pointer, + opts, + block.pointer); } int indexOfObjectPassingTest_( - ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool predicate, - ) { - return _lib._objc_msgSend_115( - this.pointer, - _lib._sel_indexOfObjectPassingTest_1, - predicate.pointer, - ); + ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool predicate) { + return _objc_msgSend_115( + this.pointer, _sel_indexOfObjectPassingTest_, predicate.pointer); } int indexOfObjectWithOptions_passingTest_( - int opts, - ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool predicate, - ) { - return _lib._objc_msgSend_116( - this.pointer, - _lib._sel_indexOfObjectWithOptions_passingTest_1, - opts, - predicate.pointer, - ); - } - - int indexOfObjectAtIndexes_options_passingTest_( - NSIndexSet s, - int opts, - ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool predicate, - ) { - return _lib._objc_msgSend_117( - this.pointer, - _lib._sel_indexOfObjectAtIndexes_options_passingTest_1, - s.pointer, - opts, - predicate.pointer, - ); + int opts, ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool predicate) { + return _objc_msgSend_116(this.pointer, + _sel_indexOfObjectWithOptions_passingTest_, opts, predicate.pointer); + } + + int indexOfObjectAtIndexes_options_passingTest_(NSIndexSet s, int opts, + ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool predicate) { + return _objc_msgSend_117( + this.pointer, + _sel_indexOfObjectAtIndexes_options_passingTest_, + s.pointer, + opts, + predicate.pointer); } NSIndexSet indexesOfObjectsPassingTest_( - ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool predicate, - ) { - final _ret = _lib._objc_msgSend_118( - this.pointer, - _lib._sel_indexesOfObjectsPassingTest_1, - predicate.pointer, - ); - return NSIndexSet._(_ret, _lib, retain: true, release: true); + ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool predicate) { + final _ret = _objc_msgSend_118( + this.pointer, _sel_indexesOfObjectsPassingTest_, predicate.pointer); + return NSIndexSet._(_ret, retain: true, release: true); } NSIndexSet indexesOfObjectsWithOptions_passingTest_( - int opts, - ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool predicate, - ) { - final _ret = _lib._objc_msgSend_119( - this.pointer, - _lib._sel_indexesOfObjectsWithOptions_passingTest_1, - opts, - predicate.pointer, - ); - return NSIndexSet._(_ret, _lib, retain: true, release: true); - } - - NSIndexSet indexesOfObjectsAtIndexes_options_passingTest_( - NSIndexSet s, - int opts, - ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool predicate, - ) { - final _ret = _lib._objc_msgSend_120( - this.pointer, - _lib._sel_indexesOfObjectsAtIndexes_options_passingTest_1, - s.pointer, - opts, - predicate.pointer, - ); - return NSIndexSet._(_ret, _lib, retain: true, release: true); + int opts, ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool predicate) { + final _ret = _objc_msgSend_119(this.pointer, + _sel_indexesOfObjectsWithOptions_passingTest_, opts, predicate.pointer); + return NSIndexSet._(_ret, retain: true, release: true); + } + + NSIndexSet indexesOfObjectsAtIndexes_options_passingTest_(NSIndexSet s, + int opts, ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool predicate) { + final _ret = _objc_msgSend_120( + this.pointer, + _sel_indexesOfObjectsAtIndexes_options_passingTest_, + s.pointer, + opts, + predicate.pointer); + return NSIndexSet._(_ret, retain: true, release: true); } NSArray sortedArrayUsingComparator_( - ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject cmptr, - ) { - final _ret = _lib._objc_msgSend_121( - this.pointer, - _lib._sel_sortedArrayUsingComparator_1, - cmptr.pointer, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - NSArray sortedArrayWithOptions_usingComparator_( - int opts, - ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject cmptr, - ) { - final _ret = _lib._objc_msgSend_122( - this.pointer, - _lib._sel_sortedArrayWithOptions_usingComparator_1, - opts, - cmptr.pointer, - ); - return NSArray._(_ret, _lib, retain: true, release: true); + ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject cmptr) { + final _ret = _objc_msgSend_121( + this.pointer, _sel_sortedArrayUsingComparator_, cmptr.pointer); + return NSArray._(_ret, retain: true, release: true); + } + + NSArray sortedArrayWithOptions_usingComparator_(int opts, + ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject cmptr) { + final _ret = _objc_msgSend_122(this.pointer, + _sel_sortedArrayWithOptions_usingComparator_, opts, cmptr.pointer); + return NSArray._(_ret, retain: true, release: true); } int indexOfObject_inSortedRange_options_usingComparator_( - NSObject obj, - _NSRange r, - int opts, - ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject cmp, - ) { - return _lib._objc_msgSend_123( - this.pointer, - _lib._sel_indexOfObject_inSortedRange_options_usingComparator_1, - obj.pointer, - r, - opts, - cmp.pointer, - ); - } - - static NSArray array(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2(_lib._class_NSArray1, _lib._sel_array1); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSArray arrayWithObject_(AVFAudio _lib, NSObject anObject) { - final _ret = _lib._objc_msgSend_124( - _lib._class_NSArray1, - _lib._sel_arrayWithObject_1, - anObject.pointer, - ); - return NSArray._(_ret, _lib, retain: true, release: true); + NSObject obj, + _NSRange r, + int opts, + ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject cmp) { + return _objc_msgSend_123( + this.pointer, + _sel_indexOfObject_inSortedRange_options_usingComparator_, + obj.pointer, + r, + opts, + cmp.pointer); + } + + static NSArray array() { + final _ret = _objc_msgSend_2(_class_NSArray, _sel_array); + return NSArray._(_ret, retain: true, release: true); + } + + static NSArray arrayWithObject_(NSObject anObject) { + final _ret = _objc_msgSend_124( + _class_NSArray, _sel_arrayWithObject_, anObject.pointer); + return NSArray._(_ret, retain: true, release: true); } static NSArray arrayWithObjects_count_( - AVFAudio _lib, - ffi.Pointer> objects, - int cnt, - ) { - final _ret = _lib._objc_msgSend_66( - _lib._class_NSArray1, - _lib._sel_arrayWithObjects_count_1, - objects, - cnt, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSArray arrayWithObjects_(AVFAudio _lib, NSObject firstObj) { - final _ret = _lib._objc_msgSend_124( - _lib._class_NSArray1, - _lib._sel_arrayWithObjects_1, - firstObj.pointer, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSArray arrayWithArray_(AVFAudio _lib, NSArray array) { - final _ret = _lib._objc_msgSend_125( - _lib._class_NSArray1, - _lib._sel_arrayWithArray_1, - array.pointer, - ); - return NSArray._(_ret, _lib, retain: true, release: true); + ffi.Pointer> objects, int cnt) { + final _ret = _objc_msgSend_66( + _class_NSArray, _sel_arrayWithObjects_count_, objects, cnt); + return NSArray._(_ret, retain: true, release: true); + } + + static NSArray arrayWithObjects_(NSObject firstObj) { + final _ret = _objc_msgSend_124( + _class_NSArray, _sel_arrayWithObjects_, firstObj.pointer); + return NSArray._(_ret, retain: true, release: true); + } + + static NSArray arrayWithArray_(NSArray array) { + final _ret = + _objc_msgSend_125(_class_NSArray, _sel_arrayWithArray_, array.pointer); + return NSArray._(_ret, retain: true, release: true); } NSArray initWithObjects_(NSObject firstObj) { - final _ret = _lib._objc_msgSend_124( - this.pointer, - _lib._sel_initWithObjects_1, - firstObj.pointer, - ); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_124( + this.pointer, _sel_initWithObjects_, firstObj.pointer); + return NSArray._(_ret, retain: true, release: true); } NSArray initWithArray_(NSArray array) { - final _ret = _lib._objc_msgSend_125( - this.pointer, - _lib._sel_initWithArray_1, - array.pointer, - ); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_125(this.pointer, _sel_initWithArray_, array.pointer); + return NSArray._(_ret, retain: true, release: true); } NSArray initWithArray_copyItems_(NSArray array, bool flag) { - final _ret = _lib._objc_msgSend_126( - this.pointer, - _lib._sel_initWithArray_copyItems_1, - array.pointer, - flag, - ); - return NSArray._(_ret, _lib, retain: false, release: true); + final _ret = _objc_msgSend_126( + this.pointer, _sel_initWithArray_copyItems_, array.pointer, flag); + return NSArray._(_ret, retain: false, release: true); } NSArray? initWithContentsOfURL_error_( - NSURL url, - ffi.Pointer> error, - ) { - final _ret = _lib._objc_msgSend_127( - this.pointer, - _lib._sel_initWithContentsOfURL_error_1, - url.pointer, - error, - ); + NSURL url, ffi.Pointer> error) { + final _ret = _objc_msgSend_127( + this.pointer, _sel_initWithContentsOfURL_error_, url.pointer, error); return _ret.address == 0 ? null - : NSArray._(_ret, _lib, retain: true, release: true); + : NSArray._(_ret, retain: true, release: true); } static NSArray? arrayWithContentsOfURL_error_( - AVFAudio _lib, - NSURL url, - ffi.Pointer> error, - ) { - final _ret = _lib._objc_msgSend_127( - _lib._class_NSArray1, - _lib._sel_arrayWithContentsOfURL_error_1, - url.pointer, - error, - ); - return _ret.address == 0 - ? null - : NSArray._(_ret, _lib, retain: true, release: true); - } - - NSObject differenceFromArray_withOptions_usingEquivalenceTest_( - NSArray other, - int options, - ObjCBlock_bool_objcObjCObject_objcObjCObject block, - ) { - final _ret = _lib._objc_msgSend_128( - this.pointer, - _lib._sel_differenceFromArray_withOptions_usingEquivalenceTest_1, - other.pointer, - options, - block.pointer, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + NSURL url, ffi.Pointer> error) { + final _ret = _objc_msgSend_127( + _class_NSArray, _sel_arrayWithContentsOfURL_error_, url.pointer, error); + return _ret.address == 0 + ? null + : NSArray._(_ret, retain: true, release: true); + } + + NSObject differenceFromArray_withOptions_usingEquivalenceTest_(NSArray other, + int options, ObjCBlock_bool_objcObjCObject_objcObjCObject block) { + final _ret = _objc_msgSend_128( + this.pointer, + _sel_differenceFromArray_withOptions_usingEquivalenceTest_, + other.pointer, + options, + block.pointer); + return NSObject._(_ret, retain: true, release: true); } NSObject differenceFromArray_withOptions_(NSArray other, int options) { - final _ret = _lib._objc_msgSend_129( - this.pointer, - _lib._sel_differenceFromArray_withOptions_1, - other.pointer, - options, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_129(this.pointer, + _sel_differenceFromArray_withOptions_, other.pointer, options); + return NSObject._(_ret, retain: true, release: true); } NSObject differenceFromArray_(NSArray other) { - final _ret = _lib._objc_msgSend_125( - this.pointer, - _lib._sel_differenceFromArray_1, - other.pointer, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_125( + this.pointer, _sel_differenceFromArray_, other.pointer); + return NSObject._(_ret, retain: true, release: true); } NSArray? arrayByApplyingDifference_(NSObject difference) { - final _ret = _lib._objc_msgSend_130( - this.pointer, - _lib._sel_arrayByApplyingDifference_1, - difference.pointer, - ); + final _ret = _objc_msgSend_130( + this.pointer, _sel_arrayByApplyingDifference_, difference.pointer); return _ret.address == 0 ? null - : NSArray._(_ret, _lib, retain: true, release: true); + : NSArray._(_ret, retain: true, release: true); } void getObjects_(ffi.Pointer> objects) { - _lib._objc_msgSend_131(this.pointer, _lib._sel_getObjects_1, objects); + _objc_msgSend_131(this.pointer, _sel_getObjects_, objects); } - static NSArray? arrayWithContentsOfFile_(AVFAudio _lib, NSString path) { - final _ret = _lib._objc_msgSend_132( - _lib._class_NSArray1, - _lib._sel_arrayWithContentsOfFile_1, - path.pointer, - ); + static NSArray? arrayWithContentsOfFile_(NSString path) { + final _ret = _objc_msgSend_132( + _class_NSArray, _sel_arrayWithContentsOfFile_, path.pointer); return _ret.address == 0 ? null - : NSArray._(_ret, _lib, retain: true, release: true); + : NSArray._(_ret, retain: true, release: true); } - static NSArray? arrayWithContentsOfURL_(AVFAudio _lib, NSURL url) { - final _ret = _lib._objc_msgSend_133( - _lib._class_NSArray1, - _lib._sel_arrayWithContentsOfURL_1, - url.pointer, - ); + static NSArray? arrayWithContentsOfURL_(NSURL url) { + final _ret = _objc_msgSend_133( + _class_NSArray, _sel_arrayWithContentsOfURL_, url.pointer); return _ret.address == 0 ? null - : NSArray._(_ret, _lib, retain: true, release: true); + : NSArray._(_ret, retain: true, release: true); } NSArray? initWithContentsOfFile_(NSString path) { - final _ret = _lib._objc_msgSend_132( - this.pointer, - _lib._sel_initWithContentsOfFile_1, - path.pointer, - ); + final _ret = _objc_msgSend_132( + this.pointer, _sel_initWithContentsOfFile_, path.pointer); return _ret.address == 0 ? null - : NSArray._(_ret, _lib, retain: true, release: true); + : NSArray._(_ret, retain: true, release: true); } NSArray? initWithContentsOfURL_(NSURL url) { - final _ret = _lib._objc_msgSend_133( - this.pointer, - _lib._sel_initWithContentsOfURL_1, - url.pointer, - ); + final _ret = _objc_msgSend_133( + this.pointer, _sel_initWithContentsOfURL_, url.pointer); return _ret.address == 0 ? null - : NSArray._(_ret, _lib, retain: true, release: true); + : NSArray._(_ret, retain: true, release: true); } bool writeToFile_atomically_(NSString path, bool useAuxiliaryFile) { - return _lib._objc_msgSend_26( - this.pointer, - _lib._sel_writeToFile_atomically_1, - path.pointer, - useAuxiliaryFile, - ); + return _objc_msgSend_26(this.pointer, _sel_writeToFile_atomically_, + path.pointer, useAuxiliaryFile); } bool writeToURL_atomically_(NSURL url, bool atomically) { - return _lib._objc_msgSend_134( - this.pointer, - _lib._sel_writeToURL_atomically_1, - url.pointer, - atomically, - ); + return _objc_msgSend_134( + this.pointer, _sel_writeToURL_atomically_, url.pointer, atomically); } NSArray pathsMatchingExtensions_(NSArray filterTypes) { - final _ret = _lib._objc_msgSend_68( - this.pointer, - _lib._sel_pathsMatchingExtensions_1, - filterTypes.pointer, - ); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_68( + this.pointer, _sel_pathsMatchingExtensions_, filterTypes.pointer); + return NSArray._(_ret, retain: true, release: true); } NSObject valueForKey_(NSString key) { - final _ret = _lib._objc_msgSend_31( - this.pointer, - _lib._sel_valueForKey_1, - key.pointer, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_31(this.pointer, _sel_valueForKey_, key.pointer); + return NSObject._(_ret, retain: true, release: true); } @override void setValue_forKey_(NSObject? value, NSString key) { - _lib._objc_msgSend_135( - this.pointer, - _lib._sel_setValue_forKey_1, - value?.pointer ?? ffi.nullptr, - key.pointer, - ); + _objc_msgSend_135(this.pointer, _sel_setValue_forKey_, + value?.pointer ?? ffi.nullptr, key.pointer); } void addObserver_toObjectsAtIndexes_forKeyPath_options_context_( - NSObject observer, - NSIndexSet indexes, - NSString keyPath, - int options, - ffi.Pointer context, - ) { - _lib._objc_msgSend_136( - this.pointer, - _lib._sel_addObserver_toObjectsAtIndexes_forKeyPath_options_context_1, - observer.pointer, - indexes.pointer, - keyPath.pointer, - options, - context, - ); + NSObject observer, + NSIndexSet indexes, + NSString keyPath, + int options, + ffi.Pointer context) { + _objc_msgSend_136( + this.pointer, + _sel_addObserver_toObjectsAtIndexes_forKeyPath_options_context_, + observer.pointer, + indexes.pointer, + keyPath.pointer, + options, + context); } void removeObserver_fromObjectsAtIndexes_forKeyPath_context_( - NSObject observer, - NSIndexSet indexes, - NSString keyPath, - ffi.Pointer context, - ) { - _lib._objc_msgSend_137( - this.pointer, - _lib._sel_removeObserver_fromObjectsAtIndexes_forKeyPath_context_1, - observer.pointer, - indexes.pointer, - keyPath.pointer, - context, - ); + NSObject observer, + NSIndexSet indexes, + NSString keyPath, + ffi.Pointer context) { + _objc_msgSend_137( + this.pointer, + _sel_removeObserver_fromObjectsAtIndexes_forKeyPath_context_, + observer.pointer, + indexes.pointer, + keyPath.pointer, + context); } void removeObserver_fromObjectsAtIndexes_forKeyPath_( - NSObject observer, - NSIndexSet indexes, - NSString keyPath, - ) { - _lib._objc_msgSend_138( - this.pointer, - _lib._sel_removeObserver_fromObjectsAtIndexes_forKeyPath_1, - observer.pointer, - indexes.pointer, - keyPath.pointer, - ); + NSObject observer, NSIndexSet indexes, NSString keyPath) { + _objc_msgSend_138( + this.pointer, + _sel_removeObserver_fromObjectsAtIndexes_forKeyPath_, + observer.pointer, + indexes.pointer, + keyPath.pointer); } @override - void addObserver_forKeyPath_options_context_( - NSObject observer, - NSString keyPath, - int options, - ffi.Pointer context, - ) { - _lib._objc_msgSend_139( - this.pointer, - _lib._sel_addObserver_forKeyPath_options_context_1, - observer.pointer, - keyPath.pointer, - options, - context, - ); + void addObserver_forKeyPath_options_context_(NSObject observer, + NSString keyPath, int options, ffi.Pointer context) { + _objc_msgSend_139( + this.pointer, + _sel_addObserver_forKeyPath_options_context_, + observer.pointer, + keyPath.pointer, + options, + context); } @override void removeObserver_forKeyPath_context_( - NSObject observer, - NSString keyPath, - ffi.Pointer context, - ) { - _lib._objc_msgSend_140( - this.pointer, - _lib._sel_removeObserver_forKeyPath_context_1, - observer.pointer, - keyPath.pointer, - context, - ); + NSObject observer, NSString keyPath, ffi.Pointer context) { + _objc_msgSend_140(this.pointer, _sel_removeObserver_forKeyPath_context_, + observer.pointer, keyPath.pointer, context); } @override void removeObserver_forKeyPath_(NSObject observer, NSString keyPath) { - _lib._objc_msgSend_141( - this.pointer, - _lib._sel_removeObserver_forKeyPath_1, - observer.pointer, - keyPath.pointer, - ); + _objc_msgSend_141(this.pointer, _sel_removeObserver_forKeyPath_, + observer.pointer, keyPath.pointer); } NSArray sortedArrayUsingDescriptors_(NSArray sortDescriptors) { - final _ret = _lib._objc_msgSend_68( - this.pointer, - _lib._sel_sortedArrayUsingDescriptors_1, - sortDescriptors.pointer, - ); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_68(this.pointer, + _sel_sortedArrayUsingDescriptors_, sortDescriptors.pointer); + return NSArray._(_ret, retain: true, release: true); } NSArray filteredArrayUsingPredicate_(NSPredicate predicate) { - final _ret = _lib._objc_msgSend_219( - this.pointer, - _lib._sel_filteredArrayUsingPredicate_1, - predicate.pointer, - ); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_219( + this.pointer, _sel_filteredArrayUsingPredicate_, predicate.pointer); + return NSArray._(_ret, retain: true, release: true); } - static NSArray new1(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2(_lib._class_NSArray1, _lib._sel_new1); - return NSArray._(_ret, _lib, retain: false, release: true); + static NSArray new1() { + final _ret = _objc_msgSend_2(_class_NSArray, _sel_new); + return NSArray._(_ret, retain: false, release: true); } - static NSArray allocWithZone_(AVFAudio _lib, ffi.Pointer<_NSZone> zone) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSArray1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSArray._(_ret, _lib, retain: false, release: true); + static NSArray allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = _objc_msgSend_3(_class_NSArray, _sel_allocWithZone_, zone); + return NSArray._(_ret, retain: false, release: true); } - static NSArray alloc(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2(_lib._class_NSArray1, _lib._sel_alloc1); - return NSArray._(_ret, _lib, retain: false, release: true); + static NSArray alloc() { + final _ret = _objc_msgSend_2(_class_NSArray, _sel_alloc); + return NSArray._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSArray1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSArray1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSArray1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSArray1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSArray1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSArray1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSArray, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); } - static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSArray1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSArray1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSArray1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSArray, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); } -} + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSArray, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSArray, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSArray, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSArray, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); + } + + static void setKeys_triggerChangeNotificationsForDependentKey_( + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSArray, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = + _objc_msgSend_85(_class_NSArray, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = _objc_msgSend_2(_class_NSArray, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); + } +} + +late final _class_NSArray = objc.getClass("NSArray"); +late final _sel_objectAtIndex_ = objc.registerName("objectAtIndex:"); +final _objc_msgSend_65 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.UnsignedLong index)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, int)>(); +late final _sel_initWithObjects_count_ = + objc.registerName("initWithObjects:count:"); +final _objc_msgSend_66 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer> objects, + ffi.UnsignedLong cnt)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + int)>(); +late final _sel_arrayByAddingObject_ = + objc.registerName("arrayByAddingObject:"); +final _objc_msgSend_67 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer anObject)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_arrayByAddingObjectsFromArray_ = + objc.registerName("arrayByAddingObjectsFromArray:"); +final _objc_msgSend_68 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer otherArray)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_componentsJoinedByString_ = + objc.registerName("componentsJoinedByString:"); +final _objc_msgSend_69 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer separator)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_containsObject_ = objc.registerName("containsObject:"); +late final _sel_descriptionWithLocale_ = + objc.registerName("descriptionWithLocale:"); +final _objc_msgSend_70 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer locale)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_descriptionWithLocale_indent_ = + objc.registerName("descriptionWithLocale:indent:"); +final _objc_msgSend_71 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer locale, + ffi.UnsignedLong level)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int)>(); +late final _sel_firstObjectCommonWithArray_ = + objc.registerName("firstObjectCommonWithArray:"); +final _objc_msgSend_72 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer otherArray)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_getObjects_range_ = objc.registerName("getObjects:range:"); +final _objc_msgSend_73 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer> objects, + _NSRange range)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + _NSRange)>(); +late final _sel_indexOfObject_ = objc.registerName("indexOfObject:"); +final _objc_msgSend_74 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer anObject)>>() + .asFunction< + int Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_indexOfObject_inRange_ = + objc.registerName("indexOfObject:inRange:"); +final _objc_msgSend_75 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer anObject, + _NSRange range)>>() + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange)>(); +late final _sel_indexOfObjectIdenticalTo_ = + objc.registerName("indexOfObjectIdenticalTo:"); +late final _sel_indexOfObjectIdenticalTo_inRange_ = + objc.registerName("indexOfObjectIdenticalTo:inRange:"); +late final _sel_isEqualToArray_ = objc.registerName("isEqualToArray:"); +final _objc_msgSend_76 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer otherArray)>>() + .asFunction< + bool Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_firstObject = objc.registerName("firstObject"); +late final _sel_lastObject = objc.registerName("lastObject"); +late final _sel_objectEnumerator = objc.registerName("objectEnumerator"); +final _objc_msgSend_77 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_reverseObjectEnumerator = + objc.registerName("reverseObjectEnumerator"); +late final _sel_sortedArrayHint = objc.registerName("sortedArrayHint"); +late final _sel_sortedArrayUsingFunction_context_ = + objc.registerName("sortedArrayUsingFunction:context:"); +final _objc_msgSend_78 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer< + ffi.NativeFunction< + ffi.Long Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>> + comparator, + ffi.Pointer context)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.Long Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>>, + ffi.Pointer)>(); +late final _sel_sortedArrayUsingFunction_context_hint_ = + objc.registerName("sortedArrayUsingFunction:context:hint:"); +final _objc_msgSend_79 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer< + ffi.NativeFunction< + ffi.Long Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>> + comparator, + ffi.Pointer context, + ffi.Pointer hint)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.Long Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>>, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_sortedArrayUsingSelector_ = + objc.registerName("sortedArrayUsingSelector:"); +final _objc_msgSend_80 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer comparator)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_subarrayWithRange_ = objc.registerName("subarrayWithRange:"); +final _objc_msgSend_81 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + _NSRange range)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, _NSRange)>(); class NSError extends NSObject { - NSError._( - ffi.Pointer pointer, - AVFAudio lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSError._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSError] that points to the same underlying object as [other]. - static NSError castFrom( - AVFAudio lib, - T other, - ) { - return NSError._(other.pointer, lib, retain: true, release: true); + static NSError castFrom(T other) { + return NSError._(other.pointer, retain: true, release: true); } /// Returns a [NSError] that wraps the given raw object pointer. - static NSError castFromPointer( - AVFAudio lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSError._(other, lib, retain: retain, release: release); + static NSError castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSError._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSError]. - static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSError1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0(obj.pointer, _sel_isKindOfClass_, _class_NSError); } NSError initWithDomain_code_userInfo_( - NSString domain, - int code, - NSObject? dict, - ) { - final _ret = _lib._objc_msgSend_82( - this.pointer, - _lib._sel_initWithDomain_code_userInfo_1, - domain.pointer, - code, - dict?.pointer ?? ffi.nullptr, - ); - return NSError._(_ret, _lib, retain: true, release: true); + NSString domain, int code, NSObject? dict) { + final _ret = _objc_msgSend_82( + this.pointer, + _sel_initWithDomain_code_userInfo_, + domain.pointer, + code, + dict?.pointer ?? ffi.nullptr); + return NSError._(_ret, retain: true, release: true); } static NSError errorWithDomain_code_userInfo_( - AVFAudio _lib, - NSString domain, - int code, - NSObject? dict, - ) { - final _ret = _lib._objc_msgSend_82( - _lib._class_NSError1, - _lib._sel_errorWithDomain_code_userInfo_1, - domain.pointer, - code, - dict?.pointer ?? ffi.nullptr, - ); - return NSError._(_ret, _lib, retain: true, release: true); + NSString domain, int code, NSObject? dict) { + final _ret = _objc_msgSend_82( + _class_NSError, + _sel_errorWithDomain_code_userInfo_, + domain.pointer, + code, + dict?.pointer ?? ffi.nullptr); + return NSError._(_ret, retain: true, release: true); } NSString get domain { - final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_domain1); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_domain); + return NSString._(_ret, retain: true, release: true); } int get code { - return _lib._objc_msgSend_83(this.pointer, _lib._sel_code1); + return _objc_msgSend_83(this.pointer, _sel_code); } NSObject get userInfo { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_userInfo1); - return NSObject._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_userInfo); + return NSObject._(_ret, retain: true, release: true); } NSString get localizedDescription { - final _ret = _lib._objc_msgSend_21( - this.pointer, - _lib._sel_localizedDescription1, - ); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_localizedDescription); + return NSString._(_ret, retain: true, release: true); } NSString? get localizedFailureReason { - final _ret = _lib._objc_msgSend_44( - this.pointer, - _lib._sel_localizedFailureReason1, - ); + final _ret = _objc_msgSend_44(this.pointer, _sel_localizedFailureReason); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } NSString? get localizedRecoverySuggestion { - final _ret = _lib._objc_msgSend_44( - this.pointer, - _lib._sel_localizedRecoverySuggestion1, - ); + final _ret = + _objc_msgSend_44(this.pointer, _sel_localizedRecoverySuggestion); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } NSArray? get localizedRecoveryOptions { - final _ret = _lib._objc_msgSend_84( - this.pointer, - _lib._sel_localizedRecoveryOptions1, - ); + final _ret = _objc_msgSend_84(this.pointer, _sel_localizedRecoveryOptions); return _ret.address == 0 ? null - : NSArray._(_ret, _lib, retain: true, release: true); + : NSArray._(_ret, retain: true, release: true); } NSObject? get recoveryAttempter { - final _ret = _lib._objc_msgSend_17( - this.pointer, - _lib._sel_recoveryAttempter1, - ); + final _ret = _objc_msgSend_17(this.pointer, _sel_recoveryAttempter); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } NSString? get helpAnchor { - final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_helpAnchor1); + final _ret = _objc_msgSend_44(this.pointer, _sel_helpAnchor); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } NSArray get underlyingErrors { - final _ret = _lib._objc_msgSend_85( - this.pointer, - _lib._sel_underlyingErrors1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static void setUserInfoValueProviderForDomain_provider_( - AVFAudio _lib, - NSString errorDomain, - ObjCBlock_objcObjCObject_NSError_NSString? provider, - ) { - _lib._objc_msgSend_86( - _lib._class_NSError1, - _lib._sel_setUserInfoValueProviderForDomain_provider_1, - errorDomain.pointer, - provider?.pointer ?? ffi.nullptr, - ); + final _ret = _objc_msgSend_85(this.pointer, _sel_underlyingErrors); + return NSArray._(_ret, retain: true, release: true); + } + + static void setUserInfoValueProviderForDomain_provider_(NSString errorDomain, + ObjCBlock_objcObjCObject_NSError_NSString? provider) { + _objc_msgSend_86( + _class_NSError, + _sel_setUserInfoValueProviderForDomain_provider_, + errorDomain.pointer, + provider?.pointer ?? ffi.nullptr); } static ObjCBlock_objcObjCObject_NSError_NSString? userInfoValueProviderForDomain_( - AVFAudio _lib, - NSError err, - NSString userInfoKey, - NSString errorDomain, - ) { - final _ret = _lib._objc_msgSend_87( - _lib._class_NSError1, - _lib._sel_userInfoValueProviderForDomain_1, - err.pointer, - userInfoKey.pointer, - errorDomain.pointer, - ); - return _ret.address == 0 - ? null - : ObjCBlock_objcObjCObject_NSError_NSString._( - _ret, - _lib, - retain: true, - release: true, - ); + NSError err, NSString userInfoKey, NSString errorDomain) { + final _ret = _objc_msgSend_87( + _class_NSError, + _sel_userInfoValueProviderForDomain_, + err.pointer, + userInfoKey.pointer, + errorDomain.pointer); + return _ret.address == 0 + ? null + : ObjCBlock_objcObjCObject_NSError_NSString._(_ret, + retain: true, release: true); } @override NSError init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSError._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSError._(_ret, retain: true, release: true); } - static NSError new1(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2(_lib._class_NSError1, _lib._sel_new1); - return NSError._(_ret, _lib, retain: false, release: true); + static NSError new1() { + final _ret = _objc_msgSend_2(_class_NSError, _sel_new); + return NSError._(_ret, retain: false, release: true); } - static NSError allocWithZone_(AVFAudio _lib, ffi.Pointer<_NSZone> zone) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSError1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSError._(_ret, _lib, retain: false, release: true); + static NSError allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = _objc_msgSend_3(_class_NSError, _sel_allocWithZone_, zone); + return NSError._(_ret, retain: false, release: true); } - static NSError alloc(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2(_lib._class_NSError1, _lib._sel_alloc1); - return NSError._(_ret, _lib, retain: false, release: true); + static NSError alloc() { + final _ret = _objc_msgSend_2(_class_NSError, _sel_alloc); + return NSError._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSError1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSError1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSError1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSError1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSError1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSError1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSError, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); + } + + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSError, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); + } + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSError, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSError, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSError, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSError, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); } static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSError1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSError1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSError1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSError, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = + _objc_msgSend_85(_class_NSError, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = _objc_msgSend_2(_class_NSError, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); } } +late final _class_NSError = objc.getClass("NSError"); +late final _sel_initWithDomain_code_userInfo_ = + objc.registerName("initWithDomain:code:userInfo:"); +final _objc_msgSend_82 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer domain, + ffi.Long code, + ffi.Pointer dict)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer)>(); +late final _sel_errorWithDomain_code_userInfo_ = + objc.registerName("errorWithDomain:code:userInfo:"); +late final _sel_domain = objc.registerName("domain"); +late final _sel_code = objc.registerName("code"); +final _objc_msgSend_83 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Long Function(ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + int Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_userInfo = objc.registerName("userInfo"); +late final _sel_localizedDescription = + objc.registerName("localizedDescription"); +late final _sel_localizedFailureReason = + objc.registerName("localizedFailureReason"); +late final _sel_localizedRecoverySuggestion = + objc.registerName("localizedRecoverySuggestion"); +late final _sel_localizedRecoveryOptions = + objc.registerName("localizedRecoveryOptions"); +final _objc_msgSend_84 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_recoveryAttempter = objc.registerName("recoveryAttempter"); +late final _sel_helpAnchor = objc.registerName("helpAnchor"); +late final _sel_underlyingErrors = objc.registerName("underlyingErrors"); +final _objc_msgSend_85 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); ffi.Pointer _ObjCBlock_objcObjCObject_NSError_NSString_fnPtrTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Pointer arg1, -) => + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1) => block.ref.target .cast< - ffi.NativeFunction< + ffi + .NativeFunction< ffi.Pointer Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - )>>() + ffi.Pointer arg0, + ffi.Pointer arg1)>>() .asFunction< ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>()(arg0, arg1); + ffi.Pointer, + ffi.Pointer)>()(arg0, arg1); final _ObjCBlock_objcObjCObject_NSError_NSString_closureRegistry = Function( - ffi.Pointer, - ffi.Pointer, -)>{}; + ffi.Pointer, ffi.Pointer)>{}; int _ObjCBlock_objcObjCObject_NSError_NSString_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_objcObjCObject_NSError_NSString_registerClosure( - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) fn, -) { + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer) + fn) { final id = ++_ObjCBlock_objcObjCObject_NSError_NSString_closureRegistryIndex; _ObjCBlock_objcObjCObject_NSError_NSString_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); @@ -45854,36 +7707,26 @@ ffi.Pointer ffi.Pointer _ObjCBlock_objcObjCObject_NSError_NSString_closureTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Pointer arg1, -) => + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1) => _ObjCBlock_objcObjCObject_NSError_NSString_closureRegistry[ block.ref.target.address]!(arg0, arg1); class ObjCBlock_objcObjCObject_NSError_NSString extends objc.ObjCBlockBase { ObjCBlock_objcObjCObject_NSError_NSString._( - ffi.Pointer pointer, - this._lib, { - bool retain = false, - bool release = true, - }) : super(pointer, retain: retain, release: release); - - AVFAudio _lib; + ffi.Pointer pointer, + {bool retain = false, + bool release = true}) + : super(pointer, retain: retain, release: release); /// Returns a block that wraps the given raw block pointer. static ObjCBlock_objcObjCObject_NSError_NSString castFromPointer( - AVFAudio lib, - ffi.Pointer pointer, { - bool retain = false, - bool release = false, - }) { - return ObjCBlock_objcObjCObject_NSError_NSString._( - pointer, - lib, - retain: retain, - release: release, - ); + ffi.Pointer pointer, + {bool retain = false, + bool release = false}) { + return ObjCBlock_objcObjCObject_NSError_NSString._(pointer, + retain: retain, release: release); } /// Creates a block from a C function pointer. @@ -45892,27 +7735,21 @@ class ObjCBlock_objcObjCObject_NSError_NSString extends objc.ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_objcObjCObject_NSError_NSString.fromFunctionPointer( - AVFAudio lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - )>> - ptr, - ) : this._( - objc.newBlock( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Pointer< + ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>( - _ObjCBlock_objcObjCObject_NSError_NSString_fnPtrTrampoline, - ).cast(), - ptr.cast(), - ), - lib); + ffi.Pointer arg0, + ffi.Pointer arg1)>> + ptr) + : this._(objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>( + _ObjCBlock_objcObjCObject_NSError_NSString_fnPtrTrampoline) + .cast(), + ptr.cast())); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -45920,536 +7757,524 @@ class ObjCBlock_objcObjCObject_NSError_NSString extends objc.ObjCBlockBase { /// This block must be invoked by native code running on the same thread as /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. - ObjCBlock_objcObjCObject_NSError_NSString.fromFunction( - AVFAudio lib, - NSObject? Function(NSError, NSString) fn, - ) : this._( - objc.newBlock( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>( - _ObjCBlock_objcObjCObject_NSError_NSString_closureTrampoline, - ).cast(), - _ObjCBlock_objcObjCObject_NSError_NSString_registerClosure(( - ffi.Pointer arg0, - ffi.Pointer arg1, - ) => - fn( - NSError._(arg0, lib, retain: true, release: true), - NSString._(arg1, lib, retain: true, release: true), - )?.retainAndReturnPointer() ?? - ffi.nullptr), - ), - lib); + ObjCBlock_objcObjCObject_NSError_NSString.fromFunction(NSObject? Function(NSError, NSString) fn) + : this._(objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>( + _ObjCBlock_objcObjCObject_NSError_NSString_closureTrampoline) + .cast(), + _ObjCBlock_objcObjCObject_NSError_NSString_registerClosure( + (ffi.Pointer arg0, ffi.Pointer arg1) => + fn(NSError._(arg0, retain: true, release: true), NSString._(arg1, retain: true, release: true)) + ?.retainAndReturnPointer() ?? + ffi.nullptr))); static ffi.Pointer? _dartFuncTrampoline; NSObject? call(NSError arg0, NSString arg1) => pointer.ref.invoke .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Pointer arg1, - )>>() - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>()(pointer, arg0.pointer, arg1.pointer) + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1)>>() + .asFunction Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>() + (pointer, arg0.pointer, arg1.pointer) .address == 0 ? null : NSObject._( pointer.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Pointer arg1, - )>>() - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>()( - pointer, - arg0.pointer, - arg1.pointer, - ), - _lib, + .cast Function(ffi.Pointer block, ffi.Pointer arg0, ffi.Pointer arg1)>>() + .asFunction Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>()(pointer, arg0.pointer, arg1.pointer), retain: false, release: true); } +late final _sel_setUserInfoValueProviderForDomain_provider_ = + objc.registerName("setUserInfoValueProviderForDomain:provider:"); +final _objc_msgSend_86 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer errorDomain, + ffi.Pointer provider)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_userInfoValueProviderForDomain_ = + objc.registerName("userInfoValueProviderForDomain:"); +final _objc_msgSend_87 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer err, + ffi.Pointer userInfoKey, + ffi.Pointer errorDomain)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_setKeys_triggerChangeNotificationsForDependentKey_ = + objc.registerName("setKeys:triggerChangeNotificationsForDependentKey:"); +final _objc_msgSend_88 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer keys, + ffi.Pointer dependentKey)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_classFallbacksForKeyedArchiver = + objc.registerName("classFallbacksForKeyedArchiver"); +late final _sel_classForKeyedUnarchiver = + objc.registerName("classForKeyedUnarchiver"); +late final _sel_writeToURL_error_ = objc.registerName("writeToURL:error:"); +final _objc_msgSend_89 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer url, + ffi.Pointer> error)>>() + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>(); +late final _sel_makeObjectsPerformSelector_ = + objc.registerName("makeObjectsPerformSelector:"); +late final _sel_makeObjectsPerformSelector_withObject_ = + objc.registerName("makeObjectsPerformSelector:withObject:"); +final _objc_msgSend_90 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer aSelector, + ffi.Pointer argument)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); + class NSIndexSet extends NSObject { - NSIndexSet._( - ffi.Pointer pointer, - AVFAudio lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSIndexSet._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSIndexSet] that points to the same underlying object as [other]. - static NSIndexSet castFrom( - AVFAudio lib, - T other, - ) { - return NSIndexSet._(other.pointer, lib, retain: true, release: true); + static NSIndexSet castFrom(T other) { + return NSIndexSet._(other.pointer, retain: true, release: true); } /// Returns a [NSIndexSet] that wraps the given raw object pointer. - static NSIndexSet castFromPointer( - AVFAudio lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSIndexSet._(other, lib, retain: retain, release: release); + static NSIndexSet castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSIndexSet._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSIndexSet]. - static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSIndexSet1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0(obj.pointer, _sel_isKindOfClass_, _class_NSIndexSet); } - static NSIndexSet indexSet(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSIndexSet1, - _lib._sel_indexSet1, - ); - return NSIndexSet._(_ret, _lib, retain: true, release: true); + static NSIndexSet indexSet() { + final _ret = _objc_msgSend_2(_class_NSIndexSet, _sel_indexSet); + return NSIndexSet._(_ret, retain: true, release: true); } - static NSIndexSet indexSetWithIndex_(AVFAudio _lib, int value) { - final _ret = _lib._objc_msgSend_65( - _lib._class_NSIndexSet1, - _lib._sel_indexSetWithIndex_1, - value, - ); - return NSIndexSet._(_ret, _lib, retain: true, release: true); + static NSIndexSet indexSetWithIndex_(int value) { + final _ret = + _objc_msgSend_65(_class_NSIndexSet, _sel_indexSetWithIndex_, value); + return NSIndexSet._(_ret, retain: true, release: true); } - static NSIndexSet indexSetWithIndexesInRange_(AVFAudio _lib, _NSRange range) { - final _ret = _lib._objc_msgSend_91( - _lib._class_NSIndexSet1, - _lib._sel_indexSetWithIndexesInRange_1, - range, - ); - return NSIndexSet._(_ret, _lib, retain: true, release: true); + static NSIndexSet indexSetWithIndexesInRange_(_NSRange range) { + final _ret = _objc_msgSend_91( + _class_NSIndexSet, _sel_indexSetWithIndexesInRange_, range); + return NSIndexSet._(_ret, retain: true, release: true); } NSIndexSet initWithIndexesInRange_(_NSRange range) { - final _ret = _lib._objc_msgSend_91( - this.pointer, - _lib._sel_initWithIndexesInRange_1, - range, - ); - return NSIndexSet._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_91(this.pointer, _sel_initWithIndexesInRange_, range); + return NSIndexSet._(_ret, retain: true, release: true); } NSIndexSet initWithIndexSet_(NSIndexSet indexSet) { - final _ret = _lib._objc_msgSend_92( - this.pointer, - _lib._sel_initWithIndexSet_1, - indexSet.pointer, - ); - return NSIndexSet._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_92( + this.pointer, _sel_initWithIndexSet_, indexSet.pointer); + return NSIndexSet._(_ret, retain: true, release: true); } NSIndexSet initWithIndex_(int value) { - final _ret = _lib._objc_msgSend_65( - this.pointer, - _lib._sel_initWithIndex_1, - value, - ); - return NSIndexSet._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_65(this.pointer, _sel_initWithIndex_, value); + return NSIndexSet._(_ret, retain: true, release: true); } bool isEqualToIndexSet_(NSIndexSet indexSet) { - return _lib._objc_msgSend_93( - this.pointer, - _lib._sel_isEqualToIndexSet_1, - indexSet.pointer, - ); + return _objc_msgSend_93( + this.pointer, _sel_isEqualToIndexSet_, indexSet.pointer); } int get count { - return _lib._objc_msgSend_10(this.pointer, _lib._sel_count1); + return _objc_msgSend_10(this.pointer, _sel_count); } int get firstIndex { - return _lib._objc_msgSend_10(this.pointer, _lib._sel_firstIndex1); + return _objc_msgSend_10(this.pointer, _sel_firstIndex); } int get lastIndex { - return _lib._objc_msgSend_10(this.pointer, _lib._sel_lastIndex1); + return _objc_msgSend_10(this.pointer, _sel_lastIndex); } int indexGreaterThanIndex_(int value) { - return _lib._objc_msgSend_94( - this.pointer, - _lib._sel_indexGreaterThanIndex_1, - value, - ); + return _objc_msgSend_94(this.pointer, _sel_indexGreaterThanIndex_, value); } int indexLessThanIndex_(int value) { - return _lib._objc_msgSend_94( - this.pointer, - _lib._sel_indexLessThanIndex_1, - value, - ); + return _objc_msgSend_94(this.pointer, _sel_indexLessThanIndex_, value); } int indexGreaterThanOrEqualToIndex_(int value) { - return _lib._objc_msgSend_94( - this.pointer, - _lib._sel_indexGreaterThanOrEqualToIndex_1, - value, - ); + return _objc_msgSend_94( + this.pointer, _sel_indexGreaterThanOrEqualToIndex_, value); } int indexLessThanOrEqualToIndex_(int value) { - return _lib._objc_msgSend_94( - this.pointer, - _lib._sel_indexLessThanOrEqualToIndex_1, - value, - ); + return _objc_msgSend_94( + this.pointer, _sel_indexLessThanOrEqualToIndex_, value); } int getIndexes_maxCount_inIndexRange_( - ffi.Pointer indexBuffer, - int bufferSize, - ffi.Pointer<_NSRange> range, - ) { - return _lib._objc_msgSend_95( - this.pointer, - _lib._sel_getIndexes_maxCount_inIndexRange_1, - indexBuffer, - bufferSize, - range, - ); + ffi.Pointer indexBuffer, + int bufferSize, + ffi.Pointer<_NSRange> range) { + return _objc_msgSend_95(this.pointer, + _sel_getIndexes_maxCount_inIndexRange_, indexBuffer, bufferSize, range); } int countOfIndexesInRange_(_NSRange range) { - return _lib._objc_msgSend_96( - this.pointer, - _lib._sel_countOfIndexesInRange_1, - range, - ); + return _objc_msgSend_96(this.pointer, _sel_countOfIndexesInRange_, range); } bool containsIndex_(int value) { - return _lib._objc_msgSend_97( - this.pointer, - _lib._sel_containsIndex_1, - value, - ); + return _objc_msgSend_97(this.pointer, _sel_containsIndex_, value); } bool containsIndexesInRange_(_NSRange range) { - return _lib._objc_msgSend_98( - this.pointer, - _lib._sel_containsIndexesInRange_1, - range, - ); + return _objc_msgSend_98(this.pointer, _sel_containsIndexesInRange_, range); } bool containsIndexes_(NSIndexSet indexSet) { - return _lib._objc_msgSend_93( - this.pointer, - _lib._sel_containsIndexes_1, - indexSet.pointer, - ); + return _objc_msgSend_93( + this.pointer, _sel_containsIndexes_, indexSet.pointer); } bool intersectsIndexesInRange_(_NSRange range) { - return _lib._objc_msgSend_98( - this.pointer, - _lib._sel_intersectsIndexesInRange_1, - range, - ); + return _objc_msgSend_98( + this.pointer, _sel_intersectsIndexesInRange_, range); } void enumerateIndexesUsingBlock_( - ObjCBlock_ffiVoid_ffiUnsignedLong_bool block, - ) { - _lib._objc_msgSend_99( - this.pointer, - _lib._sel_enumerateIndexesUsingBlock_1, - block.pointer, - ); + ObjCBlock_ffiVoid_ffiUnsignedLong_bool block) { + _objc_msgSend_99( + this.pointer, _sel_enumerateIndexesUsingBlock_, block.pointer); } void enumerateIndexesWithOptions_usingBlock_( - int opts, - ObjCBlock_ffiVoid_ffiUnsignedLong_bool block, - ) { - _lib._objc_msgSend_100( - this.pointer, - _lib._sel_enumerateIndexesWithOptions_usingBlock_1, - opts, - block.pointer, - ); + int opts, ObjCBlock_ffiVoid_ffiUnsignedLong_bool block) { + _objc_msgSend_100(this.pointer, + _sel_enumerateIndexesWithOptions_usingBlock_, opts, block.pointer); } void enumerateIndexesInRange_options_usingBlock_( - _NSRange range, - int opts, - ObjCBlock_ffiVoid_ffiUnsignedLong_bool block, - ) { - _lib._objc_msgSend_101( - this.pointer, - _lib._sel_enumerateIndexesInRange_options_usingBlock_1, - range, - opts, - block.pointer, - ); + _NSRange range, int opts, ObjCBlock_ffiVoid_ffiUnsignedLong_bool block) { + _objc_msgSend_101( + this.pointer, + _sel_enumerateIndexesInRange_options_usingBlock_, + range, + opts, + block.pointer); } int indexPassingTest_(ObjCBlock_bool_ffiUnsignedLong_bool predicate) { - return _lib._objc_msgSend_102( - this.pointer, - _lib._sel_indexPassingTest_1, - predicate.pointer, - ); + return _objc_msgSend_102( + this.pointer, _sel_indexPassingTest_, predicate.pointer); } int indexWithOptions_passingTest_( - int opts, - ObjCBlock_bool_ffiUnsignedLong_bool predicate, - ) { - return _lib._objc_msgSend_103( - this.pointer, - _lib._sel_indexWithOptions_passingTest_1, - opts, - predicate.pointer, - ); + int opts, ObjCBlock_bool_ffiUnsignedLong_bool predicate) { + return _objc_msgSend_103(this.pointer, _sel_indexWithOptions_passingTest_, + opts, predicate.pointer); } int indexInRange_options_passingTest_( - _NSRange range, - int opts, - ObjCBlock_bool_ffiUnsignedLong_bool predicate, - ) { - return _lib._objc_msgSend_104( - this.pointer, - _lib._sel_indexInRange_options_passingTest_1, - range, - opts, - predicate.pointer, - ); + _NSRange range, int opts, ObjCBlock_bool_ffiUnsignedLong_bool predicate) { + return _objc_msgSend_104(this.pointer, + _sel_indexInRange_options_passingTest_, range, opts, predicate.pointer); } NSIndexSet indexesPassingTest_( - ObjCBlock_bool_ffiUnsignedLong_bool predicate, - ) { - final _ret = _lib._objc_msgSend_105( - this.pointer, - _lib._sel_indexesPassingTest_1, - predicate.pointer, - ); - return NSIndexSet._(_ret, _lib, retain: true, release: true); + ObjCBlock_bool_ffiUnsignedLong_bool predicate) { + final _ret = _objc_msgSend_105( + this.pointer, _sel_indexesPassingTest_, predicate.pointer); + return NSIndexSet._(_ret, retain: true, release: true); } NSIndexSet indexesWithOptions_passingTest_( - int opts, - ObjCBlock_bool_ffiUnsignedLong_bool predicate, - ) { - final _ret = _lib._objc_msgSend_106( - this.pointer, - _lib._sel_indexesWithOptions_passingTest_1, - opts, - predicate.pointer, - ); - return NSIndexSet._(_ret, _lib, retain: true, release: true); + int opts, ObjCBlock_bool_ffiUnsignedLong_bool predicate) { + final _ret = _objc_msgSend_106(this.pointer, + _sel_indexesWithOptions_passingTest_, opts, predicate.pointer); + return NSIndexSet._(_ret, retain: true, release: true); } NSIndexSet indexesInRange_options_passingTest_( - _NSRange range, - int opts, - ObjCBlock_bool_ffiUnsignedLong_bool predicate, - ) { - final _ret = _lib._objc_msgSend_107( - this.pointer, - _lib._sel_indexesInRange_options_passingTest_1, - range, - opts, - predicate.pointer, - ); - return NSIndexSet._(_ret, _lib, retain: true, release: true); + _NSRange range, int opts, ObjCBlock_bool_ffiUnsignedLong_bool predicate) { + final _ret = _objc_msgSend_107( + this.pointer, + _sel_indexesInRange_options_passingTest_, + range, + opts, + predicate.pointer); + return NSIndexSet._(_ret, retain: true, release: true); } void enumerateRangesUsingBlock_(ObjCBlock_ffiVoid_NSRange_bool block) { - _lib._objc_msgSend_108( - this.pointer, - _lib._sel_enumerateRangesUsingBlock_1, - block.pointer, - ); + _objc_msgSend_108( + this.pointer, _sel_enumerateRangesUsingBlock_, block.pointer); } void enumerateRangesWithOptions_usingBlock_( - int opts, - ObjCBlock_ffiVoid_NSRange_bool block, - ) { - _lib._objc_msgSend_109( - this.pointer, - _lib._sel_enumerateRangesWithOptions_usingBlock_1, - opts, - block.pointer, - ); + int opts, ObjCBlock_ffiVoid_NSRange_bool block) { + _objc_msgSend_109(this.pointer, _sel_enumerateRangesWithOptions_usingBlock_, + opts, block.pointer); } void enumerateRangesInRange_options_usingBlock_( - _NSRange range, - int opts, - ObjCBlock_ffiVoid_NSRange_bool block, - ) { - _lib._objc_msgSend_110( - this.pointer, - _lib._sel_enumerateRangesInRange_options_usingBlock_1, - range, - opts, - block.pointer, - ); + _NSRange range, int opts, ObjCBlock_ffiVoid_NSRange_bool block) { + _objc_msgSend_110( + this.pointer, + _sel_enumerateRangesInRange_options_usingBlock_, + range, + opts, + block.pointer); } @override NSIndexSet init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSIndexSet._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSIndexSet._(_ret, retain: true, release: true); } - static NSIndexSet new1(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2(_lib._class_NSIndexSet1, _lib._sel_new1); - return NSIndexSet._(_ret, _lib, retain: false, release: true); + static NSIndexSet new1() { + final _ret = _objc_msgSend_2(_class_NSIndexSet, _sel_new); + return NSIndexSet._(_ret, retain: false, release: true); } - static NSIndexSet allocWithZone_(AVFAudio _lib, ffi.Pointer<_NSZone> zone) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSIndexSet1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSIndexSet._(_ret, _lib, retain: false, release: true); + static NSIndexSet allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = _objc_msgSend_3(_class_NSIndexSet, _sel_allocWithZone_, zone); + return NSIndexSet._(_ret, retain: false, release: true); } - static NSIndexSet alloc(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSIndexSet1, - _lib._sel_alloc1, - ); - return NSIndexSet._(_ret, _lib, retain: false, release: true); + static NSIndexSet alloc() { + final _ret = _objc_msgSend_2(_class_NSIndexSet, _sel_alloc); + return NSIndexSet._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSIndexSet1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSIndexSet1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSIndexSet1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSIndexSet1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSIndexSet1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSIndexSet1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSIndexSet, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); } - static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSIndexSet1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSIndexSet1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSIndexSet1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSIndexSet, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); + } + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSIndexSet, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSIndexSet, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSIndexSet, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); } -} + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSIndexSet, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); + } + + static void setKeys_triggerChangeNotificationsForDependentKey_( + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSIndexSet, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = _objc_msgSend_85( + _class_NSIndexSet, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = + _objc_msgSend_2(_class_NSIndexSet, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); + } +} + +late final _class_NSIndexSet = objc.getClass("NSIndexSet"); +late final _sel_indexSet = objc.registerName("indexSet"); +late final _sel_indexSetWithIndex_ = objc.registerName("indexSetWithIndex:"); +late final _sel_indexSetWithIndexesInRange_ = + objc.registerName("indexSetWithIndexesInRange:"); +final _objc_msgSend_91 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function(ffi.Pointer obj, + ffi.Pointer sel, _NSRange range)>>() + .asFunction< + instancetype Function(ffi.Pointer, + ffi.Pointer, _NSRange)>(); +late final _sel_initWithIndexesInRange_ = + objc.registerName("initWithIndexesInRange:"); +late final _sel_initWithIndexSet_ = objc.registerName("initWithIndexSet:"); +final _objc_msgSend_92 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer indexSet)>>() + .asFunction< + instancetype Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_initWithIndex_ = objc.registerName("initWithIndex:"); +late final _sel_isEqualToIndexSet_ = objc.registerName("isEqualToIndexSet:"); +final _objc_msgSend_93 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer indexSet)>>() + .asFunction< + bool Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_firstIndex = objc.registerName("firstIndex"); +late final _sel_lastIndex = objc.registerName("lastIndex"); +late final _sel_indexGreaterThanIndex_ = + objc.registerName("indexGreaterThanIndex:"); +final _objc_msgSend_94 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.UnsignedLong Function(ffi.Pointer obj, + ffi.Pointer sel, ffi.UnsignedLong value)>>() + .asFunction< + int Function(ffi.Pointer, + ffi.Pointer, int)>(); +late final _sel_indexLessThanIndex_ = objc.registerName("indexLessThanIndex:"); +late final _sel_indexGreaterThanOrEqualToIndex_ = + objc.registerName("indexGreaterThanOrEqualToIndex:"); +late final _sel_indexLessThanOrEqualToIndex_ = + objc.registerName("indexLessThanOrEqualToIndex:"); +late final _sel_getIndexes_maxCount_inIndexRange_ = + objc.registerName("getIndexes:maxCount:inIndexRange:"); +final _objc_msgSend_95 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer indexBuffer, + ffi.UnsignedLong bufferSize, + ffi.Pointer<_NSRange> range)>>() + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer<_NSRange>)>(); +late final _sel_countOfIndexesInRange_ = + objc.registerName("countOfIndexesInRange:"); +final _objc_msgSend_96 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.UnsignedLong Function(ffi.Pointer obj, + ffi.Pointer sel, _NSRange range)>>() + .asFunction< + int Function(ffi.Pointer, + ffi.Pointer, _NSRange)>(); +late final _sel_containsIndex_ = objc.registerName("containsIndex:"); +final _objc_msgSend_97 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function(ffi.Pointer obj, + ffi.Pointer sel, ffi.UnsignedLong value)>>() + .asFunction< + bool Function(ffi.Pointer, + ffi.Pointer, int)>(); +late final _sel_containsIndexesInRange_ = + objc.registerName("containsIndexesInRange:"); +final _objc_msgSend_98 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function(ffi.Pointer obj, + ffi.Pointer sel, _NSRange range)>>() + .asFunction< + bool Function(ffi.Pointer, + ffi.Pointer, _NSRange)>(); +late final _sel_containsIndexes_ = objc.registerName("containsIndexes:"); +late final _sel_intersectsIndexesInRange_ = + objc.registerName("intersectsIndexesInRange:"); void _ObjCBlock_ffiVoid_ffiUnsignedLong_bool_fnPtrTrampoline( - ffi.Pointer block, - int arg0, - ffi.Pointer arg1, -) => + ffi.Pointer block, + int arg0, + ffi.Pointer arg1) => block.ref.target .cast< ffi.NativeFunction< @@ -46460,44 +8285,31 @@ final _ObjCBlock_ffiVoid_ffiUnsignedLong_bool_closureRegistry = )>{}; int _ObjCBlock_ffiVoid_ffiUnsignedLong_bool_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_ffiVoid_ffiUnsignedLong_bool_registerClosure( - void Function(int, ffi.Pointer) fn, -) { + void Function(int, ffi.Pointer) fn) { final id = ++_ObjCBlock_ffiVoid_ffiUnsignedLong_bool_closureRegistryIndex; _ObjCBlock_ffiVoid_ffiUnsignedLong_bool_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } void _ObjCBlock_ffiVoid_ffiUnsignedLong_bool_closureTrampoline( - ffi.Pointer block, - int arg0, - ffi.Pointer arg1, -) => + ffi.Pointer block, + int arg0, + ffi.Pointer arg1) => _ObjCBlock_ffiVoid_ffiUnsignedLong_bool_closureRegistry[ block.ref.target.address]!(arg0, arg1); class ObjCBlock_ffiVoid_ffiUnsignedLong_bool extends objc.ObjCBlockBase { - ObjCBlock_ffiVoid_ffiUnsignedLong_bool._( - ffi.Pointer pointer, - this._lib, { - bool retain = false, - bool release = true, - }) : super(pointer, retain: retain, release: release); - - AVFAudio _lib; + ObjCBlock_ffiVoid_ffiUnsignedLong_bool._(ffi.Pointer pointer, + {bool retain = false, bool release = true}) + : super(pointer, retain: retain, release: release); /// Returns a block that wraps the given raw block pointer. static ObjCBlock_ffiVoid_ffiUnsignedLong_bool castFromPointer( - AVFAudio lib, - ffi.Pointer pointer, { - bool retain = false, - bool release = false, - }) { - return ObjCBlock_ffiVoid_ffiUnsignedLong_bool._( - pointer, - lib, - retain: retain, - release: release, - ); + ffi.Pointer pointer, + {bool retain = false, + bool release = false}) { + return ObjCBlock_ffiVoid_ffiUnsignedLong_bool._(pointer, + retain: retain, release: release); } /// Creates a block from a C function pointer. @@ -46506,25 +8318,18 @@ class ObjCBlock_ffiVoid_ffiUnsignedLong_bool extends objc.ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_ffiUnsignedLong_bool.fromFunctionPointer( - AVFAudio lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.UnsignedLong arg0, ffi.Pointer arg1)>> - ptr, - ) : this._( - objc.newBlock( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer, - )>( - _ObjCBlock_ffiVoid_ffiUnsignedLong_bool_fnPtrTrampoline) - .cast(), - ptr.cast(), - ), - lib); + ffi.Pointer< + ffi.NativeFunction< + ffi.Void Function( + ffi.UnsignedLong arg0, ffi.Pointer arg1)>> + ptr) + : this._(objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function(ffi.Pointer, + ffi.UnsignedLong, ffi.Pointer)>( + _ObjCBlock_ffiVoid_ffiUnsignedLong_bool_fnPtrTrampoline) + .cast(), + ptr.cast())); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -46533,25 +8338,15 @@ class ObjCBlock_ffiVoid_ffiUnsignedLong_bool extends objc.ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_ffiUnsignedLong_bool.fromFunction( - AVFAudio lib, - void Function(int, ffi.Pointer) fn, - ) : this._( - objc.newBlock( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer, - )>( - _ObjCBlock_ffiVoid_ffiUnsignedLong_bool_closureTrampoline) - .cast(), - _ObjCBlock_ffiVoid_ffiUnsignedLong_bool_registerClosure(( - int arg0, - ffi.Pointer arg1, - ) => - fn(arg0, arg1)), - ), - lib); + void Function(int, ffi.Pointer) fn) + : this._(objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function(ffi.Pointer, + ffi.UnsignedLong, ffi.Pointer)>( + _ObjCBlock_ffiVoid_ffiUnsignedLong_bool_closureTrampoline) + .cast(), + _ObjCBlock_ffiVoid_ffiUnsignedLong_bool_registerClosure( + (int arg0, ffi.Pointer arg1) => fn(arg0, arg1)))); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -46564,57 +8359,87 @@ class ObjCBlock_ffiVoid_ffiUnsignedLong_bool extends objc.ObjCBlockBase { /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. ObjCBlock_ffiVoid_ffiUnsignedLong_bool.listener( - AVFAudio lib, - void Function(int, ffi.Pointer) fn, - ) : this._( - objc.newBlock( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer, - )>.listener( - _ObjCBlock_ffiVoid_ffiUnsignedLong_bool_closureTrampoline, - )..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_ffiUnsignedLong_bool_registerClosure(( - int arg0, - ffi.Pointer arg1, - ) => - fn(arg0, arg1)), - ), - lib); + void Function(int, ffi.Pointer) fn) + : this._(objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function(ffi.Pointer, + ffi.UnsignedLong, ffi.Pointer)>.listener( + _ObjCBlock_ffiVoid_ffiUnsignedLong_bool_closureTrampoline) + ..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_ffiUnsignedLong_bool_registerClosure( + (int arg0, ffi.Pointer arg1) => fn(arg0, arg1)))); static ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer, - )>? _dartFuncListenerTrampoline; + ffi.Void Function(ffi.Pointer, ffi.UnsignedLong, + ffi.Pointer)>? _dartFuncListenerTrampoline; void call(int arg0, ffi.Pointer arg1) => pointer.ref.invoke .cast< ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer block, - ffi.UnsignedLong arg0, - ffi.Pointer arg1, - )>>() + ffi.Void Function(ffi.Pointer block, + ffi.UnsignedLong arg0, ffi.Pointer arg1)>>() .asFunction< void Function(ffi.Pointer, int, ffi.Pointer)>()(pointer, arg0, arg1); } +late final _sel_enumerateIndexesUsingBlock_ = + objc.registerName("enumerateIndexesUsingBlock:"); +final _objc_msgSend_99 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer block)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); + abstract class NSEnumerationOptions { static const int NSEnumerationConcurrent = 1; static const int NSEnumerationReverse = 2; } +late final _sel_enumerateIndexesWithOptions_usingBlock_ = + objc.registerName("enumerateIndexesWithOptions:usingBlock:"); +final _objc_msgSend_100 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Int32 opts, + ffi.Pointer block)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer)>(); +late final _sel_enumerateIndexesInRange_options_usingBlock_ = + objc.registerName("enumerateIndexesInRange:options:usingBlock:"); +final _objc_msgSend_101 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + _NSRange range, + ffi.Int32 opts, + ffi.Pointer block)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + int, + ffi.Pointer)>(); bool _ObjCBlock_bool_ffiUnsignedLong_bool_fnPtrTrampoline( - ffi.Pointer block, - int arg0, - ffi.Pointer arg1, -) => + ffi.Pointer block, + int arg0, + ffi.Pointer arg1) => block.ref.target .cast< ffi.NativeFunction< @@ -46625,44 +8450,31 @@ final _ObjCBlock_bool_ffiUnsignedLong_bool_closureRegistry = )>{}; int _ObjCBlock_bool_ffiUnsignedLong_bool_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_bool_ffiUnsignedLong_bool_registerClosure( - bool Function(int, ffi.Pointer) fn, -) { + bool Function(int, ffi.Pointer) fn) { final id = ++_ObjCBlock_bool_ffiUnsignedLong_bool_closureRegistryIndex; _ObjCBlock_bool_ffiUnsignedLong_bool_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } bool _ObjCBlock_bool_ffiUnsignedLong_bool_closureTrampoline( - ffi.Pointer block, - int arg0, - ffi.Pointer arg1, -) => + ffi.Pointer block, + int arg0, + ffi.Pointer arg1) => _ObjCBlock_bool_ffiUnsignedLong_bool_closureRegistry[ block.ref.target.address]!(arg0, arg1); class ObjCBlock_bool_ffiUnsignedLong_bool extends objc.ObjCBlockBase { - ObjCBlock_bool_ffiUnsignedLong_bool._( - ffi.Pointer pointer, - this._lib, { - bool retain = false, - bool release = true, - }) : super(pointer, retain: retain, release: release); - - AVFAudio _lib; + ObjCBlock_bool_ffiUnsignedLong_bool._(ffi.Pointer pointer, + {bool retain = false, bool release = true}) + : super(pointer, retain: retain, release: release); /// Returns a block that wraps the given raw block pointer. static ObjCBlock_bool_ffiUnsignedLong_bool castFromPointer( - AVFAudio lib, - ffi.Pointer pointer, { - bool retain = false, - bool release = false, - }) { - return ObjCBlock_bool_ffiUnsignedLong_bool._( - pointer, - lib, - retain: retain, - release: release, - ); + ffi.Pointer pointer, + {bool retain = false, + bool release = false}) { + return ObjCBlock_bool_ffiUnsignedLong_bool._(pointer, + retain: retain, release: release); } /// Creates a block from a C function pointer. @@ -46671,26 +8483,19 @@ class ObjCBlock_bool_ffiUnsignedLong_bool extends objc.ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_bool_ffiUnsignedLong_bool.fromFunctionPointer( - AVFAudio lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Bool Function( - ffi.UnsignedLong arg0, ffi.Pointer arg1)>> - ptr, - ) : this._( - objc.newBlock( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Pointer< + ffi + .NativeFunction< ffi.Bool Function( - ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer, - )>( - _ObjCBlock_bool_ffiUnsignedLong_bool_fnPtrTrampoline, - false, - ).cast(), - ptr.cast(), - ), - lib); + ffi.UnsignedLong arg0, ffi.Pointer arg1)>> + ptr) + : this._(objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Bool Function(ffi.Pointer, + ffi.UnsignedLong, ffi.Pointer)>( + _ObjCBlock_bool_ffiUnsignedLong_bool_fnPtrTrampoline, false) + .cast(), + ptr.cast())); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -46699,46 +8504,122 @@ class ObjCBlock_bool_ffiUnsignedLong_bool extends objc.ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_bool_ffiUnsignedLong_bool.fromFunction( - AVFAudio lib, - bool Function(int, ffi.Pointer) fn, - ) : this._( - objc.newBlock( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer, - )>( - _ObjCBlock_bool_ffiUnsignedLong_bool_closureTrampoline, - false, - ).cast(), - _ObjCBlock_bool_ffiUnsignedLong_bool_registerClosure(( - int arg0, - ffi.Pointer arg1, - ) => - fn(arg0, arg1)), - ), - lib); + bool Function(int, ffi.Pointer) fn) + : this._(objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Bool Function(ffi.Pointer, + ffi.UnsignedLong, ffi.Pointer)>( + _ObjCBlock_bool_ffiUnsignedLong_bool_closureTrampoline, + false) + .cast(), + _ObjCBlock_bool_ffiUnsignedLong_bool_registerClosure( + (int arg0, ffi.Pointer arg1) => fn(arg0, arg1)))); static ffi.Pointer? _dartFuncTrampoline; bool call(int arg0, ffi.Pointer arg1) => pointer.ref.invoke .cast< ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer block, - ffi.UnsignedLong arg0, - ffi.Pointer arg1, - )>>() + ffi.Bool Function(ffi.Pointer block, + ffi.UnsignedLong arg0, ffi.Pointer arg1)>>() .asFunction< bool Function(ffi.Pointer, int, ffi.Pointer)>()(pointer, arg0, arg1); } +late final _sel_indexPassingTest_ = objc.registerName("indexPassingTest:"); +final _objc_msgSend_102 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer predicate)>>() + .asFunction< + int Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_indexWithOptions_passingTest_ = + objc.registerName("indexWithOptions:passingTest:"); +final _objc_msgSend_103 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Int32 opts, + ffi.Pointer predicate)>>() + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer)>(); +late final _sel_indexInRange_options_passingTest_ = + objc.registerName("indexInRange:options:passingTest:"); +final _objc_msgSend_104 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer obj, + ffi.Pointer sel, + _NSRange range, + ffi.Int32 opts, + ffi.Pointer predicate)>>() + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + int, + ffi.Pointer)>(); +late final _sel_indexesPassingTest_ = objc.registerName("indexesPassingTest:"); +final _objc_msgSend_105 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer predicate)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_indexesWithOptions_passingTest_ = + objc.registerName("indexesWithOptions:passingTest:"); +final _objc_msgSend_106 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Int32 opts, + ffi.Pointer predicate)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer)>(); +late final _sel_indexesInRange_options_passingTest_ = + objc.registerName("indexesInRange:options:passingTest:"); +final _objc_msgSend_107 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + _NSRange range, + ffi.Int32 opts, + ffi.Pointer predicate)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + int, + ffi.Pointer)>(); void _ObjCBlock_ffiVoid_NSRange_bool_fnPtrTrampoline( - ffi.Pointer block, - _NSRange arg0, - ffi.Pointer arg1, -) => + ffi.Pointer block, + _NSRange arg0, + ffi.Pointer arg1) => block.ref.target .cast< ffi.NativeFunction< @@ -46749,46 +8630,31 @@ final _ObjCBlock_ffiVoid_NSRange_bool_closureRegistry = )>{}; int _ObjCBlock_ffiVoid_NSRange_bool_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_ffiVoid_NSRange_bool_registerClosure( - void Function(_NSRange, ffi.Pointer) fn, -) { + void Function(_NSRange, ffi.Pointer) fn) { final id = ++_ObjCBlock_ffiVoid_NSRange_bool_closureRegistryIndex; _ObjCBlock_ffiVoid_NSRange_bool_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } void _ObjCBlock_ffiVoid_NSRange_bool_closureTrampoline( - ffi.Pointer block, - _NSRange arg0, - ffi.Pointer arg1, -) => + ffi.Pointer block, + _NSRange arg0, + ffi.Pointer arg1) => _ObjCBlock_ffiVoid_NSRange_bool_closureRegistry[block.ref.target.address]!( - arg0, - arg1, - ); + arg0, arg1); class ObjCBlock_ffiVoid_NSRange_bool extends objc.ObjCBlockBase { - ObjCBlock_ffiVoid_NSRange_bool._( - ffi.Pointer pointer, - this._lib, { - bool retain = false, - bool release = true, - }) : super(pointer, retain: retain, release: release); - - AVFAudio _lib; + ObjCBlock_ffiVoid_NSRange_bool._(ffi.Pointer pointer, + {bool retain = false, bool release = true}) + : super(pointer, retain: retain, release: release); /// Returns a block that wraps the given raw block pointer. static ObjCBlock_ffiVoid_NSRange_bool castFromPointer( - AVFAudio lib, - ffi.Pointer pointer, { - bool retain = false, - bool release = false, - }) { - return ObjCBlock_ffiVoid_NSRange_bool._( - pointer, - lib, - retain: retain, - release: release, - ); + ffi.Pointer pointer, + {bool retain = false, + bool release = false}) { + return ObjCBlock_ffiVoid_NSRange_bool._(pointer, + retain: retain, release: release); } /// Creates a block from a C function pointer. @@ -46797,23 +8663,17 @@ class ObjCBlock_ffiVoid_NSRange_bool extends objc.ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSRange_bool.fromFunctionPointer( - AVFAudio lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function(_NSRange arg0, ffi.Pointer arg1)>> - ptr, - ) : this._( - objc.newBlock( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - _NSRange, - ffi.Pointer, - )>(_ObjCBlock_ffiVoid_NSRange_bool_fnPtrTrampoline) - .cast(), - ptr.cast(), - ), - lib); + ffi.Pointer< + ffi.NativeFunction< + ffi.Void Function(_NSRange arg0, ffi.Pointer arg1)>> + ptr) + : this._(objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function(ffi.Pointer, _NSRange, + ffi.Pointer)>( + _ObjCBlock_ffiVoid_NSRange_bool_fnPtrTrampoline) + .cast(), + ptr.cast())); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -46822,24 +8682,16 @@ class ObjCBlock_ffiVoid_NSRange_bool extends objc.ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSRange_bool.fromFunction( - AVFAudio lib, - void Function(_NSRange, ffi.Pointer) fn, - ) : this._( - objc.newBlock( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - _NSRange, - ffi.Pointer, - )>(_ObjCBlock_ffiVoid_NSRange_bool_closureTrampoline) - .cast(), - _ObjCBlock_ffiVoid_NSRange_bool_registerClosure(( - _NSRange arg0, - ffi.Pointer arg1, - ) => - fn(arg0, arg1)), - ), - lib); + void Function(_NSRange, ffi.Pointer) fn) + : this._(objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function(ffi.Pointer, _NSRange, + ffi.Pointer)>( + _ObjCBlock_ffiVoid_NSRange_bool_closureTrampoline) + .cast(), + _ObjCBlock_ffiVoid_NSRange_bool_registerClosure( + (_NSRange arg0, ffi.Pointer arg1) => + fn(arg0, arg1)))); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -46852,64 +8704,102 @@ class ObjCBlock_ffiVoid_NSRange_bool extends objc.ObjCBlockBase { /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. ObjCBlock_ffiVoid_NSRange_bool.listener( - AVFAudio lib, - void Function(_NSRange, ffi.Pointer) fn, - ) : this._( - objc.newBlock( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - _NSRange, - ffi.Pointer, - )>.listener( - _ObjCBlock_ffiVoid_NSRange_bool_closureTrampoline, - )..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSRange_bool_registerClosure(( - _NSRange arg0, - ffi.Pointer arg1, - ) => - fn(arg0, arg1)), - ), - lib); + void Function(_NSRange, ffi.Pointer) fn) + : this._(objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function(ffi.Pointer, _NSRange, + ffi.Pointer)>.listener( + _ObjCBlock_ffiVoid_NSRange_bool_closureTrampoline) + ..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSRange_bool_registerClosure( + (_NSRange arg0, ffi.Pointer arg1) => + fn(arg0, arg1)))); static ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - _NSRange, - ffi.Pointer, - )>? _dartFuncListenerTrampoline; + ffi.Void Function( + ffi.Pointer, _NSRange, ffi.Pointer)>? + _dartFuncListenerTrampoline; void call(_NSRange arg0, ffi.Pointer arg1) => pointer.ref.invoke .cast< ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer block, - _NSRange arg0, - ffi.Pointer arg1, - )>>() + ffi.Void Function(ffi.Pointer block, + _NSRange arg0, ffi.Pointer arg1)>>() .asFunction< - void Function( - ffi.Pointer, - _NSRange, - ffi.Pointer, - )>()(pointer, arg0, arg1); + void Function(ffi.Pointer, _NSRange, + ffi.Pointer)>()(pointer, arg0, arg1); } +late final _sel_enumerateRangesUsingBlock_ = + objc.registerName("enumerateRangesUsingBlock:"); +final _objc_msgSend_108 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer block)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_enumerateRangesWithOptions_usingBlock_ = + objc.registerName("enumerateRangesWithOptions:usingBlock:"); +final _objc_msgSend_109 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Int32 opts, + ffi.Pointer block)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer)>(); +late final _sel_enumerateRangesInRange_options_usingBlock_ = + objc.registerName("enumerateRangesInRange:options:usingBlock:"); +final _objc_msgSend_110 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + _NSRange range, + ffi.Int32 opts, + ffi.Pointer block)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + int, + ffi.Pointer)>(); +late final _sel_objectsAtIndexes_ = objc.registerName("objectsAtIndexes:"); +final _objc_msgSend_111 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer indexes)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_objectAtIndexedSubscript_ = + objc.registerName("objectAtIndexedSubscript:"); void _ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool_fnPtrTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, - int arg1, - ffi.Pointer arg2, -) => + ffi.Pointer block, + ffi.Pointer arg0, + int arg1, + ffi.Pointer arg2) => block.ref.target .cast< ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.UnsignedLong arg1, - ffi.Pointer arg2, - )>>() + ffi.Void Function(ffi.Pointer arg0, + ffi.UnsignedLong arg1, ffi.Pointer arg2)>>() .asFunction< void Function(ffi.Pointer, int, ffi.Pointer)>()(arg0, arg1, arg2); @@ -46921,8 +8811,8 @@ int _ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool_closureRegistryIndex 0; ffi.Pointer _ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool_registerClosure( - void Function(ffi.Pointer, int, ffi.Pointer) fn, -) { + void Function(ffi.Pointer, int, ffi.Pointer) + fn) { final id = ++_ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool_closureRegistryIndex; _ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool_closureRegistry[id] = @@ -46931,38 +8821,28 @@ ffi.Pointer } void _ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool_closureTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, - int arg1, - ffi.Pointer arg2, -) => + ffi.Pointer block, + ffi.Pointer arg0, + int arg1, + ffi.Pointer arg2) => _ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool_closureRegistry[ block.ref.target.address]!(arg0, arg1, arg2); class ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool._( - ffi.Pointer pointer, - this._lib, { - bool retain = false, - bool release = true, - }) : super(pointer, retain: retain, release: release); - - AVFAudio _lib; + ffi.Pointer pointer, + {bool retain = false, + bool release = true}) + : super(pointer, retain: retain, release: release); /// Returns a block that wraps the given raw block pointer. static ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool castFromPointer( - AVFAudio lib, - ffi.Pointer pointer, { - bool retain = false, - bool release = false, - }) { - return ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool._( - pointer, - lib, - retain: retain, - release: release, - ); + ffi.Pointer pointer, + {bool retain = false, + bool release = false}) { + return ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool._(pointer, + retain: retain, release: release); } /// Creates a block from a C function pointer. @@ -46971,29 +8851,21 @@ class ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool.fromFunctionPointer( - AVFAudio lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.UnsignedLong arg1, - ffi.Pointer arg2, - )>> - ptr, - ) : this._( - objc.newBlock( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer, - )>( - _ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool_fnPtrTrampoline, - ).cast(), - ptr.cast(), - ), - lib); + ffi.Pointer< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer arg0, + ffi.UnsignedLong arg1, ffi.Pointer arg2)>> + ptr) + : this._(objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer)>( + _ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool_fnPtrTrampoline) + .cast(), + ptr.cast())); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -47002,36 +8874,20 @@ class ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool.fromFunction( - AVFAudio lib, - void Function(NSObject, int, ffi.Pointer) fn, - ) : this._( - objc.newBlock( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer, - )>( - _ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool_closureTrampoline, - ).cast(), - _ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool_registerClosure( - ( - ffi.Pointer arg0, - int arg1, - ffi.Pointer arg2, - ) => - fn( - NSObject._( - arg0, - lib, - retain: true, - release: true, - ), - arg1, - arg2)), - ), - lib); + void Function(NSObject, int, ffi.Pointer) fn) + : this._(objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer)>( + _ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool_closureTrampoline) + .cast(), + _ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool_registerClosure( + (ffi.Pointer arg0, int arg1, + ffi.Pointer arg2) => + fn(NSObject._(arg0, retain: true, release: true), arg1, arg2)))); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -47044,79 +8900,102 @@ class ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool.listener( - AVFAudio lib, - void Function(NSObject, int, ffi.Pointer) fn, - ) : this._( - objc.newBlock( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer, - )>.listener( - _ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool_closureTrampoline, - )..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool_registerClosure( - ( - ffi.Pointer arg0, - int arg1, - ffi.Pointer arg2, - ) => - fn( - NSObject._( - arg0, - lib, - retain: true, - release: true, - ), - arg1, - arg2)), - ), - lib); + void Function(NSObject, int, ffi.Pointer) fn) + : this._(objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer)>.listener( + _ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool_closureTrampoline) + ..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool_registerClosure( + (ffi.Pointer arg0, int arg1, + ffi.Pointer arg2) => + fn(NSObject._(arg0, retain: true, release: true), arg1, arg2)))); static ffi.NativeCallable< ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer, - )>? _dartFuncListenerTrampoline; + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer)>? _dartFuncListenerTrampoline; void call(NSObject arg0, int arg1, ffi.Pointer arg2) => pointer.ref.invoke .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.UnsignedLong arg1, - ffi.Pointer arg2, - )>>() + ffi.Pointer block, + ffi.Pointer arg0, + ffi.UnsignedLong arg1, + ffi.Pointer arg2)>>() .asFunction< void Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - )>()(pointer, arg0.pointer, arg1, arg2); -} - + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer)>()(pointer, arg0.pointer, arg1, arg2); +} + +late final _sel_enumerateObjectsUsingBlock_ = + objc.registerName("enumerateObjectsUsingBlock:"); +final _objc_msgSend_112 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer block)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_enumerateObjectsWithOptions_usingBlock_ = + objc.registerName("enumerateObjectsWithOptions:usingBlock:"); +final _objc_msgSend_113 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Int32 opts, + ffi.Pointer block)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer)>(); +late final _sel_enumerateObjectsAtIndexes_options_usingBlock_ = + objc.registerName("enumerateObjectsAtIndexes:options:usingBlock:"); +final _objc_msgSend_114 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer s, + ffi.Int32 opts, + ffi.Pointer block)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer)>(); bool _ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool_fnPtrTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, - int arg1, - ffi.Pointer arg2, -) => + ffi.Pointer block, + ffi.Pointer arg0, + int arg1, + ffi.Pointer arg2) => block.ref.target .cast< ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer arg0, - ffi.UnsignedLong arg1, - ffi.Pointer arg2, - )>>() + ffi.Bool Function(ffi.Pointer arg0, + ffi.UnsignedLong arg1, ffi.Pointer arg2)>>() .asFunction< bool Function(ffi.Pointer, int, ffi.Pointer)>()(arg0, arg1, arg2); @@ -47128,8 +9007,8 @@ int _ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool_registerClosure( - bool Function(ffi.Pointer, int, ffi.Pointer) fn, -) { + bool Function(ffi.Pointer, int, ffi.Pointer) + fn) { final id = ++_ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool_closureRegistryIndex; _ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool_closureRegistry[id] = fn; @@ -47137,38 +9016,28 @@ ffi.Pointer } bool _ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool_closureTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, - int arg1, - ffi.Pointer arg2, -) => + ffi.Pointer block, + ffi.Pointer arg0, + int arg1, + ffi.Pointer arg2) => _ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool_closureRegistry[ block.ref.target.address]!(arg0, arg1, arg2); class ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool extends objc.ObjCBlockBase { ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool._( - ffi.Pointer pointer, - this._lib, { - bool retain = false, - bool release = true, - }) : super(pointer, retain: retain, release: release); - - AVFAudio _lib; + ffi.Pointer pointer, + {bool retain = false, + bool release = true}) + : super(pointer, retain: retain, release: release); /// Returns a block that wraps the given raw block pointer. static ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool castFromPointer( - AVFAudio lib, - ffi.Pointer pointer, { - bool retain = false, - bool release = false, - }) { - return ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool._( - pointer, - lib, - retain: retain, - release: release, - ); + ffi.Pointer pointer, + {bool retain = false, + bool release = false}) { + return ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool._(pointer, + retain: retain, release: release); } /// Creates a block from a C function pointer. @@ -47177,30 +9046,22 @@ class ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool.fromFunctionPointer( - AVFAudio lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer arg0, - ffi.UnsignedLong arg1, - ffi.Pointer arg2, - )>> - ptr, - ) : this._( - objc.newBlock( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer, - )>( - _ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool_fnPtrTrampoline, - false, - ).cast(), - ptr.cast(), - ), - lib); + ffi.Pointer< + ffi.NativeFunction< + ffi.Bool Function(ffi.Pointer arg0, + ffi.UnsignedLong arg1, ffi.Pointer arg2)>> + ptr) + : this._(objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer)>( + _ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool_fnPtrTrampoline, + false) + .cast(), + ptr.cast())); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -47209,37 +9070,19 @@ class ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool.fromFunction( - AVFAudio lib, - bool Function(NSObject, int, ffi.Pointer) fn, - ) : this._( - objc.newBlock( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer, - )>( - _ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool_closureTrampoline, - false, - ).cast(), - _ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool_registerClosure( - ( - ffi.Pointer arg0, - int arg1, - ffi.Pointer arg2, - ) => - fn( - NSObject._( - arg0, - lib, - retain: true, - release: true, - ), - arg1, - arg2)), - ), - lib); + bool Function(NSObject, int, ffi.Pointer) fn) + : this._(objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer)>( + _ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool_closureTrampoline, false) + .cast(), + _ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool_registerClosure( + (ffi.Pointer arg0, int arg1, ffi.Pointer arg2) => + fn(NSObject._(arg0, retain: true, release: true), arg1, arg2)))); static ffi.Pointer? _dartFuncTrampoline; bool call(NSObject arg0, int arg1, ffi.Pointer arg2) => @@ -47247,32 +9090,119 @@ class ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.UnsignedLong arg1, - ffi.Pointer arg2, - )>>() + ffi.Pointer block, + ffi.Pointer arg0, + ffi.UnsignedLong arg1, + ffi.Pointer arg2)>>() .asFunction< bool Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - )>()(pointer, arg0.pointer, arg1, arg2); -} - + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer)>()(pointer, arg0.pointer, arg1, arg2); +} + +late final _sel_indexOfObjectPassingTest_ = + objc.registerName("indexOfObjectPassingTest:"); +final _objc_msgSend_115 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer predicate)>>() + .asFunction< + int Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_indexOfObjectWithOptions_passingTest_ = + objc.registerName("indexOfObjectWithOptions:passingTest:"); +final _objc_msgSend_116 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Int32 opts, + ffi.Pointer predicate)>>() + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer)>(); +late final _sel_indexOfObjectAtIndexes_options_passingTest_ = + objc.registerName("indexOfObjectAtIndexes:options:passingTest:"); +final _objc_msgSend_117 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer s, + ffi.Int32 opts, + ffi.Pointer predicate)>>() + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer)>(); +late final _sel_indexesOfObjectsPassingTest_ = + objc.registerName("indexesOfObjectsPassingTest:"); +final _objc_msgSend_118 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer predicate)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_indexesOfObjectsWithOptions_passingTest_ = + objc.registerName("indexesOfObjectsWithOptions:passingTest:"); +final _objc_msgSend_119 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Int32 opts, + ffi.Pointer predicate)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer)>(); +late final _sel_indexesOfObjectsAtIndexes_options_passingTest_ = + objc.registerName("indexesOfObjectsAtIndexes:options:passingTest:"); +final _objc_msgSend_120 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer s, + ffi.Int32 opts, + ffi.Pointer predicate)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer)>(); int _ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject_fnPtrTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Pointer arg1, -) => + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1) => block.ref.target .cast< ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - )>>() + ffi.Int32 Function(ffi.Pointer arg0, + ffi.Pointer arg1)>>() .asFunction< int Function(ffi.Pointer, ffi.Pointer)>()(arg0, arg1); @@ -47284,8 +9214,8 @@ int _ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject_closureRegistryI 0; ffi.Pointer _ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject_registerClosure( - int Function(ffi.Pointer, ffi.Pointer) fn, -) { + int Function(ffi.Pointer, ffi.Pointer) + fn) { final id = ++_ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject_closureRegistryIndex; _ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject_closureRegistry[ @@ -47293,40 +9223,27 @@ ffi.Pointer return ffi.Pointer.fromAddress(id); } -int - _ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject_closureTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Pointer arg1, -) => - _ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject_closureRegistry[ - block.ref.target.address]!(arg0, arg1); +int _ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject_closureTrampoline( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1) => + _ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject_closureRegistry[ + block.ref.target.address]!(arg0, arg1); class ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject extends objc.ObjCBlockBase { ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject._( - ffi.Pointer pointer, - this._lib, { - bool retain = false, - bool release = true, - }) : super(pointer, retain: retain, release: release); - - AVFAudio _lib; + ffi.Pointer pointer, + {bool retain = false, + bool release = true}) + : super(pointer, retain: retain, release: release); /// Returns a block that wraps the given raw block pointer. static ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject - castFromPointer( - AVFAudio lib, - ffi.Pointer pointer, { - bool retain = false, - bool release = false, - }) { - return ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject._( - pointer, - lib, - retain: retain, - release: release, - ); + castFromPointer(ffi.Pointer pointer, + {bool retain = false, bool release = false}) { + return ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject._(pointer, + retain: retain, release: release); } /// Creates a block from a C function pointer. @@ -47335,28 +9252,21 @@ class ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject.fromFunctionPointer( - AVFAudio lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - )>> - ptr, - ) : this._( - objc.newBlock( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Int32 Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>( - _ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject_fnPtrTrampoline, - 0, - ).cast(), - ptr.cast(), - ), - lib); + ffi.Pointer< + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer arg0, + ffi.Pointer arg1)>> + ptr) + : this._(objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>( + _ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject_fnPtrTrampoline, + 0) + .cast(), + ptr.cast())); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -47365,47 +9275,33 @@ class ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject.fromFunction( - AVFAudio lib, - int Function(NSObject, NSObject) fn, - ) : this._( - objc.newBlock( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Int32 Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>( - _ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject_closureTrampoline, - 0, - ).cast(), - _ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject_registerClosure( - ( - ffi.Pointer arg0, - ffi.Pointer arg1, - ) => - fn( - NSObject._(arg0, lib, retain: true, release: true), - NSObject._(arg1, lib, retain: true, release: true), - ), - ), - ), - lib); + int Function(NSObject, NSObject) fn) + : this._(objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>( + _ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject_closureTrampoline, 0) + .cast(), + _ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject_registerClosure( + (ffi.Pointer arg0, ffi.Pointer arg1) => + fn(NSObject._(arg0, retain: true, release: true), NSObject._(arg1, retain: true, release: true))))); static ffi.Pointer? _dartFuncTrampoline; - - int call(NSObject arg0, NSObject arg1) => pointer.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Pointer arg1, - )>>() - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>()(pointer, arg0.pointer, arg1.pointer); + + int call(NSObject arg0, NSObject arg1) => pointer.ref.invoke + .cast< + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1)>>() + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>()( + pointer, arg0.pointer, arg1.pointer); } abstract class NSComparisonResult { @@ -47414,17 +9310,130 @@ abstract class NSComparisonResult { static const int NSOrderedDescending = 1; } +late final _sel_sortedArrayUsingComparator_ = + objc.registerName("sortedArrayUsingComparator:"); +final _objc_msgSend_121 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer cmptr)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); + abstract class NSSortOptions { static const int NSSortConcurrent = 1; static const int NSSortStable = 16; } +late final _sel_sortedArrayWithOptions_usingComparator_ = + objc.registerName("sortedArrayWithOptions:usingComparator:"); +final _objc_msgSend_122 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Int32 opts, + ffi.Pointer cmptr)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer)>(); + abstract class NSBinarySearchingOptions { static const int NSBinarySearchingFirstEqual = 256; static const int NSBinarySearchingLastEqual = 512; static const int NSBinarySearchingInsertionIndex = 1024; } +late final _sel_indexOfObject_inSortedRange_options_usingComparator_ = + objc.registerName("indexOfObject:inSortedRange:options:usingComparator:"); +final _objc_msgSend_123 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer obj, + _NSRange r, + ffi.Int32 opts, + ffi.Pointer cmp)>>() + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange, + int, + ffi.Pointer)>(); +late final _sel_array = objc.registerName("array"); +late final _sel_arrayWithObject_ = objc.registerName("arrayWithObject:"); +final _objc_msgSend_124 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer anObject)>>() + .asFunction< + instancetype Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_arrayWithObjects_count_ = + objc.registerName("arrayWithObjects:count:"); +late final _sel_arrayWithObjects_ = objc.registerName("arrayWithObjects:"); +late final _sel_arrayWithArray_ = objc.registerName("arrayWithArray:"); +final _objc_msgSend_125 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer array)>>() + .asFunction< + instancetype Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_initWithObjects_ = objc.registerName("initWithObjects:"); +late final _sel_initWithArray_ = objc.registerName("initWithArray:"); +late final _sel_initWithArray_copyItems_ = + objc.registerName("initWithArray:copyItems:"); +final _objc_msgSend_126 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer array, + ffi.Bool flag)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool)>(); +late final _sel_initWithContentsOfURL_error_ = + objc.registerName("initWithContentsOfURL:error:"); +final _objc_msgSend_127 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer url, + ffi.Pointer> error)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>(); +late final _sel_arrayWithContentsOfURL_error_ = + objc.registerName("arrayWithContentsOfURL:error:"); + abstract class NSOrderedCollectionDifferenceCalculationOptions { static const int NSOrderedCollectionDifferenceCalculationOmitInsertedObjects = 1; @@ -47434,17 +9443,14 @@ abstract class NSOrderedCollectionDifferenceCalculationOptions { } bool _ObjCBlock_bool_objcObjCObject_objcObjCObject_fnPtrTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Pointer arg1, -) => + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1) => block.ref.target .cast< ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - )>>() + ffi.Bool Function(ffi.Pointer arg0, + ffi.Pointer arg1)>>() .asFunction< bool Function(ffi.Pointer, ffi.Pointer)>()(arg0, arg1); @@ -47454,8 +9460,9 @@ final _ObjCBlock_bool_objcObjCObject_objcObjCObject_closureRegistry = _ObjCBlock_bool_objcObjCObject_objcObjCObject_registerClosure( - bool Function(ffi.Pointer, ffi.Pointer) fn, -) { + bool Function( + ffi.Pointer, ffi.Pointer) + fn) { final id = ++_ObjCBlock_bool_objcObjCObject_objcObjCObject_closureRegistryIndex; _ObjCBlock_bool_objcObjCObject_objcObjCObject_closureRegistry[id] = fn; @@ -47463,36 +9470,26 @@ ffi.Pointer } bool _ObjCBlock_bool_objcObjCObject_objcObjCObject_closureTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Pointer arg1, -) => + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1) => _ObjCBlock_bool_objcObjCObject_objcObjCObject_closureRegistry[ block.ref.target.address]!(arg0, arg1); class ObjCBlock_bool_objcObjCObject_objcObjCObject extends objc.ObjCBlockBase { ObjCBlock_bool_objcObjCObject_objcObjCObject._( - ffi.Pointer pointer, - this._lib, { - bool retain = false, - bool release = true, - }) : super(pointer, retain: retain, release: release); - - AVFAudio _lib; + ffi.Pointer pointer, + {bool retain = false, + bool release = true}) + : super(pointer, retain: retain, release: release); /// Returns a block that wraps the given raw block pointer. static ObjCBlock_bool_objcObjCObject_objcObjCObject castFromPointer( - AVFAudio lib, - ffi.Pointer pointer, { - bool retain = false, - bool release = false, - }) { - return ObjCBlock_bool_objcObjCObject_objcObjCObject._( - pointer, - lib, - retain: retain, - release: release, - ); + ffi.Pointer pointer, + {bool retain = false, + bool release = false}) { + return ObjCBlock_bool_objcObjCObject_objcObjCObject._(pointer, + retain: retain, release: release); } /// Creates a block from a C function pointer. @@ -47501,28 +9498,21 @@ class ObjCBlock_bool_objcObjCObject_objcObjCObject extends objc.ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_bool_objcObjCObject_objcObjCObject.fromFunctionPointer( - AVFAudio lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - )>> - ptr, - ) : this._( - objc.newBlock( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>( - _ObjCBlock_bool_objcObjCObject_objcObjCObject_fnPtrTrampoline, - false, - ).cast(), - ptr.cast(), - ), - lib); + ffi.Pointer< + ffi.NativeFunction< + ffi.Bool Function(ffi.Pointer arg0, + ffi.Pointer arg1)>> + ptr) + : this._(objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>( + _ObjCBlock_bool_objcObjCObject_objcObjCObject_fnPtrTrampoline, + false) + .cast(), + ptr.cast())); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -47531,46 +9521,159 @@ class ObjCBlock_bool_objcObjCObject_objcObjCObject extends objc.ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_bool_objcObjCObject_objcObjCObject.fromFunction( - AVFAudio lib, - bool Function(NSObject, NSObject) fn, - ) : this._( - objc.newBlock( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>( - _ObjCBlock_bool_objcObjCObject_objcObjCObject_closureTrampoline, - false, - ).cast(), - _ObjCBlock_bool_objcObjCObject_objcObjCObject_registerClosure(( - ffi.Pointer arg0, - ffi.Pointer arg1, - ) => - fn( - NSObject._(arg0, lib, retain: true, release: true), - NSObject._(arg1, lib, retain: true, release: true), - )), - ), - lib); + bool Function(NSObject, NSObject) fn) + : this._(objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>( + _ObjCBlock_bool_objcObjCObject_objcObjCObject_closureTrampoline, false) + .cast(), + _ObjCBlock_bool_objcObjCObject_objcObjCObject_registerClosure( + (ffi.Pointer arg0, + ffi.Pointer arg1) => + fn(NSObject._(arg0, retain: true, release: true), NSObject._(arg1, retain: true, release: true))))); static ffi.Pointer? _dartFuncTrampoline; bool call(NSObject arg0, NSObject arg1) => pointer.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Pointer arg1, - )>>() - .asFunction< - bool Function( - ffi.Pointer, + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1)>>() + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>()( + pointer, arg0.pointer, arg1.pointer); +} + +late final _sel_differenceFromArray_withOptions_usingEquivalenceTest_ = + objc.registerName("differenceFromArray:withOptions:usingEquivalenceTest:"); +final _objc_msgSend_128 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer other, + ffi.Int32 options, + ffi.Pointer block)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, ffi.Pointer, + int, + ffi.Pointer)>(); +late final _sel_differenceFromArray_withOptions_ = + objc.registerName("differenceFromArray:withOptions:"); +final _objc_msgSend_129 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer other, + ffi.Int32 options)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int)>(); +late final _sel_differenceFromArray_ = + objc.registerName("differenceFromArray:"); +late final _sel_arrayByApplyingDifference_ = + objc.registerName("arrayByApplyingDifference:"); +final _objc_msgSend_130 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer difference)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_getObjects_ = objc.registerName("getObjects:"); +final _objc_msgSend_131 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer> objects)>>() + .asFunction< + void Function( ffi.Pointer, - )>()(pointer, arg0.pointer, arg1.pointer); -} + ffi.Pointer, + ffi.Pointer>)>(); +late final _sel_arrayWithContentsOfFile_ = + objc.registerName("arrayWithContentsOfFile:"); +final _objc_msgSend_132 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer path)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_arrayWithContentsOfURL_ = + objc.registerName("arrayWithContentsOfURL:"); +final _objc_msgSend_133 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer url)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_initWithContentsOfFile_ = + objc.registerName("initWithContentsOfFile:"); +late final _sel_initWithContentsOfURL_ = + objc.registerName("initWithContentsOfURL:"); +late final _sel_writeToURL_atomically_ = + objc.registerName("writeToURL:atomically:"); +final _objc_msgSend_134 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer url, + ffi.Bool atomically)>>() + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool)>(); +late final _sel_pathsMatchingExtensions_ = + objc.registerName("pathsMatchingExtensions:"); +late final _sel_valueForKey_ = objc.registerName("valueForKey:"); +late final _sel_setValue_forKey_ = objc.registerName("setValue:forKey:"); +final _objc_msgSend_135 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value, + ffi.Pointer key)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); abstract class NSKeyValueObservingOptions { static const int NSKeyValueObservingOptionNew = 1; @@ -47579,277 +9682,328 @@ abstract class NSKeyValueObservingOptions { static const int NSKeyValueObservingOptionPrior = 8; } +late final _sel_addObserver_toObjectsAtIndexes_forKeyPath_options_context_ = + objc.registerName( + "addObserver:toObjectsAtIndexes:forKeyPath:options:context:"); +final _objc_msgSend_136 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer observer, + ffi.Pointer indexes, + ffi.Pointer keyPath, + ffi.Int32 options, + ffi.Pointer context)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer)>(); +late final _sel_removeObserver_fromObjectsAtIndexes_forKeyPath_context_ = objc + .registerName("removeObserver:fromObjectsAtIndexes:forKeyPath:context:"); +final _objc_msgSend_137 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer observer, + ffi.Pointer indexes, + ffi.Pointer keyPath, + ffi.Pointer context)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_removeObserver_fromObjectsAtIndexes_forKeyPath_ = + objc.registerName("removeObserver:fromObjectsAtIndexes:forKeyPath:"); +final _objc_msgSend_138 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer observer, + ffi.Pointer indexes, + ffi.Pointer keyPath)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_addObserver_forKeyPath_options_context_ = + objc.registerName("addObserver:forKeyPath:options:context:"); +final _objc_msgSend_139 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer observer, + ffi.Pointer keyPath, + ffi.Int32 options, + ffi.Pointer context)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer)>(); +late final _sel_removeObserver_forKeyPath_context_ = + objc.registerName("removeObserver:forKeyPath:context:"); +final _objc_msgSend_140 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer observer, + ffi.Pointer keyPath, + ffi.Pointer context)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_removeObserver_forKeyPath_ = + objc.registerName("removeObserver:forKeyPath:"); +final _objc_msgSend_141 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer observer, + ffi.Pointer keyPath)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_sortedArrayUsingDescriptors_ = + objc.registerName("sortedArrayUsingDescriptors:"); + class NSPredicate extends NSObject { - NSPredicate._( - ffi.Pointer pointer, - AVFAudio lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSPredicate._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSPredicate] that points to the same underlying object as [other]. - static NSPredicate castFrom( - AVFAudio lib, - T other, - ) { - return NSPredicate._(other.pointer, lib, retain: true, release: true); + static NSPredicate castFrom(T other) { + return NSPredicate._(other.pointer, retain: true, release: true); } /// Returns a [NSPredicate] that wraps the given raw object pointer. - static NSPredicate castFromPointer( - AVFAudio lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSPredicate._(other, lib, retain: retain, release: release); + static NSPredicate castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSPredicate._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSPredicate]. - static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSPredicate1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0( + obj.pointer, _sel_isKindOfClass_, _class_NSPredicate); } static NSPredicate predicateWithFormat_argumentArray_( - AVFAudio _lib, - NSString predicateFormat, - NSArray? arguments, - ) { - final _ret = _lib._objc_msgSend_142( - _lib._class_NSPredicate1, - _lib._sel_predicateWithFormat_argumentArray_1, - predicateFormat.pointer, - arguments?.pointer ?? ffi.nullptr, - ); - return NSPredicate._(_ret, _lib, retain: true, release: true); - } - - static NSPredicate predicateWithFormat_( - AVFAudio _lib, - NSString predicateFormat, - ) { - final _ret = _lib._objc_msgSend_143( - _lib._class_NSPredicate1, - _lib._sel_predicateWithFormat_1, - predicateFormat.pointer, - ); - return NSPredicate._(_ret, _lib, retain: true, release: true); + NSString predicateFormat, NSArray? arguments) { + final _ret = _objc_msgSend_142( + _class_NSPredicate, + _sel_predicateWithFormat_argumentArray_, + predicateFormat.pointer, + arguments?.pointer ?? ffi.nullptr); + return NSPredicate._(_ret, retain: true, release: true); + } + + static NSPredicate predicateWithFormat_(NSString predicateFormat) { + final _ret = _objc_msgSend_143( + _class_NSPredicate, _sel_predicateWithFormat_, predicateFormat.pointer); + return NSPredicate._(_ret, retain: true, release: true); } static NSPredicate predicateWithFormat_arguments_( - AVFAudio _lib, - NSString predicateFormat, - ffi.Pointer<__va_list_tag> argList, - ) { - final _ret = _lib._objc_msgSend_144( - _lib._class_NSPredicate1, - _lib._sel_predicateWithFormat_arguments_1, - predicateFormat.pointer, - argList, - ); - return NSPredicate._(_ret, _lib, retain: true, release: true); - } - - static NSPredicate? predicateFromMetadataQueryString_( - AVFAudio _lib, - NSString queryString, - ) { - final _ret = _lib._objc_msgSend_145( - _lib._class_NSPredicate1, - _lib._sel_predicateFromMetadataQueryString_1, - queryString.pointer, - ); - return _ret.address == 0 - ? null - : NSPredicate._(_ret, _lib, retain: true, release: true); - } - - static NSPredicate predicateWithValue_(AVFAudio _lib, bool value) { - final _ret = _lib._objc_msgSend_146( - _lib._class_NSPredicate1, - _lib._sel_predicateWithValue_1, - value, - ); - return NSPredicate._(_ret, _lib, retain: true, release: true); + NSString predicateFormat, ffi.Pointer<__va_list_tag> argList) { + final _ret = _objc_msgSend_144(_class_NSPredicate, + _sel_predicateWithFormat_arguments_, predicateFormat.pointer, argList); + return NSPredicate._(_ret, retain: true, release: true); + } + + static NSPredicate? predicateFromMetadataQueryString_(NSString queryString) { + final _ret = _objc_msgSend_145(_class_NSPredicate, + _sel_predicateFromMetadataQueryString_, queryString.pointer); + return _ret.address == 0 + ? null + : NSPredicate._(_ret, retain: true, release: true); + } + + static NSPredicate predicateWithValue_(bool value) { + final _ret = + _objc_msgSend_146(_class_NSPredicate, _sel_predicateWithValue_, value); + return NSPredicate._(_ret, retain: true, release: true); } static NSPredicate predicateWithBlock_( - AVFAudio _lib, - ObjCBlock_bool_objcObjCObject_NSDictionary block, - ) { - final _ret = _lib._objc_msgSend_216( - _lib._class_NSPredicate1, - _lib._sel_predicateWithBlock_1, - block.pointer, - ); - return NSPredicate._(_ret, _lib, retain: true, release: true); + ObjCBlock_bool_objcObjCObject_NSDictionary block) { + final _ret = _objc_msgSend_216( + _class_NSPredicate, _sel_predicateWithBlock_, block.pointer); + return NSPredicate._(_ret, retain: true, release: true); } NSString get predicateFormat { - final _ret = _lib._objc_msgSend_21( - this.pointer, - _lib._sel_predicateFormat1, - ); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_predicateFormat); + return NSString._(_ret, retain: true, release: true); } NSPredicate predicateWithSubstitutionVariables_(NSDictionary variables) { - final _ret = _lib._objc_msgSend_159( - this.pointer, - _lib._sel_predicateWithSubstitutionVariables_1, - variables.pointer, - ); - return NSPredicate._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_159(this.pointer, + _sel_predicateWithSubstitutionVariables_, variables.pointer); + return NSPredicate._(_ret, retain: true, release: true); } bool evaluateWithObject_(NSObject? object) { - return _lib._objc_msgSend_217( - this.pointer, - _lib._sel_evaluateWithObject_1, - object?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_217( + this.pointer, _sel_evaluateWithObject_, object?.pointer ?? ffi.nullptr); } bool evaluateWithObject_substitutionVariables_( - NSObject? object, - NSDictionary? bindings, - ) { - return _lib._objc_msgSend_218( - this.pointer, - _lib._sel_evaluateWithObject_substitutionVariables_1, - object?.pointer ?? ffi.nullptr, - bindings?.pointer ?? ffi.nullptr, - ); + NSObject? object, NSDictionary? bindings) { + return _objc_msgSend_218( + this.pointer, + _sel_evaluateWithObject_substitutionVariables_, + object?.pointer ?? ffi.nullptr, + bindings?.pointer ?? ffi.nullptr); } void allowEvaluation() { - _lib._objc_msgSend_1(this.pointer, _lib._sel_allowEvaluation1); + _objc_msgSend_1(this.pointer, _sel_allowEvaluation); } @override NSPredicate init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSPredicate._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSPredicate._(_ret, retain: true, release: true); } - static NSPredicate new1(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2(_lib._class_NSPredicate1, _lib._sel_new1); - return NSPredicate._(_ret, _lib, retain: false, release: true); + static NSPredicate new1() { + final _ret = _objc_msgSend_2(_class_NSPredicate, _sel_new); + return NSPredicate._(_ret, retain: false, release: true); } - static NSPredicate allocWithZone_(AVFAudio _lib, ffi.Pointer<_NSZone> zone) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSPredicate1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSPredicate._(_ret, _lib, retain: false, release: true); + static NSPredicate allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = _objc_msgSend_3(_class_NSPredicate, _sel_allocWithZone_, zone); + return NSPredicate._(_ret, retain: false, release: true); } - static NSPredicate alloc(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSPredicate1, - _lib._sel_alloc1, - ); - return NSPredicate._(_ret, _lib, retain: false, release: true); + static NSPredicate alloc() { + final _ret = _objc_msgSend_2(_class_NSPredicate, _sel_alloc); + return NSPredicate._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSPredicate1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSPredicate1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSPredicate1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSPredicate1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSPredicate1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSPredicate1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSPredicate, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); } - static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSPredicate1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSPredicate1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSPredicate1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSPredicate, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); } -} + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSPredicate, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSPredicate, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSPredicate, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSPredicate, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); + } + + static void setKeys_triggerChangeNotificationsForDependentKey_( + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSPredicate, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = _objc_msgSend_85( + _class_NSPredicate, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = + _objc_msgSend_2(_class_NSPredicate, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); + } +} + +late final _class_NSPredicate = objc.getClass("NSPredicate"); +late final _sel_predicateWithFormat_argumentArray_ = + objc.registerName("predicateWithFormat:argumentArray:"); +final _objc_msgSend_142 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer predicateFormat, + ffi.Pointer arguments)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_predicateWithFormat_ = + objc.registerName("predicateWithFormat:"); +final _objc_msgSend_143 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer predicateFormat)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); final class __va_list_tag extends ffi.Struct { @ffi.UnsignedInt() @@ -47863,18 +10017,54 @@ final class __va_list_tag extends ffi.Struct { external ffi.Pointer reg_save_area; } +late final _sel_predicateWithFormat_arguments_ = + objc.registerName("predicateWithFormat:arguments:"); +final _objc_msgSend_144 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer predicateFormat, + ffi.Pointer<__va_list_tag> argList)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<__va_list_tag>)>(); +late final _sel_predicateFromMetadataQueryString_ = + objc.registerName("predicateFromMetadataQueryString:"); +final _objc_msgSend_145 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer queryString)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_predicateWithValue_ = objc.registerName("predicateWithValue:"); +final _objc_msgSend_146 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Bool value)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, bool)>(); bool _ObjCBlock_bool_objcObjCObject_NSDictionary_fnPtrTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Pointer arg1, -) => + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1) => block.ref.target .cast< ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - )>>() + ffi.Bool Function(ffi.Pointer arg0, + ffi.Pointer arg1)>>() .asFunction< bool Function(ffi.Pointer, ffi.Pointer)>()(arg0, arg1); @@ -47884,44 +10074,35 @@ final _ObjCBlock_bool_objcObjCObject_NSDictionary_closureRegistry = _ObjCBlock_bool_objcObjCObject_NSDictionary_registerClosure( - bool Function(ffi.Pointer, ffi.Pointer) fn, -) { + bool Function( + ffi.Pointer, ffi.Pointer) + fn) { final id = ++_ObjCBlock_bool_objcObjCObject_NSDictionary_closureRegistryIndex; _ObjCBlock_bool_objcObjCObject_NSDictionary_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } bool _ObjCBlock_bool_objcObjCObject_NSDictionary_closureTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Pointer arg1, -) => + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1) => _ObjCBlock_bool_objcObjCObject_NSDictionary_closureRegistry[ block.ref.target.address]!(arg0, arg1); class ObjCBlock_bool_objcObjCObject_NSDictionary extends objc.ObjCBlockBase { ObjCBlock_bool_objcObjCObject_NSDictionary._( - ffi.Pointer pointer, - this._lib, { - bool retain = false, - bool release = true, - }) : super(pointer, retain: retain, release: release); - - AVFAudio _lib; + ffi.Pointer pointer, + {bool retain = false, + bool release = true}) + : super(pointer, retain: retain, release: release); /// Returns a block that wraps the given raw block pointer. static ObjCBlock_bool_objcObjCObject_NSDictionary castFromPointer( - AVFAudio lib, - ffi.Pointer pointer, { - bool retain = false, - bool release = false, - }) { - return ObjCBlock_bool_objcObjCObject_NSDictionary._( - pointer, - lib, - retain: retain, - release: release, - ); + ffi.Pointer pointer, + {bool retain = false, + bool release = false}) { + return ObjCBlock_bool_objcObjCObject_NSDictionary._(pointer, + retain: retain, release: release); } /// Creates a block from a C function pointer. @@ -47930,28 +10111,21 @@ class ObjCBlock_bool_objcObjCObject_NSDictionary extends objc.ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_bool_objcObjCObject_NSDictionary.fromFunctionPointer( - AVFAudio lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - )>> - ptr, - ) : this._( - objc.newBlock( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>( - _ObjCBlock_bool_objcObjCObject_NSDictionary_fnPtrTrampoline, - false, - ).cast(), - ptr.cast(), - ), - lib); + ffi.Pointer< + ffi.NativeFunction< + ffi.Bool Function(ffi.Pointer arg0, + ffi.Pointer arg1)>> + ptr) + : this._(objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>( + _ObjCBlock_bool_objcObjCObject_NSDictionary_fnPtrTrampoline, + false) + .cast(), + ptr.cast())); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -47960,853 +10134,646 @@ class ObjCBlock_bool_objcObjCObject_NSDictionary extends objc.ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_bool_objcObjCObject_NSDictionary.fromFunction( - AVFAudio lib, - bool Function(NSObject?, NSDictionary?) fn, - ) : this._( - objc.newBlock( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>( - _ObjCBlock_bool_objcObjCObject_NSDictionary_closureTrampoline, - false, - ).cast(), - _ObjCBlock_bool_objcObjCObject_NSDictionary_registerClosure(( - ffi.Pointer arg0, - ffi.Pointer arg1, - ) => - fn( - arg0.address == 0 - ? null - : NSObject._(arg0, lib, retain: true, release: true), - arg1.address == 0 - ? null - : NSDictionary._(arg1, lib, - retain: true, release: true), - )), - ), - lib); + bool Function(NSObject?, NSDictionary?) fn) + : this._(objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>( + _ObjCBlock_bool_objcObjCObject_NSDictionary_closureTrampoline, false) + .cast(), + _ObjCBlock_bool_objcObjCObject_NSDictionary_registerClosure( + (ffi.Pointer arg0, ffi.Pointer arg1) => + fn(arg0.address == 0 ? null : NSObject._(arg0, retain: true, release: true), arg1.address == 0 ? null : NSDictionary._(arg1, retain: true, release: true))))); static ffi.Pointer? _dartFuncTrampoline; bool call(NSObject? arg0, NSDictionary? arg1) => pointer.ref.invoke .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Pointer arg1, - )>>() + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1)>>() .asFunction< bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>()( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>()( pointer, arg0?.pointer ?? ffi.nullptr, arg1?.pointer ?? ffi.nullptr); } class NSDictionary extends NSObject { - NSDictionary._( - ffi.Pointer pointer, - AVFAudio lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSDictionary._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSDictionary] that points to the same underlying object as [other]. - static NSDictionary castFrom( - AVFAudio lib, - T other, - ) { - return NSDictionary._(other.pointer, lib, retain: true, release: true); + static NSDictionary castFrom(T other) { + return NSDictionary._(other.pointer, retain: true, release: true); } /// Returns a [NSDictionary] that wraps the given raw object pointer. - static NSDictionary castFromPointer( - AVFAudio lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSDictionary._(other, lib, retain: retain, release: release); + static NSDictionary castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSDictionary._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSDictionary]. - static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSDictionary1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0( + obj.pointer, _sel_isKindOfClass_, _class_NSDictionary); } int get count { - return _lib._objc_msgSend_10(this.pointer, _lib._sel_count1); + return _objc_msgSend_10(this.pointer, _sel_count); } NSObject? objectForKey_(NSObject aKey) { - final _ret = _lib._objc_msgSend_16( - this.pointer, - _lib._sel_objectForKey_1, - aKey.pointer, - ); + final _ret = + _objc_msgSend_16(this.pointer, _sel_objectForKey_, aKey.pointer); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } NSEnumerator keyEnumerator() { - final _ret = _lib._objc_msgSend_77(this.pointer, _lib._sel_keyEnumerator1); - return NSEnumerator._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_77(this.pointer, _sel_keyEnumerator); + return NSEnumerator._(_ret, retain: true, release: true); } @override NSDictionary init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSDictionary._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSDictionary._(_ret, retain: true, release: true); } NSDictionary initWithObjects_forKeys_count_( - ffi.Pointer> objects, - ffi.Pointer> keys, - int cnt, - ) { - final _ret = _lib._objc_msgSend_147( - this.pointer, - _lib._sel_initWithObjects_forKeys_count_1, - objects, - keys, - cnt, - ); - return NSDictionary._(_ret, _lib, retain: true, release: true); + ffi.Pointer> objects, + ffi.Pointer> keys, + int cnt) { + final _ret = _objc_msgSend_147( + this.pointer, _sel_initWithObjects_forKeys_count_, objects, keys, cnt); + return NSDictionary._(_ret, retain: true, release: true); } NSDictionary? initWithCoder_(NSCoder coder) { - final _ret = _lib._objc_msgSend_47( - this.pointer, - _lib._sel_initWithCoder_1, - coder.pointer, - ); + final _ret = + _objc_msgSend_47(this.pointer, _sel_initWithCoder_, coder.pointer); return _ret.address == 0 ? null - : NSDictionary._(_ret, _lib, retain: true, release: true); + : NSDictionary._(_ret, retain: true, release: true); } NSArray get allKeys { - final _ret = _lib._objc_msgSend_85(this.pointer, _lib._sel_allKeys1); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_85(this.pointer, _sel_allKeys); + return NSArray._(_ret, retain: true, release: true); } NSArray allKeysForObject_(NSObject anObject) { - final _ret = _lib._objc_msgSend_67( - this.pointer, - _lib._sel_allKeysForObject_1, - anObject.pointer, - ); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_67( + this.pointer, _sel_allKeysForObject_, anObject.pointer); + return NSArray._(_ret, retain: true, release: true); } NSArray get allValues { - final _ret = _lib._objc_msgSend_85(this.pointer, _lib._sel_allValues1); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_85(this.pointer, _sel_allValues); + return NSArray._(_ret, retain: true, release: true); } NSString get description { - final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_description1); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_description); + return NSString._(_ret, retain: true, release: true); } NSString get descriptionInStringsFileFormat { - final _ret = _lib._objc_msgSend_21( - this.pointer, - _lib._sel_descriptionInStringsFileFormat1, - ); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_21(this.pointer, _sel_descriptionInStringsFileFormat); + return NSString._(_ret, retain: true, release: true); } NSString descriptionWithLocale_(NSObject? locale) { - final _ret = _lib._objc_msgSend_70( - this.pointer, - _lib._sel_descriptionWithLocale_1, - locale?.pointer ?? ffi.nullptr, - ); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_70(this.pointer, _sel_descriptionWithLocale_, + locale?.pointer ?? ffi.nullptr); + return NSString._(_ret, retain: true, release: true); } NSString descriptionWithLocale_indent_(NSObject? locale, int level) { - final _ret = _lib._objc_msgSend_71( - this.pointer, - _lib._sel_descriptionWithLocale_indent_1, - locale?.pointer ?? ffi.nullptr, - level, - ); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_71( + this.pointer, + _sel_descriptionWithLocale_indent_, + locale?.pointer ?? ffi.nullptr, + level); + return NSString._(_ret, retain: true, release: true); } bool isEqualToDictionary_(NSDictionary otherDictionary) { - return _lib._objc_msgSend_148( - this.pointer, - _lib._sel_isEqualToDictionary_1, - otherDictionary.pointer, - ); + return _objc_msgSend_148( + this.pointer, _sel_isEqualToDictionary_, otherDictionary.pointer); } NSEnumerator objectEnumerator() { - final _ret = _lib._objc_msgSend_77( - this.pointer, - _lib._sel_objectEnumerator1, - ); - return NSEnumerator._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_77(this.pointer, _sel_objectEnumerator); + return NSEnumerator._(_ret, retain: true, release: true); } NSArray objectsForKeys_notFoundMarker_(NSArray keys, NSObject marker) { - final _ret = _lib._objc_msgSend_149( - this.pointer, - _lib._sel_objectsForKeys_notFoundMarker_1, - keys.pointer, - marker.pointer, - ); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_149(this.pointer, + _sel_objectsForKeys_notFoundMarker_, keys.pointer, marker.pointer); + return NSArray._(_ret, retain: true, release: true); } bool writeToURL_error_( - NSURL url, - ffi.Pointer> error, - ) { - return _lib._objc_msgSend_89( - this.pointer, - _lib._sel_writeToURL_error_1, - url.pointer, - error, - ); + NSURL url, ffi.Pointer> error) { + return _objc_msgSend_89( + this.pointer, _sel_writeToURL_error_, url.pointer, error); } NSArray keysSortedByValueUsingSelector_( - ffi.Pointer comparator, - ) { - final _ret = _lib._objc_msgSend_80( - this.pointer, - _lib._sel_keysSortedByValueUsingSelector_1, - comparator, - ); - return NSArray._(_ret, _lib, retain: true, release: true); + ffi.Pointer comparator) { + final _ret = _objc_msgSend_80( + this.pointer, _sel_keysSortedByValueUsingSelector_, comparator); + return NSArray._(_ret, retain: true, release: true); } void getObjects_andKeys_count_( - ffi.Pointer> objects, - ffi.Pointer> keys, - int count, - ) { - _lib._objc_msgSend_150( - this.pointer, - _lib._sel_getObjects_andKeys_count_1, - objects, - keys, - count, - ); + ffi.Pointer> objects, + ffi.Pointer> keys, + int count) { + _objc_msgSend_150( + this.pointer, _sel_getObjects_andKeys_count_, objects, keys, count); } NSObject? objectForKeyedSubscript_(NSObject key) { - final _ret = _lib._objc_msgSend_16( - this.pointer, - _lib._sel_objectForKeyedSubscript_1, - key.pointer, - ); + final _ret = _objc_msgSend_16( + this.pointer, _sel_objectForKeyedSubscript_, key.pointer); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } void enumerateKeysAndObjectsUsingBlock_( - ObjCBlock_ffiVoid_objcObjCObject_objcObjCObject_bool block, - ) { - _lib._objc_msgSend_151( - this.pointer, - _lib._sel_enumerateKeysAndObjectsUsingBlock_1, - block.pointer, - ); + ObjCBlock_ffiVoid_objcObjCObject_objcObjCObject_bool block) { + _objc_msgSend_151( + this.pointer, _sel_enumerateKeysAndObjectsUsingBlock_, block.pointer); } void enumerateKeysAndObjectsWithOptions_usingBlock_( - int opts, - ObjCBlock_ffiVoid_objcObjCObject_objcObjCObject_bool block, - ) { - _lib._objc_msgSend_152( - this.pointer, - _lib._sel_enumerateKeysAndObjectsWithOptions_usingBlock_1, - opts, - block.pointer, - ); + int opts, ObjCBlock_ffiVoid_objcObjCObject_objcObjCObject_bool block) { + _objc_msgSend_152( + this.pointer, + _sel_enumerateKeysAndObjectsWithOptions_usingBlock_, + opts, + block.pointer); } NSArray keysSortedByValueUsingComparator_( - ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject cmptr, - ) { - final _ret = _lib._objc_msgSend_121( - this.pointer, - _lib._sel_keysSortedByValueUsingComparator_1, - cmptr.pointer, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - NSArray keysSortedByValueWithOptions_usingComparator_( - int opts, - ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject cmptr, - ) { - final _ret = _lib._objc_msgSend_122( - this.pointer, - _lib._sel_keysSortedByValueWithOptions_usingComparator_1, - opts, - cmptr.pointer, - ); - return NSArray._(_ret, _lib, retain: true, release: true); + ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject cmptr) { + final _ret = _objc_msgSend_121( + this.pointer, _sel_keysSortedByValueUsingComparator_, cmptr.pointer); + return NSArray._(_ret, retain: true, release: true); + } + + NSArray keysSortedByValueWithOptions_usingComparator_(int opts, + ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject cmptr) { + final _ret = _objc_msgSend_122( + this.pointer, + _sel_keysSortedByValueWithOptions_usingComparator_, + opts, + cmptr.pointer); + return NSArray._(_ret, retain: true, release: true); } NSObject keysOfEntriesPassingTest_( - ObjCBlock_bool_objcObjCObject_objcObjCObject_bool predicate, - ) { - final _ret = _lib._objc_msgSend_153( - this.pointer, - _lib._sel_keysOfEntriesPassingTest_1, - predicate.pointer, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + ObjCBlock_bool_objcObjCObject_objcObjCObject_bool predicate) { + final _ret = _objc_msgSend_153( + this.pointer, _sel_keysOfEntriesPassingTest_, predicate.pointer); + return NSObject._(_ret, retain: true, release: true); } NSObject keysOfEntriesWithOptions_passingTest_( - int opts, - ObjCBlock_bool_objcObjCObject_objcObjCObject_bool predicate, - ) { - final _ret = _lib._objc_msgSend_154( - this.pointer, - _lib._sel_keysOfEntriesWithOptions_passingTest_1, - opts, - predicate.pointer, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + int opts, ObjCBlock_bool_objcObjCObject_objcObjCObject_bool predicate) { + final _ret = _objc_msgSend_154(this.pointer, + _sel_keysOfEntriesWithOptions_passingTest_, opts, predicate.pointer); + return NSObject._(_ret, retain: true, release: true); } - void getObjects_andKeys_( - ffi.Pointer> objects, - ffi.Pointer> keys, - ) { - _lib._objc_msgSend_155( - this.pointer, - _lib._sel_getObjects_andKeys_1, - objects, - keys, - ); + void getObjects_andKeys_(ffi.Pointer> objects, + ffi.Pointer> keys) { + _objc_msgSend_155(this.pointer, _sel_getObjects_andKeys_, objects, keys); } - static NSDictionary? dictionaryWithContentsOfFile_( - AVFAudio _lib, - NSString path, - ) { - final _ret = _lib._objc_msgSend_156( - _lib._class_NSDictionary1, - _lib._sel_dictionaryWithContentsOfFile_1, - path.pointer, - ); + static NSDictionary? dictionaryWithContentsOfFile_(NSString path) { + final _ret = _objc_msgSend_156( + _class_NSDictionary, _sel_dictionaryWithContentsOfFile_, path.pointer); return _ret.address == 0 ? null - : NSDictionary._(_ret, _lib, retain: true, release: true); + : NSDictionary._(_ret, retain: true, release: true); } - static NSDictionary? dictionaryWithContentsOfURL_(AVFAudio _lib, NSURL url) { - final _ret = _lib._objc_msgSend_157( - _lib._class_NSDictionary1, - _lib._sel_dictionaryWithContentsOfURL_1, - url.pointer, - ); + static NSDictionary? dictionaryWithContentsOfURL_(NSURL url) { + final _ret = _objc_msgSend_157( + _class_NSDictionary, _sel_dictionaryWithContentsOfURL_, url.pointer); return _ret.address == 0 ? null - : NSDictionary._(_ret, _lib, retain: true, release: true); + : NSDictionary._(_ret, retain: true, release: true); } NSDictionary? initWithContentsOfFile_(NSString path) { - final _ret = _lib._objc_msgSend_156( - this.pointer, - _lib._sel_initWithContentsOfFile_1, - path.pointer, - ); + final _ret = _objc_msgSend_156( + this.pointer, _sel_initWithContentsOfFile_, path.pointer); return _ret.address == 0 ? null - : NSDictionary._(_ret, _lib, retain: true, release: true); + : NSDictionary._(_ret, retain: true, release: true); } NSDictionary? initWithContentsOfURL_(NSURL url) { - final _ret = _lib._objc_msgSend_157( - this.pointer, - _lib._sel_initWithContentsOfURL_1, - url.pointer, - ); + final _ret = _objc_msgSend_157( + this.pointer, _sel_initWithContentsOfURL_, url.pointer); return _ret.address == 0 ? null - : NSDictionary._(_ret, _lib, retain: true, release: true); + : NSDictionary._(_ret, retain: true, release: true); } bool writeToFile_atomically_(NSString path, bool useAuxiliaryFile) { - return _lib._objc_msgSend_26( - this.pointer, - _lib._sel_writeToFile_atomically_1, - path.pointer, - useAuxiliaryFile, - ); + return _objc_msgSend_26(this.pointer, _sel_writeToFile_atomically_, + path.pointer, useAuxiliaryFile); } bool writeToURL_atomically_(NSURL url, bool atomically) { - return _lib._objc_msgSend_134( - this.pointer, - _lib._sel_writeToURL_atomically_1, - url.pointer, - atomically, - ); + return _objc_msgSend_134( + this.pointer, _sel_writeToURL_atomically_, url.pointer, atomically); } - static NSDictionary dictionary(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSDictionary1, - _lib._sel_dictionary1, - ); - return NSDictionary._(_ret, _lib, retain: true, release: true); + static NSDictionary dictionary() { + final _ret = _objc_msgSend_2(_class_NSDictionary, _sel_dictionary); + return NSDictionary._(_ret, retain: true, release: true); } static NSDictionary dictionaryWithObject_forKey_( - AVFAudio _lib, - NSObject object, - NSObject key, - ) { - final _ret = _lib._objc_msgSend_158( - _lib._class_NSDictionary1, - _lib._sel_dictionaryWithObject_forKey_1, - object.pointer, - key.pointer, - ); - return NSDictionary._(_ret, _lib, retain: true, release: true); + NSObject object, NSObject key) { + final _ret = _objc_msgSend_158(_class_NSDictionary, + _sel_dictionaryWithObject_forKey_, object.pointer, key.pointer); + return NSDictionary._(_ret, retain: true, release: true); } static NSDictionary dictionaryWithObjects_forKeys_count_( - AVFAudio _lib, - ffi.Pointer> objects, - ffi.Pointer> keys, - int cnt, - ) { - final _ret = _lib._objc_msgSend_147( - _lib._class_NSDictionary1, - _lib._sel_dictionaryWithObjects_forKeys_count_1, - objects, - keys, - cnt, - ); - return NSDictionary._(_ret, _lib, retain: true, release: true); - } - - static NSDictionary dictionaryWithObjectsAndKeys_( - AVFAudio _lib, - NSObject firstObject, - ) { - final _ret = _lib._objc_msgSend_124( - _lib._class_NSDictionary1, - _lib._sel_dictionaryWithObjectsAndKeys_1, - firstObject.pointer, - ); - return NSDictionary._(_ret, _lib, retain: true, release: true); - } - - static NSDictionary dictionaryWithDictionary_( - AVFAudio _lib, - NSDictionary dict, - ) { - final _ret = _lib._objc_msgSend_159( - _lib._class_NSDictionary1, - _lib._sel_dictionaryWithDictionary_1, - dict.pointer, - ); - return NSDictionary._(_ret, _lib, retain: true, release: true); + ffi.Pointer> objects, + ffi.Pointer> keys, + int cnt) { + final _ret = _objc_msgSend_147(_class_NSDictionary, + _sel_dictionaryWithObjects_forKeys_count_, objects, keys, cnt); + return NSDictionary._(_ret, retain: true, release: true); + } + + static NSDictionary dictionaryWithObjectsAndKeys_(NSObject firstObject) { + final _ret = _objc_msgSend_124(_class_NSDictionary, + _sel_dictionaryWithObjectsAndKeys_, firstObject.pointer); + return NSDictionary._(_ret, retain: true, release: true); + } + + static NSDictionary dictionaryWithDictionary_(NSDictionary dict) { + final _ret = _objc_msgSend_159( + _class_NSDictionary, _sel_dictionaryWithDictionary_, dict.pointer); + return NSDictionary._(_ret, retain: true, release: true); } static NSDictionary dictionaryWithObjects_forKeys_( - AVFAudio _lib, - NSArray objects, - NSArray keys, - ) { - final _ret = _lib._objc_msgSend_160( - _lib._class_NSDictionary1, - _lib._sel_dictionaryWithObjects_forKeys_1, - objects.pointer, - keys.pointer, - ); - return NSDictionary._(_ret, _lib, retain: true, release: true); + NSArray objects, NSArray keys) { + final _ret = _objc_msgSend_160(_class_NSDictionary, + _sel_dictionaryWithObjects_forKeys_, objects.pointer, keys.pointer); + return NSDictionary._(_ret, retain: true, release: true); } NSDictionary initWithObjectsAndKeys_(NSObject firstObject) { - final _ret = _lib._objc_msgSend_124( - this.pointer, - _lib._sel_initWithObjectsAndKeys_1, - firstObject.pointer, - ); - return NSDictionary._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_124( + this.pointer, _sel_initWithObjectsAndKeys_, firstObject.pointer); + return NSDictionary._(_ret, retain: true, release: true); } NSDictionary initWithDictionary_(NSDictionary otherDictionary) { - final _ret = _lib._objc_msgSend_159( - this.pointer, - _lib._sel_initWithDictionary_1, - otherDictionary.pointer, - ); - return NSDictionary._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_159( + this.pointer, _sel_initWithDictionary_, otherDictionary.pointer); + return NSDictionary._(_ret, retain: true, release: true); } NSDictionary initWithDictionary_copyItems_( - NSDictionary otherDictionary, - bool flag, - ) { - final _ret = _lib._objc_msgSend_161( - this.pointer, - _lib._sel_initWithDictionary_copyItems_1, - otherDictionary.pointer, - flag, - ); - return NSDictionary._(_ret, _lib, retain: false, release: true); + NSDictionary otherDictionary, bool flag) { + final _ret = _objc_msgSend_161(this.pointer, + _sel_initWithDictionary_copyItems_, otherDictionary.pointer, flag); + return NSDictionary._(_ret, retain: false, release: true); } NSDictionary initWithObjects_forKeys_(NSArray objects, NSArray keys) { - final _ret = _lib._objc_msgSend_160( - this.pointer, - _lib._sel_initWithObjects_forKeys_1, - objects.pointer, - keys.pointer, - ); - return NSDictionary._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_160(this.pointer, _sel_initWithObjects_forKeys_, + objects.pointer, keys.pointer); + return NSDictionary._(_ret, retain: true, release: true); } NSDictionary? initWithContentsOfURL_error_( - NSURL url, - ffi.Pointer> error, - ) { - final _ret = _lib._objc_msgSend_162( - this.pointer, - _lib._sel_initWithContentsOfURL_error_1, - url.pointer, - error, - ); + NSURL url, ffi.Pointer> error) { + final _ret = _objc_msgSend_162( + this.pointer, _sel_initWithContentsOfURL_error_, url.pointer, error); return _ret.address == 0 ? null - : NSDictionary._(_ret, _lib, retain: true, release: true); + : NSDictionary._(_ret, retain: true, release: true); } static NSDictionary? dictionaryWithContentsOfURL_error_( - AVFAudio _lib, - NSURL url, - ffi.Pointer> error, - ) { - final _ret = _lib._objc_msgSend_162( - _lib._class_NSDictionary1, - _lib._sel_dictionaryWithContentsOfURL_error_1, - url.pointer, - error, - ); + NSURL url, ffi.Pointer> error) { + final _ret = _objc_msgSend_162(_class_NSDictionary, + _sel_dictionaryWithContentsOfURL_error_, url.pointer, error); return _ret.address == 0 ? null - : NSDictionary._(_ret, _lib, retain: true, release: true); + : NSDictionary._(_ret, retain: true, release: true); } - static NSObject sharedKeySetForKeys_(AVFAudio _lib, NSArray keys) { - final _ret = _lib._objc_msgSend_125( - _lib._class_NSDictionary1, - _lib._sel_sharedKeySetForKeys_1, - keys.pointer, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + static NSObject sharedKeySetForKeys_(NSArray keys) { + final _ret = _objc_msgSend_125( + _class_NSDictionary, _sel_sharedKeySetForKeys_, keys.pointer); + return NSObject._(_ret, retain: true, release: true); } int countByEnumeratingWithState_objects_count_( - ffi.Pointer state, - ffi.Pointer> buffer, - int len, - ) { - return _lib._objc_msgSend_163( - this.pointer, - _lib._sel_countByEnumeratingWithState_objects_count_1, - state, - buffer, - len, - ); + ffi.Pointer state, + ffi.Pointer> buffer, + int len) { + return _objc_msgSend_163(this.pointer, + _sel_countByEnumeratingWithState_objects_count_, state, buffer, len); } int fileSize() { - return _lib._objc_msgSend_164(this.pointer, _lib._sel_fileSize1); + return _objc_msgSend_164(this.pointer, _sel_fileSize); } NSDate? fileModificationDate() { - final _ret = _lib._objc_msgSend_183( - this.pointer, - _lib._sel_fileModificationDate1, - ); + final _ret = _objc_msgSend_183(this.pointer, _sel_fileModificationDate); return _ret.address == 0 ? null - : NSDate._(_ret, _lib, retain: true, release: true); + : NSDate._(_ret, retain: true, release: true); } NSString? fileType() { - final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_fileType1); + final _ret = _objc_msgSend_44(this.pointer, _sel_fileType); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } int filePosixPermissions() { - return _lib._objc_msgSend_10(this.pointer, _lib._sel_filePosixPermissions1); + return _objc_msgSend_10(this.pointer, _sel_filePosixPermissions); } NSString? fileOwnerAccountName() { - final _ret = _lib._objc_msgSend_44( - this.pointer, - _lib._sel_fileOwnerAccountName1, - ); + final _ret = _objc_msgSend_44(this.pointer, _sel_fileOwnerAccountName); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } NSString? fileGroupOwnerAccountName() { - final _ret = _lib._objc_msgSend_44( - this.pointer, - _lib._sel_fileGroupOwnerAccountName1, - ); + final _ret = _objc_msgSend_44(this.pointer, _sel_fileGroupOwnerAccountName); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } int fileSystemNumber() { - return _lib._objc_msgSend_83(this.pointer, _lib._sel_fileSystemNumber1); + return _objc_msgSend_83(this.pointer, _sel_fileSystemNumber); } int fileSystemFileNumber() { - return _lib._objc_msgSend_10(this.pointer, _lib._sel_fileSystemFileNumber1); + return _objc_msgSend_10(this.pointer, _sel_fileSystemFileNumber); } bool fileExtensionHidden() { - return _lib._objc_msgSend_12(this.pointer, _lib._sel_fileExtensionHidden1); + return _objc_msgSend_12(this.pointer, _sel_fileExtensionHidden); } int fileHFSCreatorCode() { - return _lib._objc_msgSend_214(this.pointer, _lib._sel_fileHFSCreatorCode1); + return _objc_msgSend_214(this.pointer, _sel_fileHFSCreatorCode); } int fileHFSTypeCode() { - return _lib._objc_msgSend_214(this.pointer, _lib._sel_fileHFSTypeCode1); + return _objc_msgSend_214(this.pointer, _sel_fileHFSTypeCode); } bool fileIsImmutable() { - return _lib._objc_msgSend_12(this.pointer, _lib._sel_fileIsImmutable1); + return _objc_msgSend_12(this.pointer, _sel_fileIsImmutable); } bool fileIsAppendOnly() { - return _lib._objc_msgSend_12(this.pointer, _lib._sel_fileIsAppendOnly1); + return _objc_msgSend_12(this.pointer, _sel_fileIsAppendOnly); } NSDate? fileCreationDate() { - final _ret = _lib._objc_msgSend_183( - this.pointer, - _lib._sel_fileCreationDate1, - ); + final _ret = _objc_msgSend_183(this.pointer, _sel_fileCreationDate); return _ret.address == 0 ? null - : NSDate._(_ret, _lib, retain: true, release: true); + : NSDate._(_ret, retain: true, release: true); } NSNumber? fileOwnerAccountID() { - final _ret = _lib._objc_msgSend_215( - this.pointer, - _lib._sel_fileOwnerAccountID1, - ); + final _ret = _objc_msgSend_215(this.pointer, _sel_fileOwnerAccountID); return _ret.address == 0 ? null - : NSNumber._(_ret, _lib, retain: true, release: true); + : NSNumber._(_ret, retain: true, release: true); } NSNumber? fileGroupOwnerAccountID() { - final _ret = _lib._objc_msgSend_215( - this.pointer, - _lib._sel_fileGroupOwnerAccountID1, - ); + final _ret = _objc_msgSend_215(this.pointer, _sel_fileGroupOwnerAccountID); return _ret.address == 0 ? null - : NSNumber._(_ret, _lib, retain: true, release: true); + : NSNumber._(_ret, retain: true, release: true); } @override NSObject? valueForKey_(NSString key) { - final _ret = _lib._objc_msgSend_38( - this.pointer, - _lib._sel_valueForKey_1, - key.pointer, - ); + final _ret = _objc_msgSend_38(this.pointer, _sel_valueForKey_, key.pointer); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } - static NSDictionary new1(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSDictionary1, - _lib._sel_new1, - ); - return NSDictionary._(_ret, _lib, retain: false, release: true); + static NSDictionary new1() { + final _ret = _objc_msgSend_2(_class_NSDictionary, _sel_new); + return NSDictionary._(_ret, retain: false, release: true); } - static NSDictionary allocWithZone_(AVFAudio _lib, ffi.Pointer<_NSZone> zone) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSDictionary1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSDictionary._(_ret, _lib, retain: false, release: true); + static NSDictionary allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = + _objc_msgSend_3(_class_NSDictionary, _sel_allocWithZone_, zone); + return NSDictionary._(_ret, retain: false, release: true); } - static NSDictionary alloc(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSDictionary1, - _lib._sel_alloc1, - ); - return NSDictionary._(_ret, _lib, retain: false, release: true); + static NSDictionary alloc() { + final _ret = _objc_msgSend_2(_class_NSDictionary, _sel_alloc); + return NSDictionary._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSDictionary1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSDictionary1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSDictionary1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSDictionary1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSDictionary1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSDictionary1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSDictionary, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); + } + + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSDictionary, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); + } + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSDictionary, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSDictionary, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSDictionary, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSDictionary, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); } static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSDictionary1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSDictionary1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSDictionary1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSDictionary, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = _objc_msgSend_85( + _class_NSDictionary, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = + _objc_msgSend_2(_class_NSDictionary, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); } } +late final _class_NSDictionary = objc.getClass("NSDictionary"); +late final _sel_objectForKey_ = objc.registerName("objectForKey:"); +late final _sel_keyEnumerator = objc.registerName("keyEnumerator"); +late final _sel_initWithObjects_forKeys_count_ = + objc.registerName("initWithObjects:forKeys:count:"); +final _objc_msgSend_147 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer> objects, + ffi.Pointer> keys, + ffi.UnsignedLong cnt)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer>, + int)>(); +late final _sel_allKeys = objc.registerName("allKeys"); +late final _sel_allKeysForObject_ = objc.registerName("allKeysForObject:"); +late final _sel_allValues = objc.registerName("allValues"); +late final _sel_descriptionInStringsFileFormat = + objc.registerName("descriptionInStringsFileFormat"); +late final _sel_isEqualToDictionary_ = + objc.registerName("isEqualToDictionary:"); +final _objc_msgSend_148 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer otherDictionary)>>() + .asFunction< + bool Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_objectsForKeys_notFoundMarker_ = + objc.registerName("objectsForKeys:notFoundMarker:"); +final _objc_msgSend_149 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer keys, + ffi.Pointer marker)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_keysSortedByValueUsingSelector_ = + objc.registerName("keysSortedByValueUsingSelector:"); +late final _sel_getObjects_andKeys_count_ = + objc.registerName("getObjects:andKeys:count:"); +final _objc_msgSend_150 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer> objects, + ffi.Pointer> keys, + ffi.UnsignedLong count)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer>, + int)>(); +late final _sel_objectForKeyedSubscript_ = + objc.registerName("objectForKeyedSubscript:"); void _ObjCBlock_ffiVoid_objcObjCObject_objcObjCObject_bool_fnPtrTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2, -) => + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2) => block.ref.target .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2, - )>>() + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2)>>() .asFunction< void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>()(arg0, arg1, arg2); + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>()(arg0, arg1, arg2); final _ObjCBlock_ffiVoid_objcObjCObject_objcObjCObject_bool_closureRegistry = , - ffi.Pointer, - ffi.Pointer, -)>{}; + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>{}; int _ObjCBlock_ffiVoid_objcObjCObject_objcObjCObject_bool_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_ffiVoid_objcObjCObject_objcObjCObject_bool_registerClosure( - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) fn, -) { + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer) + fn) { final id = ++_ObjCBlock_ffiVoid_objcObjCObject_objcObjCObject_bool_closureRegistryIndex; _ObjCBlock_ffiVoid_objcObjCObject_objcObjCObject_bool_closureRegistry[id] = @@ -48815,38 +10782,28 @@ ffi.Pointer } void _ObjCBlock_ffiVoid_objcObjCObject_objcObjCObject_bool_closureTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2, -) => + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2) => _ObjCBlock_ffiVoid_objcObjCObject_objcObjCObject_bool_closureRegistry[ block.ref.target.address]!(arg0, arg1, arg2); class ObjCBlock_ffiVoid_objcObjCObject_objcObjCObject_bool extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_objcObjCObject_objcObjCObject_bool._( - ffi.Pointer pointer, - this._lib, { - bool retain = false, - bool release = true, - }) : super(pointer, retain: retain, release: release); - - AVFAudio _lib; + ffi.Pointer pointer, + {bool retain = false, + bool release = true}) + : super(pointer, retain: retain, release: release); /// Returns a block that wraps the given raw block pointer. static ObjCBlock_ffiVoid_objcObjCObject_objcObjCObject_bool castFromPointer( - AVFAudio lib, - ffi.Pointer pointer, { - bool retain = false, - bool release = false, - }) { - return ObjCBlock_ffiVoid_objcObjCObject_objcObjCObject_bool._( - pointer, - lib, - retain: retain, - release: release, - ); + ffi.Pointer pointer, + {bool retain = false, + bool release = false}) { + return ObjCBlock_ffiVoid_objcObjCObject_objcObjCObject_bool._(pointer, + retain: retain, release: release); } /// Creates a block from a C function pointer. @@ -48855,29 +10812,23 @@ class ObjCBlock_ffiVoid_objcObjCObject_objcObjCObject_bool /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_objcObjCObject_objcObjCObject_bool.fromFunctionPointer( - AVFAudio lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2, - )>> - ptr, - ) : this._( - objc.newBlock( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Pointer< + ffi.NativeFunction< ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>( - _ObjCBlock_ffiVoid_objcObjCObject_objcObjCObject_bool_fnPtrTrampoline, - ).cast(), - ptr.cast(), - ), - lib); + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2)>> + ptr) + : this._(objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>( + _ObjCBlock_ffiVoid_objcObjCObject_objcObjCObject_bool_fnPtrTrampoline) + .cast(), + ptr.cast())); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -48886,32 +10837,21 @@ class ObjCBlock_ffiVoid_objcObjCObject_objcObjCObject_bool /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_objcObjCObject_objcObjCObject_bool.fromFunction( - AVFAudio lib, - void Function(NSObject, NSObject, ffi.Pointer) fn, - ) : this._( - objc.newBlock( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>( - _ObjCBlock_ffiVoid_objcObjCObject_objcObjCObject_bool_closureTrampoline, - ).cast(), - _ObjCBlock_ffiVoid_objcObjCObject_objcObjCObject_bool_registerClosure( - ( - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2, - ) => - fn( - NSObject._(arg0, lib, retain: true, release: true), - NSObject._(arg1, lib, retain: true, release: true), - arg2, - )), - ), - lib); + void Function(NSObject, NSObject, ffi.Pointer) fn) + : this._(objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>( + _ObjCBlock_ffiVoid_objcObjCObject_objcObjCObject_bool_closureTrampoline) + .cast(), + _ObjCBlock_ffiVoid_objcObjCObject_objcObjCObject_bool_registerClosure( + (ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2) => + fn(NSObject._(arg0, retain: true, release: true), NSObject._(arg1, retain: true, release: true), arg2)))); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -48924,96 +10864,106 @@ class ObjCBlock_ffiVoid_objcObjCObject_objcObjCObject_bool /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. ObjCBlock_ffiVoid_objcObjCObject_objcObjCObject_bool.listener( - AVFAudio lib, - void Function(NSObject, NSObject, ffi.Pointer) fn, - ) : this._( - objc.newBlock( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>.listener( - _ObjCBlock_ffiVoid_objcObjCObject_objcObjCObject_bool_closureTrampoline, - )..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_objcObjCObject_objcObjCObject_bool_registerClosure( - ( - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2, - ) => - fn( - NSObject._(arg0, lib, retain: true, release: true), - NSObject._(arg1, lib, retain: true, release: true), - arg2, - )), - ), - lib); + void Function(NSObject, NSObject, ffi.Pointer) fn) + : this._(objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>.listener( + _ObjCBlock_ffiVoid_objcObjCObject_objcObjCObject_bool_closureTrampoline) + ..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_objcObjCObject_objcObjCObject_bool_registerClosure( + (ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2) => + fn(NSObject._(arg0, retain: true, release: true), NSObject._(arg1, retain: true, release: true), arg2)))); static ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>? _dartFuncListenerTrampoline; - - void call(NSObject arg0, NSObject arg1, ffi.Pointer arg2) => - pointer.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2, - )>>() - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>()(pointer, arg0.pointer, arg1.pointer, arg2); -} + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>? _dartFuncListenerTrampoline; + void call(NSObject arg0, NSObject arg1, ffi.Pointer arg2) => + pointer.ref.invoke + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>()( + pointer, arg0.pointer, arg1.pointer, arg2); +} + +late final _sel_enumerateKeysAndObjectsUsingBlock_ = + objc.registerName("enumerateKeysAndObjectsUsingBlock:"); +final _objc_msgSend_151 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer block)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_enumerateKeysAndObjectsWithOptions_usingBlock_ = + objc.registerName("enumerateKeysAndObjectsWithOptions:usingBlock:"); +final _objc_msgSend_152 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Int32 opts, + ffi.Pointer block)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer)>(); +late final _sel_keysSortedByValueUsingComparator_ = + objc.registerName("keysSortedByValueUsingComparator:"); +late final _sel_keysSortedByValueWithOptions_usingComparator_ = + objc.registerName("keysSortedByValueWithOptions:usingComparator:"); bool _ObjCBlock_bool_objcObjCObject_objcObjCObject_bool_fnPtrTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2, -) => + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2) => block.ref.target .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2, - )>>() + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2)>>() .asFunction< bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>()(arg0, arg1, arg2); + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>()(arg0, arg1, arg2); final _ObjCBlock_bool_objcObjCObject_objcObjCObject_bool_closureRegistry = , - ffi.Pointer, - ffi.Pointer, -)>{}; + bool Function(ffi.Pointer, ffi.Pointer, + ffi.Pointer)>{}; int _ObjCBlock_bool_objcObjCObject_objcObjCObject_bool_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_bool_objcObjCObject_objcObjCObject_bool_registerClosure( - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) fn, -) { + bool Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer) + fn) { final id = ++_ObjCBlock_bool_objcObjCObject_objcObjCObject_bool_closureRegistryIndex; _ObjCBlock_bool_objcObjCObject_objcObjCObject_bool_closureRegistry[id] = fn; @@ -49021,38 +10971,28 @@ ffi.Pointer } bool _ObjCBlock_bool_objcObjCObject_objcObjCObject_bool_closureTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2, -) => + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2) => _ObjCBlock_bool_objcObjCObject_objcObjCObject_bool_closureRegistry[ block.ref.target.address]!(arg0, arg1, arg2); class ObjCBlock_bool_objcObjCObject_objcObjCObject_bool extends objc.ObjCBlockBase { ObjCBlock_bool_objcObjCObject_objcObjCObject_bool._( - ffi.Pointer pointer, - this._lib, { - bool retain = false, - bool release = true, - }) : super(pointer, retain: retain, release: release); - - AVFAudio _lib; + ffi.Pointer pointer, + {bool retain = false, + bool release = true}) + : super(pointer, retain: retain, release: release); /// Returns a block that wraps the given raw block pointer. static ObjCBlock_bool_objcObjCObject_objcObjCObject_bool castFromPointer( - AVFAudio lib, - ffi.Pointer pointer, { - bool retain = false, - bool release = false, - }) { - return ObjCBlock_bool_objcObjCObject_objcObjCObject_bool._( - pointer, - lib, - retain: retain, - release: release, - ); + ffi.Pointer pointer, + {bool retain = false, + bool release = false}) { + return ObjCBlock_bool_objcObjCObject_objcObjCObject_bool._(pointer, + retain: retain, release: release); } /// Creates a block from a C function pointer. @@ -49061,30 +11001,24 @@ class ObjCBlock_bool_objcObjCObject_objcObjCObject_bool /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_bool_objcObjCObject_objcObjCObject_bool.fromFunctionPointer( - AVFAudio lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2, - )>> - ptr, - ) : this._( - objc.newBlock( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Pointer< + ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>( - _ObjCBlock_bool_objcObjCObject_objcObjCObject_bool_fnPtrTrampoline, - false, - ).cast(), - ptr.cast(), - ), - lib); + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2)>> + ptr) + : this._(objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>( + _ObjCBlock_bool_objcObjCObject_objcObjCObject_bool_fnPtrTrampoline, + false) + .cast(), + ptr.cast())); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -49093,53 +11027,195 @@ class ObjCBlock_bool_objcObjCObject_objcObjCObject_bool /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_bool_objcObjCObject_objcObjCObject_bool.fromFunction( - AVFAudio lib, - bool Function(NSObject, NSObject, ffi.Pointer) fn, - ) : this._( - objc.newBlock( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>( - _ObjCBlock_bool_objcObjCObject_objcObjCObject_bool_closureTrampoline, - false, - ).cast(), - _ObjCBlock_bool_objcObjCObject_objcObjCObject_bool_registerClosure( - ( - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2, - ) => - fn( - NSObject._(arg0, lib, retain: true, release: true), - NSObject._(arg1, lib, retain: true, release: true), - arg2, - )), - ), - lib); + bool Function(NSObject, NSObject, ffi.Pointer) fn) + : this._(objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>( + _ObjCBlock_bool_objcObjCObject_objcObjCObject_bool_closureTrampoline, false) + .cast(), + _ObjCBlock_bool_objcObjCObject_objcObjCObject_bool_registerClosure((ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2) => + fn(NSObject._(arg0, retain: true, release: true), NSObject._(arg1, retain: true, release: true), arg2)))); static ffi.Pointer? _dartFuncTrampoline; bool call(NSObject arg0, NSObject arg1, ffi.Pointer arg2) => pointer.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2, - )>>() - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>()(pointer, arg0.pointer, arg1.pointer, arg2); -} + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2)>>() + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>()( + pointer, arg0.pointer, arg1.pointer, arg2); +} + +late final _sel_keysOfEntriesPassingTest_ = + objc.registerName("keysOfEntriesPassingTest:"); +final _objc_msgSend_153 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer predicate)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_keysOfEntriesWithOptions_passingTest_ = + objc.registerName("keysOfEntriesWithOptions:passingTest:"); +final _objc_msgSend_154 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Int32 opts, + ffi.Pointer predicate)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer)>(); +late final _sel_getObjects_andKeys_ = objc.registerName("getObjects:andKeys:"); +final _objc_msgSend_155 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer> objects, + ffi.Pointer> keys)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer>)>(); +late final _sel_dictionaryWithContentsOfFile_ = + objc.registerName("dictionaryWithContentsOfFile:"); +final _objc_msgSend_156 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer path)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_dictionaryWithContentsOfURL_ = + objc.registerName("dictionaryWithContentsOfURL:"); +final _objc_msgSend_157 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer url)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_dictionary = objc.registerName("dictionary"); +late final _sel_dictionaryWithObject_forKey_ = + objc.registerName("dictionaryWithObject:forKey:"); +final _objc_msgSend_158 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer object, + ffi.Pointer key)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_dictionaryWithObjects_forKeys_count_ = + objc.registerName("dictionaryWithObjects:forKeys:count:"); +late final _sel_dictionaryWithObjectsAndKeys_ = + objc.registerName("dictionaryWithObjectsAndKeys:"); +late final _sel_dictionaryWithDictionary_ = + objc.registerName("dictionaryWithDictionary:"); +final _objc_msgSend_159 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer dict)>>() + .asFunction< + instancetype Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_dictionaryWithObjects_forKeys_ = + objc.registerName("dictionaryWithObjects:forKeys:"); +final _objc_msgSend_160 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer objects, + ffi.Pointer keys)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_initWithObjectsAndKeys_ = + objc.registerName("initWithObjectsAndKeys:"); +late final _sel_initWithDictionary_ = objc.registerName("initWithDictionary:"); +late final _sel_initWithDictionary_copyItems_ = + objc.registerName("initWithDictionary:copyItems:"); +final _objc_msgSend_161 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer otherDictionary, + ffi.Bool flag)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool)>(); +late final _sel_initWithObjects_forKeys_ = + objc.registerName("initWithObjects:forKeys:"); +final _objc_msgSend_162 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer url, + ffi.Pointer> error)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>(); +late final _sel_dictionaryWithContentsOfURL_error_ = + objc.registerName("dictionaryWithContentsOfURL:error:"); +late final _sel_sharedKeySetForKeys_ = + objc.registerName("sharedKeySetForKeys:"); final class NSFastEnumerationState extends ffi.Struct { @ffi.UnsignedLong() @@ -49153,1509 +11229,1373 @@ final class NSFastEnumerationState extends ffi.Struct { external ffi.Array extra; } +late final _sel_countByEnumeratingWithState_objects_count_ = + objc.registerName("countByEnumeratingWithState:objects:count:"); +final _objc_msgSend_163 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer state, + ffi.Pointer> buffer, + ffi.UnsignedLong len)>>() + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + int)>(); +late final _sel_fileSize = objc.registerName("fileSize"); +final _objc_msgSend_164 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.UnsignedLongLong Function(ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + int Function( + ffi.Pointer, ffi.Pointer)>(); + class NSDate extends NSObject { - NSDate._( - ffi.Pointer pointer, - AVFAudio lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSDate._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSDate] that points to the same underlying object as [other]. - static NSDate castFrom(AVFAudio lib, T other) { - return NSDate._(other.pointer, lib, retain: true, release: true); + static NSDate castFrom(T other) { + return NSDate._(other.pointer, retain: true, release: true); } /// Returns a [NSDate] that wraps the given raw object pointer. - static NSDate castFromPointer( - AVFAudio lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSDate._(other, lib, retain: retain, release: release); + static NSDate castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSDate._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSDate]. - static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSDate1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0(obj.pointer, _sel_isKindOfClass_, _class_NSDate); } double get timeIntervalSinceReferenceDate { return objc.useMsgSendVariants - ? _lib._objc_msgSend_165_fpret( - this.pointer, - _lib._sel_timeIntervalSinceReferenceDate1, - ) - : _lib._objc_msgSend_165( - this.pointer, - _lib._sel_timeIntervalSinceReferenceDate1, - ); + ? _objc_msgSend_165Fpret( + this.pointer, _sel_timeIntervalSinceReferenceDate) + : _objc_msgSend_165(this.pointer, _sel_timeIntervalSinceReferenceDate); } @override NSDate init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSDate._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSDate._(_ret, retain: true, release: true); } NSDate initWithTimeIntervalSinceReferenceDate_(double ti) { - final _ret = _lib._objc_msgSend_166( - this.pointer, - _lib._sel_initWithTimeIntervalSinceReferenceDate_1, - ti, - ); - return NSDate._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_166( + this.pointer, _sel_initWithTimeIntervalSinceReferenceDate_, ti); + return NSDate._(_ret, retain: true, release: true); } NSDate? initWithCoder_(NSCoder coder) { - final _ret = _lib._objc_msgSend_47( - this.pointer, - _lib._sel_initWithCoder_1, - coder.pointer, - ); + final _ret = + _objc_msgSend_47(this.pointer, _sel_initWithCoder_, coder.pointer); return _ret.address == 0 ? null - : NSDate._(_ret, _lib, retain: true, release: true); + : NSDate._(_ret, retain: true, release: true); } double timeIntervalSinceDate_(NSDate anotherDate) { return objc.useMsgSendVariants - ? _lib._objc_msgSend_167_fpret( - this.pointer, - _lib._sel_timeIntervalSinceDate_1, - anotherDate.pointer, - ) - : _lib._objc_msgSend_167( - this.pointer, - _lib._sel_timeIntervalSinceDate_1, - anotherDate.pointer, - ); + ? _objc_msgSend_167Fpret( + this.pointer, _sel_timeIntervalSinceDate_, anotherDate.pointer) + : _objc_msgSend_167( + this.pointer, _sel_timeIntervalSinceDate_, anotherDate.pointer); } double get timeIntervalSinceNow { return objc.useMsgSendVariants - ? _lib._objc_msgSend_165_fpret( - this.pointer, - _lib._sel_timeIntervalSinceNow1, - ) - : _lib._objc_msgSend_165(this.pointer, _lib._sel_timeIntervalSinceNow1); + ? _objc_msgSend_165Fpret(this.pointer, _sel_timeIntervalSinceNow) + : _objc_msgSend_165(this.pointer, _sel_timeIntervalSinceNow); } double get timeIntervalSince1970 { return objc.useMsgSendVariants - ? _lib._objc_msgSend_165_fpret( - this.pointer, - _lib._sel_timeIntervalSince19701, - ) - : _lib._objc_msgSend_165( - this.pointer, - _lib._sel_timeIntervalSince19701, - ); + ? _objc_msgSend_165Fpret(this.pointer, _sel_timeIntervalSince1970) + : _objc_msgSend_165(this.pointer, _sel_timeIntervalSince1970); } NSObject addTimeInterval_(double seconds) { - final _ret = _lib._objc_msgSend_166( - this.pointer, - _lib._sel_addTimeInterval_1, - seconds, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_166(this.pointer, _sel_addTimeInterval_, seconds); + return NSObject._(_ret, retain: true, release: true); } NSDate dateByAddingTimeInterval_(double ti) { - final _ret = _lib._objc_msgSend_166( - this.pointer, - _lib._sel_dateByAddingTimeInterval_1, - ti, - ); - return NSDate._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_166(this.pointer, _sel_dateByAddingTimeInterval_, ti); + return NSDate._(_ret, retain: true, release: true); } NSDate earlierDate_(NSDate anotherDate) { - final _ret = _lib._objc_msgSend_168( - this.pointer, - _lib._sel_earlierDate_1, - anotherDate.pointer, - ); - return NSDate._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_168(this.pointer, _sel_earlierDate_, anotherDate.pointer); + return NSDate._(_ret, retain: true, release: true); } NSDate laterDate_(NSDate anotherDate) { - final _ret = _lib._objc_msgSend_168( - this.pointer, - _lib._sel_laterDate_1, - anotherDate.pointer, - ); - return NSDate._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_168(this.pointer, _sel_laterDate_, anotherDate.pointer); + return NSDate._(_ret, retain: true, release: true); } int compare_(NSDate other) { - return _lib._objc_msgSend_169( - this.pointer, - _lib._sel_compare_1, - other.pointer, - ); + return _objc_msgSend_169(this.pointer, _sel_compare_, other.pointer); } bool isEqualToDate_(NSDate otherDate) { - return _lib._objc_msgSend_170( - this.pointer, - _lib._sel_isEqualToDate_1, - otherDate.pointer, - ); + return _objc_msgSend_170( + this.pointer, _sel_isEqualToDate_, otherDate.pointer); } NSString get description { - final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_description1); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_description); + return NSString._(_ret, retain: true, release: true); } NSString descriptionWithLocale_(NSObject? locale) { - final _ret = _lib._objc_msgSend_70( - this.pointer, - _lib._sel_descriptionWithLocale_1, - locale?.pointer ?? ffi.nullptr, - ); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_70(this.pointer, _sel_descriptionWithLocale_, + locale?.pointer ?? ffi.nullptr); + return NSString._(_ret, retain: true, release: true); } - static NSDate date(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2(_lib._class_NSDate1, _lib._sel_date1); - return NSDate._(_ret, _lib, retain: true, release: true); + static NSDate date() { + final _ret = _objc_msgSend_2(_class_NSDate, _sel_date); + return NSDate._(_ret, retain: true, release: true); } - static NSDate dateWithTimeIntervalSinceNow_(AVFAudio _lib, double secs) { - final _ret = _lib._objc_msgSend_166( - _lib._class_NSDate1, - _lib._sel_dateWithTimeIntervalSinceNow_1, - secs, - ); - return NSDate._(_ret, _lib, retain: true, release: true); + static NSDate dateWithTimeIntervalSinceNow_(double secs) { + final _ret = _objc_msgSend_166( + _class_NSDate, _sel_dateWithTimeIntervalSinceNow_, secs); + return NSDate._(_ret, retain: true, release: true); } - static NSDate dateWithTimeIntervalSinceReferenceDate_( - AVFAudio _lib, - double ti, - ) { - final _ret = _lib._objc_msgSend_166( - _lib._class_NSDate1, - _lib._sel_dateWithTimeIntervalSinceReferenceDate_1, - ti, - ); - return NSDate._(_ret, _lib, retain: true, release: true); + static NSDate dateWithTimeIntervalSinceReferenceDate_(double ti) { + final _ret = _objc_msgSend_166( + _class_NSDate, _sel_dateWithTimeIntervalSinceReferenceDate_, ti); + return NSDate._(_ret, retain: true, release: true); } - static NSDate dateWithTimeIntervalSince1970_(AVFAudio _lib, double secs) { - final _ret = _lib._objc_msgSend_166( - _lib._class_NSDate1, - _lib._sel_dateWithTimeIntervalSince1970_1, - secs, - ); - return NSDate._(_ret, _lib, retain: true, release: true); + static NSDate dateWithTimeIntervalSince1970_(double secs) { + final _ret = _objc_msgSend_166( + _class_NSDate, _sel_dateWithTimeIntervalSince1970_, secs); + return NSDate._(_ret, retain: true, release: true); } static NSDate dateWithTimeInterval_sinceDate_( - AVFAudio _lib, - double secsToBeAdded, - NSDate date, - ) { - final _ret = _lib._objc_msgSend_171( - _lib._class_NSDate1, - _lib._sel_dateWithTimeInterval_sinceDate_1, - secsToBeAdded, - date.pointer, - ); - return NSDate._(_ret, _lib, retain: true, release: true); + double secsToBeAdded, NSDate date) { + final _ret = _objc_msgSend_171(_class_NSDate, + _sel_dateWithTimeInterval_sinceDate_, secsToBeAdded, date.pointer); + return NSDate._(_ret, retain: true, release: true); } - static NSDate getDistantFuture(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_172( - _lib._class_NSDate1, - _lib._sel_distantFuture1, - ); - return NSDate._(_ret, _lib, retain: true, release: true); + static NSDate getDistantFuture() { + final _ret = _objc_msgSend_172(_class_NSDate, _sel_distantFuture); + return NSDate._(_ret, retain: true, release: true); } - static NSDate getDistantPast(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_172( - _lib._class_NSDate1, - _lib._sel_distantPast1, - ); - return NSDate._(_ret, _lib, retain: true, release: true); + static NSDate getDistantPast() { + final _ret = _objc_msgSend_172(_class_NSDate, _sel_distantPast); + return NSDate._(_ret, retain: true, release: true); } - static NSDate getNow(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_172(_lib._class_NSDate1, _lib._sel_now1); - return NSDate._(_ret, _lib, retain: true, release: true); + static NSDate getNow() { + final _ret = _objc_msgSend_172(_class_NSDate, _sel_now); + return NSDate._(_ret, retain: true, release: true); } NSDate initWithTimeIntervalSinceNow_(double secs) { - final _ret = _lib._objc_msgSend_166( - this.pointer, - _lib._sel_initWithTimeIntervalSinceNow_1, - secs, - ); - return NSDate._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_166( + this.pointer, _sel_initWithTimeIntervalSinceNow_, secs); + return NSDate._(_ret, retain: true, release: true); } NSDate initWithTimeIntervalSince1970_(double secs) { - final _ret = _lib._objc_msgSend_166( - this.pointer, - _lib._sel_initWithTimeIntervalSince1970_1, - secs, - ); - return NSDate._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_166( + this.pointer, _sel_initWithTimeIntervalSince1970_, secs); + return NSDate._(_ret, retain: true, release: true); } NSDate initWithTimeInterval_sinceDate_(double secsToBeAdded, NSDate date) { - final _ret = _lib._objc_msgSend_171( - this.pointer, - _lib._sel_initWithTimeInterval_sinceDate_1, - secsToBeAdded, - date.pointer, - ); - return NSDate._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_171(this.pointer, + _sel_initWithTimeInterval_sinceDate_, secsToBeAdded, date.pointer); + return NSDate._(_ret, retain: true, release: true); } static NSObject? dateWithNaturalLanguageString_locale_( - AVFAudio _lib, - NSString string, - NSObject? locale, - ) { - final _ret = _lib._objc_msgSend_173( - _lib._class_NSDate1, - _lib._sel_dateWithNaturalLanguageString_locale_1, - string.pointer, - locale?.pointer ?? ffi.nullptr, - ); + NSString string, NSObject? locale) { + final _ret = _objc_msgSend_173( + _class_NSDate, + _sel_dateWithNaturalLanguageString_locale_, + string.pointer, + locale?.pointer ?? ffi.nullptr); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } - static NSObject? dateWithNaturalLanguageString_( - AVFAudio _lib, - NSString string, - ) { - final _ret = _lib._objc_msgSend_38( - _lib._class_NSDate1, - _lib._sel_dateWithNaturalLanguageString_1, - string.pointer, - ); + static NSObject? dateWithNaturalLanguageString_(NSString string) { + final _ret = _objc_msgSend_38( + _class_NSDate, _sel_dateWithNaturalLanguageString_, string.pointer); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } - static NSObject dateWithString_(AVFAudio _lib, NSString aString) { - final _ret = _lib._objc_msgSend_31( - _lib._class_NSDate1, - _lib._sel_dateWithString_1, - aString.pointer, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + static NSObject dateWithString_(NSString aString) { + final _ret = + _objc_msgSend_31(_class_NSDate, _sel_dateWithString_, aString.pointer); + return NSObject._(_ret, retain: true, release: true); } NSCalendarDate dateWithCalendarFormat_timeZone_( - NSString? format, - NSTimeZone? aTimeZone, - ) { - final _ret = _lib._objc_msgSend_212( - this.pointer, - _lib._sel_dateWithCalendarFormat_timeZone_1, - format?.pointer ?? ffi.nullptr, - aTimeZone?.pointer ?? ffi.nullptr, - ); - return NSCalendarDate._(_ret, _lib, retain: true, release: true); + NSString? format, NSTimeZone? aTimeZone) { + final _ret = _objc_msgSend_212( + this.pointer, + _sel_dateWithCalendarFormat_timeZone_, + format?.pointer ?? ffi.nullptr, + aTimeZone?.pointer ?? ffi.nullptr); + return NSCalendarDate._(_ret, retain: true, release: true); } NSString? descriptionWithCalendarFormat_timeZone_locale_( - NSString? format, - NSTimeZone? aTimeZone, - NSObject? locale, - ) { - final _ret = _lib._objc_msgSend_213( - this.pointer, - _lib._sel_descriptionWithCalendarFormat_timeZone_locale_1, - format?.pointer ?? ffi.nullptr, - aTimeZone?.pointer ?? ffi.nullptr, - locale?.pointer ?? ffi.nullptr, - ); + NSString? format, NSTimeZone? aTimeZone, NSObject? locale) { + final _ret = _objc_msgSend_213( + this.pointer, + _sel_descriptionWithCalendarFormat_timeZone_locale_, + format?.pointer ?? ffi.nullptr, + aTimeZone?.pointer ?? ffi.nullptr, + locale?.pointer ?? ffi.nullptr); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } NSObject? initWithString_(NSString description) { - final _ret = _lib._objc_msgSend_38( - this.pointer, - _lib._sel_initWithString_1, - description.pointer, - ); + final _ret = _objc_msgSend_38( + this.pointer, _sel_initWithString_, description.pointer); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } - static NSDate new1(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2(_lib._class_NSDate1, _lib._sel_new1); - return NSDate._(_ret, _lib, retain: false, release: true); + static NSDate new1() { + final _ret = _objc_msgSend_2(_class_NSDate, _sel_new); + return NSDate._(_ret, retain: false, release: true); } - static NSDate allocWithZone_(AVFAudio _lib, ffi.Pointer<_NSZone> zone) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSDate1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSDate._(_ret, _lib, retain: false, release: true); + static NSDate allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = _objc_msgSend_3(_class_NSDate, _sel_allocWithZone_, zone); + return NSDate._(_ret, retain: false, release: true); } - static NSDate alloc(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2(_lib._class_NSDate1, _lib._sel_alloc1); - return NSDate._(_ret, _lib, retain: false, release: true); + static NSDate alloc() { + final _ret = _objc_msgSend_2(_class_NSDate, _sel_alloc); + return NSDate._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSDate1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSDate1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSDate1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSDate1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSDate1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSDate1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSDate, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); } - static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSDate1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSDate1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSDate1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSDate, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); + } + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSDate, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSDate, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSDate, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); } -} + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64( + _class_NSDate, _sel_automaticallyNotifiesObserversForKey_, key.pointer); + } + + static void setKeys_triggerChangeNotificationsForDependentKey_( + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSDate, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = + _objc_msgSend_85(_class_NSDate, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = _objc_msgSend_2(_class_NSDate, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); + } +} + +late final _class_NSDate = objc.getClass("NSDate"); +late final _sel_timeIntervalSinceReferenceDate = + objc.registerName("timeIntervalSinceReferenceDate"); +final _objc_msgSend_165 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Double Function(ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + double Function( + ffi.Pointer, ffi.Pointer)>(); +final _objc_msgSend_165Fpret = objc.msgSendFpretPointer + .cast< + ffi.NativeFunction< + ffi.Double Function(ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + double Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_initWithTimeIntervalSinceReferenceDate_ = + objc.registerName("initWithTimeIntervalSinceReferenceDate:"); +final _objc_msgSend_166 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function(ffi.Pointer obj, + ffi.Pointer sel, ffi.Double ti)>>() + .asFunction< + instancetype Function(ffi.Pointer, + ffi.Pointer, double)>(); +late final _sel_timeIntervalSinceDate_ = + objc.registerName("timeIntervalSinceDate:"); +final _objc_msgSend_167 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Double Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer anotherDate)>>() + .asFunction< + double Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +final _objc_msgSend_167Fpret = objc.msgSendFpretPointer + .cast< + ffi.NativeFunction< + ffi.Double Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer anotherDate)>>() + .asFunction< + double Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_timeIntervalSinceNow = + objc.registerName("timeIntervalSinceNow"); +late final _sel_timeIntervalSince1970 = + objc.registerName("timeIntervalSince1970"); +late final _sel_addTimeInterval_ = objc.registerName("addTimeInterval:"); +late final _sel_dateByAddingTimeInterval_ = + objc.registerName("dateByAddingTimeInterval:"); +late final _sel_earlierDate_ = objc.registerName("earlierDate:"); +final _objc_msgSend_168 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer anotherDate)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_laterDate_ = objc.registerName("laterDate:"); +late final _sel_compare_ = objc.registerName("compare:"); +final _objc_msgSend_169 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer other)>>() + .asFunction< + int Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_isEqualToDate_ = objc.registerName("isEqualToDate:"); +final _objc_msgSend_170 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer otherDate)>>() + .asFunction< + bool Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_date = objc.registerName("date"); +late final _sel_dateWithTimeIntervalSinceNow_ = + objc.registerName("dateWithTimeIntervalSinceNow:"); +late final _sel_dateWithTimeIntervalSinceReferenceDate_ = + objc.registerName("dateWithTimeIntervalSinceReferenceDate:"); +late final _sel_dateWithTimeIntervalSince1970_ = + objc.registerName("dateWithTimeIntervalSince1970:"); +late final _sel_dateWithTimeInterval_sinceDate_ = + objc.registerName("dateWithTimeInterval:sinceDate:"); +final _objc_msgSend_171 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Double secsToBeAdded, + ffi.Pointer date)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + double, + ffi.Pointer)>(); +late final _sel_distantFuture = objc.registerName("distantFuture"); +final _objc_msgSend_172 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_distantPast = objc.registerName("distantPast"); +late final _sel_now = objc.registerName("now"); +late final _sel_initWithTimeIntervalSinceNow_ = + objc.registerName("initWithTimeIntervalSinceNow:"); +late final _sel_initWithTimeIntervalSince1970_ = + objc.registerName("initWithTimeIntervalSince1970:"); +late final _sel_initWithTimeInterval_sinceDate_ = + objc.registerName("initWithTimeInterval:sinceDate:"); +late final _sel_dateWithNaturalLanguageString_locale_ = + objc.registerName("dateWithNaturalLanguageString:locale:"); +final _objc_msgSend_173 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer string, + ffi.Pointer locale)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_dateWithNaturalLanguageString_ = + objc.registerName("dateWithNaturalLanguageString:"); +late final _sel_dateWithString_ = objc.registerName("dateWithString:"); class NSCalendarDate extends NSDate { - NSCalendarDate._( - ffi.Pointer pointer, - AVFAudio lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSCalendarDate._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSCalendarDate] that points to the same underlying object as [other]. - static NSCalendarDate castFrom( - AVFAudio lib, - T other, - ) { - return NSCalendarDate._(other.pointer, lib, retain: true, release: true); + static NSCalendarDate castFrom(T other) { + return NSCalendarDate._(other.pointer, retain: true, release: true); } /// Returns a [NSCalendarDate] that wraps the given raw object pointer. - static NSCalendarDate castFromPointer( - AVFAudio lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSCalendarDate._(other, lib, retain: retain, release: release); + static NSCalendarDate castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSCalendarDate._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSCalendarDate]. - static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSCalendarDate1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0( + obj.pointer, _sel_isKindOfClass_, _class_NSCalendarDate); } - static NSObject calendarDate(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSCalendarDate1, - _lib._sel_calendarDate1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + static NSObject calendarDate() { + final _ret = _objc_msgSend_2(_class_NSCalendarDate, _sel_calendarDate); + return NSObject._(_ret, retain: true, release: true); } static NSObject? dateWithString_calendarFormat_locale_( - AVFAudio _lib, - NSString description, - NSString format, - NSObject? locale, - ) { - final _ret = _lib._objc_msgSend_174( - _lib._class_NSCalendarDate1, - _lib._sel_dateWithString_calendarFormat_locale_1, - description.pointer, - format.pointer, - locale?.pointer ?? ffi.nullptr, - ); + NSString description, NSString format, NSObject? locale) { + final _ret = _objc_msgSend_174( + _class_NSCalendarDate, + _sel_dateWithString_calendarFormat_locale_, + description.pointer, + format.pointer, + locale?.pointer ?? ffi.nullptr); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } static NSObject? dateWithString_calendarFormat_( - AVFAudio _lib, - NSString description, - NSString format, - ) { - final _ret = _lib._objc_msgSend_175( - _lib._class_NSCalendarDate1, - _lib._sel_dateWithString_calendarFormat_1, - description.pointer, - format.pointer, - ); + NSString description, NSString format) { + final _ret = _objc_msgSend_175( + _class_NSCalendarDate, + _sel_dateWithString_calendarFormat_, + description.pointer, + format.pointer); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } static NSObject dateWithYear_month_day_hour_minute_second_timeZone_( - AVFAudio _lib, - int year, - int month, - int day, - int hour, - int minute, - int second, - NSTimeZone? aTimeZone, - ) { - final _ret = _lib._objc_msgSend_206( - _lib._class_NSCalendarDate1, - _lib._sel_dateWithYear_month_day_hour_minute_second_timeZone_1, - year, - month, - day, - hour, - minute, - second, - aTimeZone?.pointer ?? ffi.nullptr, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + int year, + int month, + int day, + int hour, + int minute, + int second, + NSTimeZone? aTimeZone) { + final _ret = _objc_msgSend_206( + _class_NSCalendarDate, + _sel_dateWithYear_month_day_hour_minute_second_timeZone_, + year, + month, + day, + hour, + minute, + second, + aTimeZone?.pointer ?? ffi.nullptr); + return NSObject._(_ret, retain: true, release: true); } NSCalendarDate dateByAddingYears_months_days_hours_minutes_seconds_( - int year, - int month, - int day, - int hour, - int minute, - int second, - ) { - final _ret = _lib._objc_msgSend_207( - this.pointer, - _lib._sel_dateByAddingYears_months_days_hours_minutes_seconds_1, - year, - month, - day, - hour, - minute, - second, - ); - return NSCalendarDate._(_ret, _lib, retain: true, release: true); + int year, int month, int day, int hour, int minute, int second) { + final _ret = _objc_msgSend_207( + this.pointer, + _sel_dateByAddingYears_months_days_hours_minutes_seconds_, + year, + month, + day, + hour, + minute, + second); + return NSCalendarDate._(_ret, retain: true, release: true); } int dayOfCommonEra() { - return _lib._objc_msgSend_83(this.pointer, _lib._sel_dayOfCommonEra1); + return _objc_msgSend_83(this.pointer, _sel_dayOfCommonEra); } int dayOfMonth() { - return _lib._objc_msgSend_83(this.pointer, _lib._sel_dayOfMonth1); + return _objc_msgSend_83(this.pointer, _sel_dayOfMonth); } int dayOfWeek() { - return _lib._objc_msgSend_83(this.pointer, _lib._sel_dayOfWeek1); + return _objc_msgSend_83(this.pointer, _sel_dayOfWeek); } int dayOfYear() { - return _lib._objc_msgSend_83(this.pointer, _lib._sel_dayOfYear1); + return _objc_msgSend_83(this.pointer, _sel_dayOfYear); } int hourOfDay() { - return _lib._objc_msgSend_83(this.pointer, _lib._sel_hourOfDay1); + return _objc_msgSend_83(this.pointer, _sel_hourOfDay); } int minuteOfHour() { - return _lib._objc_msgSend_83(this.pointer, _lib._sel_minuteOfHour1); + return _objc_msgSend_83(this.pointer, _sel_minuteOfHour); } int monthOfYear() { - return _lib._objc_msgSend_83(this.pointer, _lib._sel_monthOfYear1); + return _objc_msgSend_83(this.pointer, _sel_monthOfYear); } int secondOfMinute() { - return _lib._objc_msgSend_83(this.pointer, _lib._sel_secondOfMinute1); + return _objc_msgSend_83(this.pointer, _sel_secondOfMinute); } int yearOfCommonEra() { - return _lib._objc_msgSend_83(this.pointer, _lib._sel_yearOfCommonEra1); + return _objc_msgSend_83(this.pointer, _sel_yearOfCommonEra); } NSString calendarFormat() { - final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_calendarFormat1); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_calendarFormat); + return NSString._(_ret, retain: true, release: true); } NSString descriptionWithCalendarFormat_locale_( - NSString format, - NSObject? locale, - ) { - final _ret = _lib._objc_msgSend_208( - this.pointer, - _lib._sel_descriptionWithCalendarFormat_locale_1, - format.pointer, - locale?.pointer ?? ffi.nullptr, - ); - return NSString._(_ret, _lib, retain: true, release: true); + NSString format, NSObject? locale) { + final _ret = _objc_msgSend_208( + this.pointer, + _sel_descriptionWithCalendarFormat_locale_, + format.pointer, + locale?.pointer ?? ffi.nullptr); + return NSString._(_ret, retain: true, release: true); } NSString descriptionWithCalendarFormat_(NSString format) { - final _ret = _lib._objc_msgSend_69( - this.pointer, - _lib._sel_descriptionWithCalendarFormat_1, - format.pointer, - ); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_69( + this.pointer, _sel_descriptionWithCalendarFormat_, format.pointer); + return NSString._(_ret, retain: true, release: true); } @override NSString descriptionWithLocale_(NSObject? locale) { - final _ret = _lib._objc_msgSend_70( - this.pointer, - _lib._sel_descriptionWithLocale_1, - locale?.pointer ?? ffi.nullptr, - ); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_70(this.pointer, _sel_descriptionWithLocale_, + locale?.pointer ?? ffi.nullptr); + return NSString._(_ret, retain: true, release: true); } NSTimeZone timeZone() { - final _ret = _lib._objc_msgSend_179(this.pointer, _lib._sel_timeZone1); - return NSTimeZone._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_179(this.pointer, _sel_timeZone); + return NSTimeZone._(_ret, retain: true, release: true); } NSObject? initWithString_calendarFormat_locale_( - NSString description, - NSString format, - NSObject? locale, - ) { - final _ret = _lib._objc_msgSend_174( - this.pointer, - _lib._sel_initWithString_calendarFormat_locale_1, - description.pointer, - format.pointer, - locale?.pointer ?? ffi.nullptr, - ); + NSString description, NSString format, NSObject? locale) { + final _ret = _objc_msgSend_174( + this.pointer, + _sel_initWithString_calendarFormat_locale_, + description.pointer, + format.pointer, + locale?.pointer ?? ffi.nullptr); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } NSObject? initWithString_calendarFormat_( - NSString description, - NSString format, - ) { - final _ret = _lib._objc_msgSend_175( - this.pointer, - _lib._sel_initWithString_calendarFormat_1, - description.pointer, - format.pointer, - ); + NSString description, NSString format) { + final _ret = _objc_msgSend_175( + this.pointer, + _sel_initWithString_calendarFormat_, + description.pointer, + format.pointer); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } @override NSObject? initWithString_(NSString description) { - final _ret = _lib._objc_msgSend_38( - this.pointer, - _lib._sel_initWithString_1, - description.pointer, - ); + final _ret = _objc_msgSend_38( + this.pointer, _sel_initWithString_, description.pointer); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } NSObject initWithYear_month_day_hour_minute_second_timeZone_( - int year, - int month, - int day, - int hour, - int minute, - int second, - NSTimeZone? aTimeZone, - ) { - final _ret = _lib._objc_msgSend_206( - this.pointer, - _lib._sel_initWithYear_month_day_hour_minute_second_timeZone_1, - year, - month, - day, - hour, - minute, - second, - aTimeZone?.pointer ?? ffi.nullptr, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + int year, + int month, + int day, + int hour, + int minute, + int second, + NSTimeZone? aTimeZone) { + final _ret = _objc_msgSend_206( + this.pointer, + _sel_initWithYear_month_day_hour_minute_second_timeZone_, + year, + month, + day, + hour, + minute, + second, + aTimeZone?.pointer ?? ffi.nullptr); + return NSObject._(_ret, retain: true, release: true); } void setCalendarFormat_(NSString? format) { - _lib._objc_msgSend_209( - this.pointer, - _lib._sel_setCalendarFormat_1, - format?.pointer ?? ffi.nullptr, - ); + _objc_msgSend_209( + this.pointer, _sel_setCalendarFormat_, format?.pointer ?? ffi.nullptr); } void setTimeZone_(NSTimeZone? aTimeZone) { - _lib._objc_msgSend_210( - this.pointer, - _lib._sel_setTimeZone_1, - aTimeZone?.pointer ?? ffi.nullptr, - ); + _objc_msgSend_210( + this.pointer, _sel_setTimeZone_, aTimeZone?.pointer ?? ffi.nullptr); } void years_months_days_hours_minutes_seconds_sinceDate_( - ffi.Pointer yp, - ffi.Pointer mop, - ffi.Pointer dp, - ffi.Pointer hp, - ffi.Pointer mip, - ffi.Pointer sp, - NSCalendarDate date, - ) { - _lib._objc_msgSend_211( - this.pointer, - _lib._sel_years_months_days_hours_minutes_seconds_sinceDate_1, - yp, - mop, - dp, - hp, - mip, - sp, - date.pointer, - ); - } - - static NSDate getDistantFuture(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_172( - _lib._class_NSCalendarDate1, - _lib._sel_distantFuture1, - ); - return NSDate._(_ret, _lib, retain: true, release: true); - } - - static NSDate getDistantPast(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_172( - _lib._class_NSCalendarDate1, - _lib._sel_distantPast1, - ); - return NSDate._(_ret, _lib, retain: true, release: true); + ffi.Pointer yp, + ffi.Pointer mop, + ffi.Pointer dp, + ffi.Pointer hp, + ffi.Pointer mip, + ffi.Pointer sp, + NSCalendarDate date) { + _objc_msgSend_211( + this.pointer, + _sel_years_months_days_hours_minutes_seconds_sinceDate_, + yp, + mop, + dp, + hp, + mip, + sp, + date.pointer); + } + + static NSDate getDistantFuture() { + final _ret = _objc_msgSend_172(_class_NSCalendarDate, _sel_distantFuture); + return NSDate._(_ret, retain: true, release: true); + } + + static NSDate getDistantPast() { + final _ret = _objc_msgSend_172(_class_NSCalendarDate, _sel_distantPast); + return NSDate._(_ret, retain: true, release: true); } @override NSCalendarDate init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSCalendarDate._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSCalendarDate._(_ret, retain: true, release: true); } @override NSCalendarDate initWithTimeIntervalSinceReferenceDate_(double ti) { - final _ret = _lib._objc_msgSend_166( - this.pointer, - _lib._sel_initWithTimeIntervalSinceReferenceDate_1, - ti, - ); - return NSCalendarDate._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_166( + this.pointer, _sel_initWithTimeIntervalSinceReferenceDate_, ti); + return NSCalendarDate._(_ret, retain: true, release: true); } @override NSCalendarDate? initWithCoder_(NSCoder coder) { - final _ret = _lib._objc_msgSend_47( - this.pointer, - _lib._sel_initWithCoder_1, - coder.pointer, - ); + final _ret = + _objc_msgSend_47(this.pointer, _sel_initWithCoder_, coder.pointer); return _ret.address == 0 ? null - : NSCalendarDate._(_ret, _lib, retain: true, release: true); + : NSCalendarDate._(_ret, retain: true, release: true); } @override NSCalendarDate dateByAddingTimeInterval_(double ti) { - final _ret = _lib._objc_msgSend_166( - this.pointer, - _lib._sel_dateByAddingTimeInterval_1, - ti, - ); - return NSCalendarDate._(_ret, _lib, retain: true, release: true); - } - - static NSCalendarDate date(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSCalendarDate1, - _lib._sel_date1, - ); - return NSCalendarDate._(_ret, _lib, retain: true, release: true); - } - - static NSCalendarDate dateWithTimeIntervalSinceNow_( - AVFAudio _lib, - double secs, - ) { - final _ret = _lib._objc_msgSend_166( - _lib._class_NSCalendarDate1, - _lib._sel_dateWithTimeIntervalSinceNow_1, - secs, - ); - return NSCalendarDate._(_ret, _lib, retain: true, release: true); - } - - static NSCalendarDate dateWithTimeIntervalSinceReferenceDate_( - AVFAudio _lib, - double ti, - ) { - final _ret = _lib._objc_msgSend_166( - _lib._class_NSCalendarDate1, - _lib._sel_dateWithTimeIntervalSinceReferenceDate_1, - ti, - ); - return NSCalendarDate._(_ret, _lib, retain: true, release: true); - } - - static NSCalendarDate dateWithTimeIntervalSince1970_( - AVFAudio _lib, - double secs, - ) { - final _ret = _lib._objc_msgSend_166( - _lib._class_NSCalendarDate1, - _lib._sel_dateWithTimeIntervalSince1970_1, - secs, - ); - return NSCalendarDate._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_166(this.pointer, _sel_dateByAddingTimeInterval_, ti); + return NSCalendarDate._(_ret, retain: true, release: true); + } + + static NSCalendarDate date() { + final _ret = _objc_msgSend_2(_class_NSCalendarDate, _sel_date); + return NSCalendarDate._(_ret, retain: true, release: true); + } + + static NSCalendarDate dateWithTimeIntervalSinceNow_(double secs) { + final _ret = _objc_msgSend_166( + _class_NSCalendarDate, _sel_dateWithTimeIntervalSinceNow_, secs); + return NSCalendarDate._(_ret, retain: true, release: true); + } + + static NSCalendarDate dateWithTimeIntervalSinceReferenceDate_(double ti) { + final _ret = _objc_msgSend_166(_class_NSCalendarDate, + _sel_dateWithTimeIntervalSinceReferenceDate_, ti); + return NSCalendarDate._(_ret, retain: true, release: true); + } + + static NSCalendarDate dateWithTimeIntervalSince1970_(double secs) { + final _ret = _objc_msgSend_166( + _class_NSCalendarDate, _sel_dateWithTimeIntervalSince1970_, secs); + return NSCalendarDate._(_ret, retain: true, release: true); } static NSCalendarDate dateWithTimeInterval_sinceDate_( - AVFAudio _lib, - double secsToBeAdded, - NSDate date, - ) { - final _ret = _lib._objc_msgSend_171( - _lib._class_NSCalendarDate1, - _lib._sel_dateWithTimeInterval_sinceDate_1, - secsToBeAdded, - date.pointer, - ); - return NSCalendarDate._(_ret, _lib, retain: true, release: true); - } - - static NSDate getNow(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_172( - _lib._class_NSCalendarDate1, - _lib._sel_now1, - ); - return NSDate._(_ret, _lib, retain: true, release: true); + double secsToBeAdded, NSDate date) { + final _ret = _objc_msgSend_171(_class_NSCalendarDate, + _sel_dateWithTimeInterval_sinceDate_, secsToBeAdded, date.pointer); + return NSCalendarDate._(_ret, retain: true, release: true); + } + + static NSDate getNow() { + final _ret = _objc_msgSend_172(_class_NSCalendarDate, _sel_now); + return NSDate._(_ret, retain: true, release: true); } @override NSCalendarDate initWithTimeIntervalSinceNow_(double secs) { - final _ret = _lib._objc_msgSend_166( - this.pointer, - _lib._sel_initWithTimeIntervalSinceNow_1, - secs, - ); - return NSCalendarDate._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_166( + this.pointer, _sel_initWithTimeIntervalSinceNow_, secs); + return NSCalendarDate._(_ret, retain: true, release: true); } @override NSCalendarDate initWithTimeIntervalSince1970_(double secs) { - final _ret = _lib._objc_msgSend_166( - this.pointer, - _lib._sel_initWithTimeIntervalSince1970_1, - secs, - ); - return NSCalendarDate._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_166( + this.pointer, _sel_initWithTimeIntervalSince1970_, secs); + return NSCalendarDate._(_ret, retain: true, release: true); } @override NSCalendarDate initWithTimeInterval_sinceDate_( - double secsToBeAdded, - NSDate date, - ) { - final _ret = _lib._objc_msgSend_171( - this.pointer, - _lib._sel_initWithTimeInterval_sinceDate_1, - secsToBeAdded, - date.pointer, - ); - return NSCalendarDate._(_ret, _lib, retain: true, release: true); + double secsToBeAdded, NSDate date) { + final _ret = _objc_msgSend_171(this.pointer, + _sel_initWithTimeInterval_sinceDate_, secsToBeAdded, date.pointer); + return NSCalendarDate._(_ret, retain: true, release: true); } static NSObject? dateWithNaturalLanguageString_locale_( - AVFAudio _lib, - NSString string, - NSObject? locale, - ) { - final _ret = _lib._objc_msgSend_173( - _lib._class_NSCalendarDate1, - _lib._sel_dateWithNaturalLanguageString_locale_1, - string.pointer, - locale?.pointer ?? ffi.nullptr, - ); + NSString string, NSObject? locale) { + final _ret = _objc_msgSend_173( + _class_NSCalendarDate, + _sel_dateWithNaturalLanguageString_locale_, + string.pointer, + locale?.pointer ?? ffi.nullptr); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } - static NSObject? dateWithNaturalLanguageString_( - AVFAudio _lib, - NSString string, - ) { - final _ret = _lib._objc_msgSend_38( - _lib._class_NSCalendarDate1, - _lib._sel_dateWithNaturalLanguageString_1, - string.pointer, - ); + static NSObject? dateWithNaturalLanguageString_(NSString string) { + final _ret = _objc_msgSend_38(_class_NSCalendarDate, + _sel_dateWithNaturalLanguageString_, string.pointer); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } - static NSObject dateWithString_(AVFAudio _lib, NSString aString) { - final _ret = _lib._objc_msgSend_31( - _lib._class_NSCalendarDate1, - _lib._sel_dateWithString_1, - aString.pointer, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + static NSObject dateWithString_(NSString aString) { + final _ret = _objc_msgSend_31( + _class_NSCalendarDate, _sel_dateWithString_, aString.pointer); + return NSObject._(_ret, retain: true, release: true); } - static NSCalendarDate new1(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSCalendarDate1, - _lib._sel_new1, - ); - return NSCalendarDate._(_ret, _lib, retain: false, release: true); + static NSCalendarDate new1() { + final _ret = _objc_msgSend_2(_class_NSCalendarDate, _sel_new); + return NSCalendarDate._(_ret, retain: false, release: true); } - static NSCalendarDate allocWithZone_( - AVFAudio _lib, - ffi.Pointer<_NSZone> zone, - ) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSCalendarDate1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSCalendarDate._(_ret, _lib, retain: false, release: true); + static NSCalendarDate allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = + _objc_msgSend_3(_class_NSCalendarDate, _sel_allocWithZone_, zone); + return NSCalendarDate._(_ret, retain: false, release: true); } - static NSCalendarDate alloc(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSCalendarDate1, - _lib._sel_alloc1, - ); - return NSCalendarDate._(_ret, _lib, retain: false, release: true); + static NSCalendarDate alloc() { + final _ret = _objc_msgSend_2(_class_NSCalendarDate, _sel_alloc); + return NSCalendarDate._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSCalendarDate1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSCalendarDate1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSCalendarDate1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSCalendarDate1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSCalendarDate1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSCalendarDate1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSCalendarDate, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); + } + + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSCalendarDate, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); + } + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSCalendarDate, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSCalendarDate, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSCalendarDate, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSCalendarDate, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); } static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSCalendarDate1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSCalendarDate1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSCalendarDate1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSCalendarDate, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = _objc_msgSend_85( + _class_NSCalendarDate, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = + _objc_msgSend_2(_class_NSCalendarDate, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); } } +late final _class_NSCalendarDate = objc.getClass("NSCalendarDate"); +late final _sel_calendarDate = objc.registerName("calendarDate"); +late final _sel_dateWithString_calendarFormat_locale_ = + objc.registerName("dateWithString:calendarFormat:locale:"); +final _objc_msgSend_174 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer description, + ffi.Pointer format, + ffi.Pointer locale)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_dateWithString_calendarFormat_ = + objc.registerName("dateWithString:calendarFormat:"); +final _objc_msgSend_175 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer description, + ffi.Pointer format)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); + class NSTimeZone extends NSObject { - NSTimeZone._( - ffi.Pointer pointer, - AVFAudio lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSTimeZone._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSTimeZone] that points to the same underlying object as [other]. - static NSTimeZone castFrom( - AVFAudio lib, - T other, - ) { - return NSTimeZone._(other.pointer, lib, retain: true, release: true); + static NSTimeZone castFrom(T other) { + return NSTimeZone._(other.pointer, retain: true, release: true); } /// Returns a [NSTimeZone] that wraps the given raw object pointer. - static NSTimeZone castFromPointer( - AVFAudio lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSTimeZone._(other, lib, retain: retain, release: release); + static NSTimeZone castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSTimeZone._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSTimeZone]. - static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSTimeZone1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0(obj.pointer, _sel_isKindOfClass_, _class_NSTimeZone); } NSString get name { - final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_name1); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_name); + return NSString._(_ret, retain: true, release: true); } NSData get data { - final _ret = _lib._objc_msgSend_43(this.pointer, _lib._sel_data1); - return NSData._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_43(this.pointer, _sel_data); + return NSData._(_ret, retain: true, release: true); } int secondsFromGMTForDate_(NSDate aDate) { - return _lib._objc_msgSend_176( - this.pointer, - _lib._sel_secondsFromGMTForDate_1, - aDate.pointer, - ); + return _objc_msgSend_176( + this.pointer, _sel_secondsFromGMTForDate_, aDate.pointer); } NSString? abbreviationForDate_(NSDate aDate) { - final _ret = _lib._objc_msgSend_177( - this.pointer, - _lib._sel_abbreviationForDate_1, - aDate.pointer, - ); + final _ret = _objc_msgSend_177( + this.pointer, _sel_abbreviationForDate_, aDate.pointer); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } bool isDaylightSavingTimeForDate_(NSDate aDate) { - return _lib._objc_msgSend_170( - this.pointer, - _lib._sel_isDaylightSavingTimeForDate_1, - aDate.pointer, - ); + return _objc_msgSend_170( + this.pointer, _sel_isDaylightSavingTimeForDate_, aDate.pointer); } double daylightSavingTimeOffsetForDate_(NSDate aDate) { return objc.useMsgSendVariants - ? _lib._objc_msgSend_167_fpret( - this.pointer, - _lib._sel_daylightSavingTimeOffsetForDate_1, - aDate.pointer, - ) - : _lib._objc_msgSend_167( - this.pointer, - _lib._sel_daylightSavingTimeOffsetForDate_1, - aDate.pointer, - ); + ? _objc_msgSend_167Fpret( + this.pointer, _sel_daylightSavingTimeOffsetForDate_, aDate.pointer) + : _objc_msgSend_167( + this.pointer, _sel_daylightSavingTimeOffsetForDate_, aDate.pointer); } NSDate? nextDaylightSavingTimeTransitionAfterDate_(NSDate aDate) { - final _ret = _lib._objc_msgSend_178( - this.pointer, - _lib._sel_nextDaylightSavingTimeTransitionAfterDate_1, - aDate.pointer, - ); + final _ret = _objc_msgSend_178(this.pointer, + _sel_nextDaylightSavingTimeTransitionAfterDate_, aDate.pointer); return _ret.address == 0 ? null - : NSDate._(_ret, _lib, retain: true, release: true); + : NSDate._(_ret, retain: true, release: true); } - static NSTimeZone getSystemTimeZone(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_179( - _lib._class_NSTimeZone1, - _lib._sel_systemTimeZone1, - ); - return NSTimeZone._(_ret, _lib, retain: true, release: true); + static NSTimeZone getSystemTimeZone() { + final _ret = _objc_msgSend_179(_class_NSTimeZone, _sel_systemTimeZone); + return NSTimeZone._(_ret, retain: true, release: true); } - static void resetSystemTimeZone(AVFAudio _lib) { - _lib._objc_msgSend_1( - _lib._class_NSTimeZone1, - _lib._sel_resetSystemTimeZone1, - ); + static void resetSystemTimeZone() { + _objc_msgSend_1(_class_NSTimeZone, _sel_resetSystemTimeZone); } - static NSTimeZone getDefaultTimeZone(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_179( - _lib._class_NSTimeZone1, - _lib._sel_defaultTimeZone1, - ); - return NSTimeZone._(_ret, _lib, retain: true, release: true); + static NSTimeZone getDefaultTimeZone() { + final _ret = _objc_msgSend_179(_class_NSTimeZone, _sel_defaultTimeZone); + return NSTimeZone._(_ret, retain: true, release: true); } - static void setDefaultTimeZone(AVFAudio _lib, NSTimeZone value) { - return _lib._objc_msgSend_180( - _lib._class_NSTimeZone1, - _lib._sel_setDefaultTimeZone_1, - value.pointer, - ); + static void setDefaultTimeZone(NSTimeZone value) { + return _objc_msgSend_180( + _class_NSTimeZone, _sel_setDefaultTimeZone_, value.pointer); } - static NSTimeZone getLocalTimeZone(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_179( - _lib._class_NSTimeZone1, - _lib._sel_localTimeZone1, - ); - return NSTimeZone._(_ret, _lib, retain: true, release: true); + static NSTimeZone getLocalTimeZone() { + final _ret = _objc_msgSend_179(_class_NSTimeZone, _sel_localTimeZone); + return NSTimeZone._(_ret, retain: true, release: true); } - static NSArray getKnownTimeZoneNames(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSTimeZone1, - _lib._sel_knownTimeZoneNames1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); + static NSArray getKnownTimeZoneNames() { + final _ret = _objc_msgSend_85(_class_NSTimeZone, _sel_knownTimeZoneNames); + return NSArray._(_ret, retain: true, release: true); } - static NSDictionary getAbbreviationDictionary(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_181( - _lib._class_NSTimeZone1, - _lib._sel_abbreviationDictionary1, - ); - return NSDictionary._(_ret, _lib, retain: true, release: true); + static NSDictionary getAbbreviationDictionary() { + final _ret = + _objc_msgSend_181(_class_NSTimeZone, _sel_abbreviationDictionary); + return NSDictionary._(_ret, retain: true, release: true); } - static void setAbbreviationDictionary(AVFAudio _lib, NSDictionary value) { - return _lib._objc_msgSend_182( - _lib._class_NSTimeZone1, - _lib._sel_setAbbreviationDictionary_1, - value.pointer, - ); + static void setAbbreviationDictionary(NSDictionary value) { + return _objc_msgSend_182( + _class_NSTimeZone, _sel_setAbbreviationDictionary_, value.pointer); } - static NSString getTimeZoneDataVersion(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_21( - _lib._class_NSTimeZone1, - _lib._sel_timeZoneDataVersion1, - ); - return NSString._(_ret, _lib, retain: true, release: true); + static NSString getTimeZoneDataVersion() { + final _ret = _objc_msgSend_21(_class_NSTimeZone, _sel_timeZoneDataVersion); + return NSString._(_ret, retain: true, release: true); } int get secondsFromGMT { - return _lib._objc_msgSend_83(this.pointer, _lib._sel_secondsFromGMT1); + return _objc_msgSend_83(this.pointer, _sel_secondsFromGMT); } NSString? get abbreviation { - final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_abbreviation1); + final _ret = _objc_msgSend_44(this.pointer, _sel_abbreviation); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } bool get daylightSavingTime { - return _lib._objc_msgSend_12(this.pointer, _lib._sel_isDaylightSavingTime1); + return _objc_msgSend_12(this.pointer, _sel_isDaylightSavingTime); } double get daylightSavingTimeOffset { return objc.useMsgSendVariants - ? _lib._objc_msgSend_165_fpret( - this.pointer, - _lib._sel_daylightSavingTimeOffset1, - ) - : _lib._objc_msgSend_165( - this.pointer, - _lib._sel_daylightSavingTimeOffset1, - ); + ? _objc_msgSend_165Fpret(this.pointer, _sel_daylightSavingTimeOffset) + : _objc_msgSend_165(this.pointer, _sel_daylightSavingTimeOffset); } NSDate? get nextDaylightSavingTimeTransition { - final _ret = _lib._objc_msgSend_183( - this.pointer, - _lib._sel_nextDaylightSavingTimeTransition1, - ); + final _ret = + _objc_msgSend_183(this.pointer, _sel_nextDaylightSavingTimeTransition); return _ret.address == 0 ? null - : NSDate._(_ret, _lib, retain: true, release: true); + : NSDate._(_ret, retain: true, release: true); } NSString get description { - final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_description1); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_description); + return NSString._(_ret, retain: true, release: true); } bool isEqualToTimeZone_(NSTimeZone aTimeZone) { - return _lib._objc_msgSend_184( - this.pointer, - _lib._sel_isEqualToTimeZone_1, - aTimeZone.pointer, - ); + return _objc_msgSend_184( + this.pointer, _sel_isEqualToTimeZone_, aTimeZone.pointer); } NSString? localizedName_locale_(int style, NSLocale? locale) { - final _ret = _lib._objc_msgSend_203( - this.pointer, - _lib._sel_localizedName_locale_1, - style, - locale?.pointer ?? ffi.nullptr, - ); + final _ret = _objc_msgSend_203(this.pointer, _sel_localizedName_locale_, + style, locale?.pointer ?? ffi.nullptr); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } - static NSTimeZone? timeZoneWithName_(AVFAudio _lib, NSString tzName) { - final _ret = _lib._objc_msgSend_38( - _lib._class_NSTimeZone1, - _lib._sel_timeZoneWithName_1, - tzName.pointer, - ); + static NSTimeZone? timeZoneWithName_(NSString tzName) { + final _ret = _objc_msgSend_38( + _class_NSTimeZone, _sel_timeZoneWithName_, tzName.pointer); return _ret.address == 0 ? null - : NSTimeZone._(_ret, _lib, retain: true, release: true); + : NSTimeZone._(_ret, retain: true, release: true); } - static NSTimeZone? timeZoneWithName_data_( - AVFAudio _lib, - NSString tzName, - NSData? aData, - ) { - final _ret = _lib._objc_msgSend_204( - _lib._class_NSTimeZone1, - _lib._sel_timeZoneWithName_data_1, - tzName.pointer, - aData?.pointer ?? ffi.nullptr, - ); + static NSTimeZone? timeZoneWithName_data_(NSString tzName, NSData? aData) { + final _ret = _objc_msgSend_204( + _class_NSTimeZone, + _sel_timeZoneWithName_data_, + tzName.pointer, + aData?.pointer ?? ffi.nullptr); return _ret.address == 0 ? null - : NSTimeZone._(_ret, _lib, retain: true, release: true); + : NSTimeZone._(_ret, retain: true, release: true); } NSTimeZone? initWithName_(NSString tzName) { - final _ret = _lib._objc_msgSend_38( - this.pointer, - _lib._sel_initWithName_1, - tzName.pointer, - ); + final _ret = + _objc_msgSend_38(this.pointer, _sel_initWithName_, tzName.pointer); return _ret.address == 0 ? null - : NSTimeZone._(_ret, _lib, retain: true, release: true); + : NSTimeZone._(_ret, retain: true, release: true); } NSTimeZone? initWithName_data_(NSString tzName, NSData? aData) { - final _ret = _lib._objc_msgSend_204( - this.pointer, - _lib._sel_initWithName_data_1, - tzName.pointer, - aData?.pointer ?? ffi.nullptr, - ); + final _ret = _objc_msgSend_204(this.pointer, _sel_initWithName_data_, + tzName.pointer, aData?.pointer ?? ffi.nullptr); return _ret.address == 0 ? null - : NSTimeZone._(_ret, _lib, retain: true, release: true); + : NSTimeZone._(_ret, retain: true, release: true); } - static NSTimeZone timeZoneForSecondsFromGMT_(AVFAudio _lib, int seconds) { - final _ret = _lib._objc_msgSend_205( - _lib._class_NSTimeZone1, - _lib._sel_timeZoneForSecondsFromGMT_1, - seconds, - ); - return NSTimeZone._(_ret, _lib, retain: true, release: true); + static NSTimeZone timeZoneForSecondsFromGMT_(int seconds) { + final _ret = _objc_msgSend_205( + _class_NSTimeZone, _sel_timeZoneForSecondsFromGMT_, seconds); + return NSTimeZone._(_ret, retain: true, release: true); } - static NSTimeZone? timeZoneWithAbbreviation_( - AVFAudio _lib, - NSString abbreviation, - ) { - final _ret = _lib._objc_msgSend_38( - _lib._class_NSTimeZone1, - _lib._sel_timeZoneWithAbbreviation_1, - abbreviation.pointer, - ); + static NSTimeZone? timeZoneWithAbbreviation_(NSString abbreviation) { + final _ret = _objc_msgSend_38(_class_NSTimeZone, + _sel_timeZoneWithAbbreviation_, abbreviation.pointer); return _ret.address == 0 ? null - : NSTimeZone._(_ret, _lib, retain: true, release: true); + : NSTimeZone._(_ret, retain: true, release: true); } @override NSTimeZone init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSTimeZone._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSTimeZone._(_ret, retain: true, release: true); } - static NSTimeZone new1(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2(_lib._class_NSTimeZone1, _lib._sel_new1); - return NSTimeZone._(_ret, _lib, retain: false, release: true); + static NSTimeZone new1() { + final _ret = _objc_msgSend_2(_class_NSTimeZone, _sel_new); + return NSTimeZone._(_ret, retain: false, release: true); } - static NSTimeZone allocWithZone_(AVFAudio _lib, ffi.Pointer<_NSZone> zone) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSTimeZone1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSTimeZone._(_ret, _lib, retain: false, release: true); + static NSTimeZone allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = _objc_msgSend_3(_class_NSTimeZone, _sel_allocWithZone_, zone); + return NSTimeZone._(_ret, retain: false, release: true); } - static NSTimeZone alloc(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSTimeZone1, - _lib._sel_alloc1, - ); - return NSTimeZone._(_ret, _lib, retain: false, release: true); + static NSTimeZone alloc() { + final _ret = _objc_msgSend_2(_class_NSTimeZone, _sel_alloc); + return NSTimeZone._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSTimeZone1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSTimeZone1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSTimeZone1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSTimeZone1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSTimeZone1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSTimeZone1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSTimeZone, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); } - static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSTimeZone1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSTimeZone1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSTimeZone1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSTimeZone, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); + } + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSTimeZone, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSTimeZone, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSTimeZone, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); } -} + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSTimeZone, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); + } + + static void setKeys_triggerChangeNotificationsForDependentKey_( + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSTimeZone, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = _objc_msgSend_85( + _class_NSTimeZone, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = + _objc_msgSend_2(_class_NSTimeZone, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); + } +} + +late final _class_NSTimeZone = objc.getClass("NSTimeZone"); +late final _sel_name = objc.registerName("name"); +late final _sel_data = objc.registerName("data"); +late final _sel_secondsFromGMTForDate_ = + objc.registerName("secondsFromGMTForDate:"); +final _objc_msgSend_176 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Long Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer aDate)>>() + .asFunction< + int Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_abbreviationForDate_ = + objc.registerName("abbreviationForDate:"); +final _objc_msgSend_177 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer aDate)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_isDaylightSavingTimeForDate_ = + objc.registerName("isDaylightSavingTimeForDate:"); +late final _sel_daylightSavingTimeOffsetForDate_ = + objc.registerName("daylightSavingTimeOffsetForDate:"); +late final _sel_nextDaylightSavingTimeTransitionAfterDate_ = + objc.registerName("nextDaylightSavingTimeTransitionAfterDate:"); +final _objc_msgSend_178 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer aDate)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_systemTimeZone = objc.registerName("systemTimeZone"); +final _objc_msgSend_179 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_resetSystemTimeZone = objc.registerName("resetSystemTimeZone"); +late final _sel_defaultTimeZone = objc.registerName("defaultTimeZone"); +late final _sel_setDefaultTimeZone_ = objc.registerName("setDefaultTimeZone:"); +final _objc_msgSend_180 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_localTimeZone = objc.registerName("localTimeZone"); +late final _sel_knownTimeZoneNames = objc.registerName("knownTimeZoneNames"); +late final _sel_abbreviationDictionary = + objc.registerName("abbreviationDictionary"); +final _objc_msgSend_181 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_setAbbreviationDictionary_ = + objc.registerName("setAbbreviationDictionary:"); +final _objc_msgSend_182 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_timeZoneDataVersion = objc.registerName("timeZoneDataVersion"); +late final _sel_secondsFromGMT = objc.registerName("secondsFromGMT"); +late final _sel_abbreviation = objc.registerName("abbreviation"); +late final _sel_isDaylightSavingTime = + objc.registerName("isDaylightSavingTime"); +late final _sel_daylightSavingTimeOffset = + objc.registerName("daylightSavingTimeOffset"); +late final _sel_nextDaylightSavingTimeTransition = + objc.registerName("nextDaylightSavingTimeTransition"); +final _objc_msgSend_183 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_isEqualToTimeZone_ = objc.registerName("isEqualToTimeZone:"); +final _objc_msgSend_184 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer aTimeZone)>>() + .asFunction< + bool Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); abstract class NSTimeZoneNameStyle { static const int NSTimeZoneNameStyleStandard = 0; @@ -50667,1050 +12607,1008 @@ abstract class NSTimeZoneNameStyle { } class NSLocale extends NSObject { - NSLocale._( - ffi.Pointer pointer, - AVFAudio lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSLocale._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSLocale] that points to the same underlying object as [other]. - static NSLocale castFrom( - AVFAudio lib, - T other, - ) { - return NSLocale._(other.pointer, lib, retain: true, release: true); + static NSLocale castFrom(T other) { + return NSLocale._(other.pointer, retain: true, release: true); } /// Returns a [NSLocale] that wraps the given raw object pointer. - static NSLocale castFromPointer( - AVFAudio lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSLocale._(other, lib, retain: retain, release: release); + static NSLocale castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSLocale._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSLocale]. - static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSLocale1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0(obj.pointer, _sel_isKindOfClass_, _class_NSLocale); } NSObject? objectForKey_(NSString key) { - final _ret = _lib._objc_msgSend_38( - this.pointer, - _lib._sel_objectForKey_1, - key.pointer, - ); + final _ret = + _objc_msgSend_38(this.pointer, _sel_objectForKey_, key.pointer); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } NSString? displayNameForKey_value_(NSString key, NSObject value) { - final _ret = _lib._objc_msgSend_185( - this.pointer, - _lib._sel_displayNameForKey_value_1, - key.pointer, - value.pointer, - ); + final _ret = _objc_msgSend_185(this.pointer, _sel_displayNameForKey_value_, + key.pointer, value.pointer); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } NSLocale initWithLocaleIdentifier_(NSString string) { - final _ret = _lib._objc_msgSend_31( - this.pointer, - _lib._sel_initWithLocaleIdentifier_1, - string.pointer, - ); - return NSLocale._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_31( + this.pointer, _sel_initWithLocaleIdentifier_, string.pointer); + return NSLocale._(_ret, retain: true, release: true); } NSLocale? initWithCoder_(NSCoder coder) { - final _ret = _lib._objc_msgSend_47( - this.pointer, - _lib._sel_initWithCoder_1, - coder.pointer, - ); + final _ret = + _objc_msgSend_47(this.pointer, _sel_initWithCoder_, coder.pointer); return _ret.address == 0 ? null - : NSLocale._(_ret, _lib, retain: true, release: true); + : NSLocale._(_ret, retain: true, release: true); } NSString get localeIdentifier { - final _ret = _lib._objc_msgSend_21( - this.pointer, - _lib._sel_localeIdentifier1, - ); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_localeIdentifier); + return NSString._(_ret, retain: true, release: true); } NSString localizedStringForLocaleIdentifier_(NSString localeIdentifier) { - final _ret = _lib._objc_msgSend_69( - this.pointer, - _lib._sel_localizedStringForLocaleIdentifier_1, - localeIdentifier.pointer, - ); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_69(this.pointer, + _sel_localizedStringForLocaleIdentifier_, localeIdentifier.pointer); + return NSString._(_ret, retain: true, release: true); } NSString get languageCode { - final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_languageCode1); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_languageCode); + return NSString._(_ret, retain: true, release: true); } NSString? localizedStringForLanguageCode_(NSString languageCode) { - final _ret = _lib._objc_msgSend_186( - this.pointer, - _lib._sel_localizedStringForLanguageCode_1, - languageCode.pointer, - ); + final _ret = _objc_msgSend_186(this.pointer, + _sel_localizedStringForLanguageCode_, languageCode.pointer); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } NSString get languageIdentifier { - final _ret = _lib._objc_msgSend_21( - this.pointer, - _lib._sel_languageIdentifier1, - ); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_languageIdentifier); + return NSString._(_ret, retain: true, release: true); } NSString? get countryCode { - final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_countryCode1); + final _ret = _objc_msgSend_44(this.pointer, _sel_countryCode); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } NSString? localizedStringForCountryCode_(NSString countryCode) { - final _ret = _lib._objc_msgSend_186( - this.pointer, - _lib._sel_localizedStringForCountryCode_1, - countryCode.pointer, - ); + final _ret = _objc_msgSend_186( + this.pointer, _sel_localizedStringForCountryCode_, countryCode.pointer); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } NSString? get regionCode { - final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_regionCode1); + final _ret = _objc_msgSend_44(this.pointer, _sel_regionCode); + return _ret.address == 0 + ? null + : NSString._(_ret, retain: true, release: true); + } + + NSString? get scriptCode { + final _ret = _objc_msgSend_44(this.pointer, _sel_scriptCode); + return _ret.address == 0 + ? null + : NSString._(_ret, retain: true, release: true); + } + + NSString? localizedStringForScriptCode_(NSString scriptCode) { + final _ret = _objc_msgSend_186( + this.pointer, _sel_localizedStringForScriptCode_, scriptCode.pointer); + return _ret.address == 0 + ? null + : NSString._(_ret, retain: true, release: true); + } + + NSString? get variantCode { + final _ret = _objc_msgSend_44(this.pointer, _sel_variantCode); + return _ret.address == 0 + ? null + : NSString._(_ret, retain: true, release: true); + } + + NSString? localizedStringForVariantCode_(NSString variantCode) { + final _ret = _objc_msgSend_186( + this.pointer, _sel_localizedStringForVariantCode_, variantCode.pointer); + return _ret.address == 0 + ? null + : NSString._(_ret, retain: true, release: true); + } + + NSCharacterSet get exemplarCharacterSet { + final _ret = _objc_msgSend_187(this.pointer, _sel_exemplarCharacterSet); + return NSCharacterSet._(_ret, retain: true, release: true); + } + + NSString get calendarIdentifier { + final _ret = _objc_msgSend_21(this.pointer, _sel_calendarIdentifier); + return NSString._(_ret, retain: true, release: true); + } + + NSString? localizedStringForCalendarIdentifier_(NSString calendarIdentifier) { + final _ret = _objc_msgSend_186(this.pointer, + _sel_localizedStringForCalendarIdentifier_, calendarIdentifier.pointer); + return _ret.address == 0 + ? null + : NSString._(_ret, retain: true, release: true); + } + + NSString? get collationIdentifier { + final _ret = _objc_msgSend_44(this.pointer, _sel_collationIdentifier); + return _ret.address == 0 + ? null + : NSString._(_ret, retain: true, release: true); + } + + NSString? localizedStringForCollationIdentifier_( + NSString collationIdentifier) { + final _ret = _objc_msgSend_186( + this.pointer, + _sel_localizedStringForCollationIdentifier_, + collationIdentifier.pointer); + return _ret.address == 0 + ? null + : NSString._(_ret, retain: true, release: true); + } + + bool get usesMetricSystem { + return _objc_msgSend_12(this.pointer, _sel_usesMetricSystem); + } + + NSString get decimalSeparator { + final _ret = _objc_msgSend_21(this.pointer, _sel_decimalSeparator); + return NSString._(_ret, retain: true, release: true); + } + + NSString get groupingSeparator { + final _ret = _objc_msgSend_21(this.pointer, _sel_groupingSeparator); + return NSString._(_ret, retain: true, release: true); + } + + NSString get currencySymbol { + final _ret = _objc_msgSend_21(this.pointer, _sel_currencySymbol); + return NSString._(_ret, retain: true, release: true); + } + + NSString? get currencyCode { + final _ret = _objc_msgSend_44(this.pointer, _sel_currencyCode); + return _ret.address == 0 + ? null + : NSString._(_ret, retain: true, release: true); + } + + NSString? localizedStringForCurrencyCode_(NSString currencyCode) { + final _ret = _objc_msgSend_186(this.pointer, + _sel_localizedStringForCurrencyCode_, currencyCode.pointer); + return _ret.address == 0 + ? null + : NSString._(_ret, retain: true, release: true); + } + + NSString get collatorIdentifier { + final _ret = _objc_msgSend_21(this.pointer, _sel_collatorIdentifier); + return NSString._(_ret, retain: true, release: true); + } + + NSString? localizedStringForCollatorIdentifier_(NSString collatorIdentifier) { + final _ret = _objc_msgSend_186(this.pointer, + _sel_localizedStringForCollatorIdentifier_, collatorIdentifier.pointer); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); + } + + NSString get quotationBeginDelimiter { + final _ret = _objc_msgSend_21(this.pointer, _sel_quotationBeginDelimiter); + return NSString._(_ret, retain: true, release: true); + } + + NSString get quotationEndDelimiter { + final _ret = _objc_msgSend_21(this.pointer, _sel_quotationEndDelimiter); + return NSString._(_ret, retain: true, release: true); + } + + NSString get alternateQuotationBeginDelimiter { + final _ret = + _objc_msgSend_21(this.pointer, _sel_alternateQuotationBeginDelimiter); + return NSString._(_ret, retain: true, release: true); + } + + NSString get alternateQuotationEndDelimiter { + final _ret = + _objc_msgSend_21(this.pointer, _sel_alternateQuotationEndDelimiter); + return NSString._(_ret, retain: true, release: true); + } + + static NSLocale getAutoupdatingCurrentLocale() { + final _ret = + _objc_msgSend_197(_class_NSLocale, _sel_autoupdatingCurrentLocale); + return NSLocale._(_ret, retain: true, release: true); + } + + static NSLocale getCurrentLocale() { + final _ret = _objc_msgSend_197(_class_NSLocale, _sel_currentLocale); + return NSLocale._(_ret, retain: true, release: true); + } + + static NSLocale getSystemLocale() { + final _ret = _objc_msgSend_197(_class_NSLocale, _sel_systemLocale); + return NSLocale._(_ret, retain: true, release: true); + } + + static NSLocale localeWithLocaleIdentifier_(NSString ident) { + final _ret = _objc_msgSend_31( + _class_NSLocale, _sel_localeWithLocaleIdentifier_, ident.pointer); + return NSLocale._(_ret, retain: true, release: true); + } + + @override + NSLocale init() { + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSLocale._(_ret, retain: true, release: true); + } + + static NSArray getAvailableLocaleIdentifiers() { + final _ret = + _objc_msgSend_85(_class_NSLocale, _sel_availableLocaleIdentifiers); + return NSArray._(_ret, retain: true, release: true); + } + + static NSArray getISOLanguageCodes() { + final _ret = _objc_msgSend_85(_class_NSLocale, _sel_ISOLanguageCodes); + return NSArray._(_ret, retain: true, release: true); + } + + static NSArray getISOCountryCodes() { + final _ret = _objc_msgSend_85(_class_NSLocale, _sel_ISOCountryCodes); + return NSArray._(_ret, retain: true, release: true); + } + + static NSArray getISOCurrencyCodes() { + final _ret = _objc_msgSend_85(_class_NSLocale, _sel_ISOCurrencyCodes); + return NSArray._(_ret, retain: true, release: true); + } + + static NSArray getCommonISOCurrencyCodes() { + final _ret = _objc_msgSend_85(_class_NSLocale, _sel_commonISOCurrencyCodes); + return NSArray._(_ret, retain: true, release: true); + } + + static NSArray getPreferredLanguages() { + final _ret = _objc_msgSend_85(_class_NSLocale, _sel_preferredLanguages); + return NSArray._(_ret, retain: true, release: true); + } + + static NSDictionary componentsFromLocaleIdentifier_(NSString string) { + final _ret = _objc_msgSend_198( + _class_NSLocale, _sel_componentsFromLocaleIdentifier_, string.pointer); + return NSDictionary._(_ret, retain: true, release: true); } - NSString? get scriptCode { - final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_scriptCode1); - return _ret.address == 0 - ? null - : NSString._(_ret, _lib, retain: true, release: true); + static NSString localeIdentifierFromComponents_(NSDictionary dict) { + final _ret = _objc_msgSend_199( + _class_NSLocale, _sel_localeIdentifierFromComponents_, dict.pointer); + return NSString._(_ret, retain: true, release: true); } - NSString? localizedStringForScriptCode_(NSString scriptCode) { - final _ret = _lib._objc_msgSend_186( - this.pointer, - _lib._sel_localizedStringForScriptCode_1, - scriptCode.pointer, - ); - return _ret.address == 0 - ? null - : NSString._(_ret, _lib, retain: true, release: true); + static NSString canonicalLocaleIdentifierFromString_(NSString string) { + final _ret = _objc_msgSend_69(_class_NSLocale, + _sel_canonicalLocaleIdentifierFromString_, string.pointer); + return NSString._(_ret, retain: true, release: true); } - NSString? get variantCode { - final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_variantCode1); - return _ret.address == 0 - ? null - : NSString._(_ret, _lib, retain: true, release: true); + static NSString canonicalLanguageIdentifierFromString_(NSString string) { + final _ret = _objc_msgSend_69(_class_NSLocale, + _sel_canonicalLanguageIdentifierFromString_, string.pointer); + return NSString._(_ret, retain: true, release: true); } - NSString? localizedStringForVariantCode_(NSString variantCode) { - final _ret = _lib._objc_msgSend_186( - this.pointer, - _lib._sel_localizedStringForVariantCode_1, - variantCode.pointer, - ); + static NSString? localeIdentifierFromWindowsLocaleCode_(int lcid) { + final _ret = _objc_msgSend_200( + _class_NSLocale, _sel_localeIdentifierFromWindowsLocaleCode_, lcid); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } - NSCharacterSet get exemplarCharacterSet { - final _ret = _lib._objc_msgSend_187( - this.pointer, - _lib._sel_exemplarCharacterSet1, - ); - return NSCharacterSet._(_ret, _lib, retain: true, release: true); + static int windowsLocaleCodeFromLocaleIdentifier_(NSString localeIdentifier) { + return _objc_msgSend_201(_class_NSLocale, + _sel_windowsLocaleCodeFromLocaleIdentifier_, localeIdentifier.pointer); } - NSString get calendarIdentifier { - final _ret = _lib._objc_msgSend_21( - this.pointer, - _lib._sel_calendarIdentifier1, - ); - return NSString._(_ret, _lib, retain: true, release: true); + static int characterDirectionForLanguage_(NSString isoLangCode) { + return _objc_msgSend_202(_class_NSLocale, + _sel_characterDirectionForLanguage_, isoLangCode.pointer); } - NSString? localizedStringForCalendarIdentifier_(NSString calendarIdentifier) { - final _ret = _lib._objc_msgSend_186( - this.pointer, - _lib._sel_localizedStringForCalendarIdentifier_1, - calendarIdentifier.pointer, - ); - return _ret.address == 0 - ? null - : NSString._(_ret, _lib, retain: true, release: true); + static int lineDirectionForLanguage_(NSString isoLangCode) { + return _objc_msgSend_202( + _class_NSLocale, _sel_lineDirectionForLanguage_, isoLangCode.pointer); } - NSString? get collationIdentifier { - final _ret = _lib._objc_msgSend_44( - this.pointer, - _lib._sel_collationIdentifier1, - ); - return _ret.address == 0 - ? null - : NSString._(_ret, _lib, retain: true, release: true); + static NSLocale new1() { + final _ret = _objc_msgSend_2(_class_NSLocale, _sel_new); + return NSLocale._(_ret, retain: false, release: true); } - NSString? localizedStringForCollationIdentifier_( - NSString collationIdentifier, - ) { - final _ret = _lib._objc_msgSend_186( - this.pointer, - _lib._sel_localizedStringForCollationIdentifier_1, - collationIdentifier.pointer, - ); - return _ret.address == 0 - ? null - : NSString._(_ret, _lib, retain: true, release: true); + static NSLocale allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = _objc_msgSend_3(_class_NSLocale, _sel_allocWithZone_, zone); + return NSLocale._(_ret, retain: false, release: true); } - bool get usesMetricSystem { - return _lib._objc_msgSend_12(this.pointer, _lib._sel_usesMetricSystem1); + static NSLocale alloc() { + final _ret = _objc_msgSend_2(_class_NSLocale, _sel_alloc); + return NSLocale._(_ret, retain: false, release: true); } - NSString get decimalSeparator { - final _ret = _lib._objc_msgSend_21( - this.pointer, - _lib._sel_decimalSeparator1, - ); - return NSString._(_ret, _lib, retain: true, release: true); + static void cancelPreviousPerformRequestsWithTarget_selector_object_( + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSLocale, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); } - NSString get groupingSeparator { - final _ret = _lib._objc_msgSend_21( - this.pointer, - _lib._sel_groupingSeparator1, - ); - return NSString._(_ret, _lib, retain: true, release: true); + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSLocale, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); } - NSString get currencySymbol { - final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_currencySymbol1); - return NSString._(_ret, _lib, retain: true, release: true); + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSLocale, _sel_accessInstanceVariablesDirectly); } - NSString? get currencyCode { - final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_currencyCode1); - return _ret.address == 0 - ? null - : NSString._(_ret, _lib, retain: true, release: true); + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSLocale, _sel_useStoredAccessor); } - NSString? localizedStringForCurrencyCode_(NSString currencyCode) { - final _ret = _lib._objc_msgSend_186( - this.pointer, - _lib._sel_localizedStringForCurrencyCode_1, - currencyCode.pointer, - ); - return _ret.address == 0 - ? null - : NSString._(_ret, _lib, retain: true, release: true); + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSLocale, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); } - NSString get collatorIdentifier { - final _ret = _lib._objc_msgSend_21( - this.pointer, - _lib._sel_collatorIdentifier1, - ); - return NSString._(_ret, _lib, retain: true, release: true); + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSLocale, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); } - NSString? localizedStringForCollatorIdentifier_(NSString collatorIdentifier) { - final _ret = _lib._objc_msgSend_186( - this.pointer, - _lib._sel_localizedStringForCollatorIdentifier_1, - collatorIdentifier.pointer, - ); - return _ret.address == 0 - ? null - : NSString._(_ret, _lib, retain: true, release: true); + static void setKeys_triggerChangeNotificationsForDependentKey_( + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSLocale, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = + _objc_msgSend_85(_class_NSLocale, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = _objc_msgSend_2(_class_NSLocale, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); + } +} + +late final _class_NSLocale = objc.getClass("NSLocale"); +late final _sel_displayNameForKey_value_ = + objc.registerName("displayNameForKey:value:"); +final _objc_msgSend_185 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer key, + ffi.Pointer value)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_initWithLocaleIdentifier_ = + objc.registerName("initWithLocaleIdentifier:"); +late final _sel_localeIdentifier = objc.registerName("localeIdentifier"); +late final _sel_localizedStringForLocaleIdentifier_ = + objc.registerName("localizedStringForLocaleIdentifier:"); +late final _sel_languageCode = objc.registerName("languageCode"); +late final _sel_localizedStringForLanguageCode_ = + objc.registerName("localizedStringForLanguageCode:"); +final _objc_msgSend_186 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer languageCode)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_languageIdentifier = objc.registerName("languageIdentifier"); +late final _sel_countryCode = objc.registerName("countryCode"); +late final _sel_localizedStringForCountryCode_ = + objc.registerName("localizedStringForCountryCode:"); +late final _sel_regionCode = objc.registerName("regionCode"); +late final _sel_scriptCode = objc.registerName("scriptCode"); +late final _sel_localizedStringForScriptCode_ = + objc.registerName("localizedStringForScriptCode:"); +late final _sel_variantCode = objc.registerName("variantCode"); +late final _sel_localizedStringForVariantCode_ = + objc.registerName("localizedStringForVariantCode:"); + +class NSCharacterSet extends NSObject { + NSCharacterSet._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); + + /// Returns a [NSCharacterSet] that points to the same underlying object as [other]. + static NSCharacterSet castFrom(T other) { + return NSCharacterSet._(other.pointer, retain: true, release: true); } - NSString get quotationBeginDelimiter { - final _ret = _lib._objc_msgSend_21( - this.pointer, - _lib._sel_quotationBeginDelimiter1, - ); - return NSString._(_ret, _lib, retain: true, release: true); + /// Returns a [NSCharacterSet] that wraps the given raw object pointer. + static NSCharacterSet castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSCharacterSet._(other, retain: retain, release: release); } - NSString get quotationEndDelimiter { - final _ret = _lib._objc_msgSend_21( - this.pointer, - _lib._sel_quotationEndDelimiter1, - ); - return NSString._(_ret, _lib, retain: true, release: true); + /// Returns whether [obj] is an instance of [NSCharacterSet]. + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0( + obj.pointer, _sel_isKindOfClass_, _class_NSCharacterSet); } - NSString get alternateQuotationBeginDelimiter { - final _ret = _lib._objc_msgSend_21( - this.pointer, - _lib._sel_alternateQuotationBeginDelimiter1, - ); - return NSString._(_ret, _lib, retain: true, release: true); + static NSCharacterSet getControlCharacterSet() { + final _ret = + _objc_msgSend_187(_class_NSCharacterSet, _sel_controlCharacterSet); + return NSCharacterSet._(_ret, retain: true, release: true); } - NSString get alternateQuotationEndDelimiter { - final _ret = _lib._objc_msgSend_21( - this.pointer, - _lib._sel_alternateQuotationEndDelimiter1, - ); - return NSString._(_ret, _lib, retain: true, release: true); + static NSCharacterSet getWhitespaceCharacterSet() { + final _ret = + _objc_msgSend_187(_class_NSCharacterSet, _sel_whitespaceCharacterSet); + return NSCharacterSet._(_ret, retain: true, release: true); } - static NSLocale getAutoupdatingCurrentLocale(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_197( - _lib._class_NSLocale1, - _lib._sel_autoupdatingCurrentLocale1, - ); - return NSLocale._(_ret, _lib, retain: true, release: true); + static NSCharacterSet getWhitespaceAndNewlineCharacterSet() { + final _ret = _objc_msgSend_187( + _class_NSCharacterSet, _sel_whitespaceAndNewlineCharacterSet); + return NSCharacterSet._(_ret, retain: true, release: true); } - static NSLocale getCurrentLocale(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_197( - _lib._class_NSLocale1, - _lib._sel_currentLocale1, - ); - return NSLocale._(_ret, _lib, retain: true, release: true); + static NSCharacterSet getDecimalDigitCharacterSet() { + final _ret = + _objc_msgSend_187(_class_NSCharacterSet, _sel_decimalDigitCharacterSet); + return NSCharacterSet._(_ret, retain: true, release: true); } - static NSLocale getSystemLocale(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_197( - _lib._class_NSLocale1, - _lib._sel_systemLocale1, - ); - return NSLocale._(_ret, _lib, retain: true, release: true); + static NSCharacterSet getLetterCharacterSet() { + final _ret = + _objc_msgSend_187(_class_NSCharacterSet, _sel_letterCharacterSet); + return NSCharacterSet._(_ret, retain: true, release: true); } - static NSLocale localeWithLocaleIdentifier_(AVFAudio _lib, NSString ident) { - final _ret = _lib._objc_msgSend_31( - _lib._class_NSLocale1, - _lib._sel_localeWithLocaleIdentifier_1, - ident.pointer, - ); - return NSLocale._(_ret, _lib, retain: true, release: true); + static NSCharacterSet getLowercaseLetterCharacterSet() { + final _ret = _objc_msgSend_187( + _class_NSCharacterSet, _sel_lowercaseLetterCharacterSet); + return NSCharacterSet._(_ret, retain: true, release: true); } - @override - NSLocale init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSLocale._(_ret, _lib, retain: true, release: true); - } - - static NSArray getAvailableLocaleIdentifiers(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSLocale1, - _lib._sel_availableLocaleIdentifiers1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSArray getISOLanguageCodes(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSLocale1, - _lib._sel_ISOLanguageCodes1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSArray getISOCountryCodes(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSLocale1, - _lib._sel_ISOCountryCodes1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSArray getISOCurrencyCodes(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSLocale1, - _lib._sel_ISOCurrencyCodes1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSArray getCommonISOCurrencyCodes(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSLocale1, - _lib._sel_commonISOCurrencyCodes1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSArray getPreferredLanguages(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSLocale1, - _lib._sel_preferredLanguages1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSDictionary componentsFromLocaleIdentifier_( - AVFAudio _lib, - NSString string, - ) { - final _ret = _lib._objc_msgSend_198( - _lib._class_NSLocale1, - _lib._sel_componentsFromLocaleIdentifier_1, - string.pointer, - ); - return NSDictionary._(_ret, _lib, retain: true, release: true); - } - - static NSString localeIdentifierFromComponents_( - AVFAudio _lib, - NSDictionary dict, - ) { - final _ret = _lib._objc_msgSend_199( - _lib._class_NSLocale1, - _lib._sel_localeIdentifierFromComponents_1, - dict.pointer, - ); - return NSString._(_ret, _lib, retain: true, release: true); - } - - static NSString canonicalLocaleIdentifierFromString_( - AVFAudio _lib, - NSString string, - ) { - final _ret = _lib._objc_msgSend_69( - _lib._class_NSLocale1, - _lib._sel_canonicalLocaleIdentifierFromString_1, - string.pointer, - ); - return NSString._(_ret, _lib, retain: true, release: true); - } - - static NSString canonicalLanguageIdentifierFromString_( - AVFAudio _lib, - NSString string, - ) { - final _ret = _lib._objc_msgSend_69( - _lib._class_NSLocale1, - _lib._sel_canonicalLanguageIdentifierFromString_1, - string.pointer, - ); - return NSString._(_ret, _lib, retain: true, release: true); - } - - static NSString? localeIdentifierFromWindowsLocaleCode_( - AVFAudio _lib, - int lcid, - ) { - final _ret = _lib._objc_msgSend_200( - _lib._class_NSLocale1, - _lib._sel_localeIdentifierFromWindowsLocaleCode_1, - lcid, - ); - return _ret.address == 0 - ? null - : NSString._(_ret, _lib, retain: true, release: true); - } - - static int windowsLocaleCodeFromLocaleIdentifier_( - AVFAudio _lib, - NSString localeIdentifier, - ) { - return _lib._objc_msgSend_201( - _lib._class_NSLocale1, - _lib._sel_windowsLocaleCodeFromLocaleIdentifier_1, - localeIdentifier.pointer, - ); - } - - static int characterDirectionForLanguage_( - AVFAudio _lib, - NSString isoLangCode, - ) { - return _lib._objc_msgSend_202( - _lib._class_NSLocale1, - _lib._sel_characterDirectionForLanguage_1, - isoLangCode.pointer, - ); - } - - static int lineDirectionForLanguage_(AVFAudio _lib, NSString isoLangCode) { - return _lib._objc_msgSend_202( - _lib._class_NSLocale1, - _lib._sel_lineDirectionForLanguage_1, - isoLangCode.pointer, - ); - } - - static NSLocale new1(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2(_lib._class_NSLocale1, _lib._sel_new1); - return NSLocale._(_ret, _lib, retain: false, release: true); - } - - static NSLocale allocWithZone_(AVFAudio _lib, ffi.Pointer<_NSZone> zone) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSLocale1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSLocale._(_ret, _lib, retain: false, release: true); - } - - static NSLocale alloc(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2(_lib._class_NSLocale1, _lib._sel_alloc1); - return NSLocale._(_ret, _lib, retain: false, release: true); + static NSCharacterSet getUppercaseLetterCharacterSet() { + final _ret = _objc_msgSend_187( + _class_NSCharacterSet, _sel_uppercaseLetterCharacterSet); + return NSCharacterSet._(_ret, retain: true, release: true); } - static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSLocale1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSLocale1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSLocale1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSLocale1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSLocale1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSLocale1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + static NSCharacterSet getNonBaseCharacterSet() { + final _ret = + _objc_msgSend_187(_class_NSCharacterSet, _sel_nonBaseCharacterSet); + return NSCharacterSet._(_ret, retain: true, release: true); } - static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSLocale1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSLocale1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSLocale1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + static NSCharacterSet getAlphanumericCharacterSet() { + final _ret = + _objc_msgSend_187(_class_NSCharacterSet, _sel_alphanumericCharacterSet); + return NSCharacterSet._(_ret, retain: true, release: true); } -} -class NSCharacterSet extends NSObject { - NSCharacterSet._( - ffi.Pointer pointer, - AVFAudio lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + static NSCharacterSet getDecomposableCharacterSet() { + final _ret = + _objc_msgSend_187(_class_NSCharacterSet, _sel_decomposableCharacterSet); + return NSCharacterSet._(_ret, retain: true, release: true); + } - /// Returns a [NSCharacterSet] that points to the same underlying object as [other]. - static NSCharacterSet castFrom( - AVFAudio lib, - T other, - ) { - return NSCharacterSet._(other.pointer, lib, retain: true, release: true); + static NSCharacterSet getIllegalCharacterSet() { + final _ret = + _objc_msgSend_187(_class_NSCharacterSet, _sel_illegalCharacterSet); + return NSCharacterSet._(_ret, retain: true, release: true); } - /// Returns a [NSCharacterSet] that wraps the given raw object pointer. - static NSCharacterSet castFromPointer( - AVFAudio lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSCharacterSet._(other, lib, retain: retain, release: release); + static NSCharacterSet getPunctuationCharacterSet() { + final _ret = + _objc_msgSend_187(_class_NSCharacterSet, _sel_punctuationCharacterSet); + return NSCharacterSet._(_ret, retain: true, release: true); } - /// Returns whether [obj] is an instance of [NSCharacterSet]. - static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSCharacterSet1, - ); + static NSCharacterSet getCapitalizedLetterCharacterSet() { + final _ret = _objc_msgSend_187( + _class_NSCharacterSet, _sel_capitalizedLetterCharacterSet); + return NSCharacterSet._(_ret, retain: true, release: true); } - - static NSCharacterSet getControlCharacterSet(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_187( - _lib._class_NSCharacterSet1, - _lib._sel_controlCharacterSet1, - ); - return NSCharacterSet._(_ret, _lib, retain: true, release: true); + + static NSCharacterSet getSymbolCharacterSet() { + final _ret = + _objc_msgSend_187(_class_NSCharacterSet, _sel_symbolCharacterSet); + return NSCharacterSet._(_ret, retain: true, release: true); } - - static NSCharacterSet getWhitespaceCharacterSet(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_187( - _lib._class_NSCharacterSet1, - _lib._sel_whitespaceCharacterSet1, - ); - return NSCharacterSet._(_ret, _lib, retain: true, release: true); + + static NSCharacterSet getNewlineCharacterSet() { + final _ret = + _objc_msgSend_187(_class_NSCharacterSet, _sel_newlineCharacterSet); + return NSCharacterSet._(_ret, retain: false, release: true); } - - static NSCharacterSet getWhitespaceAndNewlineCharacterSet(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_187( - _lib._class_NSCharacterSet1, - _lib._sel_whitespaceAndNewlineCharacterSet1, - ); - return NSCharacterSet._(_ret, _lib, retain: true, release: true); + + static NSCharacterSet characterSetWithRange_(_NSRange aRange) { + final _ret = _objc_msgSend_188( + _class_NSCharacterSet, _sel_characterSetWithRange_, aRange); + return NSCharacterSet._(_ret, retain: true, release: true); } - - static NSCharacterSet getDecimalDigitCharacterSet(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_187( - _lib._class_NSCharacterSet1, - _lib._sel_decimalDigitCharacterSet1, - ); - return NSCharacterSet._(_ret, _lib, retain: true, release: true); - } - - static NSCharacterSet getLetterCharacterSet(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_187( - _lib._class_NSCharacterSet1, - _lib._sel_letterCharacterSet1, - ); - return NSCharacterSet._(_ret, _lib, retain: true, release: true); - } - - static NSCharacterSet getLowercaseLetterCharacterSet(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_187( - _lib._class_NSCharacterSet1, - _lib._sel_lowercaseLetterCharacterSet1, - ); - return NSCharacterSet._(_ret, _lib, retain: true, release: true); - } - - static NSCharacterSet getUppercaseLetterCharacterSet(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_187( - _lib._class_NSCharacterSet1, - _lib._sel_uppercaseLetterCharacterSet1, - ); - return NSCharacterSet._(_ret, _lib, retain: true, release: true); - } - - static NSCharacterSet getNonBaseCharacterSet(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_187( - _lib._class_NSCharacterSet1, - _lib._sel_nonBaseCharacterSet1, - ); - return NSCharacterSet._(_ret, _lib, retain: true, release: true); - } - - static NSCharacterSet getAlphanumericCharacterSet(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_187( - _lib._class_NSCharacterSet1, - _lib._sel_alphanumericCharacterSet1, - ); - return NSCharacterSet._(_ret, _lib, retain: true, release: true); - } - - static NSCharacterSet getDecomposableCharacterSet(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_187( - _lib._class_NSCharacterSet1, - _lib._sel_decomposableCharacterSet1, - ); - return NSCharacterSet._(_ret, _lib, retain: true, release: true); - } - - static NSCharacterSet getIllegalCharacterSet(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_187( - _lib._class_NSCharacterSet1, - _lib._sel_illegalCharacterSet1, - ); - return NSCharacterSet._(_ret, _lib, retain: true, release: true); - } - - static NSCharacterSet getPunctuationCharacterSet(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_187( - _lib._class_NSCharacterSet1, - _lib._sel_punctuationCharacterSet1, - ); - return NSCharacterSet._(_ret, _lib, retain: true, release: true); - } - - static NSCharacterSet getCapitalizedLetterCharacterSet(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_187( - _lib._class_NSCharacterSet1, - _lib._sel_capitalizedLetterCharacterSet1, - ); - return NSCharacterSet._(_ret, _lib, retain: true, release: true); - } - - static NSCharacterSet getSymbolCharacterSet(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_187( - _lib._class_NSCharacterSet1, - _lib._sel_symbolCharacterSet1, - ); - return NSCharacterSet._(_ret, _lib, retain: true, release: true); - } - - static NSCharacterSet getNewlineCharacterSet(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_187( - _lib._class_NSCharacterSet1, - _lib._sel_newlineCharacterSet1, - ); - return NSCharacterSet._(_ret, _lib, retain: false, release: true); - } - - static NSCharacterSet characterSetWithRange_(AVFAudio _lib, _NSRange aRange) { - final _ret = _lib._objc_msgSend_188( - _lib._class_NSCharacterSet1, - _lib._sel_characterSetWithRange_1, - aRange, - ); - return NSCharacterSet._(_ret, _lib, retain: true, release: true); + + static NSCharacterSet characterSetWithCharactersInString_(NSString aString) { + final _ret = _objc_msgSend_189(_class_NSCharacterSet, + _sel_characterSetWithCharactersInString_, aString.pointer); + return NSCharacterSet._(_ret, retain: true, release: true); } - static NSCharacterSet characterSetWithCharactersInString_( - AVFAudio _lib, - NSString aString, - ) { - final _ret = _lib._objc_msgSend_189( - _lib._class_NSCharacterSet1, - _lib._sel_characterSetWithCharactersInString_1, - aString.pointer, - ); - return NSCharacterSet._(_ret, _lib, retain: true, release: true); - } - - static NSCharacterSet characterSetWithBitmapRepresentation_( - AVFAudio _lib, - NSData data, - ) { - final _ret = _lib._objc_msgSend_190( - _lib._class_NSCharacterSet1, - _lib._sel_characterSetWithBitmapRepresentation_1, - data.pointer, - ); - return NSCharacterSet._(_ret, _lib, retain: true, release: true); - } + static NSCharacterSet characterSetWithBitmapRepresentation_(NSData data) { + final _ret = _objc_msgSend_190(_class_NSCharacterSet, + _sel_characterSetWithBitmapRepresentation_, data.pointer); + return NSCharacterSet._(_ret, retain: true, release: true); + } - static NSCharacterSet? characterSetWithContentsOfFile_( - AVFAudio _lib, - NSString fName, - ) { - final _ret = _lib._objc_msgSend_191( - _lib._class_NSCharacterSet1, - _lib._sel_characterSetWithContentsOfFile_1, - fName.pointer, - ); + static NSCharacterSet? characterSetWithContentsOfFile_(NSString fName) { + final _ret = _objc_msgSend_191(_class_NSCharacterSet, + _sel_characterSetWithContentsOfFile_, fName.pointer); return _ret.address == 0 - ? null - : NSCharacterSet._(_ret, _lib, retain: true, release: true); + ? null + : NSCharacterSet._(_ret, retain: true, release: true); } NSCharacterSet initWithCoder_(NSCoder coder) { - final _ret = _lib._objc_msgSend_192( - this.pointer, - _lib._sel_initWithCoder_1, - coder.pointer, - ); - return NSCharacterSet._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_192(this.pointer, _sel_initWithCoder_, coder.pointer); + return NSCharacterSet._(_ret, retain: true, release: true); } bool characterIsMember_(int aCharacter) { - return _lib._objc_msgSend_193( - this.pointer, - _lib._sel_characterIsMember_1, - aCharacter, - ); + return _objc_msgSend_193(this.pointer, _sel_characterIsMember_, aCharacter); } NSData get bitmapRepresentation { - final _ret = _lib._objc_msgSend_43( - this.pointer, - _lib._sel_bitmapRepresentation1, - ); - return NSData._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_43(this.pointer, _sel_bitmapRepresentation); + return NSData._(_ret, retain: true, release: true); } NSCharacterSet get invertedSet { - final _ret = _lib._objc_msgSend_187(this.pointer, _lib._sel_invertedSet1); - return NSCharacterSet._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_187(this.pointer, _sel_invertedSet); + return NSCharacterSet._(_ret, retain: true, release: true); } bool longCharacterIsMember_(int theLongChar) { - return _lib._objc_msgSend_194( - this.pointer, - _lib._sel_longCharacterIsMember_1, - theLongChar, - ); + return _objc_msgSend_194( + this.pointer, _sel_longCharacterIsMember_, theLongChar); } bool isSupersetOfSet_(NSCharacterSet theOtherSet) { - return _lib._objc_msgSend_195( - this.pointer, - _lib._sel_isSupersetOfSet_1, - theOtherSet.pointer, - ); + return _objc_msgSend_195( + this.pointer, _sel_isSupersetOfSet_, theOtherSet.pointer); } bool hasMemberInPlane_(int thePlane) { - return _lib._objc_msgSend_196( - this.pointer, - _lib._sel_hasMemberInPlane_1, - thePlane, - ); + return _objc_msgSend_196(this.pointer, _sel_hasMemberInPlane_, thePlane); } - static NSCharacterSet getURLUserAllowedCharacterSet(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_187( - _lib._class_NSCharacterSet1, - _lib._sel_URLUserAllowedCharacterSet1, - ); - return NSCharacterSet._(_ret, _lib, retain: true, release: true); + static NSCharacterSet getURLUserAllowedCharacterSet() { + final _ret = _objc_msgSend_187( + _class_NSCharacterSet, _sel_URLUserAllowedCharacterSet); + return NSCharacterSet._(_ret, retain: true, release: true); } - static NSCharacterSet getURLPasswordAllowedCharacterSet(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_187( - _lib._class_NSCharacterSet1, - _lib._sel_URLPasswordAllowedCharacterSet1, - ); - return NSCharacterSet._(_ret, _lib, retain: true, release: true); + static NSCharacterSet getURLPasswordAllowedCharacterSet() { + final _ret = _objc_msgSend_187( + _class_NSCharacterSet, _sel_URLPasswordAllowedCharacterSet); + return NSCharacterSet._(_ret, retain: true, release: true); } - static NSCharacterSet getURLHostAllowedCharacterSet(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_187( - _lib._class_NSCharacterSet1, - _lib._sel_URLHostAllowedCharacterSet1, - ); - return NSCharacterSet._(_ret, _lib, retain: true, release: true); + static NSCharacterSet getURLHostAllowedCharacterSet() { + final _ret = _objc_msgSend_187( + _class_NSCharacterSet, _sel_URLHostAllowedCharacterSet); + return NSCharacterSet._(_ret, retain: true, release: true); } - static NSCharacterSet getURLPathAllowedCharacterSet(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_187( - _lib._class_NSCharacterSet1, - _lib._sel_URLPathAllowedCharacterSet1, - ); - return NSCharacterSet._(_ret, _lib, retain: true, release: true); + static NSCharacterSet getURLPathAllowedCharacterSet() { + final _ret = _objc_msgSend_187( + _class_NSCharacterSet, _sel_URLPathAllowedCharacterSet); + return NSCharacterSet._(_ret, retain: true, release: true); } - static NSCharacterSet getURLQueryAllowedCharacterSet(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_187( - _lib._class_NSCharacterSet1, - _lib._sel_URLQueryAllowedCharacterSet1, - ); - return NSCharacterSet._(_ret, _lib, retain: true, release: true); + static NSCharacterSet getURLQueryAllowedCharacterSet() { + final _ret = _objc_msgSend_187( + _class_NSCharacterSet, _sel_URLQueryAllowedCharacterSet); + return NSCharacterSet._(_ret, retain: true, release: true); } - static NSCharacterSet getURLFragmentAllowedCharacterSet(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_187( - _lib._class_NSCharacterSet1, - _lib._sel_URLFragmentAllowedCharacterSet1, - ); - return NSCharacterSet._(_ret, _lib, retain: true, release: true); + static NSCharacterSet getURLFragmentAllowedCharacterSet() { + final _ret = _objc_msgSend_187( + _class_NSCharacterSet, _sel_URLFragmentAllowedCharacterSet); + return NSCharacterSet._(_ret, retain: true, release: true); } @override NSCharacterSet init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSCharacterSet._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSCharacterSet._(_ret, retain: true, release: true); } - static NSCharacterSet new1(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSCharacterSet1, - _lib._sel_new1, - ); - return NSCharacterSet._(_ret, _lib, retain: false, release: true); + static NSCharacterSet new1() { + final _ret = _objc_msgSend_2(_class_NSCharacterSet, _sel_new); + return NSCharacterSet._(_ret, retain: false, release: true); } - static NSCharacterSet allocWithZone_( - AVFAudio _lib, - ffi.Pointer<_NSZone> zone, - ) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSCharacterSet1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSCharacterSet._(_ret, _lib, retain: false, release: true); + static NSCharacterSet allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = + _objc_msgSend_3(_class_NSCharacterSet, _sel_allocWithZone_, zone); + return NSCharacterSet._(_ret, retain: false, release: true); } - static NSCharacterSet alloc(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSCharacterSet1, - _lib._sel_alloc1, - ); - return NSCharacterSet._(_ret, _lib, retain: false, release: true); + static NSCharacterSet alloc() { + final _ret = _objc_msgSend_2(_class_NSCharacterSet, _sel_alloc); + return NSCharacterSet._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSCharacterSet1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSCharacterSet1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSCharacterSet1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSCharacterSet1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSCharacterSet1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSCharacterSet1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSCharacterSet, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); } - static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSCharacterSet1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSCharacterSet1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSCharacterSet1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSCharacterSet, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); + } + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSCharacterSet, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSCharacterSet, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSCharacterSet, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); } -} + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSCharacterSet, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); + } + + static void setKeys_triggerChangeNotificationsForDependentKey_( + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSCharacterSet, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = _objc_msgSend_85( + _class_NSCharacterSet, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = + _objc_msgSend_2(_class_NSCharacterSet, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); + } +} + +late final _class_NSCharacterSet = objc.getClass("NSCharacterSet"); +late final _sel_controlCharacterSet = objc.registerName("controlCharacterSet"); +final _objc_msgSend_187 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_whitespaceCharacterSet = + objc.registerName("whitespaceCharacterSet"); +late final _sel_whitespaceAndNewlineCharacterSet = + objc.registerName("whitespaceAndNewlineCharacterSet"); +late final _sel_decimalDigitCharacterSet = + objc.registerName("decimalDigitCharacterSet"); +late final _sel_letterCharacterSet = objc.registerName("letterCharacterSet"); +late final _sel_lowercaseLetterCharacterSet = + objc.registerName("lowercaseLetterCharacterSet"); +late final _sel_uppercaseLetterCharacterSet = + objc.registerName("uppercaseLetterCharacterSet"); +late final _sel_nonBaseCharacterSet = objc.registerName("nonBaseCharacterSet"); +late final _sel_alphanumericCharacterSet = + objc.registerName("alphanumericCharacterSet"); +late final _sel_decomposableCharacterSet = + objc.registerName("decomposableCharacterSet"); +late final _sel_illegalCharacterSet = objc.registerName("illegalCharacterSet"); +late final _sel_punctuationCharacterSet = + objc.registerName("punctuationCharacterSet"); +late final _sel_capitalizedLetterCharacterSet = + objc.registerName("capitalizedLetterCharacterSet"); +late final _sel_symbolCharacterSet = objc.registerName("symbolCharacterSet"); +late final _sel_newlineCharacterSet = objc.registerName("newlineCharacterSet"); +late final _sel_characterSetWithRange_ = + objc.registerName("characterSetWithRange:"); +final _objc_msgSend_188 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + _NSRange aRange)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, _NSRange)>(); +late final _sel_characterSetWithCharactersInString_ = + objc.registerName("characterSetWithCharactersInString:"); +final _objc_msgSend_189 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer aString)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_characterSetWithBitmapRepresentation_ = + objc.registerName("characterSetWithBitmapRepresentation:"); +final _objc_msgSend_190 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer data)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_characterSetWithContentsOfFile_ = + objc.registerName("characterSetWithContentsOfFile:"); +final _objc_msgSend_191 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer fName)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +final _objc_msgSend_192 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer coder)>>() + .asFunction< + instancetype Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_characterIsMember_ = objc.registerName("characterIsMember:"); +final _objc_msgSend_193 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.UnsignedShort aCharacter)>>() + .asFunction< + bool Function(ffi.Pointer, + ffi.Pointer, int)>(); +late final _sel_bitmapRepresentation = + objc.registerName("bitmapRepresentation"); +late final _sel_invertedSet = objc.registerName("invertedSet"); +late final _sel_longCharacterIsMember_ = + objc.registerName("longCharacterIsMember:"); +final _objc_msgSend_194 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.UnsignedInt theLongChar)>>() + .asFunction< + bool Function(ffi.Pointer, + ffi.Pointer, int)>(); +late final _sel_isSupersetOfSet_ = objc.registerName("isSupersetOfSet:"); +final _objc_msgSend_195 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer theOtherSet)>>() + .asFunction< + bool Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_hasMemberInPlane_ = objc.registerName("hasMemberInPlane:"); +final _objc_msgSend_196 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function(ffi.Pointer obj, + ffi.Pointer sel, ffi.Uint8 thePlane)>>() + .asFunction< + bool Function(ffi.Pointer, + ffi.Pointer, int)>(); +late final _sel_URLUserAllowedCharacterSet = + objc.registerName("URLUserAllowedCharacterSet"); +late final _sel_URLPasswordAllowedCharacterSet = + objc.registerName("URLPasswordAllowedCharacterSet"); +late final _sel_URLHostAllowedCharacterSet = + objc.registerName("URLHostAllowedCharacterSet"); +late final _sel_URLPathAllowedCharacterSet = + objc.registerName("URLPathAllowedCharacterSet"); +late final _sel_URLQueryAllowedCharacterSet = + objc.registerName("URLQueryAllowedCharacterSet"); +late final _sel_URLFragmentAllowedCharacterSet = + objc.registerName("URLFragmentAllowedCharacterSet"); +late final _sel_exemplarCharacterSet = + objc.registerName("exemplarCharacterSet"); +late final _sel_calendarIdentifier = objc.registerName("calendarIdentifier"); +late final _sel_localizedStringForCalendarIdentifier_ = + objc.registerName("localizedStringForCalendarIdentifier:"); +late final _sel_collationIdentifier = objc.registerName("collationIdentifier"); +late final _sel_localizedStringForCollationIdentifier_ = + objc.registerName("localizedStringForCollationIdentifier:"); +late final _sel_usesMetricSystem = objc.registerName("usesMetricSystem"); +late final _sel_decimalSeparator = objc.registerName("decimalSeparator"); +late final _sel_groupingSeparator = objc.registerName("groupingSeparator"); +late final _sel_currencySymbol = objc.registerName("currencySymbol"); +late final _sel_currencyCode = objc.registerName("currencyCode"); +late final _sel_localizedStringForCurrencyCode_ = + objc.registerName("localizedStringForCurrencyCode:"); +late final _sel_collatorIdentifier = objc.registerName("collatorIdentifier"); +late final _sel_localizedStringForCollatorIdentifier_ = + objc.registerName("localizedStringForCollatorIdentifier:"); +late final _sel_quotationBeginDelimiter = + objc.registerName("quotationBeginDelimiter"); +late final _sel_quotationEndDelimiter = + objc.registerName("quotationEndDelimiter"); +late final _sel_alternateQuotationBeginDelimiter = + objc.registerName("alternateQuotationBeginDelimiter"); +late final _sel_alternateQuotationEndDelimiter = + objc.registerName("alternateQuotationEndDelimiter"); +late final _sel_autoupdatingCurrentLocale = + objc.registerName("autoupdatingCurrentLocale"); +final _objc_msgSend_197 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_currentLocale = objc.registerName("currentLocale"); +late final _sel_systemLocale = objc.registerName("systemLocale"); +late final _sel_localeWithLocaleIdentifier_ = + objc.registerName("localeWithLocaleIdentifier:"); +late final _sel_availableLocaleIdentifiers = + objc.registerName("availableLocaleIdentifiers"); +late final _sel_ISOLanguageCodes = objc.registerName("ISOLanguageCodes"); +late final _sel_ISOCountryCodes = objc.registerName("ISOCountryCodes"); +late final _sel_ISOCurrencyCodes = objc.registerName("ISOCurrencyCodes"); +late final _sel_commonISOCurrencyCodes = + objc.registerName("commonISOCurrencyCodes"); +late final _sel_preferredLanguages = objc.registerName("preferredLanguages"); +late final _sel_componentsFromLocaleIdentifier_ = + objc.registerName("componentsFromLocaleIdentifier:"); +final _objc_msgSend_198 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer string)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_localeIdentifierFromComponents_ = + objc.registerName("localeIdentifierFromComponents:"); +final _objc_msgSend_199 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer dict)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_canonicalLocaleIdentifierFromString_ = + objc.registerName("canonicalLocaleIdentifierFromString:"); +late final _sel_canonicalLanguageIdentifierFromString_ = + objc.registerName("canonicalLanguageIdentifierFromString:"); +late final _sel_localeIdentifierFromWindowsLocaleCode_ = + objc.registerName("localeIdentifierFromWindowsLocaleCode:"); +final _objc_msgSend_200 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Uint32 lcid)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, int)>(); +late final _sel_windowsLocaleCodeFromLocaleIdentifier_ = + objc.registerName("windowsLocaleCodeFromLocaleIdentifier:"); +final _objc_msgSend_201 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Uint32 Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer localeIdentifier)>>() + .asFunction< + int Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); abstract class NSLocaleLanguageDirection { static const int NSLocaleLanguageDirectionUnknown = 0; @@ -51720,6 +13618,708 @@ abstract class NSLocaleLanguageDirection { static const int NSLocaleLanguageDirectionBottomToTop = 4; } +late final _sel_characterDirectionForLanguage_ = + objc.registerName("characterDirectionForLanguage:"); +final _objc_msgSend_202 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer isoLangCode)>>() + .asFunction< + int Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_lineDirectionForLanguage_ = + objc.registerName("lineDirectionForLanguage:"); +late final _sel_localizedName_locale_ = + objc.registerName("localizedName:locale:"); +final _objc_msgSend_203 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Int32 style, + ffi.Pointer locale)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer)>(); +late final _sel_timeZoneWithName_ = objc.registerName("timeZoneWithName:"); +late final _sel_timeZoneWithName_data_ = + objc.registerName("timeZoneWithName:data:"); +final _objc_msgSend_204 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer tzName, + ffi.Pointer aData)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_initWithName_ = objc.registerName("initWithName:"); +late final _sel_initWithName_data_ = objc.registerName("initWithName:data:"); +late final _sel_timeZoneForSecondsFromGMT_ = + objc.registerName("timeZoneForSecondsFromGMT:"); +final _objc_msgSend_205 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function(ffi.Pointer obj, + ffi.Pointer sel, ffi.Long seconds)>>() + .asFunction< + instancetype Function(ffi.Pointer, + ffi.Pointer, int)>(); +late final _sel_timeZoneWithAbbreviation_ = + objc.registerName("timeZoneWithAbbreviation:"); +late final _sel_dateWithYear_month_day_hour_minute_second_timeZone_ = + objc.registerName("dateWithYear:month:day:hour:minute:second:timeZone:"); +final _objc_msgSend_206 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Long year, + ffi.UnsignedLong month, + ffi.UnsignedLong day, + ffi.UnsignedLong hour, + ffi.UnsignedLong minute, + ffi.UnsignedLong second, + ffi.Pointer aTimeZone)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + int, + int, + int, + int, + int, + ffi.Pointer)>(); +late final _sel_dateByAddingYears_months_days_hours_minutes_seconds_ = + objc.registerName("dateByAddingYears:months:days:hours:minutes:seconds:"); +final _objc_msgSend_207 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Long year, + ffi.Long month, + ffi.Long day, + ffi.Long hour, + ffi.Long minute, + ffi.Long second)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, int, int, int, int, int, int)>(); +late final _sel_dayOfCommonEra = objc.registerName("dayOfCommonEra"); +late final _sel_dayOfMonth = objc.registerName("dayOfMonth"); +late final _sel_dayOfWeek = objc.registerName("dayOfWeek"); +late final _sel_dayOfYear = objc.registerName("dayOfYear"); +late final _sel_hourOfDay = objc.registerName("hourOfDay"); +late final _sel_minuteOfHour = objc.registerName("minuteOfHour"); +late final _sel_monthOfYear = objc.registerName("monthOfYear"); +late final _sel_secondOfMinute = objc.registerName("secondOfMinute"); +late final _sel_yearOfCommonEra = objc.registerName("yearOfCommonEra"); +late final _sel_calendarFormat = objc.registerName("calendarFormat"); +late final _sel_descriptionWithCalendarFormat_locale_ = + objc.registerName("descriptionWithCalendarFormat:locale:"); +final _objc_msgSend_208 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer format, + ffi.Pointer locale)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_descriptionWithCalendarFormat_ = + objc.registerName("descriptionWithCalendarFormat:"); +late final _sel_timeZone = objc.registerName("timeZone"); +late final _sel_initWithString_calendarFormat_locale_ = + objc.registerName("initWithString:calendarFormat:locale:"); +late final _sel_initWithString_calendarFormat_ = + objc.registerName("initWithString:calendarFormat:"); +late final _sel_initWithYear_month_day_hour_minute_second_timeZone_ = + objc.registerName("initWithYear:month:day:hour:minute:second:timeZone:"); +late final _sel_setCalendarFormat_ = objc.registerName("setCalendarFormat:"); +final _objc_msgSend_209 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer format)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_setTimeZone_ = objc.registerName("setTimeZone:"); +final _objc_msgSend_210 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer aTimeZone)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_years_months_days_hours_minutes_seconds_sinceDate_ = + objc.registerName("years:months:days:hours:minutes:seconds:sinceDate:"); +final _objc_msgSend_211 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer yp, + ffi.Pointer mop, + ffi.Pointer dp, + ffi.Pointer hp, + ffi.Pointer mip, + ffi.Pointer sp, + ffi.Pointer date)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_dateWithCalendarFormat_timeZone_ = + objc.registerName("dateWithCalendarFormat:timeZone:"); +final _objc_msgSend_212 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer format, + ffi.Pointer aTimeZone)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_descriptionWithCalendarFormat_timeZone_locale_ = + objc.registerName("descriptionWithCalendarFormat:timeZone:locale:"); +final _objc_msgSend_213 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer format, + ffi.Pointer aTimeZone, + ffi.Pointer locale)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_fileModificationDate = + objc.registerName("fileModificationDate"); +late final _sel_fileType = objc.registerName("fileType"); +late final _sel_filePosixPermissions = + objc.registerName("filePosixPermissions"); +late final _sel_fileOwnerAccountName = + objc.registerName("fileOwnerAccountName"); +late final _sel_fileGroupOwnerAccountName = + objc.registerName("fileGroupOwnerAccountName"); +late final _sel_fileSystemNumber = objc.registerName("fileSystemNumber"); +late final _sel_fileSystemFileNumber = + objc.registerName("fileSystemFileNumber"); +late final _sel_fileExtensionHidden = objc.registerName("fileExtensionHidden"); +late final _sel_fileHFSCreatorCode = objc.registerName("fileHFSCreatorCode"); +final _objc_msgSend_214 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.UnsignedInt Function(ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + int Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_fileHFSTypeCode = objc.registerName("fileHFSTypeCode"); +late final _sel_fileIsImmutable = objc.registerName("fileIsImmutable"); +late final _sel_fileIsAppendOnly = objc.registerName("fileIsAppendOnly"); +late final _sel_fileCreationDate = objc.registerName("fileCreationDate"); +late final _sel_fileOwnerAccountID = objc.registerName("fileOwnerAccountID"); +final _objc_msgSend_215 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_fileGroupOwnerAccountID = + objc.registerName("fileGroupOwnerAccountID"); +late final _sel_predicateWithBlock_ = objc.registerName("predicateWithBlock:"); +final _objc_msgSend_216 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer block)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_predicateFormat = objc.registerName("predicateFormat"); +late final _sel_predicateWithSubstitutionVariables_ = + objc.registerName("predicateWithSubstitutionVariables:"); +late final _sel_evaluateWithObject_ = objc.registerName("evaluateWithObject:"); +final _objc_msgSend_217 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer object)>>() + .asFunction< + bool Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_evaluateWithObject_substitutionVariables_ = + objc.registerName("evaluateWithObject:substitutionVariables:"); +final _objc_msgSend_218 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer object, + ffi.Pointer bindings)>>() + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_allowEvaluation = objc.registerName("allowEvaluation"); +late final _sel_filteredArrayUsingPredicate_ = + objc.registerName("filteredArrayUsingPredicate:"); +final _objc_msgSend_219 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer predicate)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_initWithChar_ = objc.registerName("initWithChar:"); +final _objc_msgSend_220 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Char value)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, int)>(); +late final _sel_initWithUnsignedChar_ = + objc.registerName("initWithUnsignedChar:"); +final _objc_msgSend_221 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.UnsignedChar value)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, int)>(); +late final _sel_initWithShort_ = objc.registerName("initWithShort:"); +final _objc_msgSend_222 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Short value)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, int)>(); +late final _sel_initWithUnsignedShort_ = + objc.registerName("initWithUnsignedShort:"); +final _objc_msgSend_223 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.UnsignedShort value)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, int)>(); +late final _sel_initWithInt_ = objc.registerName("initWithInt:"); +final _objc_msgSend_224 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Int value)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, int)>(); +late final _sel_initWithUnsignedInt_ = + objc.registerName("initWithUnsignedInt:"); +final _objc_msgSend_225 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.UnsignedInt value)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, int)>(); +late final _sel_initWithLong_ = objc.registerName("initWithLong:"); +final _objc_msgSend_226 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Long value)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, int)>(); +late final _sel_initWithUnsignedLong_ = + objc.registerName("initWithUnsignedLong:"); +final _objc_msgSend_227 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.UnsignedLong value)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, int)>(); +late final _sel_initWithLongLong_ = objc.registerName("initWithLongLong:"); +final _objc_msgSend_228 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.LongLong value)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, int)>(); +late final _sel_initWithUnsignedLongLong_ = + objc.registerName("initWithUnsignedLongLong:"); +final _objc_msgSend_229 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.UnsignedLongLong value)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, int)>(); +late final _sel_initWithFloat_ = objc.registerName("initWithFloat:"); +final _objc_msgSend_230 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Float value)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, double)>(); +late final _sel_initWithDouble_ = objc.registerName("initWithDouble:"); +final _objc_msgSend_231 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Double value)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, double)>(); +late final _sel_initWithBool_ = objc.registerName("initWithBool:"); +final _objc_msgSend_232 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Bool value)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, bool)>(); +late final _sel_initWithInteger_ = objc.registerName("initWithInteger:"); +late final _sel_initWithUnsignedInteger_ = + objc.registerName("initWithUnsignedInteger:"); +late final _sel_charValue = objc.registerName("charValue"); +final _objc_msgSend_233 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Char Function(ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + int Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_unsignedCharValue = objc.registerName("unsignedCharValue"); +final _objc_msgSend_234 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.UnsignedChar Function(ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + int Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_shortValue = objc.registerName("shortValue"); +final _objc_msgSend_235 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Short Function(ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + int Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_unsignedShortValue = objc.registerName("unsignedShortValue"); +final _objc_msgSend_236 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.UnsignedShort Function(ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + int Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_intValue = objc.registerName("intValue"); +final _objc_msgSend_237 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Int Function(ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + int Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_unsignedIntValue = objc.registerName("unsignedIntValue"); +late final _sel_longValue = objc.registerName("longValue"); +late final _sel_unsignedLongValue = objc.registerName("unsignedLongValue"); +late final _sel_longLongValue = objc.registerName("longLongValue"); +final _objc_msgSend_238 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.LongLong Function(ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + int Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_unsignedLongLongValue = + objc.registerName("unsignedLongLongValue"); +late final _sel_floatValue = objc.registerName("floatValue"); +final _objc_msgSend_239 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Float Function(ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + double Function( + ffi.Pointer, ffi.Pointer)>(); +final _objc_msgSend_239Fpret = objc.msgSendFpretPointer + .cast< + ffi.NativeFunction< + ffi.Float Function(ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + double Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_doubleValue = objc.registerName("doubleValue"); +late final _sel_boolValue = objc.registerName("boolValue"); +late final _sel_integerValue = objc.registerName("integerValue"); +late final _sel_unsignedIntegerValue = + objc.registerName("unsignedIntegerValue"); +late final _sel_stringValue = objc.registerName("stringValue"); +final _objc_msgSend_240 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer otherNumber)>>() + .asFunction< + int Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_isEqualToNumber_ = objc.registerName("isEqualToNumber:"); +final _objc_msgSend_241 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer number)>>() + .asFunction< + bool Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_numberWithChar_ = objc.registerName("numberWithChar:"); +late final _sel_numberWithUnsignedChar_ = + objc.registerName("numberWithUnsignedChar:"); +late final _sel_numberWithShort_ = objc.registerName("numberWithShort:"); +late final _sel_numberWithUnsignedShort_ = + objc.registerName("numberWithUnsignedShort:"); +late final _sel_numberWithInt_ = objc.registerName("numberWithInt:"); +late final _sel_numberWithUnsignedInt_ = + objc.registerName("numberWithUnsignedInt:"); +late final _sel_numberWithLong_ = objc.registerName("numberWithLong:"); +late final _sel_numberWithUnsignedLong_ = + objc.registerName("numberWithUnsignedLong:"); +late final _sel_numberWithLongLong_ = objc.registerName("numberWithLongLong:"); +late final _sel_numberWithUnsignedLongLong_ = + objc.registerName("numberWithUnsignedLongLong:"); +late final _sel_numberWithFloat_ = objc.registerName("numberWithFloat:"); +late final _sel_numberWithDouble_ = objc.registerName("numberWithDouble:"); +late final _sel_numberWithBool_ = objc.registerName("numberWithBool:"); +late final _sel_numberWithInteger_ = objc.registerName("numberWithInteger:"); +late final _sel_numberWithUnsignedInteger_ = + objc.registerName("numberWithUnsignedInteger:"); +late final _sel_port = objc.registerName("port"); +late final _sel_user = objc.registerName("user"); +late final _sel_password = objc.registerName("password"); +late final _sel_path = objc.registerName("path"); +late final _sel_fragment = objc.registerName("fragment"); +late final _sel_parameterString = objc.registerName("parameterString"); +late final _sel_query = objc.registerName("query"); +late final _sel_relativePath = objc.registerName("relativePath"); +late final _sel_hasDirectoryPath = objc.registerName("hasDirectoryPath"); +late final _sel_getFileSystemRepresentation_maxLength_ = + objc.registerName("getFileSystemRepresentation:maxLength:"); +final _objc_msgSend_242 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer buffer, + ffi.UnsignedLong maxBufferLength)>>() + .asFunction< + bool Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer, int)>(); +late final _sel_fileSystemRepresentation = + objc.registerName("fileSystemRepresentation"); +late final _sel_isFileURL = objc.registerName("isFileURL"); +late final _sel_standardizedURL = objc.registerName("standardizedURL"); +late final _sel_isFileReferenceURL = objc.registerName("isFileReferenceURL"); +late final _sel_fileReferenceURL = objc.registerName("fileReferenceURL"); +late final _sel_filePathURL = objc.registerName("filePathURL"); +late final _sel_getResourceValue_forKey_error_ = + objc.registerName("getResourceValue:forKey:error:"); +final _objc_msgSend_243 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer> value, + ffi.Pointer key, + ffi.Pointer> error)>>() + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer, + ffi.Pointer>)>(); +late final _sel_resourceValuesForKeys_error_ = + objc.registerName("resourceValuesForKeys:error:"); +final _objc_msgSend_244 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer keys, + ffi.Pointer> error)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>(); +late final _sel_setResourceValue_forKey_error_ = + objc.registerName("setResourceValue:forKey:error:"); +final _objc_msgSend_245 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value, + ffi.Pointer key, + ffi.Pointer> error)>>() + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>(); +late final _sel_setResourceValues_error_ = + objc.registerName("setResourceValues:error:"); +final _objc_msgSend_246 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer keyedValues, + ffi.Pointer> error)>>() + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>(); +late final _sel_removeCachedResourceValueForKey_ = + objc.registerName("removeCachedResourceValueForKey:"); +final _objc_msgSend_247 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer key)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_removeAllCachedResourceValues = + objc.registerName("removeAllCachedResourceValues"); +late final _sel_setTemporaryResourceValue_forKey_ = + objc.registerName("setTemporaryResourceValue:forKey:"); + abstract class NSURLBookmarkCreationOptions { static const int NSURLBookmarkCreationPreferFileIDResolution = 256; static const int NSURLBookmarkCreationMinimalBookmark = 512; @@ -51730,6 +14330,28 @@ abstract class NSURLBookmarkCreationOptions { 536870912; } +late final _sel_bookmarkDataWithOptions_includingResourceValuesForKeys_relativeToURL_error_ = + objc.registerName( + "bookmarkDataWithOptions:includingResourceValuesForKeys:relativeToURL:error:"); +final _objc_msgSend_248 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Int32 options, + ffi.Pointer keys, + ffi.Pointer relativeURL, + ffi.Pointer> error)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>(); + abstract class NSURLBookmarkResolutionOptions { static const int NSURLBookmarkResolutionWithoutUI = 256; static const int NSURLBookmarkResolutionWithoutMounting = 512; @@ -51737,329 +14359,471 @@ abstract class NSURLBookmarkResolutionOptions { static const int NSURLBookmarkResolutionWithoutImplicitStartAccessing = 32768; } +late final _sel_initByResolvingBookmarkData_options_relativeToURL_bookmarkDataIsStale_error_ = + objc.registerName( + "initByResolvingBookmarkData:options:relativeToURL:bookmarkDataIsStale:error:"); +final _objc_msgSend_249 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer bookmarkData, + ffi.Int32 options, + ffi.Pointer relativeURL, + ffi.Pointer isStale, + ffi.Pointer> error)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>(); +late final _sel_URLByResolvingBookmarkData_options_relativeToURL_bookmarkDataIsStale_error_ = + objc.registerName( + "URLByResolvingBookmarkData:options:relativeToURL:bookmarkDataIsStale:error:"); +late final _sel_resourceValuesForKeys_fromBookmarkData_ = + objc.registerName("resourceValuesForKeys:fromBookmarkData:"); +final _objc_msgSend_250 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer keys, + ffi.Pointer bookmarkData)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_writeBookmarkData_toURL_options_error_ = + objc.registerName("writeBookmarkData:toURL:options:error:"); +final _objc_msgSend_251 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer bookmarkData, + ffi.Pointer bookmarkFileURL, + ffi.UnsignedLong options, + ffi.Pointer> error)>>() + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer>)>(); +late final _sel_bookmarkDataWithContentsOfURL_error_ = + objc.registerName("bookmarkDataWithContentsOfURL:error:"); +final _objc_msgSend_252 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer bookmarkFileURL, + ffi.Pointer> error)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>(); +late final _sel_URLByResolvingAliasFileAtURL_options_error_ = + objc.registerName("URLByResolvingAliasFileAtURL:options:error:"); +final _objc_msgSend_253 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer url, + ffi.Int32 options, + ffi.Pointer> error)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer>)>(); +late final _sel_startAccessingSecurityScopedResource = + objc.registerName("startAccessingSecurityScopedResource"); +late final _sel_stopAccessingSecurityScopedResource = + objc.registerName("stopAccessingSecurityScopedResource"); +late final _sel_getPromisedItemResourceValue_forKey_error_ = + objc.registerName("getPromisedItemResourceValue:forKey:error:"); +late final _sel_promisedItemResourceValuesForKeys_error_ = + objc.registerName("promisedItemResourceValuesForKeys:error:"); +final _objc_msgSend_254 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer keys, + ffi.Pointer> error)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>(); +late final _sel_checkPromisedItemIsReachableAndReturnError_ = + objc.registerName("checkPromisedItemIsReachableAndReturnError:"); +final _objc_msgSend_255 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer> error)>>() + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>(); +late final _sel_fileURLWithPathComponents_ = + objc.registerName("fileURLWithPathComponents:"); +final _objc_msgSend_256 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer components)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_pathComponents = objc.registerName("pathComponents"); +late final _sel_lastPathComponent = objc.registerName("lastPathComponent"); +late final _sel_pathExtension = objc.registerName("pathExtension"); +late final _sel_URLByAppendingPathComponent_ = + objc.registerName("URLByAppendingPathComponent:"); +final _objc_msgSend_257 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer pathComponent)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_URLByAppendingPathComponent_isDirectory_ = + objc.registerName("URLByAppendingPathComponent:isDirectory:"); +final _objc_msgSend_258 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer pathComponent, + ffi.Bool isDirectory)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool)>(); +late final _sel_URLByDeletingLastPathComponent = + objc.registerName("URLByDeletingLastPathComponent"); +late final _sel_URLByAppendingPathExtension_ = + objc.registerName("URLByAppendingPathExtension:"); +late final _sel_URLByDeletingPathExtension = + objc.registerName("URLByDeletingPathExtension"); +late final _sel_checkResourceIsReachableAndReturnError_ = + objc.registerName("checkResourceIsReachableAndReturnError:"); +late final _sel_URLByStandardizingPath = + objc.registerName("URLByStandardizingPath"); +late final _sel_URLByResolvingSymlinksInPath = + objc.registerName("URLByResolvingSymlinksInPath"); +late final _sel_resourceDataUsingCache_ = + objc.registerName("resourceDataUsingCache:"); +final _objc_msgSend_259 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Bool shouldUseCache)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, bool)>(); +late final _sel_loadResourceDataNotifyingClient_usingCache_ = + objc.registerName("loadResourceDataNotifyingClient:usingCache:"); +final _objc_msgSend_260 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer client, + ffi.Bool shouldUseCache)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool)>(); +late final _sel_propertyForKey_ = objc.registerName("propertyForKey:"); +late final _sel_setResourceData_ = objc.registerName("setResourceData:"); +late final _sel_setProperty_forKey_ = objc.registerName("setProperty:forKey:"); +final _objc_msgSend_261 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer property, + ffi.Pointer propertyKey)>>() + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); + class NSURLHandle extends NSObject { - NSURLHandle._( - ffi.Pointer pointer, - AVFAudio lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSURLHandle._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSURLHandle] that points to the same underlying object as [other]. - static NSURLHandle castFrom( - AVFAudio lib, - T other, - ) { - return NSURLHandle._(other.pointer, lib, retain: true, release: true); + static NSURLHandle castFrom(T other) { + return NSURLHandle._(other.pointer, retain: true, release: true); } /// Returns a [NSURLHandle] that wraps the given raw object pointer. - static NSURLHandle castFromPointer( - AVFAudio lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSURLHandle._(other, lib, retain: retain, release: release); + static NSURLHandle castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSURLHandle._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSURLHandle]. - static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSURLHandle1, - ); - } - - static void registerURLHandleClass_( - AVFAudio _lib, - NSObject anURLHandleSubclass, - ) { - _lib._objc_msgSend_15( - _lib._class_NSURLHandle1, - _lib._sel_registerURLHandleClass_1, - anURLHandleSubclass.pointer, - ); - } - - static NSObject URLHandleClassForURL_(AVFAudio _lib, NSURL anURL) { - final _ret = _lib._objc_msgSend_262( - _lib._class_NSURLHandle1, - _lib._sel_URLHandleClassForURL_1, - anURL.pointer, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0( + obj.pointer, _sel_isKindOfClass_, _class_NSURLHandle); + } + + static void registerURLHandleClass_(NSObject anURLHandleSubclass) { + _objc_msgSend_15(_class_NSURLHandle, _sel_registerURLHandleClass_, + anURLHandleSubclass.pointer); + } + + static NSObject URLHandleClassForURL_(NSURL anURL) { + final _ret = _objc_msgSend_262( + _class_NSURLHandle, _sel_URLHandleClassForURL_, anURL.pointer); + return NSObject._(_ret, retain: true, release: true); } int status() { - return _lib._objc_msgSend_263(this.pointer, _lib._sel_status1); + return _objc_msgSend_263(this.pointer, _sel_status); } NSString failureReason() { - final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_failureReason1); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_failureReason); + return NSString._(_ret, retain: true, release: true); } void addClient_(NSObject client) { - _lib._objc_msgSend_15(this.pointer, _lib._sel_addClient_1, client.pointer); + _objc_msgSend_15(this.pointer, _sel_addClient_, client.pointer); } void removeClient_(NSObject client) { - _lib._objc_msgSend_15( - this.pointer, - _lib._sel_removeClient_1, - client.pointer, - ); + _objc_msgSend_15(this.pointer, _sel_removeClient_, client.pointer); } void loadInBackground() { - _lib._objc_msgSend_1(this.pointer, _lib._sel_loadInBackground1); + _objc_msgSend_1(this.pointer, _sel_loadInBackground); } void cancelLoadInBackground() { - _lib._objc_msgSend_1(this.pointer, _lib._sel_cancelLoadInBackground1); + _objc_msgSend_1(this.pointer, _sel_cancelLoadInBackground); } NSData resourceData() { - final _ret = _lib._objc_msgSend_43(this.pointer, _lib._sel_resourceData1); - return NSData._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_43(this.pointer, _sel_resourceData); + return NSData._(_ret, retain: true, release: true); } NSData availableResourceData() { - final _ret = _lib._objc_msgSend_43( - this.pointer, - _lib._sel_availableResourceData1, - ); - return NSData._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_43(this.pointer, _sel_availableResourceData); + return NSData._(_ret, retain: true, release: true); } int expectedResourceDataSize() { - return _lib._objc_msgSend_238( - this.pointer, - _lib._sel_expectedResourceDataSize1, - ); + return _objc_msgSend_238(this.pointer, _sel_expectedResourceDataSize); } void flushCachedData() { - _lib._objc_msgSend_1(this.pointer, _lib._sel_flushCachedData1); + _objc_msgSend_1(this.pointer, _sel_flushCachedData); } void backgroundLoadDidFailWithReason_(NSString reason) { - _lib._objc_msgSend_247( - this.pointer, - _lib._sel_backgroundLoadDidFailWithReason_1, - reason.pointer, - ); + _objc_msgSend_247( + this.pointer, _sel_backgroundLoadDidFailWithReason_, reason.pointer); } void didLoadBytes_loadComplete_(NSData newBytes, bool yorn) { - _lib._objc_msgSend_264( - this.pointer, - _lib._sel_didLoadBytes_loadComplete_1, - newBytes.pointer, - yorn, - ); + _objc_msgSend_264( + this.pointer, _sel_didLoadBytes_loadComplete_, newBytes.pointer, yorn); } - static bool canInitWithURL_(AVFAudio _lib, NSURL anURL) { - return _lib._objc_msgSend_265( - _lib._class_NSURLHandle1, - _lib._sel_canInitWithURL_1, - anURL.pointer, - ); + static bool canInitWithURL_(NSURL anURL) { + return _objc_msgSend_265( + _class_NSURLHandle, _sel_canInitWithURL_, anURL.pointer); } - static NSURLHandle cachedHandleForURL_(AVFAudio _lib, NSURL anURL) { - final _ret = _lib._objc_msgSend_266( - _lib._class_NSURLHandle1, - _lib._sel_cachedHandleForURL_1, - anURL.pointer, - ); - return NSURLHandle._(_ret, _lib, retain: true, release: true); + static NSURLHandle cachedHandleForURL_(NSURL anURL) { + final _ret = _objc_msgSend_266( + _class_NSURLHandle, _sel_cachedHandleForURL_, anURL.pointer); + return NSURLHandle._(_ret, retain: true, release: true); } NSObject initWithURL_cached_(NSURL anURL, bool willCache) { - final _ret = _lib._objc_msgSend_267( - this.pointer, - _lib._sel_initWithURL_cached_1, - anURL.pointer, - willCache, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_267( + this.pointer, _sel_initWithURL_cached_, anURL.pointer, willCache); + return NSObject._(_ret, retain: true, release: true); } NSObject propertyForKey_(NSString propertyKey) { - final _ret = _lib._objc_msgSend_31( - this.pointer, - _lib._sel_propertyForKey_1, - propertyKey.pointer, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_31( + this.pointer, _sel_propertyForKey_, propertyKey.pointer); + return NSObject._(_ret, retain: true, release: true); } NSObject propertyForKeyIfAvailable_(NSString propertyKey) { - final _ret = _lib._objc_msgSend_31( - this.pointer, - _lib._sel_propertyForKeyIfAvailable_1, - propertyKey.pointer, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_31( + this.pointer, _sel_propertyForKeyIfAvailable_, propertyKey.pointer); + return NSObject._(_ret, retain: true, release: true); } bool writeProperty_forKey_(NSObject propertyValue, NSString propertyKey) { - return _lib._objc_msgSend_261( - this.pointer, - _lib._sel_writeProperty_forKey_1, - propertyValue.pointer, - propertyKey.pointer, - ); + return _objc_msgSend_261(this.pointer, _sel_writeProperty_forKey_, + propertyValue.pointer, propertyKey.pointer); } bool writeData_(NSData data) { - return _lib._objc_msgSend_24( - this.pointer, - _lib._sel_writeData_1, - data.pointer, - ); + return _objc_msgSend_24(this.pointer, _sel_writeData_, data.pointer); } NSData loadInForeground() { - final _ret = _lib._objc_msgSend_43( - this.pointer, - _lib._sel_loadInForeground1, - ); - return NSData._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_43(this.pointer, _sel_loadInForeground); + return NSData._(_ret, retain: true, release: true); } void beginLoadInBackground() { - _lib._objc_msgSend_1(this.pointer, _lib._sel_beginLoadInBackground1); + _objc_msgSend_1(this.pointer, _sel_beginLoadInBackground); } void endLoadInBackground() { - _lib._objc_msgSend_1(this.pointer, _lib._sel_endLoadInBackground1); + _objc_msgSend_1(this.pointer, _sel_endLoadInBackground); } @override NSURLHandle init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSURLHandle._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSURLHandle._(_ret, retain: true, release: true); } - static NSURLHandle new1(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2(_lib._class_NSURLHandle1, _lib._sel_new1); - return NSURLHandle._(_ret, _lib, retain: false, release: true); + static NSURLHandle new1() { + final _ret = _objc_msgSend_2(_class_NSURLHandle, _sel_new); + return NSURLHandle._(_ret, retain: false, release: true); } - static NSURLHandle allocWithZone_(AVFAudio _lib, ffi.Pointer<_NSZone> zone) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSURLHandle1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSURLHandle._(_ret, _lib, retain: false, release: true); + static NSURLHandle allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = _objc_msgSend_3(_class_NSURLHandle, _sel_allocWithZone_, zone); + return NSURLHandle._(_ret, retain: false, release: true); } - static NSURLHandle alloc(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLHandle1, - _lib._sel_alloc1, - ); - return NSURLHandle._(_ret, _lib, retain: false, release: true); + static NSURLHandle alloc() { + final _ret = _objc_msgSend_2(_class_NSURLHandle, _sel_alloc); + return NSURLHandle._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSURLHandle1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSURLHandle1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSURLHandle1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSURLHandle1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSURLHandle1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSURLHandle1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSURLHandle, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); } - static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSURLHandle1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSURLHandle1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLHandle1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSURLHandle, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); + } + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSURLHandle, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSURLHandle, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSURLHandle, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); } -} + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSURLHandle, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); + } + + static void setKeys_triggerChangeNotificationsForDependentKey_( + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSURLHandle, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = _objc_msgSend_85( + _class_NSURLHandle, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = + _objc_msgSend_2(_class_NSURLHandle, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); + } +} + +late final _class_NSURLHandle = objc.getClass("NSURLHandle"); +late final _sel_registerURLHandleClass_ = + objc.registerName("registerURLHandleClass:"); +late final _sel_URLHandleClassForURL_ = + objc.registerName("URLHandleClassForURL:"); +final _objc_msgSend_262 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer anURL)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); abstract class NSURLHandleStatus { static const int NSURLHandleNotLoaded = 0; @@ -52068,6 +14832,104 @@ abstract class NSURLHandleStatus { static const int NSURLHandleLoadFailed = 3; } +late final _sel_status = objc.registerName("status"); +final _objc_msgSend_263 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + int Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_failureReason = objc.registerName("failureReason"); +late final _sel_addClient_ = objc.registerName("addClient:"); +late final _sel_removeClient_ = objc.registerName("removeClient:"); +late final _sel_loadInBackground = objc.registerName("loadInBackground"); +late final _sel_cancelLoadInBackground = + objc.registerName("cancelLoadInBackground"); +late final _sel_resourceData = objc.registerName("resourceData"); +late final _sel_availableResourceData = + objc.registerName("availableResourceData"); +late final _sel_expectedResourceDataSize = + objc.registerName("expectedResourceDataSize"); +late final _sel_flushCachedData = objc.registerName("flushCachedData"); +late final _sel_backgroundLoadDidFailWithReason_ = + objc.registerName("backgroundLoadDidFailWithReason:"); +late final _sel_didLoadBytes_loadComplete_ = + objc.registerName("didLoadBytes:loadComplete:"); +final _objc_msgSend_264 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer newBytes, + ffi.Bool yorn)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool)>(); +late final _sel_canInitWithURL_ = objc.registerName("canInitWithURL:"); +final _objc_msgSend_265 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer anURL)>>() + .asFunction< + bool Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_cachedHandleForURL_ = objc.registerName("cachedHandleForURL:"); +final _objc_msgSend_266 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer anURL)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_initWithURL_cached_ = objc.registerName("initWithURL:cached:"); +final _objc_msgSend_267 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer anURL, + ffi.Bool willCache)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool)>(); +late final _sel_propertyForKeyIfAvailable_ = + objc.registerName("propertyForKeyIfAvailable:"); +late final _sel_writeProperty_forKey_ = + objc.registerName("writeProperty:forKey:"); +late final _sel_writeData_ = objc.registerName("writeData:"); +late final _sel_loadInForeground = objc.registerName("loadInForeground"); +late final _sel_beginLoadInBackground = + objc.registerName("beginLoadInBackground"); +late final _sel_endLoadInBackground = objc.registerName("endLoadInBackground"); +late final _sel_URLHandleUsingCache_ = + objc.registerName("URLHandleUsingCache:"); +final _objc_msgSend_268 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Bool shouldUseCache)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, bool)>(); + abstract class NSDataWritingOptions { static const int NSDataWritingAtomic = 1; static const int NSDataWritingWithoutOverwriting = 2; @@ -52083,25 +14945,94 @@ abstract class NSDataWritingOptions { static const int NSAtomicWrite = 1; } +late final _sel_writeToFile_options_error_ = + objc.registerName("writeToFile:options:error:"); +final _objc_msgSend_269 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer path, + ffi.Int32 writeOptionsMask, + ffi.Pointer> errorPtr)>>() + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer>)>(); +late final _sel_writeToURL_options_error_ = + objc.registerName("writeToURL:options:error:"); +final _objc_msgSend_270 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer url, + ffi.Int32 writeOptionsMask, + ffi.Pointer> errorPtr)>>() + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer>)>(); + abstract class NSDataSearchOptions { static const int NSDataSearchBackwards = 1; static const int NSDataSearchAnchored = 2; } +late final _sel_rangeOfData_options_range_ = + objc.registerName("rangeOfData:options:range:"); +final _objc_msgSend_271 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + _NSRange Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer dataToFind, + ffi.Int32 mask, + _NSRange searchRange)>>() + .asFunction< + _NSRange Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + _NSRange)>(); +final _objc_msgSend_271Stret = objc.msgSendStretPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer<_NSRange> stret, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer dataToFind, + ffi.Int32 mask, + _NSRange searchRange)>>() + .asFunction< + void Function( + ffi.Pointer<_NSRange>, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + _NSRange)>(); void _ObjCBlock_ffiVoid_ffiVoid_NSRange_bool_fnPtrTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, - _NSRange arg1, - ffi.Pointer arg2, -) => + ffi.Pointer block, + ffi.Pointer arg0, + _NSRange arg1, + ffi.Pointer arg2) => block.ref.target .cast< ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - _NSRange arg1, - ffi.Pointer arg2, - )>>() + ffi.Void Function(ffi.Pointer arg0, _NSRange arg1, + ffi.Pointer arg2)>>() .asFunction< void Function(ffi.Pointer, _NSRange, ffi.Pointer)>()(arg0, arg1, arg2); @@ -52109,45 +15040,32 @@ final _ObjCBlock_ffiVoid_ffiVoid_NSRange_bool_closureRegistry = , _NSRange, ffi.Pointer)>{}; int _ObjCBlock_ffiVoid_ffiVoid_NSRange_bool_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_ffiVoid_ffiVoid_NSRange_bool_registerClosure( - void Function(ffi.Pointer, _NSRange, ffi.Pointer) fn, -) { + void Function(ffi.Pointer, _NSRange, ffi.Pointer) fn) { final id = ++_ObjCBlock_ffiVoid_ffiVoid_NSRange_bool_closureRegistryIndex; _ObjCBlock_ffiVoid_ffiVoid_NSRange_bool_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } void _ObjCBlock_ffiVoid_ffiVoid_NSRange_bool_closureTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, - _NSRange arg1, - ffi.Pointer arg2, -) => + ffi.Pointer block, + ffi.Pointer arg0, + _NSRange arg1, + ffi.Pointer arg2) => _ObjCBlock_ffiVoid_ffiVoid_NSRange_bool_closureRegistry[ block.ref.target.address]!(arg0, arg1, arg2); class ObjCBlock_ffiVoid_ffiVoid_NSRange_bool extends objc.ObjCBlockBase { - ObjCBlock_ffiVoid_ffiVoid_NSRange_bool._( - ffi.Pointer pointer, - this._lib, { - bool retain = false, - bool release = true, - }) : super(pointer, retain: retain, release: release); - - AVFAudio _lib; + ObjCBlock_ffiVoid_ffiVoid_NSRange_bool._(ffi.Pointer pointer, + {bool retain = false, bool release = true}) + : super(pointer, retain: retain, release: release); /// Returns a block that wraps the given raw block pointer. static ObjCBlock_ffiVoid_ffiVoid_NSRange_bool castFromPointer( - AVFAudio lib, - ffi.Pointer pointer, { - bool retain = false, - bool release = false, - }) { - return ObjCBlock_ffiVoid_ffiVoid_NSRange_bool._( - pointer, - lib, - retain: retain, - release: release, - ); + ffi.Pointer pointer, + {bool retain = false, + bool release = false}) { + return ObjCBlock_ffiVoid_ffiVoid_NSRange_bool._(pointer, + retain: retain, release: release); } /// Creates a block from a C function pointer. @@ -52156,29 +15074,21 @@ class ObjCBlock_ffiVoid_ffiVoid_NSRange_bool extends objc.ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_ffiVoid_NSRange_bool.fromFunctionPointer( - AVFAudio lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - _NSRange arg1, - ffi.Pointer arg2, - )>> - ptr, - ) : this._( - objc.newBlock( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( + ffi.Pointer< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer arg0, _NSRange arg1, + ffi.Pointer arg2)>> + ptr) + : this._(objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( ffi.Pointer, ffi.Pointer, _NSRange, - ffi.Pointer, - )>( - _ObjCBlock_ffiVoid_ffiVoid_NSRange_bool_fnPtrTrampoline) - .cast(), - ptr.cast(), - ), - lib); + ffi.Pointer)>( + _ObjCBlock_ffiVoid_ffiVoid_NSRange_bool_fnPtrTrampoline) + .cast(), + ptr.cast())); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -52187,27 +15097,20 @@ class ObjCBlock_ffiVoid_ffiVoid_NSRange_bool extends objc.ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_ffiVoid_NSRange_bool.fromFunction( - AVFAudio lib, - void Function(ffi.Pointer, _NSRange, ffi.Pointer) fn, - ) : this._( - objc.newBlock( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( + void Function(ffi.Pointer, _NSRange, ffi.Pointer) fn) + : this._(objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( ffi.Pointer, ffi.Pointer, _NSRange, - ffi.Pointer, - )>( - _ObjCBlock_ffiVoid_ffiVoid_NSRange_bool_closureTrampoline) - .cast(), - _ObjCBlock_ffiVoid_ffiVoid_NSRange_bool_registerClosure(( - ffi.Pointer arg0, - _NSRange arg1, - ffi.Pointer arg2, - ) => - fn(arg0, arg1, arg2)), - ), - lib); + ffi.Pointer)>( + _ObjCBlock_ffiVoid_ffiVoid_NSRange_bool_closureTrampoline) + .cast(), + _ObjCBlock_ffiVoid_ffiVoid_NSRange_bool_registerClosure( + (ffi.Pointer arg0, _NSRange arg1, + ffi.Pointer arg2) => + fn(arg0, arg1, arg2)))); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -52220,59 +15123,89 @@ class ObjCBlock_ffiVoid_ffiVoid_NSRange_bool extends objc.ObjCBlockBase { /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. ObjCBlock_ffiVoid_ffiVoid_NSRange_bool.listener( - AVFAudio lib, - void Function(ffi.Pointer, _NSRange, ffi.Pointer) fn, - ) : this._( - objc.newBlock( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - )>.listener( - _ObjCBlock_ffiVoid_ffiVoid_NSRange_bool_closureTrampoline, - )..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_ffiVoid_NSRange_bool_registerClosure(( - ffi.Pointer arg0, - _NSRange arg1, - ffi.Pointer arg2, - ) => - fn(arg0, arg1, arg2)), - ), - lib); + void Function(ffi.Pointer, _NSRange, ffi.Pointer) fn) + : this._(objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer)>.listener( + _ObjCBlock_ffiVoid_ffiVoid_NSRange_bool_closureTrampoline) + ..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_ffiVoid_NSRange_bool_registerClosure( + (ffi.Pointer arg0, _NSRange arg1, + ffi.Pointer arg2) => + fn(arg0, arg1, arg2)))); static ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - )>? _dartFuncListenerTrampoline; - - void call( - ffi.Pointer arg0, - _NSRange arg1, - ffi.Pointer arg2, - ) => + ffi.Void Function(ffi.Pointer, ffi.Pointer, + _NSRange, ffi.Pointer)>? _dartFuncListenerTrampoline; + + void call(ffi.Pointer arg0, _NSRange arg1, + ffi.Pointer arg2) => pointer.ref.invoke .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer block, - ffi.Pointer arg0, - _NSRange arg1, - ffi.Pointer arg2, - )>>() + ffi.Pointer block, + ffi.Pointer arg0, + _NSRange arg1, + ffi.Pointer arg2)>>() .asFunction< void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - )>()(pointer, arg0, arg1, arg2); -} + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer)>()(pointer, arg0, arg1, arg2); +} + +late final _sel_enumerateByteRangesUsingBlock_ = + objc.registerName("enumerateByteRangesUsingBlock:"); +final _objc_msgSend_272 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer block)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_dataWithBytes_length_ = + objc.registerName("dataWithBytes:length:"); +final _objc_msgSend_273 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer bytes, + ffi.UnsignedLong length)>>() + .asFunction< + instancetype Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer, int)>(); +late final _sel_dataWithBytesNoCopy_length_ = + objc.registerName("dataWithBytesNoCopy:length:"); +late final _sel_dataWithBytesNoCopy_length_freeWhenDone_ = + objc.registerName("dataWithBytesNoCopy:length:freeWhenDone:"); +final _objc_msgSend_274 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer bytes, + ffi.UnsignedLong length, + ffi.Bool b)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + bool)>(); abstract class NSDataReadingOptions { static const int NSDataReadingMappedIfSafe = 1; @@ -52283,11 +15216,66 @@ abstract class NSDataReadingOptions { static const int NSUncachedRead = 2; } +late final _sel_dataWithContentsOfFile_options_error_ = + objc.registerName("dataWithContentsOfFile:options:error:"); +final _objc_msgSend_275 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer path, + ffi.Int32 readOptionsMask, + ffi.Pointer> errorPtr)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer>)>(); +late final _sel_dataWithContentsOfURL_options_error_ = + objc.registerName("dataWithContentsOfURL:options:error:"); +final _objc_msgSend_276 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer url, + ffi.Int32 readOptionsMask, + ffi.Pointer> errorPtr)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer>)>(); +late final _sel_dataWithContentsOfFile_ = + objc.registerName("dataWithContentsOfFile:"); +late final _sel_dataWithContentsOfURL_ = + objc.registerName("dataWithContentsOfURL:"); +final _objc_msgSend_277 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer url)>>() + .asFunction< + instancetype Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_initWithBytes_length_ = + objc.registerName("initWithBytes:length:"); +late final _sel_initWithBytesNoCopy_length_ = + objc.registerName("initWithBytesNoCopy:length:"); +late final _sel_initWithBytesNoCopy_length_freeWhenDone_ = + objc.registerName("initWithBytesNoCopy:length:freeWhenDone:"); void _ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong_fnPtrTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, - int arg1, -) => + ffi.Pointer block, + ffi.Pointer arg0, + int arg1) => block.ref.target .cast< ffi.NativeFunction< @@ -52299,44 +15287,33 @@ final _ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong_closureRegistry = int _ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong_registerClosure( - void Function(ffi.Pointer, int) fn, -) { + void Function(ffi.Pointer, int) fn) { final id = ++_ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong_closureRegistryIndex; _ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } void _ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong_closureTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, - int arg1, -) => + ffi.Pointer block, + ffi.Pointer arg0, + int arg1) => _ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong_closureRegistry[ block.ref.target.address]!(arg0, arg1); class ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong._( - ffi.Pointer pointer, - this._lib, { - bool retain = false, - bool release = true, - }) : super(pointer, retain: retain, release: release); - - AVFAudio _lib; + ffi.Pointer pointer, + {bool retain = false, + bool release = true}) + : super(pointer, retain: retain, release: release); /// Returns a block that wraps the given raw block pointer. static ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong castFromPointer( - AVFAudio lib, - ffi.Pointer pointer, { - bool retain = false, - bool release = false, - }) { - return ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong._( - pointer, - lib, - retain: retain, - release: release, - ); + ffi.Pointer pointer, + {bool retain = false, + bool release = false}) { + return ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong._(pointer, + retain: retain, release: release); } /// Creates a block from a C function pointer. @@ -52345,25 +15322,18 @@ class ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong extends objc.ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong.fromFunctionPointer( - AVFAudio lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, ffi.UnsignedLong arg1)>> - ptr, - ) : this._( - objc.newBlock( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Pointer< + ffi.NativeFunction< ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - )>( - _ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong_fnPtrTrampoline, - ).cast(), - ptr.cast(), - ), - lib); + ffi.Pointer arg0, ffi.UnsignedLong arg1)>> + ptr) + : this._(objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function(ffi.Pointer, + ffi.Pointer, ffi.UnsignedLong)>( + _ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong_fnPtrTrampoline) + .cast(), + ptr.cast())); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -52372,25 +15342,15 @@ class ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong extends objc.ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong.fromFunction( - AVFAudio lib, - void Function(ffi.Pointer, int) fn, - ) : this._( - objc.newBlock( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - )>( - _ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong_closureTrampoline, - ).cast(), - _ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong_registerClosure(( - ffi.Pointer arg0, - int arg1, - ) => - fn(arg0, arg1)), - ), - lib); + void Function(ffi.Pointer, int) fn) + : this._(objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function(ffi.Pointer, + ffi.Pointer, ffi.UnsignedLong)>( + _ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong_closureTrampoline) + .cast(), + _ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong_registerClosure( + (ffi.Pointer arg0, int arg1) => fn(arg0, arg1)))); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -52403,51 +15363,87 @@ class ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong extends objc.ObjCBlockBase { /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong.listener( - AVFAudio lib, - void Function(ffi.Pointer, int) fn, - ) : this._( - objc.newBlock( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - )>.listener( - _ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong_closureTrampoline, - )..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong_registerClosure(( - ffi.Pointer arg0, - int arg1, - ) => - fn(arg0, arg1)), - ), - lib); + void Function(ffi.Pointer, int) fn) + : this._(objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function(ffi.Pointer, + ffi.Pointer, ffi.UnsignedLong)>.listener( + _ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong_closureTrampoline) + ..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong_registerClosure( + (ffi.Pointer arg0, int arg1) => fn(arg0, arg1)))); static ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - )>? _dartFuncListenerTrampoline; + ffi.Void Function(ffi.Pointer, ffi.Pointer, + ffi.UnsignedLong)>? _dartFuncListenerTrampoline; void call(ffi.Pointer arg0, int arg1) => pointer.ref.invoke .cast< ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.UnsignedLong arg1, - )>>() + ffi.Void Function(ffi.Pointer block, + ffi.Pointer arg0, ffi.UnsignedLong arg1)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, int)>()(pointer, arg0, arg1); } +late final _sel_initWithBytesNoCopy_length_deallocator_ = + objc.registerName("initWithBytesNoCopy:length:deallocator:"); +final _objc_msgSend_278 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer bytes, + ffi.UnsignedLong length, + ffi.Pointer deallocator)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer)>(); +late final _sel_initWithContentsOfFile_options_error_ = + objc.registerName("initWithContentsOfFile:options:error:"); +late final _sel_initWithContentsOfURL_options_error_ = + objc.registerName("initWithContentsOfURL:options:error:"); +late final _sel_initWithData_ = objc.registerName("initWithData:"); +final _objc_msgSend_279 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer data)>>() + .asFunction< + instancetype Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_dataWithData_ = objc.registerName("dataWithData:"); + abstract class NSDataBase64DecodingOptions { static const int NSDataBase64DecodingIgnoreUnknownCharacters = 1; } +late final _sel_initWithBase64EncodedString_options_ = + objc.registerName("initWithBase64EncodedString:options:"); +final _objc_msgSend_280 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer base64String, + ffi.Int32 options)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int)>(); + abstract class NSDataBase64EncodingOptions { static const int NSDataBase64Encoding64CharacterLineLength = 1; static const int NSDataBase64Encoding76CharacterLineLength = 2; @@ -52455,6 +15451,47 @@ abstract class NSDataBase64EncodingOptions { static const int NSDataBase64EncodingEndLineWithLineFeed = 32; } +late final _sel_base64EncodedStringWithOptions_ = + objc.registerName("base64EncodedStringWithOptions:"); +final _objc_msgSend_281 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Int32 options)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, int)>(); +late final _sel_initWithBase64EncodedData_options_ = + objc.registerName("initWithBase64EncodedData:options:"); +final _objc_msgSend_282 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer base64Data, + ffi.Int32 options)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int)>(); +late final _sel_base64EncodedDataWithOptions_ = + objc.registerName("base64EncodedDataWithOptions:"); +final _objc_msgSend_283 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Int32 options)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, int)>(); + abstract class NSDataCompressionAlgorithm { static const int NSDataCompressionAlgorithmLZFSE = 0; static const int NSDataCompressionAlgorithmLZ4 = 1; @@ -52462,11 +15499,810 @@ abstract class NSDataCompressionAlgorithm { static const int NSDataCompressionAlgorithmZlib = 3; } +late final _sel_decompressedDataUsingAlgorithm_error_ = + objc.registerName("decompressedDataUsingAlgorithm:error:"); +final _objc_msgSend_284 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Int32 algorithm, + ffi.Pointer> error)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer>)>(); +late final _sel_compressedDataUsingAlgorithm_error_ = + objc.registerName("compressedDataUsingAlgorithm:error:"); +late final _sel_getBytes_ = objc.registerName("getBytes:"); +late final _sel_dataWithContentsOfMappedFile_ = + objc.registerName("dataWithContentsOfMappedFile:"); +late final _sel_initWithContentsOfMappedFile_ = + objc.registerName("initWithContentsOfMappedFile:"); +late final _sel_initWithBase64Encoding_ = + objc.registerName("initWithBase64Encoding:"); +late final _sel_base64Encoding = objc.registerName("base64Encoding"); +late final _sel_encodeDataObject_ = objc.registerName("encodeDataObject:"); +final _objc_msgSend_285 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer data)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_decodeDataObject = objc.registerName("decodeDataObject"); +final _objc_msgSend_286 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_decodeValueOfObjCType_at_size_ = + objc.registerName("decodeValueOfObjCType:at:size:"); +final _objc_msgSend_287 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer type, + ffi.Pointer data, + ffi.UnsignedLong size)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int)>(); +late final _sel_versionForClassName_ = + objc.registerName("versionForClassName:"); +final _objc_msgSend_288 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Long Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer className)>>() + .asFunction< + int Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_encodeObject_ = objc.registerName("encodeObject:"); +final _objc_msgSend_289 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer object)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_encodeRootObject_ = objc.registerName("encodeRootObject:"); +late final _sel_encodeBycopyObject_ = objc.registerName("encodeBycopyObject:"); +late final _sel_encodeByrefObject_ = objc.registerName("encodeByrefObject:"); +late final _sel_encodeConditionalObject_ = + objc.registerName("encodeConditionalObject:"); +late final _sel_encodeValuesOfObjCTypes_ = + objc.registerName("encodeValuesOfObjCTypes:"); +final _objc_msgSend_290 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer types)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_encodeArrayOfObjCType_count_at_ = + objc.registerName("encodeArrayOfObjCType:count:at:"); +final _objc_msgSend_291 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer type, + ffi.UnsignedLong count, + ffi.Pointer array)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer)>(); +late final _sel_encodeBytes_length_ = objc.registerName("encodeBytes:length:"); +late final _sel_decodeObject = objc.registerName("decodeObject"); +late final _sel_decodeTopLevelObjectAndReturnError_ = + objc.registerName("decodeTopLevelObjectAndReturnError:"); +final _objc_msgSend_292 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer> error)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>(); +late final _sel_decodeValuesOfObjCTypes_ = + objc.registerName("decodeValuesOfObjCTypes:"); +late final _sel_decodeArrayOfObjCType_count_at_ = + objc.registerName("decodeArrayOfObjCType:count:at:"); +late final _sel_decodeBytesWithReturnedLength_ = + objc.registerName("decodeBytesWithReturnedLength:"); +final _objc_msgSend_293 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer lengthp)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_encodePropertyList_ = objc.registerName("encodePropertyList:"); +late final _sel_decodePropertyList = objc.registerName("decodePropertyList"); +late final _sel_setObjectZone_ = objc.registerName("setObjectZone:"); +final _objc_msgSend_294 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer<_NSZone> zone)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer<_NSZone>)>(); +late final _sel_objectZone = objc.registerName("objectZone"); +final _objc_msgSend_295 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer<_NSZone> Function(ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer<_NSZone> Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_systemVersion = objc.registerName("systemVersion"); +late final _sel_allowsKeyedCoding = objc.registerName("allowsKeyedCoding"); +late final _sel_encodeObject_forKey_ = + objc.registerName("encodeObject:forKey:"); +late final _sel_encodeConditionalObject_forKey_ = + objc.registerName("encodeConditionalObject:forKey:"); +late final _sel_encodeBool_forKey_ = objc.registerName("encodeBool:forKey:"); +final _objc_msgSend_296 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Bool value, + ffi.Pointer key)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + bool, + ffi.Pointer)>(); +late final _sel_encodeInt_forKey_ = objc.registerName("encodeInt:forKey:"); +final _objc_msgSend_297 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Int value, + ffi.Pointer key)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer)>(); +late final _sel_encodeInt32_forKey_ = objc.registerName("encodeInt32:forKey:"); +final _objc_msgSend_298 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Int32 value, + ffi.Pointer key)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer)>(); +late final _sel_encodeInt64_forKey_ = objc.registerName("encodeInt64:forKey:"); +final _objc_msgSend_299 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Int64 value, + ffi.Pointer key)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer)>(); +late final _sel_encodeFloat_forKey_ = objc.registerName("encodeFloat:forKey:"); +final _objc_msgSend_300 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Float value, + ffi.Pointer key)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + double, + ffi.Pointer)>(); +late final _sel_encodeDouble_forKey_ = + objc.registerName("encodeDouble:forKey:"); +final _objc_msgSend_301 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Double value, + ffi.Pointer key)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + double, + ffi.Pointer)>(); +late final _sel_encodeBytes_length_forKey_ = + objc.registerName("encodeBytes:length:forKey:"); +final _objc_msgSend_302 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer bytes, + ffi.UnsignedLong length, + ffi.Pointer key)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer)>(); +late final _sel_containsValueForKey_ = + objc.registerName("containsValueForKey:"); +late final _sel_decodeObjectForKey_ = objc.registerName("decodeObjectForKey:"); +late final _sel_decodeTopLevelObjectForKey_error_ = + objc.registerName("decodeTopLevelObjectForKey:error:"); +final _objc_msgSend_303 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer key, + ffi.Pointer> error)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>(); +late final _sel_decodeBoolForKey_ = objc.registerName("decodeBoolForKey:"); +late final _sel_decodeIntForKey_ = objc.registerName("decodeIntForKey:"); +final _objc_msgSend_304 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Int Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer key)>>() + .asFunction< + int Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_decodeInt32ForKey_ = objc.registerName("decodeInt32ForKey:"); +final _objc_msgSend_305 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer key)>>() + .asFunction< + int Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_decodeInt64ForKey_ = objc.registerName("decodeInt64ForKey:"); +final _objc_msgSend_306 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Int64 Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer key)>>() + .asFunction< + int Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_decodeFloatForKey_ = objc.registerName("decodeFloatForKey:"); +final _objc_msgSend_307 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Float Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer key)>>() + .asFunction< + double Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +final _objc_msgSend_307Fpret = objc.msgSendFpretPointer + .cast< + ffi.NativeFunction< + ffi.Float Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer key)>>() + .asFunction< + double Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_decodeDoubleForKey_ = objc.registerName("decodeDoubleForKey:"); +final _objc_msgSend_308 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Double Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer key)>>() + .asFunction< + double Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +final _objc_msgSend_308Fpret = objc.msgSendFpretPointer + .cast< + ffi.NativeFunction< + ffi.Double Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer key)>>() + .asFunction< + double Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_decodeBytesForKey_returnedLength_ = + objc.registerName("decodeBytesForKey:returnedLength:"); +final _objc_msgSend_309 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer key, + ffi.Pointer lengthp)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_encodeInteger_forKey_ = + objc.registerName("encodeInteger:forKey:"); +final _objc_msgSend_310 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Long value, + ffi.Pointer key)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer)>(); +late final _sel_decodeIntegerForKey_ = + objc.registerName("decodeIntegerForKey:"); +late final _sel_requiresSecureCoding = + objc.registerName("requiresSecureCoding"); +late final _sel_decodeObjectOfClass_forKey_ = + objc.registerName("decodeObjectOfClass:forKey:"); +final _objc_msgSend_311 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer aClass, + ffi.Pointer key)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_decodeTopLevelObjectOfClass_forKey_error_ = + objc.registerName("decodeTopLevelObjectOfClass:forKey:error:"); +final _objc_msgSend_312 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer aClass, + ffi.Pointer key, + ffi.Pointer> error)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>(); +late final _sel_decodeArrayOfObjectsOfClass_forKey_ = + objc.registerName("decodeArrayOfObjectsOfClass:forKey:"); +final _objc_msgSend_313 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer cls, + ffi.Pointer key)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_decodeDictionaryWithKeysOfClass_objectsOfClass_forKey_ = + objc.registerName("decodeDictionaryWithKeysOfClass:objectsOfClass:forKey:"); +final _objc_msgSend_314 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer keyCls, + ffi.Pointer objectCls, + ffi.Pointer key)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_decodeObjectOfClasses_forKey_ = + objc.registerName("decodeObjectOfClasses:forKey:"); +final _objc_msgSend_315 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer classes, + ffi.Pointer key)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_decodeTopLevelObjectOfClasses_forKey_error_ = + objc.registerName("decodeTopLevelObjectOfClasses:forKey:error:"); +final _objc_msgSend_316 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer classes, + ffi.Pointer key, + ffi.Pointer> error)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>(); +late final _sel_decodeArrayOfObjectsOfClasses_forKey_ = + objc.registerName("decodeArrayOfObjectsOfClasses:forKey:"); +final _objc_msgSend_317 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer classes, + ffi.Pointer key)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_decodeDictionaryWithKeysOfClasses_objectsOfClasses_forKey_ = + objc.registerName( + "decodeDictionaryWithKeysOfClasses:objectsOfClasses:forKey:"); +final _objc_msgSend_318 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer keyClasses, + ffi.Pointer objectClasses, + ffi.Pointer key)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_decodePropertyListForKey_ = + objc.registerName("decodePropertyListForKey:"); +late final _sel_allowedClasses = objc.registerName("allowedClasses"); +final _objc_msgSend_319 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_failWithError_ = objc.registerName("failWithError:"); +final _objc_msgSend_320 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer error)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); + abstract class NSDecodingFailurePolicy { static const int NSDecodingFailurePolicyRaiseException = 0; static const int NSDecodingFailurePolicySetErrorAndReturn = 1; } +late final _sel_decodingFailurePolicy = + objc.registerName("decodingFailurePolicy"); +final _objc_msgSend_321 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + int Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_error = objc.registerName("error"); +final _objc_msgSend_322 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_encodeNXObject_ = objc.registerName("encodeNXObject:"); +late final _sel_decodeNXObject = objc.registerName("decodeNXObject"); +late final _sel_decodeValueOfObjCType_at_ = + objc.registerName("decodeValueOfObjCType:at:"); +late final _sel_encodePoint_ = objc.registerName("encodePoint:"); +final _objc_msgSend_323 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer obj, + ffi.Pointer sel, CGPoint point)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, CGPoint)>(); +late final _sel_decodePoint = objc.registerName("decodePoint"); +late final _sel_encodeSize_ = objc.registerName("encodeSize:"); +final _objc_msgSend_324 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer obj, + ffi.Pointer sel, CGSize size)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, CGSize)>(); +late final _sel_decodeSize = objc.registerName("decodeSize"); +late final _sel_encodeRect_ = objc.registerName("encodeRect:"); +final _objc_msgSend_325 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer obj, + ffi.Pointer sel, CGRect rect)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, CGRect)>(); +late final _sel_decodeRect = objc.registerName("decodeRect"); +late final _sel_encodePoint_forKey_ = objc.registerName("encodePoint:forKey:"); +final _objc_msgSend_326 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + CGPoint point, + ffi.Pointer key)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + CGPoint, + ffi.Pointer)>(); +late final _sel_encodeSize_forKey_ = objc.registerName("encodeSize:forKey:"); +final _objc_msgSend_327 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + CGSize size, + ffi.Pointer key)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + CGSize, + ffi.Pointer)>(); +late final _sel_encodeRect_forKey_ = objc.registerName("encodeRect:forKey:"); +final _objc_msgSend_328 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + CGRect rect, + ffi.Pointer key)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + CGRect, + ffi.Pointer)>(); +late final _sel_decodePointForKey_ = objc.registerName("decodePointForKey:"); +final _objc_msgSend_329 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + CGPoint Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer key)>>() + .asFunction< + CGPoint Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +final _objc_msgSend_329Stret = objc.msgSendStretPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer stret, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer key)>>() + .asFunction< + void Function(ffi.Pointer, ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_decodeSizeForKey_ = objc.registerName("decodeSizeForKey:"); +final _objc_msgSend_330 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + CGSize Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer key)>>() + .asFunction< + CGSize Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +final _objc_msgSend_330Stret = objc.msgSendStretPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer stret, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer key)>>() + .asFunction< + void Function(ffi.Pointer, ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_decodeRectForKey_ = objc.registerName("decodeRectForKey:"); +final _objc_msgSend_331 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + CGRect Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer key)>>() + .asFunction< + CGRect Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +final _objc_msgSend_331Stret = objc.msgSendStretPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer stret, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer key)>>() + .asFunction< + void Function(ffi.Pointer, ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_substringFromIndex_ = objc.registerName("substringFromIndex:"); +final _objc_msgSend_332 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.UnsignedLong from)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, int)>(); +late final _sel_substringToIndex_ = objc.registerName("substringToIndex:"); +late final _sel_substringWithRange_ = objc.registerName("substringWithRange:"); +final _objc_msgSend_333 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + _NSRange range)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, _NSRange)>(); +late final _sel_getCharacters_range_ = + objc.registerName("getCharacters:range:"); +final _objc_msgSend_334 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer buffer, + _NSRange range)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange)>(); +final _objc_msgSend_335 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer string)>>() + .asFunction< + int Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); + abstract class NSStringCompareOptions { static const int NSCaseInsensitiveSearch = 1; static const int NSLiteralSearch = 2; @@ -52479,6 +16315,410 @@ abstract class NSStringCompareOptions { static const int NSRegularExpressionSearch = 1024; } +late final _sel_compare_options_ = objc.registerName("compare:options:"); +final _objc_msgSend_336 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer string, + ffi.Int32 mask)>>() + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int)>(); +late final _sel_compare_options_range_ = + objc.registerName("compare:options:range:"); +final _objc_msgSend_337 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer string, + ffi.Int32 mask, + _NSRange rangeOfReceiverToCompare)>>() + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + _NSRange)>(); +late final _sel_compare_options_range_locale_ = + objc.registerName("compare:options:range:locale:"); +final _objc_msgSend_338 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer string, + ffi.Int32 mask, + _NSRange rangeOfReceiverToCompare, + ffi.Pointer locale)>>() + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + _NSRange, + ffi.Pointer)>(); +late final _sel_caseInsensitiveCompare_ = + objc.registerName("caseInsensitiveCompare:"); +late final _sel_localizedCompare_ = objc.registerName("localizedCompare:"); +late final _sel_localizedCaseInsensitiveCompare_ = + objc.registerName("localizedCaseInsensitiveCompare:"); +late final _sel_localizedStandardCompare_ = + objc.registerName("localizedStandardCompare:"); +late final _sel_isEqualToString_ = objc.registerName("isEqualToString:"); +late final _sel_hasPrefix_ = objc.registerName("hasPrefix:"); +late final _sel_hasSuffix_ = objc.registerName("hasSuffix:"); +late final _sel_commonPrefixWithString_options_ = + objc.registerName("commonPrefixWithString:options:"); +final _objc_msgSend_339 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer str, + ffi.Int32 mask)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int)>(); +late final _sel_containsString_ = objc.registerName("containsString:"); +late final _sel_localizedCaseInsensitiveContainsString_ = + objc.registerName("localizedCaseInsensitiveContainsString:"); +late final _sel_localizedStandardContainsString_ = + objc.registerName("localizedStandardContainsString:"); +late final _sel_localizedStandardRangeOfString_ = + objc.registerName("localizedStandardRangeOfString:"); +final _objc_msgSend_340 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + _NSRange Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer str)>>() + .asFunction< + _NSRange Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +final _objc_msgSend_340Stret = objc.msgSendStretPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer<_NSRange> stret, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer str)>>() + .asFunction< + void Function(ffi.Pointer<_NSRange>, ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_rangeOfString_ = objc.registerName("rangeOfString:"); +late final _sel_rangeOfString_options_ = + objc.registerName("rangeOfString:options:"); +final _objc_msgSend_341 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + _NSRange Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer searchString, + ffi.Int32 mask)>>() + .asFunction< + _NSRange Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int)>(); +final _objc_msgSend_341Stret = objc.msgSendStretPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer<_NSRange> stret, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer searchString, + ffi.Int32 mask)>>() + .asFunction< + void Function( + ffi.Pointer<_NSRange>, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int)>(); +late final _sel_rangeOfString_options_range_ = + objc.registerName("rangeOfString:options:range:"); +final _objc_msgSend_342 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + _NSRange Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer searchString, + ffi.Int32 mask, + _NSRange rangeOfReceiverToSearch)>>() + .asFunction< + _NSRange Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + _NSRange)>(); +final _objc_msgSend_342Stret = objc.msgSendStretPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer<_NSRange> stret, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer searchString, + ffi.Int32 mask, + _NSRange rangeOfReceiverToSearch)>>() + .asFunction< + void Function( + ffi.Pointer<_NSRange>, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + _NSRange)>(); +late final _sel_rangeOfString_options_range_locale_ = + objc.registerName("rangeOfString:options:range:locale:"); +final _objc_msgSend_343 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + _NSRange Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer searchString, + ffi.Int32 mask, + _NSRange rangeOfReceiverToSearch, + ffi.Pointer locale)>>() + .asFunction< + _NSRange Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + _NSRange, + ffi.Pointer)>(); +final _objc_msgSend_343Stret = objc.msgSendStretPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer<_NSRange> stret, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer searchString, + ffi.Int32 mask, + _NSRange rangeOfReceiverToSearch, + ffi.Pointer locale)>>() + .asFunction< + void Function( + ffi.Pointer<_NSRange>, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + _NSRange, + ffi.Pointer)>(); +late final _sel_rangeOfCharacterFromSet_ = + objc.registerName("rangeOfCharacterFromSet:"); +final _objc_msgSend_344 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + _NSRange Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer searchSet)>>() + .asFunction< + _NSRange Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +final _objc_msgSend_344Stret = objc.msgSendStretPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer<_NSRange> stret, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer searchSet)>>() + .asFunction< + void Function(ffi.Pointer<_NSRange>, ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_rangeOfCharacterFromSet_options_ = + objc.registerName("rangeOfCharacterFromSet:options:"); +final _objc_msgSend_345 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + _NSRange Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer searchSet, + ffi.Int32 mask)>>() + .asFunction< + _NSRange Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int)>(); +final _objc_msgSend_345Stret = objc.msgSendStretPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer<_NSRange> stret, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer searchSet, + ffi.Int32 mask)>>() + .asFunction< + void Function( + ffi.Pointer<_NSRange>, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int)>(); +late final _sel_rangeOfCharacterFromSet_options_range_ = + objc.registerName("rangeOfCharacterFromSet:options:range:"); +final _objc_msgSend_346 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + _NSRange Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer searchSet, + ffi.Int32 mask, + _NSRange rangeOfReceiverToSearch)>>() + .asFunction< + _NSRange Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + _NSRange)>(); +final _objc_msgSend_346Stret = objc.msgSendStretPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer<_NSRange> stret, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer searchSet, + ffi.Int32 mask, + _NSRange rangeOfReceiverToSearch)>>() + .asFunction< + void Function( + ffi.Pointer<_NSRange>, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + _NSRange)>(); +late final _sel_rangeOfComposedCharacterSequenceAtIndex_ = + objc.registerName("rangeOfComposedCharacterSequenceAtIndex:"); +final _objc_msgSend_347 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + _NSRange Function(ffi.Pointer obj, + ffi.Pointer sel, ffi.UnsignedLong index)>>() + .asFunction< + _NSRange Function(ffi.Pointer, + ffi.Pointer, int)>(); +final _objc_msgSend_347Stret = objc.msgSendStretPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer<_NSRange> stret, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.UnsignedLong index)>>() + .asFunction< + void Function(ffi.Pointer<_NSRange>, ffi.Pointer, + ffi.Pointer, int)>(); +late final _sel_rangeOfComposedCharacterSequencesForRange_ = + objc.registerName("rangeOfComposedCharacterSequencesForRange:"); +final _objc_msgSend_348 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + _NSRange Function(ffi.Pointer obj, + ffi.Pointer sel, _NSRange range)>>() + .asFunction< + _NSRange Function(ffi.Pointer, + ffi.Pointer, _NSRange)>(); +final _objc_msgSend_348Stret = objc.msgSendStretPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer<_NSRange> stret, + ffi.Pointer obj, + ffi.Pointer sel, + _NSRange range)>>() + .asFunction< + void Function(ffi.Pointer<_NSRange>, ffi.Pointer, + ffi.Pointer, _NSRange)>(); +late final _sel_stringByAppendingString_ = + objc.registerName("stringByAppendingString:"); +late final _sel_stringByAppendingFormat_ = + objc.registerName("stringByAppendingFormat:"); +late final _sel_uppercaseString = objc.registerName("uppercaseString"); +late final _sel_lowercaseString = objc.registerName("lowercaseString"); +late final _sel_capitalizedString = objc.registerName("capitalizedString"); +late final _sel_localizedUppercaseString = + objc.registerName("localizedUppercaseString"); +late final _sel_localizedLowercaseString = + objc.registerName("localizedLowercaseString"); +late final _sel_localizedCapitalizedString = + objc.registerName("localizedCapitalizedString"); +late final _sel_uppercaseStringWithLocale_ = + objc.registerName("uppercaseStringWithLocale:"); +final _objc_msgSend_349 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer locale)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_lowercaseStringWithLocale_ = + objc.registerName("lowercaseStringWithLocale:"); +late final _sel_capitalizedStringWithLocale_ = + objc.registerName("capitalizedStringWithLocale:"); +late final _sel_getLineStart_end_contentsEnd_forRange_ = + objc.registerName("getLineStart:end:contentsEnd:forRange:"); +final _objc_msgSend_350 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer startPtr, + ffi.Pointer lineEndPtr, + ffi.Pointer contentsEndPtr, + _NSRange range)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange)>(); +late final _sel_lineRangeForRange_ = objc.registerName("lineRangeForRange:"); +late final _sel_getParagraphStart_end_contentsEnd_forRange_ = + objc.registerName("getParagraphStart:end:contentsEnd:forRange:"); +late final _sel_paragraphRangeForRange_ = + objc.registerName("paragraphRangeForRange:"); + abstract class NSStringEnumerationOptions { static const int NSStringEnumerationByLines = 0; static const int NSStringEnumerationByParagraphs = 1; @@ -52493,45 +16733,31 @@ abstract class NSStringEnumerationOptions { } void _ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool_fnPtrTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, - _NSRange arg1, - _NSRange arg2, - ffi.Pointer arg3, -) => + ffi.Pointer block, + ffi.Pointer arg0, + _NSRange arg1, + _NSRange arg2, + ffi.Pointer arg3) => block.ref.target .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer arg0, - _NSRange arg1, - _NSRange arg2, - ffi.Pointer arg3, - )>>() + ffi.Pointer arg0, + _NSRange arg1, + _NSRange arg2, + ffi.Pointer arg3)>>() .asFunction< - void Function( - ffi.Pointer, - _NSRange, - _NSRange, - ffi.Pointer, - )>()(arg0, arg1, arg2, arg3); + void Function(ffi.Pointer, _NSRange, _NSRange, + ffi.Pointer)>()(arg0, arg1, arg2, arg3); final _ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool_closureRegistry = , - _NSRange, - _NSRange, - ffi.Pointer, -)>{}; + void Function(ffi.Pointer, _NSRange, _NSRange, + ffi.Pointer)>{}; int _ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool_registerClosure( - void Function( - ffi.Pointer, - _NSRange, - _NSRange, - ffi.Pointer, - ) fn, -) { + void Function(ffi.Pointer, _NSRange, _NSRange, + ffi.Pointer) + fn) { final id = ++_ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool_closureRegistryIndex; _ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool_closureRegistry[id] = fn; @@ -52539,39 +16765,29 @@ ffi.Pointer } void _ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool_closureTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, - _NSRange arg1, - _NSRange arg2, - ffi.Pointer arg3, -) => + ffi.Pointer block, + ffi.Pointer arg0, + _NSRange arg1, + _NSRange arg2, + ffi.Pointer arg3) => _ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool_closureRegistry[ block.ref.target.address]!(arg0, arg1, arg2, arg3); class ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool._( - ffi.Pointer pointer, - this._lib, { - bool retain = false, - bool release = true, - }) : super(pointer, retain: retain, release: release); - - AVFAudio _lib; + ffi.Pointer pointer, + {bool retain = false, + bool release = true}) + : super(pointer, retain: retain, release: release); /// Returns a block that wraps the given raw block pointer. static ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool castFromPointer( - AVFAudio lib, - ffi.Pointer pointer, { - bool retain = false, - bool release = false, - }) { - return ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool._( - pointer, - lib, - retain: retain, - release: release, - ); + ffi.Pointer pointer, + {bool retain = false, + bool release = false}) { + return ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool._(pointer, + retain: retain, release: release); } /// Creates a block from a C function pointer. @@ -52580,31 +16796,25 @@ class ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool.fromFunctionPointer( - AVFAudio lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - _NSRange arg1, - _NSRange arg2, - ffi.Pointer arg3, - )>> - ptr, - ) : this._( - objc.newBlock( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Pointer< + ffi.NativeFunction< ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - _NSRange, - ffi.Pointer, - )>( - _ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool_fnPtrTrampoline, - ).cast(), - ptr.cast(), - ), - lib); + ffi.Pointer arg0, + _NSRange arg1, + _NSRange arg2, + ffi.Pointer arg3)>> + ptr) + : this._(objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + _NSRange, + ffi.Pointer)>( + _ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool_fnPtrTrampoline) + .cast(), + ptr.cast())); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -52613,36 +16823,21 @@ class ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool.fromFunction( - AVFAudio lib, - void Function(NSString?, _NSRange, _NSRange, ffi.Pointer) fn, - ) : this._( - objc.newBlock( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - _NSRange, - ffi.Pointer, - )>( - _ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool_closureTrampoline, - ).cast(), - _ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool_registerClosure(( - ffi.Pointer arg0, - _NSRange arg1, - _NSRange arg2, - ffi.Pointer arg3, - ) => - fn( - arg0.address == 0 - ? null - : NSString._(arg0, lib, retain: true, release: true), - arg1, - arg2, - arg3, - )), - ), - lib); + void Function(NSString?, _NSRange, _NSRange, ffi.Pointer) fn) + : this._(objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + _NSRange, + ffi.Pointer)>( + _ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool_closureTrampoline) + .cast(), + _ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool_registerClosure( + (ffi.Pointer arg0, _NSRange arg1, + _NSRange arg2, ffi.Pointer arg3) => + fn(arg0.address == 0 ? null : NSString._(arg0, retain: true, release: true), arg1, arg2, arg3)))); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -52655,85 +16850,79 @@ class ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool.listener( - AVFAudio lib, - void Function(NSString?, _NSRange, _NSRange, ffi.Pointer) fn, - ) : this._( - objc.newBlock( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - _NSRange, - ffi.Pointer, - )>.listener( - _ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool_closureTrampoline, - )..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool_registerClosure(( - ffi.Pointer arg0, - _NSRange arg1, - _NSRange arg2, - ffi.Pointer arg3, - ) => - fn( - arg0.address == 0 - ? null - : NSString._(arg0, lib, retain: true, release: true), - arg1, - arg2, - arg3, - )), - ), - lib); + void Function(NSString?, _NSRange, _NSRange, ffi.Pointer) fn) + : this._(objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + _NSRange, + ffi.Pointer)>.listener( + _ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool_closureTrampoline) + ..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool_registerClosure( + (ffi.Pointer arg0, _NSRange arg1, + _NSRange arg2, ffi.Pointer arg3) => + fn(arg0.address == 0 ? null : NSString._(arg0, retain: true, release: true), arg1, arg2, arg3)))); static ffi.NativeCallable< ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - _NSRange, - ffi.Pointer, - )>? _dartFuncListenerTrampoline; - - void call( - NSString? arg0, - _NSRange arg1, - _NSRange arg2, - ffi.Pointer arg3, - ) => + ffi.Pointer, + ffi.Pointer, + _NSRange, + _NSRange, + ffi.Pointer)>? _dartFuncListenerTrampoline; + + void call(NSString? arg0, _NSRange arg1, _NSRange arg2, + ffi.Pointer arg3) => pointer.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer block, - ffi.Pointer arg0, - _NSRange arg1, - _NSRange arg2, - ffi.Pointer arg3, - )>>() - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - _NSRange, - ffi.Pointer, - )>()(pointer, arg0?.pointer ?? ffi.nullptr, arg1, arg2, arg3); -} - + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer block, + ffi.Pointer arg0, + _NSRange arg1, + _NSRange arg2, + ffi.Pointer arg3)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + _NSRange, + ffi.Pointer)>()( + pointer, arg0?.pointer ?? ffi.nullptr, arg1, arg2, arg3); +} + +late final _sel_enumerateSubstringsInRange_options_usingBlock_ = + objc.registerName("enumerateSubstringsInRange:options:usingBlock:"); +final _objc_msgSend_351 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + _NSRange range, + ffi.Int32 opts, + ffi.Pointer block)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + int, + ffi.Pointer)>(); void _ObjCBlock_ffiVoid_NSString_bool_fnPtrTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Pointer arg1, -) => + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1) => block.ref.target .cast< ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - )>>() + ffi.Void Function(ffi.Pointer arg0, + ffi.Pointer arg1)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer)>()(arg0, arg1); @@ -52741,44 +16930,31 @@ final _ObjCBlock_ffiVoid_NSString_bool_closureRegistry = , ffi.Pointer)>{}; int _ObjCBlock_ffiVoid_NSString_bool_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_ffiVoid_NSString_bool_registerClosure( - void Function(ffi.Pointer, ffi.Pointer) fn, -) { + void Function(ffi.Pointer, ffi.Pointer) fn) { final id = ++_ObjCBlock_ffiVoid_NSString_bool_closureRegistryIndex; _ObjCBlock_ffiVoid_NSString_bool_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } void _ObjCBlock_ffiVoid_NSString_bool_closureTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Pointer arg1, -) => + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1) => _ObjCBlock_ffiVoid_NSString_bool_closureRegistry[block.ref.target.address]!( arg0, arg1); class ObjCBlock_ffiVoid_NSString_bool extends objc.ObjCBlockBase { - ObjCBlock_ffiVoid_NSString_bool._( - ffi.Pointer pointer, - this._lib, { - bool retain = false, - bool release = true, - }) : super(pointer, retain: retain, release: release); - - AVFAudio _lib; + ObjCBlock_ffiVoid_NSString_bool._(ffi.Pointer pointer, + {bool retain = false, bool release = true}) + : super(pointer, retain: retain, release: release); /// Returns a block that wraps the given raw block pointer. static ObjCBlock_ffiVoid_NSString_bool castFromPointer( - AVFAudio lib, - ffi.Pointer pointer, { - bool retain = false, - bool release = false, - }) { - return ObjCBlock_ffiVoid_NSString_bool._( - pointer, - lib, - retain: retain, - release: release, - ); + ffi.Pointer pointer, + {bool retain = false, + bool release = false}) { + return ObjCBlock_ffiVoid_NSString_bool._(pointer, + retain: retain, release: release); } /// Creates a block from a C function pointer. @@ -52787,26 +16963,22 @@ class ObjCBlock_ffiVoid_NSString_bool extends objc.ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSString_bool.fromFunctionPointer( - AVFAudio lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - )>> - ptr, - ) : this._( - objc.newBlock( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(_ObjCBlock_ffiVoid_NSString_bool_fnPtrTrampoline) - .cast(), - ptr.cast(), - ), - lib); + ffi.Pointer< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer arg0, + ffi.Pointer arg1)>> + ptr) + : this._( + objc + .newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>( + _ObjCBlock_ffiVoid_NSString_bool_fnPtrTrampoline) + .cast(), + ptr.cast())); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -52815,24 +16987,19 @@ class ObjCBlock_ffiVoid_NSString_bool extends objc.ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSString_bool.fromFunction( - AVFAudio lib, - void Function(NSString, ffi.Pointer) fn, - ) : this._( - objc.newBlock( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(_ObjCBlock_ffiVoid_NSString_bool_closureTrampoline) - .cast(), - _ObjCBlock_ffiVoid_NSString_bool_registerClosure(( - ffi.Pointer arg0, - ffi.Pointer arg1, - ) => - fn(NSString._(arg0, lib, retain: true, release: true), arg1)), - ), - lib); + void Function(NSString, ffi.Pointer) fn) + : this._(objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>( + _ObjCBlock_ffiVoid_NSString_bool_closureTrampoline) + .cast(), + _ObjCBlock_ffiVoid_NSString_bool_registerClosure( + (ffi.Pointer arg0, + ffi.Pointer arg1) => + fn(NSString._(arg0, retain: true, release: true), arg1)))); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -52845,79 +17012,374 @@ class ObjCBlock_ffiVoid_NSString_bool extends objc.ObjCBlockBase { /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. ObjCBlock_ffiVoid_NSString_bool.listener( - AVFAudio lib, - void Function(NSString, ffi.Pointer) fn, - ) : this._( - objc.newBlock( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>.listener( - _ObjCBlock_ffiVoid_NSString_bool_closureTrampoline, - )..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSString_bool_registerClosure(( - ffi.Pointer arg0, - ffi.Pointer arg1, - ) => - fn(NSString._(arg0, lib, retain: true, release: true), arg1)), - ), - lib); + void Function(NSString, ffi.Pointer) fn) + : this._(objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>.listener( + _ObjCBlock_ffiVoid_NSString_bool_closureTrampoline) + ..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSString_bool_registerClosure( + (ffi.Pointer arg0, + ffi.Pointer arg1) => + fn(NSString._(arg0, retain: true, release: true), arg1)))); static ffi.NativeCallable< ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>? _dartFuncListenerTrampoline; + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>? _dartFuncListenerTrampoline; void call(NSString arg0, ffi.Pointer arg1) => pointer.ref.invoke .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Pointer arg1, - )>>() + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1)>>() .asFunction< void Function( - ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>()(pointer, arg0.pointer, arg1); +} + +late final _sel_enumerateLinesUsingBlock_ = + objc.registerName("enumerateLinesUsingBlock:"); +final _objc_msgSend_352 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer block)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_UTF8String = objc.registerName("UTF8String"); +late final _sel_fastestEncoding = objc.registerName("fastestEncoding"); +late final _sel_smallestEncoding = objc.registerName("smallestEncoding"); +late final _sel_dataUsingEncoding_allowLossyConversion_ = + objc.registerName("dataUsingEncoding:allowLossyConversion:"); +final _objc_msgSend_353 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.UnsignedLong encoding, + ffi.Bool lossy)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, int, bool)>(); +late final _sel_dataUsingEncoding_ = objc.registerName("dataUsingEncoding:"); +final _objc_msgSend_354 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.UnsignedLong encoding)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, int)>(); +late final _sel_canBeConvertedToEncoding_ = + objc.registerName("canBeConvertedToEncoding:"); +late final _sel_cStringUsingEncoding_ = + objc.registerName("cStringUsingEncoding:"); +late final _sel_getCString_maxLength_encoding_ = + objc.registerName("getCString:maxLength:encoding:"); +final _objc_msgSend_355 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer buffer, + ffi.UnsignedLong maxBufferCount, + ffi.UnsignedLong encoding)>>() + .asFunction< + bool Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer, int, int)>(); + +abstract class NSStringEncodingConversionOptions { + static const int NSStringEncodingConversionAllowLossy = 1; + static const int NSStringEncodingConversionExternalRepresentation = 2; +} + +late final _sel_getBytes_maxLength_usedLength_encoding_options_range_remainingRange_ = + objc.registerName( + "getBytes:maxLength:usedLength:encoding:options:range:remainingRange:"); +final _objc_msgSend_356 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer buffer, + ffi.UnsignedLong maxBufferCount, + ffi.Pointer usedBufferCount, + ffi.UnsignedLong encoding, + ffi.Int32 options, + _NSRange range, + ffi.Pointer<_NSRange> leftover)>>() + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + int, + int, + _NSRange, + ffi.Pointer<_NSRange>)>(); +late final _sel_maximumLengthOfBytesUsingEncoding_ = + objc.registerName("maximumLengthOfBytesUsingEncoding:"); +late final _sel_lengthOfBytesUsingEncoding_ = + objc.registerName("lengthOfBytesUsingEncoding:"); +late final _sel_availableStringEncodings = + objc.registerName("availableStringEncodings"); +final _objc_msgSend_357 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_localizedNameOfStringEncoding_ = + objc.registerName("localizedNameOfStringEncoding:"); +late final _sel_defaultCStringEncoding = + objc.registerName("defaultCStringEncoding"); +late final _sel_decomposedStringWithCanonicalMapping = + objc.registerName("decomposedStringWithCanonicalMapping"); +late final _sel_precomposedStringWithCanonicalMapping = + objc.registerName("precomposedStringWithCanonicalMapping"); +late final _sel_decomposedStringWithCompatibilityMapping = + objc.registerName("decomposedStringWithCompatibilityMapping"); +late final _sel_precomposedStringWithCompatibilityMapping = + objc.registerName("precomposedStringWithCompatibilityMapping"); +late final _sel_componentsSeparatedByString_ = + objc.registerName("componentsSeparatedByString:"); +final _objc_msgSend_358 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer separator)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_componentsSeparatedByCharactersInSet_ = + objc.registerName("componentsSeparatedByCharactersInSet:"); +final _objc_msgSend_359 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer separator)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_stringByTrimmingCharactersInSet_ = + objc.registerName("stringByTrimmingCharactersInSet:"); +final _objc_msgSend_360 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer set)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_stringByPaddingToLength_withString_startingAtIndex_ = + objc.registerName("stringByPaddingToLength:withString:startingAtIndex:"); +final _objc_msgSend_361 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.UnsignedLong newLength, + ffi.Pointer padString, + ffi.UnsignedLong padIndex)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + int)>(); +late final _sel_stringByFoldingWithOptions_locale_ = + objc.registerName("stringByFoldingWithOptions:locale:"); +final _objc_msgSend_362 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Int32 options, + ffi.Pointer locale)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer)>(); +late final _sel_stringByReplacingOccurrencesOfString_withString_options_range_ = + objc.registerName( + "stringByReplacingOccurrencesOfString:withString:options:range:"); +final _objc_msgSend_363 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer target, + ffi.Pointer replacement, + ffi.Int32 options, + _NSRange searchRange)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + _NSRange)>(); +late final _sel_stringByReplacingOccurrencesOfString_withString_ = + objc.registerName("stringByReplacingOccurrencesOfString:withString:"); +final _objc_msgSend_364 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer target, + ffi.Pointer replacement)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_stringByReplacingCharactersInRange_withString_ = + objc.registerName("stringByReplacingCharactersInRange:withString:"); +final _objc_msgSend_365 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + _NSRange range, + ffi.Pointer replacement)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer)>(); +late final _sel_stringByApplyingTransform_reverse_ = + objc.registerName("stringByApplyingTransform:reverse:"); +final _objc_msgSend_366 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer transform, + ffi.Bool reverse)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool)>(); +late final _sel_writeToURL_atomically_encoding_error_ = + objc.registerName("writeToURL:atomically:encoding:error:"); +final _objc_msgSend_367 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer url, + ffi.Bool useAuxiliaryFile, + ffi.UnsignedLong enc, + ffi.Pointer> error)>>() + .asFunction< + bool Function( ffi.Pointer, - ffi.Pointer, - )>()(pointer, arg0.pointer, arg1); -} - -abstract class NSStringEncodingConversionOptions { - static const int NSStringEncodingConversionAllowLossy = 1; - static const int NSStringEncodingConversionExternalRepresentation = 2; -} - + ffi.Pointer, + ffi.Pointer, + bool, + int, + ffi.Pointer>)>(); +late final _sel_writeToFile_atomically_encoding_error_ = + objc.registerName("writeToFile:atomically:encoding:error:"); +final _objc_msgSend_368 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer path, + ffi.Bool useAuxiliaryFile, + ffi.UnsignedLong enc, + ffi.Pointer> error)>>() + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool, + int, + ffi.Pointer>)>(); +late final _sel_hash = objc.registerName("hash"); +late final _sel_initWithCharactersNoCopy_length_freeWhenDone_ = + objc.registerName("initWithCharactersNoCopy:length:freeWhenDone:"); +final _objc_msgSend_369 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer characters, + ffi.UnsignedLong length, + ffi.Bool freeBuffer)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + bool)>(); void _ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong_fnPtrTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, - int arg1, -) => + ffi.Pointer block, + ffi.Pointer arg0, + int arg1) => block.ref.target - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.UnsignedLong arg1, - )>>() - .asFunction, int)>()( - arg0, - arg1, - ); + .cast< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer arg0, + ffi.UnsignedLong arg1)>>() + .asFunction, int)>()( + arg0, arg1); final _ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong_closureRegistry = , int)>{}; int _ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong_registerClosure( - void Function(ffi.Pointer, int) fn, -) { + void Function(ffi.Pointer, int) fn) { final id = ++_ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong_closureRegistryIndex; _ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong_closureRegistry[id] = fn; @@ -52925,37 +17387,27 @@ ffi.Pointer } void _ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong_closureTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, - int arg1, -) => + ffi.Pointer block, + ffi.Pointer arg0, + int arg1) => _ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong_closureRegistry[ block.ref.target.address]!(arg0, arg1); class ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong._( - ffi.Pointer pointer, - this._lib, { - bool retain = false, - bool release = true, - }) : super(pointer, retain: retain, release: release); - - AVFAudio _lib; + ffi.Pointer pointer, + {bool retain = false, + bool release = true}) + : super(pointer, retain: retain, release: release); /// Returns a block that wraps the given raw block pointer. static ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong castFromPointer( - AVFAudio lib, - ffi.Pointer pointer, { - bool retain = false, - bool release = false, - }) { - return ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong._( - pointer, - lib, - retain: retain, - release: release, - ); + ffi.Pointer pointer, + {bool retain = false, + bool release = false}) { + return ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong._(pointer, + retain: retain, release: release); } /// Creates a block from a C function pointer. @@ -52964,27 +17416,20 @@ class ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong.fromFunctionPointer( - AVFAudio lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.UnsignedLong arg1, - )>> - ptr, - ) : this._( - objc.newBlock( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - )>( - _ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong_fnPtrTrampoline, - ).cast(), - ptr.cast(), - ), - lib); + ffi + .Pointer< + ffi + .NativeFunction< + ffi.Void Function(ffi.Pointer arg0, + ffi.UnsignedLong arg1)>> + ptr) + : this._(objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function(ffi.Pointer, + ffi.Pointer, ffi.UnsignedLong)>( + _ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong_fnPtrTrampoline) + .cast(), + ptr.cast())); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -52993,26 +17438,16 @@ class ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong.fromFunction( - AVFAudio lib, - void Function(ffi.Pointer, int) fn, - ) : this._( - objc.newBlock( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - )>( - _ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong_closureTrampoline, - ).cast(), - _ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong_registerClosure( - ( - ffi.Pointer arg0, - int arg1, - ) => - fn(arg0, arg1)), - ), - lib); + void Function(ffi.Pointer, int) fn) + : this._(objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function(ffi.Pointer, + ffi.Pointer, ffi.UnsignedLong)>( + _ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong_closureTrampoline) + .cast(), + _ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong_registerClosure( + (ffi.Pointer arg0, int arg1) => + fn(arg0, arg1)))); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -53025,50 +17460,596 @@ class ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong.listener( - AVFAudio lib, - void Function(ffi.Pointer, int) fn, - ) : this._( - objc.newBlock( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - )>.listener( - _ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong_closureTrampoline, - )..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong_registerClosure( - ( - ffi.Pointer arg0, - int arg1, - ) => - fn(arg0, arg1)), - ), - lib); + void Function(ffi.Pointer, int) fn) + : this._(objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong)>.listener( + _ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong_closureTrampoline) + ..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong_registerClosure( + (ffi.Pointer arg0, int arg1) => + fn(arg0, arg1)))); static ffi.NativeCallable< ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - )>? _dartFuncListenerTrampoline; + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong)>? _dartFuncListenerTrampoline; void call(ffi.Pointer arg0, int arg1) => pointer.ref.invoke .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.UnsignedLong arg1, - )>>() + ffi.Pointer block, + ffi.Pointer arg0, + ffi.UnsignedLong arg1)>>() .asFunction< - void Function( - ffi.Pointer, + void Function(ffi.Pointer, + ffi.Pointer, int)>()(pointer, arg0, arg1); +} + +late final _sel_initWithCharactersNoCopy_length_deallocator_ = + objc.registerName("initWithCharactersNoCopy:length:deallocator:"); +final _objc_msgSend_370 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer chars, + ffi.UnsignedLong len, + ffi.Pointer deallocator)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, ffi.Pointer, int, - )>()(pointer, arg0, arg1); -} + ffi.Pointer)>(); +late final _sel_initWithCharacters_length_ = + objc.registerName("initWithCharacters:length:"); +final _objc_msgSend_371 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer characters, + ffi.UnsignedLong length)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int)>(); +late final _sel_initWithUTF8String_ = objc.registerName("initWithUTF8String:"); +final _objc_msgSend_372 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer nullTerminatedCString)>>() + .asFunction< + instancetype Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_initWithFormat_ = objc.registerName("initWithFormat:"); +late final _sel_initWithFormat_arguments_ = + objc.registerName("initWithFormat:arguments:"); +final _objc_msgSend_373 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer format, + ffi.Pointer<__va_list_tag> argList)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<__va_list_tag>)>(); +late final _sel_initWithFormat_locale_ = + objc.registerName("initWithFormat:locale:"); +final _objc_msgSend_374 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer format, + ffi.Pointer locale)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_initWithFormat_locale_arguments_ = + objc.registerName("initWithFormat:locale:arguments:"); +final _objc_msgSend_375 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer format, + ffi.Pointer locale, + ffi.Pointer<__va_list_tag> argList)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<__va_list_tag>)>(); +late final _sel_initWithValidatedFormat_validFormatSpecifiers_error_ = + objc.registerName("initWithValidatedFormat:validFormatSpecifiers:error:"); +final _objc_msgSend_376 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer format, + ffi.Pointer validFormatSpecifiers, + ffi.Pointer> error)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>(); +late final _sel_initWithValidatedFormat_validFormatSpecifiers_locale_error_ = + objc.registerName( + "initWithValidatedFormat:validFormatSpecifiers:locale:error:"); +final _objc_msgSend_377 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer format, + ffi.Pointer validFormatSpecifiers, + ffi.Pointer locale, + ffi.Pointer> error)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>(); +late final _sel_initWithValidatedFormat_validFormatSpecifiers_arguments_error_ = + objc.registerName( + "initWithValidatedFormat:validFormatSpecifiers:arguments:error:"); +final _objc_msgSend_378 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer format, + ffi.Pointer validFormatSpecifiers, + ffi.Pointer<__va_list_tag> argList, + ffi.Pointer> error)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<__va_list_tag>, + ffi.Pointer>)>(); +late final _sel_initWithValidatedFormat_validFormatSpecifiers_locale_arguments_error_ = + objc.registerName( + "initWithValidatedFormat:validFormatSpecifiers:locale:arguments:error:"); +final _objc_msgSend_379 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer format, + ffi.Pointer validFormatSpecifiers, + ffi.Pointer locale, + ffi.Pointer<__va_list_tag> argList, + ffi.Pointer> error)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<__va_list_tag>, + ffi.Pointer>)>(); +late final _sel_initWithData_encoding_ = + objc.registerName("initWithData:encoding:"); +final _objc_msgSend_380 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer data, + ffi.UnsignedLong encoding)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int)>(); +late final _sel_initWithBytes_length_encoding_ = + objc.registerName("initWithBytes:length:encoding:"); +final _objc_msgSend_381 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer bytes, + ffi.UnsignedLong len, + ffi.UnsignedLong encoding)>>() + .asFunction< + instancetype Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer, int, int)>(); +late final _sel_initWithBytesNoCopy_length_encoding_freeWhenDone_ = + objc.registerName("initWithBytesNoCopy:length:encoding:freeWhenDone:"); +final _objc_msgSend_382 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer bytes, + ffi.UnsignedLong len, + ffi.UnsignedLong encoding, + ffi.Bool freeBuffer)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + int, + bool)>(); +late final _sel_initWithBytesNoCopy_length_encoding_deallocator_ = + objc.registerName("initWithBytesNoCopy:length:encoding:deallocator:"); +final _objc_msgSend_383 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer bytes, + ffi.UnsignedLong len, + ffi.UnsignedLong encoding, + ffi.Pointer deallocator)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + int, + ffi.Pointer)>(); +late final _sel_string = objc.registerName("string"); +late final _sel_stringWithString_ = objc.registerName("stringWithString:"); +late final _sel_stringWithCharacters_length_ = + objc.registerName("stringWithCharacters:length:"); +late final _sel_stringWithUTF8String_ = + objc.registerName("stringWithUTF8String:"); +late final _sel_stringWithFormat_ = objc.registerName("stringWithFormat:"); +late final _sel_localizedStringWithFormat_ = + objc.registerName("localizedStringWithFormat:"); +late final _sel_stringWithValidatedFormat_validFormatSpecifiers_error_ = + objc.registerName("stringWithValidatedFormat:validFormatSpecifiers:error:"); +late final _sel_localizedStringWithValidatedFormat_validFormatSpecifiers_error_ = + objc.registerName( + "localizedStringWithValidatedFormat:validFormatSpecifiers:error:"); +late final _sel_initWithCString_encoding_ = + objc.registerName("initWithCString:encoding:"); +final _objc_msgSend_384 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer nullTerminatedCString, + ffi.UnsignedLong encoding)>>() + .asFunction< + instancetype Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer, int)>(); +late final _sel_stringWithCString_encoding_ = + objc.registerName("stringWithCString:encoding:"); +late final _sel_initWithContentsOfURL_encoding_error_ = + objc.registerName("initWithContentsOfURL:encoding:error:"); +final _objc_msgSend_385 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer url, + ffi.UnsignedLong enc, + ffi.Pointer> error)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer>)>(); +late final _sel_initWithContentsOfFile_encoding_error_ = + objc.registerName("initWithContentsOfFile:encoding:error:"); +final _objc_msgSend_386 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer path, + ffi.UnsignedLong enc, + ffi.Pointer> error)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer>)>(); +late final _sel_stringWithContentsOfURL_encoding_error_ = + objc.registerName("stringWithContentsOfURL:encoding:error:"); +late final _sel_stringWithContentsOfFile_encoding_error_ = + objc.registerName("stringWithContentsOfFile:encoding:error:"); +late final _sel_initWithContentsOfURL_usedEncoding_error_ = + objc.registerName("initWithContentsOfURL:usedEncoding:error:"); +final _objc_msgSend_387 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer url, + ffi.Pointer enc, + ffi.Pointer> error)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>(); +late final _sel_initWithContentsOfFile_usedEncoding_error_ = + objc.registerName("initWithContentsOfFile:usedEncoding:error:"); +final _objc_msgSend_388 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer path, + ffi.Pointer enc, + ffi.Pointer> error)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>(); +late final _sel_stringWithContentsOfURL_usedEncoding_error_ = + objc.registerName("stringWithContentsOfURL:usedEncoding:error:"); +late final _sel_stringWithContentsOfFile_usedEncoding_error_ = + objc.registerName("stringWithContentsOfFile:usedEncoding:error:"); +late final _sel_stringEncodingForData_encodingOptions_convertedString_usedLossyConversion_ = + objc.registerName( + "stringEncodingForData:encodingOptions:convertedString:usedLossyConversion:"); +final _objc_msgSend_389 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer data, + ffi.Pointer opts, + ffi.Pointer> string, + ffi.Pointer usedLossyConversion)>>() + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer)>(); +late final _sel_propertyList = objc.registerName("propertyList"); +late final _sel_propertyListFromStringsFileFormat = + objc.registerName("propertyListFromStringsFileFormat"); +final _objc_msgSend_390 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_cString = objc.registerName("cString"); +late final _sel_lossyCString = objc.registerName("lossyCString"); +late final _sel_cStringLength = objc.registerName("cStringLength"); +late final _sel_getCString_ = objc.registerName("getCString:"); +late final _sel_getCString_maxLength_ = + objc.registerName("getCString:maxLength:"); +final _objc_msgSend_391 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer bytes, + ffi.UnsignedLong maxLength)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer, int)>(); +late final _sel_getCString_maxLength_range_remainingRange_ = + objc.registerName("getCString:maxLength:range:remainingRange:"); +final _objc_msgSend_392 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer bytes, + ffi.UnsignedLong maxLength, + _NSRange aRange, + ffi.Pointer<_NSRange> leftoverRange)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + _NSRange, + ffi.Pointer<_NSRange>)>(); +late final _sel_stringWithContentsOfFile_ = + objc.registerName("stringWithContentsOfFile:"); +late final _sel_stringWithContentsOfURL_ = + objc.registerName("stringWithContentsOfURL:"); +late final _sel_initWithCStringNoCopy_length_freeWhenDone_ = + objc.registerName("initWithCStringNoCopy:length:freeWhenDone:"); +final _objc_msgSend_393 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer bytes, + ffi.UnsignedLong length, + ffi.Bool freeBuffer)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + bool)>(); +late final _sel_initWithCString_length_ = + objc.registerName("initWithCString:length:"); +late final _sel_initWithCString_ = objc.registerName("initWithCString:"); +late final _sel_stringWithCString_length_ = + objc.registerName("stringWithCString:length:"); +late final _sel_stringWithCString_ = objc.registerName("stringWithCString:"); +late final _sel_getCharacters_ = objc.registerName("getCharacters:"); +final _objc_msgSend_394 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer buffer)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_variantFittingPresentationWidth_ = + objc.registerName("variantFittingPresentationWidth:"); +final _objc_msgSend_395 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Long width)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, int)>(); +late final _sel_pathWithComponents_ = objc.registerName("pathWithComponents:"); +final _objc_msgSend_396 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer components)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_isAbsolutePath = objc.registerName("isAbsolutePath"); +late final _sel_stringByDeletingLastPathComponent = + objc.registerName("stringByDeletingLastPathComponent"); +late final _sel_stringByAppendingPathComponent_ = + objc.registerName("stringByAppendingPathComponent:"); +late final _sel_stringByDeletingPathExtension = + objc.registerName("stringByDeletingPathExtension"); +late final _sel_stringByAppendingPathExtension_ = + objc.registerName("stringByAppendingPathExtension:"); +late final _sel_stringByAbbreviatingWithTildeInPath = + objc.registerName("stringByAbbreviatingWithTildeInPath"); +late final _sel_stringByExpandingTildeInPath = + objc.registerName("stringByExpandingTildeInPath"); +late final _sel_stringByStandardizingPath = + objc.registerName("stringByStandardizingPath"); +late final _sel_stringByResolvingSymlinksInPath = + objc.registerName("stringByResolvingSymlinksInPath"); +late final _sel_stringsByAppendingPaths_ = + objc.registerName("stringsByAppendingPaths:"); +late final _sel_completePathIntoString_caseSensitive_matchesIntoArray_filterTypes_ = + objc.registerName( + "completePathIntoString:caseSensitive:matchesIntoArray:filterTypes:"); +final _objc_msgSend_397 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer> outputName, + ffi.Bool flag, + ffi.Pointer> outputArray, + ffi.Pointer filterTypes)>>() + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + bool, + ffi.Pointer>, + ffi.Pointer)>(); +late final _sel_stringByAddingPercentEncodingWithAllowedCharacters_ = + objc.registerName("stringByAddingPercentEncodingWithAllowedCharacters:"); +final _objc_msgSend_398 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer allowedCharacters)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_stringByRemovingPercentEncoding = + objc.registerName("stringByRemovingPercentEncoding"); +late final _sel_stringByAddingPercentEscapesUsingEncoding_ = + objc.registerName("stringByAddingPercentEscapesUsingEncoding:"); +final _objc_msgSend_399 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.UnsignedLong enc)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, int)>(); +late final _sel_stringByReplacingPercentEscapesUsingEncoding_ = + objc.registerName("stringByReplacingPercentEscapesUsingEncoding:"); abstract class NSLinguisticTaggerOptions { static const int NSLinguisticTaggerOmitWords = 1; @@ -53079,279 +18060,313 @@ abstract class NSLinguisticTaggerOptions { } class NSOrthography extends NSObject { - NSOrthography._( - ffi.Pointer pointer, - AVFAudio lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSOrthography._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSOrthography] that points to the same underlying object as [other]. - static NSOrthography castFrom( - AVFAudio lib, - T other, - ) { - return NSOrthography._(other.pointer, lib, retain: true, release: true); + static NSOrthography castFrom(T other) { + return NSOrthography._(other.pointer, retain: true, release: true); } /// Returns a [NSOrthography] that wraps the given raw object pointer. - static NSOrthography castFromPointer( - AVFAudio lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSOrthography._(other, lib, retain: retain, release: release); + static NSOrthography castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSOrthography._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSOrthography]. - static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSOrthography1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0( + obj.pointer, _sel_isKindOfClass_, _class_NSOrthography); } NSString get dominantScript { - final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_dominantScript1); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_dominantScript); + return NSString._(_ret, retain: true, release: true); } NSDictionary get languageMap { - final _ret = _lib._objc_msgSend_181(this.pointer, _lib._sel_languageMap1); - return NSDictionary._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_181(this.pointer, _sel_languageMap); + return NSDictionary._(_ret, retain: true, release: true); } NSOrthography initWithDominantScript_languageMap_( - NSString script, - NSDictionary map, - ) { - final _ret = _lib._objc_msgSend_400( - this.pointer, - _lib._sel_initWithDominantScript_languageMap_1, - script.pointer, - map.pointer, - ); - return NSOrthography._(_ret, _lib, retain: true, release: true); + NSString script, NSDictionary map) { + final _ret = _objc_msgSend_400(this.pointer, + _sel_initWithDominantScript_languageMap_, script.pointer, map.pointer); + return NSOrthography._(_ret, retain: true, release: true); } NSOrthography? initWithCoder_(NSCoder coder) { - final _ret = _lib._objc_msgSend_47( - this.pointer, - _lib._sel_initWithCoder_1, - coder.pointer, - ); + final _ret = + _objc_msgSend_47(this.pointer, _sel_initWithCoder_, coder.pointer); return _ret.address == 0 ? null - : NSOrthography._(_ret, _lib, retain: true, release: true); + : NSOrthography._(_ret, retain: true, release: true); } NSArray? languagesForScript_(NSString script) { - final _ret = _lib._objc_msgSend_132( - this.pointer, - _lib._sel_languagesForScript_1, - script.pointer, - ); + final _ret = _objc_msgSend_132( + this.pointer, _sel_languagesForScript_, script.pointer); return _ret.address == 0 ? null - : NSArray._(_ret, _lib, retain: true, release: true); + : NSArray._(_ret, retain: true, release: true); } NSString? dominantLanguageForScript_(NSString script) { - final _ret = _lib._objc_msgSend_186( - this.pointer, - _lib._sel_dominantLanguageForScript_1, - script.pointer, - ); + final _ret = _objc_msgSend_186( + this.pointer, _sel_dominantLanguageForScript_, script.pointer); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } NSString get dominantLanguage { - final _ret = _lib._objc_msgSend_21( - this.pointer, - _lib._sel_dominantLanguage1, - ); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_dominantLanguage); + return NSString._(_ret, retain: true, release: true); } NSArray get allScripts { - final _ret = _lib._objc_msgSend_85(this.pointer, _lib._sel_allScripts1); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_85(this.pointer, _sel_allScripts); + return NSArray._(_ret, retain: true, release: true); } NSArray get allLanguages { - final _ret = _lib._objc_msgSend_85(this.pointer, _lib._sel_allLanguages1); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_85(this.pointer, _sel_allLanguages); + return NSArray._(_ret, retain: true, release: true); } - static NSOrthography defaultOrthographyForLanguage_( - AVFAudio _lib, - NSString language, - ) { - final _ret = _lib._objc_msgSend_31( - _lib._class_NSOrthography1, - _lib._sel_defaultOrthographyForLanguage_1, - language.pointer, - ); - return NSOrthography._(_ret, _lib, retain: true, release: true); + static NSOrthography defaultOrthographyForLanguage_(NSString language) { + final _ret = _objc_msgSend_31(_class_NSOrthography, + _sel_defaultOrthographyForLanguage_, language.pointer); + return NSOrthography._(_ret, retain: true, release: true); } static NSOrthography orthographyWithDominantScript_languageMap_( - AVFAudio _lib, - NSString script, - NSDictionary map, - ) { - final _ret = _lib._objc_msgSend_400( - _lib._class_NSOrthography1, - _lib._sel_orthographyWithDominantScript_languageMap_1, - script.pointer, - map.pointer, - ); - return NSOrthography._(_ret, _lib, retain: true, release: true); + NSString script, NSDictionary map) { + final _ret = _objc_msgSend_400( + _class_NSOrthography, + _sel_orthographyWithDominantScript_languageMap_, + script.pointer, + map.pointer); + return NSOrthography._(_ret, retain: true, release: true); } @override NSOrthography init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSOrthography._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSOrthography._(_ret, retain: true, release: true); } - static NSOrthography new1(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSOrthography1, - _lib._sel_new1, - ); - return NSOrthography._(_ret, _lib, retain: false, release: true); + static NSOrthography new1() { + final _ret = _objc_msgSend_2(_class_NSOrthography, _sel_new); + return NSOrthography._(_ret, retain: false, release: true); } - static NSOrthography allocWithZone_( - AVFAudio _lib, - ffi.Pointer<_NSZone> zone, - ) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSOrthography1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSOrthography._(_ret, _lib, retain: false, release: true); + static NSOrthography allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = + _objc_msgSend_3(_class_NSOrthography, _sel_allocWithZone_, zone); + return NSOrthography._(_ret, retain: false, release: true); } - static NSOrthography alloc(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSOrthography1, - _lib._sel_alloc1, - ); - return NSOrthography._(_ret, _lib, retain: false, release: true); + static NSOrthography alloc() { + final _ret = _objc_msgSend_2(_class_NSOrthography, _sel_alloc); + return NSOrthography._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSOrthography1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSOrthography1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSOrthography1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSOrthography1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSOrthography1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSOrthography1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSOrthography, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); } - static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSOrthography1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSOrthography1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSOrthography1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSOrthography, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); + } + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSOrthography, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSOrthography, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSOrthography, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSOrthography, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); } -} + static void setKeys_triggerChangeNotificationsForDependentKey_( + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSOrthography, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = _objc_msgSend_85( + _class_NSOrthography, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = + _objc_msgSend_2(_class_NSOrthography, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); + } +} + +late final _class_NSOrthography = objc.getClass("NSOrthography"); +late final _sel_dominantScript = objc.registerName("dominantScript"); +late final _sel_languageMap = objc.registerName("languageMap"); +late final _sel_initWithDominantScript_languageMap_ = + objc.registerName("initWithDominantScript:languageMap:"); +final _objc_msgSend_400 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer script, + ffi.Pointer map)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_languagesForScript_ = objc.registerName("languagesForScript:"); +late final _sel_dominantLanguageForScript_ = + objc.registerName("dominantLanguageForScript:"); +late final _sel_dominantLanguage = objc.registerName("dominantLanguage"); +late final _sel_allScripts = objc.registerName("allScripts"); +late final _sel_allLanguages = objc.registerName("allLanguages"); +late final _sel_defaultOrthographyForLanguage_ = + objc.registerName("defaultOrthographyForLanguage:"); +late final _sel_orthographyWithDominantScript_languageMap_ = + objc.registerName("orthographyWithDominantScript:languageMap:"); +late final _sel_linguisticTagsInRange_scheme_options_orthography_tokenRanges_ = + objc.registerName( + "linguisticTagsInRange:scheme:options:orthography:tokenRanges:"); +final _objc_msgSend_401 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + _NSRange range, + ffi.Pointer scheme, + ffi.Int32 options, + ffi.Pointer orthography, + ffi.Pointer> tokenRanges)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + int, + ffi.Pointer, + ffi.Pointer>)>(); +late final _sel_enumerateLinguisticTagsInRange_scheme_options_orthography_usingBlock_ = + objc.registerName( + "enumerateLinguisticTagsInRange:scheme:options:orthography:usingBlock:"); +final _objc_msgSend_402 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + _NSRange range, + ffi.Pointer scheme, + ffi.Int32 options, + ffi.Pointer orthography, + ffi.Pointer block)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + int, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_anyObject = objc.registerName("anyObject"); +late final _sel_intersectsSet_ = objc.registerName("intersectsSet:"); +final _objc_msgSend_403 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer otherSet)>>() + .asFunction< + bool Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_isEqualToSet_ = objc.registerName("isEqualToSet:"); +late final _sel_isSubsetOfSet_ = objc.registerName("isSubsetOfSet:"); +late final _sel_setByAddingObject_ = objc.registerName("setByAddingObject:"); +final _objc_msgSend_404 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer anObject)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_setByAddingObjectsFromSet_ = + objc.registerName("setByAddingObjectsFromSet:"); +final _objc_msgSend_405 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer other)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_setByAddingObjectsFromArray_ = + objc.registerName("setByAddingObjectsFromArray:"); +final _objc_msgSend_406 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer other)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); void _ObjCBlock_ffiVoid_objcObjCObject_bool_fnPtrTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Pointer arg1, -) => + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1) => block.ref.target .cast< ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - )>>() + ffi.Void Function(ffi.Pointer arg0, + ffi.Pointer arg1)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer)>()(arg0, arg1); @@ -53359,44 +18374,31 @@ final _ObjCBlock_ffiVoid_objcObjCObject_bool_closureRegistry = , ffi.Pointer)>{}; int _ObjCBlock_ffiVoid_objcObjCObject_bool_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_ffiVoid_objcObjCObject_bool_registerClosure( - void Function(ffi.Pointer, ffi.Pointer) fn, -) { + void Function(ffi.Pointer, ffi.Pointer) fn) { final id = ++_ObjCBlock_ffiVoid_objcObjCObject_bool_closureRegistryIndex; _ObjCBlock_ffiVoid_objcObjCObject_bool_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } void _ObjCBlock_ffiVoid_objcObjCObject_bool_closureTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Pointer arg1, -) => + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1) => _ObjCBlock_ffiVoid_objcObjCObject_bool_closureRegistry[ block.ref.target.address]!(arg0, arg1); class ObjCBlock_ffiVoid_objcObjCObject_bool extends objc.ObjCBlockBase { - ObjCBlock_ffiVoid_objcObjCObject_bool._( - ffi.Pointer pointer, - this._lib, { - bool retain = false, - bool release = true, - }) : super(pointer, retain: retain, release: release); - - AVFAudio _lib; + ObjCBlock_ffiVoid_objcObjCObject_bool._(ffi.Pointer pointer, + {bool retain = false, bool release = true}) + : super(pointer, retain: retain, release: release); /// Returns a block that wraps the given raw block pointer. static ObjCBlock_ffiVoid_objcObjCObject_bool castFromPointer( - AVFAudio lib, - ffi.Pointer pointer, { - bool retain = false, - bool release = false, - }) { - return ObjCBlock_ffiVoid_objcObjCObject_bool._( - pointer, - lib, - retain: retain, - release: release, - ); + ffi.Pointer pointer, + {bool retain = false, + bool release = false}) { + return ObjCBlock_ffiVoid_objcObjCObject_bool._(pointer, + retain: retain, release: release); } /// Creates a block from a C function pointer. @@ -53405,26 +18407,21 @@ class ObjCBlock_ffiVoid_objcObjCObject_bool extends objc.ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_objcObjCObject_bool.fromFunctionPointer( - AVFAudio lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - )>> - ptr, - ) : this._( + ffi.Pointer< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer arg0, + ffi.Pointer arg1)>> + ptr) + : this._( objc.newBlock( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(_ObjCBlock_ffiVoid_objcObjCObject_bool_fnPtrTrampoline) - .cast(), - ptr.cast(), - ), - lib); + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>( + _ObjCBlock_ffiVoid_objcObjCObject_bool_fnPtrTrampoline) + .cast(), + ptr.cast())); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -53433,25 +18430,19 @@ class ObjCBlock_ffiVoid_objcObjCObject_bool extends objc.ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_objcObjCObject_bool.fromFunction( - AVFAudio lib, - void Function(NSObject, ffi.Pointer) fn, - ) : this._( - objc.newBlock( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( + void Function(NSObject, ffi.Pointer) fn) + : this._(objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( ffi.Pointer, ffi.Pointer, - ffi.Pointer, - )>( - _ObjCBlock_ffiVoid_objcObjCObject_bool_closureTrampoline) - .cast(), - _ObjCBlock_ffiVoid_objcObjCObject_bool_registerClosure(( - ffi.Pointer arg0, - ffi.Pointer arg1, - ) => - fn(NSObject._(arg0, lib, retain: true, release: true), arg1)), - ), - lib); + ffi.Pointer)>( + _ObjCBlock_ffiVoid_objcObjCObject_bool_closureTrampoline) + .cast(), + _ObjCBlock_ffiVoid_objcObjCObject_bool_registerClosure( + (ffi.Pointer arg0, + ffi.Pointer arg1) => + fn(NSObject._(arg0, retain: true, release: true), arg1)))); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -53464,62 +18455,74 @@ class ObjCBlock_ffiVoid_objcObjCObject_bool extends objc.ObjCBlockBase { /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. ObjCBlock_ffiVoid_objcObjCObject_bool.listener( - AVFAudio lib, - void Function(NSObject, ffi.Pointer) fn, - ) : this._( - objc.newBlock( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>.listener( - _ObjCBlock_ffiVoid_objcObjCObject_bool_closureTrampoline, - )..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_objcObjCObject_bool_registerClosure(( - ffi.Pointer arg0, - ffi.Pointer arg1, - ) => - fn(NSObject._(arg0, lib, retain: true, release: true), arg1)), - ), - lib); + void Function(NSObject, ffi.Pointer) fn) + : this._(objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>.listener( + _ObjCBlock_ffiVoid_objcObjCObject_bool_closureTrampoline) + ..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_objcObjCObject_bool_registerClosure( + (ffi.Pointer arg0, + ffi.Pointer arg1) => + fn(NSObject._(arg0, retain: true, release: true), arg1)))); static ffi.NativeCallable< ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>? _dartFuncListenerTrampoline; + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>? _dartFuncListenerTrampoline; void call(NSObject arg0, ffi.Pointer arg1) => pointer.ref.invoke .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Pointer arg1, - )>>() + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1)>>() .asFunction< void Function( - ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>()(pointer, arg0.pointer, arg1); +} + +final _objc_msgSend_407 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer block)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +final _objc_msgSend_408 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Int32 opts, + ffi.Pointer block)>>() + .asFunction< + void Function( ffi.Pointer, - ffi.Pointer, - )>()(pointer, arg0.pointer, arg1); -} - + ffi.Pointer, + int, + ffi.Pointer)>(); bool _ObjCBlock_bool_objcObjCObject_bool_fnPtrTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Pointer arg1, -) => + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1) => block.ref.target .cast< ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - )>>() + ffi.Bool Function(ffi.Pointer arg0, + ffi.Pointer arg1)>>() .asFunction< bool Function(ffi.Pointer, ffi.Pointer)>()(arg0, arg1); @@ -53527,44 +18530,31 @@ final _ObjCBlock_bool_objcObjCObject_bool_closureRegistry = , ffi.Pointer)>{}; int _ObjCBlock_bool_objcObjCObject_bool_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_bool_objcObjCObject_bool_registerClosure( - bool Function(ffi.Pointer, ffi.Pointer) fn, -) { + bool Function(ffi.Pointer, ffi.Pointer) fn) { final id = ++_ObjCBlock_bool_objcObjCObject_bool_closureRegistryIndex; _ObjCBlock_bool_objcObjCObject_bool_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } bool _ObjCBlock_bool_objcObjCObject_bool_closureTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Pointer arg1, -) => + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1) => _ObjCBlock_bool_objcObjCObject_bool_closureRegistry[ block.ref.target.address]!(arg0, arg1); class ObjCBlock_bool_objcObjCObject_bool extends objc.ObjCBlockBase { - ObjCBlock_bool_objcObjCObject_bool._( - ffi.Pointer pointer, - this._lib, { - bool retain = false, - bool release = true, - }) : super(pointer, retain: retain, release: release); - - AVFAudio _lib; + ObjCBlock_bool_objcObjCObject_bool._(ffi.Pointer pointer, + {bool retain = false, bool release = true}) + : super(pointer, retain: retain, release: release); /// Returns a block that wraps the given raw block pointer. static ObjCBlock_bool_objcObjCObject_bool castFromPointer( - AVFAudio lib, - ffi.Pointer pointer, { - bool retain = false, - bool release = false, - }) { - return ObjCBlock_bool_objcObjCObject_bool._( - pointer, - lib, - retain: retain, - release: release, - ); + ffi.Pointer pointer, + {bool retain = false, + bool release = false}) { + return ObjCBlock_bool_objcObjCObject_bool._(pointer, + retain: retain, release: release); } /// Creates a block from a C function pointer. @@ -53573,28 +18563,20 @@ class ObjCBlock_bool_objcObjCObject_bool extends objc.ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_bool_objcObjCObject_bool.fromFunctionPointer( - AVFAudio lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - )>> - ptr, - ) : this._( - objc.newBlock( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>( - _ObjCBlock_bool_objcObjCObject_bool_fnPtrTrampoline, - false, - ).cast(), - ptr.cast(), - ), - lib); + ffi.Pointer< + ffi.NativeFunction< + ffi.Bool Function(ffi.Pointer arg0, + ffi.Pointer arg1)>> + ptr) + : this._(objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>( + _ObjCBlock_bool_objcObjCObject_bool_fnPtrTrampoline, false) + .cast(), + ptr.cast())); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -53603,1099 +18585,1109 @@ class ObjCBlock_bool_objcObjCObject_bool extends objc.ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_bool_objcObjCObject_bool.fromFunction( - AVFAudio lib, - bool Function(NSObject, ffi.Pointer) fn, - ) : this._( - objc.newBlock( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>( - _ObjCBlock_bool_objcObjCObject_bool_closureTrampoline, - false, - ).cast(), - _ObjCBlock_bool_objcObjCObject_bool_registerClosure(( - ffi.Pointer arg0, - ffi.Pointer arg1, - ) => - fn(NSObject._(arg0, lib, retain: true, release: true), arg1)), - ), - lib); + bool Function(NSObject, ffi.Pointer) fn) + : this._(objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>( + _ObjCBlock_bool_objcObjCObject_bool_closureTrampoline, false) + .cast(), + _ObjCBlock_bool_objcObjCObject_bool_registerClosure( + (ffi.Pointer arg0, + ffi.Pointer arg1) => + fn(NSObject._(arg0, retain: true, release: true), arg1)))); static ffi.Pointer? _dartFuncTrampoline; bool call(NSObject arg0, ffi.Pointer arg1) => pointer.ref.invoke .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Pointer arg1, - )>>() + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1)>>() .asFunction< bool Function( - ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>()(pointer, arg0.pointer, arg1); +} + +late final _sel_objectsPassingTest_ = objc.registerName("objectsPassingTest:"); +final _objc_msgSend_409 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer predicate)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_objectsWithOptions_passingTest_ = + objc.registerName("objectsWithOptions:passingTest:"); +final _objc_msgSend_410 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Int32 opts, + ffi.Pointer predicate)>>() + .asFunction< + ffi.Pointer Function( ffi.Pointer, - ffi.Pointer, - )>()(pointer, arg0.pointer, arg1); -} + ffi.Pointer, + int, + ffi.Pointer)>(); +late final _sel_set = objc.registerName("set"); +late final _sel_setWithObject_ = objc.registerName("setWithObject:"); +late final _sel_setWithObjects_count_ = + objc.registerName("setWithObjects:count:"); +late final _sel_setWithObjects_ = objc.registerName("setWithObjects:"); +late final _sel_setWithSet_ = objc.registerName("setWithSet:"); +final _objc_msgSend_411 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer set)>>() + .asFunction< + instancetype Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_setWithArray_ = objc.registerName("setWithArray:"); +late final _sel_initWithSet_ = objc.registerName("initWithSet:"); +late final _sel_initWithSet_copyItems_ = + objc.registerName("initWithSet:copyItems:"); +final _objc_msgSend_412 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer set, + ffi.Bool flag)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool)>(); +late final _sel_filteredSetUsingPredicate_ = + objc.registerName("filteredSetUsingPredicate:"); +final _objc_msgSend_413 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer predicate)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_invocationWithMethodSignature_ = + objc.registerName("invocationWithMethodSignature:"); +final _objc_msgSend_414 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer sig)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_methodSignature = objc.registerName("methodSignature"); +final _objc_msgSend_415 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_retainArguments = objc.registerName("retainArguments"); +late final _sel_argumentsRetained = objc.registerName("argumentsRetained"); +late final _sel_target = objc.registerName("target"); +late final _sel_setTarget_ = objc.registerName("setTarget:"); +final _objc_msgSend_416 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_selector = objc.registerName("selector"); +final _objc_msgSend_417 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_setSelector_ = objc.registerName("setSelector:"); +final _objc_msgSend_418 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_getReturnValue_ = objc.registerName("getReturnValue:"); +late final _sel_setReturnValue_ = objc.registerName("setReturnValue:"); +late final _sel_getArgument_atIndex_ = + objc.registerName("getArgument:atIndex:"); +final _objc_msgSend_419 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer argumentLocation, + ffi.Long idx)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer, int)>(); +late final _sel_setArgument_atIndex_ = + objc.registerName("setArgument:atIndex:"); +late final _sel_invoke = objc.registerName("invoke"); +late final _sel_invokeWithTarget_ = objc.registerName("invokeWithTarget:"); +late final _sel_invokeUsingIMP_ = objc.registerName("invokeUsingIMP:"); +final _objc_msgSend_420 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer> imp)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>(); +late final _sel_forwardInvocation_ = objc.registerName("forwardInvocation:"); +final _objc_msgSend_421 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer anInvocation)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_methodSignatureForSelector_ = + objc.registerName("methodSignatureForSelector:"); +final _objc_msgSend_422 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer aSelector)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_instanceMethodSignatureForSelector_ = + objc.registerName("instanceMethodSignatureForSelector:"); +late final _sel_allowsWeakReference = objc.registerName("allowsWeakReference"); +late final _sel_retainWeakReference = objc.registerName("retainWeakReference"); +late final _sel_isSubclassOfClass_ = objc.registerName("isSubclassOfClass:"); +late final _sel_resolveClassMethod_ = objc.registerName("resolveClassMethod:"); +late final _sel_resolveInstanceMethod_ = + objc.registerName("resolveInstanceMethod:"); +late final _sel_superclass = objc.registerName("superclass"); +late final _sel_class = objc.registerName("class"); +late final _sel_debugDescription = objc.registerName("debugDescription"); +late final _sel_version = objc.registerName("version"); +late final _sel_setVersion_ = objc.registerName("setVersion:"); +final _objc_msgSend_423 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer obj, + ffi.Pointer sel, ffi.Long aVersion)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, int)>(); +late final _sel_classForCoder = objc.registerName("classForCoder"); +late final _sel_replacementObjectForCoder_ = + objc.registerName("replacementObjectForCoder:"); +late final _sel_awakeAfterUsingCoder_ = + objc.registerName("awakeAfterUsingCoder:"); +late final _sel_poseAsClass_ = objc.registerName("poseAsClass:"); +late final _sel_autoContentAccessingProxy = + objc.registerName("autoContentAccessingProxy"); +late final _sel_attemptRecoveryFromError_optionIndex_delegate_didRecoverSelector_contextInfo_ = + objc.registerName( + "attemptRecoveryFromError:optionIndex:delegate:didRecoverSelector:contextInfo:"); +final _objc_msgSend_424 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer error, + ffi.UnsignedLong recoveryOptionIndex, + ffi.Pointer delegate, + ffi.Pointer didRecoverSelector, + ffi.Pointer contextInfo)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_attemptRecoveryFromError_optionIndex_ = + objc.registerName("attemptRecoveryFromError:optionIndex:"); +final _objc_msgSend_425 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer error, + ffi.UnsignedLong recoveryOptionIndex)>>() + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int)>(); +late final _sel_performSelector_withObject_afterDelay_inModes_ = + objc.registerName("performSelector:withObject:afterDelay:inModes:"); +final _objc_msgSend_426 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer aSelector, + ffi.Pointer anArgument, + ffi.Double delay, + ffi.Pointer modes)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + double, + ffi.Pointer)>(); +late final _sel_performSelector_withObject_afterDelay_ = + objc.registerName("performSelector:withObject:afterDelay:"); +final _objc_msgSend_427 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer aSelector, + ffi.Pointer anArgument, + ffi.Double delay)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + double)>(); +late final _sel_URL_resourceDataDidBecomeAvailable_ = + objc.registerName("URL:resourceDataDidBecomeAvailable:"); +final _objc_msgSend_428 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer sender, + ffi.Pointer newBytes)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_URLResourceDidFinishLoading_ = + objc.registerName("URLResourceDidFinishLoading:"); +final _objc_msgSend_429 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer sender)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_URLResourceDidCancelLoading_ = + objc.registerName("URLResourceDidCancelLoading:"); +late final _sel_URL_resourceDidFailLoadingWithReason_ = + objc.registerName("URL:resourceDidFailLoadingWithReason:"); +final _objc_msgSend_430 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer sender, + ffi.Pointer reason)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); class NSFileManager extends NSObject { - NSFileManager._( - ffi.Pointer pointer, - AVFAudio lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSFileManager._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSFileManager] that points to the same underlying object as [other]. - static NSFileManager castFrom( - AVFAudio lib, - T other, - ) { - return NSFileManager._(other.pointer, lib, retain: true, release: true); + static NSFileManager castFrom(T other) { + return NSFileManager._(other.pointer, retain: true, release: true); } /// Returns a [NSFileManager] that wraps the given raw object pointer. - static NSFileManager castFromPointer( - AVFAudio lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSFileManager._(other, lib, retain: retain, release: release); + static NSFileManager castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSFileManager._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSFileManager]. - static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSFileManager1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0( + obj.pointer, _sel_isKindOfClass_, _class_NSFileManager); } - static NSFileManager getDefaultManager(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_431( - _lib._class_NSFileManager1, - _lib._sel_defaultManager1, - ); - return NSFileManager._(_ret, _lib, retain: true, release: true); + static NSFileManager getDefaultManager() { + final _ret = _objc_msgSend_431(_class_NSFileManager, _sel_defaultManager); + return NSFileManager._(_ret, retain: true, release: true); } NSArray? mountedVolumeURLsIncludingResourceValuesForKeys_options_( - NSArray? propertyKeys, - int options, - ) { - final _ret = _lib._objc_msgSend_432( - this.pointer, - _lib._sel_mountedVolumeURLsIncludingResourceValuesForKeys_options_1, - propertyKeys?.pointer ?? ffi.nullptr, - options, - ); + NSArray? propertyKeys, int options) { + final _ret = _objc_msgSend_432( + this.pointer, + _sel_mountedVolumeURLsIncludingResourceValuesForKeys_options_, + propertyKeys?.pointer ?? ffi.nullptr, + options); return _ret.address == 0 ? null - : NSArray._(_ret, _lib, retain: true, release: true); + : NSArray._(_ret, retain: true, release: true); } void unmountVolumeAtURL_options_completionHandler_( - NSURL url, - int mask, - ObjCBlock_ffiVoid_NSError completionHandler, - ) { - _lib._objc_msgSend_433( - this.pointer, - _lib._sel_unmountVolumeAtURL_options_completionHandler_1, - url.pointer, - mask, - completionHandler.pointer, - ); + NSURL url, int mask, ObjCBlock_ffiVoid_NSError completionHandler) { + _objc_msgSend_433( + this.pointer, + _sel_unmountVolumeAtURL_options_completionHandler_, + url.pointer, + mask, + completionHandler.pointer); } NSArray? contentsOfDirectoryAtURL_includingPropertiesForKeys_options_error_( - NSURL url, - NSArray? keys, - int mask, - ffi.Pointer> error, - ) { - final _ret = _lib._objc_msgSend_434( - this.pointer, - _lib._sel_contentsOfDirectoryAtURL_includingPropertiesForKeys_options_error_1, - url.pointer, - keys?.pointer ?? ffi.nullptr, - mask, - error, - ); + NSURL url, + NSArray? keys, + int mask, + ffi.Pointer> error) { + final _ret = _objc_msgSend_434( + this.pointer, + _sel_contentsOfDirectoryAtURL_includingPropertiesForKeys_options_error_, + url.pointer, + keys?.pointer ?? ffi.nullptr, + mask, + error); return _ret.address == 0 ? null - : NSArray._(_ret, _lib, retain: true, release: true); + : NSArray._(_ret, retain: true, release: true); } NSArray URLsForDirectory_inDomains_(int directory, int domainMask) { - final _ret = _lib._objc_msgSend_435( - this.pointer, - _lib._sel_URLsForDirectory_inDomains_1, - directory, - domainMask, - ); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_435( + this.pointer, _sel_URLsForDirectory_inDomains_, directory, domainMask); + return NSArray._(_ret, retain: true, release: true); } NSURL? URLForDirectory_inDomain_appropriateForURL_create_error_( - int directory, - int domain, - NSURL? url, - bool shouldCreate, - ffi.Pointer> error, - ) { - final _ret = _lib._objc_msgSend_436( - this.pointer, - _lib._sel_URLForDirectory_inDomain_appropriateForURL_create_error_1, - directory, - domain, - url?.pointer ?? ffi.nullptr, - shouldCreate, - error, - ); - return _ret.address == 0 - ? null - : NSURL._(_ret, _lib, retain: true, release: true); + int directory, + int domain, + NSURL? url, + bool shouldCreate, + ffi.Pointer> error) { + final _ret = _objc_msgSend_436( + this.pointer, + _sel_URLForDirectory_inDomain_appropriateForURL_create_error_, + directory, + domain, + url?.pointer ?? ffi.nullptr, + shouldCreate, + error); + return _ret.address == 0 + ? null + : NSURL._(_ret, retain: true, release: true); } bool getRelationship_ofDirectoryAtURL_toItemAtURL_error_( - ffi.Pointer outRelationship, - NSURL directoryURL, - NSURL otherURL, - ffi.Pointer> error, - ) { - return _lib._objc_msgSend_437( - this.pointer, - _lib._sel_getRelationship_ofDirectoryAtURL_toItemAtURL_error_1, - outRelationship, - directoryURL.pointer, - otherURL.pointer, - error, - ); + ffi.Pointer outRelationship, + NSURL directoryURL, + NSURL otherURL, + ffi.Pointer> error) { + return _objc_msgSend_437( + this.pointer, + _sel_getRelationship_ofDirectoryAtURL_toItemAtURL_error_, + outRelationship, + directoryURL.pointer, + otherURL.pointer, + error); } bool getRelationship_ofDirectory_inDomain_toItemAtURL_error_( - ffi.Pointer outRelationship, - int directory, - int domainMask, - NSURL url, - ffi.Pointer> error, - ) { - return _lib._objc_msgSend_438( - this.pointer, - _lib._sel_getRelationship_ofDirectory_inDomain_toItemAtURL_error_1, - outRelationship, - directory, - domainMask, - url.pointer, - error, - ); + ffi.Pointer outRelationship, + int directory, + int domainMask, + NSURL url, + ffi.Pointer> error) { + return _objc_msgSend_438( + this.pointer, + _sel_getRelationship_ofDirectory_inDomain_toItemAtURL_error_, + outRelationship, + directory, + domainMask, + url.pointer, + error); } bool createDirectoryAtURL_withIntermediateDirectories_attributes_error_( - NSURL url, - bool createIntermediates, - NSDictionary? attributes, - ffi.Pointer> error, - ) { - return _lib._objc_msgSend_439( - this.pointer, - _lib._sel_createDirectoryAtURL_withIntermediateDirectories_attributes_error_1, - url.pointer, - createIntermediates, - attributes?.pointer ?? ffi.nullptr, - error, - ); - } - - bool createSymbolicLinkAtURL_withDestinationURL_error_( - NSURL url, - NSURL destURL, - ffi.Pointer> error, - ) { - return _lib._objc_msgSend_440( - this.pointer, - _lib._sel_createSymbolicLinkAtURL_withDestinationURL_error_1, - url.pointer, - destURL.pointer, - error, - ); + NSURL url, + bool createIntermediates, + NSDictionary? attributes, + ffi.Pointer> error) { + return _objc_msgSend_439( + this.pointer, + _sel_createDirectoryAtURL_withIntermediateDirectories_attributes_error_, + url.pointer, + createIntermediates, + attributes?.pointer ?? ffi.nullptr, + error); + } + + bool createSymbolicLinkAtURL_withDestinationURL_error_(NSURL url, + NSURL destURL, ffi.Pointer> error) { + return _objc_msgSend_440( + this.pointer, + _sel_createSymbolicLinkAtURL_withDestinationURL_error_, + url.pointer, + destURL.pointer, + error); } NSObject? get delegate { - final _ret = _lib._objc_msgSend_17(this.pointer, _lib._sel_delegate1); + final _ret = _objc_msgSend_17(this.pointer, _sel_delegate); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } set delegate(NSObject? value) { - return _lib._objc_msgSend_416( - this.pointer, - _lib._sel_setDelegate_1, - value?.pointer ?? ffi.nullptr, - ); - } - - bool setAttributes_ofItemAtPath_error_( - NSDictionary attributes, - NSString path, - ffi.Pointer> error, - ) { - return _lib._objc_msgSend_441( - this.pointer, - _lib._sel_setAttributes_ofItemAtPath_error_1, - attributes.pointer, - path.pointer, - error, - ); + return _objc_msgSend_416( + this.pointer, _sel_setDelegate_, value?.pointer ?? ffi.nullptr); + } + + bool setAttributes_ofItemAtPath_error_(NSDictionary attributes, NSString path, + ffi.Pointer> error) { + return _objc_msgSend_441( + this.pointer, + _sel_setAttributes_ofItemAtPath_error_, + attributes.pointer, + path.pointer, + error); } bool createDirectoryAtPath_withIntermediateDirectories_attributes_error_( - NSString path, - bool createIntermediates, - NSDictionary? attributes, - ffi.Pointer> error, - ) { - return _lib._objc_msgSend_442( - this.pointer, - _lib._sel_createDirectoryAtPath_withIntermediateDirectories_attributes_error_1, - path.pointer, - createIntermediates, - attributes?.pointer ?? ffi.nullptr, - error, - ); + NSString path, + bool createIntermediates, + NSDictionary? attributes, + ffi.Pointer> error) { + return _objc_msgSend_442( + this.pointer, + _sel_createDirectoryAtPath_withIntermediateDirectories_attributes_error_, + path.pointer, + createIntermediates, + attributes?.pointer ?? ffi.nullptr, + error); } NSArray? contentsOfDirectoryAtPath_error_( - NSString path, - ffi.Pointer> error, - ) { - final _ret = _lib._objc_msgSend_443( - this.pointer, - _lib._sel_contentsOfDirectoryAtPath_error_1, - path.pointer, - error, - ); + NSString path, ffi.Pointer> error) { + final _ret = _objc_msgSend_443(this.pointer, + _sel_contentsOfDirectoryAtPath_error_, path.pointer, error); return _ret.address == 0 ? null - : NSArray._(_ret, _lib, retain: true, release: true); + : NSArray._(_ret, retain: true, release: true); } NSArray? subpathsOfDirectoryAtPath_error_( - NSString path, - ffi.Pointer> error, - ) { - final _ret = _lib._objc_msgSend_443( - this.pointer, - _lib._sel_subpathsOfDirectoryAtPath_error_1, - path.pointer, - error, - ); + NSString path, ffi.Pointer> error) { + final _ret = _objc_msgSend_443(this.pointer, + _sel_subpathsOfDirectoryAtPath_error_, path.pointer, error); + return _ret.address == 0 + ? null + : NSArray._(_ret, retain: true, release: true); + } + + NSDictionary? attributesOfItemAtPath_error_( + NSString path, ffi.Pointer> error) { + final _ret = _objc_msgSend_444( + this.pointer, _sel_attributesOfItemAtPath_error_, path.pointer, error); + return _ret.address == 0 + ? null + : NSDictionary._(_ret, retain: true, release: true); + } + + NSDictionary? attributesOfFileSystemForPath_error_( + NSString path, ffi.Pointer> error) { + final _ret = _objc_msgSend_444(this.pointer, + _sel_attributesOfFileSystemForPath_error_, path.pointer, error); + return _ret.address == 0 + ? null + : NSDictionary._(_ret, retain: true, release: true); + } + + bool createSymbolicLinkAtPath_withDestinationPath_error_(NSString path, + NSString destPath, ffi.Pointer> error) { + return _objc_msgSend_445( + this.pointer, + _sel_createSymbolicLinkAtPath_withDestinationPath_error_, + path.pointer, + destPath.pointer, + error); + } + + NSString? destinationOfSymbolicLinkAtPath_error_( + NSString path, ffi.Pointer> error) { + final _ret = _objc_msgSend_446(this.pointer, + _sel_destinationOfSymbolicLinkAtPath_error_, path.pointer, error); return _ret.address == 0 ? null - : NSArray._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); + } + + bool copyItemAtPath_toPath_error_(NSString srcPath, NSString dstPath, + ffi.Pointer> error) { + return _objc_msgSend_445(this.pointer, _sel_copyItemAtPath_toPath_error_, + srcPath.pointer, dstPath.pointer, error); + } + + bool moveItemAtPath_toPath_error_(NSString srcPath, NSString dstPath, + ffi.Pointer> error) { + return _objc_msgSend_445(this.pointer, _sel_moveItemAtPath_toPath_error_, + srcPath.pointer, dstPath.pointer, error); + } + + bool linkItemAtPath_toPath_error_(NSString srcPath, NSString dstPath, + ffi.Pointer> error) { + return _objc_msgSend_445(this.pointer, _sel_linkItemAtPath_toPath_error_, + srcPath.pointer, dstPath.pointer, error); } - NSDictionary? attributesOfItemAtPath_error_( - NSString path, - ffi.Pointer> error, - ) { - final _ret = _lib._objc_msgSend_444( - this.pointer, - _lib._sel_attributesOfItemAtPath_error_1, - path.pointer, - error, - ); - return _ret.address == 0 - ? null - : NSDictionary._(_ret, _lib, retain: true, release: true); + bool removeItemAtPath_error_( + NSString path, ffi.Pointer> error) { + return _objc_msgSend_447( + this.pointer, _sel_removeItemAtPath_error_, path.pointer, error); } - NSDictionary? attributesOfFileSystemForPath_error_( - NSString path, - ffi.Pointer> error, - ) { - final _ret = _lib._objc_msgSend_444( - this.pointer, - _lib._sel_attributesOfFileSystemForPath_error_1, - path.pointer, - error, - ); - return _ret.address == 0 - ? null - : NSDictionary._(_ret, _lib, retain: true, release: true); - } - - bool createSymbolicLinkAtPath_withDestinationPath_error_( - NSString path, - NSString destPath, - ffi.Pointer> error, - ) { - return _lib._objc_msgSend_445( - this.pointer, - _lib._sel_createSymbolicLinkAtPath_withDestinationPath_error_1, - path.pointer, - destPath.pointer, - error, - ); + bool copyItemAtURL_toURL_error_(NSURL srcURL, NSURL dstURL, + ffi.Pointer> error) { + return _objc_msgSend_440(this.pointer, _sel_copyItemAtURL_toURL_error_, + srcURL.pointer, dstURL.pointer, error); } - NSString? destinationOfSymbolicLinkAtPath_error_( - NSString path, - ffi.Pointer> error, - ) { - final _ret = _lib._objc_msgSend_446( - this.pointer, - _lib._sel_destinationOfSymbolicLinkAtPath_error_1, - path.pointer, - error, - ); - return _ret.address == 0 - ? null - : NSString._(_ret, _lib, retain: true, release: true); - } - - bool copyItemAtPath_toPath_error_( - NSString srcPath, - NSString dstPath, - ffi.Pointer> error, - ) { - return _lib._objc_msgSend_445( - this.pointer, - _lib._sel_copyItemAtPath_toPath_error_1, - srcPath.pointer, - dstPath.pointer, - error, - ); - } - - bool moveItemAtPath_toPath_error_( - NSString srcPath, - NSString dstPath, - ffi.Pointer> error, - ) { - return _lib._objc_msgSend_445( - this.pointer, - _lib._sel_moveItemAtPath_toPath_error_1, - srcPath.pointer, - dstPath.pointer, - error, - ); - } - - bool linkItemAtPath_toPath_error_( - NSString srcPath, - NSString dstPath, - ffi.Pointer> error, - ) { - return _lib._objc_msgSend_445( - this.pointer, - _lib._sel_linkItemAtPath_toPath_error_1, - srcPath.pointer, - dstPath.pointer, - error, - ); + bool moveItemAtURL_toURL_error_(NSURL srcURL, NSURL dstURL, + ffi.Pointer> error) { + return _objc_msgSend_440(this.pointer, _sel_moveItemAtURL_toURL_error_, + srcURL.pointer, dstURL.pointer, error); } - bool removeItemAtPath_error_( - NSString path, - ffi.Pointer> error, - ) { - return _lib._objc_msgSend_447( - this.pointer, - _lib._sel_removeItemAtPath_error_1, - path.pointer, - error, - ); - } - - bool copyItemAtURL_toURL_error_( - NSURL srcURL, - NSURL dstURL, - ffi.Pointer> error, - ) { - return _lib._objc_msgSend_440( - this.pointer, - _lib._sel_copyItemAtURL_toURL_error_1, - srcURL.pointer, - dstURL.pointer, - error, - ); - } - - bool moveItemAtURL_toURL_error_( - NSURL srcURL, - NSURL dstURL, - ffi.Pointer> error, - ) { - return _lib._objc_msgSend_440( - this.pointer, - _lib._sel_moveItemAtURL_toURL_error_1, - srcURL.pointer, - dstURL.pointer, - error, - ); - } - - bool linkItemAtURL_toURL_error_( - NSURL srcURL, - NSURL dstURL, - ffi.Pointer> error, - ) { - return _lib._objc_msgSend_440( - this.pointer, - _lib._sel_linkItemAtURL_toURL_error_1, - srcURL.pointer, - dstURL.pointer, - error, - ); + bool linkItemAtURL_toURL_error_(NSURL srcURL, NSURL dstURL, + ffi.Pointer> error) { + return _objc_msgSend_440(this.pointer, _sel_linkItemAtURL_toURL_error_, + srcURL.pointer, dstURL.pointer, error); } bool removeItemAtURL_error_( - NSURL URL, - ffi.Pointer> error, - ) { - return _lib._objc_msgSend_89( - this.pointer, - _lib._sel_removeItemAtURL_error_1, - URL.pointer, - error, - ); + NSURL URL, ffi.Pointer> error) { + return _objc_msgSend_89( + this.pointer, _sel_removeItemAtURL_error_, URL.pointer, error); } bool trashItemAtURL_resultingItemURL_error_( - NSURL url, - ffi.Pointer> outResultingURL, - ffi.Pointer> error, - ) { - return _lib._objc_msgSend_448( - this.pointer, - _lib._sel_trashItemAtURL_resultingItemURL_error_1, - url.pointer, - outResultingURL, - error, - ); + NSURL url, + ffi.Pointer> outResultingURL, + ffi.Pointer> error) { + return _objc_msgSend_448( + this.pointer, + _sel_trashItemAtURL_resultingItemURL_error_, + url.pointer, + outResultingURL, + error); } NSDictionary? fileAttributesAtPath_traverseLink_(NSString path, bool yorn) { - final _ret = _lib._objc_msgSend_449( - this.pointer, - _lib._sel_fileAttributesAtPath_traverseLink_1, - path.pointer, - yorn, - ); + final _ret = _objc_msgSend_449(this.pointer, + _sel_fileAttributesAtPath_traverseLink_, path.pointer, yorn); return _ret.address == 0 ? null - : NSDictionary._(_ret, _lib, retain: true, release: true); + : NSDictionary._(_ret, retain: true, release: true); } bool changeFileAttributes_atPath_(NSDictionary attributes, NSString path) { - return _lib._objc_msgSend_450( - this.pointer, - _lib._sel_changeFileAttributes_atPath_1, - attributes.pointer, - path.pointer, - ); + return _objc_msgSend_450(this.pointer, _sel_changeFileAttributes_atPath_, + attributes.pointer, path.pointer); } NSArray? directoryContentsAtPath_(NSString path) { - final _ret = _lib._objc_msgSend_132( - this.pointer, - _lib._sel_directoryContentsAtPath_1, - path.pointer, - ); + final _ret = _objc_msgSend_132( + this.pointer, _sel_directoryContentsAtPath_, path.pointer); return _ret.address == 0 ? null - : NSArray._(_ret, _lib, retain: true, release: true); + : NSArray._(_ret, retain: true, release: true); } NSDictionary? fileSystemAttributesAtPath_(NSString path) { - final _ret = _lib._objc_msgSend_156( - this.pointer, - _lib._sel_fileSystemAttributesAtPath_1, - path.pointer, - ); + final _ret = _objc_msgSend_156( + this.pointer, _sel_fileSystemAttributesAtPath_, path.pointer); return _ret.address == 0 ? null - : NSDictionary._(_ret, _lib, retain: true, release: true); + : NSDictionary._(_ret, retain: true, release: true); } NSString? pathContentOfSymbolicLinkAtPath_(NSString path) { - final _ret = _lib._objc_msgSend_186( - this.pointer, - _lib._sel_pathContentOfSymbolicLinkAtPath_1, - path.pointer, - ); + final _ret = _objc_msgSend_186( + this.pointer, _sel_pathContentOfSymbolicLinkAtPath_, path.pointer); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } bool createSymbolicLinkAtPath_pathContent_( - NSString path, - NSString otherpath, - ) { - return _lib._objc_msgSend_451( - this.pointer, - _lib._sel_createSymbolicLinkAtPath_pathContent_1, - path.pointer, - otherpath.pointer, - ); + NSString path, NSString otherpath) { + return _objc_msgSend_451( + this.pointer, + _sel_createSymbolicLinkAtPath_pathContent_, + path.pointer, + otherpath.pointer); } bool createDirectoryAtPath_attributes_( - NSString path, - NSDictionary attributes, - ) { - return _lib._objc_msgSend_452( - this.pointer, - _lib._sel_createDirectoryAtPath_attributes_1, - path.pointer, - attributes.pointer, - ); + NSString path, NSDictionary attributes) { + return _objc_msgSend_452( + this.pointer, + _sel_createDirectoryAtPath_attributes_, + path.pointer, + attributes.pointer); } bool linkPath_toPath_handler_( - NSString src, - NSString dest, - NSObject? handler, - ) { - return _lib._objc_msgSend_453( - this.pointer, - _lib._sel_linkPath_toPath_handler_1, - src.pointer, - dest.pointer, - handler?.pointer ?? ffi.nullptr, - ); + NSString src, NSString dest, NSObject? handler) { + return _objc_msgSend_453(this.pointer, _sel_linkPath_toPath_handler_, + src.pointer, dest.pointer, handler?.pointer ?? ffi.nullptr); } bool copyPath_toPath_handler_( - NSString src, - NSString dest, - NSObject? handler, - ) { - return _lib._objc_msgSend_453( - this.pointer, - _lib._sel_copyPath_toPath_handler_1, - src.pointer, - dest.pointer, - handler?.pointer ?? ffi.nullptr, - ); + NSString src, NSString dest, NSObject? handler) { + return _objc_msgSend_453(this.pointer, _sel_copyPath_toPath_handler_, + src.pointer, dest.pointer, handler?.pointer ?? ffi.nullptr); } bool movePath_toPath_handler_( - NSString src, - NSString dest, - NSObject? handler, - ) { - return _lib._objc_msgSend_453( - this.pointer, - _lib._sel_movePath_toPath_handler_1, - src.pointer, - dest.pointer, - handler?.pointer ?? ffi.nullptr, - ); + NSString src, NSString dest, NSObject? handler) { + return _objc_msgSend_453(this.pointer, _sel_movePath_toPath_handler_, + src.pointer, dest.pointer, handler?.pointer ?? ffi.nullptr); } bool removeFileAtPath_handler_(NSString path, NSObject? handler) { - return _lib._objc_msgSend_454( - this.pointer, - _lib._sel_removeFileAtPath_handler_1, - path.pointer, - handler?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_454(this.pointer, _sel_removeFileAtPath_handler_, + path.pointer, handler?.pointer ?? ffi.nullptr); } NSString get currentDirectoryPath { - final _ret = _lib._objc_msgSend_21( - this.pointer, - _lib._sel_currentDirectoryPath1, - ); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_currentDirectoryPath); + return NSString._(_ret, retain: true, release: true); } bool changeCurrentDirectoryPath_(NSString path) { - return _lib._objc_msgSend_64( - this.pointer, - _lib._sel_changeCurrentDirectoryPath_1, - path.pointer, - ); + return _objc_msgSend_64( + this.pointer, _sel_changeCurrentDirectoryPath_, path.pointer); } bool fileExistsAtPath_(NSString path) { - return _lib._objc_msgSend_64( - this.pointer, - _lib._sel_fileExistsAtPath_1, - path.pointer, - ); + return _objc_msgSend_64(this.pointer, _sel_fileExistsAtPath_, path.pointer); } bool fileExistsAtPath_isDirectory_( - NSString path, - ffi.Pointer isDirectory, - ) { - return _lib._objc_msgSend_455( - this.pointer, - _lib._sel_fileExistsAtPath_isDirectory_1, - path.pointer, - isDirectory, - ); + NSString path, ffi.Pointer isDirectory) { + return _objc_msgSend_455(this.pointer, _sel_fileExistsAtPath_isDirectory_, + path.pointer, isDirectory); } bool isReadableFileAtPath_(NSString path) { - return _lib._objc_msgSend_64( - this.pointer, - _lib._sel_isReadableFileAtPath_1, - path.pointer, - ); + return _objc_msgSend_64( + this.pointer, _sel_isReadableFileAtPath_, path.pointer); } bool isWritableFileAtPath_(NSString path) { - return _lib._objc_msgSend_64( - this.pointer, - _lib._sel_isWritableFileAtPath_1, - path.pointer, - ); + return _objc_msgSend_64( + this.pointer, _sel_isWritableFileAtPath_, path.pointer); } bool isExecutableFileAtPath_(NSString path) { - return _lib._objc_msgSend_64( - this.pointer, - _lib._sel_isExecutableFileAtPath_1, - path.pointer, - ); + return _objc_msgSend_64( + this.pointer, _sel_isExecutableFileAtPath_, path.pointer); } bool isDeletableFileAtPath_(NSString path) { - return _lib._objc_msgSend_64( - this.pointer, - _lib._sel_isDeletableFileAtPath_1, - path.pointer, - ); + return _objc_msgSend_64( + this.pointer, _sel_isDeletableFileAtPath_, path.pointer); } bool contentsEqualAtPath_andPath_(NSString path1, NSString path2) { - return _lib._objc_msgSend_451( - this.pointer, - _lib._sel_contentsEqualAtPath_andPath_1, - path1.pointer, - path2.pointer, - ); + return _objc_msgSend_451(this.pointer, _sel_contentsEqualAtPath_andPath_, + path1.pointer, path2.pointer); } NSString displayNameAtPath_(NSString path) { - final _ret = _lib._objc_msgSend_69( - this.pointer, - _lib._sel_displayNameAtPath_1, - path.pointer, - ); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_69(this.pointer, _sel_displayNameAtPath_, path.pointer); + return NSString._(_ret, retain: true, release: true); } NSArray? componentsToDisplayForPath_(NSString path) { - final _ret = _lib._objc_msgSend_132( - this.pointer, - _lib._sel_componentsToDisplayForPath_1, - path.pointer, - ); + final _ret = _objc_msgSend_132( + this.pointer, _sel_componentsToDisplayForPath_, path.pointer); return _ret.address == 0 ? null - : NSArray._(_ret, _lib, retain: true, release: true); + : NSArray._(_ret, retain: true, release: true); } NSObject? enumeratorAtPath_(NSString path) { - final _ret = _lib._objc_msgSend_38( - this.pointer, - _lib._sel_enumeratorAtPath_1, - path.pointer, - ); + final _ret = + _objc_msgSend_38(this.pointer, _sel_enumeratorAtPath_, path.pointer); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } NSObject? enumeratorAtURL_includingPropertiesForKeys_options_errorHandler_( - NSURL url, - NSArray? keys, - int mask, - ObjCBlock_bool_NSURL_NSError? handler, - ) { - final _ret = _lib._objc_msgSend_456( - this.pointer, - _lib._sel_enumeratorAtURL_includingPropertiesForKeys_options_errorHandler_1, - url.pointer, - keys?.pointer ?? ffi.nullptr, - mask, - handler?.pointer ?? ffi.nullptr, - ); + NSURL url, + NSArray? keys, + int mask, + ObjCBlock_bool_NSURL_NSError? handler) { + final _ret = _objc_msgSend_456( + this.pointer, + _sel_enumeratorAtURL_includingPropertiesForKeys_options_errorHandler_, + url.pointer, + keys?.pointer ?? ffi.nullptr, + mask, + handler?.pointer ?? ffi.nullptr); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } NSArray? subpathsAtPath_(NSString path) { - final _ret = _lib._objc_msgSend_132( - this.pointer, - _lib._sel_subpathsAtPath_1, - path.pointer, - ); + final _ret = + _objc_msgSend_132(this.pointer, _sel_subpathsAtPath_, path.pointer); return _ret.address == 0 ? null - : NSArray._(_ret, _lib, retain: true, release: true); + : NSArray._(_ret, retain: true, release: true); } NSData? contentsAtPath_(NSString path) { - final _ret = _lib._objc_msgSend_457( - this.pointer, - _lib._sel_contentsAtPath_1, - path.pointer, - ); + final _ret = + _objc_msgSend_457(this.pointer, _sel_contentsAtPath_, path.pointer); return _ret.address == 0 ? null - : NSData._(_ret, _lib, retain: true, release: true); + : NSData._(_ret, retain: true, release: true); } bool createFileAtPath_contents_attributes_( - NSString path, - NSData? data, - NSDictionary? attr, - ) { - return _lib._objc_msgSend_458( - this.pointer, - _lib._sel_createFileAtPath_contents_attributes_1, - path.pointer, - data?.pointer ?? ffi.nullptr, - attr?.pointer ?? ffi.nullptr, - ); + NSString path, NSData? data, NSDictionary? attr) { + return _objc_msgSend_458( + this.pointer, + _sel_createFileAtPath_contents_attributes_, + path.pointer, + data?.pointer ?? ffi.nullptr, + attr?.pointer ?? ffi.nullptr); } ffi.Pointer fileSystemRepresentationWithPath_(NSString path) { - return _lib._objc_msgSend_459( - this.pointer, - _lib._sel_fileSystemRepresentationWithPath_1, - path.pointer, - ); + return _objc_msgSend_459( + this.pointer, _sel_fileSystemRepresentationWithPath_, path.pointer); } NSString stringWithFileSystemRepresentation_length_( - ffi.Pointer str, - int len, - ) { - final _ret = _lib._objc_msgSend_460( - this.pointer, - _lib._sel_stringWithFileSystemRepresentation_length_1, - str, - len, - ); - return NSString._(_ret, _lib, retain: true, release: true); + ffi.Pointer str, int len) { + final _ret = _objc_msgSend_460(this.pointer, + _sel_stringWithFileSystemRepresentation_length_, str, len); + return NSString._(_ret, retain: true, release: true); } bool replaceItemAtURL_withItemAtURL_backupItemName_options_resultingItemURL_error_( - NSURL originalItemURL, - NSURL newItemURL, - NSString? backupItemName, - int options, - ffi.Pointer> resultingURL, - ffi.Pointer> error, - ) { - return _lib._objc_msgSend_461( - this.pointer, - _lib._sel_replaceItemAtURL_withItemAtURL_backupItemName_options_resultingItemURL_error_1, - originalItemURL.pointer, - newItemURL.pointer, - backupItemName?.pointer ?? ffi.nullptr, - options, - resultingURL, - error, - ); - } - - bool setUbiquitous_itemAtURL_destinationURL_error_( - bool flag, - NSURL url, - NSURL destinationURL, - ffi.Pointer> error, - ) { - return _lib._objc_msgSend_462( - this.pointer, - _lib._sel_setUbiquitous_itemAtURL_destinationURL_error_1, - flag, - url.pointer, - destinationURL.pointer, - error, - ); + NSURL originalItemURL, + NSURL newItemURL, + NSString? backupItemName, + int options, + ffi.Pointer> resultingURL, + ffi.Pointer> error) { + return _objc_msgSend_461( + this.pointer, + _sel_replaceItemAtURL_withItemAtURL_backupItemName_options_resultingItemURL_error_, + originalItemURL.pointer, + newItemURL.pointer, + backupItemName?.pointer ?? ffi.nullptr, + options, + resultingURL, + error); + } + + bool setUbiquitous_itemAtURL_destinationURL_error_(bool flag, NSURL url, + NSURL destinationURL, ffi.Pointer> error) { + return _objc_msgSend_462( + this.pointer, + _sel_setUbiquitous_itemAtURL_destinationURL_error_, + flag, + url.pointer, + destinationURL.pointer, + error); } bool isUbiquitousItemAtURL_(NSURL url) { - return _lib._objc_msgSend_265( - this.pointer, - _lib._sel_isUbiquitousItemAtURL_1, - url.pointer, - ); + return _objc_msgSend_265( + this.pointer, _sel_isUbiquitousItemAtURL_, url.pointer); } bool startDownloadingUbiquitousItemAtURL_error_( - NSURL url, - ffi.Pointer> error, - ) { - return _lib._objc_msgSend_89( - this.pointer, - _lib._sel_startDownloadingUbiquitousItemAtURL_error_1, - url.pointer, - error, - ); + NSURL url, ffi.Pointer> error) { + return _objc_msgSend_89(this.pointer, + _sel_startDownloadingUbiquitousItemAtURL_error_, url.pointer, error); } bool evictUbiquitousItemAtURL_error_( - NSURL url, - ffi.Pointer> error, - ) { - return _lib._objc_msgSend_89( - this.pointer, - _lib._sel_evictUbiquitousItemAtURL_error_1, - url.pointer, - error, - ); + NSURL url, ffi.Pointer> error) { + return _objc_msgSend_89( + this.pointer, _sel_evictUbiquitousItemAtURL_error_, url.pointer, error); } NSURL? URLForUbiquityContainerIdentifier_(NSString? containerIdentifier) { - final _ret = _lib._objc_msgSend_463( - this.pointer, - _lib._sel_URLForUbiquityContainerIdentifier_1, - containerIdentifier?.pointer ?? ffi.nullptr, - ); + final _ret = _objc_msgSend_463( + this.pointer, + _sel_URLForUbiquityContainerIdentifier_, + containerIdentifier?.pointer ?? ffi.nullptr); return _ret.address == 0 ? null - : NSURL._(_ret, _lib, retain: true, release: true); + : NSURL._(_ret, retain: true, release: true); } NSURL? URLForPublishingUbiquitousItemAtURL_expirationDate_error_( - NSURL url, - ffi.Pointer> outDate, - ffi.Pointer> error, - ) { - final _ret = _lib._objc_msgSend_464( - this.pointer, - _lib._sel_URLForPublishingUbiquitousItemAtURL_expirationDate_error_1, - url.pointer, - outDate, - error, - ); + NSURL url, + ffi.Pointer> outDate, + ffi.Pointer> error) { + final _ret = _objc_msgSend_464( + this.pointer, + _sel_URLForPublishingUbiquitousItemAtURL_expirationDate_error_, + url.pointer, + outDate, + error); return _ret.address == 0 ? null - : NSURL._(_ret, _lib, retain: true, release: true); + : NSURL._(_ret, retain: true, release: true); } NSObject? get ubiquityIdentityToken { - final _ret = _lib._objc_msgSend_17( - this.pointer, - _lib._sel_ubiquityIdentityToken1, - ); + final _ret = _objc_msgSend_17(this.pointer, _sel_ubiquityIdentityToken); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } void getFileProviderServicesForItemAtURL_completionHandler_( - NSURL url, - ObjCBlock_ffiVoid_NSDictionary_NSError completionHandler, - ) { - _lib._objc_msgSend_465( - this.pointer, - _lib._sel_getFileProviderServicesForItemAtURL_completionHandler_1, - url.pointer, - completionHandler.pointer, - ); + NSURL url, ObjCBlock_ffiVoid_NSDictionary_NSError completionHandler) { + _objc_msgSend_465( + this.pointer, + _sel_getFileProviderServicesForItemAtURL_completionHandler_, + url.pointer, + completionHandler.pointer); } NSURL? containerURLForSecurityApplicationGroupIdentifier_( - NSString groupIdentifier, - ) { - final _ret = _lib._objc_msgSend_257( - this.pointer, - _lib._sel_containerURLForSecurityApplicationGroupIdentifier_1, - groupIdentifier.pointer, - ); + NSString groupIdentifier) { + final _ret = _objc_msgSend_257( + this.pointer, + _sel_containerURLForSecurityApplicationGroupIdentifier_, + groupIdentifier.pointer); return _ret.address == 0 ? null - : NSURL._(_ret, _lib, retain: true, release: true); + : NSURL._(_ret, retain: true, release: true); } NSURL get homeDirectoryForCurrentUser { - final _ret = _lib._objc_msgSend_466( - this.pointer, - _lib._sel_homeDirectoryForCurrentUser1, - ); - return NSURL._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_466(this.pointer, _sel_homeDirectoryForCurrentUser); + return NSURL._(_ret, retain: true, release: true); } NSURL get temporaryDirectory { - final _ret = _lib._objc_msgSend_466( - this.pointer, - _lib._sel_temporaryDirectory1, - ); - return NSURL._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_466(this.pointer, _sel_temporaryDirectory); + return NSURL._(_ret, retain: true, release: true); } NSURL? homeDirectoryForUser_(NSString userName) { - final _ret = _lib._objc_msgSend_257( - this.pointer, - _lib._sel_homeDirectoryForUser_1, - userName.pointer, - ); + final _ret = _objc_msgSend_257( + this.pointer, _sel_homeDirectoryForUser_, userName.pointer); return _ret.address == 0 ? null - : NSURL._(_ret, _lib, retain: true, release: true); + : NSURL._(_ret, retain: true, release: true); } @override NSFileManager init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSFileManager._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSFileManager._(_ret, retain: true, release: true); } - static NSFileManager new1(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSFileManager1, - _lib._sel_new1, - ); - return NSFileManager._(_ret, _lib, retain: false, release: true); + static NSFileManager new1() { + final _ret = _objc_msgSend_2(_class_NSFileManager, _sel_new); + return NSFileManager._(_ret, retain: false, release: true); } - static NSFileManager allocWithZone_( - AVFAudio _lib, - ffi.Pointer<_NSZone> zone, - ) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSFileManager1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSFileManager._(_ret, _lib, retain: false, release: true); + static NSFileManager allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = + _objc_msgSend_3(_class_NSFileManager, _sel_allocWithZone_, zone); + return NSFileManager._(_ret, retain: false, release: true); } - static NSFileManager alloc(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSFileManager1, - _lib._sel_alloc1, - ); - return NSFileManager._(_ret, _lib, retain: false, release: true); + static NSFileManager alloc() { + final _ret = _objc_msgSend_2(_class_NSFileManager, _sel_alloc); + return NSFileManager._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSFileManager1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSFileManager1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSFileManager1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSFileManager1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSFileManager1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSFileManager1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSFileManager, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); + } + + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSFileManager, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); + } + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSFileManager, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSFileManager, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSFileManager, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSFileManager, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); } static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSFileManager1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSFileManager1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSFileManager1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSFileManager, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = _objc_msgSend_85( + _class_NSFileManager, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = + _objc_msgSend_2(_class_NSFileManager, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); } } +late final _class_NSFileManager = objc.getClass("NSFileManager"); +late final _sel_defaultManager = objc.registerName("defaultManager"); +final _objc_msgSend_431 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); + abstract class NSVolumeEnumerationOptions { static const int NSVolumeEnumerationSkipHiddenVolumes = 2; static const int NSVolumeEnumerationProduceFileReferenceURLs = 4; } +late final _sel_mountedVolumeURLsIncludingResourceValuesForKeys_options_ = objc + .registerName("mountedVolumeURLsIncludingResourceValuesForKeys:options:"); +final _objc_msgSend_432 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer propertyKeys, + ffi.Int32 options)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int)>(); + abstract class NSFileManagerUnmountOptions { static const int NSFileManagerUnmountAllPartitionsAndEjectDisk = 1; static const int NSFileManagerUnmountWithoutUI = 2; } void _ObjCBlock_ffiVoid_NSError_fnPtrTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, -) => + ffi.Pointer block, ffi.Pointer arg0) => block.ref.target .cast< ffi.NativeFunction< @@ -54705,44 +19697,28 @@ final _ObjCBlock_ffiVoid_NSError_closureRegistry = )>{}; int _ObjCBlock_ffiVoid_NSError_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_ffiVoid_NSError_registerClosure( - void Function(ffi.Pointer) fn, -) { + void Function(ffi.Pointer) fn) { final id = ++_ObjCBlock_ffiVoid_NSError_closureRegistryIndex; _ObjCBlock_ffiVoid_NSError_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } void _ObjCBlock_ffiVoid_NSError_closureTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, -) => - _ObjCBlock_ffiVoid_NSError_closureRegistry[block.ref.target.address]!( - arg0, - ); + ffi.Pointer block, ffi.Pointer arg0) => + _ObjCBlock_ffiVoid_NSError_closureRegistry[block.ref.target.address]!(arg0); class ObjCBlock_ffiVoid_NSError extends objc.ObjCBlockBase { - ObjCBlock_ffiVoid_NSError._( - ffi.Pointer pointer, - this._lib, { - bool retain = false, - bool release = true, - }) : super(pointer, retain: retain, release: release); - - AVFAudio _lib; + ObjCBlock_ffiVoid_NSError._(ffi.Pointer pointer, + {bool retain = false, bool release = true}) + : super(pointer, retain: retain, release: release); /// Returns a block that wraps the given raw block pointer. static ObjCBlock_ffiVoid_NSError castFromPointer( - AVFAudio lib, - ffi.Pointer pointer, { - bool retain = false, - bool release = false, - }) { - return ObjCBlock_ffiVoid_NSError._( - pointer, - lib, - retain: retain, - release: release, - ); + ffi.Pointer pointer, + {bool retain = false, + bool release = false}) { + return ObjCBlock_ffiVoid_NSError._(pointer, + retain: retain, release: release); } /// Creates a block from a C function pointer. @@ -54751,22 +19727,17 @@ class ObjCBlock_ffiVoid_NSError extends objc.ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSError.fromFunctionPointer( - AVFAudio lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer arg0)>> - ptr, - ) : this._( - objc.newBlock( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - )>(_ObjCBlock_ffiVoid_NSError_fnPtrTrampoline) - .cast(), - ptr.cast(), - ), - lib); + ffi.Pointer< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer arg0)>> + ptr) + : this._(objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function(ffi.Pointer, + ffi.Pointer)>( + _ObjCBlock_ffiVoid_NSError_fnPtrTrampoline) + .cast(), + ptr.cast())); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -54774,27 +19745,17 @@ class ObjCBlock_ffiVoid_NSError extends objc.ObjCBlockBase { /// This block must be invoked by native code running on the same thread as /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. - ObjCBlock_ffiVoid_NSError.fromFunction( - AVFAudio lib, - void Function(NSError?) fn, - ) : this._( - objc.newBlock( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - )>(_ObjCBlock_ffiVoid_NSError_closureTrampoline) - .cast(), - _ObjCBlock_ffiVoid_NSError_registerClosure(( - ffi.Pointer arg0, - ) => - fn( - arg0.address == 0 - ? null - : NSError._(arg0, lib, retain: true, release: true), - )), - ), - lib); + ObjCBlock_ffiVoid_NSError.fromFunction(void Function(NSError?) fn) + : this._(objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function(ffi.Pointer, + ffi.Pointer)>( + _ObjCBlock_ffiVoid_NSError_closureTrampoline) + .cast(), + _ObjCBlock_ffiVoid_NSError_registerClosure( + (ffi.Pointer arg0) => fn(arg0.address == 0 + ? null + : NSError._(arg0, retain: true, release: true))))); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -54806,28 +19767,19 @@ class ObjCBlock_ffiVoid_NSError extends objc.ObjCBlockBase { /// /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. - ObjCBlock_ffiVoid_NSError.listener(AVFAudio lib, void Function(NSError?) fn) - : this._( - objc.newBlock( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - )>.listener( - _ObjCBlock_ffiVoid_NSError_closureTrampoline, - )..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSError_registerClosure(( - ffi.Pointer arg0, - ) => - fn( - arg0.address == 0 - ? null - : NSError._(arg0, lib, retain: true, release: true), - )), - ), - lib); + ObjCBlock_ffiVoid_NSError.listener(void Function(NSError?) fn) + : this._(objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function(ffi.Pointer, + ffi.Pointer)>.listener( + _ObjCBlock_ffiVoid_NSError_closureTrampoline) + ..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSError_registerClosure( + (ffi.Pointer arg0) => fn(arg0.address == 0 + ? null + : NSError._(arg0, retain: true, release: true))))); static ffi.NativeCallable< ffi.Void Function( ffi.Pointer, ffi.Pointer)>? @@ -54836,16 +19788,33 @@ class ObjCBlock_ffiVoid_NSError extends objc.ObjCBlockBase { void call(NSError? arg0) => pointer.ref.invoke .cast< ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer block, - ffi.Pointer arg0, - )>>() + ffi.Void Function(ffi.Pointer block, + ffi.Pointer arg0)>>() .asFunction< void Function( ffi.Pointer, ffi.Pointer)>()( pointer, arg0?.pointer ?? ffi.nullptr); } +late final _sel_unmountVolumeAtURL_options_completionHandler_ = + objc.registerName("unmountVolumeAtURL:options:completionHandler:"); +final _objc_msgSend_433 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer url, + ffi.Int32 mask, + ffi.Pointer completionHandler)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer)>(); + abstract class NSDirectoryEnumerationOptions { static const int NSDirectoryEnumerationSkipsSubdirectoryDescendants = 1; static const int NSDirectoryEnumerationSkipsPackageDescendants = 2; @@ -54854,6 +19823,28 @@ abstract class NSDirectoryEnumerationOptions { static const int NSDirectoryEnumerationProducesRelativePathURLs = 16; } +late final _sel_contentsOfDirectoryAtURL_includingPropertiesForKeys_options_error_ = + objc.registerName( + "contentsOfDirectoryAtURL:includingPropertiesForKeys:options:error:"); +final _objc_msgSend_434 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer url, + ffi.Pointer keys, + ffi.Int32 mask, + ffi.Pointer> error)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer>)>(); + abstract class NSSearchPathDirectory { static const int NSApplicationDirectory = 1; static const int NSDemoApplicationDirectory = 2; @@ -54892,24 +19883,440 @@ abstract class NSSearchPathDomainMask { static const int NSAllDomainsMask = 65535; } +late final _sel_URLsForDirectory_inDomains_ = + objc.registerName("URLsForDirectory:inDomains:"); +final _objc_msgSend_435 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Int32 directory, + ffi.Int32 domainMask)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, int, int)>(); +late final _sel_URLForDirectory_inDomain_appropriateForURL_create_error_ = objc + .registerName("URLForDirectory:inDomain:appropriateForURL:create:error:"); +final _objc_msgSend_436 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Int32 directory, + ffi.Int32 domain, + ffi.Pointer url, + ffi.Bool shouldCreate, + ffi.Pointer> error)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + int, + ffi.Pointer, + bool, + ffi.Pointer>)>(); + abstract class NSURLRelationship { static const int NSURLRelationshipContains = 0; static const int NSURLRelationshipSame = 1; static const int NSURLRelationshipOther = 2; } +late final _sel_getRelationship_ofDirectoryAtURL_toItemAtURL_error_ = + objc.registerName("getRelationship:ofDirectoryAtURL:toItemAtURL:error:"); +final _objc_msgSend_437 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer outRelationship, + ffi.Pointer directoryURL, + ffi.Pointer otherURL, + ffi.Pointer> error)>>() + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>(); +late final _sel_getRelationship_ofDirectory_inDomain_toItemAtURL_error_ = objc + .registerName("getRelationship:ofDirectory:inDomain:toItemAtURL:error:"); +final _objc_msgSend_438 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer outRelationship, + ffi.Int32 directory, + ffi.Int32 domainMask, + ffi.Pointer url, + ffi.Pointer> error)>>() + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + int, + ffi.Pointer, + ffi.Pointer>)>(); +late final _sel_createDirectoryAtURL_withIntermediateDirectories_attributes_error_ = + objc.registerName( + "createDirectoryAtURL:withIntermediateDirectories:attributes:error:"); +final _objc_msgSend_439 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer url, + ffi.Bool createIntermediates, + ffi.Pointer attributes, + ffi.Pointer> error)>>() + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool, + ffi.Pointer, + ffi.Pointer>)>(); +late final _sel_createSymbolicLinkAtURL_withDestinationURL_error_ = + objc.registerName("createSymbolicLinkAtURL:withDestinationURL:error:"); +final _objc_msgSend_440 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer url, + ffi.Pointer destURL, + ffi.Pointer> error)>>() + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>(); +late final _sel_delegate = objc.registerName("delegate"); +late final _sel_setDelegate_ = objc.registerName("setDelegate:"); +late final _sel_setAttributes_ofItemAtPath_error_ = + objc.registerName("setAttributes:ofItemAtPath:error:"); +final _objc_msgSend_441 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer attributes, + ffi.Pointer path, + ffi.Pointer> error)>>() + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>(); +late final _sel_createDirectoryAtPath_withIntermediateDirectories_attributes_error_ = + objc.registerName( + "createDirectoryAtPath:withIntermediateDirectories:attributes:error:"); +final _objc_msgSend_442 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer path, + ffi.Bool createIntermediates, + ffi.Pointer attributes, + ffi.Pointer> error)>>() + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool, + ffi.Pointer, + ffi.Pointer>)>(); +late final _sel_contentsOfDirectoryAtPath_error_ = + objc.registerName("contentsOfDirectoryAtPath:error:"); +final _objc_msgSend_443 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer path, + ffi.Pointer> error)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>(); +late final _sel_subpathsOfDirectoryAtPath_error_ = + objc.registerName("subpathsOfDirectoryAtPath:error:"); +late final _sel_attributesOfItemAtPath_error_ = + objc.registerName("attributesOfItemAtPath:error:"); +final _objc_msgSend_444 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer path, + ffi.Pointer> error)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>(); +late final _sel_attributesOfFileSystemForPath_error_ = + objc.registerName("attributesOfFileSystemForPath:error:"); +late final _sel_createSymbolicLinkAtPath_withDestinationPath_error_ = + objc.registerName("createSymbolicLinkAtPath:withDestinationPath:error:"); +final _objc_msgSend_445 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer path, + ffi.Pointer destPath, + ffi.Pointer> error)>>() + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>(); +late final _sel_destinationOfSymbolicLinkAtPath_error_ = + objc.registerName("destinationOfSymbolicLinkAtPath:error:"); +final _objc_msgSend_446 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer path, + ffi.Pointer> error)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>(); +late final _sel_copyItemAtPath_toPath_error_ = + objc.registerName("copyItemAtPath:toPath:error:"); +late final _sel_moveItemAtPath_toPath_error_ = + objc.registerName("moveItemAtPath:toPath:error:"); +late final _sel_linkItemAtPath_toPath_error_ = + objc.registerName("linkItemAtPath:toPath:error:"); +late final _sel_removeItemAtPath_error_ = + objc.registerName("removeItemAtPath:error:"); +final _objc_msgSend_447 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer path, + ffi.Pointer> error)>>() + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>(); +late final _sel_copyItemAtURL_toURL_error_ = + objc.registerName("copyItemAtURL:toURL:error:"); +late final _sel_moveItemAtURL_toURL_error_ = + objc.registerName("moveItemAtURL:toURL:error:"); +late final _sel_linkItemAtURL_toURL_error_ = + objc.registerName("linkItemAtURL:toURL:error:"); +late final _sel_removeItemAtURL_error_ = + objc.registerName("removeItemAtURL:error:"); +late final _sel_trashItemAtURL_resultingItemURL_error_ = + objc.registerName("trashItemAtURL:resultingItemURL:error:"); +final _objc_msgSend_448 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer url, + ffi.Pointer> outResultingURL, + ffi.Pointer> error)>>() + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer>)>(); +late final _sel_fileAttributesAtPath_traverseLink_ = + objc.registerName("fileAttributesAtPath:traverseLink:"); +final _objc_msgSend_449 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer path, + ffi.Bool yorn)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool)>(); +late final _sel_changeFileAttributes_atPath_ = + objc.registerName("changeFileAttributes:atPath:"); +final _objc_msgSend_450 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer attributes, + ffi.Pointer path)>>() + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_directoryContentsAtPath_ = + objc.registerName("directoryContentsAtPath:"); +late final _sel_fileSystemAttributesAtPath_ = + objc.registerName("fileSystemAttributesAtPath:"); +late final _sel_pathContentOfSymbolicLinkAtPath_ = + objc.registerName("pathContentOfSymbolicLinkAtPath:"); +late final _sel_createSymbolicLinkAtPath_pathContent_ = + objc.registerName("createSymbolicLinkAtPath:pathContent:"); +final _objc_msgSend_451 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer path, + ffi.Pointer otherpath)>>() + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_createDirectoryAtPath_attributes_ = + objc.registerName("createDirectoryAtPath:attributes:"); +final _objc_msgSend_452 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer path, + ffi.Pointer attributes)>>() + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_linkPath_toPath_handler_ = + objc.registerName("linkPath:toPath:handler:"); +final _objc_msgSend_453 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer src, + ffi.Pointer dest, + ffi.Pointer handler)>>() + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_copyPath_toPath_handler_ = + objc.registerName("copyPath:toPath:handler:"); +late final _sel_movePath_toPath_handler_ = + objc.registerName("movePath:toPath:handler:"); +late final _sel_removeFileAtPath_handler_ = + objc.registerName("removeFileAtPath:handler:"); +final _objc_msgSend_454 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer path, + ffi.Pointer handler)>>() + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_currentDirectoryPath = + objc.registerName("currentDirectoryPath"); +late final _sel_changeCurrentDirectoryPath_ = + objc.registerName("changeCurrentDirectoryPath:"); +late final _sel_fileExistsAtPath_ = objc.registerName("fileExistsAtPath:"); +late final _sel_fileExistsAtPath_isDirectory_ = + objc.registerName("fileExistsAtPath:isDirectory:"); +final _objc_msgSend_455 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer path, + ffi.Pointer isDirectory)>>() + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_isReadableFileAtPath_ = + objc.registerName("isReadableFileAtPath:"); +late final _sel_isWritableFileAtPath_ = + objc.registerName("isWritableFileAtPath:"); +late final _sel_isExecutableFileAtPath_ = + objc.registerName("isExecutableFileAtPath:"); +late final _sel_isDeletableFileAtPath_ = + objc.registerName("isDeletableFileAtPath:"); +late final _sel_contentsEqualAtPath_andPath_ = + objc.registerName("contentsEqualAtPath:andPath:"); +late final _sel_displayNameAtPath_ = objc.registerName("displayNameAtPath:"); +late final _sel_componentsToDisplayForPath_ = + objc.registerName("componentsToDisplayForPath:"); +late final _sel_enumeratorAtPath_ = objc.registerName("enumeratorAtPath:"); bool _ObjCBlock_bool_NSURL_NSError_fnPtrTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Pointer arg1, -) => + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1) => block.ref.target .cast< ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - )>>() + ffi.Bool Function(ffi.Pointer arg0, + ffi.Pointer arg1)>>() .asFunction< bool Function(ffi.Pointer, ffi.Pointer)>()(arg0, arg1); @@ -54918,46 +20325,32 @@ final _ObjCBlock_bool_NSURL_NSError_closureRegistry = , ffi.Pointer)>{}; int _ObjCBlock_bool_NSURL_NSError_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_bool_NSURL_NSError_registerClosure( - bool Function(ffi.Pointer, ffi.Pointer) fn, -) { + bool Function(ffi.Pointer, ffi.Pointer) + fn) { final id = ++_ObjCBlock_bool_NSURL_NSError_closureRegistryIndex; _ObjCBlock_bool_NSURL_NSError_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } bool _ObjCBlock_bool_NSURL_NSError_closureTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Pointer arg1, -) => + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1) => _ObjCBlock_bool_NSURL_NSError_closureRegistry[block.ref.target.address]!( - arg0, - arg1, - ); + arg0, arg1); class ObjCBlock_bool_NSURL_NSError extends objc.ObjCBlockBase { - ObjCBlock_bool_NSURL_NSError._( - ffi.Pointer pointer, - this._lib, { - bool retain = false, - bool release = true, - }) : super(pointer, retain: retain, release: release); - - AVFAudio _lib; + ObjCBlock_bool_NSURL_NSError._(ffi.Pointer pointer, + {bool retain = false, bool release = true}) + : super(pointer, retain: retain, release: release); /// Returns a block that wraps the given raw block pointer. static ObjCBlock_bool_NSURL_NSError castFromPointer( - AVFAudio lib, - ffi.Pointer pointer, { - bool retain = false, - bool release = false, - }) { - return ObjCBlock_bool_NSURL_NSError._( - pointer, - lib, - retain: retain, - release: release, - ); + ffi.Pointer pointer, + {bool retain = false, + bool release = false}) { + return ObjCBlock_bool_NSURL_NSError._(pointer, + retain: retain, release: release); } /// Creates a block from a C function pointer. @@ -54966,26 +20359,17 @@ class ObjCBlock_bool_NSURL_NSError extends objc.ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_bool_NSURL_NSError.fromFunctionPointer( - AVFAudio lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - )>> - ptr, - ) : this._( - objc.newBlock( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(_ObjCBlock_bool_NSURL_NSError_fnPtrTrampoline, false) - .cast(), - ptr.cast(), - ), - lib); + ffi.Pointer arg0, ffi.Pointer arg1)>> + ptr) + : this._(objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>( + _ObjCBlock_bool_NSURL_NSError_fnPtrTrampoline, false) + .cast(), + ptr.cast())); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -54993,63 +20377,210 @@ class ObjCBlock_bool_NSURL_NSError extends objc.ObjCBlockBase { /// This block must be invoked by native code running on the same thread as /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. - ObjCBlock_bool_NSURL_NSError.fromFunction( - AVFAudio lib, - bool Function(NSURL, NSError) fn, - ) : this._( - objc.newBlock( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(_ObjCBlock_bool_NSURL_NSError_closureTrampoline, false) - .cast(), - _ObjCBlock_bool_NSURL_NSError_registerClosure(( - ffi.Pointer arg0, - ffi.Pointer arg1, - ) => - fn( - NSURL._(arg0, lib, retain: true, release: true), - NSError._(arg1, lib, retain: true, release: true), - )), - ), - lib); + ObjCBlock_bool_NSURL_NSError.fromFunction(bool Function(NSURL, NSError) fn) + : this._(objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>( + _ObjCBlock_bool_NSURL_NSError_closureTrampoline, false) + .cast(), + _ObjCBlock_bool_NSURL_NSError_registerClosure( + (ffi.Pointer arg0, + ffi.Pointer arg1) => + fn(NSURL._(arg0, retain: true, release: true), NSError._(arg1, retain: true, release: true))))); static ffi.Pointer? _dartFuncTrampoline; bool call(NSURL arg0, NSError arg1) => pointer.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Pointer arg1, - )>>() - .asFunction< - bool Function( - ffi.Pointer, + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1)>>() + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>()( + pointer, arg0.pointer, arg1.pointer); +} + +late final _sel_enumeratorAtURL_includingPropertiesForKeys_options_errorHandler_ = + objc.registerName( + "enumeratorAtURL:includingPropertiesForKeys:options:errorHandler:"); +final _objc_msgSend_456 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer url, + ffi.Pointer keys, + ffi.Int32 mask, + ffi.Pointer handler)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, ffi.Pointer, ffi.Pointer, - )>()(pointer, arg0.pointer, arg1.pointer); -} + int, + ffi.Pointer)>(); +late final _sel_subpathsAtPath_ = objc.registerName("subpathsAtPath:"); +late final _sel_contentsAtPath_ = objc.registerName("contentsAtPath:"); +final _objc_msgSend_457 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer path)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_createFileAtPath_contents_attributes_ = + objc.registerName("createFileAtPath:contents:attributes:"); +final _objc_msgSend_458 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer path, + ffi.Pointer data, + ffi.Pointer attr)>>() + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_fileSystemRepresentationWithPath_ = + objc.registerName("fileSystemRepresentationWithPath:"); +final _objc_msgSend_459 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer path)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_stringWithFileSystemRepresentation_length_ = + objc.registerName("stringWithFileSystemRepresentation:length:"); +final _objc_msgSend_460 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer str, + ffi.UnsignedLong len)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer, int)>(); abstract class NSFileManagerItemReplacementOptions { static const int NSFileManagerItemReplacementUsingNewMetadataOnly = 1; static const int NSFileManagerItemReplacementWithoutDeletingBackupItem = 2; } +late final _sel_replaceItemAtURL_withItemAtURL_backupItemName_options_resultingItemURL_error_ = + objc.registerName( + "replaceItemAtURL:withItemAtURL:backupItemName:options:resultingItemURL:error:"); +final _objc_msgSend_461 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer originalItemURL, + ffi.Pointer newItemURL, + ffi.Pointer backupItemName, + ffi.Int32 options, + ffi.Pointer> resultingURL, + ffi.Pointer> error)>>() + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer>, + ffi.Pointer>)>(); +late final _sel_setUbiquitous_itemAtURL_destinationURL_error_ = + objc.registerName("setUbiquitous:itemAtURL:destinationURL:error:"); +final _objc_msgSend_462 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Bool flag, + ffi.Pointer url, + ffi.Pointer destinationURL, + ffi.Pointer> error)>>() + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + bool, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>(); +late final _sel_isUbiquitousItemAtURL_ = + objc.registerName("isUbiquitousItemAtURL:"); +late final _sel_startDownloadingUbiquitousItemAtURL_error_ = + objc.registerName("startDownloadingUbiquitousItemAtURL:error:"); +late final _sel_evictUbiquitousItemAtURL_error_ = + objc.registerName("evictUbiquitousItemAtURL:error:"); +late final _sel_URLForUbiquityContainerIdentifier_ = + objc.registerName("URLForUbiquityContainerIdentifier:"); +final _objc_msgSend_463 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer containerIdentifier)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_URLForPublishingUbiquitousItemAtURL_expirationDate_error_ = objc + .registerName("URLForPublishingUbiquitousItemAtURL:expirationDate:error:"); +final _objc_msgSend_464 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer url, + ffi.Pointer> outDate, + ffi.Pointer> error)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer>)>(); +late final _sel_ubiquityIdentityToken = + objc.registerName("ubiquityIdentityToken"); void _ObjCBlock_ffiVoid_NSDictionary_NSError_fnPtrTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Pointer arg1, -) => + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1) => block.ref.target .cast< ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - )>>() + ffi.Void Function(ffi.Pointer arg0, + ffi.Pointer arg1)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer)>()(arg0, arg1); @@ -55058,44 +20589,32 @@ final _ObjCBlock_ffiVoid_NSDictionary_NSError_closureRegistry = , ffi.Pointer)>{}; int _ObjCBlock_ffiVoid_NSDictionary_NSError_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_ffiVoid_NSDictionary_NSError_registerClosure( - void Function(ffi.Pointer, ffi.Pointer) fn, -) { + void Function(ffi.Pointer, ffi.Pointer) + fn) { final id = ++_ObjCBlock_ffiVoid_NSDictionary_NSError_closureRegistryIndex; _ObjCBlock_ffiVoid_NSDictionary_NSError_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } void _ObjCBlock_ffiVoid_NSDictionary_NSError_closureTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Pointer arg1, -) => + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1) => _ObjCBlock_ffiVoid_NSDictionary_NSError_closureRegistry[ block.ref.target.address]!(arg0, arg1); class ObjCBlock_ffiVoid_NSDictionary_NSError extends objc.ObjCBlockBase { - ObjCBlock_ffiVoid_NSDictionary_NSError._( - ffi.Pointer pointer, - this._lib, { - bool retain = false, - bool release = true, - }) : super(pointer, retain: retain, release: release); - - AVFAudio _lib; + ObjCBlock_ffiVoid_NSDictionary_NSError._(ffi.Pointer pointer, + {bool retain = false, bool release = true}) + : super(pointer, retain: retain, release: release); /// Returns a block that wraps the given raw block pointer. static ObjCBlock_ffiVoid_NSDictionary_NSError castFromPointer( - AVFAudio lib, - ffi.Pointer pointer, { - bool retain = false, - bool release = false, - }) { - return ObjCBlock_ffiVoid_NSDictionary_NSError._( - pointer, - lib, - retain: retain, - release: release, - ); + ffi.Pointer pointer, + {bool retain = false, + bool release = false}) { + return ObjCBlock_ffiVoid_NSDictionary_NSError._(pointer, + retain: retain, release: release); } /// Creates a block from a C function pointer. @@ -55104,27 +20623,20 @@ class ObjCBlock_ffiVoid_NSDictionary_NSError extends objc.ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSDictionary_NSError.fromFunctionPointer( - AVFAudio lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - )>> - ptr, - ) : this._( - objc.newBlock( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( + ffi.Pointer< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer arg0, + ffi.Pointer arg1)>> + ptr) + : this._(objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( ffi.Pointer, ffi.Pointer, - ffi.Pointer, - )>( - _ObjCBlock_ffiVoid_NSDictionary_NSError_fnPtrTrampoline) - .cast(), - ptr.cast(), - ), - lib); + ffi.Pointer)>( + _ObjCBlock_ffiVoid_NSDictionary_NSError_fnPtrTrampoline) + .cast(), + ptr.cast())); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -55132,34 +20644,19 @@ class ObjCBlock_ffiVoid_NSDictionary_NSError extends objc.ObjCBlockBase { /// This block must be invoked by native code running on the same thread as /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. - ObjCBlock_ffiVoid_NSDictionary_NSError.fromFunction( - AVFAudio lib, - void Function(NSDictionary?, NSError?) fn, - ) : this._( - objc.newBlock( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( + ObjCBlock_ffiVoid_NSDictionary_NSError.fromFunction(void Function(NSDictionary?, NSError?) fn) + : this._(objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( ffi.Pointer, ffi.Pointer, - ffi.Pointer, - )>( - _ObjCBlock_ffiVoid_NSDictionary_NSError_closureTrampoline) - .cast(), - _ObjCBlock_ffiVoid_NSDictionary_NSError_registerClosure(( - ffi.Pointer arg0, - ffi.Pointer arg1, - ) => - fn( - arg0.address == 0 - ? null - : NSDictionary._(arg0, lib, - retain: true, release: true), - arg1.address == 0 - ? null - : NSError._(arg1, lib, retain: true, release: true), - )), - ), - lib); + ffi.Pointer)>( + _ObjCBlock_ffiVoid_NSDictionary_NSError_closureTrampoline) + .cast(), + _ObjCBlock_ffiVoid_NSDictionary_NSError_registerClosure( + (ffi.Pointer arg0, ffi.Pointer arg1) => fn( + arg0.address == 0 ? null : NSDictionary._(arg0, retain: true, release: true), + arg1.address == 0 ? null : NSError._(arg1, retain: true, release: true))))); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -55172,2598 +20669,2364 @@ class ObjCBlock_ffiVoid_NSDictionary_NSError extends objc.ObjCBlockBase { /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. ObjCBlock_ffiVoid_NSDictionary_NSError.listener( - AVFAudio lib, - void Function(NSDictionary?, NSError?) fn, - ) : this._( - objc.newBlock( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>.listener( - _ObjCBlock_ffiVoid_NSDictionary_NSError_closureTrampoline, - )..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSDictionary_NSError_registerClosure(( - ffi.Pointer arg0, - ffi.Pointer arg1, - ) => - fn( - arg0.address == 0 - ? null - : NSDictionary._(arg0, lib, - retain: true, release: true), - arg1.address == 0 - ? null - : NSError._(arg1, lib, retain: true, release: true), - )), - ), - lib); + void Function(NSDictionary?, NSError?) fn) + : this._(objc.newBlock( + (_dartFuncListenerTrampoline ??= + ffi.NativeCallable, ffi.Pointer, ffi.Pointer)>.listener( + _ObjCBlock_ffiVoid_NSDictionary_NSError_closureTrampoline) + ..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSDictionary_NSError_registerClosure( + (ffi.Pointer arg0, + ffi.Pointer arg1) => + fn( + arg0.address == 0 + ? null + : NSDictionary._(arg0, retain: true, release: true), + arg1.address == 0 + ? null + : NSError._(arg1, retain: true, release: true))))); static ffi.NativeCallable< ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>? _dartFuncListenerTrampoline; + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>? _dartFuncListenerTrampoline; void call(NSDictionary? arg0, NSError? arg1) => pointer.ref.invoke .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Pointer arg1, - )>>() + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1)>>() .asFunction< void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>()( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>()( pointer, arg0?.pointer ?? ffi.nullptr, arg1?.pointer ?? ffi.nullptr); } +late final _sel_getFileProviderServicesForItemAtURL_completionHandler_ = + objc.registerName("getFileProviderServicesForItemAtURL:completionHandler:"); +final _objc_msgSend_465 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer url, + ffi.Pointer completionHandler)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_containerURLForSecurityApplicationGroupIdentifier_ = + objc.registerName("containerURLForSecurityApplicationGroupIdentifier:"); +late final _sel_homeDirectoryForCurrentUser = + objc.registerName("homeDirectoryForCurrentUser"); +final _objc_msgSend_466 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_temporaryDirectory = objc.registerName("temporaryDirectory"); +late final _sel_homeDirectoryForUser_ = + objc.registerName("homeDirectoryForUser:"); +late final _sel_fileManager_shouldProceedAfterError_ = + objc.registerName("fileManager:shouldProceedAfterError:"); +final _objc_msgSend_467 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer fm, + ffi.Pointer errorInfo)>>() + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_fileManager_willProcessPath_ = + objc.registerName("fileManager:willProcessPath:"); +final _objc_msgSend_468 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer fm, + ffi.Pointer path)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_validateValue_forKey_error_ = + objc.registerName("validateValue:forKey:error:"); + class NSMutableArray extends NSArray { - NSMutableArray._( - ffi.Pointer pointer, - AVFAudio lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSMutableArray._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSMutableArray] that points to the same underlying object as [other]. - static NSMutableArray castFrom( - AVFAudio lib, - T other, - ) { - return NSMutableArray._(other.pointer, lib, retain: true, release: true); + static NSMutableArray castFrom(T other) { + return NSMutableArray._(other.pointer, retain: true, release: true); } /// Returns a [NSMutableArray] that wraps the given raw object pointer. - static NSMutableArray castFromPointer( - AVFAudio lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSMutableArray._(other, lib, retain: retain, release: release); + static NSMutableArray castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSMutableArray._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSMutableArray]. - static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSMutableArray1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0( + obj.pointer, _sel_isKindOfClass_, _class_NSMutableArray); } void addObject_(NSObject anObject) { - _lib._objc_msgSend_15( - this.pointer, - _lib._sel_addObject_1, - anObject.pointer, - ); + _objc_msgSend_15(this.pointer, _sel_addObject_, anObject.pointer); } void insertObject_atIndex_(NSObject anObject, int index) { - _lib._objc_msgSend_469( - this.pointer, - _lib._sel_insertObject_atIndex_1, - anObject.pointer, - index, - ); + _objc_msgSend_469( + this.pointer, _sel_insertObject_atIndex_, anObject.pointer, index); } void removeLastObject() { - _lib._objc_msgSend_1(this.pointer, _lib._sel_removeLastObject1); + _objc_msgSend_1(this.pointer, _sel_removeLastObject); } void removeObjectAtIndex_(int index) { - _lib._objc_msgSend_470( - this.pointer, - _lib._sel_removeObjectAtIndex_1, - index, - ); + _objc_msgSend_470(this.pointer, _sel_removeObjectAtIndex_, index); } void replaceObjectAtIndex_withObject_(int index, NSObject anObject) { - _lib._objc_msgSend_471( - this.pointer, - _lib._sel_replaceObjectAtIndex_withObject_1, - index, - anObject.pointer, - ); + _objc_msgSend_471(this.pointer, _sel_replaceObjectAtIndex_withObject_, + index, anObject.pointer); } @override NSMutableArray init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSMutableArray._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSMutableArray._(_ret, retain: true, release: true); } NSMutableArray initWithCapacity_(int numItems) { - final _ret = _lib._objc_msgSend_65( - this.pointer, - _lib._sel_initWithCapacity_1, - numItems, - ); - return NSMutableArray._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_65(this.pointer, _sel_initWithCapacity_, numItems); + return NSMutableArray._(_ret, retain: true, release: true); } @override NSMutableArray? initWithCoder_(NSCoder coder) { - final _ret = _lib._objc_msgSend_47( - this.pointer, - _lib._sel_initWithCoder_1, - coder.pointer, - ); + final _ret = + _objc_msgSend_47(this.pointer, _sel_initWithCoder_, coder.pointer); return _ret.address == 0 ? null - : NSMutableArray._(_ret, _lib, retain: true, release: true); + : NSMutableArray._(_ret, retain: true, release: true); } void addObjectsFromArray_(NSArray otherArray) { - _lib._objc_msgSend_472( - this.pointer, - _lib._sel_addObjectsFromArray_1, - otherArray.pointer, - ); + _objc_msgSend_472( + this.pointer, _sel_addObjectsFromArray_, otherArray.pointer); } void exchangeObjectAtIndex_withObjectAtIndex_(int idx1, int idx2) { - _lib._objc_msgSend_473( - this.pointer, - _lib._sel_exchangeObjectAtIndex_withObjectAtIndex_1, - idx1, - idx2, - ); + _objc_msgSend_473(this.pointer, + _sel_exchangeObjectAtIndex_withObjectAtIndex_, idx1, idx2); } void removeAllObjects() { - _lib._objc_msgSend_1(this.pointer, _lib._sel_removeAllObjects1); + _objc_msgSend_1(this.pointer, _sel_removeAllObjects); } void removeObject_inRange_(NSObject anObject, _NSRange range) { - _lib._objc_msgSend_474( - this.pointer, - _lib._sel_removeObject_inRange_1, - anObject.pointer, - range, - ); + _objc_msgSend_474( + this.pointer, _sel_removeObject_inRange_, anObject.pointer, range); } void removeObject_(NSObject anObject) { - _lib._objc_msgSend_15( - this.pointer, - _lib._sel_removeObject_1, - anObject.pointer, - ); + _objc_msgSend_15(this.pointer, _sel_removeObject_, anObject.pointer); } void removeObjectIdenticalTo_inRange_(NSObject anObject, _NSRange range) { - _lib._objc_msgSend_474( - this.pointer, - _lib._sel_removeObjectIdenticalTo_inRange_1, - anObject.pointer, - range, - ); + _objc_msgSend_474(this.pointer, _sel_removeObjectIdenticalTo_inRange_, + anObject.pointer, range); } void removeObjectIdenticalTo_(NSObject anObject) { - _lib._objc_msgSend_15( - this.pointer, - _lib._sel_removeObjectIdenticalTo_1, - anObject.pointer, - ); + _objc_msgSend_15( + this.pointer, _sel_removeObjectIdenticalTo_, anObject.pointer); } void removeObjectsFromIndices_numIndices_( - ffi.Pointer indices, - int cnt, - ) { - _lib._objc_msgSend_475( - this.pointer, - _lib._sel_removeObjectsFromIndices_numIndices_1, - indices, - cnt, - ); + ffi.Pointer indices, int cnt) { + _objc_msgSend_475( + this.pointer, _sel_removeObjectsFromIndices_numIndices_, indices, cnt); } void removeObjectsInArray_(NSArray otherArray) { - _lib._objc_msgSend_472( - this.pointer, - _lib._sel_removeObjectsInArray_1, - otherArray.pointer, - ); + _objc_msgSend_472( + this.pointer, _sel_removeObjectsInArray_, otherArray.pointer); } void removeObjectsInRange_(_NSRange range) { - _lib._objc_msgSend_476( - this.pointer, - _lib._sel_removeObjectsInRange_1, - range, - ); + _objc_msgSend_476(this.pointer, _sel_removeObjectsInRange_, range); } void replaceObjectsInRange_withObjectsFromArray_range_( - _NSRange range, - NSArray otherArray, - _NSRange otherRange, - ) { - _lib._objc_msgSend_477( - this.pointer, - _lib._sel_replaceObjectsInRange_withObjectsFromArray_range_1, - range, - otherArray.pointer, - otherRange, - ); + _NSRange range, NSArray otherArray, _NSRange otherRange) { + _objc_msgSend_477( + this.pointer, + _sel_replaceObjectsInRange_withObjectsFromArray_range_, + range, + otherArray.pointer, + otherRange); } void replaceObjectsInRange_withObjectsFromArray_( - _NSRange range, - NSArray otherArray, - ) { - _lib._objc_msgSend_478( - this.pointer, - _lib._sel_replaceObjectsInRange_withObjectsFromArray_1, - range, - otherArray.pointer, - ); + _NSRange range, NSArray otherArray) { + _objc_msgSend_478( + this.pointer, + _sel_replaceObjectsInRange_withObjectsFromArray_, + range, + otherArray.pointer); } void setArray_(NSArray otherArray) { - _lib._objc_msgSend_472( - this.pointer, - _lib._sel_setArray_1, - otherArray.pointer, - ); + _objc_msgSend_472(this.pointer, _sel_setArray_, otherArray.pointer); } void sortUsingFunction_context_( - ffi.Pointer< - ffi.NativeFunction< - ffi.Long Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>> - compare, - ffi.Pointer context, - ) { - _lib._objc_msgSend_479( - this.pointer, - _lib._sel_sortUsingFunction_context_1, - compare, - context, - ); + ffi.Pointer< + ffi.NativeFunction< + ffi.Long Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>> + compare, + ffi.Pointer context) { + _objc_msgSend_479( + this.pointer, _sel_sortUsingFunction_context_, compare, context); } void sortUsingSelector_(ffi.Pointer comparator) { - _lib._objc_msgSend_7( - this.pointer, - _lib._sel_sortUsingSelector_1, - comparator, - ); + _objc_msgSend_7(this.pointer, _sel_sortUsingSelector_, comparator); } void insertObjects_atIndexes_(NSArray objects, NSIndexSet indexes) { - _lib._objc_msgSend_480( - this.pointer, - _lib._sel_insertObjects_atIndexes_1, - objects.pointer, - indexes.pointer, - ); + _objc_msgSend_480(this.pointer, _sel_insertObjects_atIndexes_, + objects.pointer, indexes.pointer); } void removeObjectsAtIndexes_(NSIndexSet indexes) { - _lib._objc_msgSend_481( - this.pointer, - _lib._sel_removeObjectsAtIndexes_1, - indexes.pointer, - ); + _objc_msgSend_481( + this.pointer, _sel_removeObjectsAtIndexes_, indexes.pointer); } void replaceObjectsAtIndexes_withObjects_( - NSIndexSet indexes, - NSArray objects, - ) { - _lib._objc_msgSend_482( - this.pointer, - _lib._sel_replaceObjectsAtIndexes_withObjects_1, - indexes.pointer, - objects.pointer, - ); + NSIndexSet indexes, NSArray objects) { + _objc_msgSend_482(this.pointer, _sel_replaceObjectsAtIndexes_withObjects_, + indexes.pointer, objects.pointer); } void setObject_atIndexedSubscript_(NSObject obj, int idx) { - _lib._objc_msgSend_469( - this.pointer, - _lib._sel_setObject_atIndexedSubscript_1, - obj.pointer, - idx, - ); + _objc_msgSend_469( + this.pointer, _sel_setObject_atIndexedSubscript_, obj.pointer, idx); } void sortUsingComparator_( - ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject cmptr, - ) { - _lib._objc_msgSend_483( - this.pointer, - _lib._sel_sortUsingComparator_1, - cmptr.pointer, - ); + ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject cmptr) { + _objc_msgSend_483(this.pointer, _sel_sortUsingComparator_, cmptr.pointer); } - void sortWithOptions_usingComparator_( - int opts, - ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject cmptr, - ) { - _lib._objc_msgSend_484( - this.pointer, - _lib._sel_sortWithOptions_usingComparator_1, - opts, - cmptr.pointer, - ); + void sortWithOptions_usingComparator_(int opts, + ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject cmptr) { + _objc_msgSend_484(this.pointer, _sel_sortWithOptions_usingComparator_, opts, + cmptr.pointer); } - static NSMutableArray arrayWithCapacity_(AVFAudio _lib, int numItems) { - final _ret = _lib._objc_msgSend_65( - _lib._class_NSMutableArray1, - _lib._sel_arrayWithCapacity_1, - numItems, - ); - return NSMutableArray._(_ret, _lib, retain: true, release: true); + static NSMutableArray arrayWithCapacity_(int numItems) { + final _ret = _objc_msgSend_65( + _class_NSMutableArray, _sel_arrayWithCapacity_, numItems); + return NSMutableArray._(_ret, retain: true, release: true); } - static NSMutableArray? arrayWithContentsOfFile_( - AVFAudio _lib, - NSString path, - ) { - final _ret = _lib._objc_msgSend_485( - _lib._class_NSMutableArray1, - _lib._sel_arrayWithContentsOfFile_1, - path.pointer, - ); + static NSMutableArray? arrayWithContentsOfFile_(NSString path) { + final _ret = _objc_msgSend_485( + _class_NSMutableArray, _sel_arrayWithContentsOfFile_, path.pointer); return _ret.address == 0 ? null - : NSMutableArray._(_ret, _lib, retain: true, release: true); + : NSMutableArray._(_ret, retain: true, release: true); } - static NSMutableArray? arrayWithContentsOfURL_(AVFAudio _lib, NSURL url) { - final _ret = _lib._objc_msgSend_486( - _lib._class_NSMutableArray1, - _lib._sel_arrayWithContentsOfURL_1, - url.pointer, - ); + static NSMutableArray? arrayWithContentsOfURL_(NSURL url) { + final _ret = _objc_msgSend_486( + _class_NSMutableArray, _sel_arrayWithContentsOfURL_, url.pointer); return _ret.address == 0 ? null - : NSMutableArray._(_ret, _lib, retain: true, release: true); + : NSMutableArray._(_ret, retain: true, release: true); } NSMutableArray? initWithContentsOfFile_(NSString path) { - final _ret = _lib._objc_msgSend_485( - this.pointer, - _lib._sel_initWithContentsOfFile_1, - path.pointer, - ); + final _ret = _objc_msgSend_485( + this.pointer, _sel_initWithContentsOfFile_, path.pointer); return _ret.address == 0 ? null - : NSMutableArray._(_ret, _lib, retain: true, release: true); + : NSMutableArray._(_ret, retain: true, release: true); } NSMutableArray? initWithContentsOfURL_(NSURL url) { - final _ret = _lib._objc_msgSend_486( - this.pointer, - _lib._sel_initWithContentsOfURL_1, - url.pointer, - ); + final _ret = _objc_msgSend_486( + this.pointer, _sel_initWithContentsOfURL_, url.pointer); return _ret.address == 0 ? null - : NSMutableArray._(_ret, _lib, retain: true, release: true); + : NSMutableArray._(_ret, retain: true, release: true); } void applyDifference_(NSObject difference) { - _lib._objc_msgSend_15( - this.pointer, - _lib._sel_applyDifference_1, - difference.pointer, - ); + _objc_msgSend_15(this.pointer, _sel_applyDifference_, difference.pointer); } void sortUsingDescriptors_(NSArray sortDescriptors) { - _lib._objc_msgSend_472( - this.pointer, - _lib._sel_sortUsingDescriptors_1, - sortDescriptors.pointer, - ); + _objc_msgSend_472( + this.pointer, _sel_sortUsingDescriptors_, sortDescriptors.pointer); } void filterUsingPredicate_(NSPredicate predicate) { - _lib._objc_msgSend_487( - this.pointer, - _lib._sel_filterUsingPredicate_1, - predicate.pointer, - ); + _objc_msgSend_487( + this.pointer, _sel_filterUsingPredicate_, predicate.pointer); } @override NSMutableArray initWithObjects_count_( - ffi.Pointer> objects, - int cnt, - ) { - final _ret = _lib._objc_msgSend_66( - this.pointer, - _lib._sel_initWithObjects_count_1, - objects, - cnt, - ); - return NSMutableArray._(_ret, _lib, retain: true, release: true); - } - - static NSMutableArray array(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSMutableArray1, - _lib._sel_array1, - ); - return NSMutableArray._(_ret, _lib, retain: true, release: true); - } - - static NSMutableArray arrayWithObject_(AVFAudio _lib, NSObject anObject) { - final _ret = _lib._objc_msgSend_124( - _lib._class_NSMutableArray1, - _lib._sel_arrayWithObject_1, - anObject.pointer, - ); - return NSMutableArray._(_ret, _lib, retain: true, release: true); + ffi.Pointer> objects, int cnt) { + final _ret = _objc_msgSend_66( + this.pointer, _sel_initWithObjects_count_, objects, cnt); + return NSMutableArray._(_ret, retain: true, release: true); + } + + static NSMutableArray array() { + final _ret = _objc_msgSend_2(_class_NSMutableArray, _sel_array); + return NSMutableArray._(_ret, retain: true, release: true); + } + + static NSMutableArray arrayWithObject_(NSObject anObject) { + final _ret = _objc_msgSend_124( + _class_NSMutableArray, _sel_arrayWithObject_, anObject.pointer); + return NSMutableArray._(_ret, retain: true, release: true); } static NSMutableArray arrayWithObjects_count_( - AVFAudio _lib, - ffi.Pointer> objects, - int cnt, - ) { - final _ret = _lib._objc_msgSend_66( - _lib._class_NSMutableArray1, - _lib._sel_arrayWithObjects_count_1, - objects, - cnt, - ); - return NSMutableArray._(_ret, _lib, retain: true, release: true); - } - - static NSMutableArray arrayWithObjects_(AVFAudio _lib, NSObject firstObj) { - final _ret = _lib._objc_msgSend_124( - _lib._class_NSMutableArray1, - _lib._sel_arrayWithObjects_1, - firstObj.pointer, - ); - return NSMutableArray._(_ret, _lib, retain: true, release: true); - } - - static NSMutableArray arrayWithArray_(AVFAudio _lib, NSArray array) { - final _ret = _lib._objc_msgSend_125( - _lib._class_NSMutableArray1, - _lib._sel_arrayWithArray_1, - array.pointer, - ); - return NSMutableArray._(_ret, _lib, retain: true, release: true); + ffi.Pointer> objects, int cnt) { + final _ret = _objc_msgSend_66( + _class_NSMutableArray, _sel_arrayWithObjects_count_, objects, cnt); + return NSMutableArray._(_ret, retain: true, release: true); + } + + static NSMutableArray arrayWithObjects_(NSObject firstObj) { + final _ret = _objc_msgSend_124( + _class_NSMutableArray, _sel_arrayWithObjects_, firstObj.pointer); + return NSMutableArray._(_ret, retain: true, release: true); + } + + static NSMutableArray arrayWithArray_(NSArray array) { + final _ret = _objc_msgSend_125( + _class_NSMutableArray, _sel_arrayWithArray_, array.pointer); + return NSMutableArray._(_ret, retain: true, release: true); } @override NSMutableArray initWithObjects_(NSObject firstObj) { - final _ret = _lib._objc_msgSend_124( - this.pointer, - _lib._sel_initWithObjects_1, - firstObj.pointer, - ); - return NSMutableArray._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_124( + this.pointer, _sel_initWithObjects_, firstObj.pointer); + return NSMutableArray._(_ret, retain: true, release: true); } @override NSMutableArray initWithArray_(NSArray array) { - final _ret = _lib._objc_msgSend_125( - this.pointer, - _lib._sel_initWithArray_1, - array.pointer, - ); - return NSMutableArray._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_125(this.pointer, _sel_initWithArray_, array.pointer); + return NSMutableArray._(_ret, retain: true, release: true); } @override NSMutableArray initWithArray_copyItems_(NSArray array, bool flag) { - final _ret = _lib._objc_msgSend_126( - this.pointer, - _lib._sel_initWithArray_copyItems_1, - array.pointer, - flag, - ); - return NSMutableArray._(_ret, _lib, retain: false, release: true); + final _ret = _objc_msgSend_126( + this.pointer, _sel_initWithArray_copyItems_, array.pointer, flag); + return NSMutableArray._(_ret, retain: false, release: true); } static NSArray? arrayWithContentsOfURL_error_( - AVFAudio _lib, - NSURL url, - ffi.Pointer> error, - ) { - final _ret = _lib._objc_msgSend_127( - _lib._class_NSMutableArray1, - _lib._sel_arrayWithContentsOfURL_error_1, - url.pointer, - error, - ); + NSURL url, ffi.Pointer> error) { + final _ret = _objc_msgSend_127(_class_NSMutableArray, + _sel_arrayWithContentsOfURL_error_, url.pointer, error); return _ret.address == 0 ? null - : NSArray._(_ret, _lib, retain: true, release: true); + : NSArray._(_ret, retain: true, release: true); } - static NSMutableArray new1(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSMutableArray1, - _lib._sel_new1, - ); - return NSMutableArray._(_ret, _lib, retain: false, release: true); + static NSMutableArray new1() { + final _ret = _objc_msgSend_2(_class_NSMutableArray, _sel_new); + return NSMutableArray._(_ret, retain: false, release: true); } - static NSMutableArray allocWithZone_( - AVFAudio _lib, - ffi.Pointer<_NSZone> zone, - ) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSMutableArray1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSMutableArray._(_ret, _lib, retain: false, release: true); + static NSMutableArray allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = + _objc_msgSend_3(_class_NSMutableArray, _sel_allocWithZone_, zone); + return NSMutableArray._(_ret, retain: false, release: true); } - static NSMutableArray alloc(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSMutableArray1, - _lib._sel_alloc1, - ); - return NSMutableArray._(_ret, _lib, retain: false, release: true); + static NSMutableArray alloc() { + final _ret = _objc_msgSend_2(_class_NSMutableArray, _sel_alloc); + return NSMutableArray._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSMutableArray1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSMutableArray1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSMutableArray1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSMutableArray1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSMutableArray1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSMutableArray1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSMutableArray, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); } - static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSMutableArray1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSMutableArray1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSMutableArray1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSMutableArray, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); } -} + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSMutableArray, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSMutableArray, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSMutableArray, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSMutableArray, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); + } + + static void setKeys_triggerChangeNotificationsForDependentKey_( + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSMutableArray, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = _objc_msgSend_85( + _class_NSMutableArray, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = + _objc_msgSend_2(_class_NSMutableArray, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); + } +} + +late final _class_NSMutableArray = objc.getClass("NSMutableArray"); +late final _sel_addObject_ = objc.registerName("addObject:"); +late final _sel_insertObject_atIndex_ = + objc.registerName("insertObject:atIndex:"); +final _objc_msgSend_469 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer anObject, + ffi.UnsignedLong index)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int)>(); +late final _sel_removeLastObject = objc.registerName("removeLastObject"); +late final _sel_removeObjectAtIndex_ = + objc.registerName("removeObjectAtIndex:"); +final _objc_msgSend_470 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer obj, + ffi.Pointer sel, ffi.UnsignedLong index)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, int)>(); +late final _sel_replaceObjectAtIndex_withObject_ = + objc.registerName("replaceObjectAtIndex:withObject:"); +final _objc_msgSend_471 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.UnsignedLong index, + ffi.Pointer anObject)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer)>(); +late final _sel_initWithCapacity_ = objc.registerName("initWithCapacity:"); +late final _sel_addObjectsFromArray_ = + objc.registerName("addObjectsFromArray:"); +final _objc_msgSend_472 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer otherArray)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_exchangeObjectAtIndex_withObjectAtIndex_ = + objc.registerName("exchangeObjectAtIndex:withObjectAtIndex:"); +final _objc_msgSend_473 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.UnsignedLong idx1, + ffi.UnsignedLong idx2)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, int, int)>(); +late final _sel_removeAllObjects = objc.registerName("removeAllObjects"); +late final _sel_removeObject_inRange_ = + objc.registerName("removeObject:inRange:"); +final _objc_msgSend_474 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer anObject, + _NSRange range)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange)>(); +late final _sel_removeObject_ = objc.registerName("removeObject:"); +late final _sel_removeObjectIdenticalTo_inRange_ = + objc.registerName("removeObjectIdenticalTo:inRange:"); +late final _sel_removeObjectIdenticalTo_ = + objc.registerName("removeObjectIdenticalTo:"); +late final _sel_removeObjectsFromIndices_numIndices_ = + objc.registerName("removeObjectsFromIndices:numIndices:"); +final _objc_msgSend_475 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer indices, + ffi.UnsignedLong cnt)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int)>(); +late final _sel_removeObjectsInArray_ = + objc.registerName("removeObjectsInArray:"); +late final _sel_removeObjectsInRange_ = + objc.registerName("removeObjectsInRange:"); +final _objc_msgSend_476 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer obj, + ffi.Pointer sel, _NSRange range)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, _NSRange)>(); +late final _sel_replaceObjectsInRange_withObjectsFromArray_range_ = + objc.registerName("replaceObjectsInRange:withObjectsFromArray:range:"); +final _objc_msgSend_477 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + _NSRange range, + ffi.Pointer otherArray, + _NSRange otherRange)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + _NSRange)>(); +late final _sel_replaceObjectsInRange_withObjectsFromArray_ = + objc.registerName("replaceObjectsInRange:withObjectsFromArray:"); +final _objc_msgSend_478 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + _NSRange range, + ffi.Pointer otherArray)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer)>(); +late final _sel_setArray_ = objc.registerName("setArray:"); +late final _sel_sortUsingFunction_context_ = + objc.registerName("sortUsingFunction:context:"); +final _objc_msgSend_479 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer< + ffi.NativeFunction< + ffi.Long Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>> + compare, + ffi.Pointer context)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.Long Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>>, + ffi.Pointer)>(); +late final _sel_sortUsingSelector_ = objc.registerName("sortUsingSelector:"); +late final _sel_insertObjects_atIndexes_ = + objc.registerName("insertObjects:atIndexes:"); +final _objc_msgSend_480 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer objects, + ffi.Pointer indexes)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_removeObjectsAtIndexes_ = + objc.registerName("removeObjectsAtIndexes:"); +final _objc_msgSend_481 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer indexes)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_replaceObjectsAtIndexes_withObjects_ = + objc.registerName("replaceObjectsAtIndexes:withObjects:"); +final _objc_msgSend_482 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer indexes, + ffi.Pointer objects)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_setObject_atIndexedSubscript_ = + objc.registerName("setObject:atIndexedSubscript:"); +late final _sel_sortUsingComparator_ = + objc.registerName("sortUsingComparator:"); +final _objc_msgSend_483 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer cmptr)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_sortWithOptions_usingComparator_ = + objc.registerName("sortWithOptions:usingComparator:"); +final _objc_msgSend_484 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Int32 opts, + ffi.Pointer cmptr)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer)>(); +late final _sel_arrayWithCapacity_ = objc.registerName("arrayWithCapacity:"); +final _objc_msgSend_485 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer path)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +final _objc_msgSend_486 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer url)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_applyDifference_ = objc.registerName("applyDifference:"); +late final _sel_sortUsingDescriptors_ = + objc.registerName("sortUsingDescriptors:"); +late final _sel_filterUsingPredicate_ = + objc.registerName("filterUsingPredicate:"); +final _objc_msgSend_487 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer predicate)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_mutableArrayValueForKey_ = + objc.registerName("mutableArrayValueForKey:"); +final _objc_msgSend_488 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer key)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); class NSMutableOrderedSet extends NSOrderedSet { - NSMutableOrderedSet._( - ffi.Pointer pointer, - AVFAudio lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSMutableOrderedSet._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSMutableOrderedSet] that points to the same underlying object as [other]. - static NSMutableOrderedSet castFrom( - AVFAudio lib, - T other, - ) { - return NSMutableOrderedSet._( - other.pointer, - lib, - retain: true, - release: true, - ); + static NSMutableOrderedSet castFrom(T other) { + return NSMutableOrderedSet._(other.pointer, retain: true, release: true); } /// Returns a [NSMutableOrderedSet] that wraps the given raw object pointer. - static NSMutableOrderedSet castFromPointer( - AVFAudio lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSMutableOrderedSet._(other, lib, retain: retain, release: release); + static NSMutableOrderedSet castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSMutableOrderedSet._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSMutableOrderedSet]. - static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSMutableOrderedSet1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0( + obj.pointer, _sel_isKindOfClass_, _class_NSMutableOrderedSet); } void insertObject_atIndex_(NSObject object, int idx) { - _lib._objc_msgSend_469( - this.pointer, - _lib._sel_insertObject_atIndex_1, - object.pointer, - idx, - ); + _objc_msgSend_469( + this.pointer, _sel_insertObject_atIndex_, object.pointer, idx); } void removeObjectAtIndex_(int idx) { - _lib._objc_msgSend_470(this.pointer, _lib._sel_removeObjectAtIndex_1, idx); + _objc_msgSend_470(this.pointer, _sel_removeObjectAtIndex_, idx); } void replaceObjectAtIndex_withObject_(int idx, NSObject object) { - _lib._objc_msgSend_471( - this.pointer, - _lib._sel_replaceObjectAtIndex_withObject_1, - idx, - object.pointer, - ); + _objc_msgSend_471(this.pointer, _sel_replaceObjectAtIndex_withObject_, idx, + object.pointer); } @override NSMutableOrderedSet? initWithCoder_(NSCoder coder) { - final _ret = _lib._objc_msgSend_47( - this.pointer, - _lib._sel_initWithCoder_1, - coder.pointer, - ); + final _ret = + _objc_msgSend_47(this.pointer, _sel_initWithCoder_, coder.pointer); return _ret.address == 0 ? null - : NSMutableOrderedSet._(_ret, _lib, retain: true, release: true); + : NSMutableOrderedSet._(_ret, retain: true, release: true); } @override NSMutableOrderedSet init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSMutableOrderedSet._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSMutableOrderedSet._(_ret, retain: true, release: true); } NSMutableOrderedSet initWithCapacity_(int numItems) { - final _ret = _lib._objc_msgSend_65( - this.pointer, - _lib._sel_initWithCapacity_1, - numItems, - ); - return NSMutableOrderedSet._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_65(this.pointer, _sel_initWithCapacity_, numItems); + return NSMutableOrderedSet._(_ret, retain: true, release: true); } void addObject_(NSObject object) { - _lib._objc_msgSend_15(this.pointer, _lib._sel_addObject_1, object.pointer); + _objc_msgSend_15(this.pointer, _sel_addObject_, object.pointer); } void addObjects_count_( - ffi.Pointer> objects, - int count, - ) { - _lib._objc_msgSend_500( - this.pointer, - _lib._sel_addObjects_count_1, - objects, - count, - ); + ffi.Pointer> objects, int count) { + _objc_msgSend_500(this.pointer, _sel_addObjects_count_, objects, count); } void addObjectsFromArray_(NSArray array) { - _lib._objc_msgSend_472( - this.pointer, - _lib._sel_addObjectsFromArray_1, - array.pointer, - ); + _objc_msgSend_472(this.pointer, _sel_addObjectsFromArray_, array.pointer); } void exchangeObjectAtIndex_withObjectAtIndex_(int idx1, int idx2) { - _lib._objc_msgSend_473( - this.pointer, - _lib._sel_exchangeObjectAtIndex_withObjectAtIndex_1, - idx1, - idx2, - ); + _objc_msgSend_473(this.pointer, + _sel_exchangeObjectAtIndex_withObjectAtIndex_, idx1, idx2); } void moveObjectsAtIndexes_toIndex_(NSIndexSet indexes, int idx) { - _lib._objc_msgSend_501( - this.pointer, - _lib._sel_moveObjectsAtIndexes_toIndex_1, - indexes.pointer, - idx, - ); + _objc_msgSend_501( + this.pointer, _sel_moveObjectsAtIndexes_toIndex_, indexes.pointer, idx); } void insertObjects_atIndexes_(NSArray objects, NSIndexSet indexes) { - _lib._objc_msgSend_480( - this.pointer, - _lib._sel_insertObjects_atIndexes_1, - objects.pointer, - indexes.pointer, - ); + _objc_msgSend_480(this.pointer, _sel_insertObjects_atIndexes_, + objects.pointer, indexes.pointer); } void setObject_atIndex_(NSObject obj, int idx) { - _lib._objc_msgSend_469( - this.pointer, - _lib._sel_setObject_atIndex_1, - obj.pointer, - idx, - ); + _objc_msgSend_469(this.pointer, _sel_setObject_atIndex_, obj.pointer, idx); } void setObject_atIndexedSubscript_(NSObject obj, int idx) { - _lib._objc_msgSend_469( - this.pointer, - _lib._sel_setObject_atIndexedSubscript_1, - obj.pointer, - idx, - ); - } - - void replaceObjectsInRange_withObjects_count_( - _NSRange range, - ffi.Pointer> objects, - int count, - ) { - _lib._objc_msgSend_502( - this.pointer, - _lib._sel_replaceObjectsInRange_withObjects_count_1, - range, - objects, - count, - ); + _objc_msgSend_469( + this.pointer, _sel_setObject_atIndexedSubscript_, obj.pointer, idx); + } + + void replaceObjectsInRange_withObjects_count_(_NSRange range, + ffi.Pointer> objects, int count) { + _objc_msgSend_502(this.pointer, + _sel_replaceObjectsInRange_withObjects_count_, range, objects, count); } void replaceObjectsAtIndexes_withObjects_( - NSIndexSet indexes, - NSArray objects, - ) { - _lib._objc_msgSend_482( - this.pointer, - _lib._sel_replaceObjectsAtIndexes_withObjects_1, - indexes.pointer, - objects.pointer, - ); + NSIndexSet indexes, NSArray objects) { + _objc_msgSend_482(this.pointer, _sel_replaceObjectsAtIndexes_withObjects_, + indexes.pointer, objects.pointer); } void removeObjectsInRange_(_NSRange range) { - _lib._objc_msgSend_476( - this.pointer, - _lib._sel_removeObjectsInRange_1, - range, - ); + _objc_msgSend_476(this.pointer, _sel_removeObjectsInRange_, range); } void removeObjectsAtIndexes_(NSIndexSet indexes) { - _lib._objc_msgSend_481( - this.pointer, - _lib._sel_removeObjectsAtIndexes_1, - indexes.pointer, - ); + _objc_msgSend_481( + this.pointer, _sel_removeObjectsAtIndexes_, indexes.pointer); } void removeAllObjects() { - _lib._objc_msgSend_1(this.pointer, _lib._sel_removeAllObjects1); + _objc_msgSend_1(this.pointer, _sel_removeAllObjects); } void removeObject_(NSObject object) { - _lib._objc_msgSend_15( - this.pointer, - _lib._sel_removeObject_1, - object.pointer, - ); + _objc_msgSend_15(this.pointer, _sel_removeObject_, object.pointer); } void removeObjectsInArray_(NSArray array) { - _lib._objc_msgSend_472( - this.pointer, - _lib._sel_removeObjectsInArray_1, - array.pointer, - ); + _objc_msgSend_472(this.pointer, _sel_removeObjectsInArray_, array.pointer); } void intersectOrderedSet_(NSOrderedSet other) { - _lib._objc_msgSend_503( - this.pointer, - _lib._sel_intersectOrderedSet_1, - other.pointer, - ); + _objc_msgSend_503(this.pointer, _sel_intersectOrderedSet_, other.pointer); } void minusOrderedSet_(NSOrderedSet other) { - _lib._objc_msgSend_503( - this.pointer, - _lib._sel_minusOrderedSet_1, - other.pointer, - ); + _objc_msgSend_503(this.pointer, _sel_minusOrderedSet_, other.pointer); } void unionOrderedSet_(NSOrderedSet other) { - _lib._objc_msgSend_503( - this.pointer, - _lib._sel_unionOrderedSet_1, - other.pointer, - ); + _objc_msgSend_503(this.pointer, _sel_unionOrderedSet_, other.pointer); } void intersectSet_(NSSet other) { - _lib._objc_msgSend_504( - this.pointer, - _lib._sel_intersectSet_1, - other.pointer, - ); + _objc_msgSend_504(this.pointer, _sel_intersectSet_, other.pointer); } void minusSet_(NSSet other) { - _lib._objc_msgSend_504(this.pointer, _lib._sel_minusSet_1, other.pointer); + _objc_msgSend_504(this.pointer, _sel_minusSet_, other.pointer); } void unionSet_(NSSet other) { - _lib._objc_msgSend_504(this.pointer, _lib._sel_unionSet_1, other.pointer); + _objc_msgSend_504(this.pointer, _sel_unionSet_, other.pointer); } void sortUsingComparator_( - ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject cmptr, - ) { - _lib._objc_msgSend_483( - this.pointer, - _lib._sel_sortUsingComparator_1, - cmptr.pointer, - ); - } - - void sortWithOptions_usingComparator_( - int opts, - ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject cmptr, - ) { - _lib._objc_msgSend_484( - this.pointer, - _lib._sel_sortWithOptions_usingComparator_1, - opts, - cmptr.pointer, - ); - } - - void sortRange_options_usingComparator_( - _NSRange range, - int opts, - ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject cmptr, - ) { - _lib._objc_msgSend_505( - this.pointer, - _lib._sel_sortRange_options_usingComparator_1, - range, - opts, - cmptr.pointer, - ); - } - - static NSMutableOrderedSet orderedSetWithCapacity_( - AVFAudio _lib, - int numItems, - ) { - final _ret = _lib._objc_msgSend_65( - _lib._class_NSMutableOrderedSet1, - _lib._sel_orderedSetWithCapacity_1, - numItems, - ); - return NSMutableOrderedSet._(_ret, _lib, retain: true, release: true); + ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject cmptr) { + _objc_msgSend_483(this.pointer, _sel_sortUsingComparator_, cmptr.pointer); + } + + void sortWithOptions_usingComparator_(int opts, + ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject cmptr) { + _objc_msgSend_484(this.pointer, _sel_sortWithOptions_usingComparator_, opts, + cmptr.pointer); + } + + void sortRange_options_usingComparator_(_NSRange range, int opts, + ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject cmptr) { + _objc_msgSend_505(this.pointer, _sel_sortRange_options_usingComparator_, + range, opts, cmptr.pointer); + } + + static NSMutableOrderedSet orderedSetWithCapacity_(int numItems) { + final _ret = _objc_msgSend_65( + _class_NSMutableOrderedSet, _sel_orderedSetWithCapacity_, numItems); + return NSMutableOrderedSet._(_ret, retain: true, release: true); } void applyDifference_(NSObject difference) { - _lib._objc_msgSend_15( - this.pointer, - _lib._sel_applyDifference_1, - difference.pointer, - ); + _objc_msgSend_15(this.pointer, _sel_applyDifference_, difference.pointer); } void sortUsingDescriptors_(NSArray sortDescriptors) { - _lib._objc_msgSend_472( - this.pointer, - _lib._sel_sortUsingDescriptors_1, - sortDescriptors.pointer, - ); + _objc_msgSend_472( + this.pointer, _sel_sortUsingDescriptors_, sortDescriptors.pointer); } void filterUsingPredicate_(NSPredicate p) { - _lib._objc_msgSend_487( - this.pointer, - _lib._sel_filterUsingPredicate_1, - p.pointer, - ); + _objc_msgSend_487(this.pointer, _sel_filterUsingPredicate_, p.pointer); } @override NSMutableOrderedSet initWithObjects_count_( - ffi.Pointer> objects, - int cnt, - ) { - final _ret = _lib._objc_msgSend_66( - this.pointer, - _lib._sel_initWithObjects_count_1, - objects, - cnt, - ); - return NSMutableOrderedSet._(_ret, _lib, retain: true, release: true); - } - - static NSMutableOrderedSet orderedSet(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSMutableOrderedSet1, - _lib._sel_orderedSet1, - ); - return NSMutableOrderedSet._(_ret, _lib, retain: true, release: true); - } - - static NSMutableOrderedSet orderedSetWithObject_( - AVFAudio _lib, - NSObject object, - ) { - final _ret = _lib._objc_msgSend_124( - _lib._class_NSMutableOrderedSet1, - _lib._sel_orderedSetWithObject_1, - object.pointer, - ); - return NSMutableOrderedSet._(_ret, _lib, retain: true, release: true); + ffi.Pointer> objects, int cnt) { + final _ret = _objc_msgSend_66( + this.pointer, _sel_initWithObjects_count_, objects, cnt); + return NSMutableOrderedSet._(_ret, retain: true, release: true); + } + + static NSMutableOrderedSet orderedSet() { + final _ret = _objc_msgSend_2(_class_NSMutableOrderedSet, _sel_orderedSet); + return NSMutableOrderedSet._(_ret, retain: true, release: true); + } + + static NSMutableOrderedSet orderedSetWithObject_(NSObject object) { + final _ret = _objc_msgSend_124( + _class_NSMutableOrderedSet, _sel_orderedSetWithObject_, object.pointer); + return NSMutableOrderedSet._(_ret, retain: true, release: true); } static NSMutableOrderedSet orderedSetWithObjects_count_( - AVFAudio _lib, - ffi.Pointer> objects, - int cnt, - ) { - final _ret = _lib._objc_msgSend_66( - _lib._class_NSMutableOrderedSet1, - _lib._sel_orderedSetWithObjects_count_1, - objects, - cnt, - ); - return NSMutableOrderedSet._(_ret, _lib, retain: true, release: true); - } - - static NSMutableOrderedSet orderedSetWithObjects_( - AVFAudio _lib, - NSObject firstObj, - ) { - final _ret = _lib._objc_msgSend_124( - _lib._class_NSMutableOrderedSet1, - _lib._sel_orderedSetWithObjects_1, - firstObj.pointer, - ); - return NSMutableOrderedSet._(_ret, _lib, retain: true, release: true); - } - - static NSMutableOrderedSet orderedSetWithOrderedSet_( - AVFAudio _lib, - NSOrderedSet set, - ) { - final _ret = _lib._objc_msgSend_492( - _lib._class_NSMutableOrderedSet1, - _lib._sel_orderedSetWithOrderedSet_1, - set.pointer, - ); - return NSMutableOrderedSet._(_ret, _lib, retain: true, release: true); + ffi.Pointer> objects, int cnt) { + final _ret = _objc_msgSend_66(_class_NSMutableOrderedSet, + _sel_orderedSetWithObjects_count_, objects, cnt); + return NSMutableOrderedSet._(_ret, retain: true, release: true); + } + + static NSMutableOrderedSet orderedSetWithObjects_(NSObject firstObj) { + final _ret = _objc_msgSend_124(_class_NSMutableOrderedSet, + _sel_orderedSetWithObjects_, firstObj.pointer); + return NSMutableOrderedSet._(_ret, retain: true, release: true); + } + + static NSMutableOrderedSet orderedSetWithOrderedSet_(NSOrderedSet set) { + final _ret = _objc_msgSend_492(_class_NSMutableOrderedSet, + _sel_orderedSetWithOrderedSet_, set.pointer); + return NSMutableOrderedSet._(_ret, retain: true, release: true); } static NSMutableOrderedSet orderedSetWithOrderedSet_range_copyItems_( - AVFAudio _lib, - NSOrderedSet set, - _NSRange range, - bool flag, - ) { - final _ret = _lib._objc_msgSend_493( - _lib._class_NSMutableOrderedSet1, - _lib._sel_orderedSetWithOrderedSet_range_copyItems_1, - set.pointer, - range, - flag, - ); - return NSMutableOrderedSet._(_ret, _lib, retain: false, release: true); - } - - static NSMutableOrderedSet orderedSetWithArray_( - AVFAudio _lib, - NSArray array, - ) { - final _ret = _lib._objc_msgSend_125( - _lib._class_NSMutableOrderedSet1, - _lib._sel_orderedSetWithArray_1, - array.pointer, - ); - return NSMutableOrderedSet._(_ret, _lib, retain: true, release: true); + NSOrderedSet set, _NSRange range, bool flag) { + final _ret = _objc_msgSend_493( + _class_NSMutableOrderedSet, + _sel_orderedSetWithOrderedSet_range_copyItems_, + set.pointer, + range, + flag); + return NSMutableOrderedSet._(_ret, retain: false, release: true); + } + + static NSMutableOrderedSet orderedSetWithArray_(NSArray array) { + final _ret = _objc_msgSend_125( + _class_NSMutableOrderedSet, _sel_orderedSetWithArray_, array.pointer); + return NSMutableOrderedSet._(_ret, retain: true, release: true); } static NSMutableOrderedSet orderedSetWithArray_range_copyItems_( - AVFAudio _lib, - NSArray array, - _NSRange range, - bool flag, - ) { - final _ret = _lib._objc_msgSend_494( - _lib._class_NSMutableOrderedSet1, - _lib._sel_orderedSetWithArray_range_copyItems_1, - array.pointer, - range, - flag, - ); - return NSMutableOrderedSet._(_ret, _lib, retain: false, release: true); - } - - static NSMutableOrderedSet orderedSetWithSet_(AVFAudio _lib, NSSet set) { - final _ret = _lib._objc_msgSend_411( - _lib._class_NSMutableOrderedSet1, - _lib._sel_orderedSetWithSet_1, - set.pointer, - ); - return NSMutableOrderedSet._(_ret, _lib, retain: true, release: true); + NSArray array, _NSRange range, bool flag) { + final _ret = _objc_msgSend_494(_class_NSMutableOrderedSet, + _sel_orderedSetWithArray_range_copyItems_, array.pointer, range, flag); + return NSMutableOrderedSet._(_ret, retain: false, release: true); + } + + static NSMutableOrderedSet orderedSetWithSet_(NSSet set) { + final _ret = _objc_msgSend_411( + _class_NSMutableOrderedSet, _sel_orderedSetWithSet_, set.pointer); + return NSMutableOrderedSet._(_ret, retain: true, release: true); } static NSMutableOrderedSet orderedSetWithSet_copyItems_( - AVFAudio _lib, - NSSet set, - bool flag, - ) { - final _ret = _lib._objc_msgSend_412( - _lib._class_NSMutableOrderedSet1, - _lib._sel_orderedSetWithSet_copyItems_1, - set.pointer, - flag, - ); - return NSMutableOrderedSet._(_ret, _lib, retain: false, release: true); + NSSet set, bool flag) { + final _ret = _objc_msgSend_412(_class_NSMutableOrderedSet, + _sel_orderedSetWithSet_copyItems_, set.pointer, flag); + return NSMutableOrderedSet._(_ret, retain: false, release: true); } @override NSMutableOrderedSet initWithObject_(NSObject object) { - final _ret = _lib._objc_msgSend_124( - this.pointer, - _lib._sel_initWithObject_1, - object.pointer, - ); - return NSMutableOrderedSet._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_124(this.pointer, _sel_initWithObject_, object.pointer); + return NSMutableOrderedSet._(_ret, retain: true, release: true); } @override NSMutableOrderedSet initWithObjects_(NSObject firstObj) { - final _ret = _lib._objc_msgSend_124( - this.pointer, - _lib._sel_initWithObjects_1, - firstObj.pointer, - ); - return NSMutableOrderedSet._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_124( + this.pointer, _sel_initWithObjects_, firstObj.pointer); + return NSMutableOrderedSet._(_ret, retain: true, release: true); } @override NSMutableOrderedSet initWithOrderedSet_(NSOrderedSet set) { - final _ret = _lib._objc_msgSend_492( - this.pointer, - _lib._sel_initWithOrderedSet_1, - set.pointer, - ); - return NSMutableOrderedSet._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_492(this.pointer, _sel_initWithOrderedSet_, set.pointer); + return NSMutableOrderedSet._(_ret, retain: true, release: true); } @override NSMutableOrderedSet initWithOrderedSet_copyItems_( - NSOrderedSet set, - bool flag, - ) { - final _ret = _lib._objc_msgSend_495( - this.pointer, - _lib._sel_initWithOrderedSet_copyItems_1, - set.pointer, - flag, - ); - return NSMutableOrderedSet._(_ret, _lib, retain: false, release: true); + NSOrderedSet set, bool flag) { + final _ret = _objc_msgSend_495( + this.pointer, _sel_initWithOrderedSet_copyItems_, set.pointer, flag); + return NSMutableOrderedSet._(_ret, retain: false, release: true); } @override NSMutableOrderedSet initWithOrderedSet_range_copyItems_( - NSOrderedSet set, - _NSRange range, - bool flag, - ) { - final _ret = _lib._objc_msgSend_493( - this.pointer, - _lib._sel_initWithOrderedSet_range_copyItems_1, - set.pointer, - range, - flag, - ); - return NSMutableOrderedSet._(_ret, _lib, retain: false, release: true); + NSOrderedSet set, _NSRange range, bool flag) { + final _ret = _objc_msgSend_493(this.pointer, + _sel_initWithOrderedSet_range_copyItems_, set.pointer, range, flag); + return NSMutableOrderedSet._(_ret, retain: false, release: true); } @override NSMutableOrderedSet initWithArray_(NSArray array) { - final _ret = _lib._objc_msgSend_125( - this.pointer, - _lib._sel_initWithArray_1, - array.pointer, - ); - return NSMutableOrderedSet._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_125(this.pointer, _sel_initWithArray_, array.pointer); + return NSMutableOrderedSet._(_ret, retain: true, release: true); } @override NSMutableOrderedSet initWithArray_copyItems_(NSArray set, bool flag) { - final _ret = _lib._objc_msgSend_126( - this.pointer, - _lib._sel_initWithArray_copyItems_1, - set.pointer, - flag, - ); - return NSMutableOrderedSet._(_ret, _lib, retain: false, release: true); + final _ret = _objc_msgSend_126( + this.pointer, _sel_initWithArray_copyItems_, set.pointer, flag); + return NSMutableOrderedSet._(_ret, retain: false, release: true); } @override NSMutableOrderedSet initWithArray_range_copyItems_( - NSArray set, - _NSRange range, - bool flag, - ) { - final _ret = _lib._objc_msgSend_494( - this.pointer, - _lib._sel_initWithArray_range_copyItems_1, - set.pointer, - range, - flag, - ); - return NSMutableOrderedSet._(_ret, _lib, retain: false, release: true); + NSArray set, _NSRange range, bool flag) { + final _ret = _objc_msgSend_494(this.pointer, + _sel_initWithArray_range_copyItems_, set.pointer, range, flag); + return NSMutableOrderedSet._(_ret, retain: false, release: true); } @override NSMutableOrderedSet initWithSet_(NSSet set) { - final _ret = _lib._objc_msgSend_411( - this.pointer, - _lib._sel_initWithSet_1, - set.pointer, - ); - return NSMutableOrderedSet._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_411(this.pointer, _sel_initWithSet_, set.pointer); + return NSMutableOrderedSet._(_ret, retain: true, release: true); } @override NSMutableOrderedSet initWithSet_copyItems_(NSSet set, bool flag) { - final _ret = _lib._objc_msgSend_412( - this.pointer, - _lib._sel_initWithSet_copyItems_1, - set.pointer, - flag, - ); - return NSMutableOrderedSet._(_ret, _lib, retain: false, release: true); - } - - static NSMutableOrderedSet new1(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSMutableOrderedSet1, - _lib._sel_new1, - ); - return NSMutableOrderedSet._(_ret, _lib, retain: false, release: true); - } - - static NSMutableOrderedSet allocWithZone_( - AVFAudio _lib, - ffi.Pointer<_NSZone> zone, - ) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSMutableOrderedSet1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSMutableOrderedSet._(_ret, _lib, retain: false, release: true); - } - - static NSMutableOrderedSet alloc(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSMutableOrderedSet1, - _lib._sel_alloc1, - ); - return NSMutableOrderedSet._(_ret, _lib, retain: false, release: true); + final _ret = _objc_msgSend_412( + this.pointer, _sel_initWithSet_copyItems_, set.pointer, flag); + return NSMutableOrderedSet._(_ret, retain: false, release: true); + } + + static NSMutableOrderedSet new1() { + final _ret = _objc_msgSend_2(_class_NSMutableOrderedSet, _sel_new); + return NSMutableOrderedSet._(_ret, retain: false, release: true); + } + + static NSMutableOrderedSet allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = + _objc_msgSend_3(_class_NSMutableOrderedSet, _sel_allocWithZone_, zone); + return NSMutableOrderedSet._(_ret, retain: false, release: true); + } + + static NSMutableOrderedSet alloc() { + final _ret = _objc_msgSend_2(_class_NSMutableOrderedSet, _sel_alloc); + return NSMutableOrderedSet._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSMutableOrderedSet1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSMutableOrderedSet1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSMutableOrderedSet1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSMutableOrderedSet1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSMutableOrderedSet1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSMutableOrderedSet1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSMutableOrderedSet, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); + } + + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSMutableOrderedSet, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); + } + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSMutableOrderedSet, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSMutableOrderedSet, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSMutableOrderedSet, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSMutableOrderedSet, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); } static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSMutableOrderedSet1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSMutableOrderedSet1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSMutableOrderedSet1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSMutableOrderedSet, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = _objc_msgSend_85( + _class_NSMutableOrderedSet, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = _objc_msgSend_2( + _class_NSMutableOrderedSet, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); } } +late final _class_NSMutableOrderedSet = objc.getClass("NSMutableOrderedSet"); + class NSOrderedSet extends NSObject { - NSOrderedSet._( - ffi.Pointer pointer, - AVFAudio lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSOrderedSet._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSOrderedSet] that points to the same underlying object as [other]. - static NSOrderedSet castFrom( - AVFAudio lib, - T other, - ) { - return NSOrderedSet._(other.pointer, lib, retain: true, release: true); + static NSOrderedSet castFrom(T other) { + return NSOrderedSet._(other.pointer, retain: true, release: true); } /// Returns a [NSOrderedSet] that wraps the given raw object pointer. - static NSOrderedSet castFromPointer( - AVFAudio lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSOrderedSet._(other, lib, retain: retain, release: release); + static NSOrderedSet castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSOrderedSet._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSOrderedSet]. - static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSOrderedSet1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0( + obj.pointer, _sel_isKindOfClass_, _class_NSOrderedSet); } int get count { - return _lib._objc_msgSend_10(this.pointer, _lib._sel_count1); + return _objc_msgSend_10(this.pointer, _sel_count); } NSObject objectAtIndex_(int idx) { - final _ret = _lib._objc_msgSend_65( - this.pointer, - _lib._sel_objectAtIndex_1, - idx, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_65(this.pointer, _sel_objectAtIndex_, idx); + return NSObject._(_ret, retain: true, release: true); } int indexOfObject_(NSObject object) { - return _lib._objc_msgSend_74( - this.pointer, - _lib._sel_indexOfObject_1, - object.pointer, - ); + return _objc_msgSend_74(this.pointer, _sel_indexOfObject_, object.pointer); } @override NSOrderedSet init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSOrderedSet._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSOrderedSet._(_ret, retain: true, release: true); } NSOrderedSet initWithObjects_count_( - ffi.Pointer> objects, - int cnt, - ) { - final _ret = _lib._objc_msgSend_66( - this.pointer, - _lib._sel_initWithObjects_count_1, - objects, - cnt, - ); - return NSOrderedSet._(_ret, _lib, retain: true, release: true); + ffi.Pointer> objects, int cnt) { + final _ret = _objc_msgSend_66( + this.pointer, _sel_initWithObjects_count_, objects, cnt); + return NSOrderedSet._(_ret, retain: true, release: true); } NSOrderedSet? initWithCoder_(NSCoder coder) { - final _ret = _lib._objc_msgSend_47( - this.pointer, - _lib._sel_initWithCoder_1, - coder.pointer, - ); + final _ret = + _objc_msgSend_47(this.pointer, _sel_initWithCoder_, coder.pointer); return _ret.address == 0 ? null - : NSOrderedSet._(_ret, _lib, retain: true, release: true); + : NSOrderedSet._(_ret, retain: true, release: true); } void getObjects_range_( - ffi.Pointer> objects, - _NSRange range, - ) { - _lib._objc_msgSend_73( - this.pointer, - _lib._sel_getObjects_range_1, - objects, - range, - ); + ffi.Pointer> objects, _NSRange range) { + _objc_msgSend_73(this.pointer, _sel_getObjects_range_, objects, range); } NSArray objectsAtIndexes_(NSIndexSet indexes) { - final _ret = _lib._objc_msgSend_111( - this.pointer, - _lib._sel_objectsAtIndexes_1, - indexes.pointer, - ); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_111( + this.pointer, _sel_objectsAtIndexes_, indexes.pointer); + return NSArray._(_ret, retain: true, release: true); } NSObject? get firstObject { - final _ret = _lib._objc_msgSend_17(this.pointer, _lib._sel_firstObject1); + final _ret = _objc_msgSend_17(this.pointer, _sel_firstObject); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } NSObject? get lastObject { - final _ret = _lib._objc_msgSend_17(this.pointer, _lib._sel_lastObject1); + final _ret = _objc_msgSend_17(this.pointer, _sel_lastObject); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } bool isEqualToOrderedSet_(NSOrderedSet other) { - return _lib._objc_msgSend_489( - this.pointer, - _lib._sel_isEqualToOrderedSet_1, - other.pointer, - ); + return _objc_msgSend_489( + this.pointer, _sel_isEqualToOrderedSet_, other.pointer); } bool containsObject_(NSObject object) { - return _lib._objc_msgSend_0( - this.pointer, - _lib._sel_containsObject_1, - object.pointer, - ); + return _objc_msgSend_0(this.pointer, _sel_containsObject_, object.pointer); } bool intersectsOrderedSet_(NSOrderedSet other) { - return _lib._objc_msgSend_489( - this.pointer, - _lib._sel_intersectsOrderedSet_1, - other.pointer, - ); + return _objc_msgSend_489( + this.pointer, _sel_intersectsOrderedSet_, other.pointer); } bool intersectsSet_(NSSet set) { - return _lib._objc_msgSend_403( - this.pointer, - _lib._sel_intersectsSet_1, - set.pointer, - ); + return _objc_msgSend_403(this.pointer, _sel_intersectsSet_, set.pointer); } bool isSubsetOfOrderedSet_(NSOrderedSet other) { - return _lib._objc_msgSend_489( - this.pointer, - _lib._sel_isSubsetOfOrderedSet_1, - other.pointer, - ); + return _objc_msgSend_489( + this.pointer, _sel_isSubsetOfOrderedSet_, other.pointer); } bool isSubsetOfSet_(NSSet set) { - return _lib._objc_msgSend_403( - this.pointer, - _lib._sel_isSubsetOfSet_1, - set.pointer, - ); + return _objc_msgSend_403(this.pointer, _sel_isSubsetOfSet_, set.pointer); } NSObject objectAtIndexedSubscript_(int idx) { - final _ret = _lib._objc_msgSend_65( - this.pointer, - _lib._sel_objectAtIndexedSubscript_1, - idx, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_65(this.pointer, _sel_objectAtIndexedSubscript_, idx); + return NSObject._(_ret, retain: true, release: true); } NSEnumerator objectEnumerator() { - final _ret = _lib._objc_msgSend_77( - this.pointer, - _lib._sel_objectEnumerator1, - ); - return NSEnumerator._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_77(this.pointer, _sel_objectEnumerator); + return NSEnumerator._(_ret, retain: true, release: true); } NSEnumerator reverseObjectEnumerator() { - final _ret = _lib._objc_msgSend_77( - this.pointer, - _lib._sel_reverseObjectEnumerator1, - ); - return NSEnumerator._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_77(this.pointer, _sel_reverseObjectEnumerator); + return NSEnumerator._(_ret, retain: true, release: true); } NSOrderedSet get reversedOrderedSet { - final _ret = _lib._objc_msgSend_490( - this.pointer, - _lib._sel_reversedOrderedSet1, - ); - return NSOrderedSet._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_490(this.pointer, _sel_reversedOrderedSet); + return NSOrderedSet._(_ret, retain: true, release: true); } NSArray get array { - final _ret = _lib._objc_msgSend_85(this.pointer, _lib._sel_array1); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_85(this.pointer, _sel_array); + return NSArray._(_ret, retain: true, release: true); } NSSet get set1 { - final _ret = _lib._objc_msgSend_491(this.pointer, _lib._sel_set1); - return NSSet._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_491(this.pointer, _sel_set); + return NSSet._(_ret, retain: true, release: true); } void enumerateObjectsUsingBlock_( - ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool block, - ) { - _lib._objc_msgSend_112( - this.pointer, - _lib._sel_enumerateObjectsUsingBlock_1, - block.pointer, - ); + ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool block) { + _objc_msgSend_112( + this.pointer, _sel_enumerateObjectsUsingBlock_, block.pointer); } void enumerateObjectsWithOptions_usingBlock_( - int opts, - ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool block, - ) { - _lib._objc_msgSend_113( - this.pointer, - _lib._sel_enumerateObjectsWithOptions_usingBlock_1, - opts, - block.pointer, - ); - } - - void enumerateObjectsAtIndexes_options_usingBlock_( - NSIndexSet s, - int opts, - ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool block, - ) { - _lib._objc_msgSend_114( - this.pointer, - _lib._sel_enumerateObjectsAtIndexes_options_usingBlock_1, - s.pointer, - opts, - block.pointer, - ); + int opts, ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool block) { + _objc_msgSend_113(this.pointer, + _sel_enumerateObjectsWithOptions_usingBlock_, opts, block.pointer); + } + + void enumerateObjectsAtIndexes_options_usingBlock_(NSIndexSet s, int opts, + ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool block) { + _objc_msgSend_114( + this.pointer, + _sel_enumerateObjectsAtIndexes_options_usingBlock_, + s.pointer, + opts, + block.pointer); } int indexOfObjectPassingTest_( - ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool predicate, - ) { - return _lib._objc_msgSend_115( - this.pointer, - _lib._sel_indexOfObjectPassingTest_1, - predicate.pointer, - ); + ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool predicate) { + return _objc_msgSend_115( + this.pointer, _sel_indexOfObjectPassingTest_, predicate.pointer); } int indexOfObjectWithOptions_passingTest_( - int opts, - ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool predicate, - ) { - return _lib._objc_msgSend_116( - this.pointer, - _lib._sel_indexOfObjectWithOptions_passingTest_1, - opts, - predicate.pointer, - ); - } - - int indexOfObjectAtIndexes_options_passingTest_( - NSIndexSet s, - int opts, - ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool predicate, - ) { - return _lib._objc_msgSend_117( - this.pointer, - _lib._sel_indexOfObjectAtIndexes_options_passingTest_1, - s.pointer, - opts, - predicate.pointer, - ); + int opts, ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool predicate) { + return _objc_msgSend_116(this.pointer, + _sel_indexOfObjectWithOptions_passingTest_, opts, predicate.pointer); + } + + int indexOfObjectAtIndexes_options_passingTest_(NSIndexSet s, int opts, + ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool predicate) { + return _objc_msgSend_117( + this.pointer, + _sel_indexOfObjectAtIndexes_options_passingTest_, + s.pointer, + opts, + predicate.pointer); } NSIndexSet indexesOfObjectsPassingTest_( - ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool predicate, - ) { - final _ret = _lib._objc_msgSend_118( - this.pointer, - _lib._sel_indexesOfObjectsPassingTest_1, - predicate.pointer, - ); - return NSIndexSet._(_ret, _lib, retain: true, release: true); + ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool predicate) { + final _ret = _objc_msgSend_118( + this.pointer, _sel_indexesOfObjectsPassingTest_, predicate.pointer); + return NSIndexSet._(_ret, retain: true, release: true); } NSIndexSet indexesOfObjectsWithOptions_passingTest_( - int opts, - ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool predicate, - ) { - final _ret = _lib._objc_msgSend_119( - this.pointer, - _lib._sel_indexesOfObjectsWithOptions_passingTest_1, - opts, - predicate.pointer, - ); - return NSIndexSet._(_ret, _lib, retain: true, release: true); - } - - NSIndexSet indexesOfObjectsAtIndexes_options_passingTest_( - NSIndexSet s, - int opts, - ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool predicate, - ) { - final _ret = _lib._objc_msgSend_120( - this.pointer, - _lib._sel_indexesOfObjectsAtIndexes_options_passingTest_1, - s.pointer, - opts, - predicate.pointer, - ); - return NSIndexSet._(_ret, _lib, retain: true, release: true); + int opts, ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool predicate) { + final _ret = _objc_msgSend_119(this.pointer, + _sel_indexesOfObjectsWithOptions_passingTest_, opts, predicate.pointer); + return NSIndexSet._(_ret, retain: true, release: true); + } + + NSIndexSet indexesOfObjectsAtIndexes_options_passingTest_(NSIndexSet s, + int opts, ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool predicate) { + final _ret = _objc_msgSend_120( + this.pointer, + _sel_indexesOfObjectsAtIndexes_options_passingTest_, + s.pointer, + opts, + predicate.pointer); + return NSIndexSet._(_ret, retain: true, release: true); } int indexOfObject_inSortedRange_options_usingComparator_( - NSObject object, - _NSRange range, - int opts, - ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject cmp, - ) { - return _lib._objc_msgSend_123( - this.pointer, - _lib._sel_indexOfObject_inSortedRange_options_usingComparator_1, - object.pointer, - range, - opts, - cmp.pointer, - ); + NSObject object, + _NSRange range, + int opts, + ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject cmp) { + return _objc_msgSend_123( + this.pointer, + _sel_indexOfObject_inSortedRange_options_usingComparator_, + object.pointer, + range, + opts, + cmp.pointer); } NSArray sortedArrayUsingComparator_( - ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject cmptr, - ) { - final _ret = _lib._objc_msgSend_121( - this.pointer, - _lib._sel_sortedArrayUsingComparator_1, - cmptr.pointer, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - NSArray sortedArrayWithOptions_usingComparator_( - int opts, - ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject cmptr, - ) { - final _ret = _lib._objc_msgSend_122( - this.pointer, - _lib._sel_sortedArrayWithOptions_usingComparator_1, - opts, - cmptr.pointer, - ); - return NSArray._(_ret, _lib, retain: true, release: true); + ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject cmptr) { + final _ret = _objc_msgSend_121( + this.pointer, _sel_sortedArrayUsingComparator_, cmptr.pointer); + return NSArray._(_ret, retain: true, release: true); + } + + NSArray sortedArrayWithOptions_usingComparator_(int opts, + ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject cmptr) { + final _ret = _objc_msgSend_122(this.pointer, + _sel_sortedArrayWithOptions_usingComparator_, opts, cmptr.pointer); + return NSArray._(_ret, retain: true, release: true); } NSString get description { - final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_description1); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_description); + return NSString._(_ret, retain: true, release: true); } NSString descriptionWithLocale_(NSObject? locale) { - final _ret = _lib._objc_msgSend_70( - this.pointer, - _lib._sel_descriptionWithLocale_1, - locale?.pointer ?? ffi.nullptr, - ); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_70(this.pointer, _sel_descriptionWithLocale_, + locale?.pointer ?? ffi.nullptr); + return NSString._(_ret, retain: true, release: true); } NSString descriptionWithLocale_indent_(NSObject? locale, int level) { - final _ret = _lib._objc_msgSend_71( - this.pointer, - _lib._sel_descriptionWithLocale_indent_1, - locale?.pointer ?? ffi.nullptr, - level, - ); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_71( + this.pointer, + _sel_descriptionWithLocale_indent_, + locale?.pointer ?? ffi.nullptr, + level); + return NSString._(_ret, retain: true, release: true); } - static NSOrderedSet orderedSet(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSOrderedSet1, - _lib._sel_orderedSet1, - ); - return NSOrderedSet._(_ret, _lib, retain: true, release: true); + static NSOrderedSet orderedSet() { + final _ret = _objc_msgSend_2(_class_NSOrderedSet, _sel_orderedSet); + return NSOrderedSet._(_ret, retain: true, release: true); } - static NSOrderedSet orderedSetWithObject_(AVFAudio _lib, NSObject object) { - final _ret = _lib._objc_msgSend_124( - _lib._class_NSOrderedSet1, - _lib._sel_orderedSetWithObject_1, - object.pointer, - ); - return NSOrderedSet._(_ret, _lib, retain: true, release: true); + static NSOrderedSet orderedSetWithObject_(NSObject object) { + final _ret = _objc_msgSend_124( + _class_NSOrderedSet, _sel_orderedSetWithObject_, object.pointer); + return NSOrderedSet._(_ret, retain: true, release: true); } static NSOrderedSet orderedSetWithObjects_count_( - AVFAudio _lib, - ffi.Pointer> objects, - int cnt, - ) { - final _ret = _lib._objc_msgSend_66( - _lib._class_NSOrderedSet1, - _lib._sel_orderedSetWithObjects_count_1, - objects, - cnt, - ); - return NSOrderedSet._(_ret, _lib, retain: true, release: true); - } - - static NSOrderedSet orderedSetWithObjects_(AVFAudio _lib, NSObject firstObj) { - final _ret = _lib._objc_msgSend_124( - _lib._class_NSOrderedSet1, - _lib._sel_orderedSetWithObjects_1, - firstObj.pointer, - ); - return NSOrderedSet._(_ret, _lib, retain: true, release: true); - } - - static NSOrderedSet orderedSetWithOrderedSet_( - AVFAudio _lib, - NSOrderedSet set, - ) { - final _ret = _lib._objc_msgSend_492( - _lib._class_NSOrderedSet1, - _lib._sel_orderedSetWithOrderedSet_1, - set.pointer, - ); - return NSOrderedSet._(_ret, _lib, retain: true, release: true); + ffi.Pointer> objects, int cnt) { + final _ret = _objc_msgSend_66( + _class_NSOrderedSet, _sel_orderedSetWithObjects_count_, objects, cnt); + return NSOrderedSet._(_ret, retain: true, release: true); + } + + static NSOrderedSet orderedSetWithObjects_(NSObject firstObj) { + final _ret = _objc_msgSend_124( + _class_NSOrderedSet, _sel_orderedSetWithObjects_, firstObj.pointer); + return NSOrderedSet._(_ret, retain: true, release: true); + } + + static NSOrderedSet orderedSetWithOrderedSet_(NSOrderedSet set) { + final _ret = _objc_msgSend_492( + _class_NSOrderedSet, _sel_orderedSetWithOrderedSet_, set.pointer); + return NSOrderedSet._(_ret, retain: true, release: true); } static NSOrderedSet orderedSetWithOrderedSet_range_copyItems_( - AVFAudio _lib, - NSOrderedSet set, - _NSRange range, - bool flag, - ) { - final _ret = _lib._objc_msgSend_493( - _lib._class_NSOrderedSet1, - _lib._sel_orderedSetWithOrderedSet_range_copyItems_1, - set.pointer, - range, - flag, - ); - return NSOrderedSet._(_ret, _lib, retain: false, release: true); - } - - static NSOrderedSet orderedSetWithArray_(AVFAudio _lib, NSArray array) { - final _ret = _lib._objc_msgSend_125( - _lib._class_NSOrderedSet1, - _lib._sel_orderedSetWithArray_1, - array.pointer, - ); - return NSOrderedSet._(_ret, _lib, retain: true, release: true); + NSOrderedSet set, _NSRange range, bool flag) { + final _ret = _objc_msgSend_493( + _class_NSOrderedSet, + _sel_orderedSetWithOrderedSet_range_copyItems_, + set.pointer, + range, + flag); + return NSOrderedSet._(_ret, retain: false, release: true); + } + + static NSOrderedSet orderedSetWithArray_(NSArray array) { + final _ret = _objc_msgSend_125( + _class_NSOrderedSet, _sel_orderedSetWithArray_, array.pointer); + return NSOrderedSet._(_ret, retain: true, release: true); } static NSOrderedSet orderedSetWithArray_range_copyItems_( - AVFAudio _lib, - NSArray array, - _NSRange range, - bool flag, - ) { - final _ret = _lib._objc_msgSend_494( - _lib._class_NSOrderedSet1, - _lib._sel_orderedSetWithArray_range_copyItems_1, - array.pointer, - range, - flag, - ); - return NSOrderedSet._(_ret, _lib, retain: false, release: true); - } - - static NSOrderedSet orderedSetWithSet_(AVFAudio _lib, NSSet set) { - final _ret = _lib._objc_msgSend_411( - _lib._class_NSOrderedSet1, - _lib._sel_orderedSetWithSet_1, - set.pointer, - ); - return NSOrderedSet._(_ret, _lib, retain: true, release: true); - } - - static NSOrderedSet orderedSetWithSet_copyItems_( - AVFAudio _lib, - NSSet set, - bool flag, - ) { - final _ret = _lib._objc_msgSend_412( - _lib._class_NSOrderedSet1, - _lib._sel_orderedSetWithSet_copyItems_1, - set.pointer, - flag, - ); - return NSOrderedSet._(_ret, _lib, retain: false, release: true); + NSArray array, _NSRange range, bool flag) { + final _ret = _objc_msgSend_494(_class_NSOrderedSet, + _sel_orderedSetWithArray_range_copyItems_, array.pointer, range, flag); + return NSOrderedSet._(_ret, retain: false, release: true); + } + + static NSOrderedSet orderedSetWithSet_(NSSet set) { + final _ret = _objc_msgSend_411( + _class_NSOrderedSet, _sel_orderedSetWithSet_, set.pointer); + return NSOrderedSet._(_ret, retain: true, release: true); + } + + static NSOrderedSet orderedSetWithSet_copyItems_(NSSet set, bool flag) { + final _ret = _objc_msgSend_412(_class_NSOrderedSet, + _sel_orderedSetWithSet_copyItems_, set.pointer, flag); + return NSOrderedSet._(_ret, retain: false, release: true); } NSOrderedSet initWithObject_(NSObject object) { - final _ret = _lib._objc_msgSend_124( - this.pointer, - _lib._sel_initWithObject_1, - object.pointer, - ); - return NSOrderedSet._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_124(this.pointer, _sel_initWithObject_, object.pointer); + return NSOrderedSet._(_ret, retain: true, release: true); } NSOrderedSet initWithObjects_(NSObject firstObj) { - final _ret = _lib._objc_msgSend_124( - this.pointer, - _lib._sel_initWithObjects_1, - firstObj.pointer, - ); - return NSOrderedSet._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_124( + this.pointer, _sel_initWithObjects_, firstObj.pointer); + return NSOrderedSet._(_ret, retain: true, release: true); } NSOrderedSet initWithOrderedSet_(NSOrderedSet set) { - final _ret = _lib._objc_msgSend_492( - this.pointer, - _lib._sel_initWithOrderedSet_1, - set.pointer, - ); - return NSOrderedSet._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_492(this.pointer, _sel_initWithOrderedSet_, set.pointer); + return NSOrderedSet._(_ret, retain: true, release: true); } NSOrderedSet initWithOrderedSet_copyItems_(NSOrderedSet set, bool flag) { - final _ret = _lib._objc_msgSend_495( - this.pointer, - _lib._sel_initWithOrderedSet_copyItems_1, - set.pointer, - flag, - ); - return NSOrderedSet._(_ret, _lib, retain: false, release: true); + final _ret = _objc_msgSend_495( + this.pointer, _sel_initWithOrderedSet_copyItems_, set.pointer, flag); + return NSOrderedSet._(_ret, retain: false, release: true); } NSOrderedSet initWithOrderedSet_range_copyItems_( - NSOrderedSet set, - _NSRange range, - bool flag, - ) { - final _ret = _lib._objc_msgSend_493( - this.pointer, - _lib._sel_initWithOrderedSet_range_copyItems_1, - set.pointer, - range, - flag, - ); - return NSOrderedSet._(_ret, _lib, retain: false, release: true); + NSOrderedSet set, _NSRange range, bool flag) { + final _ret = _objc_msgSend_493(this.pointer, + _sel_initWithOrderedSet_range_copyItems_, set.pointer, range, flag); + return NSOrderedSet._(_ret, retain: false, release: true); } NSOrderedSet initWithArray_(NSArray array) { - final _ret = _lib._objc_msgSend_125( - this.pointer, - _lib._sel_initWithArray_1, - array.pointer, - ); - return NSOrderedSet._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_125(this.pointer, _sel_initWithArray_, array.pointer); + return NSOrderedSet._(_ret, retain: true, release: true); } NSOrderedSet initWithArray_copyItems_(NSArray set, bool flag) { - final _ret = _lib._objc_msgSend_126( - this.pointer, - _lib._sel_initWithArray_copyItems_1, - set.pointer, - flag, - ); - return NSOrderedSet._(_ret, _lib, retain: false, release: true); + final _ret = _objc_msgSend_126( + this.pointer, _sel_initWithArray_copyItems_, set.pointer, flag); + return NSOrderedSet._(_ret, retain: false, release: true); } NSOrderedSet initWithArray_range_copyItems_( - NSArray set, - _NSRange range, - bool flag, - ) { - final _ret = _lib._objc_msgSend_494( - this.pointer, - _lib._sel_initWithArray_range_copyItems_1, - set.pointer, - range, - flag, - ); - return NSOrderedSet._(_ret, _lib, retain: false, release: true); + NSArray set, _NSRange range, bool flag) { + final _ret = _objc_msgSend_494(this.pointer, + _sel_initWithArray_range_copyItems_, set.pointer, range, flag); + return NSOrderedSet._(_ret, retain: false, release: true); } NSOrderedSet initWithSet_(NSSet set) { - final _ret = _lib._objc_msgSend_411( - this.pointer, - _lib._sel_initWithSet_1, - set.pointer, - ); - return NSOrderedSet._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_411(this.pointer, _sel_initWithSet_, set.pointer); + return NSOrderedSet._(_ret, retain: true, release: true); } NSOrderedSet initWithSet_copyItems_(NSSet set, bool flag) { - final _ret = _lib._objc_msgSend_412( - this.pointer, - _lib._sel_initWithSet_copyItems_1, - set.pointer, - flag, - ); - return NSOrderedSet._(_ret, _lib, retain: false, release: true); + final _ret = _objc_msgSend_412( + this.pointer, _sel_initWithSet_copyItems_, set.pointer, flag); + return NSOrderedSet._(_ret, retain: false, release: true); } NSObject differenceFromOrderedSet_withOptions_usingEquivalenceTest_( - NSOrderedSet other, - int options, - ObjCBlock_bool_objcObjCObject_objcObjCObject block, - ) { - final _ret = _lib._objc_msgSend_496( - this.pointer, - _lib._sel_differenceFromOrderedSet_withOptions_usingEquivalenceTest_1, - other.pointer, - options, - block.pointer, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + NSOrderedSet other, + int options, + ObjCBlock_bool_objcObjCObject_objcObjCObject block) { + final _ret = _objc_msgSend_496( + this.pointer, + _sel_differenceFromOrderedSet_withOptions_usingEquivalenceTest_, + other.pointer, + options, + block.pointer); + return NSObject._(_ret, retain: true, release: true); } NSObject differenceFromOrderedSet_withOptions_( - NSOrderedSet other, - int options, - ) { - final _ret = _lib._objc_msgSend_497( - this.pointer, - _lib._sel_differenceFromOrderedSet_withOptions_1, - other.pointer, - options, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + NSOrderedSet other, int options) { + final _ret = _objc_msgSend_497(this.pointer, + _sel_differenceFromOrderedSet_withOptions_, other.pointer, options); + return NSObject._(_ret, retain: true, release: true); } NSObject differenceFromOrderedSet_(NSOrderedSet other) { - final _ret = _lib._objc_msgSend_492( - this.pointer, - _lib._sel_differenceFromOrderedSet_1, - other.pointer, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_492( + this.pointer, _sel_differenceFromOrderedSet_, other.pointer); + return NSObject._(_ret, retain: true, release: true); } NSOrderedSet? orderedSetByApplyingDifference_(NSObject difference) { - final _ret = _lib._objc_msgSend_498( - this.pointer, - _lib._sel_orderedSetByApplyingDifference_1, - difference.pointer, - ); + final _ret = _objc_msgSend_498( + this.pointer, _sel_orderedSetByApplyingDifference_, difference.pointer); return _ret.address == 0 ? null - : NSOrderedSet._(_ret, _lib, retain: true, release: true); + : NSOrderedSet._(_ret, retain: true, release: true); } NSObject valueForKey_(NSString key) { - final _ret = _lib._objc_msgSend_31( - this.pointer, - _lib._sel_valueForKey_1, - key.pointer, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_31(this.pointer, _sel_valueForKey_, key.pointer); + return NSObject._(_ret, retain: true, release: true); } @override void setValue_forKey_(NSObject? value, NSString key) { - _lib._objc_msgSend_135( - this.pointer, - _lib._sel_setValue_forKey_1, - value?.pointer ?? ffi.nullptr, - key.pointer, - ); + _objc_msgSend_135(this.pointer, _sel_setValue_forKey_, + value?.pointer ?? ffi.nullptr, key.pointer); } @override - void addObserver_forKeyPath_options_context_( - NSObject observer, - NSString keyPath, - int options, - ffi.Pointer context, - ) { - _lib._objc_msgSend_139( - this.pointer, - _lib._sel_addObserver_forKeyPath_options_context_1, - observer.pointer, - keyPath.pointer, - options, - context, - ); + void addObserver_forKeyPath_options_context_(NSObject observer, + NSString keyPath, int options, ffi.Pointer context) { + _objc_msgSend_139( + this.pointer, + _sel_addObserver_forKeyPath_options_context_, + observer.pointer, + keyPath.pointer, + options, + context); } @override void removeObserver_forKeyPath_context_( - NSObject observer, - NSString keyPath, - ffi.Pointer context, - ) { - _lib._objc_msgSend_140( - this.pointer, - _lib._sel_removeObserver_forKeyPath_context_1, - observer.pointer, - keyPath.pointer, - context, - ); + NSObject observer, NSString keyPath, ffi.Pointer context) { + _objc_msgSend_140(this.pointer, _sel_removeObserver_forKeyPath_context_, + observer.pointer, keyPath.pointer, context); } @override void removeObserver_forKeyPath_(NSObject observer, NSString keyPath) { - _lib._objc_msgSend_141( - this.pointer, - _lib._sel_removeObserver_forKeyPath_1, - observer.pointer, - keyPath.pointer, - ); + _objc_msgSend_141(this.pointer, _sel_removeObserver_forKeyPath_, + observer.pointer, keyPath.pointer); } NSArray sortedArrayUsingDescriptors_(NSArray sortDescriptors) { - final _ret = _lib._objc_msgSend_68( - this.pointer, - _lib._sel_sortedArrayUsingDescriptors_1, - sortDescriptors.pointer, - ); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_68(this.pointer, + _sel_sortedArrayUsingDescriptors_, sortDescriptors.pointer); + return NSArray._(_ret, retain: true, release: true); } NSOrderedSet filteredOrderedSetUsingPredicate_(NSPredicate p) { - final _ret = _lib._objc_msgSend_499( - this.pointer, - _lib._sel_filteredOrderedSetUsingPredicate_1, - p.pointer, - ); - return NSOrderedSet._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_499( + this.pointer, _sel_filteredOrderedSetUsingPredicate_, p.pointer); + return NSOrderedSet._(_ret, retain: true, release: true); } - static NSOrderedSet new1(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSOrderedSet1, - _lib._sel_new1, - ); - return NSOrderedSet._(_ret, _lib, retain: false, release: true); + static NSOrderedSet new1() { + final _ret = _objc_msgSend_2(_class_NSOrderedSet, _sel_new); + return NSOrderedSet._(_ret, retain: false, release: true); } - static NSOrderedSet allocWithZone_(AVFAudio _lib, ffi.Pointer<_NSZone> zone) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSOrderedSet1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSOrderedSet._(_ret, _lib, retain: false, release: true); + static NSOrderedSet allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = + _objc_msgSend_3(_class_NSOrderedSet, _sel_allocWithZone_, zone); + return NSOrderedSet._(_ret, retain: false, release: true); } - static NSOrderedSet alloc(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSOrderedSet1, - _lib._sel_alloc1, - ); - return NSOrderedSet._(_ret, _lib, retain: false, release: true); + static NSOrderedSet alloc() { + final _ret = _objc_msgSend_2(_class_NSOrderedSet, _sel_alloc); + return NSOrderedSet._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSOrderedSet1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSOrderedSet1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSOrderedSet1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSOrderedSet1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSOrderedSet1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSOrderedSet1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSOrderedSet, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); } - static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSOrderedSet1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSOrderedSet1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSOrderedSet1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSOrderedSet, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); } -} + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSOrderedSet, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSOrderedSet, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSOrderedSet, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSOrderedSet, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); + } + + static void setKeys_triggerChangeNotificationsForDependentKey_( + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSOrderedSet, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = _objc_msgSend_85( + _class_NSOrderedSet, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = + _objc_msgSend_2(_class_NSOrderedSet, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); + } +} + +late final _class_NSOrderedSet = objc.getClass("NSOrderedSet"); +late final _sel_isEqualToOrderedSet_ = + objc.registerName("isEqualToOrderedSet:"); +final _objc_msgSend_489 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer other)>>() + .asFunction< + bool Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_intersectsOrderedSet_ = + objc.registerName("intersectsOrderedSet:"); +late final _sel_isSubsetOfOrderedSet_ = + objc.registerName("isSubsetOfOrderedSet:"); +late final _sel_reversedOrderedSet = objc.registerName("reversedOrderedSet"); +final _objc_msgSend_490 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +final _objc_msgSend_491 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_orderedSet = objc.registerName("orderedSet"); +late final _sel_orderedSetWithObject_ = + objc.registerName("orderedSetWithObject:"); +late final _sel_orderedSetWithObjects_count_ = + objc.registerName("orderedSetWithObjects:count:"); +late final _sel_orderedSetWithObjects_ = + objc.registerName("orderedSetWithObjects:"); +late final _sel_orderedSetWithOrderedSet_ = + objc.registerName("orderedSetWithOrderedSet:"); +final _objc_msgSend_492 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer set)>>() + .asFunction< + instancetype Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_orderedSetWithOrderedSet_range_copyItems_ = + objc.registerName("orderedSetWithOrderedSet:range:copyItems:"); +final _objc_msgSend_493 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer set, + _NSRange range, + ffi.Bool flag)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange, + bool)>(); +late final _sel_orderedSetWithArray_ = + objc.registerName("orderedSetWithArray:"); +late final _sel_orderedSetWithArray_range_copyItems_ = + objc.registerName("orderedSetWithArray:range:copyItems:"); +final _objc_msgSend_494 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer array, + _NSRange range, + ffi.Bool flag)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange, + bool)>(); +late final _sel_orderedSetWithSet_ = objc.registerName("orderedSetWithSet:"); +late final _sel_orderedSetWithSet_copyItems_ = + objc.registerName("orderedSetWithSet:copyItems:"); +late final _sel_initWithObject_ = objc.registerName("initWithObject:"); +late final _sel_initWithOrderedSet_ = objc.registerName("initWithOrderedSet:"); +late final _sel_initWithOrderedSet_copyItems_ = + objc.registerName("initWithOrderedSet:copyItems:"); +final _objc_msgSend_495 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer set, + ffi.Bool flag)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool)>(); +late final _sel_initWithOrderedSet_range_copyItems_ = + objc.registerName("initWithOrderedSet:range:copyItems:"); +late final _sel_initWithArray_range_copyItems_ = + objc.registerName("initWithArray:range:copyItems:"); +late final _sel_differenceFromOrderedSet_withOptions_usingEquivalenceTest_ = + objc.registerName( + "differenceFromOrderedSet:withOptions:usingEquivalenceTest:"); +final _objc_msgSend_496 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer other, + ffi.Int32 options, + ffi.Pointer block)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer)>(); +late final _sel_differenceFromOrderedSet_withOptions_ = + objc.registerName("differenceFromOrderedSet:withOptions:"); +final _objc_msgSend_497 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer other, + ffi.Int32 options)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int)>(); +late final _sel_differenceFromOrderedSet_ = + objc.registerName("differenceFromOrderedSet:"); +late final _sel_orderedSetByApplyingDifference_ = + objc.registerName("orderedSetByApplyingDifference:"); +final _objc_msgSend_498 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer difference)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_filteredOrderedSetUsingPredicate_ = + objc.registerName("filteredOrderedSetUsingPredicate:"); +final _objc_msgSend_499 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer p)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_addObjects_count_ = objc.registerName("addObjects:count:"); +final _objc_msgSend_500 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer> objects, + ffi.UnsignedLong count)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + int)>(); +late final _sel_moveObjectsAtIndexes_toIndex_ = + objc.registerName("moveObjectsAtIndexes:toIndex:"); +final _objc_msgSend_501 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer indexes, + ffi.UnsignedLong idx)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int)>(); +late final _sel_setObject_atIndex_ = objc.registerName("setObject:atIndex:"); +late final _sel_replaceObjectsInRange_withObjects_count_ = + objc.registerName("replaceObjectsInRange:withObjects:count:"); +final _objc_msgSend_502 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + _NSRange range, + ffi.Pointer> objects, + ffi.UnsignedLong count)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer>, + int)>(); +late final _sel_intersectOrderedSet_ = + objc.registerName("intersectOrderedSet:"); +final _objc_msgSend_503 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer other)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_minusOrderedSet_ = objc.registerName("minusOrderedSet:"); +late final _sel_unionOrderedSet_ = objc.registerName("unionOrderedSet:"); +late final _sel_intersectSet_ = objc.registerName("intersectSet:"); +final _objc_msgSend_504 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer other)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_minusSet_ = objc.registerName("minusSet:"); +late final _sel_unionSet_ = objc.registerName("unionSet:"); +late final _sel_sortRange_options_usingComparator_ = + objc.registerName("sortRange:options:usingComparator:"); +final _objc_msgSend_505 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + _NSRange range, + ffi.Int32 opts, + ffi.Pointer cmptr)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + int, + ffi.Pointer)>(); +late final _sel_orderedSetWithCapacity_ = + objc.registerName("orderedSetWithCapacity:"); +late final _sel_mutableOrderedSetValueForKey_ = + objc.registerName("mutableOrderedSetValueForKey:"); +final _objc_msgSend_506 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer key)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); class NSMutableSet extends NSSet { - NSMutableSet._( - ffi.Pointer pointer, - AVFAudio lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSMutableSet._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSMutableSet] that points to the same underlying object as [other]. - static NSMutableSet castFrom( - AVFAudio lib, - T other, - ) { - return NSMutableSet._(other.pointer, lib, retain: true, release: true); + static NSMutableSet castFrom(T other) { + return NSMutableSet._(other.pointer, retain: true, release: true); } /// Returns a [NSMutableSet] that wraps the given raw object pointer. - static NSMutableSet castFromPointer( - AVFAudio lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSMutableSet._(other, lib, retain: retain, release: release); + static NSMutableSet castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSMutableSet._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSMutableSet]. - static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSMutableSet1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0( + obj.pointer, _sel_isKindOfClass_, _class_NSMutableSet); } void addObject_(NSObject object) { - _lib._objc_msgSend_15(this.pointer, _lib._sel_addObject_1, object.pointer); + _objc_msgSend_15(this.pointer, _sel_addObject_, object.pointer); } void removeObject_(NSObject object) { - _lib._objc_msgSend_15( - this.pointer, - _lib._sel_removeObject_1, - object.pointer, - ); + _objc_msgSend_15(this.pointer, _sel_removeObject_, object.pointer); } @override NSMutableSet? initWithCoder_(NSCoder coder) { - final _ret = _lib._objc_msgSend_47( - this.pointer, - _lib._sel_initWithCoder_1, - coder.pointer, - ); + final _ret = + _objc_msgSend_47(this.pointer, _sel_initWithCoder_, coder.pointer); return _ret.address == 0 ? null - : NSMutableSet._(_ret, _lib, retain: true, release: true); + : NSMutableSet._(_ret, retain: true, release: true); } @override NSMutableSet init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSMutableSet._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSMutableSet._(_ret, retain: true, release: true); } NSMutableSet initWithCapacity_(int numItems) { - final _ret = _lib._objc_msgSend_65( - this.pointer, - _lib._sel_initWithCapacity_1, - numItems, - ); - return NSMutableSet._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_65(this.pointer, _sel_initWithCapacity_, numItems); + return NSMutableSet._(_ret, retain: true, release: true); } void addObjectsFromArray_(NSArray array) { - _lib._objc_msgSend_472( - this.pointer, - _lib._sel_addObjectsFromArray_1, - array.pointer, - ); + _objc_msgSend_472(this.pointer, _sel_addObjectsFromArray_, array.pointer); } void intersectSet_(NSSet otherSet) { - _lib._objc_msgSend_504( - this.pointer, - _lib._sel_intersectSet_1, - otherSet.pointer, - ); + _objc_msgSend_504(this.pointer, _sel_intersectSet_, otherSet.pointer); } void minusSet_(NSSet otherSet) { - _lib._objc_msgSend_504( - this.pointer, - _lib._sel_minusSet_1, - otherSet.pointer, - ); + _objc_msgSend_504(this.pointer, _sel_minusSet_, otherSet.pointer); } void removeAllObjects() { - _lib._objc_msgSend_1(this.pointer, _lib._sel_removeAllObjects1); + _objc_msgSend_1(this.pointer, _sel_removeAllObjects); } void unionSet_(NSSet otherSet) { - _lib._objc_msgSend_504( - this.pointer, - _lib._sel_unionSet_1, - otherSet.pointer, - ); + _objc_msgSend_504(this.pointer, _sel_unionSet_, otherSet.pointer); } void setSet_(NSSet otherSet) { - _lib._objc_msgSend_504(this.pointer, _lib._sel_setSet_1, otherSet.pointer); + _objc_msgSend_504(this.pointer, _sel_setSet_, otherSet.pointer); } - static NSMutableSet setWithCapacity_(AVFAudio _lib, int numItems) { - final _ret = _lib._objc_msgSend_65( - _lib._class_NSMutableSet1, - _lib._sel_setWithCapacity_1, - numItems, - ); - return NSMutableSet._(_ret, _lib, retain: true, release: true); + static NSMutableSet setWithCapacity_(int numItems) { + final _ret = + _objc_msgSend_65(_class_NSMutableSet, _sel_setWithCapacity_, numItems); + return NSMutableSet._(_ret, retain: true, release: true); } void filterUsingPredicate_(NSPredicate predicate) { - _lib._objc_msgSend_487( - this.pointer, - _lib._sel_filterUsingPredicate_1, - predicate.pointer, - ); + _objc_msgSend_487( + this.pointer, _sel_filterUsingPredicate_, predicate.pointer); } @override NSMutableSet initWithObjects_count_( - ffi.Pointer> objects, - int cnt, - ) { - final _ret = _lib._objc_msgSend_66( - this.pointer, - _lib._sel_initWithObjects_count_1, - objects, - cnt, - ); - return NSMutableSet._(_ret, _lib, retain: true, release: true); - } - - static NSMutableSet set1(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSMutableSet1, - _lib._sel_set1, - ); - return NSMutableSet._(_ret, _lib, retain: true, release: true); - } - - static NSMutableSet setWithObject_(AVFAudio _lib, NSObject object) { - final _ret = _lib._objc_msgSend_124( - _lib._class_NSMutableSet1, - _lib._sel_setWithObject_1, - object.pointer, - ); - return NSMutableSet._(_ret, _lib, retain: true, release: true); + ffi.Pointer> objects, int cnt) { + final _ret = _objc_msgSend_66( + this.pointer, _sel_initWithObjects_count_, objects, cnt); + return NSMutableSet._(_ret, retain: true, release: true); + } + + static NSMutableSet set1() { + final _ret = _objc_msgSend_2(_class_NSMutableSet, _sel_set); + return NSMutableSet._(_ret, retain: true, release: true); + } + + static NSMutableSet setWithObject_(NSObject object) { + final _ret = _objc_msgSend_124( + _class_NSMutableSet, _sel_setWithObject_, object.pointer); + return NSMutableSet._(_ret, retain: true, release: true); } static NSMutableSet setWithObjects_count_( - AVFAudio _lib, - ffi.Pointer> objects, - int cnt, - ) { - final _ret = _lib._objc_msgSend_66( - _lib._class_NSMutableSet1, - _lib._sel_setWithObjects_count_1, - objects, - cnt, - ); - return NSMutableSet._(_ret, _lib, retain: true, release: true); - } - - static NSMutableSet setWithObjects_(AVFAudio _lib, NSObject firstObj) { - final _ret = _lib._objc_msgSend_124( - _lib._class_NSMutableSet1, - _lib._sel_setWithObjects_1, - firstObj.pointer, - ); - return NSMutableSet._(_ret, _lib, retain: true, release: true); - } - - static NSMutableSet setWithSet_(AVFAudio _lib, NSSet set) { - final _ret = _lib._objc_msgSend_411( - _lib._class_NSMutableSet1, - _lib._sel_setWithSet_1, - set.pointer, - ); - return NSMutableSet._(_ret, _lib, retain: true, release: true); - } - - static NSMutableSet setWithArray_(AVFAudio _lib, NSArray array) { - final _ret = _lib._objc_msgSend_125( - _lib._class_NSMutableSet1, - _lib._sel_setWithArray_1, - array.pointer, - ); - return NSMutableSet._(_ret, _lib, retain: true, release: true); + ffi.Pointer> objects, int cnt) { + final _ret = _objc_msgSend_66( + _class_NSMutableSet, _sel_setWithObjects_count_, objects, cnt); + return NSMutableSet._(_ret, retain: true, release: true); + } + + static NSMutableSet setWithObjects_(NSObject firstObj) { + final _ret = _objc_msgSend_124( + _class_NSMutableSet, _sel_setWithObjects_, firstObj.pointer); + return NSMutableSet._(_ret, retain: true, release: true); + } + + static NSMutableSet setWithSet_(NSSet set) { + final _ret = + _objc_msgSend_411(_class_NSMutableSet, _sel_setWithSet_, set.pointer); + return NSMutableSet._(_ret, retain: true, release: true); + } + + static NSMutableSet setWithArray_(NSArray array) { + final _ret = _objc_msgSend_125( + _class_NSMutableSet, _sel_setWithArray_, array.pointer); + return NSMutableSet._(_ret, retain: true, release: true); } @override NSMutableSet initWithObjects_(NSObject firstObj) { - final _ret = _lib._objc_msgSend_124( - this.pointer, - _lib._sel_initWithObjects_1, - firstObj.pointer, - ); - return NSMutableSet._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_124( + this.pointer, _sel_initWithObjects_, firstObj.pointer); + return NSMutableSet._(_ret, retain: true, release: true); } @override NSMutableSet initWithSet_(NSSet set) { - final _ret = _lib._objc_msgSend_411( - this.pointer, - _lib._sel_initWithSet_1, - set.pointer, - ); - return NSMutableSet._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_411(this.pointer, _sel_initWithSet_, set.pointer); + return NSMutableSet._(_ret, retain: true, release: true); } @override NSMutableSet initWithSet_copyItems_(NSSet set, bool flag) { - final _ret = _lib._objc_msgSend_412( - this.pointer, - _lib._sel_initWithSet_copyItems_1, - set.pointer, - flag, - ); - return NSMutableSet._(_ret, _lib, retain: false, release: true); + final _ret = _objc_msgSend_412( + this.pointer, _sel_initWithSet_copyItems_, set.pointer, flag); + return NSMutableSet._(_ret, retain: false, release: true); } @override NSMutableSet initWithArray_(NSArray array) { - final _ret = _lib._objc_msgSend_125( - this.pointer, - _lib._sel_initWithArray_1, - array.pointer, - ); - return NSMutableSet._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_125(this.pointer, _sel_initWithArray_, array.pointer); + return NSMutableSet._(_ret, retain: true, release: true); } - static NSMutableSet new1(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSMutableSet1, - _lib._sel_new1, - ); - return NSMutableSet._(_ret, _lib, retain: false, release: true); + static NSMutableSet new1() { + final _ret = _objc_msgSend_2(_class_NSMutableSet, _sel_new); + return NSMutableSet._(_ret, retain: false, release: true); } - static NSMutableSet allocWithZone_(AVFAudio _lib, ffi.Pointer<_NSZone> zone) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSMutableSet1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSMutableSet._(_ret, _lib, retain: false, release: true); + static NSMutableSet allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = + _objc_msgSend_3(_class_NSMutableSet, _sel_allocWithZone_, zone); + return NSMutableSet._(_ret, retain: false, release: true); } - static NSMutableSet alloc(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSMutableSet1, - _lib._sel_alloc1, - ); - return NSMutableSet._(_ret, _lib, retain: false, release: true); + static NSMutableSet alloc() { + final _ret = _objc_msgSend_2(_class_NSMutableSet, _sel_alloc); + return NSMutableSet._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSMutableSet1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSMutableSet1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSMutableSet1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSMutableSet1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSMutableSet1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSMutableSet1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSMutableSet, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); } - static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSMutableSet1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSMutableSet1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSMutableSet1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSMutableSet, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); } -} + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSMutableSet, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSMutableSet, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSMutableSet, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSMutableSet, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); + } + + static void setKeys_triggerChangeNotificationsForDependentKey_( + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSMutableSet, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = _objc_msgSend_85( + _class_NSMutableSet, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = + _objc_msgSend_2(_class_NSMutableSet, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); + } +} + +late final _class_NSMutableSet = objc.getClass("NSMutableSet"); +late final _sel_setSet_ = objc.registerName("setSet:"); +late final _sel_setWithCapacity_ = objc.registerName("setWithCapacity:"); +late final _sel_mutableSetValueForKey_ = + objc.registerName("mutableSetValueForKey:"); +final _objc_msgSend_507 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer key)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_valueForKeyPath_ = objc.registerName("valueForKeyPath:"); +late final _sel_setValue_forKeyPath_ = + objc.registerName("setValue:forKeyPath:"); +late final _sel_validateValue_forKeyPath_error_ = + objc.registerName("validateValue:forKeyPath:error:"); +late final _sel_mutableArrayValueForKeyPath_ = + objc.registerName("mutableArrayValueForKeyPath:"); +late final _sel_mutableOrderedSetValueForKeyPath_ = + objc.registerName("mutableOrderedSetValueForKeyPath:"); +late final _sel_mutableSetValueForKeyPath_ = + objc.registerName("mutableSetValueForKeyPath:"); +late final _sel_valueForUndefinedKey_ = + objc.registerName("valueForUndefinedKey:"); +late final _sel_setValue_forUndefinedKey_ = + objc.registerName("setValue:forUndefinedKey:"); +late final _sel_setNilValueForKey_ = objc.registerName("setNilValueForKey:"); +late final _sel_dictionaryWithValuesForKeys_ = + objc.registerName("dictionaryWithValuesForKeys:"); +final _objc_msgSend_508 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer keys)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_setValuesForKeysWithDictionary_ = + objc.registerName("setValuesForKeysWithDictionary:"); +final _objc_msgSend_509 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer keyedValues)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_storedValueForKey_ = objc.registerName("storedValueForKey:"); +late final _sel_takeStoredValue_forKey_ = + objc.registerName("takeStoredValue:forKey:"); +late final _sel_takeValue_forKey_ = objc.registerName("takeValue:forKey:"); +late final _sel_takeValue_forKeyPath_ = + objc.registerName("takeValue:forKeyPath:"); +late final _sel_handleQueryWithUnboundKey_ = + objc.registerName("handleQueryWithUnboundKey:"); +late final _sel_handleTakeValue_forUnboundKey_ = + objc.registerName("handleTakeValue:forUnboundKey:"); +late final _sel_unableToSetNilForKey_ = + objc.registerName("unableToSetNilForKey:"); +late final _sel_valuesForKeys_ = objc.registerName("valuesForKeys:"); +late final _sel_takeValuesFromDictionary_ = + objc.registerName("takeValuesFromDictionary:"); +late final _sel_observeValueForKeyPath_ofObject_change_context_ = + objc.registerName("observeValueForKeyPath:ofObject:change:context:"); +final _objc_msgSend_510 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer keyPath, + ffi.Pointer object, + ffi.Pointer change, + ffi.Pointer context)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_willChangeValueForKey_ = + objc.registerName("willChangeValueForKey:"); +late final _sel_didChangeValueForKey_ = + objc.registerName("didChangeValueForKey:"); abstract class NSKeyValueChange { static const int NSKeyValueChangeSetting = 1; @@ -57772,6 +23035,27 @@ abstract class NSKeyValueChange { static const int NSKeyValueChangeReplacement = 4; } +late final _sel_willChange_valuesAtIndexes_forKey_ = + objc.registerName("willChange:valuesAtIndexes:forKey:"); +final _objc_msgSend_511 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Int32 changeKind, + ffi.Pointer indexes, + ffi.Pointer key)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_didChange_valuesAtIndexes_forKey_ = + objc.registerName("didChange:valuesAtIndexes:forKey:"); + abstract class NSKeyValueSetMutationKind { static const int NSKeyValueUnionSetMutation = 1; static const int NSKeyValueMinusSetMutation = 2; @@ -57779,1015 +23063,830 @@ abstract class NSKeyValueSetMutationKind { static const int NSKeyValueSetSetMutation = 4; } +late final _sel_willChangeValueForKey_withSetMutation_usingObjects_ = + objc.registerName("willChangeValueForKey:withSetMutation:usingObjects:"); +final _objc_msgSend_512 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer key, + ffi.Int32 mutationKind, + ffi.Pointer objects)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer)>(); +late final _sel_didChangeValueForKey_withSetMutation_usingObjects_ = + objc.registerName("didChangeValueForKey:withSetMutation:usingObjects:"); +late final _sel_observationInfo = objc.registerName("observationInfo"); +late final _sel_setObservationInfo_ = objc.registerName("setObservationInfo:"); +final _objc_msgSend_513 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_classForKeyedArchiver = + objc.registerName("classForKeyedArchiver"); + class NSKeyedArchiver extends NSCoder { - NSKeyedArchiver._( - ffi.Pointer pointer, - AVFAudio lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSKeyedArchiver._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSKeyedArchiver] that points to the same underlying object as [other]. - static NSKeyedArchiver castFrom( - AVFAudio lib, - T other, - ) { - return NSKeyedArchiver._(other.pointer, lib, retain: true, release: true); + static NSKeyedArchiver castFrom(T other) { + return NSKeyedArchiver._(other.pointer, retain: true, release: true); } /// Returns a [NSKeyedArchiver] that wraps the given raw object pointer. - static NSKeyedArchiver castFromPointer( - AVFAudio lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSKeyedArchiver._(other, lib, retain: retain, release: release); + static NSKeyedArchiver castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSKeyedArchiver._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSKeyedArchiver]. - static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSKeyedArchiver1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0( + obj.pointer, _sel_isKindOfClass_, _class_NSKeyedArchiver); } NSKeyedArchiver initRequiringSecureCoding_(bool requiresSecureCoding) { - final _ret = _lib._objc_msgSend_514( - this.pointer, - _lib._sel_initRequiringSecureCoding_1, - requiresSecureCoding, - ); - return NSKeyedArchiver._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_514( + this.pointer, _sel_initRequiringSecureCoding_, requiresSecureCoding); + return NSKeyedArchiver._(_ret, retain: true, release: true); } static NSData? archivedDataWithRootObject_requiringSecureCoding_error_( - AVFAudio _lib, - NSObject object, - bool requiresSecureCoding, - ffi.Pointer> error, - ) { - final _ret = _lib._objc_msgSend_515( - _lib._class_NSKeyedArchiver1, - _lib._sel_archivedDataWithRootObject_requiringSecureCoding_error_1, - object.pointer, - requiresSecureCoding, - error, - ); + NSObject object, + bool requiresSecureCoding, + ffi.Pointer> error) { + final _ret = _objc_msgSend_515( + _class_NSKeyedArchiver, + _sel_archivedDataWithRootObject_requiringSecureCoding_error_, + object.pointer, + requiresSecureCoding, + error); return _ret.address == 0 ? null - : NSData._(_ret, _lib, retain: true, release: true); + : NSData._(_ret, retain: true, release: true); } @override NSKeyedArchiver init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSKeyedArchiver._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSKeyedArchiver._(_ret, retain: true, release: true); } NSKeyedArchiver initForWritingWithMutableData_(NSMutableData data) { - final _ret = _lib._objc_msgSend_521( - this.pointer, - _lib._sel_initForWritingWithMutableData_1, - data.pointer, - ); - return NSKeyedArchiver._(_ret, _lib, retain: true, release: true); - } - - static NSData archivedDataWithRootObject_( - AVFAudio _lib, - NSObject rootObject, - ) { - final _ret = _lib._objc_msgSend_522( - _lib._class_NSKeyedArchiver1, - _lib._sel_archivedDataWithRootObject_1, - rootObject.pointer, - ); - return NSData._(_ret, _lib, retain: true, release: true); - } - - static bool archiveRootObject_toFile_( - AVFAudio _lib, - NSObject rootObject, - NSString path, - ) { - return _lib._objc_msgSend_261( - _lib._class_NSKeyedArchiver1, - _lib._sel_archiveRootObject_toFile_1, - rootObject.pointer, - path.pointer, - ); + final _ret = _objc_msgSend_521( + this.pointer, _sel_initForWritingWithMutableData_, data.pointer); + return NSKeyedArchiver._(_ret, retain: true, release: true); + } + + static NSData archivedDataWithRootObject_(NSObject rootObject) { + final _ret = _objc_msgSend_522(_class_NSKeyedArchiver, + _sel_archivedDataWithRootObject_, rootObject.pointer); + return NSData._(_ret, retain: true, release: true); + } + + static bool archiveRootObject_toFile_(NSObject rootObject, NSString path) { + return _objc_msgSend_261(_class_NSKeyedArchiver, + _sel_archiveRootObject_toFile_, rootObject.pointer, path.pointer); } NSObject? get delegate { - final _ret = _lib._objc_msgSend_17(this.pointer, _lib._sel_delegate1); + final _ret = _objc_msgSend_17(this.pointer, _sel_delegate); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } set delegate(NSObject? value) { - return _lib._objc_msgSend_416( - this.pointer, - _lib._sel_setDelegate_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_416( + this.pointer, _sel_setDelegate_, value?.pointer ?? ffi.nullptr); } int get outputFormat { - return _lib._objc_msgSend_523(this.pointer, _lib._sel_outputFormat1); + return _objc_msgSend_523(this.pointer, _sel_outputFormat); } set outputFormat(int value) { - return _lib._objc_msgSend_524( - this.pointer, - _lib._sel_setOutputFormat_1, - value, - ); + return _objc_msgSend_524(this.pointer, _sel_setOutputFormat_, value); } NSData get encodedData { - final _ret = _lib._objc_msgSend_43(this.pointer, _lib._sel_encodedData1); - return NSData._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_43(this.pointer, _sel_encodedData); + return NSData._(_ret, retain: true, release: true); } void finishEncoding() { - _lib._objc_msgSend_1(this.pointer, _lib._sel_finishEncoding1); + _objc_msgSend_1(this.pointer, _sel_finishEncoding); } - static void setClassName_forClass_( - AVFAudio _lib, - NSString? codedName, - NSObject cls, - ) { - _lib._objc_msgSend_525( - _lib._class_NSKeyedArchiver1, - _lib._sel_setClassName_forClass_1, - codedName?.pointer ?? ffi.nullptr, - cls.pointer, - ); + static void setClassName_forClass_(NSString? codedName, NSObject cls) { + _objc_msgSend_525(_class_NSKeyedArchiver, _sel_setClassName_forClass_, + codedName?.pointer ?? ffi.nullptr, cls.pointer); } - static NSString? classNameForClass_(AVFAudio _lib, NSObject cls) { - final _ret = _lib._objc_msgSend_526( - _lib._class_NSKeyedArchiver1, - _lib._sel_classNameForClass_1, - cls.pointer, - ); + static NSString? classNameForClass_(NSObject cls) { + final _ret = _objc_msgSend_526( + _class_NSKeyedArchiver, _sel_classNameForClass_, cls.pointer); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } @override void encodeObject_forKey_(NSObject? object, NSString key) { - _lib._objc_msgSend_135( - this.pointer, - _lib._sel_encodeObject_forKey_1, - object?.pointer ?? ffi.nullptr, - key.pointer, - ); + _objc_msgSend_135(this.pointer, _sel_encodeObject_forKey_, + object?.pointer ?? ffi.nullptr, key.pointer); } @override void encodeConditionalObject_forKey_(NSObject? object, NSString key) { - _lib._objc_msgSend_135( - this.pointer, - _lib._sel_encodeConditionalObject_forKey_1, - object?.pointer ?? ffi.nullptr, - key.pointer, - ); + _objc_msgSend_135(this.pointer, _sel_encodeConditionalObject_forKey_, + object?.pointer ?? ffi.nullptr, key.pointer); } @override void encodeBool_forKey_(bool value, NSString key) { - _lib._objc_msgSend_296( - this.pointer, - _lib._sel_encodeBool_forKey_1, - value, - key.pointer, - ); + _objc_msgSend_296( + this.pointer, _sel_encodeBool_forKey_, value, key.pointer); } @override void encodeInt_forKey_(int value, NSString key) { - _lib._objc_msgSend_297( - this.pointer, - _lib._sel_encodeInt_forKey_1, - value, - key.pointer, - ); + _objc_msgSend_297(this.pointer, _sel_encodeInt_forKey_, value, key.pointer); } @override void encodeInt32_forKey_(int value, NSString key) { - _lib._objc_msgSend_298( - this.pointer, - _lib._sel_encodeInt32_forKey_1, - value, - key.pointer, - ); + _objc_msgSend_298( + this.pointer, _sel_encodeInt32_forKey_, value, key.pointer); } @override void encodeInt64_forKey_(int value, NSString key) { - _lib._objc_msgSend_299( - this.pointer, - _lib._sel_encodeInt64_forKey_1, - value, - key.pointer, - ); + _objc_msgSend_299( + this.pointer, _sel_encodeInt64_forKey_, value, key.pointer); } @override void encodeFloat_forKey_(double value, NSString key) { - _lib._objc_msgSend_300( - this.pointer, - _lib._sel_encodeFloat_forKey_1, - value, - key.pointer, - ); + _objc_msgSend_300( + this.pointer, _sel_encodeFloat_forKey_, value, key.pointer); } @override void encodeDouble_forKey_(double value, NSString key) { - _lib._objc_msgSend_301( - this.pointer, - _lib._sel_encodeDouble_forKey_1, - value, - key.pointer, - ); + _objc_msgSend_301( + this.pointer, _sel_encodeDouble_forKey_, value, key.pointer); } @override void encodeBytes_length_forKey_( - ffi.Pointer bytes, - int length, - NSString key, - ) { - _lib._objc_msgSend_302( - this.pointer, - _lib._sel_encodeBytes_length_forKey_1, - bytes, - length, - key.pointer, - ); + ffi.Pointer bytes, int length, NSString key) { + _objc_msgSend_302(this.pointer, _sel_encodeBytes_length_forKey_, bytes, + length, key.pointer); } @override bool get requiresSecureCoding { - return _lib._objc_msgSend_12(this.pointer, _lib._sel_requiresSecureCoding1); + return _objc_msgSend_12(this.pointer, _sel_requiresSecureCoding); } set requiresSecureCoding(bool value) { - return _lib._objc_msgSend_527( - this.pointer, - _lib._sel_setRequiresSecureCoding_1, - value, - ); + return _objc_msgSend_527( + this.pointer, _sel_setRequiresSecureCoding_, value); } - static NSKeyedArchiver new1(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSKeyedArchiver1, - _lib._sel_new1, - ); - return NSKeyedArchiver._(_ret, _lib, retain: false, release: true); + static NSKeyedArchiver new1() { + final _ret = _objc_msgSend_2(_class_NSKeyedArchiver, _sel_new); + return NSKeyedArchiver._(_ret, retain: false, release: true); } - static NSKeyedArchiver allocWithZone_( - AVFAudio _lib, - ffi.Pointer<_NSZone> zone, - ) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSKeyedArchiver1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSKeyedArchiver._(_ret, _lib, retain: false, release: true); + static NSKeyedArchiver allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = + _objc_msgSend_3(_class_NSKeyedArchiver, _sel_allocWithZone_, zone); + return NSKeyedArchiver._(_ret, retain: false, release: true); } - static NSKeyedArchiver alloc(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSKeyedArchiver1, - _lib._sel_alloc1, - ); - return NSKeyedArchiver._(_ret, _lib, retain: false, release: true); + static NSKeyedArchiver alloc() { + final _ret = _objc_msgSend_2(_class_NSKeyedArchiver, _sel_alloc); + return NSKeyedArchiver._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSKeyedArchiver1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSKeyedArchiver1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSKeyedArchiver1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSKeyedArchiver1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSKeyedArchiver1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSKeyedArchiver1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSKeyedArchiver, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); } - static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSKeyedArchiver1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSKeyedArchiver1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSKeyedArchiver1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSKeyedArchiver, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); } -} + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSKeyedArchiver, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSKeyedArchiver, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSKeyedArchiver, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSKeyedArchiver, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); + } + + static void setKeys_triggerChangeNotificationsForDependentKey_( + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSKeyedArchiver, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = _objc_msgSend_85( + _class_NSKeyedArchiver, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = + _objc_msgSend_2(_class_NSKeyedArchiver, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); + } +} + +late final _class_NSKeyedArchiver = objc.getClass("NSKeyedArchiver"); +late final _sel_initRequiringSecureCoding_ = + objc.registerName("initRequiringSecureCoding:"); +final _objc_msgSend_514 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Bool requiresSecureCoding)>>() + .asFunction< + instancetype Function(ffi.Pointer, + ffi.Pointer, bool)>(); +late final _sel_archivedDataWithRootObject_requiringSecureCoding_error_ = objc + .registerName("archivedDataWithRootObject:requiringSecureCoding:error:"); +final _objc_msgSend_515 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer object, + ffi.Bool requiresSecureCoding, + ffi.Pointer> error)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool, + ffi.Pointer>)>(); class NSMutableData extends NSData { - NSMutableData._( - ffi.Pointer pointer, - AVFAudio lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSMutableData._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSMutableData] that points to the same underlying object as [other]. - static NSMutableData castFrom( - AVFAudio lib, - T other, - ) { - return NSMutableData._(other.pointer, lib, retain: true, release: true); + static NSMutableData castFrom(T other) { + return NSMutableData._(other.pointer, retain: true, release: true); } /// Returns a [NSMutableData] that wraps the given raw object pointer. - static NSMutableData castFromPointer( - AVFAudio lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSMutableData._(other, lib, retain: retain, release: release); + static NSMutableData castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSMutableData._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSMutableData]. - static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSMutableData1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0( + obj.pointer, _sel_isKindOfClass_, _class_NSMutableData); } ffi.Pointer get mutableBytes { - return _lib._objc_msgSend_20(this.pointer, _lib._sel_mutableBytes1); + return _objc_msgSend_20(this.pointer, _sel_mutableBytes); } @override int get length { - return _lib._objc_msgSend_10(this.pointer, _lib._sel_length1); + return _objc_msgSend_10(this.pointer, _sel_length); } set length(int value) { - return _lib._objc_msgSend_516(this.pointer, _lib._sel_setLength_1, value); + return _objc_msgSend_516(this.pointer, _sel_setLength_, value); } void appendBytes_length_(ffi.Pointer bytes, int length) { - _lib._objc_msgSend_22( - this.pointer, - _lib._sel_appendBytes_length_1, - bytes, - length, - ); + _objc_msgSend_22(this.pointer, _sel_appendBytes_length_, bytes, length); } void appendData_(NSData other) { - _lib._objc_msgSend_285(this.pointer, _lib._sel_appendData_1, other.pointer); + _objc_msgSend_285(this.pointer, _sel_appendData_, other.pointer); } void increaseLengthBy_(int extraLength) { - _lib._objc_msgSend_470( - this.pointer, - _lib._sel_increaseLengthBy_1, - extraLength, - ); + _objc_msgSend_470(this.pointer, _sel_increaseLengthBy_, extraLength); } void replaceBytesInRange_withBytes_( - _NSRange range, - ffi.Pointer bytes, - ) { - _lib._objc_msgSend_517( - this.pointer, - _lib._sel_replaceBytesInRange_withBytes_1, - range, - bytes, - ); + _NSRange range, ffi.Pointer bytes) { + _objc_msgSend_517( + this.pointer, _sel_replaceBytesInRange_withBytes_, range, bytes); } void resetBytesInRange_(_NSRange range) { - _lib._objc_msgSend_476(this.pointer, _lib._sel_resetBytesInRange_1, range); + _objc_msgSend_476(this.pointer, _sel_resetBytesInRange_, range); } void setData_(NSData data) { - _lib._objc_msgSend_285(this.pointer, _lib._sel_setData_1, data.pointer); + _objc_msgSend_285(this.pointer, _sel_setData_, data.pointer); } - void replaceBytesInRange_withBytes_length_( - _NSRange range, - ffi.Pointer replacementBytes, - int replacementLength, - ) { - _lib._objc_msgSend_518( - this.pointer, - _lib._sel_replaceBytesInRange_withBytes_length_1, - range, - replacementBytes, - replacementLength, - ); + void replaceBytesInRange_withBytes_length_(_NSRange range, + ffi.Pointer replacementBytes, int replacementLength) { + _objc_msgSend_518(this.pointer, _sel_replaceBytesInRange_withBytes_length_, + range, replacementBytes, replacementLength); } - static NSMutableData? dataWithCapacity_(AVFAudio _lib, int aNumItems) { - final _ret = _lib._objc_msgSend_519( - _lib._class_NSMutableData1, - _lib._sel_dataWithCapacity_1, - aNumItems, - ); + static NSMutableData? dataWithCapacity_(int aNumItems) { + final _ret = _objc_msgSend_519( + _class_NSMutableData, _sel_dataWithCapacity_, aNumItems); return _ret.address == 0 ? null - : NSMutableData._(_ret, _lib, retain: true, release: true); + : NSMutableData._(_ret, retain: true, release: true); } - static NSMutableData? dataWithLength_(AVFAudio _lib, int length) { - final _ret = _lib._objc_msgSend_519( - _lib._class_NSMutableData1, - _lib._sel_dataWithLength_1, - length, - ); + static NSMutableData? dataWithLength_(int length) { + final _ret = + _objc_msgSend_519(_class_NSMutableData, _sel_dataWithLength_, length); return _ret.address == 0 ? null - : NSMutableData._(_ret, _lib, retain: true, release: true); + : NSMutableData._(_ret, retain: true, release: true); } NSMutableData? initWithCapacity_(int capacity) { - final _ret = _lib._objc_msgSend_519( - this.pointer, - _lib._sel_initWithCapacity_1, - capacity, - ); + final _ret = + _objc_msgSend_519(this.pointer, _sel_initWithCapacity_, capacity); return _ret.address == 0 ? null - : NSMutableData._(_ret, _lib, retain: true, release: true); + : NSMutableData._(_ret, retain: true, release: true); } NSMutableData? initWithLength_(int length) { - final _ret = _lib._objc_msgSend_519( - this.pointer, - _lib._sel_initWithLength_1, - length, - ); + final _ret = _objc_msgSend_519(this.pointer, _sel_initWithLength_, length); return _ret.address == 0 ? null - : NSMutableData._(_ret, _lib, retain: true, release: true); + : NSMutableData._(_ret, retain: true, release: true); } bool decompressUsingAlgorithm_error_( - int algorithm, - ffi.Pointer> error, - ) { - return _lib._objc_msgSend_520( - this.pointer, - _lib._sel_decompressUsingAlgorithm_error_1, - algorithm, - error, - ); + int algorithm, ffi.Pointer> error) { + return _objc_msgSend_520( + this.pointer, _sel_decompressUsingAlgorithm_error_, algorithm, error); } bool compressUsingAlgorithm_error_( - int algorithm, - ffi.Pointer> error, - ) { - return _lib._objc_msgSend_520( - this.pointer, - _lib._sel_compressUsingAlgorithm_error_1, - algorithm, - error, - ); + int algorithm, ffi.Pointer> error) { + return _objc_msgSend_520( + this.pointer, _sel_compressUsingAlgorithm_error_, algorithm, error); } - static NSMutableData data(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSMutableData1, - _lib._sel_data1, - ); - return NSMutableData._(_ret, _lib, retain: true, release: true); + static NSMutableData data() { + final _ret = _objc_msgSend_2(_class_NSMutableData, _sel_data); + return NSMutableData._(_ret, retain: true, release: true); } static NSMutableData dataWithBytes_length_( - AVFAudio _lib, - ffi.Pointer bytes, - int length, - ) { - final _ret = _lib._objc_msgSend_273( - _lib._class_NSMutableData1, - _lib._sel_dataWithBytes_length_1, - bytes, - length, - ); - return NSMutableData._(_ret, _lib, retain: true, release: true); + ffi.Pointer bytes, int length) { + final _ret = _objc_msgSend_273( + _class_NSMutableData, _sel_dataWithBytes_length_, bytes, length); + return NSMutableData._(_ret, retain: true, release: true); } static NSMutableData dataWithBytesNoCopy_length_( - AVFAudio _lib, - ffi.Pointer bytes, - int length, - ) { - final _ret = _lib._objc_msgSend_273( - _lib._class_NSMutableData1, - _lib._sel_dataWithBytesNoCopy_length_1, - bytes, - length, - ); - return NSMutableData._(_ret, _lib, retain: false, release: true); + ffi.Pointer bytes, int length) { + final _ret = _objc_msgSend_273( + _class_NSMutableData, _sel_dataWithBytesNoCopy_length_, bytes, length); + return NSMutableData._(_ret, retain: false, release: true); } static NSMutableData dataWithBytesNoCopy_length_freeWhenDone_( - AVFAudio _lib, - ffi.Pointer bytes, - int length, - bool b, - ) { - final _ret = _lib._objc_msgSend_274( - _lib._class_NSMutableData1, - _lib._sel_dataWithBytesNoCopy_length_freeWhenDone_1, - bytes, - length, - b, - ); - return NSMutableData._(_ret, _lib, retain: false, release: true); + ffi.Pointer bytes, int length, bool b) { + final _ret = _objc_msgSend_274(_class_NSMutableData, + _sel_dataWithBytesNoCopy_length_freeWhenDone_, bytes, length, b); + return NSMutableData._(_ret, retain: false, release: true); } - static NSMutableData? dataWithContentsOfFile_options_error_( - AVFAudio _lib, - NSString path, - int readOptionsMask, - ffi.Pointer> errorPtr, - ) { - final _ret = _lib._objc_msgSend_275( - _lib._class_NSMutableData1, - _lib._sel_dataWithContentsOfFile_options_error_1, - path.pointer, - readOptionsMask, - errorPtr, - ); + static NSMutableData? dataWithContentsOfFile_options_error_(NSString path, + int readOptionsMask, ffi.Pointer> errorPtr) { + final _ret = _objc_msgSend_275( + _class_NSMutableData, + _sel_dataWithContentsOfFile_options_error_, + path.pointer, + readOptionsMask, + errorPtr); return _ret.address == 0 ? null - : NSMutableData._(_ret, _lib, retain: true, release: true); + : NSMutableData._(_ret, retain: true, release: true); } - static NSMutableData? dataWithContentsOfURL_options_error_( - AVFAudio _lib, - NSURL url, - int readOptionsMask, - ffi.Pointer> errorPtr, - ) { - final _ret = _lib._objc_msgSend_276( - _lib._class_NSMutableData1, - _lib._sel_dataWithContentsOfURL_options_error_1, - url.pointer, - readOptionsMask, - errorPtr, - ); + static NSMutableData? dataWithContentsOfURL_options_error_(NSURL url, + int readOptionsMask, ffi.Pointer> errorPtr) { + final _ret = _objc_msgSend_276( + _class_NSMutableData, + _sel_dataWithContentsOfURL_options_error_, + url.pointer, + readOptionsMask, + errorPtr); return _ret.address == 0 ? null - : NSMutableData._(_ret, _lib, retain: true, release: true); + : NSMutableData._(_ret, retain: true, release: true); } - static NSMutableData? dataWithContentsOfFile_(AVFAudio _lib, NSString path) { - final _ret = _lib._objc_msgSend_38( - _lib._class_NSMutableData1, - _lib._sel_dataWithContentsOfFile_1, - path.pointer, - ); + static NSMutableData? dataWithContentsOfFile_(NSString path) { + final _ret = _objc_msgSend_38( + _class_NSMutableData, _sel_dataWithContentsOfFile_, path.pointer); return _ret.address == 0 ? null - : NSMutableData._(_ret, _lib, retain: true, release: true); + : NSMutableData._(_ret, retain: true, release: true); } - static NSMutableData? dataWithContentsOfURL_(AVFAudio _lib, NSURL url) { - final _ret = _lib._objc_msgSend_277( - _lib._class_NSMutableData1, - _lib._sel_dataWithContentsOfURL_1, - url.pointer, - ); + static NSMutableData? dataWithContentsOfURL_(NSURL url) { + final _ret = _objc_msgSend_277( + _class_NSMutableData, _sel_dataWithContentsOfURL_, url.pointer); return _ret.address == 0 ? null - : NSMutableData._(_ret, _lib, retain: true, release: true); + : NSMutableData._(_ret, retain: true, release: true); } @override NSMutableData initWithBytes_length_(ffi.Pointer bytes, int length) { - final _ret = _lib._objc_msgSend_273( - this.pointer, - _lib._sel_initWithBytes_length_1, - bytes, - length, - ); - return NSMutableData._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_273( + this.pointer, _sel_initWithBytes_length_, bytes, length); + return NSMutableData._(_ret, retain: true, release: true); } @override NSMutableData initWithBytesNoCopy_length_( - ffi.Pointer bytes, - int length, - ) { - final _ret = _lib._objc_msgSend_273( - this.pointer, - _lib._sel_initWithBytesNoCopy_length_1, - bytes, - length, - ); - return NSMutableData._(_ret, _lib, retain: false, release: true); + ffi.Pointer bytes, int length) { + final _ret = _objc_msgSend_273( + this.pointer, _sel_initWithBytesNoCopy_length_, bytes, length); + return NSMutableData._(_ret, retain: false, release: true); } @override NSMutableData initWithBytesNoCopy_length_freeWhenDone_( - ffi.Pointer bytes, - int length, - bool b, - ) { - final _ret = _lib._objc_msgSend_274( - this.pointer, - _lib._sel_initWithBytesNoCopy_length_freeWhenDone_1, - bytes, - length, - b, - ); - return NSMutableData._(_ret, _lib, retain: false, release: true); + ffi.Pointer bytes, int length, bool b) { + final _ret = _objc_msgSend_274(this.pointer, + _sel_initWithBytesNoCopy_length_freeWhenDone_, bytes, length, b); + return NSMutableData._(_ret, retain: false, release: true); } @override NSMutableData initWithBytesNoCopy_length_deallocator_( - ffi.Pointer bytes, - int length, - ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong? deallocator, - ) { - final _ret = _lib._objc_msgSend_278( - this.pointer, - _lib._sel_initWithBytesNoCopy_length_deallocator_1, - bytes, - length, - deallocator?.pointer ?? ffi.nullptr, - ); - return NSMutableData._(_ret, _lib, retain: false, release: true); + ffi.Pointer bytes, + int length, + ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong? deallocator) { + final _ret = _objc_msgSend_278( + this.pointer, + _sel_initWithBytesNoCopy_length_deallocator_, + bytes, + length, + deallocator?.pointer ?? ffi.nullptr); + return NSMutableData._(_ret, retain: false, release: true); } @override - NSMutableData? initWithContentsOfFile_options_error_( - NSString path, - int readOptionsMask, - ffi.Pointer> errorPtr, - ) { - final _ret = _lib._objc_msgSend_275( - this.pointer, - _lib._sel_initWithContentsOfFile_options_error_1, - path.pointer, - readOptionsMask, - errorPtr, - ); + NSMutableData? initWithContentsOfFile_options_error_(NSString path, + int readOptionsMask, ffi.Pointer> errorPtr) { + final _ret = _objc_msgSend_275( + this.pointer, + _sel_initWithContentsOfFile_options_error_, + path.pointer, + readOptionsMask, + errorPtr); return _ret.address == 0 ? null - : NSMutableData._(_ret, _lib, retain: true, release: true); + : NSMutableData._(_ret, retain: true, release: true); } @override - NSMutableData? initWithContentsOfURL_options_error_( - NSURL url, - int readOptionsMask, - ffi.Pointer> errorPtr, - ) { - final _ret = _lib._objc_msgSend_276( - this.pointer, - _lib._sel_initWithContentsOfURL_options_error_1, - url.pointer, - readOptionsMask, - errorPtr, - ); + NSMutableData? initWithContentsOfURL_options_error_(NSURL url, + int readOptionsMask, ffi.Pointer> errorPtr) { + final _ret = _objc_msgSend_276( + this.pointer, + _sel_initWithContentsOfURL_options_error_, + url.pointer, + readOptionsMask, + errorPtr); return _ret.address == 0 ? null - : NSMutableData._(_ret, _lib, retain: true, release: true); + : NSMutableData._(_ret, retain: true, release: true); } @override NSMutableData? initWithContentsOfFile_(NSString path) { - final _ret = _lib._objc_msgSend_38( - this.pointer, - _lib._sel_initWithContentsOfFile_1, - path.pointer, - ); + final _ret = _objc_msgSend_38( + this.pointer, _sel_initWithContentsOfFile_, path.pointer); return _ret.address == 0 ? null - : NSMutableData._(_ret, _lib, retain: true, release: true); + : NSMutableData._(_ret, retain: true, release: true); } @override NSMutableData? initWithContentsOfURL_(NSURL url) { - final _ret = _lib._objc_msgSend_277( - this.pointer, - _lib._sel_initWithContentsOfURL_1, - url.pointer, - ); + final _ret = _objc_msgSend_277( + this.pointer, _sel_initWithContentsOfURL_, url.pointer); return _ret.address == 0 ? null - : NSMutableData._(_ret, _lib, retain: true, release: true); + : NSMutableData._(_ret, retain: true, release: true); } @override NSMutableData initWithData_(NSData data) { - final _ret = _lib._objc_msgSend_279( - this.pointer, - _lib._sel_initWithData_1, - data.pointer, - ); - return NSMutableData._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_279(this.pointer, _sel_initWithData_, data.pointer); + return NSMutableData._(_ret, retain: true, release: true); } - static NSMutableData dataWithData_(AVFAudio _lib, NSData data) { - final _ret = _lib._objc_msgSend_279( - _lib._class_NSMutableData1, - _lib._sel_dataWithData_1, - data.pointer, - ); - return NSMutableData._(_ret, _lib, retain: true, release: true); + static NSMutableData dataWithData_(NSData data) { + final _ret = _objc_msgSend_279( + _class_NSMutableData, _sel_dataWithData_, data.pointer); + return NSMutableData._(_ret, retain: true, release: true); } @override NSMutableData? initWithBase64EncodedString_options_( - NSString base64String, - int options, - ) { - final _ret = _lib._objc_msgSend_280( - this.pointer, - _lib._sel_initWithBase64EncodedString_options_1, - base64String.pointer, - options, - ); + NSString base64String, int options) { + final _ret = _objc_msgSend_280( + this.pointer, + _sel_initWithBase64EncodedString_options_, + base64String.pointer, + options); return _ret.address == 0 ? null - : NSMutableData._(_ret, _lib, retain: true, release: true); + : NSMutableData._(_ret, retain: true, release: true); } @override NSMutableData? initWithBase64EncodedData_options_( - NSData base64Data, - int options, - ) { - final _ret = _lib._objc_msgSend_282( - this.pointer, - _lib._sel_initWithBase64EncodedData_options_1, - base64Data.pointer, - options, - ); + NSData base64Data, int options) { + final _ret = _objc_msgSend_282(this.pointer, + _sel_initWithBase64EncodedData_options_, base64Data.pointer, options); return _ret.address == 0 ? null - : NSMutableData._(_ret, _lib, retain: true, release: true); + : NSMutableData._(_ret, retain: true, release: true); } @override NSMutableData? decompressedDataUsingAlgorithm_error_( - int algorithm, - ffi.Pointer> error, - ) { - final _ret = _lib._objc_msgSend_284( - this.pointer, - _lib._sel_decompressedDataUsingAlgorithm_error_1, - algorithm, - error, - ); + int algorithm, ffi.Pointer> error) { + final _ret = _objc_msgSend_284(this.pointer, + _sel_decompressedDataUsingAlgorithm_error_, algorithm, error); return _ret.address == 0 ? null - : NSMutableData._(_ret, _lib, retain: true, release: true); + : NSMutableData._(_ret, retain: true, release: true); } @override NSMutableData? compressedDataUsingAlgorithm_error_( - int algorithm, - ffi.Pointer> error, - ) { - final _ret = _lib._objc_msgSend_284( - this.pointer, - _lib._sel_compressedDataUsingAlgorithm_error_1, - algorithm, - error, - ); + int algorithm, ffi.Pointer> error) { + final _ret = _objc_msgSend_284(this.pointer, + _sel_compressedDataUsingAlgorithm_error_, algorithm, error); return _ret.address == 0 ? null - : NSMutableData._(_ret, _lib, retain: true, release: true); + : NSMutableData._(_ret, retain: true, release: true); } - static NSObject? dataWithContentsOfMappedFile_(AVFAudio _lib, NSString path) { - final _ret = _lib._objc_msgSend_38( - _lib._class_NSMutableData1, - _lib._sel_dataWithContentsOfMappedFile_1, - path.pointer, - ); + static NSObject? dataWithContentsOfMappedFile_(NSString path) { + final _ret = _objc_msgSend_38( + _class_NSMutableData, _sel_dataWithContentsOfMappedFile_, path.pointer); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } @override NSMutableData init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSMutableData._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSMutableData._(_ret, retain: true, release: true); } - static NSMutableData new1(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSMutableData1, - _lib._sel_new1, - ); - return NSMutableData._(_ret, _lib, retain: false, release: true); + static NSMutableData new1() { + final _ret = _objc_msgSend_2(_class_NSMutableData, _sel_new); + return NSMutableData._(_ret, retain: false, release: true); } - static NSMutableData allocWithZone_( - AVFAudio _lib, - ffi.Pointer<_NSZone> zone, - ) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSMutableData1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSMutableData._(_ret, _lib, retain: false, release: true); + static NSMutableData allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = + _objc_msgSend_3(_class_NSMutableData, _sel_allocWithZone_, zone); + return NSMutableData._(_ret, retain: false, release: true); } - static NSMutableData alloc(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSMutableData1, - _lib._sel_alloc1, - ); - return NSMutableData._(_ret, _lib, retain: false, release: true); + static NSMutableData alloc() { + final _ret = _objc_msgSend_2(_class_NSMutableData, _sel_alloc); + return NSMutableData._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSMutableData1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSMutableData1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSMutableData1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSMutableData1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSMutableData1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSMutableData1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSMutableData, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); } - static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSMutableData1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSMutableData1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSMutableData1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSMutableData, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); } -} + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSMutableData, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSMutableData, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSMutableData, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSMutableData, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); + } + + static void setKeys_triggerChangeNotificationsForDependentKey_( + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSMutableData, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = _objc_msgSend_85( + _class_NSMutableData, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = + _objc_msgSend_2(_class_NSMutableData, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); + } +} + +late final _class_NSMutableData = objc.getClass("NSMutableData"); +late final _sel_mutableBytes = objc.registerName("mutableBytes"); +late final _sel_setLength_ = objc.registerName("setLength:"); +final _objc_msgSend_516 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer obj, + ffi.Pointer sel, ffi.UnsignedLong value)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, int)>(); +late final _sel_appendBytes_length_ = objc.registerName("appendBytes:length:"); +late final _sel_appendData_ = objc.registerName("appendData:"); +late final _sel_increaseLengthBy_ = objc.registerName("increaseLengthBy:"); +late final _sel_replaceBytesInRange_withBytes_ = + objc.registerName("replaceBytesInRange:withBytes:"); +final _objc_msgSend_517 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + _NSRange range, + ffi.Pointer bytes)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, _NSRange, ffi.Pointer)>(); +late final _sel_resetBytesInRange_ = objc.registerName("resetBytesInRange:"); +late final _sel_setData_ = objc.registerName("setData:"); +late final _sel_replaceBytesInRange_withBytes_length_ = + objc.registerName("replaceBytesInRange:withBytes:length:"); +final _objc_msgSend_518 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + _NSRange range, + ffi.Pointer replacementBytes, + ffi.UnsignedLong replacementLength)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + int)>(); +late final _sel_dataWithCapacity_ = objc.registerName("dataWithCapacity:"); +final _objc_msgSend_519 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.UnsignedLong aNumItems)>>() + .asFunction< + instancetype Function(ffi.Pointer, + ffi.Pointer, int)>(); +late final _sel_dataWithLength_ = objc.registerName("dataWithLength:"); +late final _sel_initWithLength_ = objc.registerName("initWithLength:"); +late final _sel_decompressUsingAlgorithm_error_ = + objc.registerName("decompressUsingAlgorithm:error:"); +final _objc_msgSend_520 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Int32 algorithm, + ffi.Pointer> error)>>() + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer>)>(); +late final _sel_compressUsingAlgorithm_error_ = + objc.registerName("compressUsingAlgorithm:error:"); +late final _sel_initForWritingWithMutableData_ = + objc.registerName("initForWritingWithMutableData:"); +final _objc_msgSend_521 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer data)>>() + .asFunction< + instancetype Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_archivedDataWithRootObject_ = + objc.registerName("archivedDataWithRootObject:"); +final _objc_msgSend_522 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer rootObject)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_archiveRootObject_toFile_ = + objc.registerName("archiveRootObject:toFile:"); abstract class NSPropertyListFormat { static const int NSPropertyListOpenStepFormat = 1; @@ -58795,358 +23894,371 @@ abstract class NSPropertyListFormat { static const int NSPropertyListBinaryFormat_v1_0 = 200; } +late final _sel_outputFormat = objc.registerName("outputFormat"); +final _objc_msgSend_523 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + int Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_setOutputFormat_ = objc.registerName("setOutputFormat:"); +final _objc_msgSend_524 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer obj, + ffi.Pointer sel, ffi.Int32 value)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, int)>(); +late final _sel_encodedData = objc.registerName("encodedData"); +late final _sel_finishEncoding = objc.registerName("finishEncoding"); +late final _sel_setClassName_forClass_ = + objc.registerName("setClassName:forClass:"); +final _objc_msgSend_525 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer codedName, + ffi.Pointer cls)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_classNameForClass_ = objc.registerName("classNameForClass:"); +final _objc_msgSend_526 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer cls)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_setRequiresSecureCoding_ = + objc.registerName("setRequiresSecureCoding:"); +final _objc_msgSend_527 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer obj, + ffi.Pointer sel, ffi.Bool value)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, bool)>(); +late final _sel_replacementObjectForKeyedArchiver_ = + objc.registerName("replacementObjectForKeyedArchiver:"); +final _objc_msgSend_528 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer archiver)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_performSelectorOnMainThread_withObject_waitUntilDone_modes_ = + objc.registerName( + "performSelectorOnMainThread:withObject:waitUntilDone:modes:"); +final _objc_msgSend_529 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer aSelector, + ffi.Pointer arg, + ffi.Bool wait, + ffi.Pointer array)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool, + ffi.Pointer)>(); +late final _sel_performSelectorOnMainThread_withObject_waitUntilDone_ = + objc.registerName("performSelectorOnMainThread:withObject:waitUntilDone:"); +final _objc_msgSend_530 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer aSelector, + ffi.Pointer arg, + ffi.Bool wait)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool)>(); + class NSThread extends NSObject { - NSThread._( - ffi.Pointer pointer, - AVFAudio lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSThread._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSThread] that points to the same underlying object as [other]. - static NSThread castFrom( - AVFAudio lib, - T other, - ) { - return NSThread._(other.pointer, lib, retain: true, release: true); + static NSThread castFrom(T other) { + return NSThread._(other.pointer, retain: true, release: true); } /// Returns a [NSThread] that wraps the given raw object pointer. - static NSThread castFromPointer( - AVFAudio lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSThread._(other, lib, retain: retain, release: release); + static NSThread castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSThread._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSThread]. - static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSThread1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0(obj.pointer, _sel_isKindOfClass_, _class_NSThread); } - static NSThread getCurrentThread(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_531( - _lib._class_NSThread1, - _lib._sel_currentThread1, - ); - return NSThread._(_ret, _lib, retain: true, release: true); + static NSThread getCurrentThread() { + final _ret = _objc_msgSend_531(_class_NSThread, _sel_currentThread); + return NSThread._(_ret, retain: true, release: true); } - static void detachNewThreadWithBlock_( - AVFAudio _lib, - ObjCBlock_ffiVoid block, - ) { - _lib._objc_msgSend_532( - _lib._class_NSThread1, - _lib._sel_detachNewThreadWithBlock_1, - block.pointer, - ); + static void detachNewThreadWithBlock_(ObjCBlock_ffiVoid block) { + _objc_msgSend_532( + _class_NSThread, _sel_detachNewThreadWithBlock_, block.pointer); } static void detachNewThreadSelector_toTarget_withObject_( - AVFAudio _lib, - ffi.Pointer selector, - NSObject target, - NSObject? argument, - ) { - _lib._objc_msgSend_533( - _lib._class_NSThread1, - _lib._sel_detachNewThreadSelector_toTarget_withObject_1, - selector, - target.pointer, - argument?.pointer ?? ffi.nullptr, - ); - } - - static bool isMultiThreaded(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSThread1, - _lib._sel_isMultiThreaded1, - ); + ffi.Pointer selector, + NSObject target, + NSObject? argument) { + _objc_msgSend_533( + _class_NSThread, + _sel_detachNewThreadSelector_toTarget_withObject_, + selector, + target.pointer, + argument?.pointer ?? ffi.nullptr); + } + + static bool isMultiThreaded() { + return _objc_msgSend_12(_class_NSThread, _sel_isMultiThreaded); } NSMutableDictionary get threadDictionary { - final _ret = _lib._objc_msgSend_539( - this.pointer, - _lib._sel_threadDictionary1, - ); - return NSMutableDictionary._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_539(this.pointer, _sel_threadDictionary); + return NSMutableDictionary._(_ret, retain: true, release: true); } - static void sleepUntilDate_(AVFAudio _lib, NSDate date) { - _lib._objc_msgSend_540( - _lib._class_NSThread1, - _lib._sel_sleepUntilDate_1, - date.pointer, - ); + static void sleepUntilDate_(NSDate date) { + _objc_msgSend_540(_class_NSThread, _sel_sleepUntilDate_, date.pointer); } - static void sleepForTimeInterval_(AVFAudio _lib, double ti) { - _lib._objc_msgSend_541( - _lib._class_NSThread1, - _lib._sel_sleepForTimeInterval_1, - ti, - ); + static void sleepForTimeInterval_(double ti) { + _objc_msgSend_541(_class_NSThread, _sel_sleepForTimeInterval_, ti); } - static void exit(AVFAudio _lib) { - _lib._objc_msgSend_1(_lib._class_NSThread1, _lib._sel_exit1); + static void exit() { + _objc_msgSend_1(_class_NSThread, _sel_exit); } double get threadPriority { return objc.useMsgSendVariants - ? _lib._objc_msgSend_165_fpret(this.pointer, _lib._sel_threadPriority1) - : _lib._objc_msgSend_165(this.pointer, _lib._sel_threadPriority1); + ? _objc_msgSend_165Fpret(this.pointer, _sel_threadPriority) + : _objc_msgSend_165(this.pointer, _sel_threadPriority); } set threadPriority(double value) { - return _lib._objc_msgSend_542( - this.pointer, - _lib._sel_setThreadPriority_1, - value, - ); + return _objc_msgSend_542(this.pointer, _sel_setThreadPriority_, value); } int get qualityOfService { - return _lib._objc_msgSend_543(this.pointer, _lib._sel_qualityOfService1); + return _objc_msgSend_543(this.pointer, _sel_qualityOfService); } set qualityOfService(int value) { - return _lib._objc_msgSend_544( - this.pointer, - _lib._sel_setQualityOfService_1, - value, - ); + return _objc_msgSend_544(this.pointer, _sel_setQualityOfService_, value); } - static NSArray getCallStackReturnAddresses(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSThread1, - _lib._sel_callStackReturnAddresses1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); + static NSArray getCallStackReturnAddresses() { + final _ret = + _objc_msgSend_85(_class_NSThread, _sel_callStackReturnAddresses); + return NSArray._(_ret, retain: true, release: true); } - static NSArray getCallStackSymbols(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSThread1, - _lib._sel_callStackSymbols1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); + static NSArray getCallStackSymbols() { + final _ret = _objc_msgSend_85(_class_NSThread, _sel_callStackSymbols); + return NSArray._(_ret, retain: true, release: true); } NSString? get name { - final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_name1); + final _ret = _objc_msgSend_44(this.pointer, _sel_name); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } set name(NSString? value) { - return _lib._objc_msgSend_545( - this.pointer, - _lib._sel_setName_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_545( + this.pointer, _sel_setName_, value?.pointer ?? ffi.nullptr); } int get stackSize { - return _lib._objc_msgSend_10(this.pointer, _lib._sel_stackSize1); + return _objc_msgSend_10(this.pointer, _sel_stackSize); } set stackSize(int value) { - return _lib._objc_msgSend_516( - this.pointer, - _lib._sel_setStackSize_1, - value, - ); + return _objc_msgSend_516(this.pointer, _sel_setStackSize_, value); } bool get isMainThread { - return _lib._objc_msgSend_12(this.pointer, _lib._sel_isMainThread1); + return _objc_msgSend_12(this.pointer, _sel_isMainThread); } - static NSThread getMainThread(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_531( - _lib._class_NSThread1, - _lib._sel_mainThread1, - ); - return NSThread._(_ret, _lib, retain: true, release: true); + static NSThread getMainThread() { + final _ret = _objc_msgSend_531(_class_NSThread, _sel_mainThread); + return NSThread._(_ret, retain: true, release: true); } @override NSThread init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSThread._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSThread._(_ret, retain: true, release: true); } - NSThread initWithTarget_selector_object_( - NSObject target, - ffi.Pointer selector, - NSObject? argument, - ) { - final _ret = _lib._objc_msgSend_546( - this.pointer, - _lib._sel_initWithTarget_selector_object_1, - target.pointer, - selector, - argument?.pointer ?? ffi.nullptr, - ); - return NSThread._(_ret, _lib, retain: true, release: true); + NSThread initWithTarget_selector_object_(NSObject target, + ffi.Pointer selector, NSObject? argument) { + final _ret = _objc_msgSend_546( + this.pointer, + _sel_initWithTarget_selector_object_, + target.pointer, + selector, + argument?.pointer ?? ffi.nullptr); + return NSThread._(_ret, retain: true, release: true); } NSThread initWithBlock_(ObjCBlock_ffiVoid block) { - final _ret = _lib._objc_msgSend_547( - this.pointer, - _lib._sel_initWithBlock_1, - block.pointer, - ); - return NSThread._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_547(this.pointer, _sel_initWithBlock_, block.pointer); + return NSThread._(_ret, retain: true, release: true); } bool get executing { - return _lib._objc_msgSend_12(this.pointer, _lib._sel_isExecuting1); + return _objc_msgSend_12(this.pointer, _sel_isExecuting); } bool get finished { - return _lib._objc_msgSend_12(this.pointer, _lib._sel_isFinished1); + return _objc_msgSend_12(this.pointer, _sel_isFinished); } bool get cancelled { - return _lib._objc_msgSend_12(this.pointer, _lib._sel_isCancelled1); + return _objc_msgSend_12(this.pointer, _sel_isCancelled); } void cancel() { - _lib._objc_msgSend_1(this.pointer, _lib._sel_cancel1); + _objc_msgSend_1(this.pointer, _sel_cancel); } void start() { - _lib._objc_msgSend_1(this.pointer, _lib._sel_start1); + _objc_msgSend_1(this.pointer, _sel_start); } void main() { - _lib._objc_msgSend_1(this.pointer, _lib._sel_main1); + _objc_msgSend_1(this.pointer, _sel_main); } - static NSThread new1(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2(_lib._class_NSThread1, _lib._sel_new1); - return NSThread._(_ret, _lib, retain: false, release: true); + static NSThread new1() { + final _ret = _objc_msgSend_2(_class_NSThread, _sel_new); + return NSThread._(_ret, retain: false, release: true); } - static NSThread allocWithZone_(AVFAudio _lib, ffi.Pointer<_NSZone> zone) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSThread1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSThread._(_ret, _lib, retain: false, release: true); + static NSThread allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = _objc_msgSend_3(_class_NSThread, _sel_allocWithZone_, zone); + return NSThread._(_ret, retain: false, release: true); } - static NSThread alloc(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2(_lib._class_NSThread1, _lib._sel_alloc1); - return NSThread._(_ret, _lib, retain: false, release: true); + static NSThread alloc() { + final _ret = _objc_msgSend_2(_class_NSThread, _sel_alloc); + return NSThread._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSThread1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSThread1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSThread1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSThread1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSThread1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSThread1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSThread, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); } - static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSThread1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSThread1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSThread1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSThread, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); + } + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSThread, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSThread, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSThread, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSThread, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); } -} -void _ObjCBlock_ffiVoid_fnPtrTrampoline(ffi.Pointer block) => + static void setKeys_triggerChangeNotificationsForDependentKey_( + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSThread, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = + _objc_msgSend_85(_class_NSThread, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = _objc_msgSend_2(_class_NSThread, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); + } +} + +late final _class_NSThread = objc.getClass("NSThread"); +late final _sel_currentThread = objc.registerName("currentThread"); +final _objc_msgSend_531 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +void _ObjCBlock_ffiVoid_fnPtrTrampoline( + ffi.Pointer block, +) => block.ref.target .cast>() .asFunction()(); @@ -59164,23 +24276,14 @@ void _ObjCBlock_ffiVoid_closureTrampoline( _ObjCBlock_ffiVoid_closureRegistry[block.ref.target.address]!(); class ObjCBlock_ffiVoid extends objc.ObjCBlockBase { - ObjCBlock_ffiVoid._( - ffi.Pointer pointer, - this._lib, { - bool retain = false, - bool release = true, - }) : super(pointer, retain: retain, release: release); - - AVFAudio _lib; + ObjCBlock_ffiVoid._(ffi.Pointer pointer, + {bool retain = false, bool release = true}) + : super(pointer, retain: retain, release: release); /// Returns a block that wraps the given raw block pointer. - static ObjCBlock_ffiVoid castFromPointer( - AVFAudio lib, - ffi.Pointer pointer, { - bool retain = false, - bool release = false, - }) { - return ObjCBlock_ffiVoid._(pointer, lib, retain: retain, release: release); + static ObjCBlock_ffiVoid castFromPointer(ffi.Pointer pointer, + {bool retain = false, bool release = false}) { + return ObjCBlock_ffiVoid._(pointer, retain: retain, release: release); } /// Creates a block from a C function pointer. @@ -59189,17 +24292,13 @@ class ObjCBlock_ffiVoid extends objc.ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid.fromFunctionPointer( - AVFAudio lib, - ffi.Pointer> ptr, - ) : this._( - objc.newBlock( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function(ffi.Pointer)>( - _ObjCBlock_ffiVoid_fnPtrTrampoline) - .cast(), - ptr.cast(), - ), - lib); + ffi.Pointer> ptr) + : this._(objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function(ffi.Pointer)>( + _ObjCBlock_ffiVoid_fnPtrTrampoline) + .cast(), + ptr.cast())); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -59207,16 +24306,13 @@ class ObjCBlock_ffiVoid extends objc.ObjCBlockBase { /// This block must be invoked by native code running on the same thread as /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. - ObjCBlock_ffiVoid.fromFunction(AVFAudio lib, void Function() fn) - : this._( - objc.newBlock( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function(ffi.Pointer)>( - _ObjCBlock_ffiVoid_closureTrampoline) - .cast(), - _ObjCBlock_ffiVoid_registerClosure(() => fn()), - ), - lib); + ObjCBlock_ffiVoid.fromFunction(void Function() fn) + : this._(objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function(ffi.Pointer)>( + _ObjCBlock_ffiVoid_closureTrampoline) + .cast(), + _ObjCBlock_ffiVoid_registerClosure(() => fn()))); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -59228,514 +24324,469 @@ class ObjCBlock_ffiVoid extends objc.ObjCBlockBase { /// /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. - ObjCBlock_ffiVoid.listener(AVFAudio lib, void Function() fn) - : this._( - objc.newBlock( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function(ffi.Pointer)>.listener( - _ObjCBlock_ffiVoid_closureTrampoline, - )..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_registerClosure(() => fn()), - ), - lib); + ObjCBlock_ffiVoid.listener(void Function() fn) + : this._(objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer)>.listener( + _ObjCBlock_ffiVoid_closureTrampoline) + ..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_registerClosure(() => fn()))); static ffi.NativeCallable)>? _dartFuncListenerTrampoline; void call() => pointer.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer block)>>() - .asFunction)>()(pointer); + .cast< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer block)>>() + .asFunction)>()( + pointer, + ); } +late final _sel_detachNewThreadWithBlock_ = + objc.registerName("detachNewThreadWithBlock:"); +final _objc_msgSend_532 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer block)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_detachNewThreadSelector_toTarget_withObject_ = + objc.registerName("detachNewThreadSelector:toTarget:withObject:"); +final _objc_msgSend_533 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer selector, + ffi.Pointer target, + ffi.Pointer argument)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_isMultiThreaded = objc.registerName("isMultiThreaded"); + class NSMutableDictionary extends NSDictionary { - NSMutableDictionary._( - ffi.Pointer pointer, - AVFAudio lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSMutableDictionary._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSMutableDictionary] that points to the same underlying object as [other]. - static NSMutableDictionary castFrom( - AVFAudio lib, - T other, - ) { - return NSMutableDictionary._( - other.pointer, - lib, - retain: true, - release: true, - ); + static NSMutableDictionary castFrom(T other) { + return NSMutableDictionary._(other.pointer, retain: true, release: true); } /// Returns a [NSMutableDictionary] that wraps the given raw object pointer. - static NSMutableDictionary castFromPointer( - AVFAudio lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSMutableDictionary._(other, lib, retain: retain, release: release); + static NSMutableDictionary castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSMutableDictionary._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSMutableDictionary]. - static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSMutableDictionary1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0( + obj.pointer, _sel_isKindOfClass_, _class_NSMutableDictionary); } void removeObjectForKey_(NSObject aKey) { - _lib._objc_msgSend_15( - this.pointer, - _lib._sel_removeObjectForKey_1, - aKey.pointer, - ); + _objc_msgSend_15(this.pointer, _sel_removeObjectForKey_, aKey.pointer); } void setObject_forKey_(NSObject anObject, NSObject aKey) { - _lib._objc_msgSend_534( - this.pointer, - _lib._sel_setObject_forKey_1, - anObject.pointer, - aKey.pointer, - ); + _objc_msgSend_534( + this.pointer, _sel_setObject_forKey_, anObject.pointer, aKey.pointer); } @override NSMutableDictionary init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSMutableDictionary._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSMutableDictionary._(_ret, retain: true, release: true); } NSMutableDictionary initWithCapacity_(int numItems) { - final _ret = _lib._objc_msgSend_65( - this.pointer, - _lib._sel_initWithCapacity_1, - numItems, - ); - return NSMutableDictionary._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_65(this.pointer, _sel_initWithCapacity_, numItems); + return NSMutableDictionary._(_ret, retain: true, release: true); } @override NSMutableDictionary? initWithCoder_(NSCoder coder) { - final _ret = _lib._objc_msgSend_47( - this.pointer, - _lib._sel_initWithCoder_1, - coder.pointer, - ); + final _ret = + _objc_msgSend_47(this.pointer, _sel_initWithCoder_, coder.pointer); return _ret.address == 0 ? null - : NSMutableDictionary._(_ret, _lib, retain: true, release: true); + : NSMutableDictionary._(_ret, retain: true, release: true); } void addEntriesFromDictionary_(NSDictionary otherDictionary) { - _lib._objc_msgSend_509( - this.pointer, - _lib._sel_addEntriesFromDictionary_1, - otherDictionary.pointer, - ); + _objc_msgSend_509( + this.pointer, _sel_addEntriesFromDictionary_, otherDictionary.pointer); } void removeAllObjects() { - _lib._objc_msgSend_1(this.pointer, _lib._sel_removeAllObjects1); + _objc_msgSend_1(this.pointer, _sel_removeAllObjects); } void removeObjectsForKeys_(NSArray keyArray) { - _lib._objc_msgSend_472( - this.pointer, - _lib._sel_removeObjectsForKeys_1, - keyArray.pointer, - ); + _objc_msgSend_472( + this.pointer, _sel_removeObjectsForKeys_, keyArray.pointer); } void setDictionary_(NSDictionary otherDictionary) { - _lib._objc_msgSend_509( - this.pointer, - _lib._sel_setDictionary_1, - otherDictionary.pointer, - ); + _objc_msgSend_509( + this.pointer, _sel_setDictionary_, otherDictionary.pointer); } void setObject_forKeyedSubscript_(NSObject? obj, NSObject key) { - _lib._objc_msgSend_535( - this.pointer, - _lib._sel_setObject_forKeyedSubscript_1, - obj?.pointer ?? ffi.nullptr, - key.pointer, - ); + _objc_msgSend_535(this.pointer, _sel_setObject_forKeyedSubscript_, + obj?.pointer ?? ffi.nullptr, key.pointer); } - static NSMutableDictionary dictionaryWithCapacity_( - AVFAudio _lib, - int numItems, - ) { - final _ret = _lib._objc_msgSend_65( - _lib._class_NSMutableDictionary1, - _lib._sel_dictionaryWithCapacity_1, - numItems, - ); - return NSMutableDictionary._(_ret, _lib, retain: true, release: true); + static NSMutableDictionary dictionaryWithCapacity_(int numItems) { + final _ret = _objc_msgSend_65( + _class_NSMutableDictionary, _sel_dictionaryWithCapacity_, numItems); + return NSMutableDictionary._(_ret, retain: true, release: true); } - static NSMutableDictionary? dictionaryWithContentsOfFile_( - AVFAudio _lib, - NSString path, - ) { - final _ret = _lib._objc_msgSend_536( - _lib._class_NSMutableDictionary1, - _lib._sel_dictionaryWithContentsOfFile_1, - path.pointer, - ); + static NSMutableDictionary? dictionaryWithContentsOfFile_(NSString path) { + final _ret = _objc_msgSend_536(_class_NSMutableDictionary, + _sel_dictionaryWithContentsOfFile_, path.pointer); return _ret.address == 0 ? null - : NSMutableDictionary._(_ret, _lib, retain: true, release: true); + : NSMutableDictionary._(_ret, retain: true, release: true); } - static NSMutableDictionary? dictionaryWithContentsOfURL_( - AVFAudio _lib, - NSURL url, - ) { - final _ret = _lib._objc_msgSend_537( - _lib._class_NSMutableDictionary1, - _lib._sel_dictionaryWithContentsOfURL_1, - url.pointer, - ); + static NSMutableDictionary? dictionaryWithContentsOfURL_(NSURL url) { + final _ret = _objc_msgSend_537(_class_NSMutableDictionary, + _sel_dictionaryWithContentsOfURL_, url.pointer); return _ret.address == 0 ? null - : NSMutableDictionary._(_ret, _lib, retain: true, release: true); + : NSMutableDictionary._(_ret, retain: true, release: true); } NSMutableDictionary? initWithContentsOfFile_(NSString path) { - final _ret = _lib._objc_msgSend_536( - this.pointer, - _lib._sel_initWithContentsOfFile_1, - path.pointer, - ); + final _ret = _objc_msgSend_536( + this.pointer, _sel_initWithContentsOfFile_, path.pointer); return _ret.address == 0 ? null - : NSMutableDictionary._(_ret, _lib, retain: true, release: true); + : NSMutableDictionary._(_ret, retain: true, release: true); } NSMutableDictionary? initWithContentsOfURL_(NSURL url) { - final _ret = _lib._objc_msgSend_537( - this.pointer, - _lib._sel_initWithContentsOfURL_1, - url.pointer, - ); + final _ret = _objc_msgSend_537( + this.pointer, _sel_initWithContentsOfURL_, url.pointer); return _ret.address == 0 ? null - : NSMutableDictionary._(_ret, _lib, retain: true, release: true); + : NSMutableDictionary._(_ret, retain: true, release: true); } - static NSMutableDictionary dictionaryWithSharedKeySet_( - AVFAudio _lib, - NSObject keyset, - ) { - final _ret = _lib._objc_msgSend_538( - _lib._class_NSMutableDictionary1, - _lib._sel_dictionaryWithSharedKeySet_1, - keyset.pointer, - ); - return NSMutableDictionary._(_ret, _lib, retain: true, release: true); + static NSMutableDictionary dictionaryWithSharedKeySet_(NSObject keyset) { + final _ret = _objc_msgSend_538(_class_NSMutableDictionary, + _sel_dictionaryWithSharedKeySet_, keyset.pointer); + return NSMutableDictionary._(_ret, retain: true, release: true); } void setValue_forKey_(NSObject? value, NSString key) { - _lib._objc_msgSend_135( - this.pointer, - _lib._sel_setValue_forKey_1, - value?.pointer ?? ffi.nullptr, - key.pointer, - ); + _objc_msgSend_135(this.pointer, _sel_setValue_forKey_, + value?.pointer ?? ffi.nullptr, key.pointer); } @override NSMutableDictionary initWithObjects_forKeys_count_( - ffi.Pointer> objects, - ffi.Pointer> keys, - int cnt, - ) { - final _ret = _lib._objc_msgSend_147( - this.pointer, - _lib._sel_initWithObjects_forKeys_count_1, - objects, - keys, - cnt, - ); - return NSMutableDictionary._(_ret, _lib, retain: true, release: true); - } - - static NSMutableDictionary dictionary(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSMutableDictionary1, - _lib._sel_dictionary1, - ); - return NSMutableDictionary._(_ret, _lib, retain: true, release: true); + ffi.Pointer> objects, + ffi.Pointer> keys, + int cnt) { + final _ret = _objc_msgSend_147( + this.pointer, _sel_initWithObjects_forKeys_count_, objects, keys, cnt); + return NSMutableDictionary._(_ret, retain: true, release: true); + } + + static NSMutableDictionary dictionary() { + final _ret = _objc_msgSend_2(_class_NSMutableDictionary, _sel_dictionary); + return NSMutableDictionary._(_ret, retain: true, release: true); } static NSMutableDictionary dictionaryWithObject_forKey_( - AVFAudio _lib, - NSObject object, - NSObject key, - ) { - final _ret = _lib._objc_msgSend_158( - _lib._class_NSMutableDictionary1, - _lib._sel_dictionaryWithObject_forKey_1, - object.pointer, - key.pointer, - ); - return NSMutableDictionary._(_ret, _lib, retain: true, release: true); + NSObject object, NSObject key) { + final _ret = _objc_msgSend_158(_class_NSMutableDictionary, + _sel_dictionaryWithObject_forKey_, object.pointer, key.pointer); + return NSMutableDictionary._(_ret, retain: true, release: true); } static NSMutableDictionary dictionaryWithObjects_forKeys_count_( - AVFAudio _lib, - ffi.Pointer> objects, - ffi.Pointer> keys, - int cnt, - ) { - final _ret = _lib._objc_msgSend_147( - _lib._class_NSMutableDictionary1, - _lib._sel_dictionaryWithObjects_forKeys_count_1, - objects, - keys, - cnt, - ); - return NSMutableDictionary._(_ret, _lib, retain: true, release: true); + ffi.Pointer> objects, + ffi.Pointer> keys, + int cnt) { + final _ret = _objc_msgSend_147(_class_NSMutableDictionary, + _sel_dictionaryWithObjects_forKeys_count_, objects, keys, cnt); + return NSMutableDictionary._(_ret, retain: true, release: true); } static NSMutableDictionary dictionaryWithObjectsAndKeys_( - AVFAudio _lib, - NSObject firstObject, - ) { - final _ret = _lib._objc_msgSend_124( - _lib._class_NSMutableDictionary1, - _lib._sel_dictionaryWithObjectsAndKeys_1, - firstObject.pointer, - ); - return NSMutableDictionary._(_ret, _lib, retain: true, release: true); - } - - static NSMutableDictionary dictionaryWithDictionary_( - AVFAudio _lib, - NSDictionary dict, - ) { - final _ret = _lib._objc_msgSend_159( - _lib._class_NSMutableDictionary1, - _lib._sel_dictionaryWithDictionary_1, - dict.pointer, - ); - return NSMutableDictionary._(_ret, _lib, retain: true, release: true); + NSObject firstObject) { + final _ret = _objc_msgSend_124(_class_NSMutableDictionary, + _sel_dictionaryWithObjectsAndKeys_, firstObject.pointer); + return NSMutableDictionary._(_ret, retain: true, release: true); + } + + static NSMutableDictionary dictionaryWithDictionary_(NSDictionary dict) { + final _ret = _objc_msgSend_159(_class_NSMutableDictionary, + _sel_dictionaryWithDictionary_, dict.pointer); + return NSMutableDictionary._(_ret, retain: true, release: true); } static NSMutableDictionary dictionaryWithObjects_forKeys_( - AVFAudio _lib, - NSArray objects, - NSArray keys, - ) { - final _ret = _lib._objc_msgSend_160( - _lib._class_NSMutableDictionary1, - _lib._sel_dictionaryWithObjects_forKeys_1, - objects.pointer, - keys.pointer, - ); - return NSMutableDictionary._(_ret, _lib, retain: true, release: true); + NSArray objects, NSArray keys) { + final _ret = _objc_msgSend_160(_class_NSMutableDictionary, + _sel_dictionaryWithObjects_forKeys_, objects.pointer, keys.pointer); + return NSMutableDictionary._(_ret, retain: true, release: true); } @override NSMutableDictionary initWithObjectsAndKeys_(NSObject firstObject) { - final _ret = _lib._objc_msgSend_124( - this.pointer, - _lib._sel_initWithObjectsAndKeys_1, - firstObject.pointer, - ); - return NSMutableDictionary._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_124( + this.pointer, _sel_initWithObjectsAndKeys_, firstObject.pointer); + return NSMutableDictionary._(_ret, retain: true, release: true); } @override NSMutableDictionary initWithDictionary_(NSDictionary otherDictionary) { - final _ret = _lib._objc_msgSend_159( - this.pointer, - _lib._sel_initWithDictionary_1, - otherDictionary.pointer, - ); - return NSMutableDictionary._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_159( + this.pointer, _sel_initWithDictionary_, otherDictionary.pointer); + return NSMutableDictionary._(_ret, retain: true, release: true); } @override NSMutableDictionary initWithDictionary_copyItems_( - NSDictionary otherDictionary, - bool flag, - ) { - final _ret = _lib._objc_msgSend_161( - this.pointer, - _lib._sel_initWithDictionary_copyItems_1, - otherDictionary.pointer, - flag, - ); - return NSMutableDictionary._(_ret, _lib, retain: false, release: true); + NSDictionary otherDictionary, bool flag) { + final _ret = _objc_msgSend_161(this.pointer, + _sel_initWithDictionary_copyItems_, otherDictionary.pointer, flag); + return NSMutableDictionary._(_ret, retain: false, release: true); } @override NSMutableDictionary initWithObjects_forKeys_(NSArray objects, NSArray keys) { - final _ret = _lib._objc_msgSend_160( - this.pointer, - _lib._sel_initWithObjects_forKeys_1, - objects.pointer, - keys.pointer, - ); - return NSMutableDictionary._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_160(this.pointer, _sel_initWithObjects_forKeys_, + objects.pointer, keys.pointer); + return NSMutableDictionary._(_ret, retain: true, release: true); } static NSDictionary? dictionaryWithContentsOfURL_error_( - AVFAudio _lib, - NSURL url, - ffi.Pointer> error, - ) { - final _ret = _lib._objc_msgSend_162( - _lib._class_NSMutableDictionary1, - _lib._sel_dictionaryWithContentsOfURL_error_1, - url.pointer, - error, - ); - return _ret.address == 0 - ? null - : NSDictionary._(_ret, _lib, retain: true, release: true); - } - - static NSObject sharedKeySetForKeys_(AVFAudio _lib, NSArray keys) { - final _ret = _lib._objc_msgSend_125( - _lib._class_NSMutableDictionary1, - _lib._sel_sharedKeySetForKeys_1, - keys.pointer, - ); - return NSObject._(_ret, _lib, retain: true, release: true); - } - - static NSMutableDictionary new1(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSMutableDictionary1, - _lib._sel_new1, - ); - return NSMutableDictionary._(_ret, _lib, retain: false, release: true); - } - - static NSMutableDictionary allocWithZone_( - AVFAudio _lib, - ffi.Pointer<_NSZone> zone, - ) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSMutableDictionary1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSMutableDictionary._(_ret, _lib, retain: false, release: true); - } - - static NSMutableDictionary alloc(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSMutableDictionary1, - _lib._sel_alloc1, - ); - return NSMutableDictionary._(_ret, _lib, retain: false, release: true); + NSURL url, ffi.Pointer> error) { + final _ret = _objc_msgSend_162(_class_NSMutableDictionary, + _sel_dictionaryWithContentsOfURL_error_, url.pointer, error); + return _ret.address == 0 + ? null + : NSDictionary._(_ret, retain: true, release: true); + } + + static NSObject sharedKeySetForKeys_(NSArray keys) { + final _ret = _objc_msgSend_125( + _class_NSMutableDictionary, _sel_sharedKeySetForKeys_, keys.pointer); + return NSObject._(_ret, retain: true, release: true); + } + + static NSMutableDictionary new1() { + final _ret = _objc_msgSend_2(_class_NSMutableDictionary, _sel_new); + return NSMutableDictionary._(_ret, retain: false, release: true); + } + + static NSMutableDictionary allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = + _objc_msgSend_3(_class_NSMutableDictionary, _sel_allocWithZone_, zone); + return NSMutableDictionary._(_ret, retain: false, release: true); + } + + static NSMutableDictionary alloc() { + final _ret = _objc_msgSend_2(_class_NSMutableDictionary, _sel_alloc); + return NSMutableDictionary._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSMutableDictionary1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSMutableDictionary1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSMutableDictionary1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSMutableDictionary1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSMutableDictionary1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSMutableDictionary1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSMutableDictionary, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); } - static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSMutableDictionary1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSMutableDictionary1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSMutableDictionary1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSMutableDictionary, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); + } + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSMutableDictionary, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSMutableDictionary, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSMutableDictionary, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSMutableDictionary, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); } -} + + static void setKeys_triggerChangeNotificationsForDependentKey_( + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSMutableDictionary, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = _objc_msgSend_85( + _class_NSMutableDictionary, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = _objc_msgSend_2( + _class_NSMutableDictionary, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); + } +} + +late final _class_NSMutableDictionary = objc.getClass("NSMutableDictionary"); +late final _sel_removeObjectForKey_ = objc.registerName("removeObjectForKey:"); +late final _sel_setObject_forKey_ = objc.registerName("setObject:forKey:"); +final _objc_msgSend_534 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer anObject, + ffi.Pointer aKey)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_addEntriesFromDictionary_ = + objc.registerName("addEntriesFromDictionary:"); +late final _sel_removeObjectsForKeys_ = + objc.registerName("removeObjectsForKeys:"); +late final _sel_setDictionary_ = objc.registerName("setDictionary:"); +late final _sel_setObject_forKeyedSubscript_ = + objc.registerName("setObject:forKeyedSubscript:"); +final _objc_msgSend_535 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer key)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_dictionaryWithCapacity_ = + objc.registerName("dictionaryWithCapacity:"); +final _objc_msgSend_536 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer path)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +final _objc_msgSend_537 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer url)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_dictionaryWithSharedKeySet_ = + objc.registerName("dictionaryWithSharedKeySet:"); +final _objc_msgSend_538 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer keyset)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_threadDictionary = objc.registerName("threadDictionary"); +final _objc_msgSend_539 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_sleepUntilDate_ = objc.registerName("sleepUntilDate:"); +final _objc_msgSend_540 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer date)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_sleepForTimeInterval_ = + objc.registerName("sleepForTimeInterval:"); +final _objc_msgSend_541 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer obj, + ffi.Pointer sel, ffi.Double ti)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, double)>(); +late final _sel_exit = objc.registerName("exit"); +late final _sel_threadPriority = objc.registerName("threadPriority"); +late final _sel_setThreadPriority_ = objc.registerName("setThreadPriority:"); +final _objc_msgSend_542 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer obj, + ffi.Pointer sel, ffi.Double value)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, double)>(); abstract class NSQualityOfService { static const int NSQualityOfServiceUserInteractive = 33; @@ -59745,1400 +24796,1207 @@ abstract class NSQualityOfService { static const int NSQualityOfServiceDefault = -1; } +late final _sel_qualityOfService = objc.registerName("qualityOfService"); +final _objc_msgSend_543 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + int Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_setQualityOfService_ = + objc.registerName("setQualityOfService:"); +final _objc_msgSend_544 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer obj, + ffi.Pointer sel, ffi.Int32 value)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, int)>(); +late final _sel_callStackReturnAddresses = + objc.registerName("callStackReturnAddresses"); +late final _sel_callStackSymbols = objc.registerName("callStackSymbols"); +late final _sel_setName_ = objc.registerName("setName:"); +final _objc_msgSend_545 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_stackSize = objc.registerName("stackSize"); +late final _sel_setStackSize_ = objc.registerName("setStackSize:"); +late final _sel_isMainThread = objc.registerName("isMainThread"); +late final _sel_mainThread = objc.registerName("mainThread"); +late final _sel_initWithTarget_selector_object_ = + objc.registerName("initWithTarget:selector:object:"); +final _objc_msgSend_546 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer target, + ffi.Pointer selector, + ffi.Pointer argument)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_initWithBlock_ = objc.registerName("initWithBlock:"); +final _objc_msgSend_547 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer block)>>() + .asFunction< + instancetype Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_isExecuting = objc.registerName("isExecuting"); +late final _sel_isFinished = objc.registerName("isFinished"); +late final _sel_isCancelled = objc.registerName("isCancelled"); +late final _sel_cancel = objc.registerName("cancel"); +late final _sel_start = objc.registerName("start"); +late final _sel_main = objc.registerName("main"); +late final _sel_performSelector_onThread_withObject_waitUntilDone_modes_ = objc + .registerName("performSelector:onThread:withObject:waitUntilDone:modes:"); +final _objc_msgSend_548 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer aSelector, + ffi.Pointer thr, + ffi.Pointer arg, + ffi.Bool wait, + ffi.Pointer array)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool, + ffi.Pointer)>(); +late final _sel_performSelector_onThread_withObject_waitUntilDone_ = + objc.registerName("performSelector:onThread:withObject:waitUntilDone:"); +final _objc_msgSend_549 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer aSelector, + ffi.Pointer thr, + ffi.Pointer arg, + ffi.Bool wait)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool)>(); +late final _sel_performSelectorInBackground_withObject_ = + objc.registerName("performSelectorInBackground:withObject:"); +late final _sel_classForArchiver = objc.registerName("classForArchiver"); + class NSArchiver extends NSCoder { - NSArchiver._( - ffi.Pointer pointer, - AVFAudio lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSArchiver._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSArchiver] that points to the same underlying object as [other]. - static NSArchiver castFrom( - AVFAudio lib, - T other, - ) { - return NSArchiver._(other.pointer, lib, retain: true, release: true); + static NSArchiver castFrom(T other) { + return NSArchiver._(other.pointer, retain: true, release: true); } /// Returns a [NSArchiver] that wraps the given raw object pointer. - static NSArchiver castFromPointer( - AVFAudio lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSArchiver._(other, lib, retain: retain, release: release); + static NSArchiver castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSArchiver._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSArchiver]. - static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSArchiver1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0(obj.pointer, _sel_isKindOfClass_, _class_NSArchiver); } NSArchiver initForWritingWithMutableData_(NSMutableData mdata) { - final _ret = _lib._objc_msgSend_521( - this.pointer, - _lib._sel_initForWritingWithMutableData_1, - mdata.pointer, - ); - return NSArchiver._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_521( + this.pointer, _sel_initForWritingWithMutableData_, mdata.pointer); + return NSArchiver._(_ret, retain: true, release: true); } NSMutableData get archiverData { - final _ret = _lib._objc_msgSend_550(this.pointer, _lib._sel_archiverData1); - return NSMutableData._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_550(this.pointer, _sel_archiverData); + return NSMutableData._(_ret, retain: true, release: true); } @override void encodeRootObject_(NSObject rootObject) { - _lib._objc_msgSend_15( - this.pointer, - _lib._sel_encodeRootObject_1, - rootObject.pointer, - ); + _objc_msgSend_15(this.pointer, _sel_encodeRootObject_, rootObject.pointer); } @override void encodeConditionalObject_(NSObject? object) { - _lib._objc_msgSend_289( - this.pointer, - _lib._sel_encodeConditionalObject_1, - object?.pointer ?? ffi.nullptr, - ); - } - - static NSData archivedDataWithRootObject_( - AVFAudio _lib, - NSObject rootObject, - ) { - final _ret = _lib._objc_msgSend_522( - _lib._class_NSArchiver1, - _lib._sel_archivedDataWithRootObject_1, - rootObject.pointer, - ); - return NSData._(_ret, _lib, retain: true, release: true); - } - - static bool archiveRootObject_toFile_( - AVFAudio _lib, - NSObject rootObject, - NSString path, - ) { - return _lib._objc_msgSend_261( - _lib._class_NSArchiver1, - _lib._sel_archiveRootObject_toFile_1, - rootObject.pointer, - path.pointer, - ); + _objc_msgSend_289(this.pointer, _sel_encodeConditionalObject_, + object?.pointer ?? ffi.nullptr); + } + + static NSData archivedDataWithRootObject_(NSObject rootObject) { + final _ret = _objc_msgSend_522(_class_NSArchiver, + _sel_archivedDataWithRootObject_, rootObject.pointer); + return NSData._(_ret, retain: true, release: true); + } + + static bool archiveRootObject_toFile_(NSObject rootObject, NSString path) { + return _objc_msgSend_261(_class_NSArchiver, _sel_archiveRootObject_toFile_, + rootObject.pointer, path.pointer); } void encodeClassName_intoClassName_( - NSString trueName, - NSString inArchiveName, - ) { - _lib._objc_msgSend_551( - this.pointer, - _lib._sel_encodeClassName_intoClassName_1, - trueName.pointer, - inArchiveName.pointer, - ); + NSString trueName, NSString inArchiveName) { + _objc_msgSend_551(this.pointer, _sel_encodeClassName_intoClassName_, + trueName.pointer, inArchiveName.pointer); } NSString? classNameEncodedForTrueClassName_(NSString trueName) { - final _ret = _lib._objc_msgSend_186( - this.pointer, - _lib._sel_classNameEncodedForTrueClassName_1, - trueName.pointer, - ); + final _ret = _objc_msgSend_186( + this.pointer, _sel_classNameEncodedForTrueClassName_, trueName.pointer); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } void replaceObject_withObject_(NSObject object, NSObject newObject) { - _lib._objc_msgSend_534( - this.pointer, - _lib._sel_replaceObject_withObject_1, - object.pointer, - newObject.pointer, - ); + _objc_msgSend_534(this.pointer, _sel_replaceObject_withObject_, + object.pointer, newObject.pointer); } @override NSArchiver init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSArchiver._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSArchiver._(_ret, retain: true, release: true); } - static NSArchiver new1(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2(_lib._class_NSArchiver1, _lib._sel_new1); - return NSArchiver._(_ret, _lib, retain: false, release: true); + static NSArchiver new1() { + final _ret = _objc_msgSend_2(_class_NSArchiver, _sel_new); + return NSArchiver._(_ret, retain: false, release: true); } - static NSArchiver allocWithZone_(AVFAudio _lib, ffi.Pointer<_NSZone> zone) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSArchiver1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSArchiver._(_ret, _lib, retain: false, release: true); + static NSArchiver allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = _objc_msgSend_3(_class_NSArchiver, _sel_allocWithZone_, zone); + return NSArchiver._(_ret, retain: false, release: true); } - static NSArchiver alloc(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSArchiver1, - _lib._sel_alloc1, - ); - return NSArchiver._(_ret, _lib, retain: false, release: true); + static NSArchiver alloc() { + final _ret = _objc_msgSend_2(_class_NSArchiver, _sel_alloc); + return NSArchiver._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSArchiver1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSArchiver1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSArchiver1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSArchiver1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSArchiver1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSArchiver1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSArchiver, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); } - static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSArchiver1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSArchiver1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSArchiver1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSArchiver, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); } -} + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSArchiver, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSArchiver, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSArchiver, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSArchiver, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); + } + + static void setKeys_triggerChangeNotificationsForDependentKey_( + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSArchiver, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = _objc_msgSend_85( + _class_NSArchiver, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = + _objc_msgSend_2(_class_NSArchiver, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); + } +} + +late final _class_NSArchiver = objc.getClass("NSArchiver"); +late final _sel_archiverData = objc.registerName("archiverData"); +final _objc_msgSend_550 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_encodeClassName_intoClassName_ = + objc.registerName("encodeClassName:intoClassName:"); +final _objc_msgSend_551 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer trueName, + ffi.Pointer inArchiveName)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_classNameEncodedForTrueClassName_ = + objc.registerName("classNameEncodedForTrueClassName:"); +late final _sel_replaceObject_withObject_ = + objc.registerName("replaceObject:withObject:"); +late final _sel_replacementObjectForArchiver_ = + objc.registerName("replacementObjectForArchiver:"); +final _objc_msgSend_552 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer archiver)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_classForPortCoder = objc.registerName("classForPortCoder"); class NSPortCoder extends NSCoder { - NSPortCoder._( - ffi.Pointer pointer, - AVFAudio lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSPortCoder._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSPortCoder] that points to the same underlying object as [other]. - static NSPortCoder castFrom( - AVFAudio lib, - T other, - ) { - return NSPortCoder._(other.pointer, lib, retain: true, release: true); + static NSPortCoder castFrom(T other) { + return NSPortCoder._(other.pointer, retain: true, release: true); } /// Returns a [NSPortCoder] that wraps the given raw object pointer. - static NSPortCoder castFromPointer( - AVFAudio lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSPortCoder._(other, lib, retain: retain, release: release); + static NSPortCoder castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSPortCoder._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSPortCoder]. - static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSPortCoder1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0( + obj.pointer, _sel_isKindOfClass_, _class_NSPortCoder); } bool isBycopy() { - return _lib._objc_msgSend_12(this.pointer, _lib._sel_isBycopy1); + return _objc_msgSend_12(this.pointer, _sel_isBycopy); } bool isByref() { - return _lib._objc_msgSend_12(this.pointer, _lib._sel_isByref1); + return _objc_msgSend_12(this.pointer, _sel_isByref); } void encodePortObject_(NSPort aport) { - _lib._objc_msgSend_593( - this.pointer, - _lib._sel_encodePortObject_1, - aport.pointer, - ); + _objc_msgSend_593(this.pointer, _sel_encodePortObject_, aport.pointer); } NSPort? decodePortObject() { - final _ret = _lib._objc_msgSend_594( - this.pointer, - _lib._sel_decodePortObject1, - ); + final _ret = _objc_msgSend_594(this.pointer, _sel_decodePortObject); return _ret.address == 0 ? null - : NSPort._(_ret, _lib, retain: true, release: true); + : NSPort._(_ret, retain: true, release: true); } NSConnection? connection() { - final _ret = _lib._objc_msgSend_595(this.pointer, _lib._sel_connection1); + final _ret = _objc_msgSend_595(this.pointer, _sel_connection); return _ret.address == 0 ? null - : NSConnection._(_ret, _lib, retain: true, release: true); + : NSConnection._(_ret, retain: true, release: true); } static NSObject portCoderWithReceivePort_sendPort_components_( - AVFAudio _lib, - NSPort? rcvPort, - NSPort? sndPort, - NSArray? comps, - ) { - final _ret = _lib._objc_msgSend_596( - _lib._class_NSPortCoder1, - _lib._sel_portCoderWithReceivePort_sendPort_components_1, - rcvPort?.pointer ?? ffi.nullptr, - sndPort?.pointer ?? ffi.nullptr, - comps?.pointer ?? ffi.nullptr, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + NSPort? rcvPort, NSPort? sndPort, NSArray? comps) { + final _ret = _objc_msgSend_596( + _class_NSPortCoder, + _sel_portCoderWithReceivePort_sendPort_components_, + rcvPort?.pointer ?? ffi.nullptr, + sndPort?.pointer ?? ffi.nullptr, + comps?.pointer ?? ffi.nullptr); + return NSObject._(_ret, retain: true, release: true); } NSObject initWithReceivePort_sendPort_components_( - NSPort? rcvPort, - NSPort? sndPort, - NSArray? comps, - ) { - final _ret = _lib._objc_msgSend_596( - this.pointer, - _lib._sel_initWithReceivePort_sendPort_components_1, - rcvPort?.pointer ?? ffi.nullptr, - sndPort?.pointer ?? ffi.nullptr, - comps?.pointer ?? ffi.nullptr, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + NSPort? rcvPort, NSPort? sndPort, NSArray? comps) { + final _ret = _objc_msgSend_596( + this.pointer, + _sel_initWithReceivePort_sendPort_components_, + rcvPort?.pointer ?? ffi.nullptr, + sndPort?.pointer ?? ffi.nullptr, + comps?.pointer ?? ffi.nullptr); + return NSObject._(_ret, retain: true, release: true); } void dispatch() { - _lib._objc_msgSend_1(this.pointer, _lib._sel_dispatch1); + _objc_msgSend_1(this.pointer, _sel_dispatch); } @override NSPortCoder init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSPortCoder._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSPortCoder._(_ret, retain: true, release: true); } - static NSPortCoder new1(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2(_lib._class_NSPortCoder1, _lib._sel_new1); - return NSPortCoder._(_ret, _lib, retain: false, release: true); + static NSPortCoder new1() { + final _ret = _objc_msgSend_2(_class_NSPortCoder, _sel_new); + return NSPortCoder._(_ret, retain: false, release: true); } - static NSPortCoder allocWithZone_(AVFAudio _lib, ffi.Pointer<_NSZone> zone) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSPortCoder1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSPortCoder._(_ret, _lib, retain: false, release: true); + static NSPortCoder allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = _objc_msgSend_3(_class_NSPortCoder, _sel_allocWithZone_, zone); + return NSPortCoder._(_ret, retain: false, release: true); } - static NSPortCoder alloc(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSPortCoder1, - _lib._sel_alloc1, - ); - return NSPortCoder._(_ret, _lib, retain: false, release: true); + static NSPortCoder alloc() { + final _ret = _objc_msgSend_2(_class_NSPortCoder, _sel_alloc); + return NSPortCoder._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSPortCoder1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSPortCoder1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSPortCoder1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSPortCoder1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSPortCoder1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSPortCoder1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSPortCoder, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); + } + + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSPortCoder, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); + } + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSPortCoder, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSPortCoder, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSPortCoder, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSPortCoder, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); } static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSPortCoder1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSPortCoder1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSPortCoder1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSPortCoder, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = _objc_msgSend_85( + _class_NSPortCoder, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = + _objc_msgSend_2(_class_NSPortCoder, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); } } +late final _class_NSPortCoder = objc.getClass("NSPortCoder"); +late final _sel_isBycopy = objc.registerName("isBycopy"); +late final _sel_isByref = objc.registerName("isByref"); + class NSPort extends NSObject { - NSPort._( - ffi.Pointer pointer, - AVFAudio lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSPort._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSPort] that points to the same underlying object as [other]. - static NSPort castFrom(AVFAudio lib, T other) { - return NSPort._(other.pointer, lib, retain: true, release: true); + static NSPort castFrom(T other) { + return NSPort._(other.pointer, retain: true, release: true); } /// Returns a [NSPort] that wraps the given raw object pointer. - static NSPort castFromPointer( - AVFAudio lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSPort._(other, lib, retain: retain, release: release); + static NSPort castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSPort._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSPort]. - static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSPort1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0(obj.pointer, _sel_isKindOfClass_, _class_NSPort); } - static NSPort port(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_553(_lib._class_NSPort1, _lib._sel_port1); - return NSPort._(_ret, _lib, retain: true, release: true); + static NSPort port() { + final _ret = _objc_msgSend_553(_class_NSPort, _sel_port); + return NSPort._(_ret, retain: true, release: true); } void invalidate() { - _lib._objc_msgSend_1(this.pointer, _lib._sel_invalidate1); + _objc_msgSend_1(this.pointer, _sel_invalidate); } bool get valid { - return _lib._objc_msgSend_12(this.pointer, _lib._sel_isValid1); + return _objc_msgSend_12(this.pointer, _sel_isValid); } void setDelegate_(NSObject? anObject) { - _lib._objc_msgSend_289( - this.pointer, - _lib._sel_setDelegate_1, - anObject?.pointer ?? ffi.nullptr, - ); + _objc_msgSend_289( + this.pointer, _sel_setDelegate_, anObject?.pointer ?? ffi.nullptr); } NSObject? delegate() { - final _ret = _lib._objc_msgSend_17(this.pointer, _lib._sel_delegate1); + final _ret = _objc_msgSend_17(this.pointer, _sel_delegate); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } void scheduleInRunLoop_forMode_(NSRunLoop runLoop, NSString mode) { - _lib._objc_msgSend_569( - this.pointer, - _lib._sel_scheduleInRunLoop_forMode_1, - runLoop.pointer, - mode.pointer, - ); + _objc_msgSend_569(this.pointer, _sel_scheduleInRunLoop_forMode_, + runLoop.pointer, mode.pointer); } void removeFromRunLoop_forMode_(NSRunLoop runLoop, NSString mode) { - _lib._objc_msgSend_569( - this.pointer, - _lib._sel_removeFromRunLoop_forMode_1, - runLoop.pointer, - mode.pointer, - ); + _objc_msgSend_569(this.pointer, _sel_removeFromRunLoop_forMode_, + runLoop.pointer, mode.pointer); } int get reservedSpaceLength { - return _lib._objc_msgSend_10(this.pointer, _lib._sel_reservedSpaceLength1); + return _objc_msgSend_10(this.pointer, _sel_reservedSpaceLength); } bool sendBeforeDate_components_from_reserved_( - NSDate limitDate, - NSMutableArray? components, - NSPort? receivePort, - int headerSpaceReserved, - ) { - return _lib._objc_msgSend_570( - this.pointer, - _lib._sel_sendBeforeDate_components_from_reserved_1, - limitDate.pointer, - components?.pointer ?? ffi.nullptr, - receivePort?.pointer ?? ffi.nullptr, - headerSpaceReserved, - ); + NSDate limitDate, + NSMutableArray? components, + NSPort? receivePort, + int headerSpaceReserved) { + return _objc_msgSend_570( + this.pointer, + _sel_sendBeforeDate_components_from_reserved_, + limitDate.pointer, + components?.pointer ?? ffi.nullptr, + receivePort?.pointer ?? ffi.nullptr, + headerSpaceReserved); } bool sendBeforeDate_msgid_components_from_reserved_( - NSDate limitDate, - int msgID, - NSMutableArray? components, - NSPort? receivePort, - int headerSpaceReserved, - ) { - return _lib._objc_msgSend_571( - this.pointer, - _lib._sel_sendBeforeDate_msgid_components_from_reserved_1, - limitDate.pointer, - msgID, - components?.pointer ?? ffi.nullptr, - receivePort?.pointer ?? ffi.nullptr, - headerSpaceReserved, - ); + NSDate limitDate, + int msgID, + NSMutableArray? components, + NSPort? receivePort, + int headerSpaceReserved) { + return _objc_msgSend_571( + this.pointer, + _sel_sendBeforeDate_msgid_components_from_reserved_, + limitDate.pointer, + msgID, + components?.pointer ?? ffi.nullptr, + receivePort?.pointer ?? ffi.nullptr, + headerSpaceReserved); } void addConnection_toRunLoop_forMode_( - NSConnection conn, - NSRunLoop runLoop, - NSString mode, - ) { - _lib._objc_msgSend_592( - this.pointer, - _lib._sel_addConnection_toRunLoop_forMode_1, - conn.pointer, - runLoop.pointer, - mode.pointer, - ); + NSConnection conn, NSRunLoop runLoop, NSString mode) { + _objc_msgSend_592(this.pointer, _sel_addConnection_toRunLoop_forMode_, + conn.pointer, runLoop.pointer, mode.pointer); } void removeConnection_fromRunLoop_forMode_( - NSConnection conn, - NSRunLoop runLoop, - NSString mode, - ) { - _lib._objc_msgSend_592( - this.pointer, - _lib._sel_removeConnection_fromRunLoop_forMode_1, - conn.pointer, - runLoop.pointer, - mode.pointer, - ); + NSConnection conn, NSRunLoop runLoop, NSString mode) { + _objc_msgSend_592(this.pointer, _sel_removeConnection_fromRunLoop_forMode_, + conn.pointer, runLoop.pointer, mode.pointer); } @override NSPort init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSPort._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSPort._(_ret, retain: true, release: true); } - static NSPort new1(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2(_lib._class_NSPort1, _lib._sel_new1); - return NSPort._(_ret, _lib, retain: false, release: true); + static NSPort new1() { + final _ret = _objc_msgSend_2(_class_NSPort, _sel_new); + return NSPort._(_ret, retain: false, release: true); } - static NSPort allocWithZone_(AVFAudio _lib, ffi.Pointer<_NSZone> zone) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSPort1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSPort._(_ret, _lib, retain: false, release: true); + static NSPort allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = _objc_msgSend_3(_class_NSPort, _sel_allocWithZone_, zone); + return NSPort._(_ret, retain: false, release: true); } - static NSPort alloc(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2(_lib._class_NSPort1, _lib._sel_alloc1); - return NSPort._(_ret, _lib, retain: false, release: true); + static NSPort alloc() { + final _ret = _objc_msgSend_2(_class_NSPort, _sel_alloc); + return NSPort._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSPort1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSPort1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSPort1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSPort1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSPort1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSPort1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSPort, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); + } + + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSPort, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); + } + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSPort, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSPort, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSPort, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64( + _class_NSPort, _sel_automaticallyNotifiesObserversForKey_, key.pointer); } static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSPort1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSPort1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSPort1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSPort, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = + _objc_msgSend_85(_class_NSPort, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = _objc_msgSend_2(_class_NSPort, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); } } +late final _class_NSPort = objc.getClass("NSPort"); +final _objc_msgSend_553 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_invalidate = objc.registerName("invalidate"); +late final _sel_isValid = objc.registerName("isValid"); + class NSRunLoop extends NSObject { - NSRunLoop._( - ffi.Pointer pointer, - AVFAudio lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSRunLoop._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSRunLoop] that points to the same underlying object as [other]. - static NSRunLoop castFrom( - AVFAudio lib, - T other, - ) { - return NSRunLoop._(other.pointer, lib, retain: true, release: true); + static NSRunLoop castFrom(T other) { + return NSRunLoop._(other.pointer, retain: true, release: true); } /// Returns a [NSRunLoop] that wraps the given raw object pointer. - static NSRunLoop castFromPointer( - AVFAudio lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSRunLoop._(other, lib, retain: retain, release: release); + static NSRunLoop castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSRunLoop._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSRunLoop]. - static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSRunLoop1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0(obj.pointer, _sel_isKindOfClass_, _class_NSRunLoop); } - static NSRunLoop getCurrentRunLoop(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_554( - _lib._class_NSRunLoop1, - _lib._sel_currentRunLoop1, - ); - return NSRunLoop._(_ret, _lib, retain: true, release: true); + static NSRunLoop getCurrentRunLoop() { + final _ret = _objc_msgSend_554(_class_NSRunLoop, _sel_currentRunLoop); + return NSRunLoop._(_ret, retain: true, release: true); } - static NSRunLoop getMainRunLoop(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_554( - _lib._class_NSRunLoop1, - _lib._sel_mainRunLoop1, - ); - return NSRunLoop._(_ret, _lib, retain: true, release: true); + static NSRunLoop getMainRunLoop() { + final _ret = _objc_msgSend_554(_class_NSRunLoop, _sel_mainRunLoop); + return NSRunLoop._(_ret, retain: true, release: true); } NSString? get currentMode { - final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_currentMode1); + final _ret = _objc_msgSend_44(this.pointer, _sel_currentMode); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } ffi.Pointer<__CFRunLoop> getCFRunLoop() { - return _lib._objc_msgSend_555(this.pointer, _lib._sel_getCFRunLoop1); + return _objc_msgSend_555(this.pointer, _sel_getCFRunLoop); } void addTimer_forMode_(NSTimer timer, NSString mode) { - _lib._objc_msgSend_562( - this.pointer, - _lib._sel_addTimer_forMode_1, - timer.pointer, - mode.pointer, - ); + _objc_msgSend_562( + this.pointer, _sel_addTimer_forMode_, timer.pointer, mode.pointer); } void addPort_forMode_(NSPort aPort, NSString mode) { - _lib._objc_msgSend_563( - this.pointer, - _lib._sel_addPort_forMode_1, - aPort.pointer, - mode.pointer, - ); + _objc_msgSend_563( + this.pointer, _sel_addPort_forMode_, aPort.pointer, mode.pointer); } void removePort_forMode_(NSPort aPort, NSString mode) { - _lib._objc_msgSend_563( - this.pointer, - _lib._sel_removePort_forMode_1, - aPort.pointer, - mode.pointer, - ); + _objc_msgSend_563( + this.pointer, _sel_removePort_forMode_, aPort.pointer, mode.pointer); } NSDate? limitDateForMode_(NSString mode) { - final _ret = _lib._objc_msgSend_564( - this.pointer, - _lib._sel_limitDateForMode_1, - mode.pointer, - ); + final _ret = + _objc_msgSend_564(this.pointer, _sel_limitDateForMode_, mode.pointer); return _ret.address == 0 ? null - : NSDate._(_ret, _lib, retain: true, release: true); + : NSDate._(_ret, retain: true, release: true); } void acceptInputForMode_beforeDate_(NSString mode, NSDate limitDate) { - _lib._objc_msgSend_565( - this.pointer, - _lib._sel_acceptInputForMode_beforeDate_1, - mode.pointer, - limitDate.pointer, - ); + _objc_msgSend_565(this.pointer, _sel_acceptInputForMode_beforeDate_, + mode.pointer, limitDate.pointer); } void run() { - _lib._objc_msgSend_1(this.pointer, _lib._sel_run1); + _objc_msgSend_1(this.pointer, _sel_run); } void runUntilDate_(NSDate limitDate) { - _lib._objc_msgSend_540( - this.pointer, - _lib._sel_runUntilDate_1, - limitDate.pointer, - ); + _objc_msgSend_540(this.pointer, _sel_runUntilDate_, limitDate.pointer); } bool runMode_beforeDate_(NSString mode, NSDate limitDate) { - return _lib._objc_msgSend_566( - this.pointer, - _lib._sel_runMode_beforeDate_1, - mode.pointer, - limitDate.pointer, - ); + return _objc_msgSend_566(this.pointer, _sel_runMode_beforeDate_, + mode.pointer, limitDate.pointer); } void configureAsServer() { - _lib._objc_msgSend_1(this.pointer, _lib._sel_configureAsServer1); + _objc_msgSend_1(this.pointer, _sel_configureAsServer); } void performInModes_block_(NSArray modes, ObjCBlock_ffiVoid block) { - _lib._objc_msgSend_567( - this.pointer, - _lib._sel_performInModes_block_1, - modes.pointer, - block.pointer, - ); + _objc_msgSend_567( + this.pointer, _sel_performInModes_block_, modes.pointer, block.pointer); } void performBlock_(ObjCBlock_ffiVoid block) { - _lib._objc_msgSend_532( - this.pointer, - _lib._sel_performBlock_1, - block.pointer, - ); + _objc_msgSend_532(this.pointer, _sel_performBlock_, block.pointer); } void performSelector_target_argument_order_modes_( - ffi.Pointer aSelector, - NSObject target, - NSObject? arg, - int order, - NSArray modes, - ) { - _lib._objc_msgSend_568( - this.pointer, - _lib._sel_performSelector_target_argument_order_modes_1, - aSelector, - target.pointer, - arg?.pointer ?? ffi.nullptr, - order, - modes.pointer, - ); + ffi.Pointer aSelector, + NSObject target, + NSObject? arg, + int order, + NSArray modes) { + _objc_msgSend_568( + this.pointer, + _sel_performSelector_target_argument_order_modes_, + aSelector, + target.pointer, + arg?.pointer ?? ffi.nullptr, + order, + modes.pointer); } void cancelPerformSelector_target_argument_( - ffi.Pointer aSelector, - NSObject target, - NSObject? arg, - ) { - _lib._objc_msgSend_533( - this.pointer, - _lib._sel_cancelPerformSelector_target_argument_1, - aSelector, - target.pointer, - arg?.pointer ?? ffi.nullptr, - ); + ffi.Pointer aSelector, + NSObject target, + NSObject? arg) { + _objc_msgSend_533(this.pointer, _sel_cancelPerformSelector_target_argument_, + aSelector, target.pointer, arg?.pointer ?? ffi.nullptr); } void cancelPerformSelectorsWithTarget_(NSObject target) { - _lib._objc_msgSend_15( - this.pointer, - _lib._sel_cancelPerformSelectorsWithTarget_1, - target.pointer, - ); + _objc_msgSend_15( + this.pointer, _sel_cancelPerformSelectorsWithTarget_, target.pointer); } @override NSRunLoop init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSRunLoop._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSRunLoop._(_ret, retain: true, release: true); } - static NSRunLoop new1(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2(_lib._class_NSRunLoop1, _lib._sel_new1); - return NSRunLoop._(_ret, _lib, retain: false, release: true); + static NSRunLoop new1() { + final _ret = _objc_msgSend_2(_class_NSRunLoop, _sel_new); + return NSRunLoop._(_ret, retain: false, release: true); } - static NSRunLoop allocWithZone_(AVFAudio _lib, ffi.Pointer<_NSZone> zone) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSRunLoop1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSRunLoop._(_ret, _lib, retain: false, release: true); + static NSRunLoop allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = _objc_msgSend_3(_class_NSRunLoop, _sel_allocWithZone_, zone); + return NSRunLoop._(_ret, retain: false, release: true); } - static NSRunLoop alloc(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2(_lib._class_NSRunLoop1, _lib._sel_alloc1); - return NSRunLoop._(_ret, _lib, retain: false, release: true); + static NSRunLoop alloc() { + final _ret = _objc_msgSend_2(_class_NSRunLoop, _sel_alloc); + return NSRunLoop._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSRunLoop1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSRunLoop1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSRunLoop1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSRunLoop1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSRunLoop1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSRunLoop1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSRunLoop, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); + } + + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSRunLoop, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); + } + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSRunLoop, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSRunLoop, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSRunLoop, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSRunLoop, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); } static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSRunLoop1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSRunLoop1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSRunLoop1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSRunLoop, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = + _objc_msgSend_85(_class_NSRunLoop, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = + _objc_msgSend_2(_class_NSRunLoop, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); } } +late final _class_NSRunLoop = objc.getClass("NSRunLoop"); +late final _sel_currentRunLoop = objc.registerName("currentRunLoop"); +final _objc_msgSend_554 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_mainRunLoop = objc.registerName("mainRunLoop"); +late final _sel_currentMode = objc.registerName("currentMode"); + final class __CFRunLoop extends ffi.Opaque {} +late final _sel_getCFRunLoop = objc.registerName("getCFRunLoop"); +final _objc_msgSend_555 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer<__CFRunLoop> Function(ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer<__CFRunLoop> Function( + ffi.Pointer, ffi.Pointer)>(); + class NSTimer extends NSObject { - NSTimer._( - ffi.Pointer pointer, - AVFAudio lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSTimer._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSTimer] that points to the same underlying object as [other]. - static NSTimer castFrom( - AVFAudio lib, - T other, - ) { - return NSTimer._(other.pointer, lib, retain: true, release: true); + static NSTimer castFrom(T other) { + return NSTimer._(other.pointer, retain: true, release: true); } /// Returns a [NSTimer] that wraps the given raw object pointer. - static NSTimer castFromPointer( - AVFAudio lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSTimer._(other, lib, retain: retain, release: release); + static NSTimer castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSTimer._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSTimer]. - static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSTimer1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0(obj.pointer, _sel_isKindOfClass_, _class_NSTimer); } static NSTimer timerWithTimeInterval_invocation_repeats_( - AVFAudio _lib, - double ti, - NSInvocation invocation, - bool yesOrNo, - ) { - final _ret = _lib._objc_msgSend_556( - _lib._class_NSTimer1, - _lib._sel_timerWithTimeInterval_invocation_repeats_1, - ti, - invocation.pointer, - yesOrNo, - ); - return NSTimer._(_ret, _lib, retain: true, release: true); + double ti, NSInvocation invocation, bool yesOrNo) { + final _ret = _objc_msgSend_556( + _class_NSTimer, + _sel_timerWithTimeInterval_invocation_repeats_, + ti, + invocation.pointer, + yesOrNo); + return NSTimer._(_ret, retain: true, release: true); } static NSTimer scheduledTimerWithTimeInterval_invocation_repeats_( - AVFAudio _lib, - double ti, - NSInvocation invocation, - bool yesOrNo, - ) { - final _ret = _lib._objc_msgSend_556( - _lib._class_NSTimer1, - _lib._sel_scheduledTimerWithTimeInterval_invocation_repeats_1, - ti, - invocation.pointer, - yesOrNo, - ); - return NSTimer._(_ret, _lib, retain: true, release: true); + double ti, NSInvocation invocation, bool yesOrNo) { + final _ret = _objc_msgSend_556( + _class_NSTimer, + _sel_scheduledTimerWithTimeInterval_invocation_repeats_, + ti, + invocation.pointer, + yesOrNo); + return NSTimer._(_ret, retain: true, release: true); } static NSTimer timerWithTimeInterval_target_selector_userInfo_repeats_( - AVFAudio _lib, - double ti, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? userInfo, - bool yesOrNo, - ) { - final _ret = _lib._objc_msgSend_557( - _lib._class_NSTimer1, - _lib._sel_timerWithTimeInterval_target_selector_userInfo_repeats_1, - ti, - aTarget.pointer, - aSelector, - userInfo?.pointer ?? ffi.nullptr, - yesOrNo, - ); - return NSTimer._(_ret, _lib, retain: true, release: true); + double ti, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? userInfo, + bool yesOrNo) { + final _ret = _objc_msgSend_557( + _class_NSTimer, + _sel_timerWithTimeInterval_target_selector_userInfo_repeats_, + ti, + aTarget.pointer, + aSelector, + userInfo?.pointer ?? ffi.nullptr, + yesOrNo); + return NSTimer._(_ret, retain: true, release: true); } static NSTimer scheduledTimerWithTimeInterval_target_selector_userInfo_repeats_( - AVFAudio _lib, - double ti, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? userInfo, - bool yesOrNo, - ) { - final _ret = _lib._objc_msgSend_557( - _lib._class_NSTimer1, - _lib._sel_scheduledTimerWithTimeInterval_target_selector_userInfo_repeats_1, - ti, - aTarget.pointer, - aSelector, - userInfo?.pointer ?? ffi.nullptr, - yesOrNo, - ); - return NSTimer._(_ret, _lib, retain: true, release: true); + double ti, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? userInfo, + bool yesOrNo) { + final _ret = _objc_msgSend_557( + _class_NSTimer, + _sel_scheduledTimerWithTimeInterval_target_selector_userInfo_repeats_, + ti, + aTarget.pointer, + aSelector, + userInfo?.pointer ?? ffi.nullptr, + yesOrNo); + return NSTimer._(_ret, retain: true, release: true); } static NSTimer timerWithTimeInterval_repeats_block_( - AVFAudio _lib, - double interval, - bool repeats, - ObjCBlock_ffiVoid_NSTimer block, - ) { - final _ret = _lib._objc_msgSend_558( - _lib._class_NSTimer1, - _lib._sel_timerWithTimeInterval_repeats_block_1, - interval, - repeats, - block.pointer, - ); - return NSTimer._(_ret, _lib, retain: true, release: true); + double interval, bool repeats, ObjCBlock_ffiVoid_NSTimer block) { + final _ret = _objc_msgSend_558( + _class_NSTimer, + _sel_timerWithTimeInterval_repeats_block_, + interval, + repeats, + block.pointer); + return NSTimer._(_ret, retain: true, release: true); } static NSTimer scheduledTimerWithTimeInterval_repeats_block_( - AVFAudio _lib, - double interval, - bool repeats, - ObjCBlock_ffiVoid_NSTimer block, - ) { - final _ret = _lib._objc_msgSend_558( - _lib._class_NSTimer1, - _lib._sel_scheduledTimerWithTimeInterval_repeats_block_1, - interval, - repeats, - block.pointer, - ); - return NSTimer._(_ret, _lib, retain: true, release: true); - } - - NSTimer initWithFireDate_interval_repeats_block_( - NSDate date, - double interval, - bool repeats, - ObjCBlock_ffiVoid_NSTimer block, - ) { - final _ret = _lib._objc_msgSend_559( - this.pointer, - _lib._sel_initWithFireDate_interval_repeats_block_1, - date.pointer, - interval, - repeats, - block.pointer, - ); - return NSTimer._(_ret, _lib, retain: true, release: true); + double interval, bool repeats, ObjCBlock_ffiVoid_NSTimer block) { + final _ret = _objc_msgSend_558( + _class_NSTimer, + _sel_scheduledTimerWithTimeInterval_repeats_block_, + interval, + repeats, + block.pointer); + return NSTimer._(_ret, retain: true, release: true); + } + + NSTimer initWithFireDate_interval_repeats_block_(NSDate date, double interval, + bool repeats, ObjCBlock_ffiVoid_NSTimer block) { + final _ret = _objc_msgSend_559( + this.pointer, + _sel_initWithFireDate_interval_repeats_block_, + date.pointer, + interval, + repeats, + block.pointer); + return NSTimer._(_ret, retain: true, release: true); } NSTimer initWithFireDate_interval_target_selector_userInfo_repeats_( - NSDate date, - double ti, - NSObject t, - ffi.Pointer s, - NSObject? ui, - bool rep, - ) { - final _ret = _lib._objc_msgSend_560( - this.pointer, - _lib._sel_initWithFireDate_interval_target_selector_userInfo_repeats_1, - date.pointer, - ti, - t.pointer, - s, - ui?.pointer ?? ffi.nullptr, - rep, - ); - return NSTimer._(_ret, _lib, retain: true, release: true); + NSDate date, + double ti, + NSObject t, + ffi.Pointer s, + NSObject? ui, + bool rep) { + final _ret = _objc_msgSend_560( + this.pointer, + _sel_initWithFireDate_interval_target_selector_userInfo_repeats_, + date.pointer, + ti, + t.pointer, + s, + ui?.pointer ?? ffi.nullptr, + rep); + return NSTimer._(_ret, retain: true, release: true); } void fire() { - _lib._objc_msgSend_1(this.pointer, _lib._sel_fire1); + _objc_msgSend_1(this.pointer, _sel_fire); } NSDate get fireDate { - final _ret = _lib._objc_msgSend_172(this.pointer, _lib._sel_fireDate1); - return NSDate._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_172(this.pointer, _sel_fireDate); + return NSDate._(_ret, retain: true, release: true); } set fireDate(NSDate value) { - return _lib._objc_msgSend_561( - this.pointer, - _lib._sel_setFireDate_1, - value.pointer, - ); + return _objc_msgSend_561(this.pointer, _sel_setFireDate_, value.pointer); } double get timeInterval { return objc.useMsgSendVariants - ? _lib._objc_msgSend_165_fpret(this.pointer, _lib._sel_timeInterval1) - : _lib._objc_msgSend_165(this.pointer, _lib._sel_timeInterval1); + ? _objc_msgSend_165Fpret(this.pointer, _sel_timeInterval) + : _objc_msgSend_165(this.pointer, _sel_timeInterval); } double get tolerance { return objc.useMsgSendVariants - ? _lib._objc_msgSend_165_fpret(this.pointer, _lib._sel_tolerance1) - : _lib._objc_msgSend_165(this.pointer, _lib._sel_tolerance1); + ? _objc_msgSend_165Fpret(this.pointer, _sel_tolerance) + : _objc_msgSend_165(this.pointer, _sel_tolerance); } set tolerance(double value) { - return _lib._objc_msgSend_542( - this.pointer, - _lib._sel_setTolerance_1, - value, - ); + return _objc_msgSend_542(this.pointer, _sel_setTolerance_, value); } void invalidate() { - _lib._objc_msgSend_1(this.pointer, _lib._sel_invalidate1); + _objc_msgSend_1(this.pointer, _sel_invalidate); } bool get valid { - return _lib._objc_msgSend_12(this.pointer, _lib._sel_isValid1); + return _objc_msgSend_12(this.pointer, _sel_isValid); } NSObject? get userInfo { - final _ret = _lib._objc_msgSend_17(this.pointer, _lib._sel_userInfo1); + final _ret = _objc_msgSend_17(this.pointer, _sel_userInfo); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } @override NSTimer init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSTimer._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSTimer._(_ret, retain: true, release: true); } - static NSTimer new1(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2(_lib._class_NSTimer1, _lib._sel_new1); - return NSTimer._(_ret, _lib, retain: false, release: true); + static NSTimer new1() { + final _ret = _objc_msgSend_2(_class_NSTimer, _sel_new); + return NSTimer._(_ret, retain: false, release: true); } - static NSTimer allocWithZone_(AVFAudio _lib, ffi.Pointer<_NSZone> zone) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSTimer1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSTimer._(_ret, _lib, retain: false, release: true); + static NSTimer allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = _objc_msgSend_3(_class_NSTimer, _sel_allocWithZone_, zone); + return NSTimer._(_ret, retain: false, release: true); } - static NSTimer alloc(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2(_lib._class_NSTimer1, _lib._sel_alloc1); - return NSTimer._(_ret, _lib, retain: false, release: true); + static NSTimer alloc() { + final _ret = _objc_msgSend_2(_class_NSTimer, _sel_alloc); + return NSTimer._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSTimer1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSTimer1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSTimer1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSTimer1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSTimer1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSTimer1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSTimer, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); } - static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSTimer1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSTimer1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSTimer1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSTimer, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); + } + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSTimer, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSTimer, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSTimer, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSTimer, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); } -} + static void setKeys_triggerChangeNotificationsForDependentKey_( + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSTimer, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = + _objc_msgSend_85(_class_NSTimer, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = _objc_msgSend_2(_class_NSTimer, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); + } +} + +late final _class_NSTimer = objc.getClass("NSTimer"); +late final _sel_timerWithTimeInterval_invocation_repeats_ = + objc.registerName("timerWithTimeInterval:invocation:repeats:"); +final _objc_msgSend_556 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Double ti, + ffi.Pointer invocation, + ffi.Bool yesOrNo)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + double, + ffi.Pointer, + bool)>(); +late final _sel_scheduledTimerWithTimeInterval_invocation_repeats_ = + objc.registerName("scheduledTimerWithTimeInterval:invocation:repeats:"); +late final _sel_timerWithTimeInterval_target_selector_userInfo_repeats_ = objc + .registerName("timerWithTimeInterval:target:selector:userInfo:repeats:"); +final _objc_msgSend_557 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Double ti, + ffi.Pointer aTarget, + ffi.Pointer aSelector, + ffi.Pointer userInfo, + ffi.Bool yesOrNo)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + double, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool)>(); +late final _sel_scheduledTimerWithTimeInterval_target_selector_userInfo_repeats_ = + objc.registerName( + "scheduledTimerWithTimeInterval:target:selector:userInfo:repeats:"); void _ObjCBlock_ffiVoid_NSTimer_fnPtrTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, -) => + ffi.Pointer block, ffi.Pointer arg0) => block.ref.target .cast< ffi.NativeFunction< @@ -61148,44 +26006,28 @@ final _ObjCBlock_ffiVoid_NSTimer_closureRegistry = )>{}; int _ObjCBlock_ffiVoid_NSTimer_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_ffiVoid_NSTimer_registerClosure( - void Function(ffi.Pointer) fn, -) { + void Function(ffi.Pointer) fn) { final id = ++_ObjCBlock_ffiVoid_NSTimer_closureRegistryIndex; _ObjCBlock_ffiVoid_NSTimer_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } void _ObjCBlock_ffiVoid_NSTimer_closureTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, -) => - _ObjCBlock_ffiVoid_NSTimer_closureRegistry[block.ref.target.address]!( - arg0, - ); + ffi.Pointer block, ffi.Pointer arg0) => + _ObjCBlock_ffiVoid_NSTimer_closureRegistry[block.ref.target.address]!(arg0); class ObjCBlock_ffiVoid_NSTimer extends objc.ObjCBlockBase { - ObjCBlock_ffiVoid_NSTimer._( - ffi.Pointer pointer, - this._lib, { - bool retain = false, - bool release = true, - }) : super(pointer, retain: retain, release: release); - - AVFAudio _lib; + ObjCBlock_ffiVoid_NSTimer._(ffi.Pointer pointer, + {bool retain = false, bool release = true}) + : super(pointer, retain: retain, release: release); /// Returns a block that wraps the given raw block pointer. static ObjCBlock_ffiVoid_NSTimer castFromPointer( - AVFAudio lib, - ffi.Pointer pointer, { - bool retain = false, - bool release = false, - }) { - return ObjCBlock_ffiVoid_NSTimer._( - pointer, - lib, - retain: retain, - release: release, - ); + ffi.Pointer pointer, + {bool retain = false, + bool release = false}) { + return ObjCBlock_ffiVoid_NSTimer._(pointer, + retain: retain, release: release); } /// Creates a block from a C function pointer. @@ -61194,22 +26036,17 @@ class ObjCBlock_ffiVoid_NSTimer extends objc.ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSTimer.fromFunctionPointer( - AVFAudio lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer arg0)>> - ptr, - ) : this._( - objc.newBlock( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - )>(_ObjCBlock_ffiVoid_NSTimer_fnPtrTrampoline) - .cast(), - ptr.cast(), - ), - lib); + ffi.Pointer< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer arg0)>> + ptr) + : this._(objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function(ffi.Pointer, + ffi.Pointer)>( + _ObjCBlock_ffiVoid_NSTimer_fnPtrTrampoline) + .cast(), + ptr.cast())); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -61217,23 +26054,16 @@ class ObjCBlock_ffiVoid_NSTimer extends objc.ObjCBlockBase { /// This block must be invoked by native code running on the same thread as /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. - ObjCBlock_ffiVoid_NSTimer.fromFunction( - AVFAudio lib, - void Function(NSTimer) fn, - ) : this._( - objc.newBlock( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - )>(_ObjCBlock_ffiVoid_NSTimer_closureTrampoline) - .cast(), - _ObjCBlock_ffiVoid_NSTimer_registerClosure(( - ffi.Pointer arg0, - ) => - fn(NSTimer._(arg0, lib, retain: true, release: true))), - ), - lib); + ObjCBlock_ffiVoid_NSTimer.fromFunction(void Function(NSTimer) fn) + : this._(objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function(ffi.Pointer, + ffi.Pointer)>( + _ObjCBlock_ffiVoid_NSTimer_closureTrampoline) + .cast(), + _ObjCBlock_ffiVoid_NSTimer_registerClosure( + (ffi.Pointer arg0) => + fn(NSTimer._(arg0, retain: true, release: true))))); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -61245,24 +26075,18 @@ class ObjCBlock_ffiVoid_NSTimer extends objc.ObjCBlockBase { /// /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. - ObjCBlock_ffiVoid_NSTimer.listener(AVFAudio lib, void Function(NSTimer) fn) - : this._( - objc.newBlock( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - )>.listener( - _ObjCBlock_ffiVoid_NSTimer_closureTrampoline, - )..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSTimer_registerClosure(( - ffi.Pointer arg0, - ) => - fn(NSTimer._(arg0, lib, retain: true, release: true))), - ), - lib); + ObjCBlock_ffiVoid_NSTimer.listener(void Function(NSTimer) fn) + : this._(objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function(ffi.Pointer, + ffi.Pointer)>.listener( + _ObjCBlock_ffiVoid_NSTimer_closureTrampoline) + ..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSTimer_registerClosure( + (ffi.Pointer arg0) => + fn(NSTimer._(arg0, retain: true, release: true))))); static ffi.NativeCallable< ffi.Void Function( ffi.Pointer, ffi.Pointer)>? @@ -61271,2321 +26095,2453 @@ class ObjCBlock_ffiVoid_NSTimer extends objc.ObjCBlockBase { void call(NSTimer arg0) => pointer.ref.invoke .cast< ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer block, - ffi.Pointer arg0, - )>>() + ffi.Void Function(ffi.Pointer block, + ffi.Pointer arg0)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer)>()(pointer, arg0.pointer); } +late final _sel_timerWithTimeInterval_repeats_block_ = + objc.registerName("timerWithTimeInterval:repeats:block:"); +final _objc_msgSend_558 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Double interval, + ffi.Bool repeats, + ffi.Pointer block)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + double, + bool, + ffi.Pointer)>(); +late final _sel_scheduledTimerWithTimeInterval_repeats_block_ = + objc.registerName("scheduledTimerWithTimeInterval:repeats:block:"); +late final _sel_initWithFireDate_interval_repeats_block_ = + objc.registerName("initWithFireDate:interval:repeats:block:"); +final _objc_msgSend_559 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer date, + ffi.Double interval, + ffi.Bool repeats, + ffi.Pointer block)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + double, + bool, + ffi.Pointer)>(); +late final _sel_initWithFireDate_interval_target_selector_userInfo_repeats_ = + objc.registerName( + "initWithFireDate:interval:target:selector:userInfo:repeats:"); +final _objc_msgSend_560 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer date, + ffi.Double ti, + ffi.Pointer t, + ffi.Pointer s, + ffi.Pointer ui, + ffi.Bool rep)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + double, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool)>(); +late final _sel_fire = objc.registerName("fire"); +late final _sel_fireDate = objc.registerName("fireDate"); +late final _sel_setFireDate_ = objc.registerName("setFireDate:"); +final _objc_msgSend_561 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_timeInterval = objc.registerName("timeInterval"); +late final _sel_tolerance = objc.registerName("tolerance"); +late final _sel_setTolerance_ = objc.registerName("setTolerance:"); +late final _sel_addTimer_forMode_ = objc.registerName("addTimer:forMode:"); +final _objc_msgSend_562 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer timer, + ffi.Pointer mode)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_addPort_forMode_ = objc.registerName("addPort:forMode:"); +final _objc_msgSend_563 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer aPort, + ffi.Pointer mode)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_removePort_forMode_ = objc.registerName("removePort:forMode:"); +late final _sel_limitDateForMode_ = objc.registerName("limitDateForMode:"); +final _objc_msgSend_564 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer mode)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_acceptInputForMode_beforeDate_ = + objc.registerName("acceptInputForMode:beforeDate:"); +final _objc_msgSend_565 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer mode, + ffi.Pointer limitDate)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_run = objc.registerName("run"); +late final _sel_runUntilDate_ = objc.registerName("runUntilDate:"); +late final _sel_runMode_beforeDate_ = objc.registerName("runMode:beforeDate:"); +final _objc_msgSend_566 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer mode, + ffi.Pointer limitDate)>>() + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_configureAsServer = objc.registerName("configureAsServer"); +late final _sel_performInModes_block_ = + objc.registerName("performInModes:block:"); +final _objc_msgSend_567 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer modes, + ffi.Pointer block)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_performBlock_ = objc.registerName("performBlock:"); +late final _sel_performSelector_target_argument_order_modes_ = + objc.registerName("performSelector:target:argument:order:modes:"); +final _objc_msgSend_568 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer aSelector, + ffi.Pointer target, + ffi.Pointer arg, + ffi.UnsignedLong order, + ffi.Pointer modes)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer)>(); +late final _sel_cancelPerformSelector_target_argument_ = + objc.registerName("cancelPerformSelector:target:argument:"); +late final _sel_cancelPerformSelectorsWithTarget_ = + objc.registerName("cancelPerformSelectorsWithTarget:"); +late final _sel_scheduleInRunLoop_forMode_ = + objc.registerName("scheduleInRunLoop:forMode:"); +final _objc_msgSend_569 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer runLoop, + ffi.Pointer mode)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_removeFromRunLoop_forMode_ = + objc.registerName("removeFromRunLoop:forMode:"); +late final _sel_reservedSpaceLength = objc.registerName("reservedSpaceLength"); +late final _sel_sendBeforeDate_components_from_reserved_ = + objc.registerName("sendBeforeDate:components:from:reserved:"); +final _objc_msgSend_570 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer limitDate, + ffi.Pointer components, + ffi.Pointer receivePort, + ffi.UnsignedLong headerSpaceReserved)>>() + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int)>(); +late final _sel_sendBeforeDate_msgid_components_from_reserved_ = + objc.registerName("sendBeforeDate:msgid:components:from:reserved:"); +final _objc_msgSend_571 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer limitDate, + ffi.UnsignedLong msgID, + ffi.Pointer components, + ffi.Pointer receivePort, + ffi.UnsignedLong headerSpaceReserved)>>() + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ffi.Pointer, + int)>(); + class NSConnection extends NSObject { - NSConnection._( - ffi.Pointer pointer, - AVFAudio lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSConnection._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSConnection] that points to the same underlying object as [other]. - static NSConnection castFrom( - AVFAudio lib, - T other, - ) { - return NSConnection._(other.pointer, lib, retain: true, release: true); + static NSConnection castFrom(T other) { + return NSConnection._(other.pointer, retain: true, release: true); } /// Returns a [NSConnection] that wraps the given raw object pointer. - static NSConnection castFromPointer( - AVFAudio lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSConnection._(other, lib, retain: retain, release: release); + static NSConnection castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSConnection._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSConnection]. - static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSConnection1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0( + obj.pointer, _sel_isKindOfClass_, _class_NSConnection); } NSDictionary get statistics { - final _ret = _lib._objc_msgSend_181(this.pointer, _lib._sel_statistics1); - return NSDictionary._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_181(this.pointer, _sel_statistics); + return NSDictionary._(_ret, retain: true, release: true); } - static NSArray allConnections(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSConnection1, - _lib._sel_allConnections1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); + static NSArray allConnections() { + final _ret = _objc_msgSend_85(_class_NSConnection, _sel_allConnections); + return NSArray._(_ret, retain: true, release: true); } - static NSConnection defaultConnection(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_572( - _lib._class_NSConnection1, - _lib._sel_defaultConnection1, - ); - return NSConnection._(_ret, _lib, retain: true, release: true); + static NSConnection defaultConnection() { + final _ret = _objc_msgSend_572(_class_NSConnection, _sel_defaultConnection); + return NSConnection._(_ret, retain: true, release: true); } static NSConnection? connectionWithRegisteredName_host_( - AVFAudio _lib, - NSString name, - NSString? hostName, - ) { - final _ret = _lib._objc_msgSend_573( - _lib._class_NSConnection1, - _lib._sel_connectionWithRegisteredName_host_1, - name.pointer, - hostName?.pointer ?? ffi.nullptr, - ); + NSString name, NSString? hostName) { + final _ret = _objc_msgSend_573( + _class_NSConnection, + _sel_connectionWithRegisteredName_host_, + name.pointer, + hostName?.pointer ?? ffi.nullptr); return _ret.address == 0 ? null - : NSConnection._(_ret, _lib, retain: true, release: true); + : NSConnection._(_ret, retain: true, release: true); } static NSConnection? connectionWithRegisteredName_host_usingNameServer_( - AVFAudio _lib, - NSString name, - NSString? hostName, - NSPortNameServer server, - ) { - final _ret = _lib._objc_msgSend_578( - _lib._class_NSConnection1, - _lib._sel_connectionWithRegisteredName_host_usingNameServer_1, - name.pointer, - hostName?.pointer ?? ffi.nullptr, - server.pointer, - ); + NSString name, NSString? hostName, NSPortNameServer server) { + final _ret = _objc_msgSend_578( + _class_NSConnection, + _sel_connectionWithRegisteredName_host_usingNameServer_, + name.pointer, + hostName?.pointer ?? ffi.nullptr, + server.pointer); return _ret.address == 0 ? null - : NSConnection._(_ret, _lib, retain: true, release: true); + : NSConnection._(_ret, retain: true, release: true); } static NSDistantObject? rootProxyForConnectionWithRegisteredName_host_( - AVFAudio _lib, - NSString name, - NSString? hostName, - ) { - final _ret = _lib._objc_msgSend_583( - _lib._class_NSConnection1, - _lib._sel_rootProxyForConnectionWithRegisteredName_host_1, - name.pointer, - hostName?.pointer ?? ffi.nullptr, - ); + NSString name, NSString? hostName) { + final _ret = _objc_msgSend_583( + _class_NSConnection, + _sel_rootProxyForConnectionWithRegisteredName_host_, + name.pointer, + hostName?.pointer ?? ffi.nullptr); return _ret.address == 0 ? null - : NSDistantObject._(_ret, _lib, retain: true, release: true); + : NSDistantObject._(_ret, retain: true, release: true); } static NSDistantObject? rootProxyForConnectionWithRegisteredName_host_usingNameServer_( - AVFAudio _lib, - NSString name, - NSString? hostName, - NSPortNameServer server, - ) { - final _ret = _lib._objc_msgSend_584( - _lib._class_NSConnection1, - _lib._sel_rootProxyForConnectionWithRegisteredName_host_usingNameServer_1, - name.pointer, - hostName?.pointer ?? ffi.nullptr, - server.pointer, - ); + NSString name, NSString? hostName, NSPortNameServer server) { + final _ret = _objc_msgSend_584( + _class_NSConnection, + _sel_rootProxyForConnectionWithRegisteredName_host_usingNameServer_, + name.pointer, + hostName?.pointer ?? ffi.nullptr, + server.pointer); return _ret.address == 0 ? null - : NSDistantObject._(_ret, _lib, retain: true, release: true); + : NSDistantObject._(_ret, retain: true, release: true); } static NSConnection? serviceConnectionWithName_rootObject_usingNameServer_( - AVFAudio _lib, - NSString name, - NSObject root, - NSPortNameServer server, - ) { - final _ret = _lib._objc_msgSend_585( - _lib._class_NSConnection1, - _lib._sel_serviceConnectionWithName_rootObject_usingNameServer_1, - name.pointer, - root.pointer, - server.pointer, - ); + NSString name, NSObject root, NSPortNameServer server) { + final _ret = _objc_msgSend_585( + _class_NSConnection, + _sel_serviceConnectionWithName_rootObject_usingNameServer_, + name.pointer, + root.pointer, + server.pointer); return _ret.address == 0 ? null - : NSConnection._(_ret, _lib, retain: true, release: true); + : NSConnection._(_ret, retain: true, release: true); } static NSConnection? serviceConnectionWithName_rootObject_( - AVFAudio _lib, - NSString name, - NSObject root, - ) { - final _ret = _lib._objc_msgSend_586( - _lib._class_NSConnection1, - _lib._sel_serviceConnectionWithName_rootObject_1, - name.pointer, - root.pointer, - ); + NSString name, NSObject root) { + final _ret = _objc_msgSend_586(_class_NSConnection, + _sel_serviceConnectionWithName_rootObject_, name.pointer, root.pointer); return _ret.address == 0 ? null - : NSConnection._(_ret, _lib, retain: true, release: true); + : NSConnection._(_ret, retain: true, release: true); } double get requestTimeout { return objc.useMsgSendVariants - ? _lib._objc_msgSend_165_fpret(this.pointer, _lib._sel_requestTimeout1) - : _lib._objc_msgSend_165(this.pointer, _lib._sel_requestTimeout1); + ? _objc_msgSend_165Fpret(this.pointer, _sel_requestTimeout) + : _objc_msgSend_165(this.pointer, _sel_requestTimeout); } set requestTimeout(double value) { - return _lib._objc_msgSend_542( - this.pointer, - _lib._sel_setRequestTimeout_1, - value, - ); + return _objc_msgSend_542(this.pointer, _sel_setRequestTimeout_, value); } double get replyTimeout { return objc.useMsgSendVariants - ? _lib._objc_msgSend_165_fpret(this.pointer, _lib._sel_replyTimeout1) - : _lib._objc_msgSend_165(this.pointer, _lib._sel_replyTimeout1); + ? _objc_msgSend_165Fpret(this.pointer, _sel_replyTimeout) + : _objc_msgSend_165(this.pointer, _sel_replyTimeout); } set replyTimeout(double value) { - return _lib._objc_msgSend_542( - this.pointer, - _lib._sel_setReplyTimeout_1, - value, - ); + return _objc_msgSend_542(this.pointer, _sel_setReplyTimeout_, value); } NSObject? get rootObject { - final _ret = _lib._objc_msgSend_17(this.pointer, _lib._sel_rootObject1); + final _ret = _objc_msgSend_17(this.pointer, _sel_rootObject); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } set rootObject(NSObject? value) { - return _lib._objc_msgSend_416( - this.pointer, - _lib._sel_setRootObject_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_416( + this.pointer, _sel_setRootObject_, value?.pointer ?? ffi.nullptr); } NSObject? get delegate { - final _ret = _lib._objc_msgSend_17(this.pointer, _lib._sel_delegate1); + final _ret = _objc_msgSend_17(this.pointer, _sel_delegate); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } set delegate(NSObject? value) { - return _lib._objc_msgSend_416( - this.pointer, - _lib._sel_setDelegate_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_416( + this.pointer, _sel_setDelegate_, value?.pointer ?? ffi.nullptr); } bool get independentConversationQueueing { - return _lib._objc_msgSend_12( - this.pointer, - _lib._sel_independentConversationQueueing1, - ); + return _objc_msgSend_12(this.pointer, _sel_independentConversationQueueing); } set independentConversationQueueing(bool value) { - return _lib._objc_msgSend_527( - this.pointer, - _lib._sel_setIndependentConversationQueueing_1, - value, - ); + return _objc_msgSend_527( + this.pointer, _sel_setIndependentConversationQueueing_, value); } bool get valid { - return _lib._objc_msgSend_12(this.pointer, _lib._sel_isValid1); + return _objc_msgSend_12(this.pointer, _sel_isValid); } NSDistantObject get rootProxy { - final _ret = _lib._objc_msgSend_587(this.pointer, _lib._sel_rootProxy1); - return NSDistantObject._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_587(this.pointer, _sel_rootProxy); + return NSDistantObject._(_ret, retain: true, release: true); } void invalidate() { - _lib._objc_msgSend_1(this.pointer, _lib._sel_invalidate1); + _objc_msgSend_1(this.pointer, _sel_invalidate); } void addRequestMode_(NSString rmode) { - _lib._objc_msgSend_247( - this.pointer, - _lib._sel_addRequestMode_1, - rmode.pointer, - ); + _objc_msgSend_247(this.pointer, _sel_addRequestMode_, rmode.pointer); } void removeRequestMode_(NSString rmode) { - _lib._objc_msgSend_247( - this.pointer, - _lib._sel_removeRequestMode_1, - rmode.pointer, - ); + _objc_msgSend_247(this.pointer, _sel_removeRequestMode_, rmode.pointer); } NSArray get requestModes { - final _ret = _lib._objc_msgSend_85(this.pointer, _lib._sel_requestModes1); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_85(this.pointer, _sel_requestModes); + return NSArray._(_ret, retain: true, release: true); } bool registerName_(NSString? name) { - return _lib._objc_msgSend_588( - this.pointer, - _lib._sel_registerName_1, - name?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_588( + this.pointer, _sel_registerName_, name?.pointer ?? ffi.nullptr); } bool registerName_withNameServer_(NSString? name, NSPortNameServer server) { - return _lib._objc_msgSend_589( - this.pointer, - _lib._sel_registerName_withNameServer_1, - name?.pointer ?? ffi.nullptr, - server.pointer, - ); + return _objc_msgSend_589(this.pointer, _sel_registerName_withNameServer_, + name?.pointer ?? ffi.nullptr, server.pointer); } static NSConnection? connectionWithReceivePort_sendPort_( - AVFAudio _lib, - NSPort? receivePort, - NSPort? sendPort, - ) { - final _ret = _lib._objc_msgSend_590( - _lib._class_NSConnection1, - _lib._sel_connectionWithReceivePort_sendPort_1, - receivePort?.pointer ?? ffi.nullptr, - sendPort?.pointer ?? ffi.nullptr, - ); + NSPort? receivePort, NSPort? sendPort) { + final _ret = _objc_msgSend_590( + _class_NSConnection, + _sel_connectionWithReceivePort_sendPort_, + receivePort?.pointer ?? ffi.nullptr, + sendPort?.pointer ?? ffi.nullptr); return _ret.address == 0 ? null - : NSConnection._(_ret, _lib, retain: true, release: true); + : NSConnection._(_ret, retain: true, release: true); } - static NSObject? currentConversation(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_17( - _lib._class_NSConnection1, - _lib._sel_currentConversation1, - ); + static NSObject? currentConversation() { + final _ret = + _objc_msgSend_17(_class_NSConnection, _sel_currentConversation); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } NSConnection? initWithReceivePort_sendPort_( - NSPort? receivePort, - NSPort? sendPort, - ) { - final _ret = _lib._objc_msgSend_590( - this.pointer, - _lib._sel_initWithReceivePort_sendPort_1, - receivePort?.pointer ?? ffi.nullptr, - sendPort?.pointer ?? ffi.nullptr, - ); + NSPort? receivePort, NSPort? sendPort) { + final _ret = _objc_msgSend_590( + this.pointer, + _sel_initWithReceivePort_sendPort_, + receivePort?.pointer ?? ffi.nullptr, + sendPort?.pointer ?? ffi.nullptr); return _ret.address == 0 ? null - : NSConnection._(_ret, _lib, retain: true, release: true); + : NSConnection._(_ret, retain: true, release: true); } NSPort get sendPort { - final _ret = _lib._objc_msgSend_553(this.pointer, _lib._sel_sendPort1); - return NSPort._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_553(this.pointer, _sel_sendPort); + return NSPort._(_ret, retain: true, release: true); } NSPort get receivePort { - final _ret = _lib._objc_msgSend_553(this.pointer, _lib._sel_receivePort1); - return NSPort._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_553(this.pointer, _sel_receivePort); + return NSPort._(_ret, retain: true, release: true); } void enableMultipleThreads() { - _lib._objc_msgSend_1(this.pointer, _lib._sel_enableMultipleThreads1); + _objc_msgSend_1(this.pointer, _sel_enableMultipleThreads); } bool get multipleThreadsEnabled { - return _lib._objc_msgSend_12( - this.pointer, - _lib._sel_multipleThreadsEnabled1, - ); + return _objc_msgSend_12(this.pointer, _sel_multipleThreadsEnabled); } void addRunLoop_(NSRunLoop runloop) { - _lib._objc_msgSend_591( - this.pointer, - _lib._sel_addRunLoop_1, - runloop.pointer, - ); + _objc_msgSend_591(this.pointer, _sel_addRunLoop_, runloop.pointer); } void removeRunLoop_(NSRunLoop runloop) { - _lib._objc_msgSend_591( - this.pointer, - _lib._sel_removeRunLoop_1, - runloop.pointer, - ); + _objc_msgSend_591(this.pointer, _sel_removeRunLoop_, runloop.pointer); } void runInNewThread() { - _lib._objc_msgSend_1(this.pointer, _lib._sel_runInNewThread1); + _objc_msgSend_1(this.pointer, _sel_runInNewThread); } NSArray get remoteObjects { - final _ret = _lib._objc_msgSend_85(this.pointer, _lib._sel_remoteObjects1); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_85(this.pointer, _sel_remoteObjects); + return NSArray._(_ret, retain: true, release: true); } NSArray get localObjects { - final _ret = _lib._objc_msgSend_85(this.pointer, _lib._sel_localObjects1); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_85(this.pointer, _sel_localObjects); + return NSArray._(_ret, retain: true, release: true); } void dispatchWithComponents_(NSArray components) { - _lib._objc_msgSend_472( - this.pointer, - _lib._sel_dispatchWithComponents_1, - components.pointer, - ); + _objc_msgSend_472( + this.pointer, _sel_dispatchWithComponents_, components.pointer); } @override NSConnection init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSConnection._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSConnection._(_ret, retain: true, release: true); } - static NSConnection new1(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSConnection1, - _lib._sel_new1, - ); - return NSConnection._(_ret, _lib, retain: false, release: true); + static NSConnection new1() { + final _ret = _objc_msgSend_2(_class_NSConnection, _sel_new); + return NSConnection._(_ret, retain: false, release: true); } - static NSConnection allocWithZone_(AVFAudio _lib, ffi.Pointer<_NSZone> zone) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSConnection1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSConnection._(_ret, _lib, retain: false, release: true); + static NSConnection allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = + _objc_msgSend_3(_class_NSConnection, _sel_allocWithZone_, zone); + return NSConnection._(_ret, retain: false, release: true); } - static NSConnection alloc(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSConnection1, - _lib._sel_alloc1, - ); - return NSConnection._(_ret, _lib, retain: false, release: true); + static NSConnection alloc() { + final _ret = _objc_msgSend_2(_class_NSConnection, _sel_alloc); + return NSConnection._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSConnection1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSConnection1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSConnection1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSConnection1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSConnection1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSConnection1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSConnection, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); } - static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSConnection1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSConnection1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSConnection1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSConnection, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); } -} + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSConnection, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSConnection, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSConnection, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSConnection, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); + } + + static void setKeys_triggerChangeNotificationsForDependentKey_( + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSConnection, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = _objc_msgSend_85( + _class_NSConnection, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = + _objc_msgSend_2(_class_NSConnection, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); + } +} + +late final _class_NSConnection = objc.getClass("NSConnection"); +late final _sel_statistics = objc.registerName("statistics"); +late final _sel_allConnections = objc.registerName("allConnections"); +late final _sel_defaultConnection = objc.registerName("defaultConnection"); +final _objc_msgSend_572 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_connectionWithRegisteredName_host_ = + objc.registerName("connectionWithRegisteredName:host:"); +final _objc_msgSend_573 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer name, + ffi.Pointer hostName)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); class NSPortNameServer extends NSObject { - NSPortNameServer._( - ffi.Pointer pointer, - AVFAudio lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSPortNameServer._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSPortNameServer] that points to the same underlying object as [other]. - static NSPortNameServer castFrom( - AVFAudio lib, - T other, - ) { - return NSPortNameServer._(other.pointer, lib, retain: true, release: true); + static NSPortNameServer castFrom(T other) { + return NSPortNameServer._(other.pointer, retain: true, release: true); } /// Returns a [NSPortNameServer] that wraps the given raw object pointer. - static NSPortNameServer castFromPointer( - AVFAudio lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSPortNameServer._(other, lib, retain: retain, release: release); + static NSPortNameServer castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSPortNameServer._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSPortNameServer]. - static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSPortNameServer1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0( + obj.pointer, _sel_isKindOfClass_, _class_NSPortNameServer); } - static NSPortNameServer systemDefaultPortNameServer(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_574( - _lib._class_NSPortNameServer1, - _lib._sel_systemDefaultPortNameServer1, - ); - return NSPortNameServer._(_ret, _lib, retain: true, release: true); + static NSPortNameServer systemDefaultPortNameServer() { + final _ret = _objc_msgSend_574( + _class_NSPortNameServer, _sel_systemDefaultPortNameServer); + return NSPortNameServer._(_ret, retain: true, release: true); } NSPort? portForName_(NSString name) { - final _ret = _lib._objc_msgSend_575( - this.pointer, - _lib._sel_portForName_1, - name.pointer, - ); + final _ret = + _objc_msgSend_575(this.pointer, _sel_portForName_, name.pointer); return _ret.address == 0 ? null - : NSPort._(_ret, _lib, retain: true, release: true); + : NSPort._(_ret, retain: true, release: true); } NSPort? portForName_host_(NSString name, NSString? host) { - final _ret = _lib._objc_msgSend_576( - this.pointer, - _lib._sel_portForName_host_1, - name.pointer, - host?.pointer ?? ffi.nullptr, - ); + final _ret = _objc_msgSend_576(this.pointer, _sel_portForName_host_, + name.pointer, host?.pointer ?? ffi.nullptr); return _ret.address == 0 ? null - : NSPort._(_ret, _lib, retain: true, release: true); + : NSPort._(_ret, retain: true, release: true); + } + + bool registerPort_name_(NSPort port, NSString name) { + return _objc_msgSend_577( + this.pointer, _sel_registerPort_name_, port.pointer, name.pointer); + } + + bool removePortForName_(NSString name) { + return _objc_msgSend_64( + this.pointer, _sel_removePortForName_, name.pointer); + } + + @override + NSPortNameServer init() { + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSPortNameServer._(_ret, retain: true, release: true); + } + + static NSPortNameServer new1() { + final _ret = _objc_msgSend_2(_class_NSPortNameServer, _sel_new); + return NSPortNameServer._(_ret, retain: false, release: true); + } + + static NSPortNameServer allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = + _objc_msgSend_3(_class_NSPortNameServer, _sel_allocWithZone_, zone); + return NSPortNameServer._(_ret, retain: false, release: true); } - bool registerPort_name_(NSPort port, NSString name) { - return _lib._objc_msgSend_577( - this.pointer, - _lib._sel_registerPort_name_1, - port.pointer, - name.pointer, - ); + static NSPortNameServer alloc() { + final _ret = _objc_msgSend_2(_class_NSPortNameServer, _sel_alloc); + return NSPortNameServer._(_ret, retain: false, release: true); } - bool removePortForName_(NSString name) { - return _lib._objc_msgSend_64( - this.pointer, - _lib._sel_removePortForName_1, - name.pointer, - ); + static void cancelPreviousPerformRequestsWithTarget_selector_object_( + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSPortNameServer, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); } - @override - NSPortNameServer init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSPortNameServer._(_ret, _lib, retain: true, release: true); + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSPortNameServer, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); } - static NSPortNameServer new1(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSPortNameServer1, - _lib._sel_new1, - ); - return NSPortNameServer._(_ret, _lib, retain: false, release: true); + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSPortNameServer, _sel_accessInstanceVariablesDirectly); } - static NSPortNameServer allocWithZone_( - AVFAudio _lib, - ffi.Pointer<_NSZone> zone, - ) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSPortNameServer1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSPortNameServer._(_ret, _lib, retain: false, release: true); + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSPortNameServer, _sel_useStoredAccessor); } - static NSPortNameServer alloc(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSPortNameServer1, - _lib._sel_alloc1, - ); - return NSPortNameServer._(_ret, _lib, retain: false, release: true); + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSPortNameServer, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); } - static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSPortNameServer1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSPortNameServer1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSPortNameServer1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSPortNameServer1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSPortNameServer1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSPortNameServer1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSPortNameServer, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); } static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSPortNameServer1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSPortNameServer1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSPortNameServer1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); - } -} + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSPortNameServer, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = _objc_msgSend_85( + _class_NSPortNameServer, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = + _objc_msgSend_2(_class_NSPortNameServer, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); + } +} + +late final _class_NSPortNameServer = objc.getClass("NSPortNameServer"); +late final _sel_systemDefaultPortNameServer = + objc.registerName("systemDefaultPortNameServer"); +final _objc_msgSend_574 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_portForName_ = objc.registerName("portForName:"); +final _objc_msgSend_575 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer name)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_portForName_host_ = objc.registerName("portForName:host:"); +final _objc_msgSend_576 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer name, + ffi.Pointer host)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_registerPort_name_ = objc.registerName("registerPort:name:"); +final _objc_msgSend_577 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer port, + ffi.Pointer name)>>() + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_removePortForName_ = objc.registerName("removePortForName:"); +late final _sel_connectionWithRegisteredName_host_usingNameServer_ = + objc.registerName("connectionWithRegisteredName:host:usingNameServer:"); +final _objc_msgSend_578 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer name, + ffi.Pointer hostName, + ffi.Pointer server)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); class NSDistantObject extends NSProxy { - NSDistantObject._( - ffi.Pointer pointer, - AVFAudio lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSDistantObject._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSDistantObject] that points to the same underlying object as [other]. - static NSDistantObject castFrom( - AVFAudio lib, - T other, - ) { - return NSDistantObject._(other.pointer, lib, retain: true, release: true); + static NSDistantObject castFrom(T other) { + return NSDistantObject._(other.pointer, retain: true, release: true); } /// Returns a [NSDistantObject] that wraps the given raw object pointer. - static NSDistantObject castFromPointer( - AVFAudio lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSDistantObject._(other, lib, retain: retain, release: release); + static NSDistantObject castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSDistantObject._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSDistantObject]. - static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSDistantObject1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0( + obj.pointer, _sel_isKindOfClass_, _class_NSDistantObject); } static NSObject? proxyWithTarget_connection_( - AVFAudio _lib, - NSObject target, - NSConnection connection, - ) { - final _ret = _lib._objc_msgSend_580( - _lib._class_NSDistantObject1, - _lib._sel_proxyWithTarget_connection_1, - target.pointer, - connection.pointer, - ); + NSObject target, NSConnection connection) { + final _ret = _objc_msgSend_580(_class_NSDistantObject, + _sel_proxyWithTarget_connection_, target.pointer, connection.pointer); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } NSDistantObject? initWithTarget_connection_( - NSObject target, - NSConnection connection, - ) { - final _ret = _lib._objc_msgSend_580( - this.pointer, - _lib._sel_initWithTarget_connection_1, - target.pointer, - connection.pointer, - ); + NSObject target, NSConnection connection) { + final _ret = _objc_msgSend_580(this.pointer, + _sel_initWithTarget_connection_, target.pointer, connection.pointer); return _ret.address == 0 ? null - : NSDistantObject._(_ret, _lib, retain: true, release: true); + : NSDistantObject._(_ret, retain: true, release: true); } static NSObject proxyWithLocal_connection_( - AVFAudio _lib, - NSObject target, - NSConnection connection, - ) { - final _ret = _lib._objc_msgSend_581( - _lib._class_NSDistantObject1, - _lib._sel_proxyWithLocal_connection_1, - target.pointer, - connection.pointer, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + NSObject target, NSConnection connection) { + final _ret = _objc_msgSend_581(_class_NSDistantObject, + _sel_proxyWithLocal_connection_, target.pointer, connection.pointer); + return NSObject._(_ret, retain: true, release: true); } NSDistantObject initWithLocal_connection_( - NSObject target, - NSConnection connection, - ) { - final _ret = _lib._objc_msgSend_581( - this.pointer, - _lib._sel_initWithLocal_connection_1, - target.pointer, - connection.pointer, - ); - return NSDistantObject._(_ret, _lib, retain: true, release: true); + NSObject target, NSConnection connection) { + final _ret = _objc_msgSend_581(this.pointer, _sel_initWithLocal_connection_, + target.pointer, connection.pointer); + return NSDistantObject._(_ret, retain: true, release: true); } NSDistantObject? initWithCoder_(NSCoder inCoder) { - final _ret = _lib._objc_msgSend_47( - this.pointer, - _lib._sel_initWithCoder_1, - inCoder.pointer, - ); + final _ret = + _objc_msgSend_47(this.pointer, _sel_initWithCoder_, inCoder.pointer); return _ret.address == 0 ? null - : NSDistantObject._(_ret, _lib, retain: true, release: true); + : NSDistantObject._(_ret, retain: true, release: true); } void setProtocolForProxy_(Protocol? proto) { - _lib._objc_msgSend_582( - this.pointer, - _lib._sel_setProtocolForProxy_1, - proto?.pointer ?? ffi.nullptr, - ); + _objc_msgSend_582( + this.pointer, _sel_setProtocolForProxy_, proto?.pointer ?? ffi.nullptr); } NSConnection get connectionForProxy { - final _ret = _lib._objc_msgSend_572( - this.pointer, - _lib._sel_connectionForProxy1, - ); - return NSConnection._(_ret, _lib, retain: true, release: true); - } - - static NSObject alloc(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSDistantObject1, - _lib._sel_alloc1, - ); - return NSObject._(_ret, _lib, retain: false, release: true); - } - - static bool respondsToSelector_( - AVFAudio _lib, - ffi.Pointer aSelector, - ) { - return _lib._objc_msgSend_4( - _lib._class_NSDistantObject1, - _lib._sel_respondsToSelector_1, - aSelector, - ); + final _ret = _objc_msgSend_572(this.pointer, _sel_connectionForProxy); + return NSConnection._(_ret, retain: true, release: true); + } + + static NSObject alloc() { + final _ret = _objc_msgSend_2(_class_NSDistantObject, _sel_alloc); + return NSObject._(_ret, retain: false, release: true); + } + + static bool respondsToSelector_(ffi.Pointer aSelector) { + return _objc_msgSend_4( + _class_NSDistantObject, _sel_respondsToSelector_, aSelector); } } -class NSProxy extends objc.ObjCObjectBase { - NSProxy._( - ffi.Pointer pointer, - this._lib, { - bool retain = false, - bool release = false, - }) : super(pointer, retain: retain, release: release); +late final _class_NSDistantObject = objc.getClass("NSDistantObject"); - AVFAudio _lib; +class NSProxy extends objc.ObjCObjectBase { + NSProxy._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super(pointer, retain: retain, release: release); /// Returns a [NSProxy] that points to the same underlying object as [other]. - static NSProxy castFrom( - AVFAudio lib, - T other, - ) { - return NSProxy._(other.pointer, lib, retain: true, release: true); + static NSProxy castFrom(T other) { + return NSProxy._(other.pointer, retain: true, release: true); } /// Returns a [NSProxy] that wraps the given raw object pointer. - static NSProxy castFromPointer( - AVFAudio lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSProxy._(other, lib, retain: retain, release: release); + static NSProxy castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSProxy._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSProxy]. - static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSProxy1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0(obj.pointer, _sel_isKindOfClass_, _class_NSProxy); } - static NSObject alloc(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2(_lib._class_NSProxy1, _lib._sel_alloc1); - return NSObject._(_ret, _lib, retain: false, release: true); + static NSObject alloc() { + final _ret = _objc_msgSend_2(_class_NSProxy, _sel_alloc); + return NSObject._(_ret, retain: false, release: true); } - static NSObject allocWithZone_(AVFAudio _lib, ffi.Pointer<_NSZone> zone) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSProxy1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSObject._(_ret, _lib, retain: false, release: true); + static NSObject allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = _objc_msgSend_3(_class_NSProxy, _sel_allocWithZone_, zone); + return NSObject._(_ret, retain: false, release: true); } - static NSObject class1(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2(_lib._class_NSProxy1, _lib._sel_class1); - return NSObject._(_ret, _lib, retain: true, release: true); + static NSObject class1() { + final _ret = _objc_msgSend_2(_class_NSProxy, _sel_class); + return NSObject._(_ret, retain: true, release: true); } void forwardInvocation_(NSInvocation invocation) { - _lib._objc_msgSend_421( - this.pointer, - _lib._sel_forwardInvocation_1, - invocation.pointer, - ); + _objc_msgSend_421( + this.pointer, _sel_forwardInvocation_, invocation.pointer); } NSMethodSignature? methodSignatureForSelector_( - ffi.Pointer sel, - ) { - final _ret = _lib._objc_msgSend_579( - this.pointer, - _lib._sel_methodSignatureForSelector_1, - sel, - ); + ffi.Pointer sel) { + final _ret = + _objc_msgSend_579(this.pointer, _sel_methodSignatureForSelector_, sel); return _ret.address == 0 ? null - : NSMethodSignature._(_ret, _lib, retain: true, release: true); + : NSMethodSignature._(_ret, retain: true, release: true); } void dealloc() { - _lib._objc_msgSend_1(this.pointer, _lib._sel_dealloc1); + _objc_msgSend_1(this.pointer, _sel_dealloc); } void finalize() { - _lib._objc_msgSend_1(this.pointer, _lib._sel_finalize1); + _objc_msgSend_1(this.pointer, _sel_finalize); } NSString get description { - final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_description1); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_description); + return NSString._(_ret, retain: true, release: true); } NSString get debugDescription { - final _ret = _lib._objc_msgSend_21( - this.pointer, - _lib._sel_debugDescription1, - ); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_debugDescription); + return NSString._(_ret, retain: true, release: true); } - static bool respondsToSelector_( - AVFAudio _lib, - ffi.Pointer aSelector, - ) { - return _lib._objc_msgSend_4( - _lib._class_NSProxy1, - _lib._sel_respondsToSelector_1, - aSelector, - ); + static bool respondsToSelector_(ffi.Pointer aSelector) { + return _objc_msgSend_4(_class_NSProxy, _sel_respondsToSelector_, aSelector); } bool allowsWeakReference() { - return _lib._objc_msgSend_12(this.pointer, _lib._sel_allowsWeakReference1); + return _objc_msgSend_12(this.pointer, _sel_allowsWeakReference); } bool retainWeakReference() { - return _lib._objc_msgSend_12(this.pointer, _lib._sel_retainWeakReference1); - } -} + return _objc_msgSend_12(this.pointer, _sel_retainWeakReference); + } +} + +late final _class_NSProxy = objc.getClass("NSProxy"); +final _objc_msgSend_579 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_respondsToSelector_ = objc.registerName("respondsToSelector:"); +late final _sel_proxyWithTarget_connection_ = + objc.registerName("proxyWithTarget:connection:"); +final _objc_msgSend_580 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer target, + ffi.Pointer connection)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_initWithTarget_connection_ = + objc.registerName("initWithTarget:connection:"); +late final _sel_proxyWithLocal_connection_ = + objc.registerName("proxyWithLocal:connection:"); +final _objc_msgSend_581 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer target, + ffi.Pointer connection)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_initWithLocal_connection_ = + objc.registerName("initWithLocal:connection:"); +late final _sel_setProtocolForProxy_ = + objc.registerName("setProtocolForProxy:"); +final _objc_msgSend_582 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer proto)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_connectionForProxy = objc.registerName("connectionForProxy"); +late final _sel_rootProxyForConnectionWithRegisteredName_host_ = + objc.registerName("rootProxyForConnectionWithRegisteredName:host:"); +final _objc_msgSend_583 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer name, + ffi.Pointer hostName)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_rootProxyForConnectionWithRegisteredName_host_usingNameServer_ = + objc.registerName( + "rootProxyForConnectionWithRegisteredName:host:usingNameServer:"); +final _objc_msgSend_584 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer name, + ffi.Pointer hostName, + ffi.Pointer server)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_serviceConnectionWithName_rootObject_usingNameServer_ = + objc.registerName("serviceConnectionWithName:rootObject:usingNameServer:"); +final _objc_msgSend_585 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer name, + ffi.Pointer root, + ffi.Pointer server)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_serviceConnectionWithName_rootObject_ = + objc.registerName("serviceConnectionWithName:rootObject:"); +final _objc_msgSend_586 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer name, + ffi.Pointer root)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_requestTimeout = objc.registerName("requestTimeout"); +late final _sel_setRequestTimeout_ = objc.registerName("setRequestTimeout:"); +late final _sel_replyTimeout = objc.registerName("replyTimeout"); +late final _sel_setReplyTimeout_ = objc.registerName("setReplyTimeout:"); +late final _sel_rootObject = objc.registerName("rootObject"); +late final _sel_setRootObject_ = objc.registerName("setRootObject:"); +late final _sel_independentConversationQueueing = + objc.registerName("independentConversationQueueing"); +late final _sel_setIndependentConversationQueueing_ = + objc.registerName("setIndependentConversationQueueing:"); +late final _sel_rootProxy = objc.registerName("rootProxy"); +final _objc_msgSend_587 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_addRequestMode_ = objc.registerName("addRequestMode:"); +late final _sel_removeRequestMode_ = objc.registerName("removeRequestMode:"); +late final _sel_requestModes = objc.registerName("requestModes"); +late final _sel_registerName_ = objc.registerName("registerName:"); +final _objc_msgSend_588 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer name)>>() + .asFunction< + bool Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_registerName_withNameServer_ = + objc.registerName("registerName:withNameServer:"); +final _objc_msgSend_589 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer name, + ffi.Pointer server)>>() + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_connectionWithReceivePort_sendPort_ = + objc.registerName("connectionWithReceivePort:sendPort:"); +final _objc_msgSend_590 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer receivePort, + ffi.Pointer sendPort)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_currentConversation = objc.registerName("currentConversation"); +late final _sel_initWithReceivePort_sendPort_ = + objc.registerName("initWithReceivePort:sendPort:"); +late final _sel_sendPort = objc.registerName("sendPort"); +late final _sel_receivePort = objc.registerName("receivePort"); +late final _sel_enableMultipleThreads = + objc.registerName("enableMultipleThreads"); +late final _sel_multipleThreadsEnabled = + objc.registerName("multipleThreadsEnabled"); +late final _sel_addRunLoop_ = objc.registerName("addRunLoop:"); +final _objc_msgSend_591 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer runloop)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_removeRunLoop_ = objc.registerName("removeRunLoop:"); +late final _sel_runInNewThread = objc.registerName("runInNewThread"); +late final _sel_remoteObjects = objc.registerName("remoteObjects"); +late final _sel_localObjects = objc.registerName("localObjects"); +late final _sel_dispatchWithComponents_ = + objc.registerName("dispatchWithComponents:"); +late final _sel_addConnection_toRunLoop_forMode_ = + objc.registerName("addConnection:toRunLoop:forMode:"); +final _objc_msgSend_592 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer conn, + ffi.Pointer runLoop, + ffi.Pointer mode)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_removeConnection_fromRunLoop_forMode_ = + objc.registerName("removeConnection:fromRunLoop:forMode:"); +late final _sel_encodePortObject_ = objc.registerName("encodePortObject:"); +final _objc_msgSend_593 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer aport)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_decodePortObject = objc.registerName("decodePortObject"); +final _objc_msgSend_594 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_connection = objc.registerName("connection"); +final _objc_msgSend_595 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_portCoderWithReceivePort_sendPort_components_ = + objc.registerName("portCoderWithReceivePort:sendPort:components:"); +final _objc_msgSend_596 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer rcvPort, + ffi.Pointer sndPort, + ffi.Pointer comps)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_initWithReceivePort_sendPort_components_ = + objc.registerName("initWithReceivePort:sendPort:components:"); +late final _sel_dispatch = objc.registerName("dispatch"); +late final _sel_replacementObjectForPortCoder_ = + objc.registerName("replacementObjectForPortCoder:"); +final _objc_msgSend_597 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer coder)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); class NSClassDescription extends NSObject { - NSClassDescription._( - ffi.Pointer pointer, - AVFAudio lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSClassDescription._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSClassDescription] that points to the same underlying object as [other]. - static NSClassDescription castFrom( - AVFAudio lib, - T other, - ) { - return NSClassDescription._( - other.pointer, - lib, - retain: true, - release: true, - ); + static NSClassDescription castFrom(T other) { + return NSClassDescription._(other.pointer, retain: true, release: true); } /// Returns a [NSClassDescription] that wraps the given raw object pointer. - static NSClassDescription castFromPointer( - AVFAudio lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSClassDescription._(other, lib, retain: retain, release: release); + static NSClassDescription castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSClassDescription._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSClassDescription]. - static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSClassDescription1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0( + obj.pointer, _sel_isKindOfClass_, _class_NSClassDescription); } static void registerClassDescription_forClass_( - AVFAudio _lib, - NSClassDescription description, - NSObject aClass, - ) { - _lib._objc_msgSend_598( - _lib._class_NSClassDescription1, - _lib._sel_registerClassDescription_forClass_1, - description.pointer, - aClass.pointer, - ); + NSClassDescription description, NSObject aClass) { + _objc_msgSend_598( + _class_NSClassDescription, + _sel_registerClassDescription_forClass_, + description.pointer, + aClass.pointer); } - static void invalidateClassDescriptionCache(AVFAudio _lib) { - _lib._objc_msgSend_1( - _lib._class_NSClassDescription1, - _lib._sel_invalidateClassDescriptionCache1, - ); + static void invalidateClassDescriptionCache() { + _objc_msgSend_1( + _class_NSClassDescription, _sel_invalidateClassDescriptionCache); } - static NSClassDescription? classDescriptionForClass_( - AVFAudio _lib, - NSObject aClass, - ) { - final _ret = _lib._objc_msgSend_599( - _lib._class_NSClassDescription1, - _lib._sel_classDescriptionForClass_1, - aClass.pointer, - ); + static NSClassDescription? classDescriptionForClass_(NSObject aClass) { + final _ret = _objc_msgSend_599(_class_NSClassDescription, + _sel_classDescriptionForClass_, aClass.pointer); return _ret.address == 0 ? null - : NSClassDescription._(_ret, _lib, retain: true, release: true); + : NSClassDescription._(_ret, retain: true, release: true); } @override NSArray get attributeKeys { - final _ret = _lib._objc_msgSend_85(this.pointer, _lib._sel_attributeKeys1); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_85(this.pointer, _sel_attributeKeys); + return NSArray._(_ret, retain: true, release: true); } @override NSArray get toOneRelationshipKeys { - final _ret = _lib._objc_msgSend_85( - this.pointer, - _lib._sel_toOneRelationshipKeys1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_85(this.pointer, _sel_toOneRelationshipKeys); + return NSArray._(_ret, retain: true, release: true); } @override NSArray get toManyRelationshipKeys { - final _ret = _lib._objc_msgSend_85( - this.pointer, - _lib._sel_toManyRelationshipKeys1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_85(this.pointer, _sel_toManyRelationshipKeys); + return NSArray._(_ret, retain: true, release: true); } @override NSString? inverseForRelationshipKey_(NSString relationshipKey) { - final _ret = _lib._objc_msgSend_186( - this.pointer, - _lib._sel_inverseForRelationshipKey_1, - relationshipKey.pointer, - ); + final _ret = _objc_msgSend_186( + this.pointer, _sel_inverseForRelationshipKey_, relationshipKey.pointer); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } @override NSClassDescription init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSClassDescription._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSClassDescription._(_ret, retain: true, release: true); } - static NSClassDescription new1(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSClassDescription1, - _lib._sel_new1, - ); - return NSClassDescription._(_ret, _lib, retain: false, release: true); + static NSClassDescription new1() { + final _ret = _objc_msgSend_2(_class_NSClassDescription, _sel_new); + return NSClassDescription._(_ret, retain: false, release: true); } - static NSClassDescription allocWithZone_( - AVFAudio _lib, - ffi.Pointer<_NSZone> zone, - ) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSClassDescription1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSClassDescription._(_ret, _lib, retain: false, release: true); + static NSClassDescription allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = + _objc_msgSend_3(_class_NSClassDescription, _sel_allocWithZone_, zone); + return NSClassDescription._(_ret, retain: false, release: true); } - static NSClassDescription alloc(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSClassDescription1, - _lib._sel_alloc1, - ); - return NSClassDescription._(_ret, _lib, retain: false, release: true); + static NSClassDescription alloc() { + final _ret = _objc_msgSend_2(_class_NSClassDescription, _sel_alloc); + return NSClassDescription._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSClassDescription1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSClassDescription1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSClassDescription1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSClassDescription1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSClassDescription1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSClassDescription1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSClassDescription, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); } - static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSClassDescription1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSClassDescription1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSClassDescription1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSClassDescription, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); } -} + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSClassDescription, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSClassDescription, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSClassDescription, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSClassDescription, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); + } + + static void setKeys_triggerChangeNotificationsForDependentKey_( + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSClassDescription, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = _objc_msgSend_85( + _class_NSClassDescription, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = _objc_msgSend_2( + _class_NSClassDescription, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); + } +} + +late final _class_NSClassDescription = objc.getClass("NSClassDescription"); +late final _sel_registerClassDescription_forClass_ = + objc.registerName("registerClassDescription:forClass:"); +final _objc_msgSend_598 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer description, + ffi.Pointer aClass)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_invalidateClassDescriptionCache = + objc.registerName("invalidateClassDescriptionCache"); +late final _sel_classDescriptionForClass_ = + objc.registerName("classDescriptionForClass:"); +final _objc_msgSend_599 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer aClass)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_attributeKeys = objc.registerName("attributeKeys"); +late final _sel_toOneRelationshipKeys = + objc.registerName("toOneRelationshipKeys"); +late final _sel_toManyRelationshipKeys = + objc.registerName("toManyRelationshipKeys"); +late final _sel_inverseForRelationshipKey_ = + objc.registerName("inverseForRelationshipKey:"); +late final _sel_classDescription = objc.registerName("classDescription"); +final _objc_msgSend_600 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); class NSScriptObjectSpecifier extends NSObject { - NSScriptObjectSpecifier._( - ffi.Pointer pointer, - AVFAudio lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSScriptObjectSpecifier._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSScriptObjectSpecifier] that points to the same underlying object as [other]. static NSScriptObjectSpecifier castFrom( - AVFAudio lib, - T other, - ) { - return NSScriptObjectSpecifier._( - other.pointer, - lib, - retain: true, - release: true, - ); + T other) { + return NSScriptObjectSpecifier._(other.pointer, + retain: true, release: true); } /// Returns a [NSScriptObjectSpecifier] that wraps the given raw object pointer. static NSScriptObjectSpecifier castFromPointer( - AVFAudio lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSScriptObjectSpecifier._( - other, - lib, - retain: retain, - release: release, - ); + ffi.Pointer other, + {bool retain = false, + bool release = false}) { + return NSScriptObjectSpecifier._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSScriptObjectSpecifier]. - static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSScriptObjectSpecifier1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0( + obj.pointer, _sel_isKindOfClass_, _class_NSScriptObjectSpecifier); } static NSScriptObjectSpecifier? objectSpecifierWithDescriptor_( - AVFAudio _lib, - NSAppleEventDescriptor descriptor, - ) { - final _ret = _lib._objc_msgSend_624( - _lib._class_NSScriptObjectSpecifier1, - _lib._sel_objectSpecifierWithDescriptor_1, - descriptor.pointer, - ); + NSAppleEventDescriptor descriptor) { + final _ret = _objc_msgSend_624(_class_NSScriptObjectSpecifier, + _sel_objectSpecifierWithDescriptor_, descriptor.pointer); return _ret.address == 0 ? null - : NSScriptObjectSpecifier._(_ret, _lib, retain: true, release: true); + : NSScriptObjectSpecifier._(_ret, retain: true, release: true); } NSScriptObjectSpecifier initWithContainerSpecifier_key_( - NSScriptObjectSpecifier container, - NSString property, - ) { - final _ret = _lib._objc_msgSend_625( - this.pointer, - _lib._sel_initWithContainerSpecifier_key_1, - container.pointer, - property.pointer, - ); - return NSScriptObjectSpecifier._(_ret, _lib, retain: true, release: true); + NSScriptObjectSpecifier container, NSString property) { + final _ret = _objc_msgSend_625( + this.pointer, + _sel_initWithContainerSpecifier_key_, + container.pointer, + property.pointer); + return NSScriptObjectSpecifier._(_ret, retain: true, release: true); } NSScriptObjectSpecifier initWithContainerClassDescription_containerSpecifier_key_( - NSScriptClassDescription classDesc, - NSScriptObjectSpecifier? container, - NSString property, - ) { - final _ret = _lib._objc_msgSend_645( - this.pointer, - _lib._sel_initWithContainerClassDescription_containerSpecifier_key_1, - classDesc.pointer, - container?.pointer ?? ffi.nullptr, - property.pointer, - ); - return NSScriptObjectSpecifier._(_ret, _lib, retain: true, release: true); + NSScriptClassDescription classDesc, + NSScriptObjectSpecifier? container, + NSString property) { + final _ret = _objc_msgSend_645( + this.pointer, + _sel_initWithContainerClassDescription_containerSpecifier_key_, + classDesc.pointer, + container?.pointer ?? ffi.nullptr, + property.pointer); + return NSScriptObjectSpecifier._(_ret, retain: true, release: true); } NSScriptObjectSpecifier? initWithCoder_(NSCoder inCoder) { - final _ret = _lib._objc_msgSend_47( - this.pointer, - _lib._sel_initWithCoder_1, - inCoder.pointer, - ); + final _ret = + _objc_msgSend_47(this.pointer, _sel_initWithCoder_, inCoder.pointer); return _ret.address == 0 ? null - : NSScriptObjectSpecifier._(_ret, _lib, retain: true, release: true); + : NSScriptObjectSpecifier._(_ret, retain: true, release: true); } NSScriptObjectSpecifier? get childSpecifier { - final _ret = _lib._objc_msgSend_632( - this.pointer, - _lib._sel_childSpecifier1, - ); + final _ret = _objc_msgSend_632(this.pointer, _sel_childSpecifier); return _ret.address == 0 ? null - : NSScriptObjectSpecifier._(_ret, _lib, retain: true, release: true); + : NSScriptObjectSpecifier._(_ret, retain: true, release: true); } set childSpecifier(NSScriptObjectSpecifier? value) { - return _lib._objc_msgSend_633( - this.pointer, - _lib._sel_setChildSpecifier_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_633( + this.pointer, _sel_setChildSpecifier_, value?.pointer ?? ffi.nullptr); } NSScriptObjectSpecifier? get containerSpecifier { - final _ret = _lib._objc_msgSend_632( - this.pointer, - _lib._sel_containerSpecifier1, - ); + final _ret = _objc_msgSend_632(this.pointer, _sel_containerSpecifier); return _ret.address == 0 ? null - : NSScriptObjectSpecifier._(_ret, _lib, retain: true, release: true); + : NSScriptObjectSpecifier._(_ret, retain: true, release: true); } set containerSpecifier(NSScriptObjectSpecifier? value) { - return _lib._objc_msgSend_633( - this.pointer, - _lib._sel_setContainerSpecifier_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_633(this.pointer, _sel_setContainerSpecifier_, + value?.pointer ?? ffi.nullptr); } bool get containerIsObjectBeingTested { - return _lib._objc_msgSend_12( - this.pointer, - _lib._sel_containerIsObjectBeingTested1, - ); + return _objc_msgSend_12(this.pointer, _sel_containerIsObjectBeingTested); } set containerIsObjectBeingTested(bool value) { - return _lib._objc_msgSend_527( - this.pointer, - _lib._sel_setContainerIsObjectBeingTested_1, - value, - ); + return _objc_msgSend_527( + this.pointer, _sel_setContainerIsObjectBeingTested_, value); } bool get containerIsRangeContainerObject { - return _lib._objc_msgSend_12( - this.pointer, - _lib._sel_containerIsRangeContainerObject1, - ); + return _objc_msgSend_12(this.pointer, _sel_containerIsRangeContainerObject); } set containerIsRangeContainerObject(bool value) { - return _lib._objc_msgSend_527( - this.pointer, - _lib._sel_setContainerIsRangeContainerObject_1, - value, - ); + return _objc_msgSend_527( + this.pointer, _sel_setContainerIsRangeContainerObject_, value); } NSString get key { - final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_key1); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_key); + return NSString._(_ret, retain: true, release: true); } set key(NSString value) { - return _lib._objc_msgSend_646( - this.pointer, - _lib._sel_setKey_1, - value.pointer, - ); + return _objc_msgSend_646(this.pointer, _sel_setKey_, value.pointer); } NSScriptClassDescription? get containerClassDescription { - final _ret = _lib._objc_msgSend_628( - this.pointer, - _lib._sel_containerClassDescription1, - ); + final _ret = + _objc_msgSend_628(this.pointer, _sel_containerClassDescription); return _ret.address == 0 ? null - : NSScriptClassDescription._(_ret, _lib, retain: true, release: true); + : NSScriptClassDescription._(_ret, retain: true, release: true); } set containerClassDescription(NSScriptClassDescription? value) { - return _lib._objc_msgSend_647( - this.pointer, - _lib._sel_setContainerClassDescription_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_647(this.pointer, _sel_setContainerClassDescription_, + value?.pointer ?? ffi.nullptr); } NSScriptClassDescription? get keyClassDescription { - final _ret = _lib._objc_msgSend_628( - this.pointer, - _lib._sel_keyClassDescription1, - ); + final _ret = _objc_msgSend_628(this.pointer, _sel_keyClassDescription); return _ret.address == 0 ? null - : NSScriptClassDescription._(_ret, _lib, retain: true, release: true); + : NSScriptClassDescription._(_ret, retain: true, release: true); } ffi.Pointer indicesOfObjectsByEvaluatingWithContainer_count_( - NSObject container, - ffi.Pointer count, - ) { - return _lib._objc_msgSend_648( - this.pointer, - _lib._sel_indicesOfObjectsByEvaluatingWithContainer_count_1, - container.pointer, - count, - ); + NSObject container, ffi.Pointer count) { + return _objc_msgSend_648( + this.pointer, + _sel_indicesOfObjectsByEvaluatingWithContainer_count_, + container.pointer, + count); } NSObject? objectsByEvaluatingWithContainers_(NSObject containers) { - final _ret = _lib._objc_msgSend_16( - this.pointer, - _lib._sel_objectsByEvaluatingWithContainers_1, - containers.pointer, - ); + final _ret = _objc_msgSend_16(this.pointer, + _sel_objectsByEvaluatingWithContainers_, containers.pointer); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } NSObject? get objectsByEvaluatingSpecifier { - final _ret = _lib._objc_msgSend_17( - this.pointer, - _lib._sel_objectsByEvaluatingSpecifier1, - ); + final _ret = + _objc_msgSend_17(this.pointer, _sel_objectsByEvaluatingSpecifier); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } int get evaluationErrorNumber { - return _lib._objc_msgSend_83( - this.pointer, - _lib._sel_evaluationErrorNumber1, - ); + return _objc_msgSend_83(this.pointer, _sel_evaluationErrorNumber); } set evaluationErrorNumber(int value) { - return _lib._objc_msgSend_635( - this.pointer, - _lib._sel_setEvaluationErrorNumber_1, - value, - ); + return _objc_msgSend_635( + this.pointer, _sel_setEvaluationErrorNumber_, value); } NSScriptObjectSpecifier? get evaluationErrorSpecifier { - final _ret = _lib._objc_msgSend_632( - this.pointer, - _lib._sel_evaluationErrorSpecifier1, - ); + final _ret = _objc_msgSend_632(this.pointer, _sel_evaluationErrorSpecifier); return _ret.address == 0 ? null - : NSScriptObjectSpecifier._(_ret, _lib, retain: true, release: true); + : NSScriptObjectSpecifier._(_ret, retain: true, release: true); } NSAppleEventDescriptor? get descriptor { - final _ret = _lib._objc_msgSend_636(this.pointer, _lib._sel_descriptor1); + final _ret = _objc_msgSend_636(this.pointer, _sel_descriptor); return _ret.address == 0 ? null - : NSAppleEventDescriptor._(_ret, _lib, retain: true, release: true); + : NSAppleEventDescriptor._(_ret, retain: true, release: true); } @override NSScriptObjectSpecifier init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSScriptObjectSpecifier._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSScriptObjectSpecifier._(_ret, retain: true, release: true); } - static NSScriptObjectSpecifier new1(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSScriptObjectSpecifier1, - _lib._sel_new1, - ); - return NSScriptObjectSpecifier._(_ret, _lib, retain: false, release: true); + static NSScriptObjectSpecifier new1() { + final _ret = _objc_msgSend_2(_class_NSScriptObjectSpecifier, _sel_new); + return NSScriptObjectSpecifier._(_ret, retain: false, release: true); } - static NSScriptObjectSpecifier allocWithZone_( - AVFAudio _lib, - ffi.Pointer<_NSZone> zone, - ) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSScriptObjectSpecifier1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSScriptObjectSpecifier._(_ret, _lib, retain: false, release: true); + static NSScriptObjectSpecifier allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = _objc_msgSend_3( + _class_NSScriptObjectSpecifier, _sel_allocWithZone_, zone); + return NSScriptObjectSpecifier._(_ret, retain: false, release: true); } - static NSScriptObjectSpecifier alloc(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSScriptObjectSpecifier1, - _lib._sel_alloc1, - ); - return NSScriptObjectSpecifier._(_ret, _lib, retain: false, release: true); + static NSScriptObjectSpecifier alloc() { + final _ret = _objc_msgSend_2(_class_NSScriptObjectSpecifier, _sel_alloc); + return NSScriptObjectSpecifier._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSScriptObjectSpecifier1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSScriptObjectSpecifier1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSScriptObjectSpecifier1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSScriptObjectSpecifier1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSScriptObjectSpecifier1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSScriptObjectSpecifier1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSScriptObjectSpecifier, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); + } + + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSScriptObjectSpecifier, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); + } + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSScriptObjectSpecifier, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12( + _class_NSScriptObjectSpecifier, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSScriptObjectSpecifier, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSScriptObjectSpecifier, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); } static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSScriptObjectSpecifier1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSScriptObjectSpecifier1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSScriptObjectSpecifier1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSScriptObjectSpecifier, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = _objc_msgSend_85( + _class_NSScriptObjectSpecifier, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = _objc_msgSend_2( + _class_NSScriptObjectSpecifier, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); } } +late final _class_NSScriptObjectSpecifier = + objc.getClass("NSScriptObjectSpecifier"); + class NSAppleEventDescriptor extends NSObject { - NSAppleEventDescriptor._( - ffi.Pointer pointer, - AVFAudio lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSAppleEventDescriptor._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSAppleEventDescriptor] that points to the same underlying object as [other]. static NSAppleEventDescriptor castFrom( - AVFAudio lib, - T other, - ) { - return NSAppleEventDescriptor._( - other.pointer, - lib, - retain: true, - release: true, - ); + T other) { + return NSAppleEventDescriptor._(other.pointer, retain: true, release: true); } /// Returns a [NSAppleEventDescriptor] that wraps the given raw object pointer. static NSAppleEventDescriptor castFromPointer( - AVFAudio lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSAppleEventDescriptor._( - other, - lib, - retain: retain, - release: release, - ); + ffi.Pointer other, + {bool retain = false, + bool release = false}) { + return NSAppleEventDescriptor._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSAppleEventDescriptor]. - static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSAppleEventDescriptor1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0( + obj.pointer, _sel_isKindOfClass_, _class_NSAppleEventDescriptor); } - static NSAppleEventDescriptor nullDescriptor(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_601( - _lib._class_NSAppleEventDescriptor1, - _lib._sel_nullDescriptor1, - ); - return NSAppleEventDescriptor._(_ret, _lib, retain: true, release: true); + static NSAppleEventDescriptor nullDescriptor() { + final _ret = + _objc_msgSend_601(_class_NSAppleEventDescriptor, _sel_nullDescriptor); + return NSAppleEventDescriptor._(_ret, retain: true, release: true); } static NSAppleEventDescriptor? descriptorWithDescriptorType_bytes_length_( - AVFAudio _lib, - int descriptorType, - ffi.Pointer bytes, - int byteCount, - ) { - final _ret = _lib._objc_msgSend_602( - _lib._class_NSAppleEventDescriptor1, - _lib._sel_descriptorWithDescriptorType_bytes_length_1, - descriptorType, - bytes, - byteCount, - ); + int descriptorType, ffi.Pointer bytes, int byteCount) { + final _ret = _objc_msgSend_602( + _class_NSAppleEventDescriptor, + _sel_descriptorWithDescriptorType_bytes_length_, + descriptorType, + bytes, + byteCount); return _ret.address == 0 ? null - : NSAppleEventDescriptor._(_ret, _lib, retain: true, release: true); + : NSAppleEventDescriptor._(_ret, retain: true, release: true); } static NSAppleEventDescriptor? descriptorWithDescriptorType_data_( - AVFAudio _lib, - int descriptorType, - NSData? data, - ) { - final _ret = _lib._objc_msgSend_603( - _lib._class_NSAppleEventDescriptor1, - _lib._sel_descriptorWithDescriptorType_data_1, - descriptorType, - data?.pointer ?? ffi.nullptr, - ); - return _ret.address == 0 - ? null - : NSAppleEventDescriptor._(_ret, _lib, retain: true, release: true); - } - - static NSAppleEventDescriptor descriptorWithBoolean_( - AVFAudio _lib, - int boolean, - ) { - final _ret = _lib._objc_msgSend_604( - _lib._class_NSAppleEventDescriptor1, - _lib._sel_descriptorWithBoolean_1, - boolean, - ); - return NSAppleEventDescriptor._(_ret, _lib, retain: true, release: true); - } - - static NSAppleEventDescriptor descriptorWithEnumCode_( - AVFAudio _lib, - int enumerator, - ) { - final _ret = _lib._objc_msgSend_605( - _lib._class_NSAppleEventDescriptor1, - _lib._sel_descriptorWithEnumCode_1, - enumerator, - ); - return NSAppleEventDescriptor._(_ret, _lib, retain: true, release: true); - } - - static NSAppleEventDescriptor descriptorWithInt32_( - AVFAudio _lib, - int signedInt, - ) { - final _ret = _lib._objc_msgSend_606( - _lib._class_NSAppleEventDescriptor1, - _lib._sel_descriptorWithInt32_1, - signedInt, - ); - return NSAppleEventDescriptor._(_ret, _lib, retain: true, release: true); - } - - static NSAppleEventDescriptor descriptorWithDouble_( - AVFAudio _lib, - double doubleValue, - ) { - final _ret = _lib._objc_msgSend_607( - _lib._class_NSAppleEventDescriptor1, - _lib._sel_descriptorWithDouble_1, - doubleValue, - ); - return NSAppleEventDescriptor._(_ret, _lib, retain: true, release: true); - } - - static NSAppleEventDescriptor descriptorWithTypeCode_( - AVFAudio _lib, - int typeCode, - ) { - final _ret = _lib._objc_msgSend_605( - _lib._class_NSAppleEventDescriptor1, - _lib._sel_descriptorWithTypeCode_1, - typeCode, - ); - return NSAppleEventDescriptor._(_ret, _lib, retain: true, release: true); - } - - static NSAppleEventDescriptor descriptorWithString_( - AVFAudio _lib, - NSString string, - ) { - final _ret = _lib._objc_msgSend_608( - _lib._class_NSAppleEventDescriptor1, - _lib._sel_descriptorWithString_1, - string.pointer, - ); - return NSAppleEventDescriptor._(_ret, _lib, retain: true, release: true); - } - - static NSAppleEventDescriptor descriptorWithDate_( - AVFAudio _lib, - NSDate date, - ) { - final _ret = _lib._objc_msgSend_609( - _lib._class_NSAppleEventDescriptor1, - _lib._sel_descriptorWithDate_1, - date.pointer, - ); - return NSAppleEventDescriptor._(_ret, _lib, retain: true, release: true); - } - - static NSAppleEventDescriptor descriptorWithFileURL_( - AVFAudio _lib, - NSURL fileURL, - ) { - final _ret = _lib._objc_msgSend_610( - _lib._class_NSAppleEventDescriptor1, - _lib._sel_descriptorWithFileURL_1, - fileURL.pointer, - ); - return NSAppleEventDescriptor._(_ret, _lib, retain: true, release: true); + int descriptorType, NSData? data) { + final _ret = _objc_msgSend_603( + _class_NSAppleEventDescriptor, + _sel_descriptorWithDescriptorType_data_, + descriptorType, + data?.pointer ?? ffi.nullptr); + return _ret.address == 0 + ? null + : NSAppleEventDescriptor._(_ret, retain: true, release: true); + } + + static NSAppleEventDescriptor descriptorWithBoolean_(int boolean) { + final _ret = _objc_msgSend_604( + _class_NSAppleEventDescriptor, _sel_descriptorWithBoolean_, boolean); + return NSAppleEventDescriptor._(_ret, retain: true, release: true); + } + + static NSAppleEventDescriptor descriptorWithEnumCode_(int enumerator) { + final _ret = _objc_msgSend_605(_class_NSAppleEventDescriptor, + _sel_descriptorWithEnumCode_, enumerator); + return NSAppleEventDescriptor._(_ret, retain: true, release: true); + } + + static NSAppleEventDescriptor descriptorWithInt32_(int signedInt) { + final _ret = _objc_msgSend_606( + _class_NSAppleEventDescriptor, _sel_descriptorWithInt32_, signedInt); + return NSAppleEventDescriptor._(_ret, retain: true, release: true); + } + + static NSAppleEventDescriptor descriptorWithDouble_(double doubleValue) { + final _ret = _objc_msgSend_607( + _class_NSAppleEventDescriptor, _sel_descriptorWithDouble_, doubleValue); + return NSAppleEventDescriptor._(_ret, retain: true, release: true); + } + + static NSAppleEventDescriptor descriptorWithTypeCode_(int typeCode) { + final _ret = _objc_msgSend_605( + _class_NSAppleEventDescriptor, _sel_descriptorWithTypeCode_, typeCode); + return NSAppleEventDescriptor._(_ret, retain: true, release: true); + } + + static NSAppleEventDescriptor descriptorWithString_(NSString string) { + final _ret = _objc_msgSend_608(_class_NSAppleEventDescriptor, + _sel_descriptorWithString_, string.pointer); + return NSAppleEventDescriptor._(_ret, retain: true, release: true); + } + + static NSAppleEventDescriptor descriptorWithDate_(NSDate date) { + final _ret = _objc_msgSend_609( + _class_NSAppleEventDescriptor, _sel_descriptorWithDate_, date.pointer); + return NSAppleEventDescriptor._(_ret, retain: true, release: true); + } + + static NSAppleEventDescriptor descriptorWithFileURL_(NSURL fileURL) { + final _ret = _objc_msgSend_610(_class_NSAppleEventDescriptor, + _sel_descriptorWithFileURL_, fileURL.pointer); + return NSAppleEventDescriptor._(_ret, retain: true, release: true); } static NSAppleEventDescriptor appleEventWithEventClass_eventID_targetDescriptor_returnID_transactionID_( - AVFAudio _lib, - int eventClass, - int eventID, - NSAppleEventDescriptor? targetDescriptor, - int returnID, - int transactionID, - ) { - final _ret = _lib._objc_msgSend_611( - _lib._class_NSAppleEventDescriptor1, - _lib._sel_appleEventWithEventClass_eventID_targetDescriptor_returnID_transactionID_1, - eventClass, - eventID, - targetDescriptor?.pointer ?? ffi.nullptr, - returnID, - transactionID, - ); - return NSAppleEventDescriptor._(_ret, _lib, retain: true, release: true); - } - - static NSAppleEventDescriptor listDescriptor(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_601( - _lib._class_NSAppleEventDescriptor1, - _lib._sel_listDescriptor1, - ); - return NSAppleEventDescriptor._(_ret, _lib, retain: true, release: true); - } - - static NSAppleEventDescriptor recordDescriptor(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_601( - _lib._class_NSAppleEventDescriptor1, - _lib._sel_recordDescriptor1, - ); - return NSAppleEventDescriptor._(_ret, _lib, retain: true, release: true); - } - - static NSAppleEventDescriptor currentProcessDescriptor(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_601( - _lib._class_NSAppleEventDescriptor1, - _lib._sel_currentProcessDescriptor1, - ); - return NSAppleEventDescriptor._(_ret, _lib, retain: true, release: true); + int eventClass, + int eventID, + NSAppleEventDescriptor? targetDescriptor, + int returnID, + int transactionID) { + final _ret = _objc_msgSend_611( + _class_NSAppleEventDescriptor, + _sel_appleEventWithEventClass_eventID_targetDescriptor_returnID_transactionID_, + eventClass, + eventID, + targetDescriptor?.pointer ?? ffi.nullptr, + returnID, + transactionID); + return NSAppleEventDescriptor._(_ret, retain: true, release: true); + } + + static NSAppleEventDescriptor listDescriptor() { + final _ret = + _objc_msgSend_601(_class_NSAppleEventDescriptor, _sel_listDescriptor); + return NSAppleEventDescriptor._(_ret, retain: true, release: true); + } + + static NSAppleEventDescriptor recordDescriptor() { + final _ret = + _objc_msgSend_601(_class_NSAppleEventDescriptor, _sel_recordDescriptor); + return NSAppleEventDescriptor._(_ret, retain: true, release: true); + } + + static NSAppleEventDescriptor currentProcessDescriptor() { + final _ret = _objc_msgSend_601( + _class_NSAppleEventDescriptor, _sel_currentProcessDescriptor); + return NSAppleEventDescriptor._(_ret, retain: true, release: true); } static NSAppleEventDescriptor descriptorWithProcessIdentifier_( - AVFAudio _lib, - int processIdentifier, - ) { - final _ret = _lib._objc_msgSend_606( - _lib._class_NSAppleEventDescriptor1, - _lib._sel_descriptorWithProcessIdentifier_1, - processIdentifier, - ); - return NSAppleEventDescriptor._(_ret, _lib, retain: true, release: true); + int processIdentifier) { + final _ret = _objc_msgSend_606(_class_NSAppleEventDescriptor, + _sel_descriptorWithProcessIdentifier_, processIdentifier); + return NSAppleEventDescriptor._(_ret, retain: true, release: true); } static NSAppleEventDescriptor descriptorWithBundleIdentifier_( - AVFAudio _lib, - NSString bundleIdentifier, - ) { - final _ret = _lib._objc_msgSend_608( - _lib._class_NSAppleEventDescriptor1, - _lib._sel_descriptorWithBundleIdentifier_1, - bundleIdentifier.pointer, - ); - return NSAppleEventDescriptor._(_ret, _lib, retain: true, release: true); + NSString bundleIdentifier) { + final _ret = _objc_msgSend_608(_class_NSAppleEventDescriptor, + _sel_descriptorWithBundleIdentifier_, bundleIdentifier.pointer); + return NSAppleEventDescriptor._(_ret, retain: true, release: true); } static NSAppleEventDescriptor descriptorWithApplicationURL_( - AVFAudio _lib, - NSURL applicationURL, - ) { - final _ret = _lib._objc_msgSend_610( - _lib._class_NSAppleEventDescriptor1, - _lib._sel_descriptorWithApplicationURL_1, - applicationURL.pointer, - ); - return NSAppleEventDescriptor._(_ret, _lib, retain: true, release: true); + NSURL applicationURL) { + final _ret = _objc_msgSend_610(_class_NSAppleEventDescriptor, + _sel_descriptorWithApplicationURL_, applicationURL.pointer); + return NSAppleEventDescriptor._(_ret, retain: true, release: true); } NSAppleEventDescriptor initWithAEDescNoCopy_(ffi.Pointer aeDesc) { - final _ret = _lib._objc_msgSend_612( - this.pointer, - _lib._sel_initWithAEDescNoCopy_1, - aeDesc, - ); - return NSAppleEventDescriptor._(_ret, _lib, retain: false, release: true); + final _ret = + _objc_msgSend_612(this.pointer, _sel_initWithAEDescNoCopy_, aeDesc); + return NSAppleEventDescriptor._(_ret, retain: false, release: true); } NSAppleEventDescriptor? initWithDescriptorType_bytes_length_( - int descriptorType, - ffi.Pointer bytes, - int byteCount, - ) { - final _ret = _lib._objc_msgSend_613( - this.pointer, - _lib._sel_initWithDescriptorType_bytes_length_1, - descriptorType, - bytes, - byteCount, - ); + int descriptorType, ffi.Pointer bytes, int byteCount) { + final _ret = _objc_msgSend_613( + this.pointer, + _sel_initWithDescriptorType_bytes_length_, + descriptorType, + bytes, + byteCount); return _ret.address == 0 ? null - : NSAppleEventDescriptor._(_ret, _lib, retain: true, release: true); + : NSAppleEventDescriptor._(_ret, retain: true, release: true); } NSAppleEventDescriptor? initWithDescriptorType_data_( - int descriptorType, - NSData? data, - ) { - final _ret = _lib._objc_msgSend_614( - this.pointer, - _lib._sel_initWithDescriptorType_data_1, - descriptorType, - data?.pointer ?? ffi.nullptr, - ); + int descriptorType, NSData? data) { + final _ret = _objc_msgSend_614( + this.pointer, + _sel_initWithDescriptorType_data_, + descriptorType, + data?.pointer ?? ffi.nullptr); return _ret.address == 0 ? null - : NSAppleEventDescriptor._(_ret, _lib, retain: true, release: true); + : NSAppleEventDescriptor._(_ret, retain: true, release: true); } NSAppleEventDescriptor initWithEventClass_eventID_targetDescriptor_returnID_transactionID_( - int eventClass, - int eventID, - NSAppleEventDescriptor? targetDescriptor, - int returnID, - int transactionID, - ) { - final _ret = _lib._objc_msgSend_615( - this.pointer, - _lib._sel_initWithEventClass_eventID_targetDescriptor_returnID_transactionID_1, - eventClass, - eventID, - targetDescriptor?.pointer ?? ffi.nullptr, - returnID, - transactionID, - ); - return NSAppleEventDescriptor._(_ret, _lib, retain: true, release: true); + int eventClass, + int eventID, + NSAppleEventDescriptor? targetDescriptor, + int returnID, + int transactionID) { + final _ret = _objc_msgSend_615( + this.pointer, + _sel_initWithEventClass_eventID_targetDescriptor_returnID_transactionID_, + eventClass, + eventID, + targetDescriptor?.pointer ?? ffi.nullptr, + returnID, + transactionID); + return NSAppleEventDescriptor._(_ret, retain: true, release: true); } NSAppleEventDescriptor initListDescriptor() { - final _ret = _lib._objc_msgSend_2( - this.pointer, - _lib._sel_initListDescriptor1, - ); - return NSAppleEventDescriptor._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_initListDescriptor); + return NSAppleEventDescriptor._(_ret, retain: true, release: true); } NSAppleEventDescriptor initRecordDescriptor() { - final _ret = _lib._objc_msgSend_2( - this.pointer, - _lib._sel_initRecordDescriptor1, - ); - return NSAppleEventDescriptor._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_initRecordDescriptor); + return NSAppleEventDescriptor._(_ret, retain: true, release: true); } ffi.Pointer get aeDesc { - return _lib._objc_msgSend_616(this.pointer, _lib._sel_aeDesc1); + return _objc_msgSend_616(this.pointer, _sel_aeDesc); } int get descriptorType { - return _lib._objc_msgSend_214(this.pointer, _lib._sel_descriptorType1); + return _objc_msgSend_214(this.pointer, _sel_descriptorType); } NSData get data { - final _ret = _lib._objc_msgSend_43(this.pointer, _lib._sel_data1); - return NSData._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_43(this.pointer, _sel_data); + return NSData._(_ret, retain: true, release: true); } int get booleanValue { - return _lib._objc_msgSend_234(this.pointer, _lib._sel_booleanValue1); + return _objc_msgSend_234(this.pointer, _sel_booleanValue); } int get enumCodeValue { - return _lib._objc_msgSend_214(this.pointer, _lib._sel_enumCodeValue1); + return _objc_msgSend_214(this.pointer, _sel_enumCodeValue); } int get int32Value { - return _lib._objc_msgSend_237(this.pointer, _lib._sel_int32Value1); + return _objc_msgSend_237(this.pointer, _sel_int32Value); } double get doubleValue { return objc.useMsgSendVariants - ? _lib._objc_msgSend_165_fpret(this.pointer, _lib._sel_doubleValue1) - : _lib._objc_msgSend_165(this.pointer, _lib._sel_doubleValue1); + ? _objc_msgSend_165Fpret(this.pointer, _sel_doubleValue) + : _objc_msgSend_165(this.pointer, _sel_doubleValue); } int get typeCodeValue { - return _lib._objc_msgSend_214(this.pointer, _lib._sel_typeCodeValue1); + return _objc_msgSend_214(this.pointer, _sel_typeCodeValue); } NSString? get stringValue { - final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_stringValue1); + final _ret = _objc_msgSend_44(this.pointer, _sel_stringValue); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } NSDate? get dateValue { - final _ret = _lib._objc_msgSend_183(this.pointer, _lib._sel_dateValue1); + final _ret = _objc_msgSend_183(this.pointer, _sel_dateValue); return _ret.address == 0 ? null - : NSDate._(_ret, _lib, retain: true, release: true); + : NSDate._(_ret, retain: true, release: true); } NSURL? get fileURLValue { - final _ret = _lib._objc_msgSend_45(this.pointer, _lib._sel_fileURLValue1); + final _ret = _objc_msgSend_45(this.pointer, _sel_fileURLValue); return _ret.address == 0 ? null - : NSURL._(_ret, _lib, retain: true, release: true); + : NSURL._(_ret, retain: true, release: true); } int get eventClass { - return _lib._objc_msgSend_214(this.pointer, _lib._sel_eventClass1); + return _objc_msgSend_214(this.pointer, _sel_eventClass); } int get eventID { - return _lib._objc_msgSend_214(this.pointer, _lib._sel_eventID1); + return _objc_msgSend_214(this.pointer, _sel_eventID); } int get returnID { - return _lib._objc_msgSend_235(this.pointer, _lib._sel_returnID1); + return _objc_msgSend_235(this.pointer, _sel_returnID); } int get transactionID { - return _lib._objc_msgSend_237(this.pointer, _lib._sel_transactionID1); + return _objc_msgSend_237(this.pointer, _sel_transactionID); } void setParamDescriptor_forKeyword_( - NSAppleEventDescriptor descriptor, - int keyword, - ) { - _lib._objc_msgSend_617( - this.pointer, - _lib._sel_setParamDescriptor_forKeyword_1, - descriptor.pointer, - keyword, - ); + NSAppleEventDescriptor descriptor, int keyword) { + _objc_msgSend_617(this.pointer, _sel_setParamDescriptor_forKeyword_, + descriptor.pointer, keyword); } NSAppleEventDescriptor? paramDescriptorForKeyword_(int keyword) { - final _ret = _lib._objc_msgSend_618( - this.pointer, - _lib._sel_paramDescriptorForKeyword_1, - keyword, - ); + final _ret = _objc_msgSend_618( + this.pointer, _sel_paramDescriptorForKeyword_, keyword); return _ret.address == 0 ? null - : NSAppleEventDescriptor._(_ret, _lib, retain: true, release: true); + : NSAppleEventDescriptor._(_ret, retain: true, release: true); } void removeParamDescriptorWithKeyword_(int keyword) { - _lib._objc_msgSend_619( - this.pointer, - _lib._sel_removeParamDescriptorWithKeyword_1, - keyword, - ); + _objc_msgSend_619( + this.pointer, _sel_removeParamDescriptorWithKeyword_, keyword); } void setAttributeDescriptor_forKeyword_( - NSAppleEventDescriptor descriptor, - int keyword, - ) { - _lib._objc_msgSend_617( - this.pointer, - _lib._sel_setAttributeDescriptor_forKeyword_1, - descriptor.pointer, - keyword, - ); + NSAppleEventDescriptor descriptor, int keyword) { + _objc_msgSend_617(this.pointer, _sel_setAttributeDescriptor_forKeyword_, + descriptor.pointer, keyword); } NSAppleEventDescriptor? attributeDescriptorForKeyword_(int keyword) { - final _ret = _lib._objc_msgSend_618( - this.pointer, - _lib._sel_attributeDescriptorForKeyword_1, - keyword, - ); + final _ret = _objc_msgSend_618( + this.pointer, _sel_attributeDescriptorForKeyword_, keyword); return _ret.address == 0 ? null - : NSAppleEventDescriptor._(_ret, _lib, retain: true, release: true); + : NSAppleEventDescriptor._(_ret, retain: true, release: true); } NSAppleEventDescriptor? sendEventWithOptions_timeout_error_( - int sendOptions, - double timeoutInSeconds, - ffi.Pointer> error, - ) { - final _ret = _lib._objc_msgSend_620( - this.pointer, - _lib._sel_sendEventWithOptions_timeout_error_1, - sendOptions, - timeoutInSeconds, - error, - ); + int sendOptions, + double timeoutInSeconds, + ffi.Pointer> error) { + final _ret = _objc_msgSend_620( + this.pointer, + _sel_sendEventWithOptions_timeout_error_, + sendOptions, + timeoutInSeconds, + error); return _ret.address == 0 ? null - : NSAppleEventDescriptor._(_ret, _lib, retain: true, release: true); + : NSAppleEventDescriptor._(_ret, retain: true, release: true); } bool get isRecordDescriptor { - return _lib._objc_msgSend_12(this.pointer, _lib._sel_isRecordDescriptor1); + return _objc_msgSend_12(this.pointer, _sel_isRecordDescriptor); } int get numberOfItems { - return _lib._objc_msgSend_83(this.pointer, _lib._sel_numberOfItems1); + return _objc_msgSend_83(this.pointer, _sel_numberOfItems); } void insertDescriptor_atIndex_(NSAppleEventDescriptor descriptor, int index) { - _lib._objc_msgSend_621( - this.pointer, - _lib._sel_insertDescriptor_atIndex_1, - descriptor.pointer, - index, - ); + _objc_msgSend_621(this.pointer, _sel_insertDescriptor_atIndex_, + descriptor.pointer, index); } NSAppleEventDescriptor? descriptorAtIndex_(int index) { - final _ret = _lib._objc_msgSend_622( - this.pointer, - _lib._sel_descriptorAtIndex_1, - index, - ); + final _ret = + _objc_msgSend_622(this.pointer, _sel_descriptorAtIndex_, index); return _ret.address == 0 ? null - : NSAppleEventDescriptor._(_ret, _lib, retain: true, release: true); + : NSAppleEventDescriptor._(_ret, retain: true, release: true); } void removeDescriptorAtIndex_(int index) { - _lib._objc_msgSend_423( - this.pointer, - _lib._sel_removeDescriptorAtIndex_1, - index, - ); + _objc_msgSend_423(this.pointer, _sel_removeDescriptorAtIndex_, index); } void setDescriptor_forKeyword_( - NSAppleEventDescriptor descriptor, - int keyword, - ) { - _lib._objc_msgSend_617( - this.pointer, - _lib._sel_setDescriptor_forKeyword_1, - descriptor.pointer, - keyword, - ); + NSAppleEventDescriptor descriptor, int keyword) { + _objc_msgSend_617(this.pointer, _sel_setDescriptor_forKeyword_, + descriptor.pointer, keyword); } NSAppleEventDescriptor? descriptorForKeyword_(int keyword) { - final _ret = _lib._objc_msgSend_618( - this.pointer, - _lib._sel_descriptorForKeyword_1, - keyword, - ); + final _ret = + _objc_msgSend_618(this.pointer, _sel_descriptorForKeyword_, keyword); return _ret.address == 0 ? null - : NSAppleEventDescriptor._(_ret, _lib, retain: true, release: true); + : NSAppleEventDescriptor._(_ret, retain: true, release: true); } void removeDescriptorWithKeyword_(int keyword) { - _lib._objc_msgSend_619( - this.pointer, - _lib._sel_removeDescriptorWithKeyword_1, - keyword, - ); + _objc_msgSend_619(this.pointer, _sel_removeDescriptorWithKeyword_, keyword); } int keywordForDescriptorAtIndex_(int index) { - return _lib._objc_msgSend_623( - this.pointer, - _lib._sel_keywordForDescriptorAtIndex_1, - index, - ); + return _objc_msgSend_623( + this.pointer, _sel_keywordForDescriptorAtIndex_, index); } NSAppleEventDescriptor? coerceToDescriptorType_(int descriptorType) { - final _ret = _lib._objc_msgSend_618( - this.pointer, - _lib._sel_coerceToDescriptorType_1, - descriptorType, - ); + final _ret = _objc_msgSend_618( + this.pointer, _sel_coerceToDescriptorType_, descriptorType); return _ret.address == 0 ? null - : NSAppleEventDescriptor._(_ret, _lib, retain: true, release: true); + : NSAppleEventDescriptor._(_ret, retain: true, release: true); } @override NSAppleEventDescriptor init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSAppleEventDescriptor._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSAppleEventDescriptor._(_ret, retain: true, release: true); } - static NSAppleEventDescriptor new1(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSAppleEventDescriptor1, - _lib._sel_new1, - ); - return NSAppleEventDescriptor._(_ret, _lib, retain: false, release: true); + static NSAppleEventDescriptor new1() { + final _ret = _objc_msgSend_2(_class_NSAppleEventDescriptor, _sel_new); + return NSAppleEventDescriptor._(_ret, retain: false, release: true); } - static NSAppleEventDescriptor allocWithZone_( - AVFAudio _lib, - ffi.Pointer<_NSZone> zone, - ) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSAppleEventDescriptor1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSAppleEventDescriptor._(_ret, _lib, retain: false, release: true); + static NSAppleEventDescriptor allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = _objc_msgSend_3( + _class_NSAppleEventDescriptor, _sel_allocWithZone_, zone); + return NSAppleEventDescriptor._(_ret, retain: false, release: true); } - static NSAppleEventDescriptor alloc(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSAppleEventDescriptor1, - _lib._sel_alloc1, - ); - return NSAppleEventDescriptor._(_ret, _lib, retain: false, release: true); + static NSAppleEventDescriptor alloc() { + final _ret = _objc_msgSend_2(_class_NSAppleEventDescriptor, _sel_alloc); + return NSAppleEventDescriptor._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSAppleEventDescriptor1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSAppleEventDescriptor1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSAppleEventDescriptor1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSAppleEventDescriptor1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSAppleEventDescriptor1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSAppleEventDescriptor1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSAppleEventDescriptor, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); } - static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSAppleEventDescriptor1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSAppleEventDescriptor1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSAppleEventDescriptor1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSAppleEventDescriptor, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); } -} + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSAppleEventDescriptor, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12( + _class_NSAppleEventDescriptor, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSAppleEventDescriptor, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSAppleEventDescriptor, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); + } + + static void setKeys_triggerChangeNotificationsForDependentKey_( + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSAppleEventDescriptor, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = _objc_msgSend_85( + _class_NSAppleEventDescriptor, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = _objc_msgSend_2( + _class_NSAppleEventDescriptor, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); + } +} + +late final _class_NSAppleEventDescriptor = + objc.getClass("NSAppleEventDescriptor"); +late final _sel_nullDescriptor = objc.registerName("nullDescriptor"); +final _objc_msgSend_601 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_descriptorWithDescriptorType_bytes_length_ = + objc.registerName("descriptorWithDescriptorType:bytes:length:"); +final _objc_msgSend_602 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.UnsignedInt descriptorType, + ffi.Pointer bytes, + ffi.UnsignedLong byteCount)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, int, ffi.Pointer, int)>(); +late final _sel_descriptorWithDescriptorType_data_ = + objc.registerName("descriptorWithDescriptorType:data:"); +final _objc_msgSend_603 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.UnsignedInt descriptorType, + ffi.Pointer data)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer)>(); +late final _sel_descriptorWithBoolean_ = + objc.registerName("descriptorWithBoolean:"); +final _objc_msgSend_604 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.UnsignedChar boolean)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, int)>(); +late final _sel_descriptorWithEnumCode_ = + objc.registerName("descriptorWithEnumCode:"); +final _objc_msgSend_605 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.UnsignedInt enumerator)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, int)>(); +late final _sel_descriptorWithInt32_ = + objc.registerName("descriptorWithInt32:"); +final _objc_msgSend_606 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Int signedInt)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, int)>(); +late final _sel_descriptorWithDouble_ = + objc.registerName("descriptorWithDouble:"); +final _objc_msgSend_607 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Double doubleValue)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, double)>(); +late final _sel_descriptorWithTypeCode_ = + objc.registerName("descriptorWithTypeCode:"); +late final _sel_descriptorWithString_ = + objc.registerName("descriptorWithString:"); +final _objc_msgSend_608 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer string)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_descriptorWithDate_ = objc.registerName("descriptorWithDate:"); +final _objc_msgSend_609 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer date)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_descriptorWithFileURL_ = + objc.registerName("descriptorWithFileURL:"); +final _objc_msgSend_610 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer fileURL)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_appleEventWithEventClass_eventID_targetDescriptor_returnID_transactionID_ = + objc.registerName( + "appleEventWithEventClass:eventID:targetDescriptor:returnID:transactionID:"); +final _objc_msgSend_611 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.UnsignedInt eventClass, + ffi.UnsignedInt eventID, + ffi.Pointer targetDescriptor, + ffi.Short returnID, + ffi.Int transactionID)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + int, + ffi.Pointer, + int, + int)>(); +late final _sel_listDescriptor = objc.registerName("listDescriptor"); +late final _sel_recordDescriptor = objc.registerName("recordDescriptor"); +late final _sel_currentProcessDescriptor = + objc.registerName("currentProcessDescriptor"); +late final _sel_descriptorWithProcessIdentifier_ = + objc.registerName("descriptorWithProcessIdentifier:"); +late final _sel_descriptorWithBundleIdentifier_ = + objc.registerName("descriptorWithBundleIdentifier:"); +late final _sel_descriptorWithApplicationURL_ = + objc.registerName("descriptorWithApplicationURL:"); @ffi.Packed(2) final class AEDesc extends ffi.Struct { @@ -63597,6 +28553,137 @@ final class AEDesc extends ffi.Struct { final class OpaqueAEDataStorageType extends ffi.Opaque {} +late final _sel_initWithAEDescNoCopy_ = + objc.registerName("initWithAEDescNoCopy:"); +final _objc_msgSend_612 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer aeDesc)>>() + .asFunction< + instancetype Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_initWithDescriptorType_bytes_length_ = + objc.registerName("initWithDescriptorType:bytes:length:"); +final _objc_msgSend_613 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.UnsignedInt descriptorType, + ffi.Pointer bytes, + ffi.UnsignedLong byteCount)>>() + .asFunction< + instancetype Function(ffi.Pointer, + ffi.Pointer, int, ffi.Pointer, int)>(); +late final _sel_initWithDescriptorType_data_ = + objc.registerName("initWithDescriptorType:data:"); +final _objc_msgSend_614 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.UnsignedInt descriptorType, + ffi.Pointer data)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer)>(); +late final _sel_initWithEventClass_eventID_targetDescriptor_returnID_transactionID_ = + objc.registerName( + "initWithEventClass:eventID:targetDescriptor:returnID:transactionID:"); +final _objc_msgSend_615 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.UnsignedInt eventClass, + ffi.UnsignedInt eventID, + ffi.Pointer targetDescriptor, + ffi.Short returnID, + ffi.Int transactionID)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + int, + int, + ffi.Pointer, + int, + int)>(); +late final _sel_initListDescriptor = objc.registerName("initListDescriptor"); +late final _sel_initRecordDescriptor = + objc.registerName("initRecordDescriptor"); +late final _sel_aeDesc = objc.registerName("aeDesc"); +final _objc_msgSend_616 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function(ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_descriptorType = objc.registerName("descriptorType"); +late final _sel_booleanValue = objc.registerName("booleanValue"); +late final _sel_enumCodeValue = objc.registerName("enumCodeValue"); +late final _sel_int32Value = objc.registerName("int32Value"); +late final _sel_typeCodeValue = objc.registerName("typeCodeValue"); +late final _sel_dateValue = objc.registerName("dateValue"); +late final _sel_fileURLValue = objc.registerName("fileURLValue"); +late final _sel_eventClass = objc.registerName("eventClass"); +late final _sel_eventID = objc.registerName("eventID"); +late final _sel_returnID = objc.registerName("returnID"); +late final _sel_transactionID = objc.registerName("transactionID"); +late final _sel_setParamDescriptor_forKeyword_ = + objc.registerName("setParamDescriptor:forKeyword:"); +final _objc_msgSend_617 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer descriptor, + ffi.UnsignedInt keyword)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int)>(); +late final _sel_paramDescriptorForKeyword_ = + objc.registerName("paramDescriptorForKeyword:"); +final _objc_msgSend_618 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.UnsignedInt keyword)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, int)>(); +late final _sel_removeParamDescriptorWithKeyword_ = + objc.registerName("removeParamDescriptorWithKeyword:"); +final _objc_msgSend_619 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer obj, + ffi.Pointer sel, ffi.UnsignedInt keyword)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, int)>(); +late final _sel_setAttributeDescriptor_forKeyword_ = + objc.registerName("setAttributeDescriptor:forKeyword:"); +late final _sel_attributeDescriptorForKeyword_ = + objc.registerName("attributeDescriptorForKeyword:"); + abstract class NSAppleEventSendOptions { static const int NSAppleEventSendNoReply = 1; static const int NSAppleEventSendQueueReply = 2; @@ -63611,1508 +28698,1691 @@ abstract class NSAppleEventSendOptions { static const int NSAppleEventSendDefaultOptions = 35; } +late final _sel_sendEventWithOptions_timeout_error_ = + objc.registerName("sendEventWithOptions:timeout:error:"); +final _objc_msgSend_620 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Int32 sendOptions, + ffi.Double timeoutInSeconds, + ffi.Pointer> error)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + double, + ffi.Pointer>)>(); +late final _sel_isRecordDescriptor = objc.registerName("isRecordDescriptor"); +late final _sel_numberOfItems = objc.registerName("numberOfItems"); +late final _sel_insertDescriptor_atIndex_ = + objc.registerName("insertDescriptor:atIndex:"); +final _objc_msgSend_621 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer descriptor, + ffi.Long index)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int)>(); +late final _sel_descriptorAtIndex_ = objc.registerName("descriptorAtIndex:"); +final _objc_msgSend_622 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Long index)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, int)>(); +late final _sel_removeDescriptorAtIndex_ = + objc.registerName("removeDescriptorAtIndex:"); +late final _sel_setDescriptor_forKeyword_ = + objc.registerName("setDescriptor:forKeyword:"); +late final _sel_descriptorForKeyword_ = + objc.registerName("descriptorForKeyword:"); +late final _sel_removeDescriptorWithKeyword_ = + objc.registerName("removeDescriptorWithKeyword:"); +late final _sel_keywordForDescriptorAtIndex_ = + objc.registerName("keywordForDescriptorAtIndex:"); +final _objc_msgSend_623 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.UnsignedInt Function(ffi.Pointer obj, + ffi.Pointer sel, ffi.Long index)>>() + .asFunction< + int Function(ffi.Pointer, + ffi.Pointer, int)>(); +late final _sel_coerceToDescriptorType_ = + objc.registerName("coerceToDescriptorType:"); +late final _sel_objectSpecifierWithDescriptor_ = + objc.registerName("objectSpecifierWithDescriptor:"); +final _objc_msgSend_624 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer descriptor)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_initWithContainerSpecifier_key_ = + objc.registerName("initWithContainerSpecifier:key:"); +final _objc_msgSend_625 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer container, + ffi.Pointer property)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); + class NSScriptClassDescription extends NSClassDescription { - NSScriptClassDescription._( - ffi.Pointer pointer, - AVFAudio lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSScriptClassDescription._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSScriptClassDescription] that points to the same underlying object as [other]. static NSScriptClassDescription castFrom( - AVFAudio lib, - T other, - ) { - return NSScriptClassDescription._( - other.pointer, - lib, - retain: true, - release: true, - ); + T other) { + return NSScriptClassDescription._(other.pointer, + retain: true, release: true); } /// Returns a [NSScriptClassDescription] that wraps the given raw object pointer. static NSScriptClassDescription castFromPointer( - AVFAudio lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSScriptClassDescription._( - other, - lib, - retain: retain, - release: release, - ); + ffi.Pointer other, + {bool retain = false, + bool release = false}) { + return NSScriptClassDescription._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSScriptClassDescription]. - static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSScriptClassDescription1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0( + obj.pointer, _sel_isKindOfClass_, _class_NSScriptClassDescription); } - static NSScriptClassDescription? classDescriptionForClass_( - AVFAudio _lib, - NSObject aClass, - ) { - final _ret = _lib._objc_msgSend_626( - _lib._class_NSScriptClassDescription1, - _lib._sel_classDescriptionForClass_1, - aClass.pointer, - ); + static NSScriptClassDescription? classDescriptionForClass_(NSObject aClass) { + final _ret = _objc_msgSend_626(_class_NSScriptClassDescription, + _sel_classDescriptionForClass_, aClass.pointer); return _ret.address == 0 ? null - : NSScriptClassDescription._(_ret, _lib, retain: true, release: true); + : NSScriptClassDescription._(_ret, retain: true, release: true); } NSScriptClassDescription? initWithSuiteName_className_dictionary_( - NSString suiteName, - NSString className, - NSDictionary? classDeclaration, - ) { - final _ret = _lib._objc_msgSend_627( - this.pointer, - _lib._sel_initWithSuiteName_className_dictionary_1, - suiteName.pointer, - className.pointer, - classDeclaration?.pointer ?? ffi.nullptr, - ); + NSString suiteName, NSString className, NSDictionary? classDeclaration) { + final _ret = _objc_msgSend_627( + this.pointer, + _sel_initWithSuiteName_className_dictionary_, + suiteName.pointer, + className.pointer, + classDeclaration?.pointer ?? ffi.nullptr); return _ret.address == 0 ? null - : NSScriptClassDescription._(_ret, _lib, retain: true, release: true); + : NSScriptClassDescription._(_ret, retain: true, release: true); } NSString? get suiteName { - final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_suiteName1); + final _ret = _objc_msgSend_44(this.pointer, _sel_suiteName); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } NSString? get className { - final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_className1); + final _ret = _objc_msgSend_44(this.pointer, _sel_className); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } NSString? get implementationClassName { - final _ret = _lib._objc_msgSend_44( - this.pointer, - _lib._sel_implementationClassName1, - ); + final _ret = _objc_msgSend_44(this.pointer, _sel_implementationClassName); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } NSScriptClassDescription? get superclassDescription { - final _ret = _lib._objc_msgSend_628( - this.pointer, - _lib._sel_superclassDescription1, - ); + final _ret = _objc_msgSend_628(this.pointer, _sel_superclassDescription); return _ret.address == 0 ? null - : NSScriptClassDescription._(_ret, _lib, retain: true, release: true); + : NSScriptClassDescription._(_ret, retain: true, release: true); } int get appleEventCode { - return _lib._objc_msgSend_214(this.pointer, _lib._sel_appleEventCode1); + return _objc_msgSend_214(this.pointer, _sel_appleEventCode); } bool matchesAppleEventCode_(int appleEventCode) { - return _lib._objc_msgSend_194( - this.pointer, - _lib._sel_matchesAppleEventCode_1, - appleEventCode, - ); + return _objc_msgSend_194( + this.pointer, _sel_matchesAppleEventCode_, appleEventCode); } bool supportsCommand_(NSScriptCommandDescription commandDescription) { - return _lib._objc_msgSend_641( - this.pointer, - _lib._sel_supportsCommand_1, - commandDescription.pointer, - ); + return _objc_msgSend_641( + this.pointer, _sel_supportsCommand_, commandDescription.pointer); } ffi.Pointer selectorForCommand_( - NSScriptCommandDescription commandDescription, - ) { - return _lib._objc_msgSend_642( - this.pointer, - _lib._sel_selectorForCommand_1, - commandDescription.pointer, - ); + NSScriptCommandDescription commandDescription) { + return _objc_msgSend_642( + this.pointer, _sel_selectorForCommand_, commandDescription.pointer); } NSString? typeForKey_(NSString key) { - final _ret = _lib._objc_msgSend_186( - this.pointer, - _lib._sel_typeForKey_1, - key.pointer, - ); + final _ret = _objc_msgSend_186(this.pointer, _sel_typeForKey_, key.pointer); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } NSScriptClassDescription? classDescriptionForKey_(NSString key) { - final _ret = _lib._objc_msgSend_643( - this.pointer, - _lib._sel_classDescriptionForKey_1, - key.pointer, - ); + final _ret = _objc_msgSend_643( + this.pointer, _sel_classDescriptionForKey_, key.pointer); return _ret.address == 0 ? null - : NSScriptClassDescription._(_ret, _lib, retain: true, release: true); + : NSScriptClassDescription._(_ret, retain: true, release: true); } int appleEventCodeForKey_(NSString key) { - return _lib._objc_msgSend_629( - this.pointer, - _lib._sel_appleEventCodeForKey_1, - key.pointer, - ); + return _objc_msgSend_629( + this.pointer, _sel_appleEventCodeForKey_, key.pointer); } NSString? keyWithAppleEventCode_(int appleEventCode) { - final _ret = _lib._objc_msgSend_644( - this.pointer, - _lib._sel_keyWithAppleEventCode_1, - appleEventCode, - ); + final _ret = _objc_msgSend_644( + this.pointer, _sel_keyWithAppleEventCode_, appleEventCode); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } NSString? get defaultSubcontainerAttributeKey { - final _ret = _lib._objc_msgSend_44( - this.pointer, - _lib._sel_defaultSubcontainerAttributeKey1, - ); + final _ret = + _objc_msgSend_44(this.pointer, _sel_defaultSubcontainerAttributeKey); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } bool isLocationRequiredToCreateForKey_(NSString toManyRelationshipKey) { - return _lib._objc_msgSend_64( - this.pointer, - _lib._sel_isLocationRequiredToCreateForKey_1, - toManyRelationshipKey.pointer, - ); + return _objc_msgSend_64(this.pointer, + _sel_isLocationRequiredToCreateForKey_, toManyRelationshipKey.pointer); } bool hasPropertyForKey_(NSString key) { - return _lib._objc_msgSend_64( - this.pointer, - _lib._sel_hasPropertyForKey_1, - key.pointer, - ); + return _objc_msgSend_64(this.pointer, _sel_hasPropertyForKey_, key.pointer); } bool hasOrderedToManyRelationshipForKey_(NSString key) { - return _lib._objc_msgSend_64( - this.pointer, - _lib._sel_hasOrderedToManyRelationshipForKey_1, - key.pointer, - ); + return _objc_msgSend_64( + this.pointer, _sel_hasOrderedToManyRelationshipForKey_, key.pointer); } bool hasReadablePropertyForKey_(NSString key) { - return _lib._objc_msgSend_64( - this.pointer, - _lib._sel_hasReadablePropertyForKey_1, - key.pointer, - ); + return _objc_msgSend_64( + this.pointer, _sel_hasReadablePropertyForKey_, key.pointer); } bool hasWritablePropertyForKey_(NSString key) { - return _lib._objc_msgSend_64( - this.pointer, - _lib._sel_hasWritablePropertyForKey_1, - key.pointer, - ); + return _objc_msgSend_64( + this.pointer, _sel_hasWritablePropertyForKey_, key.pointer); } bool isReadOnlyKey_(NSString key) { - return _lib._objc_msgSend_64( - this.pointer, - _lib._sel_isReadOnlyKey_1, - key.pointer, - ); + return _objc_msgSend_64(this.pointer, _sel_isReadOnlyKey_, key.pointer); } static void registerClassDescription_forClass_( - AVFAudio _lib, - NSClassDescription description, - NSObject aClass, - ) { - _lib._objc_msgSend_598( - _lib._class_NSScriptClassDescription1, - _lib._sel_registerClassDescription_forClass_1, - description.pointer, - aClass.pointer, - ); + NSClassDescription description, NSObject aClass) { + _objc_msgSend_598( + _class_NSScriptClassDescription, + _sel_registerClassDescription_forClass_, + description.pointer, + aClass.pointer); } - static void invalidateClassDescriptionCache(AVFAudio _lib) { - _lib._objc_msgSend_1( - _lib._class_NSScriptClassDescription1, - _lib._sel_invalidateClassDescriptionCache1, - ); + static void invalidateClassDescriptionCache() { + _objc_msgSend_1( + _class_NSScriptClassDescription, _sel_invalidateClassDescriptionCache); } @override NSScriptClassDescription init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSScriptClassDescription._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSScriptClassDescription._(_ret, retain: true, release: true); } - static NSScriptClassDescription new1(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSScriptClassDescription1, - _lib._sel_new1, - ); - return NSScriptClassDescription._(_ret, _lib, retain: false, release: true); + static NSScriptClassDescription new1() { + final _ret = _objc_msgSend_2(_class_NSScriptClassDescription, _sel_new); + return NSScriptClassDescription._(_ret, retain: false, release: true); } - static NSScriptClassDescription allocWithZone_( - AVFAudio _lib, - ffi.Pointer<_NSZone> zone, - ) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSScriptClassDescription1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSScriptClassDescription._(_ret, _lib, retain: false, release: true); + static NSScriptClassDescription allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = _objc_msgSend_3( + _class_NSScriptClassDescription, _sel_allocWithZone_, zone); + return NSScriptClassDescription._(_ret, retain: false, release: true); } - static NSScriptClassDescription alloc(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSScriptClassDescription1, - _lib._sel_alloc1, - ); - return NSScriptClassDescription._(_ret, _lib, retain: false, release: true); + static NSScriptClassDescription alloc() { + final _ret = _objc_msgSend_2(_class_NSScriptClassDescription, _sel_alloc); + return NSScriptClassDescription._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSScriptClassDescription1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSScriptClassDescription1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSScriptClassDescription1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSScriptClassDescription1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSScriptClassDescription1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSScriptClassDescription1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSScriptClassDescription, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); } - static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSScriptClassDescription1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSScriptClassDescription1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSScriptClassDescription1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSScriptClassDescription, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); } -} + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSScriptClassDescription, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12( + _class_NSScriptClassDescription, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSScriptClassDescription, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSScriptClassDescription, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); + } + + static void setKeys_triggerChangeNotificationsForDependentKey_( + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSScriptClassDescription, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = _objc_msgSend_85( + _class_NSScriptClassDescription, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = _objc_msgSend_2( + _class_NSScriptClassDescription, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); + } +} + +late final _class_NSScriptClassDescription = + objc.getClass("NSScriptClassDescription"); +final _objc_msgSend_626 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer aClass)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_initWithSuiteName_className_dictionary_ = + objc.registerName("initWithSuiteName:className:dictionary:"); +final _objc_msgSend_627 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer suiteName, + ffi.Pointer className, + ffi.Pointer classDeclaration)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_suiteName = objc.registerName("suiteName"); +late final _sel_className = objc.registerName("className"); +late final _sel_implementationClassName = + objc.registerName("implementationClassName"); +late final _sel_superclassDescription = + objc.registerName("superclassDescription"); +final _objc_msgSend_628 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_appleEventCode = objc.registerName("appleEventCode"); +late final _sel_matchesAppleEventCode_ = + objc.registerName("matchesAppleEventCode:"); class NSScriptCommandDescription extends NSObject { - NSScriptCommandDescription._( - ffi.Pointer pointer, - AVFAudio lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSScriptCommandDescription._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSScriptCommandDescription] that points to the same underlying object as [other]. static NSScriptCommandDescription castFrom( - AVFAudio lib, - T other, - ) { - return NSScriptCommandDescription._( - other.pointer, - lib, - retain: true, - release: true, - ); + T other) { + return NSScriptCommandDescription._(other.pointer, + retain: true, release: true); } /// Returns a [NSScriptCommandDescription] that wraps the given raw object pointer. static NSScriptCommandDescription castFromPointer( - AVFAudio lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSScriptCommandDescription._( - other, - lib, - retain: retain, - release: release, - ); + ffi.Pointer other, + {bool retain = false, + bool release = false}) { + return NSScriptCommandDescription._(other, + retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSScriptCommandDescription]. - static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSScriptCommandDescription1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0( + obj.pointer, _sel_isKindOfClass_, _class_NSScriptCommandDescription); } @override NSObject init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSObject._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSObject._(_ret, retain: true, release: true); } NSScriptCommandDescription? initWithSuiteName_commandName_dictionary_( - NSString suiteName, - NSString commandName, - NSDictionary? commandDeclaration, - ) { - final _ret = _lib._objc_msgSend_627( - this.pointer, - _lib._sel_initWithSuiteName_commandName_dictionary_1, - suiteName.pointer, - commandName.pointer, - commandDeclaration?.pointer ?? ffi.nullptr, - ); + NSString suiteName, + NSString commandName, + NSDictionary? commandDeclaration) { + final _ret = _objc_msgSend_627( + this.pointer, + _sel_initWithSuiteName_commandName_dictionary_, + suiteName.pointer, + commandName.pointer, + commandDeclaration?.pointer ?? ffi.nullptr); return _ret.address == 0 ? null - : NSScriptCommandDescription._(_ret, _lib, retain: true, release: true); + : NSScriptCommandDescription._(_ret, retain: true, release: true); } NSScriptCommandDescription? initWithCoder_(NSCoder inCoder) { - final _ret = _lib._objc_msgSend_47( - this.pointer, - _lib._sel_initWithCoder_1, - inCoder.pointer, - ); + final _ret = + _objc_msgSend_47(this.pointer, _sel_initWithCoder_, inCoder.pointer); return _ret.address == 0 ? null - : NSScriptCommandDescription._(_ret, _lib, retain: true, release: true); + : NSScriptCommandDescription._(_ret, retain: true, release: true); } NSString get suiteName { - final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_suiteName1); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_suiteName); + return NSString._(_ret, retain: true, release: true); } NSString get commandName { - final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_commandName1); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_commandName); + return NSString._(_ret, retain: true, release: true); } int get appleEventClassCode { - return _lib._objc_msgSend_214(this.pointer, _lib._sel_appleEventClassCode1); + return _objc_msgSend_214(this.pointer, _sel_appleEventClassCode); } int get appleEventCode { - return _lib._objc_msgSend_214(this.pointer, _lib._sel_appleEventCode1); + return _objc_msgSend_214(this.pointer, _sel_appleEventCode); } NSString get commandClassName { - final _ret = _lib._objc_msgSend_21( - this.pointer, - _lib._sel_commandClassName1, - ); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_commandClassName); + return NSString._(_ret, retain: true, release: true); } NSString? get returnType { - final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_returnType1); + final _ret = _objc_msgSend_44(this.pointer, _sel_returnType); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } int get appleEventCodeForReturnType { - return _lib._objc_msgSend_214( - this.pointer, - _lib._sel_appleEventCodeForReturnType1, - ); + return _objc_msgSend_214(this.pointer, _sel_appleEventCodeForReturnType); } NSArray get argumentNames { - final _ret = _lib._objc_msgSend_85(this.pointer, _lib._sel_argumentNames1); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_85(this.pointer, _sel_argumentNames); + return NSArray._(_ret, retain: true, release: true); } NSString? typeForArgumentWithName_(NSString argumentName) { - final _ret = _lib._objc_msgSend_186( - this.pointer, - _lib._sel_typeForArgumentWithName_1, - argumentName.pointer, - ); + final _ret = _objc_msgSend_186( + this.pointer, _sel_typeForArgumentWithName_, argumentName.pointer); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } int appleEventCodeForArgumentWithName_(NSString argumentName) { - return _lib._objc_msgSend_629( - this.pointer, - _lib._sel_appleEventCodeForArgumentWithName_1, - argumentName.pointer, - ); + return _objc_msgSend_629(this.pointer, + _sel_appleEventCodeForArgumentWithName_, argumentName.pointer); } bool isOptionalArgumentWithName_(NSString argumentName) { - return _lib._objc_msgSend_64( - this.pointer, - _lib._sel_isOptionalArgumentWithName_1, - argumentName.pointer, - ); + return _objc_msgSend_64( + this.pointer, _sel_isOptionalArgumentWithName_, argumentName.pointer); } NSScriptCommand createCommandInstance() { - final _ret = _lib._objc_msgSend_639( - this.pointer, - _lib._sel_createCommandInstance1, - ); - return NSScriptCommand._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_639(this.pointer, _sel_createCommandInstance); + return NSScriptCommand._(_ret, retain: true, release: true); } NSScriptCommand createCommandInstanceWithZone_(ffi.Pointer<_NSZone> zone) { - final _ret = _lib._objc_msgSend_640( - this.pointer, - _lib._sel_createCommandInstanceWithZone_1, - zone, - ); - return NSScriptCommand._(_ret, _lib, retain: true, release: true); - } - - static NSScriptCommandDescription new1(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSScriptCommandDescription1, - _lib._sel_new1, - ); - return NSScriptCommandDescription._( - _ret, - _lib, - retain: false, - release: true, - ); - } - - static NSScriptCommandDescription allocWithZone_( - AVFAudio _lib, - ffi.Pointer<_NSZone> zone, - ) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSScriptCommandDescription1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSScriptCommandDescription._( - _ret, - _lib, - retain: false, - release: true, - ); - } - - static NSScriptCommandDescription alloc(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSScriptCommandDescription1, - _lib._sel_alloc1, - ); - return NSScriptCommandDescription._( - _ret, - _lib, - retain: false, - release: true, - ); + final _ret = _objc_msgSend_640( + this.pointer, _sel_createCommandInstanceWithZone_, zone); + return NSScriptCommand._(_ret, retain: true, release: true); + } + + static NSScriptCommandDescription new1() { + final _ret = _objc_msgSend_2(_class_NSScriptCommandDescription, _sel_new); + return NSScriptCommandDescription._(_ret, retain: false, release: true); + } + + static NSScriptCommandDescription allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = _objc_msgSend_3( + _class_NSScriptCommandDescription, _sel_allocWithZone_, zone); + return NSScriptCommandDescription._(_ret, retain: false, release: true); + } + + static NSScriptCommandDescription alloc() { + final _ret = _objc_msgSend_2(_class_NSScriptCommandDescription, _sel_alloc); + return NSScriptCommandDescription._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSScriptCommandDescription1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSScriptCommandDescription1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSScriptCommandDescription1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSScriptCommandDescription1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSScriptCommandDescription1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSScriptCommandDescription1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSScriptCommandDescription, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); } - static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSScriptCommandDescription1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSScriptCommandDescription1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSScriptCommandDescription1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSScriptCommandDescription, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); + } + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12(_class_NSScriptCommandDescription, + _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12( + _class_NSScriptCommandDescription, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSScriptCommandDescription, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSScriptCommandDescription, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); } -} + + static void setKeys_triggerChangeNotificationsForDependentKey_( + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSScriptCommandDescription, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = _objc_msgSend_85( + _class_NSScriptCommandDescription, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = _objc_msgSend_2( + _class_NSScriptCommandDescription, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); + } +} + +late final _class_NSScriptCommandDescription = + objc.getClass("NSScriptCommandDescription"); +late final _sel_initWithSuiteName_commandName_dictionary_ = + objc.registerName("initWithSuiteName:commandName:dictionary:"); +late final _sel_commandName = objc.registerName("commandName"); +late final _sel_appleEventClassCode = objc.registerName("appleEventClassCode"); +late final _sel_commandClassName = objc.registerName("commandClassName"); +late final _sel_returnType = objc.registerName("returnType"); +late final _sel_appleEventCodeForReturnType = + objc.registerName("appleEventCodeForReturnType"); +late final _sel_argumentNames = objc.registerName("argumentNames"); +late final _sel_typeForArgumentWithName_ = + objc.registerName("typeForArgumentWithName:"); +late final _sel_appleEventCodeForArgumentWithName_ = + objc.registerName("appleEventCodeForArgumentWithName:"); +final _objc_msgSend_629 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.UnsignedInt Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer argumentName)>>() + .asFunction< + int Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_isOptionalArgumentWithName_ = + objc.registerName("isOptionalArgumentWithName:"); class NSScriptCommand extends NSObject { - NSScriptCommand._( - ffi.Pointer pointer, - AVFAudio lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSScriptCommand._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSScriptCommand] that points to the same underlying object as [other]. - static NSScriptCommand castFrom( - AVFAudio lib, - T other, - ) { - return NSScriptCommand._(other.pointer, lib, retain: true, release: true); + static NSScriptCommand castFrom(T other) { + return NSScriptCommand._(other.pointer, retain: true, release: true); } /// Returns a [NSScriptCommand] that wraps the given raw object pointer. - static NSScriptCommand castFromPointer( - AVFAudio lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSScriptCommand._(other, lib, retain: retain, release: release); + static NSScriptCommand castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSScriptCommand._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSScriptCommand]. - static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSScriptCommand1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0( + obj.pointer, _sel_isKindOfClass_, _class_NSScriptCommand); } NSScriptCommand initWithCommandDescription_( - NSScriptCommandDescription commandDef, - ) { - final _ret = _lib._objc_msgSend_630( - this.pointer, - _lib._sel_initWithCommandDescription_1, - commandDef.pointer, - ); - return NSScriptCommand._(_ret, _lib, retain: true, release: true); + NSScriptCommandDescription commandDef) { + final _ret = _objc_msgSend_630( + this.pointer, _sel_initWithCommandDescription_, commandDef.pointer); + return NSScriptCommand._(_ret, retain: true, release: true); } NSScriptCommand? initWithCoder_(NSCoder inCoder) { - final _ret = _lib._objc_msgSend_47( - this.pointer, - _lib._sel_initWithCoder_1, - inCoder.pointer, - ); + final _ret = + _objc_msgSend_47(this.pointer, _sel_initWithCoder_, inCoder.pointer); return _ret.address == 0 ? null - : NSScriptCommand._(_ret, _lib, retain: true, release: true); + : NSScriptCommand._(_ret, retain: true, release: true); } NSScriptCommandDescription get commandDescription { - final _ret = _lib._objc_msgSend_631( - this.pointer, - _lib._sel_commandDescription1, - ); - return NSScriptCommandDescription._( - _ret, - _lib, - retain: true, - release: true, - ); + final _ret = _objc_msgSend_631(this.pointer, _sel_commandDescription); + return NSScriptCommandDescription._(_ret, retain: true, release: true); } NSObject? get directParameter { - final _ret = _lib._objc_msgSend_17( - this.pointer, - _lib._sel_directParameter1, - ); + final _ret = _objc_msgSend_17(this.pointer, _sel_directParameter); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } set directParameter(NSObject? value) { - return _lib._objc_msgSend_416( - this.pointer, - _lib._sel_setDirectParameter_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_416( + this.pointer, _sel_setDirectParameter_, value?.pointer ?? ffi.nullptr); } NSScriptObjectSpecifier? get receiversSpecifier { - final _ret = _lib._objc_msgSend_632( - this.pointer, - _lib._sel_receiversSpecifier1, - ); + final _ret = _objc_msgSend_632(this.pointer, _sel_receiversSpecifier); return _ret.address == 0 ? null - : NSScriptObjectSpecifier._(_ret, _lib, retain: true, release: true); + : NSScriptObjectSpecifier._(_ret, retain: true, release: true); } set receiversSpecifier(NSScriptObjectSpecifier? value) { - return _lib._objc_msgSend_633( - this.pointer, - _lib._sel_setReceiversSpecifier_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_633(this.pointer, _sel_setReceiversSpecifier_, + value?.pointer ?? ffi.nullptr); } NSObject? get evaluatedReceivers { - final _ret = _lib._objc_msgSend_17( - this.pointer, - _lib._sel_evaluatedReceivers1, - ); + final _ret = _objc_msgSend_17(this.pointer, _sel_evaluatedReceivers); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } NSDictionary? get arguments { - final _ret = _lib._objc_msgSend_390(this.pointer, _lib._sel_arguments1); + final _ret = _objc_msgSend_390(this.pointer, _sel_arguments); return _ret.address == 0 ? null - : NSDictionary._(_ret, _lib, retain: true, release: true); + : NSDictionary._(_ret, retain: true, release: true); } set arguments(NSDictionary? value) { - return _lib._objc_msgSend_634( - this.pointer, - _lib._sel_setArguments_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_634( + this.pointer, _sel_setArguments_, value?.pointer ?? ffi.nullptr); } NSDictionary? get evaluatedArguments { - final _ret = _lib._objc_msgSend_390( - this.pointer, - _lib._sel_evaluatedArguments1, - ); + final _ret = _objc_msgSend_390(this.pointer, _sel_evaluatedArguments); return _ret.address == 0 ? null - : NSDictionary._(_ret, _lib, retain: true, release: true); + : NSDictionary._(_ret, retain: true, release: true); } bool get wellFormed { - return _lib._objc_msgSend_12(this.pointer, _lib._sel_isWellFormed1); + return _objc_msgSend_12(this.pointer, _sel_isWellFormed); } NSObject? performDefaultImplementation() { - final _ret = _lib._objc_msgSend_17( - this.pointer, - _lib._sel_performDefaultImplementation1, - ); + final _ret = + _objc_msgSend_17(this.pointer, _sel_performDefaultImplementation); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } NSObject? executeCommand() { - final _ret = _lib._objc_msgSend_17(this.pointer, _lib._sel_executeCommand1); + final _ret = _objc_msgSend_17(this.pointer, _sel_executeCommand); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } int get scriptErrorNumber { - return _lib._objc_msgSend_83(this.pointer, _lib._sel_scriptErrorNumber1); + return _objc_msgSend_83(this.pointer, _sel_scriptErrorNumber); } set scriptErrorNumber(int value) { - return _lib._objc_msgSend_635( - this.pointer, - _lib._sel_setScriptErrorNumber_1, - value, - ); + return _objc_msgSend_635(this.pointer, _sel_setScriptErrorNumber_, value); } NSAppleEventDescriptor? get scriptErrorOffendingObjectDescriptor { - final _ret = _lib._objc_msgSend_636( - this.pointer, - _lib._sel_scriptErrorOffendingObjectDescriptor1, - ); + final _ret = _objc_msgSend_636( + this.pointer, _sel_scriptErrorOffendingObjectDescriptor); return _ret.address == 0 ? null - : NSAppleEventDescriptor._(_ret, _lib, retain: true, release: true); + : NSAppleEventDescriptor._(_ret, retain: true, release: true); } set scriptErrorOffendingObjectDescriptor(NSAppleEventDescriptor? value) { - return _lib._objc_msgSend_637( - this.pointer, - _lib._sel_setScriptErrorOffendingObjectDescriptor_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_637( + this.pointer, + _sel_setScriptErrorOffendingObjectDescriptor_, + value?.pointer ?? ffi.nullptr); } NSAppleEventDescriptor? get scriptErrorExpectedTypeDescriptor { - final _ret = _lib._objc_msgSend_636( - this.pointer, - _lib._sel_scriptErrorExpectedTypeDescriptor1, - ); + final _ret = + _objc_msgSend_636(this.pointer, _sel_scriptErrorExpectedTypeDescriptor); return _ret.address == 0 ? null - : NSAppleEventDescriptor._(_ret, _lib, retain: true, release: true); + : NSAppleEventDescriptor._(_ret, retain: true, release: true); } set scriptErrorExpectedTypeDescriptor(NSAppleEventDescriptor? value) { - return _lib._objc_msgSend_637( - this.pointer, - _lib._sel_setScriptErrorExpectedTypeDescriptor_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_637( + this.pointer, + _sel_setScriptErrorExpectedTypeDescriptor_, + value?.pointer ?? ffi.nullptr); } NSString? get scriptErrorString { - final _ret = _lib._objc_msgSend_44( - this.pointer, - _lib._sel_scriptErrorString1, - ); + final _ret = _objc_msgSend_44(this.pointer, _sel_scriptErrorString); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } set scriptErrorString(NSString? value) { - return _lib._objc_msgSend_545( - this.pointer, - _lib._sel_setScriptErrorString_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_545(this.pointer, _sel_setScriptErrorString_, + value?.pointer ?? ffi.nullptr); } - static NSScriptCommand? currentCommand(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_638( - _lib._class_NSScriptCommand1, - _lib._sel_currentCommand1, - ); + static NSScriptCommand? currentCommand() { + final _ret = _objc_msgSend_638(_class_NSScriptCommand, _sel_currentCommand); return _ret.address == 0 ? null - : NSScriptCommand._(_ret, _lib, retain: true, release: true); + : NSScriptCommand._(_ret, retain: true, release: true); } NSAppleEventDescriptor? get appleEvent { - final _ret = _lib._objc_msgSend_636(this.pointer, _lib._sel_appleEvent1); + final _ret = _objc_msgSend_636(this.pointer, _sel_appleEvent); return _ret.address == 0 ? null - : NSAppleEventDescriptor._(_ret, _lib, retain: true, release: true); + : NSAppleEventDescriptor._(_ret, retain: true, release: true); } void suspendExecution() { - _lib._objc_msgSend_1(this.pointer, _lib._sel_suspendExecution1); + _objc_msgSend_1(this.pointer, _sel_suspendExecution); } void resumeExecutionWithResult_(NSObject? result) { - _lib._objc_msgSend_289( - this.pointer, - _lib._sel_resumeExecutionWithResult_1, - result?.pointer ?? ffi.nullptr, - ); + _objc_msgSend_289(this.pointer, _sel_resumeExecutionWithResult_, + result?.pointer ?? ffi.nullptr); } @override NSScriptCommand init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSScriptCommand._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSScriptCommand._(_ret, retain: true, release: true); } - static NSScriptCommand new1(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSScriptCommand1, - _lib._sel_new1, - ); - return NSScriptCommand._(_ret, _lib, retain: false, release: true); + static NSScriptCommand new1() { + final _ret = _objc_msgSend_2(_class_NSScriptCommand, _sel_new); + return NSScriptCommand._(_ret, retain: false, release: true); } - static NSScriptCommand allocWithZone_( - AVFAudio _lib, - ffi.Pointer<_NSZone> zone, - ) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSScriptCommand1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSScriptCommand._(_ret, _lib, retain: false, release: true); + static NSScriptCommand allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = + _objc_msgSend_3(_class_NSScriptCommand, _sel_allocWithZone_, zone); + return NSScriptCommand._(_ret, retain: false, release: true); } - static NSScriptCommand alloc(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSScriptCommand1, - _lib._sel_alloc1, - ); - return NSScriptCommand._(_ret, _lib, retain: false, release: true); + static NSScriptCommand alloc() { + final _ret = _objc_msgSend_2(_class_NSScriptCommand, _sel_alloc); + return NSScriptCommand._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSScriptCommand1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSScriptCommand1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSScriptCommand1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSScriptCommand1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSScriptCommand1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSScriptCommand1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSScriptCommand, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); } - static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSScriptCommand1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSScriptCommand1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSScriptCommand1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSScriptCommand, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); } -} + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSScriptCommand, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSScriptCommand, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSScriptCommand, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSScriptCommand, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); + } + + static void setKeys_triggerChangeNotificationsForDependentKey_( + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSScriptCommand, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = _objc_msgSend_85( + _class_NSScriptCommand, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = + _objc_msgSend_2(_class_NSScriptCommand, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); + } +} + +late final _class_NSScriptCommand = objc.getClass("NSScriptCommand"); +late final _sel_initWithCommandDescription_ = + objc.registerName("initWithCommandDescription:"); +final _objc_msgSend_630 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer commandDef)>>() + .asFunction< + instancetype Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_commandDescription = objc.registerName("commandDescription"); +final _objc_msgSend_631 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_directParameter = objc.registerName("directParameter"); +late final _sel_setDirectParameter_ = objc.registerName("setDirectParameter:"); +late final _sel_receiversSpecifier = objc.registerName("receiversSpecifier"); +final _objc_msgSend_632 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_setReceiversSpecifier_ = + objc.registerName("setReceiversSpecifier:"); +final _objc_msgSend_633 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_evaluatedReceivers = objc.registerName("evaluatedReceivers"); +late final _sel_arguments = objc.registerName("arguments"); +late final _sel_setArguments_ = objc.registerName("setArguments:"); +final _objc_msgSend_634 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_evaluatedArguments = objc.registerName("evaluatedArguments"); +late final _sel_isWellFormed = objc.registerName("isWellFormed"); +late final _sel_performDefaultImplementation = + objc.registerName("performDefaultImplementation"); +late final _sel_executeCommand = objc.registerName("executeCommand"); +late final _sel_scriptErrorNumber = objc.registerName("scriptErrorNumber"); +late final _sel_setScriptErrorNumber_ = + objc.registerName("setScriptErrorNumber:"); +final _objc_msgSend_635 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer obj, + ffi.Pointer sel, ffi.Long value)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, int)>(); +late final _sel_scriptErrorOffendingObjectDescriptor = + objc.registerName("scriptErrorOffendingObjectDescriptor"); +final _objc_msgSend_636 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_setScriptErrorOffendingObjectDescriptor_ = + objc.registerName("setScriptErrorOffendingObjectDescriptor:"); +final _objc_msgSend_637 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_scriptErrorExpectedTypeDescriptor = + objc.registerName("scriptErrorExpectedTypeDescriptor"); +late final _sel_setScriptErrorExpectedTypeDescriptor_ = + objc.registerName("setScriptErrorExpectedTypeDescriptor:"); +late final _sel_scriptErrorString = objc.registerName("scriptErrorString"); +late final _sel_setScriptErrorString_ = + objc.registerName("setScriptErrorString:"); +late final _sel_currentCommand = objc.registerName("currentCommand"); +final _objc_msgSend_638 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_appleEvent = objc.registerName("appleEvent"); +late final _sel_suspendExecution = objc.registerName("suspendExecution"); +late final _sel_resumeExecutionWithResult_ = + objc.registerName("resumeExecutionWithResult:"); +late final _sel_createCommandInstance = + objc.registerName("createCommandInstance"); +final _objc_msgSend_639 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_createCommandInstanceWithZone_ = + objc.registerName("createCommandInstanceWithZone:"); +final _objc_msgSend_640 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer<_NSZone> zone)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer<_NSZone>)>(); +late final _sel_supportsCommand_ = objc.registerName("supportsCommand:"); +final _objc_msgSend_641 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer commandDescription)>>() + .asFunction< + bool Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_selectorForCommand_ = objc.registerName("selectorForCommand:"); +final _objc_msgSend_642 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer commandDescription)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_typeForKey_ = objc.registerName("typeForKey:"); +late final _sel_classDescriptionForKey_ = + objc.registerName("classDescriptionForKey:"); +final _objc_msgSend_643 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer key)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_appleEventCodeForKey_ = + objc.registerName("appleEventCodeForKey:"); +late final _sel_keyWithAppleEventCode_ = + objc.registerName("keyWithAppleEventCode:"); +final _objc_msgSend_644 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.UnsignedInt appleEventCode)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, int)>(); +late final _sel_defaultSubcontainerAttributeKey = + objc.registerName("defaultSubcontainerAttributeKey"); +late final _sel_isLocationRequiredToCreateForKey_ = + objc.registerName("isLocationRequiredToCreateForKey:"); +late final _sel_hasPropertyForKey_ = objc.registerName("hasPropertyForKey:"); +late final _sel_hasOrderedToManyRelationshipForKey_ = + objc.registerName("hasOrderedToManyRelationshipForKey:"); +late final _sel_hasReadablePropertyForKey_ = + objc.registerName("hasReadablePropertyForKey:"); +late final _sel_hasWritablePropertyForKey_ = + objc.registerName("hasWritablePropertyForKey:"); +late final _sel_isReadOnlyKey_ = objc.registerName("isReadOnlyKey:"); +late final _sel_initWithContainerClassDescription_containerSpecifier_key_ = objc + .registerName("initWithContainerClassDescription:containerSpecifier:key:"); +final _objc_msgSend_645 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer classDesc, + ffi.Pointer container, + ffi.Pointer property)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_childSpecifier = objc.registerName("childSpecifier"); +late final _sel_setChildSpecifier_ = objc.registerName("setChildSpecifier:"); +late final _sel_containerSpecifier = objc.registerName("containerSpecifier"); +late final _sel_setContainerSpecifier_ = + objc.registerName("setContainerSpecifier:"); +late final _sel_containerIsObjectBeingTested = + objc.registerName("containerIsObjectBeingTested"); +late final _sel_setContainerIsObjectBeingTested_ = + objc.registerName("setContainerIsObjectBeingTested:"); +late final _sel_containerIsRangeContainerObject = + objc.registerName("containerIsRangeContainerObject"); +late final _sel_setContainerIsRangeContainerObject_ = + objc.registerName("setContainerIsRangeContainerObject:"); +late final _sel_key = objc.registerName("key"); +late final _sel_setKey_ = objc.registerName("setKey:"); +final _objc_msgSend_646 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_containerClassDescription = + objc.registerName("containerClassDescription"); +late final _sel_setContainerClassDescription_ = + objc.registerName("setContainerClassDescription:"); +final _objc_msgSend_647 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_keyClassDescription = objc.registerName("keyClassDescription"); +late final _sel_indicesOfObjectsByEvaluatingWithContainer_count_ = + objc.registerName("indicesOfObjectsByEvaluatingWithContainer:count:"); +final _objc_msgSend_648 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer container, + ffi.Pointer count)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_objectsByEvaluatingWithContainers_ = + objc.registerName("objectsByEvaluatingWithContainers:"); +late final _sel_objectsByEvaluatingSpecifier = + objc.registerName("objectsByEvaluatingSpecifier"); +late final _sel_evaluationErrorNumber = + objc.registerName("evaluationErrorNumber"); +late final _sel_setEvaluationErrorNumber_ = + objc.registerName("setEvaluationErrorNumber:"); +late final _sel_evaluationErrorSpecifier = + objc.registerName("evaluationErrorSpecifier"); +late final _sel_descriptor = objc.registerName("descriptor"); +late final _sel_scriptingValueForSpecifier_ = + objc.registerName("scriptingValueForSpecifier:"); +final _objc_msgSend_649 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer objectSpecifier)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_scriptingProperties = objc.registerName("scriptingProperties"); +late final _sel_setScriptingProperties_ = + objc.registerName("setScriptingProperties:"); +late final _sel_copyScriptingValue_forKey_withProperties_ = + objc.registerName("copyScriptingValue:forKey:withProperties:"); +final _objc_msgSend_650 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value, + ffi.Pointer key, + ffi.Pointer properties)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_newScriptingObjectOfClass_forValueForKey_withContentsValue_properties_ = + objc.registerName( + "newScriptingObjectOfClass:forValueForKey:withContentsValue:properties:"); +final _objc_msgSend_651 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer objectClass, + ffi.Pointer key, + ffi.Pointer contentsValue, + ffi.Pointer properties)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_classCode = objc.registerName("classCode"); +late final _sel_valueAtIndex_inPropertyWithKey_ = + objc.registerName("valueAtIndex:inPropertyWithKey:"); +final _objc_msgSend_652 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.UnsignedLong index, + ffi.Pointer key)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer)>(); +late final _sel_valueWithName_inPropertyWithKey_ = + objc.registerName("valueWithName:inPropertyWithKey:"); +late final _sel_valueWithUniqueID_inPropertyWithKey_ = + objc.registerName("valueWithUniqueID:inPropertyWithKey:"); +late final _sel_insertValue_atIndex_inPropertyWithKey_ = + objc.registerName("insertValue:atIndex:inPropertyWithKey:"); +final _objc_msgSend_653 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value, + ffi.UnsignedLong index, + ffi.Pointer key)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer)>(); +late final _sel_removeValueAtIndex_fromPropertyWithKey_ = + objc.registerName("removeValueAtIndex:fromPropertyWithKey:"); +final _objc_msgSend_654 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.UnsignedLong index, + ffi.Pointer key)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer)>(); +late final _sel_replaceValueAtIndex_inPropertyWithKey_withValue_ = + objc.registerName("replaceValueAtIndex:inPropertyWithKey:withValue:"); +final _objc_msgSend_655 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.UnsignedLong index, + ffi.Pointer key, + ffi.Pointer value)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_insertValue_inPropertyWithKey_ = + objc.registerName("insertValue:inPropertyWithKey:"); +final _objc_msgSend_656 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value, + ffi.Pointer key)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_coerceValue_forKey_ = objc.registerName("coerceValue:forKey:"); +final _objc_msgSend_657 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value, + ffi.Pointer key)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_objectSpecifier = objc.registerName("objectSpecifier"); +late final _sel_indicesOfObjectsByEvaluatingObjectSpecifier_ = + objc.registerName("indicesOfObjectsByEvaluatingObjectSpecifier:"); +final _objc_msgSend_658 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer specifier)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_isEqualTo_ = objc.registerName("isEqualTo:"); +late final _sel_isLessThanOrEqualTo_ = + objc.registerName("isLessThanOrEqualTo:"); +late final _sel_isLessThan_ = objc.registerName("isLessThan:"); +late final _sel_isGreaterThanOrEqualTo_ = + objc.registerName("isGreaterThanOrEqualTo:"); +late final _sel_isGreaterThan_ = objc.registerName("isGreaterThan:"); +late final _sel_isNotEqualTo_ = objc.registerName("isNotEqualTo:"); +late final _sel_doesContain_ = objc.registerName("doesContain:"); +late final _sel_isLike_ = objc.registerName("isLike:"); +late final _sel_isCaseInsensitiveLike_ = + objc.registerName("isCaseInsensitiveLike:"); +late final _sel_scriptingIsEqualTo_ = objc.registerName("scriptingIsEqualTo:"); +late final _sel_scriptingIsLessThanOrEqualTo_ = + objc.registerName("scriptingIsLessThanOrEqualTo:"); +late final _sel_scriptingIsLessThan_ = + objc.registerName("scriptingIsLessThan:"); +late final _sel_scriptingIsGreaterThanOrEqualTo_ = + objc.registerName("scriptingIsGreaterThanOrEqualTo:"); +late final _sel_scriptingIsGreaterThan_ = + objc.registerName("scriptingIsGreaterThan:"); +late final _sel_scriptingBeginsWith_ = + objc.registerName("scriptingBeginsWith:"); +late final _sel_scriptingEndsWith_ = objc.registerName("scriptingEndsWith:"); +late final _sel_scriptingContains_ = objc.registerName("scriptingContains:"); class NSItemProvider extends NSObject { - NSItemProvider._( - ffi.Pointer pointer, - AVFAudio lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSItemProvider._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSItemProvider] that points to the same underlying object as [other]. - static NSItemProvider castFrom( - AVFAudio lib, - T other, - ) { - return NSItemProvider._(other.pointer, lib, retain: true, release: true); + static NSItemProvider castFrom(T other) { + return NSItemProvider._(other.pointer, retain: true, release: true); } /// Returns a [NSItemProvider] that wraps the given raw object pointer. - static NSItemProvider castFromPointer( - AVFAudio lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSItemProvider._(other, lib, retain: retain, release: release); + static NSItemProvider castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSItemProvider._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSItemProvider]. - static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSItemProvider1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0( + obj.pointer, _sel_isKindOfClass_, _class_NSItemProvider); } @override NSItemProvider init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSItemProvider._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSItemProvider._(_ret, retain: true, release: true); } void registerDataRepresentationForTypeIdentifier_visibility_loadHandler_( - NSString typeIdentifier, - int visibility, - ObjCBlock_NSProgress_ffiVoidNSDataNSError loadHandler, - ) { - _lib._objc_msgSend_673( - this.pointer, - _lib._sel_registerDataRepresentationForTypeIdentifier_visibility_loadHandler_1, - typeIdentifier.pointer, - visibility, - loadHandler.pointer, - ); + NSString typeIdentifier, + int visibility, + ObjCBlock_NSProgress_ffiVoidNSDataNSError loadHandler) { + _objc_msgSend_673( + this.pointer, + _sel_registerDataRepresentationForTypeIdentifier_visibility_loadHandler_, + typeIdentifier.pointer, + visibility, + loadHandler.pointer); } void registerFileRepresentationForTypeIdentifier_fileOptions_visibility_loadHandler_( - NSString typeIdentifier, - int fileOptions, - int visibility, - ObjCBlock_NSProgress_ffiVoidNSURLboolNSError loadHandler, - ) { - _lib._objc_msgSend_674( - this.pointer, - _lib._sel_registerFileRepresentationForTypeIdentifier_fileOptions_visibility_loadHandler_1, - typeIdentifier.pointer, - fileOptions, - visibility, - loadHandler.pointer, - ); + NSString typeIdentifier, + int fileOptions, + int visibility, + ObjCBlock_NSProgress_ffiVoidNSURLboolNSError loadHandler) { + _objc_msgSend_674( + this.pointer, + _sel_registerFileRepresentationForTypeIdentifier_fileOptions_visibility_loadHandler_, + typeIdentifier.pointer, + fileOptions, + visibility, + loadHandler.pointer); } NSArray get registeredTypeIdentifiers { - final _ret = _lib._objc_msgSend_85( - this.pointer, - _lib._sel_registeredTypeIdentifiers1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_85(this.pointer, _sel_registeredTypeIdentifiers); + return NSArray._(_ret, retain: true, release: true); } NSArray registeredTypeIdentifiersWithFileOptions_(int fileOptions) { - final _ret = _lib._objc_msgSend_675( - this.pointer, - _lib._sel_registeredTypeIdentifiersWithFileOptions_1, - fileOptions, - ); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_675(this.pointer, + _sel_registeredTypeIdentifiersWithFileOptions_, fileOptions); + return NSArray._(_ret, retain: true, release: true); } bool hasItemConformingToTypeIdentifier_(NSString typeIdentifier) { - return _lib._objc_msgSend_64( - this.pointer, - _lib._sel_hasItemConformingToTypeIdentifier_1, - typeIdentifier.pointer, - ); + return _objc_msgSend_64(this.pointer, + _sel_hasItemConformingToTypeIdentifier_, typeIdentifier.pointer); } bool hasRepresentationConformingToTypeIdentifier_fileOptions_( - NSString typeIdentifier, - int fileOptions, - ) { - return _lib._objc_msgSend_676( - this.pointer, - _lib._sel_hasRepresentationConformingToTypeIdentifier_fileOptions_1, - typeIdentifier.pointer, - fileOptions, - ); + NSString typeIdentifier, int fileOptions) { + return _objc_msgSend_676( + this.pointer, + _sel_hasRepresentationConformingToTypeIdentifier_fileOptions_, + typeIdentifier.pointer, + fileOptions); } NSProgress loadDataRepresentationForTypeIdentifier_completionHandler_( - NSString typeIdentifier, - ObjCBlock_ffiVoid_NSData_NSError completionHandler, - ) { - final _ret = _lib._objc_msgSend_677( - this.pointer, - _lib._sel_loadDataRepresentationForTypeIdentifier_completionHandler_1, - typeIdentifier.pointer, - completionHandler.pointer, - ); - return NSProgress._(_ret, _lib, retain: true, release: true); + NSString typeIdentifier, + ObjCBlock_ffiVoid_NSData_NSError completionHandler) { + final _ret = _objc_msgSend_677( + this.pointer, + _sel_loadDataRepresentationForTypeIdentifier_completionHandler_, + typeIdentifier.pointer, + completionHandler.pointer); + return NSProgress._(_ret, retain: true, release: true); } NSProgress loadFileRepresentationForTypeIdentifier_completionHandler_( - NSString typeIdentifier, - ObjCBlock_ffiVoid_NSURL_NSError completionHandler, - ) { - final _ret = _lib._objc_msgSend_678( - this.pointer, - _lib._sel_loadFileRepresentationForTypeIdentifier_completionHandler_1, - typeIdentifier.pointer, - completionHandler.pointer, - ); - return NSProgress._(_ret, _lib, retain: true, release: true); + NSString typeIdentifier, + ObjCBlock_ffiVoid_NSURL_NSError completionHandler) { + final _ret = _objc_msgSend_678( + this.pointer, + _sel_loadFileRepresentationForTypeIdentifier_completionHandler_, + typeIdentifier.pointer, + completionHandler.pointer); + return NSProgress._(_ret, retain: true, release: true); } NSProgress loadInPlaceFileRepresentationForTypeIdentifier_completionHandler_( - NSString typeIdentifier, - ObjCBlock_ffiVoid_NSURL_bool_NSError completionHandler, - ) { - final _ret = _lib._objc_msgSend_679( - this.pointer, - _lib._sel_loadInPlaceFileRepresentationForTypeIdentifier_completionHandler_1, - typeIdentifier.pointer, - completionHandler.pointer, - ); - return NSProgress._(_ret, _lib, retain: true, release: true); + NSString typeIdentifier, + ObjCBlock_ffiVoid_NSURL_bool_NSError completionHandler) { + final _ret = _objc_msgSend_679( + this.pointer, + _sel_loadInPlaceFileRepresentationForTypeIdentifier_completionHandler_, + typeIdentifier.pointer, + completionHandler.pointer); + return NSProgress._(_ret, retain: true, release: true); } NSString? get suggestedName { - final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_suggestedName1); + final _ret = _objc_msgSend_44(this.pointer, _sel_suggestedName); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } set suggestedName(NSString? value) { - return _lib._objc_msgSend_545( - this.pointer, - _lib._sel_setSuggestedName_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_545( + this.pointer, _sel_setSuggestedName_, value?.pointer ?? ffi.nullptr); } NSItemProvider initWithObject_(NSObject object) { - final _ret = _lib._objc_msgSend_124( - this.pointer, - _lib._sel_initWithObject_1, - object.pointer, - ); - return NSItemProvider._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_124(this.pointer, _sel_initWithObject_, object.pointer); + return NSItemProvider._(_ret, retain: true, release: true); } void registerObject_visibility_(NSObject object, int visibility) { - _lib._objc_msgSend_680( - this.pointer, - _lib._sel_registerObject_visibility_1, - object.pointer, - visibility, - ); + _objc_msgSend_680(this.pointer, _sel_registerObject_visibility_, + object.pointer, visibility); } void registerObjectOfClass_visibility_loadHandler_( - NSObject aClass, - int visibility, - ObjCBlock_NSProgress_ffiVoidobjcObjCObjectNSError loadHandler, - ) { - _lib._objc_msgSend_681( - this.pointer, - _lib._sel_registerObjectOfClass_visibility_loadHandler_1, - aClass.pointer, - visibility, - loadHandler.pointer, - ); + NSObject aClass, + int visibility, + ObjCBlock_NSProgress_ffiVoidobjcObjCObjectNSError loadHandler) { + _objc_msgSend_681( + this.pointer, + _sel_registerObjectOfClass_visibility_loadHandler_, + aClass.pointer, + visibility, + loadHandler.pointer); } bool canLoadObjectOfClass_(NSObject aClass) { - return _lib._objc_msgSend_0( - this.pointer, - _lib._sel_canLoadObjectOfClass_1, - aClass.pointer, - ); - } - - NSProgress loadObjectOfClass_completionHandler_( - NSObject aClass, - ObjCBlock_ffiVoid_objcObjCObject_NSError completionHandler, - ) { - final _ret = _lib._objc_msgSend_682( - this.pointer, - _lib._sel_loadObjectOfClass_completionHandler_1, - aClass.pointer, - completionHandler.pointer, - ); - return NSProgress._(_ret, _lib, retain: true, release: true); + return _objc_msgSend_0( + this.pointer, _sel_canLoadObjectOfClass_, aClass.pointer); + } + + NSProgress loadObjectOfClass_completionHandler_(NSObject aClass, + ObjCBlock_ffiVoid_objcObjCObject_NSError completionHandler) { + final _ret = _objc_msgSend_682( + this.pointer, + _sel_loadObjectOfClass_completionHandler_, + aClass.pointer, + completionHandler.pointer); + return NSProgress._(_ret, retain: true, release: true); } NSItemProvider initWithItem_typeIdentifier_( - NSObject? item, - NSString? typeIdentifier, - ) { - final _ret = _lib._objc_msgSend_683( - this.pointer, - _lib._sel_initWithItem_typeIdentifier_1, - item?.pointer ?? ffi.nullptr, - typeIdentifier?.pointer ?? ffi.nullptr, - ); - return NSItemProvider._(_ret, _lib, retain: true, release: true); + NSObject? item, NSString? typeIdentifier) { + final _ret = _objc_msgSend_683( + this.pointer, + _sel_initWithItem_typeIdentifier_, + item?.pointer ?? ffi.nullptr, + typeIdentifier?.pointer ?? ffi.nullptr); + return NSItemProvider._(_ret, retain: true, release: true); } NSItemProvider? initWithContentsOfURL_(NSURL fileURL) { - final _ret = _lib._objc_msgSend_277( - this.pointer, - _lib._sel_initWithContentsOfURL_1, - fileURL.pointer, - ); + final _ret = _objc_msgSend_277( + this.pointer, _sel_initWithContentsOfURL_, fileURL.pointer); return _ret.address == 0 ? null - : NSItemProvider._(_ret, _lib, retain: true, release: true); + : NSItemProvider._(_ret, retain: true, release: true); } void registerItemForTypeIdentifier_loadHandler_( - NSString typeIdentifier, - ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary - loadHandler, - ) { - _lib._objc_msgSend_684( - this.pointer, - _lib._sel_registerItemForTypeIdentifier_loadHandler_1, - typeIdentifier.pointer, - loadHandler.pointer, - ); + NSString typeIdentifier, + ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary + loadHandler) { + _objc_msgSend_684( + this.pointer, + _sel_registerItemForTypeIdentifier_loadHandler_, + typeIdentifier.pointer, + loadHandler.pointer); } void loadItemForTypeIdentifier_options_completionHandler_( - NSString typeIdentifier, - NSDictionary? options, - ObjCBlock_ffiVoid_objcObjCObject_NSError1? completionHandler, - ) { - _lib._objc_msgSend_685( - this.pointer, - _lib._sel_loadItemForTypeIdentifier_options_completionHandler_1, - typeIdentifier.pointer, - options?.pointer ?? ffi.nullptr, - completionHandler?.pointer ?? ffi.nullptr, - ); + NSString typeIdentifier, + NSDictionary? options, + ObjCBlock_ffiVoid_objcObjCObject_NSError1? completionHandler) { + _objc_msgSend_685( + this.pointer, + _sel_loadItemForTypeIdentifier_options_completionHandler_, + typeIdentifier.pointer, + options?.pointer ?? ffi.nullptr, + completionHandler?.pointer ?? ffi.nullptr); } ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary? get previewImageHandler { - final _ret = _lib._objc_msgSend_686( - this.pointer, - _lib._sel_previewImageHandler1, - ); + final _ret = _objc_msgSend_686(this.pointer, _sel_previewImageHandler); return _ret.address == 0 ? null : ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary - ._( - _ret, - _lib, - retain: true, - release: true, - ); + ._(_ret, retain: true, release: true); } set previewImageHandler( - ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary? - value, - ) { - return _lib._objc_msgSend_687( - this.pointer, - _lib._sel_setPreviewImageHandler_1, - value?.pointer ?? ffi.nullptr, - ); - } - - void loadPreviewImageWithOptions_completionHandler_( - NSDictionary options, - ObjCBlock_ffiVoid_objcObjCObject_NSError1 completionHandler, - ) { - _lib._objc_msgSend_688( - this.pointer, - _lib._sel_loadPreviewImageWithOptions_completionHandler_1, - options.pointer, - completionHandler.pointer, - ); - } - - static NSItemProvider new1(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSItemProvider1, - _lib._sel_new1, - ); - return NSItemProvider._(_ret, _lib, retain: false, release: true); - } - - static NSItemProvider allocWithZone_( - AVFAudio _lib, - ffi.Pointer<_NSZone> zone, - ) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSItemProvider1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSItemProvider._(_ret, _lib, retain: false, release: true); - } - - static NSItemProvider alloc(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSItemProvider1, - _lib._sel_alloc1, - ); - return NSItemProvider._(_ret, _lib, retain: false, release: true); + ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary? + value) { + return _objc_msgSend_687(this.pointer, _sel_setPreviewImageHandler_, + value?.pointer ?? ffi.nullptr); + } + + void loadPreviewImageWithOptions_completionHandler_(NSDictionary options, + ObjCBlock_ffiVoid_objcObjCObject_NSError1 completionHandler) { + _objc_msgSend_688( + this.pointer, + _sel_loadPreviewImageWithOptions_completionHandler_, + options.pointer, + completionHandler.pointer); + } + + static NSItemProvider new1() { + final _ret = _objc_msgSend_2(_class_NSItemProvider, _sel_new); + return NSItemProvider._(_ret, retain: false, release: true); + } + + static NSItemProvider allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = + _objc_msgSend_3(_class_NSItemProvider, _sel_allocWithZone_, zone); + return NSItemProvider._(_ret, retain: false, release: true); + } + + static NSItemProvider alloc() { + final _ret = _objc_msgSend_2(_class_NSItemProvider, _sel_alloc); + return NSItemProvider._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSItemProvider1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSItemProvider1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSItemProvider1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSItemProvider1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSItemProvider1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSItemProvider1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSItemProvider, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); + } + + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSItemProvider, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); + } + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSItemProvider, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSItemProvider, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSItemProvider, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSItemProvider, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); } static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSItemProvider1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSItemProvider1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSItemProvider1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSItemProvider, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = _objc_msgSend_85( + _class_NSItemProvider, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = + _objc_msgSend_2(_class_NSItemProvider, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); } } +late final _class_NSItemProvider = objc.getClass("NSItemProvider"); + abstract class NSItemProviderRepresentationVisibility { static const int NSItemProviderRepresentationVisibilityAll = 0; static const int NSItemProviderRepresentationVisibilityTeam = 1; @@ -65122,12 +30392,12 @@ abstract class NSItemProviderRepresentationVisibility { ffi.Pointer _ObjCBlock_NSProgress_ffiVoidNSDataNSError_fnPtrTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, -) => + ffi.Pointer block, + ffi.Pointer arg0) => block.ref.target .cast< - ffi.NativeFunction< + ffi + .NativeFunction< ffi.Pointer Function( ffi.Pointer arg0)>>() .asFunction< @@ -65138,8 +30408,7 @@ final _ObjCBlock_NSProgress_ffiVoidNSDataNSError_closureRegistry = int _ObjCBlock_NSProgress_ffiVoidNSDataNSError_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_NSProgress_ffiVoidNSDataNSError_registerClosure( - ffi.Pointer Function(ffi.Pointer) fn, -) { + ffi.Pointer Function(ffi.Pointer) fn) { final id = ++_ObjCBlock_NSProgress_ffiVoidNSDataNSError_closureRegistryIndex; _ObjCBlock_NSProgress_ffiVoidNSDataNSError_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); @@ -65147,35 +30416,25 @@ ffi.Pointer ffi.Pointer _ObjCBlock_NSProgress_ffiVoidNSDataNSError_closureTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, -) => + ffi.Pointer block, + ffi.Pointer arg0) => _ObjCBlock_NSProgress_ffiVoidNSDataNSError_closureRegistry[ block.ref.target.address]!(arg0); class ObjCBlock_NSProgress_ffiVoidNSDataNSError extends objc.ObjCBlockBase { ObjCBlock_NSProgress_ffiVoidNSDataNSError._( - ffi.Pointer pointer, - this._lib, { - bool retain = false, - bool release = true, - }) : super(pointer, retain: retain, release: release); - - AVFAudio _lib; + ffi.Pointer pointer, + {bool retain = false, + bool release = true}) + : super(pointer, retain: retain, release: release); /// Returns a block that wraps the given raw block pointer. static ObjCBlock_NSProgress_ffiVoidNSDataNSError castFromPointer( - AVFAudio lib, - ffi.Pointer pointer, { - bool retain = false, - bool release = false, - }) { - return ObjCBlock_NSProgress_ffiVoidNSDataNSError._( - pointer, - lib, - retain: retain, - release: release, - ); + ffi.Pointer pointer, + {bool retain = false, + bool release = false}) { + return ObjCBlock_NSProgress_ffiVoidNSDataNSError._(pointer, + retain: retain, release: release); } /// Creates a block from a C function pointer. @@ -65184,24 +30443,19 @@ class ObjCBlock_NSProgress_ffiVoidNSDataNSError extends objc.ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_NSProgress_ffiVoidNSDataNSError.fromFunctionPointer( - AVFAudio lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer arg0)>> - ptr, - ) : this._( - objc.newBlock( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Pointer< + ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>( - _ObjCBlock_NSProgress_ffiVoidNSDataNSError_fnPtrTrampoline, - ).cast(), - ptr.cast(), - ), - lib); + ffi.Pointer arg0)>> + ptr) + : this._(objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer)>( + _ObjCBlock_NSProgress_ffiVoidNSDataNSError_fnPtrTrampoline) + .cast(), + ptr.cast())); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -65210,649 +30464,656 @@ class ObjCBlock_NSProgress_ffiVoidNSDataNSError extends objc.ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_NSProgress_ffiVoidNSDataNSError.fromFunction( - AVFAudio lib, - NSProgress? Function(ObjCBlock_ffiVoid_NSData_NSError) fn, - ) : this._( - objc.newBlock( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>( - _ObjCBlock_NSProgress_ffiVoidNSDataNSError_closureTrampoline, - ).cast(), - _ObjCBlock_NSProgress_ffiVoidNSDataNSError_registerClosure(( - ffi.Pointer arg0, - ) => - fn(ObjCBlock_ffiVoid_NSData_NSError._( - arg0, - lib, - retain: true, - release: true, - ))?.retainAndReturnPointer() ?? - ffi.nullptr), - ), - lib); + NSProgress? Function(ObjCBlock_ffiVoid_NSData_NSError) fn) + : this._(objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer)>( + _ObjCBlock_NSProgress_ffiVoidNSDataNSError_closureTrampoline) + .cast(), + _ObjCBlock_NSProgress_ffiVoidNSDataNSError_registerClosure( + (ffi.Pointer arg0) => + fn(ObjCBlock_ffiVoid_NSData_NSError._(arg0, retain: true, release: true)) + ?.retainAndReturnPointer() ?? + ffi.nullptr))); static ffi.Pointer? _dartFuncTrampoline; NSProgress? call(ObjCBlock_ffiVoid_NSData_NSError arg0) => pointer.ref.invoke .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer block, - ffi.Pointer arg0, - )>>() - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>()(pointer, arg0.pointer) + ffi.Pointer block, + ffi.Pointer arg0)>>() + .asFunction Function(ffi.Pointer, ffi.Pointer)>() + (pointer, arg0.pointer) .address == 0 ? null : NSProgress._( - pointer.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer block, - ffi.Pointer arg0, - )>>() - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>()(pointer, arg0.pointer), - _lib, + pointer.ref.invoke.cast Function(ffi.Pointer block, ffi.Pointer arg0)>>().asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>()(pointer, arg0.pointer), retain: false, release: true); } class NSProgress extends NSObject { - NSProgress._( - ffi.Pointer pointer, - AVFAudio lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSProgress._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSProgress] that points to the same underlying object as [other]. - static NSProgress castFrom( - AVFAudio lib, - T other, - ) { - return NSProgress._(other.pointer, lib, retain: true, release: true); + static NSProgress castFrom(T other) { + return NSProgress._(other.pointer, retain: true, release: true); } /// Returns a [NSProgress] that wraps the given raw object pointer. - static NSProgress castFromPointer( - AVFAudio lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSProgress._(other, lib, retain: retain, release: release); + static NSProgress castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSProgress._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSProgress]. - static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSProgress1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0(obj.pointer, _sel_isKindOfClass_, _class_NSProgress); } - static NSProgress? currentProgress(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_659( - _lib._class_NSProgress1, - _lib._sel_currentProgress1, - ); + static NSProgress? currentProgress() { + final _ret = _objc_msgSend_659(_class_NSProgress, _sel_currentProgress); return _ret.address == 0 ? null - : NSProgress._(_ret, _lib, retain: true, release: true); + : NSProgress._(_ret, retain: true, release: true); } - static NSProgress progressWithTotalUnitCount_(AVFAudio _lib, int unitCount) { - final _ret = _lib._objc_msgSend_660( - _lib._class_NSProgress1, - _lib._sel_progressWithTotalUnitCount_1, - unitCount, - ); - return NSProgress._(_ret, _lib, retain: true, release: true); + static NSProgress progressWithTotalUnitCount_(int unitCount) { + final _ret = _objc_msgSend_660( + _class_NSProgress, _sel_progressWithTotalUnitCount_, unitCount); + return NSProgress._(_ret, retain: true, release: true); } - static NSProgress discreteProgressWithTotalUnitCount_( - AVFAudio _lib, - int unitCount, - ) { - final _ret = _lib._objc_msgSend_660( - _lib._class_NSProgress1, - _lib._sel_discreteProgressWithTotalUnitCount_1, - unitCount, - ); - return NSProgress._(_ret, _lib, retain: true, release: true); + static NSProgress discreteProgressWithTotalUnitCount_(int unitCount) { + final _ret = _objc_msgSend_660( + _class_NSProgress, _sel_discreteProgressWithTotalUnitCount_, unitCount); + return NSProgress._(_ret, retain: true, release: true); } static NSProgress progressWithTotalUnitCount_parent_pendingUnitCount_( - AVFAudio _lib, - int unitCount, - NSProgress parent, - int portionOfParentTotalUnitCount, - ) { - final _ret = _lib._objc_msgSend_661( - _lib._class_NSProgress1, - _lib._sel_progressWithTotalUnitCount_parent_pendingUnitCount_1, - unitCount, - parent.pointer, - portionOfParentTotalUnitCount, - ); - return NSProgress._(_ret, _lib, retain: true, release: true); + int unitCount, NSProgress parent, int portionOfParentTotalUnitCount) { + final _ret = _objc_msgSend_661( + _class_NSProgress, + _sel_progressWithTotalUnitCount_parent_pendingUnitCount_, + unitCount, + parent.pointer, + portionOfParentTotalUnitCount); + return NSProgress._(_ret, retain: true, release: true); } NSProgress initWithParent_userInfo_( - NSProgress? parentProgressOrNil, - NSObject? userInfoOrNil, - ) { - final _ret = _lib._objc_msgSend_662( - this.pointer, - _lib._sel_initWithParent_userInfo_1, - parentProgressOrNil?.pointer ?? ffi.nullptr, - userInfoOrNil?.pointer ?? ffi.nullptr, - ); - return NSProgress._(_ret, _lib, retain: true, release: true); + NSProgress? parentProgressOrNil, NSObject? userInfoOrNil) { + final _ret = _objc_msgSend_662( + this.pointer, + _sel_initWithParent_userInfo_, + parentProgressOrNil?.pointer ?? ffi.nullptr, + userInfoOrNil?.pointer ?? ffi.nullptr); + return NSProgress._(_ret, retain: true, release: true); } void becomeCurrentWithPendingUnitCount_(int unitCount) { - _lib._objc_msgSend_663( - this.pointer, - _lib._sel_becomeCurrentWithPendingUnitCount_1, - unitCount, - ); + _objc_msgSend_663( + this.pointer, _sel_becomeCurrentWithPendingUnitCount_, unitCount); } void performAsCurrentWithPendingUnitCount_usingBlock_( - int unitCount, - ObjCBlock_ffiVoid work, - ) { - _lib._objc_msgSend_664( - this.pointer, - _lib._sel_performAsCurrentWithPendingUnitCount_usingBlock_1, - unitCount, - work.pointer, - ); + int unitCount, ObjCBlock_ffiVoid work) { + _objc_msgSend_664( + this.pointer, + _sel_performAsCurrentWithPendingUnitCount_usingBlock_, + unitCount, + work.pointer); } void resignCurrent() { - _lib._objc_msgSend_1(this.pointer, _lib._sel_resignCurrent1); + _objc_msgSend_1(this.pointer, _sel_resignCurrent); } void addChild_withPendingUnitCount_(NSProgress child, int inUnitCount) { - _lib._objc_msgSend_665( - this.pointer, - _lib._sel_addChild_withPendingUnitCount_1, - child.pointer, - inUnitCount, - ); + _objc_msgSend_665(this.pointer, _sel_addChild_withPendingUnitCount_, + child.pointer, inUnitCount); } int get totalUnitCount { - return _lib._objc_msgSend_666(this.pointer, _lib._sel_totalUnitCount1); + return _objc_msgSend_666(this.pointer, _sel_totalUnitCount); } set totalUnitCount(int value) { - return _lib._objc_msgSend_667( - this.pointer, - _lib._sel_setTotalUnitCount_1, - value, - ); + return _objc_msgSend_667(this.pointer, _sel_setTotalUnitCount_, value); } int get completedUnitCount { - return _lib._objc_msgSend_666(this.pointer, _lib._sel_completedUnitCount1); + return _objc_msgSend_666(this.pointer, _sel_completedUnitCount); } set completedUnitCount(int value) { - return _lib._objc_msgSend_667( - this.pointer, - _lib._sel_setCompletedUnitCount_1, - value, - ); + return _objc_msgSend_667(this.pointer, _sel_setCompletedUnitCount_, value); } NSString get localizedDescription { - final _ret = _lib._objc_msgSend_21( - this.pointer, - _lib._sel_localizedDescription1, - ); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_localizedDescription); + return NSString._(_ret, retain: true, release: true); } set localizedDescription(NSString value) { - return _lib._objc_msgSend_646( - this.pointer, - _lib._sel_setLocalizedDescription_1, - value.pointer, - ); + return _objc_msgSend_646( + this.pointer, _sel_setLocalizedDescription_, value.pointer); } NSString get localizedAdditionalDescription { - final _ret = _lib._objc_msgSend_21( - this.pointer, - _lib._sel_localizedAdditionalDescription1, - ); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_21(this.pointer, _sel_localizedAdditionalDescription); + return NSString._(_ret, retain: true, release: true); } set localizedAdditionalDescription(NSString value) { - return _lib._objc_msgSend_646( - this.pointer, - _lib._sel_setLocalizedAdditionalDescription_1, - value.pointer, - ); + return _objc_msgSend_646( + this.pointer, _sel_setLocalizedAdditionalDescription_, value.pointer); } bool get cancellable { - return _lib._objc_msgSend_12(this.pointer, _lib._sel_isCancellable1); + return _objc_msgSend_12(this.pointer, _sel_isCancellable); } set cancellable(bool value) { - return _lib._objc_msgSend_527( - this.pointer, - _lib._sel_setCancellable_1, - value, - ); + return _objc_msgSend_527(this.pointer, _sel_setCancellable_, value); } bool get pausable { - return _lib._objc_msgSend_12(this.pointer, _lib._sel_isPausable1); + return _objc_msgSend_12(this.pointer, _sel_isPausable); } set pausable(bool value) { - return _lib._objc_msgSend_527(this.pointer, _lib._sel_setPausable_1, value); + return _objc_msgSend_527(this.pointer, _sel_setPausable_, value); } bool get cancelled { - return _lib._objc_msgSend_12(this.pointer, _lib._sel_isCancelled1); + return _objc_msgSend_12(this.pointer, _sel_isCancelled); } bool get paused { - return _lib._objc_msgSend_12(this.pointer, _lib._sel_isPaused1); + return _objc_msgSend_12(this.pointer, _sel_isPaused); } ObjCBlock_ffiVoid? get cancellationHandler { - final _ret = _lib._objc_msgSend_668( - this.pointer, - _lib._sel_cancellationHandler1, - ); + final _ret = _objc_msgSend_668(this.pointer, _sel_cancellationHandler); return _ret.address == 0 ? null - : ObjCBlock_ffiVoid._(_ret, _lib, retain: true, release: true); + : ObjCBlock_ffiVoid._(_ret, retain: true, release: true); } set cancellationHandler(ObjCBlock_ffiVoid? value) { - return _lib._objc_msgSend_669( - this.pointer, - _lib._sel_setCancellationHandler_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_669(this.pointer, _sel_setCancellationHandler_, + value?.pointer ?? ffi.nullptr); } ObjCBlock_ffiVoid? get pausingHandler { - final _ret = _lib._objc_msgSend_668( - this.pointer, - _lib._sel_pausingHandler1, - ); + final _ret = _objc_msgSend_668(this.pointer, _sel_pausingHandler); return _ret.address == 0 ? null - : ObjCBlock_ffiVoid._(_ret, _lib, retain: true, release: true); + : ObjCBlock_ffiVoid._(_ret, retain: true, release: true); } set pausingHandler(ObjCBlock_ffiVoid? value) { - return _lib._objc_msgSend_669( - this.pointer, - _lib._sel_setPausingHandler_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_669( + this.pointer, _sel_setPausingHandler_, value?.pointer ?? ffi.nullptr); } ObjCBlock_ffiVoid? get resumingHandler { - final _ret = _lib._objc_msgSend_668( - this.pointer, - _lib._sel_resumingHandler1, - ); + final _ret = _objc_msgSend_668(this.pointer, _sel_resumingHandler); return _ret.address == 0 ? null - : ObjCBlock_ffiVoid._(_ret, _lib, retain: true, release: true); + : ObjCBlock_ffiVoid._(_ret, retain: true, release: true); } set resumingHandler(ObjCBlock_ffiVoid? value) { - return _lib._objc_msgSend_669( - this.pointer, - _lib._sel_setResumingHandler_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_669( + this.pointer, _sel_setResumingHandler_, value?.pointer ?? ffi.nullptr); } void setUserInfoObject_forKey_(NSObject? objectOrNil, NSString key) { - _lib._objc_msgSend_135( - this.pointer, - _lib._sel_setUserInfoObject_forKey_1, - objectOrNil?.pointer ?? ffi.nullptr, - key.pointer, - ); + _objc_msgSend_135(this.pointer, _sel_setUserInfoObject_forKey_, + objectOrNil?.pointer ?? ffi.nullptr, key.pointer); } bool get indeterminate { - return _lib._objc_msgSend_12(this.pointer, _lib._sel_isIndeterminate1); + return _objc_msgSend_12(this.pointer, _sel_isIndeterminate); } double get fractionCompleted { return objc.useMsgSendVariants - ? _lib._objc_msgSend_165_fpret( - this.pointer, - _lib._sel_fractionCompleted1, - ) - : _lib._objc_msgSend_165(this.pointer, _lib._sel_fractionCompleted1); + ? _objc_msgSend_165Fpret(this.pointer, _sel_fractionCompleted) + : _objc_msgSend_165(this.pointer, _sel_fractionCompleted); } bool get finished { - return _lib._objc_msgSend_12(this.pointer, _lib._sel_isFinished1); + return _objc_msgSend_12(this.pointer, _sel_isFinished); } void cancel() { - _lib._objc_msgSend_1(this.pointer, _lib._sel_cancel1); + _objc_msgSend_1(this.pointer, _sel_cancel); } void pause() { - _lib._objc_msgSend_1(this.pointer, _lib._sel_pause1); + _objc_msgSend_1(this.pointer, _sel_pause); } void resume() { - _lib._objc_msgSend_1(this.pointer, _lib._sel_resume1); + _objc_msgSend_1(this.pointer, _sel_resume); } NSObject get userInfo { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_userInfo1); - return NSObject._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_userInfo); + return NSObject._(_ret, retain: true, release: true); } NSString? get kind { - final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_kind1); + final _ret = _objc_msgSend_44(this.pointer, _sel_kind); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } set kind(NSString? value) { - return _lib._objc_msgSend_545( - this.pointer, - _lib._sel_setKind_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_545( + this.pointer, _sel_setKind_, value?.pointer ?? ffi.nullptr); } NSNumber? get estimatedTimeRemaining { - final _ret = _lib._objc_msgSend_215( - this.pointer, - _lib._sel_estimatedTimeRemaining1, - ); + final _ret = _objc_msgSend_215(this.pointer, _sel_estimatedTimeRemaining); return _ret.address == 0 ? null - : NSNumber._(_ret, _lib, retain: true, release: true); + : NSNumber._(_ret, retain: true, release: true); } set estimatedTimeRemaining(NSNumber? value) { - return _lib._objc_msgSend_670( - this.pointer, - _lib._sel_setEstimatedTimeRemaining_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_670(this.pointer, _sel_setEstimatedTimeRemaining_, + value?.pointer ?? ffi.nullptr); } NSNumber? get throughput { - final _ret = _lib._objc_msgSend_215(this.pointer, _lib._sel_throughput1); + final _ret = _objc_msgSend_215(this.pointer, _sel_throughput); return _ret.address == 0 ? null - : NSNumber._(_ret, _lib, retain: true, release: true); + : NSNumber._(_ret, retain: true, release: true); } set throughput(NSNumber? value) { - return _lib._objc_msgSend_670( - this.pointer, - _lib._sel_setThroughput_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_670( + this.pointer, _sel_setThroughput_, value?.pointer ?? ffi.nullptr); } NSString? get fileOperationKind { - final _ret = _lib._objc_msgSend_44( - this.pointer, - _lib._sel_fileOperationKind1, - ); + final _ret = _objc_msgSend_44(this.pointer, _sel_fileOperationKind); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } set fileOperationKind(NSString? value) { - return _lib._objc_msgSend_545( - this.pointer, - _lib._sel_setFileOperationKind_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_545(this.pointer, _sel_setFileOperationKind_, + value?.pointer ?? ffi.nullptr); } NSURL? get fileURL { - final _ret = _lib._objc_msgSend_45(this.pointer, _lib._sel_fileURL1); + final _ret = _objc_msgSend_45(this.pointer, _sel_fileURL); return _ret.address == 0 ? null - : NSURL._(_ret, _lib, retain: true, release: true); + : NSURL._(_ret, retain: true, release: true); } set fileURL(NSURL? value) { - return _lib._objc_msgSend_671( - this.pointer, - _lib._sel_setFileURL_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_671( + this.pointer, _sel_setFileURL_, value?.pointer ?? ffi.nullptr); } NSNumber? get fileTotalCount { - final _ret = _lib._objc_msgSend_215( - this.pointer, - _lib._sel_fileTotalCount1, - ); + final _ret = _objc_msgSend_215(this.pointer, _sel_fileTotalCount); return _ret.address == 0 ? null - : NSNumber._(_ret, _lib, retain: true, release: true); + : NSNumber._(_ret, retain: true, release: true); } set fileTotalCount(NSNumber? value) { - return _lib._objc_msgSend_670( - this.pointer, - _lib._sel_setFileTotalCount_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_670( + this.pointer, _sel_setFileTotalCount_, value?.pointer ?? ffi.nullptr); } NSNumber? get fileCompletedCount { - final _ret = _lib._objc_msgSend_215( - this.pointer, - _lib._sel_fileCompletedCount1, - ); + final _ret = _objc_msgSend_215(this.pointer, _sel_fileCompletedCount); return _ret.address == 0 ? null - : NSNumber._(_ret, _lib, retain: true, release: true); + : NSNumber._(_ret, retain: true, release: true); } set fileCompletedCount(NSNumber? value) { - return _lib._objc_msgSend_670( - this.pointer, - _lib._sel_setFileCompletedCount_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_670(this.pointer, _sel_setFileCompletedCount_, + value?.pointer ?? ffi.nullptr); } void publish() { - _lib._objc_msgSend_1(this.pointer, _lib._sel_publish1); + _objc_msgSend_1(this.pointer, _sel_publish); } void unpublish() { - _lib._objc_msgSend_1(this.pointer, _lib._sel_unpublish1); + _objc_msgSend_1(this.pointer, _sel_unpublish); } static NSObject addSubscriberForFileURL_withPublishingHandler_( - AVFAudio _lib, - NSURL url, - ObjCBlock_ffiVoid_NSProgress publishingHandler, - ) { - final _ret = _lib._objc_msgSend_672( - _lib._class_NSProgress1, - _lib._sel_addSubscriberForFileURL_withPublishingHandler_1, - url.pointer, - publishingHandler.pointer, - ); - return NSObject._(_ret, _lib, retain: true, release: true); - } - - static void removeSubscriber_(AVFAudio _lib, NSObject subscriber) { - _lib._objc_msgSend_15( - _lib._class_NSProgress1, - _lib._sel_removeSubscriber_1, - subscriber.pointer, - ); + NSURL url, ObjCBlock_ffiVoid_NSProgress publishingHandler) { + final _ret = _objc_msgSend_672( + _class_NSProgress, + _sel_addSubscriberForFileURL_withPublishingHandler_, + url.pointer, + publishingHandler.pointer); + return NSObject._(_ret, retain: true, release: true); + } + + static void removeSubscriber_(NSObject subscriber) { + _objc_msgSend_15( + _class_NSProgress, _sel_removeSubscriber_, subscriber.pointer); } bool get old { - return _lib._objc_msgSend_12(this.pointer, _lib._sel_isOld1); + return _objc_msgSend_12(this.pointer, _sel_isOld); } @override NSProgress init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSProgress._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSProgress._(_ret, retain: true, release: true); } - static NSProgress new1(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2(_lib._class_NSProgress1, _lib._sel_new1); - return NSProgress._(_ret, _lib, retain: false, release: true); + static NSProgress new1() { + final _ret = _objc_msgSend_2(_class_NSProgress, _sel_new); + return NSProgress._(_ret, retain: false, release: true); } - static NSProgress allocWithZone_(AVFAudio _lib, ffi.Pointer<_NSZone> zone) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSProgress1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSProgress._(_ret, _lib, retain: false, release: true); + static NSProgress allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = _objc_msgSend_3(_class_NSProgress, _sel_allocWithZone_, zone); + return NSProgress._(_ret, retain: false, release: true); } - static NSProgress alloc(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSProgress1, - _lib._sel_alloc1, - ); - return NSProgress._(_ret, _lib, retain: false, release: true); + static NSProgress alloc() { + final _ret = _objc_msgSend_2(_class_NSProgress, _sel_alloc); + return NSProgress._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSProgress1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSProgress1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSProgress1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSProgress1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSProgress1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSProgress1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSProgress, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); } - static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSProgress1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSProgress1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSProgress1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSProgress, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); + } + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSProgress, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSProgress, _sel_useStoredAccessor); } -} + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSProgress, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSProgress, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); + } + + static void setKeys_triggerChangeNotificationsForDependentKey_( + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSProgress, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = _objc_msgSend_85( + _class_NSProgress, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = + _objc_msgSend_2(_class_NSProgress, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); + } +} + +late final _class_NSProgress = objc.getClass("NSProgress"); +late final _sel_currentProgress = objc.registerName("currentProgress"); +final _objc_msgSend_659 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_progressWithTotalUnitCount_ = + objc.registerName("progressWithTotalUnitCount:"); +final _objc_msgSend_660 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Int64 unitCount)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, int)>(); +late final _sel_discreteProgressWithTotalUnitCount_ = + objc.registerName("discreteProgressWithTotalUnitCount:"); +late final _sel_progressWithTotalUnitCount_parent_pendingUnitCount_ = + objc.registerName("progressWithTotalUnitCount:parent:pendingUnitCount:"); +final _objc_msgSend_661 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Int64 unitCount, + ffi.Pointer parent, + ffi.Int64 portionOfParentTotalUnitCount)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + int)>(); +late final _sel_initWithParent_userInfo_ = + objc.registerName("initWithParent:userInfo:"); +final _objc_msgSend_662 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer parentProgressOrNil, + ffi.Pointer userInfoOrNil)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_becomeCurrentWithPendingUnitCount_ = + objc.registerName("becomeCurrentWithPendingUnitCount:"); +final _objc_msgSend_663 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer obj, + ffi.Pointer sel, ffi.Int64 unitCount)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, int)>(); +late final _sel_performAsCurrentWithPendingUnitCount_usingBlock_ = + objc.registerName("performAsCurrentWithPendingUnitCount:usingBlock:"); +final _objc_msgSend_664 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Int64 unitCount, + ffi.Pointer work)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer)>(); +late final _sel_resignCurrent = objc.registerName("resignCurrent"); +late final _sel_addChild_withPendingUnitCount_ = + objc.registerName("addChild:withPendingUnitCount:"); +final _objc_msgSend_665 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer child, + ffi.Int64 inUnitCount)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int)>(); +late final _sel_totalUnitCount = objc.registerName("totalUnitCount"); +final _objc_msgSend_666 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Int64 Function(ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + int Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_setTotalUnitCount_ = objc.registerName("setTotalUnitCount:"); +final _objc_msgSend_667 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer obj, + ffi.Pointer sel, ffi.Int64 value)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, int)>(); +late final _sel_completedUnitCount = objc.registerName("completedUnitCount"); +late final _sel_setCompletedUnitCount_ = + objc.registerName("setCompletedUnitCount:"); +late final _sel_setLocalizedDescription_ = + objc.registerName("setLocalizedDescription:"); +late final _sel_localizedAdditionalDescription = + objc.registerName("localizedAdditionalDescription"); +late final _sel_setLocalizedAdditionalDescription_ = + objc.registerName("setLocalizedAdditionalDescription:"); +late final _sel_isCancellable = objc.registerName("isCancellable"); +late final _sel_setCancellable_ = objc.registerName("setCancellable:"); +late final _sel_isPausable = objc.registerName("isPausable"); +late final _sel_setPausable_ = objc.registerName("setPausable:"); +late final _sel_isPaused = objc.registerName("isPaused"); +late final _sel_cancellationHandler = objc.registerName("cancellationHandler"); +final _objc_msgSend_668 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_setCancellationHandler_ = + objc.registerName("setCancellationHandler:"); +final _objc_msgSend_669 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_pausingHandler = objc.registerName("pausingHandler"); +late final _sel_setPausingHandler_ = objc.registerName("setPausingHandler:"); +late final _sel_resumingHandler = objc.registerName("resumingHandler"); +late final _sel_setResumingHandler_ = objc.registerName("setResumingHandler:"); +late final _sel_setUserInfoObject_forKey_ = + objc.registerName("setUserInfoObject:forKey:"); +late final _sel_isIndeterminate = objc.registerName("isIndeterminate"); +late final _sel_fractionCompleted = objc.registerName("fractionCompleted"); +late final _sel_pause = objc.registerName("pause"); +late final _sel_resume = objc.registerName("resume"); +late final _sel_kind = objc.registerName("kind"); +late final _sel_setKind_ = objc.registerName("setKind:"); +late final _sel_estimatedTimeRemaining = + objc.registerName("estimatedTimeRemaining"); +late final _sel_setEstimatedTimeRemaining_ = + objc.registerName("setEstimatedTimeRemaining:"); +final _objc_msgSend_670 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_throughput = objc.registerName("throughput"); +late final _sel_setThroughput_ = objc.registerName("setThroughput:"); +late final _sel_fileOperationKind = objc.registerName("fileOperationKind"); +late final _sel_setFileOperationKind_ = + objc.registerName("setFileOperationKind:"); +late final _sel_fileURL = objc.registerName("fileURL"); +late final _sel_setFileURL_ = objc.registerName("setFileURL:"); +final _objc_msgSend_671 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_fileTotalCount = objc.registerName("fileTotalCount"); +late final _sel_setFileTotalCount_ = objc.registerName("setFileTotalCount:"); +late final _sel_fileCompletedCount = objc.registerName("fileCompletedCount"); +late final _sel_setFileCompletedCount_ = + objc.registerName("setFileCompletedCount:"); +late final _sel_publish = objc.registerName("publish"); +late final _sel_unpublish = objc.registerName("unpublish"); ffi.Pointer _ObjCBlock_ffiVoid_NSProgress_fnPtrTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, -) => + ffi.Pointer block, ffi.Pointer arg0) => block.ref.target .cast< ffi.NativeFunction< @@ -65865,44 +31126,29 @@ final _ObjCBlock_ffiVoid_NSProgress_closureRegistry = Function(ffi.Pointer)>{}; int _ObjCBlock_ffiVoid_NSProgress_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_ffiVoid_NSProgress_registerClosure( - ffi.Pointer Function(ffi.Pointer) fn, -) { + ffi.Pointer Function(ffi.Pointer) fn) { final id = ++_ObjCBlock_ffiVoid_NSProgress_closureRegistryIndex; _ObjCBlock_ffiVoid_NSProgress_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } ffi.Pointer _ObjCBlock_ffiVoid_NSProgress_closureTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, -) => + ffi.Pointer block, ffi.Pointer arg0) => _ObjCBlock_ffiVoid_NSProgress_closureRegistry[block.ref.target.address]!( - arg0, - ); + arg0); class ObjCBlock_ffiVoid_NSProgress extends objc.ObjCBlockBase { - ObjCBlock_ffiVoid_NSProgress._( - ffi.Pointer pointer, - this._lib, { - bool retain = false, - bool release = true, - }) : super(pointer, retain: retain, release: release); - - AVFAudio _lib; + ObjCBlock_ffiVoid_NSProgress._(ffi.Pointer pointer, + {bool retain = false, bool release = true}) + : super(pointer, retain: retain, release: release); /// Returns a block that wraps the given raw block pointer. static ObjCBlock_ffiVoid_NSProgress castFromPointer( - AVFAudio lib, - ffi.Pointer pointer, { - bool retain = false, - bool release = false, - }) { - return ObjCBlock_ffiVoid_NSProgress._( - pointer, - lib, - retain: retain, - release: release, - ); + ffi.Pointer pointer, + {bool retain = false, + bool release = false}) { + return ObjCBlock_ffiVoid_NSProgress._(pointer, + retain: retain, release: release); } /// Creates a block from a C function pointer. @@ -65911,23 +31157,19 @@ class ObjCBlock_ffiVoid_NSProgress extends objc.ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSProgress.fromFunctionPointer( - AVFAudio lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer arg0)>> - ptr, - ) : this._( - objc.newBlock( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(_ObjCBlock_ffiVoid_NSProgress_fnPtrTrampoline) - .cast(), - ptr.cast(), - ), - lib); + ffi.Pointer< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer arg0)>> + ptr) + : this._(objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer)>( + _ObjCBlock_ffiVoid_NSProgress_fnPtrTrampoline) + .cast(), + ptr.cast())); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -65936,75 +31178,67 @@ class ObjCBlock_ffiVoid_NSProgress extends objc.ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSProgress.fromFunction( - AVFAudio lib, - ObjCBlock_ffiVoid? Function(NSProgress) fn, - ) : this._( - objc.newBlock( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(_ObjCBlock_ffiVoid_NSProgress_closureTrampoline) - .cast(), - _ObjCBlock_ffiVoid_NSProgress_registerClosure(( - ffi.Pointer arg0, - ) => - fn(NSProgress._( - arg0, - lib, - retain: true, - release: true, - ))?.retainAndReturnPointer() ?? - ffi.nullptr), - ), - lib); + ObjCBlock_ffiVoid? Function(NSProgress) fn) + : this._(objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer)>( + _ObjCBlock_ffiVoid_NSProgress_closureTrampoline) + .cast(), + _ObjCBlock_ffiVoid_NSProgress_registerClosure( + (ffi.Pointer arg0) => + fn(NSProgress._(arg0, retain: true, release: true)) + ?.retainAndReturnPointer() ?? + ffi.nullptr))); static ffi.Pointer? _dartFuncTrampoline; ObjCBlock_ffiVoid? call(NSProgress arg0) => pointer.ref.invoke .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer block, - ffi.Pointer arg0, - )>>() - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>()(pointer, arg0.pointer) + ffi.Pointer block, + ffi.Pointer arg0)>>() + .asFunction Function(ffi.Pointer, ffi.Pointer)>() + (pointer, arg0.pointer) .address == 0 ? null : ObjCBlock_ffiVoid._( - pointer.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer block, - ffi.Pointer arg0, - )>>() - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>()(pointer, arg0.pointer), - _lib, + pointer.ref.invoke.cast Function(ffi.Pointer block, ffi.Pointer arg0)>>().asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>()(pointer, arg0.pointer), retain: false, release: true); } +late final _sel_addSubscriberForFileURL_withPublishingHandler_ = + objc.registerName("addSubscriberForFileURL:withPublishingHandler:"); +final _objc_msgSend_672 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer url, + ffi.Pointer publishingHandler)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_removeSubscriber_ = objc.registerName("removeSubscriber:"); +late final _sel_isOld = objc.registerName("isOld"); void _ObjCBlock_ffiVoid_NSData_NSError_fnPtrTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Pointer arg1, -) => + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1) => block.ref.target .cast< ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - )>>() + ffi.Void Function(ffi.Pointer arg0, + ffi.Pointer arg1)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer)>()(arg0, arg1); @@ -66013,44 +31247,32 @@ final _ObjCBlock_ffiVoid_NSData_NSError_closureRegistry = , ffi.Pointer)>{}; int _ObjCBlock_ffiVoid_NSData_NSError_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_ffiVoid_NSData_NSError_registerClosure( - void Function(ffi.Pointer, ffi.Pointer) fn, -) { + void Function(ffi.Pointer, ffi.Pointer) + fn) { final id = ++_ObjCBlock_ffiVoid_NSData_NSError_closureRegistryIndex; _ObjCBlock_ffiVoid_NSData_NSError_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } void _ObjCBlock_ffiVoid_NSData_NSError_closureTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Pointer arg1, -) => + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1) => _ObjCBlock_ffiVoid_NSData_NSError_closureRegistry[ block.ref.target.address]!(arg0, arg1); class ObjCBlock_ffiVoid_NSData_NSError extends objc.ObjCBlockBase { - ObjCBlock_ffiVoid_NSData_NSError._( - ffi.Pointer pointer, - this._lib, { - bool retain = false, - bool release = true, - }) : super(pointer, retain: retain, release: release); - - AVFAudio _lib; + ObjCBlock_ffiVoid_NSData_NSError._(ffi.Pointer pointer, + {bool retain = false, bool release = true}) + : super(pointer, retain: retain, release: release); /// Returns a block that wraps the given raw block pointer. static ObjCBlock_ffiVoid_NSData_NSError castFromPointer( - AVFAudio lib, - ffi.Pointer pointer, { - bool retain = false, - bool release = false, - }) { - return ObjCBlock_ffiVoid_NSData_NSError._( - pointer, - lib, - retain: retain, - release: release, - ); + ffi.Pointer pointer, + {bool retain = false, + bool release = false}) { + return ObjCBlock_ffiVoid_NSData_NSError._(pointer, + retain: retain, release: release); } /// Creates a block from a C function pointer. @@ -66059,26 +31281,20 @@ class ObjCBlock_ffiVoid_NSData_NSError extends objc.ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSData_NSError.fromFunctionPointer( - AVFAudio lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - )>> - ptr, - ) : this._( - objc.newBlock( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(_ObjCBlock_ffiVoid_NSData_NSError_fnPtrTrampoline) - .cast(), - ptr.cast(), - ), - lib); + ffi.Pointer< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer arg0, + ffi.Pointer arg1)>> + ptr) + : this._(objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>( + _ObjCBlock_ffiVoid_NSData_NSError_fnPtrTrampoline) + .cast(), + ptr.cast())); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -66086,32 +31302,19 @@ class ObjCBlock_ffiVoid_NSData_NSError extends objc.ObjCBlockBase { /// This block must be invoked by native code running on the same thread as /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. - ObjCBlock_ffiVoid_NSData_NSError.fromFunction( - AVFAudio lib, - void Function(NSData?, NSError?) fn, - ) : this._( - objc.newBlock( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(_ObjCBlock_ffiVoid_NSData_NSError_closureTrampoline) - .cast(), - _ObjCBlock_ffiVoid_NSData_NSError_registerClosure(( - ffi.Pointer arg0, - ffi.Pointer arg1, - ) => - fn( - arg0.address == 0 - ? null - : NSData._(arg0, lib, retain: true, release: true), - arg1.address == 0 - ? null - : NSError._(arg1, lib, retain: true, release: true), - )), - ), - lib); + ObjCBlock_ffiVoid_NSData_NSError.fromFunction(void Function(NSData?, NSError?) fn) + : this._(objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>( + _ObjCBlock_ffiVoid_NSData_NSError_closureTrampoline) + .cast(), + _ObjCBlock_ffiVoid_NSData_NSError_registerClosure( + (ffi.Pointer arg0, ffi.Pointer arg1) => fn( + arg0.address == 0 ? null : NSData._(arg0, retain: true, release: true), + arg1.address == 0 ? null : NSError._(arg1, retain: true, release: true))))); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -66123,68 +31326,70 @@ class ObjCBlock_ffiVoid_NSData_NSError extends objc.ObjCBlockBase { /// /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. - ObjCBlock_ffiVoid_NSData_NSError.listener( - AVFAudio lib, - void Function(NSData?, NSError?) fn, - ) : this._( - objc.newBlock( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>.listener( - _ObjCBlock_ffiVoid_NSData_NSError_closureTrampoline, - )..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSData_NSError_registerClosure(( - ffi.Pointer arg0, - ffi.Pointer arg1, - ) => - fn( - arg0.address == 0 - ? null - : NSData._(arg0, lib, retain: true, release: true), - arg1.address == 0 - ? null - : NSError._(arg1, lib, retain: true, release: true), - )), - ), - lib); + ObjCBlock_ffiVoid_NSData_NSError.listener(void Function(NSData?, NSError?) fn) + : this._(objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>.listener( + _ObjCBlock_ffiVoid_NSData_NSError_closureTrampoline) + ..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSData_NSError_registerClosure( + (ffi.Pointer arg0, ffi.Pointer arg1) => fn( + arg0.address == 0 ? null : NSData._(arg0, retain: true, release: true), + arg1.address == 0 ? null : NSError._(arg1, retain: true, release: true))))); static ffi.NativeCallable< ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>? _dartFuncListenerTrampoline; + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>? _dartFuncListenerTrampoline; void call(NSData? arg0, NSError? arg1) => pointer.ref.invoke .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Pointer arg1, - )>>() + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1)>>() .asFunction< void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>()( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>()( pointer, arg0?.pointer ?? ffi.nullptr, arg1?.pointer ?? ffi.nullptr); } +late final _sel_registerDataRepresentationForTypeIdentifier_visibility_loadHandler_ = + objc.registerName( + "registerDataRepresentationForTypeIdentifier:visibility:loadHandler:"); +final _objc_msgSend_673 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer typeIdentifier, + ffi.Int32 visibility, + ffi.Pointer loadHandler)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer)>(); + abstract class NSItemProviderFileOptions { static const int NSItemProviderFileOptionOpenInPlace = 1; } ffi.Pointer _ObjCBlock_NSProgress_ffiVoidNSURLboolNSError_fnPtrTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, -) => + ffi.Pointer block, + ffi.Pointer arg0) => block.ref.target .cast< ffi.NativeFunction< @@ -66198,8 +31403,7 @@ final _ObjCBlock_NSProgress_ffiVoidNSURLboolNSError_closureRegistry = int _ObjCBlock_NSProgress_ffiVoidNSURLboolNSError_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_NSProgress_ffiVoidNSURLboolNSError_registerClosure( - ffi.Pointer Function(ffi.Pointer) fn, -) { + ffi.Pointer Function(ffi.Pointer) fn) { final id = ++_ObjCBlock_NSProgress_ffiVoidNSURLboolNSError_closureRegistryIndex; _ObjCBlock_NSProgress_ffiVoidNSURLboolNSError_closureRegistry[id] = fn; @@ -66208,35 +31412,25 @@ ffi.Pointer ffi.Pointer _ObjCBlock_NSProgress_ffiVoidNSURLboolNSError_closureTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, -) => + ffi.Pointer block, + ffi.Pointer arg0) => _ObjCBlock_NSProgress_ffiVoidNSURLboolNSError_closureRegistry[ block.ref.target.address]!(arg0); class ObjCBlock_NSProgress_ffiVoidNSURLboolNSError extends objc.ObjCBlockBase { ObjCBlock_NSProgress_ffiVoidNSURLboolNSError._( - ffi.Pointer pointer, - this._lib, { - bool retain = false, - bool release = true, - }) : super(pointer, retain: retain, release: release); - - AVFAudio _lib; + ffi.Pointer pointer, + {bool retain = false, + bool release = true}) + : super(pointer, retain: retain, release: release); /// Returns a block that wraps the given raw block pointer. static ObjCBlock_NSProgress_ffiVoidNSURLboolNSError castFromPointer( - AVFAudio lib, - ffi.Pointer pointer, { - bool retain = false, - bool release = false, - }) { - return ObjCBlock_NSProgress_ffiVoidNSURLboolNSError._( - pointer, - lib, - retain: retain, - release: release, - ); + ffi.Pointer pointer, + {bool retain = false, + bool release = false}) { + return ObjCBlock_NSProgress_ffiVoidNSURLboolNSError._(pointer, + retain: retain, release: release); } /// Creates a block from a C function pointer. @@ -66245,24 +31439,19 @@ class ObjCBlock_NSProgress_ffiVoidNSURLboolNSError extends objc.ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_NSProgress_ffiVoidNSURLboolNSError.fromFunctionPointer( - AVFAudio lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer arg0)>> - ptr, - ) : this._( - objc.newBlock( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Pointer< + ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>( - _ObjCBlock_NSProgress_ffiVoidNSURLboolNSError_fnPtrTrampoline, - ).cast(), - ptr.cast(), - ), - lib); + ffi.Pointer arg0)>> + ptr) + : this._(objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer)>( + _ObjCBlock_NSProgress_ffiVoidNSURLboolNSError_fnPtrTrampoline) + .cast(), + ptr.cast())); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -66271,136 +31460,86 @@ class ObjCBlock_NSProgress_ffiVoidNSURLboolNSError extends objc.ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_NSProgress_ffiVoidNSURLboolNSError.fromFunction( - AVFAudio lib, - NSProgress? Function(ObjCBlock_ffiVoid_NSURL_bool_NSError) fn, - ) : this._( - objc.newBlock( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>( - _ObjCBlock_NSProgress_ffiVoidNSURLboolNSError_closureTrampoline, - ).cast(), - _ObjCBlock_NSProgress_ffiVoidNSURLboolNSError_registerClosure(( - ffi.Pointer arg0, - ) => - fn(ObjCBlock_ffiVoid_NSURL_bool_NSError._( - arg0, - lib, - retain: true, - release: true, - ))?.retainAndReturnPointer() ?? - ffi.nullptr), - ), - lib); + NSProgress? Function(ObjCBlock_ffiVoid_NSURL_bool_NSError) fn) + : this._(objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer)>( + _ObjCBlock_NSProgress_ffiVoidNSURLboolNSError_closureTrampoline) + .cast(), + _ObjCBlock_NSProgress_ffiVoidNSURLboolNSError_registerClosure( + (ffi.Pointer arg0) => + fn(ObjCBlock_ffiVoid_NSURL_bool_NSError._(arg0, retain: true, release: true)) + ?.retainAndReturnPointer() ?? + ffi.nullptr))); static ffi.Pointer? _dartFuncTrampoline; - NSProgress? call(ObjCBlock_ffiVoid_NSURL_bool_NSError arg0) => - pointer.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer block, - ffi.Pointer arg0, - )>>() - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>()(pointer, arg0.pointer) - .address == - 0 - ? null - : NSProgress._( - pointer.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer block, - ffi.Pointer arg0, - )>>() - .asFunction< + NSProgress? call(ObjCBlock_ffiVoid_NSURL_bool_NSError arg0) => pointer.ref.invoke + .cast< + ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>()(pointer, arg0.pointer), - _lib, - retain: false, - release: true); + ffi.Pointer block, + ffi.Pointer arg0)>>() + .asFunction Function(ffi.Pointer, ffi.Pointer)>() + (pointer, arg0.pointer) + .address == + 0 + ? null + : NSProgress._( + pointer.ref.invoke.cast Function(ffi.Pointer block, ffi.Pointer arg0)>>().asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>()(pointer, arg0.pointer), + retain: false, + release: true); } void _ObjCBlock_ffiVoid_NSURL_bool_NSError_fnPtrTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, - bool arg1, - ffi.Pointer arg2, -) => + ffi.Pointer block, + ffi.Pointer arg0, + bool arg1, + ffi.Pointer arg2) => block.ref.target .cast< ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.Bool arg1, - ffi.Pointer arg2, - )>>() + ffi.Void Function(ffi.Pointer arg0, + ffi.Bool arg1, ffi.Pointer arg2)>>() .asFunction< - void Function( - ffi.Pointer, - bool, - ffi.Pointer, - )>()(arg0, arg1, arg2); + void Function(ffi.Pointer, bool, + ffi.Pointer)>()(arg0, arg1, arg2); final _ObjCBlock_ffiVoid_NSURL_bool_NSError_closureRegistry = , - bool, - ffi.Pointer, -)>{}; + ffi.Pointer, bool, ffi.Pointer)>{}; int _ObjCBlock_ffiVoid_NSURL_bool_NSError_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_ffiVoid_NSURL_bool_NSError_registerClosure( - void Function( - ffi.Pointer, - bool, - ffi.Pointer, - ) fn, -) { + void Function( + ffi.Pointer, bool, ffi.Pointer) + fn) { final id = ++_ObjCBlock_ffiVoid_NSURL_bool_NSError_closureRegistryIndex; _ObjCBlock_ffiVoid_NSURL_bool_NSError_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } void _ObjCBlock_ffiVoid_NSURL_bool_NSError_closureTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, - bool arg1, - ffi.Pointer arg2, -) => + ffi.Pointer block, + ffi.Pointer arg0, + bool arg1, + ffi.Pointer arg2) => _ObjCBlock_ffiVoid_NSURL_bool_NSError_closureRegistry[ block.ref.target.address]!(arg0, arg1, arg2); class ObjCBlock_ffiVoid_NSURL_bool_NSError extends objc.ObjCBlockBase { - ObjCBlock_ffiVoid_NSURL_bool_NSError._( - ffi.Pointer pointer, - this._lib, { - bool retain = false, - bool release = true, - }) : super(pointer, retain: retain, release: release); - - AVFAudio _lib; + ObjCBlock_ffiVoid_NSURL_bool_NSError._(ffi.Pointer pointer, + {bool retain = false, bool release = true}) + : super(pointer, retain: retain, release: release); /// Returns a block that wraps the given raw block pointer. static ObjCBlock_ffiVoid_NSURL_bool_NSError castFromPointer( - AVFAudio lib, - ffi.Pointer pointer, { - bool retain = false, - bool release = false, - }) { - return ObjCBlock_ffiVoid_NSURL_bool_NSError._( - pointer, - lib, - retain: retain, - release: release, - ); + ffi.Pointer pointer, + {bool retain = false, + bool release = false}) { + return ObjCBlock_ffiVoid_NSURL_bool_NSError._(pointer, + retain: retain, release: release); } /// Creates a block from a C function pointer. @@ -66409,28 +31548,22 @@ class ObjCBlock_ffiVoid_NSURL_bool_NSError extends objc.ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSURL_bool_NSError.fromFunctionPointer( - AVFAudio lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.Bool arg1, - ffi.Pointer arg2, - )>> - ptr, - ) : this._( + ffi.Pointer< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer arg0, + ffi.Bool arg1, ffi.Pointer arg2)>> + ptr) + : this._( objc.newBlock( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - ffi.Pointer, - )>(_ObjCBlock_ffiVoid_NSURL_bool_NSError_fnPtrTrampoline) - .cast(), - ptr.cast(), - ), - lib); + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.Pointer)>( + _ObjCBlock_ffiVoid_NSURL_bool_NSError_fnPtrTrampoline) + .cast(), + ptr.cast())); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -66439,35 +31572,20 @@ class ObjCBlock_ffiVoid_NSURL_bool_NSError extends objc.ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSURL_bool_NSError.fromFunction( - AVFAudio lib, - void Function(NSURL?, bool, NSError?) fn, - ) : this._( - objc.newBlock( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( + void Function(NSURL?, bool, NSError?) fn) + : this._(objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( ffi.Pointer, ffi.Pointer, ffi.Bool, - ffi.Pointer, - )>( - _ObjCBlock_ffiVoid_NSURL_bool_NSError_closureTrampoline) - .cast(), - _ObjCBlock_ffiVoid_NSURL_bool_NSError_registerClosure(( - ffi.Pointer arg0, - bool arg1, - ffi.Pointer arg2, - ) => - fn( - arg0.address == 0 - ? null - : NSURL._(arg0, lib, retain: true, release: true), - arg1, - arg2.address == 0 - ? null - : NSError._(arg2, lib, retain: true, release: true), - )), - ), - lib); + ffi.Pointer)>( + _ObjCBlock_ffiVoid_NSURL_bool_NSError_closureTrampoline) + .cast(), + _ObjCBlock_ffiVoid_NSURL_bool_NSError_registerClosure( + (ffi.Pointer arg0, bool arg1, + ffi.Pointer arg2) => + fn(arg0.address == 0 ? null : NSURL._(arg0, retain: true, release: true), arg1, arg2.address == 0 ? null : NSError._(arg2, retain: true, release: true))))); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -66479,81 +31597,128 @@ class ObjCBlock_ffiVoid_NSURL_bool_NSError extends objc.ObjCBlockBase { /// /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. - ObjCBlock_ffiVoid_NSURL_bool_NSError.listener( - AVFAudio lib, - void Function(NSURL?, bool, NSError?) fn, - ) : this._( - objc.newBlock( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - ffi.Pointer, - )>.listener( - _ObjCBlock_ffiVoid_NSURL_bool_NSError_closureTrampoline, - )..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSURL_bool_NSError_registerClosure(( - ffi.Pointer arg0, - bool arg1, - ffi.Pointer arg2, - ) => - fn( - arg0.address == 0 - ? null - : NSURL._(arg0, lib, retain: true, release: true), - arg1, - arg2.address == 0 - ? null - : NSError._(arg2, lib, retain: true, release: true), - )), - ), - lib); + ObjCBlock_ffiVoid_NSURL_bool_NSError.listener(void Function(NSURL?, bool, NSError?) fn) + : this._(objc.newBlock( + (_dartFuncListenerTrampoline ??= + ffi.NativeCallable, ffi.Pointer, ffi.Bool, ffi.Pointer)>.listener( + _ObjCBlock_ffiVoid_NSURL_bool_NSError_closureTrampoline) + ..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSURL_bool_NSError_registerClosure( + (ffi.Pointer arg0, bool arg1, + ffi.Pointer arg2) => + fn( + arg0.address == 0 + ? null + : NSURL._(arg0, retain: true, release: true), + arg1, + arg2.address == 0 + ? null + : NSError._(arg2, retain: true, release: true))))); static ffi.NativeCallable< ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - ffi.Pointer, - )>? _dartFuncListenerTrampoline; + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.Pointer)>? _dartFuncListenerTrampoline; void call(NSURL? arg0, bool arg1, NSError? arg2) => pointer.ref.invoke .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Bool arg1, - ffi.Pointer arg2, - )>>() + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Bool arg1, + ffi.Pointer arg2)>>() .asFunction< void Function( - ffi.Pointer, - ffi.Pointer, - bool, - ffi.Pointer, - )>()( - pointer, - arg0?.pointer ?? ffi.nullptr, - arg1, - arg2?.pointer ?? ffi.nullptr, - ); -} - + ffi.Pointer, + ffi.Pointer, + bool, + ffi.Pointer)>()(pointer, + arg0?.pointer ?? ffi.nullptr, arg1, arg2?.pointer ?? ffi.nullptr); +} + +late final _sel_registerFileRepresentationForTypeIdentifier_fileOptions_visibility_loadHandler_ = + objc.registerName( + "registerFileRepresentationForTypeIdentifier:fileOptions:visibility:loadHandler:"); +final _objc_msgSend_674 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer typeIdentifier, + ffi.Int32 fileOptions, + ffi.Int32 visibility, + ffi.Pointer loadHandler)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + int, + ffi.Pointer)>(); +late final _sel_registeredTypeIdentifiers = + objc.registerName("registeredTypeIdentifiers"); +late final _sel_registeredTypeIdentifiersWithFileOptions_ = + objc.registerName("registeredTypeIdentifiersWithFileOptions:"); +final _objc_msgSend_675 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Int32 fileOptions)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, int)>(); +late final _sel_hasItemConformingToTypeIdentifier_ = + objc.registerName("hasItemConformingToTypeIdentifier:"); +late final _sel_hasRepresentationConformingToTypeIdentifier_fileOptions_ = objc + .registerName("hasRepresentationConformingToTypeIdentifier:fileOptions:"); +final _objc_msgSend_676 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer typeIdentifier, + ffi.Int32 fileOptions)>>() + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int)>(); +late final _sel_loadDataRepresentationForTypeIdentifier_completionHandler_ = + objc.registerName( + "loadDataRepresentationForTypeIdentifier:completionHandler:"); +final _objc_msgSend_677 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer typeIdentifier, + ffi.Pointer completionHandler)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); void _ObjCBlock_ffiVoid_NSURL_NSError_fnPtrTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Pointer arg1, -) => + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1) => block.ref.target .cast< ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - )>>() + ffi.Void Function(ffi.Pointer arg0, + ffi.Pointer arg1)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer)>()(arg0, arg1); @@ -66562,44 +31727,32 @@ final _ObjCBlock_ffiVoid_NSURL_NSError_closureRegistry = , ffi.Pointer)>{}; int _ObjCBlock_ffiVoid_NSURL_NSError_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_ffiVoid_NSURL_NSError_registerClosure( - void Function(ffi.Pointer, ffi.Pointer) fn, -) { + void Function(ffi.Pointer, ffi.Pointer) + fn) { final id = ++_ObjCBlock_ffiVoid_NSURL_NSError_closureRegistryIndex; _ObjCBlock_ffiVoid_NSURL_NSError_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } void _ObjCBlock_ffiVoid_NSURL_NSError_closureTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Pointer arg1, -) => + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1) => _ObjCBlock_ffiVoid_NSURL_NSError_closureRegistry[block.ref.target.address]!( arg0, arg1); class ObjCBlock_ffiVoid_NSURL_NSError extends objc.ObjCBlockBase { - ObjCBlock_ffiVoid_NSURL_NSError._( - ffi.Pointer pointer, - this._lib, { - bool retain = false, - bool release = true, - }) : super(pointer, retain: retain, release: release); - - AVFAudio _lib; + ObjCBlock_ffiVoid_NSURL_NSError._(ffi.Pointer pointer, + {bool retain = false, bool release = true}) + : super(pointer, retain: retain, release: release); /// Returns a block that wraps the given raw block pointer. static ObjCBlock_ffiVoid_NSURL_NSError castFromPointer( - AVFAudio lib, - ffi.Pointer pointer, { - bool retain = false, - bool release = false, - }) { - return ObjCBlock_ffiVoid_NSURL_NSError._( - pointer, - lib, - retain: retain, - release: release, - ); + ffi.Pointer pointer, + {bool retain = false, + bool release = false}) { + return ObjCBlock_ffiVoid_NSURL_NSError._(pointer, + retain: retain, release: release); } /// Creates a block from a C function pointer. @@ -66608,26 +31761,20 @@ class ObjCBlock_ffiVoid_NSURL_NSError extends objc.ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSURL_NSError.fromFunctionPointer( - AVFAudio lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - )>> - ptr, - ) : this._( - objc.newBlock( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(_ObjCBlock_ffiVoid_NSURL_NSError_fnPtrTrampoline) - .cast(), - ptr.cast(), - ), - lib); + ffi.Pointer< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer arg0, + ffi.Pointer arg1)>> + ptr) + : this._(objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>( + _ObjCBlock_ffiVoid_NSURL_NSError_fnPtrTrampoline) + .cast(), + ptr.cast())); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -66635,32 +31782,18 @@ class ObjCBlock_ffiVoid_NSURL_NSError extends objc.ObjCBlockBase { /// This block must be invoked by native code running on the same thread as /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. - ObjCBlock_ffiVoid_NSURL_NSError.fromFunction( - AVFAudio lib, - void Function(NSURL?, NSError?) fn, - ) : this._( - objc.newBlock( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(_ObjCBlock_ffiVoid_NSURL_NSError_closureTrampoline) - .cast(), - _ObjCBlock_ffiVoid_NSURL_NSError_registerClosure(( - ffi.Pointer arg0, - ffi.Pointer arg1, - ) => - fn( - arg0.address == 0 - ? null - : NSURL._(arg0, lib, retain: true, release: true), - arg1.address == 0 - ? null - : NSError._(arg1, lib, retain: true, release: true), - )), - ), - lib); + ObjCBlock_ffiVoid_NSURL_NSError.fromFunction(void Function(NSURL?, NSError?) fn) + : this._(objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>( + _ObjCBlock_ffiVoid_NSURL_NSError_closureTrampoline) + .cast(), + _ObjCBlock_ffiVoid_NSURL_NSError_registerClosure((ffi.Pointer arg0, ffi.Pointer arg1) => fn( + arg0.address == 0 ? null : NSURL._(arg0, retain: true, release: true), + arg1.address == 0 ? null : NSError._(arg1, retain: true, release: true))))); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -66672,64 +31805,98 @@ class ObjCBlock_ffiVoid_NSURL_NSError extends objc.ObjCBlockBase { /// /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. - ObjCBlock_ffiVoid_NSURL_NSError.listener( - AVFAudio lib, - void Function(NSURL?, NSError?) fn, - ) : this._( - objc.newBlock( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>.listener( - _ObjCBlock_ffiVoid_NSURL_NSError_closureTrampoline, - )..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSURL_NSError_registerClosure(( - ffi.Pointer arg0, - ffi.Pointer arg1, - ) => - fn( - arg0.address == 0 - ? null - : NSURL._(arg0, lib, retain: true, release: true), - arg1.address == 0 - ? null - : NSError._(arg1, lib, retain: true, release: true), - )), - ), - lib); + ObjCBlock_ffiVoid_NSURL_NSError.listener(void Function(NSURL?, NSError?) fn) + : this._(objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>.listener( + _ObjCBlock_ffiVoid_NSURL_NSError_closureTrampoline) + ..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSURL_NSError_registerClosure( + (ffi.Pointer arg0, ffi.Pointer arg1) => fn( + arg0.address == 0 ? null : NSURL._(arg0, retain: true, release: true), + arg1.address == 0 ? null : NSError._(arg1, retain: true, release: true))))); static ffi.NativeCallable< ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>? _dartFuncListenerTrampoline; + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>? _dartFuncListenerTrampoline; void call(NSURL? arg0, NSError? arg1) => pointer.ref.invoke .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Pointer arg1, - )>>() + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1)>>() .asFunction< void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>()( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>()( pointer, arg0?.pointer ?? ffi.nullptr, arg1?.pointer ?? ffi.nullptr); } +late final _sel_loadFileRepresentationForTypeIdentifier_completionHandler_ = + objc.registerName( + "loadFileRepresentationForTypeIdentifier:completionHandler:"); +final _objc_msgSend_678 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer typeIdentifier, + ffi.Pointer completionHandler)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_loadInPlaceFileRepresentationForTypeIdentifier_completionHandler_ = + objc.registerName( + "loadInPlaceFileRepresentationForTypeIdentifier:completionHandler:"); +final _objc_msgSend_679 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer typeIdentifier, + ffi.Pointer completionHandler)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_suggestedName = objc.registerName("suggestedName"); +late final _sel_setSuggestedName_ = objc.registerName("setSuggestedName:"); +late final _sel_registerObject_visibility_ = + objc.registerName("registerObject:visibility:"); +final _objc_msgSend_680 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer object, + ffi.Int32 visibility)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int)>(); ffi.Pointer _ObjCBlock_NSProgress_ffiVoidobjcObjCObjectNSError_fnPtrTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, -) => + ffi.Pointer block, + ffi.Pointer arg0) => block.ref.target .cast< ffi.NativeFunction< @@ -66743,8 +31910,7 @@ final _ObjCBlock_NSProgress_ffiVoidobjcObjCObjectNSError_closureRegistry = int _ObjCBlock_NSProgress_ffiVoidobjcObjCObjectNSError_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_NSProgress_ffiVoidobjcObjCObjectNSError_registerClosure( - ffi.Pointer Function(ffi.Pointer) fn, -) { + ffi.Pointer Function(ffi.Pointer) fn) { final id = ++_ObjCBlock_NSProgress_ffiVoidobjcObjCObjectNSError_closureRegistryIndex; _ObjCBlock_NSProgress_ffiVoidobjcObjCObjectNSError_closureRegistry[id] = fn; @@ -66753,36 +31919,26 @@ ffi.Pointer ffi.Pointer _ObjCBlock_NSProgress_ffiVoidobjcObjCObjectNSError_closureTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, -) => + ffi.Pointer block, + ffi.Pointer arg0) => _ObjCBlock_NSProgress_ffiVoidobjcObjCObjectNSError_closureRegistry[ block.ref.target.address]!(arg0); class ObjCBlock_NSProgress_ffiVoidobjcObjCObjectNSError extends objc.ObjCBlockBase { ObjCBlock_NSProgress_ffiVoidobjcObjCObjectNSError._( - ffi.Pointer pointer, - this._lib, { - bool retain = false, - bool release = true, - }) : super(pointer, retain: retain, release: release); - - AVFAudio _lib; + ffi.Pointer pointer, + {bool retain = false, + bool release = true}) + : super(pointer, retain: retain, release: release); /// Returns a block that wraps the given raw block pointer. static ObjCBlock_NSProgress_ffiVoidobjcObjCObjectNSError castFromPointer( - AVFAudio lib, - ffi.Pointer pointer, { - bool retain = false, - bool release = false, - }) { - return ObjCBlock_NSProgress_ffiVoidobjcObjCObjectNSError._( - pointer, - lib, - retain: retain, - release: release, - ); + ffi.Pointer pointer, + {bool retain = false, + bool release = false}) { + return ObjCBlock_NSProgress_ffiVoidobjcObjCObjectNSError._(pointer, + retain: retain, release: release); } /// Creates a block from a C function pointer. @@ -66791,24 +31947,19 @@ class ObjCBlock_NSProgress_ffiVoidobjcObjCObjectNSError /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_NSProgress_ffiVoidobjcObjCObjectNSError.fromFunctionPointer( - AVFAudio lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer arg0)>> - ptr, - ) : this._( - objc.newBlock( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Pointer< + ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>( - _ObjCBlock_NSProgress_ffiVoidobjcObjCObjectNSError_fnPtrTrampoline, - ).cast(), - ptr.cast(), - ), - lib); + ffi.Pointer arg0)>> + ptr) + : this._(objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer)>( + _ObjCBlock_NSProgress_ffiVoidobjcObjCObjectNSError_fnPtrTrampoline) + .cast(), + ptr.cast())); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -66817,78 +31968,49 @@ class ObjCBlock_NSProgress_ffiVoidobjcObjCObjectNSError /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_NSProgress_ffiVoidobjcObjCObjectNSError.fromFunction( - AVFAudio lib, - NSProgress? Function(ObjCBlock_ffiVoid_objcObjCObject_NSError) fn, - ) : this._( - objc.newBlock( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>( - _ObjCBlock_NSProgress_ffiVoidobjcObjCObjectNSError_closureTrampoline, - ).cast(), - _ObjCBlock_NSProgress_ffiVoidobjcObjCObjectNSError_registerClosure( - ( - ffi.Pointer arg0, - ) => - fn(ObjCBlock_ffiVoid_objcObjCObject_NSError._( - arg0, - lib, - retain: true, - release: true, - ))?.retainAndReturnPointer() ?? - ffi.nullptr), - ), - lib); + NSProgress? Function(ObjCBlock_ffiVoid_objcObjCObject_NSError) fn) + : this._(objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer)>( + _ObjCBlock_NSProgress_ffiVoidobjcObjCObjectNSError_closureTrampoline) + .cast(), + _ObjCBlock_NSProgress_ffiVoidobjcObjCObjectNSError_registerClosure( + (ffi.Pointer arg0) => + fn(ObjCBlock_ffiVoid_objcObjCObject_NSError._(arg0, retain: true, release: true)) + ?.retainAndReturnPointer() ?? + ffi.nullptr))); static ffi.Pointer? _dartFuncTrampoline; - - NSProgress? call(ObjCBlock_ffiVoid_objcObjCObject_NSError arg0) => - pointer.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer block, - ffi.Pointer arg0, - )>>() - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>()(pointer, arg0.pointer) - .address == - 0 - ? null - : NSProgress._( - pointer.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer block, - ffi.Pointer arg0, - )>>() - .asFunction< + + NSProgress? call(ObjCBlock_ffiVoid_objcObjCObject_NSError arg0) => pointer.ref.invoke + .cast< + ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>()(pointer, arg0.pointer), - _lib, - retain: false, - release: true); + ffi.Pointer block, + ffi.Pointer arg0)>>() + .asFunction Function(ffi.Pointer, ffi.Pointer)>() + (pointer, arg0.pointer) + .address == + 0 + ? null + : NSProgress._( + pointer.ref.invoke.cast Function(ffi.Pointer block, ffi.Pointer arg0)>>().asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>()(pointer, arg0.pointer), + retain: false, + release: true); } void _ObjCBlock_ffiVoid_objcObjCObject_NSError_fnPtrTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Pointer arg1, -) => + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1) => block.ref.target .cast< ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - )>>() + ffi.Void Function(ffi.Pointer arg0, + ffi.Pointer arg1)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer)>()(arg0, arg1); @@ -66897,44 +32019,34 @@ final _ObjCBlock_ffiVoid_objcObjCObject_NSError_closureRegistry = , ffi.Pointer)>{}; int _ObjCBlock_ffiVoid_objcObjCObject_NSError_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_ffiVoid_objcObjCObject_NSError_registerClosure( - void Function(ffi.Pointer, ffi.Pointer) fn, -) { + void Function(ffi.Pointer, ffi.Pointer) + fn) { final id = ++_ObjCBlock_ffiVoid_objcObjCObject_NSError_closureRegistryIndex; _ObjCBlock_ffiVoid_objcObjCObject_NSError_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } void _ObjCBlock_ffiVoid_objcObjCObject_NSError_closureTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Pointer arg1, -) => + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1) => _ObjCBlock_ffiVoid_objcObjCObject_NSError_closureRegistry[ block.ref.target.address]!(arg0, arg1); class ObjCBlock_ffiVoid_objcObjCObject_NSError extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_objcObjCObject_NSError._( - ffi.Pointer pointer, - this._lib, { - bool retain = false, - bool release = true, - }) : super(pointer, retain: retain, release: release); - - AVFAudio _lib; + ffi.Pointer pointer, + {bool retain = false, + bool release = true}) + : super(pointer, retain: retain, release: release); /// Returns a block that wraps the given raw block pointer. static ObjCBlock_ffiVoid_objcObjCObject_NSError castFromPointer( - AVFAudio lib, - ffi.Pointer pointer, { - bool retain = false, - bool release = false, - }) { - return ObjCBlock_ffiVoid_objcObjCObject_NSError._( - pointer, - lib, - retain: retain, - release: release, - ); + ffi.Pointer pointer, + {bool retain = false, + bool release = false}) { + return ObjCBlock_ffiVoid_objcObjCObject_NSError._(pointer, + retain: retain, release: release); } /// Creates a block from a C function pointer. @@ -66943,27 +32055,22 @@ class ObjCBlock_ffiVoid_objcObjCObject_NSError extends objc.ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_objcObjCObject_NSError.fromFunctionPointer( - AVFAudio lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - )>> - ptr, - ) : this._( - objc.newBlock( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( + ffi + .Pointer< + ffi + .NativeFunction< + ffi.Void Function(ffi.Pointer arg0, + ffi.Pointer arg1)>> + ptr) + : this._(objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( ffi.Pointer, ffi.Pointer, - ffi.Pointer, - )>( - _ObjCBlock_ffiVoid_objcObjCObject_NSError_fnPtrTrampoline) - .cast(), - ptr.cast(), - ), - lib); + ffi.Pointer)>( + _ObjCBlock_ffiVoid_objcObjCObject_NSError_fnPtrTrampoline) + .cast(), + ptr.cast())); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -66972,32 +32079,20 @@ class ObjCBlock_ffiVoid_objcObjCObject_NSError extends objc.ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_objcObjCObject_NSError.fromFunction( - AVFAudio lib, - void Function(NSObject?, NSError?) fn, - ) : this._( - objc.newBlock( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>( - _ObjCBlock_ffiVoid_objcObjCObject_NSError_closureTrampoline, - ).cast(), - _ObjCBlock_ffiVoid_objcObjCObject_NSError_registerClosure(( - ffi.Pointer arg0, - ffi.Pointer arg1, - ) => - fn( + void Function(NSObject?, NSError?) fn) + : this._(objc.newBlock( + _dartFuncTrampoline ??= + ffi.Pointer.fromFunction, ffi.Pointer, ffi.Pointer)>( + _ObjCBlock_ffiVoid_objcObjCObject_NSError_closureTrampoline) + .cast(), + _ObjCBlock_ffiVoid_objcObjCObject_NSError_registerClosure( + (ffi.Pointer arg0, ffi.Pointer arg1) => fn( arg0.address == 0 ? null - : NSObject._(arg0, lib, retain: true, release: true), + : NSObject._(arg0, retain: true, release: true), arg1.address == 0 ? null - : NSError._(arg1, lib, retain: true, release: true), - )), - ), - lib); + : NSError._(arg1, retain: true, release: true))))); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -67010,96 +32105,126 @@ class ObjCBlock_ffiVoid_objcObjCObject_NSError extends objc.ObjCBlockBase { /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. ObjCBlock_ffiVoid_objcObjCObject_NSError.listener( - AVFAudio lib, - void Function(NSObject?, NSError?) fn, - ) : this._( - objc.newBlock( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>.listener( - _ObjCBlock_ffiVoid_objcObjCObject_NSError_closureTrampoline, - )..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_objcObjCObject_NSError_registerClosure(( - ffi.Pointer arg0, - ffi.Pointer arg1, - ) => - fn( - arg0.address == 0 - ? null - : NSObject._(arg0, lib, retain: true, release: true), - arg1.address == 0 - ? null - : NSError._(arg1, lib, retain: true, release: true), - )), - ), - lib); + void Function(NSObject?, NSError?) fn) + : this._(objc.newBlock( + (_dartFuncListenerTrampoline ??= + ffi.NativeCallable, ffi.Pointer, ffi.Pointer)>.listener( + _ObjCBlock_ffiVoid_objcObjCObject_NSError_closureTrampoline) + ..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_objcObjCObject_NSError_registerClosure( + (ffi.Pointer arg0, + ffi.Pointer arg1) => + fn( + arg0.address == 0 + ? null + : NSObject._(arg0, retain: true, release: true), + arg1.address == 0 + ? null + : NSError._(arg1, retain: true, release: true))))); static ffi.NativeCallable< ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>? _dartFuncListenerTrampoline; + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>? _dartFuncListenerTrampoline; void call(NSObject? arg0, NSError? arg1) => pointer.ref.invoke .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Pointer arg1, - )>>() + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1)>>() .asFunction< void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>()( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>()( pointer, arg0?.pointer ?? ffi.nullptr, arg1?.pointer ?? ffi.nullptr); } +late final _sel_registerObjectOfClass_visibility_loadHandler_ = + objc.registerName("registerObjectOfClass:visibility:loadHandler:"); +final _objc_msgSend_681 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer aClass, + ffi.Int32 visibility, + ffi.Pointer loadHandler)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer)>(); +late final _sel_canLoadObjectOfClass_ = + objc.registerName("canLoadObjectOfClass:"); +late final _sel_loadObjectOfClass_completionHandler_ = + objc.registerName("loadObjectOfClass:completionHandler:"); +final _objc_msgSend_682 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer aClass, + ffi.Pointer completionHandler)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_initWithItem_typeIdentifier_ = + objc.registerName("initWithItem:typeIdentifier:"); +final _objc_msgSend_683 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer item, + ffi.Pointer typeIdentifier)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); void _ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary_fnPtrTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2, -) => + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2) => block.ref.target .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2, - )>>() + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2)>>() .asFunction< void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>()(arg0, arg1, arg2); + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>()(arg0, arg1, arg2); final _ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary_closureRegistry = , - ffi.Pointer, - ffi.Pointer, -)>{}; + void Function(ffi.Pointer, ffi.Pointer, + ffi.Pointer)>{}; int _ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary_registerClosure( - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) fn, -) { + void Function(ffi.Pointer, ffi.Pointer, + ffi.Pointer) + fn) { final id = ++_ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary_closureRegistryIndex; _ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary_closureRegistry[ @@ -67107,42 +32232,28 @@ ffi.Pointer return ffi.Pointer.fromAddress(id); } -void - _ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary_closureTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2, -) => - _ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary_closureRegistry[ - block.ref.target.address]!(arg0, arg1, arg2); +void _ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary_closureTrampoline( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2) => + _ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary_closureRegistry[ + block.ref.target.address]!(arg0, arg1, arg2); class ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary._( - ffi.Pointer pointer, - this._lib, { - bool retain = false, - bool release = true, - }) : super(pointer, retain: retain, release: release); - - AVFAudio _lib; + ffi.Pointer pointer, + {bool retain = false, + bool release = true}) + : super(pointer, retain: retain, release: release); /// Returns a block that wraps the given raw block pointer. static ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary - castFromPointer( - AVFAudio lib, - ffi.Pointer pointer, { - bool retain = false, - bool release = false, - }) { + castFromPointer(ffi.Pointer pointer, + {bool retain = false, bool release = false}) { return ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary - ._( - pointer, - lib, - retain: retain, - release: release, - ); + ._(pointer, retain: retain, release: release); } /// Creates a block from a C function pointer. @@ -67151,29 +32262,23 @@ class ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary.fromFunctionPointer( - AVFAudio lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2, - )>> - ptr, - ) : this._( - objc.newBlock( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Pointer< + ffi.NativeFunction< ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>( - _ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary_fnPtrTrampoline, - ).cast(), - ptr.cast(), - ), - lib); + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2)>> + ptr) + : this._(objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>( + _ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary_fnPtrTrampoline) + .cast(), + ptr.cast())); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -67182,42 +32287,19 @@ class ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary.fromFunction( - AVFAudio lib, - void Function( - ObjCBlock_ffiVoid_objcObjCObject_NSError1, - NSObject, - NSDictionary, - ) fn, - ) : this._( - objc.newBlock( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>( - _ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary_closureTrampoline, - ).cast(), - _ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary_registerClosure( - ( - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2, - ) => + void Function(ObjCBlock_ffiVoid_objcObjCObject_NSError1, NSObject, NSDictionary) + fn) + : this._(objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction, ffi.Pointer, ffi.Pointer, ffi.Pointer)>(_ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary_closureTrampoline) + .cast(), + _ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary_registerClosure( + (ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2) => fn( - ObjCBlock_ffiVoid_objcObjCObject_NSError1._( - arg0, - lib, - retain: true, - release: true, - ), - NSObject._(arg1, lib, retain: true, release: true), - NSDictionary._(arg2, lib, retain: true, release: true), - ), - ), - ), - lib); + ObjCBlock_ffiVoid_objcObjCObject_NSError1._(arg0, retain: true, release: true), + NSObject._(arg1, retain: true, release: true), + NSDictionary._(arg2, retain: true, release: true))))); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -67230,87 +32312,57 @@ class ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary.listener( - AVFAudio lib, - void Function( - ObjCBlock_ffiVoid_objcObjCObject_NSError1, - NSObject, - NSDictionary, - ) fn, - ) : this._( - objc.newBlock( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>.listener( - _ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary_closureTrampoline, - )..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary_registerClosure( - ( - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2, - ) => + void Function(ObjCBlock_ffiVoid_objcObjCObject_NSError1, NSObject, NSDictionary) + fn) + : this._(objc.newBlock( + (_dartFuncListenerTrampoline ??= + ffi.NativeCallable, ffi.Pointer, ffi.Pointer, ffi.Pointer)>.listener(_ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary_closureTrampoline) + ..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary_registerClosure( + (ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2) => fn( - ObjCBlock_ffiVoid_objcObjCObject_NSError1._( - arg0, - lib, - retain: true, - release: true, - ), - NSObject._(arg1, lib, retain: true, release: true), - NSDictionary._(arg2, lib, retain: true, release: true), - ), - ), - ), - lib); + ObjCBlock_ffiVoid_objcObjCObject_NSError1._(arg0, retain: true, release: true), + NSObject._(arg1, retain: true, release: true), + NSDictionary._(arg2, retain: true, release: true))))); static ffi.NativeCallable< ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>? _dartFuncListenerTrampoline; - - void call( - ObjCBlock_ffiVoid_objcObjCObject_NSError1 arg0, - NSObject arg1, - NSDictionary arg2, - ) => + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>? _dartFuncListenerTrampoline; + + void call(ObjCBlock_ffiVoid_objcObjCObject_NSError1 arg0, NSObject arg1, + NSDictionary arg2) => pointer.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2, - )>>() - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>()(pointer, arg0.pointer, arg1.pointer, arg2.pointer); + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>()( + pointer, arg0.pointer, arg1.pointer, arg2.pointer); } void _ObjCBlock_ffiVoid_objcObjCObject_NSError1_fnPtrTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Pointer arg1, -) => + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1) => block.ref.target .cast< ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - )>>() + ffi.Void Function(ffi.Pointer arg0, + ffi.Pointer arg1)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer)>()(arg0, arg1); @@ -67320,44 +32372,35 @@ final _ObjCBlock_ffiVoid_objcObjCObject_NSError1_closureRegistry = _ObjCBlock_ffiVoid_objcObjCObject_NSError1_registerClosure( - void Function(ffi.Pointer, ffi.Pointer) fn, -) { + void Function( + ffi.Pointer, ffi.Pointer) + fn) { final id = ++_ObjCBlock_ffiVoid_objcObjCObject_NSError1_closureRegistryIndex; _ObjCBlock_ffiVoid_objcObjCObject_NSError1_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } void _ObjCBlock_ffiVoid_objcObjCObject_NSError1_closureTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Pointer arg1, -) => + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1) => _ObjCBlock_ffiVoid_objcObjCObject_NSError1_closureRegistry[ block.ref.target.address]!(arg0, arg1); class ObjCBlock_ffiVoid_objcObjCObject_NSError1 extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_objcObjCObject_NSError1._( - ffi.Pointer pointer, - this._lib, { - bool retain = false, - bool release = true, - }) : super(pointer, retain: retain, release: release); - - AVFAudio _lib; + ffi.Pointer pointer, + {bool retain = false, + bool release = true}) + : super(pointer, retain: retain, release: release); /// Returns a block that wraps the given raw block pointer. static ObjCBlock_ffiVoid_objcObjCObject_NSError1 castFromPointer( - AVFAudio lib, - ffi.Pointer pointer, { - bool retain = false, - bool release = false, - }) { - return ObjCBlock_ffiVoid_objcObjCObject_NSError1._( - pointer, - lib, - retain: retain, - release: release, - ); + ffi.Pointer pointer, + {bool retain = false, + bool release = false}) { + return ObjCBlock_ffiVoid_objcObjCObject_NSError1._(pointer, + retain: retain, release: release); } /// Creates a block from a C function pointer. @@ -67366,27 +32409,20 @@ class ObjCBlock_ffiVoid_objcObjCObject_NSError1 extends objc.ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_objcObjCObject_NSError1.fromFunctionPointer( - AVFAudio lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - )>> - ptr, - ) : this._( - objc.newBlock( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>( - _ObjCBlock_ffiVoid_objcObjCObject_NSError1_fnPtrTrampoline, - ).cast(), - ptr.cast(), - ), - lib); + ffi.Pointer< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer arg0, + ffi.Pointer arg1)>> + ptr) + : this._(objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>( + _ObjCBlock_ffiVoid_objcObjCObject_NSError1_fnPtrTrampoline) + .cast(), + ptr.cast())); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -67395,30 +32431,19 @@ class ObjCBlock_ffiVoid_objcObjCObject_NSError1 extends objc.ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_objcObjCObject_NSError1.fromFunction( - AVFAudio lib, - void Function(NSObject?, NSError) fn, - ) : this._( - objc.newBlock( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>( - _ObjCBlock_ffiVoid_objcObjCObject_NSError1_closureTrampoline, - ).cast(), - _ObjCBlock_ffiVoid_objcObjCObject_NSError1_registerClosure(( - ffi.Pointer arg0, - ffi.Pointer arg1, - ) => - fn( - arg0.address == 0 - ? null - : NSObject._(arg0, lib, retain: true, release: true), - NSError._(arg1, lib, retain: true, release: true), - )), - ), - lib); + void Function(NSObject?, NSError) fn) + : this._(objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>( + _ObjCBlock_ffiVoid_objcObjCObject_NSError1_closureTrampoline) + .cast(), + _ObjCBlock_ffiVoid_objcObjCObject_NSError1_registerClosure( + (ffi.Pointer arg0, + ffi.Pointer arg1) => + fn(arg0.address == 0 ? null : NSObject._(arg0, retain: true, release: true), NSError._(arg1, retain: true, release: true))))); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -67430,2521 +32455,2397 @@ class ObjCBlock_ffiVoid_objcObjCObject_NSError1 extends objc.ObjCBlockBase { /// /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. - ObjCBlock_ffiVoid_objcObjCObject_NSError1.listener( - AVFAudio lib, - void Function(NSObject?, NSError) fn, - ) : this._( - objc.newBlock( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>.listener( - _ObjCBlock_ffiVoid_objcObjCObject_NSError1_closureTrampoline, - )..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_objcObjCObject_NSError1_registerClosure(( - ffi.Pointer arg0, - ffi.Pointer arg1, - ) => - fn( - arg0.address == 0 - ? null - : NSObject._(arg0, lib, retain: true, release: true), - NSError._(arg1, lib, retain: true, release: true), - )), - ), - lib); + ObjCBlock_ffiVoid_objcObjCObject_NSError1.listener(void Function(NSObject?, NSError) fn) + : this._(objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>.listener( + _ObjCBlock_ffiVoid_objcObjCObject_NSError1_closureTrampoline) + ..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_objcObjCObject_NSError1_registerClosure( + (ffi.Pointer arg0, ffi.Pointer arg1) => fn( + arg0.address == 0 ? null : NSObject._(arg0, retain: true, release: true), + NSError._(arg1, retain: true, release: true))))); static ffi.NativeCallable< ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>? _dartFuncListenerTrampoline; + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>? _dartFuncListenerTrampoline; void call(NSObject? arg0, NSError arg1) => pointer.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Pointer arg1, - )>>() - .asFunction< - void Function( - ffi.Pointer, + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>()( + pointer, arg0?.pointer ?? ffi.nullptr, arg1.pointer); +} + +late final _sel_registerItemForTypeIdentifier_loadHandler_ = + objc.registerName("registerItemForTypeIdentifier:loadHandler:"); +final _objc_msgSend_684 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer typeIdentifier, + ffi.Pointer loadHandler)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, ffi.Pointer, + ffi.Pointer)>(); +late final _sel_loadItemForTypeIdentifier_options_completionHandler_ = + objc.registerName("loadItemForTypeIdentifier:options:completionHandler:"); +final _objc_msgSend_685 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer typeIdentifier, + ffi.Pointer options, + ffi.Pointer completionHandler)>>() + .asFunction< + void Function( ffi.Pointer, - )>()(pointer, arg0?.pointer ?? ffi.nullptr, arg1.pointer); -} + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_previewImageHandler = objc.registerName("previewImageHandler"); +final _objc_msgSend_686 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_setPreviewImageHandler_ = + objc.registerName("setPreviewImageHandler:"); +final _objc_msgSend_687 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_loadPreviewImageWithOptions_completionHandler_ = + objc.registerName("loadPreviewImageWithOptions:completionHandler:"); +final _objc_msgSend_688 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer options, + ffi.Pointer completionHandler)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); class NSMutableString extends NSString { - NSMutableString._( - ffi.Pointer pointer, - AVFAudio lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSMutableString._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSMutableString] that points to the same underlying object as [other]. - static NSMutableString castFrom( - AVFAudio lib, - T other, - ) { - return NSMutableString._(other.pointer, lib, retain: true, release: true); + static NSMutableString castFrom(T other) { + return NSMutableString._(other.pointer, retain: true, release: true); } /// Returns a [NSMutableString] that wraps the given raw object pointer. - static NSMutableString castFromPointer( - AVFAudio lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSMutableString._(other, lib, retain: retain, release: release); + static NSMutableString castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSMutableString._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSMutableString]. - static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSMutableString1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0( + obj.pointer, _sel_isKindOfClass_, _class_NSMutableString); } void replaceCharactersInRange_withString_(_NSRange range, NSString aString) { - _lib._objc_msgSend_689( - this.pointer, - _lib._sel_replaceCharactersInRange_withString_1, - range, - aString.pointer, - ); + _objc_msgSend_689(this.pointer, _sel_replaceCharactersInRange_withString_, + range, aString.pointer); } void insertString_atIndex_(NSString aString, int loc) { - _lib._objc_msgSend_690( - this.pointer, - _lib._sel_insertString_atIndex_1, - aString.pointer, - loc, - ); + _objc_msgSend_690( + this.pointer, _sel_insertString_atIndex_, aString.pointer, loc); } void deleteCharactersInRange_(_NSRange range) { - _lib._objc_msgSend_476( - this.pointer, - _lib._sel_deleteCharactersInRange_1, - range, - ); + _objc_msgSend_476(this.pointer, _sel_deleteCharactersInRange_, range); } void appendString_(NSString aString) { - _lib._objc_msgSend_247( - this.pointer, - _lib._sel_appendString_1, - aString.pointer, - ); + _objc_msgSend_247(this.pointer, _sel_appendString_, aString.pointer); } void appendFormat_(NSString format) { - _lib._objc_msgSend_247( - this.pointer, - _lib._sel_appendFormat_1, - format.pointer, - ); + _objc_msgSend_247(this.pointer, _sel_appendFormat_, format.pointer); } void setString_(NSString aString) { - _lib._objc_msgSend_247( - this.pointer, - _lib._sel_setString_1, - aString.pointer, - ); - } - - int replaceOccurrencesOfString_withString_options_range_( - NSString target, - NSString replacement, - int options, - _NSRange searchRange, - ) { - return _lib._objc_msgSend_691( - this.pointer, - _lib._sel_replaceOccurrencesOfString_withString_options_range_1, - target.pointer, - replacement.pointer, - options, - searchRange, - ); - } - - bool applyTransform_reverse_range_updatedRange_( - NSString transform, - bool reverse, - _NSRange range, - ffi.Pointer<_NSRange> resultingRange, - ) { - return _lib._objc_msgSend_692( - this.pointer, - _lib._sel_applyTransform_reverse_range_updatedRange_1, - transform.pointer, - reverse, - range, - resultingRange, - ); + _objc_msgSend_247(this.pointer, _sel_setString_, aString.pointer); + } + + int replaceOccurrencesOfString_withString_options_range_(NSString target, + NSString replacement, int options, _NSRange searchRange) { + return _objc_msgSend_691( + this.pointer, + _sel_replaceOccurrencesOfString_withString_options_range_, + target.pointer, + replacement.pointer, + options, + searchRange); + } + + bool applyTransform_reverse_range_updatedRange_(NSString transform, + bool reverse, _NSRange range, ffi.Pointer<_NSRange> resultingRange) { + return _objc_msgSend_692( + this.pointer, + _sel_applyTransform_reverse_range_updatedRange_, + transform.pointer, + reverse, + range, + resultingRange); } NSMutableString initWithCapacity_(int capacity) { - final _ret = _lib._objc_msgSend_693( - this.pointer, - _lib._sel_initWithCapacity_1, - capacity, - ); - return NSMutableString._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_693(this.pointer, _sel_initWithCapacity_, capacity); + return NSMutableString._(_ret, retain: true, release: true); } - static NSMutableString stringWithCapacity_(AVFAudio _lib, int capacity) { - final _ret = _lib._objc_msgSend_693( - _lib._class_NSMutableString1, - _lib._sel_stringWithCapacity_1, - capacity, - ); - return NSMutableString._(_ret, _lib, retain: true, release: true); + static NSMutableString stringWithCapacity_(int capacity) { + final _ret = _objc_msgSend_693( + _class_NSMutableString, _sel_stringWithCapacity_, capacity); + return NSMutableString._(_ret, retain: true, release: true); } @override NSMutableString init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSMutableString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSMutableString._(_ret, retain: true, release: true); } @override NSMutableString? initWithCoder_(NSCoder coder) { - final _ret = _lib._objc_msgSend_47( - this.pointer, - _lib._sel_initWithCoder_1, - coder.pointer, - ); + final _ret = + _objc_msgSend_47(this.pointer, _sel_initWithCoder_, coder.pointer); return _ret.address == 0 ? null - : NSMutableString._(_ret, _lib, retain: true, release: true); + : NSMutableString._(_ret, retain: true, release: true); } - static ffi.Pointer getAvailableStringEncodings( - AVFAudio _lib, - ) { - return _lib._objc_msgSend_357( - _lib._class_NSMutableString1, - _lib._sel_availableStringEncodings1, - ); + static ffi.Pointer getAvailableStringEncodings() { + return _objc_msgSend_357( + _class_NSMutableString, _sel_availableStringEncodings); } - static NSString localizedNameOfStringEncoding_(AVFAudio _lib, int encoding) { - final _ret = _lib._objc_msgSend_332( - _lib._class_NSMutableString1, - _lib._sel_localizedNameOfStringEncoding_1, - encoding, - ); - return NSString._(_ret, _lib, retain: true, release: true); + static NSString localizedNameOfStringEncoding_(int encoding) { + final _ret = _objc_msgSend_332( + _class_NSMutableString, _sel_localizedNameOfStringEncoding_, encoding); + return NSString._(_ret, retain: true, release: true); } - static int getDefaultCStringEncoding(AVFAudio _lib) { - return _lib._objc_msgSend_10( - _lib._class_NSMutableString1, - _lib._sel_defaultCStringEncoding1, - ); + static int getDefaultCStringEncoding() { + return _objc_msgSend_10( + _class_NSMutableString, _sel_defaultCStringEncoding); } @override NSMutableString initWithCharactersNoCopy_length_freeWhenDone_( - ffi.Pointer characters, - int length, - bool freeBuffer, - ) { - final _ret = _lib._objc_msgSend_369( - this.pointer, - _lib._sel_initWithCharactersNoCopy_length_freeWhenDone_1, - characters, - length, - freeBuffer, - ); - return NSMutableString._(_ret, _lib, retain: false, release: true); + ffi.Pointer characters, int length, bool freeBuffer) { + final _ret = _objc_msgSend_369( + this.pointer, + _sel_initWithCharactersNoCopy_length_freeWhenDone_, + characters, + length, + freeBuffer); + return NSMutableString._(_ret, retain: false, release: true); } @override NSMutableString initWithCharactersNoCopy_length_deallocator_( - ffi.Pointer chars, - int len, - ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong? deallocator, - ) { - final _ret = _lib._objc_msgSend_370( - this.pointer, - _lib._sel_initWithCharactersNoCopy_length_deallocator_1, - chars, - len, - deallocator?.pointer ?? ffi.nullptr, - ); - return NSMutableString._(_ret, _lib, retain: false, release: true); + ffi.Pointer chars, + int len, + ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong? deallocator) { + final _ret = _objc_msgSend_370( + this.pointer, + _sel_initWithCharactersNoCopy_length_deallocator_, + chars, + len, + deallocator?.pointer ?? ffi.nullptr); + return NSMutableString._(_ret, retain: false, release: true); } @override NSMutableString initWithCharacters_length_( - ffi.Pointer characters, - int length, - ) { - final _ret = _lib._objc_msgSend_371( - this.pointer, - _lib._sel_initWithCharacters_length_1, - characters, - length, - ); - return NSMutableString._(_ret, _lib, retain: true, release: true); + ffi.Pointer characters, int length) { + final _ret = _objc_msgSend_371( + this.pointer, _sel_initWithCharacters_length_, characters, length); + return NSMutableString._(_ret, retain: true, release: true); } @override NSMutableString? initWithUTF8String_( - ffi.Pointer nullTerminatedCString, - ) { - final _ret = _lib._objc_msgSend_372( - this.pointer, - _lib._sel_initWithUTF8String_1, - nullTerminatedCString, - ); + ffi.Pointer nullTerminatedCString) { + final _ret = _objc_msgSend_372( + this.pointer, _sel_initWithUTF8String_, nullTerminatedCString); return _ret.address == 0 ? null - : NSMutableString._(_ret, _lib, retain: true, release: true); + : NSMutableString._(_ret, retain: true, release: true); } @override NSMutableString initWithString_(NSString aString) { - final _ret = _lib._objc_msgSend_31( - this.pointer, - _lib._sel_initWithString_1, - aString.pointer, - ); - return NSMutableString._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_31(this.pointer, _sel_initWithString_, aString.pointer); + return NSMutableString._(_ret, retain: true, release: true); } @override NSMutableString initWithFormat_(NSString format) { - final _ret = _lib._objc_msgSend_31( - this.pointer, - _lib._sel_initWithFormat_1, - format.pointer, - ); - return NSMutableString._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_31(this.pointer, _sel_initWithFormat_, format.pointer); + return NSMutableString._(_ret, retain: true, release: true); } @override NSMutableString initWithFormat_arguments_( - NSString format, - ffi.Pointer<__va_list_tag> argList, - ) { - final _ret = _lib._objc_msgSend_373( - this.pointer, - _lib._sel_initWithFormat_arguments_1, - format.pointer, - argList, - ); - return NSMutableString._(_ret, _lib, retain: true, release: true); + NSString format, ffi.Pointer<__va_list_tag> argList) { + final _ret = _objc_msgSend_373( + this.pointer, _sel_initWithFormat_arguments_, format.pointer, argList); + return NSMutableString._(_ret, retain: true, release: true); } @override NSMutableString initWithFormat_locale_(NSString format, NSObject? locale) { - final _ret = _lib._objc_msgSend_374( - this.pointer, - _lib._sel_initWithFormat_locale_1, - format.pointer, - locale?.pointer ?? ffi.nullptr, - ); - return NSMutableString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_374(this.pointer, _sel_initWithFormat_locale_, + format.pointer, locale?.pointer ?? ffi.nullptr); + return NSMutableString._(_ret, retain: true, release: true); } @override NSMutableString initWithFormat_locale_arguments_( - NSString format, - NSObject? locale, - ffi.Pointer<__va_list_tag> argList, - ) { - final _ret = _lib._objc_msgSend_375( - this.pointer, - _lib._sel_initWithFormat_locale_arguments_1, - format.pointer, - locale?.pointer ?? ffi.nullptr, - argList, - ); - return NSMutableString._(_ret, _lib, retain: true, release: true); + NSString format, NSObject? locale, ffi.Pointer<__va_list_tag> argList) { + final _ret = _objc_msgSend_375( + this.pointer, + _sel_initWithFormat_locale_arguments_, + format.pointer, + locale?.pointer ?? ffi.nullptr, + argList); + return NSMutableString._(_ret, retain: true, release: true); } @override NSMutableString? initWithValidatedFormat_validFormatSpecifiers_error_( - NSString format, - NSString validFormatSpecifiers, - ffi.Pointer> error, - ) { - final _ret = _lib._objc_msgSend_376( - this.pointer, - _lib._sel_initWithValidatedFormat_validFormatSpecifiers_error_1, - format.pointer, - validFormatSpecifiers.pointer, - error, - ); + NSString format, + NSString validFormatSpecifiers, + ffi.Pointer> error) { + final _ret = _objc_msgSend_376( + this.pointer, + _sel_initWithValidatedFormat_validFormatSpecifiers_error_, + format.pointer, + validFormatSpecifiers.pointer, + error); return _ret.address == 0 ? null - : NSMutableString._(_ret, _lib, retain: true, release: true); + : NSMutableString._(_ret, retain: true, release: true); } @override NSMutableString? initWithValidatedFormat_validFormatSpecifiers_locale_error_( - NSString format, - NSString validFormatSpecifiers, - NSObject? locale, - ffi.Pointer> error, - ) { - final _ret = _lib._objc_msgSend_377( - this.pointer, - _lib._sel_initWithValidatedFormat_validFormatSpecifiers_locale_error_1, - format.pointer, - validFormatSpecifiers.pointer, - locale?.pointer ?? ffi.nullptr, - error, - ); + NSString format, + NSString validFormatSpecifiers, + NSObject? locale, + ffi.Pointer> error) { + final _ret = _objc_msgSend_377( + this.pointer, + _sel_initWithValidatedFormat_validFormatSpecifiers_locale_error_, + format.pointer, + validFormatSpecifiers.pointer, + locale?.pointer ?? ffi.nullptr, + error); return _ret.address == 0 ? null - : NSMutableString._(_ret, _lib, retain: true, release: true); + : NSMutableString._(_ret, retain: true, release: true); } @override NSMutableString? initWithValidatedFormat_validFormatSpecifiers_arguments_error_( - NSString format, - NSString validFormatSpecifiers, - ffi.Pointer<__va_list_tag> argList, - ffi.Pointer> error, - ) { - final _ret = _lib._objc_msgSend_378( - this.pointer, - _lib._sel_initWithValidatedFormat_validFormatSpecifiers_arguments_error_1, - format.pointer, - validFormatSpecifiers.pointer, - argList, - error, - ); + NSString format, + NSString validFormatSpecifiers, + ffi.Pointer<__va_list_tag> argList, + ffi.Pointer> error) { + final _ret = _objc_msgSend_378( + this.pointer, + _sel_initWithValidatedFormat_validFormatSpecifiers_arguments_error_, + format.pointer, + validFormatSpecifiers.pointer, + argList, + error); return _ret.address == 0 ? null - : NSMutableString._(_ret, _lib, retain: true, release: true); + : NSMutableString._(_ret, retain: true, release: true); } @override NSMutableString? initWithValidatedFormat_validFormatSpecifiers_locale_arguments_error_( - NSString format, - NSString validFormatSpecifiers, - NSObject? locale, - ffi.Pointer<__va_list_tag> argList, - ffi.Pointer> error, - ) { - final _ret = _lib._objc_msgSend_379( - this.pointer, - _lib._sel_initWithValidatedFormat_validFormatSpecifiers_locale_arguments_error_1, - format.pointer, - validFormatSpecifiers.pointer, - locale?.pointer ?? ffi.nullptr, - argList, - error, - ); - return _ret.address == 0 - ? null - : NSMutableString._(_ret, _lib, retain: true, release: true); + NSString format, + NSString validFormatSpecifiers, + NSObject? locale, + ffi.Pointer<__va_list_tag> argList, + ffi.Pointer> error) { + final _ret = _objc_msgSend_379( + this.pointer, + _sel_initWithValidatedFormat_validFormatSpecifiers_locale_arguments_error_, + format.pointer, + validFormatSpecifiers.pointer, + locale?.pointer ?? ffi.nullptr, + argList, + error); + return _ret.address == 0 + ? null + : NSMutableString._(_ret, retain: true, release: true); } @override NSMutableString? initWithData_encoding_(NSData data, int encoding) { - final _ret = _lib._objc_msgSend_380( - this.pointer, - _lib._sel_initWithData_encoding_1, - data.pointer, - encoding, - ); + final _ret = _objc_msgSend_380( + this.pointer, _sel_initWithData_encoding_, data.pointer, encoding); return _ret.address == 0 ? null - : NSMutableString._(_ret, _lib, retain: true, release: true); + : NSMutableString._(_ret, retain: true, release: true); } @override NSMutableString? initWithBytes_length_encoding_( - ffi.Pointer bytes, - int len, - int encoding, - ) { - final _ret = _lib._objc_msgSend_381( - this.pointer, - _lib._sel_initWithBytes_length_encoding_1, - bytes, - len, - encoding, - ); + ffi.Pointer bytes, int len, int encoding) { + final _ret = _objc_msgSend_381(this.pointer, + _sel_initWithBytes_length_encoding_, bytes, len, encoding); return _ret.address == 0 ? null - : NSMutableString._(_ret, _lib, retain: true, release: true); + : NSMutableString._(_ret, retain: true, release: true); } @override NSMutableString? initWithBytesNoCopy_length_encoding_freeWhenDone_( - ffi.Pointer bytes, - int len, - int encoding, - bool freeBuffer, - ) { - final _ret = _lib._objc_msgSend_382( - this.pointer, - _lib._sel_initWithBytesNoCopy_length_encoding_freeWhenDone_1, - bytes, - len, - encoding, - freeBuffer, - ); + ffi.Pointer bytes, int len, int encoding, bool freeBuffer) { + final _ret = _objc_msgSend_382( + this.pointer, + _sel_initWithBytesNoCopy_length_encoding_freeWhenDone_, + bytes, + len, + encoding, + freeBuffer); return _ret.address == 0 ? null - : NSMutableString._(_ret, _lib, retain: false, release: true); + : NSMutableString._(_ret, retain: false, release: true); } @override NSMutableString? initWithBytesNoCopy_length_encoding_deallocator_( - ffi.Pointer bytes, - int len, - int encoding, - ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong? deallocator, - ) { - final _ret = _lib._objc_msgSend_383( - this.pointer, - _lib._sel_initWithBytesNoCopy_length_encoding_deallocator_1, - bytes, - len, - encoding, - deallocator?.pointer ?? ffi.nullptr, - ); + ffi.Pointer bytes, + int len, + int encoding, + ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong? deallocator) { + final _ret = _objc_msgSend_383( + this.pointer, + _sel_initWithBytesNoCopy_length_encoding_deallocator_, + bytes, + len, + encoding, + deallocator?.pointer ?? ffi.nullptr); return _ret.address == 0 ? null - : NSMutableString._(_ret, _lib, retain: false, release: true); + : NSMutableString._(_ret, retain: false, release: true); } - static NSMutableString string(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSMutableString1, - _lib._sel_string1, - ); - return NSMutableString._(_ret, _lib, retain: true, release: true); + static NSMutableString string() { + final _ret = _objc_msgSend_2(_class_NSMutableString, _sel_string); + return NSMutableString._(_ret, retain: true, release: true); } - static NSMutableString stringWithString_(AVFAudio _lib, NSString string) { - final _ret = _lib._objc_msgSend_31( - _lib._class_NSMutableString1, - _lib._sel_stringWithString_1, - string.pointer, - ); - return NSMutableString._(_ret, _lib, retain: true, release: true); + static NSMutableString stringWithString_(NSString string) { + final _ret = _objc_msgSend_31( + _class_NSMutableString, _sel_stringWithString_, string.pointer); + return NSMutableString._(_ret, retain: true, release: true); } static NSMutableString stringWithCharacters_length_( - AVFAudio _lib, - ffi.Pointer characters, - int length, - ) { - final _ret = _lib._objc_msgSend_371( - _lib._class_NSMutableString1, - _lib._sel_stringWithCharacters_length_1, - characters, - length, - ); - return NSMutableString._(_ret, _lib, retain: true, release: true); + ffi.Pointer characters, int length) { + final _ret = _objc_msgSend_371(_class_NSMutableString, + _sel_stringWithCharacters_length_, characters, length); + return NSMutableString._(_ret, retain: true, release: true); } static NSMutableString? stringWithUTF8String_( - AVFAudio _lib, - ffi.Pointer nullTerminatedCString, - ) { - final _ret = _lib._objc_msgSend_372( - _lib._class_NSMutableString1, - _lib._sel_stringWithUTF8String_1, - nullTerminatedCString, - ); + ffi.Pointer nullTerminatedCString) { + final _ret = _objc_msgSend_372(_class_NSMutableString, + _sel_stringWithUTF8String_, nullTerminatedCString); return _ret.address == 0 ? null - : NSMutableString._(_ret, _lib, retain: true, release: true); + : NSMutableString._(_ret, retain: true, release: true); } - static NSMutableString stringWithFormat_(AVFAudio _lib, NSString format) { - final _ret = _lib._objc_msgSend_31( - _lib._class_NSMutableString1, - _lib._sel_stringWithFormat_1, - format.pointer, - ); - return NSMutableString._(_ret, _lib, retain: true, release: true); + static NSMutableString stringWithFormat_(NSString format) { + final _ret = _objc_msgSend_31( + _class_NSMutableString, _sel_stringWithFormat_, format.pointer); + return NSMutableString._(_ret, retain: true, release: true); } - static NSMutableString localizedStringWithFormat_( - AVFAudio _lib, - NSString format, - ) { - final _ret = _lib._objc_msgSend_31( - _lib._class_NSMutableString1, - _lib._sel_localizedStringWithFormat_1, - format.pointer, - ); - return NSMutableString._(_ret, _lib, retain: true, release: true); + static NSMutableString localizedStringWithFormat_(NSString format) { + final _ret = _objc_msgSend_31(_class_NSMutableString, + _sel_localizedStringWithFormat_, format.pointer); + return NSMutableString._(_ret, retain: true, release: true); } static NSMutableString? stringWithValidatedFormat_validFormatSpecifiers_error_( - AVFAudio _lib, - NSString format, - NSString validFormatSpecifiers, - ffi.Pointer> error, - ) { - final _ret = _lib._objc_msgSend_376( - _lib._class_NSMutableString1, - _lib._sel_stringWithValidatedFormat_validFormatSpecifiers_error_1, - format.pointer, - validFormatSpecifiers.pointer, - error, - ); + NSString format, + NSString validFormatSpecifiers, + ffi.Pointer> error) { + final _ret = _objc_msgSend_376( + _class_NSMutableString, + _sel_stringWithValidatedFormat_validFormatSpecifiers_error_, + format.pointer, + validFormatSpecifiers.pointer, + error); return _ret.address == 0 ? null - : NSMutableString._(_ret, _lib, retain: true, release: true); + : NSMutableString._(_ret, retain: true, release: true); } static NSMutableString? localizedStringWithValidatedFormat_validFormatSpecifiers_error_( - AVFAudio _lib, - NSString format, - NSString validFormatSpecifiers, - ffi.Pointer> error, - ) { - final _ret = _lib._objc_msgSend_376( - _lib._class_NSMutableString1, - _lib._sel_localizedStringWithValidatedFormat_validFormatSpecifiers_error_1, - format.pointer, - validFormatSpecifiers.pointer, - error, - ); + NSString format, + NSString validFormatSpecifiers, + ffi.Pointer> error) { + final _ret = _objc_msgSend_376( + _class_NSMutableString, + _sel_localizedStringWithValidatedFormat_validFormatSpecifiers_error_, + format.pointer, + validFormatSpecifiers.pointer, + error); return _ret.address == 0 ? null - : NSMutableString._(_ret, _lib, retain: true, release: true); + : NSMutableString._(_ret, retain: true, release: true); } @override NSMutableString? initWithCString_encoding_( - ffi.Pointer nullTerminatedCString, - int encoding, - ) { - final _ret = _lib._objc_msgSend_384( - this.pointer, - _lib._sel_initWithCString_encoding_1, - nullTerminatedCString, - encoding, - ); + ffi.Pointer nullTerminatedCString, int encoding) { + final _ret = _objc_msgSend_384(this.pointer, _sel_initWithCString_encoding_, + nullTerminatedCString, encoding); return _ret.address == 0 ? null - : NSMutableString._(_ret, _lib, retain: true, release: true); + : NSMutableString._(_ret, retain: true, release: true); } static NSMutableString? stringWithCString_encoding_( - AVFAudio _lib, - ffi.Pointer cString, - int enc, - ) { - final _ret = _lib._objc_msgSend_384( - _lib._class_NSMutableString1, - _lib._sel_stringWithCString_encoding_1, - cString, - enc, - ); + ffi.Pointer cString, int enc) { + final _ret = _objc_msgSend_384( + _class_NSMutableString, _sel_stringWithCString_encoding_, cString, enc); return _ret.address == 0 ? null - : NSMutableString._(_ret, _lib, retain: true, release: true); + : NSMutableString._(_ret, retain: true, release: true); } @override NSMutableString? initWithContentsOfURL_encoding_error_( - NSURL url, - int enc, - ffi.Pointer> error, - ) { - final _ret = _lib._objc_msgSend_385( - this.pointer, - _lib._sel_initWithContentsOfURL_encoding_error_1, - url.pointer, - enc, - error, - ); + NSURL url, int enc, ffi.Pointer> error) { + final _ret = _objc_msgSend_385(this.pointer, + _sel_initWithContentsOfURL_encoding_error_, url.pointer, enc, error); return _ret.address == 0 ? null - : NSMutableString._(_ret, _lib, retain: true, release: true); + : NSMutableString._(_ret, retain: true, release: true); } @override NSMutableString? initWithContentsOfFile_encoding_error_( - NSString path, - int enc, - ffi.Pointer> error, - ) { - final _ret = _lib._objc_msgSend_386( - this.pointer, - _lib._sel_initWithContentsOfFile_encoding_error_1, - path.pointer, - enc, - error, - ); + NSString path, int enc, ffi.Pointer> error) { + final _ret = _objc_msgSend_386(this.pointer, + _sel_initWithContentsOfFile_encoding_error_, path.pointer, enc, error); return _ret.address == 0 ? null - : NSMutableString._(_ret, _lib, retain: true, release: true); + : NSMutableString._(_ret, retain: true, release: true); } static NSMutableString? stringWithContentsOfURL_encoding_error_( - AVFAudio _lib, - NSURL url, - int enc, - ffi.Pointer> error, - ) { - final _ret = _lib._objc_msgSend_385( - _lib._class_NSMutableString1, - _lib._sel_stringWithContentsOfURL_encoding_error_1, - url.pointer, - enc, - error, - ); + NSURL url, int enc, ffi.Pointer> error) { + final _ret = _objc_msgSend_385(_class_NSMutableString, + _sel_stringWithContentsOfURL_encoding_error_, url.pointer, enc, error); return _ret.address == 0 ? null - : NSMutableString._(_ret, _lib, retain: true, release: true); + : NSMutableString._(_ret, retain: true, release: true); } static NSMutableString? stringWithContentsOfFile_encoding_error_( - AVFAudio _lib, - NSString path, - int enc, - ffi.Pointer> error, - ) { - final _ret = _lib._objc_msgSend_386( - _lib._class_NSMutableString1, - _lib._sel_stringWithContentsOfFile_encoding_error_1, - path.pointer, - enc, - error, - ); + NSString path, int enc, ffi.Pointer> error) { + final _ret = _objc_msgSend_386( + _class_NSMutableString, + _sel_stringWithContentsOfFile_encoding_error_, + path.pointer, + enc, + error); return _ret.address == 0 ? null - : NSMutableString._(_ret, _lib, retain: true, release: true); + : NSMutableString._(_ret, retain: true, release: true); } @override NSMutableString? initWithContentsOfURL_usedEncoding_error_( - NSURL url, - ffi.Pointer enc, - ffi.Pointer> error, - ) { - final _ret = _lib._objc_msgSend_387( - this.pointer, - _lib._sel_initWithContentsOfURL_usedEncoding_error_1, - url.pointer, - enc, - error, - ); + NSURL url, + ffi.Pointer enc, + ffi.Pointer> error) { + final _ret = _objc_msgSend_387( + this.pointer, + _sel_initWithContentsOfURL_usedEncoding_error_, + url.pointer, + enc, + error); return _ret.address == 0 ? null - : NSMutableString._(_ret, _lib, retain: true, release: true); + : NSMutableString._(_ret, retain: true, release: true); } @override NSMutableString? initWithContentsOfFile_usedEncoding_error_( - NSString path, - ffi.Pointer enc, - ffi.Pointer> error, - ) { - final _ret = _lib._objc_msgSend_388( - this.pointer, - _lib._sel_initWithContentsOfFile_usedEncoding_error_1, - path.pointer, - enc, - error, - ); + NSString path, + ffi.Pointer enc, + ffi.Pointer> error) { + final _ret = _objc_msgSend_388( + this.pointer, + _sel_initWithContentsOfFile_usedEncoding_error_, + path.pointer, + enc, + error); return _ret.address == 0 ? null - : NSMutableString._(_ret, _lib, retain: true, release: true); + : NSMutableString._(_ret, retain: true, release: true); } static NSMutableString? stringWithContentsOfURL_usedEncoding_error_( - AVFAudio _lib, - NSURL url, - ffi.Pointer enc, - ffi.Pointer> error, - ) { - final _ret = _lib._objc_msgSend_387( - _lib._class_NSMutableString1, - _lib._sel_stringWithContentsOfURL_usedEncoding_error_1, - url.pointer, - enc, - error, - ); + NSURL url, + ffi.Pointer enc, + ffi.Pointer> error) { + final _ret = _objc_msgSend_387( + _class_NSMutableString, + _sel_stringWithContentsOfURL_usedEncoding_error_, + url.pointer, + enc, + error); return _ret.address == 0 ? null - : NSMutableString._(_ret, _lib, retain: true, release: true); + : NSMutableString._(_ret, retain: true, release: true); } static NSMutableString? stringWithContentsOfFile_usedEncoding_error_( - AVFAudio _lib, - NSString path, - ffi.Pointer enc, - ffi.Pointer> error, - ) { - final _ret = _lib._objc_msgSend_388( - _lib._class_NSMutableString1, - _lib._sel_stringWithContentsOfFile_usedEncoding_error_1, - path.pointer, - enc, - error, - ); + NSString path, + ffi.Pointer enc, + ffi.Pointer> error) { + final _ret = _objc_msgSend_388( + _class_NSMutableString, + _sel_stringWithContentsOfFile_usedEncoding_error_, + path.pointer, + enc, + error); return _ret.address == 0 ? null - : NSMutableString._(_ret, _lib, retain: true, release: true); + : NSMutableString._(_ret, retain: true, release: true); } static int stringEncodingForData_encodingOptions_convertedString_usedLossyConversion_( - AVFAudio _lib, - NSData data, - NSDictionary? opts, - ffi.Pointer> string, - ffi.Pointer usedLossyConversion, - ) { - return _lib._objc_msgSend_389( - _lib._class_NSMutableString1, - _lib._sel_stringEncodingForData_encodingOptions_convertedString_usedLossyConversion_1, - data.pointer, - opts?.pointer ?? ffi.nullptr, - string, - usedLossyConversion, - ); + NSData data, + NSDictionary? opts, + ffi.Pointer> string, + ffi.Pointer usedLossyConversion) { + return _objc_msgSend_389( + _class_NSMutableString, + _sel_stringEncodingForData_encodingOptions_convertedString_usedLossyConversion_, + data.pointer, + opts?.pointer ?? ffi.nullptr, + string, + usedLossyConversion); } - static NSObject? stringWithContentsOfFile_(AVFAudio _lib, NSString path) { - final _ret = _lib._objc_msgSend_38( - _lib._class_NSMutableString1, - _lib._sel_stringWithContentsOfFile_1, - path.pointer, - ); + static NSObject? stringWithContentsOfFile_(NSString path) { + final _ret = _objc_msgSend_38( + _class_NSMutableString, _sel_stringWithContentsOfFile_, path.pointer); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } - static NSObject? stringWithContentsOfURL_(AVFAudio _lib, NSURL url) { - final _ret = _lib._objc_msgSend_277( - _lib._class_NSMutableString1, - _lib._sel_stringWithContentsOfURL_1, - url.pointer, - ); + static NSObject? stringWithContentsOfURL_(NSURL url) { + final _ret = _objc_msgSend_277( + _class_NSMutableString, _sel_stringWithContentsOfURL_, url.pointer); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } static NSObject? stringWithCString_length_( - AVFAudio _lib, - ffi.Pointer bytes, - int length, - ) { - final _ret = _lib._objc_msgSend_384( - _lib._class_NSMutableString1, - _lib._sel_stringWithCString_length_1, - bytes, - length, - ); + ffi.Pointer bytes, int length) { + final _ret = _objc_msgSend_384( + _class_NSMutableString, _sel_stringWithCString_length_, bytes, length); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } - static NSObject? stringWithCString_( - AVFAudio _lib, - ffi.Pointer bytes, - ) { - final _ret = _lib._objc_msgSend_372( - _lib._class_NSMutableString1, - _lib._sel_stringWithCString_1, - bytes, - ); + static NSObject? stringWithCString_(ffi.Pointer bytes) { + final _ret = _objc_msgSend_372( + _class_NSMutableString, _sel_stringWithCString_, bytes); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } - static NSString pathWithComponents_(AVFAudio _lib, NSArray components) { - final _ret = _lib._objc_msgSend_396( - _lib._class_NSMutableString1, - _lib._sel_pathWithComponents_1, - components.pointer, - ); - return NSString._(_ret, _lib, retain: true, release: true); + static NSString pathWithComponents_(NSArray components) { + final _ret = _objc_msgSend_396( + _class_NSMutableString, _sel_pathWithComponents_, components.pointer); + return NSString._(_ret, retain: true, release: true); } - static NSMutableString new1(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSMutableString1, - _lib._sel_new1, - ); - return NSMutableString._(_ret, _lib, retain: false, release: true); + static NSMutableString new1() { + final _ret = _objc_msgSend_2(_class_NSMutableString, _sel_new); + return NSMutableString._(_ret, retain: false, release: true); } - static NSMutableString allocWithZone_( - AVFAudio _lib, - ffi.Pointer<_NSZone> zone, - ) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSMutableString1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSMutableString._(_ret, _lib, retain: false, release: true); + static NSMutableString allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = + _objc_msgSend_3(_class_NSMutableString, _sel_allocWithZone_, zone); + return NSMutableString._(_ret, retain: false, release: true); } - static NSMutableString alloc(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSMutableString1, - _lib._sel_alloc1, - ); - return NSMutableString._(_ret, _lib, retain: false, release: true); + static NSMutableString alloc() { + final _ret = _objc_msgSend_2(_class_NSMutableString, _sel_alloc); + return NSMutableString._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSMutableString1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSMutableString1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSMutableString1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSMutableString1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSMutableString1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSMutableString1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSMutableString, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); } - static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSMutableString1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSMutableString1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSMutableString1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSMutableString, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); } -} + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSMutableString, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSMutableString, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSMutableString, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSMutableString, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); + } + + static void setKeys_triggerChangeNotificationsForDependentKey_( + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSMutableString, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = _objc_msgSend_85( + _class_NSMutableString, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = + _objc_msgSend_2(_class_NSMutableString, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); + } +} + +late final _class_NSMutableString = objc.getClass("NSMutableString"); +late final _sel_replaceCharactersInRange_withString_ = + objc.registerName("replaceCharactersInRange:withString:"); +final _objc_msgSend_689 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + _NSRange range, + ffi.Pointer aString)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer)>(); +late final _sel_insertString_atIndex_ = + objc.registerName("insertString:atIndex:"); +final _objc_msgSend_690 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer aString, + ffi.UnsignedLong loc)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int)>(); +late final _sel_deleteCharactersInRange_ = + objc.registerName("deleteCharactersInRange:"); +late final _sel_appendString_ = objc.registerName("appendString:"); +late final _sel_appendFormat_ = objc.registerName("appendFormat:"); +late final _sel_setString_ = objc.registerName("setString:"); +late final _sel_replaceOccurrencesOfString_withString_options_range_ = + objc.registerName("replaceOccurrencesOfString:withString:options:range:"); +final _objc_msgSend_691 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer target, + ffi.Pointer replacement, + ffi.Int32 options, + _NSRange searchRange)>>() + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + _NSRange)>(); +late final _sel_applyTransform_reverse_range_updatedRange_ = + objc.registerName("applyTransform:reverse:range:updatedRange:"); +final _objc_msgSend_692 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer transform, + ffi.Bool reverse, + _NSRange range, + ffi.Pointer<_NSRange> resultingRange)>>() + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool, + _NSRange, + ffi.Pointer<_NSRange>)>(); +final _objc_msgSend_693 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.UnsignedLong capacity)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, int)>(); +late final _sel_stringWithCapacity_ = objc.registerName("stringWithCapacity:"); class NSNotification extends NSObject { - NSNotification._( - ffi.Pointer pointer, - AVFAudio lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSNotification._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSNotification] that points to the same underlying object as [other]. - static NSNotification castFrom( - AVFAudio lib, - T other, - ) { - return NSNotification._(other.pointer, lib, retain: true, release: true); + static NSNotification castFrom(T other) { + return NSNotification._(other.pointer, retain: true, release: true); } /// Returns a [NSNotification] that wraps the given raw object pointer. - static NSNotification castFromPointer( - AVFAudio lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSNotification._(other, lib, retain: retain, release: release); + static NSNotification castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSNotification._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSNotification]. - static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSNotification1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0( + obj.pointer, _sel_isKindOfClass_, _class_NSNotification); } NSString get name { - final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_name1); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_name); + return NSString._(_ret, retain: true, release: true); } NSObject? get object { - final _ret = _lib._objc_msgSend_17(this.pointer, _lib._sel_object1); + final _ret = _objc_msgSend_17(this.pointer, _sel_object); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } NSDictionary? get userInfo { - final _ret = _lib._objc_msgSend_390(this.pointer, _lib._sel_userInfo1); + final _ret = _objc_msgSend_390(this.pointer, _sel_userInfo); return _ret.address == 0 ? null - : NSDictionary._(_ret, _lib, retain: true, release: true); + : NSDictionary._(_ret, retain: true, release: true); } NSNotification initWithName_object_userInfo_( - NSString name, - NSObject? object, - NSDictionary? userInfo, - ) { - final _ret = _lib._objc_msgSend_694( - this.pointer, - _lib._sel_initWithName_object_userInfo_1, - name.pointer, - object?.pointer ?? ffi.nullptr, - userInfo?.pointer ?? ffi.nullptr, - ); - return NSNotification._(_ret, _lib, retain: true, release: true); + NSString name, NSObject? object, NSDictionary? userInfo) { + final _ret = _objc_msgSend_694( + this.pointer, + _sel_initWithName_object_userInfo_, + name.pointer, + object?.pointer ?? ffi.nullptr, + userInfo?.pointer ?? ffi.nullptr); + return NSNotification._(_ret, retain: true, release: true); } NSNotification? initWithCoder_(NSCoder coder) { - final _ret = _lib._objc_msgSend_47( - this.pointer, - _lib._sel_initWithCoder_1, - coder.pointer, - ); + final _ret = + _objc_msgSend_47(this.pointer, _sel_initWithCoder_, coder.pointer); return _ret.address == 0 ? null - : NSNotification._(_ret, _lib, retain: true, release: true); + : NSNotification._(_ret, retain: true, release: true); } static NSNotification notificationWithName_object_( - AVFAudio _lib, - NSString aName, - NSObject? anObject, - ) { - final _ret = _lib._objc_msgSend_374( - _lib._class_NSNotification1, - _lib._sel_notificationWithName_object_1, - aName.pointer, - anObject?.pointer ?? ffi.nullptr, - ); - return NSNotification._(_ret, _lib, retain: true, release: true); + NSString aName, NSObject? anObject) { + final _ret = _objc_msgSend_374( + _class_NSNotification, + _sel_notificationWithName_object_, + aName.pointer, + anObject?.pointer ?? ffi.nullptr); + return NSNotification._(_ret, retain: true, release: true); } static NSNotification notificationWithName_object_userInfo_( - AVFAudio _lib, - NSString aName, - NSObject? anObject, - NSDictionary? aUserInfo, - ) { - final _ret = _lib._objc_msgSend_694( - _lib._class_NSNotification1, - _lib._sel_notificationWithName_object_userInfo_1, - aName.pointer, - anObject?.pointer ?? ffi.nullptr, - aUserInfo?.pointer ?? ffi.nullptr, - ); - return NSNotification._(_ret, _lib, retain: true, release: true); + NSString aName, NSObject? anObject, NSDictionary? aUserInfo) { + final _ret = _objc_msgSend_694( + _class_NSNotification, + _sel_notificationWithName_object_userInfo_, + aName.pointer, + anObject?.pointer ?? ffi.nullptr, + aUserInfo?.pointer ?? ffi.nullptr); + return NSNotification._(_ret, retain: true, release: true); } @override NSNotification init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSNotification._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSNotification._(_ret, retain: true, release: true); } - static NSNotification new1(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSNotification1, - _lib._sel_new1, - ); - return NSNotification._(_ret, _lib, retain: false, release: true); + static NSNotification new1() { + final _ret = _objc_msgSend_2(_class_NSNotification, _sel_new); + return NSNotification._(_ret, retain: false, release: true); } - static NSNotification allocWithZone_( - AVFAudio _lib, - ffi.Pointer<_NSZone> zone, - ) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSNotification1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSNotification._(_ret, _lib, retain: false, release: true); + static NSNotification allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = + _objc_msgSend_3(_class_NSNotification, _sel_allocWithZone_, zone); + return NSNotification._(_ret, retain: false, release: true); } - static NSNotification alloc(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSNotification1, - _lib._sel_alloc1, - ); - return NSNotification._(_ret, _lib, retain: false, release: true); + static NSNotification alloc() { + final _ret = _objc_msgSend_2(_class_NSNotification, _sel_alloc); + return NSNotification._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSNotification1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSNotification1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSNotification1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSNotification1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSNotification1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSNotification1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSNotification, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); + } + + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSNotification, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); + } + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSNotification, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSNotification, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSNotification, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSNotification, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); } static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSNotification1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSNotification1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSNotification1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSNotification, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = _objc_msgSend_85( + _class_NSNotification, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = + _objc_msgSend_2(_class_NSNotification, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); } } +late final _class_NSNotification = objc.getClass("NSNotification"); +late final _sel_object = objc.registerName("object"); +late final _sel_initWithName_object_userInfo_ = + objc.registerName("initWithName:object:userInfo:"); +final _objc_msgSend_694 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer name, + ffi.Pointer object, + ffi.Pointer userInfo)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_notificationWithName_object_ = + objc.registerName("notificationWithName:object:"); +late final _sel_notificationWithName_object_userInfo_ = + objc.registerName("notificationWithName:object:userInfo:"); + class NSBundle extends NSObject { - NSBundle._( - ffi.Pointer pointer, - AVFAudio lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSBundle._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSBundle] that points to the same underlying object as [other]. - static NSBundle castFrom( - AVFAudio lib, - T other, - ) { - return NSBundle._(other.pointer, lib, retain: true, release: true); + static NSBundle castFrom(T other) { + return NSBundle._(other.pointer, retain: true, release: true); } /// Returns a [NSBundle] that wraps the given raw object pointer. - static NSBundle castFromPointer( - AVFAudio lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSBundle._(other, lib, retain: retain, release: release); + static NSBundle castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSBundle._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSBundle]. - static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSBundle1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0(obj.pointer, _sel_isKindOfClass_, _class_NSBundle); } - static NSBundle getMainBundle(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_695( - _lib._class_NSBundle1, - _lib._sel_mainBundle1, - ); - return NSBundle._(_ret, _lib, retain: true, release: true); + static NSBundle getMainBundle() { + final _ret = _objc_msgSend_695(_class_NSBundle, _sel_mainBundle); + return NSBundle._(_ret, retain: true, release: true); } - static NSBundle? bundleWithPath_(AVFAudio _lib, NSString path) { - final _ret = _lib._objc_msgSend_38( - _lib._class_NSBundle1, - _lib._sel_bundleWithPath_1, - path.pointer, - ); + static NSBundle? bundleWithPath_(NSString path) { + final _ret = + _objc_msgSend_38(_class_NSBundle, _sel_bundleWithPath_, path.pointer); return _ret.address == 0 ? null - : NSBundle._(_ret, _lib, retain: true, release: true); + : NSBundle._(_ret, retain: true, release: true); } NSBundle? initWithPath_(NSString path) { - final _ret = _lib._objc_msgSend_38( - this.pointer, - _lib._sel_initWithPath_1, - path.pointer, - ); + final _ret = + _objc_msgSend_38(this.pointer, _sel_initWithPath_, path.pointer); return _ret.address == 0 ? null - : NSBundle._(_ret, _lib, retain: true, release: true); + : NSBundle._(_ret, retain: true, release: true); } - static NSBundle? bundleWithURL_(AVFAudio _lib, NSURL url) { - final _ret = _lib._objc_msgSend_277( - _lib._class_NSBundle1, - _lib._sel_bundleWithURL_1, - url.pointer, - ); + static NSBundle? bundleWithURL_(NSURL url) { + final _ret = + _objc_msgSend_277(_class_NSBundle, _sel_bundleWithURL_, url.pointer); return _ret.address == 0 ? null - : NSBundle._(_ret, _lib, retain: true, release: true); + : NSBundle._(_ret, retain: true, release: true); } NSBundle? initWithURL_(NSURL url) { - final _ret = _lib._objc_msgSend_277( - this.pointer, - _lib._sel_initWithURL_1, - url.pointer, - ); + final _ret = + _objc_msgSend_277(this.pointer, _sel_initWithURL_, url.pointer); return _ret.address == 0 ? null - : NSBundle._(_ret, _lib, retain: true, release: true); + : NSBundle._(_ret, retain: true, release: true); } - static NSBundle bundleForClass_(AVFAudio _lib, NSObject aClass) { - final _ret = _lib._objc_msgSend_696( - _lib._class_NSBundle1, - _lib._sel_bundleForClass_1, - aClass.pointer, - ); - return NSBundle._(_ret, _lib, retain: true, release: true); + static NSBundle bundleForClass_(NSObject aClass) { + final _ret = _objc_msgSend_696( + _class_NSBundle, _sel_bundleForClass_, aClass.pointer); + return NSBundle._(_ret, retain: true, release: true); } - static NSBundle? bundleWithIdentifier_(AVFAudio _lib, NSString identifier) { - final _ret = _lib._objc_msgSend_697( - _lib._class_NSBundle1, - _lib._sel_bundleWithIdentifier_1, - identifier.pointer, - ); + static NSBundle? bundleWithIdentifier_(NSString identifier) { + final _ret = _objc_msgSend_697( + _class_NSBundle, _sel_bundleWithIdentifier_, identifier.pointer); return _ret.address == 0 ? null - : NSBundle._(_ret, _lib, retain: true, release: true); + : NSBundle._(_ret, retain: true, release: true); } - static NSArray getAllBundles(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSBundle1, - _lib._sel_allBundles1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); + static NSArray getAllBundles() { + final _ret = _objc_msgSend_85(_class_NSBundle, _sel_allBundles); + return NSArray._(_ret, retain: true, release: true); } - static NSArray getAllFrameworks(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSBundle1, - _lib._sel_allFrameworks1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); + static NSArray getAllFrameworks() { + final _ret = _objc_msgSend_85(_class_NSBundle, _sel_allFrameworks); + return NSArray._(_ret, retain: true, release: true); } bool load() { - return _lib._objc_msgSend_12(this.pointer, _lib._sel_load1); + return _objc_msgSend_12(this.pointer, _sel_load); } bool get loaded { - return _lib._objc_msgSend_12(this.pointer, _lib._sel_isLoaded1); + return _objc_msgSend_12(this.pointer, _sel_isLoaded); } bool unload() { - return _lib._objc_msgSend_12(this.pointer, _lib._sel_unload1); + return _objc_msgSend_12(this.pointer, _sel_unload); } bool preflightAndReturnError_( - ffi.Pointer> error, - ) { - return _lib._objc_msgSend_255( - this.pointer, - _lib._sel_preflightAndReturnError_1, - error, - ); + ffi.Pointer> error) { + return _objc_msgSend_255( + this.pointer, _sel_preflightAndReturnError_, error); } bool loadAndReturnError_(ffi.Pointer> error) { - return _lib._objc_msgSend_255( - this.pointer, - _lib._sel_loadAndReturnError_1, - error, - ); + return _objc_msgSend_255(this.pointer, _sel_loadAndReturnError_, error); } NSURL get bundleURL { - final _ret = _lib._objc_msgSend_466(this.pointer, _lib._sel_bundleURL1); - return NSURL._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_466(this.pointer, _sel_bundleURL); + return NSURL._(_ret, retain: true, release: true); } NSURL? get resourceURL { - final _ret = _lib._objc_msgSend_45(this.pointer, _lib._sel_resourceURL1); + final _ret = _objc_msgSend_45(this.pointer, _sel_resourceURL); return _ret.address == 0 ? null - : NSURL._(_ret, _lib, retain: true, release: true); + : NSURL._(_ret, retain: true, release: true); } NSURL? get executableURL { - final _ret = _lib._objc_msgSend_45(this.pointer, _lib._sel_executableURL1); + final _ret = _objc_msgSend_45(this.pointer, _sel_executableURL); return _ret.address == 0 ? null - : NSURL._(_ret, _lib, retain: true, release: true); + : NSURL._(_ret, retain: true, release: true); } NSURL? URLForAuxiliaryExecutable_(NSString executableName) { - final _ret = _lib._objc_msgSend_257( - this.pointer, - _lib._sel_URLForAuxiliaryExecutable_1, - executableName.pointer, - ); + final _ret = _objc_msgSend_257( + this.pointer, _sel_URLForAuxiliaryExecutable_, executableName.pointer); return _ret.address == 0 ? null - : NSURL._(_ret, _lib, retain: true, release: true); + : NSURL._(_ret, retain: true, release: true); } NSURL? get privateFrameworksURL { - final _ret = _lib._objc_msgSend_45( - this.pointer, - _lib._sel_privateFrameworksURL1, - ); + final _ret = _objc_msgSend_45(this.pointer, _sel_privateFrameworksURL); return _ret.address == 0 ? null - : NSURL._(_ret, _lib, retain: true, release: true); + : NSURL._(_ret, retain: true, release: true); } NSURL? get sharedFrameworksURL { - final _ret = _lib._objc_msgSend_45( - this.pointer, - _lib._sel_sharedFrameworksURL1, - ); + final _ret = _objc_msgSend_45(this.pointer, _sel_sharedFrameworksURL); return _ret.address == 0 ? null - : NSURL._(_ret, _lib, retain: true, release: true); + : NSURL._(_ret, retain: true, release: true); } NSURL? get sharedSupportURL { - final _ret = _lib._objc_msgSend_45( - this.pointer, - _lib._sel_sharedSupportURL1, - ); + final _ret = _objc_msgSend_45(this.pointer, _sel_sharedSupportURL); return _ret.address == 0 ? null - : NSURL._(_ret, _lib, retain: true, release: true); + : NSURL._(_ret, retain: true, release: true); } NSURL? get builtInPlugInsURL { - final _ret = _lib._objc_msgSend_45( - this.pointer, - _lib._sel_builtInPlugInsURL1, - ); + final _ret = _objc_msgSend_45(this.pointer, _sel_builtInPlugInsURL); return _ret.address == 0 ? null - : NSURL._(_ret, _lib, retain: true, release: true); + : NSURL._(_ret, retain: true, release: true); } NSURL? get appStoreReceiptURL { - final _ret = _lib._objc_msgSend_45( - this.pointer, - _lib._sel_appStoreReceiptURL1, - ); + final _ret = _objc_msgSend_45(this.pointer, _sel_appStoreReceiptURL); return _ret.address == 0 ? null - : NSURL._(_ret, _lib, retain: true, release: true); + : NSURL._(_ret, retain: true, release: true); } NSString get bundlePath { - final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_bundlePath1); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_bundlePath); + return NSString._(_ret, retain: true, release: true); } NSString? get resourcePath { - final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_resourcePath1); + final _ret = _objc_msgSend_44(this.pointer, _sel_resourcePath); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } NSString? get executablePath { - final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_executablePath1); + final _ret = _objc_msgSend_44(this.pointer, _sel_executablePath); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } NSString? pathForAuxiliaryExecutable_(NSString executableName) { - final _ret = _lib._objc_msgSend_186( - this.pointer, - _lib._sel_pathForAuxiliaryExecutable_1, - executableName.pointer, - ); + final _ret = _objc_msgSend_186( + this.pointer, _sel_pathForAuxiliaryExecutable_, executableName.pointer); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } NSString? get privateFrameworksPath { - final _ret = _lib._objc_msgSend_44( - this.pointer, - _lib._sel_privateFrameworksPath1, - ); + final _ret = _objc_msgSend_44(this.pointer, _sel_privateFrameworksPath); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } NSString? get sharedFrameworksPath { - final _ret = _lib._objc_msgSend_44( - this.pointer, - _lib._sel_sharedFrameworksPath1, - ); + final _ret = _objc_msgSend_44(this.pointer, _sel_sharedFrameworksPath); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } NSString? get sharedSupportPath { - final _ret = _lib._objc_msgSend_44( - this.pointer, - _lib._sel_sharedSupportPath1, - ); + final _ret = _objc_msgSend_44(this.pointer, _sel_sharedSupportPath); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } NSString? get builtInPlugInsPath { - final _ret = _lib._objc_msgSend_44( - this.pointer, - _lib._sel_builtInPlugInsPath1, - ); + final _ret = _objc_msgSend_44(this.pointer, _sel_builtInPlugInsPath); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } static NSURL? URLForResource_withExtension_subdirectory_inBundleWithURL_( - AVFAudio _lib, - NSString? name, - NSString? ext, - NSString? subpath, - NSURL bundleURL, - ) { - final _ret = _lib._objc_msgSend_698( - _lib._class_NSBundle1, - _lib._sel_URLForResource_withExtension_subdirectory_inBundleWithURL_1, - name?.pointer ?? ffi.nullptr, - ext?.pointer ?? ffi.nullptr, - subpath?.pointer ?? ffi.nullptr, - bundleURL.pointer, - ); + NSString? name, NSString? ext, NSString? subpath, NSURL bundleURL) { + final _ret = _objc_msgSend_698( + _class_NSBundle, + _sel_URLForResource_withExtension_subdirectory_inBundleWithURL_, + name?.pointer ?? ffi.nullptr, + ext?.pointer ?? ffi.nullptr, + subpath?.pointer ?? ffi.nullptr, + bundleURL.pointer); return _ret.address == 0 ? null - : NSURL._(_ret, _lib, retain: true, release: true); + : NSURL._(_ret, retain: true, release: true); } static NSArray? URLsForResourcesWithExtension_subdirectory_inBundleWithURL_( - AVFAudio _lib, - NSString? ext, - NSString? subpath, - NSURL bundleURL, - ) { - final _ret = _lib._objc_msgSend_699( - _lib._class_NSBundle1, - _lib._sel_URLsForResourcesWithExtension_subdirectory_inBundleWithURL_1, - ext?.pointer ?? ffi.nullptr, - subpath?.pointer ?? ffi.nullptr, - bundleURL.pointer, - ); + NSString? ext, NSString? subpath, NSURL bundleURL) { + final _ret = _objc_msgSend_699( + _class_NSBundle, + _sel_URLsForResourcesWithExtension_subdirectory_inBundleWithURL_, + ext?.pointer ?? ffi.nullptr, + subpath?.pointer ?? ffi.nullptr, + bundleURL.pointer); return _ret.address == 0 ? null - : NSArray._(_ret, _lib, retain: true, release: true); + : NSArray._(_ret, retain: true, release: true); } NSURL? URLForResource_withExtension_(NSString? name, NSString? ext) { - final _ret = _lib._objc_msgSend_700( - this.pointer, - _lib._sel_URLForResource_withExtension_1, - name?.pointer ?? ffi.nullptr, - ext?.pointer ?? ffi.nullptr, - ); + final _ret = _objc_msgSend_700( + this.pointer, + _sel_URLForResource_withExtension_, + name?.pointer ?? ffi.nullptr, + ext?.pointer ?? ffi.nullptr); return _ret.address == 0 ? null - : NSURL._(_ret, _lib, retain: true, release: true); + : NSURL._(_ret, retain: true, release: true); } NSURL? URLForResource_withExtension_subdirectory_( - NSString? name, - NSString? ext, - NSString? subpath, - ) { - final _ret = _lib._objc_msgSend_701( - this.pointer, - _lib._sel_URLForResource_withExtension_subdirectory_1, - name?.pointer ?? ffi.nullptr, - ext?.pointer ?? ffi.nullptr, - subpath?.pointer ?? ffi.nullptr, - ); + NSString? name, NSString? ext, NSString? subpath) { + final _ret = _objc_msgSend_701( + this.pointer, + _sel_URLForResource_withExtension_subdirectory_, + name?.pointer ?? ffi.nullptr, + ext?.pointer ?? ffi.nullptr, + subpath?.pointer ?? ffi.nullptr); return _ret.address == 0 ? null - : NSURL._(_ret, _lib, retain: true, release: true); + : NSURL._(_ret, retain: true, release: true); } - NSURL? URLForResource_withExtension_subdirectory_localization_( - NSString? name, - NSString? ext, - NSString? subpath, - NSString? localizationName, - ) { - final _ret = _lib._objc_msgSend_702( - this.pointer, - _lib._sel_URLForResource_withExtension_subdirectory_localization_1, - name?.pointer ?? ffi.nullptr, - ext?.pointer ?? ffi.nullptr, - subpath?.pointer ?? ffi.nullptr, - localizationName?.pointer ?? ffi.nullptr, - ); + NSURL? URLForResource_withExtension_subdirectory_localization_(NSString? name, + NSString? ext, NSString? subpath, NSString? localizationName) { + final _ret = _objc_msgSend_702( + this.pointer, + _sel_URLForResource_withExtension_subdirectory_localization_, + name?.pointer ?? ffi.nullptr, + ext?.pointer ?? ffi.nullptr, + subpath?.pointer ?? ffi.nullptr, + localizationName?.pointer ?? ffi.nullptr); return _ret.address == 0 ? null - : NSURL._(_ret, _lib, retain: true, release: true); + : NSURL._(_ret, retain: true, release: true); } NSArray? URLsForResourcesWithExtension_subdirectory_( - NSString? ext, - NSString? subpath, - ) { - final _ret = _lib._objc_msgSend_703( - this.pointer, - _lib._sel_URLsForResourcesWithExtension_subdirectory_1, - ext?.pointer ?? ffi.nullptr, - subpath?.pointer ?? ffi.nullptr, - ); + NSString? ext, NSString? subpath) { + final _ret = _objc_msgSend_703( + this.pointer, + _sel_URLsForResourcesWithExtension_subdirectory_, + ext?.pointer ?? ffi.nullptr, + subpath?.pointer ?? ffi.nullptr); return _ret.address == 0 ? null - : NSArray._(_ret, _lib, retain: true, release: true); + : NSArray._(_ret, retain: true, release: true); } NSArray? URLsForResourcesWithExtension_subdirectory_localization_( - NSString? ext, - NSString? subpath, - NSString? localizationName, - ) { - final _ret = _lib._objc_msgSend_704( - this.pointer, - _lib._sel_URLsForResourcesWithExtension_subdirectory_localization_1, - ext?.pointer ?? ffi.nullptr, - subpath?.pointer ?? ffi.nullptr, - localizationName?.pointer ?? ffi.nullptr, - ); + NSString? ext, NSString? subpath, NSString? localizationName) { + final _ret = _objc_msgSend_704( + this.pointer, + _sel_URLsForResourcesWithExtension_subdirectory_localization_, + ext?.pointer ?? ffi.nullptr, + subpath?.pointer ?? ffi.nullptr, + localizationName?.pointer ?? ffi.nullptr); return _ret.address == 0 ? null - : NSArray._(_ret, _lib, retain: true, release: true); + : NSArray._(_ret, retain: true, release: true); } static NSString? pathForResource_ofType_inDirectory_( - AVFAudio _lib, - NSString? name, - NSString? ext, - NSString bundlePath, - ) { - final _ret = _lib._objc_msgSend_705( - _lib._class_NSBundle1, - _lib._sel_pathForResource_ofType_inDirectory_1, - name?.pointer ?? ffi.nullptr, - ext?.pointer ?? ffi.nullptr, - bundlePath.pointer, - ); + NSString? name, NSString? ext, NSString bundlePath) { + final _ret = _objc_msgSend_705( + _class_NSBundle, + _sel_pathForResource_ofType_inDirectory_, + name?.pointer ?? ffi.nullptr, + ext?.pointer ?? ffi.nullptr, + bundlePath.pointer); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } static NSArray pathsForResourcesOfType_inDirectory_( - AVFAudio _lib, - NSString? ext, - NSString bundlePath, - ) { - final _ret = _lib._objc_msgSend_706( - _lib._class_NSBundle1, - _lib._sel_pathsForResourcesOfType_inDirectory_1, - ext?.pointer ?? ffi.nullptr, - bundlePath.pointer, - ); - return NSArray._(_ret, _lib, retain: true, release: true); + NSString? ext, NSString bundlePath) { + final _ret = _objc_msgSend_706( + _class_NSBundle, + _sel_pathsForResourcesOfType_inDirectory_, + ext?.pointer ?? ffi.nullptr, + bundlePath.pointer); + return NSArray._(_ret, retain: true, release: true); } NSString? pathForResource_ofType_(NSString? name, NSString? ext) { - final _ret = _lib._objc_msgSend_707( - this.pointer, - _lib._sel_pathForResource_ofType_1, - name?.pointer ?? ffi.nullptr, - ext?.pointer ?? ffi.nullptr, - ); + final _ret = _objc_msgSend_707(this.pointer, _sel_pathForResource_ofType_, + name?.pointer ?? ffi.nullptr, ext?.pointer ?? ffi.nullptr); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } - NSString? pathForResource_ofType_inDirectory_forLocalization_( - NSString? name, - NSString? ext, - NSString? subpath, - NSString? localizationName, - ) { - final _ret = _lib._objc_msgSend_708( - this.pointer, - _lib._sel_pathForResource_ofType_inDirectory_forLocalization_1, - name?.pointer ?? ffi.nullptr, - ext?.pointer ?? ffi.nullptr, - subpath?.pointer ?? ffi.nullptr, - localizationName?.pointer ?? ffi.nullptr, - ); + NSString? pathForResource_ofType_inDirectory_forLocalization_(NSString? name, + NSString? ext, NSString? subpath, NSString? localizationName) { + final _ret = _objc_msgSend_708( + this.pointer, + _sel_pathForResource_ofType_inDirectory_forLocalization_, + name?.pointer ?? ffi.nullptr, + ext?.pointer ?? ffi.nullptr, + subpath?.pointer ?? ffi.nullptr, + localizationName?.pointer ?? ffi.nullptr); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } NSArray pathsForResourcesOfType_inDirectory_forLocalization_( - NSString? ext, - NSString? subpath, - NSString? localizationName, - ) { - final _ret = _lib._objc_msgSend_709( - this.pointer, - _lib._sel_pathsForResourcesOfType_inDirectory_forLocalization_1, - ext?.pointer ?? ffi.nullptr, - subpath?.pointer ?? ffi.nullptr, - localizationName?.pointer ?? ffi.nullptr, - ); - return NSArray._(_ret, _lib, retain: true, release: true); + NSString? ext, NSString? subpath, NSString? localizationName) { + final _ret = _objc_msgSend_709( + this.pointer, + _sel_pathsForResourcesOfType_inDirectory_forLocalization_, + ext?.pointer ?? ffi.nullptr, + subpath?.pointer ?? ffi.nullptr, + localizationName?.pointer ?? ffi.nullptr); + return NSArray._(_ret, retain: true, release: true); } NSString localizedStringForKey_value_table_( - NSString key, - NSString? value, - NSString? tableName, - ) { - final _ret = _lib._objc_msgSend_710( - this.pointer, - _lib._sel_localizedStringForKey_value_table_1, - key.pointer, - value?.pointer ?? ffi.nullptr, - tableName?.pointer ?? ffi.nullptr, - ); - return NSString._(_ret, _lib, retain: true, release: true); + NSString key, NSString? value, NSString? tableName) { + final _ret = _objc_msgSend_710( + this.pointer, + _sel_localizedStringForKey_value_table_, + key.pointer, + value?.pointer ?? ffi.nullptr, + tableName?.pointer ?? ffi.nullptr); + return NSString._(_ret, retain: true, release: true); } NSAttributedString localizedAttributedStringForKey_value_table_( - NSString key, - NSString? value, - NSString? tableName, - ) { - final _ret = _lib._objc_msgSend_736( - this.pointer, - _lib._sel_localizedAttributedStringForKey_value_table_1, - key.pointer, - value?.pointer ?? ffi.nullptr, - tableName?.pointer ?? ffi.nullptr, - ); - return NSAttributedString._(_ret, _lib, retain: true, release: true); + NSString key, NSString? value, NSString? tableName) { + final _ret = _objc_msgSend_736( + this.pointer, + _sel_localizedAttributedStringForKey_value_table_, + key.pointer, + value?.pointer ?? ffi.nullptr, + tableName?.pointer ?? ffi.nullptr); + return NSAttributedString._(_ret, retain: true, release: true); } NSString? get bundleIdentifier { - final _ret = _lib._objc_msgSend_44( - this.pointer, - _lib._sel_bundleIdentifier1, - ); + final _ret = _objc_msgSend_44(this.pointer, _sel_bundleIdentifier); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } NSDictionary? get infoDictionary { - final _ret = _lib._objc_msgSend_390( - this.pointer, - _lib._sel_infoDictionary1, - ); + final _ret = _objc_msgSend_390(this.pointer, _sel_infoDictionary); return _ret.address == 0 ? null - : NSDictionary._(_ret, _lib, retain: true, release: true); + : NSDictionary._(_ret, retain: true, release: true); } NSDictionary? get localizedInfoDictionary { - final _ret = _lib._objc_msgSend_390( - this.pointer, - _lib._sel_localizedInfoDictionary1, - ); + final _ret = _objc_msgSend_390(this.pointer, _sel_localizedInfoDictionary); return _ret.address == 0 ? null - : NSDictionary._(_ret, _lib, retain: true, release: true); + : NSDictionary._(_ret, retain: true, release: true); } NSObject? objectForInfoDictionaryKey_(NSString key) { - final _ret = _lib._objc_msgSend_38( - this.pointer, - _lib._sel_objectForInfoDictionaryKey_1, - key.pointer, - ); + final _ret = _objc_msgSend_38( + this.pointer, _sel_objectForInfoDictionaryKey_, key.pointer); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } NSObject? classNamed_(NSString className) { - final _ret = _lib._objc_msgSend_38( - this.pointer, - _lib._sel_classNamed_1, - className.pointer, - ); + final _ret = + _objc_msgSend_38(this.pointer, _sel_classNamed_, className.pointer); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } NSObject? get principalClass { - final _ret = _lib._objc_msgSend_17(this.pointer, _lib._sel_principalClass1); + final _ret = _objc_msgSend_17(this.pointer, _sel_principalClass); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } NSArray get preferredLocalizations { - final _ret = _lib._objc_msgSend_85( - this.pointer, - _lib._sel_preferredLocalizations1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_85(this.pointer, _sel_preferredLocalizations); + return NSArray._(_ret, retain: true, release: true); } NSArray get localizations { - final _ret = _lib._objc_msgSend_85(this.pointer, _lib._sel_localizations1); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_85(this.pointer, _sel_localizations); + return NSArray._(_ret, retain: true, release: true); } NSString? get developmentLocalization { - final _ret = _lib._objc_msgSend_44( - this.pointer, - _lib._sel_developmentLocalization1, - ); + final _ret = _objc_msgSend_44(this.pointer, _sel_developmentLocalization); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } - static NSArray preferredLocalizationsFromArray_( - AVFAudio _lib, - NSArray localizationsArray, - ) { - final _ret = _lib._objc_msgSend_68( - _lib._class_NSBundle1, - _lib._sel_preferredLocalizationsFromArray_1, - localizationsArray.pointer, - ); - return NSArray._(_ret, _lib, retain: true, release: true); + static NSArray preferredLocalizationsFromArray_(NSArray localizationsArray) { + final _ret = _objc_msgSend_68(_class_NSBundle, + _sel_preferredLocalizationsFromArray_, localizationsArray.pointer); + return NSArray._(_ret, retain: true, release: true); } static NSArray preferredLocalizationsFromArray_forPreferences_( - AVFAudio _lib, - NSArray localizationsArray, - NSArray? preferencesArray, - ) { - final _ret = _lib._objc_msgSend_737( - _lib._class_NSBundle1, - _lib._sel_preferredLocalizationsFromArray_forPreferences_1, - localizationsArray.pointer, - preferencesArray?.pointer ?? ffi.nullptr, - ); - return NSArray._(_ret, _lib, retain: true, release: true); + NSArray localizationsArray, NSArray? preferencesArray) { + final _ret = _objc_msgSend_737( + _class_NSBundle, + _sel_preferredLocalizationsFromArray_forPreferences_, + localizationsArray.pointer, + preferencesArray?.pointer ?? ffi.nullptr); + return NSArray._(_ret, retain: true, release: true); } NSArray? get executableArchitectures { - final _ret = _lib._objc_msgSend_84( - this.pointer, - _lib._sel_executableArchitectures1, - ); + final _ret = _objc_msgSend_84(this.pointer, _sel_executableArchitectures); return _ret.address == 0 ? null - : NSArray._(_ret, _lib, retain: true, release: true); + : NSArray._(_ret, retain: true, release: true); } void setPreservationPriority_forTags_(double priority, NSSet tags) { - _lib._objc_msgSend_738( - this.pointer, - _lib._sel_setPreservationPriority_forTags_1, - priority, - tags.pointer, - ); + _objc_msgSend_738(this.pointer, _sel_setPreservationPriority_forTags_, + priority, tags.pointer); } double preservationPriorityForTag_(NSString tag) { return objc.useMsgSendVariants - ? _lib._objc_msgSend_308_fpret( - this.pointer, - _lib._sel_preservationPriorityForTag_1, - tag.pointer, - ) - : _lib._objc_msgSend_308( - this.pointer, - _lib._sel_preservationPriorityForTag_1, - tag.pointer, - ); + ? _objc_msgSend_308Fpret( + this.pointer, _sel_preservationPriorityForTag_, tag.pointer) + : _objc_msgSend_308( + this.pointer, _sel_preservationPriorityForTag_, tag.pointer); } @override NSBundle init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSBundle._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSBundle._(_ret, retain: true, release: true); } - static NSBundle new1(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2(_lib._class_NSBundle1, _lib._sel_new1); - return NSBundle._(_ret, _lib, retain: false, release: true); + static NSBundle new1() { + final _ret = _objc_msgSend_2(_class_NSBundle, _sel_new); + return NSBundle._(_ret, retain: false, release: true); } - static NSBundle allocWithZone_(AVFAudio _lib, ffi.Pointer<_NSZone> zone) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSBundle1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSBundle._(_ret, _lib, retain: false, release: true); + static NSBundle allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = _objc_msgSend_3(_class_NSBundle, _sel_allocWithZone_, zone); + return NSBundle._(_ret, retain: false, release: true); } - static NSBundle alloc(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2(_lib._class_NSBundle1, _lib._sel_alloc1); - return NSBundle._(_ret, _lib, retain: false, release: true); + static NSBundle alloc() { + final _ret = _objc_msgSend_2(_class_NSBundle, _sel_alloc); + return NSBundle._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSBundle1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSBundle1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSBundle1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSBundle1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSBundle1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSBundle1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSBundle, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); } - static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSBundle1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSBundle1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSBundle1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSBundle, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); + } + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSBundle, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSBundle, _sel_useStoredAccessor); } -} + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSBundle, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSBundle, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); + } + + static void setKeys_triggerChangeNotificationsForDependentKey_( + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSBundle, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = + _objc_msgSend_85(_class_NSBundle, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = _objc_msgSend_2(_class_NSBundle, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); + } +} + +late final _class_NSBundle = objc.getClass("NSBundle"); +late final _sel_mainBundle = objc.registerName("mainBundle"); +final _objc_msgSend_695 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_bundleWithPath_ = objc.registerName("bundleWithPath:"); +late final _sel_initWithPath_ = objc.registerName("initWithPath:"); +late final _sel_bundleWithURL_ = objc.registerName("bundleWithURL:"); +late final _sel_initWithURL_ = objc.registerName("initWithURL:"); +late final _sel_bundleForClass_ = objc.registerName("bundleForClass:"); +final _objc_msgSend_696 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer aClass)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_bundleWithIdentifier_ = + objc.registerName("bundleWithIdentifier:"); +final _objc_msgSend_697 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer identifier)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_allBundles = objc.registerName("allBundles"); +late final _sel_allFrameworks = objc.registerName("allFrameworks"); +late final _sel_isLoaded = objc.registerName("isLoaded"); +late final _sel_unload = objc.registerName("unload"); +late final _sel_preflightAndReturnError_ = + objc.registerName("preflightAndReturnError:"); +late final _sel_loadAndReturnError_ = objc.registerName("loadAndReturnError:"); +late final _sel_bundleURL = objc.registerName("bundleURL"); +late final _sel_resourceURL = objc.registerName("resourceURL"); +late final _sel_executableURL = objc.registerName("executableURL"); +late final _sel_URLForAuxiliaryExecutable_ = + objc.registerName("URLForAuxiliaryExecutable:"); +late final _sel_privateFrameworksURL = + objc.registerName("privateFrameworksURL"); +late final _sel_sharedFrameworksURL = objc.registerName("sharedFrameworksURL"); +late final _sel_sharedSupportURL = objc.registerName("sharedSupportURL"); +late final _sel_builtInPlugInsURL = objc.registerName("builtInPlugInsURL"); +late final _sel_appStoreReceiptURL = objc.registerName("appStoreReceiptURL"); +late final _sel_bundlePath = objc.registerName("bundlePath"); +late final _sel_resourcePath = objc.registerName("resourcePath"); +late final _sel_executablePath = objc.registerName("executablePath"); +late final _sel_pathForAuxiliaryExecutable_ = + objc.registerName("pathForAuxiliaryExecutable:"); +late final _sel_privateFrameworksPath = + objc.registerName("privateFrameworksPath"); +late final _sel_sharedFrameworksPath = + objc.registerName("sharedFrameworksPath"); +late final _sel_sharedSupportPath = objc.registerName("sharedSupportPath"); +late final _sel_builtInPlugInsPath = objc.registerName("builtInPlugInsPath"); +late final _sel_URLForResource_withExtension_subdirectory_inBundleWithURL_ = + objc.registerName( + "URLForResource:withExtension:subdirectory:inBundleWithURL:"); +final _objc_msgSend_698 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer name, + ffi.Pointer ext, + ffi.Pointer subpath, + ffi.Pointer bundleURL)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_URLsForResourcesWithExtension_subdirectory_inBundleWithURL_ = + objc.registerName( + "URLsForResourcesWithExtension:subdirectory:inBundleWithURL:"); +final _objc_msgSend_699 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer ext, + ffi.Pointer subpath, + ffi.Pointer bundleURL)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_URLForResource_withExtension_ = + objc.registerName("URLForResource:withExtension:"); +final _objc_msgSend_700 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer name, + ffi.Pointer ext)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_URLForResource_withExtension_subdirectory_ = + objc.registerName("URLForResource:withExtension:subdirectory:"); +final _objc_msgSend_701 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer name, + ffi.Pointer ext, + ffi.Pointer subpath)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_URLForResource_withExtension_subdirectory_localization_ = objc + .registerName("URLForResource:withExtension:subdirectory:localization:"); +final _objc_msgSend_702 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer name, + ffi.Pointer ext, + ffi.Pointer subpath, + ffi.Pointer localizationName)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_URLsForResourcesWithExtension_subdirectory_ = + objc.registerName("URLsForResourcesWithExtension:subdirectory:"); +final _objc_msgSend_703 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer ext, + ffi.Pointer subpath)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_URLsForResourcesWithExtension_subdirectory_localization_ = objc + .registerName("URLsForResourcesWithExtension:subdirectory:localization:"); +final _objc_msgSend_704 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer ext, + ffi.Pointer subpath, + ffi.Pointer localizationName)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_pathForResource_ofType_inDirectory_ = + objc.registerName("pathForResource:ofType:inDirectory:"); +final _objc_msgSend_705 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer name, + ffi.Pointer ext, + ffi.Pointer bundlePath)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_pathsForResourcesOfType_inDirectory_ = + objc.registerName("pathsForResourcesOfType:inDirectory:"); +final _objc_msgSend_706 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer ext, + ffi.Pointer bundlePath)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_pathForResource_ofType_ = + objc.registerName("pathForResource:ofType:"); +final _objc_msgSend_707 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer name, + ffi.Pointer ext)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_pathForResource_ofType_inDirectory_forLocalization_ = + objc.registerName("pathForResource:ofType:inDirectory:forLocalization:"); +final _objc_msgSend_708 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer name, + ffi.Pointer ext, + ffi.Pointer subpath, + ffi.Pointer localizationName)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_pathsForResourcesOfType_inDirectory_forLocalization_ = + objc.registerName("pathsForResourcesOfType:inDirectory:forLocalization:"); +final _objc_msgSend_709 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer ext, + ffi.Pointer subpath, + ffi.Pointer localizationName)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_localizedStringForKey_value_table_ = + objc.registerName("localizedStringForKey:value:table:"); +final _objc_msgSend_710 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer key, + ffi.Pointer value, + ffi.Pointer tableName)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); class NSAttributedString extends NSObject { - NSAttributedString._( - ffi.Pointer pointer, - AVFAudio lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSAttributedString._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSAttributedString] that points to the same underlying object as [other]. - static NSAttributedString castFrom( - AVFAudio lib, - T other, - ) { - return NSAttributedString._( - other.pointer, - lib, - retain: true, - release: true, - ); + static NSAttributedString castFrom(T other) { + return NSAttributedString._(other.pointer, retain: true, release: true); } /// Returns a [NSAttributedString] that wraps the given raw object pointer. - static NSAttributedString castFromPointer( - AVFAudio lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSAttributedString._(other, lib, retain: retain, release: release); + static NSAttributedString castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSAttributedString._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSAttributedString]. - static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSAttributedString1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0( + obj.pointer, _sel_isKindOfClass_, _class_NSAttributedString); } NSString get string { - final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_string1); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_string); + return NSString._(_ret, retain: true, release: true); } NSDictionary attributesAtIndex_effectiveRange_( - int location, - ffi.Pointer<_NSRange> range, - ) { - final _ret = _lib._objc_msgSend_711( - this.pointer, - _lib._sel_attributesAtIndex_effectiveRange_1, - location, - range, - ); - return NSDictionary._(_ret, _lib, retain: true, release: true); + int location, ffi.Pointer<_NSRange> range) { + final _ret = _objc_msgSend_711( + this.pointer, _sel_attributesAtIndex_effectiveRange_, location, range); + return NSDictionary._(_ret, retain: true, release: true); } int get length { - return _lib._objc_msgSend_10(this.pointer, _lib._sel_length1); + return _objc_msgSend_10(this.pointer, _sel_length); } NSObject? attribute_atIndex_effectiveRange_( - NSString attrName, - int location, - ffi.Pointer<_NSRange> range, - ) { - final _ret = _lib._objc_msgSend_712( - this.pointer, - _lib._sel_attribute_atIndex_effectiveRange_1, - attrName.pointer, - location, - range, - ); + NSString attrName, int location, ffi.Pointer<_NSRange> range) { + final _ret = _objc_msgSend_712( + this.pointer, + _sel_attribute_atIndex_effectiveRange_, + attrName.pointer, + location, + range); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } NSAttributedString attributedSubstringFromRange_(_NSRange range) { - final _ret = _lib._objc_msgSend_713( - this.pointer, - _lib._sel_attributedSubstringFromRange_1, - range, - ); - return NSAttributedString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_713( + this.pointer, _sel_attributedSubstringFromRange_, range); + return NSAttributedString._(_ret, retain: true, release: true); } NSDictionary attributesAtIndex_longestEffectiveRange_inRange_( - int location, - ffi.Pointer<_NSRange> range, - _NSRange rangeLimit, - ) { - final _ret = _lib._objc_msgSend_714( - this.pointer, - _lib._sel_attributesAtIndex_longestEffectiveRange_inRange_1, - location, - range, - rangeLimit, - ); - return NSDictionary._(_ret, _lib, retain: true, release: true); - } - - NSObject? attribute_atIndex_longestEffectiveRange_inRange_( - NSString attrName, - int location, - ffi.Pointer<_NSRange> range, - _NSRange rangeLimit, - ) { - final _ret = _lib._objc_msgSend_715( - this.pointer, - _lib._sel_attribute_atIndex_longestEffectiveRange_inRange_1, - attrName.pointer, - location, - range, - rangeLimit, - ); - return _ret.address == 0 - ? null - : NSObject._(_ret, _lib, retain: true, release: true); + int location, ffi.Pointer<_NSRange> range, _NSRange rangeLimit) { + final _ret = _objc_msgSend_714( + this.pointer, + _sel_attributesAtIndex_longestEffectiveRange_inRange_, + location, + range, + rangeLimit); + return NSDictionary._(_ret, retain: true, release: true); + } + + NSObject? attribute_atIndex_longestEffectiveRange_inRange_(NSString attrName, + int location, ffi.Pointer<_NSRange> range, _NSRange rangeLimit) { + final _ret = _objc_msgSend_715( + this.pointer, + _sel_attribute_atIndex_longestEffectiveRange_inRange_, + attrName.pointer, + location, + range, + rangeLimit); + return _ret.address == 0 + ? null + : NSObject._(_ret, retain: true, release: true); } bool isEqualToAttributedString_(NSAttributedString other) { - return _lib._objc_msgSend_716( - this.pointer, - _lib._sel_isEqualToAttributedString_1, - other.pointer, - ); + return _objc_msgSend_716( + this.pointer, _sel_isEqualToAttributedString_, other.pointer); } NSAttributedString initWithString_(NSString str) { - final _ret = _lib._objc_msgSend_31( - this.pointer, - _lib._sel_initWithString_1, - str.pointer, - ); - return NSAttributedString._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_31(this.pointer, _sel_initWithString_, str.pointer); + return NSAttributedString._(_ret, retain: true, release: true); } NSAttributedString initWithString_attributes_( - NSString str, - NSDictionary? attrs, - ) { - final _ret = _lib._objc_msgSend_717( - this.pointer, - _lib._sel_initWithString_attributes_1, - str.pointer, - attrs?.pointer ?? ffi.nullptr, - ); - return NSAttributedString._(_ret, _lib, retain: true, release: true); + NSString str, NSDictionary? attrs) { + final _ret = _objc_msgSend_717( + this.pointer, + _sel_initWithString_attributes_, + str.pointer, + attrs?.pointer ?? ffi.nullptr); + return NSAttributedString._(_ret, retain: true, release: true); } NSAttributedString initWithAttributedString_(NSAttributedString attrStr) { - final _ret = _lib._objc_msgSend_718( - this.pointer, - _lib._sel_initWithAttributedString_1, - attrStr.pointer, - ); - return NSAttributedString._(_ret, _lib, retain: true, release: true); - } - - void enumerateAttributesInRange_options_usingBlock_( - _NSRange enumerationRange, - int opts, - ObjCBlock_ffiVoid_NSDictionary_NSRange_bool block, - ) { - _lib._objc_msgSend_719( - this.pointer, - _lib._sel_enumerateAttributesInRange_options_usingBlock_1, - enumerationRange, - opts, - block.pointer, - ); + final _ret = _objc_msgSend_718( + this.pointer, _sel_initWithAttributedString_, attrStr.pointer); + return NSAttributedString._(_ret, retain: true, release: true); + } + + void enumerateAttributesInRange_options_usingBlock_(_NSRange enumerationRange, + int opts, ObjCBlock_ffiVoid_NSDictionary_NSRange_bool block) { + _objc_msgSend_719( + this.pointer, + _sel_enumerateAttributesInRange_options_usingBlock_, + enumerationRange, + opts, + block.pointer); } void enumerateAttribute_inRange_options_usingBlock_( - NSString attrName, - _NSRange enumerationRange, - int opts, - ObjCBlock_ffiVoid_objcObjCObject_NSRange_bool block, - ) { - _lib._objc_msgSend_720( - this.pointer, - _lib._sel_enumerateAttribute_inRange_options_usingBlock_1, - attrName.pointer, - enumerationRange, - opts, - block.pointer, - ); + NSString attrName, + _NSRange enumerationRange, + int opts, + ObjCBlock_ffiVoid_objcObjCObject_NSRange_bool block) { + _objc_msgSend_720( + this.pointer, + _sel_enumerateAttribute_inRange_options_usingBlock_, + attrName.pointer, + enumerationRange, + opts, + block.pointer); } NSAttributedString? initWithContentsOfMarkdownFileAtURL_options_baseURL_error_( - NSURL markdownFile, - NSAttributedStringMarkdownParsingOptions? options, - NSURL? baseURL, - ffi.Pointer> error, - ) { - final _ret = _lib._objc_msgSend_725( - this.pointer, - _lib._sel_initWithContentsOfMarkdownFileAtURL_options_baseURL_error_1, - markdownFile.pointer, - options?.pointer ?? ffi.nullptr, - baseURL?.pointer ?? ffi.nullptr, - error, - ); + NSURL markdownFile, + NSAttributedStringMarkdownParsingOptions? options, + NSURL? baseURL, + ffi.Pointer> error) { + final _ret = _objc_msgSend_725( + this.pointer, + _sel_initWithContentsOfMarkdownFileAtURL_options_baseURL_error_, + markdownFile.pointer, + options?.pointer ?? ffi.nullptr, + baseURL?.pointer ?? ffi.nullptr, + error); return _ret.address == 0 ? null - : NSAttributedString._(_ret, _lib, retain: true, release: true); + : NSAttributedString._(_ret, retain: true, release: true); } NSAttributedString? initWithMarkdown_options_baseURL_error_( - NSData markdown, - NSAttributedStringMarkdownParsingOptions? options, - NSURL? baseURL, - ffi.Pointer> error, - ) { - final _ret = _lib._objc_msgSend_726( - this.pointer, - _lib._sel_initWithMarkdown_options_baseURL_error_1, - markdown.pointer, - options?.pointer ?? ffi.nullptr, - baseURL?.pointer ?? ffi.nullptr, - error, - ); + NSData markdown, + NSAttributedStringMarkdownParsingOptions? options, + NSURL? baseURL, + ffi.Pointer> error) { + final _ret = _objc_msgSend_726( + this.pointer, + _sel_initWithMarkdown_options_baseURL_error_, + markdown.pointer, + options?.pointer ?? ffi.nullptr, + baseURL?.pointer ?? ffi.nullptr, + error); return _ret.address == 0 ? null - : NSAttributedString._(_ret, _lib, retain: true, release: true); + : NSAttributedString._(_ret, retain: true, release: true); } NSAttributedString? initWithMarkdownString_options_baseURL_error_( - NSString markdownString, - NSAttributedStringMarkdownParsingOptions? options, - NSURL? baseURL, - ffi.Pointer> error, - ) { - final _ret = _lib._objc_msgSend_727( - this.pointer, - _lib._sel_initWithMarkdownString_options_baseURL_error_1, - markdownString.pointer, - options?.pointer ?? ffi.nullptr, - baseURL?.pointer ?? ffi.nullptr, - error, - ); + NSString markdownString, + NSAttributedStringMarkdownParsingOptions? options, + NSURL? baseURL, + ffi.Pointer> error) { + final _ret = _objc_msgSend_727( + this.pointer, + _sel_initWithMarkdownString_options_baseURL_error_, + markdownString.pointer, + options?.pointer ?? ffi.nullptr, + baseURL?.pointer ?? ffi.nullptr, + error); return _ret.address == 0 ? null - : NSAttributedString._(_ret, _lib, retain: true, release: true); + : NSAttributedString._(_ret, retain: true, release: true); } NSAttributedString initWithFormat_options_locale_( - NSAttributedString format, - int options, - NSLocale? locale, - ) { - final _ret = _lib._objc_msgSend_728( - this.pointer, - _lib._sel_initWithFormat_options_locale_1, - format.pointer, - options, - locale?.pointer ?? ffi.nullptr, - ); - return NSAttributedString._(_ret, _lib, retain: true, release: true); + NSAttributedString format, int options, NSLocale? locale) { + final _ret = _objc_msgSend_728( + this.pointer, + _sel_initWithFormat_options_locale_, + format.pointer, + options, + locale?.pointer ?? ffi.nullptr); + return NSAttributedString._(_ret, retain: true, release: true); } NSAttributedString initWithFormat_options_locale_arguments_( - NSAttributedString format, - int options, - NSLocale? locale, - ffi.Pointer<__va_list_tag> arguments, - ) { - final _ret = _lib._objc_msgSend_729( - this.pointer, - _lib._sel_initWithFormat_options_locale_arguments_1, - format.pointer, - options, - locale?.pointer ?? ffi.nullptr, - arguments, - ); - return NSAttributedString._(_ret, _lib, retain: true, release: true); + NSAttributedString format, + int options, + NSLocale? locale, + ffi.Pointer<__va_list_tag> arguments) { + final _ret = _objc_msgSend_729( + this.pointer, + _sel_initWithFormat_options_locale_arguments_, + format.pointer, + options, + locale?.pointer ?? ffi.nullptr, + arguments); + return NSAttributedString._(_ret, retain: true, release: true); } static NSAttributedString localizedAttributedStringWithFormat_( - AVFAudio _lib, - NSAttributedString format, - ) { - final _ret = _lib._objc_msgSend_718( - _lib._class_NSAttributedString1, - _lib._sel_localizedAttributedStringWithFormat_1, - format.pointer, - ); - return NSAttributedString._(_ret, _lib, retain: true, release: true); + NSAttributedString format) { + final _ret = _objc_msgSend_718(_class_NSAttributedString, + _sel_localizedAttributedStringWithFormat_, format.pointer); + return NSAttributedString._(_ret, retain: true, release: true); } static NSAttributedString localizedAttributedStringWithFormat_options_( - AVFAudio _lib, - NSAttributedString format, - int options, - ) { - final _ret = _lib._objc_msgSend_730( - _lib._class_NSAttributedString1, - _lib._sel_localizedAttributedStringWithFormat_options_1, - format.pointer, - options, - ); - return NSAttributedString._(_ret, _lib, retain: true, release: true); + NSAttributedString format, int options) { + final _ret = _objc_msgSend_730( + _class_NSAttributedString, + _sel_localizedAttributedStringWithFormat_options_, + format.pointer, + options); + return NSAttributedString._(_ret, retain: true, release: true); } NSAttributedString initWithFormat_options_locale_context_( - NSAttributedString format, - int options, - NSLocale? locale, - NSDictionary context, - ) { - final _ret = _lib._objc_msgSend_731( - this.pointer, - _lib._sel_initWithFormat_options_locale_context_1, - format.pointer, - options, - locale?.pointer ?? ffi.nullptr, - context.pointer, - ); - return NSAttributedString._(_ret, _lib, retain: true, release: true); + NSAttributedString format, + int options, + NSLocale? locale, + NSDictionary context) { + final _ret = _objc_msgSend_731( + this.pointer, + _sel_initWithFormat_options_locale_context_, + format.pointer, + options, + locale?.pointer ?? ffi.nullptr, + context.pointer); + return NSAttributedString._(_ret, retain: true, release: true); } NSAttributedString initWithFormat_options_locale_context_arguments_( - NSAttributedString format, - int options, - NSLocale? locale, - NSDictionary context, - ffi.Pointer<__va_list_tag> arguments, - ) { - final _ret = _lib._objc_msgSend_732( - this.pointer, - _lib._sel_initWithFormat_options_locale_context_arguments_1, - format.pointer, - options, - locale?.pointer ?? ffi.nullptr, - context.pointer, - arguments, - ); - return NSAttributedString._(_ret, _lib, retain: true, release: true); + NSAttributedString format, + int options, + NSLocale? locale, + NSDictionary context, + ffi.Pointer<__va_list_tag> arguments) { + final _ret = _objc_msgSend_732( + this.pointer, + _sel_initWithFormat_options_locale_context_arguments_, + format.pointer, + options, + locale?.pointer ?? ffi.nullptr, + context.pointer, + arguments); + return NSAttributedString._(_ret, retain: true, release: true); } static NSAttributedString localizedAttributedStringWithFormat_context_( - AVFAudio _lib, - NSAttributedString format, - NSDictionary context, - ) { - final _ret = _lib._objc_msgSend_733( - _lib._class_NSAttributedString1, - _lib._sel_localizedAttributedStringWithFormat_context_1, - format.pointer, - context.pointer, - ); - return NSAttributedString._(_ret, _lib, retain: true, release: true); + NSAttributedString format, NSDictionary context) { + final _ret = _objc_msgSend_733( + _class_NSAttributedString, + _sel_localizedAttributedStringWithFormat_context_, + format.pointer, + context.pointer); + return NSAttributedString._(_ret, retain: true, release: true); } static NSAttributedString localizedAttributedStringWithFormat_options_context_( - AVFAudio _lib, - NSAttributedString format, - int options, - NSDictionary context, - ) { - final _ret = _lib._objc_msgSend_734( - _lib._class_NSAttributedString1, - _lib._sel_localizedAttributedStringWithFormat_options_context_1, - format.pointer, - options, - context.pointer, - ); - return NSAttributedString._(_ret, _lib, retain: true, release: true); + NSAttributedString format, int options, NSDictionary context) { + final _ret = _objc_msgSend_734( + _class_NSAttributedString, + _sel_localizedAttributedStringWithFormat_options_context_, + format.pointer, + options, + context.pointer); + return NSAttributedString._(_ret, retain: true, release: true); + } + + NSAttributedString attributedStringByInflectingString() { + final _ret = _objc_msgSend_735( + this.pointer, _sel_attributedStringByInflectingString); + return NSAttributedString._(_ret, retain: true, release: true); + } + + @override + NSAttributedString init() { + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSAttributedString._(_ret, retain: true, release: true); + } + + static NSAttributedString new1() { + final _ret = _objc_msgSend_2(_class_NSAttributedString, _sel_new); + return NSAttributedString._(_ret, retain: false, release: true); + } + + static NSAttributedString allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = + _objc_msgSend_3(_class_NSAttributedString, _sel_allocWithZone_, zone); + return NSAttributedString._(_ret, retain: false, release: true); + } + + static NSAttributedString alloc() { + final _ret = _objc_msgSend_2(_class_NSAttributedString, _sel_alloc); + return NSAttributedString._(_ret, retain: false, release: true); } - NSAttributedString attributedStringByInflectingString() { - final _ret = _lib._objc_msgSend_735( - this.pointer, - _lib._sel_attributedStringByInflectingString1, - ); - return NSAttributedString._(_ret, _lib, retain: true, release: true); + static void cancelPreviousPerformRequestsWithTarget_selector_object_( + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSAttributedString, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); } - @override - NSAttributedString init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSAttributedString._(_ret, _lib, retain: true, release: true); + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSAttributedString, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); } - static NSAttributedString new1(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSAttributedString1, - _lib._sel_new1, - ); - return NSAttributedString._(_ret, _lib, retain: false, release: true); + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSAttributedString, _sel_accessInstanceVariablesDirectly); } - static NSAttributedString allocWithZone_( - AVFAudio _lib, - ffi.Pointer<_NSZone> zone, - ) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSAttributedString1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSAttributedString._(_ret, _lib, retain: false, release: true); + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSAttributedString, _sel_useStoredAccessor); } - static NSAttributedString alloc(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSAttributedString1, - _lib._sel_alloc1, - ); - return NSAttributedString._(_ret, _lib, retain: false, release: true); + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSAttributedString, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); } - static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSAttributedString1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSAttributedString1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSAttributedString1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSAttributedString1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSAttributedString1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSAttributedString1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSAttributedString, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); } static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSAttributedString1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSAttributedString1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSAttributedString1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); - } -} + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSAttributedString, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = _objc_msgSend_85( + _class_NSAttributedString, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = _objc_msgSend_2( + _class_NSAttributedString, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); + } +} + +late final _class_NSAttributedString = objc.getClass("NSAttributedString"); +late final _sel_attributesAtIndex_effectiveRange_ = + objc.registerName("attributesAtIndex:effectiveRange:"); +final _objc_msgSend_711 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.UnsignedLong location, + ffi.Pointer<_NSRange> range)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, int, ffi.Pointer<_NSRange>)>(); +late final _sel_attribute_atIndex_effectiveRange_ = + objc.registerName("attribute:atIndex:effectiveRange:"); +final _objc_msgSend_712 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer attrName, + ffi.UnsignedLong location, + ffi.Pointer<_NSRange> range)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer<_NSRange>)>(); +late final _sel_attributedSubstringFromRange_ = + objc.registerName("attributedSubstringFromRange:"); +final _objc_msgSend_713 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + _NSRange range)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, _NSRange)>(); +late final _sel_attributesAtIndex_longestEffectiveRange_inRange_ = + objc.registerName("attributesAtIndex:longestEffectiveRange:inRange:"); +final _objc_msgSend_714 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.UnsignedLong location, + ffi.Pointer<_NSRange> range, + _NSRange rangeLimit)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer<_NSRange>, + _NSRange)>(); +late final _sel_attribute_atIndex_longestEffectiveRange_inRange_ = + objc.registerName("attribute:atIndex:longestEffectiveRange:inRange:"); +final _objc_msgSend_715 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer attrName, + ffi.UnsignedLong location, + ffi.Pointer<_NSRange> range, + _NSRange rangeLimit)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer<_NSRange>, + _NSRange)>(); +late final _sel_isEqualToAttributedString_ = + objc.registerName("isEqualToAttributedString:"); +final _objc_msgSend_716 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer other)>>() + .asFunction< + bool Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_initWithString_attributes_ = + objc.registerName("initWithString:attributes:"); +final _objc_msgSend_717 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer str, + ffi.Pointer attrs)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_initWithAttributedString_ = + objc.registerName("initWithAttributedString:"); +final _objc_msgSend_718 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer attrStr)>>() + .asFunction< + instancetype Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); abstract class NSAttributedStringEnumerationOptions { static const int NSAttributedStringEnumerationReverse = 2; @@ -69953,40 +34854,27 @@ abstract class NSAttributedStringEnumerationOptions { } void _ObjCBlock_ffiVoid_NSDictionary_NSRange_bool_fnPtrTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, - _NSRange arg1, - ffi.Pointer arg2, -) => + ffi.Pointer block, + ffi.Pointer arg0, + _NSRange arg1, + ffi.Pointer arg2) => block.ref.target .cast< ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - _NSRange arg1, - ffi.Pointer arg2, - )>>() + ffi.Void Function(ffi.Pointer arg0, + _NSRange arg1, ffi.Pointer arg2)>>() .asFunction< - void Function( - ffi.Pointer, - _NSRange, - ffi.Pointer, - )>()(arg0, arg1, arg2); + void Function(ffi.Pointer, _NSRange, + ffi.Pointer)>()(arg0, arg1, arg2); final _ObjCBlock_ffiVoid_NSDictionary_NSRange_bool_closureRegistry = , - _NSRange, - ffi.Pointer, -)>{}; + ffi.Pointer, _NSRange, ffi.Pointer)>{}; int _ObjCBlock_ffiVoid_NSDictionary_NSRange_bool_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_ffiVoid_NSDictionary_NSRange_bool_registerClosure( - void Function( - ffi.Pointer, - _NSRange, - ffi.Pointer, - ) fn, -) { + void Function( + ffi.Pointer, _NSRange, ffi.Pointer) + fn) { final id = ++_ObjCBlock_ffiVoid_NSDictionary_NSRange_bool_closureRegistryIndex; _ObjCBlock_ffiVoid_NSDictionary_NSRange_bool_closureRegistry[id] = fn; @@ -69994,37 +34882,27 @@ ffi.Pointer } void _ObjCBlock_ffiVoid_NSDictionary_NSRange_bool_closureTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, - _NSRange arg1, - ffi.Pointer arg2, -) => + ffi.Pointer block, + ffi.Pointer arg0, + _NSRange arg1, + ffi.Pointer arg2) => _ObjCBlock_ffiVoid_NSDictionary_NSRange_bool_closureRegistry[ block.ref.target.address]!(arg0, arg1, arg2); class ObjCBlock_ffiVoid_NSDictionary_NSRange_bool extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSDictionary_NSRange_bool._( - ffi.Pointer pointer, - this._lib, { - bool retain = false, - bool release = true, - }) : super(pointer, retain: retain, release: release); - - AVFAudio _lib; + ffi.Pointer pointer, + {bool retain = false, + bool release = true}) + : super(pointer, retain: retain, release: release); /// Returns a block that wraps the given raw block pointer. static ObjCBlock_ffiVoid_NSDictionary_NSRange_bool castFromPointer( - AVFAudio lib, - ffi.Pointer pointer, { - bool retain = false, - bool release = false, - }) { - return ObjCBlock_ffiVoid_NSDictionary_NSRange_bool._( - pointer, - lib, - retain: retain, - release: release, - ); + ffi.Pointer pointer, + {bool retain = false, + bool release = false}) { + return ObjCBlock_ffiVoid_NSDictionary_NSRange_bool._(pointer, + retain: retain, release: release); } /// Creates a block from a C function pointer. @@ -70033,29 +34911,22 @@ class ObjCBlock_ffiVoid_NSDictionary_NSRange_bool extends objc.ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSDictionary_NSRange_bool.fromFunctionPointer( - AVFAudio lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - _NSRange arg1, - ffi.Pointer arg2, - )>> - ptr, - ) : this._( - objc.newBlock( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - )>( - _ObjCBlock_ffiVoid_NSDictionary_NSRange_bool_fnPtrTrampoline, - ).cast(), - ptr.cast(), - ), - lib); + ffi.Pointer< + ffi + .NativeFunction< + ffi.Void Function(ffi.Pointer arg0, + _NSRange arg1, ffi.Pointer arg2)>> + ptr) + : this._(objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer)>( + _ObjCBlock_ffiVoid_NSDictionary_NSRange_bool_fnPtrTrampoline) + .cast(), + ptr.cast())); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -70064,35 +34935,20 @@ class ObjCBlock_ffiVoid_NSDictionary_NSRange_bool extends objc.ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSDictionary_NSRange_bool.fromFunction( - AVFAudio lib, - void Function(NSDictionary, _NSRange, ffi.Pointer) fn, - ) : this._( - objc.newBlock( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - )>( - _ObjCBlock_ffiVoid_NSDictionary_NSRange_bool_closureTrampoline, - ).cast(), - _ObjCBlock_ffiVoid_NSDictionary_NSRange_bool_registerClosure(( - ffi.Pointer arg0, - _NSRange arg1, - ffi.Pointer arg2, - ) => - fn( - NSDictionary._( - arg0, - lib, - retain: true, - release: true, - ), - arg1, - arg2)), - ), - lib); + void Function(NSDictionary, _NSRange, ffi.Pointer) fn) + : this._(objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer)>( + _ObjCBlock_ffiVoid_NSDictionary_NSRange_bool_closureTrampoline) + .cast(), + _ObjCBlock_ffiVoid_NSDictionary_NSRange_bool_registerClosure( + (ffi.Pointer arg0, _NSRange arg1, + ffi.Pointer arg2) => + fn(NSDictionary._(arg0, retain: true, release: true), arg1, arg2)))); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -70105,103 +34961,86 @@ class ObjCBlock_ffiVoid_NSDictionary_NSRange_bool extends objc.ObjCBlockBase { /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. ObjCBlock_ffiVoid_NSDictionary_NSRange_bool.listener( - AVFAudio lib, - void Function(NSDictionary, _NSRange, ffi.Pointer) fn, - ) : this._( - objc.newBlock( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - )>.listener( - _ObjCBlock_ffiVoid_NSDictionary_NSRange_bool_closureTrampoline, - )..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSDictionary_NSRange_bool_registerClosure(( - ffi.Pointer arg0, - _NSRange arg1, - ffi.Pointer arg2, - ) => - fn( - NSDictionary._( - arg0, - lib, - retain: true, - release: true, - ), - arg1, - arg2)), - ), - lib); + void Function(NSDictionary, _NSRange, ffi.Pointer) fn) + : this._(objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer)>.listener( + _ObjCBlock_ffiVoid_NSDictionary_NSRange_bool_closureTrampoline) + ..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSDictionary_NSRange_bool_registerClosure( + (ffi.Pointer arg0, _NSRange arg1, + ffi.Pointer arg2) => + fn(NSDictionary._(arg0, retain: true, release: true), arg1, arg2)))); static ffi.NativeCallable< ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - )>? _dartFuncListenerTrampoline; - - void call( - NSDictionary arg0, - _NSRange arg1, - ffi.Pointer arg2, - ) => + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer)>? _dartFuncListenerTrampoline; + + void call(NSDictionary arg0, _NSRange arg1, ffi.Pointer arg2) => pointer.ref.invoke .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer block, - ffi.Pointer arg0, - _NSRange arg1, - ffi.Pointer arg2, - )>>() + ffi.Pointer block, + ffi.Pointer arg0, + _NSRange arg1, + ffi.Pointer arg2)>>() .asFunction< void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - )>()(pointer, arg0.pointer, arg1, arg2); -} - + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer)>()(pointer, arg0.pointer, arg1, arg2); +} + +late final _sel_enumerateAttributesInRange_options_usingBlock_ = + objc.registerName("enumerateAttributesInRange:options:usingBlock:"); +final _objc_msgSend_719 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + _NSRange enumerationRange, + ffi.Int32 opts, + ffi.Pointer block)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + int, + ffi.Pointer)>(); void _ObjCBlock_ffiVoid_objcObjCObject_NSRange_bool_fnPtrTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, - _NSRange arg1, - ffi.Pointer arg2, -) => + ffi.Pointer block, + ffi.Pointer arg0, + _NSRange arg1, + ffi.Pointer arg2) => block.ref.target .cast< ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - _NSRange arg1, - ffi.Pointer arg2, - )>>() + ffi.Void Function(ffi.Pointer arg0, + _NSRange arg1, ffi.Pointer arg2)>>() .asFunction< - void Function( - ffi.Pointer, - _NSRange, - ffi.Pointer, - )>()(arg0, arg1, arg2); + void Function(ffi.Pointer, _NSRange, + ffi.Pointer)>()(arg0, arg1, arg2); final _ObjCBlock_ffiVoid_objcObjCObject_NSRange_bool_closureRegistry = , - _NSRange, - ffi.Pointer, -)>{}; + ffi.Pointer, _NSRange, ffi.Pointer)>{}; int _ObjCBlock_ffiVoid_objcObjCObject_NSRange_bool_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_ffiVoid_objcObjCObject_NSRange_bool_registerClosure( - void Function( - ffi.Pointer, - _NSRange, - ffi.Pointer, - ) fn, -) { + void Function( + ffi.Pointer, _NSRange, ffi.Pointer) + fn) { final id = ++_ObjCBlock_ffiVoid_objcObjCObject_NSRange_bool_closureRegistryIndex; _ObjCBlock_ffiVoid_objcObjCObject_NSRange_bool_closureRegistry[id] = fn; @@ -70209,37 +35048,27 @@ ffi.Pointer } void _ObjCBlock_ffiVoid_objcObjCObject_NSRange_bool_closureTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, - _NSRange arg1, - ffi.Pointer arg2, -) => + ffi.Pointer block, + ffi.Pointer arg0, + _NSRange arg1, + ffi.Pointer arg2) => _ObjCBlock_ffiVoid_objcObjCObject_NSRange_bool_closureRegistry[ block.ref.target.address]!(arg0, arg1, arg2); class ObjCBlock_ffiVoid_objcObjCObject_NSRange_bool extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_objcObjCObject_NSRange_bool._( - ffi.Pointer pointer, - this._lib, { - bool retain = false, - bool release = true, - }) : super(pointer, retain: retain, release: release); - - AVFAudio _lib; + ffi.Pointer pointer, + {bool retain = false, + bool release = true}) + : super(pointer, retain: retain, release: release); /// Returns a block that wraps the given raw block pointer. static ObjCBlock_ffiVoid_objcObjCObject_NSRange_bool castFromPointer( - AVFAudio lib, - ffi.Pointer pointer, { - bool retain = false, - bool release = false, - }) { - return ObjCBlock_ffiVoid_objcObjCObject_NSRange_bool._( - pointer, - lib, - retain: retain, - release: release, - ); + ffi.Pointer pointer, + {bool retain = false, + bool release = false}) { + return ObjCBlock_ffiVoid_objcObjCObject_NSRange_bool._(pointer, + retain: retain, release: release); } /// Creates a block from a C function pointer. @@ -70248,29 +35077,21 @@ class ObjCBlock_ffiVoid_objcObjCObject_NSRange_bool extends objc.ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_objcObjCObject_NSRange_bool.fromFunctionPointer( - AVFAudio lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - _NSRange arg1, - ffi.Pointer arg2, - )>> - ptr, - ) : this._( - objc.newBlock( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - )>( - _ObjCBlock_ffiVoid_objcObjCObject_NSRange_bool_fnPtrTrampoline, - ).cast(), - ptr.cast(), - ), - lib); + ffi.Pointer< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer arg0, + _NSRange arg1, ffi.Pointer arg2)>> + ptr) + : this._(objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer)>( + _ObjCBlock_ffiVoid_objcObjCObject_NSRange_bool_fnPtrTrampoline) + .cast(), + ptr.cast())); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -70279,33 +35100,20 @@ class ObjCBlock_ffiVoid_objcObjCObject_NSRange_bool extends objc.ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_objcObjCObject_NSRange_bool.fromFunction( - AVFAudio lib, - void Function(NSObject?, _NSRange, ffi.Pointer) fn, - ) : this._( - objc.newBlock( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - )>( - _ObjCBlock_ffiVoid_objcObjCObject_NSRange_bool_closureTrampoline, - ).cast(), - _ObjCBlock_ffiVoid_objcObjCObject_NSRange_bool_registerClosure(( - ffi.Pointer arg0, - _NSRange arg1, - ffi.Pointer arg2, - ) => - fn( - arg0.address == 0 - ? null - : NSObject._(arg0, lib, retain: true, release: true), - arg1, - arg2, - )), - ), - lib); + void Function(NSObject?, _NSRange, ffi.Pointer) fn) + : this._(objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer)>( + _ObjCBlock_ffiVoid_objcObjCObject_NSRange_bool_closureTrampoline) + .cast(), + _ObjCBlock_ffiVoid_objcObjCObject_NSRange_bool_registerClosure( + (ffi.Pointer arg0, _NSRange arg1, + ffi.Pointer arg2) => + fn(arg0.address == 0 ? null : NSObject._(arg0, retain: true, release: true), arg1, arg2)))); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -70318,325 +35126,245 @@ class ObjCBlock_ffiVoid_objcObjCObject_NSRange_bool extends objc.ObjCBlockBase { /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. ObjCBlock_ffiVoid_objcObjCObject_NSRange_bool.listener( - AVFAudio lib, - void Function(NSObject?, _NSRange, ffi.Pointer) fn, - ) : this._( - objc.newBlock( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - )>.listener( - _ObjCBlock_ffiVoid_objcObjCObject_NSRange_bool_closureTrampoline, - )..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_objcObjCObject_NSRange_bool_registerClosure(( - ffi.Pointer arg0, - _NSRange arg1, - ffi.Pointer arg2, - ) => - fn( - arg0.address == 0 - ? null - : NSObject._(arg0, lib, retain: true, release: true), - arg1, - arg2, - )), - ), - lib); + void Function(NSObject?, _NSRange, ffi.Pointer) fn) + : this._(objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer)>.listener( + _ObjCBlock_ffiVoid_objcObjCObject_NSRange_bool_closureTrampoline) + ..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_objcObjCObject_NSRange_bool_registerClosure( + (ffi.Pointer arg0, _NSRange arg1, + ffi.Pointer arg2) => + fn(arg0.address == 0 ? null : NSObject._(arg0, retain: true, release: true), arg1, arg2)))); static ffi.NativeCallable< ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - )>? _dartFuncListenerTrampoline; - - void call( - NSObject? arg0, - _NSRange arg1, - ffi.Pointer arg2, - ) => + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer)>? _dartFuncListenerTrampoline; + + void call(NSObject? arg0, _NSRange arg1, ffi.Pointer arg2) => pointer.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer block, - ffi.Pointer arg0, - _NSRange arg1, - ffi.Pointer arg2, - )>>() - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - )>()(pointer, arg0?.pointer ?? ffi.nullptr, arg1, arg2); -} + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer block, + ffi.Pointer arg0, + _NSRange arg1, + ffi.Pointer arg2)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer)>()( + pointer, arg0?.pointer ?? ffi.nullptr, arg1, arg2); +} + +late final _sel_enumerateAttribute_inRange_options_usingBlock_ = + objc.registerName("enumerateAttribute:inRange:options:usingBlock:"); +final _objc_msgSend_720 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer attrName, + _NSRange enumerationRange, + ffi.Int32 opts, + ffi.Pointer block)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange, + int, + ffi.Pointer)>(); class NSAttributedStringMarkdownParsingOptions extends NSObject { NSAttributedStringMarkdownParsingOptions._( - ffi.Pointer pointer, - AVFAudio lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + ffi.Pointer pointer, + {bool retain = false, + bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSAttributedStringMarkdownParsingOptions] that points to the same underlying object as [other]. static NSAttributedStringMarkdownParsingOptions - castFrom(AVFAudio lib, T other) { - return NSAttributedStringMarkdownParsingOptions._( - other.pointer, - lib, - retain: true, - release: true, - ); + castFrom(T other) { + return NSAttributedStringMarkdownParsingOptions._(other.pointer, + retain: true, release: true); } /// Returns a [NSAttributedStringMarkdownParsingOptions] that wraps the given raw object pointer. static NSAttributedStringMarkdownParsingOptions castFromPointer( - AVFAudio lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSAttributedStringMarkdownParsingOptions._( - other, - lib, - retain: retain, - release: release, - ); + ffi.Pointer other, + {bool retain = false, + bool release = false}) { + return NSAttributedStringMarkdownParsingOptions._(other, + retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSAttributedStringMarkdownParsingOptions]. - static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSAttributedStringMarkdownParsingOptions1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0(obj.pointer, _sel_isKindOfClass_, + _class_NSAttributedStringMarkdownParsingOptions); } @override NSAttributedStringMarkdownParsingOptions init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSAttributedStringMarkdownParsingOptions._( - _ret, - _lib, - retain: true, - release: true, - ); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSAttributedStringMarkdownParsingOptions._(_ret, + retain: true, release: true); } bool get allowsExtendedAttributes { - return _lib._objc_msgSend_12( - this.pointer, - _lib._sel_allowsExtendedAttributes1, - ); + return _objc_msgSend_12(this.pointer, _sel_allowsExtendedAttributes); } set allowsExtendedAttributes(bool value) { - return _lib._objc_msgSend_527( - this.pointer, - _lib._sel_setAllowsExtendedAttributes_1, - value, - ); + return _objc_msgSend_527( + this.pointer, _sel_setAllowsExtendedAttributes_, value); } int get interpretedSyntax { - return _lib._objc_msgSend_721(this.pointer, _lib._sel_interpretedSyntax1); + return _objc_msgSend_721(this.pointer, _sel_interpretedSyntax); } set interpretedSyntax(int value) { - return _lib._objc_msgSend_722( - this.pointer, - _lib._sel_setInterpretedSyntax_1, - value, - ); + return _objc_msgSend_722(this.pointer, _sel_setInterpretedSyntax_, value); } int get failurePolicy { - return _lib._objc_msgSend_723(this.pointer, _lib._sel_failurePolicy1); + return _objc_msgSend_723(this.pointer, _sel_failurePolicy); } set failurePolicy(int value) { - return _lib._objc_msgSend_724( - this.pointer, - _lib._sel_setFailurePolicy_1, - value, - ); + return _objc_msgSend_724(this.pointer, _sel_setFailurePolicy_, value); } NSString? get languageCode { - final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_languageCode1); + final _ret = _objc_msgSend_44(this.pointer, _sel_languageCode); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } set languageCode(NSString? value) { - return _lib._objc_msgSend_545( - this.pointer, - _lib._sel_setLanguageCode_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_545( + this.pointer, _sel_setLanguageCode_, value?.pointer ?? ffi.nullptr); } bool get appliesSourcePositionAttributes { - return _lib._objc_msgSend_12( - this.pointer, - _lib._sel_appliesSourcePositionAttributes1, - ); + return _objc_msgSend_12(this.pointer, _sel_appliesSourcePositionAttributes); } set appliesSourcePositionAttributes(bool value) { - return _lib._objc_msgSend_527( - this.pointer, - _lib._sel_setAppliesSourcePositionAttributes_1, - value, - ); - } - - static NSAttributedStringMarkdownParsingOptions new1(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSAttributedStringMarkdownParsingOptions1, - _lib._sel_new1, - ); - return NSAttributedStringMarkdownParsingOptions._( - _ret, - _lib, - retain: false, - release: true, - ); + return _objc_msgSend_527( + this.pointer, _sel_setAppliesSourcePositionAttributes_, value); + } + + static NSAttributedStringMarkdownParsingOptions new1() { + final _ret = _objc_msgSend_2( + _class_NSAttributedStringMarkdownParsingOptions, _sel_new); + return NSAttributedStringMarkdownParsingOptions._(_ret, + retain: false, release: true); } static NSAttributedStringMarkdownParsingOptions allocWithZone_( - AVFAudio _lib, - ffi.Pointer<_NSZone> zone, - ) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSAttributedStringMarkdownParsingOptions1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSAttributedStringMarkdownParsingOptions._( - _ret, - _lib, - retain: false, - release: true, - ); - } - - static NSAttributedStringMarkdownParsingOptions alloc(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSAttributedStringMarkdownParsingOptions1, - _lib._sel_alloc1, - ); - return NSAttributedStringMarkdownParsingOptions._( - _ret, - _lib, - retain: false, - release: true, - ); + ffi.Pointer<_NSZone> zone) { + final _ret = _objc_msgSend_3( + _class_NSAttributedStringMarkdownParsingOptions, + _sel_allocWithZone_, + zone); + return NSAttributedStringMarkdownParsingOptions._(_ret, + retain: false, release: true); + } + + static NSAttributedStringMarkdownParsingOptions alloc() { + final _ret = _objc_msgSend_2( + _class_NSAttributedStringMarkdownParsingOptions, _sel_alloc); + return NSAttributedStringMarkdownParsingOptions._(_ret, + retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSAttributedStringMarkdownParsingOptions1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSAttributedStringMarkdownParsingOptions1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSAttributedStringMarkdownParsingOptions1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSAttributedStringMarkdownParsingOptions1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSAttributedStringMarkdownParsingOptions1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSAttributedStringMarkdownParsingOptions1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSAttributedStringMarkdownParsingOptions, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); + } + + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSAttributedStringMarkdownParsingOptions, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); + } + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12(_class_NSAttributedStringMarkdownParsingOptions, + _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSAttributedStringMarkdownParsingOptions, + _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63( + _class_NSAttributedStringMarkdownParsingOptions, + _sel_keyPathsForValuesAffectingValueForKey_, + key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSAttributedStringMarkdownParsingOptions, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); } static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSAttributedStringMarkdownParsingOptions1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSAttributedStringMarkdownParsingOptions1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSAttributedStringMarkdownParsingOptions1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSAttributedStringMarkdownParsingOptions, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = _objc_msgSend_85( + _class_NSAttributedStringMarkdownParsingOptions, + _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = _objc_msgSend_2( + _class_NSAttributedStringMarkdownParsingOptions, + _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); } } +late final _class_NSAttributedStringMarkdownParsingOptions = + objc.getClass("NSAttributedStringMarkdownParsingOptions"); +late final _sel_allowsExtendedAttributes = + objc.registerName("allowsExtendedAttributes"); +late final _sel_setAllowsExtendedAttributes_ = + objc.registerName("setAllowsExtendedAttributes:"); + abstract class NSAttributedStringMarkdownInterpretedSyntax { static const int NSAttributedStringMarkdownInterpretedSyntaxFull = 0; static const int NSAttributedStringMarkdownInterpretedSyntaxInlineOnly = 1; @@ -70645,6 +35373,26 @@ abstract class NSAttributedStringMarkdownInterpretedSyntax { 2; } +late final _sel_interpretedSyntax = objc.registerName("interpretedSyntax"); +final _objc_msgSend_721 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + int Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_setInterpretedSyntax_ = + objc.registerName("setInterpretedSyntax:"); +final _objc_msgSend_722 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer obj, + ffi.Pointer sel, ffi.Int32 value)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, int)>(); + abstract class NSAttributedStringMarkdownParsingFailurePolicy { static const int NSAttributedStringMarkdownParsingFailureReturnError = 0; static const int @@ -70652,6 +35400,91 @@ abstract class NSAttributedStringMarkdownParsingFailurePolicy { 1; } +late final _sel_failurePolicy = objc.registerName("failurePolicy"); +final _objc_msgSend_723 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + int Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_setFailurePolicy_ = objc.registerName("setFailurePolicy:"); +final _objc_msgSend_724 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer obj, + ffi.Pointer sel, ffi.Int32 value)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, int)>(); +late final _sel_setLanguageCode_ = objc.registerName("setLanguageCode:"); +late final _sel_appliesSourcePositionAttributes = + objc.registerName("appliesSourcePositionAttributes"); +late final _sel_setAppliesSourcePositionAttributes_ = + objc.registerName("setAppliesSourcePositionAttributes:"); +late final _sel_initWithContentsOfMarkdownFileAtURL_options_baseURL_error_ = + objc.registerName( + "initWithContentsOfMarkdownFileAtURL:options:baseURL:error:"); +final _objc_msgSend_725 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer markdownFile, + ffi.Pointer options, + ffi.Pointer baseURL, + ffi.Pointer> error)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>(); +late final _sel_initWithMarkdown_options_baseURL_error_ = + objc.registerName("initWithMarkdown:options:baseURL:error:"); +final _objc_msgSend_726 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer markdown, + ffi.Pointer options, + ffi.Pointer baseURL, + ffi.Pointer> error)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>(); +late final _sel_initWithMarkdownString_options_baseURL_error_ = + objc.registerName("initWithMarkdownString:options:baseURL:error:"); +final _objc_msgSend_727 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer markdownString, + ffi.Pointer options, + ffi.Pointer baseURL, + ffi.Pointer> error)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>(); + abstract class NSAttributedStringFormattingOptions { static const int NSAttributedStringFormattingInsertArgumentAttributesWithoutMerging = 1; @@ -70659,1537 +35492,1486 @@ abstract class NSAttributedStringFormattingOptions { 2; } +late final _sel_initWithFormat_options_locale_ = + objc.registerName("initWithFormat:options:locale:"); +final _objc_msgSend_728 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer format, + ffi.Int32 options, + ffi.Pointer locale)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer)>(); +late final _sel_initWithFormat_options_locale_arguments_ = + objc.registerName("initWithFormat:options:locale:arguments:"); +final _objc_msgSend_729 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer format, + ffi.Int32 options, + ffi.Pointer locale, + ffi.Pointer<__va_list_tag> arguments)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ffi.Pointer<__va_list_tag>)>(); +late final _sel_localizedAttributedStringWithFormat_ = + objc.registerName("localizedAttributedStringWithFormat:"); +late final _sel_localizedAttributedStringWithFormat_options_ = + objc.registerName("localizedAttributedStringWithFormat:options:"); +final _objc_msgSend_730 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer format, + ffi.Int32 options)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int)>(); +late final _sel_initWithFormat_options_locale_context_ = + objc.registerName("initWithFormat:options:locale:context:"); +final _objc_msgSend_731 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer format, + ffi.Int32 options, + ffi.Pointer locale, + ffi.Pointer context)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_initWithFormat_options_locale_context_arguments_ = + objc.registerName("initWithFormat:options:locale:context:arguments:"); +final _objc_msgSend_732 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer format, + ffi.Int32 options, + ffi.Pointer locale, + ffi.Pointer context, + ffi.Pointer<__va_list_tag> arguments)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<__va_list_tag>)>(); +late final _sel_localizedAttributedStringWithFormat_context_ = + objc.registerName("localizedAttributedStringWithFormat:context:"); +final _objc_msgSend_733 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer format, + ffi.Pointer context)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_localizedAttributedStringWithFormat_options_context_ = + objc.registerName("localizedAttributedStringWithFormat:options:context:"); +final _objc_msgSend_734 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer format, + ffi.Int32 options, + ffi.Pointer context)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer)>(); +late final _sel_attributedStringByInflectingString = + objc.registerName("attributedStringByInflectingString"); +final _objc_msgSend_735 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_localizedAttributedStringForKey_value_table_ = + objc.registerName("localizedAttributedStringForKey:value:table:"); +final _objc_msgSend_736 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer key, + ffi.Pointer value, + ffi.Pointer tableName)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_bundleIdentifier = objc.registerName("bundleIdentifier"); +late final _sel_infoDictionary = objc.registerName("infoDictionary"); +late final _sel_localizedInfoDictionary = + objc.registerName("localizedInfoDictionary"); +late final _sel_objectForInfoDictionaryKey_ = + objc.registerName("objectForInfoDictionaryKey:"); +late final _sel_classNamed_ = objc.registerName("classNamed:"); +late final _sel_principalClass = objc.registerName("principalClass"); +late final _sel_preferredLocalizations = + objc.registerName("preferredLocalizations"); +late final _sel_localizations = objc.registerName("localizations"); +late final _sel_developmentLocalization = + objc.registerName("developmentLocalization"); +late final _sel_preferredLocalizationsFromArray_ = + objc.registerName("preferredLocalizationsFromArray:"); +late final _sel_preferredLocalizationsFromArray_forPreferences_ = + objc.registerName("preferredLocalizationsFromArray:forPreferences:"); +final _objc_msgSend_737 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer localizationsArray, + ffi.Pointer preferencesArray)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_executableArchitectures = + objc.registerName("executableArchitectures"); +late final _sel_setPreservationPriority_forTags_ = + objc.registerName("setPreservationPriority:forTags:"); +final _objc_msgSend_738 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Double priority, + ffi.Pointer tags)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + double, + ffi.Pointer)>(); +late final _sel_preservationPriorityForTag_ = + objc.registerName("preservationPriorityForTag:"); + class NSMutableAttributedString extends NSAttributedString { - NSMutableAttributedString._( - ffi.Pointer pointer, - AVFAudio lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSMutableAttributedString._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSMutableAttributedString] that points to the same underlying object as [other]. static NSMutableAttributedString castFrom( - AVFAudio lib, - T other, - ) { - return NSMutableAttributedString._( - other.pointer, - lib, - retain: true, - release: true, - ); + T other) { + return NSMutableAttributedString._(other.pointer, + retain: true, release: true); } /// Returns a [NSMutableAttributedString] that wraps the given raw object pointer. static NSMutableAttributedString castFromPointer( - AVFAudio lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSMutableAttributedString._( - other, - lib, - retain: retain, - release: release, - ); + ffi.Pointer other, + {bool retain = false, + bool release = false}) { + return NSMutableAttributedString._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSMutableAttributedString]. - static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSMutableAttributedString1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0( + obj.pointer, _sel_isKindOfClass_, _class_NSMutableAttributedString); } void replaceCharactersInRange_withString_(_NSRange range, NSString str) { - _lib._objc_msgSend_689( - this.pointer, - _lib._sel_replaceCharactersInRange_withString_1, - range, - str.pointer, - ); + _objc_msgSend_689(this.pointer, _sel_replaceCharactersInRange_withString_, + range, str.pointer); } void setAttributes_range_(NSDictionary? attrs, _NSRange range) { - _lib._objc_msgSend_739( - this.pointer, - _lib._sel_setAttributes_range_1, - attrs?.pointer ?? ffi.nullptr, - range, - ); + _objc_msgSend_739(this.pointer, _sel_setAttributes_range_, + attrs?.pointer ?? ffi.nullptr, range); } NSMutableString get mutableString { - final _ret = _lib._objc_msgSend_740(this.pointer, _lib._sel_mutableString1); - return NSMutableString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_740(this.pointer, _sel_mutableString); + return NSMutableString._(_ret, retain: true, release: true); } void addAttribute_value_range_( - NSString name, - NSObject value, - _NSRange range, - ) { - _lib._objc_msgSend_741( - this.pointer, - _lib._sel_addAttribute_value_range_1, - name.pointer, - value.pointer, - range, - ); + NSString name, NSObject value, _NSRange range) { + _objc_msgSend_741(this.pointer, _sel_addAttribute_value_range_, + name.pointer, value.pointer, range); } void addAttributes_range_(NSDictionary attrs, _NSRange range) { - _lib._objc_msgSend_742( - this.pointer, - _lib._sel_addAttributes_range_1, - attrs.pointer, - range, - ); + _objc_msgSend_742( + this.pointer, _sel_addAttributes_range_, attrs.pointer, range); } void removeAttribute_range_(NSString name, _NSRange range) { - _lib._objc_msgSend_743( - this.pointer, - _lib._sel_removeAttribute_range_1, - name.pointer, - range, - ); + _objc_msgSend_743( + this.pointer, _sel_removeAttribute_range_, name.pointer, range); } void replaceCharactersInRange_withAttributedString_( - _NSRange range, - NSAttributedString attrString, - ) { - _lib._objc_msgSend_744( - this.pointer, - _lib._sel_replaceCharactersInRange_withAttributedString_1, - range, - attrString.pointer, - ); + _NSRange range, NSAttributedString attrString) { + _objc_msgSend_744( + this.pointer, + _sel_replaceCharactersInRange_withAttributedString_, + range, + attrString.pointer); } void insertAttributedString_atIndex_(NSAttributedString attrString, int loc) { - _lib._objc_msgSend_745( - this.pointer, - _lib._sel_insertAttributedString_atIndex_1, - attrString.pointer, - loc, - ); + _objc_msgSend_745(this.pointer, _sel_insertAttributedString_atIndex_, + attrString.pointer, loc); } void appendAttributedString_(NSAttributedString attrString) { - _lib._objc_msgSend_746( - this.pointer, - _lib._sel_appendAttributedString_1, - attrString.pointer, - ); + _objc_msgSend_746( + this.pointer, _sel_appendAttributedString_, attrString.pointer); } void deleteCharactersInRange_(_NSRange range) { - _lib._objc_msgSend_476( - this.pointer, - _lib._sel_deleteCharactersInRange_1, - range, - ); + _objc_msgSend_476(this.pointer, _sel_deleteCharactersInRange_, range); } void setAttributedString_(NSAttributedString attrString) { - _lib._objc_msgSend_746( - this.pointer, - _lib._sel_setAttributedString_1, - attrString.pointer, - ); + _objc_msgSend_746( + this.pointer, _sel_setAttributedString_, attrString.pointer); } void beginEditing() { - _lib._objc_msgSend_1(this.pointer, _lib._sel_beginEditing1); + _objc_msgSend_1(this.pointer, _sel_beginEditing); } void endEditing() { - _lib._objc_msgSend_1(this.pointer, _lib._sel_endEditing1); + _objc_msgSend_1(this.pointer, _sel_endEditing); } void appendLocalizedFormat_(NSAttributedString format) { - _lib._objc_msgSend_746( - this.pointer, - _lib._sel_appendLocalizedFormat_1, - format.pointer, - ); + _objc_msgSend_746( + this.pointer, _sel_appendLocalizedFormat_, format.pointer); } @override NSMutableAttributedString initWithString_(NSString str) { - final _ret = _lib._objc_msgSend_31( - this.pointer, - _lib._sel_initWithString_1, - str.pointer, - ); - return NSMutableAttributedString._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_31(this.pointer, _sel_initWithString_, str.pointer); + return NSMutableAttributedString._(_ret, retain: true, release: true); } @override NSMutableAttributedString initWithString_attributes_( - NSString str, - NSDictionary? attrs, - ) { - final _ret = _lib._objc_msgSend_717( - this.pointer, - _lib._sel_initWithString_attributes_1, - str.pointer, - attrs?.pointer ?? ffi.nullptr, - ); - return NSMutableAttributedString._(_ret, _lib, retain: true, release: true); + NSString str, NSDictionary? attrs) { + final _ret = _objc_msgSend_717( + this.pointer, + _sel_initWithString_attributes_, + str.pointer, + attrs?.pointer ?? ffi.nullptr); + return NSMutableAttributedString._(_ret, retain: true, release: true); } @override NSMutableAttributedString initWithAttributedString_( - NSAttributedString attrStr, - ) { - final _ret = _lib._objc_msgSend_718( - this.pointer, - _lib._sel_initWithAttributedString_1, - attrStr.pointer, - ); - return NSMutableAttributedString._(_ret, _lib, retain: true, release: true); + NSAttributedString attrStr) { + final _ret = _objc_msgSend_718( + this.pointer, _sel_initWithAttributedString_, attrStr.pointer); + return NSMutableAttributedString._(_ret, retain: true, release: true); } @override NSMutableAttributedString? initWithContentsOfMarkdownFileAtURL_options_baseURL_error_( - NSURL markdownFile, - NSAttributedStringMarkdownParsingOptions? options, - NSURL? baseURL, - ffi.Pointer> error, - ) { - final _ret = _lib._objc_msgSend_725( - this.pointer, - _lib._sel_initWithContentsOfMarkdownFileAtURL_options_baseURL_error_1, - markdownFile.pointer, - options?.pointer ?? ffi.nullptr, - baseURL?.pointer ?? ffi.nullptr, - error, - ); + NSURL markdownFile, + NSAttributedStringMarkdownParsingOptions? options, + NSURL? baseURL, + ffi.Pointer> error) { + final _ret = _objc_msgSend_725( + this.pointer, + _sel_initWithContentsOfMarkdownFileAtURL_options_baseURL_error_, + markdownFile.pointer, + options?.pointer ?? ffi.nullptr, + baseURL?.pointer ?? ffi.nullptr, + error); return _ret.address == 0 ? null - : NSMutableAttributedString._(_ret, _lib, retain: true, release: true); + : NSMutableAttributedString._(_ret, retain: true, release: true); } @override NSMutableAttributedString? initWithMarkdown_options_baseURL_error_( - NSData markdown, - NSAttributedStringMarkdownParsingOptions? options, - NSURL? baseURL, - ffi.Pointer> error, - ) { - final _ret = _lib._objc_msgSend_726( - this.pointer, - _lib._sel_initWithMarkdown_options_baseURL_error_1, - markdown.pointer, - options?.pointer ?? ffi.nullptr, - baseURL?.pointer ?? ffi.nullptr, - error, - ); + NSData markdown, + NSAttributedStringMarkdownParsingOptions? options, + NSURL? baseURL, + ffi.Pointer> error) { + final _ret = _objc_msgSend_726( + this.pointer, + _sel_initWithMarkdown_options_baseURL_error_, + markdown.pointer, + options?.pointer ?? ffi.nullptr, + baseURL?.pointer ?? ffi.nullptr, + error); return _ret.address == 0 ? null - : NSMutableAttributedString._(_ret, _lib, retain: true, release: true); + : NSMutableAttributedString._(_ret, retain: true, release: true); } @override NSMutableAttributedString? initWithMarkdownString_options_baseURL_error_( - NSString markdownString, - NSAttributedStringMarkdownParsingOptions? options, - NSURL? baseURL, - ffi.Pointer> error, - ) { - final _ret = _lib._objc_msgSend_727( - this.pointer, - _lib._sel_initWithMarkdownString_options_baseURL_error_1, - markdownString.pointer, - options?.pointer ?? ffi.nullptr, - baseURL?.pointer ?? ffi.nullptr, - error, - ); + NSString markdownString, + NSAttributedStringMarkdownParsingOptions? options, + NSURL? baseURL, + ffi.Pointer> error) { + final _ret = _objc_msgSend_727( + this.pointer, + _sel_initWithMarkdownString_options_baseURL_error_, + markdownString.pointer, + options?.pointer ?? ffi.nullptr, + baseURL?.pointer ?? ffi.nullptr, + error); return _ret.address == 0 ? null - : NSMutableAttributedString._(_ret, _lib, retain: true, release: true); + : NSMutableAttributedString._(_ret, retain: true, release: true); } @override NSMutableAttributedString initWithFormat_options_locale_( - NSAttributedString format, - int options, - NSLocale? locale, - ) { - final _ret = _lib._objc_msgSend_728( - this.pointer, - _lib._sel_initWithFormat_options_locale_1, - format.pointer, - options, - locale?.pointer ?? ffi.nullptr, - ); - return NSMutableAttributedString._(_ret, _lib, retain: true, release: true); + NSAttributedString format, int options, NSLocale? locale) { + final _ret = _objc_msgSend_728( + this.pointer, + _sel_initWithFormat_options_locale_, + format.pointer, + options, + locale?.pointer ?? ffi.nullptr); + return NSMutableAttributedString._(_ret, retain: true, release: true); } @override NSMutableAttributedString initWithFormat_options_locale_arguments_( - NSAttributedString format, - int options, - NSLocale? locale, - ffi.Pointer<__va_list_tag> arguments, - ) { - final _ret = _lib._objc_msgSend_729( - this.pointer, - _lib._sel_initWithFormat_options_locale_arguments_1, - format.pointer, - options, - locale?.pointer ?? ffi.nullptr, - arguments, - ); - return NSMutableAttributedString._(_ret, _lib, retain: true, release: true); + NSAttributedString format, + int options, + NSLocale? locale, + ffi.Pointer<__va_list_tag> arguments) { + final _ret = _objc_msgSend_729( + this.pointer, + _sel_initWithFormat_options_locale_arguments_, + format.pointer, + options, + locale?.pointer ?? ffi.nullptr, + arguments); + return NSMutableAttributedString._(_ret, retain: true, release: true); } static NSMutableAttributedString localizedAttributedStringWithFormat_( - AVFAudio _lib, - NSAttributedString format, - ) { - final _ret = _lib._objc_msgSend_718( - _lib._class_NSMutableAttributedString1, - _lib._sel_localizedAttributedStringWithFormat_1, - format.pointer, - ); - return NSMutableAttributedString._(_ret, _lib, retain: true, release: true); + NSAttributedString format) { + final _ret = _objc_msgSend_718(_class_NSMutableAttributedString, + _sel_localizedAttributedStringWithFormat_, format.pointer); + return NSMutableAttributedString._(_ret, retain: true, release: true); } static NSMutableAttributedString localizedAttributedStringWithFormat_options_( - AVFAudio _lib, - NSAttributedString format, - int options, - ) { - final _ret = _lib._objc_msgSend_730( - _lib._class_NSMutableAttributedString1, - _lib._sel_localizedAttributedStringWithFormat_options_1, - format.pointer, - options, - ); - return NSMutableAttributedString._(_ret, _lib, retain: true, release: true); + NSAttributedString format, int options) { + final _ret = _objc_msgSend_730( + _class_NSMutableAttributedString, + _sel_localizedAttributedStringWithFormat_options_, + format.pointer, + options); + return NSMutableAttributedString._(_ret, retain: true, release: true); } @override NSMutableAttributedString initWithFormat_options_locale_context_( - NSAttributedString format, - int options, - NSLocale? locale, - NSDictionary context, - ) { - final _ret = _lib._objc_msgSend_731( - this.pointer, - _lib._sel_initWithFormat_options_locale_context_1, - format.pointer, - options, - locale?.pointer ?? ffi.nullptr, - context.pointer, - ); - return NSMutableAttributedString._(_ret, _lib, retain: true, release: true); + NSAttributedString format, + int options, + NSLocale? locale, + NSDictionary context) { + final _ret = _objc_msgSend_731( + this.pointer, + _sel_initWithFormat_options_locale_context_, + format.pointer, + options, + locale?.pointer ?? ffi.nullptr, + context.pointer); + return NSMutableAttributedString._(_ret, retain: true, release: true); } @override NSMutableAttributedString initWithFormat_options_locale_context_arguments_( - NSAttributedString format, - int options, - NSLocale? locale, - NSDictionary context, - ffi.Pointer<__va_list_tag> arguments, - ) { - final _ret = _lib._objc_msgSend_732( - this.pointer, - _lib._sel_initWithFormat_options_locale_context_arguments_1, - format.pointer, - options, - locale?.pointer ?? ffi.nullptr, - context.pointer, - arguments, - ); - return NSMutableAttributedString._(_ret, _lib, retain: true, release: true); + NSAttributedString format, + int options, + NSLocale? locale, + NSDictionary context, + ffi.Pointer<__va_list_tag> arguments) { + final _ret = _objc_msgSend_732( + this.pointer, + _sel_initWithFormat_options_locale_context_arguments_, + format.pointer, + options, + locale?.pointer ?? ffi.nullptr, + context.pointer, + arguments); + return NSMutableAttributedString._(_ret, retain: true, release: true); } static NSMutableAttributedString localizedAttributedStringWithFormat_context_( - AVFAudio _lib, - NSAttributedString format, - NSDictionary context, - ) { - final _ret = _lib._objc_msgSend_733( - _lib._class_NSMutableAttributedString1, - _lib._sel_localizedAttributedStringWithFormat_context_1, - format.pointer, - context.pointer, - ); - return NSMutableAttributedString._(_ret, _lib, retain: true, release: true); + NSAttributedString format, NSDictionary context) { + final _ret = _objc_msgSend_733( + _class_NSMutableAttributedString, + _sel_localizedAttributedStringWithFormat_context_, + format.pointer, + context.pointer); + return NSMutableAttributedString._(_ret, retain: true, release: true); } static NSMutableAttributedString localizedAttributedStringWithFormat_options_context_( - AVFAudio _lib, - NSAttributedString format, - int options, - NSDictionary context, - ) { - final _ret = _lib._objc_msgSend_734( - _lib._class_NSMutableAttributedString1, - _lib._sel_localizedAttributedStringWithFormat_options_context_1, - format.pointer, - options, - context.pointer, - ); - return NSMutableAttributedString._(_ret, _lib, retain: true, release: true); + NSAttributedString format, int options, NSDictionary context) { + final _ret = _objc_msgSend_734( + _class_NSMutableAttributedString, + _sel_localizedAttributedStringWithFormat_options_context_, + format.pointer, + options, + context.pointer); + return NSMutableAttributedString._(_ret, retain: true, release: true); } @override NSMutableAttributedString init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSMutableAttributedString._(_ret, _lib, retain: true, release: true); - } - - static NSMutableAttributedString new1(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSMutableAttributedString1, - _lib._sel_new1, - ); - return NSMutableAttributedString._( - _ret, - _lib, - retain: false, - release: true, - ); - } - - static NSMutableAttributedString allocWithZone_( - AVFAudio _lib, - ffi.Pointer<_NSZone> zone, - ) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSMutableAttributedString1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSMutableAttributedString._( - _ret, - _lib, - retain: false, - release: true, - ); - } - - static NSMutableAttributedString alloc(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSMutableAttributedString1, - _lib._sel_alloc1, - ); - return NSMutableAttributedString._( - _ret, - _lib, - retain: false, - release: true, - ); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSMutableAttributedString._(_ret, retain: true, release: true); + } + + static NSMutableAttributedString new1() { + final _ret = _objc_msgSend_2(_class_NSMutableAttributedString, _sel_new); + return NSMutableAttributedString._(_ret, retain: false, release: true); + } + + static NSMutableAttributedString allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = _objc_msgSend_3( + _class_NSMutableAttributedString, _sel_allocWithZone_, zone); + return NSMutableAttributedString._(_ret, retain: false, release: true); + } + + static NSMutableAttributedString alloc() { + final _ret = _objc_msgSend_2(_class_NSMutableAttributedString, _sel_alloc); + return NSMutableAttributedString._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSMutableAttributedString1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSMutableAttributedString1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSMutableAttributedString1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSMutableAttributedString1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSMutableAttributedString1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSMutableAttributedString1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSMutableAttributedString, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); } - static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSMutableAttributedString1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSMutableAttributedString1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSMutableAttributedString1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSMutableAttributedString, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); } -} + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSMutableAttributedString, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12( + _class_NSMutableAttributedString, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSMutableAttributedString, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSMutableAttributedString, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); + } + + static void setKeys_triggerChangeNotificationsForDependentKey_( + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSMutableAttributedString, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = _objc_msgSend_85( + _class_NSMutableAttributedString, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = _objc_msgSend_2( + _class_NSMutableAttributedString, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); + } +} + +late final _class_NSMutableAttributedString = + objc.getClass("NSMutableAttributedString"); +late final _sel_setAttributes_range_ = + objc.registerName("setAttributes:range:"); +final _objc_msgSend_739 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer attrs, + _NSRange range)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange)>(); +late final _sel_mutableString = objc.registerName("mutableString"); +final _objc_msgSend_740 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_addAttribute_value_range_ = + objc.registerName("addAttribute:value:range:"); +final _objc_msgSend_741 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer name, + ffi.Pointer value, + _NSRange range)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange)>(); +late final _sel_addAttributes_range_ = + objc.registerName("addAttributes:range:"); +final _objc_msgSend_742 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer attrs, + _NSRange range)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange)>(); +late final _sel_removeAttribute_range_ = + objc.registerName("removeAttribute:range:"); +final _objc_msgSend_743 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer name, + _NSRange range)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange)>(); +late final _sel_replaceCharactersInRange_withAttributedString_ = + objc.registerName("replaceCharactersInRange:withAttributedString:"); +final _objc_msgSend_744 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + _NSRange range, + ffi.Pointer attrString)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer)>(); +late final _sel_insertAttributedString_atIndex_ = + objc.registerName("insertAttributedString:atIndex:"); +final _objc_msgSend_745 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer attrString, + ffi.UnsignedLong loc)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int)>(); +late final _sel_appendAttributedString_ = + objc.registerName("appendAttributedString:"); +final _objc_msgSend_746 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer attrString)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_setAttributedString_ = + objc.registerName("setAttributedString:"); +late final _sel_beginEditing = objc.registerName("beginEditing"); +late final _sel_endEditing = objc.registerName("endEditing"); +late final _sel_appendLocalizedFormat_ = + objc.registerName("appendLocalizedFormat:"); class NSDateFormatter extends NSFormatter { - NSDateFormatter._( - ffi.Pointer pointer, - AVFAudio lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSDateFormatter._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSDateFormatter] that points to the same underlying object as [other]. - static NSDateFormatter castFrom( - AVFAudio lib, - T other, - ) { - return NSDateFormatter._(other.pointer, lib, retain: true, release: true); + static NSDateFormatter castFrom(T other) { + return NSDateFormatter._(other.pointer, retain: true, release: true); } /// Returns a [NSDateFormatter] that wraps the given raw object pointer. - static NSDateFormatter castFromPointer( - AVFAudio lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSDateFormatter._(other, lib, retain: retain, release: release); + static NSDateFormatter castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSDateFormatter._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSDateFormatter]. - static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSDateFormatter1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0( + obj.pointer, _sel_isKindOfClass_, _class_NSDateFormatter); } int get formattingContext { - return _lib._objc_msgSend_752(this.pointer, _lib._sel_formattingContext1); + return _objc_msgSend_752(this.pointer, _sel_formattingContext); } set formattingContext(int value) { - return _lib._objc_msgSend_753( - this.pointer, - _lib._sel_setFormattingContext_1, - value, - ); + return _objc_msgSend_753(this.pointer, _sel_setFormattingContext_, value); } bool getObjectValue_forString_range_error_( - ffi.Pointer> obj, - NSString string, - ffi.Pointer<_NSRange> rangep, - ffi.Pointer> error, - ) { - return _lib._objc_msgSend_754( - this.pointer, - _lib._sel_getObjectValue_forString_range_error_1, - obj, - string.pointer, - rangep, - error, - ); + ffi.Pointer> obj, + NSString string, + ffi.Pointer<_NSRange> rangep, + ffi.Pointer> error) { + return _objc_msgSend_754( + this.pointer, + _sel_getObjectValue_forString_range_error_, + obj, + string.pointer, + rangep, + error); } NSString stringFromDate_(NSDate date) { - final _ret = _lib._objc_msgSend_755( - this.pointer, - _lib._sel_stringFromDate_1, - date.pointer, - ); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_755(this.pointer, _sel_stringFromDate_, date.pointer); + return NSString._(_ret, retain: true, release: true); } NSDate? dateFromString_(NSString string) { - final _ret = _lib._objc_msgSend_564( - this.pointer, - _lib._sel_dateFromString_1, - string.pointer, - ); + final _ret = + _objc_msgSend_564(this.pointer, _sel_dateFromString_, string.pointer); return _ret.address == 0 ? null - : NSDate._(_ret, _lib, retain: true, release: true); + : NSDate._(_ret, retain: true, release: true); } static NSString localizedStringFromDate_dateStyle_timeStyle_( - AVFAudio _lib, - NSDate date, - int dstyle, - int tstyle, - ) { - final _ret = _lib._objc_msgSend_756( - _lib._class_NSDateFormatter1, - _lib._sel_localizedStringFromDate_dateStyle_timeStyle_1, - date.pointer, - dstyle, - tstyle, - ); - return NSString._(_ret, _lib, retain: true, release: true); + NSDate date, int dstyle, int tstyle) { + final _ret = _objc_msgSend_756( + _class_NSDateFormatter, + _sel_localizedStringFromDate_dateStyle_timeStyle_, + date.pointer, + dstyle, + tstyle); + return NSString._(_ret, retain: true, release: true); } static NSString? dateFormatFromTemplate_options_locale_( - AVFAudio _lib, - NSString tmplate, - int opts, - NSLocale? locale, - ) { - final _ret = _lib._objc_msgSend_757( - _lib._class_NSDateFormatter1, - _lib._sel_dateFormatFromTemplate_options_locale_1, - tmplate.pointer, - opts, - locale?.pointer ?? ffi.nullptr, - ); + NSString tmplate, int opts, NSLocale? locale) { + final _ret = _objc_msgSend_757( + _class_NSDateFormatter, + _sel_dateFormatFromTemplate_options_locale_, + tmplate.pointer, + opts, + locale?.pointer ?? ffi.nullptr); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } - static int getDefaultFormatterBehavior(AVFAudio _lib) { - return _lib._objc_msgSend_758( - _lib._class_NSDateFormatter1, - _lib._sel_defaultFormatterBehavior1, - ); + static int getDefaultFormatterBehavior() { + return _objc_msgSend_758( + _class_NSDateFormatter, _sel_defaultFormatterBehavior); } - static void setDefaultFormatterBehavior(AVFAudio _lib, int value) { - return _lib._objc_msgSend_759( - _lib._class_NSDateFormatter1, - _lib._sel_setDefaultFormatterBehavior_1, - value, - ); + static void setDefaultFormatterBehavior(int value) { + return _objc_msgSend_759( + _class_NSDateFormatter, _sel_setDefaultFormatterBehavior_, value); } void setLocalizedDateFormatFromTemplate_(NSString dateFormatTemplate) { - _lib._objc_msgSend_247( - this.pointer, - _lib._sel_setLocalizedDateFormatFromTemplate_1, - dateFormatTemplate.pointer, - ); + _objc_msgSend_247(this.pointer, _sel_setLocalizedDateFormatFromTemplate_, + dateFormatTemplate.pointer); } NSString get dateFormat { - final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_dateFormat1); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_dateFormat); + return NSString._(_ret, retain: true, release: true); } set dateFormat(NSString value) { - return _lib._objc_msgSend_646( - this.pointer, - _lib._sel_setDateFormat_1, - value.pointer, - ); + return _objc_msgSend_646(this.pointer, _sel_setDateFormat_, value.pointer); } int get dateStyle { - return _lib._objc_msgSend_760(this.pointer, _lib._sel_dateStyle1); + return _objc_msgSend_760(this.pointer, _sel_dateStyle); } set dateStyle(int value) { - return _lib._objc_msgSend_761( - this.pointer, - _lib._sel_setDateStyle_1, - value, - ); + return _objc_msgSend_761(this.pointer, _sel_setDateStyle_, value); } int get timeStyle { - return _lib._objc_msgSend_760(this.pointer, _lib._sel_timeStyle1); + return _objc_msgSend_760(this.pointer, _sel_timeStyle); } set timeStyle(int value) { - return _lib._objc_msgSend_761( - this.pointer, - _lib._sel_setTimeStyle_1, - value, - ); + return _objc_msgSend_761(this.pointer, _sel_setTimeStyle_, value); } NSLocale get locale { - final _ret = _lib._objc_msgSend_197(this.pointer, _lib._sel_locale1); - return NSLocale._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_197(this.pointer, _sel_locale); + return NSLocale._(_ret, retain: true, release: true); } set locale(NSLocale value) { - return _lib._objc_msgSend_762( - this.pointer, - _lib._sel_setLocale_1, - value.pointer, - ); + return _objc_msgSend_762(this.pointer, _sel_setLocale_, value.pointer); } bool get generatesCalendarDates { - return _lib._objc_msgSend_12( - this.pointer, - _lib._sel_generatesCalendarDates1, - ); + return _objc_msgSend_12(this.pointer, _sel_generatesCalendarDates); } set generatesCalendarDates(bool value) { - return _lib._objc_msgSend_527( - this.pointer, - _lib._sel_setGeneratesCalendarDates_1, - value, - ); + return _objc_msgSend_527( + this.pointer, _sel_setGeneratesCalendarDates_, value); } int get formatterBehavior { - return _lib._objc_msgSend_758(this.pointer, _lib._sel_formatterBehavior1); + return _objc_msgSend_758(this.pointer, _sel_formatterBehavior); } set formatterBehavior(int value) { - return _lib._objc_msgSend_759( - this.pointer, - _lib._sel_setFormatterBehavior_1, - value, - ); + return _objc_msgSend_759(this.pointer, _sel_setFormatterBehavior_, value); } NSTimeZone get timeZone { - final _ret = _lib._objc_msgSend_179(this.pointer, _lib._sel_timeZone1); - return NSTimeZone._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_179(this.pointer, _sel_timeZone); + return NSTimeZone._(_ret, retain: true, release: true); } set timeZone(NSTimeZone value) { - return _lib._objc_msgSend_180( - this.pointer, - _lib._sel_setTimeZone_1, - value.pointer, - ); + return _objc_msgSend_180(this.pointer, _sel_setTimeZone_, value.pointer); } NSCalendar get calendar { - final _ret = _lib._objc_msgSend_763(this.pointer, _lib._sel_calendar1); - return NSCalendar._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_763(this.pointer, _sel_calendar); + return NSCalendar._(_ret, retain: true, release: true); } set calendar(NSCalendar value) { - return _lib._objc_msgSend_799( - this.pointer, - _lib._sel_setCalendar_1, - value.pointer, - ); + return _objc_msgSend_799(this.pointer, _sel_setCalendar_, value.pointer); } bool get lenient { - return _lib._objc_msgSend_12(this.pointer, _lib._sel_isLenient1); + return _objc_msgSend_12(this.pointer, _sel_isLenient); } set lenient(bool value) { - return _lib._objc_msgSend_527(this.pointer, _lib._sel_setLenient_1, value); + return _objc_msgSend_527(this.pointer, _sel_setLenient_, value); } NSDate? get twoDigitStartDate { - final _ret = _lib._objc_msgSend_183( - this.pointer, - _lib._sel_twoDigitStartDate1, - ); + final _ret = _objc_msgSend_183(this.pointer, _sel_twoDigitStartDate); return _ret.address == 0 ? null - : NSDate._(_ret, _lib, retain: true, release: true); + : NSDate._(_ret, retain: true, release: true); } set twoDigitStartDate(NSDate? value) { - return _lib._objc_msgSend_800( - this.pointer, - _lib._sel_setTwoDigitStartDate_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_800(this.pointer, _sel_setTwoDigitStartDate_, + value?.pointer ?? ffi.nullptr); } NSDate? get defaultDate { - final _ret = _lib._objc_msgSend_183(this.pointer, _lib._sel_defaultDate1); + final _ret = _objc_msgSend_183(this.pointer, _sel_defaultDate); return _ret.address == 0 ? null - : NSDate._(_ret, _lib, retain: true, release: true); + : NSDate._(_ret, retain: true, release: true); } set defaultDate(NSDate? value) { - return _lib._objc_msgSend_800( - this.pointer, - _lib._sel_setDefaultDate_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_800( + this.pointer, _sel_setDefaultDate_, value?.pointer ?? ffi.nullptr); } NSArray get eraSymbols { - final _ret = _lib._objc_msgSend_85(this.pointer, _lib._sel_eraSymbols1); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_85(this.pointer, _sel_eraSymbols); + return NSArray._(_ret, retain: true, release: true); } set eraSymbols(NSArray value) { - return _lib._objc_msgSend_801( - this.pointer, - _lib._sel_setEraSymbols_1, - value.pointer, - ); + return _objc_msgSend_801(this.pointer, _sel_setEraSymbols_, value.pointer); } NSArray get monthSymbols { - final _ret = _lib._objc_msgSend_85(this.pointer, _lib._sel_monthSymbols1); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_85(this.pointer, _sel_monthSymbols); + return NSArray._(_ret, retain: true, release: true); } set monthSymbols(NSArray value) { - return _lib._objc_msgSend_801( - this.pointer, - _lib._sel_setMonthSymbols_1, - value.pointer, - ); + return _objc_msgSend_801( + this.pointer, _sel_setMonthSymbols_, value.pointer); } NSArray get shortMonthSymbols { - final _ret = _lib._objc_msgSend_85( - this.pointer, - _lib._sel_shortMonthSymbols1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_85(this.pointer, _sel_shortMonthSymbols); + return NSArray._(_ret, retain: true, release: true); } set shortMonthSymbols(NSArray value) { - return _lib._objc_msgSend_801( - this.pointer, - _lib._sel_setShortMonthSymbols_1, - value.pointer, - ); + return _objc_msgSend_801( + this.pointer, _sel_setShortMonthSymbols_, value.pointer); } NSArray get weekdaySymbols { - final _ret = _lib._objc_msgSend_85(this.pointer, _lib._sel_weekdaySymbols1); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_85(this.pointer, _sel_weekdaySymbols); + return NSArray._(_ret, retain: true, release: true); } set weekdaySymbols(NSArray value) { - return _lib._objc_msgSend_801( - this.pointer, - _lib._sel_setWeekdaySymbols_1, - value.pointer, - ); + return _objc_msgSend_801( + this.pointer, _sel_setWeekdaySymbols_, value.pointer); } NSArray get shortWeekdaySymbols { - final _ret = _lib._objc_msgSend_85( - this.pointer, - _lib._sel_shortWeekdaySymbols1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_85(this.pointer, _sel_shortWeekdaySymbols); + return NSArray._(_ret, retain: true, release: true); } set shortWeekdaySymbols(NSArray value) { - return _lib._objc_msgSend_801( - this.pointer, - _lib._sel_setShortWeekdaySymbols_1, - value.pointer, - ); + return _objc_msgSend_801( + this.pointer, _sel_setShortWeekdaySymbols_, value.pointer); } NSString get AMSymbol { - final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_AMSymbol1); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_AMSymbol); + return NSString._(_ret, retain: true, release: true); } set AMSymbol(NSString value) { - return _lib._objc_msgSend_646( - this.pointer, - _lib._sel_setAMSymbol_1, - value.pointer, - ); + return _objc_msgSend_646(this.pointer, _sel_setAMSymbol_, value.pointer); } NSString get PMSymbol { - final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_PMSymbol1); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_PMSymbol); + return NSString._(_ret, retain: true, release: true); } set PMSymbol(NSString value) { - return _lib._objc_msgSend_646( - this.pointer, - _lib._sel_setPMSymbol_1, - value.pointer, - ); + return _objc_msgSend_646(this.pointer, _sel_setPMSymbol_, value.pointer); } NSArray get longEraSymbols { - final _ret = _lib._objc_msgSend_85(this.pointer, _lib._sel_longEraSymbols1); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_85(this.pointer, _sel_longEraSymbols); + return NSArray._(_ret, retain: true, release: true); } set longEraSymbols(NSArray value) { - return _lib._objc_msgSend_801( - this.pointer, - _lib._sel_setLongEraSymbols_1, - value.pointer, - ); + return _objc_msgSend_801( + this.pointer, _sel_setLongEraSymbols_, value.pointer); } NSArray get veryShortMonthSymbols { - final _ret = _lib._objc_msgSend_85( - this.pointer, - _lib._sel_veryShortMonthSymbols1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_85(this.pointer, _sel_veryShortMonthSymbols); + return NSArray._(_ret, retain: true, release: true); } set veryShortMonthSymbols(NSArray value) { - return _lib._objc_msgSend_801( - this.pointer, - _lib._sel_setVeryShortMonthSymbols_1, - value.pointer, - ); + return _objc_msgSend_801( + this.pointer, _sel_setVeryShortMonthSymbols_, value.pointer); } NSArray get standaloneMonthSymbols { - final _ret = _lib._objc_msgSend_85( - this.pointer, - _lib._sel_standaloneMonthSymbols1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_85(this.pointer, _sel_standaloneMonthSymbols); + return NSArray._(_ret, retain: true, release: true); } set standaloneMonthSymbols(NSArray value) { - return _lib._objc_msgSend_801( - this.pointer, - _lib._sel_setStandaloneMonthSymbols_1, - value.pointer, - ); + return _objc_msgSend_801( + this.pointer, _sel_setStandaloneMonthSymbols_, value.pointer); } NSArray get shortStandaloneMonthSymbols { - final _ret = _lib._objc_msgSend_85( - this.pointer, - _lib._sel_shortStandaloneMonthSymbols1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_85(this.pointer, _sel_shortStandaloneMonthSymbols); + return NSArray._(_ret, retain: true, release: true); } set shortStandaloneMonthSymbols(NSArray value) { - return _lib._objc_msgSend_801( - this.pointer, - _lib._sel_setShortStandaloneMonthSymbols_1, - value.pointer, - ); + return _objc_msgSend_801( + this.pointer, _sel_setShortStandaloneMonthSymbols_, value.pointer); } NSArray get veryShortStandaloneMonthSymbols { - final _ret = _lib._objc_msgSend_85( - this.pointer, - _lib._sel_veryShortStandaloneMonthSymbols1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_85(this.pointer, _sel_veryShortStandaloneMonthSymbols); + return NSArray._(_ret, retain: true, release: true); } set veryShortStandaloneMonthSymbols(NSArray value) { - return _lib._objc_msgSend_801( - this.pointer, - _lib._sel_setVeryShortStandaloneMonthSymbols_1, - value.pointer, - ); + return _objc_msgSend_801( + this.pointer, _sel_setVeryShortStandaloneMonthSymbols_, value.pointer); } NSArray get veryShortWeekdaySymbols { - final _ret = _lib._objc_msgSend_85( - this.pointer, - _lib._sel_veryShortWeekdaySymbols1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_85(this.pointer, _sel_veryShortWeekdaySymbols); + return NSArray._(_ret, retain: true, release: true); } set veryShortWeekdaySymbols(NSArray value) { - return _lib._objc_msgSend_801( - this.pointer, - _lib._sel_setVeryShortWeekdaySymbols_1, - value.pointer, - ); + return _objc_msgSend_801( + this.pointer, _sel_setVeryShortWeekdaySymbols_, value.pointer); } NSArray get standaloneWeekdaySymbols { - final _ret = _lib._objc_msgSend_85( - this.pointer, - _lib._sel_standaloneWeekdaySymbols1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_85(this.pointer, _sel_standaloneWeekdaySymbols); + return NSArray._(_ret, retain: true, release: true); } set standaloneWeekdaySymbols(NSArray value) { - return _lib._objc_msgSend_801( - this.pointer, - _lib._sel_setStandaloneWeekdaySymbols_1, - value.pointer, - ); + return _objc_msgSend_801( + this.pointer, _sel_setStandaloneWeekdaySymbols_, value.pointer); } NSArray get shortStandaloneWeekdaySymbols { - final _ret = _lib._objc_msgSend_85( - this.pointer, - _lib._sel_shortStandaloneWeekdaySymbols1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_85(this.pointer, _sel_shortStandaloneWeekdaySymbols); + return NSArray._(_ret, retain: true, release: true); } set shortStandaloneWeekdaySymbols(NSArray value) { - return _lib._objc_msgSend_801( - this.pointer, - _lib._sel_setShortStandaloneWeekdaySymbols_1, - value.pointer, - ); + return _objc_msgSend_801( + this.pointer, _sel_setShortStandaloneWeekdaySymbols_, value.pointer); } NSArray get veryShortStandaloneWeekdaySymbols { - final _ret = _lib._objc_msgSend_85( - this.pointer, - _lib._sel_veryShortStandaloneWeekdaySymbols1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_85(this.pointer, _sel_veryShortStandaloneWeekdaySymbols); + return NSArray._(_ret, retain: true, release: true); } set veryShortStandaloneWeekdaySymbols(NSArray value) { - return _lib._objc_msgSend_801( - this.pointer, - _lib._sel_setVeryShortStandaloneWeekdaySymbols_1, - value.pointer, - ); + return _objc_msgSend_801(this.pointer, + _sel_setVeryShortStandaloneWeekdaySymbols_, value.pointer); } NSArray get quarterSymbols { - final _ret = _lib._objc_msgSend_85(this.pointer, _lib._sel_quarterSymbols1); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_85(this.pointer, _sel_quarterSymbols); + return NSArray._(_ret, retain: true, release: true); } set quarterSymbols(NSArray value) { - return _lib._objc_msgSend_801( - this.pointer, - _lib._sel_setQuarterSymbols_1, - value.pointer, - ); + return _objc_msgSend_801( + this.pointer, _sel_setQuarterSymbols_, value.pointer); } NSArray get shortQuarterSymbols { - final _ret = _lib._objc_msgSend_85( - this.pointer, - _lib._sel_shortQuarterSymbols1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_85(this.pointer, _sel_shortQuarterSymbols); + return NSArray._(_ret, retain: true, release: true); } set shortQuarterSymbols(NSArray value) { - return _lib._objc_msgSend_801( - this.pointer, - _lib._sel_setShortQuarterSymbols_1, - value.pointer, - ); + return _objc_msgSend_801( + this.pointer, _sel_setShortQuarterSymbols_, value.pointer); } NSArray get standaloneQuarterSymbols { - final _ret = _lib._objc_msgSend_85( - this.pointer, - _lib._sel_standaloneQuarterSymbols1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_85(this.pointer, _sel_standaloneQuarterSymbols); + return NSArray._(_ret, retain: true, release: true); } set standaloneQuarterSymbols(NSArray value) { - return _lib._objc_msgSend_801( - this.pointer, - _lib._sel_setStandaloneQuarterSymbols_1, - value.pointer, - ); + return _objc_msgSend_801( + this.pointer, _sel_setStandaloneQuarterSymbols_, value.pointer); } NSArray get shortStandaloneQuarterSymbols { - final _ret = _lib._objc_msgSend_85( - this.pointer, - _lib._sel_shortStandaloneQuarterSymbols1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_85(this.pointer, _sel_shortStandaloneQuarterSymbols); + return NSArray._(_ret, retain: true, release: true); } set shortStandaloneQuarterSymbols(NSArray value) { - return _lib._objc_msgSend_801( - this.pointer, - _lib._sel_setShortStandaloneQuarterSymbols_1, - value.pointer, - ); + return _objc_msgSend_801( + this.pointer, _sel_setShortStandaloneQuarterSymbols_, value.pointer); } NSDate? get gregorianStartDate { - final _ret = _lib._objc_msgSend_183( - this.pointer, - _lib._sel_gregorianStartDate1, - ); + final _ret = _objc_msgSend_183(this.pointer, _sel_gregorianStartDate); return _ret.address == 0 ? null - : NSDate._(_ret, _lib, retain: true, release: true); + : NSDate._(_ret, retain: true, release: true); } set gregorianStartDate(NSDate? value) { - return _lib._objc_msgSend_800( - this.pointer, - _lib._sel_setGregorianStartDate_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_800(this.pointer, _sel_setGregorianStartDate_, + value?.pointer ?? ffi.nullptr); } bool get doesRelativeDateFormatting { - return _lib._objc_msgSend_12( - this.pointer, - _lib._sel_doesRelativeDateFormatting1, - ); + return _objc_msgSend_12(this.pointer, _sel_doesRelativeDateFormatting); } set doesRelativeDateFormatting(bool value) { - return _lib._objc_msgSend_527( - this.pointer, - _lib._sel_setDoesRelativeDateFormatting_1, - value, - ); + return _objc_msgSend_527( + this.pointer, _sel_setDoesRelativeDateFormatting_, value); } NSObject initWithDateFormat_allowNaturalLanguage_( - NSString format, - bool flag, - ) { - final _ret = _lib._objc_msgSend_30( - this.pointer, - _lib._sel_initWithDateFormat_allowNaturalLanguage_1, - format.pointer, - flag, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + NSString format, bool flag) { + final _ret = _objc_msgSend_30(this.pointer, + _sel_initWithDateFormat_allowNaturalLanguage_, format.pointer, flag); + return NSObject._(_ret, retain: true, release: true); } bool allowsNaturalLanguage() { - return _lib._objc_msgSend_12( - this.pointer, - _lib._sel_allowsNaturalLanguage1, - ); + return _objc_msgSend_12(this.pointer, _sel_allowsNaturalLanguage); } @override NSDateFormatter init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSDateFormatter._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSDateFormatter._(_ret, retain: true, release: true); } - static NSDateFormatter new1(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSDateFormatter1, - _lib._sel_new1, - ); - return NSDateFormatter._(_ret, _lib, retain: false, release: true); + static NSDateFormatter new1() { + final _ret = _objc_msgSend_2(_class_NSDateFormatter, _sel_new); + return NSDateFormatter._(_ret, retain: false, release: true); } - static NSDateFormatter allocWithZone_( - AVFAudio _lib, - ffi.Pointer<_NSZone> zone, - ) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSDateFormatter1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSDateFormatter._(_ret, _lib, retain: false, release: true); + static NSDateFormatter allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = + _objc_msgSend_3(_class_NSDateFormatter, _sel_allocWithZone_, zone); + return NSDateFormatter._(_ret, retain: false, release: true); } - static NSDateFormatter alloc(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSDateFormatter1, - _lib._sel_alloc1, - ); - return NSDateFormatter._(_ret, _lib, retain: false, release: true); + static NSDateFormatter alloc() { + final _ret = _objc_msgSend_2(_class_NSDateFormatter, _sel_alloc); + return NSDateFormatter._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSDateFormatter1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSDateFormatter1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSDateFormatter1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSDateFormatter1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSDateFormatter1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSDateFormatter1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSDateFormatter, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); + } + + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSDateFormatter, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); + } + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSDateFormatter, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSDateFormatter, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSDateFormatter, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSDateFormatter, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); } static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSDateFormatter1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSDateFormatter1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSDateFormatter1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSDateFormatter, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = _objc_msgSend_85( + _class_NSDateFormatter, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = + _objc_msgSend_2(_class_NSDateFormatter, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); } } +late final _class_NSDateFormatter = objc.getClass("NSDateFormatter"); + class NSFormatter extends NSObject { - NSFormatter._( - ffi.Pointer pointer, - AVFAudio lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSFormatter._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSFormatter] that points to the same underlying object as [other]. - static NSFormatter castFrom( - AVFAudio lib, - T other, - ) { - return NSFormatter._(other.pointer, lib, retain: true, release: true); + static NSFormatter castFrom(T other) { + return NSFormatter._(other.pointer, retain: true, release: true); } /// Returns a [NSFormatter] that wraps the given raw object pointer. - static NSFormatter castFromPointer( - AVFAudio lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSFormatter._(other, lib, retain: retain, release: release); + static NSFormatter castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSFormatter._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSFormatter]. - static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSFormatter1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0( + obj.pointer, _sel_isKindOfClass_, _class_NSFormatter); } NSString? stringForObjectValue_(NSObject? obj) { - final _ret = _lib._objc_msgSend_747( - this.pointer, - _lib._sel_stringForObjectValue_1, - obj?.pointer ?? ffi.nullptr, - ); + final _ret = _objc_msgSend_747( + this.pointer, _sel_stringForObjectValue_, obj?.pointer ?? ffi.nullptr); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } NSAttributedString? attributedStringForObjectValue_withDefaultAttributes_( - NSObject obj, - NSDictionary? attrs, - ) { - final _ret = _lib._objc_msgSend_748( - this.pointer, - _lib._sel_attributedStringForObjectValue_withDefaultAttributes_1, - obj.pointer, - attrs?.pointer ?? ffi.nullptr, - ); + NSObject obj, NSDictionary? attrs) { + final _ret = _objc_msgSend_748( + this.pointer, + _sel_attributedStringForObjectValue_withDefaultAttributes_, + obj.pointer, + attrs?.pointer ?? ffi.nullptr); return _ret.address == 0 ? null - : NSAttributedString._(_ret, _lib, retain: true, release: true); + : NSAttributedString._(_ret, retain: true, release: true); } NSString? editingStringForObjectValue_(NSObject obj) { - final _ret = _lib._objc_msgSend_526( - this.pointer, - _lib._sel_editingStringForObjectValue_1, - obj.pointer, - ); + final _ret = _objc_msgSend_526( + this.pointer, _sel_editingStringForObjectValue_, obj.pointer); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } bool getObjectValue_forString_errorDescription_( - ffi.Pointer> obj, - NSString string, - ffi.Pointer> error, - ) { - return _lib._objc_msgSend_749( - this.pointer, - _lib._sel_getObjectValue_forString_errorDescription_1, - obj, - string.pointer, - error, - ); + ffi.Pointer> obj, + NSString string, + ffi.Pointer> error) { + return _objc_msgSend_749( + this.pointer, + _sel_getObjectValue_forString_errorDescription_, + obj, + string.pointer, + error); } bool isPartialStringValid_newEditingString_errorDescription_( - NSString partialString, - ffi.Pointer> newString, - ffi.Pointer> error, - ) { - return _lib._objc_msgSend_750( - this.pointer, - _lib._sel_isPartialStringValid_newEditingString_errorDescription_1, - partialString.pointer, - newString, - error, - ); + NSString partialString, + ffi.Pointer> newString, + ffi.Pointer> error) { + return _objc_msgSend_750( + this.pointer, + _sel_isPartialStringValid_newEditingString_errorDescription_, + partialString.pointer, + newString, + error); } bool isPartialStringValid_proposedSelectedRange_originalString_originalSelectedRange_errorDescription_( - ffi.Pointer> partialStringPtr, - ffi.Pointer<_NSRange> proposedSelRangePtr, - NSString origString, - _NSRange origSelRange, - ffi.Pointer> error, - ) { - return _lib._objc_msgSend_751( - this.pointer, - _lib._sel_isPartialStringValid_proposedSelectedRange_originalString_originalSelectedRange_errorDescription_1, - partialStringPtr, - proposedSelRangePtr, - origString.pointer, - origSelRange, - error, - ); + ffi.Pointer> partialStringPtr, + ffi.Pointer<_NSRange> proposedSelRangePtr, + NSString origString, + _NSRange origSelRange, + ffi.Pointer> error) { + return _objc_msgSend_751( + this.pointer, + _sel_isPartialStringValid_proposedSelectedRange_originalString_originalSelectedRange_errorDescription_, + partialStringPtr, + proposedSelRangePtr, + origString.pointer, + origSelRange, + error); + } + + @override + NSFormatter init() { + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSFormatter._(_ret, retain: true, release: true); + } + + static NSFormatter new1() { + final _ret = _objc_msgSend_2(_class_NSFormatter, _sel_new); + return NSFormatter._(_ret, retain: false, release: true); + } + + static NSFormatter allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = _objc_msgSend_3(_class_NSFormatter, _sel_allocWithZone_, zone); + return NSFormatter._(_ret, retain: false, release: true); + } + + static NSFormatter alloc() { + final _ret = _objc_msgSend_2(_class_NSFormatter, _sel_alloc); + return NSFormatter._(_ret, retain: false, release: true); + } + + static void cancelPreviousPerformRequestsWithTarget_selector_object_( + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSFormatter, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); } - @override - NSFormatter init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSFormatter._(_ret, _lib, retain: true, release: true); + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSFormatter, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); } - static NSFormatter new1(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2(_lib._class_NSFormatter1, _lib._sel_new1); - return NSFormatter._(_ret, _lib, retain: false, release: true); + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSFormatter, _sel_accessInstanceVariablesDirectly); } - static NSFormatter allocWithZone_(AVFAudio _lib, ffi.Pointer<_NSZone> zone) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSFormatter1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSFormatter._(_ret, _lib, retain: false, release: true); + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSFormatter, _sel_useStoredAccessor); } - static NSFormatter alloc(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSFormatter1, - _lib._sel_alloc1, - ); - return NSFormatter._(_ret, _lib, retain: false, release: true); + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSFormatter, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); } - static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSFormatter1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSFormatter1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSFormatter1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSFormatter1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSFormatter1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSFormatter1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSFormatter, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); } static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSFormatter1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSFormatter1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSFormatter1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); - } -} + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSFormatter, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = _objc_msgSend_85( + _class_NSFormatter, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = + _objc_msgSend_2(_class_NSFormatter, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); + } +} + +late final _class_NSFormatter = objc.getClass("NSFormatter"); +late final _sel_stringForObjectValue_ = + objc.registerName("stringForObjectValue:"); +final _objc_msgSend_747 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer obj)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_attributedStringForObjectValue_withDefaultAttributes_ = + objc.registerName("attributedStringForObjectValue:withDefaultAttributes:"); +final _objc_msgSend_748 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer attrs)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_editingStringForObjectValue_ = + objc.registerName("editingStringForObjectValue:"); +late final _sel_getObjectValue_forString_errorDescription_ = + objc.registerName("getObjectValue:forString:errorDescription:"); +final _objc_msgSend_749 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer> obj, + ffi.Pointer string, + ffi.Pointer> error)>>() + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer, + ffi.Pointer>)>(); +late final _sel_isPartialStringValid_newEditingString_errorDescription_ = objc + .registerName("isPartialStringValid:newEditingString:errorDescription:"); +final _objc_msgSend_750 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer partialString, + ffi.Pointer> newString, + ffi.Pointer> error)>>() + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer>)>(); +late final _sel_isPartialStringValid_proposedSelectedRange_originalString_originalSelectedRange_errorDescription_ = + objc.registerName( + "isPartialStringValid:proposedSelectedRange:originalString:originalSelectedRange:errorDescription:"); +final _objc_msgSend_751 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer> partialStringPtr, + ffi.Pointer<_NSRange> proposedSelRangePtr, + ffi.Pointer origString, + _NSRange origSelRange, + ffi.Pointer> error)>>() + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer<_NSRange>, + ffi.Pointer, + _NSRange, + ffi.Pointer>)>(); abstract class NSFormattingContext { static const int NSFormattingContextUnknown = 0; @@ -72200,6 +36982,58 @@ abstract class NSFormattingContext { static const int NSFormattingContextMiddleOfSentence = 5; } +late final _sel_formattingContext = objc.registerName("formattingContext"); +final _objc_msgSend_752 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + int Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_setFormattingContext_ = + objc.registerName("setFormattingContext:"); +final _objc_msgSend_753 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer obj, + ffi.Pointer sel, ffi.Int32 value)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, int)>(); +late final _sel_getObjectValue_forString_range_error_ = + objc.registerName("getObjectValue:forString:range:error:"); +final _objc_msgSend_754 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer> obj, + ffi.Pointer string, + ffi.Pointer<_NSRange> rangep, + ffi.Pointer> error)>>() + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer, + ffi.Pointer<_NSRange>, + ffi.Pointer>)>(); +late final _sel_stringFromDate_ = objc.registerName("stringFromDate:"); +final _objc_msgSend_755 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer date)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_dateFromString_ = objc.registerName("dateFromString:"); + abstract class NSDateFormatterStyle { static const int NSDateFormatterNoStyle = 0; static const int NSDateFormatterShortStyle = 1; @@ -72208,942 +37042,860 @@ abstract class NSDateFormatterStyle { static const int NSDateFormatterFullStyle = 4; } +late final _sel_localizedStringFromDate_dateStyle_timeStyle_ = + objc.registerName("localizedStringFromDate:dateStyle:timeStyle:"); +final _objc_msgSend_756 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer date, + ffi.Int32 dstyle, + ffi.Int32 tstyle)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + int)>(); +late final _sel_dateFormatFromTemplate_options_locale_ = + objc.registerName("dateFormatFromTemplate:options:locale:"); +final _objc_msgSend_757 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer tmplate, + ffi.UnsignedLong opts, + ffi.Pointer locale)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer)>(); + abstract class NSDateFormatterBehavior { static const int NSDateFormatterBehaviorDefault = 0; static const int NSDateFormatterBehavior10_0 = 1000; static const int NSDateFormatterBehavior10_4 = 1040; } +late final _sel_defaultFormatterBehavior = + objc.registerName("defaultFormatterBehavior"); +final _objc_msgSend_758 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + int Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_setDefaultFormatterBehavior_ = + objc.registerName("setDefaultFormatterBehavior:"); +final _objc_msgSend_759 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer obj, + ffi.Pointer sel, ffi.Int32 value)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, int)>(); +late final _sel_setLocalizedDateFormatFromTemplate_ = + objc.registerName("setLocalizedDateFormatFromTemplate:"); +late final _sel_dateFormat = objc.registerName("dateFormat"); +late final _sel_setDateFormat_ = objc.registerName("setDateFormat:"); +late final _sel_dateStyle = objc.registerName("dateStyle"); +final _objc_msgSend_760 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + int Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_setDateStyle_ = objc.registerName("setDateStyle:"); +final _objc_msgSend_761 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer obj, + ffi.Pointer sel, ffi.Int32 value)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, int)>(); +late final _sel_timeStyle = objc.registerName("timeStyle"); +late final _sel_setTimeStyle_ = objc.registerName("setTimeStyle:"); +late final _sel_locale = objc.registerName("locale"); +late final _sel_setLocale_ = objc.registerName("setLocale:"); +final _objc_msgSend_762 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_generatesCalendarDates = + objc.registerName("generatesCalendarDates"); +late final _sel_setGeneratesCalendarDates_ = + objc.registerName("setGeneratesCalendarDates:"); +late final _sel_formatterBehavior = objc.registerName("formatterBehavior"); +late final _sel_setFormatterBehavior_ = + objc.registerName("setFormatterBehavior:"); + class NSCalendar extends NSObject { - NSCalendar._( - ffi.Pointer pointer, - AVFAudio lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSCalendar._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSCalendar] that points to the same underlying object as [other]. - static NSCalendar castFrom( - AVFAudio lib, - T other, - ) { - return NSCalendar._(other.pointer, lib, retain: true, release: true); + static NSCalendar castFrom(T other) { + return NSCalendar._(other.pointer, retain: true, release: true); } /// Returns a [NSCalendar] that wraps the given raw object pointer. - static NSCalendar castFromPointer( - AVFAudio lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSCalendar._(other, lib, retain: retain, release: release); + static NSCalendar castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSCalendar._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSCalendar]. - static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSCalendar1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0(obj.pointer, _sel_isKindOfClass_, _class_NSCalendar); } - static NSCalendar getCurrentCalendar(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_763( - _lib._class_NSCalendar1, - _lib._sel_currentCalendar1, - ); - return NSCalendar._(_ret, _lib, retain: true, release: true); + static NSCalendar getCurrentCalendar() { + final _ret = _objc_msgSend_763(_class_NSCalendar, _sel_currentCalendar); + return NSCalendar._(_ret, retain: true, release: true); } - static NSCalendar getAutoupdatingCurrentCalendar(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_763( - _lib._class_NSCalendar1, - _lib._sel_autoupdatingCurrentCalendar1, - ); - return NSCalendar._(_ret, _lib, retain: true, release: true); + static NSCalendar getAutoupdatingCurrentCalendar() { + final _ret = + _objc_msgSend_763(_class_NSCalendar, _sel_autoupdatingCurrentCalendar); + return NSCalendar._(_ret, retain: true, release: true); } static NSCalendar? calendarWithIdentifier_( - AVFAudio _lib, - NSString calendarIdentifierConstant, - ) { - final _ret = _lib._objc_msgSend_764( - _lib._class_NSCalendar1, - _lib._sel_calendarWithIdentifier_1, - calendarIdentifierConstant.pointer, - ); + NSString calendarIdentifierConstant) { + final _ret = _objc_msgSend_764(_class_NSCalendar, + _sel_calendarWithIdentifier_, calendarIdentifierConstant.pointer); return _ret.address == 0 ? null - : NSCalendar._(_ret, _lib, retain: true, release: true); + : NSCalendar._(_ret, retain: true, release: true); } @override NSCalendar init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSCalendar._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSCalendar._(_ret, retain: true, release: true); } NSObject? initWithCalendarIdentifier_(NSString ident) { - final _ret = _lib._objc_msgSend_38( - this.pointer, - _lib._sel_initWithCalendarIdentifier_1, - ident.pointer, - ); + final _ret = _objc_msgSend_38( + this.pointer, _sel_initWithCalendarIdentifier_, ident.pointer); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } NSString get calendarIdentifier { - final _ret = _lib._objc_msgSend_21( - this.pointer, - _lib._sel_calendarIdentifier1, - ); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_calendarIdentifier); + return NSString._(_ret, retain: true, release: true); } NSLocale? get locale { - final _ret = _lib._objc_msgSend_765(this.pointer, _lib._sel_locale1); + final _ret = _objc_msgSend_765(this.pointer, _sel_locale); return _ret.address == 0 ? null - : NSLocale._(_ret, _lib, retain: true, release: true); + : NSLocale._(_ret, retain: true, release: true); } set locale(NSLocale? value) { - return _lib._objc_msgSend_766( - this.pointer, - _lib._sel_setLocale_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_766( + this.pointer, _sel_setLocale_, value?.pointer ?? ffi.nullptr); } NSTimeZone get timeZone { - final _ret = _lib._objc_msgSend_179(this.pointer, _lib._sel_timeZone1); - return NSTimeZone._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_179(this.pointer, _sel_timeZone); + return NSTimeZone._(_ret, retain: true, release: true); } set timeZone(NSTimeZone value) { - return _lib._objc_msgSend_180( - this.pointer, - _lib._sel_setTimeZone_1, - value.pointer, - ); + return _objc_msgSend_180(this.pointer, _sel_setTimeZone_, value.pointer); } int get firstWeekday { - return _lib._objc_msgSend_10(this.pointer, _lib._sel_firstWeekday1); + return _objc_msgSend_10(this.pointer, _sel_firstWeekday); } set firstWeekday(int value) { - return _lib._objc_msgSend_516( - this.pointer, - _lib._sel_setFirstWeekday_1, - value, - ); + return _objc_msgSend_516(this.pointer, _sel_setFirstWeekday_, value); } int get minimumDaysInFirstWeek { - return _lib._objc_msgSend_10( - this.pointer, - _lib._sel_minimumDaysInFirstWeek1, - ); + return _objc_msgSend_10(this.pointer, _sel_minimumDaysInFirstWeek); } set minimumDaysInFirstWeek(int value) { - return _lib._objc_msgSend_516( - this.pointer, - _lib._sel_setMinimumDaysInFirstWeek_1, - value, - ); + return _objc_msgSend_516( + this.pointer, _sel_setMinimumDaysInFirstWeek_, value); } NSArray get eraSymbols { - final _ret = _lib._objc_msgSend_85(this.pointer, _lib._sel_eraSymbols1); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_85(this.pointer, _sel_eraSymbols); + return NSArray._(_ret, retain: true, release: true); } NSArray get longEraSymbols { - final _ret = _lib._objc_msgSend_85(this.pointer, _lib._sel_longEraSymbols1); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_85(this.pointer, _sel_longEraSymbols); + return NSArray._(_ret, retain: true, release: true); } NSArray get monthSymbols { - final _ret = _lib._objc_msgSend_85(this.pointer, _lib._sel_monthSymbols1); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_85(this.pointer, _sel_monthSymbols); + return NSArray._(_ret, retain: true, release: true); } NSArray get shortMonthSymbols { - final _ret = _lib._objc_msgSend_85( - this.pointer, - _lib._sel_shortMonthSymbols1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_85(this.pointer, _sel_shortMonthSymbols); + return NSArray._(_ret, retain: true, release: true); } NSArray get veryShortMonthSymbols { - final _ret = _lib._objc_msgSend_85( - this.pointer, - _lib._sel_veryShortMonthSymbols1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_85(this.pointer, _sel_veryShortMonthSymbols); + return NSArray._(_ret, retain: true, release: true); } NSArray get standaloneMonthSymbols { - final _ret = _lib._objc_msgSend_85( - this.pointer, - _lib._sel_standaloneMonthSymbols1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_85(this.pointer, _sel_standaloneMonthSymbols); + return NSArray._(_ret, retain: true, release: true); } NSArray get shortStandaloneMonthSymbols { - final _ret = _lib._objc_msgSend_85( - this.pointer, - _lib._sel_shortStandaloneMonthSymbols1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_85(this.pointer, _sel_shortStandaloneMonthSymbols); + return NSArray._(_ret, retain: true, release: true); } NSArray get veryShortStandaloneMonthSymbols { - final _ret = _lib._objc_msgSend_85( - this.pointer, - _lib._sel_veryShortStandaloneMonthSymbols1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_85(this.pointer, _sel_veryShortStandaloneMonthSymbols); + return NSArray._(_ret, retain: true, release: true); } NSArray get weekdaySymbols { - final _ret = _lib._objc_msgSend_85(this.pointer, _lib._sel_weekdaySymbols1); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_85(this.pointer, _sel_weekdaySymbols); + return NSArray._(_ret, retain: true, release: true); } NSArray get shortWeekdaySymbols { - final _ret = _lib._objc_msgSend_85( - this.pointer, - _lib._sel_shortWeekdaySymbols1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_85(this.pointer, _sel_shortWeekdaySymbols); + return NSArray._(_ret, retain: true, release: true); } NSArray get veryShortWeekdaySymbols { - final _ret = _lib._objc_msgSend_85( - this.pointer, - _lib._sel_veryShortWeekdaySymbols1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_85(this.pointer, _sel_veryShortWeekdaySymbols); + return NSArray._(_ret, retain: true, release: true); } NSArray get standaloneWeekdaySymbols { - final _ret = _lib._objc_msgSend_85( - this.pointer, - _lib._sel_standaloneWeekdaySymbols1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_85(this.pointer, _sel_standaloneWeekdaySymbols); + return NSArray._(_ret, retain: true, release: true); } NSArray get shortStandaloneWeekdaySymbols { - final _ret = _lib._objc_msgSend_85( - this.pointer, - _lib._sel_shortStandaloneWeekdaySymbols1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_85(this.pointer, _sel_shortStandaloneWeekdaySymbols); + return NSArray._(_ret, retain: true, release: true); } NSArray get veryShortStandaloneWeekdaySymbols { - final _ret = _lib._objc_msgSend_85( - this.pointer, - _lib._sel_veryShortStandaloneWeekdaySymbols1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_85(this.pointer, _sel_veryShortStandaloneWeekdaySymbols); + return NSArray._(_ret, retain: true, release: true); } NSArray get quarterSymbols { - final _ret = _lib._objc_msgSend_85(this.pointer, _lib._sel_quarterSymbols1); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_85(this.pointer, _sel_quarterSymbols); + return NSArray._(_ret, retain: true, release: true); } NSArray get shortQuarterSymbols { - final _ret = _lib._objc_msgSend_85( - this.pointer, - _lib._sel_shortQuarterSymbols1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_85(this.pointer, _sel_shortQuarterSymbols); + return NSArray._(_ret, retain: true, release: true); } NSArray get standaloneQuarterSymbols { - final _ret = _lib._objc_msgSend_85( - this.pointer, - _lib._sel_standaloneQuarterSymbols1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_85(this.pointer, _sel_standaloneQuarterSymbols); + return NSArray._(_ret, retain: true, release: true); } NSArray get shortStandaloneQuarterSymbols { - final _ret = _lib._objc_msgSend_85( - this.pointer, - _lib._sel_shortStandaloneQuarterSymbols1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_85(this.pointer, _sel_shortStandaloneQuarterSymbols); + return NSArray._(_ret, retain: true, release: true); } NSString get AMSymbol { - final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_AMSymbol1); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_AMSymbol); + return NSString._(_ret, retain: true, release: true); } NSString get PMSymbol { - final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_PMSymbol1); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_PMSymbol); + return NSString._(_ret, retain: true, release: true); } void minimumRangeOfUnit_(ffi.Pointer<_NSRange> stret, int unit) { objc.useMsgSendVariants - ? _lib._objc_msgSend_767_stret( - stret, - this.pointer, - _lib._sel_minimumRangeOfUnit_1, - unit, - ) - : stret.ref = _lib._objc_msgSend_767( - this.pointer, - _lib._sel_minimumRangeOfUnit_1, - unit, - ); + ? _objc_msgSend_767Stret( + stret, this.pointer, _sel_minimumRangeOfUnit_, unit) + : stret.ref = + _objc_msgSend_767(this.pointer, _sel_minimumRangeOfUnit_, unit); } void maximumRangeOfUnit_(ffi.Pointer<_NSRange> stret, int unit) { objc.useMsgSendVariants - ? _lib._objc_msgSend_767_stret( - stret, - this.pointer, - _lib._sel_maximumRangeOfUnit_1, - unit, - ) - : stret.ref = _lib._objc_msgSend_767( - this.pointer, - _lib._sel_maximumRangeOfUnit_1, - unit, - ); + ? _objc_msgSend_767Stret( + stret, this.pointer, _sel_maximumRangeOfUnit_, unit) + : stret.ref = + _objc_msgSend_767(this.pointer, _sel_maximumRangeOfUnit_, unit); } void rangeOfUnit_inUnit_forDate_( - ffi.Pointer<_NSRange> stret, - int smaller, - int larger, - NSDate date, - ) { + ffi.Pointer<_NSRange> stret, int smaller, int larger, NSDate date) { objc.useMsgSendVariants - ? _lib._objc_msgSend_768_stret( - stret, - this.pointer, - _lib._sel_rangeOfUnit_inUnit_forDate_1, - smaller, - larger, - date.pointer, - ) - : stret.ref = _lib._objc_msgSend_768( - this.pointer, - _lib._sel_rangeOfUnit_inUnit_forDate_1, - smaller, - larger, - date.pointer, - ); + ? _objc_msgSend_768Stret(stret, this.pointer, + _sel_rangeOfUnit_inUnit_forDate_, smaller, larger, date.pointer) + : stret.ref = _objc_msgSend_768(this.pointer, + _sel_rangeOfUnit_inUnit_forDate_, smaller, larger, date.pointer); } int ordinalityOfUnit_inUnit_forDate_(int smaller, int larger, NSDate date) { - return _lib._objc_msgSend_769( - this.pointer, - _lib._sel_ordinalityOfUnit_inUnit_forDate_1, - smaller, - larger, - date.pointer, - ); + return _objc_msgSend_769(this.pointer, + _sel_ordinalityOfUnit_inUnit_forDate_, smaller, larger, date.pointer); } bool rangeOfUnit_startDate_interval_forDate_( - int unit, - ffi.Pointer> datep, - ffi.Pointer tip, - NSDate date, - ) { - return _lib._objc_msgSend_770( - this.pointer, - _lib._sel_rangeOfUnit_startDate_interval_forDate_1, - unit, - datep, - tip, - date.pointer, - ); + int unit, + ffi.Pointer> datep, + ffi.Pointer tip, + NSDate date) { + return _objc_msgSend_770( + this.pointer, + _sel_rangeOfUnit_startDate_interval_forDate_, + unit, + datep, + tip, + date.pointer); } NSDate? dateFromComponents_(NSDateComponents comps) { - final _ret = _lib._objc_msgSend_778( - this.pointer, - _lib._sel_dateFromComponents_1, - comps.pointer, - ); + final _ret = _objc_msgSend_778( + this.pointer, _sel_dateFromComponents_, comps.pointer); return _ret.address == 0 ? null - : NSDate._(_ret, _lib, retain: true, release: true); + : NSDate._(_ret, retain: true, release: true); } NSDateComponents components_fromDate_(int unitFlags, NSDate date) { - final _ret = _lib._objc_msgSend_779( - this.pointer, - _lib._sel_components_fromDate_1, - unitFlags, - date.pointer, - ); - return NSDateComponents._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_779( + this.pointer, _sel_components_fromDate_, unitFlags, date.pointer); + return NSDateComponents._(_ret, retain: true, release: true); } NSDate? dateByAddingComponents_toDate_options_( - NSDateComponents comps, - NSDate date, - int opts, - ) { - final _ret = _lib._objc_msgSend_780( - this.pointer, - _lib._sel_dateByAddingComponents_toDate_options_1, - comps.pointer, - date.pointer, - opts, - ); + NSDateComponents comps, NSDate date, int opts) { + final _ret = _objc_msgSend_780( + this.pointer, + _sel_dateByAddingComponents_toDate_options_, + comps.pointer, + date.pointer, + opts); return _ret.address == 0 ? null - : NSDate._(_ret, _lib, retain: true, release: true); + : NSDate._(_ret, retain: true, release: true); } NSDateComponents components_fromDate_toDate_options_( - int unitFlags, - NSDate startingDate, - NSDate resultDate, - int opts, - ) { - final _ret = _lib._objc_msgSend_781( - this.pointer, - _lib._sel_components_fromDate_toDate_options_1, - unitFlags, - startingDate.pointer, - resultDate.pointer, - opts, - ); - return NSDateComponents._(_ret, _lib, retain: true, release: true); + int unitFlags, NSDate startingDate, NSDate resultDate, int opts) { + final _ret = _objc_msgSend_781( + this.pointer, + _sel_components_fromDate_toDate_options_, + unitFlags, + startingDate.pointer, + resultDate.pointer, + opts); + return NSDateComponents._(_ret, retain: true, release: true); } void getEra_year_month_day_fromDate_( - ffi.Pointer eraValuePointer, - ffi.Pointer yearValuePointer, - ffi.Pointer monthValuePointer, - ffi.Pointer dayValuePointer, - NSDate date, - ) { - _lib._objc_msgSend_782( - this.pointer, - _lib._sel_getEra_year_month_day_fromDate_1, - eraValuePointer, - yearValuePointer, - monthValuePointer, - dayValuePointer, - date.pointer, - ); + ffi.Pointer eraValuePointer, + ffi.Pointer yearValuePointer, + ffi.Pointer monthValuePointer, + ffi.Pointer dayValuePointer, + NSDate date) { + _objc_msgSend_782( + this.pointer, + _sel_getEra_year_month_day_fromDate_, + eraValuePointer, + yearValuePointer, + monthValuePointer, + dayValuePointer, + date.pointer); } void getEra_yearForWeekOfYear_weekOfYear_weekday_fromDate_( - ffi.Pointer eraValuePointer, - ffi.Pointer yearValuePointer, - ffi.Pointer weekValuePointer, - ffi.Pointer weekdayValuePointer, - NSDate date, - ) { - _lib._objc_msgSend_782( - this.pointer, - _lib._sel_getEra_yearForWeekOfYear_weekOfYear_weekday_fromDate_1, - eraValuePointer, - yearValuePointer, - weekValuePointer, - weekdayValuePointer, - date.pointer, - ); + ffi.Pointer eraValuePointer, + ffi.Pointer yearValuePointer, + ffi.Pointer weekValuePointer, + ffi.Pointer weekdayValuePointer, + NSDate date) { + _objc_msgSend_782( + this.pointer, + _sel_getEra_yearForWeekOfYear_weekOfYear_weekday_fromDate_, + eraValuePointer, + yearValuePointer, + weekValuePointer, + weekdayValuePointer, + date.pointer); } void getHour_minute_second_nanosecond_fromDate_( - ffi.Pointer hourValuePointer, - ffi.Pointer minuteValuePointer, - ffi.Pointer secondValuePointer, - ffi.Pointer nanosecondValuePointer, - NSDate date, - ) { - _lib._objc_msgSend_782( - this.pointer, - _lib._sel_getHour_minute_second_nanosecond_fromDate_1, - hourValuePointer, - minuteValuePointer, - secondValuePointer, - nanosecondValuePointer, - date.pointer, - ); + ffi.Pointer hourValuePointer, + ffi.Pointer minuteValuePointer, + ffi.Pointer secondValuePointer, + ffi.Pointer nanosecondValuePointer, + NSDate date) { + _objc_msgSend_782( + this.pointer, + _sel_getHour_minute_second_nanosecond_fromDate_, + hourValuePointer, + minuteValuePointer, + secondValuePointer, + nanosecondValuePointer, + date.pointer); } int component_fromDate_(int unit, NSDate date) { - return _lib._objc_msgSend_783( - this.pointer, - _lib._sel_component_fromDate_1, - unit, - date.pointer, - ); + return _objc_msgSend_783( + this.pointer, _sel_component_fromDate_, unit, date.pointer); } NSDate? dateWithEra_year_month_day_hour_minute_second_nanosecond_( - int eraValue, - int yearValue, - int monthValue, - int dayValue, - int hourValue, - int minuteValue, - int secondValue, - int nanosecondValue, - ) { - final _ret = _lib._objc_msgSend_784( - this.pointer, - _lib._sel_dateWithEra_year_month_day_hour_minute_second_nanosecond_1, - eraValue, - yearValue, - monthValue, - dayValue, - hourValue, - minuteValue, - secondValue, - nanosecondValue, - ); - return _ret.address == 0 - ? null - : NSDate._(_ret, _lib, retain: true, release: true); + int eraValue, + int yearValue, + int monthValue, + int dayValue, + int hourValue, + int minuteValue, + int secondValue, + int nanosecondValue) { + final _ret = _objc_msgSend_784( + this.pointer, + _sel_dateWithEra_year_month_day_hour_minute_second_nanosecond_, + eraValue, + yearValue, + monthValue, + dayValue, + hourValue, + minuteValue, + secondValue, + nanosecondValue); + return _ret.address == 0 + ? null + : NSDate._(_ret, retain: true, release: true); } NSDate? dateWithEra_yearForWeekOfYear_weekOfYear_weekday_hour_minute_second_nanosecond_( - int eraValue, - int yearValue, - int weekValue, - int weekdayValue, - int hourValue, - int minuteValue, - int secondValue, - int nanosecondValue, - ) { - final _ret = _lib._objc_msgSend_784( - this.pointer, - _lib._sel_dateWithEra_yearForWeekOfYear_weekOfYear_weekday_hour_minute_second_nanosecond_1, - eraValue, - yearValue, - weekValue, - weekdayValue, - hourValue, - minuteValue, - secondValue, - nanosecondValue, - ); - return _ret.address == 0 - ? null - : NSDate._(_ret, _lib, retain: true, release: true); + int eraValue, + int yearValue, + int weekValue, + int weekdayValue, + int hourValue, + int minuteValue, + int secondValue, + int nanosecondValue) { + final _ret = _objc_msgSend_784( + this.pointer, + _sel_dateWithEra_yearForWeekOfYear_weekOfYear_weekday_hour_minute_second_nanosecond_, + eraValue, + yearValue, + weekValue, + weekdayValue, + hourValue, + minuteValue, + secondValue, + nanosecondValue); + return _ret.address == 0 + ? null + : NSDate._(_ret, retain: true, release: true); } NSDate startOfDayForDate_(NSDate date) { - final _ret = _lib._objc_msgSend_168( - this.pointer, - _lib._sel_startOfDayForDate_1, - date.pointer, - ); - return NSDate._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_168(this.pointer, _sel_startOfDayForDate_, date.pointer); + return NSDate._(_ret, retain: true, release: true); } NSDateComponents componentsInTimeZone_fromDate_( - NSTimeZone timezone, - NSDate date, - ) { - final _ret = _lib._objc_msgSend_785( - this.pointer, - _lib._sel_componentsInTimeZone_fromDate_1, - timezone.pointer, - date.pointer, - ); - return NSDateComponents._(_ret, _lib, retain: true, release: true); + NSTimeZone timezone, NSDate date) { + final _ret = _objc_msgSend_785(this.pointer, + _sel_componentsInTimeZone_fromDate_, timezone.pointer, date.pointer); + return NSDateComponents._(_ret, retain: true, release: true); } int compareDate_toDate_toUnitGranularity_( - NSDate date1, - NSDate date2, - int unit, - ) { - return _lib._objc_msgSend_786( - this.pointer, - _lib._sel_compareDate_toDate_toUnitGranularity_1, - date1.pointer, - date2.pointer, - unit, - ); + NSDate date1, NSDate date2, int unit) { + return _objc_msgSend_786( + this.pointer, + _sel_compareDate_toDate_toUnitGranularity_, + date1.pointer, + date2.pointer, + unit); } bool isDate_equalToDate_toUnitGranularity_( - NSDate date1, - NSDate date2, - int unit, - ) { - return _lib._objc_msgSend_787( - this.pointer, - _lib._sel_isDate_equalToDate_toUnitGranularity_1, - date1.pointer, - date2.pointer, - unit, - ); + NSDate date1, NSDate date2, int unit) { + return _objc_msgSend_787( + this.pointer, + _sel_isDate_equalToDate_toUnitGranularity_, + date1.pointer, + date2.pointer, + unit); } bool isDate_inSameDayAsDate_(NSDate date1, NSDate date2) { - return _lib._objc_msgSend_788( - this.pointer, - _lib._sel_isDate_inSameDayAsDate_1, - date1.pointer, - date2.pointer, - ); + return _objc_msgSend_788(this.pointer, _sel_isDate_inSameDayAsDate_, + date1.pointer, date2.pointer); } bool isDateInToday_(NSDate date) { - return _lib._objc_msgSend_170( - this.pointer, - _lib._sel_isDateInToday_1, - date.pointer, - ); + return _objc_msgSend_170(this.pointer, _sel_isDateInToday_, date.pointer); } bool isDateInYesterday_(NSDate date) { - return _lib._objc_msgSend_170( - this.pointer, - _lib._sel_isDateInYesterday_1, - date.pointer, - ); + return _objc_msgSend_170( + this.pointer, _sel_isDateInYesterday_, date.pointer); } bool isDateInTomorrow_(NSDate date) { - return _lib._objc_msgSend_170( - this.pointer, - _lib._sel_isDateInTomorrow_1, - date.pointer, - ); + return _objc_msgSend_170( + this.pointer, _sel_isDateInTomorrow_, date.pointer); } bool isDateInWeekend_(NSDate date) { - return _lib._objc_msgSend_170( - this.pointer, - _lib._sel_isDateInWeekend_1, - date.pointer, - ); + return _objc_msgSend_170(this.pointer, _sel_isDateInWeekend_, date.pointer); } bool rangeOfWeekendStartDate_interval_containingDate_( - ffi.Pointer> datep, - ffi.Pointer tip, - NSDate date, - ) { - return _lib._objc_msgSend_789( - this.pointer, - _lib._sel_rangeOfWeekendStartDate_interval_containingDate_1, - datep, - tip, - date.pointer, - ); + ffi.Pointer> datep, + ffi.Pointer tip, + NSDate date) { + return _objc_msgSend_789( + this.pointer, + _sel_rangeOfWeekendStartDate_interval_containingDate_, + datep, + tip, + date.pointer); } bool nextWeekendStartDate_interval_options_afterDate_( - ffi.Pointer> datep, - ffi.Pointer tip, - int options, - NSDate date, - ) { - return _lib._objc_msgSend_790( - this.pointer, - _lib._sel_nextWeekendStartDate_interval_options_afterDate_1, - datep, - tip, - options, - date.pointer, - ); + ffi.Pointer> datep, + ffi.Pointer tip, + int options, + NSDate date) { + return _objc_msgSend_790( + this.pointer, + _sel_nextWeekendStartDate_interval_options_afterDate_, + datep, + tip, + options, + date.pointer); } NSDateComponents components_fromDateComponents_toDateComponents_options_( - int unitFlags, - NSDateComponents startingDateComp, - NSDateComponents resultDateComp, - int options, - ) { - final _ret = _lib._objc_msgSend_791( - this.pointer, - _lib._sel_components_fromDateComponents_toDateComponents_options_1, - unitFlags, - startingDateComp.pointer, - resultDateComp.pointer, - options, - ); - return NSDateComponents._(_ret, _lib, retain: true, release: true); + int unitFlags, + NSDateComponents startingDateComp, + NSDateComponents resultDateComp, + int options) { + final _ret = _objc_msgSend_791( + this.pointer, + _sel_components_fromDateComponents_toDateComponents_options_, + unitFlags, + startingDateComp.pointer, + resultDateComp.pointer, + options); + return NSDateComponents._(_ret, retain: true, release: true); } NSDate? dateByAddingUnit_value_toDate_options_( - int unit, - int value, - NSDate date, - int options, - ) { - final _ret = _lib._objc_msgSend_792( - this.pointer, - _lib._sel_dateByAddingUnit_value_toDate_options_1, - unit, - value, - date.pointer, - options, - ); + int unit, int value, NSDate date, int options) { + final _ret = _objc_msgSend_792( + this.pointer, + _sel_dateByAddingUnit_value_toDate_options_, + unit, + value, + date.pointer, + options); return _ret.address == 0 ? null - : NSDate._(_ret, _lib, retain: true, release: true); + : NSDate._(_ret, retain: true, release: true); } void enumerateDatesStartingAfterDate_matchingComponents_options_usingBlock_( - NSDate start, - NSDateComponents comps, - int opts, - ObjCBlock_ffiVoid_NSDate_bool_bool block, - ) { - _lib._objc_msgSend_793( - this.pointer, - _lib._sel_enumerateDatesStartingAfterDate_matchingComponents_options_usingBlock_1, - start.pointer, - comps.pointer, - opts, - block.pointer, - ); + NSDate start, + NSDateComponents comps, + int opts, + ObjCBlock_ffiVoid_NSDate_bool_bool block) { + _objc_msgSend_793( + this.pointer, + _sel_enumerateDatesStartingAfterDate_matchingComponents_options_usingBlock_, + start.pointer, + comps.pointer, + opts, + block.pointer); } NSDate? nextDateAfterDate_matchingComponents_options_( - NSDate date, - NSDateComponents comps, - int options, - ) { - final _ret = _lib._objc_msgSend_794( - this.pointer, - _lib._sel_nextDateAfterDate_matchingComponents_options_1, - date.pointer, - comps.pointer, - options, - ); + NSDate date, NSDateComponents comps, int options) { + final _ret = _objc_msgSend_794( + this.pointer, + _sel_nextDateAfterDate_matchingComponents_options_, + date.pointer, + comps.pointer, + options); return _ret.address == 0 ? null - : NSDate._(_ret, _lib, retain: true, release: true); + : NSDate._(_ret, retain: true, release: true); } NSDate? nextDateAfterDate_matchingUnit_value_options_( - NSDate date, - int unit, - int value, - int options, - ) { - final _ret = _lib._objc_msgSend_795( - this.pointer, - _lib._sel_nextDateAfterDate_matchingUnit_value_options_1, - date.pointer, - unit, - value, - options, - ); - return _ret.address == 0 - ? null - : NSDate._(_ret, _lib, retain: true, release: true); - } - - NSDate? nextDateAfterDate_matchingHour_minute_second_options_( - NSDate date, - int hourValue, - int minuteValue, - int secondValue, - int options, - ) { - final _ret = _lib._objc_msgSend_796( - this.pointer, - _lib._sel_nextDateAfterDate_matchingHour_minute_second_options_1, - date.pointer, - hourValue, - minuteValue, - secondValue, - options, - ); - return _ret.address == 0 - ? null - : NSDate._(_ret, _lib, retain: true, release: true); + NSDate date, int unit, int value, int options) { + final _ret = _objc_msgSend_795( + this.pointer, + _sel_nextDateAfterDate_matchingUnit_value_options_, + date.pointer, + unit, + value, + options); + return _ret.address == 0 + ? null + : NSDate._(_ret, retain: true, release: true); + } + + NSDate? nextDateAfterDate_matchingHour_minute_second_options_(NSDate date, + int hourValue, int minuteValue, int secondValue, int options) { + final _ret = _objc_msgSend_796( + this.pointer, + _sel_nextDateAfterDate_matchingHour_minute_second_options_, + date.pointer, + hourValue, + minuteValue, + secondValue, + options); + return _ret.address == 0 + ? null + : NSDate._(_ret, retain: true, release: true); } NSDate? dateBySettingUnit_value_ofDate_options_( - int unit, - int v, - NSDate date, - int opts, - ) { - final _ret = _lib._objc_msgSend_792( - this.pointer, - _lib._sel_dateBySettingUnit_value_ofDate_options_1, - unit, - v, - date.pointer, - opts, - ); + int unit, int v, NSDate date, int opts) { + final _ret = _objc_msgSend_792( + this.pointer, + _sel_dateBySettingUnit_value_ofDate_options_, + unit, + v, + date.pointer, + opts); return _ret.address == 0 ? null - : NSDate._(_ret, _lib, retain: true, release: true); + : NSDate._(_ret, retain: true, release: true); } NSDate? dateBySettingHour_minute_second_ofDate_options_( - int h, - int m, - int s, - NSDate date, - int opts, - ) { - final _ret = _lib._objc_msgSend_797( - this.pointer, - _lib._sel_dateBySettingHour_minute_second_ofDate_options_1, - h, - m, - s, - date.pointer, - opts, - ); - return _ret.address == 0 - ? null - : NSDate._(_ret, _lib, retain: true, release: true); + int h, int m, int s, NSDate date, int opts) { + final _ret = _objc_msgSend_797( + this.pointer, + _sel_dateBySettingHour_minute_second_ofDate_options_, + h, + m, + s, + date.pointer, + opts); + return _ret.address == 0 + ? null + : NSDate._(_ret, retain: true, release: true); } bool date_matchesComponents_(NSDate date, NSDateComponents components) { - return _lib._objc_msgSend_798( - this.pointer, - _lib._sel_date_matchesComponents_1, - date.pointer, - components.pointer, - ); + return _objc_msgSend_798(this.pointer, _sel_date_matchesComponents_, + date.pointer, components.pointer); } - static NSCalendar new1(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2(_lib._class_NSCalendar1, _lib._sel_new1); - return NSCalendar._(_ret, _lib, retain: false, release: true); + static NSCalendar new1() { + final _ret = _objc_msgSend_2(_class_NSCalendar, _sel_new); + return NSCalendar._(_ret, retain: false, release: true); } - static NSCalendar allocWithZone_(AVFAudio _lib, ffi.Pointer<_NSZone> zone) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSCalendar1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSCalendar._(_ret, _lib, retain: false, release: true); + static NSCalendar allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = _objc_msgSend_3(_class_NSCalendar, _sel_allocWithZone_, zone); + return NSCalendar._(_ret, retain: false, release: true); } - static NSCalendar alloc(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSCalendar1, - _lib._sel_alloc1, - ); - return NSCalendar._(_ret, _lib, retain: false, release: true); + static NSCalendar alloc() { + final _ret = _objc_msgSend_2(_class_NSCalendar, _sel_alloc); + return NSCalendar._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSCalendar1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSCalendar1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSCalendar1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSCalendar1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSCalendar1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSCalendar1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSCalendar, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); } - static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSCalendar1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSCalendar1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSCalendar1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSCalendar, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); } -} + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSCalendar, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSCalendar, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSCalendar, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSCalendar, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); + } + + static void setKeys_triggerChangeNotificationsForDependentKey_( + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSCalendar, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = _objc_msgSend_85( + _class_NSCalendar, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = + _objc_msgSend_2(_class_NSCalendar, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); + } +} + +late final _class_NSCalendar = objc.getClass("NSCalendar"); +late final _sel_currentCalendar = objc.registerName("currentCalendar"); +final _objc_msgSend_763 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_autoupdatingCurrentCalendar = + objc.registerName("autoupdatingCurrentCalendar"); +late final _sel_calendarWithIdentifier_ = + objc.registerName("calendarWithIdentifier:"); +final _objc_msgSend_764 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer calendarIdentifierConstant)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_initWithCalendarIdentifier_ = + objc.registerName("initWithCalendarIdentifier:"); +final _objc_msgSend_765 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +final _objc_msgSend_766 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_firstWeekday = objc.registerName("firstWeekday"); +late final _sel_setFirstWeekday_ = objc.registerName("setFirstWeekday:"); +late final _sel_minimumDaysInFirstWeek = + objc.registerName("minimumDaysInFirstWeek"); +late final _sel_setMinimumDaysInFirstWeek_ = + objc.registerName("setMinimumDaysInFirstWeek:"); +late final _sel_eraSymbols = objc.registerName("eraSymbols"); +late final _sel_longEraSymbols = objc.registerName("longEraSymbols"); +late final _sel_monthSymbols = objc.registerName("monthSymbols"); +late final _sel_shortMonthSymbols = objc.registerName("shortMonthSymbols"); +late final _sel_veryShortMonthSymbols = + objc.registerName("veryShortMonthSymbols"); +late final _sel_standaloneMonthSymbols = + objc.registerName("standaloneMonthSymbols"); +late final _sel_shortStandaloneMonthSymbols = + objc.registerName("shortStandaloneMonthSymbols"); +late final _sel_veryShortStandaloneMonthSymbols = + objc.registerName("veryShortStandaloneMonthSymbols"); +late final _sel_weekdaySymbols = objc.registerName("weekdaySymbols"); +late final _sel_shortWeekdaySymbols = objc.registerName("shortWeekdaySymbols"); +late final _sel_veryShortWeekdaySymbols = + objc.registerName("veryShortWeekdaySymbols"); +late final _sel_standaloneWeekdaySymbols = + objc.registerName("standaloneWeekdaySymbols"); +late final _sel_shortStandaloneWeekdaySymbols = + objc.registerName("shortStandaloneWeekdaySymbols"); +late final _sel_veryShortStandaloneWeekdaySymbols = + objc.registerName("veryShortStandaloneWeekdaySymbols"); +late final _sel_quarterSymbols = objc.registerName("quarterSymbols"); +late final _sel_shortQuarterSymbols = objc.registerName("shortQuarterSymbols"); +late final _sel_standaloneQuarterSymbols = + objc.registerName("standaloneQuarterSymbols"); +late final _sel_shortStandaloneQuarterSymbols = + objc.registerName("shortStandaloneQuarterSymbols"); +late final _sel_AMSymbol = objc.registerName("AMSymbol"); +late final _sel_PMSymbol = objc.registerName("PMSymbol"); abstract class NSCalendarUnit { static const int NSCalendarUnitEra = 2; @@ -73180,385 +37932,517 @@ abstract class NSCalendarUnit { static const int NSTimeZoneCalendarUnit = 2097152; } +late final _sel_minimumRangeOfUnit_ = objc.registerName("minimumRangeOfUnit:"); +final _objc_msgSend_767 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + _NSRange Function(ffi.Pointer obj, + ffi.Pointer sel, ffi.Int32 unit)>>() + .asFunction< + _NSRange Function(ffi.Pointer, + ffi.Pointer, int)>(); +final _objc_msgSend_767Stret = objc.msgSendStretPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer<_NSRange> stret, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Int32 unit)>>() + .asFunction< + void Function(ffi.Pointer<_NSRange>, ffi.Pointer, + ffi.Pointer, int)>(); +late final _sel_maximumRangeOfUnit_ = objc.registerName("maximumRangeOfUnit:"); +late final _sel_rangeOfUnit_inUnit_forDate_ = + objc.registerName("rangeOfUnit:inUnit:forDate:"); +final _objc_msgSend_768 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + _NSRange Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Int32 smaller, + ffi.Int32 larger, + ffi.Pointer date)>>() + .asFunction< + _NSRange Function( + ffi.Pointer, + ffi.Pointer, + int, + int, + ffi.Pointer)>(); +final _objc_msgSend_768Stret = objc.msgSendStretPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer<_NSRange> stret, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Int32 smaller, + ffi.Int32 larger, + ffi.Pointer date)>>() + .asFunction< + void Function( + ffi.Pointer<_NSRange>, + ffi.Pointer, + ffi.Pointer, + int, + int, + ffi.Pointer)>(); +late final _sel_ordinalityOfUnit_inUnit_forDate_ = + objc.registerName("ordinalityOfUnit:inUnit:forDate:"); +final _objc_msgSend_769 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Int32 smaller, + ffi.Int32 larger, + ffi.Pointer date)>>() + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + int, + int, + ffi.Pointer)>(); +late final _sel_rangeOfUnit_startDate_interval_forDate_ = + objc.registerName("rangeOfUnit:startDate:interval:forDate:"); +final _objc_msgSend_770 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Int32 unit, + ffi.Pointer> datep, + ffi.Pointer tip, + ffi.Pointer date)>>() + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer>, + ffi.Pointer, + ffi.Pointer)>(); + class NSDateComponents extends NSObject { - NSDateComponents._( - ffi.Pointer pointer, - AVFAudio lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSDateComponents._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSDateComponents] that points to the same underlying object as [other]. - static NSDateComponents castFrom( - AVFAudio lib, - T other, - ) { - return NSDateComponents._(other.pointer, lib, retain: true, release: true); + static NSDateComponents castFrom(T other) { + return NSDateComponents._(other.pointer, retain: true, release: true); } /// Returns a [NSDateComponents] that wraps the given raw object pointer. - static NSDateComponents castFromPointer( - AVFAudio lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSDateComponents._(other, lib, retain: retain, release: release); + static NSDateComponents castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSDateComponents._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSDateComponents]. - static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSDateComponents1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0( + obj.pointer, _sel_isKindOfClass_, _class_NSDateComponents); } NSCalendar? get calendar { - final _ret = _lib._objc_msgSend_771(this.pointer, _lib._sel_calendar1); + final _ret = _objc_msgSend_771(this.pointer, _sel_calendar); return _ret.address == 0 ? null - : NSCalendar._(_ret, _lib, retain: true, release: true); + : NSCalendar._(_ret, retain: true, release: true); } set calendar(NSCalendar? value) { - return _lib._objc_msgSend_772( - this.pointer, - _lib._sel_setCalendar_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_772( + this.pointer, _sel_setCalendar_, value?.pointer ?? ffi.nullptr); } NSTimeZone? get timeZone { - final _ret = _lib._objc_msgSend_773(this.pointer, _lib._sel_timeZone1); + final _ret = _objc_msgSend_773(this.pointer, _sel_timeZone); return _ret.address == 0 ? null - : NSTimeZone._(_ret, _lib, retain: true, release: true); + : NSTimeZone._(_ret, retain: true, release: true); } set timeZone(NSTimeZone? value) { - return _lib._objc_msgSend_774( - this.pointer, - _lib._sel_setTimeZone_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_774( + this.pointer, _sel_setTimeZone_, value?.pointer ?? ffi.nullptr); } int get era { - return _lib._objc_msgSend_83(this.pointer, _lib._sel_era1); + return _objc_msgSend_83(this.pointer, _sel_era); } set era(int value) { - return _lib._objc_msgSend_635(this.pointer, _lib._sel_setEra_1, value); + return _objc_msgSend_635(this.pointer, _sel_setEra_, value); } int get year { - return _lib._objc_msgSend_83(this.pointer, _lib._sel_year1); + return _objc_msgSend_83(this.pointer, _sel_year); } set year(int value) { - return _lib._objc_msgSend_635(this.pointer, _lib._sel_setYear_1, value); + return _objc_msgSend_635(this.pointer, _sel_setYear_, value); } int get month { - return _lib._objc_msgSend_83(this.pointer, _lib._sel_month1); + return _objc_msgSend_83(this.pointer, _sel_month); } set month(int value) { - return _lib._objc_msgSend_635(this.pointer, _lib._sel_setMonth_1, value); + return _objc_msgSend_635(this.pointer, _sel_setMonth_, value); } int get day { - return _lib._objc_msgSend_83(this.pointer, _lib._sel_day1); + return _objc_msgSend_83(this.pointer, _sel_day); } set day(int value) { - return _lib._objc_msgSend_635(this.pointer, _lib._sel_setDay_1, value); + return _objc_msgSend_635(this.pointer, _sel_setDay_, value); } int get hour { - return _lib._objc_msgSend_83(this.pointer, _lib._sel_hour1); + return _objc_msgSend_83(this.pointer, _sel_hour); } set hour(int value) { - return _lib._objc_msgSend_635(this.pointer, _lib._sel_setHour_1, value); + return _objc_msgSend_635(this.pointer, _sel_setHour_, value); } int get minute { - return _lib._objc_msgSend_83(this.pointer, _lib._sel_minute1); + return _objc_msgSend_83(this.pointer, _sel_minute); } set minute(int value) { - return _lib._objc_msgSend_635(this.pointer, _lib._sel_setMinute_1, value); + return _objc_msgSend_635(this.pointer, _sel_setMinute_, value); } int get second { - return _lib._objc_msgSend_83(this.pointer, _lib._sel_second1); + return _objc_msgSend_83(this.pointer, _sel_second); } set second(int value) { - return _lib._objc_msgSend_635(this.pointer, _lib._sel_setSecond_1, value); + return _objc_msgSend_635(this.pointer, _sel_setSecond_, value); } int get nanosecond { - return _lib._objc_msgSend_83(this.pointer, _lib._sel_nanosecond1); + return _objc_msgSend_83(this.pointer, _sel_nanosecond); } set nanosecond(int value) { - return _lib._objc_msgSend_635( - this.pointer, - _lib._sel_setNanosecond_1, - value, - ); + return _objc_msgSend_635(this.pointer, _sel_setNanosecond_, value); } int get weekday { - return _lib._objc_msgSend_83(this.pointer, _lib._sel_weekday1); + return _objc_msgSend_83(this.pointer, _sel_weekday); } set weekday(int value) { - return _lib._objc_msgSend_635(this.pointer, _lib._sel_setWeekday_1, value); + return _objc_msgSend_635(this.pointer, _sel_setWeekday_, value); } int get weekdayOrdinal { - return _lib._objc_msgSend_83(this.pointer, _lib._sel_weekdayOrdinal1); + return _objc_msgSend_83(this.pointer, _sel_weekdayOrdinal); } set weekdayOrdinal(int value) { - return _lib._objc_msgSend_635( - this.pointer, - _lib._sel_setWeekdayOrdinal_1, - value, - ); + return _objc_msgSend_635(this.pointer, _sel_setWeekdayOrdinal_, value); } int get quarter { - return _lib._objc_msgSend_83(this.pointer, _lib._sel_quarter1); + return _objc_msgSend_83(this.pointer, _sel_quarter); } set quarter(int value) { - return _lib._objc_msgSend_635(this.pointer, _lib._sel_setQuarter_1, value); + return _objc_msgSend_635(this.pointer, _sel_setQuarter_, value); } int get weekOfMonth { - return _lib._objc_msgSend_83(this.pointer, _lib._sel_weekOfMonth1); + return _objc_msgSend_83(this.pointer, _sel_weekOfMonth); } set weekOfMonth(int value) { - return _lib._objc_msgSend_635( - this.pointer, - _lib._sel_setWeekOfMonth_1, - value, - ); + return _objc_msgSend_635(this.pointer, _sel_setWeekOfMonth_, value); } int get weekOfYear { - return _lib._objc_msgSend_83(this.pointer, _lib._sel_weekOfYear1); + return _objc_msgSend_83(this.pointer, _sel_weekOfYear); } set weekOfYear(int value) { - return _lib._objc_msgSend_635( - this.pointer, - _lib._sel_setWeekOfYear_1, - value, - ); + return _objc_msgSend_635(this.pointer, _sel_setWeekOfYear_, value); } int get yearForWeekOfYear { - return _lib._objc_msgSend_83(this.pointer, _lib._sel_yearForWeekOfYear1); + return _objc_msgSend_83(this.pointer, _sel_yearForWeekOfYear); } set yearForWeekOfYear(int value) { - return _lib._objc_msgSend_635( - this.pointer, - _lib._sel_setYearForWeekOfYear_1, - value, - ); + return _objc_msgSend_635(this.pointer, _sel_setYearForWeekOfYear_, value); } bool get leapMonth { - return _lib._objc_msgSend_12(this.pointer, _lib._sel_isLeapMonth1); + return _objc_msgSend_12(this.pointer, _sel_isLeapMonth); } set leapMonth(bool value) { - return _lib._objc_msgSend_527( - this.pointer, - _lib._sel_setLeapMonth_1, - value, - ); + return _objc_msgSend_527(this.pointer, _sel_setLeapMonth_, value); } NSDate? get date { - final _ret = _lib._objc_msgSend_183(this.pointer, _lib._sel_date1); + final _ret = _objc_msgSend_183(this.pointer, _sel_date); return _ret.address == 0 ? null - : NSDate._(_ret, _lib, retain: true, release: true); + : NSDate._(_ret, retain: true, release: true); } int week() { - return _lib._objc_msgSend_83(this.pointer, _lib._sel_week1); + return _objc_msgSend_83(this.pointer, _sel_week); } void setWeek_(int v) { - _lib._objc_msgSend_423(this.pointer, _lib._sel_setWeek_1, v); + _objc_msgSend_423(this.pointer, _sel_setWeek_, v); } void setValue_forComponent_(int value, int unit) { - _lib._objc_msgSend_775( - this.pointer, - _lib._sel_setValue_forComponent_1, - value, - unit, - ); + _objc_msgSend_775(this.pointer, _sel_setValue_forComponent_, value, unit); } int valueForComponent_(int unit) { - return _lib._objc_msgSend_776( - this.pointer, - _lib._sel_valueForComponent_1, - unit, - ); + return _objc_msgSend_776(this.pointer, _sel_valueForComponent_, unit); } bool get validDate { - return _lib._objc_msgSend_12(this.pointer, _lib._sel_isValidDate1); + return _objc_msgSend_12(this.pointer, _sel_isValidDate); } bool isValidDateInCalendar_(NSCalendar calendar) { - return _lib._objc_msgSend_777( - this.pointer, - _lib._sel_isValidDateInCalendar_1, - calendar.pointer, - ); + return _objc_msgSend_777( + this.pointer, _sel_isValidDateInCalendar_, calendar.pointer); } @override NSDateComponents init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSDateComponents._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSDateComponents._(_ret, retain: true, release: true); } - static NSDateComponents new1(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSDateComponents1, - _lib._sel_new1, - ); - return NSDateComponents._(_ret, _lib, retain: false, release: true); + static NSDateComponents new1() { + final _ret = _objc_msgSend_2(_class_NSDateComponents, _sel_new); + return NSDateComponents._(_ret, retain: false, release: true); } - static NSDateComponents allocWithZone_( - AVFAudio _lib, - ffi.Pointer<_NSZone> zone, - ) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSDateComponents1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSDateComponents._(_ret, _lib, retain: false, release: true); + static NSDateComponents allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = + _objc_msgSend_3(_class_NSDateComponents, _sel_allocWithZone_, zone); + return NSDateComponents._(_ret, retain: false, release: true); } - static NSDateComponents alloc(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSDateComponents1, - _lib._sel_alloc1, - ); - return NSDateComponents._(_ret, _lib, retain: false, release: true); + static NSDateComponents alloc() { + final _ret = _objc_msgSend_2(_class_NSDateComponents, _sel_alloc); + return NSDateComponents._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSDateComponents1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSDateComponents1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSDateComponents1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSDateComponents1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSDateComponents1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSDateComponents1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSDateComponents, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); } - static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSDateComponents1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSDateComponents1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSDateComponents1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSDateComponents, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); } -} + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSDateComponents, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSDateComponents, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSDateComponents, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSDateComponents, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); + } + + static void setKeys_triggerChangeNotificationsForDependentKey_( + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSDateComponents, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = _objc_msgSend_85( + _class_NSDateComponents, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = + _objc_msgSend_2(_class_NSDateComponents, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); + } +} + +late final _class_NSDateComponents = objc.getClass("NSDateComponents"); +late final _sel_calendar = objc.registerName("calendar"); +final _objc_msgSend_771 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_setCalendar_ = objc.registerName("setCalendar:"); +final _objc_msgSend_772 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +final _objc_msgSend_773 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +final _objc_msgSend_774 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_era = objc.registerName("era"); +late final _sel_setEra_ = objc.registerName("setEra:"); +late final _sel_year = objc.registerName("year"); +late final _sel_setYear_ = objc.registerName("setYear:"); +late final _sel_month = objc.registerName("month"); +late final _sel_setMonth_ = objc.registerName("setMonth:"); +late final _sel_day = objc.registerName("day"); +late final _sel_setDay_ = objc.registerName("setDay:"); +late final _sel_hour = objc.registerName("hour"); +late final _sel_setHour_ = objc.registerName("setHour:"); +late final _sel_minute = objc.registerName("minute"); +late final _sel_setMinute_ = objc.registerName("setMinute:"); +late final _sel_second = objc.registerName("second"); +late final _sel_setSecond_ = objc.registerName("setSecond:"); +late final _sel_nanosecond = objc.registerName("nanosecond"); +late final _sel_setNanosecond_ = objc.registerName("setNanosecond:"); +late final _sel_weekday = objc.registerName("weekday"); +late final _sel_setWeekday_ = objc.registerName("setWeekday:"); +late final _sel_weekdayOrdinal = objc.registerName("weekdayOrdinal"); +late final _sel_setWeekdayOrdinal_ = objc.registerName("setWeekdayOrdinal:"); +late final _sel_quarter = objc.registerName("quarter"); +late final _sel_setQuarter_ = objc.registerName("setQuarter:"); +late final _sel_weekOfMonth = objc.registerName("weekOfMonth"); +late final _sel_setWeekOfMonth_ = objc.registerName("setWeekOfMonth:"); +late final _sel_weekOfYear = objc.registerName("weekOfYear"); +late final _sel_setWeekOfYear_ = objc.registerName("setWeekOfYear:"); +late final _sel_yearForWeekOfYear = objc.registerName("yearForWeekOfYear"); +late final _sel_setYearForWeekOfYear_ = + objc.registerName("setYearForWeekOfYear:"); +late final _sel_isLeapMonth = objc.registerName("isLeapMonth"); +late final _sel_setLeapMonth_ = objc.registerName("setLeapMonth:"); +late final _sel_week = objc.registerName("week"); +late final _sel_setWeek_ = objc.registerName("setWeek:"); +late final _sel_setValue_forComponent_ = + objc.registerName("setValue:forComponent:"); +final _objc_msgSend_775 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Long value, + ffi.Int32 unit)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, int, int)>(); +late final _sel_valueForComponent_ = objc.registerName("valueForComponent:"); +final _objc_msgSend_776 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Long Function(ffi.Pointer obj, + ffi.Pointer sel, ffi.Int32 unit)>>() + .asFunction< + int Function(ffi.Pointer, + ffi.Pointer, int)>(); +late final _sel_isValidDate = objc.registerName("isValidDate"); +late final _sel_isValidDateInCalendar_ = + objc.registerName("isValidDateInCalendar:"); +final _objc_msgSend_777 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer calendar)>>() + .asFunction< + bool Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_dateFromComponents_ = objc.registerName("dateFromComponents:"); +final _objc_msgSend_778 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer comps)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_components_fromDate_ = + objc.registerName("components:fromDate:"); +final _objc_msgSend_779 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Int32 unitFlags, + ffi.Pointer date)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer)>(); abstract class NSCalendarOptions { static const int NSCalendarWrapComponents = 1; @@ -73571,20 +38455,277 @@ abstract class NSCalendarOptions { static const int NSCalendarMatchLast = 8192; } +late final _sel_dateByAddingComponents_toDate_options_ = + objc.registerName("dateByAddingComponents:toDate:options:"); +final _objc_msgSend_780 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer comps, + ffi.Pointer date, + ffi.Int32 opts)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int)>(); +late final _sel_components_fromDate_toDate_options_ = + objc.registerName("components:fromDate:toDate:options:"); +final _objc_msgSend_781 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Int32 unitFlags, + ffi.Pointer startingDate, + ffi.Pointer resultDate, + ffi.Int32 opts)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ffi.Pointer, + int)>(); +late final _sel_getEra_year_month_day_fromDate_ = + objc.registerName("getEra:year:month:day:fromDate:"); +final _objc_msgSend_782 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer eraValuePointer, + ffi.Pointer yearValuePointer, + ffi.Pointer monthValuePointer, + ffi.Pointer dayValuePointer, + ffi.Pointer date)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_getEra_yearForWeekOfYear_weekOfYear_weekday_fromDate_ = + objc.registerName("getEra:yearForWeekOfYear:weekOfYear:weekday:fromDate:"); +late final _sel_getHour_minute_second_nanosecond_fromDate_ = + objc.registerName("getHour:minute:second:nanosecond:fromDate:"); +late final _sel_component_fromDate_ = objc.registerName("component:fromDate:"); +final _objc_msgSend_783 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Long Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Int32 unit, + ffi.Pointer date)>>() + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer)>(); +late final _sel_dateWithEra_year_month_day_hour_minute_second_nanosecond_ = objc + .registerName("dateWithEra:year:month:day:hour:minute:second:nanosecond:"); +final _objc_msgSend_784 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Long eraValue, + ffi.Long yearValue, + ffi.Long monthValue, + ffi.Long dayValue, + ffi.Long hourValue, + ffi.Long minuteValue, + ffi.Long secondValue, + ffi.Long nanosecondValue)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + int, + int, + int, + int, + int, + int, + int)>(); +late final _sel_dateWithEra_yearForWeekOfYear_weekOfYear_weekday_hour_minute_second_nanosecond_ = + objc.registerName( + "dateWithEra:yearForWeekOfYear:weekOfYear:weekday:hour:minute:second:nanosecond:"); +late final _sel_startOfDayForDate_ = objc.registerName("startOfDayForDate:"); +late final _sel_componentsInTimeZone_fromDate_ = + objc.registerName("componentsInTimeZone:fromDate:"); +final _objc_msgSend_785 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer timezone, + ffi.Pointer date)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_compareDate_toDate_toUnitGranularity_ = + objc.registerName("compareDate:toDate:toUnitGranularity:"); +final _objc_msgSend_786 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer date1, + ffi.Pointer date2, + ffi.Int32 unit)>>() + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int)>(); +late final _sel_isDate_equalToDate_toUnitGranularity_ = + objc.registerName("isDate:equalToDate:toUnitGranularity:"); +final _objc_msgSend_787 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer date1, + ffi.Pointer date2, + ffi.Int32 unit)>>() + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int)>(); +late final _sel_isDate_inSameDayAsDate_ = + objc.registerName("isDate:inSameDayAsDate:"); +final _objc_msgSend_788 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer date1, + ffi.Pointer date2)>>() + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_isDateInToday_ = objc.registerName("isDateInToday:"); +late final _sel_isDateInYesterday_ = objc.registerName("isDateInYesterday:"); +late final _sel_isDateInTomorrow_ = objc.registerName("isDateInTomorrow:"); +late final _sel_isDateInWeekend_ = objc.registerName("isDateInWeekend:"); +late final _sel_rangeOfWeekendStartDate_interval_containingDate_ = + objc.registerName("rangeOfWeekendStartDate:interval:containingDate:"); +final _objc_msgSend_789 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer> datep, + ffi.Pointer tip, + ffi.Pointer date)>>() + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_nextWeekendStartDate_interval_options_afterDate_ = + objc.registerName("nextWeekendStartDate:interval:options:afterDate:"); +final _objc_msgSend_790 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer> datep, + ffi.Pointer tip, + ffi.Int32 options, + ffi.Pointer date)>>() + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer, + int, + ffi.Pointer)>(); +late final _sel_components_fromDateComponents_toDateComponents_options_ = objc + .registerName("components:fromDateComponents:toDateComponents:options:"); +final _objc_msgSend_791 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Int32 unitFlags, + ffi.Pointer startingDateComp, + ffi.Pointer resultDateComp, + ffi.Int32 options)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ffi.Pointer, + int)>(); +late final _sel_dateByAddingUnit_value_toDate_options_ = + objc.registerName("dateByAddingUnit:value:toDate:options:"); +final _objc_msgSend_792 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Int32 unit, + ffi.Long value, + ffi.Pointer date, + ffi.Int32 options)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + int, + ffi.Pointer, + int)>(); void _ObjCBlock_ffiVoid_NSDate_bool_bool_fnPtrTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, - bool arg1, - ffi.Pointer arg2, -) => + ffi.Pointer block, + ffi.Pointer arg0, + bool arg1, + ffi.Pointer arg2) => block.ref.target .cast< ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.Bool arg1, - ffi.Pointer arg2, - )>>() + ffi.Void Function(ffi.Pointer arg0, + ffi.Bool arg1, ffi.Pointer arg2)>>() .asFunction< void Function(ffi.Pointer, bool, ffi.Pointer)>()(arg0, arg1, arg2); @@ -73592,45 +38733,33 @@ final _ObjCBlock_ffiVoid_NSDate_bool_bool_closureRegistry = , bool, ffi.Pointer)>{}; int _ObjCBlock_ffiVoid_NSDate_bool_bool_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_ffiVoid_NSDate_bool_bool_registerClosure( - void Function(ffi.Pointer, bool, ffi.Pointer) fn, -) { + void Function(ffi.Pointer, bool, ffi.Pointer) + fn) { final id = ++_ObjCBlock_ffiVoid_NSDate_bool_bool_closureRegistryIndex; _ObjCBlock_ffiVoid_NSDate_bool_bool_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } void _ObjCBlock_ffiVoid_NSDate_bool_bool_closureTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, - bool arg1, - ffi.Pointer arg2, -) => + ffi.Pointer block, + ffi.Pointer arg0, + bool arg1, + ffi.Pointer arg2) => _ObjCBlock_ffiVoid_NSDate_bool_bool_closureRegistry[ block.ref.target.address]!(arg0, arg1, arg2); class ObjCBlock_ffiVoid_NSDate_bool_bool extends objc.ObjCBlockBase { - ObjCBlock_ffiVoid_NSDate_bool_bool._( - ffi.Pointer pointer, - this._lib, { - bool retain = false, - bool release = true, - }) : super(pointer, retain: retain, release: release); - - AVFAudio _lib; + ObjCBlock_ffiVoid_NSDate_bool_bool._(ffi.Pointer pointer, + {bool retain = false, bool release = true}) + : super(pointer, retain: retain, release: release); /// Returns a block that wraps the given raw block pointer. static ObjCBlock_ffiVoid_NSDate_bool_bool castFromPointer( - AVFAudio lib, - ffi.Pointer pointer, { - bool retain = false, - bool release = false, - }) { - return ObjCBlock_ffiVoid_NSDate_bool_bool._( - pointer, - lib, - retain: retain, - release: release, - ); + ffi.Pointer pointer, + {bool retain = false, + bool release = false}) { + return ObjCBlock_ffiVoid_NSDate_bool_bool._(pointer, + retain: retain, release: release); } /// Creates a block from a C function pointer. @@ -73639,28 +38768,21 @@ class ObjCBlock_ffiVoid_NSDate_bool_bool extends objc.ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSDate_bool_bool.fromFunctionPointer( - AVFAudio lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.Bool arg1, - ffi.Pointer arg2, - )>> - ptr, - ) : this._( - objc.newBlock( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - ffi.Pointer, - )>(_ObjCBlock_ffiVoid_NSDate_bool_bool_fnPtrTrampoline) - .cast(), - ptr.cast(), - ), - lib); + ffi.Pointer< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer arg0, + ffi.Bool arg1, ffi.Pointer arg2)>> + ptr) + : this._(objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.Pointer)>( + _ObjCBlock_ffiVoid_NSDate_bool_bool_fnPtrTrampoline) + .cast(), + ptr.cast())); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -73669,32 +38791,20 @@ class ObjCBlock_ffiVoid_NSDate_bool_bool extends objc.ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSDate_bool_bool.fromFunction( - AVFAudio lib, - void Function(NSDate?, bool, ffi.Pointer) fn, - ) : this._( - objc.newBlock( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - ffi.Pointer, - )>(_ObjCBlock_ffiVoid_NSDate_bool_bool_closureTrampoline) - .cast(), - _ObjCBlock_ffiVoid_NSDate_bool_bool_registerClosure(( - ffi.Pointer arg0, - bool arg1, - ffi.Pointer arg2, - ) => - fn( - arg0.address == 0 - ? null - : NSDate._(arg0, lib, retain: true, release: true), - arg1, - arg2, - )), - ), - lib); + void Function(NSDate?, bool, ffi.Pointer) fn) + : this._(objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.Pointer)>( + _ObjCBlock_ffiVoid_NSDate_bool_bool_closureTrampoline) + .cast(), + _ObjCBlock_ffiVoid_NSDate_bool_bool_registerClosure( + (ffi.Pointer arg0, bool arg1, + ffi.Pointer arg2) => + fn(arg0.address == 0 ? null : NSDate._(arg0, retain: true, release: true), arg1, arg2)))); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -73707,1229 +38817,1073 @@ class ObjCBlock_ffiVoid_NSDate_bool_bool extends objc.ObjCBlockBase { /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. ObjCBlock_ffiVoid_NSDate_bool_bool.listener( - AVFAudio lib, - void Function(NSDate?, bool, ffi.Pointer) fn, - ) : this._( - objc.newBlock( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - ffi.Pointer, - )>.listener( - _ObjCBlock_ffiVoid_NSDate_bool_bool_closureTrampoline, - )..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSDate_bool_bool_registerClosure(( - ffi.Pointer arg0, - bool arg1, - ffi.Pointer arg2, - ) => - fn( - arg0.address == 0 - ? null - : NSDate._(arg0, lib, retain: true, release: true), - arg1, - arg2, - )), - ), - lib); + void Function(NSDate?, bool, ffi.Pointer) fn) + : this._(objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.Pointer)>.listener( + _ObjCBlock_ffiVoid_NSDate_bool_bool_closureTrampoline) + ..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSDate_bool_bool_registerClosure( + (ffi.Pointer arg0, bool arg1, + ffi.Pointer arg2) => + fn(arg0.address == 0 ? null : NSDate._(arg0, retain: true, release: true), arg1, arg2)))); static ffi.NativeCallable< ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - ffi.Pointer, - )>? _dartFuncListenerTrampoline; + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.Pointer)>? _dartFuncListenerTrampoline; void call(NSDate? arg0, bool arg1, ffi.Pointer arg2) => pointer.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Bool arg1, - ffi.Pointer arg2, - )>>() - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - bool, - ffi.Pointer, - )>()(pointer, arg0?.pointer ?? ffi.nullptr, arg1, arg2); -} + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Bool arg1, + ffi.Pointer arg2)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + bool, + ffi.Pointer)>()( + pointer, arg0?.pointer ?? ffi.nullptr, arg1, arg2); +} + +late final _sel_enumerateDatesStartingAfterDate_matchingComponents_options_usingBlock_ = + objc.registerName( + "enumerateDatesStartingAfterDate:matchingComponents:options:usingBlock:"); +final _objc_msgSend_793 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer start, + ffi.Pointer comps, + ffi.Int32 opts, + ffi.Pointer block)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer)>(); +late final _sel_nextDateAfterDate_matchingComponents_options_ = + objc.registerName("nextDateAfterDate:matchingComponents:options:"); +final _objc_msgSend_794 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer date, + ffi.Pointer comps, + ffi.Int32 options)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int)>(); +late final _sel_nextDateAfterDate_matchingUnit_value_options_ = + objc.registerName("nextDateAfterDate:matchingUnit:value:options:"); +final _objc_msgSend_795 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer date, + ffi.Int32 unit, + ffi.Long value, + ffi.Int32 options)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + int, + int)>(); +late final _sel_nextDateAfterDate_matchingHour_minute_second_options_ = + objc.registerName("nextDateAfterDate:matchingHour:minute:second:options:"); +final _objc_msgSend_796 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer date, + ffi.Long hourValue, + ffi.Long minuteValue, + ffi.Long secondValue, + ffi.Int32 options)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + int, + int, + int)>(); +late final _sel_dateBySettingUnit_value_ofDate_options_ = + objc.registerName("dateBySettingUnit:value:ofDate:options:"); +late final _sel_dateBySettingHour_minute_second_ofDate_options_ = + objc.registerName("dateBySettingHour:minute:second:ofDate:options:"); +final _objc_msgSend_797 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Long h, + ffi.Long m, + ffi.Long s, + ffi.Pointer date, + ffi.Int32 opts)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + int, + int, + ffi.Pointer, + int)>(); +late final _sel_date_matchesComponents_ = + objc.registerName("date:matchesComponents:"); +final _objc_msgSend_798 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer date, + ffi.Pointer components)>>() + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +final _objc_msgSend_799 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_isLenient = objc.registerName("isLenient"); +late final _sel_setLenient_ = objc.registerName("setLenient:"); +late final _sel_twoDigitStartDate = objc.registerName("twoDigitStartDate"); +late final _sel_setTwoDigitStartDate_ = + objc.registerName("setTwoDigitStartDate:"); +final _objc_msgSend_800 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_defaultDate = objc.registerName("defaultDate"); +late final _sel_setDefaultDate_ = objc.registerName("setDefaultDate:"); +late final _sel_setEraSymbols_ = objc.registerName("setEraSymbols:"); +final _objc_msgSend_801 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_setMonthSymbols_ = objc.registerName("setMonthSymbols:"); +late final _sel_setShortMonthSymbols_ = + objc.registerName("setShortMonthSymbols:"); +late final _sel_setWeekdaySymbols_ = objc.registerName("setWeekdaySymbols:"); +late final _sel_setShortWeekdaySymbols_ = + objc.registerName("setShortWeekdaySymbols:"); +late final _sel_setAMSymbol_ = objc.registerName("setAMSymbol:"); +late final _sel_setPMSymbol_ = objc.registerName("setPMSymbol:"); +late final _sel_setLongEraSymbols_ = objc.registerName("setLongEraSymbols:"); +late final _sel_setVeryShortMonthSymbols_ = + objc.registerName("setVeryShortMonthSymbols:"); +late final _sel_setStandaloneMonthSymbols_ = + objc.registerName("setStandaloneMonthSymbols:"); +late final _sel_setShortStandaloneMonthSymbols_ = + objc.registerName("setShortStandaloneMonthSymbols:"); +late final _sel_setVeryShortStandaloneMonthSymbols_ = + objc.registerName("setVeryShortStandaloneMonthSymbols:"); +late final _sel_setVeryShortWeekdaySymbols_ = + objc.registerName("setVeryShortWeekdaySymbols:"); +late final _sel_setStandaloneWeekdaySymbols_ = + objc.registerName("setStandaloneWeekdaySymbols:"); +late final _sel_setShortStandaloneWeekdaySymbols_ = + objc.registerName("setShortStandaloneWeekdaySymbols:"); +late final _sel_setVeryShortStandaloneWeekdaySymbols_ = + objc.registerName("setVeryShortStandaloneWeekdaySymbols:"); +late final _sel_setQuarterSymbols_ = objc.registerName("setQuarterSymbols:"); +late final _sel_setShortQuarterSymbols_ = + objc.registerName("setShortQuarterSymbols:"); +late final _sel_setStandaloneQuarterSymbols_ = + objc.registerName("setStandaloneQuarterSymbols:"); +late final _sel_setShortStandaloneQuarterSymbols_ = + objc.registerName("setShortStandaloneQuarterSymbols:"); +late final _sel_gregorianStartDate = objc.registerName("gregorianStartDate"); +late final _sel_setGregorianStartDate_ = + objc.registerName("setGregorianStartDate:"); +late final _sel_doesRelativeDateFormatting = + objc.registerName("doesRelativeDateFormatting"); +late final _sel_setDoesRelativeDateFormatting_ = + objc.registerName("setDoesRelativeDateFormatting:"); +late final _sel_initWithDateFormat_allowNaturalLanguage_ = + objc.registerName("initWithDateFormat:allowNaturalLanguage:"); +late final _sel_allowsNaturalLanguage = + objc.registerName("allowsNaturalLanguage"); class NSNumberFormatter extends NSFormatter { - NSNumberFormatter._( - ffi.Pointer pointer, - AVFAudio lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSNumberFormatter._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSNumberFormatter] that points to the same underlying object as [other]. - static NSNumberFormatter castFrom( - AVFAudio lib, - T other, - ) { - return NSNumberFormatter._(other.pointer, lib, retain: true, release: true); + static NSNumberFormatter castFrom(T other) { + return NSNumberFormatter._(other.pointer, retain: true, release: true); } /// Returns a [NSNumberFormatter] that wraps the given raw object pointer. - static NSNumberFormatter castFromPointer( - AVFAudio lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSNumberFormatter._(other, lib, retain: retain, release: release); + static NSNumberFormatter castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSNumberFormatter._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSNumberFormatter]. - static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSNumberFormatter1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0( + obj.pointer, _sel_isKindOfClass_, _class_NSNumberFormatter); } int get formattingContext { - return _lib._objc_msgSend_752(this.pointer, _lib._sel_formattingContext1); + return _objc_msgSend_752(this.pointer, _sel_formattingContext); } set formattingContext(int value) { - return _lib._objc_msgSend_753( - this.pointer, - _lib._sel_setFormattingContext_1, - value, - ); + return _objc_msgSend_753(this.pointer, _sel_setFormattingContext_, value); } bool getObjectValue_forString_range_error_( - ffi.Pointer> obj, - NSString string, - ffi.Pointer<_NSRange> rangep, - ffi.Pointer> error, - ) { - return _lib._objc_msgSend_754( - this.pointer, - _lib._sel_getObjectValue_forString_range_error_1, - obj, - string.pointer, - rangep, - error, - ); + ffi.Pointer> obj, + NSString string, + ffi.Pointer<_NSRange> rangep, + ffi.Pointer> error) { + return _objc_msgSend_754( + this.pointer, + _sel_getObjectValue_forString_range_error_, + obj, + string.pointer, + rangep, + error); } NSString? stringFromNumber_(NSNumber number) { - final _ret = _lib._objc_msgSend_802( - this.pointer, - _lib._sel_stringFromNumber_1, - number.pointer, - ); + final _ret = + _objc_msgSend_802(this.pointer, _sel_stringFromNumber_, number.pointer); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } NSNumber? numberFromString_(NSString string) { - final _ret = _lib._objc_msgSend_803( - this.pointer, - _lib._sel_numberFromString_1, - string.pointer, - ); + final _ret = + _objc_msgSend_803(this.pointer, _sel_numberFromString_, string.pointer); return _ret.address == 0 ? null - : NSNumber._(_ret, _lib, retain: true, release: true); + : NSNumber._(_ret, retain: true, release: true); } static NSString localizedStringFromNumber_numberStyle_( - AVFAudio _lib, - NSNumber num, - int nstyle, - ) { - final _ret = _lib._objc_msgSend_804( - _lib._class_NSNumberFormatter1, - _lib._sel_localizedStringFromNumber_numberStyle_1, - num.pointer, - nstyle, - ); - return NSString._(_ret, _lib, retain: true, release: true); - } - - static int defaultFormatterBehavior(AVFAudio _lib) { - return _lib._objc_msgSend_805( - _lib._class_NSNumberFormatter1, - _lib._sel_defaultFormatterBehavior1, - ); - } - - static void setDefaultFormatterBehavior_(AVFAudio _lib, int behavior) { - _lib._objc_msgSend_806( - _lib._class_NSNumberFormatter1, - _lib._sel_setDefaultFormatterBehavior_1, - behavior, - ); + NSNumber num, int nstyle) { + final _ret = _objc_msgSend_804(_class_NSNumberFormatter, + _sel_localizedStringFromNumber_numberStyle_, num.pointer, nstyle); + return NSString._(_ret, retain: true, release: true); + } + + static int defaultFormatterBehavior() { + return _objc_msgSend_805( + _class_NSNumberFormatter, _sel_defaultFormatterBehavior); + } + + static void setDefaultFormatterBehavior_(int behavior) { + _objc_msgSend_806( + _class_NSNumberFormatter, _sel_setDefaultFormatterBehavior_, behavior); } int get numberStyle { - return _lib._objc_msgSend_807(this.pointer, _lib._sel_numberStyle1); + return _objc_msgSend_807(this.pointer, _sel_numberStyle); } set numberStyle(int value) { - return _lib._objc_msgSend_808( - this.pointer, - _lib._sel_setNumberStyle_1, - value, - ); + return _objc_msgSend_808(this.pointer, _sel_setNumberStyle_, value); } NSLocale get locale { - final _ret = _lib._objc_msgSend_197(this.pointer, _lib._sel_locale1); - return NSLocale._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_197(this.pointer, _sel_locale); + return NSLocale._(_ret, retain: true, release: true); } set locale(NSLocale value) { - return _lib._objc_msgSend_762( - this.pointer, - _lib._sel_setLocale_1, - value.pointer, - ); + return _objc_msgSend_762(this.pointer, _sel_setLocale_, value.pointer); } bool get generatesDecimalNumbers { - return _lib._objc_msgSend_12( - this.pointer, - _lib._sel_generatesDecimalNumbers1, - ); + return _objc_msgSend_12(this.pointer, _sel_generatesDecimalNumbers); } set generatesDecimalNumbers(bool value) { - return _lib._objc_msgSend_527( - this.pointer, - _lib._sel_setGeneratesDecimalNumbers_1, - value, - ); + return _objc_msgSend_527( + this.pointer, _sel_setGeneratesDecimalNumbers_, value); } int get formatterBehavior { - return _lib._objc_msgSend_805(this.pointer, _lib._sel_formatterBehavior1); + return _objc_msgSend_805(this.pointer, _sel_formatterBehavior); } set formatterBehavior(int value) { - return _lib._objc_msgSend_809( - this.pointer, - _lib._sel_setFormatterBehavior_1, - value, - ); + return _objc_msgSend_809(this.pointer, _sel_setFormatterBehavior_, value); } NSString get negativeFormat { - final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_negativeFormat1); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_negativeFormat); + return NSString._(_ret, retain: true, release: true); } set negativeFormat(NSString value) { - return _lib._objc_msgSend_646( - this.pointer, - _lib._sel_setNegativeFormat_1, - value.pointer, - ); + return _objc_msgSend_646( + this.pointer, _sel_setNegativeFormat_, value.pointer); } NSDictionary? get textAttributesForNegativeValues { - final _ret = _lib._objc_msgSend_390( - this.pointer, - _lib._sel_textAttributesForNegativeValues1, - ); + final _ret = + _objc_msgSend_390(this.pointer, _sel_textAttributesForNegativeValues); return _ret.address == 0 ? null - : NSDictionary._(_ret, _lib, retain: true, release: true); + : NSDictionary._(_ret, retain: true, release: true); } set textAttributesForNegativeValues(NSDictionary? value) { - return _lib._objc_msgSend_634( - this.pointer, - _lib._sel_setTextAttributesForNegativeValues_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_634( + this.pointer, + _sel_setTextAttributesForNegativeValues_, + value?.pointer ?? ffi.nullptr); } NSString get positiveFormat { - final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_positiveFormat1); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_positiveFormat); + return NSString._(_ret, retain: true, release: true); } set positiveFormat(NSString value) { - return _lib._objc_msgSend_646( - this.pointer, - _lib._sel_setPositiveFormat_1, - value.pointer, - ); + return _objc_msgSend_646( + this.pointer, _sel_setPositiveFormat_, value.pointer); } NSDictionary? get textAttributesForPositiveValues { - final _ret = _lib._objc_msgSend_390( - this.pointer, - _lib._sel_textAttributesForPositiveValues1, - ); + final _ret = + _objc_msgSend_390(this.pointer, _sel_textAttributesForPositiveValues); return _ret.address == 0 ? null - : NSDictionary._(_ret, _lib, retain: true, release: true); + : NSDictionary._(_ret, retain: true, release: true); } set textAttributesForPositiveValues(NSDictionary? value) { - return _lib._objc_msgSend_634( - this.pointer, - _lib._sel_setTextAttributesForPositiveValues_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_634( + this.pointer, + _sel_setTextAttributesForPositiveValues_, + value?.pointer ?? ffi.nullptr); } bool get allowsFloats { - return _lib._objc_msgSend_12(this.pointer, _lib._sel_allowsFloats1); + return _objc_msgSend_12(this.pointer, _sel_allowsFloats); } set allowsFloats(bool value) { - return _lib._objc_msgSend_527( - this.pointer, - _lib._sel_setAllowsFloats_1, - value, - ); + return _objc_msgSend_527(this.pointer, _sel_setAllowsFloats_, value); } NSString get decimalSeparator { - final _ret = _lib._objc_msgSend_21( - this.pointer, - _lib._sel_decimalSeparator1, - ); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_decimalSeparator); + return NSString._(_ret, retain: true, release: true); } set decimalSeparator(NSString value) { - return _lib._objc_msgSend_646( - this.pointer, - _lib._sel_setDecimalSeparator_1, - value.pointer, - ); + return _objc_msgSend_646( + this.pointer, _sel_setDecimalSeparator_, value.pointer); } bool get alwaysShowsDecimalSeparator { - return _lib._objc_msgSend_12( - this.pointer, - _lib._sel_alwaysShowsDecimalSeparator1, - ); + return _objc_msgSend_12(this.pointer, _sel_alwaysShowsDecimalSeparator); } set alwaysShowsDecimalSeparator(bool value) { - return _lib._objc_msgSend_527( - this.pointer, - _lib._sel_setAlwaysShowsDecimalSeparator_1, - value, - ); + return _objc_msgSend_527( + this.pointer, _sel_setAlwaysShowsDecimalSeparator_, value); } NSString get currencyDecimalSeparator { - final _ret = _lib._objc_msgSend_21( - this.pointer, - _lib._sel_currencyDecimalSeparator1, - ); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_currencyDecimalSeparator); + return NSString._(_ret, retain: true, release: true); } set currencyDecimalSeparator(NSString value) { - return _lib._objc_msgSend_646( - this.pointer, - _lib._sel_setCurrencyDecimalSeparator_1, - value.pointer, - ); + return _objc_msgSend_646( + this.pointer, _sel_setCurrencyDecimalSeparator_, value.pointer); } bool get usesGroupingSeparator { - return _lib._objc_msgSend_12( - this.pointer, - _lib._sel_usesGroupingSeparator1, - ); + return _objc_msgSend_12(this.pointer, _sel_usesGroupingSeparator); } set usesGroupingSeparator(bool value) { - return _lib._objc_msgSend_527( - this.pointer, - _lib._sel_setUsesGroupingSeparator_1, - value, - ); + return _objc_msgSend_527( + this.pointer, _sel_setUsesGroupingSeparator_, value); } NSString get groupingSeparator { - final _ret = _lib._objc_msgSend_21( - this.pointer, - _lib._sel_groupingSeparator1, - ); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_groupingSeparator); + return NSString._(_ret, retain: true, release: true); } set groupingSeparator(NSString value) { - return _lib._objc_msgSend_646( - this.pointer, - _lib._sel_setGroupingSeparator_1, - value.pointer, - ); + return _objc_msgSend_646( + this.pointer, _sel_setGroupingSeparator_, value.pointer); } NSString? get zeroSymbol { - final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_zeroSymbol1); + final _ret = _objc_msgSend_44(this.pointer, _sel_zeroSymbol); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } set zeroSymbol(NSString? value) { - return _lib._objc_msgSend_545( - this.pointer, - _lib._sel_setZeroSymbol_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_545( + this.pointer, _sel_setZeroSymbol_, value?.pointer ?? ffi.nullptr); } NSDictionary? get textAttributesForZero { - final _ret = _lib._objc_msgSend_390( - this.pointer, - _lib._sel_textAttributesForZero1, - ); + final _ret = _objc_msgSend_390(this.pointer, _sel_textAttributesForZero); return _ret.address == 0 ? null - : NSDictionary._(_ret, _lib, retain: true, release: true); + : NSDictionary._(_ret, retain: true, release: true); } set textAttributesForZero(NSDictionary? value) { - return _lib._objc_msgSend_634( - this.pointer, - _lib._sel_setTextAttributesForZero_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_634(this.pointer, _sel_setTextAttributesForZero_, + value?.pointer ?? ffi.nullptr); } NSString get nilSymbol { - final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_nilSymbol1); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_nilSymbol); + return NSString._(_ret, retain: true, release: true); } set nilSymbol(NSString value) { - return _lib._objc_msgSend_646( - this.pointer, - _lib._sel_setNilSymbol_1, - value.pointer, - ); + return _objc_msgSend_646(this.pointer, _sel_setNilSymbol_, value.pointer); } NSDictionary? get textAttributesForNil { - final _ret = _lib._objc_msgSend_390( - this.pointer, - _lib._sel_textAttributesForNil1, - ); + final _ret = _objc_msgSend_390(this.pointer, _sel_textAttributesForNil); return _ret.address == 0 ? null - : NSDictionary._(_ret, _lib, retain: true, release: true); + : NSDictionary._(_ret, retain: true, release: true); } set textAttributesForNil(NSDictionary? value) { - return _lib._objc_msgSend_634( - this.pointer, - _lib._sel_setTextAttributesForNil_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_634(this.pointer, _sel_setTextAttributesForNil_, + value?.pointer ?? ffi.nullptr); } NSString get notANumberSymbol { - final _ret = _lib._objc_msgSend_21( - this.pointer, - _lib._sel_notANumberSymbol1, - ); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_notANumberSymbol); + return NSString._(_ret, retain: true, release: true); } set notANumberSymbol(NSString value) { - return _lib._objc_msgSend_646( - this.pointer, - _lib._sel_setNotANumberSymbol_1, - value.pointer, - ); + return _objc_msgSend_646( + this.pointer, _sel_setNotANumberSymbol_, value.pointer); } NSDictionary? get textAttributesForNotANumber { - final _ret = _lib._objc_msgSend_390( - this.pointer, - _lib._sel_textAttributesForNotANumber1, - ); + final _ret = + _objc_msgSend_390(this.pointer, _sel_textAttributesForNotANumber); return _ret.address == 0 ? null - : NSDictionary._(_ret, _lib, retain: true, release: true); + : NSDictionary._(_ret, retain: true, release: true); } set textAttributesForNotANumber(NSDictionary? value) { - return _lib._objc_msgSend_634( - this.pointer, - _lib._sel_setTextAttributesForNotANumber_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_634(this.pointer, _sel_setTextAttributesForNotANumber_, + value?.pointer ?? ffi.nullptr); } NSString get positiveInfinitySymbol { - final _ret = _lib._objc_msgSend_21( - this.pointer, - _lib._sel_positiveInfinitySymbol1, - ); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_positiveInfinitySymbol); + return NSString._(_ret, retain: true, release: true); } set positiveInfinitySymbol(NSString value) { - return _lib._objc_msgSend_646( - this.pointer, - _lib._sel_setPositiveInfinitySymbol_1, - value.pointer, - ); + return _objc_msgSend_646( + this.pointer, _sel_setPositiveInfinitySymbol_, value.pointer); } NSDictionary? get textAttributesForPositiveInfinity { - final _ret = _lib._objc_msgSend_390( - this.pointer, - _lib._sel_textAttributesForPositiveInfinity1, - ); + final _ret = + _objc_msgSend_390(this.pointer, _sel_textAttributesForPositiveInfinity); return _ret.address == 0 ? null - : NSDictionary._(_ret, _lib, retain: true, release: true); + : NSDictionary._(_ret, retain: true, release: true); } set textAttributesForPositiveInfinity(NSDictionary? value) { - return _lib._objc_msgSend_634( - this.pointer, - _lib._sel_setTextAttributesForPositiveInfinity_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_634( + this.pointer, + _sel_setTextAttributesForPositiveInfinity_, + value?.pointer ?? ffi.nullptr); } NSString get negativeInfinitySymbol { - final _ret = _lib._objc_msgSend_21( - this.pointer, - _lib._sel_negativeInfinitySymbol1, - ); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_negativeInfinitySymbol); + return NSString._(_ret, retain: true, release: true); } set negativeInfinitySymbol(NSString value) { - return _lib._objc_msgSend_646( - this.pointer, - _lib._sel_setNegativeInfinitySymbol_1, - value.pointer, - ); + return _objc_msgSend_646( + this.pointer, _sel_setNegativeInfinitySymbol_, value.pointer); } NSDictionary? get textAttributesForNegativeInfinity { - final _ret = _lib._objc_msgSend_390( - this.pointer, - _lib._sel_textAttributesForNegativeInfinity1, - ); + final _ret = + _objc_msgSend_390(this.pointer, _sel_textAttributesForNegativeInfinity); return _ret.address == 0 ? null - : NSDictionary._(_ret, _lib, retain: true, release: true); + : NSDictionary._(_ret, retain: true, release: true); } set textAttributesForNegativeInfinity(NSDictionary? value) { - return _lib._objc_msgSend_634( - this.pointer, - _lib._sel_setTextAttributesForNegativeInfinity_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_634( + this.pointer, + _sel_setTextAttributesForNegativeInfinity_, + value?.pointer ?? ffi.nullptr); } NSString get positivePrefix { - final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_positivePrefix1); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_positivePrefix); + return NSString._(_ret, retain: true, release: true); } set positivePrefix(NSString value) { - return _lib._objc_msgSend_646( - this.pointer, - _lib._sel_setPositivePrefix_1, - value.pointer, - ); + return _objc_msgSend_646( + this.pointer, _sel_setPositivePrefix_, value.pointer); } NSString get positiveSuffix { - final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_positiveSuffix1); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_positiveSuffix); + return NSString._(_ret, retain: true, release: true); } set positiveSuffix(NSString value) { - return _lib._objc_msgSend_646( - this.pointer, - _lib._sel_setPositiveSuffix_1, - value.pointer, - ); + return _objc_msgSend_646( + this.pointer, _sel_setPositiveSuffix_, value.pointer); } NSString get negativePrefix { - final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_negativePrefix1); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_negativePrefix); + return NSString._(_ret, retain: true, release: true); } set negativePrefix(NSString value) { - return _lib._objc_msgSend_646( - this.pointer, - _lib._sel_setNegativePrefix_1, - value.pointer, - ); + return _objc_msgSend_646( + this.pointer, _sel_setNegativePrefix_, value.pointer); } NSString get negativeSuffix { - final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_negativeSuffix1); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_negativeSuffix); + return NSString._(_ret, retain: true, release: true); } set negativeSuffix(NSString value) { - return _lib._objc_msgSend_646( - this.pointer, - _lib._sel_setNegativeSuffix_1, - value.pointer, - ); + return _objc_msgSend_646( + this.pointer, _sel_setNegativeSuffix_, value.pointer); } NSString get currencyCode { - final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_currencyCode1); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_currencyCode); + return NSString._(_ret, retain: true, release: true); } set currencyCode(NSString value) { - return _lib._objc_msgSend_646( - this.pointer, - _lib._sel_setCurrencyCode_1, - value.pointer, - ); + return _objc_msgSend_646( + this.pointer, _sel_setCurrencyCode_, value.pointer); } NSString get currencySymbol { - final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_currencySymbol1); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_currencySymbol); + return NSString._(_ret, retain: true, release: true); } set currencySymbol(NSString value) { - return _lib._objc_msgSend_646( - this.pointer, - _lib._sel_setCurrencySymbol_1, - value.pointer, - ); + return _objc_msgSend_646( + this.pointer, _sel_setCurrencySymbol_, value.pointer); } NSString get internationalCurrencySymbol { - final _ret = _lib._objc_msgSend_21( - this.pointer, - _lib._sel_internationalCurrencySymbol1, - ); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_21(this.pointer, _sel_internationalCurrencySymbol); + return NSString._(_ret, retain: true, release: true); } set internationalCurrencySymbol(NSString value) { - return _lib._objc_msgSend_646( - this.pointer, - _lib._sel_setInternationalCurrencySymbol_1, - value.pointer, - ); + return _objc_msgSend_646( + this.pointer, _sel_setInternationalCurrencySymbol_, value.pointer); } NSString get percentSymbol { - final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_percentSymbol1); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_percentSymbol); + return NSString._(_ret, retain: true, release: true); } set percentSymbol(NSString value) { - return _lib._objc_msgSend_646( - this.pointer, - _lib._sel_setPercentSymbol_1, - value.pointer, - ); + return _objc_msgSend_646( + this.pointer, _sel_setPercentSymbol_, value.pointer); } NSString get perMillSymbol { - final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_perMillSymbol1); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_perMillSymbol); + return NSString._(_ret, retain: true, release: true); } set perMillSymbol(NSString value) { - return _lib._objc_msgSend_646( - this.pointer, - _lib._sel_setPerMillSymbol_1, - value.pointer, - ); + return _objc_msgSend_646( + this.pointer, _sel_setPerMillSymbol_, value.pointer); } NSString get minusSign { - final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_minusSign1); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_minusSign); + return NSString._(_ret, retain: true, release: true); } set minusSign(NSString value) { - return _lib._objc_msgSend_646( - this.pointer, - _lib._sel_setMinusSign_1, - value.pointer, - ); + return _objc_msgSend_646(this.pointer, _sel_setMinusSign_, value.pointer); } NSString get plusSign { - final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_plusSign1); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_plusSign); + return NSString._(_ret, retain: true, release: true); } set plusSign(NSString value) { - return _lib._objc_msgSend_646( - this.pointer, - _lib._sel_setPlusSign_1, - value.pointer, - ); + return _objc_msgSend_646(this.pointer, _sel_setPlusSign_, value.pointer); } NSString get exponentSymbol { - final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_exponentSymbol1); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_exponentSymbol); + return NSString._(_ret, retain: true, release: true); } set exponentSymbol(NSString value) { - return _lib._objc_msgSend_646( - this.pointer, - _lib._sel_setExponentSymbol_1, - value.pointer, - ); + return _objc_msgSend_646( + this.pointer, _sel_setExponentSymbol_, value.pointer); } int get groupingSize { - return _lib._objc_msgSend_10(this.pointer, _lib._sel_groupingSize1); + return _objc_msgSend_10(this.pointer, _sel_groupingSize); } set groupingSize(int value) { - return _lib._objc_msgSend_516( - this.pointer, - _lib._sel_setGroupingSize_1, - value, - ); + return _objc_msgSend_516(this.pointer, _sel_setGroupingSize_, value); } int get secondaryGroupingSize { - return _lib._objc_msgSend_10( - this.pointer, - _lib._sel_secondaryGroupingSize1, - ); + return _objc_msgSend_10(this.pointer, _sel_secondaryGroupingSize); } set secondaryGroupingSize(int value) { - return _lib._objc_msgSend_516( - this.pointer, - _lib._sel_setSecondaryGroupingSize_1, - value, - ); + return _objc_msgSend_516( + this.pointer, _sel_setSecondaryGroupingSize_, value); } NSNumber? get multiplier { - final _ret = _lib._objc_msgSend_215(this.pointer, _lib._sel_multiplier1); + final _ret = _objc_msgSend_215(this.pointer, _sel_multiplier); return _ret.address == 0 ? null - : NSNumber._(_ret, _lib, retain: true, release: true); + : NSNumber._(_ret, retain: true, release: true); } set multiplier(NSNumber? value) { - return _lib._objc_msgSend_670( - this.pointer, - _lib._sel_setMultiplier_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_670( + this.pointer, _sel_setMultiplier_, value?.pointer ?? ffi.nullptr); } int get formatWidth { - return _lib._objc_msgSend_10(this.pointer, _lib._sel_formatWidth1); + return _objc_msgSend_10(this.pointer, _sel_formatWidth); } set formatWidth(int value) { - return _lib._objc_msgSend_516( - this.pointer, - _lib._sel_setFormatWidth_1, - value, - ); + return _objc_msgSend_516(this.pointer, _sel_setFormatWidth_, value); } NSString get paddingCharacter { - final _ret = _lib._objc_msgSend_21( - this.pointer, - _lib._sel_paddingCharacter1, - ); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_paddingCharacter); + return NSString._(_ret, retain: true, release: true); } set paddingCharacter(NSString value) { - return _lib._objc_msgSend_646( - this.pointer, - _lib._sel_setPaddingCharacter_1, - value.pointer, - ); + return _objc_msgSend_646( + this.pointer, _sel_setPaddingCharacter_, value.pointer); } int get paddingPosition { - return _lib._objc_msgSend_810(this.pointer, _lib._sel_paddingPosition1); + return _objc_msgSend_810(this.pointer, _sel_paddingPosition); } set paddingPosition(int value) { - return _lib._objc_msgSend_811( - this.pointer, - _lib._sel_setPaddingPosition_1, - value, - ); + return _objc_msgSend_811(this.pointer, _sel_setPaddingPosition_, value); } int get roundingMode { - return _lib._objc_msgSend_812(this.pointer, _lib._sel_roundingMode1); + return _objc_msgSend_812(this.pointer, _sel_roundingMode); } set roundingMode(int value) { - return _lib._objc_msgSend_813( - this.pointer, - _lib._sel_setRoundingMode_1, - value, - ); + return _objc_msgSend_813(this.pointer, _sel_setRoundingMode_, value); } NSNumber get roundingIncrement { - final _ret = _lib._objc_msgSend_814( - this.pointer, - _lib._sel_roundingIncrement1, - ); - return NSNumber._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_814(this.pointer, _sel_roundingIncrement); + return NSNumber._(_ret, retain: true, release: true); } set roundingIncrement(NSNumber value) { - return _lib._objc_msgSend_815( - this.pointer, - _lib._sel_setRoundingIncrement_1, - value.pointer, - ); + return _objc_msgSend_815( + this.pointer, _sel_setRoundingIncrement_, value.pointer); } int get minimumIntegerDigits { - return _lib._objc_msgSend_10(this.pointer, _lib._sel_minimumIntegerDigits1); + return _objc_msgSend_10(this.pointer, _sel_minimumIntegerDigits); } set minimumIntegerDigits(int value) { - return _lib._objc_msgSend_516( - this.pointer, - _lib._sel_setMinimumIntegerDigits_1, - value, - ); + return _objc_msgSend_516( + this.pointer, _sel_setMinimumIntegerDigits_, value); } int get maximumIntegerDigits { - return _lib._objc_msgSend_10(this.pointer, _lib._sel_maximumIntegerDigits1); + return _objc_msgSend_10(this.pointer, _sel_maximumIntegerDigits); } set maximumIntegerDigits(int value) { - return _lib._objc_msgSend_516( - this.pointer, - _lib._sel_setMaximumIntegerDigits_1, - value, - ); + return _objc_msgSend_516( + this.pointer, _sel_setMaximumIntegerDigits_, value); } int get minimumFractionDigits { - return _lib._objc_msgSend_10( - this.pointer, - _lib._sel_minimumFractionDigits1, - ); + return _objc_msgSend_10(this.pointer, _sel_minimumFractionDigits); } set minimumFractionDigits(int value) { - return _lib._objc_msgSend_516( - this.pointer, - _lib._sel_setMinimumFractionDigits_1, - value, - ); + return _objc_msgSend_516( + this.pointer, _sel_setMinimumFractionDigits_, value); } int get maximumFractionDigits { - return _lib._objc_msgSend_10( - this.pointer, - _lib._sel_maximumFractionDigits1, - ); + return _objc_msgSend_10(this.pointer, _sel_maximumFractionDigits); } set maximumFractionDigits(int value) { - return _lib._objc_msgSend_516( - this.pointer, - _lib._sel_setMaximumFractionDigits_1, - value, - ); + return _objc_msgSend_516( + this.pointer, _sel_setMaximumFractionDigits_, value); } NSNumber? get minimum { - final _ret = _lib._objc_msgSend_215(this.pointer, _lib._sel_minimum1); + final _ret = _objc_msgSend_215(this.pointer, _sel_minimum); return _ret.address == 0 ? null - : NSNumber._(_ret, _lib, retain: true, release: true); + : NSNumber._(_ret, retain: true, release: true); } set minimum(NSNumber? value) { - return _lib._objc_msgSend_670( - this.pointer, - _lib._sel_setMinimum_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_670( + this.pointer, _sel_setMinimum_, value?.pointer ?? ffi.nullptr); } NSNumber? get maximum { - final _ret = _lib._objc_msgSend_215(this.pointer, _lib._sel_maximum1); + final _ret = _objc_msgSend_215(this.pointer, _sel_maximum); return _ret.address == 0 ? null - : NSNumber._(_ret, _lib, retain: true, release: true); + : NSNumber._(_ret, retain: true, release: true); } set maximum(NSNumber? value) { - return _lib._objc_msgSend_670( - this.pointer, - _lib._sel_setMaximum_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_670( + this.pointer, _sel_setMaximum_, value?.pointer ?? ffi.nullptr); } NSString get currencyGroupingSeparator { - final _ret = _lib._objc_msgSend_21( - this.pointer, - _lib._sel_currencyGroupingSeparator1, - ); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_currencyGroupingSeparator); + return NSString._(_ret, retain: true, release: true); } set currencyGroupingSeparator(NSString value) { - return _lib._objc_msgSend_646( - this.pointer, - _lib._sel_setCurrencyGroupingSeparator_1, - value.pointer, - ); + return _objc_msgSend_646( + this.pointer, _sel_setCurrencyGroupingSeparator_, value.pointer); } bool get lenient { - return _lib._objc_msgSend_12(this.pointer, _lib._sel_isLenient1); + return _objc_msgSend_12(this.pointer, _sel_isLenient); } set lenient(bool value) { - return _lib._objc_msgSend_527(this.pointer, _lib._sel_setLenient_1, value); + return _objc_msgSend_527(this.pointer, _sel_setLenient_, value); } bool get usesSignificantDigits { - return _lib._objc_msgSend_12( - this.pointer, - _lib._sel_usesSignificantDigits1, - ); + return _objc_msgSend_12(this.pointer, _sel_usesSignificantDigits); } set usesSignificantDigits(bool value) { - return _lib._objc_msgSend_527( - this.pointer, - _lib._sel_setUsesSignificantDigits_1, - value, - ); + return _objc_msgSend_527( + this.pointer, _sel_setUsesSignificantDigits_, value); } int get minimumSignificantDigits { - return _lib._objc_msgSend_10( - this.pointer, - _lib._sel_minimumSignificantDigits1, - ); + return _objc_msgSend_10(this.pointer, _sel_minimumSignificantDigits); } set minimumSignificantDigits(int value) { - return _lib._objc_msgSend_516( - this.pointer, - _lib._sel_setMinimumSignificantDigits_1, - value, - ); + return _objc_msgSend_516( + this.pointer, _sel_setMinimumSignificantDigits_, value); } int get maximumSignificantDigits { - return _lib._objc_msgSend_10( - this.pointer, - _lib._sel_maximumSignificantDigits1, - ); + return _objc_msgSend_10(this.pointer, _sel_maximumSignificantDigits); } set maximumSignificantDigits(int value) { - return _lib._objc_msgSend_516( - this.pointer, - _lib._sel_setMaximumSignificantDigits_1, - value, - ); + return _objc_msgSend_516( + this.pointer, _sel_setMaximumSignificantDigits_, value); } bool get partialStringValidationEnabled { - return _lib._objc_msgSend_12( - this.pointer, - _lib._sel_isPartialStringValidationEnabled1, - ); + return _objc_msgSend_12( + this.pointer, _sel_isPartialStringValidationEnabled); } set partialStringValidationEnabled(bool value) { - return _lib._objc_msgSend_527( - this.pointer, - _lib._sel_setPartialStringValidationEnabled_1, - value, - ); + return _objc_msgSend_527( + this.pointer, _sel_setPartialStringValidationEnabled_, value); } bool get hasThousandSeparators { - return _lib._objc_msgSend_12( - this.pointer, - _lib._sel_hasThousandSeparators1, - ); + return _objc_msgSend_12(this.pointer, _sel_hasThousandSeparators); } set hasThousandSeparators(bool value) { - return _lib._objc_msgSend_527( - this.pointer, - _lib._sel_setHasThousandSeparators_1, - value, - ); + return _objc_msgSend_527( + this.pointer, _sel_setHasThousandSeparators_, value); } NSString get thousandSeparator { - final _ret = _lib._objc_msgSend_21( - this.pointer, - _lib._sel_thousandSeparator1, - ); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_thousandSeparator); + return NSString._(_ret, retain: true, release: true); } set thousandSeparator(NSString value) { - return _lib._objc_msgSend_646( - this.pointer, - _lib._sel_setThousandSeparator_1, - value.pointer, - ); + return _objc_msgSend_646( + this.pointer, _sel_setThousandSeparator_, value.pointer); } bool get localizesFormat { - return _lib._objc_msgSend_12(this.pointer, _lib._sel_localizesFormat1); + return _objc_msgSend_12(this.pointer, _sel_localizesFormat); } set localizesFormat(bool value) { - return _lib._objc_msgSend_527( - this.pointer, - _lib._sel_setLocalizesFormat_1, - value, - ); + return _objc_msgSend_527(this.pointer, _sel_setLocalizesFormat_, value); } NSString get format { - final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_format1); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_format); + return NSString._(_ret, retain: true, release: true); } set format(NSString value) { - return _lib._objc_msgSend_646( - this.pointer, - _lib._sel_setFormat_1, - value.pointer, - ); + return _objc_msgSend_646(this.pointer, _sel_setFormat_, value.pointer); } NSAttributedString get attributedStringForZero { - final _ret = _lib._objc_msgSend_735( - this.pointer, - _lib._sel_attributedStringForZero1, - ); - return NSAttributedString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_735(this.pointer, _sel_attributedStringForZero); + return NSAttributedString._(_ret, retain: true, release: true); } set attributedStringForZero(NSAttributedString value) { - return _lib._objc_msgSend_816( - this.pointer, - _lib._sel_setAttributedStringForZero_1, - value.pointer, - ); + return _objc_msgSend_816( + this.pointer, _sel_setAttributedStringForZero_, value.pointer); } NSAttributedString get attributedStringForNil { - final _ret = _lib._objc_msgSend_735( - this.pointer, - _lib._sel_attributedStringForNil1, - ); - return NSAttributedString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_735(this.pointer, _sel_attributedStringForNil); + return NSAttributedString._(_ret, retain: true, release: true); } set attributedStringForNil(NSAttributedString value) { - return _lib._objc_msgSend_816( - this.pointer, - _lib._sel_setAttributedStringForNil_1, - value.pointer, - ); + return _objc_msgSend_816( + this.pointer, _sel_setAttributedStringForNil_, value.pointer); } NSAttributedString get attributedStringForNotANumber { - final _ret = _lib._objc_msgSend_735( - this.pointer, - _lib._sel_attributedStringForNotANumber1, - ); - return NSAttributedString._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_735(this.pointer, _sel_attributedStringForNotANumber); + return NSAttributedString._(_ret, retain: true, release: true); } set attributedStringForNotANumber(NSAttributedString value) { - return _lib._objc_msgSend_816( - this.pointer, - _lib._sel_setAttributedStringForNotANumber_1, - value.pointer, - ); + return _objc_msgSend_816( + this.pointer, _sel_setAttributedStringForNotANumber_, value.pointer); } NSDecimalNumberHandler get roundingBehavior { - final _ret = _lib._objc_msgSend_817( - this.pointer, - _lib._sel_roundingBehavior1, - ); - return NSDecimalNumberHandler._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_817(this.pointer, _sel_roundingBehavior); + return NSDecimalNumberHandler._(_ret, retain: true, release: true); } set roundingBehavior(NSDecimalNumberHandler value) { - return _lib._objc_msgSend_819( - this.pointer, - _lib._sel_setRoundingBehavior_1, - value.pointer, - ); + return _objc_msgSend_819( + this.pointer, _sel_setRoundingBehavior_, value.pointer); } @override NSNumberFormatter init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSNumberFormatter._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSNumberFormatter._(_ret, retain: true, release: true); } - static NSNumberFormatter new1(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSNumberFormatter1, - _lib._sel_new1, - ); - return NSNumberFormatter._(_ret, _lib, retain: false, release: true); + static NSNumberFormatter new1() { + final _ret = _objc_msgSend_2(_class_NSNumberFormatter, _sel_new); + return NSNumberFormatter._(_ret, retain: false, release: true); } - static NSNumberFormatter allocWithZone_( - AVFAudio _lib, - ffi.Pointer<_NSZone> zone, - ) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSNumberFormatter1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSNumberFormatter._(_ret, _lib, retain: false, release: true); + static NSNumberFormatter allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = + _objc_msgSend_3(_class_NSNumberFormatter, _sel_allocWithZone_, zone); + return NSNumberFormatter._(_ret, retain: false, release: true); } - static NSNumberFormatter alloc(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSNumberFormatter1, - _lib._sel_alloc1, - ); - return NSNumberFormatter._(_ret, _lib, retain: false, release: true); + static NSNumberFormatter alloc() { + final _ret = _objc_msgSend_2(_class_NSNumberFormatter, _sel_alloc); + return NSNumberFormatter._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSNumberFormatter1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSNumberFormatter1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSNumberFormatter1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSNumberFormatter1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSNumberFormatter1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSNumberFormatter1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSNumberFormatter, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); + } + + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSNumberFormatter, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); + } + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSNumberFormatter, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSNumberFormatter, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSNumberFormatter, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSNumberFormatter, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); } static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSNumberFormatter1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSNumberFormatter1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSNumberFormatter1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); - } -} + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSNumberFormatter, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = _objc_msgSend_85( + _class_NSNumberFormatter, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = + _objc_msgSend_2(_class_NSNumberFormatter, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); + } +} + +late final _class_NSNumberFormatter = objc.getClass("NSNumberFormatter"); +late final _sel_stringFromNumber_ = objc.registerName("stringFromNumber:"); +final _objc_msgSend_802 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer number)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_numberFromString_ = objc.registerName("numberFromString:"); +final _objc_msgSend_803 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer string)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); abstract class NSNumberFormatterStyle { static const int NSNumberFormatterNoStyle = 0; @@ -74944,12 +39898,178 @@ abstract class NSNumberFormatterStyle { static const int NSNumberFormatterCurrencyAccountingStyle = 10; } +late final _sel_localizedStringFromNumber_numberStyle_ = + objc.registerName("localizedStringFromNumber:numberStyle:"); +final _objc_msgSend_804 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer num, + ffi.Int32 nstyle)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int)>(); + abstract class NSNumberFormatterBehavior { static const int NSNumberFormatterBehaviorDefault = 0; static const int NSNumberFormatterBehavior10_0 = 1000; static const int NSNumberFormatterBehavior10_4 = 1040; } +final _objc_msgSend_805 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + int Function( + ffi.Pointer, ffi.Pointer)>(); +final _objc_msgSend_806 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer obj, + ffi.Pointer sel, ffi.Int32 behavior)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, int)>(); +late final _sel_numberStyle = objc.registerName("numberStyle"); +final _objc_msgSend_807 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + int Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_setNumberStyle_ = objc.registerName("setNumberStyle:"); +final _objc_msgSend_808 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer obj, + ffi.Pointer sel, ffi.Int32 value)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, int)>(); +late final _sel_generatesDecimalNumbers = + objc.registerName("generatesDecimalNumbers"); +late final _sel_setGeneratesDecimalNumbers_ = + objc.registerName("setGeneratesDecimalNumbers:"); +final _objc_msgSend_809 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer obj, + ffi.Pointer sel, ffi.Int32 value)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, int)>(); +late final _sel_negativeFormat = objc.registerName("negativeFormat"); +late final _sel_setNegativeFormat_ = objc.registerName("setNegativeFormat:"); +late final _sel_textAttributesForNegativeValues = + objc.registerName("textAttributesForNegativeValues"); +late final _sel_setTextAttributesForNegativeValues_ = + objc.registerName("setTextAttributesForNegativeValues:"); +late final _sel_positiveFormat = objc.registerName("positiveFormat"); +late final _sel_setPositiveFormat_ = objc.registerName("setPositiveFormat:"); +late final _sel_textAttributesForPositiveValues = + objc.registerName("textAttributesForPositiveValues"); +late final _sel_setTextAttributesForPositiveValues_ = + objc.registerName("setTextAttributesForPositiveValues:"); +late final _sel_allowsFloats = objc.registerName("allowsFloats"); +late final _sel_setAllowsFloats_ = objc.registerName("setAllowsFloats:"); +late final _sel_setDecimalSeparator_ = + objc.registerName("setDecimalSeparator:"); +late final _sel_alwaysShowsDecimalSeparator = + objc.registerName("alwaysShowsDecimalSeparator"); +late final _sel_setAlwaysShowsDecimalSeparator_ = + objc.registerName("setAlwaysShowsDecimalSeparator:"); +late final _sel_currencyDecimalSeparator = + objc.registerName("currencyDecimalSeparator"); +late final _sel_setCurrencyDecimalSeparator_ = + objc.registerName("setCurrencyDecimalSeparator:"); +late final _sel_usesGroupingSeparator = + objc.registerName("usesGroupingSeparator"); +late final _sel_setUsesGroupingSeparator_ = + objc.registerName("setUsesGroupingSeparator:"); +late final _sel_setGroupingSeparator_ = + objc.registerName("setGroupingSeparator:"); +late final _sel_zeroSymbol = objc.registerName("zeroSymbol"); +late final _sel_setZeroSymbol_ = objc.registerName("setZeroSymbol:"); +late final _sel_textAttributesForZero = + objc.registerName("textAttributesForZero"); +late final _sel_setTextAttributesForZero_ = + objc.registerName("setTextAttributesForZero:"); +late final _sel_nilSymbol = objc.registerName("nilSymbol"); +late final _sel_setNilSymbol_ = objc.registerName("setNilSymbol:"); +late final _sel_textAttributesForNil = + objc.registerName("textAttributesForNil"); +late final _sel_setTextAttributesForNil_ = + objc.registerName("setTextAttributesForNil:"); +late final _sel_notANumberSymbol = objc.registerName("notANumberSymbol"); +late final _sel_setNotANumberSymbol_ = + objc.registerName("setNotANumberSymbol:"); +late final _sel_textAttributesForNotANumber = + objc.registerName("textAttributesForNotANumber"); +late final _sel_setTextAttributesForNotANumber_ = + objc.registerName("setTextAttributesForNotANumber:"); +late final _sel_positiveInfinitySymbol = + objc.registerName("positiveInfinitySymbol"); +late final _sel_setPositiveInfinitySymbol_ = + objc.registerName("setPositiveInfinitySymbol:"); +late final _sel_textAttributesForPositiveInfinity = + objc.registerName("textAttributesForPositiveInfinity"); +late final _sel_setTextAttributesForPositiveInfinity_ = + objc.registerName("setTextAttributesForPositiveInfinity:"); +late final _sel_negativeInfinitySymbol = + objc.registerName("negativeInfinitySymbol"); +late final _sel_setNegativeInfinitySymbol_ = + objc.registerName("setNegativeInfinitySymbol:"); +late final _sel_textAttributesForNegativeInfinity = + objc.registerName("textAttributesForNegativeInfinity"); +late final _sel_setTextAttributesForNegativeInfinity_ = + objc.registerName("setTextAttributesForNegativeInfinity:"); +late final _sel_positivePrefix = objc.registerName("positivePrefix"); +late final _sel_setPositivePrefix_ = objc.registerName("setPositivePrefix:"); +late final _sel_positiveSuffix = objc.registerName("positiveSuffix"); +late final _sel_setPositiveSuffix_ = objc.registerName("setPositiveSuffix:"); +late final _sel_negativePrefix = objc.registerName("negativePrefix"); +late final _sel_setNegativePrefix_ = objc.registerName("setNegativePrefix:"); +late final _sel_negativeSuffix = objc.registerName("negativeSuffix"); +late final _sel_setNegativeSuffix_ = objc.registerName("setNegativeSuffix:"); +late final _sel_setCurrencyCode_ = objc.registerName("setCurrencyCode:"); +late final _sel_setCurrencySymbol_ = objc.registerName("setCurrencySymbol:"); +late final _sel_internationalCurrencySymbol = + objc.registerName("internationalCurrencySymbol"); +late final _sel_setInternationalCurrencySymbol_ = + objc.registerName("setInternationalCurrencySymbol:"); +late final _sel_percentSymbol = objc.registerName("percentSymbol"); +late final _sel_setPercentSymbol_ = objc.registerName("setPercentSymbol:"); +late final _sel_perMillSymbol = objc.registerName("perMillSymbol"); +late final _sel_setPerMillSymbol_ = objc.registerName("setPerMillSymbol:"); +late final _sel_minusSign = objc.registerName("minusSign"); +late final _sel_setMinusSign_ = objc.registerName("setMinusSign:"); +late final _sel_plusSign = objc.registerName("plusSign"); +late final _sel_setPlusSign_ = objc.registerName("setPlusSign:"); +late final _sel_exponentSymbol = objc.registerName("exponentSymbol"); +late final _sel_setExponentSymbol_ = objc.registerName("setExponentSymbol:"); +late final _sel_groupingSize = objc.registerName("groupingSize"); +late final _sel_setGroupingSize_ = objc.registerName("setGroupingSize:"); +late final _sel_secondaryGroupingSize = + objc.registerName("secondaryGroupingSize"); +late final _sel_setSecondaryGroupingSize_ = + objc.registerName("setSecondaryGroupingSize:"); +late final _sel_multiplier = objc.registerName("multiplier"); +late final _sel_setMultiplier_ = objc.registerName("setMultiplier:"); +late final _sel_formatWidth = objc.registerName("formatWidth"); +late final _sel_setFormatWidth_ = objc.registerName("setFormatWidth:"); +late final _sel_paddingCharacter = objc.registerName("paddingCharacter"); +late final _sel_setPaddingCharacter_ = + objc.registerName("setPaddingCharacter:"); + abstract class NSNumberFormatterPadPosition { static const int NSNumberFormatterPadBeforePrefix = 0; static const int NSNumberFormatterPadAfterPrefix = 1; @@ -74957,6 +40077,25 @@ abstract class NSNumberFormatterPadPosition { static const int NSNumberFormatterPadAfterSuffix = 3; } +late final _sel_paddingPosition = objc.registerName("paddingPosition"); +final _objc_msgSend_810 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + int Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_setPaddingPosition_ = objc.registerName("setPaddingPosition:"); +final _objc_msgSend_811 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer obj, + ffi.Pointer sel, ffi.Int32 value)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, int)>(); + abstract class NSNumberFormatterRoundingMode { static const int NSNumberFormatterRoundCeiling = 0; static const int NSNumberFormatterRoundFloor = 1; @@ -74967,231 +40106,287 @@ abstract class NSNumberFormatterRoundingMode { static const int NSNumberFormatterRoundHalfUp = 6; } +late final _sel_roundingMode = objc.registerName("roundingMode"); +final _objc_msgSend_812 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + int Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_setRoundingMode_ = objc.registerName("setRoundingMode:"); +final _objc_msgSend_813 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer obj, + ffi.Pointer sel, ffi.Int32 value)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, int)>(); +late final _sel_roundingIncrement = objc.registerName("roundingIncrement"); +final _objc_msgSend_814 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_setRoundingIncrement_ = + objc.registerName("setRoundingIncrement:"); +final _objc_msgSend_815 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_minimumIntegerDigits = + objc.registerName("minimumIntegerDigits"); +late final _sel_setMinimumIntegerDigits_ = + objc.registerName("setMinimumIntegerDigits:"); +late final _sel_maximumIntegerDigits = + objc.registerName("maximumIntegerDigits"); +late final _sel_setMaximumIntegerDigits_ = + objc.registerName("setMaximumIntegerDigits:"); +late final _sel_minimumFractionDigits = + objc.registerName("minimumFractionDigits"); +late final _sel_setMinimumFractionDigits_ = + objc.registerName("setMinimumFractionDigits:"); +late final _sel_maximumFractionDigits = + objc.registerName("maximumFractionDigits"); +late final _sel_setMaximumFractionDigits_ = + objc.registerName("setMaximumFractionDigits:"); +late final _sel_minimum = objc.registerName("minimum"); +late final _sel_setMinimum_ = objc.registerName("setMinimum:"); +late final _sel_maximum = objc.registerName("maximum"); +late final _sel_setMaximum_ = objc.registerName("setMaximum:"); +late final _sel_currencyGroupingSeparator = + objc.registerName("currencyGroupingSeparator"); +late final _sel_setCurrencyGroupingSeparator_ = + objc.registerName("setCurrencyGroupingSeparator:"); +late final _sel_usesSignificantDigits = + objc.registerName("usesSignificantDigits"); +late final _sel_setUsesSignificantDigits_ = + objc.registerName("setUsesSignificantDigits:"); +late final _sel_minimumSignificantDigits = + objc.registerName("minimumSignificantDigits"); +late final _sel_setMinimumSignificantDigits_ = + objc.registerName("setMinimumSignificantDigits:"); +late final _sel_maximumSignificantDigits = + objc.registerName("maximumSignificantDigits"); +late final _sel_setMaximumSignificantDigits_ = + objc.registerName("setMaximumSignificantDigits:"); +late final _sel_isPartialStringValidationEnabled = + objc.registerName("isPartialStringValidationEnabled"); +late final _sel_setPartialStringValidationEnabled_ = + objc.registerName("setPartialStringValidationEnabled:"); +late final _sel_hasThousandSeparators = + objc.registerName("hasThousandSeparators"); +late final _sel_setHasThousandSeparators_ = + objc.registerName("setHasThousandSeparators:"); +late final _sel_thousandSeparator = objc.registerName("thousandSeparator"); +late final _sel_setThousandSeparator_ = + objc.registerName("setThousandSeparator:"); +late final _sel_localizesFormat = objc.registerName("localizesFormat"); +late final _sel_setLocalizesFormat_ = objc.registerName("setLocalizesFormat:"); +late final _sel_format = objc.registerName("format"); +late final _sel_setFormat_ = objc.registerName("setFormat:"); +late final _sel_attributedStringForZero = + objc.registerName("attributedStringForZero"); +late final _sel_setAttributedStringForZero_ = + objc.registerName("setAttributedStringForZero:"); +final _objc_msgSend_816 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_attributedStringForNil = + objc.registerName("attributedStringForNil"); +late final _sel_setAttributedStringForNil_ = + objc.registerName("setAttributedStringForNil:"); +late final _sel_attributedStringForNotANumber = + objc.registerName("attributedStringForNotANumber"); +late final _sel_setAttributedStringForNotANumber_ = + objc.registerName("setAttributedStringForNotANumber:"); + class NSDecimalNumberHandler extends NSObject { - NSDecimalNumberHandler._( - ffi.Pointer pointer, - AVFAudio lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSDecimalNumberHandler._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSDecimalNumberHandler] that points to the same underlying object as [other]. static NSDecimalNumberHandler castFrom( - AVFAudio lib, - T other, - ) { - return NSDecimalNumberHandler._( - other.pointer, - lib, - retain: true, - release: true, - ); + T other) { + return NSDecimalNumberHandler._(other.pointer, retain: true, release: true); } /// Returns a [NSDecimalNumberHandler] that wraps the given raw object pointer. static NSDecimalNumberHandler castFromPointer( - AVFAudio lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSDecimalNumberHandler._( - other, - lib, - retain: retain, - release: release, - ); + ffi.Pointer other, + {bool retain = false, + bool release = false}) { + return NSDecimalNumberHandler._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSDecimalNumberHandler]. - static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSDecimalNumberHandler1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0( + obj.pointer, _sel_isKindOfClass_, _class_NSDecimalNumberHandler); } - static NSDecimalNumberHandler getDefaultDecimalNumberHandler(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_817( - _lib._class_NSDecimalNumberHandler1, - _lib._sel_defaultDecimalNumberHandler1, - ); - return NSDecimalNumberHandler._(_ret, _lib, retain: true, release: true); + static NSDecimalNumberHandler getDefaultDecimalNumberHandler() { + final _ret = _objc_msgSend_817( + _class_NSDecimalNumberHandler, _sel_defaultDecimalNumberHandler); + return NSDecimalNumberHandler._(_ret, retain: true, release: true); } NSDecimalNumberHandler initWithRoundingMode_scale_raiseOnExactness_raiseOnOverflow_raiseOnUnderflow_raiseOnDivideByZero_( - int roundingMode, - int scale, - bool exact, - bool overflow, - bool underflow, - bool divideByZero, - ) { - final _ret = _lib._objc_msgSend_818( - this.pointer, - _lib._sel_initWithRoundingMode_scale_raiseOnExactness_raiseOnOverflow_raiseOnUnderflow_raiseOnDivideByZero_1, - roundingMode, - scale, - exact, - overflow, - underflow, - divideByZero, - ); - return NSDecimalNumberHandler._(_ret, _lib, retain: true, release: true); + int roundingMode, + int scale, + bool exact, + bool overflow, + bool underflow, + bool divideByZero) { + final _ret = _objc_msgSend_818( + this.pointer, + _sel_initWithRoundingMode_scale_raiseOnExactness_raiseOnOverflow_raiseOnUnderflow_raiseOnDivideByZero_, + roundingMode, + scale, + exact, + overflow, + underflow, + divideByZero); + return NSDecimalNumberHandler._(_ret, retain: true, release: true); } static NSDecimalNumberHandler decimalNumberHandlerWithRoundingMode_scale_raiseOnExactness_raiseOnOverflow_raiseOnUnderflow_raiseOnDivideByZero_( - AVFAudio _lib, - int roundingMode, - int scale, - bool exact, - bool overflow, - bool underflow, - bool divideByZero, - ) { - final _ret = _lib._objc_msgSend_818( - _lib._class_NSDecimalNumberHandler1, - _lib._sel_decimalNumberHandlerWithRoundingMode_scale_raiseOnExactness_raiseOnOverflow_raiseOnUnderflow_raiseOnDivideByZero_1, - roundingMode, - scale, - exact, - overflow, - underflow, - divideByZero, - ); - return NSDecimalNumberHandler._(_ret, _lib, retain: true, release: true); + int roundingMode, + int scale, + bool exact, + bool overflow, + bool underflow, + bool divideByZero) { + final _ret = _objc_msgSend_818( + _class_NSDecimalNumberHandler, + _sel_decimalNumberHandlerWithRoundingMode_scale_raiseOnExactness_raiseOnOverflow_raiseOnUnderflow_raiseOnDivideByZero_, + roundingMode, + scale, + exact, + overflow, + underflow, + divideByZero); + return NSDecimalNumberHandler._(_ret, retain: true, release: true); } @override NSDecimalNumberHandler init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSDecimalNumberHandler._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSDecimalNumberHandler._(_ret, retain: true, release: true); } - static NSDecimalNumberHandler new1(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSDecimalNumberHandler1, - _lib._sel_new1, - ); - return NSDecimalNumberHandler._(_ret, _lib, retain: false, release: true); + static NSDecimalNumberHandler new1() { + final _ret = _objc_msgSend_2(_class_NSDecimalNumberHandler, _sel_new); + return NSDecimalNumberHandler._(_ret, retain: false, release: true); } - static NSDecimalNumberHandler allocWithZone_( - AVFAudio _lib, - ffi.Pointer<_NSZone> zone, - ) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSDecimalNumberHandler1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSDecimalNumberHandler._(_ret, _lib, retain: false, release: true); + static NSDecimalNumberHandler allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = _objc_msgSend_3( + _class_NSDecimalNumberHandler, _sel_allocWithZone_, zone); + return NSDecimalNumberHandler._(_ret, retain: false, release: true); } - static NSDecimalNumberHandler alloc(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSDecimalNumberHandler1, - _lib._sel_alloc1, - ); - return NSDecimalNumberHandler._(_ret, _lib, retain: false, release: true); + static NSDecimalNumberHandler alloc() { + final _ret = _objc_msgSend_2(_class_NSDecimalNumberHandler, _sel_alloc); + return NSDecimalNumberHandler._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSDecimalNumberHandler1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSDecimalNumberHandler1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSDecimalNumberHandler1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSDecimalNumberHandler1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSDecimalNumberHandler1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSDecimalNumberHandler1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSDecimalNumberHandler, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); + } + + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSDecimalNumberHandler, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); + } + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSDecimalNumberHandler, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12( + _class_NSDecimalNumberHandler, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSDecimalNumberHandler, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSDecimalNumberHandler, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); } static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSDecimalNumberHandler1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSDecimalNumberHandler1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSDecimalNumberHandler1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSDecimalNumberHandler, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = _objc_msgSend_85( + _class_NSDecimalNumberHandler, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = _objc_msgSend_2( + _class_NSDecimalNumberHandler, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); } } +late final _class_NSDecimalNumberHandler = + objc.getClass("NSDecimalNumberHandler"); +late final _sel_defaultDecimalNumberHandler = + objc.registerName("defaultDecimalNumberHandler"); +final _objc_msgSend_817 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); + abstract class NSRoundingMode { static const int NSRoundPlain = 0; static const int NSRoundDown = 1; @@ -75199,1202 +40394,1217 @@ abstract class NSRoundingMode { static const int NSRoundBankers = 3; } +late final _sel_initWithRoundingMode_scale_raiseOnExactness_raiseOnOverflow_raiseOnUnderflow_raiseOnDivideByZero_ = + objc.registerName( + "initWithRoundingMode:scale:raiseOnExactness:raiseOnOverflow:raiseOnUnderflow:raiseOnDivideByZero:"); +final _objc_msgSend_818 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Int32 roundingMode, + ffi.Short scale, + ffi.Bool exact, + ffi.Bool overflow, + ffi.Bool underflow, + ffi.Bool divideByZero)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + int, + int, + bool, + bool, + bool, + bool)>(); +late final _sel_decimalNumberHandlerWithRoundingMode_scale_raiseOnExactness_raiseOnOverflow_raiseOnUnderflow_raiseOnDivideByZero_ = + objc.registerName( + "decimalNumberHandlerWithRoundingMode:scale:raiseOnExactness:raiseOnOverflow:raiseOnUnderflow:raiseOnDivideByZero:"); +late final _sel_roundingBehavior = objc.registerName("roundingBehavior"); +late final _sel_setRoundingBehavior_ = + objc.registerName("setRoundingBehavior:"); +final _objc_msgSend_819 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); + class NSScanner extends NSObject { - NSScanner._( - ffi.Pointer pointer, - AVFAudio lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSScanner._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSScanner] that points to the same underlying object as [other]. - static NSScanner castFrom( - AVFAudio lib, - T other, - ) { - return NSScanner._(other.pointer, lib, retain: true, release: true); + static NSScanner castFrom(T other) { + return NSScanner._(other.pointer, retain: true, release: true); } /// Returns a [NSScanner] that wraps the given raw object pointer. - static NSScanner castFromPointer( - AVFAudio lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSScanner._(other, lib, retain: retain, release: release); + static NSScanner castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSScanner._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSScanner]. - static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSScanner1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0(obj.pointer, _sel_isKindOfClass_, _class_NSScanner); } NSString get string { - final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_string1); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_string); + return NSString._(_ret, retain: true, release: true); } int get scanLocation { - return _lib._objc_msgSend_10(this.pointer, _lib._sel_scanLocation1); + return _objc_msgSend_10(this.pointer, _sel_scanLocation); } set scanLocation(int value) { - return _lib._objc_msgSend_516( - this.pointer, - _lib._sel_setScanLocation_1, - value, - ); + return _objc_msgSend_516(this.pointer, _sel_setScanLocation_, value); } NSCharacterSet? get charactersToBeSkipped { - final _ret = _lib._objc_msgSend_820( - this.pointer, - _lib._sel_charactersToBeSkipped1, - ); + final _ret = _objc_msgSend_820(this.pointer, _sel_charactersToBeSkipped); return _ret.address == 0 ? null - : NSCharacterSet._(_ret, _lib, retain: true, release: true); + : NSCharacterSet._(_ret, retain: true, release: true); } set charactersToBeSkipped(NSCharacterSet? value) { - return _lib._objc_msgSend_821( - this.pointer, - _lib._sel_setCharactersToBeSkipped_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_821(this.pointer, _sel_setCharactersToBeSkipped_, + value?.pointer ?? ffi.nullptr); } bool get caseSensitive { - return _lib._objc_msgSend_12(this.pointer, _lib._sel_caseSensitive1); + return _objc_msgSend_12(this.pointer, _sel_caseSensitive); } set caseSensitive(bool value) { - return _lib._objc_msgSend_527( - this.pointer, - _lib._sel_setCaseSensitive_1, - value, - ); + return _objc_msgSend_527(this.pointer, _sel_setCaseSensitive_, value); } NSObject? get locale { - final _ret = _lib._objc_msgSend_17(this.pointer, _lib._sel_locale1); + final _ret = _objc_msgSend_17(this.pointer, _sel_locale); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } set locale(NSObject? value) { - return _lib._objc_msgSend_416( - this.pointer, - _lib._sel_setLocale_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_416( + this.pointer, _sel_setLocale_, value?.pointer ?? ffi.nullptr); } NSScanner initWithString_(NSString string) { - final _ret = _lib._objc_msgSend_31( - this.pointer, - _lib._sel_initWithString_1, - string.pointer, - ); - return NSScanner._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_31(this.pointer, _sel_initWithString_, string.pointer); + return NSScanner._(_ret, retain: true, release: true); } bool scanInt_(ffi.Pointer result) { - return _lib._objc_msgSend_822(this.pointer, _lib._sel_scanInt_1, result); + return _objc_msgSend_822(this.pointer, _sel_scanInt_, result); } bool scanInteger_(ffi.Pointer result) { - return _lib._objc_msgSend_823( - this.pointer, - _lib._sel_scanInteger_1, - result, - ); + return _objc_msgSend_823(this.pointer, _sel_scanInteger_, result); } bool scanLongLong_(ffi.Pointer result) { - return _lib._objc_msgSend_824( - this.pointer, - _lib._sel_scanLongLong_1, - result, - ); + return _objc_msgSend_824(this.pointer, _sel_scanLongLong_, result); } bool scanUnsignedLongLong_(ffi.Pointer result) { - return _lib._objc_msgSend_825( - this.pointer, - _lib._sel_scanUnsignedLongLong_1, - result, - ); + return _objc_msgSend_825(this.pointer, _sel_scanUnsignedLongLong_, result); } bool scanFloat_(ffi.Pointer result) { - return _lib._objc_msgSend_826(this.pointer, _lib._sel_scanFloat_1, result); + return _objc_msgSend_826(this.pointer, _sel_scanFloat_, result); } bool scanDouble_(ffi.Pointer result) { - return _lib._objc_msgSend_827(this.pointer, _lib._sel_scanDouble_1, result); + return _objc_msgSend_827(this.pointer, _sel_scanDouble_, result); } bool scanHexInt_(ffi.Pointer result) { - return _lib._objc_msgSend_828(this.pointer, _lib._sel_scanHexInt_1, result); + return _objc_msgSend_828(this.pointer, _sel_scanHexInt_, result); } bool scanHexLongLong_(ffi.Pointer result) { - return _lib._objc_msgSend_825( - this.pointer, - _lib._sel_scanHexLongLong_1, - result, - ); + return _objc_msgSend_825(this.pointer, _sel_scanHexLongLong_, result); } bool scanHexFloat_(ffi.Pointer result) { - return _lib._objc_msgSend_826( - this.pointer, - _lib._sel_scanHexFloat_1, - result, - ); + return _objc_msgSend_826(this.pointer, _sel_scanHexFloat_, result); } bool scanHexDouble_(ffi.Pointer result) { - return _lib._objc_msgSend_827( - this.pointer, - _lib._sel_scanHexDouble_1, - result, - ); + return _objc_msgSend_827(this.pointer, _sel_scanHexDouble_, result); } bool scanString_intoString_( - NSString string, - ffi.Pointer> result, - ) { - return _lib._objc_msgSend_829( - this.pointer, - _lib._sel_scanString_intoString_1, - string.pointer, - result, - ); + NSString string, ffi.Pointer> result) { + return _objc_msgSend_829( + this.pointer, _sel_scanString_intoString_, string.pointer, result); } bool scanCharactersFromSet_intoString_( - NSCharacterSet set, - ffi.Pointer> result, - ) { - return _lib._objc_msgSend_830( - this.pointer, - _lib._sel_scanCharactersFromSet_intoString_1, - set.pointer, - result, - ); + NSCharacterSet set, ffi.Pointer> result) { + return _objc_msgSend_830(this.pointer, + _sel_scanCharactersFromSet_intoString_, set.pointer, result); } bool scanUpToString_intoString_( - NSString string, - ffi.Pointer> result, - ) { - return _lib._objc_msgSend_829( - this.pointer, - _lib._sel_scanUpToString_intoString_1, - string.pointer, - result, - ); + NSString string, ffi.Pointer> result) { + return _objc_msgSend_829( + this.pointer, _sel_scanUpToString_intoString_, string.pointer, result); } bool scanUpToCharactersFromSet_intoString_( - NSCharacterSet set, - ffi.Pointer> result, - ) { - return _lib._objc_msgSend_830( - this.pointer, - _lib._sel_scanUpToCharactersFromSet_intoString_1, - set.pointer, - result, - ); + NSCharacterSet set, ffi.Pointer> result) { + return _objc_msgSend_830(this.pointer, + _sel_scanUpToCharactersFromSet_intoString_, set.pointer, result); } bool get atEnd { - return _lib._objc_msgSend_12(this.pointer, _lib._sel_isAtEnd1); + return _objc_msgSend_12(this.pointer, _sel_isAtEnd); } - static NSScanner scannerWithString_(AVFAudio _lib, NSString string) { - final _ret = _lib._objc_msgSend_31( - _lib._class_NSScanner1, - _lib._sel_scannerWithString_1, - string.pointer, - ); - return NSScanner._(_ret, _lib, retain: true, release: true); + static NSScanner scannerWithString_(NSString string) { + final _ret = _objc_msgSend_31( + _class_NSScanner, _sel_scannerWithString_, string.pointer); + return NSScanner._(_ret, retain: true, release: true); } - static NSObject localizedScannerWithString_(AVFAudio _lib, NSString string) { - final _ret = _lib._objc_msgSend_31( - _lib._class_NSScanner1, - _lib._sel_localizedScannerWithString_1, - string.pointer, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + static NSObject localizedScannerWithString_(NSString string) { + final _ret = _objc_msgSend_31( + _class_NSScanner, _sel_localizedScannerWithString_, string.pointer); + return NSObject._(_ret, retain: true, release: true); } bool scanDecimal_(ffi.Pointer dcm) { - return _lib._objc_msgSend_831(this.pointer, _lib._sel_scanDecimal_1, dcm); + return _objc_msgSend_831(this.pointer, _sel_scanDecimal_, dcm); } @override NSScanner init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSScanner._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSScanner._(_ret, retain: true, release: true); } - static NSScanner new1(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2(_lib._class_NSScanner1, _lib._sel_new1); - return NSScanner._(_ret, _lib, retain: false, release: true); + static NSScanner new1() { + final _ret = _objc_msgSend_2(_class_NSScanner, _sel_new); + return NSScanner._(_ret, retain: false, release: true); } - static NSScanner allocWithZone_(AVFAudio _lib, ffi.Pointer<_NSZone> zone) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSScanner1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSScanner._(_ret, _lib, retain: false, release: true); + static NSScanner allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = _objc_msgSend_3(_class_NSScanner, _sel_allocWithZone_, zone); + return NSScanner._(_ret, retain: false, release: true); } - static NSScanner alloc(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2(_lib._class_NSScanner1, _lib._sel_alloc1); - return NSScanner._(_ret, _lib, retain: false, release: true); + static NSScanner alloc() { + final _ret = _objc_msgSend_2(_class_NSScanner, _sel_alloc); + return NSScanner._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSScanner1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSScanner1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSScanner1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSScanner1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSScanner1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSScanner1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSScanner, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); } - static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSScanner1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSScanner1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSScanner1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSScanner, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); } -} + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSScanner, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSScanner, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSScanner, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSScanner, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); + } + + static void setKeys_triggerChangeNotificationsForDependentKey_( + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSScanner, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = + _objc_msgSend_85(_class_NSScanner, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = + _objc_msgSend_2(_class_NSScanner, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); + } +} + +late final _class_NSScanner = objc.getClass("NSScanner"); +late final _sel_scanLocation = objc.registerName("scanLocation"); +late final _sel_setScanLocation_ = objc.registerName("setScanLocation:"); +late final _sel_charactersToBeSkipped = + objc.registerName("charactersToBeSkipped"); +final _objc_msgSend_820 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_setCharactersToBeSkipped_ = + objc.registerName("setCharactersToBeSkipped:"); +final _objc_msgSend_821 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_caseSensitive = objc.registerName("caseSensitive"); +late final _sel_setCaseSensitive_ = objc.registerName("setCaseSensitive:"); +late final _sel_scanInt_ = objc.registerName("scanInt:"); +final _objc_msgSend_822 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer result)>>() + .asFunction< + bool Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_scanInteger_ = objc.registerName("scanInteger:"); +final _objc_msgSend_823 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer result)>>() + .asFunction< + bool Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_scanLongLong_ = objc.registerName("scanLongLong:"); +final _objc_msgSend_824 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer result)>>() + .asFunction< + bool Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_scanUnsignedLongLong_ = + objc.registerName("scanUnsignedLongLong:"); +final _objc_msgSend_825 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer result)>>() + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_scanFloat_ = objc.registerName("scanFloat:"); +final _objc_msgSend_826 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer result)>>() + .asFunction< + bool Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_scanDouble_ = objc.registerName("scanDouble:"); +final _objc_msgSend_827 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer result)>>() + .asFunction< + bool Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_scanHexInt_ = objc.registerName("scanHexInt:"); +final _objc_msgSend_828 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer result)>>() + .asFunction< + bool Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_scanHexLongLong_ = objc.registerName("scanHexLongLong:"); +late final _sel_scanHexFloat_ = objc.registerName("scanHexFloat:"); +late final _sel_scanHexDouble_ = objc.registerName("scanHexDouble:"); +late final _sel_scanString_intoString_ = + objc.registerName("scanString:intoString:"); +final _objc_msgSend_829 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer string, + ffi.Pointer> result)>>() + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>(); +late final _sel_scanCharactersFromSet_intoString_ = + objc.registerName("scanCharactersFromSet:intoString:"); +final _objc_msgSend_830 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer set, + ffi.Pointer> result)>>() + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>(); +late final _sel_scanUpToString_intoString_ = + objc.registerName("scanUpToString:intoString:"); +late final _sel_scanUpToCharactersFromSet_intoString_ = + objc.registerName("scanUpToCharactersFromSet:intoString:"); +late final _sel_isAtEnd = objc.registerName("isAtEnd"); +late final _sel_scannerWithString_ = objc.registerName("scannerWithString:"); +late final _sel_localizedScannerWithString_ = + objc.registerName("localizedScannerWithString:"); final class NSDecimal extends ffi.Opaque {} +late final _sel_scanDecimal_ = objc.registerName("scanDecimal:"); +final _objc_msgSend_831 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer dcm)>>() + .asFunction< + bool Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); + class NSException extends NSObject { - NSException._( - ffi.Pointer pointer, - AVFAudio lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSException._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSException] that points to the same underlying object as [other]. - static NSException castFrom( - AVFAudio lib, - T other, - ) { - return NSException._(other.pointer, lib, retain: true, release: true); + static NSException castFrom(T other) { + return NSException._(other.pointer, retain: true, release: true); } /// Returns a [NSException] that wraps the given raw object pointer. - static NSException castFromPointer( - AVFAudio lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSException._(other, lib, retain: retain, release: release); + static NSException castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSException._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSException]. - static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSException1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0( + obj.pointer, _sel_isKindOfClass_, _class_NSException); } static NSException exceptionWithName_reason_userInfo_( - AVFAudio _lib, - NSString name, - NSString? reason, - NSDictionary? userInfo, - ) { - final _ret = _lib._objc_msgSend_832( - _lib._class_NSException1, - _lib._sel_exceptionWithName_reason_userInfo_1, - name.pointer, - reason?.pointer ?? ffi.nullptr, - userInfo?.pointer ?? ffi.nullptr, - ); - return NSException._(_ret, _lib, retain: true, release: true); + NSString name, NSString? reason, NSDictionary? userInfo) { + final _ret = _objc_msgSend_832( + _class_NSException, + _sel_exceptionWithName_reason_userInfo_, + name.pointer, + reason?.pointer ?? ffi.nullptr, + userInfo?.pointer ?? ffi.nullptr); + return NSException._(_ret, retain: true, release: true); } NSException initWithName_reason_userInfo_( - NSString aName, - NSString? aReason, - NSDictionary? aUserInfo, - ) { - final _ret = _lib._objc_msgSend_833( - this.pointer, - _lib._sel_initWithName_reason_userInfo_1, - aName.pointer, - aReason?.pointer ?? ffi.nullptr, - aUserInfo?.pointer ?? ffi.nullptr, - ); - return NSException._(_ret, _lib, retain: true, release: true); + NSString aName, NSString? aReason, NSDictionary? aUserInfo) { + final _ret = _objc_msgSend_833( + this.pointer, + _sel_initWithName_reason_userInfo_, + aName.pointer, + aReason?.pointer ?? ffi.nullptr, + aUserInfo?.pointer ?? ffi.nullptr); + return NSException._(_ret, retain: true, release: true); } NSString get name { - final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_name1); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_name); + return NSString._(_ret, retain: true, release: true); } NSString? get reason { - final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_reason1); + final _ret = _objc_msgSend_44(this.pointer, _sel_reason); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } NSDictionary? get userInfo { - final _ret = _lib._objc_msgSend_390(this.pointer, _lib._sel_userInfo1); + final _ret = _objc_msgSend_390(this.pointer, _sel_userInfo); return _ret.address == 0 ? null - : NSDictionary._(_ret, _lib, retain: true, release: true); + : NSDictionary._(_ret, retain: true, release: true); } NSArray get callStackReturnAddresses { - final _ret = _lib._objc_msgSend_85( - this.pointer, - _lib._sel_callStackReturnAddresses1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_85(this.pointer, _sel_callStackReturnAddresses); + return NSArray._(_ret, retain: true, release: true); } NSArray get callStackSymbols { - final _ret = _lib._objc_msgSend_85( - this.pointer, - _lib._sel_callStackSymbols1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_85(this.pointer, _sel_callStackSymbols); + return NSArray._(_ret, retain: true, release: true); } void raise() { - _lib._objc_msgSend_1(this.pointer, _lib._sel_raise1); + _objc_msgSend_1(this.pointer, _sel_raise); } - static void raise_format_(AVFAudio _lib, NSString name, NSString format) { - _lib._objc_msgSend_551( - _lib._class_NSException1, - _lib._sel_raise_format_1, - name.pointer, - format.pointer, - ); + static void raise_format_(NSString name, NSString format) { + _objc_msgSend_551( + _class_NSException, _sel_raise_format_, name.pointer, format.pointer); } static void raise_format_arguments_( - AVFAudio _lib, - NSString name, - NSString format, - ffi.Pointer<__va_list_tag> argList, - ) { - _lib._objc_msgSend_834( - _lib._class_NSException1, - _lib._sel_raise_format_arguments_1, - name.pointer, - format.pointer, - argList, - ); + NSString name, NSString format, ffi.Pointer<__va_list_tag> argList) { + _objc_msgSend_834(_class_NSException, _sel_raise_format_arguments_, + name.pointer, format.pointer, argList); } @override NSException init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSException._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSException._(_ret, retain: true, release: true); } - static NSException new1(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2(_lib._class_NSException1, _lib._sel_new1); - return NSException._(_ret, _lib, retain: false, release: true); + static NSException new1() { + final _ret = _objc_msgSend_2(_class_NSException, _sel_new); + return NSException._(_ret, retain: false, release: true); } - static NSException allocWithZone_(AVFAudio _lib, ffi.Pointer<_NSZone> zone) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSException1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSException._(_ret, _lib, retain: false, release: true); + static NSException allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = _objc_msgSend_3(_class_NSException, _sel_allocWithZone_, zone); + return NSException._(_ret, retain: false, release: true); } - static NSException alloc(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSException1, - _lib._sel_alloc1, - ); - return NSException._(_ret, _lib, retain: false, release: true); + static NSException alloc() { + final _ret = _objc_msgSend_2(_class_NSException, _sel_alloc); + return NSException._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSException1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSException1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSException1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSException1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSException1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSException1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSException, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); } - static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSException1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSException1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSException1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSException, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); + } + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSException, _sel_accessInstanceVariablesDirectly); } -} + + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSException, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSException, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSException, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); + } + + static void setKeys_triggerChangeNotificationsForDependentKey_( + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSException, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = _objc_msgSend_85( + _class_NSException, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = + _objc_msgSend_2(_class_NSException, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); + } +} + +late final _class_NSException = objc.getClass("NSException"); +late final _sel_exceptionWithName_reason_userInfo_ = + objc.registerName("exceptionWithName:reason:userInfo:"); +final _objc_msgSend_832 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer name, + ffi.Pointer reason, + ffi.Pointer userInfo)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_initWithName_reason_userInfo_ = + objc.registerName("initWithName:reason:userInfo:"); +final _objc_msgSend_833 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer aName, + ffi.Pointer aReason, + ffi.Pointer aUserInfo)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_reason = objc.registerName("reason"); +late final _sel_raise = objc.registerName("raise"); +late final _sel_raise_format_ = objc.registerName("raise:format:"); +late final _sel_raise_format_arguments_ = + objc.registerName("raise:format:arguments:"); +final _objc_msgSend_834 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer name, + ffi.Pointer format, + ffi.Pointer<__va_list_tag> argList)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<__va_list_tag>)>(); class NSFileHandle extends NSObject { - NSFileHandle._( - ffi.Pointer pointer, - AVFAudio lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSFileHandle._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSFileHandle] that points to the same underlying object as [other]. - static NSFileHandle castFrom( - AVFAudio lib, - T other, - ) { - return NSFileHandle._(other.pointer, lib, retain: true, release: true); + static NSFileHandle castFrom(T other) { + return NSFileHandle._(other.pointer, retain: true, release: true); } /// Returns a [NSFileHandle] that wraps the given raw object pointer. - static NSFileHandle castFromPointer( - AVFAudio lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSFileHandle._(other, lib, retain: retain, release: release); + static NSFileHandle castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSFileHandle._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSFileHandle]. - static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSFileHandle1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0( + obj.pointer, _sel_isKindOfClass_, _class_NSFileHandle); } NSData get availableData { - final _ret = _lib._objc_msgSend_43(this.pointer, _lib._sel_availableData1); - return NSData._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_43(this.pointer, _sel_availableData); + return NSData._(_ret, retain: true, release: true); } NSFileHandle initWithFileDescriptor_closeOnDealloc_(int fd, bool closeopt) { - final _ret = _lib._objc_msgSend_835( - this.pointer, - _lib._sel_initWithFileDescriptor_closeOnDealloc_1, - fd, - closeopt, - ); - return NSFileHandle._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_835(this.pointer, + _sel_initWithFileDescriptor_closeOnDealloc_, fd, closeopt); + return NSFileHandle._(_ret, retain: true, release: true); } NSFileHandle? initWithCoder_(NSCoder coder) { - final _ret = _lib._objc_msgSend_47( - this.pointer, - _lib._sel_initWithCoder_1, - coder.pointer, - ); + final _ret = + _objc_msgSend_47(this.pointer, _sel_initWithCoder_, coder.pointer); return _ret.address == 0 ? null - : NSFileHandle._(_ret, _lib, retain: true, release: true); + : NSFileHandle._(_ret, retain: true, release: true); } NSData? readDataToEndOfFileAndReturnError_( - ffi.Pointer> error, - ) { - final _ret = _lib._objc_msgSend_836( - this.pointer, - _lib._sel_readDataToEndOfFileAndReturnError_1, - error, - ); + ffi.Pointer> error) { + final _ret = _objc_msgSend_836( + this.pointer, _sel_readDataToEndOfFileAndReturnError_, error); return _ret.address == 0 ? null - : NSData._(_ret, _lib, retain: true, release: true); + : NSData._(_ret, retain: true, release: true); } NSData? readDataUpToLength_error_( - int length, - ffi.Pointer> error, - ) { - final _ret = _lib._objc_msgSend_837( - this.pointer, - _lib._sel_readDataUpToLength_error_1, - length, - error, - ); + int length, ffi.Pointer> error) { + final _ret = _objc_msgSend_837( + this.pointer, _sel_readDataUpToLength_error_, length, error); return _ret.address == 0 ? null - : NSData._(_ret, _lib, retain: true, release: true); + : NSData._(_ret, retain: true, release: true); } bool writeData_error_( - NSData data, - ffi.Pointer> error, - ) { - return _lib._objc_msgSend_838( - this.pointer, - _lib._sel_writeData_error_1, - data.pointer, - error, - ); - } - - bool getOffset_error_( - ffi.Pointer offsetInFile, - ffi.Pointer> error, - ) { - return _lib._objc_msgSend_839( - this.pointer, - _lib._sel_getOffset_error_1, - offsetInFile, - error, - ); + NSData data, ffi.Pointer> error) { + return _objc_msgSend_838( + this.pointer, _sel_writeData_error_, data.pointer, error); + } + + bool getOffset_error_(ffi.Pointer offsetInFile, + ffi.Pointer> error) { + return _objc_msgSend_839( + this.pointer, _sel_getOffset_error_, offsetInFile, error); } bool seekToEndReturningOffset_error_( - ffi.Pointer offsetInFile, - ffi.Pointer> error, - ) { - return _lib._objc_msgSend_839( - this.pointer, - _lib._sel_seekToEndReturningOffset_error_1, - offsetInFile, - error, - ); + ffi.Pointer offsetInFile, + ffi.Pointer> error) { + return _objc_msgSend_839(this.pointer, _sel_seekToEndReturningOffset_error_, + offsetInFile, error); } bool seekToOffset_error_( - int offset, - ffi.Pointer> error, - ) { - return _lib._objc_msgSend_840( - this.pointer, - _lib._sel_seekToOffset_error_1, - offset, - error, - ); + int offset, ffi.Pointer> error) { + return _objc_msgSend_840( + this.pointer, _sel_seekToOffset_error_, offset, error); } bool truncateAtOffset_error_( - int offset, - ffi.Pointer> error, - ) { - return _lib._objc_msgSend_840( - this.pointer, - _lib._sel_truncateAtOffset_error_1, - offset, - error, - ); + int offset, ffi.Pointer> error) { + return _objc_msgSend_840( + this.pointer, _sel_truncateAtOffset_error_, offset, error); } bool synchronizeAndReturnError_( - ffi.Pointer> error, - ) { - return _lib._objc_msgSend_255( - this.pointer, - _lib._sel_synchronizeAndReturnError_1, - error, - ); + ffi.Pointer> error) { + return _objc_msgSend_255( + this.pointer, _sel_synchronizeAndReturnError_, error); } bool closeAndReturnError_(ffi.Pointer> error) { - return _lib._objc_msgSend_255( - this.pointer, - _lib._sel_closeAndReturnError_1, - error, - ); + return _objc_msgSend_255(this.pointer, _sel_closeAndReturnError_, error); } - static NSFileHandle getFileHandleWithStandardInput(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_841( - _lib._class_NSFileHandle1, - _lib._sel_fileHandleWithStandardInput1, - ); - return NSFileHandle._(_ret, _lib, retain: true, release: true); + static NSFileHandle getFileHandleWithStandardInput() { + final _ret = _objc_msgSend_841( + _class_NSFileHandle, _sel_fileHandleWithStandardInput); + return NSFileHandle._(_ret, retain: true, release: true); } - static NSFileHandle getFileHandleWithStandardOutput(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_841( - _lib._class_NSFileHandle1, - _lib._sel_fileHandleWithStandardOutput1, - ); - return NSFileHandle._(_ret, _lib, retain: true, release: true); + static NSFileHandle getFileHandleWithStandardOutput() { + final _ret = _objc_msgSend_841( + _class_NSFileHandle, _sel_fileHandleWithStandardOutput); + return NSFileHandle._(_ret, retain: true, release: true); } - static NSFileHandle getFileHandleWithStandardError(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_841( - _lib._class_NSFileHandle1, - _lib._sel_fileHandleWithStandardError1, - ); - return NSFileHandle._(_ret, _lib, retain: true, release: true); + static NSFileHandle getFileHandleWithStandardError() { + final _ret = _objc_msgSend_841( + _class_NSFileHandle, _sel_fileHandleWithStandardError); + return NSFileHandle._(_ret, retain: true, release: true); } - static NSFileHandle getFileHandleWithNullDevice(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_841( - _lib._class_NSFileHandle1, - _lib._sel_fileHandleWithNullDevice1, - ); - return NSFileHandle._(_ret, _lib, retain: true, release: true); + static NSFileHandle getFileHandleWithNullDevice() { + final _ret = + _objc_msgSend_841(_class_NSFileHandle, _sel_fileHandleWithNullDevice); + return NSFileHandle._(_ret, retain: true, release: true); } - static NSFileHandle? fileHandleForReadingAtPath_( - AVFAudio _lib, - NSString path, - ) { - final _ret = _lib._objc_msgSend_38( - _lib._class_NSFileHandle1, - _lib._sel_fileHandleForReadingAtPath_1, - path.pointer, - ); + static NSFileHandle? fileHandleForReadingAtPath_(NSString path) { + final _ret = _objc_msgSend_38( + _class_NSFileHandle, _sel_fileHandleForReadingAtPath_, path.pointer); return _ret.address == 0 ? null - : NSFileHandle._(_ret, _lib, retain: true, release: true); + : NSFileHandle._(_ret, retain: true, release: true); } - static NSFileHandle? fileHandleForWritingAtPath_( - AVFAudio _lib, - NSString path, - ) { - final _ret = _lib._objc_msgSend_38( - _lib._class_NSFileHandle1, - _lib._sel_fileHandleForWritingAtPath_1, - path.pointer, - ); + static NSFileHandle? fileHandleForWritingAtPath_(NSString path) { + final _ret = _objc_msgSend_38( + _class_NSFileHandle, _sel_fileHandleForWritingAtPath_, path.pointer); return _ret.address == 0 ? null - : NSFileHandle._(_ret, _lib, retain: true, release: true); + : NSFileHandle._(_ret, retain: true, release: true); } - static NSFileHandle? fileHandleForUpdatingAtPath_( - AVFAudio _lib, - NSString path, - ) { - final _ret = _lib._objc_msgSend_38( - _lib._class_NSFileHandle1, - _lib._sel_fileHandleForUpdatingAtPath_1, - path.pointer, - ); + static NSFileHandle? fileHandleForUpdatingAtPath_(NSString path) { + final _ret = _objc_msgSend_38( + _class_NSFileHandle, _sel_fileHandleForUpdatingAtPath_, path.pointer); return _ret.address == 0 ? null - : NSFileHandle._(_ret, _lib, retain: true, release: true); + : NSFileHandle._(_ret, retain: true, release: true); } static NSFileHandle? fileHandleForReadingFromURL_error_( - AVFAudio _lib, - NSURL url, - ffi.Pointer> error, - ) { - final _ret = _lib._objc_msgSend_842( - _lib._class_NSFileHandle1, - _lib._sel_fileHandleForReadingFromURL_error_1, - url.pointer, - error, - ); + NSURL url, ffi.Pointer> error) { + final _ret = _objc_msgSend_842(_class_NSFileHandle, + _sel_fileHandleForReadingFromURL_error_, url.pointer, error); return _ret.address == 0 ? null - : NSFileHandle._(_ret, _lib, retain: true, release: true); + : NSFileHandle._(_ret, retain: true, release: true); } static NSFileHandle? fileHandleForWritingToURL_error_( - AVFAudio _lib, - NSURL url, - ffi.Pointer> error, - ) { - final _ret = _lib._objc_msgSend_842( - _lib._class_NSFileHandle1, - _lib._sel_fileHandleForWritingToURL_error_1, - url.pointer, - error, - ); + NSURL url, ffi.Pointer> error) { + final _ret = _objc_msgSend_842(_class_NSFileHandle, + _sel_fileHandleForWritingToURL_error_, url.pointer, error); return _ret.address == 0 ? null - : NSFileHandle._(_ret, _lib, retain: true, release: true); + : NSFileHandle._(_ret, retain: true, release: true); } static NSFileHandle? fileHandleForUpdatingURL_error_( - AVFAudio _lib, - NSURL url, - ffi.Pointer> error, - ) { - final _ret = _lib._objc_msgSend_842( - _lib._class_NSFileHandle1, - _lib._sel_fileHandleForUpdatingURL_error_1, - url.pointer, - error, - ); + NSURL url, ffi.Pointer> error) { + final _ret = _objc_msgSend_842(_class_NSFileHandle, + _sel_fileHandleForUpdatingURL_error_, url.pointer, error); return _ret.address == 0 ? null - : NSFileHandle._(_ret, _lib, retain: true, release: true); + : NSFileHandle._(_ret, retain: true, release: true); } void readInBackgroundAndNotifyForModes_(NSArray? modes) { - _lib._objc_msgSend_843( - this.pointer, - _lib._sel_readInBackgroundAndNotifyForModes_1, - modes?.pointer ?? ffi.nullptr, - ); + _objc_msgSend_843(this.pointer, _sel_readInBackgroundAndNotifyForModes_, + modes?.pointer ?? ffi.nullptr); } void readInBackgroundAndNotify() { - _lib._objc_msgSend_1(this.pointer, _lib._sel_readInBackgroundAndNotify1); + _objc_msgSend_1(this.pointer, _sel_readInBackgroundAndNotify); } void readToEndOfFileInBackgroundAndNotifyForModes_(NSArray? modes) { - _lib._objc_msgSend_843( - this.pointer, - _lib._sel_readToEndOfFileInBackgroundAndNotifyForModes_1, - modes?.pointer ?? ffi.nullptr, - ); + _objc_msgSend_843( + this.pointer, + _sel_readToEndOfFileInBackgroundAndNotifyForModes_, + modes?.pointer ?? ffi.nullptr); } void readToEndOfFileInBackgroundAndNotify() { - _lib._objc_msgSend_1( - this.pointer, - _lib._sel_readToEndOfFileInBackgroundAndNotify1, - ); + _objc_msgSend_1(this.pointer, _sel_readToEndOfFileInBackgroundAndNotify); } void acceptConnectionInBackgroundAndNotifyForModes_(NSArray? modes) { - _lib._objc_msgSend_843( - this.pointer, - _lib._sel_acceptConnectionInBackgroundAndNotifyForModes_1, - modes?.pointer ?? ffi.nullptr, - ); + _objc_msgSend_843( + this.pointer, + _sel_acceptConnectionInBackgroundAndNotifyForModes_, + modes?.pointer ?? ffi.nullptr); } void acceptConnectionInBackgroundAndNotify() { - _lib._objc_msgSend_1( - this.pointer, - _lib._sel_acceptConnectionInBackgroundAndNotify1, - ); + _objc_msgSend_1(this.pointer, _sel_acceptConnectionInBackgroundAndNotify); } void waitForDataInBackgroundAndNotifyForModes_(NSArray? modes) { - _lib._objc_msgSend_843( - this.pointer, - _lib._sel_waitForDataInBackgroundAndNotifyForModes_1, - modes?.pointer ?? ffi.nullptr, - ); + _objc_msgSend_843( + this.pointer, + _sel_waitForDataInBackgroundAndNotifyForModes_, + modes?.pointer ?? ffi.nullptr); } void waitForDataInBackgroundAndNotify() { - _lib._objc_msgSend_1( - this.pointer, - _lib._sel_waitForDataInBackgroundAndNotify1, - ); + _objc_msgSend_1(this.pointer, _sel_waitForDataInBackgroundAndNotify); } ObjCBlock_ffiVoid_NSFileHandle? get readabilityHandler { - final _ret = _lib._objc_msgSend_844( - this.pointer, - _lib._sel_readabilityHandler1, - ); + final _ret = _objc_msgSend_844(this.pointer, _sel_readabilityHandler); return _ret.address == 0 ? null - : ObjCBlock_ffiVoid_NSFileHandle._( - _ret, - _lib, - retain: true, - release: true, - ); + : ObjCBlock_ffiVoid_NSFileHandle._(_ret, retain: true, release: true); } set readabilityHandler(ObjCBlock_ffiVoid_NSFileHandle? value) { - return _lib._objc_msgSend_845( - this.pointer, - _lib._sel_setReadabilityHandler_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_845(this.pointer, _sel_setReadabilityHandler_, + value?.pointer ?? ffi.nullptr); } ObjCBlock_ffiVoid_NSFileHandle? get writeabilityHandler { - final _ret = _lib._objc_msgSend_844( - this.pointer, - _lib._sel_writeabilityHandler1, - ); + final _ret = _objc_msgSend_844(this.pointer, _sel_writeabilityHandler); return _ret.address == 0 ? null - : ObjCBlock_ffiVoid_NSFileHandle._( - _ret, - _lib, - retain: true, - release: true, - ); + : ObjCBlock_ffiVoid_NSFileHandle._(_ret, retain: true, release: true); } set writeabilityHandler(ObjCBlock_ffiVoid_NSFileHandle? value) { - return _lib._objc_msgSend_845( - this.pointer, - _lib._sel_setWriteabilityHandler_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_845(this.pointer, _sel_setWriteabilityHandler_, + value?.pointer ?? ffi.nullptr); } NSFileHandle initWithFileDescriptor_(int fd) { - final _ret = _lib._objc_msgSend_846( - this.pointer, - _lib._sel_initWithFileDescriptor_1, - fd, - ); - return NSFileHandle._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_846(this.pointer, _sel_initWithFileDescriptor_, fd); + return NSFileHandle._(_ret, retain: true, release: true); } int get fileDescriptor { - return _lib._objc_msgSend_237(this.pointer, _lib._sel_fileDescriptor1); + return _objc_msgSend_237(this.pointer, _sel_fileDescriptor); } NSData readDataToEndOfFile() { - final _ret = _lib._objc_msgSend_43( - this.pointer, - _lib._sel_readDataToEndOfFile1, - ); - return NSData._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_43(this.pointer, _sel_readDataToEndOfFile); + return NSData._(_ret, retain: true, release: true); } NSData readDataOfLength_(int length) { - final _ret = _lib._objc_msgSend_847( - this.pointer, - _lib._sel_readDataOfLength_1, - length, - ); - return NSData._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_847(this.pointer, _sel_readDataOfLength_, length); + return NSData._(_ret, retain: true, release: true); } void writeData_(NSData data) { - _lib._objc_msgSend_285(this.pointer, _lib._sel_writeData_1, data.pointer); + _objc_msgSend_285(this.pointer, _sel_writeData_, data.pointer); } int get offsetInFile { - return _lib._objc_msgSend_164(this.pointer, _lib._sel_offsetInFile1); + return _objc_msgSend_164(this.pointer, _sel_offsetInFile); } int seekToEndOfFile() { - return _lib._objc_msgSend_164(this.pointer, _lib._sel_seekToEndOfFile1); + return _objc_msgSend_164(this.pointer, _sel_seekToEndOfFile); } void seekToFileOffset_(int offset) { - _lib._objc_msgSend_848(this.pointer, _lib._sel_seekToFileOffset_1, offset); + _objc_msgSend_848(this.pointer, _sel_seekToFileOffset_, offset); } void truncateFileAtOffset_(int offset) { - _lib._objc_msgSend_848( - this.pointer, - _lib._sel_truncateFileAtOffset_1, - offset, - ); + _objc_msgSend_848(this.pointer, _sel_truncateFileAtOffset_, offset); } void synchronizeFile() { - _lib._objc_msgSend_1(this.pointer, _lib._sel_synchronizeFile1); + _objc_msgSend_1(this.pointer, _sel_synchronizeFile); } void closeFile() { - _lib._objc_msgSend_1(this.pointer, _lib._sel_closeFile1); + _objc_msgSend_1(this.pointer, _sel_closeFile); } @override NSFileHandle init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSFileHandle._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSFileHandle._(_ret, retain: true, release: true); } - static NSFileHandle new1(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSFileHandle1, - _lib._sel_new1, - ); - return NSFileHandle._(_ret, _lib, retain: false, release: true); + static NSFileHandle new1() { + final _ret = _objc_msgSend_2(_class_NSFileHandle, _sel_new); + return NSFileHandle._(_ret, retain: false, release: true); } - static NSFileHandle allocWithZone_(AVFAudio _lib, ffi.Pointer<_NSZone> zone) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSFileHandle1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSFileHandle._(_ret, _lib, retain: false, release: true); + static NSFileHandle allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = + _objc_msgSend_3(_class_NSFileHandle, _sel_allocWithZone_, zone); + return NSFileHandle._(_ret, retain: false, release: true); } - static NSFileHandle alloc(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSFileHandle1, - _lib._sel_alloc1, - ); - return NSFileHandle._(_ret, _lib, retain: false, release: true); + static NSFileHandle alloc() { + final _ret = _objc_msgSend_2(_class_NSFileHandle, _sel_alloc); + return NSFileHandle._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSFileHandle1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSFileHandle1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSFileHandle1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSFileHandle1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSFileHandle1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSFileHandle1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSFileHandle, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); } - static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSFileHandle1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSFileHandle1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSFileHandle1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSFileHandle, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); + } + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSFileHandle, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSFileHandle, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSFileHandle, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSFileHandle, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); } -} + static void setKeys_triggerChangeNotificationsForDependentKey_( + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSFileHandle, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = _objc_msgSend_85( + _class_NSFileHandle, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = + _objc_msgSend_2(_class_NSFileHandle, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); + } +} + +late final _class_NSFileHandle = objc.getClass("NSFileHandle"); +late final _sel_availableData = objc.registerName("availableData"); +late final _sel_initWithFileDescriptor_closeOnDealloc_ = + objc.registerName("initWithFileDescriptor:closeOnDealloc:"); +final _objc_msgSend_835 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Int fd, + ffi.Bool closeopt)>>() + .asFunction< + instancetype Function(ffi.Pointer, + ffi.Pointer, int, bool)>(); +late final _sel_readDataToEndOfFileAndReturnError_ = + objc.registerName("readDataToEndOfFileAndReturnError:"); +final _objc_msgSend_836 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer> error)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>(); +late final _sel_readDataUpToLength_error_ = + objc.registerName("readDataUpToLength:error:"); +final _objc_msgSend_837 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.UnsignedLong length, + ffi.Pointer> error)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer>)>(); +late final _sel_writeData_error_ = objc.registerName("writeData:error:"); +final _objc_msgSend_838 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer data, + ffi.Pointer> error)>>() + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>(); +late final _sel_getOffset_error_ = objc.registerName("getOffset:error:"); +final _objc_msgSend_839 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer offsetInFile, + ffi.Pointer> error)>>() + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>(); +late final _sel_seekToEndReturningOffset_error_ = + objc.registerName("seekToEndReturningOffset:error:"); +late final _sel_seekToOffset_error_ = objc.registerName("seekToOffset:error:"); +final _objc_msgSend_840 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.UnsignedLongLong offset, + ffi.Pointer> error)>>() + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer>)>(); +late final _sel_truncateAtOffset_error_ = + objc.registerName("truncateAtOffset:error:"); +late final _sel_synchronizeAndReturnError_ = + objc.registerName("synchronizeAndReturnError:"); +late final _sel_closeAndReturnError_ = + objc.registerName("closeAndReturnError:"); +late final _sel_fileHandleWithStandardInput = + objc.registerName("fileHandleWithStandardInput"); +final _objc_msgSend_841 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_fileHandleWithStandardOutput = + objc.registerName("fileHandleWithStandardOutput"); +late final _sel_fileHandleWithStandardError = + objc.registerName("fileHandleWithStandardError"); +late final _sel_fileHandleWithNullDevice = + objc.registerName("fileHandleWithNullDevice"); +late final _sel_fileHandleForReadingAtPath_ = + objc.registerName("fileHandleForReadingAtPath:"); +late final _sel_fileHandleForWritingAtPath_ = + objc.registerName("fileHandleForWritingAtPath:"); +late final _sel_fileHandleForUpdatingAtPath_ = + objc.registerName("fileHandleForUpdatingAtPath:"); +late final _sel_fileHandleForReadingFromURL_error_ = + objc.registerName("fileHandleForReadingFromURL:error:"); +final _objc_msgSend_842 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer url, + ffi.Pointer> error)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>(); +late final _sel_fileHandleForWritingToURL_error_ = + objc.registerName("fileHandleForWritingToURL:error:"); +late final _sel_fileHandleForUpdatingURL_error_ = + objc.registerName("fileHandleForUpdatingURL:error:"); +late final _sel_readInBackgroundAndNotifyForModes_ = + objc.registerName("readInBackgroundAndNotifyForModes:"); +final _objc_msgSend_843 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer modes)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_readInBackgroundAndNotify = + objc.registerName("readInBackgroundAndNotify"); +late final _sel_readToEndOfFileInBackgroundAndNotifyForModes_ = + objc.registerName("readToEndOfFileInBackgroundAndNotifyForModes:"); +late final _sel_readToEndOfFileInBackgroundAndNotify = + objc.registerName("readToEndOfFileInBackgroundAndNotify"); +late final _sel_acceptConnectionInBackgroundAndNotifyForModes_ = + objc.registerName("acceptConnectionInBackgroundAndNotifyForModes:"); +late final _sel_acceptConnectionInBackgroundAndNotify = + objc.registerName("acceptConnectionInBackgroundAndNotify"); +late final _sel_waitForDataInBackgroundAndNotifyForModes_ = + objc.registerName("waitForDataInBackgroundAndNotifyForModes:"); +late final _sel_waitForDataInBackgroundAndNotify = + objc.registerName("waitForDataInBackgroundAndNotify"); void _ObjCBlock_ffiVoid_NSFileHandle_fnPtrTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, -) => + ffi.Pointer block, ffi.Pointer arg0) => block.ref.target .cast< ffi.NativeFunction< @@ -76404,44 +41614,29 @@ final _ObjCBlock_ffiVoid_NSFileHandle_closureRegistry = )>{}; int _ObjCBlock_ffiVoid_NSFileHandle_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_ffiVoid_NSFileHandle_registerClosure( - void Function(ffi.Pointer) fn, -) { + void Function(ffi.Pointer) fn) { final id = ++_ObjCBlock_ffiVoid_NSFileHandle_closureRegistryIndex; _ObjCBlock_ffiVoid_NSFileHandle_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } void _ObjCBlock_ffiVoid_NSFileHandle_closureTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, -) => + ffi.Pointer block, ffi.Pointer arg0) => _ObjCBlock_ffiVoid_NSFileHandle_closureRegistry[block.ref.target.address]!( - arg0, - ); + arg0); class ObjCBlock_ffiVoid_NSFileHandle extends objc.ObjCBlockBase { - ObjCBlock_ffiVoid_NSFileHandle._( - ffi.Pointer pointer, - this._lib, { - bool retain = false, - bool release = true, - }) : super(pointer, retain: retain, release: release); - - AVFAudio _lib; + ObjCBlock_ffiVoid_NSFileHandle._(ffi.Pointer pointer, + {bool retain = false, bool release = true}) + : super(pointer, retain: retain, release: release); /// Returns a block that wraps the given raw block pointer. static ObjCBlock_ffiVoid_NSFileHandle castFromPointer( - AVFAudio lib, - ffi.Pointer pointer, { - bool retain = false, - bool release = false, - }) { - return ObjCBlock_ffiVoid_NSFileHandle._( - pointer, - lib, - retain: retain, - release: release, - ); + ffi.Pointer pointer, + {bool retain = false, + bool release = false}) { + return ObjCBlock_ffiVoid_NSFileHandle._(pointer, + retain: retain, release: release); } /// Creates a block from a C function pointer. @@ -76450,22 +41645,17 @@ class ObjCBlock_ffiVoid_NSFileHandle extends objc.ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSFileHandle.fromFunctionPointer( - AVFAudio lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer arg0)>> - ptr, - ) : this._( - objc.newBlock( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - )>(_ObjCBlock_ffiVoid_NSFileHandle_fnPtrTrampoline) - .cast(), - ptr.cast(), - ), - lib); + ffi.Pointer< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer arg0)>> + ptr) + : this._(objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function(ffi.Pointer, + ffi.Pointer)>( + _ObjCBlock_ffiVoid_NSFileHandle_fnPtrTrampoline) + .cast(), + ptr.cast())); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -76473,23 +41663,16 @@ class ObjCBlock_ffiVoid_NSFileHandle extends objc.ObjCBlockBase { /// This block must be invoked by native code running on the same thread as /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. - ObjCBlock_ffiVoid_NSFileHandle.fromFunction( - AVFAudio lib, - void Function(NSFileHandle) fn, - ) : this._( - objc.newBlock( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - )>(_ObjCBlock_ffiVoid_NSFileHandle_closureTrampoline) - .cast(), - _ObjCBlock_ffiVoid_NSFileHandle_registerClosure(( - ffi.Pointer arg0, - ) => - fn(NSFileHandle._(arg0, lib, retain: true, release: true))), - ), - lib); + ObjCBlock_ffiVoid_NSFileHandle.fromFunction(void Function(NSFileHandle) fn) + : this._(objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function(ffi.Pointer, + ffi.Pointer)>( + _ObjCBlock_ffiVoid_NSFileHandle_closureTrampoline) + .cast(), + _ObjCBlock_ffiVoid_NSFileHandle_registerClosure( + (ffi.Pointer arg0) => + fn(NSFileHandle._(arg0, retain: true, release: true))))); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -76501,26 +41684,18 @@ class ObjCBlock_ffiVoid_NSFileHandle extends objc.ObjCBlockBase { /// /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. - ObjCBlock_ffiVoid_NSFileHandle.listener( - AVFAudio lib, - void Function(NSFileHandle) fn, - ) : this._( - objc.newBlock( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - )>.listener( - _ObjCBlock_ffiVoid_NSFileHandle_closureTrampoline, - )..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSFileHandle_registerClosure(( - ffi.Pointer arg0, - ) => - fn(NSFileHandle._(arg0, lib, retain: true, release: true))), - ), - lib); + ObjCBlock_ffiVoid_NSFileHandle.listener(void Function(NSFileHandle) fn) + : this._(objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function(ffi.Pointer, + ffi.Pointer)>.listener( + _ObjCBlock_ffiVoid_NSFileHandle_closureTrampoline) + ..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSFileHandle_registerClosure( + (ffi.Pointer arg0) => + fn(NSFileHandle._(arg0, retain: true, release: true))))); static ffi.NativeCallable< ffi.Void Function( ffi.Pointer, ffi.Pointer)>? @@ -76529,583 +41704,583 @@ class ObjCBlock_ffiVoid_NSFileHandle extends objc.ObjCBlockBase { void call(NSFileHandle arg0) => pointer.ref.invoke .cast< ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer block, - ffi.Pointer arg0, - )>>() + ffi.Void Function(ffi.Pointer block, + ffi.Pointer arg0)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer)>()(pointer, arg0.pointer); } +late final _sel_readabilityHandler = objc.registerName("readabilityHandler"); +final _objc_msgSend_844 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_setReadabilityHandler_ = + objc.registerName("setReadabilityHandler:"); +final _objc_msgSend_845 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_writeabilityHandler = objc.registerName("writeabilityHandler"); +late final _sel_setWriteabilityHandler_ = + objc.registerName("setWriteabilityHandler:"); +late final _sel_initWithFileDescriptor_ = + objc.registerName("initWithFileDescriptor:"); +final _objc_msgSend_846 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function(ffi.Pointer obj, + ffi.Pointer sel, ffi.Int fd)>>() + .asFunction< + instancetype Function(ffi.Pointer, + ffi.Pointer, int)>(); +late final _sel_fileDescriptor = objc.registerName("fileDescriptor"); +late final _sel_readDataToEndOfFile = objc.registerName("readDataToEndOfFile"); +late final _sel_readDataOfLength_ = objc.registerName("readDataOfLength:"); +final _objc_msgSend_847 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.UnsignedLong length)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, int)>(); +late final _sel_offsetInFile = objc.registerName("offsetInFile"); +late final _sel_seekToEndOfFile = objc.registerName("seekToEndOfFile"); +late final _sel_seekToFileOffset_ = objc.registerName("seekToFileOffset:"); +final _objc_msgSend_848 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.UnsignedLongLong offset)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, int)>(); +late final _sel_truncateFileAtOffset_ = + objc.registerName("truncateFileAtOffset:"); +late final _sel_synchronizeFile = objc.registerName("synchronizeFile"); +late final _sel_closeFile = objc.registerName("closeFile"); + class NSHTTPCookieStorage extends NSObject { - NSHTTPCookieStorage._( - ffi.Pointer pointer, - AVFAudio lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSHTTPCookieStorage._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSHTTPCookieStorage] that points to the same underlying object as [other]. - static NSHTTPCookieStorage castFrom( - AVFAudio lib, - T other, - ) { - return NSHTTPCookieStorage._( - other.pointer, - lib, - retain: true, - release: true, - ); + static NSHTTPCookieStorage castFrom(T other) { + return NSHTTPCookieStorage._(other.pointer, retain: true, release: true); } /// Returns a [NSHTTPCookieStorage] that wraps the given raw object pointer. - static NSHTTPCookieStorage castFromPointer( - AVFAudio lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSHTTPCookieStorage._(other, lib, retain: retain, release: release); + static NSHTTPCookieStorage castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSHTTPCookieStorage._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSHTTPCookieStorage]. - static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSHTTPCookieStorage1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0( + obj.pointer, _sel_isKindOfClass_, _class_NSHTTPCookieStorage); } - static NSHTTPCookieStorage getSharedHTTPCookieStorage(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_849( - _lib._class_NSHTTPCookieStorage1, - _lib._sel_sharedHTTPCookieStorage1, - ); - return NSHTTPCookieStorage._(_ret, _lib, retain: true, release: true); + static NSHTTPCookieStorage getSharedHTTPCookieStorage() { + final _ret = _objc_msgSend_849( + _class_NSHTTPCookieStorage, _sel_sharedHTTPCookieStorage); + return NSHTTPCookieStorage._(_ret, retain: true, release: true); } static NSHTTPCookieStorage sharedCookieStorageForGroupContainerIdentifier_( - AVFAudio _lib, - NSString identifier, - ) { - final _ret = _lib._objc_msgSend_850( - _lib._class_NSHTTPCookieStorage1, - _lib._sel_sharedCookieStorageForGroupContainerIdentifier_1, - identifier.pointer, - ); - return NSHTTPCookieStorage._(_ret, _lib, retain: true, release: true); + NSString identifier) { + final _ret = _objc_msgSend_850( + _class_NSHTTPCookieStorage, + _sel_sharedCookieStorageForGroupContainerIdentifier_, + identifier.pointer); + return NSHTTPCookieStorage._(_ret, retain: true, release: true); } NSArray? get cookies { - final _ret = _lib._objc_msgSend_84(this.pointer, _lib._sel_cookies1); + final _ret = _objc_msgSend_84(this.pointer, _sel_cookies); return _ret.address == 0 ? null - : NSArray._(_ret, _lib, retain: true, release: true); + : NSArray._(_ret, retain: true, release: true); } void setCookie_(NSHTTPCookie cookie) { - _lib._objc_msgSend_854(this.pointer, _lib._sel_setCookie_1, cookie.pointer); + _objc_msgSend_854(this.pointer, _sel_setCookie_, cookie.pointer); } void deleteCookie_(NSHTTPCookie cookie) { - _lib._objc_msgSend_854( - this.pointer, - _lib._sel_deleteCookie_1, - cookie.pointer, - ); + _objc_msgSend_854(this.pointer, _sel_deleteCookie_, cookie.pointer); } void removeCookiesSinceDate_(NSDate date) { - _lib._objc_msgSend_540( - this.pointer, - _lib._sel_removeCookiesSinceDate_1, - date.pointer, - ); + _objc_msgSend_540(this.pointer, _sel_removeCookiesSinceDate_, date.pointer); } NSArray? cookiesForURL_(NSURL URL) { - final _ret = _lib._objc_msgSend_133( - this.pointer, - _lib._sel_cookiesForURL_1, - URL.pointer, - ); + final _ret = + _objc_msgSend_133(this.pointer, _sel_cookiesForURL_, URL.pointer); return _ret.address == 0 ? null - : NSArray._(_ret, _lib, retain: true, release: true); + : NSArray._(_ret, retain: true, release: true); } void setCookies_forURL_mainDocumentURL_( - NSArray cookies, - NSURL? URL, - NSURL? mainDocumentURL, - ) { - _lib._objc_msgSend_855( - this.pointer, - _lib._sel_setCookies_forURL_mainDocumentURL_1, - cookies.pointer, - URL?.pointer ?? ffi.nullptr, - mainDocumentURL?.pointer ?? ffi.nullptr, - ); + NSArray cookies, NSURL? URL, NSURL? mainDocumentURL) { + _objc_msgSend_855( + this.pointer, + _sel_setCookies_forURL_mainDocumentURL_, + cookies.pointer, + URL?.pointer ?? ffi.nullptr, + mainDocumentURL?.pointer ?? ffi.nullptr); } int get cookieAcceptPolicy { - return _lib._objc_msgSend_856(this.pointer, _lib._sel_cookieAcceptPolicy1); + return _objc_msgSend_856(this.pointer, _sel_cookieAcceptPolicy); } set cookieAcceptPolicy(int value) { - return _lib._objc_msgSend_857( - this.pointer, - _lib._sel_setCookieAcceptPolicy_1, - value, - ); + return _objc_msgSend_857(this.pointer, _sel_setCookieAcceptPolicy_, value); } NSArray sortedCookiesUsingDescriptors_(NSArray sortOrder) { - final _ret = _lib._objc_msgSend_68( - this.pointer, - _lib._sel_sortedCookiesUsingDescriptors_1, - sortOrder.pointer, - ); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_68( + this.pointer, _sel_sortedCookiesUsingDescriptors_, sortOrder.pointer); + return NSArray._(_ret, retain: true, release: true); } void storeCookies_forTask_(NSArray cookies, NSURLSessionTask task) { - _lib._objc_msgSend_882( - this.pointer, - _lib._sel_storeCookies_forTask_1, - cookies.pointer, - task.pointer, - ); + _objc_msgSend_882(this.pointer, _sel_storeCookies_forTask_, cookies.pointer, + task.pointer); } void getCookiesForTask_completionHandler_( - NSURLSessionTask task, - ObjCBlock_ffiVoid_NSArray completionHandler, - ) { - _lib._objc_msgSend_883( - this.pointer, - _lib._sel_getCookiesForTask_completionHandler_1, - task.pointer, - completionHandler.pointer, - ); + NSURLSessionTask task, ObjCBlock_ffiVoid_NSArray completionHandler) { + _objc_msgSend_883(this.pointer, _sel_getCookiesForTask_completionHandler_, + task.pointer, completionHandler.pointer); } @override NSHTTPCookieStorage init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSHTTPCookieStorage._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSHTTPCookieStorage._(_ret, retain: true, release: true); } - static NSHTTPCookieStorage new1(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSHTTPCookieStorage1, - _lib._sel_new1, - ); - return NSHTTPCookieStorage._(_ret, _lib, retain: false, release: true); + static NSHTTPCookieStorage new1() { + final _ret = _objc_msgSend_2(_class_NSHTTPCookieStorage, _sel_new); + return NSHTTPCookieStorage._(_ret, retain: false, release: true); } - static NSHTTPCookieStorage allocWithZone_( - AVFAudio _lib, - ffi.Pointer<_NSZone> zone, - ) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSHTTPCookieStorage1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSHTTPCookieStorage._(_ret, _lib, retain: false, release: true); + static NSHTTPCookieStorage allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = + _objc_msgSend_3(_class_NSHTTPCookieStorage, _sel_allocWithZone_, zone); + return NSHTTPCookieStorage._(_ret, retain: false, release: true); } - static NSHTTPCookieStorage alloc(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSHTTPCookieStorage1, - _lib._sel_alloc1, - ); - return NSHTTPCookieStorage._(_ret, _lib, retain: false, release: true); + static NSHTTPCookieStorage alloc() { + final _ret = _objc_msgSend_2(_class_NSHTTPCookieStorage, _sel_alloc); + return NSHTTPCookieStorage._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSHTTPCookieStorage1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSHTTPCookieStorage1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSHTTPCookieStorage1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSHTTPCookieStorage1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSHTTPCookieStorage1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSHTTPCookieStorage1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSHTTPCookieStorage, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); } - static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSHTTPCookieStorage1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSHTTPCookieStorage1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSHTTPCookieStorage1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSHTTPCookieStorage, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); + } + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSHTTPCookieStorage, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSHTTPCookieStorage, _sel_useStoredAccessor); } -} + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSHTTPCookieStorage, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSHTTPCookieStorage, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); + } + + static void setKeys_triggerChangeNotificationsForDependentKey_( + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSHTTPCookieStorage, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = _objc_msgSend_85( + _class_NSHTTPCookieStorage, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = _objc_msgSend_2( + _class_NSHTTPCookieStorage, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); + } +} + +late final _class_NSHTTPCookieStorage = objc.getClass("NSHTTPCookieStorage"); +late final _sel_sharedHTTPCookieStorage = + objc.registerName("sharedHTTPCookieStorage"); +final _objc_msgSend_849 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_sharedCookieStorageForGroupContainerIdentifier_ = + objc.registerName("sharedCookieStorageForGroupContainerIdentifier:"); +final _objc_msgSend_850 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer identifier)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_cookies = objc.registerName("cookies"); class NSHTTPCookie extends NSObject { - NSHTTPCookie._( - ffi.Pointer pointer, - AVFAudio lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSHTTPCookie._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSHTTPCookie] that points to the same underlying object as [other]. - static NSHTTPCookie castFrom( - AVFAudio lib, - T other, - ) { - return NSHTTPCookie._(other.pointer, lib, retain: true, release: true); + static NSHTTPCookie castFrom(T other) { + return NSHTTPCookie._(other.pointer, retain: true, release: true); } /// Returns a [NSHTTPCookie] that wraps the given raw object pointer. - static NSHTTPCookie castFromPointer( - AVFAudio lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSHTTPCookie._(other, lib, retain: retain, release: release); + static NSHTTPCookie castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSHTTPCookie._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSHTTPCookie]. - static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSHTTPCookie1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0( + obj.pointer, _sel_isKindOfClass_, _class_NSHTTPCookie); } NSHTTPCookie? initWithProperties_(NSDictionary properties) { - final _ret = _lib._objc_msgSend_851( - this.pointer, - _lib._sel_initWithProperties_1, - properties.pointer, - ); + final _ret = _objc_msgSend_851( + this.pointer, _sel_initWithProperties_, properties.pointer); return _ret.address == 0 ? null - : NSHTTPCookie._(_ret, _lib, retain: true, release: true); + : NSHTTPCookie._(_ret, retain: true, release: true); } - static NSHTTPCookie? cookieWithProperties_( - AVFAudio _lib, - NSDictionary properties, - ) { - final _ret = _lib._objc_msgSend_852( - _lib._class_NSHTTPCookie1, - _lib._sel_cookieWithProperties_1, - properties.pointer, - ); + static NSHTTPCookie? cookieWithProperties_(NSDictionary properties) { + final _ret = _objc_msgSend_852( + _class_NSHTTPCookie, _sel_cookieWithProperties_, properties.pointer); return _ret.address == 0 ? null - : NSHTTPCookie._(_ret, _lib, retain: true, release: true); + : NSHTTPCookie._(_ret, retain: true, release: true); } - static NSDictionary requestHeaderFieldsWithCookies_( - AVFAudio _lib, - NSArray cookies, - ) { - final _ret = _lib._objc_msgSend_508( - _lib._class_NSHTTPCookie1, - _lib._sel_requestHeaderFieldsWithCookies_1, - cookies.pointer, - ); - return NSDictionary._(_ret, _lib, retain: true, release: true); + static NSDictionary requestHeaderFieldsWithCookies_(NSArray cookies) { + final _ret = _objc_msgSend_508(_class_NSHTTPCookie, + _sel_requestHeaderFieldsWithCookies_, cookies.pointer); + return NSDictionary._(_ret, retain: true, release: true); } static NSArray cookiesWithResponseHeaderFields_forURL_( - AVFAudio _lib, - NSDictionary headerFields, - NSURL URL, - ) { - final _ret = _lib._objc_msgSend_853( - _lib._class_NSHTTPCookie1, - _lib._sel_cookiesWithResponseHeaderFields_forURL_1, - headerFields.pointer, - URL.pointer, - ); - return NSArray._(_ret, _lib, retain: true, release: true); + NSDictionary headerFields, NSURL URL) { + final _ret = _objc_msgSend_853( + _class_NSHTTPCookie, + _sel_cookiesWithResponseHeaderFields_forURL_, + headerFields.pointer, + URL.pointer); + return NSArray._(_ret, retain: true, release: true); } NSDictionary? get properties { - final _ret = _lib._objc_msgSend_390(this.pointer, _lib._sel_properties1); + final _ret = _objc_msgSend_390(this.pointer, _sel_properties); return _ret.address == 0 ? null - : NSDictionary._(_ret, _lib, retain: true, release: true); + : NSDictionary._(_ret, retain: true, release: true); } int get version { - return _lib._objc_msgSend_10(this.pointer, _lib._sel_version1); + return _objc_msgSend_10(this.pointer, _sel_version); } NSString get name { - final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_name1); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_name); + return NSString._(_ret, retain: true, release: true); } NSString get value { - final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_value1); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_value); + return NSString._(_ret, retain: true, release: true); } NSDate? get expiresDate { - final _ret = _lib._objc_msgSend_183(this.pointer, _lib._sel_expiresDate1); + final _ret = _objc_msgSend_183(this.pointer, _sel_expiresDate); return _ret.address == 0 ? null - : NSDate._(_ret, _lib, retain: true, release: true); + : NSDate._(_ret, retain: true, release: true); } bool get sessionOnly { - return _lib._objc_msgSend_12(this.pointer, _lib._sel_isSessionOnly1); + return _objc_msgSend_12(this.pointer, _sel_isSessionOnly); } NSString get domain { - final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_domain1); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_domain); + return NSString._(_ret, retain: true, release: true); } NSString get path { - final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_path1); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_path); + return NSString._(_ret, retain: true, release: true); } bool get secure { - return _lib._objc_msgSend_12(this.pointer, _lib._sel_isSecure1); + return _objc_msgSend_12(this.pointer, _sel_isSecure); } bool get HTTPOnly { - return _lib._objc_msgSend_12(this.pointer, _lib._sel_isHTTPOnly1); + return _objc_msgSend_12(this.pointer, _sel_isHTTPOnly); } NSString? get comment { - final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_comment1); + final _ret = _objc_msgSend_44(this.pointer, _sel_comment); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } NSURL? get commentURL { - final _ret = _lib._objc_msgSend_45(this.pointer, _lib._sel_commentURL1); + final _ret = _objc_msgSend_45(this.pointer, _sel_commentURL); return _ret.address == 0 ? null - : NSURL._(_ret, _lib, retain: true, release: true); + : NSURL._(_ret, retain: true, release: true); } NSArray? get portList { - final _ret = _lib._objc_msgSend_84(this.pointer, _lib._sel_portList1); + final _ret = _objc_msgSend_84(this.pointer, _sel_portList); return _ret.address == 0 ? null - : NSArray._(_ret, _lib, retain: true, release: true); + : NSArray._(_ret, retain: true, release: true); } NSString? get sameSitePolicy { - final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_sameSitePolicy1); + final _ret = _objc_msgSend_44(this.pointer, _sel_sameSitePolicy); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } @override NSHTTPCookie init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSHTTPCookie._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSHTTPCookie._(_ret, retain: true, release: true); } - static NSHTTPCookie new1(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSHTTPCookie1, - _lib._sel_new1, - ); - return NSHTTPCookie._(_ret, _lib, retain: false, release: true); + static NSHTTPCookie new1() { + final _ret = _objc_msgSend_2(_class_NSHTTPCookie, _sel_new); + return NSHTTPCookie._(_ret, retain: false, release: true); } - static NSHTTPCookie allocWithZone_(AVFAudio _lib, ffi.Pointer<_NSZone> zone) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSHTTPCookie1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSHTTPCookie._(_ret, _lib, retain: false, release: true); + static NSHTTPCookie allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = + _objc_msgSend_3(_class_NSHTTPCookie, _sel_allocWithZone_, zone); + return NSHTTPCookie._(_ret, retain: false, release: true); } - static NSHTTPCookie alloc(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSHTTPCookie1, - _lib._sel_alloc1, - ); - return NSHTTPCookie._(_ret, _lib, retain: false, release: true); + static NSHTTPCookie alloc() { + final _ret = _objc_msgSend_2(_class_NSHTTPCookie, _sel_alloc); + return NSHTTPCookie._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSHTTPCookie1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSHTTPCookie1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSHTTPCookie1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSHTTPCookie1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSHTTPCookie1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSHTTPCookie1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSHTTPCookie, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); } - static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSHTTPCookie1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSHTTPCookie1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSHTTPCookie1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSHTTPCookie, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); + } + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSHTTPCookie, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSHTTPCookie, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSHTTPCookie, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSHTTPCookie, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); } -} + + static void setKeys_triggerChangeNotificationsForDependentKey_( + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSHTTPCookie, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = _objc_msgSend_85( + _class_NSHTTPCookie, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = + _objc_msgSend_2(_class_NSHTTPCookie, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); + } +} + +late final _class_NSHTTPCookie = objc.getClass("NSHTTPCookie"); +late final _sel_initWithProperties_ = objc.registerName("initWithProperties:"); +final _objc_msgSend_851 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer properties)>>() + .asFunction< + instancetype Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_cookieWithProperties_ = + objc.registerName("cookieWithProperties:"); +final _objc_msgSend_852 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer properties)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_requestHeaderFieldsWithCookies_ = + objc.registerName("requestHeaderFieldsWithCookies:"); +late final _sel_cookiesWithResponseHeaderFields_forURL_ = + objc.registerName("cookiesWithResponseHeaderFields:forURL:"); +final _objc_msgSend_853 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer headerFields, + ffi.Pointer URL)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_properties = objc.registerName("properties"); +late final _sel_value = objc.registerName("value"); +late final _sel_expiresDate = objc.registerName("expiresDate"); +late final _sel_isSessionOnly = objc.registerName("isSessionOnly"); +late final _sel_isSecure = objc.registerName("isSecure"); +late final _sel_isHTTPOnly = objc.registerName("isHTTPOnly"); +late final _sel_comment = objc.registerName("comment"); +late final _sel_commentURL = objc.registerName("commentURL"); +late final _sel_portList = objc.registerName("portList"); +late final _sel_sameSitePolicy = objc.registerName("sameSitePolicy"); +late final _sel_setCookie_ = objc.registerName("setCookie:"); +final _objc_msgSend_854 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer cookie)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_deleteCookie_ = objc.registerName("deleteCookie:"); +late final _sel_removeCookiesSinceDate_ = + objc.registerName("removeCookiesSinceDate:"); +late final _sel_cookiesForURL_ = objc.registerName("cookiesForURL:"); +late final _sel_setCookies_forURL_mainDocumentURL_ = + objc.registerName("setCookies:forURL:mainDocumentURL:"); +final _objc_msgSend_855 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer cookies, + ffi.Pointer URL, + ffi.Pointer mainDocumentURL)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); abstract class NSHTTPCookieAcceptPolicy { static const int NSHTTPCookieAcceptPolicyAlways = 0; @@ -77113,696 +42288,520 @@ abstract class NSHTTPCookieAcceptPolicy { static const int NSHTTPCookieAcceptPolicyOnlyFromMainDocumentDomain = 2; } +late final _sel_cookieAcceptPolicy = objc.registerName("cookieAcceptPolicy"); +final _objc_msgSend_856 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + int Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_setCookieAcceptPolicy_ = + objc.registerName("setCookieAcceptPolicy:"); +final _objc_msgSend_857 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer obj, + ffi.Pointer sel, ffi.Int32 value)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, int)>(); +late final _sel_sortedCookiesUsingDescriptors_ = + objc.registerName("sortedCookiesUsingDescriptors:"); + class NSURLSessionTask extends NSObject { - NSURLSessionTask._( - ffi.Pointer pointer, - AVFAudio lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSURLSessionTask._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSURLSessionTask] that points to the same underlying object as [other]. - static NSURLSessionTask castFrom( - AVFAudio lib, - T other, - ) { - return NSURLSessionTask._(other.pointer, lib, retain: true, release: true); + static NSURLSessionTask castFrom(T other) { + return NSURLSessionTask._(other.pointer, retain: true, release: true); } /// Returns a [NSURLSessionTask] that wraps the given raw object pointer. - static NSURLSessionTask castFromPointer( - AVFAudio lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSURLSessionTask._(other, lib, retain: retain, release: release); + static NSURLSessionTask castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSURLSessionTask._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSURLSessionTask]. - static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSURLSessionTask1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0( + obj.pointer, _sel_isKindOfClass_, _class_NSURLSessionTask); } int get taskIdentifier { - return _lib._objc_msgSend_10(this.pointer, _lib._sel_taskIdentifier1); + return _objc_msgSend_10(this.pointer, _sel_taskIdentifier); } NSURLRequest? get originalRequest { - final _ret = _lib._objc_msgSend_876( - this.pointer, - _lib._sel_originalRequest1, - ); + final _ret = _objc_msgSend_876(this.pointer, _sel_originalRequest); return _ret.address == 0 ? null - : NSURLRequest._(_ret, _lib, retain: true, release: true); + : NSURLRequest._(_ret, retain: true, release: true); } NSURLRequest? get currentRequest { - final _ret = _lib._objc_msgSend_876( - this.pointer, - _lib._sel_currentRequest1, - ); + final _ret = _objc_msgSend_876(this.pointer, _sel_currentRequest); return _ret.address == 0 ? null - : NSURLRequest._(_ret, _lib, retain: true, release: true); + : NSURLRequest._(_ret, retain: true, release: true); } NSURLResponse? get response { - final _ret = _lib._objc_msgSend_878(this.pointer, _lib._sel_response1); + final _ret = _objc_msgSend_878(this.pointer, _sel_response); return _ret.address == 0 ? null - : NSURLResponse._(_ret, _lib, retain: true, release: true); + : NSURLResponse._(_ret, retain: true, release: true); } NSObject? get delegate { - final _ret = _lib._objc_msgSend_17(this.pointer, _lib._sel_delegate1); + final _ret = _objc_msgSend_17(this.pointer, _sel_delegate); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } set delegate(NSObject? value) { - return _lib._objc_msgSend_416( - this.pointer, - _lib._sel_setDelegate_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_416( + this.pointer, _sel_setDelegate_, value?.pointer ?? ffi.nullptr); } NSProgress get progress { - final _ret = _lib._objc_msgSend_879(this.pointer, _lib._sel_progress1); - return NSProgress._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_879(this.pointer, _sel_progress); + return NSProgress._(_ret, retain: true, release: true); } NSDate? get earliestBeginDate { - final _ret = _lib._objc_msgSend_183( - this.pointer, - _lib._sel_earliestBeginDate1, - ); + final _ret = _objc_msgSend_183(this.pointer, _sel_earliestBeginDate); return _ret.address == 0 ? null - : NSDate._(_ret, _lib, retain: true, release: true); + : NSDate._(_ret, retain: true, release: true); } set earliestBeginDate(NSDate? value) { - return _lib._objc_msgSend_800( - this.pointer, - _lib._sel_setEarliestBeginDate_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_800(this.pointer, _sel_setEarliestBeginDate_, + value?.pointer ?? ffi.nullptr); } int get countOfBytesClientExpectsToSend { - return _lib._objc_msgSend_666( - this.pointer, - _lib._sel_countOfBytesClientExpectsToSend1, - ); + return _objc_msgSend_666( + this.pointer, _sel_countOfBytesClientExpectsToSend); } set countOfBytesClientExpectsToSend(int value) { - return _lib._objc_msgSend_667( - this.pointer, - _lib._sel_setCountOfBytesClientExpectsToSend_1, - value, - ); + return _objc_msgSend_667( + this.pointer, _sel_setCountOfBytesClientExpectsToSend_, value); } int get countOfBytesClientExpectsToReceive { - return _lib._objc_msgSend_666( - this.pointer, - _lib._sel_countOfBytesClientExpectsToReceive1, - ); + return _objc_msgSend_666( + this.pointer, _sel_countOfBytesClientExpectsToReceive); } set countOfBytesClientExpectsToReceive(int value) { - return _lib._objc_msgSend_667( - this.pointer, - _lib._sel_setCountOfBytesClientExpectsToReceive_1, - value, - ); + return _objc_msgSend_667( + this.pointer, _sel_setCountOfBytesClientExpectsToReceive_, value); } int get countOfBytesSent { - return _lib._objc_msgSend_666(this.pointer, _lib._sel_countOfBytesSent1); + return _objc_msgSend_666(this.pointer, _sel_countOfBytesSent); } int get countOfBytesReceived { - return _lib._objc_msgSend_666( - this.pointer, - _lib._sel_countOfBytesReceived1, - ); + return _objc_msgSend_666(this.pointer, _sel_countOfBytesReceived); } int get countOfBytesExpectedToSend { - return _lib._objc_msgSend_666( - this.pointer, - _lib._sel_countOfBytesExpectedToSend1, - ); + return _objc_msgSend_666(this.pointer, _sel_countOfBytesExpectedToSend); } int get countOfBytesExpectedToReceive { - return _lib._objc_msgSend_666( - this.pointer, - _lib._sel_countOfBytesExpectedToReceive1, - ); + return _objc_msgSend_666(this.pointer, _sel_countOfBytesExpectedToReceive); } NSString? get taskDescription { - final _ret = _lib._objc_msgSend_44( - this.pointer, - _lib._sel_taskDescription1, - ); + final _ret = _objc_msgSend_44(this.pointer, _sel_taskDescription); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } set taskDescription(NSString? value) { - return _lib._objc_msgSend_545( - this.pointer, - _lib._sel_setTaskDescription_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_545( + this.pointer, _sel_setTaskDescription_, value?.pointer ?? ffi.nullptr); } void cancel() { - _lib._objc_msgSend_1(this.pointer, _lib._sel_cancel1); + _objc_msgSend_1(this.pointer, _sel_cancel); } int get state { - return _lib._objc_msgSend_880(this.pointer, _lib._sel_state1); + return _objc_msgSend_880(this.pointer, _sel_state); } NSError? get error { - final _ret = _lib._objc_msgSend_322(this.pointer, _lib._sel_error1); + final _ret = _objc_msgSend_322(this.pointer, _sel_error); return _ret.address == 0 ? null - : NSError._(_ret, _lib, retain: true, release: true); + : NSError._(_ret, retain: true, release: true); } void suspend() { - _lib._objc_msgSend_1(this.pointer, _lib._sel_suspend1); + _objc_msgSend_1(this.pointer, _sel_suspend); } void resume() { - _lib._objc_msgSend_1(this.pointer, _lib._sel_resume1); + _objc_msgSend_1(this.pointer, _sel_resume); } double get priority { return objc.useMsgSendVariants - ? _lib._objc_msgSend_239_fpret(this.pointer, _lib._sel_priority1) - : _lib._objc_msgSend_239(this.pointer, _lib._sel_priority1); + ? _objc_msgSend_239Fpret(this.pointer, _sel_priority) + : _objc_msgSend_239(this.pointer, _sel_priority); } set priority(double value) { - return _lib._objc_msgSend_881(this.pointer, _lib._sel_setPriority_1, value); + return _objc_msgSend_881(this.pointer, _sel_setPriority_, value); } bool get prefersIncrementalDelivery { - return _lib._objc_msgSend_12( - this.pointer, - _lib._sel_prefersIncrementalDelivery1, - ); + return _objc_msgSend_12(this.pointer, _sel_prefersIncrementalDelivery); } set prefersIncrementalDelivery(bool value) { - return _lib._objc_msgSend_527( - this.pointer, - _lib._sel_setPrefersIncrementalDelivery_1, - value, - ); + return _objc_msgSend_527( + this.pointer, _sel_setPrefersIncrementalDelivery_, value); } @override NSURLSessionTask init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSURLSessionTask._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSURLSessionTask._(_ret, retain: true, release: true); } - static NSURLSessionTask new1(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLSessionTask1, - _lib._sel_new1, - ); - return NSURLSessionTask._(_ret, _lib, retain: false, release: true); + static NSURLSessionTask new1() { + final _ret = _objc_msgSend_2(_class_NSURLSessionTask, _sel_new); + return NSURLSessionTask._(_ret, retain: false, release: true); } - static NSURLSessionTask allocWithZone_( - AVFAudio _lib, - ffi.Pointer<_NSZone> zone, - ) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSURLSessionTask1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSURLSessionTask._(_ret, _lib, retain: false, release: true); + static NSURLSessionTask allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = + _objc_msgSend_3(_class_NSURLSessionTask, _sel_allocWithZone_, zone); + return NSURLSessionTask._(_ret, retain: false, release: true); } - static NSURLSessionTask alloc(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLSessionTask1, - _lib._sel_alloc1, - ); - return NSURLSessionTask._(_ret, _lib, retain: false, release: true); + static NSURLSessionTask alloc() { + final _ret = _objc_msgSend_2(_class_NSURLSessionTask, _sel_alloc); + return NSURLSessionTask._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSURLSessionTask1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSURLSessionTask1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSURLSessionTask1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSURLSessionTask1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSURLSessionTask1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSURLSessionTask1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSURLSessionTask, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); + } + + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSURLSessionTask, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); + } + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSURLSessionTask, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSURLSessionTask, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSURLSessionTask, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSURLSessionTask, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); } static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSURLSessionTask1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSURLSessionTask1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLSessionTask1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSURLSessionTask, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = _objc_msgSend_85( + _class_NSURLSessionTask, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = + _objc_msgSend_2(_class_NSURLSessionTask, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); } } +late final _class_NSURLSessionTask = objc.getClass("NSURLSessionTask"); +late final _sel_taskIdentifier = objc.registerName("taskIdentifier"); + class NSURLRequest extends NSObject { - NSURLRequest._( - ffi.Pointer pointer, - AVFAudio lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSURLRequest._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSURLRequest] that points to the same underlying object as [other]. - static NSURLRequest castFrom( - AVFAudio lib, - T other, - ) { - return NSURLRequest._(other.pointer, lib, retain: true, release: true); + static NSURLRequest castFrom(T other) { + return NSURLRequest._(other.pointer, retain: true, release: true); } /// Returns a [NSURLRequest] that wraps the given raw object pointer. - static NSURLRequest castFromPointer( - AVFAudio lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSURLRequest._(other, lib, retain: retain, release: release); + static NSURLRequest castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSURLRequest._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSURLRequest]. - static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSURLRequest1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0( + obj.pointer, _sel_isKindOfClass_, _class_NSURLRequest); } - static NSURLRequest requestWithURL_(AVFAudio _lib, NSURL URL) { - final _ret = _lib._objc_msgSend_262( - _lib._class_NSURLRequest1, - _lib._sel_requestWithURL_1, - URL.pointer, - ); - return NSURLRequest._(_ret, _lib, retain: true, release: true); + static NSURLRequest requestWithURL_(NSURL URL) { + final _ret = _objc_msgSend_262( + _class_NSURLRequest, _sel_requestWithURL_, URL.pointer); + return NSURLRequest._(_ret, retain: true, release: true); } - static bool getSupportsSecureCoding(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSURLRequest1, - _lib._sel_supportsSecureCoding1, - ); + static bool getSupportsSecureCoding() { + return _objc_msgSend_12(_class_NSURLRequest, _sel_supportsSecureCoding); } static NSURLRequest requestWithURL_cachePolicy_timeoutInterval_( - AVFAudio _lib, - NSURL URL, - int cachePolicy, - double timeoutInterval, - ) { - final _ret = _lib._objc_msgSend_858( - _lib._class_NSURLRequest1, - _lib._sel_requestWithURL_cachePolicy_timeoutInterval_1, - URL.pointer, - cachePolicy, - timeoutInterval, - ); - return NSURLRequest._(_ret, _lib, retain: true, release: true); + NSURL URL, int cachePolicy, double timeoutInterval) { + final _ret = _objc_msgSend_858( + _class_NSURLRequest, + _sel_requestWithURL_cachePolicy_timeoutInterval_, + URL.pointer, + cachePolicy, + timeoutInterval); + return NSURLRequest._(_ret, retain: true, release: true); } NSURLRequest initWithURL_(NSURL URL) { - final _ret = _lib._objc_msgSend_262( - this.pointer, - _lib._sel_initWithURL_1, - URL.pointer, - ); - return NSURLRequest._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_262(this.pointer, _sel_initWithURL_, URL.pointer); + return NSURLRequest._(_ret, retain: true, release: true); } NSURLRequest initWithURL_cachePolicy_timeoutInterval_( - NSURL URL, - int cachePolicy, - double timeoutInterval, - ) { - final _ret = _lib._objc_msgSend_858( - this.pointer, - _lib._sel_initWithURL_cachePolicy_timeoutInterval_1, - URL.pointer, - cachePolicy, - timeoutInterval, - ); - return NSURLRequest._(_ret, _lib, retain: true, release: true); + NSURL URL, int cachePolicy, double timeoutInterval) { + final _ret = _objc_msgSend_858( + this.pointer, + _sel_initWithURL_cachePolicy_timeoutInterval_, + URL.pointer, + cachePolicy, + timeoutInterval); + return NSURLRequest._(_ret, retain: true, release: true); } NSURL? get URL { - final _ret = _lib._objc_msgSend_45(this.pointer, _lib._sel_URL1); + final _ret = _objc_msgSend_45(this.pointer, _sel_URL); return _ret.address == 0 ? null - : NSURL._(_ret, _lib, retain: true, release: true); + : NSURL._(_ret, retain: true, release: true); } int get cachePolicy { - return _lib._objc_msgSend_859(this.pointer, _lib._sel_cachePolicy1); + return _objc_msgSend_859(this.pointer, _sel_cachePolicy); } double get timeoutInterval { return objc.useMsgSendVariants - ? _lib._objc_msgSend_165_fpret(this.pointer, _lib._sel_timeoutInterval1) - : _lib._objc_msgSend_165(this.pointer, _lib._sel_timeoutInterval1); + ? _objc_msgSend_165Fpret(this.pointer, _sel_timeoutInterval) + : _objc_msgSend_165(this.pointer, _sel_timeoutInterval); } NSURL? get mainDocumentURL { - final _ret = _lib._objc_msgSend_45( - this.pointer, - _lib._sel_mainDocumentURL1, - ); + final _ret = _objc_msgSend_45(this.pointer, _sel_mainDocumentURL); return _ret.address == 0 ? null - : NSURL._(_ret, _lib, retain: true, release: true); + : NSURL._(_ret, retain: true, release: true); } int get networkServiceType { - return _lib._objc_msgSend_860(this.pointer, _lib._sel_networkServiceType1); + return _objc_msgSend_860(this.pointer, _sel_networkServiceType); } bool get allowsCellularAccess { - return _lib._objc_msgSend_12(this.pointer, _lib._sel_allowsCellularAccess1); + return _objc_msgSend_12(this.pointer, _sel_allowsCellularAccess); } bool get allowsExpensiveNetworkAccess { - return _lib._objc_msgSend_12( - this.pointer, - _lib._sel_allowsExpensiveNetworkAccess1, - ); + return _objc_msgSend_12(this.pointer, _sel_allowsExpensiveNetworkAccess); } bool get allowsConstrainedNetworkAccess { - return _lib._objc_msgSend_12( - this.pointer, - _lib._sel_allowsConstrainedNetworkAccess1, - ); + return _objc_msgSend_12(this.pointer, _sel_allowsConstrainedNetworkAccess); } bool get assumesHTTP3Capable { - return _lib._objc_msgSend_12(this.pointer, _lib._sel_assumesHTTP3Capable1); + return _objc_msgSend_12(this.pointer, _sel_assumesHTTP3Capable); } int get attribution { - return _lib._objc_msgSend_861(this.pointer, _lib._sel_attribution1); + return _objc_msgSend_861(this.pointer, _sel_attribution); } bool get requiresDNSSECValidation { - return _lib._objc_msgSend_12( - this.pointer, - _lib._sel_requiresDNSSECValidation1, - ); + return _objc_msgSend_12(this.pointer, _sel_requiresDNSSECValidation); } NSString? get HTTPMethod { - final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_HTTPMethod1); + final _ret = _objc_msgSend_44(this.pointer, _sel_HTTPMethod); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } NSDictionary? get allHTTPHeaderFields { - final _ret = _lib._objc_msgSend_390( - this.pointer, - _lib._sel_allHTTPHeaderFields1, - ); + final _ret = _objc_msgSend_390(this.pointer, _sel_allHTTPHeaderFields); return _ret.address == 0 ? null - : NSDictionary._(_ret, _lib, retain: true, release: true); + : NSDictionary._(_ret, retain: true, release: true); } NSString? valueForHTTPHeaderField_(NSString field) { - final _ret = _lib._objc_msgSend_186( - this.pointer, - _lib._sel_valueForHTTPHeaderField_1, - field.pointer, - ); + final _ret = _objc_msgSend_186( + this.pointer, _sel_valueForHTTPHeaderField_, field.pointer); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } NSData? get HTTPBody { - final _ret = _lib._objc_msgSend_286(this.pointer, _lib._sel_HTTPBody1); + final _ret = _objc_msgSend_286(this.pointer, _sel_HTTPBody); return _ret.address == 0 ? null - : NSData._(_ret, _lib, retain: true, release: true); + : NSData._(_ret, retain: true, release: true); } NSInputStream? get HTTPBodyStream { - final _ret = _lib._objc_msgSend_875( - this.pointer, - _lib._sel_HTTPBodyStream1, - ); + final _ret = _objc_msgSend_875(this.pointer, _sel_HTTPBodyStream); return _ret.address == 0 ? null - : NSInputStream._(_ret, _lib, retain: true, release: true); + : NSInputStream._(_ret, retain: true, release: true); } bool get HTTPShouldHandleCookies { - return _lib._objc_msgSend_12( - this.pointer, - _lib._sel_HTTPShouldHandleCookies1, - ); + return _objc_msgSend_12(this.pointer, _sel_HTTPShouldHandleCookies); } bool get HTTPShouldUsePipelining { - return _lib._objc_msgSend_12( - this.pointer, - _lib._sel_HTTPShouldUsePipelining1, - ); + return _objc_msgSend_12(this.pointer, _sel_HTTPShouldUsePipelining); } @override NSURLRequest init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSURLRequest._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSURLRequest._(_ret, retain: true, release: true); } - static NSURLRequest new1(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLRequest1, - _lib._sel_new1, - ); - return NSURLRequest._(_ret, _lib, retain: false, release: true); + static NSURLRequest new1() { + final _ret = _objc_msgSend_2(_class_NSURLRequest, _sel_new); + return NSURLRequest._(_ret, retain: false, release: true); } - static NSURLRequest allocWithZone_(AVFAudio _lib, ffi.Pointer<_NSZone> zone) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSURLRequest1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSURLRequest._(_ret, _lib, retain: false, release: true); + static NSURLRequest allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = + _objc_msgSend_3(_class_NSURLRequest, _sel_allocWithZone_, zone); + return NSURLRequest._(_ret, retain: false, release: true); } - static NSURLRequest alloc(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLRequest1, - _lib._sel_alloc1, - ); - return NSURLRequest._(_ret, _lib, retain: false, release: true); + static NSURLRequest alloc() { + final _ret = _objc_msgSend_2(_class_NSURLRequest, _sel_alloc); + return NSURLRequest._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSURLRequest1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSURLRequest1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSURLRequest1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSURLRequest1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSURLRequest1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSURLRequest1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSURLRequest, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); + } + + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSURLRequest, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); + } + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSURLRequest, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSURLRequest, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSURLRequest, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSURLRequest, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); } static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSURLRequest1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSURLRequest1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLRequest1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSURLRequest, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = _objc_msgSend_85( + _class_NSURLRequest, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = + _objc_msgSend_2(_class_NSURLRequest, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); } } +late final _class_NSURLRequest = objc.getClass("NSURLRequest"); +late final _sel_requestWithURL_ = objc.registerName("requestWithURL:"); +late final _sel_supportsSecureCoding = + objc.registerName("supportsSecureCoding"); + abstract class NSURLRequestCachePolicy { static const int NSURLRequestUseProtocolCachePolicy = 0; static const int NSURLRequestReloadIgnoringLocalCacheData = 1; @@ -77813,6 +42812,39 @@ abstract class NSURLRequestCachePolicy { static const int NSURLRequestReloadRevalidatingCacheData = 5; } +late final _sel_requestWithURL_cachePolicy_timeoutInterval_ = + objc.registerName("requestWithURL:cachePolicy:timeoutInterval:"); +final _objc_msgSend_858 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer URL, + ffi.Int32 cachePolicy, + ffi.Double timeoutInterval)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + double)>(); +late final _sel_initWithURL_cachePolicy_timeoutInterval_ = + objc.registerName("initWithURL:cachePolicy:timeoutInterval:"); +late final _sel_URL = objc.registerName("URL"); +late final _sel_cachePolicy = objc.registerName("cachePolicy"); +final _objc_msgSend_859 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + int Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_timeoutInterval = objc.registerName("timeoutInterval"); +late final _sel_mainDocumentURL = objc.registerName("mainDocumentURL"); + abstract class NSURLRequestNetworkServiceType { static const int NSURLNetworkServiceTypeDefault = 0; static const int NSURLNetworkServiceTypeVoIP = 1; @@ -77825,587 +42857,460 @@ abstract class NSURLRequestNetworkServiceType { static const int NSURLNetworkServiceTypeCallSignaling = 11; } +late final _sel_networkServiceType = objc.registerName("networkServiceType"); +final _objc_msgSend_860 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + int Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_allowsCellularAccess = + objc.registerName("allowsCellularAccess"); +late final _sel_allowsExpensiveNetworkAccess = + objc.registerName("allowsExpensiveNetworkAccess"); +late final _sel_allowsConstrainedNetworkAccess = + objc.registerName("allowsConstrainedNetworkAccess"); +late final _sel_assumesHTTP3Capable = objc.registerName("assumesHTTP3Capable"); + abstract class NSURLRequestAttribution { static const int NSURLRequestAttributionDeveloper = 0; static const int NSURLRequestAttributionUser = 1; } +late final _sel_attribution = objc.registerName("attribution"); +final _objc_msgSend_861 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + int Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_requiresDNSSECValidation = + objc.registerName("requiresDNSSECValidation"); +late final _sel_HTTPMethod = objc.registerName("HTTPMethod"); +late final _sel_allHTTPHeaderFields = objc.registerName("allHTTPHeaderFields"); +late final _sel_valueForHTTPHeaderField_ = + objc.registerName("valueForHTTPHeaderField:"); +late final _sel_HTTPBody = objc.registerName("HTTPBody"); + class NSInputStream extends NSStream { - NSInputStream._( - ffi.Pointer pointer, - AVFAudio lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSInputStream._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSInputStream] that points to the same underlying object as [other]. - static NSInputStream castFrom( - AVFAudio lib, - T other, - ) { - return NSInputStream._(other.pointer, lib, retain: true, release: true); + static NSInputStream castFrom(T other) { + return NSInputStream._(other.pointer, retain: true, release: true); } /// Returns a [NSInputStream] that wraps the given raw object pointer. - static NSInputStream castFromPointer( - AVFAudio lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSInputStream._(other, lib, retain: retain, release: release); + static NSInputStream castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSInputStream._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSInputStream]. - static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSInputStream1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0( + obj.pointer, _sel_isKindOfClass_, _class_NSInputStream); } int read_maxLength_(ffi.Pointer buffer, int len) { - return _lib._objc_msgSend_864( - this.pointer, - _lib._sel_read_maxLength_1, - buffer, - len, - ); - } - - bool getBuffer_length_( - ffi.Pointer> buffer, - ffi.Pointer len, - ) { - return _lib._objc_msgSend_873( - this.pointer, - _lib._sel_getBuffer_length_1, - buffer, - len, - ); + return _objc_msgSend_864(this.pointer, _sel_read_maxLength_, buffer, len); + } + + bool getBuffer_length_(ffi.Pointer> buffer, + ffi.Pointer len) { + return _objc_msgSend_873(this.pointer, _sel_getBuffer_length_, buffer, len); } bool get hasBytesAvailable { - return _lib._objc_msgSend_12(this.pointer, _lib._sel_hasBytesAvailable1); + return _objc_msgSend_12(this.pointer, _sel_hasBytesAvailable); } NSInputStream initWithData_(NSData data) { - final _ret = _lib._objc_msgSend_279( - this.pointer, - _lib._sel_initWithData_1, - data.pointer, - ); - return NSInputStream._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_279(this.pointer, _sel_initWithData_, data.pointer); + return NSInputStream._(_ret, retain: true, release: true); } NSInputStream? initWithURL_(NSURL url) { - final _ret = _lib._objc_msgSend_277( - this.pointer, - _lib._sel_initWithURL_1, - url.pointer, - ); + final _ret = + _objc_msgSend_277(this.pointer, _sel_initWithURL_, url.pointer); return _ret.address == 0 ? null - : NSInputStream._(_ret, _lib, retain: true, release: true); + : NSInputStream._(_ret, retain: true, release: true); } NSInputStream? initWithFileAtPath_(NSString path) { - final _ret = _lib._objc_msgSend_38( - this.pointer, - _lib._sel_initWithFileAtPath_1, - path.pointer, - ); + final _ret = + _objc_msgSend_38(this.pointer, _sel_initWithFileAtPath_, path.pointer); return _ret.address == 0 ? null - : NSInputStream._(_ret, _lib, retain: true, release: true); + : NSInputStream._(_ret, retain: true, release: true); } - static NSInputStream? inputStreamWithData_(AVFAudio _lib, NSData data) { - final _ret = _lib._objc_msgSend_874( - _lib._class_NSInputStream1, - _lib._sel_inputStreamWithData_1, - data.pointer, - ); + static NSInputStream? inputStreamWithData_(NSData data) { + final _ret = _objc_msgSend_874( + _class_NSInputStream, _sel_inputStreamWithData_, data.pointer); return _ret.address == 0 ? null - : NSInputStream._(_ret, _lib, retain: true, release: true); + : NSInputStream._(_ret, retain: true, release: true); } - static NSInputStream? inputStreamWithFileAtPath_( - AVFAudio _lib, - NSString path, - ) { - final _ret = _lib._objc_msgSend_38( - _lib._class_NSInputStream1, - _lib._sel_inputStreamWithFileAtPath_1, - path.pointer, - ); + static NSInputStream? inputStreamWithFileAtPath_(NSString path) { + final _ret = _objc_msgSend_38( + _class_NSInputStream, _sel_inputStreamWithFileAtPath_, path.pointer); return _ret.address == 0 ? null - : NSInputStream._(_ret, _lib, retain: true, release: true); + : NSInputStream._(_ret, retain: true, release: true); } - static NSInputStream? inputStreamWithURL_(AVFAudio _lib, NSURL url) { - final _ret = _lib._objc_msgSend_277( - _lib._class_NSInputStream1, - _lib._sel_inputStreamWithURL_1, - url.pointer, - ); + static NSInputStream? inputStreamWithURL_(NSURL url) { + final _ret = _objc_msgSend_277( + _class_NSInputStream, _sel_inputStreamWithURL_, url.pointer); return _ret.address == 0 ? null - : NSInputStream._(_ret, _lib, retain: true, release: true); + : NSInputStream._(_ret, retain: true, release: true); } static void getStreamsToHostWithName_port_inputStream_outputStream_( - AVFAudio _lib, - NSString hostname, - int port, - ffi.Pointer> inputStream, - ffi.Pointer> outputStream, - ) { - _lib._objc_msgSend_867( - _lib._class_NSInputStream1, - _lib._sel_getStreamsToHostWithName_port_inputStream_outputStream_1, - hostname.pointer, - port, - inputStream, - outputStream, - ); + NSString hostname, + int port, + ffi.Pointer> inputStream, + ffi.Pointer> outputStream) { + _objc_msgSend_867( + _class_NSInputStream, + _sel_getStreamsToHostWithName_port_inputStream_outputStream_, + hostname.pointer, + port, + inputStream, + outputStream); } static void getStreamsToHost_port_inputStream_outputStream_( - AVFAudio _lib, - NSHost host, - int port, - ffi.Pointer> inputStream, - ffi.Pointer> outputStream, - ) { - _lib._objc_msgSend_871( - _lib._class_NSInputStream1, - _lib._sel_getStreamsToHost_port_inputStream_outputStream_1, - host.pointer, - port, - inputStream, - outputStream, - ); + NSHost host, + int port, + ffi.Pointer> inputStream, + ffi.Pointer> outputStream) { + _objc_msgSend_871( + _class_NSInputStream, + _sel_getStreamsToHost_port_inputStream_outputStream_, + host.pointer, + port, + inputStream, + outputStream); } static void getBoundStreamsWithBufferSize_inputStream_outputStream_( - AVFAudio _lib, - int bufferSize, - ffi.Pointer> inputStream, - ffi.Pointer> outputStream, - ) { - _lib._objc_msgSend_872( - _lib._class_NSInputStream1, - _lib._sel_getBoundStreamsWithBufferSize_inputStream_outputStream_1, - bufferSize, - inputStream, - outputStream, - ); + int bufferSize, + ffi.Pointer> inputStream, + ffi.Pointer> outputStream) { + _objc_msgSend_872( + _class_NSInputStream, + _sel_getBoundStreamsWithBufferSize_inputStream_outputStream_, + bufferSize, + inputStream, + outputStream); } @override NSInputStream init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSInputStream._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSInputStream._(_ret, retain: true, release: true); } - static NSInputStream new1(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSInputStream1, - _lib._sel_new1, - ); - return NSInputStream._(_ret, _lib, retain: false, release: true); + static NSInputStream new1() { + final _ret = _objc_msgSend_2(_class_NSInputStream, _sel_new); + return NSInputStream._(_ret, retain: false, release: true); } - static NSInputStream allocWithZone_( - AVFAudio _lib, - ffi.Pointer<_NSZone> zone, - ) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSInputStream1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSInputStream._(_ret, _lib, retain: false, release: true); + static NSInputStream allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = + _objc_msgSend_3(_class_NSInputStream, _sel_allocWithZone_, zone); + return NSInputStream._(_ret, retain: false, release: true); } - static NSInputStream alloc(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSInputStream1, - _lib._sel_alloc1, - ); - return NSInputStream._(_ret, _lib, retain: false, release: true); + static NSInputStream alloc() { + final _ret = _objc_msgSend_2(_class_NSInputStream, _sel_alloc); + return NSInputStream._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSInputStream1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSInputStream1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSInputStream1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSInputStream1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSInputStream1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSInputStream1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSInputStream, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); + } + + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSInputStream, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); + } + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSInputStream, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSInputStream, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSInputStream, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSInputStream, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); } static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSInputStream1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSInputStream1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSInputStream1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSInputStream, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = _objc_msgSend_85( + _class_NSInputStream, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = + _objc_msgSend_2(_class_NSInputStream, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); } } +late final _class_NSInputStream = objc.getClass("NSInputStream"); + class NSStream extends NSObject { - NSStream._( - ffi.Pointer pointer, - AVFAudio lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSStream._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSStream] that points to the same underlying object as [other]. - static NSStream castFrom( - AVFAudio lib, - T other, - ) { - return NSStream._(other.pointer, lib, retain: true, release: true); + static NSStream castFrom(T other) { + return NSStream._(other.pointer, retain: true, release: true); } /// Returns a [NSStream] that wraps the given raw object pointer. - static NSStream castFromPointer( - AVFAudio lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSStream._(other, lib, retain: retain, release: release); + static NSStream castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSStream._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSStream]. - static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSStream1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0(obj.pointer, _sel_isKindOfClass_, _class_NSStream); } void open() { - _lib._objc_msgSend_1(this.pointer, _lib._sel_open1); + _objc_msgSend_1(this.pointer, _sel_open); } void close() { - _lib._objc_msgSend_1(this.pointer, _lib._sel_close1); + _objc_msgSend_1(this.pointer, _sel_close); } NSObject? get delegate { - final _ret = _lib._objc_msgSend_17(this.pointer, _lib._sel_delegate1); + final _ret = _objc_msgSend_17(this.pointer, _sel_delegate); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } set delegate(NSObject? value) { - return _lib._objc_msgSend_416( - this.pointer, - _lib._sel_setDelegate_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_416( + this.pointer, _sel_setDelegate_, value?.pointer ?? ffi.nullptr); } NSObject? propertyForKey_(NSString key) { - final _ret = _lib._objc_msgSend_38( - this.pointer, - _lib._sel_propertyForKey_1, - key.pointer, - ); + final _ret = + _objc_msgSend_38(this.pointer, _sel_propertyForKey_, key.pointer); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } bool setProperty_forKey_(NSObject? property, NSString key) { - return _lib._objc_msgSend_862( - this.pointer, - _lib._sel_setProperty_forKey_1, - property?.pointer ?? ffi.nullptr, - key.pointer, - ); + return _objc_msgSend_862(this.pointer, _sel_setProperty_forKey_, + property?.pointer ?? ffi.nullptr, key.pointer); } void scheduleInRunLoop_forMode_(NSRunLoop aRunLoop, NSString mode) { - _lib._objc_msgSend_569( - this.pointer, - _lib._sel_scheduleInRunLoop_forMode_1, - aRunLoop.pointer, - mode.pointer, - ); + _objc_msgSend_569(this.pointer, _sel_scheduleInRunLoop_forMode_, + aRunLoop.pointer, mode.pointer); } void removeFromRunLoop_forMode_(NSRunLoop aRunLoop, NSString mode) { - _lib._objc_msgSend_569( - this.pointer, - _lib._sel_removeFromRunLoop_forMode_1, - aRunLoop.pointer, - mode.pointer, - ); + _objc_msgSend_569(this.pointer, _sel_removeFromRunLoop_forMode_, + aRunLoop.pointer, mode.pointer); } int get streamStatus { - return _lib._objc_msgSend_863(this.pointer, _lib._sel_streamStatus1); + return _objc_msgSend_863(this.pointer, _sel_streamStatus); } NSError? get streamError { - final _ret = _lib._objc_msgSend_322(this.pointer, _lib._sel_streamError1); + final _ret = _objc_msgSend_322(this.pointer, _sel_streamError); return _ret.address == 0 ? null - : NSError._(_ret, _lib, retain: true, release: true); + : NSError._(_ret, retain: true, release: true); } static void getStreamsToHostWithName_port_inputStream_outputStream_( - AVFAudio _lib, - NSString hostname, - int port, - ffi.Pointer> inputStream, - ffi.Pointer> outputStream, - ) { - _lib._objc_msgSend_867( - _lib._class_NSStream1, - _lib._sel_getStreamsToHostWithName_port_inputStream_outputStream_1, - hostname.pointer, - port, - inputStream, - outputStream, - ); + NSString hostname, + int port, + ffi.Pointer> inputStream, + ffi.Pointer> outputStream) { + _objc_msgSend_867( + _class_NSStream, + _sel_getStreamsToHostWithName_port_inputStream_outputStream_, + hostname.pointer, + port, + inputStream, + outputStream); } static void getStreamsToHost_port_inputStream_outputStream_( - AVFAudio _lib, - NSHost host, - int port, - ffi.Pointer> inputStream, - ffi.Pointer> outputStream, - ) { - _lib._objc_msgSend_871( - _lib._class_NSStream1, - _lib._sel_getStreamsToHost_port_inputStream_outputStream_1, - host.pointer, - port, - inputStream, - outputStream, - ); + NSHost host, + int port, + ffi.Pointer> inputStream, + ffi.Pointer> outputStream) { + _objc_msgSend_871( + _class_NSStream, + _sel_getStreamsToHost_port_inputStream_outputStream_, + host.pointer, + port, + inputStream, + outputStream); } static void getBoundStreamsWithBufferSize_inputStream_outputStream_( - AVFAudio _lib, - int bufferSize, - ffi.Pointer> inputStream, - ffi.Pointer> outputStream, - ) { - _lib._objc_msgSend_872( - _lib._class_NSStream1, - _lib._sel_getBoundStreamsWithBufferSize_inputStream_outputStream_1, - bufferSize, - inputStream, - outputStream, - ); + int bufferSize, + ffi.Pointer> inputStream, + ffi.Pointer> outputStream) { + _objc_msgSend_872( + _class_NSStream, + _sel_getBoundStreamsWithBufferSize_inputStream_outputStream_, + bufferSize, + inputStream, + outputStream); } @override NSStream init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSStream._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSStream._(_ret, retain: true, release: true); } - static NSStream new1(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2(_lib._class_NSStream1, _lib._sel_new1); - return NSStream._(_ret, _lib, retain: false, release: true); + static NSStream new1() { + final _ret = _objc_msgSend_2(_class_NSStream, _sel_new); + return NSStream._(_ret, retain: false, release: true); } - static NSStream allocWithZone_(AVFAudio _lib, ffi.Pointer<_NSZone> zone) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSStream1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSStream._(_ret, _lib, retain: false, release: true); + static NSStream allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = _objc_msgSend_3(_class_NSStream, _sel_allocWithZone_, zone); + return NSStream._(_ret, retain: false, release: true); } - static NSStream alloc(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2(_lib._class_NSStream1, _lib._sel_alloc1); - return NSStream._(_ret, _lib, retain: false, release: true); + static NSStream alloc() { + final _ret = _objc_msgSend_2(_class_NSStream, _sel_alloc); + return NSStream._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSStream1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSStream1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSStream1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSStream1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSStream1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSStream1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSStream, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); } - static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSStream1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSStream1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSStream1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSStream, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); } -} + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSStream, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSStream, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSStream, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSStream, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); + } + + static void setKeys_triggerChangeNotificationsForDependentKey_( + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSStream, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = + _objc_msgSend_85(_class_NSStream, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = _objc_msgSend_2(_class_NSStream, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); + } +} + +late final _class_NSStream = objc.getClass("NSStream"); +late final _sel_open = objc.registerName("open"); +late final _sel_close = objc.registerName("close"); +final _objc_msgSend_862 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer property, + ffi.Pointer key)>>() + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); abstract class NSStreamStatus { static const int NSStreamStatusNotOpen = 0; @@ -78418,778 +43323,816 @@ abstract class NSStreamStatus { static const int NSStreamStatusError = 7; } +late final _sel_streamStatus = objc.registerName("streamStatus"); +final _objc_msgSend_863 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + int Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_streamError = objc.registerName("streamError"); + class NSOutputStream extends NSStream { - NSOutputStream._( - ffi.Pointer pointer, - AVFAudio lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSOutputStream._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSOutputStream] that points to the same underlying object as [other]. - static NSOutputStream castFrom( - AVFAudio lib, - T other, - ) { - return NSOutputStream._(other.pointer, lib, retain: true, release: true); + static NSOutputStream castFrom(T other) { + return NSOutputStream._(other.pointer, retain: true, release: true); } /// Returns a [NSOutputStream] that wraps the given raw object pointer. - static NSOutputStream castFromPointer( - AVFAudio lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSOutputStream._(other, lib, retain: retain, release: release); + static NSOutputStream castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSOutputStream._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSOutputStream]. - static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSOutputStream1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0( + obj.pointer, _sel_isKindOfClass_, _class_NSOutputStream); } int write_maxLength_(ffi.Pointer buffer, int len) { - return _lib._objc_msgSend_864( - this.pointer, - _lib._sel_write_maxLength_1, - buffer, - len, - ); + return _objc_msgSend_864(this.pointer, _sel_write_maxLength_, buffer, len); } bool get hasSpaceAvailable { - return _lib._objc_msgSend_12(this.pointer, _lib._sel_hasSpaceAvailable1); + return _objc_msgSend_12(this.pointer, _sel_hasSpaceAvailable); } NSOutputStream initToMemory() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_initToMemory1); - return NSOutputStream._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_initToMemory); + return NSOutputStream._(_ret, retain: true, release: true); } NSOutputStream initToBuffer_capacity_( - ffi.Pointer buffer, - int capacity, - ) { - final _ret = _lib._objc_msgSend_865( - this.pointer, - _lib._sel_initToBuffer_capacity_1, - buffer, - capacity, - ); - return NSOutputStream._(_ret, _lib, retain: true, release: true); + ffi.Pointer buffer, int capacity) { + final _ret = _objc_msgSend_865( + this.pointer, _sel_initToBuffer_capacity_, buffer, capacity); + return NSOutputStream._(_ret, retain: true, release: true); } NSOutputStream? initWithURL_append_(NSURL url, bool shouldAppend) { - final _ret = _lib._objc_msgSend_866( - this.pointer, - _lib._sel_initWithURL_append_1, - url.pointer, - shouldAppend, - ); + final _ret = _objc_msgSend_866( + this.pointer, _sel_initWithURL_append_, url.pointer, shouldAppend); return _ret.address == 0 ? null - : NSOutputStream._(_ret, _lib, retain: true, release: true); + : NSOutputStream._(_ret, retain: true, release: true); } NSOutputStream? initToFileAtPath_append_(NSString path, bool shouldAppend) { - final _ret = _lib._objc_msgSend_40( - this.pointer, - _lib._sel_initToFileAtPath_append_1, - path.pointer, - shouldAppend, - ); + final _ret = _objc_msgSend_40(this.pointer, _sel_initToFileAtPath_append_, + path.pointer, shouldAppend); return _ret.address == 0 ? null - : NSOutputStream._(_ret, _lib, retain: true, release: true); + : NSOutputStream._(_ret, retain: true, release: true); } - static NSOutputStream outputStreamToMemory(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSOutputStream1, - _lib._sel_outputStreamToMemory1, - ); - return NSOutputStream._(_ret, _lib, retain: true, release: true); + static NSOutputStream outputStreamToMemory() { + final _ret = + _objc_msgSend_2(_class_NSOutputStream, _sel_outputStreamToMemory); + return NSOutputStream._(_ret, retain: true, release: true); } static NSOutputStream outputStreamToBuffer_capacity_( - AVFAudio _lib, - ffi.Pointer buffer, - int capacity, - ) { - final _ret = _lib._objc_msgSend_865( - _lib._class_NSOutputStream1, - _lib._sel_outputStreamToBuffer_capacity_1, - buffer, - capacity, - ); - return NSOutputStream._(_ret, _lib, retain: true, release: true); + ffi.Pointer buffer, int capacity) { + final _ret = _objc_msgSend_865(_class_NSOutputStream, + _sel_outputStreamToBuffer_capacity_, buffer, capacity); + return NSOutputStream._(_ret, retain: true, release: true); } static NSOutputStream outputStreamToFileAtPath_append_( - AVFAudio _lib, - NSString path, - bool shouldAppend, - ) { - final _ret = _lib._objc_msgSend_30( - _lib._class_NSOutputStream1, - _lib._sel_outputStreamToFileAtPath_append_1, - path.pointer, - shouldAppend, - ); - return NSOutputStream._(_ret, _lib, retain: true, release: true); + NSString path, bool shouldAppend) { + final _ret = _objc_msgSend_30(_class_NSOutputStream, + _sel_outputStreamToFileAtPath_append_, path.pointer, shouldAppend); + return NSOutputStream._(_ret, retain: true, release: true); } static NSOutputStream? outputStreamWithURL_append_( - AVFAudio _lib, - NSURL url, - bool shouldAppend, - ) { - final _ret = _lib._objc_msgSend_866( - _lib._class_NSOutputStream1, - _lib._sel_outputStreamWithURL_append_1, - url.pointer, - shouldAppend, - ); + NSURL url, bool shouldAppend) { + final _ret = _objc_msgSend_866(_class_NSOutputStream, + _sel_outputStreamWithURL_append_, url.pointer, shouldAppend); return _ret.address == 0 ? null - : NSOutputStream._(_ret, _lib, retain: true, release: true); + : NSOutputStream._(_ret, retain: true, release: true); } static void getStreamsToHostWithName_port_inputStream_outputStream_( - AVFAudio _lib, - NSString hostname, - int port, - ffi.Pointer> inputStream, - ffi.Pointer> outputStream, - ) { - _lib._objc_msgSend_867( - _lib._class_NSOutputStream1, - _lib._sel_getStreamsToHostWithName_port_inputStream_outputStream_1, - hostname.pointer, - port, - inputStream, - outputStream, - ); + NSString hostname, + int port, + ffi.Pointer> inputStream, + ffi.Pointer> outputStream) { + _objc_msgSend_867( + _class_NSOutputStream, + _sel_getStreamsToHostWithName_port_inputStream_outputStream_, + hostname.pointer, + port, + inputStream, + outputStream); } static void getStreamsToHost_port_inputStream_outputStream_( - AVFAudio _lib, - NSHost host, - int port, - ffi.Pointer> inputStream, - ffi.Pointer> outputStream, - ) { - _lib._objc_msgSend_871( - _lib._class_NSOutputStream1, - _lib._sel_getStreamsToHost_port_inputStream_outputStream_1, - host.pointer, - port, - inputStream, - outputStream, - ); + NSHost host, + int port, + ffi.Pointer> inputStream, + ffi.Pointer> outputStream) { + _objc_msgSend_871( + _class_NSOutputStream, + _sel_getStreamsToHost_port_inputStream_outputStream_, + host.pointer, + port, + inputStream, + outputStream); } static void getBoundStreamsWithBufferSize_inputStream_outputStream_( - AVFAudio _lib, - int bufferSize, - ffi.Pointer> inputStream, - ffi.Pointer> outputStream, - ) { - _lib._objc_msgSend_872( - _lib._class_NSOutputStream1, - _lib._sel_getBoundStreamsWithBufferSize_inputStream_outputStream_1, - bufferSize, - inputStream, - outputStream, - ); + int bufferSize, + ffi.Pointer> inputStream, + ffi.Pointer> outputStream) { + _objc_msgSend_872( + _class_NSOutputStream, + _sel_getBoundStreamsWithBufferSize_inputStream_outputStream_, + bufferSize, + inputStream, + outputStream); } @override NSOutputStream init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSOutputStream._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSOutputStream._(_ret, retain: true, release: true); } - static NSOutputStream new1(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSOutputStream1, - _lib._sel_new1, - ); - return NSOutputStream._(_ret, _lib, retain: false, release: true); + static NSOutputStream new1() { + final _ret = _objc_msgSend_2(_class_NSOutputStream, _sel_new); + return NSOutputStream._(_ret, retain: false, release: true); } - static NSOutputStream allocWithZone_( - AVFAudio _lib, - ffi.Pointer<_NSZone> zone, - ) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSOutputStream1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSOutputStream._(_ret, _lib, retain: false, release: true); + static NSOutputStream allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = + _objc_msgSend_3(_class_NSOutputStream, _sel_allocWithZone_, zone); + return NSOutputStream._(_ret, retain: false, release: true); } - static NSOutputStream alloc(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSOutputStream1, - _lib._sel_alloc1, - ); - return NSOutputStream._(_ret, _lib, retain: false, release: true); + static NSOutputStream alloc() { + final _ret = _objc_msgSend_2(_class_NSOutputStream, _sel_alloc); + return NSOutputStream._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSOutputStream1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSOutputStream1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSOutputStream1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSOutputStream1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSOutputStream1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSOutputStream1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSOutputStream, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); } - static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSOutputStream1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSOutputStream1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSOutputStream1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSOutputStream, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); } -} + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSOutputStream, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSOutputStream, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSOutputStream, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSOutputStream, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); + } + + static void setKeys_triggerChangeNotificationsForDependentKey_( + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSOutputStream, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = _objc_msgSend_85( + _class_NSOutputStream, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = + _objc_msgSend_2(_class_NSOutputStream, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); + } +} + +late final _class_NSOutputStream = objc.getClass("NSOutputStream"); +late final _sel_write_maxLength_ = objc.registerName("write:maxLength:"); +final _objc_msgSend_864 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Long Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer buffer, + ffi.UnsignedLong len)>>() + .asFunction< + int Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer, int)>(); +late final _sel_hasSpaceAvailable = objc.registerName("hasSpaceAvailable"); +late final _sel_initToMemory = objc.registerName("initToMemory"); +late final _sel_initToBuffer_capacity_ = + objc.registerName("initToBuffer:capacity:"); +final _objc_msgSend_865 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer buffer, + ffi.UnsignedLong capacity)>>() + .asFunction< + instancetype Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer, int)>(); +late final _sel_initWithURL_append_ = objc.registerName("initWithURL:append:"); +final _objc_msgSend_866 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer url, + ffi.Bool shouldAppend)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool)>(); +late final _sel_initToFileAtPath_append_ = + objc.registerName("initToFileAtPath:append:"); +late final _sel_outputStreamToMemory = + objc.registerName("outputStreamToMemory"); +late final _sel_outputStreamToBuffer_capacity_ = + objc.registerName("outputStreamToBuffer:capacity:"); +late final _sel_outputStreamToFileAtPath_append_ = + objc.registerName("outputStreamToFileAtPath:append:"); +late final _sel_outputStreamWithURL_append_ = + objc.registerName("outputStreamWithURL:append:"); +late final _sel_getStreamsToHostWithName_port_inputStream_outputStream_ = objc + .registerName("getStreamsToHostWithName:port:inputStream:outputStream:"); +final _objc_msgSend_867 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer hostname, + ffi.Long port, + ffi.Pointer> inputStream, + ffi.Pointer> outputStream)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer>, + ffi.Pointer>)>(); class NSHost extends NSObject { - NSHost._( - ffi.Pointer pointer, - AVFAudio lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSHost._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSHost] that points to the same underlying object as [other]. - static NSHost castFrom(AVFAudio lib, T other) { - return NSHost._(other.pointer, lib, retain: true, release: true); + static NSHost castFrom(T other) { + return NSHost._(other.pointer, retain: true, release: true); } /// Returns a [NSHost] that wraps the given raw object pointer. - static NSHost castFromPointer( - AVFAudio lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSHost._(other, lib, retain: retain, release: release); + static NSHost castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSHost._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSHost]. - static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSHost1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0(obj.pointer, _sel_isKindOfClass_, _class_NSHost); } - static NSHost currentHost(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSHost1, - _lib._sel_currentHost1, - ); - return NSHost._(_ret, _lib, retain: true, release: true); + static NSHost currentHost() { + final _ret = _objc_msgSend_2(_class_NSHost, _sel_currentHost); + return NSHost._(_ret, retain: true, release: true); } - static NSHost hostWithName_(AVFAudio _lib, NSString? name) { - final _ret = _lib._objc_msgSend_868( - _lib._class_NSHost1, - _lib._sel_hostWithName_1, - name?.pointer ?? ffi.nullptr, - ); - return NSHost._(_ret, _lib, retain: true, release: true); + static NSHost hostWithName_(NSString? name) { + final _ret = _objc_msgSend_868( + _class_NSHost, _sel_hostWithName_, name?.pointer ?? ffi.nullptr); + return NSHost._(_ret, retain: true, release: true); } - static NSHost hostWithAddress_(AVFAudio _lib, NSString address) { - final _ret = _lib._objc_msgSend_31( - _lib._class_NSHost1, - _lib._sel_hostWithAddress_1, - address.pointer, - ); - return NSHost._(_ret, _lib, retain: true, release: true); + static NSHost hostWithAddress_(NSString address) { + final _ret = + _objc_msgSend_31(_class_NSHost, _sel_hostWithAddress_, address.pointer); + return NSHost._(_ret, retain: true, release: true); } bool isEqualToHost_(NSHost aHost) { - return _lib._objc_msgSend_869( - this.pointer, - _lib._sel_isEqualToHost_1, - aHost.pointer, - ); + return _objc_msgSend_869(this.pointer, _sel_isEqualToHost_, aHost.pointer); } NSString? get name { - final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_name1); + final _ret = _objc_msgSend_44(this.pointer, _sel_name); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } NSArray get names { - final _ret = _lib._objc_msgSend_85(this.pointer, _lib._sel_names1); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_85(this.pointer, _sel_names); + return NSArray._(_ret, retain: true, release: true); } NSString? get address { - final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_address1); + final _ret = _objc_msgSend_44(this.pointer, _sel_address); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } NSArray get addresses { - final _ret = _lib._objc_msgSend_85(this.pointer, _lib._sel_addresses1); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_85(this.pointer, _sel_addresses); + return NSArray._(_ret, retain: true, release: true); } NSString? get localizedName { - final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_localizedName1); + final _ret = _objc_msgSend_44(this.pointer, _sel_localizedName); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } - static void setHostCacheEnabled_(AVFAudio _lib, bool flag) { - _lib._objc_msgSend_870( - _lib._class_NSHost1, - _lib._sel_setHostCacheEnabled_1, - flag, - ); + static void setHostCacheEnabled_(bool flag) { + _objc_msgSend_870(_class_NSHost, _sel_setHostCacheEnabled_, flag); } - static bool isHostCacheEnabled(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSHost1, - _lib._sel_isHostCacheEnabled1, - ); + static bool isHostCacheEnabled() { + return _objc_msgSend_12(_class_NSHost, _sel_isHostCacheEnabled); } - static void flushHostCache(AVFAudio _lib) { - _lib._objc_msgSend_1(_lib._class_NSHost1, _lib._sel_flushHostCache1); + static void flushHostCache() { + _objc_msgSend_1(_class_NSHost, _sel_flushHostCache); } @override NSHost init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSHost._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSHost._(_ret, retain: true, release: true); } - static NSHost new1(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2(_lib._class_NSHost1, _lib._sel_new1); - return NSHost._(_ret, _lib, retain: false, release: true); + static NSHost new1() { + final _ret = _objc_msgSend_2(_class_NSHost, _sel_new); + return NSHost._(_ret, retain: false, release: true); } - static NSHost allocWithZone_(AVFAudio _lib, ffi.Pointer<_NSZone> zone) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSHost1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSHost._(_ret, _lib, retain: false, release: true); + static NSHost allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = _objc_msgSend_3(_class_NSHost, _sel_allocWithZone_, zone); + return NSHost._(_ret, retain: false, release: true); } - static NSHost alloc(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2(_lib._class_NSHost1, _lib._sel_alloc1); - return NSHost._(_ret, _lib, retain: false, release: true); + static NSHost alloc() { + final _ret = _objc_msgSend_2(_class_NSHost, _sel_alloc); + return NSHost._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSHost1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSHost1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSHost1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSHost1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSHost1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSHost1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSHost, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); + } + + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSHost, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); + } + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSHost, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSHost, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSHost, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64( + _class_NSHost, _sel_automaticallyNotifiesObserversForKey_, key.pointer); } static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSHost1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSHost1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSHost1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); - } -} + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSHost, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = + _objc_msgSend_85(_class_NSHost, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = _objc_msgSend_2(_class_NSHost, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); + } +} + +late final _class_NSHost = objc.getClass("NSHost"); +late final _sel_currentHost = objc.registerName("currentHost"); +late final _sel_hostWithName_ = objc.registerName("hostWithName:"); +final _objc_msgSend_868 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer name)>>() + .asFunction< + instancetype Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_hostWithAddress_ = objc.registerName("hostWithAddress:"); +late final _sel_isEqualToHost_ = objc.registerName("isEqualToHost:"); +final _objc_msgSend_869 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer aHost)>>() + .asFunction< + bool Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_names = objc.registerName("names"); +late final _sel_address = objc.registerName("address"); +late final _sel_addresses = objc.registerName("addresses"); +late final _sel_localizedName = objc.registerName("localizedName"); +late final _sel_setHostCacheEnabled_ = + objc.registerName("setHostCacheEnabled:"); +final _objc_msgSend_870 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer obj, + ffi.Pointer sel, ffi.Bool flag)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, bool)>(); +late final _sel_isHostCacheEnabled = objc.registerName("isHostCacheEnabled"); +late final _sel_flushHostCache = objc.registerName("flushHostCache"); +late final _sel_getStreamsToHost_port_inputStream_outputStream_ = + objc.registerName("getStreamsToHost:port:inputStream:outputStream:"); +final _objc_msgSend_871 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer host, + ffi.Long port, + ffi.Pointer> inputStream, + ffi.Pointer> outputStream)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer>, + ffi.Pointer>)>(); +late final _sel_getBoundStreamsWithBufferSize_inputStream_outputStream_ = objc + .registerName("getBoundStreamsWithBufferSize:inputStream:outputStream:"); +final _objc_msgSend_872 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.UnsignedLong bufferSize, + ffi.Pointer> inputStream, + ffi.Pointer> outputStream)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer>, + ffi.Pointer>)>(); +late final _sel_read_maxLength_ = objc.registerName("read:maxLength:"); +late final _sel_getBuffer_length_ = objc.registerName("getBuffer:length:"); +final _objc_msgSend_873 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer> buffer, + ffi.Pointer len)>>() + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer)>(); +late final _sel_hasBytesAvailable = objc.registerName("hasBytesAvailable"); +late final _sel_initWithFileAtPath_ = objc.registerName("initWithFileAtPath:"); +late final _sel_inputStreamWithData_ = + objc.registerName("inputStreamWithData:"); +final _objc_msgSend_874 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer data)>>() + .asFunction< + instancetype Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_inputStreamWithFileAtPath_ = + objc.registerName("inputStreamWithFileAtPath:"); +late final _sel_inputStreamWithURL_ = objc.registerName("inputStreamWithURL:"); +late final _sel_HTTPBodyStream = objc.registerName("HTTPBodyStream"); +final _objc_msgSend_875 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_HTTPShouldHandleCookies = + objc.registerName("HTTPShouldHandleCookies"); +late final _sel_HTTPShouldUsePipelining = + objc.registerName("HTTPShouldUsePipelining"); +late final _sel_originalRequest = objc.registerName("originalRequest"); +final _objc_msgSend_876 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_currentRequest = objc.registerName("currentRequest"); class NSURLResponse extends NSObject { - NSURLResponse._( - ffi.Pointer pointer, - AVFAudio lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSURLResponse._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSURLResponse] that points to the same underlying object as [other]. - static NSURLResponse castFrom( - AVFAudio lib, - T other, - ) { - return NSURLResponse._(other.pointer, lib, retain: true, release: true); + static NSURLResponse castFrom(T other) { + return NSURLResponse._(other.pointer, retain: true, release: true); } /// Returns a [NSURLResponse] that wraps the given raw object pointer. - static NSURLResponse castFromPointer( - AVFAudio lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSURLResponse._(other, lib, retain: retain, release: release); + static NSURLResponse castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSURLResponse._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSURLResponse]. - static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSURLResponse1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0( + obj.pointer, _sel_isKindOfClass_, _class_NSURLResponse); } NSURLResponse initWithURL_MIMEType_expectedContentLength_textEncodingName_( - NSURL URL, - NSString? MIMEType, - int length, - NSString? name, - ) { - final _ret = _lib._objc_msgSend_877( - this.pointer, - _lib._sel_initWithURL_MIMEType_expectedContentLength_textEncodingName_1, - URL.pointer, - MIMEType?.pointer ?? ffi.nullptr, - length, - name?.pointer ?? ffi.nullptr, - ); - return NSURLResponse._(_ret, _lib, retain: true, release: true); + NSURL URL, NSString? MIMEType, int length, NSString? name) { + final _ret = _objc_msgSend_877( + this.pointer, + _sel_initWithURL_MIMEType_expectedContentLength_textEncodingName_, + URL.pointer, + MIMEType?.pointer ?? ffi.nullptr, + length, + name?.pointer ?? ffi.nullptr); + return NSURLResponse._(_ret, retain: true, release: true); } NSURL? get URL { - final _ret = _lib._objc_msgSend_45(this.pointer, _lib._sel_URL1); + final _ret = _objc_msgSend_45(this.pointer, _sel_URL); return _ret.address == 0 ? null - : NSURL._(_ret, _lib, retain: true, release: true); + : NSURL._(_ret, retain: true, release: true); } NSString? get MIMEType { - final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_MIMEType1); + final _ret = _objc_msgSend_44(this.pointer, _sel_MIMEType); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } int get expectedContentLength { - return _lib._objc_msgSend_238( - this.pointer, - _lib._sel_expectedContentLength1, - ); + return _objc_msgSend_238(this.pointer, _sel_expectedContentLength); } NSString? get textEncodingName { - final _ret = _lib._objc_msgSend_44( - this.pointer, - _lib._sel_textEncodingName1, - ); + final _ret = _objc_msgSend_44(this.pointer, _sel_textEncodingName); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } NSString? get suggestedFilename { - final _ret = _lib._objc_msgSend_44( - this.pointer, - _lib._sel_suggestedFilename1, - ); + final _ret = _objc_msgSend_44(this.pointer, _sel_suggestedFilename); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } @override NSURLResponse init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSURLResponse._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSURLResponse._(_ret, retain: true, release: true); } - static NSURLResponse new1(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLResponse1, - _lib._sel_new1, - ); - return NSURLResponse._(_ret, _lib, retain: false, release: true); + static NSURLResponse new1() { + final _ret = _objc_msgSend_2(_class_NSURLResponse, _sel_new); + return NSURLResponse._(_ret, retain: false, release: true); } - static NSURLResponse allocWithZone_( - AVFAudio _lib, - ffi.Pointer<_NSZone> zone, - ) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSURLResponse1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSURLResponse._(_ret, _lib, retain: false, release: true); + static NSURLResponse allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = + _objc_msgSend_3(_class_NSURLResponse, _sel_allocWithZone_, zone); + return NSURLResponse._(_ret, retain: false, release: true); } - static NSURLResponse alloc(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLResponse1, - _lib._sel_alloc1, - ); - return NSURLResponse._(_ret, _lib, retain: false, release: true); + static NSURLResponse alloc() { + final _ret = _objc_msgSend_2(_class_NSURLResponse, _sel_alloc); + return NSURLResponse._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSURLResponse1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSURLResponse1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSURLResponse1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSURLResponse1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSURLResponse1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSURLResponse1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSURLResponse, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); + } + + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSURLResponse, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); + } + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSURLResponse, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSURLResponse, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSURLResponse, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSURLResponse, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); } static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSURLResponse1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSURLResponse1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLResponse1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSURLResponse, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = _objc_msgSend_85( + _class_NSURLResponse, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = + _objc_msgSend_2(_class_NSURLResponse, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); } } +late final _class_NSURLResponse = objc.getClass("NSURLResponse"); +late final _sel_initWithURL_MIMEType_expectedContentLength_textEncodingName_ = + objc.registerName( + "initWithURL:MIMEType:expectedContentLength:textEncodingName:"); +final _objc_msgSend_877 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer URL, + ffi.Pointer MIMEType, + ffi.Long length, + ffi.Pointer name)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer)>(); +late final _sel_MIMEType = objc.registerName("MIMEType"); +late final _sel_expectedContentLength = + objc.registerName("expectedContentLength"); +late final _sel_textEncodingName = objc.registerName("textEncodingName"); +late final _sel_suggestedFilename = objc.registerName("suggestedFilename"); +late final _sel_response = objc.registerName("response"); +final _objc_msgSend_878 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_progress = objc.registerName("progress"); +final _objc_msgSend_879 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_earliestBeginDate = objc.registerName("earliestBeginDate"); +late final _sel_setEarliestBeginDate_ = + objc.registerName("setEarliestBeginDate:"); +late final _sel_countOfBytesClientExpectsToSend = + objc.registerName("countOfBytesClientExpectsToSend"); +late final _sel_setCountOfBytesClientExpectsToSend_ = + objc.registerName("setCountOfBytesClientExpectsToSend:"); +late final _sel_countOfBytesClientExpectsToReceive = + objc.registerName("countOfBytesClientExpectsToReceive"); +late final _sel_setCountOfBytesClientExpectsToReceive_ = + objc.registerName("setCountOfBytesClientExpectsToReceive:"); +late final _sel_countOfBytesSent = objc.registerName("countOfBytesSent"); +late final _sel_countOfBytesReceived = + objc.registerName("countOfBytesReceived"); +late final _sel_countOfBytesExpectedToSend = + objc.registerName("countOfBytesExpectedToSend"); +late final _sel_countOfBytesExpectedToReceive = + objc.registerName("countOfBytesExpectedToReceive"); +late final _sel_taskDescription = objc.registerName("taskDescription"); +late final _sel_setTaskDescription_ = objc.registerName("setTaskDescription:"); + abstract class NSURLSessionTaskState { static const int NSURLSessionTaskStateRunning = 0; static const int NSURLSessionTaskStateSuspended = 1; @@ -79197,10 +44140,48 @@ abstract class NSURLSessionTaskState { static const int NSURLSessionTaskStateCompleted = 3; } +late final _sel_state = objc.registerName("state"); +final _objc_msgSend_880 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + int Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_suspend = objc.registerName("suspend"); +late final _sel_priority = objc.registerName("priority"); +late final _sel_setPriority_ = objc.registerName("setPriority:"); +final _objc_msgSend_881 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer obj, + ffi.Pointer sel, ffi.Float value)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, double)>(); +late final _sel_prefersIncrementalDelivery = + objc.registerName("prefersIncrementalDelivery"); +late final _sel_setPrefersIncrementalDelivery_ = + objc.registerName("setPrefersIncrementalDelivery:"); +late final _sel_storeCookies_forTask_ = + objc.registerName("storeCookies:forTask:"); +final _objc_msgSend_882 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer cookies, + ffi.Pointer task)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); void _ObjCBlock_ffiVoid_NSArray_fnPtrTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, -) => + ffi.Pointer block, ffi.Pointer arg0) => block.ref.target .cast< ffi.NativeFunction< @@ -79210,44 +44191,28 @@ final _ObjCBlock_ffiVoid_NSArray_closureRegistry = )>{}; int _ObjCBlock_ffiVoid_NSArray_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_ffiVoid_NSArray_registerClosure( - void Function(ffi.Pointer) fn, -) { + void Function(ffi.Pointer) fn) { final id = ++_ObjCBlock_ffiVoid_NSArray_closureRegistryIndex; _ObjCBlock_ffiVoid_NSArray_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } void _ObjCBlock_ffiVoid_NSArray_closureTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, -) => - _ObjCBlock_ffiVoid_NSArray_closureRegistry[block.ref.target.address]!( - arg0, - ); + ffi.Pointer block, ffi.Pointer arg0) => + _ObjCBlock_ffiVoid_NSArray_closureRegistry[block.ref.target.address]!(arg0); class ObjCBlock_ffiVoid_NSArray extends objc.ObjCBlockBase { - ObjCBlock_ffiVoid_NSArray._( - ffi.Pointer pointer, - this._lib, { - bool retain = false, - bool release = true, - }) : super(pointer, retain: retain, release: release); - - AVFAudio _lib; + ObjCBlock_ffiVoid_NSArray._(ffi.Pointer pointer, + {bool retain = false, bool release = true}) + : super(pointer, retain: retain, release: release); /// Returns a block that wraps the given raw block pointer. static ObjCBlock_ffiVoid_NSArray castFromPointer( - AVFAudio lib, - ffi.Pointer pointer, { - bool retain = false, - bool release = false, - }) { - return ObjCBlock_ffiVoid_NSArray._( - pointer, - lib, - retain: retain, - release: release, - ); + ffi.Pointer pointer, + {bool retain = false, + bool release = false}) { + return ObjCBlock_ffiVoid_NSArray._(pointer, + retain: retain, release: release); } /// Creates a block from a C function pointer. @@ -79256,22 +44221,17 @@ class ObjCBlock_ffiVoid_NSArray extends objc.ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSArray.fromFunctionPointer( - AVFAudio lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer arg0)>> - ptr, - ) : this._( - objc.newBlock( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - )>(_ObjCBlock_ffiVoid_NSArray_fnPtrTrampoline) - .cast(), - ptr.cast(), - ), - lib); + ffi.Pointer< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer arg0)>> + ptr) + : this._(objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function(ffi.Pointer, + ffi.Pointer)>( + _ObjCBlock_ffiVoid_NSArray_fnPtrTrampoline) + .cast(), + ptr.cast())); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -79279,27 +44239,17 @@ class ObjCBlock_ffiVoid_NSArray extends objc.ObjCBlockBase { /// This block must be invoked by native code running on the same thread as /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. - ObjCBlock_ffiVoid_NSArray.fromFunction( - AVFAudio lib, - void Function(NSArray?) fn, - ) : this._( - objc.newBlock( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - )>(_ObjCBlock_ffiVoid_NSArray_closureTrampoline) - .cast(), - _ObjCBlock_ffiVoid_NSArray_registerClosure(( - ffi.Pointer arg0, - ) => - fn( - arg0.address == 0 - ? null - : NSArray._(arg0, lib, retain: true, release: true), - )), - ), - lib); + ObjCBlock_ffiVoid_NSArray.fromFunction(void Function(NSArray?) fn) + : this._(objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function(ffi.Pointer, + ffi.Pointer)>( + _ObjCBlock_ffiVoid_NSArray_closureTrampoline) + .cast(), + _ObjCBlock_ffiVoid_NSArray_registerClosure( + (ffi.Pointer arg0) => fn(arg0.address == 0 + ? null + : NSArray._(arg0, retain: true, release: true))))); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -79311,28 +44261,19 @@ class ObjCBlock_ffiVoid_NSArray extends objc.ObjCBlockBase { /// /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. - ObjCBlock_ffiVoid_NSArray.listener(AVFAudio lib, void Function(NSArray?) fn) - : this._( - objc.newBlock( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - )>.listener( - _ObjCBlock_ffiVoid_NSArray_closureTrampoline, - )..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSArray_registerClosure(( - ffi.Pointer arg0, - ) => - fn( - arg0.address == 0 - ? null - : NSArray._(arg0, lib, retain: true, release: true), - )), - ), - lib); + ObjCBlock_ffiVoid_NSArray.listener(void Function(NSArray?) fn) + : this._(objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function(ffi.Pointer, + ffi.Pointer)>.listener( + _ObjCBlock_ffiVoid_NSArray_closureTrampoline) + ..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSArray_registerClosure( + (ffi.Pointer arg0) => fn(arg0.address == 0 + ? null + : NSArray._(arg0, retain: true, release: true))))); static ffi.NativeCallable< ffi.Void Function( ffi.Pointer, ffi.Pointer)>? @@ -79341,743 +44282,602 @@ class ObjCBlock_ffiVoid_NSArray extends objc.ObjCBlockBase { void call(NSArray? arg0) => pointer.ref.invoke .cast< ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer block, - ffi.Pointer arg0, - )>>() + ffi.Void Function(ffi.Pointer block, + ffi.Pointer arg0)>>() .asFunction< void Function( ffi.Pointer, ffi.Pointer)>()( pointer, arg0?.pointer ?? ffi.nullptr); } +late final _sel_getCookiesForTask_completionHandler_ = + objc.registerName("getCookiesForTask:completionHandler:"); +final _objc_msgSend_883 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer task, + ffi.Pointer completionHandler)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); + class NSIndexPath extends NSObject { - NSIndexPath._( - ffi.Pointer pointer, - AVFAudio lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSIndexPath._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSIndexPath] that points to the same underlying object as [other]. - static NSIndexPath castFrom( - AVFAudio lib, - T other, - ) { - return NSIndexPath._(other.pointer, lib, retain: true, release: true); + static NSIndexPath castFrom(T other) { + return NSIndexPath._(other.pointer, retain: true, release: true); } /// Returns a [NSIndexPath] that wraps the given raw object pointer. - static NSIndexPath castFromPointer( - AVFAudio lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSIndexPath._(other, lib, retain: retain, release: release); + static NSIndexPath castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSIndexPath._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSIndexPath]. - static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSIndexPath1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0( + obj.pointer, _sel_isKindOfClass_, _class_NSIndexPath); } - static NSIndexPath indexPathWithIndex_(AVFAudio _lib, int index) { - final _ret = _lib._objc_msgSend_65( - _lib._class_NSIndexPath1, - _lib._sel_indexPathWithIndex_1, - index, - ); - return NSIndexPath._(_ret, _lib, retain: true, release: true); + static NSIndexPath indexPathWithIndex_(int index) { + final _ret = + _objc_msgSend_65(_class_NSIndexPath, _sel_indexPathWithIndex_, index); + return NSIndexPath._(_ret, retain: true, release: true); } static NSIndexPath indexPathWithIndexes_length_( - AVFAudio _lib, - ffi.Pointer indexes, - int length, - ) { - final _ret = _lib._objc_msgSend_884( - _lib._class_NSIndexPath1, - _lib._sel_indexPathWithIndexes_length_1, - indexes, - length, - ); - return NSIndexPath._(_ret, _lib, retain: true, release: true); + ffi.Pointer indexes, int length) { + final _ret = _objc_msgSend_884( + _class_NSIndexPath, _sel_indexPathWithIndexes_length_, indexes, length); + return NSIndexPath._(_ret, retain: true, release: true); } NSIndexPath initWithIndexes_length_( - ffi.Pointer indexes, - int length, - ) { - final _ret = _lib._objc_msgSend_884( - this.pointer, - _lib._sel_initWithIndexes_length_1, - indexes, - length, - ); - return NSIndexPath._(_ret, _lib, retain: true, release: true); + ffi.Pointer indexes, int length) { + final _ret = _objc_msgSend_884( + this.pointer, _sel_initWithIndexes_length_, indexes, length); + return NSIndexPath._(_ret, retain: true, release: true); } NSIndexPath initWithIndex_(int index) { - final _ret = _lib._objc_msgSend_65( - this.pointer, - _lib._sel_initWithIndex_1, - index, - ); - return NSIndexPath._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_65(this.pointer, _sel_initWithIndex_, index); + return NSIndexPath._(_ret, retain: true, release: true); } NSIndexPath indexPathByAddingIndex_(int index) { - final _ret = _lib._objc_msgSend_885( - this.pointer, - _lib._sel_indexPathByAddingIndex_1, - index, - ); - return NSIndexPath._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_885(this.pointer, _sel_indexPathByAddingIndex_, index); + return NSIndexPath._(_ret, retain: true, release: true); } NSIndexPath indexPathByRemovingLastIndex() { - final _ret = _lib._objc_msgSend_886( - this.pointer, - _lib._sel_indexPathByRemovingLastIndex1, - ); - return NSIndexPath._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_886(this.pointer, _sel_indexPathByRemovingLastIndex); + return NSIndexPath._(_ret, retain: true, release: true); } int indexAtPosition_(int position) { - return _lib._objc_msgSend_94( - this.pointer, - _lib._sel_indexAtPosition_1, - position, - ); + return _objc_msgSend_94(this.pointer, _sel_indexAtPosition_, position); } int get length { - return _lib._objc_msgSend_10(this.pointer, _lib._sel_length1); + return _objc_msgSend_10(this.pointer, _sel_length); } void getIndexes_range_( - ffi.Pointer indexes, - _NSRange positionRange, - ) { - _lib._objc_msgSend_887( - this.pointer, - _lib._sel_getIndexes_range_1, - indexes, - positionRange, - ); + ffi.Pointer indexes, _NSRange positionRange) { + _objc_msgSend_887( + this.pointer, _sel_getIndexes_range_, indexes, positionRange); } int compare_(NSIndexPath otherObject) { - return _lib._objc_msgSend_888( - this.pointer, - _lib._sel_compare_1, - otherObject.pointer, - ); + return _objc_msgSend_888(this.pointer, _sel_compare_, otherObject.pointer); } void getIndexes_(ffi.Pointer indexes) { - _lib._objc_msgSend_889(this.pointer, _lib._sel_getIndexes_1, indexes); + _objc_msgSend_889(this.pointer, _sel_getIndexes_, indexes); } @override NSIndexPath init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSIndexPath._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSIndexPath._(_ret, retain: true, release: true); } - static NSIndexPath new1(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2(_lib._class_NSIndexPath1, _lib._sel_new1); - return NSIndexPath._(_ret, _lib, retain: false, release: true); + static NSIndexPath new1() { + final _ret = _objc_msgSend_2(_class_NSIndexPath, _sel_new); + return NSIndexPath._(_ret, retain: false, release: true); } - static NSIndexPath allocWithZone_(AVFAudio _lib, ffi.Pointer<_NSZone> zone) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSIndexPath1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSIndexPath._(_ret, _lib, retain: false, release: true); + static NSIndexPath allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = _objc_msgSend_3(_class_NSIndexPath, _sel_allocWithZone_, zone); + return NSIndexPath._(_ret, retain: false, release: true); } - static NSIndexPath alloc(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSIndexPath1, - _lib._sel_alloc1, - ); - return NSIndexPath._(_ret, _lib, retain: false, release: true); + static NSIndexPath alloc() { + final _ret = _objc_msgSend_2(_class_NSIndexPath, _sel_alloc); + return NSIndexPath._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSIndexPath1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSIndexPath1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSIndexPath1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSIndexPath1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSIndexPath1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSIndexPath1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSIndexPath, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); + } + + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSIndexPath, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); + } + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSIndexPath, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSIndexPath, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSIndexPath, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSIndexPath, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); } static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSIndexPath1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSIndexPath1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSIndexPath1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSIndexPath, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = _objc_msgSend_85( + _class_NSIndexPath, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = + _objc_msgSend_2(_class_NSIndexPath, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); } } +late final _class_NSIndexPath = objc.getClass("NSIndexPath"); +late final _sel_indexPathWithIndex_ = objc.registerName("indexPathWithIndex:"); +late final _sel_indexPathWithIndexes_length_ = + objc.registerName("indexPathWithIndexes:length:"); +final _objc_msgSend_884 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer indexes, + ffi.UnsignedLong length)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int)>(); +late final _sel_initWithIndexes_length_ = + objc.registerName("initWithIndexes:length:"); +late final _sel_indexPathByAddingIndex_ = + objc.registerName("indexPathByAddingIndex:"); +final _objc_msgSend_885 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.UnsignedLong index)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, int)>(); +late final _sel_indexPathByRemovingLastIndex = + objc.registerName("indexPathByRemovingLastIndex"); +final _objc_msgSend_886 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_indexAtPosition_ = objc.registerName("indexAtPosition:"); +late final _sel_getIndexes_range_ = objc.registerName("getIndexes:range:"); +final _objc_msgSend_887 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer indexes, + _NSRange positionRange)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange)>(); +final _objc_msgSend_888 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer otherObject)>>() + .asFunction< + int Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_getIndexes_ = objc.registerName("getIndexes:"); +final _objc_msgSend_889 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer indexes)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); + class NSInflectionRule extends NSObject { - NSInflectionRule._( - ffi.Pointer pointer, - AVFAudio lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSInflectionRule._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSInflectionRule] that points to the same underlying object as [other]. - static NSInflectionRule castFrom( - AVFAudio lib, - T other, - ) { - return NSInflectionRule._(other.pointer, lib, retain: true, release: true); + static NSInflectionRule castFrom(T other) { + return NSInflectionRule._(other.pointer, retain: true, release: true); } /// Returns a [NSInflectionRule] that wraps the given raw object pointer. - static NSInflectionRule castFromPointer( - AVFAudio lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSInflectionRule._(other, lib, retain: retain, release: release); + static NSInflectionRule castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSInflectionRule._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSInflectionRule]. - static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSInflectionRule1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0( + obj.pointer, _sel_isKindOfClass_, _class_NSInflectionRule); } @override NSObject init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSObject._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSObject._(_ret, retain: true, release: true); } - static NSInflectionRule getAutomaticRule(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_890( - _lib._class_NSInflectionRule1, - _lib._sel_automaticRule1, - ); - return NSInflectionRule._(_ret, _lib, retain: true, release: true); + static NSInflectionRule getAutomaticRule() { + final _ret = _objc_msgSend_890(_class_NSInflectionRule, _sel_automaticRule); + return NSInflectionRule._(_ret, retain: true, release: true); } - static bool canInflectLanguage_(AVFAudio _lib, NSString language) { - return _lib._objc_msgSend_64( - _lib._class_NSInflectionRule1, - _lib._sel_canInflectLanguage_1, - language.pointer, - ); + static bool canInflectLanguage_(NSString language) { + return _objc_msgSend_64( + _class_NSInflectionRule, _sel_canInflectLanguage_, language.pointer); } - static bool getCanInflectPreferredLocalization(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSInflectionRule1, - _lib._sel_canInflectPreferredLocalization1, - ); + static bool getCanInflectPreferredLocalization() { + return _objc_msgSend_12( + _class_NSInflectionRule, _sel_canInflectPreferredLocalization); } - static NSInflectionRule new1(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSInflectionRule1, - _lib._sel_new1, - ); - return NSInflectionRule._(_ret, _lib, retain: false, release: true); + static NSInflectionRule new1() { + final _ret = _objc_msgSend_2(_class_NSInflectionRule, _sel_new); + return NSInflectionRule._(_ret, retain: false, release: true); } - static NSInflectionRule allocWithZone_( - AVFAudio _lib, - ffi.Pointer<_NSZone> zone, - ) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSInflectionRule1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSInflectionRule._(_ret, _lib, retain: false, release: true); + static NSInflectionRule allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = + _objc_msgSend_3(_class_NSInflectionRule, _sel_allocWithZone_, zone); + return NSInflectionRule._(_ret, retain: false, release: true); } - static NSInflectionRule alloc(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSInflectionRule1, - _lib._sel_alloc1, - ); - return NSInflectionRule._(_ret, _lib, retain: false, release: true); + static NSInflectionRule alloc() { + final _ret = _objc_msgSend_2(_class_NSInflectionRule, _sel_alloc); + return NSInflectionRule._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSInflectionRule1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSInflectionRule1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSInflectionRule1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSInflectionRule1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSInflectionRule1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSInflectionRule1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSInflectionRule, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); } - static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSInflectionRule1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSInflectionRule1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSInflectionRule1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSInflectionRule, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); + } + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSInflectionRule, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSInflectionRule, _sel_useStoredAccessor); } -} + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSInflectionRule, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSInflectionRule, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); + } + + static void setKeys_triggerChangeNotificationsForDependentKey_( + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSInflectionRule, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = _objc_msgSend_85( + _class_NSInflectionRule, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = + _objc_msgSend_2(_class_NSInflectionRule, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); + } +} + +late final _class_NSInflectionRule = objc.getClass("NSInflectionRule"); +late final _sel_automaticRule = objc.registerName("automaticRule"); +final _objc_msgSend_890 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_canInflectLanguage_ = objc.registerName("canInflectLanguage:"); +late final _sel_canInflectPreferredLocalization = + objc.registerName("canInflectPreferredLocalization"); class NSMorphology extends NSObject { - NSMorphology._( - ffi.Pointer pointer, - AVFAudio lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSMorphology._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSMorphology] that points to the same underlying object as [other]. - static NSMorphology castFrom( - AVFAudio lib, - T other, - ) { - return NSMorphology._(other.pointer, lib, retain: true, release: true); + static NSMorphology castFrom(T other) { + return NSMorphology._(other.pointer, retain: true, release: true); } /// Returns a [NSMorphology] that wraps the given raw object pointer. - static NSMorphology castFromPointer( - AVFAudio lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSMorphology._(other, lib, retain: retain, release: release); + static NSMorphology castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSMorphology._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSMorphology]. - static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSMorphology1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0( + obj.pointer, _sel_isKindOfClass_, _class_NSMorphology); } int get grammaticalGender { - return _lib._objc_msgSend_891(this.pointer, _lib._sel_grammaticalGender1); + return _objc_msgSend_891(this.pointer, _sel_grammaticalGender); } set grammaticalGender(int value) { - return _lib._objc_msgSend_892( - this.pointer, - _lib._sel_setGrammaticalGender_1, - value, - ); + return _objc_msgSend_892(this.pointer, _sel_setGrammaticalGender_, value); } int get partOfSpeech { - return _lib._objc_msgSend_893(this.pointer, _lib._sel_partOfSpeech1); + return _objc_msgSend_893(this.pointer, _sel_partOfSpeech); } set partOfSpeech(int value) { - return _lib._objc_msgSend_894( - this.pointer, - _lib._sel_setPartOfSpeech_1, - value, - ); + return _objc_msgSend_894(this.pointer, _sel_setPartOfSpeech_, value); } int get number { - return _lib._objc_msgSend_895(this.pointer, _lib._sel_number1); + return _objc_msgSend_895(this.pointer, _sel_number); } set number(int value) { - return _lib._objc_msgSend_896(this.pointer, _lib._sel_setNumber_1, value); + return _objc_msgSend_896(this.pointer, _sel_setNumber_, value); } int get grammaticalCase { - return _lib._objc_msgSend_897(this.pointer, _lib._sel_grammaticalCase1); + return _objc_msgSend_897(this.pointer, _sel_grammaticalCase); } set grammaticalCase(int value) { - return _lib._objc_msgSend_898( - this.pointer, - _lib._sel_setGrammaticalCase_1, - value, - ); + return _objc_msgSend_898(this.pointer, _sel_setGrammaticalCase_, value); } int get determination { - return _lib._objc_msgSend_899(this.pointer, _lib._sel_determination1); + return _objc_msgSend_899(this.pointer, _sel_determination); } set determination(int value) { - return _lib._objc_msgSend_900( - this.pointer, - _lib._sel_setDetermination_1, - value, - ); + return _objc_msgSend_900(this.pointer, _sel_setDetermination_, value); } int get grammaticalPerson { - return _lib._objc_msgSend_901(this.pointer, _lib._sel_grammaticalPerson1); + return _objc_msgSend_901(this.pointer, _sel_grammaticalPerson); } set grammaticalPerson(int value) { - return _lib._objc_msgSend_902( - this.pointer, - _lib._sel_setGrammaticalPerson_1, - value, - ); + return _objc_msgSend_902(this.pointer, _sel_setGrammaticalPerson_, value); } int get pronounType { - return _lib._objc_msgSend_903(this.pointer, _lib._sel_pronounType1); + return _objc_msgSend_903(this.pointer, _sel_pronounType); } set pronounType(int value) { - return _lib._objc_msgSend_904( - this.pointer, - _lib._sel_setPronounType_1, - value, - ); + return _objc_msgSend_904(this.pointer, _sel_setPronounType_, value); } int get definiteness { - return _lib._objc_msgSend_905(this.pointer, _lib._sel_definiteness1); + return _objc_msgSend_905(this.pointer, _sel_definiteness); } set definiteness(int value) { - return _lib._objc_msgSend_906( - this.pointer, - _lib._sel_setDefiniteness_1, - value, - ); + return _objc_msgSend_906(this.pointer, _sel_setDefiniteness_, value); } NSMorphologyCustomPronoun? customPronounForLanguage_(NSString language) { - final _ret = _lib._objc_msgSend_907( - this.pointer, - _lib._sel_customPronounForLanguage_1, - language.pointer, - ); + final _ret = _objc_msgSend_907( + this.pointer, _sel_customPronounForLanguage_, language.pointer); return _ret.address == 0 ? null - : NSMorphologyCustomPronoun._(_ret, _lib, retain: true, release: true); + : NSMorphologyCustomPronoun._(_ret, retain: true, release: true); } - bool setCustomPronoun_forLanguage_error_( - NSMorphologyCustomPronoun? features, - NSString language, - ffi.Pointer> error, - ) { - return _lib._objc_msgSend_908( - this.pointer, - _lib._sel_setCustomPronoun_forLanguage_error_1, - features?.pointer ?? ffi.nullptr, - language.pointer, - error, - ); + bool setCustomPronoun_forLanguage_error_(NSMorphologyCustomPronoun? features, + NSString language, ffi.Pointer> error) { + return _objc_msgSend_908( + this.pointer, + _sel_setCustomPronoun_forLanguage_error_, + features?.pointer ?? ffi.nullptr, + language.pointer, + error); } bool get unspecified { - return _lib._objc_msgSend_12(this.pointer, _lib._sel_isUnspecified1); + return _objc_msgSend_12(this.pointer, _sel_isUnspecified); } - static NSMorphology getUserMorphology(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_909( - _lib._class_NSMorphology1, - _lib._sel_userMorphology1, - ); - return NSMorphology._(_ret, _lib, retain: true, release: true); + static NSMorphology getUserMorphology() { + final _ret = _objc_msgSend_909(_class_NSMorphology, _sel_userMorphology); + return NSMorphology._(_ret, retain: true, release: true); } @override NSMorphology init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSMorphology._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSMorphology._(_ret, retain: true, release: true); } - static NSMorphology new1(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSMorphology1, - _lib._sel_new1, - ); - return NSMorphology._(_ret, _lib, retain: false, release: true); + static NSMorphology new1() { + final _ret = _objc_msgSend_2(_class_NSMorphology, _sel_new); + return NSMorphology._(_ret, retain: false, release: true); } - static NSMorphology allocWithZone_(AVFAudio _lib, ffi.Pointer<_NSZone> zone) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSMorphology1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSMorphology._(_ret, _lib, retain: false, release: true); + static NSMorphology allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = + _objc_msgSend_3(_class_NSMorphology, _sel_allocWithZone_, zone); + return NSMorphology._(_ret, retain: false, release: true); } - static NSMorphology alloc(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSMorphology1, - _lib._sel_alloc1, - ); - return NSMorphology._(_ret, _lib, retain: false, release: true); + static NSMorphology alloc() { + final _ret = _objc_msgSend_2(_class_NSMorphology, _sel_alloc); + return NSMorphology._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSMorphology1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSMorphology1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSMorphology1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSMorphology1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSMorphology1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSMorphology1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSMorphology, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); + } + + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSMorphology, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); + } + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSMorphology, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSMorphology, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSMorphology, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSMorphology, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); } static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSMorphology1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSMorphology1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSMorphology1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSMorphology, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = _objc_msgSend_85( + _class_NSMorphology, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = + _objc_msgSend_2(_class_NSMorphology, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); } } +late final _class_NSMorphology = objc.getClass("NSMorphology"); + abstract class NSGrammaticalGender { static const int NSGrammaticalGenderNotSet = 0; static const int NSGrammaticalGenderFeminine = 1; @@ -80085,6 +44885,26 @@ abstract class NSGrammaticalGender { static const int NSGrammaticalGenderNeuter = 3; } +late final _sel_grammaticalGender = objc.registerName("grammaticalGender"); +final _objc_msgSend_891 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + int Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_setGrammaticalGender_ = + objc.registerName("setGrammaticalGender:"); +final _objc_msgSend_892 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer obj, + ffi.Pointer sel, ffi.Int32 value)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, int)>(); + abstract class NSGrammaticalPartOfSpeech { static const int NSGrammaticalPartOfSpeechNotSet = 0; static const int NSGrammaticalPartOfSpeechDeterminer = 1; @@ -80103,6 +44923,25 @@ abstract class NSGrammaticalPartOfSpeech { static const int NSGrammaticalPartOfSpeechAbbreviation = 14; } +late final _sel_partOfSpeech = objc.registerName("partOfSpeech"); +final _objc_msgSend_893 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + int Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_setPartOfSpeech_ = objc.registerName("setPartOfSpeech:"); +final _objc_msgSend_894 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer obj, + ffi.Pointer sel, ffi.Int32 value)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, int)>(); + abstract class NSGrammaticalNumber { static const int NSGrammaticalNumberNotSet = 0; static const int NSGrammaticalNumberSingular = 1; @@ -80113,6 +44952,25 @@ abstract class NSGrammaticalNumber { static const int NSGrammaticalNumberPluralMany = 6; } +late final _sel_number = objc.registerName("number"); +final _objc_msgSend_895 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + int Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_setNumber_ = objc.registerName("setNumber:"); +final _objc_msgSend_896 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer obj, + ffi.Pointer sel, ffi.Int32 value)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, int)>(); + abstract class NSGrammaticalCase { static const int NSGrammaticalCaseNotSet = 0; static const int NSGrammaticalCaseNominative = 1; @@ -80131,12 +44989,50 @@ abstract class NSGrammaticalCase { static const int NSGrammaticalCaseTranslative = 14; } +late final _sel_grammaticalCase = objc.registerName("grammaticalCase"); +final _objc_msgSend_897 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + int Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_setGrammaticalCase_ = objc.registerName("setGrammaticalCase:"); +final _objc_msgSend_898 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer obj, + ffi.Pointer sel, ffi.Int32 value)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, int)>(); + abstract class NSGrammaticalDetermination { static const int NSGrammaticalDeterminationNotSet = 0; static const int NSGrammaticalDeterminationIndependent = 1; static const int NSGrammaticalDeterminationDependent = 2; } +late final _sel_determination = objc.registerName("determination"); +final _objc_msgSend_899 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + int Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_setDetermination_ = objc.registerName("setDetermination:"); +final _objc_msgSend_900 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer obj, + ffi.Pointer sel, ffi.Int32 value)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, int)>(); + abstract class NSGrammaticalPerson { static const int NSGrammaticalPersonNotSet = 0; static const int NSGrammaticalPersonFirst = 1; @@ -80144,6 +45040,26 @@ abstract class NSGrammaticalPerson { static const int NSGrammaticalPersonThird = 3; } +late final _sel_grammaticalPerson = objc.registerName("grammaticalPerson"); +final _objc_msgSend_901 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + int Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_setGrammaticalPerson_ = + objc.registerName("setGrammaticalPerson:"); +final _objc_msgSend_902 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer obj, + ffi.Pointer sel, ffi.Int32 value)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, int)>(); + abstract class NSGrammaticalPronounType { static const int NSGrammaticalPronounTypeNotSet = 0; static const int NSGrammaticalPronounTypePersonal = 1; @@ -80151,877 +45067,716 @@ abstract class NSGrammaticalPronounType { static const int NSGrammaticalPronounTypePossessive = 3; } +late final _sel_pronounType = objc.registerName("pronounType"); +final _objc_msgSend_903 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + int Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_setPronounType_ = objc.registerName("setPronounType:"); +final _objc_msgSend_904 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer obj, + ffi.Pointer sel, ffi.Int32 value)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, int)>(); + abstract class NSGrammaticalDefiniteness { static const int NSGrammaticalDefinitenessNotSet = 0; static const int NSGrammaticalDefinitenessIndefinite = 1; static const int NSGrammaticalDefinitenessDefinite = 2; } +late final _sel_definiteness = objc.registerName("definiteness"); +final _objc_msgSend_905 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + int Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_setDefiniteness_ = objc.registerName("setDefiniteness:"); +final _objc_msgSend_906 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer obj, + ffi.Pointer sel, ffi.Int32 value)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, int)>(); + class NSMorphologyCustomPronoun extends NSObject { - NSMorphologyCustomPronoun._( - ffi.Pointer pointer, - AVFAudio lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSMorphologyCustomPronoun._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSMorphologyCustomPronoun] that points to the same underlying object as [other]. static NSMorphologyCustomPronoun castFrom( - AVFAudio lib, - T other, - ) { - return NSMorphologyCustomPronoun._( - other.pointer, - lib, - retain: true, - release: true, - ); + T other) { + return NSMorphologyCustomPronoun._(other.pointer, + retain: true, release: true); } /// Returns a [NSMorphologyCustomPronoun] that wraps the given raw object pointer. static NSMorphologyCustomPronoun castFromPointer( - AVFAudio lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSMorphologyCustomPronoun._( - other, - lib, - retain: retain, - release: release, - ); + ffi.Pointer other, + {bool retain = false, + bool release = false}) { + return NSMorphologyCustomPronoun._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSMorphologyCustomPronoun]. - static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSMorphologyCustomPronoun1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0( + obj.pointer, _sel_isKindOfClass_, _class_NSMorphologyCustomPronoun); } - static bool isSupportedForLanguage_(AVFAudio _lib, NSString language) { - return _lib._objc_msgSend_64( - _lib._class_NSMorphologyCustomPronoun1, - _lib._sel_isSupportedForLanguage_1, - language.pointer, - ); + static bool isSupportedForLanguage_(NSString language) { + return _objc_msgSend_64(_class_NSMorphologyCustomPronoun, + _sel_isSupportedForLanguage_, language.pointer); } - static NSArray requiredKeysForLanguage_(AVFAudio _lib, NSString language) { - final _ret = _lib._objc_msgSend_358( - _lib._class_NSMorphologyCustomPronoun1, - _lib._sel_requiredKeysForLanguage_1, - language.pointer, - ); - return NSArray._(_ret, _lib, retain: true, release: true); + static NSArray requiredKeysForLanguage_(NSString language) { + final _ret = _objc_msgSend_358(_class_NSMorphologyCustomPronoun, + _sel_requiredKeysForLanguage_, language.pointer); + return NSArray._(_ret, retain: true, release: true); } NSString? get subjectForm { - final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_subjectForm1); + final _ret = _objc_msgSend_44(this.pointer, _sel_subjectForm); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } set subjectForm(NSString? value) { - return _lib._objc_msgSend_545( - this.pointer, - _lib._sel_setSubjectForm_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_545( + this.pointer, _sel_setSubjectForm_, value?.pointer ?? ffi.nullptr); } NSString? get objectForm { - final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_objectForm1); + final _ret = _objc_msgSend_44(this.pointer, _sel_objectForm); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } set objectForm(NSString? value) { - return _lib._objc_msgSend_545( - this.pointer, - _lib._sel_setObjectForm_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_545( + this.pointer, _sel_setObjectForm_, value?.pointer ?? ffi.nullptr); } NSString? get possessiveForm { - final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_possessiveForm1); + final _ret = _objc_msgSend_44(this.pointer, _sel_possessiveForm); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } set possessiveForm(NSString? value) { - return _lib._objc_msgSend_545( - this.pointer, - _lib._sel_setPossessiveForm_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_545( + this.pointer, _sel_setPossessiveForm_, value?.pointer ?? ffi.nullptr); } NSString? get possessiveAdjectiveForm { - final _ret = _lib._objc_msgSend_44( - this.pointer, - _lib._sel_possessiveAdjectiveForm1, - ); + final _ret = _objc_msgSend_44(this.pointer, _sel_possessiveAdjectiveForm); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } set possessiveAdjectiveForm(NSString? value) { - return _lib._objc_msgSend_545( - this.pointer, - _lib._sel_setPossessiveAdjectiveForm_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_545(this.pointer, _sel_setPossessiveAdjectiveForm_, + value?.pointer ?? ffi.nullptr); } NSString? get reflexiveForm { - final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_reflexiveForm1); + final _ret = _objc_msgSend_44(this.pointer, _sel_reflexiveForm); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } set reflexiveForm(NSString? value) { - return _lib._objc_msgSend_545( - this.pointer, - _lib._sel_setReflexiveForm_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_545( + this.pointer, _sel_setReflexiveForm_, value?.pointer ?? ffi.nullptr); } @override NSMorphologyCustomPronoun init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSMorphologyCustomPronoun._(_ret, _lib, retain: true, release: true); - } - - static NSMorphologyCustomPronoun new1(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSMorphologyCustomPronoun1, - _lib._sel_new1, - ); - return NSMorphologyCustomPronoun._( - _ret, - _lib, - retain: false, - release: true, - ); - } - - static NSMorphologyCustomPronoun allocWithZone_( - AVFAudio _lib, - ffi.Pointer<_NSZone> zone, - ) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSMorphologyCustomPronoun1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSMorphologyCustomPronoun._( - _ret, - _lib, - retain: false, - release: true, - ); - } - - static NSMorphologyCustomPronoun alloc(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSMorphologyCustomPronoun1, - _lib._sel_alloc1, - ); - return NSMorphologyCustomPronoun._( - _ret, - _lib, - retain: false, - release: true, - ); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSMorphologyCustomPronoun._(_ret, retain: true, release: true); + } + + static NSMorphologyCustomPronoun new1() { + final _ret = _objc_msgSend_2(_class_NSMorphologyCustomPronoun, _sel_new); + return NSMorphologyCustomPronoun._(_ret, retain: false, release: true); + } + + static NSMorphologyCustomPronoun allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = _objc_msgSend_3( + _class_NSMorphologyCustomPronoun, _sel_allocWithZone_, zone); + return NSMorphologyCustomPronoun._(_ret, retain: false, release: true); + } + + static NSMorphologyCustomPronoun alloc() { + final _ret = _objc_msgSend_2(_class_NSMorphologyCustomPronoun, _sel_alloc); + return NSMorphologyCustomPronoun._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSMorphologyCustomPronoun1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSMorphologyCustomPronoun1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSMorphologyCustomPronoun1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSMorphologyCustomPronoun1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSMorphologyCustomPronoun1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSMorphologyCustomPronoun1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSMorphologyCustomPronoun, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); } - static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSMorphologyCustomPronoun1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSMorphologyCustomPronoun1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSMorphologyCustomPronoun1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSMorphologyCustomPronoun, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); } -} + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSMorphologyCustomPronoun, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12( + _class_NSMorphologyCustomPronoun, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSMorphologyCustomPronoun, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSMorphologyCustomPronoun, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); + } + + static void setKeys_triggerChangeNotificationsForDependentKey_( + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSMorphologyCustomPronoun, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = _objc_msgSend_85( + _class_NSMorphologyCustomPronoun, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = _objc_msgSend_2( + _class_NSMorphologyCustomPronoun, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); + } +} + +late final _class_NSMorphologyCustomPronoun = + objc.getClass("NSMorphologyCustomPronoun"); +late final _sel_isSupportedForLanguage_ = + objc.registerName("isSupportedForLanguage:"); +late final _sel_requiredKeysForLanguage_ = + objc.registerName("requiredKeysForLanguage:"); +late final _sel_subjectForm = objc.registerName("subjectForm"); +late final _sel_setSubjectForm_ = objc.registerName("setSubjectForm:"); +late final _sel_objectForm = objc.registerName("objectForm"); +late final _sel_setObjectForm_ = objc.registerName("setObjectForm:"); +late final _sel_possessiveForm = objc.registerName("possessiveForm"); +late final _sel_setPossessiveForm_ = objc.registerName("setPossessiveForm:"); +late final _sel_possessiveAdjectiveForm = + objc.registerName("possessiveAdjectiveForm"); +late final _sel_setPossessiveAdjectiveForm_ = + objc.registerName("setPossessiveAdjectiveForm:"); +late final _sel_reflexiveForm = objc.registerName("reflexiveForm"); +late final _sel_setReflexiveForm_ = objc.registerName("setReflexiveForm:"); +late final _sel_customPronounForLanguage_ = + objc.registerName("customPronounForLanguage:"); +final _objc_msgSend_907 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer language)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_setCustomPronoun_forLanguage_error_ = + objc.registerName("setCustomPronoun:forLanguage:error:"); +final _objc_msgSend_908 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer features, + ffi.Pointer language, + ffi.Pointer> error)>>() + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>(); +late final _sel_isUnspecified = objc.registerName("isUnspecified"); +late final _sel_userMorphology = objc.registerName("userMorphology"); +final _objc_msgSend_909 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); class NSOperationQueue extends NSObject { - NSOperationQueue._( - ffi.Pointer pointer, - AVFAudio lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSOperationQueue._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSOperationQueue] that points to the same underlying object as [other]. - static NSOperationQueue castFrom( - AVFAudio lib, - T other, - ) { - return NSOperationQueue._(other.pointer, lib, retain: true, release: true); + static NSOperationQueue castFrom(T other) { + return NSOperationQueue._(other.pointer, retain: true, release: true); } /// Returns a [NSOperationQueue] that wraps the given raw object pointer. - static NSOperationQueue castFromPointer( - AVFAudio lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSOperationQueue._(other, lib, retain: retain, release: release); + static NSOperationQueue castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSOperationQueue._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSOperationQueue]. - static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSOperationQueue1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0( + obj.pointer, _sel_isKindOfClass_, _class_NSOperationQueue); } NSProgress get progress { - final _ret = _lib._objc_msgSend_879(this.pointer, _lib._sel_progress1); - return NSProgress._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_879(this.pointer, _sel_progress); + return NSProgress._(_ret, retain: true, release: true); } void addOperation_(NSOperation op) { - _lib._objc_msgSend_910(this.pointer, _lib._sel_addOperation_1, op.pointer); + _objc_msgSend_910(this.pointer, _sel_addOperation_, op.pointer); } void addOperations_waitUntilFinished_(NSArray ops, bool wait) { - _lib._objc_msgSend_913( - this.pointer, - _lib._sel_addOperations_waitUntilFinished_1, - ops.pointer, - wait, - ); + _objc_msgSend_913( + this.pointer, _sel_addOperations_waitUntilFinished_, ops.pointer, wait); } void addOperationWithBlock_(ObjCBlock_ffiVoid block) { - _lib._objc_msgSend_532( - this.pointer, - _lib._sel_addOperationWithBlock_1, - block.pointer, - ); + _objc_msgSend_532(this.pointer, _sel_addOperationWithBlock_, block.pointer); } void addBarrierBlock_(ObjCBlock_ffiVoid barrier) { - _lib._objc_msgSend_532( - this.pointer, - _lib._sel_addBarrierBlock_1, - barrier.pointer, - ); + _objc_msgSend_532(this.pointer, _sel_addBarrierBlock_, barrier.pointer); } int get maxConcurrentOperationCount { - return _lib._objc_msgSend_83( - this.pointer, - _lib._sel_maxConcurrentOperationCount1, - ); + return _objc_msgSend_83(this.pointer, _sel_maxConcurrentOperationCount); } set maxConcurrentOperationCount(int value) { - return _lib._objc_msgSend_635( - this.pointer, - _lib._sel_setMaxConcurrentOperationCount_1, - value, - ); + return _objc_msgSend_635( + this.pointer, _sel_setMaxConcurrentOperationCount_, value); } bool get suspended { - return _lib._objc_msgSend_12(this.pointer, _lib._sel_isSuspended1); + return _objc_msgSend_12(this.pointer, _sel_isSuspended); } set suspended(bool value) { - return _lib._objc_msgSend_527( - this.pointer, - _lib._sel_setSuspended_1, - value, - ); + return _objc_msgSend_527(this.pointer, _sel_setSuspended_, value); } NSString? get name { - final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_name1); + final _ret = _objc_msgSend_44(this.pointer, _sel_name); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } set name(NSString? value) { - return _lib._objc_msgSend_545( - this.pointer, - _lib._sel_setName_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_545( + this.pointer, _sel_setName_, value?.pointer ?? ffi.nullptr); } int get qualityOfService { - return _lib._objc_msgSend_543(this.pointer, _lib._sel_qualityOfService1); + return _objc_msgSend_543(this.pointer, _sel_qualityOfService); } set qualityOfService(int value) { - return _lib._objc_msgSend_544( - this.pointer, - _lib._sel_setQualityOfService_1, - value, - ); + return _objc_msgSend_544(this.pointer, _sel_setQualityOfService_, value); } - ffi.Pointer get underlyingQueue { - return _lib._objc_msgSend_914(this.pointer, _lib._sel_underlyingQueue1); + NSObject? get underlyingQueue { + final _ret = _objc_msgSend_914(this.pointer, _sel_underlyingQueue); + return _ret.address == 0 + ? null + : NSObject._(_ret, retain: true, release: true); } - set underlyingQueue(ffi.Pointer value) { - return _lib._objc_msgSend_915( - this.pointer, - _lib._sel_setUnderlyingQueue_1, - value, - ); + set underlyingQueue(NSObject? value) { + return _objc_msgSend_915( + this.pointer, _sel_setUnderlyingQueue_, value?.pointer ?? ffi.nullptr); } void cancelAllOperations() { - _lib._objc_msgSend_1(this.pointer, _lib._sel_cancelAllOperations1); + _objc_msgSend_1(this.pointer, _sel_cancelAllOperations); } void waitUntilAllOperationsAreFinished() { - _lib._objc_msgSend_1( - this.pointer, - _lib._sel_waitUntilAllOperationsAreFinished1, - ); + _objc_msgSend_1(this.pointer, _sel_waitUntilAllOperationsAreFinished); } - static NSOperationQueue? getCurrentQueue(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_916( - _lib._class_NSOperationQueue1, - _lib._sel_currentQueue1, - ); + static NSOperationQueue? getCurrentQueue() { + final _ret = _objc_msgSend_916(_class_NSOperationQueue, _sel_currentQueue); return _ret.address == 0 ? null - : NSOperationQueue._(_ret, _lib, retain: true, release: true); + : NSOperationQueue._(_ret, retain: true, release: true); } - static NSOperationQueue getMainQueue(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_917( - _lib._class_NSOperationQueue1, - _lib._sel_mainQueue1, - ); - return NSOperationQueue._(_ret, _lib, retain: true, release: true); + static NSOperationQueue getMainQueue() { + final _ret = _objc_msgSend_917(_class_NSOperationQueue, _sel_mainQueue); + return NSOperationQueue._(_ret, retain: true, release: true); } NSArray get operations { - final _ret = _lib._objc_msgSend_85(this.pointer, _lib._sel_operations1); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_85(this.pointer, _sel_operations); + return NSArray._(_ret, retain: true, release: true); } int get operationCount { - return _lib._objc_msgSend_10(this.pointer, _lib._sel_operationCount1); + return _objc_msgSend_10(this.pointer, _sel_operationCount); } @override NSOperationQueue init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSOperationQueue._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSOperationQueue._(_ret, retain: true, release: true); } - static NSOperationQueue new1(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSOperationQueue1, - _lib._sel_new1, - ); - return NSOperationQueue._(_ret, _lib, retain: false, release: true); + static NSOperationQueue new1() { + final _ret = _objc_msgSend_2(_class_NSOperationQueue, _sel_new); + return NSOperationQueue._(_ret, retain: false, release: true); } - static NSOperationQueue allocWithZone_( - AVFAudio _lib, - ffi.Pointer<_NSZone> zone, - ) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSOperationQueue1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSOperationQueue._(_ret, _lib, retain: false, release: true); + static NSOperationQueue allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = + _objc_msgSend_3(_class_NSOperationQueue, _sel_allocWithZone_, zone); + return NSOperationQueue._(_ret, retain: false, release: true); } - static NSOperationQueue alloc(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSOperationQueue1, - _lib._sel_alloc1, - ); - return NSOperationQueue._(_ret, _lib, retain: false, release: true); + static NSOperationQueue alloc() { + final _ret = _objc_msgSend_2(_class_NSOperationQueue, _sel_alloc); + return NSOperationQueue._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSOperationQueue1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSOperationQueue1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSOperationQueue1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSOperationQueue1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSOperationQueue1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSOperationQueue1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSOperationQueue, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); + } + + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSOperationQueue, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); + } + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSOperationQueue, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSOperationQueue, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSOperationQueue, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSOperationQueue, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); } static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSOperationQueue1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSOperationQueue1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSOperationQueue1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSOperationQueue, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = _objc_msgSend_85( + _class_NSOperationQueue, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = + _objc_msgSend_2(_class_NSOperationQueue, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); } } +late final _class_NSOperationQueue = objc.getClass("NSOperationQueue"); + class NSOperation extends NSObject { - NSOperation._( - ffi.Pointer pointer, - AVFAudio lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSOperation._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSOperation] that points to the same underlying object as [other]. - static NSOperation castFrom( - AVFAudio lib, - T other, - ) { - return NSOperation._(other.pointer, lib, retain: true, release: true); + static NSOperation castFrom(T other) { + return NSOperation._(other.pointer, retain: true, release: true); } /// Returns a [NSOperation] that wraps the given raw object pointer. - static NSOperation castFromPointer( - AVFAudio lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSOperation._(other, lib, retain: retain, release: release); + static NSOperation castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSOperation._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSOperation]. - static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSOperation1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0( + obj.pointer, _sel_isKindOfClass_, _class_NSOperation); } void start() { - _lib._objc_msgSend_1(this.pointer, _lib._sel_start1); + _objc_msgSend_1(this.pointer, _sel_start); } void main() { - _lib._objc_msgSend_1(this.pointer, _lib._sel_main1); + _objc_msgSend_1(this.pointer, _sel_main); } bool get cancelled { - return _lib._objc_msgSend_12(this.pointer, _lib._sel_isCancelled1); + return _objc_msgSend_12(this.pointer, _sel_isCancelled); } void cancel() { - _lib._objc_msgSend_1(this.pointer, _lib._sel_cancel1); + _objc_msgSend_1(this.pointer, _sel_cancel); } bool get executing { - return _lib._objc_msgSend_12(this.pointer, _lib._sel_isExecuting1); + return _objc_msgSend_12(this.pointer, _sel_isExecuting); } bool get finished { - return _lib._objc_msgSend_12(this.pointer, _lib._sel_isFinished1); + return _objc_msgSend_12(this.pointer, _sel_isFinished); } bool get concurrent { - return _lib._objc_msgSend_12(this.pointer, _lib._sel_isConcurrent1); + return _objc_msgSend_12(this.pointer, _sel_isConcurrent); } bool get asynchronous { - return _lib._objc_msgSend_12(this.pointer, _lib._sel_isAsynchronous1); + return _objc_msgSend_12(this.pointer, _sel_isAsynchronous); } bool get ready { - return _lib._objc_msgSend_12(this.pointer, _lib._sel_isReady1); + return _objc_msgSend_12(this.pointer, _sel_isReady); } void addDependency_(NSOperation op) { - _lib._objc_msgSend_910(this.pointer, _lib._sel_addDependency_1, op.pointer); + _objc_msgSend_910(this.pointer, _sel_addDependency_, op.pointer); } void removeDependency_(NSOperation op) { - _lib._objc_msgSend_910( - this.pointer, - _lib._sel_removeDependency_1, - op.pointer, - ); + _objc_msgSend_910(this.pointer, _sel_removeDependency_, op.pointer); } NSArray get dependencies { - final _ret = _lib._objc_msgSend_85(this.pointer, _lib._sel_dependencies1); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_85(this.pointer, _sel_dependencies); + return NSArray._(_ret, retain: true, release: true); } int get queuePriority { - return _lib._objc_msgSend_911(this.pointer, _lib._sel_queuePriority1); + return _objc_msgSend_911(this.pointer, _sel_queuePriority); } set queuePriority(int value) { - return _lib._objc_msgSend_912( - this.pointer, - _lib._sel_setQueuePriority_1, - value, - ); + return _objc_msgSend_912(this.pointer, _sel_setQueuePriority_, value); } ObjCBlock_ffiVoid? get completionBlock { - final _ret = _lib._objc_msgSend_668( - this.pointer, - _lib._sel_completionBlock1, - ); + final _ret = _objc_msgSend_668(this.pointer, _sel_completionBlock); return _ret.address == 0 ? null - : ObjCBlock_ffiVoid._(_ret, _lib, retain: true, release: true); + : ObjCBlock_ffiVoid._(_ret, retain: true, release: true); } set completionBlock(ObjCBlock_ffiVoid? value) { - return _lib._objc_msgSend_669( - this.pointer, - _lib._sel_setCompletionBlock_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_669( + this.pointer, _sel_setCompletionBlock_, value?.pointer ?? ffi.nullptr); } void waitUntilFinished() { - _lib._objc_msgSend_1(this.pointer, _lib._sel_waitUntilFinished1); + _objc_msgSend_1(this.pointer, _sel_waitUntilFinished); } double get threadPriority { return objc.useMsgSendVariants - ? _lib._objc_msgSend_165_fpret(this.pointer, _lib._sel_threadPriority1) - : _lib._objc_msgSend_165(this.pointer, _lib._sel_threadPriority1); + ? _objc_msgSend_165Fpret(this.pointer, _sel_threadPriority) + : _objc_msgSend_165(this.pointer, _sel_threadPriority); } set threadPriority(double value) { - return _lib._objc_msgSend_542( - this.pointer, - _lib._sel_setThreadPriority_1, - value, - ); + return _objc_msgSend_542(this.pointer, _sel_setThreadPriority_, value); } int get qualityOfService { - return _lib._objc_msgSend_543(this.pointer, _lib._sel_qualityOfService1); + return _objc_msgSend_543(this.pointer, _sel_qualityOfService); } set qualityOfService(int value) { - return _lib._objc_msgSend_544( - this.pointer, - _lib._sel_setQualityOfService_1, - value, - ); + return _objc_msgSend_544(this.pointer, _sel_setQualityOfService_, value); } NSString? get name { - final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_name1); + final _ret = _objc_msgSend_44(this.pointer, _sel_name); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } set name(NSString? value) { - return _lib._objc_msgSend_545( - this.pointer, - _lib._sel_setName_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_545( + this.pointer, _sel_setName_, value?.pointer ?? ffi.nullptr); } @override NSOperation init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSOperation._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSOperation._(_ret, retain: true, release: true); } - static NSOperation new1(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2(_lib._class_NSOperation1, _lib._sel_new1); - return NSOperation._(_ret, _lib, retain: false, release: true); + static NSOperation new1() { + final _ret = _objc_msgSend_2(_class_NSOperation, _sel_new); + return NSOperation._(_ret, retain: false, release: true); } - static NSOperation allocWithZone_(AVFAudio _lib, ffi.Pointer<_NSZone> zone) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSOperation1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSOperation._(_ret, _lib, retain: false, release: true); + static NSOperation allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = _objc_msgSend_3(_class_NSOperation, _sel_allocWithZone_, zone); + return NSOperation._(_ret, retain: false, release: true); } - static NSOperation alloc(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSOperation1, - _lib._sel_alloc1, - ); - return NSOperation._(_ret, _lib, retain: false, release: true); + static NSOperation alloc() { + final _ret = _objc_msgSend_2(_class_NSOperation, _sel_alloc); + return NSOperation._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSOperation1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSOperation1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSOperation1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSOperation1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSOperation1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSOperation1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSOperation, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); } - static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSOperation1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSOperation1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSOperation1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSOperation, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); } -} + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSOperation, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSOperation, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSOperation, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSOperation, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); + } + + static void setKeys_triggerChangeNotificationsForDependentKey_( + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSOperation, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = _objc_msgSend_85( + _class_NSOperation, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = + _objc_msgSend_2(_class_NSOperation, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); + } +} + +late final _class_NSOperation = objc.getClass("NSOperation"); +late final _sel_isConcurrent = objc.registerName("isConcurrent"); +late final _sel_isAsynchronous = objc.registerName("isAsynchronous"); +late final _sel_isReady = objc.registerName("isReady"); +late final _sel_addDependency_ = objc.registerName("addDependency:"); +final _objc_msgSend_910 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer op)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_removeDependency_ = objc.registerName("removeDependency:"); +late final _sel_dependencies = objc.registerName("dependencies"); abstract class NSOperationQueuePriority { static const int NSOperationQueuePriorityVeryLow = -8; @@ -81031,307 +45786,298 @@ abstract class NSOperationQueuePriority { static const int NSOperationQueuePriorityVeryHigh = 8; } -final class dispatch_queue_s extends ffi.Opaque {} +late final _sel_queuePriority = objc.registerName("queuePriority"); +final _objc_msgSend_911 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + int Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_setQueuePriority_ = objc.registerName("setQueuePriority:"); +final _objc_msgSend_912 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer obj, + ffi.Pointer sel, ffi.Int32 value)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, int)>(); +late final _sel_completionBlock = objc.registerName("completionBlock"); +late final _sel_setCompletionBlock_ = objc.registerName("setCompletionBlock:"); +late final _sel_waitUntilFinished = objc.registerName("waitUntilFinished"); +late final _sel_addOperation_ = objc.registerName("addOperation:"); +late final _sel_addOperations_waitUntilFinished_ = + objc.registerName("addOperations:waitUntilFinished:"); +final _objc_msgSend_913 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer ops, + ffi.Bool wait)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool)>(); +late final _sel_addOperationWithBlock_ = + objc.registerName("addOperationWithBlock:"); +late final _sel_addBarrierBlock_ = objc.registerName("addBarrierBlock:"); +late final _sel_maxConcurrentOperationCount = + objc.registerName("maxConcurrentOperationCount"); +late final _sel_setMaxConcurrentOperationCount_ = + objc.registerName("setMaxConcurrentOperationCount:"); +late final _sel_isSuspended = objc.registerName("isSuspended"); +late final _sel_setSuspended_ = objc.registerName("setSuspended:"); +late final _sel_underlyingQueue = objc.registerName("underlyingQueue"); +final _objc_msgSend_914 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_setUnderlyingQueue_ = objc.registerName("setUnderlyingQueue:"); +final _objc_msgSend_915 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_cancelAllOperations = objc.registerName("cancelAllOperations"); +late final _sel_waitUntilAllOperationsAreFinished = + objc.registerName("waitUntilAllOperationsAreFinished"); +late final _sel_currentQueue = objc.registerName("currentQueue"); +final _objc_msgSend_916 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_mainQueue = objc.registerName("mainQueue"); +final _objc_msgSend_917 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_operations = objc.registerName("operations"); +late final _sel_operationCount = objc.registerName("operationCount"); class NSPointerArray extends NSObject { - NSPointerArray._( - ffi.Pointer pointer, - AVFAudio lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSPointerArray._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSPointerArray] that points to the same underlying object as [other]. - static NSPointerArray castFrom( - AVFAudio lib, - T other, - ) { - return NSPointerArray._(other.pointer, lib, retain: true, release: true); + static NSPointerArray castFrom(T other) { + return NSPointerArray._(other.pointer, retain: true, release: true); } /// Returns a [NSPointerArray] that wraps the given raw object pointer. - static NSPointerArray castFromPointer( - AVFAudio lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSPointerArray._(other, lib, retain: retain, release: release); + static NSPointerArray castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSPointerArray._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSPointerArray]. - static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSPointerArray1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0( + obj.pointer, _sel_isKindOfClass_, _class_NSPointerArray); } NSPointerArray initWithOptions_(int options) { - final _ret = _lib._objc_msgSend_918( - this.pointer, - _lib._sel_initWithOptions_1, - options, - ); - return NSPointerArray._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_918(this.pointer, _sel_initWithOptions_, options); + return NSPointerArray._(_ret, retain: true, release: true); } NSPointerArray initWithPointerFunctions_(NSPointerFunctions functions) { - final _ret = _lib._objc_msgSend_932( - this.pointer, - _lib._sel_initWithPointerFunctions_1, - functions.pointer, - ); - return NSPointerArray._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_932( + this.pointer, _sel_initWithPointerFunctions_, functions.pointer); + return NSPointerArray._(_ret, retain: true, release: true); } - static NSPointerArray pointerArrayWithOptions_(AVFAudio _lib, int options) { - final _ret = _lib._objc_msgSend_933( - _lib._class_NSPointerArray1, - _lib._sel_pointerArrayWithOptions_1, - options, - ); - return NSPointerArray._(_ret, _lib, retain: true, release: true); + static NSPointerArray pointerArrayWithOptions_(int options) { + final _ret = _objc_msgSend_933( + _class_NSPointerArray, _sel_pointerArrayWithOptions_, options); + return NSPointerArray._(_ret, retain: true, release: true); } static NSPointerArray pointerArrayWithPointerFunctions_( - AVFAudio _lib, - NSPointerFunctions functions, - ) { - final _ret = _lib._objc_msgSend_934( - _lib._class_NSPointerArray1, - _lib._sel_pointerArrayWithPointerFunctions_1, - functions.pointer, - ); - return NSPointerArray._(_ret, _lib, retain: true, release: true); + NSPointerFunctions functions) { + final _ret = _objc_msgSend_934(_class_NSPointerArray, + _sel_pointerArrayWithPointerFunctions_, functions.pointer); + return NSPointerArray._(_ret, retain: true, release: true); } NSPointerFunctions get pointerFunctions { - final _ret = _lib._objc_msgSend_935( - this.pointer, - _lib._sel_pointerFunctions1, - ); - return NSPointerFunctions._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_935(this.pointer, _sel_pointerFunctions); + return NSPointerFunctions._(_ret, retain: true, release: true); } ffi.Pointer pointerAtIndex_(int index) { - return _lib._objc_msgSend_936( - this.pointer, - _lib._sel_pointerAtIndex_1, - index, - ); + return _objc_msgSend_936(this.pointer, _sel_pointerAtIndex_, index); } void addPointer_(ffi.Pointer pointer) { - _lib._objc_msgSend_52(this.pointer, _lib._sel_addPointer_1, pointer); + _objc_msgSend_52(this.pointer, _sel_addPointer_, pointer); } void removePointerAtIndex_(int index) { - _lib._objc_msgSend_470( - this.pointer, - _lib._sel_removePointerAtIndex_1, - index, - ); + _objc_msgSend_470(this.pointer, _sel_removePointerAtIndex_, index); } void insertPointer_atIndex_(ffi.Pointer item, int index) { - _lib._objc_msgSend_22( - this.pointer, - _lib._sel_insertPointer_atIndex_1, - item, - index, - ); + _objc_msgSend_22(this.pointer, _sel_insertPointer_atIndex_, item, index); } void replacePointerAtIndex_withPointer_( - int index, - ffi.Pointer item, - ) { - _lib._objc_msgSend_937( - this.pointer, - _lib._sel_replacePointerAtIndex_withPointer_1, - index, - item, - ); + int index, ffi.Pointer item) { + _objc_msgSend_937( + this.pointer, _sel_replacePointerAtIndex_withPointer_, index, item); } void compact() { - _lib._objc_msgSend_1(this.pointer, _lib._sel_compact1); + _objc_msgSend_1(this.pointer, _sel_compact); } int get count { - return _lib._objc_msgSend_10(this.pointer, _lib._sel_count1); + return _objc_msgSend_10(this.pointer, _sel_count); } set count(int value) { - return _lib._objc_msgSend_516(this.pointer, _lib._sel_setCount_1, value); + return _objc_msgSend_516(this.pointer, _sel_setCount_, value); } - static NSObject pointerArrayWithStrongObjects(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSPointerArray1, - _lib._sel_pointerArrayWithStrongObjects1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + static NSObject pointerArrayWithStrongObjects() { + final _ret = _objc_msgSend_2( + _class_NSPointerArray, _sel_pointerArrayWithStrongObjects); + return NSObject._(_ret, retain: true, release: true); } - static NSObject pointerArrayWithWeakObjects(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSPointerArray1, - _lib._sel_pointerArrayWithWeakObjects1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + static NSObject pointerArrayWithWeakObjects() { + final _ret = _objc_msgSend_2( + _class_NSPointerArray, _sel_pointerArrayWithWeakObjects); + return NSObject._(_ret, retain: true, release: true); } - static NSPointerArray strongObjectsPointerArray(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_938( - _lib._class_NSPointerArray1, - _lib._sel_strongObjectsPointerArray1, - ); - return NSPointerArray._(_ret, _lib, retain: true, release: true); + static NSPointerArray strongObjectsPointerArray() { + final _ret = _objc_msgSend_938( + _class_NSPointerArray, _sel_strongObjectsPointerArray); + return NSPointerArray._(_ret, retain: true, release: true); } - static NSPointerArray weakObjectsPointerArray(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_938( - _lib._class_NSPointerArray1, - _lib._sel_weakObjectsPointerArray1, - ); - return NSPointerArray._(_ret, _lib, retain: true, release: true); + static NSPointerArray weakObjectsPointerArray() { + final _ret = + _objc_msgSend_938(_class_NSPointerArray, _sel_weakObjectsPointerArray); + return NSPointerArray._(_ret, retain: true, release: true); } NSArray get allObjects { - final _ret = _lib._objc_msgSend_85(this.pointer, _lib._sel_allObjects1); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_85(this.pointer, _sel_allObjects); + return NSArray._(_ret, retain: true, release: true); } @override NSPointerArray init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSPointerArray._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSPointerArray._(_ret, retain: true, release: true); } - static NSPointerArray new1(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSPointerArray1, - _lib._sel_new1, - ); - return NSPointerArray._(_ret, _lib, retain: false, release: true); + static NSPointerArray new1() { + final _ret = _objc_msgSend_2(_class_NSPointerArray, _sel_new); + return NSPointerArray._(_ret, retain: false, release: true); } - static NSPointerArray allocWithZone_( - AVFAudio _lib, - ffi.Pointer<_NSZone> zone, - ) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSPointerArray1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSPointerArray._(_ret, _lib, retain: false, release: true); + static NSPointerArray allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = + _objc_msgSend_3(_class_NSPointerArray, _sel_allocWithZone_, zone); + return NSPointerArray._(_ret, retain: false, release: true); } - static NSPointerArray alloc(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSPointerArray1, - _lib._sel_alloc1, - ); - return NSPointerArray._(_ret, _lib, retain: false, release: true); + static NSPointerArray alloc() { + final _ret = _objc_msgSend_2(_class_NSPointerArray, _sel_alloc); + return NSPointerArray._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSPointerArray1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSPointerArray1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSPointerArray1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSPointerArray1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSPointerArray1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSPointerArray1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSPointerArray, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); + } + + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSPointerArray, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); + } + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSPointerArray, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSPointerArray, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSPointerArray, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSPointerArray, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); } static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSPointerArray1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSPointerArray1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSPointerArray1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSPointerArray, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = _objc_msgSend_85( + _class_NSPointerArray, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = + _objc_msgSend_2(_class_NSPointerArray, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); } } +late final _class_NSPointerArray = objc.getClass("NSPointerArray"); + abstract class NSPointerFunctionsOptions { static const int NSPointerFunctionsStrongMemory = 0; static const int NSPointerFunctionsZeroingWeakMemory = 1; @@ -81348,763 +46094,917 @@ abstract class NSPointerFunctionsOptions { static const int NSPointerFunctionsCopyIn = 65536; } +late final _sel_initWithOptions_ = objc.registerName("initWithOptions:"); +final _objc_msgSend_918 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function(ffi.Pointer obj, + ffi.Pointer sel, ffi.Int32 options)>>() + .asFunction< + instancetype Function(ffi.Pointer, + ffi.Pointer, int)>(); + class NSPointerFunctions extends NSObject { - NSPointerFunctions._( - ffi.Pointer pointer, - AVFAudio lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSPointerFunctions._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSPointerFunctions] that points to the same underlying object as [other]. - static NSPointerFunctions castFrom( - AVFAudio lib, - T other, - ) { - return NSPointerFunctions._( - other.pointer, - lib, - retain: true, - release: true, - ); + static NSPointerFunctions castFrom(T other) { + return NSPointerFunctions._(other.pointer, retain: true, release: true); } /// Returns a [NSPointerFunctions] that wraps the given raw object pointer. - static NSPointerFunctions castFromPointer( - AVFAudio lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSPointerFunctions._(other, lib, retain: retain, release: release); + static NSPointerFunctions castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSPointerFunctions._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSPointerFunctions]. - static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSPointerFunctions1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0( + obj.pointer, _sel_isKindOfClass_, _class_NSPointerFunctions); } NSPointerFunctions initWithOptions_(int options) { - final _ret = _lib._objc_msgSend_918( - this.pointer, - _lib._sel_initWithOptions_1, - options, - ); - return NSPointerFunctions._(_ret, _lib, retain: true, release: true); - } - - static NSPointerFunctions pointerFunctionsWithOptions_( - AVFAudio _lib, - int options, - ) { - final _ret = _lib._objc_msgSend_919( - _lib._class_NSPointerFunctions1, - _lib._sel_pointerFunctionsWithOptions_1, - options, - ); - return NSPointerFunctions._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_918(this.pointer, _sel_initWithOptions_, options); + return NSPointerFunctions._(_ret, retain: true, release: true); } - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function(ffi.Pointer)>>, - )>> get hashFunction { - return _lib._objc_msgSend_920(this.pointer, _lib._sel_hashFunction1); + static NSPointerFunctions pointerFunctionsWithOptions_(int options) { + final _ret = _objc_msgSend_919( + _class_NSPointerFunctions, _sel_pointerFunctionsWithOptions_, options); + return NSPointerFunctions._(_ret, retain: true, release: true); } - set hashFunction( - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function( + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function( ffi.Pointer, ffi.Pointer< ffi.NativeFunction< - ffi.UnsignedLong Function(ffi.Pointer)>>, - )>> - value, - ) { - return _lib._objc_msgSend_921( - this.pointer, - _lib._sel_setHashFunction_1, - value, - ); + ffi.UnsignedLong Function(ffi.Pointer)>>)>> + get hashFunction { + return _objc_msgSend_920(this.pointer, _sel_hashFunction); } - ffi.Pointer< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function(ffi.Pointer)>>, - )>> get isEqualFunction { - return _lib._objc_msgSend_922(this.pointer, _lib._sel_isEqualFunction1); + set hashFunction( + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer)>>)>> + value) { + return _objc_msgSend_921(this.pointer, _sel_setHashFunction_, value); } - set isEqualFunction( - ffi.Pointer< - ffi.NativeFunction< - ffi.Bool Function( + ffi.Pointer< + ffi.NativeFunction< + ffi.Bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer< ffi.NativeFunction< - ffi.UnsignedLong Function(ffi.Pointer)>>, - )>> - value, - ) { - return _lib._objc_msgSend_923( - this.pointer, - _lib._sel_setIsEqualFunction_1, - value, - ); + ffi.UnsignedLong Function(ffi.Pointer)>>)>> + get isEqualFunction { + return _objc_msgSend_922(this.pointer, _sel_isEqualFunction); + } + + set isEqualFunction( + ffi.Pointer< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer)>>)>> + value) { + return _objc_msgSend_923(this.pointer, _sel_setIsEqualFunction_, value); } ffi.Pointer< ffi.NativeFunction)>> get sizeFunction { - return _lib._objc_msgSend_924(this.pointer, _lib._sel_sizeFunction1); + return _objc_msgSend_924(this.pointer, _sel_sizeFunction); } set sizeFunction( - ffi.Pointer< - ffi - .NativeFunction)>> - value, - ) { - return _lib._objc_msgSend_925( - this.pointer, - _lib._sel_setSizeFunction_1, - value, - ); + ffi.Pointer< + ffi + .NativeFunction)>> + value) { + return _objc_msgSend_925(this.pointer, _sel_setSizeFunction_, value); } ffi.Pointer< ffi.NativeFunction< ffi.Pointer Function(ffi.Pointer)>> get descriptionFunction { - return _lib._objc_msgSend_926(this.pointer, _lib._sel_descriptionFunction1); + return _objc_msgSend_926(this.pointer, _sel_descriptionFunction); } set descriptionFunction( - ffi.Pointer< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer)>> - value, - ) { - return _lib._objc_msgSend_927( - this.pointer, - _lib._sel_setDescriptionFunction_1, - value, - ); + ffi.Pointer< + ffi.NativeFunction< + ffi.Pointer Function(ffi.Pointer)>> + value) { + return _objc_msgSend_927(this.pointer, _sel_setDescriptionFunction_, value); } ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function(ffi.Pointer)>>, - )>> get relinquishFunction { - return _lib._objc_msgSend_928(this.pointer, _lib._sel_relinquishFunction1); - } - - set relinquishFunction( - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( ffi.Pointer, ffi.Pointer< ffi.NativeFunction< - ffi.UnsignedLong Function(ffi.Pointer)>>, - )>> - value, - ) { - return _lib._objc_msgSend_929( - this.pointer, - _lib._sel_setRelinquishFunction_1, - value, - ); + ffi.UnsignedLong Function(ffi.Pointer)>>)>> + get relinquishFunction { + return _objc_msgSend_928(this.pointer, _sel_relinquishFunction); + } + + set relinquishFunction( + ffi.Pointer< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer)>>)>> + value) { + return _objc_msgSend_929(this.pointer, _sel_setRelinquishFunction_, value); } ffi.Pointer< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function(ffi.Pointer)>>, - ffi.Bool, - )>> get acquireFunction { - return _lib._objc_msgSend_930(this.pointer, _lib._sel_acquireFunction1); + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function(ffi.Pointer)>>, + ffi.Bool)>> get acquireFunction { + return _objc_msgSend_930(this.pointer, _sel_acquireFunction); } set acquireFunction( - ffi.Pointer< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function(ffi.Pointer)>>, - ffi.Bool, - )>> - value, - ) { - return _lib._objc_msgSend_931( - this.pointer, - _lib._sel_setAcquireFunction_1, - value, - ); + ffi.Pointer< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer)>>, + ffi.Bool)>> + value) { + return _objc_msgSend_931(this.pointer, _sel_setAcquireFunction_, value); } bool get usesStrongWriteBarrier { - return _lib._objc_msgSend_12( - this.pointer, - _lib._sel_usesStrongWriteBarrier1, - ); + return _objc_msgSend_12(this.pointer, _sel_usesStrongWriteBarrier); } set usesStrongWriteBarrier(bool value) { - return _lib._objc_msgSend_527( - this.pointer, - _lib._sel_setUsesStrongWriteBarrier_1, - value, - ); + return _objc_msgSend_527( + this.pointer, _sel_setUsesStrongWriteBarrier_, value); } bool get usesWeakReadAndWriteBarriers { - return _lib._objc_msgSend_12( - this.pointer, - _lib._sel_usesWeakReadAndWriteBarriers1, - ); + return _objc_msgSend_12(this.pointer, _sel_usesWeakReadAndWriteBarriers); } set usesWeakReadAndWriteBarriers(bool value) { - return _lib._objc_msgSend_527( - this.pointer, - _lib._sel_setUsesWeakReadAndWriteBarriers_1, - value, - ); + return _objc_msgSend_527( + this.pointer, _sel_setUsesWeakReadAndWriteBarriers_, value); } @override NSPointerFunctions init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSPointerFunctions._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSPointerFunctions._(_ret, retain: true, release: true); } - static NSPointerFunctions new1(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSPointerFunctions1, - _lib._sel_new1, - ); - return NSPointerFunctions._(_ret, _lib, retain: false, release: true); + static NSPointerFunctions new1() { + final _ret = _objc_msgSend_2(_class_NSPointerFunctions, _sel_new); + return NSPointerFunctions._(_ret, retain: false, release: true); } - static NSPointerFunctions allocWithZone_( - AVFAudio _lib, - ffi.Pointer<_NSZone> zone, - ) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSPointerFunctions1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSPointerFunctions._(_ret, _lib, retain: false, release: true); + static NSPointerFunctions allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = + _objc_msgSend_3(_class_NSPointerFunctions, _sel_allocWithZone_, zone); + return NSPointerFunctions._(_ret, retain: false, release: true); } - static NSPointerFunctions alloc(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSPointerFunctions1, - _lib._sel_alloc1, - ); - return NSPointerFunctions._(_ret, _lib, retain: false, release: true); + static NSPointerFunctions alloc() { + final _ret = _objc_msgSend_2(_class_NSPointerFunctions, _sel_alloc); + return NSPointerFunctions._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSPointerFunctions1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSPointerFunctions1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSPointerFunctions1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSPointerFunctions1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSPointerFunctions1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSPointerFunctions1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSPointerFunctions, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); } - static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSPointerFunctions1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSPointerFunctions1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSPointerFunctions1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSPointerFunctions, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); } -} + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSPointerFunctions, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSPointerFunctions, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSPointerFunctions, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSPointerFunctions, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); + } + + static void setKeys_triggerChangeNotificationsForDependentKey_( + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSPointerFunctions, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = _objc_msgSend_85( + _class_NSPointerFunctions, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = _objc_msgSend_2( + _class_NSPointerFunctions, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); + } +} + +late final _class_NSPointerFunctions = objc.getClass("NSPointerFunctions"); +late final _sel_pointerFunctionsWithOptions_ = + objc.registerName("pointerFunctionsWithOptions:"); +final _objc_msgSend_919 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Int32 options)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, int)>(); +late final _sel_hashFunction = objc.registerName("hashFunction"); +final _objc_msgSend_920 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer, ffi.Pointer)>>)>> Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer)>>)>> + Function(ffi.Pointer, ffi.Pointer)>(); +late final _sel_setHashFunction_ = objc.registerName("setHashFunction:"); +final _objc_msgSend_921 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer)>>)>> + value)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function(ffi.Pointer, + ffi.Pointer)>>)>>)>(); +late final _sel_isEqualFunction = objc.registerName("isEqualFunction"); +final _objc_msgSend_922 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer, ffi.Pointer, ffi.Pointer)>>)>> Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer)>>)>> + Function(ffi.Pointer, ffi.Pointer)>(); +late final _sel_setIsEqualFunction_ = objc.registerName("setIsEqualFunction:"); +final _objc_msgSend_923 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer)>>)>> + value)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>)>>)>(); +late final _sel_sizeFunction = objc.registerName("sizeFunction"); +final _objc_msgSend_924 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer)>> Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function(ffi.Pointer)>> + Function(ffi.Pointer, ffi.Pointer)>(); +late final _sel_setSizeFunction_ = objc.registerName("setSizeFunction:"); +final _objc_msgSend_925 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function(ffi.Pointer)>> + value)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function(ffi.Pointer)>>)>(); +late final _sel_descriptionFunction = objc.registerName("descriptionFunction"); +final _objc_msgSend_926 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function(ffi.Pointer)>> Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer)>> + Function(ffi.Pointer, ffi.Pointer)>(); +late final _sel_setDescriptionFunction_ = + objc.registerName("setDescriptionFunction:"); +final _objc_msgSend_927 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer)>> + value)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer)>>)>(); +late final _sel_relinquishFunction = objc.registerName("relinquishFunction"); +final _objc_msgSend_928 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer, ffi.Pointer)>>)>> Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer)>>)>> + Function(ffi.Pointer, ffi.Pointer)>(); +late final _sel_setRelinquishFunction_ = + objc.registerName("setRelinquishFunction:"); +final _objc_msgSend_929 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer)>>)>> + value)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer, + ffi.Pointer)>>)>>)>(); +late final _sel_acquireFunction = objc.registerName("acquireFunction"); +final _objc_msgSend_930 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function(ffi.Pointer, ffi.Pointer)>>, ffi.Bool)>> Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer)>>, + ffi.Bool)>> + Function(ffi.Pointer, ffi.Pointer)>(); +late final _sel_setAcquireFunction_ = objc.registerName("setAcquireFunction:"); +final _objc_msgSend_931 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer)>>, + ffi.Bool)>> + value)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer< + ffi + .NativeFunction Function(ffi.Pointer, ffi.Pointer)>>, ffi.Bool)>>)>(); +late final _sel_usesStrongWriteBarrier = + objc.registerName("usesStrongWriteBarrier"); +late final _sel_setUsesStrongWriteBarrier_ = + objc.registerName("setUsesStrongWriteBarrier:"); +late final _sel_usesWeakReadAndWriteBarriers = + objc.registerName("usesWeakReadAndWriteBarriers"); +late final _sel_setUsesWeakReadAndWriteBarriers_ = + objc.registerName("setUsesWeakReadAndWriteBarriers:"); +late final _sel_initWithPointerFunctions_ = + objc.registerName("initWithPointerFunctions:"); +final _objc_msgSend_932 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer functions)>>() + .asFunction< + instancetype Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_pointerArrayWithOptions_ = + objc.registerName("pointerArrayWithOptions:"); +final _objc_msgSend_933 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Int32 options)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, int)>(); +late final _sel_pointerArrayWithPointerFunctions_ = + objc.registerName("pointerArrayWithPointerFunctions:"); +final _objc_msgSend_934 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer functions)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_pointerFunctions = objc.registerName("pointerFunctions"); +final _objc_msgSend_935 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_pointerAtIndex_ = objc.registerName("pointerAtIndex:"); +final _objc_msgSend_936 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function(ffi.Pointer obj, + ffi.Pointer sel, ffi.UnsignedLong index)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, int)>(); +late final _sel_addPointer_ = objc.registerName("addPointer:"); +late final _sel_removePointerAtIndex_ = + objc.registerName("removePointerAtIndex:"); +late final _sel_insertPointer_atIndex_ = + objc.registerName("insertPointer:atIndex:"); +late final _sel_replacePointerAtIndex_withPointer_ = + objc.registerName("replacePointerAtIndex:withPointer:"); +final _objc_msgSend_937 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.UnsignedLong index, + ffi.Pointer item)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, int, ffi.Pointer)>(); +late final _sel_compact = objc.registerName("compact"); +late final _sel_setCount_ = objc.registerName("setCount:"); +late final _sel_pointerArrayWithStrongObjects = + objc.registerName("pointerArrayWithStrongObjects"); +late final _sel_pointerArrayWithWeakObjects = + objc.registerName("pointerArrayWithWeakObjects"); +late final _sel_strongObjectsPointerArray = + objc.registerName("strongObjectsPointerArray"); +final _objc_msgSend_938 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_weakObjectsPointerArray = + objc.registerName("weakObjectsPointerArray"); class NSProcessInfo extends NSObject { - NSProcessInfo._( - ffi.Pointer pointer, - AVFAudio lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSProcessInfo._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSProcessInfo] that points to the same underlying object as [other]. - static NSProcessInfo castFrom( - AVFAudio lib, - T other, - ) { - return NSProcessInfo._(other.pointer, lib, retain: true, release: true); + static NSProcessInfo castFrom(T other) { + return NSProcessInfo._(other.pointer, retain: true, release: true); } /// Returns a [NSProcessInfo] that wraps the given raw object pointer. - static NSProcessInfo castFromPointer( - AVFAudio lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSProcessInfo._(other, lib, retain: retain, release: release); + static NSProcessInfo castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSProcessInfo._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSProcessInfo]. - static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSProcessInfo1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0( + obj.pointer, _sel_isKindOfClass_, _class_NSProcessInfo); } - static NSProcessInfo getProcessInfo(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_939( - _lib._class_NSProcessInfo1, - _lib._sel_processInfo1, - ); - return NSProcessInfo._(_ret, _lib, retain: true, release: true); + static NSProcessInfo getProcessInfo() { + final _ret = _objc_msgSend_939(_class_NSProcessInfo, _sel_processInfo); + return NSProcessInfo._(_ret, retain: true, release: true); } NSDictionary get environment { - final _ret = _lib._objc_msgSend_181(this.pointer, _lib._sel_environment1); - return NSDictionary._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_181(this.pointer, _sel_environment); + return NSDictionary._(_ret, retain: true, release: true); } NSArray get arguments { - final _ret = _lib._objc_msgSend_85(this.pointer, _lib._sel_arguments1); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_85(this.pointer, _sel_arguments); + return NSArray._(_ret, retain: true, release: true); } NSString get hostName { - final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_hostName1); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_hostName); + return NSString._(_ret, retain: true, release: true); } NSString get processName { - final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_processName1); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_processName); + return NSString._(_ret, retain: true, release: true); } set processName(NSString value) { - return _lib._objc_msgSend_646( - this.pointer, - _lib._sel_setProcessName_1, - value.pointer, - ); + return _objc_msgSend_646(this.pointer, _sel_setProcessName_, value.pointer); } int get processIdentifier { - return _lib._objc_msgSend_237(this.pointer, _lib._sel_processIdentifier1); + return _objc_msgSend_237(this.pointer, _sel_processIdentifier); } NSString get globallyUniqueString { - final _ret = _lib._objc_msgSend_21( - this.pointer, - _lib._sel_globallyUniqueString1, - ); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_globallyUniqueString); + return NSString._(_ret, retain: true, release: true); } int operatingSystem() { - return _lib._objc_msgSend_10(this.pointer, _lib._sel_operatingSystem1); + return _objc_msgSend_10(this.pointer, _sel_operatingSystem); } NSString operatingSystemName() { - final _ret = _lib._objc_msgSend_21( - this.pointer, - _lib._sel_operatingSystemName1, - ); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_operatingSystemName); + return NSString._(_ret, retain: true, release: true); } NSString get operatingSystemVersionString { - final _ret = _lib._objc_msgSend_21( - this.pointer, - _lib._sel_operatingSystemVersionString1, - ); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_21(this.pointer, _sel_operatingSystemVersionString); + return NSString._(_ret, retain: true, release: true); } void getOperatingSystemVersion(ffi.Pointer stret) { objc.useMsgSendVariants - ? _lib._objc_msgSend_940_stret( - stret, - this.pointer, - _lib._sel_operatingSystemVersion1, - ) - : stret.ref = _lib._objc_msgSend_940( - this.pointer, - _lib._sel_operatingSystemVersion1, - ); + ? _objc_msgSend_940Stret( + stret, this.pointer, _sel_operatingSystemVersion) + : stret.ref = + _objc_msgSend_940(this.pointer, _sel_operatingSystemVersion); } int get processorCount { - return _lib._objc_msgSend_10(this.pointer, _lib._sel_processorCount1); + return _objc_msgSend_10(this.pointer, _sel_processorCount); } int get activeProcessorCount { - return _lib._objc_msgSend_10(this.pointer, _lib._sel_activeProcessorCount1); + return _objc_msgSend_10(this.pointer, _sel_activeProcessorCount); } int get physicalMemory { - return _lib._objc_msgSend_164(this.pointer, _lib._sel_physicalMemory1); + return _objc_msgSend_164(this.pointer, _sel_physicalMemory); } bool isOperatingSystemAtLeastVersion_(NSOperatingSystemVersion version) { - return _lib._objc_msgSend_941( - this.pointer, - _lib._sel_isOperatingSystemAtLeastVersion_1, - version, - ); + return _objc_msgSend_941( + this.pointer, _sel_isOperatingSystemAtLeastVersion_, version); } double get systemUptime { return objc.useMsgSendVariants - ? _lib._objc_msgSend_165_fpret(this.pointer, _lib._sel_systemUptime1) - : _lib._objc_msgSend_165(this.pointer, _lib._sel_systemUptime1); + ? _objc_msgSend_165Fpret(this.pointer, _sel_systemUptime) + : _objc_msgSend_165(this.pointer, _sel_systemUptime); } void disableSuddenTermination() { - _lib._objc_msgSend_1(this.pointer, _lib._sel_disableSuddenTermination1); + _objc_msgSend_1(this.pointer, _sel_disableSuddenTermination); } void enableSuddenTermination() { - _lib._objc_msgSend_1(this.pointer, _lib._sel_enableSuddenTermination1); + _objc_msgSend_1(this.pointer, _sel_enableSuddenTermination); } void disableAutomaticTermination_(NSString reason) { - _lib._objc_msgSend_247( - this.pointer, - _lib._sel_disableAutomaticTermination_1, - reason.pointer, - ); + _objc_msgSend_247( + this.pointer, _sel_disableAutomaticTermination_, reason.pointer); } void enableAutomaticTermination_(NSString reason) { - _lib._objc_msgSend_247( - this.pointer, - _lib._sel_enableAutomaticTermination_1, - reason.pointer, - ); + _objc_msgSend_247( + this.pointer, _sel_enableAutomaticTermination_, reason.pointer); } bool get automaticTerminationSupportEnabled { - return _lib._objc_msgSend_12( - this.pointer, - _lib._sel_automaticTerminationSupportEnabled1, - ); + return _objc_msgSend_12( + this.pointer, _sel_automaticTerminationSupportEnabled); } set automaticTerminationSupportEnabled(bool value) { - return _lib._objc_msgSend_527( - this.pointer, - _lib._sel_setAutomaticTerminationSupportEnabled_1, - value, - ); + return _objc_msgSend_527( + this.pointer, _sel_setAutomaticTerminationSupportEnabled_, value); } NSObject beginActivityWithOptions_reason_(int options, NSString reason) { - final _ret = _lib._objc_msgSend_942( - this.pointer, - _lib._sel_beginActivityWithOptions_reason_1, - options, - reason.pointer, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_942(this.pointer, + _sel_beginActivityWithOptions_reason_, options, reason.pointer); + return NSObject._(_ret, retain: true, release: true); } void endActivity_(NSObject activity) { - _lib._objc_msgSend_15( - this.pointer, - _lib._sel_endActivity_1, - activity.pointer, - ); + _objc_msgSend_15(this.pointer, _sel_endActivity_, activity.pointer); } void performActivityWithOptions_reason_usingBlock_( - int options, - NSString reason, - ObjCBlock_ffiVoid block, - ) { - _lib._objc_msgSend_943( - this.pointer, - _lib._sel_performActivityWithOptions_reason_usingBlock_1, - options, - reason.pointer, - block.pointer, - ); + int options, NSString reason, ObjCBlock_ffiVoid block) { + _objc_msgSend_943( + this.pointer, + _sel_performActivityWithOptions_reason_usingBlock_, + options, + reason.pointer, + block.pointer); } void performExpiringActivityWithReason_usingBlock_( - NSString reason, - ObjCBlock_ffiVoid_bool block, - ) { - _lib._objc_msgSend_944( - this.pointer, - _lib._sel_performExpiringActivityWithReason_usingBlock_1, - reason.pointer, - block.pointer, - ); + NSString reason, ObjCBlock_ffiVoid_bool block) { + _objc_msgSend_944( + this.pointer, + _sel_performExpiringActivityWithReason_usingBlock_, + reason.pointer, + block.pointer); } NSString get userName { - final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_userName1); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_userName); + return NSString._(_ret, retain: true, release: true); } NSString get fullUserName { - final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_fullUserName1); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_fullUserName); + return NSString._(_ret, retain: true, release: true); } int get thermalState { - return _lib._objc_msgSend_945(this.pointer, _lib._sel_thermalState1); + return _objc_msgSend_945(this.pointer, _sel_thermalState); } bool get lowPowerModeEnabled { - return _lib._objc_msgSend_12( - this.pointer, - _lib._sel_isLowPowerModeEnabled1, - ); + return _objc_msgSend_12(this.pointer, _sel_isLowPowerModeEnabled); } bool get macCatalystApp { - return _lib._objc_msgSend_12(this.pointer, _lib._sel_isMacCatalystApp1); + return _objc_msgSend_12(this.pointer, _sel_isMacCatalystApp); } bool get iOSAppOnMac { - return _lib._objc_msgSend_12(this.pointer, _lib._sel_isiOSAppOnMac1); + return _objc_msgSend_12(this.pointer, _sel_isiOSAppOnMac); } @override NSProcessInfo init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSProcessInfo._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSProcessInfo._(_ret, retain: true, release: true); } - static NSProcessInfo new1(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSProcessInfo1, - _lib._sel_new1, - ); - return NSProcessInfo._(_ret, _lib, retain: false, release: true); + static NSProcessInfo new1() { + final _ret = _objc_msgSend_2(_class_NSProcessInfo, _sel_new); + return NSProcessInfo._(_ret, retain: false, release: true); } - static NSProcessInfo allocWithZone_( - AVFAudio _lib, - ffi.Pointer<_NSZone> zone, - ) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSProcessInfo1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSProcessInfo._(_ret, _lib, retain: false, release: true); + static NSProcessInfo allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = + _objc_msgSend_3(_class_NSProcessInfo, _sel_allocWithZone_, zone); + return NSProcessInfo._(_ret, retain: false, release: true); } - static NSProcessInfo alloc(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSProcessInfo1, - _lib._sel_alloc1, - ); - return NSProcessInfo._(_ret, _lib, retain: false, release: true); + static NSProcessInfo alloc() { + final _ret = _objc_msgSend_2(_class_NSProcessInfo, _sel_alloc); + return NSProcessInfo._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSProcessInfo1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSProcessInfo1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSProcessInfo1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSProcessInfo1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSProcessInfo1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSProcessInfo1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSProcessInfo, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); } - static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSProcessInfo1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSProcessInfo1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSProcessInfo1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSProcessInfo, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); + } + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSProcessInfo, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSProcessInfo, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSProcessInfo, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSProcessInfo, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); } -} + + static void setKeys_triggerChangeNotificationsForDependentKey_( + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSProcessInfo, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = _objc_msgSend_85( + _class_NSProcessInfo, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = + _objc_msgSend_2(_class_NSProcessInfo, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); + } +} + +late final _class_NSProcessInfo = objc.getClass("NSProcessInfo"); +late final _sel_processInfo = objc.registerName("processInfo"); +final _objc_msgSend_939 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_environment = objc.registerName("environment"); +late final _sel_hostName = objc.registerName("hostName"); +late final _sel_processName = objc.registerName("processName"); +late final _sel_setProcessName_ = objc.registerName("setProcessName:"); +late final _sel_processIdentifier = objc.registerName("processIdentifier"); +late final _sel_globallyUniqueString = + objc.registerName("globallyUniqueString"); +late final _sel_operatingSystem = objc.registerName("operatingSystem"); +late final _sel_operatingSystemName = objc.registerName("operatingSystemName"); +late final _sel_operatingSystemVersionString = + objc.registerName("operatingSystemVersionString"); final class NSOperatingSystemVersion extends ffi.Struct { @ffi.Long() @@ -82117,6 +47017,56 @@ final class NSOperatingSystemVersion extends ffi.Struct { external int patchVersion; } +late final _sel_operatingSystemVersion = + objc.registerName("operatingSystemVersion"); +final _objc_msgSend_940 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + NSOperatingSystemVersion Function(ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + NSOperatingSystemVersion Function( + ffi.Pointer, ffi.Pointer)>(); +final _objc_msgSend_940Stret = objc.msgSendStretPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer stret, + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_processorCount = objc.registerName("processorCount"); +late final _sel_activeProcessorCount = + objc.registerName("activeProcessorCount"); +late final _sel_physicalMemory = objc.registerName("physicalMemory"); +late final _sel_isOperatingSystemAtLeastVersion_ = + objc.registerName("isOperatingSystemAtLeastVersion:"); +final _objc_msgSend_941 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + NSOperatingSystemVersion version)>>() + .asFunction< + bool Function(ffi.Pointer, + ffi.Pointer, NSOperatingSystemVersion)>(); +late final _sel_systemUptime = objc.registerName("systemUptime"); +late final _sel_disableSuddenTermination = + objc.registerName("disableSuddenTermination"); +late final _sel_enableSuddenTermination = + objc.registerName("enableSuddenTermination"); +late final _sel_disableAutomaticTermination_ = + objc.registerName("disableAutomaticTermination:"); +late final _sel_enableAutomaticTermination_ = + objc.registerName("enableAutomaticTermination:"); +late final _sel_automaticTerminationSupportEnabled = + objc.registerName("automaticTerminationSupportEnabled"); +late final _sel_setAutomaticTerminationSupportEnabled_ = + objc.registerName("setAutomaticTerminationSupportEnabled:"); + abstract class NSActivityOptions { static const int NSActivityIdleDisplaySleepDisabled = 1099511627776; static const int NSActivityIdleSystemSleepDisabled = 1048576; @@ -82131,52 +47081,70 @@ abstract class NSActivityOptions { static const int NSActivityUserInteractive = 1095233437695; } +late final _sel_beginActivityWithOptions_reason_ = + objc.registerName("beginActivityWithOptions:reason:"); +final _objc_msgSend_942 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Int32 options, + ffi.Pointer reason)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer)>(); +late final _sel_endActivity_ = objc.registerName("endActivity:"); +late final _sel_performActivityWithOptions_reason_usingBlock_ = + objc.registerName("performActivityWithOptions:reason:usingBlock:"); +final _objc_msgSend_943 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Int32 options, + ffi.Pointer reason, + ffi.Pointer block)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ffi.Pointer)>(); void _ObjCBlock_ffiVoid_bool_fnPtrTrampoline( - ffi.Pointer block, - bool arg0, -) => + ffi.Pointer block, bool arg0) => block.ref.target .cast>() .asFunction()(arg0); final _ObjCBlock_ffiVoid_bool_closureRegistry = {}; int _ObjCBlock_ffiVoid_bool_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_ffiVoid_bool_registerClosure( - void Function(bool) fn, -) { + void Function(bool) fn) { final id = ++_ObjCBlock_ffiVoid_bool_closureRegistryIndex; _ObjCBlock_ffiVoid_bool_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } void _ObjCBlock_ffiVoid_bool_closureTrampoline( - ffi.Pointer block, - bool arg0, -) => + ffi.Pointer block, bool arg0) => _ObjCBlock_ffiVoid_bool_closureRegistry[block.ref.target.address]!(arg0); class ObjCBlock_ffiVoid_bool extends objc.ObjCBlockBase { - ObjCBlock_ffiVoid_bool._( - ffi.Pointer pointer, - this._lib, { - bool retain = false, - bool release = true, - }) : super(pointer, retain: retain, release: release); - - AVFAudio _lib; + ObjCBlock_ffiVoid_bool._(ffi.Pointer pointer, + {bool retain = false, bool release = true}) + : super(pointer, retain: retain, release: release); /// Returns a block that wraps the given raw block pointer. static ObjCBlock_ffiVoid_bool castFromPointer( - AVFAudio lib, - ffi.Pointer pointer, { - bool retain = false, - bool release = false, - }) { - return ObjCBlock_ffiVoid_bool._( - pointer, - lib, - retain: retain, - release: release, - ); + ffi.Pointer pointer, + {bool retain = false, + bool release = false}) { + return ObjCBlock_ffiVoid_bool._(pointer, retain: retain, release: release); } /// Creates a block from a C function pointer. @@ -82185,17 +47153,13 @@ class ObjCBlock_ffiVoid_bool extends objc.ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_bool.fromFunctionPointer( - AVFAudio lib, - ffi.Pointer> ptr, - ) : this._( - objc.newBlock( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function(ffi.Pointer, - ffi.Bool)>(_ObjCBlock_ffiVoid_bool_fnPtrTrampoline) - .cast(), - ptr.cast(), - ), - lib); + ffi.Pointer> ptr) + : this._(objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function(ffi.Pointer, + ffi.Bool)>(_ObjCBlock_ffiVoid_bool_fnPtrTrampoline) + .cast(), + ptr.cast())); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -82203,16 +47167,13 @@ class ObjCBlock_ffiVoid_bool extends objc.ObjCBlockBase { /// This block must be invoked by native code running on the same thread as /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. - ObjCBlock_ffiVoid_bool.fromFunction(AVFAudio lib, void Function(bool) fn) - : this._( - objc.newBlock( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function(ffi.Pointer, - ffi.Bool)>(_ObjCBlock_ffiVoid_bool_closureTrampoline) - .cast(), - _ObjCBlock_ffiVoid_bool_registerClosure((bool arg0) => fn(arg0)), - ), - lib); + ObjCBlock_ffiVoid_bool.fromFunction(void Function(bool) fn) + : this._(objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function(ffi.Pointer, + ffi.Bool)>(_ObjCBlock_ffiVoid_bool_closureTrampoline) + .cast(), + _ObjCBlock_ffiVoid_bool_registerClosure((bool arg0) => fn(arg0)))); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -82224,19 +47185,16 @@ class ObjCBlock_ffiVoid_bool extends objc.ObjCBlockBase { /// /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. - ObjCBlock_ffiVoid_bool.listener(AVFAudio lib, void Function(bool) fn) - : this._( - objc.newBlock( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, ffi.Bool)>.listener( - _ObjCBlock_ffiVoid_bool_closureTrampoline, - )..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_bool_registerClosure((bool arg0) => fn(arg0)), - ), - lib); + ObjCBlock_ffiVoid_bool.listener(void Function(bool) fn) + : this._(objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, ffi.Bool)>.listener( + _ObjCBlock_ffiVoid_bool_closureTrampoline) + ..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_bool_registerClosure((bool arg0) => fn(arg0)))); static ffi .NativeCallable, ffi.Bool)>? _dartFuncListenerTrampoline; @@ -82247,10 +47205,27 @@ class ObjCBlock_ffiVoid_bool extends objc.ObjCBlockBase { ffi.Void Function( ffi.Pointer block, ffi.Bool arg0)>>() .asFunction, bool)>()( - pointer, - arg0, - ); -} + pointer, arg0); +} + +late final _sel_performExpiringActivityWithReason_usingBlock_ = + objc.registerName("performExpiringActivityWithReason:usingBlock:"); +final _objc_msgSend_944 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer reason, + ffi.Pointer block)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_userName = objc.registerName("userName"); +late final _sel_fullUserName = objc.registerName("fullUserName"); abstract class NSProcessInfoThermalState { static const int NSProcessInfoThermalStateNominal = 0; @@ -82259,543 +47234,396 @@ abstract class NSProcessInfoThermalState { static const int NSProcessInfoThermalStateCritical = 3; } +late final _sel_thermalState = objc.registerName("thermalState"); +final _objc_msgSend_945 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + int Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_isLowPowerModeEnabled = + objc.registerName("isLowPowerModeEnabled"); +late final _sel_isMacCatalystApp = objc.registerName("isMacCatalystApp"); +late final _sel_isiOSAppOnMac = objc.registerName("isiOSAppOnMac"); + class NSTextCheckingResult extends NSObject { - NSTextCheckingResult._( - ffi.Pointer pointer, - AVFAudio lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSTextCheckingResult._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSTextCheckingResult] that points to the same underlying object as [other]. - static NSTextCheckingResult castFrom( - AVFAudio lib, - T other, - ) { - return NSTextCheckingResult._( - other.pointer, - lib, - retain: true, - release: true, - ); + static NSTextCheckingResult castFrom(T other) { + return NSTextCheckingResult._(other.pointer, retain: true, release: true); } /// Returns a [NSTextCheckingResult] that wraps the given raw object pointer. static NSTextCheckingResult castFromPointer( - AVFAudio lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSTextCheckingResult._(other, lib, retain: retain, release: release); + ffi.Pointer other, + {bool retain = false, + bool release = false}) { + return NSTextCheckingResult._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSTextCheckingResult]. - static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSTextCheckingResult1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0( + obj.pointer, _sel_isKindOfClass_, _class_NSTextCheckingResult); } int get resultType { - return _lib._objc_msgSend_946(this.pointer, _lib._sel_resultType1); + return _objc_msgSend_946(this.pointer, _sel_resultType); } void getRange(ffi.Pointer<_NSRange> stret) { objc.useMsgSendVariants - ? _lib._objc_msgSend_54_stret(stret, this.pointer, _lib._sel_range1) - : stret.ref = _lib._objc_msgSend_54(this.pointer, _lib._sel_range1); + ? _objc_msgSend_54Stret(stret, this.pointer, _sel_range) + : stret.ref = _objc_msgSend_54(this.pointer, _sel_range); } NSOrthography? get orthography { - final _ret = _lib._objc_msgSend_947(this.pointer, _lib._sel_orthography1); + final _ret = _objc_msgSend_947(this.pointer, _sel_orthography); return _ret.address == 0 ? null - : NSOrthography._(_ret, _lib, retain: true, release: true); + : NSOrthography._(_ret, retain: true, release: true); } NSArray? get grammarDetails { - final _ret = _lib._objc_msgSend_84(this.pointer, _lib._sel_grammarDetails1); + final _ret = _objc_msgSend_84(this.pointer, _sel_grammarDetails); return _ret.address == 0 ? null - : NSArray._(_ret, _lib, retain: true, release: true); + : NSArray._(_ret, retain: true, release: true); } NSDate? get date { - final _ret = _lib._objc_msgSend_183(this.pointer, _lib._sel_date1); + final _ret = _objc_msgSend_183(this.pointer, _sel_date); return _ret.address == 0 ? null - : NSDate._(_ret, _lib, retain: true, release: true); + : NSDate._(_ret, retain: true, release: true); } NSTimeZone? get timeZone { - final _ret = _lib._objc_msgSend_773(this.pointer, _lib._sel_timeZone1); + final _ret = _objc_msgSend_773(this.pointer, _sel_timeZone); return _ret.address == 0 ? null - : NSTimeZone._(_ret, _lib, retain: true, release: true); + : NSTimeZone._(_ret, retain: true, release: true); } double get duration { return objc.useMsgSendVariants - ? _lib._objc_msgSend_165_fpret(this.pointer, _lib._sel_duration1) - : _lib._objc_msgSend_165(this.pointer, _lib._sel_duration1); + ? _objc_msgSend_165Fpret(this.pointer, _sel_duration) + : _objc_msgSend_165(this.pointer, _sel_duration); } NSDictionary? get components { - final _ret = _lib._objc_msgSend_390(this.pointer, _lib._sel_components1); + final _ret = _objc_msgSend_390(this.pointer, _sel_components); return _ret.address == 0 ? null - : NSDictionary._(_ret, _lib, retain: true, release: true); + : NSDictionary._(_ret, retain: true, release: true); } NSURL? get URL { - final _ret = _lib._objc_msgSend_45(this.pointer, _lib._sel_URL1); + final _ret = _objc_msgSend_45(this.pointer, _sel_URL); return _ret.address == 0 ? null - : NSURL._(_ret, _lib, retain: true, release: true); + : NSURL._(_ret, retain: true, release: true); } NSString? get replacementString { - final _ret = _lib._objc_msgSend_44( - this.pointer, - _lib._sel_replacementString1, - ); + final _ret = _objc_msgSend_44(this.pointer, _sel_replacementString); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } NSArray? get alternativeStrings { - final _ret = _lib._objc_msgSend_84( - this.pointer, - _lib._sel_alternativeStrings1, - ); + final _ret = _objc_msgSend_84(this.pointer, _sel_alternativeStrings); return _ret.address == 0 ? null - : NSArray._(_ret, _lib, retain: true, release: true); + : NSArray._(_ret, retain: true, release: true); } NSRegularExpression? get regularExpression { - final _ret = _lib._objc_msgSend_959( - this.pointer, - _lib._sel_regularExpression1, - ); + final _ret = _objc_msgSend_959(this.pointer, _sel_regularExpression); return _ret.address == 0 ? null - : NSRegularExpression._(_ret, _lib, retain: true, release: true); + : NSRegularExpression._(_ret, retain: true, release: true); } NSString? get phoneNumber { - final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_phoneNumber1); + final _ret = _objc_msgSend_44(this.pointer, _sel_phoneNumber); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } int get numberOfRanges { - return _lib._objc_msgSend_10(this.pointer, _lib._sel_numberOfRanges1); + return _objc_msgSend_10(this.pointer, _sel_numberOfRanges); } void rangeAtIndex_(ffi.Pointer<_NSRange> stret, int idx) { objc.useMsgSendVariants - ? _lib._objc_msgSend_347_stret( - stret, - this.pointer, - _lib._sel_rangeAtIndex_1, - idx, - ) - : stret.ref = _lib._objc_msgSend_347( - this.pointer, - _lib._sel_rangeAtIndex_1, - idx, - ); + ? _objc_msgSend_347Stret(stret, this.pointer, _sel_rangeAtIndex_, idx) + : stret.ref = _objc_msgSend_347(this.pointer, _sel_rangeAtIndex_, idx); } void rangeWithName_(ffi.Pointer<_NSRange> stret, NSString name) { objc.useMsgSendVariants - ? _lib._objc_msgSend_340_stret( - stret, - this.pointer, - _lib._sel_rangeWithName_1, - name.pointer, - ) - : stret.ref = _lib._objc_msgSend_340( - this.pointer, - _lib._sel_rangeWithName_1, - name.pointer, - ); + ? _objc_msgSend_340Stret( + stret, this.pointer, _sel_rangeWithName_, name.pointer) + : stret.ref = + _objc_msgSend_340(this.pointer, _sel_rangeWithName_, name.pointer); } NSTextCheckingResult resultByAdjustingRangesWithOffset_(int offset) { - final _ret = _lib._objc_msgSend_960( - this.pointer, - _lib._sel_resultByAdjustingRangesWithOffset_1, - offset, - ); - return NSTextCheckingResult._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_960( + this.pointer, _sel_resultByAdjustingRangesWithOffset_, offset); + return NSTextCheckingResult._(_ret, retain: true, release: true); } NSDictionary? get addressComponents { - final _ret = _lib._objc_msgSend_390( - this.pointer, - _lib._sel_addressComponents1, - ); + final _ret = _objc_msgSend_390(this.pointer, _sel_addressComponents); return _ret.address == 0 ? null - : NSDictionary._(_ret, _lib, retain: true, release: true); + : NSDictionary._(_ret, retain: true, release: true); } static NSTextCheckingResult orthographyCheckingResultWithRange_orthography_( - AVFAudio _lib, - _NSRange range, - NSOrthography orthography, - ) { - final _ret = _lib._objc_msgSend_961( - _lib._class_NSTextCheckingResult1, - _lib._sel_orthographyCheckingResultWithRange_orthography_1, - range, - orthography.pointer, - ); - return NSTextCheckingResult._(_ret, _lib, retain: true, release: true); - } - - static NSTextCheckingResult spellCheckingResultWithRange_( - AVFAudio _lib, - _NSRange range, - ) { - final _ret = _lib._objc_msgSend_962( - _lib._class_NSTextCheckingResult1, - _lib._sel_spellCheckingResultWithRange_1, - range, - ); - return NSTextCheckingResult._(_ret, _lib, retain: true, release: true); + _NSRange range, NSOrthography orthography) { + final _ret = _objc_msgSend_961( + _class_NSTextCheckingResult, + _sel_orthographyCheckingResultWithRange_orthography_, + range, + orthography.pointer); + return NSTextCheckingResult._(_ret, retain: true, release: true); + } + + static NSTextCheckingResult spellCheckingResultWithRange_(_NSRange range) { + final _ret = _objc_msgSend_962( + _class_NSTextCheckingResult, _sel_spellCheckingResultWithRange_, range); + return NSTextCheckingResult._(_ret, retain: true, release: true); } static NSTextCheckingResult grammarCheckingResultWithRange_details_( - AVFAudio _lib, - _NSRange range, - NSArray details, - ) { - final _ret = _lib._objc_msgSend_963( - _lib._class_NSTextCheckingResult1, - _lib._sel_grammarCheckingResultWithRange_details_1, - range, - details.pointer, - ); - return NSTextCheckingResult._(_ret, _lib, retain: true, release: true); + _NSRange range, NSArray details) { + final _ret = _objc_msgSend_963(_class_NSTextCheckingResult, + _sel_grammarCheckingResultWithRange_details_, range, details.pointer); + return NSTextCheckingResult._(_ret, retain: true, release: true); } static NSTextCheckingResult dateCheckingResultWithRange_date_( - AVFAudio _lib, - _NSRange range, - NSDate date, - ) { - final _ret = _lib._objc_msgSend_964( - _lib._class_NSTextCheckingResult1, - _lib._sel_dateCheckingResultWithRange_date_1, - range, - date.pointer, - ); - return NSTextCheckingResult._(_ret, _lib, retain: true, release: true); + _NSRange range, NSDate date) { + final _ret = _objc_msgSend_964(_class_NSTextCheckingResult, + _sel_dateCheckingResultWithRange_date_, range, date.pointer); + return NSTextCheckingResult._(_ret, retain: true, release: true); } static NSTextCheckingResult dateCheckingResultWithRange_date_timeZone_duration_( - AVFAudio _lib, - _NSRange range, - NSDate date, - NSTimeZone timeZone, - double duration, - ) { - final _ret = _lib._objc_msgSend_965( - _lib._class_NSTextCheckingResult1, - _lib._sel_dateCheckingResultWithRange_date_timeZone_duration_1, - range, - date.pointer, - timeZone.pointer, - duration, - ); - return NSTextCheckingResult._(_ret, _lib, retain: true, release: true); + _NSRange range, NSDate date, NSTimeZone timeZone, double duration) { + final _ret = _objc_msgSend_965( + _class_NSTextCheckingResult, + _sel_dateCheckingResultWithRange_date_timeZone_duration_, + range, + date.pointer, + timeZone.pointer, + duration); + return NSTextCheckingResult._(_ret, retain: true, release: true); } static NSTextCheckingResult addressCheckingResultWithRange_components_( - AVFAudio _lib, - _NSRange range, - NSDictionary components, - ) { - final _ret = _lib._objc_msgSend_966( - _lib._class_NSTextCheckingResult1, - _lib._sel_addressCheckingResultWithRange_components_1, - range, - components.pointer, - ); - return NSTextCheckingResult._(_ret, _lib, retain: true, release: true); + _NSRange range, NSDictionary components) { + final _ret = _objc_msgSend_966( + _class_NSTextCheckingResult, + _sel_addressCheckingResultWithRange_components_, + range, + components.pointer); + return NSTextCheckingResult._(_ret, retain: true, release: true); } static NSTextCheckingResult linkCheckingResultWithRange_URL_( - AVFAudio _lib, - _NSRange range, - NSURL url, - ) { - final _ret = _lib._objc_msgSend_967( - _lib._class_NSTextCheckingResult1, - _lib._sel_linkCheckingResultWithRange_URL_1, - range, - url.pointer, - ); - return NSTextCheckingResult._(_ret, _lib, retain: true, release: true); + _NSRange range, NSURL url) { + final _ret = _objc_msgSend_967(_class_NSTextCheckingResult, + _sel_linkCheckingResultWithRange_URL_, range, url.pointer); + return NSTextCheckingResult._(_ret, retain: true, release: true); } static NSTextCheckingResult quoteCheckingResultWithRange_replacementString_( - AVFAudio _lib, - _NSRange range, - NSString replacementString, - ) { - final _ret = _lib._objc_msgSend_968( - _lib._class_NSTextCheckingResult1, - _lib._sel_quoteCheckingResultWithRange_replacementString_1, - range, - replacementString.pointer, - ); - return NSTextCheckingResult._(_ret, _lib, retain: true, release: true); + _NSRange range, NSString replacementString) { + final _ret = _objc_msgSend_968( + _class_NSTextCheckingResult, + _sel_quoteCheckingResultWithRange_replacementString_, + range, + replacementString.pointer); + return NSTextCheckingResult._(_ret, retain: true, release: true); } static NSTextCheckingResult dashCheckingResultWithRange_replacementString_( - AVFAudio _lib, - _NSRange range, - NSString replacementString, - ) { - final _ret = _lib._objc_msgSend_968( - _lib._class_NSTextCheckingResult1, - _lib._sel_dashCheckingResultWithRange_replacementString_1, - range, - replacementString.pointer, - ); - return NSTextCheckingResult._(_ret, _lib, retain: true, release: true); + _NSRange range, NSString replacementString) { + final _ret = _objc_msgSend_968( + _class_NSTextCheckingResult, + _sel_dashCheckingResultWithRange_replacementString_, + range, + replacementString.pointer); + return NSTextCheckingResult._(_ret, retain: true, release: true); } static NSTextCheckingResult replacementCheckingResultWithRange_replacementString_( - AVFAudio _lib, - _NSRange range, - NSString replacementString, - ) { - final _ret = _lib._objc_msgSend_968( - _lib._class_NSTextCheckingResult1, - _lib._sel_replacementCheckingResultWithRange_replacementString_1, - range, - replacementString.pointer, - ); - return NSTextCheckingResult._(_ret, _lib, retain: true, release: true); + _NSRange range, NSString replacementString) { + final _ret = _objc_msgSend_968( + _class_NSTextCheckingResult, + _sel_replacementCheckingResultWithRange_replacementString_, + range, + replacementString.pointer); + return NSTextCheckingResult._(_ret, retain: true, release: true); } static NSTextCheckingResult correctionCheckingResultWithRange_replacementString_( - AVFAudio _lib, - _NSRange range, - NSString replacementString, - ) { - final _ret = _lib._objc_msgSend_968( - _lib._class_NSTextCheckingResult1, - _lib._sel_correctionCheckingResultWithRange_replacementString_1, - range, - replacementString.pointer, - ); - return NSTextCheckingResult._(_ret, _lib, retain: true, release: true); + _NSRange range, NSString replacementString) { + final _ret = _objc_msgSend_968( + _class_NSTextCheckingResult, + _sel_correctionCheckingResultWithRange_replacementString_, + range, + replacementString.pointer); + return NSTextCheckingResult._(_ret, retain: true, release: true); } static NSTextCheckingResult correctionCheckingResultWithRange_replacementString_alternativeStrings_( - AVFAudio _lib, - _NSRange range, - NSString replacementString, - NSArray alternativeStrings, - ) { - final _ret = _lib._objc_msgSend_969( - _lib._class_NSTextCheckingResult1, - _lib._sel_correctionCheckingResultWithRange_replacementString_alternativeStrings_1, - range, - replacementString.pointer, - alternativeStrings.pointer, - ); - return NSTextCheckingResult._(_ret, _lib, retain: true, release: true); + _NSRange range, + NSString replacementString, + NSArray alternativeStrings) { + final _ret = _objc_msgSend_969( + _class_NSTextCheckingResult, + _sel_correctionCheckingResultWithRange_replacementString_alternativeStrings_, + range, + replacementString.pointer, + alternativeStrings.pointer); + return NSTextCheckingResult._(_ret, retain: true, release: true); } static NSTextCheckingResult regularExpressionCheckingResultWithRanges_count_regularExpression_( - AVFAudio _lib, - ffi.Pointer<_NSRange> ranges, - int count, - NSRegularExpression regularExpression, - ) { - final _ret = _lib._objc_msgSend_970( - _lib._class_NSTextCheckingResult1, - _lib._sel_regularExpressionCheckingResultWithRanges_count_regularExpression_1, - ranges, - count, - regularExpression.pointer, - ); - return NSTextCheckingResult._(_ret, _lib, retain: true, release: true); + ffi.Pointer<_NSRange> ranges, + int count, + NSRegularExpression regularExpression) { + final _ret = _objc_msgSend_970( + _class_NSTextCheckingResult, + _sel_regularExpressionCheckingResultWithRanges_count_regularExpression_, + ranges, + count, + regularExpression.pointer); + return NSTextCheckingResult._(_ret, retain: true, release: true); } static NSTextCheckingResult phoneNumberCheckingResultWithRange_phoneNumber_( - AVFAudio _lib, - _NSRange range, - NSString phoneNumber, - ) { - final _ret = _lib._objc_msgSend_968( - _lib._class_NSTextCheckingResult1, - _lib._sel_phoneNumberCheckingResultWithRange_phoneNumber_1, - range, - phoneNumber.pointer, - ); - return NSTextCheckingResult._(_ret, _lib, retain: true, release: true); + _NSRange range, NSString phoneNumber) { + final _ret = _objc_msgSend_968( + _class_NSTextCheckingResult, + _sel_phoneNumberCheckingResultWithRange_phoneNumber_, + range, + phoneNumber.pointer); + return NSTextCheckingResult._(_ret, retain: true, release: true); } static NSTextCheckingResult transitInformationCheckingResultWithRange_components_( - AVFAudio _lib, - _NSRange range, - NSDictionary components, - ) { - final _ret = _lib._objc_msgSend_966( - _lib._class_NSTextCheckingResult1, - _lib._sel_transitInformationCheckingResultWithRange_components_1, - range, - components.pointer, - ); - return NSTextCheckingResult._(_ret, _lib, retain: true, release: true); + _NSRange range, NSDictionary components) { + final _ret = _objc_msgSend_966( + _class_NSTextCheckingResult, + _sel_transitInformationCheckingResultWithRange_components_, + range, + components.pointer); + return NSTextCheckingResult._(_ret, retain: true, release: true); } @override NSTextCheckingResult init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSTextCheckingResult._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSTextCheckingResult._(_ret, retain: true, release: true); } - static NSTextCheckingResult new1(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSTextCheckingResult1, - _lib._sel_new1, - ); - return NSTextCheckingResult._(_ret, _lib, retain: false, release: true); + static NSTextCheckingResult new1() { + final _ret = _objc_msgSend_2(_class_NSTextCheckingResult, _sel_new); + return NSTextCheckingResult._(_ret, retain: false, release: true); } - static NSTextCheckingResult allocWithZone_( - AVFAudio _lib, - ffi.Pointer<_NSZone> zone, - ) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSTextCheckingResult1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSTextCheckingResult._(_ret, _lib, retain: false, release: true); + static NSTextCheckingResult allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = + _objc_msgSend_3(_class_NSTextCheckingResult, _sel_allocWithZone_, zone); + return NSTextCheckingResult._(_ret, retain: false, release: true); } - static NSTextCheckingResult alloc(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSTextCheckingResult1, - _lib._sel_alloc1, - ); - return NSTextCheckingResult._(_ret, _lib, retain: false, release: true); + static NSTextCheckingResult alloc() { + final _ret = _objc_msgSend_2(_class_NSTextCheckingResult, _sel_alloc); + return NSTextCheckingResult._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSTextCheckingResult1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSTextCheckingResult1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSTextCheckingResult1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSTextCheckingResult1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSTextCheckingResult1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSTextCheckingResult1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSTextCheckingResult, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); + } + + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSTextCheckingResult, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); + } + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSTextCheckingResult, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12( + _class_NSTextCheckingResult, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSTextCheckingResult, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSTextCheckingResult, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); } static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSTextCheckingResult1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSTextCheckingResult1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSTextCheckingResult1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSTextCheckingResult, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = _objc_msgSend_85( + _class_NSTextCheckingResult, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = _objc_msgSend_2( + _class_NSTextCheckingResult, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); } } +late final _class_NSTextCheckingResult = objc.getClass("NSTextCheckingResult"); + abstract class NSTextCheckingType { static const int NSTextCheckingTypeOrthography = 1; static const int NSTextCheckingTypeSpelling = 2; @@ -82812,378 +47640,282 @@ abstract class NSTextCheckingType { static const int NSTextCheckingTypeTransitInformation = 4096; } +late final _sel_resultType = objc.registerName("resultType"); +final _objc_msgSend_946 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + int Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_range = objc.registerName("range"); +late final _sel_orthography = objc.registerName("orthography"); +final _objc_msgSend_947 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_grammarDetails = objc.registerName("grammarDetails"); +late final _sel_duration = objc.registerName("duration"); +late final _sel_components = objc.registerName("components"); +late final _sel_replacementString = objc.registerName("replacementString"); +late final _sel_alternativeStrings = objc.registerName("alternativeStrings"); + class NSRegularExpression extends NSObject { - NSRegularExpression._( - ffi.Pointer pointer, - AVFAudio lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSRegularExpression._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSRegularExpression] that points to the same underlying object as [other]. - static NSRegularExpression castFrom( - AVFAudio lib, - T other, - ) { - return NSRegularExpression._( - other.pointer, - lib, - retain: true, - release: true, - ); + static NSRegularExpression castFrom(T other) { + return NSRegularExpression._(other.pointer, retain: true, release: true); } /// Returns a [NSRegularExpression] that wraps the given raw object pointer. - static NSRegularExpression castFromPointer( - AVFAudio lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSRegularExpression._(other, lib, retain: retain, release: release); + static NSRegularExpression castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSRegularExpression._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSRegularExpression]. - static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSRegularExpression1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0( + obj.pointer, _sel_isKindOfClass_, _class_NSRegularExpression); } static NSRegularExpression? regularExpressionWithPattern_options_error_( - AVFAudio _lib, - NSString pattern, - int options, - ffi.Pointer> error, - ) { - final _ret = _lib._objc_msgSend_948( - _lib._class_NSRegularExpression1, - _lib._sel_regularExpressionWithPattern_options_error_1, - pattern.pointer, - options, - error, - ); + NSString pattern, + int options, + ffi.Pointer> error) { + final _ret = _objc_msgSend_948( + _class_NSRegularExpression, + _sel_regularExpressionWithPattern_options_error_, + pattern.pointer, + options, + error); return _ret.address == 0 ? null - : NSRegularExpression._(_ret, _lib, retain: true, release: true); + : NSRegularExpression._(_ret, retain: true, release: true); } - NSRegularExpression? initWithPattern_options_error_( - NSString pattern, - int options, - ffi.Pointer> error, - ) { - final _ret = _lib._objc_msgSend_949( - this.pointer, - _lib._sel_initWithPattern_options_error_1, - pattern.pointer, - options, - error, - ); + NSRegularExpression? initWithPattern_options_error_(NSString pattern, + int options, ffi.Pointer> error) { + final _ret = _objc_msgSend_949(this.pointer, + _sel_initWithPattern_options_error_, pattern.pointer, options, error); return _ret.address == 0 ? null - : NSRegularExpression._(_ret, _lib, retain: true, release: true); + : NSRegularExpression._(_ret, retain: true, release: true); } NSString get pattern { - final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_pattern1); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_pattern); + return NSString._(_ret, retain: true, release: true); } int get options { - return _lib._objc_msgSend_950(this.pointer, _lib._sel_options1); + return _objc_msgSend_950(this.pointer, _sel_options); } int get numberOfCaptureGroups { - return _lib._objc_msgSend_10( - this.pointer, - _lib._sel_numberOfCaptureGroups1, - ); + return _objc_msgSend_10(this.pointer, _sel_numberOfCaptureGroups); } - static NSString escapedPatternForString_(AVFAudio _lib, NSString string) { - final _ret = _lib._objc_msgSend_69( - _lib._class_NSRegularExpression1, - _lib._sel_escapedPatternForString_1, - string.pointer, - ); - return NSString._(_ret, _lib, retain: true, release: true); + static NSString escapedPatternForString_(NSString string) { + final _ret = _objc_msgSend_69(_class_NSRegularExpression, + _sel_escapedPatternForString_, string.pointer); + return NSString._(_ret, retain: true, release: true); } void enumerateMatchesInString_options_range_usingBlock_( - NSString string, - int options, - _NSRange range, - ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool block, - ) { - _lib._objc_msgSend_951( - this.pointer, - _lib._sel_enumerateMatchesInString_options_range_usingBlock_1, - string.pointer, - options, - range, - block.pointer, - ); + NSString string, + int options, + _NSRange range, + ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool block) { + _objc_msgSend_951( + this.pointer, + _sel_enumerateMatchesInString_options_range_usingBlock_, + string.pointer, + options, + range, + block.pointer); } NSArray matchesInString_options_range_( - NSString string, - int options, - _NSRange range, - ) { - final _ret = _lib._objc_msgSend_952( - this.pointer, - _lib._sel_matchesInString_options_range_1, - string.pointer, - options, - range, - ); - return NSArray._(_ret, _lib, retain: true, release: true); + NSString string, int options, _NSRange range) { + final _ret = _objc_msgSend_952(this.pointer, + _sel_matchesInString_options_range_, string.pointer, options, range); + return NSArray._(_ret, retain: true, release: true); } int numberOfMatchesInString_options_range_( - NSString string, - int options, - _NSRange range, - ) { - return _lib._objc_msgSend_953( - this.pointer, - _lib._sel_numberOfMatchesInString_options_range_1, - string.pointer, - options, - range, - ); + NSString string, int options, _NSRange range) { + return _objc_msgSend_953( + this.pointer, + _sel_numberOfMatchesInString_options_range_, + string.pointer, + options, + range); } NSTextCheckingResult? firstMatchInString_options_range_( - NSString string, - int options, - _NSRange range, - ) { - final _ret = _lib._objc_msgSend_954( - this.pointer, - _lib._sel_firstMatchInString_options_range_1, - string.pointer, - options, - range, - ); - return _ret.address == 0 - ? null - : NSTextCheckingResult._(_ret, _lib, retain: true, release: true); - } - - void rangeOfFirstMatchInString_options_range_( - ffi.Pointer<_NSRange> stret, - NSString string, - int options, - _NSRange range, - ) { + NSString string, int options, _NSRange range) { + final _ret = _objc_msgSend_954(this.pointer, + _sel_firstMatchInString_options_range_, string.pointer, options, range); + return _ret.address == 0 + ? null + : NSTextCheckingResult._(_ret, retain: true, release: true); + } + + void rangeOfFirstMatchInString_options_range_(ffi.Pointer<_NSRange> stret, + NSString string, int options, _NSRange range) { objc.useMsgSendVariants - ? _lib._objc_msgSend_955_stret( + ? _objc_msgSend_955Stret( stret, this.pointer, - _lib._sel_rangeOfFirstMatchInString_options_range_1, + _sel_rangeOfFirstMatchInString_options_range_, string.pointer, options, - range, - ) - : stret.ref = _lib._objc_msgSend_955( + range) + : stret.ref = _objc_msgSend_955( this.pointer, - _lib._sel_rangeOfFirstMatchInString_options_range_1, + _sel_rangeOfFirstMatchInString_options_range_, string.pointer, options, - range, - ); + range); } NSString stringByReplacingMatchesInString_options_range_withTemplate_( - NSString string, - int options, - _NSRange range, - NSString templ, - ) { - final _ret = _lib._objc_msgSend_956( - this.pointer, - _lib._sel_stringByReplacingMatchesInString_options_range_withTemplate_1, - string.pointer, - options, - range, - templ.pointer, - ); - return NSString._(_ret, _lib, retain: true, release: true); + NSString string, int options, _NSRange range, NSString templ) { + final _ret = _objc_msgSend_956( + this.pointer, + _sel_stringByReplacingMatchesInString_options_range_withTemplate_, + string.pointer, + options, + range, + templ.pointer); + return NSString._(_ret, retain: true, release: true); } int replaceMatchesInString_options_range_withTemplate_( - NSMutableString string, - int options, - _NSRange range, - NSString templ, - ) { - return _lib._objc_msgSend_957( - this.pointer, - _lib._sel_replaceMatchesInString_options_range_withTemplate_1, - string.pointer, - options, - range, - templ.pointer, - ); + NSMutableString string, int options, _NSRange range, NSString templ) { + return _objc_msgSend_957( + this.pointer, + _sel_replaceMatchesInString_options_range_withTemplate_, + string.pointer, + options, + range, + templ.pointer); } NSString replacementStringForResult_inString_offset_template_( - NSTextCheckingResult result, - NSString string, - int offset, - NSString templ, - ) { - final _ret = _lib._objc_msgSend_958( - this.pointer, - _lib._sel_replacementStringForResult_inString_offset_template_1, - result.pointer, - string.pointer, - offset, - templ.pointer, - ); - return NSString._(_ret, _lib, retain: true, release: true); - } - - static NSString escapedTemplateForString_(AVFAudio _lib, NSString string) { - final _ret = _lib._objc_msgSend_69( - _lib._class_NSRegularExpression1, - _lib._sel_escapedTemplateForString_1, - string.pointer, - ); - return NSString._(_ret, _lib, retain: true, release: true); + NSTextCheckingResult result, + NSString string, + int offset, + NSString templ) { + final _ret = _objc_msgSend_958( + this.pointer, + _sel_replacementStringForResult_inString_offset_template_, + result.pointer, + string.pointer, + offset, + templ.pointer); + return NSString._(_ret, retain: true, release: true); + } + + static NSString escapedTemplateForString_(NSString string) { + final _ret = _objc_msgSend_69(_class_NSRegularExpression, + _sel_escapedTemplateForString_, string.pointer); + return NSString._(_ret, retain: true, release: true); } @override NSRegularExpression init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSRegularExpression._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSRegularExpression._(_ret, retain: true, release: true); } - static NSRegularExpression new1(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSRegularExpression1, - _lib._sel_new1, - ); - return NSRegularExpression._(_ret, _lib, retain: false, release: true); + static NSRegularExpression new1() { + final _ret = _objc_msgSend_2(_class_NSRegularExpression, _sel_new); + return NSRegularExpression._(_ret, retain: false, release: true); } - static NSRegularExpression allocWithZone_( - AVFAudio _lib, - ffi.Pointer<_NSZone> zone, - ) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSRegularExpression1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSRegularExpression._(_ret, _lib, retain: false, release: true); + static NSRegularExpression allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = + _objc_msgSend_3(_class_NSRegularExpression, _sel_allocWithZone_, zone); + return NSRegularExpression._(_ret, retain: false, release: true); } - static NSRegularExpression alloc(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSRegularExpression1, - _lib._sel_alloc1, - ); - return NSRegularExpression._(_ret, _lib, retain: false, release: true); + static NSRegularExpression alloc() { + final _ret = _objc_msgSend_2(_class_NSRegularExpression, _sel_alloc); + return NSRegularExpression._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSRegularExpression1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSRegularExpression1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSRegularExpression1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSRegularExpression1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSRegularExpression1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSRegularExpression1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSRegularExpression, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); + } + + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSRegularExpression, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); + } + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSRegularExpression, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSRegularExpression, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSRegularExpression, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSRegularExpression, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); } static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSRegularExpression1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSRegularExpression1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSRegularExpression1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSRegularExpression, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = _objc_msgSend_85( + _class_NSRegularExpression, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = _objc_msgSend_2( + _class_NSRegularExpression, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); } } +late final _class_NSRegularExpression = objc.getClass("NSRegularExpression"); + abstract class NSRegularExpressionOptions { static const int NSRegularExpressionCaseInsensitive = 1; static const int NSRegularExpressionAllowCommentsAndWhitespace = 2; @@ -83194,6 +47926,57 @@ abstract class NSRegularExpressionOptions { static const int NSRegularExpressionUseUnicodeWordBoundaries = 64; } +late final _sel_regularExpressionWithPattern_options_error_ = + objc.registerName("regularExpressionWithPattern:options:error:"); +final _objc_msgSend_948 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer pattern, + ffi.Int32 options, + ffi.Pointer> error)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer>)>(); +late final _sel_initWithPattern_options_error_ = + objc.registerName("initWithPattern:options:error:"); +final _objc_msgSend_949 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer pattern, + ffi.Int32 options, + ffi.Pointer> error)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer>)>(); +late final _sel_pattern = objc.registerName("pattern"); +late final _sel_options = objc.registerName("options"); +final _objc_msgSend_950 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + int Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_numberOfCaptureGroups = + objc.registerName("numberOfCaptureGroups"); +late final _sel_escapedPatternForString_ = + objc.registerName("escapedPatternForString:"); + abstract class NSMatchingOptions { static const int NSMatchingReportProgress = 1; static const int NSMatchingReportCompletion = 2; @@ -83204,19 +47987,15 @@ abstract class NSMatchingOptions { void _ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool_fnPtrTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, - int arg1, - ffi.Pointer arg2, -) => + ffi.Pointer block, + ffi.Pointer arg0, + int arg1, + ffi.Pointer arg2) => block.ref.target .cast< ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.Int32 arg1, - ffi.Pointer arg2, - )>>() + ffi.Void Function(ffi.Pointer arg0, + ffi.Int32 arg1, ffi.Pointer arg2)>>() .asFunction< void Function(ffi.Pointer, int, ffi.Pointer)>()(arg0, arg1, arg2); @@ -83228,8 +48007,8 @@ int _ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool_closureRegistry 0; ffi.Pointer _ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool_registerClosure( - void Function(ffi.Pointer, int, ffi.Pointer) fn, -) { + void Function(ffi.Pointer, int, ffi.Pointer) + fn) { final id = ++_ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool_closureRegistryIndex; _ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool_closureRegistry[ @@ -83237,41 +48016,30 @@ ffi.Pointer return ffi.Pointer.fromAddress(id); } -void - _ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool_closureTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, - int arg1, - ffi.Pointer arg2, -) => - _ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool_closureRegistry[ - block.ref.target.address]!(arg0, arg1, arg2); +void _ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool_closureTrampoline( + ffi.Pointer block, + ffi.Pointer arg0, + int arg1, + ffi.Pointer arg2) => + _ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool_closureRegistry[ + block.ref.target.address]!(arg0, arg1, arg2); class ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool._( - ffi.Pointer pointer, - this._lib, { - bool retain = false, - bool release = true, - }) : super(pointer, retain: retain, release: release); - - AVFAudio _lib; + ffi.Pointer pointer, + {bool retain = false, + bool release = true}) + : super(pointer, retain: retain, release: release); /// Returns a block that wraps the given raw block pointer. static ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool - castFromPointer( - AVFAudio lib, - ffi.Pointer pointer, { - bool retain = false, - bool release = false, - }) { + castFromPointer(ffi.Pointer pointer, + {bool retain = false, bool release = false}) { return ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool._( - pointer, - lib, - retain: retain, - release: release, - ); + pointer, + retain: retain, + release: release); } /// Creates a block from a C function pointer. @@ -83280,29 +48048,21 @@ class ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool.fromFunctionPointer( - AVFAudio lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.Int32 arg1, - ffi.Pointer arg2, - )>> - ptr, - ) : this._( - objc.newBlock( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer, - )>( - _ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool_fnPtrTrampoline, - ).cast(), - ptr.cast(), - ), - lib); + ffi.Pointer< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer arg0, + ffi.Int32 arg1, ffi.Pointer arg2)>> + ptr) + : this._(objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer)>( + _ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool_fnPtrTrampoline) + .cast(), + ptr.cast())); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -83311,40 +48071,20 @@ class ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool.fromFunction( - AVFAudio lib, - void Function(NSTextCheckingResult?, int, ffi.Pointer) fn, - ) : this._( - objc.newBlock( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer, - )>( - _ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool_closureTrampoline, - ).cast(), - _ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool_registerClosure( - ( - ffi.Pointer arg0, - int arg1, - ffi.Pointer arg2, - ) => - fn( - arg0.address == 0 - ? null - : NSTextCheckingResult._( - arg0, - lib, - retain: true, - release: true, - ), - arg1, - arg2, - ), - ), - ), - lib); + void Function(NSTextCheckingResult?, int, ffi.Pointer) fn) + : this._(objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer)>( + _ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool_closureTrampoline) + .cast(), + _ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool_registerClosure( + (ffi.Pointer arg0, int arg1, + ffi.Pointer arg2) => + fn(arg0.address == 0 ? null : NSTextCheckingResult._(arg0, retain: true, release: true), arg1, arg2)))); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -83357,71 +48097,44 @@ class ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool.listener( - AVFAudio lib, - void Function(NSTextCheckingResult?, int, ffi.Pointer) fn, - ) : this._( - objc.newBlock( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer, - )>.listener( - _ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool_closureTrampoline, - )..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool_registerClosure( - ( - ffi.Pointer arg0, - int arg1, - ffi.Pointer arg2, - ) => - fn( - arg0.address == 0 - ? null - : NSTextCheckingResult._( - arg0, - lib, - retain: true, - release: true, - ), - arg1, - arg2, - ), - ), - ), - lib); + void Function(NSTextCheckingResult?, int, ffi.Pointer) fn) + : this._(objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer)>.listener( + _ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool_closureTrampoline) + ..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool_registerClosure( + (ffi.Pointer arg0, int arg1, ffi.Pointer arg2) => + fn(arg0.address == 0 ? null : NSTextCheckingResult._(arg0, retain: true, release: true), arg1, arg2)))); static ffi.NativeCallable< ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer, - )>? _dartFuncListenerTrampoline; - - void call( - NSTextCheckingResult? arg0, - int arg1, - ffi.Pointer arg2, - ) => + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer)>? _dartFuncListenerTrampoline; + + void call(NSTextCheckingResult? arg0, int arg1, ffi.Pointer arg2) => pointer.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Int32 arg1, - ffi.Pointer arg2, - )>>() - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - )>()(pointer, arg0?.pointer ?? ffi.nullptr, arg1, arg2); + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Int32 arg1, + ffi.Pointer arg2)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer)>()( + pointer, arg0?.pointer ?? ffi.nullptr, arg1, arg2); } abstract class NSMatchingFlags { @@ -83432,710 +48145,1032 @@ abstract class NSMatchingFlags { static const int NSMatchingInternalError = 16; } +late final _sel_enumerateMatchesInString_options_range_usingBlock_ = + objc.registerName("enumerateMatchesInString:options:range:usingBlock:"); +final _objc_msgSend_951 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer string, + ffi.Int32 options, + _NSRange range, + ffi.Pointer block)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + _NSRange, + ffi.Pointer)>(); +late final _sel_matchesInString_options_range_ = + objc.registerName("matchesInString:options:range:"); +final _objc_msgSend_952 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer string, + ffi.Int32 options, + _NSRange range)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + _NSRange)>(); +late final _sel_numberOfMatchesInString_options_range_ = + objc.registerName("numberOfMatchesInString:options:range:"); +final _objc_msgSend_953 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer string, + ffi.Int32 options, + _NSRange range)>>() + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + _NSRange)>(); +late final _sel_firstMatchInString_options_range_ = + objc.registerName("firstMatchInString:options:range:"); +final _objc_msgSend_954 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer string, + ffi.Int32 options, + _NSRange range)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + _NSRange)>(); +late final _sel_rangeOfFirstMatchInString_options_range_ = + objc.registerName("rangeOfFirstMatchInString:options:range:"); +final _objc_msgSend_955 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + _NSRange Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer string, + ffi.Int32 options, + _NSRange range)>>() + .asFunction< + _NSRange Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + _NSRange)>(); +final _objc_msgSend_955Stret = objc.msgSendStretPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer<_NSRange> stret, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer string, + ffi.Int32 options, + _NSRange range)>>() + .asFunction< + void Function( + ffi.Pointer<_NSRange>, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + _NSRange)>(); +late final _sel_stringByReplacingMatchesInString_options_range_withTemplate_ = + objc.registerName( + "stringByReplacingMatchesInString:options:range:withTemplate:"); +final _objc_msgSend_956 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer string, + ffi.Int32 options, + _NSRange range, + ffi.Pointer templ)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + _NSRange, + ffi.Pointer)>(); +late final _sel_replaceMatchesInString_options_range_withTemplate_ = + objc.registerName("replaceMatchesInString:options:range:withTemplate:"); +final _objc_msgSend_957 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer string, + ffi.Int32 options, + _NSRange range, + ffi.Pointer templ)>>() + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + _NSRange, + ffi.Pointer)>(); +late final _sel_replacementStringForResult_inString_offset_template_ = + objc.registerName("replacementStringForResult:inString:offset:template:"); +final _objc_msgSend_958 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer result, + ffi.Pointer string, + ffi.Long offset, + ffi.Pointer templ)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer)>(); +late final _sel_escapedTemplateForString_ = + objc.registerName("escapedTemplateForString:"); +late final _sel_regularExpression = objc.registerName("regularExpression"); +final _objc_msgSend_959 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_phoneNumber = objc.registerName("phoneNumber"); +late final _sel_numberOfRanges = objc.registerName("numberOfRanges"); +late final _sel_rangeAtIndex_ = objc.registerName("rangeAtIndex:"); +late final _sel_rangeWithName_ = objc.registerName("rangeWithName:"); +late final _sel_resultByAdjustingRangesWithOffset_ = + objc.registerName("resultByAdjustingRangesWithOffset:"); +final _objc_msgSend_960 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Long offset)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, int)>(); +late final _sel_addressComponents = objc.registerName("addressComponents"); +late final _sel_orthographyCheckingResultWithRange_orthography_ = + objc.registerName("orthographyCheckingResultWithRange:orthography:"); +final _objc_msgSend_961 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + _NSRange range, + ffi.Pointer orthography)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer)>(); +late final _sel_spellCheckingResultWithRange_ = + objc.registerName("spellCheckingResultWithRange:"); +final _objc_msgSend_962 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + _NSRange range)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, _NSRange)>(); +late final _sel_grammarCheckingResultWithRange_details_ = + objc.registerName("grammarCheckingResultWithRange:details:"); +final _objc_msgSend_963 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + _NSRange range, + ffi.Pointer details)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer)>(); +late final _sel_dateCheckingResultWithRange_date_ = + objc.registerName("dateCheckingResultWithRange:date:"); +final _objc_msgSend_964 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + _NSRange range, + ffi.Pointer date)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer)>(); +late final _sel_dateCheckingResultWithRange_date_timeZone_duration_ = + objc.registerName("dateCheckingResultWithRange:date:timeZone:duration:"); +final _objc_msgSend_965 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + _NSRange range, + ffi.Pointer date, + ffi.Pointer timeZone, + ffi.Double duration)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + ffi.Pointer, + double)>(); +late final _sel_addressCheckingResultWithRange_components_ = + objc.registerName("addressCheckingResultWithRange:components:"); +final _objc_msgSend_966 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + _NSRange range, + ffi.Pointer components)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer)>(); +late final _sel_linkCheckingResultWithRange_URL_ = + objc.registerName("linkCheckingResultWithRange:URL:"); +final _objc_msgSend_967 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + _NSRange range, + ffi.Pointer url)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer)>(); +late final _sel_quoteCheckingResultWithRange_replacementString_ = + objc.registerName("quoteCheckingResultWithRange:replacementString:"); +final _objc_msgSend_968 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + _NSRange range, + ffi.Pointer replacementString)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer)>(); +late final _sel_dashCheckingResultWithRange_replacementString_ = + objc.registerName("dashCheckingResultWithRange:replacementString:"); +late final _sel_replacementCheckingResultWithRange_replacementString_ = + objc.registerName("replacementCheckingResultWithRange:replacementString:"); +late final _sel_correctionCheckingResultWithRange_replacementString_ = + objc.registerName("correctionCheckingResultWithRange:replacementString:"); +late final _sel_correctionCheckingResultWithRange_replacementString_alternativeStrings_ = + objc.registerName( + "correctionCheckingResultWithRange:replacementString:alternativeStrings:"); +final _objc_msgSend_969 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + _NSRange range, + ffi.Pointer replacementString, + ffi.Pointer alternativeStrings)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_regularExpressionCheckingResultWithRanges_count_regularExpression_ = + objc.registerName( + "regularExpressionCheckingResultWithRanges:count:regularExpression:"); +final _objc_msgSend_970 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer<_NSRange> ranges, + ffi.UnsignedLong count, + ffi.Pointer regularExpression)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_NSRange>, + int, + ffi.Pointer)>(); +late final _sel_phoneNumberCheckingResultWithRange_phoneNumber_ = + objc.registerName("phoneNumberCheckingResultWithRange:phoneNumber:"); +late final _sel_transitInformationCheckingResultWithRange_components_ = + objc.registerName("transitInformationCheckingResultWithRange:components:"); + class NSURLCache extends NSObject { - NSURLCache._( - ffi.Pointer pointer, - AVFAudio lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSURLCache._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSURLCache] that points to the same underlying object as [other]. - static NSURLCache castFrom( - AVFAudio lib, - T other, - ) { - return NSURLCache._(other.pointer, lib, retain: true, release: true); + static NSURLCache castFrom(T other) { + return NSURLCache._(other.pointer, retain: true, release: true); } /// Returns a [NSURLCache] that wraps the given raw object pointer. - static NSURLCache castFromPointer( - AVFAudio lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSURLCache._(other, lib, retain: retain, release: release); + static NSURLCache castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSURLCache._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSURLCache]. - static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSURLCache1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0(obj.pointer, _sel_isKindOfClass_, _class_NSURLCache); } - static NSURLCache getSharedURLCache(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_971( - _lib._class_NSURLCache1, - _lib._sel_sharedURLCache1, - ); - return NSURLCache._(_ret, _lib, retain: true, release: true); + static NSURLCache getSharedURLCache() { + final _ret = _objc_msgSend_971(_class_NSURLCache, _sel_sharedURLCache); + return NSURLCache._(_ret, retain: true, release: true); } - static void setSharedURLCache(AVFAudio _lib, NSURLCache value) { - return _lib._objc_msgSend_972( - _lib._class_NSURLCache1, - _lib._sel_setSharedURLCache_1, - value.pointer, - ); + static void setSharedURLCache(NSURLCache value) { + return _objc_msgSend_972( + _class_NSURLCache, _sel_setSharedURLCache_, value.pointer); } NSURLCache initWithMemoryCapacity_diskCapacity_diskPath_( - int memoryCapacity, - int diskCapacity, - NSString? path, - ) { - final _ret = _lib._objc_msgSend_973( - this.pointer, - _lib._sel_initWithMemoryCapacity_diskCapacity_diskPath_1, - memoryCapacity, - diskCapacity, - path?.pointer ?? ffi.nullptr, - ); - return NSURLCache._(_ret, _lib, retain: true, release: true); + int memoryCapacity, int diskCapacity, NSString? path) { + final _ret = _objc_msgSend_973( + this.pointer, + _sel_initWithMemoryCapacity_diskCapacity_diskPath_, + memoryCapacity, + diskCapacity, + path?.pointer ?? ffi.nullptr); + return NSURLCache._(_ret, retain: true, release: true); } NSURLCache initWithMemoryCapacity_diskCapacity_directoryURL_( - int memoryCapacity, - int diskCapacity, - NSURL? directoryURL, - ) { - final _ret = _lib._objc_msgSend_974( - this.pointer, - _lib._sel_initWithMemoryCapacity_diskCapacity_directoryURL_1, - memoryCapacity, - diskCapacity, - directoryURL?.pointer ?? ffi.nullptr, - ); - return NSURLCache._(_ret, _lib, retain: true, release: true); + int memoryCapacity, int diskCapacity, NSURL? directoryURL) { + final _ret = _objc_msgSend_974( + this.pointer, + _sel_initWithMemoryCapacity_diskCapacity_directoryURL_, + memoryCapacity, + diskCapacity, + directoryURL?.pointer ?? ffi.nullptr); + return NSURLCache._(_ret, retain: true, release: true); } NSCachedURLResponse? cachedResponseForRequest_(NSURLRequest request) { - final _ret = _lib._objc_msgSend_979( - this.pointer, - _lib._sel_cachedResponseForRequest_1, - request.pointer, - ); + final _ret = _objc_msgSend_979( + this.pointer, _sel_cachedResponseForRequest_, request.pointer); return _ret.address == 0 ? null - : NSCachedURLResponse._(_ret, _lib, retain: true, release: true); + : NSCachedURLResponse._(_ret, retain: true, release: true); } void storeCachedResponse_forRequest_( - NSCachedURLResponse cachedResponse, - NSURLRequest request, - ) { - _lib._objc_msgSend_980( - this.pointer, - _lib._sel_storeCachedResponse_forRequest_1, - cachedResponse.pointer, - request.pointer, - ); + NSCachedURLResponse cachedResponse, NSURLRequest request) { + _objc_msgSend_980(this.pointer, _sel_storeCachedResponse_forRequest_, + cachedResponse.pointer, request.pointer); } void removeCachedResponseForRequest_(NSURLRequest request) { - _lib._objc_msgSend_981( - this.pointer, - _lib._sel_removeCachedResponseForRequest_1, - request.pointer, - ); + _objc_msgSend_981( + this.pointer, _sel_removeCachedResponseForRequest_, request.pointer); } void removeAllCachedResponses() { - _lib._objc_msgSend_1(this.pointer, _lib._sel_removeAllCachedResponses1); + _objc_msgSend_1(this.pointer, _sel_removeAllCachedResponses); } void removeCachedResponsesSinceDate_(NSDate date) { - _lib._objc_msgSend_540( - this.pointer, - _lib._sel_removeCachedResponsesSinceDate_1, - date.pointer, - ); + _objc_msgSend_540( + this.pointer, _sel_removeCachedResponsesSinceDate_, date.pointer); } int get memoryCapacity { - return _lib._objc_msgSend_10(this.pointer, _lib._sel_memoryCapacity1); + return _objc_msgSend_10(this.pointer, _sel_memoryCapacity); } set memoryCapacity(int value) { - return _lib._objc_msgSend_516( - this.pointer, - _lib._sel_setMemoryCapacity_1, - value, - ); + return _objc_msgSend_516(this.pointer, _sel_setMemoryCapacity_, value); } int get diskCapacity { - return _lib._objc_msgSend_10(this.pointer, _lib._sel_diskCapacity1); + return _objc_msgSend_10(this.pointer, _sel_diskCapacity); } set diskCapacity(int value) { - return _lib._objc_msgSend_516( - this.pointer, - _lib._sel_setDiskCapacity_1, - value, - ); + return _objc_msgSend_516(this.pointer, _sel_setDiskCapacity_, value); } int get currentMemoryUsage { - return _lib._objc_msgSend_10(this.pointer, _lib._sel_currentMemoryUsage1); + return _objc_msgSend_10(this.pointer, _sel_currentMemoryUsage); } int get currentDiskUsage { - return _lib._objc_msgSend_10(this.pointer, _lib._sel_currentDiskUsage1); + return _objc_msgSend_10(this.pointer, _sel_currentDiskUsage); } void storeCachedResponse_forDataTask_( - NSCachedURLResponse cachedResponse, - NSURLSessionDataTask dataTask, - ) { - _lib._objc_msgSend_982( - this.pointer, - _lib._sel_storeCachedResponse_forDataTask_1, - cachedResponse.pointer, - dataTask.pointer, - ); + NSCachedURLResponse cachedResponse, NSURLSessionDataTask dataTask) { + _objc_msgSend_982(this.pointer, _sel_storeCachedResponse_forDataTask_, + cachedResponse.pointer, dataTask.pointer); } void getCachedResponseForDataTask_completionHandler_( - NSURLSessionDataTask dataTask, - ObjCBlock_ffiVoid_NSCachedURLResponse completionHandler, - ) { - _lib._objc_msgSend_983( - this.pointer, - _lib._sel_getCachedResponseForDataTask_completionHandler_1, - dataTask.pointer, - completionHandler.pointer, - ); + NSURLSessionDataTask dataTask, + ObjCBlock_ffiVoid_NSCachedURLResponse completionHandler) { + _objc_msgSend_983( + this.pointer, + _sel_getCachedResponseForDataTask_completionHandler_, + dataTask.pointer, + completionHandler.pointer); } void removeCachedResponseForDataTask_(NSURLSessionDataTask dataTask) { - _lib._objc_msgSend_984( - this.pointer, - _lib._sel_removeCachedResponseForDataTask_1, - dataTask.pointer, - ); + _objc_msgSend_984( + this.pointer, _sel_removeCachedResponseForDataTask_, dataTask.pointer); } @override NSURLCache init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSURLCache._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSURLCache._(_ret, retain: true, release: true); } - static NSURLCache new1(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2(_lib._class_NSURLCache1, _lib._sel_new1); - return NSURLCache._(_ret, _lib, retain: false, release: true); + static NSURLCache new1() { + final _ret = _objc_msgSend_2(_class_NSURLCache, _sel_new); + return NSURLCache._(_ret, retain: false, release: true); } - static NSURLCache allocWithZone_(AVFAudio _lib, ffi.Pointer<_NSZone> zone) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSURLCache1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSURLCache._(_ret, _lib, retain: false, release: true); + static NSURLCache allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = _objc_msgSend_3(_class_NSURLCache, _sel_allocWithZone_, zone); + return NSURLCache._(_ret, retain: false, release: true); } - static NSURLCache alloc(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLCache1, - _lib._sel_alloc1, - ); - return NSURLCache._(_ret, _lib, retain: false, release: true); + static NSURLCache alloc() { + final _ret = _objc_msgSend_2(_class_NSURLCache, _sel_alloc); + return NSURLCache._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSURLCache1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSURLCache1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSURLCache1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSURLCache1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSURLCache1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSURLCache1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSURLCache, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); } - static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSURLCache1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSURLCache1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLCache1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSURLCache, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); } -} + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSURLCache, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSURLCache, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSURLCache, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSURLCache, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); + } + + static void setKeys_triggerChangeNotificationsForDependentKey_( + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSURLCache, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = _objc_msgSend_85( + _class_NSURLCache, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = + _objc_msgSend_2(_class_NSURLCache, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); + } +} + +late final _class_NSURLCache = objc.getClass("NSURLCache"); +late final _sel_sharedURLCache = objc.registerName("sharedURLCache"); +final _objc_msgSend_971 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_setSharedURLCache_ = objc.registerName("setSharedURLCache:"); +final _objc_msgSend_972 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_initWithMemoryCapacity_diskCapacity_diskPath_ = + objc.registerName("initWithMemoryCapacity:diskCapacity:diskPath:"); +final _objc_msgSend_973 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.UnsignedLong memoryCapacity, + ffi.UnsignedLong diskCapacity, + ffi.Pointer path)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + int, + int, + ffi.Pointer)>(); +late final _sel_initWithMemoryCapacity_diskCapacity_directoryURL_ = + objc.registerName("initWithMemoryCapacity:diskCapacity:directoryURL:"); +final _objc_msgSend_974 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.UnsignedLong memoryCapacity, + ffi.UnsignedLong diskCapacity, + ffi.Pointer directoryURL)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + int, + int, + ffi.Pointer)>(); class NSCachedURLResponse extends NSObject { - NSCachedURLResponse._( - ffi.Pointer pointer, - AVFAudio lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSCachedURLResponse._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSCachedURLResponse] that points to the same underlying object as [other]. - static NSCachedURLResponse castFrom( - AVFAudio lib, - T other, - ) { - return NSCachedURLResponse._( - other.pointer, - lib, - retain: true, - release: true, - ); + static NSCachedURLResponse castFrom(T other) { + return NSCachedURLResponse._(other.pointer, retain: true, release: true); } /// Returns a [NSCachedURLResponse] that wraps the given raw object pointer. - static NSCachedURLResponse castFromPointer( - AVFAudio lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSCachedURLResponse._(other, lib, retain: retain, release: release); + static NSCachedURLResponse castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSCachedURLResponse._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSCachedURLResponse]. - static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSCachedURLResponse1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0( + obj.pointer, _sel_isKindOfClass_, _class_NSCachedURLResponse); } NSCachedURLResponse initWithResponse_data_( - NSURLResponse response, - NSData data, - ) { - final _ret = _lib._objc_msgSend_975( - this.pointer, - _lib._sel_initWithResponse_data_1, - response.pointer, - data.pointer, - ); - return NSCachedURLResponse._(_ret, _lib, retain: true, release: true); + NSURLResponse response, NSData data) { + final _ret = _objc_msgSend_975(this.pointer, _sel_initWithResponse_data_, + response.pointer, data.pointer); + return NSCachedURLResponse._(_ret, retain: true, release: true); } NSCachedURLResponse initWithResponse_data_userInfo_storagePolicy_( - NSURLResponse response, - NSData data, - NSDictionary? userInfo, - int storagePolicy, - ) { - final _ret = _lib._objc_msgSend_976( - this.pointer, - _lib._sel_initWithResponse_data_userInfo_storagePolicy_1, - response.pointer, - data.pointer, - userInfo?.pointer ?? ffi.nullptr, - storagePolicy, - ); - return NSCachedURLResponse._(_ret, _lib, retain: true, release: true); + NSURLResponse response, + NSData data, + NSDictionary? userInfo, + int storagePolicy) { + final _ret = _objc_msgSend_976( + this.pointer, + _sel_initWithResponse_data_userInfo_storagePolicy_, + response.pointer, + data.pointer, + userInfo?.pointer ?? ffi.nullptr, + storagePolicy); + return NSCachedURLResponse._(_ret, retain: true, release: true); } NSURLResponse get response { - final _ret = _lib._objc_msgSend_977(this.pointer, _lib._sel_response1); - return NSURLResponse._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_977(this.pointer, _sel_response); + return NSURLResponse._(_ret, retain: true, release: true); } NSData get data { - final _ret = _lib._objc_msgSend_43(this.pointer, _lib._sel_data1); - return NSData._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_43(this.pointer, _sel_data); + return NSData._(_ret, retain: true, release: true); } NSDictionary? get userInfo { - final _ret = _lib._objc_msgSend_390(this.pointer, _lib._sel_userInfo1); + final _ret = _objc_msgSend_390(this.pointer, _sel_userInfo); return _ret.address == 0 ? null - : NSDictionary._(_ret, _lib, retain: true, release: true); + : NSDictionary._(_ret, retain: true, release: true); } int get storagePolicy { - return _lib._objc_msgSend_978(this.pointer, _lib._sel_storagePolicy1); + return _objc_msgSend_978(this.pointer, _sel_storagePolicy); } @override NSCachedURLResponse init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSCachedURLResponse._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSCachedURLResponse._(_ret, retain: true, release: true); } - static NSCachedURLResponse new1(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSCachedURLResponse1, - _lib._sel_new1, - ); - return NSCachedURLResponse._(_ret, _lib, retain: false, release: true); + static NSCachedURLResponse new1() { + final _ret = _objc_msgSend_2(_class_NSCachedURLResponse, _sel_new); + return NSCachedURLResponse._(_ret, retain: false, release: true); } - static NSCachedURLResponse allocWithZone_( - AVFAudio _lib, - ffi.Pointer<_NSZone> zone, - ) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSCachedURLResponse1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSCachedURLResponse._(_ret, _lib, retain: false, release: true); + static NSCachedURLResponse allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = + _objc_msgSend_3(_class_NSCachedURLResponse, _sel_allocWithZone_, zone); + return NSCachedURLResponse._(_ret, retain: false, release: true); } - static NSCachedURLResponse alloc(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSCachedURLResponse1, - _lib._sel_alloc1, - ); - return NSCachedURLResponse._(_ret, _lib, retain: false, release: true); + static NSCachedURLResponse alloc() { + final _ret = _objc_msgSend_2(_class_NSCachedURLResponse, _sel_alloc); + return NSCachedURLResponse._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSCachedURLResponse1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSCachedURLResponse1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSCachedURLResponse1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSCachedURLResponse1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSCachedURLResponse1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSCachedURLResponse1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSCachedURLResponse, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); + } + + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSCachedURLResponse, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); + } + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSCachedURLResponse, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSCachedURLResponse, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSCachedURLResponse, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSCachedURLResponse, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); } static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSCachedURLResponse1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSCachedURLResponse1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSCachedURLResponse1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSCachedURLResponse, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = _objc_msgSend_85( + _class_NSCachedURLResponse, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = _objc_msgSend_2( + _class_NSCachedURLResponse, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); } } +late final _class_NSCachedURLResponse = objc.getClass("NSCachedURLResponse"); +late final _sel_initWithResponse_data_ = + objc.registerName("initWithResponse:data:"); +final _objc_msgSend_975 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer response, + ffi.Pointer data)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); + abstract class NSURLCacheStoragePolicy { static const int NSURLCacheStorageAllowed = 0; static const int NSURLCacheStorageAllowedInMemoryOnly = 1; static const int NSURLCacheStorageNotAllowed = 2; } +late final _sel_initWithResponse_data_userInfo_storagePolicy_ = + objc.registerName("initWithResponse:data:userInfo:storagePolicy:"); +final _objc_msgSend_976 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer response, + ffi.Pointer data, + ffi.Pointer userInfo, + ffi.Int32 storagePolicy)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int)>(); +final _objc_msgSend_977 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_storagePolicy = objc.registerName("storagePolicy"); +final _objc_msgSend_978 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + int Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_cachedResponseForRequest_ = + objc.registerName("cachedResponseForRequest:"); +final _objc_msgSend_979 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer request)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_storeCachedResponse_forRequest_ = + objc.registerName("storeCachedResponse:forRequest:"); +final _objc_msgSend_980 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer cachedResponse, + ffi.Pointer request)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_removeCachedResponseForRequest_ = + objc.registerName("removeCachedResponseForRequest:"); +final _objc_msgSend_981 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer request)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_removeAllCachedResponses = + objc.registerName("removeAllCachedResponses"); +late final _sel_removeCachedResponsesSinceDate_ = + objc.registerName("removeCachedResponsesSinceDate:"); +late final _sel_memoryCapacity = objc.registerName("memoryCapacity"); +late final _sel_setMemoryCapacity_ = objc.registerName("setMemoryCapacity:"); +late final _sel_diskCapacity = objc.registerName("diskCapacity"); +late final _sel_setDiskCapacity_ = objc.registerName("setDiskCapacity:"); +late final _sel_currentMemoryUsage = objc.registerName("currentMemoryUsage"); +late final _sel_currentDiskUsage = objc.registerName("currentDiskUsage"); + class NSURLSessionDataTask extends NSURLSessionTask { - NSURLSessionDataTask._( - ffi.Pointer pointer, - AVFAudio lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSURLSessionDataTask._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSURLSessionDataTask] that points to the same underlying object as [other]. - static NSURLSessionDataTask castFrom( - AVFAudio lib, - T other, - ) { - return NSURLSessionDataTask._( - other.pointer, - lib, - retain: true, - release: true, - ); + static NSURLSessionDataTask castFrom(T other) { + return NSURLSessionDataTask._(other.pointer, retain: true, release: true); } /// Returns a [NSURLSessionDataTask] that wraps the given raw object pointer. static NSURLSessionDataTask castFromPointer( - AVFAudio lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSURLSessionDataTask._(other, lib, retain: retain, release: release); + ffi.Pointer other, + {bool retain = false, + bool release = false}) { + return NSURLSessionDataTask._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSURLSessionDataTask]. - static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSURLSessionDataTask1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0( + obj.pointer, _sel_isKindOfClass_, _class_NSURLSessionDataTask); } @override NSURLSessionDataTask init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSURLSessionDataTask._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSURLSessionDataTask._(_ret, retain: true, release: true); } - static NSURLSessionDataTask new1(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLSessionDataTask1, - _lib._sel_new1, - ); - return NSURLSessionDataTask._(_ret, _lib, retain: false, release: true); + static NSURLSessionDataTask new1() { + final _ret = _objc_msgSend_2(_class_NSURLSessionDataTask, _sel_new); + return NSURLSessionDataTask._(_ret, retain: false, release: true); } - static NSURLSessionDataTask allocWithZone_( - AVFAudio _lib, - ffi.Pointer<_NSZone> zone, - ) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSURLSessionDataTask1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSURLSessionDataTask._(_ret, _lib, retain: false, release: true); + static NSURLSessionDataTask allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = + _objc_msgSend_3(_class_NSURLSessionDataTask, _sel_allocWithZone_, zone); + return NSURLSessionDataTask._(_ret, retain: false, release: true); } - static NSURLSessionDataTask alloc(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLSessionDataTask1, - _lib._sel_alloc1, - ); - return NSURLSessionDataTask._(_ret, _lib, retain: false, release: true); + static NSURLSessionDataTask alloc() { + final _ret = _objc_msgSend_2(_class_NSURLSessionDataTask, _sel_alloc); + return NSURLSessionDataTask._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSURLSessionDataTask1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSURLSessionDataTask1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSURLSessionDataTask1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSURLSessionDataTask1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSURLSessionDataTask1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSURLSessionDataTask1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSURLSessionDataTask, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); } - static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSURLSessionDataTask1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSURLSessionDataTask1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLSessionDataTask1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSURLSessionDataTask, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); + } + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSURLSessionDataTask, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12( + _class_NSURLSessionDataTask, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSURLSessionDataTask, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSURLSessionDataTask, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); } -} + static void setKeys_triggerChangeNotificationsForDependentKey_( + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSURLSessionDataTask, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = _objc_msgSend_85( + _class_NSURLSessionDataTask, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = _objc_msgSend_2( + _class_NSURLSessionDataTask, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); + } +} + +late final _class_NSURLSessionDataTask = objc.getClass("NSURLSessionDataTask"); +late final _sel_storeCachedResponse_forDataTask_ = + objc.registerName("storeCachedResponse:forDataTask:"); +final _objc_msgSend_982 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer cachedResponse, + ffi.Pointer dataTask)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); void _ObjCBlock_ffiVoid_NSCachedURLResponse_fnPtrTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, -) => + ffi.Pointer block, ffi.Pointer arg0) => block.ref.target .cast< ffi.NativeFunction< @@ -84145,43 +49180,29 @@ final _ObjCBlock_ffiVoid_NSCachedURLResponse_closureRegistry = )>{}; int _ObjCBlock_ffiVoid_NSCachedURLResponse_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_ffiVoid_NSCachedURLResponse_registerClosure( - void Function(ffi.Pointer) fn, -) { + void Function(ffi.Pointer) fn) { final id = ++_ObjCBlock_ffiVoid_NSCachedURLResponse_closureRegistryIndex; _ObjCBlock_ffiVoid_NSCachedURLResponse_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } void _ObjCBlock_ffiVoid_NSCachedURLResponse_closureTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, -) => + ffi.Pointer block, ffi.Pointer arg0) => _ObjCBlock_ffiVoid_NSCachedURLResponse_closureRegistry[ block.ref.target.address]!(arg0); class ObjCBlock_ffiVoid_NSCachedURLResponse extends objc.ObjCBlockBase { - ObjCBlock_ffiVoid_NSCachedURLResponse._( - ffi.Pointer pointer, - this._lib, { - bool retain = false, - bool release = true, - }) : super(pointer, retain: retain, release: release); - - AVFAudio _lib; + ObjCBlock_ffiVoid_NSCachedURLResponse._(ffi.Pointer pointer, + {bool retain = false, bool release = true}) + : super(pointer, retain: retain, release: release); /// Returns a block that wraps the given raw block pointer. static ObjCBlock_ffiVoid_NSCachedURLResponse castFromPointer( - AVFAudio lib, - ffi.Pointer pointer, { - bool retain = false, - bool release = false, - }) { - return ObjCBlock_ffiVoid_NSCachedURLResponse._( - pointer, - lib, - retain: retain, - release: release, - ); + ffi.Pointer pointer, + {bool retain = false, + bool release = false}) { + return ObjCBlock_ffiVoid_NSCachedURLResponse._(pointer, + retain: retain, release: release); } /// Creates a block from a C function pointer. @@ -84190,22 +49211,17 @@ class ObjCBlock_ffiVoid_NSCachedURLResponse extends objc.ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSCachedURLResponse.fromFunctionPointer( - AVFAudio lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer arg0)>> - ptr, - ) : this._( - objc.newBlock( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - )>(_ObjCBlock_ffiVoid_NSCachedURLResponse_fnPtrTrampoline) - .cast(), - ptr.cast(), - ), - lib); + ffi.Pointer< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer arg0)>> + ptr) + : this._(objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function(ffi.Pointer, + ffi.Pointer)>( + _ObjCBlock_ffiVoid_NSCachedURLResponse_fnPtrTrampoline) + .cast(), + ptr.cast())); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -84214,28 +49230,17 @@ class ObjCBlock_ffiVoid_NSCachedURLResponse extends objc.ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSCachedURLResponse.fromFunction( - AVFAudio lib, - void Function(NSCachedURLResponse?) fn, - ) : this._( - objc.newBlock( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - )>( - _ObjCBlock_ffiVoid_NSCachedURLResponse_closureTrampoline) - .cast(), - _ObjCBlock_ffiVoid_NSCachedURLResponse_registerClosure(( - ffi.Pointer arg0, - ) => - fn( - arg0.address == 0 - ? null - : NSCachedURLResponse._(arg0, lib, - retain: true, release: true), - )), - ), - lib); + void Function(NSCachedURLResponse?) fn) + : this._(objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function(ffi.Pointer, + ffi.Pointer)>( + _ObjCBlock_ffiVoid_NSCachedURLResponse_closureTrampoline) + .cast(), + _ObjCBlock_ffiVoid_NSCachedURLResponse_registerClosure( + (ffi.Pointer arg0) => fn(arg0.address == 0 + ? null + : NSCachedURLResponse._(arg0, retain: true, release: true))))); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -84248,30 +49253,19 @@ class ObjCBlock_ffiVoid_NSCachedURLResponse extends objc.ObjCBlockBase { /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. ObjCBlock_ffiVoid_NSCachedURLResponse.listener( - AVFAudio lib, - void Function(NSCachedURLResponse?) fn, - ) : this._( - objc.newBlock( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - )>.listener( - _ObjCBlock_ffiVoid_NSCachedURLResponse_closureTrampoline, - )..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSCachedURLResponse_registerClosure(( - ffi.Pointer arg0, - ) => - fn( - arg0.address == 0 - ? null - : NSCachedURLResponse._(arg0, lib, - retain: true, release: true), - )), - ), - lib); + void Function(NSCachedURLResponse?) fn) + : this._(objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function(ffi.Pointer, + ffi.Pointer)>.listener( + _ObjCBlock_ffiVoid_NSCachedURLResponse_closureTrampoline) + ..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSCachedURLResponse_registerClosure( + (ffi.Pointer arg0) => fn(arg0.address == 0 + ? null + : NSCachedURLResponse._(arg0, retain: true, release: true))))); static ffi.NativeCallable< ffi.Void Function( ffi.Pointer, ffi.Pointer)>? @@ -84280,352 +49274,373 @@ class ObjCBlock_ffiVoid_NSCachedURLResponse extends objc.ObjCBlockBase { void call(NSCachedURLResponse? arg0) => pointer.ref.invoke .cast< ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer block, - ffi.Pointer arg0, - )>>() + ffi.Void Function(ffi.Pointer block, + ffi.Pointer arg0)>>() .asFunction< void Function( ffi.Pointer, ffi.Pointer)>()( pointer, arg0?.pointer ?? ffi.nullptr); } +late final _sel_getCachedResponseForDataTask_completionHandler_ = + objc.registerName("getCachedResponseForDataTask:completionHandler:"); +final _objc_msgSend_983 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer dataTask, + ffi.Pointer completionHandler)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_removeCachedResponseForDataTask_ = + objc.registerName("removeCachedResponseForDataTask:"); +final _objc_msgSend_984 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer dataTask)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); + class NSURLConnection extends NSObject { - NSURLConnection._( - ffi.Pointer pointer, - AVFAudio lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSURLConnection._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSURLConnection] that points to the same underlying object as [other]. - static NSURLConnection castFrom( - AVFAudio lib, - T other, - ) { - return NSURLConnection._(other.pointer, lib, retain: true, release: true); + static NSURLConnection castFrom(T other) { + return NSURLConnection._(other.pointer, retain: true, release: true); } /// Returns a [NSURLConnection] that wraps the given raw object pointer. - static NSURLConnection castFromPointer( - AVFAudio lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSURLConnection._(other, lib, retain: retain, release: release); + static NSURLConnection castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSURLConnection._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSURLConnection]. - static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSURLConnection1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0( + obj.pointer, _sel_isKindOfClass_, _class_NSURLConnection); } NSURLConnection? initWithRequest_delegate_startImmediately_( - NSURLRequest request, - NSObject? delegate, - bool startImmediately, - ) { - final _ret = _lib._objc_msgSend_985( - this.pointer, - _lib._sel_initWithRequest_delegate_startImmediately_1, - request.pointer, - delegate?.pointer ?? ffi.nullptr, - startImmediately, - ); + NSURLRequest request, NSObject? delegate, bool startImmediately) { + final _ret = _objc_msgSend_985( + this.pointer, + _sel_initWithRequest_delegate_startImmediately_, + request.pointer, + delegate?.pointer ?? ffi.nullptr, + startImmediately); return _ret.address == 0 ? null - : NSURLConnection._(_ret, _lib, retain: true, release: true); + : NSURLConnection._(_ret, retain: true, release: true); } NSURLConnection? initWithRequest_delegate_( - NSURLRequest request, - NSObject? delegate, - ) { - final _ret = _lib._objc_msgSend_986( - this.pointer, - _lib._sel_initWithRequest_delegate_1, - request.pointer, - delegate?.pointer ?? ffi.nullptr, - ); + NSURLRequest request, NSObject? delegate) { + final _ret = _objc_msgSend_986(this.pointer, _sel_initWithRequest_delegate_, + request.pointer, delegate?.pointer ?? ffi.nullptr); return _ret.address == 0 ? null - : NSURLConnection._(_ret, _lib, retain: true, release: true); + : NSURLConnection._(_ret, retain: true, release: true); } static NSURLConnection? connectionWithRequest_delegate_( - AVFAudio _lib, - NSURLRequest request, - NSObject? delegate, - ) { - final _ret = _lib._objc_msgSend_987( - _lib._class_NSURLConnection1, - _lib._sel_connectionWithRequest_delegate_1, - request.pointer, - delegate?.pointer ?? ffi.nullptr, - ); + NSURLRequest request, NSObject? delegate) { + final _ret = _objc_msgSend_987( + _class_NSURLConnection, + _sel_connectionWithRequest_delegate_, + request.pointer, + delegate?.pointer ?? ffi.nullptr); return _ret.address == 0 ? null - : NSURLConnection._(_ret, _lib, retain: true, release: true); + : NSURLConnection._(_ret, retain: true, release: true); } NSURLRequest get originalRequest { - final _ret = _lib._objc_msgSend_988( - this.pointer, - _lib._sel_originalRequest1, - ); - return NSURLRequest._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_988(this.pointer, _sel_originalRequest); + return NSURLRequest._(_ret, retain: true, release: true); } NSURLRequest get currentRequest { - final _ret = _lib._objc_msgSend_988( - this.pointer, - _lib._sel_currentRequest1, - ); - return NSURLRequest._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_988(this.pointer, _sel_currentRequest); + return NSURLRequest._(_ret, retain: true, release: true); } void start() { - _lib._objc_msgSend_1(this.pointer, _lib._sel_start1); + _objc_msgSend_1(this.pointer, _sel_start); } void cancel() { - _lib._objc_msgSend_1(this.pointer, _lib._sel_cancel1); + _objc_msgSend_1(this.pointer, _sel_cancel); } void scheduleInRunLoop_forMode_(NSRunLoop aRunLoop, NSString mode) { - _lib._objc_msgSend_569( - this.pointer, - _lib._sel_scheduleInRunLoop_forMode_1, - aRunLoop.pointer, - mode.pointer, - ); + _objc_msgSend_569(this.pointer, _sel_scheduleInRunLoop_forMode_, + aRunLoop.pointer, mode.pointer); } void unscheduleFromRunLoop_forMode_(NSRunLoop aRunLoop, NSString mode) { - _lib._objc_msgSend_569( - this.pointer, - _lib._sel_unscheduleFromRunLoop_forMode_1, - aRunLoop.pointer, - mode.pointer, - ); + _objc_msgSend_569(this.pointer, _sel_unscheduleFromRunLoop_forMode_, + aRunLoop.pointer, mode.pointer); } void setDelegateQueue_(NSOperationQueue? queue) { - _lib._objc_msgSend_989( - this.pointer, - _lib._sel_setDelegateQueue_1, - queue?.pointer ?? ffi.nullptr, - ); + _objc_msgSend_989( + this.pointer, _sel_setDelegateQueue_, queue?.pointer ?? ffi.nullptr); } - static bool canHandleRequest_(AVFAudio _lib, NSURLRequest request) { - return _lib._objc_msgSend_990( - _lib._class_NSURLConnection1, - _lib._sel_canHandleRequest_1, - request.pointer, - ); + static bool canHandleRequest_(NSURLRequest request) { + return _objc_msgSend_990( + _class_NSURLConnection, _sel_canHandleRequest_, request.pointer); } static NSData? sendSynchronousRequest_returningResponse_error_( - AVFAudio _lib, - NSURLRequest request, - ffi.Pointer> response, - ffi.Pointer> error, - ) { - final _ret = _lib._objc_msgSend_991( - _lib._class_NSURLConnection1, - _lib._sel_sendSynchronousRequest_returningResponse_error_1, - request.pointer, - response, - error, - ); + NSURLRequest request, + ffi.Pointer> response, + ffi.Pointer> error) { + final _ret = _objc_msgSend_991( + _class_NSURLConnection, + _sel_sendSynchronousRequest_returningResponse_error_, + request.pointer, + response, + error); return _ret.address == 0 ? null - : NSData._(_ret, _lib, retain: true, release: true); + : NSData._(_ret, retain: true, release: true); } static void sendAsynchronousRequest_queue_completionHandler_( - AVFAudio _lib, - NSURLRequest request, - NSOperationQueue queue, - ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError handler, - ) { - _lib._objc_msgSend_992( - _lib._class_NSURLConnection1, - _lib._sel_sendAsynchronousRequest_queue_completionHandler_1, - request.pointer, - queue.pointer, - handler.pointer, - ); + NSURLRequest request, + NSOperationQueue queue, + ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError handler) { + _objc_msgSend_992( + _class_NSURLConnection, + _sel_sendAsynchronousRequest_queue_completionHandler_, + request.pointer, + queue.pointer, + handler.pointer); } @override NSURLConnection init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSURLConnection._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSURLConnection._(_ret, retain: true, release: true); } - static NSURLConnection new1(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLConnection1, - _lib._sel_new1, - ); - return NSURLConnection._(_ret, _lib, retain: false, release: true); + static NSURLConnection new1() { + final _ret = _objc_msgSend_2(_class_NSURLConnection, _sel_new); + return NSURLConnection._(_ret, retain: false, release: true); } - static NSURLConnection allocWithZone_( - AVFAudio _lib, - ffi.Pointer<_NSZone> zone, - ) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSURLConnection1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSURLConnection._(_ret, _lib, retain: false, release: true); + static NSURLConnection allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = + _objc_msgSend_3(_class_NSURLConnection, _sel_allocWithZone_, zone); + return NSURLConnection._(_ret, retain: false, release: true); } - static NSURLConnection alloc(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLConnection1, - _lib._sel_alloc1, - ); - return NSURLConnection._(_ret, _lib, retain: false, release: true); + static NSURLConnection alloc() { + final _ret = _objc_msgSend_2(_class_NSURLConnection, _sel_alloc); + return NSURLConnection._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSURLConnection1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSURLConnection1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSURLConnection1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSURLConnection1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSURLConnection1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSURLConnection1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSURLConnection, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); } - static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSURLConnection1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSURLConnection1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLConnection1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSURLConnection, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); + } + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSURLConnection, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSURLConnection, _sel_useStoredAccessor); } -} + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSURLConnection, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSURLConnection, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); + } + + static void setKeys_triggerChangeNotificationsForDependentKey_( + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSURLConnection, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = _objc_msgSend_85( + _class_NSURLConnection, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = + _objc_msgSend_2(_class_NSURLConnection, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); + } +} + +late final _class_NSURLConnection = objc.getClass("NSURLConnection"); +late final _sel_initWithRequest_delegate_startImmediately_ = + objc.registerName("initWithRequest:delegate:startImmediately:"); +final _objc_msgSend_985 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer request, + ffi.Pointer delegate, + ffi.Bool startImmediately)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool)>(); +late final _sel_initWithRequest_delegate_ = + objc.registerName("initWithRequest:delegate:"); +final _objc_msgSend_986 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer request, + ffi.Pointer delegate)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_connectionWithRequest_delegate_ = + objc.registerName("connectionWithRequest:delegate:"); +final _objc_msgSend_987 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer request, + ffi.Pointer delegate)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +final _objc_msgSend_988 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_unscheduleFromRunLoop_forMode_ = + objc.registerName("unscheduleFromRunLoop:forMode:"); +late final _sel_setDelegateQueue_ = objc.registerName("setDelegateQueue:"); +final _objc_msgSend_989 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer queue)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_canHandleRequest_ = objc.registerName("canHandleRequest:"); +final _objc_msgSend_990 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer request)>>() + .asFunction< + bool Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_sendSynchronousRequest_returningResponse_error_ = + objc.registerName("sendSynchronousRequest:returningResponse:error:"); +final _objc_msgSend_991 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer request, + ffi.Pointer> response, + ffi.Pointer> error)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer>)>(); void _ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError_fnPtrTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2, -) => + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2) => block.ref.target .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2, - )>>() + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2)>>() .asFunction< void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>()(arg0, arg1, arg2); + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>()(arg0, arg1, arg2); final _ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError_closureRegistry = , - ffi.Pointer, - ffi.Pointer, -)>{}; + void Function(ffi.Pointer, ffi.Pointer, + ffi.Pointer)>{}; int _ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError_registerClosure( - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) fn, -) { + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer) + fn) { final id = ++_ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError_closureRegistryIndex; _ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError_closureRegistry[id] = fn; @@ -84633,38 +49648,28 @@ ffi.Pointer } void _ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError_closureTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2, -) => + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2) => _ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError_closureRegistry[ block.ref.target.address]!(arg0, arg1, arg2); class ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError._( - ffi.Pointer pointer, - this._lib, { - bool retain = false, - bool release = true, - }) : super(pointer, retain: retain, release: release); - - AVFAudio _lib; + ffi.Pointer pointer, + {bool retain = false, + bool release = true}) + : super(pointer, retain: retain, release: release); /// Returns a block that wraps the given raw block pointer. static ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError castFromPointer( - AVFAudio lib, - ffi.Pointer pointer, { - bool retain = false, - bool release = false, - }) { - return ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError._( - pointer, - lib, - retain: retain, - release: release, - ); + ffi.Pointer pointer, + {bool retain = false, + bool release = false}) { + return ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError._(pointer, + retain: retain, release: release); } /// Creates a block from a C function pointer. @@ -84673,29 +49678,23 @@ class ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError.fromFunctionPointer( - AVFAudio lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2, - )>> - ptr, - ) : this._( - objc.newBlock( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Pointer< + ffi.NativeFunction< ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>( - _ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError_fnPtrTrampoline, - ).cast(), - ptr.cast(), - ), - lib); + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2)>> + ptr) + : this._(objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>( + _ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError_fnPtrTrampoline) + .cast(), + ptr.cast())); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -84704,38 +49703,20 @@ class ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError.fromFunction( - AVFAudio lib, - void Function(NSURLResponse?, NSData?, NSError?) fn, - ) : this._( - objc.newBlock( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>( - _ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError_closureTrampoline, - ).cast(), - _ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError_registerClosure(( - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2, - ) => - fn( - arg0.address == 0 - ? null - : NSURLResponse._(arg0, lib, - retain: true, release: true), - arg1.address == 0 - ? null - : NSData._(arg1, lib, retain: true, release: true), - arg2.address == 0 - ? null - : NSError._(arg2, lib, retain: true, release: true), - )), - ), - lib); + void Function(NSURLResponse?, NSData?, NSError?) fn) + : this._(objc.newBlock( + _dartFuncTrampoline ??= + ffi.Pointer.fromFunction, ffi.Pointer, ffi.Pointer, ffi.Pointer)>( + _ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError_closureTrampoline) + .cast(), + _ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError_registerClosure( + (ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2) => + fn( + arg0.address == 0 ? null : NSURLResponse._(arg0, retain: true, release: true), + arg1.address == 0 ? null : NSData._(arg1, retain: true, release: true), + arg2.address == 0 ? null : NSError._(arg2, retain: true, release: true))))); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -84746,350 +49727,268 @@ class ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError /// NativeCallable.listener for more details. /// /// Note that unlike the default behavior of NativeCallable.listener, listener - /// blocks do not keep the isolate alive. - ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError.listener( - AVFAudio lib, - void Function(NSURLResponse?, NSData?, NSError?) fn, - ) : this._( - objc.newBlock( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>.listener( - _ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError_closureTrampoline, - )..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError_registerClosure(( - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2, - ) => - fn( - arg0.address == 0 - ? null - : NSURLResponse._(arg0, lib, - retain: true, release: true), - arg1.address == 0 - ? null - : NSData._(arg1, lib, retain: true, release: true), - arg2.address == 0 - ? null - : NSError._(arg2, lib, retain: true, release: true), - )), - ), - lib); - static ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>? _dartFuncListenerTrampoline; - - void call(NSURLResponse? arg0, NSData? arg1, NSError? arg2) => - pointer.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2, - )>>() - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>()( - pointer, - arg0?.pointer ?? ffi.nullptr, - arg1?.pointer ?? ffi.nullptr, - arg2?.pointer ?? ffi.nullptr, - ); -} + /// blocks do not keep the isolate alive. + ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError.listener( + void Function(NSURLResponse?, NSData?, NSError?) fn) + : this._(objc.newBlock( + (_dartFuncListenerTrampoline ??= + ffi.NativeCallable, ffi.Pointer, ffi.Pointer, ffi.Pointer)>.listener( + _ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError_closureTrampoline) + ..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError_registerClosure( + (ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2) => + fn( + arg0.address == 0 + ? null + : NSURLResponse._(arg0, retain: true, release: true), + arg1.address == 0 ? null : NSData._(arg1, retain: true, release: true), + arg2.address == 0 ? null : NSError._(arg2, retain: true, release: true))))); + static ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>? _dartFuncListenerTrampoline; + + void call(NSURLResponse? arg0, NSData? arg1, NSError? arg2) => + pointer.ref.invoke + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>()( + pointer, + arg0?.pointer ?? ffi.nullptr, + arg1?.pointer ?? ffi.nullptr, + arg2?.pointer ?? ffi.nullptr); +} + +late final _sel_sendAsynchronousRequest_queue_completionHandler_ = + objc.registerName("sendAsynchronousRequest:queue:completionHandler:"); +final _objc_msgSend_992 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer request, + ffi.Pointer queue, + ffi.Pointer handler)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); class NSURLCredential extends NSObject { - NSURLCredential._( - ffi.Pointer pointer, - AVFAudio lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSURLCredential._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSURLCredential] that points to the same underlying object as [other]. - static NSURLCredential castFrom( - AVFAudio lib, - T other, - ) { - return NSURLCredential._(other.pointer, lib, retain: true, release: true); + static NSURLCredential castFrom(T other) { + return NSURLCredential._(other.pointer, retain: true, release: true); } /// Returns a [NSURLCredential] that wraps the given raw object pointer. - static NSURLCredential castFromPointer( - AVFAudio lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSURLCredential._(other, lib, retain: retain, release: release); + static NSURLCredential castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSURLCredential._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSURLCredential]. - static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSURLCredential1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0( + obj.pointer, _sel_isKindOfClass_, _class_NSURLCredential); } int get persistence { - return _lib._objc_msgSend_993(this.pointer, _lib._sel_persistence1); + return _objc_msgSend_993(this.pointer, _sel_persistence); } NSURLCredential initWithUser_password_persistence_( - NSString user, - NSString password, - int persistence, - ) { - final _ret = _lib._objc_msgSend_994( - this.pointer, - _lib._sel_initWithUser_password_persistence_1, - user.pointer, - password.pointer, - persistence, - ); - return NSURLCredential._(_ret, _lib, retain: true, release: true); + NSString user, NSString password, int persistence) { + final _ret = _objc_msgSend_994( + this.pointer, + _sel_initWithUser_password_persistence_, + user.pointer, + password.pointer, + persistence); + return NSURLCredential._(_ret, retain: true, release: true); } static NSURLCredential credentialWithUser_password_persistence_( - AVFAudio _lib, - NSString user, - NSString password, - int persistence, - ) { - final _ret = _lib._objc_msgSend_995( - _lib._class_NSURLCredential1, - _lib._sel_credentialWithUser_password_persistence_1, - user.pointer, - password.pointer, - persistence, - ); - return NSURLCredential._(_ret, _lib, retain: true, release: true); + NSString user, NSString password, int persistence) { + final _ret = _objc_msgSend_995( + _class_NSURLCredential, + _sel_credentialWithUser_password_persistence_, + user.pointer, + password.pointer, + persistence); + return NSURLCredential._(_ret, retain: true, release: true); } NSString? get user { - final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_user1); + final _ret = _objc_msgSend_44(this.pointer, _sel_user); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } NSString? get password { - final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_password1); + final _ret = _objc_msgSend_44(this.pointer, _sel_password); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } bool get hasPassword { - return _lib._objc_msgSend_12(this.pointer, _lib._sel_hasPassword1); + return _objc_msgSend_12(this.pointer, _sel_hasPassword); } NSURLCredential initWithIdentity_certificates_persistence_( - ffi.Pointer<__SecIdentity> identity, - NSArray? certArray, - int persistence, - ) { - final _ret = _lib._objc_msgSend_996( - this.pointer, - _lib._sel_initWithIdentity_certificates_persistence_1, - identity, - certArray?.pointer ?? ffi.nullptr, - persistence, - ); - return NSURLCredential._(_ret, _lib, retain: true, release: true); + ffi.Pointer<__SecIdentity> identity, + NSArray? certArray, + int persistence) { + final _ret = _objc_msgSend_996( + this.pointer, + _sel_initWithIdentity_certificates_persistence_, + identity, + certArray?.pointer ?? ffi.nullptr, + persistence); + return NSURLCredential._(_ret, retain: true, release: true); } static NSURLCredential credentialWithIdentity_certificates_persistence_( - AVFAudio _lib, - ffi.Pointer<__SecIdentity> identity, - NSArray? certArray, - int persistence, - ) { - final _ret = _lib._objc_msgSend_997( - _lib._class_NSURLCredential1, - _lib._sel_credentialWithIdentity_certificates_persistence_1, - identity, - certArray?.pointer ?? ffi.nullptr, - persistence, - ); - return NSURLCredential._(_ret, _lib, retain: true, release: true); + ffi.Pointer<__SecIdentity> identity, + NSArray? certArray, + int persistence) { + final _ret = _objc_msgSend_997( + _class_NSURLCredential, + _sel_credentialWithIdentity_certificates_persistence_, + identity, + certArray?.pointer ?? ffi.nullptr, + persistence); + return NSURLCredential._(_ret, retain: true, release: true); } ffi.Pointer<__SecIdentity> get identity { - return _lib._objc_msgSend_998(this.pointer, _lib._sel_identity1); + return _objc_msgSend_998(this.pointer, _sel_identity); } NSArray get certificates { - final _ret = _lib._objc_msgSend_85(this.pointer, _lib._sel_certificates1); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_85(this.pointer, _sel_certificates); + return NSArray._(_ret, retain: true, release: true); } NSURLCredential initWithTrust_(ffi.Pointer<__SecTrust> trust) { - final _ret = _lib._objc_msgSend_999( - this.pointer, - _lib._sel_initWithTrust_1, - trust, - ); - return NSURLCredential._(_ret, _lib, retain: true, release: true); - } - - static NSURLCredential credentialForTrust_( - AVFAudio _lib, - ffi.Pointer<__SecTrust> trust, - ) { - final _ret = _lib._objc_msgSend_1000( - _lib._class_NSURLCredential1, - _lib._sel_credentialForTrust_1, - trust, - ); - return NSURLCredential._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_999(this.pointer, _sel_initWithTrust_, trust); + return NSURLCredential._(_ret, retain: true, release: true); + } + + static NSURLCredential credentialForTrust_(ffi.Pointer<__SecTrust> trust) { + final _ret = _objc_msgSend_1000( + _class_NSURLCredential, _sel_credentialForTrust_, trust); + return NSURLCredential._(_ret, retain: true, release: true); } @override NSURLCredential init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSURLCredential._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSURLCredential._(_ret, retain: true, release: true); } - static NSURLCredential new1(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLCredential1, - _lib._sel_new1, - ); - return NSURLCredential._(_ret, _lib, retain: false, release: true); + static NSURLCredential new1() { + final _ret = _objc_msgSend_2(_class_NSURLCredential, _sel_new); + return NSURLCredential._(_ret, retain: false, release: true); } - static NSURLCredential allocWithZone_( - AVFAudio _lib, - ffi.Pointer<_NSZone> zone, - ) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSURLCredential1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSURLCredential._(_ret, _lib, retain: false, release: true); + static NSURLCredential allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = + _objc_msgSend_3(_class_NSURLCredential, _sel_allocWithZone_, zone); + return NSURLCredential._(_ret, retain: false, release: true); } - static NSURLCredential alloc(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLCredential1, - _lib._sel_alloc1, - ); - return NSURLCredential._(_ret, _lib, retain: false, release: true); + static NSURLCredential alloc() { + final _ret = _objc_msgSend_2(_class_NSURLCredential, _sel_alloc); + return NSURLCredential._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSURLCredential1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSURLCredential1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSURLCredential1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSURLCredential1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSURLCredential1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSURLCredential1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSURLCredential, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); + } + + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSURLCredential, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); + } + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSURLCredential, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSURLCredential, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSURLCredential, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSURLCredential, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); } static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSURLCredential1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSURLCredential1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLCredential1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSURLCredential, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = _objc_msgSend_85( + _class_NSURLCredential, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = + _objc_msgSend_2(_class_NSURLCredential, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); } } +late final _class_NSURLCredential = objc.getClass("NSURLCredential"); + abstract class NSURLCredentialPersistence { static const int NSURLCredentialPersistenceNone = 0; static const int NSURLCredentialPersistenceForSession = 1; @@ -85097,616 +49996,668 @@ abstract class NSURLCredentialPersistence { static const int NSURLCredentialPersistenceSynchronizable = 3; } +late final _sel_persistence = objc.registerName("persistence"); +final _objc_msgSend_993 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + int Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_initWithUser_password_persistence_ = + objc.registerName("initWithUser:password:persistence:"); +final _objc_msgSend_994 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer user, + ffi.Pointer password, + ffi.Int32 persistence)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int)>(); +late final _sel_credentialWithUser_password_persistence_ = + objc.registerName("credentialWithUser:password:persistence:"); +final _objc_msgSend_995 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer user, + ffi.Pointer password, + ffi.Int32 persistence)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int)>(); +late final _sel_hasPassword = objc.registerName("hasPassword"); + final class __SecIdentity extends ffi.Opaque {} +late final _sel_initWithIdentity_certificates_persistence_ = + objc.registerName("initWithIdentity:certificates:persistence:"); +final _objc_msgSend_996 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer<__SecIdentity> identity, + ffi.Pointer certArray, + ffi.Int32 persistence)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<__SecIdentity>, + ffi.Pointer, + int)>(); +late final _sel_credentialWithIdentity_certificates_persistence_ = + objc.registerName("credentialWithIdentity:certificates:persistence:"); +final _objc_msgSend_997 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer<__SecIdentity> identity, + ffi.Pointer certArray, + ffi.Int32 persistence)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<__SecIdentity>, + ffi.Pointer, + int)>(); +late final _sel_identity = objc.registerName("identity"); +final _objc_msgSend_998 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer<__SecIdentity> Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer<__SecIdentity> Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_certificates = objc.registerName("certificates"); + final class __SecTrust extends ffi.Opaque {} +late final _sel_initWithTrust_ = objc.registerName("initWithTrust:"); +final _objc_msgSend_999 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer<__SecTrust> trust)>>() + .asFunction< + instancetype Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer<__SecTrust>)>(); +late final _sel_credentialForTrust_ = objc.registerName("credentialForTrust:"); +final _objc_msgSend_1000 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer<__SecTrust> trust)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer<__SecTrust>)>(); + class NSURLProtectionSpace extends NSObject { - NSURLProtectionSpace._( - ffi.Pointer pointer, - AVFAudio lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSURLProtectionSpace._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSURLProtectionSpace] that points to the same underlying object as [other]. - static NSURLProtectionSpace castFrom( - AVFAudio lib, - T other, - ) { - return NSURLProtectionSpace._( - other.pointer, - lib, - retain: true, - release: true, - ); + static NSURLProtectionSpace castFrom(T other) { + return NSURLProtectionSpace._(other.pointer, retain: true, release: true); } /// Returns a [NSURLProtectionSpace] that wraps the given raw object pointer. static NSURLProtectionSpace castFromPointer( - AVFAudio lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSURLProtectionSpace._(other, lib, retain: retain, release: release); + ffi.Pointer other, + {bool retain = false, + bool release = false}) { + return NSURLProtectionSpace._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSURLProtectionSpace]. - static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSURLProtectionSpace1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0( + obj.pointer, _sel_isKindOfClass_, _class_NSURLProtectionSpace); } NSURLProtectionSpace initWithHost_port_protocol_realm_authenticationMethod_( - NSString host, - int port, - NSString? protocol, - NSString? realm, - NSString? authenticationMethod, - ) { - final _ret = _lib._objc_msgSend_1001( - this.pointer, - _lib._sel_initWithHost_port_protocol_realm_authenticationMethod_1, - host.pointer, - port, - protocol?.pointer ?? ffi.nullptr, - realm?.pointer ?? ffi.nullptr, - authenticationMethod?.pointer ?? ffi.nullptr, - ); - return NSURLProtectionSpace._(_ret, _lib, retain: true, release: true); + NSString host, + int port, + NSString? protocol, + NSString? realm, + NSString? authenticationMethod) { + final _ret = _objc_msgSend_1001( + this.pointer, + _sel_initWithHost_port_protocol_realm_authenticationMethod_, + host.pointer, + port, + protocol?.pointer ?? ffi.nullptr, + realm?.pointer ?? ffi.nullptr, + authenticationMethod?.pointer ?? ffi.nullptr); + return NSURLProtectionSpace._(_ret, retain: true, release: true); } NSURLProtectionSpace initWithProxyHost_port_type_realm_authenticationMethod_( - NSString host, - int port, - NSString? type, - NSString? realm, - NSString? authenticationMethod, - ) { - final _ret = _lib._objc_msgSend_1001( - this.pointer, - _lib._sel_initWithProxyHost_port_type_realm_authenticationMethod_1, - host.pointer, - port, - type?.pointer ?? ffi.nullptr, - realm?.pointer ?? ffi.nullptr, - authenticationMethod?.pointer ?? ffi.nullptr, - ); - return NSURLProtectionSpace._(_ret, _lib, retain: true, release: true); + NSString host, + int port, + NSString? type, + NSString? realm, + NSString? authenticationMethod) { + final _ret = _objc_msgSend_1001( + this.pointer, + _sel_initWithProxyHost_port_type_realm_authenticationMethod_, + host.pointer, + port, + type?.pointer ?? ffi.nullptr, + realm?.pointer ?? ffi.nullptr, + authenticationMethod?.pointer ?? ffi.nullptr); + return NSURLProtectionSpace._(_ret, retain: true, release: true); } NSString? get realm { - final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_realm1); + final _ret = _objc_msgSend_44(this.pointer, _sel_realm); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } bool get receivesCredentialSecurely { - return _lib._objc_msgSend_12( - this.pointer, - _lib._sel_receivesCredentialSecurely1, - ); + return _objc_msgSend_12(this.pointer, _sel_receivesCredentialSecurely); } bool get isProxy { - return _lib._objc_msgSend_12(this.pointer, _lib._sel_isProxy1); + return _objc_msgSend_12(this.pointer, _sel_isProxy); } NSString get host { - final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_host1); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_host); + return NSString._(_ret, retain: true, release: true); } int get port { - return _lib._objc_msgSend_83(this.pointer, _lib._sel_port1); + return _objc_msgSend_83(this.pointer, _sel_port); } NSString? get proxyType { - final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_proxyType1); + final _ret = _objc_msgSend_44(this.pointer, _sel_proxyType); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } NSString? get protocol { - final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_protocol1); + final _ret = _objc_msgSend_44(this.pointer, _sel_protocol); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } NSString get authenticationMethod { - final _ret = _lib._objc_msgSend_21( - this.pointer, - _lib._sel_authenticationMethod1, - ); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_authenticationMethod); + return NSString._(_ret, retain: true, release: true); } NSArray? get distinguishedNames { - final _ret = _lib._objc_msgSend_84( - this.pointer, - _lib._sel_distinguishedNames1, - ); + final _ret = _objc_msgSend_84(this.pointer, _sel_distinguishedNames); return _ret.address == 0 ? null - : NSArray._(_ret, _lib, retain: true, release: true); + : NSArray._(_ret, retain: true, release: true); } ffi.Pointer<__SecTrust> get serverTrust { - return _lib._objc_msgSend_1002(this.pointer, _lib._sel_serverTrust1); + return _objc_msgSend_1002(this.pointer, _sel_serverTrust); } @override NSURLProtectionSpace init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSURLProtectionSpace._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSURLProtectionSpace._(_ret, retain: true, release: true); } - static NSURLProtectionSpace new1(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLProtectionSpace1, - _lib._sel_new1, - ); - return NSURLProtectionSpace._(_ret, _lib, retain: false, release: true); + static NSURLProtectionSpace new1() { + final _ret = _objc_msgSend_2(_class_NSURLProtectionSpace, _sel_new); + return NSURLProtectionSpace._(_ret, retain: false, release: true); } - static NSURLProtectionSpace allocWithZone_( - AVFAudio _lib, - ffi.Pointer<_NSZone> zone, - ) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSURLProtectionSpace1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSURLProtectionSpace._(_ret, _lib, retain: false, release: true); + static NSURLProtectionSpace allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = + _objc_msgSend_3(_class_NSURLProtectionSpace, _sel_allocWithZone_, zone); + return NSURLProtectionSpace._(_ret, retain: false, release: true); } - static NSURLProtectionSpace alloc(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLProtectionSpace1, - _lib._sel_alloc1, - ); - return NSURLProtectionSpace._(_ret, _lib, retain: false, release: true); + static NSURLProtectionSpace alloc() { + final _ret = _objc_msgSend_2(_class_NSURLProtectionSpace, _sel_alloc); + return NSURLProtectionSpace._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSURLProtectionSpace1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSURLProtectionSpace1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSURLProtectionSpace1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSURLProtectionSpace1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSURLProtectionSpace1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSURLProtectionSpace1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSURLProtectionSpace, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); + } + + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSURLProtectionSpace, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); + } + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSURLProtectionSpace, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12( + _class_NSURLProtectionSpace, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSURLProtectionSpace, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSURLProtectionSpace, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); } static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSURLProtectionSpace1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSURLProtectionSpace1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLProtectionSpace1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSURLProtectionSpace, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = _objc_msgSend_85( + _class_NSURLProtectionSpace, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = _objc_msgSend_2( + _class_NSURLProtectionSpace, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); } } +late final _class_NSURLProtectionSpace = objc.getClass("NSURLProtectionSpace"); +late final _sel_initWithHost_port_protocol_realm_authenticationMethod_ = + objc.registerName("initWithHost:port:protocol:realm:authenticationMethod:"); +final _objc_msgSend_1001 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer host, + ffi.Long port, + ffi.Pointer protocol, + ffi.Pointer realm, + ffi.Pointer authenticationMethod)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_initWithProxyHost_port_type_realm_authenticationMethod_ = objc + .registerName("initWithProxyHost:port:type:realm:authenticationMethod:"); +late final _sel_realm = objc.registerName("realm"); +late final _sel_receivesCredentialSecurely = + objc.registerName("receivesCredentialSecurely"); +late final _sel_isProxy = objc.registerName("isProxy"); +late final _sel_proxyType = objc.registerName("proxyType"); +late final _sel_protocol = objc.registerName("protocol"); +late final _sel_authenticationMethod = + objc.registerName("authenticationMethod"); +late final _sel_distinguishedNames = objc.registerName("distinguishedNames"); +late final _sel_serverTrust = objc.registerName("serverTrust"); +final _objc_msgSend_1002 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer<__SecTrust> Function(ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer<__SecTrust> Function( + ffi.Pointer, ffi.Pointer)>(); + class NSURLCredentialStorage extends NSObject { - NSURLCredentialStorage._( - ffi.Pointer pointer, - AVFAudio lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSURLCredentialStorage._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSURLCredentialStorage] that points to the same underlying object as [other]. static NSURLCredentialStorage castFrom( - AVFAudio lib, - T other, - ) { - return NSURLCredentialStorage._( - other.pointer, - lib, - retain: true, - release: true, - ); + T other) { + return NSURLCredentialStorage._(other.pointer, retain: true, release: true); } /// Returns a [NSURLCredentialStorage] that wraps the given raw object pointer. static NSURLCredentialStorage castFromPointer( - AVFAudio lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSURLCredentialStorage._( - other, - lib, - retain: retain, - release: release, - ); + ffi.Pointer other, + {bool retain = false, + bool release = false}) { + return NSURLCredentialStorage._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSURLCredentialStorage]. - static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSURLCredentialStorage1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0( + obj.pointer, _sel_isKindOfClass_, _class_NSURLCredentialStorage); } - static NSURLCredentialStorage getSharedCredentialStorage(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_1003( - _lib._class_NSURLCredentialStorage1, - _lib._sel_sharedCredentialStorage1, - ); - return NSURLCredentialStorage._(_ret, _lib, retain: true, release: true); + static NSURLCredentialStorage getSharedCredentialStorage() { + final _ret = _objc_msgSend_1003( + _class_NSURLCredentialStorage, _sel_sharedCredentialStorage); + return NSURLCredentialStorage._(_ret, retain: true, release: true); } NSDictionary? credentialsForProtectionSpace_(NSURLProtectionSpace space) { - final _ret = _lib._objc_msgSend_1004( - this.pointer, - _lib._sel_credentialsForProtectionSpace_1, - space.pointer, - ); + final _ret = _objc_msgSend_1004( + this.pointer, _sel_credentialsForProtectionSpace_, space.pointer); return _ret.address == 0 ? null - : NSDictionary._(_ret, _lib, retain: true, release: true); + : NSDictionary._(_ret, retain: true, release: true); } NSDictionary get allCredentials { - final _ret = _lib._objc_msgSend_181( - this.pointer, - _lib._sel_allCredentials1, - ); - return NSDictionary._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_181(this.pointer, _sel_allCredentials); + return NSDictionary._(_ret, retain: true, release: true); } void setCredential_forProtectionSpace_( - NSURLCredential credential, - NSURLProtectionSpace space, - ) { - _lib._objc_msgSend_1005( - this.pointer, - _lib._sel_setCredential_forProtectionSpace_1, - credential.pointer, - space.pointer, - ); + NSURLCredential credential, NSURLProtectionSpace space) { + _objc_msgSend_1005(this.pointer, _sel_setCredential_forProtectionSpace_, + credential.pointer, space.pointer); } void removeCredential_forProtectionSpace_( - NSURLCredential credential, - NSURLProtectionSpace space, - ) { - _lib._objc_msgSend_1005( - this.pointer, - _lib._sel_removeCredential_forProtectionSpace_1, - credential.pointer, - space.pointer, - ); - } - - void removeCredential_forProtectionSpace_options_( - NSURLCredential credential, - NSURLProtectionSpace space, - NSDictionary? options, - ) { - _lib._objc_msgSend_1006( - this.pointer, - _lib._sel_removeCredential_forProtectionSpace_options_1, - credential.pointer, - space.pointer, - options?.pointer ?? ffi.nullptr, - ); + NSURLCredential credential, NSURLProtectionSpace space) { + _objc_msgSend_1005(this.pointer, _sel_removeCredential_forProtectionSpace_, + credential.pointer, space.pointer); + } + + void removeCredential_forProtectionSpace_options_(NSURLCredential credential, + NSURLProtectionSpace space, NSDictionary? options) { + _objc_msgSend_1006( + this.pointer, + _sel_removeCredential_forProtectionSpace_options_, + credential.pointer, + space.pointer, + options?.pointer ?? ffi.nullptr); } NSURLCredential? defaultCredentialForProtectionSpace_( - NSURLProtectionSpace space, - ) { - final _ret = _lib._objc_msgSend_1007( - this.pointer, - _lib._sel_defaultCredentialForProtectionSpace_1, - space.pointer, - ); + NSURLProtectionSpace space) { + final _ret = _objc_msgSend_1007( + this.pointer, _sel_defaultCredentialForProtectionSpace_, space.pointer); return _ret.address == 0 ? null - : NSURLCredential._(_ret, _lib, retain: true, release: true); + : NSURLCredential._(_ret, retain: true, release: true); } void setDefaultCredential_forProtectionSpace_( - NSURLCredential credential, - NSURLProtectionSpace space, - ) { - _lib._objc_msgSend_1005( - this.pointer, - _lib._sel_setDefaultCredential_forProtectionSpace_1, - credential.pointer, - space.pointer, - ); + NSURLCredential credential, NSURLProtectionSpace space) { + _objc_msgSend_1005( + this.pointer, + _sel_setDefaultCredential_forProtectionSpace_, + credential.pointer, + space.pointer); } void getCredentialsForProtectionSpace_task_completionHandler_( - NSURLProtectionSpace protectionSpace, - NSURLSessionTask task, - ObjCBlock_ffiVoid_NSDictionary completionHandler, - ) { - _lib._objc_msgSend_1008( - this.pointer, - _lib._sel_getCredentialsForProtectionSpace_task_completionHandler_1, - protectionSpace.pointer, - task.pointer, - completionHandler.pointer, - ); - } - - void setCredential_forProtectionSpace_task_( - NSURLCredential credential, - NSURLProtectionSpace protectionSpace, - NSURLSessionTask task, - ) { - _lib._objc_msgSend_1009( - this.pointer, - _lib._sel_setCredential_forProtectionSpace_task_1, - credential.pointer, - protectionSpace.pointer, - task.pointer, - ); + NSURLProtectionSpace protectionSpace, + NSURLSessionTask task, + ObjCBlock_ffiVoid_NSDictionary completionHandler) { + _objc_msgSend_1008( + this.pointer, + _sel_getCredentialsForProtectionSpace_task_completionHandler_, + protectionSpace.pointer, + task.pointer, + completionHandler.pointer); + } + + void setCredential_forProtectionSpace_task_(NSURLCredential credential, + NSURLProtectionSpace protectionSpace, NSURLSessionTask task) { + _objc_msgSend_1009( + this.pointer, + _sel_setCredential_forProtectionSpace_task_, + credential.pointer, + protectionSpace.pointer, + task.pointer); } void removeCredential_forProtectionSpace_options_task_( - NSURLCredential credential, - NSURLProtectionSpace protectionSpace, - NSDictionary? options, - NSURLSessionTask task, - ) { - _lib._objc_msgSend_1010( - this.pointer, - _lib._sel_removeCredential_forProtectionSpace_options_task_1, - credential.pointer, - protectionSpace.pointer, - options?.pointer ?? ffi.nullptr, - task.pointer, - ); + NSURLCredential credential, + NSURLProtectionSpace protectionSpace, + NSDictionary? options, + NSURLSessionTask task) { + _objc_msgSend_1010( + this.pointer, + _sel_removeCredential_forProtectionSpace_options_task_, + credential.pointer, + protectionSpace.pointer, + options?.pointer ?? ffi.nullptr, + task.pointer); } void getDefaultCredentialForProtectionSpace_task_completionHandler_( - NSURLProtectionSpace space, - NSURLSessionTask task, - ObjCBlock_ffiVoid_NSURLCredential completionHandler, - ) { - _lib._objc_msgSend_1011( - this.pointer, - _lib._sel_getDefaultCredentialForProtectionSpace_task_completionHandler_1, - space.pointer, - task.pointer, - completionHandler.pointer, - ); - } - - void setDefaultCredential_forProtectionSpace_task_( - NSURLCredential credential, - NSURLProtectionSpace protectionSpace, - NSURLSessionTask task, - ) { - _lib._objc_msgSend_1009( - this.pointer, - _lib._sel_setDefaultCredential_forProtectionSpace_task_1, - credential.pointer, - protectionSpace.pointer, - task.pointer, - ); + NSURLProtectionSpace space, + NSURLSessionTask task, + ObjCBlock_ffiVoid_NSURLCredential completionHandler) { + _objc_msgSend_1011( + this.pointer, + _sel_getDefaultCredentialForProtectionSpace_task_completionHandler_, + space.pointer, + task.pointer, + completionHandler.pointer); + } + + void setDefaultCredential_forProtectionSpace_task_(NSURLCredential credential, + NSURLProtectionSpace protectionSpace, NSURLSessionTask task) { + _objc_msgSend_1009( + this.pointer, + _sel_setDefaultCredential_forProtectionSpace_task_, + credential.pointer, + protectionSpace.pointer, + task.pointer); } @override NSURLCredentialStorage init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSURLCredentialStorage._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSURLCredentialStorage._(_ret, retain: true, release: true); } - static NSURLCredentialStorage new1(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLCredentialStorage1, - _lib._sel_new1, - ); - return NSURLCredentialStorage._(_ret, _lib, retain: false, release: true); + static NSURLCredentialStorage new1() { + final _ret = _objc_msgSend_2(_class_NSURLCredentialStorage, _sel_new); + return NSURLCredentialStorage._(_ret, retain: false, release: true); } - static NSURLCredentialStorage allocWithZone_( - AVFAudio _lib, - ffi.Pointer<_NSZone> zone, - ) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSURLCredentialStorage1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSURLCredentialStorage._(_ret, _lib, retain: false, release: true); + static NSURLCredentialStorage allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = _objc_msgSend_3( + _class_NSURLCredentialStorage, _sel_allocWithZone_, zone); + return NSURLCredentialStorage._(_ret, retain: false, release: true); } - static NSURLCredentialStorage alloc(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLCredentialStorage1, - _lib._sel_alloc1, - ); - return NSURLCredentialStorage._(_ret, _lib, retain: false, release: true); + static NSURLCredentialStorage alloc() { + final _ret = _objc_msgSend_2(_class_NSURLCredentialStorage, _sel_alloc); + return NSURLCredentialStorage._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSURLCredentialStorage1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSURLCredentialStorage1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSURLCredentialStorage1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSURLCredentialStorage1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSURLCredentialStorage1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSURLCredentialStorage1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSURLCredentialStorage, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); } - static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSURLCredentialStorage1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSURLCredentialStorage1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLCredentialStorage1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSURLCredentialStorage, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); + } + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSURLCredentialStorage, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12( + _class_NSURLCredentialStorage, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSURLCredentialStorage, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSURLCredentialStorage, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); } -} + static void setKeys_triggerChangeNotificationsForDependentKey_( + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSURLCredentialStorage, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = _objc_msgSend_85( + _class_NSURLCredentialStorage, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = _objc_msgSend_2( + _class_NSURLCredentialStorage, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); + } +} + +late final _class_NSURLCredentialStorage = + objc.getClass("NSURLCredentialStorage"); +late final _sel_sharedCredentialStorage = + objc.registerName("sharedCredentialStorage"); +final _objc_msgSend_1003 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_credentialsForProtectionSpace_ = + objc.registerName("credentialsForProtectionSpace:"); +final _objc_msgSend_1004 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer space)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_allCredentials = objc.registerName("allCredentials"); +late final _sel_setCredential_forProtectionSpace_ = + objc.registerName("setCredential:forProtectionSpace:"); +final _objc_msgSend_1005 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer credential, + ffi.Pointer space)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_removeCredential_forProtectionSpace_ = + objc.registerName("removeCredential:forProtectionSpace:"); +late final _sel_removeCredential_forProtectionSpace_options_ = + objc.registerName("removeCredential:forProtectionSpace:options:"); +final _objc_msgSend_1006 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer credential, + ffi.Pointer space, + ffi.Pointer options)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_defaultCredentialForProtectionSpace_ = + objc.registerName("defaultCredentialForProtectionSpace:"); +final _objc_msgSend_1007 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer space)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_setDefaultCredential_forProtectionSpace_ = + objc.registerName("setDefaultCredential:forProtectionSpace:"); void _ObjCBlock_ffiVoid_NSDictionary_fnPtrTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, -) => + ffi.Pointer block, ffi.Pointer arg0) => block.ref.target .cast< ffi.NativeFunction< @@ -85716,44 +50667,29 @@ final _ObjCBlock_ffiVoid_NSDictionary_closureRegistry = )>{}; int _ObjCBlock_ffiVoid_NSDictionary_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_ffiVoid_NSDictionary_registerClosure( - void Function(ffi.Pointer) fn, -) { + void Function(ffi.Pointer) fn) { final id = ++_ObjCBlock_ffiVoid_NSDictionary_closureRegistryIndex; _ObjCBlock_ffiVoid_NSDictionary_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } void _ObjCBlock_ffiVoid_NSDictionary_closureTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, -) => + ffi.Pointer block, ffi.Pointer arg0) => _ObjCBlock_ffiVoid_NSDictionary_closureRegistry[block.ref.target.address]!( - arg0, - ); + arg0); class ObjCBlock_ffiVoid_NSDictionary extends objc.ObjCBlockBase { - ObjCBlock_ffiVoid_NSDictionary._( - ffi.Pointer pointer, - this._lib, { - bool retain = false, - bool release = true, - }) : super(pointer, retain: retain, release: release); - - AVFAudio _lib; + ObjCBlock_ffiVoid_NSDictionary._(ffi.Pointer pointer, + {bool retain = false, bool release = true}) + : super(pointer, retain: retain, release: release); /// Returns a block that wraps the given raw block pointer. static ObjCBlock_ffiVoid_NSDictionary castFromPointer( - AVFAudio lib, - ffi.Pointer pointer, { - bool retain = false, - bool release = false, - }) { - return ObjCBlock_ffiVoid_NSDictionary._( - pointer, - lib, - retain: retain, - release: release, - ); + ffi.Pointer pointer, + {bool retain = false, + bool release = false}) { + return ObjCBlock_ffiVoid_NSDictionary._(pointer, + retain: retain, release: release); } /// Creates a block from a C function pointer. @@ -85762,22 +50698,17 @@ class ObjCBlock_ffiVoid_NSDictionary extends objc.ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSDictionary.fromFunctionPointer( - AVFAudio lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer arg0)>> - ptr, - ) : this._( - objc.newBlock( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - )>(_ObjCBlock_ffiVoid_NSDictionary_fnPtrTrampoline) - .cast(), - ptr.cast(), - ), - lib); + ffi.Pointer< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer arg0)>> + ptr) + : this._(objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function(ffi.Pointer, + ffi.Pointer)>( + _ObjCBlock_ffiVoid_NSDictionary_fnPtrTrampoline) + .cast(), + ptr.cast())); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -85785,28 +50716,17 @@ class ObjCBlock_ffiVoid_NSDictionary extends objc.ObjCBlockBase { /// This block must be invoked by native code running on the same thread as /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. - ObjCBlock_ffiVoid_NSDictionary.fromFunction( - AVFAudio lib, - void Function(NSDictionary?) fn, - ) : this._( - objc.newBlock( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - )>(_ObjCBlock_ffiVoid_NSDictionary_closureTrampoline) - .cast(), - _ObjCBlock_ffiVoid_NSDictionary_registerClosure(( - ffi.Pointer arg0, - ) => - fn( - arg0.address == 0 - ? null - : NSDictionary._(arg0, lib, - retain: true, release: true), - )), - ), - lib); + ObjCBlock_ffiVoid_NSDictionary.fromFunction(void Function(NSDictionary?) fn) + : this._(objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function(ffi.Pointer, + ffi.Pointer)>( + _ObjCBlock_ffiVoid_NSDictionary_closureTrampoline) + .cast(), + _ObjCBlock_ffiVoid_NSDictionary_registerClosure( + (ffi.Pointer arg0) => fn(arg0.address == 0 + ? null + : NSDictionary._(arg0, retain: true, release: true))))); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -85818,31 +50738,19 @@ class ObjCBlock_ffiVoid_NSDictionary extends objc.ObjCBlockBase { /// /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. - ObjCBlock_ffiVoid_NSDictionary.listener( - AVFAudio lib, - void Function(NSDictionary?) fn, - ) : this._( - objc.newBlock( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - )>.listener( - _ObjCBlock_ffiVoid_NSDictionary_closureTrampoline, - )..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSDictionary_registerClosure(( - ffi.Pointer arg0, - ) => - fn( - arg0.address == 0 - ? null - : NSDictionary._(arg0, lib, - retain: true, release: true), - )), - ), - lib); + ObjCBlock_ffiVoid_NSDictionary.listener(void Function(NSDictionary?) fn) + : this._(objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function(ffi.Pointer, + ffi.Pointer)>.listener( + _ObjCBlock_ffiVoid_NSDictionary_closureTrampoline) + ..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSDictionary_registerClosure( + (ffi.Pointer arg0) => fn(arg0.address == 0 + ? null + : NSDictionary._(arg0, retain: true, release: true))))); static ffi.NativeCallable< ffi.Void Function( ffi.Pointer, ffi.Pointer)>? @@ -85851,20 +50759,72 @@ class ObjCBlock_ffiVoid_NSDictionary extends objc.ObjCBlockBase { void call(NSDictionary? arg0) => pointer.ref.invoke .cast< ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer block, - ffi.Pointer arg0, - )>>() + ffi.Void Function(ffi.Pointer block, + ffi.Pointer arg0)>>() .asFunction< void Function( ffi.Pointer, ffi.Pointer)>()( pointer, arg0?.pointer ?? ffi.nullptr); } +late final _sel_getCredentialsForProtectionSpace_task_completionHandler_ = objc + .registerName("getCredentialsForProtectionSpace:task:completionHandler:"); +final _objc_msgSend_1008 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer protectionSpace, + ffi.Pointer task, + ffi.Pointer completionHandler)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_setCredential_forProtectionSpace_task_ = + objc.registerName("setCredential:forProtectionSpace:task:"); +final _objc_msgSend_1009 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer credential, + ffi.Pointer protectionSpace, + ffi.Pointer task)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_removeCredential_forProtectionSpace_options_task_ = + objc.registerName("removeCredential:forProtectionSpace:options:task:"); +final _objc_msgSend_1010 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer credential, + ffi.Pointer protectionSpace, + ffi.Pointer options, + ffi.Pointer task)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); void _ObjCBlock_ffiVoid_NSURLCredential_fnPtrTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, -) => + ffi.Pointer block, ffi.Pointer arg0) => block.ref.target .cast< ffi.NativeFunction< @@ -85874,43 +50834,29 @@ final _ObjCBlock_ffiVoid_NSURLCredential_closureRegistry = )>{}; int _ObjCBlock_ffiVoid_NSURLCredential_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_ffiVoid_NSURLCredential_registerClosure( - void Function(ffi.Pointer) fn, -) { + void Function(ffi.Pointer) fn) { final id = ++_ObjCBlock_ffiVoid_NSURLCredential_closureRegistryIndex; _ObjCBlock_ffiVoid_NSURLCredential_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } void _ObjCBlock_ffiVoid_NSURLCredential_closureTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, -) => + ffi.Pointer block, ffi.Pointer arg0) => _ObjCBlock_ffiVoid_NSURLCredential_closureRegistry[ block.ref.target.address]!(arg0); class ObjCBlock_ffiVoid_NSURLCredential extends objc.ObjCBlockBase { - ObjCBlock_ffiVoid_NSURLCredential._( - ffi.Pointer pointer, - this._lib, { - bool retain = false, - bool release = true, - }) : super(pointer, retain: retain, release: release); - - AVFAudio _lib; + ObjCBlock_ffiVoid_NSURLCredential._(ffi.Pointer pointer, + {bool retain = false, bool release = true}) + : super(pointer, retain: retain, release: release); /// Returns a block that wraps the given raw block pointer. static ObjCBlock_ffiVoid_NSURLCredential castFromPointer( - AVFAudio lib, - ffi.Pointer pointer, { - bool retain = false, - bool release = false, - }) { - return ObjCBlock_ffiVoid_NSURLCredential._( - pointer, - lib, - retain: retain, - release: release, - ); + ffi.Pointer pointer, + {bool retain = false, + bool release = false}) { + return ObjCBlock_ffiVoid_NSURLCredential._(pointer, + retain: retain, release: release); } /// Creates a block from a C function pointer. @@ -85919,22 +50865,17 @@ class ObjCBlock_ffiVoid_NSURLCredential extends objc.ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSURLCredential.fromFunctionPointer( - AVFAudio lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer arg0)>> - ptr, - ) : this._( - objc.newBlock( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - )>(_ObjCBlock_ffiVoid_NSURLCredential_fnPtrTrampoline) - .cast(), - ptr.cast(), - ), - lib); + ffi.Pointer< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer arg0)>> + ptr) + : this._(objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function(ffi.Pointer, + ffi.Pointer)>( + _ObjCBlock_ffiVoid_NSURLCredential_fnPtrTrampoline) + .cast(), + ptr.cast())); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -85943,27 +50884,17 @@ class ObjCBlock_ffiVoid_NSURLCredential extends objc.ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSURLCredential.fromFunction( - AVFAudio lib, - void Function(NSURLCredential?) fn, - ) : this._( - objc.newBlock( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - )>(_ObjCBlock_ffiVoid_NSURLCredential_closureTrampoline) - .cast(), - _ObjCBlock_ffiVoid_NSURLCredential_registerClosure(( - ffi.Pointer arg0, - ) => - fn( - arg0.address == 0 - ? null - : NSURLCredential._(arg0, lib, - retain: true, release: true), - )), - ), - lib); + void Function(NSURLCredential?) fn) + : this._(objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function(ffi.Pointer, + ffi.Pointer)>( + _ObjCBlock_ffiVoid_NSURLCredential_closureTrampoline) + .cast(), + _ObjCBlock_ffiVoid_NSURLCredential_registerClosure( + (ffi.Pointer arg0) => fn(arg0.address == 0 + ? null + : NSURLCredential._(arg0, retain: true, release: true))))); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -85975,31 +50906,19 @@ class ObjCBlock_ffiVoid_NSURLCredential extends objc.ObjCBlockBase { /// /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. - ObjCBlock_ffiVoid_NSURLCredential.listener( - AVFAudio lib, - void Function(NSURLCredential?) fn, - ) : this._( - objc.newBlock( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - )>.listener( - _ObjCBlock_ffiVoid_NSURLCredential_closureTrampoline, - )..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSURLCredential_registerClosure(( - ffi.Pointer arg0, - ) => - fn( - arg0.address == 0 - ? null - : NSURLCredential._(arg0, lib, - retain: true, release: true), - )), - ), - lib); + ObjCBlock_ffiVoid_NSURLCredential.listener(void Function(NSURLCredential?) fn) + : this._(objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function(ffi.Pointer, + ffi.Pointer)>.listener( + _ObjCBlock_ffiVoid_NSURLCredential_closureTrampoline) + ..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSURLCredential_registerClosure( + (ffi.Pointer arg0) => fn(arg0.address == 0 + ? null + : NSURLCredential._(arg0, retain: true, release: true))))); static ffi.NativeCallable< ffi.Void Function( ffi.Pointer, ffi.Pointer)>? @@ -86008,1165 +50927,1067 @@ class ObjCBlock_ffiVoid_NSURLCredential extends objc.ObjCBlockBase { void call(NSURLCredential? arg0) => pointer.ref.invoke .cast< ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer block, - ffi.Pointer arg0, - )>>() + ffi.Void Function(ffi.Pointer block, + ffi.Pointer arg0)>>() .asFunction< void Function( ffi.Pointer, ffi.Pointer)>()( pointer, arg0?.pointer ?? ffi.nullptr); } +late final _sel_getDefaultCredentialForProtectionSpace_task_completionHandler_ = + objc.registerName( + "getDefaultCredentialForProtectionSpace:task:completionHandler:"); +final _objc_msgSend_1011 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer space, + ffi.Pointer task, + ffi.Pointer completionHandler)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_setDefaultCredential_forProtectionSpace_task_ = + objc.registerName("setDefaultCredential:forProtectionSpace:task:"); + class NSURLProtocol extends NSObject { - NSURLProtocol._( - ffi.Pointer pointer, - AVFAudio lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSURLProtocol._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSURLProtocol] that points to the same underlying object as [other]. - static NSURLProtocol castFrom( - AVFAudio lib, - T other, - ) { - return NSURLProtocol._(other.pointer, lib, retain: true, release: true); + static NSURLProtocol castFrom(T other) { + return NSURLProtocol._(other.pointer, retain: true, release: true); } /// Returns a [NSURLProtocol] that wraps the given raw object pointer. - static NSURLProtocol castFromPointer( - AVFAudio lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSURLProtocol._(other, lib, retain: retain, release: release); + static NSURLProtocol castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSURLProtocol._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSURLProtocol]. - static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSURLProtocol1, - ); - } - - NSURLProtocol initWithRequest_cachedResponse_client_( - NSURLRequest request, - NSCachedURLResponse? cachedResponse, - NSObject? client, - ) { - final _ret = _lib._objc_msgSend_1012( - this.pointer, - _lib._sel_initWithRequest_cachedResponse_client_1, - request.pointer, - cachedResponse?.pointer ?? ffi.nullptr, - client?.pointer ?? ffi.nullptr, - ); - return NSURLProtocol._(_ret, _lib, retain: true, release: true); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0( + obj.pointer, _sel_isKindOfClass_, _class_NSURLProtocol); + } + + NSURLProtocol initWithRequest_cachedResponse_client_(NSURLRequest request, + NSCachedURLResponse? cachedResponse, NSObject? client) { + final _ret = _objc_msgSend_1012( + this.pointer, + _sel_initWithRequest_cachedResponse_client_, + request.pointer, + cachedResponse?.pointer ?? ffi.nullptr, + client?.pointer ?? ffi.nullptr); + return NSURLProtocol._(_ret, retain: true, release: true); } NSObject? get client { - final _ret = _lib._objc_msgSend_17(this.pointer, _lib._sel_client1); + final _ret = _objc_msgSend_17(this.pointer, _sel_client); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } NSURLRequest get request { - final _ret = _lib._objc_msgSend_988(this.pointer, _lib._sel_request1); - return NSURLRequest._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_988(this.pointer, _sel_request); + return NSURLRequest._(_ret, retain: true, release: true); } NSCachedURLResponse? get cachedResponse { - final _ret = _lib._objc_msgSend_1013( - this.pointer, - _lib._sel_cachedResponse1, - ); + final _ret = _objc_msgSend_1013(this.pointer, _sel_cachedResponse); return _ret.address == 0 ? null - : NSCachedURLResponse._(_ret, _lib, retain: true, release: true); + : NSCachedURLResponse._(_ret, retain: true, release: true); } - static bool canInitWithRequest_(AVFAudio _lib, NSURLRequest request) { - return _lib._objc_msgSend_990( - _lib._class_NSURLProtocol1, - _lib._sel_canInitWithRequest_1, - request.pointer, - ); + static bool canInitWithRequest_(NSURLRequest request) { + return _objc_msgSend_990( + _class_NSURLProtocol, _sel_canInitWithRequest_, request.pointer); } - static NSURLRequest canonicalRequestForRequest_( - AVFAudio _lib, - NSURLRequest request, - ) { - final _ret = _lib._objc_msgSend_1014( - _lib._class_NSURLProtocol1, - _lib._sel_canonicalRequestForRequest_1, - request.pointer, - ); - return NSURLRequest._(_ret, _lib, retain: true, release: true); + static NSURLRequest canonicalRequestForRequest_(NSURLRequest request) { + final _ret = _objc_msgSend_1014(_class_NSURLProtocol, + _sel_canonicalRequestForRequest_, request.pointer); + return NSURLRequest._(_ret, retain: true, release: true); } static bool requestIsCacheEquivalent_toRequest_( - AVFAudio _lib, - NSURLRequest a, - NSURLRequest b, - ) { - return _lib._objc_msgSend_1015( - _lib._class_NSURLProtocol1, - _lib._sel_requestIsCacheEquivalent_toRequest_1, - a.pointer, - b.pointer, - ); + NSURLRequest a, NSURLRequest b) { + return _objc_msgSend_1015(_class_NSURLProtocol, + _sel_requestIsCacheEquivalent_toRequest_, a.pointer, b.pointer); } void startLoading() { - _lib._objc_msgSend_1(this.pointer, _lib._sel_startLoading1); + _objc_msgSend_1(this.pointer, _sel_startLoading); } void stopLoading() { - _lib._objc_msgSend_1(this.pointer, _lib._sel_stopLoading1); + _objc_msgSend_1(this.pointer, _sel_stopLoading); } static NSObject? propertyForKey_inRequest_( - AVFAudio _lib, - NSString key, - NSURLRequest request, - ) { - final _ret = _lib._objc_msgSend_1016( - _lib._class_NSURLProtocol1, - _lib._sel_propertyForKey_inRequest_1, - key.pointer, - request.pointer, - ); + NSString key, NSURLRequest request) { + final _ret = _objc_msgSend_1016(_class_NSURLProtocol, + _sel_propertyForKey_inRequest_, key.pointer, request.pointer); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } static void setProperty_forKey_inRequest_( - AVFAudio _lib, - NSObject value, - NSString key, - NSMutableURLRequest request, - ) { - _lib._objc_msgSend_1023( - _lib._class_NSURLProtocol1, - _lib._sel_setProperty_forKey_inRequest_1, - value.pointer, - key.pointer, - request.pointer, - ); + NSObject value, NSString key, NSMutableURLRequest request) { + _objc_msgSend_1023(_class_NSURLProtocol, _sel_setProperty_forKey_inRequest_, + value.pointer, key.pointer, request.pointer); } static void removePropertyForKey_inRequest_( - AVFAudio _lib, - NSString key, - NSMutableURLRequest request, - ) { - _lib._objc_msgSend_1024( - _lib._class_NSURLProtocol1, - _lib._sel_removePropertyForKey_inRequest_1, - key.pointer, - request.pointer, - ); - } - - static bool registerClass_(AVFAudio _lib, NSObject protocolClass) { - return _lib._objc_msgSend_0( - _lib._class_NSURLProtocol1, - _lib._sel_registerClass_1, - protocolClass.pointer, - ); - } - - static void unregisterClass_(AVFAudio _lib, NSObject protocolClass) { - _lib._objc_msgSend_15( - _lib._class_NSURLProtocol1, - _lib._sel_unregisterClass_1, - protocolClass.pointer, - ); - } - - static bool canInitWithTask_(AVFAudio _lib, NSURLSessionTask task) { - return _lib._objc_msgSend_1025( - _lib._class_NSURLProtocol1, - _lib._sel_canInitWithTask_1, - task.pointer, - ); - } - - NSURLProtocol initWithTask_cachedResponse_client_( - NSURLSessionTask task, - NSCachedURLResponse? cachedResponse, - NSObject? client, - ) { - final _ret = _lib._objc_msgSend_1026( - this.pointer, - _lib._sel_initWithTask_cachedResponse_client_1, - task.pointer, - cachedResponse?.pointer ?? ffi.nullptr, - client?.pointer ?? ffi.nullptr, - ); - return NSURLProtocol._(_ret, _lib, retain: true, release: true); + NSString key, NSMutableURLRequest request) { + _objc_msgSend_1024(_class_NSURLProtocol, + _sel_removePropertyForKey_inRequest_, key.pointer, request.pointer); + } + + static bool registerClass_(NSObject protocolClass) { + return _objc_msgSend_0( + _class_NSURLProtocol, _sel_registerClass_, protocolClass.pointer); + } + + static void unregisterClass_(NSObject protocolClass) { + _objc_msgSend_15( + _class_NSURLProtocol, _sel_unregisterClass_, protocolClass.pointer); + } + + static bool canInitWithTask_(NSURLSessionTask task) { + return _objc_msgSend_1025( + _class_NSURLProtocol, _sel_canInitWithTask_, task.pointer); + } + + NSURLProtocol initWithTask_cachedResponse_client_(NSURLSessionTask task, + NSCachedURLResponse? cachedResponse, NSObject? client) { + final _ret = _objc_msgSend_1026( + this.pointer, + _sel_initWithTask_cachedResponse_client_, + task.pointer, + cachedResponse?.pointer ?? ffi.nullptr, + client?.pointer ?? ffi.nullptr); + return NSURLProtocol._(_ret, retain: true, release: true); } NSURLSessionTask? get task { - final _ret = _lib._objc_msgSend_1027(this.pointer, _lib._sel_task1); + final _ret = _objc_msgSend_1027(this.pointer, _sel_task); return _ret.address == 0 ? null - : NSURLSessionTask._(_ret, _lib, retain: true, release: true); + : NSURLSessionTask._(_ret, retain: true, release: true); } @override NSURLProtocol init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSURLProtocol._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSURLProtocol._(_ret, retain: true, release: true); } - static NSURLProtocol new1(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLProtocol1, - _lib._sel_new1, - ); - return NSURLProtocol._(_ret, _lib, retain: false, release: true); + static NSURLProtocol new1() { + final _ret = _objc_msgSend_2(_class_NSURLProtocol, _sel_new); + return NSURLProtocol._(_ret, retain: false, release: true); } - static NSURLProtocol allocWithZone_( - AVFAudio _lib, - ffi.Pointer<_NSZone> zone, - ) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSURLProtocol1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSURLProtocol._(_ret, _lib, retain: false, release: true); + static NSURLProtocol allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = + _objc_msgSend_3(_class_NSURLProtocol, _sel_allocWithZone_, zone); + return NSURLProtocol._(_ret, retain: false, release: true); } - static NSURLProtocol alloc(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLProtocol1, - _lib._sel_alloc1, - ); - return NSURLProtocol._(_ret, _lib, retain: false, release: true); + static NSURLProtocol alloc() { + final _ret = _objc_msgSend_2(_class_NSURLProtocol, _sel_alloc); + return NSURLProtocol._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSURLProtocol1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSURLProtocol1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSURLProtocol1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSURLProtocol1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSURLProtocol1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSURLProtocol1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSURLProtocol, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); } - static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSURLProtocol1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSURLProtocol1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLProtocol1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSURLProtocol, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); } -} + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSURLProtocol, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSURLProtocol, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSURLProtocol, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSURLProtocol, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); + } + + static void setKeys_triggerChangeNotificationsForDependentKey_( + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSURLProtocol, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = _objc_msgSend_85( + _class_NSURLProtocol, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = + _objc_msgSend_2(_class_NSURLProtocol, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); + } +} + +late final _class_NSURLProtocol = objc.getClass("NSURLProtocol"); +late final _sel_initWithRequest_cachedResponse_client_ = + objc.registerName("initWithRequest:cachedResponse:client:"); +final _objc_msgSend_1012 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer request, + ffi.Pointer cachedResponse, + ffi.Pointer client)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_client = objc.registerName("client"); +late final _sel_request = objc.registerName("request"); +late final _sel_cachedResponse = objc.registerName("cachedResponse"); +final _objc_msgSend_1013 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_canInitWithRequest_ = objc.registerName("canInitWithRequest:"); +late final _sel_canonicalRequestForRequest_ = + objc.registerName("canonicalRequestForRequest:"); +final _objc_msgSend_1014 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer request)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_requestIsCacheEquivalent_toRequest_ = + objc.registerName("requestIsCacheEquivalent:toRequest:"); +final _objc_msgSend_1015 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer a, + ffi.Pointer b)>>() + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_startLoading = objc.registerName("startLoading"); +late final _sel_stopLoading = objc.registerName("stopLoading"); +late final _sel_propertyForKey_inRequest_ = + objc.registerName("propertyForKey:inRequest:"); +final _objc_msgSend_1016 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer key, + ffi.Pointer request)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); class NSMutableURLRequest extends NSURLRequest { - NSMutableURLRequest._( - ffi.Pointer pointer, - AVFAudio lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSMutableURLRequest._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSMutableURLRequest] that points to the same underlying object as [other]. - static NSMutableURLRequest castFrom( - AVFAudio lib, - T other, - ) { - return NSMutableURLRequest._( - other.pointer, - lib, - retain: true, - release: true, - ); + static NSMutableURLRequest castFrom(T other) { + return NSMutableURLRequest._(other.pointer, retain: true, release: true); } /// Returns a [NSMutableURLRequest] that wraps the given raw object pointer. - static NSMutableURLRequest castFromPointer( - AVFAudio lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSMutableURLRequest._(other, lib, retain: retain, release: release); + static NSMutableURLRequest castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSMutableURLRequest._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSMutableURLRequest]. - static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSMutableURLRequest1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0( + obj.pointer, _sel_isKindOfClass_, _class_NSMutableURLRequest); } @override NSURL? get URL { - final _ret = _lib._objc_msgSend_45(this.pointer, _lib._sel_URL1); + final _ret = _objc_msgSend_45(this.pointer, _sel_URL); return _ret.address == 0 ? null - : NSURL._(_ret, _lib, retain: true, release: true); + : NSURL._(_ret, retain: true, release: true); } set URL(NSURL? value) { - return _lib._objc_msgSend_671( - this.pointer, - _lib._sel_setURL_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_671( + this.pointer, _sel_setURL_, value?.pointer ?? ffi.nullptr); } @override int get cachePolicy { - return _lib._objc_msgSend_859(this.pointer, _lib._sel_cachePolicy1); + return _objc_msgSend_859(this.pointer, _sel_cachePolicy); } set cachePolicy(int value) { - return _lib._objc_msgSend_1017( - this.pointer, - _lib._sel_setCachePolicy_1, - value, - ); + return _objc_msgSend_1017(this.pointer, _sel_setCachePolicy_, value); } @override double get timeoutInterval { return objc.useMsgSendVariants - ? _lib._objc_msgSend_165_fpret(this.pointer, _lib._sel_timeoutInterval1) - : _lib._objc_msgSend_165(this.pointer, _lib._sel_timeoutInterval1); + ? _objc_msgSend_165Fpret(this.pointer, _sel_timeoutInterval) + : _objc_msgSend_165(this.pointer, _sel_timeoutInterval); } set timeoutInterval(double value) { - return _lib._objc_msgSend_542( - this.pointer, - _lib._sel_setTimeoutInterval_1, - value, - ); + return _objc_msgSend_542(this.pointer, _sel_setTimeoutInterval_, value); } @override NSURL? get mainDocumentURL { - final _ret = _lib._objc_msgSend_45( - this.pointer, - _lib._sel_mainDocumentURL1, - ); + final _ret = _objc_msgSend_45(this.pointer, _sel_mainDocumentURL); return _ret.address == 0 ? null - : NSURL._(_ret, _lib, retain: true, release: true); + : NSURL._(_ret, retain: true, release: true); } set mainDocumentURL(NSURL? value) { - return _lib._objc_msgSend_671( - this.pointer, - _lib._sel_setMainDocumentURL_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_671( + this.pointer, _sel_setMainDocumentURL_, value?.pointer ?? ffi.nullptr); } @override int get networkServiceType { - return _lib._objc_msgSend_860(this.pointer, _lib._sel_networkServiceType1); + return _objc_msgSend_860(this.pointer, _sel_networkServiceType); } set networkServiceType(int value) { - return _lib._objc_msgSend_1018( - this.pointer, - _lib._sel_setNetworkServiceType_1, - value, - ); + return _objc_msgSend_1018(this.pointer, _sel_setNetworkServiceType_, value); } @override bool get allowsCellularAccess { - return _lib._objc_msgSend_12(this.pointer, _lib._sel_allowsCellularAccess1); + return _objc_msgSend_12(this.pointer, _sel_allowsCellularAccess); } set allowsCellularAccess(bool value) { - return _lib._objc_msgSend_527( - this.pointer, - _lib._sel_setAllowsCellularAccess_1, - value, - ); + return _objc_msgSend_527( + this.pointer, _sel_setAllowsCellularAccess_, value); } @override bool get allowsExpensiveNetworkAccess { - return _lib._objc_msgSend_12( - this.pointer, - _lib._sel_allowsExpensiveNetworkAccess1, - ); + return _objc_msgSend_12(this.pointer, _sel_allowsExpensiveNetworkAccess); } set allowsExpensiveNetworkAccess(bool value) { - return _lib._objc_msgSend_527( - this.pointer, - _lib._sel_setAllowsExpensiveNetworkAccess_1, - value, - ); + return _objc_msgSend_527( + this.pointer, _sel_setAllowsExpensiveNetworkAccess_, value); } @override bool get allowsConstrainedNetworkAccess { - return _lib._objc_msgSend_12( - this.pointer, - _lib._sel_allowsConstrainedNetworkAccess1, - ); + return _objc_msgSend_12(this.pointer, _sel_allowsConstrainedNetworkAccess); } set allowsConstrainedNetworkAccess(bool value) { - return _lib._objc_msgSend_527( - this.pointer, - _lib._sel_setAllowsConstrainedNetworkAccess_1, - value, - ); + return _objc_msgSend_527( + this.pointer, _sel_setAllowsConstrainedNetworkAccess_, value); } @override bool get assumesHTTP3Capable { - return _lib._objc_msgSend_12(this.pointer, _lib._sel_assumesHTTP3Capable1); + return _objc_msgSend_12(this.pointer, _sel_assumesHTTP3Capable); } set assumesHTTP3Capable(bool value) { - return _lib._objc_msgSend_527( - this.pointer, - _lib._sel_setAssumesHTTP3Capable_1, - value, - ); + return _objc_msgSend_527(this.pointer, _sel_setAssumesHTTP3Capable_, value); } @override int get attribution { - return _lib._objc_msgSend_861(this.pointer, _lib._sel_attribution1); + return _objc_msgSend_861(this.pointer, _sel_attribution); } set attribution(int value) { - return _lib._objc_msgSend_1019( - this.pointer, - _lib._sel_setAttribution_1, - value, - ); + return _objc_msgSend_1019(this.pointer, _sel_setAttribution_, value); } @override bool get requiresDNSSECValidation { - return _lib._objc_msgSend_12( - this.pointer, - _lib._sel_requiresDNSSECValidation1, - ); + return _objc_msgSend_12(this.pointer, _sel_requiresDNSSECValidation); } set requiresDNSSECValidation(bool value) { - return _lib._objc_msgSend_527( - this.pointer, - _lib._sel_setRequiresDNSSECValidation_1, - value, - ); + return _objc_msgSend_527( + this.pointer, _sel_setRequiresDNSSECValidation_, value); } NSString get HTTPMethod { - final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_HTTPMethod1); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_HTTPMethod); + return NSString._(_ret, retain: true, release: true); } set HTTPMethod(NSString value) { - return _lib._objc_msgSend_646( - this.pointer, - _lib._sel_setHTTPMethod_1, - value.pointer, - ); + return _objc_msgSend_646(this.pointer, _sel_setHTTPMethod_, value.pointer); } @override NSDictionary? get allHTTPHeaderFields { - final _ret = _lib._objc_msgSend_390( - this.pointer, - _lib._sel_allHTTPHeaderFields1, - ); + final _ret = _objc_msgSend_390(this.pointer, _sel_allHTTPHeaderFields); return _ret.address == 0 ? null - : NSDictionary._(_ret, _lib, retain: true, release: true); + : NSDictionary._(_ret, retain: true, release: true); } set allHTTPHeaderFields(NSDictionary? value) { - return _lib._objc_msgSend_634( - this.pointer, - _lib._sel_setAllHTTPHeaderFields_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_634(this.pointer, _sel_setAllHTTPHeaderFields_, + value?.pointer ?? ffi.nullptr); } void setValue_forHTTPHeaderField_(NSString? value, NSString field) { - _lib._objc_msgSend_1020( - this.pointer, - _lib._sel_setValue_forHTTPHeaderField_1, - value?.pointer ?? ffi.nullptr, - field.pointer, - ); + _objc_msgSend_1020(this.pointer, _sel_setValue_forHTTPHeaderField_, + value?.pointer ?? ffi.nullptr, field.pointer); } void addValue_forHTTPHeaderField_(NSString value, NSString field) { - _lib._objc_msgSend_551( - this.pointer, - _lib._sel_addValue_forHTTPHeaderField_1, - value.pointer, - field.pointer, - ); + _objc_msgSend_551(this.pointer, _sel_addValue_forHTTPHeaderField_, + value.pointer, field.pointer); } @override NSData? get HTTPBody { - final _ret = _lib._objc_msgSend_286(this.pointer, _lib._sel_HTTPBody1); + final _ret = _objc_msgSend_286(this.pointer, _sel_HTTPBody); return _ret.address == 0 ? null - : NSData._(_ret, _lib, retain: true, release: true); + : NSData._(_ret, retain: true, release: true); } set HTTPBody(NSData? value) { - return _lib._objc_msgSend_1021( - this.pointer, - _lib._sel_setHTTPBody_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_1021( + this.pointer, _sel_setHTTPBody_, value?.pointer ?? ffi.nullptr); } @override NSInputStream? get HTTPBodyStream { - final _ret = _lib._objc_msgSend_875( - this.pointer, - _lib._sel_HTTPBodyStream1, - ); + final _ret = _objc_msgSend_875(this.pointer, _sel_HTTPBodyStream); return _ret.address == 0 ? null - : NSInputStream._(_ret, _lib, retain: true, release: true); + : NSInputStream._(_ret, retain: true, release: true); } set HTTPBodyStream(NSInputStream? value) { - return _lib._objc_msgSend_1022( - this.pointer, - _lib._sel_setHTTPBodyStream_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_1022( + this.pointer, _sel_setHTTPBodyStream_, value?.pointer ?? ffi.nullptr); } @override bool get HTTPShouldHandleCookies { - return _lib._objc_msgSend_12( - this.pointer, - _lib._sel_HTTPShouldHandleCookies1, - ); + return _objc_msgSend_12(this.pointer, _sel_HTTPShouldHandleCookies); } set HTTPShouldHandleCookies(bool value) { - return _lib._objc_msgSend_527( - this.pointer, - _lib._sel_setHTTPShouldHandleCookies_1, - value, - ); + return _objc_msgSend_527( + this.pointer, _sel_setHTTPShouldHandleCookies_, value); } @override bool get HTTPShouldUsePipelining { - return _lib._objc_msgSend_12( - this.pointer, - _lib._sel_HTTPShouldUsePipelining1, - ); + return _objc_msgSend_12(this.pointer, _sel_HTTPShouldUsePipelining); } set HTTPShouldUsePipelining(bool value) { - return _lib._objc_msgSend_527( - this.pointer, - _lib._sel_setHTTPShouldUsePipelining_1, - value, - ); + return _objc_msgSend_527( + this.pointer, _sel_setHTTPShouldUsePipelining_, value); } - static NSMutableURLRequest requestWithURL_(AVFAudio _lib, NSURL URL) { - final _ret = _lib._objc_msgSend_262( - _lib._class_NSMutableURLRequest1, - _lib._sel_requestWithURL_1, - URL.pointer, - ); - return NSMutableURLRequest._(_ret, _lib, retain: true, release: true); + static NSMutableURLRequest requestWithURL_(NSURL URL) { + final _ret = _objc_msgSend_262( + _class_NSMutableURLRequest, _sel_requestWithURL_, URL.pointer); + return NSMutableURLRequest._(_ret, retain: true, release: true); } - static bool getSupportsSecureCoding(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSMutableURLRequest1, - _lib._sel_supportsSecureCoding1, - ); + static bool getSupportsSecureCoding() { + return _objc_msgSend_12( + _class_NSMutableURLRequest, _sel_supportsSecureCoding); } static NSMutableURLRequest requestWithURL_cachePolicy_timeoutInterval_( - AVFAudio _lib, - NSURL URL, - int cachePolicy, - double timeoutInterval, - ) { - final _ret = _lib._objc_msgSend_858( - _lib._class_NSMutableURLRequest1, - _lib._sel_requestWithURL_cachePolicy_timeoutInterval_1, - URL.pointer, - cachePolicy, - timeoutInterval, - ); - return NSMutableURLRequest._(_ret, _lib, retain: true, release: true); + NSURL URL, int cachePolicy, double timeoutInterval) { + final _ret = _objc_msgSend_858( + _class_NSMutableURLRequest, + _sel_requestWithURL_cachePolicy_timeoutInterval_, + URL.pointer, + cachePolicy, + timeoutInterval); + return NSMutableURLRequest._(_ret, retain: true, release: true); } @override NSMutableURLRequest initWithURL_(NSURL URL) { - final _ret = _lib._objc_msgSend_262( - this.pointer, - _lib._sel_initWithURL_1, - URL.pointer, - ); - return NSMutableURLRequest._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_262(this.pointer, _sel_initWithURL_, URL.pointer); + return NSMutableURLRequest._(_ret, retain: true, release: true); } @override NSMutableURLRequest initWithURL_cachePolicy_timeoutInterval_( - NSURL URL, - int cachePolicy, - double timeoutInterval, - ) { - final _ret = _lib._objc_msgSend_858( - this.pointer, - _lib._sel_initWithURL_cachePolicy_timeoutInterval_1, - URL.pointer, - cachePolicy, - timeoutInterval, - ); - return NSMutableURLRequest._(_ret, _lib, retain: true, release: true); + NSURL URL, int cachePolicy, double timeoutInterval) { + final _ret = _objc_msgSend_858( + this.pointer, + _sel_initWithURL_cachePolicy_timeoutInterval_, + URL.pointer, + cachePolicy, + timeoutInterval); + return NSMutableURLRequest._(_ret, retain: true, release: true); } @override NSMutableURLRequest init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSMutableURLRequest._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSMutableURLRequest._(_ret, retain: true, release: true); } - static NSMutableURLRequest new1(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSMutableURLRequest1, - _lib._sel_new1, - ); - return NSMutableURLRequest._(_ret, _lib, retain: false, release: true); + static NSMutableURLRequest new1() { + final _ret = _objc_msgSend_2(_class_NSMutableURLRequest, _sel_new); + return NSMutableURLRequest._(_ret, retain: false, release: true); } - static NSMutableURLRequest allocWithZone_( - AVFAudio _lib, - ffi.Pointer<_NSZone> zone, - ) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSMutableURLRequest1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSMutableURLRequest._(_ret, _lib, retain: false, release: true); + static NSMutableURLRequest allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = + _objc_msgSend_3(_class_NSMutableURLRequest, _sel_allocWithZone_, zone); + return NSMutableURLRequest._(_ret, retain: false, release: true); } - static NSMutableURLRequest alloc(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSMutableURLRequest1, - _lib._sel_alloc1, - ); - return NSMutableURLRequest._(_ret, _lib, retain: false, release: true); + static NSMutableURLRequest alloc() { + final _ret = _objc_msgSend_2(_class_NSMutableURLRequest, _sel_alloc); + return NSMutableURLRequest._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSMutableURLRequest1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSMutableURLRequest1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSMutableURLRequest1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSMutableURLRequest1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSMutableURLRequest1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSMutableURLRequest1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSMutableURLRequest, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); } - static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSMutableURLRequest1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSMutableURLRequest1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSMutableURLRequest1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSMutableURLRequest, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); } -} + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSMutableURLRequest, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSMutableURLRequest, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSMutableURLRequest, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSMutableURLRequest, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); + } + + static void setKeys_triggerChangeNotificationsForDependentKey_( + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSMutableURLRequest, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = _objc_msgSend_85( + _class_NSMutableURLRequest, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = _objc_msgSend_2( + _class_NSMutableURLRequest, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); + } +} + +late final _class_NSMutableURLRequest = objc.getClass("NSMutableURLRequest"); +late final _sel_setURL_ = objc.registerName("setURL:"); +late final _sel_setCachePolicy_ = objc.registerName("setCachePolicy:"); +final _objc_msgSend_1017 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer obj, + ffi.Pointer sel, ffi.Int32 value)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, int)>(); +late final _sel_setTimeoutInterval_ = objc.registerName("setTimeoutInterval:"); +late final _sel_setMainDocumentURL_ = objc.registerName("setMainDocumentURL:"); +late final _sel_setNetworkServiceType_ = + objc.registerName("setNetworkServiceType:"); +final _objc_msgSend_1018 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer obj, + ffi.Pointer sel, ffi.Int32 value)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, int)>(); +late final _sel_setAllowsCellularAccess_ = + objc.registerName("setAllowsCellularAccess:"); +late final _sel_setAllowsExpensiveNetworkAccess_ = + objc.registerName("setAllowsExpensiveNetworkAccess:"); +late final _sel_setAllowsConstrainedNetworkAccess_ = + objc.registerName("setAllowsConstrainedNetworkAccess:"); +late final _sel_setAssumesHTTP3Capable_ = + objc.registerName("setAssumesHTTP3Capable:"); +late final _sel_setAttribution_ = objc.registerName("setAttribution:"); +final _objc_msgSend_1019 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer obj, + ffi.Pointer sel, ffi.Int32 value)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, int)>(); +late final _sel_setRequiresDNSSECValidation_ = + objc.registerName("setRequiresDNSSECValidation:"); +late final _sel_setHTTPMethod_ = objc.registerName("setHTTPMethod:"); +late final _sel_setAllHTTPHeaderFields_ = + objc.registerName("setAllHTTPHeaderFields:"); +late final _sel_setValue_forHTTPHeaderField_ = + objc.registerName("setValue:forHTTPHeaderField:"); +final _objc_msgSend_1020 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value, + ffi.Pointer field)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_addValue_forHTTPHeaderField_ = + objc.registerName("addValue:forHTTPHeaderField:"); +late final _sel_setHTTPBody_ = objc.registerName("setHTTPBody:"); +final _objc_msgSend_1021 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_setHTTPBodyStream_ = objc.registerName("setHTTPBodyStream:"); +final _objc_msgSend_1022 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_setHTTPShouldHandleCookies_ = + objc.registerName("setHTTPShouldHandleCookies:"); +late final _sel_setHTTPShouldUsePipelining_ = + objc.registerName("setHTTPShouldUsePipelining:"); +late final _sel_setProperty_forKey_inRequest_ = + objc.registerName("setProperty:forKey:inRequest:"); +final _objc_msgSend_1023 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value, + ffi.Pointer key, + ffi.Pointer request)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_removePropertyForKey_inRequest_ = + objc.registerName("removePropertyForKey:inRequest:"); +final _objc_msgSend_1024 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer key, + ffi.Pointer request)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_registerClass_ = objc.registerName("registerClass:"); +late final _sel_unregisterClass_ = objc.registerName("unregisterClass:"); +late final _sel_canInitWithTask_ = objc.registerName("canInitWithTask:"); +final _objc_msgSend_1025 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer task)>>() + .asFunction< + bool Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_initWithTask_cachedResponse_client_ = + objc.registerName("initWithTask:cachedResponse:client:"); +final _objc_msgSend_1026 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer task, + ffi.Pointer cachedResponse, + ffi.Pointer client)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_task = objc.registerName("task"); +final _objc_msgSend_1027 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); class NSXMLParser extends NSObject { - NSXMLParser._( - ffi.Pointer pointer, - AVFAudio lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSXMLParser._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSXMLParser] that points to the same underlying object as [other]. - static NSXMLParser castFrom( - AVFAudio lib, - T other, - ) { - return NSXMLParser._(other.pointer, lib, retain: true, release: true); + static NSXMLParser castFrom(T other) { + return NSXMLParser._(other.pointer, retain: true, release: true); } /// Returns a [NSXMLParser] that wraps the given raw object pointer. - static NSXMLParser castFromPointer( - AVFAudio lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSXMLParser._(other, lib, retain: retain, release: release); + static NSXMLParser castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSXMLParser._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSXMLParser]. - static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSXMLParser1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0( + obj.pointer, _sel_isKindOfClass_, _class_NSXMLParser); } NSXMLParser? initWithContentsOfURL_(NSURL url) { - final _ret = _lib._objc_msgSend_277( - this.pointer, - _lib._sel_initWithContentsOfURL_1, - url.pointer, - ); + final _ret = _objc_msgSend_277( + this.pointer, _sel_initWithContentsOfURL_, url.pointer); return _ret.address == 0 ? null - : NSXMLParser._(_ret, _lib, retain: true, release: true); + : NSXMLParser._(_ret, retain: true, release: true); } NSXMLParser initWithData_(NSData data) { - final _ret = _lib._objc_msgSend_279( - this.pointer, - _lib._sel_initWithData_1, - data.pointer, - ); - return NSXMLParser._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_279(this.pointer, _sel_initWithData_, data.pointer); + return NSXMLParser._(_ret, retain: true, release: true); } NSXMLParser initWithStream_(NSInputStream stream) { - final _ret = _lib._objc_msgSend_1028( - this.pointer, - _lib._sel_initWithStream_1, - stream.pointer, - ); - return NSXMLParser._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_1028(this.pointer, _sel_initWithStream_, stream.pointer); + return NSXMLParser._(_ret, retain: true, release: true); } NSObject? get delegate { - final _ret = _lib._objc_msgSend_17(this.pointer, _lib._sel_delegate1); + final _ret = _objc_msgSend_17(this.pointer, _sel_delegate); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } set delegate(NSObject? value) { - return _lib._objc_msgSend_416( - this.pointer, - _lib._sel_setDelegate_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_416( + this.pointer, _sel_setDelegate_, value?.pointer ?? ffi.nullptr); } bool get shouldProcessNamespaces { - return _lib._objc_msgSend_12( - this.pointer, - _lib._sel_shouldProcessNamespaces1, - ); + return _objc_msgSend_12(this.pointer, _sel_shouldProcessNamespaces); } set shouldProcessNamespaces(bool value) { - return _lib._objc_msgSend_527( - this.pointer, - _lib._sel_setShouldProcessNamespaces_1, - value, - ); + return _objc_msgSend_527( + this.pointer, _sel_setShouldProcessNamespaces_, value); } bool get shouldReportNamespacePrefixes { - return _lib._objc_msgSend_12( - this.pointer, - _lib._sel_shouldReportNamespacePrefixes1, - ); + return _objc_msgSend_12(this.pointer, _sel_shouldReportNamespacePrefixes); } set shouldReportNamespacePrefixes(bool value) { - return _lib._objc_msgSend_527( - this.pointer, - _lib._sel_setShouldReportNamespacePrefixes_1, - value, - ); + return _objc_msgSend_527( + this.pointer, _sel_setShouldReportNamespacePrefixes_, value); } int get externalEntityResolvingPolicy { - return _lib._objc_msgSend_1029( - this.pointer, - _lib._sel_externalEntityResolvingPolicy1, - ); + return _objc_msgSend_1029(this.pointer, _sel_externalEntityResolvingPolicy); } set externalEntityResolvingPolicy(int value) { - return _lib._objc_msgSend_1030( - this.pointer, - _lib._sel_setExternalEntityResolvingPolicy_1, - value, - ); + return _objc_msgSend_1030( + this.pointer, _sel_setExternalEntityResolvingPolicy_, value); } NSSet? get allowedExternalEntityURLs { - final _ret = _lib._objc_msgSend_319( - this.pointer, - _lib._sel_allowedExternalEntityURLs1, - ); + final _ret = + _objc_msgSend_319(this.pointer, _sel_allowedExternalEntityURLs); return _ret.address == 0 ? null - : NSSet._(_ret, _lib, retain: true, release: true); + : NSSet._(_ret, retain: true, release: true); } set allowedExternalEntityURLs(NSSet? value) { - return _lib._objc_msgSend_1031( - this.pointer, - _lib._sel_setAllowedExternalEntityURLs_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_1031(this.pointer, _sel_setAllowedExternalEntityURLs_, + value?.pointer ?? ffi.nullptr); } bool parse() { - return _lib._objc_msgSend_12(this.pointer, _lib._sel_parse1); + return _objc_msgSend_12(this.pointer, _sel_parse); } void abortParsing() { - _lib._objc_msgSend_1(this.pointer, _lib._sel_abortParsing1); + _objc_msgSend_1(this.pointer, _sel_abortParsing); } NSError? get parserError { - final _ret = _lib._objc_msgSend_322(this.pointer, _lib._sel_parserError1); + final _ret = _objc_msgSend_322(this.pointer, _sel_parserError); return _ret.address == 0 ? null - : NSError._(_ret, _lib, retain: true, release: true); + : NSError._(_ret, retain: true, release: true); } bool get shouldResolveExternalEntities { - return _lib._objc_msgSend_12( - this.pointer, - _lib._sel_shouldResolveExternalEntities1, - ); + return _objc_msgSend_12(this.pointer, _sel_shouldResolveExternalEntities); } set shouldResolveExternalEntities(bool value) { - return _lib._objc_msgSend_527( - this.pointer, - _lib._sel_setShouldResolveExternalEntities_1, - value, - ); + return _objc_msgSend_527( + this.pointer, _sel_setShouldResolveExternalEntities_, value); } NSString? get publicID { - final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_publicID1); + final _ret = _objc_msgSend_44(this.pointer, _sel_publicID); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } NSString? get systemID { - final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_systemID1); + final _ret = _objc_msgSend_44(this.pointer, _sel_systemID); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } int get lineNumber { - return _lib._objc_msgSend_83(this.pointer, _lib._sel_lineNumber1); + return _objc_msgSend_83(this.pointer, _sel_lineNumber); } int get columnNumber { - return _lib._objc_msgSend_83(this.pointer, _lib._sel_columnNumber1); + return _objc_msgSend_83(this.pointer, _sel_columnNumber); } @override NSXMLParser init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSXMLParser._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSXMLParser._(_ret, retain: true, release: true); } - static NSXMLParser new1(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2(_lib._class_NSXMLParser1, _lib._sel_new1); - return NSXMLParser._(_ret, _lib, retain: false, release: true); + static NSXMLParser new1() { + final _ret = _objc_msgSend_2(_class_NSXMLParser, _sel_new); + return NSXMLParser._(_ret, retain: false, release: true); } - static NSXMLParser allocWithZone_(AVFAudio _lib, ffi.Pointer<_NSZone> zone) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSXMLParser1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSXMLParser._(_ret, _lib, retain: false, release: true); + static NSXMLParser allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = _objc_msgSend_3(_class_NSXMLParser, _sel_allocWithZone_, zone); + return NSXMLParser._(_ret, retain: false, release: true); } - static NSXMLParser alloc(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSXMLParser1, - _lib._sel_alloc1, - ); - return NSXMLParser._(_ret, _lib, retain: false, release: true); + static NSXMLParser alloc() { + final _ret = _objc_msgSend_2(_class_NSXMLParser, _sel_alloc); + return NSXMLParser._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSXMLParser1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSXMLParser1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSXMLParser1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSXMLParser1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSXMLParser1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSXMLParser1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSXMLParser, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); } - static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSXMLParser1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSXMLParser1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSXMLParser1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSXMLParser, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); } -} + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSXMLParser, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSXMLParser, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSXMLParser, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSXMLParser, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); + } + + static void setKeys_triggerChangeNotificationsForDependentKey_( + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSXMLParser, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = _objc_msgSend_85( + _class_NSXMLParser, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = + _objc_msgSend_2(_class_NSXMLParser, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); + } +} + +late final _class_NSXMLParser = objc.getClass("NSXMLParser"); +late final _sel_initWithStream_ = objc.registerName("initWithStream:"); +final _objc_msgSend_1028 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer stream)>>() + .asFunction< + instancetype Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_shouldProcessNamespaces = + objc.registerName("shouldProcessNamespaces"); +late final _sel_setShouldProcessNamespaces_ = + objc.registerName("setShouldProcessNamespaces:"); +late final _sel_shouldReportNamespacePrefixes = + objc.registerName("shouldReportNamespacePrefixes"); +late final _sel_setShouldReportNamespacePrefixes_ = + objc.registerName("setShouldReportNamespacePrefixes:"); abstract class NSXMLParserExternalEntityResolvingPolicy { static const int NSXMLParserResolveExternalEntitiesNever = 0; @@ -87175,1700 +51996,1413 @@ abstract class NSXMLParserExternalEntityResolvingPolicy { static const int NSXMLParserResolveExternalEntitiesAlways = 3; } +late final _sel_externalEntityResolvingPolicy = + objc.registerName("externalEntityResolvingPolicy"); +final _objc_msgSend_1029 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + int Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_setExternalEntityResolvingPolicy_ = + objc.registerName("setExternalEntityResolvingPolicy:"); +final _objc_msgSend_1030 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer obj, + ffi.Pointer sel, ffi.Int32 value)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, int)>(); +late final _sel_allowedExternalEntityURLs = + objc.registerName("allowedExternalEntityURLs"); +late final _sel_setAllowedExternalEntityURLs_ = + objc.registerName("setAllowedExternalEntityURLs:"); +final _objc_msgSend_1031 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_parse = objc.registerName("parse"); +late final _sel_abortParsing = objc.registerName("abortParsing"); +late final _sel_parserError = objc.registerName("parserError"); +late final _sel_shouldResolveExternalEntities = + objc.registerName("shouldResolveExternalEntities"); +late final _sel_setShouldResolveExternalEntities_ = + objc.registerName("setShouldResolveExternalEntities:"); +late final _sel_publicID = objc.registerName("publicID"); +late final _sel_systemID = objc.registerName("systemID"); +late final _sel_lineNumber = objc.registerName("lineNumber"); +late final _sel_columnNumber = objc.registerName("columnNumber"); + class NSFileWrapper extends NSObject { - NSFileWrapper._( - ffi.Pointer pointer, - AVFAudio lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSFileWrapper._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSFileWrapper] that points to the same underlying object as [other]. - static NSFileWrapper castFrom( - AVFAudio lib, - T other, - ) { - return NSFileWrapper._(other.pointer, lib, retain: true, release: true); + static NSFileWrapper castFrom(T other) { + return NSFileWrapper._(other.pointer, retain: true, release: true); } /// Returns a [NSFileWrapper] that wraps the given raw object pointer. - static NSFileWrapper castFromPointer( - AVFAudio lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSFileWrapper._(other, lib, retain: retain, release: release); + static NSFileWrapper castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSFileWrapper._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSFileWrapper]. - static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSFileWrapper1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0( + obj.pointer, _sel_isKindOfClass_, _class_NSFileWrapper); } - NSFileWrapper? initWithURL_options_error_( - NSURL url, - int options, - ffi.Pointer> outError, - ) { - final _ret = _lib._objc_msgSend_1032( - this.pointer, - _lib._sel_initWithURL_options_error_1, - url.pointer, - options, - outError, - ); + NSFileWrapper? initWithURL_options_error_(NSURL url, int options, + ffi.Pointer> outError) { + final _ret = _objc_msgSend_1032(this.pointer, + _sel_initWithURL_options_error_, url.pointer, options, outError); return _ret.address == 0 ? null - : NSFileWrapper._(_ret, _lib, retain: true, release: true); + : NSFileWrapper._(_ret, retain: true, release: true); } NSFileWrapper initDirectoryWithFileWrappers_( - NSDictionary childrenByPreferredName, - ) { - final _ret = _lib._objc_msgSend_159( - this.pointer, - _lib._sel_initDirectoryWithFileWrappers_1, - childrenByPreferredName.pointer, - ); - return NSFileWrapper._(_ret, _lib, retain: true, release: true); + NSDictionary childrenByPreferredName) { + final _ret = _objc_msgSend_159(this.pointer, + _sel_initDirectoryWithFileWrappers_, childrenByPreferredName.pointer); + return NSFileWrapper._(_ret, retain: true, release: true); } NSFileWrapper initRegularFileWithContents_(NSData contents) { - final _ret = _lib._objc_msgSend_279( - this.pointer, - _lib._sel_initRegularFileWithContents_1, - contents.pointer, - ); - return NSFileWrapper._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_279( + this.pointer, _sel_initRegularFileWithContents_, contents.pointer); + return NSFileWrapper._(_ret, retain: true, release: true); } NSFileWrapper initSymbolicLinkWithDestinationURL_(NSURL url) { - final _ret = _lib._objc_msgSend_262( - this.pointer, - _lib._sel_initSymbolicLinkWithDestinationURL_1, - url.pointer, - ); - return NSFileWrapper._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_262( + this.pointer, _sel_initSymbolicLinkWithDestinationURL_, url.pointer); + return NSFileWrapper._(_ret, retain: true, release: true); } NSFileWrapper? initWithSerializedRepresentation_( - NSData serializeRepresentation, - ) { - final _ret = _lib._objc_msgSend_874( - this.pointer, - _lib._sel_initWithSerializedRepresentation_1, - serializeRepresentation.pointer, - ); + NSData serializeRepresentation) { + final _ret = _objc_msgSend_874( + this.pointer, + _sel_initWithSerializedRepresentation_, + serializeRepresentation.pointer); return _ret.address == 0 ? null - : NSFileWrapper._(_ret, _lib, retain: true, release: true); + : NSFileWrapper._(_ret, retain: true, release: true); } NSFileWrapper? initWithCoder_(NSCoder inCoder) { - final _ret = _lib._objc_msgSend_47( - this.pointer, - _lib._sel_initWithCoder_1, - inCoder.pointer, - ); + final _ret = + _objc_msgSend_47(this.pointer, _sel_initWithCoder_, inCoder.pointer); return _ret.address == 0 ? null - : NSFileWrapper._(_ret, _lib, retain: true, release: true); + : NSFileWrapper._(_ret, retain: true, release: true); } bool get directory { - return _lib._objc_msgSend_12(this.pointer, _lib._sel_isDirectory1); + return _objc_msgSend_12(this.pointer, _sel_isDirectory); } bool get regularFile { - return _lib._objc_msgSend_12(this.pointer, _lib._sel_isRegularFile1); + return _objc_msgSend_12(this.pointer, _sel_isRegularFile); } bool get symbolicLink { - return _lib._objc_msgSend_12(this.pointer, _lib._sel_isSymbolicLink1); + return _objc_msgSend_12(this.pointer, _sel_isSymbolicLink); } NSString? get preferredFilename { - final _ret = _lib._objc_msgSend_44( - this.pointer, - _lib._sel_preferredFilename1, - ); + final _ret = _objc_msgSend_44(this.pointer, _sel_preferredFilename); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } set preferredFilename(NSString? value) { - return _lib._objc_msgSend_545( - this.pointer, - _lib._sel_setPreferredFilename_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_545(this.pointer, _sel_setPreferredFilename_, + value?.pointer ?? ffi.nullptr); } NSString? get filename { - final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_filename1); + final _ret = _objc_msgSend_44(this.pointer, _sel_filename); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } set filename(NSString? value) { - return _lib._objc_msgSend_545( - this.pointer, - _lib._sel_setFilename_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_545( + this.pointer, _sel_setFilename_, value?.pointer ?? ffi.nullptr); } NSDictionary get fileAttributes { - final _ret = _lib._objc_msgSend_181( - this.pointer, - _lib._sel_fileAttributes1, - ); - return NSDictionary._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_181(this.pointer, _sel_fileAttributes); + return NSDictionary._(_ret, retain: true, release: true); } set fileAttributes(NSDictionary value) { - return _lib._objc_msgSend_182( - this.pointer, - _lib._sel_setFileAttributes_1, - value.pointer, - ); + return _objc_msgSend_182( + this.pointer, _sel_setFileAttributes_, value.pointer); } bool matchesContentsOfURL_(NSURL url) { - return _lib._objc_msgSend_265( - this.pointer, - _lib._sel_matchesContentsOfURL_1, - url.pointer, - ); - } - - bool readFromURL_options_error_( - NSURL url, - int options, - ffi.Pointer> outError, - ) { - return _lib._objc_msgSend_1033( - this.pointer, - _lib._sel_readFromURL_options_error_1, - url.pointer, - options, - outError, - ); + return _objc_msgSend_265( + this.pointer, _sel_matchesContentsOfURL_, url.pointer); + } + + bool readFromURL_options_error_(NSURL url, int options, + ffi.Pointer> outError) { + return _objc_msgSend_1033(this.pointer, _sel_readFromURL_options_error_, + url.pointer, options, outError); } bool writeToURL_options_originalContentsURL_error_( - NSURL url, - int options, - NSURL? originalContentsURL, - ffi.Pointer> outError, - ) { - return _lib._objc_msgSend_1034( - this.pointer, - _lib._sel_writeToURL_options_originalContentsURL_error_1, - url.pointer, - options, - originalContentsURL?.pointer ?? ffi.nullptr, - outError, - ); + NSURL url, + int options, + NSURL? originalContentsURL, + ffi.Pointer> outError) { + return _objc_msgSend_1034( + this.pointer, + _sel_writeToURL_options_originalContentsURL_error_, + url.pointer, + options, + originalContentsURL?.pointer ?? ffi.nullptr, + outError); } NSData? get serializedRepresentation { - final _ret = _lib._objc_msgSend_286( - this.pointer, - _lib._sel_serializedRepresentation1, - ); + final _ret = _objc_msgSend_286(this.pointer, _sel_serializedRepresentation); return _ret.address == 0 ? null - : NSData._(_ret, _lib, retain: true, release: true); + : NSData._(_ret, retain: true, release: true); } NSString addFileWrapper_(NSFileWrapper child) { - final _ret = _lib._objc_msgSend_1035( - this.pointer, - _lib._sel_addFileWrapper_1, - child.pointer, - ); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_1035(this.pointer, _sel_addFileWrapper_, child.pointer); + return NSString._(_ret, retain: true, release: true); } NSString addRegularFileWithContents_preferredFilename_( - NSData data, - NSString fileName, - ) { - final _ret = _lib._objc_msgSend_1036( - this.pointer, - _lib._sel_addRegularFileWithContents_preferredFilename_1, - data.pointer, - fileName.pointer, - ); - return NSString._(_ret, _lib, retain: true, release: true); + NSData data, NSString fileName) { + final _ret = _objc_msgSend_1036( + this.pointer, + _sel_addRegularFileWithContents_preferredFilename_, + data.pointer, + fileName.pointer); + return NSString._(_ret, retain: true, release: true); } void removeFileWrapper_(NSFileWrapper child) { - _lib._objc_msgSend_1037( - this.pointer, - _lib._sel_removeFileWrapper_1, - child.pointer, - ); + _objc_msgSend_1037(this.pointer, _sel_removeFileWrapper_, child.pointer); } NSDictionary? get fileWrappers { - final _ret = _lib._objc_msgSend_390(this.pointer, _lib._sel_fileWrappers1); + final _ret = _objc_msgSend_390(this.pointer, _sel_fileWrappers); return _ret.address == 0 ? null - : NSDictionary._(_ret, _lib, retain: true, release: true); + : NSDictionary._(_ret, retain: true, release: true); } NSString? keyForFileWrapper_(NSFileWrapper child) { - final _ret = _lib._objc_msgSend_1038( - this.pointer, - _lib._sel_keyForFileWrapper_1, - child.pointer, - ); + final _ret = _objc_msgSend_1038( + this.pointer, _sel_keyForFileWrapper_, child.pointer); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } NSData? get regularFileContents { - final _ret = _lib._objc_msgSend_286( - this.pointer, - _lib._sel_regularFileContents1, - ); + final _ret = _objc_msgSend_286(this.pointer, _sel_regularFileContents); return _ret.address == 0 ? null - : NSData._(_ret, _lib, retain: true, release: true); + : NSData._(_ret, retain: true, release: true); } NSURL? get symbolicLinkDestinationURL { - final _ret = _lib._objc_msgSend_45( - this.pointer, - _lib._sel_symbolicLinkDestinationURL1, - ); + final _ret = + _objc_msgSend_45(this.pointer, _sel_symbolicLinkDestinationURL); return _ret.address == 0 ? null - : NSURL._(_ret, _lib, retain: true, release: true); + : NSURL._(_ret, retain: true, release: true); } NSObject? initWithPath_(NSString path) { - final _ret = _lib._objc_msgSend_38( - this.pointer, - _lib._sel_initWithPath_1, - path.pointer, - ); + final _ret = + _objc_msgSend_38(this.pointer, _sel_initWithPath_, path.pointer); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } NSObject initSymbolicLinkWithDestination_(NSString path) { - final _ret = _lib._objc_msgSend_31( - this.pointer, - _lib._sel_initSymbolicLinkWithDestination_1, - path.pointer, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_31( + this.pointer, _sel_initSymbolicLinkWithDestination_, path.pointer); + return NSObject._(_ret, retain: true, release: true); } bool needsToBeUpdatedFromPath_(NSString path) { - return _lib._objc_msgSend_64( - this.pointer, - _lib._sel_needsToBeUpdatedFromPath_1, - path.pointer, - ); + return _objc_msgSend_64( + this.pointer, _sel_needsToBeUpdatedFromPath_, path.pointer); } bool updateFromPath_(NSString path) { - return _lib._objc_msgSend_64( - this.pointer, - _lib._sel_updateFromPath_1, - path.pointer, - ); + return _objc_msgSend_64(this.pointer, _sel_updateFromPath_, path.pointer); } bool writeToFile_atomically_updateFilenames_( - NSString path, - bool atomicFlag, - bool updateFilenamesFlag, - ) { - return _lib._objc_msgSend_1039( - this.pointer, - _lib._sel_writeToFile_atomically_updateFilenames_1, - path.pointer, - atomicFlag, - updateFilenamesFlag, - ); + NSString path, bool atomicFlag, bool updateFilenamesFlag) { + return _objc_msgSend_1039( + this.pointer, + _sel_writeToFile_atomically_updateFilenames_, + path.pointer, + atomicFlag, + updateFilenamesFlag); } NSString addFileWithPath_(NSString path) { - final _ret = _lib._objc_msgSend_69( - this.pointer, - _lib._sel_addFileWithPath_1, - path.pointer, - ); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_69(this.pointer, _sel_addFileWithPath_, path.pointer); + return NSString._(_ret, retain: true, release: true); } NSString addSymbolicLinkWithDestination_preferredFilename_( - NSString path, - NSString filename, - ) { - final _ret = _lib._objc_msgSend_364( - this.pointer, - _lib._sel_addSymbolicLinkWithDestination_preferredFilename_1, - path.pointer, - filename.pointer, - ); - return NSString._(_ret, _lib, retain: true, release: true); + NSString path, NSString filename) { + final _ret = _objc_msgSend_364( + this.pointer, + _sel_addSymbolicLinkWithDestination_preferredFilename_, + path.pointer, + filename.pointer); + return NSString._(_ret, retain: true, release: true); } NSString symbolicLinkDestination() { - final _ret = _lib._objc_msgSend_21( - this.pointer, - _lib._sel_symbolicLinkDestination1, - ); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_symbolicLinkDestination); + return NSString._(_ret, retain: true, release: true); } @override NSFileWrapper init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSFileWrapper._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSFileWrapper._(_ret, retain: true, release: true); } - static NSFileWrapper new1(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSFileWrapper1, - _lib._sel_new1, - ); - return NSFileWrapper._(_ret, _lib, retain: false, release: true); + static NSFileWrapper new1() { + final _ret = _objc_msgSend_2(_class_NSFileWrapper, _sel_new); + return NSFileWrapper._(_ret, retain: false, release: true); } - static NSFileWrapper allocWithZone_( - AVFAudio _lib, - ffi.Pointer<_NSZone> zone, - ) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSFileWrapper1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSFileWrapper._(_ret, _lib, retain: false, release: true); + static NSFileWrapper allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = + _objc_msgSend_3(_class_NSFileWrapper, _sel_allocWithZone_, zone); + return NSFileWrapper._(_ret, retain: false, release: true); } - static NSFileWrapper alloc(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSFileWrapper1, - _lib._sel_alloc1, - ); - return NSFileWrapper._(_ret, _lib, retain: false, release: true); + static NSFileWrapper alloc() { + final _ret = _objc_msgSend_2(_class_NSFileWrapper, _sel_alloc); + return NSFileWrapper._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSFileWrapper1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSFileWrapper1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSFileWrapper1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSFileWrapper1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSFileWrapper1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSFileWrapper1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSFileWrapper, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); + } + + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSFileWrapper, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); + } + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSFileWrapper, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSFileWrapper, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSFileWrapper, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSFileWrapper, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); } static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSFileWrapper1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSFileWrapper1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSFileWrapper1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSFileWrapper, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = _objc_msgSend_85( + _class_NSFileWrapper, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = + _objc_msgSend_2(_class_NSFileWrapper, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); } } +late final _class_NSFileWrapper = objc.getClass("NSFileWrapper"); + abstract class NSFileWrapperReadingOptions { static const int NSFileWrapperReadingImmediate = 1; static const int NSFileWrapperReadingWithoutMapping = 2; } +late final _sel_initWithURL_options_error_ = + objc.registerName("initWithURL:options:error:"); +final _objc_msgSend_1032 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer url, + ffi.Int32 options, + ffi.Pointer> outError)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer>)>(); +late final _sel_initDirectoryWithFileWrappers_ = + objc.registerName("initDirectoryWithFileWrappers:"); +late final _sel_initRegularFileWithContents_ = + objc.registerName("initRegularFileWithContents:"); +late final _sel_initSymbolicLinkWithDestinationURL_ = + objc.registerName("initSymbolicLinkWithDestinationURL:"); +late final _sel_initWithSerializedRepresentation_ = + objc.registerName("initWithSerializedRepresentation:"); +late final _sel_isDirectory = objc.registerName("isDirectory"); +late final _sel_isRegularFile = objc.registerName("isRegularFile"); +late final _sel_isSymbolicLink = objc.registerName("isSymbolicLink"); +late final _sel_preferredFilename = objc.registerName("preferredFilename"); +late final _sel_setPreferredFilename_ = + objc.registerName("setPreferredFilename:"); +late final _sel_filename = objc.registerName("filename"); +late final _sel_setFilename_ = objc.registerName("setFilename:"); +late final _sel_fileAttributes = objc.registerName("fileAttributes"); +late final _sel_setFileAttributes_ = objc.registerName("setFileAttributes:"); +late final _sel_matchesContentsOfURL_ = + objc.registerName("matchesContentsOfURL:"); +late final _sel_readFromURL_options_error_ = + objc.registerName("readFromURL:options:error:"); +final _objc_msgSend_1033 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer url, + ffi.Int32 options, + ffi.Pointer> outError)>>() + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer>)>(); + abstract class NSFileWrapperWritingOptions { static const int NSFileWrapperWritingAtomic = 1; static const int NSFileWrapperWritingWithNameUpdating = 2; } +late final _sel_writeToURL_options_originalContentsURL_error_ = + objc.registerName("writeToURL:options:originalContentsURL:error:"); +final _objc_msgSend_1034 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer url, + ffi.Int32 options, + ffi.Pointer originalContentsURL, + ffi.Pointer> outError)>>() + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ffi.Pointer>)>(); +late final _sel_serializedRepresentation = + objc.registerName("serializedRepresentation"); +late final _sel_addFileWrapper_ = objc.registerName("addFileWrapper:"); +final _objc_msgSend_1035 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer child)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_addRegularFileWithContents_preferredFilename_ = + objc.registerName("addRegularFileWithContents:preferredFilename:"); +final _objc_msgSend_1036 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer data, + ffi.Pointer fileName)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_removeFileWrapper_ = objc.registerName("removeFileWrapper:"); +final _objc_msgSend_1037 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer child)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_fileWrappers = objc.registerName("fileWrappers"); +late final _sel_keyForFileWrapper_ = objc.registerName("keyForFileWrapper:"); +final _objc_msgSend_1038 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer child)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_regularFileContents = objc.registerName("regularFileContents"); +late final _sel_symbolicLinkDestinationURL = + objc.registerName("symbolicLinkDestinationURL"); +late final _sel_initSymbolicLinkWithDestination_ = + objc.registerName("initSymbolicLinkWithDestination:"); +late final _sel_needsToBeUpdatedFromPath_ = + objc.registerName("needsToBeUpdatedFromPath:"); +late final _sel_updateFromPath_ = objc.registerName("updateFromPath:"); +late final _sel_writeToFile_atomically_updateFilenames_ = + objc.registerName("writeToFile:atomically:updateFilenames:"); +final _objc_msgSend_1039 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer path, + ffi.Bool atomicFlag, + ffi.Bool updateFilenamesFlag)>>() + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool, + bool)>(); +late final _sel_addFileWithPath_ = objc.registerName("addFileWithPath:"); +late final _sel_addSymbolicLinkWithDestination_preferredFilename_ = + objc.registerName("addSymbolicLinkWithDestination:preferredFilename:"); +late final _sel_symbolicLinkDestination = + objc.registerName("symbolicLinkDestination"); + class NSURLSession extends NSObject { - NSURLSession._( - ffi.Pointer pointer, - AVFAudio lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSURLSession._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSURLSession] that points to the same underlying object as [other]. - static NSURLSession castFrom( - AVFAudio lib, - T other, - ) { - return NSURLSession._(other.pointer, lib, retain: true, release: true); + static NSURLSession castFrom(T other) { + return NSURLSession._(other.pointer, retain: true, release: true); } /// Returns a [NSURLSession] that wraps the given raw object pointer. - static NSURLSession castFromPointer( - AVFAudio lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSURLSession._(other, lib, retain: retain, release: release); + static NSURLSession castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSURLSession._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSURLSession]. - static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSURLSession1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0( + obj.pointer, _sel_isKindOfClass_, _class_NSURLSession); } - static NSURLSession getSharedSession(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_1040( - _lib._class_NSURLSession1, - _lib._sel_sharedSession1, - ); - return NSURLSession._(_ret, _lib, retain: true, release: true); + static NSURLSession getSharedSession() { + final _ret = _objc_msgSend_1040(_class_NSURLSession, _sel_sharedSession); + return NSURLSession._(_ret, retain: true, release: true); } static NSURLSession sessionWithConfiguration_( - AVFAudio _lib, - NSURLSessionConfiguration configuration, - ) { - final _ret = _lib._objc_msgSend_1056( - _lib._class_NSURLSession1, - _lib._sel_sessionWithConfiguration_1, - configuration.pointer, - ); - return NSURLSession._(_ret, _lib, retain: true, release: true); + NSURLSessionConfiguration configuration) { + final _ret = _objc_msgSend_1056(_class_NSURLSession, + _sel_sessionWithConfiguration_, configuration.pointer); + return NSURLSession._(_ret, retain: true, release: true); } static NSURLSession sessionWithConfiguration_delegate_delegateQueue_( - AVFAudio _lib, - NSURLSessionConfiguration configuration, - NSObject? delegate, - NSOperationQueue? queue, - ) { - final _ret = _lib._objc_msgSend_1057( - _lib._class_NSURLSession1, - _lib._sel_sessionWithConfiguration_delegate_delegateQueue_1, - configuration.pointer, - delegate?.pointer ?? ffi.nullptr, - queue?.pointer ?? ffi.nullptr, - ); - return NSURLSession._(_ret, _lib, retain: true, release: true); + NSURLSessionConfiguration configuration, + NSObject? delegate, + NSOperationQueue? queue) { + final _ret = _objc_msgSend_1057( + _class_NSURLSession, + _sel_sessionWithConfiguration_delegate_delegateQueue_, + configuration.pointer, + delegate?.pointer ?? ffi.nullptr, + queue?.pointer ?? ffi.nullptr); + return NSURLSession._(_ret, retain: true, release: true); } NSOperationQueue get delegateQueue { - final _ret = _lib._objc_msgSend_917(this.pointer, _lib._sel_delegateQueue1); - return NSOperationQueue._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_917(this.pointer, _sel_delegateQueue); + return NSOperationQueue._(_ret, retain: true, release: true); } NSObject? get delegate { - final _ret = _lib._objc_msgSend_17(this.pointer, _lib._sel_delegate1); + final _ret = _objc_msgSend_17(this.pointer, _sel_delegate); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } NSURLSessionConfiguration get configuration { - final _ret = _lib._objc_msgSend_1041( - this.pointer, - _lib._sel_configuration1, - ); - return NSURLSessionConfiguration._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_1041(this.pointer, _sel_configuration); + return NSURLSessionConfiguration._(_ret, retain: true, release: true); } NSString? get sessionDescription { - final _ret = _lib._objc_msgSend_44( - this.pointer, - _lib._sel_sessionDescription1, - ); + final _ret = _objc_msgSend_44(this.pointer, _sel_sessionDescription); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } set sessionDescription(NSString? value) { - return _lib._objc_msgSend_545( - this.pointer, - _lib._sel_setSessionDescription_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_545(this.pointer, _sel_setSessionDescription_, + value?.pointer ?? ffi.nullptr); } void finishTasksAndInvalidate() { - _lib._objc_msgSend_1(this.pointer, _lib._sel_finishTasksAndInvalidate1); + _objc_msgSend_1(this.pointer, _sel_finishTasksAndInvalidate); } void invalidateAndCancel() { - _lib._objc_msgSend_1(this.pointer, _lib._sel_invalidateAndCancel1); + _objc_msgSend_1(this.pointer, _sel_invalidateAndCancel); } void resetWithCompletionHandler_(ObjCBlock_ffiVoid completionHandler) { - _lib._objc_msgSend_532( - this.pointer, - _lib._sel_resetWithCompletionHandler_1, - completionHandler.pointer, - ); + _objc_msgSend_532(this.pointer, _sel_resetWithCompletionHandler_, + completionHandler.pointer); } void flushWithCompletionHandler_(ObjCBlock_ffiVoid completionHandler) { - _lib._objc_msgSend_532( - this.pointer, - _lib._sel_flushWithCompletionHandler_1, - completionHandler.pointer, - ); + _objc_msgSend_532(this.pointer, _sel_flushWithCompletionHandler_, + completionHandler.pointer); } void getTasksWithCompletionHandler_( - ObjCBlock_ffiVoid_NSArray_NSArray_NSArray completionHandler, - ) { - _lib._objc_msgSend_1058( - this.pointer, - _lib._sel_getTasksWithCompletionHandler_1, - completionHandler.pointer, - ); + ObjCBlock_ffiVoid_NSArray_NSArray_NSArray completionHandler) { + _objc_msgSend_1058(this.pointer, _sel_getTasksWithCompletionHandler_, + completionHandler.pointer); } void getAllTasksWithCompletionHandler_( - ObjCBlock_ffiVoid_NSArray1 completionHandler, - ) { - _lib._objc_msgSend_1059( - this.pointer, - _lib._sel_getAllTasksWithCompletionHandler_1, - completionHandler.pointer, - ); + ObjCBlock_ffiVoid_NSArray1 completionHandler) { + _objc_msgSend_1059(this.pointer, _sel_getAllTasksWithCompletionHandler_, + completionHandler.pointer); } NSURLSessionDataTask dataTaskWithRequest_(NSURLRequest request) { - final _ret = _lib._objc_msgSend_1060( - this.pointer, - _lib._sel_dataTaskWithRequest_1, - request.pointer, - ); - return NSURLSessionDataTask._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_1060( + this.pointer, _sel_dataTaskWithRequest_, request.pointer); + return NSURLSessionDataTask._(_ret, retain: true, release: true); } NSURLSessionDataTask dataTaskWithURL_(NSURL url) { - final _ret = _lib._objc_msgSend_1061( - this.pointer, - _lib._sel_dataTaskWithURL_1, - url.pointer, - ); - return NSURLSessionDataTask._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_1061(this.pointer, _sel_dataTaskWithURL_, url.pointer); + return NSURLSessionDataTask._(_ret, retain: true, release: true); } NSURLSessionUploadTask uploadTaskWithRequest_fromFile_( - NSURLRequest request, - NSURL fileURL, - ) { - final _ret = _lib._objc_msgSend_1063( - this.pointer, - _lib._sel_uploadTaskWithRequest_fromFile_1, - request.pointer, - fileURL.pointer, - ); - return NSURLSessionUploadTask._(_ret, _lib, retain: true, release: true); + NSURLRequest request, NSURL fileURL) { + final _ret = _objc_msgSend_1063(this.pointer, + _sel_uploadTaskWithRequest_fromFile_, request.pointer, fileURL.pointer); + return NSURLSessionUploadTask._(_ret, retain: true, release: true); } NSURLSessionUploadTask uploadTaskWithRequest_fromData_( - NSURLRequest request, - NSData bodyData, - ) { - final _ret = _lib._objc_msgSend_1064( - this.pointer, - _lib._sel_uploadTaskWithRequest_fromData_1, - request.pointer, - bodyData.pointer, - ); - return NSURLSessionUploadTask._(_ret, _lib, retain: true, release: true); + NSURLRequest request, NSData bodyData) { + final _ret = _objc_msgSend_1064( + this.pointer, + _sel_uploadTaskWithRequest_fromData_, + request.pointer, + bodyData.pointer); + return NSURLSessionUploadTask._(_ret, retain: true, release: true); } NSURLSessionUploadTask uploadTaskWithResumeData_(NSData resumeData) { - final _ret = _lib._objc_msgSend_1065( - this.pointer, - _lib._sel_uploadTaskWithResumeData_1, - resumeData.pointer, - ); - return NSURLSessionUploadTask._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_1065( + this.pointer, _sel_uploadTaskWithResumeData_, resumeData.pointer); + return NSURLSessionUploadTask._(_ret, retain: true, release: true); } NSURLSessionUploadTask uploadTaskWithStreamedRequest_(NSURLRequest request) { - final _ret = _lib._objc_msgSend_1066( - this.pointer, - _lib._sel_uploadTaskWithStreamedRequest_1, - request.pointer, - ); - return NSURLSessionUploadTask._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_1066( + this.pointer, _sel_uploadTaskWithStreamedRequest_, request.pointer); + return NSURLSessionUploadTask._(_ret, retain: true, release: true); } NSURLSessionDownloadTask downloadTaskWithRequest_(NSURLRequest request) { - final _ret = _lib._objc_msgSend_1067( - this.pointer, - _lib._sel_downloadTaskWithRequest_1, - request.pointer, - ); - return NSURLSessionDownloadTask._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_1067( + this.pointer, _sel_downloadTaskWithRequest_, request.pointer); + return NSURLSessionDownloadTask._(_ret, retain: true, release: true); } NSURLSessionDownloadTask downloadTaskWithURL_(NSURL url) { - final _ret = _lib._objc_msgSend_1068( - this.pointer, - _lib._sel_downloadTaskWithURL_1, - url.pointer, - ); - return NSURLSessionDownloadTask._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_1068( + this.pointer, _sel_downloadTaskWithURL_, url.pointer); + return NSURLSessionDownloadTask._(_ret, retain: true, release: true); } NSURLSessionDownloadTask downloadTaskWithResumeData_(NSData resumeData) { - final _ret = _lib._objc_msgSend_1069( - this.pointer, - _lib._sel_downloadTaskWithResumeData_1, - resumeData.pointer, - ); - return NSURLSessionDownloadTask._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_1069( + this.pointer, _sel_downloadTaskWithResumeData_, resumeData.pointer); + return NSURLSessionDownloadTask._(_ret, retain: true, release: true); } NSURLSessionStreamTask streamTaskWithHostName_port_( - NSString hostname, - int port, - ) { - final _ret = _lib._objc_msgSend_1072( - this.pointer, - _lib._sel_streamTaskWithHostName_port_1, - hostname.pointer, - port, - ); - return NSURLSessionStreamTask._(_ret, _lib, retain: true, release: true); + NSString hostname, int port) { + final _ret = _objc_msgSend_1072(this.pointer, + _sel_streamTaskWithHostName_port_, hostname.pointer, port); + return NSURLSessionStreamTask._(_ret, retain: true, release: true); } NSURLSessionStreamTask streamTaskWithNetService_(NSNetService service) { - final _ret = _lib._objc_msgSend_1080( - this.pointer, - _lib._sel_streamTaskWithNetService_1, - service.pointer, - ); - return NSURLSessionStreamTask._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_1080( + this.pointer, _sel_streamTaskWithNetService_, service.pointer); + return NSURLSessionStreamTask._(_ret, retain: true, release: true); } NSURLSessionWebSocketTask webSocketTaskWithURL_(NSURL url) { - final _ret = _lib._objc_msgSend_1087( - this.pointer, - _lib._sel_webSocketTaskWithURL_1, - url.pointer, - ); - return NSURLSessionWebSocketTask._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_1087( + this.pointer, _sel_webSocketTaskWithURL_, url.pointer); + return NSURLSessionWebSocketTask._(_ret, retain: true, release: true); } NSURLSessionWebSocketTask webSocketTaskWithURL_protocols_( - NSURL url, - NSArray protocols, - ) { - final _ret = _lib._objc_msgSend_1088( - this.pointer, - _lib._sel_webSocketTaskWithURL_protocols_1, - url.pointer, - protocols.pointer, - ); - return NSURLSessionWebSocketTask._(_ret, _lib, retain: true, release: true); + NSURL url, NSArray protocols) { + final _ret = _objc_msgSend_1088(this.pointer, + _sel_webSocketTaskWithURL_protocols_, url.pointer, protocols.pointer); + return NSURLSessionWebSocketTask._(_ret, retain: true, release: true); } NSURLSessionWebSocketTask webSocketTaskWithRequest_(NSURLRequest request) { - final _ret = _lib._objc_msgSend_1089( - this.pointer, - _lib._sel_webSocketTaskWithRequest_1, - request.pointer, - ); - return NSURLSessionWebSocketTask._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_1089( + this.pointer, _sel_webSocketTaskWithRequest_, request.pointer); + return NSURLSessionWebSocketTask._(_ret, retain: true, release: true); } @override NSURLSession init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSURLSession._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSURLSession._(_ret, retain: true, release: true); } - static NSURLSession new1(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLSession1, - _lib._sel_new1, - ); - return NSURLSession._(_ret, _lib, retain: false, release: true); + static NSURLSession new1() { + final _ret = _objc_msgSend_2(_class_NSURLSession, _sel_new); + return NSURLSession._(_ret, retain: false, release: true); } NSURLSessionDataTask dataTaskWithRequest_completionHandler_( - NSURLRequest request, - ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError completionHandler, - ) { - final _ret = _lib._objc_msgSend_1090( - this.pointer, - _lib._sel_dataTaskWithRequest_completionHandler_1, - request.pointer, - completionHandler.pointer, - ); - return NSURLSessionDataTask._(_ret, _lib, retain: true, release: true); - } - - NSURLSessionDataTask dataTaskWithURL_completionHandler_( - NSURL url, - ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError completionHandler, - ) { - final _ret = _lib._objc_msgSend_1091( - this.pointer, - _lib._sel_dataTaskWithURL_completionHandler_1, - url.pointer, - completionHandler.pointer, - ); - return NSURLSessionDataTask._(_ret, _lib, retain: true, release: true); + NSURLRequest request, + ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError completionHandler) { + final _ret = _objc_msgSend_1090( + this.pointer, + _sel_dataTaskWithRequest_completionHandler_, + request.pointer, + completionHandler.pointer); + return NSURLSessionDataTask._(_ret, retain: true, release: true); + } + + NSURLSessionDataTask dataTaskWithURL_completionHandler_(NSURL url, + ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError completionHandler) { + final _ret = _objc_msgSend_1091( + this.pointer, + _sel_dataTaskWithURL_completionHandler_, + url.pointer, + completionHandler.pointer); + return NSURLSessionDataTask._(_ret, retain: true, release: true); } NSURLSessionUploadTask uploadTaskWithRequest_fromFile_completionHandler_( - NSURLRequest request, - NSURL fileURL, - ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError completionHandler, - ) { - final _ret = _lib._objc_msgSend_1092( - this.pointer, - _lib._sel_uploadTaskWithRequest_fromFile_completionHandler_1, - request.pointer, - fileURL.pointer, - completionHandler.pointer, - ); - return NSURLSessionUploadTask._(_ret, _lib, retain: true, release: true); + NSURLRequest request, + NSURL fileURL, + ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError completionHandler) { + final _ret = _objc_msgSend_1092( + this.pointer, + _sel_uploadTaskWithRequest_fromFile_completionHandler_, + request.pointer, + fileURL.pointer, + completionHandler.pointer); + return NSURLSessionUploadTask._(_ret, retain: true, release: true); } NSURLSessionUploadTask uploadTaskWithRequest_fromData_completionHandler_( - NSURLRequest request, - NSData? bodyData, - ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError completionHandler, - ) { - final _ret = _lib._objc_msgSend_1093( - this.pointer, - _lib._sel_uploadTaskWithRequest_fromData_completionHandler_1, - request.pointer, - bodyData?.pointer ?? ffi.nullptr, - completionHandler.pointer, - ); - return NSURLSessionUploadTask._(_ret, _lib, retain: true, release: true); + NSURLRequest request, + NSData? bodyData, + ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError completionHandler) { + final _ret = _objc_msgSend_1093( + this.pointer, + _sel_uploadTaskWithRequest_fromData_completionHandler_, + request.pointer, + bodyData?.pointer ?? ffi.nullptr, + completionHandler.pointer); + return NSURLSessionUploadTask._(_ret, retain: true, release: true); } NSURLSessionUploadTask uploadTaskWithResumeData_completionHandler_( - NSData resumeData, - ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError completionHandler, - ) { - final _ret = _lib._objc_msgSend_1094( - this.pointer, - _lib._sel_uploadTaskWithResumeData_completionHandler_1, - resumeData.pointer, - completionHandler.pointer, - ); - return NSURLSessionUploadTask._(_ret, _lib, retain: true, release: true); + NSData resumeData, + ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError completionHandler) { + final _ret = _objc_msgSend_1094( + this.pointer, + _sel_uploadTaskWithResumeData_completionHandler_, + resumeData.pointer, + completionHandler.pointer); + return NSURLSessionUploadTask._(_ret, retain: true, release: true); } NSURLSessionDownloadTask downloadTaskWithRequest_completionHandler_( - NSURLRequest request, - ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError completionHandler, - ) { - final _ret = _lib._objc_msgSend_1095( - this.pointer, - _lib._sel_downloadTaskWithRequest_completionHandler_1, - request.pointer, - completionHandler.pointer, - ); - return NSURLSessionDownloadTask._(_ret, _lib, retain: true, release: true); - } - - NSURLSessionDownloadTask downloadTaskWithURL_completionHandler_( - NSURL url, - ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError completionHandler, - ) { - final _ret = _lib._objc_msgSend_1096( - this.pointer, - _lib._sel_downloadTaskWithURL_completionHandler_1, - url.pointer, - completionHandler.pointer, - ); - return NSURLSessionDownloadTask._(_ret, _lib, retain: true, release: true); + NSURLRequest request, + ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError completionHandler) { + final _ret = _objc_msgSend_1095( + this.pointer, + _sel_downloadTaskWithRequest_completionHandler_, + request.pointer, + completionHandler.pointer); + return NSURLSessionDownloadTask._(_ret, retain: true, release: true); + } + + NSURLSessionDownloadTask downloadTaskWithURL_completionHandler_(NSURL url, + ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError completionHandler) { + final _ret = _objc_msgSend_1096( + this.pointer, + _sel_downloadTaskWithURL_completionHandler_, + url.pointer, + completionHandler.pointer); + return NSURLSessionDownloadTask._(_ret, retain: true, release: true); } NSURLSessionDownloadTask downloadTaskWithResumeData_completionHandler_( - NSData resumeData, - ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError completionHandler, - ) { - final _ret = _lib._objc_msgSend_1097( - this.pointer, - _lib._sel_downloadTaskWithResumeData_completionHandler_1, - resumeData.pointer, - completionHandler.pointer, - ); - return NSURLSessionDownloadTask._(_ret, _lib, retain: true, release: true); - } - - static NSURLSession allocWithZone_(AVFAudio _lib, ffi.Pointer<_NSZone> zone) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSURLSession1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSURLSession._(_ret, _lib, retain: false, release: true); - } - - static NSURLSession alloc(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLSession1, - _lib._sel_alloc1, - ); - return NSURLSession._(_ret, _lib, retain: false, release: true); + NSData resumeData, + ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError completionHandler) { + final _ret = _objc_msgSend_1097( + this.pointer, + _sel_downloadTaskWithResumeData_completionHandler_, + resumeData.pointer, + completionHandler.pointer); + return NSURLSessionDownloadTask._(_ret, retain: true, release: true); + } + + static NSURLSession allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = + _objc_msgSend_3(_class_NSURLSession, _sel_allocWithZone_, zone); + return NSURLSession._(_ret, retain: false, release: true); + } + + static NSURLSession alloc() { + final _ret = _objc_msgSend_2(_class_NSURLSession, _sel_alloc); + return NSURLSession._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSURLSession1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSURLSession1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSURLSession1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSURLSession1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSURLSession1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSURLSession1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSURLSession, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); + } + + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSURLSession, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); + } + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSURLSession, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSURLSession, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSURLSession, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSURLSession, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); } static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSURLSession1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSURLSession1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLSession1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSURLSession, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = _objc_msgSend_85( + _class_NSURLSession, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = + _objc_msgSend_2(_class_NSURLSession, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); } } +late final _class_NSURLSession = objc.getClass("NSURLSession"); +late final _sel_sharedSession = objc.registerName("sharedSession"); +final _objc_msgSend_1040 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); + class NSURLSessionConfiguration extends NSObject { - NSURLSessionConfiguration._( - ffi.Pointer pointer, - AVFAudio lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSURLSessionConfiguration._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSURLSessionConfiguration] that points to the same underlying object as [other]. static NSURLSessionConfiguration castFrom( - AVFAudio lib, - T other, - ) { - return NSURLSessionConfiguration._( - other.pointer, - lib, - retain: true, - release: true, - ); + T other) { + return NSURLSessionConfiguration._(other.pointer, + retain: true, release: true); } /// Returns a [NSURLSessionConfiguration] that wraps the given raw object pointer. static NSURLSessionConfiguration castFromPointer( - AVFAudio lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSURLSessionConfiguration._( - other, - lib, - retain: retain, - release: release, - ); + ffi.Pointer other, + {bool retain = false, + bool release = false}) { + return NSURLSessionConfiguration._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSURLSessionConfiguration]. - static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSURLSessionConfiguration1, - ); - } - - static NSURLSessionConfiguration getDefaultSessionConfiguration( - AVFAudio _lib, - ) { - final _ret = _lib._objc_msgSend_1041( - _lib._class_NSURLSessionConfiguration1, - _lib._sel_defaultSessionConfiguration1, - ); - return NSURLSessionConfiguration._(_ret, _lib, retain: true, release: true); - } - - static NSURLSessionConfiguration getEphemeralSessionConfiguration( - AVFAudio _lib, - ) { - final _ret = _lib._objc_msgSend_1041( - _lib._class_NSURLSessionConfiguration1, - _lib._sel_ephemeralSessionConfiguration1, - ); - return NSURLSessionConfiguration._(_ret, _lib, retain: true, release: true); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0( + obj.pointer, _sel_isKindOfClass_, _class_NSURLSessionConfiguration); + } + + static NSURLSessionConfiguration getDefaultSessionConfiguration() { + final _ret = _objc_msgSend_1041( + _class_NSURLSessionConfiguration, _sel_defaultSessionConfiguration); + return NSURLSessionConfiguration._(_ret, retain: true, release: true); + } + + static NSURLSessionConfiguration getEphemeralSessionConfiguration() { + final _ret = _objc_msgSend_1041( + _class_NSURLSessionConfiguration, _sel_ephemeralSessionConfiguration); + return NSURLSessionConfiguration._(_ret, retain: true, release: true); } static NSURLSessionConfiguration - backgroundSessionConfigurationWithIdentifier_( - AVFAudio _lib, - NSString identifier, - ) { - final _ret = _lib._objc_msgSend_1042( - _lib._class_NSURLSessionConfiguration1, - _lib._sel_backgroundSessionConfigurationWithIdentifier_1, - identifier.pointer, - ); - return NSURLSessionConfiguration._(_ret, _lib, retain: true, release: true); + backgroundSessionConfigurationWithIdentifier_(NSString identifier) { + final _ret = _objc_msgSend_1042(_class_NSURLSessionConfiguration, + _sel_backgroundSessionConfigurationWithIdentifier_, identifier.pointer); + return NSURLSessionConfiguration._(_ret, retain: true, release: true); } NSString? get identifier { - final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_identifier1); + final _ret = _objc_msgSend_44(this.pointer, _sel_identifier); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } int get requestCachePolicy { - return _lib._objc_msgSend_859(this.pointer, _lib._sel_requestCachePolicy1); + return _objc_msgSend_859(this.pointer, _sel_requestCachePolicy); } set requestCachePolicy(int value) { - return _lib._objc_msgSend_1017( - this.pointer, - _lib._sel_setRequestCachePolicy_1, - value, - ); + return _objc_msgSend_1017(this.pointer, _sel_setRequestCachePolicy_, value); } double get timeoutIntervalForRequest { return objc.useMsgSendVariants - ? _lib._objc_msgSend_165_fpret( - this.pointer, - _lib._sel_timeoutIntervalForRequest1, - ) - : _lib._objc_msgSend_165( - this.pointer, - _lib._sel_timeoutIntervalForRequest1, - ); + ? _objc_msgSend_165Fpret(this.pointer, _sel_timeoutIntervalForRequest) + : _objc_msgSend_165(this.pointer, _sel_timeoutIntervalForRequest); } set timeoutIntervalForRequest(double value) { - return _lib._objc_msgSend_542( - this.pointer, - _lib._sel_setTimeoutIntervalForRequest_1, - value, - ); + return _objc_msgSend_542( + this.pointer, _sel_setTimeoutIntervalForRequest_, value); } double get timeoutIntervalForResource { return objc.useMsgSendVariants - ? _lib._objc_msgSend_165_fpret( - this.pointer, - _lib._sel_timeoutIntervalForResource1, - ) - : _lib._objc_msgSend_165( - this.pointer, - _lib._sel_timeoutIntervalForResource1, - ); + ? _objc_msgSend_165Fpret(this.pointer, _sel_timeoutIntervalForResource) + : _objc_msgSend_165(this.pointer, _sel_timeoutIntervalForResource); } set timeoutIntervalForResource(double value) { - return _lib._objc_msgSend_542( - this.pointer, - _lib._sel_setTimeoutIntervalForResource_1, - value, - ); + return _objc_msgSend_542( + this.pointer, _sel_setTimeoutIntervalForResource_, value); } int get networkServiceType { - return _lib._objc_msgSend_860(this.pointer, _lib._sel_networkServiceType1); + return _objc_msgSend_860(this.pointer, _sel_networkServiceType); } set networkServiceType(int value) { - return _lib._objc_msgSend_1018( - this.pointer, - _lib._sel_setNetworkServiceType_1, - value, - ); + return _objc_msgSend_1018(this.pointer, _sel_setNetworkServiceType_, value); } bool get allowsCellularAccess { - return _lib._objc_msgSend_12(this.pointer, _lib._sel_allowsCellularAccess1); + return _objc_msgSend_12(this.pointer, _sel_allowsCellularAccess); } set allowsCellularAccess(bool value) { - return _lib._objc_msgSend_527( - this.pointer, - _lib._sel_setAllowsCellularAccess_1, - value, - ); + return _objc_msgSend_527( + this.pointer, _sel_setAllowsCellularAccess_, value); } bool get allowsExpensiveNetworkAccess { - return _lib._objc_msgSend_12( - this.pointer, - _lib._sel_allowsExpensiveNetworkAccess1, - ); + return _objc_msgSend_12(this.pointer, _sel_allowsExpensiveNetworkAccess); } set allowsExpensiveNetworkAccess(bool value) { - return _lib._objc_msgSend_527( - this.pointer, - _lib._sel_setAllowsExpensiveNetworkAccess_1, - value, - ); + return _objc_msgSend_527( + this.pointer, _sel_setAllowsExpensiveNetworkAccess_, value); } bool get allowsConstrainedNetworkAccess { - return _lib._objc_msgSend_12( - this.pointer, - _lib._sel_allowsConstrainedNetworkAccess1, - ); + return _objc_msgSend_12(this.pointer, _sel_allowsConstrainedNetworkAccess); } set allowsConstrainedNetworkAccess(bool value) { - return _lib._objc_msgSend_527( - this.pointer, - _lib._sel_setAllowsConstrainedNetworkAccess_1, - value, - ); + return _objc_msgSend_527( + this.pointer, _sel_setAllowsConstrainedNetworkAccess_, value); } bool get requiresDNSSECValidation { - return _lib._objc_msgSend_12( - this.pointer, - _lib._sel_requiresDNSSECValidation1, - ); + return _objc_msgSend_12(this.pointer, _sel_requiresDNSSECValidation); } set requiresDNSSECValidation(bool value) { - return _lib._objc_msgSend_527( - this.pointer, - _lib._sel_setRequiresDNSSECValidation_1, - value, - ); + return _objc_msgSend_527( + this.pointer, _sel_setRequiresDNSSECValidation_, value); } bool get waitsForConnectivity { - return _lib._objc_msgSend_12(this.pointer, _lib._sel_waitsForConnectivity1); + return _objc_msgSend_12(this.pointer, _sel_waitsForConnectivity); } set waitsForConnectivity(bool value) { - return _lib._objc_msgSend_527( - this.pointer, - _lib._sel_setWaitsForConnectivity_1, - value, - ); + return _objc_msgSend_527( + this.pointer, _sel_setWaitsForConnectivity_, value); } bool get discretionary { - return _lib._objc_msgSend_12(this.pointer, _lib._sel_isDiscretionary1); + return _objc_msgSend_12(this.pointer, _sel_isDiscretionary); } set discretionary(bool value) { - return _lib._objc_msgSend_527( - this.pointer, - _lib._sel_setDiscretionary_1, - value, - ); + return _objc_msgSend_527(this.pointer, _sel_setDiscretionary_, value); } NSString? get sharedContainerIdentifier { - final _ret = _lib._objc_msgSend_44( - this.pointer, - _lib._sel_sharedContainerIdentifier1, - ); + final _ret = _objc_msgSend_44(this.pointer, _sel_sharedContainerIdentifier); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } set sharedContainerIdentifier(NSString? value) { - return _lib._objc_msgSend_545( - this.pointer, - _lib._sel_setSharedContainerIdentifier_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_545(this.pointer, _sel_setSharedContainerIdentifier_, + value?.pointer ?? ffi.nullptr); } bool get sessionSendsLaunchEvents { - return _lib._objc_msgSend_12( - this.pointer, - _lib._sel_sessionSendsLaunchEvents1, - ); + return _objc_msgSend_12(this.pointer, _sel_sessionSendsLaunchEvents); } set sessionSendsLaunchEvents(bool value) { - return _lib._objc_msgSend_527( - this.pointer, - _lib._sel_setSessionSendsLaunchEvents_1, - value, - ); + return _objc_msgSend_527( + this.pointer, _sel_setSessionSendsLaunchEvents_, value); } NSDictionary? get connectionProxyDictionary { - final _ret = _lib._objc_msgSend_390( - this.pointer, - _lib._sel_connectionProxyDictionary1, - ); + final _ret = + _objc_msgSend_390(this.pointer, _sel_connectionProxyDictionary); return _ret.address == 0 ? null - : NSDictionary._(_ret, _lib, retain: true, release: true); + : NSDictionary._(_ret, retain: true, release: true); } set connectionProxyDictionary(NSDictionary? value) { - return _lib._objc_msgSend_634( - this.pointer, - _lib._sel_setConnectionProxyDictionary_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_634(this.pointer, _sel_setConnectionProxyDictionary_, + value?.pointer ?? ffi.nullptr); } int get TLSMinimumSupportedProtocol { - return _lib._objc_msgSend_1043( - this.pointer, - _lib._sel_TLSMinimumSupportedProtocol1, - ); + return _objc_msgSend_1043(this.pointer, _sel_TLSMinimumSupportedProtocol); } set TLSMinimumSupportedProtocol(int value) { - return _lib._objc_msgSend_1044( - this.pointer, - _lib._sel_setTLSMinimumSupportedProtocol_1, - value, - ); + return _objc_msgSend_1044( + this.pointer, _sel_setTLSMinimumSupportedProtocol_, value); } int get TLSMaximumSupportedProtocol { - return _lib._objc_msgSend_1043( - this.pointer, - _lib._sel_TLSMaximumSupportedProtocol1, - ); + return _objc_msgSend_1043(this.pointer, _sel_TLSMaximumSupportedProtocol); } set TLSMaximumSupportedProtocol(int value) { - return _lib._objc_msgSend_1044( - this.pointer, - _lib._sel_setTLSMaximumSupportedProtocol_1, - value, - ); + return _objc_msgSend_1044( + this.pointer, _sel_setTLSMaximumSupportedProtocol_, value); } int get TLSMinimumSupportedProtocolVersion { - return _lib._objc_msgSend_1045( - this.pointer, - _lib._sel_TLSMinimumSupportedProtocolVersion1, - ); + return _objc_msgSend_1045( + this.pointer, _sel_TLSMinimumSupportedProtocolVersion); } set TLSMinimumSupportedProtocolVersion(int value) { - return _lib._objc_msgSend_1046( - this.pointer, - _lib._sel_setTLSMinimumSupportedProtocolVersion_1, - value, - ); + return _objc_msgSend_1046( + this.pointer, _sel_setTLSMinimumSupportedProtocolVersion_, value); } int get TLSMaximumSupportedProtocolVersion { - return _lib._objc_msgSend_1045( - this.pointer, - _lib._sel_TLSMaximumSupportedProtocolVersion1, - ); + return _objc_msgSend_1045( + this.pointer, _sel_TLSMaximumSupportedProtocolVersion); } set TLSMaximumSupportedProtocolVersion(int value) { - return _lib._objc_msgSend_1046( - this.pointer, - _lib._sel_setTLSMaximumSupportedProtocolVersion_1, - value, - ); + return _objc_msgSend_1046( + this.pointer, _sel_setTLSMaximumSupportedProtocolVersion_, value); } bool get HTTPShouldUsePipelining { - return _lib._objc_msgSend_12( - this.pointer, - _lib._sel_HTTPShouldUsePipelining1, - ); + return _objc_msgSend_12(this.pointer, _sel_HTTPShouldUsePipelining); } set HTTPShouldUsePipelining(bool value) { - return _lib._objc_msgSend_527( - this.pointer, - _lib._sel_setHTTPShouldUsePipelining_1, - value, - ); + return _objc_msgSend_527( + this.pointer, _sel_setHTTPShouldUsePipelining_, value); } bool get HTTPShouldSetCookies { - return _lib._objc_msgSend_12(this.pointer, _lib._sel_HTTPShouldSetCookies1); + return _objc_msgSend_12(this.pointer, _sel_HTTPShouldSetCookies); } set HTTPShouldSetCookies(bool value) { - return _lib._objc_msgSend_527( - this.pointer, - _lib._sel_setHTTPShouldSetCookies_1, - value, - ); + return _objc_msgSend_527( + this.pointer, _sel_setHTTPShouldSetCookies_, value); } int get HTTPCookieAcceptPolicy { - return _lib._objc_msgSend_856( - this.pointer, - _lib._sel_HTTPCookieAcceptPolicy1, - ); + return _objc_msgSend_856(this.pointer, _sel_HTTPCookieAcceptPolicy); } set HTTPCookieAcceptPolicy(int value) { - return _lib._objc_msgSend_857( - this.pointer, - _lib._sel_setHTTPCookieAcceptPolicy_1, - value, - ); + return _objc_msgSend_857( + this.pointer, _sel_setHTTPCookieAcceptPolicy_, value); } NSDictionary? get HTTPAdditionalHeaders { - final _ret = _lib._objc_msgSend_390( - this.pointer, - _lib._sel_HTTPAdditionalHeaders1, - ); + final _ret = _objc_msgSend_390(this.pointer, _sel_HTTPAdditionalHeaders); return _ret.address == 0 ? null - : NSDictionary._(_ret, _lib, retain: true, release: true); + : NSDictionary._(_ret, retain: true, release: true); } set HTTPAdditionalHeaders(NSDictionary? value) { - return _lib._objc_msgSend_634( - this.pointer, - _lib._sel_setHTTPAdditionalHeaders_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_634(this.pointer, _sel_setHTTPAdditionalHeaders_, + value?.pointer ?? ffi.nullptr); } int get HTTPMaximumConnectionsPerHost { - return _lib._objc_msgSend_83( - this.pointer, - _lib._sel_HTTPMaximumConnectionsPerHost1, - ); + return _objc_msgSend_83(this.pointer, _sel_HTTPMaximumConnectionsPerHost); } set HTTPMaximumConnectionsPerHost(int value) { - return _lib._objc_msgSend_635( - this.pointer, - _lib._sel_setHTTPMaximumConnectionsPerHost_1, - value, - ); + return _objc_msgSend_635( + this.pointer, _sel_setHTTPMaximumConnectionsPerHost_, value); } NSHTTPCookieStorage? get HTTPCookieStorage { - final _ret = _lib._objc_msgSend_1047( - this.pointer, - _lib._sel_HTTPCookieStorage1, - ); + final _ret = _objc_msgSend_1047(this.pointer, _sel_HTTPCookieStorage); return _ret.address == 0 ? null - : NSHTTPCookieStorage._(_ret, _lib, retain: true, release: true); + : NSHTTPCookieStorage._(_ret, retain: true, release: true); } set HTTPCookieStorage(NSHTTPCookieStorage? value) { - return _lib._objc_msgSend_1048( - this.pointer, - _lib._sel_setHTTPCookieStorage_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_1048(this.pointer, _sel_setHTTPCookieStorage_, + value?.pointer ?? ffi.nullptr); } NSURLCredentialStorage? get URLCredentialStorage { - final _ret = _lib._objc_msgSend_1049( - this.pointer, - _lib._sel_URLCredentialStorage1, - ); + final _ret = _objc_msgSend_1049(this.pointer, _sel_URLCredentialStorage); return _ret.address == 0 ? null - : NSURLCredentialStorage._(_ret, _lib, retain: true, release: true); + : NSURLCredentialStorage._(_ret, retain: true, release: true); } set URLCredentialStorage(NSURLCredentialStorage? value) { - return _lib._objc_msgSend_1050( - this.pointer, - _lib._sel_setURLCredentialStorage_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_1050(this.pointer, _sel_setURLCredentialStorage_, + value?.pointer ?? ffi.nullptr); } NSURLCache? get URLCache { - final _ret = _lib._objc_msgSend_1051(this.pointer, _lib._sel_URLCache1); + final _ret = _objc_msgSend_1051(this.pointer, _sel_URLCache); return _ret.address == 0 ? null - : NSURLCache._(_ret, _lib, retain: true, release: true); + : NSURLCache._(_ret, retain: true, release: true); } set URLCache(NSURLCache? value) { - return _lib._objc_msgSend_1052( - this.pointer, - _lib._sel_setURLCache_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_1052( + this.pointer, _sel_setURLCache_, value?.pointer ?? ffi.nullptr); } bool get shouldUseExtendedBackgroundIdleMode { - return _lib._objc_msgSend_12( - this.pointer, - _lib._sel_shouldUseExtendedBackgroundIdleMode1, - ); + return _objc_msgSend_12( + this.pointer, _sel_shouldUseExtendedBackgroundIdleMode); } set shouldUseExtendedBackgroundIdleMode(bool value) { - return _lib._objc_msgSend_527( - this.pointer, - _lib._sel_setShouldUseExtendedBackgroundIdleMode_1, - value, - ); + return _objc_msgSend_527( + this.pointer, _sel_setShouldUseExtendedBackgroundIdleMode_, value); } NSArray? get protocolClasses { - final _ret = _lib._objc_msgSend_84( - this.pointer, - _lib._sel_protocolClasses1, - ); + final _ret = _objc_msgSend_84(this.pointer, _sel_protocolClasses); return _ret.address == 0 ? null - : NSArray._(_ret, _lib, retain: true, release: true); + : NSArray._(_ret, retain: true, release: true); } set protocolClasses(NSArray? value) { - return _lib._objc_msgSend_1053( - this.pointer, - _lib._sel_setProtocolClasses_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_1053( + this.pointer, _sel_setProtocolClasses_, value?.pointer ?? ffi.nullptr); } int get multipathServiceType { - return _lib._objc_msgSend_1054( - this.pointer, - _lib._sel_multipathServiceType1, - ); + return _objc_msgSend_1054(this.pointer, _sel_multipathServiceType); } set multipathServiceType(int value) { - return _lib._objc_msgSend_1055( - this.pointer, - _lib._sel_setMultipathServiceType_1, - value, - ); + return _objc_msgSend_1055( + this.pointer, _sel_setMultipathServiceType_, value); } @override NSURLSessionConfiguration init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSURLSessionConfiguration._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSURLSessionConfiguration._(_ret, retain: true, release: true); } - static NSURLSessionConfiguration new1(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLSessionConfiguration1, - _lib._sel_new1, - ); - return NSURLSessionConfiguration._( - _ret, - _lib, - retain: false, - release: true, - ); + static NSURLSessionConfiguration new1() { + final _ret = _objc_msgSend_2(_class_NSURLSessionConfiguration, _sel_new); + return NSURLSessionConfiguration._(_ret, retain: false, release: true); } static NSURLSessionConfiguration backgroundSessionConfiguration_( - AVFAudio _lib, - NSString identifier, - ) { - final _ret = _lib._objc_msgSend_1042( - _lib._class_NSURLSessionConfiguration1, - _lib._sel_backgroundSessionConfiguration_1, - identifier.pointer, - ); - return NSURLSessionConfiguration._(_ret, _lib, retain: true, release: true); - } - - static NSURLSessionConfiguration allocWithZone_( - AVFAudio _lib, - ffi.Pointer<_NSZone> zone, - ) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSURLSessionConfiguration1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSURLSessionConfiguration._( - _ret, - _lib, - retain: false, - release: true, - ); - } - - static NSURLSessionConfiguration alloc(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLSessionConfiguration1, - _lib._sel_alloc1, - ); - return NSURLSessionConfiguration._( - _ret, - _lib, - retain: false, - release: true, - ); + NSString identifier) { + final _ret = _objc_msgSend_1042(_class_NSURLSessionConfiguration, + _sel_backgroundSessionConfiguration_, identifier.pointer); + return NSURLSessionConfiguration._(_ret, retain: true, release: true); + } + + static NSURLSessionConfiguration allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = _objc_msgSend_3( + _class_NSURLSessionConfiguration, _sel_allocWithZone_, zone); + return NSURLSessionConfiguration._(_ret, retain: false, release: true); + } + + static NSURLSessionConfiguration alloc() { + final _ret = _objc_msgSend_2(_class_NSURLSessionConfiguration, _sel_alloc); + return NSURLSessionConfiguration._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSURLSessionConfiguration1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSURLSessionConfiguration1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSURLSessionConfiguration1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSURLSessionConfiguration1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSURLSessionConfiguration1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSURLSessionConfiguration1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSURLSessionConfiguration, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); } - static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSURLSessionConfiguration1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSURLSessionConfiguration1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLSessionConfiguration1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSURLSessionConfiguration, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); } -} + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSURLSessionConfiguration, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12( + _class_NSURLSessionConfiguration, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSURLSessionConfiguration, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSURLSessionConfiguration, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); + } + + static void setKeys_triggerChangeNotificationsForDependentKey_( + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSURLSessionConfiguration, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = _objc_msgSend_85( + _class_NSURLSessionConfiguration, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = _objc_msgSend_2( + _class_NSURLSessionConfiguration, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); + } +} + +late final _class_NSURLSessionConfiguration = + objc.getClass("NSURLSessionConfiguration"); +late final _sel_defaultSessionConfiguration = + objc.registerName("defaultSessionConfiguration"); +final _objc_msgSend_1041 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_ephemeralSessionConfiguration = + objc.registerName("ephemeralSessionConfiguration"); +late final _sel_backgroundSessionConfigurationWithIdentifier_ = + objc.registerName("backgroundSessionConfigurationWithIdentifier:"); +final _objc_msgSend_1042 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer identifier)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_identifier = objc.registerName("identifier"); +late final _sel_requestCachePolicy = objc.registerName("requestCachePolicy"); +late final _sel_setRequestCachePolicy_ = + objc.registerName("setRequestCachePolicy:"); +late final _sel_timeoutIntervalForRequest = + objc.registerName("timeoutIntervalForRequest"); +late final _sel_setTimeoutIntervalForRequest_ = + objc.registerName("setTimeoutIntervalForRequest:"); +late final _sel_timeoutIntervalForResource = + objc.registerName("timeoutIntervalForResource"); +late final _sel_setTimeoutIntervalForResource_ = + objc.registerName("setTimeoutIntervalForResource:"); +late final _sel_waitsForConnectivity = + objc.registerName("waitsForConnectivity"); +late final _sel_setWaitsForConnectivity_ = + objc.registerName("setWaitsForConnectivity:"); +late final _sel_isDiscretionary = objc.registerName("isDiscretionary"); +late final _sel_setDiscretionary_ = objc.registerName("setDiscretionary:"); +late final _sel_sharedContainerIdentifier = + objc.registerName("sharedContainerIdentifier"); +late final _sel_setSharedContainerIdentifier_ = + objc.registerName("setSharedContainerIdentifier:"); +late final _sel_sessionSendsLaunchEvents = + objc.registerName("sessionSendsLaunchEvents"); +late final _sel_setSessionSendsLaunchEvents_ = + objc.registerName("setSessionSendsLaunchEvents:"); +late final _sel_connectionProxyDictionary = + objc.registerName("connectionProxyDictionary"); +late final _sel_setConnectionProxyDictionary_ = + objc.registerName("setConnectionProxyDictionary:"); abstract class SSLProtocol { static const int kSSLProtocolUnknown = 0; @@ -88886,6 +53420,31 @@ abstract class SSLProtocol { static const int kSSLProtocolAll = 6; } +late final _sel_TLSMinimumSupportedProtocol = + objc.registerName("TLSMinimumSupportedProtocol"); +final _objc_msgSend_1043 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + int Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_setTLSMinimumSupportedProtocol_ = + objc.registerName("setTLSMinimumSupportedProtocol:"); +final _objc_msgSend_1044 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer obj, + ffi.Pointer sel, ffi.Int32 value)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, int)>(); +late final _sel_TLSMaximumSupportedProtocol = + objc.registerName("TLSMaximumSupportedProtocol"); +late final _sel_setTLSMaximumSupportedProtocol_ = + objc.registerName("setTLSMaximumSupportedProtocol:"); + abstract class tls_protocol_version_t { static const int tls_protocol_version_TLSv10 = 769; static const int tls_protocol_version_TLSv11 = 770; @@ -88895,6 +53454,129 @@ abstract class tls_protocol_version_t { static const int tls_protocol_version_DTLSv12 = -259; } +late final _sel_TLSMinimumSupportedProtocolVersion = + objc.registerName("TLSMinimumSupportedProtocolVersion"); +final _objc_msgSend_1045 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + int Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_setTLSMinimumSupportedProtocolVersion_ = + objc.registerName("setTLSMinimumSupportedProtocolVersion:"); +final _objc_msgSend_1046 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer obj, + ffi.Pointer sel, ffi.Int32 value)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, int)>(); +late final _sel_TLSMaximumSupportedProtocolVersion = + objc.registerName("TLSMaximumSupportedProtocolVersion"); +late final _sel_setTLSMaximumSupportedProtocolVersion_ = + objc.registerName("setTLSMaximumSupportedProtocolVersion:"); +late final _sel_HTTPShouldSetCookies = + objc.registerName("HTTPShouldSetCookies"); +late final _sel_setHTTPShouldSetCookies_ = + objc.registerName("setHTTPShouldSetCookies:"); +late final _sel_HTTPCookieAcceptPolicy = + objc.registerName("HTTPCookieAcceptPolicy"); +late final _sel_setHTTPCookieAcceptPolicy_ = + objc.registerName("setHTTPCookieAcceptPolicy:"); +late final _sel_HTTPAdditionalHeaders = + objc.registerName("HTTPAdditionalHeaders"); +late final _sel_setHTTPAdditionalHeaders_ = + objc.registerName("setHTTPAdditionalHeaders:"); +late final _sel_HTTPMaximumConnectionsPerHost = + objc.registerName("HTTPMaximumConnectionsPerHost"); +late final _sel_setHTTPMaximumConnectionsPerHost_ = + objc.registerName("setHTTPMaximumConnectionsPerHost:"); +late final _sel_HTTPCookieStorage = objc.registerName("HTTPCookieStorage"); +final _objc_msgSend_1047 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_setHTTPCookieStorage_ = + objc.registerName("setHTTPCookieStorage:"); +final _objc_msgSend_1048 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_URLCredentialStorage = + objc.registerName("URLCredentialStorage"); +final _objc_msgSend_1049 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_setURLCredentialStorage_ = + objc.registerName("setURLCredentialStorage:"); +final _objc_msgSend_1050 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_URLCache = objc.registerName("URLCache"); +final _objc_msgSend_1051 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_setURLCache_ = objc.registerName("setURLCache:"); +final _objc_msgSend_1052 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_shouldUseExtendedBackgroundIdleMode = + objc.registerName("shouldUseExtendedBackgroundIdleMode"); +late final _sel_setShouldUseExtendedBackgroundIdleMode_ = + objc.registerName("setShouldUseExtendedBackgroundIdleMode:"); +late final _sel_protocolClasses = objc.registerName("protocolClasses"); +late final _sel_setProtocolClasses_ = objc.registerName("setProtocolClasses:"); +final _objc_msgSend_1053 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); + abstract class NSURLSessionMultipathServiceType { static const int NSURLSessionMultipathServiceTypeNone = 0; static const int NSURLSessionMultipathServiceTypeHandover = 1; @@ -88902,78 +53584,123 @@ abstract class NSURLSessionMultipathServiceType { static const int NSURLSessionMultipathServiceTypeAggregate = 3; } +late final _sel_multipathServiceType = + objc.registerName("multipathServiceType"); +final _objc_msgSend_1054 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + int Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_setMultipathServiceType_ = + objc.registerName("setMultipathServiceType:"); +final _objc_msgSend_1055 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer obj, + ffi.Pointer sel, ffi.Int32 value)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, int)>(); +late final _sel_backgroundSessionConfiguration_ = + objc.registerName("backgroundSessionConfiguration:"); +late final _sel_sessionWithConfiguration_ = + objc.registerName("sessionWithConfiguration:"); +final _objc_msgSend_1056 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer configuration)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_sessionWithConfiguration_delegate_delegateQueue_ = + objc.registerName("sessionWithConfiguration:delegate:delegateQueue:"); +final _objc_msgSend_1057 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer configuration, + ffi.Pointer delegate, + ffi.Pointer queue)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_delegateQueue = objc.registerName("delegateQueue"); +late final _sel_configuration = objc.registerName("configuration"); +late final _sel_sessionDescription = objc.registerName("sessionDescription"); +late final _sel_setSessionDescription_ = + objc.registerName("setSessionDescription:"); +late final _sel_finishTasksAndInvalidate = + objc.registerName("finishTasksAndInvalidate"); +late final _sel_invalidateAndCancel = objc.registerName("invalidateAndCancel"); +late final _sel_resetWithCompletionHandler_ = + objc.registerName("resetWithCompletionHandler:"); +late final _sel_flushWithCompletionHandler_ = + objc.registerName("flushWithCompletionHandler:"); void _ObjCBlock_ffiVoid_NSArray_NSArray_NSArray_fnPtrTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2, -) => + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2) => block.ref.target .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2, - )>>() + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2)>>() .asFunction< void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>()(arg0, arg1, arg2); + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>()(arg0, arg1, arg2); final _ObjCBlock_ffiVoid_NSArray_NSArray_NSArray_closureRegistry = , - ffi.Pointer, - ffi.Pointer, -)>{}; + void Function(ffi.Pointer, ffi.Pointer, + ffi.Pointer)>{}; int _ObjCBlock_ffiVoid_NSArray_NSArray_NSArray_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_ffiVoid_NSArray_NSArray_NSArray_registerClosure( - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) fn, -) { + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer) + fn) { final id = ++_ObjCBlock_ffiVoid_NSArray_NSArray_NSArray_closureRegistryIndex; _ObjCBlock_ffiVoid_NSArray_NSArray_NSArray_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } void _ObjCBlock_ffiVoid_NSArray_NSArray_NSArray_closureTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2, -) => + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2) => _ObjCBlock_ffiVoid_NSArray_NSArray_NSArray_closureRegistry[ block.ref.target.address]!(arg0, arg1, arg2); class ObjCBlock_ffiVoid_NSArray_NSArray_NSArray extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSArray_NSArray_NSArray._( - ffi.Pointer pointer, - this._lib, { - bool retain = false, - bool release = true, - }) : super(pointer, retain: retain, release: release); - - AVFAudio _lib; + ffi.Pointer pointer, + {bool retain = false, + bool release = true}) + : super(pointer, retain: retain, release: release); /// Returns a block that wraps the given raw block pointer. static ObjCBlock_ffiVoid_NSArray_NSArray_NSArray castFromPointer( - AVFAudio lib, - ffi.Pointer pointer, { - bool retain = false, - bool release = false, - }) { - return ObjCBlock_ffiVoid_NSArray_NSArray_NSArray._( - pointer, - lib, - retain: retain, - release: release, - ); + ffi.Pointer pointer, + {bool retain = false, + bool release = false}) { + return ObjCBlock_ffiVoid_NSArray_NSArray_NSArray._(pointer, + retain: retain, release: release); } /// Creates a block from a C function pointer. @@ -88982,29 +53709,23 @@ class ObjCBlock_ffiVoid_NSArray_NSArray_NSArray extends objc.ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSArray_NSArray_NSArray.fromFunctionPointer( - AVFAudio lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2, - )>> - ptr, - ) : this._( - objc.newBlock( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Pointer< + ffi.NativeFunction< ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>( - _ObjCBlock_ffiVoid_NSArray_NSArray_NSArray_fnPtrTrampoline, - ).cast(), - ptr.cast(), - ), - lib); + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2)>> + ptr) + : this._(objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>( + _ObjCBlock_ffiVoid_NSArray_NSArray_NSArray_fnPtrTrampoline) + .cast(), + ptr.cast())); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -89013,31 +53734,21 @@ class ObjCBlock_ffiVoid_NSArray_NSArray_NSArray extends objc.ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSArray_NSArray_NSArray.fromFunction( - AVFAudio lib, - void Function(NSArray, NSArray, NSArray) fn, - ) : this._( - objc.newBlock( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>( - _ObjCBlock_ffiVoid_NSArray_NSArray_NSArray_closureTrampoline, - ).cast(), - _ObjCBlock_ffiVoid_NSArray_NSArray_NSArray_registerClosure(( - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2, - ) => - fn( - NSArray._(arg0, lib, retain: true, release: true), - NSArray._(arg1, lib, retain: true, release: true), - NSArray._(arg2, lib, retain: true, release: true), - )), - ), - lib); + void Function(NSArray, NSArray, NSArray) fn) + : this._(objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>( + _ObjCBlock_ffiVoid_NSArray_NSArray_NSArray_closureTrampoline) + .cast(), + _ObjCBlock_ffiVoid_NSArray_NSArray_NSArray_registerClosure( + (ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2) => + fn(NSArray._(arg0, retain: true, release: true), NSArray._(arg1, retain: true, release: true), NSArray._(arg2, retain: true, release: true))))); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -89049,64 +53760,61 @@ class ObjCBlock_ffiVoid_NSArray_NSArray_NSArray extends objc.ObjCBlockBase { /// /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. - ObjCBlock_ffiVoid_NSArray_NSArray_NSArray.listener( - AVFAudio lib, - void Function(NSArray, NSArray, NSArray) fn, - ) : this._( - objc.newBlock( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>.listener( - _ObjCBlock_ffiVoid_NSArray_NSArray_NSArray_closureTrampoline, - )..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSArray_NSArray_NSArray_registerClosure(( - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2, - ) => - fn( - NSArray._(arg0, lib, retain: true, release: true), - NSArray._(arg1, lib, retain: true, release: true), - NSArray._(arg2, lib, retain: true, release: true), - )), - ), - lib); + ObjCBlock_ffiVoid_NSArray_NSArray_NSArray.listener(void Function(NSArray, NSArray, NSArray) fn) + : this._(objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>.listener( + _ObjCBlock_ffiVoid_NSArray_NSArray_NSArray_closureTrampoline) + ..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSArray_NSArray_NSArray_registerClosure( + (ffi.Pointer arg0, ffi.Pointer arg1, ffi.Pointer arg2) => fn( + NSArray._(arg0, retain: true, release: true), + NSArray._(arg1, retain: true, release: true), + NSArray._(arg2, retain: true, release: true))))); static ffi.NativeCallable< ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>? _dartFuncListenerTrampoline; + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>? _dartFuncListenerTrampoline; void call(NSArray arg0, NSArray arg1, NSArray arg2) => pointer.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2, - )>>() - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>()(pointer, arg0.pointer, arg1.pointer, arg2.pointer); -} - + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>()( + pointer, arg0.pointer, arg1.pointer, arg2.pointer); +} + +late final _sel_getTasksWithCompletionHandler_ = + objc.registerName("getTasksWithCompletionHandler:"); +final _objc_msgSend_1058 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer completionHandler)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); void _ObjCBlock_ffiVoid_NSArray1_fnPtrTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, -) => + ffi.Pointer block, ffi.Pointer arg0) => block.ref.target .cast< ffi.NativeFunction< @@ -89116,44 +53824,29 @@ final _ObjCBlock_ffiVoid_NSArray1_closureRegistry = )>{}; int _ObjCBlock_ffiVoid_NSArray1_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_ffiVoid_NSArray1_registerClosure( - void Function(ffi.Pointer) fn, -) { + void Function(ffi.Pointer) fn) { final id = ++_ObjCBlock_ffiVoid_NSArray1_closureRegistryIndex; _ObjCBlock_ffiVoid_NSArray1_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } void _ObjCBlock_ffiVoid_NSArray1_closureTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, -) => + ffi.Pointer block, ffi.Pointer arg0) => _ObjCBlock_ffiVoid_NSArray1_closureRegistry[block.ref.target.address]!( - arg0, - ); + arg0); class ObjCBlock_ffiVoid_NSArray1 extends objc.ObjCBlockBase { - ObjCBlock_ffiVoid_NSArray1._( - ffi.Pointer pointer, - this._lib, { - bool retain = false, - bool release = true, - }) : super(pointer, retain: retain, release: release); - - AVFAudio _lib; + ObjCBlock_ffiVoid_NSArray1._(ffi.Pointer pointer, + {bool retain = false, bool release = true}) + : super(pointer, retain: retain, release: release); /// Returns a block that wraps the given raw block pointer. static ObjCBlock_ffiVoid_NSArray1 castFromPointer( - AVFAudio lib, - ffi.Pointer pointer, { - bool retain = false, - bool release = false, - }) { - return ObjCBlock_ffiVoid_NSArray1._( - pointer, - lib, - retain: retain, - release: release, - ); + ffi.Pointer pointer, + {bool retain = false, + bool release = false}) { + return ObjCBlock_ffiVoid_NSArray1._(pointer, + retain: retain, release: release); } /// Creates a block from a C function pointer. @@ -89162,22 +53855,17 @@ class ObjCBlock_ffiVoid_NSArray1 extends objc.ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSArray1.fromFunctionPointer( - AVFAudio lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer arg0)>> - ptr, - ) : this._( - objc.newBlock( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - )>(_ObjCBlock_ffiVoid_NSArray1_fnPtrTrampoline) - .cast(), - ptr.cast(), - ), - lib); + ffi.Pointer< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer arg0)>> + ptr) + : this._(objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function(ffi.Pointer, + ffi.Pointer)>( + _ObjCBlock_ffiVoid_NSArray1_fnPtrTrampoline) + .cast(), + ptr.cast())); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -89185,23 +53873,16 @@ class ObjCBlock_ffiVoid_NSArray1 extends objc.ObjCBlockBase { /// This block must be invoked by native code running on the same thread as /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. - ObjCBlock_ffiVoid_NSArray1.fromFunction( - AVFAudio lib, - void Function(NSArray) fn, - ) : this._( - objc.newBlock( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - )>(_ObjCBlock_ffiVoid_NSArray1_closureTrampoline) - .cast(), - _ObjCBlock_ffiVoid_NSArray1_registerClosure(( - ffi.Pointer arg0, - ) => - fn(NSArray._(arg0, lib, retain: true, release: true))), - ), - lib); + ObjCBlock_ffiVoid_NSArray1.fromFunction(void Function(NSArray) fn) + : this._(objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function(ffi.Pointer, + ffi.Pointer)>( + _ObjCBlock_ffiVoid_NSArray1_closureTrampoline) + .cast(), + _ObjCBlock_ffiVoid_NSArray1_registerClosure( + (ffi.Pointer arg0) => + fn(NSArray._(arg0, retain: true, release: true))))); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -89213,24 +53894,18 @@ class ObjCBlock_ffiVoid_NSArray1 extends objc.ObjCBlockBase { /// /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. - ObjCBlock_ffiVoid_NSArray1.listener(AVFAudio lib, void Function(NSArray) fn) - : this._( - objc.newBlock( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - )>.listener( - _ObjCBlock_ffiVoid_NSArray1_closureTrampoline, - )..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSArray1_registerClosure(( - ffi.Pointer arg0, - ) => - fn(NSArray._(arg0, lib, retain: true, release: true))), - ), - lib); + ObjCBlock_ffiVoid_NSArray1.listener(void Function(NSArray) fn) + : this._(objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function(ffi.Pointer, + ffi.Pointer)>.listener( + _ObjCBlock_ffiVoid_NSArray1_closureTrampoline) + ..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSArray1_registerClosure( + (ffi.Pointer arg0) => + fn(NSArray._(arg0, retain: true, release: true))))); static ffi.NativeCallable< ffi.Void Function( ffi.Pointer, ffi.Pointer)>? @@ -89239,201 +53914,166 @@ class ObjCBlock_ffiVoid_NSArray1 extends objc.ObjCBlockBase { void call(NSArray arg0) => pointer.ref.invoke .cast< ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer block, - ffi.Pointer arg0, - )>>() + ffi.Void Function(ffi.Pointer block, + ffi.Pointer arg0)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer)>()(pointer, arg0.pointer); } +late final _sel_getAllTasksWithCompletionHandler_ = + objc.registerName("getAllTasksWithCompletionHandler:"); +final _objc_msgSend_1059 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer completionHandler)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_dataTaskWithRequest_ = + objc.registerName("dataTaskWithRequest:"); +final _objc_msgSend_1060 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer request)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_dataTaskWithURL_ = objc.registerName("dataTaskWithURL:"); +final _objc_msgSend_1061 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer url)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); + class NSURLSessionUploadTask extends NSURLSessionDataTask { - NSURLSessionUploadTask._( - ffi.Pointer pointer, - AVFAudio lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSURLSessionUploadTask._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSURLSessionUploadTask] that points to the same underlying object as [other]. static NSURLSessionUploadTask castFrom( - AVFAudio lib, - T other, - ) { - return NSURLSessionUploadTask._( - other.pointer, - lib, - retain: true, - release: true, - ); + T other) { + return NSURLSessionUploadTask._(other.pointer, retain: true, release: true); } /// Returns a [NSURLSessionUploadTask] that wraps the given raw object pointer. static NSURLSessionUploadTask castFromPointer( - AVFAudio lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSURLSessionUploadTask._( - other, - lib, - retain: retain, - release: release, - ); + ffi.Pointer other, + {bool retain = false, + bool release = false}) { + return NSURLSessionUploadTask._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSURLSessionUploadTask]. - static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSURLSessionUploadTask1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0( + obj.pointer, _sel_isKindOfClass_, _class_NSURLSessionUploadTask); } @override NSURLSessionUploadTask init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSURLSessionUploadTask._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSURLSessionUploadTask._(_ret, retain: true, release: true); } - static NSURLSessionUploadTask new1(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLSessionUploadTask1, - _lib._sel_new1, - ); - return NSURLSessionUploadTask._(_ret, _lib, retain: false, release: true); + static NSURLSessionUploadTask new1() { + final _ret = _objc_msgSend_2(_class_NSURLSessionUploadTask, _sel_new); + return NSURLSessionUploadTask._(_ret, retain: false, release: true); } void cancelByProducingResumeData_( - ObjCBlock_ffiVoid_NSData completionHandler, - ) { - _lib._objc_msgSend_1062( - this.pointer, - _lib._sel_cancelByProducingResumeData_1, - completionHandler.pointer, - ); - } - - static NSURLSessionUploadTask allocWithZone_( - AVFAudio _lib, - ffi.Pointer<_NSZone> zone, - ) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSURLSessionUploadTask1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSURLSessionUploadTask._(_ret, _lib, retain: false, release: true); - } - - static NSURLSessionUploadTask alloc(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLSessionUploadTask1, - _lib._sel_alloc1, - ); - return NSURLSessionUploadTask._(_ret, _lib, retain: false, release: true); + ObjCBlock_ffiVoid_NSData completionHandler) { + _objc_msgSend_1062(this.pointer, _sel_cancelByProducingResumeData_, + completionHandler.pointer); + } + + static NSURLSessionUploadTask allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = _objc_msgSend_3( + _class_NSURLSessionUploadTask, _sel_allocWithZone_, zone); + return NSURLSessionUploadTask._(_ret, retain: false, release: true); + } + + static NSURLSessionUploadTask alloc() { + final _ret = _objc_msgSend_2(_class_NSURLSessionUploadTask, _sel_alloc); + return NSURLSessionUploadTask._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSURLSessionUploadTask1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSURLSessionUploadTask1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSURLSessionUploadTask1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSURLSessionUploadTask1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSURLSessionUploadTask1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSURLSessionUploadTask1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSURLSessionUploadTask, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); + } + + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSURLSessionUploadTask, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); + } + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSURLSessionUploadTask, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12( + _class_NSURLSessionUploadTask, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSURLSessionUploadTask, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSURLSessionUploadTask, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); } static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSURLSessionUploadTask1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSURLSessionUploadTask1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLSessionUploadTask1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSURLSessionUploadTask, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = _objc_msgSend_85( + _class_NSURLSessionUploadTask, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = _objc_msgSend_2( + _class_NSURLSessionUploadTask, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); } } +late final _class_NSURLSessionUploadTask = + objc.getClass("NSURLSessionUploadTask"); void _ObjCBlock_ffiVoid_NSData_fnPtrTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, -) => + ffi.Pointer block, ffi.Pointer arg0) => block.ref.target .cast< ffi.NativeFunction< @@ -89443,42 +54083,28 @@ final _ObjCBlock_ffiVoid_NSData_closureRegistry = )>{}; int _ObjCBlock_ffiVoid_NSData_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_ffiVoid_NSData_registerClosure( - void Function(ffi.Pointer) fn, -) { + void Function(ffi.Pointer) fn) { final id = ++_ObjCBlock_ffiVoid_NSData_closureRegistryIndex; _ObjCBlock_ffiVoid_NSData_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } void _ObjCBlock_ffiVoid_NSData_closureTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, -) => + ffi.Pointer block, ffi.Pointer arg0) => _ObjCBlock_ffiVoid_NSData_closureRegistry[block.ref.target.address]!(arg0); class ObjCBlock_ffiVoid_NSData extends objc.ObjCBlockBase { - ObjCBlock_ffiVoid_NSData._( - ffi.Pointer pointer, - this._lib, { - bool retain = false, - bool release = true, - }) : super(pointer, retain: retain, release: release); - - AVFAudio _lib; + ObjCBlock_ffiVoid_NSData._(ffi.Pointer pointer, + {bool retain = false, bool release = true}) + : super(pointer, retain: retain, release: release); /// Returns a block that wraps the given raw block pointer. static ObjCBlock_ffiVoid_NSData castFromPointer( - AVFAudio lib, - ffi.Pointer pointer, { - bool retain = false, - bool release = false, - }) { - return ObjCBlock_ffiVoid_NSData._( - pointer, - lib, - retain: retain, - release: release, - ); + ffi.Pointer pointer, + {bool retain = false, + bool release = false}) { + return ObjCBlock_ffiVoid_NSData._(pointer, + retain: retain, release: release); } /// Creates a block from a C function pointer. @@ -89487,22 +54113,17 @@ class ObjCBlock_ffiVoid_NSData extends objc.ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSData.fromFunctionPointer( - AVFAudio lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer arg0)>> - ptr, - ) : this._( - objc.newBlock( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - )>(_ObjCBlock_ffiVoid_NSData_fnPtrTrampoline) - .cast(), - ptr.cast(), - ), - lib); + ffi.Pointer< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer arg0)>> + ptr) + : this._(objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function(ffi.Pointer, + ffi.Pointer)>( + _ObjCBlock_ffiVoid_NSData_fnPtrTrampoline) + .cast(), + ptr.cast())); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -89510,25 +54131,17 @@ class ObjCBlock_ffiVoid_NSData extends objc.ObjCBlockBase { /// This block must be invoked by native code running on the same thread as /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. - ObjCBlock_ffiVoid_NSData.fromFunction(AVFAudio lib, void Function(NSData?) fn) - : this._( - objc.newBlock( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - )>(_ObjCBlock_ffiVoid_NSData_closureTrampoline) - .cast(), - _ObjCBlock_ffiVoid_NSData_registerClosure(( - ffi.Pointer arg0, - ) => - fn( - arg0.address == 0 - ? null - : NSData._(arg0, lib, retain: true, release: true), - )), - ), - lib); + ObjCBlock_ffiVoid_NSData.fromFunction(void Function(NSData?) fn) + : this._(objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function(ffi.Pointer, + ffi.Pointer)>( + _ObjCBlock_ffiVoid_NSData_closureTrampoline) + .cast(), + _ObjCBlock_ffiVoid_NSData_registerClosure( + (ffi.Pointer arg0) => fn(arg0.address == 0 + ? null + : NSData._(arg0, retain: true, release: true))))); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -89540,28 +54153,19 @@ class ObjCBlock_ffiVoid_NSData extends objc.ObjCBlockBase { /// /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. - ObjCBlock_ffiVoid_NSData.listener(AVFAudio lib, void Function(NSData?) fn) - : this._( - objc.newBlock( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - )>.listener( - _ObjCBlock_ffiVoid_NSData_closureTrampoline, - )..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSData_registerClosure(( - ffi.Pointer arg0, - ) => - fn( - arg0.address == 0 - ? null - : NSData._(arg0, lib, retain: true, release: true), - )), - ), - lib); + ObjCBlock_ffiVoid_NSData.listener(void Function(NSData?) fn) + : this._(objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function(ffi.Pointer, + ffi.Pointer)>.listener( + _ObjCBlock_ffiVoid_NSData_closureTrampoline) + ..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSData_registerClosure( + (ffi.Pointer arg0) => fn(arg0.address == 0 + ? null + : NSData._(arg0, retain: true, release: true))))); static ffi.NativeCallable< ffi.Void Function( ffi.Pointer, ffi.Pointer)>? @@ -89570,491 +54174,431 @@ class ObjCBlock_ffiVoid_NSData extends objc.ObjCBlockBase { void call(NSData? arg0) => pointer.ref.invoke .cast< ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer block, - ffi.Pointer arg0, - )>>() + ffi.Void Function(ffi.Pointer block, + ffi.Pointer arg0)>>() .asFunction< void Function( ffi.Pointer, ffi.Pointer)>()( pointer, arg0?.pointer ?? ffi.nullptr); } +late final _sel_cancelByProducingResumeData_ = + objc.registerName("cancelByProducingResumeData:"); +final _objc_msgSend_1062 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer completionHandler)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_uploadTaskWithRequest_fromFile_ = + objc.registerName("uploadTaskWithRequest:fromFile:"); +final _objc_msgSend_1063 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer request, + ffi.Pointer fileURL)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_uploadTaskWithRequest_fromData_ = + objc.registerName("uploadTaskWithRequest:fromData:"); +final _objc_msgSend_1064 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer request, + ffi.Pointer bodyData)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_uploadTaskWithResumeData_ = + objc.registerName("uploadTaskWithResumeData:"); +final _objc_msgSend_1065 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer resumeData)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_uploadTaskWithStreamedRequest_ = + objc.registerName("uploadTaskWithStreamedRequest:"); +final _objc_msgSend_1066 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer request)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); + class NSURLSessionDownloadTask extends NSURLSessionTask { - NSURLSessionDownloadTask._( - ffi.Pointer pointer, - AVFAudio lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSURLSessionDownloadTask._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSURLSessionDownloadTask] that points to the same underlying object as [other]. static NSURLSessionDownloadTask castFrom( - AVFAudio lib, - T other, - ) { - return NSURLSessionDownloadTask._( - other.pointer, - lib, - retain: true, - release: true, - ); + T other) { + return NSURLSessionDownloadTask._(other.pointer, + retain: true, release: true); } /// Returns a [NSURLSessionDownloadTask] that wraps the given raw object pointer. static NSURLSessionDownloadTask castFromPointer( - AVFAudio lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSURLSessionDownloadTask._( - other, - lib, - retain: retain, - release: release, - ); + ffi.Pointer other, + {bool retain = false, + bool release = false}) { + return NSURLSessionDownloadTask._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSURLSessionDownloadTask]. - static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSURLSessionDownloadTask1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0( + obj.pointer, _sel_isKindOfClass_, _class_NSURLSessionDownloadTask); } void cancelByProducingResumeData_( - ObjCBlock_ffiVoid_NSData completionHandler, - ) { - _lib._objc_msgSend_1062( - this.pointer, - _lib._sel_cancelByProducingResumeData_1, - completionHandler.pointer, - ); + ObjCBlock_ffiVoid_NSData completionHandler) { + _objc_msgSend_1062(this.pointer, _sel_cancelByProducingResumeData_, + completionHandler.pointer); } @override NSURLSessionDownloadTask init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSURLSessionDownloadTask._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSURLSessionDownloadTask._(_ret, retain: true, release: true); } - static NSURLSessionDownloadTask new1(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLSessionDownloadTask1, - _lib._sel_new1, - ); - return NSURLSessionDownloadTask._(_ret, _lib, retain: false, release: true); + static NSURLSessionDownloadTask new1() { + final _ret = _objc_msgSend_2(_class_NSURLSessionDownloadTask, _sel_new); + return NSURLSessionDownloadTask._(_ret, retain: false, release: true); } - static NSURLSessionDownloadTask allocWithZone_( - AVFAudio _lib, - ffi.Pointer<_NSZone> zone, - ) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSURLSessionDownloadTask1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSURLSessionDownloadTask._(_ret, _lib, retain: false, release: true); + static NSURLSessionDownloadTask allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = _objc_msgSend_3( + _class_NSURLSessionDownloadTask, _sel_allocWithZone_, zone); + return NSURLSessionDownloadTask._(_ret, retain: false, release: true); } - static NSURLSessionDownloadTask alloc(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLSessionDownloadTask1, - _lib._sel_alloc1, - ); - return NSURLSessionDownloadTask._(_ret, _lib, retain: false, release: true); + static NSURLSessionDownloadTask alloc() { + final _ret = _objc_msgSend_2(_class_NSURLSessionDownloadTask, _sel_alloc); + return NSURLSessionDownloadTask._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSURLSessionDownloadTask1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSURLSessionDownloadTask1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSURLSessionDownloadTask1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSURLSessionDownloadTask1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSURLSessionDownloadTask1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSURLSessionDownloadTask1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSURLSessionDownloadTask, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); } - static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSURLSessionDownloadTask1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSURLSessionDownloadTask1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLSessionDownloadTask1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSURLSessionDownloadTask, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); + } + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSURLSessionDownloadTask, _sel_accessInstanceVariablesDirectly); } -} + + static bool useStoredAccessor() { + return _objc_msgSend_12( + _class_NSURLSessionDownloadTask, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSURLSessionDownloadTask, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSURLSessionDownloadTask, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); + } + + static void setKeys_triggerChangeNotificationsForDependentKey_( + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSURLSessionDownloadTask, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = _objc_msgSend_85( + _class_NSURLSessionDownloadTask, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = _objc_msgSend_2( + _class_NSURLSessionDownloadTask, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); + } +} + +late final _class_NSURLSessionDownloadTask = + objc.getClass("NSURLSessionDownloadTask"); +late final _sel_downloadTaskWithRequest_ = + objc.registerName("downloadTaskWithRequest:"); +final _objc_msgSend_1067 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer request)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_downloadTaskWithURL_ = + objc.registerName("downloadTaskWithURL:"); +final _objc_msgSend_1068 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer url)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_downloadTaskWithResumeData_ = + objc.registerName("downloadTaskWithResumeData:"); +final _objc_msgSend_1069 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer resumeData)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); class NSURLSessionStreamTask extends NSURLSessionTask { - NSURLSessionStreamTask._( - ffi.Pointer pointer, - AVFAudio lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSURLSessionStreamTask._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSURLSessionStreamTask] that points to the same underlying object as [other]. static NSURLSessionStreamTask castFrom( - AVFAudio lib, - T other, - ) { - return NSURLSessionStreamTask._( - other.pointer, - lib, - retain: true, - release: true, - ); + T other) { + return NSURLSessionStreamTask._(other.pointer, retain: true, release: true); } /// Returns a [NSURLSessionStreamTask] that wraps the given raw object pointer. static NSURLSessionStreamTask castFromPointer( - AVFAudio lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSURLSessionStreamTask._( - other, - lib, - retain: retain, - release: release, - ); + ffi.Pointer other, + {bool retain = false, + bool release = false}) { + return NSURLSessionStreamTask._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSURLSessionStreamTask]. - static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSURLSessionStreamTask1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0( + obj.pointer, _sel_isKindOfClass_, _class_NSURLSessionStreamTask); } void readDataOfMinLength_maxLength_timeout_completionHandler_( - int minBytes, - int maxBytes, - double timeout, - ObjCBlock_ffiVoid_NSData_bool_NSError completionHandler, - ) { - _lib._objc_msgSend_1070( - this.pointer, - _lib._sel_readDataOfMinLength_maxLength_timeout_completionHandler_1, - minBytes, - maxBytes, - timeout, - completionHandler.pointer, - ); - } - - void writeData_timeout_completionHandler_( - NSData data, - double timeout, - ObjCBlock_ffiVoid_NSError completionHandler, - ) { - _lib._objc_msgSend_1071( - this.pointer, - _lib._sel_writeData_timeout_completionHandler_1, - data.pointer, - timeout, - completionHandler.pointer, - ); + int minBytes, + int maxBytes, + double timeout, + ObjCBlock_ffiVoid_NSData_bool_NSError completionHandler) { + _objc_msgSend_1070( + this.pointer, + _sel_readDataOfMinLength_maxLength_timeout_completionHandler_, + minBytes, + maxBytes, + timeout, + completionHandler.pointer); + } + + void writeData_timeout_completionHandler_(NSData data, double timeout, + ObjCBlock_ffiVoid_NSError completionHandler) { + _objc_msgSend_1071(this.pointer, _sel_writeData_timeout_completionHandler_, + data.pointer, timeout, completionHandler.pointer); } void captureStreams() { - _lib._objc_msgSend_1(this.pointer, _lib._sel_captureStreams1); + _objc_msgSend_1(this.pointer, _sel_captureStreams); } void closeWrite() { - _lib._objc_msgSend_1(this.pointer, _lib._sel_closeWrite1); + _objc_msgSend_1(this.pointer, _sel_closeWrite); } void closeRead() { - _lib._objc_msgSend_1(this.pointer, _lib._sel_closeRead1); + _objc_msgSend_1(this.pointer, _sel_closeRead); } void startSecureConnection() { - _lib._objc_msgSend_1(this.pointer, _lib._sel_startSecureConnection1); + _objc_msgSend_1(this.pointer, _sel_startSecureConnection); } void stopSecureConnection() { - _lib._objc_msgSend_1(this.pointer, _lib._sel_stopSecureConnection1); + _objc_msgSend_1(this.pointer, _sel_stopSecureConnection); } @override NSURLSessionStreamTask init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSURLSessionStreamTask._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSURLSessionStreamTask._(_ret, retain: true, release: true); } - static NSURLSessionStreamTask new1(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLSessionStreamTask1, - _lib._sel_new1, - ); - return NSURLSessionStreamTask._(_ret, _lib, retain: false, release: true); + static NSURLSessionStreamTask new1() { + final _ret = _objc_msgSend_2(_class_NSURLSessionStreamTask, _sel_new); + return NSURLSessionStreamTask._(_ret, retain: false, release: true); } - static NSURLSessionStreamTask allocWithZone_( - AVFAudio _lib, - ffi.Pointer<_NSZone> zone, - ) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSURLSessionStreamTask1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSURLSessionStreamTask._(_ret, _lib, retain: false, release: true); + static NSURLSessionStreamTask allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = _objc_msgSend_3( + _class_NSURLSessionStreamTask, _sel_allocWithZone_, zone); + return NSURLSessionStreamTask._(_ret, retain: false, release: true); } - static NSURLSessionStreamTask alloc(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLSessionStreamTask1, - _lib._sel_alloc1, - ); - return NSURLSessionStreamTask._(_ret, _lib, retain: false, release: true); + static NSURLSessionStreamTask alloc() { + final _ret = _objc_msgSend_2(_class_NSURLSessionStreamTask, _sel_alloc); + return NSURLSessionStreamTask._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSURLSessionStreamTask1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSURLSessionStreamTask1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSURLSessionStreamTask1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSURLSessionStreamTask1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSURLSessionStreamTask1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSURLSessionStreamTask1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSURLSessionStreamTask, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); + } + + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSURLSessionStreamTask, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); + } + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSURLSessionStreamTask, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12( + _class_NSURLSessionStreamTask, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSURLSessionStreamTask, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSURLSessionStreamTask, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); } static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSURLSessionStreamTask1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSURLSessionStreamTask1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLSessionStreamTask1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSURLSessionStreamTask, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = _objc_msgSend_85( + _class_NSURLSessionStreamTask, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = _objc_msgSend_2( + _class_NSURLSessionStreamTask, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); } } +late final _class_NSURLSessionStreamTask = + objc.getClass("NSURLSessionStreamTask"); void _ObjCBlock_ffiVoid_NSData_bool_NSError_fnPtrTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, - bool arg1, - ffi.Pointer arg2, -) => + ffi.Pointer block, + ffi.Pointer arg0, + bool arg1, + ffi.Pointer arg2) => block.ref.target .cast< ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.Bool arg1, - ffi.Pointer arg2, - )>>() + ffi.Void Function(ffi.Pointer arg0, + ffi.Bool arg1, ffi.Pointer arg2)>>() .asFunction< - void Function( - ffi.Pointer, - bool, - ffi.Pointer, - )>()(arg0, arg1, arg2); + void Function(ffi.Pointer, bool, + ffi.Pointer)>()(arg0, arg1, arg2); final _ObjCBlock_ffiVoid_NSData_bool_NSError_closureRegistry = , - bool, - ffi.Pointer, -)>{}; + ffi.Pointer, bool, ffi.Pointer)>{}; int _ObjCBlock_ffiVoid_NSData_bool_NSError_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_ffiVoid_NSData_bool_NSError_registerClosure( - void Function( - ffi.Pointer, - bool, - ffi.Pointer, - ) fn, -) { + void Function( + ffi.Pointer, bool, ffi.Pointer) + fn) { final id = ++_ObjCBlock_ffiVoid_NSData_bool_NSError_closureRegistryIndex; _ObjCBlock_ffiVoid_NSData_bool_NSError_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } void _ObjCBlock_ffiVoid_NSData_bool_NSError_closureTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, - bool arg1, - ffi.Pointer arg2, -) => + ffi.Pointer block, + ffi.Pointer arg0, + bool arg1, + ffi.Pointer arg2) => _ObjCBlock_ffiVoid_NSData_bool_NSError_closureRegistry[ block.ref.target.address]!(arg0, arg1, arg2); class ObjCBlock_ffiVoid_NSData_bool_NSError extends objc.ObjCBlockBase { - ObjCBlock_ffiVoid_NSData_bool_NSError._( - ffi.Pointer pointer, - this._lib, { - bool retain = false, - bool release = true, - }) : super(pointer, retain: retain, release: release); - - AVFAudio _lib; + ObjCBlock_ffiVoid_NSData_bool_NSError._(ffi.Pointer pointer, + {bool retain = false, bool release = true}) + : super(pointer, retain: retain, release: release); /// Returns a block that wraps the given raw block pointer. static ObjCBlock_ffiVoid_NSData_bool_NSError castFromPointer( - AVFAudio lib, - ffi.Pointer pointer, { - bool retain = false, - bool release = false, - }) { - return ObjCBlock_ffiVoid_NSData_bool_NSError._( - pointer, - lib, - retain: retain, - release: release, - ); + ffi.Pointer pointer, + {bool retain = false, + bool release = false}) { + return ObjCBlock_ffiVoid_NSData_bool_NSError._(pointer, + retain: retain, release: release); } /// Creates a block from a C function pointer. @@ -90063,28 +54607,21 @@ class ObjCBlock_ffiVoid_NSData_bool_NSError extends objc.ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSData_bool_NSError.fromFunctionPointer( - AVFAudio lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.Bool arg1, - ffi.Pointer arg2, - )>> - ptr, - ) : this._( - objc.newBlock( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - ffi.Pointer, - )>(_ObjCBlock_ffiVoid_NSData_bool_NSError_fnPtrTrampoline) - .cast(), - ptr.cast(), - ), - lib); + ffi.Pointer< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer arg0, + ffi.Bool arg1, ffi.Pointer arg2)>> + ptr) + : this._(objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.Pointer)>( + _ObjCBlock_ffiVoid_NSData_bool_NSError_fnPtrTrampoline) + .cast(), + ptr.cast())); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -90093,33 +54630,20 @@ class ObjCBlock_ffiVoid_NSData_bool_NSError extends objc.ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSData_bool_NSError.fromFunction( - AVFAudio lib, - void Function(NSData, bool, NSError?) fn, - ) : this._( - objc.newBlock( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( + void Function(NSData, bool, NSError?) fn) + : this._(objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( ffi.Pointer, ffi.Pointer, ffi.Bool, - ffi.Pointer, - )>( - _ObjCBlock_ffiVoid_NSData_bool_NSError_closureTrampoline) - .cast(), - _ObjCBlock_ffiVoid_NSData_bool_NSError_registerClosure(( - ffi.Pointer arg0, - bool arg1, - ffi.Pointer arg2, - ) => - fn( - NSData._(arg0, lib, retain: true, release: true), - arg1, - arg2.address == 0 - ? null - : NSError._(arg2, lib, retain: true, release: true), - )), - ), - lib); + ffi.Pointer)>( + _ObjCBlock_ffiVoid_NSData_bool_NSError_closureTrampoline) + .cast(), + _ObjCBlock_ffiVoid_NSData_bool_NSError_registerClosure( + (ffi.Pointer arg0, bool arg1, + ffi.Pointer arg2) => + fn(NSData._(arg0, retain: true, release: true), arg1, arg2.address == 0 ? null : NSError._(arg2, retain: true, release: true))))); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -90132,928 +54656,820 @@ class ObjCBlock_ffiVoid_NSData_bool_NSError extends objc.ObjCBlockBase { /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. ObjCBlock_ffiVoid_NSData_bool_NSError.listener( - AVFAudio lib, - void Function(NSData, bool, NSError?) fn, - ) : this._( - objc.newBlock( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - ffi.Pointer, - )>.listener( - _ObjCBlock_ffiVoid_NSData_bool_NSError_closureTrampoline, - )..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSData_bool_NSError_registerClosure(( - ffi.Pointer arg0, - bool arg1, - ffi.Pointer arg2, - ) => - fn( - NSData._(arg0, lib, retain: true, release: true), - arg1, - arg2.address == 0 - ? null - : NSError._(arg2, lib, retain: true, release: true), - )), - ), - lib); + void Function(NSData, bool, NSError?) fn) + : this._(objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.Pointer)>.listener( + _ObjCBlock_ffiVoid_NSData_bool_NSError_closureTrampoline) + ..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSData_bool_NSError_registerClosure( + (ffi.Pointer arg0, bool arg1, + ffi.Pointer arg2) => + fn(NSData._(arg0, retain: true, release: true), arg1, arg2.address == 0 ? null : NSError._(arg2, retain: true, release: true))))); static ffi.NativeCallable< ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - ffi.Pointer, - )>? _dartFuncListenerTrampoline; + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.Pointer)>? _dartFuncListenerTrampoline; void call(NSData arg0, bool arg1, NSError? arg2) => pointer.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Bool arg1, - ffi.Pointer arg2, - )>>() - .asFunction< - void Function( - ffi.Pointer, + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Bool arg1, + ffi.Pointer arg2)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + bool, + ffi.Pointer)>()( + pointer, arg0.pointer, arg1, arg2?.pointer ?? ffi.nullptr); +} + +late final _sel_readDataOfMinLength_maxLength_timeout_completionHandler_ = objc + .registerName("readDataOfMinLength:maxLength:timeout:completionHandler:"); +final _objc_msgSend_1070 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.UnsignedLong minBytes, + ffi.UnsignedLong maxBytes, + ffi.Double timeout, + ffi.Pointer completionHandler)>>() + .asFunction< + void Function( ffi.Pointer, - bool, + ffi.Pointer, + int, + int, + double, + ffi.Pointer)>(); +late final _sel_writeData_timeout_completionHandler_ = + objc.registerName("writeData:timeout:completionHandler:"); +final _objc_msgSend_1071 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer data, + ffi.Double timeout, + ffi.Pointer completionHandler)>>() + .asFunction< + void Function( ffi.Pointer, - )>()(pointer, arg0.pointer, arg1, arg2?.pointer ?? ffi.nullptr); -} + ffi.Pointer, + ffi.Pointer, + double, + ffi.Pointer)>(); +late final _sel_captureStreams = objc.registerName("captureStreams"); +late final _sel_closeWrite = objc.registerName("closeWrite"); +late final _sel_closeRead = objc.registerName("closeRead"); +late final _sel_startSecureConnection = + objc.registerName("startSecureConnection"); +late final _sel_stopSecureConnection = + objc.registerName("stopSecureConnection"); +late final _sel_streamTaskWithHostName_port_ = + objc.registerName("streamTaskWithHostName:port:"); +final _objc_msgSend_1072 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer hostname, + ffi.Long port)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int)>(); class NSNetService extends NSObject { - NSNetService._( - ffi.Pointer pointer, - AVFAudio lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSNetService._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSNetService] that points to the same underlying object as [other]. - static NSNetService castFrom( - AVFAudio lib, - T other, - ) { - return NSNetService._(other.pointer, lib, retain: true, release: true); + static NSNetService castFrom(T other) { + return NSNetService._(other.pointer, retain: true, release: true); } /// Returns a [NSNetService] that wraps the given raw object pointer. - static NSNetService castFromPointer( - AVFAudio lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSNetService._(other, lib, retain: retain, release: release); + static NSNetService castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSNetService._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSNetService]. - static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSNetService1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0( + obj.pointer, _sel_isKindOfClass_, _class_NSNetService); } NSNetService initWithDomain_type_name_port_( - NSString domain, - NSString type, - NSString name, - int port, - ) { - final _ret = _lib._objc_msgSend_1073( - this.pointer, - _lib._sel_initWithDomain_type_name_port_1, - domain.pointer, - type.pointer, - name.pointer, - port, - ); - return NSNetService._(_ret, _lib, retain: true, release: true); + NSString domain, NSString type, NSString name, int port) { + final _ret = _objc_msgSend_1073( + this.pointer, + _sel_initWithDomain_type_name_port_, + domain.pointer, + type.pointer, + name.pointer, + port); + return NSNetService._(_ret, retain: true, release: true); } NSNetService initWithDomain_type_name_( - NSString domain, - NSString type, - NSString name, - ) { - final _ret = _lib._objc_msgSend_1074( - this.pointer, - _lib._sel_initWithDomain_type_name_1, - domain.pointer, - type.pointer, - name.pointer, - ); - return NSNetService._(_ret, _lib, retain: true, release: true); + NSString domain, NSString type, NSString name) { + final _ret = _objc_msgSend_1074( + this.pointer, + _sel_initWithDomain_type_name_, + domain.pointer, + type.pointer, + name.pointer); + return NSNetService._(_ret, retain: true, release: true); } void scheduleInRunLoop_forMode_(NSRunLoop aRunLoop, NSString mode) { - _lib._objc_msgSend_569( - this.pointer, - _lib._sel_scheduleInRunLoop_forMode_1, - aRunLoop.pointer, - mode.pointer, - ); + _objc_msgSend_569(this.pointer, _sel_scheduleInRunLoop_forMode_, + aRunLoop.pointer, mode.pointer); } void removeFromRunLoop_forMode_(NSRunLoop aRunLoop, NSString mode) { - _lib._objc_msgSend_569( - this.pointer, - _lib._sel_removeFromRunLoop_forMode_1, - aRunLoop.pointer, - mode.pointer, - ); + _objc_msgSend_569(this.pointer, _sel_removeFromRunLoop_forMode_, + aRunLoop.pointer, mode.pointer); } NSObject? get delegate { - final _ret = _lib._objc_msgSend_17(this.pointer, _lib._sel_delegate1); + final _ret = _objc_msgSend_17(this.pointer, _sel_delegate); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } set delegate(NSObject? value) { - return _lib._objc_msgSend_416( - this.pointer, - _lib._sel_setDelegate_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_416( + this.pointer, _sel_setDelegate_, value?.pointer ?? ffi.nullptr); } bool get includesPeerToPeer { - return _lib._objc_msgSend_12(this.pointer, _lib._sel_includesPeerToPeer1); + return _objc_msgSend_12(this.pointer, _sel_includesPeerToPeer); } set includesPeerToPeer(bool value) { - return _lib._objc_msgSend_527( - this.pointer, - _lib._sel_setIncludesPeerToPeer_1, - value, - ); + return _objc_msgSend_527(this.pointer, _sel_setIncludesPeerToPeer_, value); } NSString get name { - final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_name1); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_name); + return NSString._(_ret, retain: true, release: true); } NSString get type { - final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_type1); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_type); + return NSString._(_ret, retain: true, release: true); } NSString get domain { - final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_domain1); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_domain); + return NSString._(_ret, retain: true, release: true); } NSString? get hostName { - final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_hostName1); + final _ret = _objc_msgSend_44(this.pointer, _sel_hostName); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } NSArray? get addresses { - final _ret = _lib._objc_msgSend_84(this.pointer, _lib._sel_addresses1); + final _ret = _objc_msgSend_84(this.pointer, _sel_addresses); return _ret.address == 0 ? null - : NSArray._(_ret, _lib, retain: true, release: true); + : NSArray._(_ret, retain: true, release: true); } int get port { - return _lib._objc_msgSend_83(this.pointer, _lib._sel_port1); + return _objc_msgSend_83(this.pointer, _sel_port); } void publish() { - _lib._objc_msgSend_1(this.pointer, _lib._sel_publish1); + _objc_msgSend_1(this.pointer, _sel_publish); } void publishWithOptions_(int options) { - _lib._objc_msgSend_1075( - this.pointer, - _lib._sel_publishWithOptions_1, - options, - ); + _objc_msgSend_1075(this.pointer, _sel_publishWithOptions_, options); } void resolve() { - _lib._objc_msgSend_1(this.pointer, _lib._sel_resolve1); + _objc_msgSend_1(this.pointer, _sel_resolve); } void stop() { - _lib._objc_msgSend_1(this.pointer, _lib._sel_stop1); + _objc_msgSend_1(this.pointer, _sel_stop); } - static NSDictionary dictionaryFromTXTRecordData_( - AVFAudio _lib, - NSData txtData, - ) { - final _ret = _lib._objc_msgSend_1076( - _lib._class_NSNetService1, - _lib._sel_dictionaryFromTXTRecordData_1, - txtData.pointer, - ); - return NSDictionary._(_ret, _lib, retain: true, release: true); + static NSDictionary dictionaryFromTXTRecordData_(NSData txtData) { + final _ret = _objc_msgSend_1076(_class_NSNetService, + _sel_dictionaryFromTXTRecordData_, txtData.pointer); + return NSDictionary._(_ret, retain: true, release: true); } - static NSData dataFromTXTRecordDictionary_( - AVFAudio _lib, - NSDictionary txtDictionary, - ) { - final _ret = _lib._objc_msgSend_1077( - _lib._class_NSNetService1, - _lib._sel_dataFromTXTRecordDictionary_1, - txtDictionary.pointer, - ); - return NSData._(_ret, _lib, retain: true, release: true); + static NSData dataFromTXTRecordDictionary_(NSDictionary txtDictionary) { + final _ret = _objc_msgSend_1077(_class_NSNetService, + _sel_dataFromTXTRecordDictionary_, txtDictionary.pointer); + return NSData._(_ret, retain: true, release: true); } void resolveWithTimeout_(double timeout) { - _lib._objc_msgSend_541( - this.pointer, - _lib._sel_resolveWithTimeout_1, - timeout, - ); + _objc_msgSend_541(this.pointer, _sel_resolveWithTimeout_, timeout); } bool getInputStream_outputStream_( - ffi.Pointer> inputStream, - ffi.Pointer> outputStream, - ) { - return _lib._objc_msgSend_1078( - this.pointer, - _lib._sel_getInputStream_outputStream_1, - inputStream, - outputStream, - ); + ffi.Pointer> inputStream, + ffi.Pointer> outputStream) { + return _objc_msgSend_1078(this.pointer, _sel_getInputStream_outputStream_, + inputStream, outputStream); } bool setTXTRecordData_(NSData? recordData) { - return _lib._objc_msgSend_1079( - this.pointer, - _lib._sel_setTXTRecordData_1, - recordData?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_1079(this.pointer, _sel_setTXTRecordData_, + recordData?.pointer ?? ffi.nullptr); } NSData? TXTRecordData() { - final _ret = _lib._objc_msgSend_286(this.pointer, _lib._sel_TXTRecordData1); + final _ret = _objc_msgSend_286(this.pointer, _sel_TXTRecordData); return _ret.address == 0 ? null - : NSData._(_ret, _lib, retain: true, release: true); + : NSData._(_ret, retain: true, release: true); } void startMonitoring() { - _lib._objc_msgSend_1(this.pointer, _lib._sel_startMonitoring1); + _objc_msgSend_1(this.pointer, _sel_startMonitoring); } void stopMonitoring() { - _lib._objc_msgSend_1(this.pointer, _lib._sel_stopMonitoring1); + _objc_msgSend_1(this.pointer, _sel_stopMonitoring); } @override NSNetService init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSNetService._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSNetService._(_ret, retain: true, release: true); } - static NSNetService new1(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSNetService1, - _lib._sel_new1, - ); - return NSNetService._(_ret, _lib, retain: false, release: true); + static NSNetService new1() { + final _ret = _objc_msgSend_2(_class_NSNetService, _sel_new); + return NSNetService._(_ret, retain: false, release: true); } - static NSNetService allocWithZone_(AVFAudio _lib, ffi.Pointer<_NSZone> zone) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSNetService1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSNetService._(_ret, _lib, retain: false, release: true); + static NSNetService allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = + _objc_msgSend_3(_class_NSNetService, _sel_allocWithZone_, zone); + return NSNetService._(_ret, retain: false, release: true); } - static NSNetService alloc(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSNetService1, - _lib._sel_alloc1, - ); - return NSNetService._(_ret, _lib, retain: false, release: true); + static NSNetService alloc() { + final _ret = _objc_msgSend_2(_class_NSNetService, _sel_alloc); + return NSNetService._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSNetService1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSNetService1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSNetService1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSNetService1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSNetService1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSNetService1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSNetService, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); + } + + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSNetService, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); + } + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSNetService, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSNetService, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSNetService, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSNetService, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); } static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSNetService1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSNetService1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSNetService1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSNetService, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = _objc_msgSend_85( + _class_NSNetService, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = + _objc_msgSend_2(_class_NSNetService, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); } } +late final _class_NSNetService = objc.getClass("NSNetService"); +late final _sel_initWithDomain_type_name_port_ = + objc.registerName("initWithDomain:type:name:port:"); +final _objc_msgSend_1073 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer domain, + ffi.Pointer type, + ffi.Pointer name, + ffi.Int port)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int)>(); +late final _sel_initWithDomain_type_name_ = + objc.registerName("initWithDomain:type:name:"); +final _objc_msgSend_1074 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer domain, + ffi.Pointer type, + ffi.Pointer name)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_includesPeerToPeer = objc.registerName("includesPeerToPeer"); +late final _sel_setIncludesPeerToPeer_ = + objc.registerName("setIncludesPeerToPeer:"); +late final _sel_type = objc.registerName("type"); + abstract class NSNetServiceOptions { static const int NSNetServiceNoAutoRename = 1; static const int NSNetServiceListenForConnections = 2; } +late final _sel_publishWithOptions_ = objc.registerName("publishWithOptions:"); +final _objc_msgSend_1075 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer obj, + ffi.Pointer sel, ffi.Int32 options)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, int)>(); +late final _sel_resolve = objc.registerName("resolve"); +late final _sel_stop = objc.registerName("stop"); +late final _sel_dictionaryFromTXTRecordData_ = + objc.registerName("dictionaryFromTXTRecordData:"); +final _objc_msgSend_1076 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer txtData)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_dataFromTXTRecordDictionary_ = + objc.registerName("dataFromTXTRecordDictionary:"); +final _objc_msgSend_1077 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer txtDictionary)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_resolveWithTimeout_ = objc.registerName("resolveWithTimeout:"); +late final _sel_getInputStream_outputStream_ = + objc.registerName("getInputStream:outputStream:"); +final _objc_msgSend_1078 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer> inputStream, + ffi.Pointer> outputStream)>>() + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer>)>(); +late final _sel_setTXTRecordData_ = objc.registerName("setTXTRecordData:"); +final _objc_msgSend_1079 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer recordData)>>() + .asFunction< + bool Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_TXTRecordData = objc.registerName("TXTRecordData"); +late final _sel_startMonitoring = objc.registerName("startMonitoring"); +late final _sel_stopMonitoring = objc.registerName("stopMonitoring"); +late final _sel_streamTaskWithNetService_ = + objc.registerName("streamTaskWithNetService:"); +final _objc_msgSend_1080 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer service)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); + class NSURLSessionWebSocketTask extends NSURLSessionTask { - NSURLSessionWebSocketTask._( - ffi.Pointer pointer, - AVFAudio lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSURLSessionWebSocketTask._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSURLSessionWebSocketTask] that points to the same underlying object as [other]. static NSURLSessionWebSocketTask castFrom( - AVFAudio lib, - T other, - ) { - return NSURLSessionWebSocketTask._( - other.pointer, - lib, - retain: true, - release: true, - ); + T other) { + return NSURLSessionWebSocketTask._(other.pointer, + retain: true, release: true); } /// Returns a [NSURLSessionWebSocketTask] that wraps the given raw object pointer. static NSURLSessionWebSocketTask castFromPointer( - AVFAudio lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSURLSessionWebSocketTask._( - other, - lib, - retain: retain, - release: release, - ); + ffi.Pointer other, + {bool retain = false, + bool release = false}) { + return NSURLSessionWebSocketTask._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSURLSessionWebSocketTask]. - static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSURLSessionWebSocketTask1, - ); - } - - void sendMessage_completionHandler_( - NSURLSessionWebSocketMessage message, - ObjCBlock_ffiVoid_NSError completionHandler, - ) { - _lib._objc_msgSend_1082( - this.pointer, - _lib._sel_sendMessage_completionHandler_1, - message.pointer, - completionHandler.pointer, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0( + obj.pointer, _sel_isKindOfClass_, _class_NSURLSessionWebSocketTask); + } + + void sendMessage_completionHandler_(NSURLSessionWebSocketMessage message, + ObjCBlock_ffiVoid_NSError completionHandler) { + _objc_msgSend_1082(this.pointer, _sel_sendMessage_completionHandler_, + message.pointer, completionHandler.pointer); } void receiveMessageWithCompletionHandler_( - ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError completionHandler, - ) { - _lib._objc_msgSend_1083( - this.pointer, - _lib._sel_receiveMessageWithCompletionHandler_1, - completionHandler.pointer, - ); + ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError + completionHandler) { + _objc_msgSend_1083(this.pointer, _sel_receiveMessageWithCompletionHandler_, + completionHandler.pointer); } void sendPingWithPongReceiveHandler_( - ObjCBlock_ffiVoid_NSError pongReceiveHandler, - ) { - _lib._objc_msgSend_1084( - this.pointer, - _lib._sel_sendPingWithPongReceiveHandler_1, - pongReceiveHandler.pointer, - ); + ObjCBlock_ffiVoid_NSError pongReceiveHandler) { + _objc_msgSend_1084(this.pointer, _sel_sendPingWithPongReceiveHandler_, + pongReceiveHandler.pointer); } void cancelWithCloseCode_reason_(int closeCode, NSData? reason) { - _lib._objc_msgSend_1085( - this.pointer, - _lib._sel_cancelWithCloseCode_reason_1, - closeCode, - reason?.pointer ?? ffi.nullptr, - ); + _objc_msgSend_1085(this.pointer, _sel_cancelWithCloseCode_reason_, + closeCode, reason?.pointer ?? ffi.nullptr); } int get maximumMessageSize { - return _lib._objc_msgSend_83(this.pointer, _lib._sel_maximumMessageSize1); + return _objc_msgSend_83(this.pointer, _sel_maximumMessageSize); } set maximumMessageSize(int value) { - return _lib._objc_msgSend_635( - this.pointer, - _lib._sel_setMaximumMessageSize_1, - value, - ); + return _objc_msgSend_635(this.pointer, _sel_setMaximumMessageSize_, value); } int get closeCode { - return _lib._objc_msgSend_1086(this.pointer, _lib._sel_closeCode1); + return _objc_msgSend_1086(this.pointer, _sel_closeCode); } NSData? get closeReason { - final _ret = _lib._objc_msgSend_286(this.pointer, _lib._sel_closeReason1); + final _ret = _objc_msgSend_286(this.pointer, _sel_closeReason); return _ret.address == 0 ? null - : NSData._(_ret, _lib, retain: true, release: true); + : NSData._(_ret, retain: true, release: true); } @override NSURLSessionWebSocketTask init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSURLSessionWebSocketTask._(_ret, _lib, retain: true, release: true); - } - - static NSURLSessionWebSocketTask new1(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLSessionWebSocketTask1, - _lib._sel_new1, - ); - return NSURLSessionWebSocketTask._( - _ret, - _lib, - retain: false, - release: true, - ); - } - - static NSURLSessionWebSocketTask allocWithZone_( - AVFAudio _lib, - ffi.Pointer<_NSZone> zone, - ) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSURLSessionWebSocketTask1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSURLSessionWebSocketTask._( - _ret, - _lib, - retain: false, - release: true, - ); - } - - static NSURLSessionWebSocketTask alloc(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLSessionWebSocketTask1, - _lib._sel_alloc1, - ); - return NSURLSessionWebSocketTask._( - _ret, - _lib, - retain: false, - release: true, - ); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSURLSessionWebSocketTask._(_ret, retain: true, release: true); + } + + static NSURLSessionWebSocketTask new1() { + final _ret = _objc_msgSend_2(_class_NSURLSessionWebSocketTask, _sel_new); + return NSURLSessionWebSocketTask._(_ret, retain: false, release: true); + } + + static NSURLSessionWebSocketTask allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = _objc_msgSend_3( + _class_NSURLSessionWebSocketTask, _sel_allocWithZone_, zone); + return NSURLSessionWebSocketTask._(_ret, retain: false, release: true); + } + + static NSURLSessionWebSocketTask alloc() { + final _ret = _objc_msgSend_2(_class_NSURLSessionWebSocketTask, _sel_alloc); + return NSURLSessionWebSocketTask._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSURLSessionWebSocketTask1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSURLSessionWebSocketTask1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSURLSessionWebSocketTask1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSURLSessionWebSocketTask1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSURLSessionWebSocketTask1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSURLSessionWebSocketTask1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSURLSessionWebSocketTask, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); + } + + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSURLSessionWebSocketTask, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); + } + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSURLSessionWebSocketTask, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12( + _class_NSURLSessionWebSocketTask, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSURLSessionWebSocketTask, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSURLSessionWebSocketTask, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); } static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSURLSessionWebSocketTask1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSURLSessionWebSocketTask1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLSessionWebSocketTask1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSURLSessionWebSocketTask, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = _objc_msgSend_85( + _class_NSURLSessionWebSocketTask, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = _objc_msgSend_2( + _class_NSURLSessionWebSocketTask, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); } } +late final _class_NSURLSessionWebSocketTask = + objc.getClass("NSURLSessionWebSocketTask"); + class NSURLSessionWebSocketMessage extends NSObject { - NSURLSessionWebSocketMessage._( - ffi.Pointer pointer, - AVFAudio lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSURLSessionWebSocketMessage._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSURLSessionWebSocketMessage] that points to the same underlying object as [other]. static NSURLSessionWebSocketMessage castFrom( - AVFAudio lib, - T other, - ) { - return NSURLSessionWebSocketMessage._( - other.pointer, - lib, - retain: true, - release: true, - ); + T other) { + return NSURLSessionWebSocketMessage._(other.pointer, + retain: true, release: true); } /// Returns a [NSURLSessionWebSocketMessage] that wraps the given raw object pointer. static NSURLSessionWebSocketMessage castFromPointer( - AVFAudio lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSURLSessionWebSocketMessage._( - other, - lib, - retain: retain, - release: release, - ); + ffi.Pointer other, + {bool retain = false, + bool release = false}) { + return NSURLSessionWebSocketMessage._(other, + retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSURLSessionWebSocketMessage]. - static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSURLSessionWebSocketMessage1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0( + obj.pointer, _sel_isKindOfClass_, _class_NSURLSessionWebSocketMessage); } NSURLSessionWebSocketMessage initWithData_(NSData data) { - final _ret = _lib._objc_msgSend_279( - this.pointer, - _lib._sel_initWithData_1, - data.pointer, - ); - return NSURLSessionWebSocketMessage._( - _ret, - _lib, - retain: true, - release: true, - ); + final _ret = + _objc_msgSend_279(this.pointer, _sel_initWithData_, data.pointer); + return NSURLSessionWebSocketMessage._(_ret, retain: true, release: true); } NSURLSessionWebSocketMessage initWithString_(NSString string) { - final _ret = _lib._objc_msgSend_31( - this.pointer, - _lib._sel_initWithString_1, - string.pointer, - ); - return NSURLSessionWebSocketMessage._( - _ret, - _lib, - retain: true, - release: true, - ); + final _ret = + _objc_msgSend_31(this.pointer, _sel_initWithString_, string.pointer); + return NSURLSessionWebSocketMessage._(_ret, retain: true, release: true); } int get type { - return _lib._objc_msgSend_1081(this.pointer, _lib._sel_type1); + return _objc_msgSend_1081(this.pointer, _sel_type); } NSData? get data { - final _ret = _lib._objc_msgSend_286(this.pointer, _lib._sel_data1); + final _ret = _objc_msgSend_286(this.pointer, _sel_data); return _ret.address == 0 ? null - : NSData._(_ret, _lib, retain: true, release: true); + : NSData._(_ret, retain: true, release: true); } NSString? get string { - final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_string1); + final _ret = _objc_msgSend_44(this.pointer, _sel_string); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } @override NSURLSessionWebSocketMessage init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSURLSessionWebSocketMessage._( - _ret, - _lib, - retain: true, - release: true, - ); - } - - static NSURLSessionWebSocketMessage new1(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLSessionWebSocketMessage1, - _lib._sel_new1, - ); - return NSURLSessionWebSocketMessage._( - _ret, - _lib, - retain: false, - release: true, - ); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSURLSessionWebSocketMessage._(_ret, retain: true, release: true); + } + + static NSURLSessionWebSocketMessage new1() { + final _ret = _objc_msgSend_2(_class_NSURLSessionWebSocketMessage, _sel_new); + return NSURLSessionWebSocketMessage._(_ret, retain: false, release: true); } static NSURLSessionWebSocketMessage allocWithZone_( - AVFAudio _lib, - ffi.Pointer<_NSZone> zone, - ) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSURLSessionWebSocketMessage1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSURLSessionWebSocketMessage._( - _ret, - _lib, - retain: false, - release: true, - ); - } - - static NSURLSessionWebSocketMessage alloc(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLSessionWebSocketMessage1, - _lib._sel_alloc1, - ); - return NSURLSessionWebSocketMessage._( - _ret, - _lib, - retain: false, - release: true, - ); + ffi.Pointer<_NSZone> zone) { + final _ret = _objc_msgSend_3( + _class_NSURLSessionWebSocketMessage, _sel_allocWithZone_, zone); + return NSURLSessionWebSocketMessage._(_ret, retain: false, release: true); + } + + static NSURLSessionWebSocketMessage alloc() { + final _ret = + _objc_msgSend_2(_class_NSURLSessionWebSocketMessage, _sel_alloc); + return NSURLSessionWebSocketMessage._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSURLSessionWebSocketMessage1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSURLSessionWebSocketMessage1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSURLSessionWebSocketMessage1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSURLSessionWebSocketMessage1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSURLSessionWebSocketMessage1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSURLSessionWebSocketMessage1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSURLSessionWebSocketMessage, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); + } + + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSURLSessionWebSocketMessage, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); + } + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12(_class_NSURLSessionWebSocketMessage, + _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12( + _class_NSURLSessionWebSocketMessage, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSURLSessionWebSocketMessage, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSURLSessionWebSocketMessage, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); } static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSURLSessionWebSocketMessage1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSURLSessionWebSocketMessage1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLSessionWebSocketMessage1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSURLSessionWebSocketMessage, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = _objc_msgSend_85(_class_NSURLSessionWebSocketMessage, + _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = _objc_msgSend_2( + _class_NSURLSessionWebSocketMessage, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); } } +late final _class_NSURLSessionWebSocketMessage = + objc.getClass("NSURLSessionWebSocketMessage"); + abstract class NSURLSessionWebSocketMessageType { static const int NSURLSessionWebSocketMessageTypeData = 0; static const int NSURLSessionWebSocketMessageTypeString = 1; } +final _objc_msgSend_1081 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + int Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_sendMessage_completionHandler_ = + objc.registerName("sendMessage:completionHandler:"); +final _objc_msgSend_1082 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer message, + ffi.Pointer completionHandler)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); void _ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError_fnPtrTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Pointer arg1, -) => + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1) => block.ref.target .cast< ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - )>>() + ffi.Void Function(ffi.Pointer arg0, + ffi.Pointer arg1)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer)>()(arg0, arg1); @@ -91065,8 +55481,9 @@ int _ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError_closureRegistryIndex 0; ffi.Pointer _ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError_registerClosure( - void Function(ffi.Pointer, ffi.Pointer) fn, -) { + void Function( + ffi.Pointer, ffi.Pointer) + fn) { final id = ++_ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError_closureRegistryIndex; _ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError_closureRegistry[id] = @@ -91075,37 +55492,27 @@ ffi.Pointer } void _ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError_closureTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Pointer arg1, -) => + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1) => _ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError_closureRegistry[ block.ref.target.address]!(arg0, arg1); class ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError._( - ffi.Pointer pointer, - this._lib, { - bool retain = false, - bool release = true, - }) : super(pointer, retain: retain, release: release); - - AVFAudio _lib; + ffi.Pointer pointer, + {bool retain = false, + bool release = true}) + : super(pointer, retain: retain, release: release); /// Returns a block that wraps the given raw block pointer. static ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError castFromPointer( - AVFAudio lib, - ffi.Pointer pointer, { - bool retain = false, - bool release = false, - }) { - return ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError._( - pointer, - lib, - retain: retain, - release: release, - ); + ffi.Pointer pointer, + {bool retain = false, + bool release = false}) { + return ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError._(pointer, + retain: retain, release: release); } /// Creates a block from a C function pointer. @@ -91114,27 +55521,20 @@ class ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError.fromFunctionPointer( - AVFAudio lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - )>> - ptr, - ) : this._( - objc.newBlock( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>( - _ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError_fnPtrTrampoline, - ).cast(), - ptr.cast(), - ), - lib); + ffi.Pointer< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer arg0, + ffi.Pointer arg1)>> + ptr) + : this._(objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>( + _ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError_fnPtrTrampoline) + .cast(), + ptr.cast())); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -91143,39 +55543,19 @@ class ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError.fromFunction( - AVFAudio lib, - void Function(NSURLSessionWebSocketMessage?, NSError?) fn, - ) : this._( - objc.newBlock( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>( - _ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError_closureTrampoline, - ).cast(), - _ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError_registerClosure( - ( - ffi.Pointer arg0, - ffi.Pointer arg1, - ) => - fn( - arg0.address == 0 - ? null - : NSURLSessionWebSocketMessage._( - arg0, - lib, - retain: true, - release: true, - ), - arg1.address == 0 - ? null - : NSError._(arg1, lib, retain: true, release: true), - ), - ), - ), - lib); + void Function(NSURLSessionWebSocketMessage?, NSError?) fn) + : this._(objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>( + _ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError_closureTrampoline) + .cast(), + _ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError_registerClosure( + (ffi.Pointer arg0, + ffi.Pointer arg1) => + fn(arg0.address == 0 ? null : NSURLSessionWebSocketMessage._(arg0, retain: true, release: true), arg1.address == 0 ? null : NSError._(arg1, retain: true, release: true))))); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -91188,66 +55568,68 @@ class ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError.listener( - AVFAudio lib, - void Function(NSURLSessionWebSocketMessage?, NSError?) fn, - ) : this._( - objc.newBlock( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>.listener( - _ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError_closureTrampoline, - )..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError_registerClosure( - ( - ffi.Pointer arg0, - ffi.Pointer arg1, - ) => - fn( - arg0.address == 0 - ? null - : NSURLSessionWebSocketMessage._( - arg0, - lib, - retain: true, - release: true, - ), - arg1.address == 0 - ? null - : NSError._(arg1, lib, retain: true, release: true), - ), - ), - ), - lib); + void Function(NSURLSessionWebSocketMessage?, NSError?) fn) + : this._(objc.newBlock( + (_dartFuncListenerTrampoline ??= + ffi.NativeCallable, ffi.Pointer, ffi.Pointer)>.listener( + _ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError_closureTrampoline) + ..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError_registerClosure( + (ffi.Pointer arg0, ffi.Pointer arg1) => fn( + arg0.address == 0 + ? null + : NSURLSessionWebSocketMessage._(arg0, + retain: true, release: true), + arg1.address == 0 ? null : NSError._(arg1, retain: true, release: true))))); static ffi.NativeCallable< ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>? _dartFuncListenerTrampoline; + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>? _dartFuncListenerTrampoline; - void call(NSURLSessionWebSocketMessage? arg0, NSError? arg1) => - pointer.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Pointer arg1, - )>>() - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>()( - pointer, arg0?.pointer ?? ffi.nullptr, arg1?.pointer ?? ffi.nullptr); + void call(NSURLSessionWebSocketMessage? arg0, NSError? arg1) => pointer + .ref.invoke + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>()( + pointer, arg0?.pointer ?? ffi.nullptr, arg1?.pointer ?? ffi.nullptr); } +late final _sel_receiveMessageWithCompletionHandler_ = + objc.registerName("receiveMessageWithCompletionHandler:"); +final _objc_msgSend_1083 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer completionHandler)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_sendPingWithPongReceiveHandler_ = + objc.registerName("sendPingWithPongReceiveHandler:"); +final _objc_msgSend_1084 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer pongReceiveHandler)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); + abstract class NSURLSessionWebSocketCloseCode { static const int NSURLSessionWebSocketCloseCodeInvalid = 0; static const int NSURLSessionWebSocketCloseCodeNormalClosure = 1000; @@ -91265,41 +55647,101 @@ abstract class NSURLSessionWebSocketCloseCode { static const int NSURLSessionWebSocketCloseCodeTLSHandshakeFailure = 1015; } +late final _sel_cancelWithCloseCode_reason_ = + objc.registerName("cancelWithCloseCode:reason:"); +final _objc_msgSend_1085 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Int32 closeCode, + ffi.Pointer reason)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer)>(); +late final _sel_maximumMessageSize = objc.registerName("maximumMessageSize"); +late final _sel_setMaximumMessageSize_ = + objc.registerName("setMaximumMessageSize:"); +late final _sel_closeCode = objc.registerName("closeCode"); +final _objc_msgSend_1086 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + int Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_closeReason = objc.registerName("closeReason"); +late final _sel_webSocketTaskWithURL_ = + objc.registerName("webSocketTaskWithURL:"); +final _objc_msgSend_1087 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer url)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_webSocketTaskWithURL_protocols_ = + objc.registerName("webSocketTaskWithURL:protocols:"); +final _objc_msgSend_1088 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer url, + ffi.Pointer protocols)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_webSocketTaskWithRequest_ = + objc.registerName("webSocketTaskWithRequest:"); +final _objc_msgSend_1089 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer request)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); void _ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError_fnPtrTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2, -) => + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2) => block.ref.target .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2, - )>>() + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2)>>() .asFunction< void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>()(arg0, arg1, arg2); + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>()(arg0, arg1, arg2); final _ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError_closureRegistry = , - ffi.Pointer, - ffi.Pointer, -)>{}; + void Function(ffi.Pointer, ffi.Pointer, + ffi.Pointer)>{}; int _ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError_registerClosure( - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) fn, -) { + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer) + fn) { final id = ++_ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError_closureRegistryIndex; _ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError_closureRegistry[id] = fn; @@ -91307,38 +55749,28 @@ ffi.Pointer } void _ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError_closureTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2, -) => + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2) => _ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError_closureRegistry[ block.ref.target.address]!(arg0, arg1, arg2); class ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError._( - ffi.Pointer pointer, - this._lib, { - bool retain = false, - bool release = true, - }) : super(pointer, retain: retain, release: release); - - AVFAudio _lib; + ffi.Pointer pointer, + {bool retain = false, + bool release = true}) + : super(pointer, retain: retain, release: release); /// Returns a block that wraps the given raw block pointer. static ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError castFromPointer( - AVFAudio lib, - ffi.Pointer pointer, { - bool retain = false, - bool release = false, - }) { - return ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError._( - pointer, - lib, - retain: retain, - release: release, - ); + ffi.Pointer pointer, + {bool retain = false, + bool release = false}) { + return ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError._(pointer, + retain: retain, release: release); } /// Creates a block from a C function pointer. @@ -91347,29 +55779,23 @@ class ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError.fromFunctionPointer( - AVFAudio lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2, - )>> - ptr, - ) : this._( - objc.newBlock( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Pointer< + ffi.NativeFunction< ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>( - _ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError_fnPtrTrampoline, - ).cast(), - ptr.cast(), - ), - lib); + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2)>> + ptr) + : this._(objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>( + _ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError_fnPtrTrampoline) + .cast(), + ptr.cast())); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -91378,38 +55804,20 @@ class ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError.fromFunction( - AVFAudio lib, - void Function(NSData?, NSURLResponse?, NSError?) fn, - ) : this._( - objc.newBlock( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>( - _ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError_closureTrampoline, - ).cast(), - _ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError_registerClosure(( - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2, - ) => - fn( - arg0.address == 0 - ? null - : NSData._(arg0, lib, retain: true, release: true), - arg1.address == 0 - ? null - : NSURLResponse._(arg1, lib, - retain: true, release: true), - arg2.address == 0 - ? null - : NSError._(arg2, lib, retain: true, release: true), - )), - ), - lib); + void Function(NSData?, NSURLResponse?, NSError?) fn) + : this._(objc.newBlock( + _dartFuncTrampoline ??= + ffi.Pointer.fromFunction, ffi.Pointer, ffi.Pointer, ffi.Pointer)>( + _ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError_closureTrampoline) + .cast(), + _ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError_registerClosure( + (ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2) => + fn( + arg0.address == 0 ? null : NSData._(arg0, retain: true, release: true), + arg1.address == 0 ? null : NSURLResponse._(arg1, retain: true, release: true), + arg2.address == 0 ? null : NSError._(arg2, retain: true, release: true))))); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -91422,107 +55830,163 @@ class ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError.listener( - AVFAudio lib, - void Function(NSData?, NSURLResponse?, NSError?) fn, - ) : this._( - objc.newBlock( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>.listener( - _ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError_closureTrampoline, - )..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError_registerClosure(( - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2, - ) => - fn( - arg0.address == 0 - ? null - : NSData._(arg0, lib, retain: true, release: true), - arg1.address == 0 - ? null - : NSURLResponse._(arg1, lib, - retain: true, release: true), - arg2.address == 0 - ? null - : NSError._(arg2, lib, retain: true, release: true), - )), - ), - lib); + void Function(NSData?, NSURLResponse?, NSError?) fn) + : this._(objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable, ffi.Pointer, ffi.Pointer, ffi.Pointer)>.listener( + _ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError_closureTrampoline) + ..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError_registerClosure( + (ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2) => + fn( + arg0.address == 0 + ? null + : NSData._(arg0, retain: true, release: true), + arg1.address == 0 + ? null + : NSURLResponse._(arg1, retain: true, release: true), + arg2.address == 0 ? null : NSError._(arg2, retain: true, release: true))))); static ffi.NativeCallable< ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>? _dartFuncListenerTrampoline; + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>? _dartFuncListenerTrampoline; void call(NSData? arg0, NSURLResponse? arg1, NSError? arg2) => pointer.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2, - )>>() - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>()( - pointer, - arg0?.pointer ?? ffi.nullptr, - arg1?.pointer ?? ffi.nullptr, - arg2?.pointer ?? ffi.nullptr, - ); -} - + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>()( + pointer, + arg0?.pointer ?? ffi.nullptr, + arg1?.pointer ?? ffi.nullptr, + arg2?.pointer ?? ffi.nullptr); +} + +late final _sel_dataTaskWithRequest_completionHandler_ = + objc.registerName("dataTaskWithRequest:completionHandler:"); +final _objc_msgSend_1090 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer request, + ffi.Pointer completionHandler)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_dataTaskWithURL_completionHandler_ = + objc.registerName("dataTaskWithURL:completionHandler:"); +final _objc_msgSend_1091 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer url, + ffi.Pointer completionHandler)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_uploadTaskWithRequest_fromFile_completionHandler_ = + objc.registerName("uploadTaskWithRequest:fromFile:completionHandler:"); +final _objc_msgSend_1092 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer request, + ffi.Pointer fileURL, + ffi.Pointer completionHandler)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_uploadTaskWithRequest_fromData_completionHandler_ = + objc.registerName("uploadTaskWithRequest:fromData:completionHandler:"); +final _objc_msgSend_1093 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer request, + ffi.Pointer bodyData, + ffi.Pointer completionHandler)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_uploadTaskWithResumeData_completionHandler_ = + objc.registerName("uploadTaskWithResumeData:completionHandler:"); +final _objc_msgSend_1094 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer resumeData, + ffi.Pointer completionHandler)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); void _ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError_fnPtrTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2, -) => + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2) => block.ref.target .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2, - )>>() + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2)>>() .asFunction< void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>()(arg0, arg1, arg2); + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>()(arg0, arg1, arg2); final _ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError_closureRegistry = , - ffi.Pointer, - ffi.Pointer, -)>{}; + void Function(ffi.Pointer, ffi.Pointer, + ffi.Pointer)>{}; int _ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError_registerClosure( - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) fn, -) { + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer) + fn) { final id = ++_ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError_closureRegistryIndex; _ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError_closureRegistry[id] = fn; @@ -91530,37 +55994,27 @@ ffi.Pointer } void _ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError_closureTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2, -) => + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2) => _ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError_closureRegistry[ block.ref.target.address]!(arg0, arg1, arg2); class ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError._( - ffi.Pointer pointer, - this._lib, { - bool retain = false, - bool release = true, - }) : super(pointer, retain: retain, release: release); - - AVFAudio _lib; + ffi.Pointer pointer, + {bool retain = false, + bool release = true}) + : super(pointer, retain: retain, release: release); /// Returns a block that wraps the given raw block pointer. static ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError castFromPointer( - AVFAudio lib, - ffi.Pointer pointer, { - bool retain = false, - bool release = false, - }) { - return ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError._( - pointer, - lib, - retain: retain, - release: release, - ); + ffi.Pointer pointer, + {bool retain = false, + bool release = false}) { + return ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError._(pointer, + retain: retain, release: release); } /// Creates a block from a C function pointer. @@ -91569,29 +56023,23 @@ class ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError extends objc.ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError.fromFunctionPointer( - AVFAudio lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2, - )>> - ptr, - ) : this._( - objc.newBlock( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Pointer< + ffi.NativeFunction< ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>( - _ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError_fnPtrTrampoline, - ).cast(), - ptr.cast(), - ), - lib); + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2)>> + ptr) + : this._(objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>( + _ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError_fnPtrTrampoline) + .cast(), + ptr.cast())); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -91600,38 +56048,20 @@ class ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError extends objc.ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError.fromFunction( - AVFAudio lib, - void Function(NSURL?, NSURLResponse?, NSError?) fn, - ) : this._( - objc.newBlock( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>( - _ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError_closureTrampoline, - ).cast(), - _ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError_registerClosure(( - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2, - ) => - fn( - arg0.address == 0 - ? null - : NSURL._(arg0, lib, retain: true, release: true), - arg1.address == 0 - ? null - : NSURLResponse._(arg1, lib, - retain: true, release: true), - arg2.address == 0 - ? null - : NSError._(arg2, lib, retain: true, release: true), - )), - ), - lib); + void Function(NSURL?, NSURLResponse?, NSError?) fn) + : this._(objc.newBlock( + _dartFuncTrampoline ??= + ffi.Pointer.fromFunction, ffi.Pointer, ffi.Pointer, ffi.Pointer)>( + _ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError_closureTrampoline) + .cast(), + _ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError_registerClosure( + (ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2) => + fn( + arg0.address == 0 ? null : NSURL._(arg0, retain: true, release: true), + arg1.address == 0 ? null : NSURLResponse._(arg1, retain: true, release: true), + arg2.address == 0 ? null : NSError._(arg2, retain: true, release: true))))); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -91644,595 +56074,542 @@ class ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError extends objc.ObjCBlockBase { /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError.listener( - AVFAudio lib, - void Function(NSURL?, NSURLResponse?, NSError?) fn, - ) : this._( - objc.newBlock( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>.listener( - _ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError_closureTrampoline, - )..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError_registerClosure(( - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2, - ) => - fn( - arg0.address == 0 - ? null - : NSURL._(arg0, lib, retain: true, release: true), - arg1.address == 0 - ? null - : NSURLResponse._(arg1, lib, - retain: true, release: true), - arg2.address == 0 - ? null - : NSError._(arg2, lib, retain: true, release: true), - )), - ), - lib); + void Function(NSURL?, NSURLResponse?, NSError?) fn) + : this._(objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable, ffi.Pointer, ffi.Pointer, ffi.Pointer)>.listener( + _ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError_closureTrampoline) + ..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError_registerClosure( + (ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2) => + fn( + arg0.address == 0 + ? null + : NSURL._(arg0, retain: true, release: true), + arg1.address == 0 + ? null + : NSURLResponse._(arg1, retain: true, release: true), + arg2.address == 0 ? null : NSError._(arg2, retain: true, release: true))))); static ffi.NativeCallable< ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>? _dartFuncListenerTrampoline; + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>? _dartFuncListenerTrampoline; void call(NSURL? arg0, NSURLResponse? arg1, NSError? arg2) => pointer.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2, - )>>() - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>()( - pointer, - arg0?.pointer ?? ffi.nullptr, - arg1?.pointer ?? ffi.nullptr, - arg2?.pointer ?? ffi.nullptr, - ); -} + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>()( + pointer, + arg0?.pointer ?? ffi.nullptr, + arg1?.pointer ?? ffi.nullptr, + arg2?.pointer ?? ffi.nullptr); +} + +late final _sel_downloadTaskWithRequest_completionHandler_ = + objc.registerName("downloadTaskWithRequest:completionHandler:"); +final _objc_msgSend_1095 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer request, + ffi.Pointer completionHandler)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_downloadTaskWithURL_completionHandler_ = + objc.registerName("downloadTaskWithURL:completionHandler:"); +final _objc_msgSend_1096 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer url, + ffi.Pointer completionHandler)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_downloadTaskWithResumeData_completionHandler_ = + objc.registerName("downloadTaskWithResumeData:completionHandler:"); +final _objc_msgSend_1097 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer resumeData, + ffi.Pointer completionHandler)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); class NSProtocolChecker extends NSProxy { - NSProtocolChecker._( - ffi.Pointer pointer, - AVFAudio lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSProtocolChecker._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSProtocolChecker] that points to the same underlying object as [other]. - static NSProtocolChecker castFrom( - AVFAudio lib, - T other, - ) { - return NSProtocolChecker._(other.pointer, lib, retain: true, release: true); + static NSProtocolChecker castFrom(T other) { + return NSProtocolChecker._(other.pointer, retain: true, release: true); } /// Returns a [NSProtocolChecker] that wraps the given raw object pointer. - static NSProtocolChecker castFromPointer( - AVFAudio lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSProtocolChecker._(other, lib, retain: retain, release: release); + static NSProtocolChecker castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSProtocolChecker._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSProtocolChecker]. - static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSProtocolChecker1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0( + obj.pointer, _sel_isKindOfClass_, _class_NSProtocolChecker); } Protocol get protocol { - final _ret = _lib._objc_msgSend_1098(this.pointer, _lib._sel_protocol1); - return Protocol._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_1098(this.pointer, _sel_protocol); + return Protocol._(_ret, retain: true, release: true); } NSObject? get target { - final _ret = _lib._objc_msgSend_1099(this.pointer, _lib._sel_target1); + final _ret = _objc_msgSend_914(this.pointer, _sel_target); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } static NSProtocolChecker protocolCheckerWithTarget_protocol_( - AVFAudio _lib, - NSObject anObject, - Protocol aProtocol, - ) { - final _ret = _lib._objc_msgSend_1100( - _lib._class_NSProtocolChecker1, - _lib._sel_protocolCheckerWithTarget_protocol_1, - anObject.pointer, - aProtocol.pointer, - ); - return NSProtocolChecker._(_ret, _lib, retain: true, release: true); + NSObject anObject, Protocol aProtocol) { + final _ret = _objc_msgSend_1099( + _class_NSProtocolChecker, + _sel_protocolCheckerWithTarget_protocol_, + anObject.pointer, + aProtocol.pointer); + return NSProtocolChecker._(_ret, retain: true, release: true); } NSProtocolChecker initWithTarget_protocol_( - NSObject anObject, - Protocol aProtocol, - ) { - final _ret = _lib._objc_msgSend_1100( - this.pointer, - _lib._sel_initWithTarget_protocol_1, - anObject.pointer, - aProtocol.pointer, - ); - return NSProtocolChecker._(_ret, _lib, retain: true, release: true); - } - - static NSObject alloc(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSProtocolChecker1, - _lib._sel_alloc1, - ); - return NSObject._(_ret, _lib, retain: false, release: true); - } - - static bool respondsToSelector_( - AVFAudio _lib, - ffi.Pointer aSelector, - ) { - return _lib._objc_msgSend_4( - _lib._class_NSProtocolChecker1, - _lib._sel_respondsToSelector_1, - aSelector, - ); + NSObject anObject, Protocol aProtocol) { + final _ret = _objc_msgSend_1099(this.pointer, _sel_initWithTarget_protocol_, + anObject.pointer, aProtocol.pointer); + return NSProtocolChecker._(_ret, retain: true, release: true); + } + + static NSObject alloc() { + final _ret = _objc_msgSend_2(_class_NSProtocolChecker, _sel_alloc); + return NSObject._(_ret, retain: false, release: true); + } + + static bool respondsToSelector_(ffi.Pointer aSelector) { + return _objc_msgSend_4( + _class_NSProtocolChecker, _sel_respondsToSelector_, aSelector); } } +late final _class_NSProtocolChecker = objc.getClass("NSProtocolChecker"); +final _objc_msgSend_1098 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_protocolCheckerWithTarget_protocol_ = + objc.registerName("protocolCheckerWithTarget:protocol:"); +final _objc_msgSend_1099 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer anObject, + ffi.Pointer aProtocol)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_initWithTarget_protocol_ = + objc.registerName("initWithTarget:protocol:"); + class NSTask extends NSObject { - NSTask._( - ffi.Pointer pointer, - AVFAudio lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSTask._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSTask] that points to the same underlying object as [other]. - static NSTask castFrom(AVFAudio lib, T other) { - return NSTask._(other.pointer, lib, retain: true, release: true); + static NSTask castFrom(T other) { + return NSTask._(other.pointer, retain: true, release: true); } /// Returns a [NSTask] that wraps the given raw object pointer. - static NSTask castFromPointer( - AVFAudio lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSTask._(other, lib, retain: retain, release: release); + static NSTask castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSTask._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSTask]. - static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSTask1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0(obj.pointer, _sel_isKindOfClass_, _class_NSTask); } @override NSTask init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSTask._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSTask._(_ret, retain: true, release: true); } NSURL? get executableURL { - final _ret = _lib._objc_msgSend_45(this.pointer, _lib._sel_executableURL1); + final _ret = _objc_msgSend_45(this.pointer, _sel_executableURL); return _ret.address == 0 ? null - : NSURL._(_ret, _lib, retain: true, release: true); + : NSURL._(_ret, retain: true, release: true); } set executableURL(NSURL? value) { - return _lib._objc_msgSend_671( - this.pointer, - _lib._sel_setExecutableURL_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_671( + this.pointer, _sel_setExecutableURL_, value?.pointer ?? ffi.nullptr); } NSArray? get arguments { - final _ret = _lib._objc_msgSend_84(this.pointer, _lib._sel_arguments1); + final _ret = _objc_msgSend_84(this.pointer, _sel_arguments); return _ret.address == 0 ? null - : NSArray._(_ret, _lib, retain: true, release: true); + : NSArray._(_ret, retain: true, release: true); } set arguments(NSArray? value) { - return _lib._objc_msgSend_1053( - this.pointer, - _lib._sel_setArguments_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_1053( + this.pointer, _sel_setArguments_, value?.pointer ?? ffi.nullptr); } NSDictionary? get environment { - final _ret = _lib._objc_msgSend_390(this.pointer, _lib._sel_environment1); + final _ret = _objc_msgSend_390(this.pointer, _sel_environment); return _ret.address == 0 ? null - : NSDictionary._(_ret, _lib, retain: true, release: true); + : NSDictionary._(_ret, retain: true, release: true); } set environment(NSDictionary? value) { - return _lib._objc_msgSend_634( - this.pointer, - _lib._sel_setEnvironment_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_634( + this.pointer, _sel_setEnvironment_, value?.pointer ?? ffi.nullptr); } NSURL? get currentDirectoryURL { - final _ret = _lib._objc_msgSend_45( - this.pointer, - _lib._sel_currentDirectoryURL1, - ); + final _ret = _objc_msgSend_45(this.pointer, _sel_currentDirectoryURL); return _ret.address == 0 ? null - : NSURL._(_ret, _lib, retain: true, release: true); + : NSURL._(_ret, retain: true, release: true); } set currentDirectoryURL(NSURL? value) { - return _lib._objc_msgSend_671( - this.pointer, - _lib._sel_setCurrentDirectoryURL_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_671(this.pointer, _sel_setCurrentDirectoryURL_, + value?.pointer ?? ffi.nullptr); } NSData? get launchRequirementData { - final _ret = _lib._objc_msgSend_286( - this.pointer, - _lib._sel_launchRequirementData1, - ); + final _ret = _objc_msgSend_286(this.pointer, _sel_launchRequirementData); return _ret.address == 0 ? null - : NSData._(_ret, _lib, retain: true, release: true); + : NSData._(_ret, retain: true, release: true); } set launchRequirementData(NSData? value) { - return _lib._objc_msgSend_1021( - this.pointer, - _lib._sel_setLaunchRequirementData_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_1021(this.pointer, _sel_setLaunchRequirementData_, + value?.pointer ?? ffi.nullptr); } NSObject? get standardInput { - final _ret = _lib._objc_msgSend_17(this.pointer, _lib._sel_standardInput1); + final _ret = _objc_msgSend_17(this.pointer, _sel_standardInput); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } set standardInput(NSObject? value) { - return _lib._objc_msgSend_416( - this.pointer, - _lib._sel_setStandardInput_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_416( + this.pointer, _sel_setStandardInput_, value?.pointer ?? ffi.nullptr); } NSObject? get standardOutput { - final _ret = _lib._objc_msgSend_17(this.pointer, _lib._sel_standardOutput1); + final _ret = _objc_msgSend_17(this.pointer, _sel_standardOutput); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } set standardOutput(NSObject? value) { - return _lib._objc_msgSend_416( - this.pointer, - _lib._sel_setStandardOutput_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_416( + this.pointer, _sel_setStandardOutput_, value?.pointer ?? ffi.nullptr); } NSObject? get standardError { - final _ret = _lib._objc_msgSend_17(this.pointer, _lib._sel_standardError1); + final _ret = _objc_msgSend_17(this.pointer, _sel_standardError); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } set standardError(NSObject? value) { - return _lib._objc_msgSend_416( - this.pointer, - _lib._sel_setStandardError_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_416( + this.pointer, _sel_setStandardError_, value?.pointer ?? ffi.nullptr); } bool launchAndReturnError_(ffi.Pointer> error) { - return _lib._objc_msgSend_255( - this.pointer, - _lib._sel_launchAndReturnError_1, - error, - ); + return _objc_msgSend_255(this.pointer, _sel_launchAndReturnError_, error); } void interrupt() { - _lib._objc_msgSend_1(this.pointer, _lib._sel_interrupt1); + _objc_msgSend_1(this.pointer, _sel_interrupt); } void terminate() { - _lib._objc_msgSend_1(this.pointer, _lib._sel_terminate1); + _objc_msgSend_1(this.pointer, _sel_terminate); } bool suspend() { - return _lib._objc_msgSend_12(this.pointer, _lib._sel_suspend1); + return _objc_msgSend_12(this.pointer, _sel_suspend); } bool resume() { - return _lib._objc_msgSend_12(this.pointer, _lib._sel_resume1); + return _objc_msgSend_12(this.pointer, _sel_resume); } int get processIdentifier { - return _lib._objc_msgSend_237(this.pointer, _lib._sel_processIdentifier1); + return _objc_msgSend_237(this.pointer, _sel_processIdentifier); } bool get running { - return _lib._objc_msgSend_12(this.pointer, _lib._sel_isRunning1); + return _objc_msgSend_12(this.pointer, _sel_isRunning); } int get terminationStatus { - return _lib._objc_msgSend_237(this.pointer, _lib._sel_terminationStatus1); + return _objc_msgSend_237(this.pointer, _sel_terminationStatus); } int get terminationReason { - return _lib._objc_msgSend_1101(this.pointer, _lib._sel_terminationReason1); + return _objc_msgSend_1100(this.pointer, _sel_terminationReason); } ObjCBlock_ffiVoid_NSTask? get terminationHandler { - final _ret = _lib._objc_msgSend_1102( - this.pointer, - _lib._sel_terminationHandler1, - ); + final _ret = _objc_msgSend_1101(this.pointer, _sel_terminationHandler); return _ret.address == 0 ? null - : ObjCBlock_ffiVoid_NSTask._(_ret, _lib, retain: true, release: true); + : ObjCBlock_ffiVoid_NSTask._(_ret, retain: true, release: true); } set terminationHandler(ObjCBlock_ffiVoid_NSTask? value) { - return _lib._objc_msgSend_1103( - this.pointer, - _lib._sel_setTerminationHandler_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_1102(this.pointer, _sel_setTerminationHandler_, + value?.pointer ?? ffi.nullptr); } int get qualityOfService { - return _lib._objc_msgSend_543(this.pointer, _lib._sel_qualityOfService1); + return _objc_msgSend_543(this.pointer, _sel_qualityOfService); } set qualityOfService(int value) { - return _lib._objc_msgSend_544( - this.pointer, - _lib._sel_setQualityOfService_1, - value, - ); + return _objc_msgSend_544(this.pointer, _sel_setQualityOfService_, value); } static NSTask? launchedTaskWithExecutableURL_arguments_error_terminationHandler_( - AVFAudio _lib, - NSURL url, - NSArray arguments, - ffi.Pointer> error, - ObjCBlock_ffiVoid_NSTask? terminationHandler, - ) { - final _ret = _lib._objc_msgSend_1104( - _lib._class_NSTask1, - _lib._sel_launchedTaskWithExecutableURL_arguments_error_terminationHandler_1, - url.pointer, - arguments.pointer, - error, - terminationHandler?.pointer ?? ffi.nullptr, - ); + NSURL url, + NSArray arguments, + ffi.Pointer> error, + ObjCBlock_ffiVoid_NSTask? terminationHandler) { + final _ret = _objc_msgSend_1103( + _class_NSTask, + _sel_launchedTaskWithExecutableURL_arguments_error_terminationHandler_, + url.pointer, + arguments.pointer, + error, + terminationHandler?.pointer ?? ffi.nullptr); return _ret.address == 0 ? null - : NSTask._(_ret, _lib, retain: true, release: true); + : NSTask._(_ret, retain: true, release: true); } void waitUntilExit() { - _lib._objc_msgSend_1(this.pointer, _lib._sel_waitUntilExit1); + _objc_msgSend_1(this.pointer, _sel_waitUntilExit); } NSString? get launchPath { - final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_launchPath1); + final _ret = _objc_msgSend_44(this.pointer, _sel_launchPath); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } set launchPath(NSString? value) { - return _lib._objc_msgSend_545( - this.pointer, - _lib._sel_setLaunchPath_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_545( + this.pointer, _sel_setLaunchPath_, value?.pointer ?? ffi.nullptr); } NSString get currentDirectoryPath { - final _ret = _lib._objc_msgSend_21( - this.pointer, - _lib._sel_currentDirectoryPath1, - ); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_currentDirectoryPath); + return NSString._(_ret, retain: true, release: true); } set currentDirectoryPath(NSString value) { - return _lib._objc_msgSend_646( - this.pointer, - _lib._sel_setCurrentDirectoryPath_1, - value.pointer, - ); + return _objc_msgSend_646( + this.pointer, _sel_setCurrentDirectoryPath_, value.pointer); } void launch() { - _lib._objc_msgSend_1(this.pointer, _lib._sel_launch1); + _objc_msgSend_1(this.pointer, _sel_launch); } static NSTask launchedTaskWithLaunchPath_arguments_( - AVFAudio _lib, - NSString path, - NSArray arguments, - ) { - final _ret = _lib._objc_msgSend_1105( - _lib._class_NSTask1, - _lib._sel_launchedTaskWithLaunchPath_arguments_1, - path.pointer, - arguments.pointer, - ); - return NSTask._(_ret, _lib, retain: true, release: true); + NSString path, NSArray arguments) { + final _ret = _objc_msgSend_1104( + _class_NSTask, + _sel_launchedTaskWithLaunchPath_arguments_, + path.pointer, + arguments.pointer); + return NSTask._(_ret, retain: true, release: true); } - static NSTask new1(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2(_lib._class_NSTask1, _lib._sel_new1); - return NSTask._(_ret, _lib, retain: false, release: true); + static NSTask new1() { + final _ret = _objc_msgSend_2(_class_NSTask, _sel_new); + return NSTask._(_ret, retain: false, release: true); } - static NSTask allocWithZone_(AVFAudio _lib, ffi.Pointer<_NSZone> zone) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSTask1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSTask._(_ret, _lib, retain: false, release: true); + static NSTask allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = _objc_msgSend_3(_class_NSTask, _sel_allocWithZone_, zone); + return NSTask._(_ret, retain: false, release: true); } - static NSTask alloc(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2(_lib._class_NSTask1, _lib._sel_alloc1); - return NSTask._(_ret, _lib, retain: false, release: true); + static NSTask alloc() { + final _ret = _objc_msgSend_2(_class_NSTask, _sel_alloc); + return NSTask._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSTask1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSTask1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSTask1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSTask1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSTask1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSTask1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSTask, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); } - static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSTask1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSTask1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSTask1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSTask, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); } -} + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSTask, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSTask, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSTask, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64( + _class_NSTask, _sel_automaticallyNotifiesObserversForKey_, key.pointer); + } + + static void setKeys_triggerChangeNotificationsForDependentKey_( + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSTask, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = + _objc_msgSend_85(_class_NSTask, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = _objc_msgSend_2(_class_NSTask, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); + } +} + +late final _class_NSTask = objc.getClass("NSTask"); +late final _sel_setExecutableURL_ = objc.registerName("setExecutableURL:"); +late final _sel_setEnvironment_ = objc.registerName("setEnvironment:"); +late final _sel_currentDirectoryURL = objc.registerName("currentDirectoryURL"); +late final _sel_setCurrentDirectoryURL_ = + objc.registerName("setCurrentDirectoryURL:"); +late final _sel_launchRequirementData = + objc.registerName("launchRequirementData"); +late final _sel_setLaunchRequirementData_ = + objc.registerName("setLaunchRequirementData:"); +late final _sel_standardInput = objc.registerName("standardInput"); +late final _sel_setStandardInput_ = objc.registerName("setStandardInput:"); +late final _sel_standardOutput = objc.registerName("standardOutput"); +late final _sel_setStandardOutput_ = objc.registerName("setStandardOutput:"); +late final _sel_standardError = objc.registerName("standardError"); +late final _sel_setStandardError_ = objc.registerName("setStandardError:"); +late final _sel_launchAndReturnError_ = + objc.registerName("launchAndReturnError:"); +late final _sel_interrupt = objc.registerName("interrupt"); +late final _sel_terminate = objc.registerName("terminate"); +late final _sel_isRunning = objc.registerName("isRunning"); +late final _sel_terminationStatus = objc.registerName("terminationStatus"); abstract class NSTaskTerminationReason { static const int NSTaskTerminationReasonExit = 1; static const int NSTaskTerminationReasonUncaughtSignal = 2; } +late final _sel_terminationReason = objc.registerName("terminationReason"); +final _objc_msgSend_1100 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + int Function( + ffi.Pointer, ffi.Pointer)>(); void _ObjCBlock_ffiVoid_NSTask_fnPtrTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, -) => + ffi.Pointer block, ffi.Pointer arg0) => block.ref.target .cast< ffi.NativeFunction< @@ -92242,42 +56619,28 @@ final _ObjCBlock_ffiVoid_NSTask_closureRegistry = )>{}; int _ObjCBlock_ffiVoid_NSTask_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_ffiVoid_NSTask_registerClosure( - void Function(ffi.Pointer) fn, -) { + void Function(ffi.Pointer) fn) { final id = ++_ObjCBlock_ffiVoid_NSTask_closureRegistryIndex; _ObjCBlock_ffiVoid_NSTask_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } void _ObjCBlock_ffiVoid_NSTask_closureTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, -) => + ffi.Pointer block, ffi.Pointer arg0) => _ObjCBlock_ffiVoid_NSTask_closureRegistry[block.ref.target.address]!(arg0); class ObjCBlock_ffiVoid_NSTask extends objc.ObjCBlockBase { - ObjCBlock_ffiVoid_NSTask._( - ffi.Pointer pointer, - this._lib, { - bool retain = false, - bool release = true, - }) : super(pointer, retain: retain, release: release); - - AVFAudio _lib; + ObjCBlock_ffiVoid_NSTask._(ffi.Pointer pointer, + {bool retain = false, bool release = true}) + : super(pointer, retain: retain, release: release); /// Returns a block that wraps the given raw block pointer. static ObjCBlock_ffiVoid_NSTask castFromPointer( - AVFAudio lib, - ffi.Pointer pointer, { - bool retain = false, - bool release = false, - }) { - return ObjCBlock_ffiVoid_NSTask._( - pointer, - lib, - retain: retain, - release: release, - ); + ffi.Pointer pointer, + {bool retain = false, + bool release = false}) { + return ObjCBlock_ffiVoid_NSTask._(pointer, + retain: retain, release: release); } /// Creates a block from a C function pointer. @@ -92286,22 +56649,17 @@ class ObjCBlock_ffiVoid_NSTask extends objc.ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSTask.fromFunctionPointer( - AVFAudio lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer arg0)>> - ptr, - ) : this._( - objc.newBlock( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - )>(_ObjCBlock_ffiVoid_NSTask_fnPtrTrampoline) - .cast(), - ptr.cast(), - ), - lib); + ffi.Pointer< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer arg0)>> + ptr) + : this._(objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function(ffi.Pointer, + ffi.Pointer)>( + _ObjCBlock_ffiVoid_NSTask_fnPtrTrampoline) + .cast(), + ptr.cast())); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -92309,21 +56667,16 @@ class ObjCBlock_ffiVoid_NSTask extends objc.ObjCBlockBase { /// This block must be invoked by native code running on the same thread as /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. - ObjCBlock_ffiVoid_NSTask.fromFunction(AVFAudio lib, void Function(NSTask) fn) - : this._( - objc.newBlock( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - )>(_ObjCBlock_ffiVoid_NSTask_closureTrampoline) - .cast(), - _ObjCBlock_ffiVoid_NSTask_registerClosure(( - ffi.Pointer arg0, - ) => - fn(NSTask._(arg0, lib, retain: true, release: true))), - ), - lib); + ObjCBlock_ffiVoid_NSTask.fromFunction(void Function(NSTask) fn) + : this._(objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function(ffi.Pointer, + ffi.Pointer)>( + _ObjCBlock_ffiVoid_NSTask_closureTrampoline) + .cast(), + _ObjCBlock_ffiVoid_NSTask_registerClosure( + (ffi.Pointer arg0) => + fn(NSTask._(arg0, retain: true, release: true))))); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -92335,24 +56688,18 @@ class ObjCBlock_ffiVoid_NSTask extends objc.ObjCBlockBase { /// /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. - ObjCBlock_ffiVoid_NSTask.listener(AVFAudio lib, void Function(NSTask) fn) - : this._( - objc.newBlock( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - )>.listener( - _ObjCBlock_ffiVoid_NSTask_closureTrampoline, - )..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSTask_registerClosure(( - ffi.Pointer arg0, - ) => - fn(NSTask._(arg0, lib, retain: true, release: true))), - ), - lib); + ObjCBlock_ffiVoid_NSTask.listener(void Function(NSTask) fn) + : this._(objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function(ffi.Pointer, + ffi.Pointer)>.listener( + _ObjCBlock_ffiVoid_NSTask_closureTrampoline) + ..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSTask_registerClosure( + (ffi.Pointer arg0) => + fn(NSTask._(arg0, retain: true, release: true))))); static ffi.NativeCallable< ffi.Void Function( ffi.Pointer, ffi.Pointer)>? @@ -92361,1251 +56708,922 @@ class ObjCBlock_ffiVoid_NSTask extends objc.ObjCBlockBase { void call(NSTask arg0) => pointer.ref.invoke .cast< ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer block, - ffi.Pointer arg0, - )>>() + ffi.Void Function(ffi.Pointer block, + ffi.Pointer arg0)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer)>()(pointer, arg0.pointer); } +late final _sel_terminationHandler = objc.registerName("terminationHandler"); +final _objc_msgSend_1101 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_setTerminationHandler_ = + objc.registerName("setTerminationHandler:"); +final _objc_msgSend_1102 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_launchedTaskWithExecutableURL_arguments_error_terminationHandler_ = + objc.registerName( + "launchedTaskWithExecutableURL:arguments:error:terminationHandler:"); +final _objc_msgSend_1103 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer url, + ffi.Pointer arguments, + ffi.Pointer> error, + ffi.Pointer terminationHandler)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer)>(); +late final _sel_waitUntilExit = objc.registerName("waitUntilExit"); +late final _sel_launchPath = objc.registerName("launchPath"); +late final _sel_setLaunchPath_ = objc.registerName("setLaunchPath:"); +late final _sel_setCurrentDirectoryPath_ = + objc.registerName("setCurrentDirectoryPath:"); +late final _sel_launch = objc.registerName("launch"); +late final _sel_launchedTaskWithLaunchPath_arguments_ = + objc.registerName("launchedTaskWithLaunchPath:arguments:"); +final _objc_msgSend_1104 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer path, + ffi.Pointer arguments)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); + class NSXMLElement extends NSXMLNode { - NSXMLElement._( - ffi.Pointer pointer, - AVFAudio lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSXMLElement._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSXMLElement] that points to the same underlying object as [other]. - static NSXMLElement castFrom( - AVFAudio lib, - T other, - ) { - return NSXMLElement._(other.pointer, lib, retain: true, release: true); + static NSXMLElement castFrom(T other) { + return NSXMLElement._(other.pointer, retain: true, release: true); } /// Returns a [NSXMLElement] that wraps the given raw object pointer. - static NSXMLElement castFromPointer( - AVFAudio lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSXMLElement._(other, lib, retain: retain, release: release); + static NSXMLElement castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSXMLElement._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSXMLElement]. - static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSXMLElement1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0( + obj.pointer, _sel_isKindOfClass_, _class_NSXMLElement); } NSXMLElement initWithName_(NSString name) { - final _ret = _lib._objc_msgSend_31( - this.pointer, - _lib._sel_initWithName_1, - name.pointer, - ); - return NSXMLElement._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_31(this.pointer, _sel_initWithName_, name.pointer); + return NSXMLElement._(_ret, retain: true, release: true); } NSXMLElement initWithName_URI_(NSString name, NSString? URI) { - final _ret = _lib._objc_msgSend_1142( - this.pointer, - _lib._sel_initWithName_URI_1, - name.pointer, - URI?.pointer ?? ffi.nullptr, - ); - return NSXMLElement._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_1141(this.pointer, _sel_initWithName_URI_, + name.pointer, URI?.pointer ?? ffi.nullptr); + return NSXMLElement._(_ret, retain: true, release: true); } NSXMLElement initWithName_stringValue_(NSString name, NSString? string) { - final _ret = _lib._objc_msgSend_1142( - this.pointer, - _lib._sel_initWithName_stringValue_1, - name.pointer, - string?.pointer ?? ffi.nullptr, - ); - return NSXMLElement._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_1141( + this.pointer, + _sel_initWithName_stringValue_, + name.pointer, + string?.pointer ?? ffi.nullptr); + return NSXMLElement._(_ret, retain: true, release: true); } NSXMLElement? initWithXMLString_error_( - NSString string, - ffi.Pointer> error, - ) { - final _ret = _lib._objc_msgSend_303( - this.pointer, - _lib._sel_initWithXMLString_error_1, - string.pointer, - error, - ); + NSString string, ffi.Pointer> error) { + final _ret = _objc_msgSend_303( + this.pointer, _sel_initWithXMLString_error_, string.pointer, error); return _ret.address == 0 ? null - : NSXMLElement._(_ret, _lib, retain: true, release: true); + : NSXMLElement._(_ret, retain: true, release: true); } @override NSXMLElement initWithKind_options_(int kind, int options) { - final _ret = _lib._objc_msgSend_1107( - this.pointer, - _lib._sel_initWithKind_options_1, - kind, - options, - ); - return NSXMLElement._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_1106( + this.pointer, _sel_initWithKind_options_, kind, options); + return NSXMLElement._(_ret, retain: true, release: true); } NSArray elementsForName_(NSString name) { - final _ret = _lib._objc_msgSend_358( - this.pointer, - _lib._sel_elementsForName_1, - name.pointer, - ); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_358(this.pointer, _sel_elementsForName_, name.pointer); + return NSArray._(_ret, retain: true, release: true); } NSArray elementsForLocalName_URI_(NSString localName, NSString? URI) { - final _ret = _lib._objc_msgSend_1143( - this.pointer, - _lib._sel_elementsForLocalName_URI_1, - localName.pointer, - URI?.pointer ?? ffi.nullptr, - ); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_1142( + this.pointer, + _sel_elementsForLocalName_URI_, + localName.pointer, + URI?.pointer ?? ffi.nullptr); + return NSArray._(_ret, retain: true, release: true); } void addAttribute_(NSXMLNode attribute) { - _lib._objc_msgSend_1121( - this.pointer, - _lib._sel_addAttribute_1, - attribute.pointer, - ); + _objc_msgSend_1120(this.pointer, _sel_addAttribute_, attribute.pointer); } void removeAttributeForName_(NSString name) { - _lib._objc_msgSend_247( - this.pointer, - _lib._sel_removeAttributeForName_1, - name.pointer, - ); + _objc_msgSend_247(this.pointer, _sel_removeAttributeForName_, name.pointer); } NSArray? get attributes { - final _ret = _lib._objc_msgSend_84(this.pointer, _lib._sel_attributes1); + final _ret = _objc_msgSend_84(this.pointer, _sel_attributes); return _ret.address == 0 ? null - : NSArray._(_ret, _lib, retain: true, release: true); + : NSArray._(_ret, retain: true, release: true); } set attributes(NSArray? value) { - return _lib._objc_msgSend_1053( - this.pointer, - _lib._sel_setAttributes_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_1053( + this.pointer, _sel_setAttributes_, value?.pointer ?? ffi.nullptr); } void setAttributesWithDictionary_(NSDictionary attributes) { - _lib._objc_msgSend_509( - this.pointer, - _lib._sel_setAttributesWithDictionary_1, - attributes.pointer, - ); + _objc_msgSend_509( + this.pointer, _sel_setAttributesWithDictionary_, attributes.pointer); } NSXMLNode? attributeForName_(NSString name) { - final _ret = _lib._objc_msgSend_1125( - this.pointer, - _lib._sel_attributeForName_1, - name.pointer, - ); + final _ret = + _objc_msgSend_1124(this.pointer, _sel_attributeForName_, name.pointer); return _ret.address == 0 ? null - : NSXMLNode._(_ret, _lib, retain: true, release: true); + : NSXMLNode._(_ret, retain: true, release: true); } NSXMLNode? attributeForLocalName_URI_(NSString localName, NSString? URI) { - final _ret = _lib._objc_msgSend_1144( - this.pointer, - _lib._sel_attributeForLocalName_URI_1, - localName.pointer, - URI?.pointer ?? ffi.nullptr, - ); + final _ret = _objc_msgSend_1143( + this.pointer, + _sel_attributeForLocalName_URI_, + localName.pointer, + URI?.pointer ?? ffi.nullptr); return _ret.address == 0 ? null - : NSXMLNode._(_ret, _lib, retain: true, release: true); + : NSXMLNode._(_ret, retain: true, release: true); } void addNamespace_(NSXMLNode aNamespace) { - _lib._objc_msgSend_1121( - this.pointer, - _lib._sel_addNamespace_1, - aNamespace.pointer, - ); + _objc_msgSend_1120(this.pointer, _sel_addNamespace_, aNamespace.pointer); } void removeNamespaceForPrefix_(NSString name) { - _lib._objc_msgSend_247( - this.pointer, - _lib._sel_removeNamespaceForPrefix_1, - name.pointer, - ); + _objc_msgSend_247( + this.pointer, _sel_removeNamespaceForPrefix_, name.pointer); } NSArray? get namespaces { - final _ret = _lib._objc_msgSend_84(this.pointer, _lib._sel_namespaces1); + final _ret = _objc_msgSend_84(this.pointer, _sel_namespaces); return _ret.address == 0 ? null - : NSArray._(_ret, _lib, retain: true, release: true); + : NSArray._(_ret, retain: true, release: true); } set namespaces(NSArray? value) { - return _lib._objc_msgSend_1053( - this.pointer, - _lib._sel_setNamespaces_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_1053( + this.pointer, _sel_setNamespaces_, value?.pointer ?? ffi.nullptr); } NSXMLNode? namespaceForPrefix_(NSString name) { - final _ret = _lib._objc_msgSend_1125( - this.pointer, - _lib._sel_namespaceForPrefix_1, - name.pointer, - ); + final _ret = _objc_msgSend_1124( + this.pointer, _sel_namespaceForPrefix_, name.pointer); return _ret.address == 0 ? null - : NSXMLNode._(_ret, _lib, retain: true, release: true); + : NSXMLNode._(_ret, retain: true, release: true); } NSXMLNode? resolveNamespaceForName_(NSString name) { - final _ret = _lib._objc_msgSend_1125( - this.pointer, - _lib._sel_resolveNamespaceForName_1, - name.pointer, - ); + final _ret = _objc_msgSend_1124( + this.pointer, _sel_resolveNamespaceForName_, name.pointer); return _ret.address == 0 ? null - : NSXMLNode._(_ret, _lib, retain: true, release: true); + : NSXMLNode._(_ret, retain: true, release: true); } NSString? resolvePrefixForNamespaceURI_(NSString namespaceURI) { - final _ret = _lib._objc_msgSend_186( - this.pointer, - _lib._sel_resolvePrefixForNamespaceURI_1, - namespaceURI.pointer, - ); + final _ret = _objc_msgSend_186( + this.pointer, _sel_resolvePrefixForNamespaceURI_, namespaceURI.pointer); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } void insertChild_atIndex_(NSXMLNode child, int index) { - _lib._objc_msgSend_1119( - this.pointer, - _lib._sel_insertChild_atIndex_1, - child.pointer, - index, - ); + _objc_msgSend_1118( + this.pointer, _sel_insertChild_atIndex_, child.pointer, index); } void insertChildren_atIndex_(NSArray children, int index) { - _lib._objc_msgSend_1120( - this.pointer, - _lib._sel_insertChildren_atIndex_1, - children.pointer, - index, - ); + _objc_msgSend_1119( + this.pointer, _sel_insertChildren_atIndex_, children.pointer, index); } void removeChildAtIndex_(int index) { - _lib._objc_msgSend_470(this.pointer, _lib._sel_removeChildAtIndex_1, index); + _objc_msgSend_470(this.pointer, _sel_removeChildAtIndex_, index); } void setChildren_(NSArray? children) { - _lib._objc_msgSend_843( - this.pointer, - _lib._sel_setChildren_1, - children?.pointer ?? ffi.nullptr, - ); + _objc_msgSend_843( + this.pointer, _sel_setChildren_, children?.pointer ?? ffi.nullptr); } void addChild_(NSXMLNode child) { - _lib._objc_msgSend_1121(this.pointer, _lib._sel_addChild_1, child.pointer); + _objc_msgSend_1120(this.pointer, _sel_addChild_, child.pointer); } void replaceChildAtIndex_withNode_(int index, NSXMLNode node) { - _lib._objc_msgSend_1122( - this.pointer, - _lib._sel_replaceChildAtIndex_withNode_1, - index, - node.pointer, - ); + _objc_msgSend_1121( + this.pointer, _sel_replaceChildAtIndex_withNode_, index, node.pointer); } void normalizeAdjacentTextNodesPreservingCDATA_(bool preserve) { - _lib._objc_msgSend_870( - this.pointer, - _lib._sel_normalizeAdjacentTextNodesPreservingCDATA_1, - preserve, - ); + _objc_msgSend_870(this.pointer, + _sel_normalizeAdjacentTextNodesPreservingCDATA_, preserve); } void setAttributesAsDictionary_(NSDictionary attributes) { - _lib._objc_msgSend_509( - this.pointer, - _lib._sel_setAttributesAsDictionary_1, - attributes.pointer, - ); + _objc_msgSend_509( + this.pointer, _sel_setAttributesAsDictionary_, attributes.pointer); } @override NSXMLElement init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSXMLElement._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSXMLElement._(_ret, retain: true, release: true); } @override NSXMLElement initWithKind_(int kind) { - final _ret = _lib._objc_msgSend_1106( - this.pointer, - _lib._sel_initWithKind_1, - kind, - ); - return NSXMLElement._(_ret, _lib, retain: true, release: true); - } - - static NSObject document(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSXMLElement1, - _lib._sel_document1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); - } - - static NSObject documentWithRootElement_( - AVFAudio _lib, - NSXMLElement element, - ) { - final _ret = _lib._objc_msgSend_1108( - _lib._class_NSXMLElement1, - _lib._sel_documentWithRootElement_1, - element.pointer, - ); - return NSObject._(_ret, _lib, retain: true, release: true); - } - - static NSObject elementWithName_(AVFAudio _lib, NSString name) { - final _ret = _lib._objc_msgSend_31( - _lib._class_NSXMLElement1, - _lib._sel_elementWithName_1, - name.pointer, - ); - return NSObject._(_ret, _lib, retain: true, release: true); - } - - static NSObject elementWithName_URI_( - AVFAudio _lib, - NSString name, - NSString URI, - ) { - final _ret = _lib._objc_msgSend_1109( - _lib._class_NSXMLElement1, - _lib._sel_elementWithName_URI_1, - name.pointer, - URI.pointer, - ); - return NSObject._(_ret, _lib, retain: true, release: true); - } - - static NSObject elementWithName_stringValue_( - AVFAudio _lib, - NSString name, - NSString string, - ) { - final _ret = _lib._objc_msgSend_1109( - _lib._class_NSXMLElement1, - _lib._sel_elementWithName_stringValue_1, - name.pointer, - string.pointer, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_1105(this.pointer, _sel_initWithKind_, kind); + return NSXMLElement._(_ret, retain: true, release: true); + } + + static NSObject document() { + final _ret = _objc_msgSend_2(_class_NSXMLElement, _sel_document); + return NSObject._(_ret, retain: true, release: true); + } + + static NSObject documentWithRootElement_(NSXMLElement element) { + final _ret = _objc_msgSend_1107( + _class_NSXMLElement, _sel_documentWithRootElement_, element.pointer); + return NSObject._(_ret, retain: true, release: true); + } + + static NSObject elementWithName_(NSString name) { + final _ret = _objc_msgSend_31( + _class_NSXMLElement, _sel_elementWithName_, name.pointer); + return NSObject._(_ret, retain: true, release: true); + } + + static NSObject elementWithName_URI_(NSString name, NSString URI) { + final _ret = _objc_msgSend_1108(_class_NSXMLElement, + _sel_elementWithName_URI_, name.pointer, URI.pointer); + return NSObject._(_ret, retain: true, release: true); + } + + static NSObject elementWithName_stringValue_(NSString name, NSString string) { + final _ret = _objc_msgSend_1108(_class_NSXMLElement, + _sel_elementWithName_stringValue_, name.pointer, string.pointer); + return NSObject._(_ret, retain: true, release: true); } static NSObject elementWithName_children_attributes_( - AVFAudio _lib, - NSString name, - NSArray? children, - NSArray? attributes, - ) { - final _ret = _lib._objc_msgSend_1110( - _lib._class_NSXMLElement1, - _lib._sel_elementWithName_children_attributes_1, - name.pointer, - children?.pointer ?? ffi.nullptr, - attributes?.pointer ?? ffi.nullptr, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + NSString name, NSArray? children, NSArray? attributes) { + final _ret = _objc_msgSend_1109( + _class_NSXMLElement, + _sel_elementWithName_children_attributes_, + name.pointer, + children?.pointer ?? ffi.nullptr, + attributes?.pointer ?? ffi.nullptr); + return NSObject._(_ret, retain: true, release: true); } static NSObject attributeWithName_stringValue_( - AVFAudio _lib, - NSString name, - NSString stringValue, - ) { - final _ret = _lib._objc_msgSend_1109( - _lib._class_NSXMLElement1, - _lib._sel_attributeWithName_stringValue_1, - name.pointer, - stringValue.pointer, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + NSString name, NSString stringValue) { + final _ret = _objc_msgSend_1108(_class_NSXMLElement, + _sel_attributeWithName_stringValue_, name.pointer, stringValue.pointer); + return NSObject._(_ret, retain: true, release: true); } static NSObject attributeWithName_URI_stringValue_( - AVFAudio _lib, - NSString name, - NSString URI, - NSString stringValue, - ) { - final _ret = _lib._objc_msgSend_1074( - _lib._class_NSXMLElement1, - _lib._sel_attributeWithName_URI_stringValue_1, - name.pointer, - URI.pointer, - stringValue.pointer, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + NSString name, NSString URI, NSString stringValue) { + final _ret = _objc_msgSend_1074( + _class_NSXMLElement, + _sel_attributeWithName_URI_stringValue_, + name.pointer, + URI.pointer, + stringValue.pointer); + return NSObject._(_ret, retain: true, release: true); } static NSObject namespaceWithName_stringValue_( - AVFAudio _lib, - NSString name, - NSString stringValue, - ) { - final _ret = _lib._objc_msgSend_1109( - _lib._class_NSXMLElement1, - _lib._sel_namespaceWithName_stringValue_1, - name.pointer, - stringValue.pointer, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + NSString name, NSString stringValue) { + final _ret = _objc_msgSend_1108(_class_NSXMLElement, + _sel_namespaceWithName_stringValue_, name.pointer, stringValue.pointer); + return NSObject._(_ret, retain: true, release: true); } static NSObject processingInstructionWithName_stringValue_( - AVFAudio _lib, - NSString name, - NSString stringValue, - ) { - final _ret = _lib._objc_msgSend_1109( - _lib._class_NSXMLElement1, - _lib._sel_processingInstructionWithName_stringValue_1, - name.pointer, - stringValue.pointer, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + NSString name, NSString stringValue) { + final _ret = _objc_msgSend_1108( + _class_NSXMLElement, + _sel_processingInstructionWithName_stringValue_, + name.pointer, + stringValue.pointer); + return NSObject._(_ret, retain: true, release: true); } - static NSObject commentWithStringValue_(AVFAudio _lib, NSString stringValue) { - final _ret = _lib._objc_msgSend_31( - _lib._class_NSXMLElement1, - _lib._sel_commentWithStringValue_1, - stringValue.pointer, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + static NSObject commentWithStringValue_(NSString stringValue) { + final _ret = _objc_msgSend_31( + _class_NSXMLElement, _sel_commentWithStringValue_, stringValue.pointer); + return NSObject._(_ret, retain: true, release: true); } - static NSObject textWithStringValue_(AVFAudio _lib, NSString stringValue) { - final _ret = _lib._objc_msgSend_31( - _lib._class_NSXMLElement1, - _lib._sel_textWithStringValue_1, - stringValue.pointer, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + static NSObject textWithStringValue_(NSString stringValue) { + final _ret = _objc_msgSend_31( + _class_NSXMLElement, _sel_textWithStringValue_, stringValue.pointer); + return NSObject._(_ret, retain: true, release: true); } - static NSObject? DTDNodeWithXMLString_(AVFAudio _lib, NSString string) { - final _ret = _lib._objc_msgSend_38( - _lib._class_NSXMLElement1, - _lib._sel_DTDNodeWithXMLString_1, - string.pointer, - ); + static NSObject? DTDNodeWithXMLString_(NSString string) { + final _ret = _objc_msgSend_38( + _class_NSXMLElement, _sel_DTDNodeWithXMLString_, string.pointer); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } - static NSString localNameForName_(AVFAudio _lib, NSString name) { - final _ret = _lib._objc_msgSend_69( - _lib._class_NSXMLElement1, - _lib._sel_localNameForName_1, - name.pointer, - ); - return NSString._(_ret, _lib, retain: true, release: true); + static NSString localNameForName_(NSString name) { + final _ret = _objc_msgSend_69( + _class_NSXMLElement, _sel_localNameForName_, name.pointer); + return NSString._(_ret, retain: true, release: true); } - static NSString? prefixForName_(AVFAudio _lib, NSString name) { - final _ret = _lib._objc_msgSend_186( - _lib._class_NSXMLElement1, - _lib._sel_prefixForName_1, - name.pointer, - ); + static NSString? prefixForName_(NSString name) { + final _ret = _objc_msgSend_186( + _class_NSXMLElement, _sel_prefixForName_, name.pointer); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } - static NSXMLNode? predefinedNamespaceForPrefix_( - AVFAudio _lib, - NSString name, - ) { - final _ret = _lib._objc_msgSend_1125( - _lib._class_NSXMLElement1, - _lib._sel_predefinedNamespaceForPrefix_1, - name.pointer, - ); + static NSXMLNode? predefinedNamespaceForPrefix_(NSString name) { + final _ret = _objc_msgSend_1124( + _class_NSXMLElement, _sel_predefinedNamespaceForPrefix_, name.pointer); return _ret.address == 0 ? null - : NSXMLNode._(_ret, _lib, retain: true, release: true); + : NSXMLNode._(_ret, retain: true, release: true); } - static NSXMLElement new1(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSXMLElement1, - _lib._sel_new1, - ); - return NSXMLElement._(_ret, _lib, retain: false, release: true); + static NSXMLElement new1() { + final _ret = _objc_msgSend_2(_class_NSXMLElement, _sel_new); + return NSXMLElement._(_ret, retain: false, release: true); } - static NSXMLElement allocWithZone_(AVFAudio _lib, ffi.Pointer<_NSZone> zone) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSXMLElement1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSXMLElement._(_ret, _lib, retain: false, release: true); + static NSXMLElement allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = + _objc_msgSend_3(_class_NSXMLElement, _sel_allocWithZone_, zone); + return NSXMLElement._(_ret, retain: false, release: true); } - static NSXMLElement alloc(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSXMLElement1, - _lib._sel_alloc1, - ); - return NSXMLElement._(_ret, _lib, retain: false, release: true); + static NSXMLElement alloc() { + final _ret = _objc_msgSend_2(_class_NSXMLElement, _sel_alloc); + return NSXMLElement._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSXMLElement1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSXMLElement1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSXMLElement1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSXMLElement1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSXMLElement1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSXMLElement1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSXMLElement, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); + } + + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSXMLElement, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); + } + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSXMLElement, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSXMLElement, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSXMLElement, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSXMLElement, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); } static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSXMLElement1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSXMLElement1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSXMLElement1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSXMLElement, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = _objc_msgSend_85( + _class_NSXMLElement, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = + _objc_msgSend_2(_class_NSXMLElement, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); } } +late final _class_NSXMLElement = objc.getClass("NSXMLElement"); + class NSXMLNode extends NSObject { - NSXMLNode._( - ffi.Pointer pointer, - AVFAudio lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSXMLNode._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSXMLNode] that points to the same underlying object as [other]. - static NSXMLNode castFrom( - AVFAudio lib, - T other, - ) { - return NSXMLNode._(other.pointer, lib, retain: true, release: true); + static NSXMLNode castFrom(T other) { + return NSXMLNode._(other.pointer, retain: true, release: true); } /// Returns a [NSXMLNode] that wraps the given raw object pointer. - static NSXMLNode castFromPointer( - AVFAudio lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSXMLNode._(other, lib, retain: retain, release: release); + static NSXMLNode castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSXMLNode._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSXMLNode]. - static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSXMLNode1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0(obj.pointer, _sel_isKindOfClass_, _class_NSXMLNode); } @override NSXMLNode init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSXMLNode._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSXMLNode._(_ret, retain: true, release: true); } NSXMLNode initWithKind_(int kind) { - final _ret = _lib._objc_msgSend_1106( - this.pointer, - _lib._sel_initWithKind_1, - kind, - ); - return NSXMLNode._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_1105(this.pointer, _sel_initWithKind_, kind); + return NSXMLNode._(_ret, retain: true, release: true); } NSXMLNode initWithKind_options_(int kind, int options) { - final _ret = _lib._objc_msgSend_1107( - this.pointer, - _lib._sel_initWithKind_options_1, - kind, - options, - ); - return NSXMLNode._(_ret, _lib, retain: true, release: true); - } - - static NSObject document(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSXMLNode1, - _lib._sel_document1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); - } - - static NSObject documentWithRootElement_( - AVFAudio _lib, - NSXMLElement element, - ) { - final _ret = _lib._objc_msgSend_1108( - _lib._class_NSXMLNode1, - _lib._sel_documentWithRootElement_1, - element.pointer, - ); - return NSObject._(_ret, _lib, retain: true, release: true); - } - - static NSObject elementWithName_(AVFAudio _lib, NSString name) { - final _ret = _lib._objc_msgSend_31( - _lib._class_NSXMLNode1, - _lib._sel_elementWithName_1, - name.pointer, - ); - return NSObject._(_ret, _lib, retain: true, release: true); - } - - static NSObject elementWithName_URI_( - AVFAudio _lib, - NSString name, - NSString URI, - ) { - final _ret = _lib._objc_msgSend_1109( - _lib._class_NSXMLNode1, - _lib._sel_elementWithName_URI_1, - name.pointer, - URI.pointer, - ); - return NSObject._(_ret, _lib, retain: true, release: true); - } - - static NSObject elementWithName_stringValue_( - AVFAudio _lib, - NSString name, - NSString string, - ) { - final _ret = _lib._objc_msgSend_1109( - _lib._class_NSXMLNode1, - _lib._sel_elementWithName_stringValue_1, - name.pointer, - string.pointer, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_1106( + this.pointer, _sel_initWithKind_options_, kind, options); + return NSXMLNode._(_ret, retain: true, release: true); + } + + static NSObject document() { + final _ret = _objc_msgSend_2(_class_NSXMLNode, _sel_document); + return NSObject._(_ret, retain: true, release: true); + } + + static NSObject documentWithRootElement_(NSXMLElement element) { + final _ret = _objc_msgSend_1107( + _class_NSXMLNode, _sel_documentWithRootElement_, element.pointer); + return NSObject._(_ret, retain: true, release: true); + } + + static NSObject elementWithName_(NSString name) { + final _ret = + _objc_msgSend_31(_class_NSXMLNode, _sel_elementWithName_, name.pointer); + return NSObject._(_ret, retain: true, release: true); + } + + static NSObject elementWithName_URI_(NSString name, NSString URI) { + final _ret = _objc_msgSend_1108( + _class_NSXMLNode, _sel_elementWithName_URI_, name.pointer, URI.pointer); + return NSObject._(_ret, retain: true, release: true); + } + + static NSObject elementWithName_stringValue_(NSString name, NSString string) { + final _ret = _objc_msgSend_1108(_class_NSXMLNode, + _sel_elementWithName_stringValue_, name.pointer, string.pointer); + return NSObject._(_ret, retain: true, release: true); } static NSObject elementWithName_children_attributes_( - AVFAudio _lib, - NSString name, - NSArray? children, - NSArray? attributes, - ) { - final _ret = _lib._objc_msgSend_1110( - _lib._class_NSXMLNode1, - _lib._sel_elementWithName_children_attributes_1, - name.pointer, - children?.pointer ?? ffi.nullptr, - attributes?.pointer ?? ffi.nullptr, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + NSString name, NSArray? children, NSArray? attributes) { + final _ret = _objc_msgSend_1109( + _class_NSXMLNode, + _sel_elementWithName_children_attributes_, + name.pointer, + children?.pointer ?? ffi.nullptr, + attributes?.pointer ?? ffi.nullptr); + return NSObject._(_ret, retain: true, release: true); } static NSObject attributeWithName_stringValue_( - AVFAudio _lib, - NSString name, - NSString stringValue, - ) { - final _ret = _lib._objc_msgSend_1109( - _lib._class_NSXMLNode1, - _lib._sel_attributeWithName_stringValue_1, - name.pointer, - stringValue.pointer, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + NSString name, NSString stringValue) { + final _ret = _objc_msgSend_1108(_class_NSXMLNode, + _sel_attributeWithName_stringValue_, name.pointer, stringValue.pointer); + return NSObject._(_ret, retain: true, release: true); } static NSObject attributeWithName_URI_stringValue_( - AVFAudio _lib, - NSString name, - NSString URI, - NSString stringValue, - ) { - final _ret = _lib._objc_msgSend_1074( - _lib._class_NSXMLNode1, - _lib._sel_attributeWithName_URI_stringValue_1, - name.pointer, - URI.pointer, - stringValue.pointer, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + NSString name, NSString URI, NSString stringValue) { + final _ret = _objc_msgSend_1074( + _class_NSXMLNode, + _sel_attributeWithName_URI_stringValue_, + name.pointer, + URI.pointer, + stringValue.pointer); + return NSObject._(_ret, retain: true, release: true); } static NSObject namespaceWithName_stringValue_( - AVFAudio _lib, - NSString name, - NSString stringValue, - ) { - final _ret = _lib._objc_msgSend_1109( - _lib._class_NSXMLNode1, - _lib._sel_namespaceWithName_stringValue_1, - name.pointer, - stringValue.pointer, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + NSString name, NSString stringValue) { + final _ret = _objc_msgSend_1108(_class_NSXMLNode, + _sel_namespaceWithName_stringValue_, name.pointer, stringValue.pointer); + return NSObject._(_ret, retain: true, release: true); } static NSObject processingInstructionWithName_stringValue_( - AVFAudio _lib, - NSString name, - NSString stringValue, - ) { - final _ret = _lib._objc_msgSend_1109( - _lib._class_NSXMLNode1, - _lib._sel_processingInstructionWithName_stringValue_1, - name.pointer, - stringValue.pointer, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + NSString name, NSString stringValue) { + final _ret = _objc_msgSend_1108( + _class_NSXMLNode, + _sel_processingInstructionWithName_stringValue_, + name.pointer, + stringValue.pointer); + return NSObject._(_ret, retain: true, release: true); } - static NSObject commentWithStringValue_(AVFAudio _lib, NSString stringValue) { - final _ret = _lib._objc_msgSend_31( - _lib._class_NSXMLNode1, - _lib._sel_commentWithStringValue_1, - stringValue.pointer, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + static NSObject commentWithStringValue_(NSString stringValue) { + final _ret = _objc_msgSend_31( + _class_NSXMLNode, _sel_commentWithStringValue_, stringValue.pointer); + return NSObject._(_ret, retain: true, release: true); } - static NSObject textWithStringValue_(AVFAudio _lib, NSString stringValue) { - final _ret = _lib._objc_msgSend_31( - _lib._class_NSXMLNode1, - _lib._sel_textWithStringValue_1, - stringValue.pointer, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + static NSObject textWithStringValue_(NSString stringValue) { + final _ret = _objc_msgSend_31( + _class_NSXMLNode, _sel_textWithStringValue_, stringValue.pointer); + return NSObject._(_ret, retain: true, release: true); } - static NSObject? DTDNodeWithXMLString_(AVFAudio _lib, NSString string) { - final _ret = _lib._objc_msgSend_38( - _lib._class_NSXMLNode1, - _lib._sel_DTDNodeWithXMLString_1, - string.pointer, - ); + static NSObject? DTDNodeWithXMLString_(NSString string) { + final _ret = _objc_msgSend_38( + _class_NSXMLNode, _sel_DTDNodeWithXMLString_, string.pointer); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } int get kind { - return _lib._objc_msgSend_1111(this.pointer, _lib._sel_kind1); + return _objc_msgSend_1110(this.pointer, _sel_kind); } NSString? get name { - final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_name1); + final _ret = _objc_msgSend_44(this.pointer, _sel_name); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } set name(NSString? value) { - return _lib._objc_msgSend_545( - this.pointer, - _lib._sel_setName_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_545( + this.pointer, _sel_setName_, value?.pointer ?? ffi.nullptr); } NSObject? get objectValue { - final _ret = _lib._objc_msgSend_17(this.pointer, _lib._sel_objectValue1); + final _ret = _objc_msgSend_17(this.pointer, _sel_objectValue); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } set objectValue(NSObject? value) { - return _lib._objc_msgSend_416( - this.pointer, - _lib._sel_setObjectValue_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_416( + this.pointer, _sel_setObjectValue_, value?.pointer ?? ffi.nullptr); } NSString? get stringValue { - final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_stringValue1); + final _ret = _objc_msgSend_44(this.pointer, _sel_stringValue); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } set stringValue(NSString? value) { - return _lib._objc_msgSend_545( - this.pointer, - _lib._sel_setStringValue_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_545( + this.pointer, _sel_setStringValue_, value?.pointer ?? ffi.nullptr); } void setStringValue_resolvingEntities_(NSString string, bool resolve) { - _lib._objc_msgSend_1112( - this.pointer, - _lib._sel_setStringValue_resolvingEntities_1, - string.pointer, - resolve, - ); + _objc_msgSend_1111(this.pointer, _sel_setStringValue_resolvingEntities_, + string.pointer, resolve); } int get index { - return _lib._objc_msgSend_10(this.pointer, _lib._sel_index1); + return _objc_msgSend_10(this.pointer, _sel_index); } int get level { - return _lib._objc_msgSend_10(this.pointer, _lib._sel_level1); + return _objc_msgSend_10(this.pointer, _sel_level); } NSXMLDocument? get rootDocument { - final _ret = _lib._objc_msgSend_1136(this.pointer, _lib._sel_rootDocument1); + final _ret = _objc_msgSend_1135(this.pointer, _sel_rootDocument); return _ret.address == 0 ? null - : NSXMLDocument._(_ret, _lib, retain: true, release: true); + : NSXMLDocument._(_ret, retain: true, release: true); } NSXMLNode? get parent { - final _ret = _lib._objc_msgSend_1137(this.pointer, _lib._sel_parent1); + final _ret = _objc_msgSend_1136(this.pointer, _sel_parent); return _ret.address == 0 ? null - : NSXMLNode._(_ret, _lib, retain: true, release: true); + : NSXMLNode._(_ret, retain: true, release: true); } int get childCount { - return _lib._objc_msgSend_10(this.pointer, _lib._sel_childCount1); + return _objc_msgSend_10(this.pointer, _sel_childCount); } NSArray? get children { - final _ret = _lib._objc_msgSend_84(this.pointer, _lib._sel_children1); + final _ret = _objc_msgSend_84(this.pointer, _sel_children); return _ret.address == 0 ? null - : NSArray._(_ret, _lib, retain: true, release: true); + : NSArray._(_ret, retain: true, release: true); } NSXMLNode? childAtIndex_(int index) { - final _ret = _lib._objc_msgSend_1138( - this.pointer, - _lib._sel_childAtIndex_1, - index, - ); + final _ret = _objc_msgSend_1137(this.pointer, _sel_childAtIndex_, index); return _ret.address == 0 ? null - : NSXMLNode._(_ret, _lib, retain: true, release: true); + : NSXMLNode._(_ret, retain: true, release: true); } NSXMLNode? get previousSibling { - final _ret = _lib._objc_msgSend_1137( - this.pointer, - _lib._sel_previousSibling1, - ); + final _ret = _objc_msgSend_1136(this.pointer, _sel_previousSibling); return _ret.address == 0 ? null - : NSXMLNode._(_ret, _lib, retain: true, release: true); + : NSXMLNode._(_ret, retain: true, release: true); } NSXMLNode? get nextSibling { - final _ret = _lib._objc_msgSend_1137(this.pointer, _lib._sel_nextSibling1); + final _ret = _objc_msgSend_1136(this.pointer, _sel_nextSibling); return _ret.address == 0 ? null - : NSXMLNode._(_ret, _lib, retain: true, release: true); + : NSXMLNode._(_ret, retain: true, release: true); } NSXMLNode? get previousNode { - final _ret = _lib._objc_msgSend_1137(this.pointer, _lib._sel_previousNode1); + final _ret = _objc_msgSend_1136(this.pointer, _sel_previousNode); return _ret.address == 0 ? null - : NSXMLNode._(_ret, _lib, retain: true, release: true); + : NSXMLNode._(_ret, retain: true, release: true); } NSXMLNode? get nextNode { - final _ret = _lib._objc_msgSend_1137(this.pointer, _lib._sel_nextNode1); + final _ret = _objc_msgSend_1136(this.pointer, _sel_nextNode); return _ret.address == 0 ? null - : NSXMLNode._(_ret, _lib, retain: true, release: true); + : NSXMLNode._(_ret, retain: true, release: true); } void detach() { - _lib._objc_msgSend_1(this.pointer, _lib._sel_detach1); + _objc_msgSend_1(this.pointer, _sel_detach); } NSString? get XPath { - final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_XPath1); + final _ret = _objc_msgSend_44(this.pointer, _sel_XPath); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } NSString? get localName { - final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_localName1); + final _ret = _objc_msgSend_44(this.pointer, _sel_localName); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } NSString? get prefix { - final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_prefix1); + final _ret = _objc_msgSend_44(this.pointer, _sel_prefix); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } NSString? get URI { - final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_URI1); + final _ret = _objc_msgSend_44(this.pointer, _sel_URI); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } set URI(NSString? value) { - return _lib._objc_msgSend_545( - this.pointer, - _lib._sel_setURI_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_545( + this.pointer, _sel_setURI_, value?.pointer ?? ffi.nullptr); } - static NSString localNameForName_(AVFAudio _lib, NSString name) { - final _ret = _lib._objc_msgSend_69( - _lib._class_NSXMLNode1, - _lib._sel_localNameForName_1, - name.pointer, - ); - return NSString._(_ret, _lib, retain: true, release: true); + static NSString localNameForName_(NSString name) { + final _ret = _objc_msgSend_69( + _class_NSXMLNode, _sel_localNameForName_, name.pointer); + return NSString._(_ret, retain: true, release: true); } - static NSString? prefixForName_(AVFAudio _lib, NSString name) { - final _ret = _lib._objc_msgSend_186( - _lib._class_NSXMLNode1, - _lib._sel_prefixForName_1, - name.pointer, - ); + static NSString? prefixForName_(NSString name) { + final _ret = + _objc_msgSend_186(_class_NSXMLNode, _sel_prefixForName_, name.pointer); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } - static NSXMLNode? predefinedNamespaceForPrefix_( - AVFAudio _lib, - NSString name, - ) { - final _ret = _lib._objc_msgSend_1125( - _lib._class_NSXMLNode1, - _lib._sel_predefinedNamespaceForPrefix_1, - name.pointer, - ); + static NSXMLNode? predefinedNamespaceForPrefix_(NSString name) { + final _ret = _objc_msgSend_1124( + _class_NSXMLNode, _sel_predefinedNamespaceForPrefix_, name.pointer); return _ret.address == 0 ? null - : NSXMLNode._(_ret, _lib, retain: true, release: true); + : NSXMLNode._(_ret, retain: true, release: true); } NSString get description { - final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_description1); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_description); + return NSString._(_ret, retain: true, release: true); } NSString get XMLString { - final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_XMLString1); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_XMLString); + return NSString._(_ret, retain: true, release: true); } NSString XMLStringWithOptions_(int options) { - final _ret = _lib._objc_msgSend_1139( - this.pointer, - _lib._sel_XMLStringWithOptions_1, - options, - ); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_1138(this.pointer, _sel_XMLStringWithOptions_, options); + return NSString._(_ret, retain: true, release: true); } NSString canonicalXMLStringPreservingComments_(bool comments) { - final _ret = _lib._objc_msgSend_1140( - this.pointer, - _lib._sel_canonicalXMLStringPreservingComments_1, - comments, - ); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_1139( + this.pointer, _sel_canonicalXMLStringPreservingComments_, comments); + return NSString._(_ret, retain: true, release: true); } NSArray? nodesForXPath_error_( - NSString xpath, - ffi.Pointer> error, - ) { - final _ret = _lib._objc_msgSend_443( - this.pointer, - _lib._sel_nodesForXPath_error_1, - xpath.pointer, - error, - ); + NSString xpath, ffi.Pointer> error) { + final _ret = _objc_msgSend_443( + this.pointer, _sel_nodesForXPath_error_, xpath.pointer, error); return _ret.address == 0 ? null - : NSArray._(_ret, _lib, retain: true, release: true); + : NSArray._(_ret, retain: true, release: true); } NSArray? objectsForXQuery_constants_error_( - NSString xquery, - NSDictionary? constants, - ffi.Pointer> error, - ) { - final _ret = _lib._objc_msgSend_1141( - this.pointer, - _lib._sel_objectsForXQuery_constants_error_1, - xquery.pointer, - constants?.pointer ?? ffi.nullptr, - error, - ); + NSString xquery, + NSDictionary? constants, + ffi.Pointer> error) { + final _ret = _objc_msgSend_1140( + this.pointer, + _sel_objectsForXQuery_constants_error_, + xquery.pointer, + constants?.pointer ?? ffi.nullptr, + error); return _ret.address == 0 ? null - : NSArray._(_ret, _lib, retain: true, release: true); + : NSArray._(_ret, retain: true, release: true); } NSArray? objectsForXQuery_error_( - NSString xquery, - ffi.Pointer> error, - ) { - final _ret = _lib._objc_msgSend_443( - this.pointer, - _lib._sel_objectsForXQuery_error_1, - xquery.pointer, - error, - ); + NSString xquery, ffi.Pointer> error) { + final _ret = _objc_msgSend_443( + this.pointer, _sel_objectsForXQuery_error_, xquery.pointer, error); return _ret.address == 0 ? null - : NSArray._(_ret, _lib, retain: true, release: true); + : NSArray._(_ret, retain: true, release: true); } - static NSXMLNode new1(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2(_lib._class_NSXMLNode1, _lib._sel_new1); - return NSXMLNode._(_ret, _lib, retain: false, release: true); + static NSXMLNode new1() { + final _ret = _objc_msgSend_2(_class_NSXMLNode, _sel_new); + return NSXMLNode._(_ret, retain: false, release: true); } - static NSXMLNode allocWithZone_(AVFAudio _lib, ffi.Pointer<_NSZone> zone) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSXMLNode1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSXMLNode._(_ret, _lib, retain: false, release: true); + static NSXMLNode allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = _objc_msgSend_3(_class_NSXMLNode, _sel_allocWithZone_, zone); + return NSXMLNode._(_ret, retain: false, release: true); } - static NSXMLNode alloc(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2(_lib._class_NSXMLNode1, _lib._sel_alloc1); - return NSXMLNode._(_ret, _lib, retain: false, release: true); + static NSXMLNode alloc() { + final _ret = _objc_msgSend_2(_class_NSXMLNode, _sel_alloc); + return NSXMLNode._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSXMLNode1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSXMLNode1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSXMLNode1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSXMLNode1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSXMLNode1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSXMLNode1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSXMLNode, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); + } + + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSXMLNode, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); + } + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSXMLNode, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSXMLNode, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSXMLNode, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSXMLNode, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); } static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSXMLNode1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSXMLNode1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSXMLNode1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSXMLNode, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = + _objc_msgSend_85(_class_NSXMLNode, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = + _objc_msgSend_2(_class_NSXMLNode, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); } } +late final _class_NSXMLNode = objc.getClass("NSXMLNode"); + abstract class NSXMLNodeKind { static const int NSXMLInvalidKind = 0; static const int NSXMLDocumentKind = 1; @@ -93622,6 +57640,16 @@ abstract class NSXMLNodeKind { static const int NSXMLNotationDeclarationKind = 12; } +late final _sel_initWithKind_ = objc.registerName("initWithKind:"); +final _objc_msgSend_1105 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function(ffi.Pointer obj, + ffi.Pointer sel, ffi.Int32 kind)>>() + .asFunction< + instancetype Function(ffi.Pointer, + ffi.Pointer, int)>(); + abstract class NSXMLNodeOptions { static const int NSXMLNodeOptionsNone = 0; static const int NSXMLNodeIsCDATA = 1; @@ -93653,675 +57681,621 @@ abstract class NSXMLNodeOptions { static const int NSXMLNodePreserveAll = 4293918750; } +late final _sel_initWithKind_options_ = + objc.registerName("initWithKind:options:"); +final _objc_msgSend_1106 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Int32 kind, + ffi.Int32 options)>>() + .asFunction< + instancetype Function(ffi.Pointer, + ffi.Pointer, int, int)>(); +late final _sel_document = objc.registerName("document"); +late final _sel_documentWithRootElement_ = + objc.registerName("documentWithRootElement:"); +final _objc_msgSend_1107 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer element)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_elementWithName_ = objc.registerName("elementWithName:"); +late final _sel_elementWithName_URI_ = + objc.registerName("elementWithName:URI:"); +final _objc_msgSend_1108 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer name, + ffi.Pointer URI)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_elementWithName_stringValue_ = + objc.registerName("elementWithName:stringValue:"); +late final _sel_elementWithName_children_attributes_ = + objc.registerName("elementWithName:children:attributes:"); +final _objc_msgSend_1109 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer name, + ffi.Pointer children, + ffi.Pointer attributes)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_attributeWithName_stringValue_ = + objc.registerName("attributeWithName:stringValue:"); +late final _sel_attributeWithName_URI_stringValue_ = + objc.registerName("attributeWithName:URI:stringValue:"); +late final _sel_namespaceWithName_stringValue_ = + objc.registerName("namespaceWithName:stringValue:"); +late final _sel_processingInstructionWithName_stringValue_ = + objc.registerName("processingInstructionWithName:stringValue:"); +late final _sel_commentWithStringValue_ = + objc.registerName("commentWithStringValue:"); +late final _sel_textWithStringValue_ = + objc.registerName("textWithStringValue:"); +late final _sel_DTDNodeWithXMLString_ = + objc.registerName("DTDNodeWithXMLString:"); +final _objc_msgSend_1110 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + int Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_objectValue = objc.registerName("objectValue"); +late final _sel_setObjectValue_ = objc.registerName("setObjectValue:"); +late final _sel_setStringValue_ = objc.registerName("setStringValue:"); +late final _sel_setStringValue_resolvingEntities_ = + objc.registerName("setStringValue:resolvingEntities:"); +final _objc_msgSend_1111 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer string, + ffi.Bool resolve)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool)>(); +late final _sel_index = objc.registerName("index"); +late final _sel_level = objc.registerName("level"); + class NSXMLDocument extends NSXMLNode { - NSXMLDocument._( - ffi.Pointer pointer, - AVFAudio lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSXMLDocument._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSXMLDocument] that points to the same underlying object as [other]. - static NSXMLDocument castFrom( - AVFAudio lib, - T other, - ) { - return NSXMLDocument._(other.pointer, lib, retain: true, release: true); + static NSXMLDocument castFrom(T other) { + return NSXMLDocument._(other.pointer, retain: true, release: true); } /// Returns a [NSXMLDocument] that wraps the given raw object pointer. - static NSXMLDocument castFromPointer( - AVFAudio lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSXMLDocument._(other, lib, retain: retain, release: release); + static NSXMLDocument castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSXMLDocument._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSXMLDocument]. - static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSXMLDocument1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0( + obj.pointer, _sel_isKindOfClass_, _class_NSXMLDocument); } @override NSXMLDocument init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSXMLDocument._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSXMLDocument._(_ret, retain: true, release: true); } - NSXMLDocument? initWithXMLString_options_error_( - NSString string, - int mask, - ffi.Pointer> error, - ) { - final _ret = _lib._objc_msgSend_1113( - this.pointer, - _lib._sel_initWithXMLString_options_error_1, - string.pointer, - mask, - error, - ); + NSXMLDocument? initWithXMLString_options_error_(NSString string, int mask, + ffi.Pointer> error) { + final _ret = _objc_msgSend_1112(this.pointer, + _sel_initWithXMLString_options_error_, string.pointer, mask, error); return _ret.address == 0 ? null - : NSXMLDocument._(_ret, _lib, retain: true, release: true); + : NSXMLDocument._(_ret, retain: true, release: true); } NSXMLDocument? initWithContentsOfURL_options_error_( - NSURL url, - int mask, - ffi.Pointer> error, - ) { - final _ret = _lib._objc_msgSend_1114( - this.pointer, - _lib._sel_initWithContentsOfURL_options_error_1, - url.pointer, - mask, - error, - ); + NSURL url, int mask, ffi.Pointer> error) { + final _ret = _objc_msgSend_1113(this.pointer, + _sel_initWithContentsOfURL_options_error_, url.pointer, mask, error); return _ret.address == 0 ? null - : NSXMLDocument._(_ret, _lib, retain: true, release: true); + : NSXMLDocument._(_ret, retain: true, release: true); } NSXMLDocument? initWithData_options_error_( - NSData data, - int mask, - ffi.Pointer> error, - ) { - final _ret = _lib._objc_msgSend_1115( - this.pointer, - _lib._sel_initWithData_options_error_1, - data.pointer, - mask, - error, - ); + NSData data, int mask, ffi.Pointer> error) { + final _ret = _objc_msgSend_1114(this.pointer, + _sel_initWithData_options_error_, data.pointer, mask, error); return _ret.address == 0 ? null - : NSXMLDocument._(_ret, _lib, retain: true, release: true); + : NSXMLDocument._(_ret, retain: true, release: true); } NSXMLDocument initWithRootElement_(NSXMLElement? element) { - final _ret = _lib._objc_msgSend_1116( - this.pointer, - _lib._sel_initWithRootElement_1, - element?.pointer ?? ffi.nullptr, - ); - return NSXMLDocument._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_1115(this.pointer, _sel_initWithRootElement_, + element?.pointer ?? ffi.nullptr); + return NSXMLDocument._(_ret, retain: true, release: true); } - static NSObject replacementClassForClass_(AVFAudio _lib, NSObject cls) { - final _ret = _lib._objc_msgSend_124( - _lib._class_NSXMLDocument1, - _lib._sel_replacementClassForClass_1, - cls.pointer, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + static NSObject replacementClassForClass_(NSObject cls) { + final _ret = _objc_msgSend_124( + _class_NSXMLDocument, _sel_replacementClassForClass_, cls.pointer); + return NSObject._(_ret, retain: true, release: true); } NSString? get characterEncoding { - final _ret = _lib._objc_msgSend_44( - this.pointer, - _lib._sel_characterEncoding1, - ); + final _ret = _objc_msgSend_44(this.pointer, _sel_characterEncoding); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } set characterEncoding(NSString? value) { - return _lib._objc_msgSend_545( - this.pointer, - _lib._sel_setCharacterEncoding_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_545(this.pointer, _sel_setCharacterEncoding_, + value?.pointer ?? ffi.nullptr); } NSString? get version { - final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_version1); + final _ret = _objc_msgSend_44(this.pointer, _sel_version); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } set version(NSString? value) { - return _lib._objc_msgSend_545( - this.pointer, - _lib._sel_setVersion_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_545( + this.pointer, _sel_setVersion_, value?.pointer ?? ffi.nullptr); } bool get standalone { - return _lib._objc_msgSend_12(this.pointer, _lib._sel_isStandalone1); + return _objc_msgSend_12(this.pointer, _sel_isStandalone); } set standalone(bool value) { - return _lib._objc_msgSend_527( - this.pointer, - _lib._sel_setStandalone_1, - value, - ); + return _objc_msgSend_527(this.pointer, _sel_setStandalone_, value); } int get documentContentKind { - return _lib._objc_msgSend_1117( - this.pointer, - _lib._sel_documentContentKind1, - ); + return _objc_msgSend_1116(this.pointer, _sel_documentContentKind); } set documentContentKind(int value) { - return _lib._objc_msgSend_1118( - this.pointer, - _lib._sel_setDocumentContentKind_1, - value, - ); + return _objc_msgSend_1117( + this.pointer, _sel_setDocumentContentKind_, value); } NSString? get MIMEType { - final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_MIMEType1); + final _ret = _objc_msgSend_44(this.pointer, _sel_MIMEType); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } set MIMEType(NSString? value) { - return _lib._objc_msgSend_545( - this.pointer, - _lib._sel_setMIMEType_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_545( + this.pointer, _sel_setMIMEType_, value?.pointer ?? ffi.nullptr); } NSXMLDTD? get DTD { - final _ret = _lib._objc_msgSend_1128(this.pointer, _lib._sel_DTD1); + final _ret = _objc_msgSend_1127(this.pointer, _sel_DTD); return _ret.address == 0 ? null - : NSXMLDTD._(_ret, _lib, retain: true, release: true); + : NSXMLDTD._(_ret, retain: true, release: true); } set DTD(NSXMLDTD? value) { - return _lib._objc_msgSend_1129( - this.pointer, - _lib._sel_setDTD_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_1128( + this.pointer, _sel_setDTD_, value?.pointer ?? ffi.nullptr); } void setRootElement_(NSXMLElement root) { - _lib._objc_msgSend_1130( - this.pointer, - _lib._sel_setRootElement_1, - root.pointer, - ); + _objc_msgSend_1129(this.pointer, _sel_setRootElement_, root.pointer); } NSXMLElement? rootElement() { - final _ret = _lib._objc_msgSend_1131(this.pointer, _lib._sel_rootElement1); + final _ret = _objc_msgSend_1130(this.pointer, _sel_rootElement); return _ret.address == 0 ? null - : NSXMLElement._(_ret, _lib, retain: true, release: true); + : NSXMLElement._(_ret, retain: true, release: true); } void insertChild_atIndex_(NSXMLNode child, int index) { - _lib._objc_msgSend_1119( - this.pointer, - _lib._sel_insertChild_atIndex_1, - child.pointer, - index, - ); + _objc_msgSend_1118( + this.pointer, _sel_insertChild_atIndex_, child.pointer, index); } void insertChildren_atIndex_(NSArray children, int index) { - _lib._objc_msgSend_1120( - this.pointer, - _lib._sel_insertChildren_atIndex_1, - children.pointer, - index, - ); + _objc_msgSend_1119( + this.pointer, _sel_insertChildren_atIndex_, children.pointer, index); } void removeChildAtIndex_(int index) { - _lib._objc_msgSend_470(this.pointer, _lib._sel_removeChildAtIndex_1, index); + _objc_msgSend_470(this.pointer, _sel_removeChildAtIndex_, index); } void setChildren_(NSArray? children) { - _lib._objc_msgSend_843( - this.pointer, - _lib._sel_setChildren_1, - children?.pointer ?? ffi.nullptr, - ); + _objc_msgSend_843( + this.pointer, _sel_setChildren_, children?.pointer ?? ffi.nullptr); } void addChild_(NSXMLNode child) { - _lib._objc_msgSend_1121(this.pointer, _lib._sel_addChild_1, child.pointer); + _objc_msgSend_1120(this.pointer, _sel_addChild_, child.pointer); } void replaceChildAtIndex_withNode_(int index, NSXMLNode node) { - _lib._objc_msgSend_1122( - this.pointer, - _lib._sel_replaceChildAtIndex_withNode_1, - index, - node.pointer, - ); + _objc_msgSend_1121( + this.pointer, _sel_replaceChildAtIndex_withNode_, index, node.pointer); } NSData get XMLData { - final _ret = _lib._objc_msgSend_43(this.pointer, _lib._sel_XMLData1); - return NSData._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_43(this.pointer, _sel_XMLData); + return NSData._(_ret, retain: true, release: true); } NSData XMLDataWithOptions_(int options) { - final _ret = _lib._objc_msgSend_1132( - this.pointer, - _lib._sel_XMLDataWithOptions_1, - options, - ); - return NSData._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_1131(this.pointer, _sel_XMLDataWithOptions_, options); + return NSData._(_ret, retain: true, release: true); } NSObject? objectByApplyingXSLT_arguments_error_( - NSData xslt, - NSDictionary? arguments, - ffi.Pointer> error, - ) { - final _ret = _lib._objc_msgSend_1133( - this.pointer, - _lib._sel_objectByApplyingXSLT_arguments_error_1, - xslt.pointer, - arguments?.pointer ?? ffi.nullptr, - error, - ); + NSData xslt, + NSDictionary? arguments, + ffi.Pointer> error) { + final _ret = _objc_msgSend_1132( + this.pointer, + _sel_objectByApplyingXSLT_arguments_error_, + xslt.pointer, + arguments?.pointer ?? ffi.nullptr, + error); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } NSObject? objectByApplyingXSLTString_arguments_error_( - NSString xslt, - NSDictionary? arguments, - ffi.Pointer> error, - ) { - final _ret = _lib._objc_msgSend_1134( - this.pointer, - _lib._sel_objectByApplyingXSLTString_arguments_error_1, - xslt.pointer, - arguments?.pointer ?? ffi.nullptr, - error, - ); + NSString xslt, + NSDictionary? arguments, + ffi.Pointer> error) { + final _ret = _objc_msgSend_1133( + this.pointer, + _sel_objectByApplyingXSLTString_arguments_error_, + xslt.pointer, + arguments?.pointer ?? ffi.nullptr, + error); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } - NSObject? objectByApplyingXSLTAtURL_arguments_error_( - NSURL xsltURL, - NSDictionary? argument, - ffi.Pointer> error, - ) { - final _ret = _lib._objc_msgSend_1135( - this.pointer, - _lib._sel_objectByApplyingXSLTAtURL_arguments_error_1, - xsltURL.pointer, - argument?.pointer ?? ffi.nullptr, - error, - ); + NSObject? objectByApplyingXSLTAtURL_arguments_error_(NSURL xsltURL, + NSDictionary? argument, ffi.Pointer> error) { + final _ret = _objc_msgSend_1134( + this.pointer, + _sel_objectByApplyingXSLTAtURL_arguments_error_, + xsltURL.pointer, + argument?.pointer ?? ffi.nullptr, + error); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } bool validateAndReturnError_( - ffi.Pointer> error, - ) { - return _lib._objc_msgSend_255( - this.pointer, - _lib._sel_validateAndReturnError_1, - error, - ); + ffi.Pointer> error) { + return _objc_msgSend_255(this.pointer, _sel_validateAndReturnError_, error); } @override NSXMLDocument initWithKind_(int kind) { - final _ret = _lib._objc_msgSend_1106( - this.pointer, - _lib._sel_initWithKind_1, - kind, - ); - return NSXMLDocument._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_1105(this.pointer, _sel_initWithKind_, kind); + return NSXMLDocument._(_ret, retain: true, release: true); } @override NSXMLDocument initWithKind_options_(int kind, int options) { - final _ret = _lib._objc_msgSend_1107( - this.pointer, - _lib._sel_initWithKind_options_1, - kind, - options, - ); - return NSXMLDocument._(_ret, _lib, retain: true, release: true); - } - - static NSObject document(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSXMLDocument1, - _lib._sel_document1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); - } - - static NSObject documentWithRootElement_( - AVFAudio _lib, - NSXMLElement element, - ) { - final _ret = _lib._objc_msgSend_1108( - _lib._class_NSXMLDocument1, - _lib._sel_documentWithRootElement_1, - element.pointer, - ); - return NSObject._(_ret, _lib, retain: true, release: true); - } - - static NSObject elementWithName_(AVFAudio _lib, NSString name) { - final _ret = _lib._objc_msgSend_31( - _lib._class_NSXMLDocument1, - _lib._sel_elementWithName_1, - name.pointer, - ); - return NSObject._(_ret, _lib, retain: true, release: true); - } - - static NSObject elementWithName_URI_( - AVFAudio _lib, - NSString name, - NSString URI, - ) { - final _ret = _lib._objc_msgSend_1109( - _lib._class_NSXMLDocument1, - _lib._sel_elementWithName_URI_1, - name.pointer, - URI.pointer, - ); - return NSObject._(_ret, _lib, retain: true, release: true); - } - - static NSObject elementWithName_stringValue_( - AVFAudio _lib, - NSString name, - NSString string, - ) { - final _ret = _lib._objc_msgSend_1109( - _lib._class_NSXMLDocument1, - _lib._sel_elementWithName_stringValue_1, - name.pointer, - string.pointer, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_1106( + this.pointer, _sel_initWithKind_options_, kind, options); + return NSXMLDocument._(_ret, retain: true, release: true); + } + + static NSObject document() { + final _ret = _objc_msgSend_2(_class_NSXMLDocument, _sel_document); + return NSObject._(_ret, retain: true, release: true); + } + + static NSObject documentWithRootElement_(NSXMLElement element) { + final _ret = _objc_msgSend_1107( + _class_NSXMLDocument, _sel_documentWithRootElement_, element.pointer); + return NSObject._(_ret, retain: true, release: true); + } + + static NSObject elementWithName_(NSString name) { + final _ret = _objc_msgSend_31( + _class_NSXMLDocument, _sel_elementWithName_, name.pointer); + return NSObject._(_ret, retain: true, release: true); + } + + static NSObject elementWithName_URI_(NSString name, NSString URI) { + final _ret = _objc_msgSend_1108(_class_NSXMLDocument, + _sel_elementWithName_URI_, name.pointer, URI.pointer); + return NSObject._(_ret, retain: true, release: true); + } + + static NSObject elementWithName_stringValue_(NSString name, NSString string) { + final _ret = _objc_msgSend_1108(_class_NSXMLDocument, + _sel_elementWithName_stringValue_, name.pointer, string.pointer); + return NSObject._(_ret, retain: true, release: true); } static NSObject elementWithName_children_attributes_( - AVFAudio _lib, - NSString name, - NSArray? children, - NSArray? attributes, - ) { - final _ret = _lib._objc_msgSend_1110( - _lib._class_NSXMLDocument1, - _lib._sel_elementWithName_children_attributes_1, - name.pointer, - children?.pointer ?? ffi.nullptr, - attributes?.pointer ?? ffi.nullptr, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + NSString name, NSArray? children, NSArray? attributes) { + final _ret = _objc_msgSend_1109( + _class_NSXMLDocument, + _sel_elementWithName_children_attributes_, + name.pointer, + children?.pointer ?? ffi.nullptr, + attributes?.pointer ?? ffi.nullptr); + return NSObject._(_ret, retain: true, release: true); } static NSObject attributeWithName_stringValue_( - AVFAudio _lib, - NSString name, - NSString stringValue, - ) { - final _ret = _lib._objc_msgSend_1109( - _lib._class_NSXMLDocument1, - _lib._sel_attributeWithName_stringValue_1, - name.pointer, - stringValue.pointer, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + NSString name, NSString stringValue) { + final _ret = _objc_msgSend_1108(_class_NSXMLDocument, + _sel_attributeWithName_stringValue_, name.pointer, stringValue.pointer); + return NSObject._(_ret, retain: true, release: true); } static NSObject attributeWithName_URI_stringValue_( - AVFAudio _lib, - NSString name, - NSString URI, - NSString stringValue, - ) { - final _ret = _lib._objc_msgSend_1074( - _lib._class_NSXMLDocument1, - _lib._sel_attributeWithName_URI_stringValue_1, - name.pointer, - URI.pointer, - stringValue.pointer, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + NSString name, NSString URI, NSString stringValue) { + final _ret = _objc_msgSend_1074( + _class_NSXMLDocument, + _sel_attributeWithName_URI_stringValue_, + name.pointer, + URI.pointer, + stringValue.pointer); + return NSObject._(_ret, retain: true, release: true); } static NSObject namespaceWithName_stringValue_( - AVFAudio _lib, - NSString name, - NSString stringValue, - ) { - final _ret = _lib._objc_msgSend_1109( - _lib._class_NSXMLDocument1, - _lib._sel_namespaceWithName_stringValue_1, - name.pointer, - stringValue.pointer, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + NSString name, NSString stringValue) { + final _ret = _objc_msgSend_1108(_class_NSXMLDocument, + _sel_namespaceWithName_stringValue_, name.pointer, stringValue.pointer); + return NSObject._(_ret, retain: true, release: true); } static NSObject processingInstructionWithName_stringValue_( - AVFAudio _lib, - NSString name, - NSString stringValue, - ) { - final _ret = _lib._objc_msgSend_1109( - _lib._class_NSXMLDocument1, - _lib._sel_processingInstructionWithName_stringValue_1, - name.pointer, - stringValue.pointer, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + NSString name, NSString stringValue) { + final _ret = _objc_msgSend_1108( + _class_NSXMLDocument, + _sel_processingInstructionWithName_stringValue_, + name.pointer, + stringValue.pointer); + return NSObject._(_ret, retain: true, release: true); } - static NSObject commentWithStringValue_(AVFAudio _lib, NSString stringValue) { - final _ret = _lib._objc_msgSend_31( - _lib._class_NSXMLDocument1, - _lib._sel_commentWithStringValue_1, - stringValue.pointer, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + static NSObject commentWithStringValue_(NSString stringValue) { + final _ret = _objc_msgSend_31(_class_NSXMLDocument, + _sel_commentWithStringValue_, stringValue.pointer); + return NSObject._(_ret, retain: true, release: true); } - static NSObject textWithStringValue_(AVFAudio _lib, NSString stringValue) { - final _ret = _lib._objc_msgSend_31( - _lib._class_NSXMLDocument1, - _lib._sel_textWithStringValue_1, - stringValue.pointer, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + static NSObject textWithStringValue_(NSString stringValue) { + final _ret = _objc_msgSend_31( + _class_NSXMLDocument, _sel_textWithStringValue_, stringValue.pointer); + return NSObject._(_ret, retain: true, release: true); } - static NSObject? DTDNodeWithXMLString_(AVFAudio _lib, NSString string) { - final _ret = _lib._objc_msgSend_38( - _lib._class_NSXMLDocument1, - _lib._sel_DTDNodeWithXMLString_1, - string.pointer, - ); + static NSObject? DTDNodeWithXMLString_(NSString string) { + final _ret = _objc_msgSend_38( + _class_NSXMLDocument, _sel_DTDNodeWithXMLString_, string.pointer); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } - static NSString localNameForName_(AVFAudio _lib, NSString name) { - final _ret = _lib._objc_msgSend_69( - _lib._class_NSXMLDocument1, - _lib._sel_localNameForName_1, - name.pointer, - ); - return NSString._(_ret, _lib, retain: true, release: true); + static NSString localNameForName_(NSString name) { + final _ret = _objc_msgSend_69( + _class_NSXMLDocument, _sel_localNameForName_, name.pointer); + return NSString._(_ret, retain: true, release: true); } - static NSString? prefixForName_(AVFAudio _lib, NSString name) { - final _ret = _lib._objc_msgSend_186( - _lib._class_NSXMLDocument1, - _lib._sel_prefixForName_1, - name.pointer, - ); + static NSString? prefixForName_(NSString name) { + final _ret = _objc_msgSend_186( + _class_NSXMLDocument, _sel_prefixForName_, name.pointer); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } - static NSXMLNode? predefinedNamespaceForPrefix_( - AVFAudio _lib, - NSString name, - ) { - final _ret = _lib._objc_msgSend_1125( - _lib._class_NSXMLDocument1, - _lib._sel_predefinedNamespaceForPrefix_1, - name.pointer, - ); + static NSXMLNode? predefinedNamespaceForPrefix_(NSString name) { + final _ret = _objc_msgSend_1124( + _class_NSXMLDocument, _sel_predefinedNamespaceForPrefix_, name.pointer); return _ret.address == 0 ? null - : NSXMLNode._(_ret, _lib, retain: true, release: true); + : NSXMLNode._(_ret, retain: true, release: true); } - static NSXMLDocument new1(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSXMLDocument1, - _lib._sel_new1, - ); - return NSXMLDocument._(_ret, _lib, retain: false, release: true); + static NSXMLDocument new1() { + final _ret = _objc_msgSend_2(_class_NSXMLDocument, _sel_new); + return NSXMLDocument._(_ret, retain: false, release: true); } - static NSXMLDocument allocWithZone_( - AVFAudio _lib, - ffi.Pointer<_NSZone> zone, - ) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSXMLDocument1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSXMLDocument._(_ret, _lib, retain: false, release: true); + static NSXMLDocument allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = + _objc_msgSend_3(_class_NSXMLDocument, _sel_allocWithZone_, zone); + return NSXMLDocument._(_ret, retain: false, release: true); } - static NSXMLDocument alloc(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSXMLDocument1, - _lib._sel_alloc1, - ); - return NSXMLDocument._(_ret, _lib, retain: false, release: true); + static NSXMLDocument alloc() { + final _ret = _objc_msgSend_2(_class_NSXMLDocument, _sel_alloc); + return NSXMLDocument._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSXMLDocument1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSXMLDocument1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSXMLDocument1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSXMLDocument1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSXMLDocument1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSXMLDocument1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSXMLDocument, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); + } + + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSXMLDocument, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); + } + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSXMLDocument, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSXMLDocument, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSXMLDocument, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSXMLDocument, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); } static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSXMLDocument1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSXMLDocument1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSXMLDocument1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSXMLDocument, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = _objc_msgSend_85( + _class_NSXMLDocument, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = + _objc_msgSend_2(_class_NSXMLDocument, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); } } +late final _class_NSXMLDocument = objc.getClass("NSXMLDocument"); +late final _sel_initWithXMLString_options_error_ = + objc.registerName("initWithXMLString:options:error:"); +final _objc_msgSend_1112 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer string, + ffi.Int32 mask, + ffi.Pointer> error)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer>)>(); +final _objc_msgSend_1113 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer url, + ffi.Int32 mask, + ffi.Pointer> error)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer>)>(); +late final _sel_initWithData_options_error_ = + objc.registerName("initWithData:options:error:"); +final _objc_msgSend_1114 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer data, + ffi.Int32 mask, + ffi.Pointer> error)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer>)>(); +late final _sel_initWithRootElement_ = + objc.registerName("initWithRootElement:"); +final _objc_msgSend_1115 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer element)>>() + .asFunction< + instancetype Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_replacementClassForClass_ = + objc.registerName("replacementClassForClass:"); +late final _sel_characterEncoding = objc.registerName("characterEncoding"); +late final _sel_setCharacterEncoding_ = + objc.registerName("setCharacterEncoding:"); +late final _sel_isStandalone = objc.registerName("isStandalone"); +late final _sel_setStandalone_ = objc.registerName("setStandalone:"); + abstract class NSXMLDocumentContentKind { static const int NSXMLDocumentXMLKind = 0; static const int NSXMLDocumentXHTMLKind = 1; @@ -94329,985 +58303,728 @@ abstract class NSXMLDocumentContentKind { static const int NSXMLDocumentTextKind = 3; } +late final _sel_documentContentKind = objc.registerName("documentContentKind"); +final _objc_msgSend_1116 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + int Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_setDocumentContentKind_ = + objc.registerName("setDocumentContentKind:"); +final _objc_msgSend_1117 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer obj, + ffi.Pointer sel, ffi.Int32 value)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, int)>(); +late final _sel_setMIMEType_ = objc.registerName("setMIMEType:"); + class NSXMLDTD extends NSXMLNode { - NSXMLDTD._( - ffi.Pointer pointer, - AVFAudio lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSXMLDTD._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSXMLDTD] that points to the same underlying object as [other]. - static NSXMLDTD castFrom( - AVFAudio lib, - T other, - ) { - return NSXMLDTD._(other.pointer, lib, retain: true, release: true); + static NSXMLDTD castFrom(T other) { + return NSXMLDTD._(other.pointer, retain: true, release: true); } /// Returns a [NSXMLDTD] that wraps the given raw object pointer. - static NSXMLDTD castFromPointer( - AVFAudio lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSXMLDTD._(other, lib, retain: retain, release: release); + static NSXMLDTD castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSXMLDTD._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSXMLDTD]. - static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSXMLDTD1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0(obj.pointer, _sel_isKindOfClass_, _class_NSXMLDTD); } @override NSXMLDTD init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSXMLDTD._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSXMLDTD._(_ret, retain: true, release: true); } @override NSXMLDTD initWithKind_options_(int kind, int options) { - final _ret = _lib._objc_msgSend_1107( - this.pointer, - _lib._sel_initWithKind_options_1, - kind, - options, - ); - return NSXMLDTD._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_1106( + this.pointer, _sel_initWithKind_options_, kind, options); + return NSXMLDTD._(_ret, retain: true, release: true); } NSXMLDTD? initWithContentsOfURL_options_error_( - NSURL url, - int mask, - ffi.Pointer> error, - ) { - final _ret = _lib._objc_msgSend_1114( - this.pointer, - _lib._sel_initWithContentsOfURL_options_error_1, - url.pointer, - mask, - error, - ); + NSURL url, int mask, ffi.Pointer> error) { + final _ret = _objc_msgSend_1113(this.pointer, + _sel_initWithContentsOfURL_options_error_, url.pointer, mask, error); return _ret.address == 0 ? null - : NSXMLDTD._(_ret, _lib, retain: true, release: true); + : NSXMLDTD._(_ret, retain: true, release: true); } NSXMLDTD? initWithData_options_error_( - NSData data, - int mask, - ffi.Pointer> error, - ) { - final _ret = _lib._objc_msgSend_1115( - this.pointer, - _lib._sel_initWithData_options_error_1, - data.pointer, - mask, - error, - ); + NSData data, int mask, ffi.Pointer> error) { + final _ret = _objc_msgSend_1114(this.pointer, + _sel_initWithData_options_error_, data.pointer, mask, error); return _ret.address == 0 ? null - : NSXMLDTD._(_ret, _lib, retain: true, release: true); + : NSXMLDTD._(_ret, retain: true, release: true); } NSString? get publicID { - final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_publicID1); + final _ret = _objc_msgSend_44(this.pointer, _sel_publicID); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } set publicID(NSString? value) { - return _lib._objc_msgSend_545( - this.pointer, - _lib._sel_setPublicID_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_545( + this.pointer, _sel_setPublicID_, value?.pointer ?? ffi.nullptr); } NSString? get systemID { - final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_systemID1); + final _ret = _objc_msgSend_44(this.pointer, _sel_systemID); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } set systemID(NSString? value) { - return _lib._objc_msgSend_545( - this.pointer, - _lib._sel_setSystemID_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_545( + this.pointer, _sel_setSystemID_, value?.pointer ?? ffi.nullptr); } void insertChild_atIndex_(NSXMLNode child, int index) { - _lib._objc_msgSend_1119( - this.pointer, - _lib._sel_insertChild_atIndex_1, - child.pointer, - index, - ); + _objc_msgSend_1118( + this.pointer, _sel_insertChild_atIndex_, child.pointer, index); } void insertChildren_atIndex_(NSArray children, int index) { - _lib._objc_msgSend_1120( - this.pointer, - _lib._sel_insertChildren_atIndex_1, - children.pointer, - index, - ); + _objc_msgSend_1119( + this.pointer, _sel_insertChildren_atIndex_, children.pointer, index); } void removeChildAtIndex_(int index) { - _lib._objc_msgSend_470(this.pointer, _lib._sel_removeChildAtIndex_1, index); + _objc_msgSend_470(this.pointer, _sel_removeChildAtIndex_, index); } void setChildren_(NSArray? children) { - _lib._objc_msgSend_843( - this.pointer, - _lib._sel_setChildren_1, - children?.pointer ?? ffi.nullptr, - ); + _objc_msgSend_843( + this.pointer, _sel_setChildren_, children?.pointer ?? ffi.nullptr); } void addChild_(NSXMLNode child) { - _lib._objc_msgSend_1121(this.pointer, _lib._sel_addChild_1, child.pointer); + _objc_msgSend_1120(this.pointer, _sel_addChild_, child.pointer); } void replaceChildAtIndex_withNode_(int index, NSXMLNode node) { - _lib._objc_msgSend_1122( - this.pointer, - _lib._sel_replaceChildAtIndex_withNode_1, - index, - node.pointer, - ); + _objc_msgSend_1121( + this.pointer, _sel_replaceChildAtIndex_withNode_, index, node.pointer); } NSXMLDTDNode? entityDeclarationForName_(NSString name) { - final _ret = _lib._objc_msgSend_1126( - this.pointer, - _lib._sel_entityDeclarationForName_1, - name.pointer, - ); + final _ret = _objc_msgSend_1125( + this.pointer, _sel_entityDeclarationForName_, name.pointer); return _ret.address == 0 ? null - : NSXMLDTDNode._(_ret, _lib, retain: true, release: true); + : NSXMLDTDNode._(_ret, retain: true, release: true); } NSXMLDTDNode? notationDeclarationForName_(NSString name) { - final _ret = _lib._objc_msgSend_1126( - this.pointer, - _lib._sel_notationDeclarationForName_1, - name.pointer, - ); + final _ret = _objc_msgSend_1125( + this.pointer, _sel_notationDeclarationForName_, name.pointer); return _ret.address == 0 ? null - : NSXMLDTDNode._(_ret, _lib, retain: true, release: true); + : NSXMLDTDNode._(_ret, retain: true, release: true); } NSXMLDTDNode? elementDeclarationForName_(NSString name) { - final _ret = _lib._objc_msgSend_1126( - this.pointer, - _lib._sel_elementDeclarationForName_1, - name.pointer, - ); + final _ret = _objc_msgSend_1125( + this.pointer, _sel_elementDeclarationForName_, name.pointer); return _ret.address == 0 ? null - : NSXMLDTDNode._(_ret, _lib, retain: true, release: true); + : NSXMLDTDNode._(_ret, retain: true, release: true); } NSXMLDTDNode? attributeDeclarationForName_elementName_( - NSString name, - NSString elementName, - ) { - final _ret = _lib._objc_msgSend_1127( - this.pointer, - _lib._sel_attributeDeclarationForName_elementName_1, - name.pointer, - elementName.pointer, - ); + NSString name, NSString elementName) { + final _ret = _objc_msgSend_1126( + this.pointer, + _sel_attributeDeclarationForName_elementName_, + name.pointer, + elementName.pointer); return _ret.address == 0 ? null - : NSXMLDTDNode._(_ret, _lib, retain: true, release: true); + : NSXMLDTDNode._(_ret, retain: true, release: true); } - static NSXMLDTDNode? predefinedEntityDeclarationForName_( - AVFAudio _lib, - NSString name, - ) { - final _ret = _lib._objc_msgSend_1126( - _lib._class_NSXMLDTD1, - _lib._sel_predefinedEntityDeclarationForName_1, - name.pointer, - ); + static NSXMLDTDNode? predefinedEntityDeclarationForName_(NSString name) { + final _ret = _objc_msgSend_1125(_class_NSXMLDTD, + _sel_predefinedEntityDeclarationForName_, name.pointer); return _ret.address == 0 ? null - : NSXMLDTDNode._(_ret, _lib, retain: true, release: true); + : NSXMLDTDNode._(_ret, retain: true, release: true); } @override NSXMLDTD initWithKind_(int kind) { - final _ret = _lib._objc_msgSend_1106( - this.pointer, - _lib._sel_initWithKind_1, - kind, - ); - return NSXMLDTD._(_ret, _lib, retain: true, release: true); - } - - static NSObject document(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSXMLDTD1, - _lib._sel_document1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); - } - - static NSObject documentWithRootElement_( - AVFAudio _lib, - NSXMLElement element, - ) { - final _ret = _lib._objc_msgSend_1108( - _lib._class_NSXMLDTD1, - _lib._sel_documentWithRootElement_1, - element.pointer, - ); - return NSObject._(_ret, _lib, retain: true, release: true); - } - - static NSObject elementWithName_(AVFAudio _lib, NSString name) { - final _ret = _lib._objc_msgSend_31( - _lib._class_NSXMLDTD1, - _lib._sel_elementWithName_1, - name.pointer, - ); - return NSObject._(_ret, _lib, retain: true, release: true); - } - - static NSObject elementWithName_URI_( - AVFAudio _lib, - NSString name, - NSString URI, - ) { - final _ret = _lib._objc_msgSend_1109( - _lib._class_NSXMLDTD1, - _lib._sel_elementWithName_URI_1, - name.pointer, - URI.pointer, - ); - return NSObject._(_ret, _lib, retain: true, release: true); - } - - static NSObject elementWithName_stringValue_( - AVFAudio _lib, - NSString name, - NSString string, - ) { - final _ret = _lib._objc_msgSend_1109( - _lib._class_NSXMLDTD1, - _lib._sel_elementWithName_stringValue_1, - name.pointer, - string.pointer, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_1105(this.pointer, _sel_initWithKind_, kind); + return NSXMLDTD._(_ret, retain: true, release: true); + } + + static NSObject document() { + final _ret = _objc_msgSend_2(_class_NSXMLDTD, _sel_document); + return NSObject._(_ret, retain: true, release: true); + } + + static NSObject documentWithRootElement_(NSXMLElement element) { + final _ret = _objc_msgSend_1107( + _class_NSXMLDTD, _sel_documentWithRootElement_, element.pointer); + return NSObject._(_ret, retain: true, release: true); + } + + static NSObject elementWithName_(NSString name) { + final _ret = + _objc_msgSend_31(_class_NSXMLDTD, _sel_elementWithName_, name.pointer); + return NSObject._(_ret, retain: true, release: true); + } + + static NSObject elementWithName_URI_(NSString name, NSString URI) { + final _ret = _objc_msgSend_1108( + _class_NSXMLDTD, _sel_elementWithName_URI_, name.pointer, URI.pointer); + return NSObject._(_ret, retain: true, release: true); + } + + static NSObject elementWithName_stringValue_(NSString name, NSString string) { + final _ret = _objc_msgSend_1108(_class_NSXMLDTD, + _sel_elementWithName_stringValue_, name.pointer, string.pointer); + return NSObject._(_ret, retain: true, release: true); } static NSObject elementWithName_children_attributes_( - AVFAudio _lib, - NSString name, - NSArray? children, - NSArray? attributes, - ) { - final _ret = _lib._objc_msgSend_1110( - _lib._class_NSXMLDTD1, - _lib._sel_elementWithName_children_attributes_1, - name.pointer, - children?.pointer ?? ffi.nullptr, - attributes?.pointer ?? ffi.nullptr, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + NSString name, NSArray? children, NSArray? attributes) { + final _ret = _objc_msgSend_1109( + _class_NSXMLDTD, + _sel_elementWithName_children_attributes_, + name.pointer, + children?.pointer ?? ffi.nullptr, + attributes?.pointer ?? ffi.nullptr); + return NSObject._(_ret, retain: true, release: true); } static NSObject attributeWithName_stringValue_( - AVFAudio _lib, - NSString name, - NSString stringValue, - ) { - final _ret = _lib._objc_msgSend_1109( - _lib._class_NSXMLDTD1, - _lib._sel_attributeWithName_stringValue_1, - name.pointer, - stringValue.pointer, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + NSString name, NSString stringValue) { + final _ret = _objc_msgSend_1108(_class_NSXMLDTD, + _sel_attributeWithName_stringValue_, name.pointer, stringValue.pointer); + return NSObject._(_ret, retain: true, release: true); } static NSObject attributeWithName_URI_stringValue_( - AVFAudio _lib, - NSString name, - NSString URI, - NSString stringValue, - ) { - final _ret = _lib._objc_msgSend_1074( - _lib._class_NSXMLDTD1, - _lib._sel_attributeWithName_URI_stringValue_1, - name.pointer, - URI.pointer, - stringValue.pointer, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + NSString name, NSString URI, NSString stringValue) { + final _ret = _objc_msgSend_1074( + _class_NSXMLDTD, + _sel_attributeWithName_URI_stringValue_, + name.pointer, + URI.pointer, + stringValue.pointer); + return NSObject._(_ret, retain: true, release: true); } static NSObject namespaceWithName_stringValue_( - AVFAudio _lib, - NSString name, - NSString stringValue, - ) { - final _ret = _lib._objc_msgSend_1109( - _lib._class_NSXMLDTD1, - _lib._sel_namespaceWithName_stringValue_1, - name.pointer, - stringValue.pointer, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + NSString name, NSString stringValue) { + final _ret = _objc_msgSend_1108(_class_NSXMLDTD, + _sel_namespaceWithName_stringValue_, name.pointer, stringValue.pointer); + return NSObject._(_ret, retain: true, release: true); } static NSObject processingInstructionWithName_stringValue_( - AVFAudio _lib, - NSString name, - NSString stringValue, - ) { - final _ret = _lib._objc_msgSend_1109( - _lib._class_NSXMLDTD1, - _lib._sel_processingInstructionWithName_stringValue_1, - name.pointer, - stringValue.pointer, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + NSString name, NSString stringValue) { + final _ret = _objc_msgSend_1108( + _class_NSXMLDTD, + _sel_processingInstructionWithName_stringValue_, + name.pointer, + stringValue.pointer); + return NSObject._(_ret, retain: true, release: true); } - static NSObject commentWithStringValue_(AVFAudio _lib, NSString stringValue) { - final _ret = _lib._objc_msgSend_31( - _lib._class_NSXMLDTD1, - _lib._sel_commentWithStringValue_1, - stringValue.pointer, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + static NSObject commentWithStringValue_(NSString stringValue) { + final _ret = _objc_msgSend_31( + _class_NSXMLDTD, _sel_commentWithStringValue_, stringValue.pointer); + return NSObject._(_ret, retain: true, release: true); } - static NSObject textWithStringValue_(AVFAudio _lib, NSString stringValue) { - final _ret = _lib._objc_msgSend_31( - _lib._class_NSXMLDTD1, - _lib._sel_textWithStringValue_1, - stringValue.pointer, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + static NSObject textWithStringValue_(NSString stringValue) { + final _ret = _objc_msgSend_31( + _class_NSXMLDTD, _sel_textWithStringValue_, stringValue.pointer); + return NSObject._(_ret, retain: true, release: true); } - static NSObject? DTDNodeWithXMLString_(AVFAudio _lib, NSString string) { - final _ret = _lib._objc_msgSend_38( - _lib._class_NSXMLDTD1, - _lib._sel_DTDNodeWithXMLString_1, - string.pointer, - ); + static NSObject? DTDNodeWithXMLString_(NSString string) { + final _ret = _objc_msgSend_38( + _class_NSXMLDTD, _sel_DTDNodeWithXMLString_, string.pointer); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } - static NSString localNameForName_(AVFAudio _lib, NSString name) { - final _ret = _lib._objc_msgSend_69( - _lib._class_NSXMLDTD1, - _lib._sel_localNameForName_1, - name.pointer, - ); - return NSString._(_ret, _lib, retain: true, release: true); + static NSString localNameForName_(NSString name) { + final _ret = + _objc_msgSend_69(_class_NSXMLDTD, _sel_localNameForName_, name.pointer); + return NSString._(_ret, retain: true, release: true); } - static NSString? prefixForName_(AVFAudio _lib, NSString name) { - final _ret = _lib._objc_msgSend_186( - _lib._class_NSXMLDTD1, - _lib._sel_prefixForName_1, - name.pointer, - ); + static NSString? prefixForName_(NSString name) { + final _ret = + _objc_msgSend_186(_class_NSXMLDTD, _sel_prefixForName_, name.pointer); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } - static NSXMLNode? predefinedNamespaceForPrefix_( - AVFAudio _lib, - NSString name, - ) { - final _ret = _lib._objc_msgSend_1125( - _lib._class_NSXMLDTD1, - _lib._sel_predefinedNamespaceForPrefix_1, - name.pointer, - ); + static NSXMLNode? predefinedNamespaceForPrefix_(NSString name) { + final _ret = _objc_msgSend_1124( + _class_NSXMLDTD, _sel_predefinedNamespaceForPrefix_, name.pointer); return _ret.address == 0 ? null - : NSXMLNode._(_ret, _lib, retain: true, release: true); + : NSXMLNode._(_ret, retain: true, release: true); } - static NSXMLDTD new1(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2(_lib._class_NSXMLDTD1, _lib._sel_new1); - return NSXMLDTD._(_ret, _lib, retain: false, release: true); + static NSXMLDTD new1() { + final _ret = _objc_msgSend_2(_class_NSXMLDTD, _sel_new); + return NSXMLDTD._(_ret, retain: false, release: true); } - static NSXMLDTD allocWithZone_(AVFAudio _lib, ffi.Pointer<_NSZone> zone) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSXMLDTD1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSXMLDTD._(_ret, _lib, retain: false, release: true); + static NSXMLDTD allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = _objc_msgSend_3(_class_NSXMLDTD, _sel_allocWithZone_, zone); + return NSXMLDTD._(_ret, retain: false, release: true); } - static NSXMLDTD alloc(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2(_lib._class_NSXMLDTD1, _lib._sel_alloc1); - return NSXMLDTD._(_ret, _lib, retain: false, release: true); + static NSXMLDTD alloc() { + final _ret = _objc_msgSend_2(_class_NSXMLDTD, _sel_alloc); + return NSXMLDTD._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSXMLDTD1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSXMLDTD1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSXMLDTD1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSXMLDTD1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSXMLDTD1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSXMLDTD1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSXMLDTD, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); } - static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSXMLDTD1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSXMLDTD1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSXMLDTD1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSXMLDTD, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); } -} + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSXMLDTD, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSXMLDTD, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSXMLDTD, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSXMLDTD, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); + } + + static void setKeys_triggerChangeNotificationsForDependentKey_( + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSXMLDTD, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = + _objc_msgSend_85(_class_NSXMLDTD, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = _objc_msgSend_2(_class_NSXMLDTD, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); + } +} + +late final _class_NSXMLDTD = objc.getClass("NSXMLDTD"); +late final _sel_setPublicID_ = objc.registerName("setPublicID:"); +late final _sel_setSystemID_ = objc.registerName("setSystemID:"); +late final _sel_insertChild_atIndex_ = + objc.registerName("insertChild:atIndex:"); +final _objc_msgSend_1118 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer child, + ffi.UnsignedLong index)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int)>(); +late final _sel_insertChildren_atIndex_ = + objc.registerName("insertChildren:atIndex:"); +final _objc_msgSend_1119 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer children, + ffi.UnsignedLong index)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int)>(); +late final _sel_removeChildAtIndex_ = objc.registerName("removeChildAtIndex:"); +late final _sel_setChildren_ = objc.registerName("setChildren:"); +late final _sel_addChild_ = objc.registerName("addChild:"); +final _objc_msgSend_1120 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer child)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_replaceChildAtIndex_withNode_ = + objc.registerName("replaceChildAtIndex:withNode:"); +final _objc_msgSend_1121 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.UnsignedLong index, + ffi.Pointer node)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer)>(); class NSXMLDTDNode extends NSXMLNode { - NSXMLDTDNode._( - ffi.Pointer pointer, - AVFAudio lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSXMLDTDNode._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSXMLDTDNode] that points to the same underlying object as [other]. - static NSXMLDTDNode castFrom( - AVFAudio lib, - T other, - ) { - return NSXMLDTDNode._(other.pointer, lib, retain: true, release: true); + static NSXMLDTDNode castFrom(T other) { + return NSXMLDTDNode._(other.pointer, retain: true, release: true); } /// Returns a [NSXMLDTDNode] that wraps the given raw object pointer. - static NSXMLDTDNode castFromPointer( - AVFAudio lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSXMLDTDNode._(other, lib, retain: retain, release: release); + static NSXMLDTDNode castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSXMLDTDNode._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSXMLDTDNode]. - static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSXMLDTDNode1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0( + obj.pointer, _sel_isKindOfClass_, _class_NSXMLDTDNode); } NSXMLDTDNode? initWithXMLString_(NSString string) { - final _ret = _lib._objc_msgSend_38( - this.pointer, - _lib._sel_initWithXMLString_1, - string.pointer, - ); + final _ret = + _objc_msgSend_38(this.pointer, _sel_initWithXMLString_, string.pointer); return _ret.address == 0 ? null - : NSXMLDTDNode._(_ret, _lib, retain: true, release: true); + : NSXMLDTDNode._(_ret, retain: true, release: true); } @override NSXMLDTDNode initWithKind_options_(int kind, int options) { - final _ret = _lib._objc_msgSend_1107( - this.pointer, - _lib._sel_initWithKind_options_1, - kind, - options, - ); - return NSXMLDTDNode._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_1106( + this.pointer, _sel_initWithKind_options_, kind, options); + return NSXMLDTDNode._(_ret, retain: true, release: true); } @override NSXMLDTDNode init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSXMLDTDNode._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSXMLDTDNode._(_ret, retain: true, release: true); } int get DTDKind { - return _lib._objc_msgSend_1123(this.pointer, _lib._sel_DTDKind1); + return _objc_msgSend_1122(this.pointer, _sel_DTDKind); } set DTDKind(int value) { - return _lib._objc_msgSend_1124(this.pointer, _lib._sel_setDTDKind_1, value); + return _objc_msgSend_1123(this.pointer, _sel_setDTDKind_, value); } bool get external1 { - return _lib._objc_msgSend_12(this.pointer, _lib._sel_isExternal1); + return _objc_msgSend_12(this.pointer, _sel_isExternal); } NSString? get publicID { - final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_publicID1); + final _ret = _objc_msgSend_44(this.pointer, _sel_publicID); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } set publicID(NSString? value) { - return _lib._objc_msgSend_545( - this.pointer, - _lib._sel_setPublicID_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_545( + this.pointer, _sel_setPublicID_, value?.pointer ?? ffi.nullptr); } NSString? get systemID { - final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_systemID1); + final _ret = _objc_msgSend_44(this.pointer, _sel_systemID); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } set systemID(NSString? value) { - return _lib._objc_msgSend_545( - this.pointer, - _lib._sel_setSystemID_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_545( + this.pointer, _sel_setSystemID_, value?.pointer ?? ffi.nullptr); } NSString? get notationName { - final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_notationName1); + final _ret = _objc_msgSend_44(this.pointer, _sel_notationName); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } set notationName(NSString? value) { - return _lib._objc_msgSend_545( - this.pointer, - _lib._sel_setNotationName_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_545( + this.pointer, _sel_setNotationName_, value?.pointer ?? ffi.nullptr); } @override NSXMLDTDNode initWithKind_(int kind) { - final _ret = _lib._objc_msgSend_1106( - this.pointer, - _lib._sel_initWithKind_1, - kind, - ); - return NSXMLDTDNode._(_ret, _lib, retain: true, release: true); - } - - static NSObject document(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSXMLDTDNode1, - _lib._sel_document1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); - } - - static NSObject documentWithRootElement_( - AVFAudio _lib, - NSXMLElement element, - ) { - final _ret = _lib._objc_msgSend_1108( - _lib._class_NSXMLDTDNode1, - _lib._sel_documentWithRootElement_1, - element.pointer, - ); - return NSObject._(_ret, _lib, retain: true, release: true); - } - - static NSObject elementWithName_(AVFAudio _lib, NSString name) { - final _ret = _lib._objc_msgSend_31( - _lib._class_NSXMLDTDNode1, - _lib._sel_elementWithName_1, - name.pointer, - ); - return NSObject._(_ret, _lib, retain: true, release: true); - } - - static NSObject elementWithName_URI_( - AVFAudio _lib, - NSString name, - NSString URI, - ) { - final _ret = _lib._objc_msgSend_1109( - _lib._class_NSXMLDTDNode1, - _lib._sel_elementWithName_URI_1, - name.pointer, - URI.pointer, - ); - return NSObject._(_ret, _lib, retain: true, release: true); - } - - static NSObject elementWithName_stringValue_( - AVFAudio _lib, - NSString name, - NSString string, - ) { - final _ret = _lib._objc_msgSend_1109( - _lib._class_NSXMLDTDNode1, - _lib._sel_elementWithName_stringValue_1, - name.pointer, - string.pointer, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_1105(this.pointer, _sel_initWithKind_, kind); + return NSXMLDTDNode._(_ret, retain: true, release: true); + } + + static NSObject document() { + final _ret = _objc_msgSend_2(_class_NSXMLDTDNode, _sel_document); + return NSObject._(_ret, retain: true, release: true); + } + + static NSObject documentWithRootElement_(NSXMLElement element) { + final _ret = _objc_msgSend_1107( + _class_NSXMLDTDNode, _sel_documentWithRootElement_, element.pointer); + return NSObject._(_ret, retain: true, release: true); + } + + static NSObject elementWithName_(NSString name) { + final _ret = _objc_msgSend_31( + _class_NSXMLDTDNode, _sel_elementWithName_, name.pointer); + return NSObject._(_ret, retain: true, release: true); + } + + static NSObject elementWithName_URI_(NSString name, NSString URI) { + final _ret = _objc_msgSend_1108(_class_NSXMLDTDNode, + _sel_elementWithName_URI_, name.pointer, URI.pointer); + return NSObject._(_ret, retain: true, release: true); + } + + static NSObject elementWithName_stringValue_(NSString name, NSString string) { + final _ret = _objc_msgSend_1108(_class_NSXMLDTDNode, + _sel_elementWithName_stringValue_, name.pointer, string.pointer); + return NSObject._(_ret, retain: true, release: true); } static NSObject elementWithName_children_attributes_( - AVFAudio _lib, - NSString name, - NSArray? children, - NSArray? attributes, - ) { - final _ret = _lib._objc_msgSend_1110( - _lib._class_NSXMLDTDNode1, - _lib._sel_elementWithName_children_attributes_1, - name.pointer, - children?.pointer ?? ffi.nullptr, - attributes?.pointer ?? ffi.nullptr, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + NSString name, NSArray? children, NSArray? attributes) { + final _ret = _objc_msgSend_1109( + _class_NSXMLDTDNode, + _sel_elementWithName_children_attributes_, + name.pointer, + children?.pointer ?? ffi.nullptr, + attributes?.pointer ?? ffi.nullptr); + return NSObject._(_ret, retain: true, release: true); } static NSObject attributeWithName_stringValue_( - AVFAudio _lib, - NSString name, - NSString stringValue, - ) { - final _ret = _lib._objc_msgSend_1109( - _lib._class_NSXMLDTDNode1, - _lib._sel_attributeWithName_stringValue_1, - name.pointer, - stringValue.pointer, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + NSString name, NSString stringValue) { + final _ret = _objc_msgSend_1108(_class_NSXMLDTDNode, + _sel_attributeWithName_stringValue_, name.pointer, stringValue.pointer); + return NSObject._(_ret, retain: true, release: true); } static NSObject attributeWithName_URI_stringValue_( - AVFAudio _lib, - NSString name, - NSString URI, - NSString stringValue, - ) { - final _ret = _lib._objc_msgSend_1074( - _lib._class_NSXMLDTDNode1, - _lib._sel_attributeWithName_URI_stringValue_1, - name.pointer, - URI.pointer, - stringValue.pointer, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + NSString name, NSString URI, NSString stringValue) { + final _ret = _objc_msgSend_1074( + _class_NSXMLDTDNode, + _sel_attributeWithName_URI_stringValue_, + name.pointer, + URI.pointer, + stringValue.pointer); + return NSObject._(_ret, retain: true, release: true); } static NSObject namespaceWithName_stringValue_( - AVFAudio _lib, - NSString name, - NSString stringValue, - ) { - final _ret = _lib._objc_msgSend_1109( - _lib._class_NSXMLDTDNode1, - _lib._sel_namespaceWithName_stringValue_1, - name.pointer, - stringValue.pointer, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + NSString name, NSString stringValue) { + final _ret = _objc_msgSend_1108(_class_NSXMLDTDNode, + _sel_namespaceWithName_stringValue_, name.pointer, stringValue.pointer); + return NSObject._(_ret, retain: true, release: true); } static NSObject processingInstructionWithName_stringValue_( - AVFAudio _lib, - NSString name, - NSString stringValue, - ) { - final _ret = _lib._objc_msgSend_1109( - _lib._class_NSXMLDTDNode1, - _lib._sel_processingInstructionWithName_stringValue_1, - name.pointer, - stringValue.pointer, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + NSString name, NSString stringValue) { + final _ret = _objc_msgSend_1108( + _class_NSXMLDTDNode, + _sel_processingInstructionWithName_stringValue_, + name.pointer, + stringValue.pointer); + return NSObject._(_ret, retain: true, release: true); } - static NSObject commentWithStringValue_(AVFAudio _lib, NSString stringValue) { - final _ret = _lib._objc_msgSend_31( - _lib._class_NSXMLDTDNode1, - _lib._sel_commentWithStringValue_1, - stringValue.pointer, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + static NSObject commentWithStringValue_(NSString stringValue) { + final _ret = _objc_msgSend_31( + _class_NSXMLDTDNode, _sel_commentWithStringValue_, stringValue.pointer); + return NSObject._(_ret, retain: true, release: true); } - static NSObject textWithStringValue_(AVFAudio _lib, NSString stringValue) { - final _ret = _lib._objc_msgSend_31( - _lib._class_NSXMLDTDNode1, - _lib._sel_textWithStringValue_1, - stringValue.pointer, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + static NSObject textWithStringValue_(NSString stringValue) { + final _ret = _objc_msgSend_31( + _class_NSXMLDTDNode, _sel_textWithStringValue_, stringValue.pointer); + return NSObject._(_ret, retain: true, release: true); } - static NSObject? DTDNodeWithXMLString_(AVFAudio _lib, NSString string) { - final _ret = _lib._objc_msgSend_38( - _lib._class_NSXMLDTDNode1, - _lib._sel_DTDNodeWithXMLString_1, - string.pointer, - ); + static NSObject? DTDNodeWithXMLString_(NSString string) { + final _ret = _objc_msgSend_38( + _class_NSXMLDTDNode, _sel_DTDNodeWithXMLString_, string.pointer); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } - static NSString localNameForName_(AVFAudio _lib, NSString name) { - final _ret = _lib._objc_msgSend_69( - _lib._class_NSXMLDTDNode1, - _lib._sel_localNameForName_1, - name.pointer, - ); - return NSString._(_ret, _lib, retain: true, release: true); + static NSString localNameForName_(NSString name) { + final _ret = _objc_msgSend_69( + _class_NSXMLDTDNode, _sel_localNameForName_, name.pointer); + return NSString._(_ret, retain: true, release: true); } - static NSString? prefixForName_(AVFAudio _lib, NSString name) { - final _ret = _lib._objc_msgSend_186( - _lib._class_NSXMLDTDNode1, - _lib._sel_prefixForName_1, - name.pointer, - ); + static NSString? prefixForName_(NSString name) { + final _ret = _objc_msgSend_186( + _class_NSXMLDTDNode, _sel_prefixForName_, name.pointer); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } - static NSXMLNode? predefinedNamespaceForPrefix_( - AVFAudio _lib, - NSString name, - ) { - final _ret = _lib._objc_msgSend_1125( - _lib._class_NSXMLDTDNode1, - _lib._sel_predefinedNamespaceForPrefix_1, - name.pointer, - ); + static NSXMLNode? predefinedNamespaceForPrefix_(NSString name) { + final _ret = _objc_msgSend_1124( + _class_NSXMLDTDNode, _sel_predefinedNamespaceForPrefix_, name.pointer); return _ret.address == 0 ? null - : NSXMLNode._(_ret, _lib, retain: true, release: true); + : NSXMLNode._(_ret, retain: true, release: true); } - static NSXMLDTDNode new1(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSXMLDTDNode1, - _lib._sel_new1, - ); - return NSXMLDTDNode._(_ret, _lib, retain: false, release: true); + static NSXMLDTDNode new1() { + final _ret = _objc_msgSend_2(_class_NSXMLDTDNode, _sel_new); + return NSXMLDTDNode._(_ret, retain: false, release: true); } - static NSXMLDTDNode allocWithZone_(AVFAudio _lib, ffi.Pointer<_NSZone> zone) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSXMLDTDNode1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSXMLDTDNode._(_ret, _lib, retain: false, release: true); + static NSXMLDTDNode allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = + _objc_msgSend_3(_class_NSXMLDTDNode, _sel_allocWithZone_, zone); + return NSXMLDTDNode._(_ret, retain: false, release: true); } - static NSXMLDTDNode alloc(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSXMLDTDNode1, - _lib._sel_alloc1, - ); - return NSXMLDTDNode._(_ret, _lib, retain: false, release: true); + static NSXMLDTDNode alloc() { + final _ret = _objc_msgSend_2(_class_NSXMLDTDNode, _sel_alloc); + return NSXMLDTDNode._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSXMLDTDNode1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSXMLDTDNode1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSXMLDTDNode1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSXMLDTDNode1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSXMLDTDNode1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSXMLDTDNode1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSXMLDTDNode, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); + } + + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSXMLDTDNode, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); + } + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSXMLDTDNode, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSXMLDTDNode, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSXMLDTDNode, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSXMLDTDNode, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); } static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSXMLDTDNode1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSXMLDTDNode1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSXMLDTDNode1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSXMLDTDNode, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = _objc_msgSend_85( + _class_NSXMLDTDNode, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = + _objc_msgSend_2(_class_NSXMLDTDNode, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); } } +late final _class_NSXMLDTDNode = objc.getClass("NSXMLDTDNode"); +late final _sel_initWithXMLString_ = objc.registerName("initWithXMLString:"); + abstract class NSXMLDTDNodeKind { static const int NSXMLEntityGeneralKind = 1; static const int NSXMLEntityParsedKind = 2; @@ -95331,853 +59048,899 @@ abstract class NSXMLDTDNodeKind { static const int NSXMLElementDeclarationElementKind = 20; } +late final _sel_DTDKind = objc.registerName("DTDKind"); +final _objc_msgSend_1122 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + int Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_setDTDKind_ = objc.registerName("setDTDKind:"); +final _objc_msgSend_1123 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer obj, + ffi.Pointer sel, ffi.Int32 value)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, int)>(); +late final _sel_isExternal = objc.registerName("isExternal"); +late final _sel_notationName = objc.registerName("notationName"); +late final _sel_setNotationName_ = objc.registerName("setNotationName:"); +late final _sel_localNameForName_ = objc.registerName("localNameForName:"); +late final _sel_prefixForName_ = objc.registerName("prefixForName:"); +late final _sel_predefinedNamespaceForPrefix_ = + objc.registerName("predefinedNamespaceForPrefix:"); +final _objc_msgSend_1124 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer name)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_entityDeclarationForName_ = + objc.registerName("entityDeclarationForName:"); +final _objc_msgSend_1125 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer name)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_notationDeclarationForName_ = + objc.registerName("notationDeclarationForName:"); +late final _sel_elementDeclarationForName_ = + objc.registerName("elementDeclarationForName:"); +late final _sel_attributeDeclarationForName_elementName_ = + objc.registerName("attributeDeclarationForName:elementName:"); +final _objc_msgSend_1126 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer name, + ffi.Pointer elementName)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_predefinedEntityDeclarationForName_ = + objc.registerName("predefinedEntityDeclarationForName:"); +late final _sel_DTD = objc.registerName("DTD"); +final _objc_msgSend_1127 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_setDTD_ = objc.registerName("setDTD:"); +final _objc_msgSend_1128 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_setRootElement_ = objc.registerName("setRootElement:"); +final _objc_msgSend_1129 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer root)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_rootElement = objc.registerName("rootElement"); +final _objc_msgSend_1130 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_XMLData = objc.registerName("XMLData"); +late final _sel_XMLDataWithOptions_ = objc.registerName("XMLDataWithOptions:"); +final _objc_msgSend_1131 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Int32 options)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, int)>(); +late final _sel_objectByApplyingXSLT_arguments_error_ = + objc.registerName("objectByApplyingXSLT:arguments:error:"); +final _objc_msgSend_1132 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer xslt, + ffi.Pointer arguments, + ffi.Pointer> error)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>(); +late final _sel_objectByApplyingXSLTString_arguments_error_ = + objc.registerName("objectByApplyingXSLTString:arguments:error:"); +final _objc_msgSend_1133 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer xslt, + ffi.Pointer arguments, + ffi.Pointer> error)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>(); +late final _sel_objectByApplyingXSLTAtURL_arguments_error_ = + objc.registerName("objectByApplyingXSLTAtURL:arguments:error:"); +final _objc_msgSend_1134 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer xsltURL, + ffi.Pointer argument, + ffi.Pointer> error)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>(); +late final _sel_validateAndReturnError_ = + objc.registerName("validateAndReturnError:"); +late final _sel_rootDocument = objc.registerName("rootDocument"); +final _objc_msgSend_1135 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_parent = objc.registerName("parent"); +final _objc_msgSend_1136 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_childCount = objc.registerName("childCount"); +late final _sel_children = objc.registerName("children"); +late final _sel_childAtIndex_ = objc.registerName("childAtIndex:"); +final _objc_msgSend_1137 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.UnsignedLong index)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, int)>(); +late final _sel_previousSibling = objc.registerName("previousSibling"); +late final _sel_nextSibling = objc.registerName("nextSibling"); +late final _sel_previousNode = objc.registerName("previousNode"); +late final _sel_nextNode = objc.registerName("nextNode"); +late final _sel_detach = objc.registerName("detach"); +late final _sel_XPath = objc.registerName("XPath"); +late final _sel_localName = objc.registerName("localName"); +late final _sel_prefix = objc.registerName("prefix"); +late final _sel_URI = objc.registerName("URI"); +late final _sel_setURI_ = objc.registerName("setURI:"); +late final _sel_XMLString = objc.registerName("XMLString"); +late final _sel_XMLStringWithOptions_ = + objc.registerName("XMLStringWithOptions:"); +final _objc_msgSend_1138 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Int32 options)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, int)>(); +late final _sel_canonicalXMLStringPreservingComments_ = + objc.registerName("canonicalXMLStringPreservingComments:"); +final _objc_msgSend_1139 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Bool comments)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, bool)>(); +late final _sel_nodesForXPath_error_ = + objc.registerName("nodesForXPath:error:"); +late final _sel_objectsForXQuery_constants_error_ = + objc.registerName("objectsForXQuery:constants:error:"); +final _objc_msgSend_1140 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer xquery, + ffi.Pointer constants, + ffi.Pointer> error)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>(); +late final _sel_objectsForXQuery_error_ = + objc.registerName("objectsForXQuery:error:"); +late final _sel_initWithName_URI_ = objc.registerName("initWithName:URI:"); +final _objc_msgSend_1141 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer name, + ffi.Pointer URI)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_initWithName_stringValue_ = + objc.registerName("initWithName:stringValue:"); +late final _sel_initWithXMLString_error_ = + objc.registerName("initWithXMLString:error:"); +late final _sel_elementsForName_ = objc.registerName("elementsForName:"); +late final _sel_elementsForLocalName_URI_ = + objc.registerName("elementsForLocalName:URI:"); +final _objc_msgSend_1142 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer localName, + ffi.Pointer URI)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_addAttribute_ = objc.registerName("addAttribute:"); +late final _sel_removeAttributeForName_ = + objc.registerName("removeAttributeForName:"); +late final _sel_attributes = objc.registerName("attributes"); +late final _sel_setAttributes_ = objc.registerName("setAttributes:"); +late final _sel_setAttributesWithDictionary_ = + objc.registerName("setAttributesWithDictionary:"); +late final _sel_attributeForName_ = objc.registerName("attributeForName:"); +late final _sel_attributeForLocalName_URI_ = + objc.registerName("attributeForLocalName:URI:"); +final _objc_msgSend_1143 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer localName, + ffi.Pointer URI)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_addNamespace_ = objc.registerName("addNamespace:"); +late final _sel_removeNamespaceForPrefix_ = + objc.registerName("removeNamespaceForPrefix:"); +late final _sel_namespaces = objc.registerName("namespaces"); +late final _sel_setNamespaces_ = objc.registerName("setNamespaces:"); +late final _sel_namespaceForPrefix_ = objc.registerName("namespaceForPrefix:"); +late final _sel_resolveNamespaceForName_ = + objc.registerName("resolveNamespaceForName:"); +late final _sel_resolvePrefixForNamespaceURI_ = + objc.registerName("resolvePrefixForNamespaceURI:"); +late final _sel_normalizeAdjacentTextNodesPreservingCDATA_ = + objc.registerName("normalizeAdjacentTextNodesPreservingCDATA:"); +late final _sel_setAttributesAsDictionary_ = + objc.registerName("setAttributesAsDictionary:"); + class AVAudioSession extends NSObject { - AVAudioSession._( - ffi.Pointer pointer, - AVFAudio lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + AVAudioSession._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [AVAudioSession] that points to the same underlying object as [other]. - static AVAudioSession castFrom( - AVFAudio lib, - T other, - ) { - return AVAudioSession._(other.pointer, lib, retain: true, release: true); + static AVAudioSession castFrom(T other) { + return AVAudioSession._(other.pointer, retain: true, release: true); } /// Returns a [AVAudioSession] that wraps the given raw object pointer. - static AVAudioSession castFromPointer( - AVFAudio lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return AVAudioSession._(other, lib, retain: retain, release: release); + static AVAudioSession castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return AVAudioSession._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [AVAudioSession]. - static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_AVAudioSession1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0( + obj.pointer, _sel_isKindOfClass_, _class_AVAudioSession); } - static AVAudioSession sharedInstance(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_1145( - _lib._class_AVAudioSession1, - _lib._sel_sharedInstance1, - ); - return AVAudioSession._(_ret, _lib, retain: true, release: true); + static AVAudioSession sharedInstance() { + final _ret = _objc_msgSend_1144(_class_AVAudioSession, _sel_sharedInstance); + return AVAudioSession._(_ret, retain: true, release: true); } NSArray get availableCategories { - final _ret = _lib._objc_msgSend_85( - this.pointer, - _lib._sel_availableCategories1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_85(this.pointer, _sel_availableCategories); + return NSArray._(_ret, retain: true, release: true); } bool setCategory_error_( - NSString category, - ffi.Pointer> outError, - ) { - return _lib._objc_msgSend_447( - this.pointer, - _lib._sel_setCategory_error_1, - category.pointer, - outError, - ); - } - - bool setCategory_withOptions_error_( - NSString category, - int options, - ffi.Pointer> outError, - ) { - return _lib._objc_msgSend_1146( - this.pointer, - _lib._sel_setCategory_withOptions_error_1, - category.pointer, - options, - outError, - ); - } - - bool setCategory_mode_options_error_( - NSString category, - NSString mode, - int options, - ffi.Pointer> outError, - ) { - return _lib._objc_msgSend_1147( - this.pointer, - _lib._sel_setCategory_mode_options_error_1, - category.pointer, - mode.pointer, - options, - outError, - ); + NSString category, ffi.Pointer> outError) { + return _objc_msgSend_447( + this.pointer, _sel_setCategory_error_, category.pointer, outError); + } + + bool setCategory_withOptions_error_(NSString category, int options, + ffi.Pointer> outError) { + return _objc_msgSend_1145(this.pointer, _sel_setCategory_withOptions_error_, + category.pointer, options, outError); + } + + bool setCategory_mode_options_error_(NSString category, NSString mode, + int options, ffi.Pointer> outError) { + return _objc_msgSend_1146( + this.pointer, + _sel_setCategory_mode_options_error_, + category.pointer, + mode.pointer, + options, + outError); } bool setCategory_mode_routeSharingPolicy_options_error_( - NSString category, - NSString mode, - int policy, - int options, - ffi.Pointer> outError, - ) { - return _lib._objc_msgSend_1148( - this.pointer, - _lib._sel_setCategory_mode_routeSharingPolicy_options_error_1, - category.pointer, - mode.pointer, - policy, - options, - outError, - ); + NSString category, + NSString mode, + int policy, + int options, + ffi.Pointer> outError) { + return _objc_msgSend_1147( + this.pointer, + _sel_setCategory_mode_routeSharingPolicy_options_error_, + category.pointer, + mode.pointer, + policy, + options, + outError); } NSString get category { - final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_category1); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_category); + return NSString._(_ret, retain: true, release: true); } int get categoryOptions { - return _lib._objc_msgSend_1149(this.pointer, _lib._sel_categoryOptions1); + return _objc_msgSend_1148(this.pointer, _sel_categoryOptions); } int get routeSharingPolicy { - return _lib._objc_msgSend_1150(this.pointer, _lib._sel_routeSharingPolicy1); + return _objc_msgSend_1149(this.pointer, _sel_routeSharingPolicy); } NSArray get availableModes { - final _ret = _lib._objc_msgSend_85(this.pointer, _lib._sel_availableModes1); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_85(this.pointer, _sel_availableModes); + return NSArray._(_ret, retain: true, release: true); } bool setMode_error_( - NSString mode, - ffi.Pointer> outError, - ) { - return _lib._objc_msgSend_447( - this.pointer, - _lib._sel_setMode_error_1, - mode.pointer, - outError, - ); + NSString mode, ffi.Pointer> outError) { + return _objc_msgSend_447( + this.pointer, _sel_setMode_error_, mode.pointer, outError); } NSString get mode { - final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_mode1); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_mode); + return NSString._(_ret, retain: true, release: true); } bool setAllowHapticsAndSystemSoundsDuringRecording_error_( - bool inValue, - ffi.Pointer> outError, - ) { - return _lib._objc_msgSend_1151( - this.pointer, - _lib._sel_setAllowHapticsAndSystemSoundsDuringRecording_error_1, - inValue, - outError, - ); + bool inValue, ffi.Pointer> outError) { + return _objc_msgSend_1150( + this.pointer, + _sel_setAllowHapticsAndSystemSoundsDuringRecording_error_, + inValue, + outError); } bool get allowHapticsAndSystemSoundsDuringRecording { - return _lib._objc_msgSend_12( - this.pointer, - _lib._sel_allowHapticsAndSystemSoundsDuringRecording1, - ); + return _objc_msgSend_12( + this.pointer, _sel_allowHapticsAndSystemSoundsDuringRecording); } int get recordPermission { - return _lib._objc_msgSend_1152(this.pointer, _lib._sel_recordPermission1); + return _objc_msgSend_1151(this.pointer, _sel_recordPermission); } void requestRecordPermission_(ObjCBlock_ffiVoid_bool response) { - _lib._objc_msgSend_1153( - this.pointer, - _lib._sel_requestRecordPermission_1, - response.pointer, - ); + _objc_msgSend_1152( + this.pointer, _sel_requestRecordPermission_, response.pointer); } bool overrideOutputAudioPort_error_( - int portOverride, - ffi.Pointer> outError, - ) { - return _lib._objc_msgSend_1154( - this.pointer, - _lib._sel_overrideOutputAudioPort_error_1, - portOverride, - outError, - ); - } - - bool setPreferredInput_error_( - AVAudioSessionPortDescription? inPort, - ffi.Pointer> outError, - ) { - return _lib._objc_msgSend_1158( - this.pointer, - _lib._sel_setPreferredInput_error_1, - inPort?.pointer ?? ffi.nullptr, - outError, - ); + int portOverride, ffi.Pointer> outError) { + return _objc_msgSend_1153(this.pointer, _sel_overrideOutputAudioPort_error_, + portOverride, outError); + } + + bool setPreferredInput_error_(AVAudioSessionPortDescription? inPort, + ffi.Pointer> outError) { + return _objc_msgSend_1157(this.pointer, _sel_setPreferredInput_error_, + inPort?.pointer ?? ffi.nullptr, outError); } AVAudioSessionPortDescription? get preferredInput { - final _ret = _lib._objc_msgSend_1159( - this.pointer, - _lib._sel_preferredInput1, - ); + final _ret = _objc_msgSend_1158(this.pointer, _sel_preferredInput); return _ret.address == 0 ? null - : AVAudioSessionPortDescription._( - _ret, - _lib, - retain: true, - release: true, - ); + : AVAudioSessionPortDescription._(_ret, retain: true, release: true); } bool setPrefersNoInterruptionsFromSystemAlerts_error_( - bool inValue, - ffi.Pointer> outError, - ) { - return _lib._objc_msgSend_1151( - this.pointer, - _lib._sel_setPrefersNoInterruptionsFromSystemAlerts_error_1, - inValue, - outError, - ); + bool inValue, ffi.Pointer> outError) { + return _objc_msgSend_1150( + this.pointer, + _sel_setPrefersNoInterruptionsFromSystemAlerts_error_, + inValue, + outError); } bool get prefersNoInterruptionsFromSystemAlerts { - return _lib._objc_msgSend_12( - this.pointer, - _lib._sel_prefersNoInterruptionsFromSystemAlerts1, - ); + return _objc_msgSend_12( + this.pointer, _sel_prefersNoInterruptionsFromSystemAlerts); } int get renderingMode { - return _lib._objc_msgSend_1160(this.pointer, _lib._sel_renderingMode1); + return _objc_msgSend_1159(this.pointer, _sel_renderingMode); + } + + bool setActive_error_( + bool active, ffi.Pointer> outError) { + return _objc_msgSend_1150( + this.pointer, _sel_setActive_error_, active, outError); } - bool setActive_error_( - bool active, - ffi.Pointer> outError, - ) { - return _lib._objc_msgSend_1151( - this.pointer, - _lib._sel_setActive_error_1, - active, - outError, - ); - } - - bool setActive_withOptions_error_( - bool active, - int options, - ffi.Pointer> outError, - ) { - return _lib._objc_msgSend_1161( - this.pointer, - _lib._sel_setActive_withOptions_error_1, - active, - options, - outError, - ); + bool setActive_withOptions_error_(bool active, int options, + ffi.Pointer> outError) { + return _objc_msgSend_1160(this.pointer, _sel_setActive_withOptions_error_, + active, options, outError); } void activateWithOptions_completionHandler_( - int options, - ObjCBlock_ffiVoid_bool_NSError handler, - ) { - _lib._objc_msgSend_1162( - this.pointer, - _lib._sel_activateWithOptions_completionHandler_1, - options, - handler.pointer, - ); + int options, ObjCBlock_ffiVoid_bool_NSError handler) { + _objc_msgSend_1161(this.pointer, + _sel_activateWithOptions_completionHandler_, options, handler.pointer); } bool setPreferredSampleRate_error_( - double sampleRate, - ffi.Pointer> outError, - ) { - return _lib._objc_msgSend_1163( - this.pointer, - _lib._sel_setPreferredSampleRate_error_1, - sampleRate, - outError, - ); + double sampleRate, ffi.Pointer> outError) { + return _objc_msgSend_1162( + this.pointer, _sel_setPreferredSampleRate_error_, sampleRate, outError); } double get preferredSampleRate { return objc.useMsgSendVariants - ? _lib._objc_msgSend_165_fpret( - this.pointer, - _lib._sel_preferredSampleRate1, - ) - : _lib._objc_msgSend_165(this.pointer, _lib._sel_preferredSampleRate1); + ? _objc_msgSend_165Fpret(this.pointer, _sel_preferredSampleRate) + : _objc_msgSend_165(this.pointer, _sel_preferredSampleRate); } bool setPreferredIOBufferDuration_error_( - double duration, - ffi.Pointer> outError, - ) { - return _lib._objc_msgSend_1163( - this.pointer, - _lib._sel_setPreferredIOBufferDuration_error_1, - duration, - outError, - ); + double duration, ffi.Pointer> outError) { + return _objc_msgSend_1162(this.pointer, + _sel_setPreferredIOBufferDuration_error_, duration, outError); } double get preferredIOBufferDuration { return objc.useMsgSendVariants - ? _lib._objc_msgSend_165_fpret( - this.pointer, - _lib._sel_preferredIOBufferDuration1, - ) - : _lib._objc_msgSend_165( - this.pointer, - _lib._sel_preferredIOBufferDuration1, - ); + ? _objc_msgSend_165Fpret(this.pointer, _sel_preferredIOBufferDuration) + : _objc_msgSend_165(this.pointer, _sel_preferredIOBufferDuration); } bool setPreferredInputNumberOfChannels_error_( - int count, - ffi.Pointer> outError, - ) { - return _lib._objc_msgSend_1164( - this.pointer, - _lib._sel_setPreferredInputNumberOfChannels_error_1, - count, - outError, - ); + int count, ffi.Pointer> outError) { + return _objc_msgSend_1163(this.pointer, + _sel_setPreferredInputNumberOfChannels_error_, count, outError); } int get preferredInputNumberOfChannels { - return _lib._objc_msgSend_83( - this.pointer, - _lib._sel_preferredInputNumberOfChannels1, - ); + return _objc_msgSend_83(this.pointer, _sel_preferredInputNumberOfChannels); } bool setPreferredOutputNumberOfChannels_error_( - int count, - ffi.Pointer> outError, - ) { - return _lib._objc_msgSend_1164( - this.pointer, - _lib._sel_setPreferredOutputNumberOfChannels_error_1, - count, - outError, - ); + int count, ffi.Pointer> outError) { + return _objc_msgSend_1163(this.pointer, + _sel_setPreferredOutputNumberOfChannels_error_, count, outError); } int get preferredOutputNumberOfChannels { - return _lib._objc_msgSend_83( - this.pointer, - _lib._sel_preferredOutputNumberOfChannels1, - ); + return _objc_msgSend_83(this.pointer, _sel_preferredOutputNumberOfChannels); } bool setPreferredInputOrientation_error_( - int orientation, - ffi.Pointer> outError, - ) { - return _lib._objc_msgSend_1165( - this.pointer, - _lib._sel_setPreferredInputOrientation_error_1, - orientation, - outError, - ); + int orientation, ffi.Pointer> outError) { + return _objc_msgSend_1164(this.pointer, + _sel_setPreferredInputOrientation_error_, orientation, outError); } int get preferredInputOrientation { - return _lib._objc_msgSend_1166( - this.pointer, - _lib._sel_preferredInputOrientation1, - ); + return _objc_msgSend_1165(this.pointer, _sel_preferredInputOrientation); } int get inputOrientation { - return _lib._objc_msgSend_1166(this.pointer, _lib._sel_inputOrientation1); + return _objc_msgSend_1165(this.pointer, _sel_inputOrientation); } int get maximumInputNumberOfChannels { - return _lib._objc_msgSend_83( - this.pointer, - _lib._sel_maximumInputNumberOfChannels1, - ); + return _objc_msgSend_83(this.pointer, _sel_maximumInputNumberOfChannels); } int get maximumOutputNumberOfChannels { - return _lib._objc_msgSend_83( - this.pointer, - _lib._sel_maximumOutputNumberOfChannels1, - ); + return _objc_msgSend_83(this.pointer, _sel_maximumOutputNumberOfChannels); } bool setInputGain_error_( - double gain, - ffi.Pointer> outError, - ) { - return _lib._objc_msgSend_1167( - this.pointer, - _lib._sel_setInputGain_error_1, - gain, - outError, - ); + double gain, ffi.Pointer> outError) { + return _objc_msgSend_1166( + this.pointer, _sel_setInputGain_error_, gain, outError); } double get inputGain { return objc.useMsgSendVariants - ? _lib._objc_msgSend_239_fpret(this.pointer, _lib._sel_inputGain1) - : _lib._objc_msgSend_239(this.pointer, _lib._sel_inputGain1); + ? _objc_msgSend_239Fpret(this.pointer, _sel_inputGain) + : _objc_msgSend_239(this.pointer, _sel_inputGain); } bool get inputGainSettable { - return _lib._objc_msgSend_12(this.pointer, _lib._sel_isInputGainSettable1); + return _objc_msgSend_12(this.pointer, _sel_isInputGainSettable); } bool get inputAvailable { - return _lib._objc_msgSend_12(this.pointer, _lib._sel_isInputAvailable1); + return _objc_msgSend_12(this.pointer, _sel_isInputAvailable); } NSArray? get inputDataSources { - final _ret = _lib._objc_msgSend_84( - this.pointer, - _lib._sel_inputDataSources1, - ); + final _ret = _objc_msgSend_84(this.pointer, _sel_inputDataSources); return _ret.address == 0 ? null - : NSArray._(_ret, _lib, retain: true, release: true); + : NSArray._(_ret, retain: true, release: true); } AVAudioSessionDataSourceDescription? get inputDataSource { - final _ret = _lib._objc_msgSend_1156( - this.pointer, - _lib._sel_inputDataSource1, - ); + final _ret = _objc_msgSend_1155(this.pointer, _sel_inputDataSource); return _ret.address == 0 ? null - : AVAudioSessionDataSourceDescription._( - _ret, - _lib, - retain: true, - release: true, - ); + : AVAudioSessionDataSourceDescription._(_ret, + retain: true, release: true); } bool setInputDataSource_error_( - AVAudioSessionDataSourceDescription? dataSource, - ffi.Pointer> outError, - ) { - return _lib._objc_msgSend_1157( - this.pointer, - _lib._sel_setInputDataSource_error_1, - dataSource?.pointer ?? ffi.nullptr, - outError, - ); + AVAudioSessionDataSourceDescription? dataSource, + ffi.Pointer> outError) { + return _objc_msgSend_1156(this.pointer, _sel_setInputDataSource_error_, + dataSource?.pointer ?? ffi.nullptr, outError); } NSArray? get outputDataSources { - final _ret = _lib._objc_msgSend_84( - this.pointer, - _lib._sel_outputDataSources1, - ); + final _ret = _objc_msgSend_84(this.pointer, _sel_outputDataSources); return _ret.address == 0 ? null - : NSArray._(_ret, _lib, retain: true, release: true); + : NSArray._(_ret, retain: true, release: true); } AVAudioSessionDataSourceDescription? get outputDataSource { - final _ret = _lib._objc_msgSend_1156( - this.pointer, - _lib._sel_outputDataSource1, - ); + final _ret = _objc_msgSend_1155(this.pointer, _sel_outputDataSource); return _ret.address == 0 ? null - : AVAudioSessionDataSourceDescription._( - _ret, - _lib, - retain: true, - release: true, - ); + : AVAudioSessionDataSourceDescription._(_ret, + retain: true, release: true); } bool setOutputDataSource_error_( - AVAudioSessionDataSourceDescription? dataSource, - ffi.Pointer> outError, - ) { - return _lib._objc_msgSend_1157( - this.pointer, - _lib._sel_setOutputDataSource_error_1, - dataSource?.pointer ?? ffi.nullptr, - outError, - ); + AVAudioSessionDataSourceDescription? dataSource, + ffi.Pointer> outError) { + return _objc_msgSend_1156(this.pointer, _sel_setOutputDataSource_error_, + dataSource?.pointer ?? ffi.nullptr, outError); } double get sampleRate { return objc.useMsgSendVariants - ? _lib._objc_msgSend_165_fpret(this.pointer, _lib._sel_sampleRate1) - : _lib._objc_msgSend_165(this.pointer, _lib._sel_sampleRate1); + ? _objc_msgSend_165Fpret(this.pointer, _sel_sampleRate) + : _objc_msgSend_165(this.pointer, _sel_sampleRate); } int get inputNumberOfChannels { - return _lib._objc_msgSend_83( - this.pointer, - _lib._sel_inputNumberOfChannels1, - ); + return _objc_msgSend_83(this.pointer, _sel_inputNumberOfChannels); } int get outputNumberOfChannels { - return _lib._objc_msgSend_83( - this.pointer, - _lib._sel_outputNumberOfChannels1, - ); + return _objc_msgSend_83(this.pointer, _sel_outputNumberOfChannels); } double get inputLatency { return objc.useMsgSendVariants - ? _lib._objc_msgSend_165_fpret(this.pointer, _lib._sel_inputLatency1) - : _lib._objc_msgSend_165(this.pointer, _lib._sel_inputLatency1); + ? _objc_msgSend_165Fpret(this.pointer, _sel_inputLatency) + : _objc_msgSend_165(this.pointer, _sel_inputLatency); } double get outputLatency { return objc.useMsgSendVariants - ? _lib._objc_msgSend_165_fpret(this.pointer, _lib._sel_outputLatency1) - : _lib._objc_msgSend_165(this.pointer, _lib._sel_outputLatency1); + ? _objc_msgSend_165Fpret(this.pointer, _sel_outputLatency) + : _objc_msgSend_165(this.pointer, _sel_outputLatency); } double get IOBufferDuration { return objc.useMsgSendVariants - ? _lib._objc_msgSend_165_fpret( - this.pointer, - _lib._sel_IOBufferDuration1, - ) - : _lib._objc_msgSend_165(this.pointer, _lib._sel_IOBufferDuration1); + ? _objc_msgSend_165Fpret(this.pointer, _sel_IOBufferDuration) + : _objc_msgSend_165(this.pointer, _sel_IOBufferDuration); } NSArray get supportedOutputChannelLayouts { - final _ret = _lib._objc_msgSend_85( - this.pointer, - _lib._sel_supportedOutputChannelLayouts1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_85(this.pointer, _sel_supportedOutputChannelLayouts); + return NSArray._(_ret, retain: true, release: true); } bool get otherAudioPlaying { - return _lib._objc_msgSend_12(this.pointer, _lib._sel_isOtherAudioPlaying1); + return _objc_msgSend_12(this.pointer, _sel_isOtherAudioPlaying); } bool get secondaryAudioShouldBeSilencedHint { - return _lib._objc_msgSend_12( - this.pointer, - _lib._sel_secondaryAudioShouldBeSilencedHint1, - ); + return _objc_msgSend_12( + this.pointer, _sel_secondaryAudioShouldBeSilencedHint); } double get outputVolume { return objc.useMsgSendVariants - ? _lib._objc_msgSend_239_fpret(this.pointer, _lib._sel_outputVolume1) - : _lib._objc_msgSend_239(this.pointer, _lib._sel_outputVolume1); + ? _objc_msgSend_239Fpret(this.pointer, _sel_outputVolume) + : _objc_msgSend_239(this.pointer, _sel_outputVolume); } int get promptStyle { - return _lib._objc_msgSend_1168(this.pointer, _lib._sel_promptStyle1); + return _objc_msgSend_1167(this.pointer, _sel_promptStyle); } NSArray? get availableInputs { - final _ret = _lib._objc_msgSend_84( - this.pointer, - _lib._sel_availableInputs1, - ); + final _ret = _objc_msgSend_84(this.pointer, _sel_availableInputs); return _ret.address == 0 ? null - : NSArray._(_ret, _lib, retain: true, release: true); + : NSArray._(_ret, retain: true, release: true); } AVAudioSessionRouteDescription get currentRoute { - final _ret = _lib._objc_msgSend_1169(this.pointer, _lib._sel_currentRoute1); - return AVAudioSessionRouteDescription._( - _ret, - _lib, - retain: true, - release: true, - ); + final _ret = _objc_msgSend_1168(this.pointer, _sel_currentRoute); + return AVAudioSessionRouteDescription._(_ret, retain: true, release: true); } bool setAggregatedIOPreference_error_( - int inIOType, - ffi.Pointer> outError, - ) { - return _lib._objc_msgSend_1170( - this.pointer, - _lib._sel_setAggregatedIOPreference_error_1, - inIOType, - outError, - ); + int inIOType, ffi.Pointer> outError) { + return _objc_msgSend_1169(this.pointer, + _sel_setAggregatedIOPreference_error_, inIOType, outError); } bool setSupportsMultichannelContent_error_( - bool inValue, - ffi.Pointer> outError, - ) { - return _lib._objc_msgSend_1151( - this.pointer, - _lib._sel_setSupportsMultichannelContent_error_1, - inValue, - outError, - ); + bool inValue, ffi.Pointer> outError) { + return _objc_msgSend_1150(this.pointer, + _sel_setSupportsMultichannelContent_error_, inValue, outError); } bool get supportsMultichannelContent { - return _lib._objc_msgSend_12( - this.pointer, - _lib._sel_supportsMultichannelContent1, - ); + return _objc_msgSend_12(this.pointer, _sel_supportsMultichannelContent); } bool setPrefersInterruptionOnRouteDisconnect_error_( - bool inValue, - ffi.Pointer> outError, - ) { - return _lib._objc_msgSend_1151( - this.pointer, - _lib._sel_setPrefersInterruptionOnRouteDisconnect_error_1, - inValue, - outError, - ); + bool inValue, ffi.Pointer> outError) { + return _objc_msgSend_1150(this.pointer, + _sel_setPrefersInterruptionOnRouteDisconnect_error_, inValue, outError); } bool get prefersInterruptionOnRouteDisconnect { - return _lib._objc_msgSend_12( - this.pointer, - _lib._sel_prefersInterruptionOnRouteDisconnect1, - ); + return _objc_msgSend_12( + this.pointer, _sel_prefersInterruptionOnRouteDisconnect); } NSObject? get delegate { - final _ret = _lib._objc_msgSend_17(this.pointer, _lib._sel_delegate1); + final _ret = _objc_msgSend_17(this.pointer, _sel_delegate); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } set delegate(NSObject? value) { - return _lib._objc_msgSend_416( - this.pointer, - _lib._sel_setDelegate_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_416( + this.pointer, _sel_setDelegate_, value?.pointer ?? ffi.nullptr); } @override AVAudioSession init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return AVAudioSession._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return AVAudioSession._(_ret, retain: true, release: true); } - bool setActive_withFlags_error_( - bool active, - int flags, - ffi.Pointer> outError, - ) { - return _lib._objc_msgSend_1171( - this.pointer, - _lib._sel_setActive_withFlags_error_1, - active, - flags, - outError, - ); + bool setActive_withFlags_error_(bool active, int flags, + ffi.Pointer> outError) { + return _objc_msgSend_1170( + this.pointer, _sel_setActive_withFlags_error_, active, flags, outError); } bool get inputIsAvailable { - return _lib._objc_msgSend_12(this.pointer, _lib._sel_inputIsAvailable1); + return _objc_msgSend_12(this.pointer, _sel_inputIsAvailable); } double get currentHardwareSampleRate { return objc.useMsgSendVariants - ? _lib._objc_msgSend_165_fpret( - this.pointer, - _lib._sel_currentHardwareSampleRate1, - ) - : _lib._objc_msgSend_165( - this.pointer, - _lib._sel_currentHardwareSampleRate1, - ); + ? _objc_msgSend_165Fpret(this.pointer, _sel_currentHardwareSampleRate) + : _objc_msgSend_165(this.pointer, _sel_currentHardwareSampleRate); } int get currentHardwareInputNumberOfChannels { - return _lib._objc_msgSend_83( - this.pointer, - _lib._sel_currentHardwareInputNumberOfChannels1, - ); + return _objc_msgSend_83( + this.pointer, _sel_currentHardwareInputNumberOfChannels); } int get currentHardwareOutputNumberOfChannels { - return _lib._objc_msgSend_83( - this.pointer, - _lib._sel_currentHardwareOutputNumberOfChannels1, - ); + return _objc_msgSend_83( + this.pointer, _sel_currentHardwareOutputNumberOfChannels); } bool setPreferredHardwareSampleRate_error_( - double sampleRate, - ffi.Pointer> outError, - ) { - return _lib._objc_msgSend_1163( - this.pointer, - _lib._sel_setPreferredHardwareSampleRate_error_1, - sampleRate, - outError, - ); + double sampleRate, ffi.Pointer> outError) { + return _objc_msgSend_1162(this.pointer, + _sel_setPreferredHardwareSampleRate_error_, sampleRate, outError); } double get preferredHardwareSampleRate { return objc.useMsgSendVariants - ? _lib._objc_msgSend_165_fpret( - this.pointer, - _lib._sel_preferredHardwareSampleRate1, - ) - : _lib._objc_msgSend_165( - this.pointer, - _lib._sel_preferredHardwareSampleRate1, - ); + ? _objc_msgSend_165Fpret(this.pointer, _sel_preferredHardwareSampleRate) + : _objc_msgSend_165(this.pointer, _sel_preferredHardwareSampleRate); } - static AVAudioSession new1(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_AVAudioSession1, - _lib._sel_new1, - ); - return AVAudioSession._(_ret, _lib, retain: false, release: true); + static AVAudioSession new1() { + final _ret = _objc_msgSend_2(_class_AVAudioSession, _sel_new); + return AVAudioSession._(_ret, retain: false, release: true); } - static AVAudioSession allocWithZone_( - AVFAudio _lib, - ffi.Pointer<_NSZone> zone, - ) { - final _ret = _lib._objc_msgSend_3( - _lib._class_AVAudioSession1, - _lib._sel_allocWithZone_1, - zone, - ); - return AVAudioSession._(_ret, _lib, retain: false, release: true); + static AVAudioSession allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = + _objc_msgSend_3(_class_AVAudioSession, _sel_allocWithZone_, zone); + return AVAudioSession._(_ret, retain: false, release: true); } - static AVAudioSession alloc(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_AVAudioSession1, - _lib._sel_alloc1, - ); - return AVAudioSession._(_ret, _lib, retain: false, release: true); + static AVAudioSession alloc() { + final _ret = _objc_msgSend_2(_class_AVAudioSession, _sel_alloc); + return AVAudioSession._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_AVAudioSession1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_AVAudioSession1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_AVAudioSession1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_AVAudioSession1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_AVAudioSession1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_AVAudioSession1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_AVAudioSession, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); + } + + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_AVAudioSession, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); + } + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_AVAudioSession, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_AVAudioSession, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_AVAudioSession, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_AVAudioSession, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); } static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_AVAudioSession1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_AVAudioSession1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_AVAudioSession1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_AVAudioSession, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = _objc_msgSend_85( + _class_AVAudioSession, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = + _objc_msgSend_2(_class_AVAudioSession, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); } } +late final _class_AVAudioSession = objc.getClass("AVAudioSession"); +late final _sel_sharedInstance = objc.registerName("sharedInstance"); +final _objc_msgSend_1144 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_availableCategories = objc.registerName("availableCategories"); +late final _sel_setCategory_error_ = objc.registerName("setCategory:error:"); + abstract class AVAudioSessionCategoryOptions { static const int AVAudioSessionCategoryOptionMixWithOthers = 1; static const int AVAudioSessionCategoryOptionDuckOthers = 2; @@ -96191,6 +59954,45 @@ abstract class AVAudioSessionCategoryOptions { AVAudioSessionCategoryOptionOverrideMutedMicrophoneInterruption = 128; } +late final _sel_setCategory_withOptions_error_ = + objc.registerName("setCategory:withOptions:error:"); +final _objc_msgSend_1145 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer category, + ffi.Int32 options, + ffi.Pointer> outError)>>() + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer>)>(); +late final _sel_setCategory_mode_options_error_ = + objc.registerName("setCategory:mode:options:error:"); +final _objc_msgSend_1146 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer category, + ffi.Pointer mode, + ffi.Int32 options, + ffi.Pointer> outError)>>() + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer>)>(); + abstract class AVAudioSessionRouteSharingPolicy { static const int AVAudioSessionRouteSharingPolicyDefault = 0; static const int AVAudioSessionRouteSharingPolicyLongFormAudio = 1; @@ -96199,549 +60001,558 @@ abstract class AVAudioSessionRouteSharingPolicy { static const int AVAudioSessionRouteSharingPolicyLongFormVideo = 3; } +late final _sel_setCategory_mode_routeSharingPolicy_options_error_ = + objc.registerName("setCategory:mode:routeSharingPolicy:options:error:"); +final _objc_msgSend_1147 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer category, + ffi.Pointer mode, + ffi.Int32 policy, + ffi.Int32 options, + ffi.Pointer> outError)>>() + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + int, + ffi.Pointer>)>(); +late final _sel_category = objc.registerName("category"); +late final _sel_categoryOptions = objc.registerName("categoryOptions"); +final _objc_msgSend_1148 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + int Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_routeSharingPolicy = objc.registerName("routeSharingPolicy"); +final _objc_msgSend_1149 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + int Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_availableModes = objc.registerName("availableModes"); +late final _sel_setMode_error_ = objc.registerName("setMode:error:"); +late final _sel_mode = objc.registerName("mode"); +late final _sel_setAllowHapticsAndSystemSoundsDuringRecording_error_ = + objc.registerName("setAllowHapticsAndSystemSoundsDuringRecording:error:"); +final _objc_msgSend_1150 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Bool inValue, + ffi.Pointer> outError)>>() + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + bool, + ffi.Pointer>)>(); +late final _sel_allowHapticsAndSystemSoundsDuringRecording = + objc.registerName("allowHapticsAndSystemSoundsDuringRecording"); + abstract class AVAudioSessionRecordPermission { static const int AVAudioSessionRecordPermissionUndetermined = 1970168948; static const int AVAudioSessionRecordPermissionDenied = 1684369017; static const int AVAudioSessionRecordPermissionGranted = 1735552628; } +late final _sel_recordPermission = objc.registerName("recordPermission"); +final _objc_msgSend_1151 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + int Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_requestRecordPermission_ = + objc.registerName("requestRecordPermission:"); +final _objc_msgSend_1152 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer response)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); + abstract class AVAudioSessionPortOverride { static const int AVAudioSessionPortOverrideNone = 0; static const int AVAudioSessionPortOverrideSpeaker = 1936747378; } +late final _sel_overrideOutputAudioPort_error_ = + objc.registerName("overrideOutputAudioPort:error:"); +final _objc_msgSend_1153 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Int32 portOverride, + ffi.Pointer> outError)>>() + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer>)>(); + class AVAudioSessionPortDescription extends NSObject { - AVAudioSessionPortDescription._( - ffi.Pointer pointer, - AVFAudio lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + AVAudioSessionPortDescription._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [AVAudioSessionPortDescription] that points to the same underlying object as [other]. static AVAudioSessionPortDescription castFrom( - AVFAudio lib, - T other, - ) { - return AVAudioSessionPortDescription._( - other.pointer, - lib, - retain: true, - release: true, - ); + T other) { + return AVAudioSessionPortDescription._(other.pointer, + retain: true, release: true); } /// Returns a [AVAudioSessionPortDescription] that wraps the given raw object pointer. static AVAudioSessionPortDescription castFromPointer( - AVFAudio lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return AVAudioSessionPortDescription._( - other, - lib, - retain: retain, - release: release, - ); + ffi.Pointer other, + {bool retain = false, + bool release = false}) { + return AVAudioSessionPortDescription._(other, + retain: retain, release: release); } /// Returns whether [obj] is an instance of [AVAudioSessionPortDescription]. - static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_AVAudioSessionPortDescription1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0( + obj.pointer, _sel_isKindOfClass_, _class_AVAudioSessionPortDescription); } NSString get portType { - final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_portType1); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_portType); + return NSString._(_ret, retain: true, release: true); } NSString get portName { - final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_portName1); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_portName); + return NSString._(_ret, retain: true, release: true); } NSString get UID { - final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_UID1); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_UID); + return NSString._(_ret, retain: true, release: true); } bool get hasHardwareVoiceCallProcessing { - return _lib._objc_msgSend_12( - this.pointer, - _lib._sel_hasHardwareVoiceCallProcessing1, - ); + return _objc_msgSend_12(this.pointer, _sel_hasHardwareVoiceCallProcessing); } bool get spatialAudioEnabled { - return _lib._objc_msgSend_12( - this.pointer, - _lib._sel_isSpatialAudioEnabled1, - ); + return _objc_msgSend_12(this.pointer, _sel_isSpatialAudioEnabled); } NSArray? get channels { - final _ret = _lib._objc_msgSend_84(this.pointer, _lib._sel_channels1); + final _ret = _objc_msgSend_84(this.pointer, _sel_channels); return _ret.address == 0 ? null - : NSArray._(_ret, _lib, retain: true, release: true); + : NSArray._(_ret, retain: true, release: true); } NSArray? get dataSources { - final _ret = _lib._objc_msgSend_84(this.pointer, _lib._sel_dataSources1); + final _ret = _objc_msgSend_84(this.pointer, _sel_dataSources); return _ret.address == 0 ? null - : NSArray._(_ret, _lib, retain: true, release: true); + : NSArray._(_ret, retain: true, release: true); } AVAudioSessionDataSourceDescription? get selectedDataSource { - final _ret = _lib._objc_msgSend_1156( - this.pointer, - _lib._sel_selectedDataSource1, - ); + final _ret = _objc_msgSend_1155(this.pointer, _sel_selectedDataSource); return _ret.address == 0 ? null - : AVAudioSessionDataSourceDescription._( - _ret, - _lib, - retain: true, - release: true, - ); + : AVAudioSessionDataSourceDescription._(_ret, + retain: true, release: true); } AVAudioSessionDataSourceDescription? get preferredDataSource { - final _ret = _lib._objc_msgSend_1156( - this.pointer, - _lib._sel_preferredDataSource1, - ); + final _ret = _objc_msgSend_1155(this.pointer, _sel_preferredDataSource); return _ret.address == 0 ? null - : AVAudioSessionDataSourceDescription._( - _ret, - _lib, - retain: true, - release: true, - ); + : AVAudioSessionDataSourceDescription._(_ret, + retain: true, release: true); } bool setPreferredDataSource_error_( - AVAudioSessionDataSourceDescription? dataSource, - ffi.Pointer> outError, - ) { - return _lib._objc_msgSend_1157( - this.pointer, - _lib._sel_setPreferredDataSource_error_1, - dataSource?.pointer ?? ffi.nullptr, - outError, - ); + AVAudioSessionDataSourceDescription? dataSource, + ffi.Pointer> outError) { + return _objc_msgSend_1156(this.pointer, _sel_setPreferredDataSource_error_, + dataSource?.pointer ?? ffi.nullptr, outError); } @override AVAudioSessionPortDescription init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return AVAudioSessionPortDescription._( - _ret, - _lib, - retain: true, - release: true, - ); - } - - static AVAudioSessionPortDescription new1(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_AVAudioSessionPortDescription1, - _lib._sel_new1, - ); - return AVAudioSessionPortDescription._( - _ret, - _lib, - retain: false, - release: true, - ); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return AVAudioSessionPortDescription._(_ret, retain: true, release: true); + } + + static AVAudioSessionPortDescription new1() { + final _ret = + _objc_msgSend_2(_class_AVAudioSessionPortDescription, _sel_new); + return AVAudioSessionPortDescription._(_ret, retain: false, release: true); } static AVAudioSessionPortDescription allocWithZone_( - AVFAudio _lib, - ffi.Pointer<_NSZone> zone, - ) { - final _ret = _lib._objc_msgSend_3( - _lib._class_AVAudioSessionPortDescription1, - _lib._sel_allocWithZone_1, - zone, - ); - return AVAudioSessionPortDescription._( - _ret, - _lib, - retain: false, - release: true, - ); - } - - static AVAudioSessionPortDescription alloc(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_AVAudioSessionPortDescription1, - _lib._sel_alloc1, - ); - return AVAudioSessionPortDescription._( - _ret, - _lib, - retain: false, - release: true, - ); + ffi.Pointer<_NSZone> zone) { + final _ret = _objc_msgSend_3( + _class_AVAudioSessionPortDescription, _sel_allocWithZone_, zone); + return AVAudioSessionPortDescription._(_ret, retain: false, release: true); + } + + static AVAudioSessionPortDescription alloc() { + final _ret = + _objc_msgSend_2(_class_AVAudioSessionPortDescription, _sel_alloc); + return AVAudioSessionPortDescription._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_AVAudioSessionPortDescription1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_AVAudioSessionPortDescription1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_AVAudioSessionPortDescription1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_AVAudioSessionPortDescription1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_AVAudioSessionPortDescription1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_AVAudioSessionPortDescription1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_AVAudioSessionPortDescription, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); + } + + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_AVAudioSessionPortDescription, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); + } + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12(_class_AVAudioSessionPortDescription, + _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12( + _class_AVAudioSessionPortDescription, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_AVAudioSessionPortDescription, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_AVAudioSessionPortDescription, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); } static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_AVAudioSessionPortDescription1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_AVAudioSessionPortDescription1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_AVAudioSessionPortDescription1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_AVAudioSessionPortDescription, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = _objc_msgSend_85(_class_AVAudioSessionPortDescription, + _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = _objc_msgSend_2( + _class_AVAudioSessionPortDescription, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); } } +late final _class_AVAudioSessionPortDescription = + objc.getClass("AVAudioSessionPortDescription"); +late final _sel_portType = objc.registerName("portType"); +late final _sel_portName = objc.registerName("portName"); +late final _sel_UID = objc.registerName("UID"); +late final _sel_hasHardwareVoiceCallProcessing = + objc.registerName("hasHardwareVoiceCallProcessing"); +late final _sel_isSpatialAudioEnabled = + objc.registerName("isSpatialAudioEnabled"); +late final _sel_channels = objc.registerName("channels"); +late final _sel_dataSources = objc.registerName("dataSources"); + class AVAudioSessionDataSourceDescription extends NSObject { - AVAudioSessionDataSourceDescription._( - ffi.Pointer pointer, - AVFAudio lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + AVAudioSessionDataSourceDescription._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [AVAudioSessionDataSourceDescription] that points to the same underlying object as [other]. static AVAudioSessionDataSourceDescription - castFrom(AVFAudio lib, T other) { - return AVAudioSessionDataSourceDescription._( - other.pointer, - lib, - retain: true, - release: true, - ); + castFrom(T other) { + return AVAudioSessionDataSourceDescription._(other.pointer, + retain: true, release: true); } /// Returns a [AVAudioSessionDataSourceDescription] that wraps the given raw object pointer. static AVAudioSessionDataSourceDescription castFromPointer( - AVFAudio lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return AVAudioSessionDataSourceDescription._( - other, - lib, - retain: retain, - release: release, - ); + ffi.Pointer other, + {bool retain = false, + bool release = false}) { + return AVAudioSessionDataSourceDescription._(other, + retain: retain, release: release); } /// Returns whether [obj] is an instance of [AVAudioSessionDataSourceDescription]. - static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_AVAudioSessionDataSourceDescription1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0(obj.pointer, _sel_isKindOfClass_, + _class_AVAudioSessionDataSourceDescription); } NSNumber get dataSourceID { - final _ret = _lib._objc_msgSend_814(this.pointer, _lib._sel_dataSourceID1); - return NSNumber._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_814(this.pointer, _sel_dataSourceID); + return NSNumber._(_ret, retain: true, release: true); } NSString get dataSourceName { - final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_dataSourceName1); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_dataSourceName); + return NSString._(_ret, retain: true, release: true); } NSString? get location { - final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_location1); + final _ret = _objc_msgSend_44(this.pointer, _sel_location); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } NSString? get orientation { - final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_orientation1); + final _ret = _objc_msgSend_44(this.pointer, _sel_orientation); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } NSArray? get supportedPolarPatterns { - final _ret = _lib._objc_msgSend_84( - this.pointer, - _lib._sel_supportedPolarPatterns1, - ); + final _ret = _objc_msgSend_84(this.pointer, _sel_supportedPolarPatterns); return _ret.address == 0 ? null - : NSArray._(_ret, _lib, retain: true, release: true); + : NSArray._(_ret, retain: true, release: true); } NSString? get selectedPolarPattern { - final _ret = _lib._objc_msgSend_44( - this.pointer, - _lib._sel_selectedPolarPattern1, - ); + final _ret = _objc_msgSend_44(this.pointer, _sel_selectedPolarPattern); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } NSString? get preferredPolarPattern { - final _ret = _lib._objc_msgSend_44( - this.pointer, - _lib._sel_preferredPolarPattern1, - ); + final _ret = _objc_msgSend_44(this.pointer, _sel_preferredPolarPattern); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } bool setPreferredPolarPattern_error_( - NSString? pattern, - ffi.Pointer> outError, - ) { - return _lib._objc_msgSend_1155( - this.pointer, - _lib._sel_setPreferredPolarPattern_error_1, - pattern?.pointer ?? ffi.nullptr, - outError, - ); + NSString? pattern, ffi.Pointer> outError) { + return _objc_msgSend_1154( + this.pointer, + _sel_setPreferredPolarPattern_error_, + pattern?.pointer ?? ffi.nullptr, + outError); } @override AVAudioSessionDataSourceDescription init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return AVAudioSessionDataSourceDescription._( - _ret, - _lib, - retain: true, - release: true, - ); - } - - static AVAudioSessionDataSourceDescription new1(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_AVAudioSessionDataSourceDescription1, - _lib._sel_new1, - ); - return AVAudioSessionDataSourceDescription._( - _ret, - _lib, - retain: false, - release: true, - ); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return AVAudioSessionDataSourceDescription._(_ret, + retain: true, release: true); + } + + static AVAudioSessionDataSourceDescription new1() { + final _ret = + _objc_msgSend_2(_class_AVAudioSessionDataSourceDescription, _sel_new); + return AVAudioSessionDataSourceDescription._(_ret, + retain: false, release: true); } static AVAudioSessionDataSourceDescription allocWithZone_( - AVFAudio _lib, - ffi.Pointer<_NSZone> zone, - ) { - final _ret = _lib._objc_msgSend_3( - _lib._class_AVAudioSessionDataSourceDescription1, - _lib._sel_allocWithZone_1, - zone, - ); - return AVAudioSessionDataSourceDescription._( - _ret, - _lib, - retain: false, - release: true, - ); - } - - static AVAudioSessionDataSourceDescription alloc(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_AVAudioSessionDataSourceDescription1, - _lib._sel_alloc1, - ); - return AVAudioSessionDataSourceDescription._( - _ret, - _lib, - retain: false, - release: true, - ); + ffi.Pointer<_NSZone> zone) { + final _ret = _objc_msgSend_3( + _class_AVAudioSessionDataSourceDescription, _sel_allocWithZone_, zone); + return AVAudioSessionDataSourceDescription._(_ret, + retain: false, release: true); + } + + static AVAudioSessionDataSourceDescription alloc() { + final _ret = + _objc_msgSend_2(_class_AVAudioSessionDataSourceDescription, _sel_alloc); + return AVAudioSessionDataSourceDescription._(_ret, + retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_AVAudioSessionDataSourceDescription1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_AVAudioSessionDataSourceDescription1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_AVAudioSessionDataSourceDescription1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_AVAudioSessionDataSourceDescription1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_AVAudioSessionDataSourceDescription1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_AVAudioSessionDataSourceDescription1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_AVAudioSessionDataSourceDescription, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); } - static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_AVAudioSessionDataSourceDescription1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_AVAudioSessionDataSourceDescription1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_AVAudioSessionDataSourceDescription1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_AVAudioSessionDataSourceDescription, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); } -} + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12(_class_AVAudioSessionDataSourceDescription, + _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12( + _class_AVAudioSessionDataSourceDescription, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_AVAudioSessionDataSourceDescription, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_AVAudioSessionDataSourceDescription, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); + } + + static void setKeys_triggerChangeNotificationsForDependentKey_( + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_AVAudioSessionDataSourceDescription, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = _objc_msgSend_85(_class_AVAudioSessionDataSourceDescription, + _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = _objc_msgSend_2(_class_AVAudioSessionDataSourceDescription, + _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); + } +} + +late final _class_AVAudioSessionDataSourceDescription = + objc.getClass("AVAudioSessionDataSourceDescription"); +late final _sel_dataSourceID = objc.registerName("dataSourceID"); +late final _sel_dataSourceName = objc.registerName("dataSourceName"); +late final _sel_location = objc.registerName("location"); +late final _sel_orientation = objc.registerName("orientation"); +late final _sel_supportedPolarPatterns = + objc.registerName("supportedPolarPatterns"); +late final _sel_selectedPolarPattern = + objc.registerName("selectedPolarPattern"); +late final _sel_preferredPolarPattern = + objc.registerName("preferredPolarPattern"); +late final _sel_setPreferredPolarPattern_error_ = + objc.registerName("setPreferredPolarPattern:error:"); +final _objc_msgSend_1154 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer pattern, + ffi.Pointer> outError)>>() + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>(); +late final _sel_selectedDataSource = objc.registerName("selectedDataSource"); +final _objc_msgSend_1155 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_preferredDataSource = objc.registerName("preferredDataSource"); +late final _sel_setPreferredDataSource_error_ = + objc.registerName("setPreferredDataSource:error:"); +final _objc_msgSend_1156 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer dataSource, + ffi.Pointer> outError)>>() + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>(); +late final _sel_setPreferredInput_error_ = + objc.registerName("setPreferredInput:error:"); +final _objc_msgSend_1157 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer inPort, + ffi.Pointer> outError)>>() + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>(); +late final _sel_preferredInput = objc.registerName("preferredInput"); +final _objc_msgSend_1158 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_setPrefersNoInterruptionsFromSystemAlerts_error_ = + objc.registerName("setPrefersNoInterruptionsFromSystemAlerts:error:"); +late final _sel_prefersNoInterruptionsFromSystemAlerts = + objc.registerName("prefersNoInterruptionsFromSystemAlerts"); abstract class AVAudioSessionRenderingMode { static const int AVAudioSessionRenderingModeNotApplicable = 0; @@ -96752,72 +60563,84 @@ abstract class AVAudioSessionRenderingMode { static const int AVAudioSessionRenderingModeDolbyAtmos = 5; } +late final _sel_renderingMode = objc.registerName("renderingMode"); +final _objc_msgSend_1159 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + int Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_setActive_error_ = objc.registerName("setActive:error:"); + abstract class AVAudioSessionSetActiveOptions { static const int AVAudioSessionSetActiveOptionNotifyOthersOnDeactivation = 1; } +late final _sel_setActive_withOptions_error_ = + objc.registerName("setActive:withOptions:error:"); +final _objc_msgSend_1160 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Bool active, + ffi.Int32 options, + ffi.Pointer> outError)>>() + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + bool, + int, + ffi.Pointer>)>(); + abstract class AVAudioSessionActivationOptions { static const int AVAudioSessionActivationOptionNone = 0; } void _ObjCBlock_ffiVoid_bool_NSError_fnPtrTrampoline( - ffi.Pointer block, - bool arg0, - ffi.Pointer arg1, -) => + ffi.Pointer block, + bool arg0, + ffi.Pointer arg1) => block.ref.target - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Bool arg0, ffi.Pointer arg1)>>() - .asFunction)>()( - arg0, - arg1, - ); + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Bool arg0, ffi.Pointer arg1)>>() + .asFunction)>()( + arg0, arg1); final _ObjCBlock_ffiVoid_bool_NSError_closureRegistry = )>{}; int _ObjCBlock_ffiVoid_bool_NSError_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_ffiVoid_bool_NSError_registerClosure( - void Function(bool, ffi.Pointer) fn, -) { + void Function(bool, ffi.Pointer) fn) { final id = ++_ObjCBlock_ffiVoid_bool_NSError_closureRegistryIndex; _ObjCBlock_ffiVoid_bool_NSError_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } void _ObjCBlock_ffiVoid_bool_NSError_closureTrampoline( - ffi.Pointer block, - bool arg0, - ffi.Pointer arg1, -) => + ffi.Pointer block, + bool arg0, + ffi.Pointer arg1) => _ObjCBlock_ffiVoid_bool_NSError_closureRegistry[block.ref.target.address]!( - arg0, - arg1, - ); + arg0, arg1); class ObjCBlock_ffiVoid_bool_NSError extends objc.ObjCBlockBase { - ObjCBlock_ffiVoid_bool_NSError._( - ffi.Pointer pointer, - this._lib, { - bool retain = false, - bool release = true, - }) : super(pointer, retain: retain, release: release); - - AVFAudio _lib; + ObjCBlock_ffiVoid_bool_NSError._(ffi.Pointer pointer, + {bool retain = false, bool release = true}) + : super(pointer, retain: retain, release: release); /// Returns a block that wraps the given raw block pointer. static ObjCBlock_ffiVoid_bool_NSError castFromPointer( - AVFAudio lib, - ffi.Pointer pointer, { - bool retain = false, - bool release = false, - }) { - return ObjCBlock_ffiVoid_bool_NSError._( - pointer, - lib, - retain: retain, - release: release, - ); + ffi.Pointer pointer, + {bool retain = false, + bool release = false}) { + return ObjCBlock_ffiVoid_bool_NSError._(pointer, + retain: retain, release: release); } /// Creates a block from a C function pointer. @@ -96826,24 +60649,18 @@ class ObjCBlock_ffiVoid_bool_NSError extends objc.ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_bool_NSError.fromFunctionPointer( - AVFAudio lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.Bool arg0, ffi.Pointer arg1)>> - ptr, - ) : this._( - objc.newBlock( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Bool, - ffi.Pointer, - )>(_ObjCBlock_ffiVoid_bool_NSError_fnPtrTrampoline) - .cast(), - ptr.cast(), - ), - lib); + ffi.Pointer< + ffi.NativeFunction< + ffi.Void Function( + ffi.Bool arg0, ffi.Pointer arg1)>> + ptr) + : this._(objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function(ffi.Pointer, ffi.Bool, + ffi.Pointer)>( + _ObjCBlock_ffiVoid_bool_NSError_fnPtrTrampoline) + .cast(), + ptr.cast())); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -96851,30 +60668,19 @@ class ObjCBlock_ffiVoid_bool_NSError extends objc.ObjCBlockBase { /// This block must be invoked by native code running on the same thread as /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. - ObjCBlock_ffiVoid_bool_NSError.fromFunction( - AVFAudio lib, - void Function(bool, NSError?) fn, - ) : this._( - objc.newBlock( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Bool, - ffi.Pointer, - )>(_ObjCBlock_ffiVoid_bool_NSError_closureTrampoline) - .cast(), - _ObjCBlock_ffiVoid_bool_NSError_registerClosure(( - bool arg0, - ffi.Pointer arg1, - ) => - fn( + ObjCBlock_ffiVoid_bool_NSError.fromFunction(void Function(bool, NSError?) fn) + : this._(objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function(ffi.Pointer, ffi.Bool, + ffi.Pointer)>( + _ObjCBlock_ffiVoid_bool_NSError_closureTrampoline) + .cast(), + _ObjCBlock_ffiVoid_bool_NSError_registerClosure( + (bool arg0, ffi.Pointer arg1) => fn( arg0, arg1.address == 0 ? null - : NSError._(arg1, lib, retain: true, release: true), - )), - ), - lib); + : NSError._(arg1, retain: true, release: true))))); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -96886,55 +60692,95 @@ class ObjCBlock_ffiVoid_bool_NSError extends objc.ObjCBlockBase { /// /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. - ObjCBlock_ffiVoid_bool_NSError.listener( - AVFAudio lib, - void Function(bool, NSError?) fn, - ) : this._( - objc.newBlock( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Bool, - ffi.Pointer, - )>.listener( - _ObjCBlock_ffiVoid_bool_NSError_closureTrampoline, - )..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_bool_NSError_registerClosure(( - bool arg0, - ffi.Pointer arg1, - ) => - fn( + ObjCBlock_ffiVoid_bool_NSError.listener(void Function(bool, NSError?) fn) + : this._(objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function(ffi.Pointer, ffi.Bool, + ffi.Pointer)>.listener( + _ObjCBlock_ffiVoid_bool_NSError_closureTrampoline) + ..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_bool_NSError_registerClosure( + (bool arg0, ffi.Pointer arg1) => fn( arg0, arg1.address == 0 ? null - : NSError._(arg1, lib, retain: true, release: true), - )), - ), - lib); + : NSError._(arg1, retain: true, release: true))))); static ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Bool, - ffi.Pointer, - )>? _dartFuncListenerTrampoline; + ffi.Void Function(ffi.Pointer, ffi.Bool, + ffi.Pointer)>? _dartFuncListenerTrampoline; void call(bool arg0, NSError? arg1) => pointer.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer block, - ffi.Bool arg0, - ffi.Pointer arg1, - )>>() - .asFunction< - void Function( - ffi.Pointer, - bool, + .cast< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer block, + ffi.Bool arg0, ffi.Pointer arg1)>>() + .asFunction< + void Function(ffi.Pointer, bool, + ffi.Pointer)>()( + pointer, arg0, arg1?.pointer ?? ffi.nullptr); +} + +late final _sel_activateWithOptions_completionHandler_ = + objc.registerName("activateWithOptions:completionHandler:"); +final _objc_msgSend_1161 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Int32 options, + ffi.Pointer handler)>>() + .asFunction< + void Function( ffi.Pointer, - )>()(pointer, arg0, arg1?.pointer ?? ffi.nullptr); -} + ffi.Pointer, + int, + ffi.Pointer)>(); +late final _sel_setPreferredSampleRate_error_ = + objc.registerName("setPreferredSampleRate:error:"); +final _objc_msgSend_1162 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Double sampleRate, + ffi.Pointer> outError)>>() + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + double, + ffi.Pointer>)>(); +late final _sel_preferredSampleRate = objc.registerName("preferredSampleRate"); +late final _sel_setPreferredIOBufferDuration_error_ = + objc.registerName("setPreferredIOBufferDuration:error:"); +late final _sel_preferredIOBufferDuration = + objc.registerName("preferredIOBufferDuration"); +late final _sel_setPreferredInputNumberOfChannels_error_ = + objc.registerName("setPreferredInputNumberOfChannels:error:"); +final _objc_msgSend_1163 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Long count, + ffi.Pointer> outError)>>() + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer>)>(); +late final _sel_preferredInputNumberOfChannels = + objc.registerName("preferredInputNumberOfChannels"); +late final _sel_setPreferredOutputNumberOfChannels_error_ = + objc.registerName("setPreferredOutputNumberOfChannels:error:"); +late final _sel_preferredOutputNumberOfChannels = + objc.registerName("preferredOutputNumberOfChannels"); abstract class AVAudioStereoOrientation { static const int AVAudioStereoOrientationNone = 0; @@ -96944,1025 +60790,971 @@ abstract class AVAudioStereoOrientation { static const int AVAudioStereoOrientationLandscapeLeft = 4; } +late final _sel_setPreferredInputOrientation_error_ = + objc.registerName("setPreferredInputOrientation:error:"); +final _objc_msgSend_1164 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Int32 orientation, + ffi.Pointer> outError)>>() + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer>)>(); +late final _sel_preferredInputOrientation = + objc.registerName("preferredInputOrientation"); +final _objc_msgSend_1165 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + int Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_inputOrientation = objc.registerName("inputOrientation"); +late final _sel_maximumInputNumberOfChannels = + objc.registerName("maximumInputNumberOfChannels"); +late final _sel_maximumOutputNumberOfChannels = + objc.registerName("maximumOutputNumberOfChannels"); +late final _sel_setInputGain_error_ = objc.registerName("setInputGain:error:"); +final _objc_msgSend_1166 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Float gain, + ffi.Pointer> outError)>>() + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + double, + ffi.Pointer>)>(); +late final _sel_inputGain = objc.registerName("inputGain"); +late final _sel_isInputGainSettable = objc.registerName("isInputGainSettable"); +late final _sel_isInputAvailable = objc.registerName("isInputAvailable"); +late final _sel_inputDataSources = objc.registerName("inputDataSources"); +late final _sel_inputDataSource = objc.registerName("inputDataSource"); +late final _sel_setInputDataSource_error_ = + objc.registerName("setInputDataSource:error:"); +late final _sel_outputDataSources = objc.registerName("outputDataSources"); +late final _sel_outputDataSource = objc.registerName("outputDataSource"); +late final _sel_setOutputDataSource_error_ = + objc.registerName("setOutputDataSource:error:"); +late final _sel_sampleRate = objc.registerName("sampleRate"); +late final _sel_inputNumberOfChannels = + objc.registerName("inputNumberOfChannels"); +late final _sel_outputNumberOfChannels = + objc.registerName("outputNumberOfChannels"); +late final _sel_inputLatency = objc.registerName("inputLatency"); +late final _sel_outputLatency = objc.registerName("outputLatency"); +late final _sel_IOBufferDuration = objc.registerName("IOBufferDuration"); +late final _sel_supportedOutputChannelLayouts = + objc.registerName("supportedOutputChannelLayouts"); +late final _sel_isOtherAudioPlaying = objc.registerName("isOtherAudioPlaying"); +late final _sel_secondaryAudioShouldBeSilencedHint = + objc.registerName("secondaryAudioShouldBeSilencedHint"); +late final _sel_outputVolume = objc.registerName("outputVolume"); + abstract class AVAudioSessionPromptStyle { static const int AVAudioSessionPromptStyleNone = 1852796517; static const int AVAudioSessionPromptStyleShort = 1936224884; static const int AVAudioSessionPromptStyleNormal = 1852992876; } +late final _sel_promptStyle = objc.registerName("promptStyle"); +final _objc_msgSend_1167 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + int Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_availableInputs = objc.registerName("availableInputs"); + class AVAudioSessionRouteDescription extends NSObject { - AVAudioSessionRouteDescription._( - ffi.Pointer pointer, - AVFAudio lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + AVAudioSessionRouteDescription._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [AVAudioSessionRouteDescription] that points to the same underlying object as [other]. static AVAudioSessionRouteDescription castFrom( - AVFAudio lib, - T other, - ) { - return AVAudioSessionRouteDescription._( - other.pointer, - lib, - retain: true, - release: true, - ); + T other) { + return AVAudioSessionRouteDescription._(other.pointer, + retain: true, release: true); } /// Returns a [AVAudioSessionRouteDescription] that wraps the given raw object pointer. static AVAudioSessionRouteDescription castFromPointer( - AVFAudio lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return AVAudioSessionRouteDescription._( - other, - lib, - retain: retain, - release: release, - ); + ffi.Pointer other, + {bool retain = false, + bool release = false}) { + return AVAudioSessionRouteDescription._(other, + retain: retain, release: release); } /// Returns whether [obj] is an instance of [AVAudioSessionRouteDescription]. - static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_AVAudioSessionRouteDescription1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0(obj.pointer, _sel_isKindOfClass_, + _class_AVAudioSessionRouteDescription); } NSArray get inputs { - final _ret = _lib._objc_msgSend_85(this.pointer, _lib._sel_inputs1); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_85(this.pointer, _sel_inputs); + return NSArray._(_ret, retain: true, release: true); } NSArray get outputs { - final _ret = _lib._objc_msgSend_85(this.pointer, _lib._sel_outputs1); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_85(this.pointer, _sel_outputs); + return NSArray._(_ret, retain: true, release: true); } @override AVAudioSessionRouteDescription init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return AVAudioSessionRouteDescription._( - _ret, - _lib, - retain: true, - release: true, - ); - } - - static AVAudioSessionRouteDescription new1(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_AVAudioSessionRouteDescription1, - _lib._sel_new1, - ); - return AVAudioSessionRouteDescription._( - _ret, - _lib, - retain: false, - release: true, - ); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return AVAudioSessionRouteDescription._(_ret, retain: true, release: true); + } + + static AVAudioSessionRouteDescription new1() { + final _ret = + _objc_msgSend_2(_class_AVAudioSessionRouteDescription, _sel_new); + return AVAudioSessionRouteDescription._(_ret, retain: false, release: true); } static AVAudioSessionRouteDescription allocWithZone_( - AVFAudio _lib, - ffi.Pointer<_NSZone> zone, - ) { - final _ret = _lib._objc_msgSend_3( - _lib._class_AVAudioSessionRouteDescription1, - _lib._sel_allocWithZone_1, - zone, - ); - return AVAudioSessionRouteDescription._( - _ret, - _lib, - retain: false, - release: true, - ); - } - - static AVAudioSessionRouteDescription alloc(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_AVAudioSessionRouteDescription1, - _lib._sel_alloc1, - ); - return AVAudioSessionRouteDescription._( - _ret, - _lib, - retain: false, - release: true, - ); + ffi.Pointer<_NSZone> zone) { + final _ret = _objc_msgSend_3( + _class_AVAudioSessionRouteDescription, _sel_allocWithZone_, zone); + return AVAudioSessionRouteDescription._(_ret, retain: false, release: true); + } + + static AVAudioSessionRouteDescription alloc() { + final _ret = + _objc_msgSend_2(_class_AVAudioSessionRouteDescription, _sel_alloc); + return AVAudioSessionRouteDescription._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_AVAudioSessionRouteDescription1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_AVAudioSessionRouteDescription1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_AVAudioSessionRouteDescription1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_AVAudioSessionRouteDescription1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_AVAudioSessionRouteDescription1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_AVAudioSessionRouteDescription1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_AVAudioSessionRouteDescription, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); } - static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_AVAudioSessionRouteDescription1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_AVAudioSessionRouteDescription1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_AVAudioSessionRouteDescription1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_AVAudioSessionRouteDescription, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); + } + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12(_class_AVAudioSessionRouteDescription, + _sel_accessInstanceVariablesDirectly); } -} + + static bool useStoredAccessor() { + return _objc_msgSend_12( + _class_AVAudioSessionRouteDescription, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_AVAudioSessionRouteDescription, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_AVAudioSessionRouteDescription, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); + } + + static void setKeys_triggerChangeNotificationsForDependentKey_( + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_AVAudioSessionRouteDescription, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = _objc_msgSend_85(_class_AVAudioSessionRouteDescription, + _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = _objc_msgSend_2( + _class_AVAudioSessionRouteDescription, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); + } +} + +late final _class_AVAudioSessionRouteDescription = + objc.getClass("AVAudioSessionRouteDescription"); +late final _sel_inputs = objc.registerName("inputs"); +late final _sel_outputs = objc.registerName("outputs"); +late final _sel_currentRoute = objc.registerName("currentRoute"); +final _objc_msgSend_1168 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); abstract class AVAudioSessionIOType { static const int AVAudioSessionIOTypeNotSpecified = 0; static const int AVAudioSessionIOTypeAggregated = 1; } +late final _sel_setAggregatedIOPreference_error_ = + objc.registerName("setAggregatedIOPreference:error:"); +final _objc_msgSend_1169 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Int32 inIOType, + ffi.Pointer> outError)>>() + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer>)>(); +late final _sel_setSupportsMultichannelContent_error_ = + objc.registerName("setSupportsMultichannelContent:error:"); +late final _sel_supportsMultichannelContent = + objc.registerName("supportsMultichannelContent"); +late final _sel_setPrefersInterruptionOnRouteDisconnect_error_ = + objc.registerName("setPrefersInterruptionOnRouteDisconnect:error:"); +late final _sel_prefersInterruptionOnRouteDisconnect = + objc.registerName("prefersInterruptionOnRouteDisconnect"); +late final _sel_setActive_withFlags_error_ = + objc.registerName("setActive:withFlags:error:"); +final _objc_msgSend_1170 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Bool active, + ffi.Long flags, + ffi.Pointer> outError)>>() + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + bool, + int, + ffi.Pointer>)>(); +late final _sel_inputIsAvailable = objc.registerName("inputIsAvailable"); +late final _sel_currentHardwareSampleRate = + objc.registerName("currentHardwareSampleRate"); +late final _sel_currentHardwareInputNumberOfChannels = + objc.registerName("currentHardwareInputNumberOfChannels"); +late final _sel_currentHardwareOutputNumberOfChannels = + objc.registerName("currentHardwareOutputNumberOfChannels"); +late final _sel_setPreferredHardwareSampleRate_error_ = + objc.registerName("setPreferredHardwareSampleRate:error:"); +late final _sel_preferredHardwareSampleRate = + objc.registerName("preferredHardwareSampleRate"); + class AVAudioPlayer extends NSObject { - AVAudioPlayer._( - ffi.Pointer pointer, - AVFAudio lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + AVAudioPlayer._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [AVAudioPlayer] that points to the same underlying object as [other]. - static AVAudioPlayer castFrom( - AVFAudio lib, - T other, - ) { - return AVAudioPlayer._(other.pointer, lib, retain: true, release: true); + static AVAudioPlayer castFrom(T other) { + return AVAudioPlayer._(other.pointer, retain: true, release: true); } /// Returns a [AVAudioPlayer] that wraps the given raw object pointer. - static AVAudioPlayer castFromPointer( - AVFAudio lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return AVAudioPlayer._(other, lib, retain: retain, release: release); + static AVAudioPlayer castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return AVAudioPlayer._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [AVAudioPlayer]. - static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_AVAudioPlayer1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0( + obj.pointer, _sel_isKindOfClass_, _class_AVAudioPlayer); } AVAudioPlayer? initWithContentsOfURL_error_( - NSURL url, - ffi.Pointer> outError, - ) { - final _ret = _lib._objc_msgSend_842( - this.pointer, - _lib._sel_initWithContentsOfURL_error_1, - url.pointer, - outError, - ); + NSURL url, ffi.Pointer> outError) { + final _ret = _objc_msgSend_842( + this.pointer, _sel_initWithContentsOfURL_error_, url.pointer, outError); return _ret.address == 0 ? null - : AVAudioPlayer._(_ret, _lib, retain: true, release: true); + : AVAudioPlayer._(_ret, retain: true, release: true); } AVAudioPlayer? initWithData_error_( - NSData data, - ffi.Pointer> outError, - ) { - final _ret = _lib._objc_msgSend_1172( - this.pointer, - _lib._sel_initWithData_error_1, - data.pointer, - outError, - ); + NSData data, ffi.Pointer> outError) { + final _ret = _objc_msgSend_1171( + this.pointer, _sel_initWithData_error_, data.pointer, outError); return _ret.address == 0 ? null - : AVAudioPlayer._(_ret, _lib, retain: true, release: true); + : AVAudioPlayer._(_ret, retain: true, release: true); } - AVAudioPlayer? initWithContentsOfURL_fileTypeHint_error_( - NSURL url, - NSString? utiString, - ffi.Pointer> outError, - ) { - final _ret = _lib._objc_msgSend_1173( - this.pointer, - _lib._sel_initWithContentsOfURL_fileTypeHint_error_1, - url.pointer, - utiString?.pointer ?? ffi.nullptr, - outError, - ); + AVAudioPlayer? initWithContentsOfURL_fileTypeHint_error_(NSURL url, + NSString? utiString, ffi.Pointer> outError) { + final _ret = _objc_msgSend_1172( + this.pointer, + _sel_initWithContentsOfURL_fileTypeHint_error_, + url.pointer, + utiString?.pointer ?? ffi.nullptr, + outError); return _ret.address == 0 ? null - : AVAudioPlayer._(_ret, _lib, retain: true, release: true); + : AVAudioPlayer._(_ret, retain: true, release: true); } - AVAudioPlayer? initWithData_fileTypeHint_error_( - NSData data, - NSString? utiString, - ffi.Pointer> outError, - ) { - final _ret = _lib._objc_msgSend_1174( - this.pointer, - _lib._sel_initWithData_fileTypeHint_error_1, - data.pointer, - utiString?.pointer ?? ffi.nullptr, - outError, - ); + AVAudioPlayer? initWithData_fileTypeHint_error_(NSData data, + NSString? utiString, ffi.Pointer> outError) { + final _ret = _objc_msgSend_1173( + this.pointer, + _sel_initWithData_fileTypeHint_error_, + data.pointer, + utiString?.pointer ?? ffi.nullptr, + outError); return _ret.address == 0 ? null - : AVAudioPlayer._(_ret, _lib, retain: true, release: true); + : AVAudioPlayer._(_ret, retain: true, release: true); } bool prepareToPlay() { - return _lib._objc_msgSend_12(this.pointer, _lib._sel_prepareToPlay1); + return _objc_msgSend_12(this.pointer, _sel_prepareToPlay); } bool play() { - return _lib._objc_msgSend_12(this.pointer, _lib._sel_play1); + return _objc_msgSend_12(this.pointer, _sel_play); } bool playAtTime_(double time) { - return _lib._objc_msgSend_1175(this.pointer, _lib._sel_playAtTime_1, time); + return _objc_msgSend_1174(this.pointer, _sel_playAtTime_, time); } void pause() { - _lib._objc_msgSend_1(this.pointer, _lib._sel_pause1); + _objc_msgSend_1(this.pointer, _sel_pause); } void stop() { - _lib._objc_msgSend_1(this.pointer, _lib._sel_stop1); + _objc_msgSend_1(this.pointer, _sel_stop); } bool get playing { - return _lib._objc_msgSend_12(this.pointer, _lib._sel_isPlaying1); + return _objc_msgSend_12(this.pointer, _sel_isPlaying); } int get numberOfChannels { - return _lib._objc_msgSend_10(this.pointer, _lib._sel_numberOfChannels1); + return _objc_msgSend_10(this.pointer, _sel_numberOfChannels); } double get duration { return objc.useMsgSendVariants - ? _lib._objc_msgSend_165_fpret(this.pointer, _lib._sel_duration1) - : _lib._objc_msgSend_165(this.pointer, _lib._sel_duration1); + ? _objc_msgSend_165Fpret(this.pointer, _sel_duration) + : _objc_msgSend_165(this.pointer, _sel_duration); } NSString? get currentDevice { - final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_currentDevice1); + final _ret = _objc_msgSend_44(this.pointer, _sel_currentDevice); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } set currentDevice(NSString? value) { - return _lib._objc_msgSend_545( - this.pointer, - _lib._sel_setCurrentDevice_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_545( + this.pointer, _sel_setCurrentDevice_, value?.pointer ?? ffi.nullptr); } NSObject? get delegate { - final _ret = _lib._objc_msgSend_17(this.pointer, _lib._sel_delegate1); + final _ret = _objc_msgSend_17(this.pointer, _sel_delegate); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } set delegate(NSObject? value) { - return _lib._objc_msgSend_416( - this.pointer, - _lib._sel_setDelegate_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_416( + this.pointer, _sel_setDelegate_, value?.pointer ?? ffi.nullptr); } NSURL? get url { - final _ret = _lib._objc_msgSend_45(this.pointer, _lib._sel_url1); + final _ret = _objc_msgSend_45(this.pointer, _sel_url); return _ret.address == 0 ? null - : NSURL._(_ret, _lib, retain: true, release: true); + : NSURL._(_ret, retain: true, release: true); } NSData? get data { - final _ret = _lib._objc_msgSend_286(this.pointer, _lib._sel_data1); + final _ret = _objc_msgSend_286(this.pointer, _sel_data); return _ret.address == 0 ? null - : NSData._(_ret, _lib, retain: true, release: true); + : NSData._(_ret, retain: true, release: true); } double get pan { return objc.useMsgSendVariants - ? _lib._objc_msgSend_239_fpret(this.pointer, _lib._sel_pan1) - : _lib._objc_msgSend_239(this.pointer, _lib._sel_pan1); + ? _objc_msgSend_239Fpret(this.pointer, _sel_pan) + : _objc_msgSend_239(this.pointer, _sel_pan); } set pan(double value) { - return _lib._objc_msgSend_881(this.pointer, _lib._sel_setPan_1, value); + return _objc_msgSend_881(this.pointer, _sel_setPan_, value); } double get volume { return objc.useMsgSendVariants - ? _lib._objc_msgSend_239_fpret(this.pointer, _lib._sel_volume1) - : _lib._objc_msgSend_239(this.pointer, _lib._sel_volume1); + ? _objc_msgSend_239Fpret(this.pointer, _sel_volume) + : _objc_msgSend_239(this.pointer, _sel_volume); } set volume(double value) { - return _lib._objc_msgSend_881(this.pointer, _lib._sel_setVolume_1, value); + return _objc_msgSend_881(this.pointer, _sel_setVolume_, value); } void setVolume_fadeDuration_(double volume, double duration) { - _lib._objc_msgSend_1176( - this.pointer, - _lib._sel_setVolume_fadeDuration_1, - volume, - duration, - ); + _objc_msgSend_1175( + this.pointer, _sel_setVolume_fadeDuration_, volume, duration); } bool get enableRate { - return _lib._objc_msgSend_12(this.pointer, _lib._sel_enableRate1); + return _objc_msgSend_12(this.pointer, _sel_enableRate); } set enableRate(bool value) { - return _lib._objc_msgSend_527( - this.pointer, - _lib._sel_setEnableRate_1, - value, - ); + return _objc_msgSend_527(this.pointer, _sel_setEnableRate_, value); } double get rate { return objc.useMsgSendVariants - ? _lib._objc_msgSend_239_fpret(this.pointer, _lib._sel_rate1) - : _lib._objc_msgSend_239(this.pointer, _lib._sel_rate1); + ? _objc_msgSend_239Fpret(this.pointer, _sel_rate) + : _objc_msgSend_239(this.pointer, _sel_rate); } set rate(double value) { - return _lib._objc_msgSend_881(this.pointer, _lib._sel_setRate_1, value); + return _objc_msgSend_881(this.pointer, _sel_setRate_, value); } double get currentTime { return objc.useMsgSendVariants - ? _lib._objc_msgSend_165_fpret(this.pointer, _lib._sel_currentTime1) - : _lib._objc_msgSend_165(this.pointer, _lib._sel_currentTime1); + ? _objc_msgSend_165Fpret(this.pointer, _sel_currentTime) + : _objc_msgSend_165(this.pointer, _sel_currentTime); } set currentTime(double value) { - return _lib._objc_msgSend_542( - this.pointer, - _lib._sel_setCurrentTime_1, - value, - ); + return _objc_msgSend_542(this.pointer, _sel_setCurrentTime_, value); } double get deviceCurrentTime { return objc.useMsgSendVariants - ? _lib._objc_msgSend_165_fpret( - this.pointer, - _lib._sel_deviceCurrentTime1, - ) - : _lib._objc_msgSend_165(this.pointer, _lib._sel_deviceCurrentTime1); + ? _objc_msgSend_165Fpret(this.pointer, _sel_deviceCurrentTime) + : _objc_msgSend_165(this.pointer, _sel_deviceCurrentTime); } int get numberOfLoops { - return _lib._objc_msgSend_83(this.pointer, _lib._sel_numberOfLoops1); + return _objc_msgSend_83(this.pointer, _sel_numberOfLoops); } set numberOfLoops(int value) { - return _lib._objc_msgSend_635( - this.pointer, - _lib._sel_setNumberOfLoops_1, - value, - ); + return _objc_msgSend_635(this.pointer, _sel_setNumberOfLoops_, value); } NSDictionary get settings { - final _ret = _lib._objc_msgSend_181(this.pointer, _lib._sel_settings1); - return NSDictionary._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_181(this.pointer, _sel_settings); + return NSDictionary._(_ret, retain: true, release: true); } AVAudioFormat get format { - final _ret = _lib._objc_msgSend_1193(this.pointer, _lib._sel_format1); - return AVAudioFormat._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_1192(this.pointer, _sel_format); + return AVAudioFormat._(_ret, retain: true, release: true); } bool get meteringEnabled { - return _lib._objc_msgSend_12(this.pointer, _lib._sel_isMeteringEnabled1); + return _objc_msgSend_12(this.pointer, _sel_isMeteringEnabled); } set meteringEnabled(bool value) { - return _lib._objc_msgSend_527( - this.pointer, - _lib._sel_setMeteringEnabled_1, - value, - ); + return _objc_msgSend_527(this.pointer, _sel_setMeteringEnabled_, value); } void updateMeters() { - _lib._objc_msgSend_1(this.pointer, _lib._sel_updateMeters1); + _objc_msgSend_1(this.pointer, _sel_updateMeters); } double peakPowerForChannel_(int channelNumber) { return objc.useMsgSendVariants - ? _lib._objc_msgSend_1194_fpret( - this.pointer, - _lib._sel_peakPowerForChannel_1, - channelNumber, - ) - : _lib._objc_msgSend_1194( - this.pointer, - _lib._sel_peakPowerForChannel_1, - channelNumber, - ); + ? _objc_msgSend_1193Fpret( + this.pointer, _sel_peakPowerForChannel_, channelNumber) + : _objc_msgSend_1193( + this.pointer, _sel_peakPowerForChannel_, channelNumber); } double averagePowerForChannel_(int channelNumber) { return objc.useMsgSendVariants - ? _lib._objc_msgSend_1194_fpret( - this.pointer, - _lib._sel_averagePowerForChannel_1, - channelNumber, - ) - : _lib._objc_msgSend_1194( - this.pointer, - _lib._sel_averagePowerForChannel_1, - channelNumber, - ); + ? _objc_msgSend_1193Fpret( + this.pointer, _sel_averagePowerForChannel_, channelNumber) + : _objc_msgSend_1193( + this.pointer, _sel_averagePowerForChannel_, channelNumber); } NSArray? get channelAssignments { - final _ret = _lib._objc_msgSend_84( - this.pointer, - _lib._sel_channelAssignments1, - ); + final _ret = _objc_msgSend_84(this.pointer, _sel_channelAssignments); return _ret.address == 0 ? null - : NSArray._(_ret, _lib, retain: true, release: true); + : NSArray._(_ret, retain: true, release: true); } set channelAssignments(NSArray? value) { - return _lib._objc_msgSend_1053( - this.pointer, - _lib._sel_setChannelAssignments_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_1053(this.pointer, _sel_setChannelAssignments_, + value?.pointer ?? ffi.nullptr); } @override AVAudioPlayer init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return AVAudioPlayer._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return AVAudioPlayer._(_ret, retain: true, release: true); } - static AVAudioPlayer new1(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_AVAudioPlayer1, - _lib._sel_new1, - ); - return AVAudioPlayer._(_ret, _lib, retain: false, release: true); + static AVAudioPlayer new1() { + final _ret = _objc_msgSend_2(_class_AVAudioPlayer, _sel_new); + return AVAudioPlayer._(_ret, retain: false, release: true); } - static AVAudioPlayer allocWithZone_( - AVFAudio _lib, - ffi.Pointer<_NSZone> zone, - ) { - final _ret = _lib._objc_msgSend_3( - _lib._class_AVAudioPlayer1, - _lib._sel_allocWithZone_1, - zone, - ); - return AVAudioPlayer._(_ret, _lib, retain: false, release: true); + static AVAudioPlayer allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = + _objc_msgSend_3(_class_AVAudioPlayer, _sel_allocWithZone_, zone); + return AVAudioPlayer._(_ret, retain: false, release: true); } - static AVAudioPlayer alloc(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_AVAudioPlayer1, - _lib._sel_alloc1, - ); - return AVAudioPlayer._(_ret, _lib, retain: false, release: true); + static AVAudioPlayer alloc() { + final _ret = _objc_msgSend_2(_class_AVAudioPlayer, _sel_alloc); + return AVAudioPlayer._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_AVAudioPlayer1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_AVAudioPlayer1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_AVAudioPlayer1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_AVAudioPlayer1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_AVAudioPlayer1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_AVAudioPlayer1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_AVAudioPlayer, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); } - static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_AVAudioPlayer1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_AVAudioPlayer1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_AVAudioPlayer1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_AVAudioPlayer, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); } -} + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_AVAudioPlayer, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_AVAudioPlayer, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_AVAudioPlayer, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_AVAudioPlayer, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); + } + + static void setKeys_triggerChangeNotificationsForDependentKey_( + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_AVAudioPlayer, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = _objc_msgSend_85( + _class_AVAudioPlayer, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = + _objc_msgSend_2(_class_AVAudioPlayer, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); + } +} + +late final _class_AVAudioPlayer = objc.getClass("AVAudioPlayer"); +late final _sel_initWithData_error_ = objc.registerName("initWithData:error:"); +final _objc_msgSend_1171 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer data, + ffi.Pointer> outError)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>(); +late final _sel_initWithContentsOfURL_fileTypeHint_error_ = + objc.registerName("initWithContentsOfURL:fileTypeHint:error:"); +final _objc_msgSend_1172 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer url, + ffi.Pointer utiString, + ffi.Pointer> outError)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>(); +late final _sel_initWithData_fileTypeHint_error_ = + objc.registerName("initWithData:fileTypeHint:error:"); +final _objc_msgSend_1173 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer data, + ffi.Pointer utiString, + ffi.Pointer> outError)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>(); +late final _sel_prepareToPlay = objc.registerName("prepareToPlay"); +late final _sel_play = objc.registerName("play"); +late final _sel_playAtTime_ = objc.registerName("playAtTime:"); +final _objc_msgSend_1174 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function(ffi.Pointer obj, + ffi.Pointer sel, ffi.Double time)>>() + .asFunction< + bool Function(ffi.Pointer, + ffi.Pointer, double)>(); +late final _sel_isPlaying = objc.registerName("isPlaying"); +late final _sel_numberOfChannels = objc.registerName("numberOfChannels"); +late final _sel_currentDevice = objc.registerName("currentDevice"); +late final _sel_setCurrentDevice_ = objc.registerName("setCurrentDevice:"); +late final _sel_url = objc.registerName("url"); +late final _sel_pan = objc.registerName("pan"); +late final _sel_setPan_ = objc.registerName("setPan:"); +late final _sel_volume = objc.registerName("volume"); +late final _sel_setVolume_ = objc.registerName("setVolume:"); +late final _sel_setVolume_fadeDuration_ = + objc.registerName("setVolume:fadeDuration:"); +final _objc_msgSend_1175 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Float volume, + ffi.Double duration)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, double, double)>(); +late final _sel_enableRate = objc.registerName("enableRate"); +late final _sel_setEnableRate_ = objc.registerName("setEnableRate:"); +late final _sel_rate = objc.registerName("rate"); +late final _sel_setRate_ = objc.registerName("setRate:"); +late final _sel_currentTime = objc.registerName("currentTime"); +late final _sel_setCurrentTime_ = objc.registerName("setCurrentTime:"); +late final _sel_deviceCurrentTime = objc.registerName("deviceCurrentTime"); +late final _sel_numberOfLoops = objc.registerName("numberOfLoops"); +late final _sel_setNumberOfLoops_ = objc.registerName("setNumberOfLoops:"); +late final _sel_settings = objc.registerName("settings"); class AVAudioFormat extends NSObject { - AVAudioFormat._( - ffi.Pointer pointer, - AVFAudio lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + AVAudioFormat._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [AVAudioFormat] that points to the same underlying object as [other]. - static AVAudioFormat castFrom( - AVFAudio lib, - T other, - ) { - return AVAudioFormat._(other.pointer, lib, retain: true, release: true); + static AVAudioFormat castFrom(T other) { + return AVAudioFormat._(other.pointer, retain: true, release: true); } /// Returns a [AVAudioFormat] that wraps the given raw object pointer. - static AVAudioFormat castFromPointer( - AVFAudio lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return AVAudioFormat._(other, lib, retain: retain, release: release); + static AVAudioFormat castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return AVAudioFormat._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [AVAudioFormat]. - static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_AVAudioFormat1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0( + obj.pointer, _sel_isKindOfClass_, _class_AVAudioFormat); } AVAudioFormat? initWithStreamDescription_( - ffi.Pointer asbd, - ) { - final _ret = _lib._objc_msgSend_1177( - this.pointer, - _lib._sel_initWithStreamDescription_1, - asbd, - ); + ffi.Pointer asbd) { + final _ret = + _objc_msgSend_1176(this.pointer, _sel_initWithStreamDescription_, asbd); return _ret.address == 0 ? null - : AVAudioFormat._(_ret, _lib, retain: true, release: true); + : AVAudioFormat._(_ret, retain: true, release: true); } AVAudioFormat? initWithStreamDescription_channelLayout_( - ffi.Pointer asbd, - AVAudioChannelLayout? layout, - ) { - final _ret = _lib._objc_msgSend_1183( - this.pointer, - _lib._sel_initWithStreamDescription_channelLayout_1, - asbd, - layout?.pointer ?? ffi.nullptr, - ); + ffi.Pointer asbd, + AVAudioChannelLayout? layout) { + final _ret = _objc_msgSend_1182( + this.pointer, + _sel_initWithStreamDescription_channelLayout_, + asbd, + layout?.pointer ?? ffi.nullptr); return _ret.address == 0 ? null - : AVAudioFormat._(_ret, _lib, retain: true, release: true); + : AVAudioFormat._(_ret, retain: true, release: true); } AVAudioFormat? initStandardFormatWithSampleRate_channels_( - double sampleRate, - int channels, - ) { - final _ret = _lib._objc_msgSend_1184( - this.pointer, - _lib._sel_initStandardFormatWithSampleRate_channels_1, - sampleRate, - channels, - ); + double sampleRate, int channels) { + final _ret = _objc_msgSend_1183(this.pointer, + _sel_initStandardFormatWithSampleRate_channels_, sampleRate, channels); return _ret.address == 0 ? null - : AVAudioFormat._(_ret, _lib, retain: true, release: true); + : AVAudioFormat._(_ret, retain: true, release: true); } AVAudioFormat initStandardFormatWithSampleRate_channelLayout_( - double sampleRate, - AVAudioChannelLayout layout, - ) { - final _ret = _lib._objc_msgSend_1185( - this.pointer, - _lib._sel_initStandardFormatWithSampleRate_channelLayout_1, - sampleRate, - layout.pointer, - ); - return AVAudioFormat._(_ret, _lib, retain: true, release: true); + double sampleRate, AVAudioChannelLayout layout) { + final _ret = _objc_msgSend_1184( + this.pointer, + _sel_initStandardFormatWithSampleRate_channelLayout_, + sampleRate, + layout.pointer); + return AVAudioFormat._(_ret, retain: true, release: true); } AVAudioFormat? initWithCommonFormat_sampleRate_channels_interleaved_( - int format, - double sampleRate, - int channels, - bool interleaved, - ) { - final _ret = _lib._objc_msgSend_1186( - this.pointer, - _lib._sel_initWithCommonFormat_sampleRate_channels_interleaved_1, - format, - sampleRate, - channels, - interleaved, - ); + int format, double sampleRate, int channels, bool interleaved) { + final _ret = _objc_msgSend_1185( + this.pointer, + _sel_initWithCommonFormat_sampleRate_channels_interleaved_, + format, + sampleRate, + channels, + interleaved); return _ret.address == 0 ? null - : AVAudioFormat._(_ret, _lib, retain: true, release: true); + : AVAudioFormat._(_ret, retain: true, release: true); } AVAudioFormat initWithCommonFormat_sampleRate_interleaved_channelLayout_( - int format, - double sampleRate, - bool interleaved, - AVAudioChannelLayout layout, - ) { - final _ret = _lib._objc_msgSend_1187( - this.pointer, - _lib._sel_initWithCommonFormat_sampleRate_interleaved_channelLayout_1, - format, - sampleRate, - interleaved, - layout.pointer, - ); - return AVAudioFormat._(_ret, _lib, retain: true, release: true); + int format, + double sampleRate, + bool interleaved, + AVAudioChannelLayout layout) { + final _ret = _objc_msgSend_1186( + this.pointer, + _sel_initWithCommonFormat_sampleRate_interleaved_channelLayout_, + format, + sampleRate, + interleaved, + layout.pointer); + return AVAudioFormat._(_ret, retain: true, release: true); } AVAudioFormat? initWithSettings_(NSDictionary settings) { - final _ret = _lib._objc_msgSend_851( - this.pointer, - _lib._sel_initWithSettings_1, - settings.pointer, - ); + final _ret = _objc_msgSend_851( + this.pointer, _sel_initWithSettings_, settings.pointer); return _ret.address == 0 ? null - : AVAudioFormat._(_ret, _lib, retain: true, release: true); + : AVAudioFormat._(_ret, retain: true, release: true); } AVAudioFormat initWithCMAudioFormatDescription_( - ffi.Pointer formatDescription, - ) { - final _ret = _lib._objc_msgSend_1188( - this.pointer, - _lib._sel_initWithCMAudioFormatDescription_1, - formatDescription, - ); - return AVAudioFormat._(_ret, _lib, retain: true, release: true); + ffi.Pointer formatDescription) { + final _ret = _objc_msgSend_1187(this.pointer, + _sel_initWithCMAudioFormatDescription_, formatDescription); + return AVAudioFormat._(_ret, retain: true, release: true); } bool isEqual_(NSObject object) { - return _lib._objc_msgSend_0( - this.pointer, - _lib._sel_isEqual_1, - object.pointer, - ); + return _objc_msgSend_0(this.pointer, _sel_isEqual_, object.pointer); } bool get standard { - return _lib._objc_msgSend_12(this.pointer, _lib._sel_isStandard1); + return _objc_msgSend_12(this.pointer, _sel_isStandard); } int get commonFormat { - return _lib._objc_msgSend_1189(this.pointer, _lib._sel_commonFormat1); + return _objc_msgSend_1188(this.pointer, _sel_commonFormat); } int get channelCount { - return _lib._objc_msgSend_1182(this.pointer, _lib._sel_channelCount1); + return _objc_msgSend_1181(this.pointer, _sel_channelCount); } double get sampleRate { return objc.useMsgSendVariants - ? _lib._objc_msgSend_165_fpret(this.pointer, _lib._sel_sampleRate1) - : _lib._objc_msgSend_165(this.pointer, _lib._sel_sampleRate1); + ? _objc_msgSend_165Fpret(this.pointer, _sel_sampleRate) + : _objc_msgSend_165(this.pointer, _sel_sampleRate); } bool get interleaved { - return _lib._objc_msgSend_12(this.pointer, _lib._sel_isInterleaved1); + return _objc_msgSend_12(this.pointer, _sel_isInterleaved); } ffi.Pointer get streamDescription { - return _lib._objc_msgSend_1190(this.pointer, _lib._sel_streamDescription1); + return _objc_msgSend_1189(this.pointer, _sel_streamDescription); } AVAudioChannelLayout? get channelLayout { - final _ret = _lib._objc_msgSend_1191( - this.pointer, - _lib._sel_channelLayout1, - ); + final _ret = _objc_msgSend_1190(this.pointer, _sel_channelLayout); return _ret.address == 0 ? null - : AVAudioChannelLayout._(_ret, _lib, retain: true, release: true); + : AVAudioChannelLayout._(_ret, retain: true, release: true); } NSData? get magicCookie { - final _ret = _lib._objc_msgSend_286(this.pointer, _lib._sel_magicCookie1); + final _ret = _objc_msgSend_286(this.pointer, _sel_magicCookie); return _ret.address == 0 ? null - : NSData._(_ret, _lib, retain: true, release: true); + : NSData._(_ret, retain: true, release: true); } set magicCookie(NSData? value) { - return _lib._objc_msgSend_1021( - this.pointer, - _lib._sel_setMagicCookie_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_1021( + this.pointer, _sel_setMagicCookie_, value?.pointer ?? ffi.nullptr); } NSDictionary get settings { - final _ret = _lib._objc_msgSend_181(this.pointer, _lib._sel_settings1); - return NSDictionary._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_181(this.pointer, _sel_settings); + return NSDictionary._(_ret, retain: true, release: true); } ffi.Pointer get formatDescription { - return _lib._objc_msgSend_1192(this.pointer, _lib._sel_formatDescription1); + return _objc_msgSend_1191(this.pointer, _sel_formatDescription); } @override AVAudioFormat init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return AVAudioFormat._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return AVAudioFormat._(_ret, retain: true, release: true); } - static AVAudioFormat new1(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_AVAudioFormat1, - _lib._sel_new1, - ); - return AVAudioFormat._(_ret, _lib, retain: false, release: true); + static AVAudioFormat new1() { + final _ret = _objc_msgSend_2(_class_AVAudioFormat, _sel_new); + return AVAudioFormat._(_ret, retain: false, release: true); } - static AVAudioFormat allocWithZone_( - AVFAudio _lib, - ffi.Pointer<_NSZone> zone, - ) { - final _ret = _lib._objc_msgSend_3( - _lib._class_AVAudioFormat1, - _lib._sel_allocWithZone_1, - zone, - ); - return AVAudioFormat._(_ret, _lib, retain: false, release: true); + static AVAudioFormat allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = + _objc_msgSend_3(_class_AVAudioFormat, _sel_allocWithZone_, zone); + return AVAudioFormat._(_ret, retain: false, release: true); } - static AVAudioFormat alloc(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_AVAudioFormat1, - _lib._sel_alloc1, - ); - return AVAudioFormat._(_ret, _lib, retain: false, release: true); + static AVAudioFormat alloc() { + final _ret = _objc_msgSend_2(_class_AVAudioFormat, _sel_alloc); + return AVAudioFormat._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_AVAudioFormat1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_AVAudioFormat1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_AVAudioFormat1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_AVAudioFormat1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_AVAudioFormat1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_AVAudioFormat1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_AVAudioFormat, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); + } + + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_AVAudioFormat, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); + } + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_AVAudioFormat, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_AVAudioFormat, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_AVAudioFormat, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_AVAudioFormat, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); } static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_AVAudioFormat1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_AVAudioFormat1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_AVAudioFormat1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_AVAudioFormat, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = _objc_msgSend_85( + _class_AVAudioFormat, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = + _objc_msgSend_2(_class_AVAudioFormat, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); } } +late final _class_AVAudioFormat = objc.getClass("AVAudioFormat"); + final class AudioStreamBasicDescription extends ffi.Struct { @ffi.Double() external double mSampleRate; @@ -97992,237 +61784,182 @@ final class AudioStreamBasicDescription extends ffi.Struct { external int mReserved; } +late final _sel_initWithStreamDescription_ = + objc.registerName("initWithStreamDescription:"); +final _objc_msgSend_1176 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer asbd)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); + class AVAudioChannelLayout extends NSObject { - AVAudioChannelLayout._( - ffi.Pointer pointer, - AVFAudio lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + AVAudioChannelLayout._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [AVAudioChannelLayout] that points to the same underlying object as [other]. - static AVAudioChannelLayout castFrom( - AVFAudio lib, - T other, - ) { - return AVAudioChannelLayout._( - other.pointer, - lib, - retain: true, - release: true, - ); + static AVAudioChannelLayout castFrom(T other) { + return AVAudioChannelLayout._(other.pointer, retain: true, release: true); } /// Returns a [AVAudioChannelLayout] that wraps the given raw object pointer. static AVAudioChannelLayout castFromPointer( - AVFAudio lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return AVAudioChannelLayout._(other, lib, retain: retain, release: release); + ffi.Pointer other, + {bool retain = false, + bool release = false}) { + return AVAudioChannelLayout._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [AVAudioChannelLayout]. - static bool isInstance(AVFAudio lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_AVAudioChannelLayout1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0( + obj.pointer, _sel_isKindOfClass_, _class_AVAudioChannelLayout); } @override AVAudioChannelLayout init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return AVAudioChannelLayout._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return AVAudioChannelLayout._(_ret, retain: true, release: true); } AVAudioChannelLayout? initWithLayoutTag_(int layoutTag) { - final _ret = _lib._objc_msgSend_1178( - this.pointer, - _lib._sel_initWithLayoutTag_1, - layoutTag, - ); + final _ret = + _objc_msgSend_1177(this.pointer, _sel_initWithLayoutTag_, layoutTag); return _ret.address == 0 ? null - : AVAudioChannelLayout._(_ret, _lib, retain: true, release: true); + : AVAudioChannelLayout._(_ret, retain: true, release: true); } AVAudioChannelLayout initWithLayout_(ffi.Pointer layout) { - final _ret = _lib._objc_msgSend_1179( - this.pointer, - _lib._sel_initWithLayout_1, - layout, - ); - return AVAudioChannelLayout._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_1178(this.pointer, _sel_initWithLayout_, layout); + return AVAudioChannelLayout._(_ret, retain: true, release: true); } bool isEqual_(NSObject object) { - return _lib._objc_msgSend_0( - this.pointer, - _lib._sel_isEqual_1, - object.pointer, - ); + return _objc_msgSend_0(this.pointer, _sel_isEqual_, object.pointer); } - static AVAudioChannelLayout layoutWithLayoutTag_( - AVFAudio _lib, - int layoutTag, - ) { - final _ret = _lib._objc_msgSend_1180( - _lib._class_AVAudioChannelLayout1, - _lib._sel_layoutWithLayoutTag_1, - layoutTag, - ); - return AVAudioChannelLayout._(_ret, _lib, retain: true, release: true); + static AVAudioChannelLayout layoutWithLayoutTag_(int layoutTag) { + final _ret = _objc_msgSend_1179( + _class_AVAudioChannelLayout, _sel_layoutWithLayoutTag_, layoutTag); + return AVAudioChannelLayout._(_ret, retain: true, release: true); } static AVAudioChannelLayout layoutWithLayout_( - AVFAudio _lib, - ffi.Pointer layout, - ) { - final _ret = _lib._objc_msgSend_1179( - _lib._class_AVAudioChannelLayout1, - _lib._sel_layoutWithLayout_1, - layout, - ); - return AVAudioChannelLayout._(_ret, _lib, retain: true, release: true); + ffi.Pointer layout) { + final _ret = _objc_msgSend_1178( + _class_AVAudioChannelLayout, _sel_layoutWithLayout_, layout); + return AVAudioChannelLayout._(_ret, retain: true, release: true); } int get layoutTag { - return _lib._objc_msgSend_214(this.pointer, _lib._sel_layoutTag1); + return _objc_msgSend_214(this.pointer, _sel_layoutTag); } ffi.Pointer get layout { - return _lib._objc_msgSend_1181(this.pointer, _lib._sel_layout1); + return _objc_msgSend_1180(this.pointer, _sel_layout); } int get channelCount { - return _lib._objc_msgSend_1182(this.pointer, _lib._sel_channelCount1); + return _objc_msgSend_1181(this.pointer, _sel_channelCount); } - static AVAudioChannelLayout new1(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_AVAudioChannelLayout1, - _lib._sel_new1, - ); - return AVAudioChannelLayout._(_ret, _lib, retain: false, release: true); + static AVAudioChannelLayout new1() { + final _ret = _objc_msgSend_2(_class_AVAudioChannelLayout, _sel_new); + return AVAudioChannelLayout._(_ret, retain: false, release: true); } - static AVAudioChannelLayout allocWithZone_( - AVFAudio _lib, - ffi.Pointer<_NSZone> zone, - ) { - final _ret = _lib._objc_msgSend_3( - _lib._class_AVAudioChannelLayout1, - _lib._sel_allocWithZone_1, - zone, - ); - return AVAudioChannelLayout._(_ret, _lib, retain: false, release: true); + static AVAudioChannelLayout allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = + _objc_msgSend_3(_class_AVAudioChannelLayout, _sel_allocWithZone_, zone); + return AVAudioChannelLayout._(_ret, retain: false, release: true); } - static AVAudioChannelLayout alloc(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_AVAudioChannelLayout1, - _lib._sel_alloc1, - ); - return AVAudioChannelLayout._(_ret, _lib, retain: false, release: true); + static AVAudioChannelLayout alloc() { + final _ret = _objc_msgSend_2(_class_AVAudioChannelLayout, _sel_alloc); + return AVAudioChannelLayout._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - AVFAudio _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_AVAudioChannelLayout1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - AVFAudio _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_AVAudioChannelLayout1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_AVAudioChannelLayout1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(AVFAudio _lib) { - return _lib._objc_msgSend_12( - _lib._class_AVAudioChannelLayout1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - AVFAudio _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_AVAudioChannelLayout1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - AVFAudio _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_AVAudioChannelLayout1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_AVAudioChannelLayout, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); + } + + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_AVAudioChannelLayout, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); + } + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_AVAudioChannelLayout, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12( + _class_AVAudioChannelLayout, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_AVAudioChannelLayout, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_AVAudioChannelLayout, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); } static void setKeys_triggerChangeNotificationsForDependentKey_( - AVFAudio _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_AVAudioChannelLayout1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_AVAudioChannelLayout1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(AVFAudio _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_AVAudioChannelLayout1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_AVAudioChannelLayout, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = _objc_msgSend_85( + _class_AVAudioChannelLayout, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = _objc_msgSend_2( + _class_AVAudioChannelLayout, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); } } +late final _class_AVAudioChannelLayout = objc.getClass("AVAudioChannelLayout"); +late final _sel_initWithLayoutTag_ = objc.registerName("initWithLayoutTag:"); +final _objc_msgSend_1177 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.UnsignedInt layoutTag)>>() + .asFunction< + instancetype Function(ffi.Pointer, + ffi.Pointer, int)>(); + final class AudioChannelLayout extends ffi.Struct { @ffi.UnsignedInt() external int mChannelLayoutTag; @@ -98285,6 +62022,97 @@ abstract class AudioChannelFlags { static const int kAudioChannelFlags_Meters = 4; } +late final _sel_initWithLayout_ = objc.registerName("initWithLayout:"); +final _objc_msgSend_1178 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer layout)>>() + .asFunction< + instancetype Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_isEqual_ = objc.registerName("isEqual:"); +late final _sel_layoutWithLayoutTag_ = + objc.registerName("layoutWithLayoutTag:"); +final _objc_msgSend_1179 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.UnsignedInt layoutTag)>>() + .asFunction< + instancetype Function(ffi.Pointer, + ffi.Pointer, int)>(); +late final _sel_layoutWithLayout_ = objc.registerName("layoutWithLayout:"); +late final _sel_layoutTag = objc.registerName("layoutTag"); +late final _sel_layout = objc.registerName("layout"); +final _objc_msgSend_1180 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_channelCount = objc.registerName("channelCount"); +final _objc_msgSend_1181 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Uint32 Function(ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + int Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_initWithStreamDescription_channelLayout_ = + objc.registerName("initWithStreamDescription:channelLayout:"); +final _objc_msgSend_1182 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer asbd, + ffi.Pointer layout)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_initStandardFormatWithSampleRate_channels_ = + objc.registerName("initStandardFormatWithSampleRate:channels:"); +final _objc_msgSend_1183 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Double sampleRate, + ffi.Uint32 channels)>>() + .asFunction< + instancetype Function(ffi.Pointer, + ffi.Pointer, double, int)>(); +late final _sel_initStandardFormatWithSampleRate_channelLayout_ = + objc.registerName("initStandardFormatWithSampleRate:channelLayout:"); +final _objc_msgSend_1184 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Double sampleRate, + ffi.Pointer layout)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + double, + ffi.Pointer)>(); + abstract class AVAudioCommonFormat { static const int AVAudioOtherFormat = 0; static const int AVAudioPCMFormatFloat32 = 1; @@ -98293,4 +62121,139 @@ abstract class AVAudioCommonFormat { static const int AVAudioPCMFormatInt32 = 4; } +late final _sel_initWithCommonFormat_sampleRate_channels_interleaved_ = + objc.registerName("initWithCommonFormat:sampleRate:channels:interleaved:"); +final _objc_msgSend_1185 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Int32 format, + ffi.Double sampleRate, + ffi.Uint32 channels, + ffi.Bool interleaved)>>() + .asFunction< + instancetype Function(ffi.Pointer, + ffi.Pointer, int, double, int, bool)>(); +late final _sel_initWithCommonFormat_sampleRate_interleaved_channelLayout_ = + objc.registerName( + "initWithCommonFormat:sampleRate:interleaved:channelLayout:"); +final _objc_msgSend_1186 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Int32 format, + ffi.Double sampleRate, + ffi.Bool interleaved, + ffi.Pointer layout)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + int, + double, + bool, + ffi.Pointer)>(); +late final _sel_initWithSettings_ = objc.registerName("initWithSettings:"); + final class opaqueCMFormatDescription extends ffi.Opaque {} + +late final _sel_initWithCMAudioFormatDescription_ = + objc.registerName("initWithCMAudioFormatDescription:"); +final _objc_msgSend_1187 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer formatDescription)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_isStandard = objc.registerName("isStandard"); +late final _sel_commonFormat = objc.registerName("commonFormat"); +final _objc_msgSend_1188 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + int Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_isInterleaved = objc.registerName("isInterleaved"); +late final _sel_streamDescription = objc.registerName("streamDescription"); +final _objc_msgSend_1189 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_channelLayout = objc.registerName("channelLayout"); +final _objc_msgSend_1190 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_magicCookie = objc.registerName("magicCookie"); +late final _sel_setMagicCookie_ = objc.registerName("setMagicCookie:"); +late final _sel_formatDescription = objc.registerName("formatDescription"); +final _objc_msgSend_1191 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +final _objc_msgSend_1192 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_isMeteringEnabled = objc.registerName("isMeteringEnabled"); +late final _sel_setMeteringEnabled_ = objc.registerName("setMeteringEnabled:"); +late final _sel_updateMeters = objc.registerName("updateMeters"); +late final _sel_peakPowerForChannel_ = + objc.registerName("peakPowerForChannel:"); +final _objc_msgSend_1193 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Float Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.UnsignedLong channelNumber)>>() + .asFunction< + double Function(ffi.Pointer, + ffi.Pointer, int)>(); +final _objc_msgSend_1193Fpret = objc.msgSendFpretPointer + .cast< + ffi.NativeFunction< + ffi.Float Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.UnsignedLong channelNumber)>>() + .asFunction< + double Function(ffi.Pointer, + ffi.Pointer, int)>(); +late final _sel_averagePowerForChannel_ = + objc.registerName("averagePowerForChannel:"); +late final _sel_channelAssignments = objc.registerName("channelAssignments"); +late final _sel_setChannelAssignments_ = + objc.registerName("setChannelAssignments:"); diff --git a/pkgs/ffigen/example/objective_c/play_audio.dart b/pkgs/ffigen/example/objective_c/play_audio.dart index 88deb74de..2e5427db4 100644 --- a/pkgs/ffigen/example/objective_c/play_audio.dart +++ b/pkgs/ffigen/example/objective_c/play_audio.dart @@ -9,13 +9,13 @@ const _dylibPath = '/System/Library/Frameworks/AVFAudio.framework/Versions/Current/AVFAudio'; void main(List args) async { - final lib = AVFAudio(DynamicLibrary.open(_dylibPath)); + DynamicLibrary.open(_dylibPath); for (final file in args) { - final fileStr = NSString(lib, file); + final fileStr = NSString(file); print('Loading $fileStr'); - final fileUrl = NSURL.fileURLWithPath_(lib, fileStr); + final fileUrl = NSURL.fileURLWithPath_(fileStr); final player = - AVAudioPlayer.alloc(lib).initWithContentsOfURL_error_(fileUrl, nullptr); + AVAudioPlayer.alloc().initWithContentsOfURL_error_(fileUrl, nullptr); if (player == null) { print('Failed to load audio'); continue; diff --git a/pkgs/ffigen/example/swift/example.dart b/pkgs/ffigen/example/swift/example.dart index c9dd5ba44..b6188ce8c 100644 --- a/pkgs/ffigen/example/swift/example.dart +++ b/pkgs/ffigen/example/swift/example.dart @@ -7,8 +7,8 @@ import 'swift_api_bindings.dart'; void main() { // TODO(https://github.com/dart-lang/ffigen/issues/443): Add a test for this. - final lib = SwiftLibrary(DynamicLibrary.open('libswiftapi.dylib')); - final object = SwiftClass.new1(lib); + DynamicLibrary.open('libswiftapi.dylib'); + final object = SwiftClass.new1(); print(object.sayHello()); print('field = ${object.someField}'); object.someField = 456; diff --git a/pkgs/ffigen/example/swift/swift_api_bindings.dart b/pkgs/ffigen/example/swift/swift_api_bindings.dart index e0b24098f..b41a07144 100644 --- a/pkgs/ffigen/example/swift/swift_api_bindings.dart +++ b/pkgs/ffigen/example/swift/swift_api_bindings.dart @@ -16,40971 +16,4422 @@ import 'dart:ffi' as ffi; import 'package:objective_c/objective_c.dart' as objc; import 'package:ffi/ffi.dart' as pkg_ffi; -/// Bindings for swift_api. -class SwiftLibrary { - /// Holds the symbol lookup function. - final ffi.Pointer Function( - String symbolName, - ) _lookup; - - /// The symbols are looked up in [dynamicLibrary]. - SwiftLibrary(ffi.DynamicLibrary dynamicLibrary) - : _lookup = dynamicLibrary.lookup; - - /// The symbols are looked up with [lookup]. - SwiftLibrary.fromLookup( - ffi.Pointer Function(String symbolName) lookup, - ) : _lookup = lookup; - - late final _class_NSObject1 = objc.getClass("NSObject"); - late final _sel_load1 = objc.registerName("load"); - void _objc_msgSend_1( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_1(obj, sel); - } - - late final __objc_msgSend_1Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1 = __objc_msgSend_1Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_initialize1 = objc.registerName("initialize"); - late final _sel_init1 = objc.registerName("init"); - instancetype _objc_msgSend_2( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_2(obj, sel); - } - - late final __objc_msgSend_2Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_2 = __objc_msgSend_2Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_new1 = objc.registerName("new"); - late final _sel_allocWithZone_1 = objc.registerName("allocWithZone:"); - instancetype _objc_msgSend_3( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer<_NSZone> zone, - ) { - return __objc_msgSend_3(obj, sel, zone); - } - - late final __objc_msgSend_3Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_NSZone>, - )>>('objc_msgSend'); - late final __objc_msgSend_3 = __objc_msgSend_3Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_NSZone>, - )>(); - - late final _sel_alloc1 = objc.registerName("alloc"); - late final _sel_dealloc1 = objc.registerName("dealloc"); - late final _sel_finalize1 = objc.registerName("finalize"); - late final _sel_copy1 = objc.registerName("copy"); - late final _sel_mutableCopy1 = objc.registerName("mutableCopy"); - late final _sel_copyWithZone_1 = objc.registerName("copyWithZone:"); - late final _sel_mutableCopyWithZone_1 = objc.registerName( - "mutableCopyWithZone:", - ); - late final _sel_instancesRespondToSelector_1 = objc.registerName( - "instancesRespondToSelector:", - ); - bool _objc_msgSend_4( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aSelector, - ) { - return __objc_msgSend_4(obj, sel, aSelector); - } - - late final __objc_msgSend_4Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_4 = __objc_msgSend_4Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - bool _objc_msgSend_0( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer clazz, - ) { - return __objc_msgSend_0(obj, sel, clazz); - } - - late final __objc_msgSend_0Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_0 = __objc_msgSend_0Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_isKindOfClass_1 = objc.registerName("isKindOfClass:"); - late final _class_Protocol1 = objc.getClass("Protocol"); - late final _sel_conformsToProtocol_1 = objc.registerName( - "conformsToProtocol:", - ); - bool _objc_msgSend_5( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer protocol, - ) { - return __objc_msgSend_5(obj, sel, protocol); - } - - late final __objc_msgSend_5Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_5 = __objc_msgSend_5Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_methodForSelector_1 = objc.registerName("methodForSelector:"); - ffi.Pointer> _objc_msgSend_6( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aSelector, - ) { - return __objc_msgSend_6(obj, sel, aSelector); - } - - late final __objc_msgSend_6Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer> Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_6 = __objc_msgSend_6Ptr.asFunction< - ffi.Pointer> Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_instanceMethodForSelector_1 = objc.registerName( - "instanceMethodForSelector:", - ); - late final _sel_doesNotRecognizeSelector_1 = objc.registerName( - "doesNotRecognizeSelector:", - ); - void _objc_msgSend_7( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aSelector, - ) { - return __objc_msgSend_7(obj, sel, aSelector); - } - - late final __objc_msgSend_7Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_7 = __objc_msgSend_7Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_forwardingTargetForSelector_1 = objc.registerName( - "forwardingTargetForSelector:", - ); - ffi.Pointer _objc_msgSend_8( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aSelector, - ) { - return __objc_msgSend_8(obj, sel, aSelector); - } - - late final __objc_msgSend_8Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_8 = __objc_msgSend_8Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _class_NSInvocation1 = objc.getClass("NSInvocation"); - late final _class_NSMethodSignature1 = objc.getClass("NSMethodSignature"); - late final _sel_signatureWithObjCTypes_1 = objc.registerName( - "signatureWithObjCTypes:", - ); - ffi.Pointer _objc_msgSend_9( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer types, - ) { - return __objc_msgSend_9(obj, sel, types); - } - - late final __objc_msgSend_9Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_9 = __objc_msgSend_9Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_numberOfArguments1 = objc.registerName("numberOfArguments"); - int _objc_msgSend_10( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_10(obj, sel); - } - - late final __objc_msgSend_10Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_10 = __objc_msgSend_10Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_getArgumentTypeAtIndex_1 = objc.registerName( - "getArgumentTypeAtIndex:", - ); - ffi.Pointer _objc_msgSend_11( - ffi.Pointer obj, - ffi.Pointer sel, - int idx, - ) { - return __objc_msgSend_11(obj, sel, idx); - } - - late final __objc_msgSend_11Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - )>>('objc_msgSend'); - late final __objc_msgSend_11 = __objc_msgSend_11Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_frameLength1 = objc.registerName("frameLength"); - late final _sel_isOneway1 = objc.registerName("isOneway"); - bool _objc_msgSend_12( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_12(obj, sel); - } - - late final __objc_msgSend_12Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_12 = __objc_msgSend_12Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_methodReturnType1 = objc.registerName("methodReturnType"); - ffi.Pointer _objc_msgSend_13( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_13(obj, sel); - } - - late final __objc_msgSend_13Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_13 = __objc_msgSend_13Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_methodReturnLength1 = objc.registerName("methodReturnLength"); - late final _sel_cancelPreviousPerformRequestsWithTarget_selector_object_1 = - objc.registerName( - "cancelPreviousPerformRequestsWithTarget:selector:object:", - ); - void _objc_msgSend_14( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aTarget, - ffi.Pointer aSelector, - ffi.Pointer anArgument, - ) { - return __objc_msgSend_14(obj, sel, aTarget, aSelector, anArgument); - } - - late final __objc_msgSend_14Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_14 = __objc_msgSend_14Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_cancelPreviousPerformRequestsWithTarget_1 = objc.registerName( - "cancelPreviousPerformRequestsWithTarget:", - ); - void _objc_msgSend_15( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aTarget, - ) { - return __objc_msgSend_15(obj, sel, aTarget); - } - - late final __objc_msgSend_15Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_15 = __objc_msgSend_15Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_accessInstanceVariablesDirectly1 = objc.registerName( - "accessInstanceVariablesDirectly", - ); - late final _sel_useStoredAccessor1 = objc.registerName("useStoredAccessor"); - late final _class_NSSet1 = objc.getClass("NSSet"); - late final _sel_count1 = objc.registerName("count"); - late final _sel_member_1 = objc.registerName("member:"); - ffi.Pointer _objc_msgSend_16( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer object, - ) { - return __objc_msgSend_16(obj, sel, object); - } - - late final __objc_msgSend_16Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_16 = __objc_msgSend_16Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _class_NSEnumerator1 = objc.getClass("NSEnumerator"); - late final _sel_nextObject1 = objc.registerName("nextObject"); - ffi.Pointer _objc_msgSend_17( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_17(obj, sel); - } - - late final __objc_msgSend_17Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_17 = __objc_msgSend_17Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_allObjects1 = objc.registerName("allObjects"); - late final _class_NSString1 = objc.getClass("NSString"); - late final _sel_length1 = objc.registerName("length"); - late final _sel_characterAtIndex_1 = objc.registerName("characterAtIndex:"); - int _objc_msgSend_18( - ffi.Pointer obj, - ffi.Pointer sel, - int index, - ) { - return __objc_msgSend_18(obj, sel, index); - } - - late final __objc_msgSend_18Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedShort Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - )>>('objc_msgSend'); - late final __objc_msgSend_18 = __objc_msgSend_18Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _class_NSCoder1 = objc.getClass("NSCoder"); - late final _sel_encodeValueOfObjCType_at_1 = objc.registerName( - "encodeValueOfObjCType:at:", - ); - void _objc_msgSend_19( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer type, - ffi.Pointer addr, - ) { - return __objc_msgSend_19(obj, sel, type, addr); - } - - late final __objc_msgSend_19Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_19 = __objc_msgSend_19Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _class_NSData1 = objc.getClass("NSData"); - late final _sel_bytes1 = objc.registerName("bytes"); - ffi.Pointer _objc_msgSend_20( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_20(obj, sel); - } - - late final __objc_msgSend_20Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_20 = __objc_msgSend_20Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_description1 = objc.registerName("description"); - ffi.Pointer _objc_msgSend_21( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_21(obj, sel); - } - - late final __objc_msgSend_21Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_21 = __objc_msgSend_21Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_getBytes_length_1 = objc.registerName("getBytes:length:"); - void _objc_msgSend_22( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer buffer, - int length, - ) { - return __objc_msgSend_22(obj, sel, buffer, length); - } - - late final __objc_msgSend_22Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - )>>('objc_msgSend'); - late final __objc_msgSend_22 = __objc_msgSend_22Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_getBytes_range_1 = objc.registerName("getBytes:range:"); - void _objc_msgSend_23( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer buffer, - _NSRange range, - ) { - return __objc_msgSend_23(obj, sel, buffer, range); - } - - late final __objc_msgSend_23Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - _NSRange, - )>>('objc_msgSend'); - late final __objc_msgSend_23 = __objc_msgSend_23Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - _NSRange, - )>(); - - late final _sel_isEqualToData_1 = objc.registerName("isEqualToData:"); - bool _objc_msgSend_24( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer other, - ) { - return __objc_msgSend_24(obj, sel, other); - } - - late final __objc_msgSend_24Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_24 = __objc_msgSend_24Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_subdataWithRange_1 = objc.registerName("subdataWithRange:"); - ffi.Pointer _objc_msgSend_25( - ffi.Pointer obj, - ffi.Pointer sel, - _NSRange range, - ) { - return __objc_msgSend_25(obj, sel, range); - } - - late final __objc_msgSend_25Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - )>>('objc_msgSend'); - late final __objc_msgSend_25 = __objc_msgSend_25Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - )>(); - - late final _sel_writeToFile_atomically_1 = objc.registerName( - "writeToFile:atomically:", - ); - bool _objc_msgSend_26( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, - bool useAuxiliaryFile, - ) { - return __objc_msgSend_26(obj, sel, path, useAuxiliaryFile); - } - - late final __objc_msgSend_26Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - )>>('objc_msgSend'); - late final __objc_msgSend_26 = __objc_msgSend_26Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - )>(); - - late final _class_NSURL1 = objc.getClass("NSURL"); - late final _sel_initWithScheme_host_path_1 = objc.registerName( - "initWithScheme:host:path:", - ); - instancetype _objc_msgSend_27( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer scheme, - ffi.Pointer host, - ffi.Pointer path, - ) { - return __objc_msgSend_27(obj, sel, scheme, host, path); - } - - late final __objc_msgSend_27Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_27 = __objc_msgSend_27Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_initFileURLWithPath_isDirectory_relativeToURL_1 = - objc.registerName("initFileURLWithPath:isDirectory:relativeToURL:"); - instancetype _objc_msgSend_28( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, - bool isDir, - ffi.Pointer baseURL, - ) { - return __objc_msgSend_28(obj, sel, path, isDir, baseURL); - } - - late final __objc_msgSend_28Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_28 = __objc_msgSend_28Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - ffi.Pointer, - )>(); - - late final _sel_initFileURLWithPath_relativeToURL_1 = objc.registerName( - "initFileURLWithPath:relativeToURL:", - ); - instancetype _objc_msgSend_29( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, - ffi.Pointer baseURL, - ) { - return __objc_msgSend_29(obj, sel, path, baseURL); - } - - late final __objc_msgSend_29Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_29 = __objc_msgSend_29Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_initFileURLWithPath_isDirectory_1 = objc.registerName( - "initFileURLWithPath:isDirectory:", - ); - instancetype _objc_msgSend_30( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, - bool isDir, - ) { - return __objc_msgSend_30(obj, sel, path, isDir); - } - - late final __objc_msgSend_30Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - )>>('objc_msgSend'); - late final __objc_msgSend_30 = __objc_msgSend_30Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - )>(); - - late final _sel_initFileURLWithPath_1 = objc.registerName( - "initFileURLWithPath:", - ); - instancetype _objc_msgSend_31( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, - ) { - return __objc_msgSend_31(obj, sel, path); - } - - late final __objc_msgSend_31Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_31 = __objc_msgSend_31Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_fileURLWithPath_isDirectory_relativeToURL_1 = - objc.registerName("fileURLWithPath:isDirectory:relativeToURL:"); - ffi.Pointer _objc_msgSend_32( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, - bool isDir, - ffi.Pointer baseURL, - ) { - return __objc_msgSend_32(obj, sel, path, isDir, baseURL); - } - - late final __objc_msgSend_32Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_32 = __objc_msgSend_32Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - ffi.Pointer, - )>(); - - late final _sel_fileURLWithPath_relativeToURL_1 = objc.registerName( - "fileURLWithPath:relativeToURL:", - ); - ffi.Pointer _objc_msgSend_33( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, - ffi.Pointer baseURL, - ) { - return __objc_msgSend_33(obj, sel, path, baseURL); - } - - late final __objc_msgSend_33Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_33 = __objc_msgSend_33Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_fileURLWithPath_isDirectory_1 = objc.registerName( - "fileURLWithPath:isDirectory:", - ); - ffi.Pointer _objc_msgSend_34( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, - bool isDir, - ) { - return __objc_msgSend_34(obj, sel, path, isDir); - } - - late final __objc_msgSend_34Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - )>>('objc_msgSend'); - late final __objc_msgSend_34 = __objc_msgSend_34Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - )>(); - - late final _sel_fileURLWithPath_1 = objc.registerName("fileURLWithPath:"); - ffi.Pointer _objc_msgSend_35( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, - ) { - return __objc_msgSend_35(obj, sel, path); - } - - late final __objc_msgSend_35Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_35 = __objc_msgSend_35Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_initFileURLWithFileSystemRepresentation_isDirectory_relativeToURL_1 = - objc.registerName( - "initFileURLWithFileSystemRepresentation:isDirectory:relativeToURL:", - ); - instancetype _objc_msgSend_36( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, - bool isDir, - ffi.Pointer baseURL, - ) { - return __objc_msgSend_36(obj, sel, path, isDir, baseURL); - } - - late final __objc_msgSend_36Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_36 = __objc_msgSend_36Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - ffi.Pointer, - )>(); - - late final _sel_fileURLWithFileSystemRepresentation_isDirectory_relativeToURL_1 = - objc.registerName( - "fileURLWithFileSystemRepresentation:isDirectory:relativeToURL:", - ); - ffi.Pointer _objc_msgSend_37( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, - bool isDir, - ffi.Pointer baseURL, - ) { - return __objc_msgSend_37(obj, sel, path, isDir, baseURL); - } - - late final __objc_msgSend_37Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_37 = __objc_msgSend_37Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - ffi.Pointer, - )>(); - - late final _sel_initWithString_1 = objc.registerName("initWithString:"); - instancetype _objc_msgSend_38( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer URLString, - ) { - return __objc_msgSend_38(obj, sel, URLString); - } - - late final __objc_msgSend_38Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_38 = __objc_msgSend_38Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_initWithString_relativeToURL_1 = objc.registerName( - "initWithString:relativeToURL:", - ); - instancetype _objc_msgSend_39( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer URLString, - ffi.Pointer baseURL, - ) { - return __objc_msgSend_39(obj, sel, URLString, baseURL); - } - - late final __objc_msgSend_39Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_39 = __objc_msgSend_39Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_URLWithString_1 = objc.registerName("URLWithString:"); - late final _sel_URLWithString_relativeToURL_1 = objc.registerName( - "URLWithString:relativeToURL:", - ); - late final _sel_initWithString_encodingInvalidCharacters_1 = - objc.registerName("initWithString:encodingInvalidCharacters:"); - instancetype _objc_msgSend_40( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer URLString, - bool encodingInvalidCharacters, - ) { - return __objc_msgSend_40(obj, sel, URLString, encodingInvalidCharacters); - } - - late final __objc_msgSend_40Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - )>>('objc_msgSend'); - late final __objc_msgSend_40 = __objc_msgSend_40Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - )>(); - - late final _sel_URLWithString_encodingInvalidCharacters_1 = objc.registerName( - "URLWithString:encodingInvalidCharacters:", - ); - late final _sel_initWithDataRepresentation_relativeToURL_1 = - objc.registerName("initWithDataRepresentation:relativeToURL:"); - instancetype _objc_msgSend_41( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer data, - ffi.Pointer baseURL, - ) { - return __objc_msgSend_41(obj, sel, data, baseURL); - } - - late final __objc_msgSend_41Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_41 = __objc_msgSend_41Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_URLWithDataRepresentation_relativeToURL_1 = objc.registerName( - "URLWithDataRepresentation:relativeToURL:", - ); - ffi.Pointer _objc_msgSend_42( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer data, - ffi.Pointer baseURL, - ) { - return __objc_msgSend_42(obj, sel, data, baseURL); - } - - late final __objc_msgSend_42Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_42 = __objc_msgSend_42Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_initAbsoluteURLWithDataRepresentation_relativeToURL_1 = - objc.registerName("initAbsoluteURLWithDataRepresentation:relativeToURL:"); - late final _sel_absoluteURLWithDataRepresentation_relativeToURL_1 = - objc.registerName("absoluteURLWithDataRepresentation:relativeToURL:"); - late final _sel_dataRepresentation1 = objc.registerName("dataRepresentation"); - ffi.Pointer _objc_msgSend_43( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_43(obj, sel); - } - - late final __objc_msgSend_43Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_43 = __objc_msgSend_43Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_absoluteString1 = objc.registerName("absoluteString"); - ffi.Pointer _objc_msgSend_44( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_44(obj, sel); - } - - late final __objc_msgSend_44Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_44 = __objc_msgSend_44Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_relativeString1 = objc.registerName("relativeString"); - late final _sel_baseURL1 = objc.registerName("baseURL"); - ffi.Pointer _objc_msgSend_45( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_45(obj, sel); - } - - late final __objc_msgSend_45Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_45 = __objc_msgSend_45Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_absoluteURL1 = objc.registerName("absoluteURL"); - late final _sel_scheme1 = objc.registerName("scheme"); - late final _sel_resourceSpecifier1 = objc.registerName("resourceSpecifier"); - late final _sel_host1 = objc.registerName("host"); - late final _class_NSNumber1 = objc.getClass("NSNumber"); - late final _class_NSValue1 = objc.getClass("NSValue"); - late final _sel_getValue_size_1 = objc.registerName("getValue:size:"); - late final _sel_objCType1 = objc.registerName("objCType"); - late final _sel_initWithBytes_objCType_1 = objc.registerName( - "initWithBytes:objCType:", - ); - instancetype _objc_msgSend_46( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, - ffi.Pointer type, - ) { - return __objc_msgSend_46(obj, sel, value, type); - } - - late final __objc_msgSend_46Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_46 = __objc_msgSend_46Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_initWithCoder_1 = objc.registerName("initWithCoder:"); - instancetype _objc_msgSend_47( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer coder, - ) { - return __objc_msgSend_47(obj, sel, coder); - } - - late final __objc_msgSend_47Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_47 = __objc_msgSend_47Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_valueWithBytes_objCType_1 = objc.registerName( - "valueWithBytes:objCType:", - ); - ffi.Pointer _objc_msgSend_48( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, - ffi.Pointer type, - ) { - return __objc_msgSend_48(obj, sel, value, type); - } - - late final __objc_msgSend_48Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_48 = __objc_msgSend_48Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_value_withObjCType_1 = objc.registerName( - "value:withObjCType:", - ); - late final _sel_valueWithNonretainedObject_1 = objc.registerName( - "valueWithNonretainedObject:", - ); - ffi.Pointer _objc_msgSend_49( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer anObject, - ) { - return __objc_msgSend_49(obj, sel, anObject); - } - - late final __objc_msgSend_49Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_49 = __objc_msgSend_49Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_nonretainedObjectValue1 = objc.registerName( - "nonretainedObjectValue", - ); - late final _sel_valueWithPointer_1 = objc.registerName("valueWithPointer:"); - ffi.Pointer _objc_msgSend_50( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer pointer, - ) { - return __objc_msgSend_50(obj, sel, pointer); - } - - late final __objc_msgSend_50Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_50 = __objc_msgSend_50Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_pointerValue1 = objc.registerName("pointerValue"); - late final _sel_isEqualToValue_1 = objc.registerName("isEqualToValue:"); - bool _objc_msgSend_51( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, - ) { - return __objc_msgSend_51(obj, sel, value); - } - - late final __objc_msgSend_51Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_51 = __objc_msgSend_51Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_getValue_1 = objc.registerName("getValue:"); - void _objc_msgSend_52( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, - ) { - return __objc_msgSend_52(obj, sel, value); - } - - late final __objc_msgSend_52Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_52 = __objc_msgSend_52Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_valueWithRange_1 = objc.registerName("valueWithRange:"); - ffi.Pointer _objc_msgSend_53( - ffi.Pointer obj, - ffi.Pointer sel, - _NSRange range, - ) { - return __objc_msgSend_53(obj, sel, range); - } - - late final __objc_msgSend_53Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - )>>('objc_msgSend'); - late final __objc_msgSend_53 = __objc_msgSend_53Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - )>(); - - late final _sel_rangeValue1 = objc.registerName("rangeValue"); - _NSRange _objc_msgSend_54( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_54(obj, sel); - } - - late final __objc_msgSend_54Ptr = _lookup< - ffi.NativeFunction< - _NSRange Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_54 = __objc_msgSend_54Ptr.asFunction< - _NSRange Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - void _objc_msgSend_54_stret( - ffi.Pointer<_NSRange> stret, - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_54_stret(stret, obj, sel); - } - - late final __objc_msgSend_54_stretPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer<_NSRange>, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend_stret'); - late final __objc_msgSend_54_stret = __objc_msgSend_54_stretPtr.asFunction< - void Function( - ffi.Pointer<_NSRange>, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_valueWithPoint_1 = objc.registerName("valueWithPoint:"); - ffi.Pointer _objc_msgSend_55( - ffi.Pointer obj, - ffi.Pointer sel, - CGPoint point, - ) { - return __objc_msgSend_55(obj, sel, point); - } - - late final __objc_msgSend_55Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - CGPoint, - )>>('objc_msgSend'); - late final __objc_msgSend_55 = __objc_msgSend_55Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - CGPoint, - )>(); - - late final _sel_valueWithSize_1 = objc.registerName("valueWithSize:"); - ffi.Pointer _objc_msgSend_56( - ffi.Pointer obj, - ffi.Pointer sel, - CGSize size, - ) { - return __objc_msgSend_56(obj, sel, size); - } - - late final __objc_msgSend_56Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - CGSize, - )>>('objc_msgSend'); - late final __objc_msgSend_56 = __objc_msgSend_56Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - CGSize, - )>(); - - late final _sel_valueWithRect_1 = objc.registerName("valueWithRect:"); - ffi.Pointer _objc_msgSend_57( - ffi.Pointer obj, - ffi.Pointer sel, - CGRect rect, - ) { - return __objc_msgSend_57(obj, sel, rect); - } - - late final __objc_msgSend_57Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - CGRect, - )>>('objc_msgSend'); - late final __objc_msgSend_57 = __objc_msgSend_57Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - CGRect, - )>(); - - late final _sel_valueWithEdgeInsets_1 = objc.registerName( - "valueWithEdgeInsets:", - ); - ffi.Pointer _objc_msgSend_58( - ffi.Pointer obj, - ffi.Pointer sel, - NSEdgeInsets insets, - ) { - return __objc_msgSend_58(obj, sel, insets); - } - - late final __objc_msgSend_58Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - NSEdgeInsets, - )>>('objc_msgSend'); - late final __objc_msgSend_58 = __objc_msgSend_58Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - NSEdgeInsets, - )>(); - - late final _sel_pointValue1 = objc.registerName("pointValue"); - CGPoint _objc_msgSend_59( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_59(obj, sel); - } - - late final __objc_msgSend_59Ptr = _lookup< - ffi.NativeFunction< - CGPoint Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_59 = __objc_msgSend_59Ptr.asFunction< - CGPoint Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - void _objc_msgSend_59_stret( - ffi.Pointer stret, - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_59_stret(stret, obj, sel); - } - - late final __objc_msgSend_59_stretPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend_stret'); - late final __objc_msgSend_59_stret = __objc_msgSend_59_stretPtr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_sizeValue1 = objc.registerName("sizeValue"); - CGSize _objc_msgSend_60( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_60(obj, sel); - } - - late final __objc_msgSend_60Ptr = _lookup< - ffi.NativeFunction< - CGSize Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_60 = __objc_msgSend_60Ptr.asFunction< - CGSize Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - void _objc_msgSend_60_stret( - ffi.Pointer stret, - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_60_stret(stret, obj, sel); - } - - late final __objc_msgSend_60_stretPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend_stret'); - late final __objc_msgSend_60_stret = __objc_msgSend_60_stretPtr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_rectValue1 = objc.registerName("rectValue"); - CGRect _objc_msgSend_61( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_61(obj, sel); - } - - late final __objc_msgSend_61Ptr = _lookup< - ffi.NativeFunction< - CGRect Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_61 = __objc_msgSend_61Ptr.asFunction< - CGRect Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - void _objc_msgSend_61_stret( - ffi.Pointer stret, - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_61_stret(stret, obj, sel); - } - - late final __objc_msgSend_61_stretPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend_stret'); - late final __objc_msgSend_61_stret = __objc_msgSend_61_stretPtr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_edgeInsetsValue1 = objc.registerName("edgeInsetsValue"); - NSEdgeInsets _objc_msgSend_62( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_62(obj, sel); - } - - late final __objc_msgSend_62Ptr = _lookup< - ffi.NativeFunction< - NSEdgeInsets Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_62 = __objc_msgSend_62Ptr.asFunction< - NSEdgeInsets Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - void _objc_msgSend_62_stret( - ffi.Pointer stret, - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_62_stret(stret, obj, sel); - } - - late final __objc_msgSend_62_stretPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend_stret'); - late final __objc_msgSend_62_stret = __objc_msgSend_62_stretPtr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_keyPathsForValuesAffectingValueForKey_1 = objc.registerName( - "keyPathsForValuesAffectingValueForKey:", - ); - ffi.Pointer _objc_msgSend_63( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer key, - ) { - return __objc_msgSend_63(obj, sel, key); - } - - late final __objc_msgSend_63Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_63 = __objc_msgSend_63Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_automaticallyNotifiesObserversForKey_1 = objc.registerName( - "automaticallyNotifiesObserversForKey:", - ); - bool _objc_msgSend_64( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer key, - ) { - return __objc_msgSend_64(obj, sel, key); - } - - late final __objc_msgSend_64Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_64 = __objc_msgSend_64Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _class_NSArray1 = objc.getClass("NSArray"); - late final _sel_objectAtIndex_1 = objc.registerName("objectAtIndex:"); - ffi.Pointer _objc_msgSend_65( - ffi.Pointer obj, - ffi.Pointer sel, - int index, - ) { - return __objc_msgSend_65(obj, sel, index); - } - - late final __objc_msgSend_65Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - )>>('objc_msgSend'); - late final __objc_msgSend_65 = __objc_msgSend_65Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_initWithObjects_count_1 = objc.registerName( - "initWithObjects:count:", - ); - instancetype _objc_msgSend_66( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer> objects, - int cnt, - ) { - return __objc_msgSend_66(obj, sel, objects, cnt); - } - - late final __objc_msgSend_66Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.UnsignedLong, - )>>('objc_msgSend'); - late final __objc_msgSend_66 = __objc_msgSend_66Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - int, - )>(); - - late final _sel_arrayByAddingObject_1 = objc.registerName( - "arrayByAddingObject:", - ); - ffi.Pointer _objc_msgSend_67( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer anObject, - ) { - return __objc_msgSend_67(obj, sel, anObject); - } - - late final __objc_msgSend_67Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_67 = __objc_msgSend_67Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_arrayByAddingObjectsFromArray_1 = objc.registerName( - "arrayByAddingObjectsFromArray:", - ); - ffi.Pointer _objc_msgSend_68( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer otherArray, - ) { - return __objc_msgSend_68(obj, sel, otherArray); - } - - late final __objc_msgSend_68Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_68 = __objc_msgSend_68Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_componentsJoinedByString_1 = objc.registerName( - "componentsJoinedByString:", - ); - ffi.Pointer _objc_msgSend_69( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer separator, - ) { - return __objc_msgSend_69(obj, sel, separator); - } - - late final __objc_msgSend_69Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_69 = __objc_msgSend_69Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_containsObject_1 = objc.registerName("containsObject:"); - late final _sel_descriptionWithLocale_1 = objc.registerName( - "descriptionWithLocale:", - ); - ffi.Pointer _objc_msgSend_70( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer locale, - ) { - return __objc_msgSend_70(obj, sel, locale); - } - - late final __objc_msgSend_70Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_70 = __objc_msgSend_70Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_descriptionWithLocale_indent_1 = objc.registerName( - "descriptionWithLocale:indent:", - ); - ffi.Pointer _objc_msgSend_71( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer locale, - int level, - ) { - return __objc_msgSend_71(obj, sel, locale, level); - } - - late final __objc_msgSend_71Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - )>>('objc_msgSend'); - late final __objc_msgSend_71 = __objc_msgSend_71Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_firstObjectCommonWithArray_1 = objc.registerName( - "firstObjectCommonWithArray:", - ); - ffi.Pointer _objc_msgSend_72( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer otherArray, - ) { - return __objc_msgSend_72(obj, sel, otherArray); - } - - late final __objc_msgSend_72Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_72 = __objc_msgSend_72Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_getObjects_range_1 = objc.registerName("getObjects:range:"); - void _objc_msgSend_73( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer> objects, - _NSRange range, - ) { - return __objc_msgSend_73(obj, sel, objects, range); - } - - late final __objc_msgSend_73Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - _NSRange, - )>>('objc_msgSend'); - late final __objc_msgSend_73 = __objc_msgSend_73Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - _NSRange, - )>(); - - late final _sel_indexOfObject_1 = objc.registerName("indexOfObject:"); - int _objc_msgSend_74( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer anObject, - ) { - return __objc_msgSend_74(obj, sel, anObject); - } - - late final __objc_msgSend_74Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_74 = __objc_msgSend_74Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_indexOfObject_inRange_1 = objc.registerName( - "indexOfObject:inRange:", - ); - int _objc_msgSend_75( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer anObject, - _NSRange range, - ) { - return __objc_msgSend_75(obj, sel, anObject, range); - } - - late final __objc_msgSend_75Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - _NSRange, - )>>('objc_msgSend'); - late final __objc_msgSend_75 = __objc_msgSend_75Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - _NSRange, - )>(); - - late final _sel_indexOfObjectIdenticalTo_1 = objc.registerName( - "indexOfObjectIdenticalTo:", - ); - late final _sel_indexOfObjectIdenticalTo_inRange_1 = objc.registerName( - "indexOfObjectIdenticalTo:inRange:", - ); - late final _sel_isEqualToArray_1 = objc.registerName("isEqualToArray:"); - bool _objc_msgSend_76( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer otherArray, - ) { - return __objc_msgSend_76(obj, sel, otherArray); - } - - late final __objc_msgSend_76Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_76 = __objc_msgSend_76Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_firstObject1 = objc.registerName("firstObject"); - late final _sel_lastObject1 = objc.registerName("lastObject"); - late final _sel_objectEnumerator1 = objc.registerName("objectEnumerator"); - ffi.Pointer _objc_msgSend_77( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_77(obj, sel); - } - - late final __objc_msgSend_77Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_77 = __objc_msgSend_77Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_reverseObjectEnumerator1 = objc.registerName( - "reverseObjectEnumerator", - ); - late final _sel_sortedArrayHint1 = objc.registerName("sortedArrayHint"); - late final _sel_sortedArrayUsingFunction_context_1 = objc.registerName( - "sortedArrayUsingFunction:context:", - ); - ffi.Pointer _objc_msgSend_78( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer< - ffi.NativeFunction< - ffi.Long Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>> - comparator, - ffi.Pointer context, - ) { - return __objc_msgSend_78(obj, sel, comparator, context); - } - - late final __objc_msgSend_78Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.Long Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_78 = __objc_msgSend_78Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.Long Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>, - ffi.Pointer, - )>(); - - late final _sel_sortedArrayUsingFunction_context_hint_1 = objc.registerName( - "sortedArrayUsingFunction:context:hint:", - ); - ffi.Pointer _objc_msgSend_79( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer< - ffi.NativeFunction< - ffi.Long Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>> - comparator, - ffi.Pointer context, - ffi.Pointer hint, - ) { - return __objc_msgSend_79(obj, sel, comparator, context, hint); - } - - late final __objc_msgSend_79Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.Long Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_79 = __objc_msgSend_79Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.Long Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_sortedArrayUsingSelector_1 = objc.registerName( - "sortedArrayUsingSelector:", - ); - ffi.Pointer _objc_msgSend_80( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer comparator, - ) { - return __objc_msgSend_80(obj, sel, comparator); - } - - late final __objc_msgSend_80Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_80 = __objc_msgSend_80Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_subarrayWithRange_1 = objc.registerName("subarrayWithRange:"); - ffi.Pointer _objc_msgSend_81( - ffi.Pointer obj, - ffi.Pointer sel, - _NSRange range, - ) { - return __objc_msgSend_81(obj, sel, range); - } - - late final __objc_msgSend_81Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - )>>('objc_msgSend'); - late final __objc_msgSend_81 = __objc_msgSend_81Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - )>(); - - late final _class_NSError1 = objc.getClass("NSError"); - late final _sel_initWithDomain_code_userInfo_1 = objc.registerName( - "initWithDomain:code:userInfo:", - ); - instancetype _objc_msgSend_82( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer domain, - int code, - ffi.Pointer dict, - ) { - return __objc_msgSend_82(obj, sel, domain, code, dict); - } - - late final __objc_msgSend_82Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Long, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_82 = __objc_msgSend_82Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - )>(); - - late final _sel_errorWithDomain_code_userInfo_1 = objc.registerName( - "errorWithDomain:code:userInfo:", - ); - late final _sel_domain1 = objc.registerName("domain"); - late final _sel_code1 = objc.registerName("code"); - int _objc_msgSend_83( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_83(obj, sel); - } - - late final __objc_msgSend_83Ptr = _lookup< - ffi.NativeFunction< - ffi.Long Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_83 = __objc_msgSend_83Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_userInfo1 = objc.registerName("userInfo"); - late final _sel_localizedDescription1 = objc.registerName( - "localizedDescription", - ); - late final _sel_localizedFailureReason1 = objc.registerName( - "localizedFailureReason", - ); - late final _sel_localizedRecoverySuggestion1 = objc.registerName( - "localizedRecoverySuggestion", - ); - late final _sel_localizedRecoveryOptions1 = objc.registerName( - "localizedRecoveryOptions", - ); - ffi.Pointer _objc_msgSend_84( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_84(obj, sel); - } - - late final __objc_msgSend_84Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_84 = __objc_msgSend_84Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_recoveryAttempter1 = objc.registerName("recoveryAttempter"); - late final _sel_helpAnchor1 = objc.registerName("helpAnchor"); - late final _sel_underlyingErrors1 = objc.registerName("underlyingErrors"); - ffi.Pointer _objc_msgSend_85( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_85(obj, sel); - } - - late final __objc_msgSend_85Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_85 = __objc_msgSend_85Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_setUserInfoValueProviderForDomain_provider_1 = - objc.registerName("setUserInfoValueProviderForDomain:provider:"); - void _objc_msgSend_86( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer errorDomain, - ffi.Pointer provider, - ) { - return __objc_msgSend_86(obj, sel, errorDomain, provider); - } - - late final __objc_msgSend_86Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_86 = __objc_msgSend_86Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_userInfoValueProviderForDomain_1 = objc.registerName( - "userInfoValueProviderForDomain:", - ); - ffi.Pointer _objc_msgSend_87( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer err, - ffi.Pointer userInfoKey, - ffi.Pointer errorDomain, - ) { - return __objc_msgSend_87(obj, sel, err, userInfoKey, errorDomain); - } - - late final __objc_msgSend_87Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_87 = __objc_msgSend_87Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_setKeys_triggerChangeNotificationsForDependentKey_1 = - objc.registerName("setKeys:triggerChangeNotificationsForDependentKey:"); - void _objc_msgSend_88( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer keys, - ffi.Pointer dependentKey, - ) { - return __objc_msgSend_88(obj, sel, keys, dependentKey); - } - - late final __objc_msgSend_88Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_88 = __objc_msgSend_88Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_classFallbacksForKeyedArchiver1 = objc.registerName( - "classFallbacksForKeyedArchiver", - ); - late final _sel_classForKeyedUnarchiver1 = objc.registerName( - "classForKeyedUnarchiver", - ); - late final _sel_writeToURL_error_1 = objc.registerName("writeToURL:error:"); - bool _objc_msgSend_89( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, - ffi.Pointer> error, - ) { - return __objc_msgSend_89(obj, sel, url, error); - } - - late final __objc_msgSend_89Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_89 = __objc_msgSend_89Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>(); - - late final _sel_makeObjectsPerformSelector_1 = objc.registerName( - "makeObjectsPerformSelector:", - ); - late final _sel_makeObjectsPerformSelector_withObject_1 = objc.registerName( - "makeObjectsPerformSelector:withObject:", - ); - void _objc_msgSend_90( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aSelector, - ffi.Pointer argument, - ) { - return __objc_msgSend_90(obj, sel, aSelector, argument); - } - - late final __objc_msgSend_90Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_90 = __objc_msgSend_90Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _class_NSIndexSet1 = objc.getClass("NSIndexSet"); - late final _sel_indexSet1 = objc.registerName("indexSet"); - late final _sel_indexSetWithIndex_1 = objc.registerName("indexSetWithIndex:"); - late final _sel_indexSetWithIndexesInRange_1 = objc.registerName( - "indexSetWithIndexesInRange:", - ); - instancetype _objc_msgSend_91( - ffi.Pointer obj, - ffi.Pointer sel, - _NSRange range, - ) { - return __objc_msgSend_91(obj, sel, range); - } - - late final __objc_msgSend_91Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - )>>('objc_msgSend'); - late final __objc_msgSend_91 = __objc_msgSend_91Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - )>(); - - late final _sel_initWithIndexesInRange_1 = objc.registerName( - "initWithIndexesInRange:", - ); - late final _sel_initWithIndexSet_1 = objc.registerName("initWithIndexSet:"); - instancetype _objc_msgSend_92( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer indexSet, - ) { - return __objc_msgSend_92(obj, sel, indexSet); - } - - late final __objc_msgSend_92Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_92 = __objc_msgSend_92Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_initWithIndex_1 = objc.registerName("initWithIndex:"); - late final _sel_isEqualToIndexSet_1 = objc.registerName("isEqualToIndexSet:"); - bool _objc_msgSend_93( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer indexSet, - ) { - return __objc_msgSend_93(obj, sel, indexSet); - } - - late final __objc_msgSend_93Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_93 = __objc_msgSend_93Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_firstIndex1 = objc.registerName("firstIndex"); - late final _sel_lastIndex1 = objc.registerName("lastIndex"); - late final _sel_indexGreaterThanIndex_1 = objc.registerName( - "indexGreaterThanIndex:", - ); - int _objc_msgSend_94( - ffi.Pointer obj, - ffi.Pointer sel, - int value, - ) { - return __objc_msgSend_94(obj, sel, value); - } - - late final __objc_msgSend_94Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - )>>('objc_msgSend'); - late final __objc_msgSend_94 = __objc_msgSend_94Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_indexLessThanIndex_1 = objc.registerName( - "indexLessThanIndex:", - ); - late final _sel_indexGreaterThanOrEqualToIndex_1 = objc.registerName( - "indexGreaterThanOrEqualToIndex:", - ); - late final _sel_indexLessThanOrEqualToIndex_1 = objc.registerName( - "indexLessThanOrEqualToIndex:", - ); - late final _sel_getIndexes_maxCount_inIndexRange_1 = objc.registerName( - "getIndexes:maxCount:inIndexRange:", - ); - int _objc_msgSend_95( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer indexBuffer, - int bufferSize, - ffi.Pointer<_NSRange> range, - ) { - return __objc_msgSend_95(obj, sel, indexBuffer, bufferSize, range); - } - - late final __objc_msgSend_95Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer<_NSRange>, - )>>('objc_msgSend'); - late final __objc_msgSend_95 = __objc_msgSend_95Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer<_NSRange>, - )>(); - - late final _sel_countOfIndexesInRange_1 = objc.registerName( - "countOfIndexesInRange:", - ); - int _objc_msgSend_96( - ffi.Pointer obj, - ffi.Pointer sel, - _NSRange range, - ) { - return __objc_msgSend_96(obj, sel, range); - } - - late final __objc_msgSend_96Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - )>>('objc_msgSend'); - late final __objc_msgSend_96 = __objc_msgSend_96Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - )>(); - - late final _sel_containsIndex_1 = objc.registerName("containsIndex:"); - bool _objc_msgSend_97( - ffi.Pointer obj, - ffi.Pointer sel, - int value, - ) { - return __objc_msgSend_97(obj, sel, value); - } - - late final __objc_msgSend_97Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - )>>('objc_msgSend'); - late final __objc_msgSend_97 = __objc_msgSend_97Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_containsIndexesInRange_1 = objc.registerName( - "containsIndexesInRange:", - ); - bool _objc_msgSend_98( - ffi.Pointer obj, - ffi.Pointer sel, - _NSRange range, - ) { - return __objc_msgSend_98(obj, sel, range); - } - - late final __objc_msgSend_98Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - )>>('objc_msgSend'); - late final __objc_msgSend_98 = __objc_msgSend_98Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - )>(); - - late final _sel_containsIndexes_1 = objc.registerName("containsIndexes:"); - late final _sel_intersectsIndexesInRange_1 = objc.registerName( - "intersectsIndexesInRange:", - ); - late final _sel_enumerateIndexesUsingBlock_1 = objc.registerName( - "enumerateIndexesUsingBlock:", - ); - void _objc_msgSend_99( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer block, - ) { - return __objc_msgSend_99(obj, sel, block); - } - - late final __objc_msgSend_99Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_99 = __objc_msgSend_99Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_enumerateIndexesWithOptions_usingBlock_1 = objc.registerName( - "enumerateIndexesWithOptions:usingBlock:", - ); - void _objc_msgSend_100( - ffi.Pointer obj, - ffi.Pointer sel, - int opts, - ffi.Pointer block, - ) { - return __objc_msgSend_100(obj, sel, opts, block); - } - - late final __objc_msgSend_100Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_100 = __objc_msgSend_100Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - )>(); - - late final _sel_enumerateIndexesInRange_options_usingBlock_1 = - objc.registerName("enumerateIndexesInRange:options:usingBlock:"); - void _objc_msgSend_101( - ffi.Pointer obj, - ffi.Pointer sel, - _NSRange range, - int opts, - ffi.Pointer block, - ) { - return __objc_msgSend_101(obj, sel, range, opts, block); - } - - late final __objc_msgSend_101Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Int32, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_101 = __objc_msgSend_101Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - int, - ffi.Pointer, - )>(); - - late final _sel_indexPassingTest_1 = objc.registerName("indexPassingTest:"); - int _objc_msgSend_102( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer predicate, - ) { - return __objc_msgSend_102(obj, sel, predicate); - } - - late final __objc_msgSend_102Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_102 = __objc_msgSend_102Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_indexWithOptions_passingTest_1 = objc.registerName( - "indexWithOptions:passingTest:", - ); - int _objc_msgSend_103( - ffi.Pointer obj, - ffi.Pointer sel, - int opts, - ffi.Pointer predicate, - ) { - return __objc_msgSend_103(obj, sel, opts, predicate); - } - - late final __objc_msgSend_103Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_103 = __objc_msgSend_103Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - )>(); - - late final _sel_indexInRange_options_passingTest_1 = objc.registerName( - "indexInRange:options:passingTest:", - ); - int _objc_msgSend_104( - ffi.Pointer obj, - ffi.Pointer sel, - _NSRange range, - int opts, - ffi.Pointer predicate, - ) { - return __objc_msgSend_104(obj, sel, range, opts, predicate); - } - - late final __objc_msgSend_104Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Int32, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_104 = __objc_msgSend_104Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - int, - ffi.Pointer, - )>(); - - late final _sel_indexesPassingTest_1 = objc.registerName( - "indexesPassingTest:", - ); - ffi.Pointer _objc_msgSend_105( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer predicate, - ) { - return __objc_msgSend_105(obj, sel, predicate); - } - - late final __objc_msgSend_105Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_105 = __objc_msgSend_105Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_indexesWithOptions_passingTest_1 = objc.registerName( - "indexesWithOptions:passingTest:", - ); - ffi.Pointer _objc_msgSend_106( - ffi.Pointer obj, - ffi.Pointer sel, - int opts, - ffi.Pointer predicate, - ) { - return __objc_msgSend_106(obj, sel, opts, predicate); - } - - late final __objc_msgSend_106Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_106 = __objc_msgSend_106Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - )>(); - - late final _sel_indexesInRange_options_passingTest_1 = objc.registerName( - "indexesInRange:options:passingTest:", - ); - ffi.Pointer _objc_msgSend_107( - ffi.Pointer obj, - ffi.Pointer sel, - _NSRange range, - int opts, - ffi.Pointer predicate, - ) { - return __objc_msgSend_107(obj, sel, range, opts, predicate); - } - - late final __objc_msgSend_107Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Int32, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_107 = __objc_msgSend_107Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - int, - ffi.Pointer, - )>(); - - late final _sel_enumerateRangesUsingBlock_1 = objc.registerName( - "enumerateRangesUsingBlock:", - ); - void _objc_msgSend_108( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer block, - ) { - return __objc_msgSend_108(obj, sel, block); - } - - late final __objc_msgSend_108Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_108 = __objc_msgSend_108Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_enumerateRangesWithOptions_usingBlock_1 = objc.registerName( - "enumerateRangesWithOptions:usingBlock:", - ); - void _objc_msgSend_109( - ffi.Pointer obj, - ffi.Pointer sel, - int opts, - ffi.Pointer block, - ) { - return __objc_msgSend_109(obj, sel, opts, block); - } - - late final __objc_msgSend_109Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_109 = __objc_msgSend_109Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - )>(); - - late final _sel_enumerateRangesInRange_options_usingBlock_1 = - objc.registerName("enumerateRangesInRange:options:usingBlock:"); - void _objc_msgSend_110( - ffi.Pointer obj, - ffi.Pointer sel, - _NSRange range, - int opts, - ffi.Pointer block, - ) { - return __objc_msgSend_110(obj, sel, range, opts, block); - } - - late final __objc_msgSend_110Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Int32, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_110 = __objc_msgSend_110Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - int, - ffi.Pointer, - )>(); - - late final _sel_objectsAtIndexes_1 = objc.registerName("objectsAtIndexes:"); - ffi.Pointer _objc_msgSend_111( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer indexes, - ) { - return __objc_msgSend_111(obj, sel, indexes); - } - - late final __objc_msgSend_111Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_111 = __objc_msgSend_111Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_objectAtIndexedSubscript_1 = objc.registerName( - "objectAtIndexedSubscript:", - ); - late final _sel_enumerateObjectsUsingBlock_1 = objc.registerName( - "enumerateObjectsUsingBlock:", - ); - void _objc_msgSend_112( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer block, - ) { - return __objc_msgSend_112(obj, sel, block); - } - - late final __objc_msgSend_112Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_112 = __objc_msgSend_112Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_enumerateObjectsWithOptions_usingBlock_1 = objc.registerName( - "enumerateObjectsWithOptions:usingBlock:", - ); - void _objc_msgSend_113( - ffi.Pointer obj, - ffi.Pointer sel, - int opts, - ffi.Pointer block, - ) { - return __objc_msgSend_113(obj, sel, opts, block); - } - - late final __objc_msgSend_113Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_113 = __objc_msgSend_113Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - )>(); - - late final _sel_enumerateObjectsAtIndexes_options_usingBlock_1 = - objc.registerName("enumerateObjectsAtIndexes:options:usingBlock:"); - void _objc_msgSend_114( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer s, - int opts, - ffi.Pointer block, - ) { - return __objc_msgSend_114(obj, sel, s, opts, block); - } - - late final __objc_msgSend_114Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_114 = __objc_msgSend_114Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - )>(); - - late final _sel_indexOfObjectPassingTest_1 = objc.registerName( - "indexOfObjectPassingTest:", - ); - int _objc_msgSend_115( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer predicate, - ) { - return __objc_msgSend_115(obj, sel, predicate); - } - - late final __objc_msgSend_115Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_115 = __objc_msgSend_115Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_indexOfObjectWithOptions_passingTest_1 = objc.registerName( - "indexOfObjectWithOptions:passingTest:", - ); - int _objc_msgSend_116( - ffi.Pointer obj, - ffi.Pointer sel, - int opts, - ffi.Pointer predicate, - ) { - return __objc_msgSend_116(obj, sel, opts, predicate); - } - - late final __objc_msgSend_116Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_116 = __objc_msgSend_116Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - )>(); - - late final _sel_indexOfObjectAtIndexes_options_passingTest_1 = - objc.registerName("indexOfObjectAtIndexes:options:passingTest:"); - int _objc_msgSend_117( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer s, - int opts, - ffi.Pointer predicate, - ) { - return __objc_msgSend_117(obj, sel, s, opts, predicate); - } - - late final __objc_msgSend_117Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_117 = __objc_msgSend_117Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - )>(); - - late final _sel_indexesOfObjectsPassingTest_1 = objc.registerName( - "indexesOfObjectsPassingTest:", - ); - ffi.Pointer _objc_msgSend_118( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer predicate, - ) { - return __objc_msgSend_118(obj, sel, predicate); - } - - late final __objc_msgSend_118Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_118 = __objc_msgSend_118Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_indexesOfObjectsWithOptions_passingTest_1 = objc.registerName( - "indexesOfObjectsWithOptions:passingTest:", - ); - ffi.Pointer _objc_msgSend_119( - ffi.Pointer obj, - ffi.Pointer sel, - int opts, - ffi.Pointer predicate, - ) { - return __objc_msgSend_119(obj, sel, opts, predicate); - } - - late final __objc_msgSend_119Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_119 = __objc_msgSend_119Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - )>(); - - late final _sel_indexesOfObjectsAtIndexes_options_passingTest_1 = - objc.registerName("indexesOfObjectsAtIndexes:options:passingTest:"); - ffi.Pointer _objc_msgSend_120( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer s, - int opts, - ffi.Pointer predicate, - ) { - return __objc_msgSend_120(obj, sel, s, opts, predicate); - } - - late final __objc_msgSend_120Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_120 = __objc_msgSend_120Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - )>(); - - late final _sel_sortedArrayUsingComparator_1 = objc.registerName( - "sortedArrayUsingComparator:", - ); - ffi.Pointer _objc_msgSend_121( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer cmptr, - ) { - return __objc_msgSend_121(obj, sel, cmptr); - } - - late final __objc_msgSend_121Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_121 = __objc_msgSend_121Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_sortedArrayWithOptions_usingComparator_1 = objc.registerName( - "sortedArrayWithOptions:usingComparator:", - ); - ffi.Pointer _objc_msgSend_122( - ffi.Pointer obj, - ffi.Pointer sel, - int opts, - ffi.Pointer cmptr, - ) { - return __objc_msgSend_122(obj, sel, opts, cmptr); - } - - late final __objc_msgSend_122Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_122 = __objc_msgSend_122Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - )>(); - - late final _sel_indexOfObject_inSortedRange_options_usingComparator_1 = - objc.registerName("indexOfObject:inSortedRange:options:usingComparator:"); - int _objc_msgSend_123( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer obj1, - _NSRange r, - int opts, - ffi.Pointer cmp, - ) { - return __objc_msgSend_123(obj, sel, obj1, r, opts, cmp); - } - - late final __objc_msgSend_123Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Int32, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_123 = __objc_msgSend_123Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - _NSRange, - int, - ffi.Pointer, - )>(); - - late final _sel_array1 = objc.registerName("array"); - late final _sel_arrayWithObject_1 = objc.registerName("arrayWithObject:"); - instancetype _objc_msgSend_124( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer anObject, - ) { - return __objc_msgSend_124(obj, sel, anObject); - } - - late final __objc_msgSend_124Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_124 = __objc_msgSend_124Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_arrayWithObjects_count_1 = objc.registerName( - "arrayWithObjects:count:", - ); - late final _sel_arrayWithObjects_1 = objc.registerName("arrayWithObjects:"); - late final _sel_arrayWithArray_1 = objc.registerName("arrayWithArray:"); - instancetype _objc_msgSend_125( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer array, - ) { - return __objc_msgSend_125(obj, sel, array); - } - - late final __objc_msgSend_125Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_125 = __objc_msgSend_125Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_initWithObjects_1 = objc.registerName("initWithObjects:"); - late final _sel_initWithArray_1 = objc.registerName("initWithArray:"); - late final _sel_initWithArray_copyItems_1 = objc.registerName( - "initWithArray:copyItems:", - ); - instancetype _objc_msgSend_126( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer array, - bool flag, - ) { - return __objc_msgSend_126(obj, sel, array, flag); - } - - late final __objc_msgSend_126Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - )>>('objc_msgSend'); - late final __objc_msgSend_126 = __objc_msgSend_126Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - )>(); - - late final _sel_initWithContentsOfURL_error_1 = objc.registerName( - "initWithContentsOfURL:error:", - ); - ffi.Pointer _objc_msgSend_127( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, - ffi.Pointer> error, - ) { - return __objc_msgSend_127(obj, sel, url, error); - } - - late final __objc_msgSend_127Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_127 = __objc_msgSend_127Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>(); - - late final _sel_arrayWithContentsOfURL_error_1 = objc.registerName( - "arrayWithContentsOfURL:error:", - ); - late final _sel_differenceFromArray_withOptions_usingEquivalenceTest_1 = objc - .registerName("differenceFromArray:withOptions:usingEquivalenceTest:"); - ffi.Pointer _objc_msgSend_128( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer other, - int options, - ffi.Pointer block, - ) { - return __objc_msgSend_128(obj, sel, other, options, block); - } - - late final __objc_msgSend_128Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_128 = __objc_msgSend_128Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - )>(); - - late final _sel_differenceFromArray_withOptions_1 = objc.registerName( - "differenceFromArray:withOptions:", - ); - ffi.Pointer _objc_msgSend_129( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer other, - int options, - ) { - return __objc_msgSend_129(obj, sel, other, options); - } - - late final __objc_msgSend_129Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - )>>('objc_msgSend'); - late final __objc_msgSend_129 = __objc_msgSend_129Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_differenceFromArray_1 = objc.registerName( - "differenceFromArray:", - ); - late final _sel_arrayByApplyingDifference_1 = objc.registerName( - "arrayByApplyingDifference:", - ); - ffi.Pointer _objc_msgSend_130( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer difference, - ) { - return __objc_msgSend_130(obj, sel, difference); - } - - late final __objc_msgSend_130Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_130 = __objc_msgSend_130Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_getObjects_1 = objc.registerName("getObjects:"); - void _objc_msgSend_131( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer> objects, - ) { - return __objc_msgSend_131(obj, sel, objects); - } - - late final __objc_msgSend_131Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_131 = __objc_msgSend_131Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>(); - - late final _sel_arrayWithContentsOfFile_1 = objc.registerName( - "arrayWithContentsOfFile:", - ); - ffi.Pointer _objc_msgSend_132( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, - ) { - return __objc_msgSend_132(obj, sel, path); - } - - late final __objc_msgSend_132Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_132 = __objc_msgSend_132Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_arrayWithContentsOfURL_1 = objc.registerName( - "arrayWithContentsOfURL:", - ); - ffi.Pointer _objc_msgSend_133( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, - ) { - return __objc_msgSend_133(obj, sel, url); - } - - late final __objc_msgSend_133Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_133 = __objc_msgSend_133Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_initWithContentsOfFile_1 = objc.registerName( - "initWithContentsOfFile:", - ); - late final _sel_initWithContentsOfURL_1 = objc.registerName( - "initWithContentsOfURL:", - ); - late final _sel_writeToURL_atomically_1 = objc.registerName( - "writeToURL:atomically:", - ); - bool _objc_msgSend_134( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, - bool atomically, - ) { - return __objc_msgSend_134(obj, sel, url, atomically); - } - - late final __objc_msgSend_134Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - )>>('objc_msgSend'); - late final __objc_msgSend_134 = __objc_msgSend_134Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - )>(); - - late final _sel_pathsMatchingExtensions_1 = objc.registerName( - "pathsMatchingExtensions:", - ); - late final _sel_valueForKey_1 = objc.registerName("valueForKey:"); - late final _sel_setValue_forKey_1 = objc.registerName("setValue:forKey:"); - void _objc_msgSend_135( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, - ffi.Pointer key, - ) { - return __objc_msgSend_135(obj, sel, value, key); - } - - late final __objc_msgSend_135Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_135 = __objc_msgSend_135Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_addObserver_toObjectsAtIndexes_forKeyPath_options_context_1 = - objc.registerName( - "addObserver:toObjectsAtIndexes:forKeyPath:options:context:", - ); - void _objc_msgSend_136( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer observer, - ffi.Pointer indexes, - ffi.Pointer keyPath, - int options, - ffi.Pointer context, - ) { - return __objc_msgSend_136( - obj, - sel, - observer, - indexes, - keyPath, - options, - context, - ); - } - - late final __objc_msgSend_136Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_136 = __objc_msgSend_136Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - )>(); - - late final _sel_removeObserver_fromObjectsAtIndexes_forKeyPath_context_1 = - objc.registerName( - "removeObserver:fromObjectsAtIndexes:forKeyPath:context:", - ); - void _objc_msgSend_137( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer observer, - ffi.Pointer indexes, - ffi.Pointer keyPath, - ffi.Pointer context, - ) { - return __objc_msgSend_137(obj, sel, observer, indexes, keyPath, context); - } - - late final __objc_msgSend_137Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_137 = __objc_msgSend_137Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_removeObserver_fromObjectsAtIndexes_forKeyPath_1 = - objc.registerName("removeObserver:fromObjectsAtIndexes:forKeyPath:"); - void _objc_msgSend_138( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer observer, - ffi.Pointer indexes, - ffi.Pointer keyPath, - ) { - return __objc_msgSend_138(obj, sel, observer, indexes, keyPath); - } - - late final __objc_msgSend_138Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_138 = __objc_msgSend_138Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_addObserver_forKeyPath_options_context_1 = objc.registerName( - "addObserver:forKeyPath:options:context:", - ); - void _objc_msgSend_139( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer observer, - ffi.Pointer keyPath, - int options, - ffi.Pointer context, - ) { - return __objc_msgSend_139(obj, sel, observer, keyPath, options, context); - } - - late final __objc_msgSend_139Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_139 = __objc_msgSend_139Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - )>(); - - late final _sel_removeObserver_forKeyPath_context_1 = objc.registerName( - "removeObserver:forKeyPath:context:", - ); - void _objc_msgSend_140( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer observer, - ffi.Pointer keyPath, - ffi.Pointer context, - ) { - return __objc_msgSend_140(obj, sel, observer, keyPath, context); - } - - late final __objc_msgSend_140Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_140 = __objc_msgSend_140Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_removeObserver_forKeyPath_1 = objc.registerName( - "removeObserver:forKeyPath:", - ); - void _objc_msgSend_141( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer observer, - ffi.Pointer keyPath, - ) { - return __objc_msgSend_141(obj, sel, observer, keyPath); - } - - late final __objc_msgSend_141Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_141 = __objc_msgSend_141Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_sortedArrayUsingDescriptors_1 = objc.registerName( - "sortedArrayUsingDescriptors:", - ); - late final _class_NSPredicate1 = objc.getClass("NSPredicate"); - late final _sel_predicateWithFormat_argumentArray_1 = objc.registerName( - "predicateWithFormat:argumentArray:", - ); - ffi.Pointer _objc_msgSend_142( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer predicateFormat, - ffi.Pointer arguments, - ) { - return __objc_msgSend_142(obj, sel, predicateFormat, arguments); - } - - late final __objc_msgSend_142Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_142 = __objc_msgSend_142Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_predicateWithFormat_1 = objc.registerName( - "predicateWithFormat:", - ); - ffi.Pointer _objc_msgSend_143( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer predicateFormat, - ) { - return __objc_msgSend_143(obj, sel, predicateFormat); - } - - late final __objc_msgSend_143Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_143 = __objc_msgSend_143Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_predicateWithFormat_arguments_1 = objc.registerName( - "predicateWithFormat:arguments:", - ); - ffi.Pointer _objc_msgSend_144( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer predicateFormat, - ffi.Pointer<__va_list_tag> argList, - ) { - return __objc_msgSend_144(obj, sel, predicateFormat, argList); - } - - late final __objc_msgSend_144Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<__va_list_tag>, - )>>('objc_msgSend'); - late final __objc_msgSend_144 = __objc_msgSend_144Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<__va_list_tag>, - )>(); - - late final _sel_predicateFromMetadataQueryString_1 = objc.registerName( - "predicateFromMetadataQueryString:", - ); - ffi.Pointer _objc_msgSend_145( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer queryString, - ) { - return __objc_msgSend_145(obj, sel, queryString); - } - - late final __objc_msgSend_145Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_145 = __objc_msgSend_145Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_predicateWithValue_1 = objc.registerName( - "predicateWithValue:", - ); - ffi.Pointer _objc_msgSend_146( - ffi.Pointer obj, - ffi.Pointer sel, - bool value, - ) { - return __objc_msgSend_146(obj, sel, value); - } - - late final __objc_msgSend_146Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - )>>('objc_msgSend'); - late final __objc_msgSend_146 = __objc_msgSend_146Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - bool, - )>(); - - late final _class_NSDictionary1 = objc.getClass("NSDictionary"); - late final _sel_objectForKey_1 = objc.registerName("objectForKey:"); - late final _sel_keyEnumerator1 = objc.registerName("keyEnumerator"); - late final _sel_initWithObjects_forKeys_count_1 = objc.registerName( - "initWithObjects:forKeys:count:", - ); - instancetype _objc_msgSend_147( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer> objects, - ffi.Pointer> keys, - int cnt, - ) { - return __objc_msgSend_147(obj, sel, objects, keys, cnt); - } - - late final __objc_msgSend_147Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer>, - ffi.UnsignedLong, - )>>('objc_msgSend'); - late final __objc_msgSend_147 = __objc_msgSend_147Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer>, - int, - )>(); - - late final _sel_allKeys1 = objc.registerName("allKeys"); - late final _sel_allKeysForObject_1 = objc.registerName("allKeysForObject:"); - late final _sel_allValues1 = objc.registerName("allValues"); - late final _sel_descriptionInStringsFileFormat1 = objc.registerName( - "descriptionInStringsFileFormat", - ); - late final _sel_isEqualToDictionary_1 = objc.registerName( - "isEqualToDictionary:", - ); - bool _objc_msgSend_148( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer otherDictionary, - ) { - return __objc_msgSend_148(obj, sel, otherDictionary); - } - - late final __objc_msgSend_148Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_148 = __objc_msgSend_148Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_objectsForKeys_notFoundMarker_1 = objc.registerName( - "objectsForKeys:notFoundMarker:", - ); - ffi.Pointer _objc_msgSend_149( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer keys, - ffi.Pointer marker, - ) { - return __objc_msgSend_149(obj, sel, keys, marker); - } - - late final __objc_msgSend_149Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_149 = __objc_msgSend_149Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_keysSortedByValueUsingSelector_1 = objc.registerName( - "keysSortedByValueUsingSelector:", - ); - late final _sel_getObjects_andKeys_count_1 = objc.registerName( - "getObjects:andKeys:count:", - ); - void _objc_msgSend_150( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer> objects, - ffi.Pointer> keys, - int count, - ) { - return __objc_msgSend_150(obj, sel, objects, keys, count); - } - - late final __objc_msgSend_150Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer>, - ffi.UnsignedLong, - )>>('objc_msgSend'); - late final __objc_msgSend_150 = __objc_msgSend_150Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer>, - int, - )>(); - - late final _sel_objectForKeyedSubscript_1 = objc.registerName( - "objectForKeyedSubscript:", - ); - late final _sel_enumerateKeysAndObjectsUsingBlock_1 = objc.registerName( - "enumerateKeysAndObjectsUsingBlock:", - ); - void _objc_msgSend_151( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer block, - ) { - return __objc_msgSend_151(obj, sel, block); - } - - late final __objc_msgSend_151Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_151 = __objc_msgSend_151Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_enumerateKeysAndObjectsWithOptions_usingBlock_1 = - objc.registerName("enumerateKeysAndObjectsWithOptions:usingBlock:"); - void _objc_msgSend_152( - ffi.Pointer obj, - ffi.Pointer sel, - int opts, - ffi.Pointer block, - ) { - return __objc_msgSend_152(obj, sel, opts, block); - } - - late final __objc_msgSend_152Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_152 = __objc_msgSend_152Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - )>(); - - late final _sel_keysSortedByValueUsingComparator_1 = objc.registerName( - "keysSortedByValueUsingComparator:", - ); - late final _sel_keysSortedByValueWithOptions_usingComparator_1 = - objc.registerName("keysSortedByValueWithOptions:usingComparator:"); - late final _sel_keysOfEntriesPassingTest_1 = objc.registerName( - "keysOfEntriesPassingTest:", - ); - ffi.Pointer _objc_msgSend_153( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer predicate, - ) { - return __objc_msgSend_153(obj, sel, predicate); - } - - late final __objc_msgSend_153Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_153 = __objc_msgSend_153Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_keysOfEntriesWithOptions_passingTest_1 = objc.registerName( - "keysOfEntriesWithOptions:passingTest:", - ); - ffi.Pointer _objc_msgSend_154( - ffi.Pointer obj, - ffi.Pointer sel, - int opts, - ffi.Pointer predicate, - ) { - return __objc_msgSend_154(obj, sel, opts, predicate); - } - - late final __objc_msgSend_154Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_154 = __objc_msgSend_154Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - )>(); - - late final _sel_getObjects_andKeys_1 = objc.registerName( - "getObjects:andKeys:", - ); - void _objc_msgSend_155( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer> objects, - ffi.Pointer> keys, - ) { - return __objc_msgSend_155(obj, sel, objects, keys); - } - - late final __objc_msgSend_155Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_155 = __objc_msgSend_155Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer>, - )>(); - - late final _sel_dictionaryWithContentsOfFile_1 = objc.registerName( - "dictionaryWithContentsOfFile:", - ); - ffi.Pointer _objc_msgSend_156( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, - ) { - return __objc_msgSend_156(obj, sel, path); - } - - late final __objc_msgSend_156Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_156 = __objc_msgSend_156Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_dictionaryWithContentsOfURL_1 = objc.registerName( - "dictionaryWithContentsOfURL:", - ); - ffi.Pointer _objc_msgSend_157( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, - ) { - return __objc_msgSend_157(obj, sel, url); - } - - late final __objc_msgSend_157Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_157 = __objc_msgSend_157Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_dictionary1 = objc.registerName("dictionary"); - late final _sel_dictionaryWithObject_forKey_1 = objc.registerName( - "dictionaryWithObject:forKey:", - ); - instancetype _objc_msgSend_158( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer object, - ffi.Pointer key, - ) { - return __objc_msgSend_158(obj, sel, object, key); - } - - late final __objc_msgSend_158Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_158 = __objc_msgSend_158Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_dictionaryWithObjects_forKeys_count_1 = objc.registerName( - "dictionaryWithObjects:forKeys:count:", - ); - late final _sel_dictionaryWithObjectsAndKeys_1 = objc.registerName( - "dictionaryWithObjectsAndKeys:", - ); - late final _sel_dictionaryWithDictionary_1 = objc.registerName( - "dictionaryWithDictionary:", - ); - instancetype _objc_msgSend_159( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer dict, - ) { - return __objc_msgSend_159(obj, sel, dict); - } - - late final __objc_msgSend_159Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_159 = __objc_msgSend_159Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_dictionaryWithObjects_forKeys_1 = objc.registerName( - "dictionaryWithObjects:forKeys:", - ); - instancetype _objc_msgSend_160( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer objects, - ffi.Pointer keys, - ) { - return __objc_msgSend_160(obj, sel, objects, keys); - } - - late final __objc_msgSend_160Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_160 = __objc_msgSend_160Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_initWithObjectsAndKeys_1 = objc.registerName( - "initWithObjectsAndKeys:", - ); - late final _sel_initWithDictionary_1 = objc.registerName( - "initWithDictionary:", - ); - late final _sel_initWithDictionary_copyItems_1 = objc.registerName( - "initWithDictionary:copyItems:", - ); - instancetype _objc_msgSend_161( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer otherDictionary, - bool flag, - ) { - return __objc_msgSend_161(obj, sel, otherDictionary, flag); - } - - late final __objc_msgSend_161Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - )>>('objc_msgSend'); - late final __objc_msgSend_161 = __objc_msgSend_161Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - )>(); - - late final _sel_initWithObjects_forKeys_1 = objc.registerName( - "initWithObjects:forKeys:", - ); - ffi.Pointer _objc_msgSend_162( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, - ffi.Pointer> error, - ) { - return __objc_msgSend_162(obj, sel, url, error); - } - - late final __objc_msgSend_162Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_162 = __objc_msgSend_162Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>(); - - late final _sel_dictionaryWithContentsOfURL_error_1 = objc.registerName( - "dictionaryWithContentsOfURL:error:", - ); - late final _sel_sharedKeySetForKeys_1 = objc.registerName( - "sharedKeySetForKeys:", - ); - late final _sel_countByEnumeratingWithState_objects_count_1 = - objc.registerName("countByEnumeratingWithState:objects:count:"); - int _objc_msgSend_163( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer state, - ffi.Pointer> buffer, - int len, - ) { - return __objc_msgSend_163(obj, sel, state, buffer, len); - } - - late final __objc_msgSend_163Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.UnsignedLong, - )>>('objc_msgSend'); - late final __objc_msgSend_163 = __objc_msgSend_163Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - int, - )>(); - - late final _sel_fileSize1 = objc.registerName("fileSize"); - int _objc_msgSend_164( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_164(obj, sel); - } - - late final __objc_msgSend_164Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedLongLong Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_164 = __objc_msgSend_164Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _class_NSDate1 = objc.getClass("NSDate"); - late final _sel_timeIntervalSinceReferenceDate1 = objc.registerName( - "timeIntervalSinceReferenceDate", - ); - double _objc_msgSend_165( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_165(obj, sel); - } - - late final __objc_msgSend_165Ptr = _lookup< - ffi.NativeFunction< - ffi.Double Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_165 = __objc_msgSend_165Ptr.asFunction< - double Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - double _objc_msgSend_165_fpret( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_165_fpret(obj, sel); - } - - late final __objc_msgSend_165_fpretPtr = _lookup< - ffi.NativeFunction< - ffi.Double Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend_fpret'); - late final __objc_msgSend_165_fpret = __objc_msgSend_165_fpretPtr.asFunction< - double Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_initWithTimeIntervalSinceReferenceDate_1 = objc.registerName( - "initWithTimeIntervalSinceReferenceDate:", - ); - instancetype _objc_msgSend_166( - ffi.Pointer obj, - ffi.Pointer sel, - double ti, - ) { - return __objc_msgSend_166(obj, sel, ti); - } - - late final __objc_msgSend_166Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Double, - )>>('objc_msgSend'); - late final __objc_msgSend_166 = __objc_msgSend_166Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - double, - )>(); - - late final _sel_timeIntervalSinceDate_1 = objc.registerName( - "timeIntervalSinceDate:", - ); - double _objc_msgSend_167( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer anotherDate, - ) { - return __objc_msgSend_167(obj, sel, anotherDate); - } - - late final __objc_msgSend_167Ptr = _lookup< - ffi.NativeFunction< - ffi.Double Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_167 = __objc_msgSend_167Ptr.asFunction< - double Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - double _objc_msgSend_167_fpret( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer anotherDate, - ) { - return __objc_msgSend_167_fpret(obj, sel, anotherDate); - } - - late final __objc_msgSend_167_fpretPtr = _lookup< - ffi.NativeFunction< - ffi.Double Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend_fpret'); - late final __objc_msgSend_167_fpret = __objc_msgSend_167_fpretPtr.asFunction< - double Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_timeIntervalSinceNow1 = objc.registerName( - "timeIntervalSinceNow", - ); - late final _sel_timeIntervalSince19701 = objc.registerName( - "timeIntervalSince1970", - ); - late final _sel_addTimeInterval_1 = objc.registerName("addTimeInterval:"); - late final _sel_dateByAddingTimeInterval_1 = objc.registerName( - "dateByAddingTimeInterval:", - ); - late final _sel_earlierDate_1 = objc.registerName("earlierDate:"); - ffi.Pointer _objc_msgSend_168( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer anotherDate, - ) { - return __objc_msgSend_168(obj, sel, anotherDate); - } - - late final __objc_msgSend_168Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_168 = __objc_msgSend_168Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_laterDate_1 = objc.registerName("laterDate:"); - late final _sel_compare_1 = objc.registerName("compare:"); - int _objc_msgSend_169( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer other, - ) { - return __objc_msgSend_169(obj, sel, other); - } - - late final __objc_msgSend_169Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_169 = __objc_msgSend_169Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_isEqualToDate_1 = objc.registerName("isEqualToDate:"); - bool _objc_msgSend_170( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer otherDate, - ) { - return __objc_msgSend_170(obj, sel, otherDate); - } - - late final __objc_msgSend_170Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_170 = __objc_msgSend_170Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_date1 = objc.registerName("date"); - late final _sel_dateWithTimeIntervalSinceNow_1 = objc.registerName( - "dateWithTimeIntervalSinceNow:", - ); - late final _sel_dateWithTimeIntervalSinceReferenceDate_1 = objc.registerName( - "dateWithTimeIntervalSinceReferenceDate:", - ); - late final _sel_dateWithTimeIntervalSince1970_1 = objc.registerName( - "dateWithTimeIntervalSince1970:", - ); - late final _sel_dateWithTimeInterval_sinceDate_1 = objc.registerName( - "dateWithTimeInterval:sinceDate:", - ); - instancetype _objc_msgSend_171( - ffi.Pointer obj, - ffi.Pointer sel, - double secsToBeAdded, - ffi.Pointer date, - ) { - return __objc_msgSend_171(obj, sel, secsToBeAdded, date); - } - - late final __objc_msgSend_171Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Double, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_171 = __objc_msgSend_171Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - double, - ffi.Pointer, - )>(); - - late final _sel_distantFuture1 = objc.registerName("distantFuture"); - ffi.Pointer _objc_msgSend_172( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_172(obj, sel); - } - - late final __objc_msgSend_172Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_172 = __objc_msgSend_172Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_distantPast1 = objc.registerName("distantPast"); - late final _sel_now1 = objc.registerName("now"); - late final _sel_initWithTimeIntervalSinceNow_1 = objc.registerName( - "initWithTimeIntervalSinceNow:", - ); - late final _sel_initWithTimeIntervalSince1970_1 = objc.registerName( - "initWithTimeIntervalSince1970:", - ); - late final _sel_initWithTimeInterval_sinceDate_1 = objc.registerName( - "initWithTimeInterval:sinceDate:", - ); - late final _sel_dateWithNaturalLanguageString_locale_1 = objc.registerName( - "dateWithNaturalLanguageString:locale:", - ); - ffi.Pointer _objc_msgSend_173( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer string, - ffi.Pointer locale, - ) { - return __objc_msgSend_173(obj, sel, string, locale); - } - - late final __objc_msgSend_173Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_173 = __objc_msgSend_173Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_dateWithNaturalLanguageString_1 = objc.registerName( - "dateWithNaturalLanguageString:", - ); - late final _sel_dateWithString_1 = objc.registerName("dateWithString:"); - late final _class_NSCalendarDate1 = objc.getClass("NSCalendarDate"); - late final _sel_calendarDate1 = objc.registerName("calendarDate"); - late final _sel_dateWithString_calendarFormat_locale_1 = objc.registerName( - "dateWithString:calendarFormat:locale:", - ); - ffi.Pointer _objc_msgSend_174( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer description, - ffi.Pointer format, - ffi.Pointer locale, - ) { - return __objc_msgSend_174(obj, sel, description, format, locale); - } - - late final __objc_msgSend_174Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_174 = __objc_msgSend_174Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_dateWithString_calendarFormat_1 = objc.registerName( - "dateWithString:calendarFormat:", - ); - ffi.Pointer _objc_msgSend_175( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer description, - ffi.Pointer format, - ) { - return __objc_msgSend_175(obj, sel, description, format); - } - - late final __objc_msgSend_175Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_175 = __objc_msgSend_175Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _class_NSTimeZone1 = objc.getClass("NSTimeZone"); - late final _sel_name1 = objc.registerName("name"); - late final _sel_data1 = objc.registerName("data"); - late final _sel_secondsFromGMTForDate_1 = objc.registerName( - "secondsFromGMTForDate:", - ); - int _objc_msgSend_176( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aDate, - ) { - return __objc_msgSend_176(obj, sel, aDate); - } - - late final __objc_msgSend_176Ptr = _lookup< - ffi.NativeFunction< - ffi.Long Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_176 = __objc_msgSend_176Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_abbreviationForDate_1 = objc.registerName( - "abbreviationForDate:", - ); - ffi.Pointer _objc_msgSend_177( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aDate, - ) { - return __objc_msgSend_177(obj, sel, aDate); - } - - late final __objc_msgSend_177Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_177 = __objc_msgSend_177Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_isDaylightSavingTimeForDate_1 = objc.registerName( - "isDaylightSavingTimeForDate:", - ); - late final _sel_daylightSavingTimeOffsetForDate_1 = objc.registerName( - "daylightSavingTimeOffsetForDate:", - ); - late final _sel_nextDaylightSavingTimeTransitionAfterDate_1 = - objc.registerName("nextDaylightSavingTimeTransitionAfterDate:"); - ffi.Pointer _objc_msgSend_178( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aDate, - ) { - return __objc_msgSend_178(obj, sel, aDate); - } - - late final __objc_msgSend_178Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_178 = __objc_msgSend_178Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_systemTimeZone1 = objc.registerName("systemTimeZone"); - ffi.Pointer _objc_msgSend_179( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_179(obj, sel); - } - - late final __objc_msgSend_179Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_179 = __objc_msgSend_179Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_resetSystemTimeZone1 = objc.registerName( - "resetSystemTimeZone", - ); - late final _sel_defaultTimeZone1 = objc.registerName("defaultTimeZone"); - late final _sel_setDefaultTimeZone_1 = objc.registerName( - "setDefaultTimeZone:", - ); - void _objc_msgSend_180( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, - ) { - return __objc_msgSend_180(obj, sel, value); - } - - late final __objc_msgSend_180Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_180 = __objc_msgSend_180Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_localTimeZone1 = objc.registerName("localTimeZone"); - late final _sel_knownTimeZoneNames1 = objc.registerName("knownTimeZoneNames"); - late final _sel_abbreviationDictionary1 = objc.registerName( - "abbreviationDictionary", - ); - ffi.Pointer _objc_msgSend_181( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_181(obj, sel); - } - - late final __objc_msgSend_181Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_181 = __objc_msgSend_181Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_setAbbreviationDictionary_1 = objc.registerName( - "setAbbreviationDictionary:", - ); - void _objc_msgSend_182( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, - ) { - return __objc_msgSend_182(obj, sel, value); - } - - late final __objc_msgSend_182Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_182 = __objc_msgSend_182Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_timeZoneDataVersion1 = objc.registerName( - "timeZoneDataVersion", - ); - late final _sel_secondsFromGMT1 = objc.registerName("secondsFromGMT"); - late final _sel_abbreviation1 = objc.registerName("abbreviation"); - late final _sel_isDaylightSavingTime1 = objc.registerName( - "isDaylightSavingTime", - ); - late final _sel_daylightSavingTimeOffset1 = objc.registerName( - "daylightSavingTimeOffset", - ); - late final _sel_nextDaylightSavingTimeTransition1 = objc.registerName( - "nextDaylightSavingTimeTransition", - ); - ffi.Pointer _objc_msgSend_183( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_183(obj, sel); - } - - late final __objc_msgSend_183Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_183 = __objc_msgSend_183Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_isEqualToTimeZone_1 = objc.registerName("isEqualToTimeZone:"); - bool _objc_msgSend_184( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aTimeZone, - ) { - return __objc_msgSend_184(obj, sel, aTimeZone); - } - - late final __objc_msgSend_184Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_184 = __objc_msgSend_184Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _class_NSLocale1 = objc.getClass("NSLocale"); - late final _sel_displayNameForKey_value_1 = objc.registerName( - "displayNameForKey:value:", - ); - ffi.Pointer _objc_msgSend_185( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer key, - ffi.Pointer value, - ) { - return __objc_msgSend_185(obj, sel, key, value); - } - - late final __objc_msgSend_185Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_185 = __objc_msgSend_185Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_initWithLocaleIdentifier_1 = objc.registerName( - "initWithLocaleIdentifier:", - ); - late final _sel_localeIdentifier1 = objc.registerName("localeIdentifier"); - late final _sel_localizedStringForLocaleIdentifier_1 = objc.registerName( - "localizedStringForLocaleIdentifier:", - ); - late final _sel_languageCode1 = objc.registerName("languageCode"); - late final _sel_localizedStringForLanguageCode_1 = objc.registerName( - "localizedStringForLanguageCode:", - ); - ffi.Pointer _objc_msgSend_186( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer languageCode, - ) { - return __objc_msgSend_186(obj, sel, languageCode); - } - - late final __objc_msgSend_186Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_186 = __objc_msgSend_186Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_languageIdentifier1 = objc.registerName("languageIdentifier"); - late final _sel_countryCode1 = objc.registerName("countryCode"); - late final _sel_localizedStringForCountryCode_1 = objc.registerName( - "localizedStringForCountryCode:", - ); - late final _sel_regionCode1 = objc.registerName("regionCode"); - late final _sel_scriptCode1 = objc.registerName("scriptCode"); - late final _sel_localizedStringForScriptCode_1 = objc.registerName( - "localizedStringForScriptCode:", - ); - late final _sel_variantCode1 = objc.registerName("variantCode"); - late final _sel_localizedStringForVariantCode_1 = objc.registerName( - "localizedStringForVariantCode:", - ); - late final _class_NSCharacterSet1 = objc.getClass("NSCharacterSet"); - late final _sel_controlCharacterSet1 = objc.registerName( - "controlCharacterSet", - ); - ffi.Pointer _objc_msgSend_187( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_187(obj, sel); - } - - late final __objc_msgSend_187Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_187 = __objc_msgSend_187Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_whitespaceCharacterSet1 = objc.registerName( - "whitespaceCharacterSet", - ); - late final _sel_whitespaceAndNewlineCharacterSet1 = objc.registerName( - "whitespaceAndNewlineCharacterSet", - ); - late final _sel_decimalDigitCharacterSet1 = objc.registerName( - "decimalDigitCharacterSet", - ); - late final _sel_letterCharacterSet1 = objc.registerName("letterCharacterSet"); - late final _sel_lowercaseLetterCharacterSet1 = objc.registerName( - "lowercaseLetterCharacterSet", - ); - late final _sel_uppercaseLetterCharacterSet1 = objc.registerName( - "uppercaseLetterCharacterSet", - ); - late final _sel_nonBaseCharacterSet1 = objc.registerName( - "nonBaseCharacterSet", - ); - late final _sel_alphanumericCharacterSet1 = objc.registerName( - "alphanumericCharacterSet", - ); - late final _sel_decomposableCharacterSet1 = objc.registerName( - "decomposableCharacterSet", - ); - late final _sel_illegalCharacterSet1 = objc.registerName( - "illegalCharacterSet", - ); - late final _sel_punctuationCharacterSet1 = objc.registerName( - "punctuationCharacterSet", - ); - late final _sel_capitalizedLetterCharacterSet1 = objc.registerName( - "capitalizedLetterCharacterSet", - ); - late final _sel_symbolCharacterSet1 = objc.registerName("symbolCharacterSet"); - late final _sel_newlineCharacterSet1 = objc.registerName( - "newlineCharacterSet", - ); - late final _sel_characterSetWithRange_1 = objc.registerName( - "characterSetWithRange:", - ); - ffi.Pointer _objc_msgSend_188( - ffi.Pointer obj, - ffi.Pointer sel, - _NSRange aRange, - ) { - return __objc_msgSend_188(obj, sel, aRange); - } - - late final __objc_msgSend_188Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - )>>('objc_msgSend'); - late final __objc_msgSend_188 = __objc_msgSend_188Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - )>(); - - late final _sel_characterSetWithCharactersInString_1 = objc.registerName( - "characterSetWithCharactersInString:", - ); - ffi.Pointer _objc_msgSend_189( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aString, - ) { - return __objc_msgSend_189(obj, sel, aString); - } - - late final __objc_msgSend_189Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_189 = __objc_msgSend_189Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_characterSetWithBitmapRepresentation_1 = objc.registerName( - "characterSetWithBitmapRepresentation:", - ); - ffi.Pointer _objc_msgSend_190( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer data, - ) { - return __objc_msgSend_190(obj, sel, data); - } - - late final __objc_msgSend_190Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_190 = __objc_msgSend_190Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_characterSetWithContentsOfFile_1 = objc.registerName( - "characterSetWithContentsOfFile:", - ); - ffi.Pointer _objc_msgSend_191( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer fName, - ) { - return __objc_msgSend_191(obj, sel, fName); - } - - late final __objc_msgSend_191Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_191 = __objc_msgSend_191Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - instancetype _objc_msgSend_192( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer coder, - ) { - return __objc_msgSend_192(obj, sel, coder); - } - - late final __objc_msgSend_192Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_192 = __objc_msgSend_192Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_characterIsMember_1 = objc.registerName("characterIsMember:"); - bool _objc_msgSend_193( - ffi.Pointer obj, - ffi.Pointer sel, - int aCharacter, - ) { - return __objc_msgSend_193(obj, sel, aCharacter); - } - - late final __objc_msgSend_193Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedShort, - )>>('objc_msgSend'); - late final __objc_msgSend_193 = __objc_msgSend_193Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_bitmapRepresentation1 = objc.registerName( - "bitmapRepresentation", - ); - late final _sel_invertedSet1 = objc.registerName("invertedSet"); - late final _sel_longCharacterIsMember_1 = objc.registerName( - "longCharacterIsMember:", - ); - bool _objc_msgSend_194( - ffi.Pointer obj, - ffi.Pointer sel, - int theLongChar, - ) { - return __objc_msgSend_194(obj, sel, theLongChar); - } - - late final __objc_msgSend_194Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedInt, - )>>('objc_msgSend'); - late final __objc_msgSend_194 = __objc_msgSend_194Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_isSupersetOfSet_1 = objc.registerName("isSupersetOfSet:"); - bool _objc_msgSend_195( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer theOtherSet, - ) { - return __objc_msgSend_195(obj, sel, theOtherSet); - } - - late final __objc_msgSend_195Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_195 = __objc_msgSend_195Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_hasMemberInPlane_1 = objc.registerName("hasMemberInPlane:"); - bool _objc_msgSend_196( - ffi.Pointer obj, - ffi.Pointer sel, - int thePlane, - ) { - return __objc_msgSend_196(obj, sel, thePlane); - } - - late final __objc_msgSend_196Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Uint8, - )>>('objc_msgSend'); - late final __objc_msgSend_196 = __objc_msgSend_196Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_URLUserAllowedCharacterSet1 = objc.registerName( - "URLUserAllowedCharacterSet", - ); - late final _sel_URLPasswordAllowedCharacterSet1 = objc.registerName( - "URLPasswordAllowedCharacterSet", - ); - late final _sel_URLHostAllowedCharacterSet1 = objc.registerName( - "URLHostAllowedCharacterSet", - ); - late final _sel_URLPathAllowedCharacterSet1 = objc.registerName( - "URLPathAllowedCharacterSet", - ); - late final _sel_URLQueryAllowedCharacterSet1 = objc.registerName( - "URLQueryAllowedCharacterSet", - ); - late final _sel_URLFragmentAllowedCharacterSet1 = objc.registerName( - "URLFragmentAllowedCharacterSet", - ); - late final _sel_exemplarCharacterSet1 = objc.registerName( - "exemplarCharacterSet", - ); - late final _sel_calendarIdentifier1 = objc.registerName("calendarIdentifier"); - late final _sel_localizedStringForCalendarIdentifier_1 = objc.registerName( - "localizedStringForCalendarIdentifier:", - ); - late final _sel_collationIdentifier1 = objc.registerName( - "collationIdentifier", - ); - late final _sel_localizedStringForCollationIdentifier_1 = objc.registerName( - "localizedStringForCollationIdentifier:", - ); - late final _sel_usesMetricSystem1 = objc.registerName("usesMetricSystem"); - late final _sel_decimalSeparator1 = objc.registerName("decimalSeparator"); - late final _sel_groupingSeparator1 = objc.registerName("groupingSeparator"); - late final _sel_currencySymbol1 = objc.registerName("currencySymbol"); - late final _sel_currencyCode1 = objc.registerName("currencyCode"); - late final _sel_localizedStringForCurrencyCode_1 = objc.registerName( - "localizedStringForCurrencyCode:", - ); - late final _sel_collatorIdentifier1 = objc.registerName("collatorIdentifier"); - late final _sel_localizedStringForCollatorIdentifier_1 = objc.registerName( - "localizedStringForCollatorIdentifier:", - ); - late final _sel_quotationBeginDelimiter1 = objc.registerName( - "quotationBeginDelimiter", - ); - late final _sel_quotationEndDelimiter1 = objc.registerName( - "quotationEndDelimiter", - ); - late final _sel_alternateQuotationBeginDelimiter1 = objc.registerName( - "alternateQuotationBeginDelimiter", - ); - late final _sel_alternateQuotationEndDelimiter1 = objc.registerName( - "alternateQuotationEndDelimiter", - ); - late final _sel_autoupdatingCurrentLocale1 = objc.registerName( - "autoupdatingCurrentLocale", - ); - ffi.Pointer _objc_msgSend_197( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_197(obj, sel); - } - - late final __objc_msgSend_197Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_197 = __objc_msgSend_197Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_currentLocale1 = objc.registerName("currentLocale"); - late final _sel_systemLocale1 = objc.registerName("systemLocale"); - late final _sel_localeWithLocaleIdentifier_1 = objc.registerName( - "localeWithLocaleIdentifier:", - ); - late final _sel_availableLocaleIdentifiers1 = objc.registerName( - "availableLocaleIdentifiers", - ); - late final _sel_ISOLanguageCodes1 = objc.registerName("ISOLanguageCodes"); - late final _sel_ISOCountryCodes1 = objc.registerName("ISOCountryCodes"); - late final _sel_ISOCurrencyCodes1 = objc.registerName("ISOCurrencyCodes"); - late final _sel_commonISOCurrencyCodes1 = objc.registerName( - "commonISOCurrencyCodes", - ); - late final _sel_preferredLanguages1 = objc.registerName("preferredLanguages"); - late final _sel_componentsFromLocaleIdentifier_1 = objc.registerName( - "componentsFromLocaleIdentifier:", - ); - ffi.Pointer _objc_msgSend_198( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer string, - ) { - return __objc_msgSend_198(obj, sel, string); - } - - late final __objc_msgSend_198Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_198 = __objc_msgSend_198Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_localeIdentifierFromComponents_1 = objc.registerName( - "localeIdentifierFromComponents:", - ); - ffi.Pointer _objc_msgSend_199( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer dict, - ) { - return __objc_msgSend_199(obj, sel, dict); - } - - late final __objc_msgSend_199Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_199 = __objc_msgSend_199Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_canonicalLocaleIdentifierFromString_1 = objc.registerName( - "canonicalLocaleIdentifierFromString:", - ); - late final _sel_canonicalLanguageIdentifierFromString_1 = objc.registerName( - "canonicalLanguageIdentifierFromString:", - ); - late final _sel_localeIdentifierFromWindowsLocaleCode_1 = objc.registerName( - "localeIdentifierFromWindowsLocaleCode:", - ); - ffi.Pointer _objc_msgSend_200( - ffi.Pointer obj, - ffi.Pointer sel, - int lcid, - ) { - return __objc_msgSend_200(obj, sel, lcid); - } - - late final __objc_msgSend_200Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Uint32, - )>>('objc_msgSend'); - late final __objc_msgSend_200 = __objc_msgSend_200Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_windowsLocaleCodeFromLocaleIdentifier_1 = objc.registerName( - "windowsLocaleCodeFromLocaleIdentifier:", - ); - int _objc_msgSend_201( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer localeIdentifier, - ) { - return __objc_msgSend_201(obj, sel, localeIdentifier); - } - - late final __objc_msgSend_201Ptr = _lookup< - ffi.NativeFunction< - ffi.Uint32 Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_201 = __objc_msgSend_201Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_characterDirectionForLanguage_1 = objc.registerName( - "characterDirectionForLanguage:", - ); - int _objc_msgSend_202( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer isoLangCode, - ) { - return __objc_msgSend_202(obj, sel, isoLangCode); - } - - late final __objc_msgSend_202Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_202 = __objc_msgSend_202Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_lineDirectionForLanguage_1 = objc.registerName( - "lineDirectionForLanguage:", - ); - late final _sel_localizedName_locale_1 = objc.registerName( - "localizedName:locale:", - ); - ffi.Pointer _objc_msgSend_203( - ffi.Pointer obj, - ffi.Pointer sel, - int style, - ffi.Pointer locale, - ) { - return __objc_msgSend_203(obj, sel, style, locale); - } - - late final __objc_msgSend_203Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_203 = __objc_msgSend_203Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - )>(); - - late final _sel_timeZoneWithName_1 = objc.registerName("timeZoneWithName:"); - late final _sel_timeZoneWithName_data_1 = objc.registerName( - "timeZoneWithName:data:", - ); - instancetype _objc_msgSend_204( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer tzName, - ffi.Pointer aData, - ) { - return __objc_msgSend_204(obj, sel, tzName, aData); - } - - late final __objc_msgSend_204Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_204 = __objc_msgSend_204Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_initWithName_1 = objc.registerName("initWithName:"); - late final _sel_initWithName_data_1 = objc.registerName("initWithName:data:"); - late final _sel_timeZoneForSecondsFromGMT_1 = objc.registerName( - "timeZoneForSecondsFromGMT:", - ); - instancetype _objc_msgSend_205( - ffi.Pointer obj, - ffi.Pointer sel, - int seconds, - ) { - return __objc_msgSend_205(obj, sel, seconds); - } - - late final __objc_msgSend_205Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Long, - )>>('objc_msgSend'); - late final __objc_msgSend_205 = __objc_msgSend_205Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_timeZoneWithAbbreviation_1 = objc.registerName( - "timeZoneWithAbbreviation:", - ); - late final _sel_dateWithYear_month_day_hour_minute_second_timeZone_1 = - objc.registerName("dateWithYear:month:day:hour:minute:second:timeZone:"); - ffi.Pointer _objc_msgSend_206( - ffi.Pointer obj, - ffi.Pointer sel, - int year, - int month, - int day, - int hour, - int minute, - int second, - ffi.Pointer aTimeZone, - ) { - return __objc_msgSend_206( - obj, - sel, - year, - month, - day, - hour, - minute, - second, - aTimeZone, - ); - } - - late final __objc_msgSend_206Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Long, - ffi.UnsignedLong, - ffi.UnsignedLong, - ffi.UnsignedLong, - ffi.UnsignedLong, - ffi.UnsignedLong, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_206 = __objc_msgSend_206Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - int, - int, - int, - int, - int, - ffi.Pointer, - )>(); - - late final _sel_dateByAddingYears_months_days_hours_minutes_seconds_1 = - objc.registerName("dateByAddingYears:months:days:hours:minutes:seconds:"); - ffi.Pointer _objc_msgSend_207( - ffi.Pointer obj, - ffi.Pointer sel, - int year, - int month, - int day, - int hour, - int minute, - int second, - ) { - return __objc_msgSend_207(obj, sel, year, month, day, hour, minute, second); - } - - late final __objc_msgSend_207Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Long, - ffi.Long, - ffi.Long, - ffi.Long, - ffi.Long, - ffi.Long, - )>>('objc_msgSend'); - late final __objc_msgSend_207 = __objc_msgSend_207Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - int, - int, - int, - int, - int, - )>(); - - late final _sel_dayOfCommonEra1 = objc.registerName("dayOfCommonEra"); - late final _sel_dayOfMonth1 = objc.registerName("dayOfMonth"); - late final _sel_dayOfWeek1 = objc.registerName("dayOfWeek"); - late final _sel_dayOfYear1 = objc.registerName("dayOfYear"); - late final _sel_hourOfDay1 = objc.registerName("hourOfDay"); - late final _sel_minuteOfHour1 = objc.registerName("minuteOfHour"); - late final _sel_monthOfYear1 = objc.registerName("monthOfYear"); - late final _sel_secondOfMinute1 = objc.registerName("secondOfMinute"); - late final _sel_yearOfCommonEra1 = objc.registerName("yearOfCommonEra"); - late final _sel_calendarFormat1 = objc.registerName("calendarFormat"); - late final _sel_descriptionWithCalendarFormat_locale_1 = objc.registerName( - "descriptionWithCalendarFormat:locale:", - ); - ffi.Pointer _objc_msgSend_208( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer format, - ffi.Pointer locale, - ) { - return __objc_msgSend_208(obj, sel, format, locale); - } - - late final __objc_msgSend_208Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_208 = __objc_msgSend_208Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_descriptionWithCalendarFormat_1 = objc.registerName( - "descriptionWithCalendarFormat:", - ); - late final _sel_timeZone1 = objc.registerName("timeZone"); - late final _sel_initWithString_calendarFormat_locale_1 = objc.registerName( - "initWithString:calendarFormat:locale:", - ); - late final _sel_initWithString_calendarFormat_1 = objc.registerName( - "initWithString:calendarFormat:", - ); - late final _sel_initWithYear_month_day_hour_minute_second_timeZone_1 = - objc.registerName("initWithYear:month:day:hour:minute:second:timeZone:"); - late final _sel_setCalendarFormat_1 = objc.registerName("setCalendarFormat:"); - void _objc_msgSend_209( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer format, - ) { - return __objc_msgSend_209(obj, sel, format); - } - - late final __objc_msgSend_209Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_209 = __objc_msgSend_209Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_setTimeZone_1 = objc.registerName("setTimeZone:"); - void _objc_msgSend_210( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aTimeZone, - ) { - return __objc_msgSend_210(obj, sel, aTimeZone); - } - - late final __objc_msgSend_210Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_210 = __objc_msgSend_210Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_years_months_days_hours_minutes_seconds_sinceDate_1 = - objc.registerName("years:months:days:hours:minutes:seconds:sinceDate:"); - void _objc_msgSend_211( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer yp, - ffi.Pointer mop, - ffi.Pointer dp, - ffi.Pointer hp, - ffi.Pointer mip, - ffi.Pointer sp, - ffi.Pointer date, - ) { - return __objc_msgSend_211(obj, sel, yp, mop, dp, hp, mip, sp, date); - } - - late final __objc_msgSend_211Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_211 = __objc_msgSend_211Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_dateWithCalendarFormat_timeZone_1 = objc.registerName( - "dateWithCalendarFormat:timeZone:", - ); - ffi.Pointer _objc_msgSend_212( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer format, - ffi.Pointer aTimeZone, - ) { - return __objc_msgSend_212(obj, sel, format, aTimeZone); - } - - late final __objc_msgSend_212Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_212 = __objc_msgSend_212Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_descriptionWithCalendarFormat_timeZone_locale_1 = - objc.registerName("descriptionWithCalendarFormat:timeZone:locale:"); - ffi.Pointer _objc_msgSend_213( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer format, - ffi.Pointer aTimeZone, - ffi.Pointer locale, - ) { - return __objc_msgSend_213(obj, sel, format, aTimeZone, locale); - } - - late final __objc_msgSend_213Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_213 = __objc_msgSend_213Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_fileModificationDate1 = objc.registerName( - "fileModificationDate", - ); - late final _sel_fileType1 = objc.registerName("fileType"); - late final _sel_filePosixPermissions1 = objc.registerName( - "filePosixPermissions", - ); - late final _sel_fileOwnerAccountName1 = objc.registerName( - "fileOwnerAccountName", - ); - late final _sel_fileGroupOwnerAccountName1 = objc.registerName( - "fileGroupOwnerAccountName", - ); - late final _sel_fileSystemNumber1 = objc.registerName("fileSystemNumber"); - late final _sel_fileSystemFileNumber1 = objc.registerName( - "fileSystemFileNumber", - ); - late final _sel_fileExtensionHidden1 = objc.registerName( - "fileExtensionHidden", - ); - late final _sel_fileHFSCreatorCode1 = objc.registerName("fileHFSCreatorCode"); - int _objc_msgSend_214( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_214(obj, sel); - } - - late final __objc_msgSend_214Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedInt Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_214 = __objc_msgSend_214Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_fileHFSTypeCode1 = objc.registerName("fileHFSTypeCode"); - late final _sel_fileIsImmutable1 = objc.registerName("fileIsImmutable"); - late final _sel_fileIsAppendOnly1 = objc.registerName("fileIsAppendOnly"); - late final _sel_fileCreationDate1 = objc.registerName("fileCreationDate"); - late final _sel_fileOwnerAccountID1 = objc.registerName("fileOwnerAccountID"); - ffi.Pointer _objc_msgSend_215( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_215(obj, sel); - } - - late final __objc_msgSend_215Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_215 = __objc_msgSend_215Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_fileGroupOwnerAccountID1 = objc.registerName( - "fileGroupOwnerAccountID", - ); - late final _sel_predicateWithBlock_1 = objc.registerName( - "predicateWithBlock:", - ); - ffi.Pointer _objc_msgSend_216( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer block, - ) { - return __objc_msgSend_216(obj, sel, block); - } - - late final __objc_msgSend_216Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_216 = __objc_msgSend_216Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_predicateFormat1 = objc.registerName("predicateFormat"); - late final _sel_predicateWithSubstitutionVariables_1 = objc.registerName( - "predicateWithSubstitutionVariables:", - ); - late final _sel_evaluateWithObject_1 = objc.registerName( - "evaluateWithObject:", - ); - bool _objc_msgSend_217( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer object, - ) { - return __objc_msgSend_217(obj, sel, object); - } - - late final __objc_msgSend_217Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_217 = __objc_msgSend_217Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_evaluateWithObject_substitutionVariables_1 = - objc.registerName("evaluateWithObject:substitutionVariables:"); - bool _objc_msgSend_218( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer object, - ffi.Pointer bindings, - ) { - return __objc_msgSend_218(obj, sel, object, bindings); - } - - late final __objc_msgSend_218Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_218 = __objc_msgSend_218Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_allowEvaluation1 = objc.registerName("allowEvaluation"); - late final _sel_filteredArrayUsingPredicate_1 = objc.registerName( - "filteredArrayUsingPredicate:", - ); - ffi.Pointer _objc_msgSend_219( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer predicate, - ) { - return __objc_msgSend_219(obj, sel, predicate); - } - - late final __objc_msgSend_219Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_219 = __objc_msgSend_219Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_initWithChar_1 = objc.registerName("initWithChar:"); - ffi.Pointer _objc_msgSend_220( - ffi.Pointer obj, - ffi.Pointer sel, - int value, - ) { - return __objc_msgSend_220(obj, sel, value); - } - - late final __objc_msgSend_220Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Char, - )>>('objc_msgSend'); - late final __objc_msgSend_220 = __objc_msgSend_220Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_initWithUnsignedChar_1 = objc.registerName( - "initWithUnsignedChar:", - ); - ffi.Pointer _objc_msgSend_221( - ffi.Pointer obj, - ffi.Pointer sel, - int value, - ) { - return __objc_msgSend_221(obj, sel, value); - } - - late final __objc_msgSend_221Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedChar, - )>>('objc_msgSend'); - late final __objc_msgSend_221 = __objc_msgSend_221Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_initWithShort_1 = objc.registerName("initWithShort:"); - ffi.Pointer _objc_msgSend_222( - ffi.Pointer obj, - ffi.Pointer sel, - int value, - ) { - return __objc_msgSend_222(obj, sel, value); - } - - late final __objc_msgSend_222Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Short, - )>>('objc_msgSend'); - late final __objc_msgSend_222 = __objc_msgSend_222Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_initWithUnsignedShort_1 = objc.registerName( - "initWithUnsignedShort:", - ); - ffi.Pointer _objc_msgSend_223( - ffi.Pointer obj, - ffi.Pointer sel, - int value, - ) { - return __objc_msgSend_223(obj, sel, value); - } - - late final __objc_msgSend_223Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedShort, - )>>('objc_msgSend'); - late final __objc_msgSend_223 = __objc_msgSend_223Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_initWithInt_1 = objc.registerName("initWithInt:"); - ffi.Pointer _objc_msgSend_224( - ffi.Pointer obj, - ffi.Pointer sel, - int value, - ) { - return __objc_msgSend_224(obj, sel, value); - } - - late final __objc_msgSend_224Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int, - )>>('objc_msgSend'); - late final __objc_msgSend_224 = __objc_msgSend_224Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_initWithUnsignedInt_1 = objc.registerName( - "initWithUnsignedInt:", - ); - ffi.Pointer _objc_msgSend_225( - ffi.Pointer obj, - ffi.Pointer sel, - int value, - ) { - return __objc_msgSend_225(obj, sel, value); - } - - late final __objc_msgSend_225Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedInt, - )>>('objc_msgSend'); - late final __objc_msgSend_225 = __objc_msgSend_225Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_initWithLong_1 = objc.registerName("initWithLong:"); - ffi.Pointer _objc_msgSend_226( - ffi.Pointer obj, - ffi.Pointer sel, - int value, - ) { - return __objc_msgSend_226(obj, sel, value); - } - - late final __objc_msgSend_226Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Long, - )>>('objc_msgSend'); - late final __objc_msgSend_226 = __objc_msgSend_226Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_initWithUnsignedLong_1 = objc.registerName( - "initWithUnsignedLong:", - ); - ffi.Pointer _objc_msgSend_227( - ffi.Pointer obj, - ffi.Pointer sel, - int value, - ) { - return __objc_msgSend_227(obj, sel, value); - } - - late final __objc_msgSend_227Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - )>>('objc_msgSend'); - late final __objc_msgSend_227 = __objc_msgSend_227Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_initWithLongLong_1 = objc.registerName("initWithLongLong:"); - ffi.Pointer _objc_msgSend_228( - ffi.Pointer obj, - ffi.Pointer sel, - int value, - ) { - return __objc_msgSend_228(obj, sel, value); - } - - late final __objc_msgSend_228Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.LongLong, - )>>('objc_msgSend'); - late final __objc_msgSend_228 = __objc_msgSend_228Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_initWithUnsignedLongLong_1 = objc.registerName( - "initWithUnsignedLongLong:", - ); - ffi.Pointer _objc_msgSend_229( - ffi.Pointer obj, - ffi.Pointer sel, - int value, - ) { - return __objc_msgSend_229(obj, sel, value); - } - - late final __objc_msgSend_229Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLongLong, - )>>('objc_msgSend'); - late final __objc_msgSend_229 = __objc_msgSend_229Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_initWithFloat_1 = objc.registerName("initWithFloat:"); - ffi.Pointer _objc_msgSend_230( - ffi.Pointer obj, - ffi.Pointer sel, - double value, - ) { - return __objc_msgSend_230(obj, sel, value); - } - - late final __objc_msgSend_230Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Float, - )>>('objc_msgSend'); - late final __objc_msgSend_230 = __objc_msgSend_230Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - double, - )>(); - - late final _sel_initWithDouble_1 = objc.registerName("initWithDouble:"); - ffi.Pointer _objc_msgSend_231( - ffi.Pointer obj, - ffi.Pointer sel, - double value, - ) { - return __objc_msgSend_231(obj, sel, value); - } - - late final __objc_msgSend_231Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Double, - )>>('objc_msgSend'); - late final __objc_msgSend_231 = __objc_msgSend_231Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - double, - )>(); - - late final _sel_initWithBool_1 = objc.registerName("initWithBool:"); - ffi.Pointer _objc_msgSend_232( - ffi.Pointer obj, - ffi.Pointer sel, - bool value, - ) { - return __objc_msgSend_232(obj, sel, value); - } - - late final __objc_msgSend_232Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - )>>('objc_msgSend'); - late final __objc_msgSend_232 = __objc_msgSend_232Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - bool, - )>(); - - late final _sel_initWithInteger_1 = objc.registerName("initWithInteger:"); - late final _sel_initWithUnsignedInteger_1 = objc.registerName( - "initWithUnsignedInteger:", - ); - late final _sel_charValue1 = objc.registerName("charValue"); - int _objc_msgSend_233( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_233(obj, sel); - } - - late final __objc_msgSend_233Ptr = _lookup< - ffi.NativeFunction< - ffi.Char Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_233 = __objc_msgSend_233Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_unsignedCharValue1 = objc.registerName("unsignedCharValue"); - int _objc_msgSend_234( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_234(obj, sel); - } - - late final __objc_msgSend_234Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedChar Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_234 = __objc_msgSend_234Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_shortValue1 = objc.registerName("shortValue"); - int _objc_msgSend_235( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_235(obj, sel); - } - - late final __objc_msgSend_235Ptr = _lookup< - ffi.NativeFunction< - ffi.Short Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_235 = __objc_msgSend_235Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_unsignedShortValue1 = objc.registerName("unsignedShortValue"); - int _objc_msgSend_236( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_236(obj, sel); - } - - late final __objc_msgSend_236Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedShort Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_236 = __objc_msgSend_236Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_intValue1 = objc.registerName("intValue"); - int _objc_msgSend_237( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_237(obj, sel); - } - - late final __objc_msgSend_237Ptr = _lookup< - ffi.NativeFunction< - ffi.Int Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_237 = __objc_msgSend_237Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_unsignedIntValue1 = objc.registerName("unsignedIntValue"); - late final _sel_longValue1 = objc.registerName("longValue"); - late final _sel_unsignedLongValue1 = objc.registerName("unsignedLongValue"); - late final _sel_longLongValue1 = objc.registerName("longLongValue"); - int _objc_msgSend_238( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_238(obj, sel); - } - - late final __objc_msgSend_238Ptr = _lookup< - ffi.NativeFunction< - ffi.LongLong Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_238 = __objc_msgSend_238Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_unsignedLongLongValue1 = objc.registerName( - "unsignedLongLongValue", - ); - late final _sel_floatValue1 = objc.registerName("floatValue"); - double _objc_msgSend_239( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_239(obj, sel); - } - - late final __objc_msgSend_239Ptr = _lookup< - ffi.NativeFunction< - ffi.Float Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_239 = __objc_msgSend_239Ptr.asFunction< - double Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - double _objc_msgSend_239_fpret( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_239_fpret(obj, sel); - } - - late final __objc_msgSend_239_fpretPtr = _lookup< - ffi.NativeFunction< - ffi.Float Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend_fpret'); - late final __objc_msgSend_239_fpret = __objc_msgSend_239_fpretPtr.asFunction< - double Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_doubleValue1 = objc.registerName("doubleValue"); - late final _sel_boolValue1 = objc.registerName("boolValue"); - late final _sel_integerValue1 = objc.registerName("integerValue"); - late final _sel_unsignedIntegerValue1 = objc.registerName( - "unsignedIntegerValue", - ); - late final _sel_stringValue1 = objc.registerName("stringValue"); - int _objc_msgSend_240( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer otherNumber, - ) { - return __objc_msgSend_240(obj, sel, otherNumber); - } - - late final __objc_msgSend_240Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_240 = __objc_msgSend_240Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_isEqualToNumber_1 = objc.registerName("isEqualToNumber:"); - bool _objc_msgSend_241( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer number, - ) { - return __objc_msgSend_241(obj, sel, number); - } - - late final __objc_msgSend_241Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_241 = __objc_msgSend_241Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_numberWithChar_1 = objc.registerName("numberWithChar:"); - late final _sel_numberWithUnsignedChar_1 = objc.registerName( - "numberWithUnsignedChar:", - ); - late final _sel_numberWithShort_1 = objc.registerName("numberWithShort:"); - late final _sel_numberWithUnsignedShort_1 = objc.registerName( - "numberWithUnsignedShort:", - ); - late final _sel_numberWithInt_1 = objc.registerName("numberWithInt:"); - late final _sel_numberWithUnsignedInt_1 = objc.registerName( - "numberWithUnsignedInt:", - ); - late final _sel_numberWithLong_1 = objc.registerName("numberWithLong:"); - late final _sel_numberWithUnsignedLong_1 = objc.registerName( - "numberWithUnsignedLong:", - ); - late final _sel_numberWithLongLong_1 = objc.registerName( - "numberWithLongLong:", - ); - late final _sel_numberWithUnsignedLongLong_1 = objc.registerName( - "numberWithUnsignedLongLong:", - ); - late final _sel_numberWithFloat_1 = objc.registerName("numberWithFloat:"); - late final _sel_numberWithDouble_1 = objc.registerName("numberWithDouble:"); - late final _sel_numberWithBool_1 = objc.registerName("numberWithBool:"); - late final _sel_numberWithInteger_1 = objc.registerName("numberWithInteger:"); - late final _sel_numberWithUnsignedInteger_1 = objc.registerName( - "numberWithUnsignedInteger:", - ); - late final _sel_port1 = objc.registerName("port"); - late final _sel_user1 = objc.registerName("user"); - late final _sel_password1 = objc.registerName("password"); - late final _sel_path1 = objc.registerName("path"); - late final _sel_fragment1 = objc.registerName("fragment"); - late final _sel_parameterString1 = objc.registerName("parameterString"); - late final _sel_query1 = objc.registerName("query"); - late final _sel_relativePath1 = objc.registerName("relativePath"); - late final _sel_hasDirectoryPath1 = objc.registerName("hasDirectoryPath"); - late final _sel_getFileSystemRepresentation_maxLength_1 = objc.registerName( - "getFileSystemRepresentation:maxLength:", - ); - bool _objc_msgSend_242( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer buffer, - int maxBufferLength, - ) { - return __objc_msgSend_242(obj, sel, buffer, maxBufferLength); - } - - late final __objc_msgSend_242Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - )>>('objc_msgSend'); - late final __objc_msgSend_242 = __objc_msgSend_242Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_fileSystemRepresentation1 = objc.registerName( - "fileSystemRepresentation", - ); - late final _sel_isFileURL1 = objc.registerName("isFileURL"); - late final _sel_standardizedURL1 = objc.registerName("standardizedURL"); - late final _sel_isFileReferenceURL1 = objc.registerName("isFileReferenceURL"); - late final _sel_fileReferenceURL1 = objc.registerName("fileReferenceURL"); - late final _sel_filePathURL1 = objc.registerName("filePathURL"); - late final _sel_getResourceValue_forKey_error_1 = objc.registerName( - "getResourceValue:forKey:error:", - ); - bool _objc_msgSend_243( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer> value, - ffi.Pointer key, - ffi.Pointer> error, - ) { - return __objc_msgSend_243(obj, sel, value, key, error); - } - - late final __objc_msgSend_243Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_243 = __objc_msgSend_243Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer, - ffi.Pointer>, - )>(); - - late final _sel_resourceValuesForKeys_error_1 = objc.registerName( - "resourceValuesForKeys:error:", - ); - ffi.Pointer _objc_msgSend_244( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer keys, - ffi.Pointer> error, - ) { - return __objc_msgSend_244(obj, sel, keys, error); - } - - late final __objc_msgSend_244Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_244 = __objc_msgSend_244Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>(); - - late final _sel_setResourceValue_forKey_error_1 = objc.registerName( - "setResourceValue:forKey:error:", - ); - bool _objc_msgSend_245( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, - ffi.Pointer key, - ffi.Pointer> error, - ) { - return __objc_msgSend_245(obj, sel, value, key, error); - } - - late final __objc_msgSend_245Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_245 = __objc_msgSend_245Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>(); - - late final _sel_setResourceValues_error_1 = objc.registerName( - "setResourceValues:error:", - ); - bool _objc_msgSend_246( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer keyedValues, - ffi.Pointer> error, - ) { - return __objc_msgSend_246(obj, sel, keyedValues, error); - } - - late final __objc_msgSend_246Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_246 = __objc_msgSend_246Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>(); - - late final _sel_removeCachedResourceValueForKey_1 = objc.registerName( - "removeCachedResourceValueForKey:", - ); - void _objc_msgSend_247( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer key, - ) { - return __objc_msgSend_247(obj, sel, key); - } - - late final __objc_msgSend_247Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_247 = __objc_msgSend_247Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_removeAllCachedResourceValues1 = objc.registerName( - "removeAllCachedResourceValues", - ); - late final _sel_setTemporaryResourceValue_forKey_1 = objc.registerName( - "setTemporaryResourceValue:forKey:", - ); - late final _sel_bookmarkDataWithOptions_includingResourceValuesForKeys_relativeToURL_error_1 = - objc.registerName( - "bookmarkDataWithOptions:includingResourceValuesForKeys:relativeToURL:error:", - ); - ffi.Pointer _objc_msgSend_248( - ffi.Pointer obj, - ffi.Pointer sel, - int options, - ffi.Pointer keys, - ffi.Pointer relativeURL, - ffi.Pointer> error, - ) { - return __objc_msgSend_248(obj, sel, options, keys, relativeURL, error); - } - - late final __objc_msgSend_248Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_248 = __objc_msgSend_248Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>(); - - late final _sel_initByResolvingBookmarkData_options_relativeToURL_bookmarkDataIsStale_error_1 = - objc.registerName( - "initByResolvingBookmarkData:options:relativeToURL:bookmarkDataIsStale:error:", - ); - instancetype _objc_msgSend_249( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer bookmarkData, - int options, - ffi.Pointer relativeURL, - ffi.Pointer isStale, - ffi.Pointer> error, - ) { - return __objc_msgSend_249( - obj, - sel, - bookmarkData, - options, - relativeURL, - isStale, - error, - ); - } - - late final __objc_msgSend_249Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_249 = __objc_msgSend_249Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>(); - - late final _sel_URLByResolvingBookmarkData_options_relativeToURL_bookmarkDataIsStale_error_1 = - objc.registerName( - "URLByResolvingBookmarkData:options:relativeToURL:bookmarkDataIsStale:error:", - ); - late final _sel_resourceValuesForKeys_fromBookmarkData_1 = objc.registerName( - "resourceValuesForKeys:fromBookmarkData:", - ); - ffi.Pointer _objc_msgSend_250( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer keys, - ffi.Pointer bookmarkData, - ) { - return __objc_msgSend_250(obj, sel, keys, bookmarkData); - } - - late final __objc_msgSend_250Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_250 = __objc_msgSend_250Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_writeBookmarkData_toURL_options_error_1 = objc.registerName( - "writeBookmarkData:toURL:options:error:", - ); - bool _objc_msgSend_251( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer bookmarkData, - ffi.Pointer bookmarkFileURL, - int options, - ffi.Pointer> error, - ) { - return __objc_msgSend_251( - obj, - sel, - bookmarkData, - bookmarkFileURL, - options, - error, - ); - } - - late final __objc_msgSend_251Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_251 = __objc_msgSend_251Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>, - )>(); - - late final _sel_bookmarkDataWithContentsOfURL_error_1 = objc.registerName( - "bookmarkDataWithContentsOfURL:error:", - ); - ffi.Pointer _objc_msgSend_252( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer bookmarkFileURL, - ffi.Pointer> error, - ) { - return __objc_msgSend_252(obj, sel, bookmarkFileURL, error); - } - - late final __objc_msgSend_252Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_252 = __objc_msgSend_252Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>(); - - late final _sel_URLByResolvingAliasFileAtURL_options_error_1 = - objc.registerName("URLByResolvingAliasFileAtURL:options:error:"); - instancetype _objc_msgSend_253( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, - int options, - ffi.Pointer> error, - ) { - return __objc_msgSend_253(obj, sel, url, options, error); - } - - late final __objc_msgSend_253Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_253 = __objc_msgSend_253Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>, - )>(); - - late final _sel_startAccessingSecurityScopedResource1 = objc.registerName( - "startAccessingSecurityScopedResource", - ); - late final _sel_stopAccessingSecurityScopedResource1 = objc.registerName( - "stopAccessingSecurityScopedResource", - ); - late final _sel_getPromisedItemResourceValue_forKey_error_1 = - objc.registerName("getPromisedItemResourceValue:forKey:error:"); - late final _sel_promisedItemResourceValuesForKeys_error_1 = objc.registerName( - "promisedItemResourceValuesForKeys:error:", - ); - ffi.Pointer _objc_msgSend_254( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer keys, - ffi.Pointer> error, - ) { - return __objc_msgSend_254(obj, sel, keys, error); - } - - late final __objc_msgSend_254Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_254 = __objc_msgSend_254Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>(); - - late final _sel_checkPromisedItemIsReachableAndReturnError_1 = - objc.registerName("checkPromisedItemIsReachableAndReturnError:"); - bool _objc_msgSend_255( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer> error, - ) { - return __objc_msgSend_255(obj, sel, error); - } - - late final __objc_msgSend_255Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_255 = __objc_msgSend_255Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>(); - - late final _sel_fileURLWithPathComponents_1 = objc.registerName( - "fileURLWithPathComponents:", - ); - ffi.Pointer _objc_msgSend_256( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer components, - ) { - return __objc_msgSend_256(obj, sel, components); - } - - late final __objc_msgSend_256Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_256 = __objc_msgSend_256Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_pathComponents1 = objc.registerName("pathComponents"); - late final _sel_lastPathComponent1 = objc.registerName("lastPathComponent"); - late final _sel_pathExtension1 = objc.registerName("pathExtension"); - late final _sel_URLByAppendingPathComponent_1 = objc.registerName( - "URLByAppendingPathComponent:", - ); - ffi.Pointer _objc_msgSend_257( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer pathComponent, - ) { - return __objc_msgSend_257(obj, sel, pathComponent); - } - - late final __objc_msgSend_257Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_257 = __objc_msgSend_257Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_URLByAppendingPathComponent_isDirectory_1 = objc.registerName( - "URLByAppendingPathComponent:isDirectory:", - ); - ffi.Pointer _objc_msgSend_258( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer pathComponent, - bool isDirectory, - ) { - return __objc_msgSend_258(obj, sel, pathComponent, isDirectory); - } - - late final __objc_msgSend_258Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - )>>('objc_msgSend'); - late final __objc_msgSend_258 = __objc_msgSend_258Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - )>(); - - late final _sel_URLByDeletingLastPathComponent1 = objc.registerName( - "URLByDeletingLastPathComponent", - ); - late final _sel_URLByAppendingPathExtension_1 = objc.registerName( - "URLByAppendingPathExtension:", - ); - late final _sel_URLByDeletingPathExtension1 = objc.registerName( - "URLByDeletingPathExtension", - ); - late final _sel_checkResourceIsReachableAndReturnError_1 = objc.registerName( - "checkResourceIsReachableAndReturnError:", - ); - late final _sel_URLByStandardizingPath1 = objc.registerName( - "URLByStandardizingPath", - ); - late final _sel_URLByResolvingSymlinksInPath1 = objc.registerName( - "URLByResolvingSymlinksInPath", - ); - late final _sel_resourceDataUsingCache_1 = objc.registerName( - "resourceDataUsingCache:", - ); - ffi.Pointer _objc_msgSend_259( - ffi.Pointer obj, - ffi.Pointer sel, - bool shouldUseCache, - ) { - return __objc_msgSend_259(obj, sel, shouldUseCache); - } - - late final __objc_msgSend_259Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - )>>('objc_msgSend'); - late final __objc_msgSend_259 = __objc_msgSend_259Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - bool, - )>(); - - late final _sel_loadResourceDataNotifyingClient_usingCache_1 = - objc.registerName("loadResourceDataNotifyingClient:usingCache:"); - void _objc_msgSend_260( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer client, - bool shouldUseCache, - ) { - return __objc_msgSend_260(obj, sel, client, shouldUseCache); - } - - late final __objc_msgSend_260Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - )>>('objc_msgSend'); - late final __objc_msgSend_260 = __objc_msgSend_260Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - )>(); - - late final _sel_propertyForKey_1 = objc.registerName("propertyForKey:"); - late final _sel_setResourceData_1 = objc.registerName("setResourceData:"); - late final _sel_setProperty_forKey_1 = objc.registerName( - "setProperty:forKey:", - ); - bool _objc_msgSend_261( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer property, - ffi.Pointer propertyKey, - ) { - return __objc_msgSend_261(obj, sel, property, propertyKey); - } - - late final __objc_msgSend_261Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_261 = __objc_msgSend_261Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _class_NSURLHandle1 = objc.getClass("NSURLHandle"); - late final _sel_registerURLHandleClass_1 = objc.registerName( - "registerURLHandleClass:", - ); - late final _sel_URLHandleClassForURL_1 = objc.registerName( - "URLHandleClassForURL:", - ); - ffi.Pointer _objc_msgSend_262( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer anURL, - ) { - return __objc_msgSend_262(obj, sel, anURL); - } - - late final __objc_msgSend_262Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_262 = __objc_msgSend_262Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_status1 = objc.registerName("status"); - int _objc_msgSend_263( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_263(obj, sel); - } - - late final __objc_msgSend_263Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_263 = __objc_msgSend_263Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_failureReason1 = objc.registerName("failureReason"); - late final _sel_addClient_1 = objc.registerName("addClient:"); - late final _sel_removeClient_1 = objc.registerName("removeClient:"); - late final _sel_loadInBackground1 = objc.registerName("loadInBackground"); - late final _sel_cancelLoadInBackground1 = objc.registerName( - "cancelLoadInBackground", - ); - late final _sel_resourceData1 = objc.registerName("resourceData"); - late final _sel_availableResourceData1 = objc.registerName( - "availableResourceData", - ); - late final _sel_expectedResourceDataSize1 = objc.registerName( - "expectedResourceDataSize", - ); - late final _sel_flushCachedData1 = objc.registerName("flushCachedData"); - late final _sel_backgroundLoadDidFailWithReason_1 = objc.registerName( - "backgroundLoadDidFailWithReason:", - ); - late final _sel_didLoadBytes_loadComplete_1 = objc.registerName( - "didLoadBytes:loadComplete:", - ); - void _objc_msgSend_264( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer newBytes, - bool yorn, - ) { - return __objc_msgSend_264(obj, sel, newBytes, yorn); - } - - late final __objc_msgSend_264Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - )>>('objc_msgSend'); - late final __objc_msgSend_264 = __objc_msgSend_264Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - )>(); - - late final _sel_canInitWithURL_1 = objc.registerName("canInitWithURL:"); - bool _objc_msgSend_265( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer anURL, - ) { - return __objc_msgSend_265(obj, sel, anURL); - } - - late final __objc_msgSend_265Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_265 = __objc_msgSend_265Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_cachedHandleForURL_1 = objc.registerName( - "cachedHandleForURL:", - ); - ffi.Pointer _objc_msgSend_266( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer anURL, - ) { - return __objc_msgSend_266(obj, sel, anURL); - } - - late final __objc_msgSend_266Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_266 = __objc_msgSend_266Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_initWithURL_cached_1 = objc.registerName( - "initWithURL:cached:", - ); - ffi.Pointer _objc_msgSend_267( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer anURL, - bool willCache, - ) { - return __objc_msgSend_267(obj, sel, anURL, willCache); - } - - late final __objc_msgSend_267Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - )>>('objc_msgSend'); - late final __objc_msgSend_267 = __objc_msgSend_267Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - )>(); - - late final _sel_propertyForKeyIfAvailable_1 = objc.registerName( - "propertyForKeyIfAvailable:", - ); - late final _sel_writeProperty_forKey_1 = objc.registerName( - "writeProperty:forKey:", - ); - late final _sel_writeData_1 = objc.registerName("writeData:"); - late final _sel_loadInForeground1 = objc.registerName("loadInForeground"); - late final _sel_beginLoadInBackground1 = objc.registerName( - "beginLoadInBackground", - ); - late final _sel_endLoadInBackground1 = objc.registerName( - "endLoadInBackground", - ); - late final _sel_URLHandleUsingCache_1 = objc.registerName( - "URLHandleUsingCache:", - ); - ffi.Pointer _objc_msgSend_268( - ffi.Pointer obj, - ffi.Pointer sel, - bool shouldUseCache, - ) { - return __objc_msgSend_268(obj, sel, shouldUseCache); - } - - late final __objc_msgSend_268Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - )>>('objc_msgSend'); - late final __objc_msgSend_268 = __objc_msgSend_268Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - bool, - )>(); - - late final _sel_writeToFile_options_error_1 = objc.registerName( - "writeToFile:options:error:", - ); - bool _objc_msgSend_269( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, - int writeOptionsMask, - ffi.Pointer> errorPtr, - ) { - return __objc_msgSend_269(obj, sel, path, writeOptionsMask, errorPtr); - } - - late final __objc_msgSend_269Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_269 = __objc_msgSend_269Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>, - )>(); - - late final _sel_writeToURL_options_error_1 = objc.registerName( - "writeToURL:options:error:", - ); - bool _objc_msgSend_270( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, - int writeOptionsMask, - ffi.Pointer> errorPtr, - ) { - return __objc_msgSend_270(obj, sel, url, writeOptionsMask, errorPtr); - } - - late final __objc_msgSend_270Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_270 = __objc_msgSend_270Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>, - )>(); - - late final _sel_rangeOfData_options_range_1 = objc.registerName( - "rangeOfData:options:range:", - ); - _NSRange _objc_msgSend_271( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer dataToFind, - int mask, - _NSRange searchRange, - ) { - return __objc_msgSend_271(obj, sel, dataToFind, mask, searchRange); - } - - late final __objc_msgSend_271Ptr = _lookup< - ffi.NativeFunction< - _NSRange Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - _NSRange, - )>>('objc_msgSend'); - late final __objc_msgSend_271 = __objc_msgSend_271Ptr.asFunction< - _NSRange Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - _NSRange, - )>(); - - void _objc_msgSend_271_stret( - ffi.Pointer<_NSRange> stret, - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer dataToFind, - int mask, - _NSRange searchRange, - ) { - return __objc_msgSend_271_stret( - stret, - obj, - sel, - dataToFind, - mask, - searchRange, - ); - } - - late final __objc_msgSend_271_stretPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer<_NSRange>, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - _NSRange, - )>>('objc_msgSend_stret'); - late final __objc_msgSend_271_stret = __objc_msgSend_271_stretPtr.asFunction< - void Function( - ffi.Pointer<_NSRange>, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - _NSRange, - )>(); - - late final _sel_enumerateByteRangesUsingBlock_1 = objc.registerName( - "enumerateByteRangesUsingBlock:", - ); - void _objc_msgSend_272( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer block, - ) { - return __objc_msgSend_272(obj, sel, block); - } - - late final __objc_msgSend_272Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_272 = __objc_msgSend_272Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_dataWithBytes_length_1 = objc.registerName( - "dataWithBytes:length:", - ); - instancetype _objc_msgSend_273( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer bytes, - int length, - ) { - return __objc_msgSend_273(obj, sel, bytes, length); - } - - late final __objc_msgSend_273Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - )>>('objc_msgSend'); - late final __objc_msgSend_273 = __objc_msgSend_273Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_dataWithBytesNoCopy_length_1 = objc.registerName( - "dataWithBytesNoCopy:length:", - ); - late final _sel_dataWithBytesNoCopy_length_freeWhenDone_1 = objc.registerName( - "dataWithBytesNoCopy:length:freeWhenDone:", - ); - instancetype _objc_msgSend_274( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer bytes, - int length, - bool b, - ) { - return __objc_msgSend_274(obj, sel, bytes, length, b); - } - - late final __objc_msgSend_274Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ffi.Bool, - )>>('objc_msgSend'); - late final __objc_msgSend_274 = __objc_msgSend_274Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - bool, - )>(); - - late final _sel_dataWithContentsOfFile_options_error_1 = objc.registerName( - "dataWithContentsOfFile:options:error:", - ); - instancetype _objc_msgSend_275( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, - int readOptionsMask, - ffi.Pointer> errorPtr, - ) { - return __objc_msgSend_275(obj, sel, path, readOptionsMask, errorPtr); - } - - late final __objc_msgSend_275Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_275 = __objc_msgSend_275Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>, - )>(); - - late final _sel_dataWithContentsOfURL_options_error_1 = objc.registerName( - "dataWithContentsOfURL:options:error:", - ); - instancetype _objc_msgSend_276( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, - int readOptionsMask, - ffi.Pointer> errorPtr, - ) { - return __objc_msgSend_276(obj, sel, url, readOptionsMask, errorPtr); - } - - late final __objc_msgSend_276Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_276 = __objc_msgSend_276Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>, - )>(); - - late final _sel_dataWithContentsOfFile_1 = objc.registerName( - "dataWithContentsOfFile:", - ); - late final _sel_dataWithContentsOfURL_1 = objc.registerName( - "dataWithContentsOfURL:", - ); - instancetype _objc_msgSend_277( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, - ) { - return __objc_msgSend_277(obj, sel, url); - } - - late final __objc_msgSend_277Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_277 = __objc_msgSend_277Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_initWithBytes_length_1 = objc.registerName( - "initWithBytes:length:", - ); - late final _sel_initWithBytesNoCopy_length_1 = objc.registerName( - "initWithBytesNoCopy:length:", - ); - late final _sel_initWithBytesNoCopy_length_freeWhenDone_1 = objc.registerName( - "initWithBytesNoCopy:length:freeWhenDone:", - ); - late final _sel_initWithBytesNoCopy_length_deallocator_1 = objc.registerName( - "initWithBytesNoCopy:length:deallocator:", - ); - instancetype _objc_msgSend_278( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer bytes, - int length, - ffi.Pointer deallocator, - ) { - return __objc_msgSend_278(obj, sel, bytes, length, deallocator); - } - - late final __objc_msgSend_278Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_278 = __objc_msgSend_278Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - )>(); - - late final _sel_initWithContentsOfFile_options_error_1 = objc.registerName( - "initWithContentsOfFile:options:error:", - ); - late final _sel_initWithContentsOfURL_options_error_1 = objc.registerName( - "initWithContentsOfURL:options:error:", - ); - late final _sel_initWithData_1 = objc.registerName("initWithData:"); - instancetype _objc_msgSend_279( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer data, - ) { - return __objc_msgSend_279(obj, sel, data); - } - - late final __objc_msgSend_279Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_279 = __objc_msgSend_279Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_dataWithData_1 = objc.registerName("dataWithData:"); - late final _sel_initWithBase64EncodedString_options_1 = objc.registerName( - "initWithBase64EncodedString:options:", - ); - instancetype _objc_msgSend_280( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer base64String, - int options, - ) { - return __objc_msgSend_280(obj, sel, base64String, options); - } - - late final __objc_msgSend_280Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - )>>('objc_msgSend'); - late final __objc_msgSend_280 = __objc_msgSend_280Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_base64EncodedStringWithOptions_1 = objc.registerName( - "base64EncodedStringWithOptions:", - ); - ffi.Pointer _objc_msgSend_281( - ffi.Pointer obj, - ffi.Pointer sel, - int options, - ) { - return __objc_msgSend_281(obj, sel, options); - } - - late final __objc_msgSend_281Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - )>>('objc_msgSend'); - late final __objc_msgSend_281 = __objc_msgSend_281Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_initWithBase64EncodedData_options_1 = objc.registerName( - "initWithBase64EncodedData:options:", - ); - instancetype _objc_msgSend_282( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer base64Data, - int options, - ) { - return __objc_msgSend_282(obj, sel, base64Data, options); - } - - late final __objc_msgSend_282Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - )>>('objc_msgSend'); - late final __objc_msgSend_282 = __objc_msgSend_282Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_base64EncodedDataWithOptions_1 = objc.registerName( - "base64EncodedDataWithOptions:", - ); - ffi.Pointer _objc_msgSend_283( - ffi.Pointer obj, - ffi.Pointer sel, - int options, - ) { - return __objc_msgSend_283(obj, sel, options); - } - - late final __objc_msgSend_283Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - )>>('objc_msgSend'); - late final __objc_msgSend_283 = __objc_msgSend_283Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_decompressedDataUsingAlgorithm_error_1 = objc.registerName( - "decompressedDataUsingAlgorithm:error:", - ); - instancetype _objc_msgSend_284( - ffi.Pointer obj, - ffi.Pointer sel, - int algorithm, - ffi.Pointer> error, - ) { - return __objc_msgSend_284(obj, sel, algorithm, error); - } - - late final __objc_msgSend_284Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_284 = __objc_msgSend_284Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>, - )>(); - - late final _sel_compressedDataUsingAlgorithm_error_1 = objc.registerName( - "compressedDataUsingAlgorithm:error:", - ); - late final _sel_getBytes_1 = objc.registerName("getBytes:"); - late final _sel_dataWithContentsOfMappedFile_1 = objc.registerName( - "dataWithContentsOfMappedFile:", - ); - late final _sel_initWithContentsOfMappedFile_1 = objc.registerName( - "initWithContentsOfMappedFile:", - ); - late final _sel_initWithBase64Encoding_1 = objc.registerName( - "initWithBase64Encoding:", - ); - late final _sel_base64Encoding1 = objc.registerName("base64Encoding"); - late final _sel_encodeDataObject_1 = objc.registerName("encodeDataObject:"); - void _objc_msgSend_285( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer data, - ) { - return __objc_msgSend_285(obj, sel, data); - } - - late final __objc_msgSend_285Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_285 = __objc_msgSend_285Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_decodeDataObject1 = objc.registerName("decodeDataObject"); - ffi.Pointer _objc_msgSend_286( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_286(obj, sel); - } - - late final __objc_msgSend_286Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_286 = __objc_msgSend_286Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_decodeValueOfObjCType_at_size_1 = objc.registerName( - "decodeValueOfObjCType:at:size:", - ); - void _objc_msgSend_287( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer type, - ffi.Pointer data, - int size, - ) { - return __objc_msgSend_287(obj, sel, type, data, size); - } - - late final __objc_msgSend_287Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - )>>('objc_msgSend'); - late final __objc_msgSend_287 = __objc_msgSend_287Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_versionForClassName_1 = objc.registerName( - "versionForClassName:", - ); - int _objc_msgSend_288( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer className, - ) { - return __objc_msgSend_288(obj, sel, className); - } - - late final __objc_msgSend_288Ptr = _lookup< - ffi.NativeFunction< - ffi.Long Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_288 = __objc_msgSend_288Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_encodeObject_1 = objc.registerName("encodeObject:"); - void _objc_msgSend_289( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer object, - ) { - return __objc_msgSend_289(obj, sel, object); - } - - late final __objc_msgSend_289Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_289 = __objc_msgSend_289Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_encodeRootObject_1 = objc.registerName("encodeRootObject:"); - late final _sel_encodeBycopyObject_1 = objc.registerName( - "encodeBycopyObject:", - ); - late final _sel_encodeByrefObject_1 = objc.registerName("encodeByrefObject:"); - late final _sel_encodeConditionalObject_1 = objc.registerName( - "encodeConditionalObject:", - ); - late final _sel_encodeValuesOfObjCTypes_1 = objc.registerName( - "encodeValuesOfObjCTypes:", - ); - void _objc_msgSend_290( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer types, - ) { - return __objc_msgSend_290(obj, sel, types); - } - - late final __objc_msgSend_290Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_290 = __objc_msgSend_290Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_encodeArrayOfObjCType_count_at_1 = objc.registerName( - "encodeArrayOfObjCType:count:at:", - ); - void _objc_msgSend_291( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer type, - int count, - ffi.Pointer array, - ) { - return __objc_msgSend_291(obj, sel, type, count, array); - } - - late final __objc_msgSend_291Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_291 = __objc_msgSend_291Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - )>(); - - late final _sel_encodeBytes_length_1 = objc.registerName( - "encodeBytes:length:", - ); - late final _sel_decodeObject1 = objc.registerName("decodeObject"); - late final _sel_decodeTopLevelObjectAndReturnError_1 = objc.registerName( - "decodeTopLevelObjectAndReturnError:", - ); - ffi.Pointer _objc_msgSend_292( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer> error, - ) { - return __objc_msgSend_292(obj, sel, error); - } - - late final __objc_msgSend_292Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_292 = __objc_msgSend_292Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>(); - - late final _sel_decodeValuesOfObjCTypes_1 = objc.registerName( - "decodeValuesOfObjCTypes:", - ); - late final _sel_decodeArrayOfObjCType_count_at_1 = objc.registerName( - "decodeArrayOfObjCType:count:at:", - ); - late final _sel_decodeBytesWithReturnedLength_1 = objc.registerName( - "decodeBytesWithReturnedLength:", - ); - ffi.Pointer _objc_msgSend_293( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer lengthp, - ) { - return __objc_msgSend_293(obj, sel, lengthp); - } - - late final __objc_msgSend_293Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_293 = __objc_msgSend_293Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_encodePropertyList_1 = objc.registerName( - "encodePropertyList:", - ); - late final _sel_decodePropertyList1 = objc.registerName("decodePropertyList"); - late final _sel_setObjectZone_1 = objc.registerName("setObjectZone:"); - void _objc_msgSend_294( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer<_NSZone> zone, - ) { - return __objc_msgSend_294(obj, sel, zone); - } - - late final __objc_msgSend_294Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_NSZone>, - )>>('objc_msgSend'); - late final __objc_msgSend_294 = __objc_msgSend_294Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_NSZone>, - )>(); - - late final _sel_objectZone1 = objc.registerName("objectZone"); - ffi.Pointer<_NSZone> _objc_msgSend_295( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_295(obj, sel); - } - - late final __objc_msgSend_295Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer<_NSZone> Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_295 = __objc_msgSend_295Ptr.asFunction< - ffi.Pointer<_NSZone> Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_systemVersion1 = objc.registerName("systemVersion"); - late final _sel_allowsKeyedCoding1 = objc.registerName("allowsKeyedCoding"); - late final _sel_encodeObject_forKey_1 = objc.registerName( - "encodeObject:forKey:", - ); - late final _sel_encodeConditionalObject_forKey_1 = objc.registerName( - "encodeConditionalObject:forKey:", - ); - late final _sel_encodeBool_forKey_1 = objc.registerName("encodeBool:forKey:"); - void _objc_msgSend_296( - ffi.Pointer obj, - ffi.Pointer sel, - bool value, - ffi.Pointer key, - ) { - return __objc_msgSend_296(obj, sel, value, key); - } - - late final __objc_msgSend_296Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_296 = __objc_msgSend_296Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - bool, - ffi.Pointer, - )>(); - - late final _sel_encodeInt_forKey_1 = objc.registerName("encodeInt:forKey:"); - void _objc_msgSend_297( - ffi.Pointer obj, - ffi.Pointer sel, - int value, - ffi.Pointer key, - ) { - return __objc_msgSend_297(obj, sel, value, key); - } - - late final __objc_msgSend_297Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_297 = __objc_msgSend_297Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - )>(); - - late final _sel_encodeInt32_forKey_1 = objc.registerName( - "encodeInt32:forKey:", - ); - void _objc_msgSend_298( - ffi.Pointer obj, - ffi.Pointer sel, - int value, - ffi.Pointer key, - ) { - return __objc_msgSend_298(obj, sel, value, key); - } - - late final __objc_msgSend_298Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_298 = __objc_msgSend_298Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - )>(); - - late final _sel_encodeInt64_forKey_1 = objc.registerName( - "encodeInt64:forKey:", - ); - void _objc_msgSend_299( - ffi.Pointer obj, - ffi.Pointer sel, - int value, - ffi.Pointer key, - ) { - return __objc_msgSend_299(obj, sel, value, key); - } - - late final __objc_msgSend_299Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int64, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_299 = __objc_msgSend_299Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - )>(); - - late final _sel_encodeFloat_forKey_1 = objc.registerName( - "encodeFloat:forKey:", - ); - void _objc_msgSend_300( - ffi.Pointer obj, - ffi.Pointer sel, - double value, - ffi.Pointer key, - ) { - return __objc_msgSend_300(obj, sel, value, key); - } - - late final __objc_msgSend_300Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Float, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_300 = __objc_msgSend_300Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - double, - ffi.Pointer, - )>(); - - late final _sel_encodeDouble_forKey_1 = objc.registerName( - "encodeDouble:forKey:", - ); - void _objc_msgSend_301( - ffi.Pointer obj, - ffi.Pointer sel, - double value, - ffi.Pointer key, - ) { - return __objc_msgSend_301(obj, sel, value, key); - } - - late final __objc_msgSend_301Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Double, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_301 = __objc_msgSend_301Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - double, - ffi.Pointer, - )>(); - - late final _sel_encodeBytes_length_forKey_1 = objc.registerName( - "encodeBytes:length:forKey:", - ); - void _objc_msgSend_302( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer bytes, - int length, - ffi.Pointer key, - ) { - return __objc_msgSend_302(obj, sel, bytes, length, key); - } - - late final __objc_msgSend_302Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_302 = __objc_msgSend_302Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - )>(); - - late final _sel_containsValueForKey_1 = objc.registerName( - "containsValueForKey:", - ); - late final _sel_decodeObjectForKey_1 = objc.registerName( - "decodeObjectForKey:", - ); - late final _sel_decodeTopLevelObjectForKey_error_1 = objc.registerName( - "decodeTopLevelObjectForKey:error:", - ); - ffi.Pointer _objc_msgSend_303( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer key, - ffi.Pointer> error, - ) { - return __objc_msgSend_303(obj, sel, key, error); - } - - late final __objc_msgSend_303Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_303 = __objc_msgSend_303Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>(); - - late final _sel_decodeBoolForKey_1 = objc.registerName("decodeBoolForKey:"); - late final _sel_decodeIntForKey_1 = objc.registerName("decodeIntForKey:"); - int _objc_msgSend_304( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer key, - ) { - return __objc_msgSend_304(obj, sel, key); - } - - late final __objc_msgSend_304Ptr = _lookup< - ffi.NativeFunction< - ffi.Int Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_304 = __objc_msgSend_304Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_decodeInt32ForKey_1 = objc.registerName("decodeInt32ForKey:"); - int _objc_msgSend_305( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer key, - ) { - return __objc_msgSend_305(obj, sel, key); - } - - late final __objc_msgSend_305Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_305 = __objc_msgSend_305Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_decodeInt64ForKey_1 = objc.registerName("decodeInt64ForKey:"); - int _objc_msgSend_306( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer key, - ) { - return __objc_msgSend_306(obj, sel, key); - } - - late final __objc_msgSend_306Ptr = _lookup< - ffi.NativeFunction< - ffi.Int64 Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_306 = __objc_msgSend_306Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_decodeFloatForKey_1 = objc.registerName("decodeFloatForKey:"); - double _objc_msgSend_307( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer key, - ) { - return __objc_msgSend_307(obj, sel, key); - } - - late final __objc_msgSend_307Ptr = _lookup< - ffi.NativeFunction< - ffi.Float Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_307 = __objc_msgSend_307Ptr.asFunction< - double Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - double _objc_msgSend_307_fpret( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer key, - ) { - return __objc_msgSend_307_fpret(obj, sel, key); - } - - late final __objc_msgSend_307_fpretPtr = _lookup< - ffi.NativeFunction< - ffi.Float Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend_fpret'); - late final __objc_msgSend_307_fpret = __objc_msgSend_307_fpretPtr.asFunction< - double Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_decodeDoubleForKey_1 = objc.registerName( - "decodeDoubleForKey:", - ); - double _objc_msgSend_308( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer key, - ) { - return __objc_msgSend_308(obj, sel, key); - } - - late final __objc_msgSend_308Ptr = _lookup< - ffi.NativeFunction< - ffi.Double Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_308 = __objc_msgSend_308Ptr.asFunction< - double Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - double _objc_msgSend_308_fpret( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer key, - ) { - return __objc_msgSend_308_fpret(obj, sel, key); - } - - late final __objc_msgSend_308_fpretPtr = _lookup< - ffi.NativeFunction< - ffi.Double Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend_fpret'); - late final __objc_msgSend_308_fpret = __objc_msgSend_308_fpretPtr.asFunction< - double Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_decodeBytesForKey_returnedLength_1 = objc.registerName( - "decodeBytesForKey:returnedLength:", - ); - ffi.Pointer _objc_msgSend_309( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer key, - ffi.Pointer lengthp, - ) { - return __objc_msgSend_309(obj, sel, key, lengthp); - } - - late final __objc_msgSend_309Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_309 = __objc_msgSend_309Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_encodeInteger_forKey_1 = objc.registerName( - "encodeInteger:forKey:", - ); - void _objc_msgSend_310( - ffi.Pointer obj, - ffi.Pointer sel, - int value, - ffi.Pointer key, - ) { - return __objc_msgSend_310(obj, sel, value, key); - } - - late final __objc_msgSend_310Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Long, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_310 = __objc_msgSend_310Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - )>(); - - late final _sel_decodeIntegerForKey_1 = objc.registerName( - "decodeIntegerForKey:", - ); - late final _sel_requiresSecureCoding1 = objc.registerName( - "requiresSecureCoding", - ); - late final _sel_decodeObjectOfClass_forKey_1 = objc.registerName( - "decodeObjectOfClass:forKey:", - ); - ffi.Pointer _objc_msgSend_311( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aClass, - ffi.Pointer key, - ) { - return __objc_msgSend_311(obj, sel, aClass, key); - } - - late final __objc_msgSend_311Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_311 = __objc_msgSend_311Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_decodeTopLevelObjectOfClass_forKey_error_1 = - objc.registerName("decodeTopLevelObjectOfClass:forKey:error:"); - ffi.Pointer _objc_msgSend_312( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aClass, - ffi.Pointer key, - ffi.Pointer> error, - ) { - return __objc_msgSend_312(obj, sel, aClass, key, error); - } - - late final __objc_msgSend_312Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_312 = __objc_msgSend_312Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>(); - - late final _sel_decodeArrayOfObjectsOfClass_forKey_1 = objc.registerName( - "decodeArrayOfObjectsOfClass:forKey:", - ); - ffi.Pointer _objc_msgSend_313( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer cls, - ffi.Pointer key, - ) { - return __objc_msgSend_313(obj, sel, cls, key); - } - - late final __objc_msgSend_313Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_313 = __objc_msgSend_313Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_decodeDictionaryWithKeysOfClass_objectsOfClass_forKey_1 = objc - .registerName("decodeDictionaryWithKeysOfClass:objectsOfClass:forKey:"); - ffi.Pointer _objc_msgSend_314( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer keyCls, - ffi.Pointer objectCls, - ffi.Pointer key, - ) { - return __objc_msgSend_314(obj, sel, keyCls, objectCls, key); - } - - late final __objc_msgSend_314Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_314 = __objc_msgSend_314Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_decodeObjectOfClasses_forKey_1 = objc.registerName( - "decodeObjectOfClasses:forKey:", - ); - ffi.Pointer _objc_msgSend_315( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer classes, - ffi.Pointer key, - ) { - return __objc_msgSend_315(obj, sel, classes, key); - } - - late final __objc_msgSend_315Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_315 = __objc_msgSend_315Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_decodeTopLevelObjectOfClasses_forKey_error_1 = - objc.registerName("decodeTopLevelObjectOfClasses:forKey:error:"); - ffi.Pointer _objc_msgSend_316( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer classes, - ffi.Pointer key, - ffi.Pointer> error, - ) { - return __objc_msgSend_316(obj, sel, classes, key, error); - } - - late final __objc_msgSend_316Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_316 = __objc_msgSend_316Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>(); - - late final _sel_decodeArrayOfObjectsOfClasses_forKey_1 = objc.registerName( - "decodeArrayOfObjectsOfClasses:forKey:", - ); - ffi.Pointer _objc_msgSend_317( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer classes, - ffi.Pointer key, - ) { - return __objc_msgSend_317(obj, sel, classes, key); - } - - late final __objc_msgSend_317Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_317 = __objc_msgSend_317Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_decodeDictionaryWithKeysOfClasses_objectsOfClasses_forKey_1 = - objc.registerName( - "decodeDictionaryWithKeysOfClasses:objectsOfClasses:forKey:", - ); - ffi.Pointer _objc_msgSend_318( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer keyClasses, - ffi.Pointer objectClasses, - ffi.Pointer key, - ) { - return __objc_msgSend_318(obj, sel, keyClasses, objectClasses, key); - } - - late final __objc_msgSend_318Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_318 = __objc_msgSend_318Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_decodePropertyListForKey_1 = objc.registerName( - "decodePropertyListForKey:", - ); - late final _sel_allowedClasses1 = objc.registerName("allowedClasses"); - ffi.Pointer _objc_msgSend_319( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_319(obj, sel); - } - - late final __objc_msgSend_319Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_319 = __objc_msgSend_319Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_failWithError_1 = objc.registerName("failWithError:"); - void _objc_msgSend_320( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer error, - ) { - return __objc_msgSend_320(obj, sel, error); - } - - late final __objc_msgSend_320Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_320 = __objc_msgSend_320Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_decodingFailurePolicy1 = objc.registerName( - "decodingFailurePolicy", - ); - int _objc_msgSend_321( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_321(obj, sel); - } - - late final __objc_msgSend_321Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_321 = __objc_msgSend_321Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_error1 = objc.registerName("error"); - ffi.Pointer _objc_msgSend_322( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_322(obj, sel); - } - - late final __objc_msgSend_322Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_322 = __objc_msgSend_322Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_encodeNXObject_1 = objc.registerName("encodeNXObject:"); - late final _sel_decodeNXObject1 = objc.registerName("decodeNXObject"); - late final _sel_decodeValueOfObjCType_at_1 = objc.registerName( - "decodeValueOfObjCType:at:", - ); - late final _sel_encodePoint_1 = objc.registerName("encodePoint:"); - void _objc_msgSend_323( - ffi.Pointer obj, - ffi.Pointer sel, - CGPoint point, - ) { - return __objc_msgSend_323(obj, sel, point); - } - - late final __objc_msgSend_323Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - CGPoint, - )>>('objc_msgSend'); - late final __objc_msgSend_323 = __objc_msgSend_323Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - CGPoint, - )>(); - - late final _sel_decodePoint1 = objc.registerName("decodePoint"); - late final _sel_encodeSize_1 = objc.registerName("encodeSize:"); - void _objc_msgSend_324( - ffi.Pointer obj, - ffi.Pointer sel, - CGSize size, - ) { - return __objc_msgSend_324(obj, sel, size); - } - - late final __objc_msgSend_324Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - CGSize, - )>>('objc_msgSend'); - late final __objc_msgSend_324 = __objc_msgSend_324Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - CGSize, - )>(); - - late final _sel_decodeSize1 = objc.registerName("decodeSize"); - late final _sel_encodeRect_1 = objc.registerName("encodeRect:"); - void _objc_msgSend_325( - ffi.Pointer obj, - ffi.Pointer sel, - CGRect rect, - ) { - return __objc_msgSend_325(obj, sel, rect); - } - - late final __objc_msgSend_325Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - CGRect, - )>>('objc_msgSend'); - late final __objc_msgSend_325 = __objc_msgSend_325Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - CGRect, - )>(); - - late final _sel_decodeRect1 = objc.registerName("decodeRect"); - late final _sel_encodePoint_forKey_1 = objc.registerName( - "encodePoint:forKey:", - ); - void _objc_msgSend_326( - ffi.Pointer obj, - ffi.Pointer sel, - CGPoint point, - ffi.Pointer key, - ) { - return __objc_msgSend_326(obj, sel, point, key); - } - - late final __objc_msgSend_326Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - CGPoint, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_326 = __objc_msgSend_326Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - CGPoint, - ffi.Pointer, - )>(); - - late final _sel_encodeSize_forKey_1 = objc.registerName("encodeSize:forKey:"); - void _objc_msgSend_327( - ffi.Pointer obj, - ffi.Pointer sel, - CGSize size, - ffi.Pointer key, - ) { - return __objc_msgSend_327(obj, sel, size, key); - } - - late final __objc_msgSend_327Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - CGSize, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_327 = __objc_msgSend_327Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - CGSize, - ffi.Pointer, - )>(); - - late final _sel_encodeRect_forKey_1 = objc.registerName("encodeRect:forKey:"); - void _objc_msgSend_328( - ffi.Pointer obj, - ffi.Pointer sel, - CGRect rect, - ffi.Pointer key, - ) { - return __objc_msgSend_328(obj, sel, rect, key); - } - - late final __objc_msgSend_328Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - CGRect, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_328 = __objc_msgSend_328Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - CGRect, - ffi.Pointer, - )>(); - - late final _sel_decodePointForKey_1 = objc.registerName("decodePointForKey:"); - CGPoint _objc_msgSend_329( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer key, - ) { - return __objc_msgSend_329(obj, sel, key); - } - - late final __objc_msgSend_329Ptr = _lookup< - ffi.NativeFunction< - CGPoint Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_329 = __objc_msgSend_329Ptr.asFunction< - CGPoint Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - void _objc_msgSend_329_stret( - ffi.Pointer stret, - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer key, - ) { - return __objc_msgSend_329_stret(stret, obj, sel, key); - } - - late final __objc_msgSend_329_stretPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend_stret'); - late final __objc_msgSend_329_stret = __objc_msgSend_329_stretPtr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_decodeSizeForKey_1 = objc.registerName("decodeSizeForKey:"); - CGSize _objc_msgSend_330( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer key, - ) { - return __objc_msgSend_330(obj, sel, key); - } - - late final __objc_msgSend_330Ptr = _lookup< - ffi.NativeFunction< - CGSize Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_330 = __objc_msgSend_330Ptr.asFunction< - CGSize Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - void _objc_msgSend_330_stret( - ffi.Pointer stret, - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer key, - ) { - return __objc_msgSend_330_stret(stret, obj, sel, key); - } - - late final __objc_msgSend_330_stretPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend_stret'); - late final __objc_msgSend_330_stret = __objc_msgSend_330_stretPtr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_decodeRectForKey_1 = objc.registerName("decodeRectForKey:"); - CGRect _objc_msgSend_331( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer key, - ) { - return __objc_msgSend_331(obj, sel, key); - } - - late final __objc_msgSend_331Ptr = _lookup< - ffi.NativeFunction< - CGRect Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_331 = __objc_msgSend_331Ptr.asFunction< - CGRect Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - void _objc_msgSend_331_stret( - ffi.Pointer stret, - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer key, - ) { - return __objc_msgSend_331_stret(stret, obj, sel, key); - } - - late final __objc_msgSend_331_stretPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend_stret'); - late final __objc_msgSend_331_stret = __objc_msgSend_331_stretPtr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_substringFromIndex_1 = objc.registerName( - "substringFromIndex:", - ); - ffi.Pointer _objc_msgSend_332( - ffi.Pointer obj, - ffi.Pointer sel, - int from, - ) { - return __objc_msgSend_332(obj, sel, from); - } - - late final __objc_msgSend_332Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - )>>('objc_msgSend'); - late final __objc_msgSend_332 = __objc_msgSend_332Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_substringToIndex_1 = objc.registerName("substringToIndex:"); - late final _sel_substringWithRange_1 = objc.registerName( - "substringWithRange:", - ); - ffi.Pointer _objc_msgSend_333( - ffi.Pointer obj, - ffi.Pointer sel, - _NSRange range, - ) { - return __objc_msgSend_333(obj, sel, range); - } - - late final __objc_msgSend_333Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - )>>('objc_msgSend'); - late final __objc_msgSend_333 = __objc_msgSend_333Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - )>(); - - late final _sel_getCharacters_range_1 = objc.registerName( - "getCharacters:range:", - ); - void _objc_msgSend_334( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer buffer, - _NSRange range, - ) { - return __objc_msgSend_334(obj, sel, buffer, range); - } - - late final __objc_msgSend_334Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - _NSRange, - )>>('objc_msgSend'); - late final __objc_msgSend_334 = __objc_msgSend_334Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - _NSRange, - )>(); - - int _objc_msgSend_335( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer string, - ) { - return __objc_msgSend_335(obj, sel, string); - } - - late final __objc_msgSend_335Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_335 = __objc_msgSend_335Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_compare_options_1 = objc.registerName("compare:options:"); - int _objc_msgSend_336( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer string, - int mask, - ) { - return __objc_msgSend_336(obj, sel, string, mask); - } - - late final __objc_msgSend_336Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - )>>('objc_msgSend'); - late final __objc_msgSend_336 = __objc_msgSend_336Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_compare_options_range_1 = objc.registerName( - "compare:options:range:", - ); - int _objc_msgSend_337( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer string, - int mask, - _NSRange rangeOfReceiverToCompare, - ) { - return __objc_msgSend_337(obj, sel, string, mask, rangeOfReceiverToCompare); - } - - late final __objc_msgSend_337Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - _NSRange, - )>>('objc_msgSend'); - late final __objc_msgSend_337 = __objc_msgSend_337Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - _NSRange, - )>(); - - late final _sel_compare_options_range_locale_1 = objc.registerName( - "compare:options:range:locale:", - ); - int _objc_msgSend_338( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer string, - int mask, - _NSRange rangeOfReceiverToCompare, - ffi.Pointer locale, - ) { - return __objc_msgSend_338( - obj, - sel, - string, - mask, - rangeOfReceiverToCompare, - locale, - ); - } - - late final __objc_msgSend_338Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - _NSRange, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_338 = __objc_msgSend_338Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - _NSRange, - ffi.Pointer, - )>(); - - late final _sel_caseInsensitiveCompare_1 = objc.registerName( - "caseInsensitiveCompare:", - ); - late final _sel_localizedCompare_1 = objc.registerName("localizedCompare:"); - late final _sel_localizedCaseInsensitiveCompare_1 = objc.registerName( - "localizedCaseInsensitiveCompare:", - ); - late final _sel_localizedStandardCompare_1 = objc.registerName( - "localizedStandardCompare:", - ); - late final _sel_isEqualToString_1 = objc.registerName("isEqualToString:"); - late final _sel_hasPrefix_1 = objc.registerName("hasPrefix:"); - late final _sel_hasSuffix_1 = objc.registerName("hasSuffix:"); - late final _sel_commonPrefixWithString_options_1 = objc.registerName( - "commonPrefixWithString:options:", - ); - ffi.Pointer _objc_msgSend_339( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer str, - int mask, - ) { - return __objc_msgSend_339(obj, sel, str, mask); - } - - late final __objc_msgSend_339Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - )>>('objc_msgSend'); - late final __objc_msgSend_339 = __objc_msgSend_339Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_containsString_1 = objc.registerName("containsString:"); - late final _sel_localizedCaseInsensitiveContainsString_1 = objc.registerName( - "localizedCaseInsensitiveContainsString:", - ); - late final _sel_localizedStandardContainsString_1 = objc.registerName( - "localizedStandardContainsString:", - ); - late final _sel_localizedStandardRangeOfString_1 = objc.registerName( - "localizedStandardRangeOfString:", - ); - _NSRange _objc_msgSend_340( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer str, - ) { - return __objc_msgSend_340(obj, sel, str); - } - - late final __objc_msgSend_340Ptr = _lookup< - ffi.NativeFunction< - _NSRange Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_340 = __objc_msgSend_340Ptr.asFunction< - _NSRange Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - void _objc_msgSend_340_stret( - ffi.Pointer<_NSRange> stret, - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer str, - ) { - return __objc_msgSend_340_stret(stret, obj, sel, str); - } - - late final __objc_msgSend_340_stretPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer<_NSRange>, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend_stret'); - late final __objc_msgSend_340_stret = __objc_msgSend_340_stretPtr.asFunction< - void Function( - ffi.Pointer<_NSRange>, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_rangeOfString_1 = objc.registerName("rangeOfString:"); - late final _sel_rangeOfString_options_1 = objc.registerName( - "rangeOfString:options:", - ); - _NSRange _objc_msgSend_341( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer searchString, - int mask, - ) { - return __objc_msgSend_341(obj, sel, searchString, mask); - } - - late final __objc_msgSend_341Ptr = _lookup< - ffi.NativeFunction< - _NSRange Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - )>>('objc_msgSend'); - late final __objc_msgSend_341 = __objc_msgSend_341Ptr.asFunction< - _NSRange Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - void _objc_msgSend_341_stret( - ffi.Pointer<_NSRange> stret, - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer searchString, - int mask, - ) { - return __objc_msgSend_341_stret(stret, obj, sel, searchString, mask); - } - - late final __objc_msgSend_341_stretPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer<_NSRange>, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - )>>('objc_msgSend_stret'); - late final __objc_msgSend_341_stret = __objc_msgSend_341_stretPtr.asFunction< - void Function( - ffi.Pointer<_NSRange>, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_rangeOfString_options_range_1 = objc.registerName( - "rangeOfString:options:range:", - ); - _NSRange _objc_msgSend_342( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer searchString, - int mask, - _NSRange rangeOfReceiverToSearch, - ) { - return __objc_msgSend_342( - obj, - sel, - searchString, - mask, - rangeOfReceiverToSearch, - ); - } - - late final __objc_msgSend_342Ptr = _lookup< - ffi.NativeFunction< - _NSRange Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - _NSRange, - )>>('objc_msgSend'); - late final __objc_msgSend_342 = __objc_msgSend_342Ptr.asFunction< - _NSRange Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - _NSRange, - )>(); - - void _objc_msgSend_342_stret( - ffi.Pointer<_NSRange> stret, - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer searchString, - int mask, - _NSRange rangeOfReceiverToSearch, - ) { - return __objc_msgSend_342_stret( - stret, - obj, - sel, - searchString, - mask, - rangeOfReceiverToSearch, - ); - } - - late final __objc_msgSend_342_stretPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer<_NSRange>, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - _NSRange, - )>>('objc_msgSend_stret'); - late final __objc_msgSend_342_stret = __objc_msgSend_342_stretPtr.asFunction< - void Function( - ffi.Pointer<_NSRange>, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - _NSRange, - )>(); - - late final _sel_rangeOfString_options_range_locale_1 = objc.registerName( - "rangeOfString:options:range:locale:", - ); - _NSRange _objc_msgSend_343( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer searchString, - int mask, - _NSRange rangeOfReceiverToSearch, - ffi.Pointer locale, - ) { - return __objc_msgSend_343( - obj, - sel, - searchString, - mask, - rangeOfReceiverToSearch, - locale, - ); - } - - late final __objc_msgSend_343Ptr = _lookup< - ffi.NativeFunction< - _NSRange Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - _NSRange, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_343 = __objc_msgSend_343Ptr.asFunction< - _NSRange Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - _NSRange, - ffi.Pointer, - )>(); - - void _objc_msgSend_343_stret( - ffi.Pointer<_NSRange> stret, - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer searchString, - int mask, - _NSRange rangeOfReceiverToSearch, - ffi.Pointer locale, - ) { - return __objc_msgSend_343_stret( - stret, - obj, - sel, - searchString, - mask, - rangeOfReceiverToSearch, - locale, - ); - } - - late final __objc_msgSend_343_stretPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer<_NSRange>, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - _NSRange, - ffi.Pointer, - )>>('objc_msgSend_stret'); - late final __objc_msgSend_343_stret = __objc_msgSend_343_stretPtr.asFunction< - void Function( - ffi.Pointer<_NSRange>, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - _NSRange, - ffi.Pointer, - )>(); - - late final _sel_rangeOfCharacterFromSet_1 = objc.registerName( - "rangeOfCharacterFromSet:", - ); - _NSRange _objc_msgSend_344( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer searchSet, - ) { - return __objc_msgSend_344(obj, sel, searchSet); - } - - late final __objc_msgSend_344Ptr = _lookup< - ffi.NativeFunction< - _NSRange Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_344 = __objc_msgSend_344Ptr.asFunction< - _NSRange Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - void _objc_msgSend_344_stret( - ffi.Pointer<_NSRange> stret, - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer searchSet, - ) { - return __objc_msgSend_344_stret(stret, obj, sel, searchSet); - } - - late final __objc_msgSend_344_stretPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer<_NSRange>, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend_stret'); - late final __objc_msgSend_344_stret = __objc_msgSend_344_stretPtr.asFunction< - void Function( - ffi.Pointer<_NSRange>, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_rangeOfCharacterFromSet_options_1 = objc.registerName( - "rangeOfCharacterFromSet:options:", - ); - _NSRange _objc_msgSend_345( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer searchSet, - int mask, - ) { - return __objc_msgSend_345(obj, sel, searchSet, mask); - } - - late final __objc_msgSend_345Ptr = _lookup< - ffi.NativeFunction< - _NSRange Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - )>>('objc_msgSend'); - late final __objc_msgSend_345 = __objc_msgSend_345Ptr.asFunction< - _NSRange Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - void _objc_msgSend_345_stret( - ffi.Pointer<_NSRange> stret, - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer searchSet, - int mask, - ) { - return __objc_msgSend_345_stret(stret, obj, sel, searchSet, mask); - } - - late final __objc_msgSend_345_stretPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer<_NSRange>, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - )>>('objc_msgSend_stret'); - late final __objc_msgSend_345_stret = __objc_msgSend_345_stretPtr.asFunction< - void Function( - ffi.Pointer<_NSRange>, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_rangeOfCharacterFromSet_options_range_1 = objc.registerName( - "rangeOfCharacterFromSet:options:range:", - ); - _NSRange _objc_msgSend_346( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer searchSet, - int mask, - _NSRange rangeOfReceiverToSearch, - ) { - return __objc_msgSend_346( - obj, - sel, - searchSet, - mask, - rangeOfReceiverToSearch, - ); - } - - late final __objc_msgSend_346Ptr = _lookup< - ffi.NativeFunction< - _NSRange Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - _NSRange, - )>>('objc_msgSend'); - late final __objc_msgSend_346 = __objc_msgSend_346Ptr.asFunction< - _NSRange Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - _NSRange, - )>(); - - void _objc_msgSend_346_stret( - ffi.Pointer<_NSRange> stret, - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer searchSet, - int mask, - _NSRange rangeOfReceiverToSearch, - ) { - return __objc_msgSend_346_stret( - stret, - obj, - sel, - searchSet, - mask, - rangeOfReceiverToSearch, - ); - } - - late final __objc_msgSend_346_stretPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer<_NSRange>, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - _NSRange, - )>>('objc_msgSend_stret'); - late final __objc_msgSend_346_stret = __objc_msgSend_346_stretPtr.asFunction< - void Function( - ffi.Pointer<_NSRange>, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - _NSRange, - )>(); - - late final _sel_rangeOfComposedCharacterSequenceAtIndex_1 = objc.registerName( - "rangeOfComposedCharacterSequenceAtIndex:", - ); - _NSRange _objc_msgSend_347( - ffi.Pointer obj, - ffi.Pointer sel, - int index, - ) { - return __objc_msgSend_347(obj, sel, index); - } - - late final __objc_msgSend_347Ptr = _lookup< - ffi.NativeFunction< - _NSRange Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - )>>('objc_msgSend'); - late final __objc_msgSend_347 = __objc_msgSend_347Ptr.asFunction< - _NSRange Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - void _objc_msgSend_347_stret( - ffi.Pointer<_NSRange> stret, - ffi.Pointer obj, - ffi.Pointer sel, - int index, - ) { - return __objc_msgSend_347_stret(stret, obj, sel, index); - } - - late final __objc_msgSend_347_stretPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer<_NSRange>, - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - )>>('objc_msgSend_stret'); - late final __objc_msgSend_347_stret = __objc_msgSend_347_stretPtr.asFunction< - void Function( - ffi.Pointer<_NSRange>, - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_rangeOfComposedCharacterSequencesForRange_1 = - objc.registerName("rangeOfComposedCharacterSequencesForRange:"); - _NSRange _objc_msgSend_348( - ffi.Pointer obj, - ffi.Pointer sel, - _NSRange range, - ) { - return __objc_msgSend_348(obj, sel, range); - } - - late final __objc_msgSend_348Ptr = _lookup< - ffi.NativeFunction< - _NSRange Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - )>>('objc_msgSend'); - late final __objc_msgSend_348 = __objc_msgSend_348Ptr.asFunction< - _NSRange Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - )>(); - - void _objc_msgSend_348_stret( - ffi.Pointer<_NSRange> stret, - ffi.Pointer obj, - ffi.Pointer sel, - _NSRange range, - ) { - return __objc_msgSend_348_stret(stret, obj, sel, range); - } - - late final __objc_msgSend_348_stretPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer<_NSRange>, - ffi.Pointer, - ffi.Pointer, - _NSRange, - )>>('objc_msgSend_stret'); - late final __objc_msgSend_348_stret = __objc_msgSend_348_stretPtr.asFunction< - void Function( - ffi.Pointer<_NSRange>, - ffi.Pointer, - ffi.Pointer, - _NSRange, - )>(); - - late final _sel_stringByAppendingString_1 = objc.registerName( - "stringByAppendingString:", - ); - late final _sel_stringByAppendingFormat_1 = objc.registerName( - "stringByAppendingFormat:", - ); - late final _sel_uppercaseString1 = objc.registerName("uppercaseString"); - late final _sel_lowercaseString1 = objc.registerName("lowercaseString"); - late final _sel_capitalizedString1 = objc.registerName("capitalizedString"); - late final _sel_localizedUppercaseString1 = objc.registerName( - "localizedUppercaseString", - ); - late final _sel_localizedLowercaseString1 = objc.registerName( - "localizedLowercaseString", - ); - late final _sel_localizedCapitalizedString1 = objc.registerName( - "localizedCapitalizedString", - ); - late final _sel_uppercaseStringWithLocale_1 = objc.registerName( - "uppercaseStringWithLocale:", - ); - ffi.Pointer _objc_msgSend_349( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer locale, - ) { - return __objc_msgSend_349(obj, sel, locale); - } - - late final __objc_msgSend_349Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_349 = __objc_msgSend_349Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_lowercaseStringWithLocale_1 = objc.registerName( - "lowercaseStringWithLocale:", - ); - late final _sel_capitalizedStringWithLocale_1 = objc.registerName( - "capitalizedStringWithLocale:", - ); - late final _sel_getLineStart_end_contentsEnd_forRange_1 = objc.registerName( - "getLineStart:end:contentsEnd:forRange:", - ); - void _objc_msgSend_350( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer startPtr, - ffi.Pointer lineEndPtr, - ffi.Pointer contentsEndPtr, - _NSRange range, - ) { - return __objc_msgSend_350( - obj, - sel, - startPtr, - lineEndPtr, - contentsEndPtr, - range, - ); - } - - late final __objc_msgSend_350Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - _NSRange, - )>>('objc_msgSend'); - late final __objc_msgSend_350 = __objc_msgSend_350Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - _NSRange, - )>(); - - late final _sel_lineRangeForRange_1 = objc.registerName("lineRangeForRange:"); - late final _sel_getParagraphStart_end_contentsEnd_forRange_1 = - objc.registerName("getParagraphStart:end:contentsEnd:forRange:"); - late final _sel_paragraphRangeForRange_1 = objc.registerName( - "paragraphRangeForRange:", - ); - late final _sel_enumerateSubstringsInRange_options_usingBlock_1 = - objc.registerName("enumerateSubstringsInRange:options:usingBlock:"); - void _objc_msgSend_351( - ffi.Pointer obj, - ffi.Pointer sel, - _NSRange range, - int opts, - ffi.Pointer block, - ) { - return __objc_msgSend_351(obj, sel, range, opts, block); - } - - late final __objc_msgSend_351Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Int32, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_351 = __objc_msgSend_351Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - int, - ffi.Pointer, - )>(); - - late final _sel_enumerateLinesUsingBlock_1 = objc.registerName( - "enumerateLinesUsingBlock:", - ); - void _objc_msgSend_352( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer block, - ) { - return __objc_msgSend_352(obj, sel, block); - } - - late final __objc_msgSend_352Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_352 = __objc_msgSend_352Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_UTF8String1 = objc.registerName("UTF8String"); - late final _sel_fastestEncoding1 = objc.registerName("fastestEncoding"); - late final _sel_smallestEncoding1 = objc.registerName("smallestEncoding"); - late final _sel_dataUsingEncoding_allowLossyConversion_1 = objc.registerName( - "dataUsingEncoding:allowLossyConversion:", - ); - ffi.Pointer _objc_msgSend_353( - ffi.Pointer obj, - ffi.Pointer sel, - int encoding, - bool lossy, - ) { - return __objc_msgSend_353(obj, sel, encoding, lossy); - } - - late final __objc_msgSend_353Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ffi.Bool, - )>>('objc_msgSend'); - late final __objc_msgSend_353 = __objc_msgSend_353Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - bool, - )>(); - - late final _sel_dataUsingEncoding_1 = objc.registerName("dataUsingEncoding:"); - ffi.Pointer _objc_msgSend_354( - ffi.Pointer obj, - ffi.Pointer sel, - int encoding, - ) { - return __objc_msgSend_354(obj, sel, encoding); - } - - late final __objc_msgSend_354Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - )>>('objc_msgSend'); - late final __objc_msgSend_354 = __objc_msgSend_354Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_canBeConvertedToEncoding_1 = objc.registerName( - "canBeConvertedToEncoding:", - ); - late final _sel_cStringUsingEncoding_1 = objc.registerName( - "cStringUsingEncoding:", - ); - late final _sel_getCString_maxLength_encoding_1 = objc.registerName( - "getCString:maxLength:encoding:", - ); - bool _objc_msgSend_355( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer buffer, - int maxBufferCount, - int encoding, - ) { - return __objc_msgSend_355(obj, sel, buffer, maxBufferCount, encoding); - } - - late final __objc_msgSend_355Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ffi.UnsignedLong, - )>>('objc_msgSend'); - late final __objc_msgSend_355 = __objc_msgSend_355Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - int, - )>(); - - late final _sel_getBytes_maxLength_usedLength_encoding_options_range_remainingRange_1 = - objc.registerName( - "getBytes:maxLength:usedLength:encoding:options:range:remainingRange:", - ); - bool _objc_msgSend_356( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer buffer, - int maxBufferCount, - ffi.Pointer usedBufferCount, - int encoding, - int options, - _NSRange range, - ffi.Pointer<_NSRange> leftover, - ) { - return __objc_msgSend_356( - obj, - sel, - buffer, - maxBufferCount, - usedBufferCount, - encoding, - options, - range, - leftover, - ); - } - - late final __objc_msgSend_356Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer, - ffi.UnsignedLong, - ffi.Int32, - _NSRange, - ffi.Pointer<_NSRange>, - )>>('objc_msgSend'); - late final __objc_msgSend_356 = __objc_msgSend_356Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - int, - int, - _NSRange, - ffi.Pointer<_NSRange>, - )>(); - - late final _sel_maximumLengthOfBytesUsingEncoding_1 = objc.registerName( - "maximumLengthOfBytesUsingEncoding:", - ); - late final _sel_lengthOfBytesUsingEncoding_1 = objc.registerName( - "lengthOfBytesUsingEncoding:", - ); - late final _sel_availableStringEncodings1 = objc.registerName( - "availableStringEncodings", - ); - ffi.Pointer _objc_msgSend_357( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_357(obj, sel); - } - - late final __objc_msgSend_357Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_357 = __objc_msgSend_357Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_localizedNameOfStringEncoding_1 = objc.registerName( - "localizedNameOfStringEncoding:", - ); - late final _sel_defaultCStringEncoding1 = objc.registerName( - "defaultCStringEncoding", - ); - late final _sel_decomposedStringWithCanonicalMapping1 = objc.registerName( - "decomposedStringWithCanonicalMapping", - ); - late final _sel_precomposedStringWithCanonicalMapping1 = objc.registerName( - "precomposedStringWithCanonicalMapping", - ); - late final _sel_decomposedStringWithCompatibilityMapping1 = objc.registerName( - "decomposedStringWithCompatibilityMapping", - ); - late final _sel_precomposedStringWithCompatibilityMapping1 = - objc.registerName("precomposedStringWithCompatibilityMapping"); - late final _sel_componentsSeparatedByString_1 = objc.registerName( - "componentsSeparatedByString:", - ); - ffi.Pointer _objc_msgSend_358( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer separator, - ) { - return __objc_msgSend_358(obj, sel, separator); - } - - late final __objc_msgSend_358Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_358 = __objc_msgSend_358Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_componentsSeparatedByCharactersInSet_1 = objc.registerName( - "componentsSeparatedByCharactersInSet:", - ); - ffi.Pointer _objc_msgSend_359( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer separator, - ) { - return __objc_msgSend_359(obj, sel, separator); - } - - late final __objc_msgSend_359Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_359 = __objc_msgSend_359Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_stringByTrimmingCharactersInSet_1 = objc.registerName( - "stringByTrimmingCharactersInSet:", - ); - ffi.Pointer _objc_msgSend_360( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer set1, - ) { - return __objc_msgSend_360(obj, sel, set1); - } - - late final __objc_msgSend_360Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_360 = __objc_msgSend_360Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_stringByPaddingToLength_withString_startingAtIndex_1 = - objc.registerName("stringByPaddingToLength:withString:startingAtIndex:"); - ffi.Pointer _objc_msgSend_361( - ffi.Pointer obj, - ffi.Pointer sel, - int newLength, - ffi.Pointer padString, - int padIndex, - ) { - return __objc_msgSend_361(obj, sel, newLength, padString, padIndex); - } - - late final __objc_msgSend_361Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer, - ffi.UnsignedLong, - )>>('objc_msgSend'); - late final __objc_msgSend_361 = __objc_msgSend_361Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - int, - )>(); - - late final _sel_stringByFoldingWithOptions_locale_1 = objc.registerName( - "stringByFoldingWithOptions:locale:", - ); - ffi.Pointer _objc_msgSend_362( - ffi.Pointer obj, - ffi.Pointer sel, - int options, - ffi.Pointer locale, - ) { - return __objc_msgSend_362(obj, sel, options, locale); - } - - late final __objc_msgSend_362Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_362 = __objc_msgSend_362Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - )>(); - - late final _sel_stringByReplacingOccurrencesOfString_withString_options_range_1 = - objc.registerName( - "stringByReplacingOccurrencesOfString:withString:options:range:", - ); - ffi.Pointer _objc_msgSend_363( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer target, - ffi.Pointer replacement, - int options, - _NSRange searchRange, - ) { - return __objc_msgSend_363( - obj, - sel, - target, - replacement, - options, - searchRange, - ); - } - - late final __objc_msgSend_363Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - _NSRange, - )>>('objc_msgSend'); - late final __objc_msgSend_363 = __objc_msgSend_363Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - _NSRange, - )>(); - - late final _sel_stringByReplacingOccurrencesOfString_withString_1 = - objc.registerName("stringByReplacingOccurrencesOfString:withString:"); - ffi.Pointer _objc_msgSend_364( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer target, - ffi.Pointer replacement, - ) { - return __objc_msgSend_364(obj, sel, target, replacement); - } - - late final __objc_msgSend_364Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_364 = __objc_msgSend_364Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_stringByReplacingCharactersInRange_withString_1 = - objc.registerName("stringByReplacingCharactersInRange:withString:"); - ffi.Pointer _objc_msgSend_365( - ffi.Pointer obj, - ffi.Pointer sel, - _NSRange range, - ffi.Pointer replacement, - ) { - return __objc_msgSend_365(obj, sel, range, replacement); - } - - late final __objc_msgSend_365Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_365 = __objc_msgSend_365Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - )>(); - - late final _sel_stringByApplyingTransform_reverse_1 = objc.registerName( - "stringByApplyingTransform:reverse:", - ); - ffi.Pointer _objc_msgSend_366( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer transform, - bool reverse, - ) { - return __objc_msgSend_366(obj, sel, transform, reverse); - } - - late final __objc_msgSend_366Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - )>>('objc_msgSend'); - late final __objc_msgSend_366 = __objc_msgSend_366Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - )>(); - - late final _sel_writeToURL_atomically_encoding_error_1 = objc.registerName( - "writeToURL:atomically:encoding:error:", - ); - bool _objc_msgSend_367( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, - bool useAuxiliaryFile, - int enc, - ffi.Pointer> error, - ) { - return __objc_msgSend_367(obj, sel, url, useAuxiliaryFile, enc, error); - } - - late final __objc_msgSend_367Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - ffi.UnsignedLong, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_367 = __objc_msgSend_367Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - int, - ffi.Pointer>, - )>(); - - late final _sel_writeToFile_atomically_encoding_error_1 = objc.registerName( - "writeToFile:atomically:encoding:error:", - ); - bool _objc_msgSend_368( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, - bool useAuxiliaryFile, - int enc, - ffi.Pointer> error, - ) { - return __objc_msgSend_368(obj, sel, path, useAuxiliaryFile, enc, error); - } - - late final __objc_msgSend_368Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - ffi.UnsignedLong, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_368 = __objc_msgSend_368Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - int, - ffi.Pointer>, - )>(); - - late final _sel_hash1 = objc.registerName("hash"); - late final _sel_initWithCharactersNoCopy_length_freeWhenDone_1 = - objc.registerName("initWithCharactersNoCopy:length:freeWhenDone:"); - instancetype _objc_msgSend_369( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer characters, - int length, - bool freeBuffer, - ) { - return __objc_msgSend_369(obj, sel, characters, length, freeBuffer); - } - - late final __objc_msgSend_369Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ffi.Bool, - )>>('objc_msgSend'); - late final __objc_msgSend_369 = __objc_msgSend_369Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - bool, - )>(); - - late final _sel_initWithCharactersNoCopy_length_deallocator_1 = - objc.registerName("initWithCharactersNoCopy:length:deallocator:"); - instancetype _objc_msgSend_370( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer chars, - int len, - ffi.Pointer deallocator, - ) { - return __objc_msgSend_370(obj, sel, chars, len, deallocator); - } - - late final __objc_msgSend_370Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_370 = __objc_msgSend_370Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - )>(); - - late final _sel_initWithCharacters_length_1 = objc.registerName( - "initWithCharacters:length:", - ); - instancetype _objc_msgSend_371( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer characters, - int length, - ) { - return __objc_msgSend_371(obj, sel, characters, length); - } - - late final __objc_msgSend_371Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - )>>('objc_msgSend'); - late final __objc_msgSend_371 = __objc_msgSend_371Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_initWithUTF8String_1 = objc.registerName( - "initWithUTF8String:", - ); - instancetype _objc_msgSend_372( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer nullTerminatedCString, - ) { - return __objc_msgSend_372(obj, sel, nullTerminatedCString); - } - - late final __objc_msgSend_372Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_372 = __objc_msgSend_372Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_initWithFormat_1 = objc.registerName("initWithFormat:"); - late final _sel_initWithFormat_arguments_1 = objc.registerName( - "initWithFormat:arguments:", - ); - instancetype _objc_msgSend_373( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer format, - ffi.Pointer<__va_list_tag> argList, - ) { - return __objc_msgSend_373(obj, sel, format, argList); - } - - late final __objc_msgSend_373Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<__va_list_tag>, - )>>('objc_msgSend'); - late final __objc_msgSend_373 = __objc_msgSend_373Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<__va_list_tag>, - )>(); - - late final _sel_initWithFormat_locale_1 = objc.registerName( - "initWithFormat:locale:", - ); - instancetype _objc_msgSend_374( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer format, - ffi.Pointer locale, - ) { - return __objc_msgSend_374(obj, sel, format, locale); - } - - late final __objc_msgSend_374Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_374 = __objc_msgSend_374Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_initWithFormat_locale_arguments_1 = objc.registerName( - "initWithFormat:locale:arguments:", - ); - instancetype _objc_msgSend_375( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer format, - ffi.Pointer locale, - ffi.Pointer<__va_list_tag> argList, - ) { - return __objc_msgSend_375(obj, sel, format, locale, argList); - } - - late final __objc_msgSend_375Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<__va_list_tag>, - )>>('objc_msgSend'); - late final __objc_msgSend_375 = __objc_msgSend_375Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<__va_list_tag>, - )>(); - - late final _sel_initWithValidatedFormat_validFormatSpecifiers_error_1 = - objc.registerName("initWithValidatedFormat:validFormatSpecifiers:error:"); - instancetype _objc_msgSend_376( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer format, - ffi.Pointer validFormatSpecifiers, - ffi.Pointer> error, - ) { - return __objc_msgSend_376(obj, sel, format, validFormatSpecifiers, error); - } - - late final __objc_msgSend_376Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_376 = __objc_msgSend_376Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>(); - - late final _sel_initWithValidatedFormat_validFormatSpecifiers_locale_error_1 = - objc.registerName( - "initWithValidatedFormat:validFormatSpecifiers:locale:error:", - ); - instancetype _objc_msgSend_377( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer format, - ffi.Pointer validFormatSpecifiers, - ffi.Pointer locale, - ffi.Pointer> error, - ) { - return __objc_msgSend_377( - obj, - sel, - format, - validFormatSpecifiers, - locale, - error, - ); - } - - late final __objc_msgSend_377Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_377 = __objc_msgSend_377Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>(); - - late final _sel_initWithValidatedFormat_validFormatSpecifiers_arguments_error_1 = - objc.registerName( - "initWithValidatedFormat:validFormatSpecifiers:arguments:error:", - ); - instancetype _objc_msgSend_378( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer format, - ffi.Pointer validFormatSpecifiers, - ffi.Pointer<__va_list_tag> argList, - ffi.Pointer> error, - ) { - return __objc_msgSend_378( - obj, - sel, - format, - validFormatSpecifiers, - argList, - error, - ); - } - - late final __objc_msgSend_378Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<__va_list_tag>, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_378 = __objc_msgSend_378Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<__va_list_tag>, - ffi.Pointer>, - )>(); - - late final _sel_initWithValidatedFormat_validFormatSpecifiers_locale_arguments_error_1 = - objc.registerName( - "initWithValidatedFormat:validFormatSpecifiers:locale:arguments:error:", - ); - instancetype _objc_msgSend_379( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer format, - ffi.Pointer validFormatSpecifiers, - ffi.Pointer locale, - ffi.Pointer<__va_list_tag> argList, - ffi.Pointer> error, - ) { - return __objc_msgSend_379( - obj, - sel, - format, - validFormatSpecifiers, - locale, - argList, - error, - ); - } - - late final __objc_msgSend_379Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<__va_list_tag>, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_379 = __objc_msgSend_379Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<__va_list_tag>, - ffi.Pointer>, - )>(); - - late final _sel_initWithData_encoding_1 = objc.registerName( - "initWithData:encoding:", - ); - instancetype _objc_msgSend_380( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer data, - int encoding, - ) { - return __objc_msgSend_380(obj, sel, data, encoding); - } - - late final __objc_msgSend_380Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - )>>('objc_msgSend'); - late final __objc_msgSend_380 = __objc_msgSend_380Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_initWithBytes_length_encoding_1 = objc.registerName( - "initWithBytes:length:encoding:", - ); - instancetype _objc_msgSend_381( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer bytes, - int len, - int encoding, - ) { - return __objc_msgSend_381(obj, sel, bytes, len, encoding); - } - - late final __objc_msgSend_381Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ffi.UnsignedLong, - )>>('objc_msgSend'); - late final __objc_msgSend_381 = __objc_msgSend_381Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - int, - )>(); - - late final _sel_initWithBytesNoCopy_length_encoding_freeWhenDone_1 = - objc.registerName("initWithBytesNoCopy:length:encoding:freeWhenDone:"); - instancetype _objc_msgSend_382( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer bytes, - int len, - int encoding, - bool freeBuffer, - ) { - return __objc_msgSend_382(obj, sel, bytes, len, encoding, freeBuffer); - } - - late final __objc_msgSend_382Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ffi.UnsignedLong, - ffi.Bool, - )>>('objc_msgSend'); - late final __objc_msgSend_382 = __objc_msgSend_382Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - int, - bool, - )>(); - - late final _sel_initWithBytesNoCopy_length_encoding_deallocator_1 = - objc.registerName("initWithBytesNoCopy:length:encoding:deallocator:"); - instancetype _objc_msgSend_383( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer bytes, - int len, - int encoding, - ffi.Pointer deallocator, - ) { - return __objc_msgSend_383(obj, sel, bytes, len, encoding, deallocator); - } - - late final __objc_msgSend_383Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ffi.UnsignedLong, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_383 = __objc_msgSend_383Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - int, - ffi.Pointer, - )>(); - - late final _sel_string1 = objc.registerName("string"); - late final _sel_stringWithString_1 = objc.registerName("stringWithString:"); - late final _sel_stringWithCharacters_length_1 = objc.registerName( - "stringWithCharacters:length:", - ); - late final _sel_stringWithUTF8String_1 = objc.registerName( - "stringWithUTF8String:", - ); - late final _sel_stringWithFormat_1 = objc.registerName("stringWithFormat:"); - late final _sel_localizedStringWithFormat_1 = objc.registerName( - "localizedStringWithFormat:", - ); - late final _sel_stringWithValidatedFormat_validFormatSpecifiers_error_1 = objc - .registerName("stringWithValidatedFormat:validFormatSpecifiers:error:"); - late final _sel_localizedStringWithValidatedFormat_validFormatSpecifiers_error_1 = - objc.registerName( - "localizedStringWithValidatedFormat:validFormatSpecifiers:error:", - ); - late final _sel_initWithCString_encoding_1 = objc.registerName( - "initWithCString:encoding:", - ); - instancetype _objc_msgSend_384( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer nullTerminatedCString, - int encoding, - ) { - return __objc_msgSend_384(obj, sel, nullTerminatedCString, encoding); - } - - late final __objc_msgSend_384Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - )>>('objc_msgSend'); - late final __objc_msgSend_384 = __objc_msgSend_384Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_stringWithCString_encoding_1 = objc.registerName( - "stringWithCString:encoding:", - ); - late final _sel_initWithContentsOfURL_encoding_error_1 = objc.registerName( - "initWithContentsOfURL:encoding:error:", - ); - instancetype _objc_msgSend_385( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, - int enc, - ffi.Pointer> error, - ) { - return __objc_msgSend_385(obj, sel, url, enc, error); - } - - late final __objc_msgSend_385Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_385 = __objc_msgSend_385Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>, - )>(); - - late final _sel_initWithContentsOfFile_encoding_error_1 = objc.registerName( - "initWithContentsOfFile:encoding:error:", - ); - instancetype _objc_msgSend_386( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, - int enc, - ffi.Pointer> error, - ) { - return __objc_msgSend_386(obj, sel, path, enc, error); - } - - late final __objc_msgSend_386Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_386 = __objc_msgSend_386Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>, - )>(); - - late final _sel_stringWithContentsOfURL_encoding_error_1 = objc.registerName( - "stringWithContentsOfURL:encoding:error:", - ); - late final _sel_stringWithContentsOfFile_encoding_error_1 = objc.registerName( - "stringWithContentsOfFile:encoding:error:", - ); - late final _sel_initWithContentsOfURL_usedEncoding_error_1 = - objc.registerName("initWithContentsOfURL:usedEncoding:error:"); - instancetype _objc_msgSend_387( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, - ffi.Pointer enc, - ffi.Pointer> error, - ) { - return __objc_msgSend_387(obj, sel, url, enc, error); - } - - late final __objc_msgSend_387Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_387 = __objc_msgSend_387Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>(); - - late final _sel_initWithContentsOfFile_usedEncoding_error_1 = - objc.registerName("initWithContentsOfFile:usedEncoding:error:"); - instancetype _objc_msgSend_388( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, - ffi.Pointer enc, - ffi.Pointer> error, - ) { - return __objc_msgSend_388(obj, sel, path, enc, error); - } - - late final __objc_msgSend_388Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_388 = __objc_msgSend_388Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>(); - - late final _sel_stringWithContentsOfURL_usedEncoding_error_1 = - objc.registerName("stringWithContentsOfURL:usedEncoding:error:"); - late final _sel_stringWithContentsOfFile_usedEncoding_error_1 = - objc.registerName("stringWithContentsOfFile:usedEncoding:error:"); - late final _sel_stringEncodingForData_encodingOptions_convertedString_usedLossyConversion_1 = - objc.registerName( - "stringEncodingForData:encodingOptions:convertedString:usedLossyConversion:", - ); - int _objc_msgSend_389( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer data, - ffi.Pointer opts, - ffi.Pointer> string, - ffi.Pointer usedLossyConversion, - ) { - return __objc_msgSend_389( - obj, - sel, - data, - opts, - string, - usedLossyConversion, - ); - } - - late final __objc_msgSend_389Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_389 = __objc_msgSend_389Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer, - )>(); - - late final _sel_propertyList1 = objc.registerName("propertyList"); - late final _sel_propertyListFromStringsFileFormat1 = objc.registerName( - "propertyListFromStringsFileFormat", - ); - ffi.Pointer _objc_msgSend_390( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_390(obj, sel); - } - - late final __objc_msgSend_390Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_390 = __objc_msgSend_390Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_cString1 = objc.registerName("cString"); - late final _sel_lossyCString1 = objc.registerName("lossyCString"); - late final _sel_cStringLength1 = objc.registerName("cStringLength"); - late final _sel_getCString_1 = objc.registerName("getCString:"); - late final _sel_getCString_maxLength_1 = objc.registerName( - "getCString:maxLength:", - ); - void _objc_msgSend_391( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer bytes, - int maxLength, - ) { - return __objc_msgSend_391(obj, sel, bytes, maxLength); - } - - late final __objc_msgSend_391Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - )>>('objc_msgSend'); - late final __objc_msgSend_391 = __objc_msgSend_391Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_getCString_maxLength_range_remainingRange_1 = - objc.registerName("getCString:maxLength:range:remainingRange:"); - void _objc_msgSend_392( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer bytes, - int maxLength, - _NSRange aRange, - ffi.Pointer<_NSRange> leftoverRange, - ) { - return __objc_msgSend_392( - obj, - sel, - bytes, - maxLength, - aRange, - leftoverRange, - ); - } - - late final __objc_msgSend_392Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - _NSRange, - ffi.Pointer<_NSRange>, - )>>('objc_msgSend'); - late final __objc_msgSend_392 = __objc_msgSend_392Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - _NSRange, - ffi.Pointer<_NSRange>, - )>(); - - late final _sel_stringWithContentsOfFile_1 = objc.registerName( - "stringWithContentsOfFile:", - ); - late final _sel_stringWithContentsOfURL_1 = objc.registerName( - "stringWithContentsOfURL:", - ); - late final _sel_initWithCStringNoCopy_length_freeWhenDone_1 = - objc.registerName("initWithCStringNoCopy:length:freeWhenDone:"); - ffi.Pointer _objc_msgSend_393( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer bytes, - int length, - bool freeBuffer, - ) { - return __objc_msgSend_393(obj, sel, bytes, length, freeBuffer); - } - - late final __objc_msgSend_393Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ffi.Bool, - )>>('objc_msgSend'); - late final __objc_msgSend_393 = __objc_msgSend_393Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - bool, - )>(); - - late final _sel_initWithCString_length_1 = objc.registerName( - "initWithCString:length:", - ); - late final _sel_initWithCString_1 = objc.registerName("initWithCString:"); - late final _sel_stringWithCString_length_1 = objc.registerName( - "stringWithCString:length:", - ); - late final _sel_stringWithCString_1 = objc.registerName("stringWithCString:"); - late final _sel_getCharacters_1 = objc.registerName("getCharacters:"); - void _objc_msgSend_394( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer buffer, - ) { - return __objc_msgSend_394(obj, sel, buffer); - } - - late final __objc_msgSend_394Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_394 = __objc_msgSend_394Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_variantFittingPresentationWidth_1 = objc.registerName( - "variantFittingPresentationWidth:", - ); - ffi.Pointer _objc_msgSend_395( - ffi.Pointer obj, - ffi.Pointer sel, - int width, - ) { - return __objc_msgSend_395(obj, sel, width); - } - - late final __objc_msgSend_395Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Long, - )>>('objc_msgSend'); - late final __objc_msgSend_395 = __objc_msgSend_395Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_pathWithComponents_1 = objc.registerName( - "pathWithComponents:", - ); - ffi.Pointer _objc_msgSend_396( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer components, - ) { - return __objc_msgSend_396(obj, sel, components); - } - - late final __objc_msgSend_396Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_396 = __objc_msgSend_396Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_isAbsolutePath1 = objc.registerName("isAbsolutePath"); - late final _sel_stringByDeletingLastPathComponent1 = objc.registerName( - "stringByDeletingLastPathComponent", - ); - late final _sel_stringByAppendingPathComponent_1 = objc.registerName( - "stringByAppendingPathComponent:", - ); - late final _sel_stringByDeletingPathExtension1 = objc.registerName( - "stringByDeletingPathExtension", - ); - late final _sel_stringByAppendingPathExtension_1 = objc.registerName( - "stringByAppendingPathExtension:", - ); - late final _sel_stringByAbbreviatingWithTildeInPath1 = objc.registerName( - "stringByAbbreviatingWithTildeInPath", - ); - late final _sel_stringByExpandingTildeInPath1 = objc.registerName( - "stringByExpandingTildeInPath", - ); - late final _sel_stringByStandardizingPath1 = objc.registerName( - "stringByStandardizingPath", - ); - late final _sel_stringByResolvingSymlinksInPath1 = objc.registerName( - "stringByResolvingSymlinksInPath", - ); - late final _sel_stringsByAppendingPaths_1 = objc.registerName( - "stringsByAppendingPaths:", - ); - late final _sel_completePathIntoString_caseSensitive_matchesIntoArray_filterTypes_1 = - objc.registerName( - "completePathIntoString:caseSensitive:matchesIntoArray:filterTypes:", - ); - int _objc_msgSend_397( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer> outputName, - bool flag, - ffi.Pointer> outputArray, - ffi.Pointer filterTypes, - ) { - return __objc_msgSend_397( - obj, - sel, - outputName, - flag, - outputArray, - filterTypes, - ); - } - - late final __objc_msgSend_397Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Bool, - ffi.Pointer>, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_397 = __objc_msgSend_397Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - bool, - ffi.Pointer>, - ffi.Pointer, - )>(); - - late final _sel_stringByAddingPercentEncodingWithAllowedCharacters_1 = - objc.registerName("stringByAddingPercentEncodingWithAllowedCharacters:"); - ffi.Pointer _objc_msgSend_398( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer allowedCharacters, - ) { - return __objc_msgSend_398(obj, sel, allowedCharacters); - } - - late final __objc_msgSend_398Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_398 = __objc_msgSend_398Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_stringByRemovingPercentEncoding1 = objc.registerName( - "stringByRemovingPercentEncoding", - ); - late final _sel_stringByAddingPercentEscapesUsingEncoding_1 = - objc.registerName("stringByAddingPercentEscapesUsingEncoding:"); - ffi.Pointer _objc_msgSend_399( - ffi.Pointer obj, - ffi.Pointer sel, - int enc, - ) { - return __objc_msgSend_399(obj, sel, enc); - } - - late final __objc_msgSend_399Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - )>>('objc_msgSend'); - late final __objc_msgSend_399 = __objc_msgSend_399Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_stringByReplacingPercentEscapesUsingEncoding_1 = - objc.registerName("stringByReplacingPercentEscapesUsingEncoding:"); - late final _class_NSOrthography1 = objc.getClass("NSOrthography"); - late final _sel_dominantScript1 = objc.registerName("dominantScript"); - late final _sel_languageMap1 = objc.registerName("languageMap"); - late final _sel_initWithDominantScript_languageMap_1 = objc.registerName( - "initWithDominantScript:languageMap:", - ); - instancetype _objc_msgSend_400( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer script, - ffi.Pointer map, - ) { - return __objc_msgSend_400(obj, sel, script, map); - } - - late final __objc_msgSend_400Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_400 = __objc_msgSend_400Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_languagesForScript_1 = objc.registerName( - "languagesForScript:", - ); - late final _sel_dominantLanguageForScript_1 = objc.registerName( - "dominantLanguageForScript:", - ); - late final _sel_dominantLanguage1 = objc.registerName("dominantLanguage"); - late final _sel_allScripts1 = objc.registerName("allScripts"); - late final _sel_allLanguages1 = objc.registerName("allLanguages"); - late final _sel_defaultOrthographyForLanguage_1 = objc.registerName( - "defaultOrthographyForLanguage:", - ); - late final _sel_orthographyWithDominantScript_languageMap_1 = - objc.registerName("orthographyWithDominantScript:languageMap:"); - late final _sel_linguisticTagsInRange_scheme_options_orthography_tokenRanges_1 = - objc.registerName( - "linguisticTagsInRange:scheme:options:orthography:tokenRanges:", - ); - ffi.Pointer _objc_msgSend_401( - ffi.Pointer obj, - ffi.Pointer sel, - _NSRange range, - ffi.Pointer scheme, - int options, - ffi.Pointer orthography, - ffi.Pointer> tokenRanges, - ) { - return __objc_msgSend_401( - obj, - sel, - range, - scheme, - options, - orthography, - tokenRanges, - ); - } - - late final __objc_msgSend_401Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - ffi.Int32, - ffi.Pointer, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_401 = __objc_msgSend_401Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - int, - ffi.Pointer, - ffi.Pointer>, - )>(); - - late final _sel_enumerateLinguisticTagsInRange_scheme_options_orthography_usingBlock_1 = - objc.registerName( - "enumerateLinguisticTagsInRange:scheme:options:orthography:usingBlock:", - ); - void _objc_msgSend_402( - ffi.Pointer obj, - ffi.Pointer sel, - _NSRange range, - ffi.Pointer scheme, - int options, - ffi.Pointer orthography, - ffi.Pointer block, - ) { - return __objc_msgSend_402( - obj, - sel, - range, - scheme, - options, - orthography, - block, - ); - } - - late final __objc_msgSend_402Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - ffi.Int32, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_402 = __objc_msgSend_402Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - int, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_anyObject1 = objc.registerName("anyObject"); - late final _sel_intersectsSet_1 = objc.registerName("intersectsSet:"); - bool _objc_msgSend_403( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer otherSet, - ) { - return __objc_msgSend_403(obj, sel, otherSet); - } - - late final __objc_msgSend_403Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_403 = __objc_msgSend_403Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_isEqualToSet_1 = objc.registerName("isEqualToSet:"); - late final _sel_isSubsetOfSet_1 = objc.registerName("isSubsetOfSet:"); - late final _sel_setByAddingObject_1 = objc.registerName("setByAddingObject:"); - ffi.Pointer _objc_msgSend_404( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer anObject, - ) { - return __objc_msgSend_404(obj, sel, anObject); - } - - late final __objc_msgSend_404Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_404 = __objc_msgSend_404Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_setByAddingObjectsFromSet_1 = objc.registerName( - "setByAddingObjectsFromSet:", - ); - ffi.Pointer _objc_msgSend_405( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer other, - ) { - return __objc_msgSend_405(obj, sel, other); - } - - late final __objc_msgSend_405Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_405 = __objc_msgSend_405Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_setByAddingObjectsFromArray_1 = objc.registerName( - "setByAddingObjectsFromArray:", - ); - ffi.Pointer _objc_msgSend_406( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer other, - ) { - return __objc_msgSend_406(obj, sel, other); - } - - late final __objc_msgSend_406Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_406 = __objc_msgSend_406Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - void _objc_msgSend_407( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer block, - ) { - return __objc_msgSend_407(obj, sel, block); - } - - late final __objc_msgSend_407Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_407 = __objc_msgSend_407Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - void _objc_msgSend_408( - ffi.Pointer obj, - ffi.Pointer sel, - int opts, - ffi.Pointer block, - ) { - return __objc_msgSend_408(obj, sel, opts, block); - } - - late final __objc_msgSend_408Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_408 = __objc_msgSend_408Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - )>(); - - late final _sel_objectsPassingTest_1 = objc.registerName( - "objectsPassingTest:", - ); - ffi.Pointer _objc_msgSend_409( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer predicate, - ) { - return __objc_msgSend_409(obj, sel, predicate); - } - - late final __objc_msgSend_409Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_409 = __objc_msgSend_409Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_objectsWithOptions_passingTest_1 = objc.registerName( - "objectsWithOptions:passingTest:", - ); - ffi.Pointer _objc_msgSend_410( - ffi.Pointer obj, - ffi.Pointer sel, - int opts, - ffi.Pointer predicate, - ) { - return __objc_msgSend_410(obj, sel, opts, predicate); - } - - late final __objc_msgSend_410Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_410 = __objc_msgSend_410Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - )>(); - - late final _sel_set1 = objc.registerName("set"); - late final _sel_setWithObject_1 = objc.registerName("setWithObject:"); - late final _sel_setWithObjects_count_1 = objc.registerName( - "setWithObjects:count:", - ); - late final _sel_setWithObjects_1 = objc.registerName("setWithObjects:"); - late final _sel_setWithSet_1 = objc.registerName("setWithSet:"); - instancetype _objc_msgSend_411( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer set1, - ) { - return __objc_msgSend_411(obj, sel, set1); - } - - late final __objc_msgSend_411Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_411 = __objc_msgSend_411Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_setWithArray_1 = objc.registerName("setWithArray:"); - late final _sel_initWithSet_1 = objc.registerName("initWithSet:"); - late final _sel_initWithSet_copyItems_1 = objc.registerName( - "initWithSet:copyItems:", - ); - instancetype _objc_msgSend_412( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer set1, - bool flag, - ) { - return __objc_msgSend_412(obj, sel, set1, flag); - } - - late final __objc_msgSend_412Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - )>>('objc_msgSend'); - late final __objc_msgSend_412 = __objc_msgSend_412Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - )>(); - - late final _sel_filteredSetUsingPredicate_1 = objc.registerName( - "filteredSetUsingPredicate:", - ); - ffi.Pointer _objc_msgSend_413( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer predicate, - ) { - return __objc_msgSend_413(obj, sel, predicate); - } - - late final __objc_msgSend_413Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_413 = __objc_msgSend_413Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_invocationWithMethodSignature_1 = objc.registerName( - "invocationWithMethodSignature:", - ); - ffi.Pointer _objc_msgSend_414( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer sig, - ) { - return __objc_msgSend_414(obj, sel, sig); - } - - late final __objc_msgSend_414Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_414 = __objc_msgSend_414Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_methodSignature1 = objc.registerName("methodSignature"); - ffi.Pointer _objc_msgSend_415( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_415(obj, sel); - } - - late final __objc_msgSend_415Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_415 = __objc_msgSend_415Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_retainArguments1 = objc.registerName("retainArguments"); - late final _sel_argumentsRetained1 = objc.registerName("argumentsRetained"); - late final _sel_target1 = objc.registerName("target"); - late final _sel_setTarget_1 = objc.registerName("setTarget:"); - void _objc_msgSend_416( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, - ) { - return __objc_msgSend_416(obj, sel, value); - } - - late final __objc_msgSend_416Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_416 = __objc_msgSend_416Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_selector1 = objc.registerName("selector"); - ffi.Pointer _objc_msgSend_417( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_417(obj, sel); - } - - late final __objc_msgSend_417Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_417 = __objc_msgSend_417Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_setSelector_1 = objc.registerName("setSelector:"); - void _objc_msgSend_418( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, - ) { - return __objc_msgSend_418(obj, sel, value); - } - - late final __objc_msgSend_418Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_418 = __objc_msgSend_418Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_getReturnValue_1 = objc.registerName("getReturnValue:"); - late final _sel_setReturnValue_1 = objc.registerName("setReturnValue:"); - late final _sel_getArgument_atIndex_1 = objc.registerName( - "getArgument:atIndex:", - ); - void _objc_msgSend_419( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer argumentLocation, - int idx, - ) { - return __objc_msgSend_419(obj, sel, argumentLocation, idx); - } - - late final __objc_msgSend_419Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Long, - )>>('objc_msgSend'); - late final __objc_msgSend_419 = __objc_msgSend_419Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_setArgument_atIndex_1 = objc.registerName( - "setArgument:atIndex:", - ); - late final _sel_invoke1 = objc.registerName("invoke"); - late final _sel_invokeWithTarget_1 = objc.registerName("invokeWithTarget:"); - late final _sel_invokeUsingIMP_1 = objc.registerName("invokeUsingIMP:"); - void _objc_msgSend_420( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer> imp, - ) { - return __objc_msgSend_420(obj, sel, imp); - } - - late final __objc_msgSend_420Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_420 = __objc_msgSend_420Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>(); - - late final _sel_forwardInvocation_1 = objc.registerName("forwardInvocation:"); - void _objc_msgSend_421( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer anInvocation, - ) { - return __objc_msgSend_421(obj, sel, anInvocation); - } - - late final __objc_msgSend_421Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_421 = __objc_msgSend_421Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_methodSignatureForSelector_1 = objc.registerName( - "methodSignatureForSelector:", - ); - ffi.Pointer _objc_msgSend_422( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aSelector, - ) { - return __objc_msgSend_422(obj, sel, aSelector); - } - - late final __objc_msgSend_422Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_422 = __objc_msgSend_422Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_instanceMethodSignatureForSelector_1 = objc.registerName( - "instanceMethodSignatureForSelector:", - ); - late final _sel_allowsWeakReference1 = objc.registerName( - "allowsWeakReference", - ); - late final _sel_retainWeakReference1 = objc.registerName( - "retainWeakReference", - ); - late final _sel_isSubclassOfClass_1 = objc.registerName("isSubclassOfClass:"); - late final _sel_resolveClassMethod_1 = objc.registerName( - "resolveClassMethod:", - ); - late final _sel_resolveInstanceMethod_1 = objc.registerName( - "resolveInstanceMethod:", - ); - late final _sel_superclass1 = objc.registerName("superclass"); - late final _sel_class1 = objc.registerName("class"); - late final _sel_debugDescription1 = objc.registerName("debugDescription"); - late final _sel_version1 = objc.registerName("version"); - late final _sel_setVersion_1 = objc.registerName("setVersion:"); - void _objc_msgSend_423( - ffi.Pointer obj, - ffi.Pointer sel, - int aVersion, - ) { - return __objc_msgSend_423(obj, sel, aVersion); - } - - late final __objc_msgSend_423Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Long, - )>>('objc_msgSend'); - late final __objc_msgSend_423 = __objc_msgSend_423Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_classForCoder1 = objc.registerName("classForCoder"); - late final _sel_replacementObjectForCoder_1 = objc.registerName( - "replacementObjectForCoder:", - ); - late final _sel_awakeAfterUsingCoder_1 = objc.registerName( - "awakeAfterUsingCoder:", - ); - late final _sel_poseAsClass_1 = objc.registerName("poseAsClass:"); - late final _sel_autoContentAccessingProxy1 = objc.registerName( - "autoContentAccessingProxy", - ); - late final _sel_attemptRecoveryFromError_optionIndex_delegate_didRecoverSelector_contextInfo_1 = - objc.registerName( - "attemptRecoveryFromError:optionIndex:delegate:didRecoverSelector:contextInfo:", - ); - void _objc_msgSend_424( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer error, - int recoveryOptionIndex, - ffi.Pointer delegate, - ffi.Pointer didRecoverSelector, - ffi.Pointer contextInfo, - ) { - return __objc_msgSend_424( - obj, - sel, - error, - recoveryOptionIndex, - delegate, - didRecoverSelector, - contextInfo, - ); - } - - late final __objc_msgSend_424Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_424 = __objc_msgSend_424Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_attemptRecoveryFromError_optionIndex_1 = objc.registerName( - "attemptRecoveryFromError:optionIndex:", - ); - bool _objc_msgSend_425( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer error, - int recoveryOptionIndex, - ) { - return __objc_msgSend_425(obj, sel, error, recoveryOptionIndex); - } - - late final __objc_msgSend_425Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - )>>('objc_msgSend'); - late final __objc_msgSend_425 = __objc_msgSend_425Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_performSelector_withObject_afterDelay_inModes_1 = - objc.registerName("performSelector:withObject:afterDelay:inModes:"); - void _objc_msgSend_426( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aSelector, - ffi.Pointer anArgument, - double delay, - ffi.Pointer modes, - ) { - return __objc_msgSend_426(obj, sel, aSelector, anArgument, delay, modes); - } - - late final __objc_msgSend_426Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Double, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_426 = __objc_msgSend_426Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - double, - ffi.Pointer, - )>(); - - late final _sel_performSelector_withObject_afterDelay_1 = objc.registerName( - "performSelector:withObject:afterDelay:", - ); - void _objc_msgSend_427( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aSelector, - ffi.Pointer anArgument, - double delay, - ) { - return __objc_msgSend_427(obj, sel, aSelector, anArgument, delay); - } - - late final __objc_msgSend_427Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Double, - )>>('objc_msgSend'); - late final __objc_msgSend_427 = __objc_msgSend_427Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - double, - )>(); - - late final _sel_URL_resourceDataDidBecomeAvailable_1 = objc.registerName( - "URL:resourceDataDidBecomeAvailable:", - ); - void _objc_msgSend_428( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer sender, - ffi.Pointer newBytes, - ) { - return __objc_msgSend_428(obj, sel, sender, newBytes); - } - - late final __objc_msgSend_428Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_428 = __objc_msgSend_428Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_URLResourceDidFinishLoading_1 = objc.registerName( - "URLResourceDidFinishLoading:", - ); - void _objc_msgSend_429( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer sender, - ) { - return __objc_msgSend_429(obj, sel, sender); - } - - late final __objc_msgSend_429Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_429 = __objc_msgSend_429Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_URLResourceDidCancelLoading_1 = objc.registerName( - "URLResourceDidCancelLoading:", - ); - late final _sel_URL_resourceDidFailLoadingWithReason_1 = objc.registerName( - "URL:resourceDidFailLoadingWithReason:", - ); - void _objc_msgSend_430( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer sender, - ffi.Pointer reason, - ) { - return __objc_msgSend_430(obj, sel, sender, reason); - } - - late final __objc_msgSend_430Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_430 = __objc_msgSend_430Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _class_NSFileManager1 = objc.getClass("NSFileManager"); - late final _sel_defaultManager1 = objc.registerName("defaultManager"); - ffi.Pointer _objc_msgSend_431( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_431(obj, sel); - } - - late final __objc_msgSend_431Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_431 = __objc_msgSend_431Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_mountedVolumeURLsIncludingResourceValuesForKeys_options_1 = - objc.registerName( - "mountedVolumeURLsIncludingResourceValuesForKeys:options:", - ); - ffi.Pointer _objc_msgSend_432( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer propertyKeys, - int options, - ) { - return __objc_msgSend_432(obj, sel, propertyKeys, options); - } - - late final __objc_msgSend_432Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - )>>('objc_msgSend'); - late final __objc_msgSend_432 = __objc_msgSend_432Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_unmountVolumeAtURL_options_completionHandler_1 = - objc.registerName("unmountVolumeAtURL:options:completionHandler:"); - void _objc_msgSend_433( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, - int mask, - ffi.Pointer completionHandler, - ) { - return __objc_msgSend_433(obj, sel, url, mask, completionHandler); - } - - late final __objc_msgSend_433Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_433 = __objc_msgSend_433Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - )>(); - - late final _sel_contentsOfDirectoryAtURL_includingPropertiesForKeys_options_error_1 = - objc.registerName( - "contentsOfDirectoryAtURL:includingPropertiesForKeys:options:error:", - ); - ffi.Pointer _objc_msgSend_434( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, - ffi.Pointer keys, - int mask, - ffi.Pointer> error, - ) { - return __objc_msgSend_434(obj, sel, url, keys, mask, error); - } - - late final __objc_msgSend_434Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_434 = __objc_msgSend_434Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>, - )>(); - - late final _sel_URLsForDirectory_inDomains_1 = objc.registerName( - "URLsForDirectory:inDomains:", - ); - ffi.Pointer _objc_msgSend_435( - ffi.Pointer obj, - ffi.Pointer sel, - int directory, - int domainMask, - ) { - return __objc_msgSend_435(obj, sel, directory, domainMask); - } - - late final __objc_msgSend_435Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Int32, - )>>('objc_msgSend'); - late final __objc_msgSend_435 = __objc_msgSend_435Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - int, - )>(); - - late final _sel_URLForDirectory_inDomain_appropriateForURL_create_error_1 = - objc.registerName( - "URLForDirectory:inDomain:appropriateForURL:create:error:", - ); - ffi.Pointer _objc_msgSend_436( - ffi.Pointer obj, - ffi.Pointer sel, - int directory, - int domain, - ffi.Pointer url, - bool shouldCreate, - ffi.Pointer> error, - ) { - return __objc_msgSend_436( - obj, - sel, - directory, - domain, - url, - shouldCreate, - error, - ); - } - - late final __objc_msgSend_436Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Int32, - ffi.Pointer, - ffi.Bool, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_436 = __objc_msgSend_436Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - int, - ffi.Pointer, - bool, - ffi.Pointer>, - )>(); - - late final _sel_getRelationship_ofDirectoryAtURL_toItemAtURL_error_1 = - objc.registerName("getRelationship:ofDirectoryAtURL:toItemAtURL:error:"); - bool _objc_msgSend_437( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer outRelationship, - ffi.Pointer directoryURL, - ffi.Pointer otherURL, - ffi.Pointer> error, - ) { - return __objc_msgSend_437( - obj, - sel, - outRelationship, - directoryURL, - otherURL, - error, - ); - } - - late final __objc_msgSend_437Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_437 = __objc_msgSend_437Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>(); - - late final _sel_getRelationship_ofDirectory_inDomain_toItemAtURL_error_1 = - objc.registerName( - "getRelationship:ofDirectory:inDomain:toItemAtURL:error:", - ); - bool _objc_msgSend_438( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer outRelationship, - int directory, - int domainMask, - ffi.Pointer url, - ffi.Pointer> error, - ) { - return __objc_msgSend_438( - obj, - sel, - outRelationship, - directory, - domainMask, - url, - error, - ); - } - - late final __objc_msgSend_438Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Int32, - ffi.Pointer, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_438 = __objc_msgSend_438Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - int, - ffi.Pointer, - ffi.Pointer>, - )>(); - - late final _sel_createDirectoryAtURL_withIntermediateDirectories_attributes_error_1 = - objc.registerName( - "createDirectoryAtURL:withIntermediateDirectories:attributes:error:", - ); - bool _objc_msgSend_439( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, - bool createIntermediates, - ffi.Pointer attributes, - ffi.Pointer> error, - ) { - return __objc_msgSend_439( - obj, - sel, - url, - createIntermediates, - attributes, - error, - ); - } - - late final __objc_msgSend_439Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - ffi.Pointer, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_439 = __objc_msgSend_439Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - ffi.Pointer, - ffi.Pointer>, - )>(); - - late final _sel_createSymbolicLinkAtURL_withDestinationURL_error_1 = - objc.registerName("createSymbolicLinkAtURL:withDestinationURL:error:"); - bool _objc_msgSend_440( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, - ffi.Pointer destURL, - ffi.Pointer> error, - ) { - return __objc_msgSend_440(obj, sel, url, destURL, error); - } - - late final __objc_msgSend_440Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_440 = __objc_msgSend_440Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>(); - - late final _sel_delegate1 = objc.registerName("delegate"); - late final _sel_setDelegate_1 = objc.registerName("setDelegate:"); - late final _sel_setAttributes_ofItemAtPath_error_1 = objc.registerName( - "setAttributes:ofItemAtPath:error:", - ); - bool _objc_msgSend_441( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer attributes, - ffi.Pointer path, - ffi.Pointer> error, - ) { - return __objc_msgSend_441(obj, sel, attributes, path, error); - } - - late final __objc_msgSend_441Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_441 = __objc_msgSend_441Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>(); - - late final _sel_createDirectoryAtPath_withIntermediateDirectories_attributes_error_1 = - objc.registerName( - "createDirectoryAtPath:withIntermediateDirectories:attributes:error:", - ); - bool _objc_msgSend_442( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, - bool createIntermediates, - ffi.Pointer attributes, - ffi.Pointer> error, - ) { - return __objc_msgSend_442( - obj, - sel, - path, - createIntermediates, - attributes, - error, - ); - } - - late final __objc_msgSend_442Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - ffi.Pointer, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_442 = __objc_msgSend_442Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - ffi.Pointer, - ffi.Pointer>, - )>(); - - late final _sel_contentsOfDirectoryAtPath_error_1 = objc.registerName( - "contentsOfDirectoryAtPath:error:", - ); - ffi.Pointer _objc_msgSend_443( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, - ffi.Pointer> error, - ) { - return __objc_msgSend_443(obj, sel, path, error); - } - - late final __objc_msgSend_443Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_443 = __objc_msgSend_443Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>(); - - late final _sel_subpathsOfDirectoryAtPath_error_1 = objc.registerName( - "subpathsOfDirectoryAtPath:error:", - ); - late final _sel_attributesOfItemAtPath_error_1 = objc.registerName( - "attributesOfItemAtPath:error:", - ); - ffi.Pointer _objc_msgSend_444( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, - ffi.Pointer> error, - ) { - return __objc_msgSend_444(obj, sel, path, error); - } - - late final __objc_msgSend_444Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_444 = __objc_msgSend_444Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>(); - - late final _sel_attributesOfFileSystemForPath_error_1 = objc.registerName( - "attributesOfFileSystemForPath:error:", - ); - late final _sel_createSymbolicLinkAtPath_withDestinationPath_error_1 = - objc.registerName("createSymbolicLinkAtPath:withDestinationPath:error:"); - bool _objc_msgSend_445( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, - ffi.Pointer destPath, - ffi.Pointer> error, - ) { - return __objc_msgSend_445(obj, sel, path, destPath, error); - } - - late final __objc_msgSend_445Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_445 = __objc_msgSend_445Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>(); - - late final _sel_destinationOfSymbolicLinkAtPath_error_1 = objc.registerName( - "destinationOfSymbolicLinkAtPath:error:", - ); - ffi.Pointer _objc_msgSend_446( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, - ffi.Pointer> error, - ) { - return __objc_msgSend_446(obj, sel, path, error); - } - - late final __objc_msgSend_446Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_446 = __objc_msgSend_446Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>(); - - late final _sel_copyItemAtPath_toPath_error_1 = objc.registerName( - "copyItemAtPath:toPath:error:", - ); - late final _sel_moveItemAtPath_toPath_error_1 = objc.registerName( - "moveItemAtPath:toPath:error:", - ); - late final _sel_linkItemAtPath_toPath_error_1 = objc.registerName( - "linkItemAtPath:toPath:error:", - ); - late final _sel_removeItemAtPath_error_1 = objc.registerName( - "removeItemAtPath:error:", - ); - bool _objc_msgSend_447( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, - ffi.Pointer> error, - ) { - return __objc_msgSend_447(obj, sel, path, error); - } - - late final __objc_msgSend_447Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_447 = __objc_msgSend_447Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>(); - - late final _sel_copyItemAtURL_toURL_error_1 = objc.registerName( - "copyItemAtURL:toURL:error:", - ); - late final _sel_moveItemAtURL_toURL_error_1 = objc.registerName( - "moveItemAtURL:toURL:error:", - ); - late final _sel_linkItemAtURL_toURL_error_1 = objc.registerName( - "linkItemAtURL:toURL:error:", - ); - late final _sel_removeItemAtURL_error_1 = objc.registerName( - "removeItemAtURL:error:", - ); - late final _sel_trashItemAtURL_resultingItemURL_error_1 = objc.registerName( - "trashItemAtURL:resultingItemURL:error:", - ); - bool _objc_msgSend_448( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, - ffi.Pointer> outResultingURL, - ffi.Pointer> error, - ) { - return __objc_msgSend_448(obj, sel, url, outResultingURL, error); - } - - late final __objc_msgSend_448Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_448 = __objc_msgSend_448Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer>, - )>(); - - late final _sel_fileAttributesAtPath_traverseLink_1 = objc.registerName( - "fileAttributesAtPath:traverseLink:", - ); - ffi.Pointer _objc_msgSend_449( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, - bool yorn, - ) { - return __objc_msgSend_449(obj, sel, path, yorn); - } - - late final __objc_msgSend_449Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - )>>('objc_msgSend'); - late final __objc_msgSend_449 = __objc_msgSend_449Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - )>(); - - late final _sel_changeFileAttributes_atPath_1 = objc.registerName( - "changeFileAttributes:atPath:", - ); - bool _objc_msgSend_450( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer attributes, - ffi.Pointer path, - ) { - return __objc_msgSend_450(obj, sel, attributes, path); - } - - late final __objc_msgSend_450Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_450 = __objc_msgSend_450Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_directoryContentsAtPath_1 = objc.registerName( - "directoryContentsAtPath:", - ); - late final _sel_fileSystemAttributesAtPath_1 = objc.registerName( - "fileSystemAttributesAtPath:", - ); - late final _sel_pathContentOfSymbolicLinkAtPath_1 = objc.registerName( - "pathContentOfSymbolicLinkAtPath:", - ); - late final _sel_createSymbolicLinkAtPath_pathContent_1 = objc.registerName( - "createSymbolicLinkAtPath:pathContent:", - ); - bool _objc_msgSend_451( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, - ffi.Pointer otherpath, - ) { - return __objc_msgSend_451(obj, sel, path, otherpath); - } - - late final __objc_msgSend_451Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_451 = __objc_msgSend_451Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_createDirectoryAtPath_attributes_1 = objc.registerName( - "createDirectoryAtPath:attributes:", - ); - bool _objc_msgSend_452( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, - ffi.Pointer attributes, - ) { - return __objc_msgSend_452(obj, sel, path, attributes); - } - - late final __objc_msgSend_452Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_452 = __objc_msgSend_452Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_linkPath_toPath_handler_1 = objc.registerName( - "linkPath:toPath:handler:", - ); - bool _objc_msgSend_453( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer src, - ffi.Pointer dest, - ffi.Pointer handler, - ) { - return __objc_msgSend_453(obj, sel, src, dest, handler); - } - - late final __objc_msgSend_453Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_453 = __objc_msgSend_453Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_copyPath_toPath_handler_1 = objc.registerName( - "copyPath:toPath:handler:", - ); - late final _sel_movePath_toPath_handler_1 = objc.registerName( - "movePath:toPath:handler:", - ); - late final _sel_removeFileAtPath_handler_1 = objc.registerName( - "removeFileAtPath:handler:", - ); - bool _objc_msgSend_454( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, - ffi.Pointer handler, - ) { - return __objc_msgSend_454(obj, sel, path, handler); - } - - late final __objc_msgSend_454Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_454 = __objc_msgSend_454Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_currentDirectoryPath1 = objc.registerName( - "currentDirectoryPath", - ); - late final _sel_changeCurrentDirectoryPath_1 = objc.registerName( - "changeCurrentDirectoryPath:", - ); - late final _sel_fileExistsAtPath_1 = objc.registerName("fileExistsAtPath:"); - late final _sel_fileExistsAtPath_isDirectory_1 = objc.registerName( - "fileExistsAtPath:isDirectory:", - ); - bool _objc_msgSend_455( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, - ffi.Pointer isDirectory, - ) { - return __objc_msgSend_455(obj, sel, path, isDirectory); - } - - late final __objc_msgSend_455Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_455 = __objc_msgSend_455Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_isReadableFileAtPath_1 = objc.registerName( - "isReadableFileAtPath:", - ); - late final _sel_isWritableFileAtPath_1 = objc.registerName( - "isWritableFileAtPath:", - ); - late final _sel_isExecutableFileAtPath_1 = objc.registerName( - "isExecutableFileAtPath:", - ); - late final _sel_isDeletableFileAtPath_1 = objc.registerName( - "isDeletableFileAtPath:", - ); - late final _sel_contentsEqualAtPath_andPath_1 = objc.registerName( - "contentsEqualAtPath:andPath:", - ); - late final _sel_displayNameAtPath_1 = objc.registerName("displayNameAtPath:"); - late final _sel_componentsToDisplayForPath_1 = objc.registerName( - "componentsToDisplayForPath:", - ); - late final _sel_enumeratorAtPath_1 = objc.registerName("enumeratorAtPath:"); - late final _sel_enumeratorAtURL_includingPropertiesForKeys_options_errorHandler_1 = - objc.registerName( - "enumeratorAtURL:includingPropertiesForKeys:options:errorHandler:", - ); - ffi.Pointer _objc_msgSend_456( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, - ffi.Pointer keys, - int mask, - ffi.Pointer handler, - ) { - return __objc_msgSend_456(obj, sel, url, keys, mask, handler); - } - - late final __objc_msgSend_456Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_456 = __objc_msgSend_456Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - )>(); - - late final _sel_subpathsAtPath_1 = objc.registerName("subpathsAtPath:"); - late final _sel_contentsAtPath_1 = objc.registerName("contentsAtPath:"); - ffi.Pointer _objc_msgSend_457( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, - ) { - return __objc_msgSend_457(obj, sel, path); - } - - late final __objc_msgSend_457Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_457 = __objc_msgSend_457Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_createFileAtPath_contents_attributes_1 = objc.registerName( - "createFileAtPath:contents:attributes:", - ); - bool _objc_msgSend_458( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, - ffi.Pointer data, - ffi.Pointer attr, - ) { - return __objc_msgSend_458(obj, sel, path, data, attr); - } - - late final __objc_msgSend_458Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_458 = __objc_msgSend_458Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_fileSystemRepresentationWithPath_1 = objc.registerName( - "fileSystemRepresentationWithPath:", - ); - ffi.Pointer _objc_msgSend_459( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, - ) { - return __objc_msgSend_459(obj, sel, path); - } - - late final __objc_msgSend_459Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_459 = __objc_msgSend_459Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_stringWithFileSystemRepresentation_length_1 = - objc.registerName("stringWithFileSystemRepresentation:length:"); - ffi.Pointer _objc_msgSend_460( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer str, - int len, - ) { - return __objc_msgSend_460(obj, sel, str, len); - } - - late final __objc_msgSend_460Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - )>>('objc_msgSend'); - late final __objc_msgSend_460 = __objc_msgSend_460Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_replaceItemAtURL_withItemAtURL_backupItemName_options_resultingItemURL_error_1 = - objc.registerName( - "replaceItemAtURL:withItemAtURL:backupItemName:options:resultingItemURL:error:", - ); - bool _objc_msgSend_461( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer originalItemURL, - ffi.Pointer newItemURL, - ffi.Pointer backupItemName, - int options, - ffi.Pointer> resultingURL, - ffi.Pointer> error, - ) { - return __objc_msgSend_461( - obj, - sel, - originalItemURL, - newItemURL, - backupItemName, - options, - resultingURL, - error, - ); - } - - late final __objc_msgSend_461Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer>, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_461 = __objc_msgSend_461Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>, - ffi.Pointer>, - )>(); - - late final _sel_setUbiquitous_itemAtURL_destinationURL_error_1 = - objc.registerName("setUbiquitous:itemAtURL:destinationURL:error:"); - bool _objc_msgSend_462( - ffi.Pointer obj, - ffi.Pointer sel, - bool flag, - ffi.Pointer url, - ffi.Pointer destinationURL, - ffi.Pointer> error, - ) { - return __objc_msgSend_462(obj, sel, flag, url, destinationURL, error); - } - - late final __objc_msgSend_462Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_462 = __objc_msgSend_462Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - bool, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>(); - - late final _sel_isUbiquitousItemAtURL_1 = objc.registerName( - "isUbiquitousItemAtURL:", - ); - late final _sel_startDownloadingUbiquitousItemAtURL_error_1 = - objc.registerName("startDownloadingUbiquitousItemAtURL:error:"); - late final _sel_evictUbiquitousItemAtURL_error_1 = objc.registerName( - "evictUbiquitousItemAtURL:error:", - ); - late final _sel_URLForUbiquityContainerIdentifier_1 = objc.registerName( - "URLForUbiquityContainerIdentifier:", - ); - ffi.Pointer _objc_msgSend_463( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer containerIdentifier, - ) { - return __objc_msgSend_463(obj, sel, containerIdentifier); - } - - late final __objc_msgSend_463Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_463 = __objc_msgSend_463Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_URLForPublishingUbiquitousItemAtURL_expirationDate_error_1 = - objc.registerName( - "URLForPublishingUbiquitousItemAtURL:expirationDate:error:", - ); - ffi.Pointer _objc_msgSend_464( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, - ffi.Pointer> outDate, - ffi.Pointer> error, - ) { - return __objc_msgSend_464(obj, sel, url, outDate, error); - } - - late final __objc_msgSend_464Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_464 = __objc_msgSend_464Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer>, - )>(); - - late final _sel_ubiquityIdentityToken1 = objc.registerName( - "ubiquityIdentityToken", - ); - late final _sel_getFileProviderServicesForItemAtURL_completionHandler_1 = objc - .registerName("getFileProviderServicesForItemAtURL:completionHandler:"); - void _objc_msgSend_465( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, - ffi.Pointer completionHandler, - ) { - return __objc_msgSend_465(obj, sel, url, completionHandler); - } - - late final __objc_msgSend_465Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_465 = __objc_msgSend_465Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_containerURLForSecurityApplicationGroupIdentifier_1 = - objc.registerName("containerURLForSecurityApplicationGroupIdentifier:"); - late final _sel_homeDirectoryForCurrentUser1 = objc.registerName( - "homeDirectoryForCurrentUser", - ); - ffi.Pointer _objc_msgSend_466( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_466(obj, sel); - } - - late final __objc_msgSend_466Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_466 = __objc_msgSend_466Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_temporaryDirectory1 = objc.registerName("temporaryDirectory"); - late final _sel_homeDirectoryForUser_1 = objc.registerName( - "homeDirectoryForUser:", - ); - late final _sel_fileManager_shouldProceedAfterError_1 = objc.registerName( - "fileManager:shouldProceedAfterError:", - ); - bool _objc_msgSend_467( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer fm, - ffi.Pointer errorInfo, - ) { - return __objc_msgSend_467(obj, sel, fm, errorInfo); - } - - late final __objc_msgSend_467Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_467 = __objc_msgSend_467Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_fileManager_willProcessPath_1 = objc.registerName( - "fileManager:willProcessPath:", - ); - void _objc_msgSend_468( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer fm, - ffi.Pointer path, - ) { - return __objc_msgSend_468(obj, sel, fm, path); - } - - late final __objc_msgSend_468Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_468 = __objc_msgSend_468Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_validateValue_forKey_error_1 = objc.registerName( - "validateValue:forKey:error:", - ); - late final _class_NSMutableArray1 = objc.getClass("NSMutableArray"); - late final _sel_addObject_1 = objc.registerName("addObject:"); - late final _sel_insertObject_atIndex_1 = objc.registerName( - "insertObject:atIndex:", - ); - void _objc_msgSend_469( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer anObject, - int index, - ) { - return __objc_msgSend_469(obj, sel, anObject, index); - } - - late final __objc_msgSend_469Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - )>>('objc_msgSend'); - late final __objc_msgSend_469 = __objc_msgSend_469Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_removeLastObject1 = objc.registerName("removeLastObject"); - late final _sel_removeObjectAtIndex_1 = objc.registerName( - "removeObjectAtIndex:", - ); - void _objc_msgSend_470( - ffi.Pointer obj, - ffi.Pointer sel, - int index, - ) { - return __objc_msgSend_470(obj, sel, index); - } - - late final __objc_msgSend_470Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - )>>('objc_msgSend'); - late final __objc_msgSend_470 = __objc_msgSend_470Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_replaceObjectAtIndex_withObject_1 = objc.registerName( - "replaceObjectAtIndex:withObject:", - ); - void _objc_msgSend_471( - ffi.Pointer obj, - ffi.Pointer sel, - int index, - ffi.Pointer anObject, - ) { - return __objc_msgSend_471(obj, sel, index, anObject); - } - - late final __objc_msgSend_471Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_471 = __objc_msgSend_471Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - )>(); - - late final _sel_initWithCapacity_1 = objc.registerName("initWithCapacity:"); - late final _sel_addObjectsFromArray_1 = objc.registerName( - "addObjectsFromArray:", - ); - void _objc_msgSend_472( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer otherArray, - ) { - return __objc_msgSend_472(obj, sel, otherArray); - } - - late final __objc_msgSend_472Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_472 = __objc_msgSend_472Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_exchangeObjectAtIndex_withObjectAtIndex_1 = objc.registerName( - "exchangeObjectAtIndex:withObjectAtIndex:", - ); - void _objc_msgSend_473( - ffi.Pointer obj, - ffi.Pointer sel, - int idx1, - int idx2, - ) { - return __objc_msgSend_473(obj, sel, idx1, idx2); - } - - late final __objc_msgSend_473Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ffi.UnsignedLong, - )>>('objc_msgSend'); - late final __objc_msgSend_473 = __objc_msgSend_473Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - int, - )>(); - - late final _sel_removeAllObjects1 = objc.registerName("removeAllObjects"); - late final _sel_removeObject_inRange_1 = objc.registerName( - "removeObject:inRange:", - ); - void _objc_msgSend_474( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer anObject, - _NSRange range, - ) { - return __objc_msgSend_474(obj, sel, anObject, range); - } - - late final __objc_msgSend_474Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - _NSRange, - )>>('objc_msgSend'); - late final __objc_msgSend_474 = __objc_msgSend_474Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - _NSRange, - )>(); - - late final _sel_removeObject_1 = objc.registerName("removeObject:"); - late final _sel_removeObjectIdenticalTo_inRange_1 = objc.registerName( - "removeObjectIdenticalTo:inRange:", - ); - late final _sel_removeObjectIdenticalTo_1 = objc.registerName( - "removeObjectIdenticalTo:", - ); - late final _sel_removeObjectsFromIndices_numIndices_1 = objc.registerName( - "removeObjectsFromIndices:numIndices:", - ); - void _objc_msgSend_475( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer indices, - int cnt, - ) { - return __objc_msgSend_475(obj, sel, indices, cnt); - } - - late final __objc_msgSend_475Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - )>>('objc_msgSend'); - late final __objc_msgSend_475 = __objc_msgSend_475Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_removeObjectsInArray_1 = objc.registerName( - "removeObjectsInArray:", - ); - late final _sel_removeObjectsInRange_1 = objc.registerName( - "removeObjectsInRange:", - ); - void _objc_msgSend_476( - ffi.Pointer obj, - ffi.Pointer sel, - _NSRange range, - ) { - return __objc_msgSend_476(obj, sel, range); - } - - late final __objc_msgSend_476Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - )>>('objc_msgSend'); - late final __objc_msgSend_476 = __objc_msgSend_476Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - )>(); - - late final _sel_replaceObjectsInRange_withObjectsFromArray_range_1 = - objc.registerName("replaceObjectsInRange:withObjectsFromArray:range:"); - void _objc_msgSend_477( - ffi.Pointer obj, - ffi.Pointer sel, - _NSRange range, - ffi.Pointer otherArray, - _NSRange otherRange, - ) { - return __objc_msgSend_477(obj, sel, range, otherArray, otherRange); - } - - late final __objc_msgSend_477Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - _NSRange, - )>>('objc_msgSend'); - late final __objc_msgSend_477 = __objc_msgSend_477Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - _NSRange, - )>(); - - late final _sel_replaceObjectsInRange_withObjectsFromArray_1 = - objc.registerName("replaceObjectsInRange:withObjectsFromArray:"); - void _objc_msgSend_478( - ffi.Pointer obj, - ffi.Pointer sel, - _NSRange range, - ffi.Pointer otherArray, - ) { - return __objc_msgSend_478(obj, sel, range, otherArray); - } - - late final __objc_msgSend_478Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_478 = __objc_msgSend_478Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - )>(); - - late final _sel_setArray_1 = objc.registerName("setArray:"); - late final _sel_sortUsingFunction_context_1 = objc.registerName( - "sortUsingFunction:context:", - ); - void _objc_msgSend_479( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer< - ffi.NativeFunction< - ffi.Long Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>> - compare, - ffi.Pointer context, - ) { - return __objc_msgSend_479(obj, sel, compare, context); - } - - late final __objc_msgSend_479Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.Long Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_479 = __objc_msgSend_479Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.Long Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>, - ffi.Pointer, - )>(); - - late final _sel_sortUsingSelector_1 = objc.registerName("sortUsingSelector:"); - late final _sel_insertObjects_atIndexes_1 = objc.registerName( - "insertObjects:atIndexes:", - ); - void _objc_msgSend_480( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer objects, - ffi.Pointer indexes, - ) { - return __objc_msgSend_480(obj, sel, objects, indexes); - } - - late final __objc_msgSend_480Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_480 = __objc_msgSend_480Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_removeObjectsAtIndexes_1 = objc.registerName( - "removeObjectsAtIndexes:", - ); - void _objc_msgSend_481( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer indexes, - ) { - return __objc_msgSend_481(obj, sel, indexes); - } - - late final __objc_msgSend_481Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_481 = __objc_msgSend_481Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_replaceObjectsAtIndexes_withObjects_1 = objc.registerName( - "replaceObjectsAtIndexes:withObjects:", - ); - void _objc_msgSend_482( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer indexes, - ffi.Pointer objects, - ) { - return __objc_msgSend_482(obj, sel, indexes, objects); - } - - late final __objc_msgSend_482Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_482 = __objc_msgSend_482Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_setObject_atIndexedSubscript_1 = objc.registerName( - "setObject:atIndexedSubscript:", - ); - late final _sel_sortUsingComparator_1 = objc.registerName( - "sortUsingComparator:", - ); - void _objc_msgSend_483( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer cmptr, - ) { - return __objc_msgSend_483(obj, sel, cmptr); - } - - late final __objc_msgSend_483Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_483 = __objc_msgSend_483Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_sortWithOptions_usingComparator_1 = objc.registerName( - "sortWithOptions:usingComparator:", - ); - void _objc_msgSend_484( - ffi.Pointer obj, - ffi.Pointer sel, - int opts, - ffi.Pointer cmptr, - ) { - return __objc_msgSend_484(obj, sel, opts, cmptr); - } - - late final __objc_msgSend_484Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_484 = __objc_msgSend_484Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - )>(); - - late final _sel_arrayWithCapacity_1 = objc.registerName("arrayWithCapacity:"); - ffi.Pointer _objc_msgSend_485( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, - ) { - return __objc_msgSend_485(obj, sel, path); - } - - late final __objc_msgSend_485Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_485 = __objc_msgSend_485Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - ffi.Pointer _objc_msgSend_486( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, - ) { - return __objc_msgSend_486(obj, sel, url); - } - - late final __objc_msgSend_486Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_486 = __objc_msgSend_486Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_applyDifference_1 = objc.registerName("applyDifference:"); - late final _sel_sortUsingDescriptors_1 = objc.registerName( - "sortUsingDescriptors:", - ); - late final _sel_filterUsingPredicate_1 = objc.registerName( - "filterUsingPredicate:", - ); - void _objc_msgSend_487( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer predicate, - ) { - return __objc_msgSend_487(obj, sel, predicate); - } - - late final __objc_msgSend_487Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_487 = __objc_msgSend_487Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_mutableArrayValueForKey_1 = objc.registerName( - "mutableArrayValueForKey:", - ); - ffi.Pointer _objc_msgSend_488( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer key, - ) { - return __objc_msgSend_488(obj, sel, key); - } - - late final __objc_msgSend_488Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_488 = __objc_msgSend_488Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _class_NSMutableOrderedSet1 = objc.getClass("NSMutableOrderedSet"); - late final _class_NSOrderedSet1 = objc.getClass("NSOrderedSet"); - late final _sel_isEqualToOrderedSet_1 = objc.registerName( - "isEqualToOrderedSet:", - ); - bool _objc_msgSend_489( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer other, - ) { - return __objc_msgSend_489(obj, sel, other); - } - - late final __objc_msgSend_489Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_489 = __objc_msgSend_489Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_intersectsOrderedSet_1 = objc.registerName( - "intersectsOrderedSet:", - ); - late final _sel_isSubsetOfOrderedSet_1 = objc.registerName( - "isSubsetOfOrderedSet:", - ); - late final _sel_reversedOrderedSet1 = objc.registerName("reversedOrderedSet"); - ffi.Pointer _objc_msgSend_490( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_490(obj, sel); - } - - late final __objc_msgSend_490Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_490 = __objc_msgSend_490Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - ffi.Pointer _objc_msgSend_491( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_491(obj, sel); - } - - late final __objc_msgSend_491Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_491 = __objc_msgSend_491Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_orderedSet1 = objc.registerName("orderedSet"); - late final _sel_orderedSetWithObject_1 = objc.registerName( - "orderedSetWithObject:", - ); - late final _sel_orderedSetWithObjects_count_1 = objc.registerName( - "orderedSetWithObjects:count:", - ); - late final _sel_orderedSetWithObjects_1 = objc.registerName( - "orderedSetWithObjects:", - ); - late final _sel_orderedSetWithOrderedSet_1 = objc.registerName( - "orderedSetWithOrderedSet:", - ); - instancetype _objc_msgSend_492( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer set1, - ) { - return __objc_msgSend_492(obj, sel, set1); - } - - late final __objc_msgSend_492Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_492 = __objc_msgSend_492Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_orderedSetWithOrderedSet_range_copyItems_1 = - objc.registerName("orderedSetWithOrderedSet:range:copyItems:"); - instancetype _objc_msgSend_493( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer set1, - _NSRange range, - bool flag, - ) { - return __objc_msgSend_493(obj, sel, set1, range, flag); - } - - late final __objc_msgSend_493Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Bool, - )>>('objc_msgSend'); - late final __objc_msgSend_493 = __objc_msgSend_493Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - _NSRange, - bool, - )>(); - - late final _sel_orderedSetWithArray_1 = objc.registerName( - "orderedSetWithArray:", - ); - late final _sel_orderedSetWithArray_range_copyItems_1 = objc.registerName( - "orderedSetWithArray:range:copyItems:", - ); - instancetype _objc_msgSend_494( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer array, - _NSRange range, - bool flag, - ) { - return __objc_msgSend_494(obj, sel, array, range, flag); - } - - late final __objc_msgSend_494Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Bool, - )>>('objc_msgSend'); - late final __objc_msgSend_494 = __objc_msgSend_494Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - _NSRange, - bool, - )>(); - - late final _sel_orderedSetWithSet_1 = objc.registerName("orderedSetWithSet:"); - late final _sel_orderedSetWithSet_copyItems_1 = objc.registerName( - "orderedSetWithSet:copyItems:", - ); - late final _sel_initWithObject_1 = objc.registerName("initWithObject:"); - late final _sel_initWithOrderedSet_1 = objc.registerName( - "initWithOrderedSet:", - ); - late final _sel_initWithOrderedSet_copyItems_1 = objc.registerName( - "initWithOrderedSet:copyItems:", - ); - instancetype _objc_msgSend_495( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer set1, - bool flag, - ) { - return __objc_msgSend_495(obj, sel, set1, flag); - } - - late final __objc_msgSend_495Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - )>>('objc_msgSend'); - late final __objc_msgSend_495 = __objc_msgSend_495Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - )>(); - - late final _sel_initWithOrderedSet_range_copyItems_1 = objc.registerName( - "initWithOrderedSet:range:copyItems:", - ); - late final _sel_initWithArray_range_copyItems_1 = objc.registerName( - "initWithArray:range:copyItems:", - ); - late final _sel_differenceFromOrderedSet_withOptions_usingEquivalenceTest_1 = - objc.registerName( - "differenceFromOrderedSet:withOptions:usingEquivalenceTest:", - ); - ffi.Pointer _objc_msgSend_496( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer other, - int options, - ffi.Pointer block, - ) { - return __objc_msgSend_496(obj, sel, other, options, block); - } - - late final __objc_msgSend_496Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_496 = __objc_msgSend_496Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - )>(); - - late final _sel_differenceFromOrderedSet_withOptions_1 = objc.registerName( - "differenceFromOrderedSet:withOptions:", - ); - ffi.Pointer _objc_msgSend_497( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer other, - int options, - ) { - return __objc_msgSend_497(obj, sel, other, options); - } - - late final __objc_msgSend_497Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - )>>('objc_msgSend'); - late final __objc_msgSend_497 = __objc_msgSend_497Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_differenceFromOrderedSet_1 = objc.registerName( - "differenceFromOrderedSet:", - ); - late final _sel_orderedSetByApplyingDifference_1 = objc.registerName( - "orderedSetByApplyingDifference:", - ); - ffi.Pointer _objc_msgSend_498( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer difference, - ) { - return __objc_msgSend_498(obj, sel, difference); - } - - late final __objc_msgSend_498Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_498 = __objc_msgSend_498Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_filteredOrderedSetUsingPredicate_1 = objc.registerName( - "filteredOrderedSetUsingPredicate:", - ); - ffi.Pointer _objc_msgSend_499( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer p, - ) { - return __objc_msgSend_499(obj, sel, p); - } - - late final __objc_msgSend_499Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_499 = __objc_msgSend_499Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_addObjects_count_1 = objc.registerName("addObjects:count:"); - void _objc_msgSend_500( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer> objects, - int count, - ) { - return __objc_msgSend_500(obj, sel, objects, count); - } - - late final __objc_msgSend_500Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.UnsignedLong, - )>>('objc_msgSend'); - late final __objc_msgSend_500 = __objc_msgSend_500Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - int, - )>(); - - late final _sel_moveObjectsAtIndexes_toIndex_1 = objc.registerName( - "moveObjectsAtIndexes:toIndex:", - ); - void _objc_msgSend_501( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer indexes, - int idx, - ) { - return __objc_msgSend_501(obj, sel, indexes, idx); - } - - late final __objc_msgSend_501Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - )>>('objc_msgSend'); - late final __objc_msgSend_501 = __objc_msgSend_501Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_setObject_atIndex_1 = objc.registerName("setObject:atIndex:"); - late final _sel_replaceObjectsInRange_withObjects_count_1 = objc.registerName( - "replaceObjectsInRange:withObjects:count:", - ); - void _objc_msgSend_502( - ffi.Pointer obj, - ffi.Pointer sel, - _NSRange range, - ffi.Pointer> objects, - int count, - ) { - return __objc_msgSend_502(obj, sel, range, objects, count); - } - - late final __objc_msgSend_502Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer>, - ffi.UnsignedLong, - )>>('objc_msgSend'); - late final __objc_msgSend_502 = __objc_msgSend_502Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer>, - int, - )>(); - - late final _sel_intersectOrderedSet_1 = objc.registerName( - "intersectOrderedSet:", - ); - void _objc_msgSend_503( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer other, - ) { - return __objc_msgSend_503(obj, sel, other); - } - - late final __objc_msgSend_503Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_503 = __objc_msgSend_503Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_minusOrderedSet_1 = objc.registerName("minusOrderedSet:"); - late final _sel_unionOrderedSet_1 = objc.registerName("unionOrderedSet:"); - late final _sel_intersectSet_1 = objc.registerName("intersectSet:"); - void _objc_msgSend_504( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer other, - ) { - return __objc_msgSend_504(obj, sel, other); - } - - late final __objc_msgSend_504Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_504 = __objc_msgSend_504Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_minusSet_1 = objc.registerName("minusSet:"); - late final _sel_unionSet_1 = objc.registerName("unionSet:"); - late final _sel_sortRange_options_usingComparator_1 = objc.registerName( - "sortRange:options:usingComparator:", - ); - void _objc_msgSend_505( - ffi.Pointer obj, - ffi.Pointer sel, - _NSRange range, - int opts, - ffi.Pointer cmptr, - ) { - return __objc_msgSend_505(obj, sel, range, opts, cmptr); - } - - late final __objc_msgSend_505Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Int32, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_505 = __objc_msgSend_505Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - int, - ffi.Pointer, - )>(); - - late final _sel_orderedSetWithCapacity_1 = objc.registerName( - "orderedSetWithCapacity:", - ); - late final _sel_mutableOrderedSetValueForKey_1 = objc.registerName( - "mutableOrderedSetValueForKey:", - ); - ffi.Pointer _objc_msgSend_506( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer key, - ) { - return __objc_msgSend_506(obj, sel, key); - } - - late final __objc_msgSend_506Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_506 = __objc_msgSend_506Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _class_NSMutableSet1 = objc.getClass("NSMutableSet"); - late final _sel_setSet_1 = objc.registerName("setSet:"); - late final _sel_setWithCapacity_1 = objc.registerName("setWithCapacity:"); - late final _sel_mutableSetValueForKey_1 = objc.registerName( - "mutableSetValueForKey:", - ); - ffi.Pointer _objc_msgSend_507( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer key, - ) { - return __objc_msgSend_507(obj, sel, key); - } - - late final __objc_msgSend_507Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_507 = __objc_msgSend_507Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_valueForKeyPath_1 = objc.registerName("valueForKeyPath:"); - late final _sel_setValue_forKeyPath_1 = objc.registerName( - "setValue:forKeyPath:", - ); - late final _sel_validateValue_forKeyPath_error_1 = objc.registerName( - "validateValue:forKeyPath:error:", - ); - late final _sel_mutableArrayValueForKeyPath_1 = objc.registerName( - "mutableArrayValueForKeyPath:", - ); - late final _sel_mutableOrderedSetValueForKeyPath_1 = objc.registerName( - "mutableOrderedSetValueForKeyPath:", - ); - late final _sel_mutableSetValueForKeyPath_1 = objc.registerName( - "mutableSetValueForKeyPath:", - ); - late final _sel_valueForUndefinedKey_1 = objc.registerName( - "valueForUndefinedKey:", - ); - late final _sel_setValue_forUndefinedKey_1 = objc.registerName( - "setValue:forUndefinedKey:", - ); - late final _sel_setNilValueForKey_1 = objc.registerName("setNilValueForKey:"); - late final _sel_dictionaryWithValuesForKeys_1 = objc.registerName( - "dictionaryWithValuesForKeys:", - ); - ffi.Pointer _objc_msgSend_508( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer keys, - ) { - return __objc_msgSend_508(obj, sel, keys); - } - - late final __objc_msgSend_508Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_508 = __objc_msgSend_508Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_setValuesForKeysWithDictionary_1 = objc.registerName( - "setValuesForKeysWithDictionary:", - ); - void _objc_msgSend_509( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer keyedValues, - ) { - return __objc_msgSend_509(obj, sel, keyedValues); - } - - late final __objc_msgSend_509Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_509 = __objc_msgSend_509Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_storedValueForKey_1 = objc.registerName("storedValueForKey:"); - late final _sel_takeStoredValue_forKey_1 = objc.registerName( - "takeStoredValue:forKey:", - ); - late final _sel_takeValue_forKey_1 = objc.registerName("takeValue:forKey:"); - late final _sel_takeValue_forKeyPath_1 = objc.registerName( - "takeValue:forKeyPath:", - ); - late final _sel_handleQueryWithUnboundKey_1 = objc.registerName( - "handleQueryWithUnboundKey:", - ); - late final _sel_handleTakeValue_forUnboundKey_1 = objc.registerName( - "handleTakeValue:forUnboundKey:", - ); - late final _sel_unableToSetNilForKey_1 = objc.registerName( - "unableToSetNilForKey:", - ); - late final _sel_valuesForKeys_1 = objc.registerName("valuesForKeys:"); - late final _sel_takeValuesFromDictionary_1 = objc.registerName( - "takeValuesFromDictionary:", - ); - late final _sel_observeValueForKeyPath_ofObject_change_context_1 = - objc.registerName("observeValueForKeyPath:ofObject:change:context:"); - void _objc_msgSend_510( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer keyPath, - ffi.Pointer object, - ffi.Pointer change, - ffi.Pointer context, - ) { - return __objc_msgSend_510(obj, sel, keyPath, object, change, context); - } - - late final __objc_msgSend_510Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_510 = __objc_msgSend_510Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_willChangeValueForKey_1 = objc.registerName( - "willChangeValueForKey:", - ); - late final _sel_didChangeValueForKey_1 = objc.registerName( - "didChangeValueForKey:", - ); - late final _sel_willChange_valuesAtIndexes_forKey_1 = objc.registerName( - "willChange:valuesAtIndexes:forKey:", - ); - void _objc_msgSend_511( - ffi.Pointer obj, - ffi.Pointer sel, - int changeKind, - ffi.Pointer indexes, - ffi.Pointer key, - ) { - return __objc_msgSend_511(obj, sel, changeKind, indexes, key); - } - - late final __objc_msgSend_511Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_511 = __objc_msgSend_511Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_didChange_valuesAtIndexes_forKey_1 = objc.registerName( - "didChange:valuesAtIndexes:forKey:", - ); - late final _sel_willChangeValueForKey_withSetMutation_usingObjects_1 = - objc.registerName("willChangeValueForKey:withSetMutation:usingObjects:"); - void _objc_msgSend_512( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer key, - int mutationKind, - ffi.Pointer objects, - ) { - return __objc_msgSend_512(obj, sel, key, mutationKind, objects); - } - - late final __objc_msgSend_512Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_512 = __objc_msgSend_512Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - )>(); - - late final _sel_didChangeValueForKey_withSetMutation_usingObjects_1 = - objc.registerName("didChangeValueForKey:withSetMutation:usingObjects:"); - late final _sel_observationInfo1 = objc.registerName("observationInfo"); - late final _sel_setObservationInfo_1 = objc.registerName( - "setObservationInfo:", - ); - void _objc_msgSend_513( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, - ) { - return __objc_msgSend_513(obj, sel, value); - } - - late final __objc_msgSend_513Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_513 = __objc_msgSend_513Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_classForKeyedArchiver1 = objc.registerName( - "classForKeyedArchiver", - ); - late final _class_NSKeyedArchiver1 = objc.getClass("NSKeyedArchiver"); - late final _sel_initRequiringSecureCoding_1 = objc.registerName( - "initRequiringSecureCoding:", - ); - instancetype _objc_msgSend_514( - ffi.Pointer obj, - ffi.Pointer sel, - bool requiresSecureCoding, - ) { - return __objc_msgSend_514(obj, sel, requiresSecureCoding); - } - - late final __objc_msgSend_514Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - )>>('objc_msgSend'); - late final __objc_msgSend_514 = __objc_msgSend_514Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - bool, - )>(); - - late final _sel_archivedDataWithRootObject_requiringSecureCoding_error_1 = - objc.registerName( - "archivedDataWithRootObject:requiringSecureCoding:error:", - ); - ffi.Pointer _objc_msgSend_515( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer object, - bool requiresSecureCoding, - ffi.Pointer> error, - ) { - return __objc_msgSend_515(obj, sel, object, requiresSecureCoding, error); - } - - late final __objc_msgSend_515Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_515 = __objc_msgSend_515Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - ffi.Pointer>, - )>(); - - late final _class_NSMutableData1 = objc.getClass("NSMutableData"); - late final _sel_mutableBytes1 = objc.registerName("mutableBytes"); - late final _sel_setLength_1 = objc.registerName("setLength:"); - void _objc_msgSend_516( - ffi.Pointer obj, - ffi.Pointer sel, - int value, - ) { - return __objc_msgSend_516(obj, sel, value); - } - - late final __objc_msgSend_516Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - )>>('objc_msgSend'); - late final __objc_msgSend_516 = __objc_msgSend_516Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_appendBytes_length_1 = objc.registerName( - "appendBytes:length:", - ); - late final _sel_appendData_1 = objc.registerName("appendData:"); - late final _sel_increaseLengthBy_1 = objc.registerName("increaseLengthBy:"); - late final _sel_replaceBytesInRange_withBytes_1 = objc.registerName( - "replaceBytesInRange:withBytes:", - ); - void _objc_msgSend_517( - ffi.Pointer obj, - ffi.Pointer sel, - _NSRange range, - ffi.Pointer bytes, - ) { - return __objc_msgSend_517(obj, sel, range, bytes); - } - - late final __objc_msgSend_517Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_517 = __objc_msgSend_517Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - )>(); - - late final _sel_resetBytesInRange_1 = objc.registerName("resetBytesInRange:"); - late final _sel_setData_1 = objc.registerName("setData:"); - late final _sel_replaceBytesInRange_withBytes_length_1 = objc.registerName( - "replaceBytesInRange:withBytes:length:", - ); - void _objc_msgSend_518( - ffi.Pointer obj, - ffi.Pointer sel, - _NSRange range, - ffi.Pointer replacementBytes, - int replacementLength, - ) { - return __objc_msgSend_518( - obj, - sel, - range, - replacementBytes, - replacementLength, - ); - } - - late final __objc_msgSend_518Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - ffi.UnsignedLong, - )>>('objc_msgSend'); - late final __objc_msgSend_518 = __objc_msgSend_518Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - int, - )>(); - - late final _sel_dataWithCapacity_1 = objc.registerName("dataWithCapacity:"); - instancetype _objc_msgSend_519( - ffi.Pointer obj, - ffi.Pointer sel, - int aNumItems, - ) { - return __objc_msgSend_519(obj, sel, aNumItems); - } - - late final __objc_msgSend_519Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - )>>('objc_msgSend'); - late final __objc_msgSend_519 = __objc_msgSend_519Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_dataWithLength_1 = objc.registerName("dataWithLength:"); - late final _sel_initWithLength_1 = objc.registerName("initWithLength:"); - late final _sel_decompressUsingAlgorithm_error_1 = objc.registerName( - "decompressUsingAlgorithm:error:", - ); - bool _objc_msgSend_520( - ffi.Pointer obj, - ffi.Pointer sel, - int algorithm, - ffi.Pointer> error, - ) { - return __objc_msgSend_520(obj, sel, algorithm, error); - } - - late final __objc_msgSend_520Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_520 = __objc_msgSend_520Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>, - )>(); - - late final _sel_compressUsingAlgorithm_error_1 = objc.registerName( - "compressUsingAlgorithm:error:", - ); - late final _sel_initForWritingWithMutableData_1 = objc.registerName( - "initForWritingWithMutableData:", - ); - instancetype _objc_msgSend_521( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer data, - ) { - return __objc_msgSend_521(obj, sel, data); - } - - late final __objc_msgSend_521Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_521 = __objc_msgSend_521Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_archivedDataWithRootObject_1 = objc.registerName( - "archivedDataWithRootObject:", - ); - ffi.Pointer _objc_msgSend_522( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer rootObject, - ) { - return __objc_msgSend_522(obj, sel, rootObject); - } - - late final __objc_msgSend_522Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_522 = __objc_msgSend_522Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_archiveRootObject_toFile_1 = objc.registerName( - "archiveRootObject:toFile:", - ); - late final _sel_outputFormat1 = objc.registerName("outputFormat"); - int _objc_msgSend_523( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_523(obj, sel); - } - - late final __objc_msgSend_523Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_523 = __objc_msgSend_523Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_setOutputFormat_1 = objc.registerName("setOutputFormat:"); - void _objc_msgSend_524( - ffi.Pointer obj, - ffi.Pointer sel, - int value, - ) { - return __objc_msgSend_524(obj, sel, value); - } - - late final __objc_msgSend_524Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - )>>('objc_msgSend'); - late final __objc_msgSend_524 = __objc_msgSend_524Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_encodedData1 = objc.registerName("encodedData"); - late final _sel_finishEncoding1 = objc.registerName("finishEncoding"); - late final _sel_setClassName_forClass_1 = objc.registerName( - "setClassName:forClass:", - ); - void _objc_msgSend_525( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer codedName, - ffi.Pointer cls, - ) { - return __objc_msgSend_525(obj, sel, codedName, cls); - } - - late final __objc_msgSend_525Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_525 = __objc_msgSend_525Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_classNameForClass_1 = objc.registerName("classNameForClass:"); - ffi.Pointer _objc_msgSend_526( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer cls, - ) { - return __objc_msgSend_526(obj, sel, cls); - } - - late final __objc_msgSend_526Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_526 = __objc_msgSend_526Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_setRequiresSecureCoding_1 = objc.registerName( - "setRequiresSecureCoding:", - ); - void _objc_msgSend_527( - ffi.Pointer obj, - ffi.Pointer sel, - bool value, - ) { - return __objc_msgSend_527(obj, sel, value); - } - - late final __objc_msgSend_527Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - )>>('objc_msgSend'); - late final __objc_msgSend_527 = __objc_msgSend_527Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - bool, - )>(); - - late final _sel_replacementObjectForKeyedArchiver_1 = objc.registerName( - "replacementObjectForKeyedArchiver:", - ); - ffi.Pointer _objc_msgSend_528( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer archiver, - ) { - return __objc_msgSend_528(obj, sel, archiver); - } - - late final __objc_msgSend_528Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_528 = __objc_msgSend_528Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_performSelectorOnMainThread_withObject_waitUntilDone_modes_1 = - objc.registerName( - "performSelectorOnMainThread:withObject:waitUntilDone:modes:", - ); - void _objc_msgSend_529( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aSelector, - ffi.Pointer arg, - bool wait, - ffi.Pointer array, - ) { - return __objc_msgSend_529(obj, sel, aSelector, arg, wait, array); - } - - late final __objc_msgSend_529Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_529 = __objc_msgSend_529Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - ffi.Pointer, - )>(); - - late final _sel_performSelectorOnMainThread_withObject_waitUntilDone_1 = objc - .registerName("performSelectorOnMainThread:withObject:waitUntilDone:"); - void _objc_msgSend_530( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aSelector, - ffi.Pointer arg, - bool wait, - ) { - return __objc_msgSend_530(obj, sel, aSelector, arg, wait); - } - - late final __objc_msgSend_530Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - )>>('objc_msgSend'); - late final __objc_msgSend_530 = __objc_msgSend_530Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - )>(); - - late final _class_NSThread1 = objc.getClass("NSThread"); - late final _sel_currentThread1 = objc.registerName("currentThread"); - ffi.Pointer _objc_msgSend_531( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_531(obj, sel); - } - - late final __objc_msgSend_531Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_531 = __objc_msgSend_531Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_detachNewThreadWithBlock_1 = objc.registerName( - "detachNewThreadWithBlock:", - ); - void _objc_msgSend_532( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer block, - ) { - return __objc_msgSend_532(obj, sel, block); - } - - late final __objc_msgSend_532Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_532 = __objc_msgSend_532Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_detachNewThreadSelector_toTarget_withObject_1 = - objc.registerName("detachNewThreadSelector:toTarget:withObject:"); - void _objc_msgSend_533( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer selector, - ffi.Pointer target, - ffi.Pointer argument, - ) { - return __objc_msgSend_533(obj, sel, selector, target, argument); - } - - late final __objc_msgSend_533Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_533 = __objc_msgSend_533Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_isMultiThreaded1 = objc.registerName("isMultiThreaded"); - late final _class_NSMutableDictionary1 = objc.getClass("NSMutableDictionary"); - late final _sel_removeObjectForKey_1 = objc.registerName( - "removeObjectForKey:", - ); - late final _sel_setObject_forKey_1 = objc.registerName("setObject:forKey:"); - void _objc_msgSend_534( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer anObject, - ffi.Pointer aKey, - ) { - return __objc_msgSend_534(obj, sel, anObject, aKey); - } - - late final __objc_msgSend_534Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_534 = __objc_msgSend_534Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_addEntriesFromDictionary_1 = objc.registerName( - "addEntriesFromDictionary:", - ); - late final _sel_removeObjectsForKeys_1 = objc.registerName( - "removeObjectsForKeys:", - ); - late final _sel_setDictionary_1 = objc.registerName("setDictionary:"); - late final _sel_setObject_forKeyedSubscript_1 = objc.registerName( - "setObject:forKeyedSubscript:", - ); - void _objc_msgSend_535( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer obj1, - ffi.Pointer key, - ) { - return __objc_msgSend_535(obj, sel, obj1, key); - } - - late final __objc_msgSend_535Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_535 = __objc_msgSend_535Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_dictionaryWithCapacity_1 = objc.registerName( - "dictionaryWithCapacity:", - ); - ffi.Pointer _objc_msgSend_536( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, - ) { - return __objc_msgSend_536(obj, sel, path); - } - - late final __objc_msgSend_536Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_536 = __objc_msgSend_536Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - ffi.Pointer _objc_msgSend_537( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, - ) { - return __objc_msgSend_537(obj, sel, url); - } - - late final __objc_msgSend_537Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_537 = __objc_msgSend_537Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_dictionaryWithSharedKeySet_1 = objc.registerName( - "dictionaryWithSharedKeySet:", - ); - ffi.Pointer _objc_msgSend_538( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer keyset, - ) { - return __objc_msgSend_538(obj, sel, keyset); - } - - late final __objc_msgSend_538Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_538 = __objc_msgSend_538Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_threadDictionary1 = objc.registerName("threadDictionary"); - ffi.Pointer _objc_msgSend_539( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_539(obj, sel); - } - - late final __objc_msgSend_539Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_539 = __objc_msgSend_539Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_sleepUntilDate_1 = objc.registerName("sleepUntilDate:"); - void _objc_msgSend_540( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer date, - ) { - return __objc_msgSend_540(obj, sel, date); - } - - late final __objc_msgSend_540Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_540 = __objc_msgSend_540Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_sleepForTimeInterval_1 = objc.registerName( - "sleepForTimeInterval:", - ); - void _objc_msgSend_541( - ffi.Pointer obj, - ffi.Pointer sel, - double ti, - ) { - return __objc_msgSend_541(obj, sel, ti); - } - - late final __objc_msgSend_541Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Double, - )>>('objc_msgSend'); - late final __objc_msgSend_541 = __objc_msgSend_541Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - double, - )>(); - - late final _sel_exit1 = objc.registerName("exit"); - late final _sel_threadPriority1 = objc.registerName("threadPriority"); - late final _sel_setThreadPriority_1 = objc.registerName("setThreadPriority:"); - void _objc_msgSend_542( - ffi.Pointer obj, - ffi.Pointer sel, - double value, - ) { - return __objc_msgSend_542(obj, sel, value); - } - - late final __objc_msgSend_542Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Double, - )>>('objc_msgSend'); - late final __objc_msgSend_542 = __objc_msgSend_542Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - double, - )>(); - - late final _sel_qualityOfService1 = objc.registerName("qualityOfService"); - int _objc_msgSend_543( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_543(obj, sel); - } - - late final __objc_msgSend_543Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_543 = __objc_msgSend_543Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_setQualityOfService_1 = objc.registerName( - "setQualityOfService:", - ); - void _objc_msgSend_544( - ffi.Pointer obj, - ffi.Pointer sel, - int value, - ) { - return __objc_msgSend_544(obj, sel, value); - } - - late final __objc_msgSend_544Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - )>>('objc_msgSend'); - late final __objc_msgSend_544 = __objc_msgSend_544Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_callStackReturnAddresses1 = objc.registerName( - "callStackReturnAddresses", - ); - late final _sel_callStackSymbols1 = objc.registerName("callStackSymbols"); - late final _sel_setName_1 = objc.registerName("setName:"); - void _objc_msgSend_545( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, - ) { - return __objc_msgSend_545(obj, sel, value); - } - - late final __objc_msgSend_545Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_545 = __objc_msgSend_545Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_stackSize1 = objc.registerName("stackSize"); - late final _sel_setStackSize_1 = objc.registerName("setStackSize:"); - late final _sel_isMainThread1 = objc.registerName("isMainThread"); - late final _sel_mainThread1 = objc.registerName("mainThread"); - late final _sel_initWithTarget_selector_object_1 = objc.registerName( - "initWithTarget:selector:object:", - ); - instancetype _objc_msgSend_546( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer target, - ffi.Pointer selector, - ffi.Pointer argument, - ) { - return __objc_msgSend_546(obj, sel, target, selector, argument); - } - - late final __objc_msgSend_546Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_546 = __objc_msgSend_546Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_initWithBlock_1 = objc.registerName("initWithBlock:"); - instancetype _objc_msgSend_547( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer block, - ) { - return __objc_msgSend_547(obj, sel, block); - } - - late final __objc_msgSend_547Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_547 = __objc_msgSend_547Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_isExecuting1 = objc.registerName("isExecuting"); - late final _sel_isFinished1 = objc.registerName("isFinished"); - late final _sel_isCancelled1 = objc.registerName("isCancelled"); - late final _sel_cancel1 = objc.registerName("cancel"); - late final _sel_start1 = objc.registerName("start"); - late final _sel_main1 = objc.registerName("main"); - late final _sel_performSelector_onThread_withObject_waitUntilDone_modes_1 = - objc.registerName( - "performSelector:onThread:withObject:waitUntilDone:modes:", - ); - void _objc_msgSend_548( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aSelector, - ffi.Pointer thr, - ffi.Pointer arg, - bool wait, - ffi.Pointer array, - ) { - return __objc_msgSend_548(obj, sel, aSelector, thr, arg, wait, array); - } - - late final __objc_msgSend_548Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_548 = __objc_msgSend_548Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - ffi.Pointer, - )>(); - - late final _sel_performSelector_onThread_withObject_waitUntilDone_1 = - objc.registerName("performSelector:onThread:withObject:waitUntilDone:"); - void _objc_msgSend_549( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aSelector, - ffi.Pointer thr, - ffi.Pointer arg, - bool wait, - ) { - return __objc_msgSend_549(obj, sel, aSelector, thr, arg, wait); - } - - late final __objc_msgSend_549Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - )>>('objc_msgSend'); - late final __objc_msgSend_549 = __objc_msgSend_549Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - )>(); - - late final _sel_performSelectorInBackground_withObject_1 = objc.registerName( - "performSelectorInBackground:withObject:", - ); - late final _sel_classForArchiver1 = objc.registerName("classForArchiver"); - late final _class_NSArchiver1 = objc.getClass("NSArchiver"); - late final _sel_archiverData1 = objc.registerName("archiverData"); - ffi.Pointer _objc_msgSend_550( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_550(obj, sel); - } - - late final __objc_msgSend_550Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_550 = __objc_msgSend_550Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_encodeClassName_intoClassName_1 = objc.registerName( - "encodeClassName:intoClassName:", - ); - void _objc_msgSend_551( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer trueName, - ffi.Pointer inArchiveName, - ) { - return __objc_msgSend_551(obj, sel, trueName, inArchiveName); - } - - late final __objc_msgSend_551Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_551 = __objc_msgSend_551Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_classNameEncodedForTrueClassName_1 = objc.registerName( - "classNameEncodedForTrueClassName:", - ); - late final _sel_replaceObject_withObject_1 = objc.registerName( - "replaceObject:withObject:", - ); - late final _sel_replacementObjectForArchiver_1 = objc.registerName( - "replacementObjectForArchiver:", - ); - ffi.Pointer _objc_msgSend_552( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer archiver, - ) { - return __objc_msgSend_552(obj, sel, archiver); - } - - late final __objc_msgSend_552Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_552 = __objc_msgSend_552Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_classForPortCoder1 = objc.registerName("classForPortCoder"); - late final _class_NSPortCoder1 = objc.getClass("NSPortCoder"); - late final _sel_isBycopy1 = objc.registerName("isBycopy"); - late final _sel_isByref1 = objc.registerName("isByref"); - late final _class_NSPort1 = objc.getClass("NSPort"); - ffi.Pointer _objc_msgSend_553( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_553(obj, sel); - } - - late final __objc_msgSend_553Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_553 = __objc_msgSend_553Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_invalidate1 = objc.registerName("invalidate"); - late final _sel_isValid1 = objc.registerName("isValid"); - late final _class_NSRunLoop1 = objc.getClass("NSRunLoop"); - late final _sel_currentRunLoop1 = objc.registerName("currentRunLoop"); - ffi.Pointer _objc_msgSend_554( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_554(obj, sel); - } - - late final __objc_msgSend_554Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_554 = __objc_msgSend_554Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_mainRunLoop1 = objc.registerName("mainRunLoop"); - late final _sel_currentMode1 = objc.registerName("currentMode"); - late final _sel_getCFRunLoop1 = objc.registerName("getCFRunLoop"); - ffi.Pointer<__CFRunLoop> _objc_msgSend_555( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_555(obj, sel); - } - - late final __objc_msgSend_555Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer<__CFRunLoop> Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_555 = __objc_msgSend_555Ptr.asFunction< - ffi.Pointer<__CFRunLoop> Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _class_NSTimer1 = objc.getClass("NSTimer"); - late final _sel_timerWithTimeInterval_invocation_repeats_1 = - objc.registerName("timerWithTimeInterval:invocation:repeats:"); - ffi.Pointer _objc_msgSend_556( - ffi.Pointer obj, - ffi.Pointer sel, - double ti, - ffi.Pointer invocation, - bool yesOrNo, - ) { - return __objc_msgSend_556(obj, sel, ti, invocation, yesOrNo); - } - - late final __objc_msgSend_556Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Double, - ffi.Pointer, - ffi.Bool, - )>>('objc_msgSend'); - late final __objc_msgSend_556 = __objc_msgSend_556Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - double, - ffi.Pointer, - bool, - )>(); - - late final _sel_scheduledTimerWithTimeInterval_invocation_repeats_1 = - objc.registerName("scheduledTimerWithTimeInterval:invocation:repeats:"); - late final _sel_timerWithTimeInterval_target_selector_userInfo_repeats_1 = - objc.registerName( - "timerWithTimeInterval:target:selector:userInfo:repeats:", - ); - ffi.Pointer _objc_msgSend_557( - ffi.Pointer obj, - ffi.Pointer sel, - double ti, - ffi.Pointer aTarget, - ffi.Pointer aSelector, - ffi.Pointer userInfo, - bool yesOrNo, - ) { - return __objc_msgSend_557( - obj, - sel, - ti, - aTarget, - aSelector, - userInfo, - yesOrNo, - ); - } - - late final __objc_msgSend_557Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Double, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - )>>('objc_msgSend'); - late final __objc_msgSend_557 = __objc_msgSend_557Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - double, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - )>(); - - late final _sel_scheduledTimerWithTimeInterval_target_selector_userInfo_repeats_1 = - objc.registerName( - "scheduledTimerWithTimeInterval:target:selector:userInfo:repeats:", - ); - late final _sel_timerWithTimeInterval_repeats_block_1 = objc.registerName( - "timerWithTimeInterval:repeats:block:", - ); - ffi.Pointer _objc_msgSend_558( - ffi.Pointer obj, - ffi.Pointer sel, - double interval, - bool repeats, - ffi.Pointer block, - ) { - return __objc_msgSend_558(obj, sel, interval, repeats, block); - } - - late final __objc_msgSend_558Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Double, - ffi.Bool, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_558 = __objc_msgSend_558Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - double, - bool, - ffi.Pointer, - )>(); - - late final _sel_scheduledTimerWithTimeInterval_repeats_block_1 = - objc.registerName("scheduledTimerWithTimeInterval:repeats:block:"); - late final _sel_initWithFireDate_interval_repeats_block_1 = objc.registerName( - "initWithFireDate:interval:repeats:block:", - ); - instancetype _objc_msgSend_559( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer date, - double interval, - bool repeats, - ffi.Pointer block, - ) { - return __objc_msgSend_559(obj, sel, date, interval, repeats, block); - } - - late final __objc_msgSend_559Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Double, - ffi.Bool, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_559 = __objc_msgSend_559Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - double, - bool, - ffi.Pointer, - )>(); - - late final _sel_initWithFireDate_interval_target_selector_userInfo_repeats_1 = - objc.registerName( - "initWithFireDate:interval:target:selector:userInfo:repeats:", - ); - instancetype _objc_msgSend_560( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer date, - double ti, - ffi.Pointer t, - ffi.Pointer s, - ffi.Pointer ui, - bool rep, - ) { - return __objc_msgSend_560(obj, sel, date, ti, t, s, ui, rep); - } - - late final __objc_msgSend_560Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Double, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - )>>('objc_msgSend'); - late final __objc_msgSend_560 = __objc_msgSend_560Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - double, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - )>(); - - late final _sel_fire1 = objc.registerName("fire"); - late final _sel_fireDate1 = objc.registerName("fireDate"); - late final _sel_setFireDate_1 = objc.registerName("setFireDate:"); - void _objc_msgSend_561( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, - ) { - return __objc_msgSend_561(obj, sel, value); - } - - late final __objc_msgSend_561Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_561 = __objc_msgSend_561Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_timeInterval1 = objc.registerName("timeInterval"); - late final _sel_tolerance1 = objc.registerName("tolerance"); - late final _sel_setTolerance_1 = objc.registerName("setTolerance:"); - late final _sel_addTimer_forMode_1 = objc.registerName("addTimer:forMode:"); - void _objc_msgSend_562( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer timer, - ffi.Pointer mode, - ) { - return __objc_msgSend_562(obj, sel, timer, mode); - } - - late final __objc_msgSend_562Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_562 = __objc_msgSend_562Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_addPort_forMode_1 = objc.registerName("addPort:forMode:"); - void _objc_msgSend_563( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aPort, - ffi.Pointer mode, - ) { - return __objc_msgSend_563(obj, sel, aPort, mode); - } - - late final __objc_msgSend_563Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_563 = __objc_msgSend_563Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_removePort_forMode_1 = objc.registerName( - "removePort:forMode:", - ); - late final _sel_limitDateForMode_1 = objc.registerName("limitDateForMode:"); - ffi.Pointer _objc_msgSend_564( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer mode, - ) { - return __objc_msgSend_564(obj, sel, mode); - } - - late final __objc_msgSend_564Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_564 = __objc_msgSend_564Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_acceptInputForMode_beforeDate_1 = objc.registerName( - "acceptInputForMode:beforeDate:", - ); - void _objc_msgSend_565( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer mode, - ffi.Pointer limitDate, - ) { - return __objc_msgSend_565(obj, sel, mode, limitDate); - } - - late final __objc_msgSend_565Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_565 = __objc_msgSend_565Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_run1 = objc.registerName("run"); - late final _sel_runUntilDate_1 = objc.registerName("runUntilDate:"); - late final _sel_runMode_beforeDate_1 = objc.registerName( - "runMode:beforeDate:", - ); - bool _objc_msgSend_566( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer mode, - ffi.Pointer limitDate, - ) { - return __objc_msgSend_566(obj, sel, mode, limitDate); - } - - late final __objc_msgSend_566Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_566 = __objc_msgSend_566Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_configureAsServer1 = objc.registerName("configureAsServer"); - late final _sel_performInModes_block_1 = objc.registerName( - "performInModes:block:", - ); - void _objc_msgSend_567( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer modes, - ffi.Pointer block, - ) { - return __objc_msgSend_567(obj, sel, modes, block); - } - - late final __objc_msgSend_567Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_567 = __objc_msgSend_567Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_performBlock_1 = objc.registerName("performBlock:"); - late final _sel_performSelector_target_argument_order_modes_1 = - objc.registerName("performSelector:target:argument:order:modes:"); - void _objc_msgSend_568( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aSelector, - ffi.Pointer target, - ffi.Pointer arg, - int order, - ffi.Pointer modes, - ) { - return __objc_msgSend_568(obj, sel, aSelector, target, arg, order, modes); - } - - late final __objc_msgSend_568Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_568 = __objc_msgSend_568Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - )>(); - - late final _sel_cancelPerformSelector_target_argument_1 = objc.registerName( - "cancelPerformSelector:target:argument:", - ); - late final _sel_cancelPerformSelectorsWithTarget_1 = objc.registerName( - "cancelPerformSelectorsWithTarget:", - ); - late final _sel_scheduleInRunLoop_forMode_1 = objc.registerName( - "scheduleInRunLoop:forMode:", - ); - void _objc_msgSend_569( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer runLoop, - ffi.Pointer mode, - ) { - return __objc_msgSend_569(obj, sel, runLoop, mode); - } - - late final __objc_msgSend_569Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_569 = __objc_msgSend_569Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_removeFromRunLoop_forMode_1 = objc.registerName( - "removeFromRunLoop:forMode:", - ); - late final _sel_reservedSpaceLength1 = objc.registerName( - "reservedSpaceLength", - ); - late final _sel_sendBeforeDate_components_from_reserved_1 = objc.registerName( - "sendBeforeDate:components:from:reserved:", - ); - bool _objc_msgSend_570( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer limitDate, - ffi.Pointer components, - ffi.Pointer receivePort, - int headerSpaceReserved, - ) { - return __objc_msgSend_570( - obj, - sel, - limitDate, - components, - receivePort, - headerSpaceReserved, - ); - } - - late final __objc_msgSend_570Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - )>>('objc_msgSend'); - late final __objc_msgSend_570 = __objc_msgSend_570Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_sendBeforeDate_msgid_components_from_reserved_1 = - objc.registerName("sendBeforeDate:msgid:components:from:reserved:"); - bool _objc_msgSend_571( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer limitDate, - int msgID, - ffi.Pointer components, - ffi.Pointer receivePort, - int headerSpaceReserved, - ) { - return __objc_msgSend_571( - obj, - sel, - limitDate, - msgID, - components, - receivePort, - headerSpaceReserved, - ); - } - - late final __objc_msgSend_571Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - )>>('objc_msgSend'); - late final __objc_msgSend_571 = __objc_msgSend_571Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _class_NSConnection1 = objc.getClass("NSConnection"); - late final _sel_statistics1 = objc.registerName("statistics"); - late final _sel_allConnections1 = objc.registerName("allConnections"); - late final _sel_defaultConnection1 = objc.registerName("defaultConnection"); - ffi.Pointer _objc_msgSend_572( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_572(obj, sel); - } - - late final __objc_msgSend_572Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_572 = __objc_msgSend_572Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_connectionWithRegisteredName_host_1 = objc.registerName( - "connectionWithRegisteredName:host:", - ); - instancetype _objc_msgSend_573( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer name, - ffi.Pointer hostName, - ) { - return __objc_msgSend_573(obj, sel, name, hostName); - } - - late final __objc_msgSend_573Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_573 = __objc_msgSend_573Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _class_NSPortNameServer1 = objc.getClass("NSPortNameServer"); - late final _sel_systemDefaultPortNameServer1 = objc.registerName( - "systemDefaultPortNameServer", - ); - ffi.Pointer _objc_msgSend_574( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_574(obj, sel); - } - - late final __objc_msgSend_574Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_574 = __objc_msgSend_574Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_portForName_1 = objc.registerName("portForName:"); - ffi.Pointer _objc_msgSend_575( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer name, - ) { - return __objc_msgSend_575(obj, sel, name); - } - - late final __objc_msgSend_575Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_575 = __objc_msgSend_575Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_portForName_host_1 = objc.registerName("portForName:host:"); - ffi.Pointer _objc_msgSend_576( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer name, - ffi.Pointer host, - ) { - return __objc_msgSend_576(obj, sel, name, host); - } - - late final __objc_msgSend_576Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_576 = __objc_msgSend_576Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_registerPort_name_1 = objc.registerName("registerPort:name:"); - bool _objc_msgSend_577( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer port, - ffi.Pointer name, - ) { - return __objc_msgSend_577(obj, sel, port, name); - } - - late final __objc_msgSend_577Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_577 = __objc_msgSend_577Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_removePortForName_1 = objc.registerName("removePortForName:"); - late final _sel_connectionWithRegisteredName_host_usingNameServer_1 = - objc.registerName("connectionWithRegisteredName:host:usingNameServer:"); - instancetype _objc_msgSend_578( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer name, - ffi.Pointer hostName, - ffi.Pointer server, - ) { - return __objc_msgSend_578(obj, sel, name, hostName, server); - } - - late final __objc_msgSend_578Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_578 = __objc_msgSend_578Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _class_NSDistantObject1 = objc.getClass("NSDistantObject"); - late final _class_NSProxy1 = objc.getClass("NSProxy"); - ffi.Pointer _objc_msgSend_579( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer sel1, - ) { - return __objc_msgSend_579(obj, sel, sel1); - } - - late final __objc_msgSend_579Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_579 = __objc_msgSend_579Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_respondsToSelector_1 = objc.registerName( - "respondsToSelector:", - ); - late final _sel_proxyWithTarget_connection_1 = objc.registerName( - "proxyWithTarget:connection:", - ); - ffi.Pointer _objc_msgSend_580( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer target, - ffi.Pointer connection, - ) { - return __objc_msgSend_580(obj, sel, target, connection); - } - - late final __objc_msgSend_580Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_580 = __objc_msgSend_580Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_initWithTarget_connection_1 = objc.registerName( - "initWithTarget:connection:", - ); - late final _sel_proxyWithLocal_connection_1 = objc.registerName( - "proxyWithLocal:connection:", - ); - ffi.Pointer _objc_msgSend_581( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer target, - ffi.Pointer connection, - ) { - return __objc_msgSend_581(obj, sel, target, connection); - } - - late final __objc_msgSend_581Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_581 = __objc_msgSend_581Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_initWithLocal_connection_1 = objc.registerName( - "initWithLocal:connection:", - ); - late final _sel_setProtocolForProxy_1 = objc.registerName( - "setProtocolForProxy:", - ); - void _objc_msgSend_582( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer proto, - ) { - return __objc_msgSend_582(obj, sel, proto); - } - - late final __objc_msgSend_582Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_582 = __objc_msgSend_582Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_connectionForProxy1 = objc.registerName("connectionForProxy"); - late final _sel_rootProxyForConnectionWithRegisteredName_host_1 = - objc.registerName("rootProxyForConnectionWithRegisteredName:host:"); - ffi.Pointer _objc_msgSend_583( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer name, - ffi.Pointer hostName, - ) { - return __objc_msgSend_583(obj, sel, name, hostName); - } - - late final __objc_msgSend_583Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_583 = __objc_msgSend_583Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_rootProxyForConnectionWithRegisteredName_host_usingNameServer_1 = - objc.registerName( - "rootProxyForConnectionWithRegisteredName:host:usingNameServer:", - ); - ffi.Pointer _objc_msgSend_584( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer name, - ffi.Pointer hostName, - ffi.Pointer server, - ) { - return __objc_msgSend_584(obj, sel, name, hostName, server); - } - - late final __objc_msgSend_584Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_584 = __objc_msgSend_584Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_serviceConnectionWithName_rootObject_usingNameServer_1 = objc - .registerName("serviceConnectionWithName:rootObject:usingNameServer:"); - instancetype _objc_msgSend_585( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer name, - ffi.Pointer root, - ffi.Pointer server, - ) { - return __objc_msgSend_585(obj, sel, name, root, server); - } - - late final __objc_msgSend_585Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_585 = __objc_msgSend_585Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_serviceConnectionWithName_rootObject_1 = objc.registerName( - "serviceConnectionWithName:rootObject:", - ); - instancetype _objc_msgSend_586( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer name, - ffi.Pointer root, - ) { - return __objc_msgSend_586(obj, sel, name, root); - } - - late final __objc_msgSend_586Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_586 = __objc_msgSend_586Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_requestTimeout1 = objc.registerName("requestTimeout"); - late final _sel_setRequestTimeout_1 = objc.registerName("setRequestTimeout:"); - late final _sel_replyTimeout1 = objc.registerName("replyTimeout"); - late final _sel_setReplyTimeout_1 = objc.registerName("setReplyTimeout:"); - late final _sel_rootObject1 = objc.registerName("rootObject"); - late final _sel_setRootObject_1 = objc.registerName("setRootObject:"); - late final _sel_independentConversationQueueing1 = objc.registerName( - "independentConversationQueueing", - ); - late final _sel_setIndependentConversationQueueing_1 = objc.registerName( - "setIndependentConversationQueueing:", - ); - late final _sel_rootProxy1 = objc.registerName("rootProxy"); - ffi.Pointer _objc_msgSend_587( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_587(obj, sel); - } - - late final __objc_msgSend_587Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_587 = __objc_msgSend_587Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_addRequestMode_1 = objc.registerName("addRequestMode:"); - late final _sel_removeRequestMode_1 = objc.registerName("removeRequestMode:"); - late final _sel_requestModes1 = objc.registerName("requestModes"); - late final _sel_registerName_1 = objc.registerName("registerName:"); - bool _objc_msgSend_588( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer name, - ) { - return __objc_msgSend_588(obj, sel, name); - } - - late final __objc_msgSend_588Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_588 = __objc_msgSend_588Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_registerName_withNameServer_1 = objc.registerName( - "registerName:withNameServer:", - ); - bool _objc_msgSend_589( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer name, - ffi.Pointer server, - ) { - return __objc_msgSend_589(obj, sel, name, server); - } - - late final __objc_msgSend_589Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_589 = __objc_msgSend_589Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_connectionWithReceivePort_sendPort_1 = objc.registerName( - "connectionWithReceivePort:sendPort:", - ); - instancetype _objc_msgSend_590( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer receivePort, - ffi.Pointer sendPort, - ) { - return __objc_msgSend_590(obj, sel, receivePort, sendPort); - } - - late final __objc_msgSend_590Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_590 = __objc_msgSend_590Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_currentConversation1 = objc.registerName( - "currentConversation", - ); - late final _sel_initWithReceivePort_sendPort_1 = objc.registerName( - "initWithReceivePort:sendPort:", - ); - late final _sel_sendPort1 = objc.registerName("sendPort"); - late final _sel_receivePort1 = objc.registerName("receivePort"); - late final _sel_enableMultipleThreads1 = objc.registerName( - "enableMultipleThreads", - ); - late final _sel_multipleThreadsEnabled1 = objc.registerName( - "multipleThreadsEnabled", - ); - late final _sel_addRunLoop_1 = objc.registerName("addRunLoop:"); - void _objc_msgSend_591( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer runloop, - ) { - return __objc_msgSend_591(obj, sel, runloop); - } - - late final __objc_msgSend_591Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_591 = __objc_msgSend_591Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_removeRunLoop_1 = objc.registerName("removeRunLoop:"); - late final _sel_runInNewThread1 = objc.registerName("runInNewThread"); - late final _sel_remoteObjects1 = objc.registerName("remoteObjects"); - late final _sel_localObjects1 = objc.registerName("localObjects"); - late final _sel_dispatchWithComponents_1 = objc.registerName( - "dispatchWithComponents:", - ); - late final _sel_addConnection_toRunLoop_forMode_1 = objc.registerName( - "addConnection:toRunLoop:forMode:", - ); - void _objc_msgSend_592( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer conn, - ffi.Pointer runLoop, - ffi.Pointer mode, - ) { - return __objc_msgSend_592(obj, sel, conn, runLoop, mode); - } - - late final __objc_msgSend_592Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_592 = __objc_msgSend_592Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_removeConnection_fromRunLoop_forMode_1 = objc.registerName( - "removeConnection:fromRunLoop:forMode:", - ); - late final _sel_encodePortObject_1 = objc.registerName("encodePortObject:"); - void _objc_msgSend_593( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aport, - ) { - return __objc_msgSend_593(obj, sel, aport); - } - - late final __objc_msgSend_593Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_593 = __objc_msgSend_593Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_decodePortObject1 = objc.registerName("decodePortObject"); - ffi.Pointer _objc_msgSend_594( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_594(obj, sel); - } - - late final __objc_msgSend_594Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_594 = __objc_msgSend_594Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_connection1 = objc.registerName("connection"); - ffi.Pointer _objc_msgSend_595( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_595(obj, sel); - } - - late final __objc_msgSend_595Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_595 = __objc_msgSend_595Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_portCoderWithReceivePort_sendPort_components_1 = - objc.registerName("portCoderWithReceivePort:sendPort:components:"); - ffi.Pointer _objc_msgSend_596( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer rcvPort, - ffi.Pointer sndPort, - ffi.Pointer comps, - ) { - return __objc_msgSend_596(obj, sel, rcvPort, sndPort, comps); - } - - late final __objc_msgSend_596Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_596 = __objc_msgSend_596Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_initWithReceivePort_sendPort_components_1 = objc.registerName( - "initWithReceivePort:sendPort:components:", - ); - late final _sel_dispatch1 = objc.registerName("dispatch"); - late final _sel_replacementObjectForPortCoder_1 = objc.registerName( - "replacementObjectForPortCoder:", - ); - ffi.Pointer _objc_msgSend_597( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer coder, - ) { - return __objc_msgSend_597(obj, sel, coder); - } - - late final __objc_msgSend_597Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_597 = __objc_msgSend_597Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _class_NSClassDescription1 = objc.getClass("NSClassDescription"); - late final _sel_registerClassDescription_forClass_1 = objc.registerName( - "registerClassDescription:forClass:", - ); - void _objc_msgSend_598( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer description, - ffi.Pointer aClass, - ) { - return __objc_msgSend_598(obj, sel, description, aClass); - } - - late final __objc_msgSend_598Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_598 = __objc_msgSend_598Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_invalidateClassDescriptionCache1 = objc.registerName( - "invalidateClassDescriptionCache", - ); - late final _sel_classDescriptionForClass_1 = objc.registerName( - "classDescriptionForClass:", - ); - ffi.Pointer _objc_msgSend_599( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aClass, - ) { - return __objc_msgSend_599(obj, sel, aClass); - } - - late final __objc_msgSend_599Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_599 = __objc_msgSend_599Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_attributeKeys1 = objc.registerName("attributeKeys"); - late final _sel_toOneRelationshipKeys1 = objc.registerName( - "toOneRelationshipKeys", - ); - late final _sel_toManyRelationshipKeys1 = objc.registerName( - "toManyRelationshipKeys", - ); - late final _sel_inverseForRelationshipKey_1 = objc.registerName( - "inverseForRelationshipKey:", - ); - late final _sel_classDescription1 = objc.registerName("classDescription"); - ffi.Pointer _objc_msgSend_600( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_600(obj, sel); - } - - late final __objc_msgSend_600Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_600 = __objc_msgSend_600Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _class_NSScriptObjectSpecifier1 = objc.getClass( - "NSScriptObjectSpecifier", - ); - late final _class_NSAppleEventDescriptor1 = objc.getClass( - "NSAppleEventDescriptor", - ); - late final _sel_nullDescriptor1 = objc.registerName("nullDescriptor"); - ffi.Pointer _objc_msgSend_601( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_601(obj, sel); - } - - late final __objc_msgSend_601Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_601 = __objc_msgSend_601Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_descriptorWithDescriptorType_bytes_length_1 = - objc.registerName("descriptorWithDescriptorType:bytes:length:"); - ffi.Pointer _objc_msgSend_602( - ffi.Pointer obj, - ffi.Pointer sel, - int descriptorType, - ffi.Pointer bytes, - int byteCount, - ) { - return __objc_msgSend_602(obj, sel, descriptorType, bytes, byteCount); - } - - late final __objc_msgSend_602Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedInt, - ffi.Pointer, - ffi.UnsignedLong, - )>>('objc_msgSend'); - late final __objc_msgSend_602 = __objc_msgSend_602Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - int, - )>(); - - late final _sel_descriptorWithDescriptorType_data_1 = objc.registerName( - "descriptorWithDescriptorType:data:", - ); - ffi.Pointer _objc_msgSend_603( - ffi.Pointer obj, - ffi.Pointer sel, - int descriptorType, - ffi.Pointer data, - ) { - return __objc_msgSend_603(obj, sel, descriptorType, data); - } - - late final __objc_msgSend_603Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedInt, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_603 = __objc_msgSend_603Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - )>(); - - late final _sel_descriptorWithBoolean_1 = objc.registerName( - "descriptorWithBoolean:", - ); - ffi.Pointer _objc_msgSend_604( - ffi.Pointer obj, - ffi.Pointer sel, - int boolean, - ) { - return __objc_msgSend_604(obj, sel, boolean); - } - - late final __objc_msgSend_604Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedChar, - )>>('objc_msgSend'); - late final __objc_msgSend_604 = __objc_msgSend_604Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_descriptorWithEnumCode_1 = objc.registerName( - "descriptorWithEnumCode:", - ); - ffi.Pointer _objc_msgSend_605( - ffi.Pointer obj, - ffi.Pointer sel, - int enumerator, - ) { - return __objc_msgSend_605(obj, sel, enumerator); - } - - late final __objc_msgSend_605Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedInt, - )>>('objc_msgSend'); - late final __objc_msgSend_605 = __objc_msgSend_605Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_descriptorWithInt32_1 = objc.registerName( - "descriptorWithInt32:", - ); - ffi.Pointer _objc_msgSend_606( - ffi.Pointer obj, - ffi.Pointer sel, - int signedInt, - ) { - return __objc_msgSend_606(obj, sel, signedInt); - } - - late final __objc_msgSend_606Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int, - )>>('objc_msgSend'); - late final __objc_msgSend_606 = __objc_msgSend_606Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_descriptorWithDouble_1 = objc.registerName( - "descriptorWithDouble:", - ); - ffi.Pointer _objc_msgSend_607( - ffi.Pointer obj, - ffi.Pointer sel, - double doubleValue, - ) { - return __objc_msgSend_607(obj, sel, doubleValue); - } - - late final __objc_msgSend_607Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Double, - )>>('objc_msgSend'); - late final __objc_msgSend_607 = __objc_msgSend_607Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - double, - )>(); - - late final _sel_descriptorWithTypeCode_1 = objc.registerName( - "descriptorWithTypeCode:", - ); - late final _sel_descriptorWithString_1 = objc.registerName( - "descriptorWithString:", - ); - ffi.Pointer _objc_msgSend_608( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer string, - ) { - return __objc_msgSend_608(obj, sel, string); - } - - late final __objc_msgSend_608Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_608 = __objc_msgSend_608Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_descriptorWithDate_1 = objc.registerName( - "descriptorWithDate:", - ); - ffi.Pointer _objc_msgSend_609( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer date, - ) { - return __objc_msgSend_609(obj, sel, date); - } - - late final __objc_msgSend_609Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_609 = __objc_msgSend_609Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_descriptorWithFileURL_1 = objc.registerName( - "descriptorWithFileURL:", - ); - ffi.Pointer _objc_msgSend_610( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer fileURL, - ) { - return __objc_msgSend_610(obj, sel, fileURL); - } - - late final __objc_msgSend_610Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_610 = __objc_msgSend_610Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_appleEventWithEventClass_eventID_targetDescriptor_returnID_transactionID_1 = - objc.registerName( - "appleEventWithEventClass:eventID:targetDescriptor:returnID:transactionID:", - ); - ffi.Pointer _objc_msgSend_611( - ffi.Pointer obj, - ffi.Pointer sel, - int eventClass, - int eventID, - ffi.Pointer targetDescriptor, - int returnID, - int transactionID, - ) { - return __objc_msgSend_611( - obj, - sel, - eventClass, - eventID, - targetDescriptor, - returnID, - transactionID, - ); - } - - late final __objc_msgSend_611Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedInt, - ffi.UnsignedInt, - ffi.Pointer, - ffi.Short, - ffi.Int, - )>>('objc_msgSend'); - late final __objc_msgSend_611 = __objc_msgSend_611Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - int, - ffi.Pointer, - int, - int, - )>(); - - late final _sel_listDescriptor1 = objc.registerName("listDescriptor"); - late final _sel_recordDescriptor1 = objc.registerName("recordDescriptor"); - late final _sel_currentProcessDescriptor1 = objc.registerName( - "currentProcessDescriptor", - ); - late final _sel_descriptorWithProcessIdentifier_1 = objc.registerName( - "descriptorWithProcessIdentifier:", - ); - late final _sel_descriptorWithBundleIdentifier_1 = objc.registerName( - "descriptorWithBundleIdentifier:", - ); - late final _sel_descriptorWithApplicationURL_1 = objc.registerName( - "descriptorWithApplicationURL:", - ); - late final _sel_initWithAEDescNoCopy_1 = objc.registerName( - "initWithAEDescNoCopy:", - ); - instancetype _objc_msgSend_612( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aeDesc, - ) { - return __objc_msgSend_612(obj, sel, aeDesc); - } - - late final __objc_msgSend_612Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_612 = __objc_msgSend_612Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_initWithDescriptorType_bytes_length_1 = objc.registerName( - "initWithDescriptorType:bytes:length:", - ); - instancetype _objc_msgSend_613( - ffi.Pointer obj, - ffi.Pointer sel, - int descriptorType, - ffi.Pointer bytes, - int byteCount, - ) { - return __objc_msgSend_613(obj, sel, descriptorType, bytes, byteCount); - } - - late final __objc_msgSend_613Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedInt, - ffi.Pointer, - ffi.UnsignedLong, - )>>('objc_msgSend'); - late final __objc_msgSend_613 = __objc_msgSend_613Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - int, - )>(); - - late final _sel_initWithDescriptorType_data_1 = objc.registerName( - "initWithDescriptorType:data:", - ); - instancetype _objc_msgSend_614( - ffi.Pointer obj, - ffi.Pointer sel, - int descriptorType, - ffi.Pointer data, - ) { - return __objc_msgSend_614(obj, sel, descriptorType, data); - } - - late final __objc_msgSend_614Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedInt, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_614 = __objc_msgSend_614Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - )>(); - - late final _sel_initWithEventClass_eventID_targetDescriptor_returnID_transactionID_1 = - objc.registerName( - "initWithEventClass:eventID:targetDescriptor:returnID:transactionID:", - ); - instancetype _objc_msgSend_615( - ffi.Pointer obj, - ffi.Pointer sel, - int eventClass, - int eventID, - ffi.Pointer targetDescriptor, - int returnID, - int transactionID, - ) { - return __objc_msgSend_615( - obj, - sel, - eventClass, - eventID, - targetDescriptor, - returnID, - transactionID, - ); - } - - late final __objc_msgSend_615Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedInt, - ffi.UnsignedInt, - ffi.Pointer, - ffi.Short, - ffi.Int, - )>>('objc_msgSend'); - late final __objc_msgSend_615 = __objc_msgSend_615Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - int, - int, - ffi.Pointer, - int, - int, - )>(); - - late final _sel_initListDescriptor1 = objc.registerName("initListDescriptor"); - late final _sel_initRecordDescriptor1 = objc.registerName( - "initRecordDescriptor", - ); - late final _sel_aeDesc1 = objc.registerName("aeDesc"); - ffi.Pointer _objc_msgSend_616( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_616(obj, sel); - } - - late final __objc_msgSend_616Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_616 = __objc_msgSend_616Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_descriptorType1 = objc.registerName("descriptorType"); - late final _sel_booleanValue1 = objc.registerName("booleanValue"); - late final _sel_enumCodeValue1 = objc.registerName("enumCodeValue"); - late final _sel_int32Value1 = objc.registerName("int32Value"); - late final _sel_typeCodeValue1 = objc.registerName("typeCodeValue"); - late final _sel_dateValue1 = objc.registerName("dateValue"); - late final _sel_fileURLValue1 = objc.registerName("fileURLValue"); - late final _sel_eventClass1 = objc.registerName("eventClass"); - late final _sel_eventID1 = objc.registerName("eventID"); - late final _sel_returnID1 = objc.registerName("returnID"); - late final _sel_transactionID1 = objc.registerName("transactionID"); - late final _sel_setParamDescriptor_forKeyword_1 = objc.registerName( - "setParamDescriptor:forKeyword:", - ); - void _objc_msgSend_617( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer descriptor, - int keyword, - ) { - return __objc_msgSend_617(obj, sel, descriptor, keyword); - } - - late final __objc_msgSend_617Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedInt, - )>>('objc_msgSend'); - late final __objc_msgSend_617 = __objc_msgSend_617Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_paramDescriptorForKeyword_1 = objc.registerName( - "paramDescriptorForKeyword:", - ); - ffi.Pointer _objc_msgSend_618( - ffi.Pointer obj, - ffi.Pointer sel, - int keyword, - ) { - return __objc_msgSend_618(obj, sel, keyword); - } - - late final __objc_msgSend_618Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedInt, - )>>('objc_msgSend'); - late final __objc_msgSend_618 = __objc_msgSend_618Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_removeParamDescriptorWithKeyword_1 = objc.registerName( - "removeParamDescriptorWithKeyword:", - ); - void _objc_msgSend_619( - ffi.Pointer obj, - ffi.Pointer sel, - int keyword, - ) { - return __objc_msgSend_619(obj, sel, keyword); - } - - late final __objc_msgSend_619Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedInt, - )>>('objc_msgSend'); - late final __objc_msgSend_619 = __objc_msgSend_619Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_setAttributeDescriptor_forKeyword_1 = objc.registerName( - "setAttributeDescriptor:forKeyword:", - ); - late final _sel_attributeDescriptorForKeyword_1 = objc.registerName( - "attributeDescriptorForKeyword:", - ); - late final _sel_sendEventWithOptions_timeout_error_1 = objc.registerName( - "sendEventWithOptions:timeout:error:", - ); - ffi.Pointer _objc_msgSend_620( - ffi.Pointer obj, - ffi.Pointer sel, - int sendOptions, - double timeoutInSeconds, - ffi.Pointer> error, - ) { - return __objc_msgSend_620(obj, sel, sendOptions, timeoutInSeconds, error); - } - - late final __objc_msgSend_620Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Double, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_620 = __objc_msgSend_620Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - double, - ffi.Pointer>, - )>(); - - late final _sel_isRecordDescriptor1 = objc.registerName("isRecordDescriptor"); - late final _sel_numberOfItems1 = objc.registerName("numberOfItems"); - late final _sel_insertDescriptor_atIndex_1 = objc.registerName( - "insertDescriptor:atIndex:", - ); - void _objc_msgSend_621( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer descriptor, - int index, - ) { - return __objc_msgSend_621(obj, sel, descriptor, index); - } - - late final __objc_msgSend_621Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Long, - )>>('objc_msgSend'); - late final __objc_msgSend_621 = __objc_msgSend_621Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_descriptorAtIndex_1 = objc.registerName("descriptorAtIndex:"); - ffi.Pointer _objc_msgSend_622( - ffi.Pointer obj, - ffi.Pointer sel, - int index, - ) { - return __objc_msgSend_622(obj, sel, index); - } - - late final __objc_msgSend_622Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Long, - )>>('objc_msgSend'); - late final __objc_msgSend_622 = __objc_msgSend_622Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_removeDescriptorAtIndex_1 = objc.registerName( - "removeDescriptorAtIndex:", - ); - late final _sel_setDescriptor_forKeyword_1 = objc.registerName( - "setDescriptor:forKeyword:", - ); - late final _sel_descriptorForKeyword_1 = objc.registerName( - "descriptorForKeyword:", - ); - late final _sel_removeDescriptorWithKeyword_1 = objc.registerName( - "removeDescriptorWithKeyword:", - ); - late final _sel_keywordForDescriptorAtIndex_1 = objc.registerName( - "keywordForDescriptorAtIndex:", - ); - int _objc_msgSend_623( - ffi.Pointer obj, - ffi.Pointer sel, - int index, - ) { - return __objc_msgSend_623(obj, sel, index); - } - - late final __objc_msgSend_623Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedInt Function( - ffi.Pointer, - ffi.Pointer, - ffi.Long, - )>>('objc_msgSend'); - late final __objc_msgSend_623 = __objc_msgSend_623Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_coerceToDescriptorType_1 = objc.registerName( - "coerceToDescriptorType:", - ); - late final _sel_objectSpecifierWithDescriptor_1 = objc.registerName( - "objectSpecifierWithDescriptor:", - ); - ffi.Pointer _objc_msgSend_624( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer descriptor, - ) { - return __objc_msgSend_624(obj, sel, descriptor); - } - - late final __objc_msgSend_624Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_624 = __objc_msgSend_624Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_initWithContainerSpecifier_key_1 = objc.registerName( - "initWithContainerSpecifier:key:", - ); - instancetype _objc_msgSend_625( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer container, - ffi.Pointer property, - ) { - return __objc_msgSend_625(obj, sel, container, property); - } - - late final __objc_msgSend_625Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_625 = __objc_msgSend_625Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _class_NSScriptClassDescription1 = objc.getClass( - "NSScriptClassDescription", - ); - ffi.Pointer _objc_msgSend_626( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aClass, - ) { - return __objc_msgSend_626(obj, sel, aClass); - } - - late final __objc_msgSend_626Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_626 = __objc_msgSend_626Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_initWithSuiteName_className_dictionary_1 = objc.registerName( - "initWithSuiteName:className:dictionary:", - ); - instancetype _objc_msgSend_627( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer suiteName, - ffi.Pointer className, - ffi.Pointer classDeclaration, - ) { - return __objc_msgSend_627(obj, sel, suiteName, className, classDeclaration); - } - - late final __objc_msgSend_627Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_627 = __objc_msgSend_627Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_suiteName1 = objc.registerName("suiteName"); - late final _sel_className1 = objc.registerName("className"); - late final _sel_implementationClassName1 = objc.registerName( - "implementationClassName", - ); - late final _sel_superclassDescription1 = objc.registerName( - "superclassDescription", - ); - ffi.Pointer _objc_msgSend_628( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_628(obj, sel); - } - - late final __objc_msgSend_628Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_628 = __objc_msgSend_628Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_appleEventCode1 = objc.registerName("appleEventCode"); - late final _sel_matchesAppleEventCode_1 = objc.registerName( - "matchesAppleEventCode:", - ); - late final _class_NSScriptCommandDescription1 = objc.getClass( - "NSScriptCommandDescription", - ); - late final _sel_initWithSuiteName_commandName_dictionary_1 = - objc.registerName("initWithSuiteName:commandName:dictionary:"); - late final _sel_commandName1 = objc.registerName("commandName"); - late final _sel_appleEventClassCode1 = objc.registerName( - "appleEventClassCode", - ); - late final _sel_commandClassName1 = objc.registerName("commandClassName"); - late final _sel_returnType1 = objc.registerName("returnType"); - late final _sel_appleEventCodeForReturnType1 = objc.registerName( - "appleEventCodeForReturnType", - ); - late final _sel_argumentNames1 = objc.registerName("argumentNames"); - late final _sel_typeForArgumentWithName_1 = objc.registerName( - "typeForArgumentWithName:", - ); - late final _sel_appleEventCodeForArgumentWithName_1 = objc.registerName( - "appleEventCodeForArgumentWithName:", - ); - int _objc_msgSend_629( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer argumentName, - ) { - return __objc_msgSend_629(obj, sel, argumentName); - } - - late final __objc_msgSend_629Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedInt Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_629 = __objc_msgSend_629Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_isOptionalArgumentWithName_1 = objc.registerName( - "isOptionalArgumentWithName:", - ); - late final _class_NSScriptCommand1 = objc.getClass("NSScriptCommand"); - late final _sel_initWithCommandDescription_1 = objc.registerName( - "initWithCommandDescription:", - ); - instancetype _objc_msgSend_630( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer commandDef, - ) { - return __objc_msgSend_630(obj, sel, commandDef); - } - - late final __objc_msgSend_630Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_630 = __objc_msgSend_630Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_commandDescription1 = objc.registerName("commandDescription"); - ffi.Pointer _objc_msgSend_631( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_631(obj, sel); - } - - late final __objc_msgSend_631Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_631 = __objc_msgSend_631Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_directParameter1 = objc.registerName("directParameter"); - late final _sel_setDirectParameter_1 = objc.registerName( - "setDirectParameter:", - ); - late final _sel_receiversSpecifier1 = objc.registerName("receiversSpecifier"); - ffi.Pointer _objc_msgSend_632( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_632(obj, sel); - } - - late final __objc_msgSend_632Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_632 = __objc_msgSend_632Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_setReceiversSpecifier_1 = objc.registerName( - "setReceiversSpecifier:", - ); - void _objc_msgSend_633( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, - ) { - return __objc_msgSend_633(obj, sel, value); - } - - late final __objc_msgSend_633Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_633 = __objc_msgSend_633Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_evaluatedReceivers1 = objc.registerName("evaluatedReceivers"); - late final _sel_arguments1 = objc.registerName("arguments"); - late final _sel_setArguments_1 = objc.registerName("setArguments:"); - void _objc_msgSend_634( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, - ) { - return __objc_msgSend_634(obj, sel, value); - } - - late final __objc_msgSend_634Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_634 = __objc_msgSend_634Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_evaluatedArguments1 = objc.registerName("evaluatedArguments"); - late final _sel_isWellFormed1 = objc.registerName("isWellFormed"); - late final _sel_performDefaultImplementation1 = objc.registerName( - "performDefaultImplementation", - ); - late final _sel_executeCommand1 = objc.registerName("executeCommand"); - late final _sel_scriptErrorNumber1 = objc.registerName("scriptErrorNumber"); - late final _sel_setScriptErrorNumber_1 = objc.registerName( - "setScriptErrorNumber:", - ); - void _objc_msgSend_635( - ffi.Pointer obj, - ffi.Pointer sel, - int value, - ) { - return __objc_msgSend_635(obj, sel, value); - } - - late final __objc_msgSend_635Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Long, - )>>('objc_msgSend'); - late final __objc_msgSend_635 = __objc_msgSend_635Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_scriptErrorOffendingObjectDescriptor1 = objc.registerName( - "scriptErrorOffendingObjectDescriptor", - ); - ffi.Pointer _objc_msgSend_636( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_636(obj, sel); - } - - late final __objc_msgSend_636Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_636 = __objc_msgSend_636Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_setScriptErrorOffendingObjectDescriptor_1 = objc.registerName( - "setScriptErrorOffendingObjectDescriptor:", - ); - void _objc_msgSend_637( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, - ) { - return __objc_msgSend_637(obj, sel, value); - } - - late final __objc_msgSend_637Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_637 = __objc_msgSend_637Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_scriptErrorExpectedTypeDescriptor1 = objc.registerName( - "scriptErrorExpectedTypeDescriptor", - ); - late final _sel_setScriptErrorExpectedTypeDescriptor_1 = objc.registerName( - "setScriptErrorExpectedTypeDescriptor:", - ); - late final _sel_scriptErrorString1 = objc.registerName("scriptErrorString"); - late final _sel_setScriptErrorString_1 = objc.registerName( - "setScriptErrorString:", - ); - late final _sel_currentCommand1 = objc.registerName("currentCommand"); - ffi.Pointer _objc_msgSend_638( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_638(obj, sel); - } - - late final __objc_msgSend_638Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_638 = __objc_msgSend_638Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_appleEvent1 = objc.registerName("appleEvent"); - late final _sel_suspendExecution1 = objc.registerName("suspendExecution"); - late final _sel_resumeExecutionWithResult_1 = objc.registerName( - "resumeExecutionWithResult:", - ); - late final _sel_createCommandInstance1 = objc.registerName( - "createCommandInstance", - ); - ffi.Pointer _objc_msgSend_639( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_639(obj, sel); - } - - late final __objc_msgSend_639Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_639 = __objc_msgSend_639Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_createCommandInstanceWithZone_1 = objc.registerName( - "createCommandInstanceWithZone:", - ); - ffi.Pointer _objc_msgSend_640( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer<_NSZone> zone, - ) { - return __objc_msgSend_640(obj, sel, zone); - } - - late final __objc_msgSend_640Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_NSZone>, - )>>('objc_msgSend'); - late final __objc_msgSend_640 = __objc_msgSend_640Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_NSZone>, - )>(); - - late final _sel_supportsCommand_1 = objc.registerName("supportsCommand:"); - bool _objc_msgSend_641( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer commandDescription, - ) { - return __objc_msgSend_641(obj, sel, commandDescription); - } - - late final __objc_msgSend_641Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_641 = __objc_msgSend_641Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_selectorForCommand_1 = objc.registerName( - "selectorForCommand:", - ); - ffi.Pointer _objc_msgSend_642( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer commandDescription, - ) { - return __objc_msgSend_642(obj, sel, commandDescription); - } - - late final __objc_msgSend_642Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_642 = __objc_msgSend_642Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_typeForKey_1 = objc.registerName("typeForKey:"); - late final _sel_classDescriptionForKey_1 = objc.registerName( - "classDescriptionForKey:", - ); - ffi.Pointer _objc_msgSend_643( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer key, - ) { - return __objc_msgSend_643(obj, sel, key); - } - - late final __objc_msgSend_643Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_643 = __objc_msgSend_643Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_appleEventCodeForKey_1 = objc.registerName( - "appleEventCodeForKey:", - ); - late final _sel_keyWithAppleEventCode_1 = objc.registerName( - "keyWithAppleEventCode:", - ); - ffi.Pointer _objc_msgSend_644( - ffi.Pointer obj, - ffi.Pointer sel, - int appleEventCode, - ) { - return __objc_msgSend_644(obj, sel, appleEventCode); - } - - late final __objc_msgSend_644Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedInt, - )>>('objc_msgSend'); - late final __objc_msgSend_644 = __objc_msgSend_644Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_defaultSubcontainerAttributeKey1 = objc.registerName( - "defaultSubcontainerAttributeKey", - ); - late final _sel_isLocationRequiredToCreateForKey_1 = objc.registerName( - "isLocationRequiredToCreateForKey:", - ); - late final _sel_hasPropertyForKey_1 = objc.registerName("hasPropertyForKey:"); - late final _sel_hasOrderedToManyRelationshipForKey_1 = objc.registerName( - "hasOrderedToManyRelationshipForKey:", - ); - late final _sel_hasReadablePropertyForKey_1 = objc.registerName( - "hasReadablePropertyForKey:", - ); - late final _sel_hasWritablePropertyForKey_1 = objc.registerName( - "hasWritablePropertyForKey:", - ); - late final _sel_isReadOnlyKey_1 = objc.registerName("isReadOnlyKey:"); - late final _sel_initWithContainerClassDescription_containerSpecifier_key_1 = - objc.registerName( - "initWithContainerClassDescription:containerSpecifier:key:", - ); - instancetype _objc_msgSend_645( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer classDesc, - ffi.Pointer container, - ffi.Pointer property, - ) { - return __objc_msgSend_645(obj, sel, classDesc, container, property); - } - - late final __objc_msgSend_645Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_645 = __objc_msgSend_645Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_childSpecifier1 = objc.registerName("childSpecifier"); - late final _sel_setChildSpecifier_1 = objc.registerName("setChildSpecifier:"); - late final _sel_containerSpecifier1 = objc.registerName("containerSpecifier"); - late final _sel_setContainerSpecifier_1 = objc.registerName( - "setContainerSpecifier:", - ); - late final _sel_containerIsObjectBeingTested1 = objc.registerName( - "containerIsObjectBeingTested", - ); - late final _sel_setContainerIsObjectBeingTested_1 = objc.registerName( - "setContainerIsObjectBeingTested:", - ); - late final _sel_containerIsRangeContainerObject1 = objc.registerName( - "containerIsRangeContainerObject", - ); - late final _sel_setContainerIsRangeContainerObject_1 = objc.registerName( - "setContainerIsRangeContainerObject:", - ); - late final _sel_key1 = objc.registerName("key"); - late final _sel_setKey_1 = objc.registerName("setKey:"); - void _objc_msgSend_646( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, - ) { - return __objc_msgSend_646(obj, sel, value); - } - - late final __objc_msgSend_646Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_646 = __objc_msgSend_646Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_containerClassDescription1 = objc.registerName( - "containerClassDescription", - ); - late final _sel_setContainerClassDescription_1 = objc.registerName( - "setContainerClassDescription:", - ); - void _objc_msgSend_647( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, - ) { - return __objc_msgSend_647(obj, sel, value); - } - - late final __objc_msgSend_647Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_647 = __objc_msgSend_647Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_keyClassDescription1 = objc.registerName( - "keyClassDescription", - ); - late final _sel_indicesOfObjectsByEvaluatingWithContainer_count_1 = - objc.registerName("indicesOfObjectsByEvaluatingWithContainer:count:"); - ffi.Pointer _objc_msgSend_648( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer container, - ffi.Pointer count, - ) { - return __objc_msgSend_648(obj, sel, container, count); - } - - late final __objc_msgSend_648Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_648 = __objc_msgSend_648Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_objectsByEvaluatingWithContainers_1 = objc.registerName( - "objectsByEvaluatingWithContainers:", - ); - late final _sel_objectsByEvaluatingSpecifier1 = objc.registerName( - "objectsByEvaluatingSpecifier", - ); - late final _sel_evaluationErrorNumber1 = objc.registerName( - "evaluationErrorNumber", - ); - late final _sel_setEvaluationErrorNumber_1 = objc.registerName( - "setEvaluationErrorNumber:", - ); - late final _sel_evaluationErrorSpecifier1 = objc.registerName( - "evaluationErrorSpecifier", - ); - late final _sel_descriptor1 = objc.registerName("descriptor"); - late final _sel_scriptingValueForSpecifier_1 = objc.registerName( - "scriptingValueForSpecifier:", - ); - ffi.Pointer _objc_msgSend_649( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer objectSpecifier, - ) { - return __objc_msgSend_649(obj, sel, objectSpecifier); - } - - late final __objc_msgSend_649Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_649 = __objc_msgSend_649Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_scriptingProperties1 = objc.registerName( - "scriptingProperties", - ); - late final _sel_setScriptingProperties_1 = objc.registerName( - "setScriptingProperties:", - ); - late final _sel_copyScriptingValue_forKey_withProperties_1 = - objc.registerName("copyScriptingValue:forKey:withProperties:"); - ffi.Pointer _objc_msgSend_650( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, - ffi.Pointer key, - ffi.Pointer properties, - ) { - return __objc_msgSend_650(obj, sel, value, key, properties); - } - - late final __objc_msgSend_650Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_650 = __objc_msgSend_650Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_newScriptingObjectOfClass_forValueForKey_withContentsValue_properties_1 = - objc.registerName( - "newScriptingObjectOfClass:forValueForKey:withContentsValue:properties:", - ); - ffi.Pointer _objc_msgSend_651( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer objectClass, - ffi.Pointer key, - ffi.Pointer contentsValue, - ffi.Pointer properties, - ) { - return __objc_msgSend_651( - obj, - sel, - objectClass, - key, - contentsValue, - properties, - ); - } - - late final __objc_msgSend_651Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_651 = __objc_msgSend_651Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_classCode1 = objc.registerName("classCode"); - late final _sel_valueAtIndex_inPropertyWithKey_1 = objc.registerName( - "valueAtIndex:inPropertyWithKey:", - ); - ffi.Pointer _objc_msgSend_652( - ffi.Pointer obj, - ffi.Pointer sel, - int index, - ffi.Pointer key, - ) { - return __objc_msgSend_652(obj, sel, index, key); - } - - late final __objc_msgSend_652Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_652 = __objc_msgSend_652Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - )>(); - - late final _sel_valueWithName_inPropertyWithKey_1 = objc.registerName( - "valueWithName:inPropertyWithKey:", - ); - late final _sel_valueWithUniqueID_inPropertyWithKey_1 = objc.registerName( - "valueWithUniqueID:inPropertyWithKey:", - ); - late final _sel_insertValue_atIndex_inPropertyWithKey_1 = objc.registerName( - "insertValue:atIndex:inPropertyWithKey:", - ); - void _objc_msgSend_653( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, - int index, - ffi.Pointer key, - ) { - return __objc_msgSend_653(obj, sel, value, index, key); - } - - late final __objc_msgSend_653Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_653 = __objc_msgSend_653Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - )>(); - - late final _sel_removeValueAtIndex_fromPropertyWithKey_1 = objc.registerName( - "removeValueAtIndex:fromPropertyWithKey:", - ); - void _objc_msgSend_654( - ffi.Pointer obj, - ffi.Pointer sel, - int index, - ffi.Pointer key, - ) { - return __objc_msgSend_654(obj, sel, index, key); - } - - late final __objc_msgSend_654Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_654 = __objc_msgSend_654Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - )>(); - - late final _sel_replaceValueAtIndex_inPropertyWithKey_withValue_1 = - objc.registerName("replaceValueAtIndex:inPropertyWithKey:withValue:"); - void _objc_msgSend_655( - ffi.Pointer obj, - ffi.Pointer sel, - int index, - ffi.Pointer key, - ffi.Pointer value, - ) { - return __objc_msgSend_655(obj, sel, index, key, value); - } - - late final __objc_msgSend_655Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_655 = __objc_msgSend_655Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_insertValue_inPropertyWithKey_1 = objc.registerName( - "insertValue:inPropertyWithKey:", - ); - void _objc_msgSend_656( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, - ffi.Pointer key, - ) { - return __objc_msgSend_656(obj, sel, value, key); - } - - late final __objc_msgSend_656Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_656 = __objc_msgSend_656Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_coerceValue_forKey_1 = objc.registerName( - "coerceValue:forKey:", - ); - ffi.Pointer _objc_msgSend_657( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, - ffi.Pointer key, - ) { - return __objc_msgSend_657(obj, sel, value, key); - } - - late final __objc_msgSend_657Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_657 = __objc_msgSend_657Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_objectSpecifier1 = objc.registerName("objectSpecifier"); - late final _sel_indicesOfObjectsByEvaluatingObjectSpecifier_1 = - objc.registerName("indicesOfObjectsByEvaluatingObjectSpecifier:"); - ffi.Pointer _objc_msgSend_658( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer specifier, - ) { - return __objc_msgSend_658(obj, sel, specifier); - } - - late final __objc_msgSend_658Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_658 = __objc_msgSend_658Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_isEqualTo_1 = objc.registerName("isEqualTo:"); - late final _sel_isLessThanOrEqualTo_1 = objc.registerName( - "isLessThanOrEqualTo:", - ); - late final _sel_isLessThan_1 = objc.registerName("isLessThan:"); - late final _sel_isGreaterThanOrEqualTo_1 = objc.registerName( - "isGreaterThanOrEqualTo:", - ); - late final _sel_isGreaterThan_1 = objc.registerName("isGreaterThan:"); - late final _sel_isNotEqualTo_1 = objc.registerName("isNotEqualTo:"); - late final _sel_doesContain_1 = objc.registerName("doesContain:"); - late final _sel_isLike_1 = objc.registerName("isLike:"); - late final _sel_isCaseInsensitiveLike_1 = objc.registerName( - "isCaseInsensitiveLike:", - ); - late final _sel_scriptingIsEqualTo_1 = objc.registerName( - "scriptingIsEqualTo:", - ); - late final _sel_scriptingIsLessThanOrEqualTo_1 = objc.registerName( - "scriptingIsLessThanOrEqualTo:", - ); - late final _sel_scriptingIsLessThan_1 = objc.registerName( - "scriptingIsLessThan:", - ); - late final _sel_scriptingIsGreaterThanOrEqualTo_1 = objc.registerName( - "scriptingIsGreaterThanOrEqualTo:", - ); - late final _sel_scriptingIsGreaterThan_1 = objc.registerName( - "scriptingIsGreaterThan:", - ); - late final _sel_scriptingBeginsWith_1 = objc.registerName( - "scriptingBeginsWith:", - ); - late final _sel_scriptingEndsWith_1 = objc.registerName("scriptingEndsWith:"); - late final _sel_scriptingContains_1 = objc.registerName("scriptingContains:"); - late final _class_NSItemProvider1 = objc.getClass("NSItemProvider"); - late final _class_NSProgress1 = objc.getClass("NSProgress"); - late final _sel_currentProgress1 = objc.registerName("currentProgress"); - ffi.Pointer _objc_msgSend_659( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_659(obj, sel); - } - - late final __objc_msgSend_659Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_659 = __objc_msgSend_659Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_progressWithTotalUnitCount_1 = objc.registerName( - "progressWithTotalUnitCount:", - ); - ffi.Pointer _objc_msgSend_660( - ffi.Pointer obj, - ffi.Pointer sel, - int unitCount, - ) { - return __objc_msgSend_660(obj, sel, unitCount); - } - - late final __objc_msgSend_660Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int64, - )>>('objc_msgSend'); - late final __objc_msgSend_660 = __objc_msgSend_660Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_discreteProgressWithTotalUnitCount_1 = objc.registerName( - "discreteProgressWithTotalUnitCount:", - ); - late final _sel_progressWithTotalUnitCount_parent_pendingUnitCount_1 = - objc.registerName("progressWithTotalUnitCount:parent:pendingUnitCount:"); - ffi.Pointer _objc_msgSend_661( - ffi.Pointer obj, - ffi.Pointer sel, - int unitCount, - ffi.Pointer parent, - int portionOfParentTotalUnitCount, - ) { - return __objc_msgSend_661( - obj, - sel, - unitCount, - parent, - portionOfParentTotalUnitCount, - ); - } - - late final __objc_msgSend_661Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int64, - ffi.Pointer, - ffi.Int64, - )>>('objc_msgSend'); - late final __objc_msgSend_661 = __objc_msgSend_661Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - int, - )>(); - - late final _sel_initWithParent_userInfo_1 = objc.registerName( - "initWithParent:userInfo:", - ); - instancetype _objc_msgSend_662( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer parentProgressOrNil, - ffi.Pointer userInfoOrNil, - ) { - return __objc_msgSend_662(obj, sel, parentProgressOrNil, userInfoOrNil); - } - - late final __objc_msgSend_662Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_662 = __objc_msgSend_662Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_becomeCurrentWithPendingUnitCount_1 = objc.registerName( - "becomeCurrentWithPendingUnitCount:", - ); - void _objc_msgSend_663( - ffi.Pointer obj, - ffi.Pointer sel, - int unitCount, - ) { - return __objc_msgSend_663(obj, sel, unitCount); - } - - late final __objc_msgSend_663Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int64, - )>>('objc_msgSend'); - late final __objc_msgSend_663 = __objc_msgSend_663Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_performAsCurrentWithPendingUnitCount_usingBlock_1 = - objc.registerName("performAsCurrentWithPendingUnitCount:usingBlock:"); - void _objc_msgSend_664( - ffi.Pointer obj, - ffi.Pointer sel, - int unitCount, - ffi.Pointer work, - ) { - return __objc_msgSend_664(obj, sel, unitCount, work); - } - - late final __objc_msgSend_664Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int64, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_664 = __objc_msgSend_664Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - )>(); - - late final _sel_resignCurrent1 = objc.registerName("resignCurrent"); - late final _sel_addChild_withPendingUnitCount_1 = objc.registerName( - "addChild:withPendingUnitCount:", - ); - void _objc_msgSend_665( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer child, - int inUnitCount, - ) { - return __objc_msgSend_665(obj, sel, child, inUnitCount); - } - - late final __objc_msgSend_665Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int64, - )>>('objc_msgSend'); - late final __objc_msgSend_665 = __objc_msgSend_665Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_totalUnitCount1 = objc.registerName("totalUnitCount"); - int _objc_msgSend_666( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_666(obj, sel); - } - - late final __objc_msgSend_666Ptr = _lookup< - ffi.NativeFunction< - ffi.Int64 Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_666 = __objc_msgSend_666Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_setTotalUnitCount_1 = objc.registerName("setTotalUnitCount:"); - void _objc_msgSend_667( - ffi.Pointer obj, - ffi.Pointer sel, - int value, - ) { - return __objc_msgSend_667(obj, sel, value); - } - - late final __objc_msgSend_667Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int64, - )>>('objc_msgSend'); - late final __objc_msgSend_667 = __objc_msgSend_667Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_completedUnitCount1 = objc.registerName("completedUnitCount"); - late final _sel_setCompletedUnitCount_1 = objc.registerName( - "setCompletedUnitCount:", - ); - late final _sel_setLocalizedDescription_1 = objc.registerName( - "setLocalizedDescription:", - ); - late final _sel_localizedAdditionalDescription1 = objc.registerName( - "localizedAdditionalDescription", - ); - late final _sel_setLocalizedAdditionalDescription_1 = objc.registerName( - "setLocalizedAdditionalDescription:", - ); - late final _sel_isCancellable1 = objc.registerName("isCancellable"); - late final _sel_setCancellable_1 = objc.registerName("setCancellable:"); - late final _sel_isPausable1 = objc.registerName("isPausable"); - late final _sel_setPausable_1 = objc.registerName("setPausable:"); - late final _sel_isPaused1 = objc.registerName("isPaused"); - late final _sel_cancellationHandler1 = objc.registerName( - "cancellationHandler", - ); - ffi.Pointer _objc_msgSend_668( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_668(obj, sel); - } - - late final __objc_msgSend_668Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_668 = __objc_msgSend_668Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_setCancellationHandler_1 = objc.registerName( - "setCancellationHandler:", - ); - void _objc_msgSend_669( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, - ) { - return __objc_msgSend_669(obj, sel, value); - } - - late final __objc_msgSend_669Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_669 = __objc_msgSend_669Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_pausingHandler1 = objc.registerName("pausingHandler"); - late final _sel_setPausingHandler_1 = objc.registerName("setPausingHandler:"); - late final _sel_resumingHandler1 = objc.registerName("resumingHandler"); - late final _sel_setResumingHandler_1 = objc.registerName( - "setResumingHandler:", - ); - late final _sel_setUserInfoObject_forKey_1 = objc.registerName( - "setUserInfoObject:forKey:", - ); - late final _sel_isIndeterminate1 = objc.registerName("isIndeterminate"); - late final _sel_fractionCompleted1 = objc.registerName("fractionCompleted"); - late final _sel_pause1 = objc.registerName("pause"); - late final _sel_resume1 = objc.registerName("resume"); - late final _sel_kind1 = objc.registerName("kind"); - late final _sel_setKind_1 = objc.registerName("setKind:"); - late final _sel_estimatedTimeRemaining1 = objc.registerName( - "estimatedTimeRemaining", - ); - late final _sel_setEstimatedTimeRemaining_1 = objc.registerName( - "setEstimatedTimeRemaining:", - ); - void _objc_msgSend_670( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, - ) { - return __objc_msgSend_670(obj, sel, value); - } - - late final __objc_msgSend_670Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_670 = __objc_msgSend_670Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_throughput1 = objc.registerName("throughput"); - late final _sel_setThroughput_1 = objc.registerName("setThroughput:"); - late final _sel_fileOperationKind1 = objc.registerName("fileOperationKind"); - late final _sel_setFileOperationKind_1 = objc.registerName( - "setFileOperationKind:", - ); - late final _sel_fileURL1 = objc.registerName("fileURL"); - late final _sel_setFileURL_1 = objc.registerName("setFileURL:"); - void _objc_msgSend_671( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, - ) { - return __objc_msgSend_671(obj, sel, value); - } - - late final __objc_msgSend_671Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_671 = __objc_msgSend_671Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_fileTotalCount1 = objc.registerName("fileTotalCount"); - late final _sel_setFileTotalCount_1 = objc.registerName("setFileTotalCount:"); - late final _sel_fileCompletedCount1 = objc.registerName("fileCompletedCount"); - late final _sel_setFileCompletedCount_1 = objc.registerName( - "setFileCompletedCount:", - ); - late final _sel_publish1 = objc.registerName("publish"); - late final _sel_unpublish1 = objc.registerName("unpublish"); - late final _sel_addSubscriberForFileURL_withPublishingHandler_1 = - objc.registerName("addSubscriberForFileURL:withPublishingHandler:"); - ffi.Pointer _objc_msgSend_672( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, - ffi.Pointer publishingHandler, - ) { - return __objc_msgSend_672(obj, sel, url, publishingHandler); - } - - late final __objc_msgSend_672Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_672 = __objc_msgSend_672Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_removeSubscriber_1 = objc.registerName("removeSubscriber:"); - late final _sel_isOld1 = objc.registerName("isOld"); - late final _sel_registerDataRepresentationForTypeIdentifier_visibility_loadHandler_1 = - objc.registerName( - "registerDataRepresentationForTypeIdentifier:visibility:loadHandler:", - ); - void _objc_msgSend_673( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer typeIdentifier, - int visibility, - ffi.Pointer loadHandler, - ) { - return __objc_msgSend_673( - obj, - sel, - typeIdentifier, - visibility, - loadHandler, - ); - } - - late final __objc_msgSend_673Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_673 = __objc_msgSend_673Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - )>(); - - late final _sel_registerFileRepresentationForTypeIdentifier_fileOptions_visibility_loadHandler_1 = - objc.registerName( - "registerFileRepresentationForTypeIdentifier:fileOptions:visibility:loadHandler:", - ); - void _objc_msgSend_674( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer typeIdentifier, - int fileOptions, - int visibility, - ffi.Pointer loadHandler, - ) { - return __objc_msgSend_674( - obj, - sel, - typeIdentifier, - fileOptions, - visibility, - loadHandler, - ); - } - - late final __objc_msgSend_674Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Int32, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_674 = __objc_msgSend_674Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - int, - ffi.Pointer, - )>(); - - late final _sel_registeredTypeIdentifiers1 = objc.registerName( - "registeredTypeIdentifiers", - ); - late final _sel_registeredTypeIdentifiersWithFileOptions_1 = - objc.registerName("registeredTypeIdentifiersWithFileOptions:"); - ffi.Pointer _objc_msgSend_675( - ffi.Pointer obj, - ffi.Pointer sel, - int fileOptions, - ) { - return __objc_msgSend_675(obj, sel, fileOptions); - } - - late final __objc_msgSend_675Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - )>>('objc_msgSend'); - late final __objc_msgSend_675 = __objc_msgSend_675Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_hasItemConformingToTypeIdentifier_1 = objc.registerName( - "hasItemConformingToTypeIdentifier:", - ); - late final _sel_hasRepresentationConformingToTypeIdentifier_fileOptions_1 = - objc.registerName( - "hasRepresentationConformingToTypeIdentifier:fileOptions:", - ); - bool _objc_msgSend_676( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer typeIdentifier, - int fileOptions, - ) { - return __objc_msgSend_676(obj, sel, typeIdentifier, fileOptions); - } - - late final __objc_msgSend_676Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - )>>('objc_msgSend'); - late final __objc_msgSend_676 = __objc_msgSend_676Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_loadDataRepresentationForTypeIdentifier_completionHandler_1 = - objc.registerName( - "loadDataRepresentationForTypeIdentifier:completionHandler:", - ); - ffi.Pointer _objc_msgSend_677( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer typeIdentifier, - ffi.Pointer completionHandler, - ) { - return __objc_msgSend_677(obj, sel, typeIdentifier, completionHandler); - } - - late final __objc_msgSend_677Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_677 = __objc_msgSend_677Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_loadFileRepresentationForTypeIdentifier_completionHandler_1 = - objc.registerName( - "loadFileRepresentationForTypeIdentifier:completionHandler:", - ); - ffi.Pointer _objc_msgSend_678( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer typeIdentifier, - ffi.Pointer completionHandler, - ) { - return __objc_msgSend_678(obj, sel, typeIdentifier, completionHandler); - } - - late final __objc_msgSend_678Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_678 = __objc_msgSend_678Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_loadInPlaceFileRepresentationForTypeIdentifier_completionHandler_1 = - objc.registerName( - "loadInPlaceFileRepresentationForTypeIdentifier:completionHandler:", - ); - ffi.Pointer _objc_msgSend_679( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer typeIdentifier, - ffi.Pointer completionHandler, - ) { - return __objc_msgSend_679(obj, sel, typeIdentifier, completionHandler); - } - - late final __objc_msgSend_679Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_679 = __objc_msgSend_679Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_suggestedName1 = objc.registerName("suggestedName"); - late final _sel_setSuggestedName_1 = objc.registerName("setSuggestedName:"); - late final _sel_registerObject_visibility_1 = objc.registerName( - "registerObject:visibility:", - ); - void _objc_msgSend_680( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer object, - int visibility, - ) { - return __objc_msgSend_680(obj, sel, object, visibility); - } - - late final __objc_msgSend_680Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - )>>('objc_msgSend'); - late final __objc_msgSend_680 = __objc_msgSend_680Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_registerObjectOfClass_visibility_loadHandler_1 = - objc.registerName("registerObjectOfClass:visibility:loadHandler:"); - void _objc_msgSend_681( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aClass, - int visibility, - ffi.Pointer loadHandler, - ) { - return __objc_msgSend_681(obj, sel, aClass, visibility, loadHandler); - } - - late final __objc_msgSend_681Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_681 = __objc_msgSend_681Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - )>(); - - late final _sel_canLoadObjectOfClass_1 = objc.registerName( - "canLoadObjectOfClass:", - ); - late final _sel_loadObjectOfClass_completionHandler_1 = objc.registerName( - "loadObjectOfClass:completionHandler:", - ); - ffi.Pointer _objc_msgSend_682( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aClass, - ffi.Pointer completionHandler, - ) { - return __objc_msgSend_682(obj, sel, aClass, completionHandler); - } - - late final __objc_msgSend_682Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_682 = __objc_msgSend_682Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_initWithItem_typeIdentifier_1 = objc.registerName( - "initWithItem:typeIdentifier:", - ); - instancetype _objc_msgSend_683( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer item, - ffi.Pointer typeIdentifier, - ) { - return __objc_msgSend_683(obj, sel, item, typeIdentifier); - } - - late final __objc_msgSend_683Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_683 = __objc_msgSend_683Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_registerItemForTypeIdentifier_loadHandler_1 = - objc.registerName("registerItemForTypeIdentifier:loadHandler:"); - void _objc_msgSend_684( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer typeIdentifier, - ffi.Pointer loadHandler, - ) { - return __objc_msgSend_684(obj, sel, typeIdentifier, loadHandler); - } - - late final __objc_msgSend_684Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_684 = __objc_msgSend_684Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_loadItemForTypeIdentifier_options_completionHandler_1 = - objc.registerName("loadItemForTypeIdentifier:options:completionHandler:"); - void _objc_msgSend_685( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer typeIdentifier, - ffi.Pointer options, - ffi.Pointer completionHandler, - ) { - return __objc_msgSend_685( - obj, - sel, - typeIdentifier, - options, - completionHandler, - ); - } - - late final __objc_msgSend_685Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_685 = __objc_msgSend_685Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_previewImageHandler1 = objc.registerName( - "previewImageHandler", - ); - ffi.Pointer _objc_msgSend_686( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_686(obj, sel); - } - - late final __objc_msgSend_686Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_686 = __objc_msgSend_686Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_setPreviewImageHandler_1 = objc.registerName( - "setPreviewImageHandler:", - ); - void _objc_msgSend_687( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, - ) { - return __objc_msgSend_687(obj, sel, value); - } - - late final __objc_msgSend_687Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_687 = __objc_msgSend_687Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_loadPreviewImageWithOptions_completionHandler_1 = - objc.registerName("loadPreviewImageWithOptions:completionHandler:"); - void _objc_msgSend_688( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer options, - ffi.Pointer completionHandler, - ) { - return __objc_msgSend_688(obj, sel, options, completionHandler); - } - - late final __objc_msgSend_688Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_688 = __objc_msgSend_688Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _class_NSMutableString1 = objc.getClass("NSMutableString"); - late final _sel_replaceCharactersInRange_withString_1 = objc.registerName( - "replaceCharactersInRange:withString:", - ); - void _objc_msgSend_689( - ffi.Pointer obj, - ffi.Pointer sel, - _NSRange range, - ffi.Pointer aString, - ) { - return __objc_msgSend_689(obj, sel, range, aString); - } - - late final __objc_msgSend_689Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_689 = __objc_msgSend_689Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - )>(); - - late final _sel_insertString_atIndex_1 = objc.registerName( - "insertString:atIndex:", - ); - void _objc_msgSend_690( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aString, - int loc, - ) { - return __objc_msgSend_690(obj, sel, aString, loc); - } - - late final __objc_msgSend_690Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - )>>('objc_msgSend'); - late final __objc_msgSend_690 = __objc_msgSend_690Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_deleteCharactersInRange_1 = objc.registerName( - "deleteCharactersInRange:", - ); - late final _sel_appendString_1 = objc.registerName("appendString:"); - late final _sel_appendFormat_1 = objc.registerName("appendFormat:"); - late final _sel_setString_1 = objc.registerName("setString:"); - late final _sel_replaceOccurrencesOfString_withString_options_range_1 = - objc.registerName("replaceOccurrencesOfString:withString:options:range:"); - int _objc_msgSend_691( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer target, - ffi.Pointer replacement, - int options, - _NSRange searchRange, - ) { - return __objc_msgSend_691( - obj, - sel, - target, - replacement, - options, - searchRange, - ); - } - - late final __objc_msgSend_691Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - _NSRange, - )>>('objc_msgSend'); - late final __objc_msgSend_691 = __objc_msgSend_691Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - _NSRange, - )>(); - - late final _sel_applyTransform_reverse_range_updatedRange_1 = - objc.registerName("applyTransform:reverse:range:updatedRange:"); - bool _objc_msgSend_692( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer transform, - bool reverse, - _NSRange range, - ffi.Pointer<_NSRange> resultingRange, - ) { - return __objc_msgSend_692( - obj, - sel, - transform, - reverse, - range, - resultingRange, - ); - } - - late final __objc_msgSend_692Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - _NSRange, - ffi.Pointer<_NSRange>, - )>>('objc_msgSend'); - late final __objc_msgSend_692 = __objc_msgSend_692Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - _NSRange, - ffi.Pointer<_NSRange>, - )>(); - - ffi.Pointer _objc_msgSend_693( - ffi.Pointer obj, - ffi.Pointer sel, - int capacity, - ) { - return __objc_msgSend_693(obj, sel, capacity); - } - - late final __objc_msgSend_693Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - )>>('objc_msgSend'); - late final __objc_msgSend_693 = __objc_msgSend_693Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_stringWithCapacity_1 = objc.registerName( - "stringWithCapacity:", - ); - late final _class_NSNotification1 = objc.getClass("NSNotification"); - late final _sel_object1 = objc.registerName("object"); - late final _sel_initWithName_object_userInfo_1 = objc.registerName( - "initWithName:object:userInfo:", - ); - instancetype _objc_msgSend_694( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer name, - ffi.Pointer object, - ffi.Pointer userInfo, - ) { - return __objc_msgSend_694(obj, sel, name, object, userInfo); - } - - late final __objc_msgSend_694Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_694 = __objc_msgSend_694Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_notificationWithName_object_1 = objc.registerName( - "notificationWithName:object:", - ); - late final _sel_notificationWithName_object_userInfo_1 = objc.registerName( - "notificationWithName:object:userInfo:", - ); - late final _class_NSBundle1 = objc.getClass("NSBundle"); - late final _sel_mainBundle1 = objc.registerName("mainBundle"); - ffi.Pointer _objc_msgSend_695( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_695(obj, sel); - } - - late final __objc_msgSend_695Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_695 = __objc_msgSend_695Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_bundleWithPath_1 = objc.registerName("bundleWithPath:"); - late final _sel_initWithPath_1 = objc.registerName("initWithPath:"); - late final _sel_bundleWithURL_1 = objc.registerName("bundleWithURL:"); - late final _sel_initWithURL_1 = objc.registerName("initWithURL:"); - late final _sel_bundleForClass_1 = objc.registerName("bundleForClass:"); - ffi.Pointer _objc_msgSend_696( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aClass, - ) { - return __objc_msgSend_696(obj, sel, aClass); - } - - late final __objc_msgSend_696Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_696 = __objc_msgSend_696Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_bundleWithIdentifier_1 = objc.registerName( - "bundleWithIdentifier:", - ); - ffi.Pointer _objc_msgSend_697( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer identifier, - ) { - return __objc_msgSend_697(obj, sel, identifier); - } - - late final __objc_msgSend_697Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_697 = __objc_msgSend_697Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_allBundles1 = objc.registerName("allBundles"); - late final _sel_allFrameworks1 = objc.registerName("allFrameworks"); - late final _sel_isLoaded1 = objc.registerName("isLoaded"); - late final _sel_unload1 = objc.registerName("unload"); - late final _sel_preflightAndReturnError_1 = objc.registerName( - "preflightAndReturnError:", - ); - late final _sel_loadAndReturnError_1 = objc.registerName( - "loadAndReturnError:", - ); - late final _sel_bundleURL1 = objc.registerName("bundleURL"); - late final _sel_resourceURL1 = objc.registerName("resourceURL"); - late final _sel_executableURL1 = objc.registerName("executableURL"); - late final _sel_URLForAuxiliaryExecutable_1 = objc.registerName( - "URLForAuxiliaryExecutable:", - ); - late final _sel_privateFrameworksURL1 = objc.registerName( - "privateFrameworksURL", - ); - late final _sel_sharedFrameworksURL1 = objc.registerName( - "sharedFrameworksURL", - ); - late final _sel_sharedSupportURL1 = objc.registerName("sharedSupportURL"); - late final _sel_builtInPlugInsURL1 = objc.registerName("builtInPlugInsURL"); - late final _sel_appStoreReceiptURL1 = objc.registerName("appStoreReceiptURL"); - late final _sel_bundlePath1 = objc.registerName("bundlePath"); - late final _sel_resourcePath1 = objc.registerName("resourcePath"); - late final _sel_executablePath1 = objc.registerName("executablePath"); - late final _sel_pathForAuxiliaryExecutable_1 = objc.registerName( - "pathForAuxiliaryExecutable:", - ); - late final _sel_privateFrameworksPath1 = objc.registerName( - "privateFrameworksPath", - ); - late final _sel_sharedFrameworksPath1 = objc.registerName( - "sharedFrameworksPath", - ); - late final _sel_sharedSupportPath1 = objc.registerName("sharedSupportPath"); - late final _sel_builtInPlugInsPath1 = objc.registerName("builtInPlugInsPath"); - late final _sel_URLForResource_withExtension_subdirectory_inBundleWithURL_1 = - objc.registerName( - "URLForResource:withExtension:subdirectory:inBundleWithURL:", - ); - ffi.Pointer _objc_msgSend_698( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer name, - ffi.Pointer ext, - ffi.Pointer subpath, - ffi.Pointer bundleURL, - ) { - return __objc_msgSend_698(obj, sel, name, ext, subpath, bundleURL); - } - - late final __objc_msgSend_698Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_698 = __objc_msgSend_698Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_URLsForResourcesWithExtension_subdirectory_inBundleWithURL_1 = - objc.registerName( - "URLsForResourcesWithExtension:subdirectory:inBundleWithURL:", - ); - ffi.Pointer _objc_msgSend_699( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer ext, - ffi.Pointer subpath, - ffi.Pointer bundleURL, - ) { - return __objc_msgSend_699(obj, sel, ext, subpath, bundleURL); - } - - late final __objc_msgSend_699Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_699 = __objc_msgSend_699Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_URLForResource_withExtension_1 = objc.registerName( - "URLForResource:withExtension:", - ); - ffi.Pointer _objc_msgSend_700( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer name, - ffi.Pointer ext, - ) { - return __objc_msgSend_700(obj, sel, name, ext); - } - - late final __objc_msgSend_700Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_700 = __objc_msgSend_700Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_URLForResource_withExtension_subdirectory_1 = - objc.registerName("URLForResource:withExtension:subdirectory:"); - ffi.Pointer _objc_msgSend_701( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer name, - ffi.Pointer ext, - ffi.Pointer subpath, - ) { - return __objc_msgSend_701(obj, sel, name, ext, subpath); - } - - late final __objc_msgSend_701Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_701 = __objc_msgSend_701Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_URLForResource_withExtension_subdirectory_localization_1 = - objc.registerName( - "URLForResource:withExtension:subdirectory:localization:", - ); - ffi.Pointer _objc_msgSend_702( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer name, - ffi.Pointer ext, - ffi.Pointer subpath, - ffi.Pointer localizationName, - ) { - return __objc_msgSend_702(obj, sel, name, ext, subpath, localizationName); - } - - late final __objc_msgSend_702Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_702 = __objc_msgSend_702Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_URLsForResourcesWithExtension_subdirectory_1 = - objc.registerName("URLsForResourcesWithExtension:subdirectory:"); - ffi.Pointer _objc_msgSend_703( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer ext, - ffi.Pointer subpath, - ) { - return __objc_msgSend_703(obj, sel, ext, subpath); - } - - late final __objc_msgSend_703Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_703 = __objc_msgSend_703Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_URLsForResourcesWithExtension_subdirectory_localization_1 = - objc.registerName( - "URLsForResourcesWithExtension:subdirectory:localization:", - ); - ffi.Pointer _objc_msgSend_704( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer ext, - ffi.Pointer subpath, - ffi.Pointer localizationName, - ) { - return __objc_msgSend_704(obj, sel, ext, subpath, localizationName); - } - - late final __objc_msgSend_704Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_704 = __objc_msgSend_704Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_pathForResource_ofType_inDirectory_1 = objc.registerName( - "pathForResource:ofType:inDirectory:", - ); - ffi.Pointer _objc_msgSend_705( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer name, - ffi.Pointer ext, - ffi.Pointer bundlePath, - ) { - return __objc_msgSend_705(obj, sel, name, ext, bundlePath); - } - - late final __objc_msgSend_705Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_705 = __objc_msgSend_705Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_pathsForResourcesOfType_inDirectory_1 = objc.registerName( - "pathsForResourcesOfType:inDirectory:", - ); - ffi.Pointer _objc_msgSend_706( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer ext, - ffi.Pointer bundlePath, - ) { - return __objc_msgSend_706(obj, sel, ext, bundlePath); - } - - late final __objc_msgSend_706Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_706 = __objc_msgSend_706Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_pathForResource_ofType_1 = objc.registerName( - "pathForResource:ofType:", - ); - ffi.Pointer _objc_msgSend_707( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer name, - ffi.Pointer ext, - ) { - return __objc_msgSend_707(obj, sel, name, ext); - } - - late final __objc_msgSend_707Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_707 = __objc_msgSend_707Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_pathForResource_ofType_inDirectory_forLocalization_1 = - objc.registerName("pathForResource:ofType:inDirectory:forLocalization:"); - ffi.Pointer _objc_msgSend_708( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer name, - ffi.Pointer ext, - ffi.Pointer subpath, - ffi.Pointer localizationName, - ) { - return __objc_msgSend_708(obj, sel, name, ext, subpath, localizationName); - } - - late final __objc_msgSend_708Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_708 = __objc_msgSend_708Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_pathsForResourcesOfType_inDirectory_forLocalization_1 = - objc.registerName("pathsForResourcesOfType:inDirectory:forLocalization:"); - ffi.Pointer _objc_msgSend_709( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer ext, - ffi.Pointer subpath, - ffi.Pointer localizationName, - ) { - return __objc_msgSend_709(obj, sel, ext, subpath, localizationName); - } - - late final __objc_msgSend_709Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_709 = __objc_msgSend_709Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_localizedStringForKey_value_table_1 = objc.registerName( - "localizedStringForKey:value:table:", - ); - ffi.Pointer _objc_msgSend_710( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer key, - ffi.Pointer value, - ffi.Pointer tableName, - ) { - return __objc_msgSend_710(obj, sel, key, value, tableName); - } - - late final __objc_msgSend_710Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_710 = __objc_msgSend_710Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _class_NSAttributedString1 = objc.getClass("NSAttributedString"); - late final _sel_attributesAtIndex_effectiveRange_1 = objc.registerName( - "attributesAtIndex:effectiveRange:", - ); - ffi.Pointer _objc_msgSend_711( - ffi.Pointer obj, - ffi.Pointer sel, - int location, - ffi.Pointer<_NSRange> range, - ) { - return __objc_msgSend_711(obj, sel, location, range); - } - - late final __objc_msgSend_711Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer<_NSRange>, - )>>('objc_msgSend'); - late final __objc_msgSend_711 = __objc_msgSend_711Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer<_NSRange>, - )>(); - - late final _sel_attribute_atIndex_effectiveRange_1 = objc.registerName( - "attribute:atIndex:effectiveRange:", - ); - ffi.Pointer _objc_msgSend_712( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer attrName, - int location, - ffi.Pointer<_NSRange> range, - ) { - return __objc_msgSend_712(obj, sel, attrName, location, range); - } - - late final __objc_msgSend_712Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer<_NSRange>, - )>>('objc_msgSend'); - late final __objc_msgSend_712 = __objc_msgSend_712Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer<_NSRange>, - )>(); - - late final _sel_attributedSubstringFromRange_1 = objc.registerName( - "attributedSubstringFromRange:", - ); - ffi.Pointer _objc_msgSend_713( - ffi.Pointer obj, - ffi.Pointer sel, - _NSRange range, - ) { - return __objc_msgSend_713(obj, sel, range); - } - - late final __objc_msgSend_713Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - )>>('objc_msgSend'); - late final __objc_msgSend_713 = __objc_msgSend_713Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - )>(); - - late final _sel_attributesAtIndex_longestEffectiveRange_inRange_1 = - objc.registerName("attributesAtIndex:longestEffectiveRange:inRange:"); - ffi.Pointer _objc_msgSend_714( - ffi.Pointer obj, - ffi.Pointer sel, - int location, - ffi.Pointer<_NSRange> range, - _NSRange rangeLimit, - ) { - return __objc_msgSend_714(obj, sel, location, range, rangeLimit); - } - - late final __objc_msgSend_714Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer<_NSRange>, - _NSRange, - )>>('objc_msgSend'); - late final __objc_msgSend_714 = __objc_msgSend_714Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer<_NSRange>, - _NSRange, - )>(); - - late final _sel_attribute_atIndex_longestEffectiveRange_inRange_1 = - objc.registerName("attribute:atIndex:longestEffectiveRange:inRange:"); - ffi.Pointer _objc_msgSend_715( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer attrName, - int location, - ffi.Pointer<_NSRange> range, - _NSRange rangeLimit, - ) { - return __objc_msgSend_715(obj, sel, attrName, location, range, rangeLimit); - } - - late final __objc_msgSend_715Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer<_NSRange>, - _NSRange, - )>>('objc_msgSend'); - late final __objc_msgSend_715 = __objc_msgSend_715Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer<_NSRange>, - _NSRange, - )>(); - - late final _sel_isEqualToAttributedString_1 = objc.registerName( - "isEqualToAttributedString:", - ); - bool _objc_msgSend_716( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer other, - ) { - return __objc_msgSend_716(obj, sel, other); - } - - late final __objc_msgSend_716Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_716 = __objc_msgSend_716Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_initWithString_attributes_1 = objc.registerName( - "initWithString:attributes:", - ); - instancetype _objc_msgSend_717( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer str, - ffi.Pointer attrs, - ) { - return __objc_msgSend_717(obj, sel, str, attrs); - } - - late final __objc_msgSend_717Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_717 = __objc_msgSend_717Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_initWithAttributedString_1 = objc.registerName( - "initWithAttributedString:", - ); - instancetype _objc_msgSend_718( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer attrStr, - ) { - return __objc_msgSend_718(obj, sel, attrStr); - } - - late final __objc_msgSend_718Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_718 = __objc_msgSend_718Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_enumerateAttributesInRange_options_usingBlock_1 = - objc.registerName("enumerateAttributesInRange:options:usingBlock:"); - void _objc_msgSend_719( - ffi.Pointer obj, - ffi.Pointer sel, - _NSRange enumerationRange, - int opts, - ffi.Pointer block, - ) { - return __objc_msgSend_719(obj, sel, enumerationRange, opts, block); - } - - late final __objc_msgSend_719Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Int32, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_719 = __objc_msgSend_719Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - int, - ffi.Pointer, - )>(); - - late final _sel_enumerateAttribute_inRange_options_usingBlock_1 = - objc.registerName("enumerateAttribute:inRange:options:usingBlock:"); - void _objc_msgSend_720( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer attrName, - _NSRange enumerationRange, - int opts, - ffi.Pointer block, - ) { - return __objc_msgSend_720( - obj, - sel, - attrName, - enumerationRange, - opts, - block, - ); - } - - late final __objc_msgSend_720Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Int32, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_720 = __objc_msgSend_720Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - _NSRange, - int, - ffi.Pointer, - )>(); - - late final _class_NSAttributedStringMarkdownParsingOptions1 = objc.getClass( - "NSAttributedStringMarkdownParsingOptions", - ); - late final _sel_allowsExtendedAttributes1 = objc.registerName( - "allowsExtendedAttributes", - ); - late final _sel_setAllowsExtendedAttributes_1 = objc.registerName( - "setAllowsExtendedAttributes:", - ); - late final _sel_interpretedSyntax1 = objc.registerName("interpretedSyntax"); - int _objc_msgSend_721( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_721(obj, sel); - } - - late final __objc_msgSend_721Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_721 = __objc_msgSend_721Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_setInterpretedSyntax_1 = objc.registerName( - "setInterpretedSyntax:", - ); - void _objc_msgSend_722( - ffi.Pointer obj, - ffi.Pointer sel, - int value, - ) { - return __objc_msgSend_722(obj, sel, value); - } - - late final __objc_msgSend_722Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - )>>('objc_msgSend'); - late final __objc_msgSend_722 = __objc_msgSend_722Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_failurePolicy1 = objc.registerName("failurePolicy"); - int _objc_msgSend_723( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_723(obj, sel); - } - - late final __objc_msgSend_723Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_723 = __objc_msgSend_723Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_setFailurePolicy_1 = objc.registerName("setFailurePolicy:"); - void _objc_msgSend_724( - ffi.Pointer obj, - ffi.Pointer sel, - int value, - ) { - return __objc_msgSend_724(obj, sel, value); - } - - late final __objc_msgSend_724Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - )>>('objc_msgSend'); - late final __objc_msgSend_724 = __objc_msgSend_724Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_setLanguageCode_1 = objc.registerName("setLanguageCode:"); - late final _sel_appliesSourcePositionAttributes1 = objc.registerName( - "appliesSourcePositionAttributes", - ); - late final _sel_setAppliesSourcePositionAttributes_1 = objc.registerName( - "setAppliesSourcePositionAttributes:", - ); - late final _sel_initWithContentsOfMarkdownFileAtURL_options_baseURL_error_1 = - objc.registerName( - "initWithContentsOfMarkdownFileAtURL:options:baseURL:error:", - ); - instancetype _objc_msgSend_725( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer markdownFile, - ffi.Pointer options, - ffi.Pointer baseURL, - ffi.Pointer> error, - ) { - return __objc_msgSend_725(obj, sel, markdownFile, options, baseURL, error); - } - - late final __objc_msgSend_725Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_725 = __objc_msgSend_725Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>(); - - late final _sel_initWithMarkdown_options_baseURL_error_1 = objc.registerName( - "initWithMarkdown:options:baseURL:error:", - ); - instancetype _objc_msgSend_726( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer markdown, - ffi.Pointer options, - ffi.Pointer baseURL, - ffi.Pointer> error, - ) { - return __objc_msgSend_726(obj, sel, markdown, options, baseURL, error); - } - - late final __objc_msgSend_726Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_726 = __objc_msgSend_726Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>(); - - late final _sel_initWithMarkdownString_options_baseURL_error_1 = - objc.registerName("initWithMarkdownString:options:baseURL:error:"); - instancetype _objc_msgSend_727( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer markdownString, - ffi.Pointer options, - ffi.Pointer baseURL, - ffi.Pointer> error, - ) { - return __objc_msgSend_727( - obj, - sel, - markdownString, - options, - baseURL, - error, - ); - } - - late final __objc_msgSend_727Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_727 = __objc_msgSend_727Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>(); - - late final _sel_initWithFormat_options_locale_1 = objc.registerName( - "initWithFormat:options:locale:", - ); - instancetype _objc_msgSend_728( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer format, - int options, - ffi.Pointer locale, - ) { - return __objc_msgSend_728(obj, sel, format, options, locale); - } - - late final __objc_msgSend_728Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_728 = __objc_msgSend_728Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - )>(); - - late final _sel_initWithFormat_options_locale_arguments_1 = objc.registerName( - "initWithFormat:options:locale:arguments:", - ); - instancetype _objc_msgSend_729( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer format, - int options, - ffi.Pointer locale, - ffi.Pointer<__va_list_tag> arguments, - ) { - return __objc_msgSend_729(obj, sel, format, options, locale, arguments); - } - - late final __objc_msgSend_729Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer, - ffi.Pointer<__va_list_tag>, - )>>('objc_msgSend'); - late final __objc_msgSend_729 = __objc_msgSend_729Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ffi.Pointer<__va_list_tag>, - )>(); - - late final _sel_localizedAttributedStringWithFormat_1 = objc.registerName( - "localizedAttributedStringWithFormat:", - ); - late final _sel_localizedAttributedStringWithFormat_options_1 = - objc.registerName("localizedAttributedStringWithFormat:options:"); - instancetype _objc_msgSend_730( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer format, - int options, - ) { - return __objc_msgSend_730(obj, sel, format, options); - } - - late final __objc_msgSend_730Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - )>>('objc_msgSend'); - late final __objc_msgSend_730 = __objc_msgSend_730Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_initWithFormat_options_locale_context_1 = objc.registerName( - "initWithFormat:options:locale:context:", - ); - instancetype _objc_msgSend_731( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer format, - int options, - ffi.Pointer locale, - ffi.Pointer context, - ) { - return __objc_msgSend_731(obj, sel, format, options, locale, context); - } - - late final __objc_msgSend_731Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_731 = __objc_msgSend_731Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_initWithFormat_options_locale_context_arguments_1 = - objc.registerName("initWithFormat:options:locale:context:arguments:"); - instancetype _objc_msgSend_732( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer format, - int options, - ffi.Pointer locale, - ffi.Pointer context, - ffi.Pointer<__va_list_tag> arguments, - ) { - return __objc_msgSend_732( - obj, - sel, - format, - options, - locale, - context, - arguments, - ); - } - - late final __objc_msgSend_732Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<__va_list_tag>, - )>>('objc_msgSend'); - late final __objc_msgSend_732 = __objc_msgSend_732Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<__va_list_tag>, - )>(); - - late final _sel_localizedAttributedStringWithFormat_context_1 = - objc.registerName("localizedAttributedStringWithFormat:context:"); - instancetype _objc_msgSend_733( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer format, - ffi.Pointer context, - ) { - return __objc_msgSend_733(obj, sel, format, context); - } - - late final __objc_msgSend_733Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_733 = __objc_msgSend_733Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_localizedAttributedStringWithFormat_options_context_1 = - objc.registerName("localizedAttributedStringWithFormat:options:context:"); - instancetype _objc_msgSend_734( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer format, - int options, - ffi.Pointer context, - ) { - return __objc_msgSend_734(obj, sel, format, options, context); - } - - late final __objc_msgSend_734Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_734 = __objc_msgSend_734Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - )>(); - - late final _sel_attributedStringByInflectingString1 = objc.registerName( - "attributedStringByInflectingString", - ); - ffi.Pointer _objc_msgSend_735( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_735(obj, sel); - } - - late final __objc_msgSend_735Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_735 = __objc_msgSend_735Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_localizedAttributedStringForKey_value_table_1 = - objc.registerName("localizedAttributedStringForKey:value:table:"); - ffi.Pointer _objc_msgSend_736( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer key, - ffi.Pointer value, - ffi.Pointer tableName, - ) { - return __objc_msgSend_736(obj, sel, key, value, tableName); - } - - late final __objc_msgSend_736Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_736 = __objc_msgSend_736Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_bundleIdentifier1 = objc.registerName("bundleIdentifier"); - late final _sel_infoDictionary1 = objc.registerName("infoDictionary"); - late final _sel_localizedInfoDictionary1 = objc.registerName( - "localizedInfoDictionary", - ); - late final _sel_objectForInfoDictionaryKey_1 = objc.registerName( - "objectForInfoDictionaryKey:", - ); - late final _sel_classNamed_1 = objc.registerName("classNamed:"); - late final _sel_principalClass1 = objc.registerName("principalClass"); - late final _sel_preferredLocalizations1 = objc.registerName( - "preferredLocalizations", - ); - late final _sel_localizations1 = objc.registerName("localizations"); - late final _sel_developmentLocalization1 = objc.registerName( - "developmentLocalization", - ); - late final _sel_preferredLocalizationsFromArray_1 = objc.registerName( - "preferredLocalizationsFromArray:", - ); - late final _sel_preferredLocalizationsFromArray_forPreferences_1 = - objc.registerName("preferredLocalizationsFromArray:forPreferences:"); - ffi.Pointer _objc_msgSend_737( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer localizationsArray, - ffi.Pointer preferencesArray, - ) { - return __objc_msgSend_737(obj, sel, localizationsArray, preferencesArray); - } - - late final __objc_msgSend_737Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_737 = __objc_msgSend_737Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_executableArchitectures1 = objc.registerName( - "executableArchitectures", - ); - late final _sel_setPreservationPriority_forTags_1 = objc.registerName( - "setPreservationPriority:forTags:", - ); - void _objc_msgSend_738( - ffi.Pointer obj, - ffi.Pointer sel, - double priority, - ffi.Pointer tags, - ) { - return __objc_msgSend_738(obj, sel, priority, tags); - } - - late final __objc_msgSend_738Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Double, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_738 = __objc_msgSend_738Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - double, - ffi.Pointer, - )>(); - - late final _sel_preservationPriorityForTag_1 = objc.registerName( - "preservationPriorityForTag:", - ); - late final _class_NSMutableAttributedString1 = objc.getClass( - "NSMutableAttributedString", - ); - late final _sel_setAttributes_range_1 = objc.registerName( - "setAttributes:range:", - ); - void _objc_msgSend_739( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer attrs, - _NSRange range, - ) { - return __objc_msgSend_739(obj, sel, attrs, range); - } - - late final __objc_msgSend_739Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - _NSRange, - )>>('objc_msgSend'); - late final __objc_msgSend_739 = __objc_msgSend_739Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - _NSRange, - )>(); - - late final _sel_mutableString1 = objc.registerName("mutableString"); - ffi.Pointer _objc_msgSend_740( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_740(obj, sel); - } - - late final __objc_msgSend_740Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_740 = __objc_msgSend_740Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_addAttribute_value_range_1 = objc.registerName( - "addAttribute:value:range:", - ); - void _objc_msgSend_741( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer name, - ffi.Pointer value, - _NSRange range, - ) { - return __objc_msgSend_741(obj, sel, name, value, range); - } - - late final __objc_msgSend_741Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - _NSRange, - )>>('objc_msgSend'); - late final __objc_msgSend_741 = __objc_msgSend_741Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - _NSRange, - )>(); - - late final _sel_addAttributes_range_1 = objc.registerName( - "addAttributes:range:", - ); - void _objc_msgSend_742( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer attrs, - _NSRange range, - ) { - return __objc_msgSend_742(obj, sel, attrs, range); - } - - late final __objc_msgSend_742Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - _NSRange, - )>>('objc_msgSend'); - late final __objc_msgSend_742 = __objc_msgSend_742Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - _NSRange, - )>(); - - late final _sel_removeAttribute_range_1 = objc.registerName( - "removeAttribute:range:", - ); - void _objc_msgSend_743( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer name, - _NSRange range, - ) { - return __objc_msgSend_743(obj, sel, name, range); - } - - late final __objc_msgSend_743Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - _NSRange, - )>>('objc_msgSend'); - late final __objc_msgSend_743 = __objc_msgSend_743Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - _NSRange, - )>(); - - late final _sel_replaceCharactersInRange_withAttributedString_1 = - objc.registerName("replaceCharactersInRange:withAttributedString:"); - void _objc_msgSend_744( - ffi.Pointer obj, - ffi.Pointer sel, - _NSRange range, - ffi.Pointer attrString, - ) { - return __objc_msgSend_744(obj, sel, range, attrString); - } - - late final __objc_msgSend_744Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_744 = __objc_msgSend_744Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - )>(); - - late final _sel_insertAttributedString_atIndex_1 = objc.registerName( - "insertAttributedString:atIndex:", - ); - void _objc_msgSend_745( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer attrString, - int loc, - ) { - return __objc_msgSend_745(obj, sel, attrString, loc); - } - - late final __objc_msgSend_745Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - )>>('objc_msgSend'); - late final __objc_msgSend_745 = __objc_msgSend_745Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_appendAttributedString_1 = objc.registerName( - "appendAttributedString:", - ); - void _objc_msgSend_746( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer attrString, - ) { - return __objc_msgSend_746(obj, sel, attrString); - } - - late final __objc_msgSend_746Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_746 = __objc_msgSend_746Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_setAttributedString_1 = objc.registerName( - "setAttributedString:", - ); - late final _sel_beginEditing1 = objc.registerName("beginEditing"); - late final _sel_endEditing1 = objc.registerName("endEditing"); - late final _sel_appendLocalizedFormat_1 = objc.registerName( - "appendLocalizedFormat:", - ); - late final _class_NSDateFormatter1 = objc.getClass("NSDateFormatter"); - late final _class_NSFormatter1 = objc.getClass("NSFormatter"); - late final _sel_stringForObjectValue_1 = objc.registerName( - "stringForObjectValue:", - ); - ffi.Pointer _objc_msgSend_747( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer obj1, - ) { - return __objc_msgSend_747(obj, sel, obj1); - } - - late final __objc_msgSend_747Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_747 = __objc_msgSend_747Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_attributedStringForObjectValue_withDefaultAttributes_1 = objc - .registerName("attributedStringForObjectValue:withDefaultAttributes:"); - ffi.Pointer _objc_msgSend_748( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer obj1, - ffi.Pointer attrs, - ) { - return __objc_msgSend_748(obj, sel, obj1, attrs); - } - - late final __objc_msgSend_748Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_748 = __objc_msgSend_748Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_editingStringForObjectValue_1 = objc.registerName( - "editingStringForObjectValue:", - ); - late final _sel_getObjectValue_forString_errorDescription_1 = - objc.registerName("getObjectValue:forString:errorDescription:"); - bool _objc_msgSend_749( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer> obj1, - ffi.Pointer string, - ffi.Pointer> error, - ) { - return __objc_msgSend_749(obj, sel, obj1, string, error); - } - - late final __objc_msgSend_749Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_749 = __objc_msgSend_749Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer, - ffi.Pointer>, - )>(); - - late final _sel_isPartialStringValid_newEditingString_errorDescription_1 = - objc.registerName( - "isPartialStringValid:newEditingString:errorDescription:", - ); - bool _objc_msgSend_750( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer partialString, - ffi.Pointer> newString, - ffi.Pointer> error, - ) { - return __objc_msgSend_750(obj, sel, partialString, newString, error); - } - - late final __objc_msgSend_750Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_750 = __objc_msgSend_750Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer>, - )>(); - - late final _sel_isPartialStringValid_proposedSelectedRange_originalString_originalSelectedRange_errorDescription_1 = - objc.registerName( - "isPartialStringValid:proposedSelectedRange:originalString:originalSelectedRange:errorDescription:", - ); - bool _objc_msgSend_751( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer> partialStringPtr, - ffi.Pointer<_NSRange> proposedSelRangePtr, - ffi.Pointer origString, - _NSRange origSelRange, - ffi.Pointer> error, - ) { - return __objc_msgSend_751( - obj, - sel, - partialStringPtr, - proposedSelRangePtr, - origString, - origSelRange, - error, - ); - } - - late final __objc_msgSend_751Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer<_NSRange>, - ffi.Pointer, - _NSRange, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_751 = __objc_msgSend_751Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer<_NSRange>, - ffi.Pointer, - _NSRange, - ffi.Pointer>, - )>(); - - late final _sel_formattingContext1 = objc.registerName("formattingContext"); - int _objc_msgSend_752( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_752(obj, sel); - } - - late final __objc_msgSend_752Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_752 = __objc_msgSend_752Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_setFormattingContext_1 = objc.registerName( - "setFormattingContext:", - ); - void _objc_msgSend_753( - ffi.Pointer obj, - ffi.Pointer sel, - int value, - ) { - return __objc_msgSend_753(obj, sel, value); - } - - late final __objc_msgSend_753Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - )>>('objc_msgSend'); - late final __objc_msgSend_753 = __objc_msgSend_753Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_getObjectValue_forString_range_error_1 = objc.registerName( - "getObjectValue:forString:range:error:", - ); - bool _objc_msgSend_754( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer> obj1, - ffi.Pointer string, - ffi.Pointer<_NSRange> rangep, - ffi.Pointer> error, - ) { - return __objc_msgSend_754(obj, sel, obj1, string, rangep, error); - } - - late final __objc_msgSend_754Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer, - ffi.Pointer<_NSRange>, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_754 = __objc_msgSend_754Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer, - ffi.Pointer<_NSRange>, - ffi.Pointer>, - )>(); - - late final _sel_stringFromDate_1 = objc.registerName("stringFromDate:"); - ffi.Pointer _objc_msgSend_755( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer date, - ) { - return __objc_msgSend_755(obj, sel, date); - } - - late final __objc_msgSend_755Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_755 = __objc_msgSend_755Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_dateFromString_1 = objc.registerName("dateFromString:"); - late final _sel_localizedStringFromDate_dateStyle_timeStyle_1 = - objc.registerName("localizedStringFromDate:dateStyle:timeStyle:"); - ffi.Pointer _objc_msgSend_756( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer date, - int dstyle, - int tstyle, - ) { - return __objc_msgSend_756(obj, sel, date, dstyle, tstyle); - } - - late final __objc_msgSend_756Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Int32, - )>>('objc_msgSend'); - late final __objc_msgSend_756 = __objc_msgSend_756Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - int, - )>(); - - late final _sel_dateFormatFromTemplate_options_locale_1 = objc.registerName( - "dateFormatFromTemplate:options:locale:", - ); - ffi.Pointer _objc_msgSend_757( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer tmplate, - int opts, - ffi.Pointer locale, - ) { - return __objc_msgSend_757(obj, sel, tmplate, opts, locale); - } - - late final __objc_msgSend_757Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_757 = __objc_msgSend_757Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - )>(); - - late final _sel_defaultFormatterBehavior1 = objc.registerName( - "defaultFormatterBehavior", - ); - int _objc_msgSend_758( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_758(obj, sel); - } - - late final __objc_msgSend_758Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_758 = __objc_msgSend_758Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_setDefaultFormatterBehavior_1 = objc.registerName( - "setDefaultFormatterBehavior:", - ); - void _objc_msgSend_759( - ffi.Pointer obj, - ffi.Pointer sel, - int value, - ) { - return __objc_msgSend_759(obj, sel, value); - } - - late final __objc_msgSend_759Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - )>>('objc_msgSend'); - late final __objc_msgSend_759 = __objc_msgSend_759Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_setLocalizedDateFormatFromTemplate_1 = objc.registerName( - "setLocalizedDateFormatFromTemplate:", - ); - late final _sel_dateFormat1 = objc.registerName("dateFormat"); - late final _sel_setDateFormat_1 = objc.registerName("setDateFormat:"); - late final _sel_dateStyle1 = objc.registerName("dateStyle"); - int _objc_msgSend_760( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_760(obj, sel); - } - - late final __objc_msgSend_760Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_760 = __objc_msgSend_760Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_setDateStyle_1 = objc.registerName("setDateStyle:"); - void _objc_msgSend_761( - ffi.Pointer obj, - ffi.Pointer sel, - int value, - ) { - return __objc_msgSend_761(obj, sel, value); - } - - late final __objc_msgSend_761Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - )>>('objc_msgSend'); - late final __objc_msgSend_761 = __objc_msgSend_761Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_timeStyle1 = objc.registerName("timeStyle"); - late final _sel_setTimeStyle_1 = objc.registerName("setTimeStyle:"); - late final _sel_locale1 = objc.registerName("locale"); - late final _sel_setLocale_1 = objc.registerName("setLocale:"); - void _objc_msgSend_762( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, - ) { - return __objc_msgSend_762(obj, sel, value); - } - - late final __objc_msgSend_762Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_762 = __objc_msgSend_762Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_generatesCalendarDates1 = objc.registerName( - "generatesCalendarDates", - ); - late final _sel_setGeneratesCalendarDates_1 = objc.registerName( - "setGeneratesCalendarDates:", - ); - late final _sel_formatterBehavior1 = objc.registerName("formatterBehavior"); - late final _sel_setFormatterBehavior_1 = objc.registerName( - "setFormatterBehavior:", - ); - late final _class_NSCalendar1 = objc.getClass("NSCalendar"); - late final _sel_currentCalendar1 = objc.registerName("currentCalendar"); - ffi.Pointer _objc_msgSend_763( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_763(obj, sel); - } - - late final __objc_msgSend_763Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_763 = __objc_msgSend_763Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_autoupdatingCurrentCalendar1 = objc.registerName( - "autoupdatingCurrentCalendar", - ); - late final _sel_calendarWithIdentifier_1 = objc.registerName( - "calendarWithIdentifier:", - ); - ffi.Pointer _objc_msgSend_764( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer calendarIdentifierConstant, - ) { - return __objc_msgSend_764(obj, sel, calendarIdentifierConstant); - } - - late final __objc_msgSend_764Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_764 = __objc_msgSend_764Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_initWithCalendarIdentifier_1 = objc.registerName( - "initWithCalendarIdentifier:", - ); - ffi.Pointer _objc_msgSend_765( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_765(obj, sel); - } - - late final __objc_msgSend_765Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_765 = __objc_msgSend_765Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - void _objc_msgSend_766( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, - ) { - return __objc_msgSend_766(obj, sel, value); - } - - late final __objc_msgSend_766Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_766 = __objc_msgSend_766Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_firstWeekday1 = objc.registerName("firstWeekday"); - late final _sel_setFirstWeekday_1 = objc.registerName("setFirstWeekday:"); - late final _sel_minimumDaysInFirstWeek1 = objc.registerName( - "minimumDaysInFirstWeek", - ); - late final _sel_setMinimumDaysInFirstWeek_1 = objc.registerName( - "setMinimumDaysInFirstWeek:", - ); - late final _sel_eraSymbols1 = objc.registerName("eraSymbols"); - late final _sel_longEraSymbols1 = objc.registerName("longEraSymbols"); - late final _sel_monthSymbols1 = objc.registerName("monthSymbols"); - late final _sel_shortMonthSymbols1 = objc.registerName("shortMonthSymbols"); - late final _sel_veryShortMonthSymbols1 = objc.registerName( - "veryShortMonthSymbols", - ); - late final _sel_standaloneMonthSymbols1 = objc.registerName( - "standaloneMonthSymbols", - ); - late final _sel_shortStandaloneMonthSymbols1 = objc.registerName( - "shortStandaloneMonthSymbols", - ); - late final _sel_veryShortStandaloneMonthSymbols1 = objc.registerName( - "veryShortStandaloneMonthSymbols", - ); - late final _sel_weekdaySymbols1 = objc.registerName("weekdaySymbols"); - late final _sel_shortWeekdaySymbols1 = objc.registerName( - "shortWeekdaySymbols", - ); - late final _sel_veryShortWeekdaySymbols1 = objc.registerName( - "veryShortWeekdaySymbols", - ); - late final _sel_standaloneWeekdaySymbols1 = objc.registerName( - "standaloneWeekdaySymbols", - ); - late final _sel_shortStandaloneWeekdaySymbols1 = objc.registerName( - "shortStandaloneWeekdaySymbols", - ); - late final _sel_veryShortStandaloneWeekdaySymbols1 = objc.registerName( - "veryShortStandaloneWeekdaySymbols", - ); - late final _sel_quarterSymbols1 = objc.registerName("quarterSymbols"); - late final _sel_shortQuarterSymbols1 = objc.registerName( - "shortQuarterSymbols", - ); - late final _sel_standaloneQuarterSymbols1 = objc.registerName( - "standaloneQuarterSymbols", - ); - late final _sel_shortStandaloneQuarterSymbols1 = objc.registerName( - "shortStandaloneQuarterSymbols", - ); - late final _sel_AMSymbol1 = objc.registerName("AMSymbol"); - late final _sel_PMSymbol1 = objc.registerName("PMSymbol"); - late final _sel_minimumRangeOfUnit_1 = objc.registerName( - "minimumRangeOfUnit:", - ); - _NSRange _objc_msgSend_767( - ffi.Pointer obj, - ffi.Pointer sel, - int unit, - ) { - return __objc_msgSend_767(obj, sel, unit); - } - - late final __objc_msgSend_767Ptr = _lookup< - ffi.NativeFunction< - _NSRange Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - )>>('objc_msgSend'); - late final __objc_msgSend_767 = __objc_msgSend_767Ptr.asFunction< - _NSRange Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - void _objc_msgSend_767_stret( - ffi.Pointer<_NSRange> stret, - ffi.Pointer obj, - ffi.Pointer sel, - int unit, - ) { - return __objc_msgSend_767_stret(stret, obj, sel, unit); - } - - late final __objc_msgSend_767_stretPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer<_NSRange>, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - )>>('objc_msgSend_stret'); - late final __objc_msgSend_767_stret = __objc_msgSend_767_stretPtr.asFunction< - void Function( - ffi.Pointer<_NSRange>, - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_maximumRangeOfUnit_1 = objc.registerName( - "maximumRangeOfUnit:", - ); - late final _sel_rangeOfUnit_inUnit_forDate_1 = objc.registerName( - "rangeOfUnit:inUnit:forDate:", - ); - _NSRange _objc_msgSend_768( - ffi.Pointer obj, - ffi.Pointer sel, - int smaller, - int larger, - ffi.Pointer date, - ) { - return __objc_msgSend_768(obj, sel, smaller, larger, date); - } - - late final __objc_msgSend_768Ptr = _lookup< - ffi.NativeFunction< - _NSRange Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Int32, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_768 = __objc_msgSend_768Ptr.asFunction< - _NSRange Function( - ffi.Pointer, - ffi.Pointer, - int, - int, - ffi.Pointer, - )>(); - - void _objc_msgSend_768_stret( - ffi.Pointer<_NSRange> stret, - ffi.Pointer obj, - ffi.Pointer sel, - int smaller, - int larger, - ffi.Pointer date, - ) { - return __objc_msgSend_768_stret(stret, obj, sel, smaller, larger, date); - } - - late final __objc_msgSend_768_stretPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer<_NSRange>, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Int32, - ffi.Pointer, - )>>('objc_msgSend_stret'); - late final __objc_msgSend_768_stret = __objc_msgSend_768_stretPtr.asFunction< - void Function( - ffi.Pointer<_NSRange>, - ffi.Pointer, - ffi.Pointer, - int, - int, - ffi.Pointer, - )>(); - - late final _sel_ordinalityOfUnit_inUnit_forDate_1 = objc.registerName( - "ordinalityOfUnit:inUnit:forDate:", - ); - int _objc_msgSend_769( - ffi.Pointer obj, - ffi.Pointer sel, - int smaller, - int larger, - ffi.Pointer date, - ) { - return __objc_msgSend_769(obj, sel, smaller, larger, date); - } - - late final __objc_msgSend_769Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Int32, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_769 = __objc_msgSend_769Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - int, - int, - ffi.Pointer, - )>(); - - late final _sel_rangeOfUnit_startDate_interval_forDate_1 = objc.registerName( - "rangeOfUnit:startDate:interval:forDate:", - ); - bool _objc_msgSend_770( - ffi.Pointer obj, - ffi.Pointer sel, - int unit, - ffi.Pointer> datep, - ffi.Pointer tip, - ffi.Pointer date, - ) { - return __objc_msgSend_770(obj, sel, unit, datep, tip, date); - } - - late final __objc_msgSend_770Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer>, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_770 = __objc_msgSend_770Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _class_NSDateComponents1 = objc.getClass("NSDateComponents"); - late final _sel_calendar1 = objc.registerName("calendar"); - ffi.Pointer _objc_msgSend_771( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_771(obj, sel); - } - - late final __objc_msgSend_771Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_771 = __objc_msgSend_771Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_setCalendar_1 = objc.registerName("setCalendar:"); - void _objc_msgSend_772( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, - ) { - return __objc_msgSend_772(obj, sel, value); - } - - late final __objc_msgSend_772Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_772 = __objc_msgSend_772Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - ffi.Pointer _objc_msgSend_773( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_773(obj, sel); - } - - late final __objc_msgSend_773Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_773 = __objc_msgSend_773Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - void _objc_msgSend_774( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, - ) { - return __objc_msgSend_774(obj, sel, value); - } - - late final __objc_msgSend_774Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_774 = __objc_msgSend_774Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_era1 = objc.registerName("era"); - late final _sel_setEra_1 = objc.registerName("setEra:"); - late final _sel_year1 = objc.registerName("year"); - late final _sel_setYear_1 = objc.registerName("setYear:"); - late final _sel_month1 = objc.registerName("month"); - late final _sel_setMonth_1 = objc.registerName("setMonth:"); - late final _sel_day1 = objc.registerName("day"); - late final _sel_setDay_1 = objc.registerName("setDay:"); - late final _sel_hour1 = objc.registerName("hour"); - late final _sel_setHour_1 = objc.registerName("setHour:"); - late final _sel_minute1 = objc.registerName("minute"); - late final _sel_setMinute_1 = objc.registerName("setMinute:"); - late final _sel_second1 = objc.registerName("second"); - late final _sel_setSecond_1 = objc.registerName("setSecond:"); - late final _sel_nanosecond1 = objc.registerName("nanosecond"); - late final _sel_setNanosecond_1 = objc.registerName("setNanosecond:"); - late final _sel_weekday1 = objc.registerName("weekday"); - late final _sel_setWeekday_1 = objc.registerName("setWeekday:"); - late final _sel_weekdayOrdinal1 = objc.registerName("weekdayOrdinal"); - late final _sel_setWeekdayOrdinal_1 = objc.registerName("setWeekdayOrdinal:"); - late final _sel_quarter1 = objc.registerName("quarter"); - late final _sel_setQuarter_1 = objc.registerName("setQuarter:"); - late final _sel_weekOfMonth1 = objc.registerName("weekOfMonth"); - late final _sel_setWeekOfMonth_1 = objc.registerName("setWeekOfMonth:"); - late final _sel_weekOfYear1 = objc.registerName("weekOfYear"); - late final _sel_setWeekOfYear_1 = objc.registerName("setWeekOfYear:"); - late final _sel_yearForWeekOfYear1 = objc.registerName("yearForWeekOfYear"); - late final _sel_setYearForWeekOfYear_1 = objc.registerName( - "setYearForWeekOfYear:", - ); - late final _sel_isLeapMonth1 = objc.registerName("isLeapMonth"); - late final _sel_setLeapMonth_1 = objc.registerName("setLeapMonth:"); - late final _sel_week1 = objc.registerName("week"); - late final _sel_setWeek_1 = objc.registerName("setWeek:"); - late final _sel_setValue_forComponent_1 = objc.registerName( - "setValue:forComponent:", - ); - void _objc_msgSend_775( - ffi.Pointer obj, - ffi.Pointer sel, - int value, - int unit, - ) { - return __objc_msgSend_775(obj, sel, value, unit); - } - - late final __objc_msgSend_775Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Long, - ffi.Int32, - )>>('objc_msgSend'); - late final __objc_msgSend_775 = __objc_msgSend_775Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - int, - )>(); - - late final _sel_valueForComponent_1 = objc.registerName("valueForComponent:"); - int _objc_msgSend_776( - ffi.Pointer obj, - ffi.Pointer sel, - int unit, - ) { - return __objc_msgSend_776(obj, sel, unit); - } - - late final __objc_msgSend_776Ptr = _lookup< - ffi.NativeFunction< - ffi.Long Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - )>>('objc_msgSend'); - late final __objc_msgSend_776 = __objc_msgSend_776Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_isValidDate1 = objc.registerName("isValidDate"); - late final _sel_isValidDateInCalendar_1 = objc.registerName( - "isValidDateInCalendar:", - ); - bool _objc_msgSend_777( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer calendar, - ) { - return __objc_msgSend_777(obj, sel, calendar); - } - - late final __objc_msgSend_777Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_777 = __objc_msgSend_777Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_dateFromComponents_1 = objc.registerName( - "dateFromComponents:", - ); - ffi.Pointer _objc_msgSend_778( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer comps, - ) { - return __objc_msgSend_778(obj, sel, comps); - } - - late final __objc_msgSend_778Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_778 = __objc_msgSend_778Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_components_fromDate_1 = objc.registerName( - "components:fromDate:", - ); - ffi.Pointer _objc_msgSend_779( - ffi.Pointer obj, - ffi.Pointer sel, - int unitFlags, - ffi.Pointer date, - ) { - return __objc_msgSend_779(obj, sel, unitFlags, date); - } - - late final __objc_msgSend_779Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_779 = __objc_msgSend_779Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - )>(); - - late final _sel_dateByAddingComponents_toDate_options_1 = objc.registerName( - "dateByAddingComponents:toDate:options:", - ); - ffi.Pointer _objc_msgSend_780( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer comps, - ffi.Pointer date, - int opts, - ) { - return __objc_msgSend_780(obj, sel, comps, date, opts); - } - - late final __objc_msgSend_780Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - )>>('objc_msgSend'); - late final __objc_msgSend_780 = __objc_msgSend_780Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_components_fromDate_toDate_options_1 = objc.registerName( - "components:fromDate:toDate:options:", - ); - ffi.Pointer _objc_msgSend_781( - ffi.Pointer obj, - ffi.Pointer sel, - int unitFlags, - ffi.Pointer startingDate, - ffi.Pointer resultDate, - int opts, - ) { - return __objc_msgSend_781( - obj, - sel, - unitFlags, - startingDate, - resultDate, - opts, - ); - } - - late final __objc_msgSend_781Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - )>>('objc_msgSend'); - late final __objc_msgSend_781 = __objc_msgSend_781Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_getEra_year_month_day_fromDate_1 = objc.registerName( - "getEra:year:month:day:fromDate:", - ); - void _objc_msgSend_782( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer eraValuePointer, - ffi.Pointer yearValuePointer, - ffi.Pointer monthValuePointer, - ffi.Pointer dayValuePointer, - ffi.Pointer date, - ) { - return __objc_msgSend_782( - obj, - sel, - eraValuePointer, - yearValuePointer, - monthValuePointer, - dayValuePointer, - date, - ); - } - - late final __objc_msgSend_782Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_782 = __objc_msgSend_782Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_getEra_yearForWeekOfYear_weekOfYear_weekday_fromDate_1 = objc - .registerName("getEra:yearForWeekOfYear:weekOfYear:weekday:fromDate:"); - late final _sel_getHour_minute_second_nanosecond_fromDate_1 = - objc.registerName("getHour:minute:second:nanosecond:fromDate:"); - late final _sel_component_fromDate_1 = objc.registerName( - "component:fromDate:", - ); - int _objc_msgSend_783( - ffi.Pointer obj, - ffi.Pointer sel, - int unit, - ffi.Pointer date, - ) { - return __objc_msgSend_783(obj, sel, unit, date); - } - - late final __objc_msgSend_783Ptr = _lookup< - ffi.NativeFunction< - ffi.Long Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_783 = __objc_msgSend_783Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - )>(); - - late final _sel_dateWithEra_year_month_day_hour_minute_second_nanosecond_1 = - objc.registerName( - "dateWithEra:year:month:day:hour:minute:second:nanosecond:", - ); - ffi.Pointer _objc_msgSend_784( - ffi.Pointer obj, - ffi.Pointer sel, - int eraValue, - int yearValue, - int monthValue, - int dayValue, - int hourValue, - int minuteValue, - int secondValue, - int nanosecondValue, - ) { - return __objc_msgSend_784( - obj, - sel, - eraValue, - yearValue, - monthValue, - dayValue, - hourValue, - minuteValue, - secondValue, - nanosecondValue, - ); - } - - late final __objc_msgSend_784Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Long, - ffi.Long, - ffi.Long, - ffi.Long, - ffi.Long, - ffi.Long, - ffi.Long, - ffi.Long, - )>>('objc_msgSend'); - late final __objc_msgSend_784 = __objc_msgSend_784Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - int, - int, - int, - int, - int, - int, - int, - )>(); - - late final _sel_dateWithEra_yearForWeekOfYear_weekOfYear_weekday_hour_minute_second_nanosecond_1 = - objc.registerName( - "dateWithEra:yearForWeekOfYear:weekOfYear:weekday:hour:minute:second:nanosecond:", - ); - late final _sel_startOfDayForDate_1 = objc.registerName("startOfDayForDate:"); - late final _sel_componentsInTimeZone_fromDate_1 = objc.registerName( - "componentsInTimeZone:fromDate:", - ); - ffi.Pointer _objc_msgSend_785( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer timezone, - ffi.Pointer date, - ) { - return __objc_msgSend_785(obj, sel, timezone, date); - } - - late final __objc_msgSend_785Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_785 = __objc_msgSend_785Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_compareDate_toDate_toUnitGranularity_1 = objc.registerName( - "compareDate:toDate:toUnitGranularity:", - ); - int _objc_msgSend_786( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer date1, - ffi.Pointer date2, - int unit, - ) { - return __objc_msgSend_786(obj, sel, date1, date2, unit); - } - - late final __objc_msgSend_786Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - )>>('objc_msgSend'); - late final __objc_msgSend_786 = __objc_msgSend_786Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_isDate_equalToDate_toUnitGranularity_1 = objc.registerName( - "isDate:equalToDate:toUnitGranularity:", - ); - bool _objc_msgSend_787( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer date1, - ffi.Pointer date2, - int unit, - ) { - return __objc_msgSend_787(obj, sel, date1, date2, unit); - } - - late final __objc_msgSend_787Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - )>>('objc_msgSend'); - late final __objc_msgSend_787 = __objc_msgSend_787Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_isDate_inSameDayAsDate_1 = objc.registerName( - "isDate:inSameDayAsDate:", - ); - bool _objc_msgSend_788( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer date1, - ffi.Pointer date2, - ) { - return __objc_msgSend_788(obj, sel, date1, date2); - } - - late final __objc_msgSend_788Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_788 = __objc_msgSend_788Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_isDateInToday_1 = objc.registerName("isDateInToday:"); - late final _sel_isDateInYesterday_1 = objc.registerName("isDateInYesterday:"); - late final _sel_isDateInTomorrow_1 = objc.registerName("isDateInTomorrow:"); - late final _sel_isDateInWeekend_1 = objc.registerName("isDateInWeekend:"); - late final _sel_rangeOfWeekendStartDate_interval_containingDate_1 = - objc.registerName("rangeOfWeekendStartDate:interval:containingDate:"); - bool _objc_msgSend_789( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer> datep, - ffi.Pointer tip, - ffi.Pointer date, - ) { - return __objc_msgSend_789(obj, sel, datep, tip, date); - } - - late final __objc_msgSend_789Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_789 = __objc_msgSend_789Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_nextWeekendStartDate_interval_options_afterDate_1 = - objc.registerName("nextWeekendStartDate:interval:options:afterDate:"); - bool _objc_msgSend_790( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer> datep, - ffi.Pointer tip, - int options, - ffi.Pointer date, - ) { - return __objc_msgSend_790(obj, sel, datep, tip, options, date); - } - - late final __objc_msgSend_790Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer, - ffi.Int32, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_790 = __objc_msgSend_790Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer, - int, - ffi.Pointer, - )>(); - - late final _sel_components_fromDateComponents_toDateComponents_options_1 = - objc.registerName( - "components:fromDateComponents:toDateComponents:options:", - ); - ffi.Pointer _objc_msgSend_791( - ffi.Pointer obj, - ffi.Pointer sel, - int unitFlags, - ffi.Pointer startingDateComp, - ffi.Pointer resultDateComp, - int options, - ) { - return __objc_msgSend_791( - obj, - sel, - unitFlags, - startingDateComp, - resultDateComp, - options, - ); - } - - late final __objc_msgSend_791Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - )>>('objc_msgSend'); - late final __objc_msgSend_791 = __objc_msgSend_791Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_dateByAddingUnit_value_toDate_options_1 = objc.registerName( - "dateByAddingUnit:value:toDate:options:", - ); - ffi.Pointer _objc_msgSend_792( - ffi.Pointer obj, - ffi.Pointer sel, - int unit, - int value, - ffi.Pointer date, - int options, - ) { - return __objc_msgSend_792(obj, sel, unit, value, date, options); - } - - late final __objc_msgSend_792Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Long, - ffi.Pointer, - ffi.Int32, - )>>('objc_msgSend'); - late final __objc_msgSend_792 = __objc_msgSend_792Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - int, - ffi.Pointer, - int, - )>(); - - late final _sel_enumerateDatesStartingAfterDate_matchingComponents_options_usingBlock_1 = - objc.registerName( - "enumerateDatesStartingAfterDate:matchingComponents:options:usingBlock:", - ); - void _objc_msgSend_793( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer start, - ffi.Pointer comps, - int opts, - ffi.Pointer block, - ) { - return __objc_msgSend_793(obj, sel, start, comps, opts, block); - } - - late final __objc_msgSend_793Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_793 = __objc_msgSend_793Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - )>(); - - late final _sel_nextDateAfterDate_matchingComponents_options_1 = - objc.registerName("nextDateAfterDate:matchingComponents:options:"); - ffi.Pointer _objc_msgSend_794( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer date, - ffi.Pointer comps, - int options, - ) { - return __objc_msgSend_794(obj, sel, date, comps, options); - } - - late final __objc_msgSend_794Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - )>>('objc_msgSend'); - late final __objc_msgSend_794 = __objc_msgSend_794Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_nextDateAfterDate_matchingUnit_value_options_1 = - objc.registerName("nextDateAfterDate:matchingUnit:value:options:"); - ffi.Pointer _objc_msgSend_795( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer date, - int unit, - int value, - int options, - ) { - return __objc_msgSend_795(obj, sel, date, unit, value, options); - } - - late final __objc_msgSend_795Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Long, - ffi.Int32, - )>>('objc_msgSend'); - late final __objc_msgSend_795 = __objc_msgSend_795Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - int, - int, - )>(); - - late final _sel_nextDateAfterDate_matchingHour_minute_second_options_1 = objc - .registerName("nextDateAfterDate:matchingHour:minute:second:options:"); - ffi.Pointer _objc_msgSend_796( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer date, - int hourValue, - int minuteValue, - int secondValue, - int options, - ) { - return __objc_msgSend_796( - obj, - sel, - date, - hourValue, - minuteValue, - secondValue, - options, - ); - } - - late final __objc_msgSend_796Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Long, - ffi.Long, - ffi.Long, - ffi.Int32, - )>>('objc_msgSend'); - late final __objc_msgSend_796 = __objc_msgSend_796Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - int, - int, - int, - )>(); - - late final _sel_dateBySettingUnit_value_ofDate_options_1 = objc.registerName( - "dateBySettingUnit:value:ofDate:options:", - ); - late final _sel_dateBySettingHour_minute_second_ofDate_options_1 = - objc.registerName("dateBySettingHour:minute:second:ofDate:options:"); - ffi.Pointer _objc_msgSend_797( - ffi.Pointer obj, - ffi.Pointer sel, - int h, - int m, - int s, - ffi.Pointer date, - int opts, - ) { - return __objc_msgSend_797(obj, sel, h, m, s, date, opts); - } - - late final __objc_msgSend_797Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Long, - ffi.Long, - ffi.Long, - ffi.Pointer, - ffi.Int32, - )>>('objc_msgSend'); - late final __objc_msgSend_797 = __objc_msgSend_797Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - int, - int, - ffi.Pointer, - int, - )>(); - - late final _sel_date_matchesComponents_1 = objc.registerName( - "date:matchesComponents:", - ); - bool _objc_msgSend_798( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer date, - ffi.Pointer components, - ) { - return __objc_msgSend_798(obj, sel, date, components); - } - - late final __objc_msgSend_798Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_798 = __objc_msgSend_798Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - void _objc_msgSend_799( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, - ) { - return __objc_msgSend_799(obj, sel, value); - } - - late final __objc_msgSend_799Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_799 = __objc_msgSend_799Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_isLenient1 = objc.registerName("isLenient"); - late final _sel_setLenient_1 = objc.registerName("setLenient:"); - late final _sel_twoDigitStartDate1 = objc.registerName("twoDigitStartDate"); - late final _sel_setTwoDigitStartDate_1 = objc.registerName( - "setTwoDigitStartDate:", - ); - void _objc_msgSend_800( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, - ) { - return __objc_msgSend_800(obj, sel, value); - } - - late final __objc_msgSend_800Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_800 = __objc_msgSend_800Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_defaultDate1 = objc.registerName("defaultDate"); - late final _sel_setDefaultDate_1 = objc.registerName("setDefaultDate:"); - late final _sel_setEraSymbols_1 = objc.registerName("setEraSymbols:"); - void _objc_msgSend_801( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, - ) { - return __objc_msgSend_801(obj, sel, value); - } - - late final __objc_msgSend_801Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_801 = __objc_msgSend_801Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_setMonthSymbols_1 = objc.registerName("setMonthSymbols:"); - late final _sel_setShortMonthSymbols_1 = objc.registerName( - "setShortMonthSymbols:", - ); - late final _sel_setWeekdaySymbols_1 = objc.registerName("setWeekdaySymbols:"); - late final _sel_setShortWeekdaySymbols_1 = objc.registerName( - "setShortWeekdaySymbols:", - ); - late final _sel_setAMSymbol_1 = objc.registerName("setAMSymbol:"); - late final _sel_setPMSymbol_1 = objc.registerName("setPMSymbol:"); - late final _sel_setLongEraSymbols_1 = objc.registerName("setLongEraSymbols:"); - late final _sel_setVeryShortMonthSymbols_1 = objc.registerName( - "setVeryShortMonthSymbols:", - ); - late final _sel_setStandaloneMonthSymbols_1 = objc.registerName( - "setStandaloneMonthSymbols:", - ); - late final _sel_setShortStandaloneMonthSymbols_1 = objc.registerName( - "setShortStandaloneMonthSymbols:", - ); - late final _sel_setVeryShortStandaloneMonthSymbols_1 = objc.registerName( - "setVeryShortStandaloneMonthSymbols:", - ); - late final _sel_setVeryShortWeekdaySymbols_1 = objc.registerName( - "setVeryShortWeekdaySymbols:", - ); - late final _sel_setStandaloneWeekdaySymbols_1 = objc.registerName( - "setStandaloneWeekdaySymbols:", - ); - late final _sel_setShortStandaloneWeekdaySymbols_1 = objc.registerName( - "setShortStandaloneWeekdaySymbols:", - ); - late final _sel_setVeryShortStandaloneWeekdaySymbols_1 = objc.registerName( - "setVeryShortStandaloneWeekdaySymbols:", - ); - late final _sel_setQuarterSymbols_1 = objc.registerName("setQuarterSymbols:"); - late final _sel_setShortQuarterSymbols_1 = objc.registerName( - "setShortQuarterSymbols:", - ); - late final _sel_setStandaloneQuarterSymbols_1 = objc.registerName( - "setStandaloneQuarterSymbols:", - ); - late final _sel_setShortStandaloneQuarterSymbols_1 = objc.registerName( - "setShortStandaloneQuarterSymbols:", - ); - late final _sel_gregorianStartDate1 = objc.registerName("gregorianStartDate"); - late final _sel_setGregorianStartDate_1 = objc.registerName( - "setGregorianStartDate:", - ); - late final _sel_doesRelativeDateFormatting1 = objc.registerName( - "doesRelativeDateFormatting", - ); - late final _sel_setDoesRelativeDateFormatting_1 = objc.registerName( - "setDoesRelativeDateFormatting:", - ); - late final _sel_initWithDateFormat_allowNaturalLanguage_1 = objc.registerName( - "initWithDateFormat:allowNaturalLanguage:", - ); - late final _sel_allowsNaturalLanguage1 = objc.registerName( - "allowsNaturalLanguage", - ); - late final _class_NSNumberFormatter1 = objc.getClass("NSNumberFormatter"); - late final _sel_stringFromNumber_1 = objc.registerName("stringFromNumber:"); - ffi.Pointer _objc_msgSend_802( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer number, - ) { - return __objc_msgSend_802(obj, sel, number); - } - - late final __objc_msgSend_802Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_802 = __objc_msgSend_802Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_numberFromString_1 = objc.registerName("numberFromString:"); - ffi.Pointer _objc_msgSend_803( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer string, - ) { - return __objc_msgSend_803(obj, sel, string); - } - - late final __objc_msgSend_803Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_803 = __objc_msgSend_803Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_localizedStringFromNumber_numberStyle_1 = objc.registerName( - "localizedStringFromNumber:numberStyle:", - ); - ffi.Pointer _objc_msgSend_804( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer num, - int nstyle, - ) { - return __objc_msgSend_804(obj, sel, num, nstyle); - } - - late final __objc_msgSend_804Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - )>>('objc_msgSend'); - late final __objc_msgSend_804 = __objc_msgSend_804Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - int _objc_msgSend_805( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_805(obj, sel); - } - - late final __objc_msgSend_805Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_805 = __objc_msgSend_805Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - void _objc_msgSend_806( - ffi.Pointer obj, - ffi.Pointer sel, - int behavior, - ) { - return __objc_msgSend_806(obj, sel, behavior); - } - - late final __objc_msgSend_806Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - )>>('objc_msgSend'); - late final __objc_msgSend_806 = __objc_msgSend_806Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_numberStyle1 = objc.registerName("numberStyle"); - int _objc_msgSend_807( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_807(obj, sel); - } - - late final __objc_msgSend_807Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_807 = __objc_msgSend_807Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_setNumberStyle_1 = objc.registerName("setNumberStyle:"); - void _objc_msgSend_808( - ffi.Pointer obj, - ffi.Pointer sel, - int value, - ) { - return __objc_msgSend_808(obj, sel, value); - } - - late final __objc_msgSend_808Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - )>>('objc_msgSend'); - late final __objc_msgSend_808 = __objc_msgSend_808Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_generatesDecimalNumbers1 = objc.registerName( - "generatesDecimalNumbers", - ); - late final _sel_setGeneratesDecimalNumbers_1 = objc.registerName( - "setGeneratesDecimalNumbers:", - ); - void _objc_msgSend_809( - ffi.Pointer obj, - ffi.Pointer sel, - int value, - ) { - return __objc_msgSend_809(obj, sel, value); - } - - late final __objc_msgSend_809Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - )>>('objc_msgSend'); - late final __objc_msgSend_809 = __objc_msgSend_809Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_negativeFormat1 = objc.registerName("negativeFormat"); - late final _sel_setNegativeFormat_1 = objc.registerName("setNegativeFormat:"); - late final _sel_textAttributesForNegativeValues1 = objc.registerName( - "textAttributesForNegativeValues", - ); - late final _sel_setTextAttributesForNegativeValues_1 = objc.registerName( - "setTextAttributesForNegativeValues:", - ); - late final _sel_positiveFormat1 = objc.registerName("positiveFormat"); - late final _sel_setPositiveFormat_1 = objc.registerName("setPositiveFormat:"); - late final _sel_textAttributesForPositiveValues1 = objc.registerName( - "textAttributesForPositiveValues", - ); - late final _sel_setTextAttributesForPositiveValues_1 = objc.registerName( - "setTextAttributesForPositiveValues:", - ); - late final _sel_allowsFloats1 = objc.registerName("allowsFloats"); - late final _sel_setAllowsFloats_1 = objc.registerName("setAllowsFloats:"); - late final _sel_setDecimalSeparator_1 = objc.registerName( - "setDecimalSeparator:", - ); - late final _sel_alwaysShowsDecimalSeparator1 = objc.registerName( - "alwaysShowsDecimalSeparator", - ); - late final _sel_setAlwaysShowsDecimalSeparator_1 = objc.registerName( - "setAlwaysShowsDecimalSeparator:", - ); - late final _sel_currencyDecimalSeparator1 = objc.registerName( - "currencyDecimalSeparator", - ); - late final _sel_setCurrencyDecimalSeparator_1 = objc.registerName( - "setCurrencyDecimalSeparator:", - ); - late final _sel_usesGroupingSeparator1 = objc.registerName( - "usesGroupingSeparator", - ); - late final _sel_setUsesGroupingSeparator_1 = objc.registerName( - "setUsesGroupingSeparator:", - ); - late final _sel_setGroupingSeparator_1 = objc.registerName( - "setGroupingSeparator:", - ); - late final _sel_zeroSymbol1 = objc.registerName("zeroSymbol"); - late final _sel_setZeroSymbol_1 = objc.registerName("setZeroSymbol:"); - late final _sel_textAttributesForZero1 = objc.registerName( - "textAttributesForZero", - ); - late final _sel_setTextAttributesForZero_1 = objc.registerName( - "setTextAttributesForZero:", - ); - late final _sel_nilSymbol1 = objc.registerName("nilSymbol"); - late final _sel_setNilSymbol_1 = objc.registerName("setNilSymbol:"); - late final _sel_textAttributesForNil1 = objc.registerName( - "textAttributesForNil", - ); - late final _sel_setTextAttributesForNil_1 = objc.registerName( - "setTextAttributesForNil:", - ); - late final _sel_notANumberSymbol1 = objc.registerName("notANumberSymbol"); - late final _sel_setNotANumberSymbol_1 = objc.registerName( - "setNotANumberSymbol:", - ); - late final _sel_textAttributesForNotANumber1 = objc.registerName( - "textAttributesForNotANumber", - ); - late final _sel_setTextAttributesForNotANumber_1 = objc.registerName( - "setTextAttributesForNotANumber:", - ); - late final _sel_positiveInfinitySymbol1 = objc.registerName( - "positiveInfinitySymbol", - ); - late final _sel_setPositiveInfinitySymbol_1 = objc.registerName( - "setPositiveInfinitySymbol:", - ); - late final _sel_textAttributesForPositiveInfinity1 = objc.registerName( - "textAttributesForPositiveInfinity", - ); - late final _sel_setTextAttributesForPositiveInfinity_1 = objc.registerName( - "setTextAttributesForPositiveInfinity:", - ); - late final _sel_negativeInfinitySymbol1 = objc.registerName( - "negativeInfinitySymbol", - ); - late final _sel_setNegativeInfinitySymbol_1 = objc.registerName( - "setNegativeInfinitySymbol:", - ); - late final _sel_textAttributesForNegativeInfinity1 = objc.registerName( - "textAttributesForNegativeInfinity", - ); - late final _sel_setTextAttributesForNegativeInfinity_1 = objc.registerName( - "setTextAttributesForNegativeInfinity:", - ); - late final _sel_positivePrefix1 = objc.registerName("positivePrefix"); - late final _sel_setPositivePrefix_1 = objc.registerName("setPositivePrefix:"); - late final _sel_positiveSuffix1 = objc.registerName("positiveSuffix"); - late final _sel_setPositiveSuffix_1 = objc.registerName("setPositiveSuffix:"); - late final _sel_negativePrefix1 = objc.registerName("negativePrefix"); - late final _sel_setNegativePrefix_1 = objc.registerName("setNegativePrefix:"); - late final _sel_negativeSuffix1 = objc.registerName("negativeSuffix"); - late final _sel_setNegativeSuffix_1 = objc.registerName("setNegativeSuffix:"); - late final _sel_setCurrencyCode_1 = objc.registerName("setCurrencyCode:"); - late final _sel_setCurrencySymbol_1 = objc.registerName("setCurrencySymbol:"); - late final _sel_internationalCurrencySymbol1 = objc.registerName( - "internationalCurrencySymbol", - ); - late final _sel_setInternationalCurrencySymbol_1 = objc.registerName( - "setInternationalCurrencySymbol:", - ); - late final _sel_percentSymbol1 = objc.registerName("percentSymbol"); - late final _sel_setPercentSymbol_1 = objc.registerName("setPercentSymbol:"); - late final _sel_perMillSymbol1 = objc.registerName("perMillSymbol"); - late final _sel_setPerMillSymbol_1 = objc.registerName("setPerMillSymbol:"); - late final _sel_minusSign1 = objc.registerName("minusSign"); - late final _sel_setMinusSign_1 = objc.registerName("setMinusSign:"); - late final _sel_plusSign1 = objc.registerName("plusSign"); - late final _sel_setPlusSign_1 = objc.registerName("setPlusSign:"); - late final _sel_exponentSymbol1 = objc.registerName("exponentSymbol"); - late final _sel_setExponentSymbol_1 = objc.registerName("setExponentSymbol:"); - late final _sel_groupingSize1 = objc.registerName("groupingSize"); - late final _sel_setGroupingSize_1 = objc.registerName("setGroupingSize:"); - late final _sel_secondaryGroupingSize1 = objc.registerName( - "secondaryGroupingSize", - ); - late final _sel_setSecondaryGroupingSize_1 = objc.registerName( - "setSecondaryGroupingSize:", - ); - late final _sel_multiplier1 = objc.registerName("multiplier"); - late final _sel_setMultiplier_1 = objc.registerName("setMultiplier:"); - late final _sel_formatWidth1 = objc.registerName("formatWidth"); - late final _sel_setFormatWidth_1 = objc.registerName("setFormatWidth:"); - late final _sel_paddingCharacter1 = objc.registerName("paddingCharacter"); - late final _sel_setPaddingCharacter_1 = objc.registerName( - "setPaddingCharacter:", - ); - late final _sel_paddingPosition1 = objc.registerName("paddingPosition"); - int _objc_msgSend_810( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_810(obj, sel); - } - - late final __objc_msgSend_810Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_810 = __objc_msgSend_810Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_setPaddingPosition_1 = objc.registerName( - "setPaddingPosition:", - ); - void _objc_msgSend_811( - ffi.Pointer obj, - ffi.Pointer sel, - int value, - ) { - return __objc_msgSend_811(obj, sel, value); - } - - late final __objc_msgSend_811Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - )>>('objc_msgSend'); - late final __objc_msgSend_811 = __objc_msgSend_811Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_roundingMode1 = objc.registerName("roundingMode"); - int _objc_msgSend_812( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_812(obj, sel); - } - - late final __objc_msgSend_812Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_812 = __objc_msgSend_812Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_setRoundingMode_1 = objc.registerName("setRoundingMode:"); - void _objc_msgSend_813( - ffi.Pointer obj, - ffi.Pointer sel, - int value, - ) { - return __objc_msgSend_813(obj, sel, value); - } - - late final __objc_msgSend_813Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - )>>('objc_msgSend'); - late final __objc_msgSend_813 = __objc_msgSend_813Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_roundingIncrement1 = objc.registerName("roundingIncrement"); - ffi.Pointer _objc_msgSend_814( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_814(obj, sel); - } - - late final __objc_msgSend_814Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_814 = __objc_msgSend_814Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_setRoundingIncrement_1 = objc.registerName( - "setRoundingIncrement:", - ); - void _objc_msgSend_815( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, - ) { - return __objc_msgSend_815(obj, sel, value); - } - - late final __objc_msgSend_815Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_815 = __objc_msgSend_815Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_minimumIntegerDigits1 = objc.registerName( - "minimumIntegerDigits", - ); - late final _sel_setMinimumIntegerDigits_1 = objc.registerName( - "setMinimumIntegerDigits:", - ); - late final _sel_maximumIntegerDigits1 = objc.registerName( - "maximumIntegerDigits", - ); - late final _sel_setMaximumIntegerDigits_1 = objc.registerName( - "setMaximumIntegerDigits:", - ); - late final _sel_minimumFractionDigits1 = objc.registerName( - "minimumFractionDigits", - ); - late final _sel_setMinimumFractionDigits_1 = objc.registerName( - "setMinimumFractionDigits:", - ); - late final _sel_maximumFractionDigits1 = objc.registerName( - "maximumFractionDigits", - ); - late final _sel_setMaximumFractionDigits_1 = objc.registerName( - "setMaximumFractionDigits:", - ); - late final _sel_minimum1 = objc.registerName("minimum"); - late final _sel_setMinimum_1 = objc.registerName("setMinimum:"); - late final _sel_maximum1 = objc.registerName("maximum"); - late final _sel_setMaximum_1 = objc.registerName("setMaximum:"); - late final _sel_currencyGroupingSeparator1 = objc.registerName( - "currencyGroupingSeparator", - ); - late final _sel_setCurrencyGroupingSeparator_1 = objc.registerName( - "setCurrencyGroupingSeparator:", - ); - late final _sel_usesSignificantDigits1 = objc.registerName( - "usesSignificantDigits", - ); - late final _sel_setUsesSignificantDigits_1 = objc.registerName( - "setUsesSignificantDigits:", - ); - late final _sel_minimumSignificantDigits1 = objc.registerName( - "minimumSignificantDigits", - ); - late final _sel_setMinimumSignificantDigits_1 = objc.registerName( - "setMinimumSignificantDigits:", - ); - late final _sel_maximumSignificantDigits1 = objc.registerName( - "maximumSignificantDigits", - ); - late final _sel_setMaximumSignificantDigits_1 = objc.registerName( - "setMaximumSignificantDigits:", - ); - late final _sel_isPartialStringValidationEnabled1 = objc.registerName( - "isPartialStringValidationEnabled", - ); - late final _sel_setPartialStringValidationEnabled_1 = objc.registerName( - "setPartialStringValidationEnabled:", - ); - late final _sel_hasThousandSeparators1 = objc.registerName( - "hasThousandSeparators", - ); - late final _sel_setHasThousandSeparators_1 = objc.registerName( - "setHasThousandSeparators:", - ); - late final _sel_thousandSeparator1 = objc.registerName("thousandSeparator"); - late final _sel_setThousandSeparator_1 = objc.registerName( - "setThousandSeparator:", - ); - late final _sel_localizesFormat1 = objc.registerName("localizesFormat"); - late final _sel_setLocalizesFormat_1 = objc.registerName( - "setLocalizesFormat:", - ); - late final _sel_format1 = objc.registerName("format"); - late final _sel_setFormat_1 = objc.registerName("setFormat:"); - late final _sel_attributedStringForZero1 = objc.registerName( - "attributedStringForZero", - ); - late final _sel_setAttributedStringForZero_1 = objc.registerName( - "setAttributedStringForZero:", - ); - void _objc_msgSend_816( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, - ) { - return __objc_msgSend_816(obj, sel, value); - } - - late final __objc_msgSend_816Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_816 = __objc_msgSend_816Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_attributedStringForNil1 = objc.registerName( - "attributedStringForNil", - ); - late final _sel_setAttributedStringForNil_1 = objc.registerName( - "setAttributedStringForNil:", - ); - late final _sel_attributedStringForNotANumber1 = objc.registerName( - "attributedStringForNotANumber", - ); - late final _sel_setAttributedStringForNotANumber_1 = objc.registerName( - "setAttributedStringForNotANumber:", - ); - late final _class_NSDecimalNumberHandler1 = objc.getClass( - "NSDecimalNumberHandler", - ); - late final _sel_defaultDecimalNumberHandler1 = objc.registerName( - "defaultDecimalNumberHandler", - ); - ffi.Pointer _objc_msgSend_817( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_817(obj, sel); - } - - late final __objc_msgSend_817Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_817 = __objc_msgSend_817Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_initWithRoundingMode_scale_raiseOnExactness_raiseOnOverflow_raiseOnUnderflow_raiseOnDivideByZero_1 = - objc.registerName( - "initWithRoundingMode:scale:raiseOnExactness:raiseOnOverflow:raiseOnUnderflow:raiseOnDivideByZero:", - ); - instancetype _objc_msgSend_818( - ffi.Pointer obj, - ffi.Pointer sel, - int roundingMode, - int scale, - bool exact, - bool overflow, - bool underflow, - bool divideByZero, - ) { - return __objc_msgSend_818( - obj, - sel, - roundingMode, - scale, - exact, - overflow, - underflow, - divideByZero, - ); - } - - late final __objc_msgSend_818Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Short, - ffi.Bool, - ffi.Bool, - ffi.Bool, - ffi.Bool, - )>>('objc_msgSend'); - late final __objc_msgSend_818 = __objc_msgSend_818Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - int, - int, - bool, - bool, - bool, - bool, - )>(); - - late final _sel_decimalNumberHandlerWithRoundingMode_scale_raiseOnExactness_raiseOnOverflow_raiseOnUnderflow_raiseOnDivideByZero_1 = - objc.registerName( - "decimalNumberHandlerWithRoundingMode:scale:raiseOnExactness:raiseOnOverflow:raiseOnUnderflow:raiseOnDivideByZero:", - ); - late final _sel_roundingBehavior1 = objc.registerName("roundingBehavior"); - late final _sel_setRoundingBehavior_1 = objc.registerName( - "setRoundingBehavior:", - ); - void _objc_msgSend_819( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, - ) { - return __objc_msgSend_819(obj, sel, value); - } - - late final __objc_msgSend_819Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_819 = __objc_msgSend_819Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _class_NSScanner1 = objc.getClass("NSScanner"); - late final _sel_scanLocation1 = objc.registerName("scanLocation"); - late final _sel_setScanLocation_1 = objc.registerName("setScanLocation:"); - late final _sel_charactersToBeSkipped1 = objc.registerName( - "charactersToBeSkipped", - ); - ffi.Pointer _objc_msgSend_820( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_820(obj, sel); - } - - late final __objc_msgSend_820Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_820 = __objc_msgSend_820Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_setCharactersToBeSkipped_1 = objc.registerName( - "setCharactersToBeSkipped:", - ); - void _objc_msgSend_821( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, - ) { - return __objc_msgSend_821(obj, sel, value); - } - - late final __objc_msgSend_821Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_821 = __objc_msgSend_821Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_caseSensitive1 = objc.registerName("caseSensitive"); - late final _sel_setCaseSensitive_1 = objc.registerName("setCaseSensitive:"); - late final _sel_scanInt_1 = objc.registerName("scanInt:"); - bool _objc_msgSend_822( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer result, - ) { - return __objc_msgSend_822(obj, sel, result); - } - - late final __objc_msgSend_822Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_822 = __objc_msgSend_822Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_scanInteger_1 = objc.registerName("scanInteger:"); - bool _objc_msgSend_823( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer result, - ) { - return __objc_msgSend_823(obj, sel, result); - } - - late final __objc_msgSend_823Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_823 = __objc_msgSend_823Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_scanLongLong_1 = objc.registerName("scanLongLong:"); - bool _objc_msgSend_824( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer result, - ) { - return __objc_msgSend_824(obj, sel, result); - } - - late final __objc_msgSend_824Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_824 = __objc_msgSend_824Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_scanUnsignedLongLong_1 = objc.registerName( - "scanUnsignedLongLong:", - ); - bool _objc_msgSend_825( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer result, - ) { - return __objc_msgSend_825(obj, sel, result); - } - - late final __objc_msgSend_825Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_825 = __objc_msgSend_825Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_scanFloat_1 = objc.registerName("scanFloat:"); - bool _objc_msgSend_826( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer result, - ) { - return __objc_msgSend_826(obj, sel, result); - } - - late final __objc_msgSend_826Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_826 = __objc_msgSend_826Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_scanDouble_1 = objc.registerName("scanDouble:"); - bool _objc_msgSend_827( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer result, - ) { - return __objc_msgSend_827(obj, sel, result); - } - - late final __objc_msgSend_827Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_827 = __objc_msgSend_827Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_scanHexInt_1 = objc.registerName("scanHexInt:"); - bool _objc_msgSend_828( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer result, - ) { - return __objc_msgSend_828(obj, sel, result); - } - - late final __objc_msgSend_828Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_828 = __objc_msgSend_828Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_scanHexLongLong_1 = objc.registerName("scanHexLongLong:"); - late final _sel_scanHexFloat_1 = objc.registerName("scanHexFloat:"); - late final _sel_scanHexDouble_1 = objc.registerName("scanHexDouble:"); - late final _sel_scanString_intoString_1 = objc.registerName( - "scanString:intoString:", - ); - bool _objc_msgSend_829( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer string, - ffi.Pointer> result, - ) { - return __objc_msgSend_829(obj, sel, string, result); - } - - late final __objc_msgSend_829Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_829 = __objc_msgSend_829Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>(); - - late final _sel_scanCharactersFromSet_intoString_1 = objc.registerName( - "scanCharactersFromSet:intoString:", - ); - bool _objc_msgSend_830( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer set1, - ffi.Pointer> result, - ) { - return __objc_msgSend_830(obj, sel, set1, result); - } - - late final __objc_msgSend_830Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_830 = __objc_msgSend_830Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>(); - - late final _sel_scanUpToString_intoString_1 = objc.registerName( - "scanUpToString:intoString:", - ); - late final _sel_scanUpToCharactersFromSet_intoString_1 = objc.registerName( - "scanUpToCharactersFromSet:intoString:", - ); - late final _sel_isAtEnd1 = objc.registerName("isAtEnd"); - late final _sel_scannerWithString_1 = objc.registerName("scannerWithString:"); - late final _sel_localizedScannerWithString_1 = objc.registerName( - "localizedScannerWithString:", - ); - late final _sel_scanDecimal_1 = objc.registerName("scanDecimal:"); - bool _objc_msgSend_831( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer dcm, - ) { - return __objc_msgSend_831(obj, sel, dcm); - } - - late final __objc_msgSend_831Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_831 = __objc_msgSend_831Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _class_NSException1 = objc.getClass("NSException"); - late final _sel_exceptionWithName_reason_userInfo_1 = objc.registerName( - "exceptionWithName:reason:userInfo:", - ); - ffi.Pointer _objc_msgSend_832( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer name, - ffi.Pointer reason, - ffi.Pointer userInfo, - ) { - return __objc_msgSend_832(obj, sel, name, reason, userInfo); - } - - late final __objc_msgSend_832Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_832 = __objc_msgSend_832Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_initWithName_reason_userInfo_1 = objc.registerName( - "initWithName:reason:userInfo:", - ); - instancetype _objc_msgSend_833( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aName, - ffi.Pointer aReason, - ffi.Pointer aUserInfo, - ) { - return __objc_msgSend_833(obj, sel, aName, aReason, aUserInfo); - } - - late final __objc_msgSend_833Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_833 = __objc_msgSend_833Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_reason1 = objc.registerName("reason"); - late final _sel_raise1 = objc.registerName("raise"); - late final _sel_raise_format_1 = objc.registerName("raise:format:"); - late final _sel_raise_format_arguments_1 = objc.registerName( - "raise:format:arguments:", - ); - void _objc_msgSend_834( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer name, - ffi.Pointer format, - ffi.Pointer<__va_list_tag> argList, - ) { - return __objc_msgSend_834(obj, sel, name, format, argList); - } - - late final __objc_msgSend_834Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<__va_list_tag>, - )>>('objc_msgSend'); - late final __objc_msgSend_834 = __objc_msgSend_834Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<__va_list_tag>, - )>(); - - late final _class_NSFileHandle1 = objc.getClass("NSFileHandle"); - late final _sel_availableData1 = objc.registerName("availableData"); - late final _sel_initWithFileDescriptor_closeOnDealloc_1 = objc.registerName( - "initWithFileDescriptor:closeOnDealloc:", - ); - instancetype _objc_msgSend_835( - ffi.Pointer obj, - ffi.Pointer sel, - int fd, - bool closeopt, - ) { - return __objc_msgSend_835(obj, sel, fd, closeopt); - } - - late final __objc_msgSend_835Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int, - ffi.Bool, - )>>('objc_msgSend'); - late final __objc_msgSend_835 = __objc_msgSend_835Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - int, - bool, - )>(); - - late final _sel_readDataToEndOfFileAndReturnError_1 = objc.registerName( - "readDataToEndOfFileAndReturnError:", - ); - ffi.Pointer _objc_msgSend_836( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer> error, - ) { - return __objc_msgSend_836(obj, sel, error); - } - - late final __objc_msgSend_836Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_836 = __objc_msgSend_836Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>(); - - late final _sel_readDataUpToLength_error_1 = objc.registerName( - "readDataUpToLength:error:", - ); - ffi.Pointer _objc_msgSend_837( - ffi.Pointer obj, - ffi.Pointer sel, - int length, - ffi.Pointer> error, - ) { - return __objc_msgSend_837(obj, sel, length, error); - } - - late final __objc_msgSend_837Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_837 = __objc_msgSend_837Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>, - )>(); - - late final _sel_writeData_error_1 = objc.registerName("writeData:error:"); - bool _objc_msgSend_838( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer data, - ffi.Pointer> error, - ) { - return __objc_msgSend_838(obj, sel, data, error); - } - - late final __objc_msgSend_838Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_838 = __objc_msgSend_838Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>(); - - late final _sel_getOffset_error_1 = objc.registerName("getOffset:error:"); - bool _objc_msgSend_839( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer offsetInFile, - ffi.Pointer> error, - ) { - return __objc_msgSend_839(obj, sel, offsetInFile, error); - } - - late final __objc_msgSend_839Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_839 = __objc_msgSend_839Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>(); - - late final _sel_seekToEndReturningOffset_error_1 = objc.registerName( - "seekToEndReturningOffset:error:", - ); - late final _sel_seekToOffset_error_1 = objc.registerName( - "seekToOffset:error:", - ); - bool _objc_msgSend_840( - ffi.Pointer obj, - ffi.Pointer sel, - int offset, - ffi.Pointer> error, - ) { - return __objc_msgSend_840(obj, sel, offset, error); - } - - late final __objc_msgSend_840Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLongLong, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_840 = __objc_msgSend_840Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>, - )>(); - - late final _sel_truncateAtOffset_error_1 = objc.registerName( - "truncateAtOffset:error:", - ); - late final _sel_synchronizeAndReturnError_1 = objc.registerName( - "synchronizeAndReturnError:", - ); - late final _sel_closeAndReturnError_1 = objc.registerName( - "closeAndReturnError:", - ); - late final _sel_fileHandleWithStandardInput1 = objc.registerName( - "fileHandleWithStandardInput", - ); - ffi.Pointer _objc_msgSend_841( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_841(obj, sel); - } - - late final __objc_msgSend_841Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_841 = __objc_msgSend_841Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_fileHandleWithStandardOutput1 = objc.registerName( - "fileHandleWithStandardOutput", - ); - late final _sel_fileHandleWithStandardError1 = objc.registerName( - "fileHandleWithStandardError", - ); - late final _sel_fileHandleWithNullDevice1 = objc.registerName( - "fileHandleWithNullDevice", - ); - late final _sel_fileHandleForReadingAtPath_1 = objc.registerName( - "fileHandleForReadingAtPath:", - ); - late final _sel_fileHandleForWritingAtPath_1 = objc.registerName( - "fileHandleForWritingAtPath:", - ); - late final _sel_fileHandleForUpdatingAtPath_1 = objc.registerName( - "fileHandleForUpdatingAtPath:", - ); - late final _sel_fileHandleForReadingFromURL_error_1 = objc.registerName( - "fileHandleForReadingFromURL:error:", - ); - instancetype _objc_msgSend_842( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, - ffi.Pointer> error, - ) { - return __objc_msgSend_842(obj, sel, url, error); - } - - late final __objc_msgSend_842Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_842 = __objc_msgSend_842Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>(); - - late final _sel_fileHandleForWritingToURL_error_1 = objc.registerName( - "fileHandleForWritingToURL:error:", - ); - late final _sel_fileHandleForUpdatingURL_error_1 = objc.registerName( - "fileHandleForUpdatingURL:error:", - ); - late final _sel_readInBackgroundAndNotifyForModes_1 = objc.registerName( - "readInBackgroundAndNotifyForModes:", - ); - void _objc_msgSend_843( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer modes, - ) { - return __objc_msgSend_843(obj, sel, modes); - } - - late final __objc_msgSend_843Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_843 = __objc_msgSend_843Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_readInBackgroundAndNotify1 = objc.registerName( - "readInBackgroundAndNotify", - ); - late final _sel_readToEndOfFileInBackgroundAndNotifyForModes_1 = - objc.registerName("readToEndOfFileInBackgroundAndNotifyForModes:"); - late final _sel_readToEndOfFileInBackgroundAndNotify1 = objc.registerName( - "readToEndOfFileInBackgroundAndNotify", - ); - late final _sel_acceptConnectionInBackgroundAndNotifyForModes_1 = - objc.registerName("acceptConnectionInBackgroundAndNotifyForModes:"); - late final _sel_acceptConnectionInBackgroundAndNotify1 = objc.registerName( - "acceptConnectionInBackgroundAndNotify", - ); - late final _sel_waitForDataInBackgroundAndNotifyForModes_1 = - objc.registerName("waitForDataInBackgroundAndNotifyForModes:"); - late final _sel_waitForDataInBackgroundAndNotify1 = objc.registerName( - "waitForDataInBackgroundAndNotify", - ); - late final _sel_readabilityHandler1 = objc.registerName("readabilityHandler"); - ffi.Pointer _objc_msgSend_844( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_844(obj, sel); - } - - late final __objc_msgSend_844Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_844 = __objc_msgSend_844Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_setReadabilityHandler_1 = objc.registerName( - "setReadabilityHandler:", - ); - void _objc_msgSend_845( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, - ) { - return __objc_msgSend_845(obj, sel, value); - } - - late final __objc_msgSend_845Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_845 = __objc_msgSend_845Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_writeabilityHandler1 = objc.registerName( - "writeabilityHandler", - ); - late final _sel_setWriteabilityHandler_1 = objc.registerName( - "setWriteabilityHandler:", - ); - late final _sel_initWithFileDescriptor_1 = objc.registerName( - "initWithFileDescriptor:", - ); - instancetype _objc_msgSend_846( - ffi.Pointer obj, - ffi.Pointer sel, - int fd, - ) { - return __objc_msgSend_846(obj, sel, fd); - } - - late final __objc_msgSend_846Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int, - )>>('objc_msgSend'); - late final __objc_msgSend_846 = __objc_msgSend_846Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_fileDescriptor1 = objc.registerName("fileDescriptor"); - late final _sel_readDataToEndOfFile1 = objc.registerName( - "readDataToEndOfFile", - ); - late final _sel_readDataOfLength_1 = objc.registerName("readDataOfLength:"); - ffi.Pointer _objc_msgSend_847( - ffi.Pointer obj, - ffi.Pointer sel, - int length, - ) { - return __objc_msgSend_847(obj, sel, length); - } - - late final __objc_msgSend_847Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - )>>('objc_msgSend'); - late final __objc_msgSend_847 = __objc_msgSend_847Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_offsetInFile1 = objc.registerName("offsetInFile"); - late final _sel_seekToEndOfFile1 = objc.registerName("seekToEndOfFile"); - late final _sel_seekToFileOffset_1 = objc.registerName("seekToFileOffset:"); - void _objc_msgSend_848( - ffi.Pointer obj, - ffi.Pointer sel, - int offset, - ) { - return __objc_msgSend_848(obj, sel, offset); - } - - late final __objc_msgSend_848Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLongLong, - )>>('objc_msgSend'); - late final __objc_msgSend_848 = __objc_msgSend_848Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_truncateFileAtOffset_1 = objc.registerName( - "truncateFileAtOffset:", - ); - late final _sel_synchronizeFile1 = objc.registerName("synchronizeFile"); - late final _sel_closeFile1 = objc.registerName("closeFile"); - late final _class_NSHTTPCookieStorage1 = objc.getClass("NSHTTPCookieStorage"); - late final _sel_sharedHTTPCookieStorage1 = objc.registerName( - "sharedHTTPCookieStorage", - ); - ffi.Pointer _objc_msgSend_849( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_849(obj, sel); - } - - late final __objc_msgSend_849Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_849 = __objc_msgSend_849Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_sharedCookieStorageForGroupContainerIdentifier_1 = - objc.registerName("sharedCookieStorageForGroupContainerIdentifier:"); - ffi.Pointer _objc_msgSend_850( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer identifier, - ) { - return __objc_msgSend_850(obj, sel, identifier); - } - - late final __objc_msgSend_850Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_850 = __objc_msgSend_850Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_cookies1 = objc.registerName("cookies"); - late final _class_NSHTTPCookie1 = objc.getClass("NSHTTPCookie"); - late final _sel_initWithProperties_1 = objc.registerName( - "initWithProperties:", - ); - instancetype _objc_msgSend_851( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer properties, - ) { - return __objc_msgSend_851(obj, sel, properties); - } - - late final __objc_msgSend_851Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_851 = __objc_msgSend_851Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_cookieWithProperties_1 = objc.registerName( - "cookieWithProperties:", - ); - ffi.Pointer _objc_msgSend_852( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer properties, - ) { - return __objc_msgSend_852(obj, sel, properties); - } - - late final __objc_msgSend_852Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_852 = __objc_msgSend_852Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_requestHeaderFieldsWithCookies_1 = objc.registerName( - "requestHeaderFieldsWithCookies:", - ); - late final _sel_cookiesWithResponseHeaderFields_forURL_1 = objc.registerName( - "cookiesWithResponseHeaderFields:forURL:", - ); - ffi.Pointer _objc_msgSend_853( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer headerFields, - ffi.Pointer URL, - ) { - return __objc_msgSend_853(obj, sel, headerFields, URL); - } - - late final __objc_msgSend_853Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_853 = __objc_msgSend_853Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_properties1 = objc.registerName("properties"); - late final _sel_value1 = objc.registerName("value"); - late final _sel_expiresDate1 = objc.registerName("expiresDate"); - late final _sel_isSessionOnly1 = objc.registerName("isSessionOnly"); - late final _sel_isSecure1 = objc.registerName("isSecure"); - late final _sel_isHTTPOnly1 = objc.registerName("isHTTPOnly"); - late final _sel_comment1 = objc.registerName("comment"); - late final _sel_commentURL1 = objc.registerName("commentURL"); - late final _sel_portList1 = objc.registerName("portList"); - late final _sel_sameSitePolicy1 = objc.registerName("sameSitePolicy"); - late final _sel_setCookie_1 = objc.registerName("setCookie:"); - void _objc_msgSend_854( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer cookie, - ) { - return __objc_msgSend_854(obj, sel, cookie); - } - - late final __objc_msgSend_854Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_854 = __objc_msgSend_854Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_deleteCookie_1 = objc.registerName("deleteCookie:"); - late final _sel_removeCookiesSinceDate_1 = objc.registerName( - "removeCookiesSinceDate:", - ); - late final _sel_cookiesForURL_1 = objc.registerName("cookiesForURL:"); - late final _sel_setCookies_forURL_mainDocumentURL_1 = objc.registerName( - "setCookies:forURL:mainDocumentURL:", - ); - void _objc_msgSend_855( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer cookies, - ffi.Pointer URL, - ffi.Pointer mainDocumentURL, - ) { - return __objc_msgSend_855(obj, sel, cookies, URL, mainDocumentURL); - } - - late final __objc_msgSend_855Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_855 = __objc_msgSend_855Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_cookieAcceptPolicy1 = objc.registerName("cookieAcceptPolicy"); - int _objc_msgSend_856( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_856(obj, sel); - } - - late final __objc_msgSend_856Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_856 = __objc_msgSend_856Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_setCookieAcceptPolicy_1 = objc.registerName( - "setCookieAcceptPolicy:", - ); - void _objc_msgSend_857( - ffi.Pointer obj, - ffi.Pointer sel, - int value, - ) { - return __objc_msgSend_857(obj, sel, value); - } - - late final __objc_msgSend_857Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - )>>('objc_msgSend'); - late final __objc_msgSend_857 = __objc_msgSend_857Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_sortedCookiesUsingDescriptors_1 = objc.registerName( - "sortedCookiesUsingDescriptors:", - ); - late final _class_NSURLSessionTask1 = objc.getClass("NSURLSessionTask"); - late final _sel_taskIdentifier1 = objc.registerName("taskIdentifier"); - late final _class_NSURLRequest1 = objc.getClass("NSURLRequest"); - late final _sel_requestWithURL_1 = objc.registerName("requestWithURL:"); - late final _sel_supportsSecureCoding1 = objc.registerName( - "supportsSecureCoding", - ); - late final _sel_requestWithURL_cachePolicy_timeoutInterval_1 = - objc.registerName("requestWithURL:cachePolicy:timeoutInterval:"); - instancetype _objc_msgSend_858( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer URL, - int cachePolicy, - double timeoutInterval, - ) { - return __objc_msgSend_858(obj, sel, URL, cachePolicy, timeoutInterval); - } - - late final __objc_msgSend_858Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Double, - )>>('objc_msgSend'); - late final __objc_msgSend_858 = __objc_msgSend_858Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - double, - )>(); - - late final _sel_initWithURL_cachePolicy_timeoutInterval_1 = objc.registerName( - "initWithURL:cachePolicy:timeoutInterval:", - ); - late final _sel_URL1 = objc.registerName("URL"); - late final _sel_cachePolicy1 = objc.registerName("cachePolicy"); - int _objc_msgSend_859( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_859(obj, sel); - } - - late final __objc_msgSend_859Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_859 = __objc_msgSend_859Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_timeoutInterval1 = objc.registerName("timeoutInterval"); - late final _sel_mainDocumentURL1 = objc.registerName("mainDocumentURL"); - late final _sel_networkServiceType1 = objc.registerName("networkServiceType"); - int _objc_msgSend_860( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_860(obj, sel); - } - - late final __objc_msgSend_860Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_860 = __objc_msgSend_860Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_allowsCellularAccess1 = objc.registerName( - "allowsCellularAccess", - ); - late final _sel_allowsExpensiveNetworkAccess1 = objc.registerName( - "allowsExpensiveNetworkAccess", - ); - late final _sel_allowsConstrainedNetworkAccess1 = objc.registerName( - "allowsConstrainedNetworkAccess", - ); - late final _sel_assumesHTTP3Capable1 = objc.registerName( - "assumesHTTP3Capable", - ); - late final _sel_attribution1 = objc.registerName("attribution"); - int _objc_msgSend_861( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_861(obj, sel); - } - - late final __objc_msgSend_861Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_861 = __objc_msgSend_861Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_requiresDNSSECValidation1 = objc.registerName( - "requiresDNSSECValidation", - ); - late final _sel_HTTPMethod1 = objc.registerName("HTTPMethod"); - late final _sel_allHTTPHeaderFields1 = objc.registerName( - "allHTTPHeaderFields", - ); - late final _sel_valueForHTTPHeaderField_1 = objc.registerName( - "valueForHTTPHeaderField:", - ); - late final _sel_HTTPBody1 = objc.registerName("HTTPBody"); - late final _class_NSInputStream1 = objc.getClass("NSInputStream"); - late final _class_NSStream1 = objc.getClass("NSStream"); - late final _sel_open1 = objc.registerName("open"); - late final _sel_close1 = objc.registerName("close"); - bool _objc_msgSend_862( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer property, - ffi.Pointer key, - ) { - return __objc_msgSend_862(obj, sel, property, key); - } - - late final __objc_msgSend_862Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_862 = __objc_msgSend_862Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_streamStatus1 = objc.registerName("streamStatus"); - int _objc_msgSend_863( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_863(obj, sel); - } - - late final __objc_msgSend_863Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_863 = __objc_msgSend_863Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_streamError1 = objc.registerName("streamError"); - late final _class_NSOutputStream1 = objc.getClass("NSOutputStream"); - late final _sel_write_maxLength_1 = objc.registerName("write:maxLength:"); - int _objc_msgSend_864( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer buffer, - int len, - ) { - return __objc_msgSend_864(obj, sel, buffer, len); - } - - late final __objc_msgSend_864Ptr = _lookup< - ffi.NativeFunction< - ffi.Long Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - )>>('objc_msgSend'); - late final __objc_msgSend_864 = __objc_msgSend_864Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_hasSpaceAvailable1 = objc.registerName("hasSpaceAvailable"); - late final _sel_initToMemory1 = objc.registerName("initToMemory"); - late final _sel_initToBuffer_capacity_1 = objc.registerName( - "initToBuffer:capacity:", - ); - instancetype _objc_msgSend_865( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer buffer, - int capacity, - ) { - return __objc_msgSend_865(obj, sel, buffer, capacity); - } - - late final __objc_msgSend_865Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - )>>('objc_msgSend'); - late final __objc_msgSend_865 = __objc_msgSend_865Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_initWithURL_append_1 = objc.registerName( - "initWithURL:append:", - ); - instancetype _objc_msgSend_866( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, - bool shouldAppend, - ) { - return __objc_msgSend_866(obj, sel, url, shouldAppend); - } - - late final __objc_msgSend_866Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - )>>('objc_msgSend'); - late final __objc_msgSend_866 = __objc_msgSend_866Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - )>(); - - late final _sel_initToFileAtPath_append_1 = objc.registerName( - "initToFileAtPath:append:", - ); - late final _sel_outputStreamToMemory1 = objc.registerName( - "outputStreamToMemory", - ); - late final _sel_outputStreamToBuffer_capacity_1 = objc.registerName( - "outputStreamToBuffer:capacity:", - ); - late final _sel_outputStreamToFileAtPath_append_1 = objc.registerName( - "outputStreamToFileAtPath:append:", - ); - late final _sel_outputStreamWithURL_append_1 = objc.registerName( - "outputStreamWithURL:append:", - ); - late final _sel_getStreamsToHostWithName_port_inputStream_outputStream_1 = - objc.registerName( - "getStreamsToHostWithName:port:inputStream:outputStream:", - ); - void _objc_msgSend_867( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer hostname, - int port, - ffi.Pointer> inputStream, - ffi.Pointer> outputStream, - ) { - return __objc_msgSend_867( - obj, - sel, - hostname, - port, - inputStream, - outputStream, - ); - } - - late final __objc_msgSend_867Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Long, - ffi.Pointer>, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_867 = __objc_msgSend_867Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>, - ffi.Pointer>, - )>(); - - late final _class_NSHost1 = objc.getClass("NSHost"); - late final _sel_currentHost1 = objc.registerName("currentHost"); - late final _sel_hostWithName_1 = objc.registerName("hostWithName:"); - instancetype _objc_msgSend_868( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer name, - ) { - return __objc_msgSend_868(obj, sel, name); - } - - late final __objc_msgSend_868Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_868 = __objc_msgSend_868Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_hostWithAddress_1 = objc.registerName("hostWithAddress:"); - late final _sel_isEqualToHost_1 = objc.registerName("isEqualToHost:"); - bool _objc_msgSend_869( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aHost, - ) { - return __objc_msgSend_869(obj, sel, aHost); - } - - late final __objc_msgSend_869Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_869 = __objc_msgSend_869Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_names1 = objc.registerName("names"); - late final _sel_address1 = objc.registerName("address"); - late final _sel_addresses1 = objc.registerName("addresses"); - late final _sel_localizedName1 = objc.registerName("localizedName"); - late final _sel_setHostCacheEnabled_1 = objc.registerName( - "setHostCacheEnabled:", - ); - void _objc_msgSend_870( - ffi.Pointer obj, - ffi.Pointer sel, - bool flag, - ) { - return __objc_msgSend_870(obj, sel, flag); - } - - late final __objc_msgSend_870Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - )>>('objc_msgSend'); - late final __objc_msgSend_870 = __objc_msgSend_870Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - bool, - )>(); - - late final _sel_isHostCacheEnabled1 = objc.registerName("isHostCacheEnabled"); - late final _sel_flushHostCache1 = objc.registerName("flushHostCache"); - late final _sel_getStreamsToHost_port_inputStream_outputStream_1 = - objc.registerName("getStreamsToHost:port:inputStream:outputStream:"); - void _objc_msgSend_871( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer host, - int port, - ffi.Pointer> inputStream, - ffi.Pointer> outputStream, - ) { - return __objc_msgSend_871(obj, sel, host, port, inputStream, outputStream); - } - - late final __objc_msgSend_871Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Long, - ffi.Pointer>, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_871 = __objc_msgSend_871Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>, - ffi.Pointer>, - )>(); - - late final _sel_getBoundStreamsWithBufferSize_inputStream_outputStream_1 = - objc.registerName( - "getBoundStreamsWithBufferSize:inputStream:outputStream:", - ); - void _objc_msgSend_872( - ffi.Pointer obj, - ffi.Pointer sel, - int bufferSize, - ffi.Pointer> inputStream, - ffi.Pointer> outputStream, - ) { - return __objc_msgSend_872(obj, sel, bufferSize, inputStream, outputStream); - } - - late final __objc_msgSend_872Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer>, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_872 = __objc_msgSend_872Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>, - ffi.Pointer>, - )>(); - - late final _sel_read_maxLength_1 = objc.registerName("read:maxLength:"); - late final _sel_getBuffer_length_1 = objc.registerName("getBuffer:length:"); - bool _objc_msgSend_873( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer> buffer, - ffi.Pointer len, - ) { - return __objc_msgSend_873(obj, sel, buffer, len); - } - - late final __objc_msgSend_873Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_873 = __objc_msgSend_873Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer, - )>(); - - late final _sel_hasBytesAvailable1 = objc.registerName("hasBytesAvailable"); - late final _sel_initWithFileAtPath_1 = objc.registerName( - "initWithFileAtPath:", - ); - late final _sel_inputStreamWithData_1 = objc.registerName( - "inputStreamWithData:", - ); - instancetype _objc_msgSend_874( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer data, - ) { - return __objc_msgSend_874(obj, sel, data); - } - - late final __objc_msgSend_874Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_874 = __objc_msgSend_874Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_inputStreamWithFileAtPath_1 = objc.registerName( - "inputStreamWithFileAtPath:", - ); - late final _sel_inputStreamWithURL_1 = objc.registerName( - "inputStreamWithURL:", - ); - late final _sel_HTTPBodyStream1 = objc.registerName("HTTPBodyStream"); - ffi.Pointer _objc_msgSend_875( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_875(obj, sel); - } - - late final __objc_msgSend_875Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_875 = __objc_msgSend_875Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_HTTPShouldHandleCookies1 = objc.registerName( - "HTTPShouldHandleCookies", - ); - late final _sel_HTTPShouldUsePipelining1 = objc.registerName( - "HTTPShouldUsePipelining", - ); - late final _sel_originalRequest1 = objc.registerName("originalRequest"); - ffi.Pointer _objc_msgSend_876( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_876(obj, sel); - } - - late final __objc_msgSend_876Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_876 = __objc_msgSend_876Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_currentRequest1 = objc.registerName("currentRequest"); - late final _class_NSURLResponse1 = objc.getClass("NSURLResponse"); - late final _sel_initWithURL_MIMEType_expectedContentLength_textEncodingName_1 = - objc.registerName( - "initWithURL:MIMEType:expectedContentLength:textEncodingName:", - ); - instancetype _objc_msgSend_877( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer URL, - ffi.Pointer MIMEType, - int length, - ffi.Pointer name, - ) { - return __objc_msgSend_877(obj, sel, URL, MIMEType, length, name); - } - - late final __objc_msgSend_877Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Long, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_877 = __objc_msgSend_877Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - )>(); - - late final _sel_MIMEType1 = objc.registerName("MIMEType"); - late final _sel_expectedContentLength1 = objc.registerName( - "expectedContentLength", - ); - late final _sel_textEncodingName1 = objc.registerName("textEncodingName"); - late final _sel_suggestedFilename1 = objc.registerName("suggestedFilename"); - late final _sel_response1 = objc.registerName("response"); - ffi.Pointer _objc_msgSend_878( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_878(obj, sel); - } - - late final __objc_msgSend_878Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_878 = __objc_msgSend_878Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_progress1 = objc.registerName("progress"); - ffi.Pointer _objc_msgSend_879( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_879(obj, sel); - } - - late final __objc_msgSend_879Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_879 = __objc_msgSend_879Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_earliestBeginDate1 = objc.registerName("earliestBeginDate"); - late final _sel_setEarliestBeginDate_1 = objc.registerName( - "setEarliestBeginDate:", - ); - late final _sel_countOfBytesClientExpectsToSend1 = objc.registerName( - "countOfBytesClientExpectsToSend", - ); - late final _sel_setCountOfBytesClientExpectsToSend_1 = objc.registerName( - "setCountOfBytesClientExpectsToSend:", - ); - late final _sel_countOfBytesClientExpectsToReceive1 = objc.registerName( - "countOfBytesClientExpectsToReceive", - ); - late final _sel_setCountOfBytesClientExpectsToReceive_1 = objc.registerName( - "setCountOfBytesClientExpectsToReceive:", - ); - late final _sel_countOfBytesSent1 = objc.registerName("countOfBytesSent"); - late final _sel_countOfBytesReceived1 = objc.registerName( - "countOfBytesReceived", - ); - late final _sel_countOfBytesExpectedToSend1 = objc.registerName( - "countOfBytesExpectedToSend", - ); - late final _sel_countOfBytesExpectedToReceive1 = objc.registerName( - "countOfBytesExpectedToReceive", - ); - late final _sel_taskDescription1 = objc.registerName("taskDescription"); - late final _sel_setTaskDescription_1 = objc.registerName( - "setTaskDescription:", - ); - late final _sel_state1 = objc.registerName("state"); - int _objc_msgSend_880( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_880(obj, sel); - } - - late final __objc_msgSend_880Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_880 = __objc_msgSend_880Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_suspend1 = objc.registerName("suspend"); - late final _sel_priority1 = objc.registerName("priority"); - late final _sel_setPriority_1 = objc.registerName("setPriority:"); - void _objc_msgSend_881( - ffi.Pointer obj, - ffi.Pointer sel, - double value, - ) { - return __objc_msgSend_881(obj, sel, value); - } - - late final __objc_msgSend_881Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Float, - )>>('objc_msgSend'); - late final __objc_msgSend_881 = __objc_msgSend_881Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - double, - )>(); - - late final _sel_prefersIncrementalDelivery1 = objc.registerName( - "prefersIncrementalDelivery", - ); - late final _sel_setPrefersIncrementalDelivery_1 = objc.registerName( - "setPrefersIncrementalDelivery:", - ); - late final _sel_storeCookies_forTask_1 = objc.registerName( - "storeCookies:forTask:", - ); - void _objc_msgSend_882( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer cookies, - ffi.Pointer task, - ) { - return __objc_msgSend_882(obj, sel, cookies, task); - } - - late final __objc_msgSend_882Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_882 = __objc_msgSend_882Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_getCookiesForTask_completionHandler_1 = objc.registerName( - "getCookiesForTask:completionHandler:", - ); - void _objc_msgSend_883( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer task, - ffi.Pointer completionHandler, - ) { - return __objc_msgSend_883(obj, sel, task, completionHandler); - } - - late final __objc_msgSend_883Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_883 = __objc_msgSend_883Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _class_NSIndexPath1 = objc.getClass("NSIndexPath"); - late final _sel_indexPathWithIndex_1 = objc.registerName( - "indexPathWithIndex:", - ); - late final _sel_indexPathWithIndexes_length_1 = objc.registerName( - "indexPathWithIndexes:length:", - ); - instancetype _objc_msgSend_884( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer indexes, - int length, - ) { - return __objc_msgSend_884(obj, sel, indexes, length); - } - - late final __objc_msgSend_884Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - )>>('objc_msgSend'); - late final __objc_msgSend_884 = __objc_msgSend_884Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_initWithIndexes_length_1 = objc.registerName( - "initWithIndexes:length:", - ); - late final _sel_indexPathByAddingIndex_1 = objc.registerName( - "indexPathByAddingIndex:", - ); - ffi.Pointer _objc_msgSend_885( - ffi.Pointer obj, - ffi.Pointer sel, - int index, - ) { - return __objc_msgSend_885(obj, sel, index); - } - - late final __objc_msgSend_885Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - )>>('objc_msgSend'); - late final __objc_msgSend_885 = __objc_msgSend_885Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_indexPathByRemovingLastIndex1 = objc.registerName( - "indexPathByRemovingLastIndex", - ); - ffi.Pointer _objc_msgSend_886( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_886(obj, sel); - } - - late final __objc_msgSend_886Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_886 = __objc_msgSend_886Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_indexAtPosition_1 = objc.registerName("indexAtPosition:"); - late final _sel_getIndexes_range_1 = objc.registerName("getIndexes:range:"); - void _objc_msgSend_887( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer indexes, - _NSRange positionRange, - ) { - return __objc_msgSend_887(obj, sel, indexes, positionRange); - } - - late final __objc_msgSend_887Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - _NSRange, - )>>('objc_msgSend'); - late final __objc_msgSend_887 = __objc_msgSend_887Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - _NSRange, - )>(); - - int _objc_msgSend_888( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer otherObject, - ) { - return __objc_msgSend_888(obj, sel, otherObject); - } - - late final __objc_msgSend_888Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_888 = __objc_msgSend_888Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_getIndexes_1 = objc.registerName("getIndexes:"); - void _objc_msgSend_889( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer indexes, - ) { - return __objc_msgSend_889(obj, sel, indexes); - } - - late final __objc_msgSend_889Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_889 = __objc_msgSend_889Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _class_NSInflectionRule1 = objc.getClass("NSInflectionRule"); - late final _sel_automaticRule1 = objc.registerName("automaticRule"); - ffi.Pointer _objc_msgSend_890( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_890(obj, sel); - } - - late final __objc_msgSend_890Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_890 = __objc_msgSend_890Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_canInflectLanguage_1 = objc.registerName( - "canInflectLanguage:", - ); - late final _sel_canInflectPreferredLocalization1 = objc.registerName( - "canInflectPreferredLocalization", - ); - late final _class_NSMorphology1 = objc.getClass("NSMorphology"); - late final _sel_grammaticalGender1 = objc.registerName("grammaticalGender"); - int _objc_msgSend_891( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_891(obj, sel); - } - - late final __objc_msgSend_891Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_891 = __objc_msgSend_891Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_setGrammaticalGender_1 = objc.registerName( - "setGrammaticalGender:", - ); - void _objc_msgSend_892( - ffi.Pointer obj, - ffi.Pointer sel, - int value, - ) { - return __objc_msgSend_892(obj, sel, value); - } - - late final __objc_msgSend_892Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - )>>('objc_msgSend'); - late final __objc_msgSend_892 = __objc_msgSend_892Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_partOfSpeech1 = objc.registerName("partOfSpeech"); - int _objc_msgSend_893( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_893(obj, sel); - } - - late final __objc_msgSend_893Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_893 = __objc_msgSend_893Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_setPartOfSpeech_1 = objc.registerName("setPartOfSpeech:"); - void _objc_msgSend_894( - ffi.Pointer obj, - ffi.Pointer sel, - int value, - ) { - return __objc_msgSend_894(obj, sel, value); - } - - late final __objc_msgSend_894Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - )>>('objc_msgSend'); - late final __objc_msgSend_894 = __objc_msgSend_894Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_number1 = objc.registerName("number"); - int _objc_msgSend_895( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_895(obj, sel); - } - - late final __objc_msgSend_895Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_895 = __objc_msgSend_895Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_setNumber_1 = objc.registerName("setNumber:"); - void _objc_msgSend_896( - ffi.Pointer obj, - ffi.Pointer sel, - int value, - ) { - return __objc_msgSend_896(obj, sel, value); - } - - late final __objc_msgSend_896Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - )>>('objc_msgSend'); - late final __objc_msgSend_896 = __objc_msgSend_896Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_grammaticalCase1 = objc.registerName("grammaticalCase"); - int _objc_msgSend_897( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_897(obj, sel); - } - - late final __objc_msgSend_897Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_897 = __objc_msgSend_897Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_setGrammaticalCase_1 = objc.registerName( - "setGrammaticalCase:", - ); - void _objc_msgSend_898( - ffi.Pointer obj, - ffi.Pointer sel, - int value, - ) { - return __objc_msgSend_898(obj, sel, value); - } - - late final __objc_msgSend_898Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - )>>('objc_msgSend'); - late final __objc_msgSend_898 = __objc_msgSend_898Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_determination1 = objc.registerName("determination"); - int _objc_msgSend_899( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_899(obj, sel); - } - - late final __objc_msgSend_899Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_899 = __objc_msgSend_899Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_setDetermination_1 = objc.registerName("setDetermination:"); - void _objc_msgSend_900( - ffi.Pointer obj, - ffi.Pointer sel, - int value, - ) { - return __objc_msgSend_900(obj, sel, value); - } - - late final __objc_msgSend_900Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - )>>('objc_msgSend'); - late final __objc_msgSend_900 = __objc_msgSend_900Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_grammaticalPerson1 = objc.registerName("grammaticalPerson"); - int _objc_msgSend_901( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_901(obj, sel); - } - - late final __objc_msgSend_901Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_901 = __objc_msgSend_901Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_setGrammaticalPerson_1 = objc.registerName( - "setGrammaticalPerson:", - ); - void _objc_msgSend_902( - ffi.Pointer obj, - ffi.Pointer sel, - int value, - ) { - return __objc_msgSend_902(obj, sel, value); - } - - late final __objc_msgSend_902Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - )>>('objc_msgSend'); - late final __objc_msgSend_902 = __objc_msgSend_902Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_pronounType1 = objc.registerName("pronounType"); - int _objc_msgSend_903( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_903(obj, sel); - } - - late final __objc_msgSend_903Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_903 = __objc_msgSend_903Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_setPronounType_1 = objc.registerName("setPronounType:"); - void _objc_msgSend_904( - ffi.Pointer obj, - ffi.Pointer sel, - int value, - ) { - return __objc_msgSend_904(obj, sel, value); - } - - late final __objc_msgSend_904Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - )>>('objc_msgSend'); - late final __objc_msgSend_904 = __objc_msgSend_904Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_definiteness1 = objc.registerName("definiteness"); - int _objc_msgSend_905( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_905(obj, sel); - } - - late final __objc_msgSend_905Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_905 = __objc_msgSend_905Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_setDefiniteness_1 = objc.registerName("setDefiniteness:"); - void _objc_msgSend_906( - ffi.Pointer obj, - ffi.Pointer sel, - int value, - ) { - return __objc_msgSend_906(obj, sel, value); - } - - late final __objc_msgSend_906Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - )>>('objc_msgSend'); - late final __objc_msgSend_906 = __objc_msgSend_906Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _class_NSMorphologyCustomPronoun1 = objc.getClass( - "NSMorphologyCustomPronoun", - ); - late final _sel_isSupportedForLanguage_1 = objc.registerName( - "isSupportedForLanguage:", - ); - late final _sel_requiredKeysForLanguage_1 = objc.registerName( - "requiredKeysForLanguage:", - ); - late final _sel_subjectForm1 = objc.registerName("subjectForm"); - late final _sel_setSubjectForm_1 = objc.registerName("setSubjectForm:"); - late final _sel_objectForm1 = objc.registerName("objectForm"); - late final _sel_setObjectForm_1 = objc.registerName("setObjectForm:"); - late final _sel_possessiveForm1 = objc.registerName("possessiveForm"); - late final _sel_setPossessiveForm_1 = objc.registerName("setPossessiveForm:"); - late final _sel_possessiveAdjectiveForm1 = objc.registerName( - "possessiveAdjectiveForm", - ); - late final _sel_setPossessiveAdjectiveForm_1 = objc.registerName( - "setPossessiveAdjectiveForm:", - ); - late final _sel_reflexiveForm1 = objc.registerName("reflexiveForm"); - late final _sel_setReflexiveForm_1 = objc.registerName("setReflexiveForm:"); - late final _sel_customPronounForLanguage_1 = objc.registerName( - "customPronounForLanguage:", - ); - ffi.Pointer _objc_msgSend_907( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer language, - ) { - return __objc_msgSend_907(obj, sel, language); - } - - late final __objc_msgSend_907Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_907 = __objc_msgSend_907Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_setCustomPronoun_forLanguage_error_1 = objc.registerName( - "setCustomPronoun:forLanguage:error:", - ); - bool _objc_msgSend_908( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer features, - ffi.Pointer language, - ffi.Pointer> error, - ) { - return __objc_msgSend_908(obj, sel, features, language, error); - } - - late final __objc_msgSend_908Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_908 = __objc_msgSend_908Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>(); - - late final _sel_isUnspecified1 = objc.registerName("isUnspecified"); - late final _sel_userMorphology1 = objc.registerName("userMorphology"); - ffi.Pointer _objc_msgSend_909( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_909(obj, sel); - } - - late final __objc_msgSend_909Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_909 = __objc_msgSend_909Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _class_NSOperationQueue1 = objc.getClass("NSOperationQueue"); - late final _class_NSOperation1 = objc.getClass("NSOperation"); - late final _sel_isConcurrent1 = objc.registerName("isConcurrent"); - late final _sel_isAsynchronous1 = objc.registerName("isAsynchronous"); - late final _sel_isReady1 = objc.registerName("isReady"); - late final _sel_addDependency_1 = objc.registerName("addDependency:"); - void _objc_msgSend_910( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer op, - ) { - return __objc_msgSend_910(obj, sel, op); - } - - late final __objc_msgSend_910Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_910 = __objc_msgSend_910Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_removeDependency_1 = objc.registerName("removeDependency:"); - late final _sel_dependencies1 = objc.registerName("dependencies"); - late final _sel_queuePriority1 = objc.registerName("queuePriority"); - int _objc_msgSend_911( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_911(obj, sel); - } - - late final __objc_msgSend_911Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_911 = __objc_msgSend_911Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_setQueuePriority_1 = objc.registerName("setQueuePriority:"); - void _objc_msgSend_912( - ffi.Pointer obj, - ffi.Pointer sel, - int value, - ) { - return __objc_msgSend_912(obj, sel, value); - } - - late final __objc_msgSend_912Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - )>>('objc_msgSend'); - late final __objc_msgSend_912 = __objc_msgSend_912Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_completionBlock1 = objc.registerName("completionBlock"); - late final _sel_setCompletionBlock_1 = objc.registerName( - "setCompletionBlock:", - ); - late final _sel_waitUntilFinished1 = objc.registerName("waitUntilFinished"); - late final _sel_addOperation_1 = objc.registerName("addOperation:"); - late final _sel_addOperations_waitUntilFinished_1 = objc.registerName( - "addOperations:waitUntilFinished:", - ); - void _objc_msgSend_913( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer ops, - bool wait, - ) { - return __objc_msgSend_913(obj, sel, ops, wait); - } - - late final __objc_msgSend_913Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - )>>('objc_msgSend'); - late final __objc_msgSend_913 = __objc_msgSend_913Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - )>(); - - late final _sel_addOperationWithBlock_1 = objc.registerName( - "addOperationWithBlock:", - ); - late final _sel_addBarrierBlock_1 = objc.registerName("addBarrierBlock:"); - late final _sel_maxConcurrentOperationCount1 = objc.registerName( - "maxConcurrentOperationCount", - ); - late final _sel_setMaxConcurrentOperationCount_1 = objc.registerName( - "setMaxConcurrentOperationCount:", - ); - late final _sel_isSuspended1 = objc.registerName("isSuspended"); - late final _sel_setSuspended_1 = objc.registerName("setSuspended:"); - late final _sel_underlyingQueue1 = objc.registerName("underlyingQueue"); - ffi.Pointer _objc_msgSend_914( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_914(obj, sel); - } - - late final __objc_msgSend_914Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_914 = __objc_msgSend_914Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_setUnderlyingQueue_1 = objc.registerName( - "setUnderlyingQueue:", - ); - void _objc_msgSend_915( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, - ) { - return __objc_msgSend_915(obj, sel, value); - } - - late final __objc_msgSend_915Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_915 = __objc_msgSend_915Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_cancelAllOperations1 = objc.registerName( - "cancelAllOperations", - ); - late final _sel_waitUntilAllOperationsAreFinished1 = objc.registerName( - "waitUntilAllOperationsAreFinished", - ); - late final _sel_currentQueue1 = objc.registerName("currentQueue"); - ffi.Pointer _objc_msgSend_916( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_916(obj, sel); - } - - late final __objc_msgSend_916Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_916 = __objc_msgSend_916Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_mainQueue1 = objc.registerName("mainQueue"); - ffi.Pointer _objc_msgSend_917( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_917(obj, sel); - } - - late final __objc_msgSend_917Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_917 = __objc_msgSend_917Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_operations1 = objc.registerName("operations"); - late final _sel_operationCount1 = objc.registerName("operationCount"); - late final _class_NSPointerArray1 = objc.getClass("NSPointerArray"); - late final _sel_initWithOptions_1 = objc.registerName("initWithOptions:"); - instancetype _objc_msgSend_918( - ffi.Pointer obj, - ffi.Pointer sel, - int options, - ) { - return __objc_msgSend_918(obj, sel, options); - } - - late final __objc_msgSend_918Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - )>>('objc_msgSend'); - late final __objc_msgSend_918 = __objc_msgSend_918Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _class_NSPointerFunctions1 = objc.getClass("NSPointerFunctions"); - late final _sel_pointerFunctionsWithOptions_1 = objc.registerName( - "pointerFunctionsWithOptions:", - ); - ffi.Pointer _objc_msgSend_919( - ffi.Pointer obj, - ffi.Pointer sel, - int options, - ) { - return __objc_msgSend_919(obj, sel, options); - } - - late final __objc_msgSend_919Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - )>>('objc_msgSend'); - late final __objc_msgSend_919 = __objc_msgSend_919Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_hashFunction1 = objc.registerName("hashFunction"); - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function(ffi.Pointer)>>, - )>> _objc_msgSend_920( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_920(obj, sel); - } - - late final __objc_msgSend_920Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer)>>, - )>> - Function(ffi.Pointer, ffi.Pointer)>>( - 'objc_msgSend'); - late final __objc_msgSend_920 = __objc_msgSend_920Ptr.asFunction< - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function(ffi.Pointer)>>, - )>> - Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_setHashFunction_1 = objc.registerName("setHashFunction:"); - void _objc_msgSend_921( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function(ffi.Pointer)>>, - )>> - value, - ) { - return __objc_msgSend_921(obj, sel, value); - } - - late final __objc_msgSend_921Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer)>>, - )>>, - )>>('objc_msgSend'); - late final __objc_msgSend_921 = __objc_msgSend_921Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function(ffi.Pointer)>>, - )>>, - )>(); - - late final _sel_isEqualFunction1 = objc.registerName("isEqualFunction"); - ffi.Pointer< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function(ffi.Pointer)>>, - )>> _objc_msgSend_922( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_922(obj, sel); - } - - late final __objc_msgSend_922Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer)>>, - )>> - Function(ffi.Pointer, ffi.Pointer)>>( - 'objc_msgSend'); - late final __objc_msgSend_922 = __objc_msgSend_922Ptr.asFunction< - ffi.Pointer< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function(ffi.Pointer)>>, - )>> - Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_setIsEqualFunction_1 = objc.registerName( - "setIsEqualFunction:", - ); - void _objc_msgSend_923( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function(ffi.Pointer)>>, - )>> - value, - ) { - return __objc_msgSend_923(obj, sel, value); - } - - late final __objc_msgSend_923Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer)>>, - )>>, - )>>('objc_msgSend'); - late final __objc_msgSend_923 = __objc_msgSend_923Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function(ffi.Pointer)>>, - )>>, - )>(); - - late final _sel_sizeFunction1 = objc.registerName("sizeFunction"); - ffi.Pointer< - ffi.NativeFunction)>> - _objc_msgSend_924( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_924(obj, sel); - } - - late final __objc_msgSend_924Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function(ffi.Pointer)>> - Function(ffi.Pointer, ffi.Pointer)>>( - 'objc_msgSend'); - late final __objc_msgSend_924 = __objc_msgSend_924Ptr.asFunction< - ffi.Pointer< - ffi - .NativeFunction)>> - Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_setSizeFunction_1 = objc.registerName("setSizeFunction:"); - void _objc_msgSend_925( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer< - ffi - .NativeFunction)>> - value, - ) { - return __objc_msgSend_925(obj, sel, value); - } - - late final __objc_msgSend_925Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function(ffi.Pointer)>>, - )>>('objc_msgSend'); - late final __objc_msgSend_925 = __objc_msgSend_925Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer< - ffi - .NativeFunction)>>, - )>(); - - late final _sel_descriptionFunction1 = objc.registerName( - "descriptionFunction", - ); - ffi.Pointer< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer)>> - _objc_msgSend_926( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_926(obj, sel); - } - - late final __objc_msgSend_926Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer)>> - Function(ffi.Pointer, ffi.Pointer)>>( - 'objc_msgSend'); - late final __objc_msgSend_926 = __objc_msgSend_926Ptr.asFunction< - ffi.Pointer< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer)>> - Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_setDescriptionFunction_1 = objc.registerName( - "setDescriptionFunction:", - ); - void _objc_msgSend_927( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer)>> - value, - ) { - return __objc_msgSend_927(obj, sel, value); - } - - late final __objc_msgSend_927Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer)>>, - )>>('objc_msgSend'); - late final __objc_msgSend_927 = __objc_msgSend_927Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer)>>, - )>(); - - late final _sel_relinquishFunction1 = objc.registerName("relinquishFunction"); - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function(ffi.Pointer)>>, - )>> _objc_msgSend_928( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_928(obj, sel); - } - - late final __objc_msgSend_928Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer)>>, - )>> - Function(ffi.Pointer, ffi.Pointer)>>( - 'objc_msgSend'); - late final __objc_msgSend_928 = __objc_msgSend_928Ptr.asFunction< - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function(ffi.Pointer)>>, - )>> - Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_setRelinquishFunction_1 = objc.registerName( - "setRelinquishFunction:", - ); - void _objc_msgSend_929( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function(ffi.Pointer)>>, - )>> - value, - ) { - return __objc_msgSend_929(obj, sel, value); - } - - late final __objc_msgSend_929Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer)>>, - )>>, - )>>('objc_msgSend'); - late final __objc_msgSend_929 = __objc_msgSend_929Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function(ffi.Pointer)>>, - )>>, - )>(); - - late final _sel_acquireFunction1 = objc.registerName("acquireFunction"); - ffi.Pointer< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function(ffi.Pointer)>>, - ffi.Bool, - )>> _objc_msgSend_930( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_930(obj, sel); - } - - late final __objc_msgSend_930Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer)>>, - ffi.Bool, - )>> - Function(ffi.Pointer, ffi.Pointer)>>( - 'objc_msgSend'); - late final __objc_msgSend_930 = __objc_msgSend_930Ptr.asFunction< - ffi.Pointer< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function(ffi.Pointer)>>, - ffi.Bool, - )>> - Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_setAcquireFunction_1 = objc.registerName( - "setAcquireFunction:", - ); - void _objc_msgSend_931( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function(ffi.Pointer)>>, - ffi.Bool, - )>> - value, - ) { - return __objc_msgSend_931(obj, sel, value); - } - - late final __objc_msgSend_931Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer)>>, - ffi.Bool, - )>>, - )>>('objc_msgSend'); - late final __objc_msgSend_931 = __objc_msgSend_931Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function(ffi.Pointer)>>, - ffi.Bool, - )>>, - )>(); - - late final _sel_usesStrongWriteBarrier1 = objc.registerName( - "usesStrongWriteBarrier", - ); - late final _sel_setUsesStrongWriteBarrier_1 = objc.registerName( - "setUsesStrongWriteBarrier:", - ); - late final _sel_usesWeakReadAndWriteBarriers1 = objc.registerName( - "usesWeakReadAndWriteBarriers", - ); - late final _sel_setUsesWeakReadAndWriteBarriers_1 = objc.registerName( - "setUsesWeakReadAndWriteBarriers:", - ); - late final _sel_initWithPointerFunctions_1 = objc.registerName( - "initWithPointerFunctions:", - ); - instancetype _objc_msgSend_932( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer functions, - ) { - return __objc_msgSend_932(obj, sel, functions); - } - - late final __objc_msgSend_932Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_932 = __objc_msgSend_932Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_pointerArrayWithOptions_1 = objc.registerName( - "pointerArrayWithOptions:", - ); - ffi.Pointer _objc_msgSend_933( - ffi.Pointer obj, - ffi.Pointer sel, - int options, - ) { - return __objc_msgSend_933(obj, sel, options); - } - - late final __objc_msgSend_933Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - )>>('objc_msgSend'); - late final __objc_msgSend_933 = __objc_msgSend_933Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_pointerArrayWithPointerFunctions_1 = objc.registerName( - "pointerArrayWithPointerFunctions:", - ); - ffi.Pointer _objc_msgSend_934( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer functions, - ) { - return __objc_msgSend_934(obj, sel, functions); - } - - late final __objc_msgSend_934Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_934 = __objc_msgSend_934Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_pointerFunctions1 = objc.registerName("pointerFunctions"); - ffi.Pointer _objc_msgSend_935( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_935(obj, sel); - } - - late final __objc_msgSend_935Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_935 = __objc_msgSend_935Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_pointerAtIndex_1 = objc.registerName("pointerAtIndex:"); - ffi.Pointer _objc_msgSend_936( - ffi.Pointer obj, - ffi.Pointer sel, - int index, - ) { - return __objc_msgSend_936(obj, sel, index); - } - - late final __objc_msgSend_936Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - )>>('objc_msgSend'); - late final __objc_msgSend_936 = __objc_msgSend_936Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_addPointer_1 = objc.registerName("addPointer:"); - late final _sel_removePointerAtIndex_1 = objc.registerName( - "removePointerAtIndex:", - ); - late final _sel_insertPointer_atIndex_1 = objc.registerName( - "insertPointer:atIndex:", - ); - late final _sel_replacePointerAtIndex_withPointer_1 = objc.registerName( - "replacePointerAtIndex:withPointer:", - ); - void _objc_msgSend_937( - ffi.Pointer obj, - ffi.Pointer sel, - int index, - ffi.Pointer item, - ) { - return __objc_msgSend_937(obj, sel, index, item); - } - - late final __objc_msgSend_937Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_937 = __objc_msgSend_937Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - )>(); - - late final _sel_compact1 = objc.registerName("compact"); - late final _sel_setCount_1 = objc.registerName("setCount:"); - late final _sel_pointerArrayWithStrongObjects1 = objc.registerName( - "pointerArrayWithStrongObjects", - ); - late final _sel_pointerArrayWithWeakObjects1 = objc.registerName( - "pointerArrayWithWeakObjects", - ); - late final _sel_strongObjectsPointerArray1 = objc.registerName( - "strongObjectsPointerArray", - ); - ffi.Pointer _objc_msgSend_938( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_938(obj, sel); - } - - late final __objc_msgSend_938Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_938 = __objc_msgSend_938Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_weakObjectsPointerArray1 = objc.registerName( - "weakObjectsPointerArray", - ); - late final _class_NSProcessInfo1 = objc.getClass("NSProcessInfo"); - late final _sel_processInfo1 = objc.registerName("processInfo"); - ffi.Pointer _objc_msgSend_939( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_939(obj, sel); - } - - late final __objc_msgSend_939Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_939 = __objc_msgSend_939Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_environment1 = objc.registerName("environment"); - late final _sel_hostName1 = objc.registerName("hostName"); - late final _sel_processName1 = objc.registerName("processName"); - late final _sel_setProcessName_1 = objc.registerName("setProcessName:"); - late final _sel_processIdentifier1 = objc.registerName("processIdentifier"); - late final _sel_globallyUniqueString1 = objc.registerName( - "globallyUniqueString", - ); - late final _sel_operatingSystem1 = objc.registerName("operatingSystem"); - late final _sel_operatingSystemName1 = objc.registerName( - "operatingSystemName", - ); - late final _sel_operatingSystemVersionString1 = objc.registerName( - "operatingSystemVersionString", - ); - late final _sel_operatingSystemVersion1 = objc.registerName( - "operatingSystemVersion", - ); - NSOperatingSystemVersion _objc_msgSend_940( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_940(obj, sel); - } - - late final __objc_msgSend_940Ptr = _lookup< - ffi.NativeFunction< - NSOperatingSystemVersion Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_940 = __objc_msgSend_940Ptr.asFunction< - NSOperatingSystemVersion Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - void _objc_msgSend_940_stret( - ffi.Pointer stret, - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_940_stret(stret, obj, sel); - } - - late final __objc_msgSend_940_stretPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend_stret'); - late final __objc_msgSend_940_stret = __objc_msgSend_940_stretPtr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_processorCount1 = objc.registerName("processorCount"); - late final _sel_activeProcessorCount1 = objc.registerName( - "activeProcessorCount", - ); - late final _sel_physicalMemory1 = objc.registerName("physicalMemory"); - late final _sel_isOperatingSystemAtLeastVersion_1 = objc.registerName( - "isOperatingSystemAtLeastVersion:", - ); - bool _objc_msgSend_941( - ffi.Pointer obj, - ffi.Pointer sel, - NSOperatingSystemVersion version, - ) { - return __objc_msgSend_941(obj, sel, version); - } - - late final __objc_msgSend_941Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - NSOperatingSystemVersion, - )>>('objc_msgSend'); - late final __objc_msgSend_941 = __objc_msgSend_941Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - NSOperatingSystemVersion, - )>(); - - late final _sel_systemUptime1 = objc.registerName("systemUptime"); - late final _sel_disableSuddenTermination1 = objc.registerName( - "disableSuddenTermination", - ); - late final _sel_enableSuddenTermination1 = objc.registerName( - "enableSuddenTermination", - ); - late final _sel_disableAutomaticTermination_1 = objc.registerName( - "disableAutomaticTermination:", - ); - late final _sel_enableAutomaticTermination_1 = objc.registerName( - "enableAutomaticTermination:", - ); - late final _sel_automaticTerminationSupportEnabled1 = objc.registerName( - "automaticTerminationSupportEnabled", - ); - late final _sel_setAutomaticTerminationSupportEnabled_1 = objc.registerName( - "setAutomaticTerminationSupportEnabled:", - ); - late final _sel_beginActivityWithOptions_reason_1 = objc.registerName( - "beginActivityWithOptions:reason:", - ); - ffi.Pointer _objc_msgSend_942( - ffi.Pointer obj, - ffi.Pointer sel, - int options, - ffi.Pointer reason, - ) { - return __objc_msgSend_942(obj, sel, options, reason); - } - - late final __objc_msgSend_942Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_942 = __objc_msgSend_942Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - )>(); - - late final _sel_endActivity_1 = objc.registerName("endActivity:"); - late final _sel_performActivityWithOptions_reason_usingBlock_1 = - objc.registerName("performActivityWithOptions:reason:usingBlock:"); - void _objc_msgSend_943( - ffi.Pointer obj, - ffi.Pointer sel, - int options, - ffi.Pointer reason, - ffi.Pointer block, - ) { - return __objc_msgSend_943(obj, sel, options, reason, block); - } - - late final __objc_msgSend_943Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_943 = __objc_msgSend_943Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_performExpiringActivityWithReason_usingBlock_1 = - objc.registerName("performExpiringActivityWithReason:usingBlock:"); - void _objc_msgSend_944( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer reason, - ffi.Pointer block, - ) { - return __objc_msgSend_944(obj, sel, reason, block); - } - - late final __objc_msgSend_944Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_944 = __objc_msgSend_944Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_userName1 = objc.registerName("userName"); - late final _sel_fullUserName1 = objc.registerName("fullUserName"); - late final _sel_thermalState1 = objc.registerName("thermalState"); - int _objc_msgSend_945( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_945(obj, sel); - } - - late final __objc_msgSend_945Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_945 = __objc_msgSend_945Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_isLowPowerModeEnabled1 = objc.registerName( - "isLowPowerModeEnabled", - ); - late final _sel_isMacCatalystApp1 = objc.registerName("isMacCatalystApp"); - late final _sel_isiOSAppOnMac1 = objc.registerName("isiOSAppOnMac"); - late final _class_NSTextCheckingResult1 = objc.getClass( - "NSTextCheckingResult", - ); - late final _sel_resultType1 = objc.registerName("resultType"); - int _objc_msgSend_946( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_946(obj, sel); - } - - late final __objc_msgSend_946Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_946 = __objc_msgSend_946Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_range1 = objc.registerName("range"); - late final _sel_orthography1 = objc.registerName("orthography"); - ffi.Pointer _objc_msgSend_947( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_947(obj, sel); - } - - late final __objc_msgSend_947Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_947 = __objc_msgSend_947Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_grammarDetails1 = objc.registerName("grammarDetails"); - late final _sel_duration1 = objc.registerName("duration"); - late final _sel_components1 = objc.registerName("components"); - late final _sel_replacementString1 = objc.registerName("replacementString"); - late final _sel_alternativeStrings1 = objc.registerName("alternativeStrings"); - late final _class_NSRegularExpression1 = objc.getClass("NSRegularExpression"); - late final _sel_regularExpressionWithPattern_options_error_1 = - objc.registerName("regularExpressionWithPattern:options:error:"); - ffi.Pointer _objc_msgSend_948( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer pattern, - int options, - ffi.Pointer> error, - ) { - return __objc_msgSend_948(obj, sel, pattern, options, error); - } - - late final __objc_msgSend_948Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_948 = __objc_msgSend_948Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>, - )>(); - - late final _sel_initWithPattern_options_error_1 = objc.registerName( - "initWithPattern:options:error:", - ); - instancetype _objc_msgSend_949( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer pattern, - int options, - ffi.Pointer> error, - ) { - return __objc_msgSend_949(obj, sel, pattern, options, error); - } - - late final __objc_msgSend_949Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_949 = __objc_msgSend_949Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>, - )>(); - - late final _sel_pattern1 = objc.registerName("pattern"); - late final _sel_options1 = objc.registerName("options"); - int _objc_msgSend_950( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_950(obj, sel); - } - - late final __objc_msgSend_950Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_950 = __objc_msgSend_950Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_numberOfCaptureGroups1 = objc.registerName( - "numberOfCaptureGroups", - ); - late final _sel_escapedPatternForString_1 = objc.registerName( - "escapedPatternForString:", - ); - late final _sel_enumerateMatchesInString_options_range_usingBlock_1 = - objc.registerName("enumerateMatchesInString:options:range:usingBlock:"); - void _objc_msgSend_951( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer string, - int options, - _NSRange range, - ffi.Pointer block, - ) { - return __objc_msgSend_951(obj, sel, string, options, range, block); - } - - late final __objc_msgSend_951Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - _NSRange, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_951 = __objc_msgSend_951Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - _NSRange, - ffi.Pointer, - )>(); - - late final _sel_matchesInString_options_range_1 = objc.registerName( - "matchesInString:options:range:", - ); - ffi.Pointer _objc_msgSend_952( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer string, - int options, - _NSRange range, - ) { - return __objc_msgSend_952(obj, sel, string, options, range); - } - - late final __objc_msgSend_952Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - _NSRange, - )>>('objc_msgSend'); - late final __objc_msgSend_952 = __objc_msgSend_952Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - _NSRange, - )>(); - - late final _sel_numberOfMatchesInString_options_range_1 = objc.registerName( - "numberOfMatchesInString:options:range:", - ); - int _objc_msgSend_953( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer string, - int options, - _NSRange range, - ) { - return __objc_msgSend_953(obj, sel, string, options, range); - } - - late final __objc_msgSend_953Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - _NSRange, - )>>('objc_msgSend'); - late final __objc_msgSend_953 = __objc_msgSend_953Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - _NSRange, - )>(); - - late final _sel_firstMatchInString_options_range_1 = objc.registerName( - "firstMatchInString:options:range:", - ); - ffi.Pointer _objc_msgSend_954( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer string, - int options, - _NSRange range, - ) { - return __objc_msgSend_954(obj, sel, string, options, range); - } - - late final __objc_msgSend_954Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - _NSRange, - )>>('objc_msgSend'); - late final __objc_msgSend_954 = __objc_msgSend_954Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - _NSRange, - )>(); - - late final _sel_rangeOfFirstMatchInString_options_range_1 = objc.registerName( - "rangeOfFirstMatchInString:options:range:", - ); - _NSRange _objc_msgSend_955( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer string, - int options, - _NSRange range, - ) { - return __objc_msgSend_955(obj, sel, string, options, range); - } - - late final __objc_msgSend_955Ptr = _lookup< - ffi.NativeFunction< - _NSRange Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - _NSRange, - )>>('objc_msgSend'); - late final __objc_msgSend_955 = __objc_msgSend_955Ptr.asFunction< - _NSRange Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - _NSRange, - )>(); - - void _objc_msgSend_955_stret( - ffi.Pointer<_NSRange> stret, - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer string, - int options, - _NSRange range, - ) { - return __objc_msgSend_955_stret(stret, obj, sel, string, options, range); - } - - late final __objc_msgSend_955_stretPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer<_NSRange>, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - _NSRange, - )>>('objc_msgSend_stret'); - late final __objc_msgSend_955_stret = __objc_msgSend_955_stretPtr.asFunction< - void Function( - ffi.Pointer<_NSRange>, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - _NSRange, - )>(); - - late final _sel_stringByReplacingMatchesInString_options_range_withTemplate_1 = - objc.registerName( - "stringByReplacingMatchesInString:options:range:withTemplate:", - ); - ffi.Pointer _objc_msgSend_956( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer string, - int options, - _NSRange range, - ffi.Pointer templ, - ) { - return __objc_msgSend_956(obj, sel, string, options, range, templ); - } - - late final __objc_msgSend_956Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - _NSRange, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_956 = __objc_msgSend_956Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - _NSRange, - ffi.Pointer, - )>(); - - late final _sel_replaceMatchesInString_options_range_withTemplate_1 = - objc.registerName("replaceMatchesInString:options:range:withTemplate:"); - int _objc_msgSend_957( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer string, - int options, - _NSRange range, - ffi.Pointer templ, - ) { - return __objc_msgSend_957(obj, sel, string, options, range, templ); - } - - late final __objc_msgSend_957Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - _NSRange, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_957 = __objc_msgSend_957Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - _NSRange, - ffi.Pointer, - )>(); - - late final _sel_replacementStringForResult_inString_offset_template_1 = - objc.registerName("replacementStringForResult:inString:offset:template:"); - ffi.Pointer _objc_msgSend_958( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer result, - ffi.Pointer string, - int offset, - ffi.Pointer templ, - ) { - return __objc_msgSend_958(obj, sel, result, string, offset, templ); - } - - late final __objc_msgSend_958Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Long, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_958 = __objc_msgSend_958Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - )>(); - - late final _sel_escapedTemplateForString_1 = objc.registerName( - "escapedTemplateForString:", - ); - late final _sel_regularExpression1 = objc.registerName("regularExpression"); - ffi.Pointer _objc_msgSend_959( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_959(obj, sel); - } - - late final __objc_msgSend_959Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_959 = __objc_msgSend_959Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_phoneNumber1 = objc.registerName("phoneNumber"); - late final _sel_numberOfRanges1 = objc.registerName("numberOfRanges"); - late final _sel_rangeAtIndex_1 = objc.registerName("rangeAtIndex:"); - late final _sel_rangeWithName_1 = objc.registerName("rangeWithName:"); - late final _sel_resultByAdjustingRangesWithOffset_1 = objc.registerName( - "resultByAdjustingRangesWithOffset:", - ); - ffi.Pointer _objc_msgSend_960( - ffi.Pointer obj, - ffi.Pointer sel, - int offset, - ) { - return __objc_msgSend_960(obj, sel, offset); - } - - late final __objc_msgSend_960Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Long, - )>>('objc_msgSend'); - late final __objc_msgSend_960 = __objc_msgSend_960Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_addressComponents1 = objc.registerName("addressComponents"); - late final _sel_orthographyCheckingResultWithRange_orthography_1 = - objc.registerName("orthographyCheckingResultWithRange:orthography:"); - ffi.Pointer _objc_msgSend_961( - ffi.Pointer obj, - ffi.Pointer sel, - _NSRange range, - ffi.Pointer orthography, - ) { - return __objc_msgSend_961(obj, sel, range, orthography); - } - - late final __objc_msgSend_961Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_961 = __objc_msgSend_961Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - )>(); - - late final _sel_spellCheckingResultWithRange_1 = objc.registerName( - "spellCheckingResultWithRange:", - ); - ffi.Pointer _objc_msgSend_962( - ffi.Pointer obj, - ffi.Pointer sel, - _NSRange range, - ) { - return __objc_msgSend_962(obj, sel, range); - } - - late final __objc_msgSend_962Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - )>>('objc_msgSend'); - late final __objc_msgSend_962 = __objc_msgSend_962Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - )>(); - - late final _sel_grammarCheckingResultWithRange_details_1 = objc.registerName( - "grammarCheckingResultWithRange:details:", - ); - ffi.Pointer _objc_msgSend_963( - ffi.Pointer obj, - ffi.Pointer sel, - _NSRange range, - ffi.Pointer details, - ) { - return __objc_msgSend_963(obj, sel, range, details); - } - - late final __objc_msgSend_963Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_963 = __objc_msgSend_963Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - )>(); - - late final _sel_dateCheckingResultWithRange_date_1 = objc.registerName( - "dateCheckingResultWithRange:date:", - ); - ffi.Pointer _objc_msgSend_964( - ffi.Pointer obj, - ffi.Pointer sel, - _NSRange range, - ffi.Pointer date, - ) { - return __objc_msgSend_964(obj, sel, range, date); - } - - late final __objc_msgSend_964Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_964 = __objc_msgSend_964Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - )>(); - - late final _sel_dateCheckingResultWithRange_date_timeZone_duration_1 = - objc.registerName("dateCheckingResultWithRange:date:timeZone:duration:"); - ffi.Pointer _objc_msgSend_965( - ffi.Pointer obj, - ffi.Pointer sel, - _NSRange range, - ffi.Pointer date, - ffi.Pointer timeZone, - double duration, - ) { - return __objc_msgSend_965(obj, sel, range, date, timeZone, duration); - } - - late final __objc_msgSend_965Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - ffi.Pointer, - ffi.Double, - )>>('objc_msgSend'); - late final __objc_msgSend_965 = __objc_msgSend_965Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - ffi.Pointer, - double, - )>(); - - late final _sel_addressCheckingResultWithRange_components_1 = - objc.registerName("addressCheckingResultWithRange:components:"); - ffi.Pointer _objc_msgSend_966( - ffi.Pointer obj, - ffi.Pointer sel, - _NSRange range, - ffi.Pointer components, - ) { - return __objc_msgSend_966(obj, sel, range, components); - } - - late final __objc_msgSend_966Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_966 = __objc_msgSend_966Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - )>(); - - late final _sel_linkCheckingResultWithRange_URL_1 = objc.registerName( - "linkCheckingResultWithRange:URL:", - ); - ffi.Pointer _objc_msgSend_967( - ffi.Pointer obj, - ffi.Pointer sel, - _NSRange range, - ffi.Pointer url, - ) { - return __objc_msgSend_967(obj, sel, range, url); - } - - late final __objc_msgSend_967Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_967 = __objc_msgSend_967Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - )>(); - - late final _sel_quoteCheckingResultWithRange_replacementString_1 = - objc.registerName("quoteCheckingResultWithRange:replacementString:"); - ffi.Pointer _objc_msgSend_968( - ffi.Pointer obj, - ffi.Pointer sel, - _NSRange range, - ffi.Pointer replacementString, - ) { - return __objc_msgSend_968(obj, sel, range, replacementString); - } - - late final __objc_msgSend_968Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_968 = __objc_msgSend_968Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - )>(); - - late final _sel_dashCheckingResultWithRange_replacementString_1 = - objc.registerName("dashCheckingResultWithRange:replacementString:"); - late final _sel_replacementCheckingResultWithRange_replacementString_1 = objc - .registerName("replacementCheckingResultWithRange:replacementString:"); - late final _sel_correctionCheckingResultWithRange_replacementString_1 = - objc.registerName("correctionCheckingResultWithRange:replacementString:"); - late final _sel_correctionCheckingResultWithRange_replacementString_alternativeStrings_1 = - objc.registerName( - "correctionCheckingResultWithRange:replacementString:alternativeStrings:", - ); - ffi.Pointer _objc_msgSend_969( - ffi.Pointer obj, - ffi.Pointer sel, - _NSRange range, - ffi.Pointer replacementString, - ffi.Pointer alternativeStrings, - ) { - return __objc_msgSend_969( - obj, - sel, - range, - replacementString, - alternativeStrings, - ); - } - - late final __objc_msgSend_969Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_969 = __objc_msgSend_969Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_regularExpressionCheckingResultWithRanges_count_regularExpression_1 = - objc.registerName( - "regularExpressionCheckingResultWithRanges:count:regularExpression:", - ); - ffi.Pointer _objc_msgSend_970( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer<_NSRange> ranges, - int count, - ffi.Pointer regularExpression, - ) { - return __objc_msgSend_970(obj, sel, ranges, count, regularExpression); - } - - late final __objc_msgSend_970Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_NSRange>, - ffi.UnsignedLong, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_970 = __objc_msgSend_970Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_NSRange>, - int, - ffi.Pointer, - )>(); - - late final _sel_phoneNumberCheckingResultWithRange_phoneNumber_1 = - objc.registerName("phoneNumberCheckingResultWithRange:phoneNumber:"); - late final _sel_transitInformationCheckingResultWithRange_components_1 = objc - .registerName("transitInformationCheckingResultWithRange:components:"); - late final _class_NSURLCache1 = objc.getClass("NSURLCache"); - late final _sel_sharedURLCache1 = objc.registerName("sharedURLCache"); - ffi.Pointer _objc_msgSend_971( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_971(obj, sel); - } - - late final __objc_msgSend_971Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_971 = __objc_msgSend_971Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_setSharedURLCache_1 = objc.registerName("setSharedURLCache:"); - void _objc_msgSend_972( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, - ) { - return __objc_msgSend_972(obj, sel, value); - } - - late final __objc_msgSend_972Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_972 = __objc_msgSend_972Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_initWithMemoryCapacity_diskCapacity_diskPath_1 = - objc.registerName("initWithMemoryCapacity:diskCapacity:diskPath:"); - instancetype _objc_msgSend_973( - ffi.Pointer obj, - ffi.Pointer sel, - int memoryCapacity, - int diskCapacity, - ffi.Pointer path, - ) { - return __objc_msgSend_973(obj, sel, memoryCapacity, diskCapacity, path); - } - - late final __objc_msgSend_973Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ffi.UnsignedLong, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_973 = __objc_msgSend_973Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - int, - int, - ffi.Pointer, - )>(); - - late final _sel_initWithMemoryCapacity_diskCapacity_directoryURL_1 = - objc.registerName("initWithMemoryCapacity:diskCapacity:directoryURL:"); - instancetype _objc_msgSend_974( - ffi.Pointer obj, - ffi.Pointer sel, - int memoryCapacity, - int diskCapacity, - ffi.Pointer directoryURL, - ) { - return __objc_msgSend_974( - obj, - sel, - memoryCapacity, - diskCapacity, - directoryURL, - ); - } - - late final __objc_msgSend_974Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ffi.UnsignedLong, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_974 = __objc_msgSend_974Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - int, - int, - ffi.Pointer, - )>(); - - late final _class_NSCachedURLResponse1 = objc.getClass("NSCachedURLResponse"); - late final _sel_initWithResponse_data_1 = objc.registerName( - "initWithResponse:data:", - ); - instancetype _objc_msgSend_975( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer response, - ffi.Pointer data, - ) { - return __objc_msgSend_975(obj, sel, response, data); - } - - late final __objc_msgSend_975Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_975 = __objc_msgSend_975Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_initWithResponse_data_userInfo_storagePolicy_1 = - objc.registerName("initWithResponse:data:userInfo:storagePolicy:"); - instancetype _objc_msgSend_976( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer response, - ffi.Pointer data, - ffi.Pointer userInfo, - int storagePolicy, - ) { - return __objc_msgSend_976( - obj, - sel, - response, - data, - userInfo, - storagePolicy, - ); - } - - late final __objc_msgSend_976Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - )>>('objc_msgSend'); - late final __objc_msgSend_976 = __objc_msgSend_976Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - ffi.Pointer _objc_msgSend_977( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_977(obj, sel); - } - - late final __objc_msgSend_977Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_977 = __objc_msgSend_977Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_storagePolicy1 = objc.registerName("storagePolicy"); - int _objc_msgSend_978( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_978(obj, sel); - } - - late final __objc_msgSend_978Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_978 = __objc_msgSend_978Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_cachedResponseForRequest_1 = objc.registerName( - "cachedResponseForRequest:", - ); - ffi.Pointer _objc_msgSend_979( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer request, - ) { - return __objc_msgSend_979(obj, sel, request); - } - - late final __objc_msgSend_979Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_979 = __objc_msgSend_979Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_storeCachedResponse_forRequest_1 = objc.registerName( - "storeCachedResponse:forRequest:", - ); - void _objc_msgSend_980( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer cachedResponse, - ffi.Pointer request, - ) { - return __objc_msgSend_980(obj, sel, cachedResponse, request); - } - - late final __objc_msgSend_980Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_980 = __objc_msgSend_980Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_removeCachedResponseForRequest_1 = objc.registerName( - "removeCachedResponseForRequest:", - ); - void _objc_msgSend_981( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer request, - ) { - return __objc_msgSend_981(obj, sel, request); - } - - late final __objc_msgSend_981Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_981 = __objc_msgSend_981Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_removeAllCachedResponses1 = objc.registerName( - "removeAllCachedResponses", - ); - late final _sel_removeCachedResponsesSinceDate_1 = objc.registerName( - "removeCachedResponsesSinceDate:", - ); - late final _sel_memoryCapacity1 = objc.registerName("memoryCapacity"); - late final _sel_setMemoryCapacity_1 = objc.registerName("setMemoryCapacity:"); - late final _sel_diskCapacity1 = objc.registerName("diskCapacity"); - late final _sel_setDiskCapacity_1 = objc.registerName("setDiskCapacity:"); - late final _sel_currentMemoryUsage1 = objc.registerName("currentMemoryUsage"); - late final _sel_currentDiskUsage1 = objc.registerName("currentDiskUsage"); - late final _class_NSURLSessionDataTask1 = objc.getClass( - "NSURLSessionDataTask", - ); - late final _sel_storeCachedResponse_forDataTask_1 = objc.registerName( - "storeCachedResponse:forDataTask:", - ); - void _objc_msgSend_982( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer cachedResponse, - ffi.Pointer dataTask, - ) { - return __objc_msgSend_982(obj, sel, cachedResponse, dataTask); - } - - late final __objc_msgSend_982Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_982 = __objc_msgSend_982Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_getCachedResponseForDataTask_completionHandler_1 = - objc.registerName("getCachedResponseForDataTask:completionHandler:"); - void _objc_msgSend_983( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer dataTask, - ffi.Pointer completionHandler, - ) { - return __objc_msgSend_983(obj, sel, dataTask, completionHandler); - } - - late final __objc_msgSend_983Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_983 = __objc_msgSend_983Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_removeCachedResponseForDataTask_1 = objc.registerName( - "removeCachedResponseForDataTask:", - ); - void _objc_msgSend_984( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer dataTask, - ) { - return __objc_msgSend_984(obj, sel, dataTask); - } - - late final __objc_msgSend_984Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_984 = __objc_msgSend_984Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _class_NSURLConnection1 = objc.getClass("NSURLConnection"); - late final _sel_initWithRequest_delegate_startImmediately_1 = - objc.registerName("initWithRequest:delegate:startImmediately:"); - instancetype _objc_msgSend_985( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer request, - ffi.Pointer delegate, - bool startImmediately, - ) { - return __objc_msgSend_985(obj, sel, request, delegate, startImmediately); - } - - late final __objc_msgSend_985Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - )>>('objc_msgSend'); - late final __objc_msgSend_985 = __objc_msgSend_985Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - )>(); - - late final _sel_initWithRequest_delegate_1 = objc.registerName( - "initWithRequest:delegate:", - ); - instancetype _objc_msgSend_986( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer request, - ffi.Pointer delegate, - ) { - return __objc_msgSend_986(obj, sel, request, delegate); - } - - late final __objc_msgSend_986Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_986 = __objc_msgSend_986Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_connectionWithRequest_delegate_1 = objc.registerName( - "connectionWithRequest:delegate:", - ); - ffi.Pointer _objc_msgSend_987( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer request, - ffi.Pointer delegate, - ) { - return __objc_msgSend_987(obj, sel, request, delegate); - } - - late final __objc_msgSend_987Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_987 = __objc_msgSend_987Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - ffi.Pointer _objc_msgSend_988( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_988(obj, sel); - } - - late final __objc_msgSend_988Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_988 = __objc_msgSend_988Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_unscheduleFromRunLoop_forMode_1 = objc.registerName( - "unscheduleFromRunLoop:forMode:", - ); - late final _sel_setDelegateQueue_1 = objc.registerName("setDelegateQueue:"); - void _objc_msgSend_989( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer queue, - ) { - return __objc_msgSend_989(obj, sel, queue); - } - - late final __objc_msgSend_989Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_989 = __objc_msgSend_989Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_canHandleRequest_1 = objc.registerName("canHandleRequest:"); - bool _objc_msgSend_990( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer request, - ) { - return __objc_msgSend_990(obj, sel, request); - } - - late final __objc_msgSend_990Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_990 = __objc_msgSend_990Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_sendSynchronousRequest_returningResponse_error_1 = - objc.registerName("sendSynchronousRequest:returningResponse:error:"); - ffi.Pointer _objc_msgSend_991( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer request, - ffi.Pointer> response, - ffi.Pointer> error, - ) { - return __objc_msgSend_991(obj, sel, request, response, error); - } - - late final __objc_msgSend_991Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_991 = __objc_msgSend_991Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer>, - )>(); - - late final _sel_sendAsynchronousRequest_queue_completionHandler_1 = - objc.registerName("sendAsynchronousRequest:queue:completionHandler:"); - void _objc_msgSend_992( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer request, - ffi.Pointer queue, - ffi.Pointer handler, - ) { - return __objc_msgSend_992(obj, sel, request, queue, handler); - } - - late final __objc_msgSend_992Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_992 = __objc_msgSend_992Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _class_NSURLCredential1 = objc.getClass("NSURLCredential"); - late final _sel_persistence1 = objc.registerName("persistence"); - int _objc_msgSend_993( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_993(obj, sel); - } - - late final __objc_msgSend_993Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_993 = __objc_msgSend_993Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_initWithUser_password_persistence_1 = objc.registerName( - "initWithUser:password:persistence:", - ); - instancetype _objc_msgSend_994( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer user, - ffi.Pointer password, - int persistence, - ) { - return __objc_msgSend_994(obj, sel, user, password, persistence); - } - - late final __objc_msgSend_994Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - )>>('objc_msgSend'); - late final __objc_msgSend_994 = __objc_msgSend_994Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_credentialWithUser_password_persistence_1 = objc.registerName( - "credentialWithUser:password:persistence:", - ); - ffi.Pointer _objc_msgSend_995( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer user, - ffi.Pointer password, - int persistence, - ) { - return __objc_msgSend_995(obj, sel, user, password, persistence); - } - - late final __objc_msgSend_995Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - )>>('objc_msgSend'); - late final __objc_msgSend_995 = __objc_msgSend_995Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_hasPassword1 = objc.registerName("hasPassword"); - late final _sel_initWithIdentity_certificates_persistence_1 = - objc.registerName("initWithIdentity:certificates:persistence:"); - instancetype _objc_msgSend_996( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer<__SecIdentity> identity, - ffi.Pointer certArray, - int persistence, - ) { - return __objc_msgSend_996(obj, sel, identity, certArray, persistence); - } - - late final __objc_msgSend_996Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<__SecIdentity>, - ffi.Pointer, - ffi.Int32, - )>>('objc_msgSend'); - late final __objc_msgSend_996 = __objc_msgSend_996Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<__SecIdentity>, - ffi.Pointer, - int, - )>(); - - late final _sel_credentialWithIdentity_certificates_persistence_1 = - objc.registerName("credentialWithIdentity:certificates:persistence:"); - ffi.Pointer _objc_msgSend_997( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer<__SecIdentity> identity, - ffi.Pointer certArray, - int persistence, - ) { - return __objc_msgSend_997(obj, sel, identity, certArray, persistence); - } - - late final __objc_msgSend_997Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<__SecIdentity>, - ffi.Pointer, - ffi.Int32, - )>>('objc_msgSend'); - late final __objc_msgSend_997 = __objc_msgSend_997Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<__SecIdentity>, - ffi.Pointer, - int, - )>(); - - late final _sel_identity1 = objc.registerName("identity"); - ffi.Pointer<__SecIdentity> _objc_msgSend_998( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_998(obj, sel); - } - - late final __objc_msgSend_998Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer<__SecIdentity> Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_998 = __objc_msgSend_998Ptr.asFunction< - ffi.Pointer<__SecIdentity> Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_certificates1 = objc.registerName("certificates"); - late final _sel_initWithTrust_1 = objc.registerName("initWithTrust:"); - instancetype _objc_msgSend_999( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer<__SecTrust> trust, - ) { - return __objc_msgSend_999(obj, sel, trust); - } - - late final __objc_msgSend_999Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<__SecTrust>, - )>>('objc_msgSend'); - late final __objc_msgSend_999 = __objc_msgSend_999Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<__SecTrust>, - )>(); - - late final _sel_credentialForTrust_1 = objc.registerName( - "credentialForTrust:", - ); - ffi.Pointer _objc_msgSend_1000( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer<__SecTrust> trust, - ) { - return __objc_msgSend_1000(obj, sel, trust); - } - - late final __objc_msgSend_1000Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<__SecTrust>, - )>>('objc_msgSend'); - late final __objc_msgSend_1000 = __objc_msgSend_1000Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<__SecTrust>, - )>(); - - late final _class_NSURLProtectionSpace1 = objc.getClass( - "NSURLProtectionSpace", - ); - late final _sel_initWithHost_port_protocol_realm_authenticationMethod_1 = objc - .registerName("initWithHost:port:protocol:realm:authenticationMethod:"); - instancetype _objc_msgSend_1001( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer host, - int port, - ffi.Pointer protocol, - ffi.Pointer realm, - ffi.Pointer authenticationMethod, - ) { - return __objc_msgSend_1001( - obj, - sel, - host, - port, - protocol, - realm, - authenticationMethod, - ); - } - - late final __objc_msgSend_1001Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Long, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1001 = __objc_msgSend_1001Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_initWithProxyHost_port_type_realm_authenticationMethod_1 = - objc.registerName( - "initWithProxyHost:port:type:realm:authenticationMethod:", - ); - late final _sel_realm1 = objc.registerName("realm"); - late final _sel_receivesCredentialSecurely1 = objc.registerName( - "receivesCredentialSecurely", - ); - late final _sel_isProxy1 = objc.registerName("isProxy"); - late final _sel_proxyType1 = objc.registerName("proxyType"); - late final _sel_protocol1 = objc.registerName("protocol"); - late final _sel_authenticationMethod1 = objc.registerName( - "authenticationMethod", - ); - late final _sel_distinguishedNames1 = objc.registerName("distinguishedNames"); - late final _sel_serverTrust1 = objc.registerName("serverTrust"); - ffi.Pointer<__SecTrust> _objc_msgSend_1002( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_1002(obj, sel); - } - - late final __objc_msgSend_1002Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer<__SecTrust> Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1002 = __objc_msgSend_1002Ptr.asFunction< - ffi.Pointer<__SecTrust> Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _class_NSURLCredentialStorage1 = objc.getClass( - "NSURLCredentialStorage", - ); - late final _sel_sharedCredentialStorage1 = objc.registerName( - "sharedCredentialStorage", - ); - ffi.Pointer _objc_msgSend_1003( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_1003(obj, sel); - } - - late final __objc_msgSend_1003Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1003 = __objc_msgSend_1003Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_credentialsForProtectionSpace_1 = objc.registerName( - "credentialsForProtectionSpace:", - ); - ffi.Pointer _objc_msgSend_1004( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer space, - ) { - return __objc_msgSend_1004(obj, sel, space); - } - - late final __objc_msgSend_1004Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1004 = __objc_msgSend_1004Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_allCredentials1 = objc.registerName("allCredentials"); - late final _sel_setCredential_forProtectionSpace_1 = objc.registerName( - "setCredential:forProtectionSpace:", - ); - void _objc_msgSend_1005( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer credential, - ffi.Pointer space, - ) { - return __objc_msgSend_1005(obj, sel, credential, space); - } - - late final __objc_msgSend_1005Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1005 = __objc_msgSend_1005Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_removeCredential_forProtectionSpace_1 = objc.registerName( - "removeCredential:forProtectionSpace:", - ); - late final _sel_removeCredential_forProtectionSpace_options_1 = - objc.registerName("removeCredential:forProtectionSpace:options:"); - void _objc_msgSend_1006( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer credential, - ffi.Pointer space, - ffi.Pointer options, - ) { - return __objc_msgSend_1006(obj, sel, credential, space, options); - } - - late final __objc_msgSend_1006Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1006 = __objc_msgSend_1006Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_defaultCredentialForProtectionSpace_1 = objc.registerName( - "defaultCredentialForProtectionSpace:", - ); - ffi.Pointer _objc_msgSend_1007( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer space, - ) { - return __objc_msgSend_1007(obj, sel, space); - } - - late final __objc_msgSend_1007Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1007 = __objc_msgSend_1007Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_setDefaultCredential_forProtectionSpace_1 = objc.registerName( - "setDefaultCredential:forProtectionSpace:", - ); - late final _sel_getCredentialsForProtectionSpace_task_completionHandler_1 = - objc.registerName( - "getCredentialsForProtectionSpace:task:completionHandler:", - ); - void _objc_msgSend_1008( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer protectionSpace, - ffi.Pointer task, - ffi.Pointer completionHandler, - ) { - return __objc_msgSend_1008( - obj, - sel, - protectionSpace, - task, - completionHandler, - ); - } - - late final __objc_msgSend_1008Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1008 = __objc_msgSend_1008Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_setCredential_forProtectionSpace_task_1 = objc.registerName( - "setCredential:forProtectionSpace:task:", - ); - void _objc_msgSend_1009( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer credential, - ffi.Pointer protectionSpace, - ffi.Pointer task, - ) { - return __objc_msgSend_1009(obj, sel, credential, protectionSpace, task); - } - - late final __objc_msgSend_1009Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1009 = __objc_msgSend_1009Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_removeCredential_forProtectionSpace_options_task_1 = - objc.registerName("removeCredential:forProtectionSpace:options:task:"); - void _objc_msgSend_1010( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer credential, - ffi.Pointer protectionSpace, - ffi.Pointer options, - ffi.Pointer task, - ) { - return __objc_msgSend_1010( - obj, - sel, - credential, - protectionSpace, - options, - task, - ); - } - - late final __objc_msgSend_1010Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1010 = __objc_msgSend_1010Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_getDefaultCredentialForProtectionSpace_task_completionHandler_1 = - objc.registerName( - "getDefaultCredentialForProtectionSpace:task:completionHandler:", - ); - void _objc_msgSend_1011( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer space, - ffi.Pointer task, - ffi.Pointer completionHandler, - ) { - return __objc_msgSend_1011(obj, sel, space, task, completionHandler); - } - - late final __objc_msgSend_1011Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1011 = __objc_msgSend_1011Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_setDefaultCredential_forProtectionSpace_task_1 = - objc.registerName("setDefaultCredential:forProtectionSpace:task:"); - late final _class_NSURLProtocol1 = objc.getClass("NSURLProtocol"); - late final _sel_initWithRequest_cachedResponse_client_1 = objc.registerName( - "initWithRequest:cachedResponse:client:", - ); - instancetype _objc_msgSend_1012( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer request, - ffi.Pointer cachedResponse, - ffi.Pointer client, - ) { - return __objc_msgSend_1012(obj, sel, request, cachedResponse, client); - } - - late final __objc_msgSend_1012Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1012 = __objc_msgSend_1012Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_client1 = objc.registerName("client"); - late final _sel_request1 = objc.registerName("request"); - late final _sel_cachedResponse1 = objc.registerName("cachedResponse"); - ffi.Pointer _objc_msgSend_1013( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_1013(obj, sel); - } - - late final __objc_msgSend_1013Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1013 = __objc_msgSend_1013Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_canInitWithRequest_1 = objc.registerName( - "canInitWithRequest:", - ); - late final _sel_canonicalRequestForRequest_1 = objc.registerName( - "canonicalRequestForRequest:", - ); - ffi.Pointer _objc_msgSend_1014( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer request, - ) { - return __objc_msgSend_1014(obj, sel, request); - } - - late final __objc_msgSend_1014Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1014 = __objc_msgSend_1014Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_requestIsCacheEquivalent_toRequest_1 = objc.registerName( - "requestIsCacheEquivalent:toRequest:", - ); - bool _objc_msgSend_1015( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer a, - ffi.Pointer b, - ) { - return __objc_msgSend_1015(obj, sel, a, b); - } - - late final __objc_msgSend_1015Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1015 = __objc_msgSend_1015Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_startLoading1 = objc.registerName("startLoading"); - late final _sel_stopLoading1 = objc.registerName("stopLoading"); - late final _sel_propertyForKey_inRequest_1 = objc.registerName( - "propertyForKey:inRequest:", - ); - ffi.Pointer _objc_msgSend_1016( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer key, - ffi.Pointer request, - ) { - return __objc_msgSend_1016(obj, sel, key, request); - } - - late final __objc_msgSend_1016Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1016 = __objc_msgSend_1016Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _class_NSMutableURLRequest1 = objc.getClass("NSMutableURLRequest"); - late final _sel_setURL_1 = objc.registerName("setURL:"); - late final _sel_setCachePolicy_1 = objc.registerName("setCachePolicy:"); - void _objc_msgSend_1017( - ffi.Pointer obj, - ffi.Pointer sel, - int value, - ) { - return __objc_msgSend_1017(obj, sel, value); - } - - late final __objc_msgSend_1017Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - )>>('objc_msgSend'); - late final __objc_msgSend_1017 = __objc_msgSend_1017Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_setTimeoutInterval_1 = objc.registerName( - "setTimeoutInterval:", - ); - late final _sel_setMainDocumentURL_1 = objc.registerName( - "setMainDocumentURL:", - ); - late final _sel_setNetworkServiceType_1 = objc.registerName( - "setNetworkServiceType:", - ); - void _objc_msgSend_1018( - ffi.Pointer obj, - ffi.Pointer sel, - int value, - ) { - return __objc_msgSend_1018(obj, sel, value); - } - - late final __objc_msgSend_1018Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - )>>('objc_msgSend'); - late final __objc_msgSend_1018 = __objc_msgSend_1018Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_setAllowsCellularAccess_1 = objc.registerName( - "setAllowsCellularAccess:", - ); - late final _sel_setAllowsExpensiveNetworkAccess_1 = objc.registerName( - "setAllowsExpensiveNetworkAccess:", - ); - late final _sel_setAllowsConstrainedNetworkAccess_1 = objc.registerName( - "setAllowsConstrainedNetworkAccess:", - ); - late final _sel_setAssumesHTTP3Capable_1 = objc.registerName( - "setAssumesHTTP3Capable:", - ); - late final _sel_setAttribution_1 = objc.registerName("setAttribution:"); - void _objc_msgSend_1019( - ffi.Pointer obj, - ffi.Pointer sel, - int value, - ) { - return __objc_msgSend_1019(obj, sel, value); - } - - late final __objc_msgSend_1019Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - )>>('objc_msgSend'); - late final __objc_msgSend_1019 = __objc_msgSend_1019Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_setRequiresDNSSECValidation_1 = objc.registerName( - "setRequiresDNSSECValidation:", - ); - late final _sel_setHTTPMethod_1 = objc.registerName("setHTTPMethod:"); - late final _sel_setAllHTTPHeaderFields_1 = objc.registerName( - "setAllHTTPHeaderFields:", - ); - late final _sel_setValue_forHTTPHeaderField_1 = objc.registerName( - "setValue:forHTTPHeaderField:", - ); - void _objc_msgSend_1020( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, - ffi.Pointer field, - ) { - return __objc_msgSend_1020(obj, sel, value, field); - } - - late final __objc_msgSend_1020Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1020 = __objc_msgSend_1020Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_addValue_forHTTPHeaderField_1 = objc.registerName( - "addValue:forHTTPHeaderField:", - ); - late final _sel_setHTTPBody_1 = objc.registerName("setHTTPBody:"); - void _objc_msgSend_1021( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, - ) { - return __objc_msgSend_1021(obj, sel, value); - } - - late final __objc_msgSend_1021Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1021 = __objc_msgSend_1021Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_setHTTPBodyStream_1 = objc.registerName("setHTTPBodyStream:"); - void _objc_msgSend_1022( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, - ) { - return __objc_msgSend_1022(obj, sel, value); - } - - late final __objc_msgSend_1022Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1022 = __objc_msgSend_1022Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_setHTTPShouldHandleCookies_1 = objc.registerName( - "setHTTPShouldHandleCookies:", - ); - late final _sel_setHTTPShouldUsePipelining_1 = objc.registerName( - "setHTTPShouldUsePipelining:", - ); - late final _sel_setProperty_forKey_inRequest_1 = objc.registerName( - "setProperty:forKey:inRequest:", - ); - void _objc_msgSend_1023( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, - ffi.Pointer key, - ffi.Pointer request, - ) { - return __objc_msgSend_1023(obj, sel, value, key, request); - } - - late final __objc_msgSend_1023Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1023 = __objc_msgSend_1023Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_removePropertyForKey_inRequest_1 = objc.registerName( - "removePropertyForKey:inRequest:", - ); - void _objc_msgSend_1024( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer key, - ffi.Pointer request, - ) { - return __objc_msgSend_1024(obj, sel, key, request); - } - - late final __objc_msgSend_1024Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1024 = __objc_msgSend_1024Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_registerClass_1 = objc.registerName("registerClass:"); - late final _sel_unregisterClass_1 = objc.registerName("unregisterClass:"); - late final _sel_canInitWithTask_1 = objc.registerName("canInitWithTask:"); - bool _objc_msgSend_1025( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer task, - ) { - return __objc_msgSend_1025(obj, sel, task); - } - - late final __objc_msgSend_1025Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1025 = __objc_msgSend_1025Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_initWithTask_cachedResponse_client_1 = objc.registerName( - "initWithTask:cachedResponse:client:", - ); - instancetype _objc_msgSend_1026( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer task, - ffi.Pointer cachedResponse, - ffi.Pointer client, - ) { - return __objc_msgSend_1026(obj, sel, task, cachedResponse, client); - } - - late final __objc_msgSend_1026Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1026 = __objc_msgSend_1026Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_task1 = objc.registerName("task"); - ffi.Pointer _objc_msgSend_1027( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_1027(obj, sel); - } - - late final __objc_msgSend_1027Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1027 = __objc_msgSend_1027Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _class_NSXMLParser1 = objc.getClass("NSXMLParser"); - late final _sel_initWithStream_1 = objc.registerName("initWithStream:"); - instancetype _objc_msgSend_1028( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer stream, - ) { - return __objc_msgSend_1028(obj, sel, stream); - } - - late final __objc_msgSend_1028Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1028 = __objc_msgSend_1028Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_shouldProcessNamespaces1 = objc.registerName( - "shouldProcessNamespaces", - ); - late final _sel_setShouldProcessNamespaces_1 = objc.registerName( - "setShouldProcessNamespaces:", - ); - late final _sel_shouldReportNamespacePrefixes1 = objc.registerName( - "shouldReportNamespacePrefixes", - ); - late final _sel_setShouldReportNamespacePrefixes_1 = objc.registerName( - "setShouldReportNamespacePrefixes:", - ); - late final _sel_externalEntityResolvingPolicy1 = objc.registerName( - "externalEntityResolvingPolicy", - ); - int _objc_msgSend_1029( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_1029(obj, sel); - } - - late final __objc_msgSend_1029Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1029 = __objc_msgSend_1029Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_setExternalEntityResolvingPolicy_1 = objc.registerName( - "setExternalEntityResolvingPolicy:", - ); - void _objc_msgSend_1030( - ffi.Pointer obj, - ffi.Pointer sel, - int value, - ) { - return __objc_msgSend_1030(obj, sel, value); - } - - late final __objc_msgSend_1030Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - )>>('objc_msgSend'); - late final __objc_msgSend_1030 = __objc_msgSend_1030Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_allowedExternalEntityURLs1 = objc.registerName( - "allowedExternalEntityURLs", - ); - late final _sel_setAllowedExternalEntityURLs_1 = objc.registerName( - "setAllowedExternalEntityURLs:", - ); - void _objc_msgSend_1031( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, - ) { - return __objc_msgSend_1031(obj, sel, value); - } - - late final __objc_msgSend_1031Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1031 = __objc_msgSend_1031Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_parse1 = objc.registerName("parse"); - late final _sel_abortParsing1 = objc.registerName("abortParsing"); - late final _sel_parserError1 = objc.registerName("parserError"); - late final _sel_shouldResolveExternalEntities1 = objc.registerName( - "shouldResolveExternalEntities", - ); - late final _sel_setShouldResolveExternalEntities_1 = objc.registerName( - "setShouldResolveExternalEntities:", - ); - late final _sel_publicID1 = objc.registerName("publicID"); - late final _sel_systemID1 = objc.registerName("systemID"); - late final _sel_lineNumber1 = objc.registerName("lineNumber"); - late final _sel_columnNumber1 = objc.registerName("columnNumber"); - late final _class_NSFileWrapper1 = objc.getClass("NSFileWrapper"); - late final _sel_initWithURL_options_error_1 = objc.registerName( - "initWithURL:options:error:", - ); - instancetype _objc_msgSend_1032( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, - int options, - ffi.Pointer> outError, - ) { - return __objc_msgSend_1032(obj, sel, url, options, outError); - } - - late final __objc_msgSend_1032Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_1032 = __objc_msgSend_1032Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>, - )>(); - - late final _sel_initDirectoryWithFileWrappers_1 = objc.registerName( - "initDirectoryWithFileWrappers:", - ); - late final _sel_initRegularFileWithContents_1 = objc.registerName( - "initRegularFileWithContents:", - ); - late final _sel_initSymbolicLinkWithDestinationURL_1 = objc.registerName( - "initSymbolicLinkWithDestinationURL:", - ); - late final _sel_initWithSerializedRepresentation_1 = objc.registerName( - "initWithSerializedRepresentation:", - ); - late final _sel_isDirectory1 = objc.registerName("isDirectory"); - late final _sel_isRegularFile1 = objc.registerName("isRegularFile"); - late final _sel_isSymbolicLink1 = objc.registerName("isSymbolicLink"); - late final _sel_preferredFilename1 = objc.registerName("preferredFilename"); - late final _sel_setPreferredFilename_1 = objc.registerName( - "setPreferredFilename:", - ); - late final _sel_filename1 = objc.registerName("filename"); - late final _sel_setFilename_1 = objc.registerName("setFilename:"); - late final _sel_fileAttributes1 = objc.registerName("fileAttributes"); - late final _sel_setFileAttributes_1 = objc.registerName("setFileAttributes:"); - late final _sel_matchesContentsOfURL_1 = objc.registerName( - "matchesContentsOfURL:", - ); - late final _sel_readFromURL_options_error_1 = objc.registerName( - "readFromURL:options:error:", - ); - bool _objc_msgSend_1033( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, - int options, - ffi.Pointer> outError, - ) { - return __objc_msgSend_1033(obj, sel, url, options, outError); - } - - late final __objc_msgSend_1033Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_1033 = __objc_msgSend_1033Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>, - )>(); - - late final _sel_writeToURL_options_originalContentsURL_error_1 = - objc.registerName("writeToURL:options:originalContentsURL:error:"); - bool _objc_msgSend_1034( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, - int options, - ffi.Pointer originalContentsURL, - ffi.Pointer> outError, - ) { - return __objc_msgSend_1034( - obj, - sel, - url, - options, - originalContentsURL, - outError, - ); - } - - late final __objc_msgSend_1034Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_1034 = __objc_msgSend_1034Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ffi.Pointer>, - )>(); - - late final _sel_serializedRepresentation1 = objc.registerName( - "serializedRepresentation", - ); - late final _sel_addFileWrapper_1 = objc.registerName("addFileWrapper:"); - ffi.Pointer _objc_msgSend_1035( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer child, - ) { - return __objc_msgSend_1035(obj, sel, child); - } - - late final __objc_msgSend_1035Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1035 = __objc_msgSend_1035Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_addRegularFileWithContents_preferredFilename_1 = - objc.registerName("addRegularFileWithContents:preferredFilename:"); - ffi.Pointer _objc_msgSend_1036( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer data, - ffi.Pointer fileName, - ) { - return __objc_msgSend_1036(obj, sel, data, fileName); - } - - late final __objc_msgSend_1036Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1036 = __objc_msgSend_1036Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_removeFileWrapper_1 = objc.registerName("removeFileWrapper:"); - void _objc_msgSend_1037( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer child, - ) { - return __objc_msgSend_1037(obj, sel, child); - } - - late final __objc_msgSend_1037Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1037 = __objc_msgSend_1037Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_fileWrappers1 = objc.registerName("fileWrappers"); - late final _sel_keyForFileWrapper_1 = objc.registerName("keyForFileWrapper:"); - ffi.Pointer _objc_msgSend_1038( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer child, - ) { - return __objc_msgSend_1038(obj, sel, child); - } - - late final __objc_msgSend_1038Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1038 = __objc_msgSend_1038Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_regularFileContents1 = objc.registerName( - "regularFileContents", - ); - late final _sel_symbolicLinkDestinationURL1 = objc.registerName( - "symbolicLinkDestinationURL", - ); - late final _sel_initSymbolicLinkWithDestination_1 = objc.registerName( - "initSymbolicLinkWithDestination:", - ); - late final _sel_needsToBeUpdatedFromPath_1 = objc.registerName( - "needsToBeUpdatedFromPath:", - ); - late final _sel_updateFromPath_1 = objc.registerName("updateFromPath:"); - late final _sel_writeToFile_atomically_updateFilenames_1 = objc.registerName( - "writeToFile:atomically:updateFilenames:", - ); - bool _objc_msgSend_1039( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, - bool atomicFlag, - bool updateFilenamesFlag, - ) { - return __objc_msgSend_1039(obj, sel, path, atomicFlag, updateFilenamesFlag); - } - - late final __objc_msgSend_1039Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - ffi.Bool, - )>>('objc_msgSend'); - late final __objc_msgSend_1039 = __objc_msgSend_1039Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - bool, - )>(); - - late final _sel_addFileWithPath_1 = objc.registerName("addFileWithPath:"); - late final _sel_addSymbolicLinkWithDestination_preferredFilename_1 = - objc.registerName("addSymbolicLinkWithDestination:preferredFilename:"); - late final _sel_symbolicLinkDestination1 = objc.registerName( - "symbolicLinkDestination", - ); - late final _class_NSURLSession1 = objc.getClass("NSURLSession"); - late final _sel_sharedSession1 = objc.registerName("sharedSession"); - ffi.Pointer _objc_msgSend_1040( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_1040(obj, sel); - } - - late final __objc_msgSend_1040Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1040 = __objc_msgSend_1040Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _class_NSURLSessionConfiguration1 = objc.getClass( - "NSURLSessionConfiguration", - ); - late final _sel_defaultSessionConfiguration1 = objc.registerName( - "defaultSessionConfiguration", - ); - ffi.Pointer _objc_msgSend_1041( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_1041(obj, sel); - } - - late final __objc_msgSend_1041Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1041 = __objc_msgSend_1041Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_ephemeralSessionConfiguration1 = objc.registerName( - "ephemeralSessionConfiguration", - ); - late final _sel_backgroundSessionConfigurationWithIdentifier_1 = - objc.registerName("backgroundSessionConfigurationWithIdentifier:"); - ffi.Pointer _objc_msgSend_1042( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer identifier, - ) { - return __objc_msgSend_1042(obj, sel, identifier); - } - - late final __objc_msgSend_1042Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1042 = __objc_msgSend_1042Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_identifier1 = objc.registerName("identifier"); - late final _sel_requestCachePolicy1 = objc.registerName("requestCachePolicy"); - late final _sel_setRequestCachePolicy_1 = objc.registerName( - "setRequestCachePolicy:", - ); - late final _sel_timeoutIntervalForRequest1 = objc.registerName( - "timeoutIntervalForRequest", - ); - late final _sel_setTimeoutIntervalForRequest_1 = objc.registerName( - "setTimeoutIntervalForRequest:", - ); - late final _sel_timeoutIntervalForResource1 = objc.registerName( - "timeoutIntervalForResource", - ); - late final _sel_setTimeoutIntervalForResource_1 = objc.registerName( - "setTimeoutIntervalForResource:", - ); - late final _sel_waitsForConnectivity1 = objc.registerName( - "waitsForConnectivity", - ); - late final _sel_setWaitsForConnectivity_1 = objc.registerName( - "setWaitsForConnectivity:", - ); - late final _sel_isDiscretionary1 = objc.registerName("isDiscretionary"); - late final _sel_setDiscretionary_1 = objc.registerName("setDiscretionary:"); - late final _sel_sharedContainerIdentifier1 = objc.registerName( - "sharedContainerIdentifier", - ); - late final _sel_setSharedContainerIdentifier_1 = objc.registerName( - "setSharedContainerIdentifier:", - ); - late final _sel_sessionSendsLaunchEvents1 = objc.registerName( - "sessionSendsLaunchEvents", - ); - late final _sel_setSessionSendsLaunchEvents_1 = objc.registerName( - "setSessionSendsLaunchEvents:", - ); - late final _sel_connectionProxyDictionary1 = objc.registerName( - "connectionProxyDictionary", - ); - late final _sel_setConnectionProxyDictionary_1 = objc.registerName( - "setConnectionProxyDictionary:", - ); - late final _sel_TLSMinimumSupportedProtocol1 = objc.registerName( - "TLSMinimumSupportedProtocol", - ); - int _objc_msgSend_1043( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_1043(obj, sel); - } - - late final __objc_msgSend_1043Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1043 = __objc_msgSend_1043Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_setTLSMinimumSupportedProtocol_1 = objc.registerName( - "setTLSMinimumSupportedProtocol:", - ); - void _objc_msgSend_1044( - ffi.Pointer obj, - ffi.Pointer sel, - int value, - ) { - return __objc_msgSend_1044(obj, sel, value); - } - - late final __objc_msgSend_1044Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - )>>('objc_msgSend'); - late final __objc_msgSend_1044 = __objc_msgSend_1044Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_TLSMaximumSupportedProtocol1 = objc.registerName( - "TLSMaximumSupportedProtocol", - ); - late final _sel_setTLSMaximumSupportedProtocol_1 = objc.registerName( - "setTLSMaximumSupportedProtocol:", - ); - late final _sel_TLSMinimumSupportedProtocolVersion1 = objc.registerName( - "TLSMinimumSupportedProtocolVersion", - ); - int _objc_msgSend_1045( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_1045(obj, sel); - } - - late final __objc_msgSend_1045Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1045 = __objc_msgSend_1045Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_setTLSMinimumSupportedProtocolVersion_1 = objc.registerName( - "setTLSMinimumSupportedProtocolVersion:", - ); - void _objc_msgSend_1046( - ffi.Pointer obj, - ffi.Pointer sel, - int value, - ) { - return __objc_msgSend_1046(obj, sel, value); - } - - late final __objc_msgSend_1046Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - )>>('objc_msgSend'); - late final __objc_msgSend_1046 = __objc_msgSend_1046Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_TLSMaximumSupportedProtocolVersion1 = objc.registerName( - "TLSMaximumSupportedProtocolVersion", - ); - late final _sel_setTLSMaximumSupportedProtocolVersion_1 = objc.registerName( - "setTLSMaximumSupportedProtocolVersion:", - ); - late final _sel_HTTPShouldSetCookies1 = objc.registerName( - "HTTPShouldSetCookies", - ); - late final _sel_setHTTPShouldSetCookies_1 = objc.registerName( - "setHTTPShouldSetCookies:", - ); - late final _sel_HTTPCookieAcceptPolicy1 = objc.registerName( - "HTTPCookieAcceptPolicy", - ); - late final _sel_setHTTPCookieAcceptPolicy_1 = objc.registerName( - "setHTTPCookieAcceptPolicy:", - ); - late final _sel_HTTPAdditionalHeaders1 = objc.registerName( - "HTTPAdditionalHeaders", - ); - late final _sel_setHTTPAdditionalHeaders_1 = objc.registerName( - "setHTTPAdditionalHeaders:", - ); - late final _sel_HTTPMaximumConnectionsPerHost1 = objc.registerName( - "HTTPMaximumConnectionsPerHost", - ); - late final _sel_setHTTPMaximumConnectionsPerHost_1 = objc.registerName( - "setHTTPMaximumConnectionsPerHost:", - ); - late final _sel_HTTPCookieStorage1 = objc.registerName("HTTPCookieStorage"); - ffi.Pointer _objc_msgSend_1047( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_1047(obj, sel); - } - - late final __objc_msgSend_1047Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1047 = __objc_msgSend_1047Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_setHTTPCookieStorage_1 = objc.registerName( - "setHTTPCookieStorage:", - ); - void _objc_msgSend_1048( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, - ) { - return __objc_msgSend_1048(obj, sel, value); - } - - late final __objc_msgSend_1048Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1048 = __objc_msgSend_1048Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_URLCredentialStorage1 = objc.registerName( - "URLCredentialStorage", - ); - ffi.Pointer _objc_msgSend_1049( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_1049(obj, sel); - } - - late final __objc_msgSend_1049Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1049 = __objc_msgSend_1049Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_setURLCredentialStorage_1 = objc.registerName( - "setURLCredentialStorage:", - ); - void _objc_msgSend_1050( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, - ) { - return __objc_msgSend_1050(obj, sel, value); - } - - late final __objc_msgSend_1050Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1050 = __objc_msgSend_1050Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_URLCache1 = objc.registerName("URLCache"); - ffi.Pointer _objc_msgSend_1051( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_1051(obj, sel); - } - - late final __objc_msgSend_1051Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1051 = __objc_msgSend_1051Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_setURLCache_1 = objc.registerName("setURLCache:"); - void _objc_msgSend_1052( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, - ) { - return __objc_msgSend_1052(obj, sel, value); - } - - late final __objc_msgSend_1052Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1052 = __objc_msgSend_1052Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_shouldUseExtendedBackgroundIdleMode1 = objc.registerName( - "shouldUseExtendedBackgroundIdleMode", - ); - late final _sel_setShouldUseExtendedBackgroundIdleMode_1 = objc.registerName( - "setShouldUseExtendedBackgroundIdleMode:", - ); - late final _sel_protocolClasses1 = objc.registerName("protocolClasses"); - late final _sel_setProtocolClasses_1 = objc.registerName( - "setProtocolClasses:", - ); - void _objc_msgSend_1053( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, - ) { - return __objc_msgSend_1053(obj, sel, value); - } - - late final __objc_msgSend_1053Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1053 = __objc_msgSend_1053Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_multipathServiceType1 = objc.registerName( - "multipathServiceType", - ); - int _objc_msgSend_1054( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_1054(obj, sel); - } - - late final __objc_msgSend_1054Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1054 = __objc_msgSend_1054Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_setMultipathServiceType_1 = objc.registerName( - "setMultipathServiceType:", - ); - void _objc_msgSend_1055( - ffi.Pointer obj, - ffi.Pointer sel, - int value, - ) { - return __objc_msgSend_1055(obj, sel, value); - } - - late final __objc_msgSend_1055Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - )>>('objc_msgSend'); - late final __objc_msgSend_1055 = __objc_msgSend_1055Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_backgroundSessionConfiguration_1 = objc.registerName( - "backgroundSessionConfiguration:", - ); - late final _sel_sessionWithConfiguration_1 = objc.registerName( - "sessionWithConfiguration:", - ); - ffi.Pointer _objc_msgSend_1056( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer configuration, - ) { - return __objc_msgSend_1056(obj, sel, configuration); - } - - late final __objc_msgSend_1056Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1056 = __objc_msgSend_1056Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_sessionWithConfiguration_delegate_delegateQueue_1 = - objc.registerName("sessionWithConfiguration:delegate:delegateQueue:"); - ffi.Pointer _objc_msgSend_1057( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer configuration, - ffi.Pointer delegate, - ffi.Pointer queue, - ) { - return __objc_msgSend_1057(obj, sel, configuration, delegate, queue); - } - - late final __objc_msgSend_1057Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1057 = __objc_msgSend_1057Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_delegateQueue1 = objc.registerName("delegateQueue"); - late final _sel_configuration1 = objc.registerName("configuration"); - late final _sel_sessionDescription1 = objc.registerName("sessionDescription"); - late final _sel_setSessionDescription_1 = objc.registerName( - "setSessionDescription:", - ); - late final _sel_finishTasksAndInvalidate1 = objc.registerName( - "finishTasksAndInvalidate", - ); - late final _sel_invalidateAndCancel1 = objc.registerName( - "invalidateAndCancel", - ); - late final _sel_resetWithCompletionHandler_1 = objc.registerName( - "resetWithCompletionHandler:", - ); - late final _sel_flushWithCompletionHandler_1 = objc.registerName( - "flushWithCompletionHandler:", - ); - late final _sel_getTasksWithCompletionHandler_1 = objc.registerName( - "getTasksWithCompletionHandler:", - ); - void _objc_msgSend_1058( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer completionHandler, - ) { - return __objc_msgSend_1058(obj, sel, completionHandler); - } - - late final __objc_msgSend_1058Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1058 = __objc_msgSend_1058Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_getAllTasksWithCompletionHandler_1 = objc.registerName( - "getAllTasksWithCompletionHandler:", - ); - void _objc_msgSend_1059( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer completionHandler, - ) { - return __objc_msgSend_1059(obj, sel, completionHandler); - } - - late final __objc_msgSend_1059Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1059 = __objc_msgSend_1059Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_dataTaskWithRequest_1 = objc.registerName( - "dataTaskWithRequest:", - ); - ffi.Pointer _objc_msgSend_1060( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer request, - ) { - return __objc_msgSend_1060(obj, sel, request); - } - - late final __objc_msgSend_1060Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1060 = __objc_msgSend_1060Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_dataTaskWithURL_1 = objc.registerName("dataTaskWithURL:"); - ffi.Pointer _objc_msgSend_1061( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, - ) { - return __objc_msgSend_1061(obj, sel, url); - } - - late final __objc_msgSend_1061Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1061 = __objc_msgSend_1061Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _class_NSURLSessionUploadTask1 = objc.getClass( - "NSURLSessionUploadTask", - ); - late final _sel_cancelByProducingResumeData_1 = objc.registerName( - "cancelByProducingResumeData:", - ); - void _objc_msgSend_1062( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer completionHandler, - ) { - return __objc_msgSend_1062(obj, sel, completionHandler); - } - - late final __objc_msgSend_1062Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1062 = __objc_msgSend_1062Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_uploadTaskWithRequest_fromFile_1 = objc.registerName( - "uploadTaskWithRequest:fromFile:", - ); - ffi.Pointer _objc_msgSend_1063( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer request, - ffi.Pointer fileURL, - ) { - return __objc_msgSend_1063(obj, sel, request, fileURL); - } - - late final __objc_msgSend_1063Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1063 = __objc_msgSend_1063Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_uploadTaskWithRequest_fromData_1 = objc.registerName( - "uploadTaskWithRequest:fromData:", - ); - ffi.Pointer _objc_msgSend_1064( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer request, - ffi.Pointer bodyData, - ) { - return __objc_msgSend_1064(obj, sel, request, bodyData); - } - - late final __objc_msgSend_1064Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1064 = __objc_msgSend_1064Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_uploadTaskWithResumeData_1 = objc.registerName( - "uploadTaskWithResumeData:", - ); - ffi.Pointer _objc_msgSend_1065( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer resumeData, - ) { - return __objc_msgSend_1065(obj, sel, resumeData); - } - - late final __objc_msgSend_1065Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1065 = __objc_msgSend_1065Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_uploadTaskWithStreamedRequest_1 = objc.registerName( - "uploadTaskWithStreamedRequest:", - ); - ffi.Pointer _objc_msgSend_1066( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer request, - ) { - return __objc_msgSend_1066(obj, sel, request); - } - - late final __objc_msgSend_1066Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1066 = __objc_msgSend_1066Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _class_NSURLSessionDownloadTask1 = objc.getClass( - "NSURLSessionDownloadTask", - ); - late final _sel_downloadTaskWithRequest_1 = objc.registerName( - "downloadTaskWithRequest:", - ); - ffi.Pointer _objc_msgSend_1067( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer request, - ) { - return __objc_msgSend_1067(obj, sel, request); - } - - late final __objc_msgSend_1067Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1067 = __objc_msgSend_1067Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_downloadTaskWithURL_1 = objc.registerName( - "downloadTaskWithURL:", - ); - ffi.Pointer _objc_msgSend_1068( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, - ) { - return __objc_msgSend_1068(obj, sel, url); - } - - late final __objc_msgSend_1068Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1068 = __objc_msgSend_1068Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_downloadTaskWithResumeData_1 = objc.registerName( - "downloadTaskWithResumeData:", - ); - ffi.Pointer _objc_msgSend_1069( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer resumeData, - ) { - return __objc_msgSend_1069(obj, sel, resumeData); - } - - late final __objc_msgSend_1069Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1069 = __objc_msgSend_1069Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _class_NSURLSessionStreamTask1 = objc.getClass( - "NSURLSessionStreamTask", - ); - late final _sel_readDataOfMinLength_maxLength_timeout_completionHandler_1 = - objc.registerName( - "readDataOfMinLength:maxLength:timeout:completionHandler:", - ); - void _objc_msgSend_1070( - ffi.Pointer obj, - ffi.Pointer sel, - int minBytes, - int maxBytes, - double timeout, - ffi.Pointer completionHandler, - ) { - return __objc_msgSend_1070( - obj, - sel, - minBytes, - maxBytes, - timeout, - completionHandler, - ); - } - - late final __objc_msgSend_1070Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ffi.UnsignedLong, - ffi.Double, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1070 = __objc_msgSend_1070Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - int, - double, - ffi.Pointer, - )>(); - - late final _sel_writeData_timeout_completionHandler_1 = objc.registerName( - "writeData:timeout:completionHandler:", - ); - void _objc_msgSend_1071( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer data, - double timeout, - ffi.Pointer completionHandler, - ) { - return __objc_msgSend_1071(obj, sel, data, timeout, completionHandler); - } - - late final __objc_msgSend_1071Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Double, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1071 = __objc_msgSend_1071Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - double, - ffi.Pointer, - )>(); - - late final _sel_captureStreams1 = objc.registerName("captureStreams"); - late final _sel_closeWrite1 = objc.registerName("closeWrite"); - late final _sel_closeRead1 = objc.registerName("closeRead"); - late final _sel_startSecureConnection1 = objc.registerName( - "startSecureConnection", - ); - late final _sel_stopSecureConnection1 = objc.registerName( - "stopSecureConnection", - ); - late final _sel_streamTaskWithHostName_port_1 = objc.registerName( - "streamTaskWithHostName:port:", - ); - ffi.Pointer _objc_msgSend_1072( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer hostname, - int port, - ) { - return __objc_msgSend_1072(obj, sel, hostname, port); - } - - late final __objc_msgSend_1072Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Long, - )>>('objc_msgSend'); - late final __objc_msgSend_1072 = __objc_msgSend_1072Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _class_NSNetService1 = objc.getClass("NSNetService"); - late final _sel_initWithDomain_type_name_port_1 = objc.registerName( - "initWithDomain:type:name:port:", - ); - instancetype _objc_msgSend_1073( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer domain, - ffi.Pointer type, - ffi.Pointer name, - int port, - ) { - return __objc_msgSend_1073(obj, sel, domain, type, name, port); - } - - late final __objc_msgSend_1073Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int, - )>>('objc_msgSend'); - late final __objc_msgSend_1073 = __objc_msgSend_1073Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_initWithDomain_type_name_1 = objc.registerName( - "initWithDomain:type:name:", - ); - instancetype _objc_msgSend_1074( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer domain, - ffi.Pointer type, - ffi.Pointer name, - ) { - return __objc_msgSend_1074(obj, sel, domain, type, name); - } - - late final __objc_msgSend_1074Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1074 = __objc_msgSend_1074Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_includesPeerToPeer1 = objc.registerName("includesPeerToPeer"); - late final _sel_setIncludesPeerToPeer_1 = objc.registerName( - "setIncludesPeerToPeer:", - ); - late final _sel_type1 = objc.registerName("type"); - late final _sel_publishWithOptions_1 = objc.registerName( - "publishWithOptions:", - ); - void _objc_msgSend_1075( - ffi.Pointer obj, - ffi.Pointer sel, - int options, - ) { - return __objc_msgSend_1075(obj, sel, options); - } - - late final __objc_msgSend_1075Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - )>>('objc_msgSend'); - late final __objc_msgSend_1075 = __objc_msgSend_1075Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_resolve1 = objc.registerName("resolve"); - late final _sel_stop1 = objc.registerName("stop"); - late final _sel_dictionaryFromTXTRecordData_1 = objc.registerName( - "dictionaryFromTXTRecordData:", - ); - ffi.Pointer _objc_msgSend_1076( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer txtData, - ) { - return __objc_msgSend_1076(obj, sel, txtData); - } - - late final __objc_msgSend_1076Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1076 = __objc_msgSend_1076Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_dataFromTXTRecordDictionary_1 = objc.registerName( - "dataFromTXTRecordDictionary:", - ); - ffi.Pointer _objc_msgSend_1077( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer txtDictionary, - ) { - return __objc_msgSend_1077(obj, sel, txtDictionary); - } - - late final __objc_msgSend_1077Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1077 = __objc_msgSend_1077Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_resolveWithTimeout_1 = objc.registerName( - "resolveWithTimeout:", - ); - late final _sel_getInputStream_outputStream_1 = objc.registerName( - "getInputStream:outputStream:", - ); - bool _objc_msgSend_1078( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer> inputStream, - ffi.Pointer> outputStream, - ) { - return __objc_msgSend_1078(obj, sel, inputStream, outputStream); - } - - late final __objc_msgSend_1078Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_1078 = __objc_msgSend_1078Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer>, - )>(); - - late final _sel_setTXTRecordData_1 = objc.registerName("setTXTRecordData:"); - bool _objc_msgSend_1079( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer recordData, - ) { - return __objc_msgSend_1079(obj, sel, recordData); - } - - late final __objc_msgSend_1079Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1079 = __objc_msgSend_1079Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_TXTRecordData1 = objc.registerName("TXTRecordData"); - late final _sel_startMonitoring1 = objc.registerName("startMonitoring"); - late final _sel_stopMonitoring1 = objc.registerName("stopMonitoring"); - late final _sel_streamTaskWithNetService_1 = objc.registerName( - "streamTaskWithNetService:", - ); - ffi.Pointer _objc_msgSend_1080( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer service, - ) { - return __objc_msgSend_1080(obj, sel, service); - } - - late final __objc_msgSend_1080Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1080 = __objc_msgSend_1080Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _class_NSURLSessionWebSocketTask1 = objc.getClass( - "NSURLSessionWebSocketTask", - ); - late final _class_NSURLSessionWebSocketMessage1 = objc.getClass( - "NSURLSessionWebSocketMessage", - ); - int _objc_msgSend_1081( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_1081(obj, sel); - } - - late final __objc_msgSend_1081Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1081 = __objc_msgSend_1081Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_sendMessage_completionHandler_1 = objc.registerName( - "sendMessage:completionHandler:", - ); - void _objc_msgSend_1082( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer message, - ffi.Pointer completionHandler, - ) { - return __objc_msgSend_1082(obj, sel, message, completionHandler); - } - - late final __objc_msgSend_1082Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1082 = __objc_msgSend_1082Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_receiveMessageWithCompletionHandler_1 = objc.registerName( - "receiveMessageWithCompletionHandler:", - ); - void _objc_msgSend_1083( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer completionHandler, - ) { - return __objc_msgSend_1083(obj, sel, completionHandler); - } - - late final __objc_msgSend_1083Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1083 = __objc_msgSend_1083Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_sendPingWithPongReceiveHandler_1 = objc.registerName( - "sendPingWithPongReceiveHandler:", - ); - void _objc_msgSend_1084( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer pongReceiveHandler, - ) { - return __objc_msgSend_1084(obj, sel, pongReceiveHandler); - } - - late final __objc_msgSend_1084Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1084 = __objc_msgSend_1084Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_cancelWithCloseCode_reason_1 = objc.registerName( - "cancelWithCloseCode:reason:", - ); - void _objc_msgSend_1085( - ffi.Pointer obj, - ffi.Pointer sel, - int closeCode, - ffi.Pointer reason, - ) { - return __objc_msgSend_1085(obj, sel, closeCode, reason); - } - - late final __objc_msgSend_1085Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1085 = __objc_msgSend_1085Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - )>(); - - late final _sel_maximumMessageSize1 = objc.registerName("maximumMessageSize"); - late final _sel_setMaximumMessageSize_1 = objc.registerName( - "setMaximumMessageSize:", - ); - late final _sel_closeCode1 = objc.registerName("closeCode"); - int _objc_msgSend_1086( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_1086(obj, sel); - } - - late final __objc_msgSend_1086Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1086 = __objc_msgSend_1086Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_closeReason1 = objc.registerName("closeReason"); - late final _sel_webSocketTaskWithURL_1 = objc.registerName( - "webSocketTaskWithURL:", - ); - ffi.Pointer _objc_msgSend_1087( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, - ) { - return __objc_msgSend_1087(obj, sel, url); - } - - late final __objc_msgSend_1087Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1087 = __objc_msgSend_1087Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_webSocketTaskWithURL_protocols_1 = objc.registerName( - "webSocketTaskWithURL:protocols:", - ); - ffi.Pointer _objc_msgSend_1088( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, - ffi.Pointer protocols, - ) { - return __objc_msgSend_1088(obj, sel, url, protocols); - } - - late final __objc_msgSend_1088Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1088 = __objc_msgSend_1088Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_webSocketTaskWithRequest_1 = objc.registerName( - "webSocketTaskWithRequest:", - ); - ffi.Pointer _objc_msgSend_1089( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer request, - ) { - return __objc_msgSend_1089(obj, sel, request); - } - - late final __objc_msgSend_1089Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1089 = __objc_msgSend_1089Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_dataTaskWithRequest_completionHandler_1 = objc.registerName( - "dataTaskWithRequest:completionHandler:", - ); - ffi.Pointer _objc_msgSend_1090( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer request, - ffi.Pointer completionHandler, - ) { - return __objc_msgSend_1090(obj, sel, request, completionHandler); - } - - late final __objc_msgSend_1090Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1090 = __objc_msgSend_1090Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_dataTaskWithURL_completionHandler_1 = objc.registerName( - "dataTaskWithURL:completionHandler:", - ); - ffi.Pointer _objc_msgSend_1091( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, - ffi.Pointer completionHandler, - ) { - return __objc_msgSend_1091(obj, sel, url, completionHandler); - } - - late final __objc_msgSend_1091Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1091 = __objc_msgSend_1091Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_uploadTaskWithRequest_fromFile_completionHandler_1 = - objc.registerName("uploadTaskWithRequest:fromFile:completionHandler:"); - ffi.Pointer _objc_msgSend_1092( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer request, - ffi.Pointer fileURL, - ffi.Pointer completionHandler, - ) { - return __objc_msgSend_1092(obj, sel, request, fileURL, completionHandler); - } - - late final __objc_msgSend_1092Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1092 = __objc_msgSend_1092Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_uploadTaskWithRequest_fromData_completionHandler_1 = - objc.registerName("uploadTaskWithRequest:fromData:completionHandler:"); - ffi.Pointer _objc_msgSend_1093( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer request, - ffi.Pointer bodyData, - ffi.Pointer completionHandler, - ) { - return __objc_msgSend_1093(obj, sel, request, bodyData, completionHandler); - } - - late final __objc_msgSend_1093Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1093 = __objc_msgSend_1093Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_uploadTaskWithResumeData_completionHandler_1 = - objc.registerName("uploadTaskWithResumeData:completionHandler:"); - ffi.Pointer _objc_msgSend_1094( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer resumeData, - ffi.Pointer completionHandler, - ) { - return __objc_msgSend_1094(obj, sel, resumeData, completionHandler); - } - - late final __objc_msgSend_1094Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1094 = __objc_msgSend_1094Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_downloadTaskWithRequest_completionHandler_1 = - objc.registerName("downloadTaskWithRequest:completionHandler:"); - ffi.Pointer _objc_msgSend_1095( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer request, - ffi.Pointer completionHandler, - ) { - return __objc_msgSend_1095(obj, sel, request, completionHandler); - } - - late final __objc_msgSend_1095Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1095 = __objc_msgSend_1095Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_downloadTaskWithURL_completionHandler_1 = objc.registerName( - "downloadTaskWithURL:completionHandler:", - ); - ffi.Pointer _objc_msgSend_1096( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, - ffi.Pointer completionHandler, - ) { - return __objc_msgSend_1096(obj, sel, url, completionHandler); - } - - late final __objc_msgSend_1096Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1096 = __objc_msgSend_1096Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_downloadTaskWithResumeData_completionHandler_1 = - objc.registerName("downloadTaskWithResumeData:completionHandler:"); - ffi.Pointer _objc_msgSend_1097( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer resumeData, - ffi.Pointer completionHandler, - ) { - return __objc_msgSend_1097(obj, sel, resumeData, completionHandler); - } - - late final __objc_msgSend_1097Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1097 = __objc_msgSend_1097Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _class_NSProtocolChecker1 = objc.getClass("NSProtocolChecker"); - ffi.Pointer _objc_msgSend_1098( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_1098(obj, sel); - } - - late final __objc_msgSend_1098Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1098 = __objc_msgSend_1098Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - ffi.Pointer _objc_msgSend_1099( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_1099(obj, sel); - } - - late final __objc_msgSend_1099Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1099 = __objc_msgSend_1099Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_protocolCheckerWithTarget_protocol_1 = objc.registerName( - "protocolCheckerWithTarget:protocol:", - ); - instancetype _objc_msgSend_1100( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer anObject, - ffi.Pointer aProtocol, - ) { - return __objc_msgSend_1100(obj, sel, anObject, aProtocol); - } - - late final __objc_msgSend_1100Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1100 = __objc_msgSend_1100Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_initWithTarget_protocol_1 = objc.registerName( - "initWithTarget:protocol:", - ); - late final _class_NSTask1 = objc.getClass("NSTask"); - late final _sel_setExecutableURL_1 = objc.registerName("setExecutableURL:"); - late final _sel_setEnvironment_1 = objc.registerName("setEnvironment:"); - late final _sel_currentDirectoryURL1 = objc.registerName( - "currentDirectoryURL", - ); - late final _sel_setCurrentDirectoryURL_1 = objc.registerName( - "setCurrentDirectoryURL:", - ); - late final _sel_launchRequirementData1 = objc.registerName( - "launchRequirementData", - ); - late final _sel_setLaunchRequirementData_1 = objc.registerName( - "setLaunchRequirementData:", - ); - late final _sel_standardInput1 = objc.registerName("standardInput"); - late final _sel_setStandardInput_1 = objc.registerName("setStandardInput:"); - late final _sel_standardOutput1 = objc.registerName("standardOutput"); - late final _sel_setStandardOutput_1 = objc.registerName("setStandardOutput:"); - late final _sel_standardError1 = objc.registerName("standardError"); - late final _sel_setStandardError_1 = objc.registerName("setStandardError:"); - late final _sel_launchAndReturnError_1 = objc.registerName( - "launchAndReturnError:", - ); - late final _sel_interrupt1 = objc.registerName("interrupt"); - late final _sel_terminate1 = objc.registerName("terminate"); - late final _sel_isRunning1 = objc.registerName("isRunning"); - late final _sel_terminationStatus1 = objc.registerName("terminationStatus"); - late final _sel_terminationReason1 = objc.registerName("terminationReason"); - int _objc_msgSend_1101( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_1101(obj, sel); - } - - late final __objc_msgSend_1101Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1101 = __objc_msgSend_1101Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_terminationHandler1 = objc.registerName("terminationHandler"); - ffi.Pointer _objc_msgSend_1102( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_1102(obj, sel); - } - - late final __objc_msgSend_1102Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1102 = __objc_msgSend_1102Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_setTerminationHandler_1 = objc.registerName( - "setTerminationHandler:", - ); - void _objc_msgSend_1103( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, - ) { - return __objc_msgSend_1103(obj, sel, value); - } - - late final __objc_msgSend_1103Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1103 = __objc_msgSend_1103Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_launchedTaskWithExecutableURL_arguments_error_terminationHandler_1 = - objc.registerName( - "launchedTaskWithExecutableURL:arguments:error:terminationHandler:", - ); - ffi.Pointer _objc_msgSend_1104( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, - ffi.Pointer arguments, - ffi.Pointer> error, - ffi.Pointer terminationHandler, - ) { - return __objc_msgSend_1104( - obj, - sel, - url, - arguments, - error, - terminationHandler, - ); - } - - late final __objc_msgSend_1104Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1104 = __objc_msgSend_1104Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer, - )>(); - - late final _sel_waitUntilExit1 = objc.registerName("waitUntilExit"); - late final _sel_launchPath1 = objc.registerName("launchPath"); - late final _sel_setLaunchPath_1 = objc.registerName("setLaunchPath:"); - late final _sel_setCurrentDirectoryPath_1 = objc.registerName( - "setCurrentDirectoryPath:", - ); - late final _sel_launch1 = objc.registerName("launch"); - late final _sel_launchedTaskWithLaunchPath_arguments_1 = objc.registerName( - "launchedTaskWithLaunchPath:arguments:", - ); - ffi.Pointer _objc_msgSend_1105( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, - ffi.Pointer arguments, - ) { - return __objc_msgSend_1105(obj, sel, path, arguments); - } - - late final __objc_msgSend_1105Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1105 = __objc_msgSend_1105Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _class_NSXMLElement1 = objc.getClass("NSXMLElement"); - late final _class_NSXMLNode1 = objc.getClass("NSXMLNode"); - late final _sel_initWithKind_1 = objc.registerName("initWithKind:"); - instancetype _objc_msgSend_1106( - ffi.Pointer obj, - ffi.Pointer sel, - int kind, - ) { - return __objc_msgSend_1106(obj, sel, kind); - } - - late final __objc_msgSend_1106Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - )>>('objc_msgSend'); - late final __objc_msgSend_1106 = __objc_msgSend_1106Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_initWithKind_options_1 = objc.registerName( - "initWithKind:options:", - ); - instancetype _objc_msgSend_1107( - ffi.Pointer obj, - ffi.Pointer sel, - int kind, - int options, - ) { - return __objc_msgSend_1107(obj, sel, kind, options); - } - - late final __objc_msgSend_1107Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Int32, - )>>('objc_msgSend'); - late final __objc_msgSend_1107 = __objc_msgSend_1107Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - int, - int, - )>(); - - late final _sel_document1 = objc.registerName("document"); - late final _sel_documentWithRootElement_1 = objc.registerName( - "documentWithRootElement:", - ); - ffi.Pointer _objc_msgSend_1108( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer element, - ) { - return __objc_msgSend_1108(obj, sel, element); - } - - late final __objc_msgSend_1108Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1108 = __objc_msgSend_1108Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_elementWithName_1 = objc.registerName("elementWithName:"); - late final _sel_elementWithName_URI_1 = objc.registerName( - "elementWithName:URI:", - ); - ffi.Pointer _objc_msgSend_1109( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer name, - ffi.Pointer URI, - ) { - return __objc_msgSend_1109(obj, sel, name, URI); - } - - late final __objc_msgSend_1109Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1109 = __objc_msgSend_1109Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_elementWithName_stringValue_1 = objc.registerName( - "elementWithName:stringValue:", - ); - late final _sel_elementWithName_children_attributes_1 = objc.registerName( - "elementWithName:children:attributes:", - ); - ffi.Pointer _objc_msgSend_1110( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer name, - ffi.Pointer children, - ffi.Pointer attributes, - ) { - return __objc_msgSend_1110(obj, sel, name, children, attributes); - } - - late final __objc_msgSend_1110Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1110 = __objc_msgSend_1110Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_attributeWithName_stringValue_1 = objc.registerName( - "attributeWithName:stringValue:", - ); - late final _sel_attributeWithName_URI_stringValue_1 = objc.registerName( - "attributeWithName:URI:stringValue:", - ); - late final _sel_namespaceWithName_stringValue_1 = objc.registerName( - "namespaceWithName:stringValue:", - ); - late final _sel_processingInstructionWithName_stringValue_1 = - objc.registerName("processingInstructionWithName:stringValue:"); - late final _sel_commentWithStringValue_1 = objc.registerName( - "commentWithStringValue:", - ); - late final _sel_textWithStringValue_1 = objc.registerName( - "textWithStringValue:", - ); - late final _sel_DTDNodeWithXMLString_1 = objc.registerName( - "DTDNodeWithXMLString:", - ); - int _objc_msgSend_1111( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_1111(obj, sel); - } - - late final __objc_msgSend_1111Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1111 = __objc_msgSend_1111Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_objectValue1 = objc.registerName("objectValue"); - late final _sel_setObjectValue_1 = objc.registerName("setObjectValue:"); - late final _sel_setStringValue_1 = objc.registerName("setStringValue:"); - late final _sel_setStringValue_resolvingEntities_1 = objc.registerName( - "setStringValue:resolvingEntities:", - ); - void _objc_msgSend_1112( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer string, - bool resolve, - ) { - return __objc_msgSend_1112(obj, sel, string, resolve); - } - - late final __objc_msgSend_1112Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - )>>('objc_msgSend'); - late final __objc_msgSend_1112 = __objc_msgSend_1112Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - )>(); - - late final _sel_index1 = objc.registerName("index"); - late final _sel_level1 = objc.registerName("level"); - late final _class_NSXMLDocument1 = objc.getClass("NSXMLDocument"); - late final _sel_initWithXMLString_options_error_1 = objc.registerName( - "initWithXMLString:options:error:", - ); - instancetype _objc_msgSend_1113( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer string, - int mask, - ffi.Pointer> error, - ) { - return __objc_msgSend_1113(obj, sel, string, mask, error); - } - - late final __objc_msgSend_1113Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_1113 = __objc_msgSend_1113Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>, - )>(); - - instancetype _objc_msgSend_1114( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, - int mask, - ffi.Pointer> error, - ) { - return __objc_msgSend_1114(obj, sel, url, mask, error); - } - - late final __objc_msgSend_1114Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_1114 = __objc_msgSend_1114Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>, - )>(); - - late final _sel_initWithData_options_error_1 = objc.registerName( - "initWithData:options:error:", - ); - instancetype _objc_msgSend_1115( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer data, - int mask, - ffi.Pointer> error, - ) { - return __objc_msgSend_1115(obj, sel, data, mask, error); - } - - late final __objc_msgSend_1115Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_1115 = __objc_msgSend_1115Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>, - )>(); - - late final _sel_initWithRootElement_1 = objc.registerName( - "initWithRootElement:", - ); - instancetype _objc_msgSend_1116( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer element, - ) { - return __objc_msgSend_1116(obj, sel, element); - } - - late final __objc_msgSend_1116Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1116 = __objc_msgSend_1116Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_replacementClassForClass_1 = objc.registerName( - "replacementClassForClass:", - ); - late final _sel_characterEncoding1 = objc.registerName("characterEncoding"); - late final _sel_setCharacterEncoding_1 = objc.registerName( - "setCharacterEncoding:", - ); - late final _sel_isStandalone1 = objc.registerName("isStandalone"); - late final _sel_setStandalone_1 = objc.registerName("setStandalone:"); - late final _sel_documentContentKind1 = objc.registerName( - "documentContentKind", - ); - int _objc_msgSend_1117( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_1117(obj, sel); - } - - late final __objc_msgSend_1117Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1117 = __objc_msgSend_1117Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_setDocumentContentKind_1 = objc.registerName( - "setDocumentContentKind:", - ); - void _objc_msgSend_1118( - ffi.Pointer obj, - ffi.Pointer sel, - int value, - ) { - return __objc_msgSend_1118(obj, sel, value); - } - - late final __objc_msgSend_1118Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - )>>('objc_msgSend'); - late final __objc_msgSend_1118 = __objc_msgSend_1118Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_setMIMEType_1 = objc.registerName("setMIMEType:"); - late final _class_NSXMLDTD1 = objc.getClass("NSXMLDTD"); - late final _sel_setPublicID_1 = objc.registerName("setPublicID:"); - late final _sel_setSystemID_1 = objc.registerName("setSystemID:"); - late final _sel_insertChild_atIndex_1 = objc.registerName( - "insertChild:atIndex:", - ); - void _objc_msgSend_1119( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer child, - int index, - ) { - return __objc_msgSend_1119(obj, sel, child, index); - } - - late final __objc_msgSend_1119Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - )>>('objc_msgSend'); - late final __objc_msgSend_1119 = __objc_msgSend_1119Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_insertChildren_atIndex_1 = objc.registerName( - "insertChildren:atIndex:", - ); - void _objc_msgSend_1120( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer children, - int index, - ) { - return __objc_msgSend_1120(obj, sel, children, index); - } - - late final __objc_msgSend_1120Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - )>>('objc_msgSend'); - late final __objc_msgSend_1120 = __objc_msgSend_1120Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_removeChildAtIndex_1 = objc.registerName( - "removeChildAtIndex:", - ); - late final _sel_setChildren_1 = objc.registerName("setChildren:"); - late final _sel_addChild_1 = objc.registerName("addChild:"); - void _objc_msgSend_1121( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer child, - ) { - return __objc_msgSend_1121(obj, sel, child); - } - - late final __objc_msgSend_1121Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1121 = __objc_msgSend_1121Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_replaceChildAtIndex_withNode_1 = objc.registerName( - "replaceChildAtIndex:withNode:", - ); - void _objc_msgSend_1122( - ffi.Pointer obj, - ffi.Pointer sel, - int index, - ffi.Pointer node, - ) { - return __objc_msgSend_1122(obj, sel, index, node); - } - - late final __objc_msgSend_1122Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1122 = __objc_msgSend_1122Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - )>(); - - late final _class_NSXMLDTDNode1 = objc.getClass("NSXMLDTDNode"); - late final _sel_initWithXMLString_1 = objc.registerName("initWithXMLString:"); - late final _sel_DTDKind1 = objc.registerName("DTDKind"); - int _objc_msgSend_1123( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_1123(obj, sel); - } - - late final __objc_msgSend_1123Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1123 = __objc_msgSend_1123Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_setDTDKind_1 = objc.registerName("setDTDKind:"); - void _objc_msgSend_1124( - ffi.Pointer obj, - ffi.Pointer sel, - int value, - ) { - return __objc_msgSend_1124(obj, sel, value); - } - - late final __objc_msgSend_1124Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - )>>('objc_msgSend'); - late final __objc_msgSend_1124 = __objc_msgSend_1124Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_isExternal1 = objc.registerName("isExternal"); - late final _sel_notationName1 = objc.registerName("notationName"); - late final _sel_setNotationName_1 = objc.registerName("setNotationName:"); - late final _sel_localNameForName_1 = objc.registerName("localNameForName:"); - late final _sel_prefixForName_1 = objc.registerName("prefixForName:"); - late final _sel_predefinedNamespaceForPrefix_1 = objc.registerName( - "predefinedNamespaceForPrefix:", - ); - ffi.Pointer _objc_msgSend_1125( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer name, - ) { - return __objc_msgSend_1125(obj, sel, name); - } - - late final __objc_msgSend_1125Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1125 = __objc_msgSend_1125Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_entityDeclarationForName_1 = objc.registerName( - "entityDeclarationForName:", - ); - ffi.Pointer _objc_msgSend_1126( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer name, - ) { - return __objc_msgSend_1126(obj, sel, name); - } - - late final __objc_msgSend_1126Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1126 = __objc_msgSend_1126Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_notationDeclarationForName_1 = objc.registerName( - "notationDeclarationForName:", - ); - late final _sel_elementDeclarationForName_1 = objc.registerName( - "elementDeclarationForName:", - ); - late final _sel_attributeDeclarationForName_elementName_1 = objc.registerName( - "attributeDeclarationForName:elementName:", - ); - ffi.Pointer _objc_msgSend_1127( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer name, - ffi.Pointer elementName, - ) { - return __objc_msgSend_1127(obj, sel, name, elementName); - } - - late final __objc_msgSend_1127Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1127 = __objc_msgSend_1127Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_predefinedEntityDeclarationForName_1 = objc.registerName( - "predefinedEntityDeclarationForName:", - ); - late final _sel_DTD1 = objc.registerName("DTD"); - ffi.Pointer _objc_msgSend_1128( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_1128(obj, sel); - } - - late final __objc_msgSend_1128Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1128 = __objc_msgSend_1128Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_setDTD_1 = objc.registerName("setDTD:"); - void _objc_msgSend_1129( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, - ) { - return __objc_msgSend_1129(obj, sel, value); - } - - late final __objc_msgSend_1129Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1129 = __objc_msgSend_1129Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_setRootElement_1 = objc.registerName("setRootElement:"); - void _objc_msgSend_1130( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer root, - ) { - return __objc_msgSend_1130(obj, sel, root); - } - - late final __objc_msgSend_1130Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1130 = __objc_msgSend_1130Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_rootElement1 = objc.registerName("rootElement"); - ffi.Pointer _objc_msgSend_1131( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_1131(obj, sel); - } - - late final __objc_msgSend_1131Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1131 = __objc_msgSend_1131Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_XMLData1 = objc.registerName("XMLData"); - late final _sel_XMLDataWithOptions_1 = objc.registerName( - "XMLDataWithOptions:", - ); - ffi.Pointer _objc_msgSend_1132( - ffi.Pointer obj, - ffi.Pointer sel, - int options, - ) { - return __objc_msgSend_1132(obj, sel, options); - } - - late final __objc_msgSend_1132Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - )>>('objc_msgSend'); - late final __objc_msgSend_1132 = __objc_msgSend_1132Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_objectByApplyingXSLT_arguments_error_1 = objc.registerName( - "objectByApplyingXSLT:arguments:error:", - ); - ffi.Pointer _objc_msgSend_1133( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer xslt, - ffi.Pointer arguments, - ffi.Pointer> error, - ) { - return __objc_msgSend_1133(obj, sel, xslt, arguments, error); - } - - late final __objc_msgSend_1133Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_1133 = __objc_msgSend_1133Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>(); - - late final _sel_objectByApplyingXSLTString_arguments_error_1 = - objc.registerName("objectByApplyingXSLTString:arguments:error:"); - ffi.Pointer _objc_msgSend_1134( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer xslt, - ffi.Pointer arguments, - ffi.Pointer> error, - ) { - return __objc_msgSend_1134(obj, sel, xslt, arguments, error); - } - - late final __objc_msgSend_1134Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_1134 = __objc_msgSend_1134Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>(); - - late final _sel_objectByApplyingXSLTAtURL_arguments_error_1 = - objc.registerName("objectByApplyingXSLTAtURL:arguments:error:"); - ffi.Pointer _objc_msgSend_1135( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer xsltURL, - ffi.Pointer argument, - ffi.Pointer> error, - ) { - return __objc_msgSend_1135(obj, sel, xsltURL, argument, error); - } - - late final __objc_msgSend_1135Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_1135 = __objc_msgSend_1135Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>(); - - late final _sel_validateAndReturnError_1 = objc.registerName( - "validateAndReturnError:", - ); - late final _sel_rootDocument1 = objc.registerName("rootDocument"); - ffi.Pointer _objc_msgSend_1136( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_1136(obj, sel); - } - - late final __objc_msgSend_1136Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1136 = __objc_msgSend_1136Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_parent1 = objc.registerName("parent"); - ffi.Pointer _objc_msgSend_1137( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_1137(obj, sel); - } - - late final __objc_msgSend_1137Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1137 = __objc_msgSend_1137Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_childCount1 = objc.registerName("childCount"); - late final _sel_children1 = objc.registerName("children"); - late final _sel_childAtIndex_1 = objc.registerName("childAtIndex:"); - ffi.Pointer _objc_msgSend_1138( - ffi.Pointer obj, - ffi.Pointer sel, - int index, - ) { - return __objc_msgSend_1138(obj, sel, index); - } - - late final __objc_msgSend_1138Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - )>>('objc_msgSend'); - late final __objc_msgSend_1138 = __objc_msgSend_1138Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_previousSibling1 = objc.registerName("previousSibling"); - late final _sel_nextSibling1 = objc.registerName("nextSibling"); - late final _sel_previousNode1 = objc.registerName("previousNode"); - late final _sel_nextNode1 = objc.registerName("nextNode"); - late final _sel_detach1 = objc.registerName("detach"); - late final _sel_XPath1 = objc.registerName("XPath"); - late final _sel_localName1 = objc.registerName("localName"); - late final _sel_prefix1 = objc.registerName("prefix"); - late final _sel_URI1 = objc.registerName("URI"); - late final _sel_setURI_1 = objc.registerName("setURI:"); - late final _sel_XMLString1 = objc.registerName("XMLString"); - late final _sel_XMLStringWithOptions_1 = objc.registerName( - "XMLStringWithOptions:", - ); - ffi.Pointer _objc_msgSend_1139( - ffi.Pointer obj, - ffi.Pointer sel, - int options, - ) { - return __objc_msgSend_1139(obj, sel, options); - } - - late final __objc_msgSend_1139Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - )>>('objc_msgSend'); - late final __objc_msgSend_1139 = __objc_msgSend_1139Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - )>(); - - late final _sel_canonicalXMLStringPreservingComments_1 = objc.registerName( - "canonicalXMLStringPreservingComments:", - ); - ffi.Pointer _objc_msgSend_1140( - ffi.Pointer obj, - ffi.Pointer sel, - bool comments, - ) { - return __objc_msgSend_1140(obj, sel, comments); - } - - late final __objc_msgSend_1140Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - )>>('objc_msgSend'); - late final __objc_msgSend_1140 = __objc_msgSend_1140Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - bool, - )>(); - - late final _sel_nodesForXPath_error_1 = objc.registerName( - "nodesForXPath:error:", - ); - late final _sel_objectsForXQuery_constants_error_1 = objc.registerName( - "objectsForXQuery:constants:error:", - ); - ffi.Pointer _objc_msgSend_1141( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer xquery, - ffi.Pointer constants, - ffi.Pointer> error, - ) { - return __objc_msgSend_1141(obj, sel, xquery, constants, error); - } - - late final __objc_msgSend_1141Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>>('objc_msgSend'); - late final __objc_msgSend_1141 = __objc_msgSend_1141Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - )>(); - - late final _sel_objectsForXQuery_error_1 = objc.registerName( - "objectsForXQuery:error:", - ); - late final _sel_initWithName_URI_1 = objc.registerName("initWithName:URI:"); - instancetype _objc_msgSend_1142( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer name, - ffi.Pointer URI, - ) { - return __objc_msgSend_1142(obj, sel, name, URI); - } - - late final __objc_msgSend_1142Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1142 = __objc_msgSend_1142Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_initWithName_stringValue_1 = objc.registerName( - "initWithName:stringValue:", - ); - late final _sel_initWithXMLString_error_1 = objc.registerName( - "initWithXMLString:error:", - ); - late final _sel_elementsForName_1 = objc.registerName("elementsForName:"); - late final _sel_elementsForLocalName_URI_1 = objc.registerName( - "elementsForLocalName:URI:", - ); - ffi.Pointer _objc_msgSend_1143( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer localName, - ffi.Pointer URI, - ) { - return __objc_msgSend_1143(obj, sel, localName, URI); - } - - late final __objc_msgSend_1143Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1143 = __objc_msgSend_1143Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_addAttribute_1 = objc.registerName("addAttribute:"); - late final _sel_removeAttributeForName_1 = objc.registerName( - "removeAttributeForName:", - ); - late final _sel_attributes1 = objc.registerName("attributes"); - late final _sel_setAttributes_1 = objc.registerName("setAttributes:"); - late final _sel_setAttributesWithDictionary_1 = objc.registerName( - "setAttributesWithDictionary:", - ); - late final _sel_attributeForName_1 = objc.registerName("attributeForName:"); - late final _sel_attributeForLocalName_URI_1 = objc.registerName( - "attributeForLocalName:URI:", - ); - ffi.Pointer _objc_msgSend_1144( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer localName, - ffi.Pointer URI, - ) { - return __objc_msgSend_1144(obj, sel, localName, URI); - } - - late final __objc_msgSend_1144Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>>('objc_msgSend'); - late final __objc_msgSend_1144 = __objc_msgSend_1144Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(); - - late final _sel_addNamespace_1 = objc.registerName("addNamespace:"); - late final _sel_removeNamespaceForPrefix_1 = objc.registerName( - "removeNamespaceForPrefix:", - ); - late final _sel_namespaces1 = objc.registerName("namespaces"); - late final _sel_setNamespaces_1 = objc.registerName("setNamespaces:"); - late final _sel_namespaceForPrefix_1 = objc.registerName( - "namespaceForPrefix:", - ); - late final _sel_resolveNamespaceForName_1 = objc.registerName( - "resolveNamespaceForName:", - ); - late final _sel_resolvePrefixForNamespaceURI_1 = objc.registerName( - "resolvePrefixForNamespaceURI:", - ); - late final _sel_normalizeAdjacentTextNodesPreservingCDATA_1 = - objc.registerName("normalizeAdjacentTextNodesPreservingCDATA:"); - late final _sel_setAttributesAsDictionary_1 = objc.registerName( - "setAttributesAsDictionary:", - ); - late final _class_SwiftClass1 = objc.getClass("swift_module.SwiftClass"); - late final _sel_sayHello1 = objc.registerName("sayHello"); - late final _sel_someField1 = objc.registerName("someField"); - late final _sel_setSomeField_1 = objc.registerName("setSomeField:"); -} - class NSObject extends objc.ObjCObjectBase { - NSObject._( - ffi.Pointer pointer, - this._lib, { - bool retain = false, - bool release = false, - }) : super(pointer, retain: retain, release: release); - - SwiftLibrary _lib; + NSObject._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super(pointer, retain: retain, release: release); /// Returns a [NSObject] that points to the same underlying object as [other]. - static NSObject castFrom( - SwiftLibrary lib, - T other, - ) { - return NSObject._(other.pointer, lib, retain: true, release: true); + static NSObject castFrom(T other) { + return NSObject._(other.pointer, retain: true, release: true); } /// Returns a [NSObject] that wraps the given raw object pointer. - static NSObject castFromPointer( - SwiftLibrary lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSObject._(other, lib, retain: retain, release: release); + static NSObject castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSObject._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSObject]. - static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSObject1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0(obj.pointer, _sel_isKindOfClass_, _class_NSObject); } - static void load(SwiftLibrary _lib) { - _lib._objc_msgSend_1(_lib._class_NSObject1, _lib._sel_load1); + static void load() { + _objc_msgSend_1(_class_NSObject, _sel_load); } - static void initialize(SwiftLibrary _lib) { - _lib._objc_msgSend_1(_lib._class_NSObject1, _lib._sel_initialize1); + static void initialize() { + _objc_msgSend_1(_class_NSObject, _sel_initialize); } NSObject init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSObject._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSObject._(_ret, retain: true, release: true); } - static NSObject new1(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2(_lib._class_NSObject1, _lib._sel_new1); - return NSObject._(_ret, _lib, retain: false, release: true); + static NSObject new1() { + final _ret = _objc_msgSend_2(_class_NSObject, _sel_new); + return NSObject._(_ret, retain: false, release: true); } - static NSObject allocWithZone_(SwiftLibrary _lib, ffi.Pointer<_NSZone> zone) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSObject1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSObject._(_ret, _lib, retain: false, release: true); + static NSObject allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = _objc_msgSend_3(_class_NSObject, _sel_allocWithZone_, zone); + return NSObject._(_ret, retain: false, release: true); } - static NSObject alloc(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2(_lib._class_NSObject1, _lib._sel_alloc1); - return NSObject._(_ret, _lib, retain: false, release: true); + static NSObject alloc() { + final _ret = _objc_msgSend_2(_class_NSObject, _sel_alloc); + return NSObject._(_ret, retain: false, release: true); } void dealloc() { - _lib._objc_msgSend_1(this.pointer, _lib._sel_dealloc1); + _objc_msgSend_1(this.pointer, _sel_dealloc); } void finalize() { - _lib._objc_msgSend_1(this.pointer, _lib._sel_finalize1); + _objc_msgSend_1(this.pointer, _sel_finalize); } NSObject copy() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_copy1); - return NSObject._(_ret, _lib, retain: false, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_copy); + return NSObject._(_ret, retain: false, release: true); } NSObject mutableCopy() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_mutableCopy1); - return NSObject._(_ret, _lib, retain: false, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_mutableCopy); + return NSObject._(_ret, retain: false, release: true); } - static NSObject copyWithZone_(SwiftLibrary _lib, ffi.Pointer<_NSZone> zone) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSObject1, - _lib._sel_copyWithZone_1, - zone, - ); - return NSObject._(_ret, _lib, retain: false, release: true); + static NSObject copyWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = _objc_msgSend_3(_class_NSObject, _sel_copyWithZone_, zone); + return NSObject._(_ret, retain: false, release: true); } - static NSObject mutableCopyWithZone_( - SwiftLibrary _lib, - ffi.Pointer<_NSZone> zone, - ) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSObject1, - _lib._sel_mutableCopyWithZone_1, - zone, - ); - return NSObject._(_ret, _lib, retain: false, release: true); + static NSObject mutableCopyWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = + _objc_msgSend_3(_class_NSObject, _sel_mutableCopyWithZone_, zone); + return NSObject._(_ret, retain: false, release: true); } static bool instancesRespondToSelector_( - SwiftLibrary _lib, - ffi.Pointer aSelector, - ) { - return _lib._objc_msgSend_4( - _lib._class_NSObject1, - _lib._sel_instancesRespondToSelector_1, - aSelector, - ); + ffi.Pointer aSelector) { + return _objc_msgSend_4( + _class_NSObject, _sel_instancesRespondToSelector_, aSelector); } - static bool conformsToProtocol_(SwiftLibrary _lib, Protocol protocol) { - return _lib._objc_msgSend_5( - _lib._class_NSObject1, - _lib._sel_conformsToProtocol_1, - protocol.pointer, - ); + static bool conformsToProtocol_(Protocol protocol) { + return _objc_msgSend_5( + _class_NSObject, _sel_conformsToProtocol_, protocol.pointer); } ffi.Pointer> methodForSelector_( - ffi.Pointer aSelector, - ) { - return _lib._objc_msgSend_6( - this.pointer, - _lib._sel_methodForSelector_1, - aSelector, - ); + ffi.Pointer aSelector) { + return _objc_msgSend_6(this.pointer, _sel_methodForSelector_, aSelector); } static ffi.Pointer> - instanceMethodForSelector_( - SwiftLibrary _lib, - ffi.Pointer aSelector, - ) { - return _lib._objc_msgSend_6( - _lib._class_NSObject1, - _lib._sel_instanceMethodForSelector_1, - aSelector, - ); + instanceMethodForSelector_(ffi.Pointer aSelector) { + return _objc_msgSend_6( + _class_NSObject, _sel_instanceMethodForSelector_, aSelector); } void doesNotRecognizeSelector_(ffi.Pointer aSelector) { - _lib._objc_msgSend_7( - this.pointer, - _lib._sel_doesNotRecognizeSelector_1, - aSelector, - ); + _objc_msgSend_7(this.pointer, _sel_doesNotRecognizeSelector_, aSelector); } NSObject forwardingTargetForSelector_( - ffi.Pointer aSelector, - ) { - final _ret = _lib._objc_msgSend_8( - this.pointer, - _lib._sel_forwardingTargetForSelector_1, - aSelector, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + ffi.Pointer aSelector) { + final _ret = _objc_msgSend_8( + this.pointer, _sel_forwardingTargetForSelector_, aSelector); + return NSObject._(_ret, retain: true, release: true); } void forwardInvocation_(NSInvocation anInvocation) { - _lib._objc_msgSend_421( - this.pointer, - _lib._sel_forwardInvocation_1, - anInvocation.pointer, - ); + _objc_msgSend_421( + this.pointer, _sel_forwardInvocation_, anInvocation.pointer); } NSMethodSignature methodSignatureForSelector_( - ffi.Pointer aSelector, - ) { - final _ret = _lib._objc_msgSend_422( - this.pointer, - _lib._sel_methodSignatureForSelector_1, - aSelector, - ); - return NSMethodSignature._(_ret, _lib, retain: true, release: true); + ffi.Pointer aSelector) { + final _ret = _objc_msgSend_422( + this.pointer, _sel_methodSignatureForSelector_, aSelector); + return NSMethodSignature._(_ret, retain: true, release: true); } static NSMethodSignature instanceMethodSignatureForSelector_( - SwiftLibrary _lib, - ffi.Pointer aSelector, - ) { - final _ret = _lib._objc_msgSend_422( - _lib._class_NSObject1, - _lib._sel_instanceMethodSignatureForSelector_1, - aSelector, - ); - return NSMethodSignature._(_ret, _lib, retain: true, release: true); + ffi.Pointer aSelector) { + final _ret = _objc_msgSend_422( + _class_NSObject, _sel_instanceMethodSignatureForSelector_, aSelector); + return NSMethodSignature._(_ret, retain: true, release: true); } bool allowsWeakReference() { - return _lib._objc_msgSend_12(this.pointer, _lib._sel_allowsWeakReference1); + return _objc_msgSend_12(this.pointer, _sel_allowsWeakReference); } bool retainWeakReference() { - return _lib._objc_msgSend_12(this.pointer, _lib._sel_retainWeakReference1); + return _objc_msgSend_12(this.pointer, _sel_retainWeakReference); } - static bool isSubclassOfClass_(SwiftLibrary _lib, NSObject aClass) { - return _lib._objc_msgSend_0( - _lib._class_NSObject1, - _lib._sel_isSubclassOfClass_1, - aClass.pointer, - ); + static bool isSubclassOfClass_(NSObject aClass) { + return _objc_msgSend_0( + _class_NSObject, _sel_isSubclassOfClass_, aClass.pointer); } - static bool resolveClassMethod_( - SwiftLibrary _lib, - ffi.Pointer sel, - ) { - return _lib._objc_msgSend_4( - _lib._class_NSObject1, - _lib._sel_resolveClassMethod_1, - sel, - ); + static bool resolveClassMethod_(ffi.Pointer sel) { + return _objc_msgSend_4(_class_NSObject, _sel_resolveClassMethod_, sel); } - static bool resolveInstanceMethod_( - SwiftLibrary _lib, - ffi.Pointer sel, - ) { - return _lib._objc_msgSend_4( - _lib._class_NSObject1, - _lib._sel_resolveInstanceMethod_1, - sel, - ); + static bool resolveInstanceMethod_(ffi.Pointer sel) { + return _objc_msgSend_4(_class_NSObject, _sel_resolveInstanceMethod_, sel); } - static int hash(SwiftLibrary _lib) { - return _lib._objc_msgSend_10(_lib._class_NSObject1, _lib._sel_hash1); + static int hash() { + return _objc_msgSend_10(_class_NSObject, _sel_hash); } - static NSObject superclass(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSObject1, - _lib._sel_superclass1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + static NSObject superclass() { + final _ret = _objc_msgSend_2(_class_NSObject, _sel_superclass); + return NSObject._(_ret, retain: true, release: true); } - static NSObject class1(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2(_lib._class_NSObject1, _lib._sel_class1); - return NSObject._(_ret, _lib, retain: true, release: true); + static NSObject class1() { + final _ret = _objc_msgSend_2(_class_NSObject, _sel_class); + return NSObject._(_ret, retain: true, release: true); } - static NSString description(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_21( - _lib._class_NSObject1, - _lib._sel_description1, - ); - return NSString._(_ret, _lib, retain: true, release: true); + static NSString description() { + final _ret = _objc_msgSend_21(_class_NSObject, _sel_description); + return NSString._(_ret, retain: true, release: true); } - static NSString debugDescription(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_21( - _lib._class_NSObject1, - _lib._sel_debugDescription1, - ); - return NSString._(_ret, _lib, retain: true, release: true); + static NSString debugDescription() { + final _ret = _objc_msgSend_21(_class_NSObject, _sel_debugDescription); + return NSString._(_ret, retain: true, release: true); } - static int version(SwiftLibrary _lib) { - return _lib._objc_msgSend_83(_lib._class_NSObject1, _lib._sel_version1); + static int version() { + return _objc_msgSend_83(_class_NSObject, _sel_version); } - static void setVersion_(SwiftLibrary _lib, int aVersion) { - _lib._objc_msgSend_423( - _lib._class_NSObject1, - _lib._sel_setVersion_1, - aVersion, - ); + static void setVersion_(int aVersion) { + _objc_msgSend_423(_class_NSObject, _sel_setVersion_, aVersion); } NSObject get classForCoder { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_classForCoder1); - return NSObject._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_classForCoder); + return NSObject._(_ret, retain: true, release: true); } NSObject? replacementObjectForCoder_(NSCoder coder) { - final _ret = _lib._objc_msgSend_47( - this.pointer, - _lib._sel_replacementObjectForCoder_1, - coder.pointer, - ); + final _ret = _objc_msgSend_47( + this.pointer, _sel_replacementObjectForCoder_, coder.pointer); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } NSObject? awakeAfterUsingCoder_(NSCoder coder) { - final _ret = _lib._objc_msgSend_47( - this.pointer, - _lib._sel_awakeAfterUsingCoder_1, - coder.pointer, - ); + final _ret = _objc_msgSend_47( + this.pointer, _sel_awakeAfterUsingCoder_, coder.pointer); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: false, release: true); + : NSObject._(_ret, retain: false, release: true); } - static void poseAsClass_(SwiftLibrary _lib, NSObject aClass) { - _lib._objc_msgSend_15( - _lib._class_NSObject1, - _lib._sel_poseAsClass_1, - aClass.pointer, - ); + static void poseAsClass_(NSObject aClass) { + _objc_msgSend_15(_class_NSObject, _sel_poseAsClass_, aClass.pointer); } NSObject get autoContentAccessingProxy { - final _ret = _lib._objc_msgSend_2( - this.pointer, - _lib._sel_autoContentAccessingProxy1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_autoContentAccessingProxy); + return NSObject._(_ret, retain: true, release: true); } void attemptRecoveryFromError_optionIndex_delegate_didRecoverSelector_contextInfo_( - NSError error, - int recoveryOptionIndex, - NSObject? delegate, - ffi.Pointer didRecoverSelector, - ffi.Pointer contextInfo, - ) { - _lib._objc_msgSend_424( - this.pointer, - _lib._sel_attemptRecoveryFromError_optionIndex_delegate_didRecoverSelector_contextInfo_1, - error.pointer, - recoveryOptionIndex, - delegate?.pointer ?? ffi.nullptr, - didRecoverSelector, - contextInfo, - ); + NSError error, + int recoveryOptionIndex, + NSObject? delegate, + ffi.Pointer didRecoverSelector, + ffi.Pointer contextInfo) { + _objc_msgSend_424( + this.pointer, + _sel_attemptRecoveryFromError_optionIndex_delegate_didRecoverSelector_contextInfo_, + error.pointer, + recoveryOptionIndex, + delegate?.pointer ?? ffi.nullptr, + didRecoverSelector, + contextInfo); } bool attemptRecoveryFromError_optionIndex_( - NSError error, - int recoveryOptionIndex, - ) { - return _lib._objc_msgSend_425( - this.pointer, - _lib._sel_attemptRecoveryFromError_optionIndex_1, - error.pointer, - recoveryOptionIndex, - ); + NSError error, int recoveryOptionIndex) { + return _objc_msgSend_425( + this.pointer, + _sel_attemptRecoveryFromError_optionIndex_, + error.pointer, + recoveryOptionIndex); } void performSelector_withObject_afterDelay_inModes_( - ffi.Pointer aSelector, - NSObject? anArgument, - double delay, - NSArray modes, - ) { - _lib._objc_msgSend_426( - this.pointer, - _lib._sel_performSelector_withObject_afterDelay_inModes_1, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - delay, - modes.pointer, - ); + ffi.Pointer aSelector, + NSObject? anArgument, + double delay, + NSArray modes) { + _objc_msgSend_426( + this.pointer, + _sel_performSelector_withObject_afterDelay_inModes_, + aSelector, + anArgument?.pointer ?? ffi.nullptr, + delay, + modes.pointer); } void performSelector_withObject_afterDelay_( - ffi.Pointer aSelector, - NSObject? anArgument, - double delay, - ) { - _lib._objc_msgSend_427( - this.pointer, - _lib._sel_performSelector_withObject_afterDelay_1, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - delay, - ); + ffi.Pointer aSelector, + NSObject? anArgument, + double delay) { + _objc_msgSend_427(this.pointer, _sel_performSelector_withObject_afterDelay_, + aSelector, anArgument?.pointer ?? ffi.nullptr, delay); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSObject1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSObject1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSObject, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); + } + + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSObject, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); } void URL_resourceDataDidBecomeAvailable_(NSURL sender, NSData newBytes) { - _lib._objc_msgSend_428( - this.pointer, - _lib._sel_URL_resourceDataDidBecomeAvailable_1, - sender.pointer, - newBytes.pointer, - ); + _objc_msgSend_428(this.pointer, _sel_URL_resourceDataDidBecomeAvailable_, + sender.pointer, newBytes.pointer); } void URLResourceDidFinishLoading_(NSURL sender) { - _lib._objc_msgSend_429( - this.pointer, - _lib._sel_URLResourceDidFinishLoading_1, - sender.pointer, - ); + _objc_msgSend_429( + this.pointer, _sel_URLResourceDidFinishLoading_, sender.pointer); } void URLResourceDidCancelLoading_(NSURL sender) { - _lib._objc_msgSend_429( - this.pointer, - _lib._sel_URLResourceDidCancelLoading_1, - sender.pointer, - ); + _objc_msgSend_429( + this.pointer, _sel_URLResourceDidCancelLoading_, sender.pointer); } void URL_resourceDidFailLoadingWithReason_(NSURL sender, NSString reason) { - _lib._objc_msgSend_430( - this.pointer, - _lib._sel_URL_resourceDidFailLoadingWithReason_1, - sender.pointer, - reason.pointer, - ); + _objc_msgSend_430(this.pointer, _sel_URL_resourceDidFailLoadingWithReason_, + sender.pointer, reason.pointer); } bool fileManager_shouldProceedAfterError_( - NSFileManager fm, - NSDictionary errorInfo, - ) { - return _lib._objc_msgSend_467( - this.pointer, - _lib._sel_fileManager_shouldProceedAfterError_1, - fm.pointer, - errorInfo.pointer, - ); + NSFileManager fm, NSDictionary errorInfo) { + return _objc_msgSend_467( + this.pointer, + _sel_fileManager_shouldProceedAfterError_, + fm.pointer, + errorInfo.pointer); } void fileManager_willProcessPath_(NSFileManager fm, NSString path) { - _lib._objc_msgSend_468( - this.pointer, - _lib._sel_fileManager_willProcessPath_1, - fm.pointer, - path.pointer, - ); + _objc_msgSend_468(this.pointer, _sel_fileManager_willProcessPath_, + fm.pointer, path.pointer); } - static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSObject1, - _lib._sel_accessInstanceVariablesDirectly1, - ); + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSObject, _sel_accessInstanceVariablesDirectly); } NSObject? valueForKey_(NSString key) { - final _ret = _lib._objc_msgSend_38( - this.pointer, - _lib._sel_valueForKey_1, - key.pointer, - ); + final _ret = _objc_msgSend_38(this.pointer, _sel_valueForKey_, key.pointer); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } void setValue_forKey_(NSObject? value, NSString key) { - _lib._objc_msgSend_135( - this.pointer, - _lib._sel_setValue_forKey_1, - value?.pointer ?? ffi.nullptr, - key.pointer, - ); + _objc_msgSend_135(this.pointer, _sel_setValue_forKey_, + value?.pointer ?? ffi.nullptr, key.pointer); } bool validateValue_forKey_error_( - ffi.Pointer> ioValue, - NSString inKey, - ffi.Pointer> outError, - ) { - return _lib._objc_msgSend_243( - this.pointer, - _lib._sel_validateValue_forKey_error_1, - ioValue, - inKey.pointer, - outError, - ); + ffi.Pointer> ioValue, + NSString inKey, + ffi.Pointer> outError) { + return _objc_msgSend_243(this.pointer, _sel_validateValue_forKey_error_, + ioValue, inKey.pointer, outError); } NSMutableArray mutableArrayValueForKey_(NSString key) { - final _ret = _lib._objc_msgSend_488( - this.pointer, - _lib._sel_mutableArrayValueForKey_1, - key.pointer, - ); - return NSMutableArray._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_488( + this.pointer, _sel_mutableArrayValueForKey_, key.pointer); + return NSMutableArray._(_ret, retain: true, release: true); } NSMutableOrderedSet mutableOrderedSetValueForKey_(NSString key) { - final _ret = _lib._objc_msgSend_506( - this.pointer, - _lib._sel_mutableOrderedSetValueForKey_1, - key.pointer, - ); - return NSMutableOrderedSet._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_506( + this.pointer, _sel_mutableOrderedSetValueForKey_, key.pointer); + return NSMutableOrderedSet._(_ret, retain: true, release: true); } NSMutableSet mutableSetValueForKey_(NSString key) { - final _ret = _lib._objc_msgSend_507( - this.pointer, - _lib._sel_mutableSetValueForKey_1, - key.pointer, - ); - return NSMutableSet._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_507( + this.pointer, _sel_mutableSetValueForKey_, key.pointer); + return NSMutableSet._(_ret, retain: true, release: true); } NSObject? valueForKeyPath_(NSString keyPath) { - final _ret = _lib._objc_msgSend_38( - this.pointer, - _lib._sel_valueForKeyPath_1, - keyPath.pointer, - ); + final _ret = + _objc_msgSend_38(this.pointer, _sel_valueForKeyPath_, keyPath.pointer); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } void setValue_forKeyPath_(NSObject? value, NSString keyPath) { - _lib._objc_msgSend_135( - this.pointer, - _lib._sel_setValue_forKeyPath_1, - value?.pointer ?? ffi.nullptr, - keyPath.pointer, - ); + _objc_msgSend_135(this.pointer, _sel_setValue_forKeyPath_, + value?.pointer ?? ffi.nullptr, keyPath.pointer); } bool validateValue_forKeyPath_error_( - ffi.Pointer> ioValue, - NSString inKeyPath, - ffi.Pointer> outError, - ) { - return _lib._objc_msgSend_243( - this.pointer, - _lib._sel_validateValue_forKeyPath_error_1, - ioValue, - inKeyPath.pointer, - outError, - ); + ffi.Pointer> ioValue, + NSString inKeyPath, + ffi.Pointer> outError) { + return _objc_msgSend_243(this.pointer, _sel_validateValue_forKeyPath_error_, + ioValue, inKeyPath.pointer, outError); } NSMutableArray mutableArrayValueForKeyPath_(NSString keyPath) { - final _ret = _lib._objc_msgSend_488( - this.pointer, - _lib._sel_mutableArrayValueForKeyPath_1, - keyPath.pointer, - ); - return NSMutableArray._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_488( + this.pointer, _sel_mutableArrayValueForKeyPath_, keyPath.pointer); + return NSMutableArray._(_ret, retain: true, release: true); } NSMutableOrderedSet mutableOrderedSetValueForKeyPath_(NSString keyPath) { - final _ret = _lib._objc_msgSend_506( - this.pointer, - _lib._sel_mutableOrderedSetValueForKeyPath_1, - keyPath.pointer, - ); - return NSMutableOrderedSet._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_506( + this.pointer, _sel_mutableOrderedSetValueForKeyPath_, keyPath.pointer); + return NSMutableOrderedSet._(_ret, retain: true, release: true); } NSMutableSet mutableSetValueForKeyPath_(NSString keyPath) { - final _ret = _lib._objc_msgSend_507( - this.pointer, - _lib._sel_mutableSetValueForKeyPath_1, - keyPath.pointer, - ); - return NSMutableSet._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_507( + this.pointer, _sel_mutableSetValueForKeyPath_, keyPath.pointer); + return NSMutableSet._(_ret, retain: true, release: true); } NSObject? valueForUndefinedKey_(NSString key) { - final _ret = _lib._objc_msgSend_38( - this.pointer, - _lib._sel_valueForUndefinedKey_1, - key.pointer, - ); + final _ret = + _objc_msgSend_38(this.pointer, _sel_valueForUndefinedKey_, key.pointer); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } void setValue_forUndefinedKey_(NSObject? value, NSString key) { - _lib._objc_msgSend_135( - this.pointer, - _lib._sel_setValue_forUndefinedKey_1, - value?.pointer ?? ffi.nullptr, - key.pointer, - ); + _objc_msgSend_135(this.pointer, _sel_setValue_forUndefinedKey_, + value?.pointer ?? ffi.nullptr, key.pointer); } void setNilValueForKey_(NSString key) { - _lib._objc_msgSend_247( - this.pointer, - _lib._sel_setNilValueForKey_1, - key.pointer, - ); + _objc_msgSend_247(this.pointer, _sel_setNilValueForKey_, key.pointer); } NSDictionary dictionaryWithValuesForKeys_(NSArray keys) { - final _ret = _lib._objc_msgSend_508( - this.pointer, - _lib._sel_dictionaryWithValuesForKeys_1, - keys.pointer, - ); - return NSDictionary._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_508( + this.pointer, _sel_dictionaryWithValuesForKeys_, keys.pointer); + return NSDictionary._(_ret, retain: true, release: true); } void setValuesForKeysWithDictionary_(NSDictionary keyedValues) { - _lib._objc_msgSend_509( - this.pointer, - _lib._sel_setValuesForKeysWithDictionary_1, - keyedValues.pointer, - ); + _objc_msgSend_509(this.pointer, _sel_setValuesForKeysWithDictionary_, + keyedValues.pointer); } - static bool useStoredAccessor(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSObject1, - _lib._sel_useStoredAccessor1, - ); + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSObject, _sel_useStoredAccessor); } NSObject? storedValueForKey_(NSString key) { - final _ret = _lib._objc_msgSend_38( - this.pointer, - _lib._sel_storedValueForKey_1, - key.pointer, - ); + final _ret = + _objc_msgSend_38(this.pointer, _sel_storedValueForKey_, key.pointer); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } void takeStoredValue_forKey_(NSObject? value, NSString key) { - _lib._objc_msgSend_135( - this.pointer, - _lib._sel_takeStoredValue_forKey_1, - value?.pointer ?? ffi.nullptr, - key.pointer, - ); + _objc_msgSend_135(this.pointer, _sel_takeStoredValue_forKey_, + value?.pointer ?? ffi.nullptr, key.pointer); } void takeValue_forKey_(NSObject? value, NSString key) { - _lib._objc_msgSend_135( - this.pointer, - _lib._sel_takeValue_forKey_1, - value?.pointer ?? ffi.nullptr, - key.pointer, - ); + _objc_msgSend_135(this.pointer, _sel_takeValue_forKey_, + value?.pointer ?? ffi.nullptr, key.pointer); } void takeValue_forKeyPath_(NSObject? value, NSString keyPath) { - _lib._objc_msgSend_135( - this.pointer, - _lib._sel_takeValue_forKeyPath_1, - value?.pointer ?? ffi.nullptr, - keyPath.pointer, - ); + _objc_msgSend_135(this.pointer, _sel_takeValue_forKeyPath_, + value?.pointer ?? ffi.nullptr, keyPath.pointer); } NSObject? handleQueryWithUnboundKey_(NSString key) { - final _ret = _lib._objc_msgSend_38( - this.pointer, - _lib._sel_handleQueryWithUnboundKey_1, - key.pointer, - ); + final _ret = _objc_msgSend_38( + this.pointer, _sel_handleQueryWithUnboundKey_, key.pointer); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } void handleTakeValue_forUnboundKey_(NSObject? value, NSString key) { - _lib._objc_msgSend_135( - this.pointer, - _lib._sel_handleTakeValue_forUnboundKey_1, - value?.pointer ?? ffi.nullptr, - key.pointer, - ); + _objc_msgSend_135(this.pointer, _sel_handleTakeValue_forUnboundKey_, + value?.pointer ?? ffi.nullptr, key.pointer); } void unableToSetNilForKey_(NSString key) { - _lib._objc_msgSend_247( - this.pointer, - _lib._sel_unableToSetNilForKey_1, - key.pointer, - ); + _objc_msgSend_247(this.pointer, _sel_unableToSetNilForKey_, key.pointer); } NSDictionary valuesForKeys_(NSArray keys) { - final _ret = _lib._objc_msgSend_508( - this.pointer, - _lib._sel_valuesForKeys_1, - keys.pointer, - ); - return NSDictionary._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_508(this.pointer, _sel_valuesForKeys_, keys.pointer); + return NSDictionary._(_ret, retain: true, release: true); } void takeValuesFromDictionary_(NSDictionary properties) { - _lib._objc_msgSend_509( - this.pointer, - _lib._sel_takeValuesFromDictionary_1, - properties.pointer, - ); - } - - void observeValueForKeyPath_ofObject_change_context_( - NSString? keyPath, - NSObject? object, - NSDictionary? change, - ffi.Pointer context, - ) { - _lib._objc_msgSend_510( - this.pointer, - _lib._sel_observeValueForKeyPath_ofObject_change_context_1, - keyPath?.pointer ?? ffi.nullptr, - object?.pointer ?? ffi.nullptr, - change?.pointer ?? ffi.nullptr, - context, - ); - } - - void addObserver_forKeyPath_options_context_( - NSObject observer, - NSString keyPath, - int options, - ffi.Pointer context, - ) { - _lib._objc_msgSend_139( - this.pointer, - _lib._sel_addObserver_forKeyPath_options_context_1, - observer.pointer, - keyPath.pointer, - options, - context, - ); + _objc_msgSend_509( + this.pointer, _sel_takeValuesFromDictionary_, properties.pointer); + } + + void observeValueForKeyPath_ofObject_change_context_(NSString? keyPath, + NSObject? object, NSDictionary? change, ffi.Pointer context) { + _objc_msgSend_510( + this.pointer, + _sel_observeValueForKeyPath_ofObject_change_context_, + keyPath?.pointer ?? ffi.nullptr, + object?.pointer ?? ffi.nullptr, + change?.pointer ?? ffi.nullptr, + context); + } + + void addObserver_forKeyPath_options_context_(NSObject observer, + NSString keyPath, int options, ffi.Pointer context) { + _objc_msgSend_139( + this.pointer, + _sel_addObserver_forKeyPath_options_context_, + observer.pointer, + keyPath.pointer, + options, + context); } void removeObserver_forKeyPath_context_( - NSObject observer, - NSString keyPath, - ffi.Pointer context, - ) { - _lib._objc_msgSend_140( - this.pointer, - _lib._sel_removeObserver_forKeyPath_context_1, - observer.pointer, - keyPath.pointer, - context, - ); + NSObject observer, NSString keyPath, ffi.Pointer context) { + _objc_msgSend_140(this.pointer, _sel_removeObserver_forKeyPath_context_, + observer.pointer, keyPath.pointer, context); } void removeObserver_forKeyPath_(NSObject observer, NSString keyPath) { - _lib._objc_msgSend_141( - this.pointer, - _lib._sel_removeObserver_forKeyPath_1, - observer.pointer, - keyPath.pointer, - ); + _objc_msgSend_141(this.pointer, _sel_removeObserver_forKeyPath_, + observer.pointer, keyPath.pointer); } void willChangeValueForKey_(NSString key) { - _lib._objc_msgSend_247( - this.pointer, - _lib._sel_willChangeValueForKey_1, - key.pointer, - ); + _objc_msgSend_247(this.pointer, _sel_willChangeValueForKey_, key.pointer); } void didChangeValueForKey_(NSString key) { - _lib._objc_msgSend_247( - this.pointer, - _lib._sel_didChangeValueForKey_1, - key.pointer, - ); + _objc_msgSend_247(this.pointer, _sel_didChangeValueForKey_, key.pointer); } void willChange_valuesAtIndexes_forKey_( - int changeKind, - NSIndexSet indexes, - NSString key, - ) { - _lib._objc_msgSend_511( - this.pointer, - _lib._sel_willChange_valuesAtIndexes_forKey_1, - changeKind, - indexes.pointer, - key.pointer, - ); + int changeKind, NSIndexSet indexes, NSString key) { + _objc_msgSend_511(this.pointer, _sel_willChange_valuesAtIndexes_forKey_, + changeKind, indexes.pointer, key.pointer); } void didChange_valuesAtIndexes_forKey_( - int changeKind, - NSIndexSet indexes, - NSString key, - ) { - _lib._objc_msgSend_511( - this.pointer, - _lib._sel_didChange_valuesAtIndexes_forKey_1, - changeKind, - indexes.pointer, - key.pointer, - ); + int changeKind, NSIndexSet indexes, NSString key) { + _objc_msgSend_511(this.pointer, _sel_didChange_valuesAtIndexes_forKey_, + changeKind, indexes.pointer, key.pointer); } void willChangeValueForKey_withSetMutation_usingObjects_( - NSString key, - int mutationKind, - NSSet objects, - ) { - _lib._objc_msgSend_512( - this.pointer, - _lib._sel_willChangeValueForKey_withSetMutation_usingObjects_1, - key.pointer, - mutationKind, - objects.pointer, - ); + NSString key, int mutationKind, NSSet objects) { + _objc_msgSend_512( + this.pointer, + _sel_willChangeValueForKey_withSetMutation_usingObjects_, + key.pointer, + mutationKind, + objects.pointer); } void didChangeValueForKey_withSetMutation_usingObjects_( - NSString key, - int mutationKind, - NSSet objects, - ) { - _lib._objc_msgSend_512( - this.pointer, - _lib._sel_didChangeValueForKey_withSetMutation_usingObjects_1, - key.pointer, - mutationKind, - objects.pointer, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSObject1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSObject1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSString key, int mutationKind, NSSet objects) { + _objc_msgSend_512( + this.pointer, + _sel_didChangeValueForKey_withSetMutation_usingObjects_, + key.pointer, + mutationKind, + objects.pointer); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSObject, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSObject, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); } ffi.Pointer get observationInfo { - return _lib._objc_msgSend_20(this.pointer, _lib._sel_observationInfo1); + return _objc_msgSend_20(this.pointer, _sel_observationInfo); } set observationInfo(ffi.Pointer value) { - return _lib._objc_msgSend_513( - this.pointer, - _lib._sel_setObservationInfo_1, - value, - ); + return _objc_msgSend_513(this.pointer, _sel_setObservationInfo_, value); } static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSObject1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSObject, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); } NSObject? get classForKeyedArchiver { - final _ret = _lib._objc_msgSend_17( - this.pointer, - _lib._sel_classForKeyedArchiver1, - ); + final _ret = _objc_msgSend_17(this.pointer, _sel_classForKeyedArchiver); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } NSObject? replacementObjectForKeyedArchiver_(NSKeyedArchiver archiver) { - final _ret = _lib._objc_msgSend_528( - this.pointer, - _lib._sel_replacementObjectForKeyedArchiver_1, - archiver.pointer, - ); + final _ret = _objc_msgSend_528(this.pointer, + _sel_replacementObjectForKeyedArchiver_, archiver.pointer); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } - static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSObject1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); + static NSArray classFallbacksForKeyedArchiver() { + final _ret = + _objc_msgSend_85(_class_NSObject, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); } - static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSObject1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + static NSObject classForKeyedUnarchiver() { + final _ret = _objc_msgSend_2(_class_NSObject, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); } void performSelectorOnMainThread_withObject_waitUntilDone_modes_( - ffi.Pointer aSelector, - NSObject? arg, - bool wait, - NSArray? array, - ) { - _lib._objc_msgSend_529( - this.pointer, - _lib._sel_performSelectorOnMainThread_withObject_waitUntilDone_modes_1, - aSelector, - arg?.pointer ?? ffi.nullptr, - wait, - array?.pointer ?? ffi.nullptr, - ); + ffi.Pointer aSelector, + NSObject? arg, + bool wait, + NSArray? array) { + _objc_msgSend_529( + this.pointer, + _sel_performSelectorOnMainThread_withObject_waitUntilDone_modes_, + aSelector, + arg?.pointer ?? ffi.nullptr, + wait, + array?.pointer ?? ffi.nullptr); } void performSelectorOnMainThread_withObject_waitUntilDone_( - ffi.Pointer aSelector, - NSObject? arg, - bool wait, - ) { - _lib._objc_msgSend_530( - this.pointer, - _lib._sel_performSelectorOnMainThread_withObject_waitUntilDone_1, - aSelector, - arg?.pointer ?? ffi.nullptr, - wait, - ); + ffi.Pointer aSelector, NSObject? arg, bool wait) { + _objc_msgSend_530( + this.pointer, + _sel_performSelectorOnMainThread_withObject_waitUntilDone_, + aSelector, + arg?.pointer ?? ffi.nullptr, + wait); } void performSelector_onThread_withObject_waitUntilDone_modes_( - ffi.Pointer aSelector, - NSThread thr, - NSObject? arg, - bool wait, - NSArray? array, - ) { - _lib._objc_msgSend_548( - this.pointer, - _lib._sel_performSelector_onThread_withObject_waitUntilDone_modes_1, - aSelector, - thr.pointer, - arg?.pointer ?? ffi.nullptr, - wait, - array?.pointer ?? ffi.nullptr, - ); + ffi.Pointer aSelector, + NSThread thr, + NSObject? arg, + bool wait, + NSArray? array) { + _objc_msgSend_548( + this.pointer, + _sel_performSelector_onThread_withObject_waitUntilDone_modes_, + aSelector, + thr.pointer, + arg?.pointer ?? ffi.nullptr, + wait, + array?.pointer ?? ffi.nullptr); } void performSelector_onThread_withObject_waitUntilDone_( - ffi.Pointer aSelector, - NSThread thr, - NSObject? arg, - bool wait, - ) { - _lib._objc_msgSend_549( - this.pointer, - _lib._sel_performSelector_onThread_withObject_waitUntilDone_1, - aSelector, - thr.pointer, - arg?.pointer ?? ffi.nullptr, - wait, - ); + ffi.Pointer aSelector, + NSThread thr, + NSObject? arg, + bool wait) { + _objc_msgSend_549( + this.pointer, + _sel_performSelector_onThread_withObject_waitUntilDone_, + aSelector, + thr.pointer, + arg?.pointer ?? ffi.nullptr, + wait); } void performSelectorInBackground_withObject_( - ffi.Pointer aSelector, - NSObject? arg, - ) { - _lib._objc_msgSend_90( - this.pointer, - _lib._sel_performSelectorInBackground_withObject_1, - aSelector, - arg?.pointer ?? ffi.nullptr, - ); + ffi.Pointer aSelector, NSObject? arg) { + _objc_msgSend_90(this.pointer, _sel_performSelectorInBackground_withObject_, + aSelector, arg?.pointer ?? ffi.nullptr); } NSObject? get classForArchiver { - final _ret = _lib._objc_msgSend_17( - this.pointer, - _lib._sel_classForArchiver1, - ); + final _ret = _objc_msgSend_17(this.pointer, _sel_classForArchiver); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } NSObject? replacementObjectForArchiver_(NSArchiver archiver) { - final _ret = _lib._objc_msgSend_552( - this.pointer, - _lib._sel_replacementObjectForArchiver_1, - archiver.pointer, - ); + final _ret = _objc_msgSend_552( + this.pointer, _sel_replacementObjectForArchiver_, archiver.pointer); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } NSObject get classForPortCoder { - final _ret = _lib._objc_msgSend_2( - this.pointer, - _lib._sel_classForPortCoder1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_classForPortCoder); + return NSObject._(_ret, retain: true, release: true); } NSObject? replacementObjectForPortCoder_(NSPortCoder coder) { - final _ret = _lib._objc_msgSend_597( - this.pointer, - _lib._sel_replacementObjectForPortCoder_1, - coder.pointer, - ); + final _ret = _objc_msgSend_597( + this.pointer, _sel_replacementObjectForPortCoder_, coder.pointer); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } NSClassDescription get classDescription { - final _ret = _lib._objc_msgSend_600( - this.pointer, - _lib._sel_classDescription1, - ); - return NSClassDescription._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_600(this.pointer, _sel_classDescription); + return NSClassDescription._(_ret, retain: true, release: true); } NSArray get attributeKeys { - final _ret = _lib._objc_msgSend_85(this.pointer, _lib._sel_attributeKeys1); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_85(this.pointer, _sel_attributeKeys); + return NSArray._(_ret, retain: true, release: true); } NSArray get toOneRelationshipKeys { - final _ret = _lib._objc_msgSend_85( - this.pointer, - _lib._sel_toOneRelationshipKeys1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_85(this.pointer, _sel_toOneRelationshipKeys); + return NSArray._(_ret, retain: true, release: true); } NSArray get toManyRelationshipKeys { - final _ret = _lib._objc_msgSend_85( - this.pointer, - _lib._sel_toManyRelationshipKeys1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_85(this.pointer, _sel_toManyRelationshipKeys); + return NSArray._(_ret, retain: true, release: true); } NSString? inverseForRelationshipKey_(NSString relationshipKey) { - final _ret = _lib._objc_msgSend_186( - this.pointer, - _lib._sel_inverseForRelationshipKey_1, - relationshipKey.pointer, - ); + final _ret = _objc_msgSend_186( + this.pointer, _sel_inverseForRelationshipKey_, relationshipKey.pointer); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } NSObject? scriptingValueForSpecifier_( - NSScriptObjectSpecifier objectSpecifier, - ) { - final _ret = _lib._objc_msgSend_649( - this.pointer, - _lib._sel_scriptingValueForSpecifier_1, - objectSpecifier.pointer, - ); + NSScriptObjectSpecifier objectSpecifier) { + final _ret = _objc_msgSend_649(this.pointer, + _sel_scriptingValueForSpecifier_, objectSpecifier.pointer); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } NSDictionary? get scriptingProperties { - final _ret = _lib._objc_msgSend_390( - this.pointer, - _lib._sel_scriptingProperties1, - ); + final _ret = _objc_msgSend_390(this.pointer, _sel_scriptingProperties); return _ret.address == 0 ? null - : NSDictionary._(_ret, _lib, retain: true, release: true); + : NSDictionary._(_ret, retain: true, release: true); } set scriptingProperties(NSDictionary? value) { - return _lib._objc_msgSend_634( - this.pointer, - _lib._sel_setScriptingProperties_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_634(this.pointer, _sel_setScriptingProperties_, + value?.pointer ?? ffi.nullptr); } NSObject? copyScriptingValue_forKey_withProperties_( - NSObject value, - NSString key, - NSDictionary properties, - ) { - final _ret = _lib._objc_msgSend_650( - this.pointer, - _lib._sel_copyScriptingValue_forKey_withProperties_1, - value.pointer, - key.pointer, - properties.pointer, - ); + NSObject value, NSString key, NSDictionary properties) { + final _ret = _objc_msgSend_650( + this.pointer, + _sel_copyScriptingValue_forKey_withProperties_, + value.pointer, + key.pointer, + properties.pointer); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: false, release: true); + : NSObject._(_ret, retain: false, release: true); } NSObject? newScriptingObjectOfClass_forValueForKey_withContentsValue_properties_( - NSObject objectClass, - NSString key, - NSObject? contentsValue, - NSDictionary properties, - ) { - final _ret = _lib._objc_msgSend_651( - this.pointer, - _lib._sel_newScriptingObjectOfClass_forValueForKey_withContentsValue_properties_1, - objectClass.pointer, - key.pointer, - contentsValue?.pointer ?? ffi.nullptr, - properties.pointer, - ); + NSObject objectClass, + NSString key, + NSObject? contentsValue, + NSDictionary properties) { + final _ret = _objc_msgSend_651( + this.pointer, + _sel_newScriptingObjectOfClass_forValueForKey_withContentsValue_properties_, + objectClass.pointer, + key.pointer, + contentsValue?.pointer ?? ffi.nullptr, + properties.pointer); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: false, release: true); + : NSObject._(_ret, retain: false, release: true); } int get classCode { - return _lib._objc_msgSend_214(this.pointer, _lib._sel_classCode1); + return _objc_msgSend_214(this.pointer, _sel_classCode); } NSString? get className { - final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_className1); + final _ret = _objc_msgSend_44(this.pointer, _sel_className); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } NSObject? valueAtIndex_inPropertyWithKey_(int index, NSString key) { - final _ret = _lib._objc_msgSend_652( - this.pointer, - _lib._sel_valueAtIndex_inPropertyWithKey_1, - index, - key.pointer, - ); + final _ret = _objc_msgSend_652( + this.pointer, _sel_valueAtIndex_inPropertyWithKey_, index, key.pointer); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } NSObject? valueWithName_inPropertyWithKey_(NSString name, NSString key) { - final _ret = _lib._objc_msgSend_175( - this.pointer, - _lib._sel_valueWithName_inPropertyWithKey_1, - name.pointer, - key.pointer, - ); + final _ret = _objc_msgSend_175(this.pointer, + _sel_valueWithName_inPropertyWithKey_, name.pointer, key.pointer); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } NSObject? valueWithUniqueID_inPropertyWithKey_( - NSObject uniqueID, - NSString key, - ) { - final _ret = _lib._objc_msgSend_311( - this.pointer, - _lib._sel_valueWithUniqueID_inPropertyWithKey_1, - uniqueID.pointer, - key.pointer, - ); + NSObject uniqueID, NSString key) { + final _ret = _objc_msgSend_311( + this.pointer, + _sel_valueWithUniqueID_inPropertyWithKey_, + uniqueID.pointer, + key.pointer); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } void insertValue_atIndex_inPropertyWithKey_( - NSObject value, - int index, - NSString key, - ) { - _lib._objc_msgSend_653( - this.pointer, - _lib._sel_insertValue_atIndex_inPropertyWithKey_1, - value.pointer, - index, - key.pointer, - ); + NSObject value, int index, NSString key) { + _objc_msgSend_653(this.pointer, _sel_insertValue_atIndex_inPropertyWithKey_, + value.pointer, index, key.pointer); } void removeValueAtIndex_fromPropertyWithKey_(int index, NSString key) { - _lib._objc_msgSend_654( - this.pointer, - _lib._sel_removeValueAtIndex_fromPropertyWithKey_1, - index, - key.pointer, - ); + _objc_msgSend_654(this.pointer, + _sel_removeValueAtIndex_fromPropertyWithKey_, index, key.pointer); } void replaceValueAtIndex_inPropertyWithKey_withValue_( - int index, - NSString key, - NSObject value, - ) { - _lib._objc_msgSend_655( - this.pointer, - _lib._sel_replaceValueAtIndex_inPropertyWithKey_withValue_1, - index, - key.pointer, - value.pointer, - ); + int index, NSString key, NSObject value) { + _objc_msgSend_655( + this.pointer, + _sel_replaceValueAtIndex_inPropertyWithKey_withValue_, + index, + key.pointer, + value.pointer); } void insertValue_inPropertyWithKey_(NSObject value, NSString key) { - _lib._objc_msgSend_656( - this.pointer, - _lib._sel_insertValue_inPropertyWithKey_1, - value.pointer, - key.pointer, - ); + _objc_msgSend_656(this.pointer, _sel_insertValue_inPropertyWithKey_, + value.pointer, key.pointer); } NSObject? coerceValue_forKey_(NSObject? value, NSString key) { - final _ret = _lib._objc_msgSend_657( - this.pointer, - _lib._sel_coerceValue_forKey_1, - value?.pointer ?? ffi.nullptr, - key.pointer, - ); + final _ret = _objc_msgSend_657(this.pointer, _sel_coerceValue_forKey_, + value?.pointer ?? ffi.nullptr, key.pointer); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } NSScriptObjectSpecifier? get objectSpecifier { - final _ret = _lib._objc_msgSend_632( - this.pointer, - _lib._sel_objectSpecifier1, - ); + final _ret = _objc_msgSend_632(this.pointer, _sel_objectSpecifier); return _ret.address == 0 ? null - : NSScriptObjectSpecifier._(_ret, _lib, retain: true, release: true); + : NSScriptObjectSpecifier._(_ret, retain: true, release: true); } NSArray? indicesOfObjectsByEvaluatingObjectSpecifier_( - NSScriptObjectSpecifier specifier, - ) { - final _ret = _lib._objc_msgSend_658( - this.pointer, - _lib._sel_indicesOfObjectsByEvaluatingObjectSpecifier_1, - specifier.pointer, - ); + NSScriptObjectSpecifier specifier) { + final _ret = _objc_msgSend_658(this.pointer, + _sel_indicesOfObjectsByEvaluatingObjectSpecifier_, specifier.pointer); return _ret.address == 0 ? null - : NSArray._(_ret, _lib, retain: true, release: true); + : NSArray._(_ret, retain: true, release: true); } bool isEqualTo_(NSObject? object) { - return _lib._objc_msgSend_217( - this.pointer, - _lib._sel_isEqualTo_1, - object?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_217( + this.pointer, _sel_isEqualTo_, object?.pointer ?? ffi.nullptr); } bool isLessThanOrEqualTo_(NSObject? object) { - return _lib._objc_msgSend_217( - this.pointer, - _lib._sel_isLessThanOrEqualTo_1, - object?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_217(this.pointer, _sel_isLessThanOrEqualTo_, + object?.pointer ?? ffi.nullptr); } bool isLessThan_(NSObject? object) { - return _lib._objc_msgSend_217( - this.pointer, - _lib._sel_isLessThan_1, - object?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_217( + this.pointer, _sel_isLessThan_, object?.pointer ?? ffi.nullptr); } bool isGreaterThanOrEqualTo_(NSObject? object) { - return _lib._objc_msgSend_217( - this.pointer, - _lib._sel_isGreaterThanOrEqualTo_1, - object?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_217(this.pointer, _sel_isGreaterThanOrEqualTo_, + object?.pointer ?? ffi.nullptr); } bool isGreaterThan_(NSObject? object) { - return _lib._objc_msgSend_217( - this.pointer, - _lib._sel_isGreaterThan_1, - object?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_217( + this.pointer, _sel_isGreaterThan_, object?.pointer ?? ffi.nullptr); } bool isNotEqualTo_(NSObject? object) { - return _lib._objc_msgSend_217( - this.pointer, - _lib._sel_isNotEqualTo_1, - object?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_217( + this.pointer, _sel_isNotEqualTo_, object?.pointer ?? ffi.nullptr); } bool doesContain_(NSObject object) { - return _lib._objc_msgSend_0( - this.pointer, - _lib._sel_doesContain_1, - object.pointer, - ); + return _objc_msgSend_0(this.pointer, _sel_doesContain_, object.pointer); } bool isLike_(NSString object) { - return _lib._objc_msgSend_64( - this.pointer, - _lib._sel_isLike_1, - object.pointer, - ); + return _objc_msgSend_64(this.pointer, _sel_isLike_, object.pointer); } bool isCaseInsensitiveLike_(NSString object) { - return _lib._objc_msgSend_64( - this.pointer, - _lib._sel_isCaseInsensitiveLike_1, - object.pointer, - ); + return _objc_msgSend_64( + this.pointer, _sel_isCaseInsensitiveLike_, object.pointer); } bool scriptingIsEqualTo_(NSObject object) { - return _lib._objc_msgSend_0( - this.pointer, - _lib._sel_scriptingIsEqualTo_1, - object.pointer, - ); + return _objc_msgSend_0( + this.pointer, _sel_scriptingIsEqualTo_, object.pointer); } bool scriptingIsLessThanOrEqualTo_(NSObject object) { - return _lib._objc_msgSend_0( - this.pointer, - _lib._sel_scriptingIsLessThanOrEqualTo_1, - object.pointer, - ); + return _objc_msgSend_0( + this.pointer, _sel_scriptingIsLessThanOrEqualTo_, object.pointer); } bool scriptingIsLessThan_(NSObject object) { - return _lib._objc_msgSend_0( - this.pointer, - _lib._sel_scriptingIsLessThan_1, - object.pointer, - ); + return _objc_msgSend_0( + this.pointer, _sel_scriptingIsLessThan_, object.pointer); } bool scriptingIsGreaterThanOrEqualTo_(NSObject object) { - return _lib._objc_msgSend_0( - this.pointer, - _lib._sel_scriptingIsGreaterThanOrEqualTo_1, - object.pointer, - ); + return _objc_msgSend_0( + this.pointer, _sel_scriptingIsGreaterThanOrEqualTo_, object.pointer); } bool scriptingIsGreaterThan_(NSObject object) { - return _lib._objc_msgSend_0( - this.pointer, - _lib._sel_scriptingIsGreaterThan_1, - object.pointer, - ); + return _objc_msgSend_0( + this.pointer, _sel_scriptingIsGreaterThan_, object.pointer); } bool scriptingBeginsWith_(NSObject object) { - return _lib._objc_msgSend_0( - this.pointer, - _lib._sel_scriptingBeginsWith_1, - object.pointer, - ); + return _objc_msgSend_0( + this.pointer, _sel_scriptingBeginsWith_, object.pointer); } bool scriptingEndsWith_(NSObject object) { - return _lib._objc_msgSend_0( - this.pointer, - _lib._sel_scriptingEndsWith_1, - object.pointer, - ); + return _objc_msgSend_0( + this.pointer, _sel_scriptingEndsWith_, object.pointer); } bool scriptingContains_(NSObject object) { - return _lib._objc_msgSend_0( - this.pointer, - _lib._sel_scriptingContains_1, - object.pointer, - ); + return _objc_msgSend_0( + this.pointer, _sel_scriptingContains_, object.pointer); } } +late final _class_NSObject = objc.getClass("NSObject"); +late final _sel_load = objc.registerName("load"); +final _objc_msgSend_1 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + void Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_initialize = objc.registerName("initialize"); typedef instancetype = ffi.Pointer; typedef Dartinstancetype = NSObject; +late final _sel_init = objc.registerName("init"); +final _objc_msgSend_2 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function(ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + instancetype Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_new = objc.registerName("new"); final class _NSZone extends ffi.Opaque {} -class Protocol extends objc.ObjCObjectBase { - Protocol._( - ffi.Pointer pointer, - this._lib, { - bool retain = false, - bool release = false, - }) : super(pointer, retain: retain, release: release); +late final _sel_allocWithZone_ = objc.registerName("allocWithZone:"); +final _objc_msgSend_3 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer<_NSZone> zone)>>() + .asFunction< + instancetype Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer<_NSZone>)>(); +late final _sel_alloc = objc.registerName("alloc"); +late final _sel_dealloc = objc.registerName("dealloc"); +late final _sel_finalize = objc.registerName("finalize"); +late final _sel_copy = objc.registerName("copy"); +late final _sel_mutableCopy = objc.registerName("mutableCopy"); +late final _sel_copyWithZone_ = objc.registerName("copyWithZone:"); +late final _sel_mutableCopyWithZone_ = + objc.registerName("mutableCopyWithZone:"); +late final _sel_instancesRespondToSelector_ = + objc.registerName("instancesRespondToSelector:"); +final _objc_msgSend_4 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer aSelector)>>() + .asFunction< + bool Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); - SwiftLibrary _lib; +class Protocol extends objc.ObjCObjectBase { + Protocol._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super(pointer, retain: retain, release: release); /// Returns a [Protocol] that points to the same underlying object as [other]. - static Protocol castFrom( - SwiftLibrary lib, - T other, - ) { - return Protocol._(other.pointer, lib, retain: true, release: true); + static Protocol castFrom(T other) { + return Protocol._(other.pointer, retain: true, release: true); } /// Returns a [Protocol] that wraps the given raw object pointer. - static Protocol castFromPointer( - SwiftLibrary lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return Protocol._(other, lib, retain: retain, release: release); + static Protocol castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return Protocol._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [Protocol]. - static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_Protocol1, - ); - } -} + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0(obj.pointer, _sel_isKindOfClass_, _class_Protocol); + } +} + +final _objc_msgSend_0 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer clazz)>>() + .asFunction< + bool Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_isKindOfClass_ = objc.registerName("isKindOfClass:"); +late final _class_Protocol = objc.getClass("Protocol"); +late final _sel_conformsToProtocol_ = objc.registerName("conformsToProtocol:"); +final _objc_msgSend_5 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer protocol)>>() + .asFunction< + bool Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_methodForSelector_ = objc.registerName("methodForSelector:"); +final _objc_msgSend_6 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer> Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer aSelector)>>() + .asFunction< + ffi.Pointer> Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_instanceMethodForSelector_ = + objc.registerName("instanceMethodForSelector:"); +late final _sel_doesNotRecognizeSelector_ = + objc.registerName("doesNotRecognizeSelector:"); +final _objc_msgSend_7 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer aSelector)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_forwardingTargetForSelector_ = + objc.registerName("forwardingTargetForSelector:"); +final _objc_msgSend_8 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer aSelector)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); class NSInvocation extends NSObject { - NSInvocation._( - ffi.Pointer pointer, - SwiftLibrary lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSInvocation._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSInvocation] that points to the same underlying object as [other]. - static NSInvocation castFrom( - SwiftLibrary lib, - T other, - ) { - return NSInvocation._(other.pointer, lib, retain: true, release: true); + static NSInvocation castFrom(T other) { + return NSInvocation._(other.pointer, retain: true, release: true); } /// Returns a [NSInvocation] that wraps the given raw object pointer. - static NSInvocation castFromPointer( - SwiftLibrary lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSInvocation._(other, lib, retain: retain, release: release); + static NSInvocation castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSInvocation._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSInvocation]. - static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSInvocation1, - ); - } - - static NSInvocation invocationWithMethodSignature_( - SwiftLibrary _lib, - NSMethodSignature sig, - ) { - final _ret = _lib._objc_msgSend_414( - _lib._class_NSInvocation1, - _lib._sel_invocationWithMethodSignature_1, - sig.pointer, - ); - return NSInvocation._(_ret, _lib, retain: true, release: true); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0( + obj.pointer, _sel_isKindOfClass_, _class_NSInvocation); + } + + static NSInvocation invocationWithMethodSignature_(NSMethodSignature sig) { + final _ret = _objc_msgSend_414( + _class_NSInvocation, _sel_invocationWithMethodSignature_, sig.pointer); + return NSInvocation._(_ret, retain: true, release: true); } NSMethodSignature get methodSignature { - final _ret = _lib._objc_msgSend_415( - this.pointer, - _lib._sel_methodSignature1, - ); - return NSMethodSignature._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_415(this.pointer, _sel_methodSignature); + return NSMethodSignature._(_ret, retain: true, release: true); } void retainArguments() { - _lib._objc_msgSend_1(this.pointer, _lib._sel_retainArguments1); + _objc_msgSend_1(this.pointer, _sel_retainArguments); } bool get argumentsRetained { - return _lib._objc_msgSend_12(this.pointer, _lib._sel_argumentsRetained1); + return _objc_msgSend_12(this.pointer, _sel_argumentsRetained); } NSObject? get target { - final _ret = _lib._objc_msgSend_17(this.pointer, _lib._sel_target1); + final _ret = _objc_msgSend_17(this.pointer, _sel_target); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } set target(NSObject? value) { - return _lib._objc_msgSend_416( - this.pointer, - _lib._sel_setTarget_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_416( + this.pointer, _sel_setTarget_, value?.pointer ?? ffi.nullptr); } ffi.Pointer get selector { - return _lib._objc_msgSend_417(this.pointer, _lib._sel_selector1); + return _objc_msgSend_417(this.pointer, _sel_selector); } set selector(ffi.Pointer value) { - return _lib._objc_msgSend_418(this.pointer, _lib._sel_setSelector_1, value); + return _objc_msgSend_418(this.pointer, _sel_setSelector_, value); } void getReturnValue_(ffi.Pointer retLoc) { - _lib._objc_msgSend_52(this.pointer, _lib._sel_getReturnValue_1, retLoc); + _objc_msgSend_52(this.pointer, _sel_getReturnValue_, retLoc); } void setReturnValue_(ffi.Pointer retLoc) { - _lib._objc_msgSend_52(this.pointer, _lib._sel_setReturnValue_1, retLoc); + _objc_msgSend_52(this.pointer, _sel_setReturnValue_, retLoc); } void getArgument_atIndex_(ffi.Pointer argumentLocation, int idx) { - _lib._objc_msgSend_419( - this.pointer, - _lib._sel_getArgument_atIndex_1, - argumentLocation, - idx, - ); + _objc_msgSend_419( + this.pointer, _sel_getArgument_atIndex_, argumentLocation, idx); } void setArgument_atIndex_(ffi.Pointer argumentLocation, int idx) { - _lib._objc_msgSend_419( - this.pointer, - _lib._sel_setArgument_atIndex_1, - argumentLocation, - idx, - ); + _objc_msgSend_419( + this.pointer, _sel_setArgument_atIndex_, argumentLocation, idx); } void invoke() { - _lib._objc_msgSend_1(this.pointer, _lib._sel_invoke1); + _objc_msgSend_1(this.pointer, _sel_invoke); } void invokeWithTarget_(NSObject target) { - _lib._objc_msgSend_15( - this.pointer, - _lib._sel_invokeWithTarget_1, - target.pointer, - ); + _objc_msgSend_15(this.pointer, _sel_invokeWithTarget_, target.pointer); } void invokeUsingIMP_( - ffi.Pointer> imp, - ) { - _lib._objc_msgSend_420(this.pointer, _lib._sel_invokeUsingIMP_1, imp); + ffi.Pointer> imp) { + _objc_msgSend_420(this.pointer, _sel_invokeUsingIMP_, imp); } @override NSInvocation init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSInvocation._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSInvocation._(_ret, retain: true, release: true); } - static NSInvocation new1(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSInvocation1, - _lib._sel_new1, - ); - return NSInvocation._(_ret, _lib, retain: false, release: true); + static NSInvocation new1() { + final _ret = _objc_msgSend_2(_class_NSInvocation, _sel_new); + return NSInvocation._(_ret, retain: false, release: true); } - static NSInvocation allocWithZone_( - SwiftLibrary _lib, - ffi.Pointer<_NSZone> zone, - ) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSInvocation1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSInvocation._(_ret, _lib, retain: false, release: true); + static NSInvocation allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = + _objc_msgSend_3(_class_NSInvocation, _sel_allocWithZone_, zone); + return NSInvocation._(_ret, retain: false, release: true); } - static NSInvocation alloc(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSInvocation1, - _lib._sel_alloc1, - ); - return NSInvocation._(_ret, _lib, retain: false, release: true); + static NSInvocation alloc() { + final _ret = _objc_msgSend_2(_class_NSInvocation, _sel_alloc); + return NSInvocation._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSInvocation1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSInvocation1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSInvocation1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSInvocation1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSInvocation1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSInvocation1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSInvocation, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); + } + + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSInvocation, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); + } + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSInvocation, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSInvocation, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSInvocation, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSInvocation, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); } static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSInvocation1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSInvocation1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSInvocation1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSInvocation, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = _objc_msgSend_85( + _class_NSInvocation, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = + _objc_msgSend_2(_class_NSInvocation, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); } } +late final _class_NSInvocation = objc.getClass("NSInvocation"); + class NSMethodSignature extends NSObject { - NSMethodSignature._( - ffi.Pointer pointer, - SwiftLibrary lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSMethodSignature._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSMethodSignature] that points to the same underlying object as [other]. - static NSMethodSignature castFrom( - SwiftLibrary lib, - T other, - ) { - return NSMethodSignature._(other.pointer, lib, retain: true, release: true); + static NSMethodSignature castFrom(T other) { + return NSMethodSignature._(other.pointer, retain: true, release: true); } /// Returns a [NSMethodSignature] that wraps the given raw object pointer. - static NSMethodSignature castFromPointer( - SwiftLibrary lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSMethodSignature._(other, lib, retain: retain, release: release); + static NSMethodSignature castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSMethodSignature._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSMethodSignature]. - static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSMethodSignature1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0( + obj.pointer, _sel_isKindOfClass_, _class_NSMethodSignature); } static NSMethodSignature? signatureWithObjCTypes_( - SwiftLibrary _lib, - ffi.Pointer types, - ) { - final _ret = _lib._objc_msgSend_9( - _lib._class_NSMethodSignature1, - _lib._sel_signatureWithObjCTypes_1, - types, - ); + ffi.Pointer types) { + final _ret = _objc_msgSend_9( + _class_NSMethodSignature, _sel_signatureWithObjCTypes_, types); return _ret.address == 0 ? null - : NSMethodSignature._(_ret, _lib, retain: true, release: true); + : NSMethodSignature._(_ret, retain: true, release: true); } int get numberOfArguments { - return _lib._objc_msgSend_10(this.pointer, _lib._sel_numberOfArguments1); + return _objc_msgSend_10(this.pointer, _sel_numberOfArguments); } ffi.Pointer getArgumentTypeAtIndex_(int idx) { - return _lib._objc_msgSend_11( - this.pointer, - _lib._sel_getArgumentTypeAtIndex_1, - idx, - ); + return _objc_msgSend_11(this.pointer, _sel_getArgumentTypeAtIndex_, idx); } int get frameLength { - return _lib._objc_msgSend_10(this.pointer, _lib._sel_frameLength1); + return _objc_msgSend_10(this.pointer, _sel_frameLength); } bool isOneway() { - return _lib._objc_msgSend_12(this.pointer, _lib._sel_isOneway1); + return _objc_msgSend_12(this.pointer, _sel_isOneway); } ffi.Pointer get methodReturnType { - return _lib._objc_msgSend_13(this.pointer, _lib._sel_methodReturnType1); + return _objc_msgSend_13(this.pointer, _sel_methodReturnType); } int get methodReturnLength { - return _lib._objc_msgSend_10(this.pointer, _lib._sel_methodReturnLength1); + return _objc_msgSend_10(this.pointer, _sel_methodReturnLength); } @override NSMethodSignature init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSMethodSignature._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSMethodSignature._(_ret, retain: true, release: true); } - static NSMethodSignature new1(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSMethodSignature1, - _lib._sel_new1, - ); - return NSMethodSignature._(_ret, _lib, retain: false, release: true); + static NSMethodSignature new1() { + final _ret = _objc_msgSend_2(_class_NSMethodSignature, _sel_new); + return NSMethodSignature._(_ret, retain: false, release: true); } - static NSMethodSignature allocWithZone_( - SwiftLibrary _lib, - ffi.Pointer<_NSZone> zone, - ) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSMethodSignature1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSMethodSignature._(_ret, _lib, retain: false, release: true); + static NSMethodSignature allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = + _objc_msgSend_3(_class_NSMethodSignature, _sel_allocWithZone_, zone); + return NSMethodSignature._(_ret, retain: false, release: true); } - static NSMethodSignature alloc(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSMethodSignature1, - _lib._sel_alloc1, - ); - return NSMethodSignature._(_ret, _lib, retain: false, release: true); + static NSMethodSignature alloc() { + final _ret = _objc_msgSend_2(_class_NSMethodSignature, _sel_alloc); + return NSMethodSignature._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSMethodSignature1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSMethodSignature1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSMethodSignature1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSMethodSignature1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSMethodSignature1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSMethodSignature1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSMethodSignature, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); } - static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSMethodSignature1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSMethodSignature1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSMethodSignature1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSMethodSignature, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); } -} + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSMethodSignature, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSMethodSignature, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSMethodSignature, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSMethodSignature, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); + } + + static void setKeys_triggerChangeNotificationsForDependentKey_( + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSMethodSignature, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = _objc_msgSend_85( + _class_NSMethodSignature, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = + _objc_msgSend_2(_class_NSMethodSignature, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); + } +} + +late final _class_NSMethodSignature = objc.getClass("NSMethodSignature"); +late final _sel_signatureWithObjCTypes_ = + objc.registerName("signatureWithObjCTypes:"); +final _objc_msgSend_9 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer types)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_numberOfArguments = objc.registerName("numberOfArguments"); +final _objc_msgSend_10 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.UnsignedLong Function(ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + int Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_getArgumentTypeAtIndex_ = + objc.registerName("getArgumentTypeAtIndex:"); +final _objc_msgSend_11 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function(ffi.Pointer obj, + ffi.Pointer sel, ffi.UnsignedLong idx)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, int)>(); +late final _sel_frameLength = objc.registerName("frameLength"); +late final _sel_isOneway = objc.registerName("isOneway"); +final _objc_msgSend_12 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function(ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + bool Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_methodReturnType = objc.registerName("methodReturnType"); +final _objc_msgSend_13 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function(ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_methodReturnLength = objc.registerName("methodReturnLength"); +late final _sel_cancelPreviousPerformRequestsWithTarget_selector_object_ = objc + .registerName("cancelPreviousPerformRequestsWithTarget:selector:object:"); +final _objc_msgSend_14 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer aTarget, + ffi.Pointer aSelector, + ffi.Pointer anArgument)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_cancelPreviousPerformRequestsWithTarget_ = + objc.registerName("cancelPreviousPerformRequestsWithTarget:"); +final _objc_msgSend_15 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer aTarget)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_accessInstanceVariablesDirectly = + objc.registerName("accessInstanceVariablesDirectly"); +late final _sel_useStoredAccessor = objc.registerName("useStoredAccessor"); class NSSet extends NSObject { - NSSet._( - ffi.Pointer pointer, - SwiftLibrary lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSSet._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSSet] that points to the same underlying object as [other]. - static NSSet castFrom( - SwiftLibrary lib, - T other, - ) { - return NSSet._(other.pointer, lib, retain: true, release: true); + static NSSet castFrom(T other) { + return NSSet._(other.pointer, retain: true, release: true); } /// Returns a [NSSet] that wraps the given raw object pointer. - static NSSet castFromPointer( - SwiftLibrary lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSSet._(other, lib, retain: retain, release: release); + static NSSet castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSSet._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSSet]. - static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSSet1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0(obj.pointer, _sel_isKindOfClass_, _class_NSSet); } int get count { - return _lib._objc_msgSend_10(this.pointer, _lib._sel_count1); + return _objc_msgSend_10(this.pointer, _sel_count); } NSObject? member_(NSObject object) { - final _ret = _lib._objc_msgSend_16( - this.pointer, - _lib._sel_member_1, - object.pointer, - ); + final _ret = _objc_msgSend_16(this.pointer, _sel_member_, object.pointer); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } NSEnumerator objectEnumerator() { - final _ret = _lib._objc_msgSend_77( - this.pointer, - _lib._sel_objectEnumerator1, - ); - return NSEnumerator._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_77(this.pointer, _sel_objectEnumerator); + return NSEnumerator._(_ret, retain: true, release: true); } @override NSSet init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSSet._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSSet._(_ret, retain: true, release: true); } NSSet initWithObjects_count_( - ffi.Pointer> objects, - int cnt, - ) { - final _ret = _lib._objc_msgSend_66( - this.pointer, - _lib._sel_initWithObjects_count_1, - objects, - cnt, - ); - return NSSet._(_ret, _lib, retain: true, release: true); + ffi.Pointer> objects, int cnt) { + final _ret = _objc_msgSend_66( + this.pointer, _sel_initWithObjects_count_, objects, cnt); + return NSSet._(_ret, retain: true, release: true); } NSSet? initWithCoder_(NSCoder coder) { - final _ret = _lib._objc_msgSend_47( - this.pointer, - _lib._sel_initWithCoder_1, - coder.pointer, - ); + final _ret = + _objc_msgSend_47(this.pointer, _sel_initWithCoder_, coder.pointer); return _ret.address == 0 ? null - : NSSet._(_ret, _lib, retain: true, release: true); + : NSSet._(_ret, retain: true, release: true); } NSArray get allObjects { - final _ret = _lib._objc_msgSend_85(this.pointer, _lib._sel_allObjects1); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_85(this.pointer, _sel_allObjects); + return NSArray._(_ret, retain: true, release: true); } NSObject? anyObject() { - final _ret = _lib._objc_msgSend_17(this.pointer, _lib._sel_anyObject1); + final _ret = _objc_msgSend_17(this.pointer, _sel_anyObject); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } bool containsObject_(NSObject anObject) { - return _lib._objc_msgSend_0( - this.pointer, - _lib._sel_containsObject_1, - anObject.pointer, - ); + return _objc_msgSend_0( + this.pointer, _sel_containsObject_, anObject.pointer); } NSString get description { - final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_description1); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_description); + return NSString._(_ret, retain: true, release: true); } NSString descriptionWithLocale_(NSObject? locale) { - final _ret = _lib._objc_msgSend_70( - this.pointer, - _lib._sel_descriptionWithLocale_1, - locale?.pointer ?? ffi.nullptr, - ); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_70(this.pointer, _sel_descriptionWithLocale_, + locale?.pointer ?? ffi.nullptr); + return NSString._(_ret, retain: true, release: true); } bool intersectsSet_(NSSet otherSet) { - return _lib._objc_msgSend_403( - this.pointer, - _lib._sel_intersectsSet_1, - otherSet.pointer, - ); + return _objc_msgSend_403( + this.pointer, _sel_intersectsSet_, otherSet.pointer); } bool isEqualToSet_(NSSet otherSet) { - return _lib._objc_msgSend_403( - this.pointer, - _lib._sel_isEqualToSet_1, - otherSet.pointer, - ); + return _objc_msgSend_403( + this.pointer, _sel_isEqualToSet_, otherSet.pointer); } bool isSubsetOfSet_(NSSet otherSet) { - return _lib._objc_msgSend_403( - this.pointer, - _lib._sel_isSubsetOfSet_1, - otherSet.pointer, - ); + return _objc_msgSend_403( + this.pointer, _sel_isSubsetOfSet_, otherSet.pointer); } void makeObjectsPerformSelector_(ffi.Pointer aSelector) { - _lib._objc_msgSend_7( - this.pointer, - _lib._sel_makeObjectsPerformSelector_1, - aSelector, - ); + _objc_msgSend_7(this.pointer, _sel_makeObjectsPerformSelector_, aSelector); } void makeObjectsPerformSelector_withObject_( - ffi.Pointer aSelector, - NSObject? argument, - ) { - _lib._objc_msgSend_90( - this.pointer, - _lib._sel_makeObjectsPerformSelector_withObject_1, - aSelector, - argument?.pointer ?? ffi.nullptr, - ); + ffi.Pointer aSelector, NSObject? argument) { + _objc_msgSend_90(this.pointer, _sel_makeObjectsPerformSelector_withObject_, + aSelector, argument?.pointer ?? ffi.nullptr); } NSSet setByAddingObject_(NSObject anObject) { - final _ret = _lib._objc_msgSend_404( - this.pointer, - _lib._sel_setByAddingObject_1, - anObject.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_404( + this.pointer, _sel_setByAddingObject_, anObject.pointer); + return NSSet._(_ret, retain: true, release: true); } NSSet setByAddingObjectsFromSet_(NSSet other) { - final _ret = _lib._objc_msgSend_405( - this.pointer, - _lib._sel_setByAddingObjectsFromSet_1, - other.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_405( + this.pointer, _sel_setByAddingObjectsFromSet_, other.pointer); + return NSSet._(_ret, retain: true, release: true); } NSSet setByAddingObjectsFromArray_(NSArray other) { - final _ret = _lib._objc_msgSend_406( - this.pointer, - _lib._sel_setByAddingObjectsFromArray_1, - other.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_406( + this.pointer, _sel_setByAddingObjectsFromArray_, other.pointer); + return NSSet._(_ret, retain: true, release: true); } void enumerateObjectsUsingBlock_( - ObjCBlock_ffiVoid_objcObjCObject_bool block, - ) { - _lib._objc_msgSend_407( - this.pointer, - _lib._sel_enumerateObjectsUsingBlock_1, - block.pointer, - ); + ObjCBlock_ffiVoid_objcObjCObject_bool block) { + _objc_msgSend_407( + this.pointer, _sel_enumerateObjectsUsingBlock_, block.pointer); } void enumerateObjectsWithOptions_usingBlock_( - int opts, - ObjCBlock_ffiVoid_objcObjCObject_bool block, - ) { - _lib._objc_msgSend_408( - this.pointer, - _lib._sel_enumerateObjectsWithOptions_usingBlock_1, - opts, - block.pointer, - ); + int opts, ObjCBlock_ffiVoid_objcObjCObject_bool block) { + _objc_msgSend_408(this.pointer, + _sel_enumerateObjectsWithOptions_usingBlock_, opts, block.pointer); } NSSet objectsPassingTest_(ObjCBlock_bool_objcObjCObject_bool predicate) { - final _ret = _lib._objc_msgSend_409( - this.pointer, - _lib._sel_objectsPassingTest_1, - predicate.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_409( + this.pointer, _sel_objectsPassingTest_, predicate.pointer); + return NSSet._(_ret, retain: true, release: true); } NSSet objectsWithOptions_passingTest_( - int opts, - ObjCBlock_bool_objcObjCObject_bool predicate, - ) { - final _ret = _lib._objc_msgSend_410( - this.pointer, - _lib._sel_objectsWithOptions_passingTest_1, - opts, - predicate.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); + int opts, ObjCBlock_bool_objcObjCObject_bool predicate) { + final _ret = _objc_msgSend_410(this.pointer, + _sel_objectsWithOptions_passingTest_, opts, predicate.pointer); + return NSSet._(_ret, retain: true, release: true); } - static NSSet set1(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2(_lib._class_NSSet1, _lib._sel_set1); - return NSSet._(_ret, _lib, retain: true, release: true); + static NSSet set1() { + final _ret = _objc_msgSend_2(_class_NSSet, _sel_set); + return NSSet._(_ret, retain: true, release: true); } - static NSSet setWithObject_(SwiftLibrary _lib, NSObject object) { - final _ret = _lib._objc_msgSend_124( - _lib._class_NSSet1, - _lib._sel_setWithObject_1, - object.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); + static NSSet setWithObject_(NSObject object) { + final _ret = + _objc_msgSend_124(_class_NSSet, _sel_setWithObject_, object.pointer); + return NSSet._(_ret, retain: true, release: true); } static NSSet setWithObjects_count_( - SwiftLibrary _lib, - ffi.Pointer> objects, - int cnt, - ) { - final _ret = _lib._objc_msgSend_66( - _lib._class_NSSet1, - _lib._sel_setWithObjects_count_1, - objects, - cnt, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static NSSet setWithObjects_(SwiftLibrary _lib, NSObject firstObj) { - final _ret = _lib._objc_msgSend_124( - _lib._class_NSSet1, - _lib._sel_setWithObjects_1, - firstObj.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static NSSet setWithSet_(SwiftLibrary _lib, NSSet set) { - final _ret = _lib._objc_msgSend_411( - _lib._class_NSSet1, - _lib._sel_setWithSet_1, - set.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static NSSet setWithArray_(SwiftLibrary _lib, NSArray array) { - final _ret = _lib._objc_msgSend_125( - _lib._class_NSSet1, - _lib._sel_setWithArray_1, - array.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); + ffi.Pointer> objects, int cnt) { + final _ret = _objc_msgSend_66( + _class_NSSet, _sel_setWithObjects_count_, objects, cnt); + return NSSet._(_ret, retain: true, release: true); + } + + static NSSet setWithObjects_(NSObject firstObj) { + final _ret = + _objc_msgSend_124(_class_NSSet, _sel_setWithObjects_, firstObj.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static NSSet setWithSet_(NSSet set) { + final _ret = _objc_msgSend_411(_class_NSSet, _sel_setWithSet_, set.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static NSSet setWithArray_(NSArray array) { + final _ret = + _objc_msgSend_125(_class_NSSet, _sel_setWithArray_, array.pointer); + return NSSet._(_ret, retain: true, release: true); } NSSet initWithObjects_(NSObject firstObj) { - final _ret = _lib._objc_msgSend_124( - this.pointer, - _lib._sel_initWithObjects_1, - firstObj.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_124( + this.pointer, _sel_initWithObjects_, firstObj.pointer); + return NSSet._(_ret, retain: true, release: true); } NSSet initWithSet_(NSSet set) { - final _ret = _lib._objc_msgSend_411( - this.pointer, - _lib._sel_initWithSet_1, - set.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_411(this.pointer, _sel_initWithSet_, set.pointer); + return NSSet._(_ret, retain: true, release: true); } NSSet initWithSet_copyItems_(NSSet set, bool flag) { - final _ret = _lib._objc_msgSend_412( - this.pointer, - _lib._sel_initWithSet_copyItems_1, - set.pointer, - flag, - ); - return NSSet._(_ret, _lib, retain: false, release: true); + final _ret = _objc_msgSend_412( + this.pointer, _sel_initWithSet_copyItems_, set.pointer, flag); + return NSSet._(_ret, retain: false, release: true); } NSSet initWithArray_(NSArray array) { - final _ret = _lib._objc_msgSend_125( - this.pointer, - _lib._sel_initWithArray_1, - array.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_125(this.pointer, _sel_initWithArray_, array.pointer); + return NSSet._(_ret, retain: true, release: true); } NSObject valueForKey_(NSString key) { - final _ret = _lib._objc_msgSend_31( - this.pointer, - _lib._sel_valueForKey_1, - key.pointer, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_31(this.pointer, _sel_valueForKey_, key.pointer); + return NSObject._(_ret, retain: true, release: true); } @override void setValue_forKey_(NSObject? value, NSString key) { - _lib._objc_msgSend_135( - this.pointer, - _lib._sel_setValue_forKey_1, - value?.pointer ?? ffi.nullptr, - key.pointer, - ); + _objc_msgSend_135(this.pointer, _sel_setValue_forKey_, + value?.pointer ?? ffi.nullptr, key.pointer); } @override - void addObserver_forKeyPath_options_context_( - NSObject observer, - NSString keyPath, - int options, - ffi.Pointer context, - ) { - _lib._objc_msgSend_139( - this.pointer, - _lib._sel_addObserver_forKeyPath_options_context_1, - observer.pointer, - keyPath.pointer, - options, - context, - ); + void addObserver_forKeyPath_options_context_(NSObject observer, + NSString keyPath, int options, ffi.Pointer context) { + _objc_msgSend_139( + this.pointer, + _sel_addObserver_forKeyPath_options_context_, + observer.pointer, + keyPath.pointer, + options, + context); } @override void removeObserver_forKeyPath_context_( - NSObject observer, - NSString keyPath, - ffi.Pointer context, - ) { - _lib._objc_msgSend_140( - this.pointer, - _lib._sel_removeObserver_forKeyPath_context_1, - observer.pointer, - keyPath.pointer, - context, - ); + NSObject observer, NSString keyPath, ffi.Pointer context) { + _objc_msgSend_140(this.pointer, _sel_removeObserver_forKeyPath_context_, + observer.pointer, keyPath.pointer, context); } @override void removeObserver_forKeyPath_(NSObject observer, NSString keyPath) { - _lib._objc_msgSend_141( - this.pointer, - _lib._sel_removeObserver_forKeyPath_1, - observer.pointer, - keyPath.pointer, - ); + _objc_msgSend_141(this.pointer, _sel_removeObserver_forKeyPath_, + observer.pointer, keyPath.pointer); } NSArray sortedArrayUsingDescriptors_(NSArray sortDescriptors) { - final _ret = _lib._objc_msgSend_68( - this.pointer, - _lib._sel_sortedArrayUsingDescriptors_1, - sortDescriptors.pointer, - ); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_68(this.pointer, + _sel_sortedArrayUsingDescriptors_, sortDescriptors.pointer); + return NSArray._(_ret, retain: true, release: true); } NSSet filteredSetUsingPredicate_(NSPredicate predicate) { - final _ret = _lib._objc_msgSend_413( - this.pointer, - _lib._sel_filteredSetUsingPredicate_1, - predicate.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_413( + this.pointer, _sel_filteredSetUsingPredicate_, predicate.pointer); + return NSSet._(_ret, retain: true, release: true); } - static NSSet new1(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2(_lib._class_NSSet1, _lib._sel_new1); - return NSSet._(_ret, _lib, retain: false, release: true); + static NSSet new1() { + final _ret = _objc_msgSend_2(_class_NSSet, _sel_new); + return NSSet._(_ret, retain: false, release: true); } - static NSSet allocWithZone_(SwiftLibrary _lib, ffi.Pointer<_NSZone> zone) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSSet1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSSet._(_ret, _lib, retain: false, release: true); + static NSSet allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = _objc_msgSend_3(_class_NSSet, _sel_allocWithZone_, zone); + return NSSet._(_ret, retain: false, release: true); } - static NSSet alloc(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2(_lib._class_NSSet1, _lib._sel_alloc1); - return NSSet._(_ret, _lib, retain: false, release: true); + static NSSet alloc() { + final _ret = _objc_msgSend_2(_class_NSSet, _sel_alloc); + return NSSet._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSSet1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSSet1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSSet1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSSet1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSSet1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSSet1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSSet, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); + } + + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSSet, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); + } + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12(_class_NSSet, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSSet, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63( + _class_NSSet, _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64( + _class_NSSet, _sel_automaticallyNotifiesObserversForKey_, key.pointer); } static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSSet1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSSet1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSSet1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSSet, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = + _objc_msgSend_85(_class_NSSet, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = _objc_msgSend_2(_class_NSSet, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); } } +late final _class_NSSet = objc.getClass("NSSet"); +late final _sel_count = objc.registerName("count"); +late final _sel_member_ = objc.registerName("member:"); +final _objc_msgSend_16 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer object)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); + class NSEnumerator extends NSObject { - NSEnumerator._( - ffi.Pointer pointer, - SwiftLibrary lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSEnumerator._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSEnumerator] that points to the same underlying object as [other]. - static NSEnumerator castFrom( - SwiftLibrary lib, - T other, - ) { - return NSEnumerator._(other.pointer, lib, retain: true, release: true); + static NSEnumerator castFrom(T other) { + return NSEnumerator._(other.pointer, retain: true, release: true); } /// Returns a [NSEnumerator] that wraps the given raw object pointer. - static NSEnumerator castFromPointer( - SwiftLibrary lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSEnumerator._(other, lib, retain: retain, release: release); + static NSEnumerator castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSEnumerator._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSEnumerator]. - static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSEnumerator1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0( + obj.pointer, _sel_isKindOfClass_, _class_NSEnumerator); } NSObject? nextObject() { - final _ret = _lib._objc_msgSend_17(this.pointer, _lib._sel_nextObject1); + final _ret = _objc_msgSend_17(this.pointer, _sel_nextObject); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } NSObject get allObjects { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_allObjects1); - return NSObject._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_allObjects); + return NSObject._(_ret, retain: true, release: true); } @override NSEnumerator init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSEnumerator._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSEnumerator._(_ret, retain: true, release: true); } - static NSEnumerator new1(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSEnumerator1, - _lib._sel_new1, - ); - return NSEnumerator._(_ret, _lib, retain: false, release: true); + static NSEnumerator new1() { + final _ret = _objc_msgSend_2(_class_NSEnumerator, _sel_new); + return NSEnumerator._(_ret, retain: false, release: true); } - static NSEnumerator allocWithZone_( - SwiftLibrary _lib, - ffi.Pointer<_NSZone> zone, - ) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSEnumerator1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSEnumerator._(_ret, _lib, retain: false, release: true); + static NSEnumerator allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = + _objc_msgSend_3(_class_NSEnumerator, _sel_allocWithZone_, zone); + return NSEnumerator._(_ret, retain: false, release: true); } - static NSEnumerator alloc(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSEnumerator1, - _lib._sel_alloc1, - ); - return NSEnumerator._(_ret, _lib, retain: false, release: true); + static NSEnumerator alloc() { + final _ret = _objc_msgSend_2(_class_NSEnumerator, _sel_alloc); + return NSEnumerator._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSEnumerator1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSEnumerator1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSEnumerator1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSEnumerator1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSEnumerator1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSEnumerator1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSEnumerator, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); + } + + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSEnumerator, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); + } + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSEnumerator, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSEnumerator, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSEnumerator, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSEnumerator, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); } static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSEnumerator1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSEnumerator1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSEnumerator1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSEnumerator, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = _objc_msgSend_85( + _class_NSEnumerator, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = + _objc_msgSend_2(_class_NSEnumerator, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); } } +late final _class_NSEnumerator = objc.getClass("NSEnumerator"); +late final _sel_nextObject = objc.registerName("nextObject"); +final _objc_msgSend_17 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_allObjects = objc.registerName("allObjects"); + class NSString extends NSObject { - NSString._( - ffi.Pointer pointer, - SwiftLibrary lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSString._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSString] that points to the same underlying object as [other]. - static NSString castFrom( - SwiftLibrary lib, - T other, - ) { - return NSString._(other.pointer, lib, retain: true, release: true); + static NSString castFrom(T other) { + return NSString._(other.pointer, retain: true, release: true); } /// Returns a [NSString] that wraps the given raw object pointer. - static NSString castFromPointer( - SwiftLibrary lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSString._(other, lib, retain: retain, release: release); + static NSString castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSString._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSString]. - static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSString1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0(obj.pointer, _sel_isKindOfClass_, _class_NSString); } - factory NSString(SwiftLibrary _lib, String str) { + factory NSString(String str) { final cstr = str.toNativeUtf16(); - final nsstr = stringWithCharacters_length_(_lib, cstr.cast(), str.length); + final nsstr = stringWithCharacters_length_(cstr.cast(), str.length); pkg_ffi.calloc.free(cstr); return nsstr; } @override String toString() { - final data = dataUsingEncoding_( - 0x94000100 /* NSUTF16LittleEndianStringEncoding */, - ); + final data = + dataUsingEncoding_(0x94000100 /* NSUTF16LittleEndianStringEncoding */); return data!.bytes.cast().toDartString(length: length); } int get length { - return _lib._objc_msgSend_10(this.pointer, _lib._sel_length1); + return _objc_msgSend_10(this.pointer, _sel_length); } int characterAtIndex_(int index) { - return _lib._objc_msgSend_18( - this.pointer, - _lib._sel_characterAtIndex_1, - index, - ); + return _objc_msgSend_18(this.pointer, _sel_characterAtIndex_, index); } @override NSString init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSString._(_ret, retain: true, release: true); } NSString? initWithCoder_(NSCoder coder) { - final _ret = _lib._objc_msgSend_47( - this.pointer, - _lib._sel_initWithCoder_1, - coder.pointer, - ); + final _ret = + _objc_msgSend_47(this.pointer, _sel_initWithCoder_, coder.pointer); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } NSString substringFromIndex_(int from) { - final _ret = _lib._objc_msgSend_332( - this.pointer, - _lib._sel_substringFromIndex_1, - from, - ); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_332(this.pointer, _sel_substringFromIndex_, from); + return NSString._(_ret, retain: true, release: true); } NSString substringToIndex_(int to) { - final _ret = _lib._objc_msgSend_332( - this.pointer, - _lib._sel_substringToIndex_1, - to, - ); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_332(this.pointer, _sel_substringToIndex_, to); + return NSString._(_ret, retain: true, release: true); } NSString substringWithRange_(_NSRange range) { - final _ret = _lib._objc_msgSend_333( - this.pointer, - _lib._sel_substringWithRange_1, - range, - ); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_333(this.pointer, _sel_substringWithRange_, range); + return NSString._(_ret, retain: true, release: true); } void getCharacters_range_( - ffi.Pointer buffer, - _NSRange range, - ) { - _lib._objc_msgSend_334( - this.pointer, - _lib._sel_getCharacters_range_1, - buffer, - range, - ); + ffi.Pointer buffer, _NSRange range) { + _objc_msgSend_334(this.pointer, _sel_getCharacters_range_, buffer, range); } int compare_(NSString string) { - return _lib._objc_msgSend_335( - this.pointer, - _lib._sel_compare_1, - string.pointer, - ); + return _objc_msgSend_335(this.pointer, _sel_compare_, string.pointer); } int compare_options_(NSString string, int mask) { - return _lib._objc_msgSend_336( - this.pointer, - _lib._sel_compare_options_1, - string.pointer, - mask, - ); + return _objc_msgSend_336( + this.pointer, _sel_compare_options_, string.pointer, mask); } int compare_options_range_( - NSString string, - int mask, - _NSRange rangeOfReceiverToCompare, - ) { - return _lib._objc_msgSend_337( - this.pointer, - _lib._sel_compare_options_range_1, - string.pointer, - mask, - rangeOfReceiverToCompare, - ); - } - - int compare_options_range_locale_( - NSString string, - int mask, - _NSRange rangeOfReceiverToCompare, - NSObject? locale, - ) { - return _lib._objc_msgSend_338( - this.pointer, - _lib._sel_compare_options_range_locale_1, - string.pointer, - mask, - rangeOfReceiverToCompare, - locale?.pointer ?? ffi.nullptr, - ); + NSString string, int mask, _NSRange rangeOfReceiverToCompare) { + return _objc_msgSend_337(this.pointer, _sel_compare_options_range_, + string.pointer, mask, rangeOfReceiverToCompare); + } + + int compare_options_range_locale_(NSString string, int mask, + _NSRange rangeOfReceiverToCompare, NSObject? locale) { + return _objc_msgSend_338( + this.pointer, + _sel_compare_options_range_locale_, + string.pointer, + mask, + rangeOfReceiverToCompare, + locale?.pointer ?? ffi.nullptr); } int caseInsensitiveCompare_(NSString string) { - return _lib._objc_msgSend_335( - this.pointer, - _lib._sel_caseInsensitiveCompare_1, - string.pointer, - ); + return _objc_msgSend_335( + this.pointer, _sel_caseInsensitiveCompare_, string.pointer); } int localizedCompare_(NSString string) { - return _lib._objc_msgSend_335( - this.pointer, - _lib._sel_localizedCompare_1, - string.pointer, - ); + return _objc_msgSend_335( + this.pointer, _sel_localizedCompare_, string.pointer); } int localizedCaseInsensitiveCompare_(NSString string) { - return _lib._objc_msgSend_335( - this.pointer, - _lib._sel_localizedCaseInsensitiveCompare_1, - string.pointer, - ); + return _objc_msgSend_335( + this.pointer, _sel_localizedCaseInsensitiveCompare_, string.pointer); } int localizedStandardCompare_(NSString string) { - return _lib._objc_msgSend_335( - this.pointer, - _lib._sel_localizedStandardCompare_1, - string.pointer, - ); + return _objc_msgSend_335( + this.pointer, _sel_localizedStandardCompare_, string.pointer); } bool isEqualToString_(NSString aString) { - return _lib._objc_msgSend_64( - this.pointer, - _lib._sel_isEqualToString_1, - aString.pointer, - ); + return _objc_msgSend_64( + this.pointer, _sel_isEqualToString_, aString.pointer); } bool hasPrefix_(NSString str) { - return _lib._objc_msgSend_64( - this.pointer, - _lib._sel_hasPrefix_1, - str.pointer, - ); + return _objc_msgSend_64(this.pointer, _sel_hasPrefix_, str.pointer); } bool hasSuffix_(NSString str) { - return _lib._objc_msgSend_64( - this.pointer, - _lib._sel_hasSuffix_1, - str.pointer, - ); + return _objc_msgSend_64(this.pointer, _sel_hasSuffix_, str.pointer); } NSString commonPrefixWithString_options_(NSString str, int mask) { - final _ret = _lib._objc_msgSend_339( - this.pointer, - _lib._sel_commonPrefixWithString_options_1, - str.pointer, - mask, - ); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_339( + this.pointer, _sel_commonPrefixWithString_options_, str.pointer, mask); + return NSString._(_ret, retain: true, release: true); } bool containsString_(NSString str) { - return _lib._objc_msgSend_64( - this.pointer, - _lib._sel_containsString_1, - str.pointer, - ); + return _objc_msgSend_64(this.pointer, _sel_containsString_, str.pointer); } bool localizedCaseInsensitiveContainsString_(NSString str) { - return _lib._objc_msgSend_64( - this.pointer, - _lib._sel_localizedCaseInsensitiveContainsString_1, - str.pointer, - ); + return _objc_msgSend_64(this.pointer, + _sel_localizedCaseInsensitiveContainsString_, str.pointer); } bool localizedStandardContainsString_(NSString str) { - return _lib._objc_msgSend_64( - this.pointer, - _lib._sel_localizedStandardContainsString_1, - str.pointer, - ); + return _objc_msgSend_64( + this.pointer, _sel_localizedStandardContainsString_, str.pointer); } void localizedStandardRangeOfString_( - ffi.Pointer<_NSRange> stret, - NSString str, - ) { + ffi.Pointer<_NSRange> stret, NSString str) { objc.useMsgSendVariants - ? _lib._objc_msgSend_340_stret( - stret, - this.pointer, - _lib._sel_localizedStandardRangeOfString_1, - str.pointer, - ) - : stret.ref = _lib._objc_msgSend_340( - this.pointer, - _lib._sel_localizedStandardRangeOfString_1, - str.pointer, - ); + ? _objc_msgSend_340Stret(stret, this.pointer, + _sel_localizedStandardRangeOfString_, str.pointer) + : stret.ref = _objc_msgSend_340( + this.pointer, _sel_localizedStandardRangeOfString_, str.pointer); } void rangeOfString_(ffi.Pointer<_NSRange> stret, NSString searchString) { objc.useMsgSendVariants - ? _lib._objc_msgSend_340_stret( - stret, - this.pointer, - _lib._sel_rangeOfString_1, - searchString.pointer, - ) - : stret.ref = _lib._objc_msgSend_340( - this.pointer, - _lib._sel_rangeOfString_1, - searchString.pointer, - ); + ? _objc_msgSend_340Stret( + stret, this.pointer, _sel_rangeOfString_, searchString.pointer) + : stret.ref = _objc_msgSend_340( + this.pointer, _sel_rangeOfString_, searchString.pointer); } void rangeOfString_options_( - ffi.Pointer<_NSRange> stret, - NSString searchString, - int mask, - ) { + ffi.Pointer<_NSRange> stret, NSString searchString, int mask) { objc.useMsgSendVariants - ? _lib._objc_msgSend_341_stret( - stret, - this.pointer, - _lib._sel_rangeOfString_options_1, - searchString.pointer, - mask, - ) - : stret.ref = _lib._objc_msgSend_341( - this.pointer, - _lib._sel_rangeOfString_options_1, - searchString.pointer, - mask, - ); + ? _objc_msgSend_341Stret(stret, this.pointer, + _sel_rangeOfString_options_, searchString.pointer, mask) + : stret.ref = _objc_msgSend_341(this.pointer, + _sel_rangeOfString_options_, searchString.pointer, mask); } - void rangeOfString_options_range_( - ffi.Pointer<_NSRange> stret, - NSString searchString, - int mask, - _NSRange rangeOfReceiverToSearch, - ) { + void rangeOfString_options_range_(ffi.Pointer<_NSRange> stret, + NSString searchString, int mask, _NSRange rangeOfReceiverToSearch) { objc.useMsgSendVariants - ? _lib._objc_msgSend_342_stret( + ? _objc_msgSend_342Stret( stret, this.pointer, - _lib._sel_rangeOfString_options_range_1, + _sel_rangeOfString_options_range_, searchString.pointer, mask, - rangeOfReceiverToSearch, - ) - : stret.ref = _lib._objc_msgSend_342( + rangeOfReceiverToSearch) + : stret.ref = _objc_msgSend_342( this.pointer, - _lib._sel_rangeOfString_options_range_1, + _sel_rangeOfString_options_range_, searchString.pointer, mask, - rangeOfReceiverToSearch, - ); + rangeOfReceiverToSearch); } void rangeOfString_options_range_locale_( - ffi.Pointer<_NSRange> stret, - NSString searchString, - int mask, - _NSRange rangeOfReceiverToSearch, - NSLocale? locale, - ) { + ffi.Pointer<_NSRange> stret, + NSString searchString, + int mask, + _NSRange rangeOfReceiverToSearch, + NSLocale? locale) { objc.useMsgSendVariants - ? _lib._objc_msgSend_343_stret( + ? _objc_msgSend_343Stret( stret, this.pointer, - _lib._sel_rangeOfString_options_range_locale_1, + _sel_rangeOfString_options_range_locale_, searchString.pointer, mask, rangeOfReceiverToSearch, - locale?.pointer ?? ffi.nullptr, - ) - : stret.ref = _lib._objc_msgSend_343( + locale?.pointer ?? ffi.nullptr) + : stret.ref = _objc_msgSend_343( this.pointer, - _lib._sel_rangeOfString_options_range_locale_1, + _sel_rangeOfString_options_range_locale_, searchString.pointer, mask, rangeOfReceiverToSearch, - locale?.pointer ?? ffi.nullptr, - ); + locale?.pointer ?? ffi.nullptr); } void rangeOfCharacterFromSet_( - ffi.Pointer<_NSRange> stret, - NSCharacterSet searchSet, - ) { + ffi.Pointer<_NSRange> stret, NSCharacterSet searchSet) { objc.useMsgSendVariants - ? _lib._objc_msgSend_344_stret( - stret, - this.pointer, - _lib._sel_rangeOfCharacterFromSet_1, - searchSet.pointer, - ) - : stret.ref = _lib._objc_msgSend_344( - this.pointer, - _lib._sel_rangeOfCharacterFromSet_1, - searchSet.pointer, - ); + ? _objc_msgSend_344Stret(stret, this.pointer, + _sel_rangeOfCharacterFromSet_, searchSet.pointer) + : stret.ref = _objc_msgSend_344( + this.pointer, _sel_rangeOfCharacterFromSet_, searchSet.pointer); } void rangeOfCharacterFromSet_options_( - ffi.Pointer<_NSRange> stret, - NSCharacterSet searchSet, - int mask, - ) { - objc.useMsgSendVariants - ? _lib._objc_msgSend_345_stret( - stret, - this.pointer, - _lib._sel_rangeOfCharacterFromSet_options_1, - searchSet.pointer, - mask, - ) - : stret.ref = _lib._objc_msgSend_345( - this.pointer, - _lib._sel_rangeOfCharacterFromSet_options_1, - searchSet.pointer, - mask, - ); + ffi.Pointer<_NSRange> stret, NSCharacterSet searchSet, int mask) { + objc.useMsgSendVariants + ? _objc_msgSend_345Stret(stret, this.pointer, + _sel_rangeOfCharacterFromSet_options_, searchSet.pointer, mask) + : stret.ref = _objc_msgSend_345(this.pointer, + _sel_rangeOfCharacterFromSet_options_, searchSet.pointer, mask); } - void rangeOfCharacterFromSet_options_range_( - ffi.Pointer<_NSRange> stret, - NSCharacterSet searchSet, - int mask, - _NSRange rangeOfReceiverToSearch, - ) { + void rangeOfCharacterFromSet_options_range_(ffi.Pointer<_NSRange> stret, + NSCharacterSet searchSet, int mask, _NSRange rangeOfReceiverToSearch) { objc.useMsgSendVariants - ? _lib._objc_msgSend_346_stret( + ? _objc_msgSend_346Stret( stret, this.pointer, - _lib._sel_rangeOfCharacterFromSet_options_range_1, + _sel_rangeOfCharacterFromSet_options_range_, searchSet.pointer, mask, - rangeOfReceiverToSearch, - ) - : stret.ref = _lib._objc_msgSend_346( + rangeOfReceiverToSearch) + : stret.ref = _objc_msgSend_346( this.pointer, - _lib._sel_rangeOfCharacterFromSet_options_range_1, + _sel_rangeOfCharacterFromSet_options_range_, searchSet.pointer, mask, - rangeOfReceiverToSearch, - ); + rangeOfReceiverToSearch); } void rangeOfComposedCharacterSequenceAtIndex_( - ffi.Pointer<_NSRange> stret, - int index, - ) { + ffi.Pointer<_NSRange> stret, int index) { objc.useMsgSendVariants - ? _lib._objc_msgSend_347_stret( - stret, - this.pointer, - _lib._sel_rangeOfComposedCharacterSequenceAtIndex_1, - index, - ) - : stret.ref = _lib._objc_msgSend_347( - this.pointer, - _lib._sel_rangeOfComposedCharacterSequenceAtIndex_1, - index, - ); + ? _objc_msgSend_347Stret(stret, this.pointer, + _sel_rangeOfComposedCharacterSequenceAtIndex_, index) + : stret.ref = _objc_msgSend_347( + this.pointer, _sel_rangeOfComposedCharacterSequenceAtIndex_, index); } void rangeOfComposedCharacterSequencesForRange_( - ffi.Pointer<_NSRange> stret, - _NSRange range, - ) { + ffi.Pointer<_NSRange> stret, _NSRange range) { objc.useMsgSendVariants - ? _lib._objc_msgSend_348_stret( - stret, - this.pointer, - _lib._sel_rangeOfComposedCharacterSequencesForRange_1, - range, - ) - : stret.ref = _lib._objc_msgSend_348( - this.pointer, - _lib._sel_rangeOfComposedCharacterSequencesForRange_1, - range, - ); + ? _objc_msgSend_348Stret(stret, this.pointer, + _sel_rangeOfComposedCharacterSequencesForRange_, range) + : stret.ref = _objc_msgSend_348(this.pointer, + _sel_rangeOfComposedCharacterSequencesForRange_, range); } NSString stringByAppendingString_(NSString aString) { - final _ret = _lib._objc_msgSend_69( - this.pointer, - _lib._sel_stringByAppendingString_1, - aString.pointer, - ); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_69( + this.pointer, _sel_stringByAppendingString_, aString.pointer); + return NSString._(_ret, retain: true, release: true); } NSString stringByAppendingFormat_(NSString format) { - final _ret = _lib._objc_msgSend_69( - this.pointer, - _lib._sel_stringByAppendingFormat_1, - format.pointer, - ); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_69( + this.pointer, _sel_stringByAppendingFormat_, format.pointer); + return NSString._(_ret, retain: true, release: true); } double get doubleValue { return objc.useMsgSendVariants - ? _lib._objc_msgSend_165_fpret(this.pointer, _lib._sel_doubleValue1) - : _lib._objc_msgSend_165(this.pointer, _lib._sel_doubleValue1); + ? _objc_msgSend_165Fpret(this.pointer, _sel_doubleValue) + : _objc_msgSend_165(this.pointer, _sel_doubleValue); } double get floatValue { return objc.useMsgSendVariants - ? _lib._objc_msgSend_239_fpret(this.pointer, _lib._sel_floatValue1) - : _lib._objc_msgSend_239(this.pointer, _lib._sel_floatValue1); + ? _objc_msgSend_239Fpret(this.pointer, _sel_floatValue) + : _objc_msgSend_239(this.pointer, _sel_floatValue); } int get intValue { - return _lib._objc_msgSend_237(this.pointer, _lib._sel_intValue1); + return _objc_msgSend_237(this.pointer, _sel_intValue); } int get integerValue { - return _lib._objc_msgSend_83(this.pointer, _lib._sel_integerValue1); + return _objc_msgSend_83(this.pointer, _sel_integerValue); } int get longLongValue { - return _lib._objc_msgSend_238(this.pointer, _lib._sel_longLongValue1); + return _objc_msgSend_238(this.pointer, _sel_longLongValue); } bool get boolValue { - return _lib._objc_msgSend_12(this.pointer, _lib._sel_boolValue1); + return _objc_msgSend_12(this.pointer, _sel_boolValue); } NSString get uppercaseString { - final _ret = _lib._objc_msgSend_21( - this.pointer, - _lib._sel_uppercaseString1, - ); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_uppercaseString); + return NSString._(_ret, retain: true, release: true); } NSString get lowercaseString { - final _ret = _lib._objc_msgSend_21( - this.pointer, - _lib._sel_lowercaseString1, - ); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_lowercaseString); + return NSString._(_ret, retain: true, release: true); } NSString get capitalizedString { - final _ret = _lib._objc_msgSend_21( - this.pointer, - _lib._sel_capitalizedString1, - ); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_capitalizedString); + return NSString._(_ret, retain: true, release: true); } NSString get localizedUppercaseString { - final _ret = _lib._objc_msgSend_21( - this.pointer, - _lib._sel_localizedUppercaseString1, - ); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_localizedUppercaseString); + return NSString._(_ret, retain: true, release: true); } NSString get localizedLowercaseString { - final _ret = _lib._objc_msgSend_21( - this.pointer, - _lib._sel_localizedLowercaseString1, - ); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_localizedLowercaseString); + return NSString._(_ret, retain: true, release: true); } NSString get localizedCapitalizedString { - final _ret = _lib._objc_msgSend_21( - this.pointer, - _lib._sel_localizedCapitalizedString1, - ); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_21(this.pointer, _sel_localizedCapitalizedString); + return NSString._(_ret, retain: true, release: true); } NSString uppercaseStringWithLocale_(NSLocale? locale) { - final _ret = _lib._objc_msgSend_349( - this.pointer, - _lib._sel_uppercaseStringWithLocale_1, - locale?.pointer ?? ffi.nullptr, - ); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_349(this.pointer, + _sel_uppercaseStringWithLocale_, locale?.pointer ?? ffi.nullptr); + return NSString._(_ret, retain: true, release: true); } NSString lowercaseStringWithLocale_(NSLocale? locale) { - final _ret = _lib._objc_msgSend_349( - this.pointer, - _lib._sel_lowercaseStringWithLocale_1, - locale?.pointer ?? ffi.nullptr, - ); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_349(this.pointer, + _sel_lowercaseStringWithLocale_, locale?.pointer ?? ffi.nullptr); + return NSString._(_ret, retain: true, release: true); } NSString capitalizedStringWithLocale_(NSLocale? locale) { - final _ret = _lib._objc_msgSend_349( - this.pointer, - _lib._sel_capitalizedStringWithLocale_1, - locale?.pointer ?? ffi.nullptr, - ); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_349(this.pointer, + _sel_capitalizedStringWithLocale_, locale?.pointer ?? ffi.nullptr); + return NSString._(_ret, retain: true, release: true); } void getLineStart_end_contentsEnd_forRange_( - ffi.Pointer startPtr, - ffi.Pointer lineEndPtr, - ffi.Pointer contentsEndPtr, - _NSRange range, - ) { - _lib._objc_msgSend_350( - this.pointer, - _lib._sel_getLineStart_end_contentsEnd_forRange_1, - startPtr, - lineEndPtr, - contentsEndPtr, - range, - ); + ffi.Pointer startPtr, + ffi.Pointer lineEndPtr, + ffi.Pointer contentsEndPtr, + _NSRange range) { + _objc_msgSend_350(this.pointer, _sel_getLineStart_end_contentsEnd_forRange_, + startPtr, lineEndPtr, contentsEndPtr, range); } void lineRangeForRange_(ffi.Pointer<_NSRange> stret, _NSRange range) { objc.useMsgSendVariants - ? _lib._objc_msgSend_348_stret( - stret, - this.pointer, - _lib._sel_lineRangeForRange_1, - range, - ) - : stret.ref = _lib._objc_msgSend_348( - this.pointer, - _lib._sel_lineRangeForRange_1, - range, - ); + ? _objc_msgSend_348Stret( + stret, this.pointer, _sel_lineRangeForRange_, range) + : stret.ref = + _objc_msgSend_348(this.pointer, _sel_lineRangeForRange_, range); } void getParagraphStart_end_contentsEnd_forRange_( - ffi.Pointer startPtr, - ffi.Pointer parEndPtr, - ffi.Pointer contentsEndPtr, - _NSRange range, - ) { - _lib._objc_msgSend_350( - this.pointer, - _lib._sel_getParagraphStart_end_contentsEnd_forRange_1, - startPtr, - parEndPtr, - contentsEndPtr, - range, - ); + ffi.Pointer startPtr, + ffi.Pointer parEndPtr, + ffi.Pointer contentsEndPtr, + _NSRange range) { + _objc_msgSend_350( + this.pointer, + _sel_getParagraphStart_end_contentsEnd_forRange_, + startPtr, + parEndPtr, + contentsEndPtr, + range); } void paragraphRangeForRange_(ffi.Pointer<_NSRange> stret, _NSRange range) { objc.useMsgSendVariants - ? _lib._objc_msgSend_348_stret( - stret, - this.pointer, - _lib._sel_paragraphRangeForRange_1, - range, - ) - : stret.ref = _lib._objc_msgSend_348( - this.pointer, - _lib._sel_paragraphRangeForRange_1, - range, - ); + ? _objc_msgSend_348Stret( + stret, this.pointer, _sel_paragraphRangeForRange_, range) + : stret.ref = _objc_msgSend_348( + this.pointer, _sel_paragraphRangeForRange_, range); } - void enumerateSubstringsInRange_options_usingBlock_( - _NSRange range, - int opts, - ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool block, - ) { - _lib._objc_msgSend_351( - this.pointer, - _lib._sel_enumerateSubstringsInRange_options_usingBlock_1, - range, - opts, - block.pointer, - ); + void enumerateSubstringsInRange_options_usingBlock_(_NSRange range, int opts, + ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool block) { + _objc_msgSend_351( + this.pointer, + _sel_enumerateSubstringsInRange_options_usingBlock_, + range, + opts, + block.pointer); } void enumerateLinesUsingBlock_(ObjCBlock_ffiVoid_NSString_bool block) { - _lib._objc_msgSend_352( - this.pointer, - _lib._sel_enumerateLinesUsingBlock_1, - block.pointer, - ); + _objc_msgSend_352( + this.pointer, _sel_enumerateLinesUsingBlock_, block.pointer); } ffi.Pointer get UTF8String { - return _lib._objc_msgSend_13(this.pointer, _lib._sel_UTF8String1); + return _objc_msgSend_13(this.pointer, _sel_UTF8String); } int get fastestEncoding { - return _lib._objc_msgSend_10(this.pointer, _lib._sel_fastestEncoding1); + return _objc_msgSend_10(this.pointer, _sel_fastestEncoding); } int get smallestEncoding { - return _lib._objc_msgSend_10(this.pointer, _lib._sel_smallestEncoding1); + return _objc_msgSend_10(this.pointer, _sel_smallestEncoding); } NSData? dataUsingEncoding_allowLossyConversion_(int encoding, bool lossy) { - final _ret = _lib._objc_msgSend_353( - this.pointer, - _lib._sel_dataUsingEncoding_allowLossyConversion_1, - encoding, - lossy, - ); + final _ret = _objc_msgSend_353(this.pointer, + _sel_dataUsingEncoding_allowLossyConversion_, encoding, lossy); return _ret.address == 0 ? null - : NSData._(_ret, _lib, retain: true, release: true); + : NSData._(_ret, retain: true, release: true); } NSData? dataUsingEncoding_(int encoding) { - final _ret = _lib._objc_msgSend_354( - this.pointer, - _lib._sel_dataUsingEncoding_1, - encoding, - ); + final _ret = + _objc_msgSend_354(this.pointer, _sel_dataUsingEncoding_, encoding); return _ret.address == 0 ? null - : NSData._(_ret, _lib, retain: true, release: true); + : NSData._(_ret, retain: true, release: true); } bool canBeConvertedToEncoding_(int encoding) { - return _lib._objc_msgSend_97( - this.pointer, - _lib._sel_canBeConvertedToEncoding_1, - encoding, - ); + return _objc_msgSend_97( + this.pointer, _sel_canBeConvertedToEncoding_, encoding); } ffi.Pointer cStringUsingEncoding_(int encoding) { - return _lib._objc_msgSend_11( - this.pointer, - _lib._sel_cStringUsingEncoding_1, - encoding, - ); + return _objc_msgSend_11(this.pointer, _sel_cStringUsingEncoding_, encoding); } bool getCString_maxLength_encoding_( - ffi.Pointer buffer, - int maxBufferCount, - int encoding, - ) { - return _lib._objc_msgSend_355( - this.pointer, - _lib._sel_getCString_maxLength_encoding_1, - buffer, - maxBufferCount, - encoding, - ); + ffi.Pointer buffer, int maxBufferCount, int encoding) { + return _objc_msgSend_355(this.pointer, _sel_getCString_maxLength_encoding_, + buffer, maxBufferCount, encoding); } bool getBytes_maxLength_usedLength_encoding_options_range_remainingRange_( - ffi.Pointer buffer, - int maxBufferCount, - ffi.Pointer usedBufferCount, - int encoding, - int options, - _NSRange range, - ffi.Pointer<_NSRange> leftover, - ) { - return _lib._objc_msgSend_356( - this.pointer, - _lib._sel_getBytes_maxLength_usedLength_encoding_options_range_remainingRange_1, - buffer, - maxBufferCount, - usedBufferCount, - encoding, - options, - range, - leftover, - ); + ffi.Pointer buffer, + int maxBufferCount, + ffi.Pointer usedBufferCount, + int encoding, + int options, + _NSRange range, + ffi.Pointer<_NSRange> leftover) { + return _objc_msgSend_356( + this.pointer, + _sel_getBytes_maxLength_usedLength_encoding_options_range_remainingRange_, + buffer, + maxBufferCount, + usedBufferCount, + encoding, + options, + range, + leftover); } int maximumLengthOfBytesUsingEncoding_(int enc) { - return _lib._objc_msgSend_94( - this.pointer, - _lib._sel_maximumLengthOfBytesUsingEncoding_1, - enc, - ); + return _objc_msgSend_94( + this.pointer, _sel_maximumLengthOfBytesUsingEncoding_, enc); } int lengthOfBytesUsingEncoding_(int enc) { - return _lib._objc_msgSend_94( - this.pointer, - _lib._sel_lengthOfBytesUsingEncoding_1, - enc, - ); + return _objc_msgSend_94( + this.pointer, _sel_lengthOfBytesUsingEncoding_, enc); } - static ffi.Pointer getAvailableStringEncodings( - SwiftLibrary _lib, - ) { - return _lib._objc_msgSend_357( - _lib._class_NSString1, - _lib._sel_availableStringEncodings1, - ); + static ffi.Pointer getAvailableStringEncodings() { + return _objc_msgSend_357(_class_NSString, _sel_availableStringEncodings); } - static NSString localizedNameOfStringEncoding_( - SwiftLibrary _lib, - int encoding, - ) { - final _ret = _lib._objc_msgSend_332( - _lib._class_NSString1, - _lib._sel_localizedNameOfStringEncoding_1, - encoding, - ); - return NSString._(_ret, _lib, retain: true, release: true); + static NSString localizedNameOfStringEncoding_(int encoding) { + final _ret = _objc_msgSend_332( + _class_NSString, _sel_localizedNameOfStringEncoding_, encoding); + return NSString._(_ret, retain: true, release: true); } - static int getDefaultCStringEncoding(SwiftLibrary _lib) { - return _lib._objc_msgSend_10( - _lib._class_NSString1, - _lib._sel_defaultCStringEncoding1, - ); + static int getDefaultCStringEncoding() { + return _objc_msgSend_10(_class_NSString, _sel_defaultCStringEncoding); } NSString get decomposedStringWithCanonicalMapping { - final _ret = _lib._objc_msgSend_21( - this.pointer, - _lib._sel_decomposedStringWithCanonicalMapping1, - ); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21( + this.pointer, _sel_decomposedStringWithCanonicalMapping); + return NSString._(_ret, retain: true, release: true); } NSString get precomposedStringWithCanonicalMapping { - final _ret = _lib._objc_msgSend_21( - this.pointer, - _lib._sel_precomposedStringWithCanonicalMapping1, - ); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21( + this.pointer, _sel_precomposedStringWithCanonicalMapping); + return NSString._(_ret, retain: true, release: true); } NSString get decomposedStringWithCompatibilityMapping { - final _ret = _lib._objc_msgSend_21( - this.pointer, - _lib._sel_decomposedStringWithCompatibilityMapping1, - ); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21( + this.pointer, _sel_decomposedStringWithCompatibilityMapping); + return NSString._(_ret, retain: true, release: true); } NSString get precomposedStringWithCompatibilityMapping { - final _ret = _lib._objc_msgSend_21( - this.pointer, - _lib._sel_precomposedStringWithCompatibilityMapping1, - ); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21( + this.pointer, _sel_precomposedStringWithCompatibilityMapping); + return NSString._(_ret, retain: true, release: true); } NSArray componentsSeparatedByString_(NSString separator) { - final _ret = _lib._objc_msgSend_358( - this.pointer, - _lib._sel_componentsSeparatedByString_1, - separator.pointer, - ); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_358( + this.pointer, _sel_componentsSeparatedByString_, separator.pointer); + return NSArray._(_ret, retain: true, release: true); } NSArray componentsSeparatedByCharactersInSet_(NSCharacterSet separator) { - final _ret = _lib._objc_msgSend_359( - this.pointer, - _lib._sel_componentsSeparatedByCharactersInSet_1, - separator.pointer, - ); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_359(this.pointer, + _sel_componentsSeparatedByCharactersInSet_, separator.pointer); + return NSArray._(_ret, retain: true, release: true); } NSString stringByTrimmingCharactersInSet_(NSCharacterSet set) { - final _ret = _lib._objc_msgSend_360( - this.pointer, - _lib._sel_stringByTrimmingCharactersInSet_1, - set.pointer, - ); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_360( + this.pointer, _sel_stringByTrimmingCharactersInSet_, set.pointer); + return NSString._(_ret, retain: true, release: true); } NSString stringByPaddingToLength_withString_startingAtIndex_( - int newLength, - NSString padString, - int padIndex, - ) { - final _ret = _lib._objc_msgSend_361( - this.pointer, - _lib._sel_stringByPaddingToLength_withString_startingAtIndex_1, - newLength, - padString.pointer, - padIndex, - ); - return NSString._(_ret, _lib, retain: true, release: true); + int newLength, NSString padString, int padIndex) { + final _ret = _objc_msgSend_361( + this.pointer, + _sel_stringByPaddingToLength_withString_startingAtIndex_, + newLength, + padString.pointer, + padIndex); + return NSString._(_ret, retain: true, release: true); } NSString stringByFoldingWithOptions_locale_(int options, NSLocale? locale) { - final _ret = _lib._objc_msgSend_362( - this.pointer, - _lib._sel_stringByFoldingWithOptions_locale_1, - options, - locale?.pointer ?? ffi.nullptr, - ); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_362( + this.pointer, + _sel_stringByFoldingWithOptions_locale_, + options, + locale?.pointer ?? ffi.nullptr); + return NSString._(_ret, retain: true, release: true); } NSString stringByReplacingOccurrencesOfString_withString_options_range_( - NSString target, - NSString replacement, - int options, - _NSRange searchRange, - ) { - final _ret = _lib._objc_msgSend_363( - this.pointer, - _lib._sel_stringByReplacingOccurrencesOfString_withString_options_range_1, - target.pointer, - replacement.pointer, - options, - searchRange, - ); - return NSString._(_ret, _lib, retain: true, release: true); + NSString target, + NSString replacement, + int options, + _NSRange searchRange) { + final _ret = _objc_msgSend_363( + this.pointer, + _sel_stringByReplacingOccurrencesOfString_withString_options_range_, + target.pointer, + replacement.pointer, + options, + searchRange); + return NSString._(_ret, retain: true, release: true); } NSString stringByReplacingOccurrencesOfString_withString_( - NSString target, - NSString replacement, - ) { - final _ret = _lib._objc_msgSend_364( - this.pointer, - _lib._sel_stringByReplacingOccurrencesOfString_withString_1, - target.pointer, - replacement.pointer, - ); - return NSString._(_ret, _lib, retain: true, release: true); + NSString target, NSString replacement) { + final _ret = _objc_msgSend_364( + this.pointer, + _sel_stringByReplacingOccurrencesOfString_withString_, + target.pointer, + replacement.pointer); + return NSString._(_ret, retain: true, release: true); } NSString stringByReplacingCharactersInRange_withString_( - _NSRange range, - NSString replacement, - ) { - final _ret = _lib._objc_msgSend_365( - this.pointer, - _lib._sel_stringByReplacingCharactersInRange_withString_1, - range, - replacement.pointer, - ); - return NSString._(_ret, _lib, retain: true, release: true); + _NSRange range, NSString replacement) { + final _ret = _objc_msgSend_365( + this.pointer, + _sel_stringByReplacingCharactersInRange_withString_, + range, + replacement.pointer); + return NSString._(_ret, retain: true, release: true); } NSString? stringByApplyingTransform_reverse_( - NSString transform, - bool reverse, - ) { - final _ret = _lib._objc_msgSend_366( - this.pointer, - _lib._sel_stringByApplyingTransform_reverse_1, - transform.pointer, - reverse, - ); - return _ret.address == 0 - ? null - : NSString._(_ret, _lib, retain: true, release: true); - } - - bool writeToURL_atomically_encoding_error_( - NSURL url, - bool useAuxiliaryFile, - int enc, - ffi.Pointer> error, - ) { - return _lib._objc_msgSend_367( - this.pointer, - _lib._sel_writeToURL_atomically_encoding_error_1, - url.pointer, - useAuxiliaryFile, - enc, - error, - ); + NSString transform, bool reverse) { + final _ret = _objc_msgSend_366(this.pointer, + _sel_stringByApplyingTransform_reverse_, transform.pointer, reverse); + return _ret.address == 0 + ? null + : NSString._(_ret, retain: true, release: true); + } + + bool writeToURL_atomically_encoding_error_(NSURL url, bool useAuxiliaryFile, + int enc, ffi.Pointer> error) { + return _objc_msgSend_367( + this.pointer, + _sel_writeToURL_atomically_encoding_error_, + url.pointer, + useAuxiliaryFile, + enc, + error); } bool writeToFile_atomically_encoding_error_( - NSString path, - bool useAuxiliaryFile, - int enc, - ffi.Pointer> error, - ) { - return _lib._objc_msgSend_368( - this.pointer, - _lib._sel_writeToFile_atomically_encoding_error_1, - path.pointer, - useAuxiliaryFile, - enc, - error, - ); + NSString path, + bool useAuxiliaryFile, + int enc, + ffi.Pointer> error) { + return _objc_msgSend_368( + this.pointer, + _sel_writeToFile_atomically_encoding_error_, + path.pointer, + useAuxiliaryFile, + enc, + error); } NSString get description { - final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_description1); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_description); + return NSString._(_ret, retain: true, release: true); } int get hash { - return _lib._objc_msgSend_10(this.pointer, _lib._sel_hash1); + return _objc_msgSend_10(this.pointer, _sel_hash); } NSString initWithCharactersNoCopy_length_freeWhenDone_( - ffi.Pointer characters, - int length, - bool freeBuffer, - ) { - final _ret = _lib._objc_msgSend_369( - this.pointer, - _lib._sel_initWithCharactersNoCopy_length_freeWhenDone_1, - characters, - length, - freeBuffer, - ); - return NSString._(_ret, _lib, retain: false, release: true); + ffi.Pointer characters, int length, bool freeBuffer) { + final _ret = _objc_msgSend_369( + this.pointer, + _sel_initWithCharactersNoCopy_length_freeWhenDone_, + characters, + length, + freeBuffer); + return NSString._(_ret, retain: false, release: true); } NSString initWithCharactersNoCopy_length_deallocator_( - ffi.Pointer chars, - int len, - ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong? deallocator, - ) { - final _ret = _lib._objc_msgSend_370( - this.pointer, - _lib._sel_initWithCharactersNoCopy_length_deallocator_1, - chars, - len, - deallocator?.pointer ?? ffi.nullptr, - ); - return NSString._(_ret, _lib, retain: false, release: true); + ffi.Pointer chars, + int len, + ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong? deallocator) { + final _ret = _objc_msgSend_370( + this.pointer, + _sel_initWithCharactersNoCopy_length_deallocator_, + chars, + len, + deallocator?.pointer ?? ffi.nullptr); + return NSString._(_ret, retain: false, release: true); } NSString initWithCharacters_length_( - ffi.Pointer characters, - int length, - ) { - final _ret = _lib._objc_msgSend_371( - this.pointer, - _lib._sel_initWithCharacters_length_1, - characters, - length, - ); - return NSString._(_ret, _lib, retain: true, release: true); + ffi.Pointer characters, int length) { + final _ret = _objc_msgSend_371( + this.pointer, _sel_initWithCharacters_length_, characters, length); + return NSString._(_ret, retain: true, release: true); } NSString? initWithUTF8String_(ffi.Pointer nullTerminatedCString) { - final _ret = _lib._objc_msgSend_372( - this.pointer, - _lib._sel_initWithUTF8String_1, - nullTerminatedCString, - ); + final _ret = _objc_msgSend_372( + this.pointer, _sel_initWithUTF8String_, nullTerminatedCString); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } NSString initWithString_(NSString aString) { - final _ret = _lib._objc_msgSend_31( - this.pointer, - _lib._sel_initWithString_1, - aString.pointer, - ); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_31(this.pointer, _sel_initWithString_, aString.pointer); + return NSString._(_ret, retain: true, release: true); } NSString initWithFormat_(NSString format) { - final _ret = _lib._objc_msgSend_31( - this.pointer, - _lib._sel_initWithFormat_1, - format.pointer, - ); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_31(this.pointer, _sel_initWithFormat_, format.pointer); + return NSString._(_ret, retain: true, release: true); } NSString initWithFormat_arguments_( - NSString format, - ffi.Pointer<__va_list_tag> argList, - ) { - final _ret = _lib._objc_msgSend_373( - this.pointer, - _lib._sel_initWithFormat_arguments_1, - format.pointer, - argList, - ); - return NSString._(_ret, _lib, retain: true, release: true); + NSString format, ffi.Pointer<__va_list_tag> argList) { + final _ret = _objc_msgSend_373( + this.pointer, _sel_initWithFormat_arguments_, format.pointer, argList); + return NSString._(_ret, retain: true, release: true); } NSString initWithFormat_locale_(NSString format, NSObject? locale) { - final _ret = _lib._objc_msgSend_374( - this.pointer, - _lib._sel_initWithFormat_locale_1, - format.pointer, - locale?.pointer ?? ffi.nullptr, - ); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_374(this.pointer, _sel_initWithFormat_locale_, + format.pointer, locale?.pointer ?? ffi.nullptr); + return NSString._(_ret, retain: true, release: true); } NSString initWithFormat_locale_arguments_( - NSString format, - NSObject? locale, - ffi.Pointer<__va_list_tag> argList, - ) { - final _ret = _lib._objc_msgSend_375( - this.pointer, - _lib._sel_initWithFormat_locale_arguments_1, - format.pointer, - locale?.pointer ?? ffi.nullptr, - argList, - ); - return NSString._(_ret, _lib, retain: true, release: true); + NSString format, NSObject? locale, ffi.Pointer<__va_list_tag> argList) { + final _ret = _objc_msgSend_375( + this.pointer, + _sel_initWithFormat_locale_arguments_, + format.pointer, + locale?.pointer ?? ffi.nullptr, + argList); + return NSString._(_ret, retain: true, release: true); } NSString? initWithValidatedFormat_validFormatSpecifiers_error_( - NSString format, - NSString validFormatSpecifiers, - ffi.Pointer> error, - ) { - final _ret = _lib._objc_msgSend_376( - this.pointer, - _lib._sel_initWithValidatedFormat_validFormatSpecifiers_error_1, - format.pointer, - validFormatSpecifiers.pointer, - error, - ); + NSString format, + NSString validFormatSpecifiers, + ffi.Pointer> error) { + final _ret = _objc_msgSend_376( + this.pointer, + _sel_initWithValidatedFormat_validFormatSpecifiers_error_, + format.pointer, + validFormatSpecifiers.pointer, + error); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } NSString? initWithValidatedFormat_validFormatSpecifiers_locale_error_( - NSString format, - NSString validFormatSpecifiers, - NSObject? locale, - ffi.Pointer> error, - ) { - final _ret = _lib._objc_msgSend_377( - this.pointer, - _lib._sel_initWithValidatedFormat_validFormatSpecifiers_locale_error_1, - format.pointer, - validFormatSpecifiers.pointer, - locale?.pointer ?? ffi.nullptr, - error, - ); + NSString format, + NSString validFormatSpecifiers, + NSObject? locale, + ffi.Pointer> error) { + final _ret = _objc_msgSend_377( + this.pointer, + _sel_initWithValidatedFormat_validFormatSpecifiers_locale_error_, + format.pointer, + validFormatSpecifiers.pointer, + locale?.pointer ?? ffi.nullptr, + error); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } NSString? initWithValidatedFormat_validFormatSpecifiers_arguments_error_( - NSString format, - NSString validFormatSpecifiers, - ffi.Pointer<__va_list_tag> argList, - ffi.Pointer> error, - ) { - final _ret = _lib._objc_msgSend_378( - this.pointer, - _lib._sel_initWithValidatedFormat_validFormatSpecifiers_arguments_error_1, - format.pointer, - validFormatSpecifiers.pointer, - argList, - error, - ); + NSString format, + NSString validFormatSpecifiers, + ffi.Pointer<__va_list_tag> argList, + ffi.Pointer> error) { + final _ret = _objc_msgSend_378( + this.pointer, + _sel_initWithValidatedFormat_validFormatSpecifiers_arguments_error_, + format.pointer, + validFormatSpecifiers.pointer, + argList, + error); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } NSString? initWithValidatedFormat_validFormatSpecifiers_locale_arguments_error_( - NSString format, - NSString validFormatSpecifiers, - NSObject? locale, - ffi.Pointer<__va_list_tag> argList, - ffi.Pointer> error, - ) { - final _ret = _lib._objc_msgSend_379( - this.pointer, - _lib._sel_initWithValidatedFormat_validFormatSpecifiers_locale_arguments_error_1, - format.pointer, - validFormatSpecifiers.pointer, - locale?.pointer ?? ffi.nullptr, - argList, - error, - ); - return _ret.address == 0 - ? null - : NSString._(_ret, _lib, retain: true, release: true); + NSString format, + NSString validFormatSpecifiers, + NSObject? locale, + ffi.Pointer<__va_list_tag> argList, + ffi.Pointer> error) { + final _ret = _objc_msgSend_379( + this.pointer, + _sel_initWithValidatedFormat_validFormatSpecifiers_locale_arguments_error_, + format.pointer, + validFormatSpecifiers.pointer, + locale?.pointer ?? ffi.nullptr, + argList, + error); + return _ret.address == 0 + ? null + : NSString._(_ret, retain: true, release: true); } NSString? initWithData_encoding_(NSData data, int encoding) { - final _ret = _lib._objc_msgSend_380( - this.pointer, - _lib._sel_initWithData_encoding_1, - data.pointer, - encoding, - ); + final _ret = _objc_msgSend_380( + this.pointer, _sel_initWithData_encoding_, data.pointer, encoding); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } NSString? initWithBytes_length_encoding_( - ffi.Pointer bytes, - int len, - int encoding, - ) { - final _ret = _lib._objc_msgSend_381( - this.pointer, - _lib._sel_initWithBytes_length_encoding_1, - bytes, - len, - encoding, - ); + ffi.Pointer bytes, int len, int encoding) { + final _ret = _objc_msgSend_381(this.pointer, + _sel_initWithBytes_length_encoding_, bytes, len, encoding); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } NSString? initWithBytesNoCopy_length_encoding_freeWhenDone_( - ffi.Pointer bytes, - int len, - int encoding, - bool freeBuffer, - ) { - final _ret = _lib._objc_msgSend_382( - this.pointer, - _lib._sel_initWithBytesNoCopy_length_encoding_freeWhenDone_1, - bytes, - len, - encoding, - freeBuffer, - ); + ffi.Pointer bytes, int len, int encoding, bool freeBuffer) { + final _ret = _objc_msgSend_382( + this.pointer, + _sel_initWithBytesNoCopy_length_encoding_freeWhenDone_, + bytes, + len, + encoding, + freeBuffer); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: false, release: true); + : NSString._(_ret, retain: false, release: true); } NSString? initWithBytesNoCopy_length_encoding_deallocator_( - ffi.Pointer bytes, - int len, - int encoding, - ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong? deallocator, - ) { - final _ret = _lib._objc_msgSend_383( - this.pointer, - _lib._sel_initWithBytesNoCopy_length_encoding_deallocator_1, - bytes, - len, - encoding, - deallocator?.pointer ?? ffi.nullptr, - ); + ffi.Pointer bytes, + int len, + int encoding, + ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong? deallocator) { + final _ret = _objc_msgSend_383( + this.pointer, + _sel_initWithBytesNoCopy_length_encoding_deallocator_, + bytes, + len, + encoding, + deallocator?.pointer ?? ffi.nullptr); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: false, release: true); + : NSString._(_ret, retain: false, release: true); } - static NSString string(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2(_lib._class_NSString1, _lib._sel_string1); - return NSString._(_ret, _lib, retain: true, release: true); + static NSString string() { + final _ret = _objc_msgSend_2(_class_NSString, _sel_string); + return NSString._(_ret, retain: true, release: true); } - static NSString stringWithString_(SwiftLibrary _lib, NSString string) { - final _ret = _lib._objc_msgSend_31( - _lib._class_NSString1, - _lib._sel_stringWithString_1, - string.pointer, - ); - return NSString._(_ret, _lib, retain: true, release: true); + static NSString stringWithString_(NSString string) { + final _ret = _objc_msgSend_31( + _class_NSString, _sel_stringWithString_, string.pointer); + return NSString._(_ret, retain: true, release: true); } static NSString stringWithCharacters_length_( - SwiftLibrary _lib, - ffi.Pointer characters, - int length, - ) { - final _ret = _lib._objc_msgSend_371( - _lib._class_NSString1, - _lib._sel_stringWithCharacters_length_1, - characters, - length, - ); - return NSString._(_ret, _lib, retain: true, release: true); + ffi.Pointer characters, int length) { + final _ret = _objc_msgSend_371( + _class_NSString, _sel_stringWithCharacters_length_, characters, length); + return NSString._(_ret, retain: true, release: true); } static NSString? stringWithUTF8String_( - SwiftLibrary _lib, - ffi.Pointer nullTerminatedCString, - ) { - final _ret = _lib._objc_msgSend_372( - _lib._class_NSString1, - _lib._sel_stringWithUTF8String_1, - nullTerminatedCString, - ); + ffi.Pointer nullTerminatedCString) { + final _ret = _objc_msgSend_372( + _class_NSString, _sel_stringWithUTF8String_, nullTerminatedCString); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } - static NSString stringWithFormat_(SwiftLibrary _lib, NSString format) { - final _ret = _lib._objc_msgSend_31( - _lib._class_NSString1, - _lib._sel_stringWithFormat_1, - format.pointer, - ); - return NSString._(_ret, _lib, retain: true, release: true); + static NSString stringWithFormat_(NSString format) { + final _ret = _objc_msgSend_31( + _class_NSString, _sel_stringWithFormat_, format.pointer); + return NSString._(_ret, retain: true, release: true); } - static NSString localizedStringWithFormat_( - SwiftLibrary _lib, - NSString format, - ) { - final _ret = _lib._objc_msgSend_31( - _lib._class_NSString1, - _lib._sel_localizedStringWithFormat_1, - format.pointer, - ); - return NSString._(_ret, _lib, retain: true, release: true); + static NSString localizedStringWithFormat_(NSString format) { + final _ret = _objc_msgSend_31( + _class_NSString, _sel_localizedStringWithFormat_, format.pointer); + return NSString._(_ret, retain: true, release: true); } static NSString? stringWithValidatedFormat_validFormatSpecifiers_error_( - SwiftLibrary _lib, - NSString format, - NSString validFormatSpecifiers, - ffi.Pointer> error, - ) { - final _ret = _lib._objc_msgSend_376( - _lib._class_NSString1, - _lib._sel_stringWithValidatedFormat_validFormatSpecifiers_error_1, - format.pointer, - validFormatSpecifiers.pointer, - error, - ); + NSString format, + NSString validFormatSpecifiers, + ffi.Pointer> error) { + final _ret = _objc_msgSend_376( + _class_NSString, + _sel_stringWithValidatedFormat_validFormatSpecifiers_error_, + format.pointer, + validFormatSpecifiers.pointer, + error); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } static NSString? localizedStringWithValidatedFormat_validFormatSpecifiers_error_( - SwiftLibrary _lib, - NSString format, - NSString validFormatSpecifiers, - ffi.Pointer> error, - ) { - final _ret = _lib._objc_msgSend_376( - _lib._class_NSString1, - _lib._sel_localizedStringWithValidatedFormat_validFormatSpecifiers_error_1, - format.pointer, - validFormatSpecifiers.pointer, - error, - ); + NSString format, + NSString validFormatSpecifiers, + ffi.Pointer> error) { + final _ret = _objc_msgSend_376( + _class_NSString, + _sel_localizedStringWithValidatedFormat_validFormatSpecifiers_error_, + format.pointer, + validFormatSpecifiers.pointer, + error); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } NSString? initWithCString_encoding_( - ffi.Pointer nullTerminatedCString, - int encoding, - ) { - final _ret = _lib._objc_msgSend_384( - this.pointer, - _lib._sel_initWithCString_encoding_1, - nullTerminatedCString, - encoding, - ); + ffi.Pointer nullTerminatedCString, int encoding) { + final _ret = _objc_msgSend_384(this.pointer, _sel_initWithCString_encoding_, + nullTerminatedCString, encoding); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } static NSString? stringWithCString_encoding_( - SwiftLibrary _lib, - ffi.Pointer cString, - int enc, - ) { - final _ret = _lib._objc_msgSend_384( - _lib._class_NSString1, - _lib._sel_stringWithCString_encoding_1, - cString, - enc, - ); + ffi.Pointer cString, int enc) { + final _ret = _objc_msgSend_384( + _class_NSString, _sel_stringWithCString_encoding_, cString, enc); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } NSString? initWithContentsOfURL_encoding_error_( - NSURL url, - int enc, - ffi.Pointer> error, - ) { - final _ret = _lib._objc_msgSend_385( - this.pointer, - _lib._sel_initWithContentsOfURL_encoding_error_1, - url.pointer, - enc, - error, - ); + NSURL url, int enc, ffi.Pointer> error) { + final _ret = _objc_msgSend_385(this.pointer, + _sel_initWithContentsOfURL_encoding_error_, url.pointer, enc, error); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } NSString? initWithContentsOfFile_encoding_error_( - NSString path, - int enc, - ffi.Pointer> error, - ) { - final _ret = _lib._objc_msgSend_386( - this.pointer, - _lib._sel_initWithContentsOfFile_encoding_error_1, - path.pointer, - enc, - error, - ); + NSString path, int enc, ffi.Pointer> error) { + final _ret = _objc_msgSend_386(this.pointer, + _sel_initWithContentsOfFile_encoding_error_, path.pointer, enc, error); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } static NSString? stringWithContentsOfURL_encoding_error_( - SwiftLibrary _lib, - NSURL url, - int enc, - ffi.Pointer> error, - ) { - final _ret = _lib._objc_msgSend_385( - _lib._class_NSString1, - _lib._sel_stringWithContentsOfURL_encoding_error_1, - url.pointer, - enc, - error, - ); + NSURL url, int enc, ffi.Pointer> error) { + final _ret = _objc_msgSend_385(_class_NSString, + _sel_stringWithContentsOfURL_encoding_error_, url.pointer, enc, error); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } static NSString? stringWithContentsOfFile_encoding_error_( - SwiftLibrary _lib, - NSString path, - int enc, - ffi.Pointer> error, - ) { - final _ret = _lib._objc_msgSend_386( - _lib._class_NSString1, - _lib._sel_stringWithContentsOfFile_encoding_error_1, - path.pointer, - enc, - error, - ); + NSString path, int enc, ffi.Pointer> error) { + final _ret = _objc_msgSend_386( + _class_NSString, + _sel_stringWithContentsOfFile_encoding_error_, + path.pointer, + enc, + error); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } NSString? initWithContentsOfURL_usedEncoding_error_( - NSURL url, - ffi.Pointer enc, - ffi.Pointer> error, - ) { - final _ret = _lib._objc_msgSend_387( - this.pointer, - _lib._sel_initWithContentsOfURL_usedEncoding_error_1, - url.pointer, - enc, - error, - ); + NSURL url, + ffi.Pointer enc, + ffi.Pointer> error) { + final _ret = _objc_msgSend_387( + this.pointer, + _sel_initWithContentsOfURL_usedEncoding_error_, + url.pointer, + enc, + error); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } NSString? initWithContentsOfFile_usedEncoding_error_( - NSString path, - ffi.Pointer enc, - ffi.Pointer> error, - ) { - final _ret = _lib._objc_msgSend_388( - this.pointer, - _lib._sel_initWithContentsOfFile_usedEncoding_error_1, - path.pointer, - enc, - error, - ); + NSString path, + ffi.Pointer enc, + ffi.Pointer> error) { + final _ret = _objc_msgSend_388( + this.pointer, + _sel_initWithContentsOfFile_usedEncoding_error_, + path.pointer, + enc, + error); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } static NSString? stringWithContentsOfURL_usedEncoding_error_( - SwiftLibrary _lib, - NSURL url, - ffi.Pointer enc, - ffi.Pointer> error, - ) { - final _ret = _lib._objc_msgSend_387( - _lib._class_NSString1, - _lib._sel_stringWithContentsOfURL_usedEncoding_error_1, - url.pointer, - enc, - error, - ); + NSURL url, + ffi.Pointer enc, + ffi.Pointer> error) { + final _ret = _objc_msgSend_387( + _class_NSString, + _sel_stringWithContentsOfURL_usedEncoding_error_, + url.pointer, + enc, + error); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } static NSString? stringWithContentsOfFile_usedEncoding_error_( - SwiftLibrary _lib, - NSString path, - ffi.Pointer enc, - ffi.Pointer> error, - ) { - final _ret = _lib._objc_msgSend_388( - _lib._class_NSString1, - _lib._sel_stringWithContentsOfFile_usedEncoding_error_1, - path.pointer, - enc, - error, - ); + NSString path, + ffi.Pointer enc, + ffi.Pointer> error) { + final _ret = _objc_msgSend_388( + _class_NSString, + _sel_stringWithContentsOfFile_usedEncoding_error_, + path.pointer, + enc, + error); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } static int stringEncodingForData_encodingOptions_convertedString_usedLossyConversion_( - SwiftLibrary _lib, - NSData data, - NSDictionary? opts, - ffi.Pointer> string, - ffi.Pointer usedLossyConversion, - ) { - return _lib._objc_msgSend_389( - _lib._class_NSString1, - _lib._sel_stringEncodingForData_encodingOptions_convertedString_usedLossyConversion_1, - data.pointer, - opts?.pointer ?? ffi.nullptr, - string, - usedLossyConversion, - ); + NSData data, + NSDictionary? opts, + ffi.Pointer> string, + ffi.Pointer usedLossyConversion) { + return _objc_msgSend_389( + _class_NSString, + _sel_stringEncodingForData_encodingOptions_convertedString_usedLossyConversion_, + data.pointer, + opts?.pointer ?? ffi.nullptr, + string, + usedLossyConversion); } NSObject propertyList() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_propertyList1); - return NSObject._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_propertyList); + return NSObject._(_ret, retain: true, release: true); } NSDictionary? propertyListFromStringsFileFormat() { - final _ret = _lib._objc_msgSend_390( - this.pointer, - _lib._sel_propertyListFromStringsFileFormat1, - ); + final _ret = + _objc_msgSend_390(this.pointer, _sel_propertyListFromStringsFileFormat); return _ret.address == 0 ? null - : NSDictionary._(_ret, _lib, retain: true, release: true); + : NSDictionary._(_ret, retain: true, release: true); } ffi.Pointer cString() { - return _lib._objc_msgSend_13(this.pointer, _lib._sel_cString1); + return _objc_msgSend_13(this.pointer, _sel_cString); } ffi.Pointer lossyCString() { - return _lib._objc_msgSend_13(this.pointer, _lib._sel_lossyCString1); + return _objc_msgSend_13(this.pointer, _sel_lossyCString); } int cStringLength() { - return _lib._objc_msgSend_10(this.pointer, _lib._sel_cStringLength1); + return _objc_msgSend_10(this.pointer, _sel_cStringLength); } void getCString_(ffi.Pointer bytes) { - _lib._objc_msgSend_290(this.pointer, _lib._sel_getCString_1, bytes); + _objc_msgSend_290(this.pointer, _sel_getCString_, bytes); } void getCString_maxLength_(ffi.Pointer bytes, int maxLength) { - _lib._objc_msgSend_391( - this.pointer, - _lib._sel_getCString_maxLength_1, - bytes, - maxLength, - ); - } - - void getCString_maxLength_range_remainingRange_( - ffi.Pointer bytes, - int maxLength, - _NSRange aRange, - ffi.Pointer<_NSRange> leftoverRange, - ) { - _lib._objc_msgSend_392( - this.pointer, - _lib._sel_getCString_maxLength_range_remainingRange_1, - bytes, - maxLength, - aRange, - leftoverRange, - ); + _objc_msgSend_391( + this.pointer, _sel_getCString_maxLength_, bytes, maxLength); + } + + void getCString_maxLength_range_remainingRange_(ffi.Pointer bytes, + int maxLength, _NSRange aRange, ffi.Pointer<_NSRange> leftoverRange) { + _objc_msgSend_392( + this.pointer, + _sel_getCString_maxLength_range_remainingRange_, + bytes, + maxLength, + aRange, + leftoverRange); } bool writeToFile_atomically_(NSString path, bool useAuxiliaryFile) { - return _lib._objc_msgSend_26( - this.pointer, - _lib._sel_writeToFile_atomically_1, - path.pointer, - useAuxiliaryFile, - ); + return _objc_msgSend_26(this.pointer, _sel_writeToFile_atomically_, + path.pointer, useAuxiliaryFile); } bool writeToURL_atomically_(NSURL url, bool atomically) { - return _lib._objc_msgSend_134( - this.pointer, - _lib._sel_writeToURL_atomically_1, - url.pointer, - atomically, - ); + return _objc_msgSend_134( + this.pointer, _sel_writeToURL_atomically_, url.pointer, atomically); } NSObject? initWithContentsOfFile_(NSString path) { - final _ret = _lib._objc_msgSend_38( - this.pointer, - _lib._sel_initWithContentsOfFile_1, - path.pointer, - ); + final _ret = _objc_msgSend_38( + this.pointer, _sel_initWithContentsOfFile_, path.pointer); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } NSObject? initWithContentsOfURL_(NSURL url) { - final _ret = _lib._objc_msgSend_277( - this.pointer, - _lib._sel_initWithContentsOfURL_1, - url.pointer, - ); + final _ret = _objc_msgSend_277( + this.pointer, _sel_initWithContentsOfURL_, url.pointer); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } - static NSObject? stringWithContentsOfFile_(SwiftLibrary _lib, NSString path) { - final _ret = _lib._objc_msgSend_38( - _lib._class_NSString1, - _lib._sel_stringWithContentsOfFile_1, - path.pointer, - ); + static NSObject? stringWithContentsOfFile_(NSString path) { + final _ret = _objc_msgSend_38( + _class_NSString, _sel_stringWithContentsOfFile_, path.pointer); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } - static NSObject? stringWithContentsOfURL_(SwiftLibrary _lib, NSURL url) { - final _ret = _lib._objc_msgSend_277( - _lib._class_NSString1, - _lib._sel_stringWithContentsOfURL_1, - url.pointer, - ); + static NSObject? stringWithContentsOfURL_(NSURL url) { + final _ret = _objc_msgSend_277( + _class_NSString, _sel_stringWithContentsOfURL_, url.pointer); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } NSObject? initWithCStringNoCopy_length_freeWhenDone_( - ffi.Pointer bytes, - int length, - bool freeBuffer, - ) { - final _ret = _lib._objc_msgSend_393( - this.pointer, - _lib._sel_initWithCStringNoCopy_length_freeWhenDone_1, - bytes, - length, - freeBuffer, - ); + ffi.Pointer bytes, int length, bool freeBuffer) { + final _ret = _objc_msgSend_393( + this.pointer, + _sel_initWithCStringNoCopy_length_freeWhenDone_, + bytes, + length, + freeBuffer); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: false, release: true); + : NSObject._(_ret, retain: false, release: true); } NSObject? initWithCString_length_(ffi.Pointer bytes, int length) { - final _ret = _lib._objc_msgSend_384( - this.pointer, - _lib._sel_initWithCString_length_1, - bytes, - length, - ); + final _ret = _objc_msgSend_384( + this.pointer, _sel_initWithCString_length_, bytes, length); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } NSObject? initWithCString_(ffi.Pointer bytes) { - final _ret = _lib._objc_msgSend_372( - this.pointer, - _lib._sel_initWithCString_1, - bytes, - ); + final _ret = _objc_msgSend_372(this.pointer, _sel_initWithCString_, bytes); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } static NSObject? stringWithCString_length_( - SwiftLibrary _lib, - ffi.Pointer bytes, - int length, - ) { - final _ret = _lib._objc_msgSend_384( - _lib._class_NSString1, - _lib._sel_stringWithCString_length_1, - bytes, - length, - ); + ffi.Pointer bytes, int length) { + final _ret = _objc_msgSend_384( + _class_NSString, _sel_stringWithCString_length_, bytes, length); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } - static NSObject? stringWithCString_( - SwiftLibrary _lib, - ffi.Pointer bytes, - ) { - final _ret = _lib._objc_msgSend_372( - _lib._class_NSString1, - _lib._sel_stringWithCString_1, - bytes, - ); + static NSObject? stringWithCString_(ffi.Pointer bytes) { + final _ret = + _objc_msgSend_372(_class_NSString, _sel_stringWithCString_, bytes); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } void getCharacters_(ffi.Pointer buffer) { - _lib._objc_msgSend_394(this.pointer, _lib._sel_getCharacters_1, buffer); + _objc_msgSend_394(this.pointer, _sel_getCharacters_, buffer); } NSString variantFittingPresentationWidth_(int width) { - final _ret = _lib._objc_msgSend_395( - this.pointer, - _lib._sel_variantFittingPresentationWidth_1, - width, - ); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_395( + this.pointer, _sel_variantFittingPresentationWidth_, width); + return NSString._(_ret, retain: true, release: true); } - static NSString pathWithComponents_(SwiftLibrary _lib, NSArray components) { - final _ret = _lib._objc_msgSend_396( - _lib._class_NSString1, - _lib._sel_pathWithComponents_1, - components.pointer, - ); - return NSString._(_ret, _lib, retain: true, release: true); + static NSString pathWithComponents_(NSArray components) { + final _ret = _objc_msgSend_396( + _class_NSString, _sel_pathWithComponents_, components.pointer); + return NSString._(_ret, retain: true, release: true); } NSArray get pathComponents { - final _ret = _lib._objc_msgSend_85(this.pointer, _lib._sel_pathComponents1); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_85(this.pointer, _sel_pathComponents); + return NSArray._(_ret, retain: true, release: true); } bool get absolutePath { - return _lib._objc_msgSend_12(this.pointer, _lib._sel_isAbsolutePath1); + return _objc_msgSend_12(this.pointer, _sel_isAbsolutePath); } NSString get lastPathComponent { - final _ret = _lib._objc_msgSend_21( - this.pointer, - _lib._sel_lastPathComponent1, - ); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_lastPathComponent); + return NSString._(_ret, retain: true, release: true); } NSString get stringByDeletingLastPathComponent { - final _ret = _lib._objc_msgSend_21( - this.pointer, - _lib._sel_stringByDeletingLastPathComponent1, - ); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_21(this.pointer, _sel_stringByDeletingLastPathComponent); + return NSString._(_ret, retain: true, release: true); } NSString stringByAppendingPathComponent_(NSString str) { - final _ret = _lib._objc_msgSend_69( - this.pointer, - _lib._sel_stringByAppendingPathComponent_1, - str.pointer, - ); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_69( + this.pointer, _sel_stringByAppendingPathComponent_, str.pointer); + return NSString._(_ret, retain: true, release: true); } NSString get pathExtension { - final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_pathExtension1); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_pathExtension); + return NSString._(_ret, retain: true, release: true); } NSString get stringByDeletingPathExtension { - final _ret = _lib._objc_msgSend_21( - this.pointer, - _lib._sel_stringByDeletingPathExtension1, - ); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_21(this.pointer, _sel_stringByDeletingPathExtension); + return NSString._(_ret, retain: true, release: true); } NSString? stringByAppendingPathExtension_(NSString str) { - final _ret = _lib._objc_msgSend_186( - this.pointer, - _lib._sel_stringByAppendingPathExtension_1, - str.pointer, - ); + final _ret = _objc_msgSend_186( + this.pointer, _sel_stringByAppendingPathExtension_, str.pointer); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } NSString get stringByAbbreviatingWithTildeInPath { - final _ret = _lib._objc_msgSend_21( - this.pointer, - _lib._sel_stringByAbbreviatingWithTildeInPath1, - ); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21( + this.pointer, _sel_stringByAbbreviatingWithTildeInPath); + return NSString._(_ret, retain: true, release: true); } NSString get stringByExpandingTildeInPath { - final _ret = _lib._objc_msgSend_21( - this.pointer, - _lib._sel_stringByExpandingTildeInPath1, - ); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_21(this.pointer, _sel_stringByExpandingTildeInPath); + return NSString._(_ret, retain: true, release: true); } NSString get stringByStandardizingPath { - final _ret = _lib._objc_msgSend_21( - this.pointer, - _lib._sel_stringByStandardizingPath1, - ); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_stringByStandardizingPath); + return NSString._(_ret, retain: true, release: true); } NSString get stringByResolvingSymlinksInPath { - final _ret = _lib._objc_msgSend_21( - this.pointer, - _lib._sel_stringByResolvingSymlinksInPath1, - ); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_21(this.pointer, _sel_stringByResolvingSymlinksInPath); + return NSString._(_ret, retain: true, release: true); } NSArray stringsByAppendingPaths_(NSArray paths) { - final _ret = _lib._objc_msgSend_68( - this.pointer, - _lib._sel_stringsByAppendingPaths_1, - paths.pointer, - ); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_68( + this.pointer, _sel_stringsByAppendingPaths_, paths.pointer); + return NSArray._(_ret, retain: true, release: true); } int completePathIntoString_caseSensitive_matchesIntoArray_filterTypes_( - ffi.Pointer> outputName, - bool flag, - ffi.Pointer> outputArray, - NSArray? filterTypes, - ) { - return _lib._objc_msgSend_397( - this.pointer, - _lib._sel_completePathIntoString_caseSensitive_matchesIntoArray_filterTypes_1, - outputName, - flag, - outputArray, - filterTypes?.pointer ?? ffi.nullptr, - ); + ffi.Pointer> outputName, + bool flag, + ffi.Pointer> outputArray, + NSArray? filterTypes) { + return _objc_msgSend_397( + this.pointer, + _sel_completePathIntoString_caseSensitive_matchesIntoArray_filterTypes_, + outputName, + flag, + outputArray, + filterTypes?.pointer ?? ffi.nullptr); } ffi.Pointer get fileSystemRepresentation { - return _lib._objc_msgSend_13( - this.pointer, - _lib._sel_fileSystemRepresentation1, - ); + return _objc_msgSend_13(this.pointer, _sel_fileSystemRepresentation); } bool getFileSystemRepresentation_maxLength_( - ffi.Pointer cname, - int max, - ) { - return _lib._objc_msgSend_242( - this.pointer, - _lib._sel_getFileSystemRepresentation_maxLength_1, - cname, - max, - ); + ffi.Pointer cname, int max) { + return _objc_msgSend_242( + this.pointer, _sel_getFileSystemRepresentation_maxLength_, cname, max); } NSString? stringByAddingPercentEncodingWithAllowedCharacters_( - NSCharacterSet allowedCharacters, - ) { - final _ret = _lib._objc_msgSend_398( - this.pointer, - _lib._sel_stringByAddingPercentEncodingWithAllowedCharacters_1, - allowedCharacters.pointer, - ); + NSCharacterSet allowedCharacters) { + final _ret = _objc_msgSend_398( + this.pointer, + _sel_stringByAddingPercentEncodingWithAllowedCharacters_, + allowedCharacters.pointer); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } NSString? get stringByRemovingPercentEncoding { - final _ret = _lib._objc_msgSend_44( - this.pointer, - _lib._sel_stringByRemovingPercentEncoding1, - ); + final _ret = + _objc_msgSend_44(this.pointer, _sel_stringByRemovingPercentEncoding); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } NSString? stringByAddingPercentEscapesUsingEncoding_(int enc) { - final _ret = _lib._objc_msgSend_399( - this.pointer, - _lib._sel_stringByAddingPercentEscapesUsingEncoding_1, - enc, - ); + final _ret = _objc_msgSend_399( + this.pointer, _sel_stringByAddingPercentEscapesUsingEncoding_, enc); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } NSString? stringByReplacingPercentEscapesUsingEncoding_(int enc) { - final _ret = _lib._objc_msgSend_399( - this.pointer, - _lib._sel_stringByReplacingPercentEscapesUsingEncoding_1, - enc, - ); + final _ret = _objc_msgSend_399( + this.pointer, _sel_stringByReplacingPercentEscapesUsingEncoding_, enc); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } NSArray linguisticTagsInRange_scheme_options_orthography_tokenRanges_( - _NSRange range, - NSString scheme, - int options, - NSOrthography? orthography, - ffi.Pointer> tokenRanges, - ) { - final _ret = _lib._objc_msgSend_401( - this.pointer, - _lib._sel_linguisticTagsInRange_scheme_options_orthography_tokenRanges_1, - range, - scheme.pointer, - options, - orthography?.pointer ?? ffi.nullptr, - tokenRanges, - ); - return NSArray._(_ret, _lib, retain: true, release: true); + _NSRange range, + NSString scheme, + int options, + NSOrthography? orthography, + ffi.Pointer> tokenRanges) { + final _ret = _objc_msgSend_401( + this.pointer, + _sel_linguisticTagsInRange_scheme_options_orthography_tokenRanges_, + range, + scheme.pointer, + options, + orthography?.pointer ?? ffi.nullptr, + tokenRanges); + return NSArray._(_ret, retain: true, release: true); } void enumerateLinguisticTagsInRange_scheme_options_orthography_usingBlock_( - _NSRange range, - NSString scheme, - int options, - NSOrthography? orthography, - ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool block, - ) { - _lib._objc_msgSend_402( - this.pointer, - _lib._sel_enumerateLinguisticTagsInRange_scheme_options_orthography_usingBlock_1, - range, - scheme.pointer, - options, - orthography?.pointer ?? ffi.nullptr, - block.pointer, - ); - } - - static NSString new1(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2(_lib._class_NSString1, _lib._sel_new1); - return NSString._(_ret, _lib, retain: false, release: true); - } - - static NSString allocWithZone_(SwiftLibrary _lib, ffi.Pointer<_NSZone> zone) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSString1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSString._(_ret, _lib, retain: false, release: true); - } - - static NSString alloc(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2(_lib._class_NSString1, _lib._sel_alloc1); - return NSString._(_ret, _lib, retain: false, release: true); + _NSRange range, + NSString scheme, + int options, + NSOrthography? orthography, + ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool block) { + _objc_msgSend_402( + this.pointer, + _sel_enumerateLinguisticTagsInRange_scheme_options_orthography_usingBlock_, + range, + scheme.pointer, + options, + orthography?.pointer ?? ffi.nullptr, + block.pointer); + } + + static NSString new1() { + final _ret = _objc_msgSend_2(_class_NSString, _sel_new); + return NSString._(_ret, retain: false, release: true); + } + + static NSString allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = _objc_msgSend_3(_class_NSString, _sel_allocWithZone_, zone); + return NSString._(_ret, retain: false, release: true); + } + + static NSString alloc() { + final _ret = _objc_msgSend_2(_class_NSString, _sel_alloc); + return NSString._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSString1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSString1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSString1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSString1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSString1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSString1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSString, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); + } + + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSString, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); + } + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSString, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSString, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSString, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSString, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); } static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSString1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSString1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSString1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSString, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = + _objc_msgSend_85(_class_NSString, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = _objc_msgSend_2(_class_NSString, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); } } extension StringToNSString on String { - NSString toNSString(SwiftLibrary lib) => NSString(lib, this); + NSString toNSString() => NSString(this); } +late final _class_NSString = objc.getClass("NSString"); +late final _sel_length = objc.registerName("length"); +late final _sel_characterAtIndex_ = objc.registerName("characterAtIndex:"); +final _objc_msgSend_18 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.UnsignedShort Function(ffi.Pointer obj, + ffi.Pointer sel, ffi.UnsignedLong index)>>() + .asFunction< + int Function(ffi.Pointer, + ffi.Pointer, int)>(); + class NSCoder extends NSObject { - NSCoder._( - ffi.Pointer pointer, - SwiftLibrary lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSCoder._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSCoder] that points to the same underlying object as [other]. - static NSCoder castFrom( - SwiftLibrary lib, - T other, - ) { - return NSCoder._(other.pointer, lib, retain: true, release: true); + static NSCoder castFrom(T other) { + return NSCoder._(other.pointer, retain: true, release: true); } /// Returns a [NSCoder] that wraps the given raw object pointer. - static NSCoder castFromPointer( - SwiftLibrary lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSCoder._(other, lib, retain: retain, release: release); + static NSCoder castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSCoder._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSCoder]. - static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSCoder1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0(obj.pointer, _sel_isKindOfClass_, _class_NSCoder); } void encodeValueOfObjCType_at_( - ffi.Pointer type, - ffi.Pointer addr, - ) { - _lib._objc_msgSend_19( - this.pointer, - _lib._sel_encodeValueOfObjCType_at_1, - type, - addr, - ); + ffi.Pointer type, ffi.Pointer addr) { + _objc_msgSend_19(this.pointer, _sel_encodeValueOfObjCType_at_, type, addr); } void encodeDataObject_(NSData data) { - _lib._objc_msgSend_285( - this.pointer, - _lib._sel_encodeDataObject_1, - data.pointer, - ); + _objc_msgSend_285(this.pointer, _sel_encodeDataObject_, data.pointer); } NSData? decodeDataObject() { - final _ret = _lib._objc_msgSend_286( - this.pointer, - _lib._sel_decodeDataObject1, - ); + final _ret = _objc_msgSend_286(this.pointer, _sel_decodeDataObject); return _ret.address == 0 ? null - : NSData._(_ret, _lib, retain: true, release: true); + : NSData._(_ret, retain: true, release: true); } void decodeValueOfObjCType_at_size_( - ffi.Pointer type, - ffi.Pointer data, - int size, - ) { - _lib._objc_msgSend_287( - this.pointer, - _lib._sel_decodeValueOfObjCType_at_size_1, - type, - data, - size, - ); + ffi.Pointer type, ffi.Pointer data, int size) { + _objc_msgSend_287( + this.pointer, _sel_decodeValueOfObjCType_at_size_, type, data, size); } int versionForClassName_(NSString className) { - return _lib._objc_msgSend_288( - this.pointer, - _lib._sel_versionForClassName_1, - className.pointer, - ); + return _objc_msgSend_288( + this.pointer, _sel_versionForClassName_, className.pointer); } void encodeObject_(NSObject? object) { - _lib._objc_msgSend_289( - this.pointer, - _lib._sel_encodeObject_1, - object?.pointer ?? ffi.nullptr, - ); + _objc_msgSend_289( + this.pointer, _sel_encodeObject_, object?.pointer ?? ffi.nullptr); } void encodeRootObject_(NSObject rootObject) { - _lib._objc_msgSend_15( - this.pointer, - _lib._sel_encodeRootObject_1, - rootObject.pointer, - ); + _objc_msgSend_15(this.pointer, _sel_encodeRootObject_, rootObject.pointer); } void encodeBycopyObject_(NSObject? anObject) { - _lib._objc_msgSend_289( - this.pointer, - _lib._sel_encodeBycopyObject_1, - anObject?.pointer ?? ffi.nullptr, - ); + _objc_msgSend_289(this.pointer, _sel_encodeBycopyObject_, + anObject?.pointer ?? ffi.nullptr); } void encodeByrefObject_(NSObject? anObject) { - _lib._objc_msgSend_289( - this.pointer, - _lib._sel_encodeByrefObject_1, - anObject?.pointer ?? ffi.nullptr, - ); + _objc_msgSend_289(this.pointer, _sel_encodeByrefObject_, + anObject?.pointer ?? ffi.nullptr); } void encodeConditionalObject_(NSObject? object) { - _lib._objc_msgSend_289( - this.pointer, - _lib._sel_encodeConditionalObject_1, - object?.pointer ?? ffi.nullptr, - ); + _objc_msgSend_289(this.pointer, _sel_encodeConditionalObject_, + object?.pointer ?? ffi.nullptr); } void encodeValuesOfObjCTypes_(ffi.Pointer types) { - _lib._objc_msgSend_290( - this.pointer, - _lib._sel_encodeValuesOfObjCTypes_1, - types, - ); + _objc_msgSend_290(this.pointer, _sel_encodeValuesOfObjCTypes_, types); } void encodeArrayOfObjCType_count_at_( - ffi.Pointer type, - int count, - ffi.Pointer array, - ) { - _lib._objc_msgSend_291( - this.pointer, - _lib._sel_encodeArrayOfObjCType_count_at_1, - type, - count, - array, - ); + ffi.Pointer type, int count, ffi.Pointer array) { + _objc_msgSend_291( + this.pointer, _sel_encodeArrayOfObjCType_count_at_, type, count, array); } void encodeBytes_length_(ffi.Pointer byteaddr, int length) { - _lib._objc_msgSend_22( - this.pointer, - _lib._sel_encodeBytes_length_1, - byteaddr, - length, - ); + _objc_msgSend_22(this.pointer, _sel_encodeBytes_length_, byteaddr, length); } NSObject? decodeObject() { - final _ret = _lib._objc_msgSend_17(this.pointer, _lib._sel_decodeObject1); + final _ret = _objc_msgSend_17(this.pointer, _sel_decodeObject); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } NSObject? decodeTopLevelObjectAndReturnError_( - ffi.Pointer> error, - ) { - final _ret = _lib._objc_msgSend_292( - this.pointer, - _lib._sel_decodeTopLevelObjectAndReturnError_1, - error, - ); + ffi.Pointer> error) { + final _ret = _objc_msgSend_292( + this.pointer, _sel_decodeTopLevelObjectAndReturnError_, error); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } void decodeValuesOfObjCTypes_(ffi.Pointer types) { - _lib._objc_msgSend_290( - this.pointer, - _lib._sel_decodeValuesOfObjCTypes_1, - types, - ); + _objc_msgSend_290(this.pointer, _sel_decodeValuesOfObjCTypes_, types); } void decodeArrayOfObjCType_count_at_( - ffi.Pointer itemType, - int count, - ffi.Pointer array, - ) { - _lib._objc_msgSend_291( - this.pointer, - _lib._sel_decodeArrayOfObjCType_count_at_1, - itemType, - count, - array, - ); + ffi.Pointer itemType, int count, ffi.Pointer array) { + _objc_msgSend_291(this.pointer, _sel_decodeArrayOfObjCType_count_at_, + itemType, count, array); } ffi.Pointer decodeBytesWithReturnedLength_( - ffi.Pointer lengthp, - ) { - return _lib._objc_msgSend_293( - this.pointer, - _lib._sel_decodeBytesWithReturnedLength_1, - lengthp, - ); + ffi.Pointer lengthp) { + return _objc_msgSend_293( + this.pointer, _sel_decodeBytesWithReturnedLength_, lengthp); } void encodePropertyList_(NSObject aPropertyList) { - _lib._objc_msgSend_15( - this.pointer, - _lib._sel_encodePropertyList_1, - aPropertyList.pointer, - ); + _objc_msgSend_15( + this.pointer, _sel_encodePropertyList_, aPropertyList.pointer); } NSObject? decodePropertyList() { - final _ret = _lib._objc_msgSend_17( - this.pointer, - _lib._sel_decodePropertyList1, - ); + final _ret = _objc_msgSend_17(this.pointer, _sel_decodePropertyList); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } void setObjectZone_(ffi.Pointer<_NSZone> zone) { - _lib._objc_msgSend_294(this.pointer, _lib._sel_setObjectZone_1, zone); + _objc_msgSend_294(this.pointer, _sel_setObjectZone_, zone); } ffi.Pointer<_NSZone> objectZone() { - return _lib._objc_msgSend_295(this.pointer, _lib._sel_objectZone1); + return _objc_msgSend_295(this.pointer, _sel_objectZone); } int get systemVersion { - return _lib._objc_msgSend_214(this.pointer, _lib._sel_systemVersion1); + return _objc_msgSend_214(this.pointer, _sel_systemVersion); } bool get allowsKeyedCoding { - return _lib._objc_msgSend_12(this.pointer, _lib._sel_allowsKeyedCoding1); + return _objc_msgSend_12(this.pointer, _sel_allowsKeyedCoding); } void encodeObject_forKey_(NSObject? object, NSString key) { - _lib._objc_msgSend_135( - this.pointer, - _lib._sel_encodeObject_forKey_1, - object?.pointer ?? ffi.nullptr, - key.pointer, - ); + _objc_msgSend_135(this.pointer, _sel_encodeObject_forKey_, + object?.pointer ?? ffi.nullptr, key.pointer); } void encodeConditionalObject_forKey_(NSObject? object, NSString key) { - _lib._objc_msgSend_135( - this.pointer, - _lib._sel_encodeConditionalObject_forKey_1, - object?.pointer ?? ffi.nullptr, - key.pointer, - ); + _objc_msgSend_135(this.pointer, _sel_encodeConditionalObject_forKey_, + object?.pointer ?? ffi.nullptr, key.pointer); } void encodeBool_forKey_(bool value, NSString key) { - _lib._objc_msgSend_296( - this.pointer, - _lib._sel_encodeBool_forKey_1, - value, - key.pointer, - ); + _objc_msgSend_296( + this.pointer, _sel_encodeBool_forKey_, value, key.pointer); } void encodeInt_forKey_(int value, NSString key) { - _lib._objc_msgSend_297( - this.pointer, - _lib._sel_encodeInt_forKey_1, - value, - key.pointer, - ); + _objc_msgSend_297(this.pointer, _sel_encodeInt_forKey_, value, key.pointer); } void encodeInt32_forKey_(int value, NSString key) { - _lib._objc_msgSend_298( - this.pointer, - _lib._sel_encodeInt32_forKey_1, - value, - key.pointer, - ); + _objc_msgSend_298( + this.pointer, _sel_encodeInt32_forKey_, value, key.pointer); } void encodeInt64_forKey_(int value, NSString key) { - _lib._objc_msgSend_299( - this.pointer, - _lib._sel_encodeInt64_forKey_1, - value, - key.pointer, - ); + _objc_msgSend_299( + this.pointer, _sel_encodeInt64_forKey_, value, key.pointer); } void encodeFloat_forKey_(double value, NSString key) { - _lib._objc_msgSend_300( - this.pointer, - _lib._sel_encodeFloat_forKey_1, - value, - key.pointer, - ); + _objc_msgSend_300( + this.pointer, _sel_encodeFloat_forKey_, value, key.pointer); } void encodeDouble_forKey_(double value, NSString key) { - _lib._objc_msgSend_301( - this.pointer, - _lib._sel_encodeDouble_forKey_1, - value, - key.pointer, - ); + _objc_msgSend_301( + this.pointer, _sel_encodeDouble_forKey_, value, key.pointer); } void encodeBytes_length_forKey_( - ffi.Pointer bytes, - int length, - NSString key, - ) { - _lib._objc_msgSend_302( - this.pointer, - _lib._sel_encodeBytes_length_forKey_1, - bytes, - length, - key.pointer, - ); + ffi.Pointer bytes, int length, NSString key) { + _objc_msgSend_302(this.pointer, _sel_encodeBytes_length_forKey_, bytes, + length, key.pointer); } bool containsValueForKey_(NSString key) { - return _lib._objc_msgSend_64( - this.pointer, - _lib._sel_containsValueForKey_1, - key.pointer, - ); + return _objc_msgSend_64( + this.pointer, _sel_containsValueForKey_, key.pointer); } NSObject? decodeObjectForKey_(NSString key) { - final _ret = _lib._objc_msgSend_38( - this.pointer, - _lib._sel_decodeObjectForKey_1, - key.pointer, - ); + final _ret = + _objc_msgSend_38(this.pointer, _sel_decodeObjectForKey_, key.pointer); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } NSObject? decodeTopLevelObjectForKey_error_( - NSString key, - ffi.Pointer> error, - ) { - final _ret = _lib._objc_msgSend_303( - this.pointer, - _lib._sel_decodeTopLevelObjectForKey_error_1, - key.pointer, - error, - ); + NSString key, ffi.Pointer> error) { + final _ret = _objc_msgSend_303(this.pointer, + _sel_decodeTopLevelObjectForKey_error_, key.pointer, error); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } bool decodeBoolForKey_(NSString key) { - return _lib._objc_msgSend_64( - this.pointer, - _lib._sel_decodeBoolForKey_1, - key.pointer, - ); + return _objc_msgSend_64(this.pointer, _sel_decodeBoolForKey_, key.pointer); } int decodeIntForKey_(NSString key) { - return _lib._objc_msgSend_304( - this.pointer, - _lib._sel_decodeIntForKey_1, - key.pointer, - ); + return _objc_msgSend_304(this.pointer, _sel_decodeIntForKey_, key.pointer); } int decodeInt32ForKey_(NSString key) { - return _lib._objc_msgSend_305( - this.pointer, - _lib._sel_decodeInt32ForKey_1, - key.pointer, - ); + return _objc_msgSend_305( + this.pointer, _sel_decodeInt32ForKey_, key.pointer); } int decodeInt64ForKey_(NSString key) { - return _lib._objc_msgSend_306( - this.pointer, - _lib._sel_decodeInt64ForKey_1, - key.pointer, - ); + return _objc_msgSend_306( + this.pointer, _sel_decodeInt64ForKey_, key.pointer); } double decodeFloatForKey_(NSString key) { return objc.useMsgSendVariants - ? _lib._objc_msgSend_307_fpret( - this.pointer, - _lib._sel_decodeFloatForKey_1, - key.pointer, - ) - : _lib._objc_msgSend_307( - this.pointer, - _lib._sel_decodeFloatForKey_1, - key.pointer, - ); + ? _objc_msgSend_307Fpret( + this.pointer, _sel_decodeFloatForKey_, key.pointer) + : _objc_msgSend_307(this.pointer, _sel_decodeFloatForKey_, key.pointer); } double decodeDoubleForKey_(NSString key) { return objc.useMsgSendVariants - ? _lib._objc_msgSend_308_fpret( - this.pointer, - _lib._sel_decodeDoubleForKey_1, - key.pointer, - ) - : _lib._objc_msgSend_308( - this.pointer, - _lib._sel_decodeDoubleForKey_1, - key.pointer, - ); + ? _objc_msgSend_308Fpret( + this.pointer, _sel_decodeDoubleForKey_, key.pointer) + : _objc_msgSend_308( + this.pointer, _sel_decodeDoubleForKey_, key.pointer); } ffi.Pointer decodeBytesForKey_returnedLength_( - NSString key, - ffi.Pointer lengthp, - ) { - return _lib._objc_msgSend_309( - this.pointer, - _lib._sel_decodeBytesForKey_returnedLength_1, - key.pointer, - lengthp, - ); + NSString key, ffi.Pointer lengthp) { + return _objc_msgSend_309(this.pointer, + _sel_decodeBytesForKey_returnedLength_, key.pointer, lengthp); } void encodeInteger_forKey_(int value, NSString key) { - _lib._objc_msgSend_310( - this.pointer, - _lib._sel_encodeInteger_forKey_1, - value, - key.pointer, - ); + _objc_msgSend_310( + this.pointer, _sel_encodeInteger_forKey_, value, key.pointer); } int decodeIntegerForKey_(NSString key) { - return _lib._objc_msgSend_288( - this.pointer, - _lib._sel_decodeIntegerForKey_1, - key.pointer, - ); + return _objc_msgSend_288( + this.pointer, _sel_decodeIntegerForKey_, key.pointer); } bool get requiresSecureCoding { - return _lib._objc_msgSend_12(this.pointer, _lib._sel_requiresSecureCoding1); + return _objc_msgSend_12(this.pointer, _sel_requiresSecureCoding); } NSObject? decodeObjectOfClass_forKey_(NSObject aClass, NSString key) { - final _ret = _lib._objc_msgSend_311( - this.pointer, - _lib._sel_decodeObjectOfClass_forKey_1, - aClass.pointer, - key.pointer, - ); + final _ret = _objc_msgSend_311(this.pointer, + _sel_decodeObjectOfClass_forKey_, aClass.pointer, key.pointer); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } - NSObject? decodeTopLevelObjectOfClass_forKey_error_( - NSObject aClass, - NSString key, - ffi.Pointer> error, - ) { - final _ret = _lib._objc_msgSend_312( - this.pointer, - _lib._sel_decodeTopLevelObjectOfClass_forKey_error_1, - aClass.pointer, - key.pointer, - error, - ); + NSObject? decodeTopLevelObjectOfClass_forKey_error_(NSObject aClass, + NSString key, ffi.Pointer> error) { + final _ret = _objc_msgSend_312( + this.pointer, + _sel_decodeTopLevelObjectOfClass_forKey_error_, + aClass.pointer, + key.pointer, + error); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } NSArray? decodeArrayOfObjectsOfClass_forKey_(NSObject cls, NSString key) { - final _ret = _lib._objc_msgSend_313( - this.pointer, - _lib._sel_decodeArrayOfObjectsOfClass_forKey_1, - cls.pointer, - key.pointer, - ); + final _ret = _objc_msgSend_313(this.pointer, + _sel_decodeArrayOfObjectsOfClass_forKey_, cls.pointer, key.pointer); return _ret.address == 0 ? null - : NSArray._(_ret, _lib, retain: true, release: true); + : NSArray._(_ret, retain: true, release: true); } NSDictionary? decodeDictionaryWithKeysOfClass_objectsOfClass_forKey_( - NSObject keyCls, - NSObject objectCls, - NSString key, - ) { - final _ret = _lib._objc_msgSend_314( - this.pointer, - _lib._sel_decodeDictionaryWithKeysOfClass_objectsOfClass_forKey_1, - keyCls.pointer, - objectCls.pointer, - key.pointer, - ); + NSObject keyCls, NSObject objectCls, NSString key) { + final _ret = _objc_msgSend_314( + this.pointer, + _sel_decodeDictionaryWithKeysOfClass_objectsOfClass_forKey_, + keyCls.pointer, + objectCls.pointer, + key.pointer); return _ret.address == 0 ? null - : NSDictionary._(_ret, _lib, retain: true, release: true); + : NSDictionary._(_ret, retain: true, release: true); } NSObject? decodeObjectOfClasses_forKey_(NSSet? classes, NSString key) { - final _ret = _lib._objc_msgSend_315( - this.pointer, - _lib._sel_decodeObjectOfClasses_forKey_1, - classes?.pointer ?? ffi.nullptr, - key.pointer, - ); + final _ret = _objc_msgSend_315( + this.pointer, + _sel_decodeObjectOfClasses_forKey_, + classes?.pointer ?? ffi.nullptr, + key.pointer); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } - NSObject? decodeTopLevelObjectOfClasses_forKey_error_( - NSSet? classes, - NSString key, - ffi.Pointer> error, - ) { - final _ret = _lib._objc_msgSend_316( - this.pointer, - _lib._sel_decodeTopLevelObjectOfClasses_forKey_error_1, - classes?.pointer ?? ffi.nullptr, - key.pointer, - error, - ); + NSObject? decodeTopLevelObjectOfClasses_forKey_error_(NSSet? classes, + NSString key, ffi.Pointer> error) { + final _ret = _objc_msgSend_316( + this.pointer, + _sel_decodeTopLevelObjectOfClasses_forKey_error_, + classes?.pointer ?? ffi.nullptr, + key.pointer, + error); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } NSArray? decodeArrayOfObjectsOfClasses_forKey_(NSSet classes, NSString key) { - final _ret = _lib._objc_msgSend_317( - this.pointer, - _lib._sel_decodeArrayOfObjectsOfClasses_forKey_1, - classes.pointer, - key.pointer, - ); + final _ret = _objc_msgSend_317( + this.pointer, + _sel_decodeArrayOfObjectsOfClasses_forKey_, + classes.pointer, + key.pointer); return _ret.address == 0 ? null - : NSArray._(_ret, _lib, retain: true, release: true); + : NSArray._(_ret, retain: true, release: true); } NSDictionary? decodeDictionaryWithKeysOfClasses_objectsOfClasses_forKey_( - NSSet keyClasses, - NSSet objectClasses, - NSString key, - ) { - final _ret = _lib._objc_msgSend_318( - this.pointer, - _lib._sel_decodeDictionaryWithKeysOfClasses_objectsOfClasses_forKey_1, - keyClasses.pointer, - objectClasses.pointer, - key.pointer, - ); + NSSet keyClasses, NSSet objectClasses, NSString key) { + final _ret = _objc_msgSend_318( + this.pointer, + _sel_decodeDictionaryWithKeysOfClasses_objectsOfClasses_forKey_, + keyClasses.pointer, + objectClasses.pointer, + key.pointer); return _ret.address == 0 ? null - : NSDictionary._(_ret, _lib, retain: true, release: true); + : NSDictionary._(_ret, retain: true, release: true); } NSObject? decodePropertyListForKey_(NSString key) { - final _ret = _lib._objc_msgSend_38( - this.pointer, - _lib._sel_decodePropertyListForKey_1, - key.pointer, - ); + final _ret = _objc_msgSend_38( + this.pointer, _sel_decodePropertyListForKey_, key.pointer); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } NSSet? get allowedClasses { - final _ret = _lib._objc_msgSend_319( - this.pointer, - _lib._sel_allowedClasses1, - ); + final _ret = _objc_msgSend_319(this.pointer, _sel_allowedClasses); return _ret.address == 0 ? null - : NSSet._(_ret, _lib, retain: true, release: true); + : NSSet._(_ret, retain: true, release: true); } void failWithError_(NSError error) { - _lib._objc_msgSend_320( - this.pointer, - _lib._sel_failWithError_1, - error.pointer, - ); + _objc_msgSend_320(this.pointer, _sel_failWithError_, error.pointer); } int get decodingFailurePolicy { - return _lib._objc_msgSend_321( - this.pointer, - _lib._sel_decodingFailurePolicy1, - ); + return _objc_msgSend_321(this.pointer, _sel_decodingFailurePolicy); } NSError? get error { - final _ret = _lib._objc_msgSend_322(this.pointer, _lib._sel_error1); + final _ret = _objc_msgSend_322(this.pointer, _sel_error); return _ret.address == 0 ? null - : NSError._(_ret, _lib, retain: true, release: true); + : NSError._(_ret, retain: true, release: true); } void encodeNXObject_(NSObject object) { - _lib._objc_msgSend_15( - this.pointer, - _lib._sel_encodeNXObject_1, - object.pointer, - ); + _objc_msgSend_15(this.pointer, _sel_encodeNXObject_, object.pointer); } NSObject? decodeNXObject() { - final _ret = _lib._objc_msgSend_17(this.pointer, _lib._sel_decodeNXObject1); + final _ret = _objc_msgSend_17(this.pointer, _sel_decodeNXObject); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } void decodeValueOfObjCType_at_( - ffi.Pointer type, - ffi.Pointer data, - ) { - _lib._objc_msgSend_19( - this.pointer, - _lib._sel_decodeValueOfObjCType_at_1, - type, - data, - ); + ffi.Pointer type, ffi.Pointer data) { + _objc_msgSend_19(this.pointer, _sel_decodeValueOfObjCType_at_, type, data); } void encodePoint_(CGPoint point) { - _lib._objc_msgSend_323(this.pointer, _lib._sel_encodePoint_1, point); + _objc_msgSend_323(this.pointer, _sel_encodePoint_, point); } void decodePoint(ffi.Pointer stret) { objc.useMsgSendVariants - ? _lib._objc_msgSend_59_stret( - stret, - this.pointer, - _lib._sel_decodePoint1, - ) - : stret.ref = _lib._objc_msgSend_59( - this.pointer, - _lib._sel_decodePoint1, - ); + ? _objc_msgSend_59Stret(stret, this.pointer, _sel_decodePoint) + : stret.ref = _objc_msgSend_59(this.pointer, _sel_decodePoint); } void encodeSize_(CGSize size) { - _lib._objc_msgSend_324(this.pointer, _lib._sel_encodeSize_1, size); + _objc_msgSend_324(this.pointer, _sel_encodeSize_, size); } void decodeSize(ffi.Pointer stret) { objc.useMsgSendVariants - ? _lib._objc_msgSend_60_stret( - stret, - this.pointer, - _lib._sel_decodeSize1, - ) - : stret.ref = _lib._objc_msgSend_60( - this.pointer, - _lib._sel_decodeSize1, - ); + ? _objc_msgSend_60Stret(stret, this.pointer, _sel_decodeSize) + : stret.ref = _objc_msgSend_60(this.pointer, _sel_decodeSize); } void encodeRect_(CGRect rect) { - _lib._objc_msgSend_325(this.pointer, _lib._sel_encodeRect_1, rect); + _objc_msgSend_325(this.pointer, _sel_encodeRect_, rect); } void decodeRect(ffi.Pointer stret) { objc.useMsgSendVariants - ? _lib._objc_msgSend_61_stret( - stret, - this.pointer, - _lib._sel_decodeRect1, - ) - : stret.ref = _lib._objc_msgSend_61( - this.pointer, - _lib._sel_decodeRect1, - ); + ? _objc_msgSend_61Stret(stret, this.pointer, _sel_decodeRect) + : stret.ref = _objc_msgSend_61(this.pointer, _sel_decodeRect); } void encodePoint_forKey_(CGPoint point, NSString key) { - _lib._objc_msgSend_326( - this.pointer, - _lib._sel_encodePoint_forKey_1, - point, - key.pointer, - ); + _objc_msgSend_326( + this.pointer, _sel_encodePoint_forKey_, point, key.pointer); } void encodeSize_forKey_(CGSize size, NSString key) { - _lib._objc_msgSend_327( - this.pointer, - _lib._sel_encodeSize_forKey_1, - size, - key.pointer, - ); + _objc_msgSend_327(this.pointer, _sel_encodeSize_forKey_, size, key.pointer); } void encodeRect_forKey_(CGRect rect, NSString key) { - _lib._objc_msgSend_328( - this.pointer, - _lib._sel_encodeRect_forKey_1, - rect, - key.pointer, - ); + _objc_msgSend_328(this.pointer, _sel_encodeRect_forKey_, rect, key.pointer); } void decodePointForKey_(ffi.Pointer stret, NSString key) { objc.useMsgSendVariants - ? _lib._objc_msgSend_329_stret( - stret, - this.pointer, - _lib._sel_decodePointForKey_1, - key.pointer, - ) - : stret.ref = _lib._objc_msgSend_329( - this.pointer, - _lib._sel_decodePointForKey_1, - key.pointer, - ); + ? _objc_msgSend_329Stret( + stret, this.pointer, _sel_decodePointForKey_, key.pointer) + : stret.ref = _objc_msgSend_329( + this.pointer, _sel_decodePointForKey_, key.pointer); } void decodeSizeForKey_(ffi.Pointer stret, NSString key) { objc.useMsgSendVariants - ? _lib._objc_msgSend_330_stret( - stret, - this.pointer, - _lib._sel_decodeSizeForKey_1, - key.pointer, - ) - : stret.ref = _lib._objc_msgSend_330( - this.pointer, - _lib._sel_decodeSizeForKey_1, - key.pointer, - ); + ? _objc_msgSend_330Stret( + stret, this.pointer, _sel_decodeSizeForKey_, key.pointer) + : stret.ref = _objc_msgSend_330( + this.pointer, _sel_decodeSizeForKey_, key.pointer); } void decodeRectForKey_(ffi.Pointer stret, NSString key) { objc.useMsgSendVariants - ? _lib._objc_msgSend_331_stret( - stret, - this.pointer, - _lib._sel_decodeRectForKey_1, - key.pointer, - ) - : stret.ref = _lib._objc_msgSend_331( - this.pointer, - _lib._sel_decodeRectForKey_1, - key.pointer, - ); + ? _objc_msgSend_331Stret( + stret, this.pointer, _sel_decodeRectForKey_, key.pointer) + : stret.ref = _objc_msgSend_331( + this.pointer, _sel_decodeRectForKey_, key.pointer); } @override NSCoder init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSCoder._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSCoder._(_ret, retain: true, release: true); } - static NSCoder new1(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2(_lib._class_NSCoder1, _lib._sel_new1); - return NSCoder._(_ret, _lib, retain: false, release: true); + static NSCoder new1() { + final _ret = _objc_msgSend_2(_class_NSCoder, _sel_new); + return NSCoder._(_ret, retain: false, release: true); } - static NSCoder allocWithZone_(SwiftLibrary _lib, ffi.Pointer<_NSZone> zone) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSCoder1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSCoder._(_ret, _lib, retain: false, release: true); + static NSCoder allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = _objc_msgSend_3(_class_NSCoder, _sel_allocWithZone_, zone); + return NSCoder._(_ret, retain: false, release: true); } - static NSCoder alloc(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2(_lib._class_NSCoder1, _lib._sel_alloc1); - return NSCoder._(_ret, _lib, retain: false, release: true); + static NSCoder alloc() { + final _ret = _objc_msgSend_2(_class_NSCoder, _sel_alloc); + return NSCoder._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSCoder1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSCoder1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSCoder1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSCoder1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSCoder1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSCoder1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSCoder, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); } - static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSCoder1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSCoder1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSCoder1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSCoder, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); } -} + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSCoder, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSCoder, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSCoder, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSCoder, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); + } + + static void setKeys_triggerChangeNotificationsForDependentKey_( + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSCoder, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = + _objc_msgSend_85(_class_NSCoder, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = _objc_msgSend_2(_class_NSCoder, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); + } +} + +late final _class_NSCoder = objc.getClass("NSCoder"); +late final _sel_encodeValueOfObjCType_at_ = + objc.registerName("encodeValueOfObjCType:at:"); +final _objc_msgSend_19 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer type, + ffi.Pointer addr)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); class NSData extends NSObject { - NSData._( - ffi.Pointer pointer, - SwiftLibrary lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSData._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSData] that points to the same underlying object as [other]. - static NSData castFrom( - SwiftLibrary lib, - T other, - ) { - return NSData._(other.pointer, lib, retain: true, release: true); + static NSData castFrom(T other) { + return NSData._(other.pointer, retain: true, release: true); } /// Returns a [NSData] that wraps the given raw object pointer. - static NSData castFromPointer( - SwiftLibrary lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSData._(other, lib, retain: retain, release: release); + static NSData castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSData._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSData]. - static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSData1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0(obj.pointer, _sel_isKindOfClass_, _class_NSData); } int get length { - return _lib._objc_msgSend_10(this.pointer, _lib._sel_length1); + return _objc_msgSend_10(this.pointer, _sel_length); } ffi.Pointer get bytes { - return _lib._objc_msgSend_20(this.pointer, _lib._sel_bytes1); + return _objc_msgSend_20(this.pointer, _sel_bytes); } NSString get description { - final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_description1); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_description); + return NSString._(_ret, retain: true, release: true); } void getBytes_length_(ffi.Pointer buffer, int length) { - _lib._objc_msgSend_22( - this.pointer, - _lib._sel_getBytes_length_1, - buffer, - length, - ); + _objc_msgSend_22(this.pointer, _sel_getBytes_length_, buffer, length); } void getBytes_range_(ffi.Pointer buffer, _NSRange range) { - _lib._objc_msgSend_23( - this.pointer, - _lib._sel_getBytes_range_1, - buffer, - range, - ); + _objc_msgSend_23(this.pointer, _sel_getBytes_range_, buffer, range); } bool isEqualToData_(NSData other) { - return _lib._objc_msgSend_24( - this.pointer, - _lib._sel_isEqualToData_1, - other.pointer, - ); + return _objc_msgSend_24(this.pointer, _sel_isEqualToData_, other.pointer); } NSData subdataWithRange_(_NSRange range) { - final _ret = _lib._objc_msgSend_25( - this.pointer, - _lib._sel_subdataWithRange_1, - range, - ); - return NSData._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_25(this.pointer, _sel_subdataWithRange_, range); + return NSData._(_ret, retain: true, release: true); } bool writeToFile_atomically_(NSString path, bool useAuxiliaryFile) { - return _lib._objc_msgSend_26( - this.pointer, - _lib._sel_writeToFile_atomically_1, - path.pointer, - useAuxiliaryFile, - ); + return _objc_msgSend_26(this.pointer, _sel_writeToFile_atomically_, + path.pointer, useAuxiliaryFile); } bool writeToURL_atomically_(NSURL url, bool atomically) { - return _lib._objc_msgSend_134( - this.pointer, - _lib._sel_writeToURL_atomically_1, - url.pointer, - atomically, - ); - } - - bool writeToFile_options_error_( - NSString path, - int writeOptionsMask, - ffi.Pointer> errorPtr, - ) { - return _lib._objc_msgSend_269( - this.pointer, - _lib._sel_writeToFile_options_error_1, - path.pointer, - writeOptionsMask, - errorPtr, - ); - } - - bool writeToURL_options_error_( - NSURL url, - int writeOptionsMask, - ffi.Pointer> errorPtr, - ) { - return _lib._objc_msgSend_270( - this.pointer, - _lib._sel_writeToURL_options_error_1, - url.pointer, - writeOptionsMask, - errorPtr, - ); - } - - void rangeOfData_options_range_( - ffi.Pointer<_NSRange> stret, - NSData dataToFind, - int mask, - _NSRange searchRange, - ) { + return _objc_msgSend_134( + this.pointer, _sel_writeToURL_atomically_, url.pointer, atomically); + } + + bool writeToFile_options_error_(NSString path, int writeOptionsMask, + ffi.Pointer> errorPtr) { + return _objc_msgSend_269(this.pointer, _sel_writeToFile_options_error_, + path.pointer, writeOptionsMask, errorPtr); + } + + bool writeToURL_options_error_(NSURL url, int writeOptionsMask, + ffi.Pointer> errorPtr) { + return _objc_msgSend_270(this.pointer, _sel_writeToURL_options_error_, + url.pointer, writeOptionsMask, errorPtr); + } + + void rangeOfData_options_range_(ffi.Pointer<_NSRange> stret, + NSData dataToFind, int mask, _NSRange searchRange) { objc.useMsgSendVariants - ? _lib._objc_msgSend_271_stret( + ? _objc_msgSend_271Stret( stret, this.pointer, - _lib._sel_rangeOfData_options_range_1, + _sel_rangeOfData_options_range_, dataToFind.pointer, mask, - searchRange, - ) - : stret.ref = _lib._objc_msgSend_271( + searchRange) + : stret.ref = _objc_msgSend_271( this.pointer, - _lib._sel_rangeOfData_options_range_1, + _sel_rangeOfData_options_range_, dataToFind.pointer, mask, - searchRange, - ); + searchRange); } void enumerateByteRangesUsingBlock_( - ObjCBlock_ffiVoid_ffiVoid_NSRange_bool block, - ) { - _lib._objc_msgSend_272( - this.pointer, - _lib._sel_enumerateByteRangesUsingBlock_1, - block.pointer, - ); - } - - static NSData data(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2(_lib._class_NSData1, _lib._sel_data1); - return NSData._(_ret, _lib, retain: true, release: true); - } - - static NSData dataWithBytes_length_( - SwiftLibrary _lib, - ffi.Pointer bytes, - int length, - ) { - final _ret = _lib._objc_msgSend_273( - _lib._class_NSData1, - _lib._sel_dataWithBytes_length_1, - bytes, - length, - ); - return NSData._(_ret, _lib, retain: true, release: true); + ObjCBlock_ffiVoid_ffiVoid_NSRange_bool block) { + _objc_msgSend_272( + this.pointer, _sel_enumerateByteRangesUsingBlock_, block.pointer); + } + + static NSData data() { + final _ret = _objc_msgSend_2(_class_NSData, _sel_data); + return NSData._(_ret, retain: true, release: true); + } + + static NSData dataWithBytes_length_(ffi.Pointer bytes, int length) { + final _ret = _objc_msgSend_273( + _class_NSData, _sel_dataWithBytes_length_, bytes, length); + return NSData._(_ret, retain: true, release: true); } static NSData dataWithBytesNoCopy_length_( - SwiftLibrary _lib, - ffi.Pointer bytes, - int length, - ) { - final _ret = _lib._objc_msgSend_273( - _lib._class_NSData1, - _lib._sel_dataWithBytesNoCopy_length_1, - bytes, - length, - ); - return NSData._(_ret, _lib, retain: false, release: true); + ffi.Pointer bytes, int length) { + final _ret = _objc_msgSend_273( + _class_NSData, _sel_dataWithBytesNoCopy_length_, bytes, length); + return NSData._(_ret, retain: false, release: true); } static NSData dataWithBytesNoCopy_length_freeWhenDone_( - SwiftLibrary _lib, - ffi.Pointer bytes, - int length, - bool b, - ) { - final _ret = _lib._objc_msgSend_274( - _lib._class_NSData1, - _lib._sel_dataWithBytesNoCopy_length_freeWhenDone_1, - bytes, - length, - b, - ); - return NSData._(_ret, _lib, retain: false, release: true); + ffi.Pointer bytes, int length, bool b) { + final _ret = _objc_msgSend_274(_class_NSData, + _sel_dataWithBytesNoCopy_length_freeWhenDone_, bytes, length, b); + return NSData._(_ret, retain: false, release: true); } - static NSData? dataWithContentsOfFile_options_error_( - SwiftLibrary _lib, - NSString path, - int readOptionsMask, - ffi.Pointer> errorPtr, - ) { - final _ret = _lib._objc_msgSend_275( - _lib._class_NSData1, - _lib._sel_dataWithContentsOfFile_options_error_1, - path.pointer, - readOptionsMask, - errorPtr, - ); + static NSData? dataWithContentsOfFile_options_error_(NSString path, + int readOptionsMask, ffi.Pointer> errorPtr) { + final _ret = _objc_msgSend_275( + _class_NSData, + _sel_dataWithContentsOfFile_options_error_, + path.pointer, + readOptionsMask, + errorPtr); return _ret.address == 0 ? null - : NSData._(_ret, _lib, retain: true, release: true); + : NSData._(_ret, retain: true, release: true); } - static NSData? dataWithContentsOfURL_options_error_( - SwiftLibrary _lib, - NSURL url, - int readOptionsMask, - ffi.Pointer> errorPtr, - ) { - final _ret = _lib._objc_msgSend_276( - _lib._class_NSData1, - _lib._sel_dataWithContentsOfURL_options_error_1, - url.pointer, - readOptionsMask, - errorPtr, - ); + static NSData? dataWithContentsOfURL_options_error_(NSURL url, + int readOptionsMask, ffi.Pointer> errorPtr) { + final _ret = _objc_msgSend_276( + _class_NSData, + _sel_dataWithContentsOfURL_options_error_, + url.pointer, + readOptionsMask, + errorPtr); return _ret.address == 0 ? null - : NSData._(_ret, _lib, retain: true, release: true); + : NSData._(_ret, retain: true, release: true); } - static NSData? dataWithContentsOfFile_(SwiftLibrary _lib, NSString path) { - final _ret = _lib._objc_msgSend_38( - _lib._class_NSData1, - _lib._sel_dataWithContentsOfFile_1, - path.pointer, - ); + static NSData? dataWithContentsOfFile_(NSString path) { + final _ret = _objc_msgSend_38( + _class_NSData, _sel_dataWithContentsOfFile_, path.pointer); return _ret.address == 0 ? null - : NSData._(_ret, _lib, retain: true, release: true); + : NSData._(_ret, retain: true, release: true); } - static NSData? dataWithContentsOfURL_(SwiftLibrary _lib, NSURL url) { - final _ret = _lib._objc_msgSend_277( - _lib._class_NSData1, - _lib._sel_dataWithContentsOfURL_1, - url.pointer, - ); + static NSData? dataWithContentsOfURL_(NSURL url) { + final _ret = _objc_msgSend_277( + _class_NSData, _sel_dataWithContentsOfURL_, url.pointer); return _ret.address == 0 ? null - : NSData._(_ret, _lib, retain: true, release: true); + : NSData._(_ret, retain: true, release: true); } NSData initWithBytes_length_(ffi.Pointer bytes, int length) { - final _ret = _lib._objc_msgSend_273( - this.pointer, - _lib._sel_initWithBytes_length_1, - bytes, - length, - ); - return NSData._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_273( + this.pointer, _sel_initWithBytes_length_, bytes, length); + return NSData._(_ret, retain: true, release: true); } NSData initWithBytesNoCopy_length_(ffi.Pointer bytes, int length) { - final _ret = _lib._objc_msgSend_273( - this.pointer, - _lib._sel_initWithBytesNoCopy_length_1, - bytes, - length, - ); - return NSData._(_ret, _lib, retain: false, release: true); + final _ret = _objc_msgSend_273( + this.pointer, _sel_initWithBytesNoCopy_length_, bytes, length); + return NSData._(_ret, retain: false, release: true); } NSData initWithBytesNoCopy_length_freeWhenDone_( - ffi.Pointer bytes, - int length, - bool b, - ) { - final _ret = _lib._objc_msgSend_274( - this.pointer, - _lib._sel_initWithBytesNoCopy_length_freeWhenDone_1, - bytes, - length, - b, - ); - return NSData._(_ret, _lib, retain: false, release: true); - } - - NSData initWithBytesNoCopy_length_deallocator_( - ffi.Pointer bytes, - int length, - ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong? deallocator, - ) { - final _ret = _lib._objc_msgSend_278( - this.pointer, - _lib._sel_initWithBytesNoCopy_length_deallocator_1, - bytes, - length, - deallocator?.pointer ?? ffi.nullptr, - ); - return NSData._(_ret, _lib, retain: false, release: true); - } - - NSData? initWithContentsOfFile_options_error_( - NSString path, - int readOptionsMask, - ffi.Pointer> errorPtr, - ) { - final _ret = _lib._objc_msgSend_275( - this.pointer, - _lib._sel_initWithContentsOfFile_options_error_1, - path.pointer, - readOptionsMask, - errorPtr, - ); - return _ret.address == 0 - ? null - : NSData._(_ret, _lib, retain: true, release: true); - } - - NSData? initWithContentsOfURL_options_error_( - NSURL url, - int readOptionsMask, - ffi.Pointer> errorPtr, - ) { - final _ret = _lib._objc_msgSend_276( - this.pointer, - _lib._sel_initWithContentsOfURL_options_error_1, - url.pointer, - readOptionsMask, - errorPtr, - ); - return _ret.address == 0 - ? null - : NSData._(_ret, _lib, retain: true, release: true); + ffi.Pointer bytes, int length, bool b) { + final _ret = _objc_msgSend_274(this.pointer, + _sel_initWithBytesNoCopy_length_freeWhenDone_, bytes, length, b); + return NSData._(_ret, retain: false, release: true); + } + + NSData initWithBytesNoCopy_length_deallocator_(ffi.Pointer bytes, + int length, ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong? deallocator) { + final _ret = _objc_msgSend_278( + this.pointer, + _sel_initWithBytesNoCopy_length_deallocator_, + bytes, + length, + deallocator?.pointer ?? ffi.nullptr); + return NSData._(_ret, retain: false, release: true); + } + + NSData? initWithContentsOfFile_options_error_(NSString path, + int readOptionsMask, ffi.Pointer> errorPtr) { + final _ret = _objc_msgSend_275( + this.pointer, + _sel_initWithContentsOfFile_options_error_, + path.pointer, + readOptionsMask, + errorPtr); + return _ret.address == 0 + ? null + : NSData._(_ret, retain: true, release: true); + } + + NSData? initWithContentsOfURL_options_error_(NSURL url, int readOptionsMask, + ffi.Pointer> errorPtr) { + final _ret = _objc_msgSend_276( + this.pointer, + _sel_initWithContentsOfURL_options_error_, + url.pointer, + readOptionsMask, + errorPtr); + return _ret.address == 0 + ? null + : NSData._(_ret, retain: true, release: true); } NSData? initWithContentsOfFile_(NSString path) { - final _ret = _lib._objc_msgSend_38( - this.pointer, - _lib._sel_initWithContentsOfFile_1, - path.pointer, - ); + final _ret = _objc_msgSend_38( + this.pointer, _sel_initWithContentsOfFile_, path.pointer); return _ret.address == 0 ? null - : NSData._(_ret, _lib, retain: true, release: true); + : NSData._(_ret, retain: true, release: true); } NSData? initWithContentsOfURL_(NSURL url) { - final _ret = _lib._objc_msgSend_277( - this.pointer, - _lib._sel_initWithContentsOfURL_1, - url.pointer, - ); + final _ret = _objc_msgSend_277( + this.pointer, _sel_initWithContentsOfURL_, url.pointer); return _ret.address == 0 ? null - : NSData._(_ret, _lib, retain: true, release: true); + : NSData._(_ret, retain: true, release: true); } NSData initWithData_(NSData data) { - final _ret = _lib._objc_msgSend_279( - this.pointer, - _lib._sel_initWithData_1, - data.pointer, - ); - return NSData._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_279(this.pointer, _sel_initWithData_, data.pointer); + return NSData._(_ret, retain: true, release: true); } - static NSData dataWithData_(SwiftLibrary _lib, NSData data) { - final _ret = _lib._objc_msgSend_279( - _lib._class_NSData1, - _lib._sel_dataWithData_1, - data.pointer, - ); - return NSData._(_ret, _lib, retain: true, release: true); + static NSData dataWithData_(NSData data) { + final _ret = + _objc_msgSend_279(_class_NSData, _sel_dataWithData_, data.pointer); + return NSData._(_ret, retain: true, release: true); } NSData? initWithBase64EncodedString_options_( - NSString base64String, - int options, - ) { - final _ret = _lib._objc_msgSend_280( - this.pointer, - _lib._sel_initWithBase64EncodedString_options_1, - base64String.pointer, - options, - ); + NSString base64String, int options) { + final _ret = _objc_msgSend_280( + this.pointer, + _sel_initWithBase64EncodedString_options_, + base64String.pointer, + options); return _ret.address == 0 ? null - : NSData._(_ret, _lib, retain: true, release: true); + : NSData._(_ret, retain: true, release: true); } NSString base64EncodedStringWithOptions_(int options) { - final _ret = _lib._objc_msgSend_281( - this.pointer, - _lib._sel_base64EncodedStringWithOptions_1, - options, - ); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_281( + this.pointer, _sel_base64EncodedStringWithOptions_, options); + return NSString._(_ret, retain: true, release: true); } NSData? initWithBase64EncodedData_options_(NSData base64Data, int options) { - final _ret = _lib._objc_msgSend_282( - this.pointer, - _lib._sel_initWithBase64EncodedData_options_1, - base64Data.pointer, - options, - ); + final _ret = _objc_msgSend_282(this.pointer, + _sel_initWithBase64EncodedData_options_, base64Data.pointer, options); return _ret.address == 0 ? null - : NSData._(_ret, _lib, retain: true, release: true); + : NSData._(_ret, retain: true, release: true); } NSData base64EncodedDataWithOptions_(int options) { - final _ret = _lib._objc_msgSend_283( - this.pointer, - _lib._sel_base64EncodedDataWithOptions_1, - options, - ); - return NSData._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_283( + this.pointer, _sel_base64EncodedDataWithOptions_, options); + return NSData._(_ret, retain: true, release: true); } NSData? decompressedDataUsingAlgorithm_error_( - int algorithm, - ffi.Pointer> error, - ) { - final _ret = _lib._objc_msgSend_284( - this.pointer, - _lib._sel_decompressedDataUsingAlgorithm_error_1, - algorithm, - error, - ); + int algorithm, ffi.Pointer> error) { + final _ret = _objc_msgSend_284(this.pointer, + _sel_decompressedDataUsingAlgorithm_error_, algorithm, error); return _ret.address == 0 ? null - : NSData._(_ret, _lib, retain: true, release: true); + : NSData._(_ret, retain: true, release: true); } NSData? compressedDataUsingAlgorithm_error_( - int algorithm, - ffi.Pointer> error, - ) { - final _ret = _lib._objc_msgSend_284( - this.pointer, - _lib._sel_compressedDataUsingAlgorithm_error_1, - algorithm, - error, - ); + int algorithm, ffi.Pointer> error) { + final _ret = _objc_msgSend_284(this.pointer, + _sel_compressedDataUsingAlgorithm_error_, algorithm, error); return _ret.address == 0 ? null - : NSData._(_ret, _lib, retain: true, release: true); + : NSData._(_ret, retain: true, release: true); } void getBytes_(ffi.Pointer buffer) { - _lib._objc_msgSend_52(this.pointer, _lib._sel_getBytes_1, buffer); + _objc_msgSend_52(this.pointer, _sel_getBytes_, buffer); } - static NSObject? dataWithContentsOfMappedFile_( - SwiftLibrary _lib, - NSString path, - ) { - final _ret = _lib._objc_msgSend_38( - _lib._class_NSData1, - _lib._sel_dataWithContentsOfMappedFile_1, - path.pointer, - ); + static NSObject? dataWithContentsOfMappedFile_(NSString path) { + final _ret = _objc_msgSend_38( + _class_NSData, _sel_dataWithContentsOfMappedFile_, path.pointer); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } NSObject? initWithContentsOfMappedFile_(NSString path) { - final _ret = _lib._objc_msgSend_38( - this.pointer, - _lib._sel_initWithContentsOfMappedFile_1, - path.pointer, - ); + final _ret = _objc_msgSend_38( + this.pointer, _sel_initWithContentsOfMappedFile_, path.pointer); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } NSObject? initWithBase64Encoding_(NSString base64String) { - final _ret = _lib._objc_msgSend_38( - this.pointer, - _lib._sel_initWithBase64Encoding_1, - base64String.pointer, - ); + final _ret = _objc_msgSend_38( + this.pointer, _sel_initWithBase64Encoding_, base64String.pointer); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } NSString base64Encoding() { - final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_base64Encoding1); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_base64Encoding); + return NSString._(_ret, retain: true, release: true); } @override NSData init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSData._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSData._(_ret, retain: true, release: true); } - static NSData new1(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2(_lib._class_NSData1, _lib._sel_new1); - return NSData._(_ret, _lib, retain: false, release: true); + static NSData new1() { + final _ret = _objc_msgSend_2(_class_NSData, _sel_new); + return NSData._(_ret, retain: false, release: true); } - static NSData allocWithZone_(SwiftLibrary _lib, ffi.Pointer<_NSZone> zone) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSData1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSData._(_ret, _lib, retain: false, release: true); + static NSData allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = _objc_msgSend_3(_class_NSData, _sel_allocWithZone_, zone); + return NSData._(_ret, retain: false, release: true); } - static NSData alloc(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2(_lib._class_NSData1, _lib._sel_alloc1); - return NSData._(_ret, _lib, retain: false, release: true); + static NSData alloc() { + final _ret = _objc_msgSend_2(_class_NSData, _sel_alloc); + return NSData._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSData1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSData1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSData1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSData1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSData1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSData1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSData, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); } - static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSData1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSData1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSData1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSData, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); + } + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSData, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSData, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSData, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64( + _class_NSData, _sel_automaticallyNotifiesObserversForKey_, key.pointer); } -} + + static void setKeys_triggerChangeNotificationsForDependentKey_( + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSData, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = + _objc_msgSend_85(_class_NSData, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = _objc_msgSend_2(_class_NSData, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); + } +} + +late final _class_NSData = objc.getClass("NSData"); +late final _sel_bytes = objc.registerName("bytes"); +final _objc_msgSend_20 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function(ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_description = objc.registerName("description"); +final _objc_msgSend_21 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_getBytes_length_ = objc.registerName("getBytes:length:"); +final _objc_msgSend_22 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer buffer, + ffi.UnsignedLong length)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer, int)>(); final class _NSRange extends ffi.Struct { @ffi.UnsignedLong() @@ -40990,2064 +4441,1903 @@ final class _NSRange extends ffi.Struct { external int length; } +late final _sel_getBytes_range_ = objc.registerName("getBytes:range:"); +final _objc_msgSend_23 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer buffer, + _NSRange range)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer, _NSRange)>(); +late final _sel_isEqualToData_ = objc.registerName("isEqualToData:"); +final _objc_msgSend_24 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer other)>>() + .asFunction< + bool Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_subdataWithRange_ = objc.registerName("subdataWithRange:"); +final _objc_msgSend_25 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + _NSRange range)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, _NSRange)>(); +late final _sel_writeToFile_atomically_ = + objc.registerName("writeToFile:atomically:"); +final _objc_msgSend_26 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer path, + ffi.Bool useAuxiliaryFile)>>() + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool)>(); + class NSURL extends NSObject { - NSURL._( - ffi.Pointer pointer, - SwiftLibrary lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSURL._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSURL] that points to the same underlying object as [other]. - static NSURL castFrom( - SwiftLibrary lib, - T other, - ) { - return NSURL._(other.pointer, lib, retain: true, release: true); + static NSURL castFrom(T other) { + return NSURL._(other.pointer, retain: true, release: true); } /// Returns a [NSURL] that wraps the given raw object pointer. - static NSURL castFromPointer( - SwiftLibrary lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSURL._(other, lib, retain: retain, release: release); + static NSURL castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSURL._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSURL]. - static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSURL1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0(obj.pointer, _sel_isKindOfClass_, _class_NSURL); } NSURL? initWithScheme_host_path_( - NSString scheme, - NSString? host, - NSString path, - ) { - final _ret = _lib._objc_msgSend_27( - this.pointer, - _lib._sel_initWithScheme_host_path_1, - scheme.pointer, - host?.pointer ?? ffi.nullptr, - path.pointer, - ); + NSString scheme, NSString? host, NSString path) { + final _ret = _objc_msgSend_27(this.pointer, _sel_initWithScheme_host_path_, + scheme.pointer, host?.pointer ?? ffi.nullptr, path.pointer); return _ret.address == 0 ? null - : NSURL._(_ret, _lib, retain: true, release: true); + : NSURL._(_ret, retain: true, release: true); } NSURL initFileURLWithPath_isDirectory_relativeToURL_( - NSString path, - bool isDir, - NSURL? baseURL, - ) { - final _ret = _lib._objc_msgSend_28( - this.pointer, - _lib._sel_initFileURLWithPath_isDirectory_relativeToURL_1, - path.pointer, - isDir, - baseURL?.pointer ?? ffi.nullptr, - ); - return NSURL._(_ret, _lib, retain: true, release: true); + NSString path, bool isDir, NSURL? baseURL) { + final _ret = _objc_msgSend_28( + this.pointer, + _sel_initFileURLWithPath_isDirectory_relativeToURL_, + path.pointer, + isDir, + baseURL?.pointer ?? ffi.nullptr); + return NSURL._(_ret, retain: true, release: true); } NSURL initFileURLWithPath_relativeToURL_(NSString path, NSURL? baseURL) { - final _ret = _lib._objc_msgSend_29( - this.pointer, - _lib._sel_initFileURLWithPath_relativeToURL_1, - path.pointer, - baseURL?.pointer ?? ffi.nullptr, - ); - return NSURL._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_29( + this.pointer, + _sel_initFileURLWithPath_relativeToURL_, + path.pointer, + baseURL?.pointer ?? ffi.nullptr); + return NSURL._(_ret, retain: true, release: true); } NSURL initFileURLWithPath_isDirectory_(NSString path, bool isDir) { - final _ret = _lib._objc_msgSend_30( - this.pointer, - _lib._sel_initFileURLWithPath_isDirectory_1, - path.pointer, - isDir, - ); - return NSURL._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_30(this.pointer, + _sel_initFileURLWithPath_isDirectory_, path.pointer, isDir); + return NSURL._(_ret, retain: true, release: true); } NSURL initFileURLWithPath_(NSString path) { - final _ret = _lib._objc_msgSend_31( - this.pointer, - _lib._sel_initFileURLWithPath_1, - path.pointer, - ); - return NSURL._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_31(this.pointer, _sel_initFileURLWithPath_, path.pointer); + return NSURL._(_ret, retain: true, release: true); } static NSURL fileURLWithPath_isDirectory_relativeToURL_( - SwiftLibrary _lib, - NSString path, - bool isDir, - NSURL? baseURL, - ) { - final _ret = _lib._objc_msgSend_32( - _lib._class_NSURL1, - _lib._sel_fileURLWithPath_isDirectory_relativeToURL_1, - path.pointer, - isDir, - baseURL?.pointer ?? ffi.nullptr, - ); - return NSURL._(_ret, _lib, retain: true, release: true); - } - - static NSURL fileURLWithPath_relativeToURL_( - SwiftLibrary _lib, - NSString path, - NSURL? baseURL, - ) { - final _ret = _lib._objc_msgSend_33( - _lib._class_NSURL1, - _lib._sel_fileURLWithPath_relativeToURL_1, - path.pointer, - baseURL?.pointer ?? ffi.nullptr, - ); - return NSURL._(_ret, _lib, retain: true, release: true); - } - - static NSURL fileURLWithPath_isDirectory_( - SwiftLibrary _lib, - NSString path, - bool isDir, - ) { - final _ret = _lib._objc_msgSend_34( - _lib._class_NSURL1, - _lib._sel_fileURLWithPath_isDirectory_1, - path.pointer, - isDir, - ); - return NSURL._(_ret, _lib, retain: true, release: true); - } - - static NSURL fileURLWithPath_(SwiftLibrary _lib, NSString path) { - final _ret = _lib._objc_msgSend_35( - _lib._class_NSURL1, - _lib._sel_fileURLWithPath_1, - path.pointer, - ); - return NSURL._(_ret, _lib, retain: true, release: true); + NSString path, bool isDir, NSURL? baseURL) { + final _ret = _objc_msgSend_32( + _class_NSURL, + _sel_fileURLWithPath_isDirectory_relativeToURL_, + path.pointer, + isDir, + baseURL?.pointer ?? ffi.nullptr); + return NSURL._(_ret, retain: true, release: true); + } + + static NSURL fileURLWithPath_relativeToURL_(NSString path, NSURL? baseURL) { + final _ret = _objc_msgSend_33( + _class_NSURL, + _sel_fileURLWithPath_relativeToURL_, + path.pointer, + baseURL?.pointer ?? ffi.nullptr); + return NSURL._(_ret, retain: true, release: true); + } + + static NSURL fileURLWithPath_isDirectory_(NSString path, bool isDir) { + final _ret = _objc_msgSend_34( + _class_NSURL, _sel_fileURLWithPath_isDirectory_, path.pointer, isDir); + return NSURL._(_ret, retain: true, release: true); + } + + static NSURL fileURLWithPath_(NSString path) { + final _ret = + _objc_msgSend_35(_class_NSURL, _sel_fileURLWithPath_, path.pointer); + return NSURL._(_ret, retain: true, release: true); } NSURL initFileURLWithFileSystemRepresentation_isDirectory_relativeToURL_( - ffi.Pointer path, - bool isDir, - NSURL? baseURL, - ) { - final _ret = _lib._objc_msgSend_36( - this.pointer, - _lib._sel_initFileURLWithFileSystemRepresentation_isDirectory_relativeToURL_1, - path, - isDir, - baseURL?.pointer ?? ffi.nullptr, - ); - return NSURL._(_ret, _lib, retain: true, release: true); + ffi.Pointer path, bool isDir, NSURL? baseURL) { + final _ret = _objc_msgSend_36( + this.pointer, + _sel_initFileURLWithFileSystemRepresentation_isDirectory_relativeToURL_, + path, + isDir, + baseURL?.pointer ?? ffi.nullptr); + return NSURL._(_ret, retain: true, release: true); } static NSURL fileURLWithFileSystemRepresentation_isDirectory_relativeToURL_( - SwiftLibrary _lib, - ffi.Pointer path, - bool isDir, - NSURL? baseURL, - ) { - final _ret = _lib._objc_msgSend_37( - _lib._class_NSURL1, - _lib._sel_fileURLWithFileSystemRepresentation_isDirectory_relativeToURL_1, - path, - isDir, - baseURL?.pointer ?? ffi.nullptr, - ); - return NSURL._(_ret, _lib, retain: true, release: true); + ffi.Pointer path, bool isDir, NSURL? baseURL) { + final _ret = _objc_msgSend_37( + _class_NSURL, + _sel_fileURLWithFileSystemRepresentation_isDirectory_relativeToURL_, + path, + isDir, + baseURL?.pointer ?? ffi.nullptr); + return NSURL._(_ret, retain: true, release: true); } NSURL? initWithString_(NSString URLString) { - final _ret = _lib._objc_msgSend_38( - this.pointer, - _lib._sel_initWithString_1, - URLString.pointer, - ); + final _ret = + _objc_msgSend_38(this.pointer, _sel_initWithString_, URLString.pointer); return _ret.address == 0 ? null - : NSURL._(_ret, _lib, retain: true, release: true); + : NSURL._(_ret, retain: true, release: true); } NSURL? initWithString_relativeToURL_(NSString URLString, NSURL? baseURL) { - final _ret = _lib._objc_msgSend_39( - this.pointer, - _lib._sel_initWithString_relativeToURL_1, - URLString.pointer, - baseURL?.pointer ?? ffi.nullptr, - ); + final _ret = _objc_msgSend_39( + this.pointer, + _sel_initWithString_relativeToURL_, + URLString.pointer, + baseURL?.pointer ?? ffi.nullptr); return _ret.address == 0 ? null - : NSURL._(_ret, _lib, retain: true, release: true); + : NSURL._(_ret, retain: true, release: true); } - static NSURL? URLWithString_(SwiftLibrary _lib, NSString URLString) { - final _ret = _lib._objc_msgSend_38( - _lib._class_NSURL1, - _lib._sel_URLWithString_1, - URLString.pointer, - ); + static NSURL? URLWithString_(NSString URLString) { + final _ret = + _objc_msgSend_38(_class_NSURL, _sel_URLWithString_, URLString.pointer); return _ret.address == 0 ? null - : NSURL._(_ret, _lib, retain: true, release: true); + : NSURL._(_ret, retain: true, release: true); } static NSURL? URLWithString_relativeToURL_( - SwiftLibrary _lib, - NSString URLString, - NSURL? baseURL, - ) { - final _ret = _lib._objc_msgSend_39( - _lib._class_NSURL1, - _lib._sel_URLWithString_relativeToURL_1, - URLString.pointer, - baseURL?.pointer ?? ffi.nullptr, - ); + NSString URLString, NSURL? baseURL) { + final _ret = _objc_msgSend_39( + _class_NSURL, + _sel_URLWithString_relativeToURL_, + URLString.pointer, + baseURL?.pointer ?? ffi.nullptr); return _ret.address == 0 ? null - : NSURL._(_ret, _lib, retain: true, release: true); + : NSURL._(_ret, retain: true, release: true); } NSURL? initWithString_encodingInvalidCharacters_( - NSString URLString, - bool encodingInvalidCharacters, - ) { - final _ret = _lib._objc_msgSend_40( - this.pointer, - _lib._sel_initWithString_encodingInvalidCharacters_1, - URLString.pointer, - encodingInvalidCharacters, - ); + NSString URLString, bool encodingInvalidCharacters) { + final _ret = _objc_msgSend_40( + this.pointer, + _sel_initWithString_encodingInvalidCharacters_, + URLString.pointer, + encodingInvalidCharacters); return _ret.address == 0 ? null - : NSURL._(_ret, _lib, retain: true, release: true); + : NSURL._(_ret, retain: true, release: true); } static NSURL? URLWithString_encodingInvalidCharacters_( - SwiftLibrary _lib, - NSString URLString, - bool encodingInvalidCharacters, - ) { - final _ret = _lib._objc_msgSend_40( - _lib._class_NSURL1, - _lib._sel_URLWithString_encodingInvalidCharacters_1, - URLString.pointer, - encodingInvalidCharacters, - ); + NSString URLString, bool encodingInvalidCharacters) { + final _ret = _objc_msgSend_40( + _class_NSURL, + _sel_URLWithString_encodingInvalidCharacters_, + URLString.pointer, + encodingInvalidCharacters); return _ret.address == 0 ? null - : NSURL._(_ret, _lib, retain: true, release: true); + : NSURL._(_ret, retain: true, release: true); } NSURL initWithDataRepresentation_relativeToURL_(NSData data, NSURL? baseURL) { - final _ret = _lib._objc_msgSend_41( - this.pointer, - _lib._sel_initWithDataRepresentation_relativeToURL_1, - data.pointer, - baseURL?.pointer ?? ffi.nullptr, - ); - return NSURL._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_41( + this.pointer, + _sel_initWithDataRepresentation_relativeToURL_, + data.pointer, + baseURL?.pointer ?? ffi.nullptr); + return NSURL._(_ret, retain: true, release: true); } static NSURL URLWithDataRepresentation_relativeToURL_( - SwiftLibrary _lib, - NSData data, - NSURL? baseURL, - ) { - final _ret = _lib._objc_msgSend_42( - _lib._class_NSURL1, - _lib._sel_URLWithDataRepresentation_relativeToURL_1, - data.pointer, - baseURL?.pointer ?? ffi.nullptr, - ); - return NSURL._(_ret, _lib, retain: true, release: true); + NSData data, NSURL? baseURL) { + final _ret = _objc_msgSend_42( + _class_NSURL, + _sel_URLWithDataRepresentation_relativeToURL_, + data.pointer, + baseURL?.pointer ?? ffi.nullptr); + return NSURL._(_ret, retain: true, release: true); } NSURL initAbsoluteURLWithDataRepresentation_relativeToURL_( - NSData data, - NSURL? baseURL, - ) { - final _ret = _lib._objc_msgSend_41( - this.pointer, - _lib._sel_initAbsoluteURLWithDataRepresentation_relativeToURL_1, - data.pointer, - baseURL?.pointer ?? ffi.nullptr, - ); - return NSURL._(_ret, _lib, retain: true, release: true); + NSData data, NSURL? baseURL) { + final _ret = _objc_msgSend_41( + this.pointer, + _sel_initAbsoluteURLWithDataRepresentation_relativeToURL_, + data.pointer, + baseURL?.pointer ?? ffi.nullptr); + return NSURL._(_ret, retain: true, release: true); } static NSURL absoluteURLWithDataRepresentation_relativeToURL_( - SwiftLibrary _lib, - NSData data, - NSURL? baseURL, - ) { - final _ret = _lib._objc_msgSend_42( - _lib._class_NSURL1, - _lib._sel_absoluteURLWithDataRepresentation_relativeToURL_1, - data.pointer, - baseURL?.pointer ?? ffi.nullptr, - ); - return NSURL._(_ret, _lib, retain: true, release: true); + NSData data, NSURL? baseURL) { + final _ret = _objc_msgSend_42( + _class_NSURL, + _sel_absoluteURLWithDataRepresentation_relativeToURL_, + data.pointer, + baseURL?.pointer ?? ffi.nullptr); + return NSURL._(_ret, retain: true, release: true); } NSData get dataRepresentation { - final _ret = _lib._objc_msgSend_43( - this.pointer, - _lib._sel_dataRepresentation1, - ); - return NSData._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_43(this.pointer, _sel_dataRepresentation); + return NSData._(_ret, retain: true, release: true); } NSString? get absoluteString { - final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_absoluteString1); + final _ret = _objc_msgSend_44(this.pointer, _sel_absoluteString); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } NSString get relativeString { - final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_relativeString1); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_relativeString); + return NSString._(_ret, retain: true, release: true); } NSURL? get baseURL { - final _ret = _lib._objc_msgSend_45(this.pointer, _lib._sel_baseURL1); + final _ret = _objc_msgSend_45(this.pointer, _sel_baseURL); return _ret.address == 0 ? null - : NSURL._(_ret, _lib, retain: true, release: true); + : NSURL._(_ret, retain: true, release: true); } NSURL? get absoluteURL { - final _ret = _lib._objc_msgSend_45(this.pointer, _lib._sel_absoluteURL1); + final _ret = _objc_msgSend_45(this.pointer, _sel_absoluteURL); return _ret.address == 0 ? null - : NSURL._(_ret, _lib, retain: true, release: true); + : NSURL._(_ret, retain: true, release: true); } NSString? get scheme { - final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_scheme1); + final _ret = _objc_msgSend_44(this.pointer, _sel_scheme); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } NSString? get resourceSpecifier { - final _ret = _lib._objc_msgSend_44( - this.pointer, - _lib._sel_resourceSpecifier1, - ); + final _ret = _objc_msgSend_44(this.pointer, _sel_resourceSpecifier); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } NSString? get host { - final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_host1); + final _ret = _objc_msgSend_44(this.pointer, _sel_host); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } NSNumber? get port { - final _ret = _lib._objc_msgSend_215(this.pointer, _lib._sel_port1); + final _ret = _objc_msgSend_215(this.pointer, _sel_port); return _ret.address == 0 ? null - : NSNumber._(_ret, _lib, retain: true, release: true); + : NSNumber._(_ret, retain: true, release: true); } NSString? get user { - final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_user1); + final _ret = _objc_msgSend_44(this.pointer, _sel_user); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } NSString? get password { - final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_password1); + final _ret = _objc_msgSend_44(this.pointer, _sel_password); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } NSString? get path { - final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_path1); + final _ret = _objc_msgSend_44(this.pointer, _sel_path); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } NSString? get fragment { - final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_fragment1); + final _ret = _objc_msgSend_44(this.pointer, _sel_fragment); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } NSString? get parameterString { - final _ret = _lib._objc_msgSend_44( - this.pointer, - _lib._sel_parameterString1, - ); + final _ret = _objc_msgSend_44(this.pointer, _sel_parameterString); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } NSString? get query { - final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_query1); + final _ret = _objc_msgSend_44(this.pointer, _sel_query); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } NSString? get relativePath { - final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_relativePath1); + final _ret = _objc_msgSend_44(this.pointer, _sel_relativePath); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } bool get hasDirectoryPath { - return _lib._objc_msgSend_12(this.pointer, _lib._sel_hasDirectoryPath1); + return _objc_msgSend_12(this.pointer, _sel_hasDirectoryPath); } bool getFileSystemRepresentation_maxLength_( - ffi.Pointer buffer, - int maxBufferLength, - ) { - return _lib._objc_msgSend_242( - this.pointer, - _lib._sel_getFileSystemRepresentation_maxLength_1, - buffer, - maxBufferLength, - ); + ffi.Pointer buffer, int maxBufferLength) { + return _objc_msgSend_242(this.pointer, + _sel_getFileSystemRepresentation_maxLength_, buffer, maxBufferLength); } ffi.Pointer get fileSystemRepresentation { - return _lib._objc_msgSend_13( - this.pointer, - _lib._sel_fileSystemRepresentation1, - ); + return _objc_msgSend_13(this.pointer, _sel_fileSystemRepresentation); } bool get fileURL { - return _lib._objc_msgSend_12(this.pointer, _lib._sel_isFileURL1); + return _objc_msgSend_12(this.pointer, _sel_isFileURL); } NSURL? get standardizedURL { - final _ret = _lib._objc_msgSend_45( - this.pointer, - _lib._sel_standardizedURL1, - ); + final _ret = _objc_msgSend_45(this.pointer, _sel_standardizedURL); return _ret.address == 0 ? null - : NSURL._(_ret, _lib, retain: true, release: true); + : NSURL._(_ret, retain: true, release: true); } bool isFileReferenceURL() { - return _lib._objc_msgSend_12(this.pointer, _lib._sel_isFileReferenceURL1); + return _objc_msgSend_12(this.pointer, _sel_isFileReferenceURL); } NSURL? fileReferenceURL() { - final _ret = _lib._objc_msgSend_45( - this.pointer, - _lib._sel_fileReferenceURL1, - ); + final _ret = _objc_msgSend_45(this.pointer, _sel_fileReferenceURL); return _ret.address == 0 ? null - : NSURL._(_ret, _lib, retain: true, release: true); + : NSURL._(_ret, retain: true, release: true); } NSURL? get filePathURL { - final _ret = _lib._objc_msgSend_45(this.pointer, _lib._sel_filePathURL1); + final _ret = _objc_msgSend_45(this.pointer, _sel_filePathURL); return _ret.address == 0 ? null - : NSURL._(_ret, _lib, retain: true, release: true); + : NSURL._(_ret, retain: true, release: true); } bool getResourceValue_forKey_error_( - ffi.Pointer> value, - NSString key, - ffi.Pointer> error, - ) { - return _lib._objc_msgSend_243( - this.pointer, - _lib._sel_getResourceValue_forKey_error_1, - value, - key.pointer, - error, - ); + ffi.Pointer> value, + NSString key, + ffi.Pointer> error) { + return _objc_msgSend_243(this.pointer, _sel_getResourceValue_forKey_error_, + value, key.pointer, error); } NSObject? resourceValuesForKeys_error_( - NSArray keys, - ffi.Pointer> error, - ) { - final _ret = _lib._objc_msgSend_244( - this.pointer, - _lib._sel_resourceValuesForKeys_error_1, - keys.pointer, - error, - ); - return _ret.address == 0 - ? null - : NSObject._(_ret, _lib, retain: true, release: true); - } - - bool setResourceValue_forKey_error_( - NSObject? value, - NSString key, - ffi.Pointer> error, - ) { - return _lib._objc_msgSend_245( - this.pointer, - _lib._sel_setResourceValue_forKey_error_1, - value?.pointer ?? ffi.nullptr, - key.pointer, - error, - ); + NSArray keys, ffi.Pointer> error) { + final _ret = _objc_msgSend_244( + this.pointer, _sel_resourceValuesForKeys_error_, keys.pointer, error); + return _ret.address == 0 + ? null + : NSObject._(_ret, retain: true, release: true); + } + + bool setResourceValue_forKey_error_(NSObject? value, NSString key, + ffi.Pointer> error) { + return _objc_msgSend_245(this.pointer, _sel_setResourceValue_forKey_error_, + value?.pointer ?? ffi.nullptr, key.pointer, error); } bool setResourceValues_error_( - NSObject keyedValues, - ffi.Pointer> error, - ) { - return _lib._objc_msgSend_246( - this.pointer, - _lib._sel_setResourceValues_error_1, - keyedValues.pointer, - error, - ); + NSObject keyedValues, ffi.Pointer> error) { + return _objc_msgSend_246(this.pointer, _sel_setResourceValues_error_, + keyedValues.pointer, error); } void removeCachedResourceValueForKey_(NSString key) { - _lib._objc_msgSend_247( - this.pointer, - _lib._sel_removeCachedResourceValueForKey_1, - key.pointer, - ); + _objc_msgSend_247( + this.pointer, _sel_removeCachedResourceValueForKey_, key.pointer); } void removeAllCachedResourceValues() { - _lib._objc_msgSend_1( - this.pointer, - _lib._sel_removeAllCachedResourceValues1, - ); + _objc_msgSend_1(this.pointer, _sel_removeAllCachedResourceValues); } void setTemporaryResourceValue_forKey_(NSObject? value, NSString key) { - _lib._objc_msgSend_135( - this.pointer, - _lib._sel_setTemporaryResourceValue_forKey_1, - value?.pointer ?? ffi.nullptr, - key.pointer, - ); + _objc_msgSend_135(this.pointer, _sel_setTemporaryResourceValue_forKey_, + value?.pointer ?? ffi.nullptr, key.pointer); } NSData? bookmarkDataWithOptions_includingResourceValuesForKeys_relativeToURL_error_( - int options, - NSArray? keys, - NSURL? relativeURL, - ffi.Pointer> error, - ) { - final _ret = _lib._objc_msgSend_248( - this.pointer, - _lib._sel_bookmarkDataWithOptions_includingResourceValuesForKeys_relativeToURL_error_1, - options, - keys?.pointer ?? ffi.nullptr, - relativeURL?.pointer ?? ffi.nullptr, - error, - ); + int options, + NSArray? keys, + NSURL? relativeURL, + ffi.Pointer> error) { + final _ret = _objc_msgSend_248( + this.pointer, + _sel_bookmarkDataWithOptions_includingResourceValuesForKeys_relativeToURL_error_, + options, + keys?.pointer ?? ffi.nullptr, + relativeURL?.pointer ?? ffi.nullptr, + error); return _ret.address == 0 ? null - : NSData._(_ret, _lib, retain: true, release: true); + : NSData._(_ret, retain: true, release: true); } NSURL? initByResolvingBookmarkData_options_relativeToURL_bookmarkDataIsStale_error_( - NSData bookmarkData, - int options, - NSURL? relativeURL, - ffi.Pointer isStale, - ffi.Pointer> error, - ) { - final _ret = _lib._objc_msgSend_249( - this.pointer, - _lib._sel_initByResolvingBookmarkData_options_relativeToURL_bookmarkDataIsStale_error_1, - bookmarkData.pointer, - options, - relativeURL?.pointer ?? ffi.nullptr, - isStale, - error, - ); - return _ret.address == 0 - ? null - : NSURL._(_ret, _lib, retain: true, release: true); + NSData bookmarkData, + int options, + NSURL? relativeURL, + ffi.Pointer isStale, + ffi.Pointer> error) { + final _ret = _objc_msgSend_249( + this.pointer, + _sel_initByResolvingBookmarkData_options_relativeToURL_bookmarkDataIsStale_error_, + bookmarkData.pointer, + options, + relativeURL?.pointer ?? ffi.nullptr, + isStale, + error); + return _ret.address == 0 + ? null + : NSURL._(_ret, retain: true, release: true); } static NSURL? URLByResolvingBookmarkData_options_relativeToURL_bookmarkDataIsStale_error_( - SwiftLibrary _lib, - NSData bookmarkData, - int options, - NSURL? relativeURL, - ffi.Pointer isStale, - ffi.Pointer> error, - ) { - final _ret = _lib._objc_msgSend_249( - _lib._class_NSURL1, - _lib._sel_URLByResolvingBookmarkData_options_relativeToURL_bookmarkDataIsStale_error_1, - bookmarkData.pointer, - options, - relativeURL?.pointer ?? ffi.nullptr, - isStale, - error, - ); - return _ret.address == 0 - ? null - : NSURL._(_ret, _lib, retain: true, release: true); + NSData bookmarkData, + int options, + NSURL? relativeURL, + ffi.Pointer isStale, + ffi.Pointer> error) { + final _ret = _objc_msgSend_249( + _class_NSURL, + _sel_URLByResolvingBookmarkData_options_relativeToURL_bookmarkDataIsStale_error_, + bookmarkData.pointer, + options, + relativeURL?.pointer ?? ffi.nullptr, + isStale, + error); + return _ret.address == 0 + ? null + : NSURL._(_ret, retain: true, release: true); } static NSObject? resourceValuesForKeys_fromBookmarkData_( - SwiftLibrary _lib, - NSArray keys, - NSData bookmarkData, - ) { - final _ret = _lib._objc_msgSend_250( - _lib._class_NSURL1, - _lib._sel_resourceValuesForKeys_fromBookmarkData_1, - keys.pointer, - bookmarkData.pointer, - ); + NSArray keys, NSData bookmarkData) { + final _ret = _objc_msgSend_250( + _class_NSURL, + _sel_resourceValuesForKeys_fromBookmarkData_, + keys.pointer, + bookmarkData.pointer); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } static bool writeBookmarkData_toURL_options_error_( - SwiftLibrary _lib, - NSData bookmarkData, - NSURL bookmarkFileURL, - int options, - ffi.Pointer> error, - ) { - return _lib._objc_msgSend_251( - _lib._class_NSURL1, - _lib._sel_writeBookmarkData_toURL_options_error_1, - bookmarkData.pointer, - bookmarkFileURL.pointer, - options, - error, - ); + NSData bookmarkData, + NSURL bookmarkFileURL, + int options, + ffi.Pointer> error) { + return _objc_msgSend_251( + _class_NSURL, + _sel_writeBookmarkData_toURL_options_error_, + bookmarkData.pointer, + bookmarkFileURL.pointer, + options, + error); } static NSData? bookmarkDataWithContentsOfURL_error_( - SwiftLibrary _lib, - NSURL bookmarkFileURL, - ffi.Pointer> error, - ) { - final _ret = _lib._objc_msgSend_252( - _lib._class_NSURL1, - _lib._sel_bookmarkDataWithContentsOfURL_error_1, - bookmarkFileURL.pointer, - error, - ); + NSURL bookmarkFileURL, ffi.Pointer> error) { + final _ret = _objc_msgSend_252( + _class_NSURL, + _sel_bookmarkDataWithContentsOfURL_error_, + bookmarkFileURL.pointer, + error); return _ret.address == 0 ? null - : NSData._(_ret, _lib, retain: true, release: true); + : NSData._(_ret, retain: true, release: true); } static NSURL? URLByResolvingAliasFileAtURL_options_error_( - SwiftLibrary _lib, - NSURL url, - int options, - ffi.Pointer> error, - ) { - final _ret = _lib._objc_msgSend_253( - _lib._class_NSURL1, - _lib._sel_URLByResolvingAliasFileAtURL_options_error_1, - url.pointer, - options, - error, - ); + NSURL url, int options, ffi.Pointer> error) { + final _ret = _objc_msgSend_253( + _class_NSURL, + _sel_URLByResolvingAliasFileAtURL_options_error_, + url.pointer, + options, + error); return _ret.address == 0 ? null - : NSURL._(_ret, _lib, retain: true, release: true); + : NSURL._(_ret, retain: true, release: true); } bool startAccessingSecurityScopedResource() { - return _lib._objc_msgSend_12( - this.pointer, - _lib._sel_startAccessingSecurityScopedResource1, - ); + return _objc_msgSend_12( + this.pointer, _sel_startAccessingSecurityScopedResource); } void stopAccessingSecurityScopedResource() { - _lib._objc_msgSend_1( - this.pointer, - _lib._sel_stopAccessingSecurityScopedResource1, - ); + _objc_msgSend_1(this.pointer, _sel_stopAccessingSecurityScopedResource); } bool getPromisedItemResourceValue_forKey_error_( - ffi.Pointer> value, - NSString key, - ffi.Pointer> error, - ) { - return _lib._objc_msgSend_243( - this.pointer, - _lib._sel_getPromisedItemResourceValue_forKey_error_1, - value, - key.pointer, - error, - ); + ffi.Pointer> value, + NSString key, + ffi.Pointer> error) { + return _objc_msgSend_243( + this.pointer, + _sel_getPromisedItemResourceValue_forKey_error_, + value, + key.pointer, + error); } NSDictionary? promisedItemResourceValuesForKeys_error_( - NSArray keys, - ffi.Pointer> error, - ) { - final _ret = _lib._objc_msgSend_254( - this.pointer, - _lib._sel_promisedItemResourceValuesForKeys_error_1, - keys.pointer, - error, - ); + NSArray keys, ffi.Pointer> error) { + final _ret = _objc_msgSend_254(this.pointer, + _sel_promisedItemResourceValuesForKeys_error_, keys.pointer, error); return _ret.address == 0 ? null - : NSDictionary._(_ret, _lib, retain: true, release: true); + : NSDictionary._(_ret, retain: true, release: true); } bool checkPromisedItemIsReachableAndReturnError_( - ffi.Pointer> error, - ) { - return _lib._objc_msgSend_255( - this.pointer, - _lib._sel_checkPromisedItemIsReachableAndReturnError_1, - error, - ); + ffi.Pointer> error) { + return _objc_msgSend_255( + this.pointer, _sel_checkPromisedItemIsReachableAndReturnError_, error); } - static NSURL? fileURLWithPathComponents_( - SwiftLibrary _lib, - NSArray components, - ) { - final _ret = _lib._objc_msgSend_256( - _lib._class_NSURL1, - _lib._sel_fileURLWithPathComponents_1, - components.pointer, - ); + static NSURL? fileURLWithPathComponents_(NSArray components) { + final _ret = _objc_msgSend_256( + _class_NSURL, _sel_fileURLWithPathComponents_, components.pointer); return _ret.address == 0 ? null - : NSURL._(_ret, _lib, retain: true, release: true); + : NSURL._(_ret, retain: true, release: true); } NSArray? get pathComponents { - final _ret = _lib._objc_msgSend_84(this.pointer, _lib._sel_pathComponents1); + final _ret = _objc_msgSend_84(this.pointer, _sel_pathComponents); return _ret.address == 0 ? null - : NSArray._(_ret, _lib, retain: true, release: true); + : NSArray._(_ret, retain: true, release: true); } NSString? get lastPathComponent { - final _ret = _lib._objc_msgSend_44( - this.pointer, - _lib._sel_lastPathComponent1, - ); + final _ret = _objc_msgSend_44(this.pointer, _sel_lastPathComponent); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } NSString? get pathExtension { - final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_pathExtension1); + final _ret = _objc_msgSend_44(this.pointer, _sel_pathExtension); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } NSURL? URLByAppendingPathComponent_(NSString pathComponent) { - final _ret = _lib._objc_msgSend_257( - this.pointer, - _lib._sel_URLByAppendingPathComponent_1, - pathComponent.pointer, - ); + final _ret = _objc_msgSend_257( + this.pointer, _sel_URLByAppendingPathComponent_, pathComponent.pointer); return _ret.address == 0 ? null - : NSURL._(_ret, _lib, retain: true, release: true); + : NSURL._(_ret, retain: true, release: true); } NSURL? URLByAppendingPathComponent_isDirectory_( - NSString pathComponent, - bool isDirectory, - ) { - final _ret = _lib._objc_msgSend_258( - this.pointer, - _lib._sel_URLByAppendingPathComponent_isDirectory_1, - pathComponent.pointer, - isDirectory, - ); + NSString pathComponent, bool isDirectory) { + final _ret = _objc_msgSend_258( + this.pointer, + _sel_URLByAppendingPathComponent_isDirectory_, + pathComponent.pointer, + isDirectory); return _ret.address == 0 ? null - : NSURL._(_ret, _lib, retain: true, release: true); + : NSURL._(_ret, retain: true, release: true); } NSURL? get URLByDeletingLastPathComponent { - final _ret = _lib._objc_msgSend_45( - this.pointer, - _lib._sel_URLByDeletingLastPathComponent1, - ); + final _ret = + _objc_msgSend_45(this.pointer, _sel_URLByDeletingLastPathComponent); return _ret.address == 0 ? null - : NSURL._(_ret, _lib, retain: true, release: true); + : NSURL._(_ret, retain: true, release: true); } NSURL? URLByAppendingPathExtension_(NSString pathExtension) { - final _ret = _lib._objc_msgSend_257( - this.pointer, - _lib._sel_URLByAppendingPathExtension_1, - pathExtension.pointer, - ); + final _ret = _objc_msgSend_257( + this.pointer, _sel_URLByAppendingPathExtension_, pathExtension.pointer); return _ret.address == 0 ? null - : NSURL._(_ret, _lib, retain: true, release: true); + : NSURL._(_ret, retain: true, release: true); } NSURL? get URLByDeletingPathExtension { - final _ret = _lib._objc_msgSend_45( - this.pointer, - _lib._sel_URLByDeletingPathExtension1, - ); + final _ret = + _objc_msgSend_45(this.pointer, _sel_URLByDeletingPathExtension); return _ret.address == 0 ? null - : NSURL._(_ret, _lib, retain: true, release: true); + : NSURL._(_ret, retain: true, release: true); } bool checkResourceIsReachableAndReturnError_( - ffi.Pointer> error, - ) { - return _lib._objc_msgSend_255( - this.pointer, - _lib._sel_checkResourceIsReachableAndReturnError_1, - error, - ); + ffi.Pointer> error) { + return _objc_msgSend_255( + this.pointer, _sel_checkResourceIsReachableAndReturnError_, error); } NSURL? get URLByStandardizingPath { - final _ret = _lib._objc_msgSend_45( - this.pointer, - _lib._sel_URLByStandardizingPath1, - ); + final _ret = _objc_msgSend_45(this.pointer, _sel_URLByStandardizingPath); return _ret.address == 0 ? null - : NSURL._(_ret, _lib, retain: true, release: true); + : NSURL._(_ret, retain: true, release: true); } NSURL? get URLByResolvingSymlinksInPath { - final _ret = _lib._objc_msgSend_45( - this.pointer, - _lib._sel_URLByResolvingSymlinksInPath1, - ); + final _ret = + _objc_msgSend_45(this.pointer, _sel_URLByResolvingSymlinksInPath); return _ret.address == 0 ? null - : NSURL._(_ret, _lib, retain: true, release: true); + : NSURL._(_ret, retain: true, release: true); } NSData? resourceDataUsingCache_(bool shouldUseCache) { - final _ret = _lib._objc_msgSend_259( - this.pointer, - _lib._sel_resourceDataUsingCache_1, - shouldUseCache, - ); + final _ret = _objc_msgSend_259( + this.pointer, _sel_resourceDataUsingCache_, shouldUseCache); return _ret.address == 0 ? null - : NSData._(_ret, _lib, retain: true, release: true); + : NSData._(_ret, retain: true, release: true); } void loadResourceDataNotifyingClient_usingCache_( - NSObject client, - bool shouldUseCache, - ) { - _lib._objc_msgSend_260( - this.pointer, - _lib._sel_loadResourceDataNotifyingClient_usingCache_1, - client.pointer, - shouldUseCache, - ); + NSObject client, bool shouldUseCache) { + _objc_msgSend_260( + this.pointer, + _sel_loadResourceDataNotifyingClient_usingCache_, + client.pointer, + shouldUseCache); } NSObject? propertyForKey_(NSString propertyKey) { - final _ret = _lib._objc_msgSend_38( - this.pointer, - _lib._sel_propertyForKey_1, - propertyKey.pointer, - ); + final _ret = _objc_msgSend_38( + this.pointer, _sel_propertyForKey_, propertyKey.pointer); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } bool setResourceData_(NSData data) { - return _lib._objc_msgSend_24( - this.pointer, - _lib._sel_setResourceData_1, - data.pointer, - ); + return _objc_msgSend_24(this.pointer, _sel_setResourceData_, data.pointer); } bool setProperty_forKey_(NSObject property, NSString propertyKey) { - return _lib._objc_msgSend_261( - this.pointer, - _lib._sel_setProperty_forKey_1, - property.pointer, - propertyKey.pointer, - ); + return _objc_msgSend_261(this.pointer, _sel_setProperty_forKey_, + property.pointer, propertyKey.pointer); } NSURLHandle? URLHandleUsingCache_(bool shouldUseCache) { - final _ret = _lib._objc_msgSend_268( - this.pointer, - _lib._sel_URLHandleUsingCache_1, - shouldUseCache, - ); + final _ret = _objc_msgSend_268( + this.pointer, _sel_URLHandleUsingCache_, shouldUseCache); return _ret.address == 0 ? null - : NSURLHandle._(_ret, _lib, retain: true, release: true); + : NSURLHandle._(_ret, retain: true, release: true); } @override NSURL init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSURL._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSURL._(_ret, retain: true, release: true); } - static NSURL new1(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2(_lib._class_NSURL1, _lib._sel_new1); - return NSURL._(_ret, _lib, retain: false, release: true); + static NSURL new1() { + final _ret = _objc_msgSend_2(_class_NSURL, _sel_new); + return NSURL._(_ret, retain: false, release: true); } - static NSURL allocWithZone_(SwiftLibrary _lib, ffi.Pointer<_NSZone> zone) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSURL1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSURL._(_ret, _lib, retain: false, release: true); + static NSURL allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = _objc_msgSend_3(_class_NSURL, _sel_allocWithZone_, zone); + return NSURL._(_ret, retain: false, release: true); } - static NSURL alloc(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2(_lib._class_NSURL1, _lib._sel_alloc1); - return NSURL._(_ret, _lib, retain: false, release: true); + static NSURL alloc() { + final _ret = _objc_msgSend_2(_class_NSURL, _sel_alloc); + return NSURL._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSURL1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSURL1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSURL1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSURL1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSURL1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSURL1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSURL, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); + } + + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSURL, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); + } + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12(_class_NSURL, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSURL, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63( + _class_NSURL, _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64( + _class_NSURL, _sel_automaticallyNotifiesObserversForKey_, key.pointer); } static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSURL1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSURL1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSURL1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSURL, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = + _objc_msgSend_85(_class_NSURL, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = _objc_msgSend_2(_class_NSURL, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); } } +late final _class_NSURL = objc.getClass("NSURL"); +late final _sel_initWithScheme_host_path_ = + objc.registerName("initWithScheme:host:path:"); +final _objc_msgSend_27 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer scheme, + ffi.Pointer host, + ffi.Pointer path)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_initFileURLWithPath_isDirectory_relativeToURL_ = + objc.registerName("initFileURLWithPath:isDirectory:relativeToURL:"); +final _objc_msgSend_28 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer path, + ffi.Bool isDir, + ffi.Pointer baseURL)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool, + ffi.Pointer)>(); +late final _sel_initFileURLWithPath_relativeToURL_ = + objc.registerName("initFileURLWithPath:relativeToURL:"); +final _objc_msgSend_29 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer path, + ffi.Pointer baseURL)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_initFileURLWithPath_isDirectory_ = + objc.registerName("initFileURLWithPath:isDirectory:"); +final _objc_msgSend_30 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer path, + ffi.Bool isDir)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool)>(); +late final _sel_initFileURLWithPath_ = + objc.registerName("initFileURLWithPath:"); +final _objc_msgSend_31 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer path)>>() + .asFunction< + instancetype Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_fileURLWithPath_isDirectory_relativeToURL_ = + objc.registerName("fileURLWithPath:isDirectory:relativeToURL:"); +final _objc_msgSend_32 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer path, + ffi.Bool isDir, + ffi.Pointer baseURL)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool, + ffi.Pointer)>(); +late final _sel_fileURLWithPath_relativeToURL_ = + objc.registerName("fileURLWithPath:relativeToURL:"); +final _objc_msgSend_33 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer path, + ffi.Pointer baseURL)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_fileURLWithPath_isDirectory_ = + objc.registerName("fileURLWithPath:isDirectory:"); +final _objc_msgSend_34 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer path, + ffi.Bool isDir)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool)>(); +late final _sel_fileURLWithPath_ = objc.registerName("fileURLWithPath:"); +final _objc_msgSend_35 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer path)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_initFileURLWithFileSystemRepresentation_isDirectory_relativeToURL_ = + objc.registerName( + "initFileURLWithFileSystemRepresentation:isDirectory:relativeToURL:"); +final _objc_msgSend_36 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer path, + ffi.Bool isDir, + ffi.Pointer baseURL)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool, + ffi.Pointer)>(); +late final _sel_fileURLWithFileSystemRepresentation_isDirectory_relativeToURL_ = + objc.registerName( + "fileURLWithFileSystemRepresentation:isDirectory:relativeToURL:"); +final _objc_msgSend_37 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer path, + ffi.Bool isDir, + ffi.Pointer baseURL)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool, + ffi.Pointer)>(); +late final _sel_initWithString_ = objc.registerName("initWithString:"); +final _objc_msgSend_38 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer URLString)>>() + .asFunction< + instancetype Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_initWithString_relativeToURL_ = + objc.registerName("initWithString:relativeToURL:"); +final _objc_msgSend_39 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer URLString, + ffi.Pointer baseURL)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_URLWithString_ = objc.registerName("URLWithString:"); +late final _sel_URLWithString_relativeToURL_ = + objc.registerName("URLWithString:relativeToURL:"); +late final _sel_initWithString_encodingInvalidCharacters_ = + objc.registerName("initWithString:encodingInvalidCharacters:"); +final _objc_msgSend_40 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer URLString, + ffi.Bool encodingInvalidCharacters)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool)>(); +late final _sel_URLWithString_encodingInvalidCharacters_ = + objc.registerName("URLWithString:encodingInvalidCharacters:"); +late final _sel_initWithDataRepresentation_relativeToURL_ = + objc.registerName("initWithDataRepresentation:relativeToURL:"); +final _objc_msgSend_41 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer data, + ffi.Pointer baseURL)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_URLWithDataRepresentation_relativeToURL_ = + objc.registerName("URLWithDataRepresentation:relativeToURL:"); +final _objc_msgSend_42 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer data, + ffi.Pointer baseURL)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_initAbsoluteURLWithDataRepresentation_relativeToURL_ = + objc.registerName("initAbsoluteURLWithDataRepresentation:relativeToURL:"); +late final _sel_absoluteURLWithDataRepresentation_relativeToURL_ = + objc.registerName("absoluteURLWithDataRepresentation:relativeToURL:"); +late final _sel_dataRepresentation = objc.registerName("dataRepresentation"); +final _objc_msgSend_43 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_absoluteString = objc.registerName("absoluteString"); +final _objc_msgSend_44 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_relativeString = objc.registerName("relativeString"); +late final _sel_baseURL = objc.registerName("baseURL"); +final _objc_msgSend_45 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_absoluteURL = objc.registerName("absoluteURL"); +late final _sel_scheme = objc.registerName("scheme"); +late final _sel_resourceSpecifier = objc.registerName("resourceSpecifier"); +late final _sel_host = objc.registerName("host"); + class NSNumber extends NSValue { - NSNumber._( - ffi.Pointer pointer, - SwiftLibrary lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSNumber._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSNumber] that points to the same underlying object as [other]. - static NSNumber castFrom( - SwiftLibrary lib, - T other, - ) { - return NSNumber._(other.pointer, lib, retain: true, release: true); + static NSNumber castFrom(T other) { + return NSNumber._(other.pointer, retain: true, release: true); } /// Returns a [NSNumber] that wraps the given raw object pointer. - static NSNumber castFromPointer( - SwiftLibrary lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSNumber._(other, lib, retain: retain, release: release); + static NSNumber castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSNumber._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSNumber]. - static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSNumber1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0(obj.pointer, _sel_isKindOfClass_, _class_NSNumber); } @override NSNumber? initWithCoder_(NSCoder coder) { - final _ret = _lib._objc_msgSend_47( - this.pointer, - _lib._sel_initWithCoder_1, - coder.pointer, - ); + final _ret = + _objc_msgSend_47(this.pointer, _sel_initWithCoder_, coder.pointer); return _ret.address == 0 ? null - : NSNumber._(_ret, _lib, retain: true, release: true); + : NSNumber._(_ret, retain: true, release: true); } NSNumber initWithChar_(int value) { - final _ret = _lib._objc_msgSend_220( - this.pointer, - _lib._sel_initWithChar_1, - value, - ); - return NSNumber._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_220(this.pointer, _sel_initWithChar_, value); + return NSNumber._(_ret, retain: true, release: true); } NSNumber initWithUnsignedChar_(int value) { - final _ret = _lib._objc_msgSend_221( - this.pointer, - _lib._sel_initWithUnsignedChar_1, - value, - ); - return NSNumber._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_221(this.pointer, _sel_initWithUnsignedChar_, value); + return NSNumber._(_ret, retain: true, release: true); } NSNumber initWithShort_(int value) { - final _ret = _lib._objc_msgSend_222( - this.pointer, - _lib._sel_initWithShort_1, - value, - ); - return NSNumber._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_222(this.pointer, _sel_initWithShort_, value); + return NSNumber._(_ret, retain: true, release: true); } NSNumber initWithUnsignedShort_(int value) { - final _ret = _lib._objc_msgSend_223( - this.pointer, - _lib._sel_initWithUnsignedShort_1, - value, - ); - return NSNumber._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_223(this.pointer, _sel_initWithUnsignedShort_, value); + return NSNumber._(_ret, retain: true, release: true); } NSNumber initWithInt_(int value) { - final _ret = _lib._objc_msgSend_224( - this.pointer, - _lib._sel_initWithInt_1, - value, - ); - return NSNumber._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_224(this.pointer, _sel_initWithInt_, value); + return NSNumber._(_ret, retain: true, release: true); } NSNumber initWithUnsignedInt_(int value) { - final _ret = _lib._objc_msgSend_225( - this.pointer, - _lib._sel_initWithUnsignedInt_1, - value, - ); - return NSNumber._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_225(this.pointer, _sel_initWithUnsignedInt_, value); + return NSNumber._(_ret, retain: true, release: true); } NSNumber initWithLong_(int value) { - final _ret = _lib._objc_msgSend_226( - this.pointer, - _lib._sel_initWithLong_1, - value, - ); - return NSNumber._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_226(this.pointer, _sel_initWithLong_, value); + return NSNumber._(_ret, retain: true, release: true); + } + + NSNumber initWithUnsignedLong_(int value) { + final _ret = + _objc_msgSend_227(this.pointer, _sel_initWithUnsignedLong_, value); + return NSNumber._(_ret, retain: true, release: true); + } + + NSNumber initWithLongLong_(int value) { + final _ret = _objc_msgSend_228(this.pointer, _sel_initWithLongLong_, value); + return NSNumber._(_ret, retain: true, release: true); + } + + NSNumber initWithUnsignedLongLong_(int value) { + final _ret = + _objc_msgSend_229(this.pointer, _sel_initWithUnsignedLongLong_, value); + return NSNumber._(_ret, retain: true, release: true); + } + + NSNumber initWithFloat_(double value) { + final _ret = _objc_msgSend_230(this.pointer, _sel_initWithFloat_, value); + return NSNumber._(_ret, retain: true, release: true); + } + + NSNumber initWithDouble_(double value) { + final _ret = _objc_msgSend_231(this.pointer, _sel_initWithDouble_, value); + return NSNumber._(_ret, retain: true, release: true); + } + + NSNumber initWithBool_(bool value) { + final _ret = _objc_msgSend_232(this.pointer, _sel_initWithBool_, value); + return NSNumber._(_ret, retain: true, release: true); + } + + NSNumber initWithInteger_(int value) { + final _ret = _objc_msgSend_226(this.pointer, _sel_initWithInteger_, value); + return NSNumber._(_ret, retain: true, release: true); + } + + NSNumber initWithUnsignedInteger_(int value) { + final _ret = + _objc_msgSend_227(this.pointer, _sel_initWithUnsignedInteger_, value); + return NSNumber._(_ret, retain: true, release: true); + } + + int get charValue { + return _objc_msgSend_233(this.pointer, _sel_charValue); + } + + int get unsignedCharValue { + return _objc_msgSend_234(this.pointer, _sel_unsignedCharValue); + } + + int get shortValue { + return _objc_msgSend_235(this.pointer, _sel_shortValue); + } + + int get unsignedShortValue { + return _objc_msgSend_236(this.pointer, _sel_unsignedShortValue); + } + + int get intValue { + return _objc_msgSend_237(this.pointer, _sel_intValue); + } + + int get unsignedIntValue { + return _objc_msgSend_214(this.pointer, _sel_unsignedIntValue); + } + + int get longValue { + return _objc_msgSend_83(this.pointer, _sel_longValue); + } + + int get unsignedLongValue { + return _objc_msgSend_10(this.pointer, _sel_unsignedLongValue); + } + + int get longLongValue { + return _objc_msgSend_238(this.pointer, _sel_longLongValue); + } + + int get unsignedLongLongValue { + return _objc_msgSend_164(this.pointer, _sel_unsignedLongLongValue); + } + + double get floatValue { + return objc.useMsgSendVariants + ? _objc_msgSend_239Fpret(this.pointer, _sel_floatValue) + : _objc_msgSend_239(this.pointer, _sel_floatValue); + } + + double get doubleValue { + return objc.useMsgSendVariants + ? _objc_msgSend_165Fpret(this.pointer, _sel_doubleValue) + : _objc_msgSend_165(this.pointer, _sel_doubleValue); + } + + bool get boolValue { + return _objc_msgSend_12(this.pointer, _sel_boolValue); + } + + int get integerValue { + return _objc_msgSend_83(this.pointer, _sel_integerValue); + } + + int get unsignedIntegerValue { + return _objc_msgSend_10(this.pointer, _sel_unsignedIntegerValue); + } + + NSString get stringValue { + final _ret = _objc_msgSend_21(this.pointer, _sel_stringValue); + return NSString._(_ret, retain: true, release: true); + } + + int compare_(NSNumber otherNumber) { + return _objc_msgSend_240(this.pointer, _sel_compare_, otherNumber.pointer); + } + + bool isEqualToNumber_(NSNumber number) { + return _objc_msgSend_241( + this.pointer, _sel_isEqualToNumber_, number.pointer); + } + + NSString descriptionWithLocale_(NSObject? locale) { + final _ret = _objc_msgSend_70(this.pointer, _sel_descriptionWithLocale_, + locale?.pointer ?? ffi.nullptr); + return NSString._(_ret, retain: true, release: true); + } + + static NSNumber numberWithChar_(int value) { + final _ret = + _objc_msgSend_220(_class_NSNumber, _sel_numberWithChar_, value); + return NSNumber._(_ret, retain: true, release: true); + } + + static NSNumber numberWithUnsignedChar_(int value) { + final _ret = + _objc_msgSend_221(_class_NSNumber, _sel_numberWithUnsignedChar_, value); + return NSNumber._(_ret, retain: true, release: true); } - NSNumber initWithUnsignedLong_(int value) { - final _ret = _lib._objc_msgSend_227( - this.pointer, - _lib._sel_initWithUnsignedLong_1, - value, - ); - return NSNumber._(_ret, _lib, retain: true, release: true); + static NSNumber numberWithShort_(int value) { + final _ret = + _objc_msgSend_222(_class_NSNumber, _sel_numberWithShort_, value); + return NSNumber._(_ret, retain: true, release: true); } - NSNumber initWithLongLong_(int value) { - final _ret = _lib._objc_msgSend_228( - this.pointer, - _lib._sel_initWithLongLong_1, - value, - ); - return NSNumber._(_ret, _lib, retain: true, release: true); + static NSNumber numberWithUnsignedShort_(int value) { + final _ret = _objc_msgSend_223( + _class_NSNumber, _sel_numberWithUnsignedShort_, value); + return NSNumber._(_ret, retain: true, release: true); } - NSNumber initWithUnsignedLongLong_(int value) { - final _ret = _lib._objc_msgSend_229( - this.pointer, - _lib._sel_initWithUnsignedLongLong_1, - value, - ); - return NSNumber._(_ret, _lib, retain: true, release: true); + static NSNumber numberWithInt_(int value) { + final _ret = _objc_msgSend_224(_class_NSNumber, _sel_numberWithInt_, value); + return NSNumber._(_ret, retain: true, release: true); } - NSNumber initWithFloat_(double value) { - final _ret = _lib._objc_msgSend_230( - this.pointer, - _lib._sel_initWithFloat_1, - value, - ); - return NSNumber._(_ret, _lib, retain: true, release: true); + static NSNumber numberWithUnsignedInt_(int value) { + final _ret = + _objc_msgSend_225(_class_NSNumber, _sel_numberWithUnsignedInt_, value); + return NSNumber._(_ret, retain: true, release: true); } - NSNumber initWithDouble_(double value) { - final _ret = _lib._objc_msgSend_231( - this.pointer, - _lib._sel_initWithDouble_1, - value, - ); - return NSNumber._(_ret, _lib, retain: true, release: true); + static NSNumber numberWithLong_(int value) { + final _ret = + _objc_msgSend_226(_class_NSNumber, _sel_numberWithLong_, value); + return NSNumber._(_ret, retain: true, release: true); } - NSNumber initWithBool_(bool value) { - final _ret = _lib._objc_msgSend_232( - this.pointer, - _lib._sel_initWithBool_1, - value, - ); - return NSNumber._(_ret, _lib, retain: true, release: true); + static NSNumber numberWithUnsignedLong_(int value) { + final _ret = + _objc_msgSend_227(_class_NSNumber, _sel_numberWithUnsignedLong_, value); + return NSNumber._(_ret, retain: true, release: true); } - NSNumber initWithInteger_(int value) { - final _ret = _lib._objc_msgSend_226( - this.pointer, - _lib._sel_initWithInteger_1, - value, - ); - return NSNumber._(_ret, _lib, retain: true, release: true); + static NSNumber numberWithLongLong_(int value) { + final _ret = + _objc_msgSend_228(_class_NSNumber, _sel_numberWithLongLong_, value); + return NSNumber._(_ret, retain: true, release: true); } - NSNumber initWithUnsignedInteger_(int value) { - final _ret = _lib._objc_msgSend_227( - this.pointer, - _lib._sel_initWithUnsignedInteger_1, - value, - ); - return NSNumber._(_ret, _lib, retain: true, release: true); + static NSNumber numberWithUnsignedLongLong_(int value) { + final _ret = _objc_msgSend_229( + _class_NSNumber, _sel_numberWithUnsignedLongLong_, value); + return NSNumber._(_ret, retain: true, release: true); } - int get charValue { - return _lib._objc_msgSend_233(this.pointer, _lib._sel_charValue1); + static NSNumber numberWithFloat_(double value) { + final _ret = + _objc_msgSend_230(_class_NSNumber, _sel_numberWithFloat_, value); + return NSNumber._(_ret, retain: true, release: true); } - int get unsignedCharValue { - return _lib._objc_msgSend_234(this.pointer, _lib._sel_unsignedCharValue1); + static NSNumber numberWithDouble_(double value) { + final _ret = + _objc_msgSend_231(_class_NSNumber, _sel_numberWithDouble_, value); + return NSNumber._(_ret, retain: true, release: true); } - int get shortValue { - return _lib._objc_msgSend_235(this.pointer, _lib._sel_shortValue1); + static NSNumber numberWithBool_(bool value) { + final _ret = + _objc_msgSend_232(_class_NSNumber, _sel_numberWithBool_, value); + return NSNumber._(_ret, retain: true, release: true); } - int get unsignedShortValue { - return _lib._objc_msgSend_236(this.pointer, _lib._sel_unsignedShortValue1); + static NSNumber numberWithInteger_(int value) { + final _ret = + _objc_msgSend_226(_class_NSNumber, _sel_numberWithInteger_, value); + return NSNumber._(_ret, retain: true, release: true); } - int get intValue { - return _lib._objc_msgSend_237(this.pointer, _lib._sel_intValue1); + static NSNumber numberWithUnsignedInteger_(int value) { + final _ret = _objc_msgSend_227( + _class_NSNumber, _sel_numberWithUnsignedInteger_, value); + return NSNumber._(_ret, retain: true, release: true); } - int get unsignedIntValue { - return _lib._objc_msgSend_214(this.pointer, _lib._sel_unsignedIntValue1); + @override + NSNumber initWithBytes_objCType_( + ffi.Pointer value, ffi.Pointer type) { + final _ret = _objc_msgSend_46( + this.pointer, _sel_initWithBytes_objCType_, value, type); + return NSNumber._(_ret, retain: true, release: true); } - int get longValue { - return _lib._objc_msgSend_83(this.pointer, _lib._sel_longValue1); + static NSValue valueWithBytes_objCType_( + ffi.Pointer value, ffi.Pointer type) { + final _ret = _objc_msgSend_48( + _class_NSNumber, _sel_valueWithBytes_objCType_, value, type); + return NSValue._(_ret, retain: true, release: true); } - int get unsignedLongValue { - return _lib._objc_msgSend_10(this.pointer, _lib._sel_unsignedLongValue1); + static NSValue value_withObjCType_( + ffi.Pointer value, ffi.Pointer type) { + final _ret = _objc_msgSend_48( + _class_NSNumber, _sel_value_withObjCType_, value, type); + return NSValue._(_ret, retain: true, release: true); } - int get longLongValue { - return _lib._objc_msgSend_238(this.pointer, _lib._sel_longLongValue1); + static NSValue valueWithNonretainedObject_(NSObject? anObject) { + final _ret = _objc_msgSend_49(_class_NSNumber, + _sel_valueWithNonretainedObject_, anObject?.pointer ?? ffi.nullptr); + return NSValue._(_ret, retain: true, release: true); } - int get unsignedLongLongValue { - return _lib._objc_msgSend_164( - this.pointer, - _lib._sel_unsignedLongLongValue1, - ); + static NSValue valueWithPointer_(ffi.Pointer pointer) { + final _ret = + _objc_msgSend_50(_class_NSNumber, _sel_valueWithPointer_, pointer); + return NSValue._(_ret, retain: true, release: true); } - double get floatValue { - return objc.useMsgSendVariants - ? _lib._objc_msgSend_239_fpret(this.pointer, _lib._sel_floatValue1) - : _lib._objc_msgSend_239(this.pointer, _lib._sel_floatValue1); + static NSValue valueWithRange_(_NSRange range) { + final _ret = _objc_msgSend_53(_class_NSNumber, _sel_valueWithRange_, range); + return NSValue._(_ret, retain: true, release: true); } - double get doubleValue { - return objc.useMsgSendVariants - ? _lib._objc_msgSend_165_fpret(this.pointer, _lib._sel_doubleValue1) - : _lib._objc_msgSend_165(this.pointer, _lib._sel_doubleValue1); + static NSValue valueWithPoint_(CGPoint point) { + final _ret = _objc_msgSend_55(_class_NSNumber, _sel_valueWithPoint_, point); + return NSValue._(_ret, retain: true, release: true); } - bool get boolValue { - return _lib._objc_msgSend_12(this.pointer, _lib._sel_boolValue1); + static NSValue valueWithSize_(CGSize size) { + final _ret = _objc_msgSend_56(_class_NSNumber, _sel_valueWithSize_, size); + return NSValue._(_ret, retain: true, release: true); } - int get integerValue { - return _lib._objc_msgSend_83(this.pointer, _lib._sel_integerValue1); + static NSValue valueWithRect_(CGRect rect) { + final _ret = _objc_msgSend_57(_class_NSNumber, _sel_valueWithRect_, rect); + return NSValue._(_ret, retain: true, release: true); } - int get unsignedIntegerValue { - return _lib._objc_msgSend_10(this.pointer, _lib._sel_unsignedIntegerValue1); + static NSValue valueWithEdgeInsets_(NSEdgeInsets insets) { + final _ret = + _objc_msgSend_58(_class_NSNumber, _sel_valueWithEdgeInsets_, insets); + return NSValue._(_ret, retain: true, release: true); } - NSString get stringValue { - final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_stringValue1); - return NSString._(_ret, _lib, retain: true, release: true); + @override + NSNumber init() { + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSNumber._(_ret, retain: true, release: true); } - int compare_(NSNumber otherNumber) { - return _lib._objc_msgSend_240( - this.pointer, - _lib._sel_compare_1, - otherNumber.pointer, - ); + static NSNumber new1() { + final _ret = _objc_msgSend_2(_class_NSNumber, _sel_new); + return NSNumber._(_ret, retain: false, release: true); } - bool isEqualToNumber_(NSNumber number) { - return _lib._objc_msgSend_241( - this.pointer, - _lib._sel_isEqualToNumber_1, - number.pointer, - ); + static NSNumber allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = _objc_msgSend_3(_class_NSNumber, _sel_allocWithZone_, zone); + return NSNumber._(_ret, retain: false, release: true); } - NSString descriptionWithLocale_(NSObject? locale) { - final _ret = _lib._objc_msgSend_70( - this.pointer, - _lib._sel_descriptionWithLocale_1, - locale?.pointer ?? ffi.nullptr, - ); - return NSString._(_ret, _lib, retain: true, release: true); - } - - static NSNumber numberWithChar_(SwiftLibrary _lib, int value) { - final _ret = _lib._objc_msgSend_220( - _lib._class_NSNumber1, - _lib._sel_numberWithChar_1, - value, - ); - return NSNumber._(_ret, _lib, retain: true, release: true); - } - - static NSNumber numberWithUnsignedChar_(SwiftLibrary _lib, int value) { - final _ret = _lib._objc_msgSend_221( - _lib._class_NSNumber1, - _lib._sel_numberWithUnsignedChar_1, - value, - ); - return NSNumber._(_ret, _lib, retain: true, release: true); - } - - static NSNumber numberWithShort_(SwiftLibrary _lib, int value) { - final _ret = _lib._objc_msgSend_222( - _lib._class_NSNumber1, - _lib._sel_numberWithShort_1, - value, - ); - return NSNumber._(_ret, _lib, retain: true, release: true); - } - - static NSNumber numberWithUnsignedShort_(SwiftLibrary _lib, int value) { - final _ret = _lib._objc_msgSend_223( - _lib._class_NSNumber1, - _lib._sel_numberWithUnsignedShort_1, - value, - ); - return NSNumber._(_ret, _lib, retain: true, release: true); - } - - static NSNumber numberWithInt_(SwiftLibrary _lib, int value) { - final _ret = _lib._objc_msgSend_224( - _lib._class_NSNumber1, - _lib._sel_numberWithInt_1, - value, - ); - return NSNumber._(_ret, _lib, retain: true, release: true); - } - - static NSNumber numberWithUnsignedInt_(SwiftLibrary _lib, int value) { - final _ret = _lib._objc_msgSend_225( - _lib._class_NSNumber1, - _lib._sel_numberWithUnsignedInt_1, - value, - ); - return NSNumber._(_ret, _lib, retain: true, release: true); - } - - static NSNumber numberWithLong_(SwiftLibrary _lib, int value) { - final _ret = _lib._objc_msgSend_226( - _lib._class_NSNumber1, - _lib._sel_numberWithLong_1, - value, - ); - return NSNumber._(_ret, _lib, retain: true, release: true); - } - - static NSNumber numberWithUnsignedLong_(SwiftLibrary _lib, int value) { - final _ret = _lib._objc_msgSend_227( - _lib._class_NSNumber1, - _lib._sel_numberWithUnsignedLong_1, - value, - ); - return NSNumber._(_ret, _lib, retain: true, release: true); - } - - static NSNumber numberWithLongLong_(SwiftLibrary _lib, int value) { - final _ret = _lib._objc_msgSend_228( - _lib._class_NSNumber1, - _lib._sel_numberWithLongLong_1, - value, - ); - return NSNumber._(_ret, _lib, retain: true, release: true); - } - - static NSNumber numberWithUnsignedLongLong_(SwiftLibrary _lib, int value) { - final _ret = _lib._objc_msgSend_229( - _lib._class_NSNumber1, - _lib._sel_numberWithUnsignedLongLong_1, - value, - ); - return NSNumber._(_ret, _lib, retain: true, release: true); - } - - static NSNumber numberWithFloat_(SwiftLibrary _lib, double value) { - final _ret = _lib._objc_msgSend_230( - _lib._class_NSNumber1, - _lib._sel_numberWithFloat_1, - value, - ); - return NSNumber._(_ret, _lib, retain: true, release: true); - } - - static NSNumber numberWithDouble_(SwiftLibrary _lib, double value) { - final _ret = _lib._objc_msgSend_231( - _lib._class_NSNumber1, - _lib._sel_numberWithDouble_1, - value, - ); - return NSNumber._(_ret, _lib, retain: true, release: true); - } - - static NSNumber numberWithBool_(SwiftLibrary _lib, bool value) { - final _ret = _lib._objc_msgSend_232( - _lib._class_NSNumber1, - _lib._sel_numberWithBool_1, - value, - ); - return NSNumber._(_ret, _lib, retain: true, release: true); - } - - static NSNumber numberWithInteger_(SwiftLibrary _lib, int value) { - final _ret = _lib._objc_msgSend_226( - _lib._class_NSNumber1, - _lib._sel_numberWithInteger_1, - value, - ); - return NSNumber._(_ret, _lib, retain: true, release: true); - } - - static NSNumber numberWithUnsignedInteger_(SwiftLibrary _lib, int value) { - final _ret = _lib._objc_msgSend_227( - _lib._class_NSNumber1, - _lib._sel_numberWithUnsignedInteger_1, - value, - ); - return NSNumber._(_ret, _lib, retain: true, release: true); + static NSNumber alloc() { + final _ret = _objc_msgSend_2(_class_NSNumber, _sel_alloc); + return NSNumber._(_ret, retain: false, release: true); } - @override - NSNumber initWithBytes_objCType_( - ffi.Pointer value, - ffi.Pointer type, - ) { - final _ret = _lib._objc_msgSend_46( - this.pointer, - _lib._sel_initWithBytes_objCType_1, - value, - type, - ); - return NSNumber._(_ret, _lib, retain: true, release: true); + static void cancelPreviousPerformRequestsWithTarget_selector_object_( + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSNumber, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); } - static NSValue valueWithBytes_objCType_( - SwiftLibrary _lib, - ffi.Pointer value, - ffi.Pointer type, - ) { - final _ret = _lib._objc_msgSend_48( - _lib._class_NSNumber1, - _lib._sel_valueWithBytes_objCType_1, - value, - type, - ); - return NSValue._(_ret, _lib, retain: true, release: true); + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSNumber, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); } - static NSValue value_withObjCType_( - SwiftLibrary _lib, - ffi.Pointer value, - ffi.Pointer type, - ) { - final _ret = _lib._objc_msgSend_48( - _lib._class_NSNumber1, - _lib._sel_value_withObjCType_1, - value, - type, - ); - return NSValue._(_ret, _lib, retain: true, release: true); - } - - static NSValue valueWithNonretainedObject_( - SwiftLibrary _lib, - NSObject? anObject, - ) { - final _ret = _lib._objc_msgSend_49( - _lib._class_NSNumber1, - _lib._sel_valueWithNonretainedObject_1, - anObject?.pointer ?? ffi.nullptr, - ); - return NSValue._(_ret, _lib, retain: true, release: true); - } - - static NSValue valueWithPointer_( - SwiftLibrary _lib, - ffi.Pointer pointer, - ) { - final _ret = _lib._objc_msgSend_50( - _lib._class_NSNumber1, - _lib._sel_valueWithPointer_1, - pointer, - ); - return NSValue._(_ret, _lib, retain: true, release: true); - } - - static NSValue valueWithRange_(SwiftLibrary _lib, _NSRange range) { - final _ret = _lib._objc_msgSend_53( - _lib._class_NSNumber1, - _lib._sel_valueWithRange_1, - range, - ); - return NSValue._(_ret, _lib, retain: true, release: true); - } - - static NSValue valueWithPoint_(SwiftLibrary _lib, CGPoint point) { - final _ret = _lib._objc_msgSend_55( - _lib._class_NSNumber1, - _lib._sel_valueWithPoint_1, - point, - ); - return NSValue._(_ret, _lib, retain: true, release: true); - } - - static NSValue valueWithSize_(SwiftLibrary _lib, CGSize size) { - final _ret = _lib._objc_msgSend_56( - _lib._class_NSNumber1, - _lib._sel_valueWithSize_1, - size, - ); - return NSValue._(_ret, _lib, retain: true, release: true); - } - - static NSValue valueWithRect_(SwiftLibrary _lib, CGRect rect) { - final _ret = _lib._objc_msgSend_57( - _lib._class_NSNumber1, - _lib._sel_valueWithRect_1, - rect, - ); - return NSValue._(_ret, _lib, retain: true, release: true); - } - - static NSValue valueWithEdgeInsets_(SwiftLibrary _lib, NSEdgeInsets insets) { - final _ret = _lib._objc_msgSend_58( - _lib._class_NSNumber1, - _lib._sel_valueWithEdgeInsets_1, - insets, - ); - return NSValue._(_ret, _lib, retain: true, release: true); + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSNumber, _sel_accessInstanceVariablesDirectly); } - @override - NSNumber init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSNumber._(_ret, _lib, retain: true, release: true); + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSNumber, _sel_useStoredAccessor); } - static NSNumber new1(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2(_lib._class_NSNumber1, _lib._sel_new1); - return NSNumber._(_ret, _lib, retain: false, release: true); + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSNumber, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); } - static NSNumber allocWithZone_(SwiftLibrary _lib, ffi.Pointer<_NSZone> zone) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSNumber1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSNumber._(_ret, _lib, retain: false, release: true); + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSNumber, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); } - static NSNumber alloc(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2(_lib._class_NSNumber1, _lib._sel_alloc1); - return NSNumber._(_ret, _lib, retain: false, release: true); + static void setKeys_triggerChangeNotificationsForDependentKey_( + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSNumber, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); } - static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSNumber1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSNumber1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSNumber1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSNumber1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSNumber1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSNumber1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + static NSArray classFallbacksForKeyedArchiver() { + final _ret = + _objc_msgSend_85(_class_NSNumber, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); } - static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSNumber1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSNumber1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSNumber1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + static NSObject classForKeyedUnarchiver() { + final _ret = _objc_msgSend_2(_class_NSNumber, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); } } +late final _class_NSNumber = objc.getClass("NSNumber"); + class NSValue extends NSObject { - NSValue._( - ffi.Pointer pointer, - SwiftLibrary lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSValue._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSValue] that points to the same underlying object as [other]. - static NSValue castFrom( - SwiftLibrary lib, - T other, - ) { - return NSValue._(other.pointer, lib, retain: true, release: true); + static NSValue castFrom(T other) { + return NSValue._(other.pointer, retain: true, release: true); } /// Returns a [NSValue] that wraps the given raw object pointer. - static NSValue castFromPointer( - SwiftLibrary lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSValue._(other, lib, retain: retain, release: release); + static NSValue castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSValue._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSValue]. - static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSValue1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0(obj.pointer, _sel_isKindOfClass_, _class_NSValue); } void getValue_size_(ffi.Pointer value, int size) { - _lib._objc_msgSend_22(this.pointer, _lib._sel_getValue_size_1, value, size); + _objc_msgSend_22(this.pointer, _sel_getValue_size_, value, size); } ffi.Pointer get objCType { - return _lib._objc_msgSend_13(this.pointer, _lib._sel_objCType1); + return _objc_msgSend_13(this.pointer, _sel_objCType); } NSValue initWithBytes_objCType_( - ffi.Pointer value, - ffi.Pointer type, - ) { - final _ret = _lib._objc_msgSend_46( - this.pointer, - _lib._sel_initWithBytes_objCType_1, - value, - type, - ); - return NSValue._(_ret, _lib, retain: true, release: true); + ffi.Pointer value, ffi.Pointer type) { + final _ret = _objc_msgSend_46( + this.pointer, _sel_initWithBytes_objCType_, value, type); + return NSValue._(_ret, retain: true, release: true); } NSValue? initWithCoder_(NSCoder coder) { - final _ret = _lib._objc_msgSend_47( - this.pointer, - _lib._sel_initWithCoder_1, - coder.pointer, - ); + final _ret = + _objc_msgSend_47(this.pointer, _sel_initWithCoder_, coder.pointer); return _ret.address == 0 ? null - : NSValue._(_ret, _lib, retain: true, release: true); + : NSValue._(_ret, retain: true, release: true); } static NSValue valueWithBytes_objCType_( - SwiftLibrary _lib, - ffi.Pointer value, - ffi.Pointer type, - ) { - final _ret = _lib._objc_msgSend_48( - _lib._class_NSValue1, - _lib._sel_valueWithBytes_objCType_1, - value, - type, - ); - return NSValue._(_ret, _lib, retain: true, release: true); + ffi.Pointer value, ffi.Pointer type) { + final _ret = _objc_msgSend_48( + _class_NSValue, _sel_valueWithBytes_objCType_, value, type); + return NSValue._(_ret, retain: true, release: true); } static NSValue value_withObjCType_( - SwiftLibrary _lib, - ffi.Pointer value, - ffi.Pointer type, - ) { - final _ret = _lib._objc_msgSend_48( - _lib._class_NSValue1, - _lib._sel_value_withObjCType_1, - value, - type, - ); - return NSValue._(_ret, _lib, retain: true, release: true); - } - - static NSValue valueWithNonretainedObject_( - SwiftLibrary _lib, - NSObject? anObject, - ) { - final _ret = _lib._objc_msgSend_49( - _lib._class_NSValue1, - _lib._sel_valueWithNonretainedObject_1, - anObject?.pointer ?? ffi.nullptr, - ); - return NSValue._(_ret, _lib, retain: true, release: true); + ffi.Pointer value, ffi.Pointer type) { + final _ret = + _objc_msgSend_48(_class_NSValue, _sel_value_withObjCType_, value, type); + return NSValue._(_ret, retain: true, release: true); + } + + static NSValue valueWithNonretainedObject_(NSObject? anObject) { + final _ret = _objc_msgSend_49(_class_NSValue, + _sel_valueWithNonretainedObject_, anObject?.pointer ?? ffi.nullptr); + return NSValue._(_ret, retain: true, release: true); } NSObject? get nonretainedObjectValue { - final _ret = _lib._objc_msgSend_17( - this.pointer, - _lib._sel_nonretainedObjectValue1, - ); + final _ret = _objc_msgSend_17(this.pointer, _sel_nonretainedObjectValue); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } - static NSValue valueWithPointer_( - SwiftLibrary _lib, - ffi.Pointer pointer, - ) { - final _ret = _lib._objc_msgSend_50( - _lib._class_NSValue1, - _lib._sel_valueWithPointer_1, - pointer, - ); - return NSValue._(_ret, _lib, retain: true, release: true); + static NSValue valueWithPointer_(ffi.Pointer pointer) { + final _ret = + _objc_msgSend_50(_class_NSValue, _sel_valueWithPointer_, pointer); + return NSValue._(_ret, retain: true, release: true); } ffi.Pointer get pointerValue { - return _lib._objc_msgSend_20(this.pointer, _lib._sel_pointerValue1); + return _objc_msgSend_20(this.pointer, _sel_pointerValue); } bool isEqualToValue_(NSValue value) { - return _lib._objc_msgSend_51( - this.pointer, - _lib._sel_isEqualToValue_1, - value.pointer, - ); + return _objc_msgSend_51(this.pointer, _sel_isEqualToValue_, value.pointer); } void getValue_(ffi.Pointer value) { - _lib._objc_msgSend_52(this.pointer, _lib._sel_getValue_1, value); + _objc_msgSend_52(this.pointer, _sel_getValue_, value); } - static NSValue valueWithRange_(SwiftLibrary _lib, _NSRange range) { - final _ret = _lib._objc_msgSend_53( - _lib._class_NSValue1, - _lib._sel_valueWithRange_1, - range, - ); - return NSValue._(_ret, _lib, retain: true, release: true); + static NSValue valueWithRange_(_NSRange range) { + final _ret = _objc_msgSend_53(_class_NSValue, _sel_valueWithRange_, range); + return NSValue._(_ret, retain: true, release: true); } void getRangeValue(ffi.Pointer<_NSRange> stret) { objc.useMsgSendVariants - ? _lib._objc_msgSend_54_stret( - stret, - this.pointer, - _lib._sel_rangeValue1, - ) - : stret.ref = _lib._objc_msgSend_54( - this.pointer, - _lib._sel_rangeValue1, - ); + ? _objc_msgSend_54Stret(stret, this.pointer, _sel_rangeValue) + : stret.ref = _objc_msgSend_54(this.pointer, _sel_rangeValue); } - static NSValue valueWithPoint_(SwiftLibrary _lib, CGPoint point) { - final _ret = _lib._objc_msgSend_55( - _lib._class_NSValue1, - _lib._sel_valueWithPoint_1, - point, - ); - return NSValue._(_ret, _lib, retain: true, release: true); + static NSValue valueWithPoint_(CGPoint point) { + final _ret = _objc_msgSend_55(_class_NSValue, _sel_valueWithPoint_, point); + return NSValue._(_ret, retain: true, release: true); } - static NSValue valueWithSize_(SwiftLibrary _lib, CGSize size) { - final _ret = _lib._objc_msgSend_56( - _lib._class_NSValue1, - _lib._sel_valueWithSize_1, - size, - ); - return NSValue._(_ret, _lib, retain: true, release: true); + static NSValue valueWithSize_(CGSize size) { + final _ret = _objc_msgSend_56(_class_NSValue, _sel_valueWithSize_, size); + return NSValue._(_ret, retain: true, release: true); } - static NSValue valueWithRect_(SwiftLibrary _lib, CGRect rect) { - final _ret = _lib._objc_msgSend_57( - _lib._class_NSValue1, - _lib._sel_valueWithRect_1, - rect, - ); - return NSValue._(_ret, _lib, retain: true, release: true); + static NSValue valueWithRect_(CGRect rect) { + final _ret = _objc_msgSend_57(_class_NSValue, _sel_valueWithRect_, rect); + return NSValue._(_ret, retain: true, release: true); } - static NSValue valueWithEdgeInsets_(SwiftLibrary _lib, NSEdgeInsets insets) { - final _ret = _lib._objc_msgSend_58( - _lib._class_NSValue1, - _lib._sel_valueWithEdgeInsets_1, - insets, - ); - return NSValue._(_ret, _lib, retain: true, release: true); + static NSValue valueWithEdgeInsets_(NSEdgeInsets insets) { + final _ret = + _objc_msgSend_58(_class_NSValue, _sel_valueWithEdgeInsets_, insets); + return NSValue._(_ret, retain: true, release: true); } void getPointValue(ffi.Pointer stret) { objc.useMsgSendVariants - ? _lib._objc_msgSend_59_stret( - stret, - this.pointer, - _lib._sel_pointValue1, - ) - : stret.ref = _lib._objc_msgSend_59( - this.pointer, - _lib._sel_pointValue1, - ); + ? _objc_msgSend_59Stret(stret, this.pointer, _sel_pointValue) + : stret.ref = _objc_msgSend_59(this.pointer, _sel_pointValue); } void getSizeValue(ffi.Pointer stret) { objc.useMsgSendVariants - ? _lib._objc_msgSend_60_stret(stret, this.pointer, _lib._sel_sizeValue1) - : stret.ref = _lib._objc_msgSend_60(this.pointer, _lib._sel_sizeValue1); + ? _objc_msgSend_60Stret(stret, this.pointer, _sel_sizeValue) + : stret.ref = _objc_msgSend_60(this.pointer, _sel_sizeValue); } void getRectValue(ffi.Pointer stret) { objc.useMsgSendVariants - ? _lib._objc_msgSend_61_stret(stret, this.pointer, _lib._sel_rectValue1) - : stret.ref = _lib._objc_msgSend_61(this.pointer, _lib._sel_rectValue1); + ? _objc_msgSend_61Stret(stret, this.pointer, _sel_rectValue) + : stret.ref = _objc_msgSend_61(this.pointer, _sel_rectValue); } void getEdgeInsetsValue(ffi.Pointer stret) { objc.useMsgSendVariants - ? _lib._objc_msgSend_62_stret( - stret, - this.pointer, - _lib._sel_edgeInsetsValue1, - ) - : stret.ref = _lib._objc_msgSend_62( - this.pointer, - _lib._sel_edgeInsetsValue1, - ); + ? _objc_msgSend_62Stret(stret, this.pointer, _sel_edgeInsetsValue) + : stret.ref = _objc_msgSend_62(this.pointer, _sel_edgeInsetsValue); } @override NSValue init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSValue._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSValue._(_ret, retain: true, release: true); } - static NSValue new1(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2(_lib._class_NSValue1, _lib._sel_new1); - return NSValue._(_ret, _lib, retain: false, release: true); + static NSValue new1() { + final _ret = _objc_msgSend_2(_class_NSValue, _sel_new); + return NSValue._(_ret, retain: false, release: true); } - static NSValue allocWithZone_(SwiftLibrary _lib, ffi.Pointer<_NSZone> zone) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSValue1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSValue._(_ret, _lib, retain: false, release: true); + static NSValue allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = _objc_msgSend_3(_class_NSValue, _sel_allocWithZone_, zone); + return NSValue._(_ret, retain: false, release: true); } - static NSValue alloc(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2(_lib._class_NSValue1, _lib._sel_alloc1); - return NSValue._(_ret, _lib, retain: false, release: true); + static NSValue alloc() { + final _ret = _objc_msgSend_2(_class_NSValue, _sel_alloc); + return NSValue._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSValue1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSValue1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSValue1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSValue1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSValue1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSValue1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSValue, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); + } + + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSValue, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); + } + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSValue, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSValue, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSValue, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSValue, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); } static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSValue1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSValue1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSValue1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSValue, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = + _objc_msgSend_85(_class_NSValue, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = _objc_msgSend_2(_class_NSValue, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); } } +late final _class_NSValue = objc.getClass("NSValue"); +late final _sel_getValue_size_ = objc.registerName("getValue:size:"); +late final _sel_objCType = objc.registerName("objCType"); +late final _sel_initWithBytes_objCType_ = + objc.registerName("initWithBytes:objCType:"); +final _objc_msgSend_46 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value, + ffi.Pointer type)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_initWithCoder_ = objc.registerName("initWithCoder:"); +final _objc_msgSend_47 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer coder)>>() + .asFunction< + instancetype Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_valueWithBytes_objCType_ = + objc.registerName("valueWithBytes:objCType:"); +final _objc_msgSend_48 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value, + ffi.Pointer type)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_value_withObjCType_ = objc.registerName("value:withObjCType:"); +late final _sel_valueWithNonretainedObject_ = + objc.registerName("valueWithNonretainedObject:"); +final _objc_msgSend_49 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer anObject)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_nonretainedObjectValue = + objc.registerName("nonretainedObjectValue"); +late final _sel_valueWithPointer_ = objc.registerName("valueWithPointer:"); +final _objc_msgSend_50 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer pointer)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_pointerValue = objc.registerName("pointerValue"); +late final _sel_isEqualToValue_ = objc.registerName("isEqualToValue:"); +final _objc_msgSend_51 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value)>>() + .asFunction< + bool Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_getValue_ = objc.registerName("getValue:"); +final _objc_msgSend_52 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_valueWithRange_ = objc.registerName("valueWithRange:"); +final _objc_msgSend_53 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + _NSRange range)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, _NSRange)>(); +late final _sel_rangeValue = objc.registerName("rangeValue"); +final _objc_msgSend_54 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + _NSRange Function(ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + _NSRange Function( + ffi.Pointer, ffi.Pointer)>(); +final _objc_msgSend_54Stret = objc.msgSendStretPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer<_NSRange> stret, + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + void Function(ffi.Pointer<_NSRange>, ffi.Pointer, + ffi.Pointer)>(); + final class CGPoint extends ffi.Struct { @ffi.Double() external double x; @@ -43056,6 +6346,18 @@ final class CGPoint extends ffi.Struct { external double y; } +late final _sel_valueWithPoint_ = objc.registerName("valueWithPoint:"); +final _objc_msgSend_55 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + CGPoint point)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, CGPoint)>(); + final class CGSize extends ffi.Struct { @ffi.Double() external double width; @@ -43064,12 +6366,36 @@ final class CGSize extends ffi.Struct { external double height; } +late final _sel_valueWithSize_ = objc.registerName("valueWithSize:"); +final _objc_msgSend_56 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + CGSize size)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, CGSize)>(); + final class CGRect extends ffi.Struct { external CGPoint origin; external CGSize size; } +late final _sel_valueWithRect_ = objc.registerName("valueWithRect:"); +final _objc_msgSend_57 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + CGRect rect)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, CGRect)>(); + final class NSEdgeInsets extends ffi.Struct { @ffi.Double() external double top; @@ -43084,1300 +6410,1300 @@ final class NSEdgeInsets extends ffi.Struct { external double right; } +late final _sel_valueWithEdgeInsets_ = + objc.registerName("valueWithEdgeInsets:"); +final _objc_msgSend_58 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + NSEdgeInsets insets)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, NSEdgeInsets)>(); +late final _sel_pointValue = objc.registerName("pointValue"); +final _objc_msgSend_59 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + CGPoint Function(ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + CGPoint Function( + ffi.Pointer, ffi.Pointer)>(); +final _objc_msgSend_59Stret = objc.msgSendStretPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer stret, + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + void Function(ffi.Pointer, ffi.Pointer, + ffi.Pointer)>(); +late final _sel_sizeValue = objc.registerName("sizeValue"); +final _objc_msgSend_60 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + CGSize Function(ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + CGSize Function( + ffi.Pointer, ffi.Pointer)>(); +final _objc_msgSend_60Stret = objc.msgSendStretPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer stret, + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + void Function(ffi.Pointer, ffi.Pointer, + ffi.Pointer)>(); +late final _sel_rectValue = objc.registerName("rectValue"); +final _objc_msgSend_61 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + CGRect Function(ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + CGRect Function( + ffi.Pointer, ffi.Pointer)>(); +final _objc_msgSend_61Stret = objc.msgSendStretPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer stret, + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + void Function(ffi.Pointer, ffi.Pointer, + ffi.Pointer)>(); +late final _sel_edgeInsetsValue = objc.registerName("edgeInsetsValue"); +final _objc_msgSend_62 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + NSEdgeInsets Function(ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + NSEdgeInsets Function( + ffi.Pointer, ffi.Pointer)>(); +final _objc_msgSend_62Stret = objc.msgSendStretPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer stret, + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + void Function(ffi.Pointer, ffi.Pointer, + ffi.Pointer)>(); +late final _sel_keyPathsForValuesAffectingValueForKey_ = + objc.registerName("keyPathsForValuesAffectingValueForKey:"); +final _objc_msgSend_63 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer key)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_automaticallyNotifiesObserversForKey_ = + objc.registerName("automaticallyNotifiesObserversForKey:"); +final _objc_msgSend_64 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer key)>>() + .asFunction< + bool Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); + class NSArray extends NSObject { - NSArray._( - ffi.Pointer pointer, - SwiftLibrary lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSArray._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSArray] that points to the same underlying object as [other]. - static NSArray castFrom( - SwiftLibrary lib, - T other, - ) { - return NSArray._(other.pointer, lib, retain: true, release: true); + static NSArray castFrom(T other) { + return NSArray._(other.pointer, retain: true, release: true); } /// Returns a [NSArray] that wraps the given raw object pointer. - static NSArray castFromPointer( - SwiftLibrary lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSArray._(other, lib, retain: retain, release: release); + static NSArray castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSArray._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSArray]. - static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSArray1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0(obj.pointer, _sel_isKindOfClass_, _class_NSArray); } int get count { - return _lib._objc_msgSend_10(this.pointer, _lib._sel_count1); + return _objc_msgSend_10(this.pointer, _sel_count); } NSObject objectAtIndex_(int index) { - final _ret = _lib._objc_msgSend_65( - this.pointer, - _lib._sel_objectAtIndex_1, - index, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_65(this.pointer, _sel_objectAtIndex_, index); + return NSObject._(_ret, retain: true, release: true); } @override NSArray init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSArray._(_ret, retain: true, release: true); } NSArray initWithObjects_count_( - ffi.Pointer> objects, - int cnt, - ) { - final _ret = _lib._objc_msgSend_66( - this.pointer, - _lib._sel_initWithObjects_count_1, - objects, - cnt, - ); - return NSArray._(_ret, _lib, retain: true, release: true); + ffi.Pointer> objects, int cnt) { + final _ret = _objc_msgSend_66( + this.pointer, _sel_initWithObjects_count_, objects, cnt); + return NSArray._(_ret, retain: true, release: true); } NSArray? initWithCoder_(NSCoder coder) { - final _ret = _lib._objc_msgSend_47( - this.pointer, - _lib._sel_initWithCoder_1, - coder.pointer, - ); + final _ret = + _objc_msgSend_47(this.pointer, _sel_initWithCoder_, coder.pointer); return _ret.address == 0 ? null - : NSArray._(_ret, _lib, retain: true, release: true); + : NSArray._(_ret, retain: true, release: true); } NSArray arrayByAddingObject_(NSObject anObject) { - final _ret = _lib._objc_msgSend_67( - this.pointer, - _lib._sel_arrayByAddingObject_1, - anObject.pointer, - ); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_67( + this.pointer, _sel_arrayByAddingObject_, anObject.pointer); + return NSArray._(_ret, retain: true, release: true); } NSArray arrayByAddingObjectsFromArray_(NSArray otherArray) { - final _ret = _lib._objc_msgSend_68( - this.pointer, - _lib._sel_arrayByAddingObjectsFromArray_1, - otherArray.pointer, - ); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_68( + this.pointer, _sel_arrayByAddingObjectsFromArray_, otherArray.pointer); + return NSArray._(_ret, retain: true, release: true); } NSString componentsJoinedByString_(NSString separator) { - final _ret = _lib._objc_msgSend_69( - this.pointer, - _lib._sel_componentsJoinedByString_1, - separator.pointer, - ); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_69( + this.pointer, _sel_componentsJoinedByString_, separator.pointer); + return NSString._(_ret, retain: true, release: true); } bool containsObject_(NSObject anObject) { - return _lib._objc_msgSend_0( - this.pointer, - _lib._sel_containsObject_1, - anObject.pointer, - ); + return _objc_msgSend_0( + this.pointer, _sel_containsObject_, anObject.pointer); } NSString get description { - final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_description1); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_description); + return NSString._(_ret, retain: true, release: true); } NSString descriptionWithLocale_(NSObject? locale) { - final _ret = _lib._objc_msgSend_70( - this.pointer, - _lib._sel_descriptionWithLocale_1, - locale?.pointer ?? ffi.nullptr, - ); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_70(this.pointer, _sel_descriptionWithLocale_, + locale?.pointer ?? ffi.nullptr); + return NSString._(_ret, retain: true, release: true); } NSString descriptionWithLocale_indent_(NSObject? locale, int level) { - final _ret = _lib._objc_msgSend_71( - this.pointer, - _lib._sel_descriptionWithLocale_indent_1, - locale?.pointer ?? ffi.nullptr, - level, - ); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_71( + this.pointer, + _sel_descriptionWithLocale_indent_, + locale?.pointer ?? ffi.nullptr, + level); + return NSString._(_ret, retain: true, release: true); } NSObject? firstObjectCommonWithArray_(NSArray otherArray) { - final _ret = _lib._objc_msgSend_72( - this.pointer, - _lib._sel_firstObjectCommonWithArray_1, - otherArray.pointer, - ); + final _ret = _objc_msgSend_72( + this.pointer, _sel_firstObjectCommonWithArray_, otherArray.pointer); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } void getObjects_range_( - ffi.Pointer> objects, - _NSRange range, - ) { - _lib._objc_msgSend_73( - this.pointer, - _lib._sel_getObjects_range_1, - objects, - range, - ); + ffi.Pointer> objects, _NSRange range) { + _objc_msgSend_73(this.pointer, _sel_getObjects_range_, objects, range); } int indexOfObject_(NSObject anObject) { - return _lib._objc_msgSend_74( - this.pointer, - _lib._sel_indexOfObject_1, - anObject.pointer, - ); + return _objc_msgSend_74( + this.pointer, _sel_indexOfObject_, anObject.pointer); } int indexOfObject_inRange_(NSObject anObject, _NSRange range) { - return _lib._objc_msgSend_75( - this.pointer, - _lib._sel_indexOfObject_inRange_1, - anObject.pointer, - range, - ); + return _objc_msgSend_75( + this.pointer, _sel_indexOfObject_inRange_, anObject.pointer, range); } int indexOfObjectIdenticalTo_(NSObject anObject) { - return _lib._objc_msgSend_74( - this.pointer, - _lib._sel_indexOfObjectIdenticalTo_1, - anObject.pointer, - ); + return _objc_msgSend_74( + this.pointer, _sel_indexOfObjectIdenticalTo_, anObject.pointer); } int indexOfObjectIdenticalTo_inRange_(NSObject anObject, _NSRange range) { - return _lib._objc_msgSend_75( - this.pointer, - _lib._sel_indexOfObjectIdenticalTo_inRange_1, - anObject.pointer, - range, - ); + return _objc_msgSend_75(this.pointer, + _sel_indexOfObjectIdenticalTo_inRange_, anObject.pointer, range); } bool isEqualToArray_(NSArray otherArray) { - return _lib._objc_msgSend_76( - this.pointer, - _lib._sel_isEqualToArray_1, - otherArray.pointer, - ); + return _objc_msgSend_76( + this.pointer, _sel_isEqualToArray_, otherArray.pointer); } NSObject? get firstObject { - final _ret = _lib._objc_msgSend_17(this.pointer, _lib._sel_firstObject1); + final _ret = _objc_msgSend_17(this.pointer, _sel_firstObject); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } NSObject? get lastObject { - final _ret = _lib._objc_msgSend_17(this.pointer, _lib._sel_lastObject1); + final _ret = _objc_msgSend_17(this.pointer, _sel_lastObject); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } NSEnumerator objectEnumerator() { - final _ret = _lib._objc_msgSend_77( - this.pointer, - _lib._sel_objectEnumerator1, - ); - return NSEnumerator._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_77(this.pointer, _sel_objectEnumerator); + return NSEnumerator._(_ret, retain: true, release: true); } NSEnumerator reverseObjectEnumerator() { - final _ret = _lib._objc_msgSend_77( - this.pointer, - _lib._sel_reverseObjectEnumerator1, - ); - return NSEnumerator._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_77(this.pointer, _sel_reverseObjectEnumerator); + return NSEnumerator._(_ret, retain: true, release: true); } NSData get sortedArrayHint { - final _ret = _lib._objc_msgSend_43( - this.pointer, - _lib._sel_sortedArrayHint1, - ); - return NSData._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_43(this.pointer, _sel_sortedArrayHint); + return NSData._(_ret, retain: true, release: true); } NSArray sortedArrayUsingFunction_context_( - ffi.Pointer< - ffi.NativeFunction< - ffi.Long Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>> - comparator, - ffi.Pointer context, - ) { - final _ret = _lib._objc_msgSend_78( - this.pointer, - _lib._sel_sortedArrayUsingFunction_context_1, - comparator, - context, - ); - return NSArray._(_ret, _lib, retain: true, release: true); + ffi.Pointer< + ffi.NativeFunction< + ffi.Long Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>> + comparator, + ffi.Pointer context) { + final _ret = _objc_msgSend_78(this.pointer, + _sel_sortedArrayUsingFunction_context_, comparator, context); + return NSArray._(_ret, retain: true, release: true); } NSArray sortedArrayUsingFunction_context_hint_( - ffi.Pointer< - ffi.NativeFunction< - ffi.Long Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>> + ffi.Pointer< + ffi.NativeFunction< + ffi.Long Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>> + comparator, + ffi.Pointer context, + NSData? hint) { + final _ret = _objc_msgSend_79( + this.pointer, + _sel_sortedArrayUsingFunction_context_hint_, comparator, - ffi.Pointer context, - NSData? hint, - ) { - final _ret = _lib._objc_msgSend_79( - this.pointer, - _lib._sel_sortedArrayUsingFunction_context_hint_1, - comparator, - context, - hint?.pointer ?? ffi.nullptr, - ); - return NSArray._(_ret, _lib, retain: true, release: true); + context, + hint?.pointer ?? ffi.nullptr); + return NSArray._(_ret, retain: true, release: true); } NSArray sortedArrayUsingSelector_(ffi.Pointer comparator) { - final _ret = _lib._objc_msgSend_80( - this.pointer, - _lib._sel_sortedArrayUsingSelector_1, - comparator, - ); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_80( + this.pointer, _sel_sortedArrayUsingSelector_, comparator); + return NSArray._(_ret, retain: true, release: true); } NSArray subarrayWithRange_(_NSRange range) { - final _ret = _lib._objc_msgSend_81( - this.pointer, - _lib._sel_subarrayWithRange_1, - range, - ); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_81(this.pointer, _sel_subarrayWithRange_, range); + return NSArray._(_ret, retain: true, release: true); } bool writeToURL_error_( - NSURL url, - ffi.Pointer> error, - ) { - return _lib._objc_msgSend_89( - this.pointer, - _lib._sel_writeToURL_error_1, - url.pointer, - error, - ); + NSURL url, ffi.Pointer> error) { + return _objc_msgSend_89( + this.pointer, _sel_writeToURL_error_, url.pointer, error); } void makeObjectsPerformSelector_(ffi.Pointer aSelector) { - _lib._objc_msgSend_7( - this.pointer, - _lib._sel_makeObjectsPerformSelector_1, - aSelector, - ); + _objc_msgSend_7(this.pointer, _sel_makeObjectsPerformSelector_, aSelector); } void makeObjectsPerformSelector_withObject_( - ffi.Pointer aSelector, - NSObject? argument, - ) { - _lib._objc_msgSend_90( - this.pointer, - _lib._sel_makeObjectsPerformSelector_withObject_1, - aSelector, - argument?.pointer ?? ffi.nullptr, - ); + ffi.Pointer aSelector, NSObject? argument) { + _objc_msgSend_90(this.pointer, _sel_makeObjectsPerformSelector_withObject_, + aSelector, argument?.pointer ?? ffi.nullptr); } NSArray objectsAtIndexes_(NSIndexSet indexes) { - final _ret = _lib._objc_msgSend_111( - this.pointer, - _lib._sel_objectsAtIndexes_1, - indexes.pointer, - ); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_111( + this.pointer, _sel_objectsAtIndexes_, indexes.pointer); + return NSArray._(_ret, retain: true, release: true); } NSObject objectAtIndexedSubscript_(int idx) { - final _ret = _lib._objc_msgSend_65( - this.pointer, - _lib._sel_objectAtIndexedSubscript_1, - idx, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_65(this.pointer, _sel_objectAtIndexedSubscript_, idx); + return NSObject._(_ret, retain: true, release: true); } void enumerateObjectsUsingBlock_( - ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool block, - ) { - _lib._objc_msgSend_112( - this.pointer, - _lib._sel_enumerateObjectsUsingBlock_1, - block.pointer, - ); + ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool block) { + _objc_msgSend_112( + this.pointer, _sel_enumerateObjectsUsingBlock_, block.pointer); } void enumerateObjectsWithOptions_usingBlock_( - int opts, - ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool block, - ) { - _lib._objc_msgSend_113( - this.pointer, - _lib._sel_enumerateObjectsWithOptions_usingBlock_1, - opts, - block.pointer, - ); - } - - void enumerateObjectsAtIndexes_options_usingBlock_( - NSIndexSet s, - int opts, - ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool block, - ) { - _lib._objc_msgSend_114( - this.pointer, - _lib._sel_enumerateObjectsAtIndexes_options_usingBlock_1, - s.pointer, - opts, - block.pointer, - ); + int opts, ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool block) { + _objc_msgSend_113(this.pointer, + _sel_enumerateObjectsWithOptions_usingBlock_, opts, block.pointer); + } + + void enumerateObjectsAtIndexes_options_usingBlock_(NSIndexSet s, int opts, + ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool block) { + _objc_msgSend_114( + this.pointer, + _sel_enumerateObjectsAtIndexes_options_usingBlock_, + s.pointer, + opts, + block.pointer); } int indexOfObjectPassingTest_( - ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool predicate, - ) { - return _lib._objc_msgSend_115( - this.pointer, - _lib._sel_indexOfObjectPassingTest_1, - predicate.pointer, - ); + ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool predicate) { + return _objc_msgSend_115( + this.pointer, _sel_indexOfObjectPassingTest_, predicate.pointer); } int indexOfObjectWithOptions_passingTest_( - int opts, - ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool predicate, - ) { - return _lib._objc_msgSend_116( - this.pointer, - _lib._sel_indexOfObjectWithOptions_passingTest_1, - opts, - predicate.pointer, - ); - } - - int indexOfObjectAtIndexes_options_passingTest_( - NSIndexSet s, - int opts, - ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool predicate, - ) { - return _lib._objc_msgSend_117( - this.pointer, - _lib._sel_indexOfObjectAtIndexes_options_passingTest_1, - s.pointer, - opts, - predicate.pointer, - ); + int opts, ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool predicate) { + return _objc_msgSend_116(this.pointer, + _sel_indexOfObjectWithOptions_passingTest_, opts, predicate.pointer); + } + + int indexOfObjectAtIndexes_options_passingTest_(NSIndexSet s, int opts, + ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool predicate) { + return _objc_msgSend_117( + this.pointer, + _sel_indexOfObjectAtIndexes_options_passingTest_, + s.pointer, + opts, + predicate.pointer); } NSIndexSet indexesOfObjectsPassingTest_( - ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool predicate, - ) { - final _ret = _lib._objc_msgSend_118( - this.pointer, - _lib._sel_indexesOfObjectsPassingTest_1, - predicate.pointer, - ); - return NSIndexSet._(_ret, _lib, retain: true, release: true); + ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool predicate) { + final _ret = _objc_msgSend_118( + this.pointer, _sel_indexesOfObjectsPassingTest_, predicate.pointer); + return NSIndexSet._(_ret, retain: true, release: true); } NSIndexSet indexesOfObjectsWithOptions_passingTest_( - int opts, - ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool predicate, - ) { - final _ret = _lib._objc_msgSend_119( - this.pointer, - _lib._sel_indexesOfObjectsWithOptions_passingTest_1, - opts, - predicate.pointer, - ); - return NSIndexSet._(_ret, _lib, retain: true, release: true); - } - - NSIndexSet indexesOfObjectsAtIndexes_options_passingTest_( - NSIndexSet s, - int opts, - ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool predicate, - ) { - final _ret = _lib._objc_msgSend_120( - this.pointer, - _lib._sel_indexesOfObjectsAtIndexes_options_passingTest_1, - s.pointer, - opts, - predicate.pointer, - ); - return NSIndexSet._(_ret, _lib, retain: true, release: true); + int opts, ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool predicate) { + final _ret = _objc_msgSend_119(this.pointer, + _sel_indexesOfObjectsWithOptions_passingTest_, opts, predicate.pointer); + return NSIndexSet._(_ret, retain: true, release: true); + } + + NSIndexSet indexesOfObjectsAtIndexes_options_passingTest_(NSIndexSet s, + int opts, ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool predicate) { + final _ret = _objc_msgSend_120( + this.pointer, + _sel_indexesOfObjectsAtIndexes_options_passingTest_, + s.pointer, + opts, + predicate.pointer); + return NSIndexSet._(_ret, retain: true, release: true); } NSArray sortedArrayUsingComparator_( - ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject cmptr, - ) { - final _ret = _lib._objc_msgSend_121( - this.pointer, - _lib._sel_sortedArrayUsingComparator_1, - cmptr.pointer, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - NSArray sortedArrayWithOptions_usingComparator_( - int opts, - ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject cmptr, - ) { - final _ret = _lib._objc_msgSend_122( - this.pointer, - _lib._sel_sortedArrayWithOptions_usingComparator_1, - opts, - cmptr.pointer, - ); - return NSArray._(_ret, _lib, retain: true, release: true); + ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject cmptr) { + final _ret = _objc_msgSend_121( + this.pointer, _sel_sortedArrayUsingComparator_, cmptr.pointer); + return NSArray._(_ret, retain: true, release: true); + } + + NSArray sortedArrayWithOptions_usingComparator_(int opts, + ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject cmptr) { + final _ret = _objc_msgSend_122(this.pointer, + _sel_sortedArrayWithOptions_usingComparator_, opts, cmptr.pointer); + return NSArray._(_ret, retain: true, release: true); } int indexOfObject_inSortedRange_options_usingComparator_( - NSObject obj, - _NSRange r, - int opts, - ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject cmp, - ) { - return _lib._objc_msgSend_123( - this.pointer, - _lib._sel_indexOfObject_inSortedRange_options_usingComparator_1, - obj.pointer, - r, - opts, - cmp.pointer, - ); - } - - static NSArray array(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2(_lib._class_NSArray1, _lib._sel_array1); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSArray arrayWithObject_(SwiftLibrary _lib, NSObject anObject) { - final _ret = _lib._objc_msgSend_124( - _lib._class_NSArray1, - _lib._sel_arrayWithObject_1, - anObject.pointer, - ); - return NSArray._(_ret, _lib, retain: true, release: true); + NSObject obj, + _NSRange r, + int opts, + ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject cmp) { + return _objc_msgSend_123( + this.pointer, + _sel_indexOfObject_inSortedRange_options_usingComparator_, + obj.pointer, + r, + opts, + cmp.pointer); + } + + static NSArray array() { + final _ret = _objc_msgSend_2(_class_NSArray, _sel_array); + return NSArray._(_ret, retain: true, release: true); + } + + static NSArray arrayWithObject_(NSObject anObject) { + final _ret = _objc_msgSend_124( + _class_NSArray, _sel_arrayWithObject_, anObject.pointer); + return NSArray._(_ret, retain: true, release: true); } static NSArray arrayWithObjects_count_( - SwiftLibrary _lib, - ffi.Pointer> objects, - int cnt, - ) { - final _ret = _lib._objc_msgSend_66( - _lib._class_NSArray1, - _lib._sel_arrayWithObjects_count_1, - objects, - cnt, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSArray arrayWithObjects_(SwiftLibrary _lib, NSObject firstObj) { - final _ret = _lib._objc_msgSend_124( - _lib._class_NSArray1, - _lib._sel_arrayWithObjects_1, - firstObj.pointer, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSArray arrayWithArray_(SwiftLibrary _lib, NSArray array) { - final _ret = _lib._objc_msgSend_125( - _lib._class_NSArray1, - _lib._sel_arrayWithArray_1, - array.pointer, - ); - return NSArray._(_ret, _lib, retain: true, release: true); + ffi.Pointer> objects, int cnt) { + final _ret = _objc_msgSend_66( + _class_NSArray, _sel_arrayWithObjects_count_, objects, cnt); + return NSArray._(_ret, retain: true, release: true); + } + + static NSArray arrayWithObjects_(NSObject firstObj) { + final _ret = _objc_msgSend_124( + _class_NSArray, _sel_arrayWithObjects_, firstObj.pointer); + return NSArray._(_ret, retain: true, release: true); + } + + static NSArray arrayWithArray_(NSArray array) { + final _ret = + _objc_msgSend_125(_class_NSArray, _sel_arrayWithArray_, array.pointer); + return NSArray._(_ret, retain: true, release: true); } NSArray initWithObjects_(NSObject firstObj) { - final _ret = _lib._objc_msgSend_124( - this.pointer, - _lib._sel_initWithObjects_1, - firstObj.pointer, - ); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_124( + this.pointer, _sel_initWithObjects_, firstObj.pointer); + return NSArray._(_ret, retain: true, release: true); } NSArray initWithArray_(NSArray array) { - final _ret = _lib._objc_msgSend_125( - this.pointer, - _lib._sel_initWithArray_1, - array.pointer, - ); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_125(this.pointer, _sel_initWithArray_, array.pointer); + return NSArray._(_ret, retain: true, release: true); } NSArray initWithArray_copyItems_(NSArray array, bool flag) { - final _ret = _lib._objc_msgSend_126( - this.pointer, - _lib._sel_initWithArray_copyItems_1, - array.pointer, - flag, - ); - return NSArray._(_ret, _lib, retain: false, release: true); + final _ret = _objc_msgSend_126( + this.pointer, _sel_initWithArray_copyItems_, array.pointer, flag); + return NSArray._(_ret, retain: false, release: true); } NSArray? initWithContentsOfURL_error_( - NSURL url, - ffi.Pointer> error, - ) { - final _ret = _lib._objc_msgSend_127( - this.pointer, - _lib._sel_initWithContentsOfURL_error_1, - url.pointer, - error, - ); + NSURL url, ffi.Pointer> error) { + final _ret = _objc_msgSend_127( + this.pointer, _sel_initWithContentsOfURL_error_, url.pointer, error); return _ret.address == 0 ? null - : NSArray._(_ret, _lib, retain: true, release: true); + : NSArray._(_ret, retain: true, release: true); } static NSArray? arrayWithContentsOfURL_error_( - SwiftLibrary _lib, - NSURL url, - ffi.Pointer> error, - ) { - final _ret = _lib._objc_msgSend_127( - _lib._class_NSArray1, - _lib._sel_arrayWithContentsOfURL_error_1, - url.pointer, - error, - ); - return _ret.address == 0 - ? null - : NSArray._(_ret, _lib, retain: true, release: true); - } - - NSObject differenceFromArray_withOptions_usingEquivalenceTest_( - NSArray other, - int options, - ObjCBlock_bool_objcObjCObject_objcObjCObject block, - ) { - final _ret = _lib._objc_msgSend_128( - this.pointer, - _lib._sel_differenceFromArray_withOptions_usingEquivalenceTest_1, - other.pointer, - options, - block.pointer, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + NSURL url, ffi.Pointer> error) { + final _ret = _objc_msgSend_127( + _class_NSArray, _sel_arrayWithContentsOfURL_error_, url.pointer, error); + return _ret.address == 0 + ? null + : NSArray._(_ret, retain: true, release: true); + } + + NSObject differenceFromArray_withOptions_usingEquivalenceTest_(NSArray other, + int options, ObjCBlock_bool_objcObjCObject_objcObjCObject block) { + final _ret = _objc_msgSend_128( + this.pointer, + _sel_differenceFromArray_withOptions_usingEquivalenceTest_, + other.pointer, + options, + block.pointer); + return NSObject._(_ret, retain: true, release: true); } NSObject differenceFromArray_withOptions_(NSArray other, int options) { - final _ret = _lib._objc_msgSend_129( - this.pointer, - _lib._sel_differenceFromArray_withOptions_1, - other.pointer, - options, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_129(this.pointer, + _sel_differenceFromArray_withOptions_, other.pointer, options); + return NSObject._(_ret, retain: true, release: true); } NSObject differenceFromArray_(NSArray other) { - final _ret = _lib._objc_msgSend_125( - this.pointer, - _lib._sel_differenceFromArray_1, - other.pointer, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_125( + this.pointer, _sel_differenceFromArray_, other.pointer); + return NSObject._(_ret, retain: true, release: true); } NSArray? arrayByApplyingDifference_(NSObject difference) { - final _ret = _lib._objc_msgSend_130( - this.pointer, - _lib._sel_arrayByApplyingDifference_1, - difference.pointer, - ); + final _ret = _objc_msgSend_130( + this.pointer, _sel_arrayByApplyingDifference_, difference.pointer); return _ret.address == 0 ? null - : NSArray._(_ret, _lib, retain: true, release: true); + : NSArray._(_ret, retain: true, release: true); } void getObjects_(ffi.Pointer> objects) { - _lib._objc_msgSend_131(this.pointer, _lib._sel_getObjects_1, objects); + _objc_msgSend_131(this.pointer, _sel_getObjects_, objects); } - static NSArray? arrayWithContentsOfFile_(SwiftLibrary _lib, NSString path) { - final _ret = _lib._objc_msgSend_132( - _lib._class_NSArray1, - _lib._sel_arrayWithContentsOfFile_1, - path.pointer, - ); + static NSArray? arrayWithContentsOfFile_(NSString path) { + final _ret = _objc_msgSend_132( + _class_NSArray, _sel_arrayWithContentsOfFile_, path.pointer); return _ret.address == 0 ? null - : NSArray._(_ret, _lib, retain: true, release: true); + : NSArray._(_ret, retain: true, release: true); } - static NSArray? arrayWithContentsOfURL_(SwiftLibrary _lib, NSURL url) { - final _ret = _lib._objc_msgSend_133( - _lib._class_NSArray1, - _lib._sel_arrayWithContentsOfURL_1, - url.pointer, - ); + static NSArray? arrayWithContentsOfURL_(NSURL url) { + final _ret = _objc_msgSend_133( + _class_NSArray, _sel_arrayWithContentsOfURL_, url.pointer); return _ret.address == 0 ? null - : NSArray._(_ret, _lib, retain: true, release: true); + : NSArray._(_ret, retain: true, release: true); } NSArray? initWithContentsOfFile_(NSString path) { - final _ret = _lib._objc_msgSend_132( - this.pointer, - _lib._sel_initWithContentsOfFile_1, - path.pointer, - ); + final _ret = _objc_msgSend_132( + this.pointer, _sel_initWithContentsOfFile_, path.pointer); return _ret.address == 0 ? null - : NSArray._(_ret, _lib, retain: true, release: true); + : NSArray._(_ret, retain: true, release: true); } NSArray? initWithContentsOfURL_(NSURL url) { - final _ret = _lib._objc_msgSend_133( - this.pointer, - _lib._sel_initWithContentsOfURL_1, - url.pointer, - ); + final _ret = _objc_msgSend_133( + this.pointer, _sel_initWithContentsOfURL_, url.pointer); return _ret.address == 0 ? null - : NSArray._(_ret, _lib, retain: true, release: true); + : NSArray._(_ret, retain: true, release: true); } bool writeToFile_atomically_(NSString path, bool useAuxiliaryFile) { - return _lib._objc_msgSend_26( - this.pointer, - _lib._sel_writeToFile_atomically_1, - path.pointer, - useAuxiliaryFile, - ); + return _objc_msgSend_26(this.pointer, _sel_writeToFile_atomically_, + path.pointer, useAuxiliaryFile); } bool writeToURL_atomically_(NSURL url, bool atomically) { - return _lib._objc_msgSend_134( - this.pointer, - _lib._sel_writeToURL_atomically_1, - url.pointer, - atomically, - ); + return _objc_msgSend_134( + this.pointer, _sel_writeToURL_atomically_, url.pointer, atomically); } NSArray pathsMatchingExtensions_(NSArray filterTypes) { - final _ret = _lib._objc_msgSend_68( - this.pointer, - _lib._sel_pathsMatchingExtensions_1, - filterTypes.pointer, - ); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_68( + this.pointer, _sel_pathsMatchingExtensions_, filterTypes.pointer); + return NSArray._(_ret, retain: true, release: true); } NSObject valueForKey_(NSString key) { - final _ret = _lib._objc_msgSend_31( - this.pointer, - _lib._sel_valueForKey_1, - key.pointer, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_31(this.pointer, _sel_valueForKey_, key.pointer); + return NSObject._(_ret, retain: true, release: true); } @override void setValue_forKey_(NSObject? value, NSString key) { - _lib._objc_msgSend_135( - this.pointer, - _lib._sel_setValue_forKey_1, - value?.pointer ?? ffi.nullptr, - key.pointer, - ); + _objc_msgSend_135(this.pointer, _sel_setValue_forKey_, + value?.pointer ?? ffi.nullptr, key.pointer); } void addObserver_toObjectsAtIndexes_forKeyPath_options_context_( - NSObject observer, - NSIndexSet indexes, - NSString keyPath, - int options, - ffi.Pointer context, - ) { - _lib._objc_msgSend_136( - this.pointer, - _lib._sel_addObserver_toObjectsAtIndexes_forKeyPath_options_context_1, - observer.pointer, - indexes.pointer, - keyPath.pointer, - options, - context, - ); + NSObject observer, + NSIndexSet indexes, + NSString keyPath, + int options, + ffi.Pointer context) { + _objc_msgSend_136( + this.pointer, + _sel_addObserver_toObjectsAtIndexes_forKeyPath_options_context_, + observer.pointer, + indexes.pointer, + keyPath.pointer, + options, + context); } void removeObserver_fromObjectsAtIndexes_forKeyPath_context_( - NSObject observer, - NSIndexSet indexes, - NSString keyPath, - ffi.Pointer context, - ) { - _lib._objc_msgSend_137( - this.pointer, - _lib._sel_removeObserver_fromObjectsAtIndexes_forKeyPath_context_1, - observer.pointer, - indexes.pointer, - keyPath.pointer, - context, - ); + NSObject observer, + NSIndexSet indexes, + NSString keyPath, + ffi.Pointer context) { + _objc_msgSend_137( + this.pointer, + _sel_removeObserver_fromObjectsAtIndexes_forKeyPath_context_, + observer.pointer, + indexes.pointer, + keyPath.pointer, + context); } void removeObserver_fromObjectsAtIndexes_forKeyPath_( - NSObject observer, - NSIndexSet indexes, - NSString keyPath, - ) { - _lib._objc_msgSend_138( - this.pointer, - _lib._sel_removeObserver_fromObjectsAtIndexes_forKeyPath_1, - observer.pointer, - indexes.pointer, - keyPath.pointer, - ); + NSObject observer, NSIndexSet indexes, NSString keyPath) { + _objc_msgSend_138( + this.pointer, + _sel_removeObserver_fromObjectsAtIndexes_forKeyPath_, + observer.pointer, + indexes.pointer, + keyPath.pointer); } @override - void addObserver_forKeyPath_options_context_( - NSObject observer, - NSString keyPath, - int options, - ffi.Pointer context, - ) { - _lib._objc_msgSend_139( - this.pointer, - _lib._sel_addObserver_forKeyPath_options_context_1, - observer.pointer, - keyPath.pointer, - options, - context, - ); + void addObserver_forKeyPath_options_context_(NSObject observer, + NSString keyPath, int options, ffi.Pointer context) { + _objc_msgSend_139( + this.pointer, + _sel_addObserver_forKeyPath_options_context_, + observer.pointer, + keyPath.pointer, + options, + context); } @override void removeObserver_forKeyPath_context_( - NSObject observer, - NSString keyPath, - ffi.Pointer context, - ) { - _lib._objc_msgSend_140( - this.pointer, - _lib._sel_removeObserver_forKeyPath_context_1, - observer.pointer, - keyPath.pointer, - context, - ); + NSObject observer, NSString keyPath, ffi.Pointer context) { + _objc_msgSend_140(this.pointer, _sel_removeObserver_forKeyPath_context_, + observer.pointer, keyPath.pointer, context); } @override void removeObserver_forKeyPath_(NSObject observer, NSString keyPath) { - _lib._objc_msgSend_141( - this.pointer, - _lib._sel_removeObserver_forKeyPath_1, - observer.pointer, - keyPath.pointer, - ); + _objc_msgSend_141(this.pointer, _sel_removeObserver_forKeyPath_, + observer.pointer, keyPath.pointer); } NSArray sortedArrayUsingDescriptors_(NSArray sortDescriptors) { - final _ret = _lib._objc_msgSend_68( - this.pointer, - _lib._sel_sortedArrayUsingDescriptors_1, - sortDescriptors.pointer, - ); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_68(this.pointer, + _sel_sortedArrayUsingDescriptors_, sortDescriptors.pointer); + return NSArray._(_ret, retain: true, release: true); } NSArray filteredArrayUsingPredicate_(NSPredicate predicate) { - final _ret = _lib._objc_msgSend_219( - this.pointer, - _lib._sel_filteredArrayUsingPredicate_1, - predicate.pointer, - ); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_219( + this.pointer, _sel_filteredArrayUsingPredicate_, predicate.pointer); + return NSArray._(_ret, retain: true, release: true); } - static NSArray new1(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2(_lib._class_NSArray1, _lib._sel_new1); - return NSArray._(_ret, _lib, retain: false, release: true); + static NSArray new1() { + final _ret = _objc_msgSend_2(_class_NSArray, _sel_new); + return NSArray._(_ret, retain: false, release: true); } - static NSArray allocWithZone_(SwiftLibrary _lib, ffi.Pointer<_NSZone> zone) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSArray1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSArray._(_ret, _lib, retain: false, release: true); + static NSArray allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = _objc_msgSend_3(_class_NSArray, _sel_allocWithZone_, zone); + return NSArray._(_ret, retain: false, release: true); } - static NSArray alloc(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2(_lib._class_NSArray1, _lib._sel_alloc1); - return NSArray._(_ret, _lib, retain: false, release: true); + static NSArray alloc() { + final _ret = _objc_msgSend_2(_class_NSArray, _sel_alloc); + return NSArray._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSArray1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSArray1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSArray1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSArray1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSArray1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSArray1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSArray, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); } - static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSArray1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSArray1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSArray1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSArray, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); } -} + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSArray, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSArray, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSArray, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSArray, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); + } + + static void setKeys_triggerChangeNotificationsForDependentKey_( + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSArray, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = + _objc_msgSend_85(_class_NSArray, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = _objc_msgSend_2(_class_NSArray, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); + } +} + +late final _class_NSArray = objc.getClass("NSArray"); +late final _sel_objectAtIndex_ = objc.registerName("objectAtIndex:"); +final _objc_msgSend_65 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.UnsignedLong index)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, int)>(); +late final _sel_initWithObjects_count_ = + objc.registerName("initWithObjects:count:"); +final _objc_msgSend_66 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer> objects, + ffi.UnsignedLong cnt)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + int)>(); +late final _sel_arrayByAddingObject_ = + objc.registerName("arrayByAddingObject:"); +final _objc_msgSend_67 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer anObject)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_arrayByAddingObjectsFromArray_ = + objc.registerName("arrayByAddingObjectsFromArray:"); +final _objc_msgSend_68 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer otherArray)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_componentsJoinedByString_ = + objc.registerName("componentsJoinedByString:"); +final _objc_msgSend_69 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer separator)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_containsObject_ = objc.registerName("containsObject:"); +late final _sel_descriptionWithLocale_ = + objc.registerName("descriptionWithLocale:"); +final _objc_msgSend_70 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer locale)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_descriptionWithLocale_indent_ = + objc.registerName("descriptionWithLocale:indent:"); +final _objc_msgSend_71 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer locale, + ffi.UnsignedLong level)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int)>(); +late final _sel_firstObjectCommonWithArray_ = + objc.registerName("firstObjectCommonWithArray:"); +final _objc_msgSend_72 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer otherArray)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_getObjects_range_ = objc.registerName("getObjects:range:"); +final _objc_msgSend_73 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer> objects, + _NSRange range)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + _NSRange)>(); +late final _sel_indexOfObject_ = objc.registerName("indexOfObject:"); +final _objc_msgSend_74 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer anObject)>>() + .asFunction< + int Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_indexOfObject_inRange_ = + objc.registerName("indexOfObject:inRange:"); +final _objc_msgSend_75 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer anObject, + _NSRange range)>>() + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange)>(); +late final _sel_indexOfObjectIdenticalTo_ = + objc.registerName("indexOfObjectIdenticalTo:"); +late final _sel_indexOfObjectIdenticalTo_inRange_ = + objc.registerName("indexOfObjectIdenticalTo:inRange:"); +late final _sel_isEqualToArray_ = objc.registerName("isEqualToArray:"); +final _objc_msgSend_76 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer otherArray)>>() + .asFunction< + bool Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_firstObject = objc.registerName("firstObject"); +late final _sel_lastObject = objc.registerName("lastObject"); +late final _sel_objectEnumerator = objc.registerName("objectEnumerator"); +final _objc_msgSend_77 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_reverseObjectEnumerator = + objc.registerName("reverseObjectEnumerator"); +late final _sel_sortedArrayHint = objc.registerName("sortedArrayHint"); +late final _sel_sortedArrayUsingFunction_context_ = + objc.registerName("sortedArrayUsingFunction:context:"); +final _objc_msgSend_78 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer< + ffi.NativeFunction< + ffi.Long Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>> + comparator, + ffi.Pointer context)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.Long Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>>, + ffi.Pointer)>(); +late final _sel_sortedArrayUsingFunction_context_hint_ = + objc.registerName("sortedArrayUsingFunction:context:hint:"); +final _objc_msgSend_79 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer< + ffi.NativeFunction< + ffi.Long Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>> + comparator, + ffi.Pointer context, + ffi.Pointer hint)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.Long Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>>, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_sortedArrayUsingSelector_ = + objc.registerName("sortedArrayUsingSelector:"); +final _objc_msgSend_80 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer comparator)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_subarrayWithRange_ = objc.registerName("subarrayWithRange:"); +final _objc_msgSend_81 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + _NSRange range)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, _NSRange)>(); class NSError extends NSObject { - NSError._( - ffi.Pointer pointer, - SwiftLibrary lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSError._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSError] that points to the same underlying object as [other]. - static NSError castFrom( - SwiftLibrary lib, - T other, - ) { - return NSError._(other.pointer, lib, retain: true, release: true); + static NSError castFrom(T other) { + return NSError._(other.pointer, retain: true, release: true); } /// Returns a [NSError] that wraps the given raw object pointer. - static NSError castFromPointer( - SwiftLibrary lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSError._(other, lib, retain: retain, release: release); + static NSError castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSError._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSError]. - static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSError1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0(obj.pointer, _sel_isKindOfClass_, _class_NSError); } NSError initWithDomain_code_userInfo_( - NSString domain, - int code, - NSObject? dict, - ) { - final _ret = _lib._objc_msgSend_82( - this.pointer, - _lib._sel_initWithDomain_code_userInfo_1, - domain.pointer, - code, - dict?.pointer ?? ffi.nullptr, - ); - return NSError._(_ret, _lib, retain: true, release: true); + NSString domain, int code, NSObject? dict) { + final _ret = _objc_msgSend_82( + this.pointer, + _sel_initWithDomain_code_userInfo_, + domain.pointer, + code, + dict?.pointer ?? ffi.nullptr); + return NSError._(_ret, retain: true, release: true); } static NSError errorWithDomain_code_userInfo_( - SwiftLibrary _lib, - NSString domain, - int code, - NSObject? dict, - ) { - final _ret = _lib._objc_msgSend_82( - _lib._class_NSError1, - _lib._sel_errorWithDomain_code_userInfo_1, - domain.pointer, - code, - dict?.pointer ?? ffi.nullptr, - ); - return NSError._(_ret, _lib, retain: true, release: true); + NSString domain, int code, NSObject? dict) { + final _ret = _objc_msgSend_82( + _class_NSError, + _sel_errorWithDomain_code_userInfo_, + domain.pointer, + code, + dict?.pointer ?? ffi.nullptr); + return NSError._(_ret, retain: true, release: true); } NSString get domain { - final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_domain1); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_domain); + return NSString._(_ret, retain: true, release: true); } int get code { - return _lib._objc_msgSend_83(this.pointer, _lib._sel_code1); + return _objc_msgSend_83(this.pointer, _sel_code); } NSObject get userInfo { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_userInfo1); - return NSObject._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_userInfo); + return NSObject._(_ret, retain: true, release: true); } NSString get localizedDescription { - final _ret = _lib._objc_msgSend_21( - this.pointer, - _lib._sel_localizedDescription1, - ); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_localizedDescription); + return NSString._(_ret, retain: true, release: true); } NSString? get localizedFailureReason { - final _ret = _lib._objc_msgSend_44( - this.pointer, - _lib._sel_localizedFailureReason1, - ); + final _ret = _objc_msgSend_44(this.pointer, _sel_localizedFailureReason); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } NSString? get localizedRecoverySuggestion { - final _ret = _lib._objc_msgSend_44( - this.pointer, - _lib._sel_localizedRecoverySuggestion1, - ); + final _ret = + _objc_msgSend_44(this.pointer, _sel_localizedRecoverySuggestion); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } NSArray? get localizedRecoveryOptions { - final _ret = _lib._objc_msgSend_84( - this.pointer, - _lib._sel_localizedRecoveryOptions1, - ); + final _ret = _objc_msgSend_84(this.pointer, _sel_localizedRecoveryOptions); return _ret.address == 0 ? null - : NSArray._(_ret, _lib, retain: true, release: true); + : NSArray._(_ret, retain: true, release: true); } NSObject? get recoveryAttempter { - final _ret = _lib._objc_msgSend_17( - this.pointer, - _lib._sel_recoveryAttempter1, - ); + final _ret = _objc_msgSend_17(this.pointer, _sel_recoveryAttempter); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } NSString? get helpAnchor { - final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_helpAnchor1); + final _ret = _objc_msgSend_44(this.pointer, _sel_helpAnchor); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } NSArray get underlyingErrors { - final _ret = _lib._objc_msgSend_85( - this.pointer, - _lib._sel_underlyingErrors1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static void setUserInfoValueProviderForDomain_provider_( - SwiftLibrary _lib, - NSString errorDomain, - ObjCBlock_objcObjCObject_NSError_NSString? provider, - ) { - _lib._objc_msgSend_86( - _lib._class_NSError1, - _lib._sel_setUserInfoValueProviderForDomain_provider_1, - errorDomain.pointer, - provider?.pointer ?? ffi.nullptr, - ); + final _ret = _objc_msgSend_85(this.pointer, _sel_underlyingErrors); + return NSArray._(_ret, retain: true, release: true); + } + + static void setUserInfoValueProviderForDomain_provider_(NSString errorDomain, + ObjCBlock_objcObjCObject_NSError_NSString? provider) { + _objc_msgSend_86( + _class_NSError, + _sel_setUserInfoValueProviderForDomain_provider_, + errorDomain.pointer, + provider?.pointer ?? ffi.nullptr); } static ObjCBlock_objcObjCObject_NSError_NSString? userInfoValueProviderForDomain_( - SwiftLibrary _lib, - NSError err, - NSString userInfoKey, - NSString errorDomain, - ) { - final _ret = _lib._objc_msgSend_87( - _lib._class_NSError1, - _lib._sel_userInfoValueProviderForDomain_1, - err.pointer, - userInfoKey.pointer, - errorDomain.pointer, - ); - return _ret.address == 0 - ? null - : ObjCBlock_objcObjCObject_NSError_NSString._( - _ret, - _lib, - retain: true, - release: true, - ); + NSError err, NSString userInfoKey, NSString errorDomain) { + final _ret = _objc_msgSend_87( + _class_NSError, + _sel_userInfoValueProviderForDomain_, + err.pointer, + userInfoKey.pointer, + errorDomain.pointer); + return _ret.address == 0 + ? null + : ObjCBlock_objcObjCObject_NSError_NSString._(_ret, + retain: true, release: true); } @override NSError init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSError._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSError._(_ret, retain: true, release: true); } - static NSError new1(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2(_lib._class_NSError1, _lib._sel_new1); - return NSError._(_ret, _lib, retain: false, release: true); + static NSError new1() { + final _ret = _objc_msgSend_2(_class_NSError, _sel_new); + return NSError._(_ret, retain: false, release: true); } - static NSError allocWithZone_(SwiftLibrary _lib, ffi.Pointer<_NSZone> zone) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSError1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSError._(_ret, _lib, retain: false, release: true); + static NSError allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = _objc_msgSend_3(_class_NSError, _sel_allocWithZone_, zone); + return NSError._(_ret, retain: false, release: true); } - static NSError alloc(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2(_lib._class_NSError1, _lib._sel_alloc1); - return NSError._(_ret, _lib, retain: false, release: true); + static NSError alloc() { + final _ret = _objc_msgSend_2(_class_NSError, _sel_alloc); + return NSError._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSError1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSError1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSError1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSError1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSError1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSError1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSError, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); + } + + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSError, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); + } + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSError, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSError, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSError, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSError, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); } static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSError1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSError1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSError1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSError, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = + _objc_msgSend_85(_class_NSError, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = _objc_msgSend_2(_class_NSError, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); } } +late final _class_NSError = objc.getClass("NSError"); +late final _sel_initWithDomain_code_userInfo_ = + objc.registerName("initWithDomain:code:userInfo:"); +final _objc_msgSend_82 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer domain, + ffi.Long code, + ffi.Pointer dict)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer)>(); +late final _sel_errorWithDomain_code_userInfo_ = + objc.registerName("errorWithDomain:code:userInfo:"); +late final _sel_domain = objc.registerName("domain"); +late final _sel_code = objc.registerName("code"); +final _objc_msgSend_83 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Long Function(ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + int Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_userInfo = objc.registerName("userInfo"); +late final _sel_localizedDescription = + objc.registerName("localizedDescription"); +late final _sel_localizedFailureReason = + objc.registerName("localizedFailureReason"); +late final _sel_localizedRecoverySuggestion = + objc.registerName("localizedRecoverySuggestion"); +late final _sel_localizedRecoveryOptions = + objc.registerName("localizedRecoveryOptions"); +final _objc_msgSend_84 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_recoveryAttempter = objc.registerName("recoveryAttempter"); +late final _sel_helpAnchor = objc.registerName("helpAnchor"); +late final _sel_underlyingErrors = objc.registerName("underlyingErrors"); +final _objc_msgSend_85 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); ffi.Pointer _ObjCBlock_objcObjCObject_NSError_NSString_fnPtrTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Pointer arg1, -) => + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1) => block.ref.target .cast< - ffi.NativeFunction< + ffi + .NativeFunction< ffi.Pointer Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - )>>() + ffi.Pointer arg0, + ffi.Pointer arg1)>>() .asFunction< ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>()(arg0, arg1); + ffi.Pointer, + ffi.Pointer)>()(arg0, arg1); final _ObjCBlock_objcObjCObject_NSError_NSString_closureRegistry = Function( - ffi.Pointer, - ffi.Pointer, -)>{}; + ffi.Pointer, ffi.Pointer)>{}; int _ObjCBlock_objcObjCObject_NSError_NSString_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_objcObjCObject_NSError_NSString_registerClosure( - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) fn, -) { + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer) + fn) { final id = ++_ObjCBlock_objcObjCObject_NSError_NSString_closureRegistryIndex; _ObjCBlock_objcObjCObject_NSError_NSString_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); @@ -44385,36 +7711,26 @@ ffi.Pointer ffi.Pointer _ObjCBlock_objcObjCObject_NSError_NSString_closureTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Pointer arg1, -) => + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1) => _ObjCBlock_objcObjCObject_NSError_NSString_closureRegistry[ block.ref.target.address]!(arg0, arg1); class ObjCBlock_objcObjCObject_NSError_NSString extends objc.ObjCBlockBase { ObjCBlock_objcObjCObject_NSError_NSString._( - ffi.Pointer pointer, - this._lib, { - bool retain = false, - bool release = true, - }) : super(pointer, retain: retain, release: release); - - SwiftLibrary _lib; + ffi.Pointer pointer, + {bool retain = false, + bool release = true}) + : super(pointer, retain: retain, release: release); /// Returns a block that wraps the given raw block pointer. static ObjCBlock_objcObjCObject_NSError_NSString castFromPointer( - SwiftLibrary lib, - ffi.Pointer pointer, { - bool retain = false, - bool release = false, - }) { - return ObjCBlock_objcObjCObject_NSError_NSString._( - pointer, - lib, - retain: retain, - release: release, - ); + ffi.Pointer pointer, + {bool retain = false, + bool release = false}) { + return ObjCBlock_objcObjCObject_NSError_NSString._(pointer, + retain: retain, release: release); } /// Creates a block from a C function pointer. @@ -44423,27 +7739,21 @@ class ObjCBlock_objcObjCObject_NSError_NSString extends objc.ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_objcObjCObject_NSError_NSString.fromFunctionPointer( - SwiftLibrary lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - )>> - ptr, - ) : this._( - objc.newBlock( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Pointer< + ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>( - _ObjCBlock_objcObjCObject_NSError_NSString_fnPtrTrampoline, - ).cast(), - ptr.cast(), - ), - lib); + ffi.Pointer arg0, + ffi.Pointer arg1)>> + ptr) + : this._(objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>( + _ObjCBlock_objcObjCObject_NSError_NSString_fnPtrTrampoline) + .cast(), + ptr.cast())); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -44451,542 +7761,524 @@ class ObjCBlock_objcObjCObject_NSError_NSString extends objc.ObjCBlockBase { /// This block must be invoked by native code running on the same thread as /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. - ObjCBlock_objcObjCObject_NSError_NSString.fromFunction( - SwiftLibrary lib, - NSObject? Function(NSError, NSString) fn, - ) : this._( - objc.newBlock( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>( - _ObjCBlock_objcObjCObject_NSError_NSString_closureTrampoline, - ).cast(), - _ObjCBlock_objcObjCObject_NSError_NSString_registerClosure(( - ffi.Pointer arg0, - ffi.Pointer arg1, - ) => - fn( - NSError._(arg0, lib, retain: true, release: true), - NSString._(arg1, lib, retain: true, release: true), - )?.retainAndReturnPointer() ?? - ffi.nullptr), - ), - lib); + ObjCBlock_objcObjCObject_NSError_NSString.fromFunction(NSObject? Function(NSError, NSString) fn) + : this._(objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>( + _ObjCBlock_objcObjCObject_NSError_NSString_closureTrampoline) + .cast(), + _ObjCBlock_objcObjCObject_NSError_NSString_registerClosure( + (ffi.Pointer arg0, ffi.Pointer arg1) => + fn(NSError._(arg0, retain: true, release: true), NSString._(arg1, retain: true, release: true)) + ?.retainAndReturnPointer() ?? + ffi.nullptr))); static ffi.Pointer? _dartFuncTrampoline; NSObject? call(NSError arg0, NSString arg1) => pointer.ref.invoke .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Pointer arg1, - )>>() - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>()(pointer, arg0.pointer, arg1.pointer) + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1)>>() + .asFunction Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>() + (pointer, arg0.pointer, arg1.pointer) .address == 0 ? null : NSObject._( pointer.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Pointer arg1, - )>>() - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>()( - pointer, - arg0.pointer, - arg1.pointer, - ), - _lib, + .cast Function(ffi.Pointer block, ffi.Pointer arg0, ffi.Pointer arg1)>>() + .asFunction Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>()(pointer, arg0.pointer, arg1.pointer), retain: false, release: true); } +late final _sel_setUserInfoValueProviderForDomain_provider_ = + objc.registerName("setUserInfoValueProviderForDomain:provider:"); +final _objc_msgSend_86 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer errorDomain, + ffi.Pointer provider)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_userInfoValueProviderForDomain_ = + objc.registerName("userInfoValueProviderForDomain:"); +final _objc_msgSend_87 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer err, + ffi.Pointer userInfoKey, + ffi.Pointer errorDomain)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_setKeys_triggerChangeNotificationsForDependentKey_ = + objc.registerName("setKeys:triggerChangeNotificationsForDependentKey:"); +final _objc_msgSend_88 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer keys, + ffi.Pointer dependentKey)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_classFallbacksForKeyedArchiver = + objc.registerName("classFallbacksForKeyedArchiver"); +late final _sel_classForKeyedUnarchiver = + objc.registerName("classForKeyedUnarchiver"); +late final _sel_writeToURL_error_ = objc.registerName("writeToURL:error:"); +final _objc_msgSend_89 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer url, + ffi.Pointer> error)>>() + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>(); +late final _sel_makeObjectsPerformSelector_ = + objc.registerName("makeObjectsPerformSelector:"); +late final _sel_makeObjectsPerformSelector_withObject_ = + objc.registerName("makeObjectsPerformSelector:withObject:"); +final _objc_msgSend_90 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer aSelector, + ffi.Pointer argument)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); + class NSIndexSet extends NSObject { - NSIndexSet._( - ffi.Pointer pointer, - SwiftLibrary lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSIndexSet._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSIndexSet] that points to the same underlying object as [other]. - static NSIndexSet castFrom( - SwiftLibrary lib, - T other, - ) { - return NSIndexSet._(other.pointer, lib, retain: true, release: true); + static NSIndexSet castFrom(T other) { + return NSIndexSet._(other.pointer, retain: true, release: true); } /// Returns a [NSIndexSet] that wraps the given raw object pointer. - static NSIndexSet castFromPointer( - SwiftLibrary lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSIndexSet._(other, lib, retain: retain, release: release); + static NSIndexSet castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSIndexSet._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSIndexSet]. - static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSIndexSet1, - ); - } - - static NSIndexSet indexSet(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSIndexSet1, - _lib._sel_indexSet1, - ); - return NSIndexSet._(_ret, _lib, retain: true, release: true); - } - - static NSIndexSet indexSetWithIndex_(SwiftLibrary _lib, int value) { - final _ret = _lib._objc_msgSend_65( - _lib._class_NSIndexSet1, - _lib._sel_indexSetWithIndex_1, - value, - ); - return NSIndexSet._(_ret, _lib, retain: true, release: true); - } - - static NSIndexSet indexSetWithIndexesInRange_( - SwiftLibrary _lib, - _NSRange range, - ) { - final _ret = _lib._objc_msgSend_91( - _lib._class_NSIndexSet1, - _lib._sel_indexSetWithIndexesInRange_1, - range, - ); - return NSIndexSet._(_ret, _lib, retain: true, release: true); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0(obj.pointer, _sel_isKindOfClass_, _class_NSIndexSet); + } + + static NSIndexSet indexSet() { + final _ret = _objc_msgSend_2(_class_NSIndexSet, _sel_indexSet); + return NSIndexSet._(_ret, retain: true, release: true); + } + + static NSIndexSet indexSetWithIndex_(int value) { + final _ret = + _objc_msgSend_65(_class_NSIndexSet, _sel_indexSetWithIndex_, value); + return NSIndexSet._(_ret, retain: true, release: true); + } + + static NSIndexSet indexSetWithIndexesInRange_(_NSRange range) { + final _ret = _objc_msgSend_91( + _class_NSIndexSet, _sel_indexSetWithIndexesInRange_, range); + return NSIndexSet._(_ret, retain: true, release: true); } NSIndexSet initWithIndexesInRange_(_NSRange range) { - final _ret = _lib._objc_msgSend_91( - this.pointer, - _lib._sel_initWithIndexesInRange_1, - range, - ); - return NSIndexSet._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_91(this.pointer, _sel_initWithIndexesInRange_, range); + return NSIndexSet._(_ret, retain: true, release: true); } NSIndexSet initWithIndexSet_(NSIndexSet indexSet) { - final _ret = _lib._objc_msgSend_92( - this.pointer, - _lib._sel_initWithIndexSet_1, - indexSet.pointer, - ); - return NSIndexSet._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_92( + this.pointer, _sel_initWithIndexSet_, indexSet.pointer); + return NSIndexSet._(_ret, retain: true, release: true); } NSIndexSet initWithIndex_(int value) { - final _ret = _lib._objc_msgSend_65( - this.pointer, - _lib._sel_initWithIndex_1, - value, - ); - return NSIndexSet._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_65(this.pointer, _sel_initWithIndex_, value); + return NSIndexSet._(_ret, retain: true, release: true); } bool isEqualToIndexSet_(NSIndexSet indexSet) { - return _lib._objc_msgSend_93( - this.pointer, - _lib._sel_isEqualToIndexSet_1, - indexSet.pointer, - ); + return _objc_msgSend_93( + this.pointer, _sel_isEqualToIndexSet_, indexSet.pointer); } int get count { - return _lib._objc_msgSend_10(this.pointer, _lib._sel_count1); + return _objc_msgSend_10(this.pointer, _sel_count); } int get firstIndex { - return _lib._objc_msgSend_10(this.pointer, _lib._sel_firstIndex1); + return _objc_msgSend_10(this.pointer, _sel_firstIndex); } int get lastIndex { - return _lib._objc_msgSend_10(this.pointer, _lib._sel_lastIndex1); + return _objc_msgSend_10(this.pointer, _sel_lastIndex); } int indexGreaterThanIndex_(int value) { - return _lib._objc_msgSend_94( - this.pointer, - _lib._sel_indexGreaterThanIndex_1, - value, - ); + return _objc_msgSend_94(this.pointer, _sel_indexGreaterThanIndex_, value); } int indexLessThanIndex_(int value) { - return _lib._objc_msgSend_94( - this.pointer, - _lib._sel_indexLessThanIndex_1, - value, - ); + return _objc_msgSend_94(this.pointer, _sel_indexLessThanIndex_, value); } int indexGreaterThanOrEqualToIndex_(int value) { - return _lib._objc_msgSend_94( - this.pointer, - _lib._sel_indexGreaterThanOrEqualToIndex_1, - value, - ); + return _objc_msgSend_94( + this.pointer, _sel_indexGreaterThanOrEqualToIndex_, value); } int indexLessThanOrEqualToIndex_(int value) { - return _lib._objc_msgSend_94( - this.pointer, - _lib._sel_indexLessThanOrEqualToIndex_1, - value, - ); + return _objc_msgSend_94( + this.pointer, _sel_indexLessThanOrEqualToIndex_, value); } int getIndexes_maxCount_inIndexRange_( - ffi.Pointer indexBuffer, - int bufferSize, - ffi.Pointer<_NSRange> range, - ) { - return _lib._objc_msgSend_95( - this.pointer, - _lib._sel_getIndexes_maxCount_inIndexRange_1, - indexBuffer, - bufferSize, - range, - ); + ffi.Pointer indexBuffer, + int bufferSize, + ffi.Pointer<_NSRange> range) { + return _objc_msgSend_95(this.pointer, + _sel_getIndexes_maxCount_inIndexRange_, indexBuffer, bufferSize, range); } int countOfIndexesInRange_(_NSRange range) { - return _lib._objc_msgSend_96( - this.pointer, - _lib._sel_countOfIndexesInRange_1, - range, - ); + return _objc_msgSend_96(this.pointer, _sel_countOfIndexesInRange_, range); } bool containsIndex_(int value) { - return _lib._objc_msgSend_97( - this.pointer, - _lib._sel_containsIndex_1, - value, - ); + return _objc_msgSend_97(this.pointer, _sel_containsIndex_, value); } bool containsIndexesInRange_(_NSRange range) { - return _lib._objc_msgSend_98( - this.pointer, - _lib._sel_containsIndexesInRange_1, - range, - ); + return _objc_msgSend_98(this.pointer, _sel_containsIndexesInRange_, range); } bool containsIndexes_(NSIndexSet indexSet) { - return _lib._objc_msgSend_93( - this.pointer, - _lib._sel_containsIndexes_1, - indexSet.pointer, - ); + return _objc_msgSend_93( + this.pointer, _sel_containsIndexes_, indexSet.pointer); } bool intersectsIndexesInRange_(_NSRange range) { - return _lib._objc_msgSend_98( - this.pointer, - _lib._sel_intersectsIndexesInRange_1, - range, - ); + return _objc_msgSend_98( + this.pointer, _sel_intersectsIndexesInRange_, range); } void enumerateIndexesUsingBlock_( - ObjCBlock_ffiVoid_ffiUnsignedLong_bool block, - ) { - _lib._objc_msgSend_99( - this.pointer, - _lib._sel_enumerateIndexesUsingBlock_1, - block.pointer, - ); + ObjCBlock_ffiVoid_ffiUnsignedLong_bool block) { + _objc_msgSend_99( + this.pointer, _sel_enumerateIndexesUsingBlock_, block.pointer); } void enumerateIndexesWithOptions_usingBlock_( - int opts, - ObjCBlock_ffiVoid_ffiUnsignedLong_bool block, - ) { - _lib._objc_msgSend_100( - this.pointer, - _lib._sel_enumerateIndexesWithOptions_usingBlock_1, - opts, - block.pointer, - ); + int opts, ObjCBlock_ffiVoid_ffiUnsignedLong_bool block) { + _objc_msgSend_100(this.pointer, + _sel_enumerateIndexesWithOptions_usingBlock_, opts, block.pointer); } void enumerateIndexesInRange_options_usingBlock_( - _NSRange range, - int opts, - ObjCBlock_ffiVoid_ffiUnsignedLong_bool block, - ) { - _lib._objc_msgSend_101( - this.pointer, - _lib._sel_enumerateIndexesInRange_options_usingBlock_1, - range, - opts, - block.pointer, - ); + _NSRange range, int opts, ObjCBlock_ffiVoid_ffiUnsignedLong_bool block) { + _objc_msgSend_101( + this.pointer, + _sel_enumerateIndexesInRange_options_usingBlock_, + range, + opts, + block.pointer); } int indexPassingTest_(ObjCBlock_bool_ffiUnsignedLong_bool predicate) { - return _lib._objc_msgSend_102( - this.pointer, - _lib._sel_indexPassingTest_1, - predicate.pointer, - ); + return _objc_msgSend_102( + this.pointer, _sel_indexPassingTest_, predicate.pointer); } int indexWithOptions_passingTest_( - int opts, - ObjCBlock_bool_ffiUnsignedLong_bool predicate, - ) { - return _lib._objc_msgSend_103( - this.pointer, - _lib._sel_indexWithOptions_passingTest_1, - opts, - predicate.pointer, - ); + int opts, ObjCBlock_bool_ffiUnsignedLong_bool predicate) { + return _objc_msgSend_103(this.pointer, _sel_indexWithOptions_passingTest_, + opts, predicate.pointer); } int indexInRange_options_passingTest_( - _NSRange range, - int opts, - ObjCBlock_bool_ffiUnsignedLong_bool predicate, - ) { - return _lib._objc_msgSend_104( - this.pointer, - _lib._sel_indexInRange_options_passingTest_1, - range, - opts, - predicate.pointer, - ); + _NSRange range, int opts, ObjCBlock_bool_ffiUnsignedLong_bool predicate) { + return _objc_msgSend_104(this.pointer, + _sel_indexInRange_options_passingTest_, range, opts, predicate.pointer); } NSIndexSet indexesPassingTest_( - ObjCBlock_bool_ffiUnsignedLong_bool predicate, - ) { - final _ret = _lib._objc_msgSend_105( - this.pointer, - _lib._sel_indexesPassingTest_1, - predicate.pointer, - ); - return NSIndexSet._(_ret, _lib, retain: true, release: true); + ObjCBlock_bool_ffiUnsignedLong_bool predicate) { + final _ret = _objc_msgSend_105( + this.pointer, _sel_indexesPassingTest_, predicate.pointer); + return NSIndexSet._(_ret, retain: true, release: true); } NSIndexSet indexesWithOptions_passingTest_( - int opts, - ObjCBlock_bool_ffiUnsignedLong_bool predicate, - ) { - final _ret = _lib._objc_msgSend_106( - this.pointer, - _lib._sel_indexesWithOptions_passingTest_1, - opts, - predicate.pointer, - ); - return NSIndexSet._(_ret, _lib, retain: true, release: true); + int opts, ObjCBlock_bool_ffiUnsignedLong_bool predicate) { + final _ret = _objc_msgSend_106(this.pointer, + _sel_indexesWithOptions_passingTest_, opts, predicate.pointer); + return NSIndexSet._(_ret, retain: true, release: true); } NSIndexSet indexesInRange_options_passingTest_( - _NSRange range, - int opts, - ObjCBlock_bool_ffiUnsignedLong_bool predicate, - ) { - final _ret = _lib._objc_msgSend_107( - this.pointer, - _lib._sel_indexesInRange_options_passingTest_1, - range, - opts, - predicate.pointer, - ); - return NSIndexSet._(_ret, _lib, retain: true, release: true); + _NSRange range, int opts, ObjCBlock_bool_ffiUnsignedLong_bool predicate) { + final _ret = _objc_msgSend_107( + this.pointer, + _sel_indexesInRange_options_passingTest_, + range, + opts, + predicate.pointer); + return NSIndexSet._(_ret, retain: true, release: true); } void enumerateRangesUsingBlock_(ObjCBlock_ffiVoid_NSRange_bool block) { - _lib._objc_msgSend_108( - this.pointer, - _lib._sel_enumerateRangesUsingBlock_1, - block.pointer, - ); + _objc_msgSend_108( + this.pointer, _sel_enumerateRangesUsingBlock_, block.pointer); } void enumerateRangesWithOptions_usingBlock_( - int opts, - ObjCBlock_ffiVoid_NSRange_bool block, - ) { - _lib._objc_msgSend_109( - this.pointer, - _lib._sel_enumerateRangesWithOptions_usingBlock_1, - opts, - block.pointer, - ); + int opts, ObjCBlock_ffiVoid_NSRange_bool block) { + _objc_msgSend_109(this.pointer, _sel_enumerateRangesWithOptions_usingBlock_, + opts, block.pointer); + } + + void enumerateRangesInRange_options_usingBlock_( + _NSRange range, int opts, ObjCBlock_ffiVoid_NSRange_bool block) { + _objc_msgSend_110( + this.pointer, + _sel_enumerateRangesInRange_options_usingBlock_, + range, + opts, + block.pointer); + } + + @override + NSIndexSet init() { + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSIndexSet._(_ret, retain: true, release: true); + } + + static NSIndexSet new1() { + final _ret = _objc_msgSend_2(_class_NSIndexSet, _sel_new); + return NSIndexSet._(_ret, retain: false, release: true); + } + + static NSIndexSet allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = _objc_msgSend_3(_class_NSIndexSet, _sel_allocWithZone_, zone); + return NSIndexSet._(_ret, retain: false, release: true); } - void enumerateRangesInRange_options_usingBlock_( - _NSRange range, - int opts, - ObjCBlock_ffiVoid_NSRange_bool block, - ) { - _lib._objc_msgSend_110( - this.pointer, - _lib._sel_enumerateRangesInRange_options_usingBlock_1, - range, - opts, - block.pointer, - ); + static NSIndexSet alloc() { + final _ret = _objc_msgSend_2(_class_NSIndexSet, _sel_alloc); + return NSIndexSet._(_ret, retain: false, release: true); } - @override - NSIndexSet init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSIndexSet._(_ret, _lib, retain: true, release: true); + static void cancelPreviousPerformRequestsWithTarget_selector_object_( + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSIndexSet, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); } - static NSIndexSet new1(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2(_lib._class_NSIndexSet1, _lib._sel_new1); - return NSIndexSet._(_ret, _lib, retain: false, release: true); + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSIndexSet, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); } - static NSIndexSet allocWithZone_( - SwiftLibrary _lib, - ffi.Pointer<_NSZone> zone, - ) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSIndexSet1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSIndexSet._(_ret, _lib, retain: false, release: true); + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSIndexSet, _sel_accessInstanceVariablesDirectly); } - static NSIndexSet alloc(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSIndexSet1, - _lib._sel_alloc1, - ); - return NSIndexSet._(_ret, _lib, retain: false, release: true); + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSIndexSet, _sel_useStoredAccessor); } - static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSIndexSet1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSIndexSet1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSIndexSet1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSIndexSet1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSIndexSet1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSIndexSet1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSIndexSet, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); } - static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSIndexSet1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSIndexSet1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSIndexSet1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSIndexSet, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); } -} + static void setKeys_triggerChangeNotificationsForDependentKey_( + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSIndexSet, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = _objc_msgSend_85( + _class_NSIndexSet, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = + _objc_msgSend_2(_class_NSIndexSet, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); + } +} + +late final _class_NSIndexSet = objc.getClass("NSIndexSet"); +late final _sel_indexSet = objc.registerName("indexSet"); +late final _sel_indexSetWithIndex_ = objc.registerName("indexSetWithIndex:"); +late final _sel_indexSetWithIndexesInRange_ = + objc.registerName("indexSetWithIndexesInRange:"); +final _objc_msgSend_91 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function(ffi.Pointer obj, + ffi.Pointer sel, _NSRange range)>>() + .asFunction< + instancetype Function(ffi.Pointer, + ffi.Pointer, _NSRange)>(); +late final _sel_initWithIndexesInRange_ = + objc.registerName("initWithIndexesInRange:"); +late final _sel_initWithIndexSet_ = objc.registerName("initWithIndexSet:"); +final _objc_msgSend_92 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer indexSet)>>() + .asFunction< + instancetype Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_initWithIndex_ = objc.registerName("initWithIndex:"); +late final _sel_isEqualToIndexSet_ = objc.registerName("isEqualToIndexSet:"); +final _objc_msgSend_93 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer indexSet)>>() + .asFunction< + bool Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_firstIndex = objc.registerName("firstIndex"); +late final _sel_lastIndex = objc.registerName("lastIndex"); +late final _sel_indexGreaterThanIndex_ = + objc.registerName("indexGreaterThanIndex:"); +final _objc_msgSend_94 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.UnsignedLong Function(ffi.Pointer obj, + ffi.Pointer sel, ffi.UnsignedLong value)>>() + .asFunction< + int Function(ffi.Pointer, + ffi.Pointer, int)>(); +late final _sel_indexLessThanIndex_ = objc.registerName("indexLessThanIndex:"); +late final _sel_indexGreaterThanOrEqualToIndex_ = + objc.registerName("indexGreaterThanOrEqualToIndex:"); +late final _sel_indexLessThanOrEqualToIndex_ = + objc.registerName("indexLessThanOrEqualToIndex:"); +late final _sel_getIndexes_maxCount_inIndexRange_ = + objc.registerName("getIndexes:maxCount:inIndexRange:"); +final _objc_msgSend_95 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer indexBuffer, + ffi.UnsignedLong bufferSize, + ffi.Pointer<_NSRange> range)>>() + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer<_NSRange>)>(); +late final _sel_countOfIndexesInRange_ = + objc.registerName("countOfIndexesInRange:"); +final _objc_msgSend_96 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.UnsignedLong Function(ffi.Pointer obj, + ffi.Pointer sel, _NSRange range)>>() + .asFunction< + int Function(ffi.Pointer, + ffi.Pointer, _NSRange)>(); +late final _sel_containsIndex_ = objc.registerName("containsIndex:"); +final _objc_msgSend_97 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function(ffi.Pointer obj, + ffi.Pointer sel, ffi.UnsignedLong value)>>() + .asFunction< + bool Function(ffi.Pointer, + ffi.Pointer, int)>(); +late final _sel_containsIndexesInRange_ = + objc.registerName("containsIndexesInRange:"); +final _objc_msgSend_98 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function(ffi.Pointer obj, + ffi.Pointer sel, _NSRange range)>>() + .asFunction< + bool Function(ffi.Pointer, + ffi.Pointer, _NSRange)>(); +late final _sel_containsIndexes_ = objc.registerName("containsIndexes:"); +late final _sel_intersectsIndexesInRange_ = + objc.registerName("intersectsIndexesInRange:"); void _ObjCBlock_ffiVoid_ffiUnsignedLong_bool_fnPtrTrampoline( - ffi.Pointer block, - int arg0, - ffi.Pointer arg1, -) => + ffi.Pointer block, + int arg0, + ffi.Pointer arg1) => block.ref.target .cast< ffi.NativeFunction< @@ -44997,44 +8289,31 @@ final _ObjCBlock_ffiVoid_ffiUnsignedLong_bool_closureRegistry = )>{}; int _ObjCBlock_ffiVoid_ffiUnsignedLong_bool_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_ffiVoid_ffiUnsignedLong_bool_registerClosure( - void Function(int, ffi.Pointer) fn, -) { + void Function(int, ffi.Pointer) fn) { final id = ++_ObjCBlock_ffiVoid_ffiUnsignedLong_bool_closureRegistryIndex; _ObjCBlock_ffiVoid_ffiUnsignedLong_bool_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } void _ObjCBlock_ffiVoid_ffiUnsignedLong_bool_closureTrampoline( - ffi.Pointer block, - int arg0, - ffi.Pointer arg1, -) => + ffi.Pointer block, + int arg0, + ffi.Pointer arg1) => _ObjCBlock_ffiVoid_ffiUnsignedLong_bool_closureRegistry[ block.ref.target.address]!(arg0, arg1); class ObjCBlock_ffiVoid_ffiUnsignedLong_bool extends objc.ObjCBlockBase { - ObjCBlock_ffiVoid_ffiUnsignedLong_bool._( - ffi.Pointer pointer, - this._lib, { - bool retain = false, - bool release = true, - }) : super(pointer, retain: retain, release: release); - - SwiftLibrary _lib; + ObjCBlock_ffiVoid_ffiUnsignedLong_bool._(ffi.Pointer pointer, + {bool retain = false, bool release = true}) + : super(pointer, retain: retain, release: release); /// Returns a block that wraps the given raw block pointer. static ObjCBlock_ffiVoid_ffiUnsignedLong_bool castFromPointer( - SwiftLibrary lib, - ffi.Pointer pointer, { - bool retain = false, - bool release = false, - }) { - return ObjCBlock_ffiVoid_ffiUnsignedLong_bool._( - pointer, - lib, - retain: retain, - release: release, - ); + ffi.Pointer pointer, + {bool retain = false, + bool release = false}) { + return ObjCBlock_ffiVoid_ffiUnsignedLong_bool._(pointer, + retain: retain, release: release); } /// Creates a block from a C function pointer. @@ -45043,25 +8322,18 @@ class ObjCBlock_ffiVoid_ffiUnsignedLong_bool extends objc.ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_ffiUnsignedLong_bool.fromFunctionPointer( - SwiftLibrary lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.UnsignedLong arg0, ffi.Pointer arg1)>> - ptr, - ) : this._( - objc.newBlock( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer, - )>( - _ObjCBlock_ffiVoid_ffiUnsignedLong_bool_fnPtrTrampoline) - .cast(), - ptr.cast(), - ), - lib); + ffi.Pointer< + ffi.NativeFunction< + ffi.Void Function( + ffi.UnsignedLong arg0, ffi.Pointer arg1)>> + ptr) + : this._(objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function(ffi.Pointer, + ffi.UnsignedLong, ffi.Pointer)>( + _ObjCBlock_ffiVoid_ffiUnsignedLong_bool_fnPtrTrampoline) + .cast(), + ptr.cast())); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -45070,25 +8342,15 @@ class ObjCBlock_ffiVoid_ffiUnsignedLong_bool extends objc.ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_ffiUnsignedLong_bool.fromFunction( - SwiftLibrary lib, - void Function(int, ffi.Pointer) fn, - ) : this._( - objc.newBlock( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer, - )>( - _ObjCBlock_ffiVoid_ffiUnsignedLong_bool_closureTrampoline) - .cast(), - _ObjCBlock_ffiVoid_ffiUnsignedLong_bool_registerClosure(( - int arg0, - ffi.Pointer arg1, - ) => - fn(arg0, arg1)), - ), - lib); + void Function(int, ffi.Pointer) fn) + : this._(objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function(ffi.Pointer, + ffi.UnsignedLong, ffi.Pointer)>( + _ObjCBlock_ffiVoid_ffiUnsignedLong_bool_closureTrampoline) + .cast(), + _ObjCBlock_ffiVoid_ffiUnsignedLong_bool_registerClosure( + (int arg0, ffi.Pointer arg1) => fn(arg0, arg1)))); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -45101,57 +8363,87 @@ class ObjCBlock_ffiVoid_ffiUnsignedLong_bool extends objc.ObjCBlockBase { /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. ObjCBlock_ffiVoid_ffiUnsignedLong_bool.listener( - SwiftLibrary lib, - void Function(int, ffi.Pointer) fn, - ) : this._( - objc.newBlock( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer, - )>.listener( - _ObjCBlock_ffiVoid_ffiUnsignedLong_bool_closureTrampoline, - )..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_ffiUnsignedLong_bool_registerClosure(( - int arg0, - ffi.Pointer arg1, - ) => - fn(arg0, arg1)), - ), - lib); + void Function(int, ffi.Pointer) fn) + : this._(objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function(ffi.Pointer, + ffi.UnsignedLong, ffi.Pointer)>.listener( + _ObjCBlock_ffiVoid_ffiUnsignedLong_bool_closureTrampoline) + ..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_ffiUnsignedLong_bool_registerClosure( + (int arg0, ffi.Pointer arg1) => fn(arg0, arg1)))); static ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer, - )>? _dartFuncListenerTrampoline; + ffi.Void Function(ffi.Pointer, ffi.UnsignedLong, + ffi.Pointer)>? _dartFuncListenerTrampoline; void call(int arg0, ffi.Pointer arg1) => pointer.ref.invoke .cast< ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer block, - ffi.UnsignedLong arg0, - ffi.Pointer arg1, - )>>() + ffi.Void Function(ffi.Pointer block, + ffi.UnsignedLong arg0, ffi.Pointer arg1)>>() .asFunction< void Function(ffi.Pointer, int, ffi.Pointer)>()(pointer, arg0, arg1); } +late final _sel_enumerateIndexesUsingBlock_ = + objc.registerName("enumerateIndexesUsingBlock:"); +final _objc_msgSend_99 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer block)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); + abstract class NSEnumerationOptions { static const int NSEnumerationConcurrent = 1; static const int NSEnumerationReverse = 2; } +late final _sel_enumerateIndexesWithOptions_usingBlock_ = + objc.registerName("enumerateIndexesWithOptions:usingBlock:"); +final _objc_msgSend_100 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Int32 opts, + ffi.Pointer block)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer)>(); +late final _sel_enumerateIndexesInRange_options_usingBlock_ = + objc.registerName("enumerateIndexesInRange:options:usingBlock:"); +final _objc_msgSend_101 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + _NSRange range, + ffi.Int32 opts, + ffi.Pointer block)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + int, + ffi.Pointer)>(); bool _ObjCBlock_bool_ffiUnsignedLong_bool_fnPtrTrampoline( - ffi.Pointer block, - int arg0, - ffi.Pointer arg1, -) => + ffi.Pointer block, + int arg0, + ffi.Pointer arg1) => block.ref.target .cast< ffi.NativeFunction< @@ -45162,44 +8454,31 @@ final _ObjCBlock_bool_ffiUnsignedLong_bool_closureRegistry = )>{}; int _ObjCBlock_bool_ffiUnsignedLong_bool_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_bool_ffiUnsignedLong_bool_registerClosure( - bool Function(int, ffi.Pointer) fn, -) { + bool Function(int, ffi.Pointer) fn) { final id = ++_ObjCBlock_bool_ffiUnsignedLong_bool_closureRegistryIndex; _ObjCBlock_bool_ffiUnsignedLong_bool_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } bool _ObjCBlock_bool_ffiUnsignedLong_bool_closureTrampoline( - ffi.Pointer block, - int arg0, - ffi.Pointer arg1, -) => + ffi.Pointer block, + int arg0, + ffi.Pointer arg1) => _ObjCBlock_bool_ffiUnsignedLong_bool_closureRegistry[ block.ref.target.address]!(arg0, arg1); class ObjCBlock_bool_ffiUnsignedLong_bool extends objc.ObjCBlockBase { - ObjCBlock_bool_ffiUnsignedLong_bool._( - ffi.Pointer pointer, - this._lib, { - bool retain = false, - bool release = true, - }) : super(pointer, retain: retain, release: release); - - SwiftLibrary _lib; + ObjCBlock_bool_ffiUnsignedLong_bool._(ffi.Pointer pointer, + {bool retain = false, bool release = true}) + : super(pointer, retain: retain, release: release); /// Returns a block that wraps the given raw block pointer. static ObjCBlock_bool_ffiUnsignedLong_bool castFromPointer( - SwiftLibrary lib, - ffi.Pointer pointer, { - bool retain = false, - bool release = false, - }) { - return ObjCBlock_bool_ffiUnsignedLong_bool._( - pointer, - lib, - retain: retain, - release: release, - ); + ffi.Pointer pointer, + {bool retain = false, + bool release = false}) { + return ObjCBlock_bool_ffiUnsignedLong_bool._(pointer, + retain: retain, release: release); } /// Creates a block from a C function pointer. @@ -45208,26 +8487,19 @@ class ObjCBlock_bool_ffiUnsignedLong_bool extends objc.ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_bool_ffiUnsignedLong_bool.fromFunctionPointer( - SwiftLibrary lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Bool Function( - ffi.UnsignedLong arg0, ffi.Pointer arg1)>> - ptr, - ) : this._( - objc.newBlock( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Pointer< + ffi + .NativeFunction< ffi.Bool Function( - ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer, - )>( - _ObjCBlock_bool_ffiUnsignedLong_bool_fnPtrTrampoline, - false, - ).cast(), - ptr.cast(), - ), - lib); + ffi.UnsignedLong arg0, ffi.Pointer arg1)>> + ptr) + : this._(objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Bool Function(ffi.Pointer, + ffi.UnsignedLong, ffi.Pointer)>( + _ObjCBlock_bool_ffiUnsignedLong_bool_fnPtrTrampoline, false) + .cast(), + ptr.cast())); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -45236,46 +8508,122 @@ class ObjCBlock_bool_ffiUnsignedLong_bool extends objc.ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_bool_ffiUnsignedLong_bool.fromFunction( - SwiftLibrary lib, - bool Function(int, ffi.Pointer) fn, - ) : this._( - objc.newBlock( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer, - )>( - _ObjCBlock_bool_ffiUnsignedLong_bool_closureTrampoline, - false, - ).cast(), - _ObjCBlock_bool_ffiUnsignedLong_bool_registerClosure(( - int arg0, - ffi.Pointer arg1, - ) => - fn(arg0, arg1)), - ), - lib); + bool Function(int, ffi.Pointer) fn) + : this._(objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Bool Function(ffi.Pointer, + ffi.UnsignedLong, ffi.Pointer)>( + _ObjCBlock_bool_ffiUnsignedLong_bool_closureTrampoline, + false) + .cast(), + _ObjCBlock_bool_ffiUnsignedLong_bool_registerClosure( + (int arg0, ffi.Pointer arg1) => fn(arg0, arg1)))); static ffi.Pointer? _dartFuncTrampoline; bool call(int arg0, ffi.Pointer arg1) => pointer.ref.invoke .cast< ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer block, - ffi.UnsignedLong arg0, - ffi.Pointer arg1, - )>>() + ffi.Bool Function(ffi.Pointer block, + ffi.UnsignedLong arg0, ffi.Pointer arg1)>>() .asFunction< bool Function(ffi.Pointer, int, ffi.Pointer)>()(pointer, arg0, arg1); } +late final _sel_indexPassingTest_ = objc.registerName("indexPassingTest:"); +final _objc_msgSend_102 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer predicate)>>() + .asFunction< + int Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_indexWithOptions_passingTest_ = + objc.registerName("indexWithOptions:passingTest:"); +final _objc_msgSend_103 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Int32 opts, + ffi.Pointer predicate)>>() + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer)>(); +late final _sel_indexInRange_options_passingTest_ = + objc.registerName("indexInRange:options:passingTest:"); +final _objc_msgSend_104 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer obj, + ffi.Pointer sel, + _NSRange range, + ffi.Int32 opts, + ffi.Pointer predicate)>>() + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + int, + ffi.Pointer)>(); +late final _sel_indexesPassingTest_ = objc.registerName("indexesPassingTest:"); +final _objc_msgSend_105 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer predicate)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_indexesWithOptions_passingTest_ = + objc.registerName("indexesWithOptions:passingTest:"); +final _objc_msgSend_106 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Int32 opts, + ffi.Pointer predicate)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer)>(); +late final _sel_indexesInRange_options_passingTest_ = + objc.registerName("indexesInRange:options:passingTest:"); +final _objc_msgSend_107 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + _NSRange range, + ffi.Int32 opts, + ffi.Pointer predicate)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + int, + ffi.Pointer)>(); void _ObjCBlock_ffiVoid_NSRange_bool_fnPtrTrampoline( - ffi.Pointer block, - _NSRange arg0, - ffi.Pointer arg1, -) => + ffi.Pointer block, + _NSRange arg0, + ffi.Pointer arg1) => block.ref.target .cast< ffi.NativeFunction< @@ -45286,46 +8634,31 @@ final _ObjCBlock_ffiVoid_NSRange_bool_closureRegistry = )>{}; int _ObjCBlock_ffiVoid_NSRange_bool_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_ffiVoid_NSRange_bool_registerClosure( - void Function(_NSRange, ffi.Pointer) fn, -) { + void Function(_NSRange, ffi.Pointer) fn) { final id = ++_ObjCBlock_ffiVoid_NSRange_bool_closureRegistryIndex; _ObjCBlock_ffiVoid_NSRange_bool_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } void _ObjCBlock_ffiVoid_NSRange_bool_closureTrampoline( - ffi.Pointer block, - _NSRange arg0, - ffi.Pointer arg1, -) => + ffi.Pointer block, + _NSRange arg0, + ffi.Pointer arg1) => _ObjCBlock_ffiVoid_NSRange_bool_closureRegistry[block.ref.target.address]!( - arg0, - arg1, - ); + arg0, arg1); class ObjCBlock_ffiVoid_NSRange_bool extends objc.ObjCBlockBase { - ObjCBlock_ffiVoid_NSRange_bool._( - ffi.Pointer pointer, - this._lib, { - bool retain = false, - bool release = true, - }) : super(pointer, retain: retain, release: release); - - SwiftLibrary _lib; + ObjCBlock_ffiVoid_NSRange_bool._(ffi.Pointer pointer, + {bool retain = false, bool release = true}) + : super(pointer, retain: retain, release: release); /// Returns a block that wraps the given raw block pointer. static ObjCBlock_ffiVoid_NSRange_bool castFromPointer( - SwiftLibrary lib, - ffi.Pointer pointer, { - bool retain = false, - bool release = false, - }) { - return ObjCBlock_ffiVoid_NSRange_bool._( - pointer, - lib, - retain: retain, - release: release, - ); + ffi.Pointer pointer, + {bool retain = false, + bool release = false}) { + return ObjCBlock_ffiVoid_NSRange_bool._(pointer, + retain: retain, release: release); } /// Creates a block from a C function pointer. @@ -45334,23 +8667,17 @@ class ObjCBlock_ffiVoid_NSRange_bool extends objc.ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSRange_bool.fromFunctionPointer( - SwiftLibrary lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function(_NSRange arg0, ffi.Pointer arg1)>> - ptr, - ) : this._( - objc.newBlock( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - _NSRange, - ffi.Pointer, - )>(_ObjCBlock_ffiVoid_NSRange_bool_fnPtrTrampoline) - .cast(), - ptr.cast(), - ), - lib); + ffi.Pointer< + ffi.NativeFunction< + ffi.Void Function(_NSRange arg0, ffi.Pointer arg1)>> + ptr) + : this._(objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function(ffi.Pointer, _NSRange, + ffi.Pointer)>( + _ObjCBlock_ffiVoid_NSRange_bool_fnPtrTrampoline) + .cast(), + ptr.cast())); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -45359,24 +8686,16 @@ class ObjCBlock_ffiVoid_NSRange_bool extends objc.ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSRange_bool.fromFunction( - SwiftLibrary lib, - void Function(_NSRange, ffi.Pointer) fn, - ) : this._( - objc.newBlock( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - _NSRange, - ffi.Pointer, - )>(_ObjCBlock_ffiVoid_NSRange_bool_closureTrampoline) - .cast(), - _ObjCBlock_ffiVoid_NSRange_bool_registerClosure(( - _NSRange arg0, - ffi.Pointer arg1, - ) => - fn(arg0, arg1)), - ), - lib); + void Function(_NSRange, ffi.Pointer) fn) + : this._(objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function(ffi.Pointer, _NSRange, + ffi.Pointer)>( + _ObjCBlock_ffiVoid_NSRange_bool_closureTrampoline) + .cast(), + _ObjCBlock_ffiVoid_NSRange_bool_registerClosure( + (_NSRange arg0, ffi.Pointer arg1) => + fn(arg0, arg1)))); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -45389,64 +8708,102 @@ class ObjCBlock_ffiVoid_NSRange_bool extends objc.ObjCBlockBase { /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. ObjCBlock_ffiVoid_NSRange_bool.listener( - SwiftLibrary lib, - void Function(_NSRange, ffi.Pointer) fn, - ) : this._( - objc.newBlock( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - _NSRange, - ffi.Pointer, - )>.listener( - _ObjCBlock_ffiVoid_NSRange_bool_closureTrampoline, - )..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSRange_bool_registerClosure(( - _NSRange arg0, - ffi.Pointer arg1, - ) => - fn(arg0, arg1)), - ), - lib); + void Function(_NSRange, ffi.Pointer) fn) + : this._(objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function(ffi.Pointer, _NSRange, + ffi.Pointer)>.listener( + _ObjCBlock_ffiVoid_NSRange_bool_closureTrampoline) + ..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSRange_bool_registerClosure( + (_NSRange arg0, ffi.Pointer arg1) => + fn(arg0, arg1)))); static ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - _NSRange, - ffi.Pointer, - )>? _dartFuncListenerTrampoline; + ffi.Void Function( + ffi.Pointer, _NSRange, ffi.Pointer)>? + _dartFuncListenerTrampoline; void call(_NSRange arg0, ffi.Pointer arg1) => pointer.ref.invoke .cast< ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer block, - _NSRange arg0, - ffi.Pointer arg1, - )>>() + ffi.Void Function(ffi.Pointer block, + _NSRange arg0, ffi.Pointer arg1)>>() .asFunction< - void Function( - ffi.Pointer, - _NSRange, - ffi.Pointer, - )>()(pointer, arg0, arg1); + void Function(ffi.Pointer, _NSRange, + ffi.Pointer)>()(pointer, arg0, arg1); } +late final _sel_enumerateRangesUsingBlock_ = + objc.registerName("enumerateRangesUsingBlock:"); +final _objc_msgSend_108 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer block)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_enumerateRangesWithOptions_usingBlock_ = + objc.registerName("enumerateRangesWithOptions:usingBlock:"); +final _objc_msgSend_109 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Int32 opts, + ffi.Pointer block)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer)>(); +late final _sel_enumerateRangesInRange_options_usingBlock_ = + objc.registerName("enumerateRangesInRange:options:usingBlock:"); +final _objc_msgSend_110 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + _NSRange range, + ffi.Int32 opts, + ffi.Pointer block)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + int, + ffi.Pointer)>(); +late final _sel_objectsAtIndexes_ = objc.registerName("objectsAtIndexes:"); +final _objc_msgSend_111 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer indexes)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_objectAtIndexedSubscript_ = + objc.registerName("objectAtIndexedSubscript:"); void _ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool_fnPtrTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, - int arg1, - ffi.Pointer arg2, -) => + ffi.Pointer block, + ffi.Pointer arg0, + int arg1, + ffi.Pointer arg2) => block.ref.target .cast< ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.UnsignedLong arg1, - ffi.Pointer arg2, - )>>() + ffi.Void Function(ffi.Pointer arg0, + ffi.UnsignedLong arg1, ffi.Pointer arg2)>>() .asFunction< void Function(ffi.Pointer, int, ffi.Pointer)>()(arg0, arg1, arg2); @@ -45458,8 +8815,8 @@ int _ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool_closureRegistryIndex 0; ffi.Pointer _ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool_registerClosure( - void Function(ffi.Pointer, int, ffi.Pointer) fn, -) { + void Function(ffi.Pointer, int, ffi.Pointer) + fn) { final id = ++_ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool_closureRegistryIndex; _ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool_closureRegistry[id] = @@ -45468,38 +8825,28 @@ ffi.Pointer } void _ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool_closureTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, - int arg1, - ffi.Pointer arg2, -) => + ffi.Pointer block, + ffi.Pointer arg0, + int arg1, + ffi.Pointer arg2) => _ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool_closureRegistry[ block.ref.target.address]!(arg0, arg1, arg2); class ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool._( - ffi.Pointer pointer, - this._lib, { - bool retain = false, - bool release = true, - }) : super(pointer, retain: retain, release: release); - - SwiftLibrary _lib; + ffi.Pointer pointer, + {bool retain = false, + bool release = true}) + : super(pointer, retain: retain, release: release); /// Returns a block that wraps the given raw block pointer. static ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool castFromPointer( - SwiftLibrary lib, - ffi.Pointer pointer, { - bool retain = false, - bool release = false, - }) { - return ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool._( - pointer, - lib, - retain: retain, - release: release, - ); + ffi.Pointer pointer, + {bool retain = false, + bool release = false}) { + return ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool._(pointer, + retain: retain, release: release); } /// Creates a block from a C function pointer. @@ -45508,29 +8855,21 @@ class ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool.fromFunctionPointer( - SwiftLibrary lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.UnsignedLong arg1, - ffi.Pointer arg2, - )>> - ptr, - ) : this._( - objc.newBlock( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer, - )>( - _ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool_fnPtrTrampoline, - ).cast(), - ptr.cast(), - ), - lib); + ffi.Pointer< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer arg0, + ffi.UnsignedLong arg1, ffi.Pointer arg2)>> + ptr) + : this._(objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer)>( + _ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool_fnPtrTrampoline) + .cast(), + ptr.cast())); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -45539,36 +8878,20 @@ class ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool.fromFunction( - SwiftLibrary lib, - void Function(NSObject, int, ffi.Pointer) fn, - ) : this._( - objc.newBlock( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer, - )>( - _ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool_closureTrampoline, - ).cast(), - _ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool_registerClosure( - ( - ffi.Pointer arg0, - int arg1, - ffi.Pointer arg2, - ) => - fn( - NSObject._( - arg0, - lib, - retain: true, - release: true, - ), - arg1, - arg2)), - ), - lib); + void Function(NSObject, int, ffi.Pointer) fn) + : this._(objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer)>( + _ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool_closureTrampoline) + .cast(), + _ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool_registerClosure( + (ffi.Pointer arg0, int arg1, + ffi.Pointer arg2) => + fn(NSObject._(arg0, retain: true, release: true), arg1, arg2)))); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -45581,79 +8904,102 @@ class ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool.listener( - SwiftLibrary lib, - void Function(NSObject, int, ffi.Pointer) fn, - ) : this._( - objc.newBlock( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer, - )>.listener( - _ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool_closureTrampoline, - )..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool_registerClosure( - ( - ffi.Pointer arg0, - int arg1, - ffi.Pointer arg2, - ) => - fn( - NSObject._( - arg0, - lib, - retain: true, - release: true, - ), - arg1, - arg2)), - ), - lib); + void Function(NSObject, int, ffi.Pointer) fn) + : this._(objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer)>.listener( + _ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool_closureTrampoline) + ..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool_registerClosure( + (ffi.Pointer arg0, int arg1, + ffi.Pointer arg2) => + fn(NSObject._(arg0, retain: true, release: true), arg1, arg2)))); static ffi.NativeCallable< ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer, - )>? _dartFuncListenerTrampoline; + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer)>? _dartFuncListenerTrampoline; void call(NSObject arg0, int arg1, ffi.Pointer arg2) => pointer.ref.invoke .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.UnsignedLong arg1, - ffi.Pointer arg2, - )>>() + ffi.Pointer block, + ffi.Pointer arg0, + ffi.UnsignedLong arg1, + ffi.Pointer arg2)>>() .asFunction< void Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - )>()(pointer, arg0.pointer, arg1, arg2); -} - + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer)>()(pointer, arg0.pointer, arg1, arg2); +} + +late final _sel_enumerateObjectsUsingBlock_ = + objc.registerName("enumerateObjectsUsingBlock:"); +final _objc_msgSend_112 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer block)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_enumerateObjectsWithOptions_usingBlock_ = + objc.registerName("enumerateObjectsWithOptions:usingBlock:"); +final _objc_msgSend_113 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Int32 opts, + ffi.Pointer block)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer)>(); +late final _sel_enumerateObjectsAtIndexes_options_usingBlock_ = + objc.registerName("enumerateObjectsAtIndexes:options:usingBlock:"); +final _objc_msgSend_114 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer s, + ffi.Int32 opts, + ffi.Pointer block)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer)>(); bool _ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool_fnPtrTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, - int arg1, - ffi.Pointer arg2, -) => + ffi.Pointer block, + ffi.Pointer arg0, + int arg1, + ffi.Pointer arg2) => block.ref.target .cast< ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer arg0, - ffi.UnsignedLong arg1, - ffi.Pointer arg2, - )>>() + ffi.Bool Function(ffi.Pointer arg0, + ffi.UnsignedLong arg1, ffi.Pointer arg2)>>() .asFunction< bool Function(ffi.Pointer, int, ffi.Pointer)>()(arg0, arg1, arg2); @@ -45665,8 +9011,8 @@ int _ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool_registerClosure( - bool Function(ffi.Pointer, int, ffi.Pointer) fn, -) { + bool Function(ffi.Pointer, int, ffi.Pointer) + fn) { final id = ++_ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool_closureRegistryIndex; _ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool_closureRegistry[id] = fn; @@ -45674,38 +9020,28 @@ ffi.Pointer } bool _ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool_closureTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, - int arg1, - ffi.Pointer arg2, -) => + ffi.Pointer block, + ffi.Pointer arg0, + int arg1, + ffi.Pointer arg2) => _ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool_closureRegistry[ block.ref.target.address]!(arg0, arg1, arg2); class ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool extends objc.ObjCBlockBase { ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool._( - ffi.Pointer pointer, - this._lib, { - bool retain = false, - bool release = true, - }) : super(pointer, retain: retain, release: release); - - SwiftLibrary _lib; + ffi.Pointer pointer, + {bool retain = false, + bool release = true}) + : super(pointer, retain: retain, release: release); /// Returns a block that wraps the given raw block pointer. static ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool castFromPointer( - SwiftLibrary lib, - ffi.Pointer pointer, { - bool retain = false, - bool release = false, - }) { - return ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool._( - pointer, - lib, - retain: retain, - release: release, - ); + ffi.Pointer pointer, + {bool retain = false, + bool release = false}) { + return ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool._(pointer, + retain: retain, release: release); } /// Creates a block from a C function pointer. @@ -45714,30 +9050,22 @@ class ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool.fromFunctionPointer( - SwiftLibrary lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer arg0, - ffi.UnsignedLong arg1, - ffi.Pointer arg2, - )>> - ptr, - ) : this._( - objc.newBlock( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer, - )>( - _ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool_fnPtrTrampoline, - false, - ).cast(), - ptr.cast(), - ), - lib); + ffi.Pointer< + ffi.NativeFunction< + ffi.Bool Function(ffi.Pointer arg0, + ffi.UnsignedLong arg1, ffi.Pointer arg2)>> + ptr) + : this._(objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer)>( + _ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool_fnPtrTrampoline, + false) + .cast(), + ptr.cast())); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -45746,37 +9074,19 @@ class ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool.fromFunction( - SwiftLibrary lib, - bool Function(NSObject, int, ffi.Pointer) fn, - ) : this._( - objc.newBlock( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer, - )>( - _ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool_closureTrampoline, - false, - ).cast(), - _ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool_registerClosure( - ( - ffi.Pointer arg0, - int arg1, - ffi.Pointer arg2, - ) => - fn( - NSObject._( - arg0, - lib, - retain: true, - release: true, - ), - arg1, - arg2)), - ), - lib); + bool Function(NSObject, int, ffi.Pointer) fn) + : this._(objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer)>( + _ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool_closureTrampoline, false) + .cast(), + _ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool_registerClosure( + (ffi.Pointer arg0, int arg1, ffi.Pointer arg2) => + fn(NSObject._(arg0, retain: true, release: true), arg1, arg2)))); static ffi.Pointer? _dartFuncTrampoline; bool call(NSObject arg0, int arg1, ffi.Pointer arg2) => @@ -45784,32 +9094,119 @@ class ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.UnsignedLong arg1, - ffi.Pointer arg2, - )>>() + ffi.Pointer block, + ffi.Pointer arg0, + ffi.UnsignedLong arg1, + ffi.Pointer arg2)>>() .asFunction< bool Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - )>()(pointer, arg0.pointer, arg1, arg2); -} - + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer)>()(pointer, arg0.pointer, arg1, arg2); +} + +late final _sel_indexOfObjectPassingTest_ = + objc.registerName("indexOfObjectPassingTest:"); +final _objc_msgSend_115 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer predicate)>>() + .asFunction< + int Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_indexOfObjectWithOptions_passingTest_ = + objc.registerName("indexOfObjectWithOptions:passingTest:"); +final _objc_msgSend_116 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Int32 opts, + ffi.Pointer predicate)>>() + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer)>(); +late final _sel_indexOfObjectAtIndexes_options_passingTest_ = + objc.registerName("indexOfObjectAtIndexes:options:passingTest:"); +final _objc_msgSend_117 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer s, + ffi.Int32 opts, + ffi.Pointer predicate)>>() + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer)>(); +late final _sel_indexesOfObjectsPassingTest_ = + objc.registerName("indexesOfObjectsPassingTest:"); +final _objc_msgSend_118 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer predicate)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_indexesOfObjectsWithOptions_passingTest_ = + objc.registerName("indexesOfObjectsWithOptions:passingTest:"); +final _objc_msgSend_119 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Int32 opts, + ffi.Pointer predicate)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer)>(); +late final _sel_indexesOfObjectsAtIndexes_options_passingTest_ = + objc.registerName("indexesOfObjectsAtIndexes:options:passingTest:"); +final _objc_msgSend_120 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer s, + ffi.Int32 opts, + ffi.Pointer predicate)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer)>(); int _ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject_fnPtrTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Pointer arg1, -) => + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1) => block.ref.target .cast< ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - )>>() + ffi.Int32 Function(ffi.Pointer arg0, + ffi.Pointer arg1)>>() .asFunction< int Function(ffi.Pointer, ffi.Pointer)>()(arg0, arg1); @@ -45821,8 +9218,8 @@ int _ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject_closureRegistryI 0; ffi.Pointer _ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject_registerClosure( - int Function(ffi.Pointer, ffi.Pointer) fn, -) { + int Function(ffi.Pointer, ffi.Pointer) + fn) { final id = ++_ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject_closureRegistryIndex; _ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject_closureRegistry[ @@ -45830,40 +9227,27 @@ ffi.Pointer return ffi.Pointer.fromAddress(id); } -int - _ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject_closureTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Pointer arg1, -) => - _ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject_closureRegistry[ - block.ref.target.address]!(arg0, arg1); +int _ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject_closureTrampoline( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1) => + _ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject_closureRegistry[ + block.ref.target.address]!(arg0, arg1); class ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject extends objc.ObjCBlockBase { ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject._( - ffi.Pointer pointer, - this._lib, { - bool retain = false, - bool release = true, - }) : super(pointer, retain: retain, release: release); - - SwiftLibrary _lib; + ffi.Pointer pointer, + {bool retain = false, + bool release = true}) + : super(pointer, retain: retain, release: release); /// Returns a block that wraps the given raw block pointer. static ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject - castFromPointer( - SwiftLibrary lib, - ffi.Pointer pointer, { - bool retain = false, - bool release = false, - }) { - return ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject._( - pointer, - lib, - retain: retain, - release: release, - ); + castFromPointer(ffi.Pointer pointer, + {bool retain = false, bool release = false}) { + return ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject._(pointer, + retain: retain, release: release); } /// Creates a block from a C function pointer. @@ -45872,28 +9256,21 @@ class ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject.fromFunctionPointer( - SwiftLibrary lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - )>> - ptr, - ) : this._( - objc.newBlock( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Int32 Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>( - _ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject_fnPtrTrampoline, - 0, - ).cast(), - ptr.cast(), - ), - lib); + ffi.Pointer< + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer arg0, + ffi.Pointer arg1)>> + ptr) + : this._(objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>( + _ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject_fnPtrTrampoline, + 0) + .cast(), + ptr.cast())); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -45902,47 +9279,33 @@ class ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject.fromFunction( - SwiftLibrary lib, - int Function(NSObject, NSObject) fn, - ) : this._( - objc.newBlock( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Int32 Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>( - _ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject_closureTrampoline, - 0, - ).cast(), - _ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject_registerClosure( - ( - ffi.Pointer arg0, - ffi.Pointer arg1, - ) => - fn( - NSObject._(arg0, lib, retain: true, release: true), - NSObject._(arg1, lib, retain: true, release: true), - ), - ), - ), - lib); + int Function(NSObject, NSObject) fn) + : this._(objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>( + _ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject_closureTrampoline, 0) + .cast(), + _ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject_registerClosure( + (ffi.Pointer arg0, ffi.Pointer arg1) => + fn(NSObject._(arg0, retain: true, release: true), NSObject._(arg1, retain: true, release: true))))); static ffi.Pointer? _dartFuncTrampoline; int call(NSObject arg0, NSObject arg1) => pointer.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Pointer arg1, - )>>() - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>()(pointer, arg0.pointer, arg1.pointer); + .cast< + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1)>>() + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>()( + pointer, arg0.pointer, arg1.pointer); } abstract class NSComparisonResult { @@ -45951,17 +9314,130 @@ abstract class NSComparisonResult { static const int NSOrderedDescending = 1; } +late final _sel_sortedArrayUsingComparator_ = + objc.registerName("sortedArrayUsingComparator:"); +final _objc_msgSend_121 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer cmptr)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); + abstract class NSSortOptions { static const int NSSortConcurrent = 1; static const int NSSortStable = 16; } +late final _sel_sortedArrayWithOptions_usingComparator_ = + objc.registerName("sortedArrayWithOptions:usingComparator:"); +final _objc_msgSend_122 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Int32 opts, + ffi.Pointer cmptr)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer)>(); + abstract class NSBinarySearchingOptions { static const int NSBinarySearchingFirstEqual = 256; static const int NSBinarySearchingLastEqual = 512; static const int NSBinarySearchingInsertionIndex = 1024; } +late final _sel_indexOfObject_inSortedRange_options_usingComparator_ = + objc.registerName("indexOfObject:inSortedRange:options:usingComparator:"); +final _objc_msgSend_123 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer obj, + _NSRange r, + ffi.Int32 opts, + ffi.Pointer cmp)>>() + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange, + int, + ffi.Pointer)>(); +late final _sel_array = objc.registerName("array"); +late final _sel_arrayWithObject_ = objc.registerName("arrayWithObject:"); +final _objc_msgSend_124 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer anObject)>>() + .asFunction< + instancetype Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_arrayWithObjects_count_ = + objc.registerName("arrayWithObjects:count:"); +late final _sel_arrayWithObjects_ = objc.registerName("arrayWithObjects:"); +late final _sel_arrayWithArray_ = objc.registerName("arrayWithArray:"); +final _objc_msgSend_125 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer array)>>() + .asFunction< + instancetype Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_initWithObjects_ = objc.registerName("initWithObjects:"); +late final _sel_initWithArray_ = objc.registerName("initWithArray:"); +late final _sel_initWithArray_copyItems_ = + objc.registerName("initWithArray:copyItems:"); +final _objc_msgSend_126 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer array, + ffi.Bool flag)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool)>(); +late final _sel_initWithContentsOfURL_error_ = + objc.registerName("initWithContentsOfURL:error:"); +final _objc_msgSend_127 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer url, + ffi.Pointer> error)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>(); +late final _sel_arrayWithContentsOfURL_error_ = + objc.registerName("arrayWithContentsOfURL:error:"); + abstract class NSOrderedCollectionDifferenceCalculationOptions { static const int NSOrderedCollectionDifferenceCalculationOmitInsertedObjects = 1; @@ -45971,17 +9447,14 @@ abstract class NSOrderedCollectionDifferenceCalculationOptions { } bool _ObjCBlock_bool_objcObjCObject_objcObjCObject_fnPtrTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Pointer arg1, -) => + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1) => block.ref.target .cast< ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - )>>() + ffi.Bool Function(ffi.Pointer arg0, + ffi.Pointer arg1)>>() .asFunction< bool Function(ffi.Pointer, ffi.Pointer)>()(arg0, arg1); @@ -45991,8 +9464,9 @@ final _ObjCBlock_bool_objcObjCObject_objcObjCObject_closureRegistry = _ObjCBlock_bool_objcObjCObject_objcObjCObject_registerClosure( - bool Function(ffi.Pointer, ffi.Pointer) fn, -) { + bool Function( + ffi.Pointer, ffi.Pointer) + fn) { final id = ++_ObjCBlock_bool_objcObjCObject_objcObjCObject_closureRegistryIndex; _ObjCBlock_bool_objcObjCObject_objcObjCObject_closureRegistry[id] = fn; @@ -46000,36 +9474,26 @@ ffi.Pointer } bool _ObjCBlock_bool_objcObjCObject_objcObjCObject_closureTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Pointer arg1, -) => + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1) => _ObjCBlock_bool_objcObjCObject_objcObjCObject_closureRegistry[ block.ref.target.address]!(arg0, arg1); class ObjCBlock_bool_objcObjCObject_objcObjCObject extends objc.ObjCBlockBase { ObjCBlock_bool_objcObjCObject_objcObjCObject._( - ffi.Pointer pointer, - this._lib, { - bool retain = false, - bool release = true, - }) : super(pointer, retain: retain, release: release); - - SwiftLibrary _lib; + ffi.Pointer pointer, + {bool retain = false, + bool release = true}) + : super(pointer, retain: retain, release: release); /// Returns a block that wraps the given raw block pointer. static ObjCBlock_bool_objcObjCObject_objcObjCObject castFromPointer( - SwiftLibrary lib, - ffi.Pointer pointer, { - bool retain = false, - bool release = false, - }) { - return ObjCBlock_bool_objcObjCObject_objcObjCObject._( - pointer, - lib, - retain: retain, - release: release, - ); + ffi.Pointer pointer, + {bool retain = false, + bool release = false}) { + return ObjCBlock_bool_objcObjCObject_objcObjCObject._(pointer, + retain: retain, release: release); } /// Creates a block from a C function pointer. @@ -46038,28 +9502,21 @@ class ObjCBlock_bool_objcObjCObject_objcObjCObject extends objc.ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_bool_objcObjCObject_objcObjCObject.fromFunctionPointer( - SwiftLibrary lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - )>> - ptr, - ) : this._( - objc.newBlock( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>( - _ObjCBlock_bool_objcObjCObject_objcObjCObject_fnPtrTrampoline, - false, - ).cast(), - ptr.cast(), - ), - lib); + ffi.Pointer< + ffi.NativeFunction< + ffi.Bool Function(ffi.Pointer arg0, + ffi.Pointer arg1)>> + ptr) + : this._(objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>( + _ObjCBlock_bool_objcObjCObject_objcObjCObject_fnPtrTrampoline, + false) + .cast(), + ptr.cast())); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -46068,46 +9525,159 @@ class ObjCBlock_bool_objcObjCObject_objcObjCObject extends objc.ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_bool_objcObjCObject_objcObjCObject.fromFunction( - SwiftLibrary lib, - bool Function(NSObject, NSObject) fn, - ) : this._( - objc.newBlock( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>( - _ObjCBlock_bool_objcObjCObject_objcObjCObject_closureTrampoline, - false, - ).cast(), - _ObjCBlock_bool_objcObjCObject_objcObjCObject_registerClosure(( - ffi.Pointer arg0, - ffi.Pointer arg1, - ) => - fn( - NSObject._(arg0, lib, retain: true, release: true), - NSObject._(arg1, lib, retain: true, release: true), - )), - ), - lib); + bool Function(NSObject, NSObject) fn) + : this._(objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>( + _ObjCBlock_bool_objcObjCObject_objcObjCObject_closureTrampoline, false) + .cast(), + _ObjCBlock_bool_objcObjCObject_objcObjCObject_registerClosure( + (ffi.Pointer arg0, + ffi.Pointer arg1) => + fn(NSObject._(arg0, retain: true, release: true), NSObject._(arg1, retain: true, release: true))))); static ffi.Pointer? _dartFuncTrampoline; bool call(NSObject arg0, NSObject arg1) => pointer.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Pointer arg1, - )>>() - .asFunction< - bool Function( - ffi.Pointer, + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1)>>() + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>()( + pointer, arg0.pointer, arg1.pointer); +} + +late final _sel_differenceFromArray_withOptions_usingEquivalenceTest_ = + objc.registerName("differenceFromArray:withOptions:usingEquivalenceTest:"); +final _objc_msgSend_128 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer other, + ffi.Int32 options, + ffi.Pointer block)>>() + .asFunction< + ffi.Pointer Function( ffi.Pointer, + ffi.Pointer, ffi.Pointer, - )>()(pointer, arg0.pointer, arg1.pointer); -} + int, + ffi.Pointer)>(); +late final _sel_differenceFromArray_withOptions_ = + objc.registerName("differenceFromArray:withOptions:"); +final _objc_msgSend_129 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer other, + ffi.Int32 options)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int)>(); +late final _sel_differenceFromArray_ = + objc.registerName("differenceFromArray:"); +late final _sel_arrayByApplyingDifference_ = + objc.registerName("arrayByApplyingDifference:"); +final _objc_msgSend_130 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer difference)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_getObjects_ = objc.registerName("getObjects:"); +final _objc_msgSend_131 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer> objects)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>(); +late final _sel_arrayWithContentsOfFile_ = + objc.registerName("arrayWithContentsOfFile:"); +final _objc_msgSend_132 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer path)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_arrayWithContentsOfURL_ = + objc.registerName("arrayWithContentsOfURL:"); +final _objc_msgSend_133 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer url)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_initWithContentsOfFile_ = + objc.registerName("initWithContentsOfFile:"); +late final _sel_initWithContentsOfURL_ = + objc.registerName("initWithContentsOfURL:"); +late final _sel_writeToURL_atomically_ = + objc.registerName("writeToURL:atomically:"); +final _objc_msgSend_134 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer url, + ffi.Bool atomically)>>() + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool)>(); +late final _sel_pathsMatchingExtensions_ = + objc.registerName("pathsMatchingExtensions:"); +late final _sel_valueForKey_ = objc.registerName("valueForKey:"); +late final _sel_setValue_forKey_ = objc.registerName("setValue:forKey:"); +final _objc_msgSend_135 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value, + ffi.Pointer key)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); abstract class NSKeyValueObservingOptions { static const int NSKeyValueObservingOptionNew = 1; @@ -46116,280 +9686,328 @@ abstract class NSKeyValueObservingOptions { static const int NSKeyValueObservingOptionPrior = 8; } +late final _sel_addObserver_toObjectsAtIndexes_forKeyPath_options_context_ = + objc.registerName( + "addObserver:toObjectsAtIndexes:forKeyPath:options:context:"); +final _objc_msgSend_136 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer observer, + ffi.Pointer indexes, + ffi.Pointer keyPath, + ffi.Int32 options, + ffi.Pointer context)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer)>(); +late final _sel_removeObserver_fromObjectsAtIndexes_forKeyPath_context_ = objc + .registerName("removeObserver:fromObjectsAtIndexes:forKeyPath:context:"); +final _objc_msgSend_137 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer observer, + ffi.Pointer indexes, + ffi.Pointer keyPath, + ffi.Pointer context)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_removeObserver_fromObjectsAtIndexes_forKeyPath_ = + objc.registerName("removeObserver:fromObjectsAtIndexes:forKeyPath:"); +final _objc_msgSend_138 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer observer, + ffi.Pointer indexes, + ffi.Pointer keyPath)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_addObserver_forKeyPath_options_context_ = + objc.registerName("addObserver:forKeyPath:options:context:"); +final _objc_msgSend_139 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer observer, + ffi.Pointer keyPath, + ffi.Int32 options, + ffi.Pointer context)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer)>(); +late final _sel_removeObserver_forKeyPath_context_ = + objc.registerName("removeObserver:forKeyPath:context:"); +final _objc_msgSend_140 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer observer, + ffi.Pointer keyPath, + ffi.Pointer context)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_removeObserver_forKeyPath_ = + objc.registerName("removeObserver:forKeyPath:"); +final _objc_msgSend_141 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer observer, + ffi.Pointer keyPath)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_sortedArrayUsingDescriptors_ = + objc.registerName("sortedArrayUsingDescriptors:"); + class NSPredicate extends NSObject { - NSPredicate._( - ffi.Pointer pointer, - SwiftLibrary lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSPredicate._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSPredicate] that points to the same underlying object as [other]. - static NSPredicate castFrom( - SwiftLibrary lib, - T other, - ) { - return NSPredicate._(other.pointer, lib, retain: true, release: true); + static NSPredicate castFrom(T other) { + return NSPredicate._(other.pointer, retain: true, release: true); } /// Returns a [NSPredicate] that wraps the given raw object pointer. - static NSPredicate castFromPointer( - SwiftLibrary lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSPredicate._(other, lib, retain: retain, release: release); + static NSPredicate castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSPredicate._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSPredicate]. - static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSPredicate1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0( + obj.pointer, _sel_isKindOfClass_, _class_NSPredicate); } static NSPredicate predicateWithFormat_argumentArray_( - SwiftLibrary _lib, - NSString predicateFormat, - NSArray? arguments, - ) { - final _ret = _lib._objc_msgSend_142( - _lib._class_NSPredicate1, - _lib._sel_predicateWithFormat_argumentArray_1, - predicateFormat.pointer, - arguments?.pointer ?? ffi.nullptr, - ); - return NSPredicate._(_ret, _lib, retain: true, release: true); - } - - static NSPredicate predicateWithFormat_( - SwiftLibrary _lib, - NSString predicateFormat, - ) { - final _ret = _lib._objc_msgSend_143( - _lib._class_NSPredicate1, - _lib._sel_predicateWithFormat_1, - predicateFormat.pointer, - ); - return NSPredicate._(_ret, _lib, retain: true, release: true); + NSString predicateFormat, NSArray? arguments) { + final _ret = _objc_msgSend_142( + _class_NSPredicate, + _sel_predicateWithFormat_argumentArray_, + predicateFormat.pointer, + arguments?.pointer ?? ffi.nullptr); + return NSPredicate._(_ret, retain: true, release: true); + } + + static NSPredicate predicateWithFormat_(NSString predicateFormat) { + final _ret = _objc_msgSend_143( + _class_NSPredicate, _sel_predicateWithFormat_, predicateFormat.pointer); + return NSPredicate._(_ret, retain: true, release: true); } static NSPredicate predicateWithFormat_arguments_( - SwiftLibrary _lib, - NSString predicateFormat, - ffi.Pointer<__va_list_tag> argList, - ) { - final _ret = _lib._objc_msgSend_144( - _lib._class_NSPredicate1, - _lib._sel_predicateWithFormat_arguments_1, - predicateFormat.pointer, - argList, - ); - return NSPredicate._(_ret, _lib, retain: true, release: true); - } - - static NSPredicate? predicateFromMetadataQueryString_( - SwiftLibrary _lib, - NSString queryString, - ) { - final _ret = _lib._objc_msgSend_145( - _lib._class_NSPredicate1, - _lib._sel_predicateFromMetadataQueryString_1, - queryString.pointer, - ); - return _ret.address == 0 - ? null - : NSPredicate._(_ret, _lib, retain: true, release: true); - } - - static NSPredicate predicateWithValue_(SwiftLibrary _lib, bool value) { - final _ret = _lib._objc_msgSend_146( - _lib._class_NSPredicate1, - _lib._sel_predicateWithValue_1, - value, - ); - return NSPredicate._(_ret, _lib, retain: true, release: true); + NSString predicateFormat, ffi.Pointer<__va_list_tag> argList) { + final _ret = _objc_msgSend_144(_class_NSPredicate, + _sel_predicateWithFormat_arguments_, predicateFormat.pointer, argList); + return NSPredicate._(_ret, retain: true, release: true); + } + + static NSPredicate? predicateFromMetadataQueryString_(NSString queryString) { + final _ret = _objc_msgSend_145(_class_NSPredicate, + _sel_predicateFromMetadataQueryString_, queryString.pointer); + return _ret.address == 0 + ? null + : NSPredicate._(_ret, retain: true, release: true); + } + + static NSPredicate predicateWithValue_(bool value) { + final _ret = + _objc_msgSend_146(_class_NSPredicate, _sel_predicateWithValue_, value); + return NSPredicate._(_ret, retain: true, release: true); } static NSPredicate predicateWithBlock_( - SwiftLibrary _lib, - ObjCBlock_bool_objcObjCObject_NSDictionary block, - ) { - final _ret = _lib._objc_msgSend_216( - _lib._class_NSPredicate1, - _lib._sel_predicateWithBlock_1, - block.pointer, - ); - return NSPredicate._(_ret, _lib, retain: true, release: true); + ObjCBlock_bool_objcObjCObject_NSDictionary block) { + final _ret = _objc_msgSend_216( + _class_NSPredicate, _sel_predicateWithBlock_, block.pointer); + return NSPredicate._(_ret, retain: true, release: true); } NSString get predicateFormat { - final _ret = _lib._objc_msgSend_21( - this.pointer, - _lib._sel_predicateFormat1, - ); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_predicateFormat); + return NSString._(_ret, retain: true, release: true); } NSPredicate predicateWithSubstitutionVariables_(NSDictionary variables) { - final _ret = _lib._objc_msgSend_159( - this.pointer, - _lib._sel_predicateWithSubstitutionVariables_1, - variables.pointer, - ); - return NSPredicate._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_159(this.pointer, + _sel_predicateWithSubstitutionVariables_, variables.pointer); + return NSPredicate._(_ret, retain: true, release: true); } bool evaluateWithObject_(NSObject? object) { - return _lib._objc_msgSend_217( - this.pointer, - _lib._sel_evaluateWithObject_1, - object?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_217( + this.pointer, _sel_evaluateWithObject_, object?.pointer ?? ffi.nullptr); } bool evaluateWithObject_substitutionVariables_( - NSObject? object, - NSDictionary? bindings, - ) { - return _lib._objc_msgSend_218( - this.pointer, - _lib._sel_evaluateWithObject_substitutionVariables_1, - object?.pointer ?? ffi.nullptr, - bindings?.pointer ?? ffi.nullptr, - ); + NSObject? object, NSDictionary? bindings) { + return _objc_msgSend_218( + this.pointer, + _sel_evaluateWithObject_substitutionVariables_, + object?.pointer ?? ffi.nullptr, + bindings?.pointer ?? ffi.nullptr); } void allowEvaluation() { - _lib._objc_msgSend_1(this.pointer, _lib._sel_allowEvaluation1); + _objc_msgSend_1(this.pointer, _sel_allowEvaluation); } @override NSPredicate init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSPredicate._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSPredicate._(_ret, retain: true, release: true); } - static NSPredicate new1(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2(_lib._class_NSPredicate1, _lib._sel_new1); - return NSPredicate._(_ret, _lib, retain: false, release: true); + static NSPredicate new1() { + final _ret = _objc_msgSend_2(_class_NSPredicate, _sel_new); + return NSPredicate._(_ret, retain: false, release: true); } - static NSPredicate allocWithZone_( - SwiftLibrary _lib, - ffi.Pointer<_NSZone> zone, - ) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSPredicate1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSPredicate._(_ret, _lib, retain: false, release: true); + static NSPredicate allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = _objc_msgSend_3(_class_NSPredicate, _sel_allocWithZone_, zone); + return NSPredicate._(_ret, retain: false, release: true); } - static NSPredicate alloc(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSPredicate1, - _lib._sel_alloc1, - ); - return NSPredicate._(_ret, _lib, retain: false, release: true); + static NSPredicate alloc() { + final _ret = _objc_msgSend_2(_class_NSPredicate, _sel_alloc); + return NSPredicate._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSPredicate1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSPredicate1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSPredicate1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSPredicate1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSPredicate1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSPredicate1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSPredicate, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); } - static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSPredicate1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSPredicate1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSPredicate1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSPredicate, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); + } + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSPredicate, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSPredicate, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSPredicate, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); } -} + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSPredicate, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); + } + + static void setKeys_triggerChangeNotificationsForDependentKey_( + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSPredicate, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = _objc_msgSend_85( + _class_NSPredicate, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = + _objc_msgSend_2(_class_NSPredicate, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); + } +} + +late final _class_NSPredicate = objc.getClass("NSPredicate"); +late final _sel_predicateWithFormat_argumentArray_ = + objc.registerName("predicateWithFormat:argumentArray:"); +final _objc_msgSend_142 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer predicateFormat, + ffi.Pointer arguments)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_predicateWithFormat_ = + objc.registerName("predicateWithFormat:"); +final _objc_msgSend_143 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer predicateFormat)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); final class __va_list_tag extends ffi.Struct { @ffi.UnsignedInt() @@ -46403,18 +10021,54 @@ final class __va_list_tag extends ffi.Struct { external ffi.Pointer reg_save_area; } +late final _sel_predicateWithFormat_arguments_ = + objc.registerName("predicateWithFormat:arguments:"); +final _objc_msgSend_144 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer predicateFormat, + ffi.Pointer<__va_list_tag> argList)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<__va_list_tag>)>(); +late final _sel_predicateFromMetadataQueryString_ = + objc.registerName("predicateFromMetadataQueryString:"); +final _objc_msgSend_145 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer queryString)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_predicateWithValue_ = objc.registerName("predicateWithValue:"); +final _objc_msgSend_146 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Bool value)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, bool)>(); bool _ObjCBlock_bool_objcObjCObject_NSDictionary_fnPtrTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Pointer arg1, -) => + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1) => block.ref.target .cast< ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - )>>() + ffi.Bool Function(ffi.Pointer arg0, + ffi.Pointer arg1)>>() .asFunction< bool Function(ffi.Pointer, ffi.Pointer)>()(arg0, arg1); @@ -46424,44 +10078,35 @@ final _ObjCBlock_bool_objcObjCObject_NSDictionary_closureRegistry = _ObjCBlock_bool_objcObjCObject_NSDictionary_registerClosure( - bool Function(ffi.Pointer, ffi.Pointer) fn, -) { + bool Function( + ffi.Pointer, ffi.Pointer) + fn) { final id = ++_ObjCBlock_bool_objcObjCObject_NSDictionary_closureRegistryIndex; _ObjCBlock_bool_objcObjCObject_NSDictionary_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } bool _ObjCBlock_bool_objcObjCObject_NSDictionary_closureTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Pointer arg1, -) => + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1) => _ObjCBlock_bool_objcObjCObject_NSDictionary_closureRegistry[ block.ref.target.address]!(arg0, arg1); class ObjCBlock_bool_objcObjCObject_NSDictionary extends objc.ObjCBlockBase { ObjCBlock_bool_objcObjCObject_NSDictionary._( - ffi.Pointer pointer, - this._lib, { - bool retain = false, - bool release = true, - }) : super(pointer, retain: retain, release: release); - - SwiftLibrary _lib; + ffi.Pointer pointer, + {bool retain = false, + bool release = true}) + : super(pointer, retain: retain, release: release); /// Returns a block that wraps the given raw block pointer. static ObjCBlock_bool_objcObjCObject_NSDictionary castFromPointer( - SwiftLibrary lib, - ffi.Pointer pointer, { - bool retain = false, - bool release = false, - }) { - return ObjCBlock_bool_objcObjCObject_NSDictionary._( - pointer, - lib, - retain: retain, - release: release, - ); + ffi.Pointer pointer, + {bool retain = false, + bool release = false}) { + return ObjCBlock_bool_objcObjCObject_NSDictionary._(pointer, + retain: retain, release: release); } /// Creates a block from a C function pointer. @@ -46470,28 +10115,21 @@ class ObjCBlock_bool_objcObjCObject_NSDictionary extends objc.ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_bool_objcObjCObject_NSDictionary.fromFunctionPointer( - SwiftLibrary lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - )>> - ptr, - ) : this._( - objc.newBlock( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>( - _ObjCBlock_bool_objcObjCObject_NSDictionary_fnPtrTrampoline, - false, - ).cast(), - ptr.cast(), - ), - lib); + ffi.Pointer< + ffi.NativeFunction< + ffi.Bool Function(ffi.Pointer arg0, + ffi.Pointer arg1)>> + ptr) + : this._(objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>( + _ObjCBlock_bool_objcObjCObject_NSDictionary_fnPtrTrampoline, + false) + .cast(), + ptr.cast())); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -46500,859 +10138,646 @@ class ObjCBlock_bool_objcObjCObject_NSDictionary extends objc.ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_bool_objcObjCObject_NSDictionary.fromFunction( - SwiftLibrary lib, - bool Function(NSObject?, NSDictionary?) fn, - ) : this._( - objc.newBlock( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>( - _ObjCBlock_bool_objcObjCObject_NSDictionary_closureTrampoline, - false, - ).cast(), - _ObjCBlock_bool_objcObjCObject_NSDictionary_registerClosure(( - ffi.Pointer arg0, - ffi.Pointer arg1, - ) => - fn( - arg0.address == 0 - ? null - : NSObject._(arg0, lib, retain: true, release: true), - arg1.address == 0 - ? null - : NSDictionary._(arg1, lib, - retain: true, release: true), - )), - ), - lib); + bool Function(NSObject?, NSDictionary?) fn) + : this._(objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>( + _ObjCBlock_bool_objcObjCObject_NSDictionary_closureTrampoline, false) + .cast(), + _ObjCBlock_bool_objcObjCObject_NSDictionary_registerClosure( + (ffi.Pointer arg0, ffi.Pointer arg1) => + fn(arg0.address == 0 ? null : NSObject._(arg0, retain: true, release: true), arg1.address == 0 ? null : NSDictionary._(arg1, retain: true, release: true))))); static ffi.Pointer? _dartFuncTrampoline; bool call(NSObject? arg0, NSDictionary? arg1) => pointer.ref.invoke .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Pointer arg1, - )>>() + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1)>>() .asFunction< bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>()( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>()( pointer, arg0?.pointer ?? ffi.nullptr, arg1?.pointer ?? ffi.nullptr); } class NSDictionary extends NSObject { - NSDictionary._( - ffi.Pointer pointer, - SwiftLibrary lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSDictionary._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSDictionary] that points to the same underlying object as [other]. - static NSDictionary castFrom( - SwiftLibrary lib, - T other, - ) { - return NSDictionary._(other.pointer, lib, retain: true, release: true); + static NSDictionary castFrom(T other) { + return NSDictionary._(other.pointer, retain: true, release: true); } /// Returns a [NSDictionary] that wraps the given raw object pointer. - static NSDictionary castFromPointer( - SwiftLibrary lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSDictionary._(other, lib, retain: retain, release: release); + static NSDictionary castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSDictionary._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSDictionary]. - static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSDictionary1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0( + obj.pointer, _sel_isKindOfClass_, _class_NSDictionary); } int get count { - return _lib._objc_msgSend_10(this.pointer, _lib._sel_count1); + return _objc_msgSend_10(this.pointer, _sel_count); } NSObject? objectForKey_(NSObject aKey) { - final _ret = _lib._objc_msgSend_16( - this.pointer, - _lib._sel_objectForKey_1, - aKey.pointer, - ); + final _ret = + _objc_msgSend_16(this.pointer, _sel_objectForKey_, aKey.pointer); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } NSEnumerator keyEnumerator() { - final _ret = _lib._objc_msgSend_77(this.pointer, _lib._sel_keyEnumerator1); - return NSEnumerator._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_77(this.pointer, _sel_keyEnumerator); + return NSEnumerator._(_ret, retain: true, release: true); } @override NSDictionary init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSDictionary._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSDictionary._(_ret, retain: true, release: true); } NSDictionary initWithObjects_forKeys_count_( - ffi.Pointer> objects, - ffi.Pointer> keys, - int cnt, - ) { - final _ret = _lib._objc_msgSend_147( - this.pointer, - _lib._sel_initWithObjects_forKeys_count_1, - objects, - keys, - cnt, - ); - return NSDictionary._(_ret, _lib, retain: true, release: true); + ffi.Pointer> objects, + ffi.Pointer> keys, + int cnt) { + final _ret = _objc_msgSend_147( + this.pointer, _sel_initWithObjects_forKeys_count_, objects, keys, cnt); + return NSDictionary._(_ret, retain: true, release: true); } NSDictionary? initWithCoder_(NSCoder coder) { - final _ret = _lib._objc_msgSend_47( - this.pointer, - _lib._sel_initWithCoder_1, - coder.pointer, - ); + final _ret = + _objc_msgSend_47(this.pointer, _sel_initWithCoder_, coder.pointer); return _ret.address == 0 ? null - : NSDictionary._(_ret, _lib, retain: true, release: true); + : NSDictionary._(_ret, retain: true, release: true); } NSArray get allKeys { - final _ret = _lib._objc_msgSend_85(this.pointer, _lib._sel_allKeys1); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_85(this.pointer, _sel_allKeys); + return NSArray._(_ret, retain: true, release: true); } NSArray allKeysForObject_(NSObject anObject) { - final _ret = _lib._objc_msgSend_67( - this.pointer, - _lib._sel_allKeysForObject_1, - anObject.pointer, - ); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_67( + this.pointer, _sel_allKeysForObject_, anObject.pointer); + return NSArray._(_ret, retain: true, release: true); } NSArray get allValues { - final _ret = _lib._objc_msgSend_85(this.pointer, _lib._sel_allValues1); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_85(this.pointer, _sel_allValues); + return NSArray._(_ret, retain: true, release: true); } NSString get description { - final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_description1); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_description); + return NSString._(_ret, retain: true, release: true); } NSString get descriptionInStringsFileFormat { - final _ret = _lib._objc_msgSend_21( - this.pointer, - _lib._sel_descriptionInStringsFileFormat1, - ); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_21(this.pointer, _sel_descriptionInStringsFileFormat); + return NSString._(_ret, retain: true, release: true); } NSString descriptionWithLocale_(NSObject? locale) { - final _ret = _lib._objc_msgSend_70( - this.pointer, - _lib._sel_descriptionWithLocale_1, - locale?.pointer ?? ffi.nullptr, - ); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_70(this.pointer, _sel_descriptionWithLocale_, + locale?.pointer ?? ffi.nullptr); + return NSString._(_ret, retain: true, release: true); } NSString descriptionWithLocale_indent_(NSObject? locale, int level) { - final _ret = _lib._objc_msgSend_71( - this.pointer, - _lib._sel_descriptionWithLocale_indent_1, - locale?.pointer ?? ffi.nullptr, - level, - ); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_71( + this.pointer, + _sel_descriptionWithLocale_indent_, + locale?.pointer ?? ffi.nullptr, + level); + return NSString._(_ret, retain: true, release: true); } bool isEqualToDictionary_(NSDictionary otherDictionary) { - return _lib._objc_msgSend_148( - this.pointer, - _lib._sel_isEqualToDictionary_1, - otherDictionary.pointer, - ); + return _objc_msgSend_148( + this.pointer, _sel_isEqualToDictionary_, otherDictionary.pointer); } NSEnumerator objectEnumerator() { - final _ret = _lib._objc_msgSend_77( - this.pointer, - _lib._sel_objectEnumerator1, - ); - return NSEnumerator._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_77(this.pointer, _sel_objectEnumerator); + return NSEnumerator._(_ret, retain: true, release: true); } NSArray objectsForKeys_notFoundMarker_(NSArray keys, NSObject marker) { - final _ret = _lib._objc_msgSend_149( - this.pointer, - _lib._sel_objectsForKeys_notFoundMarker_1, - keys.pointer, - marker.pointer, - ); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_149(this.pointer, + _sel_objectsForKeys_notFoundMarker_, keys.pointer, marker.pointer); + return NSArray._(_ret, retain: true, release: true); } bool writeToURL_error_( - NSURL url, - ffi.Pointer> error, - ) { - return _lib._objc_msgSend_89( - this.pointer, - _lib._sel_writeToURL_error_1, - url.pointer, - error, - ); + NSURL url, ffi.Pointer> error) { + return _objc_msgSend_89( + this.pointer, _sel_writeToURL_error_, url.pointer, error); } NSArray keysSortedByValueUsingSelector_( - ffi.Pointer comparator, - ) { - final _ret = _lib._objc_msgSend_80( - this.pointer, - _lib._sel_keysSortedByValueUsingSelector_1, - comparator, - ); - return NSArray._(_ret, _lib, retain: true, release: true); + ffi.Pointer comparator) { + final _ret = _objc_msgSend_80( + this.pointer, _sel_keysSortedByValueUsingSelector_, comparator); + return NSArray._(_ret, retain: true, release: true); } void getObjects_andKeys_count_( - ffi.Pointer> objects, - ffi.Pointer> keys, - int count, - ) { - _lib._objc_msgSend_150( - this.pointer, - _lib._sel_getObjects_andKeys_count_1, - objects, - keys, - count, - ); + ffi.Pointer> objects, + ffi.Pointer> keys, + int count) { + _objc_msgSend_150( + this.pointer, _sel_getObjects_andKeys_count_, objects, keys, count); } NSObject? objectForKeyedSubscript_(NSObject key) { - final _ret = _lib._objc_msgSend_16( - this.pointer, - _lib._sel_objectForKeyedSubscript_1, - key.pointer, - ); + final _ret = _objc_msgSend_16( + this.pointer, _sel_objectForKeyedSubscript_, key.pointer); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } void enumerateKeysAndObjectsUsingBlock_( - ObjCBlock_ffiVoid_objcObjCObject_objcObjCObject_bool block, - ) { - _lib._objc_msgSend_151( - this.pointer, - _lib._sel_enumerateKeysAndObjectsUsingBlock_1, - block.pointer, - ); + ObjCBlock_ffiVoid_objcObjCObject_objcObjCObject_bool block) { + _objc_msgSend_151( + this.pointer, _sel_enumerateKeysAndObjectsUsingBlock_, block.pointer); } void enumerateKeysAndObjectsWithOptions_usingBlock_( - int opts, - ObjCBlock_ffiVoid_objcObjCObject_objcObjCObject_bool block, - ) { - _lib._objc_msgSend_152( - this.pointer, - _lib._sel_enumerateKeysAndObjectsWithOptions_usingBlock_1, - opts, - block.pointer, - ); + int opts, ObjCBlock_ffiVoid_objcObjCObject_objcObjCObject_bool block) { + _objc_msgSend_152( + this.pointer, + _sel_enumerateKeysAndObjectsWithOptions_usingBlock_, + opts, + block.pointer); } NSArray keysSortedByValueUsingComparator_( - ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject cmptr, - ) { - final _ret = _lib._objc_msgSend_121( - this.pointer, - _lib._sel_keysSortedByValueUsingComparator_1, - cmptr.pointer, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - NSArray keysSortedByValueWithOptions_usingComparator_( - int opts, - ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject cmptr, - ) { - final _ret = _lib._objc_msgSend_122( - this.pointer, - _lib._sel_keysSortedByValueWithOptions_usingComparator_1, - opts, - cmptr.pointer, - ); - return NSArray._(_ret, _lib, retain: true, release: true); + ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject cmptr) { + final _ret = _objc_msgSend_121( + this.pointer, _sel_keysSortedByValueUsingComparator_, cmptr.pointer); + return NSArray._(_ret, retain: true, release: true); + } + + NSArray keysSortedByValueWithOptions_usingComparator_(int opts, + ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject cmptr) { + final _ret = _objc_msgSend_122( + this.pointer, + _sel_keysSortedByValueWithOptions_usingComparator_, + opts, + cmptr.pointer); + return NSArray._(_ret, retain: true, release: true); } NSObject keysOfEntriesPassingTest_( - ObjCBlock_bool_objcObjCObject_objcObjCObject_bool predicate, - ) { - final _ret = _lib._objc_msgSend_153( - this.pointer, - _lib._sel_keysOfEntriesPassingTest_1, - predicate.pointer, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + ObjCBlock_bool_objcObjCObject_objcObjCObject_bool predicate) { + final _ret = _objc_msgSend_153( + this.pointer, _sel_keysOfEntriesPassingTest_, predicate.pointer); + return NSObject._(_ret, retain: true, release: true); } NSObject keysOfEntriesWithOptions_passingTest_( - int opts, - ObjCBlock_bool_objcObjCObject_objcObjCObject_bool predicate, - ) { - final _ret = _lib._objc_msgSend_154( - this.pointer, - _lib._sel_keysOfEntriesWithOptions_passingTest_1, - opts, - predicate.pointer, - ); - return NSObject._(_ret, _lib, retain: true, release: true); - } - - void getObjects_andKeys_( - ffi.Pointer> objects, - ffi.Pointer> keys, - ) { - _lib._objc_msgSend_155( - this.pointer, - _lib._sel_getObjects_andKeys_1, - objects, - keys, - ); - } - - static NSDictionary? dictionaryWithContentsOfFile_( - SwiftLibrary _lib, - NSString path, - ) { - final _ret = _lib._objc_msgSend_156( - _lib._class_NSDictionary1, - _lib._sel_dictionaryWithContentsOfFile_1, - path.pointer, - ); - return _ret.address == 0 - ? null - : NSDictionary._(_ret, _lib, retain: true, release: true); - } - - static NSDictionary? dictionaryWithContentsOfURL_( - SwiftLibrary _lib, - NSURL url, - ) { - final _ret = _lib._objc_msgSend_157( - _lib._class_NSDictionary1, - _lib._sel_dictionaryWithContentsOfURL_1, - url.pointer, - ); - return _ret.address == 0 - ? null - : NSDictionary._(_ret, _lib, retain: true, release: true); + int opts, ObjCBlock_bool_objcObjCObject_objcObjCObject_bool predicate) { + final _ret = _objc_msgSend_154(this.pointer, + _sel_keysOfEntriesWithOptions_passingTest_, opts, predicate.pointer); + return NSObject._(_ret, retain: true, release: true); + } + + void getObjects_andKeys_(ffi.Pointer> objects, + ffi.Pointer> keys) { + _objc_msgSend_155(this.pointer, _sel_getObjects_andKeys_, objects, keys); + } + + static NSDictionary? dictionaryWithContentsOfFile_(NSString path) { + final _ret = _objc_msgSend_156( + _class_NSDictionary, _sel_dictionaryWithContentsOfFile_, path.pointer); + return _ret.address == 0 + ? null + : NSDictionary._(_ret, retain: true, release: true); + } + + static NSDictionary? dictionaryWithContentsOfURL_(NSURL url) { + final _ret = _objc_msgSend_157( + _class_NSDictionary, _sel_dictionaryWithContentsOfURL_, url.pointer); + return _ret.address == 0 + ? null + : NSDictionary._(_ret, retain: true, release: true); } NSDictionary? initWithContentsOfFile_(NSString path) { - final _ret = _lib._objc_msgSend_156( - this.pointer, - _lib._sel_initWithContentsOfFile_1, - path.pointer, - ); + final _ret = _objc_msgSend_156( + this.pointer, _sel_initWithContentsOfFile_, path.pointer); return _ret.address == 0 ? null - : NSDictionary._(_ret, _lib, retain: true, release: true); + : NSDictionary._(_ret, retain: true, release: true); } NSDictionary? initWithContentsOfURL_(NSURL url) { - final _ret = _lib._objc_msgSend_157( - this.pointer, - _lib._sel_initWithContentsOfURL_1, - url.pointer, - ); + final _ret = _objc_msgSend_157( + this.pointer, _sel_initWithContentsOfURL_, url.pointer); return _ret.address == 0 ? null - : NSDictionary._(_ret, _lib, retain: true, release: true); + : NSDictionary._(_ret, retain: true, release: true); } bool writeToFile_atomically_(NSString path, bool useAuxiliaryFile) { - return _lib._objc_msgSend_26( - this.pointer, - _lib._sel_writeToFile_atomically_1, - path.pointer, - useAuxiliaryFile, - ); + return _objc_msgSend_26(this.pointer, _sel_writeToFile_atomically_, + path.pointer, useAuxiliaryFile); } bool writeToURL_atomically_(NSURL url, bool atomically) { - return _lib._objc_msgSend_134( - this.pointer, - _lib._sel_writeToURL_atomically_1, - url.pointer, - atomically, - ); + return _objc_msgSend_134( + this.pointer, _sel_writeToURL_atomically_, url.pointer, atomically); } - static NSDictionary dictionary(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSDictionary1, - _lib._sel_dictionary1, - ); - return NSDictionary._(_ret, _lib, retain: true, release: true); + static NSDictionary dictionary() { + final _ret = _objc_msgSend_2(_class_NSDictionary, _sel_dictionary); + return NSDictionary._(_ret, retain: true, release: true); } static NSDictionary dictionaryWithObject_forKey_( - SwiftLibrary _lib, - NSObject object, - NSObject key, - ) { - final _ret = _lib._objc_msgSend_158( - _lib._class_NSDictionary1, - _lib._sel_dictionaryWithObject_forKey_1, - object.pointer, - key.pointer, - ); - return NSDictionary._(_ret, _lib, retain: true, release: true); + NSObject object, NSObject key) { + final _ret = _objc_msgSend_158(_class_NSDictionary, + _sel_dictionaryWithObject_forKey_, object.pointer, key.pointer); + return NSDictionary._(_ret, retain: true, release: true); } static NSDictionary dictionaryWithObjects_forKeys_count_( - SwiftLibrary _lib, - ffi.Pointer> objects, - ffi.Pointer> keys, - int cnt, - ) { - final _ret = _lib._objc_msgSend_147( - _lib._class_NSDictionary1, - _lib._sel_dictionaryWithObjects_forKeys_count_1, - objects, - keys, - cnt, - ); - return NSDictionary._(_ret, _lib, retain: true, release: true); - } - - static NSDictionary dictionaryWithObjectsAndKeys_( - SwiftLibrary _lib, - NSObject firstObject, - ) { - final _ret = _lib._objc_msgSend_124( - _lib._class_NSDictionary1, - _lib._sel_dictionaryWithObjectsAndKeys_1, - firstObject.pointer, - ); - return NSDictionary._(_ret, _lib, retain: true, release: true); - } - - static NSDictionary dictionaryWithDictionary_( - SwiftLibrary _lib, - NSDictionary dict, - ) { - final _ret = _lib._objc_msgSend_159( - _lib._class_NSDictionary1, - _lib._sel_dictionaryWithDictionary_1, - dict.pointer, - ); - return NSDictionary._(_ret, _lib, retain: true, release: true); + ffi.Pointer> objects, + ffi.Pointer> keys, + int cnt) { + final _ret = _objc_msgSend_147(_class_NSDictionary, + _sel_dictionaryWithObjects_forKeys_count_, objects, keys, cnt); + return NSDictionary._(_ret, retain: true, release: true); + } + + static NSDictionary dictionaryWithObjectsAndKeys_(NSObject firstObject) { + final _ret = _objc_msgSend_124(_class_NSDictionary, + _sel_dictionaryWithObjectsAndKeys_, firstObject.pointer); + return NSDictionary._(_ret, retain: true, release: true); + } + + static NSDictionary dictionaryWithDictionary_(NSDictionary dict) { + final _ret = _objc_msgSend_159( + _class_NSDictionary, _sel_dictionaryWithDictionary_, dict.pointer); + return NSDictionary._(_ret, retain: true, release: true); } static NSDictionary dictionaryWithObjects_forKeys_( - SwiftLibrary _lib, - NSArray objects, - NSArray keys, - ) { - final _ret = _lib._objc_msgSend_160( - _lib._class_NSDictionary1, - _lib._sel_dictionaryWithObjects_forKeys_1, - objects.pointer, - keys.pointer, - ); - return NSDictionary._(_ret, _lib, retain: true, release: true); + NSArray objects, NSArray keys) { + final _ret = _objc_msgSend_160(_class_NSDictionary, + _sel_dictionaryWithObjects_forKeys_, objects.pointer, keys.pointer); + return NSDictionary._(_ret, retain: true, release: true); } NSDictionary initWithObjectsAndKeys_(NSObject firstObject) { - final _ret = _lib._objc_msgSend_124( - this.pointer, - _lib._sel_initWithObjectsAndKeys_1, - firstObject.pointer, - ); - return NSDictionary._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_124( + this.pointer, _sel_initWithObjectsAndKeys_, firstObject.pointer); + return NSDictionary._(_ret, retain: true, release: true); } NSDictionary initWithDictionary_(NSDictionary otherDictionary) { - final _ret = _lib._objc_msgSend_159( - this.pointer, - _lib._sel_initWithDictionary_1, - otherDictionary.pointer, - ); - return NSDictionary._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_159( + this.pointer, _sel_initWithDictionary_, otherDictionary.pointer); + return NSDictionary._(_ret, retain: true, release: true); } NSDictionary initWithDictionary_copyItems_( - NSDictionary otherDictionary, - bool flag, - ) { - final _ret = _lib._objc_msgSend_161( - this.pointer, - _lib._sel_initWithDictionary_copyItems_1, - otherDictionary.pointer, - flag, - ); - return NSDictionary._(_ret, _lib, retain: false, release: true); + NSDictionary otherDictionary, bool flag) { + final _ret = _objc_msgSend_161(this.pointer, + _sel_initWithDictionary_copyItems_, otherDictionary.pointer, flag); + return NSDictionary._(_ret, retain: false, release: true); } NSDictionary initWithObjects_forKeys_(NSArray objects, NSArray keys) { - final _ret = _lib._objc_msgSend_160( - this.pointer, - _lib._sel_initWithObjects_forKeys_1, - objects.pointer, - keys.pointer, - ); - return NSDictionary._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_160(this.pointer, _sel_initWithObjects_forKeys_, + objects.pointer, keys.pointer); + return NSDictionary._(_ret, retain: true, release: true); } NSDictionary? initWithContentsOfURL_error_( - NSURL url, - ffi.Pointer> error, - ) { - final _ret = _lib._objc_msgSend_162( - this.pointer, - _lib._sel_initWithContentsOfURL_error_1, - url.pointer, - error, - ); + NSURL url, ffi.Pointer> error) { + final _ret = _objc_msgSend_162( + this.pointer, _sel_initWithContentsOfURL_error_, url.pointer, error); return _ret.address == 0 ? null - : NSDictionary._(_ret, _lib, retain: true, release: true); + : NSDictionary._(_ret, retain: true, release: true); } static NSDictionary? dictionaryWithContentsOfURL_error_( - SwiftLibrary _lib, - NSURL url, - ffi.Pointer> error, - ) { - final _ret = _lib._objc_msgSend_162( - _lib._class_NSDictionary1, - _lib._sel_dictionaryWithContentsOfURL_error_1, - url.pointer, - error, - ); + NSURL url, ffi.Pointer> error) { + final _ret = _objc_msgSend_162(_class_NSDictionary, + _sel_dictionaryWithContentsOfURL_error_, url.pointer, error); return _ret.address == 0 ? null - : NSDictionary._(_ret, _lib, retain: true, release: true); + : NSDictionary._(_ret, retain: true, release: true); } - static NSObject sharedKeySetForKeys_(SwiftLibrary _lib, NSArray keys) { - final _ret = _lib._objc_msgSend_125( - _lib._class_NSDictionary1, - _lib._sel_sharedKeySetForKeys_1, - keys.pointer, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + static NSObject sharedKeySetForKeys_(NSArray keys) { + final _ret = _objc_msgSend_125( + _class_NSDictionary, _sel_sharedKeySetForKeys_, keys.pointer); + return NSObject._(_ret, retain: true, release: true); } int countByEnumeratingWithState_objects_count_( - ffi.Pointer state, - ffi.Pointer> buffer, - int len, - ) { - return _lib._objc_msgSend_163( - this.pointer, - _lib._sel_countByEnumeratingWithState_objects_count_1, - state, - buffer, - len, - ); + ffi.Pointer state, + ffi.Pointer> buffer, + int len) { + return _objc_msgSend_163(this.pointer, + _sel_countByEnumeratingWithState_objects_count_, state, buffer, len); } int fileSize() { - return _lib._objc_msgSend_164(this.pointer, _lib._sel_fileSize1); + return _objc_msgSend_164(this.pointer, _sel_fileSize); } NSDate? fileModificationDate() { - final _ret = _lib._objc_msgSend_183( - this.pointer, - _lib._sel_fileModificationDate1, - ); + final _ret = _objc_msgSend_183(this.pointer, _sel_fileModificationDate); return _ret.address == 0 ? null - : NSDate._(_ret, _lib, retain: true, release: true); + : NSDate._(_ret, retain: true, release: true); } NSString? fileType() { - final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_fileType1); + final _ret = _objc_msgSend_44(this.pointer, _sel_fileType); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } int filePosixPermissions() { - return _lib._objc_msgSend_10(this.pointer, _lib._sel_filePosixPermissions1); + return _objc_msgSend_10(this.pointer, _sel_filePosixPermissions); } NSString? fileOwnerAccountName() { - final _ret = _lib._objc_msgSend_44( - this.pointer, - _lib._sel_fileOwnerAccountName1, - ); + final _ret = _objc_msgSend_44(this.pointer, _sel_fileOwnerAccountName); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } NSString? fileGroupOwnerAccountName() { - final _ret = _lib._objc_msgSend_44( - this.pointer, - _lib._sel_fileGroupOwnerAccountName1, - ); + final _ret = _objc_msgSend_44(this.pointer, _sel_fileGroupOwnerAccountName); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } int fileSystemNumber() { - return _lib._objc_msgSend_83(this.pointer, _lib._sel_fileSystemNumber1); + return _objc_msgSend_83(this.pointer, _sel_fileSystemNumber); } int fileSystemFileNumber() { - return _lib._objc_msgSend_10(this.pointer, _lib._sel_fileSystemFileNumber1); + return _objc_msgSend_10(this.pointer, _sel_fileSystemFileNumber); } bool fileExtensionHidden() { - return _lib._objc_msgSend_12(this.pointer, _lib._sel_fileExtensionHidden1); + return _objc_msgSend_12(this.pointer, _sel_fileExtensionHidden); } int fileHFSCreatorCode() { - return _lib._objc_msgSend_214(this.pointer, _lib._sel_fileHFSCreatorCode1); + return _objc_msgSend_214(this.pointer, _sel_fileHFSCreatorCode); } int fileHFSTypeCode() { - return _lib._objc_msgSend_214(this.pointer, _lib._sel_fileHFSTypeCode1); + return _objc_msgSend_214(this.pointer, _sel_fileHFSTypeCode); } bool fileIsImmutable() { - return _lib._objc_msgSend_12(this.pointer, _lib._sel_fileIsImmutable1); + return _objc_msgSend_12(this.pointer, _sel_fileIsImmutable); } bool fileIsAppendOnly() { - return _lib._objc_msgSend_12(this.pointer, _lib._sel_fileIsAppendOnly1); + return _objc_msgSend_12(this.pointer, _sel_fileIsAppendOnly); } NSDate? fileCreationDate() { - final _ret = _lib._objc_msgSend_183( - this.pointer, - _lib._sel_fileCreationDate1, - ); + final _ret = _objc_msgSend_183(this.pointer, _sel_fileCreationDate); return _ret.address == 0 ? null - : NSDate._(_ret, _lib, retain: true, release: true); + : NSDate._(_ret, retain: true, release: true); } NSNumber? fileOwnerAccountID() { - final _ret = _lib._objc_msgSend_215( - this.pointer, - _lib._sel_fileOwnerAccountID1, - ); + final _ret = _objc_msgSend_215(this.pointer, _sel_fileOwnerAccountID); return _ret.address == 0 ? null - : NSNumber._(_ret, _lib, retain: true, release: true); + : NSNumber._(_ret, retain: true, release: true); } NSNumber? fileGroupOwnerAccountID() { - final _ret = _lib._objc_msgSend_215( - this.pointer, - _lib._sel_fileGroupOwnerAccountID1, - ); + final _ret = _objc_msgSend_215(this.pointer, _sel_fileGroupOwnerAccountID); return _ret.address == 0 ? null - : NSNumber._(_ret, _lib, retain: true, release: true); + : NSNumber._(_ret, retain: true, release: true); } @override NSObject? valueForKey_(NSString key) { - final _ret = _lib._objc_msgSend_38( - this.pointer, - _lib._sel_valueForKey_1, - key.pointer, - ); + final _ret = _objc_msgSend_38(this.pointer, _sel_valueForKey_, key.pointer); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } - static NSDictionary new1(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSDictionary1, - _lib._sel_new1, - ); - return NSDictionary._(_ret, _lib, retain: false, release: true); + static NSDictionary new1() { + final _ret = _objc_msgSend_2(_class_NSDictionary, _sel_new); + return NSDictionary._(_ret, retain: false, release: true); } - static NSDictionary allocWithZone_( - SwiftLibrary _lib, - ffi.Pointer<_NSZone> zone, - ) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSDictionary1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSDictionary._(_ret, _lib, retain: false, release: true); + static NSDictionary allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = + _objc_msgSend_3(_class_NSDictionary, _sel_allocWithZone_, zone); + return NSDictionary._(_ret, retain: false, release: true); } - static NSDictionary alloc(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSDictionary1, - _lib._sel_alloc1, - ); - return NSDictionary._(_ret, _lib, retain: false, release: true); + static NSDictionary alloc() { + final _ret = _objc_msgSend_2(_class_NSDictionary, _sel_alloc); + return NSDictionary._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSDictionary1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSDictionary1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSDictionary1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSDictionary1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSDictionary1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSDictionary1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSDictionary, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); + } + + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSDictionary, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); + } + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSDictionary, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSDictionary, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSDictionary, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSDictionary, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); } static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSDictionary1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSDictionary1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSDictionary1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSDictionary, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = _objc_msgSend_85( + _class_NSDictionary, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = + _objc_msgSend_2(_class_NSDictionary, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); } } +late final _class_NSDictionary = objc.getClass("NSDictionary"); +late final _sel_objectForKey_ = objc.registerName("objectForKey:"); +late final _sel_keyEnumerator = objc.registerName("keyEnumerator"); +late final _sel_initWithObjects_forKeys_count_ = + objc.registerName("initWithObjects:forKeys:count:"); +final _objc_msgSend_147 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer> objects, + ffi.Pointer> keys, + ffi.UnsignedLong cnt)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer>, + int)>(); +late final _sel_allKeys = objc.registerName("allKeys"); +late final _sel_allKeysForObject_ = objc.registerName("allKeysForObject:"); +late final _sel_allValues = objc.registerName("allValues"); +late final _sel_descriptionInStringsFileFormat = + objc.registerName("descriptionInStringsFileFormat"); +late final _sel_isEqualToDictionary_ = + objc.registerName("isEqualToDictionary:"); +final _objc_msgSend_148 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer otherDictionary)>>() + .asFunction< + bool Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_objectsForKeys_notFoundMarker_ = + objc.registerName("objectsForKeys:notFoundMarker:"); +final _objc_msgSend_149 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer keys, + ffi.Pointer marker)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_keysSortedByValueUsingSelector_ = + objc.registerName("keysSortedByValueUsingSelector:"); +late final _sel_getObjects_andKeys_count_ = + objc.registerName("getObjects:andKeys:count:"); +final _objc_msgSend_150 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer> objects, + ffi.Pointer> keys, + ffi.UnsignedLong count)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer>, + int)>(); +late final _sel_objectForKeyedSubscript_ = + objc.registerName("objectForKeyedSubscript:"); void _ObjCBlock_ffiVoid_objcObjCObject_objcObjCObject_bool_fnPtrTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2, -) => + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2) => block.ref.target .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2, - )>>() + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2)>>() .asFunction< void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>()(arg0, arg1, arg2); + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>()(arg0, arg1, arg2); final _ObjCBlock_ffiVoid_objcObjCObject_objcObjCObject_bool_closureRegistry = , - ffi.Pointer, - ffi.Pointer, -)>{}; + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>{}; int _ObjCBlock_ffiVoid_objcObjCObject_objcObjCObject_bool_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_ffiVoid_objcObjCObject_objcObjCObject_bool_registerClosure( - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) fn, -) { + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer) + fn) { final id = ++_ObjCBlock_ffiVoid_objcObjCObject_objcObjCObject_bool_closureRegistryIndex; _ObjCBlock_ffiVoid_objcObjCObject_objcObjCObject_bool_closureRegistry[id] = @@ -47361,38 +10786,28 @@ ffi.Pointer } void _ObjCBlock_ffiVoid_objcObjCObject_objcObjCObject_bool_closureTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2, -) => + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2) => _ObjCBlock_ffiVoid_objcObjCObject_objcObjCObject_bool_closureRegistry[ block.ref.target.address]!(arg0, arg1, arg2); class ObjCBlock_ffiVoid_objcObjCObject_objcObjCObject_bool extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_objcObjCObject_objcObjCObject_bool._( - ffi.Pointer pointer, - this._lib, { - bool retain = false, - bool release = true, - }) : super(pointer, retain: retain, release: release); - - SwiftLibrary _lib; + ffi.Pointer pointer, + {bool retain = false, + bool release = true}) + : super(pointer, retain: retain, release: release); /// Returns a block that wraps the given raw block pointer. static ObjCBlock_ffiVoid_objcObjCObject_objcObjCObject_bool castFromPointer( - SwiftLibrary lib, - ffi.Pointer pointer, { - bool retain = false, - bool release = false, - }) { - return ObjCBlock_ffiVoid_objcObjCObject_objcObjCObject_bool._( - pointer, - lib, - retain: retain, - release: release, - ); + ffi.Pointer pointer, + {bool retain = false, + bool release = false}) { + return ObjCBlock_ffiVoid_objcObjCObject_objcObjCObject_bool._(pointer, + retain: retain, release: release); } /// Creates a block from a C function pointer. @@ -47401,29 +10816,23 @@ class ObjCBlock_ffiVoid_objcObjCObject_objcObjCObject_bool /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_objcObjCObject_objcObjCObject_bool.fromFunctionPointer( - SwiftLibrary lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2, - )>> - ptr, - ) : this._( - objc.newBlock( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Pointer< + ffi.NativeFunction< ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>( - _ObjCBlock_ffiVoid_objcObjCObject_objcObjCObject_bool_fnPtrTrampoline, - ).cast(), - ptr.cast(), - ), - lib); + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2)>> + ptr) + : this._(objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>( + _ObjCBlock_ffiVoid_objcObjCObject_objcObjCObject_bool_fnPtrTrampoline) + .cast(), + ptr.cast())); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -47432,32 +10841,21 @@ class ObjCBlock_ffiVoid_objcObjCObject_objcObjCObject_bool /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_objcObjCObject_objcObjCObject_bool.fromFunction( - SwiftLibrary lib, - void Function(NSObject, NSObject, ffi.Pointer) fn, - ) : this._( - objc.newBlock( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>( - _ObjCBlock_ffiVoid_objcObjCObject_objcObjCObject_bool_closureTrampoline, - ).cast(), - _ObjCBlock_ffiVoid_objcObjCObject_objcObjCObject_bool_registerClosure( - ( - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2, - ) => - fn( - NSObject._(arg0, lib, retain: true, release: true), - NSObject._(arg1, lib, retain: true, release: true), - arg2, - )), - ), - lib); + void Function(NSObject, NSObject, ffi.Pointer) fn) + : this._(objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>( + _ObjCBlock_ffiVoid_objcObjCObject_objcObjCObject_bool_closureTrampoline) + .cast(), + _ObjCBlock_ffiVoid_objcObjCObject_objcObjCObject_bool_registerClosure( + (ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2) => + fn(NSObject._(arg0, retain: true, release: true), NSObject._(arg1, retain: true, release: true), arg2)))); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -47470,96 +10868,106 @@ class ObjCBlock_ffiVoid_objcObjCObject_objcObjCObject_bool /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. ObjCBlock_ffiVoid_objcObjCObject_objcObjCObject_bool.listener( - SwiftLibrary lib, - void Function(NSObject, NSObject, ffi.Pointer) fn, - ) : this._( - objc.newBlock( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>.listener( - _ObjCBlock_ffiVoid_objcObjCObject_objcObjCObject_bool_closureTrampoline, - )..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_objcObjCObject_objcObjCObject_bool_registerClosure( - ( - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2, - ) => - fn( - NSObject._(arg0, lib, retain: true, release: true), - NSObject._(arg1, lib, retain: true, release: true), - arg2, - )), - ), - lib); + void Function(NSObject, NSObject, ffi.Pointer) fn) + : this._(objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>.listener( + _ObjCBlock_ffiVoid_objcObjCObject_objcObjCObject_bool_closureTrampoline) + ..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_objcObjCObject_objcObjCObject_bool_registerClosure( + (ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2) => + fn(NSObject._(arg0, retain: true, release: true), NSObject._(arg1, retain: true, release: true), arg2)))); static ffi.NativeCallable< ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>? _dartFuncListenerTrampoline; + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>? _dartFuncListenerTrampoline; void call(NSObject arg0, NSObject arg1, ffi.Pointer arg2) => pointer.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2, - )>>() - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>()(pointer, arg0.pointer, arg1.pointer, arg2); -} - + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>()( + pointer, arg0.pointer, arg1.pointer, arg2); +} + +late final _sel_enumerateKeysAndObjectsUsingBlock_ = + objc.registerName("enumerateKeysAndObjectsUsingBlock:"); +final _objc_msgSend_151 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer block)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_enumerateKeysAndObjectsWithOptions_usingBlock_ = + objc.registerName("enumerateKeysAndObjectsWithOptions:usingBlock:"); +final _objc_msgSend_152 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Int32 opts, + ffi.Pointer block)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer)>(); +late final _sel_keysSortedByValueUsingComparator_ = + objc.registerName("keysSortedByValueUsingComparator:"); +late final _sel_keysSortedByValueWithOptions_usingComparator_ = + objc.registerName("keysSortedByValueWithOptions:usingComparator:"); bool _ObjCBlock_bool_objcObjCObject_objcObjCObject_bool_fnPtrTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2, -) => + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2) => block.ref.target .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2, - )>>() + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2)>>() .asFunction< bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>()(arg0, arg1, arg2); + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>()(arg0, arg1, arg2); final _ObjCBlock_bool_objcObjCObject_objcObjCObject_bool_closureRegistry = , - ffi.Pointer, - ffi.Pointer, -)>{}; + bool Function(ffi.Pointer, ffi.Pointer, + ffi.Pointer)>{}; int _ObjCBlock_bool_objcObjCObject_objcObjCObject_bool_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_bool_objcObjCObject_objcObjCObject_bool_registerClosure( - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) fn, -) { + bool Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer) + fn) { final id = ++_ObjCBlock_bool_objcObjCObject_objcObjCObject_bool_closureRegistryIndex; _ObjCBlock_bool_objcObjCObject_objcObjCObject_bool_closureRegistry[id] = fn; @@ -47567,38 +10975,28 @@ ffi.Pointer } bool _ObjCBlock_bool_objcObjCObject_objcObjCObject_bool_closureTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2, -) => + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2) => _ObjCBlock_bool_objcObjCObject_objcObjCObject_bool_closureRegistry[ block.ref.target.address]!(arg0, arg1, arg2); class ObjCBlock_bool_objcObjCObject_objcObjCObject_bool extends objc.ObjCBlockBase { ObjCBlock_bool_objcObjCObject_objcObjCObject_bool._( - ffi.Pointer pointer, - this._lib, { - bool retain = false, - bool release = true, - }) : super(pointer, retain: retain, release: release); - - SwiftLibrary _lib; + ffi.Pointer pointer, + {bool retain = false, + bool release = true}) + : super(pointer, retain: retain, release: release); /// Returns a block that wraps the given raw block pointer. static ObjCBlock_bool_objcObjCObject_objcObjCObject_bool castFromPointer( - SwiftLibrary lib, - ffi.Pointer pointer, { - bool retain = false, - bool release = false, - }) { - return ObjCBlock_bool_objcObjCObject_objcObjCObject_bool._( - pointer, - lib, - retain: retain, - release: release, - ); + ffi.Pointer pointer, + {bool retain = false, + bool release = false}) { + return ObjCBlock_bool_objcObjCObject_objcObjCObject_bool._(pointer, + retain: retain, release: release); } /// Creates a block from a C function pointer. @@ -47607,30 +11005,24 @@ class ObjCBlock_bool_objcObjCObject_objcObjCObject_bool /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_bool_objcObjCObject_objcObjCObject_bool.fromFunctionPointer( - SwiftLibrary lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2, - )>> - ptr, - ) : this._( - objc.newBlock( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Pointer< + ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>( - _ObjCBlock_bool_objcObjCObject_objcObjCObject_bool_fnPtrTrampoline, - false, - ).cast(), - ptr.cast(), - ), - lib); + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2)>> + ptr) + : this._(objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>( + _ObjCBlock_bool_objcObjCObject_objcObjCObject_bool_fnPtrTrampoline, + false) + .cast(), + ptr.cast())); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -47639,53 +11031,195 @@ class ObjCBlock_bool_objcObjCObject_objcObjCObject_bool /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_bool_objcObjCObject_objcObjCObject_bool.fromFunction( - SwiftLibrary lib, - bool Function(NSObject, NSObject, ffi.Pointer) fn, - ) : this._( - objc.newBlock( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>( - _ObjCBlock_bool_objcObjCObject_objcObjCObject_bool_closureTrampoline, - false, - ).cast(), - _ObjCBlock_bool_objcObjCObject_objcObjCObject_bool_registerClosure( - ( - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2, - ) => - fn( - NSObject._(arg0, lib, retain: true, release: true), - NSObject._(arg1, lib, retain: true, release: true), - arg2, - )), - ), - lib); + bool Function(NSObject, NSObject, ffi.Pointer) fn) + : this._(objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>( + _ObjCBlock_bool_objcObjCObject_objcObjCObject_bool_closureTrampoline, false) + .cast(), + _ObjCBlock_bool_objcObjCObject_objcObjCObject_bool_registerClosure((ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2) => + fn(NSObject._(arg0, retain: true, release: true), NSObject._(arg1, retain: true, release: true), arg2)))); static ffi.Pointer? _dartFuncTrampoline; bool call(NSObject arg0, NSObject arg1, ffi.Pointer arg2) => pointer.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2, - )>>() - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>()(pointer, arg0.pointer, arg1.pointer, arg2); -} + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2)>>() + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>()( + pointer, arg0.pointer, arg1.pointer, arg2); +} + +late final _sel_keysOfEntriesPassingTest_ = + objc.registerName("keysOfEntriesPassingTest:"); +final _objc_msgSend_153 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer predicate)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_keysOfEntriesWithOptions_passingTest_ = + objc.registerName("keysOfEntriesWithOptions:passingTest:"); +final _objc_msgSend_154 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Int32 opts, + ffi.Pointer predicate)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer)>(); +late final _sel_getObjects_andKeys_ = objc.registerName("getObjects:andKeys:"); +final _objc_msgSend_155 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer> objects, + ffi.Pointer> keys)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer>)>(); +late final _sel_dictionaryWithContentsOfFile_ = + objc.registerName("dictionaryWithContentsOfFile:"); +final _objc_msgSend_156 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer path)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_dictionaryWithContentsOfURL_ = + objc.registerName("dictionaryWithContentsOfURL:"); +final _objc_msgSend_157 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer url)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_dictionary = objc.registerName("dictionary"); +late final _sel_dictionaryWithObject_forKey_ = + objc.registerName("dictionaryWithObject:forKey:"); +final _objc_msgSend_158 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer object, + ffi.Pointer key)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_dictionaryWithObjects_forKeys_count_ = + objc.registerName("dictionaryWithObjects:forKeys:count:"); +late final _sel_dictionaryWithObjectsAndKeys_ = + objc.registerName("dictionaryWithObjectsAndKeys:"); +late final _sel_dictionaryWithDictionary_ = + objc.registerName("dictionaryWithDictionary:"); +final _objc_msgSend_159 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer dict)>>() + .asFunction< + instancetype Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_dictionaryWithObjects_forKeys_ = + objc.registerName("dictionaryWithObjects:forKeys:"); +final _objc_msgSend_160 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer objects, + ffi.Pointer keys)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_initWithObjectsAndKeys_ = + objc.registerName("initWithObjectsAndKeys:"); +late final _sel_initWithDictionary_ = objc.registerName("initWithDictionary:"); +late final _sel_initWithDictionary_copyItems_ = + objc.registerName("initWithDictionary:copyItems:"); +final _objc_msgSend_161 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer otherDictionary, + ffi.Bool flag)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool)>(); +late final _sel_initWithObjects_forKeys_ = + objc.registerName("initWithObjects:forKeys:"); +final _objc_msgSend_162 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer url, + ffi.Pointer> error)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>(); +late final _sel_dictionaryWithContentsOfURL_error_ = + objc.registerName("dictionaryWithContentsOfURL:error:"); +late final _sel_sharedKeySetForKeys_ = + objc.registerName("sharedKeySetForKeys:"); final class NSFastEnumerationState extends ffi.Struct { @ffi.UnsignedLong() @@ -47699,1515 +11233,1373 @@ final class NSFastEnumerationState extends ffi.Struct { external ffi.Array extra; } +late final _sel_countByEnumeratingWithState_objects_count_ = + objc.registerName("countByEnumeratingWithState:objects:count:"); +final _objc_msgSend_163 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer state, + ffi.Pointer> buffer, + ffi.UnsignedLong len)>>() + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + int)>(); +late final _sel_fileSize = objc.registerName("fileSize"); +final _objc_msgSend_164 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.UnsignedLongLong Function(ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + int Function( + ffi.Pointer, ffi.Pointer)>(); + class NSDate extends NSObject { - NSDate._( - ffi.Pointer pointer, - SwiftLibrary lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSDate._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSDate] that points to the same underlying object as [other]. - static NSDate castFrom( - SwiftLibrary lib, - T other, - ) { - return NSDate._(other.pointer, lib, retain: true, release: true); + static NSDate castFrom(T other) { + return NSDate._(other.pointer, retain: true, release: true); } /// Returns a [NSDate] that wraps the given raw object pointer. - static NSDate castFromPointer( - SwiftLibrary lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSDate._(other, lib, retain: retain, release: release); + static NSDate castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSDate._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSDate]. - static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSDate1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0(obj.pointer, _sel_isKindOfClass_, _class_NSDate); } double get timeIntervalSinceReferenceDate { return objc.useMsgSendVariants - ? _lib._objc_msgSend_165_fpret( - this.pointer, - _lib._sel_timeIntervalSinceReferenceDate1, - ) - : _lib._objc_msgSend_165( - this.pointer, - _lib._sel_timeIntervalSinceReferenceDate1, - ); + ? _objc_msgSend_165Fpret( + this.pointer, _sel_timeIntervalSinceReferenceDate) + : _objc_msgSend_165(this.pointer, _sel_timeIntervalSinceReferenceDate); } @override NSDate init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSDate._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSDate._(_ret, retain: true, release: true); } NSDate initWithTimeIntervalSinceReferenceDate_(double ti) { - final _ret = _lib._objc_msgSend_166( - this.pointer, - _lib._sel_initWithTimeIntervalSinceReferenceDate_1, - ti, - ); - return NSDate._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_166( + this.pointer, _sel_initWithTimeIntervalSinceReferenceDate_, ti); + return NSDate._(_ret, retain: true, release: true); } NSDate? initWithCoder_(NSCoder coder) { - final _ret = _lib._objc_msgSend_47( - this.pointer, - _lib._sel_initWithCoder_1, - coder.pointer, - ); + final _ret = + _objc_msgSend_47(this.pointer, _sel_initWithCoder_, coder.pointer); return _ret.address == 0 ? null - : NSDate._(_ret, _lib, retain: true, release: true); + : NSDate._(_ret, retain: true, release: true); } double timeIntervalSinceDate_(NSDate anotherDate) { return objc.useMsgSendVariants - ? _lib._objc_msgSend_167_fpret( - this.pointer, - _lib._sel_timeIntervalSinceDate_1, - anotherDate.pointer, - ) - : _lib._objc_msgSend_167( - this.pointer, - _lib._sel_timeIntervalSinceDate_1, - anotherDate.pointer, - ); + ? _objc_msgSend_167Fpret( + this.pointer, _sel_timeIntervalSinceDate_, anotherDate.pointer) + : _objc_msgSend_167( + this.pointer, _sel_timeIntervalSinceDate_, anotherDate.pointer); } double get timeIntervalSinceNow { return objc.useMsgSendVariants - ? _lib._objc_msgSend_165_fpret( - this.pointer, - _lib._sel_timeIntervalSinceNow1, - ) - : _lib._objc_msgSend_165(this.pointer, _lib._sel_timeIntervalSinceNow1); + ? _objc_msgSend_165Fpret(this.pointer, _sel_timeIntervalSinceNow) + : _objc_msgSend_165(this.pointer, _sel_timeIntervalSinceNow); } double get timeIntervalSince1970 { return objc.useMsgSendVariants - ? _lib._objc_msgSend_165_fpret( - this.pointer, - _lib._sel_timeIntervalSince19701, - ) - : _lib._objc_msgSend_165( - this.pointer, - _lib._sel_timeIntervalSince19701, - ); + ? _objc_msgSend_165Fpret(this.pointer, _sel_timeIntervalSince1970) + : _objc_msgSend_165(this.pointer, _sel_timeIntervalSince1970); } NSObject addTimeInterval_(double seconds) { - final _ret = _lib._objc_msgSend_166( - this.pointer, - _lib._sel_addTimeInterval_1, - seconds, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_166(this.pointer, _sel_addTimeInterval_, seconds); + return NSObject._(_ret, retain: true, release: true); } NSDate dateByAddingTimeInterval_(double ti) { - final _ret = _lib._objc_msgSend_166( - this.pointer, - _lib._sel_dateByAddingTimeInterval_1, - ti, - ); - return NSDate._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_166(this.pointer, _sel_dateByAddingTimeInterval_, ti); + return NSDate._(_ret, retain: true, release: true); } NSDate earlierDate_(NSDate anotherDate) { - final _ret = _lib._objc_msgSend_168( - this.pointer, - _lib._sel_earlierDate_1, - anotherDate.pointer, - ); - return NSDate._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_168(this.pointer, _sel_earlierDate_, anotherDate.pointer); + return NSDate._(_ret, retain: true, release: true); } NSDate laterDate_(NSDate anotherDate) { - final _ret = _lib._objc_msgSend_168( - this.pointer, - _lib._sel_laterDate_1, - anotherDate.pointer, - ); - return NSDate._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_168(this.pointer, _sel_laterDate_, anotherDate.pointer); + return NSDate._(_ret, retain: true, release: true); } int compare_(NSDate other) { - return _lib._objc_msgSend_169( - this.pointer, - _lib._sel_compare_1, - other.pointer, - ); + return _objc_msgSend_169(this.pointer, _sel_compare_, other.pointer); } bool isEqualToDate_(NSDate otherDate) { - return _lib._objc_msgSend_170( - this.pointer, - _lib._sel_isEqualToDate_1, - otherDate.pointer, - ); + return _objc_msgSend_170( + this.pointer, _sel_isEqualToDate_, otherDate.pointer); } NSString get description { - final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_description1); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_description); + return NSString._(_ret, retain: true, release: true); } NSString descriptionWithLocale_(NSObject? locale) { - final _ret = _lib._objc_msgSend_70( - this.pointer, - _lib._sel_descriptionWithLocale_1, - locale?.pointer ?? ffi.nullptr, - ); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_70(this.pointer, _sel_descriptionWithLocale_, + locale?.pointer ?? ffi.nullptr); + return NSString._(_ret, retain: true, release: true); } - static NSDate date(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2(_lib._class_NSDate1, _lib._sel_date1); - return NSDate._(_ret, _lib, retain: true, release: true); + static NSDate date() { + final _ret = _objc_msgSend_2(_class_NSDate, _sel_date); + return NSDate._(_ret, retain: true, release: true); } - static NSDate dateWithTimeIntervalSinceNow_(SwiftLibrary _lib, double secs) { - final _ret = _lib._objc_msgSend_166( - _lib._class_NSDate1, - _lib._sel_dateWithTimeIntervalSinceNow_1, - secs, - ); - return NSDate._(_ret, _lib, retain: true, release: true); + static NSDate dateWithTimeIntervalSinceNow_(double secs) { + final _ret = _objc_msgSend_166( + _class_NSDate, _sel_dateWithTimeIntervalSinceNow_, secs); + return NSDate._(_ret, retain: true, release: true); } - static NSDate dateWithTimeIntervalSinceReferenceDate_( - SwiftLibrary _lib, - double ti, - ) { - final _ret = _lib._objc_msgSend_166( - _lib._class_NSDate1, - _lib._sel_dateWithTimeIntervalSinceReferenceDate_1, - ti, - ); - return NSDate._(_ret, _lib, retain: true, release: true); + static NSDate dateWithTimeIntervalSinceReferenceDate_(double ti) { + final _ret = _objc_msgSend_166( + _class_NSDate, _sel_dateWithTimeIntervalSinceReferenceDate_, ti); + return NSDate._(_ret, retain: true, release: true); } - static NSDate dateWithTimeIntervalSince1970_(SwiftLibrary _lib, double secs) { - final _ret = _lib._objc_msgSend_166( - _lib._class_NSDate1, - _lib._sel_dateWithTimeIntervalSince1970_1, - secs, - ); - return NSDate._(_ret, _lib, retain: true, release: true); + static NSDate dateWithTimeIntervalSince1970_(double secs) { + final _ret = _objc_msgSend_166( + _class_NSDate, _sel_dateWithTimeIntervalSince1970_, secs); + return NSDate._(_ret, retain: true, release: true); } static NSDate dateWithTimeInterval_sinceDate_( - SwiftLibrary _lib, - double secsToBeAdded, - NSDate date, - ) { - final _ret = _lib._objc_msgSend_171( - _lib._class_NSDate1, - _lib._sel_dateWithTimeInterval_sinceDate_1, - secsToBeAdded, - date.pointer, - ); - return NSDate._(_ret, _lib, retain: true, release: true); + double secsToBeAdded, NSDate date) { + final _ret = _objc_msgSend_171(_class_NSDate, + _sel_dateWithTimeInterval_sinceDate_, secsToBeAdded, date.pointer); + return NSDate._(_ret, retain: true, release: true); } - static NSDate getDistantFuture(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_172( - _lib._class_NSDate1, - _lib._sel_distantFuture1, - ); - return NSDate._(_ret, _lib, retain: true, release: true); + static NSDate getDistantFuture() { + final _ret = _objc_msgSend_172(_class_NSDate, _sel_distantFuture); + return NSDate._(_ret, retain: true, release: true); } - static NSDate getDistantPast(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_172( - _lib._class_NSDate1, - _lib._sel_distantPast1, - ); - return NSDate._(_ret, _lib, retain: true, release: true); + static NSDate getDistantPast() { + final _ret = _objc_msgSend_172(_class_NSDate, _sel_distantPast); + return NSDate._(_ret, retain: true, release: true); } - static NSDate getNow(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_172(_lib._class_NSDate1, _lib._sel_now1); - return NSDate._(_ret, _lib, retain: true, release: true); + static NSDate getNow() { + final _ret = _objc_msgSend_172(_class_NSDate, _sel_now); + return NSDate._(_ret, retain: true, release: true); } NSDate initWithTimeIntervalSinceNow_(double secs) { - final _ret = _lib._objc_msgSend_166( - this.pointer, - _lib._sel_initWithTimeIntervalSinceNow_1, - secs, - ); - return NSDate._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_166( + this.pointer, _sel_initWithTimeIntervalSinceNow_, secs); + return NSDate._(_ret, retain: true, release: true); } NSDate initWithTimeIntervalSince1970_(double secs) { - final _ret = _lib._objc_msgSend_166( - this.pointer, - _lib._sel_initWithTimeIntervalSince1970_1, - secs, - ); - return NSDate._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_166( + this.pointer, _sel_initWithTimeIntervalSince1970_, secs); + return NSDate._(_ret, retain: true, release: true); } NSDate initWithTimeInterval_sinceDate_(double secsToBeAdded, NSDate date) { - final _ret = _lib._objc_msgSend_171( - this.pointer, - _lib._sel_initWithTimeInterval_sinceDate_1, - secsToBeAdded, - date.pointer, - ); - return NSDate._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_171(this.pointer, + _sel_initWithTimeInterval_sinceDate_, secsToBeAdded, date.pointer); + return NSDate._(_ret, retain: true, release: true); } static NSObject? dateWithNaturalLanguageString_locale_( - SwiftLibrary _lib, - NSString string, - NSObject? locale, - ) { - final _ret = _lib._objc_msgSend_173( - _lib._class_NSDate1, - _lib._sel_dateWithNaturalLanguageString_locale_1, - string.pointer, - locale?.pointer ?? ffi.nullptr, - ); + NSString string, NSObject? locale) { + final _ret = _objc_msgSend_173( + _class_NSDate, + _sel_dateWithNaturalLanguageString_locale_, + string.pointer, + locale?.pointer ?? ffi.nullptr); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } - static NSObject? dateWithNaturalLanguageString_( - SwiftLibrary _lib, - NSString string, - ) { - final _ret = _lib._objc_msgSend_38( - _lib._class_NSDate1, - _lib._sel_dateWithNaturalLanguageString_1, - string.pointer, - ); + static NSObject? dateWithNaturalLanguageString_(NSString string) { + final _ret = _objc_msgSend_38( + _class_NSDate, _sel_dateWithNaturalLanguageString_, string.pointer); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } - static NSObject dateWithString_(SwiftLibrary _lib, NSString aString) { - final _ret = _lib._objc_msgSend_31( - _lib._class_NSDate1, - _lib._sel_dateWithString_1, - aString.pointer, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + static NSObject dateWithString_(NSString aString) { + final _ret = + _objc_msgSend_31(_class_NSDate, _sel_dateWithString_, aString.pointer); + return NSObject._(_ret, retain: true, release: true); } NSCalendarDate dateWithCalendarFormat_timeZone_( - NSString? format, - NSTimeZone? aTimeZone, - ) { - final _ret = _lib._objc_msgSend_212( - this.pointer, - _lib._sel_dateWithCalendarFormat_timeZone_1, - format?.pointer ?? ffi.nullptr, - aTimeZone?.pointer ?? ffi.nullptr, - ); - return NSCalendarDate._(_ret, _lib, retain: true, release: true); + NSString? format, NSTimeZone? aTimeZone) { + final _ret = _objc_msgSend_212( + this.pointer, + _sel_dateWithCalendarFormat_timeZone_, + format?.pointer ?? ffi.nullptr, + aTimeZone?.pointer ?? ffi.nullptr); + return NSCalendarDate._(_ret, retain: true, release: true); } NSString? descriptionWithCalendarFormat_timeZone_locale_( - NSString? format, - NSTimeZone? aTimeZone, - NSObject? locale, - ) { - final _ret = _lib._objc_msgSend_213( - this.pointer, - _lib._sel_descriptionWithCalendarFormat_timeZone_locale_1, - format?.pointer ?? ffi.nullptr, - aTimeZone?.pointer ?? ffi.nullptr, - locale?.pointer ?? ffi.nullptr, - ); + NSString? format, NSTimeZone? aTimeZone, NSObject? locale) { + final _ret = _objc_msgSend_213( + this.pointer, + _sel_descriptionWithCalendarFormat_timeZone_locale_, + format?.pointer ?? ffi.nullptr, + aTimeZone?.pointer ?? ffi.nullptr, + locale?.pointer ?? ffi.nullptr); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } NSObject? initWithString_(NSString description) { - final _ret = _lib._objc_msgSend_38( - this.pointer, - _lib._sel_initWithString_1, - description.pointer, - ); + final _ret = _objc_msgSend_38( + this.pointer, _sel_initWithString_, description.pointer); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } - static NSDate new1(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2(_lib._class_NSDate1, _lib._sel_new1); - return NSDate._(_ret, _lib, retain: false, release: true); + static NSDate new1() { + final _ret = _objc_msgSend_2(_class_NSDate, _sel_new); + return NSDate._(_ret, retain: false, release: true); } - static NSDate allocWithZone_(SwiftLibrary _lib, ffi.Pointer<_NSZone> zone) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSDate1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSDate._(_ret, _lib, retain: false, release: true); + static NSDate allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = _objc_msgSend_3(_class_NSDate, _sel_allocWithZone_, zone); + return NSDate._(_ret, retain: false, release: true); } - static NSDate alloc(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2(_lib._class_NSDate1, _lib._sel_alloc1); - return NSDate._(_ret, _lib, retain: false, release: true); + static NSDate alloc() { + final _ret = _objc_msgSend_2(_class_NSDate, _sel_alloc); + return NSDate._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSDate1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSDate1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSDate1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSDate1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSDate1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSDate1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSDate, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); } - static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSDate1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSDate1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSDate1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSDate, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); } -} + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSDate, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSDate, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSDate, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64( + _class_NSDate, _sel_automaticallyNotifiesObserversForKey_, key.pointer); + } + + static void setKeys_triggerChangeNotificationsForDependentKey_( + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSDate, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = + _objc_msgSend_85(_class_NSDate, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = _objc_msgSend_2(_class_NSDate, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); + } +} + +late final _class_NSDate = objc.getClass("NSDate"); +late final _sel_timeIntervalSinceReferenceDate = + objc.registerName("timeIntervalSinceReferenceDate"); +final _objc_msgSend_165 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Double Function(ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + double Function( + ffi.Pointer, ffi.Pointer)>(); +final _objc_msgSend_165Fpret = objc.msgSendFpretPointer + .cast< + ffi.NativeFunction< + ffi.Double Function(ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + double Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_initWithTimeIntervalSinceReferenceDate_ = + objc.registerName("initWithTimeIntervalSinceReferenceDate:"); +final _objc_msgSend_166 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function(ffi.Pointer obj, + ffi.Pointer sel, ffi.Double ti)>>() + .asFunction< + instancetype Function(ffi.Pointer, + ffi.Pointer, double)>(); +late final _sel_timeIntervalSinceDate_ = + objc.registerName("timeIntervalSinceDate:"); +final _objc_msgSend_167 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Double Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer anotherDate)>>() + .asFunction< + double Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +final _objc_msgSend_167Fpret = objc.msgSendFpretPointer + .cast< + ffi.NativeFunction< + ffi.Double Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer anotherDate)>>() + .asFunction< + double Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_timeIntervalSinceNow = + objc.registerName("timeIntervalSinceNow"); +late final _sel_timeIntervalSince1970 = + objc.registerName("timeIntervalSince1970"); +late final _sel_addTimeInterval_ = objc.registerName("addTimeInterval:"); +late final _sel_dateByAddingTimeInterval_ = + objc.registerName("dateByAddingTimeInterval:"); +late final _sel_earlierDate_ = objc.registerName("earlierDate:"); +final _objc_msgSend_168 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer anotherDate)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_laterDate_ = objc.registerName("laterDate:"); +late final _sel_compare_ = objc.registerName("compare:"); +final _objc_msgSend_169 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer other)>>() + .asFunction< + int Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_isEqualToDate_ = objc.registerName("isEqualToDate:"); +final _objc_msgSend_170 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer otherDate)>>() + .asFunction< + bool Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_date = objc.registerName("date"); +late final _sel_dateWithTimeIntervalSinceNow_ = + objc.registerName("dateWithTimeIntervalSinceNow:"); +late final _sel_dateWithTimeIntervalSinceReferenceDate_ = + objc.registerName("dateWithTimeIntervalSinceReferenceDate:"); +late final _sel_dateWithTimeIntervalSince1970_ = + objc.registerName("dateWithTimeIntervalSince1970:"); +late final _sel_dateWithTimeInterval_sinceDate_ = + objc.registerName("dateWithTimeInterval:sinceDate:"); +final _objc_msgSend_171 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Double secsToBeAdded, + ffi.Pointer date)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + double, + ffi.Pointer)>(); +late final _sel_distantFuture = objc.registerName("distantFuture"); +final _objc_msgSend_172 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_distantPast = objc.registerName("distantPast"); +late final _sel_now = objc.registerName("now"); +late final _sel_initWithTimeIntervalSinceNow_ = + objc.registerName("initWithTimeIntervalSinceNow:"); +late final _sel_initWithTimeIntervalSince1970_ = + objc.registerName("initWithTimeIntervalSince1970:"); +late final _sel_initWithTimeInterval_sinceDate_ = + objc.registerName("initWithTimeInterval:sinceDate:"); +late final _sel_dateWithNaturalLanguageString_locale_ = + objc.registerName("dateWithNaturalLanguageString:locale:"); +final _objc_msgSend_173 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer string, + ffi.Pointer locale)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_dateWithNaturalLanguageString_ = + objc.registerName("dateWithNaturalLanguageString:"); +late final _sel_dateWithString_ = objc.registerName("dateWithString:"); class NSCalendarDate extends NSDate { - NSCalendarDate._( - ffi.Pointer pointer, - SwiftLibrary lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSCalendarDate._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSCalendarDate] that points to the same underlying object as [other]. - static NSCalendarDate castFrom( - SwiftLibrary lib, - T other, - ) { - return NSCalendarDate._(other.pointer, lib, retain: true, release: true); + static NSCalendarDate castFrom(T other) { + return NSCalendarDate._(other.pointer, retain: true, release: true); } /// Returns a [NSCalendarDate] that wraps the given raw object pointer. - static NSCalendarDate castFromPointer( - SwiftLibrary lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSCalendarDate._(other, lib, retain: retain, release: release); + static NSCalendarDate castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSCalendarDate._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSCalendarDate]. - static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSCalendarDate1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0( + obj.pointer, _sel_isKindOfClass_, _class_NSCalendarDate); } - static NSObject calendarDate(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSCalendarDate1, - _lib._sel_calendarDate1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + static NSObject calendarDate() { + final _ret = _objc_msgSend_2(_class_NSCalendarDate, _sel_calendarDate); + return NSObject._(_ret, retain: true, release: true); } static NSObject? dateWithString_calendarFormat_locale_( - SwiftLibrary _lib, - NSString description, - NSString format, - NSObject? locale, - ) { - final _ret = _lib._objc_msgSend_174( - _lib._class_NSCalendarDate1, - _lib._sel_dateWithString_calendarFormat_locale_1, - description.pointer, - format.pointer, - locale?.pointer ?? ffi.nullptr, - ); + NSString description, NSString format, NSObject? locale) { + final _ret = _objc_msgSend_174( + _class_NSCalendarDate, + _sel_dateWithString_calendarFormat_locale_, + description.pointer, + format.pointer, + locale?.pointer ?? ffi.nullptr); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } static NSObject? dateWithString_calendarFormat_( - SwiftLibrary _lib, - NSString description, - NSString format, - ) { - final _ret = _lib._objc_msgSend_175( - _lib._class_NSCalendarDate1, - _lib._sel_dateWithString_calendarFormat_1, - description.pointer, - format.pointer, - ); + NSString description, NSString format) { + final _ret = _objc_msgSend_175( + _class_NSCalendarDate, + _sel_dateWithString_calendarFormat_, + description.pointer, + format.pointer); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } static NSObject dateWithYear_month_day_hour_minute_second_timeZone_( - SwiftLibrary _lib, - int year, - int month, - int day, - int hour, - int minute, - int second, - NSTimeZone? aTimeZone, - ) { - final _ret = _lib._objc_msgSend_206( - _lib._class_NSCalendarDate1, - _lib._sel_dateWithYear_month_day_hour_minute_second_timeZone_1, - year, - month, - day, - hour, - minute, - second, - aTimeZone?.pointer ?? ffi.nullptr, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + int year, + int month, + int day, + int hour, + int minute, + int second, + NSTimeZone? aTimeZone) { + final _ret = _objc_msgSend_206( + _class_NSCalendarDate, + _sel_dateWithYear_month_day_hour_minute_second_timeZone_, + year, + month, + day, + hour, + minute, + second, + aTimeZone?.pointer ?? ffi.nullptr); + return NSObject._(_ret, retain: true, release: true); } NSCalendarDate dateByAddingYears_months_days_hours_minutes_seconds_( - int year, - int month, - int day, - int hour, - int minute, - int second, - ) { - final _ret = _lib._objc_msgSend_207( - this.pointer, - _lib._sel_dateByAddingYears_months_days_hours_minutes_seconds_1, - year, - month, - day, - hour, - minute, - second, - ); - return NSCalendarDate._(_ret, _lib, retain: true, release: true); + int year, int month, int day, int hour, int minute, int second) { + final _ret = _objc_msgSend_207( + this.pointer, + _sel_dateByAddingYears_months_days_hours_minutes_seconds_, + year, + month, + day, + hour, + minute, + second); + return NSCalendarDate._(_ret, retain: true, release: true); } int dayOfCommonEra() { - return _lib._objc_msgSend_83(this.pointer, _lib._sel_dayOfCommonEra1); + return _objc_msgSend_83(this.pointer, _sel_dayOfCommonEra); } int dayOfMonth() { - return _lib._objc_msgSend_83(this.pointer, _lib._sel_dayOfMonth1); + return _objc_msgSend_83(this.pointer, _sel_dayOfMonth); } int dayOfWeek() { - return _lib._objc_msgSend_83(this.pointer, _lib._sel_dayOfWeek1); + return _objc_msgSend_83(this.pointer, _sel_dayOfWeek); } int dayOfYear() { - return _lib._objc_msgSend_83(this.pointer, _lib._sel_dayOfYear1); + return _objc_msgSend_83(this.pointer, _sel_dayOfYear); } int hourOfDay() { - return _lib._objc_msgSend_83(this.pointer, _lib._sel_hourOfDay1); + return _objc_msgSend_83(this.pointer, _sel_hourOfDay); } int minuteOfHour() { - return _lib._objc_msgSend_83(this.pointer, _lib._sel_minuteOfHour1); + return _objc_msgSend_83(this.pointer, _sel_minuteOfHour); } int monthOfYear() { - return _lib._objc_msgSend_83(this.pointer, _lib._sel_monthOfYear1); + return _objc_msgSend_83(this.pointer, _sel_monthOfYear); } int secondOfMinute() { - return _lib._objc_msgSend_83(this.pointer, _lib._sel_secondOfMinute1); + return _objc_msgSend_83(this.pointer, _sel_secondOfMinute); } int yearOfCommonEra() { - return _lib._objc_msgSend_83(this.pointer, _lib._sel_yearOfCommonEra1); + return _objc_msgSend_83(this.pointer, _sel_yearOfCommonEra); } NSString calendarFormat() { - final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_calendarFormat1); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_calendarFormat); + return NSString._(_ret, retain: true, release: true); } NSString descriptionWithCalendarFormat_locale_( - NSString format, - NSObject? locale, - ) { - final _ret = _lib._objc_msgSend_208( - this.pointer, - _lib._sel_descriptionWithCalendarFormat_locale_1, - format.pointer, - locale?.pointer ?? ffi.nullptr, - ); - return NSString._(_ret, _lib, retain: true, release: true); + NSString format, NSObject? locale) { + final _ret = _objc_msgSend_208( + this.pointer, + _sel_descriptionWithCalendarFormat_locale_, + format.pointer, + locale?.pointer ?? ffi.nullptr); + return NSString._(_ret, retain: true, release: true); } NSString descriptionWithCalendarFormat_(NSString format) { - final _ret = _lib._objc_msgSend_69( - this.pointer, - _lib._sel_descriptionWithCalendarFormat_1, - format.pointer, - ); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_69( + this.pointer, _sel_descriptionWithCalendarFormat_, format.pointer); + return NSString._(_ret, retain: true, release: true); } @override NSString descriptionWithLocale_(NSObject? locale) { - final _ret = _lib._objc_msgSend_70( - this.pointer, - _lib._sel_descriptionWithLocale_1, - locale?.pointer ?? ffi.nullptr, - ); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_70(this.pointer, _sel_descriptionWithLocale_, + locale?.pointer ?? ffi.nullptr); + return NSString._(_ret, retain: true, release: true); } NSTimeZone timeZone() { - final _ret = _lib._objc_msgSend_179(this.pointer, _lib._sel_timeZone1); - return NSTimeZone._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_179(this.pointer, _sel_timeZone); + return NSTimeZone._(_ret, retain: true, release: true); } NSObject? initWithString_calendarFormat_locale_( - NSString description, - NSString format, - NSObject? locale, - ) { - final _ret = _lib._objc_msgSend_174( - this.pointer, - _lib._sel_initWithString_calendarFormat_locale_1, - description.pointer, - format.pointer, - locale?.pointer ?? ffi.nullptr, - ); + NSString description, NSString format, NSObject? locale) { + final _ret = _objc_msgSend_174( + this.pointer, + _sel_initWithString_calendarFormat_locale_, + description.pointer, + format.pointer, + locale?.pointer ?? ffi.nullptr); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } NSObject? initWithString_calendarFormat_( - NSString description, - NSString format, - ) { - final _ret = _lib._objc_msgSend_175( - this.pointer, - _lib._sel_initWithString_calendarFormat_1, - description.pointer, - format.pointer, - ); + NSString description, NSString format) { + final _ret = _objc_msgSend_175( + this.pointer, + _sel_initWithString_calendarFormat_, + description.pointer, + format.pointer); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } @override NSObject? initWithString_(NSString description) { - final _ret = _lib._objc_msgSend_38( - this.pointer, - _lib._sel_initWithString_1, - description.pointer, - ); + final _ret = _objc_msgSend_38( + this.pointer, _sel_initWithString_, description.pointer); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } NSObject initWithYear_month_day_hour_minute_second_timeZone_( - int year, - int month, - int day, - int hour, - int minute, - int second, - NSTimeZone? aTimeZone, - ) { - final _ret = _lib._objc_msgSend_206( - this.pointer, - _lib._sel_initWithYear_month_day_hour_minute_second_timeZone_1, - year, - month, - day, - hour, - minute, - second, - aTimeZone?.pointer ?? ffi.nullptr, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + int year, + int month, + int day, + int hour, + int minute, + int second, + NSTimeZone? aTimeZone) { + final _ret = _objc_msgSend_206( + this.pointer, + _sel_initWithYear_month_day_hour_minute_second_timeZone_, + year, + month, + day, + hour, + minute, + second, + aTimeZone?.pointer ?? ffi.nullptr); + return NSObject._(_ret, retain: true, release: true); } void setCalendarFormat_(NSString? format) { - _lib._objc_msgSend_209( - this.pointer, - _lib._sel_setCalendarFormat_1, - format?.pointer ?? ffi.nullptr, - ); + _objc_msgSend_209( + this.pointer, _sel_setCalendarFormat_, format?.pointer ?? ffi.nullptr); } void setTimeZone_(NSTimeZone? aTimeZone) { - _lib._objc_msgSend_210( - this.pointer, - _lib._sel_setTimeZone_1, - aTimeZone?.pointer ?? ffi.nullptr, - ); + _objc_msgSend_210( + this.pointer, _sel_setTimeZone_, aTimeZone?.pointer ?? ffi.nullptr); } void years_months_days_hours_minutes_seconds_sinceDate_( - ffi.Pointer yp, - ffi.Pointer mop, - ffi.Pointer dp, - ffi.Pointer hp, - ffi.Pointer mip, - ffi.Pointer sp, - NSCalendarDate date, - ) { - _lib._objc_msgSend_211( - this.pointer, - _lib._sel_years_months_days_hours_minutes_seconds_sinceDate_1, - yp, - mop, - dp, - hp, - mip, - sp, - date.pointer, - ); - } - - static NSDate getDistantFuture(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_172( - _lib._class_NSCalendarDate1, - _lib._sel_distantFuture1, - ); - return NSDate._(_ret, _lib, retain: true, release: true); - } - - static NSDate getDistantPast(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_172( - _lib._class_NSCalendarDate1, - _lib._sel_distantPast1, - ); - return NSDate._(_ret, _lib, retain: true, release: true); + ffi.Pointer yp, + ffi.Pointer mop, + ffi.Pointer dp, + ffi.Pointer hp, + ffi.Pointer mip, + ffi.Pointer sp, + NSCalendarDate date) { + _objc_msgSend_211( + this.pointer, + _sel_years_months_days_hours_minutes_seconds_sinceDate_, + yp, + mop, + dp, + hp, + mip, + sp, + date.pointer); + } + + static NSDate getDistantFuture() { + final _ret = _objc_msgSend_172(_class_NSCalendarDate, _sel_distantFuture); + return NSDate._(_ret, retain: true, release: true); + } + + static NSDate getDistantPast() { + final _ret = _objc_msgSend_172(_class_NSCalendarDate, _sel_distantPast); + return NSDate._(_ret, retain: true, release: true); } @override NSCalendarDate init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSCalendarDate._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSCalendarDate._(_ret, retain: true, release: true); } @override NSCalendarDate initWithTimeIntervalSinceReferenceDate_(double ti) { - final _ret = _lib._objc_msgSend_166( - this.pointer, - _lib._sel_initWithTimeIntervalSinceReferenceDate_1, - ti, - ); - return NSCalendarDate._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_166( + this.pointer, _sel_initWithTimeIntervalSinceReferenceDate_, ti); + return NSCalendarDate._(_ret, retain: true, release: true); } @override NSCalendarDate? initWithCoder_(NSCoder coder) { - final _ret = _lib._objc_msgSend_47( - this.pointer, - _lib._sel_initWithCoder_1, - coder.pointer, - ); + final _ret = + _objc_msgSend_47(this.pointer, _sel_initWithCoder_, coder.pointer); return _ret.address == 0 ? null - : NSCalendarDate._(_ret, _lib, retain: true, release: true); + : NSCalendarDate._(_ret, retain: true, release: true); } @override NSCalendarDate dateByAddingTimeInterval_(double ti) { - final _ret = _lib._objc_msgSend_166( - this.pointer, - _lib._sel_dateByAddingTimeInterval_1, - ti, - ); - return NSCalendarDate._(_ret, _lib, retain: true, release: true); - } - - static NSCalendarDate date(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSCalendarDate1, - _lib._sel_date1, - ); - return NSCalendarDate._(_ret, _lib, retain: true, release: true); - } - - static NSCalendarDate dateWithTimeIntervalSinceNow_( - SwiftLibrary _lib, - double secs, - ) { - final _ret = _lib._objc_msgSend_166( - _lib._class_NSCalendarDate1, - _lib._sel_dateWithTimeIntervalSinceNow_1, - secs, - ); - return NSCalendarDate._(_ret, _lib, retain: true, release: true); - } - - static NSCalendarDate dateWithTimeIntervalSinceReferenceDate_( - SwiftLibrary _lib, - double ti, - ) { - final _ret = _lib._objc_msgSend_166( - _lib._class_NSCalendarDate1, - _lib._sel_dateWithTimeIntervalSinceReferenceDate_1, - ti, - ); - return NSCalendarDate._(_ret, _lib, retain: true, release: true); - } - - static NSCalendarDate dateWithTimeIntervalSince1970_( - SwiftLibrary _lib, - double secs, - ) { - final _ret = _lib._objc_msgSend_166( - _lib._class_NSCalendarDate1, - _lib._sel_dateWithTimeIntervalSince1970_1, - secs, - ); - return NSCalendarDate._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_166(this.pointer, _sel_dateByAddingTimeInterval_, ti); + return NSCalendarDate._(_ret, retain: true, release: true); + } + + static NSCalendarDate date() { + final _ret = _objc_msgSend_2(_class_NSCalendarDate, _sel_date); + return NSCalendarDate._(_ret, retain: true, release: true); + } + + static NSCalendarDate dateWithTimeIntervalSinceNow_(double secs) { + final _ret = _objc_msgSend_166( + _class_NSCalendarDate, _sel_dateWithTimeIntervalSinceNow_, secs); + return NSCalendarDate._(_ret, retain: true, release: true); + } + + static NSCalendarDate dateWithTimeIntervalSinceReferenceDate_(double ti) { + final _ret = _objc_msgSend_166(_class_NSCalendarDate, + _sel_dateWithTimeIntervalSinceReferenceDate_, ti); + return NSCalendarDate._(_ret, retain: true, release: true); + } + + static NSCalendarDate dateWithTimeIntervalSince1970_(double secs) { + final _ret = _objc_msgSend_166( + _class_NSCalendarDate, _sel_dateWithTimeIntervalSince1970_, secs); + return NSCalendarDate._(_ret, retain: true, release: true); } static NSCalendarDate dateWithTimeInterval_sinceDate_( - SwiftLibrary _lib, - double secsToBeAdded, - NSDate date, - ) { - final _ret = _lib._objc_msgSend_171( - _lib._class_NSCalendarDate1, - _lib._sel_dateWithTimeInterval_sinceDate_1, - secsToBeAdded, - date.pointer, - ); - return NSCalendarDate._(_ret, _lib, retain: true, release: true); - } - - static NSDate getNow(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_172( - _lib._class_NSCalendarDate1, - _lib._sel_now1, - ); - return NSDate._(_ret, _lib, retain: true, release: true); + double secsToBeAdded, NSDate date) { + final _ret = _objc_msgSend_171(_class_NSCalendarDate, + _sel_dateWithTimeInterval_sinceDate_, secsToBeAdded, date.pointer); + return NSCalendarDate._(_ret, retain: true, release: true); + } + + static NSDate getNow() { + final _ret = _objc_msgSend_172(_class_NSCalendarDate, _sel_now); + return NSDate._(_ret, retain: true, release: true); } @override NSCalendarDate initWithTimeIntervalSinceNow_(double secs) { - final _ret = _lib._objc_msgSend_166( - this.pointer, - _lib._sel_initWithTimeIntervalSinceNow_1, - secs, - ); - return NSCalendarDate._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_166( + this.pointer, _sel_initWithTimeIntervalSinceNow_, secs); + return NSCalendarDate._(_ret, retain: true, release: true); } @override NSCalendarDate initWithTimeIntervalSince1970_(double secs) { - final _ret = _lib._objc_msgSend_166( - this.pointer, - _lib._sel_initWithTimeIntervalSince1970_1, - secs, - ); - return NSCalendarDate._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_166( + this.pointer, _sel_initWithTimeIntervalSince1970_, secs); + return NSCalendarDate._(_ret, retain: true, release: true); } @override NSCalendarDate initWithTimeInterval_sinceDate_( - double secsToBeAdded, - NSDate date, - ) { - final _ret = _lib._objc_msgSend_171( - this.pointer, - _lib._sel_initWithTimeInterval_sinceDate_1, - secsToBeAdded, - date.pointer, - ); - return NSCalendarDate._(_ret, _lib, retain: true, release: true); + double secsToBeAdded, NSDate date) { + final _ret = _objc_msgSend_171(this.pointer, + _sel_initWithTimeInterval_sinceDate_, secsToBeAdded, date.pointer); + return NSCalendarDate._(_ret, retain: true, release: true); } static NSObject? dateWithNaturalLanguageString_locale_( - SwiftLibrary _lib, - NSString string, - NSObject? locale, - ) { - final _ret = _lib._objc_msgSend_173( - _lib._class_NSCalendarDate1, - _lib._sel_dateWithNaturalLanguageString_locale_1, - string.pointer, - locale?.pointer ?? ffi.nullptr, - ); + NSString string, NSObject? locale) { + final _ret = _objc_msgSend_173( + _class_NSCalendarDate, + _sel_dateWithNaturalLanguageString_locale_, + string.pointer, + locale?.pointer ?? ffi.nullptr); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } - static NSObject? dateWithNaturalLanguageString_( - SwiftLibrary _lib, - NSString string, - ) { - final _ret = _lib._objc_msgSend_38( - _lib._class_NSCalendarDate1, - _lib._sel_dateWithNaturalLanguageString_1, - string.pointer, - ); + static NSObject? dateWithNaturalLanguageString_(NSString string) { + final _ret = _objc_msgSend_38(_class_NSCalendarDate, + _sel_dateWithNaturalLanguageString_, string.pointer); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } - static NSObject dateWithString_(SwiftLibrary _lib, NSString aString) { - final _ret = _lib._objc_msgSend_31( - _lib._class_NSCalendarDate1, - _lib._sel_dateWithString_1, - aString.pointer, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + static NSObject dateWithString_(NSString aString) { + final _ret = _objc_msgSend_31( + _class_NSCalendarDate, _sel_dateWithString_, aString.pointer); + return NSObject._(_ret, retain: true, release: true); } - static NSCalendarDate new1(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSCalendarDate1, - _lib._sel_new1, - ); - return NSCalendarDate._(_ret, _lib, retain: false, release: true); + static NSCalendarDate new1() { + final _ret = _objc_msgSend_2(_class_NSCalendarDate, _sel_new); + return NSCalendarDate._(_ret, retain: false, release: true); } - static NSCalendarDate allocWithZone_( - SwiftLibrary _lib, - ffi.Pointer<_NSZone> zone, - ) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSCalendarDate1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSCalendarDate._(_ret, _lib, retain: false, release: true); + static NSCalendarDate allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = + _objc_msgSend_3(_class_NSCalendarDate, _sel_allocWithZone_, zone); + return NSCalendarDate._(_ret, retain: false, release: true); } - static NSCalendarDate alloc(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSCalendarDate1, - _lib._sel_alloc1, - ); - return NSCalendarDate._(_ret, _lib, retain: false, release: true); + static NSCalendarDate alloc() { + final _ret = _objc_msgSend_2(_class_NSCalendarDate, _sel_alloc); + return NSCalendarDate._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSCalendarDate1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSCalendarDate1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSCalendarDate1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSCalendarDate1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSCalendarDate1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSCalendarDate1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSCalendarDate, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); + } + + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSCalendarDate, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); + } + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSCalendarDate, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSCalendarDate, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSCalendarDate, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSCalendarDate, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); } static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSCalendarDate1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSCalendarDate1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSCalendarDate1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSCalendarDate, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = _objc_msgSend_85( + _class_NSCalendarDate, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = + _objc_msgSend_2(_class_NSCalendarDate, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); } } +late final _class_NSCalendarDate = objc.getClass("NSCalendarDate"); +late final _sel_calendarDate = objc.registerName("calendarDate"); +late final _sel_dateWithString_calendarFormat_locale_ = + objc.registerName("dateWithString:calendarFormat:locale:"); +final _objc_msgSend_174 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer description, + ffi.Pointer format, + ffi.Pointer locale)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_dateWithString_calendarFormat_ = + objc.registerName("dateWithString:calendarFormat:"); +final _objc_msgSend_175 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer description, + ffi.Pointer format)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); + class NSTimeZone extends NSObject { - NSTimeZone._( - ffi.Pointer pointer, - SwiftLibrary lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSTimeZone._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSTimeZone] that points to the same underlying object as [other]. - static NSTimeZone castFrom( - SwiftLibrary lib, - T other, - ) { - return NSTimeZone._(other.pointer, lib, retain: true, release: true); + static NSTimeZone castFrom(T other) { + return NSTimeZone._(other.pointer, retain: true, release: true); } /// Returns a [NSTimeZone] that wraps the given raw object pointer. - static NSTimeZone castFromPointer( - SwiftLibrary lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSTimeZone._(other, lib, retain: retain, release: release); + static NSTimeZone castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSTimeZone._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSTimeZone]. - static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSTimeZone1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0(obj.pointer, _sel_isKindOfClass_, _class_NSTimeZone); } NSString get name { - final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_name1); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_name); + return NSString._(_ret, retain: true, release: true); } NSData get data { - final _ret = _lib._objc_msgSend_43(this.pointer, _lib._sel_data1); - return NSData._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_43(this.pointer, _sel_data); + return NSData._(_ret, retain: true, release: true); } int secondsFromGMTForDate_(NSDate aDate) { - return _lib._objc_msgSend_176( - this.pointer, - _lib._sel_secondsFromGMTForDate_1, - aDate.pointer, - ); + return _objc_msgSend_176( + this.pointer, _sel_secondsFromGMTForDate_, aDate.pointer); } NSString? abbreviationForDate_(NSDate aDate) { - final _ret = _lib._objc_msgSend_177( - this.pointer, - _lib._sel_abbreviationForDate_1, - aDate.pointer, - ); + final _ret = _objc_msgSend_177( + this.pointer, _sel_abbreviationForDate_, aDate.pointer); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } bool isDaylightSavingTimeForDate_(NSDate aDate) { - return _lib._objc_msgSend_170( - this.pointer, - _lib._sel_isDaylightSavingTimeForDate_1, - aDate.pointer, - ); + return _objc_msgSend_170( + this.pointer, _sel_isDaylightSavingTimeForDate_, aDate.pointer); } double daylightSavingTimeOffsetForDate_(NSDate aDate) { return objc.useMsgSendVariants - ? _lib._objc_msgSend_167_fpret( - this.pointer, - _lib._sel_daylightSavingTimeOffsetForDate_1, - aDate.pointer, - ) - : _lib._objc_msgSend_167( - this.pointer, - _lib._sel_daylightSavingTimeOffsetForDate_1, - aDate.pointer, - ); + ? _objc_msgSend_167Fpret( + this.pointer, _sel_daylightSavingTimeOffsetForDate_, aDate.pointer) + : _objc_msgSend_167( + this.pointer, _sel_daylightSavingTimeOffsetForDate_, aDate.pointer); } NSDate? nextDaylightSavingTimeTransitionAfterDate_(NSDate aDate) { - final _ret = _lib._objc_msgSend_178( - this.pointer, - _lib._sel_nextDaylightSavingTimeTransitionAfterDate_1, - aDate.pointer, - ); + final _ret = _objc_msgSend_178(this.pointer, + _sel_nextDaylightSavingTimeTransitionAfterDate_, aDate.pointer); return _ret.address == 0 ? null - : NSDate._(_ret, _lib, retain: true, release: true); + : NSDate._(_ret, retain: true, release: true); } - static NSTimeZone getSystemTimeZone(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_179( - _lib._class_NSTimeZone1, - _lib._sel_systemTimeZone1, - ); - return NSTimeZone._(_ret, _lib, retain: true, release: true); + static NSTimeZone getSystemTimeZone() { + final _ret = _objc_msgSend_179(_class_NSTimeZone, _sel_systemTimeZone); + return NSTimeZone._(_ret, retain: true, release: true); } - static void resetSystemTimeZone(SwiftLibrary _lib) { - _lib._objc_msgSend_1( - _lib._class_NSTimeZone1, - _lib._sel_resetSystemTimeZone1, - ); + static void resetSystemTimeZone() { + _objc_msgSend_1(_class_NSTimeZone, _sel_resetSystemTimeZone); } - static NSTimeZone getDefaultTimeZone(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_179( - _lib._class_NSTimeZone1, - _lib._sel_defaultTimeZone1, - ); - return NSTimeZone._(_ret, _lib, retain: true, release: true); + static NSTimeZone getDefaultTimeZone() { + final _ret = _objc_msgSend_179(_class_NSTimeZone, _sel_defaultTimeZone); + return NSTimeZone._(_ret, retain: true, release: true); } - static void setDefaultTimeZone(SwiftLibrary _lib, NSTimeZone value) { - return _lib._objc_msgSend_180( - _lib._class_NSTimeZone1, - _lib._sel_setDefaultTimeZone_1, - value.pointer, - ); + static void setDefaultTimeZone(NSTimeZone value) { + return _objc_msgSend_180( + _class_NSTimeZone, _sel_setDefaultTimeZone_, value.pointer); } - static NSTimeZone getLocalTimeZone(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_179( - _lib._class_NSTimeZone1, - _lib._sel_localTimeZone1, - ); - return NSTimeZone._(_ret, _lib, retain: true, release: true); + static NSTimeZone getLocalTimeZone() { + final _ret = _objc_msgSend_179(_class_NSTimeZone, _sel_localTimeZone); + return NSTimeZone._(_ret, retain: true, release: true); } - static NSArray getKnownTimeZoneNames(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSTimeZone1, - _lib._sel_knownTimeZoneNames1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); + static NSArray getKnownTimeZoneNames() { + final _ret = _objc_msgSend_85(_class_NSTimeZone, _sel_knownTimeZoneNames); + return NSArray._(_ret, retain: true, release: true); } - static NSDictionary getAbbreviationDictionary(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_181( - _lib._class_NSTimeZone1, - _lib._sel_abbreviationDictionary1, - ); - return NSDictionary._(_ret, _lib, retain: true, release: true); + static NSDictionary getAbbreviationDictionary() { + final _ret = + _objc_msgSend_181(_class_NSTimeZone, _sel_abbreviationDictionary); + return NSDictionary._(_ret, retain: true, release: true); } - static void setAbbreviationDictionary(SwiftLibrary _lib, NSDictionary value) { - return _lib._objc_msgSend_182( - _lib._class_NSTimeZone1, - _lib._sel_setAbbreviationDictionary_1, - value.pointer, - ); + static void setAbbreviationDictionary(NSDictionary value) { + return _objc_msgSend_182( + _class_NSTimeZone, _sel_setAbbreviationDictionary_, value.pointer); } - static NSString getTimeZoneDataVersion(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_21( - _lib._class_NSTimeZone1, - _lib._sel_timeZoneDataVersion1, - ); - return NSString._(_ret, _lib, retain: true, release: true); + static NSString getTimeZoneDataVersion() { + final _ret = _objc_msgSend_21(_class_NSTimeZone, _sel_timeZoneDataVersion); + return NSString._(_ret, retain: true, release: true); } int get secondsFromGMT { - return _lib._objc_msgSend_83(this.pointer, _lib._sel_secondsFromGMT1); + return _objc_msgSend_83(this.pointer, _sel_secondsFromGMT); } NSString? get abbreviation { - final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_abbreviation1); + final _ret = _objc_msgSend_44(this.pointer, _sel_abbreviation); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } bool get daylightSavingTime { - return _lib._objc_msgSend_12(this.pointer, _lib._sel_isDaylightSavingTime1); + return _objc_msgSend_12(this.pointer, _sel_isDaylightSavingTime); } double get daylightSavingTimeOffset { return objc.useMsgSendVariants - ? _lib._objc_msgSend_165_fpret( - this.pointer, - _lib._sel_daylightSavingTimeOffset1, - ) - : _lib._objc_msgSend_165( - this.pointer, - _lib._sel_daylightSavingTimeOffset1, - ); + ? _objc_msgSend_165Fpret(this.pointer, _sel_daylightSavingTimeOffset) + : _objc_msgSend_165(this.pointer, _sel_daylightSavingTimeOffset); } NSDate? get nextDaylightSavingTimeTransition { - final _ret = _lib._objc_msgSend_183( - this.pointer, - _lib._sel_nextDaylightSavingTimeTransition1, - ); + final _ret = + _objc_msgSend_183(this.pointer, _sel_nextDaylightSavingTimeTransition); return _ret.address == 0 ? null - : NSDate._(_ret, _lib, retain: true, release: true); + : NSDate._(_ret, retain: true, release: true); } NSString get description { - final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_description1); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_description); + return NSString._(_ret, retain: true, release: true); } bool isEqualToTimeZone_(NSTimeZone aTimeZone) { - return _lib._objc_msgSend_184( - this.pointer, - _lib._sel_isEqualToTimeZone_1, - aTimeZone.pointer, - ); + return _objc_msgSend_184( + this.pointer, _sel_isEqualToTimeZone_, aTimeZone.pointer); } NSString? localizedName_locale_(int style, NSLocale? locale) { - final _ret = _lib._objc_msgSend_203( - this.pointer, - _lib._sel_localizedName_locale_1, - style, - locale?.pointer ?? ffi.nullptr, - ); + final _ret = _objc_msgSend_203(this.pointer, _sel_localizedName_locale_, + style, locale?.pointer ?? ffi.nullptr); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } - static NSTimeZone? timeZoneWithName_(SwiftLibrary _lib, NSString tzName) { - final _ret = _lib._objc_msgSend_38( - _lib._class_NSTimeZone1, - _lib._sel_timeZoneWithName_1, - tzName.pointer, - ); + static NSTimeZone? timeZoneWithName_(NSString tzName) { + final _ret = _objc_msgSend_38( + _class_NSTimeZone, _sel_timeZoneWithName_, tzName.pointer); return _ret.address == 0 ? null - : NSTimeZone._(_ret, _lib, retain: true, release: true); + : NSTimeZone._(_ret, retain: true, release: true); } - static NSTimeZone? timeZoneWithName_data_( - SwiftLibrary _lib, - NSString tzName, - NSData? aData, - ) { - final _ret = _lib._objc_msgSend_204( - _lib._class_NSTimeZone1, - _lib._sel_timeZoneWithName_data_1, - tzName.pointer, - aData?.pointer ?? ffi.nullptr, - ); + static NSTimeZone? timeZoneWithName_data_(NSString tzName, NSData? aData) { + final _ret = _objc_msgSend_204( + _class_NSTimeZone, + _sel_timeZoneWithName_data_, + tzName.pointer, + aData?.pointer ?? ffi.nullptr); return _ret.address == 0 ? null - : NSTimeZone._(_ret, _lib, retain: true, release: true); + : NSTimeZone._(_ret, retain: true, release: true); } NSTimeZone? initWithName_(NSString tzName) { - final _ret = _lib._objc_msgSend_38( - this.pointer, - _lib._sel_initWithName_1, - tzName.pointer, - ); + final _ret = + _objc_msgSend_38(this.pointer, _sel_initWithName_, tzName.pointer); return _ret.address == 0 ? null - : NSTimeZone._(_ret, _lib, retain: true, release: true); + : NSTimeZone._(_ret, retain: true, release: true); } NSTimeZone? initWithName_data_(NSString tzName, NSData? aData) { - final _ret = _lib._objc_msgSend_204( - this.pointer, - _lib._sel_initWithName_data_1, - tzName.pointer, - aData?.pointer ?? ffi.nullptr, - ); + final _ret = _objc_msgSend_204(this.pointer, _sel_initWithName_data_, + tzName.pointer, aData?.pointer ?? ffi.nullptr); return _ret.address == 0 ? null - : NSTimeZone._(_ret, _lib, retain: true, release: true); + : NSTimeZone._(_ret, retain: true, release: true); } - static NSTimeZone timeZoneForSecondsFromGMT_(SwiftLibrary _lib, int seconds) { - final _ret = _lib._objc_msgSend_205( - _lib._class_NSTimeZone1, - _lib._sel_timeZoneForSecondsFromGMT_1, - seconds, - ); - return NSTimeZone._(_ret, _lib, retain: true, release: true); + static NSTimeZone timeZoneForSecondsFromGMT_(int seconds) { + final _ret = _objc_msgSend_205( + _class_NSTimeZone, _sel_timeZoneForSecondsFromGMT_, seconds); + return NSTimeZone._(_ret, retain: true, release: true); } - static NSTimeZone? timeZoneWithAbbreviation_( - SwiftLibrary _lib, - NSString abbreviation, - ) { - final _ret = _lib._objc_msgSend_38( - _lib._class_NSTimeZone1, - _lib._sel_timeZoneWithAbbreviation_1, - abbreviation.pointer, - ); + static NSTimeZone? timeZoneWithAbbreviation_(NSString abbreviation) { + final _ret = _objc_msgSend_38(_class_NSTimeZone, + _sel_timeZoneWithAbbreviation_, abbreviation.pointer); return _ret.address == 0 ? null - : NSTimeZone._(_ret, _lib, retain: true, release: true); + : NSTimeZone._(_ret, retain: true, release: true); } @override NSTimeZone init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSTimeZone._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSTimeZone._(_ret, retain: true, release: true); } - static NSTimeZone new1(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2(_lib._class_NSTimeZone1, _lib._sel_new1); - return NSTimeZone._(_ret, _lib, retain: false, release: true); + static NSTimeZone new1() { + final _ret = _objc_msgSend_2(_class_NSTimeZone, _sel_new); + return NSTimeZone._(_ret, retain: false, release: true); } - static NSTimeZone allocWithZone_( - SwiftLibrary _lib, - ffi.Pointer<_NSZone> zone, - ) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSTimeZone1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSTimeZone._(_ret, _lib, retain: false, release: true); + static NSTimeZone allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = _objc_msgSend_3(_class_NSTimeZone, _sel_allocWithZone_, zone); + return NSTimeZone._(_ret, retain: false, release: true); } - static NSTimeZone alloc(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSTimeZone1, - _lib._sel_alloc1, - ); - return NSTimeZone._(_ret, _lib, retain: false, release: true); + static NSTimeZone alloc() { + final _ret = _objc_msgSend_2(_class_NSTimeZone, _sel_alloc); + return NSTimeZone._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSTimeZone1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSTimeZone1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSTimeZone1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSTimeZone1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSTimeZone1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSTimeZone1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSTimeZone, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); } - static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSTimeZone1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSTimeZone1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSTimeZone1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSTimeZone, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); } -} + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSTimeZone, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSTimeZone, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSTimeZone, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSTimeZone, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); + } + + static void setKeys_triggerChangeNotificationsForDependentKey_( + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSTimeZone, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = _objc_msgSend_85( + _class_NSTimeZone, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = + _objc_msgSend_2(_class_NSTimeZone, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); + } +} + +late final _class_NSTimeZone = objc.getClass("NSTimeZone"); +late final _sel_name = objc.registerName("name"); +late final _sel_data = objc.registerName("data"); +late final _sel_secondsFromGMTForDate_ = + objc.registerName("secondsFromGMTForDate:"); +final _objc_msgSend_176 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Long Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer aDate)>>() + .asFunction< + int Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_abbreviationForDate_ = + objc.registerName("abbreviationForDate:"); +final _objc_msgSend_177 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer aDate)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_isDaylightSavingTimeForDate_ = + objc.registerName("isDaylightSavingTimeForDate:"); +late final _sel_daylightSavingTimeOffsetForDate_ = + objc.registerName("daylightSavingTimeOffsetForDate:"); +late final _sel_nextDaylightSavingTimeTransitionAfterDate_ = + objc.registerName("nextDaylightSavingTimeTransitionAfterDate:"); +final _objc_msgSend_178 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer aDate)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_systemTimeZone = objc.registerName("systemTimeZone"); +final _objc_msgSend_179 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_resetSystemTimeZone = objc.registerName("resetSystemTimeZone"); +late final _sel_defaultTimeZone = objc.registerName("defaultTimeZone"); +late final _sel_setDefaultTimeZone_ = objc.registerName("setDefaultTimeZone:"); +final _objc_msgSend_180 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_localTimeZone = objc.registerName("localTimeZone"); +late final _sel_knownTimeZoneNames = objc.registerName("knownTimeZoneNames"); +late final _sel_abbreviationDictionary = + objc.registerName("abbreviationDictionary"); +final _objc_msgSend_181 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_setAbbreviationDictionary_ = + objc.registerName("setAbbreviationDictionary:"); +final _objc_msgSend_182 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_timeZoneDataVersion = objc.registerName("timeZoneDataVersion"); +late final _sel_secondsFromGMT = objc.registerName("secondsFromGMT"); +late final _sel_abbreviation = objc.registerName("abbreviation"); +late final _sel_isDaylightSavingTime = + objc.registerName("isDaylightSavingTime"); +late final _sel_daylightSavingTimeOffset = + objc.registerName("daylightSavingTimeOffset"); +late final _sel_nextDaylightSavingTimeTransition = + objc.registerName("nextDaylightSavingTimeTransition"); +final _objc_msgSend_183 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_isEqualToTimeZone_ = objc.registerName("isEqualToTimeZone:"); +final _objc_msgSend_184 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer aTimeZone)>>() + .asFunction< + bool Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); abstract class NSTimeZoneNameStyle { static const int NSTimeZoneNameStyleStandard = 0; @@ -49219,1059 +12611,1008 @@ abstract class NSTimeZoneNameStyle { } class NSLocale extends NSObject { - NSLocale._( - ffi.Pointer pointer, - SwiftLibrary lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSLocale._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSLocale] that points to the same underlying object as [other]. - static NSLocale castFrom( - SwiftLibrary lib, - T other, - ) { - return NSLocale._(other.pointer, lib, retain: true, release: true); + static NSLocale castFrom(T other) { + return NSLocale._(other.pointer, retain: true, release: true); } /// Returns a [NSLocale] that wraps the given raw object pointer. - static NSLocale castFromPointer( - SwiftLibrary lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSLocale._(other, lib, retain: retain, release: release); + static NSLocale castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSLocale._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSLocale]. - static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSLocale1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0(obj.pointer, _sel_isKindOfClass_, _class_NSLocale); } NSObject? objectForKey_(NSString key) { - final _ret = _lib._objc_msgSend_38( - this.pointer, - _lib._sel_objectForKey_1, - key.pointer, - ); + final _ret = + _objc_msgSend_38(this.pointer, _sel_objectForKey_, key.pointer); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } NSString? displayNameForKey_value_(NSString key, NSObject value) { - final _ret = _lib._objc_msgSend_185( - this.pointer, - _lib._sel_displayNameForKey_value_1, - key.pointer, - value.pointer, - ); + final _ret = _objc_msgSend_185(this.pointer, _sel_displayNameForKey_value_, + key.pointer, value.pointer); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } NSLocale initWithLocaleIdentifier_(NSString string) { - final _ret = _lib._objc_msgSend_31( - this.pointer, - _lib._sel_initWithLocaleIdentifier_1, - string.pointer, - ); - return NSLocale._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_31( + this.pointer, _sel_initWithLocaleIdentifier_, string.pointer); + return NSLocale._(_ret, retain: true, release: true); } NSLocale? initWithCoder_(NSCoder coder) { - final _ret = _lib._objc_msgSend_47( - this.pointer, - _lib._sel_initWithCoder_1, - coder.pointer, - ); + final _ret = + _objc_msgSend_47(this.pointer, _sel_initWithCoder_, coder.pointer); return _ret.address == 0 ? null - : NSLocale._(_ret, _lib, retain: true, release: true); + : NSLocale._(_ret, retain: true, release: true); } NSString get localeIdentifier { - final _ret = _lib._objc_msgSend_21( - this.pointer, - _lib._sel_localeIdentifier1, - ); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_localeIdentifier); + return NSString._(_ret, retain: true, release: true); } NSString localizedStringForLocaleIdentifier_(NSString localeIdentifier) { - final _ret = _lib._objc_msgSend_69( - this.pointer, - _lib._sel_localizedStringForLocaleIdentifier_1, - localeIdentifier.pointer, - ); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_69(this.pointer, + _sel_localizedStringForLocaleIdentifier_, localeIdentifier.pointer); + return NSString._(_ret, retain: true, release: true); } NSString get languageCode { - final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_languageCode1); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_languageCode); + return NSString._(_ret, retain: true, release: true); } NSString? localizedStringForLanguageCode_(NSString languageCode) { - final _ret = _lib._objc_msgSend_186( - this.pointer, - _lib._sel_localizedStringForLanguageCode_1, - languageCode.pointer, - ); + final _ret = _objc_msgSend_186(this.pointer, + _sel_localizedStringForLanguageCode_, languageCode.pointer); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } NSString get languageIdentifier { - final _ret = _lib._objc_msgSend_21( - this.pointer, - _lib._sel_languageIdentifier1, - ); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_languageIdentifier); + return NSString._(_ret, retain: true, release: true); } NSString? get countryCode { - final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_countryCode1); + final _ret = _objc_msgSend_44(this.pointer, _sel_countryCode); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } NSString? localizedStringForCountryCode_(NSString countryCode) { - final _ret = _lib._objc_msgSend_186( - this.pointer, - _lib._sel_localizedStringForCountryCode_1, - countryCode.pointer, - ); + final _ret = _objc_msgSend_186( + this.pointer, _sel_localizedStringForCountryCode_, countryCode.pointer); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } NSString? get regionCode { - final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_regionCode1); + final _ret = _objc_msgSend_44(this.pointer, _sel_regionCode); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } NSString? get scriptCode { - final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_scriptCode1); + final _ret = _objc_msgSend_44(this.pointer, _sel_scriptCode); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } NSString? localizedStringForScriptCode_(NSString scriptCode) { - final _ret = _lib._objc_msgSend_186( - this.pointer, - _lib._sel_localizedStringForScriptCode_1, - scriptCode.pointer, - ); + final _ret = _objc_msgSend_186( + this.pointer, _sel_localizedStringForScriptCode_, scriptCode.pointer); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } NSString? get variantCode { - final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_variantCode1); + final _ret = _objc_msgSend_44(this.pointer, _sel_variantCode); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } NSString? localizedStringForVariantCode_(NSString variantCode) { - final _ret = _lib._objc_msgSend_186( - this.pointer, - _lib._sel_localizedStringForVariantCode_1, - variantCode.pointer, - ); + final _ret = _objc_msgSend_186( + this.pointer, _sel_localizedStringForVariantCode_, variantCode.pointer); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } NSCharacterSet get exemplarCharacterSet { - final _ret = _lib._objc_msgSend_187( - this.pointer, - _lib._sel_exemplarCharacterSet1, - ); - return NSCharacterSet._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_187(this.pointer, _sel_exemplarCharacterSet); + return NSCharacterSet._(_ret, retain: true, release: true); } NSString get calendarIdentifier { - final _ret = _lib._objc_msgSend_21( - this.pointer, - _lib._sel_calendarIdentifier1, - ); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_calendarIdentifier); + return NSString._(_ret, retain: true, release: true); } NSString? localizedStringForCalendarIdentifier_(NSString calendarIdentifier) { - final _ret = _lib._objc_msgSend_186( - this.pointer, - _lib._sel_localizedStringForCalendarIdentifier_1, - calendarIdentifier.pointer, - ); + final _ret = _objc_msgSend_186(this.pointer, + _sel_localizedStringForCalendarIdentifier_, calendarIdentifier.pointer); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } NSString? get collationIdentifier { - final _ret = _lib._objc_msgSend_44( - this.pointer, - _lib._sel_collationIdentifier1, - ); + final _ret = _objc_msgSend_44(this.pointer, _sel_collationIdentifier); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } NSString? localizedStringForCollationIdentifier_( - NSString collationIdentifier, - ) { - final _ret = _lib._objc_msgSend_186( - this.pointer, - _lib._sel_localizedStringForCollationIdentifier_1, - collationIdentifier.pointer, - ); + NSString collationIdentifier) { + final _ret = _objc_msgSend_186( + this.pointer, + _sel_localizedStringForCollationIdentifier_, + collationIdentifier.pointer); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } bool get usesMetricSystem { - return _lib._objc_msgSend_12(this.pointer, _lib._sel_usesMetricSystem1); + return _objc_msgSend_12(this.pointer, _sel_usesMetricSystem); } NSString get decimalSeparator { - final _ret = _lib._objc_msgSend_21( - this.pointer, - _lib._sel_decimalSeparator1, - ); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_decimalSeparator); + return NSString._(_ret, retain: true, release: true); } NSString get groupingSeparator { - final _ret = _lib._objc_msgSend_21( - this.pointer, - _lib._sel_groupingSeparator1, - ); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_groupingSeparator); + return NSString._(_ret, retain: true, release: true); } NSString get currencySymbol { - final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_currencySymbol1); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_currencySymbol); + return NSString._(_ret, retain: true, release: true); } NSString? get currencyCode { - final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_currencyCode1); + final _ret = _objc_msgSend_44(this.pointer, _sel_currencyCode); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } NSString? localizedStringForCurrencyCode_(NSString currencyCode) { - final _ret = _lib._objc_msgSend_186( - this.pointer, - _lib._sel_localizedStringForCurrencyCode_1, - currencyCode.pointer, - ); + final _ret = _objc_msgSend_186(this.pointer, + _sel_localizedStringForCurrencyCode_, currencyCode.pointer); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } NSString get collatorIdentifier { - final _ret = _lib._objc_msgSend_21( - this.pointer, - _lib._sel_collatorIdentifier1, - ); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_collatorIdentifier); + return NSString._(_ret, retain: true, release: true); } NSString? localizedStringForCollatorIdentifier_(NSString collatorIdentifier) { - final _ret = _lib._objc_msgSend_186( - this.pointer, - _lib._sel_localizedStringForCollatorIdentifier_1, - collatorIdentifier.pointer, - ); + final _ret = _objc_msgSend_186(this.pointer, + _sel_localizedStringForCollatorIdentifier_, collatorIdentifier.pointer); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } NSString get quotationBeginDelimiter { - final _ret = _lib._objc_msgSend_21( - this.pointer, - _lib._sel_quotationBeginDelimiter1, - ); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_quotationBeginDelimiter); + return NSString._(_ret, retain: true, release: true); } NSString get quotationEndDelimiter { - final _ret = _lib._objc_msgSend_21( - this.pointer, - _lib._sel_quotationEndDelimiter1, - ); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_quotationEndDelimiter); + return NSString._(_ret, retain: true, release: true); } NSString get alternateQuotationBeginDelimiter { - final _ret = _lib._objc_msgSend_21( - this.pointer, - _lib._sel_alternateQuotationBeginDelimiter1, - ); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_21(this.pointer, _sel_alternateQuotationBeginDelimiter); + return NSString._(_ret, retain: true, release: true); } NSString get alternateQuotationEndDelimiter { - final _ret = _lib._objc_msgSend_21( - this.pointer, - _lib._sel_alternateQuotationEndDelimiter1, - ); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_21(this.pointer, _sel_alternateQuotationEndDelimiter); + return NSString._(_ret, retain: true, release: true); } - static NSLocale getAutoupdatingCurrentLocale(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_197( - _lib._class_NSLocale1, - _lib._sel_autoupdatingCurrentLocale1, - ); - return NSLocale._(_ret, _lib, retain: true, release: true); + static NSLocale getAutoupdatingCurrentLocale() { + final _ret = + _objc_msgSend_197(_class_NSLocale, _sel_autoupdatingCurrentLocale); + return NSLocale._(_ret, retain: true, release: true); } - static NSLocale getCurrentLocale(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_197( - _lib._class_NSLocale1, - _lib._sel_currentLocale1, - ); - return NSLocale._(_ret, _lib, retain: true, release: true); + static NSLocale getCurrentLocale() { + final _ret = _objc_msgSend_197(_class_NSLocale, _sel_currentLocale); + return NSLocale._(_ret, retain: true, release: true); } - static NSLocale getSystemLocale(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_197( - _lib._class_NSLocale1, - _lib._sel_systemLocale1, - ); - return NSLocale._(_ret, _lib, retain: true, release: true); + static NSLocale getSystemLocale() { + final _ret = _objc_msgSend_197(_class_NSLocale, _sel_systemLocale); + return NSLocale._(_ret, retain: true, release: true); } - static NSLocale localeWithLocaleIdentifier_( - SwiftLibrary _lib, - NSString ident, - ) { - final _ret = _lib._objc_msgSend_31( - _lib._class_NSLocale1, - _lib._sel_localeWithLocaleIdentifier_1, - ident.pointer, - ); - return NSLocale._(_ret, _lib, retain: true, release: true); + static NSLocale localeWithLocaleIdentifier_(NSString ident) { + final _ret = _objc_msgSend_31( + _class_NSLocale, _sel_localeWithLocaleIdentifier_, ident.pointer); + return NSLocale._(_ret, retain: true, release: true); } @override NSLocale init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSLocale._(_ret, _lib, retain: true, release: true); - } - - static NSArray getAvailableLocaleIdentifiers(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSLocale1, - _lib._sel_availableLocaleIdentifiers1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSArray getISOLanguageCodes(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSLocale1, - _lib._sel_ISOLanguageCodes1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSArray getISOCountryCodes(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSLocale1, - _lib._sel_ISOCountryCodes1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSArray getISOCurrencyCodes(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSLocale1, - _lib._sel_ISOCurrencyCodes1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSArray getCommonISOCurrencyCodes(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSLocale1, - _lib._sel_commonISOCurrencyCodes1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSArray getPreferredLanguages(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSLocale1, - _lib._sel_preferredLanguages1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSDictionary componentsFromLocaleIdentifier_( - SwiftLibrary _lib, - NSString string, - ) { - final _ret = _lib._objc_msgSend_198( - _lib._class_NSLocale1, - _lib._sel_componentsFromLocaleIdentifier_1, - string.pointer, - ); - return NSDictionary._(_ret, _lib, retain: true, release: true); - } - - static NSString localeIdentifierFromComponents_( - SwiftLibrary _lib, - NSDictionary dict, - ) { - final _ret = _lib._objc_msgSend_199( - _lib._class_NSLocale1, - _lib._sel_localeIdentifierFromComponents_1, - dict.pointer, - ); - return NSString._(_ret, _lib, retain: true, release: true); - } - - static NSString canonicalLocaleIdentifierFromString_( - SwiftLibrary _lib, - NSString string, - ) { - final _ret = _lib._objc_msgSend_69( - _lib._class_NSLocale1, - _lib._sel_canonicalLocaleIdentifierFromString_1, - string.pointer, - ); - return NSString._(_ret, _lib, retain: true, release: true); - } - - static NSString canonicalLanguageIdentifierFromString_( - SwiftLibrary _lib, - NSString string, - ) { - final _ret = _lib._objc_msgSend_69( - _lib._class_NSLocale1, - _lib._sel_canonicalLanguageIdentifierFromString_1, - string.pointer, - ); - return NSString._(_ret, _lib, retain: true, release: true); - } - - static NSString? localeIdentifierFromWindowsLocaleCode_( - SwiftLibrary _lib, - int lcid, - ) { - final _ret = _lib._objc_msgSend_200( - _lib._class_NSLocale1, - _lib._sel_localeIdentifierFromWindowsLocaleCode_1, - lcid, - ); - return _ret.address == 0 - ? null - : NSString._(_ret, _lib, retain: true, release: true); - } - - static int windowsLocaleCodeFromLocaleIdentifier_( - SwiftLibrary _lib, - NSString localeIdentifier, - ) { - return _lib._objc_msgSend_201( - _lib._class_NSLocale1, - _lib._sel_windowsLocaleCodeFromLocaleIdentifier_1, - localeIdentifier.pointer, - ); - } - - static int characterDirectionForLanguage_( - SwiftLibrary _lib, - NSString isoLangCode, - ) { - return _lib._objc_msgSend_202( - _lib._class_NSLocale1, - _lib._sel_characterDirectionForLanguage_1, - isoLangCode.pointer, - ); - } - - static int lineDirectionForLanguage_( - SwiftLibrary _lib, - NSString isoLangCode, - ) { - return _lib._objc_msgSend_202( - _lib._class_NSLocale1, - _lib._sel_lineDirectionForLanguage_1, - isoLangCode.pointer, - ); - } - - static NSLocale new1(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2(_lib._class_NSLocale1, _lib._sel_new1); - return NSLocale._(_ret, _lib, retain: false, release: true); - } - - static NSLocale allocWithZone_(SwiftLibrary _lib, ffi.Pointer<_NSZone> zone) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSLocale1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSLocale._(_ret, _lib, retain: false, release: true); - } - - static NSLocale alloc(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2(_lib._class_NSLocale1, _lib._sel_alloc1); - return NSLocale._(_ret, _lib, retain: false, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSLocale._(_ret, retain: true, release: true); + } + + static NSArray getAvailableLocaleIdentifiers() { + final _ret = + _objc_msgSend_85(_class_NSLocale, _sel_availableLocaleIdentifiers); + return NSArray._(_ret, retain: true, release: true); + } + + static NSArray getISOLanguageCodes() { + final _ret = _objc_msgSend_85(_class_NSLocale, _sel_ISOLanguageCodes); + return NSArray._(_ret, retain: true, release: true); + } + + static NSArray getISOCountryCodes() { + final _ret = _objc_msgSend_85(_class_NSLocale, _sel_ISOCountryCodes); + return NSArray._(_ret, retain: true, release: true); + } + + static NSArray getISOCurrencyCodes() { + final _ret = _objc_msgSend_85(_class_NSLocale, _sel_ISOCurrencyCodes); + return NSArray._(_ret, retain: true, release: true); + } + + static NSArray getCommonISOCurrencyCodes() { + final _ret = _objc_msgSend_85(_class_NSLocale, _sel_commonISOCurrencyCodes); + return NSArray._(_ret, retain: true, release: true); + } + + static NSArray getPreferredLanguages() { + final _ret = _objc_msgSend_85(_class_NSLocale, _sel_preferredLanguages); + return NSArray._(_ret, retain: true, release: true); + } + + static NSDictionary componentsFromLocaleIdentifier_(NSString string) { + final _ret = _objc_msgSend_198( + _class_NSLocale, _sel_componentsFromLocaleIdentifier_, string.pointer); + return NSDictionary._(_ret, retain: true, release: true); + } + + static NSString localeIdentifierFromComponents_(NSDictionary dict) { + final _ret = _objc_msgSend_199( + _class_NSLocale, _sel_localeIdentifierFromComponents_, dict.pointer); + return NSString._(_ret, retain: true, release: true); + } + + static NSString canonicalLocaleIdentifierFromString_(NSString string) { + final _ret = _objc_msgSend_69(_class_NSLocale, + _sel_canonicalLocaleIdentifierFromString_, string.pointer); + return NSString._(_ret, retain: true, release: true); + } + + static NSString canonicalLanguageIdentifierFromString_(NSString string) { + final _ret = _objc_msgSend_69(_class_NSLocale, + _sel_canonicalLanguageIdentifierFromString_, string.pointer); + return NSString._(_ret, retain: true, release: true); + } + + static NSString? localeIdentifierFromWindowsLocaleCode_(int lcid) { + final _ret = _objc_msgSend_200( + _class_NSLocale, _sel_localeIdentifierFromWindowsLocaleCode_, lcid); + return _ret.address == 0 + ? null + : NSString._(_ret, retain: true, release: true); + } + + static int windowsLocaleCodeFromLocaleIdentifier_(NSString localeIdentifier) { + return _objc_msgSend_201(_class_NSLocale, + _sel_windowsLocaleCodeFromLocaleIdentifier_, localeIdentifier.pointer); + } + + static int characterDirectionForLanguage_(NSString isoLangCode) { + return _objc_msgSend_202(_class_NSLocale, + _sel_characterDirectionForLanguage_, isoLangCode.pointer); + } + + static int lineDirectionForLanguage_(NSString isoLangCode) { + return _objc_msgSend_202( + _class_NSLocale, _sel_lineDirectionForLanguage_, isoLangCode.pointer); + } + + static NSLocale new1() { + final _ret = _objc_msgSend_2(_class_NSLocale, _sel_new); + return NSLocale._(_ret, retain: false, release: true); + } + + static NSLocale allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = _objc_msgSend_3(_class_NSLocale, _sel_allocWithZone_, zone); + return NSLocale._(_ret, retain: false, release: true); + } + + static NSLocale alloc() { + final _ret = _objc_msgSend_2(_class_NSLocale, _sel_alloc); + return NSLocale._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSLocale1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSLocale1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSLocale1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSLocale1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSLocale1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSLocale1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSLocale, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); } - static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSLocale1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSLocale1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSLocale1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSLocale, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); } -} + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSLocale, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSLocale, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSLocale, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSLocale, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); + } + + static void setKeys_triggerChangeNotificationsForDependentKey_( + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSLocale, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = + _objc_msgSend_85(_class_NSLocale, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = _objc_msgSend_2(_class_NSLocale, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); + } +} + +late final _class_NSLocale = objc.getClass("NSLocale"); +late final _sel_displayNameForKey_value_ = + objc.registerName("displayNameForKey:value:"); +final _objc_msgSend_185 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer key, + ffi.Pointer value)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_initWithLocaleIdentifier_ = + objc.registerName("initWithLocaleIdentifier:"); +late final _sel_localeIdentifier = objc.registerName("localeIdentifier"); +late final _sel_localizedStringForLocaleIdentifier_ = + objc.registerName("localizedStringForLocaleIdentifier:"); +late final _sel_languageCode = objc.registerName("languageCode"); +late final _sel_localizedStringForLanguageCode_ = + objc.registerName("localizedStringForLanguageCode:"); +final _objc_msgSend_186 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer languageCode)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_languageIdentifier = objc.registerName("languageIdentifier"); +late final _sel_countryCode = objc.registerName("countryCode"); +late final _sel_localizedStringForCountryCode_ = + objc.registerName("localizedStringForCountryCode:"); +late final _sel_regionCode = objc.registerName("regionCode"); +late final _sel_scriptCode = objc.registerName("scriptCode"); +late final _sel_localizedStringForScriptCode_ = + objc.registerName("localizedStringForScriptCode:"); +late final _sel_variantCode = objc.registerName("variantCode"); +late final _sel_localizedStringForVariantCode_ = + objc.registerName("localizedStringForVariantCode:"); class NSCharacterSet extends NSObject { - NSCharacterSet._( - ffi.Pointer pointer, - SwiftLibrary lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSCharacterSet._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSCharacterSet] that points to the same underlying object as [other]. - static NSCharacterSet castFrom( - SwiftLibrary lib, - T other, - ) { - return NSCharacterSet._(other.pointer, lib, retain: true, release: true); + static NSCharacterSet castFrom(T other) { + return NSCharacterSet._(other.pointer, retain: true, release: true); } /// Returns a [NSCharacterSet] that wraps the given raw object pointer. - static NSCharacterSet castFromPointer( - SwiftLibrary lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSCharacterSet._(other, lib, retain: retain, release: release); + static NSCharacterSet castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSCharacterSet._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSCharacterSet]. - static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSCharacterSet1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0( + obj.pointer, _sel_isKindOfClass_, _class_NSCharacterSet); + } + + static NSCharacterSet getControlCharacterSet() { + final _ret = + _objc_msgSend_187(_class_NSCharacterSet, _sel_controlCharacterSet); + return NSCharacterSet._(_ret, retain: true, release: true); + } + + static NSCharacterSet getWhitespaceCharacterSet() { + final _ret = + _objc_msgSend_187(_class_NSCharacterSet, _sel_whitespaceCharacterSet); + return NSCharacterSet._(_ret, retain: true, release: true); + } + + static NSCharacterSet getWhitespaceAndNewlineCharacterSet() { + final _ret = _objc_msgSend_187( + _class_NSCharacterSet, _sel_whitespaceAndNewlineCharacterSet); + return NSCharacterSet._(_ret, retain: true, release: true); + } + + static NSCharacterSet getDecimalDigitCharacterSet() { + final _ret = + _objc_msgSend_187(_class_NSCharacterSet, _sel_decimalDigitCharacterSet); + return NSCharacterSet._(_ret, retain: true, release: true); + } + + static NSCharacterSet getLetterCharacterSet() { + final _ret = + _objc_msgSend_187(_class_NSCharacterSet, _sel_letterCharacterSet); + return NSCharacterSet._(_ret, retain: true, release: true); + } + + static NSCharacterSet getLowercaseLetterCharacterSet() { + final _ret = _objc_msgSend_187( + _class_NSCharacterSet, _sel_lowercaseLetterCharacterSet); + return NSCharacterSet._(_ret, retain: true, release: true); + } + + static NSCharacterSet getUppercaseLetterCharacterSet() { + final _ret = _objc_msgSend_187( + _class_NSCharacterSet, _sel_uppercaseLetterCharacterSet); + return NSCharacterSet._(_ret, retain: true, release: true); + } + + static NSCharacterSet getNonBaseCharacterSet() { + final _ret = + _objc_msgSend_187(_class_NSCharacterSet, _sel_nonBaseCharacterSet); + return NSCharacterSet._(_ret, retain: true, release: true); + } + + static NSCharacterSet getAlphanumericCharacterSet() { + final _ret = + _objc_msgSend_187(_class_NSCharacterSet, _sel_alphanumericCharacterSet); + return NSCharacterSet._(_ret, retain: true, release: true); + } + + static NSCharacterSet getDecomposableCharacterSet() { + final _ret = + _objc_msgSend_187(_class_NSCharacterSet, _sel_decomposableCharacterSet); + return NSCharacterSet._(_ret, retain: true, release: true); + } + + static NSCharacterSet getIllegalCharacterSet() { + final _ret = + _objc_msgSend_187(_class_NSCharacterSet, _sel_illegalCharacterSet); + return NSCharacterSet._(_ret, retain: true, release: true); + } + + static NSCharacterSet getPunctuationCharacterSet() { + final _ret = + _objc_msgSend_187(_class_NSCharacterSet, _sel_punctuationCharacterSet); + return NSCharacterSet._(_ret, retain: true, release: true); + } + + static NSCharacterSet getCapitalizedLetterCharacterSet() { + final _ret = _objc_msgSend_187( + _class_NSCharacterSet, _sel_capitalizedLetterCharacterSet); + return NSCharacterSet._(_ret, retain: true, release: true); + } + + static NSCharacterSet getSymbolCharacterSet() { + final _ret = + _objc_msgSend_187(_class_NSCharacterSet, _sel_symbolCharacterSet); + return NSCharacterSet._(_ret, retain: true, release: true); + } + + static NSCharacterSet getNewlineCharacterSet() { + final _ret = + _objc_msgSend_187(_class_NSCharacterSet, _sel_newlineCharacterSet); + return NSCharacterSet._(_ret, retain: false, release: true); } - - static NSCharacterSet getControlCharacterSet(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_187( - _lib._class_NSCharacterSet1, - _lib._sel_controlCharacterSet1, - ); - return NSCharacterSet._(_ret, _lib, retain: true, release: true); + + static NSCharacterSet characterSetWithRange_(_NSRange aRange) { + final _ret = _objc_msgSend_188( + _class_NSCharacterSet, _sel_characterSetWithRange_, aRange); + return NSCharacterSet._(_ret, retain: true, release: true); } - - static NSCharacterSet getWhitespaceCharacterSet(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_187( - _lib._class_NSCharacterSet1, - _lib._sel_whitespaceCharacterSet1, - ); - return NSCharacterSet._(_ret, _lib, retain: true, release: true); + + static NSCharacterSet characterSetWithCharactersInString_(NSString aString) { + final _ret = _objc_msgSend_189(_class_NSCharacterSet, + _sel_characterSetWithCharactersInString_, aString.pointer); + return NSCharacterSet._(_ret, retain: true, release: true); } - - static NSCharacterSet getWhitespaceAndNewlineCharacterSet(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_187( - _lib._class_NSCharacterSet1, - _lib._sel_whitespaceAndNewlineCharacterSet1, - ); - return NSCharacterSet._(_ret, _lib, retain: true, release: true); + + static NSCharacterSet characterSetWithBitmapRepresentation_(NSData data) { + final _ret = _objc_msgSend_190(_class_NSCharacterSet, + _sel_characterSetWithBitmapRepresentation_, data.pointer); + return NSCharacterSet._(_ret, retain: true, release: true); } - - static NSCharacterSet getDecimalDigitCharacterSet(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_187( - _lib._class_NSCharacterSet1, - _lib._sel_decimalDigitCharacterSet1, - ); - return NSCharacterSet._(_ret, _lib, retain: true, release: true); - } - - static NSCharacterSet getLetterCharacterSet(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_187( - _lib._class_NSCharacterSet1, - _lib._sel_letterCharacterSet1, - ); - return NSCharacterSet._(_ret, _lib, retain: true, release: true); - } - - static NSCharacterSet getLowercaseLetterCharacterSet(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_187( - _lib._class_NSCharacterSet1, - _lib._sel_lowercaseLetterCharacterSet1, - ); - return NSCharacterSet._(_ret, _lib, retain: true, release: true); - } - - static NSCharacterSet getUppercaseLetterCharacterSet(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_187( - _lib._class_NSCharacterSet1, - _lib._sel_uppercaseLetterCharacterSet1, - ); - return NSCharacterSet._(_ret, _lib, retain: true, release: true); - } - - static NSCharacterSet getNonBaseCharacterSet(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_187( - _lib._class_NSCharacterSet1, - _lib._sel_nonBaseCharacterSet1, - ); - return NSCharacterSet._(_ret, _lib, retain: true, release: true); - } - - static NSCharacterSet getAlphanumericCharacterSet(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_187( - _lib._class_NSCharacterSet1, - _lib._sel_alphanumericCharacterSet1, - ); - return NSCharacterSet._(_ret, _lib, retain: true, release: true); - } - - static NSCharacterSet getDecomposableCharacterSet(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_187( - _lib._class_NSCharacterSet1, - _lib._sel_decomposableCharacterSet1, - ); - return NSCharacterSet._(_ret, _lib, retain: true, release: true); - } - - static NSCharacterSet getIllegalCharacterSet(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_187( - _lib._class_NSCharacterSet1, - _lib._sel_illegalCharacterSet1, - ); - return NSCharacterSet._(_ret, _lib, retain: true, release: true); - } - - static NSCharacterSet getPunctuationCharacterSet(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_187( - _lib._class_NSCharacterSet1, - _lib._sel_punctuationCharacterSet1, - ); - return NSCharacterSet._(_ret, _lib, retain: true, release: true); - } - - static NSCharacterSet getCapitalizedLetterCharacterSet(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_187( - _lib._class_NSCharacterSet1, - _lib._sel_capitalizedLetterCharacterSet1, - ); - return NSCharacterSet._(_ret, _lib, retain: true, release: true); - } - - static NSCharacterSet getSymbolCharacterSet(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_187( - _lib._class_NSCharacterSet1, - _lib._sel_symbolCharacterSet1, - ); - return NSCharacterSet._(_ret, _lib, retain: true, release: true); - } - - static NSCharacterSet getNewlineCharacterSet(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_187( - _lib._class_NSCharacterSet1, - _lib._sel_newlineCharacterSet1, - ); - return NSCharacterSet._(_ret, _lib, retain: false, release: true); - } - - static NSCharacterSet characterSetWithRange_( - SwiftLibrary _lib, - _NSRange aRange, - ) { - final _ret = _lib._objc_msgSend_188( - _lib._class_NSCharacterSet1, - _lib._sel_characterSetWithRange_1, - aRange, - ); - return NSCharacterSet._(_ret, _lib, retain: true, release: true); - } - - static NSCharacterSet characterSetWithCharactersInString_( - SwiftLibrary _lib, - NSString aString, - ) { - final _ret = _lib._objc_msgSend_189( - _lib._class_NSCharacterSet1, - _lib._sel_characterSetWithCharactersInString_1, - aString.pointer, - ); - return NSCharacterSet._(_ret, _lib, retain: true, release: true); - } - - static NSCharacterSet characterSetWithBitmapRepresentation_( - SwiftLibrary _lib, - NSData data, - ) { - final _ret = _lib._objc_msgSend_190( - _lib._class_NSCharacterSet1, - _lib._sel_characterSetWithBitmapRepresentation_1, - data.pointer, - ); - return NSCharacterSet._(_ret, _lib, retain: true, release: true); - } - - static NSCharacterSet? characterSetWithContentsOfFile_( - SwiftLibrary _lib, - NSString fName, - ) { - final _ret = _lib._objc_msgSend_191( - _lib._class_NSCharacterSet1, - _lib._sel_characterSetWithContentsOfFile_1, - fName.pointer, - ); - return _ret.address == 0 - ? null - : NSCharacterSet._(_ret, _lib, retain: true, release: true); + + static NSCharacterSet? characterSetWithContentsOfFile_(NSString fName) { + final _ret = _objc_msgSend_191(_class_NSCharacterSet, + _sel_characterSetWithContentsOfFile_, fName.pointer); + return _ret.address == 0 + ? null + : NSCharacterSet._(_ret, retain: true, release: true); } NSCharacterSet initWithCoder_(NSCoder coder) { - final _ret = _lib._objc_msgSend_192( - this.pointer, - _lib._sel_initWithCoder_1, - coder.pointer, - ); - return NSCharacterSet._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_192(this.pointer, _sel_initWithCoder_, coder.pointer); + return NSCharacterSet._(_ret, retain: true, release: true); } bool characterIsMember_(int aCharacter) { - return _lib._objc_msgSend_193( - this.pointer, - _lib._sel_characterIsMember_1, - aCharacter, - ); + return _objc_msgSend_193(this.pointer, _sel_characterIsMember_, aCharacter); } NSData get bitmapRepresentation { - final _ret = _lib._objc_msgSend_43( - this.pointer, - _lib._sel_bitmapRepresentation1, - ); - return NSData._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_43(this.pointer, _sel_bitmapRepresentation); + return NSData._(_ret, retain: true, release: true); } NSCharacterSet get invertedSet { - final _ret = _lib._objc_msgSend_187(this.pointer, _lib._sel_invertedSet1); - return NSCharacterSet._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_187(this.pointer, _sel_invertedSet); + return NSCharacterSet._(_ret, retain: true, release: true); } bool longCharacterIsMember_(int theLongChar) { - return _lib._objc_msgSend_194( - this.pointer, - _lib._sel_longCharacterIsMember_1, - theLongChar, - ); + return _objc_msgSend_194( + this.pointer, _sel_longCharacterIsMember_, theLongChar); } bool isSupersetOfSet_(NSCharacterSet theOtherSet) { - return _lib._objc_msgSend_195( - this.pointer, - _lib._sel_isSupersetOfSet_1, - theOtherSet.pointer, - ); + return _objc_msgSend_195( + this.pointer, _sel_isSupersetOfSet_, theOtherSet.pointer); } bool hasMemberInPlane_(int thePlane) { - return _lib._objc_msgSend_196( - this.pointer, - _lib._sel_hasMemberInPlane_1, - thePlane, - ); + return _objc_msgSend_196(this.pointer, _sel_hasMemberInPlane_, thePlane); } - static NSCharacterSet getURLUserAllowedCharacterSet(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_187( - _lib._class_NSCharacterSet1, - _lib._sel_URLUserAllowedCharacterSet1, - ); - return NSCharacterSet._(_ret, _lib, retain: true, release: true); + static NSCharacterSet getURLUserAllowedCharacterSet() { + final _ret = _objc_msgSend_187( + _class_NSCharacterSet, _sel_URLUserAllowedCharacterSet); + return NSCharacterSet._(_ret, retain: true, release: true); } - static NSCharacterSet getURLPasswordAllowedCharacterSet(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_187( - _lib._class_NSCharacterSet1, - _lib._sel_URLPasswordAllowedCharacterSet1, - ); - return NSCharacterSet._(_ret, _lib, retain: true, release: true); + static NSCharacterSet getURLPasswordAllowedCharacterSet() { + final _ret = _objc_msgSend_187( + _class_NSCharacterSet, _sel_URLPasswordAllowedCharacterSet); + return NSCharacterSet._(_ret, retain: true, release: true); } - static NSCharacterSet getURLHostAllowedCharacterSet(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_187( - _lib._class_NSCharacterSet1, - _lib._sel_URLHostAllowedCharacterSet1, - ); - return NSCharacterSet._(_ret, _lib, retain: true, release: true); + static NSCharacterSet getURLHostAllowedCharacterSet() { + final _ret = _objc_msgSend_187( + _class_NSCharacterSet, _sel_URLHostAllowedCharacterSet); + return NSCharacterSet._(_ret, retain: true, release: true); } - static NSCharacterSet getURLPathAllowedCharacterSet(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_187( - _lib._class_NSCharacterSet1, - _lib._sel_URLPathAllowedCharacterSet1, - ); - return NSCharacterSet._(_ret, _lib, retain: true, release: true); + static NSCharacterSet getURLPathAllowedCharacterSet() { + final _ret = _objc_msgSend_187( + _class_NSCharacterSet, _sel_URLPathAllowedCharacterSet); + return NSCharacterSet._(_ret, retain: true, release: true); } - static NSCharacterSet getURLQueryAllowedCharacterSet(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_187( - _lib._class_NSCharacterSet1, - _lib._sel_URLQueryAllowedCharacterSet1, - ); - return NSCharacterSet._(_ret, _lib, retain: true, release: true); + static NSCharacterSet getURLQueryAllowedCharacterSet() { + final _ret = _objc_msgSend_187( + _class_NSCharacterSet, _sel_URLQueryAllowedCharacterSet); + return NSCharacterSet._(_ret, retain: true, release: true); } - static NSCharacterSet getURLFragmentAllowedCharacterSet(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_187( - _lib._class_NSCharacterSet1, - _lib._sel_URLFragmentAllowedCharacterSet1, - ); - return NSCharacterSet._(_ret, _lib, retain: true, release: true); + static NSCharacterSet getURLFragmentAllowedCharacterSet() { + final _ret = _objc_msgSend_187( + _class_NSCharacterSet, _sel_URLFragmentAllowedCharacterSet); + return NSCharacterSet._(_ret, retain: true, release: true); } @override NSCharacterSet init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSCharacterSet._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSCharacterSet._(_ret, retain: true, release: true); } - static NSCharacterSet new1(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSCharacterSet1, - _lib._sel_new1, - ); - return NSCharacterSet._(_ret, _lib, retain: false, release: true); + static NSCharacterSet new1() { + final _ret = _objc_msgSend_2(_class_NSCharacterSet, _sel_new); + return NSCharacterSet._(_ret, retain: false, release: true); } - static NSCharacterSet allocWithZone_( - SwiftLibrary _lib, - ffi.Pointer<_NSZone> zone, - ) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSCharacterSet1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSCharacterSet._(_ret, _lib, retain: false, release: true); + static NSCharacterSet allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = + _objc_msgSend_3(_class_NSCharacterSet, _sel_allocWithZone_, zone); + return NSCharacterSet._(_ret, retain: false, release: true); } - static NSCharacterSet alloc(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSCharacterSet1, - _lib._sel_alloc1, - ); - return NSCharacterSet._(_ret, _lib, retain: false, release: true); + static NSCharacterSet alloc() { + final _ret = _objc_msgSend_2(_class_NSCharacterSet, _sel_alloc); + return NSCharacterSet._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSCharacterSet1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSCharacterSet1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSCharacterSet1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSCharacterSet1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSCharacterSet1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSCharacterSet1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSCharacterSet, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); } - static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSCharacterSet1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSCharacterSet1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSCharacterSet1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSCharacterSet, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); } -} + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSCharacterSet, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSCharacterSet, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSCharacterSet, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSCharacterSet, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); + } + + static void setKeys_triggerChangeNotificationsForDependentKey_( + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSCharacterSet, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = _objc_msgSend_85( + _class_NSCharacterSet, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = + _objc_msgSend_2(_class_NSCharacterSet, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); + } +} + +late final _class_NSCharacterSet = objc.getClass("NSCharacterSet"); +late final _sel_controlCharacterSet = objc.registerName("controlCharacterSet"); +final _objc_msgSend_187 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_whitespaceCharacterSet = + objc.registerName("whitespaceCharacterSet"); +late final _sel_whitespaceAndNewlineCharacterSet = + objc.registerName("whitespaceAndNewlineCharacterSet"); +late final _sel_decimalDigitCharacterSet = + objc.registerName("decimalDigitCharacterSet"); +late final _sel_letterCharacterSet = objc.registerName("letterCharacterSet"); +late final _sel_lowercaseLetterCharacterSet = + objc.registerName("lowercaseLetterCharacterSet"); +late final _sel_uppercaseLetterCharacterSet = + objc.registerName("uppercaseLetterCharacterSet"); +late final _sel_nonBaseCharacterSet = objc.registerName("nonBaseCharacterSet"); +late final _sel_alphanumericCharacterSet = + objc.registerName("alphanumericCharacterSet"); +late final _sel_decomposableCharacterSet = + objc.registerName("decomposableCharacterSet"); +late final _sel_illegalCharacterSet = objc.registerName("illegalCharacterSet"); +late final _sel_punctuationCharacterSet = + objc.registerName("punctuationCharacterSet"); +late final _sel_capitalizedLetterCharacterSet = + objc.registerName("capitalizedLetterCharacterSet"); +late final _sel_symbolCharacterSet = objc.registerName("symbolCharacterSet"); +late final _sel_newlineCharacterSet = objc.registerName("newlineCharacterSet"); +late final _sel_characterSetWithRange_ = + objc.registerName("characterSetWithRange:"); +final _objc_msgSend_188 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + _NSRange aRange)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, _NSRange)>(); +late final _sel_characterSetWithCharactersInString_ = + objc.registerName("characterSetWithCharactersInString:"); +final _objc_msgSend_189 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer aString)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_characterSetWithBitmapRepresentation_ = + objc.registerName("characterSetWithBitmapRepresentation:"); +final _objc_msgSend_190 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer data)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_characterSetWithContentsOfFile_ = + objc.registerName("characterSetWithContentsOfFile:"); +final _objc_msgSend_191 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer fName)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +final _objc_msgSend_192 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer coder)>>() + .asFunction< + instancetype Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_characterIsMember_ = objc.registerName("characterIsMember:"); +final _objc_msgSend_193 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.UnsignedShort aCharacter)>>() + .asFunction< + bool Function(ffi.Pointer, + ffi.Pointer, int)>(); +late final _sel_bitmapRepresentation = + objc.registerName("bitmapRepresentation"); +late final _sel_invertedSet = objc.registerName("invertedSet"); +late final _sel_longCharacterIsMember_ = + objc.registerName("longCharacterIsMember:"); +final _objc_msgSend_194 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.UnsignedInt theLongChar)>>() + .asFunction< + bool Function(ffi.Pointer, + ffi.Pointer, int)>(); +late final _sel_isSupersetOfSet_ = objc.registerName("isSupersetOfSet:"); +final _objc_msgSend_195 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer theOtherSet)>>() + .asFunction< + bool Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_hasMemberInPlane_ = objc.registerName("hasMemberInPlane:"); +final _objc_msgSend_196 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function(ffi.Pointer obj, + ffi.Pointer sel, ffi.Uint8 thePlane)>>() + .asFunction< + bool Function(ffi.Pointer, + ffi.Pointer, int)>(); +late final _sel_URLUserAllowedCharacterSet = + objc.registerName("URLUserAllowedCharacterSet"); +late final _sel_URLPasswordAllowedCharacterSet = + objc.registerName("URLPasswordAllowedCharacterSet"); +late final _sel_URLHostAllowedCharacterSet = + objc.registerName("URLHostAllowedCharacterSet"); +late final _sel_URLPathAllowedCharacterSet = + objc.registerName("URLPathAllowedCharacterSet"); +late final _sel_URLQueryAllowedCharacterSet = + objc.registerName("URLQueryAllowedCharacterSet"); +late final _sel_URLFragmentAllowedCharacterSet = + objc.registerName("URLFragmentAllowedCharacterSet"); +late final _sel_exemplarCharacterSet = + objc.registerName("exemplarCharacterSet"); +late final _sel_calendarIdentifier = objc.registerName("calendarIdentifier"); +late final _sel_localizedStringForCalendarIdentifier_ = + objc.registerName("localizedStringForCalendarIdentifier:"); +late final _sel_collationIdentifier = objc.registerName("collationIdentifier"); +late final _sel_localizedStringForCollationIdentifier_ = + objc.registerName("localizedStringForCollationIdentifier:"); +late final _sel_usesMetricSystem = objc.registerName("usesMetricSystem"); +late final _sel_decimalSeparator = objc.registerName("decimalSeparator"); +late final _sel_groupingSeparator = objc.registerName("groupingSeparator"); +late final _sel_currencySymbol = objc.registerName("currencySymbol"); +late final _sel_currencyCode = objc.registerName("currencyCode"); +late final _sel_localizedStringForCurrencyCode_ = + objc.registerName("localizedStringForCurrencyCode:"); +late final _sel_collatorIdentifier = objc.registerName("collatorIdentifier"); +late final _sel_localizedStringForCollatorIdentifier_ = + objc.registerName("localizedStringForCollatorIdentifier:"); +late final _sel_quotationBeginDelimiter = + objc.registerName("quotationBeginDelimiter"); +late final _sel_quotationEndDelimiter = + objc.registerName("quotationEndDelimiter"); +late final _sel_alternateQuotationBeginDelimiter = + objc.registerName("alternateQuotationBeginDelimiter"); +late final _sel_alternateQuotationEndDelimiter = + objc.registerName("alternateQuotationEndDelimiter"); +late final _sel_autoupdatingCurrentLocale = + objc.registerName("autoupdatingCurrentLocale"); +final _objc_msgSend_197 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_currentLocale = objc.registerName("currentLocale"); +late final _sel_systemLocale = objc.registerName("systemLocale"); +late final _sel_localeWithLocaleIdentifier_ = + objc.registerName("localeWithLocaleIdentifier:"); +late final _sel_availableLocaleIdentifiers = + objc.registerName("availableLocaleIdentifiers"); +late final _sel_ISOLanguageCodes = objc.registerName("ISOLanguageCodes"); +late final _sel_ISOCountryCodes = objc.registerName("ISOCountryCodes"); +late final _sel_ISOCurrencyCodes = objc.registerName("ISOCurrencyCodes"); +late final _sel_commonISOCurrencyCodes = + objc.registerName("commonISOCurrencyCodes"); +late final _sel_preferredLanguages = objc.registerName("preferredLanguages"); +late final _sel_componentsFromLocaleIdentifier_ = + objc.registerName("componentsFromLocaleIdentifier:"); +final _objc_msgSend_198 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer string)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_localeIdentifierFromComponents_ = + objc.registerName("localeIdentifierFromComponents:"); +final _objc_msgSend_199 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer dict)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_canonicalLocaleIdentifierFromString_ = + objc.registerName("canonicalLocaleIdentifierFromString:"); +late final _sel_canonicalLanguageIdentifierFromString_ = + objc.registerName("canonicalLanguageIdentifierFromString:"); +late final _sel_localeIdentifierFromWindowsLocaleCode_ = + objc.registerName("localeIdentifierFromWindowsLocaleCode:"); +final _objc_msgSend_200 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Uint32 lcid)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, int)>(); +late final _sel_windowsLocaleCodeFromLocaleIdentifier_ = + objc.registerName("windowsLocaleCodeFromLocaleIdentifier:"); +final _objc_msgSend_201 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Uint32 Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer localeIdentifier)>>() + .asFunction< + int Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); abstract class NSLocaleLanguageDirection { static const int NSLocaleLanguageDirectionUnknown = 0; @@ -50281,6 +13622,708 @@ abstract class NSLocaleLanguageDirection { static const int NSLocaleLanguageDirectionBottomToTop = 4; } +late final _sel_characterDirectionForLanguage_ = + objc.registerName("characterDirectionForLanguage:"); +final _objc_msgSend_202 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer isoLangCode)>>() + .asFunction< + int Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_lineDirectionForLanguage_ = + objc.registerName("lineDirectionForLanguage:"); +late final _sel_localizedName_locale_ = + objc.registerName("localizedName:locale:"); +final _objc_msgSend_203 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Int32 style, + ffi.Pointer locale)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer)>(); +late final _sel_timeZoneWithName_ = objc.registerName("timeZoneWithName:"); +late final _sel_timeZoneWithName_data_ = + objc.registerName("timeZoneWithName:data:"); +final _objc_msgSend_204 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer tzName, + ffi.Pointer aData)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_initWithName_ = objc.registerName("initWithName:"); +late final _sel_initWithName_data_ = objc.registerName("initWithName:data:"); +late final _sel_timeZoneForSecondsFromGMT_ = + objc.registerName("timeZoneForSecondsFromGMT:"); +final _objc_msgSend_205 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function(ffi.Pointer obj, + ffi.Pointer sel, ffi.Long seconds)>>() + .asFunction< + instancetype Function(ffi.Pointer, + ffi.Pointer, int)>(); +late final _sel_timeZoneWithAbbreviation_ = + objc.registerName("timeZoneWithAbbreviation:"); +late final _sel_dateWithYear_month_day_hour_minute_second_timeZone_ = + objc.registerName("dateWithYear:month:day:hour:minute:second:timeZone:"); +final _objc_msgSend_206 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Long year, + ffi.UnsignedLong month, + ffi.UnsignedLong day, + ffi.UnsignedLong hour, + ffi.UnsignedLong minute, + ffi.UnsignedLong second, + ffi.Pointer aTimeZone)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + int, + int, + int, + int, + int, + ffi.Pointer)>(); +late final _sel_dateByAddingYears_months_days_hours_minutes_seconds_ = + objc.registerName("dateByAddingYears:months:days:hours:minutes:seconds:"); +final _objc_msgSend_207 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Long year, + ffi.Long month, + ffi.Long day, + ffi.Long hour, + ffi.Long minute, + ffi.Long second)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, int, int, int, int, int, int)>(); +late final _sel_dayOfCommonEra = objc.registerName("dayOfCommonEra"); +late final _sel_dayOfMonth = objc.registerName("dayOfMonth"); +late final _sel_dayOfWeek = objc.registerName("dayOfWeek"); +late final _sel_dayOfYear = objc.registerName("dayOfYear"); +late final _sel_hourOfDay = objc.registerName("hourOfDay"); +late final _sel_minuteOfHour = objc.registerName("minuteOfHour"); +late final _sel_monthOfYear = objc.registerName("monthOfYear"); +late final _sel_secondOfMinute = objc.registerName("secondOfMinute"); +late final _sel_yearOfCommonEra = objc.registerName("yearOfCommonEra"); +late final _sel_calendarFormat = objc.registerName("calendarFormat"); +late final _sel_descriptionWithCalendarFormat_locale_ = + objc.registerName("descriptionWithCalendarFormat:locale:"); +final _objc_msgSend_208 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer format, + ffi.Pointer locale)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_descriptionWithCalendarFormat_ = + objc.registerName("descriptionWithCalendarFormat:"); +late final _sel_timeZone = objc.registerName("timeZone"); +late final _sel_initWithString_calendarFormat_locale_ = + objc.registerName("initWithString:calendarFormat:locale:"); +late final _sel_initWithString_calendarFormat_ = + objc.registerName("initWithString:calendarFormat:"); +late final _sel_initWithYear_month_day_hour_minute_second_timeZone_ = + objc.registerName("initWithYear:month:day:hour:minute:second:timeZone:"); +late final _sel_setCalendarFormat_ = objc.registerName("setCalendarFormat:"); +final _objc_msgSend_209 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer format)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_setTimeZone_ = objc.registerName("setTimeZone:"); +final _objc_msgSend_210 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer aTimeZone)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_years_months_days_hours_minutes_seconds_sinceDate_ = + objc.registerName("years:months:days:hours:minutes:seconds:sinceDate:"); +final _objc_msgSend_211 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer yp, + ffi.Pointer mop, + ffi.Pointer dp, + ffi.Pointer hp, + ffi.Pointer mip, + ffi.Pointer sp, + ffi.Pointer date)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_dateWithCalendarFormat_timeZone_ = + objc.registerName("dateWithCalendarFormat:timeZone:"); +final _objc_msgSend_212 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer format, + ffi.Pointer aTimeZone)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_descriptionWithCalendarFormat_timeZone_locale_ = + objc.registerName("descriptionWithCalendarFormat:timeZone:locale:"); +final _objc_msgSend_213 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer format, + ffi.Pointer aTimeZone, + ffi.Pointer locale)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_fileModificationDate = + objc.registerName("fileModificationDate"); +late final _sel_fileType = objc.registerName("fileType"); +late final _sel_filePosixPermissions = + objc.registerName("filePosixPermissions"); +late final _sel_fileOwnerAccountName = + objc.registerName("fileOwnerAccountName"); +late final _sel_fileGroupOwnerAccountName = + objc.registerName("fileGroupOwnerAccountName"); +late final _sel_fileSystemNumber = objc.registerName("fileSystemNumber"); +late final _sel_fileSystemFileNumber = + objc.registerName("fileSystemFileNumber"); +late final _sel_fileExtensionHidden = objc.registerName("fileExtensionHidden"); +late final _sel_fileHFSCreatorCode = objc.registerName("fileHFSCreatorCode"); +final _objc_msgSend_214 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.UnsignedInt Function(ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + int Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_fileHFSTypeCode = objc.registerName("fileHFSTypeCode"); +late final _sel_fileIsImmutable = objc.registerName("fileIsImmutable"); +late final _sel_fileIsAppendOnly = objc.registerName("fileIsAppendOnly"); +late final _sel_fileCreationDate = objc.registerName("fileCreationDate"); +late final _sel_fileOwnerAccountID = objc.registerName("fileOwnerAccountID"); +final _objc_msgSend_215 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_fileGroupOwnerAccountID = + objc.registerName("fileGroupOwnerAccountID"); +late final _sel_predicateWithBlock_ = objc.registerName("predicateWithBlock:"); +final _objc_msgSend_216 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer block)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_predicateFormat = objc.registerName("predicateFormat"); +late final _sel_predicateWithSubstitutionVariables_ = + objc.registerName("predicateWithSubstitutionVariables:"); +late final _sel_evaluateWithObject_ = objc.registerName("evaluateWithObject:"); +final _objc_msgSend_217 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer object)>>() + .asFunction< + bool Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_evaluateWithObject_substitutionVariables_ = + objc.registerName("evaluateWithObject:substitutionVariables:"); +final _objc_msgSend_218 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer object, + ffi.Pointer bindings)>>() + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_allowEvaluation = objc.registerName("allowEvaluation"); +late final _sel_filteredArrayUsingPredicate_ = + objc.registerName("filteredArrayUsingPredicate:"); +final _objc_msgSend_219 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer predicate)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_initWithChar_ = objc.registerName("initWithChar:"); +final _objc_msgSend_220 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Char value)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, int)>(); +late final _sel_initWithUnsignedChar_ = + objc.registerName("initWithUnsignedChar:"); +final _objc_msgSend_221 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.UnsignedChar value)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, int)>(); +late final _sel_initWithShort_ = objc.registerName("initWithShort:"); +final _objc_msgSend_222 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Short value)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, int)>(); +late final _sel_initWithUnsignedShort_ = + objc.registerName("initWithUnsignedShort:"); +final _objc_msgSend_223 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.UnsignedShort value)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, int)>(); +late final _sel_initWithInt_ = objc.registerName("initWithInt:"); +final _objc_msgSend_224 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Int value)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, int)>(); +late final _sel_initWithUnsignedInt_ = + objc.registerName("initWithUnsignedInt:"); +final _objc_msgSend_225 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.UnsignedInt value)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, int)>(); +late final _sel_initWithLong_ = objc.registerName("initWithLong:"); +final _objc_msgSend_226 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Long value)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, int)>(); +late final _sel_initWithUnsignedLong_ = + objc.registerName("initWithUnsignedLong:"); +final _objc_msgSend_227 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.UnsignedLong value)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, int)>(); +late final _sel_initWithLongLong_ = objc.registerName("initWithLongLong:"); +final _objc_msgSend_228 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.LongLong value)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, int)>(); +late final _sel_initWithUnsignedLongLong_ = + objc.registerName("initWithUnsignedLongLong:"); +final _objc_msgSend_229 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.UnsignedLongLong value)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, int)>(); +late final _sel_initWithFloat_ = objc.registerName("initWithFloat:"); +final _objc_msgSend_230 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Float value)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, double)>(); +late final _sel_initWithDouble_ = objc.registerName("initWithDouble:"); +final _objc_msgSend_231 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Double value)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, double)>(); +late final _sel_initWithBool_ = objc.registerName("initWithBool:"); +final _objc_msgSend_232 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Bool value)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, bool)>(); +late final _sel_initWithInteger_ = objc.registerName("initWithInteger:"); +late final _sel_initWithUnsignedInteger_ = + objc.registerName("initWithUnsignedInteger:"); +late final _sel_charValue = objc.registerName("charValue"); +final _objc_msgSend_233 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Char Function(ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + int Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_unsignedCharValue = objc.registerName("unsignedCharValue"); +final _objc_msgSend_234 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.UnsignedChar Function(ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + int Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_shortValue = objc.registerName("shortValue"); +final _objc_msgSend_235 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Short Function(ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + int Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_unsignedShortValue = objc.registerName("unsignedShortValue"); +final _objc_msgSend_236 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.UnsignedShort Function(ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + int Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_intValue = objc.registerName("intValue"); +final _objc_msgSend_237 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Int Function(ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + int Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_unsignedIntValue = objc.registerName("unsignedIntValue"); +late final _sel_longValue = objc.registerName("longValue"); +late final _sel_unsignedLongValue = objc.registerName("unsignedLongValue"); +late final _sel_longLongValue = objc.registerName("longLongValue"); +final _objc_msgSend_238 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.LongLong Function(ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + int Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_unsignedLongLongValue = + objc.registerName("unsignedLongLongValue"); +late final _sel_floatValue = objc.registerName("floatValue"); +final _objc_msgSend_239 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Float Function(ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + double Function( + ffi.Pointer, ffi.Pointer)>(); +final _objc_msgSend_239Fpret = objc.msgSendFpretPointer + .cast< + ffi.NativeFunction< + ffi.Float Function(ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + double Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_doubleValue = objc.registerName("doubleValue"); +late final _sel_boolValue = objc.registerName("boolValue"); +late final _sel_integerValue = objc.registerName("integerValue"); +late final _sel_unsignedIntegerValue = + objc.registerName("unsignedIntegerValue"); +late final _sel_stringValue = objc.registerName("stringValue"); +final _objc_msgSend_240 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer otherNumber)>>() + .asFunction< + int Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_isEqualToNumber_ = objc.registerName("isEqualToNumber:"); +final _objc_msgSend_241 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer number)>>() + .asFunction< + bool Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_numberWithChar_ = objc.registerName("numberWithChar:"); +late final _sel_numberWithUnsignedChar_ = + objc.registerName("numberWithUnsignedChar:"); +late final _sel_numberWithShort_ = objc.registerName("numberWithShort:"); +late final _sel_numberWithUnsignedShort_ = + objc.registerName("numberWithUnsignedShort:"); +late final _sel_numberWithInt_ = objc.registerName("numberWithInt:"); +late final _sel_numberWithUnsignedInt_ = + objc.registerName("numberWithUnsignedInt:"); +late final _sel_numberWithLong_ = objc.registerName("numberWithLong:"); +late final _sel_numberWithUnsignedLong_ = + objc.registerName("numberWithUnsignedLong:"); +late final _sel_numberWithLongLong_ = objc.registerName("numberWithLongLong:"); +late final _sel_numberWithUnsignedLongLong_ = + objc.registerName("numberWithUnsignedLongLong:"); +late final _sel_numberWithFloat_ = objc.registerName("numberWithFloat:"); +late final _sel_numberWithDouble_ = objc.registerName("numberWithDouble:"); +late final _sel_numberWithBool_ = objc.registerName("numberWithBool:"); +late final _sel_numberWithInteger_ = objc.registerName("numberWithInteger:"); +late final _sel_numberWithUnsignedInteger_ = + objc.registerName("numberWithUnsignedInteger:"); +late final _sel_port = objc.registerName("port"); +late final _sel_user = objc.registerName("user"); +late final _sel_password = objc.registerName("password"); +late final _sel_path = objc.registerName("path"); +late final _sel_fragment = objc.registerName("fragment"); +late final _sel_parameterString = objc.registerName("parameterString"); +late final _sel_query = objc.registerName("query"); +late final _sel_relativePath = objc.registerName("relativePath"); +late final _sel_hasDirectoryPath = objc.registerName("hasDirectoryPath"); +late final _sel_getFileSystemRepresentation_maxLength_ = + objc.registerName("getFileSystemRepresentation:maxLength:"); +final _objc_msgSend_242 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer buffer, + ffi.UnsignedLong maxBufferLength)>>() + .asFunction< + bool Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer, int)>(); +late final _sel_fileSystemRepresentation = + objc.registerName("fileSystemRepresentation"); +late final _sel_isFileURL = objc.registerName("isFileURL"); +late final _sel_standardizedURL = objc.registerName("standardizedURL"); +late final _sel_isFileReferenceURL = objc.registerName("isFileReferenceURL"); +late final _sel_fileReferenceURL = objc.registerName("fileReferenceURL"); +late final _sel_filePathURL = objc.registerName("filePathURL"); +late final _sel_getResourceValue_forKey_error_ = + objc.registerName("getResourceValue:forKey:error:"); +final _objc_msgSend_243 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer> value, + ffi.Pointer key, + ffi.Pointer> error)>>() + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer, + ffi.Pointer>)>(); +late final _sel_resourceValuesForKeys_error_ = + objc.registerName("resourceValuesForKeys:error:"); +final _objc_msgSend_244 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer keys, + ffi.Pointer> error)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>(); +late final _sel_setResourceValue_forKey_error_ = + objc.registerName("setResourceValue:forKey:error:"); +final _objc_msgSend_245 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value, + ffi.Pointer key, + ffi.Pointer> error)>>() + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>(); +late final _sel_setResourceValues_error_ = + objc.registerName("setResourceValues:error:"); +final _objc_msgSend_246 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer keyedValues, + ffi.Pointer> error)>>() + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>(); +late final _sel_removeCachedResourceValueForKey_ = + objc.registerName("removeCachedResourceValueForKey:"); +final _objc_msgSend_247 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer key)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_removeAllCachedResourceValues = + objc.registerName("removeAllCachedResourceValues"); +late final _sel_setTemporaryResourceValue_forKey_ = + objc.registerName("setTemporaryResourceValue:forKey:"); + abstract class NSURLBookmarkCreationOptions { static const int NSURLBookmarkCreationPreferFileIDResolution = 256; static const int NSURLBookmarkCreationMinimalBookmark = 512; @@ -50291,6 +14334,28 @@ abstract class NSURLBookmarkCreationOptions { 536870912; } +late final _sel_bookmarkDataWithOptions_includingResourceValuesForKeys_relativeToURL_error_ = + objc.registerName( + "bookmarkDataWithOptions:includingResourceValuesForKeys:relativeToURL:error:"); +final _objc_msgSend_248 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Int32 options, + ffi.Pointer keys, + ffi.Pointer relativeURL, + ffi.Pointer> error)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>(); + abstract class NSURLBookmarkResolutionOptions { static const int NSURLBookmarkResolutionWithoutUI = 256; static const int NSURLBookmarkResolutionWithoutMounting = 512; @@ -50298,332 +14363,471 @@ abstract class NSURLBookmarkResolutionOptions { static const int NSURLBookmarkResolutionWithoutImplicitStartAccessing = 32768; } +late final _sel_initByResolvingBookmarkData_options_relativeToURL_bookmarkDataIsStale_error_ = + objc.registerName( + "initByResolvingBookmarkData:options:relativeToURL:bookmarkDataIsStale:error:"); +final _objc_msgSend_249 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer bookmarkData, + ffi.Int32 options, + ffi.Pointer relativeURL, + ffi.Pointer isStale, + ffi.Pointer> error)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>(); +late final _sel_URLByResolvingBookmarkData_options_relativeToURL_bookmarkDataIsStale_error_ = + objc.registerName( + "URLByResolvingBookmarkData:options:relativeToURL:bookmarkDataIsStale:error:"); +late final _sel_resourceValuesForKeys_fromBookmarkData_ = + objc.registerName("resourceValuesForKeys:fromBookmarkData:"); +final _objc_msgSend_250 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer keys, + ffi.Pointer bookmarkData)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_writeBookmarkData_toURL_options_error_ = + objc.registerName("writeBookmarkData:toURL:options:error:"); +final _objc_msgSend_251 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer bookmarkData, + ffi.Pointer bookmarkFileURL, + ffi.UnsignedLong options, + ffi.Pointer> error)>>() + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer>)>(); +late final _sel_bookmarkDataWithContentsOfURL_error_ = + objc.registerName("bookmarkDataWithContentsOfURL:error:"); +final _objc_msgSend_252 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer bookmarkFileURL, + ffi.Pointer> error)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>(); +late final _sel_URLByResolvingAliasFileAtURL_options_error_ = + objc.registerName("URLByResolvingAliasFileAtURL:options:error:"); +final _objc_msgSend_253 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer url, + ffi.Int32 options, + ffi.Pointer> error)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer>)>(); +late final _sel_startAccessingSecurityScopedResource = + objc.registerName("startAccessingSecurityScopedResource"); +late final _sel_stopAccessingSecurityScopedResource = + objc.registerName("stopAccessingSecurityScopedResource"); +late final _sel_getPromisedItemResourceValue_forKey_error_ = + objc.registerName("getPromisedItemResourceValue:forKey:error:"); +late final _sel_promisedItemResourceValuesForKeys_error_ = + objc.registerName("promisedItemResourceValuesForKeys:error:"); +final _objc_msgSend_254 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer keys, + ffi.Pointer> error)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>(); +late final _sel_checkPromisedItemIsReachableAndReturnError_ = + objc.registerName("checkPromisedItemIsReachableAndReturnError:"); +final _objc_msgSend_255 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer> error)>>() + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>(); +late final _sel_fileURLWithPathComponents_ = + objc.registerName("fileURLWithPathComponents:"); +final _objc_msgSend_256 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer components)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_pathComponents = objc.registerName("pathComponents"); +late final _sel_lastPathComponent = objc.registerName("lastPathComponent"); +late final _sel_pathExtension = objc.registerName("pathExtension"); +late final _sel_URLByAppendingPathComponent_ = + objc.registerName("URLByAppendingPathComponent:"); +final _objc_msgSend_257 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer pathComponent)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_URLByAppendingPathComponent_isDirectory_ = + objc.registerName("URLByAppendingPathComponent:isDirectory:"); +final _objc_msgSend_258 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer pathComponent, + ffi.Bool isDirectory)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool)>(); +late final _sel_URLByDeletingLastPathComponent = + objc.registerName("URLByDeletingLastPathComponent"); +late final _sel_URLByAppendingPathExtension_ = + objc.registerName("URLByAppendingPathExtension:"); +late final _sel_URLByDeletingPathExtension = + objc.registerName("URLByDeletingPathExtension"); +late final _sel_checkResourceIsReachableAndReturnError_ = + objc.registerName("checkResourceIsReachableAndReturnError:"); +late final _sel_URLByStandardizingPath = + objc.registerName("URLByStandardizingPath"); +late final _sel_URLByResolvingSymlinksInPath = + objc.registerName("URLByResolvingSymlinksInPath"); +late final _sel_resourceDataUsingCache_ = + objc.registerName("resourceDataUsingCache:"); +final _objc_msgSend_259 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Bool shouldUseCache)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, bool)>(); +late final _sel_loadResourceDataNotifyingClient_usingCache_ = + objc.registerName("loadResourceDataNotifyingClient:usingCache:"); +final _objc_msgSend_260 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer client, + ffi.Bool shouldUseCache)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool)>(); +late final _sel_propertyForKey_ = objc.registerName("propertyForKey:"); +late final _sel_setResourceData_ = objc.registerName("setResourceData:"); +late final _sel_setProperty_forKey_ = objc.registerName("setProperty:forKey:"); +final _objc_msgSend_261 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer property, + ffi.Pointer propertyKey)>>() + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); + class NSURLHandle extends NSObject { - NSURLHandle._( - ffi.Pointer pointer, - SwiftLibrary lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSURLHandle._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSURLHandle] that points to the same underlying object as [other]. - static NSURLHandle castFrom( - SwiftLibrary lib, - T other, - ) { - return NSURLHandle._(other.pointer, lib, retain: true, release: true); + static NSURLHandle castFrom(T other) { + return NSURLHandle._(other.pointer, retain: true, release: true); } /// Returns a [NSURLHandle] that wraps the given raw object pointer. - static NSURLHandle castFromPointer( - SwiftLibrary lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSURLHandle._(other, lib, retain: retain, release: release); + static NSURLHandle castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSURLHandle._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSURLHandle]. - static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSURLHandle1, - ); - } - - static void registerURLHandleClass_( - SwiftLibrary _lib, - NSObject anURLHandleSubclass, - ) { - _lib._objc_msgSend_15( - _lib._class_NSURLHandle1, - _lib._sel_registerURLHandleClass_1, - anURLHandleSubclass.pointer, - ); - } - - static NSObject URLHandleClassForURL_(SwiftLibrary _lib, NSURL anURL) { - final _ret = _lib._objc_msgSend_262( - _lib._class_NSURLHandle1, - _lib._sel_URLHandleClassForURL_1, - anURL.pointer, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0( + obj.pointer, _sel_isKindOfClass_, _class_NSURLHandle); + } + + static void registerURLHandleClass_(NSObject anURLHandleSubclass) { + _objc_msgSend_15(_class_NSURLHandle, _sel_registerURLHandleClass_, + anURLHandleSubclass.pointer); + } + + static NSObject URLHandleClassForURL_(NSURL anURL) { + final _ret = _objc_msgSend_262( + _class_NSURLHandle, _sel_URLHandleClassForURL_, anURL.pointer); + return NSObject._(_ret, retain: true, release: true); } int status() { - return _lib._objc_msgSend_263(this.pointer, _lib._sel_status1); + return _objc_msgSend_263(this.pointer, _sel_status); } NSString failureReason() { - final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_failureReason1); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_failureReason); + return NSString._(_ret, retain: true, release: true); } void addClient_(NSObject client) { - _lib._objc_msgSend_15(this.pointer, _lib._sel_addClient_1, client.pointer); + _objc_msgSend_15(this.pointer, _sel_addClient_, client.pointer); } void removeClient_(NSObject client) { - _lib._objc_msgSend_15( - this.pointer, - _lib._sel_removeClient_1, - client.pointer, - ); + _objc_msgSend_15(this.pointer, _sel_removeClient_, client.pointer); } void loadInBackground() { - _lib._objc_msgSend_1(this.pointer, _lib._sel_loadInBackground1); + _objc_msgSend_1(this.pointer, _sel_loadInBackground); } void cancelLoadInBackground() { - _lib._objc_msgSend_1(this.pointer, _lib._sel_cancelLoadInBackground1); + _objc_msgSend_1(this.pointer, _sel_cancelLoadInBackground); } NSData resourceData() { - final _ret = _lib._objc_msgSend_43(this.pointer, _lib._sel_resourceData1); - return NSData._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_43(this.pointer, _sel_resourceData); + return NSData._(_ret, retain: true, release: true); } NSData availableResourceData() { - final _ret = _lib._objc_msgSend_43( - this.pointer, - _lib._sel_availableResourceData1, - ); - return NSData._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_43(this.pointer, _sel_availableResourceData); + return NSData._(_ret, retain: true, release: true); } int expectedResourceDataSize() { - return _lib._objc_msgSend_238( - this.pointer, - _lib._sel_expectedResourceDataSize1, - ); + return _objc_msgSend_238(this.pointer, _sel_expectedResourceDataSize); } void flushCachedData() { - _lib._objc_msgSend_1(this.pointer, _lib._sel_flushCachedData1); + _objc_msgSend_1(this.pointer, _sel_flushCachedData); } void backgroundLoadDidFailWithReason_(NSString reason) { - _lib._objc_msgSend_247( - this.pointer, - _lib._sel_backgroundLoadDidFailWithReason_1, - reason.pointer, - ); + _objc_msgSend_247( + this.pointer, _sel_backgroundLoadDidFailWithReason_, reason.pointer); } void didLoadBytes_loadComplete_(NSData newBytes, bool yorn) { - _lib._objc_msgSend_264( - this.pointer, - _lib._sel_didLoadBytes_loadComplete_1, - newBytes.pointer, - yorn, - ); + _objc_msgSend_264( + this.pointer, _sel_didLoadBytes_loadComplete_, newBytes.pointer, yorn); } - static bool canInitWithURL_(SwiftLibrary _lib, NSURL anURL) { - return _lib._objc_msgSend_265( - _lib._class_NSURLHandle1, - _lib._sel_canInitWithURL_1, - anURL.pointer, - ); + static bool canInitWithURL_(NSURL anURL) { + return _objc_msgSend_265( + _class_NSURLHandle, _sel_canInitWithURL_, anURL.pointer); } - static NSURLHandle cachedHandleForURL_(SwiftLibrary _lib, NSURL anURL) { - final _ret = _lib._objc_msgSend_266( - _lib._class_NSURLHandle1, - _lib._sel_cachedHandleForURL_1, - anURL.pointer, - ); - return NSURLHandle._(_ret, _lib, retain: true, release: true); + static NSURLHandle cachedHandleForURL_(NSURL anURL) { + final _ret = _objc_msgSend_266( + _class_NSURLHandle, _sel_cachedHandleForURL_, anURL.pointer); + return NSURLHandle._(_ret, retain: true, release: true); } NSObject initWithURL_cached_(NSURL anURL, bool willCache) { - final _ret = _lib._objc_msgSend_267( - this.pointer, - _lib._sel_initWithURL_cached_1, - anURL.pointer, - willCache, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_267( + this.pointer, _sel_initWithURL_cached_, anURL.pointer, willCache); + return NSObject._(_ret, retain: true, release: true); } NSObject propertyForKey_(NSString propertyKey) { - final _ret = _lib._objc_msgSend_31( - this.pointer, - _lib._sel_propertyForKey_1, - propertyKey.pointer, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_31( + this.pointer, _sel_propertyForKey_, propertyKey.pointer); + return NSObject._(_ret, retain: true, release: true); } NSObject propertyForKeyIfAvailable_(NSString propertyKey) { - final _ret = _lib._objc_msgSend_31( - this.pointer, - _lib._sel_propertyForKeyIfAvailable_1, - propertyKey.pointer, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_31( + this.pointer, _sel_propertyForKeyIfAvailable_, propertyKey.pointer); + return NSObject._(_ret, retain: true, release: true); } bool writeProperty_forKey_(NSObject propertyValue, NSString propertyKey) { - return _lib._objc_msgSend_261( - this.pointer, - _lib._sel_writeProperty_forKey_1, - propertyValue.pointer, - propertyKey.pointer, - ); + return _objc_msgSend_261(this.pointer, _sel_writeProperty_forKey_, + propertyValue.pointer, propertyKey.pointer); } bool writeData_(NSData data) { - return _lib._objc_msgSend_24( - this.pointer, - _lib._sel_writeData_1, - data.pointer, - ); + return _objc_msgSend_24(this.pointer, _sel_writeData_, data.pointer); } NSData loadInForeground() { - final _ret = _lib._objc_msgSend_43( - this.pointer, - _lib._sel_loadInForeground1, - ); - return NSData._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_43(this.pointer, _sel_loadInForeground); + return NSData._(_ret, retain: true, release: true); } void beginLoadInBackground() { - _lib._objc_msgSend_1(this.pointer, _lib._sel_beginLoadInBackground1); + _objc_msgSend_1(this.pointer, _sel_beginLoadInBackground); } void endLoadInBackground() { - _lib._objc_msgSend_1(this.pointer, _lib._sel_endLoadInBackground1); + _objc_msgSend_1(this.pointer, _sel_endLoadInBackground); } @override NSURLHandle init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSURLHandle._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSURLHandle._(_ret, retain: true, release: true); } - static NSURLHandle new1(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2(_lib._class_NSURLHandle1, _lib._sel_new1); - return NSURLHandle._(_ret, _lib, retain: false, release: true); + static NSURLHandle new1() { + final _ret = _objc_msgSend_2(_class_NSURLHandle, _sel_new); + return NSURLHandle._(_ret, retain: false, release: true); } - static NSURLHandle allocWithZone_( - SwiftLibrary _lib, - ffi.Pointer<_NSZone> zone, - ) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSURLHandle1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSURLHandle._(_ret, _lib, retain: false, release: true); + static NSURLHandle allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = _objc_msgSend_3(_class_NSURLHandle, _sel_allocWithZone_, zone); + return NSURLHandle._(_ret, retain: false, release: true); } - static NSURLHandle alloc(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLHandle1, - _lib._sel_alloc1, - ); - return NSURLHandle._(_ret, _lib, retain: false, release: true); + static NSURLHandle alloc() { + final _ret = _objc_msgSend_2(_class_NSURLHandle, _sel_alloc); + return NSURLHandle._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSURLHandle1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSURLHandle1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSURLHandle1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSURLHandle1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSURLHandle1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSURLHandle1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSURLHandle, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); } - static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSURLHandle1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSURLHandle1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLHandle1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSURLHandle, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); } -} + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSURLHandle, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSURLHandle, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSURLHandle, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSURLHandle, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); + } + + static void setKeys_triggerChangeNotificationsForDependentKey_( + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSURLHandle, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = _objc_msgSend_85( + _class_NSURLHandle, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = + _objc_msgSend_2(_class_NSURLHandle, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); + } +} + +late final _class_NSURLHandle = objc.getClass("NSURLHandle"); +late final _sel_registerURLHandleClass_ = + objc.registerName("registerURLHandleClass:"); +late final _sel_URLHandleClassForURL_ = + objc.registerName("URLHandleClassForURL:"); +final _objc_msgSend_262 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer anURL)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); abstract class NSURLHandleStatus { static const int NSURLHandleNotLoaded = 0; @@ -50632,6 +14836,104 @@ abstract class NSURLHandleStatus { static const int NSURLHandleLoadFailed = 3; } +late final _sel_status = objc.registerName("status"); +final _objc_msgSend_263 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + int Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_failureReason = objc.registerName("failureReason"); +late final _sel_addClient_ = objc.registerName("addClient:"); +late final _sel_removeClient_ = objc.registerName("removeClient:"); +late final _sel_loadInBackground = objc.registerName("loadInBackground"); +late final _sel_cancelLoadInBackground = + objc.registerName("cancelLoadInBackground"); +late final _sel_resourceData = objc.registerName("resourceData"); +late final _sel_availableResourceData = + objc.registerName("availableResourceData"); +late final _sel_expectedResourceDataSize = + objc.registerName("expectedResourceDataSize"); +late final _sel_flushCachedData = objc.registerName("flushCachedData"); +late final _sel_backgroundLoadDidFailWithReason_ = + objc.registerName("backgroundLoadDidFailWithReason:"); +late final _sel_didLoadBytes_loadComplete_ = + objc.registerName("didLoadBytes:loadComplete:"); +final _objc_msgSend_264 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer newBytes, + ffi.Bool yorn)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool)>(); +late final _sel_canInitWithURL_ = objc.registerName("canInitWithURL:"); +final _objc_msgSend_265 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer anURL)>>() + .asFunction< + bool Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_cachedHandleForURL_ = objc.registerName("cachedHandleForURL:"); +final _objc_msgSend_266 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer anURL)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_initWithURL_cached_ = objc.registerName("initWithURL:cached:"); +final _objc_msgSend_267 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer anURL, + ffi.Bool willCache)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool)>(); +late final _sel_propertyForKeyIfAvailable_ = + objc.registerName("propertyForKeyIfAvailable:"); +late final _sel_writeProperty_forKey_ = + objc.registerName("writeProperty:forKey:"); +late final _sel_writeData_ = objc.registerName("writeData:"); +late final _sel_loadInForeground = objc.registerName("loadInForeground"); +late final _sel_beginLoadInBackground = + objc.registerName("beginLoadInBackground"); +late final _sel_endLoadInBackground = objc.registerName("endLoadInBackground"); +late final _sel_URLHandleUsingCache_ = + objc.registerName("URLHandleUsingCache:"); +final _objc_msgSend_268 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Bool shouldUseCache)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, bool)>(); + abstract class NSDataWritingOptions { static const int NSDataWritingAtomic = 1; static const int NSDataWritingWithoutOverwriting = 2; @@ -50647,25 +14949,94 @@ abstract class NSDataWritingOptions { static const int NSAtomicWrite = 1; } +late final _sel_writeToFile_options_error_ = + objc.registerName("writeToFile:options:error:"); +final _objc_msgSend_269 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer path, + ffi.Int32 writeOptionsMask, + ffi.Pointer> errorPtr)>>() + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer>)>(); +late final _sel_writeToURL_options_error_ = + objc.registerName("writeToURL:options:error:"); +final _objc_msgSend_270 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer url, + ffi.Int32 writeOptionsMask, + ffi.Pointer> errorPtr)>>() + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer>)>(); + abstract class NSDataSearchOptions { static const int NSDataSearchBackwards = 1; static const int NSDataSearchAnchored = 2; } +late final _sel_rangeOfData_options_range_ = + objc.registerName("rangeOfData:options:range:"); +final _objc_msgSend_271 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + _NSRange Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer dataToFind, + ffi.Int32 mask, + _NSRange searchRange)>>() + .asFunction< + _NSRange Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + _NSRange)>(); +final _objc_msgSend_271Stret = objc.msgSendStretPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer<_NSRange> stret, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer dataToFind, + ffi.Int32 mask, + _NSRange searchRange)>>() + .asFunction< + void Function( + ffi.Pointer<_NSRange>, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + _NSRange)>(); void _ObjCBlock_ffiVoid_ffiVoid_NSRange_bool_fnPtrTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, - _NSRange arg1, - ffi.Pointer arg2, -) => + ffi.Pointer block, + ffi.Pointer arg0, + _NSRange arg1, + ffi.Pointer arg2) => block.ref.target .cast< ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - _NSRange arg1, - ffi.Pointer arg2, - )>>() + ffi.Void Function(ffi.Pointer arg0, _NSRange arg1, + ffi.Pointer arg2)>>() .asFunction< void Function(ffi.Pointer, _NSRange, ffi.Pointer)>()(arg0, arg1, arg2); @@ -50673,45 +15044,32 @@ final _ObjCBlock_ffiVoid_ffiVoid_NSRange_bool_closureRegistry = , _NSRange, ffi.Pointer)>{}; int _ObjCBlock_ffiVoid_ffiVoid_NSRange_bool_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_ffiVoid_ffiVoid_NSRange_bool_registerClosure( - void Function(ffi.Pointer, _NSRange, ffi.Pointer) fn, -) { + void Function(ffi.Pointer, _NSRange, ffi.Pointer) fn) { final id = ++_ObjCBlock_ffiVoid_ffiVoid_NSRange_bool_closureRegistryIndex; _ObjCBlock_ffiVoid_ffiVoid_NSRange_bool_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } void _ObjCBlock_ffiVoid_ffiVoid_NSRange_bool_closureTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, - _NSRange arg1, - ffi.Pointer arg2, -) => + ffi.Pointer block, + ffi.Pointer arg0, + _NSRange arg1, + ffi.Pointer arg2) => _ObjCBlock_ffiVoid_ffiVoid_NSRange_bool_closureRegistry[ block.ref.target.address]!(arg0, arg1, arg2); class ObjCBlock_ffiVoid_ffiVoid_NSRange_bool extends objc.ObjCBlockBase { - ObjCBlock_ffiVoid_ffiVoid_NSRange_bool._( - ffi.Pointer pointer, - this._lib, { - bool retain = false, - bool release = true, - }) : super(pointer, retain: retain, release: release); - - SwiftLibrary _lib; + ObjCBlock_ffiVoid_ffiVoid_NSRange_bool._(ffi.Pointer pointer, + {bool retain = false, bool release = true}) + : super(pointer, retain: retain, release: release); /// Returns a block that wraps the given raw block pointer. static ObjCBlock_ffiVoid_ffiVoid_NSRange_bool castFromPointer( - SwiftLibrary lib, - ffi.Pointer pointer, { - bool retain = false, - bool release = false, - }) { - return ObjCBlock_ffiVoid_ffiVoid_NSRange_bool._( - pointer, - lib, - retain: retain, - release: release, - ); + ffi.Pointer pointer, + {bool retain = false, + bool release = false}) { + return ObjCBlock_ffiVoid_ffiVoid_NSRange_bool._(pointer, + retain: retain, release: release); } /// Creates a block from a C function pointer. @@ -50720,29 +15078,21 @@ class ObjCBlock_ffiVoid_ffiVoid_NSRange_bool extends objc.ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_ffiVoid_NSRange_bool.fromFunctionPointer( - SwiftLibrary lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - _NSRange arg1, - ffi.Pointer arg2, - )>> - ptr, - ) : this._( - objc.newBlock( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( + ffi.Pointer< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer arg0, _NSRange arg1, + ffi.Pointer arg2)>> + ptr) + : this._(objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( ffi.Pointer, ffi.Pointer, _NSRange, - ffi.Pointer, - )>( - _ObjCBlock_ffiVoid_ffiVoid_NSRange_bool_fnPtrTrampoline) - .cast(), - ptr.cast(), - ), - lib); + ffi.Pointer)>( + _ObjCBlock_ffiVoid_ffiVoid_NSRange_bool_fnPtrTrampoline) + .cast(), + ptr.cast())); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -50751,27 +15101,20 @@ class ObjCBlock_ffiVoid_ffiVoid_NSRange_bool extends objc.ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_ffiVoid_NSRange_bool.fromFunction( - SwiftLibrary lib, - void Function(ffi.Pointer, _NSRange, ffi.Pointer) fn, - ) : this._( - objc.newBlock( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( + void Function(ffi.Pointer, _NSRange, ffi.Pointer) fn) + : this._(objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( ffi.Pointer, ffi.Pointer, _NSRange, - ffi.Pointer, - )>( - _ObjCBlock_ffiVoid_ffiVoid_NSRange_bool_closureTrampoline) - .cast(), - _ObjCBlock_ffiVoid_ffiVoid_NSRange_bool_registerClosure(( - ffi.Pointer arg0, - _NSRange arg1, - ffi.Pointer arg2, - ) => - fn(arg0, arg1, arg2)), - ), - lib); + ffi.Pointer)>( + _ObjCBlock_ffiVoid_ffiVoid_NSRange_bool_closureTrampoline) + .cast(), + _ObjCBlock_ffiVoid_ffiVoid_NSRange_bool_registerClosure( + (ffi.Pointer arg0, _NSRange arg1, + ffi.Pointer arg2) => + fn(arg0, arg1, arg2)))); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -50784,59 +15127,89 @@ class ObjCBlock_ffiVoid_ffiVoid_NSRange_bool extends objc.ObjCBlockBase { /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. ObjCBlock_ffiVoid_ffiVoid_NSRange_bool.listener( - SwiftLibrary lib, - void Function(ffi.Pointer, _NSRange, ffi.Pointer) fn, - ) : this._( - objc.newBlock( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - )>.listener( - _ObjCBlock_ffiVoid_ffiVoid_NSRange_bool_closureTrampoline, - )..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_ffiVoid_NSRange_bool_registerClosure(( - ffi.Pointer arg0, - _NSRange arg1, - ffi.Pointer arg2, - ) => - fn(arg0, arg1, arg2)), - ), - lib); + void Function(ffi.Pointer, _NSRange, ffi.Pointer) fn) + : this._(objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer)>.listener( + _ObjCBlock_ffiVoid_ffiVoid_NSRange_bool_closureTrampoline) + ..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_ffiVoid_NSRange_bool_registerClosure( + (ffi.Pointer arg0, _NSRange arg1, + ffi.Pointer arg2) => + fn(arg0, arg1, arg2)))); static ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - )>? _dartFuncListenerTrampoline; - - void call( - ffi.Pointer arg0, - _NSRange arg1, - ffi.Pointer arg2, - ) => + ffi.Void Function(ffi.Pointer, ffi.Pointer, + _NSRange, ffi.Pointer)>? _dartFuncListenerTrampoline; + + void call(ffi.Pointer arg0, _NSRange arg1, + ffi.Pointer arg2) => pointer.ref.invoke .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer block, - ffi.Pointer arg0, - _NSRange arg1, - ffi.Pointer arg2, - )>>() + ffi.Pointer block, + ffi.Pointer arg0, + _NSRange arg1, + ffi.Pointer arg2)>>() .asFunction< void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - )>()(pointer, arg0, arg1, arg2); -} + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer)>()(pointer, arg0, arg1, arg2); +} + +late final _sel_enumerateByteRangesUsingBlock_ = + objc.registerName("enumerateByteRangesUsingBlock:"); +final _objc_msgSend_272 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer block)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_dataWithBytes_length_ = + objc.registerName("dataWithBytes:length:"); +final _objc_msgSend_273 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer bytes, + ffi.UnsignedLong length)>>() + .asFunction< + instancetype Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer, int)>(); +late final _sel_dataWithBytesNoCopy_length_ = + objc.registerName("dataWithBytesNoCopy:length:"); +late final _sel_dataWithBytesNoCopy_length_freeWhenDone_ = + objc.registerName("dataWithBytesNoCopy:length:freeWhenDone:"); +final _objc_msgSend_274 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer bytes, + ffi.UnsignedLong length, + ffi.Bool b)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + bool)>(); abstract class NSDataReadingOptions { static const int NSDataReadingMappedIfSafe = 1; @@ -50847,11 +15220,66 @@ abstract class NSDataReadingOptions { static const int NSUncachedRead = 2; } +late final _sel_dataWithContentsOfFile_options_error_ = + objc.registerName("dataWithContentsOfFile:options:error:"); +final _objc_msgSend_275 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer path, + ffi.Int32 readOptionsMask, + ffi.Pointer> errorPtr)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer>)>(); +late final _sel_dataWithContentsOfURL_options_error_ = + objc.registerName("dataWithContentsOfURL:options:error:"); +final _objc_msgSend_276 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer url, + ffi.Int32 readOptionsMask, + ffi.Pointer> errorPtr)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer>)>(); +late final _sel_dataWithContentsOfFile_ = + objc.registerName("dataWithContentsOfFile:"); +late final _sel_dataWithContentsOfURL_ = + objc.registerName("dataWithContentsOfURL:"); +final _objc_msgSend_277 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer url)>>() + .asFunction< + instancetype Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_initWithBytes_length_ = + objc.registerName("initWithBytes:length:"); +late final _sel_initWithBytesNoCopy_length_ = + objc.registerName("initWithBytesNoCopy:length:"); +late final _sel_initWithBytesNoCopy_length_freeWhenDone_ = + objc.registerName("initWithBytesNoCopy:length:freeWhenDone:"); void _ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong_fnPtrTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, - int arg1, -) => + ffi.Pointer block, + ffi.Pointer arg0, + int arg1) => block.ref.target .cast< ffi.NativeFunction< @@ -50863,44 +15291,33 @@ final _ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong_closureRegistry = int _ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong_registerClosure( - void Function(ffi.Pointer, int) fn, -) { + void Function(ffi.Pointer, int) fn) { final id = ++_ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong_closureRegistryIndex; _ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } void _ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong_closureTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, - int arg1, -) => + ffi.Pointer block, + ffi.Pointer arg0, + int arg1) => _ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong_closureRegistry[ block.ref.target.address]!(arg0, arg1); class ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong._( - ffi.Pointer pointer, - this._lib, { - bool retain = false, - bool release = true, - }) : super(pointer, retain: retain, release: release); - - SwiftLibrary _lib; + ffi.Pointer pointer, + {bool retain = false, + bool release = true}) + : super(pointer, retain: retain, release: release); /// Returns a block that wraps the given raw block pointer. static ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong castFromPointer( - SwiftLibrary lib, - ffi.Pointer pointer, { - bool retain = false, - bool release = false, - }) { - return ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong._( - pointer, - lib, - retain: retain, - release: release, - ); + ffi.Pointer pointer, + {bool retain = false, + bool release = false}) { + return ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong._(pointer, + retain: retain, release: release); } /// Creates a block from a C function pointer. @@ -50909,25 +15326,18 @@ class ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong extends objc.ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong.fromFunctionPointer( - SwiftLibrary lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, ffi.UnsignedLong arg1)>> - ptr, - ) : this._( - objc.newBlock( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Pointer< + ffi.NativeFunction< ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - )>( - _ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong_fnPtrTrampoline, - ).cast(), - ptr.cast(), - ), - lib); + ffi.Pointer arg0, ffi.UnsignedLong arg1)>> + ptr) + : this._(objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function(ffi.Pointer, + ffi.Pointer, ffi.UnsignedLong)>( + _ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong_fnPtrTrampoline) + .cast(), + ptr.cast())); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -50936,25 +15346,15 @@ class ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong extends objc.ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong.fromFunction( - SwiftLibrary lib, - void Function(ffi.Pointer, int) fn, - ) : this._( - objc.newBlock( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - )>( - _ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong_closureTrampoline, - ).cast(), - _ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong_registerClosure(( - ffi.Pointer arg0, - int arg1, - ) => - fn(arg0, arg1)), - ), - lib); + void Function(ffi.Pointer, int) fn) + : this._(objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function(ffi.Pointer, + ffi.Pointer, ffi.UnsignedLong)>( + _ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong_closureTrampoline) + .cast(), + _ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong_registerClosure( + (ffi.Pointer arg0, int arg1) => fn(arg0, arg1)))); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -50967,51 +15367,87 @@ class ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong extends objc.ObjCBlockBase { /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong.listener( - SwiftLibrary lib, - void Function(ffi.Pointer, int) fn, - ) : this._( - objc.newBlock( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - )>.listener( - _ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong_closureTrampoline, - )..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong_registerClosure(( - ffi.Pointer arg0, - int arg1, - ) => - fn(arg0, arg1)), - ), - lib); + void Function(ffi.Pointer, int) fn) + : this._(objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function(ffi.Pointer, + ffi.Pointer, ffi.UnsignedLong)>.listener( + _ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong_closureTrampoline) + ..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong_registerClosure( + (ffi.Pointer arg0, int arg1) => fn(arg0, arg1)))); static ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - )>? _dartFuncListenerTrampoline; + ffi.Void Function(ffi.Pointer, ffi.Pointer, + ffi.UnsignedLong)>? _dartFuncListenerTrampoline; void call(ffi.Pointer arg0, int arg1) => pointer.ref.invoke .cast< ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.UnsignedLong arg1, - )>>() + ffi.Void Function(ffi.Pointer block, + ffi.Pointer arg0, ffi.UnsignedLong arg1)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, int)>()(pointer, arg0, arg1); } +late final _sel_initWithBytesNoCopy_length_deallocator_ = + objc.registerName("initWithBytesNoCopy:length:deallocator:"); +final _objc_msgSend_278 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer bytes, + ffi.UnsignedLong length, + ffi.Pointer deallocator)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer)>(); +late final _sel_initWithContentsOfFile_options_error_ = + objc.registerName("initWithContentsOfFile:options:error:"); +late final _sel_initWithContentsOfURL_options_error_ = + objc.registerName("initWithContentsOfURL:options:error:"); +late final _sel_initWithData_ = objc.registerName("initWithData:"); +final _objc_msgSend_279 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer data)>>() + .asFunction< + instancetype Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_dataWithData_ = objc.registerName("dataWithData:"); + abstract class NSDataBase64DecodingOptions { static const int NSDataBase64DecodingIgnoreUnknownCharacters = 1; } +late final _sel_initWithBase64EncodedString_options_ = + objc.registerName("initWithBase64EncodedString:options:"); +final _objc_msgSend_280 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer base64String, + ffi.Int32 options)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int)>(); + abstract class NSDataBase64EncodingOptions { static const int NSDataBase64Encoding64CharacterLineLength = 1; static const int NSDataBase64Encoding76CharacterLineLength = 2; @@ -51019,6 +15455,47 @@ abstract class NSDataBase64EncodingOptions { static const int NSDataBase64EncodingEndLineWithLineFeed = 32; } +late final _sel_base64EncodedStringWithOptions_ = + objc.registerName("base64EncodedStringWithOptions:"); +final _objc_msgSend_281 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Int32 options)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, int)>(); +late final _sel_initWithBase64EncodedData_options_ = + objc.registerName("initWithBase64EncodedData:options:"); +final _objc_msgSend_282 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer base64Data, + ffi.Int32 options)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int)>(); +late final _sel_base64EncodedDataWithOptions_ = + objc.registerName("base64EncodedDataWithOptions:"); +final _objc_msgSend_283 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Int32 options)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, int)>(); + abstract class NSDataCompressionAlgorithm { static const int NSDataCompressionAlgorithmLZFSE = 0; static const int NSDataCompressionAlgorithmLZ4 = 1; @@ -51026,11 +15503,810 @@ abstract class NSDataCompressionAlgorithm { static const int NSDataCompressionAlgorithmZlib = 3; } +late final _sel_decompressedDataUsingAlgorithm_error_ = + objc.registerName("decompressedDataUsingAlgorithm:error:"); +final _objc_msgSend_284 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Int32 algorithm, + ffi.Pointer> error)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer>)>(); +late final _sel_compressedDataUsingAlgorithm_error_ = + objc.registerName("compressedDataUsingAlgorithm:error:"); +late final _sel_getBytes_ = objc.registerName("getBytes:"); +late final _sel_dataWithContentsOfMappedFile_ = + objc.registerName("dataWithContentsOfMappedFile:"); +late final _sel_initWithContentsOfMappedFile_ = + objc.registerName("initWithContentsOfMappedFile:"); +late final _sel_initWithBase64Encoding_ = + objc.registerName("initWithBase64Encoding:"); +late final _sel_base64Encoding = objc.registerName("base64Encoding"); +late final _sel_encodeDataObject_ = objc.registerName("encodeDataObject:"); +final _objc_msgSend_285 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer data)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_decodeDataObject = objc.registerName("decodeDataObject"); +final _objc_msgSend_286 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_decodeValueOfObjCType_at_size_ = + objc.registerName("decodeValueOfObjCType:at:size:"); +final _objc_msgSend_287 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer type, + ffi.Pointer data, + ffi.UnsignedLong size)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int)>(); +late final _sel_versionForClassName_ = + objc.registerName("versionForClassName:"); +final _objc_msgSend_288 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Long Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer className)>>() + .asFunction< + int Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_encodeObject_ = objc.registerName("encodeObject:"); +final _objc_msgSend_289 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer object)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_encodeRootObject_ = objc.registerName("encodeRootObject:"); +late final _sel_encodeBycopyObject_ = objc.registerName("encodeBycopyObject:"); +late final _sel_encodeByrefObject_ = objc.registerName("encodeByrefObject:"); +late final _sel_encodeConditionalObject_ = + objc.registerName("encodeConditionalObject:"); +late final _sel_encodeValuesOfObjCTypes_ = + objc.registerName("encodeValuesOfObjCTypes:"); +final _objc_msgSend_290 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer types)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_encodeArrayOfObjCType_count_at_ = + objc.registerName("encodeArrayOfObjCType:count:at:"); +final _objc_msgSend_291 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer type, + ffi.UnsignedLong count, + ffi.Pointer array)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer)>(); +late final _sel_encodeBytes_length_ = objc.registerName("encodeBytes:length:"); +late final _sel_decodeObject = objc.registerName("decodeObject"); +late final _sel_decodeTopLevelObjectAndReturnError_ = + objc.registerName("decodeTopLevelObjectAndReturnError:"); +final _objc_msgSend_292 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer> error)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>(); +late final _sel_decodeValuesOfObjCTypes_ = + objc.registerName("decodeValuesOfObjCTypes:"); +late final _sel_decodeArrayOfObjCType_count_at_ = + objc.registerName("decodeArrayOfObjCType:count:at:"); +late final _sel_decodeBytesWithReturnedLength_ = + objc.registerName("decodeBytesWithReturnedLength:"); +final _objc_msgSend_293 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer lengthp)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_encodePropertyList_ = objc.registerName("encodePropertyList:"); +late final _sel_decodePropertyList = objc.registerName("decodePropertyList"); +late final _sel_setObjectZone_ = objc.registerName("setObjectZone:"); +final _objc_msgSend_294 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer<_NSZone> zone)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer<_NSZone>)>(); +late final _sel_objectZone = objc.registerName("objectZone"); +final _objc_msgSend_295 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer<_NSZone> Function(ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer<_NSZone> Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_systemVersion = objc.registerName("systemVersion"); +late final _sel_allowsKeyedCoding = objc.registerName("allowsKeyedCoding"); +late final _sel_encodeObject_forKey_ = + objc.registerName("encodeObject:forKey:"); +late final _sel_encodeConditionalObject_forKey_ = + objc.registerName("encodeConditionalObject:forKey:"); +late final _sel_encodeBool_forKey_ = objc.registerName("encodeBool:forKey:"); +final _objc_msgSend_296 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Bool value, + ffi.Pointer key)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + bool, + ffi.Pointer)>(); +late final _sel_encodeInt_forKey_ = objc.registerName("encodeInt:forKey:"); +final _objc_msgSend_297 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Int value, + ffi.Pointer key)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer)>(); +late final _sel_encodeInt32_forKey_ = objc.registerName("encodeInt32:forKey:"); +final _objc_msgSend_298 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Int32 value, + ffi.Pointer key)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer)>(); +late final _sel_encodeInt64_forKey_ = objc.registerName("encodeInt64:forKey:"); +final _objc_msgSend_299 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Int64 value, + ffi.Pointer key)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer)>(); +late final _sel_encodeFloat_forKey_ = objc.registerName("encodeFloat:forKey:"); +final _objc_msgSend_300 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Float value, + ffi.Pointer key)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + double, + ffi.Pointer)>(); +late final _sel_encodeDouble_forKey_ = + objc.registerName("encodeDouble:forKey:"); +final _objc_msgSend_301 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Double value, + ffi.Pointer key)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + double, + ffi.Pointer)>(); +late final _sel_encodeBytes_length_forKey_ = + objc.registerName("encodeBytes:length:forKey:"); +final _objc_msgSend_302 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer bytes, + ffi.UnsignedLong length, + ffi.Pointer key)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer)>(); +late final _sel_containsValueForKey_ = + objc.registerName("containsValueForKey:"); +late final _sel_decodeObjectForKey_ = objc.registerName("decodeObjectForKey:"); +late final _sel_decodeTopLevelObjectForKey_error_ = + objc.registerName("decodeTopLevelObjectForKey:error:"); +final _objc_msgSend_303 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer key, + ffi.Pointer> error)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>(); +late final _sel_decodeBoolForKey_ = objc.registerName("decodeBoolForKey:"); +late final _sel_decodeIntForKey_ = objc.registerName("decodeIntForKey:"); +final _objc_msgSend_304 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Int Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer key)>>() + .asFunction< + int Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_decodeInt32ForKey_ = objc.registerName("decodeInt32ForKey:"); +final _objc_msgSend_305 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer key)>>() + .asFunction< + int Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_decodeInt64ForKey_ = objc.registerName("decodeInt64ForKey:"); +final _objc_msgSend_306 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Int64 Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer key)>>() + .asFunction< + int Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_decodeFloatForKey_ = objc.registerName("decodeFloatForKey:"); +final _objc_msgSend_307 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Float Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer key)>>() + .asFunction< + double Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +final _objc_msgSend_307Fpret = objc.msgSendFpretPointer + .cast< + ffi.NativeFunction< + ffi.Float Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer key)>>() + .asFunction< + double Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_decodeDoubleForKey_ = objc.registerName("decodeDoubleForKey:"); +final _objc_msgSend_308 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Double Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer key)>>() + .asFunction< + double Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +final _objc_msgSend_308Fpret = objc.msgSendFpretPointer + .cast< + ffi.NativeFunction< + ffi.Double Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer key)>>() + .asFunction< + double Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_decodeBytesForKey_returnedLength_ = + objc.registerName("decodeBytesForKey:returnedLength:"); +final _objc_msgSend_309 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer key, + ffi.Pointer lengthp)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_encodeInteger_forKey_ = + objc.registerName("encodeInteger:forKey:"); +final _objc_msgSend_310 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Long value, + ffi.Pointer key)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer)>(); +late final _sel_decodeIntegerForKey_ = + objc.registerName("decodeIntegerForKey:"); +late final _sel_requiresSecureCoding = + objc.registerName("requiresSecureCoding"); +late final _sel_decodeObjectOfClass_forKey_ = + objc.registerName("decodeObjectOfClass:forKey:"); +final _objc_msgSend_311 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer aClass, + ffi.Pointer key)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_decodeTopLevelObjectOfClass_forKey_error_ = + objc.registerName("decodeTopLevelObjectOfClass:forKey:error:"); +final _objc_msgSend_312 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer aClass, + ffi.Pointer key, + ffi.Pointer> error)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>(); +late final _sel_decodeArrayOfObjectsOfClass_forKey_ = + objc.registerName("decodeArrayOfObjectsOfClass:forKey:"); +final _objc_msgSend_313 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer cls, + ffi.Pointer key)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_decodeDictionaryWithKeysOfClass_objectsOfClass_forKey_ = + objc.registerName("decodeDictionaryWithKeysOfClass:objectsOfClass:forKey:"); +final _objc_msgSend_314 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer keyCls, + ffi.Pointer objectCls, + ffi.Pointer key)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_decodeObjectOfClasses_forKey_ = + objc.registerName("decodeObjectOfClasses:forKey:"); +final _objc_msgSend_315 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer classes, + ffi.Pointer key)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_decodeTopLevelObjectOfClasses_forKey_error_ = + objc.registerName("decodeTopLevelObjectOfClasses:forKey:error:"); +final _objc_msgSend_316 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer classes, + ffi.Pointer key, + ffi.Pointer> error)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>(); +late final _sel_decodeArrayOfObjectsOfClasses_forKey_ = + objc.registerName("decodeArrayOfObjectsOfClasses:forKey:"); +final _objc_msgSend_317 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer classes, + ffi.Pointer key)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_decodeDictionaryWithKeysOfClasses_objectsOfClasses_forKey_ = + objc.registerName( + "decodeDictionaryWithKeysOfClasses:objectsOfClasses:forKey:"); +final _objc_msgSend_318 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer keyClasses, + ffi.Pointer objectClasses, + ffi.Pointer key)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_decodePropertyListForKey_ = + objc.registerName("decodePropertyListForKey:"); +late final _sel_allowedClasses = objc.registerName("allowedClasses"); +final _objc_msgSend_319 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_failWithError_ = objc.registerName("failWithError:"); +final _objc_msgSend_320 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer error)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); + abstract class NSDecodingFailurePolicy { static const int NSDecodingFailurePolicyRaiseException = 0; static const int NSDecodingFailurePolicySetErrorAndReturn = 1; } +late final _sel_decodingFailurePolicy = + objc.registerName("decodingFailurePolicy"); +final _objc_msgSend_321 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + int Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_error = objc.registerName("error"); +final _objc_msgSend_322 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_encodeNXObject_ = objc.registerName("encodeNXObject:"); +late final _sel_decodeNXObject = objc.registerName("decodeNXObject"); +late final _sel_decodeValueOfObjCType_at_ = + objc.registerName("decodeValueOfObjCType:at:"); +late final _sel_encodePoint_ = objc.registerName("encodePoint:"); +final _objc_msgSend_323 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer obj, + ffi.Pointer sel, CGPoint point)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, CGPoint)>(); +late final _sel_decodePoint = objc.registerName("decodePoint"); +late final _sel_encodeSize_ = objc.registerName("encodeSize:"); +final _objc_msgSend_324 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer obj, + ffi.Pointer sel, CGSize size)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, CGSize)>(); +late final _sel_decodeSize = objc.registerName("decodeSize"); +late final _sel_encodeRect_ = objc.registerName("encodeRect:"); +final _objc_msgSend_325 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer obj, + ffi.Pointer sel, CGRect rect)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, CGRect)>(); +late final _sel_decodeRect = objc.registerName("decodeRect"); +late final _sel_encodePoint_forKey_ = objc.registerName("encodePoint:forKey:"); +final _objc_msgSend_326 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + CGPoint point, + ffi.Pointer key)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + CGPoint, + ffi.Pointer)>(); +late final _sel_encodeSize_forKey_ = objc.registerName("encodeSize:forKey:"); +final _objc_msgSend_327 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + CGSize size, + ffi.Pointer key)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + CGSize, + ffi.Pointer)>(); +late final _sel_encodeRect_forKey_ = objc.registerName("encodeRect:forKey:"); +final _objc_msgSend_328 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + CGRect rect, + ffi.Pointer key)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + CGRect, + ffi.Pointer)>(); +late final _sel_decodePointForKey_ = objc.registerName("decodePointForKey:"); +final _objc_msgSend_329 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + CGPoint Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer key)>>() + .asFunction< + CGPoint Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +final _objc_msgSend_329Stret = objc.msgSendStretPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer stret, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer key)>>() + .asFunction< + void Function(ffi.Pointer, ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_decodeSizeForKey_ = objc.registerName("decodeSizeForKey:"); +final _objc_msgSend_330 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + CGSize Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer key)>>() + .asFunction< + CGSize Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +final _objc_msgSend_330Stret = objc.msgSendStretPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer stret, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer key)>>() + .asFunction< + void Function(ffi.Pointer, ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_decodeRectForKey_ = objc.registerName("decodeRectForKey:"); +final _objc_msgSend_331 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + CGRect Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer key)>>() + .asFunction< + CGRect Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +final _objc_msgSend_331Stret = objc.msgSendStretPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer stret, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer key)>>() + .asFunction< + void Function(ffi.Pointer, ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_substringFromIndex_ = objc.registerName("substringFromIndex:"); +final _objc_msgSend_332 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.UnsignedLong from)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, int)>(); +late final _sel_substringToIndex_ = objc.registerName("substringToIndex:"); +late final _sel_substringWithRange_ = objc.registerName("substringWithRange:"); +final _objc_msgSend_333 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + _NSRange range)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, _NSRange)>(); +late final _sel_getCharacters_range_ = + objc.registerName("getCharacters:range:"); +final _objc_msgSend_334 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer buffer, + _NSRange range)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange)>(); +final _objc_msgSend_335 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer string)>>() + .asFunction< + int Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); + abstract class NSStringCompareOptions { static const int NSCaseInsensitiveSearch = 1; static const int NSLiteralSearch = 2; @@ -51043,6 +16319,410 @@ abstract class NSStringCompareOptions { static const int NSRegularExpressionSearch = 1024; } +late final _sel_compare_options_ = objc.registerName("compare:options:"); +final _objc_msgSend_336 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer string, + ffi.Int32 mask)>>() + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int)>(); +late final _sel_compare_options_range_ = + objc.registerName("compare:options:range:"); +final _objc_msgSend_337 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer string, + ffi.Int32 mask, + _NSRange rangeOfReceiverToCompare)>>() + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + _NSRange)>(); +late final _sel_compare_options_range_locale_ = + objc.registerName("compare:options:range:locale:"); +final _objc_msgSend_338 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer string, + ffi.Int32 mask, + _NSRange rangeOfReceiverToCompare, + ffi.Pointer locale)>>() + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + _NSRange, + ffi.Pointer)>(); +late final _sel_caseInsensitiveCompare_ = + objc.registerName("caseInsensitiveCompare:"); +late final _sel_localizedCompare_ = objc.registerName("localizedCompare:"); +late final _sel_localizedCaseInsensitiveCompare_ = + objc.registerName("localizedCaseInsensitiveCompare:"); +late final _sel_localizedStandardCompare_ = + objc.registerName("localizedStandardCompare:"); +late final _sel_isEqualToString_ = objc.registerName("isEqualToString:"); +late final _sel_hasPrefix_ = objc.registerName("hasPrefix:"); +late final _sel_hasSuffix_ = objc.registerName("hasSuffix:"); +late final _sel_commonPrefixWithString_options_ = + objc.registerName("commonPrefixWithString:options:"); +final _objc_msgSend_339 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer str, + ffi.Int32 mask)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int)>(); +late final _sel_containsString_ = objc.registerName("containsString:"); +late final _sel_localizedCaseInsensitiveContainsString_ = + objc.registerName("localizedCaseInsensitiveContainsString:"); +late final _sel_localizedStandardContainsString_ = + objc.registerName("localizedStandardContainsString:"); +late final _sel_localizedStandardRangeOfString_ = + objc.registerName("localizedStandardRangeOfString:"); +final _objc_msgSend_340 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + _NSRange Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer str)>>() + .asFunction< + _NSRange Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +final _objc_msgSend_340Stret = objc.msgSendStretPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer<_NSRange> stret, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer str)>>() + .asFunction< + void Function(ffi.Pointer<_NSRange>, ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_rangeOfString_ = objc.registerName("rangeOfString:"); +late final _sel_rangeOfString_options_ = + objc.registerName("rangeOfString:options:"); +final _objc_msgSend_341 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + _NSRange Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer searchString, + ffi.Int32 mask)>>() + .asFunction< + _NSRange Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int)>(); +final _objc_msgSend_341Stret = objc.msgSendStretPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer<_NSRange> stret, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer searchString, + ffi.Int32 mask)>>() + .asFunction< + void Function( + ffi.Pointer<_NSRange>, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int)>(); +late final _sel_rangeOfString_options_range_ = + objc.registerName("rangeOfString:options:range:"); +final _objc_msgSend_342 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + _NSRange Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer searchString, + ffi.Int32 mask, + _NSRange rangeOfReceiverToSearch)>>() + .asFunction< + _NSRange Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + _NSRange)>(); +final _objc_msgSend_342Stret = objc.msgSendStretPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer<_NSRange> stret, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer searchString, + ffi.Int32 mask, + _NSRange rangeOfReceiverToSearch)>>() + .asFunction< + void Function( + ffi.Pointer<_NSRange>, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + _NSRange)>(); +late final _sel_rangeOfString_options_range_locale_ = + objc.registerName("rangeOfString:options:range:locale:"); +final _objc_msgSend_343 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + _NSRange Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer searchString, + ffi.Int32 mask, + _NSRange rangeOfReceiverToSearch, + ffi.Pointer locale)>>() + .asFunction< + _NSRange Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + _NSRange, + ffi.Pointer)>(); +final _objc_msgSend_343Stret = objc.msgSendStretPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer<_NSRange> stret, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer searchString, + ffi.Int32 mask, + _NSRange rangeOfReceiverToSearch, + ffi.Pointer locale)>>() + .asFunction< + void Function( + ffi.Pointer<_NSRange>, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + _NSRange, + ffi.Pointer)>(); +late final _sel_rangeOfCharacterFromSet_ = + objc.registerName("rangeOfCharacterFromSet:"); +final _objc_msgSend_344 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + _NSRange Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer searchSet)>>() + .asFunction< + _NSRange Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +final _objc_msgSend_344Stret = objc.msgSendStretPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer<_NSRange> stret, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer searchSet)>>() + .asFunction< + void Function(ffi.Pointer<_NSRange>, ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_rangeOfCharacterFromSet_options_ = + objc.registerName("rangeOfCharacterFromSet:options:"); +final _objc_msgSend_345 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + _NSRange Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer searchSet, + ffi.Int32 mask)>>() + .asFunction< + _NSRange Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int)>(); +final _objc_msgSend_345Stret = objc.msgSendStretPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer<_NSRange> stret, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer searchSet, + ffi.Int32 mask)>>() + .asFunction< + void Function( + ffi.Pointer<_NSRange>, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int)>(); +late final _sel_rangeOfCharacterFromSet_options_range_ = + objc.registerName("rangeOfCharacterFromSet:options:range:"); +final _objc_msgSend_346 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + _NSRange Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer searchSet, + ffi.Int32 mask, + _NSRange rangeOfReceiverToSearch)>>() + .asFunction< + _NSRange Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + _NSRange)>(); +final _objc_msgSend_346Stret = objc.msgSendStretPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer<_NSRange> stret, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer searchSet, + ffi.Int32 mask, + _NSRange rangeOfReceiverToSearch)>>() + .asFunction< + void Function( + ffi.Pointer<_NSRange>, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + _NSRange)>(); +late final _sel_rangeOfComposedCharacterSequenceAtIndex_ = + objc.registerName("rangeOfComposedCharacterSequenceAtIndex:"); +final _objc_msgSend_347 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + _NSRange Function(ffi.Pointer obj, + ffi.Pointer sel, ffi.UnsignedLong index)>>() + .asFunction< + _NSRange Function(ffi.Pointer, + ffi.Pointer, int)>(); +final _objc_msgSend_347Stret = objc.msgSendStretPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer<_NSRange> stret, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.UnsignedLong index)>>() + .asFunction< + void Function(ffi.Pointer<_NSRange>, ffi.Pointer, + ffi.Pointer, int)>(); +late final _sel_rangeOfComposedCharacterSequencesForRange_ = + objc.registerName("rangeOfComposedCharacterSequencesForRange:"); +final _objc_msgSend_348 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + _NSRange Function(ffi.Pointer obj, + ffi.Pointer sel, _NSRange range)>>() + .asFunction< + _NSRange Function(ffi.Pointer, + ffi.Pointer, _NSRange)>(); +final _objc_msgSend_348Stret = objc.msgSendStretPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer<_NSRange> stret, + ffi.Pointer obj, + ffi.Pointer sel, + _NSRange range)>>() + .asFunction< + void Function(ffi.Pointer<_NSRange>, ffi.Pointer, + ffi.Pointer, _NSRange)>(); +late final _sel_stringByAppendingString_ = + objc.registerName("stringByAppendingString:"); +late final _sel_stringByAppendingFormat_ = + objc.registerName("stringByAppendingFormat:"); +late final _sel_uppercaseString = objc.registerName("uppercaseString"); +late final _sel_lowercaseString = objc.registerName("lowercaseString"); +late final _sel_capitalizedString = objc.registerName("capitalizedString"); +late final _sel_localizedUppercaseString = + objc.registerName("localizedUppercaseString"); +late final _sel_localizedLowercaseString = + objc.registerName("localizedLowercaseString"); +late final _sel_localizedCapitalizedString = + objc.registerName("localizedCapitalizedString"); +late final _sel_uppercaseStringWithLocale_ = + objc.registerName("uppercaseStringWithLocale:"); +final _objc_msgSend_349 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer locale)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_lowercaseStringWithLocale_ = + objc.registerName("lowercaseStringWithLocale:"); +late final _sel_capitalizedStringWithLocale_ = + objc.registerName("capitalizedStringWithLocale:"); +late final _sel_getLineStart_end_contentsEnd_forRange_ = + objc.registerName("getLineStart:end:contentsEnd:forRange:"); +final _objc_msgSend_350 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer startPtr, + ffi.Pointer lineEndPtr, + ffi.Pointer contentsEndPtr, + _NSRange range)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange)>(); +late final _sel_lineRangeForRange_ = objc.registerName("lineRangeForRange:"); +late final _sel_getParagraphStart_end_contentsEnd_forRange_ = + objc.registerName("getParagraphStart:end:contentsEnd:forRange:"); +late final _sel_paragraphRangeForRange_ = + objc.registerName("paragraphRangeForRange:"); + abstract class NSStringEnumerationOptions { static const int NSStringEnumerationByLines = 0; static const int NSStringEnumerationByParagraphs = 1; @@ -51057,45 +16737,31 @@ abstract class NSStringEnumerationOptions { } void _ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool_fnPtrTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, - _NSRange arg1, - _NSRange arg2, - ffi.Pointer arg3, -) => + ffi.Pointer block, + ffi.Pointer arg0, + _NSRange arg1, + _NSRange arg2, + ffi.Pointer arg3) => block.ref.target .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer arg0, - _NSRange arg1, - _NSRange arg2, - ffi.Pointer arg3, - )>>() + ffi.Pointer arg0, + _NSRange arg1, + _NSRange arg2, + ffi.Pointer arg3)>>() .asFunction< - void Function( - ffi.Pointer, - _NSRange, - _NSRange, - ffi.Pointer, - )>()(arg0, arg1, arg2, arg3); + void Function(ffi.Pointer, _NSRange, _NSRange, + ffi.Pointer)>()(arg0, arg1, arg2, arg3); final _ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool_closureRegistry = , - _NSRange, - _NSRange, - ffi.Pointer, -)>{}; + void Function(ffi.Pointer, _NSRange, _NSRange, + ffi.Pointer)>{}; int _ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool_registerClosure( - void Function( - ffi.Pointer, - _NSRange, - _NSRange, - ffi.Pointer, - ) fn, -) { + void Function(ffi.Pointer, _NSRange, _NSRange, + ffi.Pointer) + fn) { final id = ++_ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool_closureRegistryIndex; _ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool_closureRegistry[id] = fn; @@ -51103,39 +16769,29 @@ ffi.Pointer } void _ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool_closureTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, - _NSRange arg1, - _NSRange arg2, - ffi.Pointer arg3, -) => + ffi.Pointer block, + ffi.Pointer arg0, + _NSRange arg1, + _NSRange arg2, + ffi.Pointer arg3) => _ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool_closureRegistry[ block.ref.target.address]!(arg0, arg1, arg2, arg3); class ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool._( - ffi.Pointer pointer, - this._lib, { - bool retain = false, - bool release = true, - }) : super(pointer, retain: retain, release: release); - - SwiftLibrary _lib; + ffi.Pointer pointer, + {bool retain = false, + bool release = true}) + : super(pointer, retain: retain, release: release); /// Returns a block that wraps the given raw block pointer. static ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool castFromPointer( - SwiftLibrary lib, - ffi.Pointer pointer, { - bool retain = false, - bool release = false, - }) { - return ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool._( - pointer, - lib, - retain: retain, - release: release, - ); + ffi.Pointer pointer, + {bool retain = false, + bool release = false}) { + return ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool._(pointer, + retain: retain, release: release); } /// Creates a block from a C function pointer. @@ -51144,31 +16800,25 @@ class ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool.fromFunctionPointer( - SwiftLibrary lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - _NSRange arg1, - _NSRange arg2, - ffi.Pointer arg3, - )>> - ptr, - ) : this._( - objc.newBlock( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Pointer< + ffi.NativeFunction< ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - _NSRange, - ffi.Pointer, - )>( - _ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool_fnPtrTrampoline, - ).cast(), - ptr.cast(), - ), - lib); + ffi.Pointer arg0, + _NSRange arg1, + _NSRange arg2, + ffi.Pointer arg3)>> + ptr) + : this._(objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + _NSRange, + ffi.Pointer)>( + _ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool_fnPtrTrampoline) + .cast(), + ptr.cast())); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -51177,36 +16827,21 @@ class ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool.fromFunction( - SwiftLibrary lib, - void Function(NSString?, _NSRange, _NSRange, ffi.Pointer) fn, - ) : this._( - objc.newBlock( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - _NSRange, - ffi.Pointer, - )>( - _ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool_closureTrampoline, - ).cast(), - _ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool_registerClosure(( - ffi.Pointer arg0, - _NSRange arg1, - _NSRange arg2, - ffi.Pointer arg3, - ) => - fn( - arg0.address == 0 - ? null - : NSString._(arg0, lib, retain: true, release: true), - arg1, - arg2, - arg3, - )), - ), - lib); + void Function(NSString?, _NSRange, _NSRange, ffi.Pointer) fn) + : this._(objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + _NSRange, + ffi.Pointer)>( + _ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool_closureTrampoline) + .cast(), + _ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool_registerClosure( + (ffi.Pointer arg0, _NSRange arg1, + _NSRange arg2, ffi.Pointer arg3) => + fn(arg0.address == 0 ? null : NSString._(arg0, retain: true, release: true), arg1, arg2, arg3)))); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -51219,85 +16854,79 @@ class ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool.listener( - SwiftLibrary lib, - void Function(NSString?, _NSRange, _NSRange, ffi.Pointer) fn, - ) : this._( - objc.newBlock( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - _NSRange, - ffi.Pointer, - )>.listener( - _ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool_closureTrampoline, - )..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool_registerClosure(( - ffi.Pointer arg0, - _NSRange arg1, - _NSRange arg2, - ffi.Pointer arg3, - ) => - fn( - arg0.address == 0 - ? null - : NSString._(arg0, lib, retain: true, release: true), - arg1, - arg2, - arg3, - )), - ), - lib); + void Function(NSString?, _NSRange, _NSRange, ffi.Pointer) fn) + : this._(objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + _NSRange, + ffi.Pointer)>.listener( + _ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool_closureTrampoline) + ..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool_registerClosure( + (ffi.Pointer arg0, _NSRange arg1, + _NSRange arg2, ffi.Pointer arg3) => + fn(arg0.address == 0 ? null : NSString._(arg0, retain: true, release: true), arg1, arg2, arg3)))); static ffi.NativeCallable< ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - _NSRange, - ffi.Pointer, - )>? _dartFuncListenerTrampoline; - - void call( - NSString? arg0, - _NSRange arg1, - _NSRange arg2, - ffi.Pointer arg3, - ) => + ffi.Pointer, + ffi.Pointer, + _NSRange, + _NSRange, + ffi.Pointer)>? _dartFuncListenerTrampoline; + + void call(NSString? arg0, _NSRange arg1, _NSRange arg2, + ffi.Pointer arg3) => pointer.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer block, - ffi.Pointer arg0, - _NSRange arg1, - _NSRange arg2, - ffi.Pointer arg3, - )>>() - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - _NSRange, - ffi.Pointer, - )>()(pointer, arg0?.pointer ?? ffi.nullptr, arg1, arg2, arg3); -} - + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer block, + ffi.Pointer arg0, + _NSRange arg1, + _NSRange arg2, + ffi.Pointer arg3)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + _NSRange, + ffi.Pointer)>()( + pointer, arg0?.pointer ?? ffi.nullptr, arg1, arg2, arg3); +} + +late final _sel_enumerateSubstringsInRange_options_usingBlock_ = + objc.registerName("enumerateSubstringsInRange:options:usingBlock:"); +final _objc_msgSend_351 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + _NSRange range, + ffi.Int32 opts, + ffi.Pointer block)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + int, + ffi.Pointer)>(); void _ObjCBlock_ffiVoid_NSString_bool_fnPtrTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Pointer arg1, -) => + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1) => block.ref.target .cast< ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - )>>() + ffi.Void Function(ffi.Pointer arg0, + ffi.Pointer arg1)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer)>()(arg0, arg1); @@ -51305,44 +16934,31 @@ final _ObjCBlock_ffiVoid_NSString_bool_closureRegistry = , ffi.Pointer)>{}; int _ObjCBlock_ffiVoid_NSString_bool_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_ffiVoid_NSString_bool_registerClosure( - void Function(ffi.Pointer, ffi.Pointer) fn, -) { + void Function(ffi.Pointer, ffi.Pointer) fn) { final id = ++_ObjCBlock_ffiVoid_NSString_bool_closureRegistryIndex; _ObjCBlock_ffiVoid_NSString_bool_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } void _ObjCBlock_ffiVoid_NSString_bool_closureTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Pointer arg1, -) => + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1) => _ObjCBlock_ffiVoid_NSString_bool_closureRegistry[block.ref.target.address]!( arg0, arg1); class ObjCBlock_ffiVoid_NSString_bool extends objc.ObjCBlockBase { - ObjCBlock_ffiVoid_NSString_bool._( - ffi.Pointer pointer, - this._lib, { - bool retain = false, - bool release = true, - }) : super(pointer, retain: retain, release: release); - - SwiftLibrary _lib; + ObjCBlock_ffiVoid_NSString_bool._(ffi.Pointer pointer, + {bool retain = false, bool release = true}) + : super(pointer, retain: retain, release: release); /// Returns a block that wraps the given raw block pointer. static ObjCBlock_ffiVoid_NSString_bool castFromPointer( - SwiftLibrary lib, - ffi.Pointer pointer, { - bool retain = false, - bool release = false, - }) { - return ObjCBlock_ffiVoid_NSString_bool._( - pointer, - lib, - retain: retain, - release: release, - ); + ffi.Pointer pointer, + {bool retain = false, + bool release = false}) { + return ObjCBlock_ffiVoid_NSString_bool._(pointer, + retain: retain, release: release); } /// Creates a block from a C function pointer. @@ -51351,26 +16967,22 @@ class ObjCBlock_ffiVoid_NSString_bool extends objc.ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSString_bool.fromFunctionPointer( - SwiftLibrary lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - )>> - ptr, - ) : this._( - objc.newBlock( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(_ObjCBlock_ffiVoid_NSString_bool_fnPtrTrampoline) - .cast(), - ptr.cast(), - ), - lib); + ffi.Pointer< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer arg0, + ffi.Pointer arg1)>> + ptr) + : this._( + objc + .newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>( + _ObjCBlock_ffiVoid_NSString_bool_fnPtrTrampoline) + .cast(), + ptr.cast())); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -51379,24 +16991,19 @@ class ObjCBlock_ffiVoid_NSString_bool extends objc.ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSString_bool.fromFunction( - SwiftLibrary lib, - void Function(NSString, ffi.Pointer) fn, - ) : this._( - objc.newBlock( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(_ObjCBlock_ffiVoid_NSString_bool_closureTrampoline) - .cast(), - _ObjCBlock_ffiVoid_NSString_bool_registerClosure(( - ffi.Pointer arg0, - ffi.Pointer arg1, - ) => - fn(NSString._(arg0, lib, retain: true, release: true), arg1)), - ), - lib); + void Function(NSString, ffi.Pointer) fn) + : this._(objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>( + _ObjCBlock_ffiVoid_NSString_bool_closureTrampoline) + .cast(), + _ObjCBlock_ffiVoid_NSString_bool_registerClosure( + (ffi.Pointer arg0, + ffi.Pointer arg1) => + fn(NSString._(arg0, retain: true, release: true), arg1)))); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -51409,79 +17016,374 @@ class ObjCBlock_ffiVoid_NSString_bool extends objc.ObjCBlockBase { /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. ObjCBlock_ffiVoid_NSString_bool.listener( - SwiftLibrary lib, - void Function(NSString, ffi.Pointer) fn, - ) : this._( - objc.newBlock( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>.listener( - _ObjCBlock_ffiVoid_NSString_bool_closureTrampoline, - )..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSString_bool_registerClosure(( - ffi.Pointer arg0, - ffi.Pointer arg1, - ) => - fn(NSString._(arg0, lib, retain: true, release: true), arg1)), - ), - lib); + void Function(NSString, ffi.Pointer) fn) + : this._(objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>.listener( + _ObjCBlock_ffiVoid_NSString_bool_closureTrampoline) + ..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSString_bool_registerClosure( + (ffi.Pointer arg0, + ffi.Pointer arg1) => + fn(NSString._(arg0, retain: true, release: true), arg1)))); static ffi.NativeCallable< ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>? _dartFuncListenerTrampoline; + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>? _dartFuncListenerTrampoline; void call(NSString arg0, ffi.Pointer arg1) => pointer.ref.invoke .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Pointer arg1, - )>>() + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1)>>() .asFunction< void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>()(pointer, arg0.pointer, arg1); -} + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>()(pointer, arg0.pointer, arg1); +} + +late final _sel_enumerateLinesUsingBlock_ = + objc.registerName("enumerateLinesUsingBlock:"); +final _objc_msgSend_352 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer block)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_UTF8String = objc.registerName("UTF8String"); +late final _sel_fastestEncoding = objc.registerName("fastestEncoding"); +late final _sel_smallestEncoding = objc.registerName("smallestEncoding"); +late final _sel_dataUsingEncoding_allowLossyConversion_ = + objc.registerName("dataUsingEncoding:allowLossyConversion:"); +final _objc_msgSend_353 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.UnsignedLong encoding, + ffi.Bool lossy)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, int, bool)>(); +late final _sel_dataUsingEncoding_ = objc.registerName("dataUsingEncoding:"); +final _objc_msgSend_354 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.UnsignedLong encoding)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, int)>(); +late final _sel_canBeConvertedToEncoding_ = + objc.registerName("canBeConvertedToEncoding:"); +late final _sel_cStringUsingEncoding_ = + objc.registerName("cStringUsingEncoding:"); +late final _sel_getCString_maxLength_encoding_ = + objc.registerName("getCString:maxLength:encoding:"); +final _objc_msgSend_355 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer buffer, + ffi.UnsignedLong maxBufferCount, + ffi.UnsignedLong encoding)>>() + .asFunction< + bool Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer, int, int)>(); abstract class NSStringEncodingConversionOptions { static const int NSStringEncodingConversionAllowLossy = 1; static const int NSStringEncodingConversionExternalRepresentation = 2; } +late final _sel_getBytes_maxLength_usedLength_encoding_options_range_remainingRange_ = + objc.registerName( + "getBytes:maxLength:usedLength:encoding:options:range:remainingRange:"); +final _objc_msgSend_356 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer buffer, + ffi.UnsignedLong maxBufferCount, + ffi.Pointer usedBufferCount, + ffi.UnsignedLong encoding, + ffi.Int32 options, + _NSRange range, + ffi.Pointer<_NSRange> leftover)>>() + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + int, + int, + _NSRange, + ffi.Pointer<_NSRange>)>(); +late final _sel_maximumLengthOfBytesUsingEncoding_ = + objc.registerName("maximumLengthOfBytesUsingEncoding:"); +late final _sel_lengthOfBytesUsingEncoding_ = + objc.registerName("lengthOfBytesUsingEncoding:"); +late final _sel_availableStringEncodings = + objc.registerName("availableStringEncodings"); +final _objc_msgSend_357 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_localizedNameOfStringEncoding_ = + objc.registerName("localizedNameOfStringEncoding:"); +late final _sel_defaultCStringEncoding = + objc.registerName("defaultCStringEncoding"); +late final _sel_decomposedStringWithCanonicalMapping = + objc.registerName("decomposedStringWithCanonicalMapping"); +late final _sel_precomposedStringWithCanonicalMapping = + objc.registerName("precomposedStringWithCanonicalMapping"); +late final _sel_decomposedStringWithCompatibilityMapping = + objc.registerName("decomposedStringWithCompatibilityMapping"); +late final _sel_precomposedStringWithCompatibilityMapping = + objc.registerName("precomposedStringWithCompatibilityMapping"); +late final _sel_componentsSeparatedByString_ = + objc.registerName("componentsSeparatedByString:"); +final _objc_msgSend_358 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer separator)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_componentsSeparatedByCharactersInSet_ = + objc.registerName("componentsSeparatedByCharactersInSet:"); +final _objc_msgSend_359 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer separator)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_stringByTrimmingCharactersInSet_ = + objc.registerName("stringByTrimmingCharactersInSet:"); +final _objc_msgSend_360 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer set)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_stringByPaddingToLength_withString_startingAtIndex_ = + objc.registerName("stringByPaddingToLength:withString:startingAtIndex:"); +final _objc_msgSend_361 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.UnsignedLong newLength, + ffi.Pointer padString, + ffi.UnsignedLong padIndex)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + int)>(); +late final _sel_stringByFoldingWithOptions_locale_ = + objc.registerName("stringByFoldingWithOptions:locale:"); +final _objc_msgSend_362 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Int32 options, + ffi.Pointer locale)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer)>(); +late final _sel_stringByReplacingOccurrencesOfString_withString_options_range_ = + objc.registerName( + "stringByReplacingOccurrencesOfString:withString:options:range:"); +final _objc_msgSend_363 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer target, + ffi.Pointer replacement, + ffi.Int32 options, + _NSRange searchRange)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + _NSRange)>(); +late final _sel_stringByReplacingOccurrencesOfString_withString_ = + objc.registerName("stringByReplacingOccurrencesOfString:withString:"); +final _objc_msgSend_364 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer target, + ffi.Pointer replacement)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_stringByReplacingCharactersInRange_withString_ = + objc.registerName("stringByReplacingCharactersInRange:withString:"); +final _objc_msgSend_365 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + _NSRange range, + ffi.Pointer replacement)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer)>(); +late final _sel_stringByApplyingTransform_reverse_ = + objc.registerName("stringByApplyingTransform:reverse:"); +final _objc_msgSend_366 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer transform, + ffi.Bool reverse)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool)>(); +late final _sel_writeToURL_atomically_encoding_error_ = + objc.registerName("writeToURL:atomically:encoding:error:"); +final _objc_msgSend_367 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer url, + ffi.Bool useAuxiliaryFile, + ffi.UnsignedLong enc, + ffi.Pointer> error)>>() + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool, + int, + ffi.Pointer>)>(); +late final _sel_writeToFile_atomically_encoding_error_ = + objc.registerName("writeToFile:atomically:encoding:error:"); +final _objc_msgSend_368 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer path, + ffi.Bool useAuxiliaryFile, + ffi.UnsignedLong enc, + ffi.Pointer> error)>>() + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool, + int, + ffi.Pointer>)>(); +late final _sel_hash = objc.registerName("hash"); +late final _sel_initWithCharactersNoCopy_length_freeWhenDone_ = + objc.registerName("initWithCharactersNoCopy:length:freeWhenDone:"); +final _objc_msgSend_369 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer characters, + ffi.UnsignedLong length, + ffi.Bool freeBuffer)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + bool)>(); void _ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong_fnPtrTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, - int arg1, -) => + ffi.Pointer block, + ffi.Pointer arg0, + int arg1) => block.ref.target - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.UnsignedLong arg1, - )>>() - .asFunction, int)>()( - arg0, - arg1, - ); + .cast< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer arg0, + ffi.UnsignedLong arg1)>>() + .asFunction, int)>()( + arg0, arg1); final _ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong_closureRegistry = , int)>{}; int _ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong_registerClosure( - void Function(ffi.Pointer, int) fn, -) { + void Function(ffi.Pointer, int) fn) { final id = ++_ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong_closureRegistryIndex; _ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong_closureRegistry[id] = fn; @@ -51489,37 +17391,27 @@ ffi.Pointer } void _ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong_closureTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, - int arg1, -) => + ffi.Pointer block, + ffi.Pointer arg0, + int arg1) => _ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong_closureRegistry[ block.ref.target.address]!(arg0, arg1); class ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong._( - ffi.Pointer pointer, - this._lib, { - bool retain = false, - bool release = true, - }) : super(pointer, retain: retain, release: release); - - SwiftLibrary _lib; + ffi.Pointer pointer, + {bool retain = false, + bool release = true}) + : super(pointer, retain: retain, release: release); /// Returns a block that wraps the given raw block pointer. static ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong castFromPointer( - SwiftLibrary lib, - ffi.Pointer pointer, { - bool retain = false, - bool release = false, - }) { - return ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong._( - pointer, - lib, - retain: retain, - release: release, - ); + ffi.Pointer pointer, + {bool retain = false, + bool release = false}) { + return ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong._(pointer, + retain: retain, release: release); } /// Creates a block from a C function pointer. @@ -51528,27 +17420,20 @@ class ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong.fromFunctionPointer( - SwiftLibrary lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.UnsignedLong arg1, - )>> - ptr, - ) : this._( - objc.newBlock( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - )>( - _ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong_fnPtrTrampoline, - ).cast(), - ptr.cast(), - ), - lib); + ffi + .Pointer< + ffi + .NativeFunction< + ffi.Void Function(ffi.Pointer arg0, + ffi.UnsignedLong arg1)>> + ptr) + : this._(objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function(ffi.Pointer, + ffi.Pointer, ffi.UnsignedLong)>( + _ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong_fnPtrTrampoline) + .cast(), + ptr.cast())); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -51557,26 +17442,16 @@ class ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong.fromFunction( - SwiftLibrary lib, - void Function(ffi.Pointer, int) fn, - ) : this._( - objc.newBlock( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - )>( - _ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong_closureTrampoline, - ).cast(), - _ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong_registerClosure( - ( - ffi.Pointer arg0, - int arg1, - ) => - fn(arg0, arg1)), - ), - lib); + void Function(ffi.Pointer, int) fn) + : this._(objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function(ffi.Pointer, + ffi.Pointer, ffi.UnsignedLong)>( + _ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong_closureTrampoline) + .cast(), + _ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong_registerClosure( + (ffi.Pointer arg0, int arg1) => + fn(arg0, arg1)))); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -51589,50 +17464,596 @@ class ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong.listener( - SwiftLibrary lib, - void Function(ffi.Pointer, int) fn, - ) : this._( - objc.newBlock( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - )>.listener( - _ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong_closureTrampoline, - )..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong_registerClosure( - ( - ffi.Pointer arg0, - int arg1, - ) => - fn(arg0, arg1)), - ), - lib); + void Function(ffi.Pointer, int) fn) + : this._(objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong)>.listener( + _ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong_closureTrampoline) + ..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong_registerClosure( + (ffi.Pointer arg0, int arg1) => + fn(arg0, arg1)))); static ffi.NativeCallable< ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - )>? _dartFuncListenerTrampoline; + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong)>? _dartFuncListenerTrampoline; void call(ffi.Pointer arg0, int arg1) => pointer.ref.invoke .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.UnsignedLong arg1, - )>>() + ffi.Pointer block, + ffi.Pointer arg0, + ffi.UnsignedLong arg1)>>() .asFunction< - void Function( - ffi.Pointer, + void Function(ffi.Pointer, + ffi.Pointer, int)>()(pointer, arg0, arg1); +} + +late final _sel_initWithCharactersNoCopy_length_deallocator_ = + objc.registerName("initWithCharactersNoCopy:length:deallocator:"); +final _objc_msgSend_370 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer chars, + ffi.UnsignedLong len, + ffi.Pointer deallocator)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, ffi.Pointer, int, - )>()(pointer, arg0, arg1); -} + ffi.Pointer)>(); +late final _sel_initWithCharacters_length_ = + objc.registerName("initWithCharacters:length:"); +final _objc_msgSend_371 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer characters, + ffi.UnsignedLong length)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int)>(); +late final _sel_initWithUTF8String_ = objc.registerName("initWithUTF8String:"); +final _objc_msgSend_372 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer nullTerminatedCString)>>() + .asFunction< + instancetype Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_initWithFormat_ = objc.registerName("initWithFormat:"); +late final _sel_initWithFormat_arguments_ = + objc.registerName("initWithFormat:arguments:"); +final _objc_msgSend_373 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer format, + ffi.Pointer<__va_list_tag> argList)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<__va_list_tag>)>(); +late final _sel_initWithFormat_locale_ = + objc.registerName("initWithFormat:locale:"); +final _objc_msgSend_374 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer format, + ffi.Pointer locale)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_initWithFormat_locale_arguments_ = + objc.registerName("initWithFormat:locale:arguments:"); +final _objc_msgSend_375 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer format, + ffi.Pointer locale, + ffi.Pointer<__va_list_tag> argList)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<__va_list_tag>)>(); +late final _sel_initWithValidatedFormat_validFormatSpecifiers_error_ = + objc.registerName("initWithValidatedFormat:validFormatSpecifiers:error:"); +final _objc_msgSend_376 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer format, + ffi.Pointer validFormatSpecifiers, + ffi.Pointer> error)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>(); +late final _sel_initWithValidatedFormat_validFormatSpecifiers_locale_error_ = + objc.registerName( + "initWithValidatedFormat:validFormatSpecifiers:locale:error:"); +final _objc_msgSend_377 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer format, + ffi.Pointer validFormatSpecifiers, + ffi.Pointer locale, + ffi.Pointer> error)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>(); +late final _sel_initWithValidatedFormat_validFormatSpecifiers_arguments_error_ = + objc.registerName( + "initWithValidatedFormat:validFormatSpecifiers:arguments:error:"); +final _objc_msgSend_378 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer format, + ffi.Pointer validFormatSpecifiers, + ffi.Pointer<__va_list_tag> argList, + ffi.Pointer> error)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<__va_list_tag>, + ffi.Pointer>)>(); +late final _sel_initWithValidatedFormat_validFormatSpecifiers_locale_arguments_error_ = + objc.registerName( + "initWithValidatedFormat:validFormatSpecifiers:locale:arguments:error:"); +final _objc_msgSend_379 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer format, + ffi.Pointer validFormatSpecifiers, + ffi.Pointer locale, + ffi.Pointer<__va_list_tag> argList, + ffi.Pointer> error)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<__va_list_tag>, + ffi.Pointer>)>(); +late final _sel_initWithData_encoding_ = + objc.registerName("initWithData:encoding:"); +final _objc_msgSend_380 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer data, + ffi.UnsignedLong encoding)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int)>(); +late final _sel_initWithBytes_length_encoding_ = + objc.registerName("initWithBytes:length:encoding:"); +final _objc_msgSend_381 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer bytes, + ffi.UnsignedLong len, + ffi.UnsignedLong encoding)>>() + .asFunction< + instancetype Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer, int, int)>(); +late final _sel_initWithBytesNoCopy_length_encoding_freeWhenDone_ = + objc.registerName("initWithBytesNoCopy:length:encoding:freeWhenDone:"); +final _objc_msgSend_382 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer bytes, + ffi.UnsignedLong len, + ffi.UnsignedLong encoding, + ffi.Bool freeBuffer)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + int, + bool)>(); +late final _sel_initWithBytesNoCopy_length_encoding_deallocator_ = + objc.registerName("initWithBytesNoCopy:length:encoding:deallocator:"); +final _objc_msgSend_383 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer bytes, + ffi.UnsignedLong len, + ffi.UnsignedLong encoding, + ffi.Pointer deallocator)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + int, + ffi.Pointer)>(); +late final _sel_string = objc.registerName("string"); +late final _sel_stringWithString_ = objc.registerName("stringWithString:"); +late final _sel_stringWithCharacters_length_ = + objc.registerName("stringWithCharacters:length:"); +late final _sel_stringWithUTF8String_ = + objc.registerName("stringWithUTF8String:"); +late final _sel_stringWithFormat_ = objc.registerName("stringWithFormat:"); +late final _sel_localizedStringWithFormat_ = + objc.registerName("localizedStringWithFormat:"); +late final _sel_stringWithValidatedFormat_validFormatSpecifiers_error_ = + objc.registerName("stringWithValidatedFormat:validFormatSpecifiers:error:"); +late final _sel_localizedStringWithValidatedFormat_validFormatSpecifiers_error_ = + objc.registerName( + "localizedStringWithValidatedFormat:validFormatSpecifiers:error:"); +late final _sel_initWithCString_encoding_ = + objc.registerName("initWithCString:encoding:"); +final _objc_msgSend_384 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer nullTerminatedCString, + ffi.UnsignedLong encoding)>>() + .asFunction< + instancetype Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer, int)>(); +late final _sel_stringWithCString_encoding_ = + objc.registerName("stringWithCString:encoding:"); +late final _sel_initWithContentsOfURL_encoding_error_ = + objc.registerName("initWithContentsOfURL:encoding:error:"); +final _objc_msgSend_385 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer url, + ffi.UnsignedLong enc, + ffi.Pointer> error)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer>)>(); +late final _sel_initWithContentsOfFile_encoding_error_ = + objc.registerName("initWithContentsOfFile:encoding:error:"); +final _objc_msgSend_386 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer path, + ffi.UnsignedLong enc, + ffi.Pointer> error)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer>)>(); +late final _sel_stringWithContentsOfURL_encoding_error_ = + objc.registerName("stringWithContentsOfURL:encoding:error:"); +late final _sel_stringWithContentsOfFile_encoding_error_ = + objc.registerName("stringWithContentsOfFile:encoding:error:"); +late final _sel_initWithContentsOfURL_usedEncoding_error_ = + objc.registerName("initWithContentsOfURL:usedEncoding:error:"); +final _objc_msgSend_387 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer url, + ffi.Pointer enc, + ffi.Pointer> error)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>(); +late final _sel_initWithContentsOfFile_usedEncoding_error_ = + objc.registerName("initWithContentsOfFile:usedEncoding:error:"); +final _objc_msgSend_388 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer path, + ffi.Pointer enc, + ffi.Pointer> error)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>(); +late final _sel_stringWithContentsOfURL_usedEncoding_error_ = + objc.registerName("stringWithContentsOfURL:usedEncoding:error:"); +late final _sel_stringWithContentsOfFile_usedEncoding_error_ = + objc.registerName("stringWithContentsOfFile:usedEncoding:error:"); +late final _sel_stringEncodingForData_encodingOptions_convertedString_usedLossyConversion_ = + objc.registerName( + "stringEncodingForData:encodingOptions:convertedString:usedLossyConversion:"); +final _objc_msgSend_389 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer data, + ffi.Pointer opts, + ffi.Pointer> string, + ffi.Pointer usedLossyConversion)>>() + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer)>(); +late final _sel_propertyList = objc.registerName("propertyList"); +late final _sel_propertyListFromStringsFileFormat = + objc.registerName("propertyListFromStringsFileFormat"); +final _objc_msgSend_390 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_cString = objc.registerName("cString"); +late final _sel_lossyCString = objc.registerName("lossyCString"); +late final _sel_cStringLength = objc.registerName("cStringLength"); +late final _sel_getCString_ = objc.registerName("getCString:"); +late final _sel_getCString_maxLength_ = + objc.registerName("getCString:maxLength:"); +final _objc_msgSend_391 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer bytes, + ffi.UnsignedLong maxLength)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer, int)>(); +late final _sel_getCString_maxLength_range_remainingRange_ = + objc.registerName("getCString:maxLength:range:remainingRange:"); +final _objc_msgSend_392 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer bytes, + ffi.UnsignedLong maxLength, + _NSRange aRange, + ffi.Pointer<_NSRange> leftoverRange)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + _NSRange, + ffi.Pointer<_NSRange>)>(); +late final _sel_stringWithContentsOfFile_ = + objc.registerName("stringWithContentsOfFile:"); +late final _sel_stringWithContentsOfURL_ = + objc.registerName("stringWithContentsOfURL:"); +late final _sel_initWithCStringNoCopy_length_freeWhenDone_ = + objc.registerName("initWithCStringNoCopy:length:freeWhenDone:"); +final _objc_msgSend_393 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer bytes, + ffi.UnsignedLong length, + ffi.Bool freeBuffer)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + bool)>(); +late final _sel_initWithCString_length_ = + objc.registerName("initWithCString:length:"); +late final _sel_initWithCString_ = objc.registerName("initWithCString:"); +late final _sel_stringWithCString_length_ = + objc.registerName("stringWithCString:length:"); +late final _sel_stringWithCString_ = objc.registerName("stringWithCString:"); +late final _sel_getCharacters_ = objc.registerName("getCharacters:"); +final _objc_msgSend_394 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer buffer)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_variantFittingPresentationWidth_ = + objc.registerName("variantFittingPresentationWidth:"); +final _objc_msgSend_395 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Long width)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, int)>(); +late final _sel_pathWithComponents_ = objc.registerName("pathWithComponents:"); +final _objc_msgSend_396 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer components)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_isAbsolutePath = objc.registerName("isAbsolutePath"); +late final _sel_stringByDeletingLastPathComponent = + objc.registerName("stringByDeletingLastPathComponent"); +late final _sel_stringByAppendingPathComponent_ = + objc.registerName("stringByAppendingPathComponent:"); +late final _sel_stringByDeletingPathExtension = + objc.registerName("stringByDeletingPathExtension"); +late final _sel_stringByAppendingPathExtension_ = + objc.registerName("stringByAppendingPathExtension:"); +late final _sel_stringByAbbreviatingWithTildeInPath = + objc.registerName("stringByAbbreviatingWithTildeInPath"); +late final _sel_stringByExpandingTildeInPath = + objc.registerName("stringByExpandingTildeInPath"); +late final _sel_stringByStandardizingPath = + objc.registerName("stringByStandardizingPath"); +late final _sel_stringByResolvingSymlinksInPath = + objc.registerName("stringByResolvingSymlinksInPath"); +late final _sel_stringsByAppendingPaths_ = + objc.registerName("stringsByAppendingPaths:"); +late final _sel_completePathIntoString_caseSensitive_matchesIntoArray_filterTypes_ = + objc.registerName( + "completePathIntoString:caseSensitive:matchesIntoArray:filterTypes:"); +final _objc_msgSend_397 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer> outputName, + ffi.Bool flag, + ffi.Pointer> outputArray, + ffi.Pointer filterTypes)>>() + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + bool, + ffi.Pointer>, + ffi.Pointer)>(); +late final _sel_stringByAddingPercentEncodingWithAllowedCharacters_ = + objc.registerName("stringByAddingPercentEncodingWithAllowedCharacters:"); +final _objc_msgSend_398 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer allowedCharacters)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_stringByRemovingPercentEncoding = + objc.registerName("stringByRemovingPercentEncoding"); +late final _sel_stringByAddingPercentEscapesUsingEncoding_ = + objc.registerName("stringByAddingPercentEscapesUsingEncoding:"); +final _objc_msgSend_399 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.UnsignedLong enc)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, int)>(); +late final _sel_stringByReplacingPercentEscapesUsingEncoding_ = + objc.registerName("stringByReplacingPercentEscapesUsingEncoding:"); abstract class NSLinguisticTaggerOptions { static const int NSLinguisticTaggerOmitWords = 1; @@ -51643,279 +18064,313 @@ abstract class NSLinguisticTaggerOptions { } class NSOrthography extends NSObject { - NSOrthography._( - ffi.Pointer pointer, - SwiftLibrary lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSOrthography._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSOrthography] that points to the same underlying object as [other]. - static NSOrthography castFrom( - SwiftLibrary lib, - T other, - ) { - return NSOrthography._(other.pointer, lib, retain: true, release: true); + static NSOrthography castFrom(T other) { + return NSOrthography._(other.pointer, retain: true, release: true); } /// Returns a [NSOrthography] that wraps the given raw object pointer. - static NSOrthography castFromPointer( - SwiftLibrary lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSOrthography._(other, lib, retain: retain, release: release); + static NSOrthography castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSOrthography._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSOrthography]. - static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSOrthography1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0( + obj.pointer, _sel_isKindOfClass_, _class_NSOrthography); } NSString get dominantScript { - final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_dominantScript1); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_dominantScript); + return NSString._(_ret, retain: true, release: true); } NSDictionary get languageMap { - final _ret = _lib._objc_msgSend_181(this.pointer, _lib._sel_languageMap1); - return NSDictionary._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_181(this.pointer, _sel_languageMap); + return NSDictionary._(_ret, retain: true, release: true); } NSOrthography initWithDominantScript_languageMap_( - NSString script, - NSDictionary map, - ) { - final _ret = _lib._objc_msgSend_400( - this.pointer, - _lib._sel_initWithDominantScript_languageMap_1, - script.pointer, - map.pointer, - ); - return NSOrthography._(_ret, _lib, retain: true, release: true); + NSString script, NSDictionary map) { + final _ret = _objc_msgSend_400(this.pointer, + _sel_initWithDominantScript_languageMap_, script.pointer, map.pointer); + return NSOrthography._(_ret, retain: true, release: true); } NSOrthography? initWithCoder_(NSCoder coder) { - final _ret = _lib._objc_msgSend_47( - this.pointer, - _lib._sel_initWithCoder_1, - coder.pointer, - ); + final _ret = + _objc_msgSend_47(this.pointer, _sel_initWithCoder_, coder.pointer); return _ret.address == 0 ? null - : NSOrthography._(_ret, _lib, retain: true, release: true); + : NSOrthography._(_ret, retain: true, release: true); } NSArray? languagesForScript_(NSString script) { - final _ret = _lib._objc_msgSend_132( - this.pointer, - _lib._sel_languagesForScript_1, - script.pointer, - ); + final _ret = _objc_msgSend_132( + this.pointer, _sel_languagesForScript_, script.pointer); return _ret.address == 0 ? null - : NSArray._(_ret, _lib, retain: true, release: true); + : NSArray._(_ret, retain: true, release: true); } NSString? dominantLanguageForScript_(NSString script) { - final _ret = _lib._objc_msgSend_186( - this.pointer, - _lib._sel_dominantLanguageForScript_1, - script.pointer, - ); + final _ret = _objc_msgSend_186( + this.pointer, _sel_dominantLanguageForScript_, script.pointer); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } NSString get dominantLanguage { - final _ret = _lib._objc_msgSend_21( - this.pointer, - _lib._sel_dominantLanguage1, - ); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_dominantLanguage); + return NSString._(_ret, retain: true, release: true); } NSArray get allScripts { - final _ret = _lib._objc_msgSend_85(this.pointer, _lib._sel_allScripts1); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_85(this.pointer, _sel_allScripts); + return NSArray._(_ret, retain: true, release: true); } NSArray get allLanguages { - final _ret = _lib._objc_msgSend_85(this.pointer, _lib._sel_allLanguages1); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_85(this.pointer, _sel_allLanguages); + return NSArray._(_ret, retain: true, release: true); } - static NSOrthography defaultOrthographyForLanguage_( - SwiftLibrary _lib, - NSString language, - ) { - final _ret = _lib._objc_msgSend_31( - _lib._class_NSOrthography1, - _lib._sel_defaultOrthographyForLanguage_1, - language.pointer, - ); - return NSOrthography._(_ret, _lib, retain: true, release: true); + static NSOrthography defaultOrthographyForLanguage_(NSString language) { + final _ret = _objc_msgSend_31(_class_NSOrthography, + _sel_defaultOrthographyForLanguage_, language.pointer); + return NSOrthography._(_ret, retain: true, release: true); } static NSOrthography orthographyWithDominantScript_languageMap_( - SwiftLibrary _lib, - NSString script, - NSDictionary map, - ) { - final _ret = _lib._objc_msgSend_400( - _lib._class_NSOrthography1, - _lib._sel_orthographyWithDominantScript_languageMap_1, - script.pointer, - map.pointer, - ); - return NSOrthography._(_ret, _lib, retain: true, release: true); + NSString script, NSDictionary map) { + final _ret = _objc_msgSend_400( + _class_NSOrthography, + _sel_orthographyWithDominantScript_languageMap_, + script.pointer, + map.pointer); + return NSOrthography._(_ret, retain: true, release: true); } @override NSOrthography init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSOrthography._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSOrthography._(_ret, retain: true, release: true); } - static NSOrthography new1(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSOrthography1, - _lib._sel_new1, - ); - return NSOrthography._(_ret, _lib, retain: false, release: true); + static NSOrthography new1() { + final _ret = _objc_msgSend_2(_class_NSOrthography, _sel_new); + return NSOrthography._(_ret, retain: false, release: true); } - static NSOrthography allocWithZone_( - SwiftLibrary _lib, - ffi.Pointer<_NSZone> zone, - ) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSOrthography1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSOrthography._(_ret, _lib, retain: false, release: true); + static NSOrthography allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = + _objc_msgSend_3(_class_NSOrthography, _sel_allocWithZone_, zone); + return NSOrthography._(_ret, retain: false, release: true); } - static NSOrthography alloc(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSOrthography1, - _lib._sel_alloc1, - ); - return NSOrthography._(_ret, _lib, retain: false, release: true); + static NSOrthography alloc() { + final _ret = _objc_msgSend_2(_class_NSOrthography, _sel_alloc); + return NSOrthography._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSOrthography1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSOrthography1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSOrthography1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSOrthography1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSOrthography1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSOrthography1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSOrthography, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); } - static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSOrthography1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSOrthography1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSOrthography1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSOrthography, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); + } + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSOrthography, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSOrthography, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSOrthography, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); } -} + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSOrthography, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); + } + + static void setKeys_triggerChangeNotificationsForDependentKey_( + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSOrthography, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = _objc_msgSend_85( + _class_NSOrthography, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = + _objc_msgSend_2(_class_NSOrthography, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); + } +} + +late final _class_NSOrthography = objc.getClass("NSOrthography"); +late final _sel_dominantScript = objc.registerName("dominantScript"); +late final _sel_languageMap = objc.registerName("languageMap"); +late final _sel_initWithDominantScript_languageMap_ = + objc.registerName("initWithDominantScript:languageMap:"); +final _objc_msgSend_400 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer script, + ffi.Pointer map)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_languagesForScript_ = objc.registerName("languagesForScript:"); +late final _sel_dominantLanguageForScript_ = + objc.registerName("dominantLanguageForScript:"); +late final _sel_dominantLanguage = objc.registerName("dominantLanguage"); +late final _sel_allScripts = objc.registerName("allScripts"); +late final _sel_allLanguages = objc.registerName("allLanguages"); +late final _sel_defaultOrthographyForLanguage_ = + objc.registerName("defaultOrthographyForLanguage:"); +late final _sel_orthographyWithDominantScript_languageMap_ = + objc.registerName("orthographyWithDominantScript:languageMap:"); +late final _sel_linguisticTagsInRange_scheme_options_orthography_tokenRanges_ = + objc.registerName( + "linguisticTagsInRange:scheme:options:orthography:tokenRanges:"); +final _objc_msgSend_401 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + _NSRange range, + ffi.Pointer scheme, + ffi.Int32 options, + ffi.Pointer orthography, + ffi.Pointer> tokenRanges)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + int, + ffi.Pointer, + ffi.Pointer>)>(); +late final _sel_enumerateLinguisticTagsInRange_scheme_options_orthography_usingBlock_ = + objc.registerName( + "enumerateLinguisticTagsInRange:scheme:options:orthography:usingBlock:"); +final _objc_msgSend_402 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + _NSRange range, + ffi.Pointer scheme, + ffi.Int32 options, + ffi.Pointer orthography, + ffi.Pointer block)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + int, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_anyObject = objc.registerName("anyObject"); +late final _sel_intersectsSet_ = objc.registerName("intersectsSet:"); +final _objc_msgSend_403 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer otherSet)>>() + .asFunction< + bool Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_isEqualToSet_ = objc.registerName("isEqualToSet:"); +late final _sel_isSubsetOfSet_ = objc.registerName("isSubsetOfSet:"); +late final _sel_setByAddingObject_ = objc.registerName("setByAddingObject:"); +final _objc_msgSend_404 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer anObject)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_setByAddingObjectsFromSet_ = + objc.registerName("setByAddingObjectsFromSet:"); +final _objc_msgSend_405 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer other)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_setByAddingObjectsFromArray_ = + objc.registerName("setByAddingObjectsFromArray:"); +final _objc_msgSend_406 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer other)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); void _ObjCBlock_ffiVoid_objcObjCObject_bool_fnPtrTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Pointer arg1, -) => + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1) => block.ref.target .cast< ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - )>>() + ffi.Void Function(ffi.Pointer arg0, + ffi.Pointer arg1)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer)>()(arg0, arg1); @@ -51923,44 +18378,31 @@ final _ObjCBlock_ffiVoid_objcObjCObject_bool_closureRegistry = , ffi.Pointer)>{}; int _ObjCBlock_ffiVoid_objcObjCObject_bool_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_ffiVoid_objcObjCObject_bool_registerClosure( - void Function(ffi.Pointer, ffi.Pointer) fn, -) { + void Function(ffi.Pointer, ffi.Pointer) fn) { final id = ++_ObjCBlock_ffiVoid_objcObjCObject_bool_closureRegistryIndex; _ObjCBlock_ffiVoid_objcObjCObject_bool_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } void _ObjCBlock_ffiVoid_objcObjCObject_bool_closureTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Pointer arg1, -) => + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1) => _ObjCBlock_ffiVoid_objcObjCObject_bool_closureRegistry[ block.ref.target.address]!(arg0, arg1); class ObjCBlock_ffiVoid_objcObjCObject_bool extends objc.ObjCBlockBase { - ObjCBlock_ffiVoid_objcObjCObject_bool._( - ffi.Pointer pointer, - this._lib, { - bool retain = false, - bool release = true, - }) : super(pointer, retain: retain, release: release); - - SwiftLibrary _lib; + ObjCBlock_ffiVoid_objcObjCObject_bool._(ffi.Pointer pointer, + {bool retain = false, bool release = true}) + : super(pointer, retain: retain, release: release); /// Returns a block that wraps the given raw block pointer. static ObjCBlock_ffiVoid_objcObjCObject_bool castFromPointer( - SwiftLibrary lib, - ffi.Pointer pointer, { - bool retain = false, - bool release = false, - }) { - return ObjCBlock_ffiVoid_objcObjCObject_bool._( - pointer, - lib, - retain: retain, - release: release, - ); + ffi.Pointer pointer, + {bool retain = false, + bool release = false}) { + return ObjCBlock_ffiVoid_objcObjCObject_bool._(pointer, + retain: retain, release: release); } /// Creates a block from a C function pointer. @@ -51969,26 +18411,21 @@ class ObjCBlock_ffiVoid_objcObjCObject_bool extends objc.ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_objcObjCObject_bool.fromFunctionPointer( - SwiftLibrary lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - )>> - ptr, - ) : this._( + ffi.Pointer< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer arg0, + ffi.Pointer arg1)>> + ptr) + : this._( objc.newBlock( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(_ObjCBlock_ffiVoid_objcObjCObject_bool_fnPtrTrampoline) - .cast(), - ptr.cast(), - ), - lib); + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>( + _ObjCBlock_ffiVoid_objcObjCObject_bool_fnPtrTrampoline) + .cast(), + ptr.cast())); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -51997,25 +18434,19 @@ class ObjCBlock_ffiVoid_objcObjCObject_bool extends objc.ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_objcObjCObject_bool.fromFunction( - SwiftLibrary lib, - void Function(NSObject, ffi.Pointer) fn, - ) : this._( - objc.newBlock( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( + void Function(NSObject, ffi.Pointer) fn) + : this._(objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( ffi.Pointer, ffi.Pointer, - ffi.Pointer, - )>( - _ObjCBlock_ffiVoid_objcObjCObject_bool_closureTrampoline) - .cast(), - _ObjCBlock_ffiVoid_objcObjCObject_bool_registerClosure(( - ffi.Pointer arg0, - ffi.Pointer arg1, - ) => - fn(NSObject._(arg0, lib, retain: true, release: true), arg1)), - ), - lib); + ffi.Pointer)>( + _ObjCBlock_ffiVoid_objcObjCObject_bool_closureTrampoline) + .cast(), + _ObjCBlock_ffiVoid_objcObjCObject_bool_registerClosure( + (ffi.Pointer arg0, + ffi.Pointer arg1) => + fn(NSObject._(arg0, retain: true, release: true), arg1)))); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -52028,62 +18459,74 @@ class ObjCBlock_ffiVoid_objcObjCObject_bool extends objc.ObjCBlockBase { /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. ObjCBlock_ffiVoid_objcObjCObject_bool.listener( - SwiftLibrary lib, - void Function(NSObject, ffi.Pointer) fn, - ) : this._( - objc.newBlock( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>.listener( - _ObjCBlock_ffiVoid_objcObjCObject_bool_closureTrampoline, - )..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_objcObjCObject_bool_registerClosure(( - ffi.Pointer arg0, - ffi.Pointer arg1, - ) => - fn(NSObject._(arg0, lib, retain: true, release: true), arg1)), - ), - lib); + void Function(NSObject, ffi.Pointer) fn) + : this._(objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>.listener( + _ObjCBlock_ffiVoid_objcObjCObject_bool_closureTrampoline) + ..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_objcObjCObject_bool_registerClosure( + (ffi.Pointer arg0, + ffi.Pointer arg1) => + fn(NSObject._(arg0, retain: true, release: true), arg1)))); static ffi.NativeCallable< ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>? _dartFuncListenerTrampoline; + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>? _dartFuncListenerTrampoline; void call(NSObject arg0, ffi.Pointer arg1) => pointer.ref.invoke .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Pointer arg1, - )>>() + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1)>>() .asFunction< void Function( - ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>()(pointer, arg0.pointer, arg1); +} + +final _objc_msgSend_407 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer block)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +final _objc_msgSend_408 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Int32 opts, + ffi.Pointer block)>>() + .asFunction< + void Function( ffi.Pointer, - ffi.Pointer, - )>()(pointer, arg0.pointer, arg1); -} - + ffi.Pointer, + int, + ffi.Pointer)>(); bool _ObjCBlock_bool_objcObjCObject_bool_fnPtrTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Pointer arg1, -) => + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1) => block.ref.target .cast< ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - )>>() + ffi.Bool Function(ffi.Pointer arg0, + ffi.Pointer arg1)>>() .asFunction< bool Function(ffi.Pointer, ffi.Pointer)>()(arg0, arg1); @@ -52091,44 +18534,31 @@ final _ObjCBlock_bool_objcObjCObject_bool_closureRegistry = , ffi.Pointer)>{}; int _ObjCBlock_bool_objcObjCObject_bool_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_bool_objcObjCObject_bool_registerClosure( - bool Function(ffi.Pointer, ffi.Pointer) fn, -) { + bool Function(ffi.Pointer, ffi.Pointer) fn) { final id = ++_ObjCBlock_bool_objcObjCObject_bool_closureRegistryIndex; _ObjCBlock_bool_objcObjCObject_bool_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } bool _ObjCBlock_bool_objcObjCObject_bool_closureTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Pointer arg1, -) => + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1) => _ObjCBlock_bool_objcObjCObject_bool_closureRegistry[ block.ref.target.address]!(arg0, arg1); class ObjCBlock_bool_objcObjCObject_bool extends objc.ObjCBlockBase { - ObjCBlock_bool_objcObjCObject_bool._( - ffi.Pointer pointer, - this._lib, { - bool retain = false, - bool release = true, - }) : super(pointer, retain: retain, release: release); - - SwiftLibrary _lib; + ObjCBlock_bool_objcObjCObject_bool._(ffi.Pointer pointer, + {bool retain = false, bool release = true}) + : super(pointer, retain: retain, release: release); /// Returns a block that wraps the given raw block pointer. static ObjCBlock_bool_objcObjCObject_bool castFromPointer( - SwiftLibrary lib, - ffi.Pointer pointer, { - bool retain = false, - bool release = false, - }) { - return ObjCBlock_bool_objcObjCObject_bool._( - pointer, - lib, - retain: retain, - release: release, - ); + ffi.Pointer pointer, + {bool retain = false, + bool release = false}) { + return ObjCBlock_bool_objcObjCObject_bool._(pointer, + retain: retain, release: release); } /// Creates a block from a C function pointer. @@ -52137,28 +18567,20 @@ class ObjCBlock_bool_objcObjCObject_bool extends objc.ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_bool_objcObjCObject_bool.fromFunctionPointer( - SwiftLibrary lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - )>> - ptr, - ) : this._( - objc.newBlock( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>( - _ObjCBlock_bool_objcObjCObject_bool_fnPtrTrampoline, - false, - ).cast(), - ptr.cast(), - ), - lib); + ffi.Pointer< + ffi.NativeFunction< + ffi.Bool Function(ffi.Pointer arg0, + ffi.Pointer arg1)>> + ptr) + : this._(objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>( + _ObjCBlock_bool_objcObjCObject_bool_fnPtrTrampoline, false) + .cast(), + ptr.cast())); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -52167,1099 +18589,1109 @@ class ObjCBlock_bool_objcObjCObject_bool extends objc.ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_bool_objcObjCObject_bool.fromFunction( - SwiftLibrary lib, - bool Function(NSObject, ffi.Pointer) fn, - ) : this._( - objc.newBlock( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>( - _ObjCBlock_bool_objcObjCObject_bool_closureTrampoline, - false, - ).cast(), - _ObjCBlock_bool_objcObjCObject_bool_registerClosure(( - ffi.Pointer arg0, - ffi.Pointer arg1, - ) => - fn(NSObject._(arg0, lib, retain: true, release: true), arg1)), - ), - lib); + bool Function(NSObject, ffi.Pointer) fn) + : this._(objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>( + _ObjCBlock_bool_objcObjCObject_bool_closureTrampoline, false) + .cast(), + _ObjCBlock_bool_objcObjCObject_bool_registerClosure( + (ffi.Pointer arg0, + ffi.Pointer arg1) => + fn(NSObject._(arg0, retain: true, release: true), arg1)))); static ffi.Pointer? _dartFuncTrampoline; bool call(NSObject arg0, ffi.Pointer arg1) => pointer.ref.invoke .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Pointer arg1, - )>>() + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1)>>() .asFunction< bool Function( - ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>()(pointer, arg0.pointer, arg1); +} + +late final _sel_objectsPassingTest_ = objc.registerName("objectsPassingTest:"); +final _objc_msgSend_409 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer predicate)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_objectsWithOptions_passingTest_ = + objc.registerName("objectsWithOptions:passingTest:"); +final _objc_msgSend_410 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Int32 opts, + ffi.Pointer predicate)>>() + .asFunction< + ffi.Pointer Function( ffi.Pointer, - ffi.Pointer, - )>()(pointer, arg0.pointer, arg1); -} + ffi.Pointer, + int, + ffi.Pointer)>(); +late final _sel_set = objc.registerName("set"); +late final _sel_setWithObject_ = objc.registerName("setWithObject:"); +late final _sel_setWithObjects_count_ = + objc.registerName("setWithObjects:count:"); +late final _sel_setWithObjects_ = objc.registerName("setWithObjects:"); +late final _sel_setWithSet_ = objc.registerName("setWithSet:"); +final _objc_msgSend_411 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer set)>>() + .asFunction< + instancetype Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_setWithArray_ = objc.registerName("setWithArray:"); +late final _sel_initWithSet_ = objc.registerName("initWithSet:"); +late final _sel_initWithSet_copyItems_ = + objc.registerName("initWithSet:copyItems:"); +final _objc_msgSend_412 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer set, + ffi.Bool flag)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool)>(); +late final _sel_filteredSetUsingPredicate_ = + objc.registerName("filteredSetUsingPredicate:"); +final _objc_msgSend_413 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer predicate)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_invocationWithMethodSignature_ = + objc.registerName("invocationWithMethodSignature:"); +final _objc_msgSend_414 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer sig)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_methodSignature = objc.registerName("methodSignature"); +final _objc_msgSend_415 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_retainArguments = objc.registerName("retainArguments"); +late final _sel_argumentsRetained = objc.registerName("argumentsRetained"); +late final _sel_target = objc.registerName("target"); +late final _sel_setTarget_ = objc.registerName("setTarget:"); +final _objc_msgSend_416 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_selector = objc.registerName("selector"); +final _objc_msgSend_417 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_setSelector_ = objc.registerName("setSelector:"); +final _objc_msgSend_418 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_getReturnValue_ = objc.registerName("getReturnValue:"); +late final _sel_setReturnValue_ = objc.registerName("setReturnValue:"); +late final _sel_getArgument_atIndex_ = + objc.registerName("getArgument:atIndex:"); +final _objc_msgSend_419 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer argumentLocation, + ffi.Long idx)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer, int)>(); +late final _sel_setArgument_atIndex_ = + objc.registerName("setArgument:atIndex:"); +late final _sel_invoke = objc.registerName("invoke"); +late final _sel_invokeWithTarget_ = objc.registerName("invokeWithTarget:"); +late final _sel_invokeUsingIMP_ = objc.registerName("invokeUsingIMP:"); +final _objc_msgSend_420 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer> imp)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>(); +late final _sel_forwardInvocation_ = objc.registerName("forwardInvocation:"); +final _objc_msgSend_421 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer anInvocation)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_methodSignatureForSelector_ = + objc.registerName("methodSignatureForSelector:"); +final _objc_msgSend_422 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer aSelector)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_instanceMethodSignatureForSelector_ = + objc.registerName("instanceMethodSignatureForSelector:"); +late final _sel_allowsWeakReference = objc.registerName("allowsWeakReference"); +late final _sel_retainWeakReference = objc.registerName("retainWeakReference"); +late final _sel_isSubclassOfClass_ = objc.registerName("isSubclassOfClass:"); +late final _sel_resolveClassMethod_ = objc.registerName("resolveClassMethod:"); +late final _sel_resolveInstanceMethod_ = + objc.registerName("resolveInstanceMethod:"); +late final _sel_superclass = objc.registerName("superclass"); +late final _sel_class = objc.registerName("class"); +late final _sel_debugDescription = objc.registerName("debugDescription"); +late final _sel_version = objc.registerName("version"); +late final _sel_setVersion_ = objc.registerName("setVersion:"); +final _objc_msgSend_423 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer obj, + ffi.Pointer sel, ffi.Long aVersion)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, int)>(); +late final _sel_classForCoder = objc.registerName("classForCoder"); +late final _sel_replacementObjectForCoder_ = + objc.registerName("replacementObjectForCoder:"); +late final _sel_awakeAfterUsingCoder_ = + objc.registerName("awakeAfterUsingCoder:"); +late final _sel_poseAsClass_ = objc.registerName("poseAsClass:"); +late final _sel_autoContentAccessingProxy = + objc.registerName("autoContentAccessingProxy"); +late final _sel_attemptRecoveryFromError_optionIndex_delegate_didRecoverSelector_contextInfo_ = + objc.registerName( + "attemptRecoveryFromError:optionIndex:delegate:didRecoverSelector:contextInfo:"); +final _objc_msgSend_424 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer error, + ffi.UnsignedLong recoveryOptionIndex, + ffi.Pointer delegate, + ffi.Pointer didRecoverSelector, + ffi.Pointer contextInfo)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_attemptRecoveryFromError_optionIndex_ = + objc.registerName("attemptRecoveryFromError:optionIndex:"); +final _objc_msgSend_425 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer error, + ffi.UnsignedLong recoveryOptionIndex)>>() + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int)>(); +late final _sel_performSelector_withObject_afterDelay_inModes_ = + objc.registerName("performSelector:withObject:afterDelay:inModes:"); +final _objc_msgSend_426 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer aSelector, + ffi.Pointer anArgument, + ffi.Double delay, + ffi.Pointer modes)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + double, + ffi.Pointer)>(); +late final _sel_performSelector_withObject_afterDelay_ = + objc.registerName("performSelector:withObject:afterDelay:"); +final _objc_msgSend_427 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer aSelector, + ffi.Pointer anArgument, + ffi.Double delay)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + double)>(); +late final _sel_URL_resourceDataDidBecomeAvailable_ = + objc.registerName("URL:resourceDataDidBecomeAvailable:"); +final _objc_msgSend_428 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer sender, + ffi.Pointer newBytes)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_URLResourceDidFinishLoading_ = + objc.registerName("URLResourceDidFinishLoading:"); +final _objc_msgSend_429 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer sender)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_URLResourceDidCancelLoading_ = + objc.registerName("URLResourceDidCancelLoading:"); +late final _sel_URL_resourceDidFailLoadingWithReason_ = + objc.registerName("URL:resourceDidFailLoadingWithReason:"); +final _objc_msgSend_430 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer sender, + ffi.Pointer reason)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); class NSFileManager extends NSObject { - NSFileManager._( - ffi.Pointer pointer, - SwiftLibrary lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSFileManager._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSFileManager] that points to the same underlying object as [other]. - static NSFileManager castFrom( - SwiftLibrary lib, - T other, - ) { - return NSFileManager._(other.pointer, lib, retain: true, release: true); + static NSFileManager castFrom(T other) { + return NSFileManager._(other.pointer, retain: true, release: true); } /// Returns a [NSFileManager] that wraps the given raw object pointer. - static NSFileManager castFromPointer( - SwiftLibrary lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSFileManager._(other, lib, retain: retain, release: release); + static NSFileManager castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSFileManager._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSFileManager]. - static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSFileManager1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0( + obj.pointer, _sel_isKindOfClass_, _class_NSFileManager); } - static NSFileManager getDefaultManager(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_431( - _lib._class_NSFileManager1, - _lib._sel_defaultManager1, - ); - return NSFileManager._(_ret, _lib, retain: true, release: true); + static NSFileManager getDefaultManager() { + final _ret = _objc_msgSend_431(_class_NSFileManager, _sel_defaultManager); + return NSFileManager._(_ret, retain: true, release: true); } NSArray? mountedVolumeURLsIncludingResourceValuesForKeys_options_( - NSArray? propertyKeys, - int options, - ) { - final _ret = _lib._objc_msgSend_432( - this.pointer, - _lib._sel_mountedVolumeURLsIncludingResourceValuesForKeys_options_1, - propertyKeys?.pointer ?? ffi.nullptr, - options, - ); + NSArray? propertyKeys, int options) { + final _ret = _objc_msgSend_432( + this.pointer, + _sel_mountedVolumeURLsIncludingResourceValuesForKeys_options_, + propertyKeys?.pointer ?? ffi.nullptr, + options); return _ret.address == 0 ? null - : NSArray._(_ret, _lib, retain: true, release: true); + : NSArray._(_ret, retain: true, release: true); } void unmountVolumeAtURL_options_completionHandler_( - NSURL url, - int mask, - ObjCBlock_ffiVoid_NSError completionHandler, - ) { - _lib._objc_msgSend_433( - this.pointer, - _lib._sel_unmountVolumeAtURL_options_completionHandler_1, - url.pointer, - mask, - completionHandler.pointer, - ); + NSURL url, int mask, ObjCBlock_ffiVoid_NSError completionHandler) { + _objc_msgSend_433( + this.pointer, + _sel_unmountVolumeAtURL_options_completionHandler_, + url.pointer, + mask, + completionHandler.pointer); } NSArray? contentsOfDirectoryAtURL_includingPropertiesForKeys_options_error_( - NSURL url, - NSArray? keys, - int mask, - ffi.Pointer> error, - ) { - final _ret = _lib._objc_msgSend_434( - this.pointer, - _lib._sel_contentsOfDirectoryAtURL_includingPropertiesForKeys_options_error_1, - url.pointer, - keys?.pointer ?? ffi.nullptr, - mask, - error, - ); + NSURL url, + NSArray? keys, + int mask, + ffi.Pointer> error) { + final _ret = _objc_msgSend_434( + this.pointer, + _sel_contentsOfDirectoryAtURL_includingPropertiesForKeys_options_error_, + url.pointer, + keys?.pointer ?? ffi.nullptr, + mask, + error); return _ret.address == 0 ? null - : NSArray._(_ret, _lib, retain: true, release: true); + : NSArray._(_ret, retain: true, release: true); } NSArray URLsForDirectory_inDomains_(int directory, int domainMask) { - final _ret = _lib._objc_msgSend_435( - this.pointer, - _lib._sel_URLsForDirectory_inDomains_1, - directory, - domainMask, - ); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_435( + this.pointer, _sel_URLsForDirectory_inDomains_, directory, domainMask); + return NSArray._(_ret, retain: true, release: true); } NSURL? URLForDirectory_inDomain_appropriateForURL_create_error_( - int directory, - int domain, - NSURL? url, - bool shouldCreate, - ffi.Pointer> error, - ) { - final _ret = _lib._objc_msgSend_436( - this.pointer, - _lib._sel_URLForDirectory_inDomain_appropriateForURL_create_error_1, - directory, - domain, - url?.pointer ?? ffi.nullptr, - shouldCreate, - error, - ); - return _ret.address == 0 - ? null - : NSURL._(_ret, _lib, retain: true, release: true); + int directory, + int domain, + NSURL? url, + bool shouldCreate, + ffi.Pointer> error) { + final _ret = _objc_msgSend_436( + this.pointer, + _sel_URLForDirectory_inDomain_appropriateForURL_create_error_, + directory, + domain, + url?.pointer ?? ffi.nullptr, + shouldCreate, + error); + return _ret.address == 0 + ? null + : NSURL._(_ret, retain: true, release: true); } bool getRelationship_ofDirectoryAtURL_toItemAtURL_error_( - ffi.Pointer outRelationship, - NSURL directoryURL, - NSURL otherURL, - ffi.Pointer> error, - ) { - return _lib._objc_msgSend_437( - this.pointer, - _lib._sel_getRelationship_ofDirectoryAtURL_toItemAtURL_error_1, - outRelationship, - directoryURL.pointer, - otherURL.pointer, - error, - ); + ffi.Pointer outRelationship, + NSURL directoryURL, + NSURL otherURL, + ffi.Pointer> error) { + return _objc_msgSend_437( + this.pointer, + _sel_getRelationship_ofDirectoryAtURL_toItemAtURL_error_, + outRelationship, + directoryURL.pointer, + otherURL.pointer, + error); } bool getRelationship_ofDirectory_inDomain_toItemAtURL_error_( - ffi.Pointer outRelationship, - int directory, - int domainMask, - NSURL url, - ffi.Pointer> error, - ) { - return _lib._objc_msgSend_438( - this.pointer, - _lib._sel_getRelationship_ofDirectory_inDomain_toItemAtURL_error_1, - outRelationship, - directory, - domainMask, - url.pointer, - error, - ); + ffi.Pointer outRelationship, + int directory, + int domainMask, + NSURL url, + ffi.Pointer> error) { + return _objc_msgSend_438( + this.pointer, + _sel_getRelationship_ofDirectory_inDomain_toItemAtURL_error_, + outRelationship, + directory, + domainMask, + url.pointer, + error); } bool createDirectoryAtURL_withIntermediateDirectories_attributes_error_( - NSURL url, - bool createIntermediates, - NSDictionary? attributes, - ffi.Pointer> error, - ) { - return _lib._objc_msgSend_439( - this.pointer, - _lib._sel_createDirectoryAtURL_withIntermediateDirectories_attributes_error_1, - url.pointer, - createIntermediates, - attributes?.pointer ?? ffi.nullptr, - error, - ); - } - - bool createSymbolicLinkAtURL_withDestinationURL_error_( - NSURL url, - NSURL destURL, - ffi.Pointer> error, - ) { - return _lib._objc_msgSend_440( - this.pointer, - _lib._sel_createSymbolicLinkAtURL_withDestinationURL_error_1, - url.pointer, - destURL.pointer, - error, - ); + NSURL url, + bool createIntermediates, + NSDictionary? attributes, + ffi.Pointer> error) { + return _objc_msgSend_439( + this.pointer, + _sel_createDirectoryAtURL_withIntermediateDirectories_attributes_error_, + url.pointer, + createIntermediates, + attributes?.pointer ?? ffi.nullptr, + error); + } + + bool createSymbolicLinkAtURL_withDestinationURL_error_(NSURL url, + NSURL destURL, ffi.Pointer> error) { + return _objc_msgSend_440( + this.pointer, + _sel_createSymbolicLinkAtURL_withDestinationURL_error_, + url.pointer, + destURL.pointer, + error); } NSObject? get delegate { - final _ret = _lib._objc_msgSend_17(this.pointer, _lib._sel_delegate1); + final _ret = _objc_msgSend_17(this.pointer, _sel_delegate); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } set delegate(NSObject? value) { - return _lib._objc_msgSend_416( - this.pointer, - _lib._sel_setDelegate_1, - value?.pointer ?? ffi.nullptr, - ); - } - - bool setAttributes_ofItemAtPath_error_( - NSDictionary attributes, - NSString path, - ffi.Pointer> error, - ) { - return _lib._objc_msgSend_441( - this.pointer, - _lib._sel_setAttributes_ofItemAtPath_error_1, - attributes.pointer, - path.pointer, - error, - ); + return _objc_msgSend_416( + this.pointer, _sel_setDelegate_, value?.pointer ?? ffi.nullptr); + } + + bool setAttributes_ofItemAtPath_error_(NSDictionary attributes, NSString path, + ffi.Pointer> error) { + return _objc_msgSend_441( + this.pointer, + _sel_setAttributes_ofItemAtPath_error_, + attributes.pointer, + path.pointer, + error); } bool createDirectoryAtPath_withIntermediateDirectories_attributes_error_( - NSString path, - bool createIntermediates, - NSDictionary? attributes, - ffi.Pointer> error, - ) { - return _lib._objc_msgSend_442( - this.pointer, - _lib._sel_createDirectoryAtPath_withIntermediateDirectories_attributes_error_1, - path.pointer, - createIntermediates, - attributes?.pointer ?? ffi.nullptr, - error, - ); + NSString path, + bool createIntermediates, + NSDictionary? attributes, + ffi.Pointer> error) { + return _objc_msgSend_442( + this.pointer, + _sel_createDirectoryAtPath_withIntermediateDirectories_attributes_error_, + path.pointer, + createIntermediates, + attributes?.pointer ?? ffi.nullptr, + error); } NSArray? contentsOfDirectoryAtPath_error_( - NSString path, - ffi.Pointer> error, - ) { - final _ret = _lib._objc_msgSend_443( - this.pointer, - _lib._sel_contentsOfDirectoryAtPath_error_1, - path.pointer, - error, - ); + NSString path, ffi.Pointer> error) { + final _ret = _objc_msgSend_443(this.pointer, + _sel_contentsOfDirectoryAtPath_error_, path.pointer, error); return _ret.address == 0 ? null - : NSArray._(_ret, _lib, retain: true, release: true); + : NSArray._(_ret, retain: true, release: true); } NSArray? subpathsOfDirectoryAtPath_error_( - NSString path, - ffi.Pointer> error, - ) { - final _ret = _lib._objc_msgSend_443( - this.pointer, - _lib._sel_subpathsOfDirectoryAtPath_error_1, - path.pointer, - error, - ); + NSString path, ffi.Pointer> error) { + final _ret = _objc_msgSend_443(this.pointer, + _sel_subpathsOfDirectoryAtPath_error_, path.pointer, error); return _ret.address == 0 ? null - : NSArray._(_ret, _lib, retain: true, release: true); + : NSArray._(_ret, retain: true, release: true); } NSDictionary? attributesOfItemAtPath_error_( - NSString path, - ffi.Pointer> error, - ) { - final _ret = _lib._objc_msgSend_444( - this.pointer, - _lib._sel_attributesOfItemAtPath_error_1, - path.pointer, - error, - ); + NSString path, ffi.Pointer> error) { + final _ret = _objc_msgSend_444( + this.pointer, _sel_attributesOfItemAtPath_error_, path.pointer, error); return _ret.address == 0 ? null - : NSDictionary._(_ret, _lib, retain: true, release: true); + : NSDictionary._(_ret, retain: true, release: true); } NSDictionary? attributesOfFileSystemForPath_error_( - NSString path, - ffi.Pointer> error, - ) { - final _ret = _lib._objc_msgSend_444( - this.pointer, - _lib._sel_attributesOfFileSystemForPath_error_1, - path.pointer, - error, - ); - return _ret.address == 0 - ? null - : NSDictionary._(_ret, _lib, retain: true, release: true); - } - - bool createSymbolicLinkAtPath_withDestinationPath_error_( - NSString path, - NSString destPath, - ffi.Pointer> error, - ) { - return _lib._objc_msgSend_445( - this.pointer, - _lib._sel_createSymbolicLinkAtPath_withDestinationPath_error_1, - path.pointer, - destPath.pointer, - error, - ); + NSString path, ffi.Pointer> error) { + final _ret = _objc_msgSend_444(this.pointer, + _sel_attributesOfFileSystemForPath_error_, path.pointer, error); + return _ret.address == 0 + ? null + : NSDictionary._(_ret, retain: true, release: true); + } + + bool createSymbolicLinkAtPath_withDestinationPath_error_(NSString path, + NSString destPath, ffi.Pointer> error) { + return _objc_msgSend_445( + this.pointer, + _sel_createSymbolicLinkAtPath_withDestinationPath_error_, + path.pointer, + destPath.pointer, + error); } NSString? destinationOfSymbolicLinkAtPath_error_( - NSString path, - ffi.Pointer> error, - ) { - final _ret = _lib._objc_msgSend_446( - this.pointer, - _lib._sel_destinationOfSymbolicLinkAtPath_error_1, - path.pointer, - error, - ); - return _ret.address == 0 - ? null - : NSString._(_ret, _lib, retain: true, release: true); - } - - bool copyItemAtPath_toPath_error_( - NSString srcPath, - NSString dstPath, - ffi.Pointer> error, - ) { - return _lib._objc_msgSend_445( - this.pointer, - _lib._sel_copyItemAtPath_toPath_error_1, - srcPath.pointer, - dstPath.pointer, - error, - ); - } - - bool moveItemAtPath_toPath_error_( - NSString srcPath, - NSString dstPath, - ffi.Pointer> error, - ) { - return _lib._objc_msgSend_445( - this.pointer, - _lib._sel_moveItemAtPath_toPath_error_1, - srcPath.pointer, - dstPath.pointer, - error, - ); - } - - bool linkItemAtPath_toPath_error_( - NSString srcPath, - NSString dstPath, - ffi.Pointer> error, - ) { - return _lib._objc_msgSend_445( - this.pointer, - _lib._sel_linkItemAtPath_toPath_error_1, - srcPath.pointer, - dstPath.pointer, - error, - ); + NSString path, ffi.Pointer> error) { + final _ret = _objc_msgSend_446(this.pointer, + _sel_destinationOfSymbolicLinkAtPath_error_, path.pointer, error); + return _ret.address == 0 + ? null + : NSString._(_ret, retain: true, release: true); + } + + bool copyItemAtPath_toPath_error_(NSString srcPath, NSString dstPath, + ffi.Pointer> error) { + return _objc_msgSend_445(this.pointer, _sel_copyItemAtPath_toPath_error_, + srcPath.pointer, dstPath.pointer, error); + } + + bool moveItemAtPath_toPath_error_(NSString srcPath, NSString dstPath, + ffi.Pointer> error) { + return _objc_msgSend_445(this.pointer, _sel_moveItemAtPath_toPath_error_, + srcPath.pointer, dstPath.pointer, error); + } + + bool linkItemAtPath_toPath_error_(NSString srcPath, NSString dstPath, + ffi.Pointer> error) { + return _objc_msgSend_445(this.pointer, _sel_linkItemAtPath_toPath_error_, + srcPath.pointer, dstPath.pointer, error); } bool removeItemAtPath_error_( - NSString path, - ffi.Pointer> error, - ) { - return _lib._objc_msgSend_447( - this.pointer, - _lib._sel_removeItemAtPath_error_1, - path.pointer, - error, - ); - } - - bool copyItemAtURL_toURL_error_( - NSURL srcURL, - NSURL dstURL, - ffi.Pointer> error, - ) { - return _lib._objc_msgSend_440( - this.pointer, - _lib._sel_copyItemAtURL_toURL_error_1, - srcURL.pointer, - dstURL.pointer, - error, - ); - } - - bool moveItemAtURL_toURL_error_( - NSURL srcURL, - NSURL dstURL, - ffi.Pointer> error, - ) { - return _lib._objc_msgSend_440( - this.pointer, - _lib._sel_moveItemAtURL_toURL_error_1, - srcURL.pointer, - dstURL.pointer, - error, - ); - } - - bool linkItemAtURL_toURL_error_( - NSURL srcURL, - NSURL dstURL, - ffi.Pointer> error, - ) { - return _lib._objc_msgSend_440( - this.pointer, - _lib._sel_linkItemAtURL_toURL_error_1, - srcURL.pointer, - dstURL.pointer, - error, - ); + NSString path, ffi.Pointer> error) { + return _objc_msgSend_447( + this.pointer, _sel_removeItemAtPath_error_, path.pointer, error); + } + + bool copyItemAtURL_toURL_error_(NSURL srcURL, NSURL dstURL, + ffi.Pointer> error) { + return _objc_msgSend_440(this.pointer, _sel_copyItemAtURL_toURL_error_, + srcURL.pointer, dstURL.pointer, error); + } + + bool moveItemAtURL_toURL_error_(NSURL srcURL, NSURL dstURL, + ffi.Pointer> error) { + return _objc_msgSend_440(this.pointer, _sel_moveItemAtURL_toURL_error_, + srcURL.pointer, dstURL.pointer, error); + } + + bool linkItemAtURL_toURL_error_(NSURL srcURL, NSURL dstURL, + ffi.Pointer> error) { + return _objc_msgSend_440(this.pointer, _sel_linkItemAtURL_toURL_error_, + srcURL.pointer, dstURL.pointer, error); } bool removeItemAtURL_error_( - NSURL URL, - ffi.Pointer> error, - ) { - return _lib._objc_msgSend_89( - this.pointer, - _lib._sel_removeItemAtURL_error_1, - URL.pointer, - error, - ); + NSURL URL, ffi.Pointer> error) { + return _objc_msgSend_89( + this.pointer, _sel_removeItemAtURL_error_, URL.pointer, error); } bool trashItemAtURL_resultingItemURL_error_( - NSURL url, - ffi.Pointer> outResultingURL, - ffi.Pointer> error, - ) { - return _lib._objc_msgSend_448( - this.pointer, - _lib._sel_trashItemAtURL_resultingItemURL_error_1, - url.pointer, - outResultingURL, - error, - ); + NSURL url, + ffi.Pointer> outResultingURL, + ffi.Pointer> error) { + return _objc_msgSend_448( + this.pointer, + _sel_trashItemAtURL_resultingItemURL_error_, + url.pointer, + outResultingURL, + error); } NSDictionary? fileAttributesAtPath_traverseLink_(NSString path, bool yorn) { - final _ret = _lib._objc_msgSend_449( - this.pointer, - _lib._sel_fileAttributesAtPath_traverseLink_1, - path.pointer, - yorn, - ); + final _ret = _objc_msgSend_449(this.pointer, + _sel_fileAttributesAtPath_traverseLink_, path.pointer, yorn); return _ret.address == 0 ? null - : NSDictionary._(_ret, _lib, retain: true, release: true); + : NSDictionary._(_ret, retain: true, release: true); } bool changeFileAttributes_atPath_(NSDictionary attributes, NSString path) { - return _lib._objc_msgSend_450( - this.pointer, - _lib._sel_changeFileAttributes_atPath_1, - attributes.pointer, - path.pointer, - ); + return _objc_msgSend_450(this.pointer, _sel_changeFileAttributes_atPath_, + attributes.pointer, path.pointer); } NSArray? directoryContentsAtPath_(NSString path) { - final _ret = _lib._objc_msgSend_132( - this.pointer, - _lib._sel_directoryContentsAtPath_1, - path.pointer, - ); + final _ret = _objc_msgSend_132( + this.pointer, _sel_directoryContentsAtPath_, path.pointer); return _ret.address == 0 ? null - : NSArray._(_ret, _lib, retain: true, release: true); + : NSArray._(_ret, retain: true, release: true); } NSDictionary? fileSystemAttributesAtPath_(NSString path) { - final _ret = _lib._objc_msgSend_156( - this.pointer, - _lib._sel_fileSystemAttributesAtPath_1, - path.pointer, - ); + final _ret = _objc_msgSend_156( + this.pointer, _sel_fileSystemAttributesAtPath_, path.pointer); return _ret.address == 0 ? null - : NSDictionary._(_ret, _lib, retain: true, release: true); + : NSDictionary._(_ret, retain: true, release: true); } NSString? pathContentOfSymbolicLinkAtPath_(NSString path) { - final _ret = _lib._objc_msgSend_186( - this.pointer, - _lib._sel_pathContentOfSymbolicLinkAtPath_1, - path.pointer, - ); + final _ret = _objc_msgSend_186( + this.pointer, _sel_pathContentOfSymbolicLinkAtPath_, path.pointer); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } bool createSymbolicLinkAtPath_pathContent_( - NSString path, - NSString otherpath, - ) { - return _lib._objc_msgSend_451( - this.pointer, - _lib._sel_createSymbolicLinkAtPath_pathContent_1, - path.pointer, - otherpath.pointer, - ); + NSString path, NSString otherpath) { + return _objc_msgSend_451( + this.pointer, + _sel_createSymbolicLinkAtPath_pathContent_, + path.pointer, + otherpath.pointer); } bool createDirectoryAtPath_attributes_( - NSString path, - NSDictionary attributes, - ) { - return _lib._objc_msgSend_452( - this.pointer, - _lib._sel_createDirectoryAtPath_attributes_1, - path.pointer, - attributes.pointer, - ); + NSString path, NSDictionary attributes) { + return _objc_msgSend_452( + this.pointer, + _sel_createDirectoryAtPath_attributes_, + path.pointer, + attributes.pointer); } bool linkPath_toPath_handler_( - NSString src, - NSString dest, - NSObject? handler, - ) { - return _lib._objc_msgSend_453( - this.pointer, - _lib._sel_linkPath_toPath_handler_1, - src.pointer, - dest.pointer, - handler?.pointer ?? ffi.nullptr, - ); + NSString src, NSString dest, NSObject? handler) { + return _objc_msgSend_453(this.pointer, _sel_linkPath_toPath_handler_, + src.pointer, dest.pointer, handler?.pointer ?? ffi.nullptr); } bool copyPath_toPath_handler_( - NSString src, - NSString dest, - NSObject? handler, - ) { - return _lib._objc_msgSend_453( - this.pointer, - _lib._sel_copyPath_toPath_handler_1, - src.pointer, - dest.pointer, - handler?.pointer ?? ffi.nullptr, - ); + NSString src, NSString dest, NSObject? handler) { + return _objc_msgSend_453(this.pointer, _sel_copyPath_toPath_handler_, + src.pointer, dest.pointer, handler?.pointer ?? ffi.nullptr); } bool movePath_toPath_handler_( - NSString src, - NSString dest, - NSObject? handler, - ) { - return _lib._objc_msgSend_453( - this.pointer, - _lib._sel_movePath_toPath_handler_1, - src.pointer, - dest.pointer, - handler?.pointer ?? ffi.nullptr, - ); + NSString src, NSString dest, NSObject? handler) { + return _objc_msgSend_453(this.pointer, _sel_movePath_toPath_handler_, + src.pointer, dest.pointer, handler?.pointer ?? ffi.nullptr); } bool removeFileAtPath_handler_(NSString path, NSObject? handler) { - return _lib._objc_msgSend_454( - this.pointer, - _lib._sel_removeFileAtPath_handler_1, - path.pointer, - handler?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_454(this.pointer, _sel_removeFileAtPath_handler_, + path.pointer, handler?.pointer ?? ffi.nullptr); } NSString get currentDirectoryPath { - final _ret = _lib._objc_msgSend_21( - this.pointer, - _lib._sel_currentDirectoryPath1, - ); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_currentDirectoryPath); + return NSString._(_ret, retain: true, release: true); } bool changeCurrentDirectoryPath_(NSString path) { - return _lib._objc_msgSend_64( - this.pointer, - _lib._sel_changeCurrentDirectoryPath_1, - path.pointer, - ); + return _objc_msgSend_64( + this.pointer, _sel_changeCurrentDirectoryPath_, path.pointer); } bool fileExistsAtPath_(NSString path) { - return _lib._objc_msgSend_64( - this.pointer, - _lib._sel_fileExistsAtPath_1, - path.pointer, - ); + return _objc_msgSend_64(this.pointer, _sel_fileExistsAtPath_, path.pointer); } bool fileExistsAtPath_isDirectory_( - NSString path, - ffi.Pointer isDirectory, - ) { - return _lib._objc_msgSend_455( - this.pointer, - _lib._sel_fileExistsAtPath_isDirectory_1, - path.pointer, - isDirectory, - ); + NSString path, ffi.Pointer isDirectory) { + return _objc_msgSend_455(this.pointer, _sel_fileExistsAtPath_isDirectory_, + path.pointer, isDirectory); } bool isReadableFileAtPath_(NSString path) { - return _lib._objc_msgSend_64( - this.pointer, - _lib._sel_isReadableFileAtPath_1, - path.pointer, - ); + return _objc_msgSend_64( + this.pointer, _sel_isReadableFileAtPath_, path.pointer); } bool isWritableFileAtPath_(NSString path) { - return _lib._objc_msgSend_64( - this.pointer, - _lib._sel_isWritableFileAtPath_1, - path.pointer, - ); + return _objc_msgSend_64( + this.pointer, _sel_isWritableFileAtPath_, path.pointer); } bool isExecutableFileAtPath_(NSString path) { - return _lib._objc_msgSend_64( - this.pointer, - _lib._sel_isExecutableFileAtPath_1, - path.pointer, - ); + return _objc_msgSend_64( + this.pointer, _sel_isExecutableFileAtPath_, path.pointer); } bool isDeletableFileAtPath_(NSString path) { - return _lib._objc_msgSend_64( - this.pointer, - _lib._sel_isDeletableFileAtPath_1, - path.pointer, - ); + return _objc_msgSend_64( + this.pointer, _sel_isDeletableFileAtPath_, path.pointer); } bool contentsEqualAtPath_andPath_(NSString path1, NSString path2) { - return _lib._objc_msgSend_451( - this.pointer, - _lib._sel_contentsEqualAtPath_andPath_1, - path1.pointer, - path2.pointer, - ); + return _objc_msgSend_451(this.pointer, _sel_contentsEqualAtPath_andPath_, + path1.pointer, path2.pointer); } NSString displayNameAtPath_(NSString path) { - final _ret = _lib._objc_msgSend_69( - this.pointer, - _lib._sel_displayNameAtPath_1, - path.pointer, - ); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_69(this.pointer, _sel_displayNameAtPath_, path.pointer); + return NSString._(_ret, retain: true, release: true); } NSArray? componentsToDisplayForPath_(NSString path) { - final _ret = _lib._objc_msgSend_132( - this.pointer, - _lib._sel_componentsToDisplayForPath_1, - path.pointer, - ); + final _ret = _objc_msgSend_132( + this.pointer, _sel_componentsToDisplayForPath_, path.pointer); return _ret.address == 0 ? null - : NSArray._(_ret, _lib, retain: true, release: true); + : NSArray._(_ret, retain: true, release: true); } NSObject? enumeratorAtPath_(NSString path) { - final _ret = _lib._objc_msgSend_38( - this.pointer, - _lib._sel_enumeratorAtPath_1, - path.pointer, - ); + final _ret = + _objc_msgSend_38(this.pointer, _sel_enumeratorAtPath_, path.pointer); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } NSObject? enumeratorAtURL_includingPropertiesForKeys_options_errorHandler_( - NSURL url, - NSArray? keys, - int mask, - ObjCBlock_bool_NSURL_NSError? handler, - ) { - final _ret = _lib._objc_msgSend_456( - this.pointer, - _lib._sel_enumeratorAtURL_includingPropertiesForKeys_options_errorHandler_1, - url.pointer, - keys?.pointer ?? ffi.nullptr, - mask, - handler?.pointer ?? ffi.nullptr, - ); + NSURL url, + NSArray? keys, + int mask, + ObjCBlock_bool_NSURL_NSError? handler) { + final _ret = _objc_msgSend_456( + this.pointer, + _sel_enumeratorAtURL_includingPropertiesForKeys_options_errorHandler_, + url.pointer, + keys?.pointer ?? ffi.nullptr, + mask, + handler?.pointer ?? ffi.nullptr); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } NSArray? subpathsAtPath_(NSString path) { - final _ret = _lib._objc_msgSend_132( - this.pointer, - _lib._sel_subpathsAtPath_1, - path.pointer, - ); + final _ret = + _objc_msgSend_132(this.pointer, _sel_subpathsAtPath_, path.pointer); return _ret.address == 0 ? null - : NSArray._(_ret, _lib, retain: true, release: true); + : NSArray._(_ret, retain: true, release: true); } NSData? contentsAtPath_(NSString path) { - final _ret = _lib._objc_msgSend_457( - this.pointer, - _lib._sel_contentsAtPath_1, - path.pointer, - ); + final _ret = + _objc_msgSend_457(this.pointer, _sel_contentsAtPath_, path.pointer); return _ret.address == 0 ? null - : NSData._(_ret, _lib, retain: true, release: true); + : NSData._(_ret, retain: true, release: true); } bool createFileAtPath_contents_attributes_( - NSString path, - NSData? data, - NSDictionary? attr, - ) { - return _lib._objc_msgSend_458( - this.pointer, - _lib._sel_createFileAtPath_contents_attributes_1, - path.pointer, - data?.pointer ?? ffi.nullptr, - attr?.pointer ?? ffi.nullptr, - ); + NSString path, NSData? data, NSDictionary? attr) { + return _objc_msgSend_458( + this.pointer, + _sel_createFileAtPath_contents_attributes_, + path.pointer, + data?.pointer ?? ffi.nullptr, + attr?.pointer ?? ffi.nullptr); } ffi.Pointer fileSystemRepresentationWithPath_(NSString path) { - return _lib._objc_msgSend_459( - this.pointer, - _lib._sel_fileSystemRepresentationWithPath_1, - path.pointer, - ); + return _objc_msgSend_459( + this.pointer, _sel_fileSystemRepresentationWithPath_, path.pointer); } NSString stringWithFileSystemRepresentation_length_( - ffi.Pointer str, - int len, - ) { - final _ret = _lib._objc_msgSend_460( - this.pointer, - _lib._sel_stringWithFileSystemRepresentation_length_1, - str, - len, - ); - return NSString._(_ret, _lib, retain: true, release: true); + ffi.Pointer str, int len) { + final _ret = _objc_msgSend_460(this.pointer, + _sel_stringWithFileSystemRepresentation_length_, str, len); + return NSString._(_ret, retain: true, release: true); } bool replaceItemAtURL_withItemAtURL_backupItemName_options_resultingItemURL_error_( - NSURL originalItemURL, - NSURL newItemURL, - NSString? backupItemName, - int options, - ffi.Pointer> resultingURL, - ffi.Pointer> error, - ) { - return _lib._objc_msgSend_461( - this.pointer, - _lib._sel_replaceItemAtURL_withItemAtURL_backupItemName_options_resultingItemURL_error_1, - originalItemURL.pointer, - newItemURL.pointer, - backupItemName?.pointer ?? ffi.nullptr, - options, - resultingURL, - error, - ); - } - - bool setUbiquitous_itemAtURL_destinationURL_error_( - bool flag, - NSURL url, - NSURL destinationURL, - ffi.Pointer> error, - ) { - return _lib._objc_msgSend_462( - this.pointer, - _lib._sel_setUbiquitous_itemAtURL_destinationURL_error_1, - flag, - url.pointer, - destinationURL.pointer, - error, - ); + NSURL originalItemURL, + NSURL newItemURL, + NSString? backupItemName, + int options, + ffi.Pointer> resultingURL, + ffi.Pointer> error) { + return _objc_msgSend_461( + this.pointer, + _sel_replaceItemAtURL_withItemAtURL_backupItemName_options_resultingItemURL_error_, + originalItemURL.pointer, + newItemURL.pointer, + backupItemName?.pointer ?? ffi.nullptr, + options, + resultingURL, + error); + } + + bool setUbiquitous_itemAtURL_destinationURL_error_(bool flag, NSURL url, + NSURL destinationURL, ffi.Pointer> error) { + return _objc_msgSend_462( + this.pointer, + _sel_setUbiquitous_itemAtURL_destinationURL_error_, + flag, + url.pointer, + destinationURL.pointer, + error); } bool isUbiquitousItemAtURL_(NSURL url) { - return _lib._objc_msgSend_265( - this.pointer, - _lib._sel_isUbiquitousItemAtURL_1, - url.pointer, - ); + return _objc_msgSend_265( + this.pointer, _sel_isUbiquitousItemAtURL_, url.pointer); } bool startDownloadingUbiquitousItemAtURL_error_( - NSURL url, - ffi.Pointer> error, - ) { - return _lib._objc_msgSend_89( - this.pointer, - _lib._sel_startDownloadingUbiquitousItemAtURL_error_1, - url.pointer, - error, - ); + NSURL url, ffi.Pointer> error) { + return _objc_msgSend_89(this.pointer, + _sel_startDownloadingUbiquitousItemAtURL_error_, url.pointer, error); } bool evictUbiquitousItemAtURL_error_( - NSURL url, - ffi.Pointer> error, - ) { - return _lib._objc_msgSend_89( - this.pointer, - _lib._sel_evictUbiquitousItemAtURL_error_1, - url.pointer, - error, - ); + NSURL url, ffi.Pointer> error) { + return _objc_msgSend_89( + this.pointer, _sel_evictUbiquitousItemAtURL_error_, url.pointer, error); } NSURL? URLForUbiquityContainerIdentifier_(NSString? containerIdentifier) { - final _ret = _lib._objc_msgSend_463( - this.pointer, - _lib._sel_URLForUbiquityContainerIdentifier_1, - containerIdentifier?.pointer ?? ffi.nullptr, - ); + final _ret = _objc_msgSend_463( + this.pointer, + _sel_URLForUbiquityContainerIdentifier_, + containerIdentifier?.pointer ?? ffi.nullptr); return _ret.address == 0 ? null - : NSURL._(_ret, _lib, retain: true, release: true); + : NSURL._(_ret, retain: true, release: true); } NSURL? URLForPublishingUbiquitousItemAtURL_expirationDate_error_( - NSURL url, - ffi.Pointer> outDate, - ffi.Pointer> error, - ) { - final _ret = _lib._objc_msgSend_464( - this.pointer, - _lib._sel_URLForPublishingUbiquitousItemAtURL_expirationDate_error_1, - url.pointer, - outDate, - error, - ); + NSURL url, + ffi.Pointer> outDate, + ffi.Pointer> error) { + final _ret = _objc_msgSend_464( + this.pointer, + _sel_URLForPublishingUbiquitousItemAtURL_expirationDate_error_, + url.pointer, + outDate, + error); return _ret.address == 0 ? null - : NSURL._(_ret, _lib, retain: true, release: true); + : NSURL._(_ret, retain: true, release: true); } NSObject? get ubiquityIdentityToken { - final _ret = _lib._objc_msgSend_17( - this.pointer, - _lib._sel_ubiquityIdentityToken1, - ); + final _ret = _objc_msgSend_17(this.pointer, _sel_ubiquityIdentityToken); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } void getFileProviderServicesForItemAtURL_completionHandler_( - NSURL url, - ObjCBlock_ffiVoid_NSDictionary_NSError completionHandler, - ) { - _lib._objc_msgSend_465( - this.pointer, - _lib._sel_getFileProviderServicesForItemAtURL_completionHandler_1, - url.pointer, - completionHandler.pointer, - ); + NSURL url, ObjCBlock_ffiVoid_NSDictionary_NSError completionHandler) { + _objc_msgSend_465( + this.pointer, + _sel_getFileProviderServicesForItemAtURL_completionHandler_, + url.pointer, + completionHandler.pointer); } NSURL? containerURLForSecurityApplicationGroupIdentifier_( - NSString groupIdentifier, - ) { - final _ret = _lib._objc_msgSend_257( - this.pointer, - _lib._sel_containerURLForSecurityApplicationGroupIdentifier_1, - groupIdentifier.pointer, - ); + NSString groupIdentifier) { + final _ret = _objc_msgSend_257( + this.pointer, + _sel_containerURLForSecurityApplicationGroupIdentifier_, + groupIdentifier.pointer); return _ret.address == 0 ? null - : NSURL._(_ret, _lib, retain: true, release: true); + : NSURL._(_ret, retain: true, release: true); } NSURL get homeDirectoryForCurrentUser { - final _ret = _lib._objc_msgSend_466( - this.pointer, - _lib._sel_homeDirectoryForCurrentUser1, - ); - return NSURL._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_466(this.pointer, _sel_homeDirectoryForCurrentUser); + return NSURL._(_ret, retain: true, release: true); } NSURL get temporaryDirectory { - final _ret = _lib._objc_msgSend_466( - this.pointer, - _lib._sel_temporaryDirectory1, - ); - return NSURL._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_466(this.pointer, _sel_temporaryDirectory); + return NSURL._(_ret, retain: true, release: true); } NSURL? homeDirectoryForUser_(NSString userName) { - final _ret = _lib._objc_msgSend_257( - this.pointer, - _lib._sel_homeDirectoryForUser_1, - userName.pointer, - ); + final _ret = _objc_msgSend_257( + this.pointer, _sel_homeDirectoryForUser_, userName.pointer); return _ret.address == 0 ? null - : NSURL._(_ret, _lib, retain: true, release: true); + : NSURL._(_ret, retain: true, release: true); } @override NSFileManager init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSFileManager._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSFileManager._(_ret, retain: true, release: true); } - static NSFileManager new1(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSFileManager1, - _lib._sel_new1, - ); - return NSFileManager._(_ret, _lib, retain: false, release: true); + static NSFileManager new1() { + final _ret = _objc_msgSend_2(_class_NSFileManager, _sel_new); + return NSFileManager._(_ret, retain: false, release: true); } - static NSFileManager allocWithZone_( - SwiftLibrary _lib, - ffi.Pointer<_NSZone> zone, - ) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSFileManager1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSFileManager._(_ret, _lib, retain: false, release: true); + static NSFileManager allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = + _objc_msgSend_3(_class_NSFileManager, _sel_allocWithZone_, zone); + return NSFileManager._(_ret, retain: false, release: true); } - static NSFileManager alloc(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSFileManager1, - _lib._sel_alloc1, - ); - return NSFileManager._(_ret, _lib, retain: false, release: true); + static NSFileManager alloc() { + final _ret = _objc_msgSend_2(_class_NSFileManager, _sel_alloc); + return NSFileManager._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSFileManager1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSFileManager1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSFileManager1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSFileManager1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSFileManager1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSFileManager1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSFileManager, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); + } + + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSFileManager, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); + } + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSFileManager, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSFileManager, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSFileManager, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSFileManager, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); } static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSFileManager1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSFileManager1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSFileManager1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSFileManager, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = _objc_msgSend_85( + _class_NSFileManager, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = + _objc_msgSend_2(_class_NSFileManager, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); } } +late final _class_NSFileManager = objc.getClass("NSFileManager"); +late final _sel_defaultManager = objc.registerName("defaultManager"); +final _objc_msgSend_431 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); + abstract class NSVolumeEnumerationOptions { static const int NSVolumeEnumerationSkipHiddenVolumes = 2; static const int NSVolumeEnumerationProduceFileReferenceURLs = 4; } +late final _sel_mountedVolumeURLsIncludingResourceValuesForKeys_options_ = objc + .registerName("mountedVolumeURLsIncludingResourceValuesForKeys:options:"); +final _objc_msgSend_432 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer propertyKeys, + ffi.Int32 options)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int)>(); + abstract class NSFileManagerUnmountOptions { static const int NSFileManagerUnmountAllPartitionsAndEjectDisk = 1; static const int NSFileManagerUnmountWithoutUI = 2; } void _ObjCBlock_ffiVoid_NSError_fnPtrTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, -) => + ffi.Pointer block, ffi.Pointer arg0) => block.ref.target .cast< ffi.NativeFunction< @@ -53269,44 +19701,28 @@ final _ObjCBlock_ffiVoid_NSError_closureRegistry = )>{}; int _ObjCBlock_ffiVoid_NSError_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_ffiVoid_NSError_registerClosure( - void Function(ffi.Pointer) fn, -) { + void Function(ffi.Pointer) fn) { final id = ++_ObjCBlock_ffiVoid_NSError_closureRegistryIndex; _ObjCBlock_ffiVoid_NSError_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } void _ObjCBlock_ffiVoid_NSError_closureTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, -) => - _ObjCBlock_ffiVoid_NSError_closureRegistry[block.ref.target.address]!( - arg0, - ); + ffi.Pointer block, ffi.Pointer arg0) => + _ObjCBlock_ffiVoid_NSError_closureRegistry[block.ref.target.address]!(arg0); class ObjCBlock_ffiVoid_NSError extends objc.ObjCBlockBase { - ObjCBlock_ffiVoid_NSError._( - ffi.Pointer pointer, - this._lib, { - bool retain = false, - bool release = true, - }) : super(pointer, retain: retain, release: release); - - SwiftLibrary _lib; + ObjCBlock_ffiVoid_NSError._(ffi.Pointer pointer, + {bool retain = false, bool release = true}) + : super(pointer, retain: retain, release: release); /// Returns a block that wraps the given raw block pointer. static ObjCBlock_ffiVoid_NSError castFromPointer( - SwiftLibrary lib, - ffi.Pointer pointer, { - bool retain = false, - bool release = false, - }) { - return ObjCBlock_ffiVoid_NSError._( - pointer, - lib, - retain: retain, - release: release, - ); + ffi.Pointer pointer, + {bool retain = false, + bool release = false}) { + return ObjCBlock_ffiVoid_NSError._(pointer, + retain: retain, release: release); } /// Creates a block from a C function pointer. @@ -53315,22 +19731,17 @@ class ObjCBlock_ffiVoid_NSError extends objc.ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSError.fromFunctionPointer( - SwiftLibrary lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer arg0)>> - ptr, - ) : this._( - objc.newBlock( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - )>(_ObjCBlock_ffiVoid_NSError_fnPtrTrampoline) - .cast(), - ptr.cast(), - ), - lib); + ffi.Pointer< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer arg0)>> + ptr) + : this._(objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function(ffi.Pointer, + ffi.Pointer)>( + _ObjCBlock_ffiVoid_NSError_fnPtrTrampoline) + .cast(), + ptr.cast())); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -53338,27 +19749,17 @@ class ObjCBlock_ffiVoid_NSError extends objc.ObjCBlockBase { /// This block must be invoked by native code running on the same thread as /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. - ObjCBlock_ffiVoid_NSError.fromFunction( - SwiftLibrary lib, - void Function(NSError?) fn, - ) : this._( - objc.newBlock( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - )>(_ObjCBlock_ffiVoid_NSError_closureTrampoline) - .cast(), - _ObjCBlock_ffiVoid_NSError_registerClosure(( - ffi.Pointer arg0, - ) => - fn( - arg0.address == 0 - ? null - : NSError._(arg0, lib, retain: true, release: true), - )), - ), - lib); + ObjCBlock_ffiVoid_NSError.fromFunction(void Function(NSError?) fn) + : this._(objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function(ffi.Pointer, + ffi.Pointer)>( + _ObjCBlock_ffiVoid_NSError_closureTrampoline) + .cast(), + _ObjCBlock_ffiVoid_NSError_registerClosure( + (ffi.Pointer arg0) => fn(arg0.address == 0 + ? null + : NSError._(arg0, retain: true, release: true))))); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -53370,30 +19771,19 @@ class ObjCBlock_ffiVoid_NSError extends objc.ObjCBlockBase { /// /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. - ObjCBlock_ffiVoid_NSError.listener( - SwiftLibrary lib, - void Function(NSError?) fn, - ) : this._( - objc.newBlock( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - )>.listener( - _ObjCBlock_ffiVoid_NSError_closureTrampoline, - )..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSError_registerClosure(( - ffi.Pointer arg0, - ) => - fn( - arg0.address == 0 - ? null - : NSError._(arg0, lib, retain: true, release: true), - )), - ), - lib); + ObjCBlock_ffiVoid_NSError.listener(void Function(NSError?) fn) + : this._(objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function(ffi.Pointer, + ffi.Pointer)>.listener( + _ObjCBlock_ffiVoid_NSError_closureTrampoline) + ..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSError_registerClosure( + (ffi.Pointer arg0) => fn(arg0.address == 0 + ? null + : NSError._(arg0, retain: true, release: true))))); static ffi.NativeCallable< ffi.Void Function( ffi.Pointer, ffi.Pointer)>? @@ -53402,16 +19792,33 @@ class ObjCBlock_ffiVoid_NSError extends objc.ObjCBlockBase { void call(NSError? arg0) => pointer.ref.invoke .cast< ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer block, - ffi.Pointer arg0, - )>>() + ffi.Void Function(ffi.Pointer block, + ffi.Pointer arg0)>>() .asFunction< void Function( ffi.Pointer, ffi.Pointer)>()( pointer, arg0?.pointer ?? ffi.nullptr); } +late final _sel_unmountVolumeAtURL_options_completionHandler_ = + objc.registerName("unmountVolumeAtURL:options:completionHandler:"); +final _objc_msgSend_433 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer url, + ffi.Int32 mask, + ffi.Pointer completionHandler)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer)>(); + abstract class NSDirectoryEnumerationOptions { static const int NSDirectoryEnumerationSkipsSubdirectoryDescendants = 1; static const int NSDirectoryEnumerationSkipsPackageDescendants = 2; @@ -53420,6 +19827,28 @@ abstract class NSDirectoryEnumerationOptions { static const int NSDirectoryEnumerationProducesRelativePathURLs = 16; } +late final _sel_contentsOfDirectoryAtURL_includingPropertiesForKeys_options_error_ = + objc.registerName( + "contentsOfDirectoryAtURL:includingPropertiesForKeys:options:error:"); +final _objc_msgSend_434 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer url, + ffi.Pointer keys, + ffi.Int32 mask, + ffi.Pointer> error)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer>)>(); + abstract class NSSearchPathDirectory { static const int NSApplicationDirectory = 1; static const int NSDemoApplicationDirectory = 2; @@ -53458,24 +19887,440 @@ abstract class NSSearchPathDomainMask { static const int NSAllDomainsMask = 65535; } +late final _sel_URLsForDirectory_inDomains_ = + objc.registerName("URLsForDirectory:inDomains:"); +final _objc_msgSend_435 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Int32 directory, + ffi.Int32 domainMask)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, int, int)>(); +late final _sel_URLForDirectory_inDomain_appropriateForURL_create_error_ = objc + .registerName("URLForDirectory:inDomain:appropriateForURL:create:error:"); +final _objc_msgSend_436 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Int32 directory, + ffi.Int32 domain, + ffi.Pointer url, + ffi.Bool shouldCreate, + ffi.Pointer> error)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + int, + ffi.Pointer, + bool, + ffi.Pointer>)>(); + abstract class NSURLRelationship { static const int NSURLRelationshipContains = 0; static const int NSURLRelationshipSame = 1; static const int NSURLRelationshipOther = 2; } +late final _sel_getRelationship_ofDirectoryAtURL_toItemAtURL_error_ = + objc.registerName("getRelationship:ofDirectoryAtURL:toItemAtURL:error:"); +final _objc_msgSend_437 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer outRelationship, + ffi.Pointer directoryURL, + ffi.Pointer otherURL, + ffi.Pointer> error)>>() + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>(); +late final _sel_getRelationship_ofDirectory_inDomain_toItemAtURL_error_ = objc + .registerName("getRelationship:ofDirectory:inDomain:toItemAtURL:error:"); +final _objc_msgSend_438 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer outRelationship, + ffi.Int32 directory, + ffi.Int32 domainMask, + ffi.Pointer url, + ffi.Pointer> error)>>() + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + int, + ffi.Pointer, + ffi.Pointer>)>(); +late final _sel_createDirectoryAtURL_withIntermediateDirectories_attributes_error_ = + objc.registerName( + "createDirectoryAtURL:withIntermediateDirectories:attributes:error:"); +final _objc_msgSend_439 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer url, + ffi.Bool createIntermediates, + ffi.Pointer attributes, + ffi.Pointer> error)>>() + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool, + ffi.Pointer, + ffi.Pointer>)>(); +late final _sel_createSymbolicLinkAtURL_withDestinationURL_error_ = + objc.registerName("createSymbolicLinkAtURL:withDestinationURL:error:"); +final _objc_msgSend_440 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer url, + ffi.Pointer destURL, + ffi.Pointer> error)>>() + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>(); +late final _sel_delegate = objc.registerName("delegate"); +late final _sel_setDelegate_ = objc.registerName("setDelegate:"); +late final _sel_setAttributes_ofItemAtPath_error_ = + objc.registerName("setAttributes:ofItemAtPath:error:"); +final _objc_msgSend_441 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer attributes, + ffi.Pointer path, + ffi.Pointer> error)>>() + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>(); +late final _sel_createDirectoryAtPath_withIntermediateDirectories_attributes_error_ = + objc.registerName( + "createDirectoryAtPath:withIntermediateDirectories:attributes:error:"); +final _objc_msgSend_442 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer path, + ffi.Bool createIntermediates, + ffi.Pointer attributes, + ffi.Pointer> error)>>() + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool, + ffi.Pointer, + ffi.Pointer>)>(); +late final _sel_contentsOfDirectoryAtPath_error_ = + objc.registerName("contentsOfDirectoryAtPath:error:"); +final _objc_msgSend_443 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer path, + ffi.Pointer> error)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>(); +late final _sel_subpathsOfDirectoryAtPath_error_ = + objc.registerName("subpathsOfDirectoryAtPath:error:"); +late final _sel_attributesOfItemAtPath_error_ = + objc.registerName("attributesOfItemAtPath:error:"); +final _objc_msgSend_444 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer path, + ffi.Pointer> error)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>(); +late final _sel_attributesOfFileSystemForPath_error_ = + objc.registerName("attributesOfFileSystemForPath:error:"); +late final _sel_createSymbolicLinkAtPath_withDestinationPath_error_ = + objc.registerName("createSymbolicLinkAtPath:withDestinationPath:error:"); +final _objc_msgSend_445 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer path, + ffi.Pointer destPath, + ffi.Pointer> error)>>() + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>(); +late final _sel_destinationOfSymbolicLinkAtPath_error_ = + objc.registerName("destinationOfSymbolicLinkAtPath:error:"); +final _objc_msgSend_446 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer path, + ffi.Pointer> error)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>(); +late final _sel_copyItemAtPath_toPath_error_ = + objc.registerName("copyItemAtPath:toPath:error:"); +late final _sel_moveItemAtPath_toPath_error_ = + objc.registerName("moveItemAtPath:toPath:error:"); +late final _sel_linkItemAtPath_toPath_error_ = + objc.registerName("linkItemAtPath:toPath:error:"); +late final _sel_removeItemAtPath_error_ = + objc.registerName("removeItemAtPath:error:"); +final _objc_msgSend_447 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer path, + ffi.Pointer> error)>>() + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>(); +late final _sel_copyItemAtURL_toURL_error_ = + objc.registerName("copyItemAtURL:toURL:error:"); +late final _sel_moveItemAtURL_toURL_error_ = + objc.registerName("moveItemAtURL:toURL:error:"); +late final _sel_linkItemAtURL_toURL_error_ = + objc.registerName("linkItemAtURL:toURL:error:"); +late final _sel_removeItemAtURL_error_ = + objc.registerName("removeItemAtURL:error:"); +late final _sel_trashItemAtURL_resultingItemURL_error_ = + objc.registerName("trashItemAtURL:resultingItemURL:error:"); +final _objc_msgSend_448 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer url, + ffi.Pointer> outResultingURL, + ffi.Pointer> error)>>() + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer>)>(); +late final _sel_fileAttributesAtPath_traverseLink_ = + objc.registerName("fileAttributesAtPath:traverseLink:"); +final _objc_msgSend_449 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer path, + ffi.Bool yorn)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool)>(); +late final _sel_changeFileAttributes_atPath_ = + objc.registerName("changeFileAttributes:atPath:"); +final _objc_msgSend_450 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer attributes, + ffi.Pointer path)>>() + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_directoryContentsAtPath_ = + objc.registerName("directoryContentsAtPath:"); +late final _sel_fileSystemAttributesAtPath_ = + objc.registerName("fileSystemAttributesAtPath:"); +late final _sel_pathContentOfSymbolicLinkAtPath_ = + objc.registerName("pathContentOfSymbolicLinkAtPath:"); +late final _sel_createSymbolicLinkAtPath_pathContent_ = + objc.registerName("createSymbolicLinkAtPath:pathContent:"); +final _objc_msgSend_451 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer path, + ffi.Pointer otherpath)>>() + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_createDirectoryAtPath_attributes_ = + objc.registerName("createDirectoryAtPath:attributes:"); +final _objc_msgSend_452 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer path, + ffi.Pointer attributes)>>() + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_linkPath_toPath_handler_ = + objc.registerName("linkPath:toPath:handler:"); +final _objc_msgSend_453 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer src, + ffi.Pointer dest, + ffi.Pointer handler)>>() + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_copyPath_toPath_handler_ = + objc.registerName("copyPath:toPath:handler:"); +late final _sel_movePath_toPath_handler_ = + objc.registerName("movePath:toPath:handler:"); +late final _sel_removeFileAtPath_handler_ = + objc.registerName("removeFileAtPath:handler:"); +final _objc_msgSend_454 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer path, + ffi.Pointer handler)>>() + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_currentDirectoryPath = + objc.registerName("currentDirectoryPath"); +late final _sel_changeCurrentDirectoryPath_ = + objc.registerName("changeCurrentDirectoryPath:"); +late final _sel_fileExistsAtPath_ = objc.registerName("fileExistsAtPath:"); +late final _sel_fileExistsAtPath_isDirectory_ = + objc.registerName("fileExistsAtPath:isDirectory:"); +final _objc_msgSend_455 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer path, + ffi.Pointer isDirectory)>>() + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_isReadableFileAtPath_ = + objc.registerName("isReadableFileAtPath:"); +late final _sel_isWritableFileAtPath_ = + objc.registerName("isWritableFileAtPath:"); +late final _sel_isExecutableFileAtPath_ = + objc.registerName("isExecutableFileAtPath:"); +late final _sel_isDeletableFileAtPath_ = + objc.registerName("isDeletableFileAtPath:"); +late final _sel_contentsEqualAtPath_andPath_ = + objc.registerName("contentsEqualAtPath:andPath:"); +late final _sel_displayNameAtPath_ = objc.registerName("displayNameAtPath:"); +late final _sel_componentsToDisplayForPath_ = + objc.registerName("componentsToDisplayForPath:"); +late final _sel_enumeratorAtPath_ = objc.registerName("enumeratorAtPath:"); bool _ObjCBlock_bool_NSURL_NSError_fnPtrTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Pointer arg1, -) => + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1) => block.ref.target .cast< ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - )>>() + ffi.Bool Function(ffi.Pointer arg0, + ffi.Pointer arg1)>>() .asFunction< bool Function(ffi.Pointer, ffi.Pointer)>()(arg0, arg1); @@ -53484,46 +20329,32 @@ final _ObjCBlock_bool_NSURL_NSError_closureRegistry = , ffi.Pointer)>{}; int _ObjCBlock_bool_NSURL_NSError_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_bool_NSURL_NSError_registerClosure( - bool Function(ffi.Pointer, ffi.Pointer) fn, -) { + bool Function(ffi.Pointer, ffi.Pointer) + fn) { final id = ++_ObjCBlock_bool_NSURL_NSError_closureRegistryIndex; _ObjCBlock_bool_NSURL_NSError_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } bool _ObjCBlock_bool_NSURL_NSError_closureTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Pointer arg1, -) => + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1) => _ObjCBlock_bool_NSURL_NSError_closureRegistry[block.ref.target.address]!( - arg0, - arg1, - ); + arg0, arg1); class ObjCBlock_bool_NSURL_NSError extends objc.ObjCBlockBase { - ObjCBlock_bool_NSURL_NSError._( - ffi.Pointer pointer, - this._lib, { - bool retain = false, - bool release = true, - }) : super(pointer, retain: retain, release: release); - - SwiftLibrary _lib; + ObjCBlock_bool_NSURL_NSError._(ffi.Pointer pointer, + {bool retain = false, bool release = true}) + : super(pointer, retain: retain, release: release); /// Returns a block that wraps the given raw block pointer. static ObjCBlock_bool_NSURL_NSError castFromPointer( - SwiftLibrary lib, - ffi.Pointer pointer, { - bool retain = false, - bool release = false, - }) { - return ObjCBlock_bool_NSURL_NSError._( - pointer, - lib, - retain: retain, - release: release, - ); + ffi.Pointer pointer, + {bool retain = false, + bool release = false}) { + return ObjCBlock_bool_NSURL_NSError._(pointer, + retain: retain, release: release); } /// Creates a block from a C function pointer. @@ -53532,26 +20363,17 @@ class ObjCBlock_bool_NSURL_NSError extends objc.ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_bool_NSURL_NSError.fromFunctionPointer( - SwiftLibrary lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - )>> - ptr, - ) : this._( - objc.newBlock( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(_ObjCBlock_bool_NSURL_NSError_fnPtrTrampoline, false) - .cast(), - ptr.cast(), - ), - lib); + ffi.Pointer arg0, ffi.Pointer arg1)>> + ptr) + : this._(objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>( + _ObjCBlock_bool_NSURL_NSError_fnPtrTrampoline, false) + .cast(), + ptr.cast())); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -53559,63 +20381,210 @@ class ObjCBlock_bool_NSURL_NSError extends objc.ObjCBlockBase { /// This block must be invoked by native code running on the same thread as /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. - ObjCBlock_bool_NSURL_NSError.fromFunction( - SwiftLibrary lib, - bool Function(NSURL, NSError) fn, - ) : this._( - objc.newBlock( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(_ObjCBlock_bool_NSURL_NSError_closureTrampoline, false) - .cast(), - _ObjCBlock_bool_NSURL_NSError_registerClosure(( - ffi.Pointer arg0, - ffi.Pointer arg1, - ) => - fn( - NSURL._(arg0, lib, retain: true, release: true), - NSError._(arg1, lib, retain: true, release: true), - )), - ), - lib); + ObjCBlock_bool_NSURL_NSError.fromFunction(bool Function(NSURL, NSError) fn) + : this._(objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>( + _ObjCBlock_bool_NSURL_NSError_closureTrampoline, false) + .cast(), + _ObjCBlock_bool_NSURL_NSError_registerClosure( + (ffi.Pointer arg0, + ffi.Pointer arg1) => + fn(NSURL._(arg0, retain: true, release: true), NSError._(arg1, retain: true, release: true))))); static ffi.Pointer? _dartFuncTrampoline; bool call(NSURL arg0, NSError arg1) => pointer.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Pointer arg1, - )>>() - .asFunction< - bool Function( - ffi.Pointer, + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1)>>() + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>()( + pointer, arg0.pointer, arg1.pointer); +} + +late final _sel_enumeratorAtURL_includingPropertiesForKeys_options_errorHandler_ = + objc.registerName( + "enumeratorAtURL:includingPropertiesForKeys:options:errorHandler:"); +final _objc_msgSend_456 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer url, + ffi.Pointer keys, + ffi.Int32 mask, + ffi.Pointer handler)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, ffi.Pointer, ffi.Pointer, - )>()(pointer, arg0.pointer, arg1.pointer); -} + int, + ffi.Pointer)>(); +late final _sel_subpathsAtPath_ = objc.registerName("subpathsAtPath:"); +late final _sel_contentsAtPath_ = objc.registerName("contentsAtPath:"); +final _objc_msgSend_457 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer path)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_createFileAtPath_contents_attributes_ = + objc.registerName("createFileAtPath:contents:attributes:"); +final _objc_msgSend_458 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer path, + ffi.Pointer data, + ffi.Pointer attr)>>() + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_fileSystemRepresentationWithPath_ = + objc.registerName("fileSystemRepresentationWithPath:"); +final _objc_msgSend_459 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer path)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_stringWithFileSystemRepresentation_length_ = + objc.registerName("stringWithFileSystemRepresentation:length:"); +final _objc_msgSend_460 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer str, + ffi.UnsignedLong len)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer, int)>(); abstract class NSFileManagerItemReplacementOptions { static const int NSFileManagerItemReplacementUsingNewMetadataOnly = 1; static const int NSFileManagerItemReplacementWithoutDeletingBackupItem = 2; } +late final _sel_replaceItemAtURL_withItemAtURL_backupItemName_options_resultingItemURL_error_ = + objc.registerName( + "replaceItemAtURL:withItemAtURL:backupItemName:options:resultingItemURL:error:"); +final _objc_msgSend_461 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer originalItemURL, + ffi.Pointer newItemURL, + ffi.Pointer backupItemName, + ffi.Int32 options, + ffi.Pointer> resultingURL, + ffi.Pointer> error)>>() + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer>, + ffi.Pointer>)>(); +late final _sel_setUbiquitous_itemAtURL_destinationURL_error_ = + objc.registerName("setUbiquitous:itemAtURL:destinationURL:error:"); +final _objc_msgSend_462 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Bool flag, + ffi.Pointer url, + ffi.Pointer destinationURL, + ffi.Pointer> error)>>() + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + bool, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>(); +late final _sel_isUbiquitousItemAtURL_ = + objc.registerName("isUbiquitousItemAtURL:"); +late final _sel_startDownloadingUbiquitousItemAtURL_error_ = + objc.registerName("startDownloadingUbiquitousItemAtURL:error:"); +late final _sel_evictUbiquitousItemAtURL_error_ = + objc.registerName("evictUbiquitousItemAtURL:error:"); +late final _sel_URLForUbiquityContainerIdentifier_ = + objc.registerName("URLForUbiquityContainerIdentifier:"); +final _objc_msgSend_463 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer containerIdentifier)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_URLForPublishingUbiquitousItemAtURL_expirationDate_error_ = objc + .registerName("URLForPublishingUbiquitousItemAtURL:expirationDate:error:"); +final _objc_msgSend_464 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer url, + ffi.Pointer> outDate, + ffi.Pointer> error)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer>)>(); +late final _sel_ubiquityIdentityToken = + objc.registerName("ubiquityIdentityToken"); void _ObjCBlock_ffiVoid_NSDictionary_NSError_fnPtrTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Pointer arg1, -) => + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1) => block.ref.target .cast< ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - )>>() + ffi.Void Function(ffi.Pointer arg0, + ffi.Pointer arg1)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer)>()(arg0, arg1); @@ -53624,44 +20593,32 @@ final _ObjCBlock_ffiVoid_NSDictionary_NSError_closureRegistry = , ffi.Pointer)>{}; int _ObjCBlock_ffiVoid_NSDictionary_NSError_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_ffiVoid_NSDictionary_NSError_registerClosure( - void Function(ffi.Pointer, ffi.Pointer) fn, -) { + void Function(ffi.Pointer, ffi.Pointer) + fn) { final id = ++_ObjCBlock_ffiVoid_NSDictionary_NSError_closureRegistryIndex; _ObjCBlock_ffiVoid_NSDictionary_NSError_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } void _ObjCBlock_ffiVoid_NSDictionary_NSError_closureTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Pointer arg1, -) => + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1) => _ObjCBlock_ffiVoid_NSDictionary_NSError_closureRegistry[ block.ref.target.address]!(arg0, arg1); class ObjCBlock_ffiVoid_NSDictionary_NSError extends objc.ObjCBlockBase { - ObjCBlock_ffiVoid_NSDictionary_NSError._( - ffi.Pointer pointer, - this._lib, { - bool retain = false, - bool release = true, - }) : super(pointer, retain: retain, release: release); - - SwiftLibrary _lib; + ObjCBlock_ffiVoid_NSDictionary_NSError._(ffi.Pointer pointer, + {bool retain = false, bool release = true}) + : super(pointer, retain: retain, release: release); /// Returns a block that wraps the given raw block pointer. static ObjCBlock_ffiVoid_NSDictionary_NSError castFromPointer( - SwiftLibrary lib, - ffi.Pointer pointer, { - bool retain = false, - bool release = false, - }) { - return ObjCBlock_ffiVoid_NSDictionary_NSError._( - pointer, - lib, - retain: retain, - release: release, - ); + ffi.Pointer pointer, + {bool retain = false, + bool release = false}) { + return ObjCBlock_ffiVoid_NSDictionary_NSError._(pointer, + retain: retain, release: release); } /// Creates a block from a C function pointer. @@ -53670,27 +20627,20 @@ class ObjCBlock_ffiVoid_NSDictionary_NSError extends objc.ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSDictionary_NSError.fromFunctionPointer( - SwiftLibrary lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - )>> - ptr, - ) : this._( - objc.newBlock( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( + ffi.Pointer< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer arg0, + ffi.Pointer arg1)>> + ptr) + : this._(objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( ffi.Pointer, ffi.Pointer, - ffi.Pointer, - )>( - _ObjCBlock_ffiVoid_NSDictionary_NSError_fnPtrTrampoline) - .cast(), - ptr.cast(), - ), - lib); + ffi.Pointer)>( + _ObjCBlock_ffiVoid_NSDictionary_NSError_fnPtrTrampoline) + .cast(), + ptr.cast())); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -53698,34 +20648,19 @@ class ObjCBlock_ffiVoid_NSDictionary_NSError extends objc.ObjCBlockBase { /// This block must be invoked by native code running on the same thread as /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. - ObjCBlock_ffiVoid_NSDictionary_NSError.fromFunction( - SwiftLibrary lib, - void Function(NSDictionary?, NSError?) fn, - ) : this._( - objc.newBlock( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( + ObjCBlock_ffiVoid_NSDictionary_NSError.fromFunction(void Function(NSDictionary?, NSError?) fn) + : this._(objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( ffi.Pointer, ffi.Pointer, - ffi.Pointer, - )>( - _ObjCBlock_ffiVoid_NSDictionary_NSError_closureTrampoline) - .cast(), - _ObjCBlock_ffiVoid_NSDictionary_NSError_registerClosure(( - ffi.Pointer arg0, - ffi.Pointer arg1, - ) => - fn( - arg0.address == 0 - ? null - : NSDictionary._(arg0, lib, - retain: true, release: true), - arg1.address == 0 - ? null - : NSError._(arg1, lib, retain: true, release: true), - )), - ), - lib); + ffi.Pointer)>( + _ObjCBlock_ffiVoid_NSDictionary_NSError_closureTrampoline) + .cast(), + _ObjCBlock_ffiVoid_NSDictionary_NSError_registerClosure( + (ffi.Pointer arg0, ffi.Pointer arg1) => fn( + arg0.address == 0 ? null : NSDictionary._(arg0, retain: true, release: true), + arg1.address == 0 ? null : NSError._(arg1, retain: true, release: true))))); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -53738,2613 +20673,2364 @@ class ObjCBlock_ffiVoid_NSDictionary_NSError extends objc.ObjCBlockBase { /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. ObjCBlock_ffiVoid_NSDictionary_NSError.listener( - SwiftLibrary lib, - void Function(NSDictionary?, NSError?) fn, - ) : this._( - objc.newBlock( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>.listener( - _ObjCBlock_ffiVoid_NSDictionary_NSError_closureTrampoline, - )..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSDictionary_NSError_registerClosure(( - ffi.Pointer arg0, - ffi.Pointer arg1, - ) => - fn( - arg0.address == 0 - ? null - : NSDictionary._(arg0, lib, - retain: true, release: true), - arg1.address == 0 - ? null - : NSError._(arg1, lib, retain: true, release: true), - )), - ), - lib); + void Function(NSDictionary?, NSError?) fn) + : this._(objc.newBlock( + (_dartFuncListenerTrampoline ??= + ffi.NativeCallable, ffi.Pointer, ffi.Pointer)>.listener( + _ObjCBlock_ffiVoid_NSDictionary_NSError_closureTrampoline) + ..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSDictionary_NSError_registerClosure( + (ffi.Pointer arg0, + ffi.Pointer arg1) => + fn( + arg0.address == 0 + ? null + : NSDictionary._(arg0, retain: true, release: true), + arg1.address == 0 + ? null + : NSError._(arg1, retain: true, release: true))))); static ffi.NativeCallable< ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>? _dartFuncListenerTrampoline; + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>? _dartFuncListenerTrampoline; void call(NSDictionary? arg0, NSError? arg1) => pointer.ref.invoke .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Pointer arg1, - )>>() + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1)>>() .asFunction< void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>()( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>()( pointer, arg0?.pointer ?? ffi.nullptr, arg1?.pointer ?? ffi.nullptr); } +late final _sel_getFileProviderServicesForItemAtURL_completionHandler_ = + objc.registerName("getFileProviderServicesForItemAtURL:completionHandler:"); +final _objc_msgSend_465 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer url, + ffi.Pointer completionHandler)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_containerURLForSecurityApplicationGroupIdentifier_ = + objc.registerName("containerURLForSecurityApplicationGroupIdentifier:"); +late final _sel_homeDirectoryForCurrentUser = + objc.registerName("homeDirectoryForCurrentUser"); +final _objc_msgSend_466 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_temporaryDirectory = objc.registerName("temporaryDirectory"); +late final _sel_homeDirectoryForUser_ = + objc.registerName("homeDirectoryForUser:"); +late final _sel_fileManager_shouldProceedAfterError_ = + objc.registerName("fileManager:shouldProceedAfterError:"); +final _objc_msgSend_467 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer fm, + ffi.Pointer errorInfo)>>() + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_fileManager_willProcessPath_ = + objc.registerName("fileManager:willProcessPath:"); +final _objc_msgSend_468 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer fm, + ffi.Pointer path)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_validateValue_forKey_error_ = + objc.registerName("validateValue:forKey:error:"); + class NSMutableArray extends NSArray { - NSMutableArray._( - ffi.Pointer pointer, - SwiftLibrary lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSMutableArray._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSMutableArray] that points to the same underlying object as [other]. - static NSMutableArray castFrom( - SwiftLibrary lib, - T other, - ) { - return NSMutableArray._(other.pointer, lib, retain: true, release: true); + static NSMutableArray castFrom(T other) { + return NSMutableArray._(other.pointer, retain: true, release: true); } /// Returns a [NSMutableArray] that wraps the given raw object pointer. - static NSMutableArray castFromPointer( - SwiftLibrary lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSMutableArray._(other, lib, retain: retain, release: release); + static NSMutableArray castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSMutableArray._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSMutableArray]. - static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSMutableArray1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0( + obj.pointer, _sel_isKindOfClass_, _class_NSMutableArray); } void addObject_(NSObject anObject) { - _lib._objc_msgSend_15( - this.pointer, - _lib._sel_addObject_1, - anObject.pointer, - ); + _objc_msgSend_15(this.pointer, _sel_addObject_, anObject.pointer); } void insertObject_atIndex_(NSObject anObject, int index) { - _lib._objc_msgSend_469( - this.pointer, - _lib._sel_insertObject_atIndex_1, - anObject.pointer, - index, - ); + _objc_msgSend_469( + this.pointer, _sel_insertObject_atIndex_, anObject.pointer, index); } void removeLastObject() { - _lib._objc_msgSend_1(this.pointer, _lib._sel_removeLastObject1); + _objc_msgSend_1(this.pointer, _sel_removeLastObject); } void removeObjectAtIndex_(int index) { - _lib._objc_msgSend_470( - this.pointer, - _lib._sel_removeObjectAtIndex_1, - index, - ); + _objc_msgSend_470(this.pointer, _sel_removeObjectAtIndex_, index); } void replaceObjectAtIndex_withObject_(int index, NSObject anObject) { - _lib._objc_msgSend_471( - this.pointer, - _lib._sel_replaceObjectAtIndex_withObject_1, - index, - anObject.pointer, - ); + _objc_msgSend_471(this.pointer, _sel_replaceObjectAtIndex_withObject_, + index, anObject.pointer); } @override NSMutableArray init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSMutableArray._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSMutableArray._(_ret, retain: true, release: true); } NSMutableArray initWithCapacity_(int numItems) { - final _ret = _lib._objc_msgSend_65( - this.pointer, - _lib._sel_initWithCapacity_1, - numItems, - ); - return NSMutableArray._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_65(this.pointer, _sel_initWithCapacity_, numItems); + return NSMutableArray._(_ret, retain: true, release: true); } @override NSMutableArray? initWithCoder_(NSCoder coder) { - final _ret = _lib._objc_msgSend_47( - this.pointer, - _lib._sel_initWithCoder_1, - coder.pointer, - ); + final _ret = + _objc_msgSend_47(this.pointer, _sel_initWithCoder_, coder.pointer); return _ret.address == 0 ? null - : NSMutableArray._(_ret, _lib, retain: true, release: true); + : NSMutableArray._(_ret, retain: true, release: true); } void addObjectsFromArray_(NSArray otherArray) { - _lib._objc_msgSend_472( - this.pointer, - _lib._sel_addObjectsFromArray_1, - otherArray.pointer, - ); + _objc_msgSend_472( + this.pointer, _sel_addObjectsFromArray_, otherArray.pointer); } void exchangeObjectAtIndex_withObjectAtIndex_(int idx1, int idx2) { - _lib._objc_msgSend_473( - this.pointer, - _lib._sel_exchangeObjectAtIndex_withObjectAtIndex_1, - idx1, - idx2, - ); + _objc_msgSend_473(this.pointer, + _sel_exchangeObjectAtIndex_withObjectAtIndex_, idx1, idx2); } void removeAllObjects() { - _lib._objc_msgSend_1(this.pointer, _lib._sel_removeAllObjects1); + _objc_msgSend_1(this.pointer, _sel_removeAllObjects); } void removeObject_inRange_(NSObject anObject, _NSRange range) { - _lib._objc_msgSend_474( - this.pointer, - _lib._sel_removeObject_inRange_1, - anObject.pointer, - range, - ); + _objc_msgSend_474( + this.pointer, _sel_removeObject_inRange_, anObject.pointer, range); } void removeObject_(NSObject anObject) { - _lib._objc_msgSend_15( - this.pointer, - _lib._sel_removeObject_1, - anObject.pointer, - ); + _objc_msgSend_15(this.pointer, _sel_removeObject_, anObject.pointer); } void removeObjectIdenticalTo_inRange_(NSObject anObject, _NSRange range) { - _lib._objc_msgSend_474( - this.pointer, - _lib._sel_removeObjectIdenticalTo_inRange_1, - anObject.pointer, - range, - ); + _objc_msgSend_474(this.pointer, _sel_removeObjectIdenticalTo_inRange_, + anObject.pointer, range); } void removeObjectIdenticalTo_(NSObject anObject) { - _lib._objc_msgSend_15( - this.pointer, - _lib._sel_removeObjectIdenticalTo_1, - anObject.pointer, - ); + _objc_msgSend_15( + this.pointer, _sel_removeObjectIdenticalTo_, anObject.pointer); } void removeObjectsFromIndices_numIndices_( - ffi.Pointer indices, - int cnt, - ) { - _lib._objc_msgSend_475( - this.pointer, - _lib._sel_removeObjectsFromIndices_numIndices_1, - indices, - cnt, - ); + ffi.Pointer indices, int cnt) { + _objc_msgSend_475( + this.pointer, _sel_removeObjectsFromIndices_numIndices_, indices, cnt); } void removeObjectsInArray_(NSArray otherArray) { - _lib._objc_msgSend_472( - this.pointer, - _lib._sel_removeObjectsInArray_1, - otherArray.pointer, - ); + _objc_msgSend_472( + this.pointer, _sel_removeObjectsInArray_, otherArray.pointer); } void removeObjectsInRange_(_NSRange range) { - _lib._objc_msgSend_476( - this.pointer, - _lib._sel_removeObjectsInRange_1, - range, - ); + _objc_msgSend_476(this.pointer, _sel_removeObjectsInRange_, range); } void replaceObjectsInRange_withObjectsFromArray_range_( - _NSRange range, - NSArray otherArray, - _NSRange otherRange, - ) { - _lib._objc_msgSend_477( - this.pointer, - _lib._sel_replaceObjectsInRange_withObjectsFromArray_range_1, - range, - otherArray.pointer, - otherRange, - ); + _NSRange range, NSArray otherArray, _NSRange otherRange) { + _objc_msgSend_477( + this.pointer, + _sel_replaceObjectsInRange_withObjectsFromArray_range_, + range, + otherArray.pointer, + otherRange); } void replaceObjectsInRange_withObjectsFromArray_( - _NSRange range, - NSArray otherArray, - ) { - _lib._objc_msgSend_478( - this.pointer, - _lib._sel_replaceObjectsInRange_withObjectsFromArray_1, - range, - otherArray.pointer, - ); + _NSRange range, NSArray otherArray) { + _objc_msgSend_478( + this.pointer, + _sel_replaceObjectsInRange_withObjectsFromArray_, + range, + otherArray.pointer); } void setArray_(NSArray otherArray) { - _lib._objc_msgSend_472( - this.pointer, - _lib._sel_setArray_1, - otherArray.pointer, - ); + _objc_msgSend_472(this.pointer, _sel_setArray_, otherArray.pointer); } void sortUsingFunction_context_( - ffi.Pointer< - ffi.NativeFunction< - ffi.Long Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>> - compare, - ffi.Pointer context, - ) { - _lib._objc_msgSend_479( - this.pointer, - _lib._sel_sortUsingFunction_context_1, - compare, - context, - ); + ffi.Pointer< + ffi.NativeFunction< + ffi.Long Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>> + compare, + ffi.Pointer context) { + _objc_msgSend_479( + this.pointer, _sel_sortUsingFunction_context_, compare, context); } void sortUsingSelector_(ffi.Pointer comparator) { - _lib._objc_msgSend_7( - this.pointer, - _lib._sel_sortUsingSelector_1, - comparator, - ); + _objc_msgSend_7(this.pointer, _sel_sortUsingSelector_, comparator); } void insertObjects_atIndexes_(NSArray objects, NSIndexSet indexes) { - _lib._objc_msgSend_480( - this.pointer, - _lib._sel_insertObjects_atIndexes_1, - objects.pointer, - indexes.pointer, - ); + _objc_msgSend_480(this.pointer, _sel_insertObjects_atIndexes_, + objects.pointer, indexes.pointer); } void removeObjectsAtIndexes_(NSIndexSet indexes) { - _lib._objc_msgSend_481( - this.pointer, - _lib._sel_removeObjectsAtIndexes_1, - indexes.pointer, - ); + _objc_msgSend_481( + this.pointer, _sel_removeObjectsAtIndexes_, indexes.pointer); } void replaceObjectsAtIndexes_withObjects_( - NSIndexSet indexes, - NSArray objects, - ) { - _lib._objc_msgSend_482( - this.pointer, - _lib._sel_replaceObjectsAtIndexes_withObjects_1, - indexes.pointer, - objects.pointer, - ); + NSIndexSet indexes, NSArray objects) { + _objc_msgSend_482(this.pointer, _sel_replaceObjectsAtIndexes_withObjects_, + indexes.pointer, objects.pointer); } void setObject_atIndexedSubscript_(NSObject obj, int idx) { - _lib._objc_msgSend_469( - this.pointer, - _lib._sel_setObject_atIndexedSubscript_1, - obj.pointer, - idx, - ); + _objc_msgSend_469( + this.pointer, _sel_setObject_atIndexedSubscript_, obj.pointer, idx); } void sortUsingComparator_( - ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject cmptr, - ) { - _lib._objc_msgSend_483( - this.pointer, - _lib._sel_sortUsingComparator_1, - cmptr.pointer, - ); + ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject cmptr) { + _objc_msgSend_483(this.pointer, _sel_sortUsingComparator_, cmptr.pointer); } - void sortWithOptions_usingComparator_( - int opts, - ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject cmptr, - ) { - _lib._objc_msgSend_484( - this.pointer, - _lib._sel_sortWithOptions_usingComparator_1, - opts, - cmptr.pointer, - ); + void sortWithOptions_usingComparator_(int opts, + ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject cmptr) { + _objc_msgSend_484(this.pointer, _sel_sortWithOptions_usingComparator_, opts, + cmptr.pointer); } - static NSMutableArray arrayWithCapacity_(SwiftLibrary _lib, int numItems) { - final _ret = _lib._objc_msgSend_65( - _lib._class_NSMutableArray1, - _lib._sel_arrayWithCapacity_1, - numItems, - ); - return NSMutableArray._(_ret, _lib, retain: true, release: true); + static NSMutableArray arrayWithCapacity_(int numItems) { + final _ret = _objc_msgSend_65( + _class_NSMutableArray, _sel_arrayWithCapacity_, numItems); + return NSMutableArray._(_ret, retain: true, release: true); } - static NSMutableArray? arrayWithContentsOfFile_( - SwiftLibrary _lib, - NSString path, - ) { - final _ret = _lib._objc_msgSend_485( - _lib._class_NSMutableArray1, - _lib._sel_arrayWithContentsOfFile_1, - path.pointer, - ); + static NSMutableArray? arrayWithContentsOfFile_(NSString path) { + final _ret = _objc_msgSend_485( + _class_NSMutableArray, _sel_arrayWithContentsOfFile_, path.pointer); return _ret.address == 0 ? null - : NSMutableArray._(_ret, _lib, retain: true, release: true); + : NSMutableArray._(_ret, retain: true, release: true); } - static NSMutableArray? arrayWithContentsOfURL_(SwiftLibrary _lib, NSURL url) { - final _ret = _lib._objc_msgSend_486( - _lib._class_NSMutableArray1, - _lib._sel_arrayWithContentsOfURL_1, - url.pointer, - ); + static NSMutableArray? arrayWithContentsOfURL_(NSURL url) { + final _ret = _objc_msgSend_486( + _class_NSMutableArray, _sel_arrayWithContentsOfURL_, url.pointer); return _ret.address == 0 ? null - : NSMutableArray._(_ret, _lib, retain: true, release: true); + : NSMutableArray._(_ret, retain: true, release: true); } NSMutableArray? initWithContentsOfFile_(NSString path) { - final _ret = _lib._objc_msgSend_485( - this.pointer, - _lib._sel_initWithContentsOfFile_1, - path.pointer, - ); + final _ret = _objc_msgSend_485( + this.pointer, _sel_initWithContentsOfFile_, path.pointer); return _ret.address == 0 ? null - : NSMutableArray._(_ret, _lib, retain: true, release: true); + : NSMutableArray._(_ret, retain: true, release: true); } NSMutableArray? initWithContentsOfURL_(NSURL url) { - final _ret = _lib._objc_msgSend_486( - this.pointer, - _lib._sel_initWithContentsOfURL_1, - url.pointer, - ); + final _ret = _objc_msgSend_486( + this.pointer, _sel_initWithContentsOfURL_, url.pointer); return _ret.address == 0 ? null - : NSMutableArray._(_ret, _lib, retain: true, release: true); + : NSMutableArray._(_ret, retain: true, release: true); } void applyDifference_(NSObject difference) { - _lib._objc_msgSend_15( - this.pointer, - _lib._sel_applyDifference_1, - difference.pointer, - ); + _objc_msgSend_15(this.pointer, _sel_applyDifference_, difference.pointer); } void sortUsingDescriptors_(NSArray sortDescriptors) { - _lib._objc_msgSend_472( - this.pointer, - _lib._sel_sortUsingDescriptors_1, - sortDescriptors.pointer, - ); + _objc_msgSend_472( + this.pointer, _sel_sortUsingDescriptors_, sortDescriptors.pointer); } void filterUsingPredicate_(NSPredicate predicate) { - _lib._objc_msgSend_487( - this.pointer, - _lib._sel_filterUsingPredicate_1, - predicate.pointer, - ); + _objc_msgSend_487( + this.pointer, _sel_filterUsingPredicate_, predicate.pointer); } @override NSMutableArray initWithObjects_count_( - ffi.Pointer> objects, - int cnt, - ) { - final _ret = _lib._objc_msgSend_66( - this.pointer, - _lib._sel_initWithObjects_count_1, - objects, - cnt, - ); - return NSMutableArray._(_ret, _lib, retain: true, release: true); - } - - static NSMutableArray array(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSMutableArray1, - _lib._sel_array1, - ); - return NSMutableArray._(_ret, _lib, retain: true, release: true); - } - - static NSMutableArray arrayWithObject_(SwiftLibrary _lib, NSObject anObject) { - final _ret = _lib._objc_msgSend_124( - _lib._class_NSMutableArray1, - _lib._sel_arrayWithObject_1, - anObject.pointer, - ); - return NSMutableArray._(_ret, _lib, retain: true, release: true); + ffi.Pointer> objects, int cnt) { + final _ret = _objc_msgSend_66( + this.pointer, _sel_initWithObjects_count_, objects, cnt); + return NSMutableArray._(_ret, retain: true, release: true); + } + + static NSMutableArray array() { + final _ret = _objc_msgSend_2(_class_NSMutableArray, _sel_array); + return NSMutableArray._(_ret, retain: true, release: true); + } + + static NSMutableArray arrayWithObject_(NSObject anObject) { + final _ret = _objc_msgSend_124( + _class_NSMutableArray, _sel_arrayWithObject_, anObject.pointer); + return NSMutableArray._(_ret, retain: true, release: true); } static NSMutableArray arrayWithObjects_count_( - SwiftLibrary _lib, - ffi.Pointer> objects, - int cnt, - ) { - final _ret = _lib._objc_msgSend_66( - _lib._class_NSMutableArray1, - _lib._sel_arrayWithObjects_count_1, - objects, - cnt, - ); - return NSMutableArray._(_ret, _lib, retain: true, release: true); - } - - static NSMutableArray arrayWithObjects_( - SwiftLibrary _lib, - NSObject firstObj, - ) { - final _ret = _lib._objc_msgSend_124( - _lib._class_NSMutableArray1, - _lib._sel_arrayWithObjects_1, - firstObj.pointer, - ); - return NSMutableArray._(_ret, _lib, retain: true, release: true); - } - - static NSMutableArray arrayWithArray_(SwiftLibrary _lib, NSArray array) { - final _ret = _lib._objc_msgSend_125( - _lib._class_NSMutableArray1, - _lib._sel_arrayWithArray_1, - array.pointer, - ); - return NSMutableArray._(_ret, _lib, retain: true, release: true); + ffi.Pointer> objects, int cnt) { + final _ret = _objc_msgSend_66( + _class_NSMutableArray, _sel_arrayWithObjects_count_, objects, cnt); + return NSMutableArray._(_ret, retain: true, release: true); + } + + static NSMutableArray arrayWithObjects_(NSObject firstObj) { + final _ret = _objc_msgSend_124( + _class_NSMutableArray, _sel_arrayWithObjects_, firstObj.pointer); + return NSMutableArray._(_ret, retain: true, release: true); + } + + static NSMutableArray arrayWithArray_(NSArray array) { + final _ret = _objc_msgSend_125( + _class_NSMutableArray, _sel_arrayWithArray_, array.pointer); + return NSMutableArray._(_ret, retain: true, release: true); } @override NSMutableArray initWithObjects_(NSObject firstObj) { - final _ret = _lib._objc_msgSend_124( - this.pointer, - _lib._sel_initWithObjects_1, - firstObj.pointer, - ); - return NSMutableArray._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_124( + this.pointer, _sel_initWithObjects_, firstObj.pointer); + return NSMutableArray._(_ret, retain: true, release: true); } @override NSMutableArray initWithArray_(NSArray array) { - final _ret = _lib._objc_msgSend_125( - this.pointer, - _lib._sel_initWithArray_1, - array.pointer, - ); - return NSMutableArray._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_125(this.pointer, _sel_initWithArray_, array.pointer); + return NSMutableArray._(_ret, retain: true, release: true); } @override NSMutableArray initWithArray_copyItems_(NSArray array, bool flag) { - final _ret = _lib._objc_msgSend_126( - this.pointer, - _lib._sel_initWithArray_copyItems_1, - array.pointer, - flag, - ); - return NSMutableArray._(_ret, _lib, retain: false, release: true); + final _ret = _objc_msgSend_126( + this.pointer, _sel_initWithArray_copyItems_, array.pointer, flag); + return NSMutableArray._(_ret, retain: false, release: true); } static NSArray? arrayWithContentsOfURL_error_( - SwiftLibrary _lib, - NSURL url, - ffi.Pointer> error, - ) { - final _ret = _lib._objc_msgSend_127( - _lib._class_NSMutableArray1, - _lib._sel_arrayWithContentsOfURL_error_1, - url.pointer, - error, - ); + NSURL url, ffi.Pointer> error) { + final _ret = _objc_msgSend_127(_class_NSMutableArray, + _sel_arrayWithContentsOfURL_error_, url.pointer, error); return _ret.address == 0 ? null - : NSArray._(_ret, _lib, retain: true, release: true); + : NSArray._(_ret, retain: true, release: true); } - static NSMutableArray new1(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSMutableArray1, - _lib._sel_new1, - ); - return NSMutableArray._(_ret, _lib, retain: false, release: true); + static NSMutableArray new1() { + final _ret = _objc_msgSend_2(_class_NSMutableArray, _sel_new); + return NSMutableArray._(_ret, retain: false, release: true); } - static NSMutableArray allocWithZone_( - SwiftLibrary _lib, - ffi.Pointer<_NSZone> zone, - ) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSMutableArray1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSMutableArray._(_ret, _lib, retain: false, release: true); + static NSMutableArray allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = + _objc_msgSend_3(_class_NSMutableArray, _sel_allocWithZone_, zone); + return NSMutableArray._(_ret, retain: false, release: true); } - static NSMutableArray alloc(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSMutableArray1, - _lib._sel_alloc1, - ); - return NSMutableArray._(_ret, _lib, retain: false, release: true); + static NSMutableArray alloc() { + final _ret = _objc_msgSend_2(_class_NSMutableArray, _sel_alloc); + return NSMutableArray._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSMutableArray1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSMutableArray1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSMutableArray1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSMutableArray1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSMutableArray1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSMutableArray1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSMutableArray, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); } - static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSMutableArray1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSMutableArray1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSMutableArray1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSMutableArray, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); } -} + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSMutableArray, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSMutableArray, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSMutableArray, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSMutableArray, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); + } + + static void setKeys_triggerChangeNotificationsForDependentKey_( + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSMutableArray, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = _objc_msgSend_85( + _class_NSMutableArray, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = + _objc_msgSend_2(_class_NSMutableArray, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); + } +} + +late final _class_NSMutableArray = objc.getClass("NSMutableArray"); +late final _sel_addObject_ = objc.registerName("addObject:"); +late final _sel_insertObject_atIndex_ = + objc.registerName("insertObject:atIndex:"); +final _objc_msgSend_469 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer anObject, + ffi.UnsignedLong index)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int)>(); +late final _sel_removeLastObject = objc.registerName("removeLastObject"); +late final _sel_removeObjectAtIndex_ = + objc.registerName("removeObjectAtIndex:"); +final _objc_msgSend_470 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer obj, + ffi.Pointer sel, ffi.UnsignedLong index)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, int)>(); +late final _sel_replaceObjectAtIndex_withObject_ = + objc.registerName("replaceObjectAtIndex:withObject:"); +final _objc_msgSend_471 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.UnsignedLong index, + ffi.Pointer anObject)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer)>(); +late final _sel_initWithCapacity_ = objc.registerName("initWithCapacity:"); +late final _sel_addObjectsFromArray_ = + objc.registerName("addObjectsFromArray:"); +final _objc_msgSend_472 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer otherArray)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_exchangeObjectAtIndex_withObjectAtIndex_ = + objc.registerName("exchangeObjectAtIndex:withObjectAtIndex:"); +final _objc_msgSend_473 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.UnsignedLong idx1, + ffi.UnsignedLong idx2)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, int, int)>(); +late final _sel_removeAllObjects = objc.registerName("removeAllObjects"); +late final _sel_removeObject_inRange_ = + objc.registerName("removeObject:inRange:"); +final _objc_msgSend_474 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer anObject, + _NSRange range)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange)>(); +late final _sel_removeObject_ = objc.registerName("removeObject:"); +late final _sel_removeObjectIdenticalTo_inRange_ = + objc.registerName("removeObjectIdenticalTo:inRange:"); +late final _sel_removeObjectIdenticalTo_ = + objc.registerName("removeObjectIdenticalTo:"); +late final _sel_removeObjectsFromIndices_numIndices_ = + objc.registerName("removeObjectsFromIndices:numIndices:"); +final _objc_msgSend_475 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer indices, + ffi.UnsignedLong cnt)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int)>(); +late final _sel_removeObjectsInArray_ = + objc.registerName("removeObjectsInArray:"); +late final _sel_removeObjectsInRange_ = + objc.registerName("removeObjectsInRange:"); +final _objc_msgSend_476 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer obj, + ffi.Pointer sel, _NSRange range)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, _NSRange)>(); +late final _sel_replaceObjectsInRange_withObjectsFromArray_range_ = + objc.registerName("replaceObjectsInRange:withObjectsFromArray:range:"); +final _objc_msgSend_477 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + _NSRange range, + ffi.Pointer otherArray, + _NSRange otherRange)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + _NSRange)>(); +late final _sel_replaceObjectsInRange_withObjectsFromArray_ = + objc.registerName("replaceObjectsInRange:withObjectsFromArray:"); +final _objc_msgSend_478 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + _NSRange range, + ffi.Pointer otherArray)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer)>(); +late final _sel_setArray_ = objc.registerName("setArray:"); +late final _sel_sortUsingFunction_context_ = + objc.registerName("sortUsingFunction:context:"); +final _objc_msgSend_479 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer< + ffi.NativeFunction< + ffi.Long Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>> + compare, + ffi.Pointer context)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.Long Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>>, + ffi.Pointer)>(); +late final _sel_sortUsingSelector_ = objc.registerName("sortUsingSelector:"); +late final _sel_insertObjects_atIndexes_ = + objc.registerName("insertObjects:atIndexes:"); +final _objc_msgSend_480 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer objects, + ffi.Pointer indexes)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_removeObjectsAtIndexes_ = + objc.registerName("removeObjectsAtIndexes:"); +final _objc_msgSend_481 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer indexes)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_replaceObjectsAtIndexes_withObjects_ = + objc.registerName("replaceObjectsAtIndexes:withObjects:"); +final _objc_msgSend_482 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer indexes, + ffi.Pointer objects)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_setObject_atIndexedSubscript_ = + objc.registerName("setObject:atIndexedSubscript:"); +late final _sel_sortUsingComparator_ = + objc.registerName("sortUsingComparator:"); +final _objc_msgSend_483 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer cmptr)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_sortWithOptions_usingComparator_ = + objc.registerName("sortWithOptions:usingComparator:"); +final _objc_msgSend_484 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Int32 opts, + ffi.Pointer cmptr)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer)>(); +late final _sel_arrayWithCapacity_ = objc.registerName("arrayWithCapacity:"); +final _objc_msgSend_485 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer path)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +final _objc_msgSend_486 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer url)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_applyDifference_ = objc.registerName("applyDifference:"); +late final _sel_sortUsingDescriptors_ = + objc.registerName("sortUsingDescriptors:"); +late final _sel_filterUsingPredicate_ = + objc.registerName("filterUsingPredicate:"); +final _objc_msgSend_487 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer predicate)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_mutableArrayValueForKey_ = + objc.registerName("mutableArrayValueForKey:"); +final _objc_msgSend_488 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer key)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); class NSMutableOrderedSet extends NSOrderedSet { - NSMutableOrderedSet._( - ffi.Pointer pointer, - SwiftLibrary lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSMutableOrderedSet._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSMutableOrderedSet] that points to the same underlying object as [other]. - static NSMutableOrderedSet castFrom( - SwiftLibrary lib, - T other, - ) { - return NSMutableOrderedSet._( - other.pointer, - lib, - retain: true, - release: true, - ); + static NSMutableOrderedSet castFrom(T other) { + return NSMutableOrderedSet._(other.pointer, retain: true, release: true); } /// Returns a [NSMutableOrderedSet] that wraps the given raw object pointer. - static NSMutableOrderedSet castFromPointer( - SwiftLibrary lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSMutableOrderedSet._(other, lib, retain: retain, release: release); + static NSMutableOrderedSet castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSMutableOrderedSet._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSMutableOrderedSet]. - static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSMutableOrderedSet1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0( + obj.pointer, _sel_isKindOfClass_, _class_NSMutableOrderedSet); } void insertObject_atIndex_(NSObject object, int idx) { - _lib._objc_msgSend_469( - this.pointer, - _lib._sel_insertObject_atIndex_1, - object.pointer, - idx, - ); + _objc_msgSend_469( + this.pointer, _sel_insertObject_atIndex_, object.pointer, idx); } void removeObjectAtIndex_(int idx) { - _lib._objc_msgSend_470(this.pointer, _lib._sel_removeObjectAtIndex_1, idx); + _objc_msgSend_470(this.pointer, _sel_removeObjectAtIndex_, idx); } void replaceObjectAtIndex_withObject_(int idx, NSObject object) { - _lib._objc_msgSend_471( - this.pointer, - _lib._sel_replaceObjectAtIndex_withObject_1, - idx, - object.pointer, - ); + _objc_msgSend_471(this.pointer, _sel_replaceObjectAtIndex_withObject_, idx, + object.pointer); } @override NSMutableOrderedSet? initWithCoder_(NSCoder coder) { - final _ret = _lib._objc_msgSend_47( - this.pointer, - _lib._sel_initWithCoder_1, - coder.pointer, - ); + final _ret = + _objc_msgSend_47(this.pointer, _sel_initWithCoder_, coder.pointer); return _ret.address == 0 ? null - : NSMutableOrderedSet._(_ret, _lib, retain: true, release: true); + : NSMutableOrderedSet._(_ret, retain: true, release: true); } @override NSMutableOrderedSet init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSMutableOrderedSet._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSMutableOrderedSet._(_ret, retain: true, release: true); } NSMutableOrderedSet initWithCapacity_(int numItems) { - final _ret = _lib._objc_msgSend_65( - this.pointer, - _lib._sel_initWithCapacity_1, - numItems, - ); - return NSMutableOrderedSet._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_65(this.pointer, _sel_initWithCapacity_, numItems); + return NSMutableOrderedSet._(_ret, retain: true, release: true); } void addObject_(NSObject object) { - _lib._objc_msgSend_15(this.pointer, _lib._sel_addObject_1, object.pointer); + _objc_msgSend_15(this.pointer, _sel_addObject_, object.pointer); } void addObjects_count_( - ffi.Pointer> objects, - int count, - ) { - _lib._objc_msgSend_500( - this.pointer, - _lib._sel_addObjects_count_1, - objects, - count, - ); + ffi.Pointer> objects, int count) { + _objc_msgSend_500(this.pointer, _sel_addObjects_count_, objects, count); } void addObjectsFromArray_(NSArray array) { - _lib._objc_msgSend_472( - this.pointer, - _lib._sel_addObjectsFromArray_1, - array.pointer, - ); + _objc_msgSend_472(this.pointer, _sel_addObjectsFromArray_, array.pointer); } void exchangeObjectAtIndex_withObjectAtIndex_(int idx1, int idx2) { - _lib._objc_msgSend_473( - this.pointer, - _lib._sel_exchangeObjectAtIndex_withObjectAtIndex_1, - idx1, - idx2, - ); + _objc_msgSend_473(this.pointer, + _sel_exchangeObjectAtIndex_withObjectAtIndex_, idx1, idx2); } void moveObjectsAtIndexes_toIndex_(NSIndexSet indexes, int idx) { - _lib._objc_msgSend_501( - this.pointer, - _lib._sel_moveObjectsAtIndexes_toIndex_1, - indexes.pointer, - idx, - ); + _objc_msgSend_501( + this.pointer, _sel_moveObjectsAtIndexes_toIndex_, indexes.pointer, idx); } void insertObjects_atIndexes_(NSArray objects, NSIndexSet indexes) { - _lib._objc_msgSend_480( - this.pointer, - _lib._sel_insertObjects_atIndexes_1, - objects.pointer, - indexes.pointer, - ); + _objc_msgSend_480(this.pointer, _sel_insertObjects_atIndexes_, + objects.pointer, indexes.pointer); } void setObject_atIndex_(NSObject obj, int idx) { - _lib._objc_msgSend_469( - this.pointer, - _lib._sel_setObject_atIndex_1, - obj.pointer, - idx, - ); + _objc_msgSend_469(this.pointer, _sel_setObject_atIndex_, obj.pointer, idx); } void setObject_atIndexedSubscript_(NSObject obj, int idx) { - _lib._objc_msgSend_469( - this.pointer, - _lib._sel_setObject_atIndexedSubscript_1, - obj.pointer, - idx, - ); - } - - void replaceObjectsInRange_withObjects_count_( - _NSRange range, - ffi.Pointer> objects, - int count, - ) { - _lib._objc_msgSend_502( - this.pointer, - _lib._sel_replaceObjectsInRange_withObjects_count_1, - range, - objects, - count, - ); + _objc_msgSend_469( + this.pointer, _sel_setObject_atIndexedSubscript_, obj.pointer, idx); + } + + void replaceObjectsInRange_withObjects_count_(_NSRange range, + ffi.Pointer> objects, int count) { + _objc_msgSend_502(this.pointer, + _sel_replaceObjectsInRange_withObjects_count_, range, objects, count); } void replaceObjectsAtIndexes_withObjects_( - NSIndexSet indexes, - NSArray objects, - ) { - _lib._objc_msgSend_482( - this.pointer, - _lib._sel_replaceObjectsAtIndexes_withObjects_1, - indexes.pointer, - objects.pointer, - ); + NSIndexSet indexes, NSArray objects) { + _objc_msgSend_482(this.pointer, _sel_replaceObjectsAtIndexes_withObjects_, + indexes.pointer, objects.pointer); } void removeObjectsInRange_(_NSRange range) { - _lib._objc_msgSend_476( - this.pointer, - _lib._sel_removeObjectsInRange_1, - range, - ); + _objc_msgSend_476(this.pointer, _sel_removeObjectsInRange_, range); } void removeObjectsAtIndexes_(NSIndexSet indexes) { - _lib._objc_msgSend_481( - this.pointer, - _lib._sel_removeObjectsAtIndexes_1, - indexes.pointer, - ); + _objc_msgSend_481( + this.pointer, _sel_removeObjectsAtIndexes_, indexes.pointer); } void removeAllObjects() { - _lib._objc_msgSend_1(this.pointer, _lib._sel_removeAllObjects1); + _objc_msgSend_1(this.pointer, _sel_removeAllObjects); } void removeObject_(NSObject object) { - _lib._objc_msgSend_15( - this.pointer, - _lib._sel_removeObject_1, - object.pointer, - ); + _objc_msgSend_15(this.pointer, _sel_removeObject_, object.pointer); } void removeObjectsInArray_(NSArray array) { - _lib._objc_msgSend_472( - this.pointer, - _lib._sel_removeObjectsInArray_1, - array.pointer, - ); + _objc_msgSend_472(this.pointer, _sel_removeObjectsInArray_, array.pointer); } void intersectOrderedSet_(NSOrderedSet other) { - _lib._objc_msgSend_503( - this.pointer, - _lib._sel_intersectOrderedSet_1, - other.pointer, - ); + _objc_msgSend_503(this.pointer, _sel_intersectOrderedSet_, other.pointer); } void minusOrderedSet_(NSOrderedSet other) { - _lib._objc_msgSend_503( - this.pointer, - _lib._sel_minusOrderedSet_1, - other.pointer, - ); + _objc_msgSend_503(this.pointer, _sel_minusOrderedSet_, other.pointer); } void unionOrderedSet_(NSOrderedSet other) { - _lib._objc_msgSend_503( - this.pointer, - _lib._sel_unionOrderedSet_1, - other.pointer, - ); + _objc_msgSend_503(this.pointer, _sel_unionOrderedSet_, other.pointer); } void intersectSet_(NSSet other) { - _lib._objc_msgSend_504( - this.pointer, - _lib._sel_intersectSet_1, - other.pointer, - ); + _objc_msgSend_504(this.pointer, _sel_intersectSet_, other.pointer); } void minusSet_(NSSet other) { - _lib._objc_msgSend_504(this.pointer, _lib._sel_minusSet_1, other.pointer); + _objc_msgSend_504(this.pointer, _sel_minusSet_, other.pointer); } void unionSet_(NSSet other) { - _lib._objc_msgSend_504(this.pointer, _lib._sel_unionSet_1, other.pointer); + _objc_msgSend_504(this.pointer, _sel_unionSet_, other.pointer); } void sortUsingComparator_( - ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject cmptr, - ) { - _lib._objc_msgSend_483( - this.pointer, - _lib._sel_sortUsingComparator_1, - cmptr.pointer, - ); - } - - void sortWithOptions_usingComparator_( - int opts, - ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject cmptr, - ) { - _lib._objc_msgSend_484( - this.pointer, - _lib._sel_sortWithOptions_usingComparator_1, - opts, - cmptr.pointer, - ); - } - - void sortRange_options_usingComparator_( - _NSRange range, - int opts, - ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject cmptr, - ) { - _lib._objc_msgSend_505( - this.pointer, - _lib._sel_sortRange_options_usingComparator_1, - range, - opts, - cmptr.pointer, - ); - } - - static NSMutableOrderedSet orderedSetWithCapacity_( - SwiftLibrary _lib, - int numItems, - ) { - final _ret = _lib._objc_msgSend_65( - _lib._class_NSMutableOrderedSet1, - _lib._sel_orderedSetWithCapacity_1, - numItems, - ); - return NSMutableOrderedSet._(_ret, _lib, retain: true, release: true); + ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject cmptr) { + _objc_msgSend_483(this.pointer, _sel_sortUsingComparator_, cmptr.pointer); + } + + void sortWithOptions_usingComparator_(int opts, + ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject cmptr) { + _objc_msgSend_484(this.pointer, _sel_sortWithOptions_usingComparator_, opts, + cmptr.pointer); + } + + void sortRange_options_usingComparator_(_NSRange range, int opts, + ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject cmptr) { + _objc_msgSend_505(this.pointer, _sel_sortRange_options_usingComparator_, + range, opts, cmptr.pointer); + } + + static NSMutableOrderedSet orderedSetWithCapacity_(int numItems) { + final _ret = _objc_msgSend_65( + _class_NSMutableOrderedSet, _sel_orderedSetWithCapacity_, numItems); + return NSMutableOrderedSet._(_ret, retain: true, release: true); } void applyDifference_(NSObject difference) { - _lib._objc_msgSend_15( - this.pointer, - _lib._sel_applyDifference_1, - difference.pointer, - ); + _objc_msgSend_15(this.pointer, _sel_applyDifference_, difference.pointer); } void sortUsingDescriptors_(NSArray sortDescriptors) { - _lib._objc_msgSend_472( - this.pointer, - _lib._sel_sortUsingDescriptors_1, - sortDescriptors.pointer, - ); + _objc_msgSend_472( + this.pointer, _sel_sortUsingDescriptors_, sortDescriptors.pointer); } void filterUsingPredicate_(NSPredicate p) { - _lib._objc_msgSend_487( - this.pointer, - _lib._sel_filterUsingPredicate_1, - p.pointer, - ); + _objc_msgSend_487(this.pointer, _sel_filterUsingPredicate_, p.pointer); } @override NSMutableOrderedSet initWithObjects_count_( - ffi.Pointer> objects, - int cnt, - ) { - final _ret = _lib._objc_msgSend_66( - this.pointer, - _lib._sel_initWithObjects_count_1, - objects, - cnt, - ); - return NSMutableOrderedSet._(_ret, _lib, retain: true, release: true); - } - - static NSMutableOrderedSet orderedSet(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSMutableOrderedSet1, - _lib._sel_orderedSet1, - ); - return NSMutableOrderedSet._(_ret, _lib, retain: true, release: true); - } - - static NSMutableOrderedSet orderedSetWithObject_( - SwiftLibrary _lib, - NSObject object, - ) { - final _ret = _lib._objc_msgSend_124( - _lib._class_NSMutableOrderedSet1, - _lib._sel_orderedSetWithObject_1, - object.pointer, - ); - return NSMutableOrderedSet._(_ret, _lib, retain: true, release: true); + ffi.Pointer> objects, int cnt) { + final _ret = _objc_msgSend_66( + this.pointer, _sel_initWithObjects_count_, objects, cnt); + return NSMutableOrderedSet._(_ret, retain: true, release: true); + } + + static NSMutableOrderedSet orderedSet() { + final _ret = _objc_msgSend_2(_class_NSMutableOrderedSet, _sel_orderedSet); + return NSMutableOrderedSet._(_ret, retain: true, release: true); + } + + static NSMutableOrderedSet orderedSetWithObject_(NSObject object) { + final _ret = _objc_msgSend_124( + _class_NSMutableOrderedSet, _sel_orderedSetWithObject_, object.pointer); + return NSMutableOrderedSet._(_ret, retain: true, release: true); } static NSMutableOrderedSet orderedSetWithObjects_count_( - SwiftLibrary _lib, - ffi.Pointer> objects, - int cnt, - ) { - final _ret = _lib._objc_msgSend_66( - _lib._class_NSMutableOrderedSet1, - _lib._sel_orderedSetWithObjects_count_1, - objects, - cnt, - ); - return NSMutableOrderedSet._(_ret, _lib, retain: true, release: true); - } - - static NSMutableOrderedSet orderedSetWithObjects_( - SwiftLibrary _lib, - NSObject firstObj, - ) { - final _ret = _lib._objc_msgSend_124( - _lib._class_NSMutableOrderedSet1, - _lib._sel_orderedSetWithObjects_1, - firstObj.pointer, - ); - return NSMutableOrderedSet._(_ret, _lib, retain: true, release: true); - } - - static NSMutableOrderedSet orderedSetWithOrderedSet_( - SwiftLibrary _lib, - NSOrderedSet set, - ) { - final _ret = _lib._objc_msgSend_492( - _lib._class_NSMutableOrderedSet1, - _lib._sel_orderedSetWithOrderedSet_1, - set.pointer, - ); - return NSMutableOrderedSet._(_ret, _lib, retain: true, release: true); + ffi.Pointer> objects, int cnt) { + final _ret = _objc_msgSend_66(_class_NSMutableOrderedSet, + _sel_orderedSetWithObjects_count_, objects, cnt); + return NSMutableOrderedSet._(_ret, retain: true, release: true); + } + + static NSMutableOrderedSet orderedSetWithObjects_(NSObject firstObj) { + final _ret = _objc_msgSend_124(_class_NSMutableOrderedSet, + _sel_orderedSetWithObjects_, firstObj.pointer); + return NSMutableOrderedSet._(_ret, retain: true, release: true); + } + + static NSMutableOrderedSet orderedSetWithOrderedSet_(NSOrderedSet set) { + final _ret = _objc_msgSend_492(_class_NSMutableOrderedSet, + _sel_orderedSetWithOrderedSet_, set.pointer); + return NSMutableOrderedSet._(_ret, retain: true, release: true); } static NSMutableOrderedSet orderedSetWithOrderedSet_range_copyItems_( - SwiftLibrary _lib, - NSOrderedSet set, - _NSRange range, - bool flag, - ) { - final _ret = _lib._objc_msgSend_493( - _lib._class_NSMutableOrderedSet1, - _lib._sel_orderedSetWithOrderedSet_range_copyItems_1, - set.pointer, - range, - flag, - ); - return NSMutableOrderedSet._(_ret, _lib, retain: false, release: true); - } - - static NSMutableOrderedSet orderedSetWithArray_( - SwiftLibrary _lib, - NSArray array, - ) { - final _ret = _lib._objc_msgSend_125( - _lib._class_NSMutableOrderedSet1, - _lib._sel_orderedSetWithArray_1, - array.pointer, - ); - return NSMutableOrderedSet._(_ret, _lib, retain: true, release: true); + NSOrderedSet set, _NSRange range, bool flag) { + final _ret = _objc_msgSend_493( + _class_NSMutableOrderedSet, + _sel_orderedSetWithOrderedSet_range_copyItems_, + set.pointer, + range, + flag); + return NSMutableOrderedSet._(_ret, retain: false, release: true); + } + + static NSMutableOrderedSet orderedSetWithArray_(NSArray array) { + final _ret = _objc_msgSend_125( + _class_NSMutableOrderedSet, _sel_orderedSetWithArray_, array.pointer); + return NSMutableOrderedSet._(_ret, retain: true, release: true); } static NSMutableOrderedSet orderedSetWithArray_range_copyItems_( - SwiftLibrary _lib, - NSArray array, - _NSRange range, - bool flag, - ) { - final _ret = _lib._objc_msgSend_494( - _lib._class_NSMutableOrderedSet1, - _lib._sel_orderedSetWithArray_range_copyItems_1, - array.pointer, - range, - flag, - ); - return NSMutableOrderedSet._(_ret, _lib, retain: false, release: true); - } - - static NSMutableOrderedSet orderedSetWithSet_(SwiftLibrary _lib, NSSet set) { - final _ret = _lib._objc_msgSend_411( - _lib._class_NSMutableOrderedSet1, - _lib._sel_orderedSetWithSet_1, - set.pointer, - ); - return NSMutableOrderedSet._(_ret, _lib, retain: true, release: true); + NSArray array, _NSRange range, bool flag) { + final _ret = _objc_msgSend_494(_class_NSMutableOrderedSet, + _sel_orderedSetWithArray_range_copyItems_, array.pointer, range, flag); + return NSMutableOrderedSet._(_ret, retain: false, release: true); + } + + static NSMutableOrderedSet orderedSetWithSet_(NSSet set) { + final _ret = _objc_msgSend_411( + _class_NSMutableOrderedSet, _sel_orderedSetWithSet_, set.pointer); + return NSMutableOrderedSet._(_ret, retain: true, release: true); } static NSMutableOrderedSet orderedSetWithSet_copyItems_( - SwiftLibrary _lib, - NSSet set, - bool flag, - ) { - final _ret = _lib._objc_msgSend_412( - _lib._class_NSMutableOrderedSet1, - _lib._sel_orderedSetWithSet_copyItems_1, - set.pointer, - flag, - ); - return NSMutableOrderedSet._(_ret, _lib, retain: false, release: true); + NSSet set, bool flag) { + final _ret = _objc_msgSend_412(_class_NSMutableOrderedSet, + _sel_orderedSetWithSet_copyItems_, set.pointer, flag); + return NSMutableOrderedSet._(_ret, retain: false, release: true); } @override NSMutableOrderedSet initWithObject_(NSObject object) { - final _ret = _lib._objc_msgSend_124( - this.pointer, - _lib._sel_initWithObject_1, - object.pointer, - ); - return NSMutableOrderedSet._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_124(this.pointer, _sel_initWithObject_, object.pointer); + return NSMutableOrderedSet._(_ret, retain: true, release: true); } @override NSMutableOrderedSet initWithObjects_(NSObject firstObj) { - final _ret = _lib._objc_msgSend_124( - this.pointer, - _lib._sel_initWithObjects_1, - firstObj.pointer, - ); - return NSMutableOrderedSet._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_124( + this.pointer, _sel_initWithObjects_, firstObj.pointer); + return NSMutableOrderedSet._(_ret, retain: true, release: true); } @override NSMutableOrderedSet initWithOrderedSet_(NSOrderedSet set) { - final _ret = _lib._objc_msgSend_492( - this.pointer, - _lib._sel_initWithOrderedSet_1, - set.pointer, - ); - return NSMutableOrderedSet._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_492(this.pointer, _sel_initWithOrderedSet_, set.pointer); + return NSMutableOrderedSet._(_ret, retain: true, release: true); } @override NSMutableOrderedSet initWithOrderedSet_copyItems_( - NSOrderedSet set, - bool flag, - ) { - final _ret = _lib._objc_msgSend_495( - this.pointer, - _lib._sel_initWithOrderedSet_copyItems_1, - set.pointer, - flag, - ); - return NSMutableOrderedSet._(_ret, _lib, retain: false, release: true); + NSOrderedSet set, bool flag) { + final _ret = _objc_msgSend_495( + this.pointer, _sel_initWithOrderedSet_copyItems_, set.pointer, flag); + return NSMutableOrderedSet._(_ret, retain: false, release: true); } @override NSMutableOrderedSet initWithOrderedSet_range_copyItems_( - NSOrderedSet set, - _NSRange range, - bool flag, - ) { - final _ret = _lib._objc_msgSend_493( - this.pointer, - _lib._sel_initWithOrderedSet_range_copyItems_1, - set.pointer, - range, - flag, - ); - return NSMutableOrderedSet._(_ret, _lib, retain: false, release: true); + NSOrderedSet set, _NSRange range, bool flag) { + final _ret = _objc_msgSend_493(this.pointer, + _sel_initWithOrderedSet_range_copyItems_, set.pointer, range, flag); + return NSMutableOrderedSet._(_ret, retain: false, release: true); } @override NSMutableOrderedSet initWithArray_(NSArray array) { - final _ret = _lib._objc_msgSend_125( - this.pointer, - _lib._sel_initWithArray_1, - array.pointer, - ); - return NSMutableOrderedSet._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_125(this.pointer, _sel_initWithArray_, array.pointer); + return NSMutableOrderedSet._(_ret, retain: true, release: true); } @override NSMutableOrderedSet initWithArray_copyItems_(NSArray set, bool flag) { - final _ret = _lib._objc_msgSend_126( - this.pointer, - _lib._sel_initWithArray_copyItems_1, - set.pointer, - flag, - ); - return NSMutableOrderedSet._(_ret, _lib, retain: false, release: true); + final _ret = _objc_msgSend_126( + this.pointer, _sel_initWithArray_copyItems_, set.pointer, flag); + return NSMutableOrderedSet._(_ret, retain: false, release: true); } @override NSMutableOrderedSet initWithArray_range_copyItems_( - NSArray set, - _NSRange range, - bool flag, - ) { - final _ret = _lib._objc_msgSend_494( - this.pointer, - _lib._sel_initWithArray_range_copyItems_1, - set.pointer, - range, - flag, - ); - return NSMutableOrderedSet._(_ret, _lib, retain: false, release: true); + NSArray set, _NSRange range, bool flag) { + final _ret = _objc_msgSend_494(this.pointer, + _sel_initWithArray_range_copyItems_, set.pointer, range, flag); + return NSMutableOrderedSet._(_ret, retain: false, release: true); } @override NSMutableOrderedSet initWithSet_(NSSet set) { - final _ret = _lib._objc_msgSend_411( - this.pointer, - _lib._sel_initWithSet_1, - set.pointer, - ); - return NSMutableOrderedSet._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_411(this.pointer, _sel_initWithSet_, set.pointer); + return NSMutableOrderedSet._(_ret, retain: true, release: true); } @override NSMutableOrderedSet initWithSet_copyItems_(NSSet set, bool flag) { - final _ret = _lib._objc_msgSend_412( - this.pointer, - _lib._sel_initWithSet_copyItems_1, - set.pointer, - flag, - ); - return NSMutableOrderedSet._(_ret, _lib, retain: false, release: true); - } - - static NSMutableOrderedSet new1(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSMutableOrderedSet1, - _lib._sel_new1, - ); - return NSMutableOrderedSet._(_ret, _lib, retain: false, release: true); - } - - static NSMutableOrderedSet allocWithZone_( - SwiftLibrary _lib, - ffi.Pointer<_NSZone> zone, - ) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSMutableOrderedSet1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSMutableOrderedSet._(_ret, _lib, retain: false, release: true); - } - - static NSMutableOrderedSet alloc(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSMutableOrderedSet1, - _lib._sel_alloc1, - ); - return NSMutableOrderedSet._(_ret, _lib, retain: false, release: true); + final _ret = _objc_msgSend_412( + this.pointer, _sel_initWithSet_copyItems_, set.pointer, flag); + return NSMutableOrderedSet._(_ret, retain: false, release: true); + } + + static NSMutableOrderedSet new1() { + final _ret = _objc_msgSend_2(_class_NSMutableOrderedSet, _sel_new); + return NSMutableOrderedSet._(_ret, retain: false, release: true); + } + + static NSMutableOrderedSet allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = + _objc_msgSend_3(_class_NSMutableOrderedSet, _sel_allocWithZone_, zone); + return NSMutableOrderedSet._(_ret, retain: false, release: true); + } + + static NSMutableOrderedSet alloc() { + final _ret = _objc_msgSend_2(_class_NSMutableOrderedSet, _sel_alloc); + return NSMutableOrderedSet._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSMutableOrderedSet1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSMutableOrderedSet1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSMutableOrderedSet1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSMutableOrderedSet1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSMutableOrderedSet1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSMutableOrderedSet1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSMutableOrderedSet, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); + } + + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSMutableOrderedSet, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); + } + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSMutableOrderedSet, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSMutableOrderedSet, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSMutableOrderedSet, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSMutableOrderedSet, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); } static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSMutableOrderedSet1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSMutableOrderedSet1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSMutableOrderedSet1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSMutableOrderedSet, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = _objc_msgSend_85( + _class_NSMutableOrderedSet, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = _objc_msgSend_2( + _class_NSMutableOrderedSet, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); } } +late final _class_NSMutableOrderedSet = objc.getClass("NSMutableOrderedSet"); + class NSOrderedSet extends NSObject { - NSOrderedSet._( - ffi.Pointer pointer, - SwiftLibrary lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSOrderedSet._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSOrderedSet] that points to the same underlying object as [other]. - static NSOrderedSet castFrom( - SwiftLibrary lib, - T other, - ) { - return NSOrderedSet._(other.pointer, lib, retain: true, release: true); + static NSOrderedSet castFrom(T other) { + return NSOrderedSet._(other.pointer, retain: true, release: true); } /// Returns a [NSOrderedSet] that wraps the given raw object pointer. - static NSOrderedSet castFromPointer( - SwiftLibrary lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSOrderedSet._(other, lib, retain: retain, release: release); + static NSOrderedSet castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSOrderedSet._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSOrderedSet]. - static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSOrderedSet1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0( + obj.pointer, _sel_isKindOfClass_, _class_NSOrderedSet); } int get count { - return _lib._objc_msgSend_10(this.pointer, _lib._sel_count1); + return _objc_msgSend_10(this.pointer, _sel_count); } NSObject objectAtIndex_(int idx) { - final _ret = _lib._objc_msgSend_65( - this.pointer, - _lib._sel_objectAtIndex_1, - idx, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_65(this.pointer, _sel_objectAtIndex_, idx); + return NSObject._(_ret, retain: true, release: true); } int indexOfObject_(NSObject object) { - return _lib._objc_msgSend_74( - this.pointer, - _lib._sel_indexOfObject_1, - object.pointer, - ); + return _objc_msgSend_74(this.pointer, _sel_indexOfObject_, object.pointer); } @override NSOrderedSet init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSOrderedSet._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSOrderedSet._(_ret, retain: true, release: true); } NSOrderedSet initWithObjects_count_( - ffi.Pointer> objects, - int cnt, - ) { - final _ret = _lib._objc_msgSend_66( - this.pointer, - _lib._sel_initWithObjects_count_1, - objects, - cnt, - ); - return NSOrderedSet._(_ret, _lib, retain: true, release: true); + ffi.Pointer> objects, int cnt) { + final _ret = _objc_msgSend_66( + this.pointer, _sel_initWithObjects_count_, objects, cnt); + return NSOrderedSet._(_ret, retain: true, release: true); } NSOrderedSet? initWithCoder_(NSCoder coder) { - final _ret = _lib._objc_msgSend_47( - this.pointer, - _lib._sel_initWithCoder_1, - coder.pointer, - ); + final _ret = + _objc_msgSend_47(this.pointer, _sel_initWithCoder_, coder.pointer); return _ret.address == 0 ? null - : NSOrderedSet._(_ret, _lib, retain: true, release: true); + : NSOrderedSet._(_ret, retain: true, release: true); } void getObjects_range_( - ffi.Pointer> objects, - _NSRange range, - ) { - _lib._objc_msgSend_73( - this.pointer, - _lib._sel_getObjects_range_1, - objects, - range, - ); + ffi.Pointer> objects, _NSRange range) { + _objc_msgSend_73(this.pointer, _sel_getObjects_range_, objects, range); } NSArray objectsAtIndexes_(NSIndexSet indexes) { - final _ret = _lib._objc_msgSend_111( - this.pointer, - _lib._sel_objectsAtIndexes_1, - indexes.pointer, - ); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_111( + this.pointer, _sel_objectsAtIndexes_, indexes.pointer); + return NSArray._(_ret, retain: true, release: true); } NSObject? get firstObject { - final _ret = _lib._objc_msgSend_17(this.pointer, _lib._sel_firstObject1); + final _ret = _objc_msgSend_17(this.pointer, _sel_firstObject); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } NSObject? get lastObject { - final _ret = _lib._objc_msgSend_17(this.pointer, _lib._sel_lastObject1); + final _ret = _objc_msgSend_17(this.pointer, _sel_lastObject); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } bool isEqualToOrderedSet_(NSOrderedSet other) { - return _lib._objc_msgSend_489( - this.pointer, - _lib._sel_isEqualToOrderedSet_1, - other.pointer, - ); + return _objc_msgSend_489( + this.pointer, _sel_isEqualToOrderedSet_, other.pointer); } bool containsObject_(NSObject object) { - return _lib._objc_msgSend_0( - this.pointer, - _lib._sel_containsObject_1, - object.pointer, - ); + return _objc_msgSend_0(this.pointer, _sel_containsObject_, object.pointer); } bool intersectsOrderedSet_(NSOrderedSet other) { - return _lib._objc_msgSend_489( - this.pointer, - _lib._sel_intersectsOrderedSet_1, - other.pointer, - ); + return _objc_msgSend_489( + this.pointer, _sel_intersectsOrderedSet_, other.pointer); } bool intersectsSet_(NSSet set) { - return _lib._objc_msgSend_403( - this.pointer, - _lib._sel_intersectsSet_1, - set.pointer, - ); + return _objc_msgSend_403(this.pointer, _sel_intersectsSet_, set.pointer); } bool isSubsetOfOrderedSet_(NSOrderedSet other) { - return _lib._objc_msgSend_489( - this.pointer, - _lib._sel_isSubsetOfOrderedSet_1, - other.pointer, - ); + return _objc_msgSend_489( + this.pointer, _sel_isSubsetOfOrderedSet_, other.pointer); } bool isSubsetOfSet_(NSSet set) { - return _lib._objc_msgSend_403( - this.pointer, - _lib._sel_isSubsetOfSet_1, - set.pointer, - ); + return _objc_msgSend_403(this.pointer, _sel_isSubsetOfSet_, set.pointer); } NSObject objectAtIndexedSubscript_(int idx) { - final _ret = _lib._objc_msgSend_65( - this.pointer, - _lib._sel_objectAtIndexedSubscript_1, - idx, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_65(this.pointer, _sel_objectAtIndexedSubscript_, idx); + return NSObject._(_ret, retain: true, release: true); } NSEnumerator objectEnumerator() { - final _ret = _lib._objc_msgSend_77( - this.pointer, - _lib._sel_objectEnumerator1, - ); - return NSEnumerator._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_77(this.pointer, _sel_objectEnumerator); + return NSEnumerator._(_ret, retain: true, release: true); } NSEnumerator reverseObjectEnumerator() { - final _ret = _lib._objc_msgSend_77( - this.pointer, - _lib._sel_reverseObjectEnumerator1, - ); - return NSEnumerator._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_77(this.pointer, _sel_reverseObjectEnumerator); + return NSEnumerator._(_ret, retain: true, release: true); } NSOrderedSet get reversedOrderedSet { - final _ret = _lib._objc_msgSend_490( - this.pointer, - _lib._sel_reversedOrderedSet1, - ); - return NSOrderedSet._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_490(this.pointer, _sel_reversedOrderedSet); + return NSOrderedSet._(_ret, retain: true, release: true); } NSArray get array { - final _ret = _lib._objc_msgSend_85(this.pointer, _lib._sel_array1); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_85(this.pointer, _sel_array); + return NSArray._(_ret, retain: true, release: true); } NSSet get set1 { - final _ret = _lib._objc_msgSend_491(this.pointer, _lib._sel_set1); - return NSSet._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_491(this.pointer, _sel_set); + return NSSet._(_ret, retain: true, release: true); } void enumerateObjectsUsingBlock_( - ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool block, - ) { - _lib._objc_msgSend_112( - this.pointer, - _lib._sel_enumerateObjectsUsingBlock_1, - block.pointer, - ); + ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool block) { + _objc_msgSend_112( + this.pointer, _sel_enumerateObjectsUsingBlock_, block.pointer); } void enumerateObjectsWithOptions_usingBlock_( - int opts, - ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool block, - ) { - _lib._objc_msgSend_113( - this.pointer, - _lib._sel_enumerateObjectsWithOptions_usingBlock_1, - opts, - block.pointer, - ); - } - - void enumerateObjectsAtIndexes_options_usingBlock_( - NSIndexSet s, - int opts, - ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool block, - ) { - _lib._objc_msgSend_114( - this.pointer, - _lib._sel_enumerateObjectsAtIndexes_options_usingBlock_1, - s.pointer, - opts, - block.pointer, - ); + int opts, ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool block) { + _objc_msgSend_113(this.pointer, + _sel_enumerateObjectsWithOptions_usingBlock_, opts, block.pointer); + } + + void enumerateObjectsAtIndexes_options_usingBlock_(NSIndexSet s, int opts, + ObjCBlock_ffiVoid_objcObjCObject_ffiUnsignedLong_bool block) { + _objc_msgSend_114( + this.pointer, + _sel_enumerateObjectsAtIndexes_options_usingBlock_, + s.pointer, + opts, + block.pointer); } int indexOfObjectPassingTest_( - ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool predicate, - ) { - return _lib._objc_msgSend_115( - this.pointer, - _lib._sel_indexOfObjectPassingTest_1, - predicate.pointer, - ); + ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool predicate) { + return _objc_msgSend_115( + this.pointer, _sel_indexOfObjectPassingTest_, predicate.pointer); } int indexOfObjectWithOptions_passingTest_( - int opts, - ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool predicate, - ) { - return _lib._objc_msgSend_116( - this.pointer, - _lib._sel_indexOfObjectWithOptions_passingTest_1, - opts, - predicate.pointer, - ); - } - - int indexOfObjectAtIndexes_options_passingTest_( - NSIndexSet s, - int opts, - ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool predicate, - ) { - return _lib._objc_msgSend_117( - this.pointer, - _lib._sel_indexOfObjectAtIndexes_options_passingTest_1, - s.pointer, - opts, - predicate.pointer, - ); + int opts, ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool predicate) { + return _objc_msgSend_116(this.pointer, + _sel_indexOfObjectWithOptions_passingTest_, opts, predicate.pointer); + } + + int indexOfObjectAtIndexes_options_passingTest_(NSIndexSet s, int opts, + ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool predicate) { + return _objc_msgSend_117( + this.pointer, + _sel_indexOfObjectAtIndexes_options_passingTest_, + s.pointer, + opts, + predicate.pointer); } NSIndexSet indexesOfObjectsPassingTest_( - ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool predicate, - ) { - final _ret = _lib._objc_msgSend_118( - this.pointer, - _lib._sel_indexesOfObjectsPassingTest_1, - predicate.pointer, - ); - return NSIndexSet._(_ret, _lib, retain: true, release: true); + ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool predicate) { + final _ret = _objc_msgSend_118( + this.pointer, _sel_indexesOfObjectsPassingTest_, predicate.pointer); + return NSIndexSet._(_ret, retain: true, release: true); } NSIndexSet indexesOfObjectsWithOptions_passingTest_( - int opts, - ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool predicate, - ) { - final _ret = _lib._objc_msgSend_119( - this.pointer, - _lib._sel_indexesOfObjectsWithOptions_passingTest_1, - opts, - predicate.pointer, - ); - return NSIndexSet._(_ret, _lib, retain: true, release: true); - } - - NSIndexSet indexesOfObjectsAtIndexes_options_passingTest_( - NSIndexSet s, - int opts, - ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool predicate, - ) { - final _ret = _lib._objc_msgSend_120( - this.pointer, - _lib._sel_indexesOfObjectsAtIndexes_options_passingTest_1, - s.pointer, - opts, - predicate.pointer, - ); - return NSIndexSet._(_ret, _lib, retain: true, release: true); + int opts, ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool predicate) { + final _ret = _objc_msgSend_119(this.pointer, + _sel_indexesOfObjectsWithOptions_passingTest_, opts, predicate.pointer); + return NSIndexSet._(_ret, retain: true, release: true); + } + + NSIndexSet indexesOfObjectsAtIndexes_options_passingTest_(NSIndexSet s, + int opts, ObjCBlock_bool_objcObjCObject_ffiUnsignedLong_bool predicate) { + final _ret = _objc_msgSend_120( + this.pointer, + _sel_indexesOfObjectsAtIndexes_options_passingTest_, + s.pointer, + opts, + predicate.pointer); + return NSIndexSet._(_ret, retain: true, release: true); } int indexOfObject_inSortedRange_options_usingComparator_( - NSObject object, - _NSRange range, - int opts, - ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject cmp, - ) { - return _lib._objc_msgSend_123( - this.pointer, - _lib._sel_indexOfObject_inSortedRange_options_usingComparator_1, - object.pointer, - range, - opts, - cmp.pointer, - ); + NSObject object, + _NSRange range, + int opts, + ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject cmp) { + return _objc_msgSend_123( + this.pointer, + _sel_indexOfObject_inSortedRange_options_usingComparator_, + object.pointer, + range, + opts, + cmp.pointer); } NSArray sortedArrayUsingComparator_( - ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject cmptr, - ) { - final _ret = _lib._objc_msgSend_121( - this.pointer, - _lib._sel_sortedArrayUsingComparator_1, - cmptr.pointer, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - NSArray sortedArrayWithOptions_usingComparator_( - int opts, - ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject cmptr, - ) { - final _ret = _lib._objc_msgSend_122( - this.pointer, - _lib._sel_sortedArrayWithOptions_usingComparator_1, - opts, - cmptr.pointer, - ); - return NSArray._(_ret, _lib, retain: true, release: true); + ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject cmptr) { + final _ret = _objc_msgSend_121( + this.pointer, _sel_sortedArrayUsingComparator_, cmptr.pointer); + return NSArray._(_ret, retain: true, release: true); + } + + NSArray sortedArrayWithOptions_usingComparator_(int opts, + ObjCBlock_NSComparisonResult_objcObjCObject_objcObjCObject cmptr) { + final _ret = _objc_msgSend_122(this.pointer, + _sel_sortedArrayWithOptions_usingComparator_, opts, cmptr.pointer); + return NSArray._(_ret, retain: true, release: true); } NSString get description { - final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_description1); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_description); + return NSString._(_ret, retain: true, release: true); + } + + NSString descriptionWithLocale_(NSObject? locale) { + final _ret = _objc_msgSend_70(this.pointer, _sel_descriptionWithLocale_, + locale?.pointer ?? ffi.nullptr); + return NSString._(_ret, retain: true, release: true); + } + + NSString descriptionWithLocale_indent_(NSObject? locale, int level) { + final _ret = _objc_msgSend_71( + this.pointer, + _sel_descriptionWithLocale_indent_, + locale?.pointer ?? ffi.nullptr, + level); + return NSString._(_ret, retain: true, release: true); + } + + static NSOrderedSet orderedSet() { + final _ret = _objc_msgSend_2(_class_NSOrderedSet, _sel_orderedSet); + return NSOrderedSet._(_ret, retain: true, release: true); + } + + static NSOrderedSet orderedSetWithObject_(NSObject object) { + final _ret = _objc_msgSend_124( + _class_NSOrderedSet, _sel_orderedSetWithObject_, object.pointer); + return NSOrderedSet._(_ret, retain: true, release: true); + } + + static NSOrderedSet orderedSetWithObjects_count_( + ffi.Pointer> objects, int cnt) { + final _ret = _objc_msgSend_66( + _class_NSOrderedSet, _sel_orderedSetWithObjects_count_, objects, cnt); + return NSOrderedSet._(_ret, retain: true, release: true); + } + + static NSOrderedSet orderedSetWithObjects_(NSObject firstObj) { + final _ret = _objc_msgSend_124( + _class_NSOrderedSet, _sel_orderedSetWithObjects_, firstObj.pointer); + return NSOrderedSet._(_ret, retain: true, release: true); + } + + static NSOrderedSet orderedSetWithOrderedSet_(NSOrderedSet set) { + final _ret = _objc_msgSend_492( + _class_NSOrderedSet, _sel_orderedSetWithOrderedSet_, set.pointer); + return NSOrderedSet._(_ret, retain: true, release: true); } - NSString descriptionWithLocale_(NSObject? locale) { - final _ret = _lib._objc_msgSend_70( - this.pointer, - _lib._sel_descriptionWithLocale_1, - locale?.pointer ?? ffi.nullptr, - ); - return NSString._(_ret, _lib, retain: true, release: true); + static NSOrderedSet orderedSetWithOrderedSet_range_copyItems_( + NSOrderedSet set, _NSRange range, bool flag) { + final _ret = _objc_msgSend_493( + _class_NSOrderedSet, + _sel_orderedSetWithOrderedSet_range_copyItems_, + set.pointer, + range, + flag); + return NSOrderedSet._(_ret, retain: false, release: true); } - NSString descriptionWithLocale_indent_(NSObject? locale, int level) { - final _ret = _lib._objc_msgSend_71( - this.pointer, - _lib._sel_descriptionWithLocale_indent_1, - locale?.pointer ?? ffi.nullptr, - level, - ); - return NSString._(_ret, _lib, retain: true, release: true); - } - - static NSOrderedSet orderedSet(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSOrderedSet1, - _lib._sel_orderedSet1, - ); - return NSOrderedSet._(_ret, _lib, retain: true, release: true); - } - - static NSOrderedSet orderedSetWithObject_( - SwiftLibrary _lib, - NSObject object, - ) { - final _ret = _lib._objc_msgSend_124( - _lib._class_NSOrderedSet1, - _lib._sel_orderedSetWithObject_1, - object.pointer, - ); - return NSOrderedSet._(_ret, _lib, retain: true, release: true); + static NSOrderedSet orderedSetWithArray_(NSArray array) { + final _ret = _objc_msgSend_125( + _class_NSOrderedSet, _sel_orderedSetWithArray_, array.pointer); + return NSOrderedSet._(_ret, retain: true, release: true); } - static NSOrderedSet orderedSetWithObjects_count_( - SwiftLibrary _lib, - ffi.Pointer> objects, - int cnt, - ) { - final _ret = _lib._objc_msgSend_66( - _lib._class_NSOrderedSet1, - _lib._sel_orderedSetWithObjects_count_1, - objects, - cnt, - ); - return NSOrderedSet._(_ret, _lib, retain: true, release: true); - } - - static NSOrderedSet orderedSetWithObjects_( - SwiftLibrary _lib, - NSObject firstObj, - ) { - final _ret = _lib._objc_msgSend_124( - _lib._class_NSOrderedSet1, - _lib._sel_orderedSetWithObjects_1, - firstObj.pointer, - ); - return NSOrderedSet._(_ret, _lib, retain: true, release: true); - } - - static NSOrderedSet orderedSetWithOrderedSet_( - SwiftLibrary _lib, - NSOrderedSet set, - ) { - final _ret = _lib._objc_msgSend_492( - _lib._class_NSOrderedSet1, - _lib._sel_orderedSetWithOrderedSet_1, - set.pointer, - ); - return NSOrderedSet._(_ret, _lib, retain: true, release: true); + static NSOrderedSet orderedSetWithArray_range_copyItems_( + NSArray array, _NSRange range, bool flag) { + final _ret = _objc_msgSend_494(_class_NSOrderedSet, + _sel_orderedSetWithArray_range_copyItems_, array.pointer, range, flag); + return NSOrderedSet._(_ret, retain: false, release: true); } - static NSOrderedSet orderedSetWithOrderedSet_range_copyItems_( - SwiftLibrary _lib, - NSOrderedSet set, - _NSRange range, - bool flag, - ) { - final _ret = _lib._objc_msgSend_493( - _lib._class_NSOrderedSet1, - _lib._sel_orderedSetWithOrderedSet_range_copyItems_1, - set.pointer, - range, - flag, - ); - return NSOrderedSet._(_ret, _lib, retain: false, release: true); - } - - static NSOrderedSet orderedSetWithArray_(SwiftLibrary _lib, NSArray array) { - final _ret = _lib._objc_msgSend_125( - _lib._class_NSOrderedSet1, - _lib._sel_orderedSetWithArray_1, - array.pointer, - ); - return NSOrderedSet._(_ret, _lib, retain: true, release: true); + static NSOrderedSet orderedSetWithSet_(NSSet set) { + final _ret = _objc_msgSend_411( + _class_NSOrderedSet, _sel_orderedSetWithSet_, set.pointer); + return NSOrderedSet._(_ret, retain: true, release: true); } - static NSOrderedSet orderedSetWithArray_range_copyItems_( - SwiftLibrary _lib, - NSArray array, - _NSRange range, - bool flag, - ) { - final _ret = _lib._objc_msgSend_494( - _lib._class_NSOrderedSet1, - _lib._sel_orderedSetWithArray_range_copyItems_1, - array.pointer, - range, - flag, - ); - return NSOrderedSet._(_ret, _lib, retain: false, release: true); - } - - static NSOrderedSet orderedSetWithSet_(SwiftLibrary _lib, NSSet set) { - final _ret = _lib._objc_msgSend_411( - _lib._class_NSOrderedSet1, - _lib._sel_orderedSetWithSet_1, - set.pointer, - ); - return NSOrderedSet._(_ret, _lib, retain: true, release: true); - } - - static NSOrderedSet orderedSetWithSet_copyItems_( - SwiftLibrary _lib, - NSSet set, - bool flag, - ) { - final _ret = _lib._objc_msgSend_412( - _lib._class_NSOrderedSet1, - _lib._sel_orderedSetWithSet_copyItems_1, - set.pointer, - flag, - ); - return NSOrderedSet._(_ret, _lib, retain: false, release: true); + static NSOrderedSet orderedSetWithSet_copyItems_(NSSet set, bool flag) { + final _ret = _objc_msgSend_412(_class_NSOrderedSet, + _sel_orderedSetWithSet_copyItems_, set.pointer, flag); + return NSOrderedSet._(_ret, retain: false, release: true); } NSOrderedSet initWithObject_(NSObject object) { - final _ret = _lib._objc_msgSend_124( - this.pointer, - _lib._sel_initWithObject_1, - object.pointer, - ); - return NSOrderedSet._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_124(this.pointer, _sel_initWithObject_, object.pointer); + return NSOrderedSet._(_ret, retain: true, release: true); } NSOrderedSet initWithObjects_(NSObject firstObj) { - final _ret = _lib._objc_msgSend_124( - this.pointer, - _lib._sel_initWithObjects_1, - firstObj.pointer, - ); - return NSOrderedSet._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_124( + this.pointer, _sel_initWithObjects_, firstObj.pointer); + return NSOrderedSet._(_ret, retain: true, release: true); } NSOrderedSet initWithOrderedSet_(NSOrderedSet set) { - final _ret = _lib._objc_msgSend_492( - this.pointer, - _lib._sel_initWithOrderedSet_1, - set.pointer, - ); - return NSOrderedSet._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_492(this.pointer, _sel_initWithOrderedSet_, set.pointer); + return NSOrderedSet._(_ret, retain: true, release: true); } NSOrderedSet initWithOrderedSet_copyItems_(NSOrderedSet set, bool flag) { - final _ret = _lib._objc_msgSend_495( - this.pointer, - _lib._sel_initWithOrderedSet_copyItems_1, - set.pointer, - flag, - ); - return NSOrderedSet._(_ret, _lib, retain: false, release: true); + final _ret = _objc_msgSend_495( + this.pointer, _sel_initWithOrderedSet_copyItems_, set.pointer, flag); + return NSOrderedSet._(_ret, retain: false, release: true); } NSOrderedSet initWithOrderedSet_range_copyItems_( - NSOrderedSet set, - _NSRange range, - bool flag, - ) { - final _ret = _lib._objc_msgSend_493( - this.pointer, - _lib._sel_initWithOrderedSet_range_copyItems_1, - set.pointer, - range, - flag, - ); - return NSOrderedSet._(_ret, _lib, retain: false, release: true); + NSOrderedSet set, _NSRange range, bool flag) { + final _ret = _objc_msgSend_493(this.pointer, + _sel_initWithOrderedSet_range_copyItems_, set.pointer, range, flag); + return NSOrderedSet._(_ret, retain: false, release: true); } NSOrderedSet initWithArray_(NSArray array) { - final _ret = _lib._objc_msgSend_125( - this.pointer, - _lib._sel_initWithArray_1, - array.pointer, - ); - return NSOrderedSet._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_125(this.pointer, _sel_initWithArray_, array.pointer); + return NSOrderedSet._(_ret, retain: true, release: true); } NSOrderedSet initWithArray_copyItems_(NSArray set, bool flag) { - final _ret = _lib._objc_msgSend_126( - this.pointer, - _lib._sel_initWithArray_copyItems_1, - set.pointer, - flag, - ); - return NSOrderedSet._(_ret, _lib, retain: false, release: true); + final _ret = _objc_msgSend_126( + this.pointer, _sel_initWithArray_copyItems_, set.pointer, flag); + return NSOrderedSet._(_ret, retain: false, release: true); } NSOrderedSet initWithArray_range_copyItems_( - NSArray set, - _NSRange range, - bool flag, - ) { - final _ret = _lib._objc_msgSend_494( - this.pointer, - _lib._sel_initWithArray_range_copyItems_1, - set.pointer, - range, - flag, - ); - return NSOrderedSet._(_ret, _lib, retain: false, release: true); + NSArray set, _NSRange range, bool flag) { + final _ret = _objc_msgSend_494(this.pointer, + _sel_initWithArray_range_copyItems_, set.pointer, range, flag); + return NSOrderedSet._(_ret, retain: false, release: true); } NSOrderedSet initWithSet_(NSSet set) { - final _ret = _lib._objc_msgSend_411( - this.pointer, - _lib._sel_initWithSet_1, - set.pointer, - ); - return NSOrderedSet._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_411(this.pointer, _sel_initWithSet_, set.pointer); + return NSOrderedSet._(_ret, retain: true, release: true); } NSOrderedSet initWithSet_copyItems_(NSSet set, bool flag) { - final _ret = _lib._objc_msgSend_412( - this.pointer, - _lib._sel_initWithSet_copyItems_1, - set.pointer, - flag, - ); - return NSOrderedSet._(_ret, _lib, retain: false, release: true); + final _ret = _objc_msgSend_412( + this.pointer, _sel_initWithSet_copyItems_, set.pointer, flag); + return NSOrderedSet._(_ret, retain: false, release: true); } NSObject differenceFromOrderedSet_withOptions_usingEquivalenceTest_( - NSOrderedSet other, - int options, - ObjCBlock_bool_objcObjCObject_objcObjCObject block, - ) { - final _ret = _lib._objc_msgSend_496( - this.pointer, - _lib._sel_differenceFromOrderedSet_withOptions_usingEquivalenceTest_1, - other.pointer, - options, - block.pointer, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + NSOrderedSet other, + int options, + ObjCBlock_bool_objcObjCObject_objcObjCObject block) { + final _ret = _objc_msgSend_496( + this.pointer, + _sel_differenceFromOrderedSet_withOptions_usingEquivalenceTest_, + other.pointer, + options, + block.pointer); + return NSObject._(_ret, retain: true, release: true); } NSObject differenceFromOrderedSet_withOptions_( - NSOrderedSet other, - int options, - ) { - final _ret = _lib._objc_msgSend_497( - this.pointer, - _lib._sel_differenceFromOrderedSet_withOptions_1, - other.pointer, - options, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + NSOrderedSet other, int options) { + final _ret = _objc_msgSend_497(this.pointer, + _sel_differenceFromOrderedSet_withOptions_, other.pointer, options); + return NSObject._(_ret, retain: true, release: true); } NSObject differenceFromOrderedSet_(NSOrderedSet other) { - final _ret = _lib._objc_msgSend_492( - this.pointer, - _lib._sel_differenceFromOrderedSet_1, - other.pointer, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_492( + this.pointer, _sel_differenceFromOrderedSet_, other.pointer); + return NSObject._(_ret, retain: true, release: true); } NSOrderedSet? orderedSetByApplyingDifference_(NSObject difference) { - final _ret = _lib._objc_msgSend_498( - this.pointer, - _lib._sel_orderedSetByApplyingDifference_1, - difference.pointer, - ); + final _ret = _objc_msgSend_498( + this.pointer, _sel_orderedSetByApplyingDifference_, difference.pointer); return _ret.address == 0 ? null - : NSOrderedSet._(_ret, _lib, retain: true, release: true); + : NSOrderedSet._(_ret, retain: true, release: true); } NSObject valueForKey_(NSString key) { - final _ret = _lib._objc_msgSend_31( - this.pointer, - _lib._sel_valueForKey_1, - key.pointer, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_31(this.pointer, _sel_valueForKey_, key.pointer); + return NSObject._(_ret, retain: true, release: true); } @override void setValue_forKey_(NSObject? value, NSString key) { - _lib._objc_msgSend_135( - this.pointer, - _lib._sel_setValue_forKey_1, - value?.pointer ?? ffi.nullptr, - key.pointer, - ); + _objc_msgSend_135(this.pointer, _sel_setValue_forKey_, + value?.pointer ?? ffi.nullptr, key.pointer); } @override - void addObserver_forKeyPath_options_context_( - NSObject observer, - NSString keyPath, - int options, - ffi.Pointer context, - ) { - _lib._objc_msgSend_139( - this.pointer, - _lib._sel_addObserver_forKeyPath_options_context_1, - observer.pointer, - keyPath.pointer, - options, - context, - ); + void addObserver_forKeyPath_options_context_(NSObject observer, + NSString keyPath, int options, ffi.Pointer context) { + _objc_msgSend_139( + this.pointer, + _sel_addObserver_forKeyPath_options_context_, + observer.pointer, + keyPath.pointer, + options, + context); } @override void removeObserver_forKeyPath_context_( - NSObject observer, - NSString keyPath, - ffi.Pointer context, - ) { - _lib._objc_msgSend_140( - this.pointer, - _lib._sel_removeObserver_forKeyPath_context_1, - observer.pointer, - keyPath.pointer, - context, - ); + NSObject observer, NSString keyPath, ffi.Pointer context) { + _objc_msgSend_140(this.pointer, _sel_removeObserver_forKeyPath_context_, + observer.pointer, keyPath.pointer, context); } @override void removeObserver_forKeyPath_(NSObject observer, NSString keyPath) { - _lib._objc_msgSend_141( - this.pointer, - _lib._sel_removeObserver_forKeyPath_1, - observer.pointer, - keyPath.pointer, - ); + _objc_msgSend_141(this.pointer, _sel_removeObserver_forKeyPath_, + observer.pointer, keyPath.pointer); } NSArray sortedArrayUsingDescriptors_(NSArray sortDescriptors) { - final _ret = _lib._objc_msgSend_68( - this.pointer, - _lib._sel_sortedArrayUsingDescriptors_1, - sortDescriptors.pointer, - ); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_68(this.pointer, + _sel_sortedArrayUsingDescriptors_, sortDescriptors.pointer); + return NSArray._(_ret, retain: true, release: true); } NSOrderedSet filteredOrderedSetUsingPredicate_(NSPredicate p) { - final _ret = _lib._objc_msgSend_499( - this.pointer, - _lib._sel_filteredOrderedSetUsingPredicate_1, - p.pointer, - ); - return NSOrderedSet._(_ret, _lib, retain: true, release: true); - } - - static NSOrderedSet new1(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSOrderedSet1, - _lib._sel_new1, - ); - return NSOrderedSet._(_ret, _lib, retain: false, release: true); - } - - static NSOrderedSet allocWithZone_( - SwiftLibrary _lib, - ffi.Pointer<_NSZone> zone, - ) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSOrderedSet1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSOrderedSet._(_ret, _lib, retain: false, release: true); - } - - static NSOrderedSet alloc(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSOrderedSet1, - _lib._sel_alloc1, - ); - return NSOrderedSet._(_ret, _lib, retain: false, release: true); + final _ret = _objc_msgSend_499( + this.pointer, _sel_filteredOrderedSetUsingPredicate_, p.pointer); + return NSOrderedSet._(_ret, retain: true, release: true); + } + + static NSOrderedSet new1() { + final _ret = _objc_msgSend_2(_class_NSOrderedSet, _sel_new); + return NSOrderedSet._(_ret, retain: false, release: true); + } + + static NSOrderedSet allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = + _objc_msgSend_3(_class_NSOrderedSet, _sel_allocWithZone_, zone); + return NSOrderedSet._(_ret, retain: false, release: true); + } + + static NSOrderedSet alloc() { + final _ret = _objc_msgSend_2(_class_NSOrderedSet, _sel_alloc); + return NSOrderedSet._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSOrderedSet1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSOrderedSet1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSOrderedSet1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSOrderedSet1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSOrderedSet1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSOrderedSet1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSOrderedSet, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); } - static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSOrderedSet1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSOrderedSet1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSOrderedSet1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSOrderedSet, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); } -} + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSOrderedSet, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSOrderedSet, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSOrderedSet, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSOrderedSet, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); + } + + static void setKeys_triggerChangeNotificationsForDependentKey_( + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSOrderedSet, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = _objc_msgSend_85( + _class_NSOrderedSet, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = + _objc_msgSend_2(_class_NSOrderedSet, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); + } +} + +late final _class_NSOrderedSet = objc.getClass("NSOrderedSet"); +late final _sel_isEqualToOrderedSet_ = + objc.registerName("isEqualToOrderedSet:"); +final _objc_msgSend_489 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer other)>>() + .asFunction< + bool Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_intersectsOrderedSet_ = + objc.registerName("intersectsOrderedSet:"); +late final _sel_isSubsetOfOrderedSet_ = + objc.registerName("isSubsetOfOrderedSet:"); +late final _sel_reversedOrderedSet = objc.registerName("reversedOrderedSet"); +final _objc_msgSend_490 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +final _objc_msgSend_491 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_orderedSet = objc.registerName("orderedSet"); +late final _sel_orderedSetWithObject_ = + objc.registerName("orderedSetWithObject:"); +late final _sel_orderedSetWithObjects_count_ = + objc.registerName("orderedSetWithObjects:count:"); +late final _sel_orderedSetWithObjects_ = + objc.registerName("orderedSetWithObjects:"); +late final _sel_orderedSetWithOrderedSet_ = + objc.registerName("orderedSetWithOrderedSet:"); +final _objc_msgSend_492 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer set)>>() + .asFunction< + instancetype Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_orderedSetWithOrderedSet_range_copyItems_ = + objc.registerName("orderedSetWithOrderedSet:range:copyItems:"); +final _objc_msgSend_493 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer set, + _NSRange range, + ffi.Bool flag)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange, + bool)>(); +late final _sel_orderedSetWithArray_ = + objc.registerName("orderedSetWithArray:"); +late final _sel_orderedSetWithArray_range_copyItems_ = + objc.registerName("orderedSetWithArray:range:copyItems:"); +final _objc_msgSend_494 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer array, + _NSRange range, + ffi.Bool flag)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange, + bool)>(); +late final _sel_orderedSetWithSet_ = objc.registerName("orderedSetWithSet:"); +late final _sel_orderedSetWithSet_copyItems_ = + objc.registerName("orderedSetWithSet:copyItems:"); +late final _sel_initWithObject_ = objc.registerName("initWithObject:"); +late final _sel_initWithOrderedSet_ = objc.registerName("initWithOrderedSet:"); +late final _sel_initWithOrderedSet_copyItems_ = + objc.registerName("initWithOrderedSet:copyItems:"); +final _objc_msgSend_495 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer set, + ffi.Bool flag)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool)>(); +late final _sel_initWithOrderedSet_range_copyItems_ = + objc.registerName("initWithOrderedSet:range:copyItems:"); +late final _sel_initWithArray_range_copyItems_ = + objc.registerName("initWithArray:range:copyItems:"); +late final _sel_differenceFromOrderedSet_withOptions_usingEquivalenceTest_ = + objc.registerName( + "differenceFromOrderedSet:withOptions:usingEquivalenceTest:"); +final _objc_msgSend_496 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer other, + ffi.Int32 options, + ffi.Pointer block)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer)>(); +late final _sel_differenceFromOrderedSet_withOptions_ = + objc.registerName("differenceFromOrderedSet:withOptions:"); +final _objc_msgSend_497 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer other, + ffi.Int32 options)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int)>(); +late final _sel_differenceFromOrderedSet_ = + objc.registerName("differenceFromOrderedSet:"); +late final _sel_orderedSetByApplyingDifference_ = + objc.registerName("orderedSetByApplyingDifference:"); +final _objc_msgSend_498 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer difference)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_filteredOrderedSetUsingPredicate_ = + objc.registerName("filteredOrderedSetUsingPredicate:"); +final _objc_msgSend_499 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer p)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_addObjects_count_ = objc.registerName("addObjects:count:"); +final _objc_msgSend_500 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer> objects, + ffi.UnsignedLong count)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + int)>(); +late final _sel_moveObjectsAtIndexes_toIndex_ = + objc.registerName("moveObjectsAtIndexes:toIndex:"); +final _objc_msgSend_501 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer indexes, + ffi.UnsignedLong idx)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int)>(); +late final _sel_setObject_atIndex_ = objc.registerName("setObject:atIndex:"); +late final _sel_replaceObjectsInRange_withObjects_count_ = + objc.registerName("replaceObjectsInRange:withObjects:count:"); +final _objc_msgSend_502 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + _NSRange range, + ffi.Pointer> objects, + ffi.UnsignedLong count)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer>, + int)>(); +late final _sel_intersectOrderedSet_ = + objc.registerName("intersectOrderedSet:"); +final _objc_msgSend_503 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer other)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_minusOrderedSet_ = objc.registerName("minusOrderedSet:"); +late final _sel_unionOrderedSet_ = objc.registerName("unionOrderedSet:"); +late final _sel_intersectSet_ = objc.registerName("intersectSet:"); +final _objc_msgSend_504 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer other)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_minusSet_ = objc.registerName("minusSet:"); +late final _sel_unionSet_ = objc.registerName("unionSet:"); +late final _sel_sortRange_options_usingComparator_ = + objc.registerName("sortRange:options:usingComparator:"); +final _objc_msgSend_505 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + _NSRange range, + ffi.Int32 opts, + ffi.Pointer cmptr)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + int, + ffi.Pointer)>(); +late final _sel_orderedSetWithCapacity_ = + objc.registerName("orderedSetWithCapacity:"); +late final _sel_mutableOrderedSetValueForKey_ = + objc.registerName("mutableOrderedSetValueForKey:"); +final _objc_msgSend_506 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer key)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); class NSMutableSet extends NSSet { - NSMutableSet._( - ffi.Pointer pointer, - SwiftLibrary lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSMutableSet._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSMutableSet] that points to the same underlying object as [other]. - static NSMutableSet castFrom( - SwiftLibrary lib, - T other, - ) { - return NSMutableSet._(other.pointer, lib, retain: true, release: true); + static NSMutableSet castFrom(T other) { + return NSMutableSet._(other.pointer, retain: true, release: true); } /// Returns a [NSMutableSet] that wraps the given raw object pointer. - static NSMutableSet castFromPointer( - SwiftLibrary lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSMutableSet._(other, lib, retain: retain, release: release); + static NSMutableSet castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSMutableSet._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSMutableSet]. - static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSMutableSet1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0( + obj.pointer, _sel_isKindOfClass_, _class_NSMutableSet); } void addObject_(NSObject object) { - _lib._objc_msgSend_15(this.pointer, _lib._sel_addObject_1, object.pointer); + _objc_msgSend_15(this.pointer, _sel_addObject_, object.pointer); } void removeObject_(NSObject object) { - _lib._objc_msgSend_15( - this.pointer, - _lib._sel_removeObject_1, - object.pointer, - ); + _objc_msgSend_15(this.pointer, _sel_removeObject_, object.pointer); } @override NSMutableSet? initWithCoder_(NSCoder coder) { - final _ret = _lib._objc_msgSend_47( - this.pointer, - _lib._sel_initWithCoder_1, - coder.pointer, - ); + final _ret = + _objc_msgSend_47(this.pointer, _sel_initWithCoder_, coder.pointer); return _ret.address == 0 ? null - : NSMutableSet._(_ret, _lib, retain: true, release: true); + : NSMutableSet._(_ret, retain: true, release: true); } @override NSMutableSet init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSMutableSet._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSMutableSet._(_ret, retain: true, release: true); } NSMutableSet initWithCapacity_(int numItems) { - final _ret = _lib._objc_msgSend_65( - this.pointer, - _lib._sel_initWithCapacity_1, - numItems, - ); - return NSMutableSet._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_65(this.pointer, _sel_initWithCapacity_, numItems); + return NSMutableSet._(_ret, retain: true, release: true); } void addObjectsFromArray_(NSArray array) { - _lib._objc_msgSend_472( - this.pointer, - _lib._sel_addObjectsFromArray_1, - array.pointer, - ); + _objc_msgSend_472(this.pointer, _sel_addObjectsFromArray_, array.pointer); } void intersectSet_(NSSet otherSet) { - _lib._objc_msgSend_504( - this.pointer, - _lib._sel_intersectSet_1, - otherSet.pointer, - ); + _objc_msgSend_504(this.pointer, _sel_intersectSet_, otherSet.pointer); } void minusSet_(NSSet otherSet) { - _lib._objc_msgSend_504( - this.pointer, - _lib._sel_minusSet_1, - otherSet.pointer, - ); + _objc_msgSend_504(this.pointer, _sel_minusSet_, otherSet.pointer); } void removeAllObjects() { - _lib._objc_msgSend_1(this.pointer, _lib._sel_removeAllObjects1); + _objc_msgSend_1(this.pointer, _sel_removeAllObjects); } void unionSet_(NSSet otherSet) { - _lib._objc_msgSend_504( - this.pointer, - _lib._sel_unionSet_1, - otherSet.pointer, - ); + _objc_msgSend_504(this.pointer, _sel_unionSet_, otherSet.pointer); } void setSet_(NSSet otherSet) { - _lib._objc_msgSend_504(this.pointer, _lib._sel_setSet_1, otherSet.pointer); + _objc_msgSend_504(this.pointer, _sel_setSet_, otherSet.pointer); } - static NSMutableSet setWithCapacity_(SwiftLibrary _lib, int numItems) { - final _ret = _lib._objc_msgSend_65( - _lib._class_NSMutableSet1, - _lib._sel_setWithCapacity_1, - numItems, - ); - return NSMutableSet._(_ret, _lib, retain: true, release: true); + static NSMutableSet setWithCapacity_(int numItems) { + final _ret = + _objc_msgSend_65(_class_NSMutableSet, _sel_setWithCapacity_, numItems); + return NSMutableSet._(_ret, retain: true, release: true); } void filterUsingPredicate_(NSPredicate predicate) { - _lib._objc_msgSend_487( - this.pointer, - _lib._sel_filterUsingPredicate_1, - predicate.pointer, - ); + _objc_msgSend_487( + this.pointer, _sel_filterUsingPredicate_, predicate.pointer); } @override NSMutableSet initWithObjects_count_( - ffi.Pointer> objects, - int cnt, - ) { - final _ret = _lib._objc_msgSend_66( - this.pointer, - _lib._sel_initWithObjects_count_1, - objects, - cnt, - ); - return NSMutableSet._(_ret, _lib, retain: true, release: true); - } - - static NSMutableSet set1(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSMutableSet1, - _lib._sel_set1, - ); - return NSMutableSet._(_ret, _lib, retain: true, release: true); - } - - static NSMutableSet setWithObject_(SwiftLibrary _lib, NSObject object) { - final _ret = _lib._objc_msgSend_124( - _lib._class_NSMutableSet1, - _lib._sel_setWithObject_1, - object.pointer, - ); - return NSMutableSet._(_ret, _lib, retain: true, release: true); + ffi.Pointer> objects, int cnt) { + final _ret = _objc_msgSend_66( + this.pointer, _sel_initWithObjects_count_, objects, cnt); + return NSMutableSet._(_ret, retain: true, release: true); + } + + static NSMutableSet set1() { + final _ret = _objc_msgSend_2(_class_NSMutableSet, _sel_set); + return NSMutableSet._(_ret, retain: true, release: true); + } + + static NSMutableSet setWithObject_(NSObject object) { + final _ret = _objc_msgSend_124( + _class_NSMutableSet, _sel_setWithObject_, object.pointer); + return NSMutableSet._(_ret, retain: true, release: true); } static NSMutableSet setWithObjects_count_( - SwiftLibrary _lib, - ffi.Pointer> objects, - int cnt, - ) { - final _ret = _lib._objc_msgSend_66( - _lib._class_NSMutableSet1, - _lib._sel_setWithObjects_count_1, - objects, - cnt, - ); - return NSMutableSet._(_ret, _lib, retain: true, release: true); - } - - static NSMutableSet setWithObjects_(SwiftLibrary _lib, NSObject firstObj) { - final _ret = _lib._objc_msgSend_124( - _lib._class_NSMutableSet1, - _lib._sel_setWithObjects_1, - firstObj.pointer, - ); - return NSMutableSet._(_ret, _lib, retain: true, release: true); - } - - static NSMutableSet setWithSet_(SwiftLibrary _lib, NSSet set) { - final _ret = _lib._objc_msgSend_411( - _lib._class_NSMutableSet1, - _lib._sel_setWithSet_1, - set.pointer, - ); - return NSMutableSet._(_ret, _lib, retain: true, release: true); - } - - static NSMutableSet setWithArray_(SwiftLibrary _lib, NSArray array) { - final _ret = _lib._objc_msgSend_125( - _lib._class_NSMutableSet1, - _lib._sel_setWithArray_1, - array.pointer, - ); - return NSMutableSet._(_ret, _lib, retain: true, release: true); + ffi.Pointer> objects, int cnt) { + final _ret = _objc_msgSend_66( + _class_NSMutableSet, _sel_setWithObjects_count_, objects, cnt); + return NSMutableSet._(_ret, retain: true, release: true); + } + + static NSMutableSet setWithObjects_(NSObject firstObj) { + final _ret = _objc_msgSend_124( + _class_NSMutableSet, _sel_setWithObjects_, firstObj.pointer); + return NSMutableSet._(_ret, retain: true, release: true); + } + + static NSMutableSet setWithSet_(NSSet set) { + final _ret = + _objc_msgSend_411(_class_NSMutableSet, _sel_setWithSet_, set.pointer); + return NSMutableSet._(_ret, retain: true, release: true); + } + + static NSMutableSet setWithArray_(NSArray array) { + final _ret = _objc_msgSend_125( + _class_NSMutableSet, _sel_setWithArray_, array.pointer); + return NSMutableSet._(_ret, retain: true, release: true); } @override NSMutableSet initWithObjects_(NSObject firstObj) { - final _ret = _lib._objc_msgSend_124( - this.pointer, - _lib._sel_initWithObjects_1, - firstObj.pointer, - ); - return NSMutableSet._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_124( + this.pointer, _sel_initWithObjects_, firstObj.pointer); + return NSMutableSet._(_ret, retain: true, release: true); } @override NSMutableSet initWithSet_(NSSet set) { - final _ret = _lib._objc_msgSend_411( - this.pointer, - _lib._sel_initWithSet_1, - set.pointer, - ); - return NSMutableSet._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_411(this.pointer, _sel_initWithSet_, set.pointer); + return NSMutableSet._(_ret, retain: true, release: true); } @override NSMutableSet initWithSet_copyItems_(NSSet set, bool flag) { - final _ret = _lib._objc_msgSend_412( - this.pointer, - _lib._sel_initWithSet_copyItems_1, - set.pointer, - flag, - ); - return NSMutableSet._(_ret, _lib, retain: false, release: true); + final _ret = _objc_msgSend_412( + this.pointer, _sel_initWithSet_copyItems_, set.pointer, flag); + return NSMutableSet._(_ret, retain: false, release: true); } @override NSMutableSet initWithArray_(NSArray array) { - final _ret = _lib._objc_msgSend_125( - this.pointer, - _lib._sel_initWithArray_1, - array.pointer, - ); - return NSMutableSet._(_ret, _lib, retain: true, release: true); - } - - static NSMutableSet new1(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSMutableSet1, - _lib._sel_new1, - ); - return NSMutableSet._(_ret, _lib, retain: false, release: true); - } - - static NSMutableSet allocWithZone_( - SwiftLibrary _lib, - ffi.Pointer<_NSZone> zone, - ) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSMutableSet1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSMutableSet._(_ret, _lib, retain: false, release: true); - } - - static NSMutableSet alloc(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSMutableSet1, - _lib._sel_alloc1, - ); - return NSMutableSet._(_ret, _lib, retain: false, release: true); + final _ret = + _objc_msgSend_125(this.pointer, _sel_initWithArray_, array.pointer); + return NSMutableSet._(_ret, retain: true, release: true); + } + + static NSMutableSet new1() { + final _ret = _objc_msgSend_2(_class_NSMutableSet, _sel_new); + return NSMutableSet._(_ret, retain: false, release: true); + } + + static NSMutableSet allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = + _objc_msgSend_3(_class_NSMutableSet, _sel_allocWithZone_, zone); + return NSMutableSet._(_ret, retain: false, release: true); + } + + static NSMutableSet alloc() { + final _ret = _objc_msgSend_2(_class_NSMutableSet, _sel_alloc); + return NSMutableSet._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSMutableSet1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSMutableSet1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSMutableSet1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSMutableSet1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSMutableSet1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSMutableSet1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSMutableSet, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); } - static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSMutableSet1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSMutableSet1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSMutableSet1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSMutableSet, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); } -} + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSMutableSet, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSMutableSet, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSMutableSet, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSMutableSet, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); + } + + static void setKeys_triggerChangeNotificationsForDependentKey_( + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSMutableSet, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = _objc_msgSend_85( + _class_NSMutableSet, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = + _objc_msgSend_2(_class_NSMutableSet, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); + } +} + +late final _class_NSMutableSet = objc.getClass("NSMutableSet"); +late final _sel_setSet_ = objc.registerName("setSet:"); +late final _sel_setWithCapacity_ = objc.registerName("setWithCapacity:"); +late final _sel_mutableSetValueForKey_ = + objc.registerName("mutableSetValueForKey:"); +final _objc_msgSend_507 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer key)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_valueForKeyPath_ = objc.registerName("valueForKeyPath:"); +late final _sel_setValue_forKeyPath_ = + objc.registerName("setValue:forKeyPath:"); +late final _sel_validateValue_forKeyPath_error_ = + objc.registerName("validateValue:forKeyPath:error:"); +late final _sel_mutableArrayValueForKeyPath_ = + objc.registerName("mutableArrayValueForKeyPath:"); +late final _sel_mutableOrderedSetValueForKeyPath_ = + objc.registerName("mutableOrderedSetValueForKeyPath:"); +late final _sel_mutableSetValueForKeyPath_ = + objc.registerName("mutableSetValueForKeyPath:"); +late final _sel_valueForUndefinedKey_ = + objc.registerName("valueForUndefinedKey:"); +late final _sel_setValue_forUndefinedKey_ = + objc.registerName("setValue:forUndefinedKey:"); +late final _sel_setNilValueForKey_ = objc.registerName("setNilValueForKey:"); +late final _sel_dictionaryWithValuesForKeys_ = + objc.registerName("dictionaryWithValuesForKeys:"); +final _objc_msgSend_508 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer keys)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_setValuesForKeysWithDictionary_ = + objc.registerName("setValuesForKeysWithDictionary:"); +final _objc_msgSend_509 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer keyedValues)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_storedValueForKey_ = objc.registerName("storedValueForKey:"); +late final _sel_takeStoredValue_forKey_ = + objc.registerName("takeStoredValue:forKey:"); +late final _sel_takeValue_forKey_ = objc.registerName("takeValue:forKey:"); +late final _sel_takeValue_forKeyPath_ = + objc.registerName("takeValue:forKeyPath:"); +late final _sel_handleQueryWithUnboundKey_ = + objc.registerName("handleQueryWithUnboundKey:"); +late final _sel_handleTakeValue_forUnboundKey_ = + objc.registerName("handleTakeValue:forUnboundKey:"); +late final _sel_unableToSetNilForKey_ = + objc.registerName("unableToSetNilForKey:"); +late final _sel_valuesForKeys_ = objc.registerName("valuesForKeys:"); +late final _sel_takeValuesFromDictionary_ = + objc.registerName("takeValuesFromDictionary:"); +late final _sel_observeValueForKeyPath_ofObject_change_context_ = + objc.registerName("observeValueForKeyPath:ofObject:change:context:"); +final _objc_msgSend_510 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer keyPath, + ffi.Pointer object, + ffi.Pointer change, + ffi.Pointer context)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_willChangeValueForKey_ = + objc.registerName("willChangeValueForKey:"); +late final _sel_didChangeValueForKey_ = + objc.registerName("didChangeValueForKey:"); abstract class NSKeyValueChange { static const int NSKeyValueChangeSetting = 1; @@ -56353,6 +23039,27 @@ abstract class NSKeyValueChange { static const int NSKeyValueChangeReplacement = 4; } +late final _sel_willChange_valuesAtIndexes_forKey_ = + objc.registerName("willChange:valuesAtIndexes:forKey:"); +final _objc_msgSend_511 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Int32 changeKind, + ffi.Pointer indexes, + ffi.Pointer key)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_didChange_valuesAtIndexes_forKey_ = + objc.registerName("didChange:valuesAtIndexes:forKey:"); + abstract class NSKeyValueSetMutationKind { static const int NSKeyValueUnionSetMutation = 1; static const int NSKeyValueMinusSetMutation = 2; @@ -56360,1021 +23067,830 @@ abstract class NSKeyValueSetMutationKind { static const int NSKeyValueSetSetMutation = 4; } +late final _sel_willChangeValueForKey_withSetMutation_usingObjects_ = + objc.registerName("willChangeValueForKey:withSetMutation:usingObjects:"); +final _objc_msgSend_512 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer key, + ffi.Int32 mutationKind, + ffi.Pointer objects)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer)>(); +late final _sel_didChangeValueForKey_withSetMutation_usingObjects_ = + objc.registerName("didChangeValueForKey:withSetMutation:usingObjects:"); +late final _sel_observationInfo = objc.registerName("observationInfo"); +late final _sel_setObservationInfo_ = objc.registerName("setObservationInfo:"); +final _objc_msgSend_513 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_classForKeyedArchiver = + objc.registerName("classForKeyedArchiver"); + class NSKeyedArchiver extends NSCoder { - NSKeyedArchiver._( - ffi.Pointer pointer, - SwiftLibrary lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSKeyedArchiver._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSKeyedArchiver] that points to the same underlying object as [other]. - static NSKeyedArchiver castFrom( - SwiftLibrary lib, - T other, - ) { - return NSKeyedArchiver._(other.pointer, lib, retain: true, release: true); + static NSKeyedArchiver castFrom(T other) { + return NSKeyedArchiver._(other.pointer, retain: true, release: true); } /// Returns a [NSKeyedArchiver] that wraps the given raw object pointer. - static NSKeyedArchiver castFromPointer( - SwiftLibrary lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSKeyedArchiver._(other, lib, retain: retain, release: release); + static NSKeyedArchiver castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSKeyedArchiver._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSKeyedArchiver]. - static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSKeyedArchiver1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0( + obj.pointer, _sel_isKindOfClass_, _class_NSKeyedArchiver); } NSKeyedArchiver initRequiringSecureCoding_(bool requiresSecureCoding) { - final _ret = _lib._objc_msgSend_514( - this.pointer, - _lib._sel_initRequiringSecureCoding_1, - requiresSecureCoding, - ); - return NSKeyedArchiver._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_514( + this.pointer, _sel_initRequiringSecureCoding_, requiresSecureCoding); + return NSKeyedArchiver._(_ret, retain: true, release: true); } static NSData? archivedDataWithRootObject_requiringSecureCoding_error_( - SwiftLibrary _lib, - NSObject object, - bool requiresSecureCoding, - ffi.Pointer> error, - ) { - final _ret = _lib._objc_msgSend_515( - _lib._class_NSKeyedArchiver1, - _lib._sel_archivedDataWithRootObject_requiringSecureCoding_error_1, - object.pointer, - requiresSecureCoding, - error, - ); + NSObject object, + bool requiresSecureCoding, + ffi.Pointer> error) { + final _ret = _objc_msgSend_515( + _class_NSKeyedArchiver, + _sel_archivedDataWithRootObject_requiringSecureCoding_error_, + object.pointer, + requiresSecureCoding, + error); return _ret.address == 0 ? null - : NSData._(_ret, _lib, retain: true, release: true); + : NSData._(_ret, retain: true, release: true); } @override NSKeyedArchiver init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSKeyedArchiver._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSKeyedArchiver._(_ret, retain: true, release: true); } NSKeyedArchiver initForWritingWithMutableData_(NSMutableData data) { - final _ret = _lib._objc_msgSend_521( - this.pointer, - _lib._sel_initForWritingWithMutableData_1, - data.pointer, - ); - return NSKeyedArchiver._(_ret, _lib, retain: true, release: true); - } - - static NSData archivedDataWithRootObject_( - SwiftLibrary _lib, - NSObject rootObject, - ) { - final _ret = _lib._objc_msgSend_522( - _lib._class_NSKeyedArchiver1, - _lib._sel_archivedDataWithRootObject_1, - rootObject.pointer, - ); - return NSData._(_ret, _lib, retain: true, release: true); - } - - static bool archiveRootObject_toFile_( - SwiftLibrary _lib, - NSObject rootObject, - NSString path, - ) { - return _lib._objc_msgSend_261( - _lib._class_NSKeyedArchiver1, - _lib._sel_archiveRootObject_toFile_1, - rootObject.pointer, - path.pointer, - ); + final _ret = _objc_msgSend_521( + this.pointer, _sel_initForWritingWithMutableData_, data.pointer); + return NSKeyedArchiver._(_ret, retain: true, release: true); + } + + static NSData archivedDataWithRootObject_(NSObject rootObject) { + final _ret = _objc_msgSend_522(_class_NSKeyedArchiver, + _sel_archivedDataWithRootObject_, rootObject.pointer); + return NSData._(_ret, retain: true, release: true); + } + + static bool archiveRootObject_toFile_(NSObject rootObject, NSString path) { + return _objc_msgSend_261(_class_NSKeyedArchiver, + _sel_archiveRootObject_toFile_, rootObject.pointer, path.pointer); } NSObject? get delegate { - final _ret = _lib._objc_msgSend_17(this.pointer, _lib._sel_delegate1); + final _ret = _objc_msgSend_17(this.pointer, _sel_delegate); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } set delegate(NSObject? value) { - return _lib._objc_msgSend_416( - this.pointer, - _lib._sel_setDelegate_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_416( + this.pointer, _sel_setDelegate_, value?.pointer ?? ffi.nullptr); } int get outputFormat { - return _lib._objc_msgSend_523(this.pointer, _lib._sel_outputFormat1); + return _objc_msgSend_523(this.pointer, _sel_outputFormat); } set outputFormat(int value) { - return _lib._objc_msgSend_524( - this.pointer, - _lib._sel_setOutputFormat_1, - value, - ); + return _objc_msgSend_524(this.pointer, _sel_setOutputFormat_, value); } NSData get encodedData { - final _ret = _lib._objc_msgSend_43(this.pointer, _lib._sel_encodedData1); - return NSData._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_43(this.pointer, _sel_encodedData); + return NSData._(_ret, retain: true, release: true); } void finishEncoding() { - _lib._objc_msgSend_1(this.pointer, _lib._sel_finishEncoding1); + _objc_msgSend_1(this.pointer, _sel_finishEncoding); } - static void setClassName_forClass_( - SwiftLibrary _lib, - NSString? codedName, - NSObject cls, - ) { - _lib._objc_msgSend_525( - _lib._class_NSKeyedArchiver1, - _lib._sel_setClassName_forClass_1, - codedName?.pointer ?? ffi.nullptr, - cls.pointer, - ); + static void setClassName_forClass_(NSString? codedName, NSObject cls) { + _objc_msgSend_525(_class_NSKeyedArchiver, _sel_setClassName_forClass_, + codedName?.pointer ?? ffi.nullptr, cls.pointer); } - static NSString? classNameForClass_(SwiftLibrary _lib, NSObject cls) { - final _ret = _lib._objc_msgSend_526( - _lib._class_NSKeyedArchiver1, - _lib._sel_classNameForClass_1, - cls.pointer, - ); + static NSString? classNameForClass_(NSObject cls) { + final _ret = _objc_msgSend_526( + _class_NSKeyedArchiver, _sel_classNameForClass_, cls.pointer); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } @override void encodeObject_forKey_(NSObject? object, NSString key) { - _lib._objc_msgSend_135( - this.pointer, - _lib._sel_encodeObject_forKey_1, - object?.pointer ?? ffi.nullptr, - key.pointer, - ); + _objc_msgSend_135(this.pointer, _sel_encodeObject_forKey_, + object?.pointer ?? ffi.nullptr, key.pointer); } @override void encodeConditionalObject_forKey_(NSObject? object, NSString key) { - _lib._objc_msgSend_135( - this.pointer, - _lib._sel_encodeConditionalObject_forKey_1, - object?.pointer ?? ffi.nullptr, - key.pointer, - ); + _objc_msgSend_135(this.pointer, _sel_encodeConditionalObject_forKey_, + object?.pointer ?? ffi.nullptr, key.pointer); } @override void encodeBool_forKey_(bool value, NSString key) { - _lib._objc_msgSend_296( - this.pointer, - _lib._sel_encodeBool_forKey_1, - value, - key.pointer, - ); + _objc_msgSend_296( + this.pointer, _sel_encodeBool_forKey_, value, key.pointer); } @override void encodeInt_forKey_(int value, NSString key) { - _lib._objc_msgSend_297( - this.pointer, - _lib._sel_encodeInt_forKey_1, - value, - key.pointer, - ); + _objc_msgSend_297(this.pointer, _sel_encodeInt_forKey_, value, key.pointer); } @override void encodeInt32_forKey_(int value, NSString key) { - _lib._objc_msgSend_298( - this.pointer, - _lib._sel_encodeInt32_forKey_1, - value, - key.pointer, - ); + _objc_msgSend_298( + this.pointer, _sel_encodeInt32_forKey_, value, key.pointer); } @override void encodeInt64_forKey_(int value, NSString key) { - _lib._objc_msgSend_299( - this.pointer, - _lib._sel_encodeInt64_forKey_1, - value, - key.pointer, - ); + _objc_msgSend_299( + this.pointer, _sel_encodeInt64_forKey_, value, key.pointer); } @override void encodeFloat_forKey_(double value, NSString key) { - _lib._objc_msgSend_300( - this.pointer, - _lib._sel_encodeFloat_forKey_1, - value, - key.pointer, - ); + _objc_msgSend_300( + this.pointer, _sel_encodeFloat_forKey_, value, key.pointer); } @override void encodeDouble_forKey_(double value, NSString key) { - _lib._objc_msgSend_301( - this.pointer, - _lib._sel_encodeDouble_forKey_1, - value, - key.pointer, - ); + _objc_msgSend_301( + this.pointer, _sel_encodeDouble_forKey_, value, key.pointer); } @override void encodeBytes_length_forKey_( - ffi.Pointer bytes, - int length, - NSString key, - ) { - _lib._objc_msgSend_302( - this.pointer, - _lib._sel_encodeBytes_length_forKey_1, - bytes, - length, - key.pointer, - ); + ffi.Pointer bytes, int length, NSString key) { + _objc_msgSend_302(this.pointer, _sel_encodeBytes_length_forKey_, bytes, + length, key.pointer); } @override bool get requiresSecureCoding { - return _lib._objc_msgSend_12(this.pointer, _lib._sel_requiresSecureCoding1); + return _objc_msgSend_12(this.pointer, _sel_requiresSecureCoding); } set requiresSecureCoding(bool value) { - return _lib._objc_msgSend_527( - this.pointer, - _lib._sel_setRequiresSecureCoding_1, - value, - ); + return _objc_msgSend_527( + this.pointer, _sel_setRequiresSecureCoding_, value); } - static NSKeyedArchiver new1(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSKeyedArchiver1, - _lib._sel_new1, - ); - return NSKeyedArchiver._(_ret, _lib, retain: false, release: true); + static NSKeyedArchiver new1() { + final _ret = _objc_msgSend_2(_class_NSKeyedArchiver, _sel_new); + return NSKeyedArchiver._(_ret, retain: false, release: true); } - static NSKeyedArchiver allocWithZone_( - SwiftLibrary _lib, - ffi.Pointer<_NSZone> zone, - ) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSKeyedArchiver1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSKeyedArchiver._(_ret, _lib, retain: false, release: true); + static NSKeyedArchiver allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = + _objc_msgSend_3(_class_NSKeyedArchiver, _sel_allocWithZone_, zone); + return NSKeyedArchiver._(_ret, retain: false, release: true); } - static NSKeyedArchiver alloc(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSKeyedArchiver1, - _lib._sel_alloc1, - ); - return NSKeyedArchiver._(_ret, _lib, retain: false, release: true); + static NSKeyedArchiver alloc() { + final _ret = _objc_msgSend_2(_class_NSKeyedArchiver, _sel_alloc); + return NSKeyedArchiver._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSKeyedArchiver1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSKeyedArchiver1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSKeyedArchiver1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSKeyedArchiver1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSKeyedArchiver1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSKeyedArchiver1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSKeyedArchiver, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); } - static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSKeyedArchiver1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSKeyedArchiver1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSKeyedArchiver1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSKeyedArchiver, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); } -} + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSKeyedArchiver, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSKeyedArchiver, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSKeyedArchiver, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSKeyedArchiver, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); + } + + static void setKeys_triggerChangeNotificationsForDependentKey_( + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSKeyedArchiver, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = _objc_msgSend_85( + _class_NSKeyedArchiver, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = + _objc_msgSend_2(_class_NSKeyedArchiver, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); + } +} + +late final _class_NSKeyedArchiver = objc.getClass("NSKeyedArchiver"); +late final _sel_initRequiringSecureCoding_ = + objc.registerName("initRequiringSecureCoding:"); +final _objc_msgSend_514 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Bool requiresSecureCoding)>>() + .asFunction< + instancetype Function(ffi.Pointer, + ffi.Pointer, bool)>(); +late final _sel_archivedDataWithRootObject_requiringSecureCoding_error_ = objc + .registerName("archivedDataWithRootObject:requiringSecureCoding:error:"); +final _objc_msgSend_515 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer object, + ffi.Bool requiresSecureCoding, + ffi.Pointer> error)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool, + ffi.Pointer>)>(); class NSMutableData extends NSData { - NSMutableData._( - ffi.Pointer pointer, - SwiftLibrary lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSMutableData._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSMutableData] that points to the same underlying object as [other]. - static NSMutableData castFrom( - SwiftLibrary lib, - T other, - ) { - return NSMutableData._(other.pointer, lib, retain: true, release: true); + static NSMutableData castFrom(T other) { + return NSMutableData._(other.pointer, retain: true, release: true); } /// Returns a [NSMutableData] that wraps the given raw object pointer. - static NSMutableData castFromPointer( - SwiftLibrary lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSMutableData._(other, lib, retain: retain, release: release); + static NSMutableData castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSMutableData._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSMutableData]. - static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSMutableData1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0( + obj.pointer, _sel_isKindOfClass_, _class_NSMutableData); } ffi.Pointer get mutableBytes { - return _lib._objc_msgSend_20(this.pointer, _lib._sel_mutableBytes1); + return _objc_msgSend_20(this.pointer, _sel_mutableBytes); } @override int get length { - return _lib._objc_msgSend_10(this.pointer, _lib._sel_length1); + return _objc_msgSend_10(this.pointer, _sel_length); } set length(int value) { - return _lib._objc_msgSend_516(this.pointer, _lib._sel_setLength_1, value); + return _objc_msgSend_516(this.pointer, _sel_setLength_, value); } void appendBytes_length_(ffi.Pointer bytes, int length) { - _lib._objc_msgSend_22( - this.pointer, - _lib._sel_appendBytes_length_1, - bytes, - length, - ); + _objc_msgSend_22(this.pointer, _sel_appendBytes_length_, bytes, length); } void appendData_(NSData other) { - _lib._objc_msgSend_285(this.pointer, _lib._sel_appendData_1, other.pointer); + _objc_msgSend_285(this.pointer, _sel_appendData_, other.pointer); } void increaseLengthBy_(int extraLength) { - _lib._objc_msgSend_470( - this.pointer, - _lib._sel_increaseLengthBy_1, - extraLength, - ); + _objc_msgSend_470(this.pointer, _sel_increaseLengthBy_, extraLength); } void replaceBytesInRange_withBytes_( - _NSRange range, - ffi.Pointer bytes, - ) { - _lib._objc_msgSend_517( - this.pointer, - _lib._sel_replaceBytesInRange_withBytes_1, - range, - bytes, - ); + _NSRange range, ffi.Pointer bytes) { + _objc_msgSend_517( + this.pointer, _sel_replaceBytesInRange_withBytes_, range, bytes); } void resetBytesInRange_(_NSRange range) { - _lib._objc_msgSend_476(this.pointer, _lib._sel_resetBytesInRange_1, range); + _objc_msgSend_476(this.pointer, _sel_resetBytesInRange_, range); } void setData_(NSData data) { - _lib._objc_msgSend_285(this.pointer, _lib._sel_setData_1, data.pointer); + _objc_msgSend_285(this.pointer, _sel_setData_, data.pointer); } - void replaceBytesInRange_withBytes_length_( - _NSRange range, - ffi.Pointer replacementBytes, - int replacementLength, - ) { - _lib._objc_msgSend_518( - this.pointer, - _lib._sel_replaceBytesInRange_withBytes_length_1, - range, - replacementBytes, - replacementLength, - ); + void replaceBytesInRange_withBytes_length_(_NSRange range, + ffi.Pointer replacementBytes, int replacementLength) { + _objc_msgSend_518(this.pointer, _sel_replaceBytesInRange_withBytes_length_, + range, replacementBytes, replacementLength); } - static NSMutableData? dataWithCapacity_(SwiftLibrary _lib, int aNumItems) { - final _ret = _lib._objc_msgSend_519( - _lib._class_NSMutableData1, - _lib._sel_dataWithCapacity_1, - aNumItems, - ); + static NSMutableData? dataWithCapacity_(int aNumItems) { + final _ret = _objc_msgSend_519( + _class_NSMutableData, _sel_dataWithCapacity_, aNumItems); return _ret.address == 0 ? null - : NSMutableData._(_ret, _lib, retain: true, release: true); + : NSMutableData._(_ret, retain: true, release: true); } - static NSMutableData? dataWithLength_(SwiftLibrary _lib, int length) { - final _ret = _lib._objc_msgSend_519( - _lib._class_NSMutableData1, - _lib._sel_dataWithLength_1, - length, - ); + static NSMutableData? dataWithLength_(int length) { + final _ret = + _objc_msgSend_519(_class_NSMutableData, _sel_dataWithLength_, length); return _ret.address == 0 ? null - : NSMutableData._(_ret, _lib, retain: true, release: true); + : NSMutableData._(_ret, retain: true, release: true); } NSMutableData? initWithCapacity_(int capacity) { - final _ret = _lib._objc_msgSend_519( - this.pointer, - _lib._sel_initWithCapacity_1, - capacity, - ); + final _ret = + _objc_msgSend_519(this.pointer, _sel_initWithCapacity_, capacity); return _ret.address == 0 ? null - : NSMutableData._(_ret, _lib, retain: true, release: true); + : NSMutableData._(_ret, retain: true, release: true); } NSMutableData? initWithLength_(int length) { - final _ret = _lib._objc_msgSend_519( - this.pointer, - _lib._sel_initWithLength_1, - length, - ); + final _ret = _objc_msgSend_519(this.pointer, _sel_initWithLength_, length); return _ret.address == 0 ? null - : NSMutableData._(_ret, _lib, retain: true, release: true); + : NSMutableData._(_ret, retain: true, release: true); } bool decompressUsingAlgorithm_error_( - int algorithm, - ffi.Pointer> error, - ) { - return _lib._objc_msgSend_520( - this.pointer, - _lib._sel_decompressUsingAlgorithm_error_1, - algorithm, - error, - ); + int algorithm, ffi.Pointer> error) { + return _objc_msgSend_520( + this.pointer, _sel_decompressUsingAlgorithm_error_, algorithm, error); } bool compressUsingAlgorithm_error_( - int algorithm, - ffi.Pointer> error, - ) { - return _lib._objc_msgSend_520( - this.pointer, - _lib._sel_compressUsingAlgorithm_error_1, - algorithm, - error, - ); + int algorithm, ffi.Pointer> error) { + return _objc_msgSend_520( + this.pointer, _sel_compressUsingAlgorithm_error_, algorithm, error); } - static NSMutableData data(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSMutableData1, - _lib._sel_data1, - ); - return NSMutableData._(_ret, _lib, retain: true, release: true); + static NSMutableData data() { + final _ret = _objc_msgSend_2(_class_NSMutableData, _sel_data); + return NSMutableData._(_ret, retain: true, release: true); } static NSMutableData dataWithBytes_length_( - SwiftLibrary _lib, - ffi.Pointer bytes, - int length, - ) { - final _ret = _lib._objc_msgSend_273( - _lib._class_NSMutableData1, - _lib._sel_dataWithBytes_length_1, - bytes, - length, - ); - return NSMutableData._(_ret, _lib, retain: true, release: true); + ffi.Pointer bytes, int length) { + final _ret = _objc_msgSend_273( + _class_NSMutableData, _sel_dataWithBytes_length_, bytes, length); + return NSMutableData._(_ret, retain: true, release: true); } static NSMutableData dataWithBytesNoCopy_length_( - SwiftLibrary _lib, - ffi.Pointer bytes, - int length, - ) { - final _ret = _lib._objc_msgSend_273( - _lib._class_NSMutableData1, - _lib._sel_dataWithBytesNoCopy_length_1, - bytes, - length, - ); - return NSMutableData._(_ret, _lib, retain: false, release: true); + ffi.Pointer bytes, int length) { + final _ret = _objc_msgSend_273( + _class_NSMutableData, _sel_dataWithBytesNoCopy_length_, bytes, length); + return NSMutableData._(_ret, retain: false, release: true); } static NSMutableData dataWithBytesNoCopy_length_freeWhenDone_( - SwiftLibrary _lib, - ffi.Pointer bytes, - int length, - bool b, - ) { - final _ret = _lib._objc_msgSend_274( - _lib._class_NSMutableData1, - _lib._sel_dataWithBytesNoCopy_length_freeWhenDone_1, - bytes, - length, - b, - ); - return NSMutableData._(_ret, _lib, retain: false, release: true); - } - - static NSMutableData? dataWithContentsOfFile_options_error_( - SwiftLibrary _lib, - NSString path, - int readOptionsMask, - ffi.Pointer> errorPtr, - ) { - final _ret = _lib._objc_msgSend_275( - _lib._class_NSMutableData1, - _lib._sel_dataWithContentsOfFile_options_error_1, - path.pointer, - readOptionsMask, - errorPtr, - ); - return _ret.address == 0 - ? null - : NSMutableData._(_ret, _lib, retain: true, release: true); - } - - static NSMutableData? dataWithContentsOfURL_options_error_( - SwiftLibrary _lib, - NSURL url, - int readOptionsMask, - ffi.Pointer> errorPtr, - ) { - final _ret = _lib._objc_msgSend_276( - _lib._class_NSMutableData1, - _lib._sel_dataWithContentsOfURL_options_error_1, - url.pointer, - readOptionsMask, - errorPtr, - ); - return _ret.address == 0 - ? null - : NSMutableData._(_ret, _lib, retain: true, release: true); - } - - static NSMutableData? dataWithContentsOfFile_( - SwiftLibrary _lib, - NSString path, - ) { - final _ret = _lib._objc_msgSend_38( - _lib._class_NSMutableData1, - _lib._sel_dataWithContentsOfFile_1, - path.pointer, - ); - return _ret.address == 0 - ? null - : NSMutableData._(_ret, _lib, retain: true, release: true); - } - - static NSMutableData? dataWithContentsOfURL_(SwiftLibrary _lib, NSURL url) { - final _ret = _lib._objc_msgSend_277( - _lib._class_NSMutableData1, - _lib._sel_dataWithContentsOfURL_1, - url.pointer, - ); - return _ret.address == 0 - ? null - : NSMutableData._(_ret, _lib, retain: true, release: true); + ffi.Pointer bytes, int length, bool b) { + final _ret = _objc_msgSend_274(_class_NSMutableData, + _sel_dataWithBytesNoCopy_length_freeWhenDone_, bytes, length, b); + return NSMutableData._(_ret, retain: false, release: true); + } + + static NSMutableData? dataWithContentsOfFile_options_error_(NSString path, + int readOptionsMask, ffi.Pointer> errorPtr) { + final _ret = _objc_msgSend_275( + _class_NSMutableData, + _sel_dataWithContentsOfFile_options_error_, + path.pointer, + readOptionsMask, + errorPtr); + return _ret.address == 0 + ? null + : NSMutableData._(_ret, retain: true, release: true); + } + + static NSMutableData? dataWithContentsOfURL_options_error_(NSURL url, + int readOptionsMask, ffi.Pointer> errorPtr) { + final _ret = _objc_msgSend_276( + _class_NSMutableData, + _sel_dataWithContentsOfURL_options_error_, + url.pointer, + readOptionsMask, + errorPtr); + return _ret.address == 0 + ? null + : NSMutableData._(_ret, retain: true, release: true); + } + + static NSMutableData? dataWithContentsOfFile_(NSString path) { + final _ret = _objc_msgSend_38( + _class_NSMutableData, _sel_dataWithContentsOfFile_, path.pointer); + return _ret.address == 0 + ? null + : NSMutableData._(_ret, retain: true, release: true); + } + + static NSMutableData? dataWithContentsOfURL_(NSURL url) { + final _ret = _objc_msgSend_277( + _class_NSMutableData, _sel_dataWithContentsOfURL_, url.pointer); + return _ret.address == 0 + ? null + : NSMutableData._(_ret, retain: true, release: true); } @override NSMutableData initWithBytes_length_(ffi.Pointer bytes, int length) { - final _ret = _lib._objc_msgSend_273( - this.pointer, - _lib._sel_initWithBytes_length_1, - bytes, - length, - ); - return NSMutableData._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_273( + this.pointer, _sel_initWithBytes_length_, bytes, length); + return NSMutableData._(_ret, retain: true, release: true); } @override NSMutableData initWithBytesNoCopy_length_( - ffi.Pointer bytes, - int length, - ) { - final _ret = _lib._objc_msgSend_273( - this.pointer, - _lib._sel_initWithBytesNoCopy_length_1, - bytes, - length, - ); - return NSMutableData._(_ret, _lib, retain: false, release: true); + ffi.Pointer bytes, int length) { + final _ret = _objc_msgSend_273( + this.pointer, _sel_initWithBytesNoCopy_length_, bytes, length); + return NSMutableData._(_ret, retain: false, release: true); } @override NSMutableData initWithBytesNoCopy_length_freeWhenDone_( - ffi.Pointer bytes, - int length, - bool b, - ) { - final _ret = _lib._objc_msgSend_274( - this.pointer, - _lib._sel_initWithBytesNoCopy_length_freeWhenDone_1, - bytes, - length, - b, - ); - return NSMutableData._(_ret, _lib, retain: false, release: true); + ffi.Pointer bytes, int length, bool b) { + final _ret = _objc_msgSend_274(this.pointer, + _sel_initWithBytesNoCopy_length_freeWhenDone_, bytes, length, b); + return NSMutableData._(_ret, retain: false, release: true); } @override NSMutableData initWithBytesNoCopy_length_deallocator_( - ffi.Pointer bytes, - int length, - ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong? deallocator, - ) { - final _ret = _lib._objc_msgSend_278( - this.pointer, - _lib._sel_initWithBytesNoCopy_length_deallocator_1, - bytes, - length, - deallocator?.pointer ?? ffi.nullptr, - ); - return NSMutableData._(_ret, _lib, retain: false, release: true); + ffi.Pointer bytes, + int length, + ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong? deallocator) { + final _ret = _objc_msgSend_278( + this.pointer, + _sel_initWithBytesNoCopy_length_deallocator_, + bytes, + length, + deallocator?.pointer ?? ffi.nullptr); + return NSMutableData._(_ret, retain: false, release: true); } @override - NSMutableData? initWithContentsOfFile_options_error_( - NSString path, - int readOptionsMask, - ffi.Pointer> errorPtr, - ) { - final _ret = _lib._objc_msgSend_275( - this.pointer, - _lib._sel_initWithContentsOfFile_options_error_1, - path.pointer, - readOptionsMask, - errorPtr, - ); + NSMutableData? initWithContentsOfFile_options_error_(NSString path, + int readOptionsMask, ffi.Pointer> errorPtr) { + final _ret = _objc_msgSend_275( + this.pointer, + _sel_initWithContentsOfFile_options_error_, + path.pointer, + readOptionsMask, + errorPtr); return _ret.address == 0 ? null - : NSMutableData._(_ret, _lib, retain: true, release: true); + : NSMutableData._(_ret, retain: true, release: true); } @override - NSMutableData? initWithContentsOfURL_options_error_( - NSURL url, - int readOptionsMask, - ffi.Pointer> errorPtr, - ) { - final _ret = _lib._objc_msgSend_276( - this.pointer, - _lib._sel_initWithContentsOfURL_options_error_1, - url.pointer, - readOptionsMask, - errorPtr, - ); + NSMutableData? initWithContentsOfURL_options_error_(NSURL url, + int readOptionsMask, ffi.Pointer> errorPtr) { + final _ret = _objc_msgSend_276( + this.pointer, + _sel_initWithContentsOfURL_options_error_, + url.pointer, + readOptionsMask, + errorPtr); return _ret.address == 0 ? null - : NSMutableData._(_ret, _lib, retain: true, release: true); + : NSMutableData._(_ret, retain: true, release: true); } @override NSMutableData? initWithContentsOfFile_(NSString path) { - final _ret = _lib._objc_msgSend_38( - this.pointer, - _lib._sel_initWithContentsOfFile_1, - path.pointer, - ); + final _ret = _objc_msgSend_38( + this.pointer, _sel_initWithContentsOfFile_, path.pointer); return _ret.address == 0 ? null - : NSMutableData._(_ret, _lib, retain: true, release: true); + : NSMutableData._(_ret, retain: true, release: true); } @override NSMutableData? initWithContentsOfURL_(NSURL url) { - final _ret = _lib._objc_msgSend_277( - this.pointer, - _lib._sel_initWithContentsOfURL_1, - url.pointer, - ); + final _ret = _objc_msgSend_277( + this.pointer, _sel_initWithContentsOfURL_, url.pointer); return _ret.address == 0 ? null - : NSMutableData._(_ret, _lib, retain: true, release: true); + : NSMutableData._(_ret, retain: true, release: true); } @override NSMutableData initWithData_(NSData data) { - final _ret = _lib._objc_msgSend_279( - this.pointer, - _lib._sel_initWithData_1, - data.pointer, - ); - return NSMutableData._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_279(this.pointer, _sel_initWithData_, data.pointer); + return NSMutableData._(_ret, retain: true, release: true); } - static NSMutableData dataWithData_(SwiftLibrary _lib, NSData data) { - final _ret = _lib._objc_msgSend_279( - _lib._class_NSMutableData1, - _lib._sel_dataWithData_1, - data.pointer, - ); - return NSMutableData._(_ret, _lib, retain: true, release: true); + static NSMutableData dataWithData_(NSData data) { + final _ret = _objc_msgSend_279( + _class_NSMutableData, _sel_dataWithData_, data.pointer); + return NSMutableData._(_ret, retain: true, release: true); } @override NSMutableData? initWithBase64EncodedString_options_( - NSString base64String, - int options, - ) { - final _ret = _lib._objc_msgSend_280( - this.pointer, - _lib._sel_initWithBase64EncodedString_options_1, - base64String.pointer, - options, - ); + NSString base64String, int options) { + final _ret = _objc_msgSend_280( + this.pointer, + _sel_initWithBase64EncodedString_options_, + base64String.pointer, + options); return _ret.address == 0 ? null - : NSMutableData._(_ret, _lib, retain: true, release: true); + : NSMutableData._(_ret, retain: true, release: true); } @override NSMutableData? initWithBase64EncodedData_options_( - NSData base64Data, - int options, - ) { - final _ret = _lib._objc_msgSend_282( - this.pointer, - _lib._sel_initWithBase64EncodedData_options_1, - base64Data.pointer, - options, - ); + NSData base64Data, int options) { + final _ret = _objc_msgSend_282(this.pointer, + _sel_initWithBase64EncodedData_options_, base64Data.pointer, options); return _ret.address == 0 ? null - : NSMutableData._(_ret, _lib, retain: true, release: true); + : NSMutableData._(_ret, retain: true, release: true); } @override NSMutableData? decompressedDataUsingAlgorithm_error_( - int algorithm, - ffi.Pointer> error, - ) { - final _ret = _lib._objc_msgSend_284( - this.pointer, - _lib._sel_decompressedDataUsingAlgorithm_error_1, - algorithm, - error, - ); + int algorithm, ffi.Pointer> error) { + final _ret = _objc_msgSend_284(this.pointer, + _sel_decompressedDataUsingAlgorithm_error_, algorithm, error); return _ret.address == 0 ? null - : NSMutableData._(_ret, _lib, retain: true, release: true); + : NSMutableData._(_ret, retain: true, release: true); } @override NSMutableData? compressedDataUsingAlgorithm_error_( - int algorithm, - ffi.Pointer> error, - ) { - final _ret = _lib._objc_msgSend_284( - this.pointer, - _lib._sel_compressedDataUsingAlgorithm_error_1, - algorithm, - error, - ); + int algorithm, ffi.Pointer> error) { + final _ret = _objc_msgSend_284(this.pointer, + _sel_compressedDataUsingAlgorithm_error_, algorithm, error); return _ret.address == 0 ? null - : NSMutableData._(_ret, _lib, retain: true, release: true); + : NSMutableData._(_ret, retain: true, release: true); } - static NSObject? dataWithContentsOfMappedFile_( - SwiftLibrary _lib, - NSString path, - ) { - final _ret = _lib._objc_msgSend_38( - _lib._class_NSMutableData1, - _lib._sel_dataWithContentsOfMappedFile_1, - path.pointer, - ); + static NSObject? dataWithContentsOfMappedFile_(NSString path) { + final _ret = _objc_msgSend_38( + _class_NSMutableData, _sel_dataWithContentsOfMappedFile_, path.pointer); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } @override NSMutableData init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSMutableData._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSMutableData._(_ret, retain: true, release: true); } - static NSMutableData new1(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSMutableData1, - _lib._sel_new1, - ); - return NSMutableData._(_ret, _lib, retain: false, release: true); + static NSMutableData new1() { + final _ret = _objc_msgSend_2(_class_NSMutableData, _sel_new); + return NSMutableData._(_ret, retain: false, release: true); } - static NSMutableData allocWithZone_( - SwiftLibrary _lib, - ffi.Pointer<_NSZone> zone, - ) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSMutableData1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSMutableData._(_ret, _lib, retain: false, release: true); + static NSMutableData allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = + _objc_msgSend_3(_class_NSMutableData, _sel_allocWithZone_, zone); + return NSMutableData._(_ret, retain: false, release: true); } - static NSMutableData alloc(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSMutableData1, - _lib._sel_alloc1, - ); - return NSMutableData._(_ret, _lib, retain: false, release: true); + static NSMutableData alloc() { + final _ret = _objc_msgSend_2(_class_NSMutableData, _sel_alloc); + return NSMutableData._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSMutableData1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSMutableData1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSMutableData1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSMutableData1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSMutableData1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSMutableData1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSMutableData, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); } - static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSMutableData1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSMutableData1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSMutableData1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSMutableData, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); } -} + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSMutableData, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSMutableData, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSMutableData, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSMutableData, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); + } + + static void setKeys_triggerChangeNotificationsForDependentKey_( + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSMutableData, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = _objc_msgSend_85( + _class_NSMutableData, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = + _objc_msgSend_2(_class_NSMutableData, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); + } +} + +late final _class_NSMutableData = objc.getClass("NSMutableData"); +late final _sel_mutableBytes = objc.registerName("mutableBytes"); +late final _sel_setLength_ = objc.registerName("setLength:"); +final _objc_msgSend_516 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer obj, + ffi.Pointer sel, ffi.UnsignedLong value)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, int)>(); +late final _sel_appendBytes_length_ = objc.registerName("appendBytes:length:"); +late final _sel_appendData_ = objc.registerName("appendData:"); +late final _sel_increaseLengthBy_ = objc.registerName("increaseLengthBy:"); +late final _sel_replaceBytesInRange_withBytes_ = + objc.registerName("replaceBytesInRange:withBytes:"); +final _objc_msgSend_517 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + _NSRange range, + ffi.Pointer bytes)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, _NSRange, ffi.Pointer)>(); +late final _sel_resetBytesInRange_ = objc.registerName("resetBytesInRange:"); +late final _sel_setData_ = objc.registerName("setData:"); +late final _sel_replaceBytesInRange_withBytes_length_ = + objc.registerName("replaceBytesInRange:withBytes:length:"); +final _objc_msgSend_518 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + _NSRange range, + ffi.Pointer replacementBytes, + ffi.UnsignedLong replacementLength)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + int)>(); +late final _sel_dataWithCapacity_ = objc.registerName("dataWithCapacity:"); +final _objc_msgSend_519 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.UnsignedLong aNumItems)>>() + .asFunction< + instancetype Function(ffi.Pointer, + ffi.Pointer, int)>(); +late final _sel_dataWithLength_ = objc.registerName("dataWithLength:"); +late final _sel_initWithLength_ = objc.registerName("initWithLength:"); +late final _sel_decompressUsingAlgorithm_error_ = + objc.registerName("decompressUsingAlgorithm:error:"); +final _objc_msgSend_520 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Int32 algorithm, + ffi.Pointer> error)>>() + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer>)>(); +late final _sel_compressUsingAlgorithm_error_ = + objc.registerName("compressUsingAlgorithm:error:"); +late final _sel_initForWritingWithMutableData_ = + objc.registerName("initForWritingWithMutableData:"); +final _objc_msgSend_521 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer data)>>() + .asFunction< + instancetype Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_archivedDataWithRootObject_ = + objc.registerName("archivedDataWithRootObject:"); +final _objc_msgSend_522 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer rootObject)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_archiveRootObject_toFile_ = + objc.registerName("archiveRootObject:toFile:"); abstract class NSPropertyListFormat { static const int NSPropertyListOpenStepFormat = 1; @@ -57382,358 +23898,371 @@ abstract class NSPropertyListFormat { static const int NSPropertyListBinaryFormat_v1_0 = 200; } +late final _sel_outputFormat = objc.registerName("outputFormat"); +final _objc_msgSend_523 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + int Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_setOutputFormat_ = objc.registerName("setOutputFormat:"); +final _objc_msgSend_524 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer obj, + ffi.Pointer sel, ffi.Int32 value)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, int)>(); +late final _sel_encodedData = objc.registerName("encodedData"); +late final _sel_finishEncoding = objc.registerName("finishEncoding"); +late final _sel_setClassName_forClass_ = + objc.registerName("setClassName:forClass:"); +final _objc_msgSend_525 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer codedName, + ffi.Pointer cls)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_classNameForClass_ = objc.registerName("classNameForClass:"); +final _objc_msgSend_526 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer cls)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_setRequiresSecureCoding_ = + objc.registerName("setRequiresSecureCoding:"); +final _objc_msgSend_527 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer obj, + ffi.Pointer sel, ffi.Bool value)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, bool)>(); +late final _sel_replacementObjectForKeyedArchiver_ = + objc.registerName("replacementObjectForKeyedArchiver:"); +final _objc_msgSend_528 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer archiver)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_performSelectorOnMainThread_withObject_waitUntilDone_modes_ = + objc.registerName( + "performSelectorOnMainThread:withObject:waitUntilDone:modes:"); +final _objc_msgSend_529 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer aSelector, + ffi.Pointer arg, + ffi.Bool wait, + ffi.Pointer array)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool, + ffi.Pointer)>(); +late final _sel_performSelectorOnMainThread_withObject_waitUntilDone_ = + objc.registerName("performSelectorOnMainThread:withObject:waitUntilDone:"); +final _objc_msgSend_530 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer aSelector, + ffi.Pointer arg, + ffi.Bool wait)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool)>(); + class NSThread extends NSObject { - NSThread._( - ffi.Pointer pointer, - SwiftLibrary lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSThread._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSThread] that points to the same underlying object as [other]. - static NSThread castFrom( - SwiftLibrary lib, - T other, - ) { - return NSThread._(other.pointer, lib, retain: true, release: true); + static NSThread castFrom(T other) { + return NSThread._(other.pointer, retain: true, release: true); } /// Returns a [NSThread] that wraps the given raw object pointer. - static NSThread castFromPointer( - SwiftLibrary lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSThread._(other, lib, retain: retain, release: release); + static NSThread castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSThread._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSThread]. - static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSThread1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0(obj.pointer, _sel_isKindOfClass_, _class_NSThread); } - static NSThread getCurrentThread(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_531( - _lib._class_NSThread1, - _lib._sel_currentThread1, - ); - return NSThread._(_ret, _lib, retain: true, release: true); + static NSThread getCurrentThread() { + final _ret = _objc_msgSend_531(_class_NSThread, _sel_currentThread); + return NSThread._(_ret, retain: true, release: true); } - static void detachNewThreadWithBlock_( - SwiftLibrary _lib, - ObjCBlock_ffiVoid block, - ) { - _lib._objc_msgSend_532( - _lib._class_NSThread1, - _lib._sel_detachNewThreadWithBlock_1, - block.pointer, - ); + static void detachNewThreadWithBlock_(ObjCBlock_ffiVoid block) { + _objc_msgSend_532( + _class_NSThread, _sel_detachNewThreadWithBlock_, block.pointer); } static void detachNewThreadSelector_toTarget_withObject_( - SwiftLibrary _lib, - ffi.Pointer selector, - NSObject target, - NSObject? argument, - ) { - _lib._objc_msgSend_533( - _lib._class_NSThread1, - _lib._sel_detachNewThreadSelector_toTarget_withObject_1, - selector, - target.pointer, - argument?.pointer ?? ffi.nullptr, - ); - } - - static bool isMultiThreaded(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSThread1, - _lib._sel_isMultiThreaded1, - ); + ffi.Pointer selector, + NSObject target, + NSObject? argument) { + _objc_msgSend_533( + _class_NSThread, + _sel_detachNewThreadSelector_toTarget_withObject_, + selector, + target.pointer, + argument?.pointer ?? ffi.nullptr); + } + + static bool isMultiThreaded() { + return _objc_msgSend_12(_class_NSThread, _sel_isMultiThreaded); } NSMutableDictionary get threadDictionary { - final _ret = _lib._objc_msgSend_539( - this.pointer, - _lib._sel_threadDictionary1, - ); - return NSMutableDictionary._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_539(this.pointer, _sel_threadDictionary); + return NSMutableDictionary._(_ret, retain: true, release: true); } - static void sleepUntilDate_(SwiftLibrary _lib, NSDate date) { - _lib._objc_msgSend_540( - _lib._class_NSThread1, - _lib._sel_sleepUntilDate_1, - date.pointer, - ); + static void sleepUntilDate_(NSDate date) { + _objc_msgSend_540(_class_NSThread, _sel_sleepUntilDate_, date.pointer); } - static void sleepForTimeInterval_(SwiftLibrary _lib, double ti) { - _lib._objc_msgSend_541( - _lib._class_NSThread1, - _lib._sel_sleepForTimeInterval_1, - ti, - ); + static void sleepForTimeInterval_(double ti) { + _objc_msgSend_541(_class_NSThread, _sel_sleepForTimeInterval_, ti); } - static void exit(SwiftLibrary _lib) { - _lib._objc_msgSend_1(_lib._class_NSThread1, _lib._sel_exit1); + static void exit() { + _objc_msgSend_1(_class_NSThread, _sel_exit); } double get threadPriority { return objc.useMsgSendVariants - ? _lib._objc_msgSend_165_fpret(this.pointer, _lib._sel_threadPriority1) - : _lib._objc_msgSend_165(this.pointer, _lib._sel_threadPriority1); + ? _objc_msgSend_165Fpret(this.pointer, _sel_threadPriority) + : _objc_msgSend_165(this.pointer, _sel_threadPriority); } set threadPriority(double value) { - return _lib._objc_msgSend_542( - this.pointer, - _lib._sel_setThreadPriority_1, - value, - ); + return _objc_msgSend_542(this.pointer, _sel_setThreadPriority_, value); } int get qualityOfService { - return _lib._objc_msgSend_543(this.pointer, _lib._sel_qualityOfService1); + return _objc_msgSend_543(this.pointer, _sel_qualityOfService); } set qualityOfService(int value) { - return _lib._objc_msgSend_544( - this.pointer, - _lib._sel_setQualityOfService_1, - value, - ); + return _objc_msgSend_544(this.pointer, _sel_setQualityOfService_, value); } - static NSArray getCallStackReturnAddresses(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSThread1, - _lib._sel_callStackReturnAddresses1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); + static NSArray getCallStackReturnAddresses() { + final _ret = + _objc_msgSend_85(_class_NSThread, _sel_callStackReturnAddresses); + return NSArray._(_ret, retain: true, release: true); } - static NSArray getCallStackSymbols(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSThread1, - _lib._sel_callStackSymbols1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); + static NSArray getCallStackSymbols() { + final _ret = _objc_msgSend_85(_class_NSThread, _sel_callStackSymbols); + return NSArray._(_ret, retain: true, release: true); } NSString? get name { - final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_name1); + final _ret = _objc_msgSend_44(this.pointer, _sel_name); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } set name(NSString? value) { - return _lib._objc_msgSend_545( - this.pointer, - _lib._sel_setName_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_545( + this.pointer, _sel_setName_, value?.pointer ?? ffi.nullptr); } int get stackSize { - return _lib._objc_msgSend_10(this.pointer, _lib._sel_stackSize1); + return _objc_msgSend_10(this.pointer, _sel_stackSize); } set stackSize(int value) { - return _lib._objc_msgSend_516( - this.pointer, - _lib._sel_setStackSize_1, - value, - ); + return _objc_msgSend_516(this.pointer, _sel_setStackSize_, value); } bool get isMainThread { - return _lib._objc_msgSend_12(this.pointer, _lib._sel_isMainThread1); + return _objc_msgSend_12(this.pointer, _sel_isMainThread); } - static NSThread getMainThread(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_531( - _lib._class_NSThread1, - _lib._sel_mainThread1, - ); - return NSThread._(_ret, _lib, retain: true, release: true); + static NSThread getMainThread() { + final _ret = _objc_msgSend_531(_class_NSThread, _sel_mainThread); + return NSThread._(_ret, retain: true, release: true); } @override NSThread init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSThread._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSThread._(_ret, retain: true, release: true); } - NSThread initWithTarget_selector_object_( - NSObject target, - ffi.Pointer selector, - NSObject? argument, - ) { - final _ret = _lib._objc_msgSend_546( - this.pointer, - _lib._sel_initWithTarget_selector_object_1, - target.pointer, - selector, - argument?.pointer ?? ffi.nullptr, - ); - return NSThread._(_ret, _lib, retain: true, release: true); + NSThread initWithTarget_selector_object_(NSObject target, + ffi.Pointer selector, NSObject? argument) { + final _ret = _objc_msgSend_546( + this.pointer, + _sel_initWithTarget_selector_object_, + target.pointer, + selector, + argument?.pointer ?? ffi.nullptr); + return NSThread._(_ret, retain: true, release: true); } NSThread initWithBlock_(ObjCBlock_ffiVoid block) { - final _ret = _lib._objc_msgSend_547( - this.pointer, - _lib._sel_initWithBlock_1, - block.pointer, - ); - return NSThread._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_547(this.pointer, _sel_initWithBlock_, block.pointer); + return NSThread._(_ret, retain: true, release: true); } bool get executing { - return _lib._objc_msgSend_12(this.pointer, _lib._sel_isExecuting1); + return _objc_msgSend_12(this.pointer, _sel_isExecuting); } bool get finished { - return _lib._objc_msgSend_12(this.pointer, _lib._sel_isFinished1); + return _objc_msgSend_12(this.pointer, _sel_isFinished); } bool get cancelled { - return _lib._objc_msgSend_12(this.pointer, _lib._sel_isCancelled1); + return _objc_msgSend_12(this.pointer, _sel_isCancelled); } void cancel() { - _lib._objc_msgSend_1(this.pointer, _lib._sel_cancel1); + _objc_msgSend_1(this.pointer, _sel_cancel); } void start() { - _lib._objc_msgSend_1(this.pointer, _lib._sel_start1); + _objc_msgSend_1(this.pointer, _sel_start); } void main() { - _lib._objc_msgSend_1(this.pointer, _lib._sel_main1); + _objc_msgSend_1(this.pointer, _sel_main); } - static NSThread new1(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2(_lib._class_NSThread1, _lib._sel_new1); - return NSThread._(_ret, _lib, retain: false, release: true); + static NSThread new1() { + final _ret = _objc_msgSend_2(_class_NSThread, _sel_new); + return NSThread._(_ret, retain: false, release: true); } - static NSThread allocWithZone_(SwiftLibrary _lib, ffi.Pointer<_NSZone> zone) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSThread1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSThread._(_ret, _lib, retain: false, release: true); + static NSThread allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = _objc_msgSend_3(_class_NSThread, _sel_allocWithZone_, zone); + return NSThread._(_ret, retain: false, release: true); } - static NSThread alloc(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2(_lib._class_NSThread1, _lib._sel_alloc1); - return NSThread._(_ret, _lib, retain: false, release: true); + static NSThread alloc() { + final _ret = _objc_msgSend_2(_class_NSThread, _sel_alloc); + return NSThread._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSThread1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSThread1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSThread1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSThread1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSThread1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSThread1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSThread, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); } - static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSThread1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSThread1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSThread1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSThread, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); + } + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSThread, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSThread, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSThread, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSThread, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); } -} -void _ObjCBlock_ffiVoid_fnPtrTrampoline(ffi.Pointer block) => + static void setKeys_triggerChangeNotificationsForDependentKey_( + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSThread, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = + _objc_msgSend_85(_class_NSThread, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = _objc_msgSend_2(_class_NSThread, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); + } +} + +late final _class_NSThread = objc.getClass("NSThread"); +late final _sel_currentThread = objc.registerName("currentThread"); +final _objc_msgSend_531 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +void _ObjCBlock_ffiVoid_fnPtrTrampoline( + ffi.Pointer block, +) => block.ref.target .cast>() .asFunction()(); @@ -57751,23 +24280,14 @@ void _ObjCBlock_ffiVoid_closureTrampoline( _ObjCBlock_ffiVoid_closureRegistry[block.ref.target.address]!(); class ObjCBlock_ffiVoid extends objc.ObjCBlockBase { - ObjCBlock_ffiVoid._( - ffi.Pointer pointer, - this._lib, { - bool retain = false, - bool release = true, - }) : super(pointer, retain: retain, release: release); - - SwiftLibrary _lib; + ObjCBlock_ffiVoid._(ffi.Pointer pointer, + {bool retain = false, bool release = true}) + : super(pointer, retain: retain, release: release); /// Returns a block that wraps the given raw block pointer. - static ObjCBlock_ffiVoid castFromPointer( - SwiftLibrary lib, - ffi.Pointer pointer, { - bool retain = false, - bool release = false, - }) { - return ObjCBlock_ffiVoid._(pointer, lib, retain: retain, release: release); + static ObjCBlock_ffiVoid castFromPointer(ffi.Pointer pointer, + {bool retain = false, bool release = false}) { + return ObjCBlock_ffiVoid._(pointer, retain: retain, release: release); } /// Creates a block from a C function pointer. @@ -57776,17 +24296,13 @@ class ObjCBlock_ffiVoid extends objc.ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid.fromFunctionPointer( - SwiftLibrary lib, - ffi.Pointer> ptr, - ) : this._( - objc.newBlock( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function(ffi.Pointer)>( - _ObjCBlock_ffiVoid_fnPtrTrampoline) - .cast(), - ptr.cast(), - ), - lib); + ffi.Pointer> ptr) + : this._(objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function(ffi.Pointer)>( + _ObjCBlock_ffiVoid_fnPtrTrampoline) + .cast(), + ptr.cast())); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -57794,16 +24310,13 @@ class ObjCBlock_ffiVoid extends objc.ObjCBlockBase { /// This block must be invoked by native code running on the same thread as /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. - ObjCBlock_ffiVoid.fromFunction(SwiftLibrary lib, void Function() fn) - : this._( - objc.newBlock( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function(ffi.Pointer)>( - _ObjCBlock_ffiVoid_closureTrampoline) - .cast(), - _ObjCBlock_ffiVoid_registerClosure(() => fn()), - ), - lib); + ObjCBlock_ffiVoid.fromFunction(void Function() fn) + : this._(objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function(ffi.Pointer)>( + _ObjCBlock_ffiVoid_closureTrampoline) + .cast(), + _ObjCBlock_ffiVoid_registerClosure(() => fn()))); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -57815,514 +24328,469 @@ class ObjCBlock_ffiVoid extends objc.ObjCBlockBase { /// /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. - ObjCBlock_ffiVoid.listener(SwiftLibrary lib, void Function() fn) - : this._( - objc.newBlock( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function(ffi.Pointer)>.listener( - _ObjCBlock_ffiVoid_closureTrampoline, - )..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_registerClosure(() => fn()), - ), - lib); + ObjCBlock_ffiVoid.listener(void Function() fn) + : this._(objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer)>.listener( + _ObjCBlock_ffiVoid_closureTrampoline) + ..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_registerClosure(() => fn()))); static ffi.NativeCallable)>? _dartFuncListenerTrampoline; void call() => pointer.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer block)>>() - .asFunction)>()(pointer); + .cast< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer block)>>() + .asFunction)>()( + pointer, + ); } +late final _sel_detachNewThreadWithBlock_ = + objc.registerName("detachNewThreadWithBlock:"); +final _objc_msgSend_532 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer block)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_detachNewThreadSelector_toTarget_withObject_ = + objc.registerName("detachNewThreadSelector:toTarget:withObject:"); +final _objc_msgSend_533 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer selector, + ffi.Pointer target, + ffi.Pointer argument)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_isMultiThreaded = objc.registerName("isMultiThreaded"); + class NSMutableDictionary extends NSDictionary { - NSMutableDictionary._( - ffi.Pointer pointer, - SwiftLibrary lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSMutableDictionary._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSMutableDictionary] that points to the same underlying object as [other]. - static NSMutableDictionary castFrom( - SwiftLibrary lib, - T other, - ) { - return NSMutableDictionary._( - other.pointer, - lib, - retain: true, - release: true, - ); + static NSMutableDictionary castFrom(T other) { + return NSMutableDictionary._(other.pointer, retain: true, release: true); } /// Returns a [NSMutableDictionary] that wraps the given raw object pointer. - static NSMutableDictionary castFromPointer( - SwiftLibrary lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSMutableDictionary._(other, lib, retain: retain, release: release); + static NSMutableDictionary castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSMutableDictionary._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSMutableDictionary]. - static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSMutableDictionary1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0( + obj.pointer, _sel_isKindOfClass_, _class_NSMutableDictionary); } void removeObjectForKey_(NSObject aKey) { - _lib._objc_msgSend_15( - this.pointer, - _lib._sel_removeObjectForKey_1, - aKey.pointer, - ); + _objc_msgSend_15(this.pointer, _sel_removeObjectForKey_, aKey.pointer); } void setObject_forKey_(NSObject anObject, NSObject aKey) { - _lib._objc_msgSend_534( - this.pointer, - _lib._sel_setObject_forKey_1, - anObject.pointer, - aKey.pointer, - ); + _objc_msgSend_534( + this.pointer, _sel_setObject_forKey_, anObject.pointer, aKey.pointer); } @override NSMutableDictionary init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSMutableDictionary._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSMutableDictionary._(_ret, retain: true, release: true); } NSMutableDictionary initWithCapacity_(int numItems) { - final _ret = _lib._objc_msgSend_65( - this.pointer, - _lib._sel_initWithCapacity_1, - numItems, - ); - return NSMutableDictionary._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_65(this.pointer, _sel_initWithCapacity_, numItems); + return NSMutableDictionary._(_ret, retain: true, release: true); } @override NSMutableDictionary? initWithCoder_(NSCoder coder) { - final _ret = _lib._objc_msgSend_47( - this.pointer, - _lib._sel_initWithCoder_1, - coder.pointer, - ); + final _ret = + _objc_msgSend_47(this.pointer, _sel_initWithCoder_, coder.pointer); return _ret.address == 0 ? null - : NSMutableDictionary._(_ret, _lib, retain: true, release: true); + : NSMutableDictionary._(_ret, retain: true, release: true); } void addEntriesFromDictionary_(NSDictionary otherDictionary) { - _lib._objc_msgSend_509( - this.pointer, - _lib._sel_addEntriesFromDictionary_1, - otherDictionary.pointer, - ); + _objc_msgSend_509( + this.pointer, _sel_addEntriesFromDictionary_, otherDictionary.pointer); } void removeAllObjects() { - _lib._objc_msgSend_1(this.pointer, _lib._sel_removeAllObjects1); + _objc_msgSend_1(this.pointer, _sel_removeAllObjects); } void removeObjectsForKeys_(NSArray keyArray) { - _lib._objc_msgSend_472( - this.pointer, - _lib._sel_removeObjectsForKeys_1, - keyArray.pointer, - ); + _objc_msgSend_472( + this.pointer, _sel_removeObjectsForKeys_, keyArray.pointer); } void setDictionary_(NSDictionary otherDictionary) { - _lib._objc_msgSend_509( - this.pointer, - _lib._sel_setDictionary_1, - otherDictionary.pointer, - ); + _objc_msgSend_509( + this.pointer, _sel_setDictionary_, otherDictionary.pointer); } void setObject_forKeyedSubscript_(NSObject? obj, NSObject key) { - _lib._objc_msgSend_535( - this.pointer, - _lib._sel_setObject_forKeyedSubscript_1, - obj?.pointer ?? ffi.nullptr, - key.pointer, - ); + _objc_msgSend_535(this.pointer, _sel_setObject_forKeyedSubscript_, + obj?.pointer ?? ffi.nullptr, key.pointer); } - static NSMutableDictionary dictionaryWithCapacity_( - SwiftLibrary _lib, - int numItems, - ) { - final _ret = _lib._objc_msgSend_65( - _lib._class_NSMutableDictionary1, - _lib._sel_dictionaryWithCapacity_1, - numItems, - ); - return NSMutableDictionary._(_ret, _lib, retain: true, release: true); + static NSMutableDictionary dictionaryWithCapacity_(int numItems) { + final _ret = _objc_msgSend_65( + _class_NSMutableDictionary, _sel_dictionaryWithCapacity_, numItems); + return NSMutableDictionary._(_ret, retain: true, release: true); } - static NSMutableDictionary? dictionaryWithContentsOfFile_( - SwiftLibrary _lib, - NSString path, - ) { - final _ret = _lib._objc_msgSend_536( - _lib._class_NSMutableDictionary1, - _lib._sel_dictionaryWithContentsOfFile_1, - path.pointer, - ); + static NSMutableDictionary? dictionaryWithContentsOfFile_(NSString path) { + final _ret = _objc_msgSend_536(_class_NSMutableDictionary, + _sel_dictionaryWithContentsOfFile_, path.pointer); return _ret.address == 0 ? null - : NSMutableDictionary._(_ret, _lib, retain: true, release: true); + : NSMutableDictionary._(_ret, retain: true, release: true); } - static NSMutableDictionary? dictionaryWithContentsOfURL_( - SwiftLibrary _lib, - NSURL url, - ) { - final _ret = _lib._objc_msgSend_537( - _lib._class_NSMutableDictionary1, - _lib._sel_dictionaryWithContentsOfURL_1, - url.pointer, - ); + static NSMutableDictionary? dictionaryWithContentsOfURL_(NSURL url) { + final _ret = _objc_msgSend_537(_class_NSMutableDictionary, + _sel_dictionaryWithContentsOfURL_, url.pointer); return _ret.address == 0 ? null - : NSMutableDictionary._(_ret, _lib, retain: true, release: true); + : NSMutableDictionary._(_ret, retain: true, release: true); } NSMutableDictionary? initWithContentsOfFile_(NSString path) { - final _ret = _lib._objc_msgSend_536( - this.pointer, - _lib._sel_initWithContentsOfFile_1, - path.pointer, - ); + final _ret = _objc_msgSend_536( + this.pointer, _sel_initWithContentsOfFile_, path.pointer); return _ret.address == 0 ? null - : NSMutableDictionary._(_ret, _lib, retain: true, release: true); + : NSMutableDictionary._(_ret, retain: true, release: true); } NSMutableDictionary? initWithContentsOfURL_(NSURL url) { - final _ret = _lib._objc_msgSend_537( - this.pointer, - _lib._sel_initWithContentsOfURL_1, - url.pointer, - ); + final _ret = _objc_msgSend_537( + this.pointer, _sel_initWithContentsOfURL_, url.pointer); return _ret.address == 0 ? null - : NSMutableDictionary._(_ret, _lib, retain: true, release: true); + : NSMutableDictionary._(_ret, retain: true, release: true); } - static NSMutableDictionary dictionaryWithSharedKeySet_( - SwiftLibrary _lib, - NSObject keyset, - ) { - final _ret = _lib._objc_msgSend_538( - _lib._class_NSMutableDictionary1, - _lib._sel_dictionaryWithSharedKeySet_1, - keyset.pointer, - ); - return NSMutableDictionary._(_ret, _lib, retain: true, release: true); + static NSMutableDictionary dictionaryWithSharedKeySet_(NSObject keyset) { + final _ret = _objc_msgSend_538(_class_NSMutableDictionary, + _sel_dictionaryWithSharedKeySet_, keyset.pointer); + return NSMutableDictionary._(_ret, retain: true, release: true); } void setValue_forKey_(NSObject? value, NSString key) { - _lib._objc_msgSend_135( - this.pointer, - _lib._sel_setValue_forKey_1, - value?.pointer ?? ffi.nullptr, - key.pointer, - ); + _objc_msgSend_135(this.pointer, _sel_setValue_forKey_, + value?.pointer ?? ffi.nullptr, key.pointer); } @override NSMutableDictionary initWithObjects_forKeys_count_( - ffi.Pointer> objects, - ffi.Pointer> keys, - int cnt, - ) { - final _ret = _lib._objc_msgSend_147( - this.pointer, - _lib._sel_initWithObjects_forKeys_count_1, - objects, - keys, - cnt, - ); - return NSMutableDictionary._(_ret, _lib, retain: true, release: true); - } - - static NSMutableDictionary dictionary(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSMutableDictionary1, - _lib._sel_dictionary1, - ); - return NSMutableDictionary._(_ret, _lib, retain: true, release: true); + ffi.Pointer> objects, + ffi.Pointer> keys, + int cnt) { + final _ret = _objc_msgSend_147( + this.pointer, _sel_initWithObjects_forKeys_count_, objects, keys, cnt); + return NSMutableDictionary._(_ret, retain: true, release: true); + } + + static NSMutableDictionary dictionary() { + final _ret = _objc_msgSend_2(_class_NSMutableDictionary, _sel_dictionary); + return NSMutableDictionary._(_ret, retain: true, release: true); } static NSMutableDictionary dictionaryWithObject_forKey_( - SwiftLibrary _lib, - NSObject object, - NSObject key, - ) { - final _ret = _lib._objc_msgSend_158( - _lib._class_NSMutableDictionary1, - _lib._sel_dictionaryWithObject_forKey_1, - object.pointer, - key.pointer, - ); - return NSMutableDictionary._(_ret, _lib, retain: true, release: true); + NSObject object, NSObject key) { + final _ret = _objc_msgSend_158(_class_NSMutableDictionary, + _sel_dictionaryWithObject_forKey_, object.pointer, key.pointer); + return NSMutableDictionary._(_ret, retain: true, release: true); } static NSMutableDictionary dictionaryWithObjects_forKeys_count_( - SwiftLibrary _lib, - ffi.Pointer> objects, - ffi.Pointer> keys, - int cnt, - ) { - final _ret = _lib._objc_msgSend_147( - _lib._class_NSMutableDictionary1, - _lib._sel_dictionaryWithObjects_forKeys_count_1, - objects, - keys, - cnt, - ); - return NSMutableDictionary._(_ret, _lib, retain: true, release: true); + ffi.Pointer> objects, + ffi.Pointer> keys, + int cnt) { + final _ret = _objc_msgSend_147(_class_NSMutableDictionary, + _sel_dictionaryWithObjects_forKeys_count_, objects, keys, cnt); + return NSMutableDictionary._(_ret, retain: true, release: true); } static NSMutableDictionary dictionaryWithObjectsAndKeys_( - SwiftLibrary _lib, - NSObject firstObject, - ) { - final _ret = _lib._objc_msgSend_124( - _lib._class_NSMutableDictionary1, - _lib._sel_dictionaryWithObjectsAndKeys_1, - firstObject.pointer, - ); - return NSMutableDictionary._(_ret, _lib, retain: true, release: true); - } - - static NSMutableDictionary dictionaryWithDictionary_( - SwiftLibrary _lib, - NSDictionary dict, - ) { - final _ret = _lib._objc_msgSend_159( - _lib._class_NSMutableDictionary1, - _lib._sel_dictionaryWithDictionary_1, - dict.pointer, - ); - return NSMutableDictionary._(_ret, _lib, retain: true, release: true); + NSObject firstObject) { + final _ret = _objc_msgSend_124(_class_NSMutableDictionary, + _sel_dictionaryWithObjectsAndKeys_, firstObject.pointer); + return NSMutableDictionary._(_ret, retain: true, release: true); + } + + static NSMutableDictionary dictionaryWithDictionary_(NSDictionary dict) { + final _ret = _objc_msgSend_159(_class_NSMutableDictionary, + _sel_dictionaryWithDictionary_, dict.pointer); + return NSMutableDictionary._(_ret, retain: true, release: true); } static NSMutableDictionary dictionaryWithObjects_forKeys_( - SwiftLibrary _lib, - NSArray objects, - NSArray keys, - ) { - final _ret = _lib._objc_msgSend_160( - _lib._class_NSMutableDictionary1, - _lib._sel_dictionaryWithObjects_forKeys_1, - objects.pointer, - keys.pointer, - ); - return NSMutableDictionary._(_ret, _lib, retain: true, release: true); + NSArray objects, NSArray keys) { + final _ret = _objc_msgSend_160(_class_NSMutableDictionary, + _sel_dictionaryWithObjects_forKeys_, objects.pointer, keys.pointer); + return NSMutableDictionary._(_ret, retain: true, release: true); } @override NSMutableDictionary initWithObjectsAndKeys_(NSObject firstObject) { - final _ret = _lib._objc_msgSend_124( - this.pointer, - _lib._sel_initWithObjectsAndKeys_1, - firstObject.pointer, - ); - return NSMutableDictionary._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_124( + this.pointer, _sel_initWithObjectsAndKeys_, firstObject.pointer); + return NSMutableDictionary._(_ret, retain: true, release: true); } @override NSMutableDictionary initWithDictionary_(NSDictionary otherDictionary) { - final _ret = _lib._objc_msgSend_159( - this.pointer, - _lib._sel_initWithDictionary_1, - otherDictionary.pointer, - ); - return NSMutableDictionary._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_159( + this.pointer, _sel_initWithDictionary_, otherDictionary.pointer); + return NSMutableDictionary._(_ret, retain: true, release: true); } @override NSMutableDictionary initWithDictionary_copyItems_( - NSDictionary otherDictionary, - bool flag, - ) { - final _ret = _lib._objc_msgSend_161( - this.pointer, - _lib._sel_initWithDictionary_copyItems_1, - otherDictionary.pointer, - flag, - ); - return NSMutableDictionary._(_ret, _lib, retain: false, release: true); + NSDictionary otherDictionary, bool flag) { + final _ret = _objc_msgSend_161(this.pointer, + _sel_initWithDictionary_copyItems_, otherDictionary.pointer, flag); + return NSMutableDictionary._(_ret, retain: false, release: true); } @override NSMutableDictionary initWithObjects_forKeys_(NSArray objects, NSArray keys) { - final _ret = _lib._objc_msgSend_160( - this.pointer, - _lib._sel_initWithObjects_forKeys_1, - objects.pointer, - keys.pointer, - ); - return NSMutableDictionary._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_160(this.pointer, _sel_initWithObjects_forKeys_, + objects.pointer, keys.pointer); + return NSMutableDictionary._(_ret, retain: true, release: true); } static NSDictionary? dictionaryWithContentsOfURL_error_( - SwiftLibrary _lib, - NSURL url, - ffi.Pointer> error, - ) { - final _ret = _lib._objc_msgSend_162( - _lib._class_NSMutableDictionary1, - _lib._sel_dictionaryWithContentsOfURL_error_1, - url.pointer, - error, - ); - return _ret.address == 0 - ? null - : NSDictionary._(_ret, _lib, retain: true, release: true); - } - - static NSObject sharedKeySetForKeys_(SwiftLibrary _lib, NSArray keys) { - final _ret = _lib._objc_msgSend_125( - _lib._class_NSMutableDictionary1, - _lib._sel_sharedKeySetForKeys_1, - keys.pointer, - ); - return NSObject._(_ret, _lib, retain: true, release: true); - } - - static NSMutableDictionary new1(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSMutableDictionary1, - _lib._sel_new1, - ); - return NSMutableDictionary._(_ret, _lib, retain: false, release: true); - } - - static NSMutableDictionary allocWithZone_( - SwiftLibrary _lib, - ffi.Pointer<_NSZone> zone, - ) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSMutableDictionary1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSMutableDictionary._(_ret, _lib, retain: false, release: true); - } - - static NSMutableDictionary alloc(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSMutableDictionary1, - _lib._sel_alloc1, - ); - return NSMutableDictionary._(_ret, _lib, retain: false, release: true); + NSURL url, ffi.Pointer> error) { + final _ret = _objc_msgSend_162(_class_NSMutableDictionary, + _sel_dictionaryWithContentsOfURL_error_, url.pointer, error); + return _ret.address == 0 + ? null + : NSDictionary._(_ret, retain: true, release: true); + } + + static NSObject sharedKeySetForKeys_(NSArray keys) { + final _ret = _objc_msgSend_125( + _class_NSMutableDictionary, _sel_sharedKeySetForKeys_, keys.pointer); + return NSObject._(_ret, retain: true, release: true); + } + + static NSMutableDictionary new1() { + final _ret = _objc_msgSend_2(_class_NSMutableDictionary, _sel_new); + return NSMutableDictionary._(_ret, retain: false, release: true); + } + + static NSMutableDictionary allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = + _objc_msgSend_3(_class_NSMutableDictionary, _sel_allocWithZone_, zone); + return NSMutableDictionary._(_ret, retain: false, release: true); + } + + static NSMutableDictionary alloc() { + final _ret = _objc_msgSend_2(_class_NSMutableDictionary, _sel_alloc); + return NSMutableDictionary._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSMutableDictionary1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSMutableDictionary1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSMutableDictionary1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSMutableDictionary1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSMutableDictionary1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSMutableDictionary1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSMutableDictionary, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); } - static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSMutableDictionary1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSMutableDictionary1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSMutableDictionary1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSMutableDictionary, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); } -} + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSMutableDictionary, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSMutableDictionary, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSMutableDictionary, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSMutableDictionary, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); + } + + static void setKeys_triggerChangeNotificationsForDependentKey_( + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSMutableDictionary, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = _objc_msgSend_85( + _class_NSMutableDictionary, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = _objc_msgSend_2( + _class_NSMutableDictionary, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); + } +} + +late final _class_NSMutableDictionary = objc.getClass("NSMutableDictionary"); +late final _sel_removeObjectForKey_ = objc.registerName("removeObjectForKey:"); +late final _sel_setObject_forKey_ = objc.registerName("setObject:forKey:"); +final _objc_msgSend_534 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer anObject, + ffi.Pointer aKey)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_addEntriesFromDictionary_ = + objc.registerName("addEntriesFromDictionary:"); +late final _sel_removeObjectsForKeys_ = + objc.registerName("removeObjectsForKeys:"); +late final _sel_setDictionary_ = objc.registerName("setDictionary:"); +late final _sel_setObject_forKeyedSubscript_ = + objc.registerName("setObject:forKeyedSubscript:"); +final _objc_msgSend_535 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer key)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_dictionaryWithCapacity_ = + objc.registerName("dictionaryWithCapacity:"); +final _objc_msgSend_536 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer path)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +final _objc_msgSend_537 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer url)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_dictionaryWithSharedKeySet_ = + objc.registerName("dictionaryWithSharedKeySet:"); +final _objc_msgSend_538 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer keyset)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_threadDictionary = objc.registerName("threadDictionary"); +final _objc_msgSend_539 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_sleepUntilDate_ = objc.registerName("sleepUntilDate:"); +final _objc_msgSend_540 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer date)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_sleepForTimeInterval_ = + objc.registerName("sleepForTimeInterval:"); +final _objc_msgSend_541 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer obj, + ffi.Pointer sel, ffi.Double ti)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, double)>(); +late final _sel_exit = objc.registerName("exit"); +late final _sel_threadPriority = objc.registerName("threadPriority"); +late final _sel_setThreadPriority_ = objc.registerName("setThreadPriority:"); +final _objc_msgSend_542 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer obj, + ffi.Pointer sel, ffi.Double value)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, double)>(); abstract class NSQualityOfService { static const int NSQualityOfServiceUserInteractive = 33; @@ -58332,1412 +24800,1207 @@ abstract class NSQualityOfService { static const int NSQualityOfServiceDefault = -1; } +late final _sel_qualityOfService = objc.registerName("qualityOfService"); +final _objc_msgSend_543 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + int Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_setQualityOfService_ = + objc.registerName("setQualityOfService:"); +final _objc_msgSend_544 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer obj, + ffi.Pointer sel, ffi.Int32 value)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, int)>(); +late final _sel_callStackReturnAddresses = + objc.registerName("callStackReturnAddresses"); +late final _sel_callStackSymbols = objc.registerName("callStackSymbols"); +late final _sel_setName_ = objc.registerName("setName:"); +final _objc_msgSend_545 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_stackSize = objc.registerName("stackSize"); +late final _sel_setStackSize_ = objc.registerName("setStackSize:"); +late final _sel_isMainThread = objc.registerName("isMainThread"); +late final _sel_mainThread = objc.registerName("mainThread"); +late final _sel_initWithTarget_selector_object_ = + objc.registerName("initWithTarget:selector:object:"); +final _objc_msgSend_546 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer target, + ffi.Pointer selector, + ffi.Pointer argument)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_initWithBlock_ = objc.registerName("initWithBlock:"); +final _objc_msgSend_547 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer block)>>() + .asFunction< + instancetype Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_isExecuting = objc.registerName("isExecuting"); +late final _sel_isFinished = objc.registerName("isFinished"); +late final _sel_isCancelled = objc.registerName("isCancelled"); +late final _sel_cancel = objc.registerName("cancel"); +late final _sel_start = objc.registerName("start"); +late final _sel_main = objc.registerName("main"); +late final _sel_performSelector_onThread_withObject_waitUntilDone_modes_ = objc + .registerName("performSelector:onThread:withObject:waitUntilDone:modes:"); +final _objc_msgSend_548 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer aSelector, + ffi.Pointer thr, + ffi.Pointer arg, + ffi.Bool wait, + ffi.Pointer array)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool, + ffi.Pointer)>(); +late final _sel_performSelector_onThread_withObject_waitUntilDone_ = + objc.registerName("performSelector:onThread:withObject:waitUntilDone:"); +final _objc_msgSend_549 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer aSelector, + ffi.Pointer thr, + ffi.Pointer arg, + ffi.Bool wait)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool)>(); +late final _sel_performSelectorInBackground_withObject_ = + objc.registerName("performSelectorInBackground:withObject:"); +late final _sel_classForArchiver = objc.registerName("classForArchiver"); + class NSArchiver extends NSCoder { - NSArchiver._( - ffi.Pointer pointer, - SwiftLibrary lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSArchiver._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSArchiver] that points to the same underlying object as [other]. - static NSArchiver castFrom( - SwiftLibrary lib, - T other, - ) { - return NSArchiver._(other.pointer, lib, retain: true, release: true); + static NSArchiver castFrom(T other) { + return NSArchiver._(other.pointer, retain: true, release: true); } /// Returns a [NSArchiver] that wraps the given raw object pointer. - static NSArchiver castFromPointer( - SwiftLibrary lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSArchiver._(other, lib, retain: retain, release: release); + static NSArchiver castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSArchiver._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSArchiver]. - static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSArchiver1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0(obj.pointer, _sel_isKindOfClass_, _class_NSArchiver); } NSArchiver initForWritingWithMutableData_(NSMutableData mdata) { - final _ret = _lib._objc_msgSend_521( - this.pointer, - _lib._sel_initForWritingWithMutableData_1, - mdata.pointer, - ); - return NSArchiver._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_521( + this.pointer, _sel_initForWritingWithMutableData_, mdata.pointer); + return NSArchiver._(_ret, retain: true, release: true); } NSMutableData get archiverData { - final _ret = _lib._objc_msgSend_550(this.pointer, _lib._sel_archiverData1); - return NSMutableData._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_550(this.pointer, _sel_archiverData); + return NSMutableData._(_ret, retain: true, release: true); } @override void encodeRootObject_(NSObject rootObject) { - _lib._objc_msgSend_15( - this.pointer, - _lib._sel_encodeRootObject_1, - rootObject.pointer, - ); + _objc_msgSend_15(this.pointer, _sel_encodeRootObject_, rootObject.pointer); } @override void encodeConditionalObject_(NSObject? object) { - _lib._objc_msgSend_289( - this.pointer, - _lib._sel_encodeConditionalObject_1, - object?.pointer ?? ffi.nullptr, - ); - } - - static NSData archivedDataWithRootObject_( - SwiftLibrary _lib, - NSObject rootObject, - ) { - final _ret = _lib._objc_msgSend_522( - _lib._class_NSArchiver1, - _lib._sel_archivedDataWithRootObject_1, - rootObject.pointer, - ); - return NSData._(_ret, _lib, retain: true, release: true); - } - - static bool archiveRootObject_toFile_( - SwiftLibrary _lib, - NSObject rootObject, - NSString path, - ) { - return _lib._objc_msgSend_261( - _lib._class_NSArchiver1, - _lib._sel_archiveRootObject_toFile_1, - rootObject.pointer, - path.pointer, - ); + _objc_msgSend_289(this.pointer, _sel_encodeConditionalObject_, + object?.pointer ?? ffi.nullptr); + } + + static NSData archivedDataWithRootObject_(NSObject rootObject) { + final _ret = _objc_msgSend_522(_class_NSArchiver, + _sel_archivedDataWithRootObject_, rootObject.pointer); + return NSData._(_ret, retain: true, release: true); + } + + static bool archiveRootObject_toFile_(NSObject rootObject, NSString path) { + return _objc_msgSend_261(_class_NSArchiver, _sel_archiveRootObject_toFile_, + rootObject.pointer, path.pointer); } void encodeClassName_intoClassName_( - NSString trueName, - NSString inArchiveName, - ) { - _lib._objc_msgSend_551( - this.pointer, - _lib._sel_encodeClassName_intoClassName_1, - trueName.pointer, - inArchiveName.pointer, - ); + NSString trueName, NSString inArchiveName) { + _objc_msgSend_551(this.pointer, _sel_encodeClassName_intoClassName_, + trueName.pointer, inArchiveName.pointer); } NSString? classNameEncodedForTrueClassName_(NSString trueName) { - final _ret = _lib._objc_msgSend_186( - this.pointer, - _lib._sel_classNameEncodedForTrueClassName_1, - trueName.pointer, - ); + final _ret = _objc_msgSend_186( + this.pointer, _sel_classNameEncodedForTrueClassName_, trueName.pointer); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } void replaceObject_withObject_(NSObject object, NSObject newObject) { - _lib._objc_msgSend_534( - this.pointer, - _lib._sel_replaceObject_withObject_1, - object.pointer, - newObject.pointer, - ); + _objc_msgSend_534(this.pointer, _sel_replaceObject_withObject_, + object.pointer, newObject.pointer); } @override NSArchiver init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSArchiver._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSArchiver._(_ret, retain: true, release: true); } - static NSArchiver new1(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2(_lib._class_NSArchiver1, _lib._sel_new1); - return NSArchiver._(_ret, _lib, retain: false, release: true); + static NSArchiver new1() { + final _ret = _objc_msgSend_2(_class_NSArchiver, _sel_new); + return NSArchiver._(_ret, retain: false, release: true); } - static NSArchiver allocWithZone_( - SwiftLibrary _lib, - ffi.Pointer<_NSZone> zone, - ) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSArchiver1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSArchiver._(_ret, _lib, retain: false, release: true); + static NSArchiver allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = _objc_msgSend_3(_class_NSArchiver, _sel_allocWithZone_, zone); + return NSArchiver._(_ret, retain: false, release: true); } - static NSArchiver alloc(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSArchiver1, - _lib._sel_alloc1, - ); - return NSArchiver._(_ret, _lib, retain: false, release: true); + static NSArchiver alloc() { + final _ret = _objc_msgSend_2(_class_NSArchiver, _sel_alloc); + return NSArchiver._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSArchiver1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSArchiver1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSArchiver1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSArchiver1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSArchiver1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSArchiver1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSArchiver, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); } - static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSArchiver1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSArchiver1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSArchiver1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSArchiver, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); } -} + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSArchiver, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSArchiver, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSArchiver, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSArchiver, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); + } + + static void setKeys_triggerChangeNotificationsForDependentKey_( + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSArchiver, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = _objc_msgSend_85( + _class_NSArchiver, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = + _objc_msgSend_2(_class_NSArchiver, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); + } +} + +late final _class_NSArchiver = objc.getClass("NSArchiver"); +late final _sel_archiverData = objc.registerName("archiverData"); +final _objc_msgSend_550 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_encodeClassName_intoClassName_ = + objc.registerName("encodeClassName:intoClassName:"); +final _objc_msgSend_551 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer trueName, + ffi.Pointer inArchiveName)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_classNameEncodedForTrueClassName_ = + objc.registerName("classNameEncodedForTrueClassName:"); +late final _sel_replaceObject_withObject_ = + objc.registerName("replaceObject:withObject:"); +late final _sel_replacementObjectForArchiver_ = + objc.registerName("replacementObjectForArchiver:"); +final _objc_msgSend_552 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer archiver)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_classForPortCoder = objc.registerName("classForPortCoder"); class NSPortCoder extends NSCoder { - NSPortCoder._( - ffi.Pointer pointer, - SwiftLibrary lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSPortCoder._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSPortCoder] that points to the same underlying object as [other]. - static NSPortCoder castFrom( - SwiftLibrary lib, - T other, - ) { - return NSPortCoder._(other.pointer, lib, retain: true, release: true); + static NSPortCoder castFrom(T other) { + return NSPortCoder._(other.pointer, retain: true, release: true); } /// Returns a [NSPortCoder] that wraps the given raw object pointer. - static NSPortCoder castFromPointer( - SwiftLibrary lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSPortCoder._(other, lib, retain: retain, release: release); + static NSPortCoder castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSPortCoder._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSPortCoder]. - static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSPortCoder1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0( + obj.pointer, _sel_isKindOfClass_, _class_NSPortCoder); } bool isBycopy() { - return _lib._objc_msgSend_12(this.pointer, _lib._sel_isBycopy1); + return _objc_msgSend_12(this.pointer, _sel_isBycopy); } bool isByref() { - return _lib._objc_msgSend_12(this.pointer, _lib._sel_isByref1); + return _objc_msgSend_12(this.pointer, _sel_isByref); } void encodePortObject_(NSPort aport) { - _lib._objc_msgSend_593( - this.pointer, - _lib._sel_encodePortObject_1, - aport.pointer, - ); + _objc_msgSend_593(this.pointer, _sel_encodePortObject_, aport.pointer); } NSPort? decodePortObject() { - final _ret = _lib._objc_msgSend_594( - this.pointer, - _lib._sel_decodePortObject1, - ); + final _ret = _objc_msgSend_594(this.pointer, _sel_decodePortObject); return _ret.address == 0 ? null - : NSPort._(_ret, _lib, retain: true, release: true); + : NSPort._(_ret, retain: true, release: true); } NSConnection? connection() { - final _ret = _lib._objc_msgSend_595(this.pointer, _lib._sel_connection1); + final _ret = _objc_msgSend_595(this.pointer, _sel_connection); return _ret.address == 0 ? null - : NSConnection._(_ret, _lib, retain: true, release: true); + : NSConnection._(_ret, retain: true, release: true); } static NSObject portCoderWithReceivePort_sendPort_components_( - SwiftLibrary _lib, - NSPort? rcvPort, - NSPort? sndPort, - NSArray? comps, - ) { - final _ret = _lib._objc_msgSend_596( - _lib._class_NSPortCoder1, - _lib._sel_portCoderWithReceivePort_sendPort_components_1, - rcvPort?.pointer ?? ffi.nullptr, - sndPort?.pointer ?? ffi.nullptr, - comps?.pointer ?? ffi.nullptr, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + NSPort? rcvPort, NSPort? sndPort, NSArray? comps) { + final _ret = _objc_msgSend_596( + _class_NSPortCoder, + _sel_portCoderWithReceivePort_sendPort_components_, + rcvPort?.pointer ?? ffi.nullptr, + sndPort?.pointer ?? ffi.nullptr, + comps?.pointer ?? ffi.nullptr); + return NSObject._(_ret, retain: true, release: true); } NSObject initWithReceivePort_sendPort_components_( - NSPort? rcvPort, - NSPort? sndPort, - NSArray? comps, - ) { - final _ret = _lib._objc_msgSend_596( - this.pointer, - _lib._sel_initWithReceivePort_sendPort_components_1, - rcvPort?.pointer ?? ffi.nullptr, - sndPort?.pointer ?? ffi.nullptr, - comps?.pointer ?? ffi.nullptr, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + NSPort? rcvPort, NSPort? sndPort, NSArray? comps) { + final _ret = _objc_msgSend_596( + this.pointer, + _sel_initWithReceivePort_sendPort_components_, + rcvPort?.pointer ?? ffi.nullptr, + sndPort?.pointer ?? ffi.nullptr, + comps?.pointer ?? ffi.nullptr); + return NSObject._(_ret, retain: true, release: true); } void dispatch() { - _lib._objc_msgSend_1(this.pointer, _lib._sel_dispatch1); + _objc_msgSend_1(this.pointer, _sel_dispatch); } @override NSPortCoder init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSPortCoder._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSPortCoder._(_ret, retain: true, release: true); } - static NSPortCoder new1(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2(_lib._class_NSPortCoder1, _lib._sel_new1); - return NSPortCoder._(_ret, _lib, retain: false, release: true); + static NSPortCoder new1() { + final _ret = _objc_msgSend_2(_class_NSPortCoder, _sel_new); + return NSPortCoder._(_ret, retain: false, release: true); } - static NSPortCoder allocWithZone_( - SwiftLibrary _lib, - ffi.Pointer<_NSZone> zone, - ) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSPortCoder1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSPortCoder._(_ret, _lib, retain: false, release: true); + static NSPortCoder allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = _objc_msgSend_3(_class_NSPortCoder, _sel_allocWithZone_, zone); + return NSPortCoder._(_ret, retain: false, release: true); } - static NSPortCoder alloc(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSPortCoder1, - _lib._sel_alloc1, - ); - return NSPortCoder._(_ret, _lib, retain: false, release: true); + static NSPortCoder alloc() { + final _ret = _objc_msgSend_2(_class_NSPortCoder, _sel_alloc); + return NSPortCoder._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSPortCoder1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSPortCoder1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSPortCoder1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSPortCoder1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSPortCoder1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSPortCoder1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSPortCoder, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); + } + + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSPortCoder, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); + } + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSPortCoder, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSPortCoder, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSPortCoder, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSPortCoder, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); } static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSPortCoder1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSPortCoder1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSPortCoder1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSPortCoder, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = _objc_msgSend_85( + _class_NSPortCoder, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = + _objc_msgSend_2(_class_NSPortCoder, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); } } +late final _class_NSPortCoder = objc.getClass("NSPortCoder"); +late final _sel_isBycopy = objc.registerName("isBycopy"); +late final _sel_isByref = objc.registerName("isByref"); + class NSPort extends NSObject { - NSPort._( - ffi.Pointer pointer, - SwiftLibrary lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSPort._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSPort] that points to the same underlying object as [other]. - static NSPort castFrom( - SwiftLibrary lib, - T other, - ) { - return NSPort._(other.pointer, lib, retain: true, release: true); + static NSPort castFrom(T other) { + return NSPort._(other.pointer, retain: true, release: true); } /// Returns a [NSPort] that wraps the given raw object pointer. - static NSPort castFromPointer( - SwiftLibrary lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSPort._(other, lib, retain: retain, release: release); + static NSPort castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSPort._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSPort]. - static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSPort1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0(obj.pointer, _sel_isKindOfClass_, _class_NSPort); } - static NSPort port(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_553(_lib._class_NSPort1, _lib._sel_port1); - return NSPort._(_ret, _lib, retain: true, release: true); + static NSPort port() { + final _ret = _objc_msgSend_553(_class_NSPort, _sel_port); + return NSPort._(_ret, retain: true, release: true); } void invalidate() { - _lib._objc_msgSend_1(this.pointer, _lib._sel_invalidate1); + _objc_msgSend_1(this.pointer, _sel_invalidate); } bool get valid { - return _lib._objc_msgSend_12(this.pointer, _lib._sel_isValid1); + return _objc_msgSend_12(this.pointer, _sel_isValid); } void setDelegate_(NSObject? anObject) { - _lib._objc_msgSend_289( - this.pointer, - _lib._sel_setDelegate_1, - anObject?.pointer ?? ffi.nullptr, - ); + _objc_msgSend_289( + this.pointer, _sel_setDelegate_, anObject?.pointer ?? ffi.nullptr); } NSObject? delegate() { - final _ret = _lib._objc_msgSend_17(this.pointer, _lib._sel_delegate1); + final _ret = _objc_msgSend_17(this.pointer, _sel_delegate); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } void scheduleInRunLoop_forMode_(NSRunLoop runLoop, NSString mode) { - _lib._objc_msgSend_569( - this.pointer, - _lib._sel_scheduleInRunLoop_forMode_1, - runLoop.pointer, - mode.pointer, - ); + _objc_msgSend_569(this.pointer, _sel_scheduleInRunLoop_forMode_, + runLoop.pointer, mode.pointer); } void removeFromRunLoop_forMode_(NSRunLoop runLoop, NSString mode) { - _lib._objc_msgSend_569( - this.pointer, - _lib._sel_removeFromRunLoop_forMode_1, - runLoop.pointer, - mode.pointer, - ); + _objc_msgSend_569(this.pointer, _sel_removeFromRunLoop_forMode_, + runLoop.pointer, mode.pointer); } int get reservedSpaceLength { - return _lib._objc_msgSend_10(this.pointer, _lib._sel_reservedSpaceLength1); + return _objc_msgSend_10(this.pointer, _sel_reservedSpaceLength); } bool sendBeforeDate_components_from_reserved_( - NSDate limitDate, - NSMutableArray? components, - NSPort? receivePort, - int headerSpaceReserved, - ) { - return _lib._objc_msgSend_570( - this.pointer, - _lib._sel_sendBeforeDate_components_from_reserved_1, - limitDate.pointer, - components?.pointer ?? ffi.nullptr, - receivePort?.pointer ?? ffi.nullptr, - headerSpaceReserved, - ); + NSDate limitDate, + NSMutableArray? components, + NSPort? receivePort, + int headerSpaceReserved) { + return _objc_msgSend_570( + this.pointer, + _sel_sendBeforeDate_components_from_reserved_, + limitDate.pointer, + components?.pointer ?? ffi.nullptr, + receivePort?.pointer ?? ffi.nullptr, + headerSpaceReserved); } bool sendBeforeDate_msgid_components_from_reserved_( - NSDate limitDate, - int msgID, - NSMutableArray? components, - NSPort? receivePort, - int headerSpaceReserved, - ) { - return _lib._objc_msgSend_571( - this.pointer, - _lib._sel_sendBeforeDate_msgid_components_from_reserved_1, - limitDate.pointer, - msgID, - components?.pointer ?? ffi.nullptr, - receivePort?.pointer ?? ffi.nullptr, - headerSpaceReserved, - ); + NSDate limitDate, + int msgID, + NSMutableArray? components, + NSPort? receivePort, + int headerSpaceReserved) { + return _objc_msgSend_571( + this.pointer, + _sel_sendBeforeDate_msgid_components_from_reserved_, + limitDate.pointer, + msgID, + components?.pointer ?? ffi.nullptr, + receivePort?.pointer ?? ffi.nullptr, + headerSpaceReserved); } void addConnection_toRunLoop_forMode_( - NSConnection conn, - NSRunLoop runLoop, - NSString mode, - ) { - _lib._objc_msgSend_592( - this.pointer, - _lib._sel_addConnection_toRunLoop_forMode_1, - conn.pointer, - runLoop.pointer, - mode.pointer, - ); + NSConnection conn, NSRunLoop runLoop, NSString mode) { + _objc_msgSend_592(this.pointer, _sel_addConnection_toRunLoop_forMode_, + conn.pointer, runLoop.pointer, mode.pointer); } void removeConnection_fromRunLoop_forMode_( - NSConnection conn, - NSRunLoop runLoop, - NSString mode, - ) { - _lib._objc_msgSend_592( - this.pointer, - _lib._sel_removeConnection_fromRunLoop_forMode_1, - conn.pointer, - runLoop.pointer, - mode.pointer, - ); + NSConnection conn, NSRunLoop runLoop, NSString mode) { + _objc_msgSend_592(this.pointer, _sel_removeConnection_fromRunLoop_forMode_, + conn.pointer, runLoop.pointer, mode.pointer); } @override NSPort init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSPort._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSPort._(_ret, retain: true, release: true); } - static NSPort new1(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2(_lib._class_NSPort1, _lib._sel_new1); - return NSPort._(_ret, _lib, retain: false, release: true); + static NSPort new1() { + final _ret = _objc_msgSend_2(_class_NSPort, _sel_new); + return NSPort._(_ret, retain: false, release: true); } - static NSPort allocWithZone_(SwiftLibrary _lib, ffi.Pointer<_NSZone> zone) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSPort1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSPort._(_ret, _lib, retain: false, release: true); + static NSPort allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = _objc_msgSend_3(_class_NSPort, _sel_allocWithZone_, zone); + return NSPort._(_ret, retain: false, release: true); } - static NSPort alloc(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2(_lib._class_NSPort1, _lib._sel_alloc1); - return NSPort._(_ret, _lib, retain: false, release: true); + static NSPort alloc() { + final _ret = _objc_msgSend_2(_class_NSPort, _sel_alloc); + return NSPort._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSPort1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSPort1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSPort1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSPort1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSPort1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSPort1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSPort, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); + } + + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSPort, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); + } + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSPort, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSPort, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSPort, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64( + _class_NSPort, _sel_automaticallyNotifiesObserversForKey_, key.pointer); } static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSPort1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSPort1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSPort1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSPort, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = + _objc_msgSend_85(_class_NSPort, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = _objc_msgSend_2(_class_NSPort, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); } } +late final _class_NSPort = objc.getClass("NSPort"); +final _objc_msgSend_553 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_invalidate = objc.registerName("invalidate"); +late final _sel_isValid = objc.registerName("isValid"); + class NSRunLoop extends NSObject { - NSRunLoop._( - ffi.Pointer pointer, - SwiftLibrary lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSRunLoop._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSRunLoop] that points to the same underlying object as [other]. - static NSRunLoop castFrom( - SwiftLibrary lib, - T other, - ) { - return NSRunLoop._(other.pointer, lib, retain: true, release: true); + static NSRunLoop castFrom(T other) { + return NSRunLoop._(other.pointer, retain: true, release: true); } /// Returns a [NSRunLoop] that wraps the given raw object pointer. - static NSRunLoop castFromPointer( - SwiftLibrary lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSRunLoop._(other, lib, retain: retain, release: release); + static NSRunLoop castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSRunLoop._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSRunLoop]. - static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSRunLoop1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0(obj.pointer, _sel_isKindOfClass_, _class_NSRunLoop); } - static NSRunLoop getCurrentRunLoop(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_554( - _lib._class_NSRunLoop1, - _lib._sel_currentRunLoop1, - ); - return NSRunLoop._(_ret, _lib, retain: true, release: true); + static NSRunLoop getCurrentRunLoop() { + final _ret = _objc_msgSend_554(_class_NSRunLoop, _sel_currentRunLoop); + return NSRunLoop._(_ret, retain: true, release: true); } - static NSRunLoop getMainRunLoop(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_554( - _lib._class_NSRunLoop1, - _lib._sel_mainRunLoop1, - ); - return NSRunLoop._(_ret, _lib, retain: true, release: true); + static NSRunLoop getMainRunLoop() { + final _ret = _objc_msgSend_554(_class_NSRunLoop, _sel_mainRunLoop); + return NSRunLoop._(_ret, retain: true, release: true); } NSString? get currentMode { - final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_currentMode1); + final _ret = _objc_msgSend_44(this.pointer, _sel_currentMode); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } ffi.Pointer<__CFRunLoop> getCFRunLoop() { - return _lib._objc_msgSend_555(this.pointer, _lib._sel_getCFRunLoop1); + return _objc_msgSend_555(this.pointer, _sel_getCFRunLoop); } void addTimer_forMode_(NSTimer timer, NSString mode) { - _lib._objc_msgSend_562( - this.pointer, - _lib._sel_addTimer_forMode_1, - timer.pointer, - mode.pointer, - ); + _objc_msgSend_562( + this.pointer, _sel_addTimer_forMode_, timer.pointer, mode.pointer); } void addPort_forMode_(NSPort aPort, NSString mode) { - _lib._objc_msgSend_563( - this.pointer, - _lib._sel_addPort_forMode_1, - aPort.pointer, - mode.pointer, - ); + _objc_msgSend_563( + this.pointer, _sel_addPort_forMode_, aPort.pointer, mode.pointer); } void removePort_forMode_(NSPort aPort, NSString mode) { - _lib._objc_msgSend_563( - this.pointer, - _lib._sel_removePort_forMode_1, - aPort.pointer, - mode.pointer, - ); + _objc_msgSend_563( + this.pointer, _sel_removePort_forMode_, aPort.pointer, mode.pointer); } NSDate? limitDateForMode_(NSString mode) { - final _ret = _lib._objc_msgSend_564( - this.pointer, - _lib._sel_limitDateForMode_1, - mode.pointer, - ); + final _ret = + _objc_msgSend_564(this.pointer, _sel_limitDateForMode_, mode.pointer); return _ret.address == 0 ? null - : NSDate._(_ret, _lib, retain: true, release: true); + : NSDate._(_ret, retain: true, release: true); } void acceptInputForMode_beforeDate_(NSString mode, NSDate limitDate) { - _lib._objc_msgSend_565( - this.pointer, - _lib._sel_acceptInputForMode_beforeDate_1, - mode.pointer, - limitDate.pointer, - ); + _objc_msgSend_565(this.pointer, _sel_acceptInputForMode_beforeDate_, + mode.pointer, limitDate.pointer); } void run() { - _lib._objc_msgSend_1(this.pointer, _lib._sel_run1); + _objc_msgSend_1(this.pointer, _sel_run); } void runUntilDate_(NSDate limitDate) { - _lib._objc_msgSend_540( - this.pointer, - _lib._sel_runUntilDate_1, - limitDate.pointer, - ); + _objc_msgSend_540(this.pointer, _sel_runUntilDate_, limitDate.pointer); } bool runMode_beforeDate_(NSString mode, NSDate limitDate) { - return _lib._objc_msgSend_566( - this.pointer, - _lib._sel_runMode_beforeDate_1, - mode.pointer, - limitDate.pointer, - ); + return _objc_msgSend_566(this.pointer, _sel_runMode_beforeDate_, + mode.pointer, limitDate.pointer); } void configureAsServer() { - _lib._objc_msgSend_1(this.pointer, _lib._sel_configureAsServer1); + _objc_msgSend_1(this.pointer, _sel_configureAsServer); } void performInModes_block_(NSArray modes, ObjCBlock_ffiVoid block) { - _lib._objc_msgSend_567( - this.pointer, - _lib._sel_performInModes_block_1, - modes.pointer, - block.pointer, - ); + _objc_msgSend_567( + this.pointer, _sel_performInModes_block_, modes.pointer, block.pointer); } void performBlock_(ObjCBlock_ffiVoid block) { - _lib._objc_msgSend_532( - this.pointer, - _lib._sel_performBlock_1, - block.pointer, - ); + _objc_msgSend_532(this.pointer, _sel_performBlock_, block.pointer); } void performSelector_target_argument_order_modes_( - ffi.Pointer aSelector, - NSObject target, - NSObject? arg, - int order, - NSArray modes, - ) { - _lib._objc_msgSend_568( - this.pointer, - _lib._sel_performSelector_target_argument_order_modes_1, - aSelector, - target.pointer, - arg?.pointer ?? ffi.nullptr, - order, - modes.pointer, - ); + ffi.Pointer aSelector, + NSObject target, + NSObject? arg, + int order, + NSArray modes) { + _objc_msgSend_568( + this.pointer, + _sel_performSelector_target_argument_order_modes_, + aSelector, + target.pointer, + arg?.pointer ?? ffi.nullptr, + order, + modes.pointer); } void cancelPerformSelector_target_argument_( - ffi.Pointer aSelector, - NSObject target, - NSObject? arg, - ) { - _lib._objc_msgSend_533( - this.pointer, - _lib._sel_cancelPerformSelector_target_argument_1, - aSelector, - target.pointer, - arg?.pointer ?? ffi.nullptr, - ); + ffi.Pointer aSelector, + NSObject target, + NSObject? arg) { + _objc_msgSend_533(this.pointer, _sel_cancelPerformSelector_target_argument_, + aSelector, target.pointer, arg?.pointer ?? ffi.nullptr); } void cancelPerformSelectorsWithTarget_(NSObject target) { - _lib._objc_msgSend_15( - this.pointer, - _lib._sel_cancelPerformSelectorsWithTarget_1, - target.pointer, - ); + _objc_msgSend_15( + this.pointer, _sel_cancelPerformSelectorsWithTarget_, target.pointer); } @override NSRunLoop init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSRunLoop._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSRunLoop._(_ret, retain: true, release: true); } - static NSRunLoop new1(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2(_lib._class_NSRunLoop1, _lib._sel_new1); - return NSRunLoop._(_ret, _lib, retain: false, release: true); + static NSRunLoop new1() { + final _ret = _objc_msgSend_2(_class_NSRunLoop, _sel_new); + return NSRunLoop._(_ret, retain: false, release: true); } - static NSRunLoop allocWithZone_( - SwiftLibrary _lib, - ffi.Pointer<_NSZone> zone, - ) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSRunLoop1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSRunLoop._(_ret, _lib, retain: false, release: true); + static NSRunLoop allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = _objc_msgSend_3(_class_NSRunLoop, _sel_allocWithZone_, zone); + return NSRunLoop._(_ret, retain: false, release: true); } - static NSRunLoop alloc(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2(_lib._class_NSRunLoop1, _lib._sel_alloc1); - return NSRunLoop._(_ret, _lib, retain: false, release: true); + static NSRunLoop alloc() { + final _ret = _objc_msgSend_2(_class_NSRunLoop, _sel_alloc); + return NSRunLoop._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSRunLoop1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSRunLoop1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSRunLoop1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSRunLoop1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSRunLoop1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSRunLoop1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSRunLoop, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); + } + + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSRunLoop, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); + } + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSRunLoop, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSRunLoop, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSRunLoop, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSRunLoop, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); } static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSRunLoop1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSRunLoop1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSRunLoop1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSRunLoop, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = + _objc_msgSend_85(_class_NSRunLoop, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = + _objc_msgSend_2(_class_NSRunLoop, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); } } +late final _class_NSRunLoop = objc.getClass("NSRunLoop"); +late final _sel_currentRunLoop = objc.registerName("currentRunLoop"); +final _objc_msgSend_554 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_mainRunLoop = objc.registerName("mainRunLoop"); +late final _sel_currentMode = objc.registerName("currentMode"); + final class __CFRunLoop extends ffi.Opaque {} +late final _sel_getCFRunLoop = objc.registerName("getCFRunLoop"); +final _objc_msgSend_555 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer<__CFRunLoop> Function(ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer<__CFRunLoop> Function( + ffi.Pointer, ffi.Pointer)>(); + class NSTimer extends NSObject { - NSTimer._( - ffi.Pointer pointer, - SwiftLibrary lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSTimer._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSTimer] that points to the same underlying object as [other]. - static NSTimer castFrom( - SwiftLibrary lib, - T other, - ) { - return NSTimer._(other.pointer, lib, retain: true, release: true); + static NSTimer castFrom(T other) { + return NSTimer._(other.pointer, retain: true, release: true); } /// Returns a [NSTimer] that wraps the given raw object pointer. - static NSTimer castFromPointer( - SwiftLibrary lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSTimer._(other, lib, retain: retain, release: release); + static NSTimer castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSTimer._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSTimer]. - static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSTimer1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0(obj.pointer, _sel_isKindOfClass_, _class_NSTimer); } static NSTimer timerWithTimeInterval_invocation_repeats_( - SwiftLibrary _lib, - double ti, - NSInvocation invocation, - bool yesOrNo, - ) { - final _ret = _lib._objc_msgSend_556( - _lib._class_NSTimer1, - _lib._sel_timerWithTimeInterval_invocation_repeats_1, - ti, - invocation.pointer, - yesOrNo, - ); - return NSTimer._(_ret, _lib, retain: true, release: true); + double ti, NSInvocation invocation, bool yesOrNo) { + final _ret = _objc_msgSend_556( + _class_NSTimer, + _sel_timerWithTimeInterval_invocation_repeats_, + ti, + invocation.pointer, + yesOrNo); + return NSTimer._(_ret, retain: true, release: true); } static NSTimer scheduledTimerWithTimeInterval_invocation_repeats_( - SwiftLibrary _lib, - double ti, - NSInvocation invocation, - bool yesOrNo, - ) { - final _ret = _lib._objc_msgSend_556( - _lib._class_NSTimer1, - _lib._sel_scheduledTimerWithTimeInterval_invocation_repeats_1, - ti, - invocation.pointer, - yesOrNo, - ); - return NSTimer._(_ret, _lib, retain: true, release: true); + double ti, NSInvocation invocation, bool yesOrNo) { + final _ret = _objc_msgSend_556( + _class_NSTimer, + _sel_scheduledTimerWithTimeInterval_invocation_repeats_, + ti, + invocation.pointer, + yesOrNo); + return NSTimer._(_ret, retain: true, release: true); } static NSTimer timerWithTimeInterval_target_selector_userInfo_repeats_( - SwiftLibrary _lib, - double ti, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? userInfo, - bool yesOrNo, - ) { - final _ret = _lib._objc_msgSend_557( - _lib._class_NSTimer1, - _lib._sel_timerWithTimeInterval_target_selector_userInfo_repeats_1, - ti, - aTarget.pointer, - aSelector, - userInfo?.pointer ?? ffi.nullptr, - yesOrNo, - ); - return NSTimer._(_ret, _lib, retain: true, release: true); + double ti, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? userInfo, + bool yesOrNo) { + final _ret = _objc_msgSend_557( + _class_NSTimer, + _sel_timerWithTimeInterval_target_selector_userInfo_repeats_, + ti, + aTarget.pointer, + aSelector, + userInfo?.pointer ?? ffi.nullptr, + yesOrNo); + return NSTimer._(_ret, retain: true, release: true); } static NSTimer scheduledTimerWithTimeInterval_target_selector_userInfo_repeats_( - SwiftLibrary _lib, - double ti, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? userInfo, - bool yesOrNo, - ) { - final _ret = _lib._objc_msgSend_557( - _lib._class_NSTimer1, - _lib._sel_scheduledTimerWithTimeInterval_target_selector_userInfo_repeats_1, - ti, - aTarget.pointer, - aSelector, - userInfo?.pointer ?? ffi.nullptr, - yesOrNo, - ); - return NSTimer._(_ret, _lib, retain: true, release: true); + double ti, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? userInfo, + bool yesOrNo) { + final _ret = _objc_msgSend_557( + _class_NSTimer, + _sel_scheduledTimerWithTimeInterval_target_selector_userInfo_repeats_, + ti, + aTarget.pointer, + aSelector, + userInfo?.pointer ?? ffi.nullptr, + yesOrNo); + return NSTimer._(_ret, retain: true, release: true); } static NSTimer timerWithTimeInterval_repeats_block_( - SwiftLibrary _lib, - double interval, - bool repeats, - ObjCBlock_ffiVoid_NSTimer block, - ) { - final _ret = _lib._objc_msgSend_558( - _lib._class_NSTimer1, - _lib._sel_timerWithTimeInterval_repeats_block_1, - interval, - repeats, - block.pointer, - ); - return NSTimer._(_ret, _lib, retain: true, release: true); + double interval, bool repeats, ObjCBlock_ffiVoid_NSTimer block) { + final _ret = _objc_msgSend_558( + _class_NSTimer, + _sel_timerWithTimeInterval_repeats_block_, + interval, + repeats, + block.pointer); + return NSTimer._(_ret, retain: true, release: true); } static NSTimer scheduledTimerWithTimeInterval_repeats_block_( - SwiftLibrary _lib, - double interval, - bool repeats, - ObjCBlock_ffiVoid_NSTimer block, - ) { - final _ret = _lib._objc_msgSend_558( - _lib._class_NSTimer1, - _lib._sel_scheduledTimerWithTimeInterval_repeats_block_1, - interval, - repeats, - block.pointer, - ); - return NSTimer._(_ret, _lib, retain: true, release: true); - } - - NSTimer initWithFireDate_interval_repeats_block_( - NSDate date, - double interval, - bool repeats, - ObjCBlock_ffiVoid_NSTimer block, - ) { - final _ret = _lib._objc_msgSend_559( - this.pointer, - _lib._sel_initWithFireDate_interval_repeats_block_1, - date.pointer, - interval, - repeats, - block.pointer, - ); - return NSTimer._(_ret, _lib, retain: true, release: true); + double interval, bool repeats, ObjCBlock_ffiVoid_NSTimer block) { + final _ret = _objc_msgSend_558( + _class_NSTimer, + _sel_scheduledTimerWithTimeInterval_repeats_block_, + interval, + repeats, + block.pointer); + return NSTimer._(_ret, retain: true, release: true); + } + + NSTimer initWithFireDate_interval_repeats_block_(NSDate date, double interval, + bool repeats, ObjCBlock_ffiVoid_NSTimer block) { + final _ret = _objc_msgSend_559( + this.pointer, + _sel_initWithFireDate_interval_repeats_block_, + date.pointer, + interval, + repeats, + block.pointer); + return NSTimer._(_ret, retain: true, release: true); } NSTimer initWithFireDate_interval_target_selector_userInfo_repeats_( - NSDate date, - double ti, - NSObject t, - ffi.Pointer s, - NSObject? ui, - bool rep, - ) { - final _ret = _lib._objc_msgSend_560( - this.pointer, - _lib._sel_initWithFireDate_interval_target_selector_userInfo_repeats_1, - date.pointer, - ti, - t.pointer, - s, - ui?.pointer ?? ffi.nullptr, - rep, - ); - return NSTimer._(_ret, _lib, retain: true, release: true); + NSDate date, + double ti, + NSObject t, + ffi.Pointer s, + NSObject? ui, + bool rep) { + final _ret = _objc_msgSend_560( + this.pointer, + _sel_initWithFireDate_interval_target_selector_userInfo_repeats_, + date.pointer, + ti, + t.pointer, + s, + ui?.pointer ?? ffi.nullptr, + rep); + return NSTimer._(_ret, retain: true, release: true); } void fire() { - _lib._objc_msgSend_1(this.pointer, _lib._sel_fire1); + _objc_msgSend_1(this.pointer, _sel_fire); } NSDate get fireDate { - final _ret = _lib._objc_msgSend_172(this.pointer, _lib._sel_fireDate1); - return NSDate._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_172(this.pointer, _sel_fireDate); + return NSDate._(_ret, retain: true, release: true); } set fireDate(NSDate value) { - return _lib._objc_msgSend_561( - this.pointer, - _lib._sel_setFireDate_1, - value.pointer, - ); + return _objc_msgSend_561(this.pointer, _sel_setFireDate_, value.pointer); } double get timeInterval { return objc.useMsgSendVariants - ? _lib._objc_msgSend_165_fpret(this.pointer, _lib._sel_timeInterval1) - : _lib._objc_msgSend_165(this.pointer, _lib._sel_timeInterval1); + ? _objc_msgSend_165Fpret(this.pointer, _sel_timeInterval) + : _objc_msgSend_165(this.pointer, _sel_timeInterval); } double get tolerance { return objc.useMsgSendVariants - ? _lib._objc_msgSend_165_fpret(this.pointer, _lib._sel_tolerance1) - : _lib._objc_msgSend_165(this.pointer, _lib._sel_tolerance1); + ? _objc_msgSend_165Fpret(this.pointer, _sel_tolerance) + : _objc_msgSend_165(this.pointer, _sel_tolerance); } set tolerance(double value) { - return _lib._objc_msgSend_542( - this.pointer, - _lib._sel_setTolerance_1, - value, - ); + return _objc_msgSend_542(this.pointer, _sel_setTolerance_, value); } void invalidate() { - _lib._objc_msgSend_1(this.pointer, _lib._sel_invalidate1); + _objc_msgSend_1(this.pointer, _sel_invalidate); } bool get valid { - return _lib._objc_msgSend_12(this.pointer, _lib._sel_isValid1); + return _objc_msgSend_12(this.pointer, _sel_isValid); } NSObject? get userInfo { - final _ret = _lib._objc_msgSend_17(this.pointer, _lib._sel_userInfo1); + final _ret = _objc_msgSend_17(this.pointer, _sel_userInfo); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } @override NSTimer init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSTimer._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSTimer._(_ret, retain: true, release: true); } - static NSTimer new1(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2(_lib._class_NSTimer1, _lib._sel_new1); - return NSTimer._(_ret, _lib, retain: false, release: true); + static NSTimer new1() { + final _ret = _objc_msgSend_2(_class_NSTimer, _sel_new); + return NSTimer._(_ret, retain: false, release: true); } - static NSTimer allocWithZone_(SwiftLibrary _lib, ffi.Pointer<_NSZone> zone) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSTimer1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSTimer._(_ret, _lib, retain: false, release: true); + static NSTimer allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = _objc_msgSend_3(_class_NSTimer, _sel_allocWithZone_, zone); + return NSTimer._(_ret, retain: false, release: true); } - static NSTimer alloc(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2(_lib._class_NSTimer1, _lib._sel_alloc1); - return NSTimer._(_ret, _lib, retain: false, release: true); + static NSTimer alloc() { + final _ret = _objc_msgSend_2(_class_NSTimer, _sel_alloc); + return NSTimer._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSTimer1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSTimer1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSTimer1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSTimer1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSTimer1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSTimer1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSTimer, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); } - static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSTimer1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSTimer1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSTimer1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSTimer, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); + } + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSTimer, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSTimer, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSTimer, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSTimer, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); } -} + static void setKeys_triggerChangeNotificationsForDependentKey_( + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSTimer, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = + _objc_msgSend_85(_class_NSTimer, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = _objc_msgSend_2(_class_NSTimer, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); + } +} + +late final _class_NSTimer = objc.getClass("NSTimer"); +late final _sel_timerWithTimeInterval_invocation_repeats_ = + objc.registerName("timerWithTimeInterval:invocation:repeats:"); +final _objc_msgSend_556 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Double ti, + ffi.Pointer invocation, + ffi.Bool yesOrNo)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + double, + ffi.Pointer, + bool)>(); +late final _sel_scheduledTimerWithTimeInterval_invocation_repeats_ = + objc.registerName("scheduledTimerWithTimeInterval:invocation:repeats:"); +late final _sel_timerWithTimeInterval_target_selector_userInfo_repeats_ = objc + .registerName("timerWithTimeInterval:target:selector:userInfo:repeats:"); +final _objc_msgSend_557 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Double ti, + ffi.Pointer aTarget, + ffi.Pointer aSelector, + ffi.Pointer userInfo, + ffi.Bool yesOrNo)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + double, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool)>(); +late final _sel_scheduledTimerWithTimeInterval_target_selector_userInfo_repeats_ = + objc.registerName( + "scheduledTimerWithTimeInterval:target:selector:userInfo:repeats:"); void _ObjCBlock_ffiVoid_NSTimer_fnPtrTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, -) => + ffi.Pointer block, ffi.Pointer arg0) => block.ref.target .cast< ffi.NativeFunction< @@ -59747,44 +26010,28 @@ final _ObjCBlock_ffiVoid_NSTimer_closureRegistry = )>{}; int _ObjCBlock_ffiVoid_NSTimer_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_ffiVoid_NSTimer_registerClosure( - void Function(ffi.Pointer) fn, -) { + void Function(ffi.Pointer) fn) { final id = ++_ObjCBlock_ffiVoid_NSTimer_closureRegistryIndex; _ObjCBlock_ffiVoid_NSTimer_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } void _ObjCBlock_ffiVoid_NSTimer_closureTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, -) => - _ObjCBlock_ffiVoid_NSTimer_closureRegistry[block.ref.target.address]!( - arg0, - ); + ffi.Pointer block, ffi.Pointer arg0) => + _ObjCBlock_ffiVoid_NSTimer_closureRegistry[block.ref.target.address]!(arg0); class ObjCBlock_ffiVoid_NSTimer extends objc.ObjCBlockBase { - ObjCBlock_ffiVoid_NSTimer._( - ffi.Pointer pointer, - this._lib, { - bool retain = false, - bool release = true, - }) : super(pointer, retain: retain, release: release); - - SwiftLibrary _lib; + ObjCBlock_ffiVoid_NSTimer._(ffi.Pointer pointer, + {bool retain = false, bool release = true}) + : super(pointer, retain: retain, release: release); /// Returns a block that wraps the given raw block pointer. static ObjCBlock_ffiVoid_NSTimer castFromPointer( - SwiftLibrary lib, - ffi.Pointer pointer, { - bool retain = false, - bool release = false, - }) { - return ObjCBlock_ffiVoid_NSTimer._( - pointer, - lib, - retain: retain, - release: release, - ); + ffi.Pointer pointer, + {bool retain = false, + bool release = false}) { + return ObjCBlock_ffiVoid_NSTimer._(pointer, + retain: retain, release: release); } /// Creates a block from a C function pointer. @@ -59793,22 +26040,17 @@ class ObjCBlock_ffiVoid_NSTimer extends objc.ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSTimer.fromFunctionPointer( - SwiftLibrary lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer arg0)>> - ptr, - ) : this._( - objc.newBlock( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - )>(_ObjCBlock_ffiVoid_NSTimer_fnPtrTrampoline) - .cast(), - ptr.cast(), - ), - lib); + ffi.Pointer< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer arg0)>> + ptr) + : this._(objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function(ffi.Pointer, + ffi.Pointer)>( + _ObjCBlock_ffiVoid_NSTimer_fnPtrTrampoline) + .cast(), + ptr.cast())); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -59816,23 +26058,16 @@ class ObjCBlock_ffiVoid_NSTimer extends objc.ObjCBlockBase { /// This block must be invoked by native code running on the same thread as /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. - ObjCBlock_ffiVoid_NSTimer.fromFunction( - SwiftLibrary lib, - void Function(NSTimer) fn, - ) : this._( - objc.newBlock( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - )>(_ObjCBlock_ffiVoid_NSTimer_closureTrampoline) - .cast(), - _ObjCBlock_ffiVoid_NSTimer_registerClosure(( - ffi.Pointer arg0, - ) => - fn(NSTimer._(arg0, lib, retain: true, release: true))), - ), - lib); + ObjCBlock_ffiVoid_NSTimer.fromFunction(void Function(NSTimer) fn) + : this._(objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function(ffi.Pointer, + ffi.Pointer)>( + _ObjCBlock_ffiVoid_NSTimer_closureTrampoline) + .cast(), + _ObjCBlock_ffiVoid_NSTimer_registerClosure( + (ffi.Pointer arg0) => + fn(NSTimer._(arg0, retain: true, release: true))))); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -59844,26 +26079,18 @@ class ObjCBlock_ffiVoid_NSTimer extends objc.ObjCBlockBase { /// /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. - ObjCBlock_ffiVoid_NSTimer.listener( - SwiftLibrary lib, - void Function(NSTimer) fn, - ) : this._( - objc.newBlock( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - )>.listener( - _ObjCBlock_ffiVoid_NSTimer_closureTrampoline, - )..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSTimer_registerClosure(( - ffi.Pointer arg0, - ) => - fn(NSTimer._(arg0, lib, retain: true, release: true))), - ), - lib); + ObjCBlock_ffiVoid_NSTimer.listener(void Function(NSTimer) fn) + : this._(objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function(ffi.Pointer, + ffi.Pointer)>.listener( + _ObjCBlock_ffiVoid_NSTimer_closureTrampoline) + ..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSTimer_registerClosure( + (ffi.Pointer arg0) => + fn(NSTimer._(arg0, retain: true, release: true))))); static ffi.NativeCallable< ffi.Void Function( ffi.Pointer, ffi.Pointer)>? @@ -59872,2324 +26099,2453 @@ class ObjCBlock_ffiVoid_NSTimer extends objc.ObjCBlockBase { void call(NSTimer arg0) => pointer.ref.invoke .cast< ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer block, - ffi.Pointer arg0, - )>>() + ffi.Void Function(ffi.Pointer block, + ffi.Pointer arg0)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer)>()(pointer, arg0.pointer); } +late final _sel_timerWithTimeInterval_repeats_block_ = + objc.registerName("timerWithTimeInterval:repeats:block:"); +final _objc_msgSend_558 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Double interval, + ffi.Bool repeats, + ffi.Pointer block)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + double, + bool, + ffi.Pointer)>(); +late final _sel_scheduledTimerWithTimeInterval_repeats_block_ = + objc.registerName("scheduledTimerWithTimeInterval:repeats:block:"); +late final _sel_initWithFireDate_interval_repeats_block_ = + objc.registerName("initWithFireDate:interval:repeats:block:"); +final _objc_msgSend_559 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer date, + ffi.Double interval, + ffi.Bool repeats, + ffi.Pointer block)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + double, + bool, + ffi.Pointer)>(); +late final _sel_initWithFireDate_interval_target_selector_userInfo_repeats_ = + objc.registerName( + "initWithFireDate:interval:target:selector:userInfo:repeats:"); +final _objc_msgSend_560 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer date, + ffi.Double ti, + ffi.Pointer t, + ffi.Pointer s, + ffi.Pointer ui, + ffi.Bool rep)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + double, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool)>(); +late final _sel_fire = objc.registerName("fire"); +late final _sel_fireDate = objc.registerName("fireDate"); +late final _sel_setFireDate_ = objc.registerName("setFireDate:"); +final _objc_msgSend_561 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_timeInterval = objc.registerName("timeInterval"); +late final _sel_tolerance = objc.registerName("tolerance"); +late final _sel_setTolerance_ = objc.registerName("setTolerance:"); +late final _sel_addTimer_forMode_ = objc.registerName("addTimer:forMode:"); +final _objc_msgSend_562 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer timer, + ffi.Pointer mode)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_addPort_forMode_ = objc.registerName("addPort:forMode:"); +final _objc_msgSend_563 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer aPort, + ffi.Pointer mode)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_removePort_forMode_ = objc.registerName("removePort:forMode:"); +late final _sel_limitDateForMode_ = objc.registerName("limitDateForMode:"); +final _objc_msgSend_564 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer mode)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_acceptInputForMode_beforeDate_ = + objc.registerName("acceptInputForMode:beforeDate:"); +final _objc_msgSend_565 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer mode, + ffi.Pointer limitDate)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_run = objc.registerName("run"); +late final _sel_runUntilDate_ = objc.registerName("runUntilDate:"); +late final _sel_runMode_beforeDate_ = objc.registerName("runMode:beforeDate:"); +final _objc_msgSend_566 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer mode, + ffi.Pointer limitDate)>>() + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_configureAsServer = objc.registerName("configureAsServer"); +late final _sel_performInModes_block_ = + objc.registerName("performInModes:block:"); +final _objc_msgSend_567 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer modes, + ffi.Pointer block)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_performBlock_ = objc.registerName("performBlock:"); +late final _sel_performSelector_target_argument_order_modes_ = + objc.registerName("performSelector:target:argument:order:modes:"); +final _objc_msgSend_568 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer aSelector, + ffi.Pointer target, + ffi.Pointer arg, + ffi.UnsignedLong order, + ffi.Pointer modes)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer)>(); +late final _sel_cancelPerformSelector_target_argument_ = + objc.registerName("cancelPerformSelector:target:argument:"); +late final _sel_cancelPerformSelectorsWithTarget_ = + objc.registerName("cancelPerformSelectorsWithTarget:"); +late final _sel_scheduleInRunLoop_forMode_ = + objc.registerName("scheduleInRunLoop:forMode:"); +final _objc_msgSend_569 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer runLoop, + ffi.Pointer mode)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_removeFromRunLoop_forMode_ = + objc.registerName("removeFromRunLoop:forMode:"); +late final _sel_reservedSpaceLength = objc.registerName("reservedSpaceLength"); +late final _sel_sendBeforeDate_components_from_reserved_ = + objc.registerName("sendBeforeDate:components:from:reserved:"); +final _objc_msgSend_570 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer limitDate, + ffi.Pointer components, + ffi.Pointer receivePort, + ffi.UnsignedLong headerSpaceReserved)>>() + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int)>(); +late final _sel_sendBeforeDate_msgid_components_from_reserved_ = + objc.registerName("sendBeforeDate:msgid:components:from:reserved:"); +final _objc_msgSend_571 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer limitDate, + ffi.UnsignedLong msgID, + ffi.Pointer components, + ffi.Pointer receivePort, + ffi.UnsignedLong headerSpaceReserved)>>() + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ffi.Pointer, + int)>(); + class NSConnection extends NSObject { - NSConnection._( - ffi.Pointer pointer, - SwiftLibrary lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSConnection._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSConnection] that points to the same underlying object as [other]. - static NSConnection castFrom( - SwiftLibrary lib, - T other, - ) { - return NSConnection._(other.pointer, lib, retain: true, release: true); + static NSConnection castFrom(T other) { + return NSConnection._(other.pointer, retain: true, release: true); } /// Returns a [NSConnection] that wraps the given raw object pointer. - static NSConnection castFromPointer( - SwiftLibrary lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSConnection._(other, lib, retain: retain, release: release); + static NSConnection castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSConnection._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSConnection]. - static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSConnection1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0( + obj.pointer, _sel_isKindOfClass_, _class_NSConnection); } NSDictionary get statistics { - final _ret = _lib._objc_msgSend_181(this.pointer, _lib._sel_statistics1); - return NSDictionary._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_181(this.pointer, _sel_statistics); + return NSDictionary._(_ret, retain: true, release: true); } - static NSArray allConnections(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSConnection1, - _lib._sel_allConnections1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); + static NSArray allConnections() { + final _ret = _objc_msgSend_85(_class_NSConnection, _sel_allConnections); + return NSArray._(_ret, retain: true, release: true); } - static NSConnection defaultConnection(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_572( - _lib._class_NSConnection1, - _lib._sel_defaultConnection1, - ); - return NSConnection._(_ret, _lib, retain: true, release: true); + static NSConnection defaultConnection() { + final _ret = _objc_msgSend_572(_class_NSConnection, _sel_defaultConnection); + return NSConnection._(_ret, retain: true, release: true); } static NSConnection? connectionWithRegisteredName_host_( - SwiftLibrary _lib, - NSString name, - NSString? hostName, - ) { - final _ret = _lib._objc_msgSend_573( - _lib._class_NSConnection1, - _lib._sel_connectionWithRegisteredName_host_1, - name.pointer, - hostName?.pointer ?? ffi.nullptr, - ); + NSString name, NSString? hostName) { + final _ret = _objc_msgSend_573( + _class_NSConnection, + _sel_connectionWithRegisteredName_host_, + name.pointer, + hostName?.pointer ?? ffi.nullptr); return _ret.address == 0 ? null - : NSConnection._(_ret, _lib, retain: true, release: true); + : NSConnection._(_ret, retain: true, release: true); } static NSConnection? connectionWithRegisteredName_host_usingNameServer_( - SwiftLibrary _lib, - NSString name, - NSString? hostName, - NSPortNameServer server, - ) { - final _ret = _lib._objc_msgSend_578( - _lib._class_NSConnection1, - _lib._sel_connectionWithRegisteredName_host_usingNameServer_1, - name.pointer, - hostName?.pointer ?? ffi.nullptr, - server.pointer, - ); + NSString name, NSString? hostName, NSPortNameServer server) { + final _ret = _objc_msgSend_578( + _class_NSConnection, + _sel_connectionWithRegisteredName_host_usingNameServer_, + name.pointer, + hostName?.pointer ?? ffi.nullptr, + server.pointer); return _ret.address == 0 ? null - : NSConnection._(_ret, _lib, retain: true, release: true); + : NSConnection._(_ret, retain: true, release: true); } static NSDistantObject? rootProxyForConnectionWithRegisteredName_host_( - SwiftLibrary _lib, - NSString name, - NSString? hostName, - ) { - final _ret = _lib._objc_msgSend_583( - _lib._class_NSConnection1, - _lib._sel_rootProxyForConnectionWithRegisteredName_host_1, - name.pointer, - hostName?.pointer ?? ffi.nullptr, - ); + NSString name, NSString? hostName) { + final _ret = _objc_msgSend_583( + _class_NSConnection, + _sel_rootProxyForConnectionWithRegisteredName_host_, + name.pointer, + hostName?.pointer ?? ffi.nullptr); return _ret.address == 0 ? null - : NSDistantObject._(_ret, _lib, retain: true, release: true); + : NSDistantObject._(_ret, retain: true, release: true); } static NSDistantObject? rootProxyForConnectionWithRegisteredName_host_usingNameServer_( - SwiftLibrary _lib, - NSString name, - NSString? hostName, - NSPortNameServer server, - ) { - final _ret = _lib._objc_msgSend_584( - _lib._class_NSConnection1, - _lib._sel_rootProxyForConnectionWithRegisteredName_host_usingNameServer_1, - name.pointer, - hostName?.pointer ?? ffi.nullptr, - server.pointer, - ); + NSString name, NSString? hostName, NSPortNameServer server) { + final _ret = _objc_msgSend_584( + _class_NSConnection, + _sel_rootProxyForConnectionWithRegisteredName_host_usingNameServer_, + name.pointer, + hostName?.pointer ?? ffi.nullptr, + server.pointer); return _ret.address == 0 ? null - : NSDistantObject._(_ret, _lib, retain: true, release: true); + : NSDistantObject._(_ret, retain: true, release: true); } static NSConnection? serviceConnectionWithName_rootObject_usingNameServer_( - SwiftLibrary _lib, - NSString name, - NSObject root, - NSPortNameServer server, - ) { - final _ret = _lib._objc_msgSend_585( - _lib._class_NSConnection1, - _lib._sel_serviceConnectionWithName_rootObject_usingNameServer_1, - name.pointer, - root.pointer, - server.pointer, - ); + NSString name, NSObject root, NSPortNameServer server) { + final _ret = _objc_msgSend_585( + _class_NSConnection, + _sel_serviceConnectionWithName_rootObject_usingNameServer_, + name.pointer, + root.pointer, + server.pointer); return _ret.address == 0 ? null - : NSConnection._(_ret, _lib, retain: true, release: true); + : NSConnection._(_ret, retain: true, release: true); } static NSConnection? serviceConnectionWithName_rootObject_( - SwiftLibrary _lib, - NSString name, - NSObject root, - ) { - final _ret = _lib._objc_msgSend_586( - _lib._class_NSConnection1, - _lib._sel_serviceConnectionWithName_rootObject_1, - name.pointer, - root.pointer, - ); + NSString name, NSObject root) { + final _ret = _objc_msgSend_586(_class_NSConnection, + _sel_serviceConnectionWithName_rootObject_, name.pointer, root.pointer); return _ret.address == 0 ? null - : NSConnection._(_ret, _lib, retain: true, release: true); + : NSConnection._(_ret, retain: true, release: true); } double get requestTimeout { return objc.useMsgSendVariants - ? _lib._objc_msgSend_165_fpret(this.pointer, _lib._sel_requestTimeout1) - : _lib._objc_msgSend_165(this.pointer, _lib._sel_requestTimeout1); + ? _objc_msgSend_165Fpret(this.pointer, _sel_requestTimeout) + : _objc_msgSend_165(this.pointer, _sel_requestTimeout); } set requestTimeout(double value) { - return _lib._objc_msgSend_542( - this.pointer, - _lib._sel_setRequestTimeout_1, - value, - ); + return _objc_msgSend_542(this.pointer, _sel_setRequestTimeout_, value); } double get replyTimeout { return objc.useMsgSendVariants - ? _lib._objc_msgSend_165_fpret(this.pointer, _lib._sel_replyTimeout1) - : _lib._objc_msgSend_165(this.pointer, _lib._sel_replyTimeout1); + ? _objc_msgSend_165Fpret(this.pointer, _sel_replyTimeout) + : _objc_msgSend_165(this.pointer, _sel_replyTimeout); } set replyTimeout(double value) { - return _lib._objc_msgSend_542( - this.pointer, - _lib._sel_setReplyTimeout_1, - value, - ); + return _objc_msgSend_542(this.pointer, _sel_setReplyTimeout_, value); } NSObject? get rootObject { - final _ret = _lib._objc_msgSend_17(this.pointer, _lib._sel_rootObject1); + final _ret = _objc_msgSend_17(this.pointer, _sel_rootObject); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } set rootObject(NSObject? value) { - return _lib._objc_msgSend_416( - this.pointer, - _lib._sel_setRootObject_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_416( + this.pointer, _sel_setRootObject_, value?.pointer ?? ffi.nullptr); } NSObject? get delegate { - final _ret = _lib._objc_msgSend_17(this.pointer, _lib._sel_delegate1); + final _ret = _objc_msgSend_17(this.pointer, _sel_delegate); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } set delegate(NSObject? value) { - return _lib._objc_msgSend_416( - this.pointer, - _lib._sel_setDelegate_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_416( + this.pointer, _sel_setDelegate_, value?.pointer ?? ffi.nullptr); } bool get independentConversationQueueing { - return _lib._objc_msgSend_12( - this.pointer, - _lib._sel_independentConversationQueueing1, - ); + return _objc_msgSend_12(this.pointer, _sel_independentConversationQueueing); } set independentConversationQueueing(bool value) { - return _lib._objc_msgSend_527( - this.pointer, - _lib._sel_setIndependentConversationQueueing_1, - value, - ); + return _objc_msgSend_527( + this.pointer, _sel_setIndependentConversationQueueing_, value); } bool get valid { - return _lib._objc_msgSend_12(this.pointer, _lib._sel_isValid1); + return _objc_msgSend_12(this.pointer, _sel_isValid); } NSDistantObject get rootProxy { - final _ret = _lib._objc_msgSend_587(this.pointer, _lib._sel_rootProxy1); - return NSDistantObject._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_587(this.pointer, _sel_rootProxy); + return NSDistantObject._(_ret, retain: true, release: true); } void invalidate() { - _lib._objc_msgSend_1(this.pointer, _lib._sel_invalidate1); + _objc_msgSend_1(this.pointer, _sel_invalidate); } void addRequestMode_(NSString rmode) { - _lib._objc_msgSend_247( - this.pointer, - _lib._sel_addRequestMode_1, - rmode.pointer, - ); + _objc_msgSend_247(this.pointer, _sel_addRequestMode_, rmode.pointer); } void removeRequestMode_(NSString rmode) { - _lib._objc_msgSend_247( - this.pointer, - _lib._sel_removeRequestMode_1, - rmode.pointer, - ); + _objc_msgSend_247(this.pointer, _sel_removeRequestMode_, rmode.pointer); } NSArray get requestModes { - final _ret = _lib._objc_msgSend_85(this.pointer, _lib._sel_requestModes1); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_85(this.pointer, _sel_requestModes); + return NSArray._(_ret, retain: true, release: true); } bool registerName_(NSString? name) { - return _lib._objc_msgSend_588( - this.pointer, - _lib._sel_registerName_1, - name?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_588( + this.pointer, _sel_registerName_, name?.pointer ?? ffi.nullptr); } bool registerName_withNameServer_(NSString? name, NSPortNameServer server) { - return _lib._objc_msgSend_589( - this.pointer, - _lib._sel_registerName_withNameServer_1, - name?.pointer ?? ffi.nullptr, - server.pointer, - ); + return _objc_msgSend_589(this.pointer, _sel_registerName_withNameServer_, + name?.pointer ?? ffi.nullptr, server.pointer); } static NSConnection? connectionWithReceivePort_sendPort_( - SwiftLibrary _lib, - NSPort? receivePort, - NSPort? sendPort, - ) { - final _ret = _lib._objc_msgSend_590( - _lib._class_NSConnection1, - _lib._sel_connectionWithReceivePort_sendPort_1, - receivePort?.pointer ?? ffi.nullptr, - sendPort?.pointer ?? ffi.nullptr, - ); + NSPort? receivePort, NSPort? sendPort) { + final _ret = _objc_msgSend_590( + _class_NSConnection, + _sel_connectionWithReceivePort_sendPort_, + receivePort?.pointer ?? ffi.nullptr, + sendPort?.pointer ?? ffi.nullptr); return _ret.address == 0 ? null - : NSConnection._(_ret, _lib, retain: true, release: true); + : NSConnection._(_ret, retain: true, release: true); } - static NSObject? currentConversation(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_17( - _lib._class_NSConnection1, - _lib._sel_currentConversation1, - ); + static NSObject? currentConversation() { + final _ret = + _objc_msgSend_17(_class_NSConnection, _sel_currentConversation); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } NSConnection? initWithReceivePort_sendPort_( - NSPort? receivePort, - NSPort? sendPort, - ) { - final _ret = _lib._objc_msgSend_590( - this.pointer, - _lib._sel_initWithReceivePort_sendPort_1, - receivePort?.pointer ?? ffi.nullptr, - sendPort?.pointer ?? ffi.nullptr, - ); + NSPort? receivePort, NSPort? sendPort) { + final _ret = _objc_msgSend_590( + this.pointer, + _sel_initWithReceivePort_sendPort_, + receivePort?.pointer ?? ffi.nullptr, + sendPort?.pointer ?? ffi.nullptr); return _ret.address == 0 ? null - : NSConnection._(_ret, _lib, retain: true, release: true); + : NSConnection._(_ret, retain: true, release: true); } NSPort get sendPort { - final _ret = _lib._objc_msgSend_553(this.pointer, _lib._sel_sendPort1); - return NSPort._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_553(this.pointer, _sel_sendPort); + return NSPort._(_ret, retain: true, release: true); } NSPort get receivePort { - final _ret = _lib._objc_msgSend_553(this.pointer, _lib._sel_receivePort1); - return NSPort._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_553(this.pointer, _sel_receivePort); + return NSPort._(_ret, retain: true, release: true); } void enableMultipleThreads() { - _lib._objc_msgSend_1(this.pointer, _lib._sel_enableMultipleThreads1); + _objc_msgSend_1(this.pointer, _sel_enableMultipleThreads); } bool get multipleThreadsEnabled { - return _lib._objc_msgSend_12( - this.pointer, - _lib._sel_multipleThreadsEnabled1, - ); + return _objc_msgSend_12(this.pointer, _sel_multipleThreadsEnabled); } void addRunLoop_(NSRunLoop runloop) { - _lib._objc_msgSend_591( - this.pointer, - _lib._sel_addRunLoop_1, - runloop.pointer, - ); + _objc_msgSend_591(this.pointer, _sel_addRunLoop_, runloop.pointer); } void removeRunLoop_(NSRunLoop runloop) { - _lib._objc_msgSend_591( - this.pointer, - _lib._sel_removeRunLoop_1, - runloop.pointer, - ); + _objc_msgSend_591(this.pointer, _sel_removeRunLoop_, runloop.pointer); } void runInNewThread() { - _lib._objc_msgSend_1(this.pointer, _lib._sel_runInNewThread1); + _objc_msgSend_1(this.pointer, _sel_runInNewThread); } NSArray get remoteObjects { - final _ret = _lib._objc_msgSend_85(this.pointer, _lib._sel_remoteObjects1); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_85(this.pointer, _sel_remoteObjects); + return NSArray._(_ret, retain: true, release: true); } NSArray get localObjects { - final _ret = _lib._objc_msgSend_85(this.pointer, _lib._sel_localObjects1); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_85(this.pointer, _sel_localObjects); + return NSArray._(_ret, retain: true, release: true); } void dispatchWithComponents_(NSArray components) { - _lib._objc_msgSend_472( - this.pointer, - _lib._sel_dispatchWithComponents_1, - components.pointer, - ); + _objc_msgSend_472( + this.pointer, _sel_dispatchWithComponents_, components.pointer); } @override NSConnection init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSConnection._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSConnection._(_ret, retain: true, release: true); } - static NSConnection new1(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSConnection1, - _lib._sel_new1, - ); - return NSConnection._(_ret, _lib, retain: false, release: true); + static NSConnection new1() { + final _ret = _objc_msgSend_2(_class_NSConnection, _sel_new); + return NSConnection._(_ret, retain: false, release: true); } - static NSConnection allocWithZone_( - SwiftLibrary _lib, - ffi.Pointer<_NSZone> zone, - ) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSConnection1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSConnection._(_ret, _lib, retain: false, release: true); + static NSConnection allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = + _objc_msgSend_3(_class_NSConnection, _sel_allocWithZone_, zone); + return NSConnection._(_ret, retain: false, release: true); } - static NSConnection alloc(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSConnection1, - _lib._sel_alloc1, - ); - return NSConnection._(_ret, _lib, retain: false, release: true); + static NSConnection alloc() { + final _ret = _objc_msgSend_2(_class_NSConnection, _sel_alloc); + return NSConnection._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSConnection1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSConnection1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSConnection1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSConnection1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSConnection1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSConnection1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSConnection, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); } - static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSConnection1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSConnection1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSConnection1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSConnection, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); } -} + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSConnection, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSConnection, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSConnection, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSConnection, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); + } + + static void setKeys_triggerChangeNotificationsForDependentKey_( + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSConnection, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = _objc_msgSend_85( + _class_NSConnection, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = + _objc_msgSend_2(_class_NSConnection, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); + } +} + +late final _class_NSConnection = objc.getClass("NSConnection"); +late final _sel_statistics = objc.registerName("statistics"); +late final _sel_allConnections = objc.registerName("allConnections"); +late final _sel_defaultConnection = objc.registerName("defaultConnection"); +final _objc_msgSend_572 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_connectionWithRegisteredName_host_ = + objc.registerName("connectionWithRegisteredName:host:"); +final _objc_msgSend_573 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer name, + ffi.Pointer hostName)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); class NSPortNameServer extends NSObject { - NSPortNameServer._( - ffi.Pointer pointer, - SwiftLibrary lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSPortNameServer._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSPortNameServer] that points to the same underlying object as [other]. - static NSPortNameServer castFrom( - SwiftLibrary lib, - T other, - ) { - return NSPortNameServer._(other.pointer, lib, retain: true, release: true); + static NSPortNameServer castFrom(T other) { + return NSPortNameServer._(other.pointer, retain: true, release: true); } /// Returns a [NSPortNameServer] that wraps the given raw object pointer. - static NSPortNameServer castFromPointer( - SwiftLibrary lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSPortNameServer._(other, lib, retain: retain, release: release); + static NSPortNameServer castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSPortNameServer._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSPortNameServer]. - static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSPortNameServer1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0( + obj.pointer, _sel_isKindOfClass_, _class_NSPortNameServer); } - static NSPortNameServer systemDefaultPortNameServer(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_574( - _lib._class_NSPortNameServer1, - _lib._sel_systemDefaultPortNameServer1, - ); - return NSPortNameServer._(_ret, _lib, retain: true, release: true); + static NSPortNameServer systemDefaultPortNameServer() { + final _ret = _objc_msgSend_574( + _class_NSPortNameServer, _sel_systemDefaultPortNameServer); + return NSPortNameServer._(_ret, retain: true, release: true); } NSPort? portForName_(NSString name) { - final _ret = _lib._objc_msgSend_575( - this.pointer, - _lib._sel_portForName_1, - name.pointer, - ); + final _ret = + _objc_msgSend_575(this.pointer, _sel_portForName_, name.pointer); return _ret.address == 0 ? null - : NSPort._(_ret, _lib, retain: true, release: true); + : NSPort._(_ret, retain: true, release: true); } NSPort? portForName_host_(NSString name, NSString? host) { - final _ret = _lib._objc_msgSend_576( - this.pointer, - _lib._sel_portForName_host_1, - name.pointer, - host?.pointer ?? ffi.nullptr, - ); + final _ret = _objc_msgSend_576(this.pointer, _sel_portForName_host_, + name.pointer, host?.pointer ?? ffi.nullptr); return _ret.address == 0 ? null - : NSPort._(_ret, _lib, retain: true, release: true); + : NSPort._(_ret, retain: true, release: true); } bool registerPort_name_(NSPort port, NSString name) { - return _lib._objc_msgSend_577( - this.pointer, - _lib._sel_registerPort_name_1, - port.pointer, - name.pointer, - ); + return _objc_msgSend_577( + this.pointer, _sel_registerPort_name_, port.pointer, name.pointer); } bool removePortForName_(NSString name) { - return _lib._objc_msgSend_64( - this.pointer, - _lib._sel_removePortForName_1, - name.pointer, - ); + return _objc_msgSend_64( + this.pointer, _sel_removePortForName_, name.pointer); } @override NSPortNameServer init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSPortNameServer._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSPortNameServer._(_ret, retain: true, release: true); } - static NSPortNameServer new1(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSPortNameServer1, - _lib._sel_new1, - ); - return NSPortNameServer._(_ret, _lib, retain: false, release: true); + static NSPortNameServer new1() { + final _ret = _objc_msgSend_2(_class_NSPortNameServer, _sel_new); + return NSPortNameServer._(_ret, retain: false, release: true); } - static NSPortNameServer allocWithZone_( - SwiftLibrary _lib, - ffi.Pointer<_NSZone> zone, - ) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSPortNameServer1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSPortNameServer._(_ret, _lib, retain: false, release: true); + static NSPortNameServer allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = + _objc_msgSend_3(_class_NSPortNameServer, _sel_allocWithZone_, zone); + return NSPortNameServer._(_ret, retain: false, release: true); } - static NSPortNameServer alloc(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSPortNameServer1, - _lib._sel_alloc1, - ); - return NSPortNameServer._(_ret, _lib, retain: false, release: true); + static NSPortNameServer alloc() { + final _ret = _objc_msgSend_2(_class_NSPortNameServer, _sel_alloc); + return NSPortNameServer._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSPortNameServer1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSPortNameServer1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSPortNameServer1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSPortNameServer1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSPortNameServer1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSPortNameServer1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSPortNameServer, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); } - static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSPortNameServer1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSPortNameServer1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSPortNameServer1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSPortNameServer, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); + } + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSPortNameServer, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSPortNameServer, _sel_useStoredAccessor); } -} + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSPortNameServer, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSPortNameServer, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); + } + + static void setKeys_triggerChangeNotificationsForDependentKey_( + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSPortNameServer, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = _objc_msgSend_85( + _class_NSPortNameServer, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = + _objc_msgSend_2(_class_NSPortNameServer, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); + } +} + +late final _class_NSPortNameServer = objc.getClass("NSPortNameServer"); +late final _sel_systemDefaultPortNameServer = + objc.registerName("systemDefaultPortNameServer"); +final _objc_msgSend_574 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_portForName_ = objc.registerName("portForName:"); +final _objc_msgSend_575 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer name)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_portForName_host_ = objc.registerName("portForName:host:"); +final _objc_msgSend_576 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer name, + ffi.Pointer host)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_registerPort_name_ = objc.registerName("registerPort:name:"); +final _objc_msgSend_577 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer port, + ffi.Pointer name)>>() + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_removePortForName_ = objc.registerName("removePortForName:"); +late final _sel_connectionWithRegisteredName_host_usingNameServer_ = + objc.registerName("connectionWithRegisteredName:host:usingNameServer:"); +final _objc_msgSend_578 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer name, + ffi.Pointer hostName, + ffi.Pointer server)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); class NSDistantObject extends NSProxy { - NSDistantObject._( - ffi.Pointer pointer, - SwiftLibrary lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSDistantObject._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSDistantObject] that points to the same underlying object as [other]. - static NSDistantObject castFrom( - SwiftLibrary lib, - T other, - ) { - return NSDistantObject._(other.pointer, lib, retain: true, release: true); + static NSDistantObject castFrom(T other) { + return NSDistantObject._(other.pointer, retain: true, release: true); } /// Returns a [NSDistantObject] that wraps the given raw object pointer. - static NSDistantObject castFromPointer( - SwiftLibrary lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSDistantObject._(other, lib, retain: retain, release: release); + static NSDistantObject castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSDistantObject._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSDistantObject]. - static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSDistantObject1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0( + obj.pointer, _sel_isKindOfClass_, _class_NSDistantObject); } static NSObject? proxyWithTarget_connection_( - SwiftLibrary _lib, - NSObject target, - NSConnection connection, - ) { - final _ret = _lib._objc_msgSend_580( - _lib._class_NSDistantObject1, - _lib._sel_proxyWithTarget_connection_1, - target.pointer, - connection.pointer, - ); + NSObject target, NSConnection connection) { + final _ret = _objc_msgSend_580(_class_NSDistantObject, + _sel_proxyWithTarget_connection_, target.pointer, connection.pointer); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } NSDistantObject? initWithTarget_connection_( - NSObject target, - NSConnection connection, - ) { - final _ret = _lib._objc_msgSend_580( - this.pointer, - _lib._sel_initWithTarget_connection_1, - target.pointer, - connection.pointer, - ); + NSObject target, NSConnection connection) { + final _ret = _objc_msgSend_580(this.pointer, + _sel_initWithTarget_connection_, target.pointer, connection.pointer); return _ret.address == 0 ? null - : NSDistantObject._(_ret, _lib, retain: true, release: true); + : NSDistantObject._(_ret, retain: true, release: true); } static NSObject proxyWithLocal_connection_( - SwiftLibrary _lib, - NSObject target, - NSConnection connection, - ) { - final _ret = _lib._objc_msgSend_581( - _lib._class_NSDistantObject1, - _lib._sel_proxyWithLocal_connection_1, - target.pointer, - connection.pointer, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + NSObject target, NSConnection connection) { + final _ret = _objc_msgSend_581(_class_NSDistantObject, + _sel_proxyWithLocal_connection_, target.pointer, connection.pointer); + return NSObject._(_ret, retain: true, release: true); } NSDistantObject initWithLocal_connection_( - NSObject target, - NSConnection connection, - ) { - final _ret = _lib._objc_msgSend_581( - this.pointer, - _lib._sel_initWithLocal_connection_1, - target.pointer, - connection.pointer, - ); - return NSDistantObject._(_ret, _lib, retain: true, release: true); + NSObject target, NSConnection connection) { + final _ret = _objc_msgSend_581(this.pointer, _sel_initWithLocal_connection_, + target.pointer, connection.pointer); + return NSDistantObject._(_ret, retain: true, release: true); } NSDistantObject? initWithCoder_(NSCoder inCoder) { - final _ret = _lib._objc_msgSend_47( - this.pointer, - _lib._sel_initWithCoder_1, - inCoder.pointer, - ); + final _ret = + _objc_msgSend_47(this.pointer, _sel_initWithCoder_, inCoder.pointer); return _ret.address == 0 ? null - : NSDistantObject._(_ret, _lib, retain: true, release: true); + : NSDistantObject._(_ret, retain: true, release: true); } void setProtocolForProxy_(Protocol? proto) { - _lib._objc_msgSend_582( - this.pointer, - _lib._sel_setProtocolForProxy_1, - proto?.pointer ?? ffi.nullptr, - ); + _objc_msgSend_582( + this.pointer, _sel_setProtocolForProxy_, proto?.pointer ?? ffi.nullptr); } NSConnection get connectionForProxy { - final _ret = _lib._objc_msgSend_572( - this.pointer, - _lib._sel_connectionForProxy1, - ); - return NSConnection._(_ret, _lib, retain: true, release: true); - } - - static NSObject alloc(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSDistantObject1, - _lib._sel_alloc1, - ); - return NSObject._(_ret, _lib, retain: false, release: true); - } - - static bool respondsToSelector_( - SwiftLibrary _lib, - ffi.Pointer aSelector, - ) { - return _lib._objc_msgSend_4( - _lib._class_NSDistantObject1, - _lib._sel_respondsToSelector_1, - aSelector, - ); + final _ret = _objc_msgSend_572(this.pointer, _sel_connectionForProxy); + return NSConnection._(_ret, retain: true, release: true); + } + + static NSObject alloc() { + final _ret = _objc_msgSend_2(_class_NSDistantObject, _sel_alloc); + return NSObject._(_ret, retain: false, release: true); + } + + static bool respondsToSelector_(ffi.Pointer aSelector) { + return _objc_msgSend_4( + _class_NSDistantObject, _sel_respondsToSelector_, aSelector); } } -class NSProxy extends objc.ObjCObjectBase { - NSProxy._( - ffi.Pointer pointer, - this._lib, { - bool retain = false, - bool release = false, - }) : super(pointer, retain: retain, release: release); +late final _class_NSDistantObject = objc.getClass("NSDistantObject"); - SwiftLibrary _lib; +class NSProxy extends objc.ObjCObjectBase { + NSProxy._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super(pointer, retain: retain, release: release); /// Returns a [NSProxy] that points to the same underlying object as [other]. - static NSProxy castFrom( - SwiftLibrary lib, - T other, - ) { - return NSProxy._(other.pointer, lib, retain: true, release: true); + static NSProxy castFrom(T other) { + return NSProxy._(other.pointer, retain: true, release: true); } /// Returns a [NSProxy] that wraps the given raw object pointer. - static NSProxy castFromPointer( - SwiftLibrary lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSProxy._(other, lib, retain: retain, release: release); + static NSProxy castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSProxy._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSProxy]. - static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSProxy1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0(obj.pointer, _sel_isKindOfClass_, _class_NSProxy); } - static NSObject alloc(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2(_lib._class_NSProxy1, _lib._sel_alloc1); - return NSObject._(_ret, _lib, retain: false, release: true); + static NSObject alloc() { + final _ret = _objc_msgSend_2(_class_NSProxy, _sel_alloc); + return NSObject._(_ret, retain: false, release: true); } - static NSObject allocWithZone_(SwiftLibrary _lib, ffi.Pointer<_NSZone> zone) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSProxy1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSObject._(_ret, _lib, retain: false, release: true); + static NSObject allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = _objc_msgSend_3(_class_NSProxy, _sel_allocWithZone_, zone); + return NSObject._(_ret, retain: false, release: true); } - static NSObject class1(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2(_lib._class_NSProxy1, _lib._sel_class1); - return NSObject._(_ret, _lib, retain: true, release: true); + static NSObject class1() { + final _ret = _objc_msgSend_2(_class_NSProxy, _sel_class); + return NSObject._(_ret, retain: true, release: true); } void forwardInvocation_(NSInvocation invocation) { - _lib._objc_msgSend_421( - this.pointer, - _lib._sel_forwardInvocation_1, - invocation.pointer, - ); + _objc_msgSend_421( + this.pointer, _sel_forwardInvocation_, invocation.pointer); } NSMethodSignature? methodSignatureForSelector_( - ffi.Pointer sel, - ) { - final _ret = _lib._objc_msgSend_579( - this.pointer, - _lib._sel_methodSignatureForSelector_1, - sel, - ); + ffi.Pointer sel) { + final _ret = + _objc_msgSend_579(this.pointer, _sel_methodSignatureForSelector_, sel); return _ret.address == 0 ? null - : NSMethodSignature._(_ret, _lib, retain: true, release: true); + : NSMethodSignature._(_ret, retain: true, release: true); } void dealloc() { - _lib._objc_msgSend_1(this.pointer, _lib._sel_dealloc1); + _objc_msgSend_1(this.pointer, _sel_dealloc); } void finalize() { - _lib._objc_msgSend_1(this.pointer, _lib._sel_finalize1); + _objc_msgSend_1(this.pointer, _sel_finalize); } NSString get description { - final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_description1); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_description); + return NSString._(_ret, retain: true, release: true); } NSString get debugDescription { - final _ret = _lib._objc_msgSend_21( - this.pointer, - _lib._sel_debugDescription1, - ); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_debugDescription); + return NSString._(_ret, retain: true, release: true); } - static bool respondsToSelector_( - SwiftLibrary _lib, - ffi.Pointer aSelector, - ) { - return _lib._objc_msgSend_4( - _lib._class_NSProxy1, - _lib._sel_respondsToSelector_1, - aSelector, - ); + static bool respondsToSelector_(ffi.Pointer aSelector) { + return _objc_msgSend_4(_class_NSProxy, _sel_respondsToSelector_, aSelector); } bool allowsWeakReference() { - return _lib._objc_msgSend_12(this.pointer, _lib._sel_allowsWeakReference1); + return _objc_msgSend_12(this.pointer, _sel_allowsWeakReference); } bool retainWeakReference() { - return _lib._objc_msgSend_12(this.pointer, _lib._sel_retainWeakReference1); - } -} + return _objc_msgSend_12(this.pointer, _sel_retainWeakReference); + } +} + +late final _class_NSProxy = objc.getClass("NSProxy"); +final _objc_msgSend_579 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_respondsToSelector_ = objc.registerName("respondsToSelector:"); +late final _sel_proxyWithTarget_connection_ = + objc.registerName("proxyWithTarget:connection:"); +final _objc_msgSend_580 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer target, + ffi.Pointer connection)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_initWithTarget_connection_ = + objc.registerName("initWithTarget:connection:"); +late final _sel_proxyWithLocal_connection_ = + objc.registerName("proxyWithLocal:connection:"); +final _objc_msgSend_581 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer target, + ffi.Pointer connection)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_initWithLocal_connection_ = + objc.registerName("initWithLocal:connection:"); +late final _sel_setProtocolForProxy_ = + objc.registerName("setProtocolForProxy:"); +final _objc_msgSend_582 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer proto)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_connectionForProxy = objc.registerName("connectionForProxy"); +late final _sel_rootProxyForConnectionWithRegisteredName_host_ = + objc.registerName("rootProxyForConnectionWithRegisteredName:host:"); +final _objc_msgSend_583 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer name, + ffi.Pointer hostName)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_rootProxyForConnectionWithRegisteredName_host_usingNameServer_ = + objc.registerName( + "rootProxyForConnectionWithRegisteredName:host:usingNameServer:"); +final _objc_msgSend_584 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer name, + ffi.Pointer hostName, + ffi.Pointer server)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_serviceConnectionWithName_rootObject_usingNameServer_ = + objc.registerName("serviceConnectionWithName:rootObject:usingNameServer:"); +final _objc_msgSend_585 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer name, + ffi.Pointer root, + ffi.Pointer server)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_serviceConnectionWithName_rootObject_ = + objc.registerName("serviceConnectionWithName:rootObject:"); +final _objc_msgSend_586 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer name, + ffi.Pointer root)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_requestTimeout = objc.registerName("requestTimeout"); +late final _sel_setRequestTimeout_ = objc.registerName("setRequestTimeout:"); +late final _sel_replyTimeout = objc.registerName("replyTimeout"); +late final _sel_setReplyTimeout_ = objc.registerName("setReplyTimeout:"); +late final _sel_rootObject = objc.registerName("rootObject"); +late final _sel_setRootObject_ = objc.registerName("setRootObject:"); +late final _sel_independentConversationQueueing = + objc.registerName("independentConversationQueueing"); +late final _sel_setIndependentConversationQueueing_ = + objc.registerName("setIndependentConversationQueueing:"); +late final _sel_rootProxy = objc.registerName("rootProxy"); +final _objc_msgSend_587 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_addRequestMode_ = objc.registerName("addRequestMode:"); +late final _sel_removeRequestMode_ = objc.registerName("removeRequestMode:"); +late final _sel_requestModes = objc.registerName("requestModes"); +late final _sel_registerName_ = objc.registerName("registerName:"); +final _objc_msgSend_588 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer name)>>() + .asFunction< + bool Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_registerName_withNameServer_ = + objc.registerName("registerName:withNameServer:"); +final _objc_msgSend_589 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer name, + ffi.Pointer server)>>() + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_connectionWithReceivePort_sendPort_ = + objc.registerName("connectionWithReceivePort:sendPort:"); +final _objc_msgSend_590 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer receivePort, + ffi.Pointer sendPort)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_currentConversation = objc.registerName("currentConversation"); +late final _sel_initWithReceivePort_sendPort_ = + objc.registerName("initWithReceivePort:sendPort:"); +late final _sel_sendPort = objc.registerName("sendPort"); +late final _sel_receivePort = objc.registerName("receivePort"); +late final _sel_enableMultipleThreads = + objc.registerName("enableMultipleThreads"); +late final _sel_multipleThreadsEnabled = + objc.registerName("multipleThreadsEnabled"); +late final _sel_addRunLoop_ = objc.registerName("addRunLoop:"); +final _objc_msgSend_591 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer runloop)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_removeRunLoop_ = objc.registerName("removeRunLoop:"); +late final _sel_runInNewThread = objc.registerName("runInNewThread"); +late final _sel_remoteObjects = objc.registerName("remoteObjects"); +late final _sel_localObjects = objc.registerName("localObjects"); +late final _sel_dispatchWithComponents_ = + objc.registerName("dispatchWithComponents:"); +late final _sel_addConnection_toRunLoop_forMode_ = + objc.registerName("addConnection:toRunLoop:forMode:"); +final _objc_msgSend_592 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer conn, + ffi.Pointer runLoop, + ffi.Pointer mode)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_removeConnection_fromRunLoop_forMode_ = + objc.registerName("removeConnection:fromRunLoop:forMode:"); +late final _sel_encodePortObject_ = objc.registerName("encodePortObject:"); +final _objc_msgSend_593 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer aport)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_decodePortObject = objc.registerName("decodePortObject"); +final _objc_msgSend_594 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_connection = objc.registerName("connection"); +final _objc_msgSend_595 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_portCoderWithReceivePort_sendPort_components_ = + objc.registerName("portCoderWithReceivePort:sendPort:components:"); +final _objc_msgSend_596 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer rcvPort, + ffi.Pointer sndPort, + ffi.Pointer comps)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_initWithReceivePort_sendPort_components_ = + objc.registerName("initWithReceivePort:sendPort:components:"); +late final _sel_dispatch = objc.registerName("dispatch"); +late final _sel_replacementObjectForPortCoder_ = + objc.registerName("replacementObjectForPortCoder:"); +final _objc_msgSend_597 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer coder)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); class NSClassDescription extends NSObject { - NSClassDescription._( - ffi.Pointer pointer, - SwiftLibrary lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSClassDescription._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSClassDescription] that points to the same underlying object as [other]. - static NSClassDescription castFrom( - SwiftLibrary lib, - T other, - ) { - return NSClassDescription._( - other.pointer, - lib, - retain: true, - release: true, - ); + static NSClassDescription castFrom(T other) { + return NSClassDescription._(other.pointer, retain: true, release: true); } /// Returns a [NSClassDescription] that wraps the given raw object pointer. - static NSClassDescription castFromPointer( - SwiftLibrary lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSClassDescription._(other, lib, retain: retain, release: release); + static NSClassDescription castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSClassDescription._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSClassDescription]. - static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSClassDescription1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0( + obj.pointer, _sel_isKindOfClass_, _class_NSClassDescription); } static void registerClassDescription_forClass_( - SwiftLibrary _lib, - NSClassDescription description, - NSObject aClass, - ) { - _lib._objc_msgSend_598( - _lib._class_NSClassDescription1, - _lib._sel_registerClassDescription_forClass_1, - description.pointer, - aClass.pointer, - ); + NSClassDescription description, NSObject aClass) { + _objc_msgSend_598( + _class_NSClassDescription, + _sel_registerClassDescription_forClass_, + description.pointer, + aClass.pointer); } - static void invalidateClassDescriptionCache(SwiftLibrary _lib) { - _lib._objc_msgSend_1( - _lib._class_NSClassDescription1, - _lib._sel_invalidateClassDescriptionCache1, - ); + static void invalidateClassDescriptionCache() { + _objc_msgSend_1( + _class_NSClassDescription, _sel_invalidateClassDescriptionCache); } - static NSClassDescription? classDescriptionForClass_( - SwiftLibrary _lib, - NSObject aClass, - ) { - final _ret = _lib._objc_msgSend_599( - _lib._class_NSClassDescription1, - _lib._sel_classDescriptionForClass_1, - aClass.pointer, - ); + static NSClassDescription? classDescriptionForClass_(NSObject aClass) { + final _ret = _objc_msgSend_599(_class_NSClassDescription, + _sel_classDescriptionForClass_, aClass.pointer); return _ret.address == 0 ? null - : NSClassDescription._(_ret, _lib, retain: true, release: true); + : NSClassDescription._(_ret, retain: true, release: true); } @override NSArray get attributeKeys { - final _ret = _lib._objc_msgSend_85(this.pointer, _lib._sel_attributeKeys1); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_85(this.pointer, _sel_attributeKeys); + return NSArray._(_ret, retain: true, release: true); } @override NSArray get toOneRelationshipKeys { - final _ret = _lib._objc_msgSend_85( - this.pointer, - _lib._sel_toOneRelationshipKeys1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_85(this.pointer, _sel_toOneRelationshipKeys); + return NSArray._(_ret, retain: true, release: true); } @override NSArray get toManyRelationshipKeys { - final _ret = _lib._objc_msgSend_85( - this.pointer, - _lib._sel_toManyRelationshipKeys1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_85(this.pointer, _sel_toManyRelationshipKeys); + return NSArray._(_ret, retain: true, release: true); } @override NSString? inverseForRelationshipKey_(NSString relationshipKey) { - final _ret = _lib._objc_msgSend_186( - this.pointer, - _lib._sel_inverseForRelationshipKey_1, - relationshipKey.pointer, - ); + final _ret = _objc_msgSend_186( + this.pointer, _sel_inverseForRelationshipKey_, relationshipKey.pointer); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } @override NSClassDescription init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSClassDescription._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSClassDescription._(_ret, retain: true, release: true); } - static NSClassDescription new1(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSClassDescription1, - _lib._sel_new1, - ); - return NSClassDescription._(_ret, _lib, retain: false, release: true); + static NSClassDescription new1() { + final _ret = _objc_msgSend_2(_class_NSClassDescription, _sel_new); + return NSClassDescription._(_ret, retain: false, release: true); } - static NSClassDescription allocWithZone_( - SwiftLibrary _lib, - ffi.Pointer<_NSZone> zone, - ) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSClassDescription1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSClassDescription._(_ret, _lib, retain: false, release: true); + static NSClassDescription allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = + _objc_msgSend_3(_class_NSClassDescription, _sel_allocWithZone_, zone); + return NSClassDescription._(_ret, retain: false, release: true); } - static NSClassDescription alloc(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSClassDescription1, - _lib._sel_alloc1, - ); - return NSClassDescription._(_ret, _lib, retain: false, release: true); + static NSClassDescription alloc() { + final _ret = _objc_msgSend_2(_class_NSClassDescription, _sel_alloc); + return NSClassDescription._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSClassDescription1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSClassDescription1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSClassDescription1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSClassDescription1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSClassDescription1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSClassDescription1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSClassDescription, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); } - static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSClassDescription1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSClassDescription1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSClassDescription1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSClassDescription, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); } -} + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSClassDescription, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSClassDescription, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSClassDescription, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSClassDescription, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); + } + + static void setKeys_triggerChangeNotificationsForDependentKey_( + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSClassDescription, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = _objc_msgSend_85( + _class_NSClassDescription, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = _objc_msgSend_2( + _class_NSClassDescription, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); + } +} + +late final _class_NSClassDescription = objc.getClass("NSClassDescription"); +late final _sel_registerClassDescription_forClass_ = + objc.registerName("registerClassDescription:forClass:"); +final _objc_msgSend_598 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer description, + ffi.Pointer aClass)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_invalidateClassDescriptionCache = + objc.registerName("invalidateClassDescriptionCache"); +late final _sel_classDescriptionForClass_ = + objc.registerName("classDescriptionForClass:"); +final _objc_msgSend_599 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer aClass)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_attributeKeys = objc.registerName("attributeKeys"); +late final _sel_toOneRelationshipKeys = + objc.registerName("toOneRelationshipKeys"); +late final _sel_toManyRelationshipKeys = + objc.registerName("toManyRelationshipKeys"); +late final _sel_inverseForRelationshipKey_ = + objc.registerName("inverseForRelationshipKey:"); +late final _sel_classDescription = objc.registerName("classDescription"); +final _objc_msgSend_600 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); class NSScriptObjectSpecifier extends NSObject { - NSScriptObjectSpecifier._( - ffi.Pointer pointer, - SwiftLibrary lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSScriptObjectSpecifier._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSScriptObjectSpecifier] that points to the same underlying object as [other]. static NSScriptObjectSpecifier castFrom( - SwiftLibrary lib, - T other, - ) { - return NSScriptObjectSpecifier._( - other.pointer, - lib, - retain: true, - release: true, - ); + T other) { + return NSScriptObjectSpecifier._(other.pointer, + retain: true, release: true); } /// Returns a [NSScriptObjectSpecifier] that wraps the given raw object pointer. static NSScriptObjectSpecifier castFromPointer( - SwiftLibrary lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSScriptObjectSpecifier._( - other, - lib, - retain: retain, - release: release, - ); + ffi.Pointer other, + {bool retain = false, + bool release = false}) { + return NSScriptObjectSpecifier._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSScriptObjectSpecifier]. - static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSScriptObjectSpecifier1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0( + obj.pointer, _sel_isKindOfClass_, _class_NSScriptObjectSpecifier); } static NSScriptObjectSpecifier? objectSpecifierWithDescriptor_( - SwiftLibrary _lib, - NSAppleEventDescriptor descriptor, - ) { - final _ret = _lib._objc_msgSend_624( - _lib._class_NSScriptObjectSpecifier1, - _lib._sel_objectSpecifierWithDescriptor_1, - descriptor.pointer, - ); + NSAppleEventDescriptor descriptor) { + final _ret = _objc_msgSend_624(_class_NSScriptObjectSpecifier, + _sel_objectSpecifierWithDescriptor_, descriptor.pointer); return _ret.address == 0 ? null - : NSScriptObjectSpecifier._(_ret, _lib, retain: true, release: true); + : NSScriptObjectSpecifier._(_ret, retain: true, release: true); } NSScriptObjectSpecifier initWithContainerSpecifier_key_( - NSScriptObjectSpecifier container, - NSString property, - ) { - final _ret = _lib._objc_msgSend_625( - this.pointer, - _lib._sel_initWithContainerSpecifier_key_1, - container.pointer, - property.pointer, - ); - return NSScriptObjectSpecifier._(_ret, _lib, retain: true, release: true); + NSScriptObjectSpecifier container, NSString property) { + final _ret = _objc_msgSend_625( + this.pointer, + _sel_initWithContainerSpecifier_key_, + container.pointer, + property.pointer); + return NSScriptObjectSpecifier._(_ret, retain: true, release: true); } NSScriptObjectSpecifier initWithContainerClassDescription_containerSpecifier_key_( - NSScriptClassDescription classDesc, - NSScriptObjectSpecifier? container, - NSString property, - ) { - final _ret = _lib._objc_msgSend_645( - this.pointer, - _lib._sel_initWithContainerClassDescription_containerSpecifier_key_1, - classDesc.pointer, - container?.pointer ?? ffi.nullptr, - property.pointer, - ); - return NSScriptObjectSpecifier._(_ret, _lib, retain: true, release: true); + NSScriptClassDescription classDesc, + NSScriptObjectSpecifier? container, + NSString property) { + final _ret = _objc_msgSend_645( + this.pointer, + _sel_initWithContainerClassDescription_containerSpecifier_key_, + classDesc.pointer, + container?.pointer ?? ffi.nullptr, + property.pointer); + return NSScriptObjectSpecifier._(_ret, retain: true, release: true); } NSScriptObjectSpecifier? initWithCoder_(NSCoder inCoder) { - final _ret = _lib._objc_msgSend_47( - this.pointer, - _lib._sel_initWithCoder_1, - inCoder.pointer, - ); + final _ret = + _objc_msgSend_47(this.pointer, _sel_initWithCoder_, inCoder.pointer); return _ret.address == 0 ? null - : NSScriptObjectSpecifier._(_ret, _lib, retain: true, release: true); + : NSScriptObjectSpecifier._(_ret, retain: true, release: true); } NSScriptObjectSpecifier? get childSpecifier { - final _ret = _lib._objc_msgSend_632( - this.pointer, - _lib._sel_childSpecifier1, - ); + final _ret = _objc_msgSend_632(this.pointer, _sel_childSpecifier); return _ret.address == 0 ? null - : NSScriptObjectSpecifier._(_ret, _lib, retain: true, release: true); + : NSScriptObjectSpecifier._(_ret, retain: true, release: true); } set childSpecifier(NSScriptObjectSpecifier? value) { - return _lib._objc_msgSend_633( - this.pointer, - _lib._sel_setChildSpecifier_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_633( + this.pointer, _sel_setChildSpecifier_, value?.pointer ?? ffi.nullptr); } NSScriptObjectSpecifier? get containerSpecifier { - final _ret = _lib._objc_msgSend_632( - this.pointer, - _lib._sel_containerSpecifier1, - ); + final _ret = _objc_msgSend_632(this.pointer, _sel_containerSpecifier); return _ret.address == 0 ? null - : NSScriptObjectSpecifier._(_ret, _lib, retain: true, release: true); + : NSScriptObjectSpecifier._(_ret, retain: true, release: true); } set containerSpecifier(NSScriptObjectSpecifier? value) { - return _lib._objc_msgSend_633( - this.pointer, - _lib._sel_setContainerSpecifier_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_633(this.pointer, _sel_setContainerSpecifier_, + value?.pointer ?? ffi.nullptr); } bool get containerIsObjectBeingTested { - return _lib._objc_msgSend_12( - this.pointer, - _lib._sel_containerIsObjectBeingTested1, - ); + return _objc_msgSend_12(this.pointer, _sel_containerIsObjectBeingTested); } set containerIsObjectBeingTested(bool value) { - return _lib._objc_msgSend_527( - this.pointer, - _lib._sel_setContainerIsObjectBeingTested_1, - value, - ); + return _objc_msgSend_527( + this.pointer, _sel_setContainerIsObjectBeingTested_, value); } bool get containerIsRangeContainerObject { - return _lib._objc_msgSend_12( - this.pointer, - _lib._sel_containerIsRangeContainerObject1, - ); + return _objc_msgSend_12(this.pointer, _sel_containerIsRangeContainerObject); } set containerIsRangeContainerObject(bool value) { - return _lib._objc_msgSend_527( - this.pointer, - _lib._sel_setContainerIsRangeContainerObject_1, - value, - ); + return _objc_msgSend_527( + this.pointer, _sel_setContainerIsRangeContainerObject_, value); } NSString get key { - final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_key1); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_key); + return NSString._(_ret, retain: true, release: true); } set key(NSString value) { - return _lib._objc_msgSend_646( - this.pointer, - _lib._sel_setKey_1, - value.pointer, - ); + return _objc_msgSend_646(this.pointer, _sel_setKey_, value.pointer); } NSScriptClassDescription? get containerClassDescription { - final _ret = _lib._objc_msgSend_628( - this.pointer, - _lib._sel_containerClassDescription1, - ); + final _ret = + _objc_msgSend_628(this.pointer, _sel_containerClassDescription); return _ret.address == 0 ? null - : NSScriptClassDescription._(_ret, _lib, retain: true, release: true); + : NSScriptClassDescription._(_ret, retain: true, release: true); } set containerClassDescription(NSScriptClassDescription? value) { - return _lib._objc_msgSend_647( - this.pointer, - _lib._sel_setContainerClassDescription_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_647(this.pointer, _sel_setContainerClassDescription_, + value?.pointer ?? ffi.nullptr); } NSScriptClassDescription? get keyClassDescription { - final _ret = _lib._objc_msgSend_628( - this.pointer, - _lib._sel_keyClassDescription1, - ); + final _ret = _objc_msgSend_628(this.pointer, _sel_keyClassDescription); return _ret.address == 0 ? null - : NSScriptClassDescription._(_ret, _lib, retain: true, release: true); + : NSScriptClassDescription._(_ret, retain: true, release: true); } ffi.Pointer indicesOfObjectsByEvaluatingWithContainer_count_( - NSObject container, - ffi.Pointer count, - ) { - return _lib._objc_msgSend_648( - this.pointer, - _lib._sel_indicesOfObjectsByEvaluatingWithContainer_count_1, - container.pointer, - count, - ); + NSObject container, ffi.Pointer count) { + return _objc_msgSend_648( + this.pointer, + _sel_indicesOfObjectsByEvaluatingWithContainer_count_, + container.pointer, + count); } NSObject? objectsByEvaluatingWithContainers_(NSObject containers) { - final _ret = _lib._objc_msgSend_16( - this.pointer, - _lib._sel_objectsByEvaluatingWithContainers_1, - containers.pointer, - ); + final _ret = _objc_msgSend_16(this.pointer, + _sel_objectsByEvaluatingWithContainers_, containers.pointer); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } NSObject? get objectsByEvaluatingSpecifier { - final _ret = _lib._objc_msgSend_17( - this.pointer, - _lib._sel_objectsByEvaluatingSpecifier1, - ); + final _ret = + _objc_msgSend_17(this.pointer, _sel_objectsByEvaluatingSpecifier); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } int get evaluationErrorNumber { - return _lib._objc_msgSend_83( - this.pointer, - _lib._sel_evaluationErrorNumber1, - ); + return _objc_msgSend_83(this.pointer, _sel_evaluationErrorNumber); } set evaluationErrorNumber(int value) { - return _lib._objc_msgSend_635( - this.pointer, - _lib._sel_setEvaluationErrorNumber_1, - value, - ); + return _objc_msgSend_635( + this.pointer, _sel_setEvaluationErrorNumber_, value); } NSScriptObjectSpecifier? get evaluationErrorSpecifier { - final _ret = _lib._objc_msgSend_632( - this.pointer, - _lib._sel_evaluationErrorSpecifier1, - ); + final _ret = _objc_msgSend_632(this.pointer, _sel_evaluationErrorSpecifier); return _ret.address == 0 ? null - : NSScriptObjectSpecifier._(_ret, _lib, retain: true, release: true); + : NSScriptObjectSpecifier._(_ret, retain: true, release: true); } NSAppleEventDescriptor? get descriptor { - final _ret = _lib._objc_msgSend_636(this.pointer, _lib._sel_descriptor1); + final _ret = _objc_msgSend_636(this.pointer, _sel_descriptor); return _ret.address == 0 ? null - : NSAppleEventDescriptor._(_ret, _lib, retain: true, release: true); + : NSAppleEventDescriptor._(_ret, retain: true, release: true); } @override NSScriptObjectSpecifier init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSScriptObjectSpecifier._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSScriptObjectSpecifier._(_ret, retain: true, release: true); } - static NSScriptObjectSpecifier new1(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSScriptObjectSpecifier1, - _lib._sel_new1, - ); - return NSScriptObjectSpecifier._(_ret, _lib, retain: false, release: true); + static NSScriptObjectSpecifier new1() { + final _ret = _objc_msgSend_2(_class_NSScriptObjectSpecifier, _sel_new); + return NSScriptObjectSpecifier._(_ret, retain: false, release: true); } - static NSScriptObjectSpecifier allocWithZone_( - SwiftLibrary _lib, - ffi.Pointer<_NSZone> zone, - ) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSScriptObjectSpecifier1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSScriptObjectSpecifier._(_ret, _lib, retain: false, release: true); + static NSScriptObjectSpecifier allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = _objc_msgSend_3( + _class_NSScriptObjectSpecifier, _sel_allocWithZone_, zone); + return NSScriptObjectSpecifier._(_ret, retain: false, release: true); } - static NSScriptObjectSpecifier alloc(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSScriptObjectSpecifier1, - _lib._sel_alloc1, - ); - return NSScriptObjectSpecifier._(_ret, _lib, retain: false, release: true); + static NSScriptObjectSpecifier alloc() { + final _ret = _objc_msgSend_2(_class_NSScriptObjectSpecifier, _sel_alloc); + return NSScriptObjectSpecifier._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSScriptObjectSpecifier1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSScriptObjectSpecifier1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSScriptObjectSpecifier1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSScriptObjectSpecifier1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSScriptObjectSpecifier1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSScriptObjectSpecifier1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSScriptObjectSpecifier, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); + } + + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSScriptObjectSpecifier, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); + } + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSScriptObjectSpecifier, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12( + _class_NSScriptObjectSpecifier, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSScriptObjectSpecifier, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSScriptObjectSpecifier, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); } static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSScriptObjectSpecifier1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSScriptObjectSpecifier1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSScriptObjectSpecifier1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSScriptObjectSpecifier, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = _objc_msgSend_85( + _class_NSScriptObjectSpecifier, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = _objc_msgSend_2( + _class_NSScriptObjectSpecifier, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); } } +late final _class_NSScriptObjectSpecifier = + objc.getClass("NSScriptObjectSpecifier"); + class NSAppleEventDescriptor extends NSObject { - NSAppleEventDescriptor._( - ffi.Pointer pointer, - SwiftLibrary lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSAppleEventDescriptor._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSAppleEventDescriptor] that points to the same underlying object as [other]. static NSAppleEventDescriptor castFrom( - SwiftLibrary lib, - T other, - ) { - return NSAppleEventDescriptor._( - other.pointer, - lib, - retain: true, - release: true, - ); + T other) { + return NSAppleEventDescriptor._(other.pointer, retain: true, release: true); } /// Returns a [NSAppleEventDescriptor] that wraps the given raw object pointer. static NSAppleEventDescriptor castFromPointer( - SwiftLibrary lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSAppleEventDescriptor._( - other, - lib, - retain: retain, - release: release, - ); + ffi.Pointer other, + {bool retain = false, + bool release = false}) { + return NSAppleEventDescriptor._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSAppleEventDescriptor]. - static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSAppleEventDescriptor1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0( + obj.pointer, _sel_isKindOfClass_, _class_NSAppleEventDescriptor); } - static NSAppleEventDescriptor nullDescriptor(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_601( - _lib._class_NSAppleEventDescriptor1, - _lib._sel_nullDescriptor1, - ); - return NSAppleEventDescriptor._(_ret, _lib, retain: true, release: true); + static NSAppleEventDescriptor nullDescriptor() { + final _ret = + _objc_msgSend_601(_class_NSAppleEventDescriptor, _sel_nullDescriptor); + return NSAppleEventDescriptor._(_ret, retain: true, release: true); } static NSAppleEventDescriptor? descriptorWithDescriptorType_bytes_length_( - SwiftLibrary _lib, - int descriptorType, - ffi.Pointer bytes, - int byteCount, - ) { - final _ret = _lib._objc_msgSend_602( - _lib._class_NSAppleEventDescriptor1, - _lib._sel_descriptorWithDescriptorType_bytes_length_1, - descriptorType, - bytes, - byteCount, - ); + int descriptorType, ffi.Pointer bytes, int byteCount) { + final _ret = _objc_msgSend_602( + _class_NSAppleEventDescriptor, + _sel_descriptorWithDescriptorType_bytes_length_, + descriptorType, + bytes, + byteCount); return _ret.address == 0 ? null - : NSAppleEventDescriptor._(_ret, _lib, retain: true, release: true); + : NSAppleEventDescriptor._(_ret, retain: true, release: true); } static NSAppleEventDescriptor? descriptorWithDescriptorType_data_( - SwiftLibrary _lib, - int descriptorType, - NSData? data, - ) { - final _ret = _lib._objc_msgSend_603( - _lib._class_NSAppleEventDescriptor1, - _lib._sel_descriptorWithDescriptorType_data_1, - descriptorType, - data?.pointer ?? ffi.nullptr, - ); - return _ret.address == 0 - ? null - : NSAppleEventDescriptor._(_ret, _lib, retain: true, release: true); - } - - static NSAppleEventDescriptor descriptorWithBoolean_( - SwiftLibrary _lib, - int boolean, - ) { - final _ret = _lib._objc_msgSend_604( - _lib._class_NSAppleEventDescriptor1, - _lib._sel_descriptorWithBoolean_1, - boolean, - ); - return NSAppleEventDescriptor._(_ret, _lib, retain: true, release: true); - } - - static NSAppleEventDescriptor descriptorWithEnumCode_( - SwiftLibrary _lib, - int enumerator, - ) { - final _ret = _lib._objc_msgSend_605( - _lib._class_NSAppleEventDescriptor1, - _lib._sel_descriptorWithEnumCode_1, - enumerator, - ); - return NSAppleEventDescriptor._(_ret, _lib, retain: true, release: true); - } - - static NSAppleEventDescriptor descriptorWithInt32_( - SwiftLibrary _lib, - int signedInt, - ) { - final _ret = _lib._objc_msgSend_606( - _lib._class_NSAppleEventDescriptor1, - _lib._sel_descriptorWithInt32_1, - signedInt, - ); - return NSAppleEventDescriptor._(_ret, _lib, retain: true, release: true); - } - - static NSAppleEventDescriptor descriptorWithDouble_( - SwiftLibrary _lib, - double doubleValue, - ) { - final _ret = _lib._objc_msgSend_607( - _lib._class_NSAppleEventDescriptor1, - _lib._sel_descriptorWithDouble_1, - doubleValue, - ); - return NSAppleEventDescriptor._(_ret, _lib, retain: true, release: true); - } - - static NSAppleEventDescriptor descriptorWithTypeCode_( - SwiftLibrary _lib, - int typeCode, - ) { - final _ret = _lib._objc_msgSend_605( - _lib._class_NSAppleEventDescriptor1, - _lib._sel_descriptorWithTypeCode_1, - typeCode, - ); - return NSAppleEventDescriptor._(_ret, _lib, retain: true, release: true); - } - - static NSAppleEventDescriptor descriptorWithString_( - SwiftLibrary _lib, - NSString string, - ) { - final _ret = _lib._objc_msgSend_608( - _lib._class_NSAppleEventDescriptor1, - _lib._sel_descriptorWithString_1, - string.pointer, - ); - return NSAppleEventDescriptor._(_ret, _lib, retain: true, release: true); - } - - static NSAppleEventDescriptor descriptorWithDate_( - SwiftLibrary _lib, - NSDate date, - ) { - final _ret = _lib._objc_msgSend_609( - _lib._class_NSAppleEventDescriptor1, - _lib._sel_descriptorWithDate_1, - date.pointer, - ); - return NSAppleEventDescriptor._(_ret, _lib, retain: true, release: true); - } - - static NSAppleEventDescriptor descriptorWithFileURL_( - SwiftLibrary _lib, - NSURL fileURL, - ) { - final _ret = _lib._objc_msgSend_610( - _lib._class_NSAppleEventDescriptor1, - _lib._sel_descriptorWithFileURL_1, - fileURL.pointer, - ); - return NSAppleEventDescriptor._(_ret, _lib, retain: true, release: true); + int descriptorType, NSData? data) { + final _ret = _objc_msgSend_603( + _class_NSAppleEventDescriptor, + _sel_descriptorWithDescriptorType_data_, + descriptorType, + data?.pointer ?? ffi.nullptr); + return _ret.address == 0 + ? null + : NSAppleEventDescriptor._(_ret, retain: true, release: true); + } + + static NSAppleEventDescriptor descriptorWithBoolean_(int boolean) { + final _ret = _objc_msgSend_604( + _class_NSAppleEventDescriptor, _sel_descriptorWithBoolean_, boolean); + return NSAppleEventDescriptor._(_ret, retain: true, release: true); + } + + static NSAppleEventDescriptor descriptorWithEnumCode_(int enumerator) { + final _ret = _objc_msgSend_605(_class_NSAppleEventDescriptor, + _sel_descriptorWithEnumCode_, enumerator); + return NSAppleEventDescriptor._(_ret, retain: true, release: true); + } + + static NSAppleEventDescriptor descriptorWithInt32_(int signedInt) { + final _ret = _objc_msgSend_606( + _class_NSAppleEventDescriptor, _sel_descriptorWithInt32_, signedInt); + return NSAppleEventDescriptor._(_ret, retain: true, release: true); + } + + static NSAppleEventDescriptor descriptorWithDouble_(double doubleValue) { + final _ret = _objc_msgSend_607( + _class_NSAppleEventDescriptor, _sel_descriptorWithDouble_, doubleValue); + return NSAppleEventDescriptor._(_ret, retain: true, release: true); + } + + static NSAppleEventDescriptor descriptorWithTypeCode_(int typeCode) { + final _ret = _objc_msgSend_605( + _class_NSAppleEventDescriptor, _sel_descriptorWithTypeCode_, typeCode); + return NSAppleEventDescriptor._(_ret, retain: true, release: true); + } + + static NSAppleEventDescriptor descriptorWithString_(NSString string) { + final _ret = _objc_msgSend_608(_class_NSAppleEventDescriptor, + _sel_descriptorWithString_, string.pointer); + return NSAppleEventDescriptor._(_ret, retain: true, release: true); + } + + static NSAppleEventDescriptor descriptorWithDate_(NSDate date) { + final _ret = _objc_msgSend_609( + _class_NSAppleEventDescriptor, _sel_descriptorWithDate_, date.pointer); + return NSAppleEventDescriptor._(_ret, retain: true, release: true); + } + + static NSAppleEventDescriptor descriptorWithFileURL_(NSURL fileURL) { + final _ret = _objc_msgSend_610(_class_NSAppleEventDescriptor, + _sel_descriptorWithFileURL_, fileURL.pointer); + return NSAppleEventDescriptor._(_ret, retain: true, release: true); } static NSAppleEventDescriptor appleEventWithEventClass_eventID_targetDescriptor_returnID_transactionID_( - SwiftLibrary _lib, - int eventClass, - int eventID, - NSAppleEventDescriptor? targetDescriptor, - int returnID, - int transactionID, - ) { - final _ret = _lib._objc_msgSend_611( - _lib._class_NSAppleEventDescriptor1, - _lib._sel_appleEventWithEventClass_eventID_targetDescriptor_returnID_transactionID_1, - eventClass, - eventID, - targetDescriptor?.pointer ?? ffi.nullptr, - returnID, - transactionID, - ); - return NSAppleEventDescriptor._(_ret, _lib, retain: true, release: true); - } - - static NSAppleEventDescriptor listDescriptor(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_601( - _lib._class_NSAppleEventDescriptor1, - _lib._sel_listDescriptor1, - ); - return NSAppleEventDescriptor._(_ret, _lib, retain: true, release: true); - } - - static NSAppleEventDescriptor recordDescriptor(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_601( - _lib._class_NSAppleEventDescriptor1, - _lib._sel_recordDescriptor1, - ); - return NSAppleEventDescriptor._(_ret, _lib, retain: true, release: true); - } - - static NSAppleEventDescriptor currentProcessDescriptor(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_601( - _lib._class_NSAppleEventDescriptor1, - _lib._sel_currentProcessDescriptor1, - ); - return NSAppleEventDescriptor._(_ret, _lib, retain: true, release: true); + int eventClass, + int eventID, + NSAppleEventDescriptor? targetDescriptor, + int returnID, + int transactionID) { + final _ret = _objc_msgSend_611( + _class_NSAppleEventDescriptor, + _sel_appleEventWithEventClass_eventID_targetDescriptor_returnID_transactionID_, + eventClass, + eventID, + targetDescriptor?.pointer ?? ffi.nullptr, + returnID, + transactionID); + return NSAppleEventDescriptor._(_ret, retain: true, release: true); + } + + static NSAppleEventDescriptor listDescriptor() { + final _ret = + _objc_msgSend_601(_class_NSAppleEventDescriptor, _sel_listDescriptor); + return NSAppleEventDescriptor._(_ret, retain: true, release: true); + } + + static NSAppleEventDescriptor recordDescriptor() { + final _ret = + _objc_msgSend_601(_class_NSAppleEventDescriptor, _sel_recordDescriptor); + return NSAppleEventDescriptor._(_ret, retain: true, release: true); + } + + static NSAppleEventDescriptor currentProcessDescriptor() { + final _ret = _objc_msgSend_601( + _class_NSAppleEventDescriptor, _sel_currentProcessDescriptor); + return NSAppleEventDescriptor._(_ret, retain: true, release: true); } static NSAppleEventDescriptor descriptorWithProcessIdentifier_( - SwiftLibrary _lib, - int processIdentifier, - ) { - final _ret = _lib._objc_msgSend_606( - _lib._class_NSAppleEventDescriptor1, - _lib._sel_descriptorWithProcessIdentifier_1, - processIdentifier, - ); - return NSAppleEventDescriptor._(_ret, _lib, retain: true, release: true); + int processIdentifier) { + final _ret = _objc_msgSend_606(_class_NSAppleEventDescriptor, + _sel_descriptorWithProcessIdentifier_, processIdentifier); + return NSAppleEventDescriptor._(_ret, retain: true, release: true); } static NSAppleEventDescriptor descriptorWithBundleIdentifier_( - SwiftLibrary _lib, - NSString bundleIdentifier, - ) { - final _ret = _lib._objc_msgSend_608( - _lib._class_NSAppleEventDescriptor1, - _lib._sel_descriptorWithBundleIdentifier_1, - bundleIdentifier.pointer, - ); - return NSAppleEventDescriptor._(_ret, _lib, retain: true, release: true); + NSString bundleIdentifier) { + final _ret = _objc_msgSend_608(_class_NSAppleEventDescriptor, + _sel_descriptorWithBundleIdentifier_, bundleIdentifier.pointer); + return NSAppleEventDescriptor._(_ret, retain: true, release: true); } static NSAppleEventDescriptor descriptorWithApplicationURL_( - SwiftLibrary _lib, - NSURL applicationURL, - ) { - final _ret = _lib._objc_msgSend_610( - _lib._class_NSAppleEventDescriptor1, - _lib._sel_descriptorWithApplicationURL_1, - applicationURL.pointer, - ); - return NSAppleEventDescriptor._(_ret, _lib, retain: true, release: true); + NSURL applicationURL) { + final _ret = _objc_msgSend_610(_class_NSAppleEventDescriptor, + _sel_descriptorWithApplicationURL_, applicationURL.pointer); + return NSAppleEventDescriptor._(_ret, retain: true, release: true); } NSAppleEventDescriptor initWithAEDescNoCopy_(ffi.Pointer aeDesc) { - final _ret = _lib._objc_msgSend_612( - this.pointer, - _lib._sel_initWithAEDescNoCopy_1, - aeDesc, - ); - return NSAppleEventDescriptor._(_ret, _lib, retain: false, release: true); + final _ret = + _objc_msgSend_612(this.pointer, _sel_initWithAEDescNoCopy_, aeDesc); + return NSAppleEventDescriptor._(_ret, retain: false, release: true); } NSAppleEventDescriptor? initWithDescriptorType_bytes_length_( - int descriptorType, - ffi.Pointer bytes, - int byteCount, - ) { - final _ret = _lib._objc_msgSend_613( - this.pointer, - _lib._sel_initWithDescriptorType_bytes_length_1, - descriptorType, - bytes, - byteCount, - ); + int descriptorType, ffi.Pointer bytes, int byteCount) { + final _ret = _objc_msgSend_613( + this.pointer, + _sel_initWithDescriptorType_bytes_length_, + descriptorType, + bytes, + byteCount); return _ret.address == 0 ? null - : NSAppleEventDescriptor._(_ret, _lib, retain: true, release: true); + : NSAppleEventDescriptor._(_ret, retain: true, release: true); } NSAppleEventDescriptor? initWithDescriptorType_data_( - int descriptorType, - NSData? data, - ) { - final _ret = _lib._objc_msgSend_614( - this.pointer, - _lib._sel_initWithDescriptorType_data_1, - descriptorType, - data?.pointer ?? ffi.nullptr, - ); + int descriptorType, NSData? data) { + final _ret = _objc_msgSend_614( + this.pointer, + _sel_initWithDescriptorType_data_, + descriptorType, + data?.pointer ?? ffi.nullptr); return _ret.address == 0 ? null - : NSAppleEventDescriptor._(_ret, _lib, retain: true, release: true); + : NSAppleEventDescriptor._(_ret, retain: true, release: true); } NSAppleEventDescriptor initWithEventClass_eventID_targetDescriptor_returnID_transactionID_( - int eventClass, - int eventID, - NSAppleEventDescriptor? targetDescriptor, - int returnID, - int transactionID, - ) { - final _ret = _lib._objc_msgSend_615( - this.pointer, - _lib._sel_initWithEventClass_eventID_targetDescriptor_returnID_transactionID_1, - eventClass, - eventID, - targetDescriptor?.pointer ?? ffi.nullptr, - returnID, - transactionID, - ); - return NSAppleEventDescriptor._(_ret, _lib, retain: true, release: true); + int eventClass, + int eventID, + NSAppleEventDescriptor? targetDescriptor, + int returnID, + int transactionID) { + final _ret = _objc_msgSend_615( + this.pointer, + _sel_initWithEventClass_eventID_targetDescriptor_returnID_transactionID_, + eventClass, + eventID, + targetDescriptor?.pointer ?? ffi.nullptr, + returnID, + transactionID); + return NSAppleEventDescriptor._(_ret, retain: true, release: true); } NSAppleEventDescriptor initListDescriptor() { - final _ret = _lib._objc_msgSend_2( - this.pointer, - _lib._sel_initListDescriptor1, - ); - return NSAppleEventDescriptor._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_initListDescriptor); + return NSAppleEventDescriptor._(_ret, retain: true, release: true); } NSAppleEventDescriptor initRecordDescriptor() { - final _ret = _lib._objc_msgSend_2( - this.pointer, - _lib._sel_initRecordDescriptor1, - ); - return NSAppleEventDescriptor._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_initRecordDescriptor); + return NSAppleEventDescriptor._(_ret, retain: true, release: true); } ffi.Pointer get aeDesc { - return _lib._objc_msgSend_616(this.pointer, _lib._sel_aeDesc1); + return _objc_msgSend_616(this.pointer, _sel_aeDesc); } int get descriptorType { - return _lib._objc_msgSend_214(this.pointer, _lib._sel_descriptorType1); + return _objc_msgSend_214(this.pointer, _sel_descriptorType); } NSData get data { - final _ret = _lib._objc_msgSend_43(this.pointer, _lib._sel_data1); - return NSData._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_43(this.pointer, _sel_data); + return NSData._(_ret, retain: true, release: true); } int get booleanValue { - return _lib._objc_msgSend_234(this.pointer, _lib._sel_booleanValue1); + return _objc_msgSend_234(this.pointer, _sel_booleanValue); } int get enumCodeValue { - return _lib._objc_msgSend_214(this.pointer, _lib._sel_enumCodeValue1); + return _objc_msgSend_214(this.pointer, _sel_enumCodeValue); } int get int32Value { - return _lib._objc_msgSend_237(this.pointer, _lib._sel_int32Value1); + return _objc_msgSend_237(this.pointer, _sel_int32Value); } double get doubleValue { return objc.useMsgSendVariants - ? _lib._objc_msgSend_165_fpret(this.pointer, _lib._sel_doubleValue1) - : _lib._objc_msgSend_165(this.pointer, _lib._sel_doubleValue1); + ? _objc_msgSend_165Fpret(this.pointer, _sel_doubleValue) + : _objc_msgSend_165(this.pointer, _sel_doubleValue); } int get typeCodeValue { - return _lib._objc_msgSend_214(this.pointer, _lib._sel_typeCodeValue1); + return _objc_msgSend_214(this.pointer, _sel_typeCodeValue); } NSString? get stringValue { - final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_stringValue1); + final _ret = _objc_msgSend_44(this.pointer, _sel_stringValue); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } NSDate? get dateValue { - final _ret = _lib._objc_msgSend_183(this.pointer, _lib._sel_dateValue1); + final _ret = _objc_msgSend_183(this.pointer, _sel_dateValue); return _ret.address == 0 ? null - : NSDate._(_ret, _lib, retain: true, release: true); + : NSDate._(_ret, retain: true, release: true); } NSURL? get fileURLValue { - final _ret = _lib._objc_msgSend_45(this.pointer, _lib._sel_fileURLValue1); + final _ret = _objc_msgSend_45(this.pointer, _sel_fileURLValue); return _ret.address == 0 ? null - : NSURL._(_ret, _lib, retain: true, release: true); + : NSURL._(_ret, retain: true, release: true); } int get eventClass { - return _lib._objc_msgSend_214(this.pointer, _lib._sel_eventClass1); + return _objc_msgSend_214(this.pointer, _sel_eventClass); } int get eventID { - return _lib._objc_msgSend_214(this.pointer, _lib._sel_eventID1); + return _objc_msgSend_214(this.pointer, _sel_eventID); } int get returnID { - return _lib._objc_msgSend_235(this.pointer, _lib._sel_returnID1); + return _objc_msgSend_235(this.pointer, _sel_returnID); } int get transactionID { - return _lib._objc_msgSend_237(this.pointer, _lib._sel_transactionID1); + return _objc_msgSend_237(this.pointer, _sel_transactionID); } void setParamDescriptor_forKeyword_( - NSAppleEventDescriptor descriptor, - int keyword, - ) { - _lib._objc_msgSend_617( - this.pointer, - _lib._sel_setParamDescriptor_forKeyword_1, - descriptor.pointer, - keyword, - ); + NSAppleEventDescriptor descriptor, int keyword) { + _objc_msgSend_617(this.pointer, _sel_setParamDescriptor_forKeyword_, + descriptor.pointer, keyword); } NSAppleEventDescriptor? paramDescriptorForKeyword_(int keyword) { - final _ret = _lib._objc_msgSend_618( - this.pointer, - _lib._sel_paramDescriptorForKeyword_1, - keyword, - ); + final _ret = _objc_msgSend_618( + this.pointer, _sel_paramDescriptorForKeyword_, keyword); return _ret.address == 0 ? null - : NSAppleEventDescriptor._(_ret, _lib, retain: true, release: true); + : NSAppleEventDescriptor._(_ret, retain: true, release: true); } void removeParamDescriptorWithKeyword_(int keyword) { - _lib._objc_msgSend_619( - this.pointer, - _lib._sel_removeParamDescriptorWithKeyword_1, - keyword, - ); + _objc_msgSend_619( + this.pointer, _sel_removeParamDescriptorWithKeyword_, keyword); } void setAttributeDescriptor_forKeyword_( - NSAppleEventDescriptor descriptor, - int keyword, - ) { - _lib._objc_msgSend_617( - this.pointer, - _lib._sel_setAttributeDescriptor_forKeyword_1, - descriptor.pointer, - keyword, - ); + NSAppleEventDescriptor descriptor, int keyword) { + _objc_msgSend_617(this.pointer, _sel_setAttributeDescriptor_forKeyword_, + descriptor.pointer, keyword); } NSAppleEventDescriptor? attributeDescriptorForKeyword_(int keyword) { - final _ret = _lib._objc_msgSend_618( - this.pointer, - _lib._sel_attributeDescriptorForKeyword_1, - keyword, - ); + final _ret = _objc_msgSend_618( + this.pointer, _sel_attributeDescriptorForKeyword_, keyword); return _ret.address == 0 ? null - : NSAppleEventDescriptor._(_ret, _lib, retain: true, release: true); + : NSAppleEventDescriptor._(_ret, retain: true, release: true); } NSAppleEventDescriptor? sendEventWithOptions_timeout_error_( - int sendOptions, - double timeoutInSeconds, - ffi.Pointer> error, - ) { - final _ret = _lib._objc_msgSend_620( - this.pointer, - _lib._sel_sendEventWithOptions_timeout_error_1, - sendOptions, - timeoutInSeconds, - error, - ); + int sendOptions, + double timeoutInSeconds, + ffi.Pointer> error) { + final _ret = _objc_msgSend_620( + this.pointer, + _sel_sendEventWithOptions_timeout_error_, + sendOptions, + timeoutInSeconds, + error); return _ret.address == 0 ? null - : NSAppleEventDescriptor._(_ret, _lib, retain: true, release: true); + : NSAppleEventDescriptor._(_ret, retain: true, release: true); } bool get isRecordDescriptor { - return _lib._objc_msgSend_12(this.pointer, _lib._sel_isRecordDescriptor1); + return _objc_msgSend_12(this.pointer, _sel_isRecordDescriptor); } int get numberOfItems { - return _lib._objc_msgSend_83(this.pointer, _lib._sel_numberOfItems1); + return _objc_msgSend_83(this.pointer, _sel_numberOfItems); } void insertDescriptor_atIndex_(NSAppleEventDescriptor descriptor, int index) { - _lib._objc_msgSend_621( - this.pointer, - _lib._sel_insertDescriptor_atIndex_1, - descriptor.pointer, - index, - ); + _objc_msgSend_621(this.pointer, _sel_insertDescriptor_atIndex_, + descriptor.pointer, index); } NSAppleEventDescriptor? descriptorAtIndex_(int index) { - final _ret = _lib._objc_msgSend_622( - this.pointer, - _lib._sel_descriptorAtIndex_1, - index, - ); + final _ret = + _objc_msgSend_622(this.pointer, _sel_descriptorAtIndex_, index); return _ret.address == 0 ? null - : NSAppleEventDescriptor._(_ret, _lib, retain: true, release: true); + : NSAppleEventDescriptor._(_ret, retain: true, release: true); } void removeDescriptorAtIndex_(int index) { - _lib._objc_msgSend_423( - this.pointer, - _lib._sel_removeDescriptorAtIndex_1, - index, - ); + _objc_msgSend_423(this.pointer, _sel_removeDescriptorAtIndex_, index); } void setDescriptor_forKeyword_( - NSAppleEventDescriptor descriptor, - int keyword, - ) { - _lib._objc_msgSend_617( - this.pointer, - _lib._sel_setDescriptor_forKeyword_1, - descriptor.pointer, - keyword, - ); + NSAppleEventDescriptor descriptor, int keyword) { + _objc_msgSend_617(this.pointer, _sel_setDescriptor_forKeyword_, + descriptor.pointer, keyword); } NSAppleEventDescriptor? descriptorForKeyword_(int keyword) { - final _ret = _lib._objc_msgSend_618( - this.pointer, - _lib._sel_descriptorForKeyword_1, - keyword, - ); + final _ret = + _objc_msgSend_618(this.pointer, _sel_descriptorForKeyword_, keyword); return _ret.address == 0 ? null - : NSAppleEventDescriptor._(_ret, _lib, retain: true, release: true); + : NSAppleEventDescriptor._(_ret, retain: true, release: true); } void removeDescriptorWithKeyword_(int keyword) { - _lib._objc_msgSend_619( - this.pointer, - _lib._sel_removeDescriptorWithKeyword_1, - keyword, - ); + _objc_msgSend_619(this.pointer, _sel_removeDescriptorWithKeyword_, keyword); } int keywordForDescriptorAtIndex_(int index) { - return _lib._objc_msgSend_623( - this.pointer, - _lib._sel_keywordForDescriptorAtIndex_1, - index, - ); + return _objc_msgSend_623( + this.pointer, _sel_keywordForDescriptorAtIndex_, index); } NSAppleEventDescriptor? coerceToDescriptorType_(int descriptorType) { - final _ret = _lib._objc_msgSend_618( - this.pointer, - _lib._sel_coerceToDescriptorType_1, - descriptorType, - ); + final _ret = _objc_msgSend_618( + this.pointer, _sel_coerceToDescriptorType_, descriptorType); return _ret.address == 0 ? null - : NSAppleEventDescriptor._(_ret, _lib, retain: true, release: true); + : NSAppleEventDescriptor._(_ret, retain: true, release: true); + } + + @override + NSAppleEventDescriptor init() { + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSAppleEventDescriptor._(_ret, retain: true, release: true); + } + + static NSAppleEventDescriptor new1() { + final _ret = _objc_msgSend_2(_class_NSAppleEventDescriptor, _sel_new); + return NSAppleEventDescriptor._(_ret, retain: false, release: true); + } + + static NSAppleEventDescriptor allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = _objc_msgSend_3( + _class_NSAppleEventDescriptor, _sel_allocWithZone_, zone); + return NSAppleEventDescriptor._(_ret, retain: false, release: true); + } + + static NSAppleEventDescriptor alloc() { + final _ret = _objc_msgSend_2(_class_NSAppleEventDescriptor, _sel_alloc); + return NSAppleEventDescriptor._(_ret, retain: false, release: true); } - @override - NSAppleEventDescriptor init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSAppleEventDescriptor._(_ret, _lib, retain: true, release: true); + static void cancelPreviousPerformRequestsWithTarget_selector_object_( + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSAppleEventDescriptor, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); } - static NSAppleEventDescriptor new1(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSAppleEventDescriptor1, - _lib._sel_new1, - ); - return NSAppleEventDescriptor._(_ret, _lib, retain: false, release: true); + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSAppleEventDescriptor, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); } - static NSAppleEventDescriptor allocWithZone_( - SwiftLibrary _lib, - ffi.Pointer<_NSZone> zone, - ) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSAppleEventDescriptor1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSAppleEventDescriptor._(_ret, _lib, retain: false, release: true); + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSAppleEventDescriptor, _sel_accessInstanceVariablesDirectly); } - static NSAppleEventDescriptor alloc(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSAppleEventDescriptor1, - _lib._sel_alloc1, - ); - return NSAppleEventDescriptor._(_ret, _lib, retain: false, release: true); + static bool useStoredAccessor() { + return _objc_msgSend_12( + _class_NSAppleEventDescriptor, _sel_useStoredAccessor); } - static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSAppleEventDescriptor1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSAppleEventDescriptor1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSAppleEventDescriptor1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSAppleEventDescriptor1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSAppleEventDescriptor1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSAppleEventDescriptor1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSAppleEventDescriptor, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); } - static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSAppleEventDescriptor1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSAppleEventDescriptor1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSAppleEventDescriptor1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSAppleEventDescriptor, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); } -} + + static void setKeys_triggerChangeNotificationsForDependentKey_( + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSAppleEventDescriptor, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = _objc_msgSend_85( + _class_NSAppleEventDescriptor, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = _objc_msgSend_2( + _class_NSAppleEventDescriptor, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); + } +} + +late final _class_NSAppleEventDescriptor = + objc.getClass("NSAppleEventDescriptor"); +late final _sel_nullDescriptor = objc.registerName("nullDescriptor"); +final _objc_msgSend_601 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_descriptorWithDescriptorType_bytes_length_ = + objc.registerName("descriptorWithDescriptorType:bytes:length:"); +final _objc_msgSend_602 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.UnsignedInt descriptorType, + ffi.Pointer bytes, + ffi.UnsignedLong byteCount)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, int, ffi.Pointer, int)>(); +late final _sel_descriptorWithDescriptorType_data_ = + objc.registerName("descriptorWithDescriptorType:data:"); +final _objc_msgSend_603 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.UnsignedInt descriptorType, + ffi.Pointer data)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer)>(); +late final _sel_descriptorWithBoolean_ = + objc.registerName("descriptorWithBoolean:"); +final _objc_msgSend_604 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.UnsignedChar boolean)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, int)>(); +late final _sel_descriptorWithEnumCode_ = + objc.registerName("descriptorWithEnumCode:"); +final _objc_msgSend_605 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.UnsignedInt enumerator)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, int)>(); +late final _sel_descriptorWithInt32_ = + objc.registerName("descriptorWithInt32:"); +final _objc_msgSend_606 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Int signedInt)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, int)>(); +late final _sel_descriptorWithDouble_ = + objc.registerName("descriptorWithDouble:"); +final _objc_msgSend_607 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Double doubleValue)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, double)>(); +late final _sel_descriptorWithTypeCode_ = + objc.registerName("descriptorWithTypeCode:"); +late final _sel_descriptorWithString_ = + objc.registerName("descriptorWithString:"); +final _objc_msgSend_608 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer string)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_descriptorWithDate_ = objc.registerName("descriptorWithDate:"); +final _objc_msgSend_609 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer date)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_descriptorWithFileURL_ = + objc.registerName("descriptorWithFileURL:"); +final _objc_msgSend_610 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer fileURL)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_appleEventWithEventClass_eventID_targetDescriptor_returnID_transactionID_ = + objc.registerName( + "appleEventWithEventClass:eventID:targetDescriptor:returnID:transactionID:"); +final _objc_msgSend_611 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.UnsignedInt eventClass, + ffi.UnsignedInt eventID, + ffi.Pointer targetDescriptor, + ffi.Short returnID, + ffi.Int transactionID)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + int, + ffi.Pointer, + int, + int)>(); +late final _sel_listDescriptor = objc.registerName("listDescriptor"); +late final _sel_recordDescriptor = objc.registerName("recordDescriptor"); +late final _sel_currentProcessDescriptor = + objc.registerName("currentProcessDescriptor"); +late final _sel_descriptorWithProcessIdentifier_ = + objc.registerName("descriptorWithProcessIdentifier:"); +late final _sel_descriptorWithBundleIdentifier_ = + objc.registerName("descriptorWithBundleIdentifier:"); +late final _sel_descriptorWithApplicationURL_ = + objc.registerName("descriptorWithApplicationURL:"); @ffi.Packed(2) final class AEDesc extends ffi.Struct { @@ -62201,6 +28557,137 @@ final class AEDesc extends ffi.Struct { final class OpaqueAEDataStorageType extends ffi.Opaque {} +late final _sel_initWithAEDescNoCopy_ = + objc.registerName("initWithAEDescNoCopy:"); +final _objc_msgSend_612 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer aeDesc)>>() + .asFunction< + instancetype Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_initWithDescriptorType_bytes_length_ = + objc.registerName("initWithDescriptorType:bytes:length:"); +final _objc_msgSend_613 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.UnsignedInt descriptorType, + ffi.Pointer bytes, + ffi.UnsignedLong byteCount)>>() + .asFunction< + instancetype Function(ffi.Pointer, + ffi.Pointer, int, ffi.Pointer, int)>(); +late final _sel_initWithDescriptorType_data_ = + objc.registerName("initWithDescriptorType:data:"); +final _objc_msgSend_614 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.UnsignedInt descriptorType, + ffi.Pointer data)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer)>(); +late final _sel_initWithEventClass_eventID_targetDescriptor_returnID_transactionID_ = + objc.registerName( + "initWithEventClass:eventID:targetDescriptor:returnID:transactionID:"); +final _objc_msgSend_615 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.UnsignedInt eventClass, + ffi.UnsignedInt eventID, + ffi.Pointer targetDescriptor, + ffi.Short returnID, + ffi.Int transactionID)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + int, + int, + ffi.Pointer, + int, + int)>(); +late final _sel_initListDescriptor = objc.registerName("initListDescriptor"); +late final _sel_initRecordDescriptor = + objc.registerName("initRecordDescriptor"); +late final _sel_aeDesc = objc.registerName("aeDesc"); +final _objc_msgSend_616 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function(ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_descriptorType = objc.registerName("descriptorType"); +late final _sel_booleanValue = objc.registerName("booleanValue"); +late final _sel_enumCodeValue = objc.registerName("enumCodeValue"); +late final _sel_int32Value = objc.registerName("int32Value"); +late final _sel_typeCodeValue = objc.registerName("typeCodeValue"); +late final _sel_dateValue = objc.registerName("dateValue"); +late final _sel_fileURLValue = objc.registerName("fileURLValue"); +late final _sel_eventClass = objc.registerName("eventClass"); +late final _sel_eventID = objc.registerName("eventID"); +late final _sel_returnID = objc.registerName("returnID"); +late final _sel_transactionID = objc.registerName("transactionID"); +late final _sel_setParamDescriptor_forKeyword_ = + objc.registerName("setParamDescriptor:forKeyword:"); +final _objc_msgSend_617 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer descriptor, + ffi.UnsignedInt keyword)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int)>(); +late final _sel_paramDescriptorForKeyword_ = + objc.registerName("paramDescriptorForKeyword:"); +final _objc_msgSend_618 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.UnsignedInt keyword)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, int)>(); +late final _sel_removeParamDescriptorWithKeyword_ = + objc.registerName("removeParamDescriptorWithKeyword:"); +final _objc_msgSend_619 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer obj, + ffi.Pointer sel, ffi.UnsignedInt keyword)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, int)>(); +late final _sel_setAttributeDescriptor_forKeyword_ = + objc.registerName("setAttributeDescriptor:forKeyword:"); +late final _sel_attributeDescriptorForKeyword_ = + objc.registerName("attributeDescriptorForKeyword:"); + abstract class NSAppleEventSendOptions { static const int NSAppleEventSendNoReply = 1; static const int NSAppleEventSendQueueReply = 2; @@ -62215,1508 +28702,1691 @@ abstract class NSAppleEventSendOptions { static const int NSAppleEventSendDefaultOptions = 35; } +late final _sel_sendEventWithOptions_timeout_error_ = + objc.registerName("sendEventWithOptions:timeout:error:"); +final _objc_msgSend_620 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Int32 sendOptions, + ffi.Double timeoutInSeconds, + ffi.Pointer> error)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + double, + ffi.Pointer>)>(); +late final _sel_isRecordDescriptor = objc.registerName("isRecordDescriptor"); +late final _sel_numberOfItems = objc.registerName("numberOfItems"); +late final _sel_insertDescriptor_atIndex_ = + objc.registerName("insertDescriptor:atIndex:"); +final _objc_msgSend_621 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer descriptor, + ffi.Long index)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int)>(); +late final _sel_descriptorAtIndex_ = objc.registerName("descriptorAtIndex:"); +final _objc_msgSend_622 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Long index)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, int)>(); +late final _sel_removeDescriptorAtIndex_ = + objc.registerName("removeDescriptorAtIndex:"); +late final _sel_setDescriptor_forKeyword_ = + objc.registerName("setDescriptor:forKeyword:"); +late final _sel_descriptorForKeyword_ = + objc.registerName("descriptorForKeyword:"); +late final _sel_removeDescriptorWithKeyword_ = + objc.registerName("removeDescriptorWithKeyword:"); +late final _sel_keywordForDescriptorAtIndex_ = + objc.registerName("keywordForDescriptorAtIndex:"); +final _objc_msgSend_623 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.UnsignedInt Function(ffi.Pointer obj, + ffi.Pointer sel, ffi.Long index)>>() + .asFunction< + int Function(ffi.Pointer, + ffi.Pointer, int)>(); +late final _sel_coerceToDescriptorType_ = + objc.registerName("coerceToDescriptorType:"); +late final _sel_objectSpecifierWithDescriptor_ = + objc.registerName("objectSpecifierWithDescriptor:"); +final _objc_msgSend_624 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer descriptor)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_initWithContainerSpecifier_key_ = + objc.registerName("initWithContainerSpecifier:key:"); +final _objc_msgSend_625 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer container, + ffi.Pointer property)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); + class NSScriptClassDescription extends NSClassDescription { - NSScriptClassDescription._( - ffi.Pointer pointer, - SwiftLibrary lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSScriptClassDescription._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSScriptClassDescription] that points to the same underlying object as [other]. static NSScriptClassDescription castFrom( - SwiftLibrary lib, - T other, - ) { - return NSScriptClassDescription._( - other.pointer, - lib, - retain: true, - release: true, - ); + T other) { + return NSScriptClassDescription._(other.pointer, + retain: true, release: true); } /// Returns a [NSScriptClassDescription] that wraps the given raw object pointer. static NSScriptClassDescription castFromPointer( - SwiftLibrary lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSScriptClassDescription._( - other, - lib, - retain: retain, - release: release, - ); + ffi.Pointer other, + {bool retain = false, + bool release = false}) { + return NSScriptClassDescription._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSScriptClassDescription]. - static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSScriptClassDescription1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0( + obj.pointer, _sel_isKindOfClass_, _class_NSScriptClassDescription); } - static NSScriptClassDescription? classDescriptionForClass_( - SwiftLibrary _lib, - NSObject aClass, - ) { - final _ret = _lib._objc_msgSend_626( - _lib._class_NSScriptClassDescription1, - _lib._sel_classDescriptionForClass_1, - aClass.pointer, - ); + static NSScriptClassDescription? classDescriptionForClass_(NSObject aClass) { + final _ret = _objc_msgSend_626(_class_NSScriptClassDescription, + _sel_classDescriptionForClass_, aClass.pointer); return _ret.address == 0 ? null - : NSScriptClassDescription._(_ret, _lib, retain: true, release: true); + : NSScriptClassDescription._(_ret, retain: true, release: true); } NSScriptClassDescription? initWithSuiteName_className_dictionary_( - NSString suiteName, - NSString className, - NSDictionary? classDeclaration, - ) { - final _ret = _lib._objc_msgSend_627( - this.pointer, - _lib._sel_initWithSuiteName_className_dictionary_1, - suiteName.pointer, - className.pointer, - classDeclaration?.pointer ?? ffi.nullptr, - ); + NSString suiteName, NSString className, NSDictionary? classDeclaration) { + final _ret = _objc_msgSend_627( + this.pointer, + _sel_initWithSuiteName_className_dictionary_, + suiteName.pointer, + className.pointer, + classDeclaration?.pointer ?? ffi.nullptr); return _ret.address == 0 ? null - : NSScriptClassDescription._(_ret, _lib, retain: true, release: true); + : NSScriptClassDescription._(_ret, retain: true, release: true); } NSString? get suiteName { - final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_suiteName1); + final _ret = _objc_msgSend_44(this.pointer, _sel_suiteName); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } NSString? get className { - final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_className1); + final _ret = _objc_msgSend_44(this.pointer, _sel_className); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } NSString? get implementationClassName { - final _ret = _lib._objc_msgSend_44( - this.pointer, - _lib._sel_implementationClassName1, - ); + final _ret = _objc_msgSend_44(this.pointer, _sel_implementationClassName); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } NSScriptClassDescription? get superclassDescription { - final _ret = _lib._objc_msgSend_628( - this.pointer, - _lib._sel_superclassDescription1, - ); + final _ret = _objc_msgSend_628(this.pointer, _sel_superclassDescription); return _ret.address == 0 ? null - : NSScriptClassDescription._(_ret, _lib, retain: true, release: true); + : NSScriptClassDescription._(_ret, retain: true, release: true); } int get appleEventCode { - return _lib._objc_msgSend_214(this.pointer, _lib._sel_appleEventCode1); + return _objc_msgSend_214(this.pointer, _sel_appleEventCode); } bool matchesAppleEventCode_(int appleEventCode) { - return _lib._objc_msgSend_194( - this.pointer, - _lib._sel_matchesAppleEventCode_1, - appleEventCode, - ); + return _objc_msgSend_194( + this.pointer, _sel_matchesAppleEventCode_, appleEventCode); } bool supportsCommand_(NSScriptCommandDescription commandDescription) { - return _lib._objc_msgSend_641( - this.pointer, - _lib._sel_supportsCommand_1, - commandDescription.pointer, - ); + return _objc_msgSend_641( + this.pointer, _sel_supportsCommand_, commandDescription.pointer); } ffi.Pointer selectorForCommand_( - NSScriptCommandDescription commandDescription, - ) { - return _lib._objc_msgSend_642( - this.pointer, - _lib._sel_selectorForCommand_1, - commandDescription.pointer, - ); + NSScriptCommandDescription commandDescription) { + return _objc_msgSend_642( + this.pointer, _sel_selectorForCommand_, commandDescription.pointer); } NSString? typeForKey_(NSString key) { - final _ret = _lib._objc_msgSend_186( - this.pointer, - _lib._sel_typeForKey_1, - key.pointer, - ); + final _ret = _objc_msgSend_186(this.pointer, _sel_typeForKey_, key.pointer); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } NSScriptClassDescription? classDescriptionForKey_(NSString key) { - final _ret = _lib._objc_msgSend_643( - this.pointer, - _lib._sel_classDescriptionForKey_1, - key.pointer, - ); + final _ret = _objc_msgSend_643( + this.pointer, _sel_classDescriptionForKey_, key.pointer); return _ret.address == 0 ? null - : NSScriptClassDescription._(_ret, _lib, retain: true, release: true); + : NSScriptClassDescription._(_ret, retain: true, release: true); } int appleEventCodeForKey_(NSString key) { - return _lib._objc_msgSend_629( - this.pointer, - _lib._sel_appleEventCodeForKey_1, - key.pointer, - ); + return _objc_msgSend_629( + this.pointer, _sel_appleEventCodeForKey_, key.pointer); } NSString? keyWithAppleEventCode_(int appleEventCode) { - final _ret = _lib._objc_msgSend_644( - this.pointer, - _lib._sel_keyWithAppleEventCode_1, - appleEventCode, - ); + final _ret = _objc_msgSend_644( + this.pointer, _sel_keyWithAppleEventCode_, appleEventCode); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } NSString? get defaultSubcontainerAttributeKey { - final _ret = _lib._objc_msgSend_44( - this.pointer, - _lib._sel_defaultSubcontainerAttributeKey1, - ); + final _ret = + _objc_msgSend_44(this.pointer, _sel_defaultSubcontainerAttributeKey); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } bool isLocationRequiredToCreateForKey_(NSString toManyRelationshipKey) { - return _lib._objc_msgSend_64( - this.pointer, - _lib._sel_isLocationRequiredToCreateForKey_1, - toManyRelationshipKey.pointer, - ); + return _objc_msgSend_64(this.pointer, + _sel_isLocationRequiredToCreateForKey_, toManyRelationshipKey.pointer); } bool hasPropertyForKey_(NSString key) { - return _lib._objc_msgSend_64( - this.pointer, - _lib._sel_hasPropertyForKey_1, - key.pointer, - ); + return _objc_msgSend_64(this.pointer, _sel_hasPropertyForKey_, key.pointer); } bool hasOrderedToManyRelationshipForKey_(NSString key) { - return _lib._objc_msgSend_64( - this.pointer, - _lib._sel_hasOrderedToManyRelationshipForKey_1, - key.pointer, - ); + return _objc_msgSend_64( + this.pointer, _sel_hasOrderedToManyRelationshipForKey_, key.pointer); } bool hasReadablePropertyForKey_(NSString key) { - return _lib._objc_msgSend_64( - this.pointer, - _lib._sel_hasReadablePropertyForKey_1, - key.pointer, - ); + return _objc_msgSend_64( + this.pointer, _sel_hasReadablePropertyForKey_, key.pointer); } bool hasWritablePropertyForKey_(NSString key) { - return _lib._objc_msgSend_64( - this.pointer, - _lib._sel_hasWritablePropertyForKey_1, - key.pointer, - ); + return _objc_msgSend_64( + this.pointer, _sel_hasWritablePropertyForKey_, key.pointer); } bool isReadOnlyKey_(NSString key) { - return _lib._objc_msgSend_64( - this.pointer, - _lib._sel_isReadOnlyKey_1, - key.pointer, - ); + return _objc_msgSend_64(this.pointer, _sel_isReadOnlyKey_, key.pointer); } static void registerClassDescription_forClass_( - SwiftLibrary _lib, - NSClassDescription description, - NSObject aClass, - ) { - _lib._objc_msgSend_598( - _lib._class_NSScriptClassDescription1, - _lib._sel_registerClassDescription_forClass_1, - description.pointer, - aClass.pointer, - ); + NSClassDescription description, NSObject aClass) { + _objc_msgSend_598( + _class_NSScriptClassDescription, + _sel_registerClassDescription_forClass_, + description.pointer, + aClass.pointer); } - static void invalidateClassDescriptionCache(SwiftLibrary _lib) { - _lib._objc_msgSend_1( - _lib._class_NSScriptClassDescription1, - _lib._sel_invalidateClassDescriptionCache1, - ); + static void invalidateClassDescriptionCache() { + _objc_msgSend_1( + _class_NSScriptClassDescription, _sel_invalidateClassDescriptionCache); } @override NSScriptClassDescription init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSScriptClassDescription._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSScriptClassDescription._(_ret, retain: true, release: true); } - static NSScriptClassDescription new1(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSScriptClassDescription1, - _lib._sel_new1, - ); - return NSScriptClassDescription._(_ret, _lib, retain: false, release: true); + static NSScriptClassDescription new1() { + final _ret = _objc_msgSend_2(_class_NSScriptClassDescription, _sel_new); + return NSScriptClassDescription._(_ret, retain: false, release: true); } - static NSScriptClassDescription allocWithZone_( - SwiftLibrary _lib, - ffi.Pointer<_NSZone> zone, - ) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSScriptClassDescription1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSScriptClassDescription._(_ret, _lib, retain: false, release: true); + static NSScriptClassDescription allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = _objc_msgSend_3( + _class_NSScriptClassDescription, _sel_allocWithZone_, zone); + return NSScriptClassDescription._(_ret, retain: false, release: true); } - static NSScriptClassDescription alloc(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSScriptClassDescription1, - _lib._sel_alloc1, - ); - return NSScriptClassDescription._(_ret, _lib, retain: false, release: true); + static NSScriptClassDescription alloc() { + final _ret = _objc_msgSend_2(_class_NSScriptClassDescription, _sel_alloc); + return NSScriptClassDescription._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSScriptClassDescription1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSScriptClassDescription1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSScriptClassDescription1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSScriptClassDescription1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSScriptClassDescription1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSScriptClassDescription1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSScriptClassDescription, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); } - static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSScriptClassDescription1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSScriptClassDescription1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSScriptClassDescription1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSScriptClassDescription, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); } -} + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSScriptClassDescription, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12( + _class_NSScriptClassDescription, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSScriptClassDescription, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSScriptClassDescription, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); + } + + static void setKeys_triggerChangeNotificationsForDependentKey_( + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSScriptClassDescription, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = _objc_msgSend_85( + _class_NSScriptClassDescription, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = _objc_msgSend_2( + _class_NSScriptClassDescription, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); + } +} + +late final _class_NSScriptClassDescription = + objc.getClass("NSScriptClassDescription"); +final _objc_msgSend_626 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer aClass)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_initWithSuiteName_className_dictionary_ = + objc.registerName("initWithSuiteName:className:dictionary:"); +final _objc_msgSend_627 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer suiteName, + ffi.Pointer className, + ffi.Pointer classDeclaration)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_suiteName = objc.registerName("suiteName"); +late final _sel_className = objc.registerName("className"); +late final _sel_implementationClassName = + objc.registerName("implementationClassName"); +late final _sel_superclassDescription = + objc.registerName("superclassDescription"); +final _objc_msgSend_628 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_appleEventCode = objc.registerName("appleEventCode"); +late final _sel_matchesAppleEventCode_ = + objc.registerName("matchesAppleEventCode:"); class NSScriptCommandDescription extends NSObject { - NSScriptCommandDescription._( - ffi.Pointer pointer, - SwiftLibrary lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSScriptCommandDescription._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSScriptCommandDescription] that points to the same underlying object as [other]. static NSScriptCommandDescription castFrom( - SwiftLibrary lib, - T other, - ) { - return NSScriptCommandDescription._( - other.pointer, - lib, - retain: true, - release: true, - ); + T other) { + return NSScriptCommandDescription._(other.pointer, + retain: true, release: true); } /// Returns a [NSScriptCommandDescription] that wraps the given raw object pointer. static NSScriptCommandDescription castFromPointer( - SwiftLibrary lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSScriptCommandDescription._( - other, - lib, - retain: retain, - release: release, - ); + ffi.Pointer other, + {bool retain = false, + bool release = false}) { + return NSScriptCommandDescription._(other, + retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSScriptCommandDescription]. - static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSScriptCommandDescription1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0( + obj.pointer, _sel_isKindOfClass_, _class_NSScriptCommandDescription); } @override NSObject init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSObject._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSObject._(_ret, retain: true, release: true); } NSScriptCommandDescription? initWithSuiteName_commandName_dictionary_( - NSString suiteName, - NSString commandName, - NSDictionary? commandDeclaration, - ) { - final _ret = _lib._objc_msgSend_627( - this.pointer, - _lib._sel_initWithSuiteName_commandName_dictionary_1, - suiteName.pointer, - commandName.pointer, - commandDeclaration?.pointer ?? ffi.nullptr, - ); + NSString suiteName, + NSString commandName, + NSDictionary? commandDeclaration) { + final _ret = _objc_msgSend_627( + this.pointer, + _sel_initWithSuiteName_commandName_dictionary_, + suiteName.pointer, + commandName.pointer, + commandDeclaration?.pointer ?? ffi.nullptr); return _ret.address == 0 ? null - : NSScriptCommandDescription._(_ret, _lib, retain: true, release: true); + : NSScriptCommandDescription._(_ret, retain: true, release: true); } NSScriptCommandDescription? initWithCoder_(NSCoder inCoder) { - final _ret = _lib._objc_msgSend_47( - this.pointer, - _lib._sel_initWithCoder_1, - inCoder.pointer, - ); + final _ret = + _objc_msgSend_47(this.pointer, _sel_initWithCoder_, inCoder.pointer); return _ret.address == 0 ? null - : NSScriptCommandDescription._(_ret, _lib, retain: true, release: true); + : NSScriptCommandDescription._(_ret, retain: true, release: true); } NSString get suiteName { - final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_suiteName1); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_suiteName); + return NSString._(_ret, retain: true, release: true); } NSString get commandName { - final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_commandName1); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_commandName); + return NSString._(_ret, retain: true, release: true); } int get appleEventClassCode { - return _lib._objc_msgSend_214(this.pointer, _lib._sel_appleEventClassCode1); + return _objc_msgSend_214(this.pointer, _sel_appleEventClassCode); } int get appleEventCode { - return _lib._objc_msgSend_214(this.pointer, _lib._sel_appleEventCode1); + return _objc_msgSend_214(this.pointer, _sel_appleEventCode); } NSString get commandClassName { - final _ret = _lib._objc_msgSend_21( - this.pointer, - _lib._sel_commandClassName1, - ); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_commandClassName); + return NSString._(_ret, retain: true, release: true); } NSString? get returnType { - final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_returnType1); + final _ret = _objc_msgSend_44(this.pointer, _sel_returnType); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } int get appleEventCodeForReturnType { - return _lib._objc_msgSend_214( - this.pointer, - _lib._sel_appleEventCodeForReturnType1, - ); + return _objc_msgSend_214(this.pointer, _sel_appleEventCodeForReturnType); } NSArray get argumentNames { - final _ret = _lib._objc_msgSend_85(this.pointer, _lib._sel_argumentNames1); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_85(this.pointer, _sel_argumentNames); + return NSArray._(_ret, retain: true, release: true); } NSString? typeForArgumentWithName_(NSString argumentName) { - final _ret = _lib._objc_msgSend_186( - this.pointer, - _lib._sel_typeForArgumentWithName_1, - argumentName.pointer, - ); + final _ret = _objc_msgSend_186( + this.pointer, _sel_typeForArgumentWithName_, argumentName.pointer); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } int appleEventCodeForArgumentWithName_(NSString argumentName) { - return _lib._objc_msgSend_629( - this.pointer, - _lib._sel_appleEventCodeForArgumentWithName_1, - argumentName.pointer, - ); + return _objc_msgSend_629(this.pointer, + _sel_appleEventCodeForArgumentWithName_, argumentName.pointer); } bool isOptionalArgumentWithName_(NSString argumentName) { - return _lib._objc_msgSend_64( - this.pointer, - _lib._sel_isOptionalArgumentWithName_1, - argumentName.pointer, - ); + return _objc_msgSend_64( + this.pointer, _sel_isOptionalArgumentWithName_, argumentName.pointer); } NSScriptCommand createCommandInstance() { - final _ret = _lib._objc_msgSend_639( - this.pointer, - _lib._sel_createCommandInstance1, - ); - return NSScriptCommand._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_639(this.pointer, _sel_createCommandInstance); + return NSScriptCommand._(_ret, retain: true, release: true); } NSScriptCommand createCommandInstanceWithZone_(ffi.Pointer<_NSZone> zone) { - final _ret = _lib._objc_msgSend_640( - this.pointer, - _lib._sel_createCommandInstanceWithZone_1, - zone, - ); - return NSScriptCommand._(_ret, _lib, retain: true, release: true); - } - - static NSScriptCommandDescription new1(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSScriptCommandDescription1, - _lib._sel_new1, - ); - return NSScriptCommandDescription._( - _ret, - _lib, - retain: false, - release: true, - ); - } - - static NSScriptCommandDescription allocWithZone_( - SwiftLibrary _lib, - ffi.Pointer<_NSZone> zone, - ) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSScriptCommandDescription1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSScriptCommandDescription._( - _ret, - _lib, - retain: false, - release: true, - ); - } - - static NSScriptCommandDescription alloc(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSScriptCommandDescription1, - _lib._sel_alloc1, - ); - return NSScriptCommandDescription._( - _ret, - _lib, - retain: false, - release: true, - ); + final _ret = _objc_msgSend_640( + this.pointer, _sel_createCommandInstanceWithZone_, zone); + return NSScriptCommand._(_ret, retain: true, release: true); + } + + static NSScriptCommandDescription new1() { + final _ret = _objc_msgSend_2(_class_NSScriptCommandDescription, _sel_new); + return NSScriptCommandDescription._(_ret, retain: false, release: true); + } + + static NSScriptCommandDescription allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = _objc_msgSend_3( + _class_NSScriptCommandDescription, _sel_allocWithZone_, zone); + return NSScriptCommandDescription._(_ret, retain: false, release: true); + } + + static NSScriptCommandDescription alloc() { + final _ret = _objc_msgSend_2(_class_NSScriptCommandDescription, _sel_alloc); + return NSScriptCommandDescription._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSScriptCommandDescription1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSScriptCommandDescription1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSScriptCommandDescription1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSScriptCommandDescription1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSScriptCommandDescription1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSScriptCommandDescription1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSScriptCommandDescription, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); } - static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSScriptCommandDescription1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSScriptCommandDescription1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSScriptCommandDescription1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSScriptCommandDescription, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); } -} + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12(_class_NSScriptCommandDescription, + _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12( + _class_NSScriptCommandDescription, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSScriptCommandDescription, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSScriptCommandDescription, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); + } + + static void setKeys_triggerChangeNotificationsForDependentKey_( + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSScriptCommandDescription, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = _objc_msgSend_85( + _class_NSScriptCommandDescription, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = _objc_msgSend_2( + _class_NSScriptCommandDescription, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); + } +} + +late final _class_NSScriptCommandDescription = + objc.getClass("NSScriptCommandDescription"); +late final _sel_initWithSuiteName_commandName_dictionary_ = + objc.registerName("initWithSuiteName:commandName:dictionary:"); +late final _sel_commandName = objc.registerName("commandName"); +late final _sel_appleEventClassCode = objc.registerName("appleEventClassCode"); +late final _sel_commandClassName = objc.registerName("commandClassName"); +late final _sel_returnType = objc.registerName("returnType"); +late final _sel_appleEventCodeForReturnType = + objc.registerName("appleEventCodeForReturnType"); +late final _sel_argumentNames = objc.registerName("argumentNames"); +late final _sel_typeForArgumentWithName_ = + objc.registerName("typeForArgumentWithName:"); +late final _sel_appleEventCodeForArgumentWithName_ = + objc.registerName("appleEventCodeForArgumentWithName:"); +final _objc_msgSend_629 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.UnsignedInt Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer argumentName)>>() + .asFunction< + int Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_isOptionalArgumentWithName_ = + objc.registerName("isOptionalArgumentWithName:"); class NSScriptCommand extends NSObject { - NSScriptCommand._( - ffi.Pointer pointer, - SwiftLibrary lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSScriptCommand._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSScriptCommand] that points to the same underlying object as [other]. - static NSScriptCommand castFrom( - SwiftLibrary lib, - T other, - ) { - return NSScriptCommand._(other.pointer, lib, retain: true, release: true); + static NSScriptCommand castFrom(T other) { + return NSScriptCommand._(other.pointer, retain: true, release: true); } /// Returns a [NSScriptCommand] that wraps the given raw object pointer. - static NSScriptCommand castFromPointer( - SwiftLibrary lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSScriptCommand._(other, lib, retain: retain, release: release); + static NSScriptCommand castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSScriptCommand._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSScriptCommand]. - static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSScriptCommand1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0( + obj.pointer, _sel_isKindOfClass_, _class_NSScriptCommand); } NSScriptCommand initWithCommandDescription_( - NSScriptCommandDescription commandDef, - ) { - final _ret = _lib._objc_msgSend_630( - this.pointer, - _lib._sel_initWithCommandDescription_1, - commandDef.pointer, - ); - return NSScriptCommand._(_ret, _lib, retain: true, release: true); + NSScriptCommandDescription commandDef) { + final _ret = _objc_msgSend_630( + this.pointer, _sel_initWithCommandDescription_, commandDef.pointer); + return NSScriptCommand._(_ret, retain: true, release: true); } NSScriptCommand? initWithCoder_(NSCoder inCoder) { - final _ret = _lib._objc_msgSend_47( - this.pointer, - _lib._sel_initWithCoder_1, - inCoder.pointer, - ); + final _ret = + _objc_msgSend_47(this.pointer, _sel_initWithCoder_, inCoder.pointer); return _ret.address == 0 ? null - : NSScriptCommand._(_ret, _lib, retain: true, release: true); + : NSScriptCommand._(_ret, retain: true, release: true); } NSScriptCommandDescription get commandDescription { - final _ret = _lib._objc_msgSend_631( - this.pointer, - _lib._sel_commandDescription1, - ); - return NSScriptCommandDescription._( - _ret, - _lib, - retain: true, - release: true, - ); + final _ret = _objc_msgSend_631(this.pointer, _sel_commandDescription); + return NSScriptCommandDescription._(_ret, retain: true, release: true); } NSObject? get directParameter { - final _ret = _lib._objc_msgSend_17( - this.pointer, - _lib._sel_directParameter1, - ); + final _ret = _objc_msgSend_17(this.pointer, _sel_directParameter); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } set directParameter(NSObject? value) { - return _lib._objc_msgSend_416( - this.pointer, - _lib._sel_setDirectParameter_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_416( + this.pointer, _sel_setDirectParameter_, value?.pointer ?? ffi.nullptr); } NSScriptObjectSpecifier? get receiversSpecifier { - final _ret = _lib._objc_msgSend_632( - this.pointer, - _lib._sel_receiversSpecifier1, - ); + final _ret = _objc_msgSend_632(this.pointer, _sel_receiversSpecifier); return _ret.address == 0 ? null - : NSScriptObjectSpecifier._(_ret, _lib, retain: true, release: true); + : NSScriptObjectSpecifier._(_ret, retain: true, release: true); } set receiversSpecifier(NSScriptObjectSpecifier? value) { - return _lib._objc_msgSend_633( - this.pointer, - _lib._sel_setReceiversSpecifier_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_633(this.pointer, _sel_setReceiversSpecifier_, + value?.pointer ?? ffi.nullptr); } NSObject? get evaluatedReceivers { - final _ret = _lib._objc_msgSend_17( - this.pointer, - _lib._sel_evaluatedReceivers1, - ); + final _ret = _objc_msgSend_17(this.pointer, _sel_evaluatedReceivers); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } NSDictionary? get arguments { - final _ret = _lib._objc_msgSend_390(this.pointer, _lib._sel_arguments1); + final _ret = _objc_msgSend_390(this.pointer, _sel_arguments); return _ret.address == 0 ? null - : NSDictionary._(_ret, _lib, retain: true, release: true); + : NSDictionary._(_ret, retain: true, release: true); } set arguments(NSDictionary? value) { - return _lib._objc_msgSend_634( - this.pointer, - _lib._sel_setArguments_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_634( + this.pointer, _sel_setArguments_, value?.pointer ?? ffi.nullptr); } NSDictionary? get evaluatedArguments { - final _ret = _lib._objc_msgSend_390( - this.pointer, - _lib._sel_evaluatedArguments1, - ); + final _ret = _objc_msgSend_390(this.pointer, _sel_evaluatedArguments); return _ret.address == 0 ? null - : NSDictionary._(_ret, _lib, retain: true, release: true); + : NSDictionary._(_ret, retain: true, release: true); } bool get wellFormed { - return _lib._objc_msgSend_12(this.pointer, _lib._sel_isWellFormed1); + return _objc_msgSend_12(this.pointer, _sel_isWellFormed); } NSObject? performDefaultImplementation() { - final _ret = _lib._objc_msgSend_17( - this.pointer, - _lib._sel_performDefaultImplementation1, - ); + final _ret = + _objc_msgSend_17(this.pointer, _sel_performDefaultImplementation); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } NSObject? executeCommand() { - final _ret = _lib._objc_msgSend_17(this.pointer, _lib._sel_executeCommand1); + final _ret = _objc_msgSend_17(this.pointer, _sel_executeCommand); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } int get scriptErrorNumber { - return _lib._objc_msgSend_83(this.pointer, _lib._sel_scriptErrorNumber1); + return _objc_msgSend_83(this.pointer, _sel_scriptErrorNumber); } set scriptErrorNumber(int value) { - return _lib._objc_msgSend_635( - this.pointer, - _lib._sel_setScriptErrorNumber_1, - value, - ); + return _objc_msgSend_635(this.pointer, _sel_setScriptErrorNumber_, value); } NSAppleEventDescriptor? get scriptErrorOffendingObjectDescriptor { - final _ret = _lib._objc_msgSend_636( - this.pointer, - _lib._sel_scriptErrorOffendingObjectDescriptor1, - ); + final _ret = _objc_msgSend_636( + this.pointer, _sel_scriptErrorOffendingObjectDescriptor); return _ret.address == 0 ? null - : NSAppleEventDescriptor._(_ret, _lib, retain: true, release: true); + : NSAppleEventDescriptor._(_ret, retain: true, release: true); } set scriptErrorOffendingObjectDescriptor(NSAppleEventDescriptor? value) { - return _lib._objc_msgSend_637( - this.pointer, - _lib._sel_setScriptErrorOffendingObjectDescriptor_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_637( + this.pointer, + _sel_setScriptErrorOffendingObjectDescriptor_, + value?.pointer ?? ffi.nullptr); } NSAppleEventDescriptor? get scriptErrorExpectedTypeDescriptor { - final _ret = _lib._objc_msgSend_636( - this.pointer, - _lib._sel_scriptErrorExpectedTypeDescriptor1, - ); + final _ret = + _objc_msgSend_636(this.pointer, _sel_scriptErrorExpectedTypeDescriptor); return _ret.address == 0 ? null - : NSAppleEventDescriptor._(_ret, _lib, retain: true, release: true); + : NSAppleEventDescriptor._(_ret, retain: true, release: true); } set scriptErrorExpectedTypeDescriptor(NSAppleEventDescriptor? value) { - return _lib._objc_msgSend_637( - this.pointer, - _lib._sel_setScriptErrorExpectedTypeDescriptor_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_637( + this.pointer, + _sel_setScriptErrorExpectedTypeDescriptor_, + value?.pointer ?? ffi.nullptr); } NSString? get scriptErrorString { - final _ret = _lib._objc_msgSend_44( - this.pointer, - _lib._sel_scriptErrorString1, - ); + final _ret = _objc_msgSend_44(this.pointer, _sel_scriptErrorString); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } set scriptErrorString(NSString? value) { - return _lib._objc_msgSend_545( - this.pointer, - _lib._sel_setScriptErrorString_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_545(this.pointer, _sel_setScriptErrorString_, + value?.pointer ?? ffi.nullptr); } - static NSScriptCommand? currentCommand(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_638( - _lib._class_NSScriptCommand1, - _lib._sel_currentCommand1, - ); + static NSScriptCommand? currentCommand() { + final _ret = _objc_msgSend_638(_class_NSScriptCommand, _sel_currentCommand); return _ret.address == 0 ? null - : NSScriptCommand._(_ret, _lib, retain: true, release: true); + : NSScriptCommand._(_ret, retain: true, release: true); } NSAppleEventDescriptor? get appleEvent { - final _ret = _lib._objc_msgSend_636(this.pointer, _lib._sel_appleEvent1); + final _ret = _objc_msgSend_636(this.pointer, _sel_appleEvent); return _ret.address == 0 ? null - : NSAppleEventDescriptor._(_ret, _lib, retain: true, release: true); + : NSAppleEventDescriptor._(_ret, retain: true, release: true); } void suspendExecution() { - _lib._objc_msgSend_1(this.pointer, _lib._sel_suspendExecution1); + _objc_msgSend_1(this.pointer, _sel_suspendExecution); } void resumeExecutionWithResult_(NSObject? result) { - _lib._objc_msgSend_289( - this.pointer, - _lib._sel_resumeExecutionWithResult_1, - result?.pointer ?? ffi.nullptr, - ); + _objc_msgSend_289(this.pointer, _sel_resumeExecutionWithResult_, + result?.pointer ?? ffi.nullptr); } @override NSScriptCommand init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSScriptCommand._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSScriptCommand._(_ret, retain: true, release: true); } - static NSScriptCommand new1(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSScriptCommand1, - _lib._sel_new1, - ); - return NSScriptCommand._(_ret, _lib, retain: false, release: true); + static NSScriptCommand new1() { + final _ret = _objc_msgSend_2(_class_NSScriptCommand, _sel_new); + return NSScriptCommand._(_ret, retain: false, release: true); } - static NSScriptCommand allocWithZone_( - SwiftLibrary _lib, - ffi.Pointer<_NSZone> zone, - ) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSScriptCommand1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSScriptCommand._(_ret, _lib, retain: false, release: true); + static NSScriptCommand allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = + _objc_msgSend_3(_class_NSScriptCommand, _sel_allocWithZone_, zone); + return NSScriptCommand._(_ret, retain: false, release: true); } - static NSScriptCommand alloc(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSScriptCommand1, - _lib._sel_alloc1, - ); - return NSScriptCommand._(_ret, _lib, retain: false, release: true); + static NSScriptCommand alloc() { + final _ret = _objc_msgSend_2(_class_NSScriptCommand, _sel_alloc); + return NSScriptCommand._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSScriptCommand1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSScriptCommand1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSScriptCommand1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSScriptCommand1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSScriptCommand1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSScriptCommand1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSScriptCommand, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); } - static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSScriptCommand1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSScriptCommand1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSScriptCommand1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSScriptCommand, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); } -} + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSScriptCommand, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSScriptCommand, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSScriptCommand, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSScriptCommand, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); + } + + static void setKeys_triggerChangeNotificationsForDependentKey_( + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSScriptCommand, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = _objc_msgSend_85( + _class_NSScriptCommand, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = + _objc_msgSend_2(_class_NSScriptCommand, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); + } +} + +late final _class_NSScriptCommand = objc.getClass("NSScriptCommand"); +late final _sel_initWithCommandDescription_ = + objc.registerName("initWithCommandDescription:"); +final _objc_msgSend_630 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer commandDef)>>() + .asFunction< + instancetype Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_commandDescription = objc.registerName("commandDescription"); +final _objc_msgSend_631 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_directParameter = objc.registerName("directParameter"); +late final _sel_setDirectParameter_ = objc.registerName("setDirectParameter:"); +late final _sel_receiversSpecifier = objc.registerName("receiversSpecifier"); +final _objc_msgSend_632 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_setReceiversSpecifier_ = + objc.registerName("setReceiversSpecifier:"); +final _objc_msgSend_633 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_evaluatedReceivers = objc.registerName("evaluatedReceivers"); +late final _sel_arguments = objc.registerName("arguments"); +late final _sel_setArguments_ = objc.registerName("setArguments:"); +final _objc_msgSend_634 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_evaluatedArguments = objc.registerName("evaluatedArguments"); +late final _sel_isWellFormed = objc.registerName("isWellFormed"); +late final _sel_performDefaultImplementation = + objc.registerName("performDefaultImplementation"); +late final _sel_executeCommand = objc.registerName("executeCommand"); +late final _sel_scriptErrorNumber = objc.registerName("scriptErrorNumber"); +late final _sel_setScriptErrorNumber_ = + objc.registerName("setScriptErrorNumber:"); +final _objc_msgSend_635 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer obj, + ffi.Pointer sel, ffi.Long value)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, int)>(); +late final _sel_scriptErrorOffendingObjectDescriptor = + objc.registerName("scriptErrorOffendingObjectDescriptor"); +final _objc_msgSend_636 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_setScriptErrorOffendingObjectDescriptor_ = + objc.registerName("setScriptErrorOffendingObjectDescriptor:"); +final _objc_msgSend_637 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_scriptErrorExpectedTypeDescriptor = + objc.registerName("scriptErrorExpectedTypeDescriptor"); +late final _sel_setScriptErrorExpectedTypeDescriptor_ = + objc.registerName("setScriptErrorExpectedTypeDescriptor:"); +late final _sel_scriptErrorString = objc.registerName("scriptErrorString"); +late final _sel_setScriptErrorString_ = + objc.registerName("setScriptErrorString:"); +late final _sel_currentCommand = objc.registerName("currentCommand"); +final _objc_msgSend_638 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_appleEvent = objc.registerName("appleEvent"); +late final _sel_suspendExecution = objc.registerName("suspendExecution"); +late final _sel_resumeExecutionWithResult_ = + objc.registerName("resumeExecutionWithResult:"); +late final _sel_createCommandInstance = + objc.registerName("createCommandInstance"); +final _objc_msgSend_639 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_createCommandInstanceWithZone_ = + objc.registerName("createCommandInstanceWithZone:"); +final _objc_msgSend_640 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer<_NSZone> zone)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer<_NSZone>)>(); +late final _sel_supportsCommand_ = objc.registerName("supportsCommand:"); +final _objc_msgSend_641 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer commandDescription)>>() + .asFunction< + bool Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_selectorForCommand_ = objc.registerName("selectorForCommand:"); +final _objc_msgSend_642 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer commandDescription)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_typeForKey_ = objc.registerName("typeForKey:"); +late final _sel_classDescriptionForKey_ = + objc.registerName("classDescriptionForKey:"); +final _objc_msgSend_643 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer key)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_appleEventCodeForKey_ = + objc.registerName("appleEventCodeForKey:"); +late final _sel_keyWithAppleEventCode_ = + objc.registerName("keyWithAppleEventCode:"); +final _objc_msgSend_644 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.UnsignedInt appleEventCode)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, int)>(); +late final _sel_defaultSubcontainerAttributeKey = + objc.registerName("defaultSubcontainerAttributeKey"); +late final _sel_isLocationRequiredToCreateForKey_ = + objc.registerName("isLocationRequiredToCreateForKey:"); +late final _sel_hasPropertyForKey_ = objc.registerName("hasPropertyForKey:"); +late final _sel_hasOrderedToManyRelationshipForKey_ = + objc.registerName("hasOrderedToManyRelationshipForKey:"); +late final _sel_hasReadablePropertyForKey_ = + objc.registerName("hasReadablePropertyForKey:"); +late final _sel_hasWritablePropertyForKey_ = + objc.registerName("hasWritablePropertyForKey:"); +late final _sel_isReadOnlyKey_ = objc.registerName("isReadOnlyKey:"); +late final _sel_initWithContainerClassDescription_containerSpecifier_key_ = objc + .registerName("initWithContainerClassDescription:containerSpecifier:key:"); +final _objc_msgSend_645 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer classDesc, + ffi.Pointer container, + ffi.Pointer property)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_childSpecifier = objc.registerName("childSpecifier"); +late final _sel_setChildSpecifier_ = objc.registerName("setChildSpecifier:"); +late final _sel_containerSpecifier = objc.registerName("containerSpecifier"); +late final _sel_setContainerSpecifier_ = + objc.registerName("setContainerSpecifier:"); +late final _sel_containerIsObjectBeingTested = + objc.registerName("containerIsObjectBeingTested"); +late final _sel_setContainerIsObjectBeingTested_ = + objc.registerName("setContainerIsObjectBeingTested:"); +late final _sel_containerIsRangeContainerObject = + objc.registerName("containerIsRangeContainerObject"); +late final _sel_setContainerIsRangeContainerObject_ = + objc.registerName("setContainerIsRangeContainerObject:"); +late final _sel_key = objc.registerName("key"); +late final _sel_setKey_ = objc.registerName("setKey:"); +final _objc_msgSend_646 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_containerClassDescription = + objc.registerName("containerClassDescription"); +late final _sel_setContainerClassDescription_ = + objc.registerName("setContainerClassDescription:"); +final _objc_msgSend_647 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_keyClassDescription = objc.registerName("keyClassDescription"); +late final _sel_indicesOfObjectsByEvaluatingWithContainer_count_ = + objc.registerName("indicesOfObjectsByEvaluatingWithContainer:count:"); +final _objc_msgSend_648 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer container, + ffi.Pointer count)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_objectsByEvaluatingWithContainers_ = + objc.registerName("objectsByEvaluatingWithContainers:"); +late final _sel_objectsByEvaluatingSpecifier = + objc.registerName("objectsByEvaluatingSpecifier"); +late final _sel_evaluationErrorNumber = + objc.registerName("evaluationErrorNumber"); +late final _sel_setEvaluationErrorNumber_ = + objc.registerName("setEvaluationErrorNumber:"); +late final _sel_evaluationErrorSpecifier = + objc.registerName("evaluationErrorSpecifier"); +late final _sel_descriptor = objc.registerName("descriptor"); +late final _sel_scriptingValueForSpecifier_ = + objc.registerName("scriptingValueForSpecifier:"); +final _objc_msgSend_649 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer objectSpecifier)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_scriptingProperties = objc.registerName("scriptingProperties"); +late final _sel_setScriptingProperties_ = + objc.registerName("setScriptingProperties:"); +late final _sel_copyScriptingValue_forKey_withProperties_ = + objc.registerName("copyScriptingValue:forKey:withProperties:"); +final _objc_msgSend_650 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value, + ffi.Pointer key, + ffi.Pointer properties)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_newScriptingObjectOfClass_forValueForKey_withContentsValue_properties_ = + objc.registerName( + "newScriptingObjectOfClass:forValueForKey:withContentsValue:properties:"); +final _objc_msgSend_651 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer objectClass, + ffi.Pointer key, + ffi.Pointer contentsValue, + ffi.Pointer properties)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_classCode = objc.registerName("classCode"); +late final _sel_valueAtIndex_inPropertyWithKey_ = + objc.registerName("valueAtIndex:inPropertyWithKey:"); +final _objc_msgSend_652 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.UnsignedLong index, + ffi.Pointer key)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer)>(); +late final _sel_valueWithName_inPropertyWithKey_ = + objc.registerName("valueWithName:inPropertyWithKey:"); +late final _sel_valueWithUniqueID_inPropertyWithKey_ = + objc.registerName("valueWithUniqueID:inPropertyWithKey:"); +late final _sel_insertValue_atIndex_inPropertyWithKey_ = + objc.registerName("insertValue:atIndex:inPropertyWithKey:"); +final _objc_msgSend_653 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value, + ffi.UnsignedLong index, + ffi.Pointer key)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer)>(); +late final _sel_removeValueAtIndex_fromPropertyWithKey_ = + objc.registerName("removeValueAtIndex:fromPropertyWithKey:"); +final _objc_msgSend_654 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.UnsignedLong index, + ffi.Pointer key)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer)>(); +late final _sel_replaceValueAtIndex_inPropertyWithKey_withValue_ = + objc.registerName("replaceValueAtIndex:inPropertyWithKey:withValue:"); +final _objc_msgSend_655 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.UnsignedLong index, + ffi.Pointer key, + ffi.Pointer value)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_insertValue_inPropertyWithKey_ = + objc.registerName("insertValue:inPropertyWithKey:"); +final _objc_msgSend_656 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value, + ffi.Pointer key)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_coerceValue_forKey_ = objc.registerName("coerceValue:forKey:"); +final _objc_msgSend_657 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value, + ffi.Pointer key)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_objectSpecifier = objc.registerName("objectSpecifier"); +late final _sel_indicesOfObjectsByEvaluatingObjectSpecifier_ = + objc.registerName("indicesOfObjectsByEvaluatingObjectSpecifier:"); +final _objc_msgSend_658 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer specifier)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_isEqualTo_ = objc.registerName("isEqualTo:"); +late final _sel_isLessThanOrEqualTo_ = + objc.registerName("isLessThanOrEqualTo:"); +late final _sel_isLessThan_ = objc.registerName("isLessThan:"); +late final _sel_isGreaterThanOrEqualTo_ = + objc.registerName("isGreaterThanOrEqualTo:"); +late final _sel_isGreaterThan_ = objc.registerName("isGreaterThan:"); +late final _sel_isNotEqualTo_ = objc.registerName("isNotEqualTo:"); +late final _sel_doesContain_ = objc.registerName("doesContain:"); +late final _sel_isLike_ = objc.registerName("isLike:"); +late final _sel_isCaseInsensitiveLike_ = + objc.registerName("isCaseInsensitiveLike:"); +late final _sel_scriptingIsEqualTo_ = objc.registerName("scriptingIsEqualTo:"); +late final _sel_scriptingIsLessThanOrEqualTo_ = + objc.registerName("scriptingIsLessThanOrEqualTo:"); +late final _sel_scriptingIsLessThan_ = + objc.registerName("scriptingIsLessThan:"); +late final _sel_scriptingIsGreaterThanOrEqualTo_ = + objc.registerName("scriptingIsGreaterThanOrEqualTo:"); +late final _sel_scriptingIsGreaterThan_ = + objc.registerName("scriptingIsGreaterThan:"); +late final _sel_scriptingBeginsWith_ = + objc.registerName("scriptingBeginsWith:"); +late final _sel_scriptingEndsWith_ = objc.registerName("scriptingEndsWith:"); +late final _sel_scriptingContains_ = objc.registerName("scriptingContains:"); class NSItemProvider extends NSObject { - NSItemProvider._( - ffi.Pointer pointer, - SwiftLibrary lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSItemProvider._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSItemProvider] that points to the same underlying object as [other]. - static NSItemProvider castFrom( - SwiftLibrary lib, - T other, - ) { - return NSItemProvider._(other.pointer, lib, retain: true, release: true); + static NSItemProvider castFrom(T other) { + return NSItemProvider._(other.pointer, retain: true, release: true); } /// Returns a [NSItemProvider] that wraps the given raw object pointer. - static NSItemProvider castFromPointer( - SwiftLibrary lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSItemProvider._(other, lib, retain: retain, release: release); + static NSItemProvider castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSItemProvider._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSItemProvider]. - static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSItemProvider1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0( + obj.pointer, _sel_isKindOfClass_, _class_NSItemProvider); } @override NSItemProvider init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSItemProvider._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSItemProvider._(_ret, retain: true, release: true); } void registerDataRepresentationForTypeIdentifier_visibility_loadHandler_( - NSString typeIdentifier, - int visibility, - ObjCBlock_NSProgress_ffiVoidNSDataNSError loadHandler, - ) { - _lib._objc_msgSend_673( - this.pointer, - _lib._sel_registerDataRepresentationForTypeIdentifier_visibility_loadHandler_1, - typeIdentifier.pointer, - visibility, - loadHandler.pointer, - ); + NSString typeIdentifier, + int visibility, + ObjCBlock_NSProgress_ffiVoidNSDataNSError loadHandler) { + _objc_msgSend_673( + this.pointer, + _sel_registerDataRepresentationForTypeIdentifier_visibility_loadHandler_, + typeIdentifier.pointer, + visibility, + loadHandler.pointer); } void registerFileRepresentationForTypeIdentifier_fileOptions_visibility_loadHandler_( - NSString typeIdentifier, - int fileOptions, - int visibility, - ObjCBlock_NSProgress_ffiVoidNSURLboolNSError loadHandler, - ) { - _lib._objc_msgSend_674( - this.pointer, - _lib._sel_registerFileRepresentationForTypeIdentifier_fileOptions_visibility_loadHandler_1, - typeIdentifier.pointer, - fileOptions, - visibility, - loadHandler.pointer, - ); + NSString typeIdentifier, + int fileOptions, + int visibility, + ObjCBlock_NSProgress_ffiVoidNSURLboolNSError loadHandler) { + _objc_msgSend_674( + this.pointer, + _sel_registerFileRepresentationForTypeIdentifier_fileOptions_visibility_loadHandler_, + typeIdentifier.pointer, + fileOptions, + visibility, + loadHandler.pointer); } NSArray get registeredTypeIdentifiers { - final _ret = _lib._objc_msgSend_85( - this.pointer, - _lib._sel_registeredTypeIdentifiers1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_85(this.pointer, _sel_registeredTypeIdentifiers); + return NSArray._(_ret, retain: true, release: true); } NSArray registeredTypeIdentifiersWithFileOptions_(int fileOptions) { - final _ret = _lib._objc_msgSend_675( - this.pointer, - _lib._sel_registeredTypeIdentifiersWithFileOptions_1, - fileOptions, - ); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_675(this.pointer, + _sel_registeredTypeIdentifiersWithFileOptions_, fileOptions); + return NSArray._(_ret, retain: true, release: true); } bool hasItemConformingToTypeIdentifier_(NSString typeIdentifier) { - return _lib._objc_msgSend_64( - this.pointer, - _lib._sel_hasItemConformingToTypeIdentifier_1, - typeIdentifier.pointer, - ); + return _objc_msgSend_64(this.pointer, + _sel_hasItemConformingToTypeIdentifier_, typeIdentifier.pointer); } bool hasRepresentationConformingToTypeIdentifier_fileOptions_( - NSString typeIdentifier, - int fileOptions, - ) { - return _lib._objc_msgSend_676( - this.pointer, - _lib._sel_hasRepresentationConformingToTypeIdentifier_fileOptions_1, - typeIdentifier.pointer, - fileOptions, - ); + NSString typeIdentifier, int fileOptions) { + return _objc_msgSend_676( + this.pointer, + _sel_hasRepresentationConformingToTypeIdentifier_fileOptions_, + typeIdentifier.pointer, + fileOptions); } NSProgress loadDataRepresentationForTypeIdentifier_completionHandler_( - NSString typeIdentifier, - ObjCBlock_ffiVoid_NSData_NSError completionHandler, - ) { - final _ret = _lib._objc_msgSend_677( - this.pointer, - _lib._sel_loadDataRepresentationForTypeIdentifier_completionHandler_1, - typeIdentifier.pointer, - completionHandler.pointer, - ); - return NSProgress._(_ret, _lib, retain: true, release: true); + NSString typeIdentifier, + ObjCBlock_ffiVoid_NSData_NSError completionHandler) { + final _ret = _objc_msgSend_677( + this.pointer, + _sel_loadDataRepresentationForTypeIdentifier_completionHandler_, + typeIdentifier.pointer, + completionHandler.pointer); + return NSProgress._(_ret, retain: true, release: true); } NSProgress loadFileRepresentationForTypeIdentifier_completionHandler_( - NSString typeIdentifier, - ObjCBlock_ffiVoid_NSURL_NSError completionHandler, - ) { - final _ret = _lib._objc_msgSend_678( - this.pointer, - _lib._sel_loadFileRepresentationForTypeIdentifier_completionHandler_1, - typeIdentifier.pointer, - completionHandler.pointer, - ); - return NSProgress._(_ret, _lib, retain: true, release: true); + NSString typeIdentifier, + ObjCBlock_ffiVoid_NSURL_NSError completionHandler) { + final _ret = _objc_msgSend_678( + this.pointer, + _sel_loadFileRepresentationForTypeIdentifier_completionHandler_, + typeIdentifier.pointer, + completionHandler.pointer); + return NSProgress._(_ret, retain: true, release: true); } NSProgress loadInPlaceFileRepresentationForTypeIdentifier_completionHandler_( - NSString typeIdentifier, - ObjCBlock_ffiVoid_NSURL_bool_NSError completionHandler, - ) { - final _ret = _lib._objc_msgSend_679( - this.pointer, - _lib._sel_loadInPlaceFileRepresentationForTypeIdentifier_completionHandler_1, - typeIdentifier.pointer, - completionHandler.pointer, - ); - return NSProgress._(_ret, _lib, retain: true, release: true); + NSString typeIdentifier, + ObjCBlock_ffiVoid_NSURL_bool_NSError completionHandler) { + final _ret = _objc_msgSend_679( + this.pointer, + _sel_loadInPlaceFileRepresentationForTypeIdentifier_completionHandler_, + typeIdentifier.pointer, + completionHandler.pointer); + return NSProgress._(_ret, retain: true, release: true); } NSString? get suggestedName { - final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_suggestedName1); + final _ret = _objc_msgSend_44(this.pointer, _sel_suggestedName); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } set suggestedName(NSString? value) { - return _lib._objc_msgSend_545( - this.pointer, - _lib._sel_setSuggestedName_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_545( + this.pointer, _sel_setSuggestedName_, value?.pointer ?? ffi.nullptr); } NSItemProvider initWithObject_(NSObject object) { - final _ret = _lib._objc_msgSend_124( - this.pointer, - _lib._sel_initWithObject_1, - object.pointer, - ); - return NSItemProvider._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_124(this.pointer, _sel_initWithObject_, object.pointer); + return NSItemProvider._(_ret, retain: true, release: true); } void registerObject_visibility_(NSObject object, int visibility) { - _lib._objc_msgSend_680( - this.pointer, - _lib._sel_registerObject_visibility_1, - object.pointer, - visibility, - ); + _objc_msgSend_680(this.pointer, _sel_registerObject_visibility_, + object.pointer, visibility); } void registerObjectOfClass_visibility_loadHandler_( - NSObject aClass, - int visibility, - ObjCBlock_NSProgress_ffiVoidobjcObjCObjectNSError loadHandler, - ) { - _lib._objc_msgSend_681( - this.pointer, - _lib._sel_registerObjectOfClass_visibility_loadHandler_1, - aClass.pointer, - visibility, - loadHandler.pointer, - ); + NSObject aClass, + int visibility, + ObjCBlock_NSProgress_ffiVoidobjcObjCObjectNSError loadHandler) { + _objc_msgSend_681( + this.pointer, + _sel_registerObjectOfClass_visibility_loadHandler_, + aClass.pointer, + visibility, + loadHandler.pointer); } bool canLoadObjectOfClass_(NSObject aClass) { - return _lib._objc_msgSend_0( - this.pointer, - _lib._sel_canLoadObjectOfClass_1, - aClass.pointer, - ); - } - - NSProgress loadObjectOfClass_completionHandler_( - NSObject aClass, - ObjCBlock_ffiVoid_objcObjCObject_NSError completionHandler, - ) { - final _ret = _lib._objc_msgSend_682( - this.pointer, - _lib._sel_loadObjectOfClass_completionHandler_1, - aClass.pointer, - completionHandler.pointer, - ); - return NSProgress._(_ret, _lib, retain: true, release: true); + return _objc_msgSend_0( + this.pointer, _sel_canLoadObjectOfClass_, aClass.pointer); + } + + NSProgress loadObjectOfClass_completionHandler_(NSObject aClass, + ObjCBlock_ffiVoid_objcObjCObject_NSError completionHandler) { + final _ret = _objc_msgSend_682( + this.pointer, + _sel_loadObjectOfClass_completionHandler_, + aClass.pointer, + completionHandler.pointer); + return NSProgress._(_ret, retain: true, release: true); } NSItemProvider initWithItem_typeIdentifier_( - NSObject? item, - NSString? typeIdentifier, - ) { - final _ret = _lib._objc_msgSend_683( - this.pointer, - _lib._sel_initWithItem_typeIdentifier_1, - item?.pointer ?? ffi.nullptr, - typeIdentifier?.pointer ?? ffi.nullptr, - ); - return NSItemProvider._(_ret, _lib, retain: true, release: true); + NSObject? item, NSString? typeIdentifier) { + final _ret = _objc_msgSend_683( + this.pointer, + _sel_initWithItem_typeIdentifier_, + item?.pointer ?? ffi.nullptr, + typeIdentifier?.pointer ?? ffi.nullptr); + return NSItemProvider._(_ret, retain: true, release: true); } NSItemProvider? initWithContentsOfURL_(NSURL fileURL) { - final _ret = _lib._objc_msgSend_277( - this.pointer, - _lib._sel_initWithContentsOfURL_1, - fileURL.pointer, - ); + final _ret = _objc_msgSend_277( + this.pointer, _sel_initWithContentsOfURL_, fileURL.pointer); return _ret.address == 0 ? null - : NSItemProvider._(_ret, _lib, retain: true, release: true); + : NSItemProvider._(_ret, retain: true, release: true); } void registerItemForTypeIdentifier_loadHandler_( - NSString typeIdentifier, - ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary - loadHandler, - ) { - _lib._objc_msgSend_684( - this.pointer, - _lib._sel_registerItemForTypeIdentifier_loadHandler_1, - typeIdentifier.pointer, - loadHandler.pointer, - ); + NSString typeIdentifier, + ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary + loadHandler) { + _objc_msgSend_684( + this.pointer, + _sel_registerItemForTypeIdentifier_loadHandler_, + typeIdentifier.pointer, + loadHandler.pointer); } void loadItemForTypeIdentifier_options_completionHandler_( - NSString typeIdentifier, - NSDictionary? options, - ObjCBlock_ffiVoid_objcObjCObject_NSError1? completionHandler, - ) { - _lib._objc_msgSend_685( - this.pointer, - _lib._sel_loadItemForTypeIdentifier_options_completionHandler_1, - typeIdentifier.pointer, - options?.pointer ?? ffi.nullptr, - completionHandler?.pointer ?? ffi.nullptr, - ); + NSString typeIdentifier, + NSDictionary? options, + ObjCBlock_ffiVoid_objcObjCObject_NSError1? completionHandler) { + _objc_msgSend_685( + this.pointer, + _sel_loadItemForTypeIdentifier_options_completionHandler_, + typeIdentifier.pointer, + options?.pointer ?? ffi.nullptr, + completionHandler?.pointer ?? ffi.nullptr); } ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary? get previewImageHandler { - final _ret = _lib._objc_msgSend_686( - this.pointer, - _lib._sel_previewImageHandler1, - ); + final _ret = _objc_msgSend_686(this.pointer, _sel_previewImageHandler); return _ret.address == 0 ? null : ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary - ._( - _ret, - _lib, - retain: true, - release: true, - ); + ._(_ret, retain: true, release: true); } set previewImageHandler( - ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary? - value, - ) { - return _lib._objc_msgSend_687( - this.pointer, - _lib._sel_setPreviewImageHandler_1, - value?.pointer ?? ffi.nullptr, - ); - } - - void loadPreviewImageWithOptions_completionHandler_( - NSDictionary options, - ObjCBlock_ffiVoid_objcObjCObject_NSError1 completionHandler, - ) { - _lib._objc_msgSend_688( - this.pointer, - _lib._sel_loadPreviewImageWithOptions_completionHandler_1, - options.pointer, - completionHandler.pointer, - ); - } - - static NSItemProvider new1(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSItemProvider1, - _lib._sel_new1, - ); - return NSItemProvider._(_ret, _lib, retain: false, release: true); - } - - static NSItemProvider allocWithZone_( - SwiftLibrary _lib, - ffi.Pointer<_NSZone> zone, - ) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSItemProvider1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSItemProvider._(_ret, _lib, retain: false, release: true); - } - - static NSItemProvider alloc(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSItemProvider1, - _lib._sel_alloc1, - ); - return NSItemProvider._(_ret, _lib, retain: false, release: true); + ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary? + value) { + return _objc_msgSend_687(this.pointer, _sel_setPreviewImageHandler_, + value?.pointer ?? ffi.nullptr); + } + + void loadPreviewImageWithOptions_completionHandler_(NSDictionary options, + ObjCBlock_ffiVoid_objcObjCObject_NSError1 completionHandler) { + _objc_msgSend_688( + this.pointer, + _sel_loadPreviewImageWithOptions_completionHandler_, + options.pointer, + completionHandler.pointer); + } + + static NSItemProvider new1() { + final _ret = _objc_msgSend_2(_class_NSItemProvider, _sel_new); + return NSItemProvider._(_ret, retain: false, release: true); + } + + static NSItemProvider allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = + _objc_msgSend_3(_class_NSItemProvider, _sel_allocWithZone_, zone); + return NSItemProvider._(_ret, retain: false, release: true); + } + + static NSItemProvider alloc() { + final _ret = _objc_msgSend_2(_class_NSItemProvider, _sel_alloc); + return NSItemProvider._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSItemProvider1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSItemProvider1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSItemProvider1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSItemProvider1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSItemProvider1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSItemProvider1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSItemProvider, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); + } + + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSItemProvider, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); + } + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSItemProvider, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSItemProvider, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSItemProvider, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSItemProvider, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); } static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSItemProvider1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSItemProvider1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSItemProvider1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSItemProvider, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = _objc_msgSend_85( + _class_NSItemProvider, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = + _objc_msgSend_2(_class_NSItemProvider, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); } } +late final _class_NSItemProvider = objc.getClass("NSItemProvider"); + abstract class NSItemProviderRepresentationVisibility { static const int NSItemProviderRepresentationVisibilityAll = 0; static const int NSItemProviderRepresentationVisibilityTeam = 1; @@ -63726,12 +30396,12 @@ abstract class NSItemProviderRepresentationVisibility { ffi.Pointer _ObjCBlock_NSProgress_ffiVoidNSDataNSError_fnPtrTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, -) => + ffi.Pointer block, + ffi.Pointer arg0) => block.ref.target .cast< - ffi.NativeFunction< + ffi + .NativeFunction< ffi.Pointer Function( ffi.Pointer arg0)>>() .asFunction< @@ -63742,8 +30412,7 @@ final _ObjCBlock_NSProgress_ffiVoidNSDataNSError_closureRegistry = int _ObjCBlock_NSProgress_ffiVoidNSDataNSError_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_NSProgress_ffiVoidNSDataNSError_registerClosure( - ffi.Pointer Function(ffi.Pointer) fn, -) { + ffi.Pointer Function(ffi.Pointer) fn) { final id = ++_ObjCBlock_NSProgress_ffiVoidNSDataNSError_closureRegistryIndex; _ObjCBlock_NSProgress_ffiVoidNSDataNSError_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); @@ -63751,35 +30420,25 @@ ffi.Pointer ffi.Pointer _ObjCBlock_NSProgress_ffiVoidNSDataNSError_closureTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, -) => + ffi.Pointer block, + ffi.Pointer arg0) => _ObjCBlock_NSProgress_ffiVoidNSDataNSError_closureRegistry[ block.ref.target.address]!(arg0); class ObjCBlock_NSProgress_ffiVoidNSDataNSError extends objc.ObjCBlockBase { ObjCBlock_NSProgress_ffiVoidNSDataNSError._( - ffi.Pointer pointer, - this._lib, { - bool retain = false, - bool release = true, - }) : super(pointer, retain: retain, release: release); - - SwiftLibrary _lib; + ffi.Pointer pointer, + {bool retain = false, + bool release = true}) + : super(pointer, retain: retain, release: release); /// Returns a block that wraps the given raw block pointer. static ObjCBlock_NSProgress_ffiVoidNSDataNSError castFromPointer( - SwiftLibrary lib, - ffi.Pointer pointer, { - bool retain = false, - bool release = false, - }) { - return ObjCBlock_NSProgress_ffiVoidNSDataNSError._( - pointer, - lib, - retain: retain, - release: release, - ); + ffi.Pointer pointer, + {bool retain = false, + bool release = false}) { + return ObjCBlock_NSProgress_ffiVoidNSDataNSError._(pointer, + retain: retain, release: release); } /// Creates a block from a C function pointer. @@ -63788,24 +30447,19 @@ class ObjCBlock_NSProgress_ffiVoidNSDataNSError extends objc.ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_NSProgress_ffiVoidNSDataNSError.fromFunctionPointer( - SwiftLibrary lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer arg0)>> - ptr, - ) : this._( - objc.newBlock( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Pointer< + ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>( - _ObjCBlock_NSProgress_ffiVoidNSDataNSError_fnPtrTrampoline, - ).cast(), - ptr.cast(), - ), - lib); + ffi.Pointer arg0)>> + ptr) + : this._(objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer)>( + _ObjCBlock_NSProgress_ffiVoidNSDataNSError_fnPtrTrampoline) + .cast(), + ptr.cast())); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -63814,655 +30468,656 @@ class ObjCBlock_NSProgress_ffiVoidNSDataNSError extends objc.ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_NSProgress_ffiVoidNSDataNSError.fromFunction( - SwiftLibrary lib, - NSProgress? Function(ObjCBlock_ffiVoid_NSData_NSError) fn, - ) : this._( - objc.newBlock( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>( - _ObjCBlock_NSProgress_ffiVoidNSDataNSError_closureTrampoline, - ).cast(), - _ObjCBlock_NSProgress_ffiVoidNSDataNSError_registerClosure(( - ffi.Pointer arg0, - ) => - fn(ObjCBlock_ffiVoid_NSData_NSError._( - arg0, - lib, - retain: true, - release: true, - ))?.retainAndReturnPointer() ?? - ffi.nullptr), - ), - lib); + NSProgress? Function(ObjCBlock_ffiVoid_NSData_NSError) fn) + : this._(objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer)>( + _ObjCBlock_NSProgress_ffiVoidNSDataNSError_closureTrampoline) + .cast(), + _ObjCBlock_NSProgress_ffiVoidNSDataNSError_registerClosure( + (ffi.Pointer arg0) => + fn(ObjCBlock_ffiVoid_NSData_NSError._(arg0, retain: true, release: true)) + ?.retainAndReturnPointer() ?? + ffi.nullptr))); static ffi.Pointer? _dartFuncTrampoline; NSProgress? call(ObjCBlock_ffiVoid_NSData_NSError arg0) => pointer.ref.invoke .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer block, - ffi.Pointer arg0, - )>>() - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>()(pointer, arg0.pointer) + ffi.Pointer block, + ffi.Pointer arg0)>>() + .asFunction Function(ffi.Pointer, ffi.Pointer)>() + (pointer, arg0.pointer) .address == 0 ? null : NSProgress._( - pointer.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer block, - ffi.Pointer arg0, - )>>() - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>()(pointer, arg0.pointer), - _lib, + pointer.ref.invoke.cast Function(ffi.Pointer block, ffi.Pointer arg0)>>().asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>()(pointer, arg0.pointer), retain: false, release: true); } class NSProgress extends NSObject { - NSProgress._( - ffi.Pointer pointer, - SwiftLibrary lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSProgress._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSProgress] that points to the same underlying object as [other]. - static NSProgress castFrom( - SwiftLibrary lib, - T other, - ) { - return NSProgress._(other.pointer, lib, retain: true, release: true); + static NSProgress castFrom(T other) { + return NSProgress._(other.pointer, retain: true, release: true); } /// Returns a [NSProgress] that wraps the given raw object pointer. - static NSProgress castFromPointer( - SwiftLibrary lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSProgress._(other, lib, retain: retain, release: release); + static NSProgress castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSProgress._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSProgress]. - static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSProgress1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0(obj.pointer, _sel_isKindOfClass_, _class_NSProgress); } - static NSProgress? currentProgress(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_659( - _lib._class_NSProgress1, - _lib._sel_currentProgress1, - ); + static NSProgress? currentProgress() { + final _ret = _objc_msgSend_659(_class_NSProgress, _sel_currentProgress); return _ret.address == 0 ? null - : NSProgress._(_ret, _lib, retain: true, release: true); + : NSProgress._(_ret, retain: true, release: true); } - static NSProgress progressWithTotalUnitCount_( - SwiftLibrary _lib, - int unitCount, - ) { - final _ret = _lib._objc_msgSend_660( - _lib._class_NSProgress1, - _lib._sel_progressWithTotalUnitCount_1, - unitCount, - ); - return NSProgress._(_ret, _lib, retain: true, release: true); + static NSProgress progressWithTotalUnitCount_(int unitCount) { + final _ret = _objc_msgSend_660( + _class_NSProgress, _sel_progressWithTotalUnitCount_, unitCount); + return NSProgress._(_ret, retain: true, release: true); } - static NSProgress discreteProgressWithTotalUnitCount_( - SwiftLibrary _lib, - int unitCount, - ) { - final _ret = _lib._objc_msgSend_660( - _lib._class_NSProgress1, - _lib._sel_discreteProgressWithTotalUnitCount_1, - unitCount, - ); - return NSProgress._(_ret, _lib, retain: true, release: true); + static NSProgress discreteProgressWithTotalUnitCount_(int unitCount) { + final _ret = _objc_msgSend_660( + _class_NSProgress, _sel_discreteProgressWithTotalUnitCount_, unitCount); + return NSProgress._(_ret, retain: true, release: true); } static NSProgress progressWithTotalUnitCount_parent_pendingUnitCount_( - SwiftLibrary _lib, - int unitCount, - NSProgress parent, - int portionOfParentTotalUnitCount, - ) { - final _ret = _lib._objc_msgSend_661( - _lib._class_NSProgress1, - _lib._sel_progressWithTotalUnitCount_parent_pendingUnitCount_1, - unitCount, - parent.pointer, - portionOfParentTotalUnitCount, - ); - return NSProgress._(_ret, _lib, retain: true, release: true); + int unitCount, NSProgress parent, int portionOfParentTotalUnitCount) { + final _ret = _objc_msgSend_661( + _class_NSProgress, + _sel_progressWithTotalUnitCount_parent_pendingUnitCount_, + unitCount, + parent.pointer, + portionOfParentTotalUnitCount); + return NSProgress._(_ret, retain: true, release: true); } NSProgress initWithParent_userInfo_( - NSProgress? parentProgressOrNil, - NSObject? userInfoOrNil, - ) { - final _ret = _lib._objc_msgSend_662( - this.pointer, - _lib._sel_initWithParent_userInfo_1, - parentProgressOrNil?.pointer ?? ffi.nullptr, - userInfoOrNil?.pointer ?? ffi.nullptr, - ); - return NSProgress._(_ret, _lib, retain: true, release: true); + NSProgress? parentProgressOrNil, NSObject? userInfoOrNil) { + final _ret = _objc_msgSend_662( + this.pointer, + _sel_initWithParent_userInfo_, + parentProgressOrNil?.pointer ?? ffi.nullptr, + userInfoOrNil?.pointer ?? ffi.nullptr); + return NSProgress._(_ret, retain: true, release: true); } void becomeCurrentWithPendingUnitCount_(int unitCount) { - _lib._objc_msgSend_663( - this.pointer, - _lib._sel_becomeCurrentWithPendingUnitCount_1, - unitCount, - ); + _objc_msgSend_663( + this.pointer, _sel_becomeCurrentWithPendingUnitCount_, unitCount); } void performAsCurrentWithPendingUnitCount_usingBlock_( - int unitCount, - ObjCBlock_ffiVoid work, - ) { - _lib._objc_msgSend_664( - this.pointer, - _lib._sel_performAsCurrentWithPendingUnitCount_usingBlock_1, - unitCount, - work.pointer, - ); + int unitCount, ObjCBlock_ffiVoid work) { + _objc_msgSend_664( + this.pointer, + _sel_performAsCurrentWithPendingUnitCount_usingBlock_, + unitCount, + work.pointer); } void resignCurrent() { - _lib._objc_msgSend_1(this.pointer, _lib._sel_resignCurrent1); + _objc_msgSend_1(this.pointer, _sel_resignCurrent); } void addChild_withPendingUnitCount_(NSProgress child, int inUnitCount) { - _lib._objc_msgSend_665( - this.pointer, - _lib._sel_addChild_withPendingUnitCount_1, - child.pointer, - inUnitCount, - ); + _objc_msgSend_665(this.pointer, _sel_addChild_withPendingUnitCount_, + child.pointer, inUnitCount); } int get totalUnitCount { - return _lib._objc_msgSend_666(this.pointer, _lib._sel_totalUnitCount1); + return _objc_msgSend_666(this.pointer, _sel_totalUnitCount); } set totalUnitCount(int value) { - return _lib._objc_msgSend_667( - this.pointer, - _lib._sel_setTotalUnitCount_1, - value, - ); + return _objc_msgSend_667(this.pointer, _sel_setTotalUnitCount_, value); } int get completedUnitCount { - return _lib._objc_msgSend_666(this.pointer, _lib._sel_completedUnitCount1); + return _objc_msgSend_666(this.pointer, _sel_completedUnitCount); } set completedUnitCount(int value) { - return _lib._objc_msgSend_667( - this.pointer, - _lib._sel_setCompletedUnitCount_1, - value, - ); + return _objc_msgSend_667(this.pointer, _sel_setCompletedUnitCount_, value); } NSString get localizedDescription { - final _ret = _lib._objc_msgSend_21( - this.pointer, - _lib._sel_localizedDescription1, - ); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_localizedDescription); + return NSString._(_ret, retain: true, release: true); } set localizedDescription(NSString value) { - return _lib._objc_msgSend_646( - this.pointer, - _lib._sel_setLocalizedDescription_1, - value.pointer, - ); + return _objc_msgSend_646( + this.pointer, _sel_setLocalizedDescription_, value.pointer); } NSString get localizedAdditionalDescription { - final _ret = _lib._objc_msgSend_21( - this.pointer, - _lib._sel_localizedAdditionalDescription1, - ); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_21(this.pointer, _sel_localizedAdditionalDescription); + return NSString._(_ret, retain: true, release: true); } set localizedAdditionalDescription(NSString value) { - return _lib._objc_msgSend_646( - this.pointer, - _lib._sel_setLocalizedAdditionalDescription_1, - value.pointer, - ); + return _objc_msgSend_646( + this.pointer, _sel_setLocalizedAdditionalDescription_, value.pointer); } bool get cancellable { - return _lib._objc_msgSend_12(this.pointer, _lib._sel_isCancellable1); + return _objc_msgSend_12(this.pointer, _sel_isCancellable); } set cancellable(bool value) { - return _lib._objc_msgSend_527( - this.pointer, - _lib._sel_setCancellable_1, - value, - ); + return _objc_msgSend_527(this.pointer, _sel_setCancellable_, value); } bool get pausable { - return _lib._objc_msgSend_12(this.pointer, _lib._sel_isPausable1); + return _objc_msgSend_12(this.pointer, _sel_isPausable); } set pausable(bool value) { - return _lib._objc_msgSend_527(this.pointer, _lib._sel_setPausable_1, value); + return _objc_msgSend_527(this.pointer, _sel_setPausable_, value); } bool get cancelled { - return _lib._objc_msgSend_12(this.pointer, _lib._sel_isCancelled1); + return _objc_msgSend_12(this.pointer, _sel_isCancelled); } bool get paused { - return _lib._objc_msgSend_12(this.pointer, _lib._sel_isPaused1); + return _objc_msgSend_12(this.pointer, _sel_isPaused); } ObjCBlock_ffiVoid? get cancellationHandler { - final _ret = _lib._objc_msgSend_668( - this.pointer, - _lib._sel_cancellationHandler1, - ); + final _ret = _objc_msgSend_668(this.pointer, _sel_cancellationHandler); return _ret.address == 0 ? null - : ObjCBlock_ffiVoid._(_ret, _lib, retain: true, release: true); + : ObjCBlock_ffiVoid._(_ret, retain: true, release: true); } set cancellationHandler(ObjCBlock_ffiVoid? value) { - return _lib._objc_msgSend_669( - this.pointer, - _lib._sel_setCancellationHandler_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_669(this.pointer, _sel_setCancellationHandler_, + value?.pointer ?? ffi.nullptr); } ObjCBlock_ffiVoid? get pausingHandler { - final _ret = _lib._objc_msgSend_668( - this.pointer, - _lib._sel_pausingHandler1, - ); + final _ret = _objc_msgSend_668(this.pointer, _sel_pausingHandler); return _ret.address == 0 ? null - : ObjCBlock_ffiVoid._(_ret, _lib, retain: true, release: true); + : ObjCBlock_ffiVoid._(_ret, retain: true, release: true); } set pausingHandler(ObjCBlock_ffiVoid? value) { - return _lib._objc_msgSend_669( - this.pointer, - _lib._sel_setPausingHandler_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_669( + this.pointer, _sel_setPausingHandler_, value?.pointer ?? ffi.nullptr); } ObjCBlock_ffiVoid? get resumingHandler { - final _ret = _lib._objc_msgSend_668( - this.pointer, - _lib._sel_resumingHandler1, - ); + final _ret = _objc_msgSend_668(this.pointer, _sel_resumingHandler); return _ret.address == 0 ? null - : ObjCBlock_ffiVoid._(_ret, _lib, retain: true, release: true); + : ObjCBlock_ffiVoid._(_ret, retain: true, release: true); } set resumingHandler(ObjCBlock_ffiVoid? value) { - return _lib._objc_msgSend_669( - this.pointer, - _lib._sel_setResumingHandler_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_669( + this.pointer, _sel_setResumingHandler_, value?.pointer ?? ffi.nullptr); } void setUserInfoObject_forKey_(NSObject? objectOrNil, NSString key) { - _lib._objc_msgSend_135( - this.pointer, - _lib._sel_setUserInfoObject_forKey_1, - objectOrNil?.pointer ?? ffi.nullptr, - key.pointer, - ); + _objc_msgSend_135(this.pointer, _sel_setUserInfoObject_forKey_, + objectOrNil?.pointer ?? ffi.nullptr, key.pointer); } bool get indeterminate { - return _lib._objc_msgSend_12(this.pointer, _lib._sel_isIndeterminate1); + return _objc_msgSend_12(this.pointer, _sel_isIndeterminate); } double get fractionCompleted { return objc.useMsgSendVariants - ? _lib._objc_msgSend_165_fpret( - this.pointer, - _lib._sel_fractionCompleted1, - ) - : _lib._objc_msgSend_165(this.pointer, _lib._sel_fractionCompleted1); + ? _objc_msgSend_165Fpret(this.pointer, _sel_fractionCompleted) + : _objc_msgSend_165(this.pointer, _sel_fractionCompleted); } bool get finished { - return _lib._objc_msgSend_12(this.pointer, _lib._sel_isFinished1); + return _objc_msgSend_12(this.pointer, _sel_isFinished); } void cancel() { - _lib._objc_msgSend_1(this.pointer, _lib._sel_cancel1); + _objc_msgSend_1(this.pointer, _sel_cancel); } void pause() { - _lib._objc_msgSend_1(this.pointer, _lib._sel_pause1); + _objc_msgSend_1(this.pointer, _sel_pause); } void resume() { - _lib._objc_msgSend_1(this.pointer, _lib._sel_resume1); + _objc_msgSend_1(this.pointer, _sel_resume); } NSObject get userInfo { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_userInfo1); - return NSObject._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_userInfo); + return NSObject._(_ret, retain: true, release: true); } NSString? get kind { - final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_kind1); + final _ret = _objc_msgSend_44(this.pointer, _sel_kind); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } set kind(NSString? value) { - return _lib._objc_msgSend_545( - this.pointer, - _lib._sel_setKind_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_545( + this.pointer, _sel_setKind_, value?.pointer ?? ffi.nullptr); } NSNumber? get estimatedTimeRemaining { - final _ret = _lib._objc_msgSend_215( - this.pointer, - _lib._sel_estimatedTimeRemaining1, - ); + final _ret = _objc_msgSend_215(this.pointer, _sel_estimatedTimeRemaining); return _ret.address == 0 ? null - : NSNumber._(_ret, _lib, retain: true, release: true); + : NSNumber._(_ret, retain: true, release: true); } set estimatedTimeRemaining(NSNumber? value) { - return _lib._objc_msgSend_670( - this.pointer, - _lib._sel_setEstimatedTimeRemaining_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_670(this.pointer, _sel_setEstimatedTimeRemaining_, + value?.pointer ?? ffi.nullptr); } NSNumber? get throughput { - final _ret = _lib._objc_msgSend_215(this.pointer, _lib._sel_throughput1); + final _ret = _objc_msgSend_215(this.pointer, _sel_throughput); return _ret.address == 0 ? null - : NSNumber._(_ret, _lib, retain: true, release: true); + : NSNumber._(_ret, retain: true, release: true); } set throughput(NSNumber? value) { - return _lib._objc_msgSend_670( - this.pointer, - _lib._sel_setThroughput_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_670( + this.pointer, _sel_setThroughput_, value?.pointer ?? ffi.nullptr); } NSString? get fileOperationKind { - final _ret = _lib._objc_msgSend_44( - this.pointer, - _lib._sel_fileOperationKind1, - ); + final _ret = _objc_msgSend_44(this.pointer, _sel_fileOperationKind); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } set fileOperationKind(NSString? value) { - return _lib._objc_msgSend_545( - this.pointer, - _lib._sel_setFileOperationKind_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_545(this.pointer, _sel_setFileOperationKind_, + value?.pointer ?? ffi.nullptr); } NSURL? get fileURL { - final _ret = _lib._objc_msgSend_45(this.pointer, _lib._sel_fileURL1); + final _ret = _objc_msgSend_45(this.pointer, _sel_fileURL); return _ret.address == 0 ? null - : NSURL._(_ret, _lib, retain: true, release: true); + : NSURL._(_ret, retain: true, release: true); } set fileURL(NSURL? value) { - return _lib._objc_msgSend_671( - this.pointer, - _lib._sel_setFileURL_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_671( + this.pointer, _sel_setFileURL_, value?.pointer ?? ffi.nullptr); } NSNumber? get fileTotalCount { - final _ret = _lib._objc_msgSend_215( - this.pointer, - _lib._sel_fileTotalCount1, - ); + final _ret = _objc_msgSend_215(this.pointer, _sel_fileTotalCount); return _ret.address == 0 ? null - : NSNumber._(_ret, _lib, retain: true, release: true); + : NSNumber._(_ret, retain: true, release: true); } set fileTotalCount(NSNumber? value) { - return _lib._objc_msgSend_670( - this.pointer, - _lib._sel_setFileTotalCount_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_670( + this.pointer, _sel_setFileTotalCount_, value?.pointer ?? ffi.nullptr); } NSNumber? get fileCompletedCount { - final _ret = _lib._objc_msgSend_215( - this.pointer, - _lib._sel_fileCompletedCount1, - ); + final _ret = _objc_msgSend_215(this.pointer, _sel_fileCompletedCount); return _ret.address == 0 ? null - : NSNumber._(_ret, _lib, retain: true, release: true); + : NSNumber._(_ret, retain: true, release: true); } set fileCompletedCount(NSNumber? value) { - return _lib._objc_msgSend_670( - this.pointer, - _lib._sel_setFileCompletedCount_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_670(this.pointer, _sel_setFileCompletedCount_, + value?.pointer ?? ffi.nullptr); } void publish() { - _lib._objc_msgSend_1(this.pointer, _lib._sel_publish1); + _objc_msgSend_1(this.pointer, _sel_publish); } void unpublish() { - _lib._objc_msgSend_1(this.pointer, _lib._sel_unpublish1); + _objc_msgSend_1(this.pointer, _sel_unpublish); } static NSObject addSubscriberForFileURL_withPublishingHandler_( - SwiftLibrary _lib, - NSURL url, - ObjCBlock_ffiVoid_NSProgress publishingHandler, - ) { - final _ret = _lib._objc_msgSend_672( - _lib._class_NSProgress1, - _lib._sel_addSubscriberForFileURL_withPublishingHandler_1, - url.pointer, - publishingHandler.pointer, - ); - return NSObject._(_ret, _lib, retain: true, release: true); - } - - static void removeSubscriber_(SwiftLibrary _lib, NSObject subscriber) { - _lib._objc_msgSend_15( - _lib._class_NSProgress1, - _lib._sel_removeSubscriber_1, - subscriber.pointer, - ); + NSURL url, ObjCBlock_ffiVoid_NSProgress publishingHandler) { + final _ret = _objc_msgSend_672( + _class_NSProgress, + _sel_addSubscriberForFileURL_withPublishingHandler_, + url.pointer, + publishingHandler.pointer); + return NSObject._(_ret, retain: true, release: true); + } + + static void removeSubscriber_(NSObject subscriber) { + _objc_msgSend_15( + _class_NSProgress, _sel_removeSubscriber_, subscriber.pointer); } bool get old { - return _lib._objc_msgSend_12(this.pointer, _lib._sel_isOld1); + return _objc_msgSend_12(this.pointer, _sel_isOld); } @override NSProgress init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSProgress._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSProgress._(_ret, retain: true, release: true); } - static NSProgress new1(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2(_lib._class_NSProgress1, _lib._sel_new1); - return NSProgress._(_ret, _lib, retain: false, release: true); + static NSProgress new1() { + final _ret = _objc_msgSend_2(_class_NSProgress, _sel_new); + return NSProgress._(_ret, retain: false, release: true); } - static NSProgress allocWithZone_( - SwiftLibrary _lib, - ffi.Pointer<_NSZone> zone, - ) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSProgress1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSProgress._(_ret, _lib, retain: false, release: true); + static NSProgress allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = _objc_msgSend_3(_class_NSProgress, _sel_allocWithZone_, zone); + return NSProgress._(_ret, retain: false, release: true); } - static NSProgress alloc(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSProgress1, - _lib._sel_alloc1, - ); - return NSProgress._(_ret, _lib, retain: false, release: true); + static NSProgress alloc() { + final _ret = _objc_msgSend_2(_class_NSProgress, _sel_alloc); + return NSProgress._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSProgress1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSProgress1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSProgress1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSProgress1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSProgress1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSProgress1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSProgress, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); } - static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSProgress1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSProgress1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSProgress1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSProgress, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); + } + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSProgress, _sel_accessInstanceVariablesDirectly); } -} + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSProgress, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSProgress, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSProgress, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); + } + + static void setKeys_triggerChangeNotificationsForDependentKey_( + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSProgress, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = _objc_msgSend_85( + _class_NSProgress, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = + _objc_msgSend_2(_class_NSProgress, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); + } +} + +late final _class_NSProgress = objc.getClass("NSProgress"); +late final _sel_currentProgress = objc.registerName("currentProgress"); +final _objc_msgSend_659 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_progressWithTotalUnitCount_ = + objc.registerName("progressWithTotalUnitCount:"); +final _objc_msgSend_660 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Int64 unitCount)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, int)>(); +late final _sel_discreteProgressWithTotalUnitCount_ = + objc.registerName("discreteProgressWithTotalUnitCount:"); +late final _sel_progressWithTotalUnitCount_parent_pendingUnitCount_ = + objc.registerName("progressWithTotalUnitCount:parent:pendingUnitCount:"); +final _objc_msgSend_661 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Int64 unitCount, + ffi.Pointer parent, + ffi.Int64 portionOfParentTotalUnitCount)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + int)>(); +late final _sel_initWithParent_userInfo_ = + objc.registerName("initWithParent:userInfo:"); +final _objc_msgSend_662 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer parentProgressOrNil, + ffi.Pointer userInfoOrNil)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_becomeCurrentWithPendingUnitCount_ = + objc.registerName("becomeCurrentWithPendingUnitCount:"); +final _objc_msgSend_663 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer obj, + ffi.Pointer sel, ffi.Int64 unitCount)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, int)>(); +late final _sel_performAsCurrentWithPendingUnitCount_usingBlock_ = + objc.registerName("performAsCurrentWithPendingUnitCount:usingBlock:"); +final _objc_msgSend_664 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Int64 unitCount, + ffi.Pointer work)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer)>(); +late final _sel_resignCurrent = objc.registerName("resignCurrent"); +late final _sel_addChild_withPendingUnitCount_ = + objc.registerName("addChild:withPendingUnitCount:"); +final _objc_msgSend_665 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer child, + ffi.Int64 inUnitCount)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int)>(); +late final _sel_totalUnitCount = objc.registerName("totalUnitCount"); +final _objc_msgSend_666 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Int64 Function(ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + int Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_setTotalUnitCount_ = objc.registerName("setTotalUnitCount:"); +final _objc_msgSend_667 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer obj, + ffi.Pointer sel, ffi.Int64 value)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, int)>(); +late final _sel_completedUnitCount = objc.registerName("completedUnitCount"); +late final _sel_setCompletedUnitCount_ = + objc.registerName("setCompletedUnitCount:"); +late final _sel_setLocalizedDescription_ = + objc.registerName("setLocalizedDescription:"); +late final _sel_localizedAdditionalDescription = + objc.registerName("localizedAdditionalDescription"); +late final _sel_setLocalizedAdditionalDescription_ = + objc.registerName("setLocalizedAdditionalDescription:"); +late final _sel_isCancellable = objc.registerName("isCancellable"); +late final _sel_setCancellable_ = objc.registerName("setCancellable:"); +late final _sel_isPausable = objc.registerName("isPausable"); +late final _sel_setPausable_ = objc.registerName("setPausable:"); +late final _sel_isPaused = objc.registerName("isPaused"); +late final _sel_cancellationHandler = objc.registerName("cancellationHandler"); +final _objc_msgSend_668 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_setCancellationHandler_ = + objc.registerName("setCancellationHandler:"); +final _objc_msgSend_669 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_pausingHandler = objc.registerName("pausingHandler"); +late final _sel_setPausingHandler_ = objc.registerName("setPausingHandler:"); +late final _sel_resumingHandler = objc.registerName("resumingHandler"); +late final _sel_setResumingHandler_ = objc.registerName("setResumingHandler:"); +late final _sel_setUserInfoObject_forKey_ = + objc.registerName("setUserInfoObject:forKey:"); +late final _sel_isIndeterminate = objc.registerName("isIndeterminate"); +late final _sel_fractionCompleted = objc.registerName("fractionCompleted"); +late final _sel_pause = objc.registerName("pause"); +late final _sel_resume = objc.registerName("resume"); +late final _sel_kind = objc.registerName("kind"); +late final _sel_setKind_ = objc.registerName("setKind:"); +late final _sel_estimatedTimeRemaining = + objc.registerName("estimatedTimeRemaining"); +late final _sel_setEstimatedTimeRemaining_ = + objc.registerName("setEstimatedTimeRemaining:"); +final _objc_msgSend_670 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_throughput = objc.registerName("throughput"); +late final _sel_setThroughput_ = objc.registerName("setThroughput:"); +late final _sel_fileOperationKind = objc.registerName("fileOperationKind"); +late final _sel_setFileOperationKind_ = + objc.registerName("setFileOperationKind:"); +late final _sel_fileURL = objc.registerName("fileURL"); +late final _sel_setFileURL_ = objc.registerName("setFileURL:"); +final _objc_msgSend_671 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_fileTotalCount = objc.registerName("fileTotalCount"); +late final _sel_setFileTotalCount_ = objc.registerName("setFileTotalCount:"); +late final _sel_fileCompletedCount = objc.registerName("fileCompletedCount"); +late final _sel_setFileCompletedCount_ = + objc.registerName("setFileCompletedCount:"); +late final _sel_publish = objc.registerName("publish"); +late final _sel_unpublish = objc.registerName("unpublish"); ffi.Pointer _ObjCBlock_ffiVoid_NSProgress_fnPtrTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, -) => + ffi.Pointer block, ffi.Pointer arg0) => block.ref.target .cast< ffi.NativeFunction< @@ -64475,44 +31130,29 @@ final _ObjCBlock_ffiVoid_NSProgress_closureRegistry = Function(ffi.Pointer)>{}; int _ObjCBlock_ffiVoid_NSProgress_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_ffiVoid_NSProgress_registerClosure( - ffi.Pointer Function(ffi.Pointer) fn, -) { + ffi.Pointer Function(ffi.Pointer) fn) { final id = ++_ObjCBlock_ffiVoid_NSProgress_closureRegistryIndex; _ObjCBlock_ffiVoid_NSProgress_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } ffi.Pointer _ObjCBlock_ffiVoid_NSProgress_closureTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, -) => + ffi.Pointer block, ffi.Pointer arg0) => _ObjCBlock_ffiVoid_NSProgress_closureRegistry[block.ref.target.address]!( - arg0, - ); + arg0); class ObjCBlock_ffiVoid_NSProgress extends objc.ObjCBlockBase { - ObjCBlock_ffiVoid_NSProgress._( - ffi.Pointer pointer, - this._lib, { - bool retain = false, - bool release = true, - }) : super(pointer, retain: retain, release: release); - - SwiftLibrary _lib; + ObjCBlock_ffiVoid_NSProgress._(ffi.Pointer pointer, + {bool retain = false, bool release = true}) + : super(pointer, retain: retain, release: release); /// Returns a block that wraps the given raw block pointer. static ObjCBlock_ffiVoid_NSProgress castFromPointer( - SwiftLibrary lib, - ffi.Pointer pointer, { - bool retain = false, - bool release = false, - }) { - return ObjCBlock_ffiVoid_NSProgress._( - pointer, - lib, - retain: retain, - release: release, - ); + ffi.Pointer pointer, + {bool retain = false, + bool release = false}) { + return ObjCBlock_ffiVoid_NSProgress._(pointer, + retain: retain, release: release); } /// Creates a block from a C function pointer. @@ -64521,23 +31161,19 @@ class ObjCBlock_ffiVoid_NSProgress extends objc.ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSProgress.fromFunctionPointer( - SwiftLibrary lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer arg0)>> - ptr, - ) : this._( - objc.newBlock( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(_ObjCBlock_ffiVoid_NSProgress_fnPtrTrampoline) - .cast(), - ptr.cast(), - ), - lib); + ffi.Pointer< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer arg0)>> + ptr) + : this._(objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer)>( + _ObjCBlock_ffiVoid_NSProgress_fnPtrTrampoline) + .cast(), + ptr.cast())); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -64546,75 +31182,67 @@ class ObjCBlock_ffiVoid_NSProgress extends objc.ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSProgress.fromFunction( - SwiftLibrary lib, - ObjCBlock_ffiVoid? Function(NSProgress) fn, - ) : this._( - objc.newBlock( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>(_ObjCBlock_ffiVoid_NSProgress_closureTrampoline) - .cast(), - _ObjCBlock_ffiVoid_NSProgress_registerClosure(( - ffi.Pointer arg0, - ) => - fn(NSProgress._( - arg0, - lib, - retain: true, - release: true, - ))?.retainAndReturnPointer() ?? - ffi.nullptr), - ), - lib); + ObjCBlock_ffiVoid? Function(NSProgress) fn) + : this._(objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer)>( + _ObjCBlock_ffiVoid_NSProgress_closureTrampoline) + .cast(), + _ObjCBlock_ffiVoid_NSProgress_registerClosure( + (ffi.Pointer arg0) => + fn(NSProgress._(arg0, retain: true, release: true)) + ?.retainAndReturnPointer() ?? + ffi.nullptr))); static ffi.Pointer? _dartFuncTrampoline; ObjCBlock_ffiVoid? call(NSProgress arg0) => pointer.ref.invoke .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer block, - ffi.Pointer arg0, - )>>() - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>()(pointer, arg0.pointer) + ffi.Pointer block, + ffi.Pointer arg0)>>() + .asFunction Function(ffi.Pointer, ffi.Pointer)>() + (pointer, arg0.pointer) .address == 0 ? null : ObjCBlock_ffiVoid._( - pointer.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer block, - ffi.Pointer arg0, - )>>() - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>()(pointer, arg0.pointer), - _lib, + pointer.ref.invoke.cast Function(ffi.Pointer block, ffi.Pointer arg0)>>().asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>()(pointer, arg0.pointer), retain: false, release: true); } +late final _sel_addSubscriberForFileURL_withPublishingHandler_ = + objc.registerName("addSubscriberForFileURL:withPublishingHandler:"); +final _objc_msgSend_672 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer url, + ffi.Pointer publishingHandler)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_removeSubscriber_ = objc.registerName("removeSubscriber:"); +late final _sel_isOld = objc.registerName("isOld"); void _ObjCBlock_ffiVoid_NSData_NSError_fnPtrTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Pointer arg1, -) => + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1) => block.ref.target .cast< ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - )>>() + ffi.Void Function(ffi.Pointer arg0, + ffi.Pointer arg1)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer)>()(arg0, arg1); @@ -64623,44 +31251,32 @@ final _ObjCBlock_ffiVoid_NSData_NSError_closureRegistry = , ffi.Pointer)>{}; int _ObjCBlock_ffiVoid_NSData_NSError_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_ffiVoid_NSData_NSError_registerClosure( - void Function(ffi.Pointer, ffi.Pointer) fn, -) { + void Function(ffi.Pointer, ffi.Pointer) + fn) { final id = ++_ObjCBlock_ffiVoid_NSData_NSError_closureRegistryIndex; _ObjCBlock_ffiVoid_NSData_NSError_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } void _ObjCBlock_ffiVoid_NSData_NSError_closureTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Pointer arg1, -) => + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1) => _ObjCBlock_ffiVoid_NSData_NSError_closureRegistry[ block.ref.target.address]!(arg0, arg1); class ObjCBlock_ffiVoid_NSData_NSError extends objc.ObjCBlockBase { - ObjCBlock_ffiVoid_NSData_NSError._( - ffi.Pointer pointer, - this._lib, { - bool retain = false, - bool release = true, - }) : super(pointer, retain: retain, release: release); - - SwiftLibrary _lib; + ObjCBlock_ffiVoid_NSData_NSError._(ffi.Pointer pointer, + {bool retain = false, bool release = true}) + : super(pointer, retain: retain, release: release); /// Returns a block that wraps the given raw block pointer. static ObjCBlock_ffiVoid_NSData_NSError castFromPointer( - SwiftLibrary lib, - ffi.Pointer pointer, { - bool retain = false, - bool release = false, - }) { - return ObjCBlock_ffiVoid_NSData_NSError._( - pointer, - lib, - retain: retain, - release: release, - ); + ffi.Pointer pointer, + {bool retain = false, + bool release = false}) { + return ObjCBlock_ffiVoid_NSData_NSError._(pointer, + retain: retain, release: release); } /// Creates a block from a C function pointer. @@ -64669,26 +31285,20 @@ class ObjCBlock_ffiVoid_NSData_NSError extends objc.ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSData_NSError.fromFunctionPointer( - SwiftLibrary lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - )>> - ptr, - ) : this._( - objc.newBlock( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(_ObjCBlock_ffiVoid_NSData_NSError_fnPtrTrampoline) - .cast(), - ptr.cast(), - ), - lib); + ffi.Pointer< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer arg0, + ffi.Pointer arg1)>> + ptr) + : this._(objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>( + _ObjCBlock_ffiVoid_NSData_NSError_fnPtrTrampoline) + .cast(), + ptr.cast())); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -64696,32 +31306,19 @@ class ObjCBlock_ffiVoid_NSData_NSError extends objc.ObjCBlockBase { /// This block must be invoked by native code running on the same thread as /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. - ObjCBlock_ffiVoid_NSData_NSError.fromFunction( - SwiftLibrary lib, - void Function(NSData?, NSError?) fn, - ) : this._( - objc.newBlock( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(_ObjCBlock_ffiVoid_NSData_NSError_closureTrampoline) - .cast(), - _ObjCBlock_ffiVoid_NSData_NSError_registerClosure(( - ffi.Pointer arg0, - ffi.Pointer arg1, - ) => - fn( - arg0.address == 0 - ? null - : NSData._(arg0, lib, retain: true, release: true), - arg1.address == 0 - ? null - : NSError._(arg1, lib, retain: true, release: true), - )), - ), - lib); + ObjCBlock_ffiVoid_NSData_NSError.fromFunction(void Function(NSData?, NSError?) fn) + : this._(objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>( + _ObjCBlock_ffiVoid_NSData_NSError_closureTrampoline) + .cast(), + _ObjCBlock_ffiVoid_NSData_NSError_registerClosure( + (ffi.Pointer arg0, ffi.Pointer arg1) => fn( + arg0.address == 0 ? null : NSData._(arg0, retain: true, release: true), + arg1.address == 0 ? null : NSError._(arg1, retain: true, release: true))))); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -64729,72 +31326,74 @@ class ObjCBlock_ffiVoid_NSData_NSError extends objc.ObjCBlockBase { /// This is based on FFI's NativeCallable.listener, and has the same /// capabilities and limitations. This block can be invoked from any thread, /// but only supports void functions, and is not run synchronously. See - /// NativeCallable.listener for more details. - /// - /// Note that unlike the default behavior of NativeCallable.listener, listener - /// blocks do not keep the isolate alive. - ObjCBlock_ffiVoid_NSData_NSError.listener( - SwiftLibrary lib, - void Function(NSData?, NSError?) fn, - ) : this._( - objc.newBlock( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>.listener( - _ObjCBlock_ffiVoid_NSData_NSError_closureTrampoline, - )..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSData_NSError_registerClosure(( - ffi.Pointer arg0, - ffi.Pointer arg1, - ) => - fn( - arg0.address == 0 - ? null - : NSData._(arg0, lib, retain: true, release: true), - arg1.address == 0 - ? null - : NSError._(arg1, lib, retain: true, release: true), - )), - ), - lib); + /// NativeCallable.listener for more details. + /// + /// Note that unlike the default behavior of NativeCallable.listener, listener + /// blocks do not keep the isolate alive. + ObjCBlock_ffiVoid_NSData_NSError.listener(void Function(NSData?, NSError?) fn) + : this._(objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>.listener( + _ObjCBlock_ffiVoid_NSData_NSError_closureTrampoline) + ..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSData_NSError_registerClosure( + (ffi.Pointer arg0, ffi.Pointer arg1) => fn( + arg0.address == 0 ? null : NSData._(arg0, retain: true, release: true), + arg1.address == 0 ? null : NSError._(arg1, retain: true, release: true))))); static ffi.NativeCallable< ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>? _dartFuncListenerTrampoline; + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>? _dartFuncListenerTrampoline; void call(NSData? arg0, NSError? arg1) => pointer.ref.invoke .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Pointer arg1, - )>>() + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1)>>() .asFunction< void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>()( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>()( pointer, arg0?.pointer ?? ffi.nullptr, arg1?.pointer ?? ffi.nullptr); } +late final _sel_registerDataRepresentationForTypeIdentifier_visibility_loadHandler_ = + objc.registerName( + "registerDataRepresentationForTypeIdentifier:visibility:loadHandler:"); +final _objc_msgSend_673 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer typeIdentifier, + ffi.Int32 visibility, + ffi.Pointer loadHandler)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer)>(); + abstract class NSItemProviderFileOptions { static const int NSItemProviderFileOptionOpenInPlace = 1; } ffi.Pointer _ObjCBlock_NSProgress_ffiVoidNSURLboolNSError_fnPtrTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, -) => + ffi.Pointer block, + ffi.Pointer arg0) => block.ref.target .cast< ffi.NativeFunction< @@ -64808,8 +31407,7 @@ final _ObjCBlock_NSProgress_ffiVoidNSURLboolNSError_closureRegistry = int _ObjCBlock_NSProgress_ffiVoidNSURLboolNSError_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_NSProgress_ffiVoidNSURLboolNSError_registerClosure( - ffi.Pointer Function(ffi.Pointer) fn, -) { + ffi.Pointer Function(ffi.Pointer) fn) { final id = ++_ObjCBlock_NSProgress_ffiVoidNSURLboolNSError_closureRegistryIndex; _ObjCBlock_NSProgress_ffiVoidNSURLboolNSError_closureRegistry[id] = fn; @@ -64818,35 +31416,25 @@ ffi.Pointer ffi.Pointer _ObjCBlock_NSProgress_ffiVoidNSURLboolNSError_closureTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, -) => + ffi.Pointer block, + ffi.Pointer arg0) => _ObjCBlock_NSProgress_ffiVoidNSURLboolNSError_closureRegistry[ block.ref.target.address]!(arg0); class ObjCBlock_NSProgress_ffiVoidNSURLboolNSError extends objc.ObjCBlockBase { ObjCBlock_NSProgress_ffiVoidNSURLboolNSError._( - ffi.Pointer pointer, - this._lib, { - bool retain = false, - bool release = true, - }) : super(pointer, retain: retain, release: release); - - SwiftLibrary _lib; + ffi.Pointer pointer, + {bool retain = false, + bool release = true}) + : super(pointer, retain: retain, release: release); /// Returns a block that wraps the given raw block pointer. static ObjCBlock_NSProgress_ffiVoidNSURLboolNSError castFromPointer( - SwiftLibrary lib, - ffi.Pointer pointer, { - bool retain = false, - bool release = false, - }) { - return ObjCBlock_NSProgress_ffiVoidNSURLboolNSError._( - pointer, - lib, - retain: retain, - release: release, - ); + ffi.Pointer pointer, + {bool retain = false, + bool release = false}) { + return ObjCBlock_NSProgress_ffiVoidNSURLboolNSError._(pointer, + retain: retain, release: release); } /// Creates a block from a C function pointer. @@ -64855,24 +31443,19 @@ class ObjCBlock_NSProgress_ffiVoidNSURLboolNSError extends objc.ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_NSProgress_ffiVoidNSURLboolNSError.fromFunctionPointer( - SwiftLibrary lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer arg0)>> - ptr, - ) : this._( - objc.newBlock( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Pointer< + ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>( - _ObjCBlock_NSProgress_ffiVoidNSURLboolNSError_fnPtrTrampoline, - ).cast(), - ptr.cast(), - ), - lib); + ffi.Pointer arg0)>> + ptr) + : this._(objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer)>( + _ObjCBlock_NSProgress_ffiVoidNSURLboolNSError_fnPtrTrampoline) + .cast(), + ptr.cast())); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -64881,136 +31464,86 @@ class ObjCBlock_NSProgress_ffiVoidNSURLboolNSError extends objc.ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_NSProgress_ffiVoidNSURLboolNSError.fromFunction( - SwiftLibrary lib, - NSProgress? Function(ObjCBlock_ffiVoid_NSURL_bool_NSError) fn, - ) : this._( - objc.newBlock( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>( - _ObjCBlock_NSProgress_ffiVoidNSURLboolNSError_closureTrampoline, - ).cast(), - _ObjCBlock_NSProgress_ffiVoidNSURLboolNSError_registerClosure(( - ffi.Pointer arg0, - ) => - fn(ObjCBlock_ffiVoid_NSURL_bool_NSError._( - arg0, - lib, - retain: true, - release: true, - ))?.retainAndReturnPointer() ?? - ffi.nullptr), - ), - lib); + NSProgress? Function(ObjCBlock_ffiVoid_NSURL_bool_NSError) fn) + : this._(objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer)>( + _ObjCBlock_NSProgress_ffiVoidNSURLboolNSError_closureTrampoline) + .cast(), + _ObjCBlock_NSProgress_ffiVoidNSURLboolNSError_registerClosure( + (ffi.Pointer arg0) => + fn(ObjCBlock_ffiVoid_NSURL_bool_NSError._(arg0, retain: true, release: true)) + ?.retainAndReturnPointer() ?? + ffi.nullptr))); static ffi.Pointer? _dartFuncTrampoline; - NSProgress? call(ObjCBlock_ffiVoid_NSURL_bool_NSError arg0) => - pointer.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer block, - ffi.Pointer arg0, - )>>() - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>()(pointer, arg0.pointer) - .address == - 0 - ? null - : NSProgress._( - pointer.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer block, - ffi.Pointer arg0, - )>>() - .asFunction< + NSProgress? call(ObjCBlock_ffiVoid_NSURL_bool_NSError arg0) => pointer.ref.invoke + .cast< + ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>()(pointer, arg0.pointer), - _lib, - retain: false, - release: true); + ffi.Pointer block, + ffi.Pointer arg0)>>() + .asFunction Function(ffi.Pointer, ffi.Pointer)>() + (pointer, arg0.pointer) + .address == + 0 + ? null + : NSProgress._( + pointer.ref.invoke.cast Function(ffi.Pointer block, ffi.Pointer arg0)>>().asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>()(pointer, arg0.pointer), + retain: false, + release: true); } void _ObjCBlock_ffiVoid_NSURL_bool_NSError_fnPtrTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, - bool arg1, - ffi.Pointer arg2, -) => + ffi.Pointer block, + ffi.Pointer arg0, + bool arg1, + ffi.Pointer arg2) => block.ref.target .cast< ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.Bool arg1, - ffi.Pointer arg2, - )>>() + ffi.Void Function(ffi.Pointer arg0, + ffi.Bool arg1, ffi.Pointer arg2)>>() .asFunction< - void Function( - ffi.Pointer, - bool, - ffi.Pointer, - )>()(arg0, arg1, arg2); + void Function(ffi.Pointer, bool, + ffi.Pointer)>()(arg0, arg1, arg2); final _ObjCBlock_ffiVoid_NSURL_bool_NSError_closureRegistry = , - bool, - ffi.Pointer, -)>{}; + ffi.Pointer, bool, ffi.Pointer)>{}; int _ObjCBlock_ffiVoid_NSURL_bool_NSError_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_ffiVoid_NSURL_bool_NSError_registerClosure( - void Function( - ffi.Pointer, - bool, - ffi.Pointer, - ) fn, -) { + void Function( + ffi.Pointer, bool, ffi.Pointer) + fn) { final id = ++_ObjCBlock_ffiVoid_NSURL_bool_NSError_closureRegistryIndex; _ObjCBlock_ffiVoid_NSURL_bool_NSError_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } void _ObjCBlock_ffiVoid_NSURL_bool_NSError_closureTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, - bool arg1, - ffi.Pointer arg2, -) => + ffi.Pointer block, + ffi.Pointer arg0, + bool arg1, + ffi.Pointer arg2) => _ObjCBlock_ffiVoid_NSURL_bool_NSError_closureRegistry[ block.ref.target.address]!(arg0, arg1, arg2); class ObjCBlock_ffiVoid_NSURL_bool_NSError extends objc.ObjCBlockBase { - ObjCBlock_ffiVoid_NSURL_bool_NSError._( - ffi.Pointer pointer, - this._lib, { - bool retain = false, - bool release = true, - }) : super(pointer, retain: retain, release: release); - - SwiftLibrary _lib; + ObjCBlock_ffiVoid_NSURL_bool_NSError._(ffi.Pointer pointer, + {bool retain = false, bool release = true}) + : super(pointer, retain: retain, release: release); /// Returns a block that wraps the given raw block pointer. static ObjCBlock_ffiVoid_NSURL_bool_NSError castFromPointer( - SwiftLibrary lib, - ffi.Pointer pointer, { - bool retain = false, - bool release = false, - }) { - return ObjCBlock_ffiVoid_NSURL_bool_NSError._( - pointer, - lib, - retain: retain, - release: release, - ); + ffi.Pointer pointer, + {bool retain = false, + bool release = false}) { + return ObjCBlock_ffiVoid_NSURL_bool_NSError._(pointer, + retain: retain, release: release); } /// Creates a block from a C function pointer. @@ -65019,28 +31552,22 @@ class ObjCBlock_ffiVoid_NSURL_bool_NSError extends objc.ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSURL_bool_NSError.fromFunctionPointer( - SwiftLibrary lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.Bool arg1, - ffi.Pointer arg2, - )>> - ptr, - ) : this._( + ffi.Pointer< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer arg0, + ffi.Bool arg1, ffi.Pointer arg2)>> + ptr) + : this._( objc.newBlock( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - ffi.Pointer, - )>(_ObjCBlock_ffiVoid_NSURL_bool_NSError_fnPtrTrampoline) - .cast(), - ptr.cast(), - ), - lib); + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.Pointer)>( + _ObjCBlock_ffiVoid_NSURL_bool_NSError_fnPtrTrampoline) + .cast(), + ptr.cast())); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -65049,35 +31576,20 @@ class ObjCBlock_ffiVoid_NSURL_bool_NSError extends objc.ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSURL_bool_NSError.fromFunction( - SwiftLibrary lib, - void Function(NSURL?, bool, NSError?) fn, - ) : this._( - objc.newBlock( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( + void Function(NSURL?, bool, NSError?) fn) + : this._(objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( ffi.Pointer, ffi.Pointer, ffi.Bool, - ffi.Pointer, - )>( - _ObjCBlock_ffiVoid_NSURL_bool_NSError_closureTrampoline) - .cast(), - _ObjCBlock_ffiVoid_NSURL_bool_NSError_registerClosure(( - ffi.Pointer arg0, - bool arg1, - ffi.Pointer arg2, - ) => - fn( - arg0.address == 0 - ? null - : NSURL._(arg0, lib, retain: true, release: true), - arg1, - arg2.address == 0 - ? null - : NSError._(arg2, lib, retain: true, release: true), - )), - ), - lib); + ffi.Pointer)>( + _ObjCBlock_ffiVoid_NSURL_bool_NSError_closureTrampoline) + .cast(), + _ObjCBlock_ffiVoid_NSURL_bool_NSError_registerClosure( + (ffi.Pointer arg0, bool arg1, + ffi.Pointer arg2) => + fn(arg0.address == 0 ? null : NSURL._(arg0, retain: true, release: true), arg1, arg2.address == 0 ? null : NSError._(arg2, retain: true, release: true))))); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -65089,81 +31601,128 @@ class ObjCBlock_ffiVoid_NSURL_bool_NSError extends objc.ObjCBlockBase { /// /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. - ObjCBlock_ffiVoid_NSURL_bool_NSError.listener( - SwiftLibrary lib, - void Function(NSURL?, bool, NSError?) fn, - ) : this._( - objc.newBlock( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - ffi.Pointer, - )>.listener( - _ObjCBlock_ffiVoid_NSURL_bool_NSError_closureTrampoline, - )..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSURL_bool_NSError_registerClosure(( - ffi.Pointer arg0, - bool arg1, - ffi.Pointer arg2, - ) => - fn( - arg0.address == 0 - ? null - : NSURL._(arg0, lib, retain: true, release: true), - arg1, - arg2.address == 0 - ? null - : NSError._(arg2, lib, retain: true, release: true), - )), - ), - lib); + ObjCBlock_ffiVoid_NSURL_bool_NSError.listener(void Function(NSURL?, bool, NSError?) fn) + : this._(objc.newBlock( + (_dartFuncListenerTrampoline ??= + ffi.NativeCallable, ffi.Pointer, ffi.Bool, ffi.Pointer)>.listener( + _ObjCBlock_ffiVoid_NSURL_bool_NSError_closureTrampoline) + ..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSURL_bool_NSError_registerClosure( + (ffi.Pointer arg0, bool arg1, + ffi.Pointer arg2) => + fn( + arg0.address == 0 + ? null + : NSURL._(arg0, retain: true, release: true), + arg1, + arg2.address == 0 + ? null + : NSError._(arg2, retain: true, release: true))))); static ffi.NativeCallable< ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - ffi.Pointer, - )>? _dartFuncListenerTrampoline; + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.Pointer)>? _dartFuncListenerTrampoline; void call(NSURL? arg0, bool arg1, NSError? arg2) => pointer.ref.invoke .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Bool arg1, - ffi.Pointer arg2, - )>>() + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Bool arg1, + ffi.Pointer arg2)>>() .asFunction< void Function( - ffi.Pointer, - ffi.Pointer, - bool, - ffi.Pointer, - )>()( - pointer, - arg0?.pointer ?? ffi.nullptr, - arg1, - arg2?.pointer ?? ffi.nullptr, - ); -} - + ffi.Pointer, + ffi.Pointer, + bool, + ffi.Pointer)>()(pointer, + arg0?.pointer ?? ffi.nullptr, arg1, arg2?.pointer ?? ffi.nullptr); +} + +late final _sel_registerFileRepresentationForTypeIdentifier_fileOptions_visibility_loadHandler_ = + objc.registerName( + "registerFileRepresentationForTypeIdentifier:fileOptions:visibility:loadHandler:"); +final _objc_msgSend_674 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer typeIdentifier, + ffi.Int32 fileOptions, + ffi.Int32 visibility, + ffi.Pointer loadHandler)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + int, + ffi.Pointer)>(); +late final _sel_registeredTypeIdentifiers = + objc.registerName("registeredTypeIdentifiers"); +late final _sel_registeredTypeIdentifiersWithFileOptions_ = + objc.registerName("registeredTypeIdentifiersWithFileOptions:"); +final _objc_msgSend_675 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Int32 fileOptions)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, int)>(); +late final _sel_hasItemConformingToTypeIdentifier_ = + objc.registerName("hasItemConformingToTypeIdentifier:"); +late final _sel_hasRepresentationConformingToTypeIdentifier_fileOptions_ = objc + .registerName("hasRepresentationConformingToTypeIdentifier:fileOptions:"); +final _objc_msgSend_676 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer typeIdentifier, + ffi.Int32 fileOptions)>>() + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int)>(); +late final _sel_loadDataRepresentationForTypeIdentifier_completionHandler_ = + objc.registerName( + "loadDataRepresentationForTypeIdentifier:completionHandler:"); +final _objc_msgSend_677 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer typeIdentifier, + ffi.Pointer completionHandler)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); void _ObjCBlock_ffiVoid_NSURL_NSError_fnPtrTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Pointer arg1, -) => + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1) => block.ref.target .cast< ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - )>>() + ffi.Void Function(ffi.Pointer arg0, + ffi.Pointer arg1)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer)>()(arg0, arg1); @@ -65172,44 +31731,32 @@ final _ObjCBlock_ffiVoid_NSURL_NSError_closureRegistry = , ffi.Pointer)>{}; int _ObjCBlock_ffiVoid_NSURL_NSError_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_ffiVoid_NSURL_NSError_registerClosure( - void Function(ffi.Pointer, ffi.Pointer) fn, -) { + void Function(ffi.Pointer, ffi.Pointer) + fn) { final id = ++_ObjCBlock_ffiVoid_NSURL_NSError_closureRegistryIndex; _ObjCBlock_ffiVoid_NSURL_NSError_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } void _ObjCBlock_ffiVoid_NSURL_NSError_closureTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Pointer arg1, -) => + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1) => _ObjCBlock_ffiVoid_NSURL_NSError_closureRegistry[block.ref.target.address]!( arg0, arg1); class ObjCBlock_ffiVoid_NSURL_NSError extends objc.ObjCBlockBase { - ObjCBlock_ffiVoid_NSURL_NSError._( - ffi.Pointer pointer, - this._lib, { - bool retain = false, - bool release = true, - }) : super(pointer, retain: retain, release: release); - - SwiftLibrary _lib; + ObjCBlock_ffiVoid_NSURL_NSError._(ffi.Pointer pointer, + {bool retain = false, bool release = true}) + : super(pointer, retain: retain, release: release); /// Returns a block that wraps the given raw block pointer. static ObjCBlock_ffiVoid_NSURL_NSError castFromPointer( - SwiftLibrary lib, - ffi.Pointer pointer, { - bool retain = false, - bool release = false, - }) { - return ObjCBlock_ffiVoid_NSURL_NSError._( - pointer, - lib, - retain: retain, - release: release, - ); + ffi.Pointer pointer, + {bool retain = false, + bool release = false}) { + return ObjCBlock_ffiVoid_NSURL_NSError._(pointer, + retain: retain, release: release); } /// Creates a block from a C function pointer. @@ -65218,26 +31765,20 @@ class ObjCBlock_ffiVoid_NSURL_NSError extends objc.ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSURL_NSError.fromFunctionPointer( - SwiftLibrary lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - )>> - ptr, - ) : this._( - objc.newBlock( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(_ObjCBlock_ffiVoid_NSURL_NSError_fnPtrTrampoline) - .cast(), - ptr.cast(), - ), - lib); + ffi.Pointer< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer arg0, + ffi.Pointer arg1)>> + ptr) + : this._(objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>( + _ObjCBlock_ffiVoid_NSURL_NSError_fnPtrTrampoline) + .cast(), + ptr.cast())); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -65245,32 +31786,18 @@ class ObjCBlock_ffiVoid_NSURL_NSError extends objc.ObjCBlockBase { /// This block must be invoked by native code running on the same thread as /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. - ObjCBlock_ffiVoid_NSURL_NSError.fromFunction( - SwiftLibrary lib, - void Function(NSURL?, NSError?) fn, - ) : this._( - objc.newBlock( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>(_ObjCBlock_ffiVoid_NSURL_NSError_closureTrampoline) - .cast(), - _ObjCBlock_ffiVoid_NSURL_NSError_registerClosure(( - ffi.Pointer arg0, - ffi.Pointer arg1, - ) => - fn( - arg0.address == 0 - ? null - : NSURL._(arg0, lib, retain: true, release: true), - arg1.address == 0 - ? null - : NSError._(arg1, lib, retain: true, release: true), - )), - ), - lib); + ObjCBlock_ffiVoid_NSURL_NSError.fromFunction(void Function(NSURL?, NSError?) fn) + : this._(objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>( + _ObjCBlock_ffiVoid_NSURL_NSError_closureTrampoline) + .cast(), + _ObjCBlock_ffiVoid_NSURL_NSError_registerClosure((ffi.Pointer arg0, ffi.Pointer arg1) => fn( + arg0.address == 0 ? null : NSURL._(arg0, retain: true, release: true), + arg1.address == 0 ? null : NSError._(arg1, retain: true, release: true))))); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -65282,64 +31809,98 @@ class ObjCBlock_ffiVoid_NSURL_NSError extends objc.ObjCBlockBase { /// /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. - ObjCBlock_ffiVoid_NSURL_NSError.listener( - SwiftLibrary lib, - void Function(NSURL?, NSError?) fn, - ) : this._( - objc.newBlock( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>.listener( - _ObjCBlock_ffiVoid_NSURL_NSError_closureTrampoline, - )..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSURL_NSError_registerClosure(( - ffi.Pointer arg0, - ffi.Pointer arg1, - ) => - fn( - arg0.address == 0 - ? null - : NSURL._(arg0, lib, retain: true, release: true), - arg1.address == 0 - ? null - : NSError._(arg1, lib, retain: true, release: true), - )), - ), - lib); + ObjCBlock_ffiVoid_NSURL_NSError.listener(void Function(NSURL?, NSError?) fn) + : this._(objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>.listener( + _ObjCBlock_ffiVoid_NSURL_NSError_closureTrampoline) + ..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSURL_NSError_registerClosure( + (ffi.Pointer arg0, ffi.Pointer arg1) => fn( + arg0.address == 0 ? null : NSURL._(arg0, retain: true, release: true), + arg1.address == 0 ? null : NSError._(arg1, retain: true, release: true))))); static ffi.NativeCallable< ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>? _dartFuncListenerTrampoline; + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>? _dartFuncListenerTrampoline; void call(NSURL? arg0, NSError? arg1) => pointer.ref.invoke .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Pointer arg1, - )>>() + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1)>>() .asFunction< void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>()( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>()( pointer, arg0?.pointer ?? ffi.nullptr, arg1?.pointer ?? ffi.nullptr); } +late final _sel_loadFileRepresentationForTypeIdentifier_completionHandler_ = + objc.registerName( + "loadFileRepresentationForTypeIdentifier:completionHandler:"); +final _objc_msgSend_678 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer typeIdentifier, + ffi.Pointer completionHandler)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_loadInPlaceFileRepresentationForTypeIdentifier_completionHandler_ = + objc.registerName( + "loadInPlaceFileRepresentationForTypeIdentifier:completionHandler:"); +final _objc_msgSend_679 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer typeIdentifier, + ffi.Pointer completionHandler)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_suggestedName = objc.registerName("suggestedName"); +late final _sel_setSuggestedName_ = objc.registerName("setSuggestedName:"); +late final _sel_registerObject_visibility_ = + objc.registerName("registerObject:visibility:"); +final _objc_msgSend_680 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer object, + ffi.Int32 visibility)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int)>(); ffi.Pointer _ObjCBlock_NSProgress_ffiVoidobjcObjCObjectNSError_fnPtrTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, -) => + ffi.Pointer block, + ffi.Pointer arg0) => block.ref.target .cast< ffi.NativeFunction< @@ -65353,8 +31914,7 @@ final _ObjCBlock_NSProgress_ffiVoidobjcObjCObjectNSError_closureRegistry = int _ObjCBlock_NSProgress_ffiVoidobjcObjCObjectNSError_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_NSProgress_ffiVoidobjcObjCObjectNSError_registerClosure( - ffi.Pointer Function(ffi.Pointer) fn, -) { + ffi.Pointer Function(ffi.Pointer) fn) { final id = ++_ObjCBlock_NSProgress_ffiVoidobjcObjCObjectNSError_closureRegistryIndex; _ObjCBlock_NSProgress_ffiVoidobjcObjCObjectNSError_closureRegistry[id] = fn; @@ -65363,36 +31923,26 @@ ffi.Pointer ffi.Pointer _ObjCBlock_NSProgress_ffiVoidobjcObjCObjectNSError_closureTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, -) => + ffi.Pointer block, + ffi.Pointer arg0) => _ObjCBlock_NSProgress_ffiVoidobjcObjCObjectNSError_closureRegistry[ block.ref.target.address]!(arg0); class ObjCBlock_NSProgress_ffiVoidobjcObjCObjectNSError extends objc.ObjCBlockBase { ObjCBlock_NSProgress_ffiVoidobjcObjCObjectNSError._( - ffi.Pointer pointer, - this._lib, { - bool retain = false, - bool release = true, - }) : super(pointer, retain: retain, release: release); - - SwiftLibrary _lib; + ffi.Pointer pointer, + {bool retain = false, + bool release = true}) + : super(pointer, retain: retain, release: release); /// Returns a block that wraps the given raw block pointer. static ObjCBlock_NSProgress_ffiVoidobjcObjCObjectNSError castFromPointer( - SwiftLibrary lib, - ffi.Pointer pointer, { - bool retain = false, - bool release = false, - }) { - return ObjCBlock_NSProgress_ffiVoidobjcObjCObjectNSError._( - pointer, - lib, - retain: retain, - release: release, - ); + ffi.Pointer pointer, + {bool retain = false, + bool release = false}) { + return ObjCBlock_NSProgress_ffiVoidobjcObjCObjectNSError._(pointer, + retain: retain, release: release); } /// Creates a block from a C function pointer. @@ -65401,24 +31951,19 @@ class ObjCBlock_NSProgress_ffiVoidobjcObjCObjectNSError /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_NSProgress_ffiVoidobjcObjCObjectNSError.fromFunctionPointer( - SwiftLibrary lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer arg0)>> - ptr, - ) : this._( - objc.newBlock( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Pointer< + ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>( - _ObjCBlock_NSProgress_ffiVoidobjcObjCObjectNSError_fnPtrTrampoline, - ).cast(), - ptr.cast(), - ), - lib); + ffi.Pointer arg0)>> + ptr) + : this._(objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer)>( + _ObjCBlock_NSProgress_ffiVoidobjcObjCObjectNSError_fnPtrTrampoline) + .cast(), + ptr.cast())); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -65427,78 +31972,49 @@ class ObjCBlock_NSProgress_ffiVoidobjcObjCObjectNSError /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_NSProgress_ffiVoidobjcObjCObjectNSError.fromFunction( - SwiftLibrary lib, - NSProgress? Function(ObjCBlock_ffiVoid_objcObjCObject_NSError) fn, - ) : this._( - objc.newBlock( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>( - _ObjCBlock_NSProgress_ffiVoidobjcObjCObjectNSError_closureTrampoline, - ).cast(), - _ObjCBlock_NSProgress_ffiVoidobjcObjCObjectNSError_registerClosure( - ( - ffi.Pointer arg0, - ) => - fn(ObjCBlock_ffiVoid_objcObjCObject_NSError._( - arg0, - lib, - retain: true, - release: true, - ))?.retainAndReturnPointer() ?? - ffi.nullptr), - ), - lib); + NSProgress? Function(ObjCBlock_ffiVoid_objcObjCObject_NSError) fn) + : this._(objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer)>( + _ObjCBlock_NSProgress_ffiVoidobjcObjCObjectNSError_closureTrampoline) + .cast(), + _ObjCBlock_NSProgress_ffiVoidobjcObjCObjectNSError_registerClosure( + (ffi.Pointer arg0) => + fn(ObjCBlock_ffiVoid_objcObjCObject_NSError._(arg0, retain: true, release: true)) + ?.retainAndReturnPointer() ?? + ffi.nullptr))); static ffi.Pointer? _dartFuncTrampoline; - NSProgress? call(ObjCBlock_ffiVoid_objcObjCObject_NSError arg0) => - pointer.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer block, - ffi.Pointer arg0, - )>>() - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>()(pointer, arg0.pointer) - .address == - 0 - ? null - : NSProgress._( - pointer.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer block, - ffi.Pointer arg0, - )>>() - .asFunction< + NSProgress? call(ObjCBlock_ffiVoid_objcObjCObject_NSError arg0) => pointer.ref.invoke + .cast< + ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - )>()(pointer, arg0.pointer), - _lib, - retain: false, - release: true); + ffi.Pointer block, + ffi.Pointer arg0)>>() + .asFunction Function(ffi.Pointer, ffi.Pointer)>() + (pointer, arg0.pointer) + .address == + 0 + ? null + : NSProgress._( + pointer.ref.invoke.cast Function(ffi.Pointer block, ffi.Pointer arg0)>>().asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>()(pointer, arg0.pointer), + retain: false, + release: true); } void _ObjCBlock_ffiVoid_objcObjCObject_NSError_fnPtrTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Pointer arg1, -) => + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1) => block.ref.target .cast< ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - )>>() + ffi.Void Function(ffi.Pointer arg0, + ffi.Pointer arg1)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer)>()(arg0, arg1); @@ -65507,44 +32023,34 @@ final _ObjCBlock_ffiVoid_objcObjCObject_NSError_closureRegistry = , ffi.Pointer)>{}; int _ObjCBlock_ffiVoid_objcObjCObject_NSError_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_ffiVoid_objcObjCObject_NSError_registerClosure( - void Function(ffi.Pointer, ffi.Pointer) fn, -) { + void Function(ffi.Pointer, ffi.Pointer) + fn) { final id = ++_ObjCBlock_ffiVoid_objcObjCObject_NSError_closureRegistryIndex; _ObjCBlock_ffiVoid_objcObjCObject_NSError_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } void _ObjCBlock_ffiVoid_objcObjCObject_NSError_closureTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Pointer arg1, -) => + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1) => _ObjCBlock_ffiVoid_objcObjCObject_NSError_closureRegistry[ block.ref.target.address]!(arg0, arg1); class ObjCBlock_ffiVoid_objcObjCObject_NSError extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_objcObjCObject_NSError._( - ffi.Pointer pointer, - this._lib, { - bool retain = false, - bool release = true, - }) : super(pointer, retain: retain, release: release); - - SwiftLibrary _lib; + ffi.Pointer pointer, + {bool retain = false, + bool release = true}) + : super(pointer, retain: retain, release: release); /// Returns a block that wraps the given raw block pointer. static ObjCBlock_ffiVoid_objcObjCObject_NSError castFromPointer( - SwiftLibrary lib, - ffi.Pointer pointer, { - bool retain = false, - bool release = false, - }) { - return ObjCBlock_ffiVoid_objcObjCObject_NSError._( - pointer, - lib, - retain: retain, - release: release, - ); + ffi.Pointer pointer, + {bool retain = false, + bool release = false}) { + return ObjCBlock_ffiVoid_objcObjCObject_NSError._(pointer, + retain: retain, release: release); } /// Creates a block from a C function pointer. @@ -65553,27 +32059,22 @@ class ObjCBlock_ffiVoid_objcObjCObject_NSError extends objc.ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_objcObjCObject_NSError.fromFunctionPointer( - SwiftLibrary lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - )>> - ptr, - ) : this._( - objc.newBlock( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( + ffi + .Pointer< + ffi + .NativeFunction< + ffi.Void Function(ffi.Pointer arg0, + ffi.Pointer arg1)>> + ptr) + : this._(objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( ffi.Pointer, ffi.Pointer, - ffi.Pointer, - )>( - _ObjCBlock_ffiVoid_objcObjCObject_NSError_fnPtrTrampoline) - .cast(), - ptr.cast(), - ), - lib); + ffi.Pointer)>( + _ObjCBlock_ffiVoid_objcObjCObject_NSError_fnPtrTrampoline) + .cast(), + ptr.cast())); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -65582,32 +32083,20 @@ class ObjCBlock_ffiVoid_objcObjCObject_NSError extends objc.ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_objcObjCObject_NSError.fromFunction( - SwiftLibrary lib, - void Function(NSObject?, NSError?) fn, - ) : this._( - objc.newBlock( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>( - _ObjCBlock_ffiVoid_objcObjCObject_NSError_closureTrampoline, - ).cast(), - _ObjCBlock_ffiVoid_objcObjCObject_NSError_registerClosure(( - ffi.Pointer arg0, - ffi.Pointer arg1, - ) => - fn( + void Function(NSObject?, NSError?) fn) + : this._(objc.newBlock( + _dartFuncTrampoline ??= + ffi.Pointer.fromFunction, ffi.Pointer, ffi.Pointer)>( + _ObjCBlock_ffiVoid_objcObjCObject_NSError_closureTrampoline) + .cast(), + _ObjCBlock_ffiVoid_objcObjCObject_NSError_registerClosure( + (ffi.Pointer arg0, ffi.Pointer arg1) => fn( arg0.address == 0 ? null - : NSObject._(arg0, lib, retain: true, release: true), + : NSObject._(arg0, retain: true, release: true), arg1.address == 0 ? null - : NSError._(arg1, lib, retain: true, release: true), - )), - ), - lib); + : NSError._(arg1, retain: true, release: true))))); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -65620,96 +32109,126 @@ class ObjCBlock_ffiVoid_objcObjCObject_NSError extends objc.ObjCBlockBase { /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. ObjCBlock_ffiVoid_objcObjCObject_NSError.listener( - SwiftLibrary lib, - void Function(NSObject?, NSError?) fn, - ) : this._( - objc.newBlock( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>.listener( - _ObjCBlock_ffiVoid_objcObjCObject_NSError_closureTrampoline, - )..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_objcObjCObject_NSError_registerClosure(( - ffi.Pointer arg0, - ffi.Pointer arg1, - ) => - fn( - arg0.address == 0 - ? null - : NSObject._(arg0, lib, retain: true, release: true), - arg1.address == 0 - ? null - : NSError._(arg1, lib, retain: true, release: true), - )), - ), - lib); + void Function(NSObject?, NSError?) fn) + : this._(objc.newBlock( + (_dartFuncListenerTrampoline ??= + ffi.NativeCallable, ffi.Pointer, ffi.Pointer)>.listener( + _ObjCBlock_ffiVoid_objcObjCObject_NSError_closureTrampoline) + ..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_objcObjCObject_NSError_registerClosure( + (ffi.Pointer arg0, + ffi.Pointer arg1) => + fn( + arg0.address == 0 + ? null + : NSObject._(arg0, retain: true, release: true), + arg1.address == 0 + ? null + : NSError._(arg1, retain: true, release: true))))); static ffi.NativeCallable< ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>? _dartFuncListenerTrampoline; + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>? _dartFuncListenerTrampoline; void call(NSObject? arg0, NSError? arg1) => pointer.ref.invoke .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Pointer arg1, - )>>() + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1)>>() .asFunction< void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>()( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>()( pointer, arg0?.pointer ?? ffi.nullptr, arg1?.pointer ?? ffi.nullptr); } +late final _sel_registerObjectOfClass_visibility_loadHandler_ = + objc.registerName("registerObjectOfClass:visibility:loadHandler:"); +final _objc_msgSend_681 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer aClass, + ffi.Int32 visibility, + ffi.Pointer loadHandler)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer)>(); +late final _sel_canLoadObjectOfClass_ = + objc.registerName("canLoadObjectOfClass:"); +late final _sel_loadObjectOfClass_completionHandler_ = + objc.registerName("loadObjectOfClass:completionHandler:"); +final _objc_msgSend_682 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer aClass, + ffi.Pointer completionHandler)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_initWithItem_typeIdentifier_ = + objc.registerName("initWithItem:typeIdentifier:"); +final _objc_msgSend_683 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer item, + ffi.Pointer typeIdentifier)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); void _ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary_fnPtrTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2, -) => + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2) => block.ref.target .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2, - )>>() + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2)>>() .asFunction< void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>()(arg0, arg1, arg2); + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>()(arg0, arg1, arg2); final _ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary_closureRegistry = , - ffi.Pointer, - ffi.Pointer, -)>{}; + void Function(ffi.Pointer, ffi.Pointer, + ffi.Pointer)>{}; int _ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary_registerClosure( - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) fn, -) { + void Function(ffi.Pointer, ffi.Pointer, + ffi.Pointer) + fn) { final id = ++_ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary_closureRegistryIndex; _ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary_closureRegistry[ @@ -65717,42 +32236,28 @@ ffi.Pointer return ffi.Pointer.fromAddress(id); } -void - _ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary_closureTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2, -) => - _ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary_closureRegistry[ - block.ref.target.address]!(arg0, arg1, arg2); +void _ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary_closureTrampoline( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2) => + _ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary_closureRegistry[ + block.ref.target.address]!(arg0, arg1, arg2); class ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary._( - ffi.Pointer pointer, - this._lib, { - bool retain = false, - bool release = true, - }) : super(pointer, retain: retain, release: release); - - SwiftLibrary _lib; + ffi.Pointer pointer, + {bool retain = false, + bool release = true}) + : super(pointer, retain: retain, release: release); /// Returns a block that wraps the given raw block pointer. static ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary - castFromPointer( - SwiftLibrary lib, - ffi.Pointer pointer, { - bool retain = false, - bool release = false, - }) { + castFromPointer(ffi.Pointer pointer, + {bool retain = false, bool release = false}) { return ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary - ._( - pointer, - lib, - retain: retain, - release: release, - ); + ._(pointer, retain: retain, release: release); } /// Creates a block from a C function pointer. @@ -65761,29 +32266,23 @@ class ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary.fromFunctionPointer( - SwiftLibrary lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2, - )>> - ptr, - ) : this._( - objc.newBlock( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Pointer< + ffi.NativeFunction< ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>( - _ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary_fnPtrTrampoline, - ).cast(), - ptr.cast(), - ), - lib); + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2)>> + ptr) + : this._(objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>( + _ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary_fnPtrTrampoline) + .cast(), + ptr.cast())); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -65792,42 +32291,19 @@ class ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary.fromFunction( - SwiftLibrary lib, - void Function( - ObjCBlock_ffiVoid_objcObjCObject_NSError1, - NSObject, - NSDictionary, - ) fn, - ) : this._( - objc.newBlock( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>( - _ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary_closureTrampoline, - ).cast(), - _ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary_registerClosure( - ( - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2, - ) => + void Function(ObjCBlock_ffiVoid_objcObjCObject_NSError1, NSObject, NSDictionary) + fn) + : this._(objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction, ffi.Pointer, ffi.Pointer, ffi.Pointer)>(_ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary_closureTrampoline) + .cast(), + _ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary_registerClosure( + (ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2) => fn( - ObjCBlock_ffiVoid_objcObjCObject_NSError1._( - arg0, - lib, - retain: true, - release: true, - ), - NSObject._(arg1, lib, retain: true, release: true), - NSDictionary._(arg2, lib, retain: true, release: true), - ), - ), - ), - lib); + ObjCBlock_ffiVoid_objcObjCObject_NSError1._(arg0, retain: true, release: true), + NSObject._(arg1, retain: true, release: true), + NSDictionary._(arg2, retain: true, release: true))))); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -65840,87 +32316,57 @@ class ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary.listener( - SwiftLibrary lib, - void Function( - ObjCBlock_ffiVoid_objcObjCObject_NSError1, - NSObject, - NSDictionary, - ) fn, - ) : this._( - objc.newBlock( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>.listener( - _ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary_closureTrampoline, - )..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary_registerClosure( - ( - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2, - ) => + void Function(ObjCBlock_ffiVoid_objcObjCObject_NSError1, NSObject, NSDictionary) + fn) + : this._(objc.newBlock( + (_dartFuncListenerTrampoline ??= + ffi.NativeCallable, ffi.Pointer, ffi.Pointer, ffi.Pointer)>.listener(_ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary_closureTrampoline) + ..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_ffiVoidobjcObjCObjectNSError_objcObjCObject_NSDictionary_registerClosure( + (ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2) => fn( - ObjCBlock_ffiVoid_objcObjCObject_NSError1._( - arg0, - lib, - retain: true, - release: true, - ), - NSObject._(arg1, lib, retain: true, release: true), - NSDictionary._(arg2, lib, retain: true, release: true), - ), - ), - ), - lib); + ObjCBlock_ffiVoid_objcObjCObject_NSError1._(arg0, retain: true, release: true), + NSObject._(arg1, retain: true, release: true), + NSDictionary._(arg2, retain: true, release: true))))); static ffi.NativeCallable< ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>? _dartFuncListenerTrampoline; - - void call( - ObjCBlock_ffiVoid_objcObjCObject_NSError1 arg0, - NSObject arg1, - NSDictionary arg2, - ) => + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>? _dartFuncListenerTrampoline; + + void call(ObjCBlock_ffiVoid_objcObjCObject_NSError1 arg0, NSObject arg1, + NSDictionary arg2) => pointer.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2, - )>>() - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>()(pointer, arg0.pointer, arg1.pointer, arg2.pointer); + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>()( + pointer, arg0.pointer, arg1.pointer, arg2.pointer); } void _ObjCBlock_ffiVoid_objcObjCObject_NSError1_fnPtrTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Pointer arg1, -) => + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1) => block.ref.target .cast< ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - )>>() + ffi.Void Function(ffi.Pointer arg0, + ffi.Pointer arg1)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer)>()(arg0, arg1); @@ -65930,44 +32376,35 @@ final _ObjCBlock_ffiVoid_objcObjCObject_NSError1_closureRegistry = _ObjCBlock_ffiVoid_objcObjCObject_NSError1_registerClosure( - void Function(ffi.Pointer, ffi.Pointer) fn, -) { + void Function( + ffi.Pointer, ffi.Pointer) + fn) { final id = ++_ObjCBlock_ffiVoid_objcObjCObject_NSError1_closureRegistryIndex; _ObjCBlock_ffiVoid_objcObjCObject_NSError1_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } void _ObjCBlock_ffiVoid_objcObjCObject_NSError1_closureTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Pointer arg1, -) => + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1) => _ObjCBlock_ffiVoid_objcObjCObject_NSError1_closureRegistry[ block.ref.target.address]!(arg0, arg1); class ObjCBlock_ffiVoid_objcObjCObject_NSError1 extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_objcObjCObject_NSError1._( - ffi.Pointer pointer, - this._lib, { - bool retain = false, - bool release = true, - }) : super(pointer, retain: retain, release: release); - - SwiftLibrary _lib; + ffi.Pointer pointer, + {bool retain = false, + bool release = true}) + : super(pointer, retain: retain, release: release); /// Returns a block that wraps the given raw block pointer. static ObjCBlock_ffiVoid_objcObjCObject_NSError1 castFromPointer( - SwiftLibrary lib, - ffi.Pointer pointer, { - bool retain = false, - bool release = false, - }) { - return ObjCBlock_ffiVoid_objcObjCObject_NSError1._( - pointer, - lib, - retain: retain, - release: release, - ); + ffi.Pointer pointer, + {bool retain = false, + bool release = false}) { + return ObjCBlock_ffiVoid_objcObjCObject_NSError1._(pointer, + retain: retain, release: release); } /// Creates a block from a C function pointer. @@ -65976,27 +32413,20 @@ class ObjCBlock_ffiVoid_objcObjCObject_NSError1 extends objc.ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_objcObjCObject_NSError1.fromFunctionPointer( - SwiftLibrary lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - )>> - ptr, - ) : this._( - objc.newBlock( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>( - _ObjCBlock_ffiVoid_objcObjCObject_NSError1_fnPtrTrampoline, - ).cast(), - ptr.cast(), - ), - lib); + ffi.Pointer< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer arg0, + ffi.Pointer arg1)>> + ptr) + : this._(objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>( + _ObjCBlock_ffiVoid_objcObjCObject_NSError1_fnPtrTrampoline) + .cast(), + ptr.cast())); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -66005,30 +32435,19 @@ class ObjCBlock_ffiVoid_objcObjCObject_NSError1 extends objc.ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_objcObjCObject_NSError1.fromFunction( - SwiftLibrary lib, - void Function(NSObject?, NSError) fn, - ) : this._( - objc.newBlock( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>( - _ObjCBlock_ffiVoid_objcObjCObject_NSError1_closureTrampoline, - ).cast(), - _ObjCBlock_ffiVoid_objcObjCObject_NSError1_registerClosure(( - ffi.Pointer arg0, - ffi.Pointer arg1, - ) => - fn( - arg0.address == 0 - ? null - : NSObject._(arg0, lib, retain: true, release: true), - NSError._(arg1, lib, retain: true, release: true), - )), - ), - lib); + void Function(NSObject?, NSError) fn) + : this._(objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>( + _ObjCBlock_ffiVoid_objcObjCObject_NSError1_closureTrampoline) + .cast(), + _ObjCBlock_ffiVoid_objcObjCObject_NSError1_registerClosure( + (ffi.Pointer arg0, + ffi.Pointer arg1) => + fn(arg0.address == 0 ? null : NSObject._(arg0, retain: true, release: true), NSError._(arg1, retain: true, release: true))))); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -66040,2527 +32459,2397 @@ class ObjCBlock_ffiVoid_objcObjCObject_NSError1 extends objc.ObjCBlockBase { /// /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. - ObjCBlock_ffiVoid_objcObjCObject_NSError1.listener( - SwiftLibrary lib, - void Function(NSObject?, NSError) fn, - ) : this._( - objc.newBlock( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>.listener( - _ObjCBlock_ffiVoid_objcObjCObject_NSError1_closureTrampoline, - )..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_objcObjCObject_NSError1_registerClosure(( - ffi.Pointer arg0, - ffi.Pointer arg1, - ) => - fn( - arg0.address == 0 - ? null - : NSObject._(arg0, lib, retain: true, release: true), - NSError._(arg1, lib, retain: true, release: true), - )), - ), - lib); + ObjCBlock_ffiVoid_objcObjCObject_NSError1.listener(void Function(NSObject?, NSError) fn) + : this._(objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>.listener( + _ObjCBlock_ffiVoid_objcObjCObject_NSError1_closureTrampoline) + ..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_objcObjCObject_NSError1_registerClosure( + (ffi.Pointer arg0, ffi.Pointer arg1) => fn( + arg0.address == 0 ? null : NSObject._(arg0, retain: true, release: true), + NSError._(arg1, retain: true, release: true))))); static ffi.NativeCallable< ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>? _dartFuncListenerTrampoline; + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>? _dartFuncListenerTrampoline; void call(NSObject? arg0, NSError arg1) => pointer.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Pointer arg1, - )>>() - .asFunction< - void Function( - ffi.Pointer, + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>()( + pointer, arg0?.pointer ?? ffi.nullptr, arg1.pointer); +} + +late final _sel_registerItemForTypeIdentifier_loadHandler_ = + objc.registerName("registerItemForTypeIdentifier:loadHandler:"); +final _objc_msgSend_684 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer typeIdentifier, + ffi.Pointer loadHandler)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, ffi.Pointer, + ffi.Pointer)>(); +late final _sel_loadItemForTypeIdentifier_options_completionHandler_ = + objc.registerName("loadItemForTypeIdentifier:options:completionHandler:"); +final _objc_msgSend_685 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer typeIdentifier, + ffi.Pointer options, + ffi.Pointer completionHandler)>>() + .asFunction< + void Function( ffi.Pointer, - )>()(pointer, arg0?.pointer ?? ffi.nullptr, arg1.pointer); -} + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_previewImageHandler = objc.registerName("previewImageHandler"); +final _objc_msgSend_686 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_setPreviewImageHandler_ = + objc.registerName("setPreviewImageHandler:"); +final _objc_msgSend_687 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_loadPreviewImageWithOptions_completionHandler_ = + objc.registerName("loadPreviewImageWithOptions:completionHandler:"); +final _objc_msgSend_688 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer options, + ffi.Pointer completionHandler)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); class NSMutableString extends NSString { - NSMutableString._( - ffi.Pointer pointer, - SwiftLibrary lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSMutableString._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSMutableString] that points to the same underlying object as [other]. - static NSMutableString castFrom( - SwiftLibrary lib, - T other, - ) { - return NSMutableString._(other.pointer, lib, retain: true, release: true); + static NSMutableString castFrom(T other) { + return NSMutableString._(other.pointer, retain: true, release: true); } /// Returns a [NSMutableString] that wraps the given raw object pointer. - static NSMutableString castFromPointer( - SwiftLibrary lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSMutableString._(other, lib, retain: retain, release: release); + static NSMutableString castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSMutableString._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSMutableString]. - static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSMutableString1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0( + obj.pointer, _sel_isKindOfClass_, _class_NSMutableString); } void replaceCharactersInRange_withString_(_NSRange range, NSString aString) { - _lib._objc_msgSend_689( - this.pointer, - _lib._sel_replaceCharactersInRange_withString_1, - range, - aString.pointer, - ); + _objc_msgSend_689(this.pointer, _sel_replaceCharactersInRange_withString_, + range, aString.pointer); } void insertString_atIndex_(NSString aString, int loc) { - _lib._objc_msgSend_690( - this.pointer, - _lib._sel_insertString_atIndex_1, - aString.pointer, - loc, - ); + _objc_msgSend_690( + this.pointer, _sel_insertString_atIndex_, aString.pointer, loc); } void deleteCharactersInRange_(_NSRange range) { - _lib._objc_msgSend_476( - this.pointer, - _lib._sel_deleteCharactersInRange_1, - range, - ); + _objc_msgSend_476(this.pointer, _sel_deleteCharactersInRange_, range); } void appendString_(NSString aString) { - _lib._objc_msgSend_247( - this.pointer, - _lib._sel_appendString_1, - aString.pointer, - ); + _objc_msgSend_247(this.pointer, _sel_appendString_, aString.pointer); } void appendFormat_(NSString format) { - _lib._objc_msgSend_247( - this.pointer, - _lib._sel_appendFormat_1, - format.pointer, - ); + _objc_msgSend_247(this.pointer, _sel_appendFormat_, format.pointer); } void setString_(NSString aString) { - _lib._objc_msgSend_247( - this.pointer, - _lib._sel_setString_1, - aString.pointer, - ); - } - - int replaceOccurrencesOfString_withString_options_range_( - NSString target, - NSString replacement, - int options, - _NSRange searchRange, - ) { - return _lib._objc_msgSend_691( - this.pointer, - _lib._sel_replaceOccurrencesOfString_withString_options_range_1, - target.pointer, - replacement.pointer, - options, - searchRange, - ); - } - - bool applyTransform_reverse_range_updatedRange_( - NSString transform, - bool reverse, - _NSRange range, - ffi.Pointer<_NSRange> resultingRange, - ) { - return _lib._objc_msgSend_692( - this.pointer, - _lib._sel_applyTransform_reverse_range_updatedRange_1, - transform.pointer, - reverse, - range, - resultingRange, - ); + _objc_msgSend_247(this.pointer, _sel_setString_, aString.pointer); + } + + int replaceOccurrencesOfString_withString_options_range_(NSString target, + NSString replacement, int options, _NSRange searchRange) { + return _objc_msgSend_691( + this.pointer, + _sel_replaceOccurrencesOfString_withString_options_range_, + target.pointer, + replacement.pointer, + options, + searchRange); + } + + bool applyTransform_reverse_range_updatedRange_(NSString transform, + bool reverse, _NSRange range, ffi.Pointer<_NSRange> resultingRange) { + return _objc_msgSend_692( + this.pointer, + _sel_applyTransform_reverse_range_updatedRange_, + transform.pointer, + reverse, + range, + resultingRange); } NSMutableString initWithCapacity_(int capacity) { - final _ret = _lib._objc_msgSend_693( - this.pointer, - _lib._sel_initWithCapacity_1, - capacity, - ); - return NSMutableString._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_693(this.pointer, _sel_initWithCapacity_, capacity); + return NSMutableString._(_ret, retain: true, release: true); } - static NSMutableString stringWithCapacity_(SwiftLibrary _lib, int capacity) { - final _ret = _lib._objc_msgSend_693( - _lib._class_NSMutableString1, - _lib._sel_stringWithCapacity_1, - capacity, - ); - return NSMutableString._(_ret, _lib, retain: true, release: true); + static NSMutableString stringWithCapacity_(int capacity) { + final _ret = _objc_msgSend_693( + _class_NSMutableString, _sel_stringWithCapacity_, capacity); + return NSMutableString._(_ret, retain: true, release: true); } @override NSMutableString init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSMutableString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSMutableString._(_ret, retain: true, release: true); } @override NSMutableString? initWithCoder_(NSCoder coder) { - final _ret = _lib._objc_msgSend_47( - this.pointer, - _lib._sel_initWithCoder_1, - coder.pointer, - ); + final _ret = + _objc_msgSend_47(this.pointer, _sel_initWithCoder_, coder.pointer); return _ret.address == 0 ? null - : NSMutableString._(_ret, _lib, retain: true, release: true); + : NSMutableString._(_ret, retain: true, release: true); } - static ffi.Pointer getAvailableStringEncodings( - SwiftLibrary _lib, - ) { - return _lib._objc_msgSend_357( - _lib._class_NSMutableString1, - _lib._sel_availableStringEncodings1, - ); + static ffi.Pointer getAvailableStringEncodings() { + return _objc_msgSend_357( + _class_NSMutableString, _sel_availableStringEncodings); } - static NSString localizedNameOfStringEncoding_( - SwiftLibrary _lib, - int encoding, - ) { - final _ret = _lib._objc_msgSend_332( - _lib._class_NSMutableString1, - _lib._sel_localizedNameOfStringEncoding_1, - encoding, - ); - return NSString._(_ret, _lib, retain: true, release: true); + static NSString localizedNameOfStringEncoding_(int encoding) { + final _ret = _objc_msgSend_332( + _class_NSMutableString, _sel_localizedNameOfStringEncoding_, encoding); + return NSString._(_ret, retain: true, release: true); } - static int getDefaultCStringEncoding(SwiftLibrary _lib) { - return _lib._objc_msgSend_10( - _lib._class_NSMutableString1, - _lib._sel_defaultCStringEncoding1, - ); + static int getDefaultCStringEncoding() { + return _objc_msgSend_10( + _class_NSMutableString, _sel_defaultCStringEncoding); } @override NSMutableString initWithCharactersNoCopy_length_freeWhenDone_( - ffi.Pointer characters, - int length, - bool freeBuffer, - ) { - final _ret = _lib._objc_msgSend_369( - this.pointer, - _lib._sel_initWithCharactersNoCopy_length_freeWhenDone_1, - characters, - length, - freeBuffer, - ); - return NSMutableString._(_ret, _lib, retain: false, release: true); + ffi.Pointer characters, int length, bool freeBuffer) { + final _ret = _objc_msgSend_369( + this.pointer, + _sel_initWithCharactersNoCopy_length_freeWhenDone_, + characters, + length, + freeBuffer); + return NSMutableString._(_ret, retain: false, release: true); } @override NSMutableString initWithCharactersNoCopy_length_deallocator_( - ffi.Pointer chars, - int len, - ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong? deallocator, - ) { - final _ret = _lib._objc_msgSend_370( - this.pointer, - _lib._sel_initWithCharactersNoCopy_length_deallocator_1, - chars, - len, - deallocator?.pointer ?? ffi.nullptr, - ); - return NSMutableString._(_ret, _lib, retain: false, release: true); + ffi.Pointer chars, + int len, + ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong? deallocator) { + final _ret = _objc_msgSend_370( + this.pointer, + _sel_initWithCharactersNoCopy_length_deallocator_, + chars, + len, + deallocator?.pointer ?? ffi.nullptr); + return NSMutableString._(_ret, retain: false, release: true); } @override NSMutableString initWithCharacters_length_( - ffi.Pointer characters, - int length, - ) { - final _ret = _lib._objc_msgSend_371( - this.pointer, - _lib._sel_initWithCharacters_length_1, - characters, - length, - ); - return NSMutableString._(_ret, _lib, retain: true, release: true); + ffi.Pointer characters, int length) { + final _ret = _objc_msgSend_371( + this.pointer, _sel_initWithCharacters_length_, characters, length); + return NSMutableString._(_ret, retain: true, release: true); } @override NSMutableString? initWithUTF8String_( - ffi.Pointer nullTerminatedCString, - ) { - final _ret = _lib._objc_msgSend_372( - this.pointer, - _lib._sel_initWithUTF8String_1, - nullTerminatedCString, - ); + ffi.Pointer nullTerminatedCString) { + final _ret = _objc_msgSend_372( + this.pointer, _sel_initWithUTF8String_, nullTerminatedCString); return _ret.address == 0 ? null - : NSMutableString._(_ret, _lib, retain: true, release: true); + : NSMutableString._(_ret, retain: true, release: true); } @override NSMutableString initWithString_(NSString aString) { - final _ret = _lib._objc_msgSend_31( - this.pointer, - _lib._sel_initWithString_1, - aString.pointer, - ); - return NSMutableString._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_31(this.pointer, _sel_initWithString_, aString.pointer); + return NSMutableString._(_ret, retain: true, release: true); } @override NSMutableString initWithFormat_(NSString format) { - final _ret = _lib._objc_msgSend_31( - this.pointer, - _lib._sel_initWithFormat_1, - format.pointer, - ); - return NSMutableString._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_31(this.pointer, _sel_initWithFormat_, format.pointer); + return NSMutableString._(_ret, retain: true, release: true); } @override NSMutableString initWithFormat_arguments_( - NSString format, - ffi.Pointer<__va_list_tag> argList, - ) { - final _ret = _lib._objc_msgSend_373( - this.pointer, - _lib._sel_initWithFormat_arguments_1, - format.pointer, - argList, - ); - return NSMutableString._(_ret, _lib, retain: true, release: true); + NSString format, ffi.Pointer<__va_list_tag> argList) { + final _ret = _objc_msgSend_373( + this.pointer, _sel_initWithFormat_arguments_, format.pointer, argList); + return NSMutableString._(_ret, retain: true, release: true); } @override NSMutableString initWithFormat_locale_(NSString format, NSObject? locale) { - final _ret = _lib._objc_msgSend_374( - this.pointer, - _lib._sel_initWithFormat_locale_1, - format.pointer, - locale?.pointer ?? ffi.nullptr, - ); - return NSMutableString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_374(this.pointer, _sel_initWithFormat_locale_, + format.pointer, locale?.pointer ?? ffi.nullptr); + return NSMutableString._(_ret, retain: true, release: true); } @override NSMutableString initWithFormat_locale_arguments_( - NSString format, - NSObject? locale, - ffi.Pointer<__va_list_tag> argList, - ) { - final _ret = _lib._objc_msgSend_375( - this.pointer, - _lib._sel_initWithFormat_locale_arguments_1, - format.pointer, - locale?.pointer ?? ffi.nullptr, - argList, - ); - return NSMutableString._(_ret, _lib, retain: true, release: true); + NSString format, NSObject? locale, ffi.Pointer<__va_list_tag> argList) { + final _ret = _objc_msgSend_375( + this.pointer, + _sel_initWithFormat_locale_arguments_, + format.pointer, + locale?.pointer ?? ffi.nullptr, + argList); + return NSMutableString._(_ret, retain: true, release: true); } @override NSMutableString? initWithValidatedFormat_validFormatSpecifiers_error_( - NSString format, - NSString validFormatSpecifiers, - ffi.Pointer> error, - ) { - final _ret = _lib._objc_msgSend_376( - this.pointer, - _lib._sel_initWithValidatedFormat_validFormatSpecifiers_error_1, - format.pointer, - validFormatSpecifiers.pointer, - error, - ); + NSString format, + NSString validFormatSpecifiers, + ffi.Pointer> error) { + final _ret = _objc_msgSend_376( + this.pointer, + _sel_initWithValidatedFormat_validFormatSpecifiers_error_, + format.pointer, + validFormatSpecifiers.pointer, + error); return _ret.address == 0 ? null - : NSMutableString._(_ret, _lib, retain: true, release: true); + : NSMutableString._(_ret, retain: true, release: true); } @override NSMutableString? initWithValidatedFormat_validFormatSpecifiers_locale_error_( - NSString format, - NSString validFormatSpecifiers, - NSObject? locale, - ffi.Pointer> error, - ) { - final _ret = _lib._objc_msgSend_377( - this.pointer, - _lib._sel_initWithValidatedFormat_validFormatSpecifiers_locale_error_1, - format.pointer, - validFormatSpecifiers.pointer, - locale?.pointer ?? ffi.nullptr, - error, - ); + NSString format, + NSString validFormatSpecifiers, + NSObject? locale, + ffi.Pointer> error) { + final _ret = _objc_msgSend_377( + this.pointer, + _sel_initWithValidatedFormat_validFormatSpecifiers_locale_error_, + format.pointer, + validFormatSpecifiers.pointer, + locale?.pointer ?? ffi.nullptr, + error); return _ret.address == 0 ? null - : NSMutableString._(_ret, _lib, retain: true, release: true); + : NSMutableString._(_ret, retain: true, release: true); } @override NSMutableString? initWithValidatedFormat_validFormatSpecifiers_arguments_error_( - NSString format, - NSString validFormatSpecifiers, - ffi.Pointer<__va_list_tag> argList, - ffi.Pointer> error, - ) { - final _ret = _lib._objc_msgSend_378( - this.pointer, - _lib._sel_initWithValidatedFormat_validFormatSpecifiers_arguments_error_1, - format.pointer, - validFormatSpecifiers.pointer, - argList, - error, - ); + NSString format, + NSString validFormatSpecifiers, + ffi.Pointer<__va_list_tag> argList, + ffi.Pointer> error) { + final _ret = _objc_msgSend_378( + this.pointer, + _sel_initWithValidatedFormat_validFormatSpecifiers_arguments_error_, + format.pointer, + validFormatSpecifiers.pointer, + argList, + error); return _ret.address == 0 ? null - : NSMutableString._(_ret, _lib, retain: true, release: true); + : NSMutableString._(_ret, retain: true, release: true); } @override NSMutableString? initWithValidatedFormat_validFormatSpecifiers_locale_arguments_error_( - NSString format, - NSString validFormatSpecifiers, - NSObject? locale, - ffi.Pointer<__va_list_tag> argList, - ffi.Pointer> error, - ) { - final _ret = _lib._objc_msgSend_379( - this.pointer, - _lib._sel_initWithValidatedFormat_validFormatSpecifiers_locale_arguments_error_1, - format.pointer, - validFormatSpecifiers.pointer, - locale?.pointer ?? ffi.nullptr, - argList, - error, - ); - return _ret.address == 0 - ? null - : NSMutableString._(_ret, _lib, retain: true, release: true); + NSString format, + NSString validFormatSpecifiers, + NSObject? locale, + ffi.Pointer<__va_list_tag> argList, + ffi.Pointer> error) { + final _ret = _objc_msgSend_379( + this.pointer, + _sel_initWithValidatedFormat_validFormatSpecifiers_locale_arguments_error_, + format.pointer, + validFormatSpecifiers.pointer, + locale?.pointer ?? ffi.nullptr, + argList, + error); + return _ret.address == 0 + ? null + : NSMutableString._(_ret, retain: true, release: true); } @override NSMutableString? initWithData_encoding_(NSData data, int encoding) { - final _ret = _lib._objc_msgSend_380( - this.pointer, - _lib._sel_initWithData_encoding_1, - data.pointer, - encoding, - ); + final _ret = _objc_msgSend_380( + this.pointer, _sel_initWithData_encoding_, data.pointer, encoding); return _ret.address == 0 ? null - : NSMutableString._(_ret, _lib, retain: true, release: true); + : NSMutableString._(_ret, retain: true, release: true); } @override NSMutableString? initWithBytes_length_encoding_( - ffi.Pointer bytes, - int len, - int encoding, - ) { - final _ret = _lib._objc_msgSend_381( - this.pointer, - _lib._sel_initWithBytes_length_encoding_1, - bytes, - len, - encoding, - ); + ffi.Pointer bytes, int len, int encoding) { + final _ret = _objc_msgSend_381(this.pointer, + _sel_initWithBytes_length_encoding_, bytes, len, encoding); return _ret.address == 0 ? null - : NSMutableString._(_ret, _lib, retain: true, release: true); + : NSMutableString._(_ret, retain: true, release: true); } @override NSMutableString? initWithBytesNoCopy_length_encoding_freeWhenDone_( - ffi.Pointer bytes, - int len, - int encoding, - bool freeBuffer, - ) { - final _ret = _lib._objc_msgSend_382( - this.pointer, - _lib._sel_initWithBytesNoCopy_length_encoding_freeWhenDone_1, - bytes, - len, - encoding, - freeBuffer, - ); + ffi.Pointer bytes, int len, int encoding, bool freeBuffer) { + final _ret = _objc_msgSend_382( + this.pointer, + _sel_initWithBytesNoCopy_length_encoding_freeWhenDone_, + bytes, + len, + encoding, + freeBuffer); return _ret.address == 0 ? null - : NSMutableString._(_ret, _lib, retain: false, release: true); + : NSMutableString._(_ret, retain: false, release: true); } @override NSMutableString? initWithBytesNoCopy_length_encoding_deallocator_( - ffi.Pointer bytes, - int len, - int encoding, - ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong? deallocator, - ) { - final _ret = _lib._objc_msgSend_383( - this.pointer, - _lib._sel_initWithBytesNoCopy_length_encoding_deallocator_1, - bytes, - len, - encoding, - deallocator?.pointer ?? ffi.nullptr, - ); + ffi.Pointer bytes, + int len, + int encoding, + ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong? deallocator) { + final _ret = _objc_msgSend_383( + this.pointer, + _sel_initWithBytesNoCopy_length_encoding_deallocator_, + bytes, + len, + encoding, + deallocator?.pointer ?? ffi.nullptr); return _ret.address == 0 ? null - : NSMutableString._(_ret, _lib, retain: false, release: true); + : NSMutableString._(_ret, retain: false, release: true); } - static NSMutableString string(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSMutableString1, - _lib._sel_string1, - ); - return NSMutableString._(_ret, _lib, retain: true, release: true); + static NSMutableString string() { + final _ret = _objc_msgSend_2(_class_NSMutableString, _sel_string); + return NSMutableString._(_ret, retain: true, release: true); } - static NSMutableString stringWithString_(SwiftLibrary _lib, NSString string) { - final _ret = _lib._objc_msgSend_31( - _lib._class_NSMutableString1, - _lib._sel_stringWithString_1, - string.pointer, - ); - return NSMutableString._(_ret, _lib, retain: true, release: true); + static NSMutableString stringWithString_(NSString string) { + final _ret = _objc_msgSend_31( + _class_NSMutableString, _sel_stringWithString_, string.pointer); + return NSMutableString._(_ret, retain: true, release: true); } static NSMutableString stringWithCharacters_length_( - SwiftLibrary _lib, - ffi.Pointer characters, - int length, - ) { - final _ret = _lib._objc_msgSend_371( - _lib._class_NSMutableString1, - _lib._sel_stringWithCharacters_length_1, - characters, - length, - ); - return NSMutableString._(_ret, _lib, retain: true, release: true); + ffi.Pointer characters, int length) { + final _ret = _objc_msgSend_371(_class_NSMutableString, + _sel_stringWithCharacters_length_, characters, length); + return NSMutableString._(_ret, retain: true, release: true); } static NSMutableString? stringWithUTF8String_( - SwiftLibrary _lib, - ffi.Pointer nullTerminatedCString, - ) { - final _ret = _lib._objc_msgSend_372( - _lib._class_NSMutableString1, - _lib._sel_stringWithUTF8String_1, - nullTerminatedCString, - ); + ffi.Pointer nullTerminatedCString) { + final _ret = _objc_msgSend_372(_class_NSMutableString, + _sel_stringWithUTF8String_, nullTerminatedCString); return _ret.address == 0 ? null - : NSMutableString._(_ret, _lib, retain: true, release: true); + : NSMutableString._(_ret, retain: true, release: true); } - static NSMutableString stringWithFormat_(SwiftLibrary _lib, NSString format) { - final _ret = _lib._objc_msgSend_31( - _lib._class_NSMutableString1, - _lib._sel_stringWithFormat_1, - format.pointer, - ); - return NSMutableString._(_ret, _lib, retain: true, release: true); + static NSMutableString stringWithFormat_(NSString format) { + final _ret = _objc_msgSend_31( + _class_NSMutableString, _sel_stringWithFormat_, format.pointer); + return NSMutableString._(_ret, retain: true, release: true); } - static NSMutableString localizedStringWithFormat_( - SwiftLibrary _lib, - NSString format, - ) { - final _ret = _lib._objc_msgSend_31( - _lib._class_NSMutableString1, - _lib._sel_localizedStringWithFormat_1, - format.pointer, - ); - return NSMutableString._(_ret, _lib, retain: true, release: true); + static NSMutableString localizedStringWithFormat_(NSString format) { + final _ret = _objc_msgSend_31(_class_NSMutableString, + _sel_localizedStringWithFormat_, format.pointer); + return NSMutableString._(_ret, retain: true, release: true); } static NSMutableString? stringWithValidatedFormat_validFormatSpecifiers_error_( - SwiftLibrary _lib, - NSString format, - NSString validFormatSpecifiers, - ffi.Pointer> error, - ) { - final _ret = _lib._objc_msgSend_376( - _lib._class_NSMutableString1, - _lib._sel_stringWithValidatedFormat_validFormatSpecifiers_error_1, - format.pointer, - validFormatSpecifiers.pointer, - error, - ); + NSString format, + NSString validFormatSpecifiers, + ffi.Pointer> error) { + final _ret = _objc_msgSend_376( + _class_NSMutableString, + _sel_stringWithValidatedFormat_validFormatSpecifiers_error_, + format.pointer, + validFormatSpecifiers.pointer, + error); return _ret.address == 0 ? null - : NSMutableString._(_ret, _lib, retain: true, release: true); + : NSMutableString._(_ret, retain: true, release: true); } static NSMutableString? localizedStringWithValidatedFormat_validFormatSpecifiers_error_( - SwiftLibrary _lib, - NSString format, - NSString validFormatSpecifiers, - ffi.Pointer> error, - ) { - final _ret = _lib._objc_msgSend_376( - _lib._class_NSMutableString1, - _lib._sel_localizedStringWithValidatedFormat_validFormatSpecifiers_error_1, - format.pointer, - validFormatSpecifiers.pointer, - error, - ); + NSString format, + NSString validFormatSpecifiers, + ffi.Pointer> error) { + final _ret = _objc_msgSend_376( + _class_NSMutableString, + _sel_localizedStringWithValidatedFormat_validFormatSpecifiers_error_, + format.pointer, + validFormatSpecifiers.pointer, + error); return _ret.address == 0 ? null - : NSMutableString._(_ret, _lib, retain: true, release: true); + : NSMutableString._(_ret, retain: true, release: true); } @override NSMutableString? initWithCString_encoding_( - ffi.Pointer nullTerminatedCString, - int encoding, - ) { - final _ret = _lib._objc_msgSend_384( - this.pointer, - _lib._sel_initWithCString_encoding_1, - nullTerminatedCString, - encoding, - ); + ffi.Pointer nullTerminatedCString, int encoding) { + final _ret = _objc_msgSend_384(this.pointer, _sel_initWithCString_encoding_, + nullTerminatedCString, encoding); return _ret.address == 0 ? null - : NSMutableString._(_ret, _lib, retain: true, release: true); + : NSMutableString._(_ret, retain: true, release: true); } static NSMutableString? stringWithCString_encoding_( - SwiftLibrary _lib, - ffi.Pointer cString, - int enc, - ) { - final _ret = _lib._objc_msgSend_384( - _lib._class_NSMutableString1, - _lib._sel_stringWithCString_encoding_1, - cString, - enc, - ); + ffi.Pointer cString, int enc) { + final _ret = _objc_msgSend_384( + _class_NSMutableString, _sel_stringWithCString_encoding_, cString, enc); return _ret.address == 0 ? null - : NSMutableString._(_ret, _lib, retain: true, release: true); + : NSMutableString._(_ret, retain: true, release: true); } @override NSMutableString? initWithContentsOfURL_encoding_error_( - NSURL url, - int enc, - ffi.Pointer> error, - ) { - final _ret = _lib._objc_msgSend_385( - this.pointer, - _lib._sel_initWithContentsOfURL_encoding_error_1, - url.pointer, - enc, - error, - ); + NSURL url, int enc, ffi.Pointer> error) { + final _ret = _objc_msgSend_385(this.pointer, + _sel_initWithContentsOfURL_encoding_error_, url.pointer, enc, error); return _ret.address == 0 ? null - : NSMutableString._(_ret, _lib, retain: true, release: true); + : NSMutableString._(_ret, retain: true, release: true); } @override NSMutableString? initWithContentsOfFile_encoding_error_( - NSString path, - int enc, - ffi.Pointer> error, - ) { - final _ret = _lib._objc_msgSend_386( - this.pointer, - _lib._sel_initWithContentsOfFile_encoding_error_1, - path.pointer, - enc, - error, - ); + NSString path, int enc, ffi.Pointer> error) { + final _ret = _objc_msgSend_386(this.pointer, + _sel_initWithContentsOfFile_encoding_error_, path.pointer, enc, error); return _ret.address == 0 ? null - : NSMutableString._(_ret, _lib, retain: true, release: true); + : NSMutableString._(_ret, retain: true, release: true); } static NSMutableString? stringWithContentsOfURL_encoding_error_( - SwiftLibrary _lib, - NSURL url, - int enc, - ffi.Pointer> error, - ) { - final _ret = _lib._objc_msgSend_385( - _lib._class_NSMutableString1, - _lib._sel_stringWithContentsOfURL_encoding_error_1, - url.pointer, - enc, - error, - ); + NSURL url, int enc, ffi.Pointer> error) { + final _ret = _objc_msgSend_385(_class_NSMutableString, + _sel_stringWithContentsOfURL_encoding_error_, url.pointer, enc, error); return _ret.address == 0 ? null - : NSMutableString._(_ret, _lib, retain: true, release: true); + : NSMutableString._(_ret, retain: true, release: true); } static NSMutableString? stringWithContentsOfFile_encoding_error_( - SwiftLibrary _lib, - NSString path, - int enc, - ffi.Pointer> error, - ) { - final _ret = _lib._objc_msgSend_386( - _lib._class_NSMutableString1, - _lib._sel_stringWithContentsOfFile_encoding_error_1, - path.pointer, - enc, - error, - ); + NSString path, int enc, ffi.Pointer> error) { + final _ret = _objc_msgSend_386( + _class_NSMutableString, + _sel_stringWithContentsOfFile_encoding_error_, + path.pointer, + enc, + error); return _ret.address == 0 ? null - : NSMutableString._(_ret, _lib, retain: true, release: true); + : NSMutableString._(_ret, retain: true, release: true); } @override NSMutableString? initWithContentsOfURL_usedEncoding_error_( - NSURL url, - ffi.Pointer enc, - ffi.Pointer> error, - ) { - final _ret = _lib._objc_msgSend_387( - this.pointer, - _lib._sel_initWithContentsOfURL_usedEncoding_error_1, - url.pointer, - enc, - error, - ); + NSURL url, + ffi.Pointer enc, + ffi.Pointer> error) { + final _ret = _objc_msgSend_387( + this.pointer, + _sel_initWithContentsOfURL_usedEncoding_error_, + url.pointer, + enc, + error); return _ret.address == 0 ? null - : NSMutableString._(_ret, _lib, retain: true, release: true); + : NSMutableString._(_ret, retain: true, release: true); } @override NSMutableString? initWithContentsOfFile_usedEncoding_error_( - NSString path, - ffi.Pointer enc, - ffi.Pointer> error, - ) { - final _ret = _lib._objc_msgSend_388( - this.pointer, - _lib._sel_initWithContentsOfFile_usedEncoding_error_1, - path.pointer, - enc, - error, - ); + NSString path, + ffi.Pointer enc, + ffi.Pointer> error) { + final _ret = _objc_msgSend_388( + this.pointer, + _sel_initWithContentsOfFile_usedEncoding_error_, + path.pointer, + enc, + error); return _ret.address == 0 ? null - : NSMutableString._(_ret, _lib, retain: true, release: true); + : NSMutableString._(_ret, retain: true, release: true); } static NSMutableString? stringWithContentsOfURL_usedEncoding_error_( - SwiftLibrary _lib, - NSURL url, - ffi.Pointer enc, - ffi.Pointer> error, - ) { - final _ret = _lib._objc_msgSend_387( - _lib._class_NSMutableString1, - _lib._sel_stringWithContentsOfURL_usedEncoding_error_1, - url.pointer, - enc, - error, - ); + NSURL url, + ffi.Pointer enc, + ffi.Pointer> error) { + final _ret = _objc_msgSend_387( + _class_NSMutableString, + _sel_stringWithContentsOfURL_usedEncoding_error_, + url.pointer, + enc, + error); return _ret.address == 0 ? null - : NSMutableString._(_ret, _lib, retain: true, release: true); + : NSMutableString._(_ret, retain: true, release: true); } static NSMutableString? stringWithContentsOfFile_usedEncoding_error_( - SwiftLibrary _lib, - NSString path, - ffi.Pointer enc, - ffi.Pointer> error, - ) { - final _ret = _lib._objc_msgSend_388( - _lib._class_NSMutableString1, - _lib._sel_stringWithContentsOfFile_usedEncoding_error_1, - path.pointer, - enc, - error, - ); + NSString path, + ffi.Pointer enc, + ffi.Pointer> error) { + final _ret = _objc_msgSend_388( + _class_NSMutableString, + _sel_stringWithContentsOfFile_usedEncoding_error_, + path.pointer, + enc, + error); return _ret.address == 0 ? null - : NSMutableString._(_ret, _lib, retain: true, release: true); + : NSMutableString._(_ret, retain: true, release: true); } static int stringEncodingForData_encodingOptions_convertedString_usedLossyConversion_( - SwiftLibrary _lib, - NSData data, - NSDictionary? opts, - ffi.Pointer> string, - ffi.Pointer usedLossyConversion, - ) { - return _lib._objc_msgSend_389( - _lib._class_NSMutableString1, - _lib._sel_stringEncodingForData_encodingOptions_convertedString_usedLossyConversion_1, - data.pointer, - opts?.pointer ?? ffi.nullptr, - string, - usedLossyConversion, - ); + NSData data, + NSDictionary? opts, + ffi.Pointer> string, + ffi.Pointer usedLossyConversion) { + return _objc_msgSend_389( + _class_NSMutableString, + _sel_stringEncodingForData_encodingOptions_convertedString_usedLossyConversion_, + data.pointer, + opts?.pointer ?? ffi.nullptr, + string, + usedLossyConversion); } - static NSObject? stringWithContentsOfFile_(SwiftLibrary _lib, NSString path) { - final _ret = _lib._objc_msgSend_38( - _lib._class_NSMutableString1, - _lib._sel_stringWithContentsOfFile_1, - path.pointer, - ); + static NSObject? stringWithContentsOfFile_(NSString path) { + final _ret = _objc_msgSend_38( + _class_NSMutableString, _sel_stringWithContentsOfFile_, path.pointer); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } - static NSObject? stringWithContentsOfURL_(SwiftLibrary _lib, NSURL url) { - final _ret = _lib._objc_msgSend_277( - _lib._class_NSMutableString1, - _lib._sel_stringWithContentsOfURL_1, - url.pointer, - ); + static NSObject? stringWithContentsOfURL_(NSURL url) { + final _ret = _objc_msgSend_277( + _class_NSMutableString, _sel_stringWithContentsOfURL_, url.pointer); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } static NSObject? stringWithCString_length_( - SwiftLibrary _lib, - ffi.Pointer bytes, - int length, - ) { - final _ret = _lib._objc_msgSend_384( - _lib._class_NSMutableString1, - _lib._sel_stringWithCString_length_1, - bytes, - length, - ); + ffi.Pointer bytes, int length) { + final _ret = _objc_msgSend_384( + _class_NSMutableString, _sel_stringWithCString_length_, bytes, length); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } - static NSObject? stringWithCString_( - SwiftLibrary _lib, - ffi.Pointer bytes, - ) { - final _ret = _lib._objc_msgSend_372( - _lib._class_NSMutableString1, - _lib._sel_stringWithCString_1, - bytes, - ); + static NSObject? stringWithCString_(ffi.Pointer bytes) { + final _ret = _objc_msgSend_372( + _class_NSMutableString, _sel_stringWithCString_, bytes); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } - static NSString pathWithComponents_(SwiftLibrary _lib, NSArray components) { - final _ret = _lib._objc_msgSend_396( - _lib._class_NSMutableString1, - _lib._sel_pathWithComponents_1, - components.pointer, - ); - return NSString._(_ret, _lib, retain: true, release: true); + static NSString pathWithComponents_(NSArray components) { + final _ret = _objc_msgSend_396( + _class_NSMutableString, _sel_pathWithComponents_, components.pointer); + return NSString._(_ret, retain: true, release: true); } - static NSMutableString new1(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSMutableString1, - _lib._sel_new1, - ); - return NSMutableString._(_ret, _lib, retain: false, release: true); + static NSMutableString new1() { + final _ret = _objc_msgSend_2(_class_NSMutableString, _sel_new); + return NSMutableString._(_ret, retain: false, release: true); } - static NSMutableString allocWithZone_( - SwiftLibrary _lib, - ffi.Pointer<_NSZone> zone, - ) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSMutableString1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSMutableString._(_ret, _lib, retain: false, release: true); + static NSMutableString allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = + _objc_msgSend_3(_class_NSMutableString, _sel_allocWithZone_, zone); + return NSMutableString._(_ret, retain: false, release: true); } - static NSMutableString alloc(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSMutableString1, - _lib._sel_alloc1, - ); - return NSMutableString._(_ret, _lib, retain: false, release: true); + static NSMutableString alloc() { + final _ret = _objc_msgSend_2(_class_NSMutableString, _sel_alloc); + return NSMutableString._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSMutableString1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSMutableString1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSMutableString1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSMutableString1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSMutableString1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSMutableString1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSMutableString, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); } - static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSMutableString1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSMutableString1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSMutableString1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSMutableString, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); } -} + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSMutableString, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSMutableString, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSMutableString, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSMutableString, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); + } + + static void setKeys_triggerChangeNotificationsForDependentKey_( + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSMutableString, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = _objc_msgSend_85( + _class_NSMutableString, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = + _objc_msgSend_2(_class_NSMutableString, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); + } +} + +late final _class_NSMutableString = objc.getClass("NSMutableString"); +late final _sel_replaceCharactersInRange_withString_ = + objc.registerName("replaceCharactersInRange:withString:"); +final _objc_msgSend_689 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + _NSRange range, + ffi.Pointer aString)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer)>(); +late final _sel_insertString_atIndex_ = + objc.registerName("insertString:atIndex:"); +final _objc_msgSend_690 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer aString, + ffi.UnsignedLong loc)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int)>(); +late final _sel_deleteCharactersInRange_ = + objc.registerName("deleteCharactersInRange:"); +late final _sel_appendString_ = objc.registerName("appendString:"); +late final _sel_appendFormat_ = objc.registerName("appendFormat:"); +late final _sel_setString_ = objc.registerName("setString:"); +late final _sel_replaceOccurrencesOfString_withString_options_range_ = + objc.registerName("replaceOccurrencesOfString:withString:options:range:"); +final _objc_msgSend_691 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer target, + ffi.Pointer replacement, + ffi.Int32 options, + _NSRange searchRange)>>() + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + _NSRange)>(); +late final _sel_applyTransform_reverse_range_updatedRange_ = + objc.registerName("applyTransform:reverse:range:updatedRange:"); +final _objc_msgSend_692 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer transform, + ffi.Bool reverse, + _NSRange range, + ffi.Pointer<_NSRange> resultingRange)>>() + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool, + _NSRange, + ffi.Pointer<_NSRange>)>(); +final _objc_msgSend_693 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.UnsignedLong capacity)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, int)>(); +late final _sel_stringWithCapacity_ = objc.registerName("stringWithCapacity:"); class NSNotification extends NSObject { - NSNotification._( - ffi.Pointer pointer, - SwiftLibrary lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSNotification._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSNotification] that points to the same underlying object as [other]. - static NSNotification castFrom( - SwiftLibrary lib, - T other, - ) { - return NSNotification._(other.pointer, lib, retain: true, release: true); + static NSNotification castFrom(T other) { + return NSNotification._(other.pointer, retain: true, release: true); } /// Returns a [NSNotification] that wraps the given raw object pointer. - static NSNotification castFromPointer( - SwiftLibrary lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSNotification._(other, lib, retain: retain, release: release); + static NSNotification castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSNotification._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSNotification]. - static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSNotification1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0( + obj.pointer, _sel_isKindOfClass_, _class_NSNotification); } NSString get name { - final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_name1); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_name); + return NSString._(_ret, retain: true, release: true); } NSObject? get object { - final _ret = _lib._objc_msgSend_17(this.pointer, _lib._sel_object1); + final _ret = _objc_msgSend_17(this.pointer, _sel_object); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } NSDictionary? get userInfo { - final _ret = _lib._objc_msgSend_390(this.pointer, _lib._sel_userInfo1); + final _ret = _objc_msgSend_390(this.pointer, _sel_userInfo); return _ret.address == 0 ? null - : NSDictionary._(_ret, _lib, retain: true, release: true); + : NSDictionary._(_ret, retain: true, release: true); } NSNotification initWithName_object_userInfo_( - NSString name, - NSObject? object, - NSDictionary? userInfo, - ) { - final _ret = _lib._objc_msgSend_694( - this.pointer, - _lib._sel_initWithName_object_userInfo_1, - name.pointer, - object?.pointer ?? ffi.nullptr, - userInfo?.pointer ?? ffi.nullptr, - ); - return NSNotification._(_ret, _lib, retain: true, release: true); + NSString name, NSObject? object, NSDictionary? userInfo) { + final _ret = _objc_msgSend_694( + this.pointer, + _sel_initWithName_object_userInfo_, + name.pointer, + object?.pointer ?? ffi.nullptr, + userInfo?.pointer ?? ffi.nullptr); + return NSNotification._(_ret, retain: true, release: true); } NSNotification? initWithCoder_(NSCoder coder) { - final _ret = _lib._objc_msgSend_47( - this.pointer, - _lib._sel_initWithCoder_1, - coder.pointer, - ); + final _ret = + _objc_msgSend_47(this.pointer, _sel_initWithCoder_, coder.pointer); return _ret.address == 0 ? null - : NSNotification._(_ret, _lib, retain: true, release: true); + : NSNotification._(_ret, retain: true, release: true); } static NSNotification notificationWithName_object_( - SwiftLibrary _lib, - NSString aName, - NSObject? anObject, - ) { - final _ret = _lib._objc_msgSend_374( - _lib._class_NSNotification1, - _lib._sel_notificationWithName_object_1, - aName.pointer, - anObject?.pointer ?? ffi.nullptr, - ); - return NSNotification._(_ret, _lib, retain: true, release: true); + NSString aName, NSObject? anObject) { + final _ret = _objc_msgSend_374( + _class_NSNotification, + _sel_notificationWithName_object_, + aName.pointer, + anObject?.pointer ?? ffi.nullptr); + return NSNotification._(_ret, retain: true, release: true); } static NSNotification notificationWithName_object_userInfo_( - SwiftLibrary _lib, - NSString aName, - NSObject? anObject, - NSDictionary? aUserInfo, - ) { - final _ret = _lib._objc_msgSend_694( - _lib._class_NSNotification1, - _lib._sel_notificationWithName_object_userInfo_1, - aName.pointer, - anObject?.pointer ?? ffi.nullptr, - aUserInfo?.pointer ?? ffi.nullptr, - ); - return NSNotification._(_ret, _lib, retain: true, release: true); + NSString aName, NSObject? anObject, NSDictionary? aUserInfo) { + final _ret = _objc_msgSend_694( + _class_NSNotification, + _sel_notificationWithName_object_userInfo_, + aName.pointer, + anObject?.pointer ?? ffi.nullptr, + aUserInfo?.pointer ?? ffi.nullptr); + return NSNotification._(_ret, retain: true, release: true); } @override NSNotification init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSNotification._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSNotification._(_ret, retain: true, release: true); } - static NSNotification new1(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSNotification1, - _lib._sel_new1, - ); - return NSNotification._(_ret, _lib, retain: false, release: true); + static NSNotification new1() { + final _ret = _objc_msgSend_2(_class_NSNotification, _sel_new); + return NSNotification._(_ret, retain: false, release: true); } - static NSNotification allocWithZone_( - SwiftLibrary _lib, - ffi.Pointer<_NSZone> zone, - ) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSNotification1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSNotification._(_ret, _lib, retain: false, release: true); + static NSNotification allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = + _objc_msgSend_3(_class_NSNotification, _sel_allocWithZone_, zone); + return NSNotification._(_ret, retain: false, release: true); } - static NSNotification alloc(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSNotification1, - _lib._sel_alloc1, - ); - return NSNotification._(_ret, _lib, retain: false, release: true); + static NSNotification alloc() { + final _ret = _objc_msgSend_2(_class_NSNotification, _sel_alloc); + return NSNotification._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSNotification1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSNotification1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSNotification1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSNotification1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSNotification1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSNotification1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSNotification, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); + } + + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSNotification, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); + } + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSNotification, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSNotification, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSNotification, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSNotification, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); } static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSNotification1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSNotification1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSNotification1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSNotification, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = _objc_msgSend_85( + _class_NSNotification, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = + _objc_msgSend_2(_class_NSNotification, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); } } +late final _class_NSNotification = objc.getClass("NSNotification"); +late final _sel_object = objc.registerName("object"); +late final _sel_initWithName_object_userInfo_ = + objc.registerName("initWithName:object:userInfo:"); +final _objc_msgSend_694 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer name, + ffi.Pointer object, + ffi.Pointer userInfo)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_notificationWithName_object_ = + objc.registerName("notificationWithName:object:"); +late final _sel_notificationWithName_object_userInfo_ = + objc.registerName("notificationWithName:object:userInfo:"); + class NSBundle extends NSObject { - NSBundle._( - ffi.Pointer pointer, - SwiftLibrary lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSBundle._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSBundle] that points to the same underlying object as [other]. - static NSBundle castFrom( - SwiftLibrary lib, - T other, - ) { - return NSBundle._(other.pointer, lib, retain: true, release: true); + static NSBundle castFrom(T other) { + return NSBundle._(other.pointer, retain: true, release: true); } /// Returns a [NSBundle] that wraps the given raw object pointer. - static NSBundle castFromPointer( - SwiftLibrary lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSBundle._(other, lib, retain: retain, release: release); + static NSBundle castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSBundle._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSBundle]. - static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSBundle1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0(obj.pointer, _sel_isKindOfClass_, _class_NSBundle); } - static NSBundle getMainBundle(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_695( - _lib._class_NSBundle1, - _lib._sel_mainBundle1, - ); - return NSBundle._(_ret, _lib, retain: true, release: true); + static NSBundle getMainBundle() { + final _ret = _objc_msgSend_695(_class_NSBundle, _sel_mainBundle); + return NSBundle._(_ret, retain: true, release: true); } - static NSBundle? bundleWithPath_(SwiftLibrary _lib, NSString path) { - final _ret = _lib._objc_msgSend_38( - _lib._class_NSBundle1, - _lib._sel_bundleWithPath_1, - path.pointer, - ); + static NSBundle? bundleWithPath_(NSString path) { + final _ret = + _objc_msgSend_38(_class_NSBundle, _sel_bundleWithPath_, path.pointer); return _ret.address == 0 ? null - : NSBundle._(_ret, _lib, retain: true, release: true); + : NSBundle._(_ret, retain: true, release: true); } NSBundle? initWithPath_(NSString path) { - final _ret = _lib._objc_msgSend_38( - this.pointer, - _lib._sel_initWithPath_1, - path.pointer, - ); + final _ret = + _objc_msgSend_38(this.pointer, _sel_initWithPath_, path.pointer); return _ret.address == 0 ? null - : NSBundle._(_ret, _lib, retain: true, release: true); + : NSBundle._(_ret, retain: true, release: true); } - static NSBundle? bundleWithURL_(SwiftLibrary _lib, NSURL url) { - final _ret = _lib._objc_msgSend_277( - _lib._class_NSBundle1, - _lib._sel_bundleWithURL_1, - url.pointer, - ); + static NSBundle? bundleWithURL_(NSURL url) { + final _ret = + _objc_msgSend_277(_class_NSBundle, _sel_bundleWithURL_, url.pointer); return _ret.address == 0 ? null - : NSBundle._(_ret, _lib, retain: true, release: true); + : NSBundle._(_ret, retain: true, release: true); } NSBundle? initWithURL_(NSURL url) { - final _ret = _lib._objc_msgSend_277( - this.pointer, - _lib._sel_initWithURL_1, - url.pointer, - ); + final _ret = + _objc_msgSend_277(this.pointer, _sel_initWithURL_, url.pointer); return _ret.address == 0 ? null - : NSBundle._(_ret, _lib, retain: true, release: true); + : NSBundle._(_ret, retain: true, release: true); } - static NSBundle bundleForClass_(SwiftLibrary _lib, NSObject aClass) { - final _ret = _lib._objc_msgSend_696( - _lib._class_NSBundle1, - _lib._sel_bundleForClass_1, - aClass.pointer, - ); - return NSBundle._(_ret, _lib, retain: true, release: true); + static NSBundle bundleForClass_(NSObject aClass) { + final _ret = _objc_msgSend_696( + _class_NSBundle, _sel_bundleForClass_, aClass.pointer); + return NSBundle._(_ret, retain: true, release: true); } - static NSBundle? bundleWithIdentifier_( - SwiftLibrary _lib, - NSString identifier, - ) { - final _ret = _lib._objc_msgSend_697( - _lib._class_NSBundle1, - _lib._sel_bundleWithIdentifier_1, - identifier.pointer, - ); + static NSBundle? bundleWithIdentifier_(NSString identifier) { + final _ret = _objc_msgSend_697( + _class_NSBundle, _sel_bundleWithIdentifier_, identifier.pointer); return _ret.address == 0 ? null - : NSBundle._(_ret, _lib, retain: true, release: true); + : NSBundle._(_ret, retain: true, release: true); } - static NSArray getAllBundles(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSBundle1, - _lib._sel_allBundles1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); + static NSArray getAllBundles() { + final _ret = _objc_msgSend_85(_class_NSBundle, _sel_allBundles); + return NSArray._(_ret, retain: true, release: true); } - static NSArray getAllFrameworks(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSBundle1, - _lib._sel_allFrameworks1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); + static NSArray getAllFrameworks() { + final _ret = _objc_msgSend_85(_class_NSBundle, _sel_allFrameworks); + return NSArray._(_ret, retain: true, release: true); } bool load() { - return _lib._objc_msgSend_12(this.pointer, _lib._sel_load1); + return _objc_msgSend_12(this.pointer, _sel_load); } bool get loaded { - return _lib._objc_msgSend_12(this.pointer, _lib._sel_isLoaded1); + return _objc_msgSend_12(this.pointer, _sel_isLoaded); } bool unload() { - return _lib._objc_msgSend_12(this.pointer, _lib._sel_unload1); + return _objc_msgSend_12(this.pointer, _sel_unload); } bool preflightAndReturnError_( - ffi.Pointer> error, - ) { - return _lib._objc_msgSend_255( - this.pointer, - _lib._sel_preflightAndReturnError_1, - error, - ); + ffi.Pointer> error) { + return _objc_msgSend_255( + this.pointer, _sel_preflightAndReturnError_, error); } bool loadAndReturnError_(ffi.Pointer> error) { - return _lib._objc_msgSend_255( - this.pointer, - _lib._sel_loadAndReturnError_1, - error, - ); + return _objc_msgSend_255(this.pointer, _sel_loadAndReturnError_, error); } NSURL get bundleURL { - final _ret = _lib._objc_msgSend_466(this.pointer, _lib._sel_bundleURL1); - return NSURL._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_466(this.pointer, _sel_bundleURL); + return NSURL._(_ret, retain: true, release: true); } NSURL? get resourceURL { - final _ret = _lib._objc_msgSend_45(this.pointer, _lib._sel_resourceURL1); + final _ret = _objc_msgSend_45(this.pointer, _sel_resourceURL); return _ret.address == 0 ? null - : NSURL._(_ret, _lib, retain: true, release: true); + : NSURL._(_ret, retain: true, release: true); } NSURL? get executableURL { - final _ret = _lib._objc_msgSend_45(this.pointer, _lib._sel_executableURL1); + final _ret = _objc_msgSend_45(this.pointer, _sel_executableURL); return _ret.address == 0 ? null - : NSURL._(_ret, _lib, retain: true, release: true); + : NSURL._(_ret, retain: true, release: true); } NSURL? URLForAuxiliaryExecutable_(NSString executableName) { - final _ret = _lib._objc_msgSend_257( - this.pointer, - _lib._sel_URLForAuxiliaryExecutable_1, - executableName.pointer, - ); + final _ret = _objc_msgSend_257( + this.pointer, _sel_URLForAuxiliaryExecutable_, executableName.pointer); return _ret.address == 0 ? null - : NSURL._(_ret, _lib, retain: true, release: true); + : NSURL._(_ret, retain: true, release: true); } NSURL? get privateFrameworksURL { - final _ret = _lib._objc_msgSend_45( - this.pointer, - _lib._sel_privateFrameworksURL1, - ); + final _ret = _objc_msgSend_45(this.pointer, _sel_privateFrameworksURL); return _ret.address == 0 ? null - : NSURL._(_ret, _lib, retain: true, release: true); + : NSURL._(_ret, retain: true, release: true); } NSURL? get sharedFrameworksURL { - final _ret = _lib._objc_msgSend_45( - this.pointer, - _lib._sel_sharedFrameworksURL1, - ); + final _ret = _objc_msgSend_45(this.pointer, _sel_sharedFrameworksURL); return _ret.address == 0 ? null - : NSURL._(_ret, _lib, retain: true, release: true); + : NSURL._(_ret, retain: true, release: true); } NSURL? get sharedSupportURL { - final _ret = _lib._objc_msgSend_45( - this.pointer, - _lib._sel_sharedSupportURL1, - ); + final _ret = _objc_msgSend_45(this.pointer, _sel_sharedSupportURL); return _ret.address == 0 ? null - : NSURL._(_ret, _lib, retain: true, release: true); + : NSURL._(_ret, retain: true, release: true); } NSURL? get builtInPlugInsURL { - final _ret = _lib._objc_msgSend_45( - this.pointer, - _lib._sel_builtInPlugInsURL1, - ); + final _ret = _objc_msgSend_45(this.pointer, _sel_builtInPlugInsURL); return _ret.address == 0 ? null - : NSURL._(_ret, _lib, retain: true, release: true); + : NSURL._(_ret, retain: true, release: true); } NSURL? get appStoreReceiptURL { - final _ret = _lib._objc_msgSend_45( - this.pointer, - _lib._sel_appStoreReceiptURL1, - ); + final _ret = _objc_msgSend_45(this.pointer, _sel_appStoreReceiptURL); return _ret.address == 0 ? null - : NSURL._(_ret, _lib, retain: true, release: true); + : NSURL._(_ret, retain: true, release: true); } NSString get bundlePath { - final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_bundlePath1); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_bundlePath); + return NSString._(_ret, retain: true, release: true); } NSString? get resourcePath { - final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_resourcePath1); + final _ret = _objc_msgSend_44(this.pointer, _sel_resourcePath); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } NSString? get executablePath { - final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_executablePath1); + final _ret = _objc_msgSend_44(this.pointer, _sel_executablePath); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } NSString? pathForAuxiliaryExecutable_(NSString executableName) { - final _ret = _lib._objc_msgSend_186( - this.pointer, - _lib._sel_pathForAuxiliaryExecutable_1, - executableName.pointer, - ); + final _ret = _objc_msgSend_186( + this.pointer, _sel_pathForAuxiliaryExecutable_, executableName.pointer); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } NSString? get privateFrameworksPath { - final _ret = _lib._objc_msgSend_44( - this.pointer, - _lib._sel_privateFrameworksPath1, - ); + final _ret = _objc_msgSend_44(this.pointer, _sel_privateFrameworksPath); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } NSString? get sharedFrameworksPath { - final _ret = _lib._objc_msgSend_44( - this.pointer, - _lib._sel_sharedFrameworksPath1, - ); + final _ret = _objc_msgSend_44(this.pointer, _sel_sharedFrameworksPath); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } NSString? get sharedSupportPath { - final _ret = _lib._objc_msgSend_44( - this.pointer, - _lib._sel_sharedSupportPath1, - ); + final _ret = _objc_msgSend_44(this.pointer, _sel_sharedSupportPath); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } NSString? get builtInPlugInsPath { - final _ret = _lib._objc_msgSend_44( - this.pointer, - _lib._sel_builtInPlugInsPath1, - ); + final _ret = _objc_msgSend_44(this.pointer, _sel_builtInPlugInsPath); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } static NSURL? URLForResource_withExtension_subdirectory_inBundleWithURL_( - SwiftLibrary _lib, - NSString? name, - NSString? ext, - NSString? subpath, - NSURL bundleURL, - ) { - final _ret = _lib._objc_msgSend_698( - _lib._class_NSBundle1, - _lib._sel_URLForResource_withExtension_subdirectory_inBundleWithURL_1, - name?.pointer ?? ffi.nullptr, - ext?.pointer ?? ffi.nullptr, - subpath?.pointer ?? ffi.nullptr, - bundleURL.pointer, - ); + NSString? name, NSString? ext, NSString? subpath, NSURL bundleURL) { + final _ret = _objc_msgSend_698( + _class_NSBundle, + _sel_URLForResource_withExtension_subdirectory_inBundleWithURL_, + name?.pointer ?? ffi.nullptr, + ext?.pointer ?? ffi.nullptr, + subpath?.pointer ?? ffi.nullptr, + bundleURL.pointer); return _ret.address == 0 ? null - : NSURL._(_ret, _lib, retain: true, release: true); + : NSURL._(_ret, retain: true, release: true); } static NSArray? URLsForResourcesWithExtension_subdirectory_inBundleWithURL_( - SwiftLibrary _lib, - NSString? ext, - NSString? subpath, - NSURL bundleURL, - ) { - final _ret = _lib._objc_msgSend_699( - _lib._class_NSBundle1, - _lib._sel_URLsForResourcesWithExtension_subdirectory_inBundleWithURL_1, - ext?.pointer ?? ffi.nullptr, - subpath?.pointer ?? ffi.nullptr, - bundleURL.pointer, - ); + NSString? ext, NSString? subpath, NSURL bundleURL) { + final _ret = _objc_msgSend_699( + _class_NSBundle, + _sel_URLsForResourcesWithExtension_subdirectory_inBundleWithURL_, + ext?.pointer ?? ffi.nullptr, + subpath?.pointer ?? ffi.nullptr, + bundleURL.pointer); return _ret.address == 0 ? null - : NSArray._(_ret, _lib, retain: true, release: true); + : NSArray._(_ret, retain: true, release: true); } NSURL? URLForResource_withExtension_(NSString? name, NSString? ext) { - final _ret = _lib._objc_msgSend_700( - this.pointer, - _lib._sel_URLForResource_withExtension_1, - name?.pointer ?? ffi.nullptr, - ext?.pointer ?? ffi.nullptr, - ); + final _ret = _objc_msgSend_700( + this.pointer, + _sel_URLForResource_withExtension_, + name?.pointer ?? ffi.nullptr, + ext?.pointer ?? ffi.nullptr); return _ret.address == 0 ? null - : NSURL._(_ret, _lib, retain: true, release: true); + : NSURL._(_ret, retain: true, release: true); } NSURL? URLForResource_withExtension_subdirectory_( - NSString? name, - NSString? ext, - NSString? subpath, - ) { - final _ret = _lib._objc_msgSend_701( - this.pointer, - _lib._sel_URLForResource_withExtension_subdirectory_1, - name?.pointer ?? ffi.nullptr, - ext?.pointer ?? ffi.nullptr, - subpath?.pointer ?? ffi.nullptr, - ); + NSString? name, NSString? ext, NSString? subpath) { + final _ret = _objc_msgSend_701( + this.pointer, + _sel_URLForResource_withExtension_subdirectory_, + name?.pointer ?? ffi.nullptr, + ext?.pointer ?? ffi.nullptr, + subpath?.pointer ?? ffi.nullptr); return _ret.address == 0 ? null - : NSURL._(_ret, _lib, retain: true, release: true); + : NSURL._(_ret, retain: true, release: true); } - NSURL? URLForResource_withExtension_subdirectory_localization_( - NSString? name, - NSString? ext, - NSString? subpath, - NSString? localizationName, - ) { - final _ret = _lib._objc_msgSend_702( - this.pointer, - _lib._sel_URLForResource_withExtension_subdirectory_localization_1, - name?.pointer ?? ffi.nullptr, - ext?.pointer ?? ffi.nullptr, - subpath?.pointer ?? ffi.nullptr, - localizationName?.pointer ?? ffi.nullptr, - ); + NSURL? URLForResource_withExtension_subdirectory_localization_(NSString? name, + NSString? ext, NSString? subpath, NSString? localizationName) { + final _ret = _objc_msgSend_702( + this.pointer, + _sel_URLForResource_withExtension_subdirectory_localization_, + name?.pointer ?? ffi.nullptr, + ext?.pointer ?? ffi.nullptr, + subpath?.pointer ?? ffi.nullptr, + localizationName?.pointer ?? ffi.nullptr); return _ret.address == 0 ? null - : NSURL._(_ret, _lib, retain: true, release: true); + : NSURL._(_ret, retain: true, release: true); } NSArray? URLsForResourcesWithExtension_subdirectory_( - NSString? ext, - NSString? subpath, - ) { - final _ret = _lib._objc_msgSend_703( - this.pointer, - _lib._sel_URLsForResourcesWithExtension_subdirectory_1, - ext?.pointer ?? ffi.nullptr, - subpath?.pointer ?? ffi.nullptr, - ); + NSString? ext, NSString? subpath) { + final _ret = _objc_msgSend_703( + this.pointer, + _sel_URLsForResourcesWithExtension_subdirectory_, + ext?.pointer ?? ffi.nullptr, + subpath?.pointer ?? ffi.nullptr); return _ret.address == 0 ? null - : NSArray._(_ret, _lib, retain: true, release: true); + : NSArray._(_ret, retain: true, release: true); } NSArray? URLsForResourcesWithExtension_subdirectory_localization_( - NSString? ext, - NSString? subpath, - NSString? localizationName, - ) { - final _ret = _lib._objc_msgSend_704( - this.pointer, - _lib._sel_URLsForResourcesWithExtension_subdirectory_localization_1, - ext?.pointer ?? ffi.nullptr, - subpath?.pointer ?? ffi.nullptr, - localizationName?.pointer ?? ffi.nullptr, - ); + NSString? ext, NSString? subpath, NSString? localizationName) { + final _ret = _objc_msgSend_704( + this.pointer, + _sel_URLsForResourcesWithExtension_subdirectory_localization_, + ext?.pointer ?? ffi.nullptr, + subpath?.pointer ?? ffi.nullptr, + localizationName?.pointer ?? ffi.nullptr); return _ret.address == 0 ? null - : NSArray._(_ret, _lib, retain: true, release: true); + : NSArray._(_ret, retain: true, release: true); } static NSString? pathForResource_ofType_inDirectory_( - SwiftLibrary _lib, - NSString? name, - NSString? ext, - NSString bundlePath, - ) { - final _ret = _lib._objc_msgSend_705( - _lib._class_NSBundle1, - _lib._sel_pathForResource_ofType_inDirectory_1, - name?.pointer ?? ffi.nullptr, - ext?.pointer ?? ffi.nullptr, - bundlePath.pointer, - ); + NSString? name, NSString? ext, NSString bundlePath) { + final _ret = _objc_msgSend_705( + _class_NSBundle, + _sel_pathForResource_ofType_inDirectory_, + name?.pointer ?? ffi.nullptr, + ext?.pointer ?? ffi.nullptr, + bundlePath.pointer); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } static NSArray pathsForResourcesOfType_inDirectory_( - SwiftLibrary _lib, - NSString? ext, - NSString bundlePath, - ) { - final _ret = _lib._objc_msgSend_706( - _lib._class_NSBundle1, - _lib._sel_pathsForResourcesOfType_inDirectory_1, - ext?.pointer ?? ffi.nullptr, - bundlePath.pointer, - ); - return NSArray._(_ret, _lib, retain: true, release: true); + NSString? ext, NSString bundlePath) { + final _ret = _objc_msgSend_706( + _class_NSBundle, + _sel_pathsForResourcesOfType_inDirectory_, + ext?.pointer ?? ffi.nullptr, + bundlePath.pointer); + return NSArray._(_ret, retain: true, release: true); } NSString? pathForResource_ofType_(NSString? name, NSString? ext) { - final _ret = _lib._objc_msgSend_707( - this.pointer, - _lib._sel_pathForResource_ofType_1, - name?.pointer ?? ffi.nullptr, - ext?.pointer ?? ffi.nullptr, - ); + final _ret = _objc_msgSend_707(this.pointer, _sel_pathForResource_ofType_, + name?.pointer ?? ffi.nullptr, ext?.pointer ?? ffi.nullptr); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } - NSString? pathForResource_ofType_inDirectory_forLocalization_( - NSString? name, - NSString? ext, - NSString? subpath, - NSString? localizationName, - ) { - final _ret = _lib._objc_msgSend_708( - this.pointer, - _lib._sel_pathForResource_ofType_inDirectory_forLocalization_1, - name?.pointer ?? ffi.nullptr, - ext?.pointer ?? ffi.nullptr, - subpath?.pointer ?? ffi.nullptr, - localizationName?.pointer ?? ffi.nullptr, - ); + NSString? pathForResource_ofType_inDirectory_forLocalization_(NSString? name, + NSString? ext, NSString? subpath, NSString? localizationName) { + final _ret = _objc_msgSend_708( + this.pointer, + _sel_pathForResource_ofType_inDirectory_forLocalization_, + name?.pointer ?? ffi.nullptr, + ext?.pointer ?? ffi.nullptr, + subpath?.pointer ?? ffi.nullptr, + localizationName?.pointer ?? ffi.nullptr); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } NSArray pathsForResourcesOfType_inDirectory_forLocalization_( - NSString? ext, - NSString? subpath, - NSString? localizationName, - ) { - final _ret = _lib._objc_msgSend_709( - this.pointer, - _lib._sel_pathsForResourcesOfType_inDirectory_forLocalization_1, - ext?.pointer ?? ffi.nullptr, - subpath?.pointer ?? ffi.nullptr, - localizationName?.pointer ?? ffi.nullptr, - ); - return NSArray._(_ret, _lib, retain: true, release: true); + NSString? ext, NSString? subpath, NSString? localizationName) { + final _ret = _objc_msgSend_709( + this.pointer, + _sel_pathsForResourcesOfType_inDirectory_forLocalization_, + ext?.pointer ?? ffi.nullptr, + subpath?.pointer ?? ffi.nullptr, + localizationName?.pointer ?? ffi.nullptr); + return NSArray._(_ret, retain: true, release: true); } NSString localizedStringForKey_value_table_( - NSString key, - NSString? value, - NSString? tableName, - ) { - final _ret = _lib._objc_msgSend_710( - this.pointer, - _lib._sel_localizedStringForKey_value_table_1, - key.pointer, - value?.pointer ?? ffi.nullptr, - tableName?.pointer ?? ffi.nullptr, - ); - return NSString._(_ret, _lib, retain: true, release: true); + NSString key, NSString? value, NSString? tableName) { + final _ret = _objc_msgSend_710( + this.pointer, + _sel_localizedStringForKey_value_table_, + key.pointer, + value?.pointer ?? ffi.nullptr, + tableName?.pointer ?? ffi.nullptr); + return NSString._(_ret, retain: true, release: true); } NSAttributedString localizedAttributedStringForKey_value_table_( - NSString key, - NSString? value, - NSString? tableName, - ) { - final _ret = _lib._objc_msgSend_736( - this.pointer, - _lib._sel_localizedAttributedStringForKey_value_table_1, - key.pointer, - value?.pointer ?? ffi.nullptr, - tableName?.pointer ?? ffi.nullptr, - ); - return NSAttributedString._(_ret, _lib, retain: true, release: true); + NSString key, NSString? value, NSString? tableName) { + final _ret = _objc_msgSend_736( + this.pointer, + _sel_localizedAttributedStringForKey_value_table_, + key.pointer, + value?.pointer ?? ffi.nullptr, + tableName?.pointer ?? ffi.nullptr); + return NSAttributedString._(_ret, retain: true, release: true); } NSString? get bundleIdentifier { - final _ret = _lib._objc_msgSend_44( - this.pointer, - _lib._sel_bundleIdentifier1, - ); + final _ret = _objc_msgSend_44(this.pointer, _sel_bundleIdentifier); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } NSDictionary? get infoDictionary { - final _ret = _lib._objc_msgSend_390( - this.pointer, - _lib._sel_infoDictionary1, - ); + final _ret = _objc_msgSend_390(this.pointer, _sel_infoDictionary); return _ret.address == 0 ? null - : NSDictionary._(_ret, _lib, retain: true, release: true); + : NSDictionary._(_ret, retain: true, release: true); } NSDictionary? get localizedInfoDictionary { - final _ret = _lib._objc_msgSend_390( - this.pointer, - _lib._sel_localizedInfoDictionary1, - ); + final _ret = _objc_msgSend_390(this.pointer, _sel_localizedInfoDictionary); return _ret.address == 0 ? null - : NSDictionary._(_ret, _lib, retain: true, release: true); + : NSDictionary._(_ret, retain: true, release: true); } NSObject? objectForInfoDictionaryKey_(NSString key) { - final _ret = _lib._objc_msgSend_38( - this.pointer, - _lib._sel_objectForInfoDictionaryKey_1, - key.pointer, - ); + final _ret = _objc_msgSend_38( + this.pointer, _sel_objectForInfoDictionaryKey_, key.pointer); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } NSObject? classNamed_(NSString className) { - final _ret = _lib._objc_msgSend_38( - this.pointer, - _lib._sel_classNamed_1, - className.pointer, - ); + final _ret = + _objc_msgSend_38(this.pointer, _sel_classNamed_, className.pointer); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } NSObject? get principalClass { - final _ret = _lib._objc_msgSend_17(this.pointer, _lib._sel_principalClass1); + final _ret = _objc_msgSend_17(this.pointer, _sel_principalClass); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } NSArray get preferredLocalizations { - final _ret = _lib._objc_msgSend_85( - this.pointer, - _lib._sel_preferredLocalizations1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_85(this.pointer, _sel_preferredLocalizations); + return NSArray._(_ret, retain: true, release: true); } NSArray get localizations { - final _ret = _lib._objc_msgSend_85(this.pointer, _lib._sel_localizations1); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_85(this.pointer, _sel_localizations); + return NSArray._(_ret, retain: true, release: true); } NSString? get developmentLocalization { - final _ret = _lib._objc_msgSend_44( - this.pointer, - _lib._sel_developmentLocalization1, - ); + final _ret = _objc_msgSend_44(this.pointer, _sel_developmentLocalization); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } - static NSArray preferredLocalizationsFromArray_( - SwiftLibrary _lib, - NSArray localizationsArray, - ) { - final _ret = _lib._objc_msgSend_68( - _lib._class_NSBundle1, - _lib._sel_preferredLocalizationsFromArray_1, - localizationsArray.pointer, - ); - return NSArray._(_ret, _lib, retain: true, release: true); + static NSArray preferredLocalizationsFromArray_(NSArray localizationsArray) { + final _ret = _objc_msgSend_68(_class_NSBundle, + _sel_preferredLocalizationsFromArray_, localizationsArray.pointer); + return NSArray._(_ret, retain: true, release: true); } static NSArray preferredLocalizationsFromArray_forPreferences_( - SwiftLibrary _lib, - NSArray localizationsArray, - NSArray? preferencesArray, - ) { - final _ret = _lib._objc_msgSend_737( - _lib._class_NSBundle1, - _lib._sel_preferredLocalizationsFromArray_forPreferences_1, - localizationsArray.pointer, - preferencesArray?.pointer ?? ffi.nullptr, - ); - return NSArray._(_ret, _lib, retain: true, release: true); + NSArray localizationsArray, NSArray? preferencesArray) { + final _ret = _objc_msgSend_737( + _class_NSBundle, + _sel_preferredLocalizationsFromArray_forPreferences_, + localizationsArray.pointer, + preferencesArray?.pointer ?? ffi.nullptr); + return NSArray._(_ret, retain: true, release: true); } NSArray? get executableArchitectures { - final _ret = _lib._objc_msgSend_84( - this.pointer, - _lib._sel_executableArchitectures1, - ); + final _ret = _objc_msgSend_84(this.pointer, _sel_executableArchitectures); return _ret.address == 0 ? null - : NSArray._(_ret, _lib, retain: true, release: true); + : NSArray._(_ret, retain: true, release: true); } void setPreservationPriority_forTags_(double priority, NSSet tags) { - _lib._objc_msgSend_738( - this.pointer, - _lib._sel_setPreservationPriority_forTags_1, - priority, - tags.pointer, - ); + _objc_msgSend_738(this.pointer, _sel_setPreservationPriority_forTags_, + priority, tags.pointer); } double preservationPriorityForTag_(NSString tag) { return objc.useMsgSendVariants - ? _lib._objc_msgSend_308_fpret( - this.pointer, - _lib._sel_preservationPriorityForTag_1, - tag.pointer, - ) - : _lib._objc_msgSend_308( - this.pointer, - _lib._sel_preservationPriorityForTag_1, - tag.pointer, - ); + ? _objc_msgSend_308Fpret( + this.pointer, _sel_preservationPriorityForTag_, tag.pointer) + : _objc_msgSend_308( + this.pointer, _sel_preservationPriorityForTag_, tag.pointer); } @override NSBundle init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSBundle._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSBundle._(_ret, retain: true, release: true); } - static NSBundle new1(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2(_lib._class_NSBundle1, _lib._sel_new1); - return NSBundle._(_ret, _lib, retain: false, release: true); + static NSBundle new1() { + final _ret = _objc_msgSend_2(_class_NSBundle, _sel_new); + return NSBundle._(_ret, retain: false, release: true); } - static NSBundle allocWithZone_(SwiftLibrary _lib, ffi.Pointer<_NSZone> zone) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSBundle1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSBundle._(_ret, _lib, retain: false, release: true); + static NSBundle allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = _objc_msgSend_3(_class_NSBundle, _sel_allocWithZone_, zone); + return NSBundle._(_ret, retain: false, release: true); } - static NSBundle alloc(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2(_lib._class_NSBundle1, _lib._sel_alloc1); - return NSBundle._(_ret, _lib, retain: false, release: true); + static NSBundle alloc() { + final _ret = _objc_msgSend_2(_class_NSBundle, _sel_alloc); + return NSBundle._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSBundle1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSBundle1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSBundle1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSBundle1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSBundle1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSBundle1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSBundle, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); } - static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSBundle1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSBundle1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSBundle1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSBundle, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); + } + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSBundle, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSBundle, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSBundle, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSBundle, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); } -} + + static void setKeys_triggerChangeNotificationsForDependentKey_( + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSBundle, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = + _objc_msgSend_85(_class_NSBundle, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = _objc_msgSend_2(_class_NSBundle, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); + } +} + +late final _class_NSBundle = objc.getClass("NSBundle"); +late final _sel_mainBundle = objc.registerName("mainBundle"); +final _objc_msgSend_695 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_bundleWithPath_ = objc.registerName("bundleWithPath:"); +late final _sel_initWithPath_ = objc.registerName("initWithPath:"); +late final _sel_bundleWithURL_ = objc.registerName("bundleWithURL:"); +late final _sel_initWithURL_ = objc.registerName("initWithURL:"); +late final _sel_bundleForClass_ = objc.registerName("bundleForClass:"); +final _objc_msgSend_696 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer aClass)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_bundleWithIdentifier_ = + objc.registerName("bundleWithIdentifier:"); +final _objc_msgSend_697 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer identifier)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_allBundles = objc.registerName("allBundles"); +late final _sel_allFrameworks = objc.registerName("allFrameworks"); +late final _sel_isLoaded = objc.registerName("isLoaded"); +late final _sel_unload = objc.registerName("unload"); +late final _sel_preflightAndReturnError_ = + objc.registerName("preflightAndReturnError:"); +late final _sel_loadAndReturnError_ = objc.registerName("loadAndReturnError:"); +late final _sel_bundleURL = objc.registerName("bundleURL"); +late final _sel_resourceURL = objc.registerName("resourceURL"); +late final _sel_executableURL = objc.registerName("executableURL"); +late final _sel_URLForAuxiliaryExecutable_ = + objc.registerName("URLForAuxiliaryExecutable:"); +late final _sel_privateFrameworksURL = + objc.registerName("privateFrameworksURL"); +late final _sel_sharedFrameworksURL = objc.registerName("sharedFrameworksURL"); +late final _sel_sharedSupportURL = objc.registerName("sharedSupportURL"); +late final _sel_builtInPlugInsURL = objc.registerName("builtInPlugInsURL"); +late final _sel_appStoreReceiptURL = objc.registerName("appStoreReceiptURL"); +late final _sel_bundlePath = objc.registerName("bundlePath"); +late final _sel_resourcePath = objc.registerName("resourcePath"); +late final _sel_executablePath = objc.registerName("executablePath"); +late final _sel_pathForAuxiliaryExecutable_ = + objc.registerName("pathForAuxiliaryExecutable:"); +late final _sel_privateFrameworksPath = + objc.registerName("privateFrameworksPath"); +late final _sel_sharedFrameworksPath = + objc.registerName("sharedFrameworksPath"); +late final _sel_sharedSupportPath = objc.registerName("sharedSupportPath"); +late final _sel_builtInPlugInsPath = objc.registerName("builtInPlugInsPath"); +late final _sel_URLForResource_withExtension_subdirectory_inBundleWithURL_ = + objc.registerName( + "URLForResource:withExtension:subdirectory:inBundleWithURL:"); +final _objc_msgSend_698 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer name, + ffi.Pointer ext, + ffi.Pointer subpath, + ffi.Pointer bundleURL)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_URLsForResourcesWithExtension_subdirectory_inBundleWithURL_ = + objc.registerName( + "URLsForResourcesWithExtension:subdirectory:inBundleWithURL:"); +final _objc_msgSend_699 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer ext, + ffi.Pointer subpath, + ffi.Pointer bundleURL)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_URLForResource_withExtension_ = + objc.registerName("URLForResource:withExtension:"); +final _objc_msgSend_700 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer name, + ffi.Pointer ext)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_URLForResource_withExtension_subdirectory_ = + objc.registerName("URLForResource:withExtension:subdirectory:"); +final _objc_msgSend_701 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer name, + ffi.Pointer ext, + ffi.Pointer subpath)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_URLForResource_withExtension_subdirectory_localization_ = objc + .registerName("URLForResource:withExtension:subdirectory:localization:"); +final _objc_msgSend_702 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer name, + ffi.Pointer ext, + ffi.Pointer subpath, + ffi.Pointer localizationName)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_URLsForResourcesWithExtension_subdirectory_ = + objc.registerName("URLsForResourcesWithExtension:subdirectory:"); +final _objc_msgSend_703 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer ext, + ffi.Pointer subpath)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_URLsForResourcesWithExtension_subdirectory_localization_ = objc + .registerName("URLsForResourcesWithExtension:subdirectory:localization:"); +final _objc_msgSend_704 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer ext, + ffi.Pointer subpath, + ffi.Pointer localizationName)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_pathForResource_ofType_inDirectory_ = + objc.registerName("pathForResource:ofType:inDirectory:"); +final _objc_msgSend_705 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer name, + ffi.Pointer ext, + ffi.Pointer bundlePath)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_pathsForResourcesOfType_inDirectory_ = + objc.registerName("pathsForResourcesOfType:inDirectory:"); +final _objc_msgSend_706 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer ext, + ffi.Pointer bundlePath)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_pathForResource_ofType_ = + objc.registerName("pathForResource:ofType:"); +final _objc_msgSend_707 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer name, + ffi.Pointer ext)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_pathForResource_ofType_inDirectory_forLocalization_ = + objc.registerName("pathForResource:ofType:inDirectory:forLocalization:"); +final _objc_msgSend_708 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer name, + ffi.Pointer ext, + ffi.Pointer subpath, + ffi.Pointer localizationName)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_pathsForResourcesOfType_inDirectory_forLocalization_ = + objc.registerName("pathsForResourcesOfType:inDirectory:forLocalization:"); +final _objc_msgSend_709 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer ext, + ffi.Pointer subpath, + ffi.Pointer localizationName)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_localizedStringForKey_value_table_ = + objc.registerName("localizedStringForKey:value:table:"); +final _objc_msgSend_710 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer key, + ffi.Pointer value, + ffi.Pointer tableName)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); class NSAttributedString extends NSObject { - NSAttributedString._( - ffi.Pointer pointer, - SwiftLibrary lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSAttributedString._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSAttributedString] that points to the same underlying object as [other]. - static NSAttributedString castFrom( - SwiftLibrary lib, - T other, - ) { - return NSAttributedString._( - other.pointer, - lib, - retain: true, - release: true, - ); + static NSAttributedString castFrom(T other) { + return NSAttributedString._(other.pointer, retain: true, release: true); } /// Returns a [NSAttributedString] that wraps the given raw object pointer. - static NSAttributedString castFromPointer( - SwiftLibrary lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSAttributedString._(other, lib, retain: retain, release: release); + static NSAttributedString castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSAttributedString._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSAttributedString]. - static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSAttributedString1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0( + obj.pointer, _sel_isKindOfClass_, _class_NSAttributedString); } NSString get string { - final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_string1); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_string); + return NSString._(_ret, retain: true, release: true); } NSDictionary attributesAtIndex_effectiveRange_( - int location, - ffi.Pointer<_NSRange> range, - ) { - final _ret = _lib._objc_msgSend_711( - this.pointer, - _lib._sel_attributesAtIndex_effectiveRange_1, - location, - range, - ); - return NSDictionary._(_ret, _lib, retain: true, release: true); + int location, ffi.Pointer<_NSRange> range) { + final _ret = _objc_msgSend_711( + this.pointer, _sel_attributesAtIndex_effectiveRange_, location, range); + return NSDictionary._(_ret, retain: true, release: true); } int get length { - return _lib._objc_msgSend_10(this.pointer, _lib._sel_length1); + return _objc_msgSend_10(this.pointer, _sel_length); } NSObject? attribute_atIndex_effectiveRange_( - NSString attrName, - int location, - ffi.Pointer<_NSRange> range, - ) { - final _ret = _lib._objc_msgSend_712( - this.pointer, - _lib._sel_attribute_atIndex_effectiveRange_1, - attrName.pointer, - location, - range, - ); + NSString attrName, int location, ffi.Pointer<_NSRange> range) { + final _ret = _objc_msgSend_712( + this.pointer, + _sel_attribute_atIndex_effectiveRange_, + attrName.pointer, + location, + range); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } NSAttributedString attributedSubstringFromRange_(_NSRange range) { - final _ret = _lib._objc_msgSend_713( - this.pointer, - _lib._sel_attributedSubstringFromRange_1, - range, - ); - return NSAttributedString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_713( + this.pointer, _sel_attributedSubstringFromRange_, range); + return NSAttributedString._(_ret, retain: true, release: true); } NSDictionary attributesAtIndex_longestEffectiveRange_inRange_( - int location, - ffi.Pointer<_NSRange> range, - _NSRange rangeLimit, - ) { - final _ret = _lib._objc_msgSend_714( - this.pointer, - _lib._sel_attributesAtIndex_longestEffectiveRange_inRange_1, - location, - range, - rangeLimit, - ); - return NSDictionary._(_ret, _lib, retain: true, release: true); - } - - NSObject? attribute_atIndex_longestEffectiveRange_inRange_( - NSString attrName, - int location, - ffi.Pointer<_NSRange> range, - _NSRange rangeLimit, - ) { - final _ret = _lib._objc_msgSend_715( - this.pointer, - _lib._sel_attribute_atIndex_longestEffectiveRange_inRange_1, - attrName.pointer, - location, - range, - rangeLimit, - ); - return _ret.address == 0 - ? null - : NSObject._(_ret, _lib, retain: true, release: true); + int location, ffi.Pointer<_NSRange> range, _NSRange rangeLimit) { + final _ret = _objc_msgSend_714( + this.pointer, + _sel_attributesAtIndex_longestEffectiveRange_inRange_, + location, + range, + rangeLimit); + return NSDictionary._(_ret, retain: true, release: true); + } + + NSObject? attribute_atIndex_longestEffectiveRange_inRange_(NSString attrName, + int location, ffi.Pointer<_NSRange> range, _NSRange rangeLimit) { + final _ret = _objc_msgSend_715( + this.pointer, + _sel_attribute_atIndex_longestEffectiveRange_inRange_, + attrName.pointer, + location, + range, + rangeLimit); + return _ret.address == 0 + ? null + : NSObject._(_ret, retain: true, release: true); } bool isEqualToAttributedString_(NSAttributedString other) { - return _lib._objc_msgSend_716( - this.pointer, - _lib._sel_isEqualToAttributedString_1, - other.pointer, - ); + return _objc_msgSend_716( + this.pointer, _sel_isEqualToAttributedString_, other.pointer); } NSAttributedString initWithString_(NSString str) { - final _ret = _lib._objc_msgSend_31( - this.pointer, - _lib._sel_initWithString_1, - str.pointer, - ); - return NSAttributedString._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_31(this.pointer, _sel_initWithString_, str.pointer); + return NSAttributedString._(_ret, retain: true, release: true); } NSAttributedString initWithString_attributes_( - NSString str, - NSDictionary? attrs, - ) { - final _ret = _lib._objc_msgSend_717( - this.pointer, - _lib._sel_initWithString_attributes_1, - str.pointer, - attrs?.pointer ?? ffi.nullptr, - ); - return NSAttributedString._(_ret, _lib, retain: true, release: true); + NSString str, NSDictionary? attrs) { + final _ret = _objc_msgSend_717( + this.pointer, + _sel_initWithString_attributes_, + str.pointer, + attrs?.pointer ?? ffi.nullptr); + return NSAttributedString._(_ret, retain: true, release: true); } NSAttributedString initWithAttributedString_(NSAttributedString attrStr) { - final _ret = _lib._objc_msgSend_718( - this.pointer, - _lib._sel_initWithAttributedString_1, - attrStr.pointer, - ); - return NSAttributedString._(_ret, _lib, retain: true, release: true); - } - - void enumerateAttributesInRange_options_usingBlock_( - _NSRange enumerationRange, - int opts, - ObjCBlock_ffiVoid_NSDictionary_NSRange_bool block, - ) { - _lib._objc_msgSend_719( - this.pointer, - _lib._sel_enumerateAttributesInRange_options_usingBlock_1, - enumerationRange, - opts, - block.pointer, - ); + final _ret = _objc_msgSend_718( + this.pointer, _sel_initWithAttributedString_, attrStr.pointer); + return NSAttributedString._(_ret, retain: true, release: true); + } + + void enumerateAttributesInRange_options_usingBlock_(_NSRange enumerationRange, + int opts, ObjCBlock_ffiVoid_NSDictionary_NSRange_bool block) { + _objc_msgSend_719( + this.pointer, + _sel_enumerateAttributesInRange_options_usingBlock_, + enumerationRange, + opts, + block.pointer); } void enumerateAttribute_inRange_options_usingBlock_( - NSString attrName, - _NSRange enumerationRange, - int opts, - ObjCBlock_ffiVoid_objcObjCObject_NSRange_bool block, - ) { - _lib._objc_msgSend_720( - this.pointer, - _lib._sel_enumerateAttribute_inRange_options_usingBlock_1, - attrName.pointer, - enumerationRange, - opts, - block.pointer, - ); + NSString attrName, + _NSRange enumerationRange, + int opts, + ObjCBlock_ffiVoid_objcObjCObject_NSRange_bool block) { + _objc_msgSend_720( + this.pointer, + _sel_enumerateAttribute_inRange_options_usingBlock_, + attrName.pointer, + enumerationRange, + opts, + block.pointer); } NSAttributedString? initWithContentsOfMarkdownFileAtURL_options_baseURL_error_( - NSURL markdownFile, - NSAttributedStringMarkdownParsingOptions? options, - NSURL? baseURL, - ffi.Pointer> error, - ) { - final _ret = _lib._objc_msgSend_725( - this.pointer, - _lib._sel_initWithContentsOfMarkdownFileAtURL_options_baseURL_error_1, - markdownFile.pointer, - options?.pointer ?? ffi.nullptr, - baseURL?.pointer ?? ffi.nullptr, - error, - ); + NSURL markdownFile, + NSAttributedStringMarkdownParsingOptions? options, + NSURL? baseURL, + ffi.Pointer> error) { + final _ret = _objc_msgSend_725( + this.pointer, + _sel_initWithContentsOfMarkdownFileAtURL_options_baseURL_error_, + markdownFile.pointer, + options?.pointer ?? ffi.nullptr, + baseURL?.pointer ?? ffi.nullptr, + error); return _ret.address == 0 ? null - : NSAttributedString._(_ret, _lib, retain: true, release: true); + : NSAttributedString._(_ret, retain: true, release: true); } NSAttributedString? initWithMarkdown_options_baseURL_error_( - NSData markdown, - NSAttributedStringMarkdownParsingOptions? options, - NSURL? baseURL, - ffi.Pointer> error, - ) { - final _ret = _lib._objc_msgSend_726( - this.pointer, - _lib._sel_initWithMarkdown_options_baseURL_error_1, - markdown.pointer, - options?.pointer ?? ffi.nullptr, - baseURL?.pointer ?? ffi.nullptr, - error, - ); + NSData markdown, + NSAttributedStringMarkdownParsingOptions? options, + NSURL? baseURL, + ffi.Pointer> error) { + final _ret = _objc_msgSend_726( + this.pointer, + _sel_initWithMarkdown_options_baseURL_error_, + markdown.pointer, + options?.pointer ?? ffi.nullptr, + baseURL?.pointer ?? ffi.nullptr, + error); return _ret.address == 0 ? null - : NSAttributedString._(_ret, _lib, retain: true, release: true); + : NSAttributedString._(_ret, retain: true, release: true); } NSAttributedString? initWithMarkdownString_options_baseURL_error_( - NSString markdownString, - NSAttributedStringMarkdownParsingOptions? options, - NSURL? baseURL, - ffi.Pointer> error, - ) { - final _ret = _lib._objc_msgSend_727( - this.pointer, - _lib._sel_initWithMarkdownString_options_baseURL_error_1, - markdownString.pointer, - options?.pointer ?? ffi.nullptr, - baseURL?.pointer ?? ffi.nullptr, - error, - ); + NSString markdownString, + NSAttributedStringMarkdownParsingOptions? options, + NSURL? baseURL, + ffi.Pointer> error) { + final _ret = _objc_msgSend_727( + this.pointer, + _sel_initWithMarkdownString_options_baseURL_error_, + markdownString.pointer, + options?.pointer ?? ffi.nullptr, + baseURL?.pointer ?? ffi.nullptr, + error); return _ret.address == 0 ? null - : NSAttributedString._(_ret, _lib, retain: true, release: true); + : NSAttributedString._(_ret, retain: true, release: true); } NSAttributedString initWithFormat_options_locale_( - NSAttributedString format, - int options, - NSLocale? locale, - ) { - final _ret = _lib._objc_msgSend_728( - this.pointer, - _lib._sel_initWithFormat_options_locale_1, - format.pointer, - options, - locale?.pointer ?? ffi.nullptr, - ); - return NSAttributedString._(_ret, _lib, retain: true, release: true); + NSAttributedString format, int options, NSLocale? locale) { + final _ret = _objc_msgSend_728( + this.pointer, + _sel_initWithFormat_options_locale_, + format.pointer, + options, + locale?.pointer ?? ffi.nullptr); + return NSAttributedString._(_ret, retain: true, release: true); } NSAttributedString initWithFormat_options_locale_arguments_( - NSAttributedString format, - int options, - NSLocale? locale, - ffi.Pointer<__va_list_tag> arguments, - ) { - final _ret = _lib._objc_msgSend_729( - this.pointer, - _lib._sel_initWithFormat_options_locale_arguments_1, - format.pointer, - options, - locale?.pointer ?? ffi.nullptr, - arguments, - ); - return NSAttributedString._(_ret, _lib, retain: true, release: true); + NSAttributedString format, + int options, + NSLocale? locale, + ffi.Pointer<__va_list_tag> arguments) { + final _ret = _objc_msgSend_729( + this.pointer, + _sel_initWithFormat_options_locale_arguments_, + format.pointer, + options, + locale?.pointer ?? ffi.nullptr, + arguments); + return NSAttributedString._(_ret, retain: true, release: true); } static NSAttributedString localizedAttributedStringWithFormat_( - SwiftLibrary _lib, - NSAttributedString format, - ) { - final _ret = _lib._objc_msgSend_718( - _lib._class_NSAttributedString1, - _lib._sel_localizedAttributedStringWithFormat_1, - format.pointer, - ); - return NSAttributedString._(_ret, _lib, retain: true, release: true); + NSAttributedString format) { + final _ret = _objc_msgSend_718(_class_NSAttributedString, + _sel_localizedAttributedStringWithFormat_, format.pointer); + return NSAttributedString._(_ret, retain: true, release: true); } static NSAttributedString localizedAttributedStringWithFormat_options_( - SwiftLibrary _lib, - NSAttributedString format, - int options, - ) { - final _ret = _lib._objc_msgSend_730( - _lib._class_NSAttributedString1, - _lib._sel_localizedAttributedStringWithFormat_options_1, - format.pointer, - options, - ); - return NSAttributedString._(_ret, _lib, retain: true, release: true); + NSAttributedString format, int options) { + final _ret = _objc_msgSend_730( + _class_NSAttributedString, + _sel_localizedAttributedStringWithFormat_options_, + format.pointer, + options); + return NSAttributedString._(_ret, retain: true, release: true); } NSAttributedString initWithFormat_options_locale_context_( - NSAttributedString format, - int options, - NSLocale? locale, - NSDictionary context, - ) { - final _ret = _lib._objc_msgSend_731( - this.pointer, - _lib._sel_initWithFormat_options_locale_context_1, - format.pointer, - options, - locale?.pointer ?? ffi.nullptr, - context.pointer, - ); - return NSAttributedString._(_ret, _lib, retain: true, release: true); + NSAttributedString format, + int options, + NSLocale? locale, + NSDictionary context) { + final _ret = _objc_msgSend_731( + this.pointer, + _sel_initWithFormat_options_locale_context_, + format.pointer, + options, + locale?.pointer ?? ffi.nullptr, + context.pointer); + return NSAttributedString._(_ret, retain: true, release: true); } NSAttributedString initWithFormat_options_locale_context_arguments_( - NSAttributedString format, - int options, - NSLocale? locale, - NSDictionary context, - ffi.Pointer<__va_list_tag> arguments, - ) { - final _ret = _lib._objc_msgSend_732( - this.pointer, - _lib._sel_initWithFormat_options_locale_context_arguments_1, - format.pointer, - options, - locale?.pointer ?? ffi.nullptr, - context.pointer, - arguments, - ); - return NSAttributedString._(_ret, _lib, retain: true, release: true); + NSAttributedString format, + int options, + NSLocale? locale, + NSDictionary context, + ffi.Pointer<__va_list_tag> arguments) { + final _ret = _objc_msgSend_732( + this.pointer, + _sel_initWithFormat_options_locale_context_arguments_, + format.pointer, + options, + locale?.pointer ?? ffi.nullptr, + context.pointer, + arguments); + return NSAttributedString._(_ret, retain: true, release: true); } static NSAttributedString localizedAttributedStringWithFormat_context_( - SwiftLibrary _lib, - NSAttributedString format, - NSDictionary context, - ) { - final _ret = _lib._objc_msgSend_733( - _lib._class_NSAttributedString1, - _lib._sel_localizedAttributedStringWithFormat_context_1, - format.pointer, - context.pointer, - ); - return NSAttributedString._(_ret, _lib, retain: true, release: true); + NSAttributedString format, NSDictionary context) { + final _ret = _objc_msgSend_733( + _class_NSAttributedString, + _sel_localizedAttributedStringWithFormat_context_, + format.pointer, + context.pointer); + return NSAttributedString._(_ret, retain: true, release: true); } static NSAttributedString localizedAttributedStringWithFormat_options_context_( - SwiftLibrary _lib, - NSAttributedString format, - int options, - NSDictionary context, - ) { - final _ret = _lib._objc_msgSend_734( - _lib._class_NSAttributedString1, - _lib._sel_localizedAttributedStringWithFormat_options_context_1, - format.pointer, - options, - context.pointer, - ); - return NSAttributedString._(_ret, _lib, retain: true, release: true); + NSAttributedString format, int options, NSDictionary context) { + final _ret = _objc_msgSend_734( + _class_NSAttributedString, + _sel_localizedAttributedStringWithFormat_options_context_, + format.pointer, + options, + context.pointer); + return NSAttributedString._(_ret, retain: true, release: true); } NSAttributedString attributedStringByInflectingString() { - final _ret = _lib._objc_msgSend_735( - this.pointer, - _lib._sel_attributedStringByInflectingString1, - ); - return NSAttributedString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_735( + this.pointer, _sel_attributedStringByInflectingString); + return NSAttributedString._(_ret, retain: true, release: true); } @override NSAttributedString init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSAttributedString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSAttributedString._(_ret, retain: true, release: true); } - static NSAttributedString new1(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSAttributedString1, - _lib._sel_new1, - ); - return NSAttributedString._(_ret, _lib, retain: false, release: true); + static NSAttributedString new1() { + final _ret = _objc_msgSend_2(_class_NSAttributedString, _sel_new); + return NSAttributedString._(_ret, retain: false, release: true); } - static NSAttributedString allocWithZone_( - SwiftLibrary _lib, - ffi.Pointer<_NSZone> zone, - ) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSAttributedString1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSAttributedString._(_ret, _lib, retain: false, release: true); + static NSAttributedString allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = + _objc_msgSend_3(_class_NSAttributedString, _sel_allocWithZone_, zone); + return NSAttributedString._(_ret, retain: false, release: true); } - static NSAttributedString alloc(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSAttributedString1, - _lib._sel_alloc1, - ); - return NSAttributedString._(_ret, _lib, retain: false, release: true); + static NSAttributedString alloc() { + final _ret = _objc_msgSend_2(_class_NSAttributedString, _sel_alloc); + return NSAttributedString._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSAttributedString1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSAttributedString1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSAttributedString1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSAttributedString1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSAttributedString1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSAttributedString1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSAttributedString, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); } - static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSAttributedString1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSAttributedString1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSAttributedString1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSAttributedString, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); + } + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSAttributedString, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSAttributedString, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSAttributedString, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); } -} + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSAttributedString, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); + } + + static void setKeys_triggerChangeNotificationsForDependentKey_( + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSAttributedString, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = _objc_msgSend_85( + _class_NSAttributedString, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = _objc_msgSend_2( + _class_NSAttributedString, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); + } +} + +late final _class_NSAttributedString = objc.getClass("NSAttributedString"); +late final _sel_attributesAtIndex_effectiveRange_ = + objc.registerName("attributesAtIndex:effectiveRange:"); +final _objc_msgSend_711 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.UnsignedLong location, + ffi.Pointer<_NSRange> range)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, int, ffi.Pointer<_NSRange>)>(); +late final _sel_attribute_atIndex_effectiveRange_ = + objc.registerName("attribute:atIndex:effectiveRange:"); +final _objc_msgSend_712 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer attrName, + ffi.UnsignedLong location, + ffi.Pointer<_NSRange> range)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer<_NSRange>)>(); +late final _sel_attributedSubstringFromRange_ = + objc.registerName("attributedSubstringFromRange:"); +final _objc_msgSend_713 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + _NSRange range)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, _NSRange)>(); +late final _sel_attributesAtIndex_longestEffectiveRange_inRange_ = + objc.registerName("attributesAtIndex:longestEffectiveRange:inRange:"); +final _objc_msgSend_714 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.UnsignedLong location, + ffi.Pointer<_NSRange> range, + _NSRange rangeLimit)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer<_NSRange>, + _NSRange)>(); +late final _sel_attribute_atIndex_longestEffectiveRange_inRange_ = + objc.registerName("attribute:atIndex:longestEffectiveRange:inRange:"); +final _objc_msgSend_715 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer attrName, + ffi.UnsignedLong location, + ffi.Pointer<_NSRange> range, + _NSRange rangeLimit)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer<_NSRange>, + _NSRange)>(); +late final _sel_isEqualToAttributedString_ = + objc.registerName("isEqualToAttributedString:"); +final _objc_msgSend_716 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer other)>>() + .asFunction< + bool Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_initWithString_attributes_ = + objc.registerName("initWithString:attributes:"); +final _objc_msgSend_717 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer str, + ffi.Pointer attrs)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_initWithAttributedString_ = + objc.registerName("initWithAttributedString:"); +final _objc_msgSend_718 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer attrStr)>>() + .asFunction< + instancetype Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); abstract class NSAttributedStringEnumerationOptions { static const int NSAttributedStringEnumerationReverse = 2; @@ -68569,40 +34858,27 @@ abstract class NSAttributedStringEnumerationOptions { } void _ObjCBlock_ffiVoid_NSDictionary_NSRange_bool_fnPtrTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, - _NSRange arg1, - ffi.Pointer arg2, -) => + ffi.Pointer block, + ffi.Pointer arg0, + _NSRange arg1, + ffi.Pointer arg2) => block.ref.target .cast< ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - _NSRange arg1, - ffi.Pointer arg2, - )>>() + ffi.Void Function(ffi.Pointer arg0, + _NSRange arg1, ffi.Pointer arg2)>>() .asFunction< - void Function( - ffi.Pointer, - _NSRange, - ffi.Pointer, - )>()(arg0, arg1, arg2); + void Function(ffi.Pointer, _NSRange, + ffi.Pointer)>()(arg0, arg1, arg2); final _ObjCBlock_ffiVoid_NSDictionary_NSRange_bool_closureRegistry = , - _NSRange, - ffi.Pointer, -)>{}; + ffi.Pointer, _NSRange, ffi.Pointer)>{}; int _ObjCBlock_ffiVoid_NSDictionary_NSRange_bool_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_ffiVoid_NSDictionary_NSRange_bool_registerClosure( - void Function( - ffi.Pointer, - _NSRange, - ffi.Pointer, - ) fn, -) { + void Function( + ffi.Pointer, _NSRange, ffi.Pointer) + fn) { final id = ++_ObjCBlock_ffiVoid_NSDictionary_NSRange_bool_closureRegistryIndex; _ObjCBlock_ffiVoid_NSDictionary_NSRange_bool_closureRegistry[id] = fn; @@ -68610,37 +34886,27 @@ ffi.Pointer } void _ObjCBlock_ffiVoid_NSDictionary_NSRange_bool_closureTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, - _NSRange arg1, - ffi.Pointer arg2, -) => + ffi.Pointer block, + ffi.Pointer arg0, + _NSRange arg1, + ffi.Pointer arg2) => _ObjCBlock_ffiVoid_NSDictionary_NSRange_bool_closureRegistry[ block.ref.target.address]!(arg0, arg1, arg2); class ObjCBlock_ffiVoid_NSDictionary_NSRange_bool extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSDictionary_NSRange_bool._( - ffi.Pointer pointer, - this._lib, { - bool retain = false, - bool release = true, - }) : super(pointer, retain: retain, release: release); - - SwiftLibrary _lib; + ffi.Pointer pointer, + {bool retain = false, + bool release = true}) + : super(pointer, retain: retain, release: release); /// Returns a block that wraps the given raw block pointer. static ObjCBlock_ffiVoid_NSDictionary_NSRange_bool castFromPointer( - SwiftLibrary lib, - ffi.Pointer pointer, { - bool retain = false, - bool release = false, - }) { - return ObjCBlock_ffiVoid_NSDictionary_NSRange_bool._( - pointer, - lib, - retain: retain, - release: release, - ); + ffi.Pointer pointer, + {bool retain = false, + bool release = false}) { + return ObjCBlock_ffiVoid_NSDictionary_NSRange_bool._(pointer, + retain: retain, release: release); } /// Creates a block from a C function pointer. @@ -68649,29 +34915,22 @@ class ObjCBlock_ffiVoid_NSDictionary_NSRange_bool extends objc.ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSDictionary_NSRange_bool.fromFunctionPointer( - SwiftLibrary lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - _NSRange arg1, - ffi.Pointer arg2, - )>> - ptr, - ) : this._( - objc.newBlock( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - )>( - _ObjCBlock_ffiVoid_NSDictionary_NSRange_bool_fnPtrTrampoline, - ).cast(), - ptr.cast(), - ), - lib); + ffi.Pointer< + ffi + .NativeFunction< + ffi.Void Function(ffi.Pointer arg0, + _NSRange arg1, ffi.Pointer arg2)>> + ptr) + : this._(objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer)>( + _ObjCBlock_ffiVoid_NSDictionary_NSRange_bool_fnPtrTrampoline) + .cast(), + ptr.cast())); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -68680,35 +34939,20 @@ class ObjCBlock_ffiVoid_NSDictionary_NSRange_bool extends objc.ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSDictionary_NSRange_bool.fromFunction( - SwiftLibrary lib, - void Function(NSDictionary, _NSRange, ffi.Pointer) fn, - ) : this._( - objc.newBlock( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - )>( - _ObjCBlock_ffiVoid_NSDictionary_NSRange_bool_closureTrampoline, - ).cast(), - _ObjCBlock_ffiVoid_NSDictionary_NSRange_bool_registerClosure(( - ffi.Pointer arg0, - _NSRange arg1, - ffi.Pointer arg2, - ) => - fn( - NSDictionary._( - arg0, - lib, - retain: true, - release: true, - ), - arg1, - arg2)), - ), - lib); + void Function(NSDictionary, _NSRange, ffi.Pointer) fn) + : this._(objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer)>( + _ObjCBlock_ffiVoid_NSDictionary_NSRange_bool_closureTrampoline) + .cast(), + _ObjCBlock_ffiVoid_NSDictionary_NSRange_bool_registerClosure( + (ffi.Pointer arg0, _NSRange arg1, + ffi.Pointer arg2) => + fn(NSDictionary._(arg0, retain: true, release: true), arg1, arg2)))); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -68721,103 +34965,86 @@ class ObjCBlock_ffiVoid_NSDictionary_NSRange_bool extends objc.ObjCBlockBase { /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. ObjCBlock_ffiVoid_NSDictionary_NSRange_bool.listener( - SwiftLibrary lib, - void Function(NSDictionary, _NSRange, ffi.Pointer) fn, - ) : this._( - objc.newBlock( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - )>.listener( - _ObjCBlock_ffiVoid_NSDictionary_NSRange_bool_closureTrampoline, - )..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSDictionary_NSRange_bool_registerClosure(( - ffi.Pointer arg0, - _NSRange arg1, - ffi.Pointer arg2, - ) => - fn( - NSDictionary._( - arg0, - lib, - retain: true, - release: true, - ), - arg1, - arg2)), - ), - lib); + void Function(NSDictionary, _NSRange, ffi.Pointer) fn) + : this._(objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer)>.listener( + _ObjCBlock_ffiVoid_NSDictionary_NSRange_bool_closureTrampoline) + ..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSDictionary_NSRange_bool_registerClosure( + (ffi.Pointer arg0, _NSRange arg1, + ffi.Pointer arg2) => + fn(NSDictionary._(arg0, retain: true, release: true), arg1, arg2)))); static ffi.NativeCallable< ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - )>? _dartFuncListenerTrampoline; - - void call( - NSDictionary arg0, - _NSRange arg1, - ffi.Pointer arg2, - ) => + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer)>? _dartFuncListenerTrampoline; + + void call(NSDictionary arg0, _NSRange arg1, ffi.Pointer arg2) => pointer.ref.invoke .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer block, - ffi.Pointer arg0, - _NSRange arg1, - ffi.Pointer arg2, - )>>() + ffi.Pointer block, + ffi.Pointer arg0, + _NSRange arg1, + ffi.Pointer arg2)>>() .asFunction< void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - )>()(pointer, arg0.pointer, arg1, arg2); -} - + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer)>()(pointer, arg0.pointer, arg1, arg2); +} + +late final _sel_enumerateAttributesInRange_options_usingBlock_ = + objc.registerName("enumerateAttributesInRange:options:usingBlock:"); +final _objc_msgSend_719 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + _NSRange enumerationRange, + ffi.Int32 opts, + ffi.Pointer block)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + int, + ffi.Pointer)>(); void _ObjCBlock_ffiVoid_objcObjCObject_NSRange_bool_fnPtrTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, - _NSRange arg1, - ffi.Pointer arg2, -) => + ffi.Pointer block, + ffi.Pointer arg0, + _NSRange arg1, + ffi.Pointer arg2) => block.ref.target .cast< ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - _NSRange arg1, - ffi.Pointer arg2, - )>>() + ffi.Void Function(ffi.Pointer arg0, + _NSRange arg1, ffi.Pointer arg2)>>() .asFunction< - void Function( - ffi.Pointer, - _NSRange, - ffi.Pointer, - )>()(arg0, arg1, arg2); + void Function(ffi.Pointer, _NSRange, + ffi.Pointer)>()(arg0, arg1, arg2); final _ObjCBlock_ffiVoid_objcObjCObject_NSRange_bool_closureRegistry = , - _NSRange, - ffi.Pointer, -)>{}; + ffi.Pointer, _NSRange, ffi.Pointer)>{}; int _ObjCBlock_ffiVoid_objcObjCObject_NSRange_bool_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_ffiVoid_objcObjCObject_NSRange_bool_registerClosure( - void Function( - ffi.Pointer, - _NSRange, - ffi.Pointer, - ) fn, -) { + void Function( + ffi.Pointer, _NSRange, ffi.Pointer) + fn) { final id = ++_ObjCBlock_ffiVoid_objcObjCObject_NSRange_bool_closureRegistryIndex; _ObjCBlock_ffiVoid_objcObjCObject_NSRange_bool_closureRegistry[id] = fn; @@ -68825,37 +35052,27 @@ ffi.Pointer } void _ObjCBlock_ffiVoid_objcObjCObject_NSRange_bool_closureTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, - _NSRange arg1, - ffi.Pointer arg2, -) => + ffi.Pointer block, + ffi.Pointer arg0, + _NSRange arg1, + ffi.Pointer arg2) => _ObjCBlock_ffiVoid_objcObjCObject_NSRange_bool_closureRegistry[ block.ref.target.address]!(arg0, arg1, arg2); class ObjCBlock_ffiVoid_objcObjCObject_NSRange_bool extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_objcObjCObject_NSRange_bool._( - ffi.Pointer pointer, - this._lib, { - bool retain = false, - bool release = true, - }) : super(pointer, retain: retain, release: release); - - SwiftLibrary _lib; + ffi.Pointer pointer, + {bool retain = false, + bool release = true}) + : super(pointer, retain: retain, release: release); /// Returns a block that wraps the given raw block pointer. static ObjCBlock_ffiVoid_objcObjCObject_NSRange_bool castFromPointer( - SwiftLibrary lib, - ffi.Pointer pointer, { - bool retain = false, - bool release = false, - }) { - return ObjCBlock_ffiVoid_objcObjCObject_NSRange_bool._( - pointer, - lib, - retain: retain, - release: release, - ); + ffi.Pointer pointer, + {bool retain = false, + bool release = false}) { + return ObjCBlock_ffiVoid_objcObjCObject_NSRange_bool._(pointer, + retain: retain, release: release); } /// Creates a block from a C function pointer. @@ -68864,29 +35081,21 @@ class ObjCBlock_ffiVoid_objcObjCObject_NSRange_bool extends objc.ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_objcObjCObject_NSRange_bool.fromFunctionPointer( - SwiftLibrary lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - _NSRange arg1, - ffi.Pointer arg2, - )>> - ptr, - ) : this._( - objc.newBlock( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - )>( - _ObjCBlock_ffiVoid_objcObjCObject_NSRange_bool_fnPtrTrampoline, - ).cast(), - ptr.cast(), - ), - lib); + ffi.Pointer< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer arg0, + _NSRange arg1, ffi.Pointer arg2)>> + ptr) + : this._(objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer)>( + _ObjCBlock_ffiVoid_objcObjCObject_NSRange_bool_fnPtrTrampoline) + .cast(), + ptr.cast())); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -68895,33 +35104,20 @@ class ObjCBlock_ffiVoid_objcObjCObject_NSRange_bool extends objc.ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_objcObjCObject_NSRange_bool.fromFunction( - SwiftLibrary lib, - void Function(NSObject?, _NSRange, ffi.Pointer) fn, - ) : this._( - objc.newBlock( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - )>( - _ObjCBlock_ffiVoid_objcObjCObject_NSRange_bool_closureTrampoline, - ).cast(), - _ObjCBlock_ffiVoid_objcObjCObject_NSRange_bool_registerClosure(( - ffi.Pointer arg0, - _NSRange arg1, - ffi.Pointer arg2, - ) => - fn( - arg0.address == 0 - ? null - : NSObject._(arg0, lib, retain: true, release: true), - arg1, - arg2, - )), - ), - lib); + void Function(NSObject?, _NSRange, ffi.Pointer) fn) + : this._(objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer)>( + _ObjCBlock_ffiVoid_objcObjCObject_NSRange_bool_closureTrampoline) + .cast(), + _ObjCBlock_ffiVoid_objcObjCObject_NSRange_bool_registerClosure( + (ffi.Pointer arg0, _NSRange arg1, + ffi.Pointer arg2) => + fn(arg0.address == 0 ? null : NSObject._(arg0, retain: true, release: true), arg1, arg2)))); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -68934,325 +35130,245 @@ class ObjCBlock_ffiVoid_objcObjCObject_NSRange_bool extends objc.ObjCBlockBase { /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. ObjCBlock_ffiVoid_objcObjCObject_NSRange_bool.listener( - SwiftLibrary lib, - void Function(NSObject?, _NSRange, ffi.Pointer) fn, - ) : this._( - objc.newBlock( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - )>.listener( - _ObjCBlock_ffiVoid_objcObjCObject_NSRange_bool_closureTrampoline, - )..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_objcObjCObject_NSRange_bool_registerClosure(( - ffi.Pointer arg0, - _NSRange arg1, - ffi.Pointer arg2, - ) => - fn( - arg0.address == 0 - ? null - : NSObject._(arg0, lib, retain: true, release: true), - arg1, - arg2, - )), - ), - lib); + void Function(NSObject?, _NSRange, ffi.Pointer) fn) + : this._(objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer)>.listener( + _ObjCBlock_ffiVoid_objcObjCObject_NSRange_bool_closureTrampoline) + ..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_objcObjCObject_NSRange_bool_registerClosure( + (ffi.Pointer arg0, _NSRange arg1, + ffi.Pointer arg2) => + fn(arg0.address == 0 ? null : NSObject._(arg0, retain: true, release: true), arg1, arg2)))); static ffi.NativeCallable< ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - )>? _dartFuncListenerTrampoline; - - void call( - NSObject? arg0, - _NSRange arg1, - ffi.Pointer arg2, - ) => + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer)>? _dartFuncListenerTrampoline; + + void call(NSObject? arg0, _NSRange arg1, ffi.Pointer arg2) => pointer.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer block, - ffi.Pointer arg0, - _NSRange arg1, - ffi.Pointer arg2, - )>>() - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - )>()(pointer, arg0?.pointer ?? ffi.nullptr, arg1, arg2); -} + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer block, + ffi.Pointer arg0, + _NSRange arg1, + ffi.Pointer arg2)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer)>()( + pointer, arg0?.pointer ?? ffi.nullptr, arg1, arg2); +} + +late final _sel_enumerateAttribute_inRange_options_usingBlock_ = + objc.registerName("enumerateAttribute:inRange:options:usingBlock:"); +final _objc_msgSend_720 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer attrName, + _NSRange enumerationRange, + ffi.Int32 opts, + ffi.Pointer block)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange, + int, + ffi.Pointer)>(); class NSAttributedStringMarkdownParsingOptions extends NSObject { NSAttributedStringMarkdownParsingOptions._( - ffi.Pointer pointer, - SwiftLibrary lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + ffi.Pointer pointer, + {bool retain = false, + bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSAttributedStringMarkdownParsingOptions] that points to the same underlying object as [other]. static NSAttributedStringMarkdownParsingOptions - castFrom(SwiftLibrary lib, T other) { - return NSAttributedStringMarkdownParsingOptions._( - other.pointer, - lib, - retain: true, - release: true, - ); + castFrom(T other) { + return NSAttributedStringMarkdownParsingOptions._(other.pointer, + retain: true, release: true); } /// Returns a [NSAttributedStringMarkdownParsingOptions] that wraps the given raw object pointer. static NSAttributedStringMarkdownParsingOptions castFromPointer( - SwiftLibrary lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSAttributedStringMarkdownParsingOptions._( - other, - lib, - retain: retain, - release: release, - ); + ffi.Pointer other, + {bool retain = false, + bool release = false}) { + return NSAttributedStringMarkdownParsingOptions._(other, + retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSAttributedStringMarkdownParsingOptions]. - static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSAttributedStringMarkdownParsingOptions1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0(obj.pointer, _sel_isKindOfClass_, + _class_NSAttributedStringMarkdownParsingOptions); } @override NSAttributedStringMarkdownParsingOptions init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSAttributedStringMarkdownParsingOptions._( - _ret, - _lib, - retain: true, - release: true, - ); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSAttributedStringMarkdownParsingOptions._(_ret, + retain: true, release: true); } bool get allowsExtendedAttributes { - return _lib._objc_msgSend_12( - this.pointer, - _lib._sel_allowsExtendedAttributes1, - ); + return _objc_msgSend_12(this.pointer, _sel_allowsExtendedAttributes); } set allowsExtendedAttributes(bool value) { - return _lib._objc_msgSend_527( - this.pointer, - _lib._sel_setAllowsExtendedAttributes_1, - value, - ); + return _objc_msgSend_527( + this.pointer, _sel_setAllowsExtendedAttributes_, value); } int get interpretedSyntax { - return _lib._objc_msgSend_721(this.pointer, _lib._sel_interpretedSyntax1); + return _objc_msgSend_721(this.pointer, _sel_interpretedSyntax); } set interpretedSyntax(int value) { - return _lib._objc_msgSend_722( - this.pointer, - _lib._sel_setInterpretedSyntax_1, - value, - ); + return _objc_msgSend_722(this.pointer, _sel_setInterpretedSyntax_, value); } int get failurePolicy { - return _lib._objc_msgSend_723(this.pointer, _lib._sel_failurePolicy1); + return _objc_msgSend_723(this.pointer, _sel_failurePolicy); } set failurePolicy(int value) { - return _lib._objc_msgSend_724( - this.pointer, - _lib._sel_setFailurePolicy_1, - value, - ); + return _objc_msgSend_724(this.pointer, _sel_setFailurePolicy_, value); } NSString? get languageCode { - final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_languageCode1); + final _ret = _objc_msgSend_44(this.pointer, _sel_languageCode); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } set languageCode(NSString? value) { - return _lib._objc_msgSend_545( - this.pointer, - _lib._sel_setLanguageCode_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_545( + this.pointer, _sel_setLanguageCode_, value?.pointer ?? ffi.nullptr); } bool get appliesSourcePositionAttributes { - return _lib._objc_msgSend_12( - this.pointer, - _lib._sel_appliesSourcePositionAttributes1, - ); + return _objc_msgSend_12(this.pointer, _sel_appliesSourcePositionAttributes); } set appliesSourcePositionAttributes(bool value) { - return _lib._objc_msgSend_527( - this.pointer, - _lib._sel_setAppliesSourcePositionAttributes_1, - value, - ); - } - - static NSAttributedStringMarkdownParsingOptions new1(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSAttributedStringMarkdownParsingOptions1, - _lib._sel_new1, - ); - return NSAttributedStringMarkdownParsingOptions._( - _ret, - _lib, - retain: false, - release: true, - ); + return _objc_msgSend_527( + this.pointer, _sel_setAppliesSourcePositionAttributes_, value); + } + + static NSAttributedStringMarkdownParsingOptions new1() { + final _ret = _objc_msgSend_2( + _class_NSAttributedStringMarkdownParsingOptions, _sel_new); + return NSAttributedStringMarkdownParsingOptions._(_ret, + retain: false, release: true); } static NSAttributedStringMarkdownParsingOptions allocWithZone_( - SwiftLibrary _lib, - ffi.Pointer<_NSZone> zone, - ) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSAttributedStringMarkdownParsingOptions1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSAttributedStringMarkdownParsingOptions._( - _ret, - _lib, - retain: false, - release: true, - ); - } - - static NSAttributedStringMarkdownParsingOptions alloc(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSAttributedStringMarkdownParsingOptions1, - _lib._sel_alloc1, - ); - return NSAttributedStringMarkdownParsingOptions._( - _ret, - _lib, - retain: false, - release: true, - ); + ffi.Pointer<_NSZone> zone) { + final _ret = _objc_msgSend_3( + _class_NSAttributedStringMarkdownParsingOptions, + _sel_allocWithZone_, + zone); + return NSAttributedStringMarkdownParsingOptions._(_ret, + retain: false, release: true); + } + + static NSAttributedStringMarkdownParsingOptions alloc() { + final _ret = _objc_msgSend_2( + _class_NSAttributedStringMarkdownParsingOptions, _sel_alloc); + return NSAttributedStringMarkdownParsingOptions._(_ret, + retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSAttributedStringMarkdownParsingOptions1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSAttributedStringMarkdownParsingOptions1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSAttributedStringMarkdownParsingOptions1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSAttributedStringMarkdownParsingOptions1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSAttributedStringMarkdownParsingOptions1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSAttributedStringMarkdownParsingOptions1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSAttributedStringMarkdownParsingOptions, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); + } + + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSAttributedStringMarkdownParsingOptions, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); + } + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12(_class_NSAttributedStringMarkdownParsingOptions, + _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSAttributedStringMarkdownParsingOptions, + _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63( + _class_NSAttributedStringMarkdownParsingOptions, + _sel_keyPathsForValuesAffectingValueForKey_, + key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSAttributedStringMarkdownParsingOptions, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); } static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSAttributedStringMarkdownParsingOptions1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSAttributedStringMarkdownParsingOptions1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSAttributedStringMarkdownParsingOptions1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSAttributedStringMarkdownParsingOptions, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = _objc_msgSend_85( + _class_NSAttributedStringMarkdownParsingOptions, + _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = _objc_msgSend_2( + _class_NSAttributedStringMarkdownParsingOptions, + _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); } } +late final _class_NSAttributedStringMarkdownParsingOptions = + objc.getClass("NSAttributedStringMarkdownParsingOptions"); +late final _sel_allowsExtendedAttributes = + objc.registerName("allowsExtendedAttributes"); +late final _sel_setAllowsExtendedAttributes_ = + objc.registerName("setAllowsExtendedAttributes:"); + abstract class NSAttributedStringMarkdownInterpretedSyntax { static const int NSAttributedStringMarkdownInterpretedSyntaxFull = 0; static const int NSAttributedStringMarkdownInterpretedSyntaxInlineOnly = 1; @@ -69261,6 +35377,26 @@ abstract class NSAttributedStringMarkdownInterpretedSyntax { 2; } +late final _sel_interpretedSyntax = objc.registerName("interpretedSyntax"); +final _objc_msgSend_721 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + int Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_setInterpretedSyntax_ = + objc.registerName("setInterpretedSyntax:"); +final _objc_msgSend_722 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer obj, + ffi.Pointer sel, ffi.Int32 value)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, int)>(); + abstract class NSAttributedStringMarkdownParsingFailurePolicy { static const int NSAttributedStringMarkdownParsingFailureReturnError = 0; static const int @@ -69268,6 +35404,91 @@ abstract class NSAttributedStringMarkdownParsingFailurePolicy { 1; } +late final _sel_failurePolicy = objc.registerName("failurePolicy"); +final _objc_msgSend_723 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + int Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_setFailurePolicy_ = objc.registerName("setFailurePolicy:"); +final _objc_msgSend_724 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer obj, + ffi.Pointer sel, ffi.Int32 value)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, int)>(); +late final _sel_setLanguageCode_ = objc.registerName("setLanguageCode:"); +late final _sel_appliesSourcePositionAttributes = + objc.registerName("appliesSourcePositionAttributes"); +late final _sel_setAppliesSourcePositionAttributes_ = + objc.registerName("setAppliesSourcePositionAttributes:"); +late final _sel_initWithContentsOfMarkdownFileAtURL_options_baseURL_error_ = + objc.registerName( + "initWithContentsOfMarkdownFileAtURL:options:baseURL:error:"); +final _objc_msgSend_725 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer markdownFile, + ffi.Pointer options, + ffi.Pointer baseURL, + ffi.Pointer> error)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>(); +late final _sel_initWithMarkdown_options_baseURL_error_ = + objc.registerName("initWithMarkdown:options:baseURL:error:"); +final _objc_msgSend_726 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer markdown, + ffi.Pointer options, + ffi.Pointer baseURL, + ffi.Pointer> error)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>(); +late final _sel_initWithMarkdownString_options_baseURL_error_ = + objc.registerName("initWithMarkdownString:options:baseURL:error:"); +final _objc_msgSend_727 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer markdownString, + ffi.Pointer options, + ffi.Pointer baseURL, + ffi.Pointer> error)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>(); + abstract class NSAttributedStringFormattingOptions { static const int NSAttributedStringFormattingInsertArgumentAttributesWithoutMerging = 1; @@ -69275,1540 +35496,1486 @@ abstract class NSAttributedStringFormattingOptions { 2; } +late final _sel_initWithFormat_options_locale_ = + objc.registerName("initWithFormat:options:locale:"); +final _objc_msgSend_728 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer format, + ffi.Int32 options, + ffi.Pointer locale)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer)>(); +late final _sel_initWithFormat_options_locale_arguments_ = + objc.registerName("initWithFormat:options:locale:arguments:"); +final _objc_msgSend_729 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer format, + ffi.Int32 options, + ffi.Pointer locale, + ffi.Pointer<__va_list_tag> arguments)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ffi.Pointer<__va_list_tag>)>(); +late final _sel_localizedAttributedStringWithFormat_ = + objc.registerName("localizedAttributedStringWithFormat:"); +late final _sel_localizedAttributedStringWithFormat_options_ = + objc.registerName("localizedAttributedStringWithFormat:options:"); +final _objc_msgSend_730 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer format, + ffi.Int32 options)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int)>(); +late final _sel_initWithFormat_options_locale_context_ = + objc.registerName("initWithFormat:options:locale:context:"); +final _objc_msgSend_731 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer format, + ffi.Int32 options, + ffi.Pointer locale, + ffi.Pointer context)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_initWithFormat_options_locale_context_arguments_ = + objc.registerName("initWithFormat:options:locale:context:arguments:"); +final _objc_msgSend_732 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer format, + ffi.Int32 options, + ffi.Pointer locale, + ffi.Pointer context, + ffi.Pointer<__va_list_tag> arguments)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<__va_list_tag>)>(); +late final _sel_localizedAttributedStringWithFormat_context_ = + objc.registerName("localizedAttributedStringWithFormat:context:"); +final _objc_msgSend_733 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer format, + ffi.Pointer context)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_localizedAttributedStringWithFormat_options_context_ = + objc.registerName("localizedAttributedStringWithFormat:options:context:"); +final _objc_msgSend_734 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer format, + ffi.Int32 options, + ffi.Pointer context)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer)>(); +late final _sel_attributedStringByInflectingString = + objc.registerName("attributedStringByInflectingString"); +final _objc_msgSend_735 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_localizedAttributedStringForKey_value_table_ = + objc.registerName("localizedAttributedStringForKey:value:table:"); +final _objc_msgSend_736 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer key, + ffi.Pointer value, + ffi.Pointer tableName)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_bundleIdentifier = objc.registerName("bundleIdentifier"); +late final _sel_infoDictionary = objc.registerName("infoDictionary"); +late final _sel_localizedInfoDictionary = + objc.registerName("localizedInfoDictionary"); +late final _sel_objectForInfoDictionaryKey_ = + objc.registerName("objectForInfoDictionaryKey:"); +late final _sel_classNamed_ = objc.registerName("classNamed:"); +late final _sel_principalClass = objc.registerName("principalClass"); +late final _sel_preferredLocalizations = + objc.registerName("preferredLocalizations"); +late final _sel_localizations = objc.registerName("localizations"); +late final _sel_developmentLocalization = + objc.registerName("developmentLocalization"); +late final _sel_preferredLocalizationsFromArray_ = + objc.registerName("preferredLocalizationsFromArray:"); +late final _sel_preferredLocalizationsFromArray_forPreferences_ = + objc.registerName("preferredLocalizationsFromArray:forPreferences:"); +final _objc_msgSend_737 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer localizationsArray, + ffi.Pointer preferencesArray)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_executableArchitectures = + objc.registerName("executableArchitectures"); +late final _sel_setPreservationPriority_forTags_ = + objc.registerName("setPreservationPriority:forTags:"); +final _objc_msgSend_738 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Double priority, + ffi.Pointer tags)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + double, + ffi.Pointer)>(); +late final _sel_preservationPriorityForTag_ = + objc.registerName("preservationPriorityForTag:"); + class NSMutableAttributedString extends NSAttributedString { - NSMutableAttributedString._( - ffi.Pointer pointer, - SwiftLibrary lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSMutableAttributedString._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSMutableAttributedString] that points to the same underlying object as [other]. static NSMutableAttributedString castFrom( - SwiftLibrary lib, - T other, - ) { - return NSMutableAttributedString._( - other.pointer, - lib, - retain: true, - release: true, - ); + T other) { + return NSMutableAttributedString._(other.pointer, + retain: true, release: true); } /// Returns a [NSMutableAttributedString] that wraps the given raw object pointer. static NSMutableAttributedString castFromPointer( - SwiftLibrary lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSMutableAttributedString._( - other, - lib, - retain: retain, - release: release, - ); + ffi.Pointer other, + {bool retain = false, + bool release = false}) { + return NSMutableAttributedString._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSMutableAttributedString]. - static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSMutableAttributedString1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0( + obj.pointer, _sel_isKindOfClass_, _class_NSMutableAttributedString); } void replaceCharactersInRange_withString_(_NSRange range, NSString str) { - _lib._objc_msgSend_689( - this.pointer, - _lib._sel_replaceCharactersInRange_withString_1, - range, - str.pointer, - ); + _objc_msgSend_689(this.pointer, _sel_replaceCharactersInRange_withString_, + range, str.pointer); } void setAttributes_range_(NSDictionary? attrs, _NSRange range) { - _lib._objc_msgSend_739( - this.pointer, - _lib._sel_setAttributes_range_1, - attrs?.pointer ?? ffi.nullptr, - range, - ); + _objc_msgSend_739(this.pointer, _sel_setAttributes_range_, + attrs?.pointer ?? ffi.nullptr, range); } NSMutableString get mutableString { - final _ret = _lib._objc_msgSend_740(this.pointer, _lib._sel_mutableString1); - return NSMutableString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_740(this.pointer, _sel_mutableString); + return NSMutableString._(_ret, retain: true, release: true); } void addAttribute_value_range_( - NSString name, - NSObject value, - _NSRange range, - ) { - _lib._objc_msgSend_741( - this.pointer, - _lib._sel_addAttribute_value_range_1, - name.pointer, - value.pointer, - range, - ); + NSString name, NSObject value, _NSRange range) { + _objc_msgSend_741(this.pointer, _sel_addAttribute_value_range_, + name.pointer, value.pointer, range); } void addAttributes_range_(NSDictionary attrs, _NSRange range) { - _lib._objc_msgSend_742( - this.pointer, - _lib._sel_addAttributes_range_1, - attrs.pointer, - range, - ); + _objc_msgSend_742( + this.pointer, _sel_addAttributes_range_, attrs.pointer, range); } void removeAttribute_range_(NSString name, _NSRange range) { - _lib._objc_msgSend_743( - this.pointer, - _lib._sel_removeAttribute_range_1, - name.pointer, - range, - ); + _objc_msgSend_743( + this.pointer, _sel_removeAttribute_range_, name.pointer, range); } void replaceCharactersInRange_withAttributedString_( - _NSRange range, - NSAttributedString attrString, - ) { - _lib._objc_msgSend_744( - this.pointer, - _lib._sel_replaceCharactersInRange_withAttributedString_1, - range, - attrString.pointer, - ); + _NSRange range, NSAttributedString attrString) { + _objc_msgSend_744( + this.pointer, + _sel_replaceCharactersInRange_withAttributedString_, + range, + attrString.pointer); } void insertAttributedString_atIndex_(NSAttributedString attrString, int loc) { - _lib._objc_msgSend_745( - this.pointer, - _lib._sel_insertAttributedString_atIndex_1, - attrString.pointer, - loc, - ); + _objc_msgSend_745(this.pointer, _sel_insertAttributedString_atIndex_, + attrString.pointer, loc); } void appendAttributedString_(NSAttributedString attrString) { - _lib._objc_msgSend_746( - this.pointer, - _lib._sel_appendAttributedString_1, - attrString.pointer, - ); + _objc_msgSend_746( + this.pointer, _sel_appendAttributedString_, attrString.pointer); } void deleteCharactersInRange_(_NSRange range) { - _lib._objc_msgSend_476( - this.pointer, - _lib._sel_deleteCharactersInRange_1, - range, - ); + _objc_msgSend_476(this.pointer, _sel_deleteCharactersInRange_, range); } void setAttributedString_(NSAttributedString attrString) { - _lib._objc_msgSend_746( - this.pointer, - _lib._sel_setAttributedString_1, - attrString.pointer, - ); + _objc_msgSend_746( + this.pointer, _sel_setAttributedString_, attrString.pointer); } void beginEditing() { - _lib._objc_msgSend_1(this.pointer, _lib._sel_beginEditing1); + _objc_msgSend_1(this.pointer, _sel_beginEditing); } void endEditing() { - _lib._objc_msgSend_1(this.pointer, _lib._sel_endEditing1); + _objc_msgSend_1(this.pointer, _sel_endEditing); } void appendLocalizedFormat_(NSAttributedString format) { - _lib._objc_msgSend_746( - this.pointer, - _lib._sel_appendLocalizedFormat_1, - format.pointer, - ); + _objc_msgSend_746( + this.pointer, _sel_appendLocalizedFormat_, format.pointer); } @override NSMutableAttributedString initWithString_(NSString str) { - final _ret = _lib._objc_msgSend_31( - this.pointer, - _lib._sel_initWithString_1, - str.pointer, - ); - return NSMutableAttributedString._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_31(this.pointer, _sel_initWithString_, str.pointer); + return NSMutableAttributedString._(_ret, retain: true, release: true); } @override NSMutableAttributedString initWithString_attributes_( - NSString str, - NSDictionary? attrs, - ) { - final _ret = _lib._objc_msgSend_717( - this.pointer, - _lib._sel_initWithString_attributes_1, - str.pointer, - attrs?.pointer ?? ffi.nullptr, - ); - return NSMutableAttributedString._(_ret, _lib, retain: true, release: true); + NSString str, NSDictionary? attrs) { + final _ret = _objc_msgSend_717( + this.pointer, + _sel_initWithString_attributes_, + str.pointer, + attrs?.pointer ?? ffi.nullptr); + return NSMutableAttributedString._(_ret, retain: true, release: true); } @override NSMutableAttributedString initWithAttributedString_( - NSAttributedString attrStr, - ) { - final _ret = _lib._objc_msgSend_718( - this.pointer, - _lib._sel_initWithAttributedString_1, - attrStr.pointer, - ); - return NSMutableAttributedString._(_ret, _lib, retain: true, release: true); + NSAttributedString attrStr) { + final _ret = _objc_msgSend_718( + this.pointer, _sel_initWithAttributedString_, attrStr.pointer); + return NSMutableAttributedString._(_ret, retain: true, release: true); } @override NSMutableAttributedString? initWithContentsOfMarkdownFileAtURL_options_baseURL_error_( - NSURL markdownFile, - NSAttributedStringMarkdownParsingOptions? options, - NSURL? baseURL, - ffi.Pointer> error, - ) { - final _ret = _lib._objc_msgSend_725( - this.pointer, - _lib._sel_initWithContentsOfMarkdownFileAtURL_options_baseURL_error_1, - markdownFile.pointer, - options?.pointer ?? ffi.nullptr, - baseURL?.pointer ?? ffi.nullptr, - error, - ); + NSURL markdownFile, + NSAttributedStringMarkdownParsingOptions? options, + NSURL? baseURL, + ffi.Pointer> error) { + final _ret = _objc_msgSend_725( + this.pointer, + _sel_initWithContentsOfMarkdownFileAtURL_options_baseURL_error_, + markdownFile.pointer, + options?.pointer ?? ffi.nullptr, + baseURL?.pointer ?? ffi.nullptr, + error); return _ret.address == 0 ? null - : NSMutableAttributedString._(_ret, _lib, retain: true, release: true); + : NSMutableAttributedString._(_ret, retain: true, release: true); } @override NSMutableAttributedString? initWithMarkdown_options_baseURL_error_( - NSData markdown, - NSAttributedStringMarkdownParsingOptions? options, - NSURL? baseURL, - ffi.Pointer> error, - ) { - final _ret = _lib._objc_msgSend_726( - this.pointer, - _lib._sel_initWithMarkdown_options_baseURL_error_1, - markdown.pointer, - options?.pointer ?? ffi.nullptr, - baseURL?.pointer ?? ffi.nullptr, - error, - ); + NSData markdown, + NSAttributedStringMarkdownParsingOptions? options, + NSURL? baseURL, + ffi.Pointer> error) { + final _ret = _objc_msgSend_726( + this.pointer, + _sel_initWithMarkdown_options_baseURL_error_, + markdown.pointer, + options?.pointer ?? ffi.nullptr, + baseURL?.pointer ?? ffi.nullptr, + error); return _ret.address == 0 ? null - : NSMutableAttributedString._(_ret, _lib, retain: true, release: true); + : NSMutableAttributedString._(_ret, retain: true, release: true); } @override NSMutableAttributedString? initWithMarkdownString_options_baseURL_error_( - NSString markdownString, - NSAttributedStringMarkdownParsingOptions? options, - NSURL? baseURL, - ffi.Pointer> error, - ) { - final _ret = _lib._objc_msgSend_727( - this.pointer, - _lib._sel_initWithMarkdownString_options_baseURL_error_1, - markdownString.pointer, - options?.pointer ?? ffi.nullptr, - baseURL?.pointer ?? ffi.nullptr, - error, - ); + NSString markdownString, + NSAttributedStringMarkdownParsingOptions? options, + NSURL? baseURL, + ffi.Pointer> error) { + final _ret = _objc_msgSend_727( + this.pointer, + _sel_initWithMarkdownString_options_baseURL_error_, + markdownString.pointer, + options?.pointer ?? ffi.nullptr, + baseURL?.pointer ?? ffi.nullptr, + error); return _ret.address == 0 ? null - : NSMutableAttributedString._(_ret, _lib, retain: true, release: true); + : NSMutableAttributedString._(_ret, retain: true, release: true); } @override NSMutableAttributedString initWithFormat_options_locale_( - NSAttributedString format, - int options, - NSLocale? locale, - ) { - final _ret = _lib._objc_msgSend_728( - this.pointer, - _lib._sel_initWithFormat_options_locale_1, - format.pointer, - options, - locale?.pointer ?? ffi.nullptr, - ); - return NSMutableAttributedString._(_ret, _lib, retain: true, release: true); + NSAttributedString format, int options, NSLocale? locale) { + final _ret = _objc_msgSend_728( + this.pointer, + _sel_initWithFormat_options_locale_, + format.pointer, + options, + locale?.pointer ?? ffi.nullptr); + return NSMutableAttributedString._(_ret, retain: true, release: true); } @override NSMutableAttributedString initWithFormat_options_locale_arguments_( - NSAttributedString format, - int options, - NSLocale? locale, - ffi.Pointer<__va_list_tag> arguments, - ) { - final _ret = _lib._objc_msgSend_729( - this.pointer, - _lib._sel_initWithFormat_options_locale_arguments_1, - format.pointer, - options, - locale?.pointer ?? ffi.nullptr, - arguments, - ); - return NSMutableAttributedString._(_ret, _lib, retain: true, release: true); + NSAttributedString format, + int options, + NSLocale? locale, + ffi.Pointer<__va_list_tag> arguments) { + final _ret = _objc_msgSend_729( + this.pointer, + _sel_initWithFormat_options_locale_arguments_, + format.pointer, + options, + locale?.pointer ?? ffi.nullptr, + arguments); + return NSMutableAttributedString._(_ret, retain: true, release: true); } static NSMutableAttributedString localizedAttributedStringWithFormat_( - SwiftLibrary _lib, - NSAttributedString format, - ) { - final _ret = _lib._objc_msgSend_718( - _lib._class_NSMutableAttributedString1, - _lib._sel_localizedAttributedStringWithFormat_1, - format.pointer, - ); - return NSMutableAttributedString._(_ret, _lib, retain: true, release: true); + NSAttributedString format) { + final _ret = _objc_msgSend_718(_class_NSMutableAttributedString, + _sel_localizedAttributedStringWithFormat_, format.pointer); + return NSMutableAttributedString._(_ret, retain: true, release: true); } static NSMutableAttributedString localizedAttributedStringWithFormat_options_( - SwiftLibrary _lib, - NSAttributedString format, - int options, - ) { - final _ret = _lib._objc_msgSend_730( - _lib._class_NSMutableAttributedString1, - _lib._sel_localizedAttributedStringWithFormat_options_1, - format.pointer, - options, - ); - return NSMutableAttributedString._(_ret, _lib, retain: true, release: true); + NSAttributedString format, int options) { + final _ret = _objc_msgSend_730( + _class_NSMutableAttributedString, + _sel_localizedAttributedStringWithFormat_options_, + format.pointer, + options); + return NSMutableAttributedString._(_ret, retain: true, release: true); } @override NSMutableAttributedString initWithFormat_options_locale_context_( - NSAttributedString format, - int options, - NSLocale? locale, - NSDictionary context, - ) { - final _ret = _lib._objc_msgSend_731( - this.pointer, - _lib._sel_initWithFormat_options_locale_context_1, - format.pointer, - options, - locale?.pointer ?? ffi.nullptr, - context.pointer, - ); - return NSMutableAttributedString._(_ret, _lib, retain: true, release: true); + NSAttributedString format, + int options, + NSLocale? locale, + NSDictionary context) { + final _ret = _objc_msgSend_731( + this.pointer, + _sel_initWithFormat_options_locale_context_, + format.pointer, + options, + locale?.pointer ?? ffi.nullptr, + context.pointer); + return NSMutableAttributedString._(_ret, retain: true, release: true); } @override NSMutableAttributedString initWithFormat_options_locale_context_arguments_( - NSAttributedString format, - int options, - NSLocale? locale, - NSDictionary context, - ffi.Pointer<__va_list_tag> arguments, - ) { - final _ret = _lib._objc_msgSend_732( - this.pointer, - _lib._sel_initWithFormat_options_locale_context_arguments_1, - format.pointer, - options, - locale?.pointer ?? ffi.nullptr, - context.pointer, - arguments, - ); - return NSMutableAttributedString._(_ret, _lib, retain: true, release: true); + NSAttributedString format, + int options, + NSLocale? locale, + NSDictionary context, + ffi.Pointer<__va_list_tag> arguments) { + final _ret = _objc_msgSend_732( + this.pointer, + _sel_initWithFormat_options_locale_context_arguments_, + format.pointer, + options, + locale?.pointer ?? ffi.nullptr, + context.pointer, + arguments); + return NSMutableAttributedString._(_ret, retain: true, release: true); } static NSMutableAttributedString localizedAttributedStringWithFormat_context_( - SwiftLibrary _lib, - NSAttributedString format, - NSDictionary context, - ) { - final _ret = _lib._objc_msgSend_733( - _lib._class_NSMutableAttributedString1, - _lib._sel_localizedAttributedStringWithFormat_context_1, - format.pointer, - context.pointer, - ); - return NSMutableAttributedString._(_ret, _lib, retain: true, release: true); + NSAttributedString format, NSDictionary context) { + final _ret = _objc_msgSend_733( + _class_NSMutableAttributedString, + _sel_localizedAttributedStringWithFormat_context_, + format.pointer, + context.pointer); + return NSMutableAttributedString._(_ret, retain: true, release: true); } static NSMutableAttributedString localizedAttributedStringWithFormat_options_context_( - SwiftLibrary _lib, - NSAttributedString format, - int options, - NSDictionary context, - ) { - final _ret = _lib._objc_msgSend_734( - _lib._class_NSMutableAttributedString1, - _lib._sel_localizedAttributedStringWithFormat_options_context_1, - format.pointer, - options, - context.pointer, - ); - return NSMutableAttributedString._(_ret, _lib, retain: true, release: true); + NSAttributedString format, int options, NSDictionary context) { + final _ret = _objc_msgSend_734( + _class_NSMutableAttributedString, + _sel_localizedAttributedStringWithFormat_options_context_, + format.pointer, + options, + context.pointer); + return NSMutableAttributedString._(_ret, retain: true, release: true); } @override NSMutableAttributedString init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSMutableAttributedString._(_ret, _lib, retain: true, release: true); - } - - static NSMutableAttributedString new1(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSMutableAttributedString1, - _lib._sel_new1, - ); - return NSMutableAttributedString._( - _ret, - _lib, - retain: false, - release: true, - ); - } - - static NSMutableAttributedString allocWithZone_( - SwiftLibrary _lib, - ffi.Pointer<_NSZone> zone, - ) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSMutableAttributedString1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSMutableAttributedString._( - _ret, - _lib, - retain: false, - release: true, - ); - } - - static NSMutableAttributedString alloc(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSMutableAttributedString1, - _lib._sel_alloc1, - ); - return NSMutableAttributedString._( - _ret, - _lib, - retain: false, - release: true, - ); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSMutableAttributedString._(_ret, retain: true, release: true); + } + + static NSMutableAttributedString new1() { + final _ret = _objc_msgSend_2(_class_NSMutableAttributedString, _sel_new); + return NSMutableAttributedString._(_ret, retain: false, release: true); + } + + static NSMutableAttributedString allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = _objc_msgSend_3( + _class_NSMutableAttributedString, _sel_allocWithZone_, zone); + return NSMutableAttributedString._(_ret, retain: false, release: true); + } + + static NSMutableAttributedString alloc() { + final _ret = _objc_msgSend_2(_class_NSMutableAttributedString, _sel_alloc); + return NSMutableAttributedString._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSMutableAttributedString1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSMutableAttributedString1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSMutableAttributedString1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSMutableAttributedString1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSMutableAttributedString1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSMutableAttributedString1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSMutableAttributedString, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); } - static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSMutableAttributedString1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSMutableAttributedString1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSMutableAttributedString1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSMutableAttributedString, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); } -} + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSMutableAttributedString, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12( + _class_NSMutableAttributedString, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSMutableAttributedString, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSMutableAttributedString, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); + } + + static void setKeys_triggerChangeNotificationsForDependentKey_( + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSMutableAttributedString, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = _objc_msgSend_85( + _class_NSMutableAttributedString, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = _objc_msgSend_2( + _class_NSMutableAttributedString, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); + } +} + +late final _class_NSMutableAttributedString = + objc.getClass("NSMutableAttributedString"); +late final _sel_setAttributes_range_ = + objc.registerName("setAttributes:range:"); +final _objc_msgSend_739 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer attrs, + _NSRange range)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange)>(); +late final _sel_mutableString = objc.registerName("mutableString"); +final _objc_msgSend_740 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_addAttribute_value_range_ = + objc.registerName("addAttribute:value:range:"); +final _objc_msgSend_741 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer name, + ffi.Pointer value, + _NSRange range)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange)>(); +late final _sel_addAttributes_range_ = + objc.registerName("addAttributes:range:"); +final _objc_msgSend_742 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer attrs, + _NSRange range)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange)>(); +late final _sel_removeAttribute_range_ = + objc.registerName("removeAttribute:range:"); +final _objc_msgSend_743 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer name, + _NSRange range)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange)>(); +late final _sel_replaceCharactersInRange_withAttributedString_ = + objc.registerName("replaceCharactersInRange:withAttributedString:"); +final _objc_msgSend_744 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + _NSRange range, + ffi.Pointer attrString)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer)>(); +late final _sel_insertAttributedString_atIndex_ = + objc.registerName("insertAttributedString:atIndex:"); +final _objc_msgSend_745 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer attrString, + ffi.UnsignedLong loc)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int)>(); +late final _sel_appendAttributedString_ = + objc.registerName("appendAttributedString:"); +final _objc_msgSend_746 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer attrString)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_setAttributedString_ = + objc.registerName("setAttributedString:"); +late final _sel_beginEditing = objc.registerName("beginEditing"); +late final _sel_endEditing = objc.registerName("endEditing"); +late final _sel_appendLocalizedFormat_ = + objc.registerName("appendLocalizedFormat:"); class NSDateFormatter extends NSFormatter { - NSDateFormatter._( - ffi.Pointer pointer, - SwiftLibrary lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSDateFormatter._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSDateFormatter] that points to the same underlying object as [other]. - static NSDateFormatter castFrom( - SwiftLibrary lib, - T other, - ) { - return NSDateFormatter._(other.pointer, lib, retain: true, release: true); + static NSDateFormatter castFrom(T other) { + return NSDateFormatter._(other.pointer, retain: true, release: true); } /// Returns a [NSDateFormatter] that wraps the given raw object pointer. - static NSDateFormatter castFromPointer( - SwiftLibrary lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSDateFormatter._(other, lib, retain: retain, release: release); + static NSDateFormatter castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSDateFormatter._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSDateFormatter]. - static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSDateFormatter1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0( + obj.pointer, _sel_isKindOfClass_, _class_NSDateFormatter); } int get formattingContext { - return _lib._objc_msgSend_752(this.pointer, _lib._sel_formattingContext1); + return _objc_msgSend_752(this.pointer, _sel_formattingContext); } set formattingContext(int value) { - return _lib._objc_msgSend_753( - this.pointer, - _lib._sel_setFormattingContext_1, - value, - ); + return _objc_msgSend_753(this.pointer, _sel_setFormattingContext_, value); } bool getObjectValue_forString_range_error_( - ffi.Pointer> obj, - NSString string, - ffi.Pointer<_NSRange> rangep, - ffi.Pointer> error, - ) { - return _lib._objc_msgSend_754( - this.pointer, - _lib._sel_getObjectValue_forString_range_error_1, - obj, - string.pointer, - rangep, - error, - ); + ffi.Pointer> obj, + NSString string, + ffi.Pointer<_NSRange> rangep, + ffi.Pointer> error) { + return _objc_msgSend_754( + this.pointer, + _sel_getObjectValue_forString_range_error_, + obj, + string.pointer, + rangep, + error); } NSString stringFromDate_(NSDate date) { - final _ret = _lib._objc_msgSend_755( - this.pointer, - _lib._sel_stringFromDate_1, - date.pointer, - ); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_755(this.pointer, _sel_stringFromDate_, date.pointer); + return NSString._(_ret, retain: true, release: true); } NSDate? dateFromString_(NSString string) { - final _ret = _lib._objc_msgSend_564( - this.pointer, - _lib._sel_dateFromString_1, - string.pointer, - ); + final _ret = + _objc_msgSend_564(this.pointer, _sel_dateFromString_, string.pointer); return _ret.address == 0 ? null - : NSDate._(_ret, _lib, retain: true, release: true); + : NSDate._(_ret, retain: true, release: true); } static NSString localizedStringFromDate_dateStyle_timeStyle_( - SwiftLibrary _lib, - NSDate date, - int dstyle, - int tstyle, - ) { - final _ret = _lib._objc_msgSend_756( - _lib._class_NSDateFormatter1, - _lib._sel_localizedStringFromDate_dateStyle_timeStyle_1, - date.pointer, - dstyle, - tstyle, - ); - return NSString._(_ret, _lib, retain: true, release: true); + NSDate date, int dstyle, int tstyle) { + final _ret = _objc_msgSend_756( + _class_NSDateFormatter, + _sel_localizedStringFromDate_dateStyle_timeStyle_, + date.pointer, + dstyle, + tstyle); + return NSString._(_ret, retain: true, release: true); } static NSString? dateFormatFromTemplate_options_locale_( - SwiftLibrary _lib, - NSString tmplate, - int opts, - NSLocale? locale, - ) { - final _ret = _lib._objc_msgSend_757( - _lib._class_NSDateFormatter1, - _lib._sel_dateFormatFromTemplate_options_locale_1, - tmplate.pointer, - opts, - locale?.pointer ?? ffi.nullptr, - ); + NSString tmplate, int opts, NSLocale? locale) { + final _ret = _objc_msgSend_757( + _class_NSDateFormatter, + _sel_dateFormatFromTemplate_options_locale_, + tmplate.pointer, + opts, + locale?.pointer ?? ffi.nullptr); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } - static int getDefaultFormatterBehavior(SwiftLibrary _lib) { - return _lib._objc_msgSend_758( - _lib._class_NSDateFormatter1, - _lib._sel_defaultFormatterBehavior1, - ); + static int getDefaultFormatterBehavior() { + return _objc_msgSend_758( + _class_NSDateFormatter, _sel_defaultFormatterBehavior); } - static void setDefaultFormatterBehavior(SwiftLibrary _lib, int value) { - return _lib._objc_msgSend_759( - _lib._class_NSDateFormatter1, - _lib._sel_setDefaultFormatterBehavior_1, - value, - ); + static void setDefaultFormatterBehavior(int value) { + return _objc_msgSend_759( + _class_NSDateFormatter, _sel_setDefaultFormatterBehavior_, value); } void setLocalizedDateFormatFromTemplate_(NSString dateFormatTemplate) { - _lib._objc_msgSend_247( - this.pointer, - _lib._sel_setLocalizedDateFormatFromTemplate_1, - dateFormatTemplate.pointer, - ); + _objc_msgSend_247(this.pointer, _sel_setLocalizedDateFormatFromTemplate_, + dateFormatTemplate.pointer); } NSString get dateFormat { - final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_dateFormat1); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_dateFormat); + return NSString._(_ret, retain: true, release: true); } set dateFormat(NSString value) { - return _lib._objc_msgSend_646( - this.pointer, - _lib._sel_setDateFormat_1, - value.pointer, - ); + return _objc_msgSend_646(this.pointer, _sel_setDateFormat_, value.pointer); } int get dateStyle { - return _lib._objc_msgSend_760(this.pointer, _lib._sel_dateStyle1); + return _objc_msgSend_760(this.pointer, _sel_dateStyle); } set dateStyle(int value) { - return _lib._objc_msgSend_761( - this.pointer, - _lib._sel_setDateStyle_1, - value, - ); + return _objc_msgSend_761(this.pointer, _sel_setDateStyle_, value); } int get timeStyle { - return _lib._objc_msgSend_760(this.pointer, _lib._sel_timeStyle1); + return _objc_msgSend_760(this.pointer, _sel_timeStyle); } set timeStyle(int value) { - return _lib._objc_msgSend_761( - this.pointer, - _lib._sel_setTimeStyle_1, - value, - ); + return _objc_msgSend_761(this.pointer, _sel_setTimeStyle_, value); } NSLocale get locale { - final _ret = _lib._objc_msgSend_197(this.pointer, _lib._sel_locale1); - return NSLocale._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_197(this.pointer, _sel_locale); + return NSLocale._(_ret, retain: true, release: true); } set locale(NSLocale value) { - return _lib._objc_msgSend_762( - this.pointer, - _lib._sel_setLocale_1, - value.pointer, - ); + return _objc_msgSend_762(this.pointer, _sel_setLocale_, value.pointer); } bool get generatesCalendarDates { - return _lib._objc_msgSend_12( - this.pointer, - _lib._sel_generatesCalendarDates1, - ); + return _objc_msgSend_12(this.pointer, _sel_generatesCalendarDates); } set generatesCalendarDates(bool value) { - return _lib._objc_msgSend_527( - this.pointer, - _lib._sel_setGeneratesCalendarDates_1, - value, - ); + return _objc_msgSend_527( + this.pointer, _sel_setGeneratesCalendarDates_, value); } int get formatterBehavior { - return _lib._objc_msgSend_758(this.pointer, _lib._sel_formatterBehavior1); + return _objc_msgSend_758(this.pointer, _sel_formatterBehavior); } set formatterBehavior(int value) { - return _lib._objc_msgSend_759( - this.pointer, - _lib._sel_setFormatterBehavior_1, - value, - ); + return _objc_msgSend_759(this.pointer, _sel_setFormatterBehavior_, value); } NSTimeZone get timeZone { - final _ret = _lib._objc_msgSend_179(this.pointer, _lib._sel_timeZone1); - return NSTimeZone._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_179(this.pointer, _sel_timeZone); + return NSTimeZone._(_ret, retain: true, release: true); } set timeZone(NSTimeZone value) { - return _lib._objc_msgSend_180( - this.pointer, - _lib._sel_setTimeZone_1, - value.pointer, - ); + return _objc_msgSend_180(this.pointer, _sel_setTimeZone_, value.pointer); } NSCalendar get calendar { - final _ret = _lib._objc_msgSend_763(this.pointer, _lib._sel_calendar1); - return NSCalendar._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_763(this.pointer, _sel_calendar); + return NSCalendar._(_ret, retain: true, release: true); } set calendar(NSCalendar value) { - return _lib._objc_msgSend_799( - this.pointer, - _lib._sel_setCalendar_1, - value.pointer, - ); + return _objc_msgSend_799(this.pointer, _sel_setCalendar_, value.pointer); } bool get lenient { - return _lib._objc_msgSend_12(this.pointer, _lib._sel_isLenient1); + return _objc_msgSend_12(this.pointer, _sel_isLenient); } set lenient(bool value) { - return _lib._objc_msgSend_527(this.pointer, _lib._sel_setLenient_1, value); + return _objc_msgSend_527(this.pointer, _sel_setLenient_, value); } NSDate? get twoDigitStartDate { - final _ret = _lib._objc_msgSend_183( - this.pointer, - _lib._sel_twoDigitStartDate1, - ); + final _ret = _objc_msgSend_183(this.pointer, _sel_twoDigitStartDate); return _ret.address == 0 ? null - : NSDate._(_ret, _lib, retain: true, release: true); + : NSDate._(_ret, retain: true, release: true); } set twoDigitStartDate(NSDate? value) { - return _lib._objc_msgSend_800( - this.pointer, - _lib._sel_setTwoDigitStartDate_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_800(this.pointer, _sel_setTwoDigitStartDate_, + value?.pointer ?? ffi.nullptr); } NSDate? get defaultDate { - final _ret = _lib._objc_msgSend_183(this.pointer, _lib._sel_defaultDate1); + final _ret = _objc_msgSend_183(this.pointer, _sel_defaultDate); return _ret.address == 0 ? null - : NSDate._(_ret, _lib, retain: true, release: true); + : NSDate._(_ret, retain: true, release: true); } set defaultDate(NSDate? value) { - return _lib._objc_msgSend_800( - this.pointer, - _lib._sel_setDefaultDate_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_800( + this.pointer, _sel_setDefaultDate_, value?.pointer ?? ffi.nullptr); } NSArray get eraSymbols { - final _ret = _lib._objc_msgSend_85(this.pointer, _lib._sel_eraSymbols1); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_85(this.pointer, _sel_eraSymbols); + return NSArray._(_ret, retain: true, release: true); } set eraSymbols(NSArray value) { - return _lib._objc_msgSend_801( - this.pointer, - _lib._sel_setEraSymbols_1, - value.pointer, - ); + return _objc_msgSend_801(this.pointer, _sel_setEraSymbols_, value.pointer); } NSArray get monthSymbols { - final _ret = _lib._objc_msgSend_85(this.pointer, _lib._sel_monthSymbols1); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_85(this.pointer, _sel_monthSymbols); + return NSArray._(_ret, retain: true, release: true); } set monthSymbols(NSArray value) { - return _lib._objc_msgSend_801( - this.pointer, - _lib._sel_setMonthSymbols_1, - value.pointer, - ); + return _objc_msgSend_801( + this.pointer, _sel_setMonthSymbols_, value.pointer); } NSArray get shortMonthSymbols { - final _ret = _lib._objc_msgSend_85( - this.pointer, - _lib._sel_shortMonthSymbols1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_85(this.pointer, _sel_shortMonthSymbols); + return NSArray._(_ret, retain: true, release: true); } set shortMonthSymbols(NSArray value) { - return _lib._objc_msgSend_801( - this.pointer, - _lib._sel_setShortMonthSymbols_1, - value.pointer, - ); + return _objc_msgSend_801( + this.pointer, _sel_setShortMonthSymbols_, value.pointer); } NSArray get weekdaySymbols { - final _ret = _lib._objc_msgSend_85(this.pointer, _lib._sel_weekdaySymbols1); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_85(this.pointer, _sel_weekdaySymbols); + return NSArray._(_ret, retain: true, release: true); } set weekdaySymbols(NSArray value) { - return _lib._objc_msgSend_801( - this.pointer, - _lib._sel_setWeekdaySymbols_1, - value.pointer, - ); + return _objc_msgSend_801( + this.pointer, _sel_setWeekdaySymbols_, value.pointer); } NSArray get shortWeekdaySymbols { - final _ret = _lib._objc_msgSend_85( - this.pointer, - _lib._sel_shortWeekdaySymbols1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_85(this.pointer, _sel_shortWeekdaySymbols); + return NSArray._(_ret, retain: true, release: true); } set shortWeekdaySymbols(NSArray value) { - return _lib._objc_msgSend_801( - this.pointer, - _lib._sel_setShortWeekdaySymbols_1, - value.pointer, - ); + return _objc_msgSend_801( + this.pointer, _sel_setShortWeekdaySymbols_, value.pointer); } NSString get AMSymbol { - final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_AMSymbol1); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_AMSymbol); + return NSString._(_ret, retain: true, release: true); } set AMSymbol(NSString value) { - return _lib._objc_msgSend_646( - this.pointer, - _lib._sel_setAMSymbol_1, - value.pointer, - ); + return _objc_msgSend_646(this.pointer, _sel_setAMSymbol_, value.pointer); } NSString get PMSymbol { - final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_PMSymbol1); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_PMSymbol); + return NSString._(_ret, retain: true, release: true); } set PMSymbol(NSString value) { - return _lib._objc_msgSend_646( - this.pointer, - _lib._sel_setPMSymbol_1, - value.pointer, - ); + return _objc_msgSend_646(this.pointer, _sel_setPMSymbol_, value.pointer); } NSArray get longEraSymbols { - final _ret = _lib._objc_msgSend_85(this.pointer, _lib._sel_longEraSymbols1); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_85(this.pointer, _sel_longEraSymbols); + return NSArray._(_ret, retain: true, release: true); } set longEraSymbols(NSArray value) { - return _lib._objc_msgSend_801( - this.pointer, - _lib._sel_setLongEraSymbols_1, - value.pointer, - ); + return _objc_msgSend_801( + this.pointer, _sel_setLongEraSymbols_, value.pointer); } NSArray get veryShortMonthSymbols { - final _ret = _lib._objc_msgSend_85( - this.pointer, - _lib._sel_veryShortMonthSymbols1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_85(this.pointer, _sel_veryShortMonthSymbols); + return NSArray._(_ret, retain: true, release: true); } set veryShortMonthSymbols(NSArray value) { - return _lib._objc_msgSend_801( - this.pointer, - _lib._sel_setVeryShortMonthSymbols_1, - value.pointer, - ); + return _objc_msgSend_801( + this.pointer, _sel_setVeryShortMonthSymbols_, value.pointer); } NSArray get standaloneMonthSymbols { - final _ret = _lib._objc_msgSend_85( - this.pointer, - _lib._sel_standaloneMonthSymbols1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_85(this.pointer, _sel_standaloneMonthSymbols); + return NSArray._(_ret, retain: true, release: true); } set standaloneMonthSymbols(NSArray value) { - return _lib._objc_msgSend_801( - this.pointer, - _lib._sel_setStandaloneMonthSymbols_1, - value.pointer, - ); + return _objc_msgSend_801( + this.pointer, _sel_setStandaloneMonthSymbols_, value.pointer); } NSArray get shortStandaloneMonthSymbols { - final _ret = _lib._objc_msgSend_85( - this.pointer, - _lib._sel_shortStandaloneMonthSymbols1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_85(this.pointer, _sel_shortStandaloneMonthSymbols); + return NSArray._(_ret, retain: true, release: true); } set shortStandaloneMonthSymbols(NSArray value) { - return _lib._objc_msgSend_801( - this.pointer, - _lib._sel_setShortStandaloneMonthSymbols_1, - value.pointer, - ); + return _objc_msgSend_801( + this.pointer, _sel_setShortStandaloneMonthSymbols_, value.pointer); } NSArray get veryShortStandaloneMonthSymbols { - final _ret = _lib._objc_msgSend_85( - this.pointer, - _lib._sel_veryShortStandaloneMonthSymbols1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_85(this.pointer, _sel_veryShortStandaloneMonthSymbols); + return NSArray._(_ret, retain: true, release: true); } set veryShortStandaloneMonthSymbols(NSArray value) { - return _lib._objc_msgSend_801( - this.pointer, - _lib._sel_setVeryShortStandaloneMonthSymbols_1, - value.pointer, - ); + return _objc_msgSend_801( + this.pointer, _sel_setVeryShortStandaloneMonthSymbols_, value.pointer); } NSArray get veryShortWeekdaySymbols { - final _ret = _lib._objc_msgSend_85( - this.pointer, - _lib._sel_veryShortWeekdaySymbols1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_85(this.pointer, _sel_veryShortWeekdaySymbols); + return NSArray._(_ret, retain: true, release: true); } set veryShortWeekdaySymbols(NSArray value) { - return _lib._objc_msgSend_801( - this.pointer, - _lib._sel_setVeryShortWeekdaySymbols_1, - value.pointer, - ); + return _objc_msgSend_801( + this.pointer, _sel_setVeryShortWeekdaySymbols_, value.pointer); } NSArray get standaloneWeekdaySymbols { - final _ret = _lib._objc_msgSend_85( - this.pointer, - _lib._sel_standaloneWeekdaySymbols1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_85(this.pointer, _sel_standaloneWeekdaySymbols); + return NSArray._(_ret, retain: true, release: true); } set standaloneWeekdaySymbols(NSArray value) { - return _lib._objc_msgSend_801( - this.pointer, - _lib._sel_setStandaloneWeekdaySymbols_1, - value.pointer, - ); + return _objc_msgSend_801( + this.pointer, _sel_setStandaloneWeekdaySymbols_, value.pointer); } NSArray get shortStandaloneWeekdaySymbols { - final _ret = _lib._objc_msgSend_85( - this.pointer, - _lib._sel_shortStandaloneWeekdaySymbols1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_85(this.pointer, _sel_shortStandaloneWeekdaySymbols); + return NSArray._(_ret, retain: true, release: true); } set shortStandaloneWeekdaySymbols(NSArray value) { - return _lib._objc_msgSend_801( - this.pointer, - _lib._sel_setShortStandaloneWeekdaySymbols_1, - value.pointer, - ); + return _objc_msgSend_801( + this.pointer, _sel_setShortStandaloneWeekdaySymbols_, value.pointer); } NSArray get veryShortStandaloneWeekdaySymbols { - final _ret = _lib._objc_msgSend_85( - this.pointer, - _lib._sel_veryShortStandaloneWeekdaySymbols1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_85(this.pointer, _sel_veryShortStandaloneWeekdaySymbols); + return NSArray._(_ret, retain: true, release: true); } set veryShortStandaloneWeekdaySymbols(NSArray value) { - return _lib._objc_msgSend_801( - this.pointer, - _lib._sel_setVeryShortStandaloneWeekdaySymbols_1, - value.pointer, - ); + return _objc_msgSend_801(this.pointer, + _sel_setVeryShortStandaloneWeekdaySymbols_, value.pointer); } NSArray get quarterSymbols { - final _ret = _lib._objc_msgSend_85(this.pointer, _lib._sel_quarterSymbols1); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_85(this.pointer, _sel_quarterSymbols); + return NSArray._(_ret, retain: true, release: true); } set quarterSymbols(NSArray value) { - return _lib._objc_msgSend_801( - this.pointer, - _lib._sel_setQuarterSymbols_1, - value.pointer, - ); + return _objc_msgSend_801( + this.pointer, _sel_setQuarterSymbols_, value.pointer); } NSArray get shortQuarterSymbols { - final _ret = _lib._objc_msgSend_85( - this.pointer, - _lib._sel_shortQuarterSymbols1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_85(this.pointer, _sel_shortQuarterSymbols); + return NSArray._(_ret, retain: true, release: true); } set shortQuarterSymbols(NSArray value) { - return _lib._objc_msgSend_801( - this.pointer, - _lib._sel_setShortQuarterSymbols_1, - value.pointer, - ); + return _objc_msgSend_801( + this.pointer, _sel_setShortQuarterSymbols_, value.pointer); } NSArray get standaloneQuarterSymbols { - final _ret = _lib._objc_msgSend_85( - this.pointer, - _lib._sel_standaloneQuarterSymbols1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_85(this.pointer, _sel_standaloneQuarterSymbols); + return NSArray._(_ret, retain: true, release: true); } set standaloneQuarterSymbols(NSArray value) { - return _lib._objc_msgSend_801( - this.pointer, - _lib._sel_setStandaloneQuarterSymbols_1, - value.pointer, - ); + return _objc_msgSend_801( + this.pointer, _sel_setStandaloneQuarterSymbols_, value.pointer); } NSArray get shortStandaloneQuarterSymbols { - final _ret = _lib._objc_msgSend_85( - this.pointer, - _lib._sel_shortStandaloneQuarterSymbols1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_85(this.pointer, _sel_shortStandaloneQuarterSymbols); + return NSArray._(_ret, retain: true, release: true); } set shortStandaloneQuarterSymbols(NSArray value) { - return _lib._objc_msgSend_801( - this.pointer, - _lib._sel_setShortStandaloneQuarterSymbols_1, - value.pointer, - ); + return _objc_msgSend_801( + this.pointer, _sel_setShortStandaloneQuarterSymbols_, value.pointer); } NSDate? get gregorianStartDate { - final _ret = _lib._objc_msgSend_183( - this.pointer, - _lib._sel_gregorianStartDate1, - ); + final _ret = _objc_msgSend_183(this.pointer, _sel_gregorianStartDate); return _ret.address == 0 ? null - : NSDate._(_ret, _lib, retain: true, release: true); + : NSDate._(_ret, retain: true, release: true); } set gregorianStartDate(NSDate? value) { - return _lib._objc_msgSend_800( - this.pointer, - _lib._sel_setGregorianStartDate_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_800(this.pointer, _sel_setGregorianStartDate_, + value?.pointer ?? ffi.nullptr); } bool get doesRelativeDateFormatting { - return _lib._objc_msgSend_12( - this.pointer, - _lib._sel_doesRelativeDateFormatting1, - ); + return _objc_msgSend_12(this.pointer, _sel_doesRelativeDateFormatting); } set doesRelativeDateFormatting(bool value) { - return _lib._objc_msgSend_527( - this.pointer, - _lib._sel_setDoesRelativeDateFormatting_1, - value, - ); + return _objc_msgSend_527( + this.pointer, _sel_setDoesRelativeDateFormatting_, value); } NSObject initWithDateFormat_allowNaturalLanguage_( - NSString format, - bool flag, - ) { - final _ret = _lib._objc_msgSend_30( - this.pointer, - _lib._sel_initWithDateFormat_allowNaturalLanguage_1, - format.pointer, - flag, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + NSString format, bool flag) { + final _ret = _objc_msgSend_30(this.pointer, + _sel_initWithDateFormat_allowNaturalLanguage_, format.pointer, flag); + return NSObject._(_ret, retain: true, release: true); } bool allowsNaturalLanguage() { - return _lib._objc_msgSend_12( - this.pointer, - _lib._sel_allowsNaturalLanguage1, - ); + return _objc_msgSend_12(this.pointer, _sel_allowsNaturalLanguage); } @override NSDateFormatter init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSDateFormatter._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSDateFormatter._(_ret, retain: true, release: true); } - static NSDateFormatter new1(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSDateFormatter1, - _lib._sel_new1, - ); - return NSDateFormatter._(_ret, _lib, retain: false, release: true); + static NSDateFormatter new1() { + final _ret = _objc_msgSend_2(_class_NSDateFormatter, _sel_new); + return NSDateFormatter._(_ret, retain: false, release: true); } - static NSDateFormatter allocWithZone_( - SwiftLibrary _lib, - ffi.Pointer<_NSZone> zone, - ) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSDateFormatter1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSDateFormatter._(_ret, _lib, retain: false, release: true); + static NSDateFormatter allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = + _objc_msgSend_3(_class_NSDateFormatter, _sel_allocWithZone_, zone); + return NSDateFormatter._(_ret, retain: false, release: true); } - static NSDateFormatter alloc(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSDateFormatter1, - _lib._sel_alloc1, - ); - return NSDateFormatter._(_ret, _lib, retain: false, release: true); + static NSDateFormatter alloc() { + final _ret = _objc_msgSend_2(_class_NSDateFormatter, _sel_alloc); + return NSDateFormatter._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSDateFormatter1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSDateFormatter1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSDateFormatter1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSDateFormatter1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSDateFormatter1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSDateFormatter1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSDateFormatter, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); + } + + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSDateFormatter, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); + } + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSDateFormatter, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSDateFormatter, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSDateFormatter, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSDateFormatter, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); } static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSDateFormatter1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSDateFormatter1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSDateFormatter1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSDateFormatter, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = _objc_msgSend_85( + _class_NSDateFormatter, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = + _objc_msgSend_2(_class_NSDateFormatter, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); } } +late final _class_NSDateFormatter = objc.getClass("NSDateFormatter"); + class NSFormatter extends NSObject { - NSFormatter._( - ffi.Pointer pointer, - SwiftLibrary lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSFormatter._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSFormatter] that points to the same underlying object as [other]. - static NSFormatter castFrom( - SwiftLibrary lib, - T other, - ) { - return NSFormatter._(other.pointer, lib, retain: true, release: true); + static NSFormatter castFrom(T other) { + return NSFormatter._(other.pointer, retain: true, release: true); } /// Returns a [NSFormatter] that wraps the given raw object pointer. - static NSFormatter castFromPointer( - SwiftLibrary lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSFormatter._(other, lib, retain: retain, release: release); + static NSFormatter castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSFormatter._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSFormatter]. - static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSFormatter1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0( + obj.pointer, _sel_isKindOfClass_, _class_NSFormatter); } NSString? stringForObjectValue_(NSObject? obj) { - final _ret = _lib._objc_msgSend_747( - this.pointer, - _lib._sel_stringForObjectValue_1, - obj?.pointer ?? ffi.nullptr, - ); + final _ret = _objc_msgSend_747( + this.pointer, _sel_stringForObjectValue_, obj?.pointer ?? ffi.nullptr); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } NSAttributedString? attributedStringForObjectValue_withDefaultAttributes_( - NSObject obj, - NSDictionary? attrs, - ) { - final _ret = _lib._objc_msgSend_748( - this.pointer, - _lib._sel_attributedStringForObjectValue_withDefaultAttributes_1, - obj.pointer, - attrs?.pointer ?? ffi.nullptr, - ); + NSObject obj, NSDictionary? attrs) { + final _ret = _objc_msgSend_748( + this.pointer, + _sel_attributedStringForObjectValue_withDefaultAttributes_, + obj.pointer, + attrs?.pointer ?? ffi.nullptr); return _ret.address == 0 ? null - : NSAttributedString._(_ret, _lib, retain: true, release: true); + : NSAttributedString._(_ret, retain: true, release: true); } NSString? editingStringForObjectValue_(NSObject obj) { - final _ret = _lib._objc_msgSend_526( - this.pointer, - _lib._sel_editingStringForObjectValue_1, - obj.pointer, - ); + final _ret = _objc_msgSend_526( + this.pointer, _sel_editingStringForObjectValue_, obj.pointer); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } bool getObjectValue_forString_errorDescription_( - ffi.Pointer> obj, - NSString string, - ffi.Pointer> error, - ) { - return _lib._objc_msgSend_749( - this.pointer, - _lib._sel_getObjectValue_forString_errorDescription_1, - obj, - string.pointer, - error, - ); + ffi.Pointer> obj, + NSString string, + ffi.Pointer> error) { + return _objc_msgSend_749( + this.pointer, + _sel_getObjectValue_forString_errorDescription_, + obj, + string.pointer, + error); } bool isPartialStringValid_newEditingString_errorDescription_( - NSString partialString, - ffi.Pointer> newString, - ffi.Pointer> error, - ) { - return _lib._objc_msgSend_750( - this.pointer, - _lib._sel_isPartialStringValid_newEditingString_errorDescription_1, - partialString.pointer, - newString, - error, - ); + NSString partialString, + ffi.Pointer> newString, + ffi.Pointer> error) { + return _objc_msgSend_750( + this.pointer, + _sel_isPartialStringValid_newEditingString_errorDescription_, + partialString.pointer, + newString, + error); } bool isPartialStringValid_proposedSelectedRange_originalString_originalSelectedRange_errorDescription_( - ffi.Pointer> partialStringPtr, - ffi.Pointer<_NSRange> proposedSelRangePtr, - NSString origString, - _NSRange origSelRange, - ffi.Pointer> error, - ) { - return _lib._objc_msgSend_751( - this.pointer, - _lib._sel_isPartialStringValid_proposedSelectedRange_originalString_originalSelectedRange_errorDescription_1, - partialStringPtr, - proposedSelRangePtr, - origString.pointer, - origSelRange, - error, - ); + ffi.Pointer> partialStringPtr, + ffi.Pointer<_NSRange> proposedSelRangePtr, + NSString origString, + _NSRange origSelRange, + ffi.Pointer> error) { + return _objc_msgSend_751( + this.pointer, + _sel_isPartialStringValid_proposedSelectedRange_originalString_originalSelectedRange_errorDescription_, + partialStringPtr, + proposedSelRangePtr, + origString.pointer, + origSelRange, + error); } @override NSFormatter init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSFormatter._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSFormatter._(_ret, retain: true, release: true); } - static NSFormatter new1(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2(_lib._class_NSFormatter1, _lib._sel_new1); - return NSFormatter._(_ret, _lib, retain: false, release: true); + static NSFormatter new1() { + final _ret = _objc_msgSend_2(_class_NSFormatter, _sel_new); + return NSFormatter._(_ret, retain: false, release: true); } - static NSFormatter allocWithZone_( - SwiftLibrary _lib, - ffi.Pointer<_NSZone> zone, - ) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSFormatter1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSFormatter._(_ret, _lib, retain: false, release: true); + static NSFormatter allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = _objc_msgSend_3(_class_NSFormatter, _sel_allocWithZone_, zone); + return NSFormatter._(_ret, retain: false, release: true); } - static NSFormatter alloc(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSFormatter1, - _lib._sel_alloc1, - ); - return NSFormatter._(_ret, _lib, retain: false, release: true); + static NSFormatter alloc() { + final _ret = _objc_msgSend_2(_class_NSFormatter, _sel_alloc); + return NSFormatter._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSFormatter1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSFormatter1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSFormatter1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSFormatter1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSFormatter1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSFormatter1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSFormatter, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); } - static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSFormatter1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSFormatter1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSFormatter1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSFormatter, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); } -} + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSFormatter, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSFormatter, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSFormatter, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSFormatter, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); + } + + static void setKeys_triggerChangeNotificationsForDependentKey_( + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSFormatter, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = _objc_msgSend_85( + _class_NSFormatter, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = + _objc_msgSend_2(_class_NSFormatter, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); + } +} + +late final _class_NSFormatter = objc.getClass("NSFormatter"); +late final _sel_stringForObjectValue_ = + objc.registerName("stringForObjectValue:"); +final _objc_msgSend_747 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer obj)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_attributedStringForObjectValue_withDefaultAttributes_ = + objc.registerName("attributedStringForObjectValue:withDefaultAttributes:"); +final _objc_msgSend_748 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer obj, + ffi.Pointer attrs)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_editingStringForObjectValue_ = + objc.registerName("editingStringForObjectValue:"); +late final _sel_getObjectValue_forString_errorDescription_ = + objc.registerName("getObjectValue:forString:errorDescription:"); +final _objc_msgSend_749 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer> obj, + ffi.Pointer string, + ffi.Pointer> error)>>() + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer, + ffi.Pointer>)>(); +late final _sel_isPartialStringValid_newEditingString_errorDescription_ = objc + .registerName("isPartialStringValid:newEditingString:errorDescription:"); +final _objc_msgSend_750 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer partialString, + ffi.Pointer> newString, + ffi.Pointer> error)>>() + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer>)>(); +late final _sel_isPartialStringValid_proposedSelectedRange_originalString_originalSelectedRange_errorDescription_ = + objc.registerName( + "isPartialStringValid:proposedSelectedRange:originalString:originalSelectedRange:errorDescription:"); +final _objc_msgSend_751 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer> partialStringPtr, + ffi.Pointer<_NSRange> proposedSelRangePtr, + ffi.Pointer origString, + _NSRange origSelRange, + ffi.Pointer> error)>>() + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer<_NSRange>, + ffi.Pointer, + _NSRange, + ffi.Pointer>)>(); abstract class NSFormattingContext { static const int NSFormattingContextUnknown = 0; @@ -70819,6 +36986,58 @@ abstract class NSFormattingContext { static const int NSFormattingContextMiddleOfSentence = 5; } +late final _sel_formattingContext = objc.registerName("formattingContext"); +final _objc_msgSend_752 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + int Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_setFormattingContext_ = + objc.registerName("setFormattingContext:"); +final _objc_msgSend_753 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer obj, + ffi.Pointer sel, ffi.Int32 value)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, int)>(); +late final _sel_getObjectValue_forString_range_error_ = + objc.registerName("getObjectValue:forString:range:error:"); +final _objc_msgSend_754 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer> obj, + ffi.Pointer string, + ffi.Pointer<_NSRange> rangep, + ffi.Pointer> error)>>() + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer, + ffi.Pointer<_NSRange>, + ffi.Pointer>)>(); +late final _sel_stringFromDate_ = objc.registerName("stringFromDate:"); +final _objc_msgSend_755 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer date)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_dateFromString_ = objc.registerName("dateFromString:"); + abstract class NSDateFormatterStyle { static const int NSDateFormatterNoStyle = 0; static const int NSDateFormatterShortStyle = 1; @@ -70827,945 +37046,860 @@ abstract class NSDateFormatterStyle { static const int NSDateFormatterFullStyle = 4; } +late final _sel_localizedStringFromDate_dateStyle_timeStyle_ = + objc.registerName("localizedStringFromDate:dateStyle:timeStyle:"); +final _objc_msgSend_756 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer date, + ffi.Int32 dstyle, + ffi.Int32 tstyle)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + int)>(); +late final _sel_dateFormatFromTemplate_options_locale_ = + objc.registerName("dateFormatFromTemplate:options:locale:"); +final _objc_msgSend_757 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer tmplate, + ffi.UnsignedLong opts, + ffi.Pointer locale)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer)>(); + abstract class NSDateFormatterBehavior { static const int NSDateFormatterBehaviorDefault = 0; static const int NSDateFormatterBehavior10_0 = 1000; static const int NSDateFormatterBehavior10_4 = 1040; } +late final _sel_defaultFormatterBehavior = + objc.registerName("defaultFormatterBehavior"); +final _objc_msgSend_758 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + int Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_setDefaultFormatterBehavior_ = + objc.registerName("setDefaultFormatterBehavior:"); +final _objc_msgSend_759 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer obj, + ffi.Pointer sel, ffi.Int32 value)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, int)>(); +late final _sel_setLocalizedDateFormatFromTemplate_ = + objc.registerName("setLocalizedDateFormatFromTemplate:"); +late final _sel_dateFormat = objc.registerName("dateFormat"); +late final _sel_setDateFormat_ = objc.registerName("setDateFormat:"); +late final _sel_dateStyle = objc.registerName("dateStyle"); +final _objc_msgSend_760 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + int Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_setDateStyle_ = objc.registerName("setDateStyle:"); +final _objc_msgSend_761 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer obj, + ffi.Pointer sel, ffi.Int32 value)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, int)>(); +late final _sel_timeStyle = objc.registerName("timeStyle"); +late final _sel_setTimeStyle_ = objc.registerName("setTimeStyle:"); +late final _sel_locale = objc.registerName("locale"); +late final _sel_setLocale_ = objc.registerName("setLocale:"); +final _objc_msgSend_762 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_generatesCalendarDates = + objc.registerName("generatesCalendarDates"); +late final _sel_setGeneratesCalendarDates_ = + objc.registerName("setGeneratesCalendarDates:"); +late final _sel_formatterBehavior = objc.registerName("formatterBehavior"); +late final _sel_setFormatterBehavior_ = + objc.registerName("setFormatterBehavior:"); + class NSCalendar extends NSObject { - NSCalendar._( - ffi.Pointer pointer, - SwiftLibrary lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSCalendar._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSCalendar] that points to the same underlying object as [other]. - static NSCalendar castFrom( - SwiftLibrary lib, - T other, - ) { - return NSCalendar._(other.pointer, lib, retain: true, release: true); + static NSCalendar castFrom(T other) { + return NSCalendar._(other.pointer, retain: true, release: true); } /// Returns a [NSCalendar] that wraps the given raw object pointer. - static NSCalendar castFromPointer( - SwiftLibrary lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSCalendar._(other, lib, retain: retain, release: release); + static NSCalendar castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSCalendar._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSCalendar]. - static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSCalendar1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0(obj.pointer, _sel_isKindOfClass_, _class_NSCalendar); } - static NSCalendar getCurrentCalendar(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_763( - _lib._class_NSCalendar1, - _lib._sel_currentCalendar1, - ); - return NSCalendar._(_ret, _lib, retain: true, release: true); + static NSCalendar getCurrentCalendar() { + final _ret = _objc_msgSend_763(_class_NSCalendar, _sel_currentCalendar); + return NSCalendar._(_ret, retain: true, release: true); } - static NSCalendar getAutoupdatingCurrentCalendar(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_763( - _lib._class_NSCalendar1, - _lib._sel_autoupdatingCurrentCalendar1, - ); - return NSCalendar._(_ret, _lib, retain: true, release: true); + static NSCalendar getAutoupdatingCurrentCalendar() { + final _ret = + _objc_msgSend_763(_class_NSCalendar, _sel_autoupdatingCurrentCalendar); + return NSCalendar._(_ret, retain: true, release: true); } static NSCalendar? calendarWithIdentifier_( - SwiftLibrary _lib, - NSString calendarIdentifierConstant, - ) { - final _ret = _lib._objc_msgSend_764( - _lib._class_NSCalendar1, - _lib._sel_calendarWithIdentifier_1, - calendarIdentifierConstant.pointer, - ); + NSString calendarIdentifierConstant) { + final _ret = _objc_msgSend_764(_class_NSCalendar, + _sel_calendarWithIdentifier_, calendarIdentifierConstant.pointer); return _ret.address == 0 ? null - : NSCalendar._(_ret, _lib, retain: true, release: true); + : NSCalendar._(_ret, retain: true, release: true); } @override NSCalendar init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSCalendar._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSCalendar._(_ret, retain: true, release: true); } NSObject? initWithCalendarIdentifier_(NSString ident) { - final _ret = _lib._objc_msgSend_38( - this.pointer, - _lib._sel_initWithCalendarIdentifier_1, - ident.pointer, - ); + final _ret = _objc_msgSend_38( + this.pointer, _sel_initWithCalendarIdentifier_, ident.pointer); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } NSString get calendarIdentifier { - final _ret = _lib._objc_msgSend_21( - this.pointer, - _lib._sel_calendarIdentifier1, - ); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_calendarIdentifier); + return NSString._(_ret, retain: true, release: true); } NSLocale? get locale { - final _ret = _lib._objc_msgSend_765(this.pointer, _lib._sel_locale1); + final _ret = _objc_msgSend_765(this.pointer, _sel_locale); return _ret.address == 0 ? null - : NSLocale._(_ret, _lib, retain: true, release: true); + : NSLocale._(_ret, retain: true, release: true); } set locale(NSLocale? value) { - return _lib._objc_msgSend_766( - this.pointer, - _lib._sel_setLocale_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_766( + this.pointer, _sel_setLocale_, value?.pointer ?? ffi.nullptr); } NSTimeZone get timeZone { - final _ret = _lib._objc_msgSend_179(this.pointer, _lib._sel_timeZone1); - return NSTimeZone._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_179(this.pointer, _sel_timeZone); + return NSTimeZone._(_ret, retain: true, release: true); } set timeZone(NSTimeZone value) { - return _lib._objc_msgSend_180( - this.pointer, - _lib._sel_setTimeZone_1, - value.pointer, - ); + return _objc_msgSend_180(this.pointer, _sel_setTimeZone_, value.pointer); } int get firstWeekday { - return _lib._objc_msgSend_10(this.pointer, _lib._sel_firstWeekday1); + return _objc_msgSend_10(this.pointer, _sel_firstWeekday); } set firstWeekday(int value) { - return _lib._objc_msgSend_516( - this.pointer, - _lib._sel_setFirstWeekday_1, - value, - ); + return _objc_msgSend_516(this.pointer, _sel_setFirstWeekday_, value); } int get minimumDaysInFirstWeek { - return _lib._objc_msgSend_10( - this.pointer, - _lib._sel_minimumDaysInFirstWeek1, - ); + return _objc_msgSend_10(this.pointer, _sel_minimumDaysInFirstWeek); } set minimumDaysInFirstWeek(int value) { - return _lib._objc_msgSend_516( - this.pointer, - _lib._sel_setMinimumDaysInFirstWeek_1, - value, - ); + return _objc_msgSend_516( + this.pointer, _sel_setMinimumDaysInFirstWeek_, value); } NSArray get eraSymbols { - final _ret = _lib._objc_msgSend_85(this.pointer, _lib._sel_eraSymbols1); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_85(this.pointer, _sel_eraSymbols); + return NSArray._(_ret, retain: true, release: true); } NSArray get longEraSymbols { - final _ret = _lib._objc_msgSend_85(this.pointer, _lib._sel_longEraSymbols1); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_85(this.pointer, _sel_longEraSymbols); + return NSArray._(_ret, retain: true, release: true); } NSArray get monthSymbols { - final _ret = _lib._objc_msgSend_85(this.pointer, _lib._sel_monthSymbols1); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_85(this.pointer, _sel_monthSymbols); + return NSArray._(_ret, retain: true, release: true); } NSArray get shortMonthSymbols { - final _ret = _lib._objc_msgSend_85( - this.pointer, - _lib._sel_shortMonthSymbols1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_85(this.pointer, _sel_shortMonthSymbols); + return NSArray._(_ret, retain: true, release: true); } NSArray get veryShortMonthSymbols { - final _ret = _lib._objc_msgSend_85( - this.pointer, - _lib._sel_veryShortMonthSymbols1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_85(this.pointer, _sel_veryShortMonthSymbols); + return NSArray._(_ret, retain: true, release: true); } NSArray get standaloneMonthSymbols { - final _ret = _lib._objc_msgSend_85( - this.pointer, - _lib._sel_standaloneMonthSymbols1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_85(this.pointer, _sel_standaloneMonthSymbols); + return NSArray._(_ret, retain: true, release: true); } NSArray get shortStandaloneMonthSymbols { - final _ret = _lib._objc_msgSend_85( - this.pointer, - _lib._sel_shortStandaloneMonthSymbols1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_85(this.pointer, _sel_shortStandaloneMonthSymbols); + return NSArray._(_ret, retain: true, release: true); } NSArray get veryShortStandaloneMonthSymbols { - final _ret = _lib._objc_msgSend_85( - this.pointer, - _lib._sel_veryShortStandaloneMonthSymbols1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_85(this.pointer, _sel_veryShortStandaloneMonthSymbols); + return NSArray._(_ret, retain: true, release: true); } NSArray get weekdaySymbols { - final _ret = _lib._objc_msgSend_85(this.pointer, _lib._sel_weekdaySymbols1); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_85(this.pointer, _sel_weekdaySymbols); + return NSArray._(_ret, retain: true, release: true); } NSArray get shortWeekdaySymbols { - final _ret = _lib._objc_msgSend_85( - this.pointer, - _lib._sel_shortWeekdaySymbols1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_85(this.pointer, _sel_shortWeekdaySymbols); + return NSArray._(_ret, retain: true, release: true); } NSArray get veryShortWeekdaySymbols { - final _ret = _lib._objc_msgSend_85( - this.pointer, - _lib._sel_veryShortWeekdaySymbols1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_85(this.pointer, _sel_veryShortWeekdaySymbols); + return NSArray._(_ret, retain: true, release: true); } NSArray get standaloneWeekdaySymbols { - final _ret = _lib._objc_msgSend_85( - this.pointer, - _lib._sel_standaloneWeekdaySymbols1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_85(this.pointer, _sel_standaloneWeekdaySymbols); + return NSArray._(_ret, retain: true, release: true); } NSArray get shortStandaloneWeekdaySymbols { - final _ret = _lib._objc_msgSend_85( - this.pointer, - _lib._sel_shortStandaloneWeekdaySymbols1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_85(this.pointer, _sel_shortStandaloneWeekdaySymbols); + return NSArray._(_ret, retain: true, release: true); } NSArray get veryShortStandaloneWeekdaySymbols { - final _ret = _lib._objc_msgSend_85( - this.pointer, - _lib._sel_veryShortStandaloneWeekdaySymbols1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_85(this.pointer, _sel_veryShortStandaloneWeekdaySymbols); + return NSArray._(_ret, retain: true, release: true); } NSArray get quarterSymbols { - final _ret = _lib._objc_msgSend_85(this.pointer, _lib._sel_quarterSymbols1); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_85(this.pointer, _sel_quarterSymbols); + return NSArray._(_ret, retain: true, release: true); } NSArray get shortQuarterSymbols { - final _ret = _lib._objc_msgSend_85( - this.pointer, - _lib._sel_shortQuarterSymbols1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_85(this.pointer, _sel_shortQuarterSymbols); + return NSArray._(_ret, retain: true, release: true); } NSArray get standaloneQuarterSymbols { - final _ret = _lib._objc_msgSend_85( - this.pointer, - _lib._sel_standaloneQuarterSymbols1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_85(this.pointer, _sel_standaloneQuarterSymbols); + return NSArray._(_ret, retain: true, release: true); } NSArray get shortStandaloneQuarterSymbols { - final _ret = _lib._objc_msgSend_85( - this.pointer, - _lib._sel_shortStandaloneQuarterSymbols1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_85(this.pointer, _sel_shortStandaloneQuarterSymbols); + return NSArray._(_ret, retain: true, release: true); } NSString get AMSymbol { - final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_AMSymbol1); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_AMSymbol); + return NSString._(_ret, retain: true, release: true); } NSString get PMSymbol { - final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_PMSymbol1); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_PMSymbol); + return NSString._(_ret, retain: true, release: true); } void minimumRangeOfUnit_(ffi.Pointer<_NSRange> stret, int unit) { objc.useMsgSendVariants - ? _lib._objc_msgSend_767_stret( - stret, - this.pointer, - _lib._sel_minimumRangeOfUnit_1, - unit, - ) - : stret.ref = _lib._objc_msgSend_767( - this.pointer, - _lib._sel_minimumRangeOfUnit_1, - unit, - ); + ? _objc_msgSend_767Stret( + stret, this.pointer, _sel_minimumRangeOfUnit_, unit) + : stret.ref = + _objc_msgSend_767(this.pointer, _sel_minimumRangeOfUnit_, unit); } void maximumRangeOfUnit_(ffi.Pointer<_NSRange> stret, int unit) { objc.useMsgSendVariants - ? _lib._objc_msgSend_767_stret( - stret, - this.pointer, - _lib._sel_maximumRangeOfUnit_1, - unit, - ) - : stret.ref = _lib._objc_msgSend_767( - this.pointer, - _lib._sel_maximumRangeOfUnit_1, - unit, - ); + ? _objc_msgSend_767Stret( + stret, this.pointer, _sel_maximumRangeOfUnit_, unit) + : stret.ref = + _objc_msgSend_767(this.pointer, _sel_maximumRangeOfUnit_, unit); } void rangeOfUnit_inUnit_forDate_( - ffi.Pointer<_NSRange> stret, - int smaller, - int larger, - NSDate date, - ) { + ffi.Pointer<_NSRange> stret, int smaller, int larger, NSDate date) { objc.useMsgSendVariants - ? _lib._objc_msgSend_768_stret( - stret, - this.pointer, - _lib._sel_rangeOfUnit_inUnit_forDate_1, - smaller, - larger, - date.pointer, - ) - : stret.ref = _lib._objc_msgSend_768( - this.pointer, - _lib._sel_rangeOfUnit_inUnit_forDate_1, - smaller, - larger, - date.pointer, - ); + ? _objc_msgSend_768Stret(stret, this.pointer, + _sel_rangeOfUnit_inUnit_forDate_, smaller, larger, date.pointer) + : stret.ref = _objc_msgSend_768(this.pointer, + _sel_rangeOfUnit_inUnit_forDate_, smaller, larger, date.pointer); } int ordinalityOfUnit_inUnit_forDate_(int smaller, int larger, NSDate date) { - return _lib._objc_msgSend_769( - this.pointer, - _lib._sel_ordinalityOfUnit_inUnit_forDate_1, - smaller, - larger, - date.pointer, - ); + return _objc_msgSend_769(this.pointer, + _sel_ordinalityOfUnit_inUnit_forDate_, smaller, larger, date.pointer); } bool rangeOfUnit_startDate_interval_forDate_( - int unit, - ffi.Pointer> datep, - ffi.Pointer tip, - NSDate date, - ) { - return _lib._objc_msgSend_770( - this.pointer, - _lib._sel_rangeOfUnit_startDate_interval_forDate_1, - unit, - datep, - tip, - date.pointer, - ); + int unit, + ffi.Pointer> datep, + ffi.Pointer tip, + NSDate date) { + return _objc_msgSend_770( + this.pointer, + _sel_rangeOfUnit_startDate_interval_forDate_, + unit, + datep, + tip, + date.pointer); } NSDate? dateFromComponents_(NSDateComponents comps) { - final _ret = _lib._objc_msgSend_778( - this.pointer, - _lib._sel_dateFromComponents_1, - comps.pointer, - ); + final _ret = _objc_msgSend_778( + this.pointer, _sel_dateFromComponents_, comps.pointer); return _ret.address == 0 ? null - : NSDate._(_ret, _lib, retain: true, release: true); + : NSDate._(_ret, retain: true, release: true); } NSDateComponents components_fromDate_(int unitFlags, NSDate date) { - final _ret = _lib._objc_msgSend_779( - this.pointer, - _lib._sel_components_fromDate_1, - unitFlags, - date.pointer, - ); - return NSDateComponents._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_779( + this.pointer, _sel_components_fromDate_, unitFlags, date.pointer); + return NSDateComponents._(_ret, retain: true, release: true); } NSDate? dateByAddingComponents_toDate_options_( - NSDateComponents comps, - NSDate date, - int opts, - ) { - final _ret = _lib._objc_msgSend_780( - this.pointer, - _lib._sel_dateByAddingComponents_toDate_options_1, - comps.pointer, - date.pointer, - opts, - ); + NSDateComponents comps, NSDate date, int opts) { + final _ret = _objc_msgSend_780( + this.pointer, + _sel_dateByAddingComponents_toDate_options_, + comps.pointer, + date.pointer, + opts); return _ret.address == 0 ? null - : NSDate._(_ret, _lib, retain: true, release: true); + : NSDate._(_ret, retain: true, release: true); } NSDateComponents components_fromDate_toDate_options_( - int unitFlags, - NSDate startingDate, - NSDate resultDate, - int opts, - ) { - final _ret = _lib._objc_msgSend_781( - this.pointer, - _lib._sel_components_fromDate_toDate_options_1, - unitFlags, - startingDate.pointer, - resultDate.pointer, - opts, - ); - return NSDateComponents._(_ret, _lib, retain: true, release: true); + int unitFlags, NSDate startingDate, NSDate resultDate, int opts) { + final _ret = _objc_msgSend_781( + this.pointer, + _sel_components_fromDate_toDate_options_, + unitFlags, + startingDate.pointer, + resultDate.pointer, + opts); + return NSDateComponents._(_ret, retain: true, release: true); } void getEra_year_month_day_fromDate_( - ffi.Pointer eraValuePointer, - ffi.Pointer yearValuePointer, - ffi.Pointer monthValuePointer, - ffi.Pointer dayValuePointer, - NSDate date, - ) { - _lib._objc_msgSend_782( - this.pointer, - _lib._sel_getEra_year_month_day_fromDate_1, - eraValuePointer, - yearValuePointer, - monthValuePointer, - dayValuePointer, - date.pointer, - ); + ffi.Pointer eraValuePointer, + ffi.Pointer yearValuePointer, + ffi.Pointer monthValuePointer, + ffi.Pointer dayValuePointer, + NSDate date) { + _objc_msgSend_782( + this.pointer, + _sel_getEra_year_month_day_fromDate_, + eraValuePointer, + yearValuePointer, + monthValuePointer, + dayValuePointer, + date.pointer); } void getEra_yearForWeekOfYear_weekOfYear_weekday_fromDate_( - ffi.Pointer eraValuePointer, - ffi.Pointer yearValuePointer, - ffi.Pointer weekValuePointer, - ffi.Pointer weekdayValuePointer, - NSDate date, - ) { - _lib._objc_msgSend_782( - this.pointer, - _lib._sel_getEra_yearForWeekOfYear_weekOfYear_weekday_fromDate_1, - eraValuePointer, - yearValuePointer, - weekValuePointer, - weekdayValuePointer, - date.pointer, - ); + ffi.Pointer eraValuePointer, + ffi.Pointer yearValuePointer, + ffi.Pointer weekValuePointer, + ffi.Pointer weekdayValuePointer, + NSDate date) { + _objc_msgSend_782( + this.pointer, + _sel_getEra_yearForWeekOfYear_weekOfYear_weekday_fromDate_, + eraValuePointer, + yearValuePointer, + weekValuePointer, + weekdayValuePointer, + date.pointer); } void getHour_minute_second_nanosecond_fromDate_( - ffi.Pointer hourValuePointer, - ffi.Pointer minuteValuePointer, - ffi.Pointer secondValuePointer, - ffi.Pointer nanosecondValuePointer, - NSDate date, - ) { - _lib._objc_msgSend_782( - this.pointer, - _lib._sel_getHour_minute_second_nanosecond_fromDate_1, - hourValuePointer, - minuteValuePointer, - secondValuePointer, - nanosecondValuePointer, - date.pointer, - ); + ffi.Pointer hourValuePointer, + ffi.Pointer minuteValuePointer, + ffi.Pointer secondValuePointer, + ffi.Pointer nanosecondValuePointer, + NSDate date) { + _objc_msgSend_782( + this.pointer, + _sel_getHour_minute_second_nanosecond_fromDate_, + hourValuePointer, + minuteValuePointer, + secondValuePointer, + nanosecondValuePointer, + date.pointer); } int component_fromDate_(int unit, NSDate date) { - return _lib._objc_msgSend_783( - this.pointer, - _lib._sel_component_fromDate_1, - unit, - date.pointer, - ); + return _objc_msgSend_783( + this.pointer, _sel_component_fromDate_, unit, date.pointer); } NSDate? dateWithEra_year_month_day_hour_minute_second_nanosecond_( - int eraValue, - int yearValue, - int monthValue, - int dayValue, - int hourValue, - int minuteValue, - int secondValue, - int nanosecondValue, - ) { - final _ret = _lib._objc_msgSend_784( - this.pointer, - _lib._sel_dateWithEra_year_month_day_hour_minute_second_nanosecond_1, - eraValue, - yearValue, - monthValue, - dayValue, - hourValue, - minuteValue, - secondValue, - nanosecondValue, - ); - return _ret.address == 0 - ? null - : NSDate._(_ret, _lib, retain: true, release: true); + int eraValue, + int yearValue, + int monthValue, + int dayValue, + int hourValue, + int minuteValue, + int secondValue, + int nanosecondValue) { + final _ret = _objc_msgSend_784( + this.pointer, + _sel_dateWithEra_year_month_day_hour_minute_second_nanosecond_, + eraValue, + yearValue, + monthValue, + dayValue, + hourValue, + minuteValue, + secondValue, + nanosecondValue); + return _ret.address == 0 + ? null + : NSDate._(_ret, retain: true, release: true); } NSDate? dateWithEra_yearForWeekOfYear_weekOfYear_weekday_hour_minute_second_nanosecond_( - int eraValue, - int yearValue, - int weekValue, - int weekdayValue, - int hourValue, - int minuteValue, - int secondValue, - int nanosecondValue, - ) { - final _ret = _lib._objc_msgSend_784( - this.pointer, - _lib._sel_dateWithEra_yearForWeekOfYear_weekOfYear_weekday_hour_minute_second_nanosecond_1, - eraValue, - yearValue, - weekValue, - weekdayValue, - hourValue, - minuteValue, - secondValue, - nanosecondValue, - ); - return _ret.address == 0 - ? null - : NSDate._(_ret, _lib, retain: true, release: true); + int eraValue, + int yearValue, + int weekValue, + int weekdayValue, + int hourValue, + int minuteValue, + int secondValue, + int nanosecondValue) { + final _ret = _objc_msgSend_784( + this.pointer, + _sel_dateWithEra_yearForWeekOfYear_weekOfYear_weekday_hour_minute_second_nanosecond_, + eraValue, + yearValue, + weekValue, + weekdayValue, + hourValue, + minuteValue, + secondValue, + nanosecondValue); + return _ret.address == 0 + ? null + : NSDate._(_ret, retain: true, release: true); } NSDate startOfDayForDate_(NSDate date) { - final _ret = _lib._objc_msgSend_168( - this.pointer, - _lib._sel_startOfDayForDate_1, - date.pointer, - ); - return NSDate._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_168(this.pointer, _sel_startOfDayForDate_, date.pointer); + return NSDate._(_ret, retain: true, release: true); } NSDateComponents componentsInTimeZone_fromDate_( - NSTimeZone timezone, - NSDate date, - ) { - final _ret = _lib._objc_msgSend_785( - this.pointer, - _lib._sel_componentsInTimeZone_fromDate_1, - timezone.pointer, - date.pointer, - ); - return NSDateComponents._(_ret, _lib, retain: true, release: true); + NSTimeZone timezone, NSDate date) { + final _ret = _objc_msgSend_785(this.pointer, + _sel_componentsInTimeZone_fromDate_, timezone.pointer, date.pointer); + return NSDateComponents._(_ret, retain: true, release: true); } int compareDate_toDate_toUnitGranularity_( - NSDate date1, - NSDate date2, - int unit, - ) { - return _lib._objc_msgSend_786( - this.pointer, - _lib._sel_compareDate_toDate_toUnitGranularity_1, - date1.pointer, - date2.pointer, - unit, - ); + NSDate date1, NSDate date2, int unit) { + return _objc_msgSend_786( + this.pointer, + _sel_compareDate_toDate_toUnitGranularity_, + date1.pointer, + date2.pointer, + unit); } bool isDate_equalToDate_toUnitGranularity_( - NSDate date1, - NSDate date2, - int unit, - ) { - return _lib._objc_msgSend_787( - this.pointer, - _lib._sel_isDate_equalToDate_toUnitGranularity_1, - date1.pointer, - date2.pointer, - unit, - ); + NSDate date1, NSDate date2, int unit) { + return _objc_msgSend_787( + this.pointer, + _sel_isDate_equalToDate_toUnitGranularity_, + date1.pointer, + date2.pointer, + unit); } bool isDate_inSameDayAsDate_(NSDate date1, NSDate date2) { - return _lib._objc_msgSend_788( - this.pointer, - _lib._sel_isDate_inSameDayAsDate_1, - date1.pointer, - date2.pointer, - ); + return _objc_msgSend_788(this.pointer, _sel_isDate_inSameDayAsDate_, + date1.pointer, date2.pointer); } bool isDateInToday_(NSDate date) { - return _lib._objc_msgSend_170( - this.pointer, - _lib._sel_isDateInToday_1, - date.pointer, - ); + return _objc_msgSend_170(this.pointer, _sel_isDateInToday_, date.pointer); } bool isDateInYesterday_(NSDate date) { - return _lib._objc_msgSend_170( - this.pointer, - _lib._sel_isDateInYesterday_1, - date.pointer, - ); + return _objc_msgSend_170( + this.pointer, _sel_isDateInYesterday_, date.pointer); } bool isDateInTomorrow_(NSDate date) { - return _lib._objc_msgSend_170( - this.pointer, - _lib._sel_isDateInTomorrow_1, - date.pointer, - ); + return _objc_msgSend_170( + this.pointer, _sel_isDateInTomorrow_, date.pointer); } bool isDateInWeekend_(NSDate date) { - return _lib._objc_msgSend_170( - this.pointer, - _lib._sel_isDateInWeekend_1, - date.pointer, - ); + return _objc_msgSend_170(this.pointer, _sel_isDateInWeekend_, date.pointer); } bool rangeOfWeekendStartDate_interval_containingDate_( - ffi.Pointer> datep, - ffi.Pointer tip, - NSDate date, - ) { - return _lib._objc_msgSend_789( - this.pointer, - _lib._sel_rangeOfWeekendStartDate_interval_containingDate_1, - datep, - tip, - date.pointer, - ); + ffi.Pointer> datep, + ffi.Pointer tip, + NSDate date) { + return _objc_msgSend_789( + this.pointer, + _sel_rangeOfWeekendStartDate_interval_containingDate_, + datep, + tip, + date.pointer); } bool nextWeekendStartDate_interval_options_afterDate_( - ffi.Pointer> datep, - ffi.Pointer tip, - int options, - NSDate date, - ) { - return _lib._objc_msgSend_790( - this.pointer, - _lib._sel_nextWeekendStartDate_interval_options_afterDate_1, - datep, - tip, - options, - date.pointer, - ); + ffi.Pointer> datep, + ffi.Pointer tip, + int options, + NSDate date) { + return _objc_msgSend_790( + this.pointer, + _sel_nextWeekendStartDate_interval_options_afterDate_, + datep, + tip, + options, + date.pointer); } NSDateComponents components_fromDateComponents_toDateComponents_options_( - int unitFlags, - NSDateComponents startingDateComp, - NSDateComponents resultDateComp, - int options, - ) { - final _ret = _lib._objc_msgSend_791( - this.pointer, - _lib._sel_components_fromDateComponents_toDateComponents_options_1, - unitFlags, - startingDateComp.pointer, - resultDateComp.pointer, - options, - ); - return NSDateComponents._(_ret, _lib, retain: true, release: true); + int unitFlags, + NSDateComponents startingDateComp, + NSDateComponents resultDateComp, + int options) { + final _ret = _objc_msgSend_791( + this.pointer, + _sel_components_fromDateComponents_toDateComponents_options_, + unitFlags, + startingDateComp.pointer, + resultDateComp.pointer, + options); + return NSDateComponents._(_ret, retain: true, release: true); } NSDate? dateByAddingUnit_value_toDate_options_( - int unit, - int value, - NSDate date, - int options, - ) { - final _ret = _lib._objc_msgSend_792( - this.pointer, - _lib._sel_dateByAddingUnit_value_toDate_options_1, - unit, - value, - date.pointer, - options, - ); + int unit, int value, NSDate date, int options) { + final _ret = _objc_msgSend_792( + this.pointer, + _sel_dateByAddingUnit_value_toDate_options_, + unit, + value, + date.pointer, + options); return _ret.address == 0 ? null - : NSDate._(_ret, _lib, retain: true, release: true); + : NSDate._(_ret, retain: true, release: true); } void enumerateDatesStartingAfterDate_matchingComponents_options_usingBlock_( - NSDate start, - NSDateComponents comps, - int opts, - ObjCBlock_ffiVoid_NSDate_bool_bool block, - ) { - _lib._objc_msgSend_793( - this.pointer, - _lib._sel_enumerateDatesStartingAfterDate_matchingComponents_options_usingBlock_1, - start.pointer, - comps.pointer, - opts, - block.pointer, - ); + NSDate start, + NSDateComponents comps, + int opts, + ObjCBlock_ffiVoid_NSDate_bool_bool block) { + _objc_msgSend_793( + this.pointer, + _sel_enumerateDatesStartingAfterDate_matchingComponents_options_usingBlock_, + start.pointer, + comps.pointer, + opts, + block.pointer); } NSDate? nextDateAfterDate_matchingComponents_options_( - NSDate date, - NSDateComponents comps, - int options, - ) { - final _ret = _lib._objc_msgSend_794( - this.pointer, - _lib._sel_nextDateAfterDate_matchingComponents_options_1, - date.pointer, - comps.pointer, - options, - ); + NSDate date, NSDateComponents comps, int options) { + final _ret = _objc_msgSend_794( + this.pointer, + _sel_nextDateAfterDate_matchingComponents_options_, + date.pointer, + comps.pointer, + options); return _ret.address == 0 ? null - : NSDate._(_ret, _lib, retain: true, release: true); + : NSDate._(_ret, retain: true, release: true); } NSDate? nextDateAfterDate_matchingUnit_value_options_( - NSDate date, - int unit, - int value, - int options, - ) { - final _ret = _lib._objc_msgSend_795( - this.pointer, - _lib._sel_nextDateAfterDate_matchingUnit_value_options_1, - date.pointer, - unit, - value, - options, - ); - return _ret.address == 0 - ? null - : NSDate._(_ret, _lib, retain: true, release: true); - } - - NSDate? nextDateAfterDate_matchingHour_minute_second_options_( - NSDate date, - int hourValue, - int minuteValue, - int secondValue, - int options, - ) { - final _ret = _lib._objc_msgSend_796( - this.pointer, - _lib._sel_nextDateAfterDate_matchingHour_minute_second_options_1, - date.pointer, - hourValue, - minuteValue, - secondValue, - options, - ); - return _ret.address == 0 - ? null - : NSDate._(_ret, _lib, retain: true, release: true); + NSDate date, int unit, int value, int options) { + final _ret = _objc_msgSend_795( + this.pointer, + _sel_nextDateAfterDate_matchingUnit_value_options_, + date.pointer, + unit, + value, + options); + return _ret.address == 0 + ? null + : NSDate._(_ret, retain: true, release: true); + } + + NSDate? nextDateAfterDate_matchingHour_minute_second_options_(NSDate date, + int hourValue, int minuteValue, int secondValue, int options) { + final _ret = _objc_msgSend_796( + this.pointer, + _sel_nextDateAfterDate_matchingHour_minute_second_options_, + date.pointer, + hourValue, + minuteValue, + secondValue, + options); + return _ret.address == 0 + ? null + : NSDate._(_ret, retain: true, release: true); } NSDate? dateBySettingUnit_value_ofDate_options_( - int unit, - int v, - NSDate date, - int opts, - ) { - final _ret = _lib._objc_msgSend_792( - this.pointer, - _lib._sel_dateBySettingUnit_value_ofDate_options_1, - unit, - v, - date.pointer, - opts, - ); + int unit, int v, NSDate date, int opts) { + final _ret = _objc_msgSend_792( + this.pointer, + _sel_dateBySettingUnit_value_ofDate_options_, + unit, + v, + date.pointer, + opts); return _ret.address == 0 ? null - : NSDate._(_ret, _lib, retain: true, release: true); + : NSDate._(_ret, retain: true, release: true); } NSDate? dateBySettingHour_minute_second_ofDate_options_( - int h, - int m, - int s, - NSDate date, - int opts, - ) { - final _ret = _lib._objc_msgSend_797( - this.pointer, - _lib._sel_dateBySettingHour_minute_second_ofDate_options_1, - h, - m, - s, - date.pointer, - opts, - ); - return _ret.address == 0 - ? null - : NSDate._(_ret, _lib, retain: true, release: true); + int h, int m, int s, NSDate date, int opts) { + final _ret = _objc_msgSend_797( + this.pointer, + _sel_dateBySettingHour_minute_second_ofDate_options_, + h, + m, + s, + date.pointer, + opts); + return _ret.address == 0 + ? null + : NSDate._(_ret, retain: true, release: true); } bool date_matchesComponents_(NSDate date, NSDateComponents components) { - return _lib._objc_msgSend_798( - this.pointer, - _lib._sel_date_matchesComponents_1, - date.pointer, - components.pointer, - ); + return _objc_msgSend_798(this.pointer, _sel_date_matchesComponents_, + date.pointer, components.pointer); } - static NSCalendar new1(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2(_lib._class_NSCalendar1, _lib._sel_new1); - return NSCalendar._(_ret, _lib, retain: false, release: true); + static NSCalendar new1() { + final _ret = _objc_msgSend_2(_class_NSCalendar, _sel_new); + return NSCalendar._(_ret, retain: false, release: true); } - static NSCalendar allocWithZone_( - SwiftLibrary _lib, - ffi.Pointer<_NSZone> zone, - ) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSCalendar1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSCalendar._(_ret, _lib, retain: false, release: true); + static NSCalendar allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = _objc_msgSend_3(_class_NSCalendar, _sel_allocWithZone_, zone); + return NSCalendar._(_ret, retain: false, release: true); } - static NSCalendar alloc(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSCalendar1, - _lib._sel_alloc1, - ); - return NSCalendar._(_ret, _lib, retain: false, release: true); + static NSCalendar alloc() { + final _ret = _objc_msgSend_2(_class_NSCalendar, _sel_alloc); + return NSCalendar._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSCalendar1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSCalendar1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSCalendar1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSCalendar1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSCalendar1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSCalendar1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSCalendar, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); } - static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSCalendar1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSCalendar1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSCalendar1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSCalendar, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); } -} + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSCalendar, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSCalendar, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSCalendar, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSCalendar, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); + } + + static void setKeys_triggerChangeNotificationsForDependentKey_( + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSCalendar, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = _objc_msgSend_85( + _class_NSCalendar, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = + _objc_msgSend_2(_class_NSCalendar, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); + } +} + +late final _class_NSCalendar = objc.getClass("NSCalendar"); +late final _sel_currentCalendar = objc.registerName("currentCalendar"); +final _objc_msgSend_763 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_autoupdatingCurrentCalendar = + objc.registerName("autoupdatingCurrentCalendar"); +late final _sel_calendarWithIdentifier_ = + objc.registerName("calendarWithIdentifier:"); +final _objc_msgSend_764 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer calendarIdentifierConstant)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_initWithCalendarIdentifier_ = + objc.registerName("initWithCalendarIdentifier:"); +final _objc_msgSend_765 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +final _objc_msgSend_766 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_firstWeekday = objc.registerName("firstWeekday"); +late final _sel_setFirstWeekday_ = objc.registerName("setFirstWeekday:"); +late final _sel_minimumDaysInFirstWeek = + objc.registerName("minimumDaysInFirstWeek"); +late final _sel_setMinimumDaysInFirstWeek_ = + objc.registerName("setMinimumDaysInFirstWeek:"); +late final _sel_eraSymbols = objc.registerName("eraSymbols"); +late final _sel_longEraSymbols = objc.registerName("longEraSymbols"); +late final _sel_monthSymbols = objc.registerName("monthSymbols"); +late final _sel_shortMonthSymbols = objc.registerName("shortMonthSymbols"); +late final _sel_veryShortMonthSymbols = + objc.registerName("veryShortMonthSymbols"); +late final _sel_standaloneMonthSymbols = + objc.registerName("standaloneMonthSymbols"); +late final _sel_shortStandaloneMonthSymbols = + objc.registerName("shortStandaloneMonthSymbols"); +late final _sel_veryShortStandaloneMonthSymbols = + objc.registerName("veryShortStandaloneMonthSymbols"); +late final _sel_weekdaySymbols = objc.registerName("weekdaySymbols"); +late final _sel_shortWeekdaySymbols = objc.registerName("shortWeekdaySymbols"); +late final _sel_veryShortWeekdaySymbols = + objc.registerName("veryShortWeekdaySymbols"); +late final _sel_standaloneWeekdaySymbols = + objc.registerName("standaloneWeekdaySymbols"); +late final _sel_shortStandaloneWeekdaySymbols = + objc.registerName("shortStandaloneWeekdaySymbols"); +late final _sel_veryShortStandaloneWeekdaySymbols = + objc.registerName("veryShortStandaloneWeekdaySymbols"); +late final _sel_quarterSymbols = objc.registerName("quarterSymbols"); +late final _sel_shortQuarterSymbols = objc.registerName("shortQuarterSymbols"); +late final _sel_standaloneQuarterSymbols = + objc.registerName("standaloneQuarterSymbols"); +late final _sel_shortStandaloneQuarterSymbols = + objc.registerName("shortStandaloneQuarterSymbols"); +late final _sel_AMSymbol = objc.registerName("AMSymbol"); +late final _sel_PMSymbol = objc.registerName("PMSymbol"); abstract class NSCalendarUnit { static const int NSCalendarUnitEra = 2; @@ -71802,385 +37936,517 @@ abstract class NSCalendarUnit { static const int NSTimeZoneCalendarUnit = 2097152; } +late final _sel_minimumRangeOfUnit_ = objc.registerName("minimumRangeOfUnit:"); +final _objc_msgSend_767 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + _NSRange Function(ffi.Pointer obj, + ffi.Pointer sel, ffi.Int32 unit)>>() + .asFunction< + _NSRange Function(ffi.Pointer, + ffi.Pointer, int)>(); +final _objc_msgSend_767Stret = objc.msgSendStretPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer<_NSRange> stret, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Int32 unit)>>() + .asFunction< + void Function(ffi.Pointer<_NSRange>, ffi.Pointer, + ffi.Pointer, int)>(); +late final _sel_maximumRangeOfUnit_ = objc.registerName("maximumRangeOfUnit:"); +late final _sel_rangeOfUnit_inUnit_forDate_ = + objc.registerName("rangeOfUnit:inUnit:forDate:"); +final _objc_msgSend_768 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + _NSRange Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Int32 smaller, + ffi.Int32 larger, + ffi.Pointer date)>>() + .asFunction< + _NSRange Function( + ffi.Pointer, + ffi.Pointer, + int, + int, + ffi.Pointer)>(); +final _objc_msgSend_768Stret = objc.msgSendStretPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer<_NSRange> stret, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Int32 smaller, + ffi.Int32 larger, + ffi.Pointer date)>>() + .asFunction< + void Function( + ffi.Pointer<_NSRange>, + ffi.Pointer, + ffi.Pointer, + int, + int, + ffi.Pointer)>(); +late final _sel_ordinalityOfUnit_inUnit_forDate_ = + objc.registerName("ordinalityOfUnit:inUnit:forDate:"); +final _objc_msgSend_769 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Int32 smaller, + ffi.Int32 larger, + ffi.Pointer date)>>() + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + int, + int, + ffi.Pointer)>(); +late final _sel_rangeOfUnit_startDate_interval_forDate_ = + objc.registerName("rangeOfUnit:startDate:interval:forDate:"); +final _objc_msgSend_770 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Int32 unit, + ffi.Pointer> datep, + ffi.Pointer tip, + ffi.Pointer date)>>() + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer>, + ffi.Pointer, + ffi.Pointer)>(); + class NSDateComponents extends NSObject { - NSDateComponents._( - ffi.Pointer pointer, - SwiftLibrary lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSDateComponents._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSDateComponents] that points to the same underlying object as [other]. - static NSDateComponents castFrom( - SwiftLibrary lib, - T other, - ) { - return NSDateComponents._(other.pointer, lib, retain: true, release: true); + static NSDateComponents castFrom(T other) { + return NSDateComponents._(other.pointer, retain: true, release: true); } /// Returns a [NSDateComponents] that wraps the given raw object pointer. - static NSDateComponents castFromPointer( - SwiftLibrary lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSDateComponents._(other, lib, retain: retain, release: release); + static NSDateComponents castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSDateComponents._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSDateComponents]. - static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSDateComponents1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0( + obj.pointer, _sel_isKindOfClass_, _class_NSDateComponents); } NSCalendar? get calendar { - final _ret = _lib._objc_msgSend_771(this.pointer, _lib._sel_calendar1); + final _ret = _objc_msgSend_771(this.pointer, _sel_calendar); return _ret.address == 0 ? null - : NSCalendar._(_ret, _lib, retain: true, release: true); + : NSCalendar._(_ret, retain: true, release: true); } set calendar(NSCalendar? value) { - return _lib._objc_msgSend_772( - this.pointer, - _lib._sel_setCalendar_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_772( + this.pointer, _sel_setCalendar_, value?.pointer ?? ffi.nullptr); } NSTimeZone? get timeZone { - final _ret = _lib._objc_msgSend_773(this.pointer, _lib._sel_timeZone1); + final _ret = _objc_msgSend_773(this.pointer, _sel_timeZone); return _ret.address == 0 ? null - : NSTimeZone._(_ret, _lib, retain: true, release: true); + : NSTimeZone._(_ret, retain: true, release: true); } set timeZone(NSTimeZone? value) { - return _lib._objc_msgSend_774( - this.pointer, - _lib._sel_setTimeZone_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_774( + this.pointer, _sel_setTimeZone_, value?.pointer ?? ffi.nullptr); } int get era { - return _lib._objc_msgSend_83(this.pointer, _lib._sel_era1); + return _objc_msgSend_83(this.pointer, _sel_era); } set era(int value) { - return _lib._objc_msgSend_635(this.pointer, _lib._sel_setEra_1, value); + return _objc_msgSend_635(this.pointer, _sel_setEra_, value); } int get year { - return _lib._objc_msgSend_83(this.pointer, _lib._sel_year1); + return _objc_msgSend_83(this.pointer, _sel_year); } set year(int value) { - return _lib._objc_msgSend_635(this.pointer, _lib._sel_setYear_1, value); + return _objc_msgSend_635(this.pointer, _sel_setYear_, value); } int get month { - return _lib._objc_msgSend_83(this.pointer, _lib._sel_month1); + return _objc_msgSend_83(this.pointer, _sel_month); } set month(int value) { - return _lib._objc_msgSend_635(this.pointer, _lib._sel_setMonth_1, value); + return _objc_msgSend_635(this.pointer, _sel_setMonth_, value); } int get day { - return _lib._objc_msgSend_83(this.pointer, _lib._sel_day1); + return _objc_msgSend_83(this.pointer, _sel_day); } set day(int value) { - return _lib._objc_msgSend_635(this.pointer, _lib._sel_setDay_1, value); + return _objc_msgSend_635(this.pointer, _sel_setDay_, value); } int get hour { - return _lib._objc_msgSend_83(this.pointer, _lib._sel_hour1); + return _objc_msgSend_83(this.pointer, _sel_hour); } set hour(int value) { - return _lib._objc_msgSend_635(this.pointer, _lib._sel_setHour_1, value); + return _objc_msgSend_635(this.pointer, _sel_setHour_, value); } int get minute { - return _lib._objc_msgSend_83(this.pointer, _lib._sel_minute1); + return _objc_msgSend_83(this.pointer, _sel_minute); } set minute(int value) { - return _lib._objc_msgSend_635(this.pointer, _lib._sel_setMinute_1, value); + return _objc_msgSend_635(this.pointer, _sel_setMinute_, value); } int get second { - return _lib._objc_msgSend_83(this.pointer, _lib._sel_second1); + return _objc_msgSend_83(this.pointer, _sel_second); } set second(int value) { - return _lib._objc_msgSend_635(this.pointer, _lib._sel_setSecond_1, value); + return _objc_msgSend_635(this.pointer, _sel_setSecond_, value); } int get nanosecond { - return _lib._objc_msgSend_83(this.pointer, _lib._sel_nanosecond1); + return _objc_msgSend_83(this.pointer, _sel_nanosecond); } set nanosecond(int value) { - return _lib._objc_msgSend_635( - this.pointer, - _lib._sel_setNanosecond_1, - value, - ); + return _objc_msgSend_635(this.pointer, _sel_setNanosecond_, value); } int get weekday { - return _lib._objc_msgSend_83(this.pointer, _lib._sel_weekday1); + return _objc_msgSend_83(this.pointer, _sel_weekday); } set weekday(int value) { - return _lib._objc_msgSend_635(this.pointer, _lib._sel_setWeekday_1, value); + return _objc_msgSend_635(this.pointer, _sel_setWeekday_, value); } int get weekdayOrdinal { - return _lib._objc_msgSend_83(this.pointer, _lib._sel_weekdayOrdinal1); + return _objc_msgSend_83(this.pointer, _sel_weekdayOrdinal); } set weekdayOrdinal(int value) { - return _lib._objc_msgSend_635( - this.pointer, - _lib._sel_setWeekdayOrdinal_1, - value, - ); + return _objc_msgSend_635(this.pointer, _sel_setWeekdayOrdinal_, value); } int get quarter { - return _lib._objc_msgSend_83(this.pointer, _lib._sel_quarter1); + return _objc_msgSend_83(this.pointer, _sel_quarter); } set quarter(int value) { - return _lib._objc_msgSend_635(this.pointer, _lib._sel_setQuarter_1, value); + return _objc_msgSend_635(this.pointer, _sel_setQuarter_, value); } int get weekOfMonth { - return _lib._objc_msgSend_83(this.pointer, _lib._sel_weekOfMonth1); + return _objc_msgSend_83(this.pointer, _sel_weekOfMonth); } set weekOfMonth(int value) { - return _lib._objc_msgSend_635( - this.pointer, - _lib._sel_setWeekOfMonth_1, - value, - ); + return _objc_msgSend_635(this.pointer, _sel_setWeekOfMonth_, value); } int get weekOfYear { - return _lib._objc_msgSend_83(this.pointer, _lib._sel_weekOfYear1); + return _objc_msgSend_83(this.pointer, _sel_weekOfYear); } set weekOfYear(int value) { - return _lib._objc_msgSend_635( - this.pointer, - _lib._sel_setWeekOfYear_1, - value, - ); + return _objc_msgSend_635(this.pointer, _sel_setWeekOfYear_, value); } int get yearForWeekOfYear { - return _lib._objc_msgSend_83(this.pointer, _lib._sel_yearForWeekOfYear1); + return _objc_msgSend_83(this.pointer, _sel_yearForWeekOfYear); } set yearForWeekOfYear(int value) { - return _lib._objc_msgSend_635( - this.pointer, - _lib._sel_setYearForWeekOfYear_1, - value, - ); + return _objc_msgSend_635(this.pointer, _sel_setYearForWeekOfYear_, value); } bool get leapMonth { - return _lib._objc_msgSend_12(this.pointer, _lib._sel_isLeapMonth1); + return _objc_msgSend_12(this.pointer, _sel_isLeapMonth); } set leapMonth(bool value) { - return _lib._objc_msgSend_527( - this.pointer, - _lib._sel_setLeapMonth_1, - value, - ); + return _objc_msgSend_527(this.pointer, _sel_setLeapMonth_, value); } NSDate? get date { - final _ret = _lib._objc_msgSend_183(this.pointer, _lib._sel_date1); + final _ret = _objc_msgSend_183(this.pointer, _sel_date); return _ret.address == 0 ? null - : NSDate._(_ret, _lib, retain: true, release: true); + : NSDate._(_ret, retain: true, release: true); } int week() { - return _lib._objc_msgSend_83(this.pointer, _lib._sel_week1); + return _objc_msgSend_83(this.pointer, _sel_week); } void setWeek_(int v) { - _lib._objc_msgSend_423(this.pointer, _lib._sel_setWeek_1, v); + _objc_msgSend_423(this.pointer, _sel_setWeek_, v); } void setValue_forComponent_(int value, int unit) { - _lib._objc_msgSend_775( - this.pointer, - _lib._sel_setValue_forComponent_1, - value, - unit, - ); + _objc_msgSend_775(this.pointer, _sel_setValue_forComponent_, value, unit); } int valueForComponent_(int unit) { - return _lib._objc_msgSend_776( - this.pointer, - _lib._sel_valueForComponent_1, - unit, - ); + return _objc_msgSend_776(this.pointer, _sel_valueForComponent_, unit); } bool get validDate { - return _lib._objc_msgSend_12(this.pointer, _lib._sel_isValidDate1); + return _objc_msgSend_12(this.pointer, _sel_isValidDate); } bool isValidDateInCalendar_(NSCalendar calendar) { - return _lib._objc_msgSend_777( - this.pointer, - _lib._sel_isValidDateInCalendar_1, - calendar.pointer, - ); + return _objc_msgSend_777( + this.pointer, _sel_isValidDateInCalendar_, calendar.pointer); } @override NSDateComponents init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSDateComponents._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSDateComponents._(_ret, retain: true, release: true); + } + + static NSDateComponents new1() { + final _ret = _objc_msgSend_2(_class_NSDateComponents, _sel_new); + return NSDateComponents._(_ret, retain: false, release: true); + } + + static NSDateComponents allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = + _objc_msgSend_3(_class_NSDateComponents, _sel_allocWithZone_, zone); + return NSDateComponents._(_ret, retain: false, release: true); + } + + static NSDateComponents alloc() { + final _ret = _objc_msgSend_2(_class_NSDateComponents, _sel_alloc); + return NSDateComponents._(_ret, retain: false, release: true); + } + + static void cancelPreviousPerformRequestsWithTarget_selector_object_( + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSDateComponents, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); + } + + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSDateComponents, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); } - static NSDateComponents new1(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSDateComponents1, - _lib._sel_new1, - ); - return NSDateComponents._(_ret, _lib, retain: false, release: true); + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSDateComponents, _sel_accessInstanceVariablesDirectly); } - static NSDateComponents allocWithZone_( - SwiftLibrary _lib, - ffi.Pointer<_NSZone> zone, - ) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSDateComponents1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSDateComponents._(_ret, _lib, retain: false, release: true); + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSDateComponents, _sel_useStoredAccessor); } - static NSDateComponents alloc(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSDateComponents1, - _lib._sel_alloc1, - ); - return NSDateComponents._(_ret, _lib, retain: false, release: true); + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSDateComponents, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); } - static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSDateComponents1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSDateComponents1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSDateComponents1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSDateComponents1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSDateComponents1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSDateComponents1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSDateComponents, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); } static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSDateComponents1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSDateComponents1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSDateComponents1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); - } -} + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSDateComponents, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = _objc_msgSend_85( + _class_NSDateComponents, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = + _objc_msgSend_2(_class_NSDateComponents, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); + } +} + +late final _class_NSDateComponents = objc.getClass("NSDateComponents"); +late final _sel_calendar = objc.registerName("calendar"); +final _objc_msgSend_771 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_setCalendar_ = objc.registerName("setCalendar:"); +final _objc_msgSend_772 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +final _objc_msgSend_773 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +final _objc_msgSend_774 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_era = objc.registerName("era"); +late final _sel_setEra_ = objc.registerName("setEra:"); +late final _sel_year = objc.registerName("year"); +late final _sel_setYear_ = objc.registerName("setYear:"); +late final _sel_month = objc.registerName("month"); +late final _sel_setMonth_ = objc.registerName("setMonth:"); +late final _sel_day = objc.registerName("day"); +late final _sel_setDay_ = objc.registerName("setDay:"); +late final _sel_hour = objc.registerName("hour"); +late final _sel_setHour_ = objc.registerName("setHour:"); +late final _sel_minute = objc.registerName("minute"); +late final _sel_setMinute_ = objc.registerName("setMinute:"); +late final _sel_second = objc.registerName("second"); +late final _sel_setSecond_ = objc.registerName("setSecond:"); +late final _sel_nanosecond = objc.registerName("nanosecond"); +late final _sel_setNanosecond_ = objc.registerName("setNanosecond:"); +late final _sel_weekday = objc.registerName("weekday"); +late final _sel_setWeekday_ = objc.registerName("setWeekday:"); +late final _sel_weekdayOrdinal = objc.registerName("weekdayOrdinal"); +late final _sel_setWeekdayOrdinal_ = objc.registerName("setWeekdayOrdinal:"); +late final _sel_quarter = objc.registerName("quarter"); +late final _sel_setQuarter_ = objc.registerName("setQuarter:"); +late final _sel_weekOfMonth = objc.registerName("weekOfMonth"); +late final _sel_setWeekOfMonth_ = objc.registerName("setWeekOfMonth:"); +late final _sel_weekOfYear = objc.registerName("weekOfYear"); +late final _sel_setWeekOfYear_ = objc.registerName("setWeekOfYear:"); +late final _sel_yearForWeekOfYear = objc.registerName("yearForWeekOfYear"); +late final _sel_setYearForWeekOfYear_ = + objc.registerName("setYearForWeekOfYear:"); +late final _sel_isLeapMonth = objc.registerName("isLeapMonth"); +late final _sel_setLeapMonth_ = objc.registerName("setLeapMonth:"); +late final _sel_week = objc.registerName("week"); +late final _sel_setWeek_ = objc.registerName("setWeek:"); +late final _sel_setValue_forComponent_ = + objc.registerName("setValue:forComponent:"); +final _objc_msgSend_775 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Long value, + ffi.Int32 unit)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, int, int)>(); +late final _sel_valueForComponent_ = objc.registerName("valueForComponent:"); +final _objc_msgSend_776 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Long Function(ffi.Pointer obj, + ffi.Pointer sel, ffi.Int32 unit)>>() + .asFunction< + int Function(ffi.Pointer, + ffi.Pointer, int)>(); +late final _sel_isValidDate = objc.registerName("isValidDate"); +late final _sel_isValidDateInCalendar_ = + objc.registerName("isValidDateInCalendar:"); +final _objc_msgSend_777 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer calendar)>>() + .asFunction< + bool Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_dateFromComponents_ = objc.registerName("dateFromComponents:"); +final _objc_msgSend_778 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer comps)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_components_fromDate_ = + objc.registerName("components:fromDate:"); +final _objc_msgSend_779 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Int32 unitFlags, + ffi.Pointer date)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer)>(); abstract class NSCalendarOptions { static const int NSCalendarWrapComponents = 1; @@ -72193,20 +38459,277 @@ abstract class NSCalendarOptions { static const int NSCalendarMatchLast = 8192; } +late final _sel_dateByAddingComponents_toDate_options_ = + objc.registerName("dateByAddingComponents:toDate:options:"); +final _objc_msgSend_780 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer comps, + ffi.Pointer date, + ffi.Int32 opts)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int)>(); +late final _sel_components_fromDate_toDate_options_ = + objc.registerName("components:fromDate:toDate:options:"); +final _objc_msgSend_781 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Int32 unitFlags, + ffi.Pointer startingDate, + ffi.Pointer resultDate, + ffi.Int32 opts)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ffi.Pointer, + int)>(); +late final _sel_getEra_year_month_day_fromDate_ = + objc.registerName("getEra:year:month:day:fromDate:"); +final _objc_msgSend_782 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer eraValuePointer, + ffi.Pointer yearValuePointer, + ffi.Pointer monthValuePointer, + ffi.Pointer dayValuePointer, + ffi.Pointer date)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_getEra_yearForWeekOfYear_weekOfYear_weekday_fromDate_ = + objc.registerName("getEra:yearForWeekOfYear:weekOfYear:weekday:fromDate:"); +late final _sel_getHour_minute_second_nanosecond_fromDate_ = + objc.registerName("getHour:minute:second:nanosecond:fromDate:"); +late final _sel_component_fromDate_ = objc.registerName("component:fromDate:"); +final _objc_msgSend_783 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Long Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Int32 unit, + ffi.Pointer date)>>() + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer)>(); +late final _sel_dateWithEra_year_month_day_hour_minute_second_nanosecond_ = objc + .registerName("dateWithEra:year:month:day:hour:minute:second:nanosecond:"); +final _objc_msgSend_784 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Long eraValue, + ffi.Long yearValue, + ffi.Long monthValue, + ffi.Long dayValue, + ffi.Long hourValue, + ffi.Long minuteValue, + ffi.Long secondValue, + ffi.Long nanosecondValue)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + int, + int, + int, + int, + int, + int, + int)>(); +late final _sel_dateWithEra_yearForWeekOfYear_weekOfYear_weekday_hour_minute_second_nanosecond_ = + objc.registerName( + "dateWithEra:yearForWeekOfYear:weekOfYear:weekday:hour:minute:second:nanosecond:"); +late final _sel_startOfDayForDate_ = objc.registerName("startOfDayForDate:"); +late final _sel_componentsInTimeZone_fromDate_ = + objc.registerName("componentsInTimeZone:fromDate:"); +final _objc_msgSend_785 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer timezone, + ffi.Pointer date)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_compareDate_toDate_toUnitGranularity_ = + objc.registerName("compareDate:toDate:toUnitGranularity:"); +final _objc_msgSend_786 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer date1, + ffi.Pointer date2, + ffi.Int32 unit)>>() + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int)>(); +late final _sel_isDate_equalToDate_toUnitGranularity_ = + objc.registerName("isDate:equalToDate:toUnitGranularity:"); +final _objc_msgSend_787 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer date1, + ffi.Pointer date2, + ffi.Int32 unit)>>() + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int)>(); +late final _sel_isDate_inSameDayAsDate_ = + objc.registerName("isDate:inSameDayAsDate:"); +final _objc_msgSend_788 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer date1, + ffi.Pointer date2)>>() + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_isDateInToday_ = objc.registerName("isDateInToday:"); +late final _sel_isDateInYesterday_ = objc.registerName("isDateInYesterday:"); +late final _sel_isDateInTomorrow_ = objc.registerName("isDateInTomorrow:"); +late final _sel_isDateInWeekend_ = objc.registerName("isDateInWeekend:"); +late final _sel_rangeOfWeekendStartDate_interval_containingDate_ = + objc.registerName("rangeOfWeekendStartDate:interval:containingDate:"); +final _objc_msgSend_789 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer> datep, + ffi.Pointer tip, + ffi.Pointer date)>>() + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_nextWeekendStartDate_interval_options_afterDate_ = + objc.registerName("nextWeekendStartDate:interval:options:afterDate:"); +final _objc_msgSend_790 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer> datep, + ffi.Pointer tip, + ffi.Int32 options, + ffi.Pointer date)>>() + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer, + int, + ffi.Pointer)>(); +late final _sel_components_fromDateComponents_toDateComponents_options_ = objc + .registerName("components:fromDateComponents:toDateComponents:options:"); +final _objc_msgSend_791 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Int32 unitFlags, + ffi.Pointer startingDateComp, + ffi.Pointer resultDateComp, + ffi.Int32 options)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ffi.Pointer, + int)>(); +late final _sel_dateByAddingUnit_value_toDate_options_ = + objc.registerName("dateByAddingUnit:value:toDate:options:"); +final _objc_msgSend_792 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Int32 unit, + ffi.Long value, + ffi.Pointer date, + ffi.Int32 options)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + int, + ffi.Pointer, + int)>(); void _ObjCBlock_ffiVoid_NSDate_bool_bool_fnPtrTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, - bool arg1, - ffi.Pointer arg2, -) => + ffi.Pointer block, + ffi.Pointer arg0, + bool arg1, + ffi.Pointer arg2) => block.ref.target .cast< ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.Bool arg1, - ffi.Pointer arg2, - )>>() + ffi.Void Function(ffi.Pointer arg0, + ffi.Bool arg1, ffi.Pointer arg2)>>() .asFunction< void Function(ffi.Pointer, bool, ffi.Pointer)>()(arg0, arg1, arg2); @@ -72214,45 +38737,33 @@ final _ObjCBlock_ffiVoid_NSDate_bool_bool_closureRegistry = , bool, ffi.Pointer)>{}; int _ObjCBlock_ffiVoid_NSDate_bool_bool_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_ffiVoid_NSDate_bool_bool_registerClosure( - void Function(ffi.Pointer, bool, ffi.Pointer) fn, -) { + void Function(ffi.Pointer, bool, ffi.Pointer) + fn) { final id = ++_ObjCBlock_ffiVoid_NSDate_bool_bool_closureRegistryIndex; _ObjCBlock_ffiVoid_NSDate_bool_bool_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } void _ObjCBlock_ffiVoid_NSDate_bool_bool_closureTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, - bool arg1, - ffi.Pointer arg2, -) => + ffi.Pointer block, + ffi.Pointer arg0, + bool arg1, + ffi.Pointer arg2) => _ObjCBlock_ffiVoid_NSDate_bool_bool_closureRegistry[ block.ref.target.address]!(arg0, arg1, arg2); class ObjCBlock_ffiVoid_NSDate_bool_bool extends objc.ObjCBlockBase { - ObjCBlock_ffiVoid_NSDate_bool_bool._( - ffi.Pointer pointer, - this._lib, { - bool retain = false, - bool release = true, - }) : super(pointer, retain: retain, release: release); - - SwiftLibrary _lib; + ObjCBlock_ffiVoid_NSDate_bool_bool._(ffi.Pointer pointer, + {bool retain = false, bool release = true}) + : super(pointer, retain: retain, release: release); /// Returns a block that wraps the given raw block pointer. static ObjCBlock_ffiVoid_NSDate_bool_bool castFromPointer( - SwiftLibrary lib, - ffi.Pointer pointer, { - bool retain = false, - bool release = false, - }) { - return ObjCBlock_ffiVoid_NSDate_bool_bool._( - pointer, - lib, - retain: retain, - release: release, - ); + ffi.Pointer pointer, + {bool retain = false, + bool release = false}) { + return ObjCBlock_ffiVoid_NSDate_bool_bool._(pointer, + retain: retain, release: release); } /// Creates a block from a C function pointer. @@ -72261,28 +38772,21 @@ class ObjCBlock_ffiVoid_NSDate_bool_bool extends objc.ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSDate_bool_bool.fromFunctionPointer( - SwiftLibrary lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.Bool arg1, - ffi.Pointer arg2, - )>> - ptr, - ) : this._( - objc.newBlock( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - ffi.Pointer, - )>(_ObjCBlock_ffiVoid_NSDate_bool_bool_fnPtrTrampoline) - .cast(), - ptr.cast(), - ), - lib); + ffi.Pointer< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer arg0, + ffi.Bool arg1, ffi.Pointer arg2)>> + ptr) + : this._(objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.Pointer)>( + _ObjCBlock_ffiVoid_NSDate_bool_bool_fnPtrTrampoline) + .cast(), + ptr.cast())); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -72291,32 +38795,20 @@ class ObjCBlock_ffiVoid_NSDate_bool_bool extends objc.ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSDate_bool_bool.fromFunction( - SwiftLibrary lib, - void Function(NSDate?, bool, ffi.Pointer) fn, - ) : this._( - objc.newBlock( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - ffi.Pointer, - )>(_ObjCBlock_ffiVoid_NSDate_bool_bool_closureTrampoline) - .cast(), - _ObjCBlock_ffiVoid_NSDate_bool_bool_registerClosure(( - ffi.Pointer arg0, - bool arg1, - ffi.Pointer arg2, - ) => - fn( - arg0.address == 0 - ? null - : NSDate._(arg0, lib, retain: true, release: true), - arg1, - arg2, - )), - ), - lib); + void Function(NSDate?, bool, ffi.Pointer) fn) + : this._(objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.Pointer)>( + _ObjCBlock_ffiVoid_NSDate_bool_bool_closureTrampoline) + .cast(), + _ObjCBlock_ffiVoid_NSDate_bool_bool_registerClosure( + (ffi.Pointer arg0, bool arg1, + ffi.Pointer arg2) => + fn(arg0.address == 0 ? null : NSDate._(arg0, retain: true, release: true), arg1, arg2)))); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -72329,1229 +38821,1073 @@ class ObjCBlock_ffiVoid_NSDate_bool_bool extends objc.ObjCBlockBase { /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. ObjCBlock_ffiVoid_NSDate_bool_bool.listener( - SwiftLibrary lib, - void Function(NSDate?, bool, ffi.Pointer) fn, - ) : this._( - objc.newBlock( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - ffi.Pointer, - )>.listener( - _ObjCBlock_ffiVoid_NSDate_bool_bool_closureTrampoline, - )..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSDate_bool_bool_registerClosure(( - ffi.Pointer arg0, - bool arg1, - ffi.Pointer arg2, - ) => - fn( - arg0.address == 0 - ? null - : NSDate._(arg0, lib, retain: true, release: true), - arg1, - arg2, - )), - ), - lib); + void Function(NSDate?, bool, ffi.Pointer) fn) + : this._(objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.Pointer)>.listener( + _ObjCBlock_ffiVoid_NSDate_bool_bool_closureTrampoline) + ..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSDate_bool_bool_registerClosure( + (ffi.Pointer arg0, bool arg1, + ffi.Pointer arg2) => + fn(arg0.address == 0 ? null : NSDate._(arg0, retain: true, release: true), arg1, arg2)))); static ffi.NativeCallable< ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - ffi.Pointer, - )>? _dartFuncListenerTrampoline; + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.Pointer)>? _dartFuncListenerTrampoline; void call(NSDate? arg0, bool arg1, ffi.Pointer arg2) => pointer.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Bool arg1, - ffi.Pointer arg2, - )>>() - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - bool, - ffi.Pointer, - )>()(pointer, arg0?.pointer ?? ffi.nullptr, arg1, arg2); -} + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Bool arg1, + ffi.Pointer arg2)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + bool, + ffi.Pointer)>()( + pointer, arg0?.pointer ?? ffi.nullptr, arg1, arg2); +} + +late final _sel_enumerateDatesStartingAfterDate_matchingComponents_options_usingBlock_ = + objc.registerName( + "enumerateDatesStartingAfterDate:matchingComponents:options:usingBlock:"); +final _objc_msgSend_793 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer start, + ffi.Pointer comps, + ffi.Int32 opts, + ffi.Pointer block)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer)>(); +late final _sel_nextDateAfterDate_matchingComponents_options_ = + objc.registerName("nextDateAfterDate:matchingComponents:options:"); +final _objc_msgSend_794 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer date, + ffi.Pointer comps, + ffi.Int32 options)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int)>(); +late final _sel_nextDateAfterDate_matchingUnit_value_options_ = + objc.registerName("nextDateAfterDate:matchingUnit:value:options:"); +final _objc_msgSend_795 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer date, + ffi.Int32 unit, + ffi.Long value, + ffi.Int32 options)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + int, + int)>(); +late final _sel_nextDateAfterDate_matchingHour_minute_second_options_ = + objc.registerName("nextDateAfterDate:matchingHour:minute:second:options:"); +final _objc_msgSend_796 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer date, + ffi.Long hourValue, + ffi.Long minuteValue, + ffi.Long secondValue, + ffi.Int32 options)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + int, + int, + int)>(); +late final _sel_dateBySettingUnit_value_ofDate_options_ = + objc.registerName("dateBySettingUnit:value:ofDate:options:"); +late final _sel_dateBySettingHour_minute_second_ofDate_options_ = + objc.registerName("dateBySettingHour:minute:second:ofDate:options:"); +final _objc_msgSend_797 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Long h, + ffi.Long m, + ffi.Long s, + ffi.Pointer date, + ffi.Int32 opts)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + int, + int, + ffi.Pointer, + int)>(); +late final _sel_date_matchesComponents_ = + objc.registerName("date:matchesComponents:"); +final _objc_msgSend_798 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer date, + ffi.Pointer components)>>() + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +final _objc_msgSend_799 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_isLenient = objc.registerName("isLenient"); +late final _sel_setLenient_ = objc.registerName("setLenient:"); +late final _sel_twoDigitStartDate = objc.registerName("twoDigitStartDate"); +late final _sel_setTwoDigitStartDate_ = + objc.registerName("setTwoDigitStartDate:"); +final _objc_msgSend_800 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_defaultDate = objc.registerName("defaultDate"); +late final _sel_setDefaultDate_ = objc.registerName("setDefaultDate:"); +late final _sel_setEraSymbols_ = objc.registerName("setEraSymbols:"); +final _objc_msgSend_801 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_setMonthSymbols_ = objc.registerName("setMonthSymbols:"); +late final _sel_setShortMonthSymbols_ = + objc.registerName("setShortMonthSymbols:"); +late final _sel_setWeekdaySymbols_ = objc.registerName("setWeekdaySymbols:"); +late final _sel_setShortWeekdaySymbols_ = + objc.registerName("setShortWeekdaySymbols:"); +late final _sel_setAMSymbol_ = objc.registerName("setAMSymbol:"); +late final _sel_setPMSymbol_ = objc.registerName("setPMSymbol:"); +late final _sel_setLongEraSymbols_ = objc.registerName("setLongEraSymbols:"); +late final _sel_setVeryShortMonthSymbols_ = + objc.registerName("setVeryShortMonthSymbols:"); +late final _sel_setStandaloneMonthSymbols_ = + objc.registerName("setStandaloneMonthSymbols:"); +late final _sel_setShortStandaloneMonthSymbols_ = + objc.registerName("setShortStandaloneMonthSymbols:"); +late final _sel_setVeryShortStandaloneMonthSymbols_ = + objc.registerName("setVeryShortStandaloneMonthSymbols:"); +late final _sel_setVeryShortWeekdaySymbols_ = + objc.registerName("setVeryShortWeekdaySymbols:"); +late final _sel_setStandaloneWeekdaySymbols_ = + objc.registerName("setStandaloneWeekdaySymbols:"); +late final _sel_setShortStandaloneWeekdaySymbols_ = + objc.registerName("setShortStandaloneWeekdaySymbols:"); +late final _sel_setVeryShortStandaloneWeekdaySymbols_ = + objc.registerName("setVeryShortStandaloneWeekdaySymbols:"); +late final _sel_setQuarterSymbols_ = objc.registerName("setQuarterSymbols:"); +late final _sel_setShortQuarterSymbols_ = + objc.registerName("setShortQuarterSymbols:"); +late final _sel_setStandaloneQuarterSymbols_ = + objc.registerName("setStandaloneQuarterSymbols:"); +late final _sel_setShortStandaloneQuarterSymbols_ = + objc.registerName("setShortStandaloneQuarterSymbols:"); +late final _sel_gregorianStartDate = objc.registerName("gregorianStartDate"); +late final _sel_setGregorianStartDate_ = + objc.registerName("setGregorianStartDate:"); +late final _sel_doesRelativeDateFormatting = + objc.registerName("doesRelativeDateFormatting"); +late final _sel_setDoesRelativeDateFormatting_ = + objc.registerName("setDoesRelativeDateFormatting:"); +late final _sel_initWithDateFormat_allowNaturalLanguage_ = + objc.registerName("initWithDateFormat:allowNaturalLanguage:"); +late final _sel_allowsNaturalLanguage = + objc.registerName("allowsNaturalLanguage"); class NSNumberFormatter extends NSFormatter { - NSNumberFormatter._( - ffi.Pointer pointer, - SwiftLibrary lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSNumberFormatter._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSNumberFormatter] that points to the same underlying object as [other]. - static NSNumberFormatter castFrom( - SwiftLibrary lib, - T other, - ) { - return NSNumberFormatter._(other.pointer, lib, retain: true, release: true); + static NSNumberFormatter castFrom(T other) { + return NSNumberFormatter._(other.pointer, retain: true, release: true); } /// Returns a [NSNumberFormatter] that wraps the given raw object pointer. - static NSNumberFormatter castFromPointer( - SwiftLibrary lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSNumberFormatter._(other, lib, retain: retain, release: release); + static NSNumberFormatter castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSNumberFormatter._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSNumberFormatter]. - static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSNumberFormatter1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0( + obj.pointer, _sel_isKindOfClass_, _class_NSNumberFormatter); } int get formattingContext { - return _lib._objc_msgSend_752(this.pointer, _lib._sel_formattingContext1); + return _objc_msgSend_752(this.pointer, _sel_formattingContext); } set formattingContext(int value) { - return _lib._objc_msgSend_753( - this.pointer, - _lib._sel_setFormattingContext_1, - value, - ); + return _objc_msgSend_753(this.pointer, _sel_setFormattingContext_, value); } bool getObjectValue_forString_range_error_( - ffi.Pointer> obj, - NSString string, - ffi.Pointer<_NSRange> rangep, - ffi.Pointer> error, - ) { - return _lib._objc_msgSend_754( - this.pointer, - _lib._sel_getObjectValue_forString_range_error_1, - obj, - string.pointer, - rangep, - error, - ); + ffi.Pointer> obj, + NSString string, + ffi.Pointer<_NSRange> rangep, + ffi.Pointer> error) { + return _objc_msgSend_754( + this.pointer, + _sel_getObjectValue_forString_range_error_, + obj, + string.pointer, + rangep, + error); } NSString? stringFromNumber_(NSNumber number) { - final _ret = _lib._objc_msgSend_802( - this.pointer, - _lib._sel_stringFromNumber_1, - number.pointer, - ); + final _ret = + _objc_msgSend_802(this.pointer, _sel_stringFromNumber_, number.pointer); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } NSNumber? numberFromString_(NSString string) { - final _ret = _lib._objc_msgSend_803( - this.pointer, - _lib._sel_numberFromString_1, - string.pointer, - ); + final _ret = + _objc_msgSend_803(this.pointer, _sel_numberFromString_, string.pointer); return _ret.address == 0 ? null - : NSNumber._(_ret, _lib, retain: true, release: true); + : NSNumber._(_ret, retain: true, release: true); } static NSString localizedStringFromNumber_numberStyle_( - SwiftLibrary _lib, - NSNumber num, - int nstyle, - ) { - final _ret = _lib._objc_msgSend_804( - _lib._class_NSNumberFormatter1, - _lib._sel_localizedStringFromNumber_numberStyle_1, - num.pointer, - nstyle, - ); - return NSString._(_ret, _lib, retain: true, release: true); - } - - static int defaultFormatterBehavior(SwiftLibrary _lib) { - return _lib._objc_msgSend_805( - _lib._class_NSNumberFormatter1, - _lib._sel_defaultFormatterBehavior1, - ); - } - - static void setDefaultFormatterBehavior_(SwiftLibrary _lib, int behavior) { - _lib._objc_msgSend_806( - _lib._class_NSNumberFormatter1, - _lib._sel_setDefaultFormatterBehavior_1, - behavior, - ); + NSNumber num, int nstyle) { + final _ret = _objc_msgSend_804(_class_NSNumberFormatter, + _sel_localizedStringFromNumber_numberStyle_, num.pointer, nstyle); + return NSString._(_ret, retain: true, release: true); + } + + static int defaultFormatterBehavior() { + return _objc_msgSend_805( + _class_NSNumberFormatter, _sel_defaultFormatterBehavior); + } + + static void setDefaultFormatterBehavior_(int behavior) { + _objc_msgSend_806( + _class_NSNumberFormatter, _sel_setDefaultFormatterBehavior_, behavior); } int get numberStyle { - return _lib._objc_msgSend_807(this.pointer, _lib._sel_numberStyle1); + return _objc_msgSend_807(this.pointer, _sel_numberStyle); } set numberStyle(int value) { - return _lib._objc_msgSend_808( - this.pointer, - _lib._sel_setNumberStyle_1, - value, - ); + return _objc_msgSend_808(this.pointer, _sel_setNumberStyle_, value); } NSLocale get locale { - final _ret = _lib._objc_msgSend_197(this.pointer, _lib._sel_locale1); - return NSLocale._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_197(this.pointer, _sel_locale); + return NSLocale._(_ret, retain: true, release: true); } set locale(NSLocale value) { - return _lib._objc_msgSend_762( - this.pointer, - _lib._sel_setLocale_1, - value.pointer, - ); + return _objc_msgSend_762(this.pointer, _sel_setLocale_, value.pointer); } bool get generatesDecimalNumbers { - return _lib._objc_msgSend_12( - this.pointer, - _lib._sel_generatesDecimalNumbers1, - ); + return _objc_msgSend_12(this.pointer, _sel_generatesDecimalNumbers); } set generatesDecimalNumbers(bool value) { - return _lib._objc_msgSend_527( - this.pointer, - _lib._sel_setGeneratesDecimalNumbers_1, - value, - ); + return _objc_msgSend_527( + this.pointer, _sel_setGeneratesDecimalNumbers_, value); } int get formatterBehavior { - return _lib._objc_msgSend_805(this.pointer, _lib._sel_formatterBehavior1); + return _objc_msgSend_805(this.pointer, _sel_formatterBehavior); } set formatterBehavior(int value) { - return _lib._objc_msgSend_809( - this.pointer, - _lib._sel_setFormatterBehavior_1, - value, - ); + return _objc_msgSend_809(this.pointer, _sel_setFormatterBehavior_, value); } NSString get negativeFormat { - final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_negativeFormat1); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_negativeFormat); + return NSString._(_ret, retain: true, release: true); } set negativeFormat(NSString value) { - return _lib._objc_msgSend_646( - this.pointer, - _lib._sel_setNegativeFormat_1, - value.pointer, - ); + return _objc_msgSend_646( + this.pointer, _sel_setNegativeFormat_, value.pointer); } NSDictionary? get textAttributesForNegativeValues { - final _ret = _lib._objc_msgSend_390( - this.pointer, - _lib._sel_textAttributesForNegativeValues1, - ); + final _ret = + _objc_msgSend_390(this.pointer, _sel_textAttributesForNegativeValues); return _ret.address == 0 ? null - : NSDictionary._(_ret, _lib, retain: true, release: true); + : NSDictionary._(_ret, retain: true, release: true); } set textAttributesForNegativeValues(NSDictionary? value) { - return _lib._objc_msgSend_634( - this.pointer, - _lib._sel_setTextAttributesForNegativeValues_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_634( + this.pointer, + _sel_setTextAttributesForNegativeValues_, + value?.pointer ?? ffi.nullptr); } NSString get positiveFormat { - final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_positiveFormat1); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_positiveFormat); + return NSString._(_ret, retain: true, release: true); } set positiveFormat(NSString value) { - return _lib._objc_msgSend_646( - this.pointer, - _lib._sel_setPositiveFormat_1, - value.pointer, - ); + return _objc_msgSend_646( + this.pointer, _sel_setPositiveFormat_, value.pointer); } NSDictionary? get textAttributesForPositiveValues { - final _ret = _lib._objc_msgSend_390( - this.pointer, - _lib._sel_textAttributesForPositiveValues1, - ); + final _ret = + _objc_msgSend_390(this.pointer, _sel_textAttributesForPositiveValues); return _ret.address == 0 ? null - : NSDictionary._(_ret, _lib, retain: true, release: true); + : NSDictionary._(_ret, retain: true, release: true); } set textAttributesForPositiveValues(NSDictionary? value) { - return _lib._objc_msgSend_634( - this.pointer, - _lib._sel_setTextAttributesForPositiveValues_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_634( + this.pointer, + _sel_setTextAttributesForPositiveValues_, + value?.pointer ?? ffi.nullptr); } bool get allowsFloats { - return _lib._objc_msgSend_12(this.pointer, _lib._sel_allowsFloats1); + return _objc_msgSend_12(this.pointer, _sel_allowsFloats); } set allowsFloats(bool value) { - return _lib._objc_msgSend_527( - this.pointer, - _lib._sel_setAllowsFloats_1, - value, - ); + return _objc_msgSend_527(this.pointer, _sel_setAllowsFloats_, value); } NSString get decimalSeparator { - final _ret = _lib._objc_msgSend_21( - this.pointer, - _lib._sel_decimalSeparator1, - ); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_decimalSeparator); + return NSString._(_ret, retain: true, release: true); } set decimalSeparator(NSString value) { - return _lib._objc_msgSend_646( - this.pointer, - _lib._sel_setDecimalSeparator_1, - value.pointer, - ); + return _objc_msgSend_646( + this.pointer, _sel_setDecimalSeparator_, value.pointer); } bool get alwaysShowsDecimalSeparator { - return _lib._objc_msgSend_12( - this.pointer, - _lib._sel_alwaysShowsDecimalSeparator1, - ); + return _objc_msgSend_12(this.pointer, _sel_alwaysShowsDecimalSeparator); } set alwaysShowsDecimalSeparator(bool value) { - return _lib._objc_msgSend_527( - this.pointer, - _lib._sel_setAlwaysShowsDecimalSeparator_1, - value, - ); + return _objc_msgSend_527( + this.pointer, _sel_setAlwaysShowsDecimalSeparator_, value); } NSString get currencyDecimalSeparator { - final _ret = _lib._objc_msgSend_21( - this.pointer, - _lib._sel_currencyDecimalSeparator1, - ); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_currencyDecimalSeparator); + return NSString._(_ret, retain: true, release: true); } set currencyDecimalSeparator(NSString value) { - return _lib._objc_msgSend_646( - this.pointer, - _lib._sel_setCurrencyDecimalSeparator_1, - value.pointer, - ); + return _objc_msgSend_646( + this.pointer, _sel_setCurrencyDecimalSeparator_, value.pointer); } bool get usesGroupingSeparator { - return _lib._objc_msgSend_12( - this.pointer, - _lib._sel_usesGroupingSeparator1, - ); + return _objc_msgSend_12(this.pointer, _sel_usesGroupingSeparator); } set usesGroupingSeparator(bool value) { - return _lib._objc_msgSend_527( - this.pointer, - _lib._sel_setUsesGroupingSeparator_1, - value, - ); + return _objc_msgSend_527( + this.pointer, _sel_setUsesGroupingSeparator_, value); } NSString get groupingSeparator { - final _ret = _lib._objc_msgSend_21( - this.pointer, - _lib._sel_groupingSeparator1, - ); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_groupingSeparator); + return NSString._(_ret, retain: true, release: true); } set groupingSeparator(NSString value) { - return _lib._objc_msgSend_646( - this.pointer, - _lib._sel_setGroupingSeparator_1, - value.pointer, - ); + return _objc_msgSend_646( + this.pointer, _sel_setGroupingSeparator_, value.pointer); } NSString? get zeroSymbol { - final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_zeroSymbol1); + final _ret = _objc_msgSend_44(this.pointer, _sel_zeroSymbol); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } set zeroSymbol(NSString? value) { - return _lib._objc_msgSend_545( - this.pointer, - _lib._sel_setZeroSymbol_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_545( + this.pointer, _sel_setZeroSymbol_, value?.pointer ?? ffi.nullptr); } NSDictionary? get textAttributesForZero { - final _ret = _lib._objc_msgSend_390( - this.pointer, - _lib._sel_textAttributesForZero1, - ); + final _ret = _objc_msgSend_390(this.pointer, _sel_textAttributesForZero); return _ret.address == 0 ? null - : NSDictionary._(_ret, _lib, retain: true, release: true); + : NSDictionary._(_ret, retain: true, release: true); } set textAttributesForZero(NSDictionary? value) { - return _lib._objc_msgSend_634( - this.pointer, - _lib._sel_setTextAttributesForZero_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_634(this.pointer, _sel_setTextAttributesForZero_, + value?.pointer ?? ffi.nullptr); } NSString get nilSymbol { - final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_nilSymbol1); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_nilSymbol); + return NSString._(_ret, retain: true, release: true); } set nilSymbol(NSString value) { - return _lib._objc_msgSend_646( - this.pointer, - _lib._sel_setNilSymbol_1, - value.pointer, - ); + return _objc_msgSend_646(this.pointer, _sel_setNilSymbol_, value.pointer); } NSDictionary? get textAttributesForNil { - final _ret = _lib._objc_msgSend_390( - this.pointer, - _lib._sel_textAttributesForNil1, - ); + final _ret = _objc_msgSend_390(this.pointer, _sel_textAttributesForNil); return _ret.address == 0 ? null - : NSDictionary._(_ret, _lib, retain: true, release: true); + : NSDictionary._(_ret, retain: true, release: true); } set textAttributesForNil(NSDictionary? value) { - return _lib._objc_msgSend_634( - this.pointer, - _lib._sel_setTextAttributesForNil_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_634(this.pointer, _sel_setTextAttributesForNil_, + value?.pointer ?? ffi.nullptr); } NSString get notANumberSymbol { - final _ret = _lib._objc_msgSend_21( - this.pointer, - _lib._sel_notANumberSymbol1, - ); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_notANumberSymbol); + return NSString._(_ret, retain: true, release: true); } set notANumberSymbol(NSString value) { - return _lib._objc_msgSend_646( - this.pointer, - _lib._sel_setNotANumberSymbol_1, - value.pointer, - ); + return _objc_msgSend_646( + this.pointer, _sel_setNotANumberSymbol_, value.pointer); } NSDictionary? get textAttributesForNotANumber { - final _ret = _lib._objc_msgSend_390( - this.pointer, - _lib._sel_textAttributesForNotANumber1, - ); + final _ret = + _objc_msgSend_390(this.pointer, _sel_textAttributesForNotANumber); return _ret.address == 0 ? null - : NSDictionary._(_ret, _lib, retain: true, release: true); + : NSDictionary._(_ret, retain: true, release: true); } set textAttributesForNotANumber(NSDictionary? value) { - return _lib._objc_msgSend_634( - this.pointer, - _lib._sel_setTextAttributesForNotANumber_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_634(this.pointer, _sel_setTextAttributesForNotANumber_, + value?.pointer ?? ffi.nullptr); } NSString get positiveInfinitySymbol { - final _ret = _lib._objc_msgSend_21( - this.pointer, - _lib._sel_positiveInfinitySymbol1, - ); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_positiveInfinitySymbol); + return NSString._(_ret, retain: true, release: true); } set positiveInfinitySymbol(NSString value) { - return _lib._objc_msgSend_646( - this.pointer, - _lib._sel_setPositiveInfinitySymbol_1, - value.pointer, - ); + return _objc_msgSend_646( + this.pointer, _sel_setPositiveInfinitySymbol_, value.pointer); } NSDictionary? get textAttributesForPositiveInfinity { - final _ret = _lib._objc_msgSend_390( - this.pointer, - _lib._sel_textAttributesForPositiveInfinity1, - ); + final _ret = + _objc_msgSend_390(this.pointer, _sel_textAttributesForPositiveInfinity); return _ret.address == 0 ? null - : NSDictionary._(_ret, _lib, retain: true, release: true); + : NSDictionary._(_ret, retain: true, release: true); } set textAttributesForPositiveInfinity(NSDictionary? value) { - return _lib._objc_msgSend_634( - this.pointer, - _lib._sel_setTextAttributesForPositiveInfinity_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_634( + this.pointer, + _sel_setTextAttributesForPositiveInfinity_, + value?.pointer ?? ffi.nullptr); } NSString get negativeInfinitySymbol { - final _ret = _lib._objc_msgSend_21( - this.pointer, - _lib._sel_negativeInfinitySymbol1, - ); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_negativeInfinitySymbol); + return NSString._(_ret, retain: true, release: true); } set negativeInfinitySymbol(NSString value) { - return _lib._objc_msgSend_646( - this.pointer, - _lib._sel_setNegativeInfinitySymbol_1, - value.pointer, - ); + return _objc_msgSend_646( + this.pointer, _sel_setNegativeInfinitySymbol_, value.pointer); } NSDictionary? get textAttributesForNegativeInfinity { - final _ret = _lib._objc_msgSend_390( - this.pointer, - _lib._sel_textAttributesForNegativeInfinity1, - ); + final _ret = + _objc_msgSend_390(this.pointer, _sel_textAttributesForNegativeInfinity); return _ret.address == 0 ? null - : NSDictionary._(_ret, _lib, retain: true, release: true); + : NSDictionary._(_ret, retain: true, release: true); } set textAttributesForNegativeInfinity(NSDictionary? value) { - return _lib._objc_msgSend_634( - this.pointer, - _lib._sel_setTextAttributesForNegativeInfinity_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_634( + this.pointer, + _sel_setTextAttributesForNegativeInfinity_, + value?.pointer ?? ffi.nullptr); } NSString get positivePrefix { - final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_positivePrefix1); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_positivePrefix); + return NSString._(_ret, retain: true, release: true); } set positivePrefix(NSString value) { - return _lib._objc_msgSend_646( - this.pointer, - _lib._sel_setPositivePrefix_1, - value.pointer, - ); + return _objc_msgSend_646( + this.pointer, _sel_setPositivePrefix_, value.pointer); } NSString get positiveSuffix { - final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_positiveSuffix1); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_positiveSuffix); + return NSString._(_ret, retain: true, release: true); } set positiveSuffix(NSString value) { - return _lib._objc_msgSend_646( - this.pointer, - _lib._sel_setPositiveSuffix_1, - value.pointer, - ); + return _objc_msgSend_646( + this.pointer, _sel_setPositiveSuffix_, value.pointer); } NSString get negativePrefix { - final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_negativePrefix1); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_negativePrefix); + return NSString._(_ret, retain: true, release: true); } set negativePrefix(NSString value) { - return _lib._objc_msgSend_646( - this.pointer, - _lib._sel_setNegativePrefix_1, - value.pointer, - ); + return _objc_msgSend_646( + this.pointer, _sel_setNegativePrefix_, value.pointer); } NSString get negativeSuffix { - final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_negativeSuffix1); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_negativeSuffix); + return NSString._(_ret, retain: true, release: true); } set negativeSuffix(NSString value) { - return _lib._objc_msgSend_646( - this.pointer, - _lib._sel_setNegativeSuffix_1, - value.pointer, - ); + return _objc_msgSend_646( + this.pointer, _sel_setNegativeSuffix_, value.pointer); } NSString get currencyCode { - final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_currencyCode1); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_currencyCode); + return NSString._(_ret, retain: true, release: true); } set currencyCode(NSString value) { - return _lib._objc_msgSend_646( - this.pointer, - _lib._sel_setCurrencyCode_1, - value.pointer, - ); + return _objc_msgSend_646( + this.pointer, _sel_setCurrencyCode_, value.pointer); } NSString get currencySymbol { - final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_currencySymbol1); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_currencySymbol); + return NSString._(_ret, retain: true, release: true); } set currencySymbol(NSString value) { - return _lib._objc_msgSend_646( - this.pointer, - _lib._sel_setCurrencySymbol_1, - value.pointer, - ); + return _objc_msgSend_646( + this.pointer, _sel_setCurrencySymbol_, value.pointer); } NSString get internationalCurrencySymbol { - final _ret = _lib._objc_msgSend_21( - this.pointer, - _lib._sel_internationalCurrencySymbol1, - ); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_21(this.pointer, _sel_internationalCurrencySymbol); + return NSString._(_ret, retain: true, release: true); } set internationalCurrencySymbol(NSString value) { - return _lib._objc_msgSend_646( - this.pointer, - _lib._sel_setInternationalCurrencySymbol_1, - value.pointer, - ); + return _objc_msgSend_646( + this.pointer, _sel_setInternationalCurrencySymbol_, value.pointer); } NSString get percentSymbol { - final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_percentSymbol1); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_percentSymbol); + return NSString._(_ret, retain: true, release: true); } set percentSymbol(NSString value) { - return _lib._objc_msgSend_646( - this.pointer, - _lib._sel_setPercentSymbol_1, - value.pointer, - ); + return _objc_msgSend_646( + this.pointer, _sel_setPercentSymbol_, value.pointer); } NSString get perMillSymbol { - final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_perMillSymbol1); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_perMillSymbol); + return NSString._(_ret, retain: true, release: true); } set perMillSymbol(NSString value) { - return _lib._objc_msgSend_646( - this.pointer, - _lib._sel_setPerMillSymbol_1, - value.pointer, - ); + return _objc_msgSend_646( + this.pointer, _sel_setPerMillSymbol_, value.pointer); } NSString get minusSign { - final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_minusSign1); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_minusSign); + return NSString._(_ret, retain: true, release: true); } set minusSign(NSString value) { - return _lib._objc_msgSend_646( - this.pointer, - _lib._sel_setMinusSign_1, - value.pointer, - ); + return _objc_msgSend_646(this.pointer, _sel_setMinusSign_, value.pointer); } NSString get plusSign { - final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_plusSign1); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_plusSign); + return NSString._(_ret, retain: true, release: true); } set plusSign(NSString value) { - return _lib._objc_msgSend_646( - this.pointer, - _lib._sel_setPlusSign_1, - value.pointer, - ); + return _objc_msgSend_646(this.pointer, _sel_setPlusSign_, value.pointer); } NSString get exponentSymbol { - final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_exponentSymbol1); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_exponentSymbol); + return NSString._(_ret, retain: true, release: true); } set exponentSymbol(NSString value) { - return _lib._objc_msgSend_646( - this.pointer, - _lib._sel_setExponentSymbol_1, - value.pointer, - ); + return _objc_msgSend_646( + this.pointer, _sel_setExponentSymbol_, value.pointer); } int get groupingSize { - return _lib._objc_msgSend_10(this.pointer, _lib._sel_groupingSize1); + return _objc_msgSend_10(this.pointer, _sel_groupingSize); } set groupingSize(int value) { - return _lib._objc_msgSend_516( - this.pointer, - _lib._sel_setGroupingSize_1, - value, - ); + return _objc_msgSend_516(this.pointer, _sel_setGroupingSize_, value); } int get secondaryGroupingSize { - return _lib._objc_msgSend_10( - this.pointer, - _lib._sel_secondaryGroupingSize1, - ); + return _objc_msgSend_10(this.pointer, _sel_secondaryGroupingSize); } set secondaryGroupingSize(int value) { - return _lib._objc_msgSend_516( - this.pointer, - _lib._sel_setSecondaryGroupingSize_1, - value, - ); + return _objc_msgSend_516( + this.pointer, _sel_setSecondaryGroupingSize_, value); } NSNumber? get multiplier { - final _ret = _lib._objc_msgSend_215(this.pointer, _lib._sel_multiplier1); + final _ret = _objc_msgSend_215(this.pointer, _sel_multiplier); return _ret.address == 0 ? null - : NSNumber._(_ret, _lib, retain: true, release: true); + : NSNumber._(_ret, retain: true, release: true); } set multiplier(NSNumber? value) { - return _lib._objc_msgSend_670( - this.pointer, - _lib._sel_setMultiplier_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_670( + this.pointer, _sel_setMultiplier_, value?.pointer ?? ffi.nullptr); } int get formatWidth { - return _lib._objc_msgSend_10(this.pointer, _lib._sel_formatWidth1); + return _objc_msgSend_10(this.pointer, _sel_formatWidth); } set formatWidth(int value) { - return _lib._objc_msgSend_516( - this.pointer, - _lib._sel_setFormatWidth_1, - value, - ); + return _objc_msgSend_516(this.pointer, _sel_setFormatWidth_, value); } NSString get paddingCharacter { - final _ret = _lib._objc_msgSend_21( - this.pointer, - _lib._sel_paddingCharacter1, - ); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_paddingCharacter); + return NSString._(_ret, retain: true, release: true); } set paddingCharacter(NSString value) { - return _lib._objc_msgSend_646( - this.pointer, - _lib._sel_setPaddingCharacter_1, - value.pointer, - ); + return _objc_msgSend_646( + this.pointer, _sel_setPaddingCharacter_, value.pointer); } int get paddingPosition { - return _lib._objc_msgSend_810(this.pointer, _lib._sel_paddingPosition1); + return _objc_msgSend_810(this.pointer, _sel_paddingPosition); } set paddingPosition(int value) { - return _lib._objc_msgSend_811( - this.pointer, - _lib._sel_setPaddingPosition_1, - value, - ); + return _objc_msgSend_811(this.pointer, _sel_setPaddingPosition_, value); } int get roundingMode { - return _lib._objc_msgSend_812(this.pointer, _lib._sel_roundingMode1); + return _objc_msgSend_812(this.pointer, _sel_roundingMode); } set roundingMode(int value) { - return _lib._objc_msgSend_813( - this.pointer, - _lib._sel_setRoundingMode_1, - value, - ); + return _objc_msgSend_813(this.pointer, _sel_setRoundingMode_, value); } NSNumber get roundingIncrement { - final _ret = _lib._objc_msgSend_814( - this.pointer, - _lib._sel_roundingIncrement1, - ); - return NSNumber._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_814(this.pointer, _sel_roundingIncrement); + return NSNumber._(_ret, retain: true, release: true); } set roundingIncrement(NSNumber value) { - return _lib._objc_msgSend_815( - this.pointer, - _lib._sel_setRoundingIncrement_1, - value.pointer, - ); + return _objc_msgSend_815( + this.pointer, _sel_setRoundingIncrement_, value.pointer); } int get minimumIntegerDigits { - return _lib._objc_msgSend_10(this.pointer, _lib._sel_minimumIntegerDigits1); + return _objc_msgSend_10(this.pointer, _sel_minimumIntegerDigits); } set minimumIntegerDigits(int value) { - return _lib._objc_msgSend_516( - this.pointer, - _lib._sel_setMinimumIntegerDigits_1, - value, - ); + return _objc_msgSend_516( + this.pointer, _sel_setMinimumIntegerDigits_, value); } int get maximumIntegerDigits { - return _lib._objc_msgSend_10(this.pointer, _lib._sel_maximumIntegerDigits1); + return _objc_msgSend_10(this.pointer, _sel_maximumIntegerDigits); } set maximumIntegerDigits(int value) { - return _lib._objc_msgSend_516( - this.pointer, - _lib._sel_setMaximumIntegerDigits_1, - value, - ); + return _objc_msgSend_516( + this.pointer, _sel_setMaximumIntegerDigits_, value); } int get minimumFractionDigits { - return _lib._objc_msgSend_10( - this.pointer, - _lib._sel_minimumFractionDigits1, - ); + return _objc_msgSend_10(this.pointer, _sel_minimumFractionDigits); } set minimumFractionDigits(int value) { - return _lib._objc_msgSend_516( - this.pointer, - _lib._sel_setMinimumFractionDigits_1, - value, - ); + return _objc_msgSend_516( + this.pointer, _sel_setMinimumFractionDigits_, value); } int get maximumFractionDigits { - return _lib._objc_msgSend_10( - this.pointer, - _lib._sel_maximumFractionDigits1, - ); + return _objc_msgSend_10(this.pointer, _sel_maximumFractionDigits); } set maximumFractionDigits(int value) { - return _lib._objc_msgSend_516( - this.pointer, - _lib._sel_setMaximumFractionDigits_1, - value, - ); + return _objc_msgSend_516( + this.pointer, _sel_setMaximumFractionDigits_, value); } NSNumber? get minimum { - final _ret = _lib._objc_msgSend_215(this.pointer, _lib._sel_minimum1); + final _ret = _objc_msgSend_215(this.pointer, _sel_minimum); return _ret.address == 0 ? null - : NSNumber._(_ret, _lib, retain: true, release: true); + : NSNumber._(_ret, retain: true, release: true); } set minimum(NSNumber? value) { - return _lib._objc_msgSend_670( - this.pointer, - _lib._sel_setMinimum_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_670( + this.pointer, _sel_setMinimum_, value?.pointer ?? ffi.nullptr); } NSNumber? get maximum { - final _ret = _lib._objc_msgSend_215(this.pointer, _lib._sel_maximum1); + final _ret = _objc_msgSend_215(this.pointer, _sel_maximum); return _ret.address == 0 ? null - : NSNumber._(_ret, _lib, retain: true, release: true); + : NSNumber._(_ret, retain: true, release: true); } set maximum(NSNumber? value) { - return _lib._objc_msgSend_670( - this.pointer, - _lib._sel_setMaximum_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_670( + this.pointer, _sel_setMaximum_, value?.pointer ?? ffi.nullptr); } NSString get currencyGroupingSeparator { - final _ret = _lib._objc_msgSend_21( - this.pointer, - _lib._sel_currencyGroupingSeparator1, - ); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_currencyGroupingSeparator); + return NSString._(_ret, retain: true, release: true); } set currencyGroupingSeparator(NSString value) { - return _lib._objc_msgSend_646( - this.pointer, - _lib._sel_setCurrencyGroupingSeparator_1, - value.pointer, - ); + return _objc_msgSend_646( + this.pointer, _sel_setCurrencyGroupingSeparator_, value.pointer); } bool get lenient { - return _lib._objc_msgSend_12(this.pointer, _lib._sel_isLenient1); + return _objc_msgSend_12(this.pointer, _sel_isLenient); } set lenient(bool value) { - return _lib._objc_msgSend_527(this.pointer, _lib._sel_setLenient_1, value); + return _objc_msgSend_527(this.pointer, _sel_setLenient_, value); } bool get usesSignificantDigits { - return _lib._objc_msgSend_12( - this.pointer, - _lib._sel_usesSignificantDigits1, - ); + return _objc_msgSend_12(this.pointer, _sel_usesSignificantDigits); } set usesSignificantDigits(bool value) { - return _lib._objc_msgSend_527( - this.pointer, - _lib._sel_setUsesSignificantDigits_1, - value, - ); + return _objc_msgSend_527( + this.pointer, _sel_setUsesSignificantDigits_, value); } int get minimumSignificantDigits { - return _lib._objc_msgSend_10( - this.pointer, - _lib._sel_minimumSignificantDigits1, - ); + return _objc_msgSend_10(this.pointer, _sel_minimumSignificantDigits); } set minimumSignificantDigits(int value) { - return _lib._objc_msgSend_516( - this.pointer, - _lib._sel_setMinimumSignificantDigits_1, - value, - ); + return _objc_msgSend_516( + this.pointer, _sel_setMinimumSignificantDigits_, value); } int get maximumSignificantDigits { - return _lib._objc_msgSend_10( - this.pointer, - _lib._sel_maximumSignificantDigits1, - ); + return _objc_msgSend_10(this.pointer, _sel_maximumSignificantDigits); } set maximumSignificantDigits(int value) { - return _lib._objc_msgSend_516( - this.pointer, - _lib._sel_setMaximumSignificantDigits_1, - value, - ); + return _objc_msgSend_516( + this.pointer, _sel_setMaximumSignificantDigits_, value); } bool get partialStringValidationEnabled { - return _lib._objc_msgSend_12( - this.pointer, - _lib._sel_isPartialStringValidationEnabled1, - ); + return _objc_msgSend_12( + this.pointer, _sel_isPartialStringValidationEnabled); } set partialStringValidationEnabled(bool value) { - return _lib._objc_msgSend_527( - this.pointer, - _lib._sel_setPartialStringValidationEnabled_1, - value, - ); + return _objc_msgSend_527( + this.pointer, _sel_setPartialStringValidationEnabled_, value); } bool get hasThousandSeparators { - return _lib._objc_msgSend_12( - this.pointer, - _lib._sel_hasThousandSeparators1, - ); + return _objc_msgSend_12(this.pointer, _sel_hasThousandSeparators); } set hasThousandSeparators(bool value) { - return _lib._objc_msgSend_527( - this.pointer, - _lib._sel_setHasThousandSeparators_1, - value, - ); + return _objc_msgSend_527( + this.pointer, _sel_setHasThousandSeparators_, value); } NSString get thousandSeparator { - final _ret = _lib._objc_msgSend_21( - this.pointer, - _lib._sel_thousandSeparator1, - ); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_thousandSeparator); + return NSString._(_ret, retain: true, release: true); } set thousandSeparator(NSString value) { - return _lib._objc_msgSend_646( - this.pointer, - _lib._sel_setThousandSeparator_1, - value.pointer, - ); + return _objc_msgSend_646( + this.pointer, _sel_setThousandSeparator_, value.pointer); } bool get localizesFormat { - return _lib._objc_msgSend_12(this.pointer, _lib._sel_localizesFormat1); + return _objc_msgSend_12(this.pointer, _sel_localizesFormat); } set localizesFormat(bool value) { - return _lib._objc_msgSend_527( - this.pointer, - _lib._sel_setLocalizesFormat_1, - value, - ); + return _objc_msgSend_527(this.pointer, _sel_setLocalizesFormat_, value); } NSString get format { - final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_format1); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_format); + return NSString._(_ret, retain: true, release: true); } set format(NSString value) { - return _lib._objc_msgSend_646( - this.pointer, - _lib._sel_setFormat_1, - value.pointer, - ); + return _objc_msgSend_646(this.pointer, _sel_setFormat_, value.pointer); } NSAttributedString get attributedStringForZero { - final _ret = _lib._objc_msgSend_735( - this.pointer, - _lib._sel_attributedStringForZero1, - ); - return NSAttributedString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_735(this.pointer, _sel_attributedStringForZero); + return NSAttributedString._(_ret, retain: true, release: true); } set attributedStringForZero(NSAttributedString value) { - return _lib._objc_msgSend_816( - this.pointer, - _lib._sel_setAttributedStringForZero_1, - value.pointer, - ); + return _objc_msgSend_816( + this.pointer, _sel_setAttributedStringForZero_, value.pointer); } NSAttributedString get attributedStringForNil { - final _ret = _lib._objc_msgSend_735( - this.pointer, - _lib._sel_attributedStringForNil1, - ); - return NSAttributedString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_735(this.pointer, _sel_attributedStringForNil); + return NSAttributedString._(_ret, retain: true, release: true); } set attributedStringForNil(NSAttributedString value) { - return _lib._objc_msgSend_816( - this.pointer, - _lib._sel_setAttributedStringForNil_1, - value.pointer, - ); + return _objc_msgSend_816( + this.pointer, _sel_setAttributedStringForNil_, value.pointer); } NSAttributedString get attributedStringForNotANumber { - final _ret = _lib._objc_msgSend_735( - this.pointer, - _lib._sel_attributedStringForNotANumber1, - ); - return NSAttributedString._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_735(this.pointer, _sel_attributedStringForNotANumber); + return NSAttributedString._(_ret, retain: true, release: true); } set attributedStringForNotANumber(NSAttributedString value) { - return _lib._objc_msgSend_816( - this.pointer, - _lib._sel_setAttributedStringForNotANumber_1, - value.pointer, - ); + return _objc_msgSend_816( + this.pointer, _sel_setAttributedStringForNotANumber_, value.pointer); } NSDecimalNumberHandler get roundingBehavior { - final _ret = _lib._objc_msgSend_817( - this.pointer, - _lib._sel_roundingBehavior1, - ); - return NSDecimalNumberHandler._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_817(this.pointer, _sel_roundingBehavior); + return NSDecimalNumberHandler._(_ret, retain: true, release: true); } set roundingBehavior(NSDecimalNumberHandler value) { - return _lib._objc_msgSend_819( - this.pointer, - _lib._sel_setRoundingBehavior_1, - value.pointer, - ); + return _objc_msgSend_819( + this.pointer, _sel_setRoundingBehavior_, value.pointer); } @override NSNumberFormatter init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSNumberFormatter._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSNumberFormatter._(_ret, retain: true, release: true); } - static NSNumberFormatter new1(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSNumberFormatter1, - _lib._sel_new1, - ); - return NSNumberFormatter._(_ret, _lib, retain: false, release: true); + static NSNumberFormatter new1() { + final _ret = _objc_msgSend_2(_class_NSNumberFormatter, _sel_new); + return NSNumberFormatter._(_ret, retain: false, release: true); } - static NSNumberFormatter allocWithZone_( - SwiftLibrary _lib, - ffi.Pointer<_NSZone> zone, - ) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSNumberFormatter1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSNumberFormatter._(_ret, _lib, retain: false, release: true); + static NSNumberFormatter allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = + _objc_msgSend_3(_class_NSNumberFormatter, _sel_allocWithZone_, zone); + return NSNumberFormatter._(_ret, retain: false, release: true); } - static NSNumberFormatter alloc(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSNumberFormatter1, - _lib._sel_alloc1, - ); - return NSNumberFormatter._(_ret, _lib, retain: false, release: true); + static NSNumberFormatter alloc() { + final _ret = _objc_msgSend_2(_class_NSNumberFormatter, _sel_alloc); + return NSNumberFormatter._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSNumberFormatter1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSNumberFormatter1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSNumberFormatter1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSNumberFormatter1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSNumberFormatter1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSNumberFormatter1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSNumberFormatter, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); } - static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSNumberFormatter1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSNumberFormatter1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSNumberFormatter1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSNumberFormatter, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); } -} + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSNumberFormatter, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSNumberFormatter, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSNumberFormatter, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSNumberFormatter, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); + } + + static void setKeys_triggerChangeNotificationsForDependentKey_( + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSNumberFormatter, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = _objc_msgSend_85( + _class_NSNumberFormatter, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = + _objc_msgSend_2(_class_NSNumberFormatter, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); + } +} + +late final _class_NSNumberFormatter = objc.getClass("NSNumberFormatter"); +late final _sel_stringFromNumber_ = objc.registerName("stringFromNumber:"); +final _objc_msgSend_802 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer number)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_numberFromString_ = objc.registerName("numberFromString:"); +final _objc_msgSend_803 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer string)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); abstract class NSNumberFormatterStyle { static const int NSNumberFormatterNoStyle = 0; @@ -73566,12 +39902,178 @@ abstract class NSNumberFormatterStyle { static const int NSNumberFormatterCurrencyAccountingStyle = 10; } +late final _sel_localizedStringFromNumber_numberStyle_ = + objc.registerName("localizedStringFromNumber:numberStyle:"); +final _objc_msgSend_804 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer num, + ffi.Int32 nstyle)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int)>(); + abstract class NSNumberFormatterBehavior { static const int NSNumberFormatterBehaviorDefault = 0; static const int NSNumberFormatterBehavior10_0 = 1000; static const int NSNumberFormatterBehavior10_4 = 1040; } +final _objc_msgSend_805 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + int Function( + ffi.Pointer, ffi.Pointer)>(); +final _objc_msgSend_806 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer obj, + ffi.Pointer sel, ffi.Int32 behavior)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, int)>(); +late final _sel_numberStyle = objc.registerName("numberStyle"); +final _objc_msgSend_807 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + int Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_setNumberStyle_ = objc.registerName("setNumberStyle:"); +final _objc_msgSend_808 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer obj, + ffi.Pointer sel, ffi.Int32 value)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, int)>(); +late final _sel_generatesDecimalNumbers = + objc.registerName("generatesDecimalNumbers"); +late final _sel_setGeneratesDecimalNumbers_ = + objc.registerName("setGeneratesDecimalNumbers:"); +final _objc_msgSend_809 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer obj, + ffi.Pointer sel, ffi.Int32 value)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, int)>(); +late final _sel_negativeFormat = objc.registerName("negativeFormat"); +late final _sel_setNegativeFormat_ = objc.registerName("setNegativeFormat:"); +late final _sel_textAttributesForNegativeValues = + objc.registerName("textAttributesForNegativeValues"); +late final _sel_setTextAttributesForNegativeValues_ = + objc.registerName("setTextAttributesForNegativeValues:"); +late final _sel_positiveFormat = objc.registerName("positiveFormat"); +late final _sel_setPositiveFormat_ = objc.registerName("setPositiveFormat:"); +late final _sel_textAttributesForPositiveValues = + objc.registerName("textAttributesForPositiveValues"); +late final _sel_setTextAttributesForPositiveValues_ = + objc.registerName("setTextAttributesForPositiveValues:"); +late final _sel_allowsFloats = objc.registerName("allowsFloats"); +late final _sel_setAllowsFloats_ = objc.registerName("setAllowsFloats:"); +late final _sel_setDecimalSeparator_ = + objc.registerName("setDecimalSeparator:"); +late final _sel_alwaysShowsDecimalSeparator = + objc.registerName("alwaysShowsDecimalSeparator"); +late final _sel_setAlwaysShowsDecimalSeparator_ = + objc.registerName("setAlwaysShowsDecimalSeparator:"); +late final _sel_currencyDecimalSeparator = + objc.registerName("currencyDecimalSeparator"); +late final _sel_setCurrencyDecimalSeparator_ = + objc.registerName("setCurrencyDecimalSeparator:"); +late final _sel_usesGroupingSeparator = + objc.registerName("usesGroupingSeparator"); +late final _sel_setUsesGroupingSeparator_ = + objc.registerName("setUsesGroupingSeparator:"); +late final _sel_setGroupingSeparator_ = + objc.registerName("setGroupingSeparator:"); +late final _sel_zeroSymbol = objc.registerName("zeroSymbol"); +late final _sel_setZeroSymbol_ = objc.registerName("setZeroSymbol:"); +late final _sel_textAttributesForZero = + objc.registerName("textAttributesForZero"); +late final _sel_setTextAttributesForZero_ = + objc.registerName("setTextAttributesForZero:"); +late final _sel_nilSymbol = objc.registerName("nilSymbol"); +late final _sel_setNilSymbol_ = objc.registerName("setNilSymbol:"); +late final _sel_textAttributesForNil = + objc.registerName("textAttributesForNil"); +late final _sel_setTextAttributesForNil_ = + objc.registerName("setTextAttributesForNil:"); +late final _sel_notANumberSymbol = objc.registerName("notANumberSymbol"); +late final _sel_setNotANumberSymbol_ = + objc.registerName("setNotANumberSymbol:"); +late final _sel_textAttributesForNotANumber = + objc.registerName("textAttributesForNotANumber"); +late final _sel_setTextAttributesForNotANumber_ = + objc.registerName("setTextAttributesForNotANumber:"); +late final _sel_positiveInfinitySymbol = + objc.registerName("positiveInfinitySymbol"); +late final _sel_setPositiveInfinitySymbol_ = + objc.registerName("setPositiveInfinitySymbol:"); +late final _sel_textAttributesForPositiveInfinity = + objc.registerName("textAttributesForPositiveInfinity"); +late final _sel_setTextAttributesForPositiveInfinity_ = + objc.registerName("setTextAttributesForPositiveInfinity:"); +late final _sel_negativeInfinitySymbol = + objc.registerName("negativeInfinitySymbol"); +late final _sel_setNegativeInfinitySymbol_ = + objc.registerName("setNegativeInfinitySymbol:"); +late final _sel_textAttributesForNegativeInfinity = + objc.registerName("textAttributesForNegativeInfinity"); +late final _sel_setTextAttributesForNegativeInfinity_ = + objc.registerName("setTextAttributesForNegativeInfinity:"); +late final _sel_positivePrefix = objc.registerName("positivePrefix"); +late final _sel_setPositivePrefix_ = objc.registerName("setPositivePrefix:"); +late final _sel_positiveSuffix = objc.registerName("positiveSuffix"); +late final _sel_setPositiveSuffix_ = objc.registerName("setPositiveSuffix:"); +late final _sel_negativePrefix = objc.registerName("negativePrefix"); +late final _sel_setNegativePrefix_ = objc.registerName("setNegativePrefix:"); +late final _sel_negativeSuffix = objc.registerName("negativeSuffix"); +late final _sel_setNegativeSuffix_ = objc.registerName("setNegativeSuffix:"); +late final _sel_setCurrencyCode_ = objc.registerName("setCurrencyCode:"); +late final _sel_setCurrencySymbol_ = objc.registerName("setCurrencySymbol:"); +late final _sel_internationalCurrencySymbol = + objc.registerName("internationalCurrencySymbol"); +late final _sel_setInternationalCurrencySymbol_ = + objc.registerName("setInternationalCurrencySymbol:"); +late final _sel_percentSymbol = objc.registerName("percentSymbol"); +late final _sel_setPercentSymbol_ = objc.registerName("setPercentSymbol:"); +late final _sel_perMillSymbol = objc.registerName("perMillSymbol"); +late final _sel_setPerMillSymbol_ = objc.registerName("setPerMillSymbol:"); +late final _sel_minusSign = objc.registerName("minusSign"); +late final _sel_setMinusSign_ = objc.registerName("setMinusSign:"); +late final _sel_plusSign = objc.registerName("plusSign"); +late final _sel_setPlusSign_ = objc.registerName("setPlusSign:"); +late final _sel_exponentSymbol = objc.registerName("exponentSymbol"); +late final _sel_setExponentSymbol_ = objc.registerName("setExponentSymbol:"); +late final _sel_groupingSize = objc.registerName("groupingSize"); +late final _sel_setGroupingSize_ = objc.registerName("setGroupingSize:"); +late final _sel_secondaryGroupingSize = + objc.registerName("secondaryGroupingSize"); +late final _sel_setSecondaryGroupingSize_ = + objc.registerName("setSecondaryGroupingSize:"); +late final _sel_multiplier = objc.registerName("multiplier"); +late final _sel_setMultiplier_ = objc.registerName("setMultiplier:"); +late final _sel_formatWidth = objc.registerName("formatWidth"); +late final _sel_setFormatWidth_ = objc.registerName("setFormatWidth:"); +late final _sel_paddingCharacter = objc.registerName("paddingCharacter"); +late final _sel_setPaddingCharacter_ = + objc.registerName("setPaddingCharacter:"); + abstract class NSNumberFormatterPadPosition { static const int NSNumberFormatterPadBeforePrefix = 0; static const int NSNumberFormatterPadAfterPrefix = 1; @@ -73579,6 +40081,25 @@ abstract class NSNumberFormatterPadPosition { static const int NSNumberFormatterPadAfterSuffix = 3; } +late final _sel_paddingPosition = objc.registerName("paddingPosition"); +final _objc_msgSend_810 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + int Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_setPaddingPosition_ = objc.registerName("setPaddingPosition:"); +final _objc_msgSend_811 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer obj, + ffi.Pointer sel, ffi.Int32 value)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, int)>(); + abstract class NSNumberFormatterRoundingMode { static const int NSNumberFormatterRoundCeiling = 0; static const int NSNumberFormatterRoundFloor = 1; @@ -73589,233 +40110,287 @@ abstract class NSNumberFormatterRoundingMode { static const int NSNumberFormatterRoundHalfUp = 6; } +late final _sel_roundingMode = objc.registerName("roundingMode"); +final _objc_msgSend_812 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + int Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_setRoundingMode_ = objc.registerName("setRoundingMode:"); +final _objc_msgSend_813 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer obj, + ffi.Pointer sel, ffi.Int32 value)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, int)>(); +late final _sel_roundingIncrement = objc.registerName("roundingIncrement"); +final _objc_msgSend_814 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_setRoundingIncrement_ = + objc.registerName("setRoundingIncrement:"); +final _objc_msgSend_815 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_minimumIntegerDigits = + objc.registerName("minimumIntegerDigits"); +late final _sel_setMinimumIntegerDigits_ = + objc.registerName("setMinimumIntegerDigits:"); +late final _sel_maximumIntegerDigits = + objc.registerName("maximumIntegerDigits"); +late final _sel_setMaximumIntegerDigits_ = + objc.registerName("setMaximumIntegerDigits:"); +late final _sel_minimumFractionDigits = + objc.registerName("minimumFractionDigits"); +late final _sel_setMinimumFractionDigits_ = + objc.registerName("setMinimumFractionDigits:"); +late final _sel_maximumFractionDigits = + objc.registerName("maximumFractionDigits"); +late final _sel_setMaximumFractionDigits_ = + objc.registerName("setMaximumFractionDigits:"); +late final _sel_minimum = objc.registerName("minimum"); +late final _sel_setMinimum_ = objc.registerName("setMinimum:"); +late final _sel_maximum = objc.registerName("maximum"); +late final _sel_setMaximum_ = objc.registerName("setMaximum:"); +late final _sel_currencyGroupingSeparator = + objc.registerName("currencyGroupingSeparator"); +late final _sel_setCurrencyGroupingSeparator_ = + objc.registerName("setCurrencyGroupingSeparator:"); +late final _sel_usesSignificantDigits = + objc.registerName("usesSignificantDigits"); +late final _sel_setUsesSignificantDigits_ = + objc.registerName("setUsesSignificantDigits:"); +late final _sel_minimumSignificantDigits = + objc.registerName("minimumSignificantDigits"); +late final _sel_setMinimumSignificantDigits_ = + objc.registerName("setMinimumSignificantDigits:"); +late final _sel_maximumSignificantDigits = + objc.registerName("maximumSignificantDigits"); +late final _sel_setMaximumSignificantDigits_ = + objc.registerName("setMaximumSignificantDigits:"); +late final _sel_isPartialStringValidationEnabled = + objc.registerName("isPartialStringValidationEnabled"); +late final _sel_setPartialStringValidationEnabled_ = + objc.registerName("setPartialStringValidationEnabled:"); +late final _sel_hasThousandSeparators = + objc.registerName("hasThousandSeparators"); +late final _sel_setHasThousandSeparators_ = + objc.registerName("setHasThousandSeparators:"); +late final _sel_thousandSeparator = objc.registerName("thousandSeparator"); +late final _sel_setThousandSeparator_ = + objc.registerName("setThousandSeparator:"); +late final _sel_localizesFormat = objc.registerName("localizesFormat"); +late final _sel_setLocalizesFormat_ = objc.registerName("setLocalizesFormat:"); +late final _sel_format = objc.registerName("format"); +late final _sel_setFormat_ = objc.registerName("setFormat:"); +late final _sel_attributedStringForZero = + objc.registerName("attributedStringForZero"); +late final _sel_setAttributedStringForZero_ = + objc.registerName("setAttributedStringForZero:"); +final _objc_msgSend_816 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_attributedStringForNil = + objc.registerName("attributedStringForNil"); +late final _sel_setAttributedStringForNil_ = + objc.registerName("setAttributedStringForNil:"); +late final _sel_attributedStringForNotANumber = + objc.registerName("attributedStringForNotANumber"); +late final _sel_setAttributedStringForNotANumber_ = + objc.registerName("setAttributedStringForNotANumber:"); + class NSDecimalNumberHandler extends NSObject { - NSDecimalNumberHandler._( - ffi.Pointer pointer, - SwiftLibrary lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSDecimalNumberHandler._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSDecimalNumberHandler] that points to the same underlying object as [other]. static NSDecimalNumberHandler castFrom( - SwiftLibrary lib, - T other, - ) { - return NSDecimalNumberHandler._( - other.pointer, - lib, - retain: true, - release: true, - ); + T other) { + return NSDecimalNumberHandler._(other.pointer, retain: true, release: true); } /// Returns a [NSDecimalNumberHandler] that wraps the given raw object pointer. static NSDecimalNumberHandler castFromPointer( - SwiftLibrary lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSDecimalNumberHandler._( - other, - lib, - retain: retain, - release: release, - ); + ffi.Pointer other, + {bool retain = false, + bool release = false}) { + return NSDecimalNumberHandler._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSDecimalNumberHandler]. - static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSDecimalNumberHandler1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0( + obj.pointer, _sel_isKindOfClass_, _class_NSDecimalNumberHandler); } - static NSDecimalNumberHandler getDefaultDecimalNumberHandler( - SwiftLibrary _lib, - ) { - final _ret = _lib._objc_msgSend_817( - _lib._class_NSDecimalNumberHandler1, - _lib._sel_defaultDecimalNumberHandler1, - ); - return NSDecimalNumberHandler._(_ret, _lib, retain: true, release: true); + static NSDecimalNumberHandler getDefaultDecimalNumberHandler() { + final _ret = _objc_msgSend_817( + _class_NSDecimalNumberHandler, _sel_defaultDecimalNumberHandler); + return NSDecimalNumberHandler._(_ret, retain: true, release: true); } NSDecimalNumberHandler initWithRoundingMode_scale_raiseOnExactness_raiseOnOverflow_raiseOnUnderflow_raiseOnDivideByZero_( - int roundingMode, - int scale, - bool exact, - bool overflow, - bool underflow, - bool divideByZero, - ) { - final _ret = _lib._objc_msgSend_818( - this.pointer, - _lib._sel_initWithRoundingMode_scale_raiseOnExactness_raiseOnOverflow_raiseOnUnderflow_raiseOnDivideByZero_1, - roundingMode, - scale, - exact, - overflow, - underflow, - divideByZero, - ); - return NSDecimalNumberHandler._(_ret, _lib, retain: true, release: true); + int roundingMode, + int scale, + bool exact, + bool overflow, + bool underflow, + bool divideByZero) { + final _ret = _objc_msgSend_818( + this.pointer, + _sel_initWithRoundingMode_scale_raiseOnExactness_raiseOnOverflow_raiseOnUnderflow_raiseOnDivideByZero_, + roundingMode, + scale, + exact, + overflow, + underflow, + divideByZero); + return NSDecimalNumberHandler._(_ret, retain: true, release: true); } static NSDecimalNumberHandler decimalNumberHandlerWithRoundingMode_scale_raiseOnExactness_raiseOnOverflow_raiseOnUnderflow_raiseOnDivideByZero_( - SwiftLibrary _lib, - int roundingMode, - int scale, - bool exact, - bool overflow, - bool underflow, - bool divideByZero, - ) { - final _ret = _lib._objc_msgSend_818( - _lib._class_NSDecimalNumberHandler1, - _lib._sel_decimalNumberHandlerWithRoundingMode_scale_raiseOnExactness_raiseOnOverflow_raiseOnUnderflow_raiseOnDivideByZero_1, - roundingMode, - scale, - exact, - overflow, - underflow, - divideByZero, - ); - return NSDecimalNumberHandler._(_ret, _lib, retain: true, release: true); + int roundingMode, + int scale, + bool exact, + bool overflow, + bool underflow, + bool divideByZero) { + final _ret = _objc_msgSend_818( + _class_NSDecimalNumberHandler, + _sel_decimalNumberHandlerWithRoundingMode_scale_raiseOnExactness_raiseOnOverflow_raiseOnUnderflow_raiseOnDivideByZero_, + roundingMode, + scale, + exact, + overflow, + underflow, + divideByZero); + return NSDecimalNumberHandler._(_ret, retain: true, release: true); } @override NSDecimalNumberHandler init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSDecimalNumberHandler._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSDecimalNumberHandler._(_ret, retain: true, release: true); } - static NSDecimalNumberHandler new1(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSDecimalNumberHandler1, - _lib._sel_new1, - ); - return NSDecimalNumberHandler._(_ret, _lib, retain: false, release: true); + static NSDecimalNumberHandler new1() { + final _ret = _objc_msgSend_2(_class_NSDecimalNumberHandler, _sel_new); + return NSDecimalNumberHandler._(_ret, retain: false, release: true); } - static NSDecimalNumberHandler allocWithZone_( - SwiftLibrary _lib, - ffi.Pointer<_NSZone> zone, - ) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSDecimalNumberHandler1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSDecimalNumberHandler._(_ret, _lib, retain: false, release: true); + static NSDecimalNumberHandler allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = _objc_msgSend_3( + _class_NSDecimalNumberHandler, _sel_allocWithZone_, zone); + return NSDecimalNumberHandler._(_ret, retain: false, release: true); } - static NSDecimalNumberHandler alloc(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSDecimalNumberHandler1, - _lib._sel_alloc1, - ); - return NSDecimalNumberHandler._(_ret, _lib, retain: false, release: true); + static NSDecimalNumberHandler alloc() { + final _ret = _objc_msgSend_2(_class_NSDecimalNumberHandler, _sel_alloc); + return NSDecimalNumberHandler._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSDecimalNumberHandler1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSDecimalNumberHandler1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSDecimalNumberHandler1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSDecimalNumberHandler1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSDecimalNumberHandler1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSDecimalNumberHandler1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSDecimalNumberHandler, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); + } + + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSDecimalNumberHandler, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); + } + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSDecimalNumberHandler, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12( + _class_NSDecimalNumberHandler, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSDecimalNumberHandler, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSDecimalNumberHandler, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); } static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSDecimalNumberHandler1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSDecimalNumberHandler1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSDecimalNumberHandler1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSDecimalNumberHandler, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = _objc_msgSend_85( + _class_NSDecimalNumberHandler, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = _objc_msgSend_2( + _class_NSDecimalNumberHandler, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); } } +late final _class_NSDecimalNumberHandler = + objc.getClass("NSDecimalNumberHandler"); +late final _sel_defaultDecimalNumberHandler = + objc.registerName("defaultDecimalNumberHandler"); +final _objc_msgSend_817 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); + abstract class NSRoundingMode { static const int NSRoundPlain = 0; static const int NSRoundDown = 1; @@ -73823,1214 +40398,1217 @@ abstract class NSRoundingMode { static const int NSRoundBankers = 3; } +late final _sel_initWithRoundingMode_scale_raiseOnExactness_raiseOnOverflow_raiseOnUnderflow_raiseOnDivideByZero_ = + objc.registerName( + "initWithRoundingMode:scale:raiseOnExactness:raiseOnOverflow:raiseOnUnderflow:raiseOnDivideByZero:"); +final _objc_msgSend_818 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Int32 roundingMode, + ffi.Short scale, + ffi.Bool exact, + ffi.Bool overflow, + ffi.Bool underflow, + ffi.Bool divideByZero)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + int, + int, + bool, + bool, + bool, + bool)>(); +late final _sel_decimalNumberHandlerWithRoundingMode_scale_raiseOnExactness_raiseOnOverflow_raiseOnUnderflow_raiseOnDivideByZero_ = + objc.registerName( + "decimalNumberHandlerWithRoundingMode:scale:raiseOnExactness:raiseOnOverflow:raiseOnUnderflow:raiseOnDivideByZero:"); +late final _sel_roundingBehavior = objc.registerName("roundingBehavior"); +late final _sel_setRoundingBehavior_ = + objc.registerName("setRoundingBehavior:"); +final _objc_msgSend_819 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); + class NSScanner extends NSObject { - NSScanner._( - ffi.Pointer pointer, - SwiftLibrary lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSScanner._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSScanner] that points to the same underlying object as [other]. - static NSScanner castFrom( - SwiftLibrary lib, - T other, - ) { - return NSScanner._(other.pointer, lib, retain: true, release: true); + static NSScanner castFrom(T other) { + return NSScanner._(other.pointer, retain: true, release: true); } /// Returns a [NSScanner] that wraps the given raw object pointer. - static NSScanner castFromPointer( - SwiftLibrary lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSScanner._(other, lib, retain: retain, release: release); + static NSScanner castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSScanner._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSScanner]. - static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSScanner1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0(obj.pointer, _sel_isKindOfClass_, _class_NSScanner); } NSString get string { - final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_string1); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_string); + return NSString._(_ret, retain: true, release: true); } int get scanLocation { - return _lib._objc_msgSend_10(this.pointer, _lib._sel_scanLocation1); + return _objc_msgSend_10(this.pointer, _sel_scanLocation); } set scanLocation(int value) { - return _lib._objc_msgSend_516( - this.pointer, - _lib._sel_setScanLocation_1, - value, - ); + return _objc_msgSend_516(this.pointer, _sel_setScanLocation_, value); } NSCharacterSet? get charactersToBeSkipped { - final _ret = _lib._objc_msgSend_820( - this.pointer, - _lib._sel_charactersToBeSkipped1, - ); + final _ret = _objc_msgSend_820(this.pointer, _sel_charactersToBeSkipped); return _ret.address == 0 ? null - : NSCharacterSet._(_ret, _lib, retain: true, release: true); + : NSCharacterSet._(_ret, retain: true, release: true); } set charactersToBeSkipped(NSCharacterSet? value) { - return _lib._objc_msgSend_821( - this.pointer, - _lib._sel_setCharactersToBeSkipped_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_821(this.pointer, _sel_setCharactersToBeSkipped_, + value?.pointer ?? ffi.nullptr); } bool get caseSensitive { - return _lib._objc_msgSend_12(this.pointer, _lib._sel_caseSensitive1); + return _objc_msgSend_12(this.pointer, _sel_caseSensitive); } set caseSensitive(bool value) { - return _lib._objc_msgSend_527( - this.pointer, - _lib._sel_setCaseSensitive_1, - value, - ); + return _objc_msgSend_527(this.pointer, _sel_setCaseSensitive_, value); } NSObject? get locale { - final _ret = _lib._objc_msgSend_17(this.pointer, _lib._sel_locale1); + final _ret = _objc_msgSend_17(this.pointer, _sel_locale); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } set locale(NSObject? value) { - return _lib._objc_msgSend_416( - this.pointer, - _lib._sel_setLocale_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_416( + this.pointer, _sel_setLocale_, value?.pointer ?? ffi.nullptr); } NSScanner initWithString_(NSString string) { - final _ret = _lib._objc_msgSend_31( - this.pointer, - _lib._sel_initWithString_1, - string.pointer, - ); - return NSScanner._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_31(this.pointer, _sel_initWithString_, string.pointer); + return NSScanner._(_ret, retain: true, release: true); } bool scanInt_(ffi.Pointer result) { - return _lib._objc_msgSend_822(this.pointer, _lib._sel_scanInt_1, result); + return _objc_msgSend_822(this.pointer, _sel_scanInt_, result); } bool scanInteger_(ffi.Pointer result) { - return _lib._objc_msgSend_823( - this.pointer, - _lib._sel_scanInteger_1, - result, - ); + return _objc_msgSend_823(this.pointer, _sel_scanInteger_, result); } bool scanLongLong_(ffi.Pointer result) { - return _lib._objc_msgSend_824( - this.pointer, - _lib._sel_scanLongLong_1, - result, - ); + return _objc_msgSend_824(this.pointer, _sel_scanLongLong_, result); } bool scanUnsignedLongLong_(ffi.Pointer result) { - return _lib._objc_msgSend_825( - this.pointer, - _lib._sel_scanUnsignedLongLong_1, - result, - ); + return _objc_msgSend_825(this.pointer, _sel_scanUnsignedLongLong_, result); } bool scanFloat_(ffi.Pointer result) { - return _lib._objc_msgSend_826(this.pointer, _lib._sel_scanFloat_1, result); + return _objc_msgSend_826(this.pointer, _sel_scanFloat_, result); } bool scanDouble_(ffi.Pointer result) { - return _lib._objc_msgSend_827(this.pointer, _lib._sel_scanDouble_1, result); + return _objc_msgSend_827(this.pointer, _sel_scanDouble_, result); } bool scanHexInt_(ffi.Pointer result) { - return _lib._objc_msgSend_828(this.pointer, _lib._sel_scanHexInt_1, result); + return _objc_msgSend_828(this.pointer, _sel_scanHexInt_, result); } bool scanHexLongLong_(ffi.Pointer result) { - return _lib._objc_msgSend_825( - this.pointer, - _lib._sel_scanHexLongLong_1, - result, - ); + return _objc_msgSend_825(this.pointer, _sel_scanHexLongLong_, result); } bool scanHexFloat_(ffi.Pointer result) { - return _lib._objc_msgSend_826( - this.pointer, - _lib._sel_scanHexFloat_1, - result, - ); + return _objc_msgSend_826(this.pointer, _sel_scanHexFloat_, result); } bool scanHexDouble_(ffi.Pointer result) { - return _lib._objc_msgSend_827( - this.pointer, - _lib._sel_scanHexDouble_1, - result, - ); + return _objc_msgSend_827(this.pointer, _sel_scanHexDouble_, result); } bool scanString_intoString_( - NSString string, - ffi.Pointer> result, - ) { - return _lib._objc_msgSend_829( - this.pointer, - _lib._sel_scanString_intoString_1, - string.pointer, - result, - ); + NSString string, ffi.Pointer> result) { + return _objc_msgSend_829( + this.pointer, _sel_scanString_intoString_, string.pointer, result); } bool scanCharactersFromSet_intoString_( - NSCharacterSet set, - ffi.Pointer> result, - ) { - return _lib._objc_msgSend_830( - this.pointer, - _lib._sel_scanCharactersFromSet_intoString_1, - set.pointer, - result, - ); + NSCharacterSet set, ffi.Pointer> result) { + return _objc_msgSend_830(this.pointer, + _sel_scanCharactersFromSet_intoString_, set.pointer, result); } bool scanUpToString_intoString_( - NSString string, - ffi.Pointer> result, - ) { - return _lib._objc_msgSend_829( - this.pointer, - _lib._sel_scanUpToString_intoString_1, - string.pointer, - result, - ); + NSString string, ffi.Pointer> result) { + return _objc_msgSend_829( + this.pointer, _sel_scanUpToString_intoString_, string.pointer, result); } bool scanUpToCharactersFromSet_intoString_( - NSCharacterSet set, - ffi.Pointer> result, - ) { - return _lib._objc_msgSend_830( - this.pointer, - _lib._sel_scanUpToCharactersFromSet_intoString_1, - set.pointer, - result, - ); + NSCharacterSet set, ffi.Pointer> result) { + return _objc_msgSend_830(this.pointer, + _sel_scanUpToCharactersFromSet_intoString_, set.pointer, result); } bool get atEnd { - return _lib._objc_msgSend_12(this.pointer, _lib._sel_isAtEnd1); + return _objc_msgSend_12(this.pointer, _sel_isAtEnd); } - static NSScanner scannerWithString_(SwiftLibrary _lib, NSString string) { - final _ret = _lib._objc_msgSend_31( - _lib._class_NSScanner1, - _lib._sel_scannerWithString_1, - string.pointer, - ); - return NSScanner._(_ret, _lib, retain: true, release: true); + static NSScanner scannerWithString_(NSString string) { + final _ret = _objc_msgSend_31( + _class_NSScanner, _sel_scannerWithString_, string.pointer); + return NSScanner._(_ret, retain: true, release: true); } - static NSObject localizedScannerWithString_( - SwiftLibrary _lib, - NSString string, - ) { - final _ret = _lib._objc_msgSend_31( - _lib._class_NSScanner1, - _lib._sel_localizedScannerWithString_1, - string.pointer, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + static NSObject localizedScannerWithString_(NSString string) { + final _ret = _objc_msgSend_31( + _class_NSScanner, _sel_localizedScannerWithString_, string.pointer); + return NSObject._(_ret, retain: true, release: true); } bool scanDecimal_(ffi.Pointer dcm) { - return _lib._objc_msgSend_831(this.pointer, _lib._sel_scanDecimal_1, dcm); + return _objc_msgSend_831(this.pointer, _sel_scanDecimal_, dcm); } @override NSScanner init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSScanner._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSScanner._(_ret, retain: true, release: true); } - static NSScanner new1(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2(_lib._class_NSScanner1, _lib._sel_new1); - return NSScanner._(_ret, _lib, retain: false, release: true); + static NSScanner new1() { + final _ret = _objc_msgSend_2(_class_NSScanner, _sel_new); + return NSScanner._(_ret, retain: false, release: true); } - static NSScanner allocWithZone_( - SwiftLibrary _lib, - ffi.Pointer<_NSZone> zone, - ) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSScanner1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSScanner._(_ret, _lib, retain: false, release: true); + static NSScanner allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = _objc_msgSend_3(_class_NSScanner, _sel_allocWithZone_, zone); + return NSScanner._(_ret, retain: false, release: true); } - static NSScanner alloc(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2(_lib._class_NSScanner1, _lib._sel_alloc1); - return NSScanner._(_ret, _lib, retain: false, release: true); + static NSScanner alloc() { + final _ret = _objc_msgSend_2(_class_NSScanner, _sel_alloc); + return NSScanner._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSScanner1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSScanner1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSScanner1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSScanner1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSScanner1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSScanner1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSScanner, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); } - static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSScanner1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSScanner1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSScanner1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSScanner, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); + } + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSScanner, _sel_accessInstanceVariablesDirectly); } -} + + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSScanner, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSScanner, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSScanner, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); + } + + static void setKeys_triggerChangeNotificationsForDependentKey_( + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSScanner, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = + _objc_msgSend_85(_class_NSScanner, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = + _objc_msgSend_2(_class_NSScanner, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); + } +} + +late final _class_NSScanner = objc.getClass("NSScanner"); +late final _sel_scanLocation = objc.registerName("scanLocation"); +late final _sel_setScanLocation_ = objc.registerName("setScanLocation:"); +late final _sel_charactersToBeSkipped = + objc.registerName("charactersToBeSkipped"); +final _objc_msgSend_820 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_setCharactersToBeSkipped_ = + objc.registerName("setCharactersToBeSkipped:"); +final _objc_msgSend_821 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_caseSensitive = objc.registerName("caseSensitive"); +late final _sel_setCaseSensitive_ = objc.registerName("setCaseSensitive:"); +late final _sel_scanInt_ = objc.registerName("scanInt:"); +final _objc_msgSend_822 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer result)>>() + .asFunction< + bool Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_scanInteger_ = objc.registerName("scanInteger:"); +final _objc_msgSend_823 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer result)>>() + .asFunction< + bool Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_scanLongLong_ = objc.registerName("scanLongLong:"); +final _objc_msgSend_824 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer result)>>() + .asFunction< + bool Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_scanUnsignedLongLong_ = + objc.registerName("scanUnsignedLongLong:"); +final _objc_msgSend_825 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer result)>>() + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_scanFloat_ = objc.registerName("scanFloat:"); +final _objc_msgSend_826 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer result)>>() + .asFunction< + bool Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_scanDouble_ = objc.registerName("scanDouble:"); +final _objc_msgSend_827 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer result)>>() + .asFunction< + bool Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_scanHexInt_ = objc.registerName("scanHexInt:"); +final _objc_msgSend_828 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer result)>>() + .asFunction< + bool Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_scanHexLongLong_ = objc.registerName("scanHexLongLong:"); +late final _sel_scanHexFloat_ = objc.registerName("scanHexFloat:"); +late final _sel_scanHexDouble_ = objc.registerName("scanHexDouble:"); +late final _sel_scanString_intoString_ = + objc.registerName("scanString:intoString:"); +final _objc_msgSend_829 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer string, + ffi.Pointer> result)>>() + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>(); +late final _sel_scanCharactersFromSet_intoString_ = + objc.registerName("scanCharactersFromSet:intoString:"); +final _objc_msgSend_830 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer set, + ffi.Pointer> result)>>() + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>(); +late final _sel_scanUpToString_intoString_ = + objc.registerName("scanUpToString:intoString:"); +late final _sel_scanUpToCharactersFromSet_intoString_ = + objc.registerName("scanUpToCharactersFromSet:intoString:"); +late final _sel_isAtEnd = objc.registerName("isAtEnd"); +late final _sel_scannerWithString_ = objc.registerName("scannerWithString:"); +late final _sel_localizedScannerWithString_ = + objc.registerName("localizedScannerWithString:"); final class NSDecimal extends ffi.Opaque {} +late final _sel_scanDecimal_ = objc.registerName("scanDecimal:"); +final _objc_msgSend_831 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer dcm)>>() + .asFunction< + bool Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); + class NSException extends NSObject { - NSException._( - ffi.Pointer pointer, - SwiftLibrary lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSException._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSException] that points to the same underlying object as [other]. - static NSException castFrom( - SwiftLibrary lib, - T other, - ) { - return NSException._(other.pointer, lib, retain: true, release: true); + static NSException castFrom(T other) { + return NSException._(other.pointer, retain: true, release: true); } /// Returns a [NSException] that wraps the given raw object pointer. - static NSException castFromPointer( - SwiftLibrary lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSException._(other, lib, retain: retain, release: release); + static NSException castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSException._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSException]. - static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSException1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0( + obj.pointer, _sel_isKindOfClass_, _class_NSException); } static NSException exceptionWithName_reason_userInfo_( - SwiftLibrary _lib, - NSString name, - NSString? reason, - NSDictionary? userInfo, - ) { - final _ret = _lib._objc_msgSend_832( - _lib._class_NSException1, - _lib._sel_exceptionWithName_reason_userInfo_1, - name.pointer, - reason?.pointer ?? ffi.nullptr, - userInfo?.pointer ?? ffi.nullptr, - ); - return NSException._(_ret, _lib, retain: true, release: true); + NSString name, NSString? reason, NSDictionary? userInfo) { + final _ret = _objc_msgSend_832( + _class_NSException, + _sel_exceptionWithName_reason_userInfo_, + name.pointer, + reason?.pointer ?? ffi.nullptr, + userInfo?.pointer ?? ffi.nullptr); + return NSException._(_ret, retain: true, release: true); } NSException initWithName_reason_userInfo_( - NSString aName, - NSString? aReason, - NSDictionary? aUserInfo, - ) { - final _ret = _lib._objc_msgSend_833( - this.pointer, - _lib._sel_initWithName_reason_userInfo_1, - aName.pointer, - aReason?.pointer ?? ffi.nullptr, - aUserInfo?.pointer ?? ffi.nullptr, - ); - return NSException._(_ret, _lib, retain: true, release: true); + NSString aName, NSString? aReason, NSDictionary? aUserInfo) { + final _ret = _objc_msgSend_833( + this.pointer, + _sel_initWithName_reason_userInfo_, + aName.pointer, + aReason?.pointer ?? ffi.nullptr, + aUserInfo?.pointer ?? ffi.nullptr); + return NSException._(_ret, retain: true, release: true); } NSString get name { - final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_name1); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_name); + return NSString._(_ret, retain: true, release: true); } NSString? get reason { - final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_reason1); + final _ret = _objc_msgSend_44(this.pointer, _sel_reason); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } NSDictionary? get userInfo { - final _ret = _lib._objc_msgSend_390(this.pointer, _lib._sel_userInfo1); + final _ret = _objc_msgSend_390(this.pointer, _sel_userInfo); return _ret.address == 0 ? null - : NSDictionary._(_ret, _lib, retain: true, release: true); + : NSDictionary._(_ret, retain: true, release: true); } NSArray get callStackReturnAddresses { - final _ret = _lib._objc_msgSend_85( - this.pointer, - _lib._sel_callStackReturnAddresses1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_85(this.pointer, _sel_callStackReturnAddresses); + return NSArray._(_ret, retain: true, release: true); } NSArray get callStackSymbols { - final _ret = _lib._objc_msgSend_85( - this.pointer, - _lib._sel_callStackSymbols1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_85(this.pointer, _sel_callStackSymbols); + return NSArray._(_ret, retain: true, release: true); } void raise() { - _lib._objc_msgSend_1(this.pointer, _lib._sel_raise1); + _objc_msgSend_1(this.pointer, _sel_raise); } - static void raise_format_(SwiftLibrary _lib, NSString name, NSString format) { - _lib._objc_msgSend_551( - _lib._class_NSException1, - _lib._sel_raise_format_1, - name.pointer, - format.pointer, - ); + static void raise_format_(NSString name, NSString format) { + _objc_msgSend_551( + _class_NSException, _sel_raise_format_, name.pointer, format.pointer); } static void raise_format_arguments_( - SwiftLibrary _lib, - NSString name, - NSString format, - ffi.Pointer<__va_list_tag> argList, - ) { - _lib._objc_msgSend_834( - _lib._class_NSException1, - _lib._sel_raise_format_arguments_1, - name.pointer, - format.pointer, - argList, - ); + NSString name, NSString format, ffi.Pointer<__va_list_tag> argList) { + _objc_msgSend_834(_class_NSException, _sel_raise_format_arguments_, + name.pointer, format.pointer, argList); } @override NSException init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSException._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSException._(_ret, retain: true, release: true); } - static NSException new1(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2(_lib._class_NSException1, _lib._sel_new1); - return NSException._(_ret, _lib, retain: false, release: true); + static NSException new1() { + final _ret = _objc_msgSend_2(_class_NSException, _sel_new); + return NSException._(_ret, retain: false, release: true); } - static NSException allocWithZone_( - SwiftLibrary _lib, - ffi.Pointer<_NSZone> zone, - ) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSException1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSException._(_ret, _lib, retain: false, release: true); + static NSException allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = _objc_msgSend_3(_class_NSException, _sel_allocWithZone_, zone); + return NSException._(_ret, retain: false, release: true); } - static NSException alloc(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSException1, - _lib._sel_alloc1, - ); - return NSException._(_ret, _lib, retain: false, release: true); + static NSException alloc() { + final _ret = _objc_msgSend_2(_class_NSException, _sel_alloc); + return NSException._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSException1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSException1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSException1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSException1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSException1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSException1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSException, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); } - static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSException1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSException1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSException1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSException, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); } -} + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSException, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSException, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSException, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSException, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); + } + + static void setKeys_triggerChangeNotificationsForDependentKey_( + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSException, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = _objc_msgSend_85( + _class_NSException, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = + _objc_msgSend_2(_class_NSException, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); + } +} + +late final _class_NSException = objc.getClass("NSException"); +late final _sel_exceptionWithName_reason_userInfo_ = + objc.registerName("exceptionWithName:reason:userInfo:"); +final _objc_msgSend_832 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer name, + ffi.Pointer reason, + ffi.Pointer userInfo)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_initWithName_reason_userInfo_ = + objc.registerName("initWithName:reason:userInfo:"); +final _objc_msgSend_833 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer aName, + ffi.Pointer aReason, + ffi.Pointer aUserInfo)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_reason = objc.registerName("reason"); +late final _sel_raise = objc.registerName("raise"); +late final _sel_raise_format_ = objc.registerName("raise:format:"); +late final _sel_raise_format_arguments_ = + objc.registerName("raise:format:arguments:"); +final _objc_msgSend_834 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer name, + ffi.Pointer format, + ffi.Pointer<__va_list_tag> argList)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<__va_list_tag>)>(); class NSFileHandle extends NSObject { - NSFileHandle._( - ffi.Pointer pointer, - SwiftLibrary lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSFileHandle._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSFileHandle] that points to the same underlying object as [other]. - static NSFileHandle castFrom( - SwiftLibrary lib, - T other, - ) { - return NSFileHandle._(other.pointer, lib, retain: true, release: true); + static NSFileHandle castFrom(T other) { + return NSFileHandle._(other.pointer, retain: true, release: true); } /// Returns a [NSFileHandle] that wraps the given raw object pointer. - static NSFileHandle castFromPointer( - SwiftLibrary lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSFileHandle._(other, lib, retain: retain, release: release); + static NSFileHandle castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSFileHandle._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSFileHandle]. - static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSFileHandle1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0( + obj.pointer, _sel_isKindOfClass_, _class_NSFileHandle); } NSData get availableData { - final _ret = _lib._objc_msgSend_43(this.pointer, _lib._sel_availableData1); - return NSData._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_43(this.pointer, _sel_availableData); + return NSData._(_ret, retain: true, release: true); } NSFileHandle initWithFileDescriptor_closeOnDealloc_(int fd, bool closeopt) { - final _ret = _lib._objc_msgSend_835( - this.pointer, - _lib._sel_initWithFileDescriptor_closeOnDealloc_1, - fd, - closeopt, - ); - return NSFileHandle._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_835(this.pointer, + _sel_initWithFileDescriptor_closeOnDealloc_, fd, closeopt); + return NSFileHandle._(_ret, retain: true, release: true); } NSFileHandle? initWithCoder_(NSCoder coder) { - final _ret = _lib._objc_msgSend_47( - this.pointer, - _lib._sel_initWithCoder_1, - coder.pointer, - ); + final _ret = + _objc_msgSend_47(this.pointer, _sel_initWithCoder_, coder.pointer); return _ret.address == 0 ? null - : NSFileHandle._(_ret, _lib, retain: true, release: true); + : NSFileHandle._(_ret, retain: true, release: true); } NSData? readDataToEndOfFileAndReturnError_( - ffi.Pointer> error, - ) { - final _ret = _lib._objc_msgSend_836( - this.pointer, - _lib._sel_readDataToEndOfFileAndReturnError_1, - error, - ); + ffi.Pointer> error) { + final _ret = _objc_msgSend_836( + this.pointer, _sel_readDataToEndOfFileAndReturnError_, error); return _ret.address == 0 ? null - : NSData._(_ret, _lib, retain: true, release: true); + : NSData._(_ret, retain: true, release: true); } NSData? readDataUpToLength_error_( - int length, - ffi.Pointer> error, - ) { - final _ret = _lib._objc_msgSend_837( - this.pointer, - _lib._sel_readDataUpToLength_error_1, - length, - error, - ); + int length, ffi.Pointer> error) { + final _ret = _objc_msgSend_837( + this.pointer, _sel_readDataUpToLength_error_, length, error); return _ret.address == 0 ? null - : NSData._(_ret, _lib, retain: true, release: true); + : NSData._(_ret, retain: true, release: true); } bool writeData_error_( - NSData data, - ffi.Pointer> error, - ) { - return _lib._objc_msgSend_838( - this.pointer, - _lib._sel_writeData_error_1, - data.pointer, - error, - ); - } - - bool getOffset_error_( - ffi.Pointer offsetInFile, - ffi.Pointer> error, - ) { - return _lib._objc_msgSend_839( - this.pointer, - _lib._sel_getOffset_error_1, - offsetInFile, - error, - ); + NSData data, ffi.Pointer> error) { + return _objc_msgSend_838( + this.pointer, _sel_writeData_error_, data.pointer, error); + } + + bool getOffset_error_(ffi.Pointer offsetInFile, + ffi.Pointer> error) { + return _objc_msgSend_839( + this.pointer, _sel_getOffset_error_, offsetInFile, error); } bool seekToEndReturningOffset_error_( - ffi.Pointer offsetInFile, - ffi.Pointer> error, - ) { - return _lib._objc_msgSend_839( - this.pointer, - _lib._sel_seekToEndReturningOffset_error_1, - offsetInFile, - error, - ); + ffi.Pointer offsetInFile, + ffi.Pointer> error) { + return _objc_msgSend_839(this.pointer, _sel_seekToEndReturningOffset_error_, + offsetInFile, error); } bool seekToOffset_error_( - int offset, - ffi.Pointer> error, - ) { - return _lib._objc_msgSend_840( - this.pointer, - _lib._sel_seekToOffset_error_1, - offset, - error, - ); + int offset, ffi.Pointer> error) { + return _objc_msgSend_840( + this.pointer, _sel_seekToOffset_error_, offset, error); } bool truncateAtOffset_error_( - int offset, - ffi.Pointer> error, - ) { - return _lib._objc_msgSend_840( - this.pointer, - _lib._sel_truncateAtOffset_error_1, - offset, - error, - ); + int offset, ffi.Pointer> error) { + return _objc_msgSend_840( + this.pointer, _sel_truncateAtOffset_error_, offset, error); } bool synchronizeAndReturnError_( - ffi.Pointer> error, - ) { - return _lib._objc_msgSend_255( - this.pointer, - _lib._sel_synchronizeAndReturnError_1, - error, - ); + ffi.Pointer> error) { + return _objc_msgSend_255( + this.pointer, _sel_synchronizeAndReturnError_, error); } bool closeAndReturnError_(ffi.Pointer> error) { - return _lib._objc_msgSend_255( - this.pointer, - _lib._sel_closeAndReturnError_1, - error, - ); + return _objc_msgSend_255(this.pointer, _sel_closeAndReturnError_, error); } - static NSFileHandle getFileHandleWithStandardInput(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_841( - _lib._class_NSFileHandle1, - _lib._sel_fileHandleWithStandardInput1, - ); - return NSFileHandle._(_ret, _lib, retain: true, release: true); + static NSFileHandle getFileHandleWithStandardInput() { + final _ret = _objc_msgSend_841( + _class_NSFileHandle, _sel_fileHandleWithStandardInput); + return NSFileHandle._(_ret, retain: true, release: true); } - static NSFileHandle getFileHandleWithStandardOutput(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_841( - _lib._class_NSFileHandle1, - _lib._sel_fileHandleWithStandardOutput1, - ); - return NSFileHandle._(_ret, _lib, retain: true, release: true); + static NSFileHandle getFileHandleWithStandardOutput() { + final _ret = _objc_msgSend_841( + _class_NSFileHandle, _sel_fileHandleWithStandardOutput); + return NSFileHandle._(_ret, retain: true, release: true); } - static NSFileHandle getFileHandleWithStandardError(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_841( - _lib._class_NSFileHandle1, - _lib._sel_fileHandleWithStandardError1, - ); - return NSFileHandle._(_ret, _lib, retain: true, release: true); + static NSFileHandle getFileHandleWithStandardError() { + final _ret = _objc_msgSend_841( + _class_NSFileHandle, _sel_fileHandleWithStandardError); + return NSFileHandle._(_ret, retain: true, release: true); } - static NSFileHandle getFileHandleWithNullDevice(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_841( - _lib._class_NSFileHandle1, - _lib._sel_fileHandleWithNullDevice1, - ); - return NSFileHandle._(_ret, _lib, retain: true, release: true); + static NSFileHandle getFileHandleWithNullDevice() { + final _ret = + _objc_msgSend_841(_class_NSFileHandle, _sel_fileHandleWithNullDevice); + return NSFileHandle._(_ret, retain: true, release: true); } - static NSFileHandle? fileHandleForReadingAtPath_( - SwiftLibrary _lib, - NSString path, - ) { - final _ret = _lib._objc_msgSend_38( - _lib._class_NSFileHandle1, - _lib._sel_fileHandleForReadingAtPath_1, - path.pointer, - ); + static NSFileHandle? fileHandleForReadingAtPath_(NSString path) { + final _ret = _objc_msgSend_38( + _class_NSFileHandle, _sel_fileHandleForReadingAtPath_, path.pointer); return _ret.address == 0 ? null - : NSFileHandle._(_ret, _lib, retain: true, release: true); + : NSFileHandle._(_ret, retain: true, release: true); } - static NSFileHandle? fileHandleForWritingAtPath_( - SwiftLibrary _lib, - NSString path, - ) { - final _ret = _lib._objc_msgSend_38( - _lib._class_NSFileHandle1, - _lib._sel_fileHandleForWritingAtPath_1, - path.pointer, - ); + static NSFileHandle? fileHandleForWritingAtPath_(NSString path) { + final _ret = _objc_msgSend_38( + _class_NSFileHandle, _sel_fileHandleForWritingAtPath_, path.pointer); return _ret.address == 0 ? null - : NSFileHandle._(_ret, _lib, retain: true, release: true); + : NSFileHandle._(_ret, retain: true, release: true); } - static NSFileHandle? fileHandleForUpdatingAtPath_( - SwiftLibrary _lib, - NSString path, - ) { - final _ret = _lib._objc_msgSend_38( - _lib._class_NSFileHandle1, - _lib._sel_fileHandleForUpdatingAtPath_1, - path.pointer, - ); + static NSFileHandle? fileHandleForUpdatingAtPath_(NSString path) { + final _ret = _objc_msgSend_38( + _class_NSFileHandle, _sel_fileHandleForUpdatingAtPath_, path.pointer); return _ret.address == 0 ? null - : NSFileHandle._(_ret, _lib, retain: true, release: true); + : NSFileHandle._(_ret, retain: true, release: true); } static NSFileHandle? fileHandleForReadingFromURL_error_( - SwiftLibrary _lib, - NSURL url, - ffi.Pointer> error, - ) { - final _ret = _lib._objc_msgSend_842( - _lib._class_NSFileHandle1, - _lib._sel_fileHandleForReadingFromURL_error_1, - url.pointer, - error, - ); + NSURL url, ffi.Pointer> error) { + final _ret = _objc_msgSend_842(_class_NSFileHandle, + _sel_fileHandleForReadingFromURL_error_, url.pointer, error); return _ret.address == 0 ? null - : NSFileHandle._(_ret, _lib, retain: true, release: true); + : NSFileHandle._(_ret, retain: true, release: true); } static NSFileHandle? fileHandleForWritingToURL_error_( - SwiftLibrary _lib, - NSURL url, - ffi.Pointer> error, - ) { - final _ret = _lib._objc_msgSend_842( - _lib._class_NSFileHandle1, - _lib._sel_fileHandleForWritingToURL_error_1, - url.pointer, - error, - ); + NSURL url, ffi.Pointer> error) { + final _ret = _objc_msgSend_842(_class_NSFileHandle, + _sel_fileHandleForWritingToURL_error_, url.pointer, error); return _ret.address == 0 ? null - : NSFileHandle._(_ret, _lib, retain: true, release: true); + : NSFileHandle._(_ret, retain: true, release: true); } static NSFileHandle? fileHandleForUpdatingURL_error_( - SwiftLibrary _lib, - NSURL url, - ffi.Pointer> error, - ) { - final _ret = _lib._objc_msgSend_842( - _lib._class_NSFileHandle1, - _lib._sel_fileHandleForUpdatingURL_error_1, - url.pointer, - error, - ); + NSURL url, ffi.Pointer> error) { + final _ret = _objc_msgSend_842(_class_NSFileHandle, + _sel_fileHandleForUpdatingURL_error_, url.pointer, error); return _ret.address == 0 ? null - : NSFileHandle._(_ret, _lib, retain: true, release: true); + : NSFileHandle._(_ret, retain: true, release: true); } void readInBackgroundAndNotifyForModes_(NSArray? modes) { - _lib._objc_msgSend_843( - this.pointer, - _lib._sel_readInBackgroundAndNotifyForModes_1, - modes?.pointer ?? ffi.nullptr, - ); + _objc_msgSend_843(this.pointer, _sel_readInBackgroundAndNotifyForModes_, + modes?.pointer ?? ffi.nullptr); } void readInBackgroundAndNotify() { - _lib._objc_msgSend_1(this.pointer, _lib._sel_readInBackgroundAndNotify1); + _objc_msgSend_1(this.pointer, _sel_readInBackgroundAndNotify); } void readToEndOfFileInBackgroundAndNotifyForModes_(NSArray? modes) { - _lib._objc_msgSend_843( - this.pointer, - _lib._sel_readToEndOfFileInBackgroundAndNotifyForModes_1, - modes?.pointer ?? ffi.nullptr, - ); + _objc_msgSend_843( + this.pointer, + _sel_readToEndOfFileInBackgroundAndNotifyForModes_, + modes?.pointer ?? ffi.nullptr); } void readToEndOfFileInBackgroundAndNotify() { - _lib._objc_msgSend_1( - this.pointer, - _lib._sel_readToEndOfFileInBackgroundAndNotify1, - ); + _objc_msgSend_1(this.pointer, _sel_readToEndOfFileInBackgroundAndNotify); } void acceptConnectionInBackgroundAndNotifyForModes_(NSArray? modes) { - _lib._objc_msgSend_843( - this.pointer, - _lib._sel_acceptConnectionInBackgroundAndNotifyForModes_1, - modes?.pointer ?? ffi.nullptr, - ); + _objc_msgSend_843( + this.pointer, + _sel_acceptConnectionInBackgroundAndNotifyForModes_, + modes?.pointer ?? ffi.nullptr); } void acceptConnectionInBackgroundAndNotify() { - _lib._objc_msgSend_1( - this.pointer, - _lib._sel_acceptConnectionInBackgroundAndNotify1, - ); + _objc_msgSend_1(this.pointer, _sel_acceptConnectionInBackgroundAndNotify); } void waitForDataInBackgroundAndNotifyForModes_(NSArray? modes) { - _lib._objc_msgSend_843( - this.pointer, - _lib._sel_waitForDataInBackgroundAndNotifyForModes_1, - modes?.pointer ?? ffi.nullptr, - ); + _objc_msgSend_843( + this.pointer, + _sel_waitForDataInBackgroundAndNotifyForModes_, + modes?.pointer ?? ffi.nullptr); } void waitForDataInBackgroundAndNotify() { - _lib._objc_msgSend_1( - this.pointer, - _lib._sel_waitForDataInBackgroundAndNotify1, - ); + _objc_msgSend_1(this.pointer, _sel_waitForDataInBackgroundAndNotify); } ObjCBlock_ffiVoid_NSFileHandle? get readabilityHandler { - final _ret = _lib._objc_msgSend_844( - this.pointer, - _lib._sel_readabilityHandler1, - ); + final _ret = _objc_msgSend_844(this.pointer, _sel_readabilityHandler); return _ret.address == 0 ? null - : ObjCBlock_ffiVoid_NSFileHandle._( - _ret, - _lib, - retain: true, - release: true, - ); + : ObjCBlock_ffiVoid_NSFileHandle._(_ret, retain: true, release: true); } set readabilityHandler(ObjCBlock_ffiVoid_NSFileHandle? value) { - return _lib._objc_msgSend_845( - this.pointer, - _lib._sel_setReadabilityHandler_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_845(this.pointer, _sel_setReadabilityHandler_, + value?.pointer ?? ffi.nullptr); } ObjCBlock_ffiVoid_NSFileHandle? get writeabilityHandler { - final _ret = _lib._objc_msgSend_844( - this.pointer, - _lib._sel_writeabilityHandler1, - ); + final _ret = _objc_msgSend_844(this.pointer, _sel_writeabilityHandler); return _ret.address == 0 ? null - : ObjCBlock_ffiVoid_NSFileHandle._( - _ret, - _lib, - retain: true, - release: true, - ); + : ObjCBlock_ffiVoid_NSFileHandle._(_ret, retain: true, release: true); } set writeabilityHandler(ObjCBlock_ffiVoid_NSFileHandle? value) { - return _lib._objc_msgSend_845( - this.pointer, - _lib._sel_setWriteabilityHandler_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_845(this.pointer, _sel_setWriteabilityHandler_, + value?.pointer ?? ffi.nullptr); } NSFileHandle initWithFileDescriptor_(int fd) { - final _ret = _lib._objc_msgSend_846( - this.pointer, - _lib._sel_initWithFileDescriptor_1, - fd, - ); - return NSFileHandle._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_846(this.pointer, _sel_initWithFileDescriptor_, fd); + return NSFileHandle._(_ret, retain: true, release: true); } int get fileDescriptor { - return _lib._objc_msgSend_237(this.pointer, _lib._sel_fileDescriptor1); + return _objc_msgSend_237(this.pointer, _sel_fileDescriptor); } NSData readDataToEndOfFile() { - final _ret = _lib._objc_msgSend_43( - this.pointer, - _lib._sel_readDataToEndOfFile1, - ); - return NSData._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_43(this.pointer, _sel_readDataToEndOfFile); + return NSData._(_ret, retain: true, release: true); } NSData readDataOfLength_(int length) { - final _ret = _lib._objc_msgSend_847( - this.pointer, - _lib._sel_readDataOfLength_1, - length, - ); - return NSData._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_847(this.pointer, _sel_readDataOfLength_, length); + return NSData._(_ret, retain: true, release: true); } void writeData_(NSData data) { - _lib._objc_msgSend_285(this.pointer, _lib._sel_writeData_1, data.pointer); + _objc_msgSend_285(this.pointer, _sel_writeData_, data.pointer); } int get offsetInFile { - return _lib._objc_msgSend_164(this.pointer, _lib._sel_offsetInFile1); + return _objc_msgSend_164(this.pointer, _sel_offsetInFile); } int seekToEndOfFile() { - return _lib._objc_msgSend_164(this.pointer, _lib._sel_seekToEndOfFile1); + return _objc_msgSend_164(this.pointer, _sel_seekToEndOfFile); } void seekToFileOffset_(int offset) { - _lib._objc_msgSend_848(this.pointer, _lib._sel_seekToFileOffset_1, offset); + _objc_msgSend_848(this.pointer, _sel_seekToFileOffset_, offset); } void truncateFileAtOffset_(int offset) { - _lib._objc_msgSend_848( - this.pointer, - _lib._sel_truncateFileAtOffset_1, - offset, - ); + _objc_msgSend_848(this.pointer, _sel_truncateFileAtOffset_, offset); } void synchronizeFile() { - _lib._objc_msgSend_1(this.pointer, _lib._sel_synchronizeFile1); + _objc_msgSend_1(this.pointer, _sel_synchronizeFile); } void closeFile() { - _lib._objc_msgSend_1(this.pointer, _lib._sel_closeFile1); + _objc_msgSend_1(this.pointer, _sel_closeFile); } @override NSFileHandle init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSFileHandle._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSFileHandle._(_ret, retain: true, release: true); } - static NSFileHandle new1(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSFileHandle1, - _lib._sel_new1, - ); - return NSFileHandle._(_ret, _lib, retain: false, release: true); + static NSFileHandle new1() { + final _ret = _objc_msgSend_2(_class_NSFileHandle, _sel_new); + return NSFileHandle._(_ret, retain: false, release: true); } - static NSFileHandle allocWithZone_( - SwiftLibrary _lib, - ffi.Pointer<_NSZone> zone, - ) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSFileHandle1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSFileHandle._(_ret, _lib, retain: false, release: true); + static NSFileHandle allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = + _objc_msgSend_3(_class_NSFileHandle, _sel_allocWithZone_, zone); + return NSFileHandle._(_ret, retain: false, release: true); } - static NSFileHandle alloc(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSFileHandle1, - _lib._sel_alloc1, - ); - return NSFileHandle._(_ret, _lib, retain: false, release: true); + static NSFileHandle alloc() { + final _ret = _objc_msgSend_2(_class_NSFileHandle, _sel_alloc); + return NSFileHandle._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSFileHandle1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSFileHandle1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSFileHandle1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSFileHandle1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSFileHandle1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSFileHandle1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSFileHandle, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); } - static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSFileHandle1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSFileHandle1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSFileHandle1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSFileHandle, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); + } + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSFileHandle, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSFileHandle, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSFileHandle, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSFileHandle, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); } -} + static void setKeys_triggerChangeNotificationsForDependentKey_( + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSFileHandle, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = _objc_msgSend_85( + _class_NSFileHandle, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = + _objc_msgSend_2(_class_NSFileHandle, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); + } +} + +late final _class_NSFileHandle = objc.getClass("NSFileHandle"); +late final _sel_availableData = objc.registerName("availableData"); +late final _sel_initWithFileDescriptor_closeOnDealloc_ = + objc.registerName("initWithFileDescriptor:closeOnDealloc:"); +final _objc_msgSend_835 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Int fd, + ffi.Bool closeopt)>>() + .asFunction< + instancetype Function(ffi.Pointer, + ffi.Pointer, int, bool)>(); +late final _sel_readDataToEndOfFileAndReturnError_ = + objc.registerName("readDataToEndOfFileAndReturnError:"); +final _objc_msgSend_836 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer> error)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>(); +late final _sel_readDataUpToLength_error_ = + objc.registerName("readDataUpToLength:error:"); +final _objc_msgSend_837 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.UnsignedLong length, + ffi.Pointer> error)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer>)>(); +late final _sel_writeData_error_ = objc.registerName("writeData:error:"); +final _objc_msgSend_838 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer data, + ffi.Pointer> error)>>() + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>(); +late final _sel_getOffset_error_ = objc.registerName("getOffset:error:"); +final _objc_msgSend_839 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer offsetInFile, + ffi.Pointer> error)>>() + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>(); +late final _sel_seekToEndReturningOffset_error_ = + objc.registerName("seekToEndReturningOffset:error:"); +late final _sel_seekToOffset_error_ = objc.registerName("seekToOffset:error:"); +final _objc_msgSend_840 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.UnsignedLongLong offset, + ffi.Pointer> error)>>() + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer>)>(); +late final _sel_truncateAtOffset_error_ = + objc.registerName("truncateAtOffset:error:"); +late final _sel_synchronizeAndReturnError_ = + objc.registerName("synchronizeAndReturnError:"); +late final _sel_closeAndReturnError_ = + objc.registerName("closeAndReturnError:"); +late final _sel_fileHandleWithStandardInput = + objc.registerName("fileHandleWithStandardInput"); +final _objc_msgSend_841 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_fileHandleWithStandardOutput = + objc.registerName("fileHandleWithStandardOutput"); +late final _sel_fileHandleWithStandardError = + objc.registerName("fileHandleWithStandardError"); +late final _sel_fileHandleWithNullDevice = + objc.registerName("fileHandleWithNullDevice"); +late final _sel_fileHandleForReadingAtPath_ = + objc.registerName("fileHandleForReadingAtPath:"); +late final _sel_fileHandleForWritingAtPath_ = + objc.registerName("fileHandleForWritingAtPath:"); +late final _sel_fileHandleForUpdatingAtPath_ = + objc.registerName("fileHandleForUpdatingAtPath:"); +late final _sel_fileHandleForReadingFromURL_error_ = + objc.registerName("fileHandleForReadingFromURL:error:"); +final _objc_msgSend_842 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer url, + ffi.Pointer> error)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>(); +late final _sel_fileHandleForWritingToURL_error_ = + objc.registerName("fileHandleForWritingToURL:error:"); +late final _sel_fileHandleForUpdatingURL_error_ = + objc.registerName("fileHandleForUpdatingURL:error:"); +late final _sel_readInBackgroundAndNotifyForModes_ = + objc.registerName("readInBackgroundAndNotifyForModes:"); +final _objc_msgSend_843 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer modes)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_readInBackgroundAndNotify = + objc.registerName("readInBackgroundAndNotify"); +late final _sel_readToEndOfFileInBackgroundAndNotifyForModes_ = + objc.registerName("readToEndOfFileInBackgroundAndNotifyForModes:"); +late final _sel_readToEndOfFileInBackgroundAndNotify = + objc.registerName("readToEndOfFileInBackgroundAndNotify"); +late final _sel_acceptConnectionInBackgroundAndNotifyForModes_ = + objc.registerName("acceptConnectionInBackgroundAndNotifyForModes:"); +late final _sel_acceptConnectionInBackgroundAndNotify = + objc.registerName("acceptConnectionInBackgroundAndNotify"); +late final _sel_waitForDataInBackgroundAndNotifyForModes_ = + objc.registerName("waitForDataInBackgroundAndNotifyForModes:"); +late final _sel_waitForDataInBackgroundAndNotify = + objc.registerName("waitForDataInBackgroundAndNotify"); void _ObjCBlock_ffiVoid_NSFileHandle_fnPtrTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, -) => + ffi.Pointer block, ffi.Pointer arg0) => block.ref.target .cast< ffi.NativeFunction< @@ -75040,44 +41618,29 @@ final _ObjCBlock_ffiVoid_NSFileHandle_closureRegistry = )>{}; int _ObjCBlock_ffiVoid_NSFileHandle_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_ffiVoid_NSFileHandle_registerClosure( - void Function(ffi.Pointer) fn, -) { + void Function(ffi.Pointer) fn) { final id = ++_ObjCBlock_ffiVoid_NSFileHandle_closureRegistryIndex; _ObjCBlock_ffiVoid_NSFileHandle_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } void _ObjCBlock_ffiVoid_NSFileHandle_closureTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, -) => + ffi.Pointer block, ffi.Pointer arg0) => _ObjCBlock_ffiVoid_NSFileHandle_closureRegistry[block.ref.target.address]!( - arg0, - ); + arg0); class ObjCBlock_ffiVoid_NSFileHandle extends objc.ObjCBlockBase { - ObjCBlock_ffiVoid_NSFileHandle._( - ffi.Pointer pointer, - this._lib, { - bool retain = false, - bool release = true, - }) : super(pointer, retain: retain, release: release); - - SwiftLibrary _lib; + ObjCBlock_ffiVoid_NSFileHandle._(ffi.Pointer pointer, + {bool retain = false, bool release = true}) + : super(pointer, retain: retain, release: release); /// Returns a block that wraps the given raw block pointer. static ObjCBlock_ffiVoid_NSFileHandle castFromPointer( - SwiftLibrary lib, - ffi.Pointer pointer, { - bool retain = false, - bool release = false, - }) { - return ObjCBlock_ffiVoid_NSFileHandle._( - pointer, - lib, - retain: retain, - release: release, - ); + ffi.Pointer pointer, + {bool retain = false, + bool release = false}) { + return ObjCBlock_ffiVoid_NSFileHandle._(pointer, + retain: retain, release: release); } /// Creates a block from a C function pointer. @@ -75086,22 +41649,17 @@ class ObjCBlock_ffiVoid_NSFileHandle extends objc.ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSFileHandle.fromFunctionPointer( - SwiftLibrary lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer arg0)>> - ptr, - ) : this._( - objc.newBlock( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - )>(_ObjCBlock_ffiVoid_NSFileHandle_fnPtrTrampoline) - .cast(), - ptr.cast(), - ), - lib); + ffi.Pointer< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer arg0)>> + ptr) + : this._(objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function(ffi.Pointer, + ffi.Pointer)>( + _ObjCBlock_ffiVoid_NSFileHandle_fnPtrTrampoline) + .cast(), + ptr.cast())); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -75109,23 +41667,16 @@ class ObjCBlock_ffiVoid_NSFileHandle extends objc.ObjCBlockBase { /// This block must be invoked by native code running on the same thread as /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. - ObjCBlock_ffiVoid_NSFileHandle.fromFunction( - SwiftLibrary lib, - void Function(NSFileHandle) fn, - ) : this._( - objc.newBlock( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - )>(_ObjCBlock_ffiVoid_NSFileHandle_closureTrampoline) - .cast(), - _ObjCBlock_ffiVoid_NSFileHandle_registerClosure(( - ffi.Pointer arg0, - ) => - fn(NSFileHandle._(arg0, lib, retain: true, release: true))), - ), - lib); + ObjCBlock_ffiVoid_NSFileHandle.fromFunction(void Function(NSFileHandle) fn) + : this._(objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function(ffi.Pointer, + ffi.Pointer)>( + _ObjCBlock_ffiVoid_NSFileHandle_closureTrampoline) + .cast(), + _ObjCBlock_ffiVoid_NSFileHandle_registerClosure( + (ffi.Pointer arg0) => + fn(NSFileHandle._(arg0, retain: true, release: true))))); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -75137,26 +41688,18 @@ class ObjCBlock_ffiVoid_NSFileHandle extends objc.ObjCBlockBase { /// /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. - ObjCBlock_ffiVoid_NSFileHandle.listener( - SwiftLibrary lib, - void Function(NSFileHandle) fn, - ) : this._( - objc.newBlock( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - )>.listener( - _ObjCBlock_ffiVoid_NSFileHandle_closureTrampoline, - )..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSFileHandle_registerClosure(( - ffi.Pointer arg0, - ) => - fn(NSFileHandle._(arg0, lib, retain: true, release: true))), - ), - lib); + ObjCBlock_ffiVoid_NSFileHandle.listener(void Function(NSFileHandle) fn) + : this._(objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function(ffi.Pointer, + ffi.Pointer)>.listener( + _ObjCBlock_ffiVoid_NSFileHandle_closureTrampoline) + ..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSFileHandle_registerClosure( + (ffi.Pointer arg0) => + fn(NSFileHandle._(arg0, retain: true, release: true))))); static ffi.NativeCallable< ffi.Void Function( ffi.Pointer, ffi.Pointer)>? @@ -75165,586 +41708,583 @@ class ObjCBlock_ffiVoid_NSFileHandle extends objc.ObjCBlockBase { void call(NSFileHandle arg0) => pointer.ref.invoke .cast< ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer block, - ffi.Pointer arg0, - )>>() + ffi.Void Function(ffi.Pointer block, + ffi.Pointer arg0)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer)>()(pointer, arg0.pointer); } +late final _sel_readabilityHandler = objc.registerName("readabilityHandler"); +final _objc_msgSend_844 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_setReadabilityHandler_ = + objc.registerName("setReadabilityHandler:"); +final _objc_msgSend_845 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_writeabilityHandler = objc.registerName("writeabilityHandler"); +late final _sel_setWriteabilityHandler_ = + objc.registerName("setWriteabilityHandler:"); +late final _sel_initWithFileDescriptor_ = + objc.registerName("initWithFileDescriptor:"); +final _objc_msgSend_846 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function(ffi.Pointer obj, + ffi.Pointer sel, ffi.Int fd)>>() + .asFunction< + instancetype Function(ffi.Pointer, + ffi.Pointer, int)>(); +late final _sel_fileDescriptor = objc.registerName("fileDescriptor"); +late final _sel_readDataToEndOfFile = objc.registerName("readDataToEndOfFile"); +late final _sel_readDataOfLength_ = objc.registerName("readDataOfLength:"); +final _objc_msgSend_847 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.UnsignedLong length)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, int)>(); +late final _sel_offsetInFile = objc.registerName("offsetInFile"); +late final _sel_seekToEndOfFile = objc.registerName("seekToEndOfFile"); +late final _sel_seekToFileOffset_ = objc.registerName("seekToFileOffset:"); +final _objc_msgSend_848 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.UnsignedLongLong offset)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, int)>(); +late final _sel_truncateFileAtOffset_ = + objc.registerName("truncateFileAtOffset:"); +late final _sel_synchronizeFile = objc.registerName("synchronizeFile"); +late final _sel_closeFile = objc.registerName("closeFile"); + class NSHTTPCookieStorage extends NSObject { - NSHTTPCookieStorage._( - ffi.Pointer pointer, - SwiftLibrary lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSHTTPCookieStorage._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSHTTPCookieStorage] that points to the same underlying object as [other]. - static NSHTTPCookieStorage castFrom( - SwiftLibrary lib, - T other, - ) { - return NSHTTPCookieStorage._( - other.pointer, - lib, - retain: true, - release: true, - ); + static NSHTTPCookieStorage castFrom(T other) { + return NSHTTPCookieStorage._(other.pointer, retain: true, release: true); } /// Returns a [NSHTTPCookieStorage] that wraps the given raw object pointer. - static NSHTTPCookieStorage castFromPointer( - SwiftLibrary lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSHTTPCookieStorage._(other, lib, retain: retain, release: release); + static NSHTTPCookieStorage castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSHTTPCookieStorage._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSHTTPCookieStorage]. - static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSHTTPCookieStorage1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0( + obj.pointer, _sel_isKindOfClass_, _class_NSHTTPCookieStorage); } - static NSHTTPCookieStorage getSharedHTTPCookieStorage(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_849( - _lib._class_NSHTTPCookieStorage1, - _lib._sel_sharedHTTPCookieStorage1, - ); - return NSHTTPCookieStorage._(_ret, _lib, retain: true, release: true); + static NSHTTPCookieStorage getSharedHTTPCookieStorage() { + final _ret = _objc_msgSend_849( + _class_NSHTTPCookieStorage, _sel_sharedHTTPCookieStorage); + return NSHTTPCookieStorage._(_ret, retain: true, release: true); } static NSHTTPCookieStorage sharedCookieStorageForGroupContainerIdentifier_( - SwiftLibrary _lib, - NSString identifier, - ) { - final _ret = _lib._objc_msgSend_850( - _lib._class_NSHTTPCookieStorage1, - _lib._sel_sharedCookieStorageForGroupContainerIdentifier_1, - identifier.pointer, - ); - return NSHTTPCookieStorage._(_ret, _lib, retain: true, release: true); + NSString identifier) { + final _ret = _objc_msgSend_850( + _class_NSHTTPCookieStorage, + _sel_sharedCookieStorageForGroupContainerIdentifier_, + identifier.pointer); + return NSHTTPCookieStorage._(_ret, retain: true, release: true); } NSArray? get cookies { - final _ret = _lib._objc_msgSend_84(this.pointer, _lib._sel_cookies1); + final _ret = _objc_msgSend_84(this.pointer, _sel_cookies); return _ret.address == 0 ? null - : NSArray._(_ret, _lib, retain: true, release: true); + : NSArray._(_ret, retain: true, release: true); } void setCookie_(NSHTTPCookie cookie) { - _lib._objc_msgSend_854(this.pointer, _lib._sel_setCookie_1, cookie.pointer); + _objc_msgSend_854(this.pointer, _sel_setCookie_, cookie.pointer); } void deleteCookie_(NSHTTPCookie cookie) { - _lib._objc_msgSend_854( - this.pointer, - _lib._sel_deleteCookie_1, - cookie.pointer, - ); + _objc_msgSend_854(this.pointer, _sel_deleteCookie_, cookie.pointer); } void removeCookiesSinceDate_(NSDate date) { - _lib._objc_msgSend_540( - this.pointer, - _lib._sel_removeCookiesSinceDate_1, - date.pointer, - ); + _objc_msgSend_540(this.pointer, _sel_removeCookiesSinceDate_, date.pointer); } NSArray? cookiesForURL_(NSURL URL) { - final _ret = _lib._objc_msgSend_133( - this.pointer, - _lib._sel_cookiesForURL_1, - URL.pointer, - ); + final _ret = + _objc_msgSend_133(this.pointer, _sel_cookiesForURL_, URL.pointer); return _ret.address == 0 ? null - : NSArray._(_ret, _lib, retain: true, release: true); + : NSArray._(_ret, retain: true, release: true); } void setCookies_forURL_mainDocumentURL_( - NSArray cookies, - NSURL? URL, - NSURL? mainDocumentURL, - ) { - _lib._objc_msgSend_855( - this.pointer, - _lib._sel_setCookies_forURL_mainDocumentURL_1, - cookies.pointer, - URL?.pointer ?? ffi.nullptr, - mainDocumentURL?.pointer ?? ffi.nullptr, - ); + NSArray cookies, NSURL? URL, NSURL? mainDocumentURL) { + _objc_msgSend_855( + this.pointer, + _sel_setCookies_forURL_mainDocumentURL_, + cookies.pointer, + URL?.pointer ?? ffi.nullptr, + mainDocumentURL?.pointer ?? ffi.nullptr); } int get cookieAcceptPolicy { - return _lib._objc_msgSend_856(this.pointer, _lib._sel_cookieAcceptPolicy1); + return _objc_msgSend_856(this.pointer, _sel_cookieAcceptPolicy); } set cookieAcceptPolicy(int value) { - return _lib._objc_msgSend_857( - this.pointer, - _lib._sel_setCookieAcceptPolicy_1, - value, - ); + return _objc_msgSend_857(this.pointer, _sel_setCookieAcceptPolicy_, value); } NSArray sortedCookiesUsingDescriptors_(NSArray sortOrder) { - final _ret = _lib._objc_msgSend_68( - this.pointer, - _lib._sel_sortedCookiesUsingDescriptors_1, - sortOrder.pointer, - ); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_68( + this.pointer, _sel_sortedCookiesUsingDescriptors_, sortOrder.pointer); + return NSArray._(_ret, retain: true, release: true); } void storeCookies_forTask_(NSArray cookies, NSURLSessionTask task) { - _lib._objc_msgSend_882( - this.pointer, - _lib._sel_storeCookies_forTask_1, - cookies.pointer, - task.pointer, - ); + _objc_msgSend_882(this.pointer, _sel_storeCookies_forTask_, cookies.pointer, + task.pointer); } void getCookiesForTask_completionHandler_( - NSURLSessionTask task, - ObjCBlock_ffiVoid_NSArray completionHandler, - ) { - _lib._objc_msgSend_883( - this.pointer, - _lib._sel_getCookiesForTask_completionHandler_1, - task.pointer, - completionHandler.pointer, - ); + NSURLSessionTask task, ObjCBlock_ffiVoid_NSArray completionHandler) { + _objc_msgSend_883(this.pointer, _sel_getCookiesForTask_completionHandler_, + task.pointer, completionHandler.pointer); } @override NSHTTPCookieStorage init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSHTTPCookieStorage._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSHTTPCookieStorage._(_ret, retain: true, release: true); } - static NSHTTPCookieStorage new1(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSHTTPCookieStorage1, - _lib._sel_new1, - ); - return NSHTTPCookieStorage._(_ret, _lib, retain: false, release: true); + static NSHTTPCookieStorage new1() { + final _ret = _objc_msgSend_2(_class_NSHTTPCookieStorage, _sel_new); + return NSHTTPCookieStorage._(_ret, retain: false, release: true); } - static NSHTTPCookieStorage allocWithZone_( - SwiftLibrary _lib, - ffi.Pointer<_NSZone> zone, - ) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSHTTPCookieStorage1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSHTTPCookieStorage._(_ret, _lib, retain: false, release: true); + static NSHTTPCookieStorage allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = + _objc_msgSend_3(_class_NSHTTPCookieStorage, _sel_allocWithZone_, zone); + return NSHTTPCookieStorage._(_ret, retain: false, release: true); } - static NSHTTPCookieStorage alloc(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSHTTPCookieStorage1, - _lib._sel_alloc1, - ); - return NSHTTPCookieStorage._(_ret, _lib, retain: false, release: true); + static NSHTTPCookieStorage alloc() { + final _ret = _objc_msgSend_2(_class_NSHTTPCookieStorage, _sel_alloc); + return NSHTTPCookieStorage._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSHTTPCookieStorage1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSHTTPCookieStorage1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSHTTPCookieStorage1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSHTTPCookieStorage1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSHTTPCookieStorage1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSHTTPCookieStorage1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSHTTPCookieStorage, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); } - static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSHTTPCookieStorage1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSHTTPCookieStorage1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSHTTPCookieStorage1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSHTTPCookieStorage, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); + } + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSHTTPCookieStorage, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSHTTPCookieStorage, _sel_useStoredAccessor); } -} + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSHTTPCookieStorage, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSHTTPCookieStorage, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); + } + + static void setKeys_triggerChangeNotificationsForDependentKey_( + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSHTTPCookieStorage, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = _objc_msgSend_85( + _class_NSHTTPCookieStorage, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = _objc_msgSend_2( + _class_NSHTTPCookieStorage, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); + } +} + +late final _class_NSHTTPCookieStorage = objc.getClass("NSHTTPCookieStorage"); +late final _sel_sharedHTTPCookieStorage = + objc.registerName("sharedHTTPCookieStorage"); +final _objc_msgSend_849 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_sharedCookieStorageForGroupContainerIdentifier_ = + objc.registerName("sharedCookieStorageForGroupContainerIdentifier:"); +final _objc_msgSend_850 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer identifier)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_cookies = objc.registerName("cookies"); class NSHTTPCookie extends NSObject { - NSHTTPCookie._( - ffi.Pointer pointer, - SwiftLibrary lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSHTTPCookie._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSHTTPCookie] that points to the same underlying object as [other]. - static NSHTTPCookie castFrom( - SwiftLibrary lib, - T other, - ) { - return NSHTTPCookie._(other.pointer, lib, retain: true, release: true); + static NSHTTPCookie castFrom(T other) { + return NSHTTPCookie._(other.pointer, retain: true, release: true); } /// Returns a [NSHTTPCookie] that wraps the given raw object pointer. - static NSHTTPCookie castFromPointer( - SwiftLibrary lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSHTTPCookie._(other, lib, retain: retain, release: release); + static NSHTTPCookie castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSHTTPCookie._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSHTTPCookie]. - static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSHTTPCookie1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0( + obj.pointer, _sel_isKindOfClass_, _class_NSHTTPCookie); } NSHTTPCookie? initWithProperties_(NSDictionary properties) { - final _ret = _lib._objc_msgSend_851( - this.pointer, - _lib._sel_initWithProperties_1, - properties.pointer, - ); + final _ret = _objc_msgSend_851( + this.pointer, _sel_initWithProperties_, properties.pointer); return _ret.address == 0 ? null - : NSHTTPCookie._(_ret, _lib, retain: true, release: true); + : NSHTTPCookie._(_ret, retain: true, release: true); } - static NSHTTPCookie? cookieWithProperties_( - SwiftLibrary _lib, - NSDictionary properties, - ) { - final _ret = _lib._objc_msgSend_852( - _lib._class_NSHTTPCookie1, - _lib._sel_cookieWithProperties_1, - properties.pointer, - ); + static NSHTTPCookie? cookieWithProperties_(NSDictionary properties) { + final _ret = _objc_msgSend_852( + _class_NSHTTPCookie, _sel_cookieWithProperties_, properties.pointer); return _ret.address == 0 ? null - : NSHTTPCookie._(_ret, _lib, retain: true, release: true); + : NSHTTPCookie._(_ret, retain: true, release: true); } - static NSDictionary requestHeaderFieldsWithCookies_( - SwiftLibrary _lib, - NSArray cookies, - ) { - final _ret = _lib._objc_msgSend_508( - _lib._class_NSHTTPCookie1, - _lib._sel_requestHeaderFieldsWithCookies_1, - cookies.pointer, - ); - return NSDictionary._(_ret, _lib, retain: true, release: true); + static NSDictionary requestHeaderFieldsWithCookies_(NSArray cookies) { + final _ret = _objc_msgSend_508(_class_NSHTTPCookie, + _sel_requestHeaderFieldsWithCookies_, cookies.pointer); + return NSDictionary._(_ret, retain: true, release: true); } static NSArray cookiesWithResponseHeaderFields_forURL_( - SwiftLibrary _lib, - NSDictionary headerFields, - NSURL URL, - ) { - final _ret = _lib._objc_msgSend_853( - _lib._class_NSHTTPCookie1, - _lib._sel_cookiesWithResponseHeaderFields_forURL_1, - headerFields.pointer, - URL.pointer, - ); - return NSArray._(_ret, _lib, retain: true, release: true); + NSDictionary headerFields, NSURL URL) { + final _ret = _objc_msgSend_853( + _class_NSHTTPCookie, + _sel_cookiesWithResponseHeaderFields_forURL_, + headerFields.pointer, + URL.pointer); + return NSArray._(_ret, retain: true, release: true); } NSDictionary? get properties { - final _ret = _lib._objc_msgSend_390(this.pointer, _lib._sel_properties1); + final _ret = _objc_msgSend_390(this.pointer, _sel_properties); return _ret.address == 0 ? null - : NSDictionary._(_ret, _lib, retain: true, release: true); + : NSDictionary._(_ret, retain: true, release: true); } int get version { - return _lib._objc_msgSend_10(this.pointer, _lib._sel_version1); + return _objc_msgSend_10(this.pointer, _sel_version); } NSString get name { - final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_name1); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_name); + return NSString._(_ret, retain: true, release: true); } NSString get value { - final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_value1); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_value); + return NSString._(_ret, retain: true, release: true); } NSDate? get expiresDate { - final _ret = _lib._objc_msgSend_183(this.pointer, _lib._sel_expiresDate1); + final _ret = _objc_msgSend_183(this.pointer, _sel_expiresDate); return _ret.address == 0 ? null - : NSDate._(_ret, _lib, retain: true, release: true); + : NSDate._(_ret, retain: true, release: true); } bool get sessionOnly { - return _lib._objc_msgSend_12(this.pointer, _lib._sel_isSessionOnly1); + return _objc_msgSend_12(this.pointer, _sel_isSessionOnly); } NSString get domain { - final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_domain1); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_domain); + return NSString._(_ret, retain: true, release: true); } NSString get path { - final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_path1); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_path); + return NSString._(_ret, retain: true, release: true); } bool get secure { - return _lib._objc_msgSend_12(this.pointer, _lib._sel_isSecure1); + return _objc_msgSend_12(this.pointer, _sel_isSecure); } bool get HTTPOnly { - return _lib._objc_msgSend_12(this.pointer, _lib._sel_isHTTPOnly1); + return _objc_msgSend_12(this.pointer, _sel_isHTTPOnly); } NSString? get comment { - final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_comment1); + final _ret = _objc_msgSend_44(this.pointer, _sel_comment); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } NSURL? get commentURL { - final _ret = _lib._objc_msgSend_45(this.pointer, _lib._sel_commentURL1); + final _ret = _objc_msgSend_45(this.pointer, _sel_commentURL); return _ret.address == 0 ? null - : NSURL._(_ret, _lib, retain: true, release: true); + : NSURL._(_ret, retain: true, release: true); } NSArray? get portList { - final _ret = _lib._objc_msgSend_84(this.pointer, _lib._sel_portList1); + final _ret = _objc_msgSend_84(this.pointer, _sel_portList); return _ret.address == 0 ? null - : NSArray._(_ret, _lib, retain: true, release: true); + : NSArray._(_ret, retain: true, release: true); } NSString? get sameSitePolicy { - final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_sameSitePolicy1); + final _ret = _objc_msgSend_44(this.pointer, _sel_sameSitePolicy); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } @override NSHTTPCookie init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSHTTPCookie._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSHTTPCookie._(_ret, retain: true, release: true); } - static NSHTTPCookie new1(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSHTTPCookie1, - _lib._sel_new1, - ); - return NSHTTPCookie._(_ret, _lib, retain: false, release: true); + static NSHTTPCookie new1() { + final _ret = _objc_msgSend_2(_class_NSHTTPCookie, _sel_new); + return NSHTTPCookie._(_ret, retain: false, release: true); } - static NSHTTPCookie allocWithZone_( - SwiftLibrary _lib, - ffi.Pointer<_NSZone> zone, - ) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSHTTPCookie1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSHTTPCookie._(_ret, _lib, retain: false, release: true); + static NSHTTPCookie allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = + _objc_msgSend_3(_class_NSHTTPCookie, _sel_allocWithZone_, zone); + return NSHTTPCookie._(_ret, retain: false, release: true); } - static NSHTTPCookie alloc(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSHTTPCookie1, - _lib._sel_alloc1, - ); - return NSHTTPCookie._(_ret, _lib, retain: false, release: true); + static NSHTTPCookie alloc() { + final _ret = _objc_msgSend_2(_class_NSHTTPCookie, _sel_alloc); + return NSHTTPCookie._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSHTTPCookie1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSHTTPCookie1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSHTTPCookie1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSHTTPCookie1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSHTTPCookie1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSHTTPCookie1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSHTTPCookie, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); } - static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSHTTPCookie1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSHTTPCookie1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSHTTPCookie1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSHTTPCookie, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); } -} + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSHTTPCookie, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSHTTPCookie, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSHTTPCookie, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSHTTPCookie, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); + } + + static void setKeys_triggerChangeNotificationsForDependentKey_( + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSHTTPCookie, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = _objc_msgSend_85( + _class_NSHTTPCookie, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = + _objc_msgSend_2(_class_NSHTTPCookie, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); + } +} + +late final _class_NSHTTPCookie = objc.getClass("NSHTTPCookie"); +late final _sel_initWithProperties_ = objc.registerName("initWithProperties:"); +final _objc_msgSend_851 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer properties)>>() + .asFunction< + instancetype Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_cookieWithProperties_ = + objc.registerName("cookieWithProperties:"); +final _objc_msgSend_852 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer properties)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_requestHeaderFieldsWithCookies_ = + objc.registerName("requestHeaderFieldsWithCookies:"); +late final _sel_cookiesWithResponseHeaderFields_forURL_ = + objc.registerName("cookiesWithResponseHeaderFields:forURL:"); +final _objc_msgSend_853 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer headerFields, + ffi.Pointer URL)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_properties = objc.registerName("properties"); +late final _sel_value = objc.registerName("value"); +late final _sel_expiresDate = objc.registerName("expiresDate"); +late final _sel_isSessionOnly = objc.registerName("isSessionOnly"); +late final _sel_isSecure = objc.registerName("isSecure"); +late final _sel_isHTTPOnly = objc.registerName("isHTTPOnly"); +late final _sel_comment = objc.registerName("comment"); +late final _sel_commentURL = objc.registerName("commentURL"); +late final _sel_portList = objc.registerName("portList"); +late final _sel_sameSitePolicy = objc.registerName("sameSitePolicy"); +late final _sel_setCookie_ = objc.registerName("setCookie:"); +final _objc_msgSend_854 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer cookie)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_deleteCookie_ = objc.registerName("deleteCookie:"); +late final _sel_removeCookiesSinceDate_ = + objc.registerName("removeCookiesSinceDate:"); +late final _sel_cookiesForURL_ = objc.registerName("cookiesForURL:"); +late final _sel_setCookies_forURL_mainDocumentURL_ = + objc.registerName("setCookies:forURL:mainDocumentURL:"); +final _objc_msgSend_855 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer cookies, + ffi.Pointer URL, + ffi.Pointer mainDocumentURL)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); abstract class NSHTTPCookieAcceptPolicy { static const int NSHTTPCookieAcceptPolicyAlways = 0; @@ -75752,699 +42292,520 @@ abstract class NSHTTPCookieAcceptPolicy { static const int NSHTTPCookieAcceptPolicyOnlyFromMainDocumentDomain = 2; } +late final _sel_cookieAcceptPolicy = objc.registerName("cookieAcceptPolicy"); +final _objc_msgSend_856 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + int Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_setCookieAcceptPolicy_ = + objc.registerName("setCookieAcceptPolicy:"); +final _objc_msgSend_857 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer obj, + ffi.Pointer sel, ffi.Int32 value)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, int)>(); +late final _sel_sortedCookiesUsingDescriptors_ = + objc.registerName("sortedCookiesUsingDescriptors:"); + class NSURLSessionTask extends NSObject { - NSURLSessionTask._( - ffi.Pointer pointer, - SwiftLibrary lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSURLSessionTask._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSURLSessionTask] that points to the same underlying object as [other]. - static NSURLSessionTask castFrom( - SwiftLibrary lib, - T other, - ) { - return NSURLSessionTask._(other.pointer, lib, retain: true, release: true); + static NSURLSessionTask castFrom(T other) { + return NSURLSessionTask._(other.pointer, retain: true, release: true); } /// Returns a [NSURLSessionTask] that wraps the given raw object pointer. - static NSURLSessionTask castFromPointer( - SwiftLibrary lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSURLSessionTask._(other, lib, retain: retain, release: release); + static NSURLSessionTask castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSURLSessionTask._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSURLSessionTask]. - static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSURLSessionTask1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0( + obj.pointer, _sel_isKindOfClass_, _class_NSURLSessionTask); } int get taskIdentifier { - return _lib._objc_msgSend_10(this.pointer, _lib._sel_taskIdentifier1); + return _objc_msgSend_10(this.pointer, _sel_taskIdentifier); } NSURLRequest? get originalRequest { - final _ret = _lib._objc_msgSend_876( - this.pointer, - _lib._sel_originalRequest1, - ); + final _ret = _objc_msgSend_876(this.pointer, _sel_originalRequest); return _ret.address == 0 ? null - : NSURLRequest._(_ret, _lib, retain: true, release: true); + : NSURLRequest._(_ret, retain: true, release: true); } NSURLRequest? get currentRequest { - final _ret = _lib._objc_msgSend_876( - this.pointer, - _lib._sel_currentRequest1, - ); + final _ret = _objc_msgSend_876(this.pointer, _sel_currentRequest); return _ret.address == 0 ? null - : NSURLRequest._(_ret, _lib, retain: true, release: true); + : NSURLRequest._(_ret, retain: true, release: true); } NSURLResponse? get response { - final _ret = _lib._objc_msgSend_878(this.pointer, _lib._sel_response1); + final _ret = _objc_msgSend_878(this.pointer, _sel_response); return _ret.address == 0 ? null - : NSURLResponse._(_ret, _lib, retain: true, release: true); + : NSURLResponse._(_ret, retain: true, release: true); } NSObject? get delegate { - final _ret = _lib._objc_msgSend_17(this.pointer, _lib._sel_delegate1); + final _ret = _objc_msgSend_17(this.pointer, _sel_delegate); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } set delegate(NSObject? value) { - return _lib._objc_msgSend_416( - this.pointer, - _lib._sel_setDelegate_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_416( + this.pointer, _sel_setDelegate_, value?.pointer ?? ffi.nullptr); } NSProgress get progress { - final _ret = _lib._objc_msgSend_879(this.pointer, _lib._sel_progress1); - return NSProgress._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_879(this.pointer, _sel_progress); + return NSProgress._(_ret, retain: true, release: true); } NSDate? get earliestBeginDate { - final _ret = _lib._objc_msgSend_183( - this.pointer, - _lib._sel_earliestBeginDate1, - ); + final _ret = _objc_msgSend_183(this.pointer, _sel_earliestBeginDate); return _ret.address == 0 ? null - : NSDate._(_ret, _lib, retain: true, release: true); + : NSDate._(_ret, retain: true, release: true); } set earliestBeginDate(NSDate? value) { - return _lib._objc_msgSend_800( - this.pointer, - _lib._sel_setEarliestBeginDate_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_800(this.pointer, _sel_setEarliestBeginDate_, + value?.pointer ?? ffi.nullptr); } int get countOfBytesClientExpectsToSend { - return _lib._objc_msgSend_666( - this.pointer, - _lib._sel_countOfBytesClientExpectsToSend1, - ); + return _objc_msgSend_666( + this.pointer, _sel_countOfBytesClientExpectsToSend); } set countOfBytesClientExpectsToSend(int value) { - return _lib._objc_msgSend_667( - this.pointer, - _lib._sel_setCountOfBytesClientExpectsToSend_1, - value, - ); + return _objc_msgSend_667( + this.pointer, _sel_setCountOfBytesClientExpectsToSend_, value); } int get countOfBytesClientExpectsToReceive { - return _lib._objc_msgSend_666( - this.pointer, - _lib._sel_countOfBytesClientExpectsToReceive1, - ); + return _objc_msgSend_666( + this.pointer, _sel_countOfBytesClientExpectsToReceive); } set countOfBytesClientExpectsToReceive(int value) { - return _lib._objc_msgSend_667( - this.pointer, - _lib._sel_setCountOfBytesClientExpectsToReceive_1, - value, - ); + return _objc_msgSend_667( + this.pointer, _sel_setCountOfBytesClientExpectsToReceive_, value); } int get countOfBytesSent { - return _lib._objc_msgSend_666(this.pointer, _lib._sel_countOfBytesSent1); + return _objc_msgSend_666(this.pointer, _sel_countOfBytesSent); } int get countOfBytesReceived { - return _lib._objc_msgSend_666( - this.pointer, - _lib._sel_countOfBytesReceived1, - ); + return _objc_msgSend_666(this.pointer, _sel_countOfBytesReceived); } int get countOfBytesExpectedToSend { - return _lib._objc_msgSend_666( - this.pointer, - _lib._sel_countOfBytesExpectedToSend1, - ); + return _objc_msgSend_666(this.pointer, _sel_countOfBytesExpectedToSend); } int get countOfBytesExpectedToReceive { - return _lib._objc_msgSend_666( - this.pointer, - _lib._sel_countOfBytesExpectedToReceive1, - ); + return _objc_msgSend_666(this.pointer, _sel_countOfBytesExpectedToReceive); } NSString? get taskDescription { - final _ret = _lib._objc_msgSend_44( - this.pointer, - _lib._sel_taskDescription1, - ); + final _ret = _objc_msgSend_44(this.pointer, _sel_taskDescription); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } set taskDescription(NSString? value) { - return _lib._objc_msgSend_545( - this.pointer, - _lib._sel_setTaskDescription_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_545( + this.pointer, _sel_setTaskDescription_, value?.pointer ?? ffi.nullptr); } void cancel() { - _lib._objc_msgSend_1(this.pointer, _lib._sel_cancel1); + _objc_msgSend_1(this.pointer, _sel_cancel); } int get state { - return _lib._objc_msgSend_880(this.pointer, _lib._sel_state1); + return _objc_msgSend_880(this.pointer, _sel_state); } NSError? get error { - final _ret = _lib._objc_msgSend_322(this.pointer, _lib._sel_error1); + final _ret = _objc_msgSend_322(this.pointer, _sel_error); return _ret.address == 0 ? null - : NSError._(_ret, _lib, retain: true, release: true); + : NSError._(_ret, retain: true, release: true); } void suspend() { - _lib._objc_msgSend_1(this.pointer, _lib._sel_suspend1); + _objc_msgSend_1(this.pointer, _sel_suspend); } void resume() { - _lib._objc_msgSend_1(this.pointer, _lib._sel_resume1); + _objc_msgSend_1(this.pointer, _sel_resume); } double get priority { return objc.useMsgSendVariants - ? _lib._objc_msgSend_239_fpret(this.pointer, _lib._sel_priority1) - : _lib._objc_msgSend_239(this.pointer, _lib._sel_priority1); + ? _objc_msgSend_239Fpret(this.pointer, _sel_priority) + : _objc_msgSend_239(this.pointer, _sel_priority); } set priority(double value) { - return _lib._objc_msgSend_881(this.pointer, _lib._sel_setPriority_1, value); + return _objc_msgSend_881(this.pointer, _sel_setPriority_, value); } bool get prefersIncrementalDelivery { - return _lib._objc_msgSend_12( - this.pointer, - _lib._sel_prefersIncrementalDelivery1, - ); + return _objc_msgSend_12(this.pointer, _sel_prefersIncrementalDelivery); } set prefersIncrementalDelivery(bool value) { - return _lib._objc_msgSend_527( - this.pointer, - _lib._sel_setPrefersIncrementalDelivery_1, - value, - ); + return _objc_msgSend_527( + this.pointer, _sel_setPrefersIncrementalDelivery_, value); } @override NSURLSessionTask init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSURLSessionTask._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSURLSessionTask._(_ret, retain: true, release: true); } - static NSURLSessionTask new1(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLSessionTask1, - _lib._sel_new1, - ); - return NSURLSessionTask._(_ret, _lib, retain: false, release: true); + static NSURLSessionTask new1() { + final _ret = _objc_msgSend_2(_class_NSURLSessionTask, _sel_new); + return NSURLSessionTask._(_ret, retain: false, release: true); } - static NSURLSessionTask allocWithZone_( - SwiftLibrary _lib, - ffi.Pointer<_NSZone> zone, - ) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSURLSessionTask1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSURLSessionTask._(_ret, _lib, retain: false, release: true); + static NSURLSessionTask allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = + _objc_msgSend_3(_class_NSURLSessionTask, _sel_allocWithZone_, zone); + return NSURLSessionTask._(_ret, retain: false, release: true); } - static NSURLSessionTask alloc(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLSessionTask1, - _lib._sel_alloc1, - ); - return NSURLSessionTask._(_ret, _lib, retain: false, release: true); + static NSURLSessionTask alloc() { + final _ret = _objc_msgSend_2(_class_NSURLSessionTask, _sel_alloc); + return NSURLSessionTask._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSURLSessionTask1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSURLSessionTask1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSURLSessionTask1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSURLSessionTask1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSURLSessionTask1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSURLSessionTask1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSURLSessionTask, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); + } + + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSURLSessionTask, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); + } + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSURLSessionTask, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSURLSessionTask, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSURLSessionTask, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSURLSessionTask, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); } static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSURLSessionTask1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSURLSessionTask1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLSessionTask1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSURLSessionTask, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = _objc_msgSend_85( + _class_NSURLSessionTask, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = + _objc_msgSend_2(_class_NSURLSessionTask, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); } } +late final _class_NSURLSessionTask = objc.getClass("NSURLSessionTask"); +late final _sel_taskIdentifier = objc.registerName("taskIdentifier"); + class NSURLRequest extends NSObject { - NSURLRequest._( - ffi.Pointer pointer, - SwiftLibrary lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSURLRequest._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSURLRequest] that points to the same underlying object as [other]. - static NSURLRequest castFrom( - SwiftLibrary lib, - T other, - ) { - return NSURLRequest._(other.pointer, lib, retain: true, release: true); + static NSURLRequest castFrom(T other) { + return NSURLRequest._(other.pointer, retain: true, release: true); } /// Returns a [NSURLRequest] that wraps the given raw object pointer. - static NSURLRequest castFromPointer( - SwiftLibrary lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSURLRequest._(other, lib, retain: retain, release: release); + static NSURLRequest castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSURLRequest._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSURLRequest]. - static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSURLRequest1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0( + obj.pointer, _sel_isKindOfClass_, _class_NSURLRequest); } - static NSURLRequest requestWithURL_(SwiftLibrary _lib, NSURL URL) { - final _ret = _lib._objc_msgSend_262( - _lib._class_NSURLRequest1, - _lib._sel_requestWithURL_1, - URL.pointer, - ); - return NSURLRequest._(_ret, _lib, retain: true, release: true); + static NSURLRequest requestWithURL_(NSURL URL) { + final _ret = _objc_msgSend_262( + _class_NSURLRequest, _sel_requestWithURL_, URL.pointer); + return NSURLRequest._(_ret, retain: true, release: true); } - static bool getSupportsSecureCoding(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSURLRequest1, - _lib._sel_supportsSecureCoding1, - ); + static bool getSupportsSecureCoding() { + return _objc_msgSend_12(_class_NSURLRequest, _sel_supportsSecureCoding); } static NSURLRequest requestWithURL_cachePolicy_timeoutInterval_( - SwiftLibrary _lib, - NSURL URL, - int cachePolicy, - double timeoutInterval, - ) { - final _ret = _lib._objc_msgSend_858( - _lib._class_NSURLRequest1, - _lib._sel_requestWithURL_cachePolicy_timeoutInterval_1, - URL.pointer, - cachePolicy, - timeoutInterval, - ); - return NSURLRequest._(_ret, _lib, retain: true, release: true); + NSURL URL, int cachePolicy, double timeoutInterval) { + final _ret = _objc_msgSend_858( + _class_NSURLRequest, + _sel_requestWithURL_cachePolicy_timeoutInterval_, + URL.pointer, + cachePolicy, + timeoutInterval); + return NSURLRequest._(_ret, retain: true, release: true); } NSURLRequest initWithURL_(NSURL URL) { - final _ret = _lib._objc_msgSend_262( - this.pointer, - _lib._sel_initWithURL_1, - URL.pointer, - ); - return NSURLRequest._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_262(this.pointer, _sel_initWithURL_, URL.pointer); + return NSURLRequest._(_ret, retain: true, release: true); } NSURLRequest initWithURL_cachePolicy_timeoutInterval_( - NSURL URL, - int cachePolicy, - double timeoutInterval, - ) { - final _ret = _lib._objc_msgSend_858( - this.pointer, - _lib._sel_initWithURL_cachePolicy_timeoutInterval_1, - URL.pointer, - cachePolicy, - timeoutInterval, - ); - return NSURLRequest._(_ret, _lib, retain: true, release: true); + NSURL URL, int cachePolicy, double timeoutInterval) { + final _ret = _objc_msgSend_858( + this.pointer, + _sel_initWithURL_cachePolicy_timeoutInterval_, + URL.pointer, + cachePolicy, + timeoutInterval); + return NSURLRequest._(_ret, retain: true, release: true); } NSURL? get URL { - final _ret = _lib._objc_msgSend_45(this.pointer, _lib._sel_URL1); + final _ret = _objc_msgSend_45(this.pointer, _sel_URL); return _ret.address == 0 ? null - : NSURL._(_ret, _lib, retain: true, release: true); + : NSURL._(_ret, retain: true, release: true); } int get cachePolicy { - return _lib._objc_msgSend_859(this.pointer, _lib._sel_cachePolicy1); + return _objc_msgSend_859(this.pointer, _sel_cachePolicy); } double get timeoutInterval { return objc.useMsgSendVariants - ? _lib._objc_msgSend_165_fpret(this.pointer, _lib._sel_timeoutInterval1) - : _lib._objc_msgSend_165(this.pointer, _lib._sel_timeoutInterval1); + ? _objc_msgSend_165Fpret(this.pointer, _sel_timeoutInterval) + : _objc_msgSend_165(this.pointer, _sel_timeoutInterval); } NSURL? get mainDocumentURL { - final _ret = _lib._objc_msgSend_45( - this.pointer, - _lib._sel_mainDocumentURL1, - ); + final _ret = _objc_msgSend_45(this.pointer, _sel_mainDocumentURL); return _ret.address == 0 ? null - : NSURL._(_ret, _lib, retain: true, release: true); + : NSURL._(_ret, retain: true, release: true); } int get networkServiceType { - return _lib._objc_msgSend_860(this.pointer, _lib._sel_networkServiceType1); + return _objc_msgSend_860(this.pointer, _sel_networkServiceType); } bool get allowsCellularAccess { - return _lib._objc_msgSend_12(this.pointer, _lib._sel_allowsCellularAccess1); + return _objc_msgSend_12(this.pointer, _sel_allowsCellularAccess); } bool get allowsExpensiveNetworkAccess { - return _lib._objc_msgSend_12( - this.pointer, - _lib._sel_allowsExpensiveNetworkAccess1, - ); + return _objc_msgSend_12(this.pointer, _sel_allowsExpensiveNetworkAccess); } bool get allowsConstrainedNetworkAccess { - return _lib._objc_msgSend_12( - this.pointer, - _lib._sel_allowsConstrainedNetworkAccess1, - ); + return _objc_msgSend_12(this.pointer, _sel_allowsConstrainedNetworkAccess); } bool get assumesHTTP3Capable { - return _lib._objc_msgSend_12(this.pointer, _lib._sel_assumesHTTP3Capable1); + return _objc_msgSend_12(this.pointer, _sel_assumesHTTP3Capable); } int get attribution { - return _lib._objc_msgSend_861(this.pointer, _lib._sel_attribution1); + return _objc_msgSend_861(this.pointer, _sel_attribution); } bool get requiresDNSSECValidation { - return _lib._objc_msgSend_12( - this.pointer, - _lib._sel_requiresDNSSECValidation1, - ); + return _objc_msgSend_12(this.pointer, _sel_requiresDNSSECValidation); } NSString? get HTTPMethod { - final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_HTTPMethod1); + final _ret = _objc_msgSend_44(this.pointer, _sel_HTTPMethod); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } NSDictionary? get allHTTPHeaderFields { - final _ret = _lib._objc_msgSend_390( - this.pointer, - _lib._sel_allHTTPHeaderFields1, - ); + final _ret = _objc_msgSend_390(this.pointer, _sel_allHTTPHeaderFields); return _ret.address == 0 ? null - : NSDictionary._(_ret, _lib, retain: true, release: true); + : NSDictionary._(_ret, retain: true, release: true); } NSString? valueForHTTPHeaderField_(NSString field) { - final _ret = _lib._objc_msgSend_186( - this.pointer, - _lib._sel_valueForHTTPHeaderField_1, - field.pointer, - ); + final _ret = _objc_msgSend_186( + this.pointer, _sel_valueForHTTPHeaderField_, field.pointer); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } NSData? get HTTPBody { - final _ret = _lib._objc_msgSend_286(this.pointer, _lib._sel_HTTPBody1); + final _ret = _objc_msgSend_286(this.pointer, _sel_HTTPBody); return _ret.address == 0 ? null - : NSData._(_ret, _lib, retain: true, release: true); + : NSData._(_ret, retain: true, release: true); } NSInputStream? get HTTPBodyStream { - final _ret = _lib._objc_msgSend_875( - this.pointer, - _lib._sel_HTTPBodyStream1, - ); + final _ret = _objc_msgSend_875(this.pointer, _sel_HTTPBodyStream); return _ret.address == 0 ? null - : NSInputStream._(_ret, _lib, retain: true, release: true); + : NSInputStream._(_ret, retain: true, release: true); } bool get HTTPShouldHandleCookies { - return _lib._objc_msgSend_12( - this.pointer, - _lib._sel_HTTPShouldHandleCookies1, - ); + return _objc_msgSend_12(this.pointer, _sel_HTTPShouldHandleCookies); } bool get HTTPShouldUsePipelining { - return _lib._objc_msgSend_12( - this.pointer, - _lib._sel_HTTPShouldUsePipelining1, - ); + return _objc_msgSend_12(this.pointer, _sel_HTTPShouldUsePipelining); } @override NSURLRequest init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSURLRequest._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSURLRequest._(_ret, retain: true, release: true); } - static NSURLRequest new1(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLRequest1, - _lib._sel_new1, - ); - return NSURLRequest._(_ret, _lib, retain: false, release: true); + static NSURLRequest new1() { + final _ret = _objc_msgSend_2(_class_NSURLRequest, _sel_new); + return NSURLRequest._(_ret, retain: false, release: true); } - static NSURLRequest allocWithZone_( - SwiftLibrary _lib, - ffi.Pointer<_NSZone> zone, - ) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSURLRequest1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSURLRequest._(_ret, _lib, retain: false, release: true); + static NSURLRequest allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = + _objc_msgSend_3(_class_NSURLRequest, _sel_allocWithZone_, zone); + return NSURLRequest._(_ret, retain: false, release: true); } - static NSURLRequest alloc(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLRequest1, - _lib._sel_alloc1, - ); - return NSURLRequest._(_ret, _lib, retain: false, release: true); + static NSURLRequest alloc() { + final _ret = _objc_msgSend_2(_class_NSURLRequest, _sel_alloc); + return NSURLRequest._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSURLRequest1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSURLRequest1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSURLRequest1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSURLRequest1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSURLRequest1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSURLRequest1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSURLRequest, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); + } + + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSURLRequest, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); + } + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSURLRequest, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSURLRequest, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSURLRequest, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSURLRequest, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); } static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSURLRequest1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSURLRequest1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLRequest1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSURLRequest, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = _objc_msgSend_85( + _class_NSURLRequest, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = + _objc_msgSend_2(_class_NSURLRequest, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); } } +late final _class_NSURLRequest = objc.getClass("NSURLRequest"); +late final _sel_requestWithURL_ = objc.registerName("requestWithURL:"); +late final _sel_supportsSecureCoding = + objc.registerName("supportsSecureCoding"); + abstract class NSURLRequestCachePolicy { static const int NSURLRequestUseProtocolCachePolicy = 0; static const int NSURLRequestReloadIgnoringLocalCacheData = 1; @@ -76455,6 +42816,39 @@ abstract class NSURLRequestCachePolicy { static const int NSURLRequestReloadRevalidatingCacheData = 5; } +late final _sel_requestWithURL_cachePolicy_timeoutInterval_ = + objc.registerName("requestWithURL:cachePolicy:timeoutInterval:"); +final _objc_msgSend_858 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer URL, + ffi.Int32 cachePolicy, + ffi.Double timeoutInterval)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + double)>(); +late final _sel_initWithURL_cachePolicy_timeoutInterval_ = + objc.registerName("initWithURL:cachePolicy:timeoutInterval:"); +late final _sel_URL = objc.registerName("URL"); +late final _sel_cachePolicy = objc.registerName("cachePolicy"); +final _objc_msgSend_859 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + int Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_timeoutInterval = objc.registerName("timeoutInterval"); +late final _sel_mainDocumentURL = objc.registerName("mainDocumentURL"); + abstract class NSURLRequestNetworkServiceType { static const int NSURLNetworkServiceTypeDefault = 0; static const int NSURLNetworkServiceTypeVoIP = 1; @@ -76467,587 +42861,460 @@ abstract class NSURLRequestNetworkServiceType { static const int NSURLNetworkServiceTypeCallSignaling = 11; } +late final _sel_networkServiceType = objc.registerName("networkServiceType"); +final _objc_msgSend_860 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + int Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_allowsCellularAccess = + objc.registerName("allowsCellularAccess"); +late final _sel_allowsExpensiveNetworkAccess = + objc.registerName("allowsExpensiveNetworkAccess"); +late final _sel_allowsConstrainedNetworkAccess = + objc.registerName("allowsConstrainedNetworkAccess"); +late final _sel_assumesHTTP3Capable = objc.registerName("assumesHTTP3Capable"); + abstract class NSURLRequestAttribution { static const int NSURLRequestAttributionDeveloper = 0; static const int NSURLRequestAttributionUser = 1; } +late final _sel_attribution = objc.registerName("attribution"); +final _objc_msgSend_861 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + int Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_requiresDNSSECValidation = + objc.registerName("requiresDNSSECValidation"); +late final _sel_HTTPMethod = objc.registerName("HTTPMethod"); +late final _sel_allHTTPHeaderFields = objc.registerName("allHTTPHeaderFields"); +late final _sel_valueForHTTPHeaderField_ = + objc.registerName("valueForHTTPHeaderField:"); +late final _sel_HTTPBody = objc.registerName("HTTPBody"); + class NSInputStream extends NSStream { - NSInputStream._( - ffi.Pointer pointer, - SwiftLibrary lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSInputStream._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSInputStream] that points to the same underlying object as [other]. - static NSInputStream castFrom( - SwiftLibrary lib, - T other, - ) { - return NSInputStream._(other.pointer, lib, retain: true, release: true); + static NSInputStream castFrom(T other) { + return NSInputStream._(other.pointer, retain: true, release: true); } /// Returns a [NSInputStream] that wraps the given raw object pointer. - static NSInputStream castFromPointer( - SwiftLibrary lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSInputStream._(other, lib, retain: retain, release: release); + static NSInputStream castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSInputStream._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSInputStream]. - static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSInputStream1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0( + obj.pointer, _sel_isKindOfClass_, _class_NSInputStream); } int read_maxLength_(ffi.Pointer buffer, int len) { - return _lib._objc_msgSend_864( - this.pointer, - _lib._sel_read_maxLength_1, - buffer, - len, - ); - } - - bool getBuffer_length_( - ffi.Pointer> buffer, - ffi.Pointer len, - ) { - return _lib._objc_msgSend_873( - this.pointer, - _lib._sel_getBuffer_length_1, - buffer, - len, - ); + return _objc_msgSend_864(this.pointer, _sel_read_maxLength_, buffer, len); + } + + bool getBuffer_length_(ffi.Pointer> buffer, + ffi.Pointer len) { + return _objc_msgSend_873(this.pointer, _sel_getBuffer_length_, buffer, len); } bool get hasBytesAvailable { - return _lib._objc_msgSend_12(this.pointer, _lib._sel_hasBytesAvailable1); + return _objc_msgSend_12(this.pointer, _sel_hasBytesAvailable); } NSInputStream initWithData_(NSData data) { - final _ret = _lib._objc_msgSend_279( - this.pointer, - _lib._sel_initWithData_1, - data.pointer, - ); - return NSInputStream._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_279(this.pointer, _sel_initWithData_, data.pointer); + return NSInputStream._(_ret, retain: true, release: true); } NSInputStream? initWithURL_(NSURL url) { - final _ret = _lib._objc_msgSend_277( - this.pointer, - _lib._sel_initWithURL_1, - url.pointer, - ); + final _ret = + _objc_msgSend_277(this.pointer, _sel_initWithURL_, url.pointer); return _ret.address == 0 ? null - : NSInputStream._(_ret, _lib, retain: true, release: true); + : NSInputStream._(_ret, retain: true, release: true); } NSInputStream? initWithFileAtPath_(NSString path) { - final _ret = _lib._objc_msgSend_38( - this.pointer, - _lib._sel_initWithFileAtPath_1, - path.pointer, - ); + final _ret = + _objc_msgSend_38(this.pointer, _sel_initWithFileAtPath_, path.pointer); return _ret.address == 0 ? null - : NSInputStream._(_ret, _lib, retain: true, release: true); + : NSInputStream._(_ret, retain: true, release: true); } - static NSInputStream? inputStreamWithData_(SwiftLibrary _lib, NSData data) { - final _ret = _lib._objc_msgSend_874( - _lib._class_NSInputStream1, - _lib._sel_inputStreamWithData_1, - data.pointer, - ); + static NSInputStream? inputStreamWithData_(NSData data) { + final _ret = _objc_msgSend_874( + _class_NSInputStream, _sel_inputStreamWithData_, data.pointer); return _ret.address == 0 ? null - : NSInputStream._(_ret, _lib, retain: true, release: true); + : NSInputStream._(_ret, retain: true, release: true); } - static NSInputStream? inputStreamWithFileAtPath_( - SwiftLibrary _lib, - NSString path, - ) { - final _ret = _lib._objc_msgSend_38( - _lib._class_NSInputStream1, - _lib._sel_inputStreamWithFileAtPath_1, - path.pointer, - ); + static NSInputStream? inputStreamWithFileAtPath_(NSString path) { + final _ret = _objc_msgSend_38( + _class_NSInputStream, _sel_inputStreamWithFileAtPath_, path.pointer); return _ret.address == 0 ? null - : NSInputStream._(_ret, _lib, retain: true, release: true); + : NSInputStream._(_ret, retain: true, release: true); } - static NSInputStream? inputStreamWithURL_(SwiftLibrary _lib, NSURL url) { - final _ret = _lib._objc_msgSend_277( - _lib._class_NSInputStream1, - _lib._sel_inputStreamWithURL_1, - url.pointer, - ); + static NSInputStream? inputStreamWithURL_(NSURL url) { + final _ret = _objc_msgSend_277( + _class_NSInputStream, _sel_inputStreamWithURL_, url.pointer); return _ret.address == 0 ? null - : NSInputStream._(_ret, _lib, retain: true, release: true); + : NSInputStream._(_ret, retain: true, release: true); } static void getStreamsToHostWithName_port_inputStream_outputStream_( - SwiftLibrary _lib, - NSString hostname, - int port, - ffi.Pointer> inputStream, - ffi.Pointer> outputStream, - ) { - _lib._objc_msgSend_867( - _lib._class_NSInputStream1, - _lib._sel_getStreamsToHostWithName_port_inputStream_outputStream_1, - hostname.pointer, - port, - inputStream, - outputStream, - ); + NSString hostname, + int port, + ffi.Pointer> inputStream, + ffi.Pointer> outputStream) { + _objc_msgSend_867( + _class_NSInputStream, + _sel_getStreamsToHostWithName_port_inputStream_outputStream_, + hostname.pointer, + port, + inputStream, + outputStream); } static void getStreamsToHost_port_inputStream_outputStream_( - SwiftLibrary _lib, - NSHost host, - int port, - ffi.Pointer> inputStream, - ffi.Pointer> outputStream, - ) { - _lib._objc_msgSend_871( - _lib._class_NSInputStream1, - _lib._sel_getStreamsToHost_port_inputStream_outputStream_1, - host.pointer, - port, - inputStream, - outputStream, - ); + NSHost host, + int port, + ffi.Pointer> inputStream, + ffi.Pointer> outputStream) { + _objc_msgSend_871( + _class_NSInputStream, + _sel_getStreamsToHost_port_inputStream_outputStream_, + host.pointer, + port, + inputStream, + outputStream); } static void getBoundStreamsWithBufferSize_inputStream_outputStream_( - SwiftLibrary _lib, - int bufferSize, - ffi.Pointer> inputStream, - ffi.Pointer> outputStream, - ) { - _lib._objc_msgSend_872( - _lib._class_NSInputStream1, - _lib._sel_getBoundStreamsWithBufferSize_inputStream_outputStream_1, - bufferSize, - inputStream, - outputStream, - ); + int bufferSize, + ffi.Pointer> inputStream, + ffi.Pointer> outputStream) { + _objc_msgSend_872( + _class_NSInputStream, + _sel_getBoundStreamsWithBufferSize_inputStream_outputStream_, + bufferSize, + inputStream, + outputStream); } @override NSInputStream init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSInputStream._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSInputStream._(_ret, retain: true, release: true); } - static NSInputStream new1(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSInputStream1, - _lib._sel_new1, - ); - return NSInputStream._(_ret, _lib, retain: false, release: true); + static NSInputStream new1() { + final _ret = _objc_msgSend_2(_class_NSInputStream, _sel_new); + return NSInputStream._(_ret, retain: false, release: true); } - static NSInputStream allocWithZone_( - SwiftLibrary _lib, - ffi.Pointer<_NSZone> zone, - ) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSInputStream1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSInputStream._(_ret, _lib, retain: false, release: true); + static NSInputStream allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = + _objc_msgSend_3(_class_NSInputStream, _sel_allocWithZone_, zone); + return NSInputStream._(_ret, retain: false, release: true); } - static NSInputStream alloc(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSInputStream1, - _lib._sel_alloc1, - ); - return NSInputStream._(_ret, _lib, retain: false, release: true); + static NSInputStream alloc() { + final _ret = _objc_msgSend_2(_class_NSInputStream, _sel_alloc); + return NSInputStream._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSInputStream1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSInputStream1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSInputStream1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSInputStream1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSInputStream1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSInputStream1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSInputStream, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); + } + + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSInputStream, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); + } + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSInputStream, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSInputStream, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSInputStream, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSInputStream, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); } static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSInputStream1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSInputStream1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSInputStream1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSInputStream, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = _objc_msgSend_85( + _class_NSInputStream, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = + _objc_msgSend_2(_class_NSInputStream, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); } } +late final _class_NSInputStream = objc.getClass("NSInputStream"); + class NSStream extends NSObject { - NSStream._( - ffi.Pointer pointer, - SwiftLibrary lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSStream._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSStream] that points to the same underlying object as [other]. - static NSStream castFrom( - SwiftLibrary lib, - T other, - ) { - return NSStream._(other.pointer, lib, retain: true, release: true); + static NSStream castFrom(T other) { + return NSStream._(other.pointer, retain: true, release: true); } /// Returns a [NSStream] that wraps the given raw object pointer. - static NSStream castFromPointer( - SwiftLibrary lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSStream._(other, lib, retain: retain, release: release); + static NSStream castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSStream._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSStream]. - static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSStream1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0(obj.pointer, _sel_isKindOfClass_, _class_NSStream); } void open() { - _lib._objc_msgSend_1(this.pointer, _lib._sel_open1); + _objc_msgSend_1(this.pointer, _sel_open); } void close() { - _lib._objc_msgSend_1(this.pointer, _lib._sel_close1); + _objc_msgSend_1(this.pointer, _sel_close); } NSObject? get delegate { - final _ret = _lib._objc_msgSend_17(this.pointer, _lib._sel_delegate1); + final _ret = _objc_msgSend_17(this.pointer, _sel_delegate); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } set delegate(NSObject? value) { - return _lib._objc_msgSend_416( - this.pointer, - _lib._sel_setDelegate_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_416( + this.pointer, _sel_setDelegate_, value?.pointer ?? ffi.nullptr); } NSObject? propertyForKey_(NSString key) { - final _ret = _lib._objc_msgSend_38( - this.pointer, - _lib._sel_propertyForKey_1, - key.pointer, - ); + final _ret = + _objc_msgSend_38(this.pointer, _sel_propertyForKey_, key.pointer); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } bool setProperty_forKey_(NSObject? property, NSString key) { - return _lib._objc_msgSend_862( - this.pointer, - _lib._sel_setProperty_forKey_1, - property?.pointer ?? ffi.nullptr, - key.pointer, - ); + return _objc_msgSend_862(this.pointer, _sel_setProperty_forKey_, + property?.pointer ?? ffi.nullptr, key.pointer); } void scheduleInRunLoop_forMode_(NSRunLoop aRunLoop, NSString mode) { - _lib._objc_msgSend_569( - this.pointer, - _lib._sel_scheduleInRunLoop_forMode_1, - aRunLoop.pointer, - mode.pointer, - ); + _objc_msgSend_569(this.pointer, _sel_scheduleInRunLoop_forMode_, + aRunLoop.pointer, mode.pointer); } void removeFromRunLoop_forMode_(NSRunLoop aRunLoop, NSString mode) { - _lib._objc_msgSend_569( - this.pointer, - _lib._sel_removeFromRunLoop_forMode_1, - aRunLoop.pointer, - mode.pointer, - ); + _objc_msgSend_569(this.pointer, _sel_removeFromRunLoop_forMode_, + aRunLoop.pointer, mode.pointer); } int get streamStatus { - return _lib._objc_msgSend_863(this.pointer, _lib._sel_streamStatus1); + return _objc_msgSend_863(this.pointer, _sel_streamStatus); } NSError? get streamError { - final _ret = _lib._objc_msgSend_322(this.pointer, _lib._sel_streamError1); + final _ret = _objc_msgSend_322(this.pointer, _sel_streamError); return _ret.address == 0 ? null - : NSError._(_ret, _lib, retain: true, release: true); + : NSError._(_ret, retain: true, release: true); } static void getStreamsToHostWithName_port_inputStream_outputStream_( - SwiftLibrary _lib, - NSString hostname, - int port, - ffi.Pointer> inputStream, - ffi.Pointer> outputStream, - ) { - _lib._objc_msgSend_867( - _lib._class_NSStream1, - _lib._sel_getStreamsToHostWithName_port_inputStream_outputStream_1, - hostname.pointer, - port, - inputStream, - outputStream, - ); + NSString hostname, + int port, + ffi.Pointer> inputStream, + ffi.Pointer> outputStream) { + _objc_msgSend_867( + _class_NSStream, + _sel_getStreamsToHostWithName_port_inputStream_outputStream_, + hostname.pointer, + port, + inputStream, + outputStream); } static void getStreamsToHost_port_inputStream_outputStream_( - SwiftLibrary _lib, - NSHost host, - int port, - ffi.Pointer> inputStream, - ffi.Pointer> outputStream, - ) { - _lib._objc_msgSend_871( - _lib._class_NSStream1, - _lib._sel_getStreamsToHost_port_inputStream_outputStream_1, - host.pointer, - port, - inputStream, - outputStream, - ); + NSHost host, + int port, + ffi.Pointer> inputStream, + ffi.Pointer> outputStream) { + _objc_msgSend_871( + _class_NSStream, + _sel_getStreamsToHost_port_inputStream_outputStream_, + host.pointer, + port, + inputStream, + outputStream); } static void getBoundStreamsWithBufferSize_inputStream_outputStream_( - SwiftLibrary _lib, - int bufferSize, - ffi.Pointer> inputStream, - ffi.Pointer> outputStream, - ) { - _lib._objc_msgSend_872( - _lib._class_NSStream1, - _lib._sel_getBoundStreamsWithBufferSize_inputStream_outputStream_1, - bufferSize, - inputStream, - outputStream, - ); + int bufferSize, + ffi.Pointer> inputStream, + ffi.Pointer> outputStream) { + _objc_msgSend_872( + _class_NSStream, + _sel_getBoundStreamsWithBufferSize_inputStream_outputStream_, + bufferSize, + inputStream, + outputStream); } @override NSStream init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSStream._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSStream._(_ret, retain: true, release: true); } - static NSStream new1(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2(_lib._class_NSStream1, _lib._sel_new1); - return NSStream._(_ret, _lib, retain: false, release: true); + static NSStream new1() { + final _ret = _objc_msgSend_2(_class_NSStream, _sel_new); + return NSStream._(_ret, retain: false, release: true); } - static NSStream allocWithZone_(SwiftLibrary _lib, ffi.Pointer<_NSZone> zone) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSStream1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSStream._(_ret, _lib, retain: false, release: true); + static NSStream allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = _objc_msgSend_3(_class_NSStream, _sel_allocWithZone_, zone); + return NSStream._(_ret, retain: false, release: true); } - static NSStream alloc(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2(_lib._class_NSStream1, _lib._sel_alloc1); - return NSStream._(_ret, _lib, retain: false, release: true); + static NSStream alloc() { + final _ret = _objc_msgSend_2(_class_NSStream, _sel_alloc); + return NSStream._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSStream1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSStream1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSStream1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSStream1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSStream1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSStream1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSStream, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); } - static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSStream1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSStream1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSStream1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSStream, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); + } + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSStream, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSStream, _sel_useStoredAccessor); } -} + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSStream, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSStream, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); + } + + static void setKeys_triggerChangeNotificationsForDependentKey_( + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSStream, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = + _objc_msgSend_85(_class_NSStream, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = _objc_msgSend_2(_class_NSStream, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); + } +} + +late final _class_NSStream = objc.getClass("NSStream"); +late final _sel_open = objc.registerName("open"); +late final _sel_close = objc.registerName("close"); +final _objc_msgSend_862 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer property, + ffi.Pointer key)>>() + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); abstract class NSStreamStatus { static const int NSStreamStatusNotOpen = 0; @@ -77060,781 +43327,816 @@ abstract class NSStreamStatus { static const int NSStreamStatusError = 7; } +late final _sel_streamStatus = objc.registerName("streamStatus"); +final _objc_msgSend_863 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + int Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_streamError = objc.registerName("streamError"); + class NSOutputStream extends NSStream { - NSOutputStream._( - ffi.Pointer pointer, - SwiftLibrary lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSOutputStream._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSOutputStream] that points to the same underlying object as [other]. - static NSOutputStream castFrom( - SwiftLibrary lib, - T other, - ) { - return NSOutputStream._(other.pointer, lib, retain: true, release: true); + static NSOutputStream castFrom(T other) { + return NSOutputStream._(other.pointer, retain: true, release: true); } /// Returns a [NSOutputStream] that wraps the given raw object pointer. - static NSOutputStream castFromPointer( - SwiftLibrary lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSOutputStream._(other, lib, retain: retain, release: release); + static NSOutputStream castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSOutputStream._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSOutputStream]. - static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSOutputStream1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0( + obj.pointer, _sel_isKindOfClass_, _class_NSOutputStream); } int write_maxLength_(ffi.Pointer buffer, int len) { - return _lib._objc_msgSend_864( - this.pointer, - _lib._sel_write_maxLength_1, - buffer, - len, - ); + return _objc_msgSend_864(this.pointer, _sel_write_maxLength_, buffer, len); } bool get hasSpaceAvailable { - return _lib._objc_msgSend_12(this.pointer, _lib._sel_hasSpaceAvailable1); + return _objc_msgSend_12(this.pointer, _sel_hasSpaceAvailable); } NSOutputStream initToMemory() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_initToMemory1); - return NSOutputStream._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_initToMemory); + return NSOutputStream._(_ret, retain: true, release: true); } NSOutputStream initToBuffer_capacity_( - ffi.Pointer buffer, - int capacity, - ) { - final _ret = _lib._objc_msgSend_865( - this.pointer, - _lib._sel_initToBuffer_capacity_1, - buffer, - capacity, - ); - return NSOutputStream._(_ret, _lib, retain: true, release: true); + ffi.Pointer buffer, int capacity) { + final _ret = _objc_msgSend_865( + this.pointer, _sel_initToBuffer_capacity_, buffer, capacity); + return NSOutputStream._(_ret, retain: true, release: true); } NSOutputStream? initWithURL_append_(NSURL url, bool shouldAppend) { - final _ret = _lib._objc_msgSend_866( - this.pointer, - _lib._sel_initWithURL_append_1, - url.pointer, - shouldAppend, - ); + final _ret = _objc_msgSend_866( + this.pointer, _sel_initWithURL_append_, url.pointer, shouldAppend); return _ret.address == 0 ? null - : NSOutputStream._(_ret, _lib, retain: true, release: true); + : NSOutputStream._(_ret, retain: true, release: true); } NSOutputStream? initToFileAtPath_append_(NSString path, bool shouldAppend) { - final _ret = _lib._objc_msgSend_40( - this.pointer, - _lib._sel_initToFileAtPath_append_1, - path.pointer, - shouldAppend, - ); + final _ret = _objc_msgSend_40(this.pointer, _sel_initToFileAtPath_append_, + path.pointer, shouldAppend); return _ret.address == 0 ? null - : NSOutputStream._(_ret, _lib, retain: true, release: true); + : NSOutputStream._(_ret, retain: true, release: true); } - static NSOutputStream outputStreamToMemory(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSOutputStream1, - _lib._sel_outputStreamToMemory1, - ); - return NSOutputStream._(_ret, _lib, retain: true, release: true); + static NSOutputStream outputStreamToMemory() { + final _ret = + _objc_msgSend_2(_class_NSOutputStream, _sel_outputStreamToMemory); + return NSOutputStream._(_ret, retain: true, release: true); } static NSOutputStream outputStreamToBuffer_capacity_( - SwiftLibrary _lib, - ffi.Pointer buffer, - int capacity, - ) { - final _ret = _lib._objc_msgSend_865( - _lib._class_NSOutputStream1, - _lib._sel_outputStreamToBuffer_capacity_1, - buffer, - capacity, - ); - return NSOutputStream._(_ret, _lib, retain: true, release: true); + ffi.Pointer buffer, int capacity) { + final _ret = _objc_msgSend_865(_class_NSOutputStream, + _sel_outputStreamToBuffer_capacity_, buffer, capacity); + return NSOutputStream._(_ret, retain: true, release: true); } static NSOutputStream outputStreamToFileAtPath_append_( - SwiftLibrary _lib, - NSString path, - bool shouldAppend, - ) { - final _ret = _lib._objc_msgSend_30( - _lib._class_NSOutputStream1, - _lib._sel_outputStreamToFileAtPath_append_1, - path.pointer, - shouldAppend, - ); - return NSOutputStream._(_ret, _lib, retain: true, release: true); + NSString path, bool shouldAppend) { + final _ret = _objc_msgSend_30(_class_NSOutputStream, + _sel_outputStreamToFileAtPath_append_, path.pointer, shouldAppend); + return NSOutputStream._(_ret, retain: true, release: true); } static NSOutputStream? outputStreamWithURL_append_( - SwiftLibrary _lib, - NSURL url, - bool shouldAppend, - ) { - final _ret = _lib._objc_msgSend_866( - _lib._class_NSOutputStream1, - _lib._sel_outputStreamWithURL_append_1, - url.pointer, - shouldAppend, - ); + NSURL url, bool shouldAppend) { + final _ret = _objc_msgSend_866(_class_NSOutputStream, + _sel_outputStreamWithURL_append_, url.pointer, shouldAppend); return _ret.address == 0 ? null - : NSOutputStream._(_ret, _lib, retain: true, release: true); + : NSOutputStream._(_ret, retain: true, release: true); } static void getStreamsToHostWithName_port_inputStream_outputStream_( - SwiftLibrary _lib, - NSString hostname, - int port, - ffi.Pointer> inputStream, - ffi.Pointer> outputStream, - ) { - _lib._objc_msgSend_867( - _lib._class_NSOutputStream1, - _lib._sel_getStreamsToHostWithName_port_inputStream_outputStream_1, - hostname.pointer, - port, - inputStream, - outputStream, - ); + NSString hostname, + int port, + ffi.Pointer> inputStream, + ffi.Pointer> outputStream) { + _objc_msgSend_867( + _class_NSOutputStream, + _sel_getStreamsToHostWithName_port_inputStream_outputStream_, + hostname.pointer, + port, + inputStream, + outputStream); } static void getStreamsToHost_port_inputStream_outputStream_( - SwiftLibrary _lib, - NSHost host, - int port, - ffi.Pointer> inputStream, - ffi.Pointer> outputStream, - ) { - _lib._objc_msgSend_871( - _lib._class_NSOutputStream1, - _lib._sel_getStreamsToHost_port_inputStream_outputStream_1, - host.pointer, - port, - inputStream, - outputStream, - ); + NSHost host, + int port, + ffi.Pointer> inputStream, + ffi.Pointer> outputStream) { + _objc_msgSend_871( + _class_NSOutputStream, + _sel_getStreamsToHost_port_inputStream_outputStream_, + host.pointer, + port, + inputStream, + outputStream); } static void getBoundStreamsWithBufferSize_inputStream_outputStream_( - SwiftLibrary _lib, - int bufferSize, - ffi.Pointer> inputStream, - ffi.Pointer> outputStream, - ) { - _lib._objc_msgSend_872( - _lib._class_NSOutputStream1, - _lib._sel_getBoundStreamsWithBufferSize_inputStream_outputStream_1, - bufferSize, - inputStream, - outputStream, - ); + int bufferSize, + ffi.Pointer> inputStream, + ffi.Pointer> outputStream) { + _objc_msgSend_872( + _class_NSOutputStream, + _sel_getBoundStreamsWithBufferSize_inputStream_outputStream_, + bufferSize, + inputStream, + outputStream); } @override NSOutputStream init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSOutputStream._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSOutputStream._(_ret, retain: true, release: true); } - static NSOutputStream new1(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSOutputStream1, - _lib._sel_new1, - ); - return NSOutputStream._(_ret, _lib, retain: false, release: true); + static NSOutputStream new1() { + final _ret = _objc_msgSend_2(_class_NSOutputStream, _sel_new); + return NSOutputStream._(_ret, retain: false, release: true); } - static NSOutputStream allocWithZone_( - SwiftLibrary _lib, - ffi.Pointer<_NSZone> zone, - ) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSOutputStream1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSOutputStream._(_ret, _lib, retain: false, release: true); + static NSOutputStream allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = + _objc_msgSend_3(_class_NSOutputStream, _sel_allocWithZone_, zone); + return NSOutputStream._(_ret, retain: false, release: true); } - static NSOutputStream alloc(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSOutputStream1, - _lib._sel_alloc1, - ); - return NSOutputStream._(_ret, _lib, retain: false, release: true); + static NSOutputStream alloc() { + final _ret = _objc_msgSend_2(_class_NSOutputStream, _sel_alloc); + return NSOutputStream._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSOutputStream1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSOutputStream1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSOutputStream1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSOutputStream1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSOutputStream1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSOutputStream1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSOutputStream, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); } - static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSOutputStream1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSOutputStream1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSOutputStream1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSOutputStream, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); + } + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSOutputStream, _sel_accessInstanceVariablesDirectly); } -} + + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSOutputStream, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSOutputStream, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSOutputStream, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); + } + + static void setKeys_triggerChangeNotificationsForDependentKey_( + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSOutputStream, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = _objc_msgSend_85( + _class_NSOutputStream, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = + _objc_msgSend_2(_class_NSOutputStream, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); + } +} + +late final _class_NSOutputStream = objc.getClass("NSOutputStream"); +late final _sel_write_maxLength_ = objc.registerName("write:maxLength:"); +final _objc_msgSend_864 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Long Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer buffer, + ffi.UnsignedLong len)>>() + .asFunction< + int Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer, int)>(); +late final _sel_hasSpaceAvailable = objc.registerName("hasSpaceAvailable"); +late final _sel_initToMemory = objc.registerName("initToMemory"); +late final _sel_initToBuffer_capacity_ = + objc.registerName("initToBuffer:capacity:"); +final _objc_msgSend_865 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer buffer, + ffi.UnsignedLong capacity)>>() + .asFunction< + instancetype Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer, int)>(); +late final _sel_initWithURL_append_ = objc.registerName("initWithURL:append:"); +final _objc_msgSend_866 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer url, + ffi.Bool shouldAppend)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool)>(); +late final _sel_initToFileAtPath_append_ = + objc.registerName("initToFileAtPath:append:"); +late final _sel_outputStreamToMemory = + objc.registerName("outputStreamToMemory"); +late final _sel_outputStreamToBuffer_capacity_ = + objc.registerName("outputStreamToBuffer:capacity:"); +late final _sel_outputStreamToFileAtPath_append_ = + objc.registerName("outputStreamToFileAtPath:append:"); +late final _sel_outputStreamWithURL_append_ = + objc.registerName("outputStreamWithURL:append:"); +late final _sel_getStreamsToHostWithName_port_inputStream_outputStream_ = objc + .registerName("getStreamsToHostWithName:port:inputStream:outputStream:"); +final _objc_msgSend_867 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer hostname, + ffi.Long port, + ffi.Pointer> inputStream, + ffi.Pointer> outputStream)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer>, + ffi.Pointer>)>(); class NSHost extends NSObject { - NSHost._( - ffi.Pointer pointer, - SwiftLibrary lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSHost._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSHost] that points to the same underlying object as [other]. - static NSHost castFrom( - SwiftLibrary lib, - T other, - ) { - return NSHost._(other.pointer, lib, retain: true, release: true); + static NSHost castFrom(T other) { + return NSHost._(other.pointer, retain: true, release: true); } /// Returns a [NSHost] that wraps the given raw object pointer. - static NSHost castFromPointer( - SwiftLibrary lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSHost._(other, lib, retain: retain, release: release); + static NSHost castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSHost._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSHost]. - static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSHost1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0(obj.pointer, _sel_isKindOfClass_, _class_NSHost); } - static NSHost currentHost(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSHost1, - _lib._sel_currentHost1, - ); - return NSHost._(_ret, _lib, retain: true, release: true); + static NSHost currentHost() { + final _ret = _objc_msgSend_2(_class_NSHost, _sel_currentHost); + return NSHost._(_ret, retain: true, release: true); } - static NSHost hostWithName_(SwiftLibrary _lib, NSString? name) { - final _ret = _lib._objc_msgSend_868( - _lib._class_NSHost1, - _lib._sel_hostWithName_1, - name?.pointer ?? ffi.nullptr, - ); - return NSHost._(_ret, _lib, retain: true, release: true); + static NSHost hostWithName_(NSString? name) { + final _ret = _objc_msgSend_868( + _class_NSHost, _sel_hostWithName_, name?.pointer ?? ffi.nullptr); + return NSHost._(_ret, retain: true, release: true); } - static NSHost hostWithAddress_(SwiftLibrary _lib, NSString address) { - final _ret = _lib._objc_msgSend_31( - _lib._class_NSHost1, - _lib._sel_hostWithAddress_1, - address.pointer, - ); - return NSHost._(_ret, _lib, retain: true, release: true); + static NSHost hostWithAddress_(NSString address) { + final _ret = + _objc_msgSend_31(_class_NSHost, _sel_hostWithAddress_, address.pointer); + return NSHost._(_ret, retain: true, release: true); } bool isEqualToHost_(NSHost aHost) { - return _lib._objc_msgSend_869( - this.pointer, - _lib._sel_isEqualToHost_1, - aHost.pointer, - ); + return _objc_msgSend_869(this.pointer, _sel_isEqualToHost_, aHost.pointer); } NSString? get name { - final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_name1); + final _ret = _objc_msgSend_44(this.pointer, _sel_name); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } NSArray get names { - final _ret = _lib._objc_msgSend_85(this.pointer, _lib._sel_names1); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_85(this.pointer, _sel_names); + return NSArray._(_ret, retain: true, release: true); } NSString? get address { - final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_address1); + final _ret = _objc_msgSend_44(this.pointer, _sel_address); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } NSArray get addresses { - final _ret = _lib._objc_msgSend_85(this.pointer, _lib._sel_addresses1); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_85(this.pointer, _sel_addresses); + return NSArray._(_ret, retain: true, release: true); } NSString? get localizedName { - final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_localizedName1); + final _ret = _objc_msgSend_44(this.pointer, _sel_localizedName); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } - static void setHostCacheEnabled_(SwiftLibrary _lib, bool flag) { - _lib._objc_msgSend_870( - _lib._class_NSHost1, - _lib._sel_setHostCacheEnabled_1, - flag, - ); + static void setHostCacheEnabled_(bool flag) { + _objc_msgSend_870(_class_NSHost, _sel_setHostCacheEnabled_, flag); } - static bool isHostCacheEnabled(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSHost1, - _lib._sel_isHostCacheEnabled1, - ); + static bool isHostCacheEnabled() { + return _objc_msgSend_12(_class_NSHost, _sel_isHostCacheEnabled); } - static void flushHostCache(SwiftLibrary _lib) { - _lib._objc_msgSend_1(_lib._class_NSHost1, _lib._sel_flushHostCache1); + static void flushHostCache() { + _objc_msgSend_1(_class_NSHost, _sel_flushHostCache); } @override NSHost init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSHost._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSHost._(_ret, retain: true, release: true); } - static NSHost new1(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2(_lib._class_NSHost1, _lib._sel_new1); - return NSHost._(_ret, _lib, retain: false, release: true); + static NSHost new1() { + final _ret = _objc_msgSend_2(_class_NSHost, _sel_new); + return NSHost._(_ret, retain: false, release: true); } - static NSHost allocWithZone_(SwiftLibrary _lib, ffi.Pointer<_NSZone> zone) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSHost1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSHost._(_ret, _lib, retain: false, release: true); + static NSHost allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = _objc_msgSend_3(_class_NSHost, _sel_allocWithZone_, zone); + return NSHost._(_ret, retain: false, release: true); } - static NSHost alloc(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2(_lib._class_NSHost1, _lib._sel_alloc1); - return NSHost._(_ret, _lib, retain: false, release: true); + static NSHost alloc() { + final _ret = _objc_msgSend_2(_class_NSHost, _sel_alloc); + return NSHost._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSHost1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSHost1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSHost1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSHost1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSHost1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSHost1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSHost, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); } - static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSHost1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSHost1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSHost1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSHost, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); } -} + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSHost, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSHost, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSHost, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64( + _class_NSHost, _sel_automaticallyNotifiesObserversForKey_, key.pointer); + } + + static void setKeys_triggerChangeNotificationsForDependentKey_( + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSHost, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = + _objc_msgSend_85(_class_NSHost, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = _objc_msgSend_2(_class_NSHost, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); + } +} + +late final _class_NSHost = objc.getClass("NSHost"); +late final _sel_currentHost = objc.registerName("currentHost"); +late final _sel_hostWithName_ = objc.registerName("hostWithName:"); +final _objc_msgSend_868 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer name)>>() + .asFunction< + instancetype Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_hostWithAddress_ = objc.registerName("hostWithAddress:"); +late final _sel_isEqualToHost_ = objc.registerName("isEqualToHost:"); +final _objc_msgSend_869 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer aHost)>>() + .asFunction< + bool Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_names = objc.registerName("names"); +late final _sel_address = objc.registerName("address"); +late final _sel_addresses = objc.registerName("addresses"); +late final _sel_localizedName = objc.registerName("localizedName"); +late final _sel_setHostCacheEnabled_ = + objc.registerName("setHostCacheEnabled:"); +final _objc_msgSend_870 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer obj, + ffi.Pointer sel, ffi.Bool flag)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, bool)>(); +late final _sel_isHostCacheEnabled = objc.registerName("isHostCacheEnabled"); +late final _sel_flushHostCache = objc.registerName("flushHostCache"); +late final _sel_getStreamsToHost_port_inputStream_outputStream_ = + objc.registerName("getStreamsToHost:port:inputStream:outputStream:"); +final _objc_msgSend_871 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer host, + ffi.Long port, + ffi.Pointer> inputStream, + ffi.Pointer> outputStream)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer>, + ffi.Pointer>)>(); +late final _sel_getBoundStreamsWithBufferSize_inputStream_outputStream_ = objc + .registerName("getBoundStreamsWithBufferSize:inputStream:outputStream:"); +final _objc_msgSend_872 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.UnsignedLong bufferSize, + ffi.Pointer> inputStream, + ffi.Pointer> outputStream)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer>, + ffi.Pointer>)>(); +late final _sel_read_maxLength_ = objc.registerName("read:maxLength:"); +late final _sel_getBuffer_length_ = objc.registerName("getBuffer:length:"); +final _objc_msgSend_873 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer> buffer, + ffi.Pointer len)>>() + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer)>(); +late final _sel_hasBytesAvailable = objc.registerName("hasBytesAvailable"); +late final _sel_initWithFileAtPath_ = objc.registerName("initWithFileAtPath:"); +late final _sel_inputStreamWithData_ = + objc.registerName("inputStreamWithData:"); +final _objc_msgSend_874 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer data)>>() + .asFunction< + instancetype Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_inputStreamWithFileAtPath_ = + objc.registerName("inputStreamWithFileAtPath:"); +late final _sel_inputStreamWithURL_ = objc.registerName("inputStreamWithURL:"); +late final _sel_HTTPBodyStream = objc.registerName("HTTPBodyStream"); +final _objc_msgSend_875 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_HTTPShouldHandleCookies = + objc.registerName("HTTPShouldHandleCookies"); +late final _sel_HTTPShouldUsePipelining = + objc.registerName("HTTPShouldUsePipelining"); +late final _sel_originalRequest = objc.registerName("originalRequest"); +final _objc_msgSend_876 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_currentRequest = objc.registerName("currentRequest"); class NSURLResponse extends NSObject { - NSURLResponse._( - ffi.Pointer pointer, - SwiftLibrary lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSURLResponse._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSURLResponse] that points to the same underlying object as [other]. - static NSURLResponse castFrom( - SwiftLibrary lib, - T other, - ) { - return NSURLResponse._(other.pointer, lib, retain: true, release: true); + static NSURLResponse castFrom(T other) { + return NSURLResponse._(other.pointer, retain: true, release: true); } /// Returns a [NSURLResponse] that wraps the given raw object pointer. - static NSURLResponse castFromPointer( - SwiftLibrary lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSURLResponse._(other, lib, retain: retain, release: release); + static NSURLResponse castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSURLResponse._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSURLResponse]. - static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSURLResponse1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0( + obj.pointer, _sel_isKindOfClass_, _class_NSURLResponse); } NSURLResponse initWithURL_MIMEType_expectedContentLength_textEncodingName_( - NSURL URL, - NSString? MIMEType, - int length, - NSString? name, - ) { - final _ret = _lib._objc_msgSend_877( - this.pointer, - _lib._sel_initWithURL_MIMEType_expectedContentLength_textEncodingName_1, - URL.pointer, - MIMEType?.pointer ?? ffi.nullptr, - length, - name?.pointer ?? ffi.nullptr, - ); - return NSURLResponse._(_ret, _lib, retain: true, release: true); + NSURL URL, NSString? MIMEType, int length, NSString? name) { + final _ret = _objc_msgSend_877( + this.pointer, + _sel_initWithURL_MIMEType_expectedContentLength_textEncodingName_, + URL.pointer, + MIMEType?.pointer ?? ffi.nullptr, + length, + name?.pointer ?? ffi.nullptr); + return NSURLResponse._(_ret, retain: true, release: true); } NSURL? get URL { - final _ret = _lib._objc_msgSend_45(this.pointer, _lib._sel_URL1); + final _ret = _objc_msgSend_45(this.pointer, _sel_URL); return _ret.address == 0 ? null - : NSURL._(_ret, _lib, retain: true, release: true); + : NSURL._(_ret, retain: true, release: true); } NSString? get MIMEType { - final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_MIMEType1); + final _ret = _objc_msgSend_44(this.pointer, _sel_MIMEType); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } int get expectedContentLength { - return _lib._objc_msgSend_238( - this.pointer, - _lib._sel_expectedContentLength1, - ); + return _objc_msgSend_238(this.pointer, _sel_expectedContentLength); } NSString? get textEncodingName { - final _ret = _lib._objc_msgSend_44( - this.pointer, - _lib._sel_textEncodingName1, - ); + final _ret = _objc_msgSend_44(this.pointer, _sel_textEncodingName); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } NSString? get suggestedFilename { - final _ret = _lib._objc_msgSend_44( - this.pointer, - _lib._sel_suggestedFilename1, - ); + final _ret = _objc_msgSend_44(this.pointer, _sel_suggestedFilename); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } @override NSURLResponse init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSURLResponse._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSURLResponse._(_ret, retain: true, release: true); } - static NSURLResponse new1(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLResponse1, - _lib._sel_new1, - ); - return NSURLResponse._(_ret, _lib, retain: false, release: true); + static NSURLResponse new1() { + final _ret = _objc_msgSend_2(_class_NSURLResponse, _sel_new); + return NSURLResponse._(_ret, retain: false, release: true); } - static NSURLResponse allocWithZone_( - SwiftLibrary _lib, - ffi.Pointer<_NSZone> zone, - ) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSURLResponse1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSURLResponse._(_ret, _lib, retain: false, release: true); + static NSURLResponse allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = + _objc_msgSend_3(_class_NSURLResponse, _sel_allocWithZone_, zone); + return NSURLResponse._(_ret, retain: false, release: true); } - static NSURLResponse alloc(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLResponse1, - _lib._sel_alloc1, - ); - return NSURLResponse._(_ret, _lib, retain: false, release: true); + static NSURLResponse alloc() { + final _ret = _objc_msgSend_2(_class_NSURLResponse, _sel_alloc); + return NSURLResponse._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSURLResponse1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSURLResponse1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSURLResponse1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSURLResponse1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSURLResponse1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSURLResponse1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSURLResponse, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); + } + + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSURLResponse, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); + } + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSURLResponse, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSURLResponse, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSURLResponse, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSURLResponse, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); } static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSURLResponse1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSURLResponse1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLResponse1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSURLResponse, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = _objc_msgSend_85( + _class_NSURLResponse, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = + _objc_msgSend_2(_class_NSURLResponse, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); } } +late final _class_NSURLResponse = objc.getClass("NSURLResponse"); +late final _sel_initWithURL_MIMEType_expectedContentLength_textEncodingName_ = + objc.registerName( + "initWithURL:MIMEType:expectedContentLength:textEncodingName:"); +final _objc_msgSend_877 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer URL, + ffi.Pointer MIMEType, + ffi.Long length, + ffi.Pointer name)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer)>(); +late final _sel_MIMEType = objc.registerName("MIMEType"); +late final _sel_expectedContentLength = + objc.registerName("expectedContentLength"); +late final _sel_textEncodingName = objc.registerName("textEncodingName"); +late final _sel_suggestedFilename = objc.registerName("suggestedFilename"); +late final _sel_response = objc.registerName("response"); +final _objc_msgSend_878 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_progress = objc.registerName("progress"); +final _objc_msgSend_879 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_earliestBeginDate = objc.registerName("earliestBeginDate"); +late final _sel_setEarliestBeginDate_ = + objc.registerName("setEarliestBeginDate:"); +late final _sel_countOfBytesClientExpectsToSend = + objc.registerName("countOfBytesClientExpectsToSend"); +late final _sel_setCountOfBytesClientExpectsToSend_ = + objc.registerName("setCountOfBytesClientExpectsToSend:"); +late final _sel_countOfBytesClientExpectsToReceive = + objc.registerName("countOfBytesClientExpectsToReceive"); +late final _sel_setCountOfBytesClientExpectsToReceive_ = + objc.registerName("setCountOfBytesClientExpectsToReceive:"); +late final _sel_countOfBytesSent = objc.registerName("countOfBytesSent"); +late final _sel_countOfBytesReceived = + objc.registerName("countOfBytesReceived"); +late final _sel_countOfBytesExpectedToSend = + objc.registerName("countOfBytesExpectedToSend"); +late final _sel_countOfBytesExpectedToReceive = + objc.registerName("countOfBytesExpectedToReceive"); +late final _sel_taskDescription = objc.registerName("taskDescription"); +late final _sel_setTaskDescription_ = objc.registerName("setTaskDescription:"); + abstract class NSURLSessionTaskState { static const int NSURLSessionTaskStateRunning = 0; static const int NSURLSessionTaskStateSuspended = 1; @@ -77842,10 +44144,48 @@ abstract class NSURLSessionTaskState { static const int NSURLSessionTaskStateCompleted = 3; } +late final _sel_state = objc.registerName("state"); +final _objc_msgSend_880 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + int Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_suspend = objc.registerName("suspend"); +late final _sel_priority = objc.registerName("priority"); +late final _sel_setPriority_ = objc.registerName("setPriority:"); +final _objc_msgSend_881 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer obj, + ffi.Pointer sel, ffi.Float value)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, double)>(); +late final _sel_prefersIncrementalDelivery = + objc.registerName("prefersIncrementalDelivery"); +late final _sel_setPrefersIncrementalDelivery_ = + objc.registerName("setPrefersIncrementalDelivery:"); +late final _sel_storeCookies_forTask_ = + objc.registerName("storeCookies:forTask:"); +final _objc_msgSend_882 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer cookies, + ffi.Pointer task)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); void _ObjCBlock_ffiVoid_NSArray_fnPtrTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, -) => + ffi.Pointer block, ffi.Pointer arg0) => block.ref.target .cast< ffi.NativeFunction< @@ -77855,44 +44195,28 @@ final _ObjCBlock_ffiVoid_NSArray_closureRegistry = )>{}; int _ObjCBlock_ffiVoid_NSArray_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_ffiVoid_NSArray_registerClosure( - void Function(ffi.Pointer) fn, -) { + void Function(ffi.Pointer) fn) { final id = ++_ObjCBlock_ffiVoid_NSArray_closureRegistryIndex; _ObjCBlock_ffiVoid_NSArray_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } void _ObjCBlock_ffiVoid_NSArray_closureTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, -) => - _ObjCBlock_ffiVoid_NSArray_closureRegistry[block.ref.target.address]!( - arg0, - ); + ffi.Pointer block, ffi.Pointer arg0) => + _ObjCBlock_ffiVoid_NSArray_closureRegistry[block.ref.target.address]!(arg0); class ObjCBlock_ffiVoid_NSArray extends objc.ObjCBlockBase { - ObjCBlock_ffiVoid_NSArray._( - ffi.Pointer pointer, - this._lib, { - bool retain = false, - bool release = true, - }) : super(pointer, retain: retain, release: release); - - SwiftLibrary _lib; + ObjCBlock_ffiVoid_NSArray._(ffi.Pointer pointer, + {bool retain = false, bool release = true}) + : super(pointer, retain: retain, release: release); /// Returns a block that wraps the given raw block pointer. static ObjCBlock_ffiVoid_NSArray castFromPointer( - SwiftLibrary lib, - ffi.Pointer pointer, { - bool retain = false, - bool release = false, - }) { - return ObjCBlock_ffiVoid_NSArray._( - pointer, - lib, - retain: retain, - release: release, - ); + ffi.Pointer pointer, + {bool retain = false, + bool release = false}) { + return ObjCBlock_ffiVoid_NSArray._(pointer, + retain: retain, release: release); } /// Creates a block from a C function pointer. @@ -77901,22 +44225,17 @@ class ObjCBlock_ffiVoid_NSArray extends objc.ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSArray.fromFunctionPointer( - SwiftLibrary lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer arg0)>> - ptr, - ) : this._( - objc.newBlock( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - )>(_ObjCBlock_ffiVoid_NSArray_fnPtrTrampoline) - .cast(), - ptr.cast(), - ), - lib); + ffi.Pointer< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer arg0)>> + ptr) + : this._(objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function(ffi.Pointer, + ffi.Pointer)>( + _ObjCBlock_ffiVoid_NSArray_fnPtrTrampoline) + .cast(), + ptr.cast())); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -77924,27 +44243,17 @@ class ObjCBlock_ffiVoid_NSArray extends objc.ObjCBlockBase { /// This block must be invoked by native code running on the same thread as /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. - ObjCBlock_ffiVoid_NSArray.fromFunction( - SwiftLibrary lib, - void Function(NSArray?) fn, - ) : this._( - objc.newBlock( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - )>(_ObjCBlock_ffiVoid_NSArray_closureTrampoline) - .cast(), - _ObjCBlock_ffiVoid_NSArray_registerClosure(( - ffi.Pointer arg0, - ) => - fn( - arg0.address == 0 - ? null - : NSArray._(arg0, lib, retain: true, release: true), - )), - ), - lib); + ObjCBlock_ffiVoid_NSArray.fromFunction(void Function(NSArray?) fn) + : this._(objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function(ffi.Pointer, + ffi.Pointer)>( + _ObjCBlock_ffiVoid_NSArray_closureTrampoline) + .cast(), + _ObjCBlock_ffiVoid_NSArray_registerClosure( + (ffi.Pointer arg0) => fn(arg0.address == 0 + ? null + : NSArray._(arg0, retain: true, release: true))))); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -77956,30 +44265,19 @@ class ObjCBlock_ffiVoid_NSArray extends objc.ObjCBlockBase { /// /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. - ObjCBlock_ffiVoid_NSArray.listener( - SwiftLibrary lib, - void Function(NSArray?) fn, - ) : this._( - objc.newBlock( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - )>.listener( - _ObjCBlock_ffiVoid_NSArray_closureTrampoline, - )..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSArray_registerClosure(( - ffi.Pointer arg0, - ) => - fn( - arg0.address == 0 - ? null - : NSArray._(arg0, lib, retain: true, release: true), - )), - ), - lib); + ObjCBlock_ffiVoid_NSArray.listener(void Function(NSArray?) fn) + : this._(objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function(ffi.Pointer, + ffi.Pointer)>.listener( + _ObjCBlock_ffiVoid_NSArray_closureTrampoline) + ..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSArray_registerClosure( + (ffi.Pointer arg0) => fn(arg0.address == 0 + ? null + : NSArray._(arg0, retain: true, release: true))))); static ffi.NativeCallable< ffi.Void Function( ffi.Pointer, ffi.Pointer)>? @@ -77988,749 +44286,602 @@ class ObjCBlock_ffiVoid_NSArray extends objc.ObjCBlockBase { void call(NSArray? arg0) => pointer.ref.invoke .cast< ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer block, - ffi.Pointer arg0, - )>>() + ffi.Void Function(ffi.Pointer block, + ffi.Pointer arg0)>>() .asFunction< void Function( ffi.Pointer, ffi.Pointer)>()( pointer, arg0?.pointer ?? ffi.nullptr); } +late final _sel_getCookiesForTask_completionHandler_ = + objc.registerName("getCookiesForTask:completionHandler:"); +final _objc_msgSend_883 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer task, + ffi.Pointer completionHandler)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); + class NSIndexPath extends NSObject { - NSIndexPath._( - ffi.Pointer pointer, - SwiftLibrary lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSIndexPath._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSIndexPath] that points to the same underlying object as [other]. - static NSIndexPath castFrom( - SwiftLibrary lib, - T other, - ) { - return NSIndexPath._(other.pointer, lib, retain: true, release: true); + static NSIndexPath castFrom(T other) { + return NSIndexPath._(other.pointer, retain: true, release: true); } /// Returns a [NSIndexPath] that wraps the given raw object pointer. - static NSIndexPath castFromPointer( - SwiftLibrary lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSIndexPath._(other, lib, retain: retain, release: release); + static NSIndexPath castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSIndexPath._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSIndexPath]. - static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSIndexPath1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0( + obj.pointer, _sel_isKindOfClass_, _class_NSIndexPath); } - static NSIndexPath indexPathWithIndex_(SwiftLibrary _lib, int index) { - final _ret = _lib._objc_msgSend_65( - _lib._class_NSIndexPath1, - _lib._sel_indexPathWithIndex_1, - index, - ); - return NSIndexPath._(_ret, _lib, retain: true, release: true); + static NSIndexPath indexPathWithIndex_(int index) { + final _ret = + _objc_msgSend_65(_class_NSIndexPath, _sel_indexPathWithIndex_, index); + return NSIndexPath._(_ret, retain: true, release: true); } static NSIndexPath indexPathWithIndexes_length_( - SwiftLibrary _lib, - ffi.Pointer indexes, - int length, - ) { - final _ret = _lib._objc_msgSend_884( - _lib._class_NSIndexPath1, - _lib._sel_indexPathWithIndexes_length_1, - indexes, - length, - ); - return NSIndexPath._(_ret, _lib, retain: true, release: true); + ffi.Pointer indexes, int length) { + final _ret = _objc_msgSend_884( + _class_NSIndexPath, _sel_indexPathWithIndexes_length_, indexes, length); + return NSIndexPath._(_ret, retain: true, release: true); } NSIndexPath initWithIndexes_length_( - ffi.Pointer indexes, - int length, - ) { - final _ret = _lib._objc_msgSend_884( - this.pointer, - _lib._sel_initWithIndexes_length_1, - indexes, - length, - ); - return NSIndexPath._(_ret, _lib, retain: true, release: true); + ffi.Pointer indexes, int length) { + final _ret = _objc_msgSend_884( + this.pointer, _sel_initWithIndexes_length_, indexes, length); + return NSIndexPath._(_ret, retain: true, release: true); } NSIndexPath initWithIndex_(int index) { - final _ret = _lib._objc_msgSend_65( - this.pointer, - _lib._sel_initWithIndex_1, - index, - ); - return NSIndexPath._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_65(this.pointer, _sel_initWithIndex_, index); + return NSIndexPath._(_ret, retain: true, release: true); } NSIndexPath indexPathByAddingIndex_(int index) { - final _ret = _lib._objc_msgSend_885( - this.pointer, - _lib._sel_indexPathByAddingIndex_1, - index, - ); - return NSIndexPath._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_885(this.pointer, _sel_indexPathByAddingIndex_, index); + return NSIndexPath._(_ret, retain: true, release: true); } NSIndexPath indexPathByRemovingLastIndex() { - final _ret = _lib._objc_msgSend_886( - this.pointer, - _lib._sel_indexPathByRemovingLastIndex1, - ); - return NSIndexPath._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_886(this.pointer, _sel_indexPathByRemovingLastIndex); + return NSIndexPath._(_ret, retain: true, release: true); } int indexAtPosition_(int position) { - return _lib._objc_msgSend_94( - this.pointer, - _lib._sel_indexAtPosition_1, - position, - ); + return _objc_msgSend_94(this.pointer, _sel_indexAtPosition_, position); } int get length { - return _lib._objc_msgSend_10(this.pointer, _lib._sel_length1); + return _objc_msgSend_10(this.pointer, _sel_length); } void getIndexes_range_( - ffi.Pointer indexes, - _NSRange positionRange, - ) { - _lib._objc_msgSend_887( - this.pointer, - _lib._sel_getIndexes_range_1, - indexes, - positionRange, - ); + ffi.Pointer indexes, _NSRange positionRange) { + _objc_msgSend_887( + this.pointer, _sel_getIndexes_range_, indexes, positionRange); } int compare_(NSIndexPath otherObject) { - return _lib._objc_msgSend_888( - this.pointer, - _lib._sel_compare_1, - otherObject.pointer, - ); + return _objc_msgSend_888(this.pointer, _sel_compare_, otherObject.pointer); } void getIndexes_(ffi.Pointer indexes) { - _lib._objc_msgSend_889(this.pointer, _lib._sel_getIndexes_1, indexes); + _objc_msgSend_889(this.pointer, _sel_getIndexes_, indexes); } @override NSIndexPath init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSIndexPath._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSIndexPath._(_ret, retain: true, release: true); + } + + static NSIndexPath new1() { + final _ret = _objc_msgSend_2(_class_NSIndexPath, _sel_new); + return NSIndexPath._(_ret, retain: false, release: true); + } + + static NSIndexPath allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = _objc_msgSend_3(_class_NSIndexPath, _sel_allocWithZone_, zone); + return NSIndexPath._(_ret, retain: false, release: true); + } + + static NSIndexPath alloc() { + final _ret = _objc_msgSend_2(_class_NSIndexPath, _sel_alloc); + return NSIndexPath._(_ret, retain: false, release: true); + } + + static void cancelPreviousPerformRequestsWithTarget_selector_object_( + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSIndexPath, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); + } + + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSIndexPath, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); + } + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSIndexPath, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSIndexPath, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSIndexPath, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSIndexPath, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); + } + + static void setKeys_triggerChangeNotificationsForDependentKey_( + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSIndexPath, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = _objc_msgSend_85( + _class_NSIndexPath, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = + _objc_msgSend_2(_class_NSIndexPath, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); } +} + +late final _class_NSIndexPath = objc.getClass("NSIndexPath"); +late final _sel_indexPathWithIndex_ = objc.registerName("indexPathWithIndex:"); +late final _sel_indexPathWithIndexes_length_ = + objc.registerName("indexPathWithIndexes:length:"); +final _objc_msgSend_884 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer indexes, + ffi.UnsignedLong length)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int)>(); +late final _sel_initWithIndexes_length_ = + objc.registerName("initWithIndexes:length:"); +late final _sel_indexPathByAddingIndex_ = + objc.registerName("indexPathByAddingIndex:"); +final _objc_msgSend_885 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.UnsignedLong index)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, int)>(); +late final _sel_indexPathByRemovingLastIndex = + objc.registerName("indexPathByRemovingLastIndex"); +final _objc_msgSend_886 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_indexAtPosition_ = objc.registerName("indexAtPosition:"); +late final _sel_getIndexes_range_ = objc.registerName("getIndexes:range:"); +final _objc_msgSend_887 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer indexes, + _NSRange positionRange)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange)>(); +final _objc_msgSend_888 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer otherObject)>>() + .asFunction< + int Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_getIndexes_ = objc.registerName("getIndexes:"); +final _objc_msgSend_889 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer indexes)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); + +class NSInflectionRule extends NSObject { + NSInflectionRule._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); - static NSIndexPath new1(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2(_lib._class_NSIndexPath1, _lib._sel_new1); - return NSIndexPath._(_ret, _lib, retain: false, release: true); + /// Returns a [NSInflectionRule] that points to the same underlying object as [other]. + static NSInflectionRule castFrom(T other) { + return NSInflectionRule._(other.pointer, retain: true, release: true); } - static NSIndexPath allocWithZone_( - SwiftLibrary _lib, - ffi.Pointer<_NSZone> zone, - ) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSIndexPath1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSIndexPath._(_ret, _lib, retain: false, release: true); + /// Returns a [NSInflectionRule] that wraps the given raw object pointer. + static NSInflectionRule castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSInflectionRule._(other, retain: retain, release: release); } - static NSIndexPath alloc(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSIndexPath1, - _lib._sel_alloc1, - ); - return NSIndexPath._(_ret, _lib, retain: false, release: true); + /// Returns whether [obj] is an instance of [NSInflectionRule]. + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0( + obj.pointer, _sel_isKindOfClass_, _class_NSInflectionRule); } - static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSIndexPath1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSIndexPath1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSIndexPath1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSIndexPath1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSIndexPath1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSIndexPath1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + @override + NSObject init() { + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSObject._(_ret, retain: true, release: true); } - static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSIndexPath1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSIndexPath1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSIndexPath1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + static NSInflectionRule getAutomaticRule() { + final _ret = _objc_msgSend_890(_class_NSInflectionRule, _sel_automaticRule); + return NSInflectionRule._(_ret, retain: true, release: true); } -} -class NSInflectionRule extends NSObject { - NSInflectionRule._( - ffi.Pointer pointer, - SwiftLibrary lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); - - /// Returns a [NSInflectionRule] that points to the same underlying object as [other]. - static NSInflectionRule castFrom( - SwiftLibrary lib, - T other, - ) { - return NSInflectionRule._(other.pointer, lib, retain: true, release: true); + static bool canInflectLanguage_(NSString language) { + return _objc_msgSend_64( + _class_NSInflectionRule, _sel_canInflectLanguage_, language.pointer); } - /// Returns a [NSInflectionRule] that wraps the given raw object pointer. - static NSInflectionRule castFromPointer( - SwiftLibrary lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSInflectionRule._(other, lib, retain: retain, release: release); + static bool getCanInflectPreferredLocalization() { + return _objc_msgSend_12( + _class_NSInflectionRule, _sel_canInflectPreferredLocalization); } - /// Returns whether [obj] is an instance of [NSInflectionRule]. - static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSInflectionRule1, - ); + static NSInflectionRule new1() { + final _ret = _objc_msgSend_2(_class_NSInflectionRule, _sel_new); + return NSInflectionRule._(_ret, retain: false, release: true); } - @override - NSObject init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSObject._(_ret, _lib, retain: true, release: true); + static NSInflectionRule allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = + _objc_msgSend_3(_class_NSInflectionRule, _sel_allocWithZone_, zone); + return NSInflectionRule._(_ret, retain: false, release: true); } - static NSInflectionRule getAutomaticRule(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_890( - _lib._class_NSInflectionRule1, - _lib._sel_automaticRule1, - ); - return NSInflectionRule._(_ret, _lib, retain: true, release: true); + static NSInflectionRule alloc() { + final _ret = _objc_msgSend_2(_class_NSInflectionRule, _sel_alloc); + return NSInflectionRule._(_ret, retain: false, release: true); } - static bool canInflectLanguage_(SwiftLibrary _lib, NSString language) { - return _lib._objc_msgSend_64( - _lib._class_NSInflectionRule1, - _lib._sel_canInflectLanguage_1, - language.pointer, - ); + static void cancelPreviousPerformRequestsWithTarget_selector_object_( + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSInflectionRule, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); } - static bool getCanInflectPreferredLocalization(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSInflectionRule1, - _lib._sel_canInflectPreferredLocalization1, - ); + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSInflectionRule, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); } - static NSInflectionRule new1(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSInflectionRule1, - _lib._sel_new1, - ); - return NSInflectionRule._(_ret, _lib, retain: false, release: true); + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSInflectionRule, _sel_accessInstanceVariablesDirectly); } - static NSInflectionRule allocWithZone_( - SwiftLibrary _lib, - ffi.Pointer<_NSZone> zone, - ) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSInflectionRule1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSInflectionRule._(_ret, _lib, retain: false, release: true); + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSInflectionRule, _sel_useStoredAccessor); } - static NSInflectionRule alloc(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSInflectionRule1, - _lib._sel_alloc1, - ); - return NSInflectionRule._(_ret, _lib, retain: false, release: true); + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSInflectionRule, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); } - static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSInflectionRule1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSInflectionRule1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSInflectionRule1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSInflectionRule1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSInflectionRule1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSInflectionRule1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSInflectionRule, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); } static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSInflectionRule1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSInflectionRule1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSInflectionRule1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); - } -} + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSInflectionRule, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = _objc_msgSend_85( + _class_NSInflectionRule, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = + _objc_msgSend_2(_class_NSInflectionRule, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); + } +} + +late final _class_NSInflectionRule = objc.getClass("NSInflectionRule"); +late final _sel_automaticRule = objc.registerName("automaticRule"); +final _objc_msgSend_890 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_canInflectLanguage_ = objc.registerName("canInflectLanguage:"); +late final _sel_canInflectPreferredLocalization = + objc.registerName("canInflectPreferredLocalization"); class NSMorphology extends NSObject { - NSMorphology._( - ffi.Pointer pointer, - SwiftLibrary lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSMorphology._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSMorphology] that points to the same underlying object as [other]. - static NSMorphology castFrom( - SwiftLibrary lib, - T other, - ) { - return NSMorphology._(other.pointer, lib, retain: true, release: true); + static NSMorphology castFrom(T other) { + return NSMorphology._(other.pointer, retain: true, release: true); } /// Returns a [NSMorphology] that wraps the given raw object pointer. - static NSMorphology castFromPointer( - SwiftLibrary lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSMorphology._(other, lib, retain: retain, release: release); + static NSMorphology castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSMorphology._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSMorphology]. - static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSMorphology1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0( + obj.pointer, _sel_isKindOfClass_, _class_NSMorphology); } int get grammaticalGender { - return _lib._objc_msgSend_891(this.pointer, _lib._sel_grammaticalGender1); + return _objc_msgSend_891(this.pointer, _sel_grammaticalGender); } set grammaticalGender(int value) { - return _lib._objc_msgSend_892( - this.pointer, - _lib._sel_setGrammaticalGender_1, - value, - ); + return _objc_msgSend_892(this.pointer, _sel_setGrammaticalGender_, value); } int get partOfSpeech { - return _lib._objc_msgSend_893(this.pointer, _lib._sel_partOfSpeech1); + return _objc_msgSend_893(this.pointer, _sel_partOfSpeech); } set partOfSpeech(int value) { - return _lib._objc_msgSend_894( - this.pointer, - _lib._sel_setPartOfSpeech_1, - value, - ); + return _objc_msgSend_894(this.pointer, _sel_setPartOfSpeech_, value); } int get number { - return _lib._objc_msgSend_895(this.pointer, _lib._sel_number1); + return _objc_msgSend_895(this.pointer, _sel_number); } set number(int value) { - return _lib._objc_msgSend_896(this.pointer, _lib._sel_setNumber_1, value); + return _objc_msgSend_896(this.pointer, _sel_setNumber_, value); } int get grammaticalCase { - return _lib._objc_msgSend_897(this.pointer, _lib._sel_grammaticalCase1); + return _objc_msgSend_897(this.pointer, _sel_grammaticalCase); } set grammaticalCase(int value) { - return _lib._objc_msgSend_898( - this.pointer, - _lib._sel_setGrammaticalCase_1, - value, - ); + return _objc_msgSend_898(this.pointer, _sel_setGrammaticalCase_, value); } int get determination { - return _lib._objc_msgSend_899(this.pointer, _lib._sel_determination1); + return _objc_msgSend_899(this.pointer, _sel_determination); } set determination(int value) { - return _lib._objc_msgSend_900( - this.pointer, - _lib._sel_setDetermination_1, - value, - ); + return _objc_msgSend_900(this.pointer, _sel_setDetermination_, value); } int get grammaticalPerson { - return _lib._objc_msgSend_901(this.pointer, _lib._sel_grammaticalPerson1); + return _objc_msgSend_901(this.pointer, _sel_grammaticalPerson); } set grammaticalPerson(int value) { - return _lib._objc_msgSend_902( - this.pointer, - _lib._sel_setGrammaticalPerson_1, - value, - ); + return _objc_msgSend_902(this.pointer, _sel_setGrammaticalPerson_, value); } int get pronounType { - return _lib._objc_msgSend_903(this.pointer, _lib._sel_pronounType1); + return _objc_msgSend_903(this.pointer, _sel_pronounType); } set pronounType(int value) { - return _lib._objc_msgSend_904( - this.pointer, - _lib._sel_setPronounType_1, - value, - ); + return _objc_msgSend_904(this.pointer, _sel_setPronounType_, value); } int get definiteness { - return _lib._objc_msgSend_905(this.pointer, _lib._sel_definiteness1); + return _objc_msgSend_905(this.pointer, _sel_definiteness); } set definiteness(int value) { - return _lib._objc_msgSend_906( - this.pointer, - _lib._sel_setDefiniteness_1, - value, - ); + return _objc_msgSend_906(this.pointer, _sel_setDefiniteness_, value); } NSMorphologyCustomPronoun? customPronounForLanguage_(NSString language) { - final _ret = _lib._objc_msgSend_907( - this.pointer, - _lib._sel_customPronounForLanguage_1, - language.pointer, - ); + final _ret = _objc_msgSend_907( + this.pointer, _sel_customPronounForLanguage_, language.pointer); return _ret.address == 0 ? null - : NSMorphologyCustomPronoun._(_ret, _lib, retain: true, release: true); + : NSMorphologyCustomPronoun._(_ret, retain: true, release: true); } - bool setCustomPronoun_forLanguage_error_( - NSMorphologyCustomPronoun? features, - NSString language, - ffi.Pointer> error, - ) { - return _lib._objc_msgSend_908( - this.pointer, - _lib._sel_setCustomPronoun_forLanguage_error_1, - features?.pointer ?? ffi.nullptr, - language.pointer, - error, - ); + bool setCustomPronoun_forLanguage_error_(NSMorphologyCustomPronoun? features, + NSString language, ffi.Pointer> error) { + return _objc_msgSend_908( + this.pointer, + _sel_setCustomPronoun_forLanguage_error_, + features?.pointer ?? ffi.nullptr, + language.pointer, + error); } bool get unspecified { - return _lib._objc_msgSend_12(this.pointer, _lib._sel_isUnspecified1); + return _objc_msgSend_12(this.pointer, _sel_isUnspecified); } - static NSMorphology getUserMorphology(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_909( - _lib._class_NSMorphology1, - _lib._sel_userMorphology1, - ); - return NSMorphology._(_ret, _lib, retain: true, release: true); + static NSMorphology getUserMorphology() { + final _ret = _objc_msgSend_909(_class_NSMorphology, _sel_userMorphology); + return NSMorphology._(_ret, retain: true, release: true); } @override NSMorphology init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSMorphology._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSMorphology._(_ret, retain: true, release: true); } - static NSMorphology new1(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSMorphology1, - _lib._sel_new1, - ); - return NSMorphology._(_ret, _lib, retain: false, release: true); + static NSMorphology new1() { + final _ret = _objc_msgSend_2(_class_NSMorphology, _sel_new); + return NSMorphology._(_ret, retain: false, release: true); } - static NSMorphology allocWithZone_( - SwiftLibrary _lib, - ffi.Pointer<_NSZone> zone, - ) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSMorphology1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSMorphology._(_ret, _lib, retain: false, release: true); + static NSMorphology allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = + _objc_msgSend_3(_class_NSMorphology, _sel_allocWithZone_, zone); + return NSMorphology._(_ret, retain: false, release: true); } - static NSMorphology alloc(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSMorphology1, - _lib._sel_alloc1, - ); - return NSMorphology._(_ret, _lib, retain: false, release: true); + static NSMorphology alloc() { + final _ret = _objc_msgSend_2(_class_NSMorphology, _sel_alloc); + return NSMorphology._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSMorphology1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSMorphology1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSMorphology1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSMorphology1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSMorphology1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSMorphology1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSMorphology, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); + } + + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSMorphology, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); + } + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSMorphology, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSMorphology, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSMorphology, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSMorphology, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); } static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSMorphology1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSMorphology1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSMorphology1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSMorphology, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = _objc_msgSend_85( + _class_NSMorphology, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = + _objc_msgSend_2(_class_NSMorphology, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); } } +late final _class_NSMorphology = objc.getClass("NSMorphology"); + abstract class NSGrammaticalGender { static const int NSGrammaticalGenderNotSet = 0; static const int NSGrammaticalGenderFeminine = 1; @@ -78738,6 +44889,26 @@ abstract class NSGrammaticalGender { static const int NSGrammaticalGenderNeuter = 3; } +late final _sel_grammaticalGender = objc.registerName("grammaticalGender"); +final _objc_msgSend_891 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + int Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_setGrammaticalGender_ = + objc.registerName("setGrammaticalGender:"); +final _objc_msgSend_892 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer obj, + ffi.Pointer sel, ffi.Int32 value)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, int)>(); + abstract class NSGrammaticalPartOfSpeech { static const int NSGrammaticalPartOfSpeechNotSet = 0; static const int NSGrammaticalPartOfSpeechDeterminer = 1; @@ -78756,6 +44927,25 @@ abstract class NSGrammaticalPartOfSpeech { static const int NSGrammaticalPartOfSpeechAbbreviation = 14; } +late final _sel_partOfSpeech = objc.registerName("partOfSpeech"); +final _objc_msgSend_893 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + int Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_setPartOfSpeech_ = objc.registerName("setPartOfSpeech:"); +final _objc_msgSend_894 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer obj, + ffi.Pointer sel, ffi.Int32 value)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, int)>(); + abstract class NSGrammaticalNumber { static const int NSGrammaticalNumberNotSet = 0; static const int NSGrammaticalNumberSingular = 1; @@ -78766,6 +44956,25 @@ abstract class NSGrammaticalNumber { static const int NSGrammaticalNumberPluralMany = 6; } +late final _sel_number = objc.registerName("number"); +final _objc_msgSend_895 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + int Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_setNumber_ = objc.registerName("setNumber:"); +final _objc_msgSend_896 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer obj, + ffi.Pointer sel, ffi.Int32 value)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, int)>(); + abstract class NSGrammaticalCase { static const int NSGrammaticalCaseNotSet = 0; static const int NSGrammaticalCaseNominative = 1; @@ -78784,12 +44993,50 @@ abstract class NSGrammaticalCase { static const int NSGrammaticalCaseTranslative = 14; } +late final _sel_grammaticalCase = objc.registerName("grammaticalCase"); +final _objc_msgSend_897 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + int Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_setGrammaticalCase_ = objc.registerName("setGrammaticalCase:"); +final _objc_msgSend_898 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer obj, + ffi.Pointer sel, ffi.Int32 value)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, int)>(); + abstract class NSGrammaticalDetermination { static const int NSGrammaticalDeterminationNotSet = 0; static const int NSGrammaticalDeterminationIndependent = 1; static const int NSGrammaticalDeterminationDependent = 2; } +late final _sel_determination = objc.registerName("determination"); +final _objc_msgSend_899 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + int Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_setDetermination_ = objc.registerName("setDetermination:"); +final _objc_msgSend_900 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer obj, + ffi.Pointer sel, ffi.Int32 value)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, int)>(); + abstract class NSGrammaticalPerson { static const int NSGrammaticalPersonNotSet = 0; static const int NSGrammaticalPersonFirst = 1; @@ -78797,6 +45044,26 @@ abstract class NSGrammaticalPerson { static const int NSGrammaticalPersonThird = 3; } +late final _sel_grammaticalPerson = objc.registerName("grammaticalPerson"); +final _objc_msgSend_901 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + int Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_setGrammaticalPerson_ = + objc.registerName("setGrammaticalPerson:"); +final _objc_msgSend_902 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer obj, + ffi.Pointer sel, ffi.Int32 value)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, int)>(); + abstract class NSGrammaticalPronounType { static const int NSGrammaticalPronounTypeNotSet = 0; static const int NSGrammaticalPronounTypePersonal = 1; @@ -78804,883 +45071,716 @@ abstract class NSGrammaticalPronounType { static const int NSGrammaticalPronounTypePossessive = 3; } +late final _sel_pronounType = objc.registerName("pronounType"); +final _objc_msgSend_903 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + int Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_setPronounType_ = objc.registerName("setPronounType:"); +final _objc_msgSend_904 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer obj, + ffi.Pointer sel, ffi.Int32 value)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, int)>(); + abstract class NSGrammaticalDefiniteness { static const int NSGrammaticalDefinitenessNotSet = 0; static const int NSGrammaticalDefinitenessIndefinite = 1; static const int NSGrammaticalDefinitenessDefinite = 2; } +late final _sel_definiteness = objc.registerName("definiteness"); +final _objc_msgSend_905 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + int Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_setDefiniteness_ = objc.registerName("setDefiniteness:"); +final _objc_msgSend_906 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer obj, + ffi.Pointer sel, ffi.Int32 value)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, int)>(); + class NSMorphologyCustomPronoun extends NSObject { - NSMorphologyCustomPronoun._( - ffi.Pointer pointer, - SwiftLibrary lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSMorphologyCustomPronoun._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSMorphologyCustomPronoun] that points to the same underlying object as [other]. static NSMorphologyCustomPronoun castFrom( - SwiftLibrary lib, - T other, - ) { - return NSMorphologyCustomPronoun._( - other.pointer, - lib, - retain: true, - release: true, - ); + T other) { + return NSMorphologyCustomPronoun._(other.pointer, + retain: true, release: true); } /// Returns a [NSMorphologyCustomPronoun] that wraps the given raw object pointer. static NSMorphologyCustomPronoun castFromPointer( - SwiftLibrary lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSMorphologyCustomPronoun._( - other, - lib, - retain: retain, - release: release, - ); + ffi.Pointer other, + {bool retain = false, + bool release = false}) { + return NSMorphologyCustomPronoun._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSMorphologyCustomPronoun]. - static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSMorphologyCustomPronoun1, - ); - } - - static bool isSupportedForLanguage_(SwiftLibrary _lib, NSString language) { - return _lib._objc_msgSend_64( - _lib._class_NSMorphologyCustomPronoun1, - _lib._sel_isSupportedForLanguage_1, - language.pointer, - ); - } - - static NSArray requiredKeysForLanguage_( - SwiftLibrary _lib, - NSString language, - ) { - final _ret = _lib._objc_msgSend_358( - _lib._class_NSMorphologyCustomPronoun1, - _lib._sel_requiredKeysForLanguage_1, - language.pointer, - ); - return NSArray._(_ret, _lib, retain: true, release: true); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0( + obj.pointer, _sel_isKindOfClass_, _class_NSMorphologyCustomPronoun); + } + + static bool isSupportedForLanguage_(NSString language) { + return _objc_msgSend_64(_class_NSMorphologyCustomPronoun, + _sel_isSupportedForLanguage_, language.pointer); + } + + static NSArray requiredKeysForLanguage_(NSString language) { + final _ret = _objc_msgSend_358(_class_NSMorphologyCustomPronoun, + _sel_requiredKeysForLanguage_, language.pointer); + return NSArray._(_ret, retain: true, release: true); } NSString? get subjectForm { - final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_subjectForm1); + final _ret = _objc_msgSend_44(this.pointer, _sel_subjectForm); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } set subjectForm(NSString? value) { - return _lib._objc_msgSend_545( - this.pointer, - _lib._sel_setSubjectForm_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_545( + this.pointer, _sel_setSubjectForm_, value?.pointer ?? ffi.nullptr); } NSString? get objectForm { - final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_objectForm1); + final _ret = _objc_msgSend_44(this.pointer, _sel_objectForm); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } set objectForm(NSString? value) { - return _lib._objc_msgSend_545( - this.pointer, - _lib._sel_setObjectForm_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_545( + this.pointer, _sel_setObjectForm_, value?.pointer ?? ffi.nullptr); } NSString? get possessiveForm { - final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_possessiveForm1); + final _ret = _objc_msgSend_44(this.pointer, _sel_possessiveForm); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } set possessiveForm(NSString? value) { - return _lib._objc_msgSend_545( - this.pointer, - _lib._sel_setPossessiveForm_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_545( + this.pointer, _sel_setPossessiveForm_, value?.pointer ?? ffi.nullptr); } NSString? get possessiveAdjectiveForm { - final _ret = _lib._objc_msgSend_44( - this.pointer, - _lib._sel_possessiveAdjectiveForm1, - ); + final _ret = _objc_msgSend_44(this.pointer, _sel_possessiveAdjectiveForm); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } set possessiveAdjectiveForm(NSString? value) { - return _lib._objc_msgSend_545( - this.pointer, - _lib._sel_setPossessiveAdjectiveForm_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_545(this.pointer, _sel_setPossessiveAdjectiveForm_, + value?.pointer ?? ffi.nullptr); } NSString? get reflexiveForm { - final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_reflexiveForm1); + final _ret = _objc_msgSend_44(this.pointer, _sel_reflexiveForm); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } set reflexiveForm(NSString? value) { - return _lib._objc_msgSend_545( - this.pointer, - _lib._sel_setReflexiveForm_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_545( + this.pointer, _sel_setReflexiveForm_, value?.pointer ?? ffi.nullptr); } @override NSMorphologyCustomPronoun init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSMorphologyCustomPronoun._(_ret, _lib, retain: true, release: true); - } - - static NSMorphologyCustomPronoun new1(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSMorphologyCustomPronoun1, - _lib._sel_new1, - ); - return NSMorphologyCustomPronoun._( - _ret, - _lib, - retain: false, - release: true, - ); - } - - static NSMorphologyCustomPronoun allocWithZone_( - SwiftLibrary _lib, - ffi.Pointer<_NSZone> zone, - ) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSMorphologyCustomPronoun1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSMorphologyCustomPronoun._( - _ret, - _lib, - retain: false, - release: true, - ); - } - - static NSMorphologyCustomPronoun alloc(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSMorphologyCustomPronoun1, - _lib._sel_alloc1, - ); - return NSMorphologyCustomPronoun._( - _ret, - _lib, - retain: false, - release: true, - ); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSMorphologyCustomPronoun._(_ret, retain: true, release: true); + } + + static NSMorphologyCustomPronoun new1() { + final _ret = _objc_msgSend_2(_class_NSMorphologyCustomPronoun, _sel_new); + return NSMorphologyCustomPronoun._(_ret, retain: false, release: true); + } + + static NSMorphologyCustomPronoun allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = _objc_msgSend_3( + _class_NSMorphologyCustomPronoun, _sel_allocWithZone_, zone); + return NSMorphologyCustomPronoun._(_ret, retain: false, release: true); + } + + static NSMorphologyCustomPronoun alloc() { + final _ret = _objc_msgSend_2(_class_NSMorphologyCustomPronoun, _sel_alloc); + return NSMorphologyCustomPronoun._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSMorphologyCustomPronoun1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSMorphologyCustomPronoun1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSMorphologyCustomPronoun1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSMorphologyCustomPronoun1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSMorphologyCustomPronoun1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSMorphologyCustomPronoun1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSMorphologyCustomPronoun, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); } - static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSMorphologyCustomPronoun1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSMorphologyCustomPronoun1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSMorphologyCustomPronoun1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSMorphologyCustomPronoun, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); + } + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSMorphologyCustomPronoun, _sel_accessInstanceVariablesDirectly); } -} + + static bool useStoredAccessor() { + return _objc_msgSend_12( + _class_NSMorphologyCustomPronoun, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSMorphologyCustomPronoun, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSMorphologyCustomPronoun, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); + } + + static void setKeys_triggerChangeNotificationsForDependentKey_( + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSMorphologyCustomPronoun, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = _objc_msgSend_85( + _class_NSMorphologyCustomPronoun, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = _objc_msgSend_2( + _class_NSMorphologyCustomPronoun, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); + } +} + +late final _class_NSMorphologyCustomPronoun = + objc.getClass("NSMorphologyCustomPronoun"); +late final _sel_isSupportedForLanguage_ = + objc.registerName("isSupportedForLanguage:"); +late final _sel_requiredKeysForLanguage_ = + objc.registerName("requiredKeysForLanguage:"); +late final _sel_subjectForm = objc.registerName("subjectForm"); +late final _sel_setSubjectForm_ = objc.registerName("setSubjectForm:"); +late final _sel_objectForm = objc.registerName("objectForm"); +late final _sel_setObjectForm_ = objc.registerName("setObjectForm:"); +late final _sel_possessiveForm = objc.registerName("possessiveForm"); +late final _sel_setPossessiveForm_ = objc.registerName("setPossessiveForm:"); +late final _sel_possessiveAdjectiveForm = + objc.registerName("possessiveAdjectiveForm"); +late final _sel_setPossessiveAdjectiveForm_ = + objc.registerName("setPossessiveAdjectiveForm:"); +late final _sel_reflexiveForm = objc.registerName("reflexiveForm"); +late final _sel_setReflexiveForm_ = objc.registerName("setReflexiveForm:"); +late final _sel_customPronounForLanguage_ = + objc.registerName("customPronounForLanguage:"); +final _objc_msgSend_907 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer language)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_setCustomPronoun_forLanguage_error_ = + objc.registerName("setCustomPronoun:forLanguage:error:"); +final _objc_msgSend_908 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer features, + ffi.Pointer language, + ffi.Pointer> error)>>() + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>(); +late final _sel_isUnspecified = objc.registerName("isUnspecified"); +late final _sel_userMorphology = objc.registerName("userMorphology"); +final _objc_msgSend_909 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); class NSOperationQueue extends NSObject { - NSOperationQueue._( - ffi.Pointer pointer, - SwiftLibrary lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSOperationQueue._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSOperationQueue] that points to the same underlying object as [other]. - static NSOperationQueue castFrom( - SwiftLibrary lib, - T other, - ) { - return NSOperationQueue._(other.pointer, lib, retain: true, release: true); + static NSOperationQueue castFrom(T other) { + return NSOperationQueue._(other.pointer, retain: true, release: true); } /// Returns a [NSOperationQueue] that wraps the given raw object pointer. - static NSOperationQueue castFromPointer( - SwiftLibrary lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSOperationQueue._(other, lib, retain: retain, release: release); + static NSOperationQueue castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSOperationQueue._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSOperationQueue]. - static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSOperationQueue1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0( + obj.pointer, _sel_isKindOfClass_, _class_NSOperationQueue); } NSProgress get progress { - final _ret = _lib._objc_msgSend_879(this.pointer, _lib._sel_progress1); - return NSProgress._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_879(this.pointer, _sel_progress); + return NSProgress._(_ret, retain: true, release: true); } void addOperation_(NSOperation op) { - _lib._objc_msgSend_910(this.pointer, _lib._sel_addOperation_1, op.pointer); + _objc_msgSend_910(this.pointer, _sel_addOperation_, op.pointer); } void addOperations_waitUntilFinished_(NSArray ops, bool wait) { - _lib._objc_msgSend_913( - this.pointer, - _lib._sel_addOperations_waitUntilFinished_1, - ops.pointer, - wait, - ); + _objc_msgSend_913( + this.pointer, _sel_addOperations_waitUntilFinished_, ops.pointer, wait); } void addOperationWithBlock_(ObjCBlock_ffiVoid block) { - _lib._objc_msgSend_532( - this.pointer, - _lib._sel_addOperationWithBlock_1, - block.pointer, - ); + _objc_msgSend_532(this.pointer, _sel_addOperationWithBlock_, block.pointer); } void addBarrierBlock_(ObjCBlock_ffiVoid barrier) { - _lib._objc_msgSend_532( - this.pointer, - _lib._sel_addBarrierBlock_1, - barrier.pointer, - ); + _objc_msgSend_532(this.pointer, _sel_addBarrierBlock_, barrier.pointer); } int get maxConcurrentOperationCount { - return _lib._objc_msgSend_83( - this.pointer, - _lib._sel_maxConcurrentOperationCount1, - ); + return _objc_msgSend_83(this.pointer, _sel_maxConcurrentOperationCount); } set maxConcurrentOperationCount(int value) { - return _lib._objc_msgSend_635( - this.pointer, - _lib._sel_setMaxConcurrentOperationCount_1, - value, - ); + return _objc_msgSend_635( + this.pointer, _sel_setMaxConcurrentOperationCount_, value); } bool get suspended { - return _lib._objc_msgSend_12(this.pointer, _lib._sel_isSuspended1); + return _objc_msgSend_12(this.pointer, _sel_isSuspended); } set suspended(bool value) { - return _lib._objc_msgSend_527( - this.pointer, - _lib._sel_setSuspended_1, - value, - ); + return _objc_msgSend_527(this.pointer, _sel_setSuspended_, value); } NSString? get name { - final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_name1); + final _ret = _objc_msgSend_44(this.pointer, _sel_name); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } set name(NSString? value) { - return _lib._objc_msgSend_545( - this.pointer, - _lib._sel_setName_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_545( + this.pointer, _sel_setName_, value?.pointer ?? ffi.nullptr); } int get qualityOfService { - return _lib._objc_msgSend_543(this.pointer, _lib._sel_qualityOfService1); + return _objc_msgSend_543(this.pointer, _sel_qualityOfService); } set qualityOfService(int value) { - return _lib._objc_msgSend_544( - this.pointer, - _lib._sel_setQualityOfService_1, - value, - ); + return _objc_msgSend_544(this.pointer, _sel_setQualityOfService_, value); } - ffi.Pointer get underlyingQueue { - return _lib._objc_msgSend_914(this.pointer, _lib._sel_underlyingQueue1); + NSObject? get underlyingQueue { + final _ret = _objc_msgSend_914(this.pointer, _sel_underlyingQueue); + return _ret.address == 0 + ? null + : NSObject._(_ret, retain: true, release: true); } - set underlyingQueue(ffi.Pointer value) { - return _lib._objc_msgSend_915( - this.pointer, - _lib._sel_setUnderlyingQueue_1, - value, - ); + set underlyingQueue(NSObject? value) { + return _objc_msgSend_915( + this.pointer, _sel_setUnderlyingQueue_, value?.pointer ?? ffi.nullptr); } void cancelAllOperations() { - _lib._objc_msgSend_1(this.pointer, _lib._sel_cancelAllOperations1); + _objc_msgSend_1(this.pointer, _sel_cancelAllOperations); } void waitUntilAllOperationsAreFinished() { - _lib._objc_msgSend_1( - this.pointer, - _lib._sel_waitUntilAllOperationsAreFinished1, - ); + _objc_msgSend_1(this.pointer, _sel_waitUntilAllOperationsAreFinished); } - static NSOperationQueue? getCurrentQueue(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_916( - _lib._class_NSOperationQueue1, - _lib._sel_currentQueue1, - ); + static NSOperationQueue? getCurrentQueue() { + final _ret = _objc_msgSend_916(_class_NSOperationQueue, _sel_currentQueue); return _ret.address == 0 ? null - : NSOperationQueue._(_ret, _lib, retain: true, release: true); + : NSOperationQueue._(_ret, retain: true, release: true); } - static NSOperationQueue getMainQueue(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_917( - _lib._class_NSOperationQueue1, - _lib._sel_mainQueue1, - ); - return NSOperationQueue._(_ret, _lib, retain: true, release: true); + static NSOperationQueue getMainQueue() { + final _ret = _objc_msgSend_917(_class_NSOperationQueue, _sel_mainQueue); + return NSOperationQueue._(_ret, retain: true, release: true); } NSArray get operations { - final _ret = _lib._objc_msgSend_85(this.pointer, _lib._sel_operations1); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_85(this.pointer, _sel_operations); + return NSArray._(_ret, retain: true, release: true); } int get operationCount { - return _lib._objc_msgSend_10(this.pointer, _lib._sel_operationCount1); + return _objc_msgSend_10(this.pointer, _sel_operationCount); } @override NSOperationQueue init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSOperationQueue._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSOperationQueue._(_ret, retain: true, release: true); } - static NSOperationQueue new1(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSOperationQueue1, - _lib._sel_new1, - ); - return NSOperationQueue._(_ret, _lib, retain: false, release: true); + static NSOperationQueue new1() { + final _ret = _objc_msgSend_2(_class_NSOperationQueue, _sel_new); + return NSOperationQueue._(_ret, retain: false, release: true); } - static NSOperationQueue allocWithZone_( - SwiftLibrary _lib, - ffi.Pointer<_NSZone> zone, - ) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSOperationQueue1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSOperationQueue._(_ret, _lib, retain: false, release: true); + static NSOperationQueue allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = + _objc_msgSend_3(_class_NSOperationQueue, _sel_allocWithZone_, zone); + return NSOperationQueue._(_ret, retain: false, release: true); } - static NSOperationQueue alloc(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSOperationQueue1, - _lib._sel_alloc1, - ); - return NSOperationQueue._(_ret, _lib, retain: false, release: true); + static NSOperationQueue alloc() { + final _ret = _objc_msgSend_2(_class_NSOperationQueue, _sel_alloc); + return NSOperationQueue._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSOperationQueue1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSOperationQueue1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSOperationQueue1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSOperationQueue1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSOperationQueue1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSOperationQueue1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSOperationQueue, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); + } + + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSOperationQueue, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); + } + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSOperationQueue, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSOperationQueue, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSOperationQueue, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSOperationQueue, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); } static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSOperationQueue1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSOperationQueue1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSOperationQueue1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSOperationQueue, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = _objc_msgSend_85( + _class_NSOperationQueue, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = + _objc_msgSend_2(_class_NSOperationQueue, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); } } +late final _class_NSOperationQueue = objc.getClass("NSOperationQueue"); + class NSOperation extends NSObject { - NSOperation._( - ffi.Pointer pointer, - SwiftLibrary lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSOperation._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSOperation] that points to the same underlying object as [other]. - static NSOperation castFrom( - SwiftLibrary lib, - T other, - ) { - return NSOperation._(other.pointer, lib, retain: true, release: true); + static NSOperation castFrom(T other) { + return NSOperation._(other.pointer, retain: true, release: true); } /// Returns a [NSOperation] that wraps the given raw object pointer. - static NSOperation castFromPointer( - SwiftLibrary lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSOperation._(other, lib, retain: retain, release: release); + static NSOperation castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSOperation._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSOperation]. - static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSOperation1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0( + obj.pointer, _sel_isKindOfClass_, _class_NSOperation); } void start() { - _lib._objc_msgSend_1(this.pointer, _lib._sel_start1); + _objc_msgSend_1(this.pointer, _sel_start); } void main() { - _lib._objc_msgSend_1(this.pointer, _lib._sel_main1); + _objc_msgSend_1(this.pointer, _sel_main); } bool get cancelled { - return _lib._objc_msgSend_12(this.pointer, _lib._sel_isCancelled1); + return _objc_msgSend_12(this.pointer, _sel_isCancelled); } void cancel() { - _lib._objc_msgSend_1(this.pointer, _lib._sel_cancel1); + _objc_msgSend_1(this.pointer, _sel_cancel); } bool get executing { - return _lib._objc_msgSend_12(this.pointer, _lib._sel_isExecuting1); + return _objc_msgSend_12(this.pointer, _sel_isExecuting); } bool get finished { - return _lib._objc_msgSend_12(this.pointer, _lib._sel_isFinished1); + return _objc_msgSend_12(this.pointer, _sel_isFinished); } bool get concurrent { - return _lib._objc_msgSend_12(this.pointer, _lib._sel_isConcurrent1); + return _objc_msgSend_12(this.pointer, _sel_isConcurrent); } bool get asynchronous { - return _lib._objc_msgSend_12(this.pointer, _lib._sel_isAsynchronous1); + return _objc_msgSend_12(this.pointer, _sel_isAsynchronous); } bool get ready { - return _lib._objc_msgSend_12(this.pointer, _lib._sel_isReady1); + return _objc_msgSend_12(this.pointer, _sel_isReady); } void addDependency_(NSOperation op) { - _lib._objc_msgSend_910(this.pointer, _lib._sel_addDependency_1, op.pointer); + _objc_msgSend_910(this.pointer, _sel_addDependency_, op.pointer); } void removeDependency_(NSOperation op) { - _lib._objc_msgSend_910( - this.pointer, - _lib._sel_removeDependency_1, - op.pointer, - ); + _objc_msgSend_910(this.pointer, _sel_removeDependency_, op.pointer); } NSArray get dependencies { - final _ret = _lib._objc_msgSend_85(this.pointer, _lib._sel_dependencies1); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_85(this.pointer, _sel_dependencies); + return NSArray._(_ret, retain: true, release: true); } int get queuePriority { - return _lib._objc_msgSend_911(this.pointer, _lib._sel_queuePriority1); + return _objc_msgSend_911(this.pointer, _sel_queuePriority); } set queuePriority(int value) { - return _lib._objc_msgSend_912( - this.pointer, - _lib._sel_setQueuePriority_1, - value, - ); + return _objc_msgSend_912(this.pointer, _sel_setQueuePriority_, value); } ObjCBlock_ffiVoid? get completionBlock { - final _ret = _lib._objc_msgSend_668( - this.pointer, - _lib._sel_completionBlock1, - ); + final _ret = _objc_msgSend_668(this.pointer, _sel_completionBlock); return _ret.address == 0 ? null - : ObjCBlock_ffiVoid._(_ret, _lib, retain: true, release: true); + : ObjCBlock_ffiVoid._(_ret, retain: true, release: true); } set completionBlock(ObjCBlock_ffiVoid? value) { - return _lib._objc_msgSend_669( - this.pointer, - _lib._sel_setCompletionBlock_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_669( + this.pointer, _sel_setCompletionBlock_, value?.pointer ?? ffi.nullptr); } void waitUntilFinished() { - _lib._objc_msgSend_1(this.pointer, _lib._sel_waitUntilFinished1); + _objc_msgSend_1(this.pointer, _sel_waitUntilFinished); } double get threadPriority { return objc.useMsgSendVariants - ? _lib._objc_msgSend_165_fpret(this.pointer, _lib._sel_threadPriority1) - : _lib._objc_msgSend_165(this.pointer, _lib._sel_threadPriority1); + ? _objc_msgSend_165Fpret(this.pointer, _sel_threadPriority) + : _objc_msgSend_165(this.pointer, _sel_threadPriority); } set threadPriority(double value) { - return _lib._objc_msgSend_542( - this.pointer, - _lib._sel_setThreadPriority_1, - value, - ); + return _objc_msgSend_542(this.pointer, _sel_setThreadPriority_, value); } int get qualityOfService { - return _lib._objc_msgSend_543(this.pointer, _lib._sel_qualityOfService1); + return _objc_msgSend_543(this.pointer, _sel_qualityOfService); } set qualityOfService(int value) { - return _lib._objc_msgSend_544( - this.pointer, - _lib._sel_setQualityOfService_1, - value, - ); + return _objc_msgSend_544(this.pointer, _sel_setQualityOfService_, value); } NSString? get name { - final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_name1); + final _ret = _objc_msgSend_44(this.pointer, _sel_name); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } set name(NSString? value) { - return _lib._objc_msgSend_545( - this.pointer, - _lib._sel_setName_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_545( + this.pointer, _sel_setName_, value?.pointer ?? ffi.nullptr); } @override NSOperation init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSOperation._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSOperation._(_ret, retain: true, release: true); } - static NSOperation new1(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2(_lib._class_NSOperation1, _lib._sel_new1); - return NSOperation._(_ret, _lib, retain: false, release: true); + static NSOperation new1() { + final _ret = _objc_msgSend_2(_class_NSOperation, _sel_new); + return NSOperation._(_ret, retain: false, release: true); } - static NSOperation allocWithZone_( - SwiftLibrary _lib, - ffi.Pointer<_NSZone> zone, - ) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSOperation1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSOperation._(_ret, _lib, retain: false, release: true); + static NSOperation allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = _objc_msgSend_3(_class_NSOperation, _sel_allocWithZone_, zone); + return NSOperation._(_ret, retain: false, release: true); } - static NSOperation alloc(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSOperation1, - _lib._sel_alloc1, - ); - return NSOperation._(_ret, _lib, retain: false, release: true); + static NSOperation alloc() { + final _ret = _objc_msgSend_2(_class_NSOperation, _sel_alloc); + return NSOperation._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSOperation1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSOperation1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSOperation1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSOperation1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSOperation1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSOperation1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSOperation, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); } - static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSOperation1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSOperation1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSOperation1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSOperation, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); } -} + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSOperation, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSOperation, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSOperation, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSOperation, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); + } + + static void setKeys_triggerChangeNotificationsForDependentKey_( + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSOperation, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = _objc_msgSend_85( + _class_NSOperation, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = + _objc_msgSend_2(_class_NSOperation, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); + } +} + +late final _class_NSOperation = objc.getClass("NSOperation"); +late final _sel_isConcurrent = objc.registerName("isConcurrent"); +late final _sel_isAsynchronous = objc.registerName("isAsynchronous"); +late final _sel_isReady = objc.registerName("isReady"); +late final _sel_addDependency_ = objc.registerName("addDependency:"); +final _objc_msgSend_910 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer op)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_removeDependency_ = objc.registerName("removeDependency:"); +late final _sel_dependencies = objc.registerName("dependencies"); abstract class NSOperationQueuePriority { static const int NSOperationQueuePriorityVeryLow = -8; @@ -79690,310 +45790,298 @@ abstract class NSOperationQueuePriority { static const int NSOperationQueuePriorityVeryHigh = 8; } -final class dispatch_queue_s extends ffi.Opaque {} +late final _sel_queuePriority = objc.registerName("queuePriority"); +final _objc_msgSend_911 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + int Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_setQueuePriority_ = objc.registerName("setQueuePriority:"); +final _objc_msgSend_912 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer obj, + ffi.Pointer sel, ffi.Int32 value)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, int)>(); +late final _sel_completionBlock = objc.registerName("completionBlock"); +late final _sel_setCompletionBlock_ = objc.registerName("setCompletionBlock:"); +late final _sel_waitUntilFinished = objc.registerName("waitUntilFinished"); +late final _sel_addOperation_ = objc.registerName("addOperation:"); +late final _sel_addOperations_waitUntilFinished_ = + objc.registerName("addOperations:waitUntilFinished:"); +final _objc_msgSend_913 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer ops, + ffi.Bool wait)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool)>(); +late final _sel_addOperationWithBlock_ = + objc.registerName("addOperationWithBlock:"); +late final _sel_addBarrierBlock_ = objc.registerName("addBarrierBlock:"); +late final _sel_maxConcurrentOperationCount = + objc.registerName("maxConcurrentOperationCount"); +late final _sel_setMaxConcurrentOperationCount_ = + objc.registerName("setMaxConcurrentOperationCount:"); +late final _sel_isSuspended = objc.registerName("isSuspended"); +late final _sel_setSuspended_ = objc.registerName("setSuspended:"); +late final _sel_underlyingQueue = objc.registerName("underlyingQueue"); +final _objc_msgSend_914 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_setUnderlyingQueue_ = objc.registerName("setUnderlyingQueue:"); +final _objc_msgSend_915 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_cancelAllOperations = objc.registerName("cancelAllOperations"); +late final _sel_waitUntilAllOperationsAreFinished = + objc.registerName("waitUntilAllOperationsAreFinished"); +late final _sel_currentQueue = objc.registerName("currentQueue"); +final _objc_msgSend_916 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_mainQueue = objc.registerName("mainQueue"); +final _objc_msgSend_917 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_operations = objc.registerName("operations"); +late final _sel_operationCount = objc.registerName("operationCount"); class NSPointerArray extends NSObject { - NSPointerArray._( - ffi.Pointer pointer, - SwiftLibrary lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSPointerArray._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSPointerArray] that points to the same underlying object as [other]. - static NSPointerArray castFrom( - SwiftLibrary lib, - T other, - ) { - return NSPointerArray._(other.pointer, lib, retain: true, release: true); + static NSPointerArray castFrom(T other) { + return NSPointerArray._(other.pointer, retain: true, release: true); } /// Returns a [NSPointerArray] that wraps the given raw object pointer. - static NSPointerArray castFromPointer( - SwiftLibrary lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSPointerArray._(other, lib, retain: retain, release: release); + static NSPointerArray castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSPointerArray._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSPointerArray]. - static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSPointerArray1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0( + obj.pointer, _sel_isKindOfClass_, _class_NSPointerArray); } NSPointerArray initWithOptions_(int options) { - final _ret = _lib._objc_msgSend_918( - this.pointer, - _lib._sel_initWithOptions_1, - options, - ); - return NSPointerArray._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_918(this.pointer, _sel_initWithOptions_, options); + return NSPointerArray._(_ret, retain: true, release: true); } NSPointerArray initWithPointerFunctions_(NSPointerFunctions functions) { - final _ret = _lib._objc_msgSend_932( - this.pointer, - _lib._sel_initWithPointerFunctions_1, - functions.pointer, - ); - return NSPointerArray._(_ret, _lib, retain: true, release: true); - } - - static NSPointerArray pointerArrayWithOptions_( - SwiftLibrary _lib, - int options, - ) { - final _ret = _lib._objc_msgSend_933( - _lib._class_NSPointerArray1, - _lib._sel_pointerArrayWithOptions_1, - options, - ); - return NSPointerArray._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_932( + this.pointer, _sel_initWithPointerFunctions_, functions.pointer); + return NSPointerArray._(_ret, retain: true, release: true); + } + + static NSPointerArray pointerArrayWithOptions_(int options) { + final _ret = _objc_msgSend_933( + _class_NSPointerArray, _sel_pointerArrayWithOptions_, options); + return NSPointerArray._(_ret, retain: true, release: true); } static NSPointerArray pointerArrayWithPointerFunctions_( - SwiftLibrary _lib, - NSPointerFunctions functions, - ) { - final _ret = _lib._objc_msgSend_934( - _lib._class_NSPointerArray1, - _lib._sel_pointerArrayWithPointerFunctions_1, - functions.pointer, - ); - return NSPointerArray._(_ret, _lib, retain: true, release: true); + NSPointerFunctions functions) { + final _ret = _objc_msgSend_934(_class_NSPointerArray, + _sel_pointerArrayWithPointerFunctions_, functions.pointer); + return NSPointerArray._(_ret, retain: true, release: true); } NSPointerFunctions get pointerFunctions { - final _ret = _lib._objc_msgSend_935( - this.pointer, - _lib._sel_pointerFunctions1, - ); - return NSPointerFunctions._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_935(this.pointer, _sel_pointerFunctions); + return NSPointerFunctions._(_ret, retain: true, release: true); } ffi.Pointer pointerAtIndex_(int index) { - return _lib._objc_msgSend_936( - this.pointer, - _lib._sel_pointerAtIndex_1, - index, - ); + return _objc_msgSend_936(this.pointer, _sel_pointerAtIndex_, index); } void addPointer_(ffi.Pointer pointer) { - _lib._objc_msgSend_52(this.pointer, _lib._sel_addPointer_1, pointer); + _objc_msgSend_52(this.pointer, _sel_addPointer_, pointer); } void removePointerAtIndex_(int index) { - _lib._objc_msgSend_470( - this.pointer, - _lib._sel_removePointerAtIndex_1, - index, - ); + _objc_msgSend_470(this.pointer, _sel_removePointerAtIndex_, index); } void insertPointer_atIndex_(ffi.Pointer item, int index) { - _lib._objc_msgSend_22( - this.pointer, - _lib._sel_insertPointer_atIndex_1, - item, - index, - ); + _objc_msgSend_22(this.pointer, _sel_insertPointer_atIndex_, item, index); } void replacePointerAtIndex_withPointer_( - int index, - ffi.Pointer item, - ) { - _lib._objc_msgSend_937( - this.pointer, - _lib._sel_replacePointerAtIndex_withPointer_1, - index, - item, - ); + int index, ffi.Pointer item) { + _objc_msgSend_937( + this.pointer, _sel_replacePointerAtIndex_withPointer_, index, item); } void compact() { - _lib._objc_msgSend_1(this.pointer, _lib._sel_compact1); + _objc_msgSend_1(this.pointer, _sel_compact); } int get count { - return _lib._objc_msgSend_10(this.pointer, _lib._sel_count1); + return _objc_msgSend_10(this.pointer, _sel_count); } set count(int value) { - return _lib._objc_msgSend_516(this.pointer, _lib._sel_setCount_1, value); + return _objc_msgSend_516(this.pointer, _sel_setCount_, value); } - static NSObject pointerArrayWithStrongObjects(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSPointerArray1, - _lib._sel_pointerArrayWithStrongObjects1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + static NSObject pointerArrayWithStrongObjects() { + final _ret = _objc_msgSend_2( + _class_NSPointerArray, _sel_pointerArrayWithStrongObjects); + return NSObject._(_ret, retain: true, release: true); } - static NSObject pointerArrayWithWeakObjects(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSPointerArray1, - _lib._sel_pointerArrayWithWeakObjects1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + static NSObject pointerArrayWithWeakObjects() { + final _ret = _objc_msgSend_2( + _class_NSPointerArray, _sel_pointerArrayWithWeakObjects); + return NSObject._(_ret, retain: true, release: true); } - static NSPointerArray strongObjectsPointerArray(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_938( - _lib._class_NSPointerArray1, - _lib._sel_strongObjectsPointerArray1, - ); - return NSPointerArray._(_ret, _lib, retain: true, release: true); + static NSPointerArray strongObjectsPointerArray() { + final _ret = _objc_msgSend_938( + _class_NSPointerArray, _sel_strongObjectsPointerArray); + return NSPointerArray._(_ret, retain: true, release: true); } - static NSPointerArray weakObjectsPointerArray(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_938( - _lib._class_NSPointerArray1, - _lib._sel_weakObjectsPointerArray1, - ); - return NSPointerArray._(_ret, _lib, retain: true, release: true); + static NSPointerArray weakObjectsPointerArray() { + final _ret = + _objc_msgSend_938(_class_NSPointerArray, _sel_weakObjectsPointerArray); + return NSPointerArray._(_ret, retain: true, release: true); } NSArray get allObjects { - final _ret = _lib._objc_msgSend_85(this.pointer, _lib._sel_allObjects1); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_85(this.pointer, _sel_allObjects); + return NSArray._(_ret, retain: true, release: true); } @override NSPointerArray init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSPointerArray._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSPointerArray._(_ret, retain: true, release: true); } - static NSPointerArray new1(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSPointerArray1, - _lib._sel_new1, - ); - return NSPointerArray._(_ret, _lib, retain: false, release: true); + static NSPointerArray new1() { + final _ret = _objc_msgSend_2(_class_NSPointerArray, _sel_new); + return NSPointerArray._(_ret, retain: false, release: true); } - static NSPointerArray allocWithZone_( - SwiftLibrary _lib, - ffi.Pointer<_NSZone> zone, - ) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSPointerArray1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSPointerArray._(_ret, _lib, retain: false, release: true); + static NSPointerArray allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = + _objc_msgSend_3(_class_NSPointerArray, _sel_allocWithZone_, zone); + return NSPointerArray._(_ret, retain: false, release: true); } - static NSPointerArray alloc(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSPointerArray1, - _lib._sel_alloc1, - ); - return NSPointerArray._(_ret, _lib, retain: false, release: true); + static NSPointerArray alloc() { + final _ret = _objc_msgSend_2(_class_NSPointerArray, _sel_alloc); + return NSPointerArray._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSPointerArray1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSPointerArray1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSPointerArray1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSPointerArray1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSPointerArray1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSPointerArray1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSPointerArray, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); + } + + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSPointerArray, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); + } + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSPointerArray, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSPointerArray, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSPointerArray, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSPointerArray, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); } static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSPointerArray1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSPointerArray1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSPointerArray1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSPointerArray, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = _objc_msgSend_85( + _class_NSPointerArray, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = + _objc_msgSend_2(_class_NSPointerArray, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); } } +late final _class_NSPointerArray = objc.getClass("NSPointerArray"); + abstract class NSPointerFunctionsOptions { static const int NSPointerFunctionsStrongMemory = 0; static const int NSPointerFunctionsZeroingWeakMemory = 1; @@ -80010,763 +46098,917 @@ abstract class NSPointerFunctionsOptions { static const int NSPointerFunctionsCopyIn = 65536; } +late final _sel_initWithOptions_ = objc.registerName("initWithOptions:"); +final _objc_msgSend_918 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function(ffi.Pointer obj, + ffi.Pointer sel, ffi.Int32 options)>>() + .asFunction< + instancetype Function(ffi.Pointer, + ffi.Pointer, int)>(); + class NSPointerFunctions extends NSObject { - NSPointerFunctions._( - ffi.Pointer pointer, - SwiftLibrary lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSPointerFunctions._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSPointerFunctions] that points to the same underlying object as [other]. - static NSPointerFunctions castFrom( - SwiftLibrary lib, - T other, - ) { - return NSPointerFunctions._( - other.pointer, - lib, - retain: true, - release: true, - ); + static NSPointerFunctions castFrom(T other) { + return NSPointerFunctions._(other.pointer, retain: true, release: true); } /// Returns a [NSPointerFunctions] that wraps the given raw object pointer. - static NSPointerFunctions castFromPointer( - SwiftLibrary lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSPointerFunctions._(other, lib, retain: retain, release: release); + static NSPointerFunctions castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSPointerFunctions._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSPointerFunctions]. - static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSPointerFunctions1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0( + obj.pointer, _sel_isKindOfClass_, _class_NSPointerFunctions); } NSPointerFunctions initWithOptions_(int options) { - final _ret = _lib._objc_msgSend_918( - this.pointer, - _lib._sel_initWithOptions_1, - options, - ); - return NSPointerFunctions._(_ret, _lib, retain: true, release: true); - } - - static NSPointerFunctions pointerFunctionsWithOptions_( - SwiftLibrary _lib, - int options, - ) { - final _ret = _lib._objc_msgSend_919( - _lib._class_NSPointerFunctions1, - _lib._sel_pointerFunctionsWithOptions_1, - options, - ); - return NSPointerFunctions._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_918(this.pointer, _sel_initWithOptions_, options); + return NSPointerFunctions._(_ret, retain: true, release: true); } - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function(ffi.Pointer)>>, - )>> get hashFunction { - return _lib._objc_msgSend_920(this.pointer, _lib._sel_hashFunction1); + static NSPointerFunctions pointerFunctionsWithOptions_(int options) { + final _ret = _objc_msgSend_919( + _class_NSPointerFunctions, _sel_pointerFunctionsWithOptions_, options); + return NSPointerFunctions._(_ret, retain: true, release: true); } - set hashFunction( - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function( + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function( ffi.Pointer, ffi.Pointer< ffi.NativeFunction< - ffi.UnsignedLong Function(ffi.Pointer)>>, - )>> - value, - ) { - return _lib._objc_msgSend_921( - this.pointer, - _lib._sel_setHashFunction_1, - value, - ); + ffi.UnsignedLong Function(ffi.Pointer)>>)>> + get hashFunction { + return _objc_msgSend_920(this.pointer, _sel_hashFunction); } - ffi.Pointer< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function(ffi.Pointer)>>, - )>> get isEqualFunction { - return _lib._objc_msgSend_922(this.pointer, _lib._sel_isEqualFunction1); + set hashFunction( + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer)>>)>> + value) { + return _objc_msgSend_921(this.pointer, _sel_setHashFunction_, value); } - set isEqualFunction( - ffi.Pointer< - ffi.NativeFunction< - ffi.Bool Function( + ffi.Pointer< + ffi.NativeFunction< + ffi.Bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer< ffi.NativeFunction< - ffi.UnsignedLong Function(ffi.Pointer)>>, - )>> - value, - ) { - return _lib._objc_msgSend_923( - this.pointer, - _lib._sel_setIsEqualFunction_1, - value, - ); + ffi.UnsignedLong Function(ffi.Pointer)>>)>> + get isEqualFunction { + return _objc_msgSend_922(this.pointer, _sel_isEqualFunction); + } + + set isEqualFunction( + ffi.Pointer< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer)>>)>> + value) { + return _objc_msgSend_923(this.pointer, _sel_setIsEqualFunction_, value); } ffi.Pointer< ffi.NativeFunction)>> get sizeFunction { - return _lib._objc_msgSend_924(this.pointer, _lib._sel_sizeFunction1); + return _objc_msgSend_924(this.pointer, _sel_sizeFunction); } set sizeFunction( - ffi.Pointer< - ffi - .NativeFunction)>> - value, - ) { - return _lib._objc_msgSend_925( - this.pointer, - _lib._sel_setSizeFunction_1, - value, - ); + ffi.Pointer< + ffi + .NativeFunction)>> + value) { + return _objc_msgSend_925(this.pointer, _sel_setSizeFunction_, value); } ffi.Pointer< ffi.NativeFunction< ffi.Pointer Function(ffi.Pointer)>> get descriptionFunction { - return _lib._objc_msgSend_926(this.pointer, _lib._sel_descriptionFunction1); + return _objc_msgSend_926(this.pointer, _sel_descriptionFunction); } set descriptionFunction( - ffi.Pointer< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer)>> - value, - ) { - return _lib._objc_msgSend_927( - this.pointer, - _lib._sel_setDescriptionFunction_1, - value, - ); + ffi.Pointer< + ffi.NativeFunction< + ffi.Pointer Function(ffi.Pointer)>> + value) { + return _objc_msgSend_927(this.pointer, _sel_setDescriptionFunction_, value); } ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function(ffi.Pointer)>>, - )>> get relinquishFunction { - return _lib._objc_msgSend_928(this.pointer, _lib._sel_relinquishFunction1); - } - - set relinquishFunction( - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( ffi.Pointer, ffi.Pointer< ffi.NativeFunction< - ffi.UnsignedLong Function(ffi.Pointer)>>, - )>> - value, - ) { - return _lib._objc_msgSend_929( - this.pointer, - _lib._sel_setRelinquishFunction_1, - value, - ); + ffi.UnsignedLong Function(ffi.Pointer)>>)>> + get relinquishFunction { + return _objc_msgSend_928(this.pointer, _sel_relinquishFunction); + } + + set relinquishFunction( + ffi.Pointer< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer)>>)>> + value) { + return _objc_msgSend_929(this.pointer, _sel_setRelinquishFunction_, value); } ffi.Pointer< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function(ffi.Pointer)>>, - ffi.Bool, - )>> get acquireFunction { - return _lib._objc_msgSend_930(this.pointer, _lib._sel_acquireFunction1); + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function(ffi.Pointer)>>, + ffi.Bool)>> get acquireFunction { + return _objc_msgSend_930(this.pointer, _sel_acquireFunction); } set acquireFunction( - ffi.Pointer< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function(ffi.Pointer)>>, - ffi.Bool, - )>> - value, - ) { - return _lib._objc_msgSend_931( - this.pointer, - _lib._sel_setAcquireFunction_1, - value, - ); + ffi.Pointer< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer)>>, + ffi.Bool)>> + value) { + return _objc_msgSend_931(this.pointer, _sel_setAcquireFunction_, value); } bool get usesStrongWriteBarrier { - return _lib._objc_msgSend_12( - this.pointer, - _lib._sel_usesStrongWriteBarrier1, - ); + return _objc_msgSend_12(this.pointer, _sel_usesStrongWriteBarrier); } set usesStrongWriteBarrier(bool value) { - return _lib._objc_msgSend_527( - this.pointer, - _lib._sel_setUsesStrongWriteBarrier_1, - value, - ); + return _objc_msgSend_527( + this.pointer, _sel_setUsesStrongWriteBarrier_, value); } bool get usesWeakReadAndWriteBarriers { - return _lib._objc_msgSend_12( - this.pointer, - _lib._sel_usesWeakReadAndWriteBarriers1, - ); + return _objc_msgSend_12(this.pointer, _sel_usesWeakReadAndWriteBarriers); } set usesWeakReadAndWriteBarriers(bool value) { - return _lib._objc_msgSend_527( - this.pointer, - _lib._sel_setUsesWeakReadAndWriteBarriers_1, - value, - ); + return _objc_msgSend_527( + this.pointer, _sel_setUsesWeakReadAndWriteBarriers_, value); } @override NSPointerFunctions init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSPointerFunctions._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSPointerFunctions._(_ret, retain: true, release: true); } - static NSPointerFunctions new1(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSPointerFunctions1, - _lib._sel_new1, - ); - return NSPointerFunctions._(_ret, _lib, retain: false, release: true); + static NSPointerFunctions new1() { + final _ret = _objc_msgSend_2(_class_NSPointerFunctions, _sel_new); + return NSPointerFunctions._(_ret, retain: false, release: true); } - static NSPointerFunctions allocWithZone_( - SwiftLibrary _lib, - ffi.Pointer<_NSZone> zone, - ) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSPointerFunctions1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSPointerFunctions._(_ret, _lib, retain: false, release: true); + static NSPointerFunctions allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = + _objc_msgSend_3(_class_NSPointerFunctions, _sel_allocWithZone_, zone); + return NSPointerFunctions._(_ret, retain: false, release: true); } - static NSPointerFunctions alloc(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSPointerFunctions1, - _lib._sel_alloc1, - ); - return NSPointerFunctions._(_ret, _lib, retain: false, release: true); + static NSPointerFunctions alloc() { + final _ret = _objc_msgSend_2(_class_NSPointerFunctions, _sel_alloc); + return NSPointerFunctions._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSPointerFunctions1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSPointerFunctions1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSPointerFunctions1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSPointerFunctions1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSPointerFunctions1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSPointerFunctions1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSPointerFunctions, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); } - static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSPointerFunctions1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSPointerFunctions1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSPointerFunctions1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSPointerFunctions, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); } -} + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSPointerFunctions, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSPointerFunctions, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSPointerFunctions, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSPointerFunctions, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); + } + + static void setKeys_triggerChangeNotificationsForDependentKey_( + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSPointerFunctions, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = _objc_msgSend_85( + _class_NSPointerFunctions, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = _objc_msgSend_2( + _class_NSPointerFunctions, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); + } +} + +late final _class_NSPointerFunctions = objc.getClass("NSPointerFunctions"); +late final _sel_pointerFunctionsWithOptions_ = + objc.registerName("pointerFunctionsWithOptions:"); +final _objc_msgSend_919 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Int32 options)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, int)>(); +late final _sel_hashFunction = objc.registerName("hashFunction"); +final _objc_msgSend_920 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer, ffi.Pointer)>>)>> Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer)>>)>> + Function(ffi.Pointer, ffi.Pointer)>(); +late final _sel_setHashFunction_ = objc.registerName("setHashFunction:"); +final _objc_msgSend_921 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer)>>)>> + value)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function(ffi.Pointer, + ffi.Pointer)>>)>>)>(); +late final _sel_isEqualFunction = objc.registerName("isEqualFunction"); +final _objc_msgSend_922 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer, ffi.Pointer, ffi.Pointer)>>)>> Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer)>>)>> + Function(ffi.Pointer, ffi.Pointer)>(); +late final _sel_setIsEqualFunction_ = objc.registerName("setIsEqualFunction:"); +final _objc_msgSend_923 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer)>>)>> + value)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>)>>)>(); +late final _sel_sizeFunction = objc.registerName("sizeFunction"); +final _objc_msgSend_924 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer)>> Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function(ffi.Pointer)>> + Function(ffi.Pointer, ffi.Pointer)>(); +late final _sel_setSizeFunction_ = objc.registerName("setSizeFunction:"); +final _objc_msgSend_925 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function(ffi.Pointer)>> + value)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function(ffi.Pointer)>>)>(); +late final _sel_descriptionFunction = objc.registerName("descriptionFunction"); +final _objc_msgSend_926 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function(ffi.Pointer)>> Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer)>> + Function(ffi.Pointer, ffi.Pointer)>(); +late final _sel_setDescriptionFunction_ = + objc.registerName("setDescriptionFunction:"); +final _objc_msgSend_927 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer)>> + value)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer)>>)>(); +late final _sel_relinquishFunction = objc.registerName("relinquishFunction"); +final _objc_msgSend_928 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer, ffi.Pointer)>>)>> Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer)>>)>> + Function(ffi.Pointer, ffi.Pointer)>(); +late final _sel_setRelinquishFunction_ = + objc.registerName("setRelinquishFunction:"); +final _objc_msgSend_929 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer)>>)>> + value)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer, + ffi.Pointer)>>)>>)>(); +late final _sel_acquireFunction = objc.registerName("acquireFunction"); +final _objc_msgSend_930 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function(ffi.Pointer, ffi.Pointer)>>, ffi.Bool)>> Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer)>>, + ffi.Bool)>> + Function(ffi.Pointer, ffi.Pointer)>(); +late final _sel_setAcquireFunction_ = objc.registerName("setAcquireFunction:"); +final _objc_msgSend_931 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer)>>, + ffi.Bool)>> + value)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer< + ffi + .NativeFunction Function(ffi.Pointer, ffi.Pointer)>>, ffi.Bool)>>)>(); +late final _sel_usesStrongWriteBarrier = + objc.registerName("usesStrongWriteBarrier"); +late final _sel_setUsesStrongWriteBarrier_ = + objc.registerName("setUsesStrongWriteBarrier:"); +late final _sel_usesWeakReadAndWriteBarriers = + objc.registerName("usesWeakReadAndWriteBarriers"); +late final _sel_setUsesWeakReadAndWriteBarriers_ = + objc.registerName("setUsesWeakReadAndWriteBarriers:"); +late final _sel_initWithPointerFunctions_ = + objc.registerName("initWithPointerFunctions:"); +final _objc_msgSend_932 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer functions)>>() + .asFunction< + instancetype Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_pointerArrayWithOptions_ = + objc.registerName("pointerArrayWithOptions:"); +final _objc_msgSend_933 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Int32 options)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, int)>(); +late final _sel_pointerArrayWithPointerFunctions_ = + objc.registerName("pointerArrayWithPointerFunctions:"); +final _objc_msgSend_934 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer functions)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_pointerFunctions = objc.registerName("pointerFunctions"); +final _objc_msgSend_935 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_pointerAtIndex_ = objc.registerName("pointerAtIndex:"); +final _objc_msgSend_936 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function(ffi.Pointer obj, + ffi.Pointer sel, ffi.UnsignedLong index)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, int)>(); +late final _sel_addPointer_ = objc.registerName("addPointer:"); +late final _sel_removePointerAtIndex_ = + objc.registerName("removePointerAtIndex:"); +late final _sel_insertPointer_atIndex_ = + objc.registerName("insertPointer:atIndex:"); +late final _sel_replacePointerAtIndex_withPointer_ = + objc.registerName("replacePointerAtIndex:withPointer:"); +final _objc_msgSend_937 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.UnsignedLong index, + ffi.Pointer item)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, int, ffi.Pointer)>(); +late final _sel_compact = objc.registerName("compact"); +late final _sel_setCount_ = objc.registerName("setCount:"); +late final _sel_pointerArrayWithStrongObjects = + objc.registerName("pointerArrayWithStrongObjects"); +late final _sel_pointerArrayWithWeakObjects = + objc.registerName("pointerArrayWithWeakObjects"); +late final _sel_strongObjectsPointerArray = + objc.registerName("strongObjectsPointerArray"); +final _objc_msgSend_938 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_weakObjectsPointerArray = + objc.registerName("weakObjectsPointerArray"); class NSProcessInfo extends NSObject { - NSProcessInfo._( - ffi.Pointer pointer, - SwiftLibrary lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSProcessInfo._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSProcessInfo] that points to the same underlying object as [other]. - static NSProcessInfo castFrom( - SwiftLibrary lib, - T other, - ) { - return NSProcessInfo._(other.pointer, lib, retain: true, release: true); + static NSProcessInfo castFrom(T other) { + return NSProcessInfo._(other.pointer, retain: true, release: true); } /// Returns a [NSProcessInfo] that wraps the given raw object pointer. - static NSProcessInfo castFromPointer( - SwiftLibrary lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSProcessInfo._(other, lib, retain: retain, release: release); + static NSProcessInfo castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSProcessInfo._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSProcessInfo]. - static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSProcessInfo1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0( + obj.pointer, _sel_isKindOfClass_, _class_NSProcessInfo); } - static NSProcessInfo getProcessInfo(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_939( - _lib._class_NSProcessInfo1, - _lib._sel_processInfo1, - ); - return NSProcessInfo._(_ret, _lib, retain: true, release: true); + static NSProcessInfo getProcessInfo() { + final _ret = _objc_msgSend_939(_class_NSProcessInfo, _sel_processInfo); + return NSProcessInfo._(_ret, retain: true, release: true); } NSDictionary get environment { - final _ret = _lib._objc_msgSend_181(this.pointer, _lib._sel_environment1); - return NSDictionary._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_181(this.pointer, _sel_environment); + return NSDictionary._(_ret, retain: true, release: true); } NSArray get arguments { - final _ret = _lib._objc_msgSend_85(this.pointer, _lib._sel_arguments1); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_85(this.pointer, _sel_arguments); + return NSArray._(_ret, retain: true, release: true); } NSString get hostName { - final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_hostName1); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_hostName); + return NSString._(_ret, retain: true, release: true); } NSString get processName { - final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_processName1); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_processName); + return NSString._(_ret, retain: true, release: true); } set processName(NSString value) { - return _lib._objc_msgSend_646( - this.pointer, - _lib._sel_setProcessName_1, - value.pointer, - ); + return _objc_msgSend_646(this.pointer, _sel_setProcessName_, value.pointer); } int get processIdentifier { - return _lib._objc_msgSend_237(this.pointer, _lib._sel_processIdentifier1); + return _objc_msgSend_237(this.pointer, _sel_processIdentifier); } NSString get globallyUniqueString { - final _ret = _lib._objc_msgSend_21( - this.pointer, - _lib._sel_globallyUniqueString1, - ); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_globallyUniqueString); + return NSString._(_ret, retain: true, release: true); } int operatingSystem() { - return _lib._objc_msgSend_10(this.pointer, _lib._sel_operatingSystem1); + return _objc_msgSend_10(this.pointer, _sel_operatingSystem); } NSString operatingSystemName() { - final _ret = _lib._objc_msgSend_21( - this.pointer, - _lib._sel_operatingSystemName1, - ); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_operatingSystemName); + return NSString._(_ret, retain: true, release: true); } NSString get operatingSystemVersionString { - final _ret = _lib._objc_msgSend_21( - this.pointer, - _lib._sel_operatingSystemVersionString1, - ); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_21(this.pointer, _sel_operatingSystemVersionString); + return NSString._(_ret, retain: true, release: true); } void getOperatingSystemVersion(ffi.Pointer stret) { objc.useMsgSendVariants - ? _lib._objc_msgSend_940_stret( - stret, - this.pointer, - _lib._sel_operatingSystemVersion1, - ) - : stret.ref = _lib._objc_msgSend_940( - this.pointer, - _lib._sel_operatingSystemVersion1, - ); + ? _objc_msgSend_940Stret( + stret, this.pointer, _sel_operatingSystemVersion) + : stret.ref = + _objc_msgSend_940(this.pointer, _sel_operatingSystemVersion); } int get processorCount { - return _lib._objc_msgSend_10(this.pointer, _lib._sel_processorCount1); + return _objc_msgSend_10(this.pointer, _sel_processorCount); } int get activeProcessorCount { - return _lib._objc_msgSend_10(this.pointer, _lib._sel_activeProcessorCount1); + return _objc_msgSend_10(this.pointer, _sel_activeProcessorCount); } int get physicalMemory { - return _lib._objc_msgSend_164(this.pointer, _lib._sel_physicalMemory1); + return _objc_msgSend_164(this.pointer, _sel_physicalMemory); } bool isOperatingSystemAtLeastVersion_(NSOperatingSystemVersion version) { - return _lib._objc_msgSend_941( - this.pointer, - _lib._sel_isOperatingSystemAtLeastVersion_1, - version, - ); + return _objc_msgSend_941( + this.pointer, _sel_isOperatingSystemAtLeastVersion_, version); } double get systemUptime { return objc.useMsgSendVariants - ? _lib._objc_msgSend_165_fpret(this.pointer, _lib._sel_systemUptime1) - : _lib._objc_msgSend_165(this.pointer, _lib._sel_systemUptime1); + ? _objc_msgSend_165Fpret(this.pointer, _sel_systemUptime) + : _objc_msgSend_165(this.pointer, _sel_systemUptime); } void disableSuddenTermination() { - _lib._objc_msgSend_1(this.pointer, _lib._sel_disableSuddenTermination1); + _objc_msgSend_1(this.pointer, _sel_disableSuddenTermination); } void enableSuddenTermination() { - _lib._objc_msgSend_1(this.pointer, _lib._sel_enableSuddenTermination1); + _objc_msgSend_1(this.pointer, _sel_enableSuddenTermination); } void disableAutomaticTermination_(NSString reason) { - _lib._objc_msgSend_247( - this.pointer, - _lib._sel_disableAutomaticTermination_1, - reason.pointer, - ); + _objc_msgSend_247( + this.pointer, _sel_disableAutomaticTermination_, reason.pointer); } void enableAutomaticTermination_(NSString reason) { - _lib._objc_msgSend_247( - this.pointer, - _lib._sel_enableAutomaticTermination_1, - reason.pointer, - ); + _objc_msgSend_247( + this.pointer, _sel_enableAutomaticTermination_, reason.pointer); } bool get automaticTerminationSupportEnabled { - return _lib._objc_msgSend_12( - this.pointer, - _lib._sel_automaticTerminationSupportEnabled1, - ); + return _objc_msgSend_12( + this.pointer, _sel_automaticTerminationSupportEnabled); } set automaticTerminationSupportEnabled(bool value) { - return _lib._objc_msgSend_527( - this.pointer, - _lib._sel_setAutomaticTerminationSupportEnabled_1, - value, - ); + return _objc_msgSend_527( + this.pointer, _sel_setAutomaticTerminationSupportEnabled_, value); } NSObject beginActivityWithOptions_reason_(int options, NSString reason) { - final _ret = _lib._objc_msgSend_942( - this.pointer, - _lib._sel_beginActivityWithOptions_reason_1, - options, - reason.pointer, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_942(this.pointer, + _sel_beginActivityWithOptions_reason_, options, reason.pointer); + return NSObject._(_ret, retain: true, release: true); } void endActivity_(NSObject activity) { - _lib._objc_msgSend_15( - this.pointer, - _lib._sel_endActivity_1, - activity.pointer, - ); + _objc_msgSend_15(this.pointer, _sel_endActivity_, activity.pointer); } void performActivityWithOptions_reason_usingBlock_( - int options, - NSString reason, - ObjCBlock_ffiVoid block, - ) { - _lib._objc_msgSend_943( - this.pointer, - _lib._sel_performActivityWithOptions_reason_usingBlock_1, - options, - reason.pointer, - block.pointer, - ); + int options, NSString reason, ObjCBlock_ffiVoid block) { + _objc_msgSend_943( + this.pointer, + _sel_performActivityWithOptions_reason_usingBlock_, + options, + reason.pointer, + block.pointer); } void performExpiringActivityWithReason_usingBlock_( - NSString reason, - ObjCBlock_ffiVoid_bool block, - ) { - _lib._objc_msgSend_944( - this.pointer, - _lib._sel_performExpiringActivityWithReason_usingBlock_1, - reason.pointer, - block.pointer, - ); + NSString reason, ObjCBlock_ffiVoid_bool block) { + _objc_msgSend_944( + this.pointer, + _sel_performExpiringActivityWithReason_usingBlock_, + reason.pointer, + block.pointer); } NSString get userName { - final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_userName1); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_userName); + return NSString._(_ret, retain: true, release: true); } NSString get fullUserName { - final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_fullUserName1); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_fullUserName); + return NSString._(_ret, retain: true, release: true); } int get thermalState { - return _lib._objc_msgSend_945(this.pointer, _lib._sel_thermalState1); + return _objc_msgSend_945(this.pointer, _sel_thermalState); } bool get lowPowerModeEnabled { - return _lib._objc_msgSend_12( - this.pointer, - _lib._sel_isLowPowerModeEnabled1, - ); + return _objc_msgSend_12(this.pointer, _sel_isLowPowerModeEnabled); } bool get macCatalystApp { - return _lib._objc_msgSend_12(this.pointer, _lib._sel_isMacCatalystApp1); + return _objc_msgSend_12(this.pointer, _sel_isMacCatalystApp); } bool get iOSAppOnMac { - return _lib._objc_msgSend_12(this.pointer, _lib._sel_isiOSAppOnMac1); + return _objc_msgSend_12(this.pointer, _sel_isiOSAppOnMac); } @override NSProcessInfo init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSProcessInfo._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSProcessInfo._(_ret, retain: true, release: true); } - static NSProcessInfo new1(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSProcessInfo1, - _lib._sel_new1, - ); - return NSProcessInfo._(_ret, _lib, retain: false, release: true); + static NSProcessInfo new1() { + final _ret = _objc_msgSend_2(_class_NSProcessInfo, _sel_new); + return NSProcessInfo._(_ret, retain: false, release: true); } - static NSProcessInfo allocWithZone_( - SwiftLibrary _lib, - ffi.Pointer<_NSZone> zone, - ) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSProcessInfo1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSProcessInfo._(_ret, _lib, retain: false, release: true); + static NSProcessInfo allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = + _objc_msgSend_3(_class_NSProcessInfo, _sel_allocWithZone_, zone); + return NSProcessInfo._(_ret, retain: false, release: true); } - static NSProcessInfo alloc(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSProcessInfo1, - _lib._sel_alloc1, - ); - return NSProcessInfo._(_ret, _lib, retain: false, release: true); + static NSProcessInfo alloc() { + final _ret = _objc_msgSend_2(_class_NSProcessInfo, _sel_alloc); + return NSProcessInfo._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSProcessInfo1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSProcessInfo1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSProcessInfo1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSProcessInfo1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSProcessInfo1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSProcessInfo1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSProcessInfo, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); } - static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSProcessInfo1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSProcessInfo1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSProcessInfo1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSProcessInfo, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); } -} + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSProcessInfo, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSProcessInfo, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSProcessInfo, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSProcessInfo, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); + } + + static void setKeys_triggerChangeNotificationsForDependentKey_( + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSProcessInfo, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = _objc_msgSend_85( + _class_NSProcessInfo, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = + _objc_msgSend_2(_class_NSProcessInfo, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); + } +} + +late final _class_NSProcessInfo = objc.getClass("NSProcessInfo"); +late final _sel_processInfo = objc.registerName("processInfo"); +final _objc_msgSend_939 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_environment = objc.registerName("environment"); +late final _sel_hostName = objc.registerName("hostName"); +late final _sel_processName = objc.registerName("processName"); +late final _sel_setProcessName_ = objc.registerName("setProcessName:"); +late final _sel_processIdentifier = objc.registerName("processIdentifier"); +late final _sel_globallyUniqueString = + objc.registerName("globallyUniqueString"); +late final _sel_operatingSystem = objc.registerName("operatingSystem"); +late final _sel_operatingSystemName = objc.registerName("operatingSystemName"); +late final _sel_operatingSystemVersionString = + objc.registerName("operatingSystemVersionString"); final class NSOperatingSystemVersion extends ffi.Struct { @ffi.Long() @@ -80779,6 +47021,56 @@ final class NSOperatingSystemVersion extends ffi.Struct { external int patchVersion; } +late final _sel_operatingSystemVersion = + objc.registerName("operatingSystemVersion"); +final _objc_msgSend_940 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + NSOperatingSystemVersion Function(ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + NSOperatingSystemVersion Function( + ffi.Pointer, ffi.Pointer)>(); +final _objc_msgSend_940Stret = objc.msgSendStretPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer stret, + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_processorCount = objc.registerName("processorCount"); +late final _sel_activeProcessorCount = + objc.registerName("activeProcessorCount"); +late final _sel_physicalMemory = objc.registerName("physicalMemory"); +late final _sel_isOperatingSystemAtLeastVersion_ = + objc.registerName("isOperatingSystemAtLeastVersion:"); +final _objc_msgSend_941 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + NSOperatingSystemVersion version)>>() + .asFunction< + bool Function(ffi.Pointer, + ffi.Pointer, NSOperatingSystemVersion)>(); +late final _sel_systemUptime = objc.registerName("systemUptime"); +late final _sel_disableSuddenTermination = + objc.registerName("disableSuddenTermination"); +late final _sel_enableSuddenTermination = + objc.registerName("enableSuddenTermination"); +late final _sel_disableAutomaticTermination_ = + objc.registerName("disableAutomaticTermination:"); +late final _sel_enableAutomaticTermination_ = + objc.registerName("enableAutomaticTermination:"); +late final _sel_automaticTerminationSupportEnabled = + objc.registerName("automaticTerminationSupportEnabled"); +late final _sel_setAutomaticTerminationSupportEnabled_ = + objc.registerName("setAutomaticTerminationSupportEnabled:"); + abstract class NSActivityOptions { static const int NSActivityIdleDisplaySleepDisabled = 1099511627776; static const int NSActivityIdleSystemSleepDisabled = 1048576; @@ -80793,52 +47085,70 @@ abstract class NSActivityOptions { static const int NSActivityUserInteractive = 1095233437695; } +late final _sel_beginActivityWithOptions_reason_ = + objc.registerName("beginActivityWithOptions:reason:"); +final _objc_msgSend_942 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Int32 options, + ffi.Pointer reason)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer)>(); +late final _sel_endActivity_ = objc.registerName("endActivity:"); +late final _sel_performActivityWithOptions_reason_usingBlock_ = + objc.registerName("performActivityWithOptions:reason:usingBlock:"); +final _objc_msgSend_943 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Int32 options, + ffi.Pointer reason, + ffi.Pointer block)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ffi.Pointer)>(); void _ObjCBlock_ffiVoid_bool_fnPtrTrampoline( - ffi.Pointer block, - bool arg0, -) => + ffi.Pointer block, bool arg0) => block.ref.target .cast>() .asFunction()(arg0); final _ObjCBlock_ffiVoid_bool_closureRegistry = {}; int _ObjCBlock_ffiVoid_bool_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_ffiVoid_bool_registerClosure( - void Function(bool) fn, -) { + void Function(bool) fn) { final id = ++_ObjCBlock_ffiVoid_bool_closureRegistryIndex; _ObjCBlock_ffiVoid_bool_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } void _ObjCBlock_ffiVoid_bool_closureTrampoline( - ffi.Pointer block, - bool arg0, -) => + ffi.Pointer block, bool arg0) => _ObjCBlock_ffiVoid_bool_closureRegistry[block.ref.target.address]!(arg0); class ObjCBlock_ffiVoid_bool extends objc.ObjCBlockBase { - ObjCBlock_ffiVoid_bool._( - ffi.Pointer pointer, - this._lib, { - bool retain = false, - bool release = true, - }) : super(pointer, retain: retain, release: release); - - SwiftLibrary _lib; + ObjCBlock_ffiVoid_bool._(ffi.Pointer pointer, + {bool retain = false, bool release = true}) + : super(pointer, retain: retain, release: release); /// Returns a block that wraps the given raw block pointer. static ObjCBlock_ffiVoid_bool castFromPointer( - SwiftLibrary lib, - ffi.Pointer pointer, { - bool retain = false, - bool release = false, - }) { - return ObjCBlock_ffiVoid_bool._( - pointer, - lib, - retain: retain, - release: release, - ); + ffi.Pointer pointer, + {bool retain = false, + bool release = false}) { + return ObjCBlock_ffiVoid_bool._(pointer, retain: retain, release: release); } /// Creates a block from a C function pointer. @@ -80847,17 +47157,13 @@ class ObjCBlock_ffiVoid_bool extends objc.ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_bool.fromFunctionPointer( - SwiftLibrary lib, - ffi.Pointer> ptr, - ) : this._( - objc.newBlock( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function(ffi.Pointer, - ffi.Bool)>(_ObjCBlock_ffiVoid_bool_fnPtrTrampoline) - .cast(), - ptr.cast(), - ), - lib); + ffi.Pointer> ptr) + : this._(objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function(ffi.Pointer, + ffi.Bool)>(_ObjCBlock_ffiVoid_bool_fnPtrTrampoline) + .cast(), + ptr.cast())); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -80865,16 +47171,13 @@ class ObjCBlock_ffiVoid_bool extends objc.ObjCBlockBase { /// This block must be invoked by native code running on the same thread as /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. - ObjCBlock_ffiVoid_bool.fromFunction(SwiftLibrary lib, void Function(bool) fn) - : this._( - objc.newBlock( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function(ffi.Pointer, - ffi.Bool)>(_ObjCBlock_ffiVoid_bool_closureTrampoline) - .cast(), - _ObjCBlock_ffiVoid_bool_registerClosure((bool arg0) => fn(arg0)), - ), - lib); + ObjCBlock_ffiVoid_bool.fromFunction(void Function(bool) fn) + : this._(objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function(ffi.Pointer, + ffi.Bool)>(_ObjCBlock_ffiVoid_bool_closureTrampoline) + .cast(), + _ObjCBlock_ffiVoid_bool_registerClosure((bool arg0) => fn(arg0)))); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -80886,19 +47189,16 @@ class ObjCBlock_ffiVoid_bool extends objc.ObjCBlockBase { /// /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. - ObjCBlock_ffiVoid_bool.listener(SwiftLibrary lib, void Function(bool) fn) - : this._( - objc.newBlock( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, ffi.Bool)>.listener( - _ObjCBlock_ffiVoid_bool_closureTrampoline, - )..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_bool_registerClosure((bool arg0) => fn(arg0)), - ), - lib); + ObjCBlock_ffiVoid_bool.listener(void Function(bool) fn) + : this._(objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, ffi.Bool)>.listener( + _ObjCBlock_ffiVoid_bool_closureTrampoline) + ..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_bool_registerClosure((bool arg0) => fn(arg0)))); static ffi .NativeCallable, ffi.Bool)>? _dartFuncListenerTrampoline; @@ -80909,10 +47209,27 @@ class ObjCBlock_ffiVoid_bool extends objc.ObjCBlockBase { ffi.Void Function( ffi.Pointer block, ffi.Bool arg0)>>() .asFunction, bool)>()( - pointer, - arg0, - ); -} + pointer, arg0); +} + +late final _sel_performExpiringActivityWithReason_usingBlock_ = + objc.registerName("performExpiringActivityWithReason:usingBlock:"); +final _objc_msgSend_944 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer reason, + ffi.Pointer block)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_userName = objc.registerName("userName"); +late final _sel_fullUserName = objc.registerName("fullUserName"); abstract class NSProcessInfoThermalState { static const int NSProcessInfoThermalStateNominal = 0; @@ -80921,543 +47238,396 @@ abstract class NSProcessInfoThermalState { static const int NSProcessInfoThermalStateCritical = 3; } +late final _sel_thermalState = objc.registerName("thermalState"); +final _objc_msgSend_945 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + int Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_isLowPowerModeEnabled = + objc.registerName("isLowPowerModeEnabled"); +late final _sel_isMacCatalystApp = objc.registerName("isMacCatalystApp"); +late final _sel_isiOSAppOnMac = objc.registerName("isiOSAppOnMac"); + class NSTextCheckingResult extends NSObject { - NSTextCheckingResult._( - ffi.Pointer pointer, - SwiftLibrary lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSTextCheckingResult._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSTextCheckingResult] that points to the same underlying object as [other]. - static NSTextCheckingResult castFrom( - SwiftLibrary lib, - T other, - ) { - return NSTextCheckingResult._( - other.pointer, - lib, - retain: true, - release: true, - ); + static NSTextCheckingResult castFrom(T other) { + return NSTextCheckingResult._(other.pointer, retain: true, release: true); } /// Returns a [NSTextCheckingResult] that wraps the given raw object pointer. static NSTextCheckingResult castFromPointer( - SwiftLibrary lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSTextCheckingResult._(other, lib, retain: retain, release: release); + ffi.Pointer other, + {bool retain = false, + bool release = false}) { + return NSTextCheckingResult._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSTextCheckingResult]. - static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSTextCheckingResult1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0( + obj.pointer, _sel_isKindOfClass_, _class_NSTextCheckingResult); } int get resultType { - return _lib._objc_msgSend_946(this.pointer, _lib._sel_resultType1); + return _objc_msgSend_946(this.pointer, _sel_resultType); } void getRange(ffi.Pointer<_NSRange> stret) { objc.useMsgSendVariants - ? _lib._objc_msgSend_54_stret(stret, this.pointer, _lib._sel_range1) - : stret.ref = _lib._objc_msgSend_54(this.pointer, _lib._sel_range1); + ? _objc_msgSend_54Stret(stret, this.pointer, _sel_range) + : stret.ref = _objc_msgSend_54(this.pointer, _sel_range); } NSOrthography? get orthography { - final _ret = _lib._objc_msgSend_947(this.pointer, _lib._sel_orthography1); + final _ret = _objc_msgSend_947(this.pointer, _sel_orthography); return _ret.address == 0 ? null - : NSOrthography._(_ret, _lib, retain: true, release: true); + : NSOrthography._(_ret, retain: true, release: true); } NSArray? get grammarDetails { - final _ret = _lib._objc_msgSend_84(this.pointer, _lib._sel_grammarDetails1); + final _ret = _objc_msgSend_84(this.pointer, _sel_grammarDetails); return _ret.address == 0 ? null - : NSArray._(_ret, _lib, retain: true, release: true); + : NSArray._(_ret, retain: true, release: true); } NSDate? get date { - final _ret = _lib._objc_msgSend_183(this.pointer, _lib._sel_date1); + final _ret = _objc_msgSend_183(this.pointer, _sel_date); return _ret.address == 0 ? null - : NSDate._(_ret, _lib, retain: true, release: true); + : NSDate._(_ret, retain: true, release: true); } NSTimeZone? get timeZone { - final _ret = _lib._objc_msgSend_773(this.pointer, _lib._sel_timeZone1); + final _ret = _objc_msgSend_773(this.pointer, _sel_timeZone); return _ret.address == 0 ? null - : NSTimeZone._(_ret, _lib, retain: true, release: true); + : NSTimeZone._(_ret, retain: true, release: true); } double get duration { return objc.useMsgSendVariants - ? _lib._objc_msgSend_165_fpret(this.pointer, _lib._sel_duration1) - : _lib._objc_msgSend_165(this.pointer, _lib._sel_duration1); + ? _objc_msgSend_165Fpret(this.pointer, _sel_duration) + : _objc_msgSend_165(this.pointer, _sel_duration); } NSDictionary? get components { - final _ret = _lib._objc_msgSend_390(this.pointer, _lib._sel_components1); + final _ret = _objc_msgSend_390(this.pointer, _sel_components); return _ret.address == 0 ? null - : NSDictionary._(_ret, _lib, retain: true, release: true); + : NSDictionary._(_ret, retain: true, release: true); } NSURL? get URL { - final _ret = _lib._objc_msgSend_45(this.pointer, _lib._sel_URL1); + final _ret = _objc_msgSend_45(this.pointer, _sel_URL); return _ret.address == 0 ? null - : NSURL._(_ret, _lib, retain: true, release: true); + : NSURL._(_ret, retain: true, release: true); } NSString? get replacementString { - final _ret = _lib._objc_msgSend_44( - this.pointer, - _lib._sel_replacementString1, - ); + final _ret = _objc_msgSend_44(this.pointer, _sel_replacementString); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } NSArray? get alternativeStrings { - final _ret = _lib._objc_msgSend_84( - this.pointer, - _lib._sel_alternativeStrings1, - ); + final _ret = _objc_msgSend_84(this.pointer, _sel_alternativeStrings); return _ret.address == 0 ? null - : NSArray._(_ret, _lib, retain: true, release: true); + : NSArray._(_ret, retain: true, release: true); } NSRegularExpression? get regularExpression { - final _ret = _lib._objc_msgSend_959( - this.pointer, - _lib._sel_regularExpression1, - ); + final _ret = _objc_msgSend_959(this.pointer, _sel_regularExpression); return _ret.address == 0 ? null - : NSRegularExpression._(_ret, _lib, retain: true, release: true); + : NSRegularExpression._(_ret, retain: true, release: true); } NSString? get phoneNumber { - final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_phoneNumber1); + final _ret = _objc_msgSend_44(this.pointer, _sel_phoneNumber); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } int get numberOfRanges { - return _lib._objc_msgSend_10(this.pointer, _lib._sel_numberOfRanges1); + return _objc_msgSend_10(this.pointer, _sel_numberOfRanges); } void rangeAtIndex_(ffi.Pointer<_NSRange> stret, int idx) { objc.useMsgSendVariants - ? _lib._objc_msgSend_347_stret( - stret, - this.pointer, - _lib._sel_rangeAtIndex_1, - idx, - ) - : stret.ref = _lib._objc_msgSend_347( - this.pointer, - _lib._sel_rangeAtIndex_1, - idx, - ); + ? _objc_msgSend_347Stret(stret, this.pointer, _sel_rangeAtIndex_, idx) + : stret.ref = _objc_msgSend_347(this.pointer, _sel_rangeAtIndex_, idx); } void rangeWithName_(ffi.Pointer<_NSRange> stret, NSString name) { objc.useMsgSendVariants - ? _lib._objc_msgSend_340_stret( - stret, - this.pointer, - _lib._sel_rangeWithName_1, - name.pointer, - ) - : stret.ref = _lib._objc_msgSend_340( - this.pointer, - _lib._sel_rangeWithName_1, - name.pointer, - ); + ? _objc_msgSend_340Stret( + stret, this.pointer, _sel_rangeWithName_, name.pointer) + : stret.ref = + _objc_msgSend_340(this.pointer, _sel_rangeWithName_, name.pointer); } NSTextCheckingResult resultByAdjustingRangesWithOffset_(int offset) { - final _ret = _lib._objc_msgSend_960( - this.pointer, - _lib._sel_resultByAdjustingRangesWithOffset_1, - offset, - ); - return NSTextCheckingResult._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_960( + this.pointer, _sel_resultByAdjustingRangesWithOffset_, offset); + return NSTextCheckingResult._(_ret, retain: true, release: true); } NSDictionary? get addressComponents { - final _ret = _lib._objc_msgSend_390( - this.pointer, - _lib._sel_addressComponents1, - ); + final _ret = _objc_msgSend_390(this.pointer, _sel_addressComponents); return _ret.address == 0 ? null - : NSDictionary._(_ret, _lib, retain: true, release: true); + : NSDictionary._(_ret, retain: true, release: true); } static NSTextCheckingResult orthographyCheckingResultWithRange_orthography_( - SwiftLibrary _lib, - _NSRange range, - NSOrthography orthography, - ) { - final _ret = _lib._objc_msgSend_961( - _lib._class_NSTextCheckingResult1, - _lib._sel_orthographyCheckingResultWithRange_orthography_1, - range, - orthography.pointer, - ); - return NSTextCheckingResult._(_ret, _lib, retain: true, release: true); - } - - static NSTextCheckingResult spellCheckingResultWithRange_( - SwiftLibrary _lib, - _NSRange range, - ) { - final _ret = _lib._objc_msgSend_962( - _lib._class_NSTextCheckingResult1, - _lib._sel_spellCheckingResultWithRange_1, - range, - ); - return NSTextCheckingResult._(_ret, _lib, retain: true, release: true); + _NSRange range, NSOrthography orthography) { + final _ret = _objc_msgSend_961( + _class_NSTextCheckingResult, + _sel_orthographyCheckingResultWithRange_orthography_, + range, + orthography.pointer); + return NSTextCheckingResult._(_ret, retain: true, release: true); + } + + static NSTextCheckingResult spellCheckingResultWithRange_(_NSRange range) { + final _ret = _objc_msgSend_962( + _class_NSTextCheckingResult, _sel_spellCheckingResultWithRange_, range); + return NSTextCheckingResult._(_ret, retain: true, release: true); } static NSTextCheckingResult grammarCheckingResultWithRange_details_( - SwiftLibrary _lib, - _NSRange range, - NSArray details, - ) { - final _ret = _lib._objc_msgSend_963( - _lib._class_NSTextCheckingResult1, - _lib._sel_grammarCheckingResultWithRange_details_1, - range, - details.pointer, - ); - return NSTextCheckingResult._(_ret, _lib, retain: true, release: true); + _NSRange range, NSArray details) { + final _ret = _objc_msgSend_963(_class_NSTextCheckingResult, + _sel_grammarCheckingResultWithRange_details_, range, details.pointer); + return NSTextCheckingResult._(_ret, retain: true, release: true); } static NSTextCheckingResult dateCheckingResultWithRange_date_( - SwiftLibrary _lib, - _NSRange range, - NSDate date, - ) { - final _ret = _lib._objc_msgSend_964( - _lib._class_NSTextCheckingResult1, - _lib._sel_dateCheckingResultWithRange_date_1, - range, - date.pointer, - ); - return NSTextCheckingResult._(_ret, _lib, retain: true, release: true); + _NSRange range, NSDate date) { + final _ret = _objc_msgSend_964(_class_NSTextCheckingResult, + _sel_dateCheckingResultWithRange_date_, range, date.pointer); + return NSTextCheckingResult._(_ret, retain: true, release: true); } static NSTextCheckingResult dateCheckingResultWithRange_date_timeZone_duration_( - SwiftLibrary _lib, - _NSRange range, - NSDate date, - NSTimeZone timeZone, - double duration, - ) { - final _ret = _lib._objc_msgSend_965( - _lib._class_NSTextCheckingResult1, - _lib._sel_dateCheckingResultWithRange_date_timeZone_duration_1, - range, - date.pointer, - timeZone.pointer, - duration, - ); - return NSTextCheckingResult._(_ret, _lib, retain: true, release: true); + _NSRange range, NSDate date, NSTimeZone timeZone, double duration) { + final _ret = _objc_msgSend_965( + _class_NSTextCheckingResult, + _sel_dateCheckingResultWithRange_date_timeZone_duration_, + range, + date.pointer, + timeZone.pointer, + duration); + return NSTextCheckingResult._(_ret, retain: true, release: true); } static NSTextCheckingResult addressCheckingResultWithRange_components_( - SwiftLibrary _lib, - _NSRange range, - NSDictionary components, - ) { - final _ret = _lib._objc_msgSend_966( - _lib._class_NSTextCheckingResult1, - _lib._sel_addressCheckingResultWithRange_components_1, - range, - components.pointer, - ); - return NSTextCheckingResult._(_ret, _lib, retain: true, release: true); + _NSRange range, NSDictionary components) { + final _ret = _objc_msgSend_966( + _class_NSTextCheckingResult, + _sel_addressCheckingResultWithRange_components_, + range, + components.pointer); + return NSTextCheckingResult._(_ret, retain: true, release: true); } static NSTextCheckingResult linkCheckingResultWithRange_URL_( - SwiftLibrary _lib, - _NSRange range, - NSURL url, - ) { - final _ret = _lib._objc_msgSend_967( - _lib._class_NSTextCheckingResult1, - _lib._sel_linkCheckingResultWithRange_URL_1, - range, - url.pointer, - ); - return NSTextCheckingResult._(_ret, _lib, retain: true, release: true); + _NSRange range, NSURL url) { + final _ret = _objc_msgSend_967(_class_NSTextCheckingResult, + _sel_linkCheckingResultWithRange_URL_, range, url.pointer); + return NSTextCheckingResult._(_ret, retain: true, release: true); } static NSTextCheckingResult quoteCheckingResultWithRange_replacementString_( - SwiftLibrary _lib, - _NSRange range, - NSString replacementString, - ) { - final _ret = _lib._objc_msgSend_968( - _lib._class_NSTextCheckingResult1, - _lib._sel_quoteCheckingResultWithRange_replacementString_1, - range, - replacementString.pointer, - ); - return NSTextCheckingResult._(_ret, _lib, retain: true, release: true); + _NSRange range, NSString replacementString) { + final _ret = _objc_msgSend_968( + _class_NSTextCheckingResult, + _sel_quoteCheckingResultWithRange_replacementString_, + range, + replacementString.pointer); + return NSTextCheckingResult._(_ret, retain: true, release: true); } static NSTextCheckingResult dashCheckingResultWithRange_replacementString_( - SwiftLibrary _lib, - _NSRange range, - NSString replacementString, - ) { - final _ret = _lib._objc_msgSend_968( - _lib._class_NSTextCheckingResult1, - _lib._sel_dashCheckingResultWithRange_replacementString_1, - range, - replacementString.pointer, - ); - return NSTextCheckingResult._(_ret, _lib, retain: true, release: true); + _NSRange range, NSString replacementString) { + final _ret = _objc_msgSend_968( + _class_NSTextCheckingResult, + _sel_dashCheckingResultWithRange_replacementString_, + range, + replacementString.pointer); + return NSTextCheckingResult._(_ret, retain: true, release: true); } static NSTextCheckingResult replacementCheckingResultWithRange_replacementString_( - SwiftLibrary _lib, - _NSRange range, - NSString replacementString, - ) { - final _ret = _lib._objc_msgSend_968( - _lib._class_NSTextCheckingResult1, - _lib._sel_replacementCheckingResultWithRange_replacementString_1, - range, - replacementString.pointer, - ); - return NSTextCheckingResult._(_ret, _lib, retain: true, release: true); + _NSRange range, NSString replacementString) { + final _ret = _objc_msgSend_968( + _class_NSTextCheckingResult, + _sel_replacementCheckingResultWithRange_replacementString_, + range, + replacementString.pointer); + return NSTextCheckingResult._(_ret, retain: true, release: true); } static NSTextCheckingResult correctionCheckingResultWithRange_replacementString_( - SwiftLibrary _lib, - _NSRange range, - NSString replacementString, - ) { - final _ret = _lib._objc_msgSend_968( - _lib._class_NSTextCheckingResult1, - _lib._sel_correctionCheckingResultWithRange_replacementString_1, - range, - replacementString.pointer, - ); - return NSTextCheckingResult._(_ret, _lib, retain: true, release: true); + _NSRange range, NSString replacementString) { + final _ret = _objc_msgSend_968( + _class_NSTextCheckingResult, + _sel_correctionCheckingResultWithRange_replacementString_, + range, + replacementString.pointer); + return NSTextCheckingResult._(_ret, retain: true, release: true); } static NSTextCheckingResult correctionCheckingResultWithRange_replacementString_alternativeStrings_( - SwiftLibrary _lib, - _NSRange range, - NSString replacementString, - NSArray alternativeStrings, - ) { - final _ret = _lib._objc_msgSend_969( - _lib._class_NSTextCheckingResult1, - _lib._sel_correctionCheckingResultWithRange_replacementString_alternativeStrings_1, - range, - replacementString.pointer, - alternativeStrings.pointer, - ); - return NSTextCheckingResult._(_ret, _lib, retain: true, release: true); + _NSRange range, + NSString replacementString, + NSArray alternativeStrings) { + final _ret = _objc_msgSend_969( + _class_NSTextCheckingResult, + _sel_correctionCheckingResultWithRange_replacementString_alternativeStrings_, + range, + replacementString.pointer, + alternativeStrings.pointer); + return NSTextCheckingResult._(_ret, retain: true, release: true); } static NSTextCheckingResult regularExpressionCheckingResultWithRanges_count_regularExpression_( - SwiftLibrary _lib, - ffi.Pointer<_NSRange> ranges, - int count, - NSRegularExpression regularExpression, - ) { - final _ret = _lib._objc_msgSend_970( - _lib._class_NSTextCheckingResult1, - _lib._sel_regularExpressionCheckingResultWithRanges_count_regularExpression_1, - ranges, - count, - regularExpression.pointer, - ); - return NSTextCheckingResult._(_ret, _lib, retain: true, release: true); + ffi.Pointer<_NSRange> ranges, + int count, + NSRegularExpression regularExpression) { + final _ret = _objc_msgSend_970( + _class_NSTextCheckingResult, + _sel_regularExpressionCheckingResultWithRanges_count_regularExpression_, + ranges, + count, + regularExpression.pointer); + return NSTextCheckingResult._(_ret, retain: true, release: true); } static NSTextCheckingResult phoneNumberCheckingResultWithRange_phoneNumber_( - SwiftLibrary _lib, - _NSRange range, - NSString phoneNumber, - ) { - final _ret = _lib._objc_msgSend_968( - _lib._class_NSTextCheckingResult1, - _lib._sel_phoneNumberCheckingResultWithRange_phoneNumber_1, - range, - phoneNumber.pointer, - ); - return NSTextCheckingResult._(_ret, _lib, retain: true, release: true); + _NSRange range, NSString phoneNumber) { + final _ret = _objc_msgSend_968( + _class_NSTextCheckingResult, + _sel_phoneNumberCheckingResultWithRange_phoneNumber_, + range, + phoneNumber.pointer); + return NSTextCheckingResult._(_ret, retain: true, release: true); } static NSTextCheckingResult transitInformationCheckingResultWithRange_components_( - SwiftLibrary _lib, - _NSRange range, - NSDictionary components, - ) { - final _ret = _lib._objc_msgSend_966( - _lib._class_NSTextCheckingResult1, - _lib._sel_transitInformationCheckingResultWithRange_components_1, - range, - components.pointer, - ); - return NSTextCheckingResult._(_ret, _lib, retain: true, release: true); + _NSRange range, NSDictionary components) { + final _ret = _objc_msgSend_966( + _class_NSTextCheckingResult, + _sel_transitInformationCheckingResultWithRange_components_, + range, + components.pointer); + return NSTextCheckingResult._(_ret, retain: true, release: true); } @override NSTextCheckingResult init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSTextCheckingResult._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSTextCheckingResult._(_ret, retain: true, release: true); } - static NSTextCheckingResult new1(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSTextCheckingResult1, - _lib._sel_new1, - ); - return NSTextCheckingResult._(_ret, _lib, retain: false, release: true); + static NSTextCheckingResult new1() { + final _ret = _objc_msgSend_2(_class_NSTextCheckingResult, _sel_new); + return NSTextCheckingResult._(_ret, retain: false, release: true); } - static NSTextCheckingResult allocWithZone_( - SwiftLibrary _lib, - ffi.Pointer<_NSZone> zone, - ) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSTextCheckingResult1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSTextCheckingResult._(_ret, _lib, retain: false, release: true); + static NSTextCheckingResult allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = + _objc_msgSend_3(_class_NSTextCheckingResult, _sel_allocWithZone_, zone); + return NSTextCheckingResult._(_ret, retain: false, release: true); } - static NSTextCheckingResult alloc(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSTextCheckingResult1, - _lib._sel_alloc1, - ); - return NSTextCheckingResult._(_ret, _lib, retain: false, release: true); + static NSTextCheckingResult alloc() { + final _ret = _objc_msgSend_2(_class_NSTextCheckingResult, _sel_alloc); + return NSTextCheckingResult._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSTextCheckingResult1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSTextCheckingResult1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSTextCheckingResult1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSTextCheckingResult1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSTextCheckingResult1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSTextCheckingResult1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSTextCheckingResult, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); + } + + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSTextCheckingResult, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); + } + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSTextCheckingResult, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12( + _class_NSTextCheckingResult, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSTextCheckingResult, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSTextCheckingResult, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); } static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSTextCheckingResult1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSTextCheckingResult1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSTextCheckingResult1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSTextCheckingResult, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = _objc_msgSend_85( + _class_NSTextCheckingResult, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = _objc_msgSend_2( + _class_NSTextCheckingResult, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); } } +late final _class_NSTextCheckingResult = objc.getClass("NSTextCheckingResult"); + abstract class NSTextCheckingType { static const int NSTextCheckingTypeOrthography = 1; static const int NSTextCheckingTypeSpelling = 2; @@ -81474,381 +47644,282 @@ abstract class NSTextCheckingType { static const int NSTextCheckingTypeTransitInformation = 4096; } +late final _sel_resultType = objc.registerName("resultType"); +final _objc_msgSend_946 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + int Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_range = objc.registerName("range"); +late final _sel_orthography = objc.registerName("orthography"); +final _objc_msgSend_947 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_grammarDetails = objc.registerName("grammarDetails"); +late final _sel_duration = objc.registerName("duration"); +late final _sel_components = objc.registerName("components"); +late final _sel_replacementString = objc.registerName("replacementString"); +late final _sel_alternativeStrings = objc.registerName("alternativeStrings"); + class NSRegularExpression extends NSObject { - NSRegularExpression._( - ffi.Pointer pointer, - SwiftLibrary lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSRegularExpression._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSRegularExpression] that points to the same underlying object as [other]. - static NSRegularExpression castFrom( - SwiftLibrary lib, - T other, - ) { - return NSRegularExpression._( - other.pointer, - lib, - retain: true, - release: true, - ); + static NSRegularExpression castFrom(T other) { + return NSRegularExpression._(other.pointer, retain: true, release: true); } /// Returns a [NSRegularExpression] that wraps the given raw object pointer. - static NSRegularExpression castFromPointer( - SwiftLibrary lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSRegularExpression._(other, lib, retain: retain, release: release); + static NSRegularExpression castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSRegularExpression._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSRegularExpression]. - static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSRegularExpression1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0( + obj.pointer, _sel_isKindOfClass_, _class_NSRegularExpression); } static NSRegularExpression? regularExpressionWithPattern_options_error_( - SwiftLibrary _lib, - NSString pattern, - int options, - ffi.Pointer> error, - ) { - final _ret = _lib._objc_msgSend_948( - _lib._class_NSRegularExpression1, - _lib._sel_regularExpressionWithPattern_options_error_1, - pattern.pointer, - options, - error, - ); + NSString pattern, + int options, + ffi.Pointer> error) { + final _ret = _objc_msgSend_948( + _class_NSRegularExpression, + _sel_regularExpressionWithPattern_options_error_, + pattern.pointer, + options, + error); return _ret.address == 0 ? null - : NSRegularExpression._(_ret, _lib, retain: true, release: true); + : NSRegularExpression._(_ret, retain: true, release: true); } - NSRegularExpression? initWithPattern_options_error_( - NSString pattern, - int options, - ffi.Pointer> error, - ) { - final _ret = _lib._objc_msgSend_949( - this.pointer, - _lib._sel_initWithPattern_options_error_1, - pattern.pointer, - options, - error, - ); + NSRegularExpression? initWithPattern_options_error_(NSString pattern, + int options, ffi.Pointer> error) { + final _ret = _objc_msgSend_949(this.pointer, + _sel_initWithPattern_options_error_, pattern.pointer, options, error); return _ret.address == 0 ? null - : NSRegularExpression._(_ret, _lib, retain: true, release: true); + : NSRegularExpression._(_ret, retain: true, release: true); } NSString get pattern { - final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_pattern1); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_pattern); + return NSString._(_ret, retain: true, release: true); } int get options { - return _lib._objc_msgSend_950(this.pointer, _lib._sel_options1); + return _objc_msgSend_950(this.pointer, _sel_options); } int get numberOfCaptureGroups { - return _lib._objc_msgSend_10( - this.pointer, - _lib._sel_numberOfCaptureGroups1, - ); + return _objc_msgSend_10(this.pointer, _sel_numberOfCaptureGroups); } - static NSString escapedPatternForString_(SwiftLibrary _lib, NSString string) { - final _ret = _lib._objc_msgSend_69( - _lib._class_NSRegularExpression1, - _lib._sel_escapedPatternForString_1, - string.pointer, - ); - return NSString._(_ret, _lib, retain: true, release: true); + static NSString escapedPatternForString_(NSString string) { + final _ret = _objc_msgSend_69(_class_NSRegularExpression, + _sel_escapedPatternForString_, string.pointer); + return NSString._(_ret, retain: true, release: true); } void enumerateMatchesInString_options_range_usingBlock_( - NSString string, - int options, - _NSRange range, - ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool block, - ) { - _lib._objc_msgSend_951( - this.pointer, - _lib._sel_enumerateMatchesInString_options_range_usingBlock_1, - string.pointer, - options, - range, - block.pointer, - ); + NSString string, + int options, + _NSRange range, + ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool block) { + _objc_msgSend_951( + this.pointer, + _sel_enumerateMatchesInString_options_range_usingBlock_, + string.pointer, + options, + range, + block.pointer); } NSArray matchesInString_options_range_( - NSString string, - int options, - _NSRange range, - ) { - final _ret = _lib._objc_msgSend_952( - this.pointer, - _lib._sel_matchesInString_options_range_1, - string.pointer, - options, - range, - ); - return NSArray._(_ret, _lib, retain: true, release: true); + NSString string, int options, _NSRange range) { + final _ret = _objc_msgSend_952(this.pointer, + _sel_matchesInString_options_range_, string.pointer, options, range); + return NSArray._(_ret, retain: true, release: true); } int numberOfMatchesInString_options_range_( - NSString string, - int options, - _NSRange range, - ) { - return _lib._objc_msgSend_953( - this.pointer, - _lib._sel_numberOfMatchesInString_options_range_1, - string.pointer, - options, - range, - ); + NSString string, int options, _NSRange range) { + return _objc_msgSend_953( + this.pointer, + _sel_numberOfMatchesInString_options_range_, + string.pointer, + options, + range); } NSTextCheckingResult? firstMatchInString_options_range_( - NSString string, - int options, - _NSRange range, - ) { - final _ret = _lib._objc_msgSend_954( - this.pointer, - _lib._sel_firstMatchInString_options_range_1, - string.pointer, - options, - range, - ); - return _ret.address == 0 - ? null - : NSTextCheckingResult._(_ret, _lib, retain: true, release: true); - } - - void rangeOfFirstMatchInString_options_range_( - ffi.Pointer<_NSRange> stret, - NSString string, - int options, - _NSRange range, - ) { + NSString string, int options, _NSRange range) { + final _ret = _objc_msgSend_954(this.pointer, + _sel_firstMatchInString_options_range_, string.pointer, options, range); + return _ret.address == 0 + ? null + : NSTextCheckingResult._(_ret, retain: true, release: true); + } + + void rangeOfFirstMatchInString_options_range_(ffi.Pointer<_NSRange> stret, + NSString string, int options, _NSRange range) { objc.useMsgSendVariants - ? _lib._objc_msgSend_955_stret( + ? _objc_msgSend_955Stret( stret, this.pointer, - _lib._sel_rangeOfFirstMatchInString_options_range_1, + _sel_rangeOfFirstMatchInString_options_range_, string.pointer, options, - range, - ) - : stret.ref = _lib._objc_msgSend_955( + range) + : stret.ref = _objc_msgSend_955( this.pointer, - _lib._sel_rangeOfFirstMatchInString_options_range_1, + _sel_rangeOfFirstMatchInString_options_range_, string.pointer, options, - range, - ); + range); } NSString stringByReplacingMatchesInString_options_range_withTemplate_( - NSString string, - int options, - _NSRange range, - NSString templ, - ) { - final _ret = _lib._objc_msgSend_956( - this.pointer, - _lib._sel_stringByReplacingMatchesInString_options_range_withTemplate_1, - string.pointer, - options, - range, - templ.pointer, - ); - return NSString._(_ret, _lib, retain: true, release: true); + NSString string, int options, _NSRange range, NSString templ) { + final _ret = _objc_msgSend_956( + this.pointer, + _sel_stringByReplacingMatchesInString_options_range_withTemplate_, + string.pointer, + options, + range, + templ.pointer); + return NSString._(_ret, retain: true, release: true); } int replaceMatchesInString_options_range_withTemplate_( - NSMutableString string, - int options, - _NSRange range, - NSString templ, - ) { - return _lib._objc_msgSend_957( - this.pointer, - _lib._sel_replaceMatchesInString_options_range_withTemplate_1, - string.pointer, - options, - range, - templ.pointer, - ); + NSMutableString string, int options, _NSRange range, NSString templ) { + return _objc_msgSend_957( + this.pointer, + _sel_replaceMatchesInString_options_range_withTemplate_, + string.pointer, + options, + range, + templ.pointer); } NSString replacementStringForResult_inString_offset_template_( - NSTextCheckingResult result, - NSString string, - int offset, - NSString templ, - ) { - final _ret = _lib._objc_msgSend_958( - this.pointer, - _lib._sel_replacementStringForResult_inString_offset_template_1, - result.pointer, - string.pointer, - offset, - templ.pointer, - ); - return NSString._(_ret, _lib, retain: true, release: true); - } - - static NSString escapedTemplateForString_( - SwiftLibrary _lib, - NSString string, - ) { - final _ret = _lib._objc_msgSend_69( - _lib._class_NSRegularExpression1, - _lib._sel_escapedTemplateForString_1, - string.pointer, - ); - return NSString._(_ret, _lib, retain: true, release: true); + NSTextCheckingResult result, + NSString string, + int offset, + NSString templ) { + final _ret = _objc_msgSend_958( + this.pointer, + _sel_replacementStringForResult_inString_offset_template_, + result.pointer, + string.pointer, + offset, + templ.pointer); + return NSString._(_ret, retain: true, release: true); + } + + static NSString escapedTemplateForString_(NSString string) { + final _ret = _objc_msgSend_69(_class_NSRegularExpression, + _sel_escapedTemplateForString_, string.pointer); + return NSString._(_ret, retain: true, release: true); } @override NSRegularExpression init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSRegularExpression._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSRegularExpression._(_ret, retain: true, release: true); } - static NSRegularExpression new1(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSRegularExpression1, - _lib._sel_new1, - ); - return NSRegularExpression._(_ret, _lib, retain: false, release: true); + static NSRegularExpression new1() { + final _ret = _objc_msgSend_2(_class_NSRegularExpression, _sel_new); + return NSRegularExpression._(_ret, retain: false, release: true); } - static NSRegularExpression allocWithZone_( - SwiftLibrary _lib, - ffi.Pointer<_NSZone> zone, - ) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSRegularExpression1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSRegularExpression._(_ret, _lib, retain: false, release: true); + static NSRegularExpression allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = + _objc_msgSend_3(_class_NSRegularExpression, _sel_allocWithZone_, zone); + return NSRegularExpression._(_ret, retain: false, release: true); } - static NSRegularExpression alloc(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSRegularExpression1, - _lib._sel_alloc1, - ); - return NSRegularExpression._(_ret, _lib, retain: false, release: true); + static NSRegularExpression alloc() { + final _ret = _objc_msgSend_2(_class_NSRegularExpression, _sel_alloc); + return NSRegularExpression._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSRegularExpression1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSRegularExpression1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSRegularExpression1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSRegularExpression1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSRegularExpression1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSRegularExpression1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSRegularExpression, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); + } + + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSRegularExpression, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); + } + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSRegularExpression, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSRegularExpression, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSRegularExpression, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSRegularExpression, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); } static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSRegularExpression1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSRegularExpression1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSRegularExpression1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSRegularExpression, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = _objc_msgSend_85( + _class_NSRegularExpression, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = _objc_msgSend_2( + _class_NSRegularExpression, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); } } +late final _class_NSRegularExpression = objc.getClass("NSRegularExpression"); + abstract class NSRegularExpressionOptions { static const int NSRegularExpressionCaseInsensitive = 1; static const int NSRegularExpressionAllowCommentsAndWhitespace = 2; @@ -81859,6 +47930,57 @@ abstract class NSRegularExpressionOptions { static const int NSRegularExpressionUseUnicodeWordBoundaries = 64; } +late final _sel_regularExpressionWithPattern_options_error_ = + objc.registerName("regularExpressionWithPattern:options:error:"); +final _objc_msgSend_948 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer pattern, + ffi.Int32 options, + ffi.Pointer> error)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer>)>(); +late final _sel_initWithPattern_options_error_ = + objc.registerName("initWithPattern:options:error:"); +final _objc_msgSend_949 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer pattern, + ffi.Int32 options, + ffi.Pointer> error)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer>)>(); +late final _sel_pattern = objc.registerName("pattern"); +late final _sel_options = objc.registerName("options"); +final _objc_msgSend_950 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + int Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_numberOfCaptureGroups = + objc.registerName("numberOfCaptureGroups"); +late final _sel_escapedPatternForString_ = + objc.registerName("escapedPatternForString:"); + abstract class NSMatchingOptions { static const int NSMatchingReportProgress = 1; static const int NSMatchingReportCompletion = 2; @@ -81869,19 +47991,15 @@ abstract class NSMatchingOptions { void _ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool_fnPtrTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, - int arg1, - ffi.Pointer arg2, -) => + ffi.Pointer block, + ffi.Pointer arg0, + int arg1, + ffi.Pointer arg2) => block.ref.target .cast< ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.Int32 arg1, - ffi.Pointer arg2, - )>>() + ffi.Void Function(ffi.Pointer arg0, + ffi.Int32 arg1, ffi.Pointer arg2)>>() .asFunction< void Function(ffi.Pointer, int, ffi.Pointer)>()(arg0, arg1, arg2); @@ -81893,8 +48011,8 @@ int _ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool_closureRegistry 0; ffi.Pointer _ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool_registerClosure( - void Function(ffi.Pointer, int, ffi.Pointer) fn, -) { + void Function(ffi.Pointer, int, ffi.Pointer) + fn) { final id = ++_ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool_closureRegistryIndex; _ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool_closureRegistry[ @@ -81902,41 +48020,30 @@ ffi.Pointer return ffi.Pointer.fromAddress(id); } -void - _ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool_closureTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, - int arg1, - ffi.Pointer arg2, -) => - _ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool_closureRegistry[ - block.ref.target.address]!(arg0, arg1, arg2); +void _ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool_closureTrampoline( + ffi.Pointer block, + ffi.Pointer arg0, + int arg1, + ffi.Pointer arg2) => + _ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool_closureRegistry[ + block.ref.target.address]!(arg0, arg1, arg2); class ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool._( - ffi.Pointer pointer, - this._lib, { - bool retain = false, - bool release = true, - }) : super(pointer, retain: retain, release: release); - - SwiftLibrary _lib; + ffi.Pointer pointer, + {bool retain = false, + bool release = true}) + : super(pointer, retain: retain, release: release); /// Returns a block that wraps the given raw block pointer. static ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool - castFromPointer( - SwiftLibrary lib, - ffi.Pointer pointer, { - bool retain = false, - bool release = false, - }) { + castFromPointer(ffi.Pointer pointer, + {bool retain = false, bool release = false}) { return ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool._( - pointer, - lib, - retain: retain, - release: release, - ); + pointer, + retain: retain, + release: release); } /// Creates a block from a C function pointer. @@ -81945,29 +48052,21 @@ class ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool.fromFunctionPointer( - SwiftLibrary lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.Int32 arg1, - ffi.Pointer arg2, - )>> - ptr, - ) : this._( - objc.newBlock( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer, - )>( - _ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool_fnPtrTrampoline, - ).cast(), - ptr.cast(), - ), - lib); + ffi.Pointer< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer arg0, + ffi.Int32 arg1, ffi.Pointer arg2)>> + ptr) + : this._(objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer)>( + _ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool_fnPtrTrampoline) + .cast(), + ptr.cast())); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -81976,40 +48075,20 @@ class ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool.fromFunction( - SwiftLibrary lib, - void Function(NSTextCheckingResult?, int, ffi.Pointer) fn, - ) : this._( - objc.newBlock( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer, - )>( - _ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool_closureTrampoline, - ).cast(), - _ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool_registerClosure( - ( - ffi.Pointer arg0, - int arg1, - ffi.Pointer arg2, - ) => - fn( - arg0.address == 0 - ? null - : NSTextCheckingResult._( - arg0, - lib, - retain: true, - release: true, - ), - arg1, - arg2, - ), - ), - ), - lib); + void Function(NSTextCheckingResult?, int, ffi.Pointer) fn) + : this._(objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer)>( + _ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool_closureTrampoline) + .cast(), + _ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool_registerClosure( + (ffi.Pointer arg0, int arg1, + ffi.Pointer arg2) => + fn(arg0.address == 0 ? null : NSTextCheckingResult._(arg0, retain: true, release: true), arg1, arg2)))); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -82022,71 +48101,44 @@ class ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool.listener( - SwiftLibrary lib, - void Function(NSTextCheckingResult?, int, ffi.Pointer) fn, - ) : this._( - objc.newBlock( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer, - )>.listener( - _ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool_closureTrampoline, - )..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool_registerClosure( - ( - ffi.Pointer arg0, - int arg1, - ffi.Pointer arg2, - ) => - fn( - arg0.address == 0 - ? null - : NSTextCheckingResult._( - arg0, - lib, - retain: true, - release: true, - ), - arg1, - arg2, - ), - ), - ), - lib); + void Function(NSTextCheckingResult?, int, ffi.Pointer) fn) + : this._(objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer)>.listener( + _ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool_closureTrampoline) + ..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool_registerClosure( + (ffi.Pointer arg0, int arg1, ffi.Pointer arg2) => + fn(arg0.address == 0 ? null : NSTextCheckingResult._(arg0, retain: true, release: true), arg1, arg2)))); static ffi.NativeCallable< ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer, - )>? _dartFuncListenerTrampoline; - - void call( - NSTextCheckingResult? arg0, - int arg1, - ffi.Pointer arg2, - ) => + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer)>? _dartFuncListenerTrampoline; + + void call(NSTextCheckingResult? arg0, int arg1, ffi.Pointer arg2) => pointer.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Int32 arg1, - ffi.Pointer arg2, - )>>() - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - )>()(pointer, arg0?.pointer ?? ffi.nullptr, arg1, arg2); + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Int32 arg1, + ffi.Pointer arg2)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer)>()( + pointer, arg0?.pointer ?? ffi.nullptr, arg1, arg2); } abstract class NSMatchingFlags { @@ -82097,713 +48149,1032 @@ abstract class NSMatchingFlags { static const int NSMatchingInternalError = 16; } +late final _sel_enumerateMatchesInString_options_range_usingBlock_ = + objc.registerName("enumerateMatchesInString:options:range:usingBlock:"); +final _objc_msgSend_951 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer string, + ffi.Int32 options, + _NSRange range, + ffi.Pointer block)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + _NSRange, + ffi.Pointer)>(); +late final _sel_matchesInString_options_range_ = + objc.registerName("matchesInString:options:range:"); +final _objc_msgSend_952 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer string, + ffi.Int32 options, + _NSRange range)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + _NSRange)>(); +late final _sel_numberOfMatchesInString_options_range_ = + objc.registerName("numberOfMatchesInString:options:range:"); +final _objc_msgSend_953 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer string, + ffi.Int32 options, + _NSRange range)>>() + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + _NSRange)>(); +late final _sel_firstMatchInString_options_range_ = + objc.registerName("firstMatchInString:options:range:"); +final _objc_msgSend_954 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer string, + ffi.Int32 options, + _NSRange range)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + _NSRange)>(); +late final _sel_rangeOfFirstMatchInString_options_range_ = + objc.registerName("rangeOfFirstMatchInString:options:range:"); +final _objc_msgSend_955 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + _NSRange Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer string, + ffi.Int32 options, + _NSRange range)>>() + .asFunction< + _NSRange Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + _NSRange)>(); +final _objc_msgSend_955Stret = objc.msgSendStretPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer<_NSRange> stret, + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer string, + ffi.Int32 options, + _NSRange range)>>() + .asFunction< + void Function( + ffi.Pointer<_NSRange>, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + _NSRange)>(); +late final _sel_stringByReplacingMatchesInString_options_range_withTemplate_ = + objc.registerName( + "stringByReplacingMatchesInString:options:range:withTemplate:"); +final _objc_msgSend_956 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer string, + ffi.Int32 options, + _NSRange range, + ffi.Pointer templ)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + _NSRange, + ffi.Pointer)>(); +late final _sel_replaceMatchesInString_options_range_withTemplate_ = + objc.registerName("replaceMatchesInString:options:range:withTemplate:"); +final _objc_msgSend_957 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer string, + ffi.Int32 options, + _NSRange range, + ffi.Pointer templ)>>() + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + _NSRange, + ffi.Pointer)>(); +late final _sel_replacementStringForResult_inString_offset_template_ = + objc.registerName("replacementStringForResult:inString:offset:template:"); +final _objc_msgSend_958 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer result, + ffi.Pointer string, + ffi.Long offset, + ffi.Pointer templ)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer)>(); +late final _sel_escapedTemplateForString_ = + objc.registerName("escapedTemplateForString:"); +late final _sel_regularExpression = objc.registerName("regularExpression"); +final _objc_msgSend_959 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_phoneNumber = objc.registerName("phoneNumber"); +late final _sel_numberOfRanges = objc.registerName("numberOfRanges"); +late final _sel_rangeAtIndex_ = objc.registerName("rangeAtIndex:"); +late final _sel_rangeWithName_ = objc.registerName("rangeWithName:"); +late final _sel_resultByAdjustingRangesWithOffset_ = + objc.registerName("resultByAdjustingRangesWithOffset:"); +final _objc_msgSend_960 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Long offset)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, int)>(); +late final _sel_addressComponents = objc.registerName("addressComponents"); +late final _sel_orthographyCheckingResultWithRange_orthography_ = + objc.registerName("orthographyCheckingResultWithRange:orthography:"); +final _objc_msgSend_961 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + _NSRange range, + ffi.Pointer orthography)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer)>(); +late final _sel_spellCheckingResultWithRange_ = + objc.registerName("spellCheckingResultWithRange:"); +final _objc_msgSend_962 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + _NSRange range)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, _NSRange)>(); +late final _sel_grammarCheckingResultWithRange_details_ = + objc.registerName("grammarCheckingResultWithRange:details:"); +final _objc_msgSend_963 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + _NSRange range, + ffi.Pointer details)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer)>(); +late final _sel_dateCheckingResultWithRange_date_ = + objc.registerName("dateCheckingResultWithRange:date:"); +final _objc_msgSend_964 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + _NSRange range, + ffi.Pointer date)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer)>(); +late final _sel_dateCheckingResultWithRange_date_timeZone_duration_ = + objc.registerName("dateCheckingResultWithRange:date:timeZone:duration:"); +final _objc_msgSend_965 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + _NSRange range, + ffi.Pointer date, + ffi.Pointer timeZone, + ffi.Double duration)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + ffi.Pointer, + double)>(); +late final _sel_addressCheckingResultWithRange_components_ = + objc.registerName("addressCheckingResultWithRange:components:"); +final _objc_msgSend_966 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + _NSRange range, + ffi.Pointer components)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer)>(); +late final _sel_linkCheckingResultWithRange_URL_ = + objc.registerName("linkCheckingResultWithRange:URL:"); +final _objc_msgSend_967 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + _NSRange range, + ffi.Pointer url)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer)>(); +late final _sel_quoteCheckingResultWithRange_replacementString_ = + objc.registerName("quoteCheckingResultWithRange:replacementString:"); +final _objc_msgSend_968 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + _NSRange range, + ffi.Pointer replacementString)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer)>(); +late final _sel_dashCheckingResultWithRange_replacementString_ = + objc.registerName("dashCheckingResultWithRange:replacementString:"); +late final _sel_replacementCheckingResultWithRange_replacementString_ = + objc.registerName("replacementCheckingResultWithRange:replacementString:"); +late final _sel_correctionCheckingResultWithRange_replacementString_ = + objc.registerName("correctionCheckingResultWithRange:replacementString:"); +late final _sel_correctionCheckingResultWithRange_replacementString_alternativeStrings_ = + objc.registerName( + "correctionCheckingResultWithRange:replacementString:alternativeStrings:"); +final _objc_msgSend_969 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + _NSRange range, + ffi.Pointer replacementString, + ffi.Pointer alternativeStrings)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_regularExpressionCheckingResultWithRanges_count_regularExpression_ = + objc.registerName( + "regularExpressionCheckingResultWithRanges:count:regularExpression:"); +final _objc_msgSend_970 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer<_NSRange> ranges, + ffi.UnsignedLong count, + ffi.Pointer regularExpression)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_NSRange>, + int, + ffi.Pointer)>(); +late final _sel_phoneNumberCheckingResultWithRange_phoneNumber_ = + objc.registerName("phoneNumberCheckingResultWithRange:phoneNumber:"); +late final _sel_transitInformationCheckingResultWithRange_components_ = + objc.registerName("transitInformationCheckingResultWithRange:components:"); + class NSURLCache extends NSObject { - NSURLCache._( - ffi.Pointer pointer, - SwiftLibrary lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSURLCache._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSURLCache] that points to the same underlying object as [other]. - static NSURLCache castFrom( - SwiftLibrary lib, - T other, - ) { - return NSURLCache._(other.pointer, lib, retain: true, release: true); + static NSURLCache castFrom(T other) { + return NSURLCache._(other.pointer, retain: true, release: true); } /// Returns a [NSURLCache] that wraps the given raw object pointer. - static NSURLCache castFromPointer( - SwiftLibrary lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSURLCache._(other, lib, retain: retain, release: release); + static NSURLCache castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSURLCache._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSURLCache]. - static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSURLCache1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0(obj.pointer, _sel_isKindOfClass_, _class_NSURLCache); } - static NSURLCache getSharedURLCache(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_971( - _lib._class_NSURLCache1, - _lib._sel_sharedURLCache1, - ); - return NSURLCache._(_ret, _lib, retain: true, release: true); + static NSURLCache getSharedURLCache() { + final _ret = _objc_msgSend_971(_class_NSURLCache, _sel_sharedURLCache); + return NSURLCache._(_ret, retain: true, release: true); } - static void setSharedURLCache(SwiftLibrary _lib, NSURLCache value) { - return _lib._objc_msgSend_972( - _lib._class_NSURLCache1, - _lib._sel_setSharedURLCache_1, - value.pointer, - ); + static void setSharedURLCache(NSURLCache value) { + return _objc_msgSend_972( + _class_NSURLCache, _sel_setSharedURLCache_, value.pointer); } NSURLCache initWithMemoryCapacity_diskCapacity_diskPath_( - int memoryCapacity, - int diskCapacity, - NSString? path, - ) { - final _ret = _lib._objc_msgSend_973( - this.pointer, - _lib._sel_initWithMemoryCapacity_diskCapacity_diskPath_1, - memoryCapacity, - diskCapacity, - path?.pointer ?? ffi.nullptr, - ); - return NSURLCache._(_ret, _lib, retain: true, release: true); + int memoryCapacity, int diskCapacity, NSString? path) { + final _ret = _objc_msgSend_973( + this.pointer, + _sel_initWithMemoryCapacity_diskCapacity_diskPath_, + memoryCapacity, + diskCapacity, + path?.pointer ?? ffi.nullptr); + return NSURLCache._(_ret, retain: true, release: true); } NSURLCache initWithMemoryCapacity_diskCapacity_directoryURL_( - int memoryCapacity, - int diskCapacity, - NSURL? directoryURL, - ) { - final _ret = _lib._objc_msgSend_974( - this.pointer, - _lib._sel_initWithMemoryCapacity_diskCapacity_directoryURL_1, - memoryCapacity, - diskCapacity, - directoryURL?.pointer ?? ffi.nullptr, - ); - return NSURLCache._(_ret, _lib, retain: true, release: true); + int memoryCapacity, int diskCapacity, NSURL? directoryURL) { + final _ret = _objc_msgSend_974( + this.pointer, + _sel_initWithMemoryCapacity_diskCapacity_directoryURL_, + memoryCapacity, + diskCapacity, + directoryURL?.pointer ?? ffi.nullptr); + return NSURLCache._(_ret, retain: true, release: true); } NSCachedURLResponse? cachedResponseForRequest_(NSURLRequest request) { - final _ret = _lib._objc_msgSend_979( - this.pointer, - _lib._sel_cachedResponseForRequest_1, - request.pointer, - ); + final _ret = _objc_msgSend_979( + this.pointer, _sel_cachedResponseForRequest_, request.pointer); return _ret.address == 0 ? null - : NSCachedURLResponse._(_ret, _lib, retain: true, release: true); + : NSCachedURLResponse._(_ret, retain: true, release: true); } void storeCachedResponse_forRequest_( - NSCachedURLResponse cachedResponse, - NSURLRequest request, - ) { - _lib._objc_msgSend_980( - this.pointer, - _lib._sel_storeCachedResponse_forRequest_1, - cachedResponse.pointer, - request.pointer, - ); + NSCachedURLResponse cachedResponse, NSURLRequest request) { + _objc_msgSend_980(this.pointer, _sel_storeCachedResponse_forRequest_, + cachedResponse.pointer, request.pointer); } void removeCachedResponseForRequest_(NSURLRequest request) { - _lib._objc_msgSend_981( - this.pointer, - _lib._sel_removeCachedResponseForRequest_1, - request.pointer, - ); + _objc_msgSend_981( + this.pointer, _sel_removeCachedResponseForRequest_, request.pointer); } void removeAllCachedResponses() { - _lib._objc_msgSend_1(this.pointer, _lib._sel_removeAllCachedResponses1); + _objc_msgSend_1(this.pointer, _sel_removeAllCachedResponses); } void removeCachedResponsesSinceDate_(NSDate date) { - _lib._objc_msgSend_540( - this.pointer, - _lib._sel_removeCachedResponsesSinceDate_1, - date.pointer, - ); + _objc_msgSend_540( + this.pointer, _sel_removeCachedResponsesSinceDate_, date.pointer); } int get memoryCapacity { - return _lib._objc_msgSend_10(this.pointer, _lib._sel_memoryCapacity1); + return _objc_msgSend_10(this.pointer, _sel_memoryCapacity); } set memoryCapacity(int value) { - return _lib._objc_msgSend_516( - this.pointer, - _lib._sel_setMemoryCapacity_1, - value, - ); + return _objc_msgSend_516(this.pointer, _sel_setMemoryCapacity_, value); } int get diskCapacity { - return _lib._objc_msgSend_10(this.pointer, _lib._sel_diskCapacity1); + return _objc_msgSend_10(this.pointer, _sel_diskCapacity); } set diskCapacity(int value) { - return _lib._objc_msgSend_516( - this.pointer, - _lib._sel_setDiskCapacity_1, - value, - ); + return _objc_msgSend_516(this.pointer, _sel_setDiskCapacity_, value); } int get currentMemoryUsage { - return _lib._objc_msgSend_10(this.pointer, _lib._sel_currentMemoryUsage1); + return _objc_msgSend_10(this.pointer, _sel_currentMemoryUsage); } int get currentDiskUsage { - return _lib._objc_msgSend_10(this.pointer, _lib._sel_currentDiskUsage1); + return _objc_msgSend_10(this.pointer, _sel_currentDiskUsage); } void storeCachedResponse_forDataTask_( - NSCachedURLResponse cachedResponse, - NSURLSessionDataTask dataTask, - ) { - _lib._objc_msgSend_982( - this.pointer, - _lib._sel_storeCachedResponse_forDataTask_1, - cachedResponse.pointer, - dataTask.pointer, - ); + NSCachedURLResponse cachedResponse, NSURLSessionDataTask dataTask) { + _objc_msgSend_982(this.pointer, _sel_storeCachedResponse_forDataTask_, + cachedResponse.pointer, dataTask.pointer); } void getCachedResponseForDataTask_completionHandler_( - NSURLSessionDataTask dataTask, - ObjCBlock_ffiVoid_NSCachedURLResponse completionHandler, - ) { - _lib._objc_msgSend_983( - this.pointer, - _lib._sel_getCachedResponseForDataTask_completionHandler_1, - dataTask.pointer, - completionHandler.pointer, - ); + NSURLSessionDataTask dataTask, + ObjCBlock_ffiVoid_NSCachedURLResponse completionHandler) { + _objc_msgSend_983( + this.pointer, + _sel_getCachedResponseForDataTask_completionHandler_, + dataTask.pointer, + completionHandler.pointer); } void removeCachedResponseForDataTask_(NSURLSessionDataTask dataTask) { - _lib._objc_msgSend_984( - this.pointer, - _lib._sel_removeCachedResponseForDataTask_1, - dataTask.pointer, - ); + _objc_msgSend_984( + this.pointer, _sel_removeCachedResponseForDataTask_, dataTask.pointer); } @override NSURLCache init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSURLCache._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSURLCache._(_ret, retain: true, release: true); } - static NSURLCache new1(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2(_lib._class_NSURLCache1, _lib._sel_new1); - return NSURLCache._(_ret, _lib, retain: false, release: true); + static NSURLCache new1() { + final _ret = _objc_msgSend_2(_class_NSURLCache, _sel_new); + return NSURLCache._(_ret, retain: false, release: true); } - static NSURLCache allocWithZone_( - SwiftLibrary _lib, - ffi.Pointer<_NSZone> zone, - ) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSURLCache1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSURLCache._(_ret, _lib, retain: false, release: true); + static NSURLCache allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = _objc_msgSend_3(_class_NSURLCache, _sel_allocWithZone_, zone); + return NSURLCache._(_ret, retain: false, release: true); } - static NSURLCache alloc(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLCache1, - _lib._sel_alloc1, - ); - return NSURLCache._(_ret, _lib, retain: false, release: true); + static NSURLCache alloc() { + final _ret = _objc_msgSend_2(_class_NSURLCache, _sel_alloc); + return NSURLCache._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSURLCache1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSURLCache1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSURLCache1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSURLCache1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSURLCache1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSURLCache1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSURLCache, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); } - static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSURLCache1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSURLCache1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLCache1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSURLCache, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); + } + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSURLCache, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSURLCache, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSURLCache, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSURLCache, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); } -} + + static void setKeys_triggerChangeNotificationsForDependentKey_( + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSURLCache, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = _objc_msgSend_85( + _class_NSURLCache, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = + _objc_msgSend_2(_class_NSURLCache, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); + } +} + +late final _class_NSURLCache = objc.getClass("NSURLCache"); +late final _sel_sharedURLCache = objc.registerName("sharedURLCache"); +final _objc_msgSend_971 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_setSharedURLCache_ = objc.registerName("setSharedURLCache:"); +final _objc_msgSend_972 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_initWithMemoryCapacity_diskCapacity_diskPath_ = + objc.registerName("initWithMemoryCapacity:diskCapacity:diskPath:"); +final _objc_msgSend_973 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.UnsignedLong memoryCapacity, + ffi.UnsignedLong diskCapacity, + ffi.Pointer path)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + int, + int, + ffi.Pointer)>(); +late final _sel_initWithMemoryCapacity_diskCapacity_directoryURL_ = + objc.registerName("initWithMemoryCapacity:diskCapacity:directoryURL:"); +final _objc_msgSend_974 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.UnsignedLong memoryCapacity, + ffi.UnsignedLong diskCapacity, + ffi.Pointer directoryURL)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + int, + int, + ffi.Pointer)>(); class NSCachedURLResponse extends NSObject { - NSCachedURLResponse._( - ffi.Pointer pointer, - SwiftLibrary lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSCachedURLResponse._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSCachedURLResponse] that points to the same underlying object as [other]. - static NSCachedURLResponse castFrom( - SwiftLibrary lib, - T other, - ) { - return NSCachedURLResponse._( - other.pointer, - lib, - retain: true, - release: true, - ); + static NSCachedURLResponse castFrom(T other) { + return NSCachedURLResponse._(other.pointer, retain: true, release: true); } /// Returns a [NSCachedURLResponse] that wraps the given raw object pointer. - static NSCachedURLResponse castFromPointer( - SwiftLibrary lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSCachedURLResponse._(other, lib, retain: retain, release: release); + static NSCachedURLResponse castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSCachedURLResponse._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSCachedURLResponse]. - static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSCachedURLResponse1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0( + obj.pointer, _sel_isKindOfClass_, _class_NSCachedURLResponse); } NSCachedURLResponse initWithResponse_data_( - NSURLResponse response, - NSData data, - ) { - final _ret = _lib._objc_msgSend_975( - this.pointer, - _lib._sel_initWithResponse_data_1, - response.pointer, - data.pointer, - ); - return NSCachedURLResponse._(_ret, _lib, retain: true, release: true); + NSURLResponse response, NSData data) { + final _ret = _objc_msgSend_975(this.pointer, _sel_initWithResponse_data_, + response.pointer, data.pointer); + return NSCachedURLResponse._(_ret, retain: true, release: true); } NSCachedURLResponse initWithResponse_data_userInfo_storagePolicy_( - NSURLResponse response, - NSData data, - NSDictionary? userInfo, - int storagePolicy, - ) { - final _ret = _lib._objc_msgSend_976( - this.pointer, - _lib._sel_initWithResponse_data_userInfo_storagePolicy_1, - response.pointer, - data.pointer, - userInfo?.pointer ?? ffi.nullptr, - storagePolicy, - ); - return NSCachedURLResponse._(_ret, _lib, retain: true, release: true); + NSURLResponse response, + NSData data, + NSDictionary? userInfo, + int storagePolicy) { + final _ret = _objc_msgSend_976( + this.pointer, + _sel_initWithResponse_data_userInfo_storagePolicy_, + response.pointer, + data.pointer, + userInfo?.pointer ?? ffi.nullptr, + storagePolicy); + return NSCachedURLResponse._(_ret, retain: true, release: true); } NSURLResponse get response { - final _ret = _lib._objc_msgSend_977(this.pointer, _lib._sel_response1); - return NSURLResponse._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_977(this.pointer, _sel_response); + return NSURLResponse._(_ret, retain: true, release: true); } NSData get data { - final _ret = _lib._objc_msgSend_43(this.pointer, _lib._sel_data1); - return NSData._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_43(this.pointer, _sel_data); + return NSData._(_ret, retain: true, release: true); } NSDictionary? get userInfo { - final _ret = _lib._objc_msgSend_390(this.pointer, _lib._sel_userInfo1); + final _ret = _objc_msgSend_390(this.pointer, _sel_userInfo); return _ret.address == 0 ? null - : NSDictionary._(_ret, _lib, retain: true, release: true); + : NSDictionary._(_ret, retain: true, release: true); } int get storagePolicy { - return _lib._objc_msgSend_978(this.pointer, _lib._sel_storagePolicy1); + return _objc_msgSend_978(this.pointer, _sel_storagePolicy); } @override NSCachedURLResponse init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSCachedURLResponse._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSCachedURLResponse._(_ret, retain: true, release: true); } - static NSCachedURLResponse new1(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSCachedURLResponse1, - _lib._sel_new1, - ); - return NSCachedURLResponse._(_ret, _lib, retain: false, release: true); + static NSCachedURLResponse new1() { + final _ret = _objc_msgSend_2(_class_NSCachedURLResponse, _sel_new); + return NSCachedURLResponse._(_ret, retain: false, release: true); } - static NSCachedURLResponse allocWithZone_( - SwiftLibrary _lib, - ffi.Pointer<_NSZone> zone, - ) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSCachedURLResponse1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSCachedURLResponse._(_ret, _lib, retain: false, release: true); + static NSCachedURLResponse allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = + _objc_msgSend_3(_class_NSCachedURLResponse, _sel_allocWithZone_, zone); + return NSCachedURLResponse._(_ret, retain: false, release: true); } - static NSCachedURLResponse alloc(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSCachedURLResponse1, - _lib._sel_alloc1, - ); - return NSCachedURLResponse._(_ret, _lib, retain: false, release: true); + static NSCachedURLResponse alloc() { + final _ret = _objc_msgSend_2(_class_NSCachedURLResponse, _sel_alloc); + return NSCachedURLResponse._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSCachedURLResponse1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSCachedURLResponse1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSCachedURLResponse1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSCachedURLResponse1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSCachedURLResponse1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSCachedURLResponse1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSCachedURLResponse, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); + } + + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSCachedURLResponse, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); + } + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSCachedURLResponse, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSCachedURLResponse, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSCachedURLResponse, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSCachedURLResponse, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); } static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSCachedURLResponse1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSCachedURLResponse1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSCachedURLResponse1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSCachedURLResponse, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = _objc_msgSend_85( + _class_NSCachedURLResponse, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = _objc_msgSend_2( + _class_NSCachedURLResponse, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); } } +late final _class_NSCachedURLResponse = objc.getClass("NSCachedURLResponse"); +late final _sel_initWithResponse_data_ = + objc.registerName("initWithResponse:data:"); +final _objc_msgSend_975 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer response, + ffi.Pointer data)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); + abstract class NSURLCacheStoragePolicy { static const int NSURLCacheStorageAllowed = 0; static const int NSURLCacheStorageAllowedInMemoryOnly = 1; static const int NSURLCacheStorageNotAllowed = 2; } +late final _sel_initWithResponse_data_userInfo_storagePolicy_ = + objc.registerName("initWithResponse:data:userInfo:storagePolicy:"); +final _objc_msgSend_976 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer response, + ffi.Pointer data, + ffi.Pointer userInfo, + ffi.Int32 storagePolicy)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int)>(); +final _objc_msgSend_977 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_storagePolicy = objc.registerName("storagePolicy"); +final _objc_msgSend_978 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + int Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_cachedResponseForRequest_ = + objc.registerName("cachedResponseForRequest:"); +final _objc_msgSend_979 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer request)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_storeCachedResponse_forRequest_ = + objc.registerName("storeCachedResponse:forRequest:"); +final _objc_msgSend_980 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer cachedResponse, + ffi.Pointer request)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_removeCachedResponseForRequest_ = + objc.registerName("removeCachedResponseForRequest:"); +final _objc_msgSend_981 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer request)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_removeAllCachedResponses = + objc.registerName("removeAllCachedResponses"); +late final _sel_removeCachedResponsesSinceDate_ = + objc.registerName("removeCachedResponsesSinceDate:"); +late final _sel_memoryCapacity = objc.registerName("memoryCapacity"); +late final _sel_setMemoryCapacity_ = objc.registerName("setMemoryCapacity:"); +late final _sel_diskCapacity = objc.registerName("diskCapacity"); +late final _sel_setDiskCapacity_ = objc.registerName("setDiskCapacity:"); +late final _sel_currentMemoryUsage = objc.registerName("currentMemoryUsage"); +late final _sel_currentDiskUsage = objc.registerName("currentDiskUsage"); + class NSURLSessionDataTask extends NSURLSessionTask { - NSURLSessionDataTask._( - ffi.Pointer pointer, - SwiftLibrary lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSURLSessionDataTask._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSURLSessionDataTask] that points to the same underlying object as [other]. - static NSURLSessionDataTask castFrom( - SwiftLibrary lib, - T other, - ) { - return NSURLSessionDataTask._( - other.pointer, - lib, - retain: true, - release: true, - ); + static NSURLSessionDataTask castFrom(T other) { + return NSURLSessionDataTask._(other.pointer, retain: true, release: true); } /// Returns a [NSURLSessionDataTask] that wraps the given raw object pointer. static NSURLSessionDataTask castFromPointer( - SwiftLibrary lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSURLSessionDataTask._(other, lib, retain: retain, release: release); + ffi.Pointer other, + {bool retain = false, + bool release = false}) { + return NSURLSessionDataTask._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSURLSessionDataTask]. - static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSURLSessionDataTask1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0( + obj.pointer, _sel_isKindOfClass_, _class_NSURLSessionDataTask); } @override NSURLSessionDataTask init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSURLSessionDataTask._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSURLSessionDataTask._(_ret, retain: true, release: true); } - static NSURLSessionDataTask new1(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLSessionDataTask1, - _lib._sel_new1, - ); - return NSURLSessionDataTask._(_ret, _lib, retain: false, release: true); + static NSURLSessionDataTask new1() { + final _ret = _objc_msgSend_2(_class_NSURLSessionDataTask, _sel_new); + return NSURLSessionDataTask._(_ret, retain: false, release: true); } - static NSURLSessionDataTask allocWithZone_( - SwiftLibrary _lib, - ffi.Pointer<_NSZone> zone, - ) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSURLSessionDataTask1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSURLSessionDataTask._(_ret, _lib, retain: false, release: true); + static NSURLSessionDataTask allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = + _objc_msgSend_3(_class_NSURLSessionDataTask, _sel_allocWithZone_, zone); + return NSURLSessionDataTask._(_ret, retain: false, release: true); } - static NSURLSessionDataTask alloc(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLSessionDataTask1, - _lib._sel_alloc1, - ); - return NSURLSessionDataTask._(_ret, _lib, retain: false, release: true); + static NSURLSessionDataTask alloc() { + final _ret = _objc_msgSend_2(_class_NSURLSessionDataTask, _sel_alloc); + return NSURLSessionDataTask._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSURLSessionDataTask1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSURLSessionDataTask1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSURLSessionDataTask1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSURLSessionDataTask1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSURLSessionDataTask1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSURLSessionDataTask1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSURLSessionDataTask, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); } - static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSURLSessionDataTask1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSURLSessionDataTask1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLSessionDataTask1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSURLSessionDataTask, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); + } + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSURLSessionDataTask, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12( + _class_NSURLSessionDataTask, _sel_useStoredAccessor); } -} + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSURLSessionDataTask, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSURLSessionDataTask, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); + } + + static void setKeys_triggerChangeNotificationsForDependentKey_( + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSURLSessionDataTask, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = _objc_msgSend_85( + _class_NSURLSessionDataTask, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = _objc_msgSend_2( + _class_NSURLSessionDataTask, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); + } +} + +late final _class_NSURLSessionDataTask = objc.getClass("NSURLSessionDataTask"); +late final _sel_storeCachedResponse_forDataTask_ = + objc.registerName("storeCachedResponse:forDataTask:"); +final _objc_msgSend_982 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer cachedResponse, + ffi.Pointer dataTask)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); void _ObjCBlock_ffiVoid_NSCachedURLResponse_fnPtrTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, -) => + ffi.Pointer block, ffi.Pointer arg0) => block.ref.target .cast< ffi.NativeFunction< @@ -82813,43 +49184,29 @@ final _ObjCBlock_ffiVoid_NSCachedURLResponse_closureRegistry = )>{}; int _ObjCBlock_ffiVoid_NSCachedURLResponse_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_ffiVoid_NSCachedURLResponse_registerClosure( - void Function(ffi.Pointer) fn, -) { + void Function(ffi.Pointer) fn) { final id = ++_ObjCBlock_ffiVoid_NSCachedURLResponse_closureRegistryIndex; _ObjCBlock_ffiVoid_NSCachedURLResponse_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } void _ObjCBlock_ffiVoid_NSCachedURLResponse_closureTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, -) => + ffi.Pointer block, ffi.Pointer arg0) => _ObjCBlock_ffiVoid_NSCachedURLResponse_closureRegistry[ block.ref.target.address]!(arg0); class ObjCBlock_ffiVoid_NSCachedURLResponse extends objc.ObjCBlockBase { - ObjCBlock_ffiVoid_NSCachedURLResponse._( - ffi.Pointer pointer, - this._lib, { - bool retain = false, - bool release = true, - }) : super(pointer, retain: retain, release: release); - - SwiftLibrary _lib; + ObjCBlock_ffiVoid_NSCachedURLResponse._(ffi.Pointer pointer, + {bool retain = false, bool release = true}) + : super(pointer, retain: retain, release: release); /// Returns a block that wraps the given raw block pointer. static ObjCBlock_ffiVoid_NSCachedURLResponse castFromPointer( - SwiftLibrary lib, - ffi.Pointer pointer, { - bool retain = false, - bool release = false, - }) { - return ObjCBlock_ffiVoid_NSCachedURLResponse._( - pointer, - lib, - retain: retain, - release: release, - ); + ffi.Pointer pointer, + {bool retain = false, + bool release = false}) { + return ObjCBlock_ffiVoid_NSCachedURLResponse._(pointer, + retain: retain, release: release); } /// Creates a block from a C function pointer. @@ -82858,22 +49215,17 @@ class ObjCBlock_ffiVoid_NSCachedURLResponse extends objc.ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSCachedURLResponse.fromFunctionPointer( - SwiftLibrary lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer arg0)>> - ptr, - ) : this._( - objc.newBlock( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - )>(_ObjCBlock_ffiVoid_NSCachedURLResponse_fnPtrTrampoline) - .cast(), - ptr.cast(), - ), - lib); + ffi.Pointer< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer arg0)>> + ptr) + : this._(objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function(ffi.Pointer, + ffi.Pointer)>( + _ObjCBlock_ffiVoid_NSCachedURLResponse_fnPtrTrampoline) + .cast(), + ptr.cast())); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -82882,28 +49234,17 @@ class ObjCBlock_ffiVoid_NSCachedURLResponse extends objc.ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSCachedURLResponse.fromFunction( - SwiftLibrary lib, - void Function(NSCachedURLResponse?) fn, - ) : this._( - objc.newBlock( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - )>( - _ObjCBlock_ffiVoid_NSCachedURLResponse_closureTrampoline) - .cast(), - _ObjCBlock_ffiVoid_NSCachedURLResponse_registerClosure(( - ffi.Pointer arg0, - ) => - fn( - arg0.address == 0 - ? null - : NSCachedURLResponse._(arg0, lib, - retain: true, release: true), - )), - ), - lib); + void Function(NSCachedURLResponse?) fn) + : this._(objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function(ffi.Pointer, + ffi.Pointer)>( + _ObjCBlock_ffiVoid_NSCachedURLResponse_closureTrampoline) + .cast(), + _ObjCBlock_ffiVoid_NSCachedURLResponse_registerClosure( + (ffi.Pointer arg0) => fn(arg0.address == 0 + ? null + : NSCachedURLResponse._(arg0, retain: true, release: true))))); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -82916,30 +49257,19 @@ class ObjCBlock_ffiVoid_NSCachedURLResponse extends objc.ObjCBlockBase { /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. ObjCBlock_ffiVoid_NSCachedURLResponse.listener( - SwiftLibrary lib, - void Function(NSCachedURLResponse?) fn, - ) : this._( - objc.newBlock( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - )>.listener( - _ObjCBlock_ffiVoid_NSCachedURLResponse_closureTrampoline, - )..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSCachedURLResponse_registerClosure(( - ffi.Pointer arg0, - ) => - fn( - arg0.address == 0 - ? null - : NSCachedURLResponse._(arg0, lib, - retain: true, release: true), - )), - ), - lib); + void Function(NSCachedURLResponse?) fn) + : this._(objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function(ffi.Pointer, + ffi.Pointer)>.listener( + _ObjCBlock_ffiVoid_NSCachedURLResponse_closureTrampoline) + ..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSCachedURLResponse_registerClosure( + (ffi.Pointer arg0) => fn(arg0.address == 0 + ? null + : NSCachedURLResponse._(arg0, retain: true, release: true))))); static ffi.NativeCallable< ffi.Void Function( ffi.Pointer, ffi.Pointer)>? @@ -82948,352 +49278,373 @@ class ObjCBlock_ffiVoid_NSCachedURLResponse extends objc.ObjCBlockBase { void call(NSCachedURLResponse? arg0) => pointer.ref.invoke .cast< ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer block, - ffi.Pointer arg0, - )>>() + ffi.Void Function(ffi.Pointer block, + ffi.Pointer arg0)>>() .asFunction< void Function( ffi.Pointer, ffi.Pointer)>()( pointer, arg0?.pointer ?? ffi.nullptr); } +late final _sel_getCachedResponseForDataTask_completionHandler_ = + objc.registerName("getCachedResponseForDataTask:completionHandler:"); +final _objc_msgSend_983 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer dataTask, + ffi.Pointer completionHandler)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_removeCachedResponseForDataTask_ = + objc.registerName("removeCachedResponseForDataTask:"); +final _objc_msgSend_984 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer dataTask)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); + class NSURLConnection extends NSObject { - NSURLConnection._( - ffi.Pointer pointer, - SwiftLibrary lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSURLConnection._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSURLConnection] that points to the same underlying object as [other]. - static NSURLConnection castFrom( - SwiftLibrary lib, - T other, - ) { - return NSURLConnection._(other.pointer, lib, retain: true, release: true); + static NSURLConnection castFrom(T other) { + return NSURLConnection._(other.pointer, retain: true, release: true); } /// Returns a [NSURLConnection] that wraps the given raw object pointer. - static NSURLConnection castFromPointer( - SwiftLibrary lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSURLConnection._(other, lib, retain: retain, release: release); + static NSURLConnection castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSURLConnection._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSURLConnection]. - static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSURLConnection1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0( + obj.pointer, _sel_isKindOfClass_, _class_NSURLConnection); } NSURLConnection? initWithRequest_delegate_startImmediately_( - NSURLRequest request, - NSObject? delegate, - bool startImmediately, - ) { - final _ret = _lib._objc_msgSend_985( - this.pointer, - _lib._sel_initWithRequest_delegate_startImmediately_1, - request.pointer, - delegate?.pointer ?? ffi.nullptr, - startImmediately, - ); + NSURLRequest request, NSObject? delegate, bool startImmediately) { + final _ret = _objc_msgSend_985( + this.pointer, + _sel_initWithRequest_delegate_startImmediately_, + request.pointer, + delegate?.pointer ?? ffi.nullptr, + startImmediately); return _ret.address == 0 ? null - : NSURLConnection._(_ret, _lib, retain: true, release: true); + : NSURLConnection._(_ret, retain: true, release: true); } NSURLConnection? initWithRequest_delegate_( - NSURLRequest request, - NSObject? delegate, - ) { - final _ret = _lib._objc_msgSend_986( - this.pointer, - _lib._sel_initWithRequest_delegate_1, - request.pointer, - delegate?.pointer ?? ffi.nullptr, - ); + NSURLRequest request, NSObject? delegate) { + final _ret = _objc_msgSend_986(this.pointer, _sel_initWithRequest_delegate_, + request.pointer, delegate?.pointer ?? ffi.nullptr); return _ret.address == 0 ? null - : NSURLConnection._(_ret, _lib, retain: true, release: true); + : NSURLConnection._(_ret, retain: true, release: true); } static NSURLConnection? connectionWithRequest_delegate_( - SwiftLibrary _lib, - NSURLRequest request, - NSObject? delegate, - ) { - final _ret = _lib._objc_msgSend_987( - _lib._class_NSURLConnection1, - _lib._sel_connectionWithRequest_delegate_1, - request.pointer, - delegate?.pointer ?? ffi.nullptr, - ); + NSURLRequest request, NSObject? delegate) { + final _ret = _objc_msgSend_987( + _class_NSURLConnection, + _sel_connectionWithRequest_delegate_, + request.pointer, + delegate?.pointer ?? ffi.nullptr); return _ret.address == 0 ? null - : NSURLConnection._(_ret, _lib, retain: true, release: true); + : NSURLConnection._(_ret, retain: true, release: true); } NSURLRequest get originalRequest { - final _ret = _lib._objc_msgSend_988( - this.pointer, - _lib._sel_originalRequest1, - ); - return NSURLRequest._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_988(this.pointer, _sel_originalRequest); + return NSURLRequest._(_ret, retain: true, release: true); } NSURLRequest get currentRequest { - final _ret = _lib._objc_msgSend_988( - this.pointer, - _lib._sel_currentRequest1, - ); - return NSURLRequest._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_988(this.pointer, _sel_currentRequest); + return NSURLRequest._(_ret, retain: true, release: true); } void start() { - _lib._objc_msgSend_1(this.pointer, _lib._sel_start1); + _objc_msgSend_1(this.pointer, _sel_start); } void cancel() { - _lib._objc_msgSend_1(this.pointer, _lib._sel_cancel1); + _objc_msgSend_1(this.pointer, _sel_cancel); } void scheduleInRunLoop_forMode_(NSRunLoop aRunLoop, NSString mode) { - _lib._objc_msgSend_569( - this.pointer, - _lib._sel_scheduleInRunLoop_forMode_1, - aRunLoop.pointer, - mode.pointer, - ); + _objc_msgSend_569(this.pointer, _sel_scheduleInRunLoop_forMode_, + aRunLoop.pointer, mode.pointer); } void unscheduleFromRunLoop_forMode_(NSRunLoop aRunLoop, NSString mode) { - _lib._objc_msgSend_569( - this.pointer, - _lib._sel_unscheduleFromRunLoop_forMode_1, - aRunLoop.pointer, - mode.pointer, - ); + _objc_msgSend_569(this.pointer, _sel_unscheduleFromRunLoop_forMode_, + aRunLoop.pointer, mode.pointer); } void setDelegateQueue_(NSOperationQueue? queue) { - _lib._objc_msgSend_989( - this.pointer, - _lib._sel_setDelegateQueue_1, - queue?.pointer ?? ffi.nullptr, - ); + _objc_msgSend_989( + this.pointer, _sel_setDelegateQueue_, queue?.pointer ?? ffi.nullptr); } - static bool canHandleRequest_(SwiftLibrary _lib, NSURLRequest request) { - return _lib._objc_msgSend_990( - _lib._class_NSURLConnection1, - _lib._sel_canHandleRequest_1, - request.pointer, - ); + static bool canHandleRequest_(NSURLRequest request) { + return _objc_msgSend_990( + _class_NSURLConnection, _sel_canHandleRequest_, request.pointer); } static NSData? sendSynchronousRequest_returningResponse_error_( - SwiftLibrary _lib, - NSURLRequest request, - ffi.Pointer> response, - ffi.Pointer> error, - ) { - final _ret = _lib._objc_msgSend_991( - _lib._class_NSURLConnection1, - _lib._sel_sendSynchronousRequest_returningResponse_error_1, - request.pointer, - response, - error, - ); + NSURLRequest request, + ffi.Pointer> response, + ffi.Pointer> error) { + final _ret = _objc_msgSend_991( + _class_NSURLConnection, + _sel_sendSynchronousRequest_returningResponse_error_, + request.pointer, + response, + error); return _ret.address == 0 ? null - : NSData._(_ret, _lib, retain: true, release: true); + : NSData._(_ret, retain: true, release: true); } static void sendAsynchronousRequest_queue_completionHandler_( - SwiftLibrary _lib, - NSURLRequest request, - NSOperationQueue queue, - ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError handler, - ) { - _lib._objc_msgSend_992( - _lib._class_NSURLConnection1, - _lib._sel_sendAsynchronousRequest_queue_completionHandler_1, - request.pointer, - queue.pointer, - handler.pointer, - ); + NSURLRequest request, + NSOperationQueue queue, + ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError handler) { + _objc_msgSend_992( + _class_NSURLConnection, + _sel_sendAsynchronousRequest_queue_completionHandler_, + request.pointer, + queue.pointer, + handler.pointer); } @override NSURLConnection init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSURLConnection._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSURLConnection._(_ret, retain: true, release: true); } - static NSURLConnection new1(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLConnection1, - _lib._sel_new1, - ); - return NSURLConnection._(_ret, _lib, retain: false, release: true); + static NSURLConnection new1() { + final _ret = _objc_msgSend_2(_class_NSURLConnection, _sel_new); + return NSURLConnection._(_ret, retain: false, release: true); } - static NSURLConnection allocWithZone_( - SwiftLibrary _lib, - ffi.Pointer<_NSZone> zone, - ) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSURLConnection1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSURLConnection._(_ret, _lib, retain: false, release: true); + static NSURLConnection allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = + _objc_msgSend_3(_class_NSURLConnection, _sel_allocWithZone_, zone); + return NSURLConnection._(_ret, retain: false, release: true); } - static NSURLConnection alloc(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLConnection1, - _lib._sel_alloc1, - ); - return NSURLConnection._(_ret, _lib, retain: false, release: true); + static NSURLConnection alloc() { + final _ret = _objc_msgSend_2(_class_NSURLConnection, _sel_alloc); + return NSURLConnection._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSURLConnection1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSURLConnection1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSURLConnection1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSURLConnection1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSURLConnection1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSURLConnection1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSURLConnection, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); } - static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSURLConnection1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSURLConnection1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLConnection1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSURLConnection, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); + } + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSURLConnection, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSURLConnection, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSURLConnection, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSURLConnection, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); } -} + static void setKeys_triggerChangeNotificationsForDependentKey_( + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSURLConnection, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = _objc_msgSend_85( + _class_NSURLConnection, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = + _objc_msgSend_2(_class_NSURLConnection, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); + } +} + +late final _class_NSURLConnection = objc.getClass("NSURLConnection"); +late final _sel_initWithRequest_delegate_startImmediately_ = + objc.registerName("initWithRequest:delegate:startImmediately:"); +final _objc_msgSend_985 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer request, + ffi.Pointer delegate, + ffi.Bool startImmediately)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool)>(); +late final _sel_initWithRequest_delegate_ = + objc.registerName("initWithRequest:delegate:"); +final _objc_msgSend_986 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer request, + ffi.Pointer delegate)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_connectionWithRequest_delegate_ = + objc.registerName("connectionWithRequest:delegate:"); +final _objc_msgSend_987 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer request, + ffi.Pointer delegate)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +final _objc_msgSend_988 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_unscheduleFromRunLoop_forMode_ = + objc.registerName("unscheduleFromRunLoop:forMode:"); +late final _sel_setDelegateQueue_ = objc.registerName("setDelegateQueue:"); +final _objc_msgSend_989 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer queue)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_canHandleRequest_ = objc.registerName("canHandleRequest:"); +final _objc_msgSend_990 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer request)>>() + .asFunction< + bool Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_sendSynchronousRequest_returningResponse_error_ = + objc.registerName("sendSynchronousRequest:returningResponse:error:"); +final _objc_msgSend_991 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer request, + ffi.Pointer> response, + ffi.Pointer> error)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer>)>(); void _ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError_fnPtrTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2, -) => + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2) => block.ref.target .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2, - )>>() + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2)>>() .asFunction< void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>()(arg0, arg1, arg2); + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>()(arg0, arg1, arg2); final _ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError_closureRegistry = , - ffi.Pointer, - ffi.Pointer, -)>{}; + void Function(ffi.Pointer, ffi.Pointer, + ffi.Pointer)>{}; int _ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError_registerClosure( - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) fn, -) { + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer) + fn) { final id = ++_ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError_closureRegistryIndex; _ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError_closureRegistry[id] = fn; @@ -83301,38 +49652,28 @@ ffi.Pointer } void _ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError_closureTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2, -) => + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2) => _ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError_closureRegistry[ block.ref.target.address]!(arg0, arg1, arg2); class ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError._( - ffi.Pointer pointer, - this._lib, { - bool retain = false, - bool release = true, - }) : super(pointer, retain: retain, release: release); - - SwiftLibrary _lib; + ffi.Pointer pointer, + {bool retain = false, + bool release = true}) + : super(pointer, retain: retain, release: release); /// Returns a block that wraps the given raw block pointer. static ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError castFromPointer( - SwiftLibrary lib, - ffi.Pointer pointer, { - bool retain = false, - bool release = false, - }) { - return ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError._( - pointer, - lib, - retain: retain, - release: release, - ); + ffi.Pointer pointer, + {bool retain = false, + bool release = false}) { + return ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError._(pointer, + retain: retain, release: release); } /// Creates a block from a C function pointer. @@ -83341,29 +49682,23 @@ class ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError.fromFunctionPointer( - SwiftLibrary lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2, - )>> - ptr, - ) : this._( - objc.newBlock( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Pointer< + ffi.NativeFunction< ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>( - _ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError_fnPtrTrampoline, - ).cast(), - ptr.cast(), - ), - lib); + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2)>> + ptr) + : this._(objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>( + _ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError_fnPtrTrampoline) + .cast(), + ptr.cast())); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -83372,38 +49707,20 @@ class ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError.fromFunction( - SwiftLibrary lib, - void Function(NSURLResponse?, NSData?, NSError?) fn, - ) : this._( - objc.newBlock( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>( - _ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError_closureTrampoline, - ).cast(), - _ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError_registerClosure(( - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2, - ) => - fn( - arg0.address == 0 - ? null - : NSURLResponse._(arg0, lib, - retain: true, release: true), - arg1.address == 0 - ? null - : NSData._(arg1, lib, retain: true, release: true), - arg2.address == 0 - ? null - : NSError._(arg2, lib, retain: true, release: true), - )), - ), - lib); + void Function(NSURLResponse?, NSData?, NSError?) fn) + : this._(objc.newBlock( + _dartFuncTrampoline ??= + ffi.Pointer.fromFunction, ffi.Pointer, ffi.Pointer, ffi.Pointer)>( + _ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError_closureTrampoline) + .cast(), + _ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError_registerClosure( + (ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2) => + fn( + arg0.address == 0 ? null : NSURLResponse._(arg0, retain: true, release: true), + arg1.address == 0 ? null : NSData._(arg1, retain: true, release: true), + arg2.address == 0 ? null : NSError._(arg2, retain: true, release: true))))); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -83416,348 +49733,266 @@ class ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError.listener( - SwiftLibrary lib, - void Function(NSURLResponse?, NSData?, NSError?) fn, - ) : this._( - objc.newBlock( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>.listener( - _ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError_closureTrampoline, - )..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError_registerClosure(( - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2, - ) => - fn( - arg0.address == 0 - ? null - : NSURLResponse._(arg0, lib, - retain: true, release: true), - arg1.address == 0 - ? null - : NSData._(arg1, lib, retain: true, release: true), - arg2.address == 0 - ? null - : NSError._(arg2, lib, retain: true, release: true), - )), - ), - lib); + void Function(NSURLResponse?, NSData?, NSError?) fn) + : this._(objc.newBlock( + (_dartFuncListenerTrampoline ??= + ffi.NativeCallable, ffi.Pointer, ffi.Pointer, ffi.Pointer)>.listener( + _ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError_closureTrampoline) + ..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError_registerClosure( + (ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2) => + fn( + arg0.address == 0 + ? null + : NSURLResponse._(arg0, retain: true, release: true), + arg1.address == 0 ? null : NSData._(arg1, retain: true, release: true), + arg2.address == 0 ? null : NSError._(arg2, retain: true, release: true))))); static ffi.NativeCallable< ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>? _dartFuncListenerTrampoline; + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>? _dartFuncListenerTrampoline; void call(NSURLResponse? arg0, NSData? arg1, NSError? arg2) => pointer.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2, - )>>() - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>()( - pointer, - arg0?.pointer ?? ffi.nullptr, - arg1?.pointer ?? ffi.nullptr, - arg2?.pointer ?? ffi.nullptr, - ); -} + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>()( + pointer, + arg0?.pointer ?? ffi.nullptr, + arg1?.pointer ?? ffi.nullptr, + arg2?.pointer ?? ffi.nullptr); +} + +late final _sel_sendAsynchronousRequest_queue_completionHandler_ = + objc.registerName("sendAsynchronousRequest:queue:completionHandler:"); +final _objc_msgSend_992 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer request, + ffi.Pointer queue, + ffi.Pointer handler)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); class NSURLCredential extends NSObject { - NSURLCredential._( - ffi.Pointer pointer, - SwiftLibrary lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSURLCredential._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSURLCredential] that points to the same underlying object as [other]. - static NSURLCredential castFrom( - SwiftLibrary lib, - T other, - ) { - return NSURLCredential._(other.pointer, lib, retain: true, release: true); + static NSURLCredential castFrom(T other) { + return NSURLCredential._(other.pointer, retain: true, release: true); } /// Returns a [NSURLCredential] that wraps the given raw object pointer. - static NSURLCredential castFromPointer( - SwiftLibrary lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSURLCredential._(other, lib, retain: retain, release: release); + static NSURLCredential castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSURLCredential._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSURLCredential]. - static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSURLCredential1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0( + obj.pointer, _sel_isKindOfClass_, _class_NSURLCredential); } int get persistence { - return _lib._objc_msgSend_993(this.pointer, _lib._sel_persistence1); + return _objc_msgSend_993(this.pointer, _sel_persistence); } NSURLCredential initWithUser_password_persistence_( - NSString user, - NSString password, - int persistence, - ) { - final _ret = _lib._objc_msgSend_994( - this.pointer, - _lib._sel_initWithUser_password_persistence_1, - user.pointer, - password.pointer, - persistence, - ); - return NSURLCredential._(_ret, _lib, retain: true, release: true); + NSString user, NSString password, int persistence) { + final _ret = _objc_msgSend_994( + this.pointer, + _sel_initWithUser_password_persistence_, + user.pointer, + password.pointer, + persistence); + return NSURLCredential._(_ret, retain: true, release: true); } static NSURLCredential credentialWithUser_password_persistence_( - SwiftLibrary _lib, - NSString user, - NSString password, - int persistence, - ) { - final _ret = _lib._objc_msgSend_995( - _lib._class_NSURLCredential1, - _lib._sel_credentialWithUser_password_persistence_1, - user.pointer, - password.pointer, - persistence, - ); - return NSURLCredential._(_ret, _lib, retain: true, release: true); + NSString user, NSString password, int persistence) { + final _ret = _objc_msgSend_995( + _class_NSURLCredential, + _sel_credentialWithUser_password_persistence_, + user.pointer, + password.pointer, + persistence); + return NSURLCredential._(_ret, retain: true, release: true); } NSString? get user { - final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_user1); + final _ret = _objc_msgSend_44(this.pointer, _sel_user); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } NSString? get password { - final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_password1); + final _ret = _objc_msgSend_44(this.pointer, _sel_password); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } bool get hasPassword { - return _lib._objc_msgSend_12(this.pointer, _lib._sel_hasPassword1); + return _objc_msgSend_12(this.pointer, _sel_hasPassword); } NSURLCredential initWithIdentity_certificates_persistence_( - ffi.Pointer<__SecIdentity> identity, - NSArray? certArray, - int persistence, - ) { - final _ret = _lib._objc_msgSend_996( - this.pointer, - _lib._sel_initWithIdentity_certificates_persistence_1, - identity, - certArray?.pointer ?? ffi.nullptr, - persistence, - ); - return NSURLCredential._(_ret, _lib, retain: true, release: true); + ffi.Pointer<__SecIdentity> identity, + NSArray? certArray, + int persistence) { + final _ret = _objc_msgSend_996( + this.pointer, + _sel_initWithIdentity_certificates_persistence_, + identity, + certArray?.pointer ?? ffi.nullptr, + persistence); + return NSURLCredential._(_ret, retain: true, release: true); } static NSURLCredential credentialWithIdentity_certificates_persistence_( - SwiftLibrary _lib, - ffi.Pointer<__SecIdentity> identity, - NSArray? certArray, - int persistence, - ) { - final _ret = _lib._objc_msgSend_997( - _lib._class_NSURLCredential1, - _lib._sel_credentialWithIdentity_certificates_persistence_1, - identity, - certArray?.pointer ?? ffi.nullptr, - persistence, - ); - return NSURLCredential._(_ret, _lib, retain: true, release: true); + ffi.Pointer<__SecIdentity> identity, + NSArray? certArray, + int persistence) { + final _ret = _objc_msgSend_997( + _class_NSURLCredential, + _sel_credentialWithIdentity_certificates_persistence_, + identity, + certArray?.pointer ?? ffi.nullptr, + persistence); + return NSURLCredential._(_ret, retain: true, release: true); } ffi.Pointer<__SecIdentity> get identity { - return _lib._objc_msgSend_998(this.pointer, _lib._sel_identity1); + return _objc_msgSend_998(this.pointer, _sel_identity); } NSArray get certificates { - final _ret = _lib._objc_msgSend_85(this.pointer, _lib._sel_certificates1); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_85(this.pointer, _sel_certificates); + return NSArray._(_ret, retain: true, release: true); } NSURLCredential initWithTrust_(ffi.Pointer<__SecTrust> trust) { - final _ret = _lib._objc_msgSend_999( - this.pointer, - _lib._sel_initWithTrust_1, - trust, - ); - return NSURLCredential._(_ret, _lib, retain: true, release: true); - } - - static NSURLCredential credentialForTrust_( - SwiftLibrary _lib, - ffi.Pointer<__SecTrust> trust, - ) { - final _ret = _lib._objc_msgSend_1000( - _lib._class_NSURLCredential1, - _lib._sel_credentialForTrust_1, - trust, - ); - return NSURLCredential._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_999(this.pointer, _sel_initWithTrust_, trust); + return NSURLCredential._(_ret, retain: true, release: true); + } + + static NSURLCredential credentialForTrust_(ffi.Pointer<__SecTrust> trust) { + final _ret = _objc_msgSend_1000( + _class_NSURLCredential, _sel_credentialForTrust_, trust); + return NSURLCredential._(_ret, retain: true, release: true); } @override NSURLCredential init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSURLCredential._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSURLCredential._(_ret, retain: true, release: true); } - static NSURLCredential new1(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLCredential1, - _lib._sel_new1, - ); - return NSURLCredential._(_ret, _lib, retain: false, release: true); + static NSURLCredential new1() { + final _ret = _objc_msgSend_2(_class_NSURLCredential, _sel_new); + return NSURLCredential._(_ret, retain: false, release: true); } - static NSURLCredential allocWithZone_( - SwiftLibrary _lib, - ffi.Pointer<_NSZone> zone, - ) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSURLCredential1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSURLCredential._(_ret, _lib, retain: false, release: true); + static NSURLCredential allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = + _objc_msgSend_3(_class_NSURLCredential, _sel_allocWithZone_, zone); + return NSURLCredential._(_ret, retain: false, release: true); } - static NSURLCredential alloc(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLCredential1, - _lib._sel_alloc1, - ); - return NSURLCredential._(_ret, _lib, retain: false, release: true); + static NSURLCredential alloc() { + final _ret = _objc_msgSend_2(_class_NSURLCredential, _sel_alloc); + return NSURLCredential._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSURLCredential1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSURLCredential1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSURLCredential1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSURLCredential1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSURLCredential1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSURLCredential1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSURLCredential, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); + } + + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSURLCredential, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); + } + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSURLCredential, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSURLCredential, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSURLCredential, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSURLCredential, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); } static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSURLCredential1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSURLCredential1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLCredential1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSURLCredential, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = _objc_msgSend_85( + _class_NSURLCredential, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = + _objc_msgSend_2(_class_NSURLCredential, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); } } +late final _class_NSURLCredential = objc.getClass("NSURLCredential"); + abstract class NSURLCredentialPersistence { static const int NSURLCredentialPersistenceNone = 0; static const int NSURLCredentialPersistenceForSession = 1; @@ -83765,616 +50000,668 @@ abstract class NSURLCredentialPersistence { static const int NSURLCredentialPersistenceSynchronizable = 3; } +late final _sel_persistence = objc.registerName("persistence"); +final _objc_msgSend_993 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + int Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_initWithUser_password_persistence_ = + objc.registerName("initWithUser:password:persistence:"); +final _objc_msgSend_994 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer user, + ffi.Pointer password, + ffi.Int32 persistence)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int)>(); +late final _sel_credentialWithUser_password_persistence_ = + objc.registerName("credentialWithUser:password:persistence:"); +final _objc_msgSend_995 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer user, + ffi.Pointer password, + ffi.Int32 persistence)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int)>(); +late final _sel_hasPassword = objc.registerName("hasPassword"); + final class __SecIdentity extends ffi.Opaque {} +late final _sel_initWithIdentity_certificates_persistence_ = + objc.registerName("initWithIdentity:certificates:persistence:"); +final _objc_msgSend_996 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer<__SecIdentity> identity, + ffi.Pointer certArray, + ffi.Int32 persistence)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<__SecIdentity>, + ffi.Pointer, + int)>(); +late final _sel_credentialWithIdentity_certificates_persistence_ = + objc.registerName("credentialWithIdentity:certificates:persistence:"); +final _objc_msgSend_997 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer<__SecIdentity> identity, + ffi.Pointer certArray, + ffi.Int32 persistence)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<__SecIdentity>, + ffi.Pointer, + int)>(); +late final _sel_identity = objc.registerName("identity"); +final _objc_msgSend_998 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer<__SecIdentity> Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer<__SecIdentity> Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_certificates = objc.registerName("certificates"); + final class __SecTrust extends ffi.Opaque {} +late final _sel_initWithTrust_ = objc.registerName("initWithTrust:"); +final _objc_msgSend_999 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer<__SecTrust> trust)>>() + .asFunction< + instancetype Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer<__SecTrust>)>(); +late final _sel_credentialForTrust_ = objc.registerName("credentialForTrust:"); +final _objc_msgSend_1000 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer<__SecTrust> trust)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer<__SecTrust>)>(); + class NSURLProtectionSpace extends NSObject { - NSURLProtectionSpace._( - ffi.Pointer pointer, - SwiftLibrary lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSURLProtectionSpace._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSURLProtectionSpace] that points to the same underlying object as [other]. - static NSURLProtectionSpace castFrom( - SwiftLibrary lib, - T other, - ) { - return NSURLProtectionSpace._( - other.pointer, - lib, - retain: true, - release: true, - ); + static NSURLProtectionSpace castFrom(T other) { + return NSURLProtectionSpace._(other.pointer, retain: true, release: true); } /// Returns a [NSURLProtectionSpace] that wraps the given raw object pointer. static NSURLProtectionSpace castFromPointer( - SwiftLibrary lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSURLProtectionSpace._(other, lib, retain: retain, release: release); + ffi.Pointer other, + {bool retain = false, + bool release = false}) { + return NSURLProtectionSpace._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSURLProtectionSpace]. - static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSURLProtectionSpace1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0( + obj.pointer, _sel_isKindOfClass_, _class_NSURLProtectionSpace); } NSURLProtectionSpace initWithHost_port_protocol_realm_authenticationMethod_( - NSString host, - int port, - NSString? protocol, - NSString? realm, - NSString? authenticationMethod, - ) { - final _ret = _lib._objc_msgSend_1001( - this.pointer, - _lib._sel_initWithHost_port_protocol_realm_authenticationMethod_1, - host.pointer, - port, - protocol?.pointer ?? ffi.nullptr, - realm?.pointer ?? ffi.nullptr, - authenticationMethod?.pointer ?? ffi.nullptr, - ); - return NSURLProtectionSpace._(_ret, _lib, retain: true, release: true); + NSString host, + int port, + NSString? protocol, + NSString? realm, + NSString? authenticationMethod) { + final _ret = _objc_msgSend_1001( + this.pointer, + _sel_initWithHost_port_protocol_realm_authenticationMethod_, + host.pointer, + port, + protocol?.pointer ?? ffi.nullptr, + realm?.pointer ?? ffi.nullptr, + authenticationMethod?.pointer ?? ffi.nullptr); + return NSURLProtectionSpace._(_ret, retain: true, release: true); } NSURLProtectionSpace initWithProxyHost_port_type_realm_authenticationMethod_( - NSString host, - int port, - NSString? type, - NSString? realm, - NSString? authenticationMethod, - ) { - final _ret = _lib._objc_msgSend_1001( - this.pointer, - _lib._sel_initWithProxyHost_port_type_realm_authenticationMethod_1, - host.pointer, - port, - type?.pointer ?? ffi.nullptr, - realm?.pointer ?? ffi.nullptr, - authenticationMethod?.pointer ?? ffi.nullptr, - ); - return NSURLProtectionSpace._(_ret, _lib, retain: true, release: true); + NSString host, + int port, + NSString? type, + NSString? realm, + NSString? authenticationMethod) { + final _ret = _objc_msgSend_1001( + this.pointer, + _sel_initWithProxyHost_port_type_realm_authenticationMethod_, + host.pointer, + port, + type?.pointer ?? ffi.nullptr, + realm?.pointer ?? ffi.nullptr, + authenticationMethod?.pointer ?? ffi.nullptr); + return NSURLProtectionSpace._(_ret, retain: true, release: true); } NSString? get realm { - final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_realm1); + final _ret = _objc_msgSend_44(this.pointer, _sel_realm); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } bool get receivesCredentialSecurely { - return _lib._objc_msgSend_12( - this.pointer, - _lib._sel_receivesCredentialSecurely1, - ); + return _objc_msgSend_12(this.pointer, _sel_receivesCredentialSecurely); } bool get isProxy { - return _lib._objc_msgSend_12(this.pointer, _lib._sel_isProxy1); + return _objc_msgSend_12(this.pointer, _sel_isProxy); } NSString get host { - final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_host1); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_host); + return NSString._(_ret, retain: true, release: true); } int get port { - return _lib._objc_msgSend_83(this.pointer, _lib._sel_port1); + return _objc_msgSend_83(this.pointer, _sel_port); } NSString? get proxyType { - final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_proxyType1); + final _ret = _objc_msgSend_44(this.pointer, _sel_proxyType); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } NSString? get protocol { - final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_protocol1); + final _ret = _objc_msgSend_44(this.pointer, _sel_protocol); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } NSString get authenticationMethod { - final _ret = _lib._objc_msgSend_21( - this.pointer, - _lib._sel_authenticationMethod1, - ); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_authenticationMethod); + return NSString._(_ret, retain: true, release: true); } NSArray? get distinguishedNames { - final _ret = _lib._objc_msgSend_84( - this.pointer, - _lib._sel_distinguishedNames1, - ); + final _ret = _objc_msgSend_84(this.pointer, _sel_distinguishedNames); return _ret.address == 0 ? null - : NSArray._(_ret, _lib, retain: true, release: true); + : NSArray._(_ret, retain: true, release: true); } ffi.Pointer<__SecTrust> get serverTrust { - return _lib._objc_msgSend_1002(this.pointer, _lib._sel_serverTrust1); + return _objc_msgSend_1002(this.pointer, _sel_serverTrust); } @override NSURLProtectionSpace init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSURLProtectionSpace._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSURLProtectionSpace._(_ret, retain: true, release: true); } - static NSURLProtectionSpace new1(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLProtectionSpace1, - _lib._sel_new1, - ); - return NSURLProtectionSpace._(_ret, _lib, retain: false, release: true); + static NSURLProtectionSpace new1() { + final _ret = _objc_msgSend_2(_class_NSURLProtectionSpace, _sel_new); + return NSURLProtectionSpace._(_ret, retain: false, release: true); } - static NSURLProtectionSpace allocWithZone_( - SwiftLibrary _lib, - ffi.Pointer<_NSZone> zone, - ) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSURLProtectionSpace1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSURLProtectionSpace._(_ret, _lib, retain: false, release: true); + static NSURLProtectionSpace allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = + _objc_msgSend_3(_class_NSURLProtectionSpace, _sel_allocWithZone_, zone); + return NSURLProtectionSpace._(_ret, retain: false, release: true); } - static NSURLProtectionSpace alloc(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLProtectionSpace1, - _lib._sel_alloc1, - ); - return NSURLProtectionSpace._(_ret, _lib, retain: false, release: true); + static NSURLProtectionSpace alloc() { + final _ret = _objc_msgSend_2(_class_NSURLProtectionSpace, _sel_alloc); + return NSURLProtectionSpace._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSURLProtectionSpace1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSURLProtectionSpace1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSURLProtectionSpace1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSURLProtectionSpace1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSURLProtectionSpace1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSURLProtectionSpace1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSURLProtectionSpace, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); + } + + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSURLProtectionSpace, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); + } + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSURLProtectionSpace, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12( + _class_NSURLProtectionSpace, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSURLProtectionSpace, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSURLProtectionSpace, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); } static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSURLProtectionSpace1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSURLProtectionSpace1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLProtectionSpace1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSURLProtectionSpace, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = _objc_msgSend_85( + _class_NSURLProtectionSpace, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = _objc_msgSend_2( + _class_NSURLProtectionSpace, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); } } +late final _class_NSURLProtectionSpace = objc.getClass("NSURLProtectionSpace"); +late final _sel_initWithHost_port_protocol_realm_authenticationMethod_ = + objc.registerName("initWithHost:port:protocol:realm:authenticationMethod:"); +final _objc_msgSend_1001 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer host, + ffi.Long port, + ffi.Pointer protocol, + ffi.Pointer realm, + ffi.Pointer authenticationMethod)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_initWithProxyHost_port_type_realm_authenticationMethod_ = objc + .registerName("initWithProxyHost:port:type:realm:authenticationMethod:"); +late final _sel_realm = objc.registerName("realm"); +late final _sel_receivesCredentialSecurely = + objc.registerName("receivesCredentialSecurely"); +late final _sel_isProxy = objc.registerName("isProxy"); +late final _sel_proxyType = objc.registerName("proxyType"); +late final _sel_protocol = objc.registerName("protocol"); +late final _sel_authenticationMethod = + objc.registerName("authenticationMethod"); +late final _sel_distinguishedNames = objc.registerName("distinguishedNames"); +late final _sel_serverTrust = objc.registerName("serverTrust"); +final _objc_msgSend_1002 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer<__SecTrust> Function(ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer<__SecTrust> Function( + ffi.Pointer, ffi.Pointer)>(); + class NSURLCredentialStorage extends NSObject { - NSURLCredentialStorage._( - ffi.Pointer pointer, - SwiftLibrary lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSURLCredentialStorage._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSURLCredentialStorage] that points to the same underlying object as [other]. static NSURLCredentialStorage castFrom( - SwiftLibrary lib, - T other, - ) { - return NSURLCredentialStorage._( - other.pointer, - lib, - retain: true, - release: true, - ); + T other) { + return NSURLCredentialStorage._(other.pointer, retain: true, release: true); } /// Returns a [NSURLCredentialStorage] that wraps the given raw object pointer. static NSURLCredentialStorage castFromPointer( - SwiftLibrary lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSURLCredentialStorage._( - other, - lib, - retain: retain, - release: release, - ); + ffi.Pointer other, + {bool retain = false, + bool release = false}) { + return NSURLCredentialStorage._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSURLCredentialStorage]. - static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSURLCredentialStorage1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0( + obj.pointer, _sel_isKindOfClass_, _class_NSURLCredentialStorage); } - static NSURLCredentialStorage getSharedCredentialStorage(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_1003( - _lib._class_NSURLCredentialStorage1, - _lib._sel_sharedCredentialStorage1, - ); - return NSURLCredentialStorage._(_ret, _lib, retain: true, release: true); + static NSURLCredentialStorage getSharedCredentialStorage() { + final _ret = _objc_msgSend_1003( + _class_NSURLCredentialStorage, _sel_sharedCredentialStorage); + return NSURLCredentialStorage._(_ret, retain: true, release: true); } NSDictionary? credentialsForProtectionSpace_(NSURLProtectionSpace space) { - final _ret = _lib._objc_msgSend_1004( - this.pointer, - _lib._sel_credentialsForProtectionSpace_1, - space.pointer, - ); + final _ret = _objc_msgSend_1004( + this.pointer, _sel_credentialsForProtectionSpace_, space.pointer); return _ret.address == 0 ? null - : NSDictionary._(_ret, _lib, retain: true, release: true); + : NSDictionary._(_ret, retain: true, release: true); } NSDictionary get allCredentials { - final _ret = _lib._objc_msgSend_181( - this.pointer, - _lib._sel_allCredentials1, - ); - return NSDictionary._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_181(this.pointer, _sel_allCredentials); + return NSDictionary._(_ret, retain: true, release: true); } void setCredential_forProtectionSpace_( - NSURLCredential credential, - NSURLProtectionSpace space, - ) { - _lib._objc_msgSend_1005( - this.pointer, - _lib._sel_setCredential_forProtectionSpace_1, - credential.pointer, - space.pointer, - ); + NSURLCredential credential, NSURLProtectionSpace space) { + _objc_msgSend_1005(this.pointer, _sel_setCredential_forProtectionSpace_, + credential.pointer, space.pointer); } void removeCredential_forProtectionSpace_( - NSURLCredential credential, - NSURLProtectionSpace space, - ) { - _lib._objc_msgSend_1005( - this.pointer, - _lib._sel_removeCredential_forProtectionSpace_1, - credential.pointer, - space.pointer, - ); - } - - void removeCredential_forProtectionSpace_options_( - NSURLCredential credential, - NSURLProtectionSpace space, - NSDictionary? options, - ) { - _lib._objc_msgSend_1006( - this.pointer, - _lib._sel_removeCredential_forProtectionSpace_options_1, - credential.pointer, - space.pointer, - options?.pointer ?? ffi.nullptr, - ); + NSURLCredential credential, NSURLProtectionSpace space) { + _objc_msgSend_1005(this.pointer, _sel_removeCredential_forProtectionSpace_, + credential.pointer, space.pointer); + } + + void removeCredential_forProtectionSpace_options_(NSURLCredential credential, + NSURLProtectionSpace space, NSDictionary? options) { + _objc_msgSend_1006( + this.pointer, + _sel_removeCredential_forProtectionSpace_options_, + credential.pointer, + space.pointer, + options?.pointer ?? ffi.nullptr); } NSURLCredential? defaultCredentialForProtectionSpace_( - NSURLProtectionSpace space, - ) { - final _ret = _lib._objc_msgSend_1007( - this.pointer, - _lib._sel_defaultCredentialForProtectionSpace_1, - space.pointer, - ); + NSURLProtectionSpace space) { + final _ret = _objc_msgSend_1007( + this.pointer, _sel_defaultCredentialForProtectionSpace_, space.pointer); return _ret.address == 0 ? null - : NSURLCredential._(_ret, _lib, retain: true, release: true); + : NSURLCredential._(_ret, retain: true, release: true); } void setDefaultCredential_forProtectionSpace_( - NSURLCredential credential, - NSURLProtectionSpace space, - ) { - _lib._objc_msgSend_1005( - this.pointer, - _lib._sel_setDefaultCredential_forProtectionSpace_1, - credential.pointer, - space.pointer, - ); + NSURLCredential credential, NSURLProtectionSpace space) { + _objc_msgSend_1005( + this.pointer, + _sel_setDefaultCredential_forProtectionSpace_, + credential.pointer, + space.pointer); } void getCredentialsForProtectionSpace_task_completionHandler_( - NSURLProtectionSpace protectionSpace, - NSURLSessionTask task, - ObjCBlock_ffiVoid_NSDictionary completionHandler, - ) { - _lib._objc_msgSend_1008( - this.pointer, - _lib._sel_getCredentialsForProtectionSpace_task_completionHandler_1, - protectionSpace.pointer, - task.pointer, - completionHandler.pointer, - ); - } - - void setCredential_forProtectionSpace_task_( - NSURLCredential credential, - NSURLProtectionSpace protectionSpace, - NSURLSessionTask task, - ) { - _lib._objc_msgSend_1009( - this.pointer, - _lib._sel_setCredential_forProtectionSpace_task_1, - credential.pointer, - protectionSpace.pointer, - task.pointer, - ); + NSURLProtectionSpace protectionSpace, + NSURLSessionTask task, + ObjCBlock_ffiVoid_NSDictionary completionHandler) { + _objc_msgSend_1008( + this.pointer, + _sel_getCredentialsForProtectionSpace_task_completionHandler_, + protectionSpace.pointer, + task.pointer, + completionHandler.pointer); + } + + void setCredential_forProtectionSpace_task_(NSURLCredential credential, + NSURLProtectionSpace protectionSpace, NSURLSessionTask task) { + _objc_msgSend_1009( + this.pointer, + _sel_setCredential_forProtectionSpace_task_, + credential.pointer, + protectionSpace.pointer, + task.pointer); } void removeCredential_forProtectionSpace_options_task_( - NSURLCredential credential, - NSURLProtectionSpace protectionSpace, - NSDictionary? options, - NSURLSessionTask task, - ) { - _lib._objc_msgSend_1010( - this.pointer, - _lib._sel_removeCredential_forProtectionSpace_options_task_1, - credential.pointer, - protectionSpace.pointer, - options?.pointer ?? ffi.nullptr, - task.pointer, - ); + NSURLCredential credential, + NSURLProtectionSpace protectionSpace, + NSDictionary? options, + NSURLSessionTask task) { + _objc_msgSend_1010( + this.pointer, + _sel_removeCredential_forProtectionSpace_options_task_, + credential.pointer, + protectionSpace.pointer, + options?.pointer ?? ffi.nullptr, + task.pointer); } void getDefaultCredentialForProtectionSpace_task_completionHandler_( - NSURLProtectionSpace space, - NSURLSessionTask task, - ObjCBlock_ffiVoid_NSURLCredential completionHandler, - ) { - _lib._objc_msgSend_1011( - this.pointer, - _lib._sel_getDefaultCredentialForProtectionSpace_task_completionHandler_1, - space.pointer, - task.pointer, - completionHandler.pointer, - ); - } - - void setDefaultCredential_forProtectionSpace_task_( - NSURLCredential credential, - NSURLProtectionSpace protectionSpace, - NSURLSessionTask task, - ) { - _lib._objc_msgSend_1009( - this.pointer, - _lib._sel_setDefaultCredential_forProtectionSpace_task_1, - credential.pointer, - protectionSpace.pointer, - task.pointer, - ); + NSURLProtectionSpace space, + NSURLSessionTask task, + ObjCBlock_ffiVoid_NSURLCredential completionHandler) { + _objc_msgSend_1011( + this.pointer, + _sel_getDefaultCredentialForProtectionSpace_task_completionHandler_, + space.pointer, + task.pointer, + completionHandler.pointer); + } + + void setDefaultCredential_forProtectionSpace_task_(NSURLCredential credential, + NSURLProtectionSpace protectionSpace, NSURLSessionTask task) { + _objc_msgSend_1009( + this.pointer, + _sel_setDefaultCredential_forProtectionSpace_task_, + credential.pointer, + protectionSpace.pointer, + task.pointer); + } + + @override + NSURLCredentialStorage init() { + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSURLCredentialStorage._(_ret, retain: true, release: true); + } + + static NSURLCredentialStorage new1() { + final _ret = _objc_msgSend_2(_class_NSURLCredentialStorage, _sel_new); + return NSURLCredentialStorage._(_ret, retain: false, release: true); + } + + static NSURLCredentialStorage allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = _objc_msgSend_3( + _class_NSURLCredentialStorage, _sel_allocWithZone_, zone); + return NSURLCredentialStorage._(_ret, retain: false, release: true); + } + + static NSURLCredentialStorage alloc() { + final _ret = _objc_msgSend_2(_class_NSURLCredentialStorage, _sel_alloc); + return NSURLCredentialStorage._(_ret, retain: false, release: true); } - @override - NSURLCredentialStorage init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSURLCredentialStorage._(_ret, _lib, retain: true, release: true); + static void cancelPreviousPerformRequestsWithTarget_selector_object_( + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSURLCredentialStorage, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); } - static NSURLCredentialStorage new1(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLCredentialStorage1, - _lib._sel_new1, - ); - return NSURLCredentialStorage._(_ret, _lib, retain: false, release: true); + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSURLCredentialStorage, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); } - static NSURLCredentialStorage allocWithZone_( - SwiftLibrary _lib, - ffi.Pointer<_NSZone> zone, - ) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSURLCredentialStorage1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSURLCredentialStorage._(_ret, _lib, retain: false, release: true); + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSURLCredentialStorage, _sel_accessInstanceVariablesDirectly); } - static NSURLCredentialStorage alloc(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLCredentialStorage1, - _lib._sel_alloc1, - ); - return NSURLCredentialStorage._(_ret, _lib, retain: false, release: true); + static bool useStoredAccessor() { + return _objc_msgSend_12( + _class_NSURLCredentialStorage, _sel_useStoredAccessor); } - static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSURLCredentialStorage1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSURLCredentialStorage1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSURLCredentialStorage1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSURLCredentialStorage1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSURLCredentialStorage1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSURLCredentialStorage1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSURLCredentialStorage, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); } - static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSURLCredentialStorage1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSURLCredentialStorage1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLCredentialStorage1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSURLCredentialStorage, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); } -} + static void setKeys_triggerChangeNotificationsForDependentKey_( + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSURLCredentialStorage, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = _objc_msgSend_85( + _class_NSURLCredentialStorage, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = _objc_msgSend_2( + _class_NSURLCredentialStorage, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); + } +} + +late final _class_NSURLCredentialStorage = + objc.getClass("NSURLCredentialStorage"); +late final _sel_sharedCredentialStorage = + objc.registerName("sharedCredentialStorage"); +final _objc_msgSend_1003 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_credentialsForProtectionSpace_ = + objc.registerName("credentialsForProtectionSpace:"); +final _objc_msgSend_1004 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer space)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_allCredentials = objc.registerName("allCredentials"); +late final _sel_setCredential_forProtectionSpace_ = + objc.registerName("setCredential:forProtectionSpace:"); +final _objc_msgSend_1005 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer credential, + ffi.Pointer space)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_removeCredential_forProtectionSpace_ = + objc.registerName("removeCredential:forProtectionSpace:"); +late final _sel_removeCredential_forProtectionSpace_options_ = + objc.registerName("removeCredential:forProtectionSpace:options:"); +final _objc_msgSend_1006 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer credential, + ffi.Pointer space, + ffi.Pointer options)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_defaultCredentialForProtectionSpace_ = + objc.registerName("defaultCredentialForProtectionSpace:"); +final _objc_msgSend_1007 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer space)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_setDefaultCredential_forProtectionSpace_ = + objc.registerName("setDefaultCredential:forProtectionSpace:"); void _ObjCBlock_ffiVoid_NSDictionary_fnPtrTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, -) => + ffi.Pointer block, ffi.Pointer arg0) => block.ref.target .cast< ffi.NativeFunction< @@ -84384,44 +50671,29 @@ final _ObjCBlock_ffiVoid_NSDictionary_closureRegistry = )>{}; int _ObjCBlock_ffiVoid_NSDictionary_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_ffiVoid_NSDictionary_registerClosure( - void Function(ffi.Pointer) fn, -) { + void Function(ffi.Pointer) fn) { final id = ++_ObjCBlock_ffiVoid_NSDictionary_closureRegistryIndex; _ObjCBlock_ffiVoid_NSDictionary_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } void _ObjCBlock_ffiVoid_NSDictionary_closureTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, -) => + ffi.Pointer block, ffi.Pointer arg0) => _ObjCBlock_ffiVoid_NSDictionary_closureRegistry[block.ref.target.address]!( - arg0, - ); + arg0); class ObjCBlock_ffiVoid_NSDictionary extends objc.ObjCBlockBase { - ObjCBlock_ffiVoid_NSDictionary._( - ffi.Pointer pointer, - this._lib, { - bool retain = false, - bool release = true, - }) : super(pointer, retain: retain, release: release); - - SwiftLibrary _lib; + ObjCBlock_ffiVoid_NSDictionary._(ffi.Pointer pointer, + {bool retain = false, bool release = true}) + : super(pointer, retain: retain, release: release); /// Returns a block that wraps the given raw block pointer. static ObjCBlock_ffiVoid_NSDictionary castFromPointer( - SwiftLibrary lib, - ffi.Pointer pointer, { - bool retain = false, - bool release = false, - }) { - return ObjCBlock_ffiVoid_NSDictionary._( - pointer, - lib, - retain: retain, - release: release, - ); + ffi.Pointer pointer, + {bool retain = false, + bool release = false}) { + return ObjCBlock_ffiVoid_NSDictionary._(pointer, + retain: retain, release: release); } /// Creates a block from a C function pointer. @@ -84430,22 +50702,17 @@ class ObjCBlock_ffiVoid_NSDictionary extends objc.ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSDictionary.fromFunctionPointer( - SwiftLibrary lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer arg0)>> - ptr, - ) : this._( - objc.newBlock( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - )>(_ObjCBlock_ffiVoid_NSDictionary_fnPtrTrampoline) - .cast(), - ptr.cast(), - ), - lib); + ffi.Pointer< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer arg0)>> + ptr) + : this._(objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function(ffi.Pointer, + ffi.Pointer)>( + _ObjCBlock_ffiVoid_NSDictionary_fnPtrTrampoline) + .cast(), + ptr.cast())); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -84453,28 +50720,17 @@ class ObjCBlock_ffiVoid_NSDictionary extends objc.ObjCBlockBase { /// This block must be invoked by native code running on the same thread as /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. - ObjCBlock_ffiVoid_NSDictionary.fromFunction( - SwiftLibrary lib, - void Function(NSDictionary?) fn, - ) : this._( - objc.newBlock( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - )>(_ObjCBlock_ffiVoid_NSDictionary_closureTrampoline) - .cast(), - _ObjCBlock_ffiVoid_NSDictionary_registerClosure(( - ffi.Pointer arg0, - ) => - fn( - arg0.address == 0 - ? null - : NSDictionary._(arg0, lib, - retain: true, release: true), - )), - ), - lib); + ObjCBlock_ffiVoid_NSDictionary.fromFunction(void Function(NSDictionary?) fn) + : this._(objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function(ffi.Pointer, + ffi.Pointer)>( + _ObjCBlock_ffiVoid_NSDictionary_closureTrampoline) + .cast(), + _ObjCBlock_ffiVoid_NSDictionary_registerClosure( + (ffi.Pointer arg0) => fn(arg0.address == 0 + ? null + : NSDictionary._(arg0, retain: true, release: true))))); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -84486,31 +50742,19 @@ class ObjCBlock_ffiVoid_NSDictionary extends objc.ObjCBlockBase { /// /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. - ObjCBlock_ffiVoid_NSDictionary.listener( - SwiftLibrary lib, - void Function(NSDictionary?) fn, - ) : this._( - objc.newBlock( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - )>.listener( - _ObjCBlock_ffiVoid_NSDictionary_closureTrampoline, - )..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSDictionary_registerClosure(( - ffi.Pointer arg0, - ) => - fn( - arg0.address == 0 - ? null - : NSDictionary._(arg0, lib, - retain: true, release: true), - )), - ), - lib); + ObjCBlock_ffiVoid_NSDictionary.listener(void Function(NSDictionary?) fn) + : this._(objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function(ffi.Pointer, + ffi.Pointer)>.listener( + _ObjCBlock_ffiVoid_NSDictionary_closureTrampoline) + ..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSDictionary_registerClosure( + (ffi.Pointer arg0) => fn(arg0.address == 0 + ? null + : NSDictionary._(arg0, retain: true, release: true))))); static ffi.NativeCallable< ffi.Void Function( ffi.Pointer, ffi.Pointer)>? @@ -84519,20 +50763,72 @@ class ObjCBlock_ffiVoid_NSDictionary extends objc.ObjCBlockBase { void call(NSDictionary? arg0) => pointer.ref.invoke .cast< ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer block, - ffi.Pointer arg0, - )>>() + ffi.Void Function(ffi.Pointer block, + ffi.Pointer arg0)>>() .asFunction< void Function( ffi.Pointer, ffi.Pointer)>()( pointer, arg0?.pointer ?? ffi.nullptr); } +late final _sel_getCredentialsForProtectionSpace_task_completionHandler_ = objc + .registerName("getCredentialsForProtectionSpace:task:completionHandler:"); +final _objc_msgSend_1008 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer protectionSpace, + ffi.Pointer task, + ffi.Pointer completionHandler)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_setCredential_forProtectionSpace_task_ = + objc.registerName("setCredential:forProtectionSpace:task:"); +final _objc_msgSend_1009 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer credential, + ffi.Pointer protectionSpace, + ffi.Pointer task)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_removeCredential_forProtectionSpace_options_task_ = + objc.registerName("removeCredential:forProtectionSpace:options:task:"); +final _objc_msgSend_1010 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer credential, + ffi.Pointer protectionSpace, + ffi.Pointer options, + ffi.Pointer task)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); void _ObjCBlock_ffiVoid_NSURLCredential_fnPtrTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, -) => + ffi.Pointer block, ffi.Pointer arg0) => block.ref.target .cast< ffi.NativeFunction< @@ -84542,43 +50838,29 @@ final _ObjCBlock_ffiVoid_NSURLCredential_closureRegistry = )>{}; int _ObjCBlock_ffiVoid_NSURLCredential_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_ffiVoid_NSURLCredential_registerClosure( - void Function(ffi.Pointer) fn, -) { + void Function(ffi.Pointer) fn) { final id = ++_ObjCBlock_ffiVoid_NSURLCredential_closureRegistryIndex; _ObjCBlock_ffiVoid_NSURLCredential_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } void _ObjCBlock_ffiVoid_NSURLCredential_closureTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, -) => + ffi.Pointer block, ffi.Pointer arg0) => _ObjCBlock_ffiVoid_NSURLCredential_closureRegistry[ block.ref.target.address]!(arg0); class ObjCBlock_ffiVoid_NSURLCredential extends objc.ObjCBlockBase { - ObjCBlock_ffiVoid_NSURLCredential._( - ffi.Pointer pointer, - this._lib, { - bool retain = false, - bool release = true, - }) : super(pointer, retain: retain, release: release); - - SwiftLibrary _lib; + ObjCBlock_ffiVoid_NSURLCredential._(ffi.Pointer pointer, + {bool retain = false, bool release = true}) + : super(pointer, retain: retain, release: release); /// Returns a block that wraps the given raw block pointer. static ObjCBlock_ffiVoid_NSURLCredential castFromPointer( - SwiftLibrary lib, - ffi.Pointer pointer, { - bool retain = false, - bool release = false, - }) { - return ObjCBlock_ffiVoid_NSURLCredential._( - pointer, - lib, - retain: retain, - release: release, - ); + ffi.Pointer pointer, + {bool retain = false, + bool release = false}) { + return ObjCBlock_ffiVoid_NSURLCredential._(pointer, + retain: retain, release: release); } /// Creates a block from a C function pointer. @@ -84587,22 +50869,17 @@ class ObjCBlock_ffiVoid_NSURLCredential extends objc.ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSURLCredential.fromFunctionPointer( - SwiftLibrary lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer arg0)>> - ptr, - ) : this._( - objc.newBlock( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - )>(_ObjCBlock_ffiVoid_NSURLCredential_fnPtrTrampoline) - .cast(), - ptr.cast(), - ), - lib); + ffi.Pointer< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer arg0)>> + ptr) + : this._(objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function(ffi.Pointer, + ffi.Pointer)>( + _ObjCBlock_ffiVoid_NSURLCredential_fnPtrTrampoline) + .cast(), + ptr.cast())); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -84611,27 +50888,17 @@ class ObjCBlock_ffiVoid_NSURLCredential extends objc.ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSURLCredential.fromFunction( - SwiftLibrary lib, - void Function(NSURLCredential?) fn, - ) : this._( - objc.newBlock( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - )>(_ObjCBlock_ffiVoid_NSURLCredential_closureTrampoline) - .cast(), - _ObjCBlock_ffiVoid_NSURLCredential_registerClosure(( - ffi.Pointer arg0, - ) => - fn( - arg0.address == 0 - ? null - : NSURLCredential._(arg0, lib, - retain: true, release: true), - )), - ), - lib); + void Function(NSURLCredential?) fn) + : this._(objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function(ffi.Pointer, + ffi.Pointer)>( + _ObjCBlock_ffiVoid_NSURLCredential_closureTrampoline) + .cast(), + _ObjCBlock_ffiVoid_NSURLCredential_registerClosure( + (ffi.Pointer arg0) => fn(arg0.address == 0 + ? null + : NSURLCredential._(arg0, retain: true, release: true))))); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -84643,31 +50910,19 @@ class ObjCBlock_ffiVoid_NSURLCredential extends objc.ObjCBlockBase { /// /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. - ObjCBlock_ffiVoid_NSURLCredential.listener( - SwiftLibrary lib, - void Function(NSURLCredential?) fn, - ) : this._( - objc.newBlock( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - )>.listener( - _ObjCBlock_ffiVoid_NSURLCredential_closureTrampoline, - )..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSURLCredential_registerClosure(( - ffi.Pointer arg0, - ) => - fn( - arg0.address == 0 - ? null - : NSURLCredential._(arg0, lib, - retain: true, release: true), - )), - ), - lib); + ObjCBlock_ffiVoid_NSURLCredential.listener(void Function(NSURLCredential?) fn) + : this._(objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function(ffi.Pointer, + ffi.Pointer)>.listener( + _ObjCBlock_ffiVoid_NSURLCredential_closureTrampoline) + ..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSURLCredential_registerClosure( + (ffi.Pointer arg0) => fn(arg0.address == 0 + ? null + : NSURLCredential._(arg0, retain: true, release: true))))); static ffi.NativeCallable< ffi.Void Function( ffi.Pointer, ffi.Pointer)>? @@ -84676,1168 +50931,1067 @@ class ObjCBlock_ffiVoid_NSURLCredential extends objc.ObjCBlockBase { void call(NSURLCredential? arg0) => pointer.ref.invoke .cast< ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer block, - ffi.Pointer arg0, - )>>() + ffi.Void Function(ffi.Pointer block, + ffi.Pointer arg0)>>() .asFunction< void Function( ffi.Pointer, ffi.Pointer)>()( pointer, arg0?.pointer ?? ffi.nullptr); } +late final _sel_getDefaultCredentialForProtectionSpace_task_completionHandler_ = + objc.registerName( + "getDefaultCredentialForProtectionSpace:task:completionHandler:"); +final _objc_msgSend_1011 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer space, + ffi.Pointer task, + ffi.Pointer completionHandler)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_setDefaultCredential_forProtectionSpace_task_ = + objc.registerName("setDefaultCredential:forProtectionSpace:task:"); + class NSURLProtocol extends NSObject { - NSURLProtocol._( - ffi.Pointer pointer, - SwiftLibrary lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSURLProtocol._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSURLProtocol] that points to the same underlying object as [other]. - static NSURLProtocol castFrom( - SwiftLibrary lib, - T other, - ) { - return NSURLProtocol._(other.pointer, lib, retain: true, release: true); + static NSURLProtocol castFrom(T other) { + return NSURLProtocol._(other.pointer, retain: true, release: true); } /// Returns a [NSURLProtocol] that wraps the given raw object pointer. - static NSURLProtocol castFromPointer( - SwiftLibrary lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSURLProtocol._(other, lib, retain: retain, release: release); + static NSURLProtocol castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSURLProtocol._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSURLProtocol]. - static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSURLProtocol1, - ); - } - - NSURLProtocol initWithRequest_cachedResponse_client_( - NSURLRequest request, - NSCachedURLResponse? cachedResponse, - NSObject? client, - ) { - final _ret = _lib._objc_msgSend_1012( - this.pointer, - _lib._sel_initWithRequest_cachedResponse_client_1, - request.pointer, - cachedResponse?.pointer ?? ffi.nullptr, - client?.pointer ?? ffi.nullptr, - ); - return NSURLProtocol._(_ret, _lib, retain: true, release: true); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0( + obj.pointer, _sel_isKindOfClass_, _class_NSURLProtocol); + } + + NSURLProtocol initWithRequest_cachedResponse_client_(NSURLRequest request, + NSCachedURLResponse? cachedResponse, NSObject? client) { + final _ret = _objc_msgSend_1012( + this.pointer, + _sel_initWithRequest_cachedResponse_client_, + request.pointer, + cachedResponse?.pointer ?? ffi.nullptr, + client?.pointer ?? ffi.nullptr); + return NSURLProtocol._(_ret, retain: true, release: true); } NSObject? get client { - final _ret = _lib._objc_msgSend_17(this.pointer, _lib._sel_client1); + final _ret = _objc_msgSend_17(this.pointer, _sel_client); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } NSURLRequest get request { - final _ret = _lib._objc_msgSend_988(this.pointer, _lib._sel_request1); - return NSURLRequest._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_988(this.pointer, _sel_request); + return NSURLRequest._(_ret, retain: true, release: true); } NSCachedURLResponse? get cachedResponse { - final _ret = _lib._objc_msgSend_1013( - this.pointer, - _lib._sel_cachedResponse1, - ); + final _ret = _objc_msgSend_1013(this.pointer, _sel_cachedResponse); return _ret.address == 0 ? null - : NSCachedURLResponse._(_ret, _lib, retain: true, release: true); + : NSCachedURLResponse._(_ret, retain: true, release: true); } - static bool canInitWithRequest_(SwiftLibrary _lib, NSURLRequest request) { - return _lib._objc_msgSend_990( - _lib._class_NSURLProtocol1, - _lib._sel_canInitWithRequest_1, - request.pointer, - ); + static bool canInitWithRequest_(NSURLRequest request) { + return _objc_msgSend_990( + _class_NSURLProtocol, _sel_canInitWithRequest_, request.pointer); } - static NSURLRequest canonicalRequestForRequest_( - SwiftLibrary _lib, - NSURLRequest request, - ) { - final _ret = _lib._objc_msgSend_1014( - _lib._class_NSURLProtocol1, - _lib._sel_canonicalRequestForRequest_1, - request.pointer, - ); - return NSURLRequest._(_ret, _lib, retain: true, release: true); + static NSURLRequest canonicalRequestForRequest_(NSURLRequest request) { + final _ret = _objc_msgSend_1014(_class_NSURLProtocol, + _sel_canonicalRequestForRequest_, request.pointer); + return NSURLRequest._(_ret, retain: true, release: true); } static bool requestIsCacheEquivalent_toRequest_( - SwiftLibrary _lib, - NSURLRequest a, - NSURLRequest b, - ) { - return _lib._objc_msgSend_1015( - _lib._class_NSURLProtocol1, - _lib._sel_requestIsCacheEquivalent_toRequest_1, - a.pointer, - b.pointer, - ); + NSURLRequest a, NSURLRequest b) { + return _objc_msgSend_1015(_class_NSURLProtocol, + _sel_requestIsCacheEquivalent_toRequest_, a.pointer, b.pointer); } void startLoading() { - _lib._objc_msgSend_1(this.pointer, _lib._sel_startLoading1); + _objc_msgSend_1(this.pointer, _sel_startLoading); } void stopLoading() { - _lib._objc_msgSend_1(this.pointer, _lib._sel_stopLoading1); + _objc_msgSend_1(this.pointer, _sel_stopLoading); } static NSObject? propertyForKey_inRequest_( - SwiftLibrary _lib, - NSString key, - NSURLRequest request, - ) { - final _ret = _lib._objc_msgSend_1016( - _lib._class_NSURLProtocol1, - _lib._sel_propertyForKey_inRequest_1, - key.pointer, - request.pointer, - ); + NSString key, NSURLRequest request) { + final _ret = _objc_msgSend_1016(_class_NSURLProtocol, + _sel_propertyForKey_inRequest_, key.pointer, request.pointer); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } static void setProperty_forKey_inRequest_( - SwiftLibrary _lib, - NSObject value, - NSString key, - NSMutableURLRequest request, - ) { - _lib._objc_msgSend_1023( - _lib._class_NSURLProtocol1, - _lib._sel_setProperty_forKey_inRequest_1, - value.pointer, - key.pointer, - request.pointer, - ); + NSObject value, NSString key, NSMutableURLRequest request) { + _objc_msgSend_1023(_class_NSURLProtocol, _sel_setProperty_forKey_inRequest_, + value.pointer, key.pointer, request.pointer); } static void removePropertyForKey_inRequest_( - SwiftLibrary _lib, - NSString key, - NSMutableURLRequest request, - ) { - _lib._objc_msgSend_1024( - _lib._class_NSURLProtocol1, - _lib._sel_removePropertyForKey_inRequest_1, - key.pointer, - request.pointer, - ); - } - - static bool registerClass_(SwiftLibrary _lib, NSObject protocolClass) { - return _lib._objc_msgSend_0( - _lib._class_NSURLProtocol1, - _lib._sel_registerClass_1, - protocolClass.pointer, - ); - } - - static void unregisterClass_(SwiftLibrary _lib, NSObject protocolClass) { - _lib._objc_msgSend_15( - _lib._class_NSURLProtocol1, - _lib._sel_unregisterClass_1, - protocolClass.pointer, - ); - } - - static bool canInitWithTask_(SwiftLibrary _lib, NSURLSessionTask task) { - return _lib._objc_msgSend_1025( - _lib._class_NSURLProtocol1, - _lib._sel_canInitWithTask_1, - task.pointer, - ); - } - - NSURLProtocol initWithTask_cachedResponse_client_( - NSURLSessionTask task, - NSCachedURLResponse? cachedResponse, - NSObject? client, - ) { - final _ret = _lib._objc_msgSend_1026( - this.pointer, - _lib._sel_initWithTask_cachedResponse_client_1, - task.pointer, - cachedResponse?.pointer ?? ffi.nullptr, - client?.pointer ?? ffi.nullptr, - ); - return NSURLProtocol._(_ret, _lib, retain: true, release: true); + NSString key, NSMutableURLRequest request) { + _objc_msgSend_1024(_class_NSURLProtocol, + _sel_removePropertyForKey_inRequest_, key.pointer, request.pointer); + } + + static bool registerClass_(NSObject protocolClass) { + return _objc_msgSend_0( + _class_NSURLProtocol, _sel_registerClass_, protocolClass.pointer); + } + + static void unregisterClass_(NSObject protocolClass) { + _objc_msgSend_15( + _class_NSURLProtocol, _sel_unregisterClass_, protocolClass.pointer); + } + + static bool canInitWithTask_(NSURLSessionTask task) { + return _objc_msgSend_1025( + _class_NSURLProtocol, _sel_canInitWithTask_, task.pointer); + } + + NSURLProtocol initWithTask_cachedResponse_client_(NSURLSessionTask task, + NSCachedURLResponse? cachedResponse, NSObject? client) { + final _ret = _objc_msgSend_1026( + this.pointer, + _sel_initWithTask_cachedResponse_client_, + task.pointer, + cachedResponse?.pointer ?? ffi.nullptr, + client?.pointer ?? ffi.nullptr); + return NSURLProtocol._(_ret, retain: true, release: true); } NSURLSessionTask? get task { - final _ret = _lib._objc_msgSend_1027(this.pointer, _lib._sel_task1); + final _ret = _objc_msgSend_1027(this.pointer, _sel_task); return _ret.address == 0 ? null - : NSURLSessionTask._(_ret, _lib, retain: true, release: true); + : NSURLSessionTask._(_ret, retain: true, release: true); } @override NSURLProtocol init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSURLProtocol._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSURLProtocol._(_ret, retain: true, release: true); } - static NSURLProtocol new1(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLProtocol1, - _lib._sel_new1, - ); - return NSURLProtocol._(_ret, _lib, retain: false, release: true); + static NSURLProtocol new1() { + final _ret = _objc_msgSend_2(_class_NSURLProtocol, _sel_new); + return NSURLProtocol._(_ret, retain: false, release: true); } - static NSURLProtocol allocWithZone_( - SwiftLibrary _lib, - ffi.Pointer<_NSZone> zone, - ) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSURLProtocol1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSURLProtocol._(_ret, _lib, retain: false, release: true); + static NSURLProtocol allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = + _objc_msgSend_3(_class_NSURLProtocol, _sel_allocWithZone_, zone); + return NSURLProtocol._(_ret, retain: false, release: true); } - static NSURLProtocol alloc(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLProtocol1, - _lib._sel_alloc1, - ); - return NSURLProtocol._(_ret, _lib, retain: false, release: true); + static NSURLProtocol alloc() { + final _ret = _objc_msgSend_2(_class_NSURLProtocol, _sel_alloc); + return NSURLProtocol._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSURLProtocol1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSURLProtocol1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSURLProtocol1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSURLProtocol1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSURLProtocol1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSURLProtocol1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSURLProtocol, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); } - static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSURLProtocol1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSURLProtocol1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLProtocol1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSURLProtocol, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); + } + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSURLProtocol, _sel_accessInstanceVariablesDirectly); } -} + + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSURLProtocol, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSURLProtocol, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSURLProtocol, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); + } + + static void setKeys_triggerChangeNotificationsForDependentKey_( + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSURLProtocol, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = _objc_msgSend_85( + _class_NSURLProtocol, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = + _objc_msgSend_2(_class_NSURLProtocol, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); + } +} + +late final _class_NSURLProtocol = objc.getClass("NSURLProtocol"); +late final _sel_initWithRequest_cachedResponse_client_ = + objc.registerName("initWithRequest:cachedResponse:client:"); +final _objc_msgSend_1012 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer request, + ffi.Pointer cachedResponse, + ffi.Pointer client)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_client = objc.registerName("client"); +late final _sel_request = objc.registerName("request"); +late final _sel_cachedResponse = objc.registerName("cachedResponse"); +final _objc_msgSend_1013 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_canInitWithRequest_ = objc.registerName("canInitWithRequest:"); +late final _sel_canonicalRequestForRequest_ = + objc.registerName("canonicalRequestForRequest:"); +final _objc_msgSend_1014 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer request)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_requestIsCacheEquivalent_toRequest_ = + objc.registerName("requestIsCacheEquivalent:toRequest:"); +final _objc_msgSend_1015 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer a, + ffi.Pointer b)>>() + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_startLoading = objc.registerName("startLoading"); +late final _sel_stopLoading = objc.registerName("stopLoading"); +late final _sel_propertyForKey_inRequest_ = + objc.registerName("propertyForKey:inRequest:"); +final _objc_msgSend_1016 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer key, + ffi.Pointer request)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); class NSMutableURLRequest extends NSURLRequest { - NSMutableURLRequest._( - ffi.Pointer pointer, - SwiftLibrary lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSMutableURLRequest._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSMutableURLRequest] that points to the same underlying object as [other]. - static NSMutableURLRequest castFrom( - SwiftLibrary lib, - T other, - ) { - return NSMutableURLRequest._( - other.pointer, - lib, - retain: true, - release: true, - ); + static NSMutableURLRequest castFrom(T other) { + return NSMutableURLRequest._(other.pointer, retain: true, release: true); } /// Returns a [NSMutableURLRequest] that wraps the given raw object pointer. - static NSMutableURLRequest castFromPointer( - SwiftLibrary lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSMutableURLRequest._(other, lib, retain: retain, release: release); + static NSMutableURLRequest castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSMutableURLRequest._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSMutableURLRequest]. - static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSMutableURLRequest1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0( + obj.pointer, _sel_isKindOfClass_, _class_NSMutableURLRequest); } @override NSURL? get URL { - final _ret = _lib._objc_msgSend_45(this.pointer, _lib._sel_URL1); + final _ret = _objc_msgSend_45(this.pointer, _sel_URL); return _ret.address == 0 ? null - : NSURL._(_ret, _lib, retain: true, release: true); + : NSURL._(_ret, retain: true, release: true); } set URL(NSURL? value) { - return _lib._objc_msgSend_671( - this.pointer, - _lib._sel_setURL_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_671( + this.pointer, _sel_setURL_, value?.pointer ?? ffi.nullptr); } @override int get cachePolicy { - return _lib._objc_msgSend_859(this.pointer, _lib._sel_cachePolicy1); + return _objc_msgSend_859(this.pointer, _sel_cachePolicy); } set cachePolicy(int value) { - return _lib._objc_msgSend_1017( - this.pointer, - _lib._sel_setCachePolicy_1, - value, - ); + return _objc_msgSend_1017(this.pointer, _sel_setCachePolicy_, value); } @override double get timeoutInterval { return objc.useMsgSendVariants - ? _lib._objc_msgSend_165_fpret(this.pointer, _lib._sel_timeoutInterval1) - : _lib._objc_msgSend_165(this.pointer, _lib._sel_timeoutInterval1); + ? _objc_msgSend_165Fpret(this.pointer, _sel_timeoutInterval) + : _objc_msgSend_165(this.pointer, _sel_timeoutInterval); } set timeoutInterval(double value) { - return _lib._objc_msgSend_542( - this.pointer, - _lib._sel_setTimeoutInterval_1, - value, - ); + return _objc_msgSend_542(this.pointer, _sel_setTimeoutInterval_, value); } @override NSURL? get mainDocumentURL { - final _ret = _lib._objc_msgSend_45( - this.pointer, - _lib._sel_mainDocumentURL1, - ); + final _ret = _objc_msgSend_45(this.pointer, _sel_mainDocumentURL); return _ret.address == 0 ? null - : NSURL._(_ret, _lib, retain: true, release: true); + : NSURL._(_ret, retain: true, release: true); } set mainDocumentURL(NSURL? value) { - return _lib._objc_msgSend_671( - this.pointer, - _lib._sel_setMainDocumentURL_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_671( + this.pointer, _sel_setMainDocumentURL_, value?.pointer ?? ffi.nullptr); } @override int get networkServiceType { - return _lib._objc_msgSend_860(this.pointer, _lib._sel_networkServiceType1); + return _objc_msgSend_860(this.pointer, _sel_networkServiceType); } set networkServiceType(int value) { - return _lib._objc_msgSend_1018( - this.pointer, - _lib._sel_setNetworkServiceType_1, - value, - ); + return _objc_msgSend_1018(this.pointer, _sel_setNetworkServiceType_, value); } @override bool get allowsCellularAccess { - return _lib._objc_msgSend_12(this.pointer, _lib._sel_allowsCellularAccess1); + return _objc_msgSend_12(this.pointer, _sel_allowsCellularAccess); } set allowsCellularAccess(bool value) { - return _lib._objc_msgSend_527( - this.pointer, - _lib._sel_setAllowsCellularAccess_1, - value, - ); + return _objc_msgSend_527( + this.pointer, _sel_setAllowsCellularAccess_, value); } @override bool get allowsExpensiveNetworkAccess { - return _lib._objc_msgSend_12( - this.pointer, - _lib._sel_allowsExpensiveNetworkAccess1, - ); + return _objc_msgSend_12(this.pointer, _sel_allowsExpensiveNetworkAccess); } set allowsExpensiveNetworkAccess(bool value) { - return _lib._objc_msgSend_527( - this.pointer, - _lib._sel_setAllowsExpensiveNetworkAccess_1, - value, - ); + return _objc_msgSend_527( + this.pointer, _sel_setAllowsExpensiveNetworkAccess_, value); } @override bool get allowsConstrainedNetworkAccess { - return _lib._objc_msgSend_12( - this.pointer, - _lib._sel_allowsConstrainedNetworkAccess1, - ); + return _objc_msgSend_12(this.pointer, _sel_allowsConstrainedNetworkAccess); } set allowsConstrainedNetworkAccess(bool value) { - return _lib._objc_msgSend_527( - this.pointer, - _lib._sel_setAllowsConstrainedNetworkAccess_1, - value, - ); + return _objc_msgSend_527( + this.pointer, _sel_setAllowsConstrainedNetworkAccess_, value); } @override bool get assumesHTTP3Capable { - return _lib._objc_msgSend_12(this.pointer, _lib._sel_assumesHTTP3Capable1); + return _objc_msgSend_12(this.pointer, _sel_assumesHTTP3Capable); } set assumesHTTP3Capable(bool value) { - return _lib._objc_msgSend_527( - this.pointer, - _lib._sel_setAssumesHTTP3Capable_1, - value, - ); + return _objc_msgSend_527(this.pointer, _sel_setAssumesHTTP3Capable_, value); } @override int get attribution { - return _lib._objc_msgSend_861(this.pointer, _lib._sel_attribution1); + return _objc_msgSend_861(this.pointer, _sel_attribution); } set attribution(int value) { - return _lib._objc_msgSend_1019( - this.pointer, - _lib._sel_setAttribution_1, - value, - ); + return _objc_msgSend_1019(this.pointer, _sel_setAttribution_, value); } @override bool get requiresDNSSECValidation { - return _lib._objc_msgSend_12( - this.pointer, - _lib._sel_requiresDNSSECValidation1, - ); + return _objc_msgSend_12(this.pointer, _sel_requiresDNSSECValidation); } set requiresDNSSECValidation(bool value) { - return _lib._objc_msgSend_527( - this.pointer, - _lib._sel_setRequiresDNSSECValidation_1, - value, - ); + return _objc_msgSend_527( + this.pointer, _sel_setRequiresDNSSECValidation_, value); } NSString get HTTPMethod { - final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_HTTPMethod1); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_HTTPMethod); + return NSString._(_ret, retain: true, release: true); } set HTTPMethod(NSString value) { - return _lib._objc_msgSend_646( - this.pointer, - _lib._sel_setHTTPMethod_1, - value.pointer, - ); + return _objc_msgSend_646(this.pointer, _sel_setHTTPMethod_, value.pointer); } @override NSDictionary? get allHTTPHeaderFields { - final _ret = _lib._objc_msgSend_390( - this.pointer, - _lib._sel_allHTTPHeaderFields1, - ); + final _ret = _objc_msgSend_390(this.pointer, _sel_allHTTPHeaderFields); return _ret.address == 0 ? null - : NSDictionary._(_ret, _lib, retain: true, release: true); + : NSDictionary._(_ret, retain: true, release: true); } set allHTTPHeaderFields(NSDictionary? value) { - return _lib._objc_msgSend_634( - this.pointer, - _lib._sel_setAllHTTPHeaderFields_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_634(this.pointer, _sel_setAllHTTPHeaderFields_, + value?.pointer ?? ffi.nullptr); } void setValue_forHTTPHeaderField_(NSString? value, NSString field) { - _lib._objc_msgSend_1020( - this.pointer, - _lib._sel_setValue_forHTTPHeaderField_1, - value?.pointer ?? ffi.nullptr, - field.pointer, - ); + _objc_msgSend_1020(this.pointer, _sel_setValue_forHTTPHeaderField_, + value?.pointer ?? ffi.nullptr, field.pointer); } void addValue_forHTTPHeaderField_(NSString value, NSString field) { - _lib._objc_msgSend_551( - this.pointer, - _lib._sel_addValue_forHTTPHeaderField_1, - value.pointer, - field.pointer, - ); + _objc_msgSend_551(this.pointer, _sel_addValue_forHTTPHeaderField_, + value.pointer, field.pointer); } @override NSData? get HTTPBody { - final _ret = _lib._objc_msgSend_286(this.pointer, _lib._sel_HTTPBody1); + final _ret = _objc_msgSend_286(this.pointer, _sel_HTTPBody); return _ret.address == 0 ? null - : NSData._(_ret, _lib, retain: true, release: true); + : NSData._(_ret, retain: true, release: true); } set HTTPBody(NSData? value) { - return _lib._objc_msgSend_1021( - this.pointer, - _lib._sel_setHTTPBody_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_1021( + this.pointer, _sel_setHTTPBody_, value?.pointer ?? ffi.nullptr); } @override NSInputStream? get HTTPBodyStream { - final _ret = _lib._objc_msgSend_875( - this.pointer, - _lib._sel_HTTPBodyStream1, - ); + final _ret = _objc_msgSend_875(this.pointer, _sel_HTTPBodyStream); return _ret.address == 0 ? null - : NSInputStream._(_ret, _lib, retain: true, release: true); + : NSInputStream._(_ret, retain: true, release: true); } set HTTPBodyStream(NSInputStream? value) { - return _lib._objc_msgSend_1022( - this.pointer, - _lib._sel_setHTTPBodyStream_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_1022( + this.pointer, _sel_setHTTPBodyStream_, value?.pointer ?? ffi.nullptr); } @override bool get HTTPShouldHandleCookies { - return _lib._objc_msgSend_12( - this.pointer, - _lib._sel_HTTPShouldHandleCookies1, - ); + return _objc_msgSend_12(this.pointer, _sel_HTTPShouldHandleCookies); } set HTTPShouldHandleCookies(bool value) { - return _lib._objc_msgSend_527( - this.pointer, - _lib._sel_setHTTPShouldHandleCookies_1, - value, - ); + return _objc_msgSend_527( + this.pointer, _sel_setHTTPShouldHandleCookies_, value); } @override bool get HTTPShouldUsePipelining { - return _lib._objc_msgSend_12( - this.pointer, - _lib._sel_HTTPShouldUsePipelining1, - ); + return _objc_msgSend_12(this.pointer, _sel_HTTPShouldUsePipelining); } set HTTPShouldUsePipelining(bool value) { - return _lib._objc_msgSend_527( - this.pointer, - _lib._sel_setHTTPShouldUsePipelining_1, - value, - ); + return _objc_msgSend_527( + this.pointer, _sel_setHTTPShouldUsePipelining_, value); } - static NSMutableURLRequest requestWithURL_(SwiftLibrary _lib, NSURL URL) { - final _ret = _lib._objc_msgSend_262( - _lib._class_NSMutableURLRequest1, - _lib._sel_requestWithURL_1, - URL.pointer, - ); - return NSMutableURLRequest._(_ret, _lib, retain: true, release: true); + static NSMutableURLRequest requestWithURL_(NSURL URL) { + final _ret = _objc_msgSend_262( + _class_NSMutableURLRequest, _sel_requestWithURL_, URL.pointer); + return NSMutableURLRequest._(_ret, retain: true, release: true); } - static bool getSupportsSecureCoding(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSMutableURLRequest1, - _lib._sel_supportsSecureCoding1, - ); + static bool getSupportsSecureCoding() { + return _objc_msgSend_12( + _class_NSMutableURLRequest, _sel_supportsSecureCoding); } static NSMutableURLRequest requestWithURL_cachePolicy_timeoutInterval_( - SwiftLibrary _lib, - NSURL URL, - int cachePolicy, - double timeoutInterval, - ) { - final _ret = _lib._objc_msgSend_858( - _lib._class_NSMutableURLRequest1, - _lib._sel_requestWithURL_cachePolicy_timeoutInterval_1, - URL.pointer, - cachePolicy, - timeoutInterval, - ); - return NSMutableURLRequest._(_ret, _lib, retain: true, release: true); + NSURL URL, int cachePolicy, double timeoutInterval) { + final _ret = _objc_msgSend_858( + _class_NSMutableURLRequest, + _sel_requestWithURL_cachePolicy_timeoutInterval_, + URL.pointer, + cachePolicy, + timeoutInterval); + return NSMutableURLRequest._(_ret, retain: true, release: true); } @override NSMutableURLRequest initWithURL_(NSURL URL) { - final _ret = _lib._objc_msgSend_262( - this.pointer, - _lib._sel_initWithURL_1, - URL.pointer, - ); - return NSMutableURLRequest._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_262(this.pointer, _sel_initWithURL_, URL.pointer); + return NSMutableURLRequest._(_ret, retain: true, release: true); } @override NSMutableURLRequest initWithURL_cachePolicy_timeoutInterval_( - NSURL URL, - int cachePolicy, - double timeoutInterval, - ) { - final _ret = _lib._objc_msgSend_858( - this.pointer, - _lib._sel_initWithURL_cachePolicy_timeoutInterval_1, - URL.pointer, - cachePolicy, - timeoutInterval, - ); - return NSMutableURLRequest._(_ret, _lib, retain: true, release: true); + NSURL URL, int cachePolicy, double timeoutInterval) { + final _ret = _objc_msgSend_858( + this.pointer, + _sel_initWithURL_cachePolicy_timeoutInterval_, + URL.pointer, + cachePolicy, + timeoutInterval); + return NSMutableURLRequest._(_ret, retain: true, release: true); } @override NSMutableURLRequest init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSMutableURLRequest._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSMutableURLRequest._(_ret, retain: true, release: true); } - static NSMutableURLRequest new1(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSMutableURLRequest1, - _lib._sel_new1, - ); - return NSMutableURLRequest._(_ret, _lib, retain: false, release: true); + static NSMutableURLRequest new1() { + final _ret = _objc_msgSend_2(_class_NSMutableURLRequest, _sel_new); + return NSMutableURLRequest._(_ret, retain: false, release: true); } - static NSMutableURLRequest allocWithZone_( - SwiftLibrary _lib, - ffi.Pointer<_NSZone> zone, - ) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSMutableURLRequest1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSMutableURLRequest._(_ret, _lib, retain: false, release: true); + static NSMutableURLRequest allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = + _objc_msgSend_3(_class_NSMutableURLRequest, _sel_allocWithZone_, zone); + return NSMutableURLRequest._(_ret, retain: false, release: true); } - static NSMutableURLRequest alloc(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSMutableURLRequest1, - _lib._sel_alloc1, - ); - return NSMutableURLRequest._(_ret, _lib, retain: false, release: true); + static NSMutableURLRequest alloc() { + final _ret = _objc_msgSend_2(_class_NSMutableURLRequest, _sel_alloc); + return NSMutableURLRequest._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSMutableURLRequest1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSMutableURLRequest1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSMutableURLRequest1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSMutableURLRequest1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSMutableURLRequest1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSMutableURLRequest1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSMutableURLRequest, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); } - static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSMutableURLRequest1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSMutableURLRequest1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSMutableURLRequest1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSMutableURLRequest, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); } -} + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSMutableURLRequest, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSMutableURLRequest, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSMutableURLRequest, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSMutableURLRequest, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); + } + + static void setKeys_triggerChangeNotificationsForDependentKey_( + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSMutableURLRequest, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = _objc_msgSend_85( + _class_NSMutableURLRequest, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = _objc_msgSend_2( + _class_NSMutableURLRequest, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); + } +} + +late final _class_NSMutableURLRequest = objc.getClass("NSMutableURLRequest"); +late final _sel_setURL_ = objc.registerName("setURL:"); +late final _sel_setCachePolicy_ = objc.registerName("setCachePolicy:"); +final _objc_msgSend_1017 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer obj, + ffi.Pointer sel, ffi.Int32 value)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, int)>(); +late final _sel_setTimeoutInterval_ = objc.registerName("setTimeoutInterval:"); +late final _sel_setMainDocumentURL_ = objc.registerName("setMainDocumentURL:"); +late final _sel_setNetworkServiceType_ = + objc.registerName("setNetworkServiceType:"); +final _objc_msgSend_1018 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer obj, + ffi.Pointer sel, ffi.Int32 value)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, int)>(); +late final _sel_setAllowsCellularAccess_ = + objc.registerName("setAllowsCellularAccess:"); +late final _sel_setAllowsExpensiveNetworkAccess_ = + objc.registerName("setAllowsExpensiveNetworkAccess:"); +late final _sel_setAllowsConstrainedNetworkAccess_ = + objc.registerName("setAllowsConstrainedNetworkAccess:"); +late final _sel_setAssumesHTTP3Capable_ = + objc.registerName("setAssumesHTTP3Capable:"); +late final _sel_setAttribution_ = objc.registerName("setAttribution:"); +final _objc_msgSend_1019 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer obj, + ffi.Pointer sel, ffi.Int32 value)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, int)>(); +late final _sel_setRequiresDNSSECValidation_ = + objc.registerName("setRequiresDNSSECValidation:"); +late final _sel_setHTTPMethod_ = objc.registerName("setHTTPMethod:"); +late final _sel_setAllHTTPHeaderFields_ = + objc.registerName("setAllHTTPHeaderFields:"); +late final _sel_setValue_forHTTPHeaderField_ = + objc.registerName("setValue:forHTTPHeaderField:"); +final _objc_msgSend_1020 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value, + ffi.Pointer field)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_addValue_forHTTPHeaderField_ = + objc.registerName("addValue:forHTTPHeaderField:"); +late final _sel_setHTTPBody_ = objc.registerName("setHTTPBody:"); +final _objc_msgSend_1021 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_setHTTPBodyStream_ = objc.registerName("setHTTPBodyStream:"); +final _objc_msgSend_1022 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_setHTTPShouldHandleCookies_ = + objc.registerName("setHTTPShouldHandleCookies:"); +late final _sel_setHTTPShouldUsePipelining_ = + objc.registerName("setHTTPShouldUsePipelining:"); +late final _sel_setProperty_forKey_inRequest_ = + objc.registerName("setProperty:forKey:inRequest:"); +final _objc_msgSend_1023 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value, + ffi.Pointer key, + ffi.Pointer request)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_removePropertyForKey_inRequest_ = + objc.registerName("removePropertyForKey:inRequest:"); +final _objc_msgSend_1024 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer key, + ffi.Pointer request)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_registerClass_ = objc.registerName("registerClass:"); +late final _sel_unregisterClass_ = objc.registerName("unregisterClass:"); +late final _sel_canInitWithTask_ = objc.registerName("canInitWithTask:"); +final _objc_msgSend_1025 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer task)>>() + .asFunction< + bool Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_initWithTask_cachedResponse_client_ = + objc.registerName("initWithTask:cachedResponse:client:"); +final _objc_msgSend_1026 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer task, + ffi.Pointer cachedResponse, + ffi.Pointer client)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_task = objc.registerName("task"); +final _objc_msgSend_1027 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); class NSXMLParser extends NSObject { - NSXMLParser._( - ffi.Pointer pointer, - SwiftLibrary lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSXMLParser._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSXMLParser] that points to the same underlying object as [other]. - static NSXMLParser castFrom( - SwiftLibrary lib, - T other, - ) { - return NSXMLParser._(other.pointer, lib, retain: true, release: true); + static NSXMLParser castFrom(T other) { + return NSXMLParser._(other.pointer, retain: true, release: true); } /// Returns a [NSXMLParser] that wraps the given raw object pointer. - static NSXMLParser castFromPointer( - SwiftLibrary lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSXMLParser._(other, lib, retain: retain, release: release); + static NSXMLParser castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSXMLParser._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSXMLParser]. - static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSXMLParser1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0( + obj.pointer, _sel_isKindOfClass_, _class_NSXMLParser); } NSXMLParser? initWithContentsOfURL_(NSURL url) { - final _ret = _lib._objc_msgSend_277( - this.pointer, - _lib._sel_initWithContentsOfURL_1, - url.pointer, - ); + final _ret = _objc_msgSend_277( + this.pointer, _sel_initWithContentsOfURL_, url.pointer); return _ret.address == 0 ? null - : NSXMLParser._(_ret, _lib, retain: true, release: true); + : NSXMLParser._(_ret, retain: true, release: true); } NSXMLParser initWithData_(NSData data) { - final _ret = _lib._objc_msgSend_279( - this.pointer, - _lib._sel_initWithData_1, - data.pointer, - ); - return NSXMLParser._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_279(this.pointer, _sel_initWithData_, data.pointer); + return NSXMLParser._(_ret, retain: true, release: true); } NSXMLParser initWithStream_(NSInputStream stream) { - final _ret = _lib._objc_msgSend_1028( - this.pointer, - _lib._sel_initWithStream_1, - stream.pointer, - ); - return NSXMLParser._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_1028(this.pointer, _sel_initWithStream_, stream.pointer); + return NSXMLParser._(_ret, retain: true, release: true); } NSObject? get delegate { - final _ret = _lib._objc_msgSend_17(this.pointer, _lib._sel_delegate1); + final _ret = _objc_msgSend_17(this.pointer, _sel_delegate); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } set delegate(NSObject? value) { - return _lib._objc_msgSend_416( - this.pointer, - _lib._sel_setDelegate_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_416( + this.pointer, _sel_setDelegate_, value?.pointer ?? ffi.nullptr); } bool get shouldProcessNamespaces { - return _lib._objc_msgSend_12( - this.pointer, - _lib._sel_shouldProcessNamespaces1, - ); + return _objc_msgSend_12(this.pointer, _sel_shouldProcessNamespaces); } set shouldProcessNamespaces(bool value) { - return _lib._objc_msgSend_527( - this.pointer, - _lib._sel_setShouldProcessNamespaces_1, - value, - ); + return _objc_msgSend_527( + this.pointer, _sel_setShouldProcessNamespaces_, value); } bool get shouldReportNamespacePrefixes { - return _lib._objc_msgSend_12( - this.pointer, - _lib._sel_shouldReportNamespacePrefixes1, - ); + return _objc_msgSend_12(this.pointer, _sel_shouldReportNamespacePrefixes); } set shouldReportNamespacePrefixes(bool value) { - return _lib._objc_msgSend_527( - this.pointer, - _lib._sel_setShouldReportNamespacePrefixes_1, - value, - ); + return _objc_msgSend_527( + this.pointer, _sel_setShouldReportNamespacePrefixes_, value); } int get externalEntityResolvingPolicy { - return _lib._objc_msgSend_1029( - this.pointer, - _lib._sel_externalEntityResolvingPolicy1, - ); + return _objc_msgSend_1029(this.pointer, _sel_externalEntityResolvingPolicy); } set externalEntityResolvingPolicy(int value) { - return _lib._objc_msgSend_1030( - this.pointer, - _lib._sel_setExternalEntityResolvingPolicy_1, - value, - ); + return _objc_msgSend_1030( + this.pointer, _sel_setExternalEntityResolvingPolicy_, value); } NSSet? get allowedExternalEntityURLs { - final _ret = _lib._objc_msgSend_319( - this.pointer, - _lib._sel_allowedExternalEntityURLs1, - ); + final _ret = + _objc_msgSend_319(this.pointer, _sel_allowedExternalEntityURLs); return _ret.address == 0 ? null - : NSSet._(_ret, _lib, retain: true, release: true); + : NSSet._(_ret, retain: true, release: true); } set allowedExternalEntityURLs(NSSet? value) { - return _lib._objc_msgSend_1031( - this.pointer, - _lib._sel_setAllowedExternalEntityURLs_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_1031(this.pointer, _sel_setAllowedExternalEntityURLs_, + value?.pointer ?? ffi.nullptr); } bool parse() { - return _lib._objc_msgSend_12(this.pointer, _lib._sel_parse1); + return _objc_msgSend_12(this.pointer, _sel_parse); } void abortParsing() { - _lib._objc_msgSend_1(this.pointer, _lib._sel_abortParsing1); + _objc_msgSend_1(this.pointer, _sel_abortParsing); } NSError? get parserError { - final _ret = _lib._objc_msgSend_322(this.pointer, _lib._sel_parserError1); + final _ret = _objc_msgSend_322(this.pointer, _sel_parserError); return _ret.address == 0 ? null - : NSError._(_ret, _lib, retain: true, release: true); + : NSError._(_ret, retain: true, release: true); } bool get shouldResolveExternalEntities { - return _lib._objc_msgSend_12( - this.pointer, - _lib._sel_shouldResolveExternalEntities1, - ); + return _objc_msgSend_12(this.pointer, _sel_shouldResolveExternalEntities); } set shouldResolveExternalEntities(bool value) { - return _lib._objc_msgSend_527( - this.pointer, - _lib._sel_setShouldResolveExternalEntities_1, - value, - ); + return _objc_msgSend_527( + this.pointer, _sel_setShouldResolveExternalEntities_, value); } NSString? get publicID { - final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_publicID1); + final _ret = _objc_msgSend_44(this.pointer, _sel_publicID); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } NSString? get systemID { - final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_systemID1); + final _ret = _objc_msgSend_44(this.pointer, _sel_systemID); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } int get lineNumber { - return _lib._objc_msgSend_83(this.pointer, _lib._sel_lineNumber1); + return _objc_msgSend_83(this.pointer, _sel_lineNumber); } int get columnNumber { - return _lib._objc_msgSend_83(this.pointer, _lib._sel_columnNumber1); + return _objc_msgSend_83(this.pointer, _sel_columnNumber); } @override NSXMLParser init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSXMLParser._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSXMLParser._(_ret, retain: true, release: true); } - static NSXMLParser new1(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2(_lib._class_NSXMLParser1, _lib._sel_new1); - return NSXMLParser._(_ret, _lib, retain: false, release: true); + static NSXMLParser new1() { + final _ret = _objc_msgSend_2(_class_NSXMLParser, _sel_new); + return NSXMLParser._(_ret, retain: false, release: true); } - static NSXMLParser allocWithZone_( - SwiftLibrary _lib, - ffi.Pointer<_NSZone> zone, - ) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSXMLParser1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSXMLParser._(_ret, _lib, retain: false, release: true); + static NSXMLParser allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = _objc_msgSend_3(_class_NSXMLParser, _sel_allocWithZone_, zone); + return NSXMLParser._(_ret, retain: false, release: true); } - static NSXMLParser alloc(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSXMLParser1, - _lib._sel_alloc1, - ); - return NSXMLParser._(_ret, _lib, retain: false, release: true); + static NSXMLParser alloc() { + final _ret = _objc_msgSend_2(_class_NSXMLParser, _sel_alloc); + return NSXMLParser._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSXMLParser1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSXMLParser1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSXMLParser1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSXMLParser1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSXMLParser1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSXMLParser1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSXMLParser, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); } - static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSXMLParser1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSXMLParser1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSXMLParser1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSXMLParser, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); + } + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSXMLParser, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSXMLParser, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSXMLParser, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); } -} + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSXMLParser, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); + } + + static void setKeys_triggerChangeNotificationsForDependentKey_( + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSXMLParser, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = _objc_msgSend_85( + _class_NSXMLParser, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = + _objc_msgSend_2(_class_NSXMLParser, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); + } +} + +late final _class_NSXMLParser = objc.getClass("NSXMLParser"); +late final _sel_initWithStream_ = objc.registerName("initWithStream:"); +final _objc_msgSend_1028 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer stream)>>() + .asFunction< + instancetype Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_shouldProcessNamespaces = + objc.registerName("shouldProcessNamespaces"); +late final _sel_setShouldProcessNamespaces_ = + objc.registerName("setShouldProcessNamespaces:"); +late final _sel_shouldReportNamespacePrefixes = + objc.registerName("shouldReportNamespacePrefixes"); +late final _sel_setShouldReportNamespacePrefixes_ = + objc.registerName("setShouldReportNamespacePrefixes:"); abstract class NSXMLParserExternalEntityResolvingPolicy { static const int NSXMLParserResolveExternalEntitiesNever = 0; @@ -85846,1703 +52000,1413 @@ abstract class NSXMLParserExternalEntityResolvingPolicy { static const int NSXMLParserResolveExternalEntitiesAlways = 3; } +late final _sel_externalEntityResolvingPolicy = + objc.registerName("externalEntityResolvingPolicy"); +final _objc_msgSend_1029 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + int Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_setExternalEntityResolvingPolicy_ = + objc.registerName("setExternalEntityResolvingPolicy:"); +final _objc_msgSend_1030 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer obj, + ffi.Pointer sel, ffi.Int32 value)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, int)>(); +late final _sel_allowedExternalEntityURLs = + objc.registerName("allowedExternalEntityURLs"); +late final _sel_setAllowedExternalEntityURLs_ = + objc.registerName("setAllowedExternalEntityURLs:"); +final _objc_msgSend_1031 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_parse = objc.registerName("parse"); +late final _sel_abortParsing = objc.registerName("abortParsing"); +late final _sel_parserError = objc.registerName("parserError"); +late final _sel_shouldResolveExternalEntities = + objc.registerName("shouldResolveExternalEntities"); +late final _sel_setShouldResolveExternalEntities_ = + objc.registerName("setShouldResolveExternalEntities:"); +late final _sel_publicID = objc.registerName("publicID"); +late final _sel_systemID = objc.registerName("systemID"); +late final _sel_lineNumber = objc.registerName("lineNumber"); +late final _sel_columnNumber = objc.registerName("columnNumber"); + class NSFileWrapper extends NSObject { - NSFileWrapper._( - ffi.Pointer pointer, - SwiftLibrary lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSFileWrapper._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSFileWrapper] that points to the same underlying object as [other]. - static NSFileWrapper castFrom( - SwiftLibrary lib, - T other, - ) { - return NSFileWrapper._(other.pointer, lib, retain: true, release: true); + static NSFileWrapper castFrom(T other) { + return NSFileWrapper._(other.pointer, retain: true, release: true); } /// Returns a [NSFileWrapper] that wraps the given raw object pointer. - static NSFileWrapper castFromPointer( - SwiftLibrary lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSFileWrapper._(other, lib, retain: retain, release: release); + static NSFileWrapper castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSFileWrapper._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSFileWrapper]. - static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSFileWrapper1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0( + obj.pointer, _sel_isKindOfClass_, _class_NSFileWrapper); } - NSFileWrapper? initWithURL_options_error_( - NSURL url, - int options, - ffi.Pointer> outError, - ) { - final _ret = _lib._objc_msgSend_1032( - this.pointer, - _lib._sel_initWithURL_options_error_1, - url.pointer, - options, - outError, - ); + NSFileWrapper? initWithURL_options_error_(NSURL url, int options, + ffi.Pointer> outError) { + final _ret = _objc_msgSend_1032(this.pointer, + _sel_initWithURL_options_error_, url.pointer, options, outError); return _ret.address == 0 ? null - : NSFileWrapper._(_ret, _lib, retain: true, release: true); + : NSFileWrapper._(_ret, retain: true, release: true); } NSFileWrapper initDirectoryWithFileWrappers_( - NSDictionary childrenByPreferredName, - ) { - final _ret = _lib._objc_msgSend_159( - this.pointer, - _lib._sel_initDirectoryWithFileWrappers_1, - childrenByPreferredName.pointer, - ); - return NSFileWrapper._(_ret, _lib, retain: true, release: true); + NSDictionary childrenByPreferredName) { + final _ret = _objc_msgSend_159(this.pointer, + _sel_initDirectoryWithFileWrappers_, childrenByPreferredName.pointer); + return NSFileWrapper._(_ret, retain: true, release: true); } NSFileWrapper initRegularFileWithContents_(NSData contents) { - final _ret = _lib._objc_msgSend_279( - this.pointer, - _lib._sel_initRegularFileWithContents_1, - contents.pointer, - ); - return NSFileWrapper._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_279( + this.pointer, _sel_initRegularFileWithContents_, contents.pointer); + return NSFileWrapper._(_ret, retain: true, release: true); } NSFileWrapper initSymbolicLinkWithDestinationURL_(NSURL url) { - final _ret = _lib._objc_msgSend_262( - this.pointer, - _lib._sel_initSymbolicLinkWithDestinationURL_1, - url.pointer, - ); - return NSFileWrapper._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_262( + this.pointer, _sel_initSymbolicLinkWithDestinationURL_, url.pointer); + return NSFileWrapper._(_ret, retain: true, release: true); } NSFileWrapper? initWithSerializedRepresentation_( - NSData serializeRepresentation, - ) { - final _ret = _lib._objc_msgSend_874( - this.pointer, - _lib._sel_initWithSerializedRepresentation_1, - serializeRepresentation.pointer, - ); + NSData serializeRepresentation) { + final _ret = _objc_msgSend_874( + this.pointer, + _sel_initWithSerializedRepresentation_, + serializeRepresentation.pointer); return _ret.address == 0 ? null - : NSFileWrapper._(_ret, _lib, retain: true, release: true); + : NSFileWrapper._(_ret, retain: true, release: true); } NSFileWrapper? initWithCoder_(NSCoder inCoder) { - final _ret = _lib._objc_msgSend_47( - this.pointer, - _lib._sel_initWithCoder_1, - inCoder.pointer, - ); + final _ret = + _objc_msgSend_47(this.pointer, _sel_initWithCoder_, inCoder.pointer); return _ret.address == 0 ? null - : NSFileWrapper._(_ret, _lib, retain: true, release: true); + : NSFileWrapper._(_ret, retain: true, release: true); } bool get directory { - return _lib._objc_msgSend_12(this.pointer, _lib._sel_isDirectory1); + return _objc_msgSend_12(this.pointer, _sel_isDirectory); } bool get regularFile { - return _lib._objc_msgSend_12(this.pointer, _lib._sel_isRegularFile1); + return _objc_msgSend_12(this.pointer, _sel_isRegularFile); } bool get symbolicLink { - return _lib._objc_msgSend_12(this.pointer, _lib._sel_isSymbolicLink1); + return _objc_msgSend_12(this.pointer, _sel_isSymbolicLink); } NSString? get preferredFilename { - final _ret = _lib._objc_msgSend_44( - this.pointer, - _lib._sel_preferredFilename1, - ); + final _ret = _objc_msgSend_44(this.pointer, _sel_preferredFilename); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } set preferredFilename(NSString? value) { - return _lib._objc_msgSend_545( - this.pointer, - _lib._sel_setPreferredFilename_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_545(this.pointer, _sel_setPreferredFilename_, + value?.pointer ?? ffi.nullptr); } NSString? get filename { - final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_filename1); + final _ret = _objc_msgSend_44(this.pointer, _sel_filename); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } set filename(NSString? value) { - return _lib._objc_msgSend_545( - this.pointer, - _lib._sel_setFilename_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_545( + this.pointer, _sel_setFilename_, value?.pointer ?? ffi.nullptr); } NSDictionary get fileAttributes { - final _ret = _lib._objc_msgSend_181( - this.pointer, - _lib._sel_fileAttributes1, - ); - return NSDictionary._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_181(this.pointer, _sel_fileAttributes); + return NSDictionary._(_ret, retain: true, release: true); } set fileAttributes(NSDictionary value) { - return _lib._objc_msgSend_182( - this.pointer, - _lib._sel_setFileAttributes_1, - value.pointer, - ); + return _objc_msgSend_182( + this.pointer, _sel_setFileAttributes_, value.pointer); } bool matchesContentsOfURL_(NSURL url) { - return _lib._objc_msgSend_265( - this.pointer, - _lib._sel_matchesContentsOfURL_1, - url.pointer, - ); - } - - bool readFromURL_options_error_( - NSURL url, - int options, - ffi.Pointer> outError, - ) { - return _lib._objc_msgSend_1033( - this.pointer, - _lib._sel_readFromURL_options_error_1, - url.pointer, - options, - outError, - ); + return _objc_msgSend_265( + this.pointer, _sel_matchesContentsOfURL_, url.pointer); + } + + bool readFromURL_options_error_(NSURL url, int options, + ffi.Pointer> outError) { + return _objc_msgSend_1033(this.pointer, _sel_readFromURL_options_error_, + url.pointer, options, outError); } bool writeToURL_options_originalContentsURL_error_( - NSURL url, - int options, - NSURL? originalContentsURL, - ffi.Pointer> outError, - ) { - return _lib._objc_msgSend_1034( - this.pointer, - _lib._sel_writeToURL_options_originalContentsURL_error_1, - url.pointer, - options, - originalContentsURL?.pointer ?? ffi.nullptr, - outError, - ); + NSURL url, + int options, + NSURL? originalContentsURL, + ffi.Pointer> outError) { + return _objc_msgSend_1034( + this.pointer, + _sel_writeToURL_options_originalContentsURL_error_, + url.pointer, + options, + originalContentsURL?.pointer ?? ffi.nullptr, + outError); } NSData? get serializedRepresentation { - final _ret = _lib._objc_msgSend_286( - this.pointer, - _lib._sel_serializedRepresentation1, - ); + final _ret = _objc_msgSend_286(this.pointer, _sel_serializedRepresentation); return _ret.address == 0 ? null - : NSData._(_ret, _lib, retain: true, release: true); + : NSData._(_ret, retain: true, release: true); } NSString addFileWrapper_(NSFileWrapper child) { - final _ret = _lib._objc_msgSend_1035( - this.pointer, - _lib._sel_addFileWrapper_1, - child.pointer, - ); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_1035(this.pointer, _sel_addFileWrapper_, child.pointer); + return NSString._(_ret, retain: true, release: true); } NSString addRegularFileWithContents_preferredFilename_( - NSData data, - NSString fileName, - ) { - final _ret = _lib._objc_msgSend_1036( - this.pointer, - _lib._sel_addRegularFileWithContents_preferredFilename_1, - data.pointer, - fileName.pointer, - ); - return NSString._(_ret, _lib, retain: true, release: true); + NSData data, NSString fileName) { + final _ret = _objc_msgSend_1036( + this.pointer, + _sel_addRegularFileWithContents_preferredFilename_, + data.pointer, + fileName.pointer); + return NSString._(_ret, retain: true, release: true); } void removeFileWrapper_(NSFileWrapper child) { - _lib._objc_msgSend_1037( - this.pointer, - _lib._sel_removeFileWrapper_1, - child.pointer, - ); + _objc_msgSend_1037(this.pointer, _sel_removeFileWrapper_, child.pointer); } NSDictionary? get fileWrappers { - final _ret = _lib._objc_msgSend_390(this.pointer, _lib._sel_fileWrappers1); + final _ret = _objc_msgSend_390(this.pointer, _sel_fileWrappers); return _ret.address == 0 ? null - : NSDictionary._(_ret, _lib, retain: true, release: true); + : NSDictionary._(_ret, retain: true, release: true); } NSString? keyForFileWrapper_(NSFileWrapper child) { - final _ret = _lib._objc_msgSend_1038( - this.pointer, - _lib._sel_keyForFileWrapper_1, - child.pointer, - ); + final _ret = _objc_msgSend_1038( + this.pointer, _sel_keyForFileWrapper_, child.pointer); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } NSData? get regularFileContents { - final _ret = _lib._objc_msgSend_286( - this.pointer, - _lib._sel_regularFileContents1, - ); + final _ret = _objc_msgSend_286(this.pointer, _sel_regularFileContents); return _ret.address == 0 ? null - : NSData._(_ret, _lib, retain: true, release: true); + : NSData._(_ret, retain: true, release: true); } NSURL? get symbolicLinkDestinationURL { - final _ret = _lib._objc_msgSend_45( - this.pointer, - _lib._sel_symbolicLinkDestinationURL1, - ); + final _ret = + _objc_msgSend_45(this.pointer, _sel_symbolicLinkDestinationURL); return _ret.address == 0 ? null - : NSURL._(_ret, _lib, retain: true, release: true); + : NSURL._(_ret, retain: true, release: true); } NSObject? initWithPath_(NSString path) { - final _ret = _lib._objc_msgSend_38( - this.pointer, - _lib._sel_initWithPath_1, - path.pointer, - ); + final _ret = + _objc_msgSend_38(this.pointer, _sel_initWithPath_, path.pointer); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } NSObject initSymbolicLinkWithDestination_(NSString path) { - final _ret = _lib._objc_msgSend_31( - this.pointer, - _lib._sel_initSymbolicLinkWithDestination_1, - path.pointer, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_31( + this.pointer, _sel_initSymbolicLinkWithDestination_, path.pointer); + return NSObject._(_ret, retain: true, release: true); } bool needsToBeUpdatedFromPath_(NSString path) { - return _lib._objc_msgSend_64( - this.pointer, - _lib._sel_needsToBeUpdatedFromPath_1, - path.pointer, - ); + return _objc_msgSend_64( + this.pointer, _sel_needsToBeUpdatedFromPath_, path.pointer); } bool updateFromPath_(NSString path) { - return _lib._objc_msgSend_64( - this.pointer, - _lib._sel_updateFromPath_1, - path.pointer, - ); + return _objc_msgSend_64(this.pointer, _sel_updateFromPath_, path.pointer); } bool writeToFile_atomically_updateFilenames_( - NSString path, - bool atomicFlag, - bool updateFilenamesFlag, - ) { - return _lib._objc_msgSend_1039( - this.pointer, - _lib._sel_writeToFile_atomically_updateFilenames_1, - path.pointer, - atomicFlag, - updateFilenamesFlag, - ); + NSString path, bool atomicFlag, bool updateFilenamesFlag) { + return _objc_msgSend_1039( + this.pointer, + _sel_writeToFile_atomically_updateFilenames_, + path.pointer, + atomicFlag, + updateFilenamesFlag); } NSString addFileWithPath_(NSString path) { - final _ret = _lib._objc_msgSend_69( - this.pointer, - _lib._sel_addFileWithPath_1, - path.pointer, - ); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_69(this.pointer, _sel_addFileWithPath_, path.pointer); + return NSString._(_ret, retain: true, release: true); } NSString addSymbolicLinkWithDestination_preferredFilename_( - NSString path, - NSString filename, - ) { - final _ret = _lib._objc_msgSend_364( - this.pointer, - _lib._sel_addSymbolicLinkWithDestination_preferredFilename_1, - path.pointer, - filename.pointer, - ); - return NSString._(_ret, _lib, retain: true, release: true); + NSString path, NSString filename) { + final _ret = _objc_msgSend_364( + this.pointer, + _sel_addSymbolicLinkWithDestination_preferredFilename_, + path.pointer, + filename.pointer); + return NSString._(_ret, retain: true, release: true); } NSString symbolicLinkDestination() { - final _ret = _lib._objc_msgSend_21( - this.pointer, - _lib._sel_symbolicLinkDestination1, - ); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_symbolicLinkDestination); + return NSString._(_ret, retain: true, release: true); } @override NSFileWrapper init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSFileWrapper._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSFileWrapper._(_ret, retain: true, release: true); } - static NSFileWrapper new1(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSFileWrapper1, - _lib._sel_new1, - ); - return NSFileWrapper._(_ret, _lib, retain: false, release: true); + static NSFileWrapper new1() { + final _ret = _objc_msgSend_2(_class_NSFileWrapper, _sel_new); + return NSFileWrapper._(_ret, retain: false, release: true); } - static NSFileWrapper allocWithZone_( - SwiftLibrary _lib, - ffi.Pointer<_NSZone> zone, - ) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSFileWrapper1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSFileWrapper._(_ret, _lib, retain: false, release: true); + static NSFileWrapper allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = + _objc_msgSend_3(_class_NSFileWrapper, _sel_allocWithZone_, zone); + return NSFileWrapper._(_ret, retain: false, release: true); } - static NSFileWrapper alloc(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSFileWrapper1, - _lib._sel_alloc1, - ); - return NSFileWrapper._(_ret, _lib, retain: false, release: true); + static NSFileWrapper alloc() { + final _ret = _objc_msgSend_2(_class_NSFileWrapper, _sel_alloc); + return NSFileWrapper._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSFileWrapper1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSFileWrapper1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSFileWrapper1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSFileWrapper1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSFileWrapper1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSFileWrapper1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSFileWrapper, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); + } + + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSFileWrapper, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); + } + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSFileWrapper, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSFileWrapper, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSFileWrapper, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSFileWrapper, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); } static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSFileWrapper1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSFileWrapper1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSFileWrapper1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSFileWrapper, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = _objc_msgSend_85( + _class_NSFileWrapper, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = + _objc_msgSend_2(_class_NSFileWrapper, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); } } +late final _class_NSFileWrapper = objc.getClass("NSFileWrapper"); + abstract class NSFileWrapperReadingOptions { static const int NSFileWrapperReadingImmediate = 1; static const int NSFileWrapperReadingWithoutMapping = 2; } +late final _sel_initWithURL_options_error_ = + objc.registerName("initWithURL:options:error:"); +final _objc_msgSend_1032 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer url, + ffi.Int32 options, + ffi.Pointer> outError)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer>)>(); +late final _sel_initDirectoryWithFileWrappers_ = + objc.registerName("initDirectoryWithFileWrappers:"); +late final _sel_initRegularFileWithContents_ = + objc.registerName("initRegularFileWithContents:"); +late final _sel_initSymbolicLinkWithDestinationURL_ = + objc.registerName("initSymbolicLinkWithDestinationURL:"); +late final _sel_initWithSerializedRepresentation_ = + objc.registerName("initWithSerializedRepresentation:"); +late final _sel_isDirectory = objc.registerName("isDirectory"); +late final _sel_isRegularFile = objc.registerName("isRegularFile"); +late final _sel_isSymbolicLink = objc.registerName("isSymbolicLink"); +late final _sel_preferredFilename = objc.registerName("preferredFilename"); +late final _sel_setPreferredFilename_ = + objc.registerName("setPreferredFilename:"); +late final _sel_filename = objc.registerName("filename"); +late final _sel_setFilename_ = objc.registerName("setFilename:"); +late final _sel_fileAttributes = objc.registerName("fileAttributes"); +late final _sel_setFileAttributes_ = objc.registerName("setFileAttributes:"); +late final _sel_matchesContentsOfURL_ = + objc.registerName("matchesContentsOfURL:"); +late final _sel_readFromURL_options_error_ = + objc.registerName("readFromURL:options:error:"); +final _objc_msgSend_1033 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer url, + ffi.Int32 options, + ffi.Pointer> outError)>>() + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer>)>(); + abstract class NSFileWrapperWritingOptions { static const int NSFileWrapperWritingAtomic = 1; static const int NSFileWrapperWritingWithNameUpdating = 2; } +late final _sel_writeToURL_options_originalContentsURL_error_ = + objc.registerName("writeToURL:options:originalContentsURL:error:"); +final _objc_msgSend_1034 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer url, + ffi.Int32 options, + ffi.Pointer originalContentsURL, + ffi.Pointer> outError)>>() + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ffi.Pointer>)>(); +late final _sel_serializedRepresentation = + objc.registerName("serializedRepresentation"); +late final _sel_addFileWrapper_ = objc.registerName("addFileWrapper:"); +final _objc_msgSend_1035 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer child)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_addRegularFileWithContents_preferredFilename_ = + objc.registerName("addRegularFileWithContents:preferredFilename:"); +final _objc_msgSend_1036 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer data, + ffi.Pointer fileName)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_removeFileWrapper_ = objc.registerName("removeFileWrapper:"); +final _objc_msgSend_1037 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer child)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_fileWrappers = objc.registerName("fileWrappers"); +late final _sel_keyForFileWrapper_ = objc.registerName("keyForFileWrapper:"); +final _objc_msgSend_1038 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer child)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_regularFileContents = objc.registerName("regularFileContents"); +late final _sel_symbolicLinkDestinationURL = + objc.registerName("symbolicLinkDestinationURL"); +late final _sel_initSymbolicLinkWithDestination_ = + objc.registerName("initSymbolicLinkWithDestination:"); +late final _sel_needsToBeUpdatedFromPath_ = + objc.registerName("needsToBeUpdatedFromPath:"); +late final _sel_updateFromPath_ = objc.registerName("updateFromPath:"); +late final _sel_writeToFile_atomically_updateFilenames_ = + objc.registerName("writeToFile:atomically:updateFilenames:"); +final _objc_msgSend_1039 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer path, + ffi.Bool atomicFlag, + ffi.Bool updateFilenamesFlag)>>() + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool, + bool)>(); +late final _sel_addFileWithPath_ = objc.registerName("addFileWithPath:"); +late final _sel_addSymbolicLinkWithDestination_preferredFilename_ = + objc.registerName("addSymbolicLinkWithDestination:preferredFilename:"); +late final _sel_symbolicLinkDestination = + objc.registerName("symbolicLinkDestination"); + class NSURLSession extends NSObject { - NSURLSession._( - ffi.Pointer pointer, - SwiftLibrary lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSURLSession._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSURLSession] that points to the same underlying object as [other]. - static NSURLSession castFrom( - SwiftLibrary lib, - T other, - ) { - return NSURLSession._(other.pointer, lib, retain: true, release: true); + static NSURLSession castFrom(T other) { + return NSURLSession._(other.pointer, retain: true, release: true); } /// Returns a [NSURLSession] that wraps the given raw object pointer. - static NSURLSession castFromPointer( - SwiftLibrary lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSURLSession._(other, lib, retain: retain, release: release); + static NSURLSession castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSURLSession._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSURLSession]. - static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSURLSession1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0( + obj.pointer, _sel_isKindOfClass_, _class_NSURLSession); } - static NSURLSession getSharedSession(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_1040( - _lib._class_NSURLSession1, - _lib._sel_sharedSession1, - ); - return NSURLSession._(_ret, _lib, retain: true, release: true); + static NSURLSession getSharedSession() { + final _ret = _objc_msgSend_1040(_class_NSURLSession, _sel_sharedSession); + return NSURLSession._(_ret, retain: true, release: true); } static NSURLSession sessionWithConfiguration_( - SwiftLibrary _lib, - NSURLSessionConfiguration configuration, - ) { - final _ret = _lib._objc_msgSend_1056( - _lib._class_NSURLSession1, - _lib._sel_sessionWithConfiguration_1, - configuration.pointer, - ); - return NSURLSession._(_ret, _lib, retain: true, release: true); + NSURLSessionConfiguration configuration) { + final _ret = _objc_msgSend_1056(_class_NSURLSession, + _sel_sessionWithConfiguration_, configuration.pointer); + return NSURLSession._(_ret, retain: true, release: true); } static NSURLSession sessionWithConfiguration_delegate_delegateQueue_( - SwiftLibrary _lib, - NSURLSessionConfiguration configuration, - NSObject? delegate, - NSOperationQueue? queue, - ) { - final _ret = _lib._objc_msgSend_1057( - _lib._class_NSURLSession1, - _lib._sel_sessionWithConfiguration_delegate_delegateQueue_1, - configuration.pointer, - delegate?.pointer ?? ffi.nullptr, - queue?.pointer ?? ffi.nullptr, - ); - return NSURLSession._(_ret, _lib, retain: true, release: true); + NSURLSessionConfiguration configuration, + NSObject? delegate, + NSOperationQueue? queue) { + final _ret = _objc_msgSend_1057( + _class_NSURLSession, + _sel_sessionWithConfiguration_delegate_delegateQueue_, + configuration.pointer, + delegate?.pointer ?? ffi.nullptr, + queue?.pointer ?? ffi.nullptr); + return NSURLSession._(_ret, retain: true, release: true); } NSOperationQueue get delegateQueue { - final _ret = _lib._objc_msgSend_917(this.pointer, _lib._sel_delegateQueue1); - return NSOperationQueue._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_917(this.pointer, _sel_delegateQueue); + return NSOperationQueue._(_ret, retain: true, release: true); } NSObject? get delegate { - final _ret = _lib._objc_msgSend_17(this.pointer, _lib._sel_delegate1); + final _ret = _objc_msgSend_17(this.pointer, _sel_delegate); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } NSURLSessionConfiguration get configuration { - final _ret = _lib._objc_msgSend_1041( - this.pointer, - _lib._sel_configuration1, - ); - return NSURLSessionConfiguration._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_1041(this.pointer, _sel_configuration); + return NSURLSessionConfiguration._(_ret, retain: true, release: true); } NSString? get sessionDescription { - final _ret = _lib._objc_msgSend_44( - this.pointer, - _lib._sel_sessionDescription1, - ); + final _ret = _objc_msgSend_44(this.pointer, _sel_sessionDescription); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } set sessionDescription(NSString? value) { - return _lib._objc_msgSend_545( - this.pointer, - _lib._sel_setSessionDescription_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_545(this.pointer, _sel_setSessionDescription_, + value?.pointer ?? ffi.nullptr); } void finishTasksAndInvalidate() { - _lib._objc_msgSend_1(this.pointer, _lib._sel_finishTasksAndInvalidate1); + _objc_msgSend_1(this.pointer, _sel_finishTasksAndInvalidate); } void invalidateAndCancel() { - _lib._objc_msgSend_1(this.pointer, _lib._sel_invalidateAndCancel1); + _objc_msgSend_1(this.pointer, _sel_invalidateAndCancel); } void resetWithCompletionHandler_(ObjCBlock_ffiVoid completionHandler) { - _lib._objc_msgSend_532( - this.pointer, - _lib._sel_resetWithCompletionHandler_1, - completionHandler.pointer, - ); + _objc_msgSend_532(this.pointer, _sel_resetWithCompletionHandler_, + completionHandler.pointer); } void flushWithCompletionHandler_(ObjCBlock_ffiVoid completionHandler) { - _lib._objc_msgSend_532( - this.pointer, - _lib._sel_flushWithCompletionHandler_1, - completionHandler.pointer, - ); + _objc_msgSend_532(this.pointer, _sel_flushWithCompletionHandler_, + completionHandler.pointer); } void getTasksWithCompletionHandler_( - ObjCBlock_ffiVoid_NSArray_NSArray_NSArray completionHandler, - ) { - _lib._objc_msgSend_1058( - this.pointer, - _lib._sel_getTasksWithCompletionHandler_1, - completionHandler.pointer, - ); + ObjCBlock_ffiVoid_NSArray_NSArray_NSArray completionHandler) { + _objc_msgSend_1058(this.pointer, _sel_getTasksWithCompletionHandler_, + completionHandler.pointer); } void getAllTasksWithCompletionHandler_( - ObjCBlock_ffiVoid_NSArray1 completionHandler, - ) { - _lib._objc_msgSend_1059( - this.pointer, - _lib._sel_getAllTasksWithCompletionHandler_1, - completionHandler.pointer, - ); + ObjCBlock_ffiVoid_NSArray1 completionHandler) { + _objc_msgSend_1059(this.pointer, _sel_getAllTasksWithCompletionHandler_, + completionHandler.pointer); } NSURLSessionDataTask dataTaskWithRequest_(NSURLRequest request) { - final _ret = _lib._objc_msgSend_1060( - this.pointer, - _lib._sel_dataTaskWithRequest_1, - request.pointer, - ); - return NSURLSessionDataTask._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_1060( + this.pointer, _sel_dataTaskWithRequest_, request.pointer); + return NSURLSessionDataTask._(_ret, retain: true, release: true); } NSURLSessionDataTask dataTaskWithURL_(NSURL url) { - final _ret = _lib._objc_msgSend_1061( - this.pointer, - _lib._sel_dataTaskWithURL_1, - url.pointer, - ); - return NSURLSessionDataTask._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_1061(this.pointer, _sel_dataTaskWithURL_, url.pointer); + return NSURLSessionDataTask._(_ret, retain: true, release: true); } NSURLSessionUploadTask uploadTaskWithRequest_fromFile_( - NSURLRequest request, - NSURL fileURL, - ) { - final _ret = _lib._objc_msgSend_1063( - this.pointer, - _lib._sel_uploadTaskWithRequest_fromFile_1, - request.pointer, - fileURL.pointer, - ); - return NSURLSessionUploadTask._(_ret, _lib, retain: true, release: true); + NSURLRequest request, NSURL fileURL) { + final _ret = _objc_msgSend_1063(this.pointer, + _sel_uploadTaskWithRequest_fromFile_, request.pointer, fileURL.pointer); + return NSURLSessionUploadTask._(_ret, retain: true, release: true); } NSURLSessionUploadTask uploadTaskWithRequest_fromData_( - NSURLRequest request, - NSData bodyData, - ) { - final _ret = _lib._objc_msgSend_1064( - this.pointer, - _lib._sel_uploadTaskWithRequest_fromData_1, - request.pointer, - bodyData.pointer, - ); - return NSURLSessionUploadTask._(_ret, _lib, retain: true, release: true); + NSURLRequest request, NSData bodyData) { + final _ret = _objc_msgSend_1064( + this.pointer, + _sel_uploadTaskWithRequest_fromData_, + request.pointer, + bodyData.pointer); + return NSURLSessionUploadTask._(_ret, retain: true, release: true); } NSURLSessionUploadTask uploadTaskWithResumeData_(NSData resumeData) { - final _ret = _lib._objc_msgSend_1065( - this.pointer, - _lib._sel_uploadTaskWithResumeData_1, - resumeData.pointer, - ); - return NSURLSessionUploadTask._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_1065( + this.pointer, _sel_uploadTaskWithResumeData_, resumeData.pointer); + return NSURLSessionUploadTask._(_ret, retain: true, release: true); } NSURLSessionUploadTask uploadTaskWithStreamedRequest_(NSURLRequest request) { - final _ret = _lib._objc_msgSend_1066( - this.pointer, - _lib._sel_uploadTaskWithStreamedRequest_1, - request.pointer, - ); - return NSURLSessionUploadTask._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_1066( + this.pointer, _sel_uploadTaskWithStreamedRequest_, request.pointer); + return NSURLSessionUploadTask._(_ret, retain: true, release: true); } NSURLSessionDownloadTask downloadTaskWithRequest_(NSURLRequest request) { - final _ret = _lib._objc_msgSend_1067( - this.pointer, - _lib._sel_downloadTaskWithRequest_1, - request.pointer, - ); - return NSURLSessionDownloadTask._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_1067( + this.pointer, _sel_downloadTaskWithRequest_, request.pointer); + return NSURLSessionDownloadTask._(_ret, retain: true, release: true); } NSURLSessionDownloadTask downloadTaskWithURL_(NSURL url) { - final _ret = _lib._objc_msgSend_1068( - this.pointer, - _lib._sel_downloadTaskWithURL_1, - url.pointer, - ); - return NSURLSessionDownloadTask._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_1068( + this.pointer, _sel_downloadTaskWithURL_, url.pointer); + return NSURLSessionDownloadTask._(_ret, retain: true, release: true); } NSURLSessionDownloadTask downloadTaskWithResumeData_(NSData resumeData) { - final _ret = _lib._objc_msgSend_1069( - this.pointer, - _lib._sel_downloadTaskWithResumeData_1, - resumeData.pointer, - ); - return NSURLSessionDownloadTask._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_1069( + this.pointer, _sel_downloadTaskWithResumeData_, resumeData.pointer); + return NSURLSessionDownloadTask._(_ret, retain: true, release: true); } NSURLSessionStreamTask streamTaskWithHostName_port_( - NSString hostname, - int port, - ) { - final _ret = _lib._objc_msgSend_1072( - this.pointer, - _lib._sel_streamTaskWithHostName_port_1, - hostname.pointer, - port, - ); - return NSURLSessionStreamTask._(_ret, _lib, retain: true, release: true); + NSString hostname, int port) { + final _ret = _objc_msgSend_1072(this.pointer, + _sel_streamTaskWithHostName_port_, hostname.pointer, port); + return NSURLSessionStreamTask._(_ret, retain: true, release: true); } NSURLSessionStreamTask streamTaskWithNetService_(NSNetService service) { - final _ret = _lib._objc_msgSend_1080( - this.pointer, - _lib._sel_streamTaskWithNetService_1, - service.pointer, - ); - return NSURLSessionStreamTask._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_1080( + this.pointer, _sel_streamTaskWithNetService_, service.pointer); + return NSURLSessionStreamTask._(_ret, retain: true, release: true); } NSURLSessionWebSocketTask webSocketTaskWithURL_(NSURL url) { - final _ret = _lib._objc_msgSend_1087( - this.pointer, - _lib._sel_webSocketTaskWithURL_1, - url.pointer, - ); - return NSURLSessionWebSocketTask._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_1087( + this.pointer, _sel_webSocketTaskWithURL_, url.pointer); + return NSURLSessionWebSocketTask._(_ret, retain: true, release: true); } NSURLSessionWebSocketTask webSocketTaskWithURL_protocols_( - NSURL url, - NSArray protocols, - ) { - final _ret = _lib._objc_msgSend_1088( - this.pointer, - _lib._sel_webSocketTaskWithURL_protocols_1, - url.pointer, - protocols.pointer, - ); - return NSURLSessionWebSocketTask._(_ret, _lib, retain: true, release: true); + NSURL url, NSArray protocols) { + final _ret = _objc_msgSend_1088(this.pointer, + _sel_webSocketTaskWithURL_protocols_, url.pointer, protocols.pointer); + return NSURLSessionWebSocketTask._(_ret, retain: true, release: true); } NSURLSessionWebSocketTask webSocketTaskWithRequest_(NSURLRequest request) { - final _ret = _lib._objc_msgSend_1089( - this.pointer, - _lib._sel_webSocketTaskWithRequest_1, - request.pointer, - ); - return NSURLSessionWebSocketTask._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_1089( + this.pointer, _sel_webSocketTaskWithRequest_, request.pointer); + return NSURLSessionWebSocketTask._(_ret, retain: true, release: true); } @override NSURLSession init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSURLSession._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSURLSession._(_ret, retain: true, release: true); } - static NSURLSession new1(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLSession1, - _lib._sel_new1, - ); - return NSURLSession._(_ret, _lib, retain: false, release: true); + static NSURLSession new1() { + final _ret = _objc_msgSend_2(_class_NSURLSession, _sel_new); + return NSURLSession._(_ret, retain: false, release: true); } NSURLSessionDataTask dataTaskWithRequest_completionHandler_( - NSURLRequest request, - ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError completionHandler, - ) { - final _ret = _lib._objc_msgSend_1090( - this.pointer, - _lib._sel_dataTaskWithRequest_completionHandler_1, - request.pointer, - completionHandler.pointer, - ); - return NSURLSessionDataTask._(_ret, _lib, retain: true, release: true); - } - - NSURLSessionDataTask dataTaskWithURL_completionHandler_( - NSURL url, - ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError completionHandler, - ) { - final _ret = _lib._objc_msgSend_1091( - this.pointer, - _lib._sel_dataTaskWithURL_completionHandler_1, - url.pointer, - completionHandler.pointer, - ); - return NSURLSessionDataTask._(_ret, _lib, retain: true, release: true); + NSURLRequest request, + ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError completionHandler) { + final _ret = _objc_msgSend_1090( + this.pointer, + _sel_dataTaskWithRequest_completionHandler_, + request.pointer, + completionHandler.pointer); + return NSURLSessionDataTask._(_ret, retain: true, release: true); + } + + NSURLSessionDataTask dataTaskWithURL_completionHandler_(NSURL url, + ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError completionHandler) { + final _ret = _objc_msgSend_1091( + this.pointer, + _sel_dataTaskWithURL_completionHandler_, + url.pointer, + completionHandler.pointer); + return NSURLSessionDataTask._(_ret, retain: true, release: true); } NSURLSessionUploadTask uploadTaskWithRequest_fromFile_completionHandler_( - NSURLRequest request, - NSURL fileURL, - ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError completionHandler, - ) { - final _ret = _lib._objc_msgSend_1092( - this.pointer, - _lib._sel_uploadTaskWithRequest_fromFile_completionHandler_1, - request.pointer, - fileURL.pointer, - completionHandler.pointer, - ); - return NSURLSessionUploadTask._(_ret, _lib, retain: true, release: true); + NSURLRequest request, + NSURL fileURL, + ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError completionHandler) { + final _ret = _objc_msgSend_1092( + this.pointer, + _sel_uploadTaskWithRequest_fromFile_completionHandler_, + request.pointer, + fileURL.pointer, + completionHandler.pointer); + return NSURLSessionUploadTask._(_ret, retain: true, release: true); } NSURLSessionUploadTask uploadTaskWithRequest_fromData_completionHandler_( - NSURLRequest request, - NSData? bodyData, - ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError completionHandler, - ) { - final _ret = _lib._objc_msgSend_1093( - this.pointer, - _lib._sel_uploadTaskWithRequest_fromData_completionHandler_1, - request.pointer, - bodyData?.pointer ?? ffi.nullptr, - completionHandler.pointer, - ); - return NSURLSessionUploadTask._(_ret, _lib, retain: true, release: true); + NSURLRequest request, + NSData? bodyData, + ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError completionHandler) { + final _ret = _objc_msgSend_1093( + this.pointer, + _sel_uploadTaskWithRequest_fromData_completionHandler_, + request.pointer, + bodyData?.pointer ?? ffi.nullptr, + completionHandler.pointer); + return NSURLSessionUploadTask._(_ret, retain: true, release: true); } NSURLSessionUploadTask uploadTaskWithResumeData_completionHandler_( - NSData resumeData, - ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError completionHandler, - ) { - final _ret = _lib._objc_msgSend_1094( - this.pointer, - _lib._sel_uploadTaskWithResumeData_completionHandler_1, - resumeData.pointer, - completionHandler.pointer, - ); - return NSURLSessionUploadTask._(_ret, _lib, retain: true, release: true); + NSData resumeData, + ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError completionHandler) { + final _ret = _objc_msgSend_1094( + this.pointer, + _sel_uploadTaskWithResumeData_completionHandler_, + resumeData.pointer, + completionHandler.pointer); + return NSURLSessionUploadTask._(_ret, retain: true, release: true); } NSURLSessionDownloadTask downloadTaskWithRequest_completionHandler_( - NSURLRequest request, - ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError completionHandler, - ) { - final _ret = _lib._objc_msgSend_1095( - this.pointer, - _lib._sel_downloadTaskWithRequest_completionHandler_1, - request.pointer, - completionHandler.pointer, - ); - return NSURLSessionDownloadTask._(_ret, _lib, retain: true, release: true); - } - - NSURLSessionDownloadTask downloadTaskWithURL_completionHandler_( - NSURL url, - ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError completionHandler, - ) { - final _ret = _lib._objc_msgSend_1096( - this.pointer, - _lib._sel_downloadTaskWithURL_completionHandler_1, - url.pointer, - completionHandler.pointer, - ); - return NSURLSessionDownloadTask._(_ret, _lib, retain: true, release: true); + NSURLRequest request, + ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError completionHandler) { + final _ret = _objc_msgSend_1095( + this.pointer, + _sel_downloadTaskWithRequest_completionHandler_, + request.pointer, + completionHandler.pointer); + return NSURLSessionDownloadTask._(_ret, retain: true, release: true); + } + + NSURLSessionDownloadTask downloadTaskWithURL_completionHandler_(NSURL url, + ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError completionHandler) { + final _ret = _objc_msgSend_1096( + this.pointer, + _sel_downloadTaskWithURL_completionHandler_, + url.pointer, + completionHandler.pointer); + return NSURLSessionDownloadTask._(_ret, retain: true, release: true); } NSURLSessionDownloadTask downloadTaskWithResumeData_completionHandler_( - NSData resumeData, - ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError completionHandler, - ) { - final _ret = _lib._objc_msgSend_1097( - this.pointer, - _lib._sel_downloadTaskWithResumeData_completionHandler_1, - resumeData.pointer, - completionHandler.pointer, - ); - return NSURLSessionDownloadTask._(_ret, _lib, retain: true, release: true); - } - - static NSURLSession allocWithZone_( - SwiftLibrary _lib, - ffi.Pointer<_NSZone> zone, - ) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSURLSession1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSURLSession._(_ret, _lib, retain: false, release: true); - } - - static NSURLSession alloc(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLSession1, - _lib._sel_alloc1, - ); - return NSURLSession._(_ret, _lib, retain: false, release: true); + NSData resumeData, + ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError completionHandler) { + final _ret = _objc_msgSend_1097( + this.pointer, + _sel_downloadTaskWithResumeData_completionHandler_, + resumeData.pointer, + completionHandler.pointer); + return NSURLSessionDownloadTask._(_ret, retain: true, release: true); + } + + static NSURLSession allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = + _objc_msgSend_3(_class_NSURLSession, _sel_allocWithZone_, zone); + return NSURLSession._(_ret, retain: false, release: true); + } + + static NSURLSession alloc() { + final _ret = _objc_msgSend_2(_class_NSURLSession, _sel_alloc); + return NSURLSession._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSURLSession1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSURLSession1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSURLSession1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSURLSession1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSURLSession1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSURLSession1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSURLSession, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); + } + + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSURLSession, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); + } + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSURLSession, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSURLSession, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSURLSession, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSURLSession, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); } static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSURLSession1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSURLSession1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLSession1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSURLSession, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = _objc_msgSend_85( + _class_NSURLSession, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = + _objc_msgSend_2(_class_NSURLSession, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); } } +late final _class_NSURLSession = objc.getClass("NSURLSession"); +late final _sel_sharedSession = objc.registerName("sharedSession"); +final _objc_msgSend_1040 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); + class NSURLSessionConfiguration extends NSObject { - NSURLSessionConfiguration._( - ffi.Pointer pointer, - SwiftLibrary lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSURLSessionConfiguration._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSURLSessionConfiguration] that points to the same underlying object as [other]. static NSURLSessionConfiguration castFrom( - SwiftLibrary lib, - T other, - ) { - return NSURLSessionConfiguration._( - other.pointer, - lib, - retain: true, - release: true, - ); + T other) { + return NSURLSessionConfiguration._(other.pointer, + retain: true, release: true); } /// Returns a [NSURLSessionConfiguration] that wraps the given raw object pointer. static NSURLSessionConfiguration castFromPointer( - SwiftLibrary lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSURLSessionConfiguration._( - other, - lib, - retain: retain, - release: release, - ); + ffi.Pointer other, + {bool retain = false, + bool release = false}) { + return NSURLSessionConfiguration._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSURLSessionConfiguration]. - static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSURLSessionConfiguration1, - ); - } - - static NSURLSessionConfiguration getDefaultSessionConfiguration( - SwiftLibrary _lib, - ) { - final _ret = _lib._objc_msgSend_1041( - _lib._class_NSURLSessionConfiguration1, - _lib._sel_defaultSessionConfiguration1, - ); - return NSURLSessionConfiguration._(_ret, _lib, retain: true, release: true); - } - - static NSURLSessionConfiguration getEphemeralSessionConfiguration( - SwiftLibrary _lib, - ) { - final _ret = _lib._objc_msgSend_1041( - _lib._class_NSURLSessionConfiguration1, - _lib._sel_ephemeralSessionConfiguration1, - ); - return NSURLSessionConfiguration._(_ret, _lib, retain: true, release: true); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0( + obj.pointer, _sel_isKindOfClass_, _class_NSURLSessionConfiguration); + } + + static NSURLSessionConfiguration getDefaultSessionConfiguration() { + final _ret = _objc_msgSend_1041( + _class_NSURLSessionConfiguration, _sel_defaultSessionConfiguration); + return NSURLSessionConfiguration._(_ret, retain: true, release: true); + } + + static NSURLSessionConfiguration getEphemeralSessionConfiguration() { + final _ret = _objc_msgSend_1041( + _class_NSURLSessionConfiguration, _sel_ephemeralSessionConfiguration); + return NSURLSessionConfiguration._(_ret, retain: true, release: true); } static NSURLSessionConfiguration - backgroundSessionConfigurationWithIdentifier_( - SwiftLibrary _lib, - NSString identifier, - ) { - final _ret = _lib._objc_msgSend_1042( - _lib._class_NSURLSessionConfiguration1, - _lib._sel_backgroundSessionConfigurationWithIdentifier_1, - identifier.pointer, - ); - return NSURLSessionConfiguration._(_ret, _lib, retain: true, release: true); + backgroundSessionConfigurationWithIdentifier_(NSString identifier) { + final _ret = _objc_msgSend_1042(_class_NSURLSessionConfiguration, + _sel_backgroundSessionConfigurationWithIdentifier_, identifier.pointer); + return NSURLSessionConfiguration._(_ret, retain: true, release: true); } NSString? get identifier { - final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_identifier1); + final _ret = _objc_msgSend_44(this.pointer, _sel_identifier); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } int get requestCachePolicy { - return _lib._objc_msgSend_859(this.pointer, _lib._sel_requestCachePolicy1); + return _objc_msgSend_859(this.pointer, _sel_requestCachePolicy); } set requestCachePolicy(int value) { - return _lib._objc_msgSend_1017( - this.pointer, - _lib._sel_setRequestCachePolicy_1, - value, - ); + return _objc_msgSend_1017(this.pointer, _sel_setRequestCachePolicy_, value); } double get timeoutIntervalForRequest { return objc.useMsgSendVariants - ? _lib._objc_msgSend_165_fpret( - this.pointer, - _lib._sel_timeoutIntervalForRequest1, - ) - : _lib._objc_msgSend_165( - this.pointer, - _lib._sel_timeoutIntervalForRequest1, - ); + ? _objc_msgSend_165Fpret(this.pointer, _sel_timeoutIntervalForRequest) + : _objc_msgSend_165(this.pointer, _sel_timeoutIntervalForRequest); } set timeoutIntervalForRequest(double value) { - return _lib._objc_msgSend_542( - this.pointer, - _lib._sel_setTimeoutIntervalForRequest_1, - value, - ); + return _objc_msgSend_542( + this.pointer, _sel_setTimeoutIntervalForRequest_, value); } double get timeoutIntervalForResource { return objc.useMsgSendVariants - ? _lib._objc_msgSend_165_fpret( - this.pointer, - _lib._sel_timeoutIntervalForResource1, - ) - : _lib._objc_msgSend_165( - this.pointer, - _lib._sel_timeoutIntervalForResource1, - ); + ? _objc_msgSend_165Fpret(this.pointer, _sel_timeoutIntervalForResource) + : _objc_msgSend_165(this.pointer, _sel_timeoutIntervalForResource); } set timeoutIntervalForResource(double value) { - return _lib._objc_msgSend_542( - this.pointer, - _lib._sel_setTimeoutIntervalForResource_1, - value, - ); + return _objc_msgSend_542( + this.pointer, _sel_setTimeoutIntervalForResource_, value); } int get networkServiceType { - return _lib._objc_msgSend_860(this.pointer, _lib._sel_networkServiceType1); + return _objc_msgSend_860(this.pointer, _sel_networkServiceType); } set networkServiceType(int value) { - return _lib._objc_msgSend_1018( - this.pointer, - _lib._sel_setNetworkServiceType_1, - value, - ); + return _objc_msgSend_1018(this.pointer, _sel_setNetworkServiceType_, value); } bool get allowsCellularAccess { - return _lib._objc_msgSend_12(this.pointer, _lib._sel_allowsCellularAccess1); + return _objc_msgSend_12(this.pointer, _sel_allowsCellularAccess); } set allowsCellularAccess(bool value) { - return _lib._objc_msgSend_527( - this.pointer, - _lib._sel_setAllowsCellularAccess_1, - value, - ); + return _objc_msgSend_527( + this.pointer, _sel_setAllowsCellularAccess_, value); } bool get allowsExpensiveNetworkAccess { - return _lib._objc_msgSend_12( - this.pointer, - _lib._sel_allowsExpensiveNetworkAccess1, - ); + return _objc_msgSend_12(this.pointer, _sel_allowsExpensiveNetworkAccess); } set allowsExpensiveNetworkAccess(bool value) { - return _lib._objc_msgSend_527( - this.pointer, - _lib._sel_setAllowsExpensiveNetworkAccess_1, - value, - ); + return _objc_msgSend_527( + this.pointer, _sel_setAllowsExpensiveNetworkAccess_, value); } bool get allowsConstrainedNetworkAccess { - return _lib._objc_msgSend_12( - this.pointer, - _lib._sel_allowsConstrainedNetworkAccess1, - ); + return _objc_msgSend_12(this.pointer, _sel_allowsConstrainedNetworkAccess); } set allowsConstrainedNetworkAccess(bool value) { - return _lib._objc_msgSend_527( - this.pointer, - _lib._sel_setAllowsConstrainedNetworkAccess_1, - value, - ); + return _objc_msgSend_527( + this.pointer, _sel_setAllowsConstrainedNetworkAccess_, value); } bool get requiresDNSSECValidation { - return _lib._objc_msgSend_12( - this.pointer, - _lib._sel_requiresDNSSECValidation1, - ); + return _objc_msgSend_12(this.pointer, _sel_requiresDNSSECValidation); } set requiresDNSSECValidation(bool value) { - return _lib._objc_msgSend_527( - this.pointer, - _lib._sel_setRequiresDNSSECValidation_1, - value, - ); + return _objc_msgSend_527( + this.pointer, _sel_setRequiresDNSSECValidation_, value); } bool get waitsForConnectivity { - return _lib._objc_msgSend_12(this.pointer, _lib._sel_waitsForConnectivity1); + return _objc_msgSend_12(this.pointer, _sel_waitsForConnectivity); } set waitsForConnectivity(bool value) { - return _lib._objc_msgSend_527( - this.pointer, - _lib._sel_setWaitsForConnectivity_1, - value, - ); + return _objc_msgSend_527( + this.pointer, _sel_setWaitsForConnectivity_, value); } bool get discretionary { - return _lib._objc_msgSend_12(this.pointer, _lib._sel_isDiscretionary1); + return _objc_msgSend_12(this.pointer, _sel_isDiscretionary); } set discretionary(bool value) { - return _lib._objc_msgSend_527( - this.pointer, - _lib._sel_setDiscretionary_1, - value, - ); + return _objc_msgSend_527(this.pointer, _sel_setDiscretionary_, value); } NSString? get sharedContainerIdentifier { - final _ret = _lib._objc_msgSend_44( - this.pointer, - _lib._sel_sharedContainerIdentifier1, - ); + final _ret = _objc_msgSend_44(this.pointer, _sel_sharedContainerIdentifier); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } set sharedContainerIdentifier(NSString? value) { - return _lib._objc_msgSend_545( - this.pointer, - _lib._sel_setSharedContainerIdentifier_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_545(this.pointer, _sel_setSharedContainerIdentifier_, + value?.pointer ?? ffi.nullptr); } bool get sessionSendsLaunchEvents { - return _lib._objc_msgSend_12( - this.pointer, - _lib._sel_sessionSendsLaunchEvents1, - ); + return _objc_msgSend_12(this.pointer, _sel_sessionSendsLaunchEvents); } set sessionSendsLaunchEvents(bool value) { - return _lib._objc_msgSend_527( - this.pointer, - _lib._sel_setSessionSendsLaunchEvents_1, - value, - ); + return _objc_msgSend_527( + this.pointer, _sel_setSessionSendsLaunchEvents_, value); } NSDictionary? get connectionProxyDictionary { - final _ret = _lib._objc_msgSend_390( - this.pointer, - _lib._sel_connectionProxyDictionary1, - ); + final _ret = + _objc_msgSend_390(this.pointer, _sel_connectionProxyDictionary); return _ret.address == 0 ? null - : NSDictionary._(_ret, _lib, retain: true, release: true); + : NSDictionary._(_ret, retain: true, release: true); } set connectionProxyDictionary(NSDictionary? value) { - return _lib._objc_msgSend_634( - this.pointer, - _lib._sel_setConnectionProxyDictionary_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_634(this.pointer, _sel_setConnectionProxyDictionary_, + value?.pointer ?? ffi.nullptr); } int get TLSMinimumSupportedProtocol { - return _lib._objc_msgSend_1043( - this.pointer, - _lib._sel_TLSMinimumSupportedProtocol1, - ); + return _objc_msgSend_1043(this.pointer, _sel_TLSMinimumSupportedProtocol); } set TLSMinimumSupportedProtocol(int value) { - return _lib._objc_msgSend_1044( - this.pointer, - _lib._sel_setTLSMinimumSupportedProtocol_1, - value, - ); + return _objc_msgSend_1044( + this.pointer, _sel_setTLSMinimumSupportedProtocol_, value); } int get TLSMaximumSupportedProtocol { - return _lib._objc_msgSend_1043( - this.pointer, - _lib._sel_TLSMaximumSupportedProtocol1, - ); + return _objc_msgSend_1043(this.pointer, _sel_TLSMaximumSupportedProtocol); } set TLSMaximumSupportedProtocol(int value) { - return _lib._objc_msgSend_1044( - this.pointer, - _lib._sel_setTLSMaximumSupportedProtocol_1, - value, - ); + return _objc_msgSend_1044( + this.pointer, _sel_setTLSMaximumSupportedProtocol_, value); } int get TLSMinimumSupportedProtocolVersion { - return _lib._objc_msgSend_1045( - this.pointer, - _lib._sel_TLSMinimumSupportedProtocolVersion1, - ); + return _objc_msgSend_1045( + this.pointer, _sel_TLSMinimumSupportedProtocolVersion); } set TLSMinimumSupportedProtocolVersion(int value) { - return _lib._objc_msgSend_1046( - this.pointer, - _lib._sel_setTLSMinimumSupportedProtocolVersion_1, - value, - ); + return _objc_msgSend_1046( + this.pointer, _sel_setTLSMinimumSupportedProtocolVersion_, value); } int get TLSMaximumSupportedProtocolVersion { - return _lib._objc_msgSend_1045( - this.pointer, - _lib._sel_TLSMaximumSupportedProtocolVersion1, - ); + return _objc_msgSend_1045( + this.pointer, _sel_TLSMaximumSupportedProtocolVersion); } set TLSMaximumSupportedProtocolVersion(int value) { - return _lib._objc_msgSend_1046( - this.pointer, - _lib._sel_setTLSMaximumSupportedProtocolVersion_1, - value, - ); + return _objc_msgSend_1046( + this.pointer, _sel_setTLSMaximumSupportedProtocolVersion_, value); } bool get HTTPShouldUsePipelining { - return _lib._objc_msgSend_12( - this.pointer, - _lib._sel_HTTPShouldUsePipelining1, - ); + return _objc_msgSend_12(this.pointer, _sel_HTTPShouldUsePipelining); } set HTTPShouldUsePipelining(bool value) { - return _lib._objc_msgSend_527( - this.pointer, - _lib._sel_setHTTPShouldUsePipelining_1, - value, - ); + return _objc_msgSend_527( + this.pointer, _sel_setHTTPShouldUsePipelining_, value); } bool get HTTPShouldSetCookies { - return _lib._objc_msgSend_12(this.pointer, _lib._sel_HTTPShouldSetCookies1); + return _objc_msgSend_12(this.pointer, _sel_HTTPShouldSetCookies); } set HTTPShouldSetCookies(bool value) { - return _lib._objc_msgSend_527( - this.pointer, - _lib._sel_setHTTPShouldSetCookies_1, - value, - ); + return _objc_msgSend_527( + this.pointer, _sel_setHTTPShouldSetCookies_, value); } int get HTTPCookieAcceptPolicy { - return _lib._objc_msgSend_856( - this.pointer, - _lib._sel_HTTPCookieAcceptPolicy1, - ); + return _objc_msgSend_856(this.pointer, _sel_HTTPCookieAcceptPolicy); } set HTTPCookieAcceptPolicy(int value) { - return _lib._objc_msgSend_857( - this.pointer, - _lib._sel_setHTTPCookieAcceptPolicy_1, - value, - ); + return _objc_msgSend_857( + this.pointer, _sel_setHTTPCookieAcceptPolicy_, value); } NSDictionary? get HTTPAdditionalHeaders { - final _ret = _lib._objc_msgSend_390( - this.pointer, - _lib._sel_HTTPAdditionalHeaders1, - ); + final _ret = _objc_msgSend_390(this.pointer, _sel_HTTPAdditionalHeaders); return _ret.address == 0 ? null - : NSDictionary._(_ret, _lib, retain: true, release: true); + : NSDictionary._(_ret, retain: true, release: true); } set HTTPAdditionalHeaders(NSDictionary? value) { - return _lib._objc_msgSend_634( - this.pointer, - _lib._sel_setHTTPAdditionalHeaders_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_634(this.pointer, _sel_setHTTPAdditionalHeaders_, + value?.pointer ?? ffi.nullptr); } int get HTTPMaximumConnectionsPerHost { - return _lib._objc_msgSend_83( - this.pointer, - _lib._sel_HTTPMaximumConnectionsPerHost1, - ); + return _objc_msgSend_83(this.pointer, _sel_HTTPMaximumConnectionsPerHost); } set HTTPMaximumConnectionsPerHost(int value) { - return _lib._objc_msgSend_635( - this.pointer, - _lib._sel_setHTTPMaximumConnectionsPerHost_1, - value, - ); + return _objc_msgSend_635( + this.pointer, _sel_setHTTPMaximumConnectionsPerHost_, value); } NSHTTPCookieStorage? get HTTPCookieStorage { - final _ret = _lib._objc_msgSend_1047( - this.pointer, - _lib._sel_HTTPCookieStorage1, - ); + final _ret = _objc_msgSend_1047(this.pointer, _sel_HTTPCookieStorage); return _ret.address == 0 ? null - : NSHTTPCookieStorage._(_ret, _lib, retain: true, release: true); + : NSHTTPCookieStorage._(_ret, retain: true, release: true); } set HTTPCookieStorage(NSHTTPCookieStorage? value) { - return _lib._objc_msgSend_1048( - this.pointer, - _lib._sel_setHTTPCookieStorage_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_1048(this.pointer, _sel_setHTTPCookieStorage_, + value?.pointer ?? ffi.nullptr); } NSURLCredentialStorage? get URLCredentialStorage { - final _ret = _lib._objc_msgSend_1049( - this.pointer, - _lib._sel_URLCredentialStorage1, - ); + final _ret = _objc_msgSend_1049(this.pointer, _sel_URLCredentialStorage); return _ret.address == 0 ? null - : NSURLCredentialStorage._(_ret, _lib, retain: true, release: true); + : NSURLCredentialStorage._(_ret, retain: true, release: true); } set URLCredentialStorage(NSURLCredentialStorage? value) { - return _lib._objc_msgSend_1050( - this.pointer, - _lib._sel_setURLCredentialStorage_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_1050(this.pointer, _sel_setURLCredentialStorage_, + value?.pointer ?? ffi.nullptr); } NSURLCache? get URLCache { - final _ret = _lib._objc_msgSend_1051(this.pointer, _lib._sel_URLCache1); + final _ret = _objc_msgSend_1051(this.pointer, _sel_URLCache); return _ret.address == 0 ? null - : NSURLCache._(_ret, _lib, retain: true, release: true); + : NSURLCache._(_ret, retain: true, release: true); } set URLCache(NSURLCache? value) { - return _lib._objc_msgSend_1052( - this.pointer, - _lib._sel_setURLCache_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_1052( + this.pointer, _sel_setURLCache_, value?.pointer ?? ffi.nullptr); } bool get shouldUseExtendedBackgroundIdleMode { - return _lib._objc_msgSend_12( - this.pointer, - _lib._sel_shouldUseExtendedBackgroundIdleMode1, - ); + return _objc_msgSend_12( + this.pointer, _sel_shouldUseExtendedBackgroundIdleMode); } set shouldUseExtendedBackgroundIdleMode(bool value) { - return _lib._objc_msgSend_527( - this.pointer, - _lib._sel_setShouldUseExtendedBackgroundIdleMode_1, - value, - ); + return _objc_msgSend_527( + this.pointer, _sel_setShouldUseExtendedBackgroundIdleMode_, value); } NSArray? get protocolClasses { - final _ret = _lib._objc_msgSend_84( - this.pointer, - _lib._sel_protocolClasses1, - ); + final _ret = _objc_msgSend_84(this.pointer, _sel_protocolClasses); return _ret.address == 0 ? null - : NSArray._(_ret, _lib, retain: true, release: true); + : NSArray._(_ret, retain: true, release: true); } set protocolClasses(NSArray? value) { - return _lib._objc_msgSend_1053( - this.pointer, - _lib._sel_setProtocolClasses_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_1053( + this.pointer, _sel_setProtocolClasses_, value?.pointer ?? ffi.nullptr); } int get multipathServiceType { - return _lib._objc_msgSend_1054( - this.pointer, - _lib._sel_multipathServiceType1, - ); + return _objc_msgSend_1054(this.pointer, _sel_multipathServiceType); } set multipathServiceType(int value) { - return _lib._objc_msgSend_1055( - this.pointer, - _lib._sel_setMultipathServiceType_1, - value, - ); + return _objc_msgSend_1055( + this.pointer, _sel_setMultipathServiceType_, value); } @override NSURLSessionConfiguration init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSURLSessionConfiguration._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSURLSessionConfiguration._(_ret, retain: true, release: true); } - static NSURLSessionConfiguration new1(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLSessionConfiguration1, - _lib._sel_new1, - ); - return NSURLSessionConfiguration._( - _ret, - _lib, - retain: false, - release: true, - ); + static NSURLSessionConfiguration new1() { + final _ret = _objc_msgSend_2(_class_NSURLSessionConfiguration, _sel_new); + return NSURLSessionConfiguration._(_ret, retain: false, release: true); } static NSURLSessionConfiguration backgroundSessionConfiguration_( - SwiftLibrary _lib, - NSString identifier, - ) { - final _ret = _lib._objc_msgSend_1042( - _lib._class_NSURLSessionConfiguration1, - _lib._sel_backgroundSessionConfiguration_1, - identifier.pointer, - ); - return NSURLSessionConfiguration._(_ret, _lib, retain: true, release: true); - } - - static NSURLSessionConfiguration allocWithZone_( - SwiftLibrary _lib, - ffi.Pointer<_NSZone> zone, - ) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSURLSessionConfiguration1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSURLSessionConfiguration._( - _ret, - _lib, - retain: false, - release: true, - ); - } - - static NSURLSessionConfiguration alloc(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLSessionConfiguration1, - _lib._sel_alloc1, - ); - return NSURLSessionConfiguration._( - _ret, - _lib, - retain: false, - release: true, - ); + NSString identifier) { + final _ret = _objc_msgSend_1042(_class_NSURLSessionConfiguration, + _sel_backgroundSessionConfiguration_, identifier.pointer); + return NSURLSessionConfiguration._(_ret, retain: true, release: true); + } + + static NSURLSessionConfiguration allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = _objc_msgSend_3( + _class_NSURLSessionConfiguration, _sel_allocWithZone_, zone); + return NSURLSessionConfiguration._(_ret, retain: false, release: true); + } + + static NSURLSessionConfiguration alloc() { + final _ret = _objc_msgSend_2(_class_NSURLSessionConfiguration, _sel_alloc); + return NSURLSessionConfiguration._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSURLSessionConfiguration1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSURLSessionConfiguration1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSURLSessionConfiguration1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSURLSessionConfiguration1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSURLSessionConfiguration1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSURLSessionConfiguration1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSURLSessionConfiguration, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); } - static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSURLSessionConfiguration1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSURLSessionConfiguration1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLSessionConfiguration1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSURLSessionConfiguration, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); + } + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSURLSessionConfiguration, _sel_accessInstanceVariablesDirectly); } -} + + static bool useStoredAccessor() { + return _objc_msgSend_12( + _class_NSURLSessionConfiguration, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSURLSessionConfiguration, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSURLSessionConfiguration, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); + } + + static void setKeys_triggerChangeNotificationsForDependentKey_( + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSURLSessionConfiguration, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = _objc_msgSend_85( + _class_NSURLSessionConfiguration, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = _objc_msgSend_2( + _class_NSURLSessionConfiguration, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); + } +} + +late final _class_NSURLSessionConfiguration = + objc.getClass("NSURLSessionConfiguration"); +late final _sel_defaultSessionConfiguration = + objc.registerName("defaultSessionConfiguration"); +final _objc_msgSend_1041 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_ephemeralSessionConfiguration = + objc.registerName("ephemeralSessionConfiguration"); +late final _sel_backgroundSessionConfigurationWithIdentifier_ = + objc.registerName("backgroundSessionConfigurationWithIdentifier:"); +final _objc_msgSend_1042 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer identifier)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_identifier = objc.registerName("identifier"); +late final _sel_requestCachePolicy = objc.registerName("requestCachePolicy"); +late final _sel_setRequestCachePolicy_ = + objc.registerName("setRequestCachePolicy:"); +late final _sel_timeoutIntervalForRequest = + objc.registerName("timeoutIntervalForRequest"); +late final _sel_setTimeoutIntervalForRequest_ = + objc.registerName("setTimeoutIntervalForRequest:"); +late final _sel_timeoutIntervalForResource = + objc.registerName("timeoutIntervalForResource"); +late final _sel_setTimeoutIntervalForResource_ = + objc.registerName("setTimeoutIntervalForResource:"); +late final _sel_waitsForConnectivity = + objc.registerName("waitsForConnectivity"); +late final _sel_setWaitsForConnectivity_ = + objc.registerName("setWaitsForConnectivity:"); +late final _sel_isDiscretionary = objc.registerName("isDiscretionary"); +late final _sel_setDiscretionary_ = objc.registerName("setDiscretionary:"); +late final _sel_sharedContainerIdentifier = + objc.registerName("sharedContainerIdentifier"); +late final _sel_setSharedContainerIdentifier_ = + objc.registerName("setSharedContainerIdentifier:"); +late final _sel_sessionSendsLaunchEvents = + objc.registerName("sessionSendsLaunchEvents"); +late final _sel_setSessionSendsLaunchEvents_ = + objc.registerName("setSessionSendsLaunchEvents:"); +late final _sel_connectionProxyDictionary = + objc.registerName("connectionProxyDictionary"); +late final _sel_setConnectionProxyDictionary_ = + objc.registerName("setConnectionProxyDictionary:"); abstract class SSLProtocol { static const int kSSLProtocolUnknown = 0; @@ -87560,6 +53424,31 @@ abstract class SSLProtocol { static const int kSSLProtocolAll = 6; } +late final _sel_TLSMinimumSupportedProtocol = + objc.registerName("TLSMinimumSupportedProtocol"); +final _objc_msgSend_1043 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + int Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_setTLSMinimumSupportedProtocol_ = + objc.registerName("setTLSMinimumSupportedProtocol:"); +final _objc_msgSend_1044 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer obj, + ffi.Pointer sel, ffi.Int32 value)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, int)>(); +late final _sel_TLSMaximumSupportedProtocol = + objc.registerName("TLSMaximumSupportedProtocol"); +late final _sel_setTLSMaximumSupportedProtocol_ = + objc.registerName("setTLSMaximumSupportedProtocol:"); + abstract class tls_protocol_version_t { static const int tls_protocol_version_TLSv10 = 769; static const int tls_protocol_version_TLSv11 = 770; @@ -87569,6 +53458,129 @@ abstract class tls_protocol_version_t { static const int tls_protocol_version_DTLSv12 = -259; } +late final _sel_TLSMinimumSupportedProtocolVersion = + objc.registerName("TLSMinimumSupportedProtocolVersion"); +final _objc_msgSend_1045 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + int Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_setTLSMinimumSupportedProtocolVersion_ = + objc.registerName("setTLSMinimumSupportedProtocolVersion:"); +final _objc_msgSend_1046 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer obj, + ffi.Pointer sel, ffi.Int32 value)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, int)>(); +late final _sel_TLSMaximumSupportedProtocolVersion = + objc.registerName("TLSMaximumSupportedProtocolVersion"); +late final _sel_setTLSMaximumSupportedProtocolVersion_ = + objc.registerName("setTLSMaximumSupportedProtocolVersion:"); +late final _sel_HTTPShouldSetCookies = + objc.registerName("HTTPShouldSetCookies"); +late final _sel_setHTTPShouldSetCookies_ = + objc.registerName("setHTTPShouldSetCookies:"); +late final _sel_HTTPCookieAcceptPolicy = + objc.registerName("HTTPCookieAcceptPolicy"); +late final _sel_setHTTPCookieAcceptPolicy_ = + objc.registerName("setHTTPCookieAcceptPolicy:"); +late final _sel_HTTPAdditionalHeaders = + objc.registerName("HTTPAdditionalHeaders"); +late final _sel_setHTTPAdditionalHeaders_ = + objc.registerName("setHTTPAdditionalHeaders:"); +late final _sel_HTTPMaximumConnectionsPerHost = + objc.registerName("HTTPMaximumConnectionsPerHost"); +late final _sel_setHTTPMaximumConnectionsPerHost_ = + objc.registerName("setHTTPMaximumConnectionsPerHost:"); +late final _sel_HTTPCookieStorage = objc.registerName("HTTPCookieStorage"); +final _objc_msgSend_1047 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_setHTTPCookieStorage_ = + objc.registerName("setHTTPCookieStorage:"); +final _objc_msgSend_1048 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_URLCredentialStorage = + objc.registerName("URLCredentialStorage"); +final _objc_msgSend_1049 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_setURLCredentialStorage_ = + objc.registerName("setURLCredentialStorage:"); +final _objc_msgSend_1050 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_URLCache = objc.registerName("URLCache"); +final _objc_msgSend_1051 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_setURLCache_ = objc.registerName("setURLCache:"); +final _objc_msgSend_1052 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_shouldUseExtendedBackgroundIdleMode = + objc.registerName("shouldUseExtendedBackgroundIdleMode"); +late final _sel_setShouldUseExtendedBackgroundIdleMode_ = + objc.registerName("setShouldUseExtendedBackgroundIdleMode:"); +late final _sel_protocolClasses = objc.registerName("protocolClasses"); +late final _sel_setProtocolClasses_ = objc.registerName("setProtocolClasses:"); +final _objc_msgSend_1053 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); + abstract class NSURLSessionMultipathServiceType { static const int NSURLSessionMultipathServiceTypeNone = 0; static const int NSURLSessionMultipathServiceTypeHandover = 1; @@ -87576,78 +53588,123 @@ abstract class NSURLSessionMultipathServiceType { static const int NSURLSessionMultipathServiceTypeAggregate = 3; } +late final _sel_multipathServiceType = + objc.registerName("multipathServiceType"); +final _objc_msgSend_1054 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + int Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_setMultipathServiceType_ = + objc.registerName("setMultipathServiceType:"); +final _objc_msgSend_1055 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer obj, + ffi.Pointer sel, ffi.Int32 value)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, int)>(); +late final _sel_backgroundSessionConfiguration_ = + objc.registerName("backgroundSessionConfiguration:"); +late final _sel_sessionWithConfiguration_ = + objc.registerName("sessionWithConfiguration:"); +final _objc_msgSend_1056 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer configuration)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_sessionWithConfiguration_delegate_delegateQueue_ = + objc.registerName("sessionWithConfiguration:delegate:delegateQueue:"); +final _objc_msgSend_1057 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer configuration, + ffi.Pointer delegate, + ffi.Pointer queue)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_delegateQueue = objc.registerName("delegateQueue"); +late final _sel_configuration = objc.registerName("configuration"); +late final _sel_sessionDescription = objc.registerName("sessionDescription"); +late final _sel_setSessionDescription_ = + objc.registerName("setSessionDescription:"); +late final _sel_finishTasksAndInvalidate = + objc.registerName("finishTasksAndInvalidate"); +late final _sel_invalidateAndCancel = objc.registerName("invalidateAndCancel"); +late final _sel_resetWithCompletionHandler_ = + objc.registerName("resetWithCompletionHandler:"); +late final _sel_flushWithCompletionHandler_ = + objc.registerName("flushWithCompletionHandler:"); void _ObjCBlock_ffiVoid_NSArray_NSArray_NSArray_fnPtrTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2, -) => + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2) => block.ref.target .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2, - )>>() + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2)>>() .asFunction< void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>()(arg0, arg1, arg2); + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>()(arg0, arg1, arg2); final _ObjCBlock_ffiVoid_NSArray_NSArray_NSArray_closureRegistry = , - ffi.Pointer, - ffi.Pointer, -)>{}; + void Function(ffi.Pointer, ffi.Pointer, + ffi.Pointer)>{}; int _ObjCBlock_ffiVoid_NSArray_NSArray_NSArray_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_ffiVoid_NSArray_NSArray_NSArray_registerClosure( - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) fn, -) { + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer) + fn) { final id = ++_ObjCBlock_ffiVoid_NSArray_NSArray_NSArray_closureRegistryIndex; _ObjCBlock_ffiVoid_NSArray_NSArray_NSArray_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } void _ObjCBlock_ffiVoid_NSArray_NSArray_NSArray_closureTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2, -) => + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2) => _ObjCBlock_ffiVoid_NSArray_NSArray_NSArray_closureRegistry[ block.ref.target.address]!(arg0, arg1, arg2); class ObjCBlock_ffiVoid_NSArray_NSArray_NSArray extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSArray_NSArray_NSArray._( - ffi.Pointer pointer, - this._lib, { - bool retain = false, - bool release = true, - }) : super(pointer, retain: retain, release: release); - - SwiftLibrary _lib; + ffi.Pointer pointer, + {bool retain = false, + bool release = true}) + : super(pointer, retain: retain, release: release); /// Returns a block that wraps the given raw block pointer. static ObjCBlock_ffiVoid_NSArray_NSArray_NSArray castFromPointer( - SwiftLibrary lib, - ffi.Pointer pointer, { - bool retain = false, - bool release = false, - }) { - return ObjCBlock_ffiVoid_NSArray_NSArray_NSArray._( - pointer, - lib, - retain: retain, - release: release, - ); + ffi.Pointer pointer, + {bool retain = false, + bool release = false}) { + return ObjCBlock_ffiVoid_NSArray_NSArray_NSArray._(pointer, + retain: retain, release: release); } /// Creates a block from a C function pointer. @@ -87656,29 +53713,23 @@ class ObjCBlock_ffiVoid_NSArray_NSArray_NSArray extends objc.ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSArray_NSArray_NSArray.fromFunctionPointer( - SwiftLibrary lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2, - )>> - ptr, - ) : this._( - objc.newBlock( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Pointer< + ffi.NativeFunction< ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>( - _ObjCBlock_ffiVoid_NSArray_NSArray_NSArray_fnPtrTrampoline, - ).cast(), - ptr.cast(), - ), - lib); + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2)>> + ptr) + : this._(objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>( + _ObjCBlock_ffiVoid_NSArray_NSArray_NSArray_fnPtrTrampoline) + .cast(), + ptr.cast())); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -87687,31 +53738,21 @@ class ObjCBlock_ffiVoid_NSArray_NSArray_NSArray extends objc.ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSArray_NSArray_NSArray.fromFunction( - SwiftLibrary lib, - void Function(NSArray, NSArray, NSArray) fn, - ) : this._( - objc.newBlock( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>( - _ObjCBlock_ffiVoid_NSArray_NSArray_NSArray_closureTrampoline, - ).cast(), - _ObjCBlock_ffiVoid_NSArray_NSArray_NSArray_registerClosure(( - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2, - ) => - fn( - NSArray._(arg0, lib, retain: true, release: true), - NSArray._(arg1, lib, retain: true, release: true), - NSArray._(arg2, lib, retain: true, release: true), - )), - ), - lib); + void Function(NSArray, NSArray, NSArray) fn) + : this._(objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>( + _ObjCBlock_ffiVoid_NSArray_NSArray_NSArray_closureTrampoline) + .cast(), + _ObjCBlock_ffiVoid_NSArray_NSArray_NSArray_registerClosure( + (ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2) => + fn(NSArray._(arg0, retain: true, release: true), NSArray._(arg1, retain: true, release: true), NSArray._(arg2, retain: true, release: true))))); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -87723,64 +53764,61 @@ class ObjCBlock_ffiVoid_NSArray_NSArray_NSArray extends objc.ObjCBlockBase { /// /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. - ObjCBlock_ffiVoid_NSArray_NSArray_NSArray.listener( - SwiftLibrary lib, - void Function(NSArray, NSArray, NSArray) fn, - ) : this._( - objc.newBlock( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>.listener( - _ObjCBlock_ffiVoid_NSArray_NSArray_NSArray_closureTrampoline, - )..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSArray_NSArray_NSArray_registerClosure(( - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2, - ) => - fn( - NSArray._(arg0, lib, retain: true, release: true), - NSArray._(arg1, lib, retain: true, release: true), - NSArray._(arg2, lib, retain: true, release: true), - )), - ), - lib); + ObjCBlock_ffiVoid_NSArray_NSArray_NSArray.listener(void Function(NSArray, NSArray, NSArray) fn) + : this._(objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>.listener( + _ObjCBlock_ffiVoid_NSArray_NSArray_NSArray_closureTrampoline) + ..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSArray_NSArray_NSArray_registerClosure( + (ffi.Pointer arg0, ffi.Pointer arg1, ffi.Pointer arg2) => fn( + NSArray._(arg0, retain: true, release: true), + NSArray._(arg1, retain: true, release: true), + NSArray._(arg2, retain: true, release: true))))); static ffi.NativeCallable< ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>? _dartFuncListenerTrampoline; + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>? _dartFuncListenerTrampoline; void call(NSArray arg0, NSArray arg1, NSArray arg2) => pointer.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2, - )>>() - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>()(pointer, arg0.pointer, arg1.pointer, arg2.pointer); -} - + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>()( + pointer, arg0.pointer, arg1.pointer, arg2.pointer); +} + +late final _sel_getTasksWithCompletionHandler_ = + objc.registerName("getTasksWithCompletionHandler:"); +final _objc_msgSend_1058 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer completionHandler)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); void _ObjCBlock_ffiVoid_NSArray1_fnPtrTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, -) => + ffi.Pointer block, ffi.Pointer arg0) => block.ref.target .cast< ffi.NativeFunction< @@ -87790,44 +53828,29 @@ final _ObjCBlock_ffiVoid_NSArray1_closureRegistry = )>{}; int _ObjCBlock_ffiVoid_NSArray1_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_ffiVoid_NSArray1_registerClosure( - void Function(ffi.Pointer) fn, -) { + void Function(ffi.Pointer) fn) { final id = ++_ObjCBlock_ffiVoid_NSArray1_closureRegistryIndex; _ObjCBlock_ffiVoid_NSArray1_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } void _ObjCBlock_ffiVoid_NSArray1_closureTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, -) => + ffi.Pointer block, ffi.Pointer arg0) => _ObjCBlock_ffiVoid_NSArray1_closureRegistry[block.ref.target.address]!( - arg0, - ); + arg0); class ObjCBlock_ffiVoid_NSArray1 extends objc.ObjCBlockBase { - ObjCBlock_ffiVoid_NSArray1._( - ffi.Pointer pointer, - this._lib, { - bool retain = false, - bool release = true, - }) : super(pointer, retain: retain, release: release); - - SwiftLibrary _lib; + ObjCBlock_ffiVoid_NSArray1._(ffi.Pointer pointer, + {bool retain = false, bool release = true}) + : super(pointer, retain: retain, release: release); /// Returns a block that wraps the given raw block pointer. static ObjCBlock_ffiVoid_NSArray1 castFromPointer( - SwiftLibrary lib, - ffi.Pointer pointer, { - bool retain = false, - bool release = false, - }) { - return ObjCBlock_ffiVoid_NSArray1._( - pointer, - lib, - retain: retain, - release: release, - ); + ffi.Pointer pointer, + {bool retain = false, + bool release = false}) { + return ObjCBlock_ffiVoid_NSArray1._(pointer, + retain: retain, release: release); } /// Creates a block from a C function pointer. @@ -87836,22 +53859,17 @@ class ObjCBlock_ffiVoid_NSArray1 extends objc.ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSArray1.fromFunctionPointer( - SwiftLibrary lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer arg0)>> - ptr, - ) : this._( - objc.newBlock( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - )>(_ObjCBlock_ffiVoid_NSArray1_fnPtrTrampoline) - .cast(), - ptr.cast(), - ), - lib); + ffi.Pointer< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer arg0)>> + ptr) + : this._(objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function(ffi.Pointer, + ffi.Pointer)>( + _ObjCBlock_ffiVoid_NSArray1_fnPtrTrampoline) + .cast(), + ptr.cast())); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -87859,23 +53877,16 @@ class ObjCBlock_ffiVoid_NSArray1 extends objc.ObjCBlockBase { /// This block must be invoked by native code running on the same thread as /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. - ObjCBlock_ffiVoid_NSArray1.fromFunction( - SwiftLibrary lib, - void Function(NSArray) fn, - ) : this._( - objc.newBlock( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - )>(_ObjCBlock_ffiVoid_NSArray1_closureTrampoline) - .cast(), - _ObjCBlock_ffiVoid_NSArray1_registerClosure(( - ffi.Pointer arg0, - ) => - fn(NSArray._(arg0, lib, retain: true, release: true))), - ), - lib); + ObjCBlock_ffiVoid_NSArray1.fromFunction(void Function(NSArray) fn) + : this._(objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function(ffi.Pointer, + ffi.Pointer)>( + _ObjCBlock_ffiVoid_NSArray1_closureTrampoline) + .cast(), + _ObjCBlock_ffiVoid_NSArray1_registerClosure( + (ffi.Pointer arg0) => + fn(NSArray._(arg0, retain: true, release: true))))); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -87887,26 +53898,18 @@ class ObjCBlock_ffiVoid_NSArray1 extends objc.ObjCBlockBase { /// /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. - ObjCBlock_ffiVoid_NSArray1.listener( - SwiftLibrary lib, - void Function(NSArray) fn, - ) : this._( - objc.newBlock( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - )>.listener( - _ObjCBlock_ffiVoid_NSArray1_closureTrampoline, - )..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSArray1_registerClosure(( - ffi.Pointer arg0, - ) => - fn(NSArray._(arg0, lib, retain: true, release: true))), - ), - lib); + ObjCBlock_ffiVoid_NSArray1.listener(void Function(NSArray) fn) + : this._(objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function(ffi.Pointer, + ffi.Pointer)>.listener( + _ObjCBlock_ffiVoid_NSArray1_closureTrampoline) + ..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSArray1_registerClosure( + (ffi.Pointer arg0) => + fn(NSArray._(arg0, retain: true, release: true))))); static ffi.NativeCallable< ffi.Void Function( ffi.Pointer, ffi.Pointer)>? @@ -87915,201 +53918,166 @@ class ObjCBlock_ffiVoid_NSArray1 extends objc.ObjCBlockBase { void call(NSArray arg0) => pointer.ref.invoke .cast< ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer block, - ffi.Pointer arg0, - )>>() + ffi.Void Function(ffi.Pointer block, + ffi.Pointer arg0)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer)>()(pointer, arg0.pointer); } +late final _sel_getAllTasksWithCompletionHandler_ = + objc.registerName("getAllTasksWithCompletionHandler:"); +final _objc_msgSend_1059 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer completionHandler)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_dataTaskWithRequest_ = + objc.registerName("dataTaskWithRequest:"); +final _objc_msgSend_1060 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer request)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_dataTaskWithURL_ = objc.registerName("dataTaskWithURL:"); +final _objc_msgSend_1061 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer url)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); + class NSURLSessionUploadTask extends NSURLSessionDataTask { - NSURLSessionUploadTask._( - ffi.Pointer pointer, - SwiftLibrary lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSURLSessionUploadTask._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSURLSessionUploadTask] that points to the same underlying object as [other]. static NSURLSessionUploadTask castFrom( - SwiftLibrary lib, - T other, - ) { - return NSURLSessionUploadTask._( - other.pointer, - lib, - retain: true, - release: true, - ); + T other) { + return NSURLSessionUploadTask._(other.pointer, retain: true, release: true); } /// Returns a [NSURLSessionUploadTask] that wraps the given raw object pointer. static NSURLSessionUploadTask castFromPointer( - SwiftLibrary lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSURLSessionUploadTask._( - other, - lib, - retain: retain, - release: release, - ); + ffi.Pointer other, + {bool retain = false, + bool release = false}) { + return NSURLSessionUploadTask._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSURLSessionUploadTask]. - static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSURLSessionUploadTask1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0( + obj.pointer, _sel_isKindOfClass_, _class_NSURLSessionUploadTask); } @override NSURLSessionUploadTask init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSURLSessionUploadTask._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSURLSessionUploadTask._(_ret, retain: true, release: true); } - static NSURLSessionUploadTask new1(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLSessionUploadTask1, - _lib._sel_new1, - ); - return NSURLSessionUploadTask._(_ret, _lib, retain: false, release: true); + static NSURLSessionUploadTask new1() { + final _ret = _objc_msgSend_2(_class_NSURLSessionUploadTask, _sel_new); + return NSURLSessionUploadTask._(_ret, retain: false, release: true); } void cancelByProducingResumeData_( - ObjCBlock_ffiVoid_NSData completionHandler, - ) { - _lib._objc_msgSend_1062( - this.pointer, - _lib._sel_cancelByProducingResumeData_1, - completionHandler.pointer, - ); - } - - static NSURLSessionUploadTask allocWithZone_( - SwiftLibrary _lib, - ffi.Pointer<_NSZone> zone, - ) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSURLSessionUploadTask1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSURLSessionUploadTask._(_ret, _lib, retain: false, release: true); - } - - static NSURLSessionUploadTask alloc(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLSessionUploadTask1, - _lib._sel_alloc1, - ); - return NSURLSessionUploadTask._(_ret, _lib, retain: false, release: true); + ObjCBlock_ffiVoid_NSData completionHandler) { + _objc_msgSend_1062(this.pointer, _sel_cancelByProducingResumeData_, + completionHandler.pointer); + } + + static NSURLSessionUploadTask allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = _objc_msgSend_3( + _class_NSURLSessionUploadTask, _sel_allocWithZone_, zone); + return NSURLSessionUploadTask._(_ret, retain: false, release: true); + } + + static NSURLSessionUploadTask alloc() { + final _ret = _objc_msgSend_2(_class_NSURLSessionUploadTask, _sel_alloc); + return NSURLSessionUploadTask._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSURLSessionUploadTask1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSURLSessionUploadTask1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSURLSessionUploadTask1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSURLSessionUploadTask1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSURLSessionUploadTask1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSURLSessionUploadTask1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSURLSessionUploadTask, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); + } + + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSURLSessionUploadTask, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); + } + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSURLSessionUploadTask, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12( + _class_NSURLSessionUploadTask, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSURLSessionUploadTask, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSURLSessionUploadTask, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); } static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSURLSessionUploadTask1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSURLSessionUploadTask1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLSessionUploadTask1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSURLSessionUploadTask, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = _objc_msgSend_85( + _class_NSURLSessionUploadTask, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = _objc_msgSend_2( + _class_NSURLSessionUploadTask, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); } } +late final _class_NSURLSessionUploadTask = + objc.getClass("NSURLSessionUploadTask"); void _ObjCBlock_ffiVoid_NSData_fnPtrTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, -) => + ffi.Pointer block, ffi.Pointer arg0) => block.ref.target .cast< ffi.NativeFunction< @@ -88119,42 +54087,28 @@ final _ObjCBlock_ffiVoid_NSData_closureRegistry = )>{}; int _ObjCBlock_ffiVoid_NSData_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_ffiVoid_NSData_registerClosure( - void Function(ffi.Pointer) fn, -) { + void Function(ffi.Pointer) fn) { final id = ++_ObjCBlock_ffiVoid_NSData_closureRegistryIndex; _ObjCBlock_ffiVoid_NSData_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } void _ObjCBlock_ffiVoid_NSData_closureTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, -) => + ffi.Pointer block, ffi.Pointer arg0) => _ObjCBlock_ffiVoid_NSData_closureRegistry[block.ref.target.address]!(arg0); class ObjCBlock_ffiVoid_NSData extends objc.ObjCBlockBase { - ObjCBlock_ffiVoid_NSData._( - ffi.Pointer pointer, - this._lib, { - bool retain = false, - bool release = true, - }) : super(pointer, retain: retain, release: release); - - SwiftLibrary _lib; + ObjCBlock_ffiVoid_NSData._(ffi.Pointer pointer, + {bool retain = false, bool release = true}) + : super(pointer, retain: retain, release: release); /// Returns a block that wraps the given raw block pointer. static ObjCBlock_ffiVoid_NSData castFromPointer( - SwiftLibrary lib, - ffi.Pointer pointer, { - bool retain = false, - bool release = false, - }) { - return ObjCBlock_ffiVoid_NSData._( - pointer, - lib, - retain: retain, - release: release, - ); + ffi.Pointer pointer, + {bool retain = false, + bool release = false}) { + return ObjCBlock_ffiVoid_NSData._(pointer, + retain: retain, release: release); } /// Creates a block from a C function pointer. @@ -88163,22 +54117,17 @@ class ObjCBlock_ffiVoid_NSData extends objc.ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSData.fromFunctionPointer( - SwiftLibrary lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer arg0)>> - ptr, - ) : this._( - objc.newBlock( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - )>(_ObjCBlock_ffiVoid_NSData_fnPtrTrampoline) - .cast(), - ptr.cast(), - ), - lib); + ffi.Pointer< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer arg0)>> + ptr) + : this._(objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function(ffi.Pointer, + ffi.Pointer)>( + _ObjCBlock_ffiVoid_NSData_fnPtrTrampoline) + .cast(), + ptr.cast())); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -88186,27 +54135,17 @@ class ObjCBlock_ffiVoid_NSData extends objc.ObjCBlockBase { /// This block must be invoked by native code running on the same thread as /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. - ObjCBlock_ffiVoid_NSData.fromFunction( - SwiftLibrary lib, - void Function(NSData?) fn, - ) : this._( - objc.newBlock( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - )>(_ObjCBlock_ffiVoid_NSData_closureTrampoline) - .cast(), - _ObjCBlock_ffiVoid_NSData_registerClosure(( - ffi.Pointer arg0, - ) => - fn( - arg0.address == 0 - ? null - : NSData._(arg0, lib, retain: true, release: true), - )), - ), - lib); + ObjCBlock_ffiVoid_NSData.fromFunction(void Function(NSData?) fn) + : this._(objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function(ffi.Pointer, + ffi.Pointer)>( + _ObjCBlock_ffiVoid_NSData_closureTrampoline) + .cast(), + _ObjCBlock_ffiVoid_NSData_registerClosure( + (ffi.Pointer arg0) => fn(arg0.address == 0 + ? null + : NSData._(arg0, retain: true, release: true))))); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -88218,28 +54157,19 @@ class ObjCBlock_ffiVoid_NSData extends objc.ObjCBlockBase { /// /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. - ObjCBlock_ffiVoid_NSData.listener(SwiftLibrary lib, void Function(NSData?) fn) - : this._( - objc.newBlock( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - )>.listener( - _ObjCBlock_ffiVoid_NSData_closureTrampoline, - )..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSData_registerClosure(( - ffi.Pointer arg0, - ) => - fn( - arg0.address == 0 - ? null - : NSData._(arg0, lib, retain: true, release: true), - )), - ), - lib); + ObjCBlock_ffiVoid_NSData.listener(void Function(NSData?) fn) + : this._(objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function(ffi.Pointer, + ffi.Pointer)>.listener( + _ObjCBlock_ffiVoid_NSData_closureTrampoline) + ..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSData_registerClosure( + (ffi.Pointer arg0) => fn(arg0.address == 0 + ? null + : NSData._(arg0, retain: true, release: true))))); static ffi.NativeCallable< ffi.Void Function( ffi.Pointer, ffi.Pointer)>? @@ -88248,491 +54178,431 @@ class ObjCBlock_ffiVoid_NSData extends objc.ObjCBlockBase { void call(NSData? arg0) => pointer.ref.invoke .cast< ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer block, - ffi.Pointer arg0, - )>>() + ffi.Void Function(ffi.Pointer block, + ffi.Pointer arg0)>>() .asFunction< void Function( ffi.Pointer, ffi.Pointer)>()( pointer, arg0?.pointer ?? ffi.nullptr); } +late final _sel_cancelByProducingResumeData_ = + objc.registerName("cancelByProducingResumeData:"); +final _objc_msgSend_1062 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer completionHandler)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_uploadTaskWithRequest_fromFile_ = + objc.registerName("uploadTaskWithRequest:fromFile:"); +final _objc_msgSend_1063 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer request, + ffi.Pointer fileURL)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_uploadTaskWithRequest_fromData_ = + objc.registerName("uploadTaskWithRequest:fromData:"); +final _objc_msgSend_1064 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer request, + ffi.Pointer bodyData)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_uploadTaskWithResumeData_ = + objc.registerName("uploadTaskWithResumeData:"); +final _objc_msgSend_1065 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer resumeData)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_uploadTaskWithStreamedRequest_ = + objc.registerName("uploadTaskWithStreamedRequest:"); +final _objc_msgSend_1066 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer request)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); + class NSURLSessionDownloadTask extends NSURLSessionTask { - NSURLSessionDownloadTask._( - ffi.Pointer pointer, - SwiftLibrary lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSURLSessionDownloadTask._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSURLSessionDownloadTask] that points to the same underlying object as [other]. static NSURLSessionDownloadTask castFrom( - SwiftLibrary lib, - T other, - ) { - return NSURLSessionDownloadTask._( - other.pointer, - lib, - retain: true, - release: true, - ); + T other) { + return NSURLSessionDownloadTask._(other.pointer, + retain: true, release: true); } /// Returns a [NSURLSessionDownloadTask] that wraps the given raw object pointer. static NSURLSessionDownloadTask castFromPointer( - SwiftLibrary lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSURLSessionDownloadTask._( - other, - lib, - retain: retain, - release: release, - ); + ffi.Pointer other, + {bool retain = false, + bool release = false}) { + return NSURLSessionDownloadTask._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSURLSessionDownloadTask]. - static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSURLSessionDownloadTask1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0( + obj.pointer, _sel_isKindOfClass_, _class_NSURLSessionDownloadTask); } void cancelByProducingResumeData_( - ObjCBlock_ffiVoid_NSData completionHandler, - ) { - _lib._objc_msgSend_1062( - this.pointer, - _lib._sel_cancelByProducingResumeData_1, - completionHandler.pointer, - ); + ObjCBlock_ffiVoid_NSData completionHandler) { + _objc_msgSend_1062(this.pointer, _sel_cancelByProducingResumeData_, + completionHandler.pointer); } @override NSURLSessionDownloadTask init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSURLSessionDownloadTask._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSURLSessionDownloadTask._(_ret, retain: true, release: true); } - static NSURLSessionDownloadTask new1(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLSessionDownloadTask1, - _lib._sel_new1, - ); - return NSURLSessionDownloadTask._(_ret, _lib, retain: false, release: true); + static NSURLSessionDownloadTask new1() { + final _ret = _objc_msgSend_2(_class_NSURLSessionDownloadTask, _sel_new); + return NSURLSessionDownloadTask._(_ret, retain: false, release: true); } - static NSURLSessionDownloadTask allocWithZone_( - SwiftLibrary _lib, - ffi.Pointer<_NSZone> zone, - ) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSURLSessionDownloadTask1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSURLSessionDownloadTask._(_ret, _lib, retain: false, release: true); + static NSURLSessionDownloadTask allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = _objc_msgSend_3( + _class_NSURLSessionDownloadTask, _sel_allocWithZone_, zone); + return NSURLSessionDownloadTask._(_ret, retain: false, release: true); } - static NSURLSessionDownloadTask alloc(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLSessionDownloadTask1, - _lib._sel_alloc1, - ); - return NSURLSessionDownloadTask._(_ret, _lib, retain: false, release: true); + static NSURLSessionDownloadTask alloc() { + final _ret = _objc_msgSend_2(_class_NSURLSessionDownloadTask, _sel_alloc); + return NSURLSessionDownloadTask._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSURLSessionDownloadTask1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSURLSessionDownloadTask1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSURLSessionDownloadTask1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSURLSessionDownloadTask1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSURLSessionDownloadTask1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSURLSessionDownloadTask1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSURLSessionDownloadTask, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); } - static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSURLSessionDownloadTask1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSURLSessionDownloadTask1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLSessionDownloadTask1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSURLSessionDownloadTask, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); } -} + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSURLSessionDownloadTask, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12( + _class_NSURLSessionDownloadTask, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSURLSessionDownloadTask, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSURLSessionDownloadTask, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); + } + + static void setKeys_triggerChangeNotificationsForDependentKey_( + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSURLSessionDownloadTask, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = _objc_msgSend_85( + _class_NSURLSessionDownloadTask, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = _objc_msgSend_2( + _class_NSURLSessionDownloadTask, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); + } +} + +late final _class_NSURLSessionDownloadTask = + objc.getClass("NSURLSessionDownloadTask"); +late final _sel_downloadTaskWithRequest_ = + objc.registerName("downloadTaskWithRequest:"); +final _objc_msgSend_1067 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer request)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_downloadTaskWithURL_ = + objc.registerName("downloadTaskWithURL:"); +final _objc_msgSend_1068 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer url)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_downloadTaskWithResumeData_ = + objc.registerName("downloadTaskWithResumeData:"); +final _objc_msgSend_1069 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer resumeData)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); class NSURLSessionStreamTask extends NSURLSessionTask { - NSURLSessionStreamTask._( - ffi.Pointer pointer, - SwiftLibrary lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSURLSessionStreamTask._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSURLSessionStreamTask] that points to the same underlying object as [other]. static NSURLSessionStreamTask castFrom( - SwiftLibrary lib, - T other, - ) { - return NSURLSessionStreamTask._( - other.pointer, - lib, - retain: true, - release: true, - ); + T other) { + return NSURLSessionStreamTask._(other.pointer, retain: true, release: true); } /// Returns a [NSURLSessionStreamTask] that wraps the given raw object pointer. static NSURLSessionStreamTask castFromPointer( - SwiftLibrary lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSURLSessionStreamTask._( - other, - lib, - retain: retain, - release: release, - ); + ffi.Pointer other, + {bool retain = false, + bool release = false}) { + return NSURLSessionStreamTask._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSURLSessionStreamTask]. - static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSURLSessionStreamTask1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0( + obj.pointer, _sel_isKindOfClass_, _class_NSURLSessionStreamTask); } void readDataOfMinLength_maxLength_timeout_completionHandler_( - int minBytes, - int maxBytes, - double timeout, - ObjCBlock_ffiVoid_NSData_bool_NSError completionHandler, - ) { - _lib._objc_msgSend_1070( - this.pointer, - _lib._sel_readDataOfMinLength_maxLength_timeout_completionHandler_1, - minBytes, - maxBytes, - timeout, - completionHandler.pointer, - ); - } - - void writeData_timeout_completionHandler_( - NSData data, - double timeout, - ObjCBlock_ffiVoid_NSError completionHandler, - ) { - _lib._objc_msgSend_1071( - this.pointer, - _lib._sel_writeData_timeout_completionHandler_1, - data.pointer, - timeout, - completionHandler.pointer, - ); + int minBytes, + int maxBytes, + double timeout, + ObjCBlock_ffiVoid_NSData_bool_NSError completionHandler) { + _objc_msgSend_1070( + this.pointer, + _sel_readDataOfMinLength_maxLength_timeout_completionHandler_, + minBytes, + maxBytes, + timeout, + completionHandler.pointer); + } + + void writeData_timeout_completionHandler_(NSData data, double timeout, + ObjCBlock_ffiVoid_NSError completionHandler) { + _objc_msgSend_1071(this.pointer, _sel_writeData_timeout_completionHandler_, + data.pointer, timeout, completionHandler.pointer); } void captureStreams() { - _lib._objc_msgSend_1(this.pointer, _lib._sel_captureStreams1); + _objc_msgSend_1(this.pointer, _sel_captureStreams); } void closeWrite() { - _lib._objc_msgSend_1(this.pointer, _lib._sel_closeWrite1); + _objc_msgSend_1(this.pointer, _sel_closeWrite); } void closeRead() { - _lib._objc_msgSend_1(this.pointer, _lib._sel_closeRead1); + _objc_msgSend_1(this.pointer, _sel_closeRead); } void startSecureConnection() { - _lib._objc_msgSend_1(this.pointer, _lib._sel_startSecureConnection1); + _objc_msgSend_1(this.pointer, _sel_startSecureConnection); } void stopSecureConnection() { - _lib._objc_msgSend_1(this.pointer, _lib._sel_stopSecureConnection1); + _objc_msgSend_1(this.pointer, _sel_stopSecureConnection); } @override NSURLSessionStreamTask init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSURLSessionStreamTask._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSURLSessionStreamTask._(_ret, retain: true, release: true); } - static NSURLSessionStreamTask new1(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLSessionStreamTask1, - _lib._sel_new1, - ); - return NSURLSessionStreamTask._(_ret, _lib, retain: false, release: true); + static NSURLSessionStreamTask new1() { + final _ret = _objc_msgSend_2(_class_NSURLSessionStreamTask, _sel_new); + return NSURLSessionStreamTask._(_ret, retain: false, release: true); } - static NSURLSessionStreamTask allocWithZone_( - SwiftLibrary _lib, - ffi.Pointer<_NSZone> zone, - ) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSURLSessionStreamTask1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSURLSessionStreamTask._(_ret, _lib, retain: false, release: true); + static NSURLSessionStreamTask allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = _objc_msgSend_3( + _class_NSURLSessionStreamTask, _sel_allocWithZone_, zone); + return NSURLSessionStreamTask._(_ret, retain: false, release: true); } - static NSURLSessionStreamTask alloc(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLSessionStreamTask1, - _lib._sel_alloc1, - ); - return NSURLSessionStreamTask._(_ret, _lib, retain: false, release: true); + static NSURLSessionStreamTask alloc() { + final _ret = _objc_msgSend_2(_class_NSURLSessionStreamTask, _sel_alloc); + return NSURLSessionStreamTask._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSURLSessionStreamTask1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSURLSessionStreamTask1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSURLSessionStreamTask1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSURLSessionStreamTask1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSURLSessionStreamTask1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSURLSessionStreamTask1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSURLSessionStreamTask, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); + } + + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSURLSessionStreamTask, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); + } + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSURLSessionStreamTask, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12( + _class_NSURLSessionStreamTask, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSURLSessionStreamTask, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSURLSessionStreamTask, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); } static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSURLSessionStreamTask1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSURLSessionStreamTask1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLSessionStreamTask1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSURLSessionStreamTask, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = _objc_msgSend_85( + _class_NSURLSessionStreamTask, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = _objc_msgSend_2( + _class_NSURLSessionStreamTask, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); } } +late final _class_NSURLSessionStreamTask = + objc.getClass("NSURLSessionStreamTask"); void _ObjCBlock_ffiVoid_NSData_bool_NSError_fnPtrTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, - bool arg1, - ffi.Pointer arg2, -) => + ffi.Pointer block, + ffi.Pointer arg0, + bool arg1, + ffi.Pointer arg2) => block.ref.target .cast< ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.Bool arg1, - ffi.Pointer arg2, - )>>() + ffi.Void Function(ffi.Pointer arg0, + ffi.Bool arg1, ffi.Pointer arg2)>>() .asFunction< - void Function( - ffi.Pointer, - bool, - ffi.Pointer, - )>()(arg0, arg1, arg2); + void Function(ffi.Pointer, bool, + ffi.Pointer)>()(arg0, arg1, arg2); final _ObjCBlock_ffiVoid_NSData_bool_NSError_closureRegistry = , - bool, - ffi.Pointer, -)>{}; + ffi.Pointer, bool, ffi.Pointer)>{}; int _ObjCBlock_ffiVoid_NSData_bool_NSError_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_ffiVoid_NSData_bool_NSError_registerClosure( - void Function( - ffi.Pointer, - bool, - ffi.Pointer, - ) fn, -) { + void Function( + ffi.Pointer, bool, ffi.Pointer) + fn) { final id = ++_ObjCBlock_ffiVoid_NSData_bool_NSError_closureRegistryIndex; _ObjCBlock_ffiVoid_NSData_bool_NSError_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } void _ObjCBlock_ffiVoid_NSData_bool_NSError_closureTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, - bool arg1, - ffi.Pointer arg2, -) => + ffi.Pointer block, + ffi.Pointer arg0, + bool arg1, + ffi.Pointer arg2) => _ObjCBlock_ffiVoid_NSData_bool_NSError_closureRegistry[ block.ref.target.address]!(arg0, arg1, arg2); class ObjCBlock_ffiVoid_NSData_bool_NSError extends objc.ObjCBlockBase { - ObjCBlock_ffiVoid_NSData_bool_NSError._( - ffi.Pointer pointer, - this._lib, { - bool retain = false, - bool release = true, - }) : super(pointer, retain: retain, release: release); - - SwiftLibrary _lib; + ObjCBlock_ffiVoid_NSData_bool_NSError._(ffi.Pointer pointer, + {bool retain = false, bool release = true}) + : super(pointer, retain: retain, release: release); /// Returns a block that wraps the given raw block pointer. static ObjCBlock_ffiVoid_NSData_bool_NSError castFromPointer( - SwiftLibrary lib, - ffi.Pointer pointer, { - bool retain = false, - bool release = false, - }) { - return ObjCBlock_ffiVoid_NSData_bool_NSError._( - pointer, - lib, - retain: retain, - release: release, - ); + ffi.Pointer pointer, + {bool retain = false, + bool release = false}) { + return ObjCBlock_ffiVoid_NSData_bool_NSError._(pointer, + retain: retain, release: release); } /// Creates a block from a C function pointer. @@ -88741,28 +54611,21 @@ class ObjCBlock_ffiVoid_NSData_bool_NSError extends objc.ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSData_bool_NSError.fromFunctionPointer( - SwiftLibrary lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.Bool arg1, - ffi.Pointer arg2, - )>> - ptr, - ) : this._( - objc.newBlock( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - ffi.Pointer, - )>(_ObjCBlock_ffiVoid_NSData_bool_NSError_fnPtrTrampoline) - .cast(), - ptr.cast(), - ), - lib); + ffi.Pointer< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer arg0, + ffi.Bool arg1, ffi.Pointer arg2)>> + ptr) + : this._(objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.Pointer)>( + _ObjCBlock_ffiVoid_NSData_bool_NSError_fnPtrTrampoline) + .cast(), + ptr.cast())); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -88771,33 +54634,20 @@ class ObjCBlock_ffiVoid_NSData_bool_NSError extends objc.ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSData_bool_NSError.fromFunction( - SwiftLibrary lib, - void Function(NSData, bool, NSError?) fn, - ) : this._( - objc.newBlock( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( + void Function(NSData, bool, NSError?) fn) + : this._(objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( ffi.Pointer, ffi.Pointer, ffi.Bool, - ffi.Pointer, - )>( - _ObjCBlock_ffiVoid_NSData_bool_NSError_closureTrampoline) - .cast(), - _ObjCBlock_ffiVoid_NSData_bool_NSError_registerClosure(( - ffi.Pointer arg0, - bool arg1, - ffi.Pointer arg2, - ) => - fn( - NSData._(arg0, lib, retain: true, release: true), - arg1, - arg2.address == 0 - ? null - : NSError._(arg2, lib, retain: true, release: true), - )), - ), - lib); + ffi.Pointer)>( + _ObjCBlock_ffiVoid_NSData_bool_NSError_closureTrampoline) + .cast(), + _ObjCBlock_ffiVoid_NSData_bool_NSError_registerClosure( + (ffi.Pointer arg0, bool arg1, + ffi.Pointer arg2) => + fn(NSData._(arg0, retain: true, release: true), arg1, arg2.address == 0 ? null : NSError._(arg2, retain: true, release: true))))); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -88810,931 +54660,820 @@ class ObjCBlock_ffiVoid_NSData_bool_NSError extends objc.ObjCBlockBase { /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. ObjCBlock_ffiVoid_NSData_bool_NSError.listener( - SwiftLibrary lib, - void Function(NSData, bool, NSError?) fn, - ) : this._( - objc.newBlock( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - ffi.Pointer, - )>.listener( - _ObjCBlock_ffiVoid_NSData_bool_NSError_closureTrampoline, - )..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSData_bool_NSError_registerClosure(( - ffi.Pointer arg0, - bool arg1, - ffi.Pointer arg2, - ) => - fn( - NSData._(arg0, lib, retain: true, release: true), - arg1, - arg2.address == 0 - ? null - : NSError._(arg2, lib, retain: true, release: true), - )), - ), - lib); + void Function(NSData, bool, NSError?) fn) + : this._(objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.Pointer)>.listener( + _ObjCBlock_ffiVoid_NSData_bool_NSError_closureTrampoline) + ..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSData_bool_NSError_registerClosure( + (ffi.Pointer arg0, bool arg1, + ffi.Pointer arg2) => + fn(NSData._(arg0, retain: true, release: true), arg1, arg2.address == 0 ? null : NSError._(arg2, retain: true, release: true))))); static ffi.NativeCallable< ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - ffi.Pointer, - )>? _dartFuncListenerTrampoline; + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.Pointer)>? _dartFuncListenerTrampoline; void call(NSData arg0, bool arg1, NSError? arg2) => pointer.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Bool arg1, - ffi.Pointer arg2, - )>>() - .asFunction< - void Function( - ffi.Pointer, + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Bool arg1, + ffi.Pointer arg2)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + bool, + ffi.Pointer)>()( + pointer, arg0.pointer, arg1, arg2?.pointer ?? ffi.nullptr); +} + +late final _sel_readDataOfMinLength_maxLength_timeout_completionHandler_ = objc + .registerName("readDataOfMinLength:maxLength:timeout:completionHandler:"); +final _objc_msgSend_1070 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.UnsignedLong minBytes, + ffi.UnsignedLong maxBytes, + ffi.Double timeout, + ffi.Pointer completionHandler)>>() + .asFunction< + void Function( ffi.Pointer, - bool, + ffi.Pointer, + int, + int, + double, + ffi.Pointer)>(); +late final _sel_writeData_timeout_completionHandler_ = + objc.registerName("writeData:timeout:completionHandler:"); +final _objc_msgSend_1071 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer data, + ffi.Double timeout, + ffi.Pointer completionHandler)>>() + .asFunction< + void Function( ffi.Pointer, - )>()(pointer, arg0.pointer, arg1, arg2?.pointer ?? ffi.nullptr); -} + ffi.Pointer, + ffi.Pointer, + double, + ffi.Pointer)>(); +late final _sel_captureStreams = objc.registerName("captureStreams"); +late final _sel_closeWrite = objc.registerName("closeWrite"); +late final _sel_closeRead = objc.registerName("closeRead"); +late final _sel_startSecureConnection = + objc.registerName("startSecureConnection"); +late final _sel_stopSecureConnection = + objc.registerName("stopSecureConnection"); +late final _sel_streamTaskWithHostName_port_ = + objc.registerName("streamTaskWithHostName:port:"); +final _objc_msgSend_1072 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer hostname, + ffi.Long port)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int)>(); class NSNetService extends NSObject { - NSNetService._( - ffi.Pointer pointer, - SwiftLibrary lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSNetService._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSNetService] that points to the same underlying object as [other]. - static NSNetService castFrom( - SwiftLibrary lib, - T other, - ) { - return NSNetService._(other.pointer, lib, retain: true, release: true); + static NSNetService castFrom(T other) { + return NSNetService._(other.pointer, retain: true, release: true); } /// Returns a [NSNetService] that wraps the given raw object pointer. - static NSNetService castFromPointer( - SwiftLibrary lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSNetService._(other, lib, retain: retain, release: release); + static NSNetService castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSNetService._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSNetService]. - static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSNetService1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0( + obj.pointer, _sel_isKindOfClass_, _class_NSNetService); } NSNetService initWithDomain_type_name_port_( - NSString domain, - NSString type, - NSString name, - int port, - ) { - final _ret = _lib._objc_msgSend_1073( - this.pointer, - _lib._sel_initWithDomain_type_name_port_1, - domain.pointer, - type.pointer, - name.pointer, - port, - ); - return NSNetService._(_ret, _lib, retain: true, release: true); + NSString domain, NSString type, NSString name, int port) { + final _ret = _objc_msgSend_1073( + this.pointer, + _sel_initWithDomain_type_name_port_, + domain.pointer, + type.pointer, + name.pointer, + port); + return NSNetService._(_ret, retain: true, release: true); } NSNetService initWithDomain_type_name_( - NSString domain, - NSString type, - NSString name, - ) { - final _ret = _lib._objc_msgSend_1074( - this.pointer, - _lib._sel_initWithDomain_type_name_1, - domain.pointer, - type.pointer, - name.pointer, - ); - return NSNetService._(_ret, _lib, retain: true, release: true); + NSString domain, NSString type, NSString name) { + final _ret = _objc_msgSend_1074( + this.pointer, + _sel_initWithDomain_type_name_, + domain.pointer, + type.pointer, + name.pointer); + return NSNetService._(_ret, retain: true, release: true); } void scheduleInRunLoop_forMode_(NSRunLoop aRunLoop, NSString mode) { - _lib._objc_msgSend_569( - this.pointer, - _lib._sel_scheduleInRunLoop_forMode_1, - aRunLoop.pointer, - mode.pointer, - ); + _objc_msgSend_569(this.pointer, _sel_scheduleInRunLoop_forMode_, + aRunLoop.pointer, mode.pointer); } void removeFromRunLoop_forMode_(NSRunLoop aRunLoop, NSString mode) { - _lib._objc_msgSend_569( - this.pointer, - _lib._sel_removeFromRunLoop_forMode_1, - aRunLoop.pointer, - mode.pointer, - ); + _objc_msgSend_569(this.pointer, _sel_removeFromRunLoop_forMode_, + aRunLoop.pointer, mode.pointer); } NSObject? get delegate { - final _ret = _lib._objc_msgSend_17(this.pointer, _lib._sel_delegate1); + final _ret = _objc_msgSend_17(this.pointer, _sel_delegate); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } set delegate(NSObject? value) { - return _lib._objc_msgSend_416( - this.pointer, - _lib._sel_setDelegate_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_416( + this.pointer, _sel_setDelegate_, value?.pointer ?? ffi.nullptr); } bool get includesPeerToPeer { - return _lib._objc_msgSend_12(this.pointer, _lib._sel_includesPeerToPeer1); + return _objc_msgSend_12(this.pointer, _sel_includesPeerToPeer); } set includesPeerToPeer(bool value) { - return _lib._objc_msgSend_527( - this.pointer, - _lib._sel_setIncludesPeerToPeer_1, - value, - ); + return _objc_msgSend_527(this.pointer, _sel_setIncludesPeerToPeer_, value); } NSString get name { - final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_name1); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_name); + return NSString._(_ret, retain: true, release: true); } NSString get type { - final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_type1); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_type); + return NSString._(_ret, retain: true, release: true); } NSString get domain { - final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_domain1); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_domain); + return NSString._(_ret, retain: true, release: true); } NSString? get hostName { - final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_hostName1); + final _ret = _objc_msgSend_44(this.pointer, _sel_hostName); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } NSArray? get addresses { - final _ret = _lib._objc_msgSend_84(this.pointer, _lib._sel_addresses1); + final _ret = _objc_msgSend_84(this.pointer, _sel_addresses); return _ret.address == 0 ? null - : NSArray._(_ret, _lib, retain: true, release: true); + : NSArray._(_ret, retain: true, release: true); } int get port { - return _lib._objc_msgSend_83(this.pointer, _lib._sel_port1); + return _objc_msgSend_83(this.pointer, _sel_port); } void publish() { - _lib._objc_msgSend_1(this.pointer, _lib._sel_publish1); + _objc_msgSend_1(this.pointer, _sel_publish); } void publishWithOptions_(int options) { - _lib._objc_msgSend_1075( - this.pointer, - _lib._sel_publishWithOptions_1, - options, - ); + _objc_msgSend_1075(this.pointer, _sel_publishWithOptions_, options); } void resolve() { - _lib._objc_msgSend_1(this.pointer, _lib._sel_resolve1); + _objc_msgSend_1(this.pointer, _sel_resolve); } void stop() { - _lib._objc_msgSend_1(this.pointer, _lib._sel_stop1); + _objc_msgSend_1(this.pointer, _sel_stop); } - static NSDictionary dictionaryFromTXTRecordData_( - SwiftLibrary _lib, - NSData txtData, - ) { - final _ret = _lib._objc_msgSend_1076( - _lib._class_NSNetService1, - _lib._sel_dictionaryFromTXTRecordData_1, - txtData.pointer, - ); - return NSDictionary._(_ret, _lib, retain: true, release: true); + static NSDictionary dictionaryFromTXTRecordData_(NSData txtData) { + final _ret = _objc_msgSend_1076(_class_NSNetService, + _sel_dictionaryFromTXTRecordData_, txtData.pointer); + return NSDictionary._(_ret, retain: true, release: true); } - static NSData dataFromTXTRecordDictionary_( - SwiftLibrary _lib, - NSDictionary txtDictionary, - ) { - final _ret = _lib._objc_msgSend_1077( - _lib._class_NSNetService1, - _lib._sel_dataFromTXTRecordDictionary_1, - txtDictionary.pointer, - ); - return NSData._(_ret, _lib, retain: true, release: true); + static NSData dataFromTXTRecordDictionary_(NSDictionary txtDictionary) { + final _ret = _objc_msgSend_1077(_class_NSNetService, + _sel_dataFromTXTRecordDictionary_, txtDictionary.pointer); + return NSData._(_ret, retain: true, release: true); } void resolveWithTimeout_(double timeout) { - _lib._objc_msgSend_541( - this.pointer, - _lib._sel_resolveWithTimeout_1, - timeout, - ); + _objc_msgSend_541(this.pointer, _sel_resolveWithTimeout_, timeout); } bool getInputStream_outputStream_( - ffi.Pointer> inputStream, - ffi.Pointer> outputStream, - ) { - return _lib._objc_msgSend_1078( - this.pointer, - _lib._sel_getInputStream_outputStream_1, - inputStream, - outputStream, - ); + ffi.Pointer> inputStream, + ffi.Pointer> outputStream) { + return _objc_msgSend_1078(this.pointer, _sel_getInputStream_outputStream_, + inputStream, outputStream); } bool setTXTRecordData_(NSData? recordData) { - return _lib._objc_msgSend_1079( - this.pointer, - _lib._sel_setTXTRecordData_1, - recordData?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_1079(this.pointer, _sel_setTXTRecordData_, + recordData?.pointer ?? ffi.nullptr); } NSData? TXTRecordData() { - final _ret = _lib._objc_msgSend_286(this.pointer, _lib._sel_TXTRecordData1); + final _ret = _objc_msgSend_286(this.pointer, _sel_TXTRecordData); return _ret.address == 0 ? null - : NSData._(_ret, _lib, retain: true, release: true); + : NSData._(_ret, retain: true, release: true); } void startMonitoring() { - _lib._objc_msgSend_1(this.pointer, _lib._sel_startMonitoring1); + _objc_msgSend_1(this.pointer, _sel_startMonitoring); } void stopMonitoring() { - _lib._objc_msgSend_1(this.pointer, _lib._sel_stopMonitoring1); + _objc_msgSend_1(this.pointer, _sel_stopMonitoring); } @override NSNetService init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSNetService._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSNetService._(_ret, retain: true, release: true); } - static NSNetService new1(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSNetService1, - _lib._sel_new1, - ); - return NSNetService._(_ret, _lib, retain: false, release: true); + static NSNetService new1() { + final _ret = _objc_msgSend_2(_class_NSNetService, _sel_new); + return NSNetService._(_ret, retain: false, release: true); } - static NSNetService allocWithZone_( - SwiftLibrary _lib, - ffi.Pointer<_NSZone> zone, - ) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSNetService1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSNetService._(_ret, _lib, retain: false, release: true); + static NSNetService allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = + _objc_msgSend_3(_class_NSNetService, _sel_allocWithZone_, zone); + return NSNetService._(_ret, retain: false, release: true); } - static NSNetService alloc(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSNetService1, - _lib._sel_alloc1, - ); - return NSNetService._(_ret, _lib, retain: false, release: true); + static NSNetService alloc() { + final _ret = _objc_msgSend_2(_class_NSNetService, _sel_alloc); + return NSNetService._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSNetService1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSNetService1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSNetService1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSNetService1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSNetService1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSNetService1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSNetService, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); + } + + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSNetService, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); + } + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSNetService, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSNetService, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSNetService, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSNetService, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); } static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSNetService1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSNetService1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSNetService1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSNetService, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = _objc_msgSend_85( + _class_NSNetService, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = + _objc_msgSend_2(_class_NSNetService, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); } } +late final _class_NSNetService = objc.getClass("NSNetService"); +late final _sel_initWithDomain_type_name_port_ = + objc.registerName("initWithDomain:type:name:port:"); +final _objc_msgSend_1073 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer domain, + ffi.Pointer type, + ffi.Pointer name, + ffi.Int port)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int)>(); +late final _sel_initWithDomain_type_name_ = + objc.registerName("initWithDomain:type:name:"); +final _objc_msgSend_1074 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer domain, + ffi.Pointer type, + ffi.Pointer name)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_includesPeerToPeer = objc.registerName("includesPeerToPeer"); +late final _sel_setIncludesPeerToPeer_ = + objc.registerName("setIncludesPeerToPeer:"); +late final _sel_type = objc.registerName("type"); + abstract class NSNetServiceOptions { static const int NSNetServiceNoAutoRename = 1; static const int NSNetServiceListenForConnections = 2; } +late final _sel_publishWithOptions_ = objc.registerName("publishWithOptions:"); +final _objc_msgSend_1075 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer obj, + ffi.Pointer sel, ffi.Int32 options)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, int)>(); +late final _sel_resolve = objc.registerName("resolve"); +late final _sel_stop = objc.registerName("stop"); +late final _sel_dictionaryFromTXTRecordData_ = + objc.registerName("dictionaryFromTXTRecordData:"); +final _objc_msgSend_1076 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer txtData)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_dataFromTXTRecordDictionary_ = + objc.registerName("dataFromTXTRecordDictionary:"); +final _objc_msgSend_1077 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer txtDictionary)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_resolveWithTimeout_ = objc.registerName("resolveWithTimeout:"); +late final _sel_getInputStream_outputStream_ = + objc.registerName("getInputStream:outputStream:"); +final _objc_msgSend_1078 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer> inputStream, + ffi.Pointer> outputStream)>>() + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer>)>(); +late final _sel_setTXTRecordData_ = objc.registerName("setTXTRecordData:"); +final _objc_msgSend_1079 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer recordData)>>() + .asFunction< + bool Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_TXTRecordData = objc.registerName("TXTRecordData"); +late final _sel_startMonitoring = objc.registerName("startMonitoring"); +late final _sel_stopMonitoring = objc.registerName("stopMonitoring"); +late final _sel_streamTaskWithNetService_ = + objc.registerName("streamTaskWithNetService:"); +final _objc_msgSend_1080 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer service)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); + class NSURLSessionWebSocketTask extends NSURLSessionTask { - NSURLSessionWebSocketTask._( - ffi.Pointer pointer, - SwiftLibrary lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSURLSessionWebSocketTask._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSURLSessionWebSocketTask] that points to the same underlying object as [other]. static NSURLSessionWebSocketTask castFrom( - SwiftLibrary lib, - T other, - ) { - return NSURLSessionWebSocketTask._( - other.pointer, - lib, - retain: true, - release: true, - ); + T other) { + return NSURLSessionWebSocketTask._(other.pointer, + retain: true, release: true); } /// Returns a [NSURLSessionWebSocketTask] that wraps the given raw object pointer. static NSURLSessionWebSocketTask castFromPointer( - SwiftLibrary lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSURLSessionWebSocketTask._( - other, - lib, - retain: retain, - release: release, - ); + ffi.Pointer other, + {bool retain = false, + bool release = false}) { + return NSURLSessionWebSocketTask._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSURLSessionWebSocketTask]. - static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSURLSessionWebSocketTask1, - ); - } - - void sendMessage_completionHandler_( - NSURLSessionWebSocketMessage message, - ObjCBlock_ffiVoid_NSError completionHandler, - ) { - _lib._objc_msgSend_1082( - this.pointer, - _lib._sel_sendMessage_completionHandler_1, - message.pointer, - completionHandler.pointer, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0( + obj.pointer, _sel_isKindOfClass_, _class_NSURLSessionWebSocketTask); + } + + void sendMessage_completionHandler_(NSURLSessionWebSocketMessage message, + ObjCBlock_ffiVoid_NSError completionHandler) { + _objc_msgSend_1082(this.pointer, _sel_sendMessage_completionHandler_, + message.pointer, completionHandler.pointer); } void receiveMessageWithCompletionHandler_( - ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError completionHandler, - ) { - _lib._objc_msgSend_1083( - this.pointer, - _lib._sel_receiveMessageWithCompletionHandler_1, - completionHandler.pointer, - ); + ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError + completionHandler) { + _objc_msgSend_1083(this.pointer, _sel_receiveMessageWithCompletionHandler_, + completionHandler.pointer); } void sendPingWithPongReceiveHandler_( - ObjCBlock_ffiVoid_NSError pongReceiveHandler, - ) { - _lib._objc_msgSend_1084( - this.pointer, - _lib._sel_sendPingWithPongReceiveHandler_1, - pongReceiveHandler.pointer, - ); + ObjCBlock_ffiVoid_NSError pongReceiveHandler) { + _objc_msgSend_1084(this.pointer, _sel_sendPingWithPongReceiveHandler_, + pongReceiveHandler.pointer); } void cancelWithCloseCode_reason_(int closeCode, NSData? reason) { - _lib._objc_msgSend_1085( - this.pointer, - _lib._sel_cancelWithCloseCode_reason_1, - closeCode, - reason?.pointer ?? ffi.nullptr, - ); + _objc_msgSend_1085(this.pointer, _sel_cancelWithCloseCode_reason_, + closeCode, reason?.pointer ?? ffi.nullptr); } int get maximumMessageSize { - return _lib._objc_msgSend_83(this.pointer, _lib._sel_maximumMessageSize1); + return _objc_msgSend_83(this.pointer, _sel_maximumMessageSize); } set maximumMessageSize(int value) { - return _lib._objc_msgSend_635( - this.pointer, - _lib._sel_setMaximumMessageSize_1, - value, - ); + return _objc_msgSend_635(this.pointer, _sel_setMaximumMessageSize_, value); } int get closeCode { - return _lib._objc_msgSend_1086(this.pointer, _lib._sel_closeCode1); + return _objc_msgSend_1086(this.pointer, _sel_closeCode); } NSData? get closeReason { - final _ret = _lib._objc_msgSend_286(this.pointer, _lib._sel_closeReason1); + final _ret = _objc_msgSend_286(this.pointer, _sel_closeReason); return _ret.address == 0 ? null - : NSData._(_ret, _lib, retain: true, release: true); + : NSData._(_ret, retain: true, release: true); } @override NSURLSessionWebSocketTask init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSURLSessionWebSocketTask._(_ret, _lib, retain: true, release: true); - } - - static NSURLSessionWebSocketTask new1(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLSessionWebSocketTask1, - _lib._sel_new1, - ); - return NSURLSessionWebSocketTask._( - _ret, - _lib, - retain: false, - release: true, - ); - } - - static NSURLSessionWebSocketTask allocWithZone_( - SwiftLibrary _lib, - ffi.Pointer<_NSZone> zone, - ) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSURLSessionWebSocketTask1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSURLSessionWebSocketTask._( - _ret, - _lib, - retain: false, - release: true, - ); - } - - static NSURLSessionWebSocketTask alloc(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLSessionWebSocketTask1, - _lib._sel_alloc1, - ); - return NSURLSessionWebSocketTask._( - _ret, - _lib, - retain: false, - release: true, - ); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSURLSessionWebSocketTask._(_ret, retain: true, release: true); + } + + static NSURLSessionWebSocketTask new1() { + final _ret = _objc_msgSend_2(_class_NSURLSessionWebSocketTask, _sel_new); + return NSURLSessionWebSocketTask._(_ret, retain: false, release: true); + } + + static NSURLSessionWebSocketTask allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = _objc_msgSend_3( + _class_NSURLSessionWebSocketTask, _sel_allocWithZone_, zone); + return NSURLSessionWebSocketTask._(_ret, retain: false, release: true); + } + + static NSURLSessionWebSocketTask alloc() { + final _ret = _objc_msgSend_2(_class_NSURLSessionWebSocketTask, _sel_alloc); + return NSURLSessionWebSocketTask._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSURLSessionWebSocketTask1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSURLSessionWebSocketTask1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSURLSessionWebSocketTask1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSURLSessionWebSocketTask1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSURLSessionWebSocketTask1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSURLSessionWebSocketTask1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSURLSessionWebSocketTask, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); + } + + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSURLSessionWebSocketTask, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); + } + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSURLSessionWebSocketTask, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12( + _class_NSURLSessionWebSocketTask, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSURLSessionWebSocketTask, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSURLSessionWebSocketTask, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); } static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSURLSessionWebSocketTask1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSURLSessionWebSocketTask1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLSessionWebSocketTask1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSURLSessionWebSocketTask, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = _objc_msgSend_85( + _class_NSURLSessionWebSocketTask, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = _objc_msgSend_2( + _class_NSURLSessionWebSocketTask, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); } } +late final _class_NSURLSessionWebSocketTask = + objc.getClass("NSURLSessionWebSocketTask"); + class NSURLSessionWebSocketMessage extends NSObject { - NSURLSessionWebSocketMessage._( - ffi.Pointer pointer, - SwiftLibrary lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSURLSessionWebSocketMessage._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSURLSessionWebSocketMessage] that points to the same underlying object as [other]. static NSURLSessionWebSocketMessage castFrom( - SwiftLibrary lib, - T other, - ) { - return NSURLSessionWebSocketMessage._( - other.pointer, - lib, - retain: true, - release: true, - ); + T other) { + return NSURLSessionWebSocketMessage._(other.pointer, + retain: true, release: true); } /// Returns a [NSURLSessionWebSocketMessage] that wraps the given raw object pointer. static NSURLSessionWebSocketMessage castFromPointer( - SwiftLibrary lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSURLSessionWebSocketMessage._( - other, - lib, - retain: retain, - release: release, - ); + ffi.Pointer other, + {bool retain = false, + bool release = false}) { + return NSURLSessionWebSocketMessage._(other, + retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSURLSessionWebSocketMessage]. - static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSURLSessionWebSocketMessage1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0( + obj.pointer, _sel_isKindOfClass_, _class_NSURLSessionWebSocketMessage); } NSURLSessionWebSocketMessage initWithData_(NSData data) { - final _ret = _lib._objc_msgSend_279( - this.pointer, - _lib._sel_initWithData_1, - data.pointer, - ); - return NSURLSessionWebSocketMessage._( - _ret, - _lib, - retain: true, - release: true, - ); + final _ret = + _objc_msgSend_279(this.pointer, _sel_initWithData_, data.pointer); + return NSURLSessionWebSocketMessage._(_ret, retain: true, release: true); } NSURLSessionWebSocketMessage initWithString_(NSString string) { - final _ret = _lib._objc_msgSend_31( - this.pointer, - _lib._sel_initWithString_1, - string.pointer, - ); - return NSURLSessionWebSocketMessage._( - _ret, - _lib, - retain: true, - release: true, - ); + final _ret = + _objc_msgSend_31(this.pointer, _sel_initWithString_, string.pointer); + return NSURLSessionWebSocketMessage._(_ret, retain: true, release: true); } int get type { - return _lib._objc_msgSend_1081(this.pointer, _lib._sel_type1); + return _objc_msgSend_1081(this.pointer, _sel_type); } NSData? get data { - final _ret = _lib._objc_msgSend_286(this.pointer, _lib._sel_data1); + final _ret = _objc_msgSend_286(this.pointer, _sel_data); return _ret.address == 0 ? null - : NSData._(_ret, _lib, retain: true, release: true); + : NSData._(_ret, retain: true, release: true); } NSString? get string { - final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_string1); + final _ret = _objc_msgSend_44(this.pointer, _sel_string); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } @override NSURLSessionWebSocketMessage init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSURLSessionWebSocketMessage._( - _ret, - _lib, - retain: true, - release: true, - ); - } - - static NSURLSessionWebSocketMessage new1(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLSessionWebSocketMessage1, - _lib._sel_new1, - ); - return NSURLSessionWebSocketMessage._( - _ret, - _lib, - retain: false, - release: true, - ); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSURLSessionWebSocketMessage._(_ret, retain: true, release: true); + } + + static NSURLSessionWebSocketMessage new1() { + final _ret = _objc_msgSend_2(_class_NSURLSessionWebSocketMessage, _sel_new); + return NSURLSessionWebSocketMessage._(_ret, retain: false, release: true); } static NSURLSessionWebSocketMessage allocWithZone_( - SwiftLibrary _lib, - ffi.Pointer<_NSZone> zone, - ) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSURLSessionWebSocketMessage1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSURLSessionWebSocketMessage._( - _ret, - _lib, - retain: false, - release: true, - ); - } - - static NSURLSessionWebSocketMessage alloc(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLSessionWebSocketMessage1, - _lib._sel_alloc1, - ); - return NSURLSessionWebSocketMessage._( - _ret, - _lib, - retain: false, - release: true, - ); + ffi.Pointer<_NSZone> zone) { + final _ret = _objc_msgSend_3( + _class_NSURLSessionWebSocketMessage, _sel_allocWithZone_, zone); + return NSURLSessionWebSocketMessage._(_ret, retain: false, release: true); + } + + static NSURLSessionWebSocketMessage alloc() { + final _ret = + _objc_msgSend_2(_class_NSURLSessionWebSocketMessage, _sel_alloc); + return NSURLSessionWebSocketMessage._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSURLSessionWebSocketMessage1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSURLSessionWebSocketMessage1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSURLSessionWebSocketMessage1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSURLSessionWebSocketMessage1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSURLSessionWebSocketMessage1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSURLSessionWebSocketMessage1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSURLSessionWebSocketMessage, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); + } + + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSURLSessionWebSocketMessage, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); + } + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12(_class_NSURLSessionWebSocketMessage, + _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12( + _class_NSURLSessionWebSocketMessage, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSURLSessionWebSocketMessage, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSURLSessionWebSocketMessage, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); + } + + static void setKeys_triggerChangeNotificationsForDependentKey_( + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSURLSessionWebSocketMessage, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = _objc_msgSend_85(_class_NSURLSessionWebSocketMessage, + _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); } - static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSURLSessionWebSocketMessage1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSURLSessionWebSocketMessage1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLSessionWebSocketMessage1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + static NSObject classForKeyedUnarchiver() { + final _ret = _objc_msgSend_2( + _class_NSURLSessionWebSocketMessage, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); } } +late final _class_NSURLSessionWebSocketMessage = + objc.getClass("NSURLSessionWebSocketMessage"); + abstract class NSURLSessionWebSocketMessageType { static const int NSURLSessionWebSocketMessageTypeData = 0; static const int NSURLSessionWebSocketMessageTypeString = 1; } +final _objc_msgSend_1081 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + int Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_sendMessage_completionHandler_ = + objc.registerName("sendMessage:completionHandler:"); +final _objc_msgSend_1082 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer message, + ffi.Pointer completionHandler)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); void _ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError_fnPtrTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Pointer arg1, -) => + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1) => block.ref.target .cast< ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - )>>() + ffi.Void Function(ffi.Pointer arg0, + ffi.Pointer arg1)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer)>()(arg0, arg1); @@ -89746,8 +55485,9 @@ int _ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError_closureRegistryIndex 0; ffi.Pointer _ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError_registerClosure( - void Function(ffi.Pointer, ffi.Pointer) fn, -) { + void Function( + ffi.Pointer, ffi.Pointer) + fn) { final id = ++_ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError_closureRegistryIndex; _ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError_closureRegistry[id] = @@ -89756,37 +55496,27 @@ ffi.Pointer } void _ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError_closureTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Pointer arg1, -) => + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1) => _ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError_closureRegistry[ block.ref.target.address]!(arg0, arg1); class ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError._( - ffi.Pointer pointer, - this._lib, { - bool retain = false, - bool release = true, - }) : super(pointer, retain: retain, release: release); - - SwiftLibrary _lib; + ffi.Pointer pointer, + {bool retain = false, + bool release = true}) + : super(pointer, retain: retain, release: release); /// Returns a block that wraps the given raw block pointer. static ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError castFromPointer( - SwiftLibrary lib, - ffi.Pointer pointer, { - bool retain = false, - bool release = false, - }) { - return ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError._( - pointer, - lib, - retain: retain, - release: release, - ); + ffi.Pointer pointer, + {bool retain = false, + bool release = false}) { + return ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError._(pointer, + retain: retain, release: release); } /// Creates a block from a C function pointer. @@ -89795,27 +55525,20 @@ class ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError.fromFunctionPointer( - SwiftLibrary lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - )>> - ptr, - ) : this._( - objc.newBlock( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>( - _ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError_fnPtrTrampoline, - ).cast(), - ptr.cast(), - ), - lib); + ffi.Pointer< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer arg0, + ffi.Pointer arg1)>> + ptr) + : this._(objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>( + _ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError_fnPtrTrampoline) + .cast(), + ptr.cast())); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -89824,39 +55547,19 @@ class ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError.fromFunction( - SwiftLibrary lib, - void Function(NSURLSessionWebSocketMessage?, NSError?) fn, - ) : this._( - objc.newBlock( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>( - _ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError_closureTrampoline, - ).cast(), - _ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError_registerClosure( - ( - ffi.Pointer arg0, - ffi.Pointer arg1, - ) => - fn( - arg0.address == 0 - ? null - : NSURLSessionWebSocketMessage._( - arg0, - lib, - retain: true, - release: true, - ), - arg1.address == 0 - ? null - : NSError._(arg1, lib, retain: true, release: true), - ), - ), - ), - lib); + void Function(NSURLSessionWebSocketMessage?, NSError?) fn) + : this._(objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>( + _ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError_closureTrampoline) + .cast(), + _ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError_registerClosure( + (ffi.Pointer arg0, + ffi.Pointer arg1) => + fn(arg0.address == 0 ? null : NSURLSessionWebSocketMessage._(arg0, retain: true, release: true), arg1.address == 0 ? null : NSError._(arg1, retain: true, release: true))))); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -89869,66 +55572,68 @@ class ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError.listener( - SwiftLibrary lib, - void Function(NSURLSessionWebSocketMessage?, NSError?) fn, - ) : this._( - objc.newBlock( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>.listener( - _ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError_closureTrampoline, - )..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError_registerClosure( - ( - ffi.Pointer arg0, - ffi.Pointer arg1, - ) => - fn( - arg0.address == 0 - ? null - : NSURLSessionWebSocketMessage._( - arg0, - lib, - retain: true, - release: true, - ), - arg1.address == 0 - ? null - : NSError._(arg1, lib, retain: true, release: true), - ), - ), - ), - lib); + void Function(NSURLSessionWebSocketMessage?, NSError?) fn) + : this._(objc.newBlock( + (_dartFuncListenerTrampoline ??= + ffi.NativeCallable, ffi.Pointer, ffi.Pointer)>.listener( + _ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError_closureTrampoline) + ..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError_registerClosure( + (ffi.Pointer arg0, ffi.Pointer arg1) => fn( + arg0.address == 0 + ? null + : NSURLSessionWebSocketMessage._(arg0, + retain: true, release: true), + arg1.address == 0 ? null : NSError._(arg1, retain: true, release: true))))); static ffi.NativeCallable< ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>? _dartFuncListenerTrampoline; + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>? _dartFuncListenerTrampoline; - void call(NSURLSessionWebSocketMessage? arg0, NSError? arg1) => - pointer.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Pointer arg1, - )>>() - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>()( - pointer, arg0?.pointer ?? ffi.nullptr, arg1?.pointer ?? ffi.nullptr); + void call(NSURLSessionWebSocketMessage? arg0, NSError? arg1) => pointer + .ref.invoke + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>()( + pointer, arg0?.pointer ?? ffi.nullptr, arg1?.pointer ?? ffi.nullptr); } +late final _sel_receiveMessageWithCompletionHandler_ = + objc.registerName("receiveMessageWithCompletionHandler:"); +final _objc_msgSend_1083 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer completionHandler)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_sendPingWithPongReceiveHandler_ = + objc.registerName("sendPingWithPongReceiveHandler:"); +final _objc_msgSend_1084 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer pongReceiveHandler)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); + abstract class NSURLSessionWebSocketCloseCode { static const int NSURLSessionWebSocketCloseCodeInvalid = 0; static const int NSURLSessionWebSocketCloseCodeNormalClosure = 1000; @@ -89946,41 +55651,101 @@ abstract class NSURLSessionWebSocketCloseCode { static const int NSURLSessionWebSocketCloseCodeTLSHandshakeFailure = 1015; } +late final _sel_cancelWithCloseCode_reason_ = + objc.registerName("cancelWithCloseCode:reason:"); +final _objc_msgSend_1085 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Int32 closeCode, + ffi.Pointer reason)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer)>(); +late final _sel_maximumMessageSize = objc.registerName("maximumMessageSize"); +late final _sel_setMaximumMessageSize_ = + objc.registerName("setMaximumMessageSize:"); +late final _sel_closeCode = objc.registerName("closeCode"); +final _objc_msgSend_1086 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + int Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_closeReason = objc.registerName("closeReason"); +late final _sel_webSocketTaskWithURL_ = + objc.registerName("webSocketTaskWithURL:"); +final _objc_msgSend_1087 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer url)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_webSocketTaskWithURL_protocols_ = + objc.registerName("webSocketTaskWithURL:protocols:"); +final _objc_msgSend_1088 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer url, + ffi.Pointer protocols)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_webSocketTaskWithRequest_ = + objc.registerName("webSocketTaskWithRequest:"); +final _objc_msgSend_1089 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer request)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); void _ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError_fnPtrTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2, -) => + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2) => block.ref.target .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2, - )>>() + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2)>>() .asFunction< void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>()(arg0, arg1, arg2); + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>()(arg0, arg1, arg2); final _ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError_closureRegistry = , - ffi.Pointer, - ffi.Pointer, -)>{}; + void Function(ffi.Pointer, ffi.Pointer, + ffi.Pointer)>{}; int _ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError_registerClosure( - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) fn, -) { + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer) + fn) { final id = ++_ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError_closureRegistryIndex; _ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError_closureRegistry[id] = fn; @@ -89988,38 +55753,28 @@ ffi.Pointer } void _ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError_closureTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2, -) => + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2) => _ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError_closureRegistry[ block.ref.target.address]!(arg0, arg1, arg2); class ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError._( - ffi.Pointer pointer, - this._lib, { - bool retain = false, - bool release = true, - }) : super(pointer, retain: retain, release: release); - - SwiftLibrary _lib; + ffi.Pointer pointer, + {bool retain = false, + bool release = true}) + : super(pointer, retain: retain, release: release); /// Returns a block that wraps the given raw block pointer. static ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError castFromPointer( - SwiftLibrary lib, - ffi.Pointer pointer, { - bool retain = false, - bool release = false, - }) { - return ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError._( - pointer, - lib, - retain: retain, - release: release, - ); + ffi.Pointer pointer, + {bool retain = false, + bool release = false}) { + return ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError._(pointer, + retain: retain, release: release); } /// Creates a block from a C function pointer. @@ -90028,29 +55783,23 @@ class ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError.fromFunctionPointer( - SwiftLibrary lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2, - )>> - ptr, - ) : this._( - objc.newBlock( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Pointer< + ffi.NativeFunction< ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>( - _ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError_fnPtrTrampoline, - ).cast(), - ptr.cast(), - ), - lib); + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2)>> + ptr) + : this._(objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>( + _ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError_fnPtrTrampoline) + .cast(), + ptr.cast())); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -90059,38 +55808,20 @@ class ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError.fromFunction( - SwiftLibrary lib, - void Function(NSData?, NSURLResponse?, NSError?) fn, - ) : this._( - objc.newBlock( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>( - _ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError_closureTrampoline, - ).cast(), - _ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError_registerClosure(( - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2, - ) => - fn( - arg0.address == 0 - ? null - : NSData._(arg0, lib, retain: true, release: true), - arg1.address == 0 - ? null - : NSURLResponse._(arg1, lib, - retain: true, release: true), - arg2.address == 0 - ? null - : NSError._(arg2, lib, retain: true, release: true), - )), - ), - lib); + void Function(NSData?, NSURLResponse?, NSError?) fn) + : this._(objc.newBlock( + _dartFuncTrampoline ??= + ffi.Pointer.fromFunction, ffi.Pointer, ffi.Pointer, ffi.Pointer)>( + _ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError_closureTrampoline) + .cast(), + _ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError_registerClosure( + (ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2) => + fn( + arg0.address == 0 ? null : NSData._(arg0, retain: true, release: true), + arg1.address == 0 ? null : NSURLResponse._(arg1, retain: true, release: true), + arg2.address == 0 ? null : NSError._(arg2, retain: true, release: true))))); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -90103,107 +55834,163 @@ class ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError.listener( - SwiftLibrary lib, - void Function(NSData?, NSURLResponse?, NSError?) fn, - ) : this._( - objc.newBlock( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>.listener( - _ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError_closureTrampoline, - )..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError_registerClosure(( - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2, - ) => - fn( - arg0.address == 0 - ? null - : NSData._(arg0, lib, retain: true, release: true), - arg1.address == 0 - ? null - : NSURLResponse._(arg1, lib, - retain: true, release: true), - arg2.address == 0 - ? null - : NSError._(arg2, lib, retain: true, release: true), - )), - ), - lib); + void Function(NSData?, NSURLResponse?, NSError?) fn) + : this._(objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable, ffi.Pointer, ffi.Pointer, ffi.Pointer)>.listener( + _ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError_closureTrampoline) + ..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError_registerClosure( + (ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2) => + fn( + arg0.address == 0 + ? null + : NSData._(arg0, retain: true, release: true), + arg1.address == 0 + ? null + : NSURLResponse._(arg1, retain: true, release: true), + arg2.address == 0 ? null : NSError._(arg2, retain: true, release: true))))); static ffi.NativeCallable< ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>? _dartFuncListenerTrampoline; + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>? _dartFuncListenerTrampoline; void call(NSData? arg0, NSURLResponse? arg1, NSError? arg2) => pointer.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2, - )>>() - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>()( - pointer, - arg0?.pointer ?? ffi.nullptr, - arg1?.pointer ?? ffi.nullptr, - arg2?.pointer ?? ffi.nullptr, - ); -} - + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>()( + pointer, + arg0?.pointer ?? ffi.nullptr, + arg1?.pointer ?? ffi.nullptr, + arg2?.pointer ?? ffi.nullptr); +} + +late final _sel_dataTaskWithRequest_completionHandler_ = + objc.registerName("dataTaskWithRequest:completionHandler:"); +final _objc_msgSend_1090 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer request, + ffi.Pointer completionHandler)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_dataTaskWithURL_completionHandler_ = + objc.registerName("dataTaskWithURL:completionHandler:"); +final _objc_msgSend_1091 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer url, + ffi.Pointer completionHandler)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_uploadTaskWithRequest_fromFile_completionHandler_ = + objc.registerName("uploadTaskWithRequest:fromFile:completionHandler:"); +final _objc_msgSend_1092 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer request, + ffi.Pointer fileURL, + ffi.Pointer completionHandler)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_uploadTaskWithRequest_fromData_completionHandler_ = + objc.registerName("uploadTaskWithRequest:fromData:completionHandler:"); +final _objc_msgSend_1093 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer request, + ffi.Pointer bodyData, + ffi.Pointer completionHandler)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_uploadTaskWithResumeData_completionHandler_ = + objc.registerName("uploadTaskWithResumeData:completionHandler:"); +final _objc_msgSend_1094 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer resumeData, + ffi.Pointer completionHandler)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); void _ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError_fnPtrTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2, -) => + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2) => block.ref.target .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2, - )>>() + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2)>>() .asFunction< void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>()(arg0, arg1, arg2); + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>()(arg0, arg1, arg2); final _ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError_closureRegistry = , - ffi.Pointer, - ffi.Pointer, -)>{}; + void Function(ffi.Pointer, ffi.Pointer, + ffi.Pointer)>{}; int _ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError_registerClosure( - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) fn, -) { + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer) + fn) { final id = ++_ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError_closureRegistryIndex; _ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError_closureRegistry[id] = fn; @@ -90211,37 +55998,27 @@ ffi.Pointer } void _ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError_closureTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2, -) => + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2) => _ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError_closureRegistry[ block.ref.target.address]!(arg0, arg1, arg2); class ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError extends objc.ObjCBlockBase { ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError._( - ffi.Pointer pointer, - this._lib, { - bool retain = false, - bool release = true, - }) : super(pointer, retain: retain, release: release); - - SwiftLibrary _lib; + ffi.Pointer pointer, + {bool retain = false, + bool release = true}) + : super(pointer, retain: retain, release: release); /// Returns a block that wraps the given raw block pointer. static ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError castFromPointer( - SwiftLibrary lib, - ffi.Pointer pointer, { - bool retain = false, - bool release = false, - }) { - return ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError._( - pointer, - lib, - retain: retain, - release: release, - ); + ffi.Pointer pointer, + {bool retain = false, + bool release = false}) { + return ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError._(pointer, + retain: retain, release: release); } /// Creates a block from a C function pointer. @@ -90250,29 +56027,23 @@ class ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError extends objc.ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError.fromFunctionPointer( - SwiftLibrary lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2, - )>> - ptr, - ) : this._( - objc.newBlock( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Pointer< + ffi.NativeFunction< ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>( - _ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError_fnPtrTrampoline, - ).cast(), - ptr.cast(), - ), - lib); + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2)>> + ptr) + : this._(objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>( + _ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError_fnPtrTrampoline) + .cast(), + ptr.cast())); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -90281,38 +56052,20 @@ class ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError extends objc.ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError.fromFunction( - SwiftLibrary lib, - void Function(NSURL?, NSURLResponse?, NSError?) fn, - ) : this._( - objc.newBlock( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>( - _ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError_closureTrampoline, - ).cast(), - _ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError_registerClosure(( - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2, - ) => - fn( - arg0.address == 0 - ? null - : NSURL._(arg0, lib, retain: true, release: true), - arg1.address == 0 - ? null - : NSURLResponse._(arg1, lib, - retain: true, release: true), - arg2.address == 0 - ? null - : NSError._(arg2, lib, retain: true, release: true), - )), - ), - lib); + void Function(NSURL?, NSURLResponse?, NSError?) fn) + : this._(objc.newBlock( + _dartFuncTrampoline ??= + ffi.Pointer.fromFunction, ffi.Pointer, ffi.Pointer, ffi.Pointer)>( + _ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError_closureTrampoline) + .cast(), + _ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError_registerClosure( + (ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2) => + fn( + arg0.address == 0 ? null : NSURL._(arg0, retain: true, release: true), + arg1.address == 0 ? null : NSURLResponse._(arg1, retain: true, release: true), + arg2.address == 0 ? null : NSError._(arg2, retain: true, release: true))))); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -90325,598 +56078,542 @@ class ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError extends objc.ObjCBlockBase { /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError.listener( - SwiftLibrary lib, - void Function(NSURL?, NSURLResponse?, NSError?) fn, - ) : this._( - objc.newBlock( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>.listener( - _ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError_closureTrampoline, - )..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError_registerClosure(( - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2, - ) => - fn( - arg0.address == 0 - ? null - : NSURL._(arg0, lib, retain: true, release: true), - arg1.address == 0 - ? null - : NSURLResponse._(arg1, lib, - retain: true, release: true), - arg2.address == 0 - ? null - : NSError._(arg2, lib, retain: true, release: true), - )), - ), - lib); + void Function(NSURL?, NSURLResponse?, NSError?) fn) + : this._(objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable, ffi.Pointer, ffi.Pointer, ffi.Pointer)>.listener( + _ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError_closureTrampoline) + ..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError_registerClosure( + (ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2) => + fn( + arg0.address == 0 + ? null + : NSURL._(arg0, retain: true, release: true), + arg1.address == 0 + ? null + : NSURLResponse._(arg1, retain: true, release: true), + arg2.address == 0 ? null : NSError._(arg2, retain: true, release: true))))); static ffi.NativeCallable< ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>? _dartFuncListenerTrampoline; + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>? _dartFuncListenerTrampoline; void call(NSURL? arg0, NSURLResponse? arg1, NSError? arg2) => pointer.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2, - )>>() - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - )>()( - pointer, - arg0?.pointer ?? ffi.nullptr, - arg1?.pointer ?? ffi.nullptr, - arg2?.pointer ?? ffi.nullptr, - ); -} + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer block, + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>()( + pointer, + arg0?.pointer ?? ffi.nullptr, + arg1?.pointer ?? ffi.nullptr, + arg2?.pointer ?? ffi.nullptr); +} + +late final _sel_downloadTaskWithRequest_completionHandler_ = + objc.registerName("downloadTaskWithRequest:completionHandler:"); +final _objc_msgSend_1095 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer request, + ffi.Pointer completionHandler)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_downloadTaskWithURL_completionHandler_ = + objc.registerName("downloadTaskWithURL:completionHandler:"); +final _objc_msgSend_1096 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer url, + ffi.Pointer completionHandler)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_downloadTaskWithResumeData_completionHandler_ = + objc.registerName("downloadTaskWithResumeData:completionHandler:"); +final _objc_msgSend_1097 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer resumeData, + ffi.Pointer completionHandler)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); class NSProtocolChecker extends NSProxy { - NSProtocolChecker._( - ffi.Pointer pointer, - SwiftLibrary lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSProtocolChecker._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSProtocolChecker] that points to the same underlying object as [other]. - static NSProtocolChecker castFrom( - SwiftLibrary lib, - T other, - ) { - return NSProtocolChecker._(other.pointer, lib, retain: true, release: true); + static NSProtocolChecker castFrom(T other) { + return NSProtocolChecker._(other.pointer, retain: true, release: true); } /// Returns a [NSProtocolChecker] that wraps the given raw object pointer. - static NSProtocolChecker castFromPointer( - SwiftLibrary lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSProtocolChecker._(other, lib, retain: retain, release: release); + static NSProtocolChecker castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSProtocolChecker._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSProtocolChecker]. - static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSProtocolChecker1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0( + obj.pointer, _sel_isKindOfClass_, _class_NSProtocolChecker); } Protocol get protocol { - final _ret = _lib._objc_msgSend_1098(this.pointer, _lib._sel_protocol1); - return Protocol._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_1098(this.pointer, _sel_protocol); + return Protocol._(_ret, retain: true, release: true); } NSObject? get target { - final _ret = _lib._objc_msgSend_1099(this.pointer, _lib._sel_target1); + final _ret = _objc_msgSend_914(this.pointer, _sel_target); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } static NSProtocolChecker protocolCheckerWithTarget_protocol_( - SwiftLibrary _lib, - NSObject anObject, - Protocol aProtocol, - ) { - final _ret = _lib._objc_msgSend_1100( - _lib._class_NSProtocolChecker1, - _lib._sel_protocolCheckerWithTarget_protocol_1, - anObject.pointer, - aProtocol.pointer, - ); - return NSProtocolChecker._(_ret, _lib, retain: true, release: true); + NSObject anObject, Protocol aProtocol) { + final _ret = _objc_msgSend_1099( + _class_NSProtocolChecker, + _sel_protocolCheckerWithTarget_protocol_, + anObject.pointer, + aProtocol.pointer); + return NSProtocolChecker._(_ret, retain: true, release: true); } NSProtocolChecker initWithTarget_protocol_( - NSObject anObject, - Protocol aProtocol, - ) { - final _ret = _lib._objc_msgSend_1100( - this.pointer, - _lib._sel_initWithTarget_protocol_1, - anObject.pointer, - aProtocol.pointer, - ); - return NSProtocolChecker._(_ret, _lib, retain: true, release: true); - } - - static NSObject alloc(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSProtocolChecker1, - _lib._sel_alloc1, - ); - return NSObject._(_ret, _lib, retain: false, release: true); - } - - static bool respondsToSelector_( - SwiftLibrary _lib, - ffi.Pointer aSelector, - ) { - return _lib._objc_msgSend_4( - _lib._class_NSProtocolChecker1, - _lib._sel_respondsToSelector_1, - aSelector, - ); + NSObject anObject, Protocol aProtocol) { + final _ret = _objc_msgSend_1099(this.pointer, _sel_initWithTarget_protocol_, + anObject.pointer, aProtocol.pointer); + return NSProtocolChecker._(_ret, retain: true, release: true); + } + + static NSObject alloc() { + final _ret = _objc_msgSend_2(_class_NSProtocolChecker, _sel_alloc); + return NSObject._(_ret, retain: false, release: true); + } + + static bool respondsToSelector_(ffi.Pointer aSelector) { + return _objc_msgSend_4( + _class_NSProtocolChecker, _sel_respondsToSelector_, aSelector); } } +late final _class_NSProtocolChecker = objc.getClass("NSProtocolChecker"); +final _objc_msgSend_1098 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_protocolCheckerWithTarget_protocol_ = + objc.registerName("protocolCheckerWithTarget:protocol:"); +final _objc_msgSend_1099 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer anObject, + ffi.Pointer aProtocol)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_initWithTarget_protocol_ = + objc.registerName("initWithTarget:protocol:"); + class NSTask extends NSObject { - NSTask._( - ffi.Pointer pointer, - SwiftLibrary lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSTask._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSTask] that points to the same underlying object as [other]. - static NSTask castFrom( - SwiftLibrary lib, - T other, - ) { - return NSTask._(other.pointer, lib, retain: true, release: true); + static NSTask castFrom(T other) { + return NSTask._(other.pointer, retain: true, release: true); } /// Returns a [NSTask] that wraps the given raw object pointer. - static NSTask castFromPointer( - SwiftLibrary lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSTask._(other, lib, retain: retain, release: release); + static NSTask castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSTask._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSTask]. - static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSTask1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0(obj.pointer, _sel_isKindOfClass_, _class_NSTask); } @override NSTask init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSTask._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSTask._(_ret, retain: true, release: true); } NSURL? get executableURL { - final _ret = _lib._objc_msgSend_45(this.pointer, _lib._sel_executableURL1); + final _ret = _objc_msgSend_45(this.pointer, _sel_executableURL); return _ret.address == 0 ? null - : NSURL._(_ret, _lib, retain: true, release: true); + : NSURL._(_ret, retain: true, release: true); } set executableURL(NSURL? value) { - return _lib._objc_msgSend_671( - this.pointer, - _lib._sel_setExecutableURL_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_671( + this.pointer, _sel_setExecutableURL_, value?.pointer ?? ffi.nullptr); } NSArray? get arguments { - final _ret = _lib._objc_msgSend_84(this.pointer, _lib._sel_arguments1); + final _ret = _objc_msgSend_84(this.pointer, _sel_arguments); return _ret.address == 0 ? null - : NSArray._(_ret, _lib, retain: true, release: true); + : NSArray._(_ret, retain: true, release: true); } set arguments(NSArray? value) { - return _lib._objc_msgSend_1053( - this.pointer, - _lib._sel_setArguments_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_1053( + this.pointer, _sel_setArguments_, value?.pointer ?? ffi.nullptr); } NSDictionary? get environment { - final _ret = _lib._objc_msgSend_390(this.pointer, _lib._sel_environment1); + final _ret = _objc_msgSend_390(this.pointer, _sel_environment); return _ret.address == 0 ? null - : NSDictionary._(_ret, _lib, retain: true, release: true); + : NSDictionary._(_ret, retain: true, release: true); } set environment(NSDictionary? value) { - return _lib._objc_msgSend_634( - this.pointer, - _lib._sel_setEnvironment_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_634( + this.pointer, _sel_setEnvironment_, value?.pointer ?? ffi.nullptr); } NSURL? get currentDirectoryURL { - final _ret = _lib._objc_msgSend_45( - this.pointer, - _lib._sel_currentDirectoryURL1, - ); + final _ret = _objc_msgSend_45(this.pointer, _sel_currentDirectoryURL); return _ret.address == 0 ? null - : NSURL._(_ret, _lib, retain: true, release: true); + : NSURL._(_ret, retain: true, release: true); } set currentDirectoryURL(NSURL? value) { - return _lib._objc_msgSend_671( - this.pointer, - _lib._sel_setCurrentDirectoryURL_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_671(this.pointer, _sel_setCurrentDirectoryURL_, + value?.pointer ?? ffi.nullptr); } NSData? get launchRequirementData { - final _ret = _lib._objc_msgSend_286( - this.pointer, - _lib._sel_launchRequirementData1, - ); + final _ret = _objc_msgSend_286(this.pointer, _sel_launchRequirementData); return _ret.address == 0 ? null - : NSData._(_ret, _lib, retain: true, release: true); + : NSData._(_ret, retain: true, release: true); } set launchRequirementData(NSData? value) { - return _lib._objc_msgSend_1021( - this.pointer, - _lib._sel_setLaunchRequirementData_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_1021(this.pointer, _sel_setLaunchRequirementData_, + value?.pointer ?? ffi.nullptr); } NSObject? get standardInput { - final _ret = _lib._objc_msgSend_17(this.pointer, _lib._sel_standardInput1); + final _ret = _objc_msgSend_17(this.pointer, _sel_standardInput); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } set standardInput(NSObject? value) { - return _lib._objc_msgSend_416( - this.pointer, - _lib._sel_setStandardInput_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_416( + this.pointer, _sel_setStandardInput_, value?.pointer ?? ffi.nullptr); } NSObject? get standardOutput { - final _ret = _lib._objc_msgSend_17(this.pointer, _lib._sel_standardOutput1); + final _ret = _objc_msgSend_17(this.pointer, _sel_standardOutput); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } set standardOutput(NSObject? value) { - return _lib._objc_msgSend_416( - this.pointer, - _lib._sel_setStandardOutput_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_416( + this.pointer, _sel_setStandardOutput_, value?.pointer ?? ffi.nullptr); } NSObject? get standardError { - final _ret = _lib._objc_msgSend_17(this.pointer, _lib._sel_standardError1); + final _ret = _objc_msgSend_17(this.pointer, _sel_standardError); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } set standardError(NSObject? value) { - return _lib._objc_msgSend_416( - this.pointer, - _lib._sel_setStandardError_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_416( + this.pointer, _sel_setStandardError_, value?.pointer ?? ffi.nullptr); } bool launchAndReturnError_(ffi.Pointer> error) { - return _lib._objc_msgSend_255( - this.pointer, - _lib._sel_launchAndReturnError_1, - error, - ); + return _objc_msgSend_255(this.pointer, _sel_launchAndReturnError_, error); } void interrupt() { - _lib._objc_msgSend_1(this.pointer, _lib._sel_interrupt1); + _objc_msgSend_1(this.pointer, _sel_interrupt); } void terminate() { - _lib._objc_msgSend_1(this.pointer, _lib._sel_terminate1); + _objc_msgSend_1(this.pointer, _sel_terminate); } bool suspend() { - return _lib._objc_msgSend_12(this.pointer, _lib._sel_suspend1); + return _objc_msgSend_12(this.pointer, _sel_suspend); } bool resume() { - return _lib._objc_msgSend_12(this.pointer, _lib._sel_resume1); + return _objc_msgSend_12(this.pointer, _sel_resume); } int get processIdentifier { - return _lib._objc_msgSend_237(this.pointer, _lib._sel_processIdentifier1); + return _objc_msgSend_237(this.pointer, _sel_processIdentifier); } bool get running { - return _lib._objc_msgSend_12(this.pointer, _lib._sel_isRunning1); + return _objc_msgSend_12(this.pointer, _sel_isRunning); } int get terminationStatus { - return _lib._objc_msgSend_237(this.pointer, _lib._sel_terminationStatus1); + return _objc_msgSend_237(this.pointer, _sel_terminationStatus); } int get terminationReason { - return _lib._objc_msgSend_1101(this.pointer, _lib._sel_terminationReason1); + return _objc_msgSend_1100(this.pointer, _sel_terminationReason); } ObjCBlock_ffiVoid_NSTask? get terminationHandler { - final _ret = _lib._objc_msgSend_1102( - this.pointer, - _lib._sel_terminationHandler1, - ); + final _ret = _objc_msgSend_1101(this.pointer, _sel_terminationHandler); return _ret.address == 0 ? null - : ObjCBlock_ffiVoid_NSTask._(_ret, _lib, retain: true, release: true); + : ObjCBlock_ffiVoid_NSTask._(_ret, retain: true, release: true); } set terminationHandler(ObjCBlock_ffiVoid_NSTask? value) { - return _lib._objc_msgSend_1103( - this.pointer, - _lib._sel_setTerminationHandler_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_1102(this.pointer, _sel_setTerminationHandler_, + value?.pointer ?? ffi.nullptr); } int get qualityOfService { - return _lib._objc_msgSend_543(this.pointer, _lib._sel_qualityOfService1); + return _objc_msgSend_543(this.pointer, _sel_qualityOfService); } set qualityOfService(int value) { - return _lib._objc_msgSend_544( - this.pointer, - _lib._sel_setQualityOfService_1, - value, - ); + return _objc_msgSend_544(this.pointer, _sel_setQualityOfService_, value); } static NSTask? launchedTaskWithExecutableURL_arguments_error_terminationHandler_( - SwiftLibrary _lib, - NSURL url, - NSArray arguments, - ffi.Pointer> error, - ObjCBlock_ffiVoid_NSTask? terminationHandler, - ) { - final _ret = _lib._objc_msgSend_1104( - _lib._class_NSTask1, - _lib._sel_launchedTaskWithExecutableURL_arguments_error_terminationHandler_1, - url.pointer, - arguments.pointer, - error, - terminationHandler?.pointer ?? ffi.nullptr, - ); + NSURL url, + NSArray arguments, + ffi.Pointer> error, + ObjCBlock_ffiVoid_NSTask? terminationHandler) { + final _ret = _objc_msgSend_1103( + _class_NSTask, + _sel_launchedTaskWithExecutableURL_arguments_error_terminationHandler_, + url.pointer, + arguments.pointer, + error, + terminationHandler?.pointer ?? ffi.nullptr); return _ret.address == 0 ? null - : NSTask._(_ret, _lib, retain: true, release: true); + : NSTask._(_ret, retain: true, release: true); } void waitUntilExit() { - _lib._objc_msgSend_1(this.pointer, _lib._sel_waitUntilExit1); + _objc_msgSend_1(this.pointer, _sel_waitUntilExit); } NSString? get launchPath { - final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_launchPath1); + final _ret = _objc_msgSend_44(this.pointer, _sel_launchPath); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } set launchPath(NSString? value) { - return _lib._objc_msgSend_545( - this.pointer, - _lib._sel_setLaunchPath_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_545( + this.pointer, _sel_setLaunchPath_, value?.pointer ?? ffi.nullptr); } NSString get currentDirectoryPath { - final _ret = _lib._objc_msgSend_21( - this.pointer, - _lib._sel_currentDirectoryPath1, - ); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_currentDirectoryPath); + return NSString._(_ret, retain: true, release: true); } set currentDirectoryPath(NSString value) { - return _lib._objc_msgSend_646( - this.pointer, - _lib._sel_setCurrentDirectoryPath_1, - value.pointer, - ); + return _objc_msgSend_646( + this.pointer, _sel_setCurrentDirectoryPath_, value.pointer); } void launch() { - _lib._objc_msgSend_1(this.pointer, _lib._sel_launch1); + _objc_msgSend_1(this.pointer, _sel_launch); } static NSTask launchedTaskWithLaunchPath_arguments_( - SwiftLibrary _lib, - NSString path, - NSArray arguments, - ) { - final _ret = _lib._objc_msgSend_1105( - _lib._class_NSTask1, - _lib._sel_launchedTaskWithLaunchPath_arguments_1, - path.pointer, - arguments.pointer, - ); - return NSTask._(_ret, _lib, retain: true, release: true); + NSString path, NSArray arguments) { + final _ret = _objc_msgSend_1104( + _class_NSTask, + _sel_launchedTaskWithLaunchPath_arguments_, + path.pointer, + arguments.pointer); + return NSTask._(_ret, retain: true, release: true); } - static NSTask new1(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2(_lib._class_NSTask1, _lib._sel_new1); - return NSTask._(_ret, _lib, retain: false, release: true); + static NSTask new1() { + final _ret = _objc_msgSend_2(_class_NSTask, _sel_new); + return NSTask._(_ret, retain: false, release: true); } - static NSTask allocWithZone_(SwiftLibrary _lib, ffi.Pointer<_NSZone> zone) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSTask1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSTask._(_ret, _lib, retain: false, release: true); + static NSTask allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = _objc_msgSend_3(_class_NSTask, _sel_allocWithZone_, zone); + return NSTask._(_ret, retain: false, release: true); } - static NSTask alloc(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2(_lib._class_NSTask1, _lib._sel_alloc1); - return NSTask._(_ret, _lib, retain: false, release: true); + static NSTask alloc() { + final _ret = _objc_msgSend_2(_class_NSTask, _sel_alloc); + return NSTask._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSTask1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSTask1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSTask1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSTask1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSTask1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSTask1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSTask, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); } - static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSTask1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSTask1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSTask1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSTask, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); + } + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSTask, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSTask, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSTask, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); } -} + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64( + _class_NSTask, _sel_automaticallyNotifiesObserversForKey_, key.pointer); + } + + static void setKeys_triggerChangeNotificationsForDependentKey_( + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSTask, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = + _objc_msgSend_85(_class_NSTask, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = _objc_msgSend_2(_class_NSTask, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); + } +} + +late final _class_NSTask = objc.getClass("NSTask"); +late final _sel_setExecutableURL_ = objc.registerName("setExecutableURL:"); +late final _sel_setEnvironment_ = objc.registerName("setEnvironment:"); +late final _sel_currentDirectoryURL = objc.registerName("currentDirectoryURL"); +late final _sel_setCurrentDirectoryURL_ = + objc.registerName("setCurrentDirectoryURL:"); +late final _sel_launchRequirementData = + objc.registerName("launchRequirementData"); +late final _sel_setLaunchRequirementData_ = + objc.registerName("setLaunchRequirementData:"); +late final _sel_standardInput = objc.registerName("standardInput"); +late final _sel_setStandardInput_ = objc.registerName("setStandardInput:"); +late final _sel_standardOutput = objc.registerName("standardOutput"); +late final _sel_setStandardOutput_ = objc.registerName("setStandardOutput:"); +late final _sel_standardError = objc.registerName("standardError"); +late final _sel_setStandardError_ = objc.registerName("setStandardError:"); +late final _sel_launchAndReturnError_ = + objc.registerName("launchAndReturnError:"); +late final _sel_interrupt = objc.registerName("interrupt"); +late final _sel_terminate = objc.registerName("terminate"); +late final _sel_isRunning = objc.registerName("isRunning"); +late final _sel_terminationStatus = objc.registerName("terminationStatus"); abstract class NSTaskTerminationReason { static const int NSTaskTerminationReasonExit = 1; static const int NSTaskTerminationReasonUncaughtSignal = 2; } +late final _sel_terminationReason = objc.registerName("terminationReason"); +final _objc_msgSend_1100 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + int Function( + ffi.Pointer, ffi.Pointer)>(); void _ObjCBlock_ffiVoid_NSTask_fnPtrTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, -) => + ffi.Pointer block, ffi.Pointer arg0) => block.ref.target .cast< ffi.NativeFunction< @@ -90926,42 +56623,28 @@ final _ObjCBlock_ffiVoid_NSTask_closureRegistry = )>{}; int _ObjCBlock_ffiVoid_NSTask_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_ffiVoid_NSTask_registerClosure( - void Function(ffi.Pointer) fn, -) { + void Function(ffi.Pointer) fn) { final id = ++_ObjCBlock_ffiVoid_NSTask_closureRegistryIndex; _ObjCBlock_ffiVoid_NSTask_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } void _ObjCBlock_ffiVoid_NSTask_closureTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, -) => + ffi.Pointer block, ffi.Pointer arg0) => _ObjCBlock_ffiVoid_NSTask_closureRegistry[block.ref.target.address]!(arg0); class ObjCBlock_ffiVoid_NSTask extends objc.ObjCBlockBase { - ObjCBlock_ffiVoid_NSTask._( - ffi.Pointer pointer, - this._lib, { - bool retain = false, - bool release = true, - }) : super(pointer, retain: retain, release: release); - - SwiftLibrary _lib; + ObjCBlock_ffiVoid_NSTask._(ffi.Pointer pointer, + {bool retain = false, bool release = true}) + : super(pointer, retain: retain, release: release); /// Returns a block that wraps the given raw block pointer. static ObjCBlock_ffiVoid_NSTask castFromPointer( - SwiftLibrary lib, - ffi.Pointer pointer, { - bool retain = false, - bool release = false, - }) { - return ObjCBlock_ffiVoid_NSTask._( - pointer, - lib, - retain: retain, - release: release, - ); + ffi.Pointer pointer, + {bool retain = false, + bool release = false}) { + return ObjCBlock_ffiVoid_NSTask._(pointer, + retain: retain, release: release); } /// Creates a block from a C function pointer. @@ -90970,22 +56653,17 @@ class ObjCBlock_ffiVoid_NSTask extends objc.ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSTask.fromFunctionPointer( - SwiftLibrary lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer arg0)>> - ptr, - ) : this._( - objc.newBlock( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - )>(_ObjCBlock_ffiVoid_NSTask_fnPtrTrampoline) - .cast(), - ptr.cast(), - ), - lib); + ffi.Pointer< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer arg0)>> + ptr) + : this._(objc.newBlock( + _cFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function(ffi.Pointer, + ffi.Pointer)>( + _ObjCBlock_ffiVoid_NSTask_fnPtrTrampoline) + .cast(), + ptr.cast())); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -90993,23 +56671,16 @@ class ObjCBlock_ffiVoid_NSTask extends objc.ObjCBlockBase { /// This block must be invoked by native code running on the same thread as /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. - ObjCBlock_ffiVoid_NSTask.fromFunction( - SwiftLibrary lib, - void Function(NSTask) fn, - ) : this._( - objc.newBlock( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - )>(_ObjCBlock_ffiVoid_NSTask_closureTrampoline) - .cast(), - _ObjCBlock_ffiVoid_NSTask_registerClosure(( - ffi.Pointer arg0, - ) => - fn(NSTask._(arg0, lib, retain: true, release: true))), - ), - lib); + ObjCBlock_ffiVoid_NSTask.fromFunction(void Function(NSTask) fn) + : this._(objc.newBlock( + _dartFuncTrampoline ??= ffi.Pointer.fromFunction< + ffi.Void Function(ffi.Pointer, + ffi.Pointer)>( + _ObjCBlock_ffiVoid_NSTask_closureTrampoline) + .cast(), + _ObjCBlock_ffiVoid_NSTask_registerClosure( + (ffi.Pointer arg0) => + fn(NSTask._(arg0, retain: true, release: true))))); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -91021,24 +56692,18 @@ class ObjCBlock_ffiVoid_NSTask extends objc.ObjCBlockBase { /// /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. - ObjCBlock_ffiVoid_NSTask.listener(SwiftLibrary lib, void Function(NSTask) fn) - : this._( - objc.newBlock( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - )>.listener( - _ObjCBlock_ffiVoid_NSTask_closureTrampoline, - )..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSTask_registerClosure(( - ffi.Pointer arg0, - ) => - fn(NSTask._(arg0, lib, retain: true, release: true))), - ), - lib); + ObjCBlock_ffiVoid_NSTask.listener(void Function(NSTask) fn) + : this._(objc.newBlock( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function(ffi.Pointer, + ffi.Pointer)>.listener( + _ObjCBlock_ffiVoid_NSTask_closureTrampoline) + ..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSTask_registerClosure( + (ffi.Pointer arg0) => + fn(NSTask._(arg0, retain: true, release: true))))); static ffi.NativeCallable< ffi.Void Function( ffi.Pointer, ffi.Pointer)>? @@ -91047,1269 +56712,922 @@ class ObjCBlock_ffiVoid_NSTask extends objc.ObjCBlockBase { void call(NSTask arg0) => pointer.ref.invoke .cast< ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer block, - ffi.Pointer arg0, - )>>() + ffi.Void Function(ffi.Pointer block, + ffi.Pointer arg0)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer)>()(pointer, arg0.pointer); } +late final _sel_terminationHandler = objc.registerName("terminationHandler"); +final _objc_msgSend_1101 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_setTerminationHandler_ = + objc.registerName("setTerminationHandler:"); +final _objc_msgSend_1102 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_launchedTaskWithExecutableURL_arguments_error_terminationHandler_ = + objc.registerName( + "launchedTaskWithExecutableURL:arguments:error:terminationHandler:"); +final _objc_msgSend_1103 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer url, + ffi.Pointer arguments, + ffi.Pointer> error, + ffi.Pointer terminationHandler)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer)>(); +late final _sel_waitUntilExit = objc.registerName("waitUntilExit"); +late final _sel_launchPath = objc.registerName("launchPath"); +late final _sel_setLaunchPath_ = objc.registerName("setLaunchPath:"); +late final _sel_setCurrentDirectoryPath_ = + objc.registerName("setCurrentDirectoryPath:"); +late final _sel_launch = objc.registerName("launch"); +late final _sel_launchedTaskWithLaunchPath_arguments_ = + objc.registerName("launchedTaskWithLaunchPath:arguments:"); +final _objc_msgSend_1104 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer path, + ffi.Pointer arguments)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); + class NSXMLElement extends NSXMLNode { - NSXMLElement._( - ffi.Pointer pointer, - SwiftLibrary lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSXMLElement._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSXMLElement] that points to the same underlying object as [other]. - static NSXMLElement castFrom( - SwiftLibrary lib, - T other, - ) { - return NSXMLElement._(other.pointer, lib, retain: true, release: true); + static NSXMLElement castFrom(T other) { + return NSXMLElement._(other.pointer, retain: true, release: true); } /// Returns a [NSXMLElement] that wraps the given raw object pointer. - static NSXMLElement castFromPointer( - SwiftLibrary lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSXMLElement._(other, lib, retain: retain, release: release); + static NSXMLElement castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSXMLElement._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSXMLElement]. - static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSXMLElement1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0( + obj.pointer, _sel_isKindOfClass_, _class_NSXMLElement); } NSXMLElement initWithName_(NSString name) { - final _ret = _lib._objc_msgSend_31( - this.pointer, - _lib._sel_initWithName_1, - name.pointer, - ); - return NSXMLElement._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_31(this.pointer, _sel_initWithName_, name.pointer); + return NSXMLElement._(_ret, retain: true, release: true); } NSXMLElement initWithName_URI_(NSString name, NSString? URI) { - final _ret = _lib._objc_msgSend_1142( - this.pointer, - _lib._sel_initWithName_URI_1, - name.pointer, - URI?.pointer ?? ffi.nullptr, - ); - return NSXMLElement._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_1141(this.pointer, _sel_initWithName_URI_, + name.pointer, URI?.pointer ?? ffi.nullptr); + return NSXMLElement._(_ret, retain: true, release: true); } NSXMLElement initWithName_stringValue_(NSString name, NSString? string) { - final _ret = _lib._objc_msgSend_1142( - this.pointer, - _lib._sel_initWithName_stringValue_1, - name.pointer, - string?.pointer ?? ffi.nullptr, - ); - return NSXMLElement._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_1141( + this.pointer, + _sel_initWithName_stringValue_, + name.pointer, + string?.pointer ?? ffi.nullptr); + return NSXMLElement._(_ret, retain: true, release: true); } NSXMLElement? initWithXMLString_error_( - NSString string, - ffi.Pointer> error, - ) { - final _ret = _lib._objc_msgSend_303( - this.pointer, - _lib._sel_initWithXMLString_error_1, - string.pointer, - error, - ); + NSString string, ffi.Pointer> error) { + final _ret = _objc_msgSend_303( + this.pointer, _sel_initWithXMLString_error_, string.pointer, error); return _ret.address == 0 ? null - : NSXMLElement._(_ret, _lib, retain: true, release: true); + : NSXMLElement._(_ret, retain: true, release: true); } @override NSXMLElement initWithKind_options_(int kind, int options) { - final _ret = _lib._objc_msgSend_1107( - this.pointer, - _lib._sel_initWithKind_options_1, - kind, - options, - ); - return NSXMLElement._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_1106( + this.pointer, _sel_initWithKind_options_, kind, options); + return NSXMLElement._(_ret, retain: true, release: true); } NSArray elementsForName_(NSString name) { - final _ret = _lib._objc_msgSend_358( - this.pointer, - _lib._sel_elementsForName_1, - name.pointer, - ); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_358(this.pointer, _sel_elementsForName_, name.pointer); + return NSArray._(_ret, retain: true, release: true); } NSArray elementsForLocalName_URI_(NSString localName, NSString? URI) { - final _ret = _lib._objc_msgSend_1143( - this.pointer, - _lib._sel_elementsForLocalName_URI_1, - localName.pointer, - URI?.pointer ?? ffi.nullptr, - ); - return NSArray._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_1142( + this.pointer, + _sel_elementsForLocalName_URI_, + localName.pointer, + URI?.pointer ?? ffi.nullptr); + return NSArray._(_ret, retain: true, release: true); } void addAttribute_(NSXMLNode attribute) { - _lib._objc_msgSend_1121( - this.pointer, - _lib._sel_addAttribute_1, - attribute.pointer, - ); + _objc_msgSend_1120(this.pointer, _sel_addAttribute_, attribute.pointer); } void removeAttributeForName_(NSString name) { - _lib._objc_msgSend_247( - this.pointer, - _lib._sel_removeAttributeForName_1, - name.pointer, - ); + _objc_msgSend_247(this.pointer, _sel_removeAttributeForName_, name.pointer); } NSArray? get attributes { - final _ret = _lib._objc_msgSend_84(this.pointer, _lib._sel_attributes1); + final _ret = _objc_msgSend_84(this.pointer, _sel_attributes); return _ret.address == 0 ? null - : NSArray._(_ret, _lib, retain: true, release: true); + : NSArray._(_ret, retain: true, release: true); } set attributes(NSArray? value) { - return _lib._objc_msgSend_1053( - this.pointer, - _lib._sel_setAttributes_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_1053( + this.pointer, _sel_setAttributes_, value?.pointer ?? ffi.nullptr); } void setAttributesWithDictionary_(NSDictionary attributes) { - _lib._objc_msgSend_509( - this.pointer, - _lib._sel_setAttributesWithDictionary_1, - attributes.pointer, - ); + _objc_msgSend_509( + this.pointer, _sel_setAttributesWithDictionary_, attributes.pointer); } NSXMLNode? attributeForName_(NSString name) { - final _ret = _lib._objc_msgSend_1125( - this.pointer, - _lib._sel_attributeForName_1, - name.pointer, - ); + final _ret = + _objc_msgSend_1124(this.pointer, _sel_attributeForName_, name.pointer); return _ret.address == 0 ? null - : NSXMLNode._(_ret, _lib, retain: true, release: true); + : NSXMLNode._(_ret, retain: true, release: true); } NSXMLNode? attributeForLocalName_URI_(NSString localName, NSString? URI) { - final _ret = _lib._objc_msgSend_1144( - this.pointer, - _lib._sel_attributeForLocalName_URI_1, - localName.pointer, - URI?.pointer ?? ffi.nullptr, - ); + final _ret = _objc_msgSend_1143( + this.pointer, + _sel_attributeForLocalName_URI_, + localName.pointer, + URI?.pointer ?? ffi.nullptr); return _ret.address == 0 ? null - : NSXMLNode._(_ret, _lib, retain: true, release: true); + : NSXMLNode._(_ret, retain: true, release: true); } void addNamespace_(NSXMLNode aNamespace) { - _lib._objc_msgSend_1121( - this.pointer, - _lib._sel_addNamespace_1, - aNamespace.pointer, - ); + _objc_msgSend_1120(this.pointer, _sel_addNamespace_, aNamespace.pointer); } void removeNamespaceForPrefix_(NSString name) { - _lib._objc_msgSend_247( - this.pointer, - _lib._sel_removeNamespaceForPrefix_1, - name.pointer, - ); + _objc_msgSend_247( + this.pointer, _sel_removeNamespaceForPrefix_, name.pointer); } NSArray? get namespaces { - final _ret = _lib._objc_msgSend_84(this.pointer, _lib._sel_namespaces1); + final _ret = _objc_msgSend_84(this.pointer, _sel_namespaces); return _ret.address == 0 ? null - : NSArray._(_ret, _lib, retain: true, release: true); + : NSArray._(_ret, retain: true, release: true); } set namespaces(NSArray? value) { - return _lib._objc_msgSend_1053( - this.pointer, - _lib._sel_setNamespaces_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_1053( + this.pointer, _sel_setNamespaces_, value?.pointer ?? ffi.nullptr); } NSXMLNode? namespaceForPrefix_(NSString name) { - final _ret = _lib._objc_msgSend_1125( - this.pointer, - _lib._sel_namespaceForPrefix_1, - name.pointer, - ); + final _ret = _objc_msgSend_1124( + this.pointer, _sel_namespaceForPrefix_, name.pointer); return _ret.address == 0 ? null - : NSXMLNode._(_ret, _lib, retain: true, release: true); + : NSXMLNode._(_ret, retain: true, release: true); } NSXMLNode? resolveNamespaceForName_(NSString name) { - final _ret = _lib._objc_msgSend_1125( - this.pointer, - _lib._sel_resolveNamespaceForName_1, - name.pointer, - ); + final _ret = _objc_msgSend_1124( + this.pointer, _sel_resolveNamespaceForName_, name.pointer); return _ret.address == 0 ? null - : NSXMLNode._(_ret, _lib, retain: true, release: true); + : NSXMLNode._(_ret, retain: true, release: true); } NSString? resolvePrefixForNamespaceURI_(NSString namespaceURI) { - final _ret = _lib._objc_msgSend_186( - this.pointer, - _lib._sel_resolvePrefixForNamespaceURI_1, - namespaceURI.pointer, - ); + final _ret = _objc_msgSend_186( + this.pointer, _sel_resolvePrefixForNamespaceURI_, namespaceURI.pointer); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } void insertChild_atIndex_(NSXMLNode child, int index) { - _lib._objc_msgSend_1119( - this.pointer, - _lib._sel_insertChild_atIndex_1, - child.pointer, - index, - ); + _objc_msgSend_1118( + this.pointer, _sel_insertChild_atIndex_, child.pointer, index); } void insertChildren_atIndex_(NSArray children, int index) { - _lib._objc_msgSend_1120( - this.pointer, - _lib._sel_insertChildren_atIndex_1, - children.pointer, - index, - ); + _objc_msgSend_1119( + this.pointer, _sel_insertChildren_atIndex_, children.pointer, index); } void removeChildAtIndex_(int index) { - _lib._objc_msgSend_470(this.pointer, _lib._sel_removeChildAtIndex_1, index); + _objc_msgSend_470(this.pointer, _sel_removeChildAtIndex_, index); } void setChildren_(NSArray? children) { - _lib._objc_msgSend_843( - this.pointer, - _lib._sel_setChildren_1, - children?.pointer ?? ffi.nullptr, - ); + _objc_msgSend_843( + this.pointer, _sel_setChildren_, children?.pointer ?? ffi.nullptr); } void addChild_(NSXMLNode child) { - _lib._objc_msgSend_1121(this.pointer, _lib._sel_addChild_1, child.pointer); + _objc_msgSend_1120(this.pointer, _sel_addChild_, child.pointer); } void replaceChildAtIndex_withNode_(int index, NSXMLNode node) { - _lib._objc_msgSend_1122( - this.pointer, - _lib._sel_replaceChildAtIndex_withNode_1, - index, - node.pointer, - ); + _objc_msgSend_1121( + this.pointer, _sel_replaceChildAtIndex_withNode_, index, node.pointer); } void normalizeAdjacentTextNodesPreservingCDATA_(bool preserve) { - _lib._objc_msgSend_870( - this.pointer, - _lib._sel_normalizeAdjacentTextNodesPreservingCDATA_1, - preserve, - ); + _objc_msgSend_870(this.pointer, + _sel_normalizeAdjacentTextNodesPreservingCDATA_, preserve); } void setAttributesAsDictionary_(NSDictionary attributes) { - _lib._objc_msgSend_509( - this.pointer, - _lib._sel_setAttributesAsDictionary_1, - attributes.pointer, - ); + _objc_msgSend_509( + this.pointer, _sel_setAttributesAsDictionary_, attributes.pointer); } @override NSXMLElement init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSXMLElement._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSXMLElement._(_ret, retain: true, release: true); } @override NSXMLElement initWithKind_(int kind) { - final _ret = _lib._objc_msgSend_1106( - this.pointer, - _lib._sel_initWithKind_1, - kind, - ); - return NSXMLElement._(_ret, _lib, retain: true, release: true); - } - - static NSObject document(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSXMLElement1, - _lib._sel_document1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); - } - - static NSObject documentWithRootElement_( - SwiftLibrary _lib, - NSXMLElement element, - ) { - final _ret = _lib._objc_msgSend_1108( - _lib._class_NSXMLElement1, - _lib._sel_documentWithRootElement_1, - element.pointer, - ); - return NSObject._(_ret, _lib, retain: true, release: true); - } - - static NSObject elementWithName_(SwiftLibrary _lib, NSString name) { - final _ret = _lib._objc_msgSend_31( - _lib._class_NSXMLElement1, - _lib._sel_elementWithName_1, - name.pointer, - ); - return NSObject._(_ret, _lib, retain: true, release: true); - } - - static NSObject elementWithName_URI_( - SwiftLibrary _lib, - NSString name, - NSString URI, - ) { - final _ret = _lib._objc_msgSend_1109( - _lib._class_NSXMLElement1, - _lib._sel_elementWithName_URI_1, - name.pointer, - URI.pointer, - ); - return NSObject._(_ret, _lib, retain: true, release: true); - } - - static NSObject elementWithName_stringValue_( - SwiftLibrary _lib, - NSString name, - NSString string, - ) { - final _ret = _lib._objc_msgSend_1109( - _lib._class_NSXMLElement1, - _lib._sel_elementWithName_stringValue_1, - name.pointer, - string.pointer, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_1105(this.pointer, _sel_initWithKind_, kind); + return NSXMLElement._(_ret, retain: true, release: true); + } + + static NSObject document() { + final _ret = _objc_msgSend_2(_class_NSXMLElement, _sel_document); + return NSObject._(_ret, retain: true, release: true); + } + + static NSObject documentWithRootElement_(NSXMLElement element) { + final _ret = _objc_msgSend_1107( + _class_NSXMLElement, _sel_documentWithRootElement_, element.pointer); + return NSObject._(_ret, retain: true, release: true); + } + + static NSObject elementWithName_(NSString name) { + final _ret = _objc_msgSend_31( + _class_NSXMLElement, _sel_elementWithName_, name.pointer); + return NSObject._(_ret, retain: true, release: true); + } + + static NSObject elementWithName_URI_(NSString name, NSString URI) { + final _ret = _objc_msgSend_1108(_class_NSXMLElement, + _sel_elementWithName_URI_, name.pointer, URI.pointer); + return NSObject._(_ret, retain: true, release: true); + } + + static NSObject elementWithName_stringValue_(NSString name, NSString string) { + final _ret = _objc_msgSend_1108(_class_NSXMLElement, + _sel_elementWithName_stringValue_, name.pointer, string.pointer); + return NSObject._(_ret, retain: true, release: true); } static NSObject elementWithName_children_attributes_( - SwiftLibrary _lib, - NSString name, - NSArray? children, - NSArray? attributes, - ) { - final _ret = _lib._objc_msgSend_1110( - _lib._class_NSXMLElement1, - _lib._sel_elementWithName_children_attributes_1, - name.pointer, - children?.pointer ?? ffi.nullptr, - attributes?.pointer ?? ffi.nullptr, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + NSString name, NSArray? children, NSArray? attributes) { + final _ret = _objc_msgSend_1109( + _class_NSXMLElement, + _sel_elementWithName_children_attributes_, + name.pointer, + children?.pointer ?? ffi.nullptr, + attributes?.pointer ?? ffi.nullptr); + return NSObject._(_ret, retain: true, release: true); } static NSObject attributeWithName_stringValue_( - SwiftLibrary _lib, - NSString name, - NSString stringValue, - ) { - final _ret = _lib._objc_msgSend_1109( - _lib._class_NSXMLElement1, - _lib._sel_attributeWithName_stringValue_1, - name.pointer, - stringValue.pointer, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + NSString name, NSString stringValue) { + final _ret = _objc_msgSend_1108(_class_NSXMLElement, + _sel_attributeWithName_stringValue_, name.pointer, stringValue.pointer); + return NSObject._(_ret, retain: true, release: true); } static NSObject attributeWithName_URI_stringValue_( - SwiftLibrary _lib, - NSString name, - NSString URI, - NSString stringValue, - ) { - final _ret = _lib._objc_msgSend_1074( - _lib._class_NSXMLElement1, - _lib._sel_attributeWithName_URI_stringValue_1, - name.pointer, - URI.pointer, - stringValue.pointer, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + NSString name, NSString URI, NSString stringValue) { + final _ret = _objc_msgSend_1074( + _class_NSXMLElement, + _sel_attributeWithName_URI_stringValue_, + name.pointer, + URI.pointer, + stringValue.pointer); + return NSObject._(_ret, retain: true, release: true); } static NSObject namespaceWithName_stringValue_( - SwiftLibrary _lib, - NSString name, - NSString stringValue, - ) { - final _ret = _lib._objc_msgSend_1109( - _lib._class_NSXMLElement1, - _lib._sel_namespaceWithName_stringValue_1, - name.pointer, - stringValue.pointer, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + NSString name, NSString stringValue) { + final _ret = _objc_msgSend_1108(_class_NSXMLElement, + _sel_namespaceWithName_stringValue_, name.pointer, stringValue.pointer); + return NSObject._(_ret, retain: true, release: true); } static NSObject processingInstructionWithName_stringValue_( - SwiftLibrary _lib, - NSString name, - NSString stringValue, - ) { - final _ret = _lib._objc_msgSend_1109( - _lib._class_NSXMLElement1, - _lib._sel_processingInstructionWithName_stringValue_1, - name.pointer, - stringValue.pointer, - ); - return NSObject._(_ret, _lib, retain: true, release: true); - } - - static NSObject commentWithStringValue_( - SwiftLibrary _lib, - NSString stringValue, - ) { - final _ret = _lib._objc_msgSend_31( - _lib._class_NSXMLElement1, - _lib._sel_commentWithStringValue_1, - stringValue.pointer, - ); - return NSObject._(_ret, _lib, retain: true, release: true); - } - - static NSObject textWithStringValue_( - SwiftLibrary _lib, - NSString stringValue, - ) { - final _ret = _lib._objc_msgSend_31( - _lib._class_NSXMLElement1, - _lib._sel_textWithStringValue_1, - stringValue.pointer, - ); - return NSObject._(_ret, _lib, retain: true, release: true); - } - - static NSObject? DTDNodeWithXMLString_(SwiftLibrary _lib, NSString string) { - final _ret = _lib._objc_msgSend_38( - _lib._class_NSXMLElement1, - _lib._sel_DTDNodeWithXMLString_1, - string.pointer, - ); - return _ret.address == 0 - ? null - : NSObject._(_ret, _lib, retain: true, release: true); - } - - static NSString localNameForName_(SwiftLibrary _lib, NSString name) { - final _ret = _lib._objc_msgSend_69( - _lib._class_NSXMLElement1, - _lib._sel_localNameForName_1, - name.pointer, - ); - return NSString._(_ret, _lib, retain: true, release: true); - } - - static NSString? prefixForName_(SwiftLibrary _lib, NSString name) { - final _ret = _lib._objc_msgSend_186( - _lib._class_NSXMLElement1, - _lib._sel_prefixForName_1, - name.pointer, - ); - return _ret.address == 0 - ? null - : NSString._(_ret, _lib, retain: true, release: true); - } - - static NSXMLNode? predefinedNamespaceForPrefix_( - SwiftLibrary _lib, - NSString name, - ) { - final _ret = _lib._objc_msgSend_1125( - _lib._class_NSXMLElement1, - _lib._sel_predefinedNamespaceForPrefix_1, - name.pointer, - ); - return _ret.address == 0 - ? null - : NSXMLNode._(_ret, _lib, retain: true, release: true); - } - - static NSXMLElement new1(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSXMLElement1, - _lib._sel_new1, - ); - return NSXMLElement._(_ret, _lib, retain: false, release: true); - } - - static NSXMLElement allocWithZone_( - SwiftLibrary _lib, - ffi.Pointer<_NSZone> zone, - ) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSXMLElement1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSXMLElement._(_ret, _lib, retain: false, release: true); - } - - static NSXMLElement alloc(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSXMLElement1, - _lib._sel_alloc1, - ); - return NSXMLElement._(_ret, _lib, retain: false, release: true); + NSString name, NSString stringValue) { + final _ret = _objc_msgSend_1108( + _class_NSXMLElement, + _sel_processingInstructionWithName_stringValue_, + name.pointer, + stringValue.pointer); + return NSObject._(_ret, retain: true, release: true); + } + + static NSObject commentWithStringValue_(NSString stringValue) { + final _ret = _objc_msgSend_31( + _class_NSXMLElement, _sel_commentWithStringValue_, stringValue.pointer); + return NSObject._(_ret, retain: true, release: true); + } + + static NSObject textWithStringValue_(NSString stringValue) { + final _ret = _objc_msgSend_31( + _class_NSXMLElement, _sel_textWithStringValue_, stringValue.pointer); + return NSObject._(_ret, retain: true, release: true); + } + + static NSObject? DTDNodeWithXMLString_(NSString string) { + final _ret = _objc_msgSend_38( + _class_NSXMLElement, _sel_DTDNodeWithXMLString_, string.pointer); + return _ret.address == 0 + ? null + : NSObject._(_ret, retain: true, release: true); + } + + static NSString localNameForName_(NSString name) { + final _ret = _objc_msgSend_69( + _class_NSXMLElement, _sel_localNameForName_, name.pointer); + return NSString._(_ret, retain: true, release: true); + } + + static NSString? prefixForName_(NSString name) { + final _ret = _objc_msgSend_186( + _class_NSXMLElement, _sel_prefixForName_, name.pointer); + return _ret.address == 0 + ? null + : NSString._(_ret, retain: true, release: true); + } + + static NSXMLNode? predefinedNamespaceForPrefix_(NSString name) { + final _ret = _objc_msgSend_1124( + _class_NSXMLElement, _sel_predefinedNamespaceForPrefix_, name.pointer); + return _ret.address == 0 + ? null + : NSXMLNode._(_ret, retain: true, release: true); + } + + static NSXMLElement new1() { + final _ret = _objc_msgSend_2(_class_NSXMLElement, _sel_new); + return NSXMLElement._(_ret, retain: false, release: true); + } + + static NSXMLElement allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = + _objc_msgSend_3(_class_NSXMLElement, _sel_allocWithZone_, zone); + return NSXMLElement._(_ret, retain: false, release: true); + } + + static NSXMLElement alloc() { + final _ret = _objc_msgSend_2(_class_NSXMLElement, _sel_alloc); + return NSXMLElement._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSXMLElement1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSXMLElement1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSXMLElement1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSXMLElement1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSXMLElement1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSXMLElement1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSXMLElement, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); + } + + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSXMLElement, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); + } + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSXMLElement, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSXMLElement, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSXMLElement, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSXMLElement, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); } static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSXMLElement1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSXMLElement1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSXMLElement1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSXMLElement, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = _objc_msgSend_85( + _class_NSXMLElement, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = + _objc_msgSend_2(_class_NSXMLElement, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); } } +late final _class_NSXMLElement = objc.getClass("NSXMLElement"); + class NSXMLNode extends NSObject { - NSXMLNode._( - ffi.Pointer pointer, - SwiftLibrary lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSXMLNode._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSXMLNode] that points to the same underlying object as [other]. - static NSXMLNode castFrom( - SwiftLibrary lib, - T other, - ) { - return NSXMLNode._(other.pointer, lib, retain: true, release: true); + static NSXMLNode castFrom(T other) { + return NSXMLNode._(other.pointer, retain: true, release: true); } /// Returns a [NSXMLNode] that wraps the given raw object pointer. - static NSXMLNode castFromPointer( - SwiftLibrary lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSXMLNode._(other, lib, retain: retain, release: release); + static NSXMLNode castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSXMLNode._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSXMLNode]. - static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSXMLNode1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0(obj.pointer, _sel_isKindOfClass_, _class_NSXMLNode); } @override NSXMLNode init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSXMLNode._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSXMLNode._(_ret, retain: true, release: true); } NSXMLNode initWithKind_(int kind) { - final _ret = _lib._objc_msgSend_1106( - this.pointer, - _lib._sel_initWithKind_1, - kind, - ); - return NSXMLNode._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_1105(this.pointer, _sel_initWithKind_, kind); + return NSXMLNode._(_ret, retain: true, release: true); } NSXMLNode initWithKind_options_(int kind, int options) { - final _ret = _lib._objc_msgSend_1107( - this.pointer, - _lib._sel_initWithKind_options_1, - kind, - options, - ); - return NSXMLNode._(_ret, _lib, retain: true, release: true); - } - - static NSObject document(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSXMLNode1, - _lib._sel_document1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); - } - - static NSObject documentWithRootElement_( - SwiftLibrary _lib, - NSXMLElement element, - ) { - final _ret = _lib._objc_msgSend_1108( - _lib._class_NSXMLNode1, - _lib._sel_documentWithRootElement_1, - element.pointer, - ); - return NSObject._(_ret, _lib, retain: true, release: true); - } - - static NSObject elementWithName_(SwiftLibrary _lib, NSString name) { - final _ret = _lib._objc_msgSend_31( - _lib._class_NSXMLNode1, - _lib._sel_elementWithName_1, - name.pointer, - ); - return NSObject._(_ret, _lib, retain: true, release: true); - } - - static NSObject elementWithName_URI_( - SwiftLibrary _lib, - NSString name, - NSString URI, - ) { - final _ret = _lib._objc_msgSend_1109( - _lib._class_NSXMLNode1, - _lib._sel_elementWithName_URI_1, - name.pointer, - URI.pointer, - ); - return NSObject._(_ret, _lib, retain: true, release: true); - } - - static NSObject elementWithName_stringValue_( - SwiftLibrary _lib, - NSString name, - NSString string, - ) { - final _ret = _lib._objc_msgSend_1109( - _lib._class_NSXMLNode1, - _lib._sel_elementWithName_stringValue_1, - name.pointer, - string.pointer, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_1106( + this.pointer, _sel_initWithKind_options_, kind, options); + return NSXMLNode._(_ret, retain: true, release: true); + } + + static NSObject document() { + final _ret = _objc_msgSend_2(_class_NSXMLNode, _sel_document); + return NSObject._(_ret, retain: true, release: true); + } + + static NSObject documentWithRootElement_(NSXMLElement element) { + final _ret = _objc_msgSend_1107( + _class_NSXMLNode, _sel_documentWithRootElement_, element.pointer); + return NSObject._(_ret, retain: true, release: true); + } + + static NSObject elementWithName_(NSString name) { + final _ret = + _objc_msgSend_31(_class_NSXMLNode, _sel_elementWithName_, name.pointer); + return NSObject._(_ret, retain: true, release: true); + } + + static NSObject elementWithName_URI_(NSString name, NSString URI) { + final _ret = _objc_msgSend_1108( + _class_NSXMLNode, _sel_elementWithName_URI_, name.pointer, URI.pointer); + return NSObject._(_ret, retain: true, release: true); + } + + static NSObject elementWithName_stringValue_(NSString name, NSString string) { + final _ret = _objc_msgSend_1108(_class_NSXMLNode, + _sel_elementWithName_stringValue_, name.pointer, string.pointer); + return NSObject._(_ret, retain: true, release: true); } static NSObject elementWithName_children_attributes_( - SwiftLibrary _lib, - NSString name, - NSArray? children, - NSArray? attributes, - ) { - final _ret = _lib._objc_msgSend_1110( - _lib._class_NSXMLNode1, - _lib._sel_elementWithName_children_attributes_1, - name.pointer, - children?.pointer ?? ffi.nullptr, - attributes?.pointer ?? ffi.nullptr, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + NSString name, NSArray? children, NSArray? attributes) { + final _ret = _objc_msgSend_1109( + _class_NSXMLNode, + _sel_elementWithName_children_attributes_, + name.pointer, + children?.pointer ?? ffi.nullptr, + attributes?.pointer ?? ffi.nullptr); + return NSObject._(_ret, retain: true, release: true); } static NSObject attributeWithName_stringValue_( - SwiftLibrary _lib, - NSString name, - NSString stringValue, - ) { - final _ret = _lib._objc_msgSend_1109( - _lib._class_NSXMLNode1, - _lib._sel_attributeWithName_stringValue_1, - name.pointer, - stringValue.pointer, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + NSString name, NSString stringValue) { + final _ret = _objc_msgSend_1108(_class_NSXMLNode, + _sel_attributeWithName_stringValue_, name.pointer, stringValue.pointer); + return NSObject._(_ret, retain: true, release: true); } static NSObject attributeWithName_URI_stringValue_( - SwiftLibrary _lib, - NSString name, - NSString URI, - NSString stringValue, - ) { - final _ret = _lib._objc_msgSend_1074( - _lib._class_NSXMLNode1, - _lib._sel_attributeWithName_URI_stringValue_1, - name.pointer, - URI.pointer, - stringValue.pointer, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + NSString name, NSString URI, NSString stringValue) { + final _ret = _objc_msgSend_1074( + _class_NSXMLNode, + _sel_attributeWithName_URI_stringValue_, + name.pointer, + URI.pointer, + stringValue.pointer); + return NSObject._(_ret, retain: true, release: true); } static NSObject namespaceWithName_stringValue_( - SwiftLibrary _lib, - NSString name, - NSString stringValue, - ) { - final _ret = _lib._objc_msgSend_1109( - _lib._class_NSXMLNode1, - _lib._sel_namespaceWithName_stringValue_1, - name.pointer, - stringValue.pointer, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + NSString name, NSString stringValue) { + final _ret = _objc_msgSend_1108(_class_NSXMLNode, + _sel_namespaceWithName_stringValue_, name.pointer, stringValue.pointer); + return NSObject._(_ret, retain: true, release: true); } static NSObject processingInstructionWithName_stringValue_( - SwiftLibrary _lib, - NSString name, - NSString stringValue, - ) { - final _ret = _lib._objc_msgSend_1109( - _lib._class_NSXMLNode1, - _lib._sel_processingInstructionWithName_stringValue_1, - name.pointer, - stringValue.pointer, - ); - return NSObject._(_ret, _lib, retain: true, release: true); - } - - static NSObject commentWithStringValue_( - SwiftLibrary _lib, - NSString stringValue, - ) { - final _ret = _lib._objc_msgSend_31( - _lib._class_NSXMLNode1, - _lib._sel_commentWithStringValue_1, - stringValue.pointer, - ); - return NSObject._(_ret, _lib, retain: true, release: true); - } - - static NSObject textWithStringValue_( - SwiftLibrary _lib, - NSString stringValue, - ) { - final _ret = _lib._objc_msgSend_31( - _lib._class_NSXMLNode1, - _lib._sel_textWithStringValue_1, - stringValue.pointer, - ); - return NSObject._(_ret, _lib, retain: true, release: true); - } - - static NSObject? DTDNodeWithXMLString_(SwiftLibrary _lib, NSString string) { - final _ret = _lib._objc_msgSend_38( - _lib._class_NSXMLNode1, - _lib._sel_DTDNodeWithXMLString_1, - string.pointer, - ); - return _ret.address == 0 - ? null - : NSObject._(_ret, _lib, retain: true, release: true); + NSString name, NSString stringValue) { + final _ret = _objc_msgSend_1108( + _class_NSXMLNode, + _sel_processingInstructionWithName_stringValue_, + name.pointer, + stringValue.pointer); + return NSObject._(_ret, retain: true, release: true); + } + + static NSObject commentWithStringValue_(NSString stringValue) { + final _ret = _objc_msgSend_31( + _class_NSXMLNode, _sel_commentWithStringValue_, stringValue.pointer); + return NSObject._(_ret, retain: true, release: true); + } + + static NSObject textWithStringValue_(NSString stringValue) { + final _ret = _objc_msgSend_31( + _class_NSXMLNode, _sel_textWithStringValue_, stringValue.pointer); + return NSObject._(_ret, retain: true, release: true); + } + + static NSObject? DTDNodeWithXMLString_(NSString string) { + final _ret = _objc_msgSend_38( + _class_NSXMLNode, _sel_DTDNodeWithXMLString_, string.pointer); + return _ret.address == 0 + ? null + : NSObject._(_ret, retain: true, release: true); } int get kind { - return _lib._objc_msgSend_1111(this.pointer, _lib._sel_kind1); + return _objc_msgSend_1110(this.pointer, _sel_kind); } NSString? get name { - final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_name1); + final _ret = _objc_msgSend_44(this.pointer, _sel_name); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } set name(NSString? value) { - return _lib._objc_msgSend_545( - this.pointer, - _lib._sel_setName_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_545( + this.pointer, _sel_setName_, value?.pointer ?? ffi.nullptr); } NSObject? get objectValue { - final _ret = _lib._objc_msgSend_17(this.pointer, _lib._sel_objectValue1); + final _ret = _objc_msgSend_17(this.pointer, _sel_objectValue); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } set objectValue(NSObject? value) { - return _lib._objc_msgSend_416( - this.pointer, - _lib._sel_setObjectValue_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_416( + this.pointer, _sel_setObjectValue_, value?.pointer ?? ffi.nullptr); } NSString? get stringValue { - final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_stringValue1); + final _ret = _objc_msgSend_44(this.pointer, _sel_stringValue); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } set stringValue(NSString? value) { - return _lib._objc_msgSend_545( - this.pointer, - _lib._sel_setStringValue_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_545( + this.pointer, _sel_setStringValue_, value?.pointer ?? ffi.nullptr); } void setStringValue_resolvingEntities_(NSString string, bool resolve) { - _lib._objc_msgSend_1112( - this.pointer, - _lib._sel_setStringValue_resolvingEntities_1, - string.pointer, - resolve, - ); + _objc_msgSend_1111(this.pointer, _sel_setStringValue_resolvingEntities_, + string.pointer, resolve); } int get index { - return _lib._objc_msgSend_10(this.pointer, _lib._sel_index1); + return _objc_msgSend_10(this.pointer, _sel_index); } int get level { - return _lib._objc_msgSend_10(this.pointer, _lib._sel_level1); + return _objc_msgSend_10(this.pointer, _sel_level); } NSXMLDocument? get rootDocument { - final _ret = _lib._objc_msgSend_1136(this.pointer, _lib._sel_rootDocument1); + final _ret = _objc_msgSend_1135(this.pointer, _sel_rootDocument); return _ret.address == 0 ? null - : NSXMLDocument._(_ret, _lib, retain: true, release: true); + : NSXMLDocument._(_ret, retain: true, release: true); } NSXMLNode? get parent { - final _ret = _lib._objc_msgSend_1137(this.pointer, _lib._sel_parent1); + final _ret = _objc_msgSend_1136(this.pointer, _sel_parent); return _ret.address == 0 ? null - : NSXMLNode._(_ret, _lib, retain: true, release: true); + : NSXMLNode._(_ret, retain: true, release: true); } int get childCount { - return _lib._objc_msgSend_10(this.pointer, _lib._sel_childCount1); + return _objc_msgSend_10(this.pointer, _sel_childCount); } NSArray? get children { - final _ret = _lib._objc_msgSend_84(this.pointer, _lib._sel_children1); + final _ret = _objc_msgSend_84(this.pointer, _sel_children); return _ret.address == 0 ? null - : NSArray._(_ret, _lib, retain: true, release: true); + : NSArray._(_ret, retain: true, release: true); } NSXMLNode? childAtIndex_(int index) { - final _ret = _lib._objc_msgSend_1138( - this.pointer, - _lib._sel_childAtIndex_1, - index, - ); + final _ret = _objc_msgSend_1137(this.pointer, _sel_childAtIndex_, index); return _ret.address == 0 ? null - : NSXMLNode._(_ret, _lib, retain: true, release: true); + : NSXMLNode._(_ret, retain: true, release: true); } NSXMLNode? get previousSibling { - final _ret = _lib._objc_msgSend_1137( - this.pointer, - _lib._sel_previousSibling1, - ); + final _ret = _objc_msgSend_1136(this.pointer, _sel_previousSibling); return _ret.address == 0 ? null - : NSXMLNode._(_ret, _lib, retain: true, release: true); + : NSXMLNode._(_ret, retain: true, release: true); } NSXMLNode? get nextSibling { - final _ret = _lib._objc_msgSend_1137(this.pointer, _lib._sel_nextSibling1); + final _ret = _objc_msgSend_1136(this.pointer, _sel_nextSibling); return _ret.address == 0 ? null - : NSXMLNode._(_ret, _lib, retain: true, release: true); + : NSXMLNode._(_ret, retain: true, release: true); } NSXMLNode? get previousNode { - final _ret = _lib._objc_msgSend_1137(this.pointer, _lib._sel_previousNode1); + final _ret = _objc_msgSend_1136(this.pointer, _sel_previousNode); return _ret.address == 0 ? null - : NSXMLNode._(_ret, _lib, retain: true, release: true); + : NSXMLNode._(_ret, retain: true, release: true); } NSXMLNode? get nextNode { - final _ret = _lib._objc_msgSend_1137(this.pointer, _lib._sel_nextNode1); + final _ret = _objc_msgSend_1136(this.pointer, _sel_nextNode); return _ret.address == 0 ? null - : NSXMLNode._(_ret, _lib, retain: true, release: true); + : NSXMLNode._(_ret, retain: true, release: true); } void detach() { - _lib._objc_msgSend_1(this.pointer, _lib._sel_detach1); + _objc_msgSend_1(this.pointer, _sel_detach); } NSString? get XPath { - final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_XPath1); + final _ret = _objc_msgSend_44(this.pointer, _sel_XPath); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } NSString? get localName { - final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_localName1); + final _ret = _objc_msgSend_44(this.pointer, _sel_localName); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } NSString? get prefix { - final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_prefix1); + final _ret = _objc_msgSend_44(this.pointer, _sel_prefix); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } NSString? get URI { - final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_URI1); + final _ret = _objc_msgSend_44(this.pointer, _sel_URI); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } set URI(NSString? value) { - return _lib._objc_msgSend_545( - this.pointer, - _lib._sel_setURI_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_545( + this.pointer, _sel_setURI_, value?.pointer ?? ffi.nullptr); } - static NSString localNameForName_(SwiftLibrary _lib, NSString name) { - final _ret = _lib._objc_msgSend_69( - _lib._class_NSXMLNode1, - _lib._sel_localNameForName_1, - name.pointer, - ); - return NSString._(_ret, _lib, retain: true, release: true); + static NSString localNameForName_(NSString name) { + final _ret = _objc_msgSend_69( + _class_NSXMLNode, _sel_localNameForName_, name.pointer); + return NSString._(_ret, retain: true, release: true); } - static NSString? prefixForName_(SwiftLibrary _lib, NSString name) { - final _ret = _lib._objc_msgSend_186( - _lib._class_NSXMLNode1, - _lib._sel_prefixForName_1, - name.pointer, - ); + static NSString? prefixForName_(NSString name) { + final _ret = + _objc_msgSend_186(_class_NSXMLNode, _sel_prefixForName_, name.pointer); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } - static NSXMLNode? predefinedNamespaceForPrefix_( - SwiftLibrary _lib, - NSString name, - ) { - final _ret = _lib._objc_msgSend_1125( - _lib._class_NSXMLNode1, - _lib._sel_predefinedNamespaceForPrefix_1, - name.pointer, - ); + static NSXMLNode? predefinedNamespaceForPrefix_(NSString name) { + final _ret = _objc_msgSend_1124( + _class_NSXMLNode, _sel_predefinedNamespaceForPrefix_, name.pointer); return _ret.address == 0 ? null - : NSXMLNode._(_ret, _lib, retain: true, release: true); + : NSXMLNode._(_ret, retain: true, release: true); } NSString get description { - final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_description1); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_description); + return NSString._(_ret, retain: true, release: true); } NSString get XMLString { - final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_XMLString1); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_XMLString); + return NSString._(_ret, retain: true, release: true); } NSString XMLStringWithOptions_(int options) { - final _ret = _lib._objc_msgSend_1139( - this.pointer, - _lib._sel_XMLStringWithOptions_1, - options, - ); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_1138(this.pointer, _sel_XMLStringWithOptions_, options); + return NSString._(_ret, retain: true, release: true); } NSString canonicalXMLStringPreservingComments_(bool comments) { - final _ret = _lib._objc_msgSend_1140( - this.pointer, - _lib._sel_canonicalXMLStringPreservingComments_1, - comments, - ); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_1139( + this.pointer, _sel_canonicalXMLStringPreservingComments_, comments); + return NSString._(_ret, retain: true, release: true); } NSArray? nodesForXPath_error_( - NSString xpath, - ffi.Pointer> error, - ) { - final _ret = _lib._objc_msgSend_443( - this.pointer, - _lib._sel_nodesForXPath_error_1, - xpath.pointer, - error, - ); + NSString xpath, ffi.Pointer> error) { + final _ret = _objc_msgSend_443( + this.pointer, _sel_nodesForXPath_error_, xpath.pointer, error); return _ret.address == 0 ? null - : NSArray._(_ret, _lib, retain: true, release: true); + : NSArray._(_ret, retain: true, release: true); } NSArray? objectsForXQuery_constants_error_( - NSString xquery, - NSDictionary? constants, - ffi.Pointer> error, - ) { - final _ret = _lib._objc_msgSend_1141( - this.pointer, - _lib._sel_objectsForXQuery_constants_error_1, - xquery.pointer, - constants?.pointer ?? ffi.nullptr, - error, - ); + NSString xquery, + NSDictionary? constants, + ffi.Pointer> error) { + final _ret = _objc_msgSend_1140( + this.pointer, + _sel_objectsForXQuery_constants_error_, + xquery.pointer, + constants?.pointer ?? ffi.nullptr, + error); return _ret.address == 0 ? null - : NSArray._(_ret, _lib, retain: true, release: true); + : NSArray._(_ret, retain: true, release: true); } NSArray? objectsForXQuery_error_( - NSString xquery, - ffi.Pointer> error, - ) { - final _ret = _lib._objc_msgSend_443( - this.pointer, - _lib._sel_objectsForXQuery_error_1, - xquery.pointer, - error, - ); + NSString xquery, ffi.Pointer> error) { + final _ret = _objc_msgSend_443( + this.pointer, _sel_objectsForXQuery_error_, xquery.pointer, error); return _ret.address == 0 ? null - : NSArray._(_ret, _lib, retain: true, release: true); + : NSArray._(_ret, retain: true, release: true); } - static NSXMLNode new1(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2(_lib._class_NSXMLNode1, _lib._sel_new1); - return NSXMLNode._(_ret, _lib, retain: false, release: true); + static NSXMLNode new1() { + final _ret = _objc_msgSend_2(_class_NSXMLNode, _sel_new); + return NSXMLNode._(_ret, retain: false, release: true); } - static NSXMLNode allocWithZone_( - SwiftLibrary _lib, - ffi.Pointer<_NSZone> zone, - ) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSXMLNode1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSXMLNode._(_ret, _lib, retain: false, release: true); + static NSXMLNode allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = _objc_msgSend_3(_class_NSXMLNode, _sel_allocWithZone_, zone); + return NSXMLNode._(_ret, retain: false, release: true); } - static NSXMLNode alloc(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2(_lib._class_NSXMLNode1, _lib._sel_alloc1); - return NSXMLNode._(_ret, _lib, retain: false, release: true); + static NSXMLNode alloc() { + final _ret = _objc_msgSend_2(_class_NSXMLNode, _sel_alloc); + return NSXMLNode._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSXMLNode1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSXMLNode1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSXMLNode1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSXMLNode1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSXMLNode1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSXMLNode1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSXMLNode, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); + } + + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSXMLNode, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); + } + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSXMLNode, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSXMLNode, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSXMLNode, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSXMLNode, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); } static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSXMLNode1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSXMLNode1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSXMLNode1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSXMLNode, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = + _objc_msgSend_85(_class_NSXMLNode, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = + _objc_msgSend_2(_class_NSXMLNode, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); } } +late final _class_NSXMLNode = objc.getClass("NSXMLNode"); + abstract class NSXMLNodeKind { static const int NSXMLInvalidKind = 0; static const int NSXMLDocumentKind = 1; @@ -92326,6 +57644,16 @@ abstract class NSXMLNodeKind { static const int NSXMLNotationDeclarationKind = 12; } +late final _sel_initWithKind_ = objc.registerName("initWithKind:"); +final _objc_msgSend_1105 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function(ffi.Pointer obj, + ffi.Pointer sel, ffi.Int32 kind)>>() + .asFunction< + instancetype Function(ffi.Pointer, + ffi.Pointer, int)>(); + abstract class NSXMLNodeOptions { static const int NSXMLNodeOptionsNone = 0; static const int NSXMLNodeIsCDATA = 1; @@ -92357,681 +57685,621 @@ abstract class NSXMLNodeOptions { static const int NSXMLNodePreserveAll = 4293918750; } +late final _sel_initWithKind_options_ = + objc.registerName("initWithKind:options:"); +final _objc_msgSend_1106 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Int32 kind, + ffi.Int32 options)>>() + .asFunction< + instancetype Function(ffi.Pointer, + ffi.Pointer, int, int)>(); +late final _sel_document = objc.registerName("document"); +late final _sel_documentWithRootElement_ = + objc.registerName("documentWithRootElement:"); +final _objc_msgSend_1107 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer element)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_elementWithName_ = objc.registerName("elementWithName:"); +late final _sel_elementWithName_URI_ = + objc.registerName("elementWithName:URI:"); +final _objc_msgSend_1108 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer name, + ffi.Pointer URI)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_elementWithName_stringValue_ = + objc.registerName("elementWithName:stringValue:"); +late final _sel_elementWithName_children_attributes_ = + objc.registerName("elementWithName:children:attributes:"); +final _objc_msgSend_1109 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer name, + ffi.Pointer children, + ffi.Pointer attributes)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_attributeWithName_stringValue_ = + objc.registerName("attributeWithName:stringValue:"); +late final _sel_attributeWithName_URI_stringValue_ = + objc.registerName("attributeWithName:URI:stringValue:"); +late final _sel_namespaceWithName_stringValue_ = + objc.registerName("namespaceWithName:stringValue:"); +late final _sel_processingInstructionWithName_stringValue_ = + objc.registerName("processingInstructionWithName:stringValue:"); +late final _sel_commentWithStringValue_ = + objc.registerName("commentWithStringValue:"); +late final _sel_textWithStringValue_ = + objc.registerName("textWithStringValue:"); +late final _sel_DTDNodeWithXMLString_ = + objc.registerName("DTDNodeWithXMLString:"); +final _objc_msgSend_1110 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + int Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_objectValue = objc.registerName("objectValue"); +late final _sel_setObjectValue_ = objc.registerName("setObjectValue:"); +late final _sel_setStringValue_ = objc.registerName("setStringValue:"); +late final _sel_setStringValue_resolvingEntities_ = + objc.registerName("setStringValue:resolvingEntities:"); +final _objc_msgSend_1111 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer string, + ffi.Bool resolve)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool)>(); +late final _sel_index = objc.registerName("index"); +late final _sel_level = objc.registerName("level"); + class NSXMLDocument extends NSXMLNode { - NSXMLDocument._( - ffi.Pointer pointer, - SwiftLibrary lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSXMLDocument._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSXMLDocument] that points to the same underlying object as [other]. - static NSXMLDocument castFrom( - SwiftLibrary lib, - T other, - ) { - return NSXMLDocument._(other.pointer, lib, retain: true, release: true); + static NSXMLDocument castFrom(T other) { + return NSXMLDocument._(other.pointer, retain: true, release: true); } /// Returns a [NSXMLDocument] that wraps the given raw object pointer. - static NSXMLDocument castFromPointer( - SwiftLibrary lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSXMLDocument._(other, lib, retain: retain, release: release); + static NSXMLDocument castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSXMLDocument._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSXMLDocument]. - static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSXMLDocument1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0( + obj.pointer, _sel_isKindOfClass_, _class_NSXMLDocument); } @override NSXMLDocument init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSXMLDocument._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSXMLDocument._(_ret, retain: true, release: true); } - NSXMLDocument? initWithXMLString_options_error_( - NSString string, - int mask, - ffi.Pointer> error, - ) { - final _ret = _lib._objc_msgSend_1113( - this.pointer, - _lib._sel_initWithXMLString_options_error_1, - string.pointer, - mask, - error, - ); + NSXMLDocument? initWithXMLString_options_error_(NSString string, int mask, + ffi.Pointer> error) { + final _ret = _objc_msgSend_1112(this.pointer, + _sel_initWithXMLString_options_error_, string.pointer, mask, error); return _ret.address == 0 ? null - : NSXMLDocument._(_ret, _lib, retain: true, release: true); + : NSXMLDocument._(_ret, retain: true, release: true); } NSXMLDocument? initWithContentsOfURL_options_error_( - NSURL url, - int mask, - ffi.Pointer> error, - ) { - final _ret = _lib._objc_msgSend_1114( - this.pointer, - _lib._sel_initWithContentsOfURL_options_error_1, - url.pointer, - mask, - error, - ); + NSURL url, int mask, ffi.Pointer> error) { + final _ret = _objc_msgSend_1113(this.pointer, + _sel_initWithContentsOfURL_options_error_, url.pointer, mask, error); return _ret.address == 0 ? null - : NSXMLDocument._(_ret, _lib, retain: true, release: true); + : NSXMLDocument._(_ret, retain: true, release: true); } NSXMLDocument? initWithData_options_error_( - NSData data, - int mask, - ffi.Pointer> error, - ) { - final _ret = _lib._objc_msgSend_1115( - this.pointer, - _lib._sel_initWithData_options_error_1, - data.pointer, - mask, - error, - ); + NSData data, int mask, ffi.Pointer> error) { + final _ret = _objc_msgSend_1114(this.pointer, + _sel_initWithData_options_error_, data.pointer, mask, error); return _ret.address == 0 ? null - : NSXMLDocument._(_ret, _lib, retain: true, release: true); + : NSXMLDocument._(_ret, retain: true, release: true); } NSXMLDocument initWithRootElement_(NSXMLElement? element) { - final _ret = _lib._objc_msgSend_1116( - this.pointer, - _lib._sel_initWithRootElement_1, - element?.pointer ?? ffi.nullptr, - ); - return NSXMLDocument._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_1115(this.pointer, _sel_initWithRootElement_, + element?.pointer ?? ffi.nullptr); + return NSXMLDocument._(_ret, retain: true, release: true); } - static NSObject replacementClassForClass_(SwiftLibrary _lib, NSObject cls) { - final _ret = _lib._objc_msgSend_124( - _lib._class_NSXMLDocument1, - _lib._sel_replacementClassForClass_1, - cls.pointer, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + static NSObject replacementClassForClass_(NSObject cls) { + final _ret = _objc_msgSend_124( + _class_NSXMLDocument, _sel_replacementClassForClass_, cls.pointer); + return NSObject._(_ret, retain: true, release: true); } NSString? get characterEncoding { - final _ret = _lib._objc_msgSend_44( - this.pointer, - _lib._sel_characterEncoding1, - ); + final _ret = _objc_msgSend_44(this.pointer, _sel_characterEncoding); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } set characterEncoding(NSString? value) { - return _lib._objc_msgSend_545( - this.pointer, - _lib._sel_setCharacterEncoding_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_545(this.pointer, _sel_setCharacterEncoding_, + value?.pointer ?? ffi.nullptr); } NSString? get version { - final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_version1); + final _ret = _objc_msgSend_44(this.pointer, _sel_version); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } set version(NSString? value) { - return _lib._objc_msgSend_545( - this.pointer, - _lib._sel_setVersion_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_545( + this.pointer, _sel_setVersion_, value?.pointer ?? ffi.nullptr); } bool get standalone { - return _lib._objc_msgSend_12(this.pointer, _lib._sel_isStandalone1); + return _objc_msgSend_12(this.pointer, _sel_isStandalone); } set standalone(bool value) { - return _lib._objc_msgSend_527( - this.pointer, - _lib._sel_setStandalone_1, - value, - ); + return _objc_msgSend_527(this.pointer, _sel_setStandalone_, value); } int get documentContentKind { - return _lib._objc_msgSend_1117( - this.pointer, - _lib._sel_documentContentKind1, - ); + return _objc_msgSend_1116(this.pointer, _sel_documentContentKind); } set documentContentKind(int value) { - return _lib._objc_msgSend_1118( - this.pointer, - _lib._sel_setDocumentContentKind_1, - value, - ); + return _objc_msgSend_1117( + this.pointer, _sel_setDocumentContentKind_, value); } NSString? get MIMEType { - final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_MIMEType1); + final _ret = _objc_msgSend_44(this.pointer, _sel_MIMEType); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } set MIMEType(NSString? value) { - return _lib._objc_msgSend_545( - this.pointer, - _lib._sel_setMIMEType_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_545( + this.pointer, _sel_setMIMEType_, value?.pointer ?? ffi.nullptr); } NSXMLDTD? get DTD { - final _ret = _lib._objc_msgSend_1128(this.pointer, _lib._sel_DTD1); + final _ret = _objc_msgSend_1127(this.pointer, _sel_DTD); return _ret.address == 0 ? null - : NSXMLDTD._(_ret, _lib, retain: true, release: true); + : NSXMLDTD._(_ret, retain: true, release: true); } set DTD(NSXMLDTD? value) { - return _lib._objc_msgSend_1129( - this.pointer, - _lib._sel_setDTD_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_1128( + this.pointer, _sel_setDTD_, value?.pointer ?? ffi.nullptr); } void setRootElement_(NSXMLElement root) { - _lib._objc_msgSend_1130( - this.pointer, - _lib._sel_setRootElement_1, - root.pointer, - ); + _objc_msgSend_1129(this.pointer, _sel_setRootElement_, root.pointer); } NSXMLElement? rootElement() { - final _ret = _lib._objc_msgSend_1131(this.pointer, _lib._sel_rootElement1); + final _ret = _objc_msgSend_1130(this.pointer, _sel_rootElement); return _ret.address == 0 ? null - : NSXMLElement._(_ret, _lib, retain: true, release: true); + : NSXMLElement._(_ret, retain: true, release: true); } void insertChild_atIndex_(NSXMLNode child, int index) { - _lib._objc_msgSend_1119( - this.pointer, - _lib._sel_insertChild_atIndex_1, - child.pointer, - index, - ); + _objc_msgSend_1118( + this.pointer, _sel_insertChild_atIndex_, child.pointer, index); } void insertChildren_atIndex_(NSArray children, int index) { - _lib._objc_msgSend_1120( - this.pointer, - _lib._sel_insertChildren_atIndex_1, - children.pointer, - index, - ); + _objc_msgSend_1119( + this.pointer, _sel_insertChildren_atIndex_, children.pointer, index); } void removeChildAtIndex_(int index) { - _lib._objc_msgSend_470(this.pointer, _lib._sel_removeChildAtIndex_1, index); + _objc_msgSend_470(this.pointer, _sel_removeChildAtIndex_, index); } void setChildren_(NSArray? children) { - _lib._objc_msgSend_843( - this.pointer, - _lib._sel_setChildren_1, - children?.pointer ?? ffi.nullptr, - ); + _objc_msgSend_843( + this.pointer, _sel_setChildren_, children?.pointer ?? ffi.nullptr); } void addChild_(NSXMLNode child) { - _lib._objc_msgSend_1121(this.pointer, _lib._sel_addChild_1, child.pointer); + _objc_msgSend_1120(this.pointer, _sel_addChild_, child.pointer); } void replaceChildAtIndex_withNode_(int index, NSXMLNode node) { - _lib._objc_msgSend_1122( - this.pointer, - _lib._sel_replaceChildAtIndex_withNode_1, - index, - node.pointer, - ); + _objc_msgSend_1121( + this.pointer, _sel_replaceChildAtIndex_withNode_, index, node.pointer); } NSData get XMLData { - final _ret = _lib._objc_msgSend_43(this.pointer, _lib._sel_XMLData1); - return NSData._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_43(this.pointer, _sel_XMLData); + return NSData._(_ret, retain: true, release: true); } NSData XMLDataWithOptions_(int options) { - final _ret = _lib._objc_msgSend_1132( - this.pointer, - _lib._sel_XMLDataWithOptions_1, - options, - ); - return NSData._(_ret, _lib, retain: true, release: true); + final _ret = + _objc_msgSend_1131(this.pointer, _sel_XMLDataWithOptions_, options); + return NSData._(_ret, retain: true, release: true); } NSObject? objectByApplyingXSLT_arguments_error_( - NSData xslt, - NSDictionary? arguments, - ffi.Pointer> error, - ) { - final _ret = _lib._objc_msgSend_1133( - this.pointer, - _lib._sel_objectByApplyingXSLT_arguments_error_1, - xslt.pointer, - arguments?.pointer ?? ffi.nullptr, - error, - ); + NSData xslt, + NSDictionary? arguments, + ffi.Pointer> error) { + final _ret = _objc_msgSend_1132( + this.pointer, + _sel_objectByApplyingXSLT_arguments_error_, + xslt.pointer, + arguments?.pointer ?? ffi.nullptr, + error); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } NSObject? objectByApplyingXSLTString_arguments_error_( - NSString xslt, - NSDictionary? arguments, - ffi.Pointer> error, - ) { - final _ret = _lib._objc_msgSend_1134( - this.pointer, - _lib._sel_objectByApplyingXSLTString_arguments_error_1, - xslt.pointer, - arguments?.pointer ?? ffi.nullptr, - error, - ); + NSString xslt, + NSDictionary? arguments, + ffi.Pointer> error) { + final _ret = _objc_msgSend_1133( + this.pointer, + _sel_objectByApplyingXSLTString_arguments_error_, + xslt.pointer, + arguments?.pointer ?? ffi.nullptr, + error); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } - NSObject? objectByApplyingXSLTAtURL_arguments_error_( - NSURL xsltURL, - NSDictionary? argument, - ffi.Pointer> error, - ) { - final _ret = _lib._objc_msgSend_1135( - this.pointer, - _lib._sel_objectByApplyingXSLTAtURL_arguments_error_1, - xsltURL.pointer, - argument?.pointer ?? ffi.nullptr, - error, - ); + NSObject? objectByApplyingXSLTAtURL_arguments_error_(NSURL xsltURL, + NSDictionary? argument, ffi.Pointer> error) { + final _ret = _objc_msgSend_1134( + this.pointer, + _sel_objectByApplyingXSLTAtURL_arguments_error_, + xsltURL.pointer, + argument?.pointer ?? ffi.nullptr, + error); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } bool validateAndReturnError_( - ffi.Pointer> error, - ) { - return _lib._objc_msgSend_255( - this.pointer, - _lib._sel_validateAndReturnError_1, - error, - ); + ffi.Pointer> error) { + return _objc_msgSend_255(this.pointer, _sel_validateAndReturnError_, error); } @override NSXMLDocument initWithKind_(int kind) { - final _ret = _lib._objc_msgSend_1106( - this.pointer, - _lib._sel_initWithKind_1, - kind, - ); - return NSXMLDocument._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_1105(this.pointer, _sel_initWithKind_, kind); + return NSXMLDocument._(_ret, retain: true, release: true); } @override NSXMLDocument initWithKind_options_(int kind, int options) { - final _ret = _lib._objc_msgSend_1107( - this.pointer, - _lib._sel_initWithKind_options_1, - kind, - options, - ); - return NSXMLDocument._(_ret, _lib, retain: true, release: true); - } - - static NSObject document(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSXMLDocument1, - _lib._sel_document1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); - } - - static NSObject documentWithRootElement_( - SwiftLibrary _lib, - NSXMLElement element, - ) { - final _ret = _lib._objc_msgSend_1108( - _lib._class_NSXMLDocument1, - _lib._sel_documentWithRootElement_1, - element.pointer, - ); - return NSObject._(_ret, _lib, retain: true, release: true); - } - - static NSObject elementWithName_(SwiftLibrary _lib, NSString name) { - final _ret = _lib._objc_msgSend_31( - _lib._class_NSXMLDocument1, - _lib._sel_elementWithName_1, - name.pointer, - ); - return NSObject._(_ret, _lib, retain: true, release: true); - } - - static NSObject elementWithName_URI_( - SwiftLibrary _lib, - NSString name, - NSString URI, - ) { - final _ret = _lib._objc_msgSend_1109( - _lib._class_NSXMLDocument1, - _lib._sel_elementWithName_URI_1, - name.pointer, - URI.pointer, - ); - return NSObject._(_ret, _lib, retain: true, release: true); - } - - static NSObject elementWithName_stringValue_( - SwiftLibrary _lib, - NSString name, - NSString string, - ) { - final _ret = _lib._objc_msgSend_1109( - _lib._class_NSXMLDocument1, - _lib._sel_elementWithName_stringValue_1, - name.pointer, - string.pointer, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_1106( + this.pointer, _sel_initWithKind_options_, kind, options); + return NSXMLDocument._(_ret, retain: true, release: true); + } + + static NSObject document() { + final _ret = _objc_msgSend_2(_class_NSXMLDocument, _sel_document); + return NSObject._(_ret, retain: true, release: true); + } + + static NSObject documentWithRootElement_(NSXMLElement element) { + final _ret = _objc_msgSend_1107( + _class_NSXMLDocument, _sel_documentWithRootElement_, element.pointer); + return NSObject._(_ret, retain: true, release: true); + } + + static NSObject elementWithName_(NSString name) { + final _ret = _objc_msgSend_31( + _class_NSXMLDocument, _sel_elementWithName_, name.pointer); + return NSObject._(_ret, retain: true, release: true); + } + + static NSObject elementWithName_URI_(NSString name, NSString URI) { + final _ret = _objc_msgSend_1108(_class_NSXMLDocument, + _sel_elementWithName_URI_, name.pointer, URI.pointer); + return NSObject._(_ret, retain: true, release: true); + } + + static NSObject elementWithName_stringValue_(NSString name, NSString string) { + final _ret = _objc_msgSend_1108(_class_NSXMLDocument, + _sel_elementWithName_stringValue_, name.pointer, string.pointer); + return NSObject._(_ret, retain: true, release: true); } static NSObject elementWithName_children_attributes_( - SwiftLibrary _lib, - NSString name, - NSArray? children, - NSArray? attributes, - ) { - final _ret = _lib._objc_msgSend_1110( - _lib._class_NSXMLDocument1, - _lib._sel_elementWithName_children_attributes_1, - name.pointer, - children?.pointer ?? ffi.nullptr, - attributes?.pointer ?? ffi.nullptr, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + NSString name, NSArray? children, NSArray? attributes) { + final _ret = _objc_msgSend_1109( + _class_NSXMLDocument, + _sel_elementWithName_children_attributes_, + name.pointer, + children?.pointer ?? ffi.nullptr, + attributes?.pointer ?? ffi.nullptr); + return NSObject._(_ret, retain: true, release: true); } static NSObject attributeWithName_stringValue_( - SwiftLibrary _lib, - NSString name, - NSString stringValue, - ) { - final _ret = _lib._objc_msgSend_1109( - _lib._class_NSXMLDocument1, - _lib._sel_attributeWithName_stringValue_1, - name.pointer, - stringValue.pointer, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + NSString name, NSString stringValue) { + final _ret = _objc_msgSend_1108(_class_NSXMLDocument, + _sel_attributeWithName_stringValue_, name.pointer, stringValue.pointer); + return NSObject._(_ret, retain: true, release: true); } static NSObject attributeWithName_URI_stringValue_( - SwiftLibrary _lib, - NSString name, - NSString URI, - NSString stringValue, - ) { - final _ret = _lib._objc_msgSend_1074( - _lib._class_NSXMLDocument1, - _lib._sel_attributeWithName_URI_stringValue_1, - name.pointer, - URI.pointer, - stringValue.pointer, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + NSString name, NSString URI, NSString stringValue) { + final _ret = _objc_msgSend_1074( + _class_NSXMLDocument, + _sel_attributeWithName_URI_stringValue_, + name.pointer, + URI.pointer, + stringValue.pointer); + return NSObject._(_ret, retain: true, release: true); } static NSObject namespaceWithName_stringValue_( - SwiftLibrary _lib, - NSString name, - NSString stringValue, - ) { - final _ret = _lib._objc_msgSend_1109( - _lib._class_NSXMLDocument1, - _lib._sel_namespaceWithName_stringValue_1, - name.pointer, - stringValue.pointer, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + NSString name, NSString stringValue) { + final _ret = _objc_msgSend_1108(_class_NSXMLDocument, + _sel_namespaceWithName_stringValue_, name.pointer, stringValue.pointer); + return NSObject._(_ret, retain: true, release: true); } static NSObject processingInstructionWithName_stringValue_( - SwiftLibrary _lib, - NSString name, - NSString stringValue, - ) { - final _ret = _lib._objc_msgSend_1109( - _lib._class_NSXMLDocument1, - _lib._sel_processingInstructionWithName_stringValue_1, - name.pointer, - stringValue.pointer, - ); - return NSObject._(_ret, _lib, retain: true, release: true); - } - - static NSObject commentWithStringValue_( - SwiftLibrary _lib, - NSString stringValue, - ) { - final _ret = _lib._objc_msgSend_31( - _lib._class_NSXMLDocument1, - _lib._sel_commentWithStringValue_1, - stringValue.pointer, - ); - return NSObject._(_ret, _lib, retain: true, release: true); - } - - static NSObject textWithStringValue_( - SwiftLibrary _lib, - NSString stringValue, - ) { - final _ret = _lib._objc_msgSend_31( - _lib._class_NSXMLDocument1, - _lib._sel_textWithStringValue_1, - stringValue.pointer, - ); - return NSObject._(_ret, _lib, retain: true, release: true); - } - - static NSObject? DTDNodeWithXMLString_(SwiftLibrary _lib, NSString string) { - final _ret = _lib._objc_msgSend_38( - _lib._class_NSXMLDocument1, - _lib._sel_DTDNodeWithXMLString_1, - string.pointer, - ); - return _ret.address == 0 - ? null - : NSObject._(_ret, _lib, retain: true, release: true); - } - - static NSString localNameForName_(SwiftLibrary _lib, NSString name) { - final _ret = _lib._objc_msgSend_69( - _lib._class_NSXMLDocument1, - _lib._sel_localNameForName_1, - name.pointer, - ); - return NSString._(_ret, _lib, retain: true, release: true); - } - - static NSString? prefixForName_(SwiftLibrary _lib, NSString name) { - final _ret = _lib._objc_msgSend_186( - _lib._class_NSXMLDocument1, - _lib._sel_prefixForName_1, - name.pointer, - ); - return _ret.address == 0 - ? null - : NSString._(_ret, _lib, retain: true, release: true); - } - - static NSXMLNode? predefinedNamespaceForPrefix_( - SwiftLibrary _lib, - NSString name, - ) { - final _ret = _lib._objc_msgSend_1125( - _lib._class_NSXMLDocument1, - _lib._sel_predefinedNamespaceForPrefix_1, - name.pointer, - ); - return _ret.address == 0 - ? null - : NSXMLNode._(_ret, _lib, retain: true, release: true); - } - - static NSXMLDocument new1(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSXMLDocument1, - _lib._sel_new1, - ); - return NSXMLDocument._(_ret, _lib, retain: false, release: true); - } - - static NSXMLDocument allocWithZone_( - SwiftLibrary _lib, - ffi.Pointer<_NSZone> zone, - ) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSXMLDocument1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSXMLDocument._(_ret, _lib, retain: false, release: true); - } - - static NSXMLDocument alloc(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSXMLDocument1, - _lib._sel_alloc1, - ); - return NSXMLDocument._(_ret, _lib, retain: false, release: true); + NSString name, NSString stringValue) { + final _ret = _objc_msgSend_1108( + _class_NSXMLDocument, + _sel_processingInstructionWithName_stringValue_, + name.pointer, + stringValue.pointer); + return NSObject._(_ret, retain: true, release: true); + } + + static NSObject commentWithStringValue_(NSString stringValue) { + final _ret = _objc_msgSend_31(_class_NSXMLDocument, + _sel_commentWithStringValue_, stringValue.pointer); + return NSObject._(_ret, retain: true, release: true); + } + + static NSObject textWithStringValue_(NSString stringValue) { + final _ret = _objc_msgSend_31( + _class_NSXMLDocument, _sel_textWithStringValue_, stringValue.pointer); + return NSObject._(_ret, retain: true, release: true); + } + + static NSObject? DTDNodeWithXMLString_(NSString string) { + final _ret = _objc_msgSend_38( + _class_NSXMLDocument, _sel_DTDNodeWithXMLString_, string.pointer); + return _ret.address == 0 + ? null + : NSObject._(_ret, retain: true, release: true); + } + + static NSString localNameForName_(NSString name) { + final _ret = _objc_msgSend_69( + _class_NSXMLDocument, _sel_localNameForName_, name.pointer); + return NSString._(_ret, retain: true, release: true); + } + + static NSString? prefixForName_(NSString name) { + final _ret = _objc_msgSend_186( + _class_NSXMLDocument, _sel_prefixForName_, name.pointer); + return _ret.address == 0 + ? null + : NSString._(_ret, retain: true, release: true); + } + + static NSXMLNode? predefinedNamespaceForPrefix_(NSString name) { + final _ret = _objc_msgSend_1124( + _class_NSXMLDocument, _sel_predefinedNamespaceForPrefix_, name.pointer); + return _ret.address == 0 + ? null + : NSXMLNode._(_ret, retain: true, release: true); + } + + static NSXMLDocument new1() { + final _ret = _objc_msgSend_2(_class_NSXMLDocument, _sel_new); + return NSXMLDocument._(_ret, retain: false, release: true); + } + + static NSXMLDocument allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = + _objc_msgSend_3(_class_NSXMLDocument, _sel_allocWithZone_, zone); + return NSXMLDocument._(_ret, retain: false, release: true); + } + + static NSXMLDocument alloc() { + final _ret = _objc_msgSend_2(_class_NSXMLDocument, _sel_alloc); + return NSXMLDocument._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSXMLDocument1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSXMLDocument1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSXMLDocument1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSXMLDocument1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSXMLDocument1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSXMLDocument1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSXMLDocument, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); + } + + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSXMLDocument, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); + } + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSXMLDocument, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSXMLDocument, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSXMLDocument, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSXMLDocument, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); } static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSXMLDocument1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSXMLDocument1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSXMLDocument1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSXMLDocument, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = _objc_msgSend_85( + _class_NSXMLDocument, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = + _objc_msgSend_2(_class_NSXMLDocument, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); } } +late final _class_NSXMLDocument = objc.getClass("NSXMLDocument"); +late final _sel_initWithXMLString_options_error_ = + objc.registerName("initWithXMLString:options:error:"); +final _objc_msgSend_1112 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer string, + ffi.Int32 mask, + ffi.Pointer> error)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer>)>(); +final _objc_msgSend_1113 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer url, + ffi.Int32 mask, + ffi.Pointer> error)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer>)>(); +late final _sel_initWithData_options_error_ = + objc.registerName("initWithData:options:error:"); +final _objc_msgSend_1114 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer data, + ffi.Int32 mask, + ffi.Pointer> error)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer>)>(); +late final _sel_initWithRootElement_ = + objc.registerName("initWithRootElement:"); +final _objc_msgSend_1115 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer element)>>() + .asFunction< + instancetype Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_replacementClassForClass_ = + objc.registerName("replacementClassForClass:"); +late final _sel_characterEncoding = objc.registerName("characterEncoding"); +late final _sel_setCharacterEncoding_ = + objc.registerName("setCharacterEncoding:"); +late final _sel_isStandalone = objc.registerName("isStandalone"); +late final _sel_setStandalone_ = objc.registerName("setStandalone:"); + abstract class NSXMLDocumentContentKind { static const int NSXMLDocumentXMLKind = 0; static const int NSXMLDocumentXHTMLKind = 1; @@ -93039,1000 +58307,728 @@ abstract class NSXMLDocumentContentKind { static const int NSXMLDocumentTextKind = 3; } +late final _sel_documentContentKind = objc.registerName("documentContentKind"); +final _objc_msgSend_1116 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + int Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_setDocumentContentKind_ = + objc.registerName("setDocumentContentKind:"); +final _objc_msgSend_1117 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer obj, + ffi.Pointer sel, ffi.Int32 value)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, int)>(); +late final _sel_setMIMEType_ = objc.registerName("setMIMEType:"); + class NSXMLDTD extends NSXMLNode { - NSXMLDTD._( - ffi.Pointer pointer, - SwiftLibrary lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSXMLDTD._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSXMLDTD] that points to the same underlying object as [other]. - static NSXMLDTD castFrom( - SwiftLibrary lib, - T other, - ) { - return NSXMLDTD._(other.pointer, lib, retain: true, release: true); + static NSXMLDTD castFrom(T other) { + return NSXMLDTD._(other.pointer, retain: true, release: true); } /// Returns a [NSXMLDTD] that wraps the given raw object pointer. - static NSXMLDTD castFromPointer( - SwiftLibrary lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSXMLDTD._(other, lib, retain: retain, release: release); + static NSXMLDTD castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSXMLDTD._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSXMLDTD]. - static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSXMLDTD1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0(obj.pointer, _sel_isKindOfClass_, _class_NSXMLDTD); } @override NSXMLDTD init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSXMLDTD._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSXMLDTD._(_ret, retain: true, release: true); } @override NSXMLDTD initWithKind_options_(int kind, int options) { - final _ret = _lib._objc_msgSend_1107( - this.pointer, - _lib._sel_initWithKind_options_1, - kind, - options, - ); - return NSXMLDTD._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_1106( + this.pointer, _sel_initWithKind_options_, kind, options); + return NSXMLDTD._(_ret, retain: true, release: true); } NSXMLDTD? initWithContentsOfURL_options_error_( - NSURL url, - int mask, - ffi.Pointer> error, - ) { - final _ret = _lib._objc_msgSend_1114( - this.pointer, - _lib._sel_initWithContentsOfURL_options_error_1, - url.pointer, - mask, - error, - ); + NSURL url, int mask, ffi.Pointer> error) { + final _ret = _objc_msgSend_1113(this.pointer, + _sel_initWithContentsOfURL_options_error_, url.pointer, mask, error); return _ret.address == 0 ? null - : NSXMLDTD._(_ret, _lib, retain: true, release: true); + : NSXMLDTD._(_ret, retain: true, release: true); } NSXMLDTD? initWithData_options_error_( - NSData data, - int mask, - ffi.Pointer> error, - ) { - final _ret = _lib._objc_msgSend_1115( - this.pointer, - _lib._sel_initWithData_options_error_1, - data.pointer, - mask, - error, - ); + NSData data, int mask, ffi.Pointer> error) { + final _ret = _objc_msgSend_1114(this.pointer, + _sel_initWithData_options_error_, data.pointer, mask, error); return _ret.address == 0 ? null - : NSXMLDTD._(_ret, _lib, retain: true, release: true); + : NSXMLDTD._(_ret, retain: true, release: true); } NSString? get publicID { - final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_publicID1); + final _ret = _objc_msgSend_44(this.pointer, _sel_publicID); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } set publicID(NSString? value) { - return _lib._objc_msgSend_545( - this.pointer, - _lib._sel_setPublicID_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_545( + this.pointer, _sel_setPublicID_, value?.pointer ?? ffi.nullptr); } NSString? get systemID { - final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_systemID1); + final _ret = _objc_msgSend_44(this.pointer, _sel_systemID); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } set systemID(NSString? value) { - return _lib._objc_msgSend_545( - this.pointer, - _lib._sel_setSystemID_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_545( + this.pointer, _sel_setSystemID_, value?.pointer ?? ffi.nullptr); } void insertChild_atIndex_(NSXMLNode child, int index) { - _lib._objc_msgSend_1119( - this.pointer, - _lib._sel_insertChild_atIndex_1, - child.pointer, - index, - ); + _objc_msgSend_1118( + this.pointer, _sel_insertChild_atIndex_, child.pointer, index); } void insertChildren_atIndex_(NSArray children, int index) { - _lib._objc_msgSend_1120( - this.pointer, - _lib._sel_insertChildren_atIndex_1, - children.pointer, - index, - ); + _objc_msgSend_1119( + this.pointer, _sel_insertChildren_atIndex_, children.pointer, index); } void removeChildAtIndex_(int index) { - _lib._objc_msgSend_470(this.pointer, _lib._sel_removeChildAtIndex_1, index); + _objc_msgSend_470(this.pointer, _sel_removeChildAtIndex_, index); } void setChildren_(NSArray? children) { - _lib._objc_msgSend_843( - this.pointer, - _lib._sel_setChildren_1, - children?.pointer ?? ffi.nullptr, - ); + _objc_msgSend_843( + this.pointer, _sel_setChildren_, children?.pointer ?? ffi.nullptr); } void addChild_(NSXMLNode child) { - _lib._objc_msgSend_1121(this.pointer, _lib._sel_addChild_1, child.pointer); + _objc_msgSend_1120(this.pointer, _sel_addChild_, child.pointer); } void replaceChildAtIndex_withNode_(int index, NSXMLNode node) { - _lib._objc_msgSend_1122( - this.pointer, - _lib._sel_replaceChildAtIndex_withNode_1, - index, - node.pointer, - ); + _objc_msgSend_1121( + this.pointer, _sel_replaceChildAtIndex_withNode_, index, node.pointer); } NSXMLDTDNode? entityDeclarationForName_(NSString name) { - final _ret = _lib._objc_msgSend_1126( - this.pointer, - _lib._sel_entityDeclarationForName_1, - name.pointer, - ); + final _ret = _objc_msgSend_1125( + this.pointer, _sel_entityDeclarationForName_, name.pointer); return _ret.address == 0 ? null - : NSXMLDTDNode._(_ret, _lib, retain: true, release: true); + : NSXMLDTDNode._(_ret, retain: true, release: true); } NSXMLDTDNode? notationDeclarationForName_(NSString name) { - final _ret = _lib._objc_msgSend_1126( - this.pointer, - _lib._sel_notationDeclarationForName_1, - name.pointer, - ); + final _ret = _objc_msgSend_1125( + this.pointer, _sel_notationDeclarationForName_, name.pointer); return _ret.address == 0 ? null - : NSXMLDTDNode._(_ret, _lib, retain: true, release: true); + : NSXMLDTDNode._(_ret, retain: true, release: true); } NSXMLDTDNode? elementDeclarationForName_(NSString name) { - final _ret = _lib._objc_msgSend_1126( - this.pointer, - _lib._sel_elementDeclarationForName_1, - name.pointer, - ); + final _ret = _objc_msgSend_1125( + this.pointer, _sel_elementDeclarationForName_, name.pointer); return _ret.address == 0 ? null - : NSXMLDTDNode._(_ret, _lib, retain: true, release: true); + : NSXMLDTDNode._(_ret, retain: true, release: true); } NSXMLDTDNode? attributeDeclarationForName_elementName_( - NSString name, - NSString elementName, - ) { - final _ret = _lib._objc_msgSend_1127( - this.pointer, - _lib._sel_attributeDeclarationForName_elementName_1, - name.pointer, - elementName.pointer, - ); + NSString name, NSString elementName) { + final _ret = _objc_msgSend_1126( + this.pointer, + _sel_attributeDeclarationForName_elementName_, + name.pointer, + elementName.pointer); return _ret.address == 0 ? null - : NSXMLDTDNode._(_ret, _lib, retain: true, release: true); + : NSXMLDTDNode._(_ret, retain: true, release: true); } - static NSXMLDTDNode? predefinedEntityDeclarationForName_( - SwiftLibrary _lib, - NSString name, - ) { - final _ret = _lib._objc_msgSend_1126( - _lib._class_NSXMLDTD1, - _lib._sel_predefinedEntityDeclarationForName_1, - name.pointer, - ); + static NSXMLDTDNode? predefinedEntityDeclarationForName_(NSString name) { + final _ret = _objc_msgSend_1125(_class_NSXMLDTD, + _sel_predefinedEntityDeclarationForName_, name.pointer); return _ret.address == 0 ? null - : NSXMLDTDNode._(_ret, _lib, retain: true, release: true); + : NSXMLDTDNode._(_ret, retain: true, release: true); } @override NSXMLDTD initWithKind_(int kind) { - final _ret = _lib._objc_msgSend_1106( - this.pointer, - _lib._sel_initWithKind_1, - kind, - ); - return NSXMLDTD._(_ret, _lib, retain: true, release: true); - } - - static NSObject document(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSXMLDTD1, - _lib._sel_document1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); - } - - static NSObject documentWithRootElement_( - SwiftLibrary _lib, - NSXMLElement element, - ) { - final _ret = _lib._objc_msgSend_1108( - _lib._class_NSXMLDTD1, - _lib._sel_documentWithRootElement_1, - element.pointer, - ); - return NSObject._(_ret, _lib, retain: true, release: true); - } - - static NSObject elementWithName_(SwiftLibrary _lib, NSString name) { - final _ret = _lib._objc_msgSend_31( - _lib._class_NSXMLDTD1, - _lib._sel_elementWithName_1, - name.pointer, - ); - return NSObject._(_ret, _lib, retain: true, release: true); - } - - static NSObject elementWithName_URI_( - SwiftLibrary _lib, - NSString name, - NSString URI, - ) { - final _ret = _lib._objc_msgSend_1109( - _lib._class_NSXMLDTD1, - _lib._sel_elementWithName_URI_1, - name.pointer, - URI.pointer, - ); - return NSObject._(_ret, _lib, retain: true, release: true); - } - - static NSObject elementWithName_stringValue_( - SwiftLibrary _lib, - NSString name, - NSString string, - ) { - final _ret = _lib._objc_msgSend_1109( - _lib._class_NSXMLDTD1, - _lib._sel_elementWithName_stringValue_1, - name.pointer, - string.pointer, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_1105(this.pointer, _sel_initWithKind_, kind); + return NSXMLDTD._(_ret, retain: true, release: true); + } + + static NSObject document() { + final _ret = _objc_msgSend_2(_class_NSXMLDTD, _sel_document); + return NSObject._(_ret, retain: true, release: true); + } + + static NSObject documentWithRootElement_(NSXMLElement element) { + final _ret = _objc_msgSend_1107( + _class_NSXMLDTD, _sel_documentWithRootElement_, element.pointer); + return NSObject._(_ret, retain: true, release: true); + } + + static NSObject elementWithName_(NSString name) { + final _ret = + _objc_msgSend_31(_class_NSXMLDTD, _sel_elementWithName_, name.pointer); + return NSObject._(_ret, retain: true, release: true); + } + + static NSObject elementWithName_URI_(NSString name, NSString URI) { + final _ret = _objc_msgSend_1108( + _class_NSXMLDTD, _sel_elementWithName_URI_, name.pointer, URI.pointer); + return NSObject._(_ret, retain: true, release: true); + } + + static NSObject elementWithName_stringValue_(NSString name, NSString string) { + final _ret = _objc_msgSend_1108(_class_NSXMLDTD, + _sel_elementWithName_stringValue_, name.pointer, string.pointer); + return NSObject._(_ret, retain: true, release: true); } static NSObject elementWithName_children_attributes_( - SwiftLibrary _lib, - NSString name, - NSArray? children, - NSArray? attributes, - ) { - final _ret = _lib._objc_msgSend_1110( - _lib._class_NSXMLDTD1, - _lib._sel_elementWithName_children_attributes_1, - name.pointer, - children?.pointer ?? ffi.nullptr, - attributes?.pointer ?? ffi.nullptr, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + NSString name, NSArray? children, NSArray? attributes) { + final _ret = _objc_msgSend_1109( + _class_NSXMLDTD, + _sel_elementWithName_children_attributes_, + name.pointer, + children?.pointer ?? ffi.nullptr, + attributes?.pointer ?? ffi.nullptr); + return NSObject._(_ret, retain: true, release: true); } static NSObject attributeWithName_stringValue_( - SwiftLibrary _lib, - NSString name, - NSString stringValue, - ) { - final _ret = _lib._objc_msgSend_1109( - _lib._class_NSXMLDTD1, - _lib._sel_attributeWithName_stringValue_1, - name.pointer, - stringValue.pointer, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + NSString name, NSString stringValue) { + final _ret = _objc_msgSend_1108(_class_NSXMLDTD, + _sel_attributeWithName_stringValue_, name.pointer, stringValue.pointer); + return NSObject._(_ret, retain: true, release: true); } static NSObject attributeWithName_URI_stringValue_( - SwiftLibrary _lib, - NSString name, - NSString URI, - NSString stringValue, - ) { - final _ret = _lib._objc_msgSend_1074( - _lib._class_NSXMLDTD1, - _lib._sel_attributeWithName_URI_stringValue_1, - name.pointer, - URI.pointer, - stringValue.pointer, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + NSString name, NSString URI, NSString stringValue) { + final _ret = _objc_msgSend_1074( + _class_NSXMLDTD, + _sel_attributeWithName_URI_stringValue_, + name.pointer, + URI.pointer, + stringValue.pointer); + return NSObject._(_ret, retain: true, release: true); } static NSObject namespaceWithName_stringValue_( - SwiftLibrary _lib, - NSString name, - NSString stringValue, - ) { - final _ret = _lib._objc_msgSend_1109( - _lib._class_NSXMLDTD1, - _lib._sel_namespaceWithName_stringValue_1, - name.pointer, - stringValue.pointer, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + NSString name, NSString stringValue) { + final _ret = _objc_msgSend_1108(_class_NSXMLDTD, + _sel_namespaceWithName_stringValue_, name.pointer, stringValue.pointer); + return NSObject._(_ret, retain: true, release: true); } static NSObject processingInstructionWithName_stringValue_( - SwiftLibrary _lib, - NSString name, - NSString stringValue, - ) { - final _ret = _lib._objc_msgSend_1109( - _lib._class_NSXMLDTD1, - _lib._sel_processingInstructionWithName_stringValue_1, - name.pointer, - stringValue.pointer, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + NSString name, NSString stringValue) { + final _ret = _objc_msgSend_1108( + _class_NSXMLDTD, + _sel_processingInstructionWithName_stringValue_, + name.pointer, + stringValue.pointer); + return NSObject._(_ret, retain: true, release: true); } - static NSObject commentWithStringValue_( - SwiftLibrary _lib, - NSString stringValue, - ) { - final _ret = _lib._objc_msgSend_31( - _lib._class_NSXMLDTD1, - _lib._sel_commentWithStringValue_1, - stringValue.pointer, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + static NSObject commentWithStringValue_(NSString stringValue) { + final _ret = _objc_msgSend_31( + _class_NSXMLDTD, _sel_commentWithStringValue_, stringValue.pointer); + return NSObject._(_ret, retain: true, release: true); } - static NSObject textWithStringValue_( - SwiftLibrary _lib, - NSString stringValue, - ) { - final _ret = _lib._objc_msgSend_31( - _lib._class_NSXMLDTD1, - _lib._sel_textWithStringValue_1, - stringValue.pointer, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + static NSObject textWithStringValue_(NSString stringValue) { + final _ret = _objc_msgSend_31( + _class_NSXMLDTD, _sel_textWithStringValue_, stringValue.pointer); + return NSObject._(_ret, retain: true, release: true); } - static NSObject? DTDNodeWithXMLString_(SwiftLibrary _lib, NSString string) { - final _ret = _lib._objc_msgSend_38( - _lib._class_NSXMLDTD1, - _lib._sel_DTDNodeWithXMLString_1, - string.pointer, - ); + static NSObject? DTDNodeWithXMLString_(NSString string) { + final _ret = _objc_msgSend_38( + _class_NSXMLDTD, _sel_DTDNodeWithXMLString_, string.pointer); return _ret.address == 0 ? null - : NSObject._(_ret, _lib, retain: true, release: true); + : NSObject._(_ret, retain: true, release: true); } - static NSString localNameForName_(SwiftLibrary _lib, NSString name) { - final _ret = _lib._objc_msgSend_69( - _lib._class_NSXMLDTD1, - _lib._sel_localNameForName_1, - name.pointer, - ); - return NSString._(_ret, _lib, retain: true, release: true); + static NSString localNameForName_(NSString name) { + final _ret = + _objc_msgSend_69(_class_NSXMLDTD, _sel_localNameForName_, name.pointer); + return NSString._(_ret, retain: true, release: true); } - static NSString? prefixForName_(SwiftLibrary _lib, NSString name) { - final _ret = _lib._objc_msgSend_186( - _lib._class_NSXMLDTD1, - _lib._sel_prefixForName_1, - name.pointer, - ); + static NSString? prefixForName_(NSString name) { + final _ret = + _objc_msgSend_186(_class_NSXMLDTD, _sel_prefixForName_, name.pointer); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } - static NSXMLNode? predefinedNamespaceForPrefix_( - SwiftLibrary _lib, - NSString name, - ) { - final _ret = _lib._objc_msgSend_1125( - _lib._class_NSXMLDTD1, - _lib._sel_predefinedNamespaceForPrefix_1, - name.pointer, - ); + static NSXMLNode? predefinedNamespaceForPrefix_(NSString name) { + final _ret = _objc_msgSend_1124( + _class_NSXMLDTD, _sel_predefinedNamespaceForPrefix_, name.pointer); return _ret.address == 0 ? null - : NSXMLNode._(_ret, _lib, retain: true, release: true); + : NSXMLNode._(_ret, retain: true, release: true); } - static NSXMLDTD new1(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2(_lib._class_NSXMLDTD1, _lib._sel_new1); - return NSXMLDTD._(_ret, _lib, retain: false, release: true); + static NSXMLDTD new1() { + final _ret = _objc_msgSend_2(_class_NSXMLDTD, _sel_new); + return NSXMLDTD._(_ret, retain: false, release: true); } - static NSXMLDTD allocWithZone_(SwiftLibrary _lib, ffi.Pointer<_NSZone> zone) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSXMLDTD1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSXMLDTD._(_ret, _lib, retain: false, release: true); + static NSXMLDTD allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = _objc_msgSend_3(_class_NSXMLDTD, _sel_allocWithZone_, zone); + return NSXMLDTD._(_ret, retain: false, release: true); } - static NSXMLDTD alloc(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2(_lib._class_NSXMLDTD1, _lib._sel_alloc1); - return NSXMLDTD._(_ret, _lib, retain: false, release: true); + static NSXMLDTD alloc() { + final _ret = _objc_msgSend_2(_class_NSXMLDTD, _sel_alloc); + return NSXMLDTD._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSXMLDTD1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSXMLDTD1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSXMLDTD1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSXMLDTD1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSXMLDTD1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSXMLDTD1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSXMLDTD, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); } - static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSXMLDTD1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSXMLDTD1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSXMLDTD1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSXMLDTD, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); + } + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSXMLDTD, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSXMLDTD, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSXMLDTD, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSXMLDTD, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); } -} + + static void setKeys_triggerChangeNotificationsForDependentKey_( + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSXMLDTD, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = + _objc_msgSend_85(_class_NSXMLDTD, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = _objc_msgSend_2(_class_NSXMLDTD, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); + } +} + +late final _class_NSXMLDTD = objc.getClass("NSXMLDTD"); +late final _sel_setPublicID_ = objc.registerName("setPublicID:"); +late final _sel_setSystemID_ = objc.registerName("setSystemID:"); +late final _sel_insertChild_atIndex_ = + objc.registerName("insertChild:atIndex:"); +final _objc_msgSend_1118 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer child, + ffi.UnsignedLong index)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int)>(); +late final _sel_insertChildren_atIndex_ = + objc.registerName("insertChildren:atIndex:"); +final _objc_msgSend_1119 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer children, + ffi.UnsignedLong index)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int)>(); +late final _sel_removeChildAtIndex_ = objc.registerName("removeChildAtIndex:"); +late final _sel_setChildren_ = objc.registerName("setChildren:"); +late final _sel_addChild_ = objc.registerName("addChild:"); +final _objc_msgSend_1120 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer child)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_replaceChildAtIndex_withNode_ = + objc.registerName("replaceChildAtIndex:withNode:"); +final _objc_msgSend_1121 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.UnsignedLong index, + ffi.Pointer node)>>() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer)>(); class NSXMLDTDNode extends NSXMLNode { - NSXMLDTDNode._( - ffi.Pointer pointer, - SwiftLibrary lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + NSXMLDTDNode._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [NSXMLDTDNode] that points to the same underlying object as [other]. - static NSXMLDTDNode castFrom( - SwiftLibrary lib, - T other, - ) { - return NSXMLDTDNode._(other.pointer, lib, retain: true, release: true); + static NSXMLDTDNode castFrom(T other) { + return NSXMLDTDNode._(other.pointer, retain: true, release: true); } /// Returns a [NSXMLDTDNode] that wraps the given raw object pointer. - static NSXMLDTDNode castFromPointer( - SwiftLibrary lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return NSXMLDTDNode._(other, lib, retain: retain, release: release); + static NSXMLDTDNode castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return NSXMLDTDNode._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSXMLDTDNode]. - static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_NSXMLDTDNode1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0( + obj.pointer, _sel_isKindOfClass_, _class_NSXMLDTDNode); } NSXMLDTDNode? initWithXMLString_(NSString string) { - final _ret = _lib._objc_msgSend_38( - this.pointer, - _lib._sel_initWithXMLString_1, - string.pointer, - ); + final _ret = + _objc_msgSend_38(this.pointer, _sel_initWithXMLString_, string.pointer); return _ret.address == 0 ? null - : NSXMLDTDNode._(_ret, _lib, retain: true, release: true); + : NSXMLDTDNode._(_ret, retain: true, release: true); } @override NSXMLDTDNode initWithKind_options_(int kind, int options) { - final _ret = _lib._objc_msgSend_1107( - this.pointer, - _lib._sel_initWithKind_options_1, - kind, - options, - ); - return NSXMLDTDNode._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_1106( + this.pointer, _sel_initWithKind_options_, kind, options); + return NSXMLDTDNode._(_ret, retain: true, release: true); } @override NSXMLDTDNode init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return NSXMLDTDNode._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return NSXMLDTDNode._(_ret, retain: true, release: true); } int get DTDKind { - return _lib._objc_msgSend_1123(this.pointer, _lib._sel_DTDKind1); + return _objc_msgSend_1122(this.pointer, _sel_DTDKind); } set DTDKind(int value) { - return _lib._objc_msgSend_1124(this.pointer, _lib._sel_setDTDKind_1, value); + return _objc_msgSend_1123(this.pointer, _sel_setDTDKind_, value); } bool get external1 { - return _lib._objc_msgSend_12(this.pointer, _lib._sel_isExternal1); + return _objc_msgSend_12(this.pointer, _sel_isExternal); } NSString? get publicID { - final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_publicID1); + final _ret = _objc_msgSend_44(this.pointer, _sel_publicID); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } set publicID(NSString? value) { - return _lib._objc_msgSend_545( - this.pointer, - _lib._sel_setPublicID_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_545( + this.pointer, _sel_setPublicID_, value?.pointer ?? ffi.nullptr); } NSString? get systemID { - final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_systemID1); + final _ret = _objc_msgSend_44(this.pointer, _sel_systemID); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } set systemID(NSString? value) { - return _lib._objc_msgSend_545( - this.pointer, - _lib._sel_setSystemID_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_545( + this.pointer, _sel_setSystemID_, value?.pointer ?? ffi.nullptr); } NSString? get notationName { - final _ret = _lib._objc_msgSend_44(this.pointer, _lib._sel_notationName1); + final _ret = _objc_msgSend_44(this.pointer, _sel_notationName); return _ret.address == 0 ? null - : NSString._(_ret, _lib, retain: true, release: true); + : NSString._(_ret, retain: true, release: true); } set notationName(NSString? value) { - return _lib._objc_msgSend_545( - this.pointer, - _lib._sel_setNotationName_1, - value?.pointer ?? ffi.nullptr, - ); + return _objc_msgSend_545( + this.pointer, _sel_setNotationName_, value?.pointer ?? ffi.nullptr); } @override NSXMLDTDNode initWithKind_(int kind) { - final _ret = _lib._objc_msgSend_1106( - this.pointer, - _lib._sel_initWithKind_1, - kind, - ); - return NSXMLDTDNode._(_ret, _lib, retain: true, release: true); - } - - static NSObject document(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSXMLDTDNode1, - _lib._sel_document1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); - } - - static NSObject documentWithRootElement_( - SwiftLibrary _lib, - NSXMLElement element, - ) { - final _ret = _lib._objc_msgSend_1108( - _lib._class_NSXMLDTDNode1, - _lib._sel_documentWithRootElement_1, - element.pointer, - ); - return NSObject._(_ret, _lib, retain: true, release: true); - } - - static NSObject elementWithName_(SwiftLibrary _lib, NSString name) { - final _ret = _lib._objc_msgSend_31( - _lib._class_NSXMLDTDNode1, - _lib._sel_elementWithName_1, - name.pointer, - ); - return NSObject._(_ret, _lib, retain: true, release: true); - } - - static NSObject elementWithName_URI_( - SwiftLibrary _lib, - NSString name, - NSString URI, - ) { - final _ret = _lib._objc_msgSend_1109( - _lib._class_NSXMLDTDNode1, - _lib._sel_elementWithName_URI_1, - name.pointer, - URI.pointer, - ); - return NSObject._(_ret, _lib, retain: true, release: true); - } - - static NSObject elementWithName_stringValue_( - SwiftLibrary _lib, - NSString name, - NSString string, - ) { - final _ret = _lib._objc_msgSend_1109( - _lib._class_NSXMLDTDNode1, - _lib._sel_elementWithName_stringValue_1, - name.pointer, - string.pointer, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_1105(this.pointer, _sel_initWithKind_, kind); + return NSXMLDTDNode._(_ret, retain: true, release: true); + } + + static NSObject document() { + final _ret = _objc_msgSend_2(_class_NSXMLDTDNode, _sel_document); + return NSObject._(_ret, retain: true, release: true); + } + + static NSObject documentWithRootElement_(NSXMLElement element) { + final _ret = _objc_msgSend_1107( + _class_NSXMLDTDNode, _sel_documentWithRootElement_, element.pointer); + return NSObject._(_ret, retain: true, release: true); + } + + static NSObject elementWithName_(NSString name) { + final _ret = _objc_msgSend_31( + _class_NSXMLDTDNode, _sel_elementWithName_, name.pointer); + return NSObject._(_ret, retain: true, release: true); + } + + static NSObject elementWithName_URI_(NSString name, NSString URI) { + final _ret = _objc_msgSend_1108(_class_NSXMLDTDNode, + _sel_elementWithName_URI_, name.pointer, URI.pointer); + return NSObject._(_ret, retain: true, release: true); + } + + static NSObject elementWithName_stringValue_(NSString name, NSString string) { + final _ret = _objc_msgSend_1108(_class_NSXMLDTDNode, + _sel_elementWithName_stringValue_, name.pointer, string.pointer); + return NSObject._(_ret, retain: true, release: true); } static NSObject elementWithName_children_attributes_( - SwiftLibrary _lib, - NSString name, - NSArray? children, - NSArray? attributes, - ) { - final _ret = _lib._objc_msgSend_1110( - _lib._class_NSXMLDTDNode1, - _lib._sel_elementWithName_children_attributes_1, - name.pointer, - children?.pointer ?? ffi.nullptr, - attributes?.pointer ?? ffi.nullptr, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + NSString name, NSArray? children, NSArray? attributes) { + final _ret = _objc_msgSend_1109( + _class_NSXMLDTDNode, + _sel_elementWithName_children_attributes_, + name.pointer, + children?.pointer ?? ffi.nullptr, + attributes?.pointer ?? ffi.nullptr); + return NSObject._(_ret, retain: true, release: true); } static NSObject attributeWithName_stringValue_( - SwiftLibrary _lib, - NSString name, - NSString stringValue, - ) { - final _ret = _lib._objc_msgSend_1109( - _lib._class_NSXMLDTDNode1, - _lib._sel_attributeWithName_stringValue_1, - name.pointer, - stringValue.pointer, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + NSString name, NSString stringValue) { + final _ret = _objc_msgSend_1108(_class_NSXMLDTDNode, + _sel_attributeWithName_stringValue_, name.pointer, stringValue.pointer); + return NSObject._(_ret, retain: true, release: true); } static NSObject attributeWithName_URI_stringValue_( - SwiftLibrary _lib, - NSString name, - NSString URI, - NSString stringValue, - ) { - final _ret = _lib._objc_msgSend_1074( - _lib._class_NSXMLDTDNode1, - _lib._sel_attributeWithName_URI_stringValue_1, - name.pointer, - URI.pointer, - stringValue.pointer, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + NSString name, NSString URI, NSString stringValue) { + final _ret = _objc_msgSend_1074( + _class_NSXMLDTDNode, + _sel_attributeWithName_URI_stringValue_, + name.pointer, + URI.pointer, + stringValue.pointer); + return NSObject._(_ret, retain: true, release: true); } static NSObject namespaceWithName_stringValue_( - SwiftLibrary _lib, - NSString name, - NSString stringValue, - ) { - final _ret = _lib._objc_msgSend_1109( - _lib._class_NSXMLDTDNode1, - _lib._sel_namespaceWithName_stringValue_1, - name.pointer, - stringValue.pointer, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + NSString name, NSString stringValue) { + final _ret = _objc_msgSend_1108(_class_NSXMLDTDNode, + _sel_namespaceWithName_stringValue_, name.pointer, stringValue.pointer); + return NSObject._(_ret, retain: true, release: true); } static NSObject processingInstructionWithName_stringValue_( - SwiftLibrary _lib, - NSString name, - NSString stringValue, - ) { - final _ret = _lib._objc_msgSend_1109( - _lib._class_NSXMLDTDNode1, - _lib._sel_processingInstructionWithName_stringValue_1, - name.pointer, - stringValue.pointer, - ); - return NSObject._(_ret, _lib, retain: true, release: true); - } - - static NSObject commentWithStringValue_( - SwiftLibrary _lib, - NSString stringValue, - ) { - final _ret = _lib._objc_msgSend_31( - _lib._class_NSXMLDTDNode1, - _lib._sel_commentWithStringValue_1, - stringValue.pointer, - ); - return NSObject._(_ret, _lib, retain: true, release: true); - } - - static NSObject textWithStringValue_( - SwiftLibrary _lib, - NSString stringValue, - ) { - final _ret = _lib._objc_msgSend_31( - _lib._class_NSXMLDTDNode1, - _lib._sel_textWithStringValue_1, - stringValue.pointer, - ); - return NSObject._(_ret, _lib, retain: true, release: true); - } - - static NSObject? DTDNodeWithXMLString_(SwiftLibrary _lib, NSString string) { - final _ret = _lib._objc_msgSend_38( - _lib._class_NSXMLDTDNode1, - _lib._sel_DTDNodeWithXMLString_1, - string.pointer, - ); - return _ret.address == 0 - ? null - : NSObject._(_ret, _lib, retain: true, release: true); - } - - static NSString localNameForName_(SwiftLibrary _lib, NSString name) { - final _ret = _lib._objc_msgSend_69( - _lib._class_NSXMLDTDNode1, - _lib._sel_localNameForName_1, - name.pointer, - ); - return NSString._(_ret, _lib, retain: true, release: true); - } - - static NSString? prefixForName_(SwiftLibrary _lib, NSString name) { - final _ret = _lib._objc_msgSend_186( - _lib._class_NSXMLDTDNode1, - _lib._sel_prefixForName_1, - name.pointer, - ); - return _ret.address == 0 - ? null - : NSString._(_ret, _lib, retain: true, release: true); - } - - static NSXMLNode? predefinedNamespaceForPrefix_( - SwiftLibrary _lib, - NSString name, - ) { - final _ret = _lib._objc_msgSend_1125( - _lib._class_NSXMLDTDNode1, - _lib._sel_predefinedNamespaceForPrefix_1, - name.pointer, - ); - return _ret.address == 0 - ? null - : NSXMLNode._(_ret, _lib, retain: true, release: true); - } - - static NSXMLDTDNode new1(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSXMLDTDNode1, - _lib._sel_new1, - ); - return NSXMLDTDNode._(_ret, _lib, retain: false, release: true); - } - - static NSXMLDTDNode allocWithZone_( - SwiftLibrary _lib, - ffi.Pointer<_NSZone> zone, - ) { - final _ret = _lib._objc_msgSend_3( - _lib._class_NSXMLDTDNode1, - _lib._sel_allocWithZone_1, - zone, - ); - return NSXMLDTDNode._(_ret, _lib, retain: false, release: true); - } - - static NSXMLDTDNode alloc(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSXMLDTDNode1, - _lib._sel_alloc1, - ); - return NSXMLDTDNode._(_ret, _lib, retain: false, release: true); + NSString name, NSString stringValue) { + final _ret = _objc_msgSend_1108( + _class_NSXMLDTDNode, + _sel_processingInstructionWithName_stringValue_, + name.pointer, + stringValue.pointer); + return NSObject._(_ret, retain: true, release: true); + } + + static NSObject commentWithStringValue_(NSString stringValue) { + final _ret = _objc_msgSend_31( + _class_NSXMLDTDNode, _sel_commentWithStringValue_, stringValue.pointer); + return NSObject._(_ret, retain: true, release: true); + } + + static NSObject textWithStringValue_(NSString stringValue) { + final _ret = _objc_msgSend_31( + _class_NSXMLDTDNode, _sel_textWithStringValue_, stringValue.pointer); + return NSObject._(_ret, retain: true, release: true); + } + + static NSObject? DTDNodeWithXMLString_(NSString string) { + final _ret = _objc_msgSend_38( + _class_NSXMLDTDNode, _sel_DTDNodeWithXMLString_, string.pointer); + return _ret.address == 0 + ? null + : NSObject._(_ret, retain: true, release: true); + } + + static NSString localNameForName_(NSString name) { + final _ret = _objc_msgSend_69( + _class_NSXMLDTDNode, _sel_localNameForName_, name.pointer); + return NSString._(_ret, retain: true, release: true); + } + + static NSString? prefixForName_(NSString name) { + final _ret = _objc_msgSend_186( + _class_NSXMLDTDNode, _sel_prefixForName_, name.pointer); + return _ret.address == 0 + ? null + : NSString._(_ret, retain: true, release: true); + } + + static NSXMLNode? predefinedNamespaceForPrefix_(NSString name) { + final _ret = _objc_msgSend_1124( + _class_NSXMLDTDNode, _sel_predefinedNamespaceForPrefix_, name.pointer); + return _ret.address == 0 + ? null + : NSXMLNode._(_ret, retain: true, release: true); + } + + static NSXMLDTDNode new1() { + final _ret = _objc_msgSend_2(_class_NSXMLDTDNode, _sel_new); + return NSXMLDTDNode._(_ret, retain: false, release: true); + } + + static NSXMLDTDNode allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = + _objc_msgSend_3(_class_NSXMLDTDNode, _sel_allocWithZone_, zone); + return NSXMLDTDNode._(_ret, retain: false, release: true); + } + + static NSXMLDTDNode alloc() { + final _ret = _objc_msgSend_2(_class_NSXMLDTDNode, _sel_alloc); + return NSXMLDTDNode._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_NSXMLDTDNode1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_NSXMLDTDNode1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSXMLDTDNode1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_NSXMLDTDNode1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_NSXMLDTDNode1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_NSXMLDTDNode1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_NSXMLDTDNode, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); + } + + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_NSXMLDTDNode, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); + } + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_NSXMLDTDNode, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_NSXMLDTDNode, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_NSXMLDTDNode, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_NSXMLDTDNode, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); } static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_NSXMLDTDNode1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_NSXMLDTDNode1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_NSXMLDTDNode1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_NSXMLDTDNode, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = _objc_msgSend_85( + _class_NSXMLDTDNode, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = + _objc_msgSend_2(_class_NSXMLDTDNode, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); } } +late final _class_NSXMLDTDNode = objc.getClass("NSXMLDTDNode"); +late final _sel_initWithXMLString_ = objc.registerName("initWithXMLString:"); + abstract class NSXMLDTDNodeKind { static const int NSXMLEntityGeneralKind = 1; static const int NSXMLEntityParsedKind = 2; @@ -94056,178 +59052,465 @@ abstract class NSXMLDTDNodeKind { static const int NSXMLElementDeclarationElementKind = 20; } +late final _sel_DTDKind = objc.registerName("DTDKind"); +final _objc_msgSend_1122 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + int Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_setDTDKind_ = objc.registerName("setDTDKind:"); +final _objc_msgSend_1123 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer obj, + ffi.Pointer sel, ffi.Int32 value)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, int)>(); +late final _sel_isExternal = objc.registerName("isExternal"); +late final _sel_notationName = objc.registerName("notationName"); +late final _sel_setNotationName_ = objc.registerName("setNotationName:"); +late final _sel_localNameForName_ = objc.registerName("localNameForName:"); +late final _sel_prefixForName_ = objc.registerName("prefixForName:"); +late final _sel_predefinedNamespaceForPrefix_ = + objc.registerName("predefinedNamespaceForPrefix:"); +final _objc_msgSend_1124 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer name)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_entityDeclarationForName_ = + objc.registerName("entityDeclarationForName:"); +final _objc_msgSend_1125 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer name)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_notationDeclarationForName_ = + objc.registerName("notationDeclarationForName:"); +late final _sel_elementDeclarationForName_ = + objc.registerName("elementDeclarationForName:"); +late final _sel_attributeDeclarationForName_elementName_ = + objc.registerName("attributeDeclarationForName:elementName:"); +final _objc_msgSend_1126 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer name, + ffi.Pointer elementName)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_predefinedEntityDeclarationForName_ = + objc.registerName("predefinedEntityDeclarationForName:"); +late final _sel_DTD = objc.registerName("DTD"); +final _objc_msgSend_1127 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_setDTD_ = objc.registerName("setDTD:"); +final _objc_msgSend_1128 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer value)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_setRootElement_ = objc.registerName("setRootElement:"); +final _objc_msgSend_1129 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer root)>>() + .asFunction< + void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>(); +late final _sel_rootElement = objc.registerName("rootElement"); +final _objc_msgSend_1130 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_XMLData = objc.registerName("XMLData"); +late final _sel_XMLDataWithOptions_ = objc.registerName("XMLDataWithOptions:"); +final _objc_msgSend_1131 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Int32 options)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, int)>(); +late final _sel_objectByApplyingXSLT_arguments_error_ = + objc.registerName("objectByApplyingXSLT:arguments:error:"); +final _objc_msgSend_1132 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer xslt, + ffi.Pointer arguments, + ffi.Pointer> error)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>(); +late final _sel_objectByApplyingXSLTString_arguments_error_ = + objc.registerName("objectByApplyingXSLTString:arguments:error:"); +final _objc_msgSend_1133 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer xslt, + ffi.Pointer arguments, + ffi.Pointer> error)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>(); +late final _sel_objectByApplyingXSLTAtURL_arguments_error_ = + objc.registerName("objectByApplyingXSLTAtURL:arguments:error:"); +final _objc_msgSend_1134 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer xsltURL, + ffi.Pointer argument, + ffi.Pointer> error)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>(); +late final _sel_validateAndReturnError_ = + objc.registerName("validateAndReturnError:"); +late final _sel_rootDocument = objc.registerName("rootDocument"); +final _objc_msgSend_1135 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_parent = objc.registerName("parent"); +final _objc_msgSend_1136 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, ffi.Pointer)>(); +late final _sel_childCount = objc.registerName("childCount"); +late final _sel_children = objc.registerName("children"); +late final _sel_childAtIndex_ = objc.registerName("childAtIndex:"); +final _objc_msgSend_1137 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.UnsignedLong index)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, int)>(); +late final _sel_previousSibling = objc.registerName("previousSibling"); +late final _sel_nextSibling = objc.registerName("nextSibling"); +late final _sel_previousNode = objc.registerName("previousNode"); +late final _sel_nextNode = objc.registerName("nextNode"); +late final _sel_detach = objc.registerName("detach"); +late final _sel_XPath = objc.registerName("XPath"); +late final _sel_localName = objc.registerName("localName"); +late final _sel_prefix = objc.registerName("prefix"); +late final _sel_URI = objc.registerName("URI"); +late final _sel_setURI_ = objc.registerName("setURI:"); +late final _sel_XMLString = objc.registerName("XMLString"); +late final _sel_XMLStringWithOptions_ = + objc.registerName("XMLStringWithOptions:"); +final _objc_msgSend_1138 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Int32 options)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, int)>(); +late final _sel_canonicalXMLStringPreservingComments_ = + objc.registerName("canonicalXMLStringPreservingComments:"); +final _objc_msgSend_1139 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Bool comments)>>() + .asFunction< + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, bool)>(); +late final _sel_nodesForXPath_error_ = + objc.registerName("nodesForXPath:error:"); +late final _sel_objectsForXQuery_constants_error_ = + objc.registerName("objectsForXQuery:constants:error:"); +final _objc_msgSend_1140 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer xquery, + ffi.Pointer constants, + ffi.Pointer> error)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>(); +late final _sel_objectsForXQuery_error_ = + objc.registerName("objectsForXQuery:error:"); +late final _sel_initWithName_URI_ = objc.registerName("initWithName:URI:"); +final _objc_msgSend_1141 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer name, + ffi.Pointer URI)>>() + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_initWithName_stringValue_ = + objc.registerName("initWithName:stringValue:"); +late final _sel_initWithXMLString_error_ = + objc.registerName("initWithXMLString:error:"); +late final _sel_elementsForName_ = objc.registerName("elementsForName:"); +late final _sel_elementsForLocalName_URI_ = + objc.registerName("elementsForLocalName:URI:"); +final _objc_msgSend_1142 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer localName, + ffi.Pointer URI)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_addAttribute_ = objc.registerName("addAttribute:"); +late final _sel_removeAttributeForName_ = + objc.registerName("removeAttributeForName:"); +late final _sel_attributes = objc.registerName("attributes"); +late final _sel_setAttributes_ = objc.registerName("setAttributes:"); +late final _sel_setAttributesWithDictionary_ = + objc.registerName("setAttributesWithDictionary:"); +late final _sel_attributeForName_ = objc.registerName("attributeForName:"); +late final _sel_attributeForLocalName_URI_ = + objc.registerName("attributeForLocalName:URI:"); +final _objc_msgSend_1143 = objc.msgSendPointer + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer localName, + ffi.Pointer URI)>>() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>(); +late final _sel_addNamespace_ = objc.registerName("addNamespace:"); +late final _sel_removeNamespaceForPrefix_ = + objc.registerName("removeNamespaceForPrefix:"); +late final _sel_namespaces = objc.registerName("namespaces"); +late final _sel_setNamespaces_ = objc.registerName("setNamespaces:"); +late final _sel_namespaceForPrefix_ = objc.registerName("namespaceForPrefix:"); +late final _sel_resolveNamespaceForName_ = + objc.registerName("resolveNamespaceForName:"); +late final _sel_resolvePrefixForNamespaceURI_ = + objc.registerName("resolvePrefixForNamespaceURI:"); +late final _sel_normalizeAdjacentTextNodesPreservingCDATA_ = + objc.registerName("normalizeAdjacentTextNodesPreservingCDATA:"); +late final _sel_setAttributesAsDictionary_ = + objc.registerName("setAttributesAsDictionary:"); + class SwiftClass extends NSObject { - SwiftClass._( - ffi.Pointer pointer, - SwiftLibrary lib, { - bool retain = false, - bool release = false, - }) : super._(pointer, lib, retain: retain, release: release); + SwiftClass._(ffi.Pointer pointer, + {bool retain = false, bool release = false}) + : super._(pointer, retain: retain, release: release); /// Returns a [SwiftClass] that points to the same underlying object as [other]. - static SwiftClass castFrom( - SwiftLibrary lib, - T other, - ) { - return SwiftClass._(other.pointer, lib, retain: true, release: true); + static SwiftClass castFrom(T other) { + return SwiftClass._(other.pointer, retain: true, release: true); } /// Returns a [SwiftClass] that wraps the given raw object pointer. - static SwiftClass castFromPointer( - SwiftLibrary lib, - ffi.Pointer other, { - bool retain = false, - bool release = false, - }) { - return SwiftClass._(other, lib, retain: retain, release: release); + static SwiftClass castFromPointer(ffi.Pointer other, + {bool retain = false, bool release = false}) { + return SwiftClass._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [SwiftClass]. - static bool isInstance(SwiftLibrary lib, objc.ObjCObjectBase obj) { - return lib._objc_msgSend_0( - obj.pointer, - lib._sel_isKindOfClass_1, - lib._class_SwiftClass1, - ); + static bool isInstance(objc.ObjCObjectBase obj) { + return _objc_msgSend_0(obj.pointer, _sel_isKindOfClass_, _class_SwiftClass); } NSString sayHello() { - final _ret = _lib._objc_msgSend_21(this.pointer, _lib._sel_sayHello1); - return NSString._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_21(this.pointer, _sel_sayHello); + return NSString._(_ret, retain: true, release: true); } int get someField { - return _lib._objc_msgSend_83(this.pointer, _lib._sel_someField1); + return _objc_msgSend_83(this.pointer, _sel_someField); } set someField(int value) { - return _lib._objc_msgSend_635( - this.pointer, - _lib._sel_setSomeField_1, - value, - ); + return _objc_msgSend_635(this.pointer, _sel_setSomeField_, value); } @override SwiftClass init() { - final _ret = _lib._objc_msgSend_2(this.pointer, _lib._sel_init1); - return SwiftClass._(_ret, _lib, retain: true, release: true); + final _ret = _objc_msgSend_2(this.pointer, _sel_init); + return SwiftClass._(_ret, retain: true, release: true); } - static SwiftClass new1(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2(_lib._class_SwiftClass1, _lib._sel_new1); - return SwiftClass._(_ret, _lib, retain: false, release: true); + static SwiftClass new1() { + final _ret = _objc_msgSend_2(_class_SwiftClass, _sel_new); + return SwiftClass._(_ret, retain: false, release: true); } - static SwiftClass allocWithZone_( - SwiftLibrary _lib, - ffi.Pointer<_NSZone> zone, - ) { - final _ret = _lib._objc_msgSend_3( - _lib._class_SwiftClass1, - _lib._sel_allocWithZone_1, - zone, - ); - return SwiftClass._(_ret, _lib, retain: false, release: true); + static SwiftClass allocWithZone_(ffi.Pointer<_NSZone> zone) { + final _ret = _objc_msgSend_3(_class_SwiftClass, _sel_allocWithZone_, zone); + return SwiftClass._(_ret, retain: false, release: true); } - static SwiftClass alloc(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_SwiftClass1, - _lib._sel_alloc1, - ); - return SwiftClass._(_ret, _lib, retain: false, release: true); + static SwiftClass alloc() { + final _ret = _objc_msgSend_2(_class_SwiftClass, _sel_alloc); + return SwiftClass._(_ret, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SwiftLibrary _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument, - ) { - _lib._objc_msgSend_14( - _lib._class_SwiftClass1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget.pointer, - aSelector, - anArgument?.pointer ?? ffi.nullptr, - ); - } - - static void cancelPreviousPerformRequestsWithTarget_( - SwiftLibrary _lib, - NSObject aTarget, - ) { - _lib._objc_msgSend_15( - _lib._class_SwiftClass1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, - aTarget.pointer, - ); - } - - static bool getAccessInstanceVariablesDirectly(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_SwiftClass1, - _lib._sel_accessInstanceVariablesDirectly1, - ); - } - - static bool useStoredAccessor(SwiftLibrary _lib) { - return _lib._objc_msgSend_12( - _lib._class_SwiftClass1, - _lib._sel_useStoredAccessor1, - ); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - SwiftLibrary _lib, - NSString key, - ) { - final _ret = _lib._objc_msgSend_63( - _lib._class_SwiftClass1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key.pointer, - ); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - SwiftLibrary _lib, - NSString key, - ) { - return _lib._objc_msgSend_64( - _lib._class_SwiftClass1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key.pointer, - ); + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument) { + _objc_msgSend_14( + _class_SwiftClass, + _sel_cancelPreviousPerformRequestsWithTarget_selector_object_, + aTarget.pointer, + aSelector, + anArgument?.pointer ?? ffi.nullptr); + } + + static void cancelPreviousPerformRequestsWithTarget_(NSObject aTarget) { + _objc_msgSend_15(_class_SwiftClass, + _sel_cancelPreviousPerformRequestsWithTarget_, aTarget.pointer); + } + + static bool getAccessInstanceVariablesDirectly() { + return _objc_msgSend_12( + _class_SwiftClass, _sel_accessInstanceVariablesDirectly); + } + + static bool useStoredAccessor() { + return _objc_msgSend_12(_class_SwiftClass, _sel_useStoredAccessor); + } + + static NSSet keyPathsForValuesAffectingValueForKey_(NSString key) { + final _ret = _objc_msgSend_63(_class_SwiftClass, + _sel_keyPathsForValuesAffectingValueForKey_, key.pointer); + return NSSet._(_ret, retain: true, release: true); + } + + static bool automaticallyNotifiesObserversForKey_(NSString key) { + return _objc_msgSend_64(_class_SwiftClass, + _sel_automaticallyNotifiesObserversForKey_, key.pointer); } static void setKeys_triggerChangeNotificationsForDependentKey_( - SwiftLibrary _lib, - NSArray keys, - NSString dependentKey, - ) { - _lib._objc_msgSend_88( - _lib._class_SwiftClass1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys.pointer, - dependentKey.pointer, - ); - } - - static NSArray classFallbacksForKeyedArchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_85( - _lib._class_SwiftClass1, - _lib._sel_classFallbacksForKeyedArchiver1, - ); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(SwiftLibrary _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_SwiftClass1, - _lib._sel_classForKeyedUnarchiver1, - ); - return NSObject._(_ret, _lib, retain: true, release: true); + NSArray keys, NSString dependentKey) { + _objc_msgSend_88( + _class_SwiftClass, + _sel_setKeys_triggerChangeNotificationsForDependentKey_, + keys.pointer, + dependentKey.pointer); + } + + static NSArray classFallbacksForKeyedArchiver() { + final _ret = _objc_msgSend_85( + _class_SwiftClass, _sel_classFallbacksForKeyedArchiver); + return NSArray._(_ret, retain: true, release: true); + } + + static NSObject classForKeyedUnarchiver() { + final _ret = + _objc_msgSend_2(_class_SwiftClass, _sel_classForKeyedUnarchiver); + return NSObject._(_ret, retain: true, release: true); } } + +late final _class_SwiftClass = objc.getClass("swift_module.SwiftClass"); +late final _sel_sayHello = objc.registerName("sayHello"); +late final _sel_someField = objc.registerName("someField"); +late final _sel_setSomeField_ = objc.registerName("setSomeField:"); diff --git a/pkgs/ffigen/lib/src/code_generator/enum_class.dart b/pkgs/ffigen/lib/src/code_generator/enum_class.dart index 92ffbfa9b..3fbfcf7da 100644 --- a/pkgs/ffigen/lib/src/code_generator/enum_class.dart +++ b/pkgs/ffigen/lib/src/code_generator/enum_class.dart @@ -87,7 +87,7 @@ class EnumClass extends BindingType { bool get sameDartAndCType => nativeType.sameDartAndCType; @override - String? getDefaultValue(Writer w, String nativeLib) => '0'; + String? getDefaultValue(Writer w) => '0'; } /// Represents a single value in an enum. diff --git a/pkgs/ffigen/lib/src/code_generator/func.dart b/pkgs/ffigen/lib/src/code_generator/func.dart index 1c518f9f6..05d67d40c 100644 --- a/pkgs/ffigen/lib/src/code_generator/func.dart +++ b/pkgs/ffigen/lib/src/code_generator/func.dart @@ -133,7 +133,6 @@ class Func extends LookUpBinding { funcImplCall = functionType.returnType.convertFfiDartTypeToDartType( w, '$funcVarName($argString)', - ffiNativeConfig.enabled ? 'lib' : 'this', objCRetain: !objCReturnsRetained, ); } else { @@ -158,11 +157,8 @@ external $ffiReturnType $nativeFuncName($ffiArgDeclString); '''); if (needsWrapper) { - final libArg = functionType.returnType.sameDartAndFfiDartType - ? '' - : '${w.className} lib, '; s.write(''' -$dartReturnType $enclosingFuncName($libArg$dartArgDeclString) => $funcImplCall; +$dartReturnType $enclosingFuncName($dartArgDeclString) => $funcImplCall; '''); } diff --git a/pkgs/ffigen/lib/src/code_generator/imports.dart b/pkgs/ffigen/lib/src/code_generator/imports.dart index 69a580c78..5030743b1 100644 --- a/pkgs/ffigen/lib/src/code_generator/imports.dart +++ b/pkgs/ffigen/lib/src/code_generator/imports.dart @@ -48,7 +48,7 @@ class ImportedType extends Type { String toString() => '${libraryImport.name}.$cType'; @override - String? getDefaultValue(Writer w, String nativeLib) => defaultValue; + String? getDefaultValue(Writer w) => defaultValue; } /// An unchecked type similar to [ImportedType] which exists in the generated diff --git a/pkgs/ffigen/lib/src/code_generator/native_type.dart b/pkgs/ffigen/lib/src/code_generator/native_type.dart index 93ed35611..77afa7863 100644 --- a/pkgs/ffigen/lib/src/code_generator/native_type.dart +++ b/pkgs/ffigen/lib/src/code_generator/native_type.dart @@ -66,7 +66,7 @@ class NativeType extends Type { String cacheKey() => _cType; @override - String? getDefaultValue(Writer w, String nativeLib) => _defaultValue; + String? getDefaultValue(Writer w) => _defaultValue; } class BooleanType extends NativeType { diff --git a/pkgs/ffigen/lib/src/code_generator/objc_block.dart b/pkgs/ffigen/lib/src/code_generator/objc_block.dart index 8ba4ce82e..4d1fc3a0f 100644 --- a/pkgs/ffigen/lib/src/code_generator/objc_block.dart +++ b/pkgs/ffigen/lib/src/code_generator/objc_block.dart @@ -10,19 +10,16 @@ import 'writer.dart'; class ObjCBlock extends BindingType { final Type returnType; final List argTypes; - final ObjCBuiltInFunctions builtInFunctions; ObjCBlock({ required String usr, required Type returnType, required List argTypes, - required ObjCBuiltInFunctions builtInFunctions, }) : this._( usr: usr, name: _getBlockName(returnType, argTypes), returnType: returnType, argTypes: argTypes, - builtInFunctions: builtInFunctions, ); ObjCBlock._({ @@ -30,7 +27,6 @@ class ObjCBlock extends BindingType { required super.name, required this.returnType, required this.argTypes, - required this.builtInFunctions, }) : super(originalName: name); // Generates a human readable name for the block based on the args and return @@ -116,8 +112,8 @@ $returnFfiDartType $closureTrampoline($blockCType block, $paramsFfiDartType) => // Snippet that converts a Dart typed closure to FfiDart type. This snippet // is used below. Note that the closure being converted is called `fn`. final convertedFnArgs = params - .map((p) => p.type - .convertFfiDartTypeToDartType(w, p.name, 'lib', objCRetain: true)) + .map((p) => + p.type.convertFfiDartTypeToDartType(w, p.name, objCRetain: true)) .join(', '); final convFnInvocation = returnType.convertDartTypeToFfiDartType( w, 'fn($convertedFnArgs)', @@ -125,20 +121,18 @@ $returnFfiDartType $closureTrampoline($blockCType block, $paramsFfiDartType) => final convFn = '($paramsFfiDartType) => $convFnInvocation'; // Write the wrapper class. - final defaultValue = returnType.getDefaultValue(w, '_lib'); + final defaultValue = returnType.getDefaultValue(w); final exceptionalReturn = defaultValue == null ? '' : ', $defaultValue'; s.write(''' -class $name extends ${builtInFunctions.blockBase.gen(w)} { - $name._($blockCType pointer, this._lib, +class $name extends ${ObjCBuiltInFunctions.blockBase.gen(w)} { + $name._($blockCType pointer, {bool retain = false, bool release = true}) : super(pointer, retain: retain, release: release); - ${w.className} _lib; - /// Returns a block that wraps the given raw block pointer. - static $name castFromPointer(${w.className} lib, $blockCType pointer, + static $name castFromPointer($blockCType pointer, {bool retain = false, bool release = false}) { - return $name._(pointer, lib, retain: retain, release: release); + return $name._(pointer, retain: retain, release: release); } /// Creates a block from a C function pointer. @@ -146,11 +140,11 @@ class $name extends ${builtInFunctions.blockBase.gen(w)} { /// This block must be invoked by native code running on the same thread as /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. - $name.fromFunctionPointer(${w.className} lib, $natFnPtr ptr) : - this._(${builtInFunctions.newBlock.gen(w)}( + $name.fromFunctionPointer($natFnPtr ptr) : + this._(${ObjCBuiltInFunctions.newBlock.gen(w)}( _cFuncTrampoline ??= ${w.ffiLibraryPrefix}.Pointer.fromFunction< $trampFuncCType>($funcPtrTrampoline - $exceptionalReturn).cast(), ptr.cast()), lib); + $exceptionalReturn).cast(), ptr.cast())); static $voidPtr? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -158,11 +152,11 @@ class $name extends ${builtInFunctions.blockBase.gen(w)} { /// This block must be invoked by native code running on the same thread as /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. - $name.fromFunction(${w.className} lib, $funcDartType fn) : - this._(${builtInFunctions.newBlock.gen(w)}( + $name.fromFunction($funcDartType fn) : + this._(${ObjCBuiltInFunctions.newBlock.gen(w)}( _dartFuncTrampoline ??= ${w.ffiLibraryPrefix}.Pointer.fromFunction< $trampFuncCType>($closureTrampoline - $exceptionalReturn).cast(), $registerClosure($convFn)), lib); + $exceptionalReturn).cast(), $registerClosure($convFn))); static $voidPtr? _dartFuncTrampoline; '''); @@ -179,12 +173,12 @@ class $name extends ${builtInFunctions.blockBase.gen(w)} { /// /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. - $name.listener(${w.className} lib, $funcDartType fn) : - this._(${builtInFunctions.newBlock.gen(w)}( + $name.listener($funcDartType fn) : + this._(${ObjCBuiltInFunctions.newBlock.gen(w)}( (_dartFuncListenerTrampoline ??= $nativeCallableType.listener( $closureTrampoline $exceptionalReturn)..keepIsolateAlive = false).nativeFunction.cast(), - $registerClosure($convFn)), lib); + $registerClosure($convFn))); static $nativeCallableType? _dartFuncListenerTrampoline; '''); @@ -199,8 +193,7 @@ class $name extends ${builtInFunctions.blockBase.gen(w)} { final callMethodInvocation = ''' pointer.ref.invoke.cast<$natTrampFnType>().asFunction<$trampFuncFfiDartType>()( pointer, $callMethodArgs)'''; - s.write(returnType.convertFfiDartTypeToDartType( - w, callMethodInvocation, '_lib', + s.write(returnType.convertFfiDartTypeToDartType(w, callMethodInvocation, objCRetain: false)); s.write(';\n'); @@ -246,12 +239,11 @@ pointer.ref.invoke.cast<$natTrampFnType>().asFunction<$trampFuncFfiDartType>()( @override String convertFfiDartTypeToDartType( Writer w, - String value, - String library, { + String value, { required bool objCRetain, String? objCEnclosingClass, }) => - ObjCInterface.generateConstructor(name, value, library, objCRetain); + ObjCInterface.generateConstructor(name, value, objCRetain); @override String toString() => '($returnType (^)(${argTypes.join(', ')}))'; diff --git a/pkgs/ffigen/lib/src/code_generator/objc_built_in_functions.dart b/pkgs/ffigen/lib/src/code_generator/objc_built_in_functions.dart index 0049f8198..3031770cb 100644 --- a/pkgs/ffigen/lib/src/code_generator/objc_built_in_functions.dart +++ b/pkgs/ffigen/lib/src/code_generator/objc_built_in_functions.dart @@ -9,16 +9,15 @@ import 'writer.dart'; /// Built in functions used by the Objective C bindings. class ObjCBuiltInFunctions { - late final registerName = ObjCImport('registerName'); - late final getClass = ObjCImport('getClass'); - late final objectRetain = ObjCImport('objectRetain'); - late final objectRelease = ObjCImport('objectRelease'); - late final newBlock = ObjCImport('newBlock'); - late final blockCopy = ObjCImport('blockCopy'); - late final blockRelease = ObjCImport('blockRelease'); - late final useMsgSendVariants = ObjCImport('useMsgSendVariants'); - late final objectBase = ObjCImport('ObjCObjectBase'); - late final blockBase = ObjCImport('ObjCBlockBase'); + static const registerName = ObjCImport('registerName'); + static const getClass = ObjCImport('getClass'); + static const msgSendPointer = ObjCImport('msgSendPointer'); + static const msgSendFpretPointer = ObjCImport('msgSendFpretPointer'); + static const msgSendStretPointer = ObjCImport('msgSendStretPointer'); + static const useMsgSendVariants = ObjCImport('useMsgSendVariants'); + static const newBlock = ObjCImport('newBlock'); + static const objectBase = ObjCImport('ObjCObjectBase'); + static const blockBase = ObjCImport('ObjCBlockBase'); // We need to load a separate instance of objc_msgSend for each signature. If // the return type is a struct, we need to use objc_msgSend_stret instead, and @@ -67,13 +66,13 @@ class ObjCBuiltInFunctions { )); } - void generateNSStringUtils(Writer w, StringBuffer s) { + static void generateNSStringUtils(Writer w, StringBuffer s) { // Generate a constructor that wraps stringWithCharacters, and a toString // method that wraps dataUsingEncoding. s.write(''' - factory NSString(${w.className} _lib, String str) { + factory NSString(String str) { final cstr = str.toNativeUtf16(); - final nsstr = stringWithCharacters_length_(_lib, cstr.cast(), str.length); + final nsstr = stringWithCharacters_length_(cstr.cast(), str.length); ${w.ffiPkgLibraryPrefix}.calloc.free(cstr); return nsstr; } @@ -88,11 +87,11 @@ class ObjCBuiltInFunctions { '''); } - void generateStringUtils(Writer w, StringBuffer s) { + static void generateStringUtils(Writer w, StringBuffer s) { // Generate an extension on String to convert to NSString s.write(''' extension StringToNSString on String { - NSString toNSString(${w.className} lib) => NSString(lib, this); + NSString toNSString() => NSString(this); } '''); } @@ -100,15 +99,15 @@ extension StringToNSString on String { /// A function, global variable, or helper type defined in package:objective_c. class ObjCImport { - String name; + final String name; - ObjCImport(this.name); + const ObjCImport(this.name); String gen(Writer w) => '${w.objcPkgPrefix}.$name'; } /// Globals only used internally by ObjC bindings, such as classes and SELs. -class ObjCInternalGlobal extends LookUpBinding { +class ObjCInternalGlobal extends NoLookUpBinding { final String Function(Writer) makeValue; ObjCInternalGlobal(String name, this.makeValue) @@ -130,12 +129,12 @@ class ObjCInternalGlobal extends LookUpBinding { } enum ObjCMsgSendVariant { - normal('objc_msgSend'), - stret('objc_msgSend_stret'), - fpret('objc_msgSend_fpret'); + normal(ObjCBuiltInFunctions.msgSendPointer), + stret(ObjCBuiltInFunctions.msgSendStretPointer), + fpret(ObjCBuiltInFunctions.msgSendFpretPointer); - final String name; - const ObjCMsgSendVariant(this.name); + final ObjCImport pointer; + const ObjCMsgSendVariant(this.pointer); static ObjCMsgSendVariant fromReturnType(Type returnType) { if (returnType is Compound && returnType.isStruct) { @@ -147,6 +146,39 @@ enum ObjCMsgSendVariant { } } +class ObjCMsgSendVariantFunc extends NoLookUpBinding { + ObjCMsgSendVariant variant; + FunctionType type; + + ObjCMsgSendVariantFunc( + {required String name, + required this.variant, + required Type returnType, + required List parameters}) + : type = FunctionType(returnType: returnType, parameters: parameters), + super(name: name, isInternal: true); + + @override + BindingString toBindingString(Writer w) { + final cType = NativeFunc(type).getCType(w); + final dartType = type.getFfiDartType(w, writeArgumentNames: false); + final pointer = variant.pointer.gen(w); + + final bindingString = ''' +final $name = $pointer.cast<$cType>().asFunction<$dartType>(); +'''; + + return BindingString(type: BindingStringType.func, string: bindingString); + } + + @override + void addDependencies(Set dependencies) { + if (dependencies.contains(this)) return; + dependencies.add(this); + type.addDependencies(dependencies); + } +} + /// A wrapper around the objc_msgSend function, or the stret or fpret variants. /// /// The [variant] is based purely on the return type of the method. @@ -167,37 +199,34 @@ class ObjCMsgSendFunc { // [normalFunc] is always a reference to the normal objc_msgSend function. If // the [variant] is fpret or stret, then [variantFunc] is a reference to the // corresponding variant of the objc_msgSend function, otherwise it's null. - late final Func normalFunc; - late final Func? variantFunc; + late final ObjCMsgSendVariantFunc normalFunc; + late final ObjCMsgSendVariantFunc? variantFunc; ObjCMsgSendFunc(String name, Type returnType, List params, this.useVariants) : variant = ObjCMsgSendVariant.fromReturnType(returnType) { - normalFunc = Func( + normalFunc = ObjCMsgSendVariantFunc( name: name, - originalName: ObjCMsgSendVariant.normal.name, + variant: ObjCMsgSendVariant.normal, returnType: returnType, parameters: _params(params), - isInternal: true, ); switch (variant) { case ObjCMsgSendVariant.normal: variantFunc = null; case ObjCMsgSendVariant.fpret: - variantFunc = Func( - name: '${name}_fpret', - originalName: variant.name, + variantFunc = ObjCMsgSendVariantFunc( + name: '${name}Fpret', + variant: variant, returnType: returnType, parameters: _params(params), - isInternal: true, ); case ObjCMsgSendVariant.stret: - variantFunc = Func( - name: '${name}_stret', - originalName: variant.name, + variantFunc = ObjCMsgSendVariantFunc( + name: '${name}Stret', + variant: variant, returnType: voidType, parameters: _params(params, structRetPtr: PointerType(returnType)), - isInternal: true, ); } } @@ -219,18 +248,17 @@ class ObjCMsgSendFunc { variantFunc?.addDependencies(dependencies); } - String invoke( - Writer w, String lib, String target, String sel, Iterable params, + String invoke(Writer w, String target, String sel, Iterable params, {String? structRetPtr}) { - final normalCall = _invoke(normalFunc.name, lib, target, sel, params); + final normalCall = _invoke(normalFunc.name, target, sel, params); switch (variant) { case ObjCMsgSendVariant.normal: return normalCall; case ObjCMsgSendVariant.fpret: - final fpretCall = _invoke(variantFunc!.name, lib, target, sel, params); + final fpretCall = _invoke(variantFunc!.name, target, sel, params); return '${useVariants.gen(w)} ? $fpretCall : $normalCall'; case ObjCMsgSendVariant.stret: - final stretCall = _invoke(variantFunc!.name, lib, target, sel, params, + final stretCall = _invoke(variantFunc!.name, target, sel, params, structRetPtr: structRetPtr); return '${useVariants.gen(w)} ? $stretCall : ' '$structRetPtr.ref = $normalCall'; @@ -239,13 +267,12 @@ class ObjCMsgSendFunc { static String _invoke( String name, - String lib, String target, String sel, Iterable params, { String? structRetPtr, }) { - return '''$lib.$name(${[ + return '''$name(${[ if (structRetPtr != null) structRetPtr, target, sel, diff --git a/pkgs/ffigen/lib/src/code_generator/objc_interface.dart b/pkgs/ffigen/lib/src/code_generator/objc_interface.dart index a2b8a49e8..74c14131d 100644 --- a/pkgs/ffigen/lib/src/code_generator/objc_interface.dart +++ b/pkgs/ffigen/lib/src/code_generator/objc_interface.dart @@ -70,9 +70,6 @@ class ObjCInterface extends BindingType { {required bool isStatic}) { final List stringParams = []; - if (isStatic) { - stringParams.add('${w.className} _lib'); - } stringParams.addAll( params.map((p) => '${_getConvertedType(p.type, w, name)} ${p.name}')); return '(${stringParams.join(", ")})'; @@ -83,54 +80,46 @@ class ObjCInterface extends BindingType { s.write(makeDartDoc(dartDoc!)); } - final uniqueNamer = UniqueNamer({name, 'pointer', '_lib'}); - final natLib = w.className; + final uniqueNamer = UniqueNamer({name, 'pointer'}); final rawObjType = PointerType(objCObjectType).getCType(w); - final wrapObjType = builtInFunctions.objectBase.gen(w); + final wrapObjType = ObjCBuiltInFunctions.objectBase.gen(w); - // The deepest member of the inheritance tree that lives in this library - // (rather than package:objective_c) needs a reference to the native library - // object. That reference can't live in package:objective_c's classes - // because it's specific to this generated library. - final ownsLib = superType == null; + final superTypeIsInPkgObjc = superType == null; // Class declaration. s.write(''' class $name extends ${superType?.name ?? wrapObjType} { - $name._($rawObjType pointer, ${ownsLib ? 'this._lib' : '$natLib lib'}, + $name._($rawObjType pointer, {bool retain = false, bool release = false}) : - ${ownsLib ? 'super(pointer, ' : 'super._(pointer, lib,'} + ${superTypeIsInPkgObjc ? 'super(pointer, ' : 'super._(pointer,'} retain: retain, release: release); - ${ownsLib ? '$natLib _lib;' : ''} - /// Returns a [$name] that points to the same underlying object as [other]. - static $name castFrom($natLib lib, T other) { - return $name._(other.pointer, lib, retain: true, release: true); + static $name castFrom(T other) { + return $name._(other.pointer, retain: true, release: true); } /// Returns a [$name] that wraps the given raw object pointer. - static $name castFromPointer($natLib lib, $rawObjType other, + static $name castFromPointer($rawObjType other, {bool retain = false, bool release = false}) { - return $name._(other, lib, retain: retain, release: release); + return $name._(other, retain: retain, release: release); } /// Returns whether [obj] is an instance of [$name]. - static bool isInstance($natLib lib, $wrapObjType obj) { + static bool isInstance($wrapObjType obj) { return ${_isKindOfClassMsgSend.invoke( w, - 'lib', 'obj.pointer', - 'lib.${_isKindOfClass.name}', - ['lib.${_classObject.name}'], + '${_isKindOfClass.name}', + ['${_classObject.name}'], )}; } '''); if (isNSString) { - builtInFunctions.generateNSStringUtils(w, s); + ObjCBuiltInFunctions.generateNSStringUtils(w, s); } // Methods. @@ -158,16 +147,16 @@ class $name extends ${superType?.name ?? wrapObjType} { switch (m.kind) { case ObjCMethodKind.method: - // static returnType methodName(NativeLibrary _lib, ...) + // static returnType methodName(...) s.write(' $methodName'); break; case ObjCMethodKind.propertyGetter: - // static returnType getMethodName(NativeLibrary _lib) + // static returnType getMethodName() s.write(' get'); s.write(methodName[0].toUpperCase() + methodName.substring(1)); break; case ObjCMethodKind.propertySetter: - // static void setMethodName(NativeLibrary _lib, ...) + // static void setMethodName(...) s.write(' set'); s.write(methodName[0].toUpperCase() + methodName.substring(1)); break; @@ -187,7 +176,7 @@ class $name extends ${superType?.name ?? wrapObjType} { case ObjCMethodKind.propertyGetter: s.write(_getConvertedType(returnType, w, name)); if (isStret) { - // void getMethodName(Pointer stret, NativeLibrary _lib) + // void getMethodName(Pointer stret) s.write(' get'); s.write(methodName[0].toUpperCase() + methodName.substring(1)); s.write(paramsToString(params, isStatic: false)); @@ -215,9 +204,8 @@ class $name extends ${superType?.name ?? wrapObjType} { } s.write(m.msgSend!.invoke( w, - '_lib', - isStatic ? '_lib.${_classObject.name}' : 'this.pointer', - '_lib.${m.selObject!.name}', + isStatic ? '${_classObject.name}' : 'this.pointer', + '${m.selObject!.name}', m.params.map((p) => p.type .convertDartTypeToFfiDartType(w, p.name, objCRetain: false)), structRetPtr: 'stret')); @@ -226,7 +214,6 @@ class $name extends ${superType?.name ?? wrapObjType} { final result = returnType.convertFfiDartTypeToDartType( w, '_ret', - '_lib', objCRetain: !m.isOwnedReturn, objCEnclosingClass: name, ); @@ -239,7 +226,7 @@ class $name extends ${superType?.name ?? wrapObjType} { s.write('}\n\n'); if (isNSString) { - builtInFunctions.generateStringUtils(w, s); + ObjCBuiltInFunctions.generateStringUtils(w, s); } return BindingString( @@ -253,7 +240,7 @@ class $name extends ${superType?.name ?? wrapObjType} { builtInFunctions.addDependencies(dependencies); _classObject = ObjCInternalGlobal('_class_$originalName', - (Writer w) => '${builtInFunctions.getClass.gen(w)}("$lookupName")') + (Writer w) => '${ObjCBuiltInFunctions.getClass.gen(w)}("$lookupName")') ..addDependencies(dependencies); _isKindOfClass = builtInFunctions.getSelObject('isKindOfClass:'); _isKindOfClassMsgSend = builtInFunctions.getMsgSendFunc( @@ -426,21 +413,19 @@ class $name extends ${superType?.name ?? wrapObjType} { @override String convertFfiDartTypeToDartType( Writer w, - String value, - String library, { + String value, { required bool objCRetain, String? objCEnclosingClass, }) => - ObjCInterface.generateConstructor(name, value, library, objCRetain); + ObjCInterface.generateConstructor(name, value, objCRetain); static String generateConstructor( String className, String value, - String library, bool objCRetain, ) { final ownershipFlags = 'retain: $objCRetain, release: true'; - return '$className._($value, $library, $ownershipFlags)'; + return '$className._($value, $ownershipFlags)'; } // Utils for converting between the internal types passed to native code, and diff --git a/pkgs/ffigen/lib/src/code_generator/objc_nullable.dart b/pkgs/ffigen/lib/src/code_generator/objc_nullable.dart index f3c0b877a..5889e06b6 100644 --- a/pkgs/ffigen/lib/src/code_generator/objc_nullable.dart +++ b/pkgs/ffigen/lib/src/code_generator/objc_nullable.dart @@ -64,8 +64,7 @@ class ObjCNullable extends Type { @override String convertFfiDartTypeToDartType( Writer w, - String value, - String library, { + String value, { required bool objCRetain, String? objCEnclosingClass, }) { @@ -73,7 +72,6 @@ class ObjCNullable extends Type { final convertedValue = child.convertFfiDartTypeToDartType( w, value, - library, objCRetain: objCRetain, objCEnclosingClass: objCEnclosingClass, ); diff --git a/pkgs/ffigen/lib/src/code_generator/pointer.dart b/pkgs/ffigen/lib/src/code_generator/pointer.dart index b3f6cfb62..563846aa6 100644 --- a/pkgs/ffigen/lib/src/code_generator/pointer.dart +++ b/pkgs/ffigen/lib/src/code_generator/pointer.dart @@ -113,10 +113,9 @@ class ObjCObjectPointer extends PointerType { @override String convertFfiDartTypeToDartType( Writer w, - String value, - String library, { + String value, { required bool objCRetain, String? objCEnclosingClass, }) => - ObjCInterface.generateConstructor('NSObject', value, library, objCRetain); + ObjCInterface.generateConstructor('NSObject', value, objCRetain); } diff --git a/pkgs/ffigen/lib/src/code_generator/type.dart b/pkgs/ffigen/lib/src/code_generator/type.dart index c1d1e227f..111d7eef8 100644 --- a/pkgs/ffigen/lib/src/code_generator/type.dart +++ b/pkgs/ffigen/lib/src/code_generator/type.dart @@ -72,16 +72,14 @@ abstract class Type { /// Returns generated Dart code that converts the given value from its /// FfiDartType to its DartType. /// - /// [value] is the value to be converted, and [library] is an instance of the - /// native library object. If [objCRetain] is true, the ObjC wrapper object + /// [value] is the value to be converted. If [objCRetain] is true, the ObjC wrapper object /// will retain (ref count increment) the wrapped object pointer. If this /// conversion is occuring in the context of an ObjC class, then /// [objCEnclosingClass] should be the name of the Dart wrapper class (this is /// used by instancetype). String convertFfiDartTypeToDartType( Writer w, - String value, - String library, { + String value, { required bool objCRetain, String? objCEnclosingClass, }) => @@ -103,7 +101,7 @@ abstract class Type { /// Returns a string of code that creates a default value for this type. For /// example, for int types this returns the string '0'. A null return means /// that default values aren't supported for this type, eg void. - String? getDefaultValue(Writer w, String nativeLib) => null; + String? getDefaultValue(Writer w) => null; } /// Base class for all Type bindings. @@ -155,8 +153,7 @@ abstract class BindingType extends NoLookUpBinding implements Type { @override String convertFfiDartTypeToDartType( Writer w, - String value, - String library, { + String value, { required bool objCRetain, String? objCEnclosingClass, }) => @@ -169,7 +166,7 @@ abstract class BindingType extends NoLookUpBinding implements Type { String cacheKey() => hashCode.toRadixString(36); @override - String? getDefaultValue(Writer w, String nativeLib) => null; + String? getDefaultValue(Writer w) => null; } /// Represents an unimplemented type. Used as a marker, so that declarations diff --git a/pkgs/ffigen/lib/src/code_generator/typealias.dart b/pkgs/ffigen/lib/src/code_generator/typealias.dart index e31d14882..d2b43b1fe 100644 --- a/pkgs/ffigen/lib/src/code_generator/typealias.dart +++ b/pkgs/ffigen/lib/src/code_generator/typealias.dart @@ -172,15 +172,13 @@ class Typealias extends BindingType { @override String convertFfiDartTypeToDartType( Writer w, - String value, - String library, { + String value, { required bool objCRetain, String? objCEnclosingClass, }) => type.convertFfiDartTypeToDartType( w, value, - library, objCRetain: objCRetain, objCEnclosingClass: objCEnclosingClass, ); @@ -189,8 +187,7 @@ class Typealias extends BindingType { String cacheKey() => type.cacheKey(); @override - String? getDefaultValue(Writer w, String nativeLib) => - type.getDefaultValue(w, nativeLib); + String? getDefaultValue(Writer w) => type.getDefaultValue(w); } /// Objective C's instancetype. @@ -220,13 +217,11 @@ class ObjCInstanceType extends Typealias { @override String convertFfiDartTypeToDartType( Writer w, - String value, - String library, { + String value, { required bool objCRetain, String? objCEnclosingClass, }) => // objCEnclosingClass must be present, because instancetype can only // occur inside a class. - ObjCInterface.generateConstructor( - objCEnclosingClass!, value, library, objCRetain); + ObjCInterface.generateConstructor(objCEnclosingClass!, value, objCRetain); } diff --git a/pkgs/ffigen/lib/src/header_parser/sub_parsers/objc_block_parser.dart b/pkgs/ffigen/lib/src/header_parser/sub_parsers/objc_block_parser.dart index 313de4e1e..90ebb05c4 100644 --- a/pkgs/ffigen/lib/src/header_parser/sub_parsers/objc_block_parser.dart +++ b/pkgs/ffigen/lib/src/header_parser/sub_parsers/objc_block_parser.dart @@ -34,6 +34,5 @@ ObjCBlock parseObjCBlock(clang_types.CXType cxtype) { usr: usr.toString(), returnType: returnType, argTypes: argTypes, - builtInFunctions: objCBuiltInFunctions, ); } diff --git a/pkgs/ffigen/test/example_tests/objective_c_example_test.dart b/pkgs/ffigen/test/example_tests/objective_c_example_test.dart index a47a27427..22b07f1c2 100644 --- a/pkgs/ffigen/test/example_tests/objective_c_example_test.dart +++ b/pkgs/ffigen/test/example_tests/objective_c_example_test.dart @@ -25,13 +25,10 @@ void main() { // Verify that the output contains all the methods and classes that the // example app uses. - expect(output, contains('class AVFAudio{')); expect(output, contains('class NSString extends NSObject {')); expect(output, contains('class NSURL extends NSObject {')); expect( - output, - contains( - 'static NSURL fileURLWithPath_(AVFAudio _lib, NSString path) {')); + output, contains('static NSURL fileURLWithPath_(NSString path) {')); expect(output, contains('class AVAudioPlayer extends NSObject {')); expect( output, diff --git a/pkgs/ffigen/test/example_tests/swift_example_test.dart b/pkgs/ffigen/test/example_tests/swift_example_test.dart index 17a4211fe..6e6bdb23e 100644 --- a/pkgs/ffigen/test/example_tests/swift_example_test.dart +++ b/pkgs/ffigen/test/example_tests/swift_example_test.dart @@ -51,10 +51,9 @@ void main() { // Verify that the output contains all the methods and classes that the // example app uses. - expect(output, contains('class SwiftLibrary{')); expect(output, contains('class NSString extends NSObject {')); expect(output, contains('class SwiftClass extends NSObject {')); - expect(output, contains('static SwiftClass new1(SwiftLibrary _lib) {')); + expect(output, contains('static SwiftClass new1() {')); expect(output, contains('NSString sayHello() {')); expect(output, contains('int get someField {')); expect(output, contains('set someField(int value) {')); diff --git a/pkgs/ffigen/test/native_objc_test/automated_ref_count_test.dart b/pkgs/ffigen/test/native_objc_test/automated_ref_count_test.dart index 164d5ec3f..38e99f449 100644 --- a/pkgs/ffigen/test/native_objc_test/automated_ref_count_test.dart +++ b/pkgs/ffigen/test/native_objc_test/automated_ref_count_test.dart @@ -33,10 +33,10 @@ void main() { }); newMethodsInner(Pointer counter) { - final obj1 = ArcTestObject.new1(lib); + final obj1 = ArcTestObject.new1(); obj1.setCounter_(counter); expect(counter.value, 1); - final obj2 = ArcTestObject.newWithCounter_(lib, counter); + final obj2 = ArcTestObject.newWithCounter_(counter); expect(counter.value, 2); } @@ -52,12 +52,12 @@ void main() { }); allocMethodsInner(Pointer counter) { - final obj1 = ArcTestObject.alloc(lib).initWithCounter_(counter); + final obj1 = ArcTestObject.alloc().initWithCounter_(counter); expect(counter.value, 1); - final obj2 = ArcTestObject.castFrom(lib, ArcTestObject.alloc(lib).init()); + final obj2 = ArcTestObject.castFrom(ArcTestObject.alloc().init()); obj2.setCounter_(counter); expect(counter.value, 2); - final obj3 = ArcTestObject.allocTheThing(lib).initWithCounter_(counter); + final obj3 = ArcTestObject.allocTheThing().initWithCounter_(counter); expect(counter.value, 3); } @@ -71,7 +71,7 @@ void main() { }); copyMethodsInner(Pointer counter) { - final obj1 = ArcTestObject.newWithCounter_(lib, counter); + final obj1 = ArcTestObject.newWithCounter_(counter); expect(counter.value, 1); final obj2 = obj1.copyMe(); expect(counter.value, 2); @@ -93,7 +93,7 @@ void main() { }); autoreleaseMethodsInner(Pointer counter) { - final obj = ArcTestObject.makeAndAutorelease_(lib, counter); + final obj = ArcTestObject.makeAndAutorelease_(counter); expect(counter.value, 1); } @@ -110,7 +110,7 @@ void main() { expect(counter.value, 0); final pool2 = lib.createAutoreleasePool(); - final obj = ArcTestObject.makeAndAutorelease_(lib, counter); + final obj = ArcTestObject.makeAndAutorelease_(counter); expect(counter.value, 1); doGC(); expect(counter.value, 1); @@ -124,7 +124,7 @@ void main() { }); assignPropertiesInnerInner(Pointer counter, ArcTestObject outerObj) { - final assignObj = ArcTestObject.newWithCounter_(lib, counter); + final assignObj = ArcTestObject.newWithCounter_(counter); expect(counter.value, 2); outerObj.assignedProperty = assignObj; expect(counter.value, 2); @@ -136,7 +136,7 @@ void main() { } assignPropertiesInner(Pointer counter) { - final outerObj = ArcTestObject.newWithCounter_(lib, counter); + final outerObj = ArcTestObject.newWithCounter_(counter); expect(counter.value, 1); assignPropertiesInnerInner(counter, outerObj); doGC(); @@ -154,7 +154,7 @@ void main() { }); retainPropertiesInnerInner(Pointer counter, ArcTestObject outerObj) { - final retainObj = ArcTestObject.newWithCounter_(lib, counter); + final retainObj = ArcTestObject.newWithCounter_(counter); expect(counter.value, 2); outerObj.retainedProperty = retainObj; expect(counter.value, 2); @@ -162,7 +162,7 @@ void main() { } retainPropertiesInner(Pointer counter) { - final outerObj = ArcTestObject.newWithCounter_(lib, counter); + final outerObj = ArcTestObject.newWithCounter_(counter); expect(counter.value, 1); retainPropertiesInnerInner(counter, outerObj); doGC(); @@ -185,10 +185,10 @@ void main() { }); copyPropertiesInner(Pointer counter) { - final outerObj = ArcTestObject.newWithCounter_(lib, counter); + final outerObj = ArcTestObject.newWithCounter_(counter); expect(counter.value, 1); - final copyObj = ArcTestObject.newWithCounter_(lib, counter); + final copyObj = ArcTestObject.newWithCounter_(counter); expect(counter.value, 2); outerObj.copiedProperty = copyObj; // Copy properties make a copy of the object, so now we have 3 objects. @@ -217,13 +217,14 @@ void main() { castFromPointerInnerReleaseAndRetain(int address) { final fromCast = RefCounted.castFromPointer( - lib, Pointer.fromAddress(address), - release: true, retain: true); + Pointer.fromAddress(address), + release: true, + retain: true); expect(fromCast.refCount, 2); } test('castFromPointer - release and retain', () { - final obj1 = RefCounted.new1(lib); + final obj1 = RefCounted.new1(); expect(obj1.refCount, 1); castFromPointerInnerReleaseAndRetain(obj1.meAsInt()); @@ -233,13 +234,14 @@ void main() { castFromPointerInnerNoReleaseAndRetain(int address) { final fromCast = RefCounted.castFromPointer( - lib, Pointer.fromAddress(address), - release: false, retain: false); + Pointer.fromAddress(address), + release: false, + retain: false); expect(fromCast.refCount, 1); } test('castFromPointer - no release and retain', () { - final obj1 = RefCounted.new1(lib); + final obj1 = RefCounted.new1(); expect(obj1.refCount, 1); castFromPointerInnerNoReleaseAndRetain(obj1.meAsInt()); @@ -249,11 +251,11 @@ void main() { test('Manual release', () { final counter = calloc(); - final obj1 = ArcTestObject.newWithCounter_(lib, counter); + final obj1 = ArcTestObject.newWithCounter_(counter); expect(counter.value, 1); - final obj2 = ArcTestObject.newWithCounter_(lib, counter); + final obj2 = ArcTestObject.newWithCounter_(counter); expect(counter.value, 2); - final obj3 = ArcTestObject.newWithCounter_(lib, counter); + final obj3 = ArcTestObject.newWithCounter_(counter); expect(counter.value, 3); obj1.release(); @@ -268,13 +270,13 @@ void main() { }); Pointer manualRetainInner(Pointer counter) { - final obj = ArcTestObject.newWithCounter_(lib, counter); + final obj = ArcTestObject.newWithCounter_(counter); expect(counter.value, 1); return obj.retainAndReturnPointer(); } manualRetainInner2(Pointer counter, Pointer rawPointer) { - final obj = ArcTestObject.castFromPointer(lib, rawPointer, + final obj = ArcTestObject.castFromPointer(rawPointer, retain: false, release: true); expect(counter.value, 1); } @@ -293,7 +295,7 @@ void main() { }); ArcTestObject unownedReferenceInner2(Pointer counter) { - final obj1 = ArcTestObject.new1(lib); + final obj1 = ArcTestObject.new1(); obj1.setCounter_(counter); expect(counter.value, 1); final obj1b = obj1.unownedReference(); @@ -302,7 +304,7 @@ void main() { // Make a second object so that the counter check in unownedReferenceInner // sees some sort of change. Otherwise this test could pass just by the GC // not working correctly. - final obj2 = ArcTestObject.new1(lib); + final obj2 = ArcTestObject.new1(); obj2.setCounter_(counter); expect(counter.value, 2); diff --git a/pkgs/ffigen/test/native_objc_test/bad_method_test.dart b/pkgs/ffigen/test/native_objc_test/bad_method_test.dart index 3b87c5bd3..e351d1a8e 100644 --- a/pkgs/ffigen/test/native_objc_test/bad_method_test.dart +++ b/pkgs/ffigen/test/native_objc_test/bad_method_test.dart @@ -14,25 +14,24 @@ import 'bad_method_test_bindings.dart'; import 'util.dart'; void main() { - late NativeObjCLibrary lib; group('bad_method_test', () { setUpAll(() { logWarnings(); final dylib = File('test/native_objc_test/bad_method_test.dylib'); verifySetupFile(dylib); - lib = NativeObjCLibrary(DynamicLibrary.open(dylib.absolute.path)); + DynamicLibrary.open(dylib.absolute.path); generateBindingsForCoverage('bad_method'); }); test("Test incomplete struct methods that weren't skipped", () { - final obj = BadMethodTestObject.new1(lib); + final obj = BadMethodTestObject.new1(); final structPtr = obj.incompletePointerReturn(); expect(structPtr.address, 1234); expect(obj.incompletePointerParam_(structPtr), 1234); }); test("Test bit field methods that weren't skipped", () { - final obj = BadMethodTestObject.new1(lib); + final obj = BadMethodTestObject.new1(); final bitFieldPtr = obj.bitFieldPointerReturn(); expect(bitFieldPtr.address, 5678); expect(obj.bitFieldPointerParam_(bitFieldPtr), 5678); diff --git a/pkgs/ffigen/test/native_objc_test/block_test.dart b/pkgs/ffigen/test/native_objc_test/block_test.dart index f2467c832..792ea16ad 100644 --- a/pkgs/ffigen/test/native_objc_test/block_test.dart +++ b/pkgs/ffigen/test/native_objc_test/block_test.dart @@ -44,18 +44,18 @@ void main() { test('BlockTester is working', () { // This doesn't test any Block functionality, just that the BlockTester // itself is working correctly. - final blockTester = BlockTester.makeFromMultiplier_(lib, 10); + final blockTester = BlockTester.makeFromMultiplier_(10); expect(blockTester.call_(123), 1230); final intBlock = blockTester.getBlock(); - final blockTester2 = BlockTester.makeFromBlock_(lib, intBlock); + final blockTester2 = BlockTester.makeFromBlock_(intBlock); blockTester2.pokeBlock(); expect(blockTester2.call_(456), 4560); }); test('Block from function pointer', () { final block = - IntBlock.fromFunctionPointer(lib, Pointer.fromFunction(_add100, 999)); - final blockTester = BlockTester.makeFromBlock_(lib, block); + IntBlock.fromFunctionPointer(Pointer.fromFunction(_add100, 999)); + final blockTester = BlockTester.makeFromBlock_(block); blockTester.pokeBlock(); expect(blockTester.call_(123), 223); expect(block(123), 223); @@ -66,8 +66,8 @@ void main() { } test('Block from function', () { - final block = IntBlock.fromFunction(lib, makeAdder(4000)); - final blockTester = BlockTester.makeFromBlock_(lib, block); + final block = IntBlock.fromFunction(makeAdder(4000)); + final blockTester = BlockTester.makeFromBlock_(block); blockTester.pokeBlock(); expect(blockTester.call_(123), 4123); expect(block(123), 4123); @@ -76,12 +76,12 @@ void main() { test('Listener block same thread', () async { final hasRun = Completer(); int value = 0; - final block = VoidBlock.listener(lib, () { + final block = VoidBlock.listener(() { value = 123; hasRun.complete(); }); - BlockTester.callOnSameThread_(lib, block); + BlockTester.callOnSameThread_(block); await hasRun.future; expect(value, 123); @@ -90,12 +90,12 @@ void main() { test('Listener block new thread', () async { final hasRun = Completer(); int value = 0; - final block = VoidBlock.listener(lib, () { + final block = VoidBlock.listener(() { value = 123; hasRun.complete(); }); - final thread = BlockTester.callOnNewThread_(lib, block); + final thread = BlockTester.callOnNewThread_(block); thread.start(); await hasRun.future; @@ -103,19 +103,19 @@ void main() { }); test('Float block', () { - final block = FloatBlock.fromFunction(lib, (double x) { + final block = FloatBlock.fromFunction((double x) { return x + 4.56; }); expect(block(1.23), closeTo(5.79, 1e-6)); - expect(BlockTester.callFloatBlock_(lib, block), closeTo(5.79, 1e-6)); + expect(BlockTester.callFloatBlock_(block), closeTo(5.79, 1e-6)); }); test('Double block', () { - final block = DoubleBlock.fromFunction(lib, (double x) { + final block = DoubleBlock.fromFunction((double x) { return x + 4.56; }); expect(block(1.23), closeTo(5.79, 1e-6)); - expect(BlockTester.callDoubleBlock_(lib, block), closeTo(5.79, 1e-6)); + expect(BlockTester.callDoubleBlock_(block), closeTo(5.79, 1e-6)); }); test('Struct block', () { @@ -129,7 +129,7 @@ void main() { final tempPtr = arena(); final temp = tempPtr.ref; - final block = Vec4Block.fromFunction(lib, (Vec4 v) { + final block = Vec4Block.fromFunction((Vec4 v) { // Twiddle the Vec4 components. temp.x = v.y; temp.y = v.z; @@ -146,7 +146,7 @@ void main() { final result2Ptr = arena(); final result2 = result2Ptr.ref; - BlockTester.callVec4Block_(lib, result2Ptr, block); + BlockTester.callVec4Block_(result2Ptr, block); expect(result2.x, 3.4); expect(result2.y, 5.6); expect(result2.z, 7.8); @@ -156,18 +156,18 @@ void main() { test('Object block', () { bool isCalled = false; - final block = ObjectBlock.fromFunction(lib, (DummyObject x) { + final block = ObjectBlock.fromFunction((DummyObject x) { isCalled = true; return x; }); - final obj = DummyObject.new1(lib); + final obj = DummyObject.new1(); final result1 = block(obj); expect(result1, obj); expect(isCalled, isTrue); isCalled = false; - final result2 = BlockTester.callObjectBlock_(lib, block); + final result2 = BlockTester.callObjectBlock_(block); expect(result2, isNot(obj)); expect(result2.pointer, isNot(nullptr)); expect(isCalled, isTrue); @@ -175,12 +175,12 @@ void main() { test('Nullable object block', () { bool isCalled = false; - final block = NullableObjectBlock.fromFunction(lib, (DummyObject? x) { + final block = NullableObjectBlock.fromFunction((DummyObject? x) { isCalled = true; return x; }); - final obj = DummyObject.new1(lib); + final obj = DummyObject.new1(); final result1 = block(obj); expect(result1, obj); expect(isCalled, isTrue); @@ -191,44 +191,44 @@ void main() { expect(isCalled, isTrue); isCalled = false; - final result3 = BlockTester.callNullableObjectBlock_(lib, block); + final result3 = BlockTester.callNullableObjectBlock_(block); expect(result3, isNull); expect(isCalled, isTrue); }); test('Block block', () { - final blockBlock = BlockBlock.fromFunction(lib, (IntBlock intBlock) { - return IntBlock.fromFunction(lib, (int x) { + final blockBlock = BlockBlock.fromFunction((IntBlock intBlock) { + return IntBlock.fromFunction((int x) { return 3 * intBlock(x); }); }); - final intBlock = IntBlock.fromFunction(lib, (int x) { + final intBlock = IntBlock.fromFunction((int x) { return 5 * x; }); final result1 = blockBlock(intBlock); expect(result1(1), 15); - final result2 = BlockTester.newBlock_withMult_(lib, blockBlock, 2); + final result2 = BlockTester.newBlock_withMult_(blockBlock, 2); expect(result2(1), 6); }); test('Native block block', () { - final blockBlock = BlockTester.newBlockBlock_(lib, 7); + final blockBlock = BlockTester.newBlockBlock_(7); - final intBlock = IntBlock.fromFunction(lib, (int x) { + final intBlock = IntBlock.fromFunction((int x) { return 5 * x; }); final result1 = blockBlock(intBlock); expect(result1(1), 35); - final result2 = BlockTester.newBlock_withMult_(lib, blockBlock, 2); + final result2 = BlockTester.newBlock_withMult_(blockBlock, 2); expect(result2(1), 14); }); Pointer funcPointerBlockRefCountTest() { final block = - IntBlock.fromFunctionPointer(lib, Pointer.fromFunction(_add100, 999)); + IntBlock.fromFunctionPointer(Pointer.fromFunction(_add100, 999)); expect(lib.getBlockRetainCount(block.pointer.cast()), 1); return block.pointer.cast(); } @@ -240,7 +240,7 @@ void main() { }); Pointer funcBlockRefCountTest() { - final block = IntBlock.fromFunction(lib, makeAdder(4000)); + final block = IntBlock.fromFunction(makeAdder(4000)); expect(lib.getBlockRetainCount(block.pointer.cast()), 1); return block.pointer.cast(); } @@ -252,7 +252,7 @@ void main() { }); Pointer blockManualRetainRefCountTest() { - final block = IntBlock.fromFunction(lib, makeAdder(4000)); + final block = IntBlock.fromFunction(makeAdder(4000)); expect(lib.getBlockRetainCount(block.pointer.cast()), 1); final rawBlock = block.retainAndReturnPointer().cast(); expect(lib.getBlockRetainCount(rawBlock.cast()), 2); @@ -260,7 +260,7 @@ void main() { } int blockManualRetainRefCountTest2(Pointer rawBlock) { - final block = IntBlock.castFromPointer(lib, rawBlock.cast(), + final block = IntBlock.castFromPointer(rawBlock.cast(), retain: false, release: true); return lib.getBlockRetainCount(block.pointer.cast()); } @@ -276,11 +276,11 @@ void main() { (Pointer, Pointer, Pointer) blockBlockDartCallRefCountTest() { - final inputBlock = IntBlock.fromFunction(lib, (int x) { + final inputBlock = IntBlock.fromFunction((int x) { return 5 * x; }); - final blockBlock = BlockBlock.fromFunction(lib, (IntBlock intBlock) { - return IntBlock.fromFunction(lib, (int x) { + final blockBlock = BlockBlock.fromFunction((IntBlock intBlock) { + return IntBlock.fromFunction((int x) { return 3 * intBlock(x); }); }); @@ -317,13 +317,13 @@ void main() { (Pointer, Pointer, Pointer) blockBlockObjCCallRefCountTest() { late Pointer inputBlock; - final blockBlock = BlockBlock.fromFunction(lib, (IntBlock intBlock) { + final blockBlock = BlockBlock.fromFunction((IntBlock intBlock) { inputBlock = intBlock.pointer.cast(); - return IntBlock.fromFunction(lib, (int x) { + return IntBlock.fromFunction((int x) { return 3 * intBlock(x); }); }); - final outputBlock = BlockTester.newBlock_withMult_(lib, blockBlock, 2); + final outputBlock = BlockTester.newBlock_withMult_(blockBlock, 2); expect(outputBlock(1), 6); doGC(); @@ -352,10 +352,10 @@ void main() { (Pointer, Pointer, Pointer) nativeBlockBlockDartCallRefCountTest() { - final inputBlock = IntBlock.fromFunction(lib, (int x) { + final inputBlock = IntBlock.fromFunction((int x) { return 5 * x; }); - final blockBlock = BlockTester.newBlockBlock_(lib, 7); + final blockBlock = BlockTester.newBlockBlock_(7); final outputBlock = blockBlock(inputBlock); expect(outputBlock(1), 35); doGC(); @@ -383,8 +383,8 @@ void main() { }); (Pointer, Pointer) nativeBlockBlockObjCCallRefCountTest() { - final blockBlock = BlockTester.newBlockBlock_(lib, 7); - final outputBlock = BlockTester.newBlock_withMult_(lib, blockBlock, 2); + final blockBlock = BlockTester.newBlockBlock_(7); + final outputBlock = BlockTester.newBlock_withMult_(blockBlock, 2); expect(outputBlock(1), 14); doGC(); @@ -406,11 +406,11 @@ void main() { inputCounter.value = 0; outputCounter.value = 0; - final block = ObjectBlock.fromFunction(lib, (DummyObject x) { - return DummyObject.newWithCounter_(lib, outputCounter); + final block = ObjectBlock.fromFunction((DummyObject x) { + return DummyObject.newWithCounter_(outputCounter); }); - final inputObj = DummyObject.newWithCounter_(lib, inputCounter); + final inputObj = DummyObject.newWithCounter_(inputCounter); final outputObj = block(inputObj); expect(inputCounter.value, 1); expect(outputCounter.value, 1); @@ -434,12 +434,12 @@ void main() { inputCounter.value = 0; outputCounter.value = 0; - final block = ObjectBlock.fromFunction(lib, (DummyObject x) { + final block = ObjectBlock.fromFunction((DummyObject x) { x.setCounter_(inputCounter); - return DummyObject.newWithCounter_(lib, outputCounter); + return DummyObject.newWithCounter_(outputCounter); }); - final outputObj = BlockTester.callObjectBlock_(lib, block); + final outputObj = BlockTester.callObjectBlock_(block); expect(inputCounter.value, 1); expect(outputCounter.value, 1); @@ -463,7 +463,7 @@ void main() { }); test('Block fields have sensible values', () { - final block = IntBlock.fromFunction(lib, makeAdder(4000)); + final block = IntBlock.fromFunction(makeAdder(4000)); final blockPtr = block.pointer; expect(blockPtr.ref.isa, isNot(0)); expect(blockPtr.ref.flags, isNot(0)); // Set by Block_copy. diff --git a/pkgs/ffigen/test/native_objc_test/cast_test.dart b/pkgs/ffigen/test/native_objc_test/cast_test.dart index dcac0dc51..9025f78d2 100644 --- a/pkgs/ffigen/test/native_objc_test/cast_test.dart +++ b/pkgs/ffigen/test/native_objc_test/cast_test.dart @@ -17,27 +17,26 @@ import 'util.dart'; void main() { Castaway? testInstance; - late CastTestObjCLibrary lib; group('cast', () { setUpAll(() { logWarnings(); final dylib = File('test/native_objc_test/cast_test.dylib'); verifySetupFile(dylib); - lib = CastTestObjCLibrary(DynamicLibrary.open(dylib.absolute.path)); - testInstance = Castaway.new1(lib); + DynamicLibrary.open(dylib.absolute.path); + testInstance = Castaway.new1(); generateBindingsForCoverage('cast'); }); test('castFrom', () { - final fromCast = Castaway.castFrom(lib, testInstance!.meAsNSObject()); + final fromCast = Castaway.castFrom(testInstance!.meAsNSObject()); expect(fromCast, testInstance!); }); test('castFromPointer', () { final meAsInt = testInstance!.meAsInt(); - final fromCast = Castaway.castFromPointer( - lib, Pointer.fromAddress(meAsInt)); + final fromCast = + Castaway.castFromPointer(Pointer.fromAddress(meAsInt)); expect(fromCast, testInstance!); }); @@ -48,16 +47,16 @@ void main() { test('equality equals', () { final meAsInt = testInstance!.meAsInt(); - final fromCast = Castaway.castFromPointer( - lib, Pointer.fromAddress(meAsInt)); + final fromCast = + Castaway.castFromPointer(Pointer.fromAddress(meAsInt)); expect(fromCast, testInstance!); }); test('equality not equals', () { final meAsInt = testInstance!.meAsInt(); - final fromCast = Castaway.castFromPointer( - lib, Pointer.fromAddress(meAsInt)); - expect(fromCast, isNot(equals(NSObject.new1(lib)))); + final fromCast = + Castaway.castFromPointer(Pointer.fromAddress(meAsInt)); + expect(fromCast, isNot(equals(NSObject.new1()))); }); }); } diff --git a/pkgs/ffigen/test/native_objc_test/category_test.dart b/pkgs/ffigen/test/native_objc_test/category_test.dart index a424c46e4..bdc139482 100644 --- a/pkgs/ffigen/test/native_objc_test/category_test.dart +++ b/pkgs/ffigen/test/native_objc_test/category_test.dart @@ -15,15 +15,14 @@ import 'util.dart'; void main() { late Thing testInstance; - late CategoryTestObjCLibrary lib; group('categories', () { setUpAll(() { logWarnings(); final dylib = File('test/native_objc_test/category_test.dylib'); verifySetupFile(dylib); - lib = CategoryTestObjCLibrary(DynamicLibrary.open(dylib.absolute.path)); - testInstance = Thing.new1(lib); + DynamicLibrary.open(dylib.absolute.path); + testInstance = Thing.new1(); generateBindingsForCoverage('category'); }); diff --git a/pkgs/ffigen/test/native_objc_test/failed_to_load_test.dart b/pkgs/ffigen/test/native_objc_test/failed_to_load_test.dart index 017844ad6..942df32d1 100644 --- a/pkgs/ffigen/test/native_objc_test/failed_to_load_test.dart +++ b/pkgs/ffigen/test/native_objc_test/failed_to_load_test.dart @@ -20,14 +20,11 @@ void main() { }); test('Failed to load Objective-C class', () { - // Load from the host executable, which is missing all the classes for - // this test, but has the core ObjC functions, such as objc_getClass. The - // library should load ok, because the classes are lazy loaded. - final lib = FailedToLoadTestObjCLibrary(DynamicLibrary.executable()); - - // But when we try to instantiate one of the classes, we get an error. + // We haven't DynamicLibrary.open'd the dylib containing this class. The + // core functions like objc_getClass are defined in the Dart executable, + // so we can use objc_getClass, but it can't locate this class. expect( - () => ClassThatWillFailToLoad.new1(lib), + () => ClassThatWillFailToLoad.new1(), throwsA(predicate( (e) => e.toString().contains('ClassThatWillFailToLoad')))); }); diff --git a/pkgs/ffigen/test/native_objc_test/forward_decl_test.dart b/pkgs/ffigen/test/native_objc_test/forward_decl_test.dart index 4a0651658..fb487fd40 100644 --- a/pkgs/ffigen/test/native_objc_test/forward_decl_test.dart +++ b/pkgs/ffigen/test/native_objc_test/forward_decl_test.dart @@ -14,20 +14,17 @@ import 'forward_decl_bindings.dart'; import 'util.dart'; void main() { - late ForwardDeclTestObjCLibrary lib; - group('forward decl', () { setUpAll(() { logWarnings(); final dylib = File('test/native_objc_test/forward_decl_test.dylib'); verifySetupFile(dylib); - lib = - ForwardDeclTestObjCLibrary(DynamicLibrary.open(dylib.absolute.path)); + DynamicLibrary.open(dylib.absolute.path); generateBindingsForCoverage('forward_decl'); }); test('Forward declared class', () { - expect(ForwardDeclaredClass.get123(lib), 123); + expect(ForwardDeclaredClass.get123(), 123); }); }); } diff --git a/pkgs/ffigen/test/native_objc_test/inherited_instancetype_test.dart b/pkgs/ffigen/test/native_objc_test/inherited_instancetype_test.dart index 93f93556d..fc5cfc854 100644 --- a/pkgs/ffigen/test/native_objc_test/inherited_instancetype_test.dart +++ b/pkgs/ffigen/test/native_objc_test/inherited_instancetype_test.dart @@ -16,21 +16,18 @@ import 'inherited_instancetype_bindings.dart'; import 'util.dart'; void main() { - late InheritedInstancetypeTestObjCLibrary lib; - group('inheritedInstancetype', () { setUpAll(() { logWarnings(); final dylib = File('test/native_objc_test/inherited_instancetype_test.dylib'); verifySetupFile(dylib); - lib = InheritedInstancetypeTestObjCLibrary( - DynamicLibrary.open(dylib.absolute.path)); + DynamicLibrary.open(dylib.absolute.path); generateBindingsForCoverage('inherited_instancetype'); }); test('Ordinary init method', () { - final ChildClass child = ChildClass.alloc(lib).init(); + final ChildClass child = ChildClass.alloc().init(); expect(child.field, 123); final ChildClass sameChild = child.getSelf(); sameChild.field = 456; @@ -38,7 +35,7 @@ void main() { }); test('Custom create method', () { - final ChildClass child = ChildClass.create(lib); + final ChildClass child = ChildClass.create(); expect(child.field, 123); final ChildClass sameChild = child.getSelf(); sameChild.field = 456; @@ -46,7 +43,7 @@ void main() { }); test('Polymorphism', () { - final ChildClass child = ChildClass.alloc(lib).init(); + final ChildClass child = ChildClass.alloc().init(); final BaseClass base = child; // Calling base.getSelf() should still go through ChildClass.getSelf, so diff --git a/pkgs/ffigen/test/native_objc_test/is_instance_test.dart b/pkgs/ffigen/test/native_objc_test/is_instance_test.dart index be88f58e5..172ced2fc 100644 --- a/pkgs/ffigen/test/native_objc_test/is_instance_test.dart +++ b/pkgs/ffigen/test/native_objc_test/is_instance_test.dart @@ -15,33 +15,31 @@ import 'is_instance_bindings.dart'; import 'util.dart'; void main() { - late IsInstanceTestObjCLibrary lib; - group('isInstance', () { setUpAll(() { logWarnings(); final dylib = File('test/native_objc_test/is_instance_test.dylib'); verifySetupFile(dylib); - lib = IsInstanceTestObjCLibrary(DynamicLibrary.open(dylib.absolute.path)); + DynamicLibrary.open(dylib.absolute.path); generateBindingsForCoverage('is_instance'); }); test('Unrelated classes', () { - final base = NSObject.castFrom(lib, BaseClass.new1(lib)); - final unrelated = NSObject.castFrom(lib, UnrelatedClass.new1(lib)); - expect(BaseClass.isInstance(lib, base), isTrue); - expect(BaseClass.isInstance(lib, unrelated), isFalse); - expect(UnrelatedClass.isInstance(lib, base), isFalse); - expect(UnrelatedClass.isInstance(lib, unrelated), isTrue); + final base = NSObject.castFrom(BaseClass.new1()); + final unrelated = NSObject.castFrom(UnrelatedClass.new1()); + expect(BaseClass.isInstance(base), isTrue); + expect(BaseClass.isInstance(unrelated), isFalse); + expect(UnrelatedClass.isInstance(base), isFalse); + expect(UnrelatedClass.isInstance(unrelated), isTrue); }); test('Base class vs child class', () { - final base = NSObject.castFrom(lib, BaseClass.new1(lib)); - final child = NSObject.castFrom(lib, ChildClass.new1(lib)); - expect(BaseClass.isInstance(lib, base), isTrue); - expect(BaseClass.isInstance(lib, child), isTrue); - expect(ChildClass.isInstance(lib, base), isFalse); - expect(ChildClass.isInstance(lib, child), isTrue); + final base = NSObject.castFrom(BaseClass.new1()); + final child = NSObject.castFrom(ChildClass.new1()); + expect(BaseClass.isInstance(base), isTrue); + expect(BaseClass.isInstance(child), isTrue); + expect(ChildClass.isInstance(base), isFalse); + expect(ChildClass.isInstance(child), isTrue); }); }); } diff --git a/pkgs/ffigen/test/native_objc_test/method_test.dart b/pkgs/ffigen/test/native_objc_test/method_test.dart index 21ba7e061..fccb5f8ea 100644 --- a/pkgs/ffigen/test/native_objc_test/method_test.dart +++ b/pkgs/ffigen/test/native_objc_test/method_test.dart @@ -16,15 +16,14 @@ import 'util.dart'; void main() { late MethodInterface testInstance; - late MethodTestObjCLibrary lib; group('method calls', () { setUpAll(() { logWarnings(); final dylib = File('test/native_objc_test/method_test.dylib'); verifySetupFile(dylib); - lib = MethodTestObjCLibrary(DynamicLibrary.open(dylib.absolute.path)); - testInstance = MethodInterface.new1(lib); + DynamicLibrary.open(dylib.absolute.path); + testInstance = MethodInterface.new1(); generateBindingsForCoverage('method'); }); @@ -48,19 +47,19 @@ void main() { group('Class methods', () { test('No arguments', () { - expect(MethodInterface.sub(lib), -5); + expect(MethodInterface.sub(), -5); }); test('One argument', () { - expect(MethodInterface.sub_(lib, 7), -7); + expect(MethodInterface.sub_(7), -7); }); test('Two arguments', () { - expect(MethodInterface.sub_Y_(lib, 7, 3), -10); + expect(MethodInterface.sub_Y_(7, 3), -10); }); test('Three arguments', () { - expect(MethodInterface.sub_Y_Z_(lib, 10, 7, 3), -20); + expect(MethodInterface.sub_Y_Z_(10, 7, 3), -20); }); }); diff --git a/pkgs/ffigen/test/native_objc_test/native_objc_test.dart b/pkgs/ffigen/test/native_objc_test/native_objc_test.dart index df4d9d2ec..77d8829ba 100644 --- a/pkgs/ffigen/test/native_objc_test/native_objc_test.dart +++ b/pkgs/ffigen/test/native_objc_test/native_objc_test.dart @@ -15,19 +15,18 @@ import 'native_objc_test_bindings.dart'; import 'util.dart'; void main() { - late NativeObjCLibrary lib; group('native_objc_test', () { setUpAll(() { logWarnings(); final dylib = File('test/native_objc_test/native_objc_test.dylib'); verifySetupFile(dylib); - lib = NativeObjCLibrary(DynamicLibrary.open(dylib.absolute.path)); + DynamicLibrary.open(dylib.absolute.path); generateBindingsForCoverage('native_objc'); }); test('Basic types', () { - final foo = Foo.new1(lib); - final obj = NSObject.new1(lib); + final foo = Foo.new1(); + final obj = NSObject.new1(); foo.intVal = 123; expect(foo.intVal, 123); @@ -46,8 +45,8 @@ void main() { }); test('Interface basics, with Foo', () { - final foo1 = Foo.makeFoo_(lib, 3.14159); - final foo2 = Foo.makeFoo_(lib, 2.71828); + final foo1 = Foo.makeFoo_(3.14159); + final foo2 = Foo.makeFoo_(2.71828); expect(foo1.intVal, 3); expect(foo2.intVal, 2); diff --git a/pkgs/ffigen/test/native_objc_test/nullable_inheritance_test.dart b/pkgs/ffigen/test/native_objc_test/nullable_inheritance_test.dart index fd3052ce7..3c1f694fe 100644 --- a/pkgs/ffigen/test/native_objc_test/nullable_inheritance_test.dart +++ b/pkgs/ffigen/test/native_objc_test/nullable_inheritance_test.dart @@ -14,7 +14,6 @@ import 'nullable_inheritance_bindings.dart'; import 'util.dart'; void main() { - late NullableInheritanceTestObjCLibrary lib; late NullableBase nullableBase; late NullableChild nullableChild; late NSObject obj; @@ -24,11 +23,10 @@ void main() { final dylib = File('test/native_objc_test/nullable_inheritance_test.dylib'); verifySetupFile(dylib); - lib = NullableInheritanceTestObjCLibrary( - DynamicLibrary.open(dylib.absolute.path)); - nullableBase = NullableBase.new1(lib); - nullableChild = NullableChild.new1(lib); - obj = NSObject.new1(lib); + DynamicLibrary.open(dylib.absolute.path); + nullableBase = NullableBase.new1(); + nullableChild = NullableChild.new1(); + obj = NSObject.new1(); generateBindingsForCoverage('nullable'); }); diff --git a/pkgs/ffigen/test/native_objc_test/nullable_test.dart b/pkgs/ffigen/test/native_objc_test/nullable_test.dart index b264531dd..94df841d6 100644 --- a/pkgs/ffigen/test/native_objc_test/nullable_test.dart +++ b/pkgs/ffigen/test/native_objc_test/nullable_test.dart @@ -14,7 +14,6 @@ import 'nullable_bindings.dart'; import 'util.dart'; void main() { - late NullableTestObjCLibrary lib; late NullableInterface nullableInterface; late NSObject obj; group('Nullability', () { @@ -22,9 +21,9 @@ void main() { logWarnings(); final dylib = File('test/native_objc_test/nullable_test.dylib'); verifySetupFile(dylib); - lib = NullableTestObjCLibrary(DynamicLibrary.open(dylib.absolute.path)); - nullableInterface = NullableInterface.new1(lib); - obj = NSObject.new1(lib); + DynamicLibrary.open(dylib.absolute.path); + nullableInterface = NullableInterface.new1(); + obj = NSObject.new1(); generateBindingsForCoverage('nullable'); }); @@ -41,34 +40,31 @@ void main() { group('Nullable return', () { test('Not null', () { - expect(NullableInterface.returnNil_(lib, false), isA()); + expect(NullableInterface.returnNil_(false), isA()); }); test('Null', () { - expect(NullableInterface.returnNil_(lib, true), null); + expect(NullableInterface.returnNil_(true), null); }); }); group('Nullable arguments', () { test('Not null', () { - expect( - NullableInterface.isNullWithNullableNSObjectArg_(lib, obj), false); + expect(NullableInterface.isNullWithNullableNSObjectArg_(obj), false); }); test('Null', () { - expect( - NullableInterface.isNullWithNullableNSObjectArg_(lib, null), true); + expect(NullableInterface.isNullWithNullableNSObjectArg_(null), true); }); }); group('Not-nullable arguments', () { test('Not null', () { - expect(NullableInterface.isNullWithNotNullableNSObjectPtrArg_(lib, obj), - false); + expect( + NullableInterface.isNullWithNotNullableNSObjectPtrArg_(obj), false); }); test('Explicit non null', () { expect( - NullableInterface.isNullWithExplicitNonNullableNSObjectPtrArg_( - lib, obj), + NullableInterface.isNullWithExplicitNonNullableNSObjectPtrArg_(obj), false); }); }); diff --git a/pkgs/ffigen/test/native_objc_test/property_test.dart b/pkgs/ffigen/test/native_objc_test/property_test.dart index 9bd4f3c68..490c305c0 100644 --- a/pkgs/ffigen/test/native_objc_test/property_test.dart +++ b/pkgs/ffigen/test/native_objc_test/property_test.dart @@ -16,15 +16,14 @@ import 'util.dart'; void main() { late PropertyInterface testInstance; - late PropertyTestObjCLibrary lib; group('properties', () { setUpAll(() { logWarnings(); final dylib = File('test/native_objc_test/property_test.dylib'); verifySetupFile(dylib); - lib = PropertyTestObjCLibrary(DynamicLibrary.open(dylib.absolute.path)); - testInstance = PropertyInterface.new1(lib); + DynamicLibrary.open(dylib.absolute.path); + testInstance = PropertyInterface.new1(); generateBindingsForCoverage('property'); }); @@ -41,12 +40,12 @@ void main() { group('class properties', () { test('read-only property', () { - expect(PropertyInterface.getClassReadOnlyProperty(lib), 42); + expect(PropertyInterface.getClassReadOnlyProperty(), 42); }); test('read-write property', () { - PropertyInterface.setClassReadWriteProperty(lib, 101); - expect(PropertyInterface.getClassReadWriteProperty(lib), 101); + PropertyInterface.setClassReadWriteProperty(101); + expect(PropertyInterface.getClassReadWriteProperty(), 101); }); }); diff --git a/pkgs/ffigen/test/native_objc_test/rename_test.dart b/pkgs/ffigen/test/native_objc_test/rename_test.dart index aa8a23f78..4d5d5e81c 100644 --- a/pkgs/ffigen/test/native_objc_test/rename_test.dart +++ b/pkgs/ffigen/test/native_objc_test/rename_test.dart @@ -14,18 +14,17 @@ import 'rename_test_bindings.dart'; import 'util.dart'; void main() { - late RenameLibrary lib; group('rename_test', () { setUpAll(() { logWarnings(); final dylib = File('test/native_objc_test/rename_test.dylib'); verifySetupFile(dylib); - lib = RenameLibrary(DynamicLibrary.open(dylib.absolute.path)); + DynamicLibrary.open(dylib.absolute.path); generateBindingsForCoverage('rename'); }); test('Renamed class', () { - final renamed = Renamed.new1(lib); + final renamed = Renamed.new1(); renamed.property = 123; expect(renamed.property, 123); }); diff --git a/pkgs/ffigen/test/native_objc_test/static_func_native_test.dart b/pkgs/ffigen/test/native_objc_test/static_func_native_test.dart index 444c6d767..12839ffee 100644 --- a/pkgs/ffigen/test/native_objc_test/static_func_native_test.dart +++ b/pkgs/ffigen/test/native_objc_test/static_func_native_test.dart @@ -23,14 +23,12 @@ import 'util.dart'; typedef IntBlock = ObjCBlock_Int32_Int32; void main() { - late StaticFuncTestObjCLibrary lib; - group('static functions', () { setUpAll(() { logWarnings(); final dylib = File('test/native_objc_test/static_func_test.dylib'); verifySetupFile(dylib); - lib = StaticFuncTestObjCLibrary(DynamicLibrary.open(dylib.absolute.path)); + DynamicLibrary.open(dylib.absolute.path); generateBindingsForCoverage('static_func'); }); @@ -39,10 +37,10 @@ void main() { final counter = alloc(); counter.value = 0; - final obj = StaticFuncTestObj.newWithCounter_(lib, counter); + final obj = StaticFuncTestObj.newWithCounter_(counter); expect(counter.value, 1); - final outputObj = staticFuncOfObject(lib, obj); + final outputObj = staticFuncOfObject(obj); expect(obj, outputObj); expect(counter.value, 1); @@ -61,10 +59,10 @@ void main() { final counter = alloc(); counter.value = 0; - final obj = StaticFuncTestObj.newWithCounter_(lib, counter); + final obj = StaticFuncTestObj.newWithCounter_(counter); expect(counter.value, 1); - final outputObj = staticFuncOfNullableObject(lib, obj); + final outputObj = staticFuncOfNullableObject(obj); expect(obj, outputObj); expect(counter.value, 1); @@ -78,15 +76,15 @@ void main() { doGC(); expect(counter.value, 0); - expect(staticFuncOfNullableObject(lib, null), isNull); + expect(staticFuncOfNullableObject(null), isNull); }); }); Pointer staticFuncOfBlockRefCountTest() { - final block = IntBlock.fromFunction(lib, (int x) => 2 * x); + final block = IntBlock.fromFunction((int x) => 2 * x); expect(getBlockRetainCount(block.pointer.cast()), 1); - final outputBlock = staticFuncOfBlock(lib, block); + final outputBlock = staticFuncOfBlock(block); expect(block, outputBlock); expect(getBlockRetainCount(block.pointer.cast()), 2); @@ -103,7 +101,7 @@ void main() { final counter = alloc(); counter.value = 0; - final outputObj = staticFuncReturnsRetained(lib, counter); + final outputObj = staticFuncReturnsRetained(counter); expect(counter.value, 1); return counter; @@ -124,10 +122,10 @@ void main() { final counter = alloc(); counter.value = 0; - final obj = StaticFuncTestObj.newWithCounter_(lib, counter); + final obj = StaticFuncTestObj.newWithCounter_(counter); expect(counter.value, 1); - final outputObj = staticFuncReturnsRetainedArg(lib, obj); + final outputObj = staticFuncReturnsRetainedArg(obj); expect(obj, outputObj); expect(counter.value, 1); diff --git a/pkgs/ffigen/test/native_objc_test/static_func_test.dart b/pkgs/ffigen/test/native_objc_test/static_func_test.dart index 0a938fd0f..08efc60f6 100644 --- a/pkgs/ffigen/test/native_objc_test/static_func_test.dart +++ b/pkgs/ffigen/test/native_objc_test/static_func_test.dart @@ -39,7 +39,7 @@ void main() { final counter = alloc(); counter.value = 0; - final obj = StaticFuncTestObj.newWithCounter_(lib, counter); + final obj = StaticFuncTestObj.newWithCounter_(counter); expect(counter.value, 1); final outputObj = lib.staticFuncOfObject(obj); @@ -61,7 +61,7 @@ void main() { final counter = alloc(); counter.value = 0; - final obj = StaticFuncTestObj.newWithCounter_(lib, counter); + final obj = StaticFuncTestObj.newWithCounter_(counter); expect(counter.value, 1); final outputObj = lib.staticFuncOfNullableObject(obj); @@ -83,7 +83,7 @@ void main() { }); Pointer staticFuncOfBlockRefCountTest() { - final block = IntBlock.fromFunction(lib, (int x) => 2 * x); + final block = IntBlock.fromFunction((int x) => 2 * x); expect(lib.getBlockRetainCount(block.pointer.cast()), 1); final outputBlock = lib.staticFuncOfBlock(block); @@ -124,7 +124,7 @@ void main() { final counter = alloc(); counter.value = 0; - final obj = StaticFuncTestObj.newWithCounter_(lib, counter); + final obj = StaticFuncTestObj.newWithCounter_(counter); expect(counter.value, 1); final outputObj = lib.staticFuncReturnsRetainedArg(obj); diff --git a/pkgs/ffigen/test/native_objc_test/string_test.dart b/pkgs/ffigen/test/native_objc_test/string_test.dart index 068e5ed52..5a9ca92d1 100644 --- a/pkgs/ffigen/test/native_objc_test/string_test.dart +++ b/pkgs/ffigen/test/native_objc_test/string_test.dart @@ -14,25 +14,23 @@ import 'string_bindings.dart'; import 'util.dart'; void main() { - late StringTestObjCLibrary lib; - group('string', () { setUpAll(() { logWarnings(); final dylib = File('test/native_objc_test/string_test.dylib'); verifySetupFile(dylib); - lib = StringTestObjCLibrary(DynamicLibrary.open(dylib.absolute.path)); + DynamicLibrary.open(dylib.absolute.path); generateBindingsForCoverage('string'); }); for (final s in ['Hello', '🇵🇬', 'Embedded\u0000Null']) { test('NSString to/from Dart string [$s]', () { - final ns1 = NSString(lib, s); + final ns1 = NSString(s); expect(ns1.length, s.length); expect(ns1.toString().length, s.length); expect(ns1.toString(), s); - final ns2 = s.toNSString(lib); + final ns2 = s.toNSString(); expect(ns2.length, s.length); expect(ns2.toString().length, s.length); expect(ns2.toString(), s); @@ -40,10 +38,10 @@ void main() { } test('strings usable', () { - final str1 = 'Hello'.toNSString(lib); - final str2 = 'World!'.toNSString(lib); + final str1 = 'Hello'.toNSString(); + final str2 = 'World!'.toNSString(); - final str3 = StringUtil.strConcat_with_(lib, str1, str2); + final str3 = StringUtil.strConcat_with_(str1, str2); expect(str3.length, 11); expect(str3.toString(), "HelloWorld!"); }); diff --git a/pkgs/ffigen/test/native_objc_test/swift_class_test.dart b/pkgs/ffigen/test/native_objc_test/swift_class_test.dart index 09a2714dd..ec8e35a9c 100644 --- a/pkgs/ffigen/test/native_objc_test/swift_class_test.dart +++ b/pkgs/ffigen/test/native_objc_test/swift_class_test.dart @@ -14,18 +14,17 @@ import 'swift_class_bindings.dart'; import 'util.dart'; void main() { - late SwiftClassTestLibrary lib; group('swift_class_test', () { setUpAll(() { logWarnings(); final dylib = File('test/native_objc_test/swift_class_test.dylib'); verifySetupFile(dylib); - lib = SwiftClassTestLibrary(DynamicLibrary.open(dylib.absolute.path)); + DynamicLibrary.open(dylib.absolute.path); generateBindingsForCoverage('swift_class'); }); test('Renamed class', () { - final swiftObject = MySwiftClass.new1(lib); + final swiftObject = MySwiftClass.new1(); expect(swiftObject.getValue(), 123); swiftObject.setValueWithX_(456); expect(swiftObject.getValue(), 456); diff --git a/pkgs/ffigen/test/native_objc_test/typedef_test.dart b/pkgs/ffigen/test/native_objc_test/typedef_test.dart index 7a47fdb83..d94eeaf6b 100644 --- a/pkgs/ffigen/test/native_objc_test/typedef_test.dart +++ b/pkgs/ffigen/test/native_objc_test/typedef_test.dart @@ -14,21 +14,19 @@ import 'typedef_bindings.dart'; import 'util.dart'; void main() { - late TypedefTestObjCLibrary lib; - group('typedef', () { setUpAll(() { logWarnings(); final dylib = File('test/native_objc_test/typedef_test.dylib'); verifySetupFile(dylib); - lib = TypedefTestObjCLibrary(DynamicLibrary.open(dylib.absolute.path)); + DynamicLibrary.open(dylib.absolute.path); generateBindingsForCoverage('typedef'); }); test('Regression test for #386', () { // https://github.com/dart-lang/ffigen/issues/386 // Make sure that the typedef DartSomeClassPtr is for SomeClass. - final DartSomeClassPtr instance = SomeClass.new1(lib); + final DartSomeClassPtr instance = SomeClass.new1(); expect(instance.pointer, isNot(nullptr)); }); }); diff --git a/pkgs/objective_c/ffigen.yaml b/pkgs/objective_c/ffigen.yaml index 436a8f1ee..dbfabf528 100644 --- a/pkgs/objective_c/ffigen.yaml +++ b/pkgs/objective_c/ffigen.yaml @@ -13,12 +13,15 @@ ffi-native: functions: leaf: include: - - '.*' + - '(?!objc_msgSend).*' rename: 'sel_registerName': 'registerName' 'objc_getClass': 'getClass' 'objc_retain': 'objectRetain' 'objc_release': 'objectRelease' + 'objc_msgSend': 'msgSend' + 'objc_msgSend_fpret': 'msgSendFpret' + 'objc_msgSend_stret': 'msgSendStret' '_Block_copy': 'blockCopy' '_Block_release': 'blockRelease' globals: diff --git a/pkgs/objective_c/lib/src/core.dart b/pkgs/objective_c/lib/src/core.dart index 51f3fe2f7..f06c16c9b 100644 --- a/pkgs/objective_c/lib/src/core.dart +++ b/pkgs/objective_c/lib/src/core.dart @@ -25,6 +25,13 @@ Pointer getClass(String name) { return clazz; } +final msgSendPointer = + Native.addressOf>(objc.msgSend); +final msgSendFpretPointer = + Native.addressOf>(objc.msgSendFpret); +final msgSendStretPointer = + Native.addressOf>(objc.msgSendStret); + final useMsgSendVariants = Abi.current() == Abi.iosX64 || Abi.current() == Abi.macosX64; diff --git a/pkgs/objective_c/lib/src/objective_c_bindings_generated.dart b/pkgs/objective_c/lib/src/objective_c_bindings_generated.dart index caaeb1c62..b586c2dbf 100644 --- a/pkgs/objective_c/lib/src/objective_c_bindings_generated.dart +++ b/pkgs/objective_c/lib/src/objective_c_bindings_generated.dart @@ -36,6 +36,15 @@ external void objectRelease( ffi.Pointer object, ); +@ffi.Native(symbol: 'objc_msgSend') +external void msgSend(); + +@ffi.Native(symbol: 'objc_msgSend_fpret') +external void msgSendFpret(); + +@ffi.Native(symbol: 'objc_msgSend_stret') +external void msgSendStret(); + @ffi.Native>(symbol: '_NSConcreteGlobalBlock') external final ffi.Pointer NSConcreteGlobalBlock; diff --git a/pkgs/objective_c/src/objective_c_runtime.h b/pkgs/objective_c/src/objective_c_runtime.h index 7e87cf9f7..15c778335 100644 --- a/pkgs/objective_c/src/objective_c_runtime.h +++ b/pkgs/objective_c/src/objective_c_runtime.h @@ -14,6 +14,12 @@ ObjCObject* objc_getClass(const char *name); ObjCObject* objc_retain(ObjCObject* object); void objc_release(ObjCObject* object); +// The signature of this function is just a placeholder. This function is used by +// every method invocation, and is cast to every signature we need. +void objc_msgSend(); +void objc_msgSend_fpret(); +void objc_msgSend_stret(); + // See https://clang.llvm.org/docs/Block-ABI-Apple.html typedef struct _ObjCBlockDesc { unsigned long int reserved; From 03a7693d47e9e5f5f971ec02a8e20a9653592bba Mon Sep 17 00:00:00 2001 From: Liam Appelbe Date: Thu, 11 Apr 2024 16:15:56 +1200 Subject: [PATCH 19/21] Changelog --- pkgs/ffigen/CHANGELOG.md | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/pkgs/ffigen/CHANGELOG.md b/pkgs/ffigen/CHANGELOG.md index 3802692a4..e505ced00 100644 --- a/pkgs/ffigen/CHANGELOG.md +++ b/pkgs/ffigen/CHANGELOG.md @@ -5,11 +5,21 @@ `ffi-native` option. - Add `retainAndReturnPointer` method to ObjC objects and blocks, and add `castFromPointer` method to blocks. -- __Breaking change__: Use `package:objective_c` in ObjC bindings. This means - that ObjC packages will have a flutter dependency (until #1068 is fixed), and - also makes some minor API changes (`castFrom` and `isInstance` now take a - `lib` argument). - Add `-Wno-nullability-completeness` as default compiler option for MacOS. +- __Breaking change__: Use `package:objective_c` in ObjC bindings. + - ObjC packages will have a flutter dependency (until #1068 is fixed). + - ObjC class methods don't need the ubiquitous `lib` argument anymore. In + fact, ffigen won't even generate the native library class (unless you're + binding top level functions and not using `@Native`). It is still necessary + to `DynamicLibrary.open` the dylib though. + - Adapting to this change: + - If your generated code no longer contains the native library class, it + means you don't need it anymore. So + `final lib = FooNativeLib(DynamicLibrary.open('foo.dylib'));` becomes + `DynamicLibrary.open('foo.dylib');`. + - Regardless of whether you still have a native library class, delete the + `lib` parameter from all ObjC object constructors and static method calls + and block constructors. ## 11.0.0 From 0b004e6c390a8f531d6e86d80ef0d9abe7f327e4 Mon Sep 17 00:00:00 2001 From: Liam Appelbe Date: Thu, 11 Apr 2024 16:44:13 +1200 Subject: [PATCH 20/21] Fix analysis --- .../objective_c/avf_audio_bindings.dart | 9055 ++++++++--------- .../example/swift/swift_api_bindings.dart | 8703 ++++++++-------- .../objc_built_in_functions.dart | 12 +- .../src/code_generator/objc_interface.dart | 8 +- .../native_objc_test/failed_to_load_test.dart | 2 - 5 files changed, 8563 insertions(+), 9217 deletions(-) diff --git a/pkgs/ffigen/example/objective_c/avf_audio_bindings.dart b/pkgs/ffigen/example/objective_c/avf_audio_bindings.dart index db17abbec..dd661ba46 100644 --- a/pkgs/ffigen/example/objective_c/avf_audio_bindings.dart +++ b/pkgs/ffigen/example/objective_c/avf_audio_bindings.dart @@ -962,8 +962,8 @@ late final _sel_load = objc.registerName("load"); final _objc_msgSend_1 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Void Function(ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Void Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, ffi.Pointer)>(); @@ -974,8 +974,8 @@ late final _sel_init = objc.registerName("init"); final _objc_msgSend_2 = objc.msgSendPointer .cast< ffi.NativeFunction< - instancetype Function(ffi.Pointer obj, - ffi.Pointer sel)>>() + instancetype Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< instancetype Function( ffi.Pointer, ffi.Pointer)>(); @@ -987,10 +987,8 @@ late final _sel_allocWithZone_ = objc.registerName("allocWithZone:"); final _objc_msgSend_3 = objc.msgSendPointer .cast< ffi.NativeFunction< - instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer<_NSZone> zone)>>() + instancetype Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer<_NSZone>)>>() .asFunction< instancetype Function(ffi.Pointer, ffi.Pointer, ffi.Pointer<_NSZone>)>(); @@ -1008,9 +1006,9 @@ final _objc_msgSend_4 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aSelector)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< bool Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -1041,9 +1039,9 @@ final _objc_msgSend_0 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer clazz)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< bool Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -1054,9 +1052,9 @@ final _objc_msgSend_5 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer protocol)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< bool Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -1065,9 +1063,9 @@ final _objc_msgSend_6 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer> Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aSelector)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer> Function( ffi.Pointer, @@ -1081,9 +1079,9 @@ final _objc_msgSend_7 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aSelector)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -1093,9 +1091,9 @@ final _objc_msgSend_8 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aSelector)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -1417,10 +1415,8 @@ late final _sel_signatureWithObjCTypes_ = final _objc_msgSend_9 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer types)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -1428,8 +1424,8 @@ late final _sel_numberOfArguments = objc.registerName("numberOfArguments"); final _objc_msgSend_10 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.UnsignedLong Function(ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.UnsignedLong Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< int Function( ffi.Pointer, ffi.Pointer)>(); @@ -1438,8 +1434,8 @@ late final _sel_getArgumentTypeAtIndex_ = final _objc_msgSend_11 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer obj, - ffi.Pointer sel, ffi.UnsignedLong idx)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.UnsignedLong)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -1448,8 +1444,8 @@ late final _sel_isOneway = objc.registerName("isOneway"); final _objc_msgSend_12 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Bool Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< bool Function( ffi.Pointer, ffi.Pointer)>(); @@ -1457,8 +1453,8 @@ late final _sel_methodReturnType = objc.registerName("methodReturnType"); final _objc_msgSend_13 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -1469,11 +1465,11 @@ final _objc_msgSend_14 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aTarget, - ffi.Pointer aSelector, - ffi.Pointer anArgument)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -1487,9 +1483,9 @@ final _objc_msgSend_15 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aTarget)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -1837,9 +1833,9 @@ final _objc_msgSend_16 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer object)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -1964,9 +1960,8 @@ late final _sel_nextObject = objc.registerName("nextObject"); final _objc_msgSend_17 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -3414,8 +3409,8 @@ late final _sel_characterAtIndex_ = objc.registerName("characterAtIndex:"); final _objc_msgSend_18 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.UnsignedShort Function(ffi.Pointer obj, - ffi.Pointer sel, ffi.UnsignedLong index)>>() + ffi.UnsignedShort Function(ffi.Pointer, + ffi.Pointer, ffi.UnsignedLong)>>() .asFunction< int Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -3975,10 +3970,10 @@ final _objc_msgSend_19 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer type, - ffi.Pointer addr)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -4401,8 +4396,8 @@ late final _sel_bytes = objc.registerName("bytes"); final _objc_msgSend_20 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -4410,9 +4405,8 @@ late final _sel_description = objc.registerName("description"); final _objc_msgSend_21 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -4421,10 +4415,10 @@ final _objc_msgSend_22 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer buffer, - ffi.UnsignedLong length)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer, int)>(); @@ -4442,10 +4436,10 @@ final _objc_msgSend_23 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer buffer, - _NSRange range)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer, _NSRange)>(); @@ -4454,9 +4448,9 @@ final _objc_msgSend_24 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer other)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< bool Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -4464,10 +4458,8 @@ late final _sel_subdataWithRange_ = objc.registerName("subdataWithRange:"); final _objc_msgSend_25 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - _NSRange range)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, _NSRange)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, _NSRange)>(); @@ -4477,10 +4469,10 @@ final _objc_msgSend_26 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, - ffi.Bool useAuxiliaryFile)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool)>>() .asFunction< bool Function( ffi.Pointer, @@ -5266,11 +5258,11 @@ final _objc_msgSend_27 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer scheme, - ffi.Pointer host, - ffi.Pointer path)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -5284,11 +5276,11 @@ final _objc_msgSend_28 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, - ffi.Bool isDir, - ffi.Pointer baseURL)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.Pointer)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -5302,10 +5294,10 @@ final _objc_msgSend_29 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, - ffi.Pointer baseURL)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -5318,10 +5310,10 @@ final _objc_msgSend_30 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, - ffi.Bool isDir)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -5334,9 +5326,9 @@ final _objc_msgSend_31 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< instancetype Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -5346,11 +5338,11 @@ final _objc_msgSend_32 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, - ffi.Bool isDir, - ffi.Pointer baseURL)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -5364,10 +5356,10 @@ final _objc_msgSend_33 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, - ffi.Pointer baseURL)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -5380,10 +5372,10 @@ final _objc_msgSend_34 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, - ffi.Bool isDir)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -5395,9 +5387,9 @@ final _objc_msgSend_35 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -5408,11 +5400,11 @@ final _objc_msgSend_36 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, - ffi.Bool isDir, - ffi.Pointer baseURL)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.Pointer)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -5427,11 +5419,11 @@ final _objc_msgSend_37 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, - ffi.Bool isDir, - ffi.Pointer baseURL)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -5444,9 +5436,9 @@ final _objc_msgSend_38 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer URLString)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< instancetype Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -5456,10 +5448,10 @@ final _objc_msgSend_39 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer URLString, - ffi.Pointer baseURL)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -5475,10 +5467,10 @@ final _objc_msgSend_40 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer URLString, - ffi.Bool encodingInvalidCharacters)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -5493,10 +5485,10 @@ final _objc_msgSend_41 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer data, - ffi.Pointer baseURL)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -5509,10 +5501,10 @@ final _objc_msgSend_42 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer data, - ffi.Pointer baseURL)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -5527,9 +5519,8 @@ late final _sel_dataRepresentation = objc.registerName("dataRepresentation"); final _objc_msgSend_43 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -5537,9 +5528,8 @@ late final _sel_absoluteString = objc.registerName("absoluteString"); final _objc_msgSend_44 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -5548,9 +5538,8 @@ late final _sel_baseURL = objc.registerName("baseURL"); final _objc_msgSend_45 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -6217,10 +6206,10 @@ final _objc_msgSend_46 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, - ffi.Pointer type)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -6232,9 +6221,9 @@ final _objc_msgSend_47 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer coder)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< instancetype Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -6244,10 +6233,10 @@ final _objc_msgSend_48 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, - ffi.Pointer type)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -6261,9 +6250,9 @@ final _objc_msgSend_49 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer anObject)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -6273,10 +6262,8 @@ late final _sel_valueWithPointer_ = objc.registerName("valueWithPointer:"); final _objc_msgSend_50 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer pointer)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -6286,9 +6273,9 @@ final _objc_msgSend_51 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< bool Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -6296,10 +6283,8 @@ late final _sel_getValue_ = objc.registerName("getValue:"); final _objc_msgSend_52 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value)>>() + ffi.Void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -6307,10 +6292,8 @@ late final _sel_valueWithRange_ = objc.registerName("valueWithRange:"); final _objc_msgSend_53 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - _NSRange range)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, _NSRange)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, _NSRange)>(); @@ -6318,8 +6301,8 @@ late final _sel_rangeValue = objc.registerName("rangeValue"); final _objc_msgSend_54 = objc.msgSendPointer .cast< ffi.NativeFunction< - _NSRange Function(ffi.Pointer obj, - ffi.Pointer sel)>>() + _NSRange Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< _NSRange Function( ffi.Pointer, ffi.Pointer)>(); @@ -6327,9 +6310,9 @@ final _objc_msgSend_54Stret = objc.msgSendStretPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer<_NSRange> stret, - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer<_NSRange>, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer<_NSRange>, ffi.Pointer, ffi.Pointer)>(); @@ -6346,10 +6329,8 @@ late final _sel_valueWithPoint_ = objc.registerName("valueWithPoint:"); final _objc_msgSend_55 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - CGPoint point)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, CGPoint)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, CGPoint)>(); @@ -6366,10 +6347,8 @@ late final _sel_valueWithSize_ = objc.registerName("valueWithSize:"); final _objc_msgSend_56 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - CGSize size)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, CGSize)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, CGSize)>(); @@ -6384,10 +6363,8 @@ late final _sel_valueWithRect_ = objc.registerName("valueWithRect:"); final _objc_msgSend_57 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - CGRect rect)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, CGRect)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, CGRect)>(); @@ -6411,10 +6388,8 @@ late final _sel_valueWithEdgeInsets_ = final _objc_msgSend_58 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - NSEdgeInsets insets)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, NSEdgeInsets)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, NSEdgeInsets)>(); @@ -6422,8 +6397,8 @@ late final _sel_pointValue = objc.registerName("pointValue"); final _objc_msgSend_59 = objc.msgSendPointer .cast< ffi.NativeFunction< - CGPoint Function(ffi.Pointer obj, - ffi.Pointer sel)>>() + CGPoint Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< CGPoint Function( ffi.Pointer, ffi.Pointer)>(); @@ -6431,9 +6406,9 @@ final _objc_msgSend_59Stret = objc.msgSendStretPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer stret, - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -6441,18 +6416,16 @@ late final _sel_sizeValue = objc.registerName("sizeValue"); final _objc_msgSend_60 = objc.msgSendPointer .cast< ffi.NativeFunction< - CGSize Function(ffi.Pointer obj, - ffi.Pointer sel)>>() + CGSize Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< CGSize Function( ffi.Pointer, ffi.Pointer)>(); final _objc_msgSend_60Stret = objc.msgSendStretPointer .cast< ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer stret, - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Void Function(ffi.Pointer, ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -6460,18 +6433,16 @@ late final _sel_rectValue = objc.registerName("rectValue"); final _objc_msgSend_61 = objc.msgSendPointer .cast< ffi.NativeFunction< - CGRect Function(ffi.Pointer obj, - ffi.Pointer sel)>>() + CGRect Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< CGRect Function( ffi.Pointer, ffi.Pointer)>(); final _objc_msgSend_61Stret = objc.msgSendStretPointer .cast< ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer stret, - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Void Function(ffi.Pointer, ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -6479,8 +6450,8 @@ late final _sel_edgeInsetsValue = objc.registerName("edgeInsetsValue"); final _objc_msgSend_62 = objc.msgSendPointer .cast< ffi.NativeFunction< - NSEdgeInsets Function(ffi.Pointer obj, - ffi.Pointer sel)>>() + NSEdgeInsets Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< NSEdgeInsets Function( ffi.Pointer, ffi.Pointer)>(); @@ -6488,9 +6459,9 @@ final _objc_msgSend_62Stret = objc.msgSendStretPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer stret, - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -6500,9 +6471,9 @@ final _objc_msgSend_63 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer key)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -6512,9 +6483,9 @@ final _objc_msgSend_64 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer key)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< bool Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -7160,10 +7131,8 @@ late final _sel_objectAtIndex_ = objc.registerName("objectAtIndex:"); final _objc_msgSend_65 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.UnsignedLong index)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.UnsignedLong)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -7173,10 +7142,10 @@ final _objc_msgSend_66 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer> objects, - ffi.UnsignedLong cnt)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.UnsignedLong)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -7189,9 +7158,9 @@ final _objc_msgSend_67 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer anObject)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -7201,9 +7170,9 @@ final _objc_msgSend_68 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer otherArray)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -7213,9 +7182,9 @@ final _objc_msgSend_69 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer separator)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -7226,9 +7195,9 @@ final _objc_msgSend_70 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer locale)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -7238,10 +7207,10 @@ final _objc_msgSend_71 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer locale, - ffi.UnsignedLong level)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -7254,9 +7223,9 @@ final _objc_msgSend_72 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer otherArray)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -7265,10 +7234,10 @@ final _objc_msgSend_73 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer> objects, - _NSRange range)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + _NSRange)>>() .asFunction< void Function( ffi.Pointer, @@ -7280,9 +7249,9 @@ final _objc_msgSend_74 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.UnsignedLong Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer anObject)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< int Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -7292,10 +7261,10 @@ final _objc_msgSend_75 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.UnsignedLong Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer anObject, - _NSRange range)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange)>>() .asFunction< int Function( ffi.Pointer, @@ -7311,9 +7280,9 @@ final _objc_msgSend_76 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer otherArray)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< bool Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -7323,9 +7292,8 @@ late final _sel_objectEnumerator = objc.registerName("objectEnumerator"); final _objc_msgSend_77 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -7338,16 +7306,15 @@ final _objc_msgSend_78 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer, + ffi.Pointer, ffi.Pointer< - ffi.NativeFunction< - ffi.Long Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>> - comparator, - ffi.Pointer context)>>() + ffi.NativeFunction< + ffi.Long Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -7363,17 +7330,16 @@ final _objc_msgSend_79 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer, + ffi.Pointer, ffi.Pointer< - ffi.NativeFunction< - ffi.Long Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>> - comparator, - ffi.Pointer context, - ffi.Pointer hint)>>() + ffi.NativeFunction< + ffi.Long Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -7390,9 +7356,9 @@ final _objc_msgSend_80 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer comparator)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -7400,10 +7366,8 @@ late final _sel_subarrayWithRange_ = objc.registerName("subarrayWithRange:"); final _objc_msgSend_81 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - _NSRange range)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, _NSRange)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, _NSRange)>(); @@ -7621,11 +7585,11 @@ final _objc_msgSend_82 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer domain, - ffi.Long code, - ffi.Pointer dict)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Long, + ffi.Pointer)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -7640,8 +7604,8 @@ late final _sel_code = objc.registerName("code"); final _objc_msgSend_83 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Long Function(ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Long Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< int Function( ffi.Pointer, ffi.Pointer)>(); @@ -7657,9 +7621,8 @@ late final _sel_localizedRecoveryOptions = final _objc_msgSend_84 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -7669,9 +7632,8 @@ late final _sel_underlyingErrors = objc.registerName("underlyingErrors"); final _objc_msgSend_85 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -7799,10 +7761,10 @@ final _objc_msgSend_86 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer errorDomain, - ffi.Pointer provider)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -7815,11 +7777,11 @@ final _objc_msgSend_87 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer err, - ffi.Pointer userInfoKey, - ffi.Pointer errorDomain)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -7833,10 +7795,10 @@ final _objc_msgSend_88 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer keys, - ffi.Pointer dependentKey)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -7852,10 +7814,10 @@ final _objc_msgSend_89 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, - ffi.Pointer> error)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>>() .asFunction< bool Function( ffi.Pointer, @@ -7870,10 +7832,10 @@ final _objc_msgSend_90 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aSelector, - ffi.Pointer argument)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -8174,8 +8136,8 @@ late final _sel_indexSetWithIndexesInRange_ = final _objc_msgSend_91 = objc.msgSendPointer .cast< ffi.NativeFunction< - instancetype Function(ffi.Pointer obj, - ffi.Pointer sel, _NSRange range)>>() + instancetype Function(ffi.Pointer, + ffi.Pointer, _NSRange)>>() .asFunction< instancetype Function(ffi.Pointer, ffi.Pointer, _NSRange)>(); @@ -8186,9 +8148,9 @@ final _objc_msgSend_92 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer indexSet)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< instancetype Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -8198,9 +8160,9 @@ final _objc_msgSend_93 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer indexSet)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< bool Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -8211,8 +8173,8 @@ late final _sel_indexGreaterThanIndex_ = final _objc_msgSend_94 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.UnsignedLong Function(ffi.Pointer obj, - ffi.Pointer sel, ffi.UnsignedLong value)>>() + ffi.UnsignedLong Function(ffi.Pointer, + ffi.Pointer, ffi.UnsignedLong)>>() .asFunction< int Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -8227,11 +8189,11 @@ final _objc_msgSend_95 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.UnsignedLong Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer indexBuffer, - ffi.UnsignedLong bufferSize, - ffi.Pointer<_NSRange> range)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer<_NSRange>)>>() .asFunction< int Function( ffi.Pointer, @@ -8244,8 +8206,8 @@ late final _sel_countOfIndexesInRange_ = final _objc_msgSend_96 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.UnsignedLong Function(ffi.Pointer obj, - ffi.Pointer sel, _NSRange range)>>() + ffi.UnsignedLong Function(ffi.Pointer, + ffi.Pointer, _NSRange)>>() .asFunction< int Function(ffi.Pointer, ffi.Pointer, _NSRange)>(); @@ -8253,8 +8215,8 @@ late final _sel_containsIndex_ = objc.registerName("containsIndex:"); final _objc_msgSend_97 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer obj, - ffi.Pointer sel, ffi.UnsignedLong value)>>() + ffi.Bool Function(ffi.Pointer, + ffi.Pointer, ffi.UnsignedLong)>>() .asFunction< bool Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -8263,8 +8225,8 @@ late final _sel_containsIndexesInRange_ = final _objc_msgSend_98 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer obj, - ffi.Pointer sel, _NSRange range)>>() + ffi.Bool Function(ffi.Pointer, + ffi.Pointer, _NSRange)>>() .asFunction< bool Function(ffi.Pointer, ffi.Pointer, _NSRange)>(); @@ -8389,10 +8351,8 @@ late final _sel_enumerateIndexesUsingBlock_ = final _objc_msgSend_99 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer block)>>() + ffi.Void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -8408,10 +8368,10 @@ final _objc_msgSend_100 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Int32 opts, - ffi.Pointer block)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -8424,11 +8384,11 @@ final _objc_msgSend_101 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - _NSRange range, - ffi.Int32 opts, - ffi.Pointer block)>>() + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Int32, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -8530,10 +8490,8 @@ late final _sel_indexPassingTest_ = objc.registerName("indexPassingTest:"); final _objc_msgSend_102 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer predicate)>>() + ffi.UnsignedLong Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>>() .asFunction< int Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -8543,10 +8501,10 @@ final _objc_msgSend_103 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.UnsignedLong Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Int32 opts, - ffi.Pointer predicate)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer)>>() .asFunction< int Function( ffi.Pointer, @@ -8559,11 +8517,11 @@ final _objc_msgSend_104 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.UnsignedLong Function( - ffi.Pointer obj, - ffi.Pointer sel, - _NSRange range, - ffi.Int32 opts, - ffi.Pointer predicate)>>() + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Int32, + ffi.Pointer)>>() .asFunction< int Function( ffi.Pointer, @@ -8575,10 +8533,8 @@ late final _sel_indexesPassingTest_ = objc.registerName("indexesPassingTest:"); final _objc_msgSend_105 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer predicate)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -8588,10 +8544,10 @@ final _objc_msgSend_106 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Int32 opts, - ffi.Pointer predicate)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -8604,11 +8560,11 @@ final _objc_msgSend_107 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - _NSRange range, - ffi.Int32 opts, - ffi.Pointer predicate)>>() + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Int32, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -8736,10 +8692,8 @@ late final _sel_enumerateRangesUsingBlock_ = final _objc_msgSend_108 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer block)>>() + ffi.Void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -8749,10 +8703,10 @@ final _objc_msgSend_109 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Int32 opts, - ffi.Pointer block)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -8765,11 +8719,11 @@ final _objc_msgSend_110 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - _NSRange range, - ffi.Int32 opts, - ffi.Pointer block)>>() + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Int32, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -8782,9 +8736,9 @@ final _objc_msgSend_111 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer indexes)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -8945,10 +8899,8 @@ late final _sel_enumerateObjectsUsingBlock_ = final _objc_msgSend_112 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer block)>>() + ffi.Void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -8958,10 +8910,10 @@ final _objc_msgSend_113 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Int32 opts, - ffi.Pointer block)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -8974,11 +8926,11 @@ final _objc_msgSend_114 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer s, - ffi.Int32 opts, - ffi.Pointer block)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -9107,10 +9059,8 @@ late final _sel_indexOfObjectPassingTest_ = final _objc_msgSend_115 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer predicate)>>() + ffi.UnsignedLong Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>>() .asFunction< int Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -9120,10 +9070,10 @@ final _objc_msgSend_116 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.UnsignedLong Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Int32 opts, - ffi.Pointer predicate)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer)>>() .asFunction< int Function( ffi.Pointer, @@ -9136,11 +9086,11 @@ final _objc_msgSend_117 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.UnsignedLong Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer s, - ffi.Int32 opts, - ffi.Pointer predicate)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer)>>() .asFunction< int Function( ffi.Pointer, @@ -9153,10 +9103,8 @@ late final _sel_indexesOfObjectsPassingTest_ = final _objc_msgSend_118 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer predicate)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -9166,10 +9114,10 @@ final _objc_msgSend_119 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Int32 opts, - ffi.Pointer predicate)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -9182,11 +9130,11 @@ final _objc_msgSend_120 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer s, - ffi.Int32 opts, - ffi.Pointer predicate)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -9315,10 +9263,8 @@ late final _sel_sortedArrayUsingComparator_ = final _objc_msgSend_121 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer cmptr)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -9334,10 +9280,10 @@ final _objc_msgSend_122 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Int32 opts, - ffi.Pointer cmptr)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -9357,12 +9303,12 @@ final _objc_msgSend_123 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.UnsignedLong Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer obj, - _NSRange r, - ffi.Int32 opts, - ffi.Pointer cmp)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Int32, + ffi.Pointer)>>() .asFunction< int Function( ffi.Pointer, @@ -9377,9 +9323,9 @@ final _objc_msgSend_124 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer anObject)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< instancetype Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -9391,9 +9337,9 @@ final _objc_msgSend_125 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer array)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< instancetype Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -9405,10 +9351,10 @@ final _objc_msgSend_126 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer array, - ffi.Bool flag)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -9421,10 +9367,10 @@ final _objc_msgSend_127 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, - ffi.Pointer> error)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -9557,11 +9503,11 @@ final _objc_msgSend_128 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer other, - ffi.Int32 options, - ffi.Pointer block)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -9575,10 +9521,10 @@ final _objc_msgSend_129 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer other, - ffi.Int32 options)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -9593,9 +9539,9 @@ final _objc_msgSend_130 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer difference)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -9604,9 +9550,9 @@ final _objc_msgSend_131 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer> objects)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>>() .asFunction< void Function( ffi.Pointer, @@ -9618,9 +9564,9 @@ final _objc_msgSend_132 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -9630,9 +9576,9 @@ final _objc_msgSend_133 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -9646,10 +9592,10 @@ final _objc_msgSend_134 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, - ffi.Bool atomically)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool)>>() .asFunction< bool Function( ffi.Pointer, @@ -9664,10 +9610,10 @@ final _objc_msgSend_135 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, - ffi.Pointer key)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -9689,13 +9635,13 @@ final _objc_msgSend_136 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer observer, - ffi.Pointer indexes, - ffi.Pointer keyPath, - ffi.Int32 options, - ffi.Pointer context)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -9711,12 +9657,12 @@ final _objc_msgSend_137 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer observer, - ffi.Pointer indexes, - ffi.Pointer keyPath, - ffi.Pointer context)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -9731,11 +9677,11 @@ final _objc_msgSend_138 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer observer, - ffi.Pointer indexes, - ffi.Pointer keyPath)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -9749,12 +9695,12 @@ final _objc_msgSend_139 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer observer, - ffi.Pointer keyPath, - ffi.Int32 options, - ffi.Pointer context)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -9769,11 +9715,11 @@ final _objc_msgSend_140 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer observer, - ffi.Pointer keyPath, - ffi.Pointer context)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -9787,10 +9733,10 @@ final _objc_msgSend_141 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer observer, - ffi.Pointer keyPath)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -9982,10 +9928,10 @@ final _objc_msgSend_142 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer predicateFormat, - ffi.Pointer arguments)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -9998,9 +9944,9 @@ final _objc_msgSend_143 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer predicateFormat)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -10023,10 +9969,10 @@ final _objc_msgSend_144 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer predicateFormat, - ffi.Pointer<__va_list_tag> argList)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<__va_list_tag>)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -10039,9 +9985,9 @@ final _objc_msgSend_145 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer queryString)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -10049,10 +9995,8 @@ late final _sel_predicateWithValue_ = objc.registerName("predicateWithValue:"); final _objc_msgSend_146 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Bool value)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Bool)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, bool)>(); @@ -10679,11 +10623,11 @@ final _objc_msgSend_147 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer> objects, - ffi.Pointer> keys, - ffi.UnsignedLong cnt)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer>, + ffi.UnsignedLong)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -10702,9 +10646,9 @@ final _objc_msgSend_148 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer otherDictionary)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< bool Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -10714,10 +10658,10 @@ final _objc_msgSend_149 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer keys, - ffi.Pointer marker)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -10732,11 +10676,11 @@ final _objc_msgSend_150 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer> objects, - ffi.Pointer> keys, - ffi.UnsignedLong count)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer>, + ffi.UnsignedLong)>>() .asFunction< void Function( ffi.Pointer, @@ -10911,10 +10855,8 @@ late final _sel_enumerateKeysAndObjectsUsingBlock_ = final _objc_msgSend_151 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer block)>>() + ffi.Void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -10924,10 +10866,10 @@ final _objc_msgSend_152 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Int32 opts, - ffi.Pointer block)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -11066,10 +11008,8 @@ late final _sel_keysOfEntriesPassingTest_ = final _objc_msgSend_153 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer predicate)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -11079,10 +11019,10 @@ final _objc_msgSend_154 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Int32 opts, - ffi.Pointer predicate)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -11094,10 +11034,10 @@ final _objc_msgSend_155 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer> objects, - ffi.Pointer> keys)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer>)>>() .asFunction< void Function( ffi.Pointer, @@ -11110,9 +11050,9 @@ final _objc_msgSend_156 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -11122,9 +11062,9 @@ final _objc_msgSend_157 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -11135,10 +11075,10 @@ final _objc_msgSend_158 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer object, - ffi.Pointer key)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -11155,9 +11095,9 @@ final _objc_msgSend_159 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer dict)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< instancetype Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -11167,10 +11107,10 @@ final _objc_msgSend_160 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer objects, - ffi.Pointer keys)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -11186,10 +11126,10 @@ final _objc_msgSend_161 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer otherDictionary, - ffi.Bool flag)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -11202,10 +11142,10 @@ final _objc_msgSend_162 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, - ffi.Pointer> error)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -11235,11 +11175,11 @@ final _objc_msgSend_163 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.UnsignedLong Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer state, - ffi.Pointer> buffer, - ffi.UnsignedLong len)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.UnsignedLong)>>() .asFunction< int Function( ffi.Pointer, @@ -11251,8 +11191,8 @@ late final _sel_fileSize = objc.registerName("fileSize"); final _objc_msgSend_164 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.UnsignedLongLong Function(ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.UnsignedLongLong Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< int Function( ffi.Pointer, ffi.Pointer)>(); @@ -11568,16 +11508,16 @@ late final _sel_timeIntervalSinceReferenceDate = final _objc_msgSend_165 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Double Function(ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Double Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< double Function( ffi.Pointer, ffi.Pointer)>(); final _objc_msgSend_165Fpret = objc.msgSendFpretPointer .cast< ffi.NativeFunction< - ffi.Double Function(ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Double Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< double Function( ffi.Pointer, ffi.Pointer)>(); @@ -11586,8 +11526,8 @@ late final _sel_initWithTimeIntervalSinceReferenceDate_ = final _objc_msgSend_166 = objc.msgSendPointer .cast< ffi.NativeFunction< - instancetype Function(ffi.Pointer obj, - ffi.Pointer sel, ffi.Double ti)>>() + instancetype Function(ffi.Pointer, + ffi.Pointer, ffi.Double)>>() .asFunction< instancetype Function(ffi.Pointer, ffi.Pointer, double)>(); @@ -11597,9 +11537,9 @@ final _objc_msgSend_167 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Double Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer anotherDate)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< double Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -11607,9 +11547,9 @@ final _objc_msgSend_167Fpret = objc.msgSendFpretPointer .cast< ffi.NativeFunction< ffi.Double Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer anotherDate)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< double Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -11625,9 +11565,9 @@ final _objc_msgSend_168 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer anotherDate)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -11637,9 +11577,9 @@ final _objc_msgSend_169 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Int32 Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer other)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< int Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -11648,9 +11588,9 @@ final _objc_msgSend_170 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer otherDate)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< bool Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -11667,10 +11607,10 @@ final _objc_msgSend_171 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Double secsToBeAdded, - ffi.Pointer date)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Double, + ffi.Pointer)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -11681,9 +11621,8 @@ late final _sel_distantFuture = objc.registerName("distantFuture"); final _objc_msgSend_172 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -11701,10 +11640,10 @@ final _objc_msgSend_173 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer string, - ffi.Pointer locale)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -12161,11 +12100,11 @@ final _objc_msgSend_174 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer description, - ffi.Pointer format, - ffi.Pointer locale)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -12179,10 +12118,10 @@ final _objc_msgSend_175 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer description, - ffi.Pointer format)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -12485,9 +12424,9 @@ final _objc_msgSend_176 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Long Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aDate)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< int Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -12497,9 +12436,9 @@ final _objc_msgSend_177 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aDate)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -12513,9 +12452,9 @@ final _objc_msgSend_178 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aDate)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -12523,9 +12462,8 @@ late final _sel_systemTimeZone = objc.registerName("systemTimeZone"); final _objc_msgSend_179 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -12536,9 +12474,9 @@ final _objc_msgSend_180 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -12549,9 +12487,8 @@ late final _sel_abbreviationDictionary = final _objc_msgSend_181 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -12561,9 +12498,9 @@ final _objc_msgSend_182 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -12579,9 +12516,8 @@ late final _sel_nextDaylightSavingTimeTransition = final _objc_msgSend_183 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -12590,9 +12526,9 @@ final _objc_msgSend_184 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aTimeZone)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< bool Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -13029,10 +12965,10 @@ final _objc_msgSend_185 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer key, - ffi.Pointer value)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -13051,9 +12987,9 @@ final _objc_msgSend_186 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer languageCode)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -13363,9 +13299,8 @@ late final _sel_controlCharacterSet = objc.registerName("controlCharacterSet"); final _objc_msgSend_187 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -13397,10 +13332,8 @@ late final _sel_characterSetWithRange_ = final _objc_msgSend_188 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - _NSRange aRange)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, _NSRange)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, _NSRange)>(); @@ -13410,9 +13343,9 @@ final _objc_msgSend_189 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aString)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -13422,9 +13355,9 @@ final _objc_msgSend_190 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer data)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -13434,9 +13367,9 @@ final _objc_msgSend_191 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer fName)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -13444,9 +13377,9 @@ final _objc_msgSend_192 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer coder)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< instancetype Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -13454,10 +13387,8 @@ late final _sel_characterIsMember_ = objc.registerName("characterIsMember:"); final _objc_msgSend_193 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.UnsignedShort aCharacter)>>() + ffi.Bool Function(ffi.Pointer, + ffi.Pointer, ffi.UnsignedShort)>>() .asFunction< bool Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -13469,10 +13400,8 @@ late final _sel_longCharacterIsMember_ = final _objc_msgSend_194 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.UnsignedInt theLongChar)>>() + ffi.Bool Function(ffi.Pointer, + ffi.Pointer, ffi.UnsignedInt)>>() .asFunction< bool Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -13481,9 +13410,9 @@ final _objc_msgSend_195 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer theOtherSet)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< bool Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -13491,8 +13420,8 @@ late final _sel_hasMemberInPlane_ = objc.registerName("hasMemberInPlane:"); final _objc_msgSend_196 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer obj, - ffi.Pointer sel, ffi.Uint8 thePlane)>>() + ffi.Bool Function(ffi.Pointer, + ffi.Pointer, ffi.Uint8)>>() .asFunction< bool Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -13539,9 +13468,8 @@ late final _sel_autoupdatingCurrentLocale = final _objc_msgSend_197 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -13563,9 +13491,9 @@ final _objc_msgSend_198 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer string)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -13575,9 +13503,9 @@ final _objc_msgSend_199 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer dict)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -13590,10 +13518,8 @@ late final _sel_localeIdentifierFromWindowsLocaleCode_ = final _objc_msgSend_200 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Uint32 lcid)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Uint32)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -13603,9 +13529,9 @@ final _objc_msgSend_201 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Uint32 Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer localeIdentifier)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< int Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -13624,9 +13550,9 @@ final _objc_msgSend_202 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Int32 Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer isoLangCode)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< int Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -13638,10 +13564,10 @@ final _objc_msgSend_203 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Int32 style, - ffi.Pointer locale)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -13655,10 +13581,10 @@ final _objc_msgSend_204 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer tzName, - ffi.Pointer aData)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -13672,8 +13598,8 @@ late final _sel_timeZoneForSecondsFromGMT_ = final _objc_msgSend_205 = objc.msgSendPointer .cast< ffi.NativeFunction< - instancetype Function(ffi.Pointer obj, - ffi.Pointer sel, ffi.Long seconds)>>() + instancetype Function(ffi.Pointer, + ffi.Pointer, ffi.Long)>>() .asFunction< instancetype Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -13685,15 +13611,15 @@ final _objc_msgSend_206 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Long year, - ffi.UnsignedLong month, - ffi.UnsignedLong day, - ffi.UnsignedLong hour, - ffi.UnsignedLong minute, - ffi.UnsignedLong second, - ffi.Pointer aTimeZone)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Long, + ffi.UnsignedLong, + ffi.UnsignedLong, + ffi.UnsignedLong, + ffi.UnsignedLong, + ffi.UnsignedLong, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -13711,14 +13637,14 @@ final _objc_msgSend_207 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Long year, - ffi.Long month, - ffi.Long day, - ffi.Long hour, - ffi.Long minute, - ffi.Long second)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Long, + ffi.Long, + ffi.Long, + ffi.Long, + ffi.Long, + ffi.Long)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, int, int, int, int, int, int)>(); @@ -13738,10 +13664,10 @@ final _objc_msgSend_208 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer format, - ffi.Pointer locale)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -13762,9 +13688,9 @@ final _objc_msgSend_209 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer format)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -13773,9 +13699,9 @@ final _objc_msgSend_210 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aTimeZone)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -13785,15 +13711,15 @@ final _objc_msgSend_211 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer yp, - ffi.Pointer mop, - ffi.Pointer dp, - ffi.Pointer hp, - ffi.Pointer mip, - ffi.Pointer sp, - ffi.Pointer date)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -13811,10 +13737,10 @@ final _objc_msgSend_212 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer format, - ffi.Pointer aTimeZone)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -13827,11 +13753,11 @@ final _objc_msgSend_213 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer format, - ffi.Pointer aTimeZone, - ffi.Pointer locale)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -13856,8 +13782,8 @@ late final _sel_fileHFSCreatorCode = objc.registerName("fileHFSCreatorCode"); final _objc_msgSend_214 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.UnsignedInt Function(ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.UnsignedInt Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< int Function( ffi.Pointer, ffi.Pointer)>(); @@ -13869,9 +13795,8 @@ late final _sel_fileOwnerAccountID = objc.registerName("fileOwnerAccountID"); final _objc_msgSend_215 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -13881,10 +13806,8 @@ late final _sel_predicateWithBlock_ = objc.registerName("predicateWithBlock:"); final _objc_msgSend_216 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer block)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -13896,9 +13819,9 @@ final _objc_msgSend_217 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer object)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< bool Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -13908,10 +13831,10 @@ final _objc_msgSend_218 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer object, - ffi.Pointer bindings)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< bool Function( ffi.Pointer, @@ -13925,9 +13848,9 @@ final _objc_msgSend_219 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer predicate)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -13935,10 +13858,8 @@ late final _sel_initWithChar_ = objc.registerName("initWithChar:"); final _objc_msgSend_220 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Char value)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Char)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -13947,10 +13868,8 @@ late final _sel_initWithUnsignedChar_ = final _objc_msgSend_221 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.UnsignedChar value)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.UnsignedChar)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -13958,10 +13877,8 @@ late final _sel_initWithShort_ = objc.registerName("initWithShort:"); final _objc_msgSend_222 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Short value)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Short)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -13970,10 +13887,8 @@ late final _sel_initWithUnsignedShort_ = final _objc_msgSend_223 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.UnsignedShort value)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.UnsignedShort)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -13981,10 +13896,8 @@ late final _sel_initWithInt_ = objc.registerName("initWithInt:"); final _objc_msgSend_224 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Int value)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Int)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -13993,10 +13906,8 @@ late final _sel_initWithUnsignedInt_ = final _objc_msgSend_225 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.UnsignedInt value)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.UnsignedInt)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -14004,10 +13915,8 @@ late final _sel_initWithLong_ = objc.registerName("initWithLong:"); final _objc_msgSend_226 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Long value)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Long)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -14016,10 +13925,8 @@ late final _sel_initWithUnsignedLong_ = final _objc_msgSend_227 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.UnsignedLong value)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.UnsignedLong)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -14027,10 +13934,8 @@ late final _sel_initWithLongLong_ = objc.registerName("initWithLongLong:"); final _objc_msgSend_228 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.LongLong value)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.LongLong)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -14039,10 +13944,8 @@ late final _sel_initWithUnsignedLongLong_ = final _objc_msgSend_229 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.UnsignedLongLong value)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.UnsignedLongLong)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -14050,10 +13953,8 @@ late final _sel_initWithFloat_ = objc.registerName("initWithFloat:"); final _objc_msgSend_230 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Float value)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Float)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, double)>(); @@ -14061,10 +13962,8 @@ late final _sel_initWithDouble_ = objc.registerName("initWithDouble:"); final _objc_msgSend_231 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Double value)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Double)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, double)>(); @@ -14072,10 +13971,8 @@ late final _sel_initWithBool_ = objc.registerName("initWithBool:"); final _objc_msgSend_232 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Bool value)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Bool)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, bool)>(); @@ -14086,8 +13983,8 @@ late final _sel_charValue = objc.registerName("charValue"); final _objc_msgSend_233 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Char Function(ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Char Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< int Function( ffi.Pointer, ffi.Pointer)>(); @@ -14095,8 +13992,8 @@ late final _sel_unsignedCharValue = objc.registerName("unsignedCharValue"); final _objc_msgSend_234 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.UnsignedChar Function(ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.UnsignedChar Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< int Function( ffi.Pointer, ffi.Pointer)>(); @@ -14104,8 +14001,8 @@ late final _sel_shortValue = objc.registerName("shortValue"); final _objc_msgSend_235 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Short Function(ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Short Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< int Function( ffi.Pointer, ffi.Pointer)>(); @@ -14113,8 +14010,8 @@ late final _sel_unsignedShortValue = objc.registerName("unsignedShortValue"); final _objc_msgSend_236 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.UnsignedShort Function(ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.UnsignedShort Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< int Function( ffi.Pointer, ffi.Pointer)>(); @@ -14122,8 +14019,8 @@ late final _sel_intValue = objc.registerName("intValue"); final _objc_msgSend_237 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Int Function(ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Int Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< int Function( ffi.Pointer, ffi.Pointer)>(); @@ -14134,8 +14031,8 @@ late final _sel_longLongValue = objc.registerName("longLongValue"); final _objc_msgSend_238 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.LongLong Function(ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.LongLong Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< int Function( ffi.Pointer, ffi.Pointer)>(); @@ -14145,16 +14042,16 @@ late final _sel_floatValue = objc.registerName("floatValue"); final _objc_msgSend_239 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Float Function(ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Float Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< double Function( ffi.Pointer, ffi.Pointer)>(); final _objc_msgSend_239Fpret = objc.msgSendFpretPointer .cast< ffi.NativeFunction< - ffi.Float Function(ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Float Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< double Function( ffi.Pointer, ffi.Pointer)>(); @@ -14168,9 +14065,9 @@ final _objc_msgSend_240 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Int32 Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer otherNumber)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< int Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -14179,9 +14076,9 @@ final _objc_msgSend_241 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer number)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< bool Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -14221,10 +14118,10 @@ final _objc_msgSend_242 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer buffer, - ffi.UnsignedLong maxBufferLength)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong)>>() .asFunction< bool Function(ffi.Pointer, ffi.Pointer, ffi.Pointer, int)>(); @@ -14241,11 +14138,11 @@ final _objc_msgSend_243 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer> value, - ffi.Pointer key, - ffi.Pointer> error)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer, + ffi.Pointer>)>>() .asFunction< bool Function( ffi.Pointer, @@ -14259,10 +14156,10 @@ final _objc_msgSend_244 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer keys, - ffi.Pointer> error)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -14275,11 +14172,11 @@ final _objc_msgSend_245 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, - ffi.Pointer key, - ffi.Pointer> error)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>>() .asFunction< bool Function( ffi.Pointer, @@ -14293,10 +14190,10 @@ final _objc_msgSend_246 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer keyedValues, - ffi.Pointer> error)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>>() .asFunction< bool Function( ffi.Pointer, @@ -14309,9 +14206,9 @@ final _objc_msgSend_247 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer key)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -14337,12 +14234,12 @@ final _objc_msgSend_248 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Int32 options, - ffi.Pointer keys, - ffi.Pointer relativeURL, - ffi.Pointer> error)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -14366,13 +14263,13 @@ final _objc_msgSend_249 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer bookmarkData, - ffi.Int32 options, - ffi.Pointer relativeURL, - ffi.Pointer isStale, - ffi.Pointer> error)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -14391,10 +14288,10 @@ final _objc_msgSend_250 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer keys, - ffi.Pointer bookmarkData)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -14407,12 +14304,12 @@ final _objc_msgSend_251 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer bookmarkData, - ffi.Pointer bookmarkFileURL, - ffi.UnsignedLong options, - ffi.Pointer> error)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer>)>>() .asFunction< bool Function( ffi.Pointer, @@ -14427,10 +14324,10 @@ final _objc_msgSend_252 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer bookmarkFileURL, - ffi.Pointer> error)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -14443,11 +14340,11 @@ final _objc_msgSend_253 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, - ffi.Int32 options, - ffi.Pointer> error)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer>)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -14467,10 +14364,10 @@ final _objc_msgSend_254 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer keys, - ffi.Pointer> error)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -14483,9 +14380,9 @@ final _objc_msgSend_255 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer> error)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>>() .asFunction< bool Function( ffi.Pointer, @@ -14497,9 +14394,9 @@ final _objc_msgSend_256 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer components)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -14512,9 +14409,9 @@ final _objc_msgSend_257 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer pathComponent)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -14524,10 +14421,10 @@ final _objc_msgSend_258 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer pathComponent, - ffi.Bool isDirectory)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -14551,10 +14448,8 @@ late final _sel_resourceDataUsingCache_ = final _objc_msgSend_259 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Bool shouldUseCache)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Bool)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, bool)>(); @@ -14564,10 +14459,10 @@ final _objc_msgSend_260 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer client, - ffi.Bool shouldUseCache)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool)>>() .asFunction< void Function( ffi.Pointer, @@ -14581,10 +14476,10 @@ final _objc_msgSend_261 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer property, - ffi.Pointer propertyKey)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< bool Function( ffi.Pointer, @@ -14818,9 +14713,9 @@ final _objc_msgSend_262 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer anURL)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -14836,8 +14731,8 @@ late final _sel_status = objc.registerName("status"); final _objc_msgSend_263 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Int32 Function(ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Int32 Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< int Function( ffi.Pointer, ffi.Pointer)>(); @@ -14861,10 +14756,10 @@ final _objc_msgSend_264 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer newBytes, - ffi.Bool yorn)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool)>>() .asFunction< void Function( ffi.Pointer, @@ -14876,9 +14771,9 @@ final _objc_msgSend_265 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer anURL)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< bool Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -14887,9 +14782,9 @@ final _objc_msgSend_266 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer anURL)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -14898,10 +14793,10 @@ final _objc_msgSend_267 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer anURL, - ffi.Bool willCache)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -14922,10 +14817,8 @@ late final _sel_URLHandleUsingCache_ = final _objc_msgSend_268 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Bool shouldUseCache)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Bool)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, bool)>(); @@ -14951,11 +14844,11 @@ final _objc_msgSend_269 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, - ffi.Int32 writeOptionsMask, - ffi.Pointer> errorPtr)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer>)>>() .asFunction< bool Function( ffi.Pointer, @@ -14969,11 +14862,11 @@ final _objc_msgSend_270 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, - ffi.Int32 writeOptionsMask, - ffi.Pointer> errorPtr)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer>)>>() .asFunction< bool Function( ffi.Pointer, @@ -14993,11 +14886,11 @@ final _objc_msgSend_271 = objc.msgSendPointer .cast< ffi.NativeFunction< _NSRange Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer dataToFind, - ffi.Int32 mask, - _NSRange searchRange)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + _NSRange)>>() .asFunction< _NSRange Function( ffi.Pointer, @@ -15009,12 +14902,12 @@ final _objc_msgSend_271Stret = objc.msgSendStretPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer<_NSRange> stret, - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer dataToFind, - ffi.Int32 mask, - _NSRange searchRange)>>() + ffi.Pointer<_NSRange>, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + _NSRange)>>() .asFunction< void Function( ffi.Pointer<_NSRange>, @@ -15166,10 +15059,8 @@ late final _sel_enumerateByteRangesUsingBlock_ = final _objc_msgSend_272 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer block)>>() + ffi.Void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -15179,10 +15070,10 @@ final _objc_msgSend_273 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer bytes, - ffi.UnsignedLong length)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong)>>() .asFunction< instancetype Function(ffi.Pointer, ffi.Pointer, ffi.Pointer, int)>(); @@ -15194,11 +15085,11 @@ final _objc_msgSend_274 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer bytes, - ffi.UnsignedLong length, - ffi.Bool b)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Bool)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -15222,11 +15113,11 @@ final _objc_msgSend_275 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, - ffi.Int32 readOptionsMask, - ffi.Pointer> errorPtr)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer>)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -15240,11 +15131,11 @@ final _objc_msgSend_276 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, - ffi.Int32 readOptionsMask, - ffi.Pointer> errorPtr)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer>)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -15260,9 +15151,9 @@ final _objc_msgSend_277 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< instancetype Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -15394,11 +15285,11 @@ final _objc_msgSend_278 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer bytes, - ffi.UnsignedLong length, - ffi.Pointer deallocator)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -15415,9 +15306,9 @@ final _objc_msgSend_279 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer data)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< instancetype Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -15433,10 +15324,10 @@ final _objc_msgSend_280 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer base64String, - ffi.Int32 options)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -15456,10 +15347,8 @@ late final _sel_base64EncodedStringWithOptions_ = final _objc_msgSend_281 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Int32 options)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Int32)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -15469,10 +15358,10 @@ final _objc_msgSend_282 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer base64Data, - ffi.Int32 options)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -15484,10 +15373,8 @@ late final _sel_base64EncodedDataWithOptions_ = final _objc_msgSend_283 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Int32 options)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Int32)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -15505,10 +15392,10 @@ final _objc_msgSend_284 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Int32 algorithm, - ffi.Pointer> error)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer>)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -15530,9 +15417,9 @@ final _objc_msgSend_285 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer data)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -15540,9 +15427,8 @@ late final _sel_decodeDataObject = objc.registerName("decodeDataObject"); final _objc_msgSend_286 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -15552,11 +15438,11 @@ final _objc_msgSend_287 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer type, - ffi.Pointer data, - ffi.UnsignedLong size)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong)>>() .asFunction< void Function( ffi.Pointer, @@ -15570,9 +15456,9 @@ final _objc_msgSend_288 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Long Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer className)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< int Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -15581,9 +15467,9 @@ final _objc_msgSend_289 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer object)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -15597,10 +15483,8 @@ late final _sel_encodeValuesOfObjCTypes_ = final _objc_msgSend_290 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer types)>>() + ffi.Void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -15610,11 +15494,11 @@ final _objc_msgSend_291 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer type, - ffi.UnsignedLong count, - ffi.Pointer array)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -15630,9 +15514,9 @@ final _objc_msgSend_292 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer> error)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -15648,9 +15532,9 @@ final _objc_msgSend_293 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer lengthp)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -15660,10 +15544,8 @@ late final _sel_setObjectZone_ = objc.registerName("setObjectZone:"); final _objc_msgSend_294 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer<_NSZone> zone)>>() + ffi.Void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer<_NSZone>)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer<_NSZone>)>(); @@ -15671,8 +15553,8 @@ late final _sel_objectZone = objc.registerName("objectZone"); final _objc_msgSend_295 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer<_NSZone> Function(ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer<_NSZone> Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer<_NSZone> Function( ffi.Pointer, ffi.Pointer)>(); @@ -15687,10 +15569,10 @@ final _objc_msgSend_296 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Bool value, - ffi.Pointer key)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -15702,10 +15584,10 @@ final _objc_msgSend_297 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Int value, - ffi.Pointer key)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Int, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -15717,10 +15599,10 @@ final _objc_msgSend_298 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Int32 value, - ffi.Pointer key)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -15732,10 +15614,10 @@ final _objc_msgSend_299 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Int64 value, - ffi.Pointer key)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Int64, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -15747,10 +15629,10 @@ final _objc_msgSend_300 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Float value, - ffi.Pointer key)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Float, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -15763,10 +15645,10 @@ final _objc_msgSend_301 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Double value, - ffi.Pointer key)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Double, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -15779,11 +15661,11 @@ final _objc_msgSend_302 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer bytes, - ffi.UnsignedLong length, - ffi.Pointer key)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -15800,10 +15682,10 @@ final _objc_msgSend_303 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer key, - ffi.Pointer> error)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -15816,9 +15698,9 @@ final _objc_msgSend_304 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Int Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer key)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< int Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -15827,9 +15709,9 @@ final _objc_msgSend_305 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Int32 Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer key)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< int Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -15838,9 +15720,9 @@ final _objc_msgSend_306 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Int64 Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer key)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< int Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -15849,9 +15731,9 @@ final _objc_msgSend_307 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Float Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer key)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< double Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -15859,9 +15741,9 @@ final _objc_msgSend_307Fpret = objc.msgSendFpretPointer .cast< ffi.NativeFunction< ffi.Float Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer key)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< double Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -15870,9 +15752,9 @@ final _objc_msgSend_308 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Double Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer key)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< double Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -15880,9 +15762,9 @@ final _objc_msgSend_308Fpret = objc.msgSendFpretPointer .cast< ffi.NativeFunction< ffi.Double Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer key)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< double Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -15892,10 +15774,10 @@ final _objc_msgSend_309 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer key, - ffi.Pointer lengthp)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -15908,10 +15790,10 @@ final _objc_msgSend_310 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Long value, - ffi.Pointer key)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Long, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -15928,10 +15810,10 @@ final _objc_msgSend_311 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aClass, - ffi.Pointer key)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -15944,11 +15826,11 @@ final _objc_msgSend_312 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aClass, - ffi.Pointer key, - ffi.Pointer> error)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -15962,10 +15844,10 @@ final _objc_msgSend_313 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer cls, - ffi.Pointer key)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -15978,11 +15860,11 @@ final _objc_msgSend_314 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer keyCls, - ffi.Pointer objectCls, - ffi.Pointer key)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -15996,10 +15878,10 @@ final _objc_msgSend_315 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer classes, - ffi.Pointer key)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -16012,11 +15894,11 @@ final _objc_msgSend_316 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer classes, - ffi.Pointer key, - ffi.Pointer> error)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -16030,10 +15912,10 @@ final _objc_msgSend_317 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer classes, - ffi.Pointer key)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -16047,11 +15929,11 @@ final _objc_msgSend_318 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer keyClasses, - ffi.Pointer objectClasses, - ffi.Pointer key)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -16065,9 +15947,8 @@ late final _sel_allowedClasses = objc.registerName("allowedClasses"); final _objc_msgSend_319 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -16076,9 +15957,9 @@ final _objc_msgSend_320 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer error)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -16093,8 +15974,8 @@ late final _sel_decodingFailurePolicy = final _objc_msgSend_321 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Int32 Function(ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Int32 Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< int Function( ffi.Pointer, ffi.Pointer)>(); @@ -16102,9 +15983,8 @@ late final _sel_error = objc.registerName("error"); final _objc_msgSend_322 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -16116,8 +15996,8 @@ late final _sel_encodePoint_ = objc.registerName("encodePoint:"); final _objc_msgSend_323 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Void Function(ffi.Pointer obj, - ffi.Pointer sel, CGPoint point)>>() + ffi.Void Function(ffi.Pointer, + ffi.Pointer, CGPoint)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, CGPoint)>(); @@ -16126,8 +16006,8 @@ late final _sel_encodeSize_ = objc.registerName("encodeSize:"); final _objc_msgSend_324 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Void Function(ffi.Pointer obj, - ffi.Pointer sel, CGSize size)>>() + ffi.Void Function(ffi.Pointer, + ffi.Pointer, CGSize)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, CGSize)>(); @@ -16136,8 +16016,8 @@ late final _sel_encodeRect_ = objc.registerName("encodeRect:"); final _objc_msgSend_325 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Void Function(ffi.Pointer obj, - ffi.Pointer sel, CGRect rect)>>() + ffi.Void Function(ffi.Pointer, + ffi.Pointer, CGRect)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, CGRect)>(); @@ -16147,10 +16027,10 @@ final _objc_msgSend_326 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - CGPoint point, - ffi.Pointer key)>>() + ffi.Pointer, + ffi.Pointer, + CGPoint, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -16162,10 +16042,10 @@ final _objc_msgSend_327 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - CGSize size, - ffi.Pointer key)>>() + ffi.Pointer, + ffi.Pointer, + CGSize, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -16177,10 +16057,10 @@ final _objc_msgSend_328 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - CGRect rect, - ffi.Pointer key)>>() + ffi.Pointer, + ffi.Pointer, + CGRect, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -16192,9 +16072,9 @@ final _objc_msgSend_329 = objc.msgSendPointer .cast< ffi.NativeFunction< CGPoint Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer key)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< CGPoint Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -16202,10 +16082,10 @@ final _objc_msgSend_329Stret = objc.msgSendStretPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer stret, - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer key)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -16214,9 +16094,9 @@ final _objc_msgSend_330 = objc.msgSendPointer .cast< ffi.NativeFunction< CGSize Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer key)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< CGSize Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -16224,10 +16104,10 @@ final _objc_msgSend_330Stret = objc.msgSendStretPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer stret, - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer key)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -16236,9 +16116,9 @@ final _objc_msgSend_331 = objc.msgSendPointer .cast< ffi.NativeFunction< CGRect Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer key)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< CGRect Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -16246,10 +16126,10 @@ final _objc_msgSend_331Stret = objc.msgSendStretPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer stret, - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer key)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -16257,10 +16137,8 @@ late final _sel_substringFromIndex_ = objc.registerName("substringFromIndex:"); final _objc_msgSend_332 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.UnsignedLong from)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.UnsignedLong)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -16269,10 +16147,8 @@ late final _sel_substringWithRange_ = objc.registerName("substringWithRange:"); final _objc_msgSend_333 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - _NSRange range)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, _NSRange)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, _NSRange)>(); @@ -16282,10 +16158,10 @@ final _objc_msgSend_334 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer buffer, - _NSRange range)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange)>>() .asFunction< void Function( ffi.Pointer, @@ -16296,9 +16172,9 @@ final _objc_msgSend_335 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Int32 Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer string)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< int Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -16320,10 +16196,10 @@ final _objc_msgSend_336 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Int32 Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer string, - ffi.Int32 mask)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32)>>() .asFunction< int Function( ffi.Pointer, @@ -16336,11 +16212,11 @@ final _objc_msgSend_337 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Int32 Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer string, - ffi.Int32 mask, - _NSRange rangeOfReceiverToCompare)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + _NSRange)>>() .asFunction< int Function( ffi.Pointer, @@ -16354,12 +16230,12 @@ final _objc_msgSend_338 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Int32 Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer string, - ffi.Int32 mask, - _NSRange rangeOfReceiverToCompare, - ffi.Pointer locale)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + _NSRange, + ffi.Pointer)>>() .asFunction< int Function( ffi.Pointer, @@ -16384,10 +16260,10 @@ final _objc_msgSend_339 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer str, - ffi.Int32 mask)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -16405,9 +16281,9 @@ final _objc_msgSend_340 = objc.msgSendPointer .cast< ffi.NativeFunction< _NSRange Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer str)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< _NSRange Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -16415,10 +16291,10 @@ final _objc_msgSend_340Stret = objc.msgSendStretPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer<_NSRange> stret, - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer str)>>() + ffi.Pointer<_NSRange>, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer<_NSRange>, ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -16429,10 +16305,10 @@ final _objc_msgSend_341 = objc.msgSendPointer .cast< ffi.NativeFunction< _NSRange Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer searchString, - ffi.Int32 mask)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32)>>() .asFunction< _NSRange Function( ffi.Pointer, @@ -16443,11 +16319,11 @@ final _objc_msgSend_341Stret = objc.msgSendStretPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer<_NSRange> stret, - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer searchString, - ffi.Int32 mask)>>() + ffi.Pointer<_NSRange>, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32)>>() .asFunction< void Function( ffi.Pointer<_NSRange>, @@ -16461,11 +16337,11 @@ final _objc_msgSend_342 = objc.msgSendPointer .cast< ffi.NativeFunction< _NSRange Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer searchString, - ffi.Int32 mask, - _NSRange rangeOfReceiverToSearch)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + _NSRange)>>() .asFunction< _NSRange Function( ffi.Pointer, @@ -16477,12 +16353,12 @@ final _objc_msgSend_342Stret = objc.msgSendStretPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer<_NSRange> stret, - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer searchString, - ffi.Int32 mask, - _NSRange rangeOfReceiverToSearch)>>() + ffi.Pointer<_NSRange>, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + _NSRange)>>() .asFunction< void Function( ffi.Pointer<_NSRange>, @@ -16497,12 +16373,12 @@ final _objc_msgSend_343 = objc.msgSendPointer .cast< ffi.NativeFunction< _NSRange Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer searchString, - ffi.Int32 mask, - _NSRange rangeOfReceiverToSearch, - ffi.Pointer locale)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + _NSRange, + ffi.Pointer)>>() .asFunction< _NSRange Function( ffi.Pointer, @@ -16515,13 +16391,13 @@ final _objc_msgSend_343Stret = objc.msgSendStretPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer<_NSRange> stret, - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer searchString, - ffi.Int32 mask, - _NSRange rangeOfReceiverToSearch, - ffi.Pointer locale)>>() + ffi.Pointer<_NSRange>, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + _NSRange, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer<_NSRange>, @@ -16537,9 +16413,9 @@ final _objc_msgSend_344 = objc.msgSendPointer .cast< ffi.NativeFunction< _NSRange Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer searchSet)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< _NSRange Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -16547,10 +16423,10 @@ final _objc_msgSend_344Stret = objc.msgSendStretPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer<_NSRange> stret, - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer searchSet)>>() + ffi.Pointer<_NSRange>, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer<_NSRange>, ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -16560,10 +16436,10 @@ final _objc_msgSend_345 = objc.msgSendPointer .cast< ffi.NativeFunction< _NSRange Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer searchSet, - ffi.Int32 mask)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32)>>() .asFunction< _NSRange Function( ffi.Pointer, @@ -16574,11 +16450,11 @@ final _objc_msgSend_345Stret = objc.msgSendStretPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer<_NSRange> stret, - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer searchSet, - ffi.Int32 mask)>>() + ffi.Pointer<_NSRange>, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32)>>() .asFunction< void Function( ffi.Pointer<_NSRange>, @@ -16592,11 +16468,11 @@ final _objc_msgSend_346 = objc.msgSendPointer .cast< ffi.NativeFunction< _NSRange Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer searchSet, - ffi.Int32 mask, - _NSRange rangeOfReceiverToSearch)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + _NSRange)>>() .asFunction< _NSRange Function( ffi.Pointer, @@ -16608,12 +16484,12 @@ final _objc_msgSend_346Stret = objc.msgSendStretPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer<_NSRange> stret, - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer searchSet, - ffi.Int32 mask, - _NSRange rangeOfReceiverToSearch)>>() + ffi.Pointer<_NSRange>, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + _NSRange)>>() .asFunction< void Function( ffi.Pointer<_NSRange>, @@ -16627,8 +16503,8 @@ late final _sel_rangeOfComposedCharacterSequenceAtIndex_ = final _objc_msgSend_347 = objc.msgSendPointer .cast< ffi.NativeFunction< - _NSRange Function(ffi.Pointer obj, - ffi.Pointer sel, ffi.UnsignedLong index)>>() + _NSRange Function(ffi.Pointer, + ffi.Pointer, ffi.UnsignedLong)>>() .asFunction< _NSRange Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -16636,10 +16512,10 @@ final _objc_msgSend_347Stret = objc.msgSendStretPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer<_NSRange> stret, - ffi.Pointer obj, - ffi.Pointer sel, - ffi.UnsignedLong index)>>() + ffi.Pointer<_NSRange>, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong)>>() .asFunction< void Function(ffi.Pointer<_NSRange>, ffi.Pointer, ffi.Pointer, int)>(); @@ -16648,8 +16524,8 @@ late final _sel_rangeOfComposedCharacterSequencesForRange_ = final _objc_msgSend_348 = objc.msgSendPointer .cast< ffi.NativeFunction< - _NSRange Function(ffi.Pointer obj, - ffi.Pointer sel, _NSRange range)>>() + _NSRange Function(ffi.Pointer, + ffi.Pointer, _NSRange)>>() .asFunction< _NSRange Function(ffi.Pointer, ffi.Pointer, _NSRange)>(); @@ -16657,10 +16533,10 @@ final _objc_msgSend_348Stret = objc.msgSendStretPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer<_NSRange> stret, - ffi.Pointer obj, - ffi.Pointer sel, - _NSRange range)>>() + ffi.Pointer<_NSRange>, + ffi.Pointer, + ffi.Pointer, + _NSRange)>>() .asFunction< void Function(ffi.Pointer<_NSRange>, ffi.Pointer, ffi.Pointer, _NSRange)>(); @@ -16683,9 +16559,9 @@ final _objc_msgSend_349 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer locale)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -16699,12 +16575,12 @@ final _objc_msgSend_350 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer startPtr, - ffi.Pointer lineEndPtr, - ffi.Pointer contentsEndPtr, - _NSRange range)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange)>>() .asFunction< void Function( ffi.Pointer, @@ -16902,11 +16778,11 @@ final _objc_msgSend_351 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - _NSRange range, - ffi.Int32 opts, - ffi.Pointer block)>>() + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Int32, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -17052,10 +16928,8 @@ late final _sel_enumerateLinesUsingBlock_ = final _objc_msgSend_352 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer block)>>() + ffi.Void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -17067,11 +16941,8 @@ late final _sel_dataUsingEncoding_allowLossyConversion_ = final _objc_msgSend_353 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.UnsignedLong encoding, - ffi.Bool lossy)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.UnsignedLong, ffi.Bool)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, int, bool)>(); @@ -17079,10 +16950,8 @@ late final _sel_dataUsingEncoding_ = objc.registerName("dataUsingEncoding:"); final _objc_msgSend_354 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.UnsignedLong encoding)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.UnsignedLong)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -17096,11 +16965,11 @@ final _objc_msgSend_355 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer buffer, - ffi.UnsignedLong maxBufferCount, - ffi.UnsignedLong encoding)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.UnsignedLong)>>() .asFunction< bool Function(ffi.Pointer, ffi.Pointer, ffi.Pointer, int, int)>(); @@ -17117,15 +16986,15 @@ final _objc_msgSend_356 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer buffer, - ffi.UnsignedLong maxBufferCount, - ffi.Pointer usedBufferCount, - ffi.UnsignedLong encoding, - ffi.Int32 options, - _NSRange range, - ffi.Pointer<_NSRange> leftover)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Int32, + _NSRange, + ffi.Pointer<_NSRange>)>>() .asFunction< bool Function( ffi.Pointer, @@ -17146,9 +17015,8 @@ late final _sel_availableStringEncodings = final _objc_msgSend_357 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -17170,9 +17038,9 @@ final _objc_msgSend_358 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer separator)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -17182,9 +17050,9 @@ final _objc_msgSend_359 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer separator)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -17194,9 +17062,9 @@ final _objc_msgSend_360 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer set)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -17206,11 +17074,11 @@ final _objc_msgSend_361 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.UnsignedLong newLength, - ffi.Pointer padString, - ffi.UnsignedLong padIndex)>>() + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer, + ffi.UnsignedLong)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -17224,10 +17092,10 @@ final _objc_msgSend_362 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Int32 options, - ffi.Pointer locale)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -17241,12 +17109,12 @@ final _objc_msgSend_363 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer target, - ffi.Pointer replacement, - ffi.Int32 options, - _NSRange searchRange)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + _NSRange)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -17261,10 +17129,10 @@ final _objc_msgSend_364 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer target, - ffi.Pointer replacement)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -17277,10 +17145,10 @@ final _objc_msgSend_365 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - _NSRange range, - ffi.Pointer replacement)>>() + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -17293,10 +17161,10 @@ final _objc_msgSend_366 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer transform, - ffi.Bool reverse)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -17309,12 +17177,12 @@ final _objc_msgSend_367 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, - ffi.Bool useAuxiliaryFile, - ffi.UnsignedLong enc, - ffi.Pointer> error)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.UnsignedLong, + ffi.Pointer>)>>() .asFunction< bool Function( ffi.Pointer, @@ -17329,12 +17197,12 @@ final _objc_msgSend_368 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, - ffi.Bool useAuxiliaryFile, - ffi.UnsignedLong enc, - ffi.Pointer> error)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.UnsignedLong, + ffi.Pointer>)>>() .asFunction< bool Function( ffi.Pointer, @@ -17350,11 +17218,11 @@ final _objc_msgSend_369 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer characters, - ffi.UnsignedLong length, - ffi.Bool freeBuffer)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Bool)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -17498,11 +17366,11 @@ final _objc_msgSend_370 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer chars, - ffi.UnsignedLong len, - ffi.Pointer deallocator)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -17516,10 +17384,10 @@ final _objc_msgSend_371 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer characters, - ffi.UnsignedLong length)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -17530,10 +17398,8 @@ late final _sel_initWithUTF8String_ = objc.registerName("initWithUTF8String:"); final _objc_msgSend_372 = objc.msgSendPointer .cast< ffi.NativeFunction< - instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer nullTerminatedCString)>>() + instancetype Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>>() .asFunction< instancetype Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -17544,10 +17410,10 @@ final _objc_msgSend_373 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer format, - ffi.Pointer<__va_list_tag> argList)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<__va_list_tag>)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -17560,10 +17426,10 @@ final _objc_msgSend_374 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer format, - ffi.Pointer locale)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -17576,11 +17442,11 @@ final _objc_msgSend_375 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer format, - ffi.Pointer locale, - ffi.Pointer<__va_list_tag> argList)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<__va_list_tag>)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -17594,11 +17460,11 @@ final _objc_msgSend_376 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer format, - ffi.Pointer validFormatSpecifiers, - ffi.Pointer> error)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -17613,12 +17479,12 @@ final _objc_msgSend_377 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer format, - ffi.Pointer validFormatSpecifiers, - ffi.Pointer locale, - ffi.Pointer> error)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -17634,12 +17500,12 @@ final _objc_msgSend_378 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer format, - ffi.Pointer validFormatSpecifiers, - ffi.Pointer<__va_list_tag> argList, - ffi.Pointer> error)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<__va_list_tag>, + ffi.Pointer>)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -17655,13 +17521,13 @@ final _objc_msgSend_379 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer format, - ffi.Pointer validFormatSpecifiers, - ffi.Pointer locale, - ffi.Pointer<__va_list_tag> argList, - ffi.Pointer> error)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<__va_list_tag>, + ffi.Pointer>)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -17677,10 +17543,10 @@ final _objc_msgSend_380 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer data, - ffi.UnsignedLong encoding)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -17693,11 +17559,11 @@ final _objc_msgSend_381 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer bytes, - ffi.UnsignedLong len, - ffi.UnsignedLong encoding)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.UnsignedLong)>>() .asFunction< instancetype Function(ffi.Pointer, ffi.Pointer, ffi.Pointer, int, int)>(); @@ -17707,12 +17573,12 @@ final _objc_msgSend_382 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer bytes, - ffi.UnsignedLong len, - ffi.UnsignedLong encoding, - ffi.Bool freeBuffer)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.UnsignedLong, + ffi.Bool)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -17727,12 +17593,12 @@ final _objc_msgSend_383 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer bytes, - ffi.UnsignedLong len, - ffi.UnsignedLong encoding, - ffi.Pointer deallocator)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.UnsignedLong, + ffi.Pointer)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -17761,10 +17627,10 @@ final _objc_msgSend_384 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer nullTerminatedCString, - ffi.UnsignedLong encoding)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong)>>() .asFunction< instancetype Function(ffi.Pointer, ffi.Pointer, ffi.Pointer, int)>(); @@ -17776,11 +17642,11 @@ final _objc_msgSend_385 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, - ffi.UnsignedLong enc, - ffi.Pointer> error)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer>)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -17794,11 +17660,11 @@ final _objc_msgSend_386 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, - ffi.UnsignedLong enc, - ffi.Pointer> error)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer>)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -17816,11 +17682,11 @@ final _objc_msgSend_387 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, - ffi.Pointer enc, - ffi.Pointer> error)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -17834,11 +17700,11 @@ final _objc_msgSend_388 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, - ffi.Pointer enc, - ffi.Pointer> error)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -17857,12 +17723,12 @@ final _objc_msgSend_389 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.UnsignedLong Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer data, - ffi.Pointer opts, - ffi.Pointer> string, - ffi.Pointer usedLossyConversion)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer)>>() .asFunction< int Function( ffi.Pointer, @@ -17877,9 +17743,8 @@ late final _sel_propertyListFromStringsFileFormat = final _objc_msgSend_390 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -17893,10 +17758,10 @@ final _objc_msgSend_391 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer bytes, - ffi.UnsignedLong maxLength)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer, int)>(); @@ -17906,12 +17771,12 @@ final _objc_msgSend_392 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer bytes, - ffi.UnsignedLong maxLength, - _NSRange aRange, - ffi.Pointer<_NSRange> leftoverRange)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + _NSRange, + ffi.Pointer<_NSRange>)>>() .asFunction< void Function( ffi.Pointer, @@ -17930,11 +17795,11 @@ final _objc_msgSend_393 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer bytes, - ffi.UnsignedLong length, - ffi.Bool freeBuffer)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Bool)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -17953,9 +17818,9 @@ final _objc_msgSend_394 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer buffer)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -17964,10 +17829,8 @@ late final _sel_variantFittingPresentationWidth_ = final _objc_msgSend_395 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Long width)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Long)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -17976,9 +17839,9 @@ final _objc_msgSend_396 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer components)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -18008,12 +17871,12 @@ final _objc_msgSend_397 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.UnsignedLong Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer> outputName, - ffi.Bool flag, - ffi.Pointer> outputArray, - ffi.Pointer filterTypes)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Bool, + ffi.Pointer>, + ffi.Pointer)>>() .asFunction< int Function( ffi.Pointer, @@ -18028,9 +17891,9 @@ final _objc_msgSend_398 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer allowedCharacters)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -18041,10 +17904,8 @@ late final _sel_stringByAddingPercentEscapesUsingEncoding_ = final _objc_msgSend_399 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.UnsignedLong enc)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.UnsignedLong)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -18243,10 +18104,10 @@ final _objc_msgSend_400 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer script, - ffi.Pointer map)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -18270,13 +18131,13 @@ final _objc_msgSend_401 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - _NSRange range, - ffi.Pointer scheme, - ffi.Int32 options, - ffi.Pointer orthography, - ffi.Pointer> tokenRanges)>>() + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ffi.Pointer>)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -18293,13 +18154,13 @@ final _objc_msgSend_402 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - _NSRange range, - ffi.Pointer scheme, - ffi.Int32 options, - ffi.Pointer orthography, - ffi.Pointer block)>>() + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -18315,9 +18176,9 @@ final _objc_msgSend_403 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer otherSet)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< bool Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -18328,9 +18189,9 @@ final _objc_msgSend_404 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer anObject)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -18340,9 +18201,9 @@ final _objc_msgSend_405 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer other)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -18352,9 +18213,9 @@ final _objc_msgSend_406 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer other)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -18493,10 +18354,8 @@ class ObjCBlock_ffiVoid_objcObjCObject_bool extends objc.ObjCBlockBase { final _objc_msgSend_407 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer block)>>() + ffi.Void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -18504,10 +18363,10 @@ final _objc_msgSend_408 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Int32 opts, - ffi.Pointer block)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -18618,10 +18477,8 @@ late final _sel_objectsPassingTest_ = objc.registerName("objectsPassingTest:"); final _objc_msgSend_409 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer predicate)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -18631,10 +18488,10 @@ final _objc_msgSend_410 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Int32 opts, - ffi.Pointer predicate)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -18651,9 +18508,9 @@ final _objc_msgSend_411 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer set)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< instancetype Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -18665,10 +18522,10 @@ final _objc_msgSend_412 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer set, - ffi.Bool flag)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -18681,9 +18538,9 @@ final _objc_msgSend_413 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer predicate)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -18693,9 +18550,9 @@ final _objc_msgSend_414 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer sig)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -18703,9 +18560,8 @@ late final _sel_methodSignature = objc.registerName("methodSignature"); final _objc_msgSend_415 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -18717,9 +18573,9 @@ final _objc_msgSend_416 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -18728,8 +18584,8 @@ final _objc_msgSend_417 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -18738,9 +18594,9 @@ final _objc_msgSend_418 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -18752,10 +18608,10 @@ final _objc_msgSend_419 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer argumentLocation, - ffi.Long idx)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Long)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer, int)>(); @@ -18768,9 +18624,9 @@ final _objc_msgSend_420 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer> imp)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>>() .asFunction< void Function( ffi.Pointer, @@ -18781,9 +18637,9 @@ final _objc_msgSend_421 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer anInvocation)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -18793,9 +18649,9 @@ final _objc_msgSend_422 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aSelector)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -18815,8 +18671,8 @@ late final _sel_setVersion_ = objc.registerName("setVersion:"); final _objc_msgSend_423 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Void Function(ffi.Pointer obj, - ffi.Pointer sel, ffi.Long aVersion)>>() + ffi.Void Function(ffi.Pointer, + ffi.Pointer, ffi.Long)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -18835,13 +18691,13 @@ final _objc_msgSend_424 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer error, - ffi.UnsignedLong recoveryOptionIndex, - ffi.Pointer delegate, - ffi.Pointer didRecoverSelector, - ffi.Pointer contextInfo)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -18857,10 +18713,10 @@ final _objc_msgSend_425 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer error, - ffi.UnsignedLong recoveryOptionIndex)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong)>>() .asFunction< bool Function( ffi.Pointer, @@ -18873,12 +18729,12 @@ final _objc_msgSend_426 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aSelector, - ffi.Pointer anArgument, - ffi.Double delay, - ffi.Pointer modes)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Double, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -18893,11 +18749,11 @@ final _objc_msgSend_427 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aSelector, - ffi.Pointer anArgument, - ffi.Double delay)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Double)>>() .asFunction< void Function( ffi.Pointer, @@ -18911,10 +18767,10 @@ final _objc_msgSend_428 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer sender, - ffi.Pointer newBytes)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -18927,9 +18783,9 @@ final _objc_msgSend_429 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer sender)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -18941,10 +18797,10 @@ final _objc_msgSend_430 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer sender, - ffi.Pointer reason)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -19652,9 +19508,8 @@ late final _sel_defaultManager = objc.registerName("defaultManager"); final _objc_msgSend_431 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -19670,10 +19525,10 @@ final _objc_msgSend_432 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer propertyKeys, - ffi.Int32 options)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -19802,11 +19657,11 @@ final _objc_msgSend_433 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, - ffi.Int32 mask, - ffi.Pointer completionHandler)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -19830,12 +19685,12 @@ final _objc_msgSend_434 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, - ffi.Pointer keys, - ffi.Int32 mask, - ffi.Pointer> error)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer>)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -19888,11 +19743,8 @@ late final _sel_URLsForDirectory_inDomains_ = final _objc_msgSend_435 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Int32 directory, - ffi.Int32 domainMask)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Int32, ffi.Int32)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, int, int)>(); @@ -19902,13 +19754,13 @@ final _objc_msgSend_436 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Int32 directory, - ffi.Int32 domain, - ffi.Pointer url, - ffi.Bool shouldCreate, - ffi.Pointer> error)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Int32, + ffi.Pointer, + ffi.Bool, + ffi.Pointer>)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -19931,12 +19783,12 @@ final _objc_msgSend_437 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer outRelationship, - ffi.Pointer directoryURL, - ffi.Pointer otherURL, - ffi.Pointer> error)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>>() .asFunction< bool Function( ffi.Pointer, @@ -19951,13 +19803,13 @@ final _objc_msgSend_438 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer outRelationship, - ffi.Int32 directory, - ffi.Int32 domainMask, - ffi.Pointer url, - ffi.Pointer> error)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Int32, + ffi.Pointer, + ffi.Pointer>)>>() .asFunction< bool Function( ffi.Pointer, @@ -19974,12 +19826,12 @@ final _objc_msgSend_439 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, - ffi.Bool createIntermediates, - ffi.Pointer attributes, - ffi.Pointer> error)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.Pointer, + ffi.Pointer>)>>() .asFunction< bool Function( ffi.Pointer, @@ -19994,11 +19846,11 @@ final _objc_msgSend_440 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, - ffi.Pointer destURL, - ffi.Pointer> error)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>>() .asFunction< bool Function( ffi.Pointer, @@ -20014,11 +19866,11 @@ final _objc_msgSend_441 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer attributes, - ffi.Pointer path, - ffi.Pointer> error)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>>() .asFunction< bool Function( ffi.Pointer, @@ -20033,12 +19885,12 @@ final _objc_msgSend_442 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, - ffi.Bool createIntermediates, - ffi.Pointer attributes, - ffi.Pointer> error)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.Pointer, + ffi.Pointer>)>>() .asFunction< bool Function( ffi.Pointer, @@ -20053,10 +19905,10 @@ final _objc_msgSend_443 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, - ffi.Pointer> error)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -20071,10 +19923,10 @@ final _objc_msgSend_444 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, - ffi.Pointer> error)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -20089,11 +19941,11 @@ final _objc_msgSend_445 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, - ffi.Pointer destPath, - ffi.Pointer> error)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>>() .asFunction< bool Function( ffi.Pointer, @@ -20107,10 +19959,10 @@ final _objc_msgSend_446 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, - ffi.Pointer> error)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -20129,10 +19981,10 @@ final _objc_msgSend_447 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, - ffi.Pointer> error)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>>() .asFunction< bool Function( ffi.Pointer, @@ -20153,11 +20005,11 @@ final _objc_msgSend_448 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, - ffi.Pointer> outResultingURL, - ffi.Pointer> error)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer>)>>() .asFunction< bool Function( ffi.Pointer, @@ -20171,10 +20023,10 @@ final _objc_msgSend_449 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, - ffi.Bool yorn)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -20187,10 +20039,10 @@ final _objc_msgSend_450 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer attributes, - ffi.Pointer path)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< bool Function( ffi.Pointer, @@ -20209,10 +20061,10 @@ final _objc_msgSend_451 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, - ffi.Pointer otherpath)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< bool Function( ffi.Pointer, @@ -20225,10 +20077,10 @@ final _objc_msgSend_452 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, - ffi.Pointer attributes)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< bool Function( ffi.Pointer, @@ -20241,11 +20093,11 @@ final _objc_msgSend_453 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer src, - ffi.Pointer dest, - ffi.Pointer handler)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< bool Function( ffi.Pointer, @@ -20263,10 +20115,10 @@ final _objc_msgSend_454 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, - ffi.Pointer handler)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< bool Function( ffi.Pointer, @@ -20284,10 +20136,10 @@ final _objc_msgSend_455 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, - ffi.Pointer isDirectory)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< bool Function( ffi.Pointer, @@ -20414,12 +20266,12 @@ final _objc_msgSend_456 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, - ffi.Pointer keys, - ffi.Int32 mask, - ffi.Pointer handler)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -20434,9 +20286,9 @@ final _objc_msgSend_457 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -20446,11 +20298,11 @@ final _objc_msgSend_458 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, - ffi.Pointer data, - ffi.Pointer attr)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< bool Function( ffi.Pointer, @@ -20464,9 +20316,9 @@ final _objc_msgSend_459 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -20476,10 +20328,10 @@ final _objc_msgSend_460 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer str, - ffi.UnsignedLong len)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer, int)>(); @@ -20496,14 +20348,14 @@ final _objc_msgSend_461 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer originalItemURL, - ffi.Pointer newItemURL, - ffi.Pointer backupItemName, - ffi.Int32 options, - ffi.Pointer> resultingURL, - ffi.Pointer> error)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer>, + ffi.Pointer>)>>() .asFunction< bool Function( ffi.Pointer, @@ -20520,12 +20372,12 @@ final _objc_msgSend_462 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Bool flag, - ffi.Pointer url, - ffi.Pointer destinationURL, - ffi.Pointer> error)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>>() .asFunction< bool Function( ffi.Pointer, @@ -20546,9 +20398,9 @@ final _objc_msgSend_463 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer containerIdentifier)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -20558,11 +20410,11 @@ final _objc_msgSend_464 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, - ffi.Pointer> outDate, - ffi.Pointer> error)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer>)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -20714,10 +20566,10 @@ final _objc_msgSend_465 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, - ffi.Pointer completionHandler)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -20731,9 +20583,8 @@ late final _sel_homeDirectoryForCurrentUser = final _objc_msgSend_466 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -20746,10 +20597,10 @@ final _objc_msgSend_467 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer fm, - ffi.Pointer errorInfo)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< bool Function( ffi.Pointer, @@ -20762,10 +20613,10 @@ final _objc_msgSend_468 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer fm, - ffi.Pointer path)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -21161,10 +21012,10 @@ final _objc_msgSend_469 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer anObject, - ffi.UnsignedLong index)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong)>>() .asFunction< void Function( ffi.Pointer, @@ -21177,8 +21028,8 @@ late final _sel_removeObjectAtIndex_ = final _objc_msgSend_470 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Void Function(ffi.Pointer obj, - ffi.Pointer sel, ffi.UnsignedLong index)>>() + ffi.Void Function(ffi.Pointer, + ffi.Pointer, ffi.UnsignedLong)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -21188,10 +21039,10 @@ final _objc_msgSend_471 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.UnsignedLong index, - ffi.Pointer anObject)>>() + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -21205,9 +21056,9 @@ final _objc_msgSend_472 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer otherArray)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -21217,10 +21068,10 @@ final _objc_msgSend_473 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.UnsignedLong idx1, - ffi.UnsignedLong idx2)>>() + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.UnsignedLong)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, int, int)>(); @@ -21231,10 +21082,10 @@ final _objc_msgSend_474 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer anObject, - _NSRange range)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange)>>() .asFunction< void Function( ffi.Pointer, @@ -21252,10 +21103,10 @@ final _objc_msgSend_475 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer indices, - ffi.UnsignedLong cnt)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong)>>() .asFunction< void Function( ffi.Pointer, @@ -21269,8 +21120,8 @@ late final _sel_removeObjectsInRange_ = final _objc_msgSend_476 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Void Function(ffi.Pointer obj, - ffi.Pointer sel, _NSRange range)>>() + ffi.Void Function(ffi.Pointer, + ffi.Pointer, _NSRange)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, _NSRange)>(); @@ -21280,11 +21131,11 @@ final _objc_msgSend_477 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - _NSRange range, - ffi.Pointer otherArray, - _NSRange otherRange)>>() + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + _NSRange)>>() .asFunction< void Function( ffi.Pointer, @@ -21298,10 +21149,10 @@ final _objc_msgSend_478 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - _NSRange range, - ffi.Pointer otherArray)>>() + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -21315,16 +21166,15 @@ final _objc_msgSend_479 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer, + ffi.Pointer, ffi.Pointer< - ffi.NativeFunction< - ffi.Long Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>> - compare, - ffi.Pointer context)>>() + ffi.NativeFunction< + ffi.Long Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -21341,10 +21191,10 @@ final _objc_msgSend_480 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer objects, - ffi.Pointer indexes)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -21357,9 +21207,9 @@ final _objc_msgSend_481 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer indexes)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -21369,10 +21219,10 @@ final _objc_msgSend_482 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer indexes, - ffi.Pointer objects)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -21386,10 +21236,8 @@ late final _sel_sortUsingComparator_ = final _objc_msgSend_483 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer cmptr)>>() + ffi.Void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -21399,10 +21247,10 @@ final _objc_msgSend_484 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Int32 opts, - ffi.Pointer cmptr)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -21414,9 +21262,9 @@ final _objc_msgSend_485 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -21424,9 +21272,9 @@ final _objc_msgSend_486 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -21439,9 +21287,9 @@ final _objc_msgSend_487 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer predicate)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -21451,9 +21299,9 @@ final _objc_msgSend_488 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer key)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -22418,9 +22266,9 @@ final _objc_msgSend_489 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer other)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< bool Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -22432,18 +22280,16 @@ late final _sel_reversedOrderedSet = objc.registerName("reversedOrderedSet"); final _objc_msgSend_490 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); final _objc_msgSend_491 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -22460,9 +22306,9 @@ final _objc_msgSend_492 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer set)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< instancetype Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -22472,11 +22318,11 @@ final _objc_msgSend_493 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer set, - _NSRange range, - ffi.Bool flag)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Bool)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -22492,11 +22338,11 @@ final _objc_msgSend_494 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer array, - _NSRange range, - ffi.Bool flag)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Bool)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -22515,10 +22361,10 @@ final _objc_msgSend_495 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer set, - ffi.Bool flag)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -22536,11 +22382,11 @@ final _objc_msgSend_496 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer other, - ffi.Int32 options, - ffi.Pointer block)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -22554,10 +22400,10 @@ final _objc_msgSend_497 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer other, - ffi.Int32 options)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -22572,9 +22418,9 @@ final _objc_msgSend_498 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer difference)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -22584,9 +22430,9 @@ final _objc_msgSend_499 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer p)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -22595,10 +22441,10 @@ final _objc_msgSend_500 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer> objects, - ffi.UnsignedLong count)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.UnsignedLong)>>() .asFunction< void Function( ffi.Pointer, @@ -22611,10 +22457,10 @@ final _objc_msgSend_501 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer indexes, - ffi.UnsignedLong idx)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong)>>() .asFunction< void Function( ffi.Pointer, @@ -22628,11 +22474,11 @@ final _objc_msgSend_502 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - _NSRange range, - ffi.Pointer> objects, - ffi.UnsignedLong count)>>() + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer>, + ffi.UnsignedLong)>>() .asFunction< void Function( ffi.Pointer, @@ -22646,9 +22492,9 @@ final _objc_msgSend_503 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer other)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -22659,9 +22505,9 @@ final _objc_msgSend_504 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer other)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -22673,11 +22519,11 @@ final _objc_msgSend_505 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - _NSRange range, - ffi.Int32 opts, - ffi.Pointer cmptr)>>() + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Int32, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -22693,9 +22539,9 @@ final _objc_msgSend_506 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer key)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -22942,9 +22788,9 @@ final _objc_msgSend_507 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer key)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -22970,9 +22816,9 @@ final _objc_msgSend_508 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer keys)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -22982,9 +22828,9 @@ final _objc_msgSend_509 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer keyedValues)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -23009,12 +22855,12 @@ final _objc_msgSend_510 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer keyPath, - ffi.Pointer object, - ffi.Pointer change, - ffi.Pointer context)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -23041,11 +22887,11 @@ final _objc_msgSend_511 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Int32 changeKind, - ffi.Pointer indexes, - ffi.Pointer key)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -23069,11 +22915,11 @@ final _objc_msgSend_512 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer key, - ffi.Int32 mutationKind, - ffi.Pointer objects)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -23088,10 +22934,8 @@ late final _sel_setObservationInfo_ = objc.registerName("setObservationInfo:"); final _objc_msgSend_513 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value)>>() + ffi.Void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -23351,10 +23195,8 @@ late final _sel_initRequiringSecureCoding_ = final _objc_msgSend_514 = objc.msgSendPointer .cast< ffi.NativeFunction< - instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Bool requiresSecureCoding)>>() + instancetype Function(ffi.Pointer, + ffi.Pointer, ffi.Bool)>>() .asFunction< instancetype Function(ffi.Pointer, ffi.Pointer, bool)>(); @@ -23364,11 +23206,11 @@ final _objc_msgSend_515 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer object, - ffi.Bool requiresSecureCoding, - ffi.Pointer> error)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.Pointer>)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -23789,8 +23631,8 @@ late final _sel_setLength_ = objc.registerName("setLength:"); final _objc_msgSend_516 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Void Function(ffi.Pointer obj, - ffi.Pointer sel, ffi.UnsignedLong value)>>() + ffi.Void Function(ffi.Pointer, + ffi.Pointer, ffi.UnsignedLong)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -23803,10 +23645,10 @@ final _objc_msgSend_517 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - _NSRange range, - ffi.Pointer bytes)>>() + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, _NSRange, ffi.Pointer)>(); @@ -23818,11 +23660,11 @@ final _objc_msgSend_518 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - _NSRange range, - ffi.Pointer replacementBytes, - ffi.UnsignedLong replacementLength)>>() + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + ffi.UnsignedLong)>>() .asFunction< void Function( ffi.Pointer, @@ -23834,10 +23676,8 @@ late final _sel_dataWithCapacity_ = objc.registerName("dataWithCapacity:"); final _objc_msgSend_519 = objc.msgSendPointer .cast< ffi.NativeFunction< - instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.UnsignedLong aNumItems)>>() + instancetype Function(ffi.Pointer, + ffi.Pointer, ffi.UnsignedLong)>>() .asFunction< instancetype Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -23849,10 +23689,10 @@ final _objc_msgSend_520 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Int32 algorithm, - ffi.Pointer> error)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer>)>>() .asFunction< bool Function( ffi.Pointer, @@ -23867,9 +23707,9 @@ final _objc_msgSend_521 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer data)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< instancetype Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -23879,9 +23719,9 @@ final _objc_msgSend_522 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer rootObject)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -23898,8 +23738,8 @@ late final _sel_outputFormat = objc.registerName("outputFormat"); final _objc_msgSend_523 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Int32 Function(ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Int32 Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< int Function( ffi.Pointer, ffi.Pointer)>(); @@ -23907,8 +23747,8 @@ late final _sel_setOutputFormat_ = objc.registerName("setOutputFormat:"); final _objc_msgSend_524 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Void Function(ffi.Pointer obj, - ffi.Pointer sel, ffi.Int32 value)>>() + ffi.Void Function(ffi.Pointer, + ffi.Pointer, ffi.Int32)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -23920,10 +23760,10 @@ final _objc_msgSend_525 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer codedName, - ffi.Pointer cls)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -23935,9 +23775,9 @@ final _objc_msgSend_526 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer cls)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -23946,8 +23786,8 @@ late final _sel_setRequiresSecureCoding_ = final _objc_msgSend_527 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Void Function(ffi.Pointer obj, - ffi.Pointer sel, ffi.Bool value)>>() + ffi.Void Function(ffi.Pointer, + ffi.Pointer, ffi.Bool)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, bool)>(); @@ -23957,9 +23797,9 @@ final _objc_msgSend_528 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer archiver)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -23970,12 +23810,12 @@ final _objc_msgSend_529 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aSelector, - ffi.Pointer arg, - ffi.Bool wait, - ffi.Pointer array)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -23990,11 +23830,11 @@ final _objc_msgSend_530 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aSelector, - ffi.Pointer arg, - ffi.Bool wait)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool)>>() .asFunction< void Function( ffi.Pointer, @@ -24250,9 +24090,8 @@ late final _sel_currentThread = objc.registerName("currentThread"); final _objc_msgSend_531 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -24351,10 +24190,8 @@ late final _sel_detachNewThreadWithBlock_ = final _objc_msgSend_532 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer block)>>() + ffi.Void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -24364,11 +24201,11 @@ final _objc_msgSend_533 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer selector, - ffi.Pointer target, - ffi.Pointer argument)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -24680,10 +24517,10 @@ final _objc_msgSend_534 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer anObject, - ffi.Pointer aKey)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -24701,10 +24538,10 @@ final _objc_msgSend_535 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer obj, - ffi.Pointer key)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -24717,9 +24554,9 @@ final _objc_msgSend_536 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -24727,9 +24564,9 @@ final _objc_msgSend_537 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -24739,9 +24576,9 @@ final _objc_msgSend_538 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer keyset)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -24749,9 +24586,8 @@ late final _sel_threadDictionary = objc.registerName("threadDictionary"); final _objc_msgSend_539 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -24760,9 +24596,9 @@ final _objc_msgSend_540 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer date)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -24771,8 +24607,8 @@ late final _sel_sleepForTimeInterval_ = final _objc_msgSend_541 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Void Function(ffi.Pointer obj, - ffi.Pointer sel, ffi.Double ti)>>() + ffi.Void Function(ffi.Pointer, + ffi.Pointer, ffi.Double)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, double)>(); @@ -24782,8 +24618,8 @@ late final _sel_setThreadPriority_ = objc.registerName("setThreadPriority:"); final _objc_msgSend_542 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Void Function(ffi.Pointer obj, - ffi.Pointer sel, ffi.Double value)>>() + ffi.Void Function(ffi.Pointer, + ffi.Pointer, ffi.Double)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, double)>(); @@ -24800,8 +24636,8 @@ late final _sel_qualityOfService = objc.registerName("qualityOfService"); final _objc_msgSend_543 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Int32 Function(ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Int32 Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< int Function( ffi.Pointer, ffi.Pointer)>(); @@ -24810,8 +24646,8 @@ late final _sel_setQualityOfService_ = final _objc_msgSend_544 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Void Function(ffi.Pointer obj, - ffi.Pointer sel, ffi.Int32 value)>>() + ffi.Void Function(ffi.Pointer, + ffi.Pointer, ffi.Int32)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -24823,9 +24659,9 @@ final _objc_msgSend_545 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -24839,11 +24675,11 @@ final _objc_msgSend_546 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer target, - ffi.Pointer selector, - ffi.Pointer argument)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -24855,10 +24691,8 @@ late final _sel_initWithBlock_ = objc.registerName("initWithBlock:"); final _objc_msgSend_547 = objc.msgSendPointer .cast< ffi.NativeFunction< - instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer block)>>() + instancetype Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>>() .asFunction< instancetype Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -24874,13 +24708,13 @@ final _objc_msgSend_548 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aSelector, - ffi.Pointer thr, - ffi.Pointer arg, - ffi.Bool wait, - ffi.Pointer array)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -24896,12 +24730,12 @@ final _objc_msgSend_549 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aSelector, - ffi.Pointer thr, - ffi.Pointer arg, - ffi.Bool wait)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool)>>() .asFunction< void Function( ffi.Pointer, @@ -25072,9 +24906,8 @@ late final _sel_archiverData = objc.registerName("archiverData"); final _objc_msgSend_550 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -25084,10 +24917,10 @@ final _objc_msgSend_551 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer trueName, - ffi.Pointer inArchiveName)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -25104,9 +24937,9 @@ final _objc_msgSend_552 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer archiver)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -25455,9 +25288,8 @@ late final _class_NSPort = objc.getClass("NSPort"); final _objc_msgSend_553 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -25674,9 +25506,8 @@ late final _sel_currentRunLoop = objc.registerName("currentRunLoop"); final _objc_msgSend_554 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -25689,8 +25520,8 @@ late final _sel_getCFRunLoop = objc.registerName("getCFRunLoop"); final _objc_msgSend_555 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer<__CFRunLoop> Function(ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer<__CFRunLoop> Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer<__CFRunLoop> Function( ffi.Pointer, ffi.Pointer)>(); @@ -25956,11 +25787,11 @@ final _objc_msgSend_556 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Double ti, - ffi.Pointer invocation, - ffi.Bool yesOrNo)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Double, + ffi.Pointer, + ffi.Bool)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -25976,13 +25807,13 @@ final _objc_msgSend_557 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Double ti, - ffi.Pointer aTarget, - ffi.Pointer aSelector, - ffi.Pointer userInfo, - ffi.Bool yesOrNo)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Double, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -26108,11 +25939,11 @@ final _objc_msgSend_558 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Double interval, - ffi.Bool repeats, - ffi.Pointer block)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Double, + ffi.Bool, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -26128,12 +25959,12 @@ final _objc_msgSend_559 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer date, - ffi.Double interval, - ffi.Bool repeats, - ffi.Pointer block)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Double, + ffi.Bool, + ffi.Pointer)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -26149,14 +25980,14 @@ final _objc_msgSend_560 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer date, - ffi.Double ti, - ffi.Pointer t, - ffi.Pointer s, - ffi.Pointer ui, - ffi.Bool rep)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Double, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -26174,9 +26005,9 @@ final _objc_msgSend_561 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -26188,10 +26019,10 @@ final _objc_msgSend_562 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer timer, - ffi.Pointer mode)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -26203,10 +26034,10 @@ final _objc_msgSend_563 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aPort, - ffi.Pointer mode)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -26219,9 +26050,9 @@ final _objc_msgSend_564 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer mode)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -26231,10 +26062,10 @@ final _objc_msgSend_565 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer mode, - ffi.Pointer limitDate)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -26248,10 +26079,10 @@ final _objc_msgSend_566 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer mode, - ffi.Pointer limitDate)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< bool Function( ffi.Pointer, @@ -26265,10 +26096,10 @@ final _objc_msgSend_567 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer modes, - ffi.Pointer block)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -26282,13 +26113,13 @@ final _objc_msgSend_568 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aSelector, - ffi.Pointer target, - ffi.Pointer arg, - ffi.UnsignedLong order, - ffi.Pointer modes)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -26308,10 +26139,10 @@ final _objc_msgSend_569 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer runLoop, - ffi.Pointer mode)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -26327,12 +26158,12 @@ final _objc_msgSend_570 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer limitDate, - ffi.Pointer components, - ffi.Pointer receivePort, - ffi.UnsignedLong headerSpaceReserved)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong)>>() .asFunction< bool Function( ffi.Pointer, @@ -26347,13 +26178,13 @@ final _objc_msgSend_571 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer limitDate, - ffi.UnsignedLong msgID, - ffi.Pointer components, - ffi.Pointer receivePort, - ffi.UnsignedLong headerSpaceReserved)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong)>>() .asFunction< bool Function( ffi.Pointer, @@ -26728,9 +26559,8 @@ late final _sel_defaultConnection = objc.registerName("defaultConnection"); final _objc_msgSend_572 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -26740,10 +26570,10 @@ final _objc_msgSend_573 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer name, - ffi.Pointer hostName)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -26892,9 +26722,8 @@ late final _sel_systemDefaultPortNameServer = final _objc_msgSend_574 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -26903,9 +26732,9 @@ final _objc_msgSend_575 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer name)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -26914,10 +26743,10 @@ final _objc_msgSend_576 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer name, - ffi.Pointer host)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -26929,10 +26758,10 @@ final _objc_msgSend_577 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer port, - ffi.Pointer name)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< bool Function( ffi.Pointer, @@ -26946,11 +26775,11 @@ final _objc_msgSend_578 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer name, - ffi.Pointer hostName, - ffi.Pointer server)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -27130,9 +26959,9 @@ final _objc_msgSend_579 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer sel)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -27143,10 +26972,10 @@ final _objc_msgSend_580 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer target, - ffi.Pointer connection)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -27161,10 +26990,10 @@ final _objc_msgSend_581 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer target, - ffi.Pointer connection)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -27179,9 +27008,9 @@ final _objc_msgSend_582 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer proto)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -27192,10 +27021,10 @@ final _objc_msgSend_583 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer name, - ffi.Pointer hostName)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -27209,11 +27038,11 @@ final _objc_msgSend_584 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer name, - ffi.Pointer hostName, - ffi.Pointer server)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -27227,11 +27056,11 @@ final _objc_msgSend_585 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer name, - ffi.Pointer root, - ffi.Pointer server)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -27245,10 +27074,10 @@ final _objc_msgSend_586 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer name, - ffi.Pointer root)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -27269,9 +27098,8 @@ late final _sel_rootProxy = objc.registerName("rootProxy"); final _objc_msgSend_587 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -27283,9 +27111,9 @@ final _objc_msgSend_588 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer name)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< bool Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -27295,10 +27123,10 @@ final _objc_msgSend_589 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer name, - ffi.Pointer server)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< bool Function( ffi.Pointer, @@ -27311,10 +27139,10 @@ final _objc_msgSend_590 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer receivePort, - ffi.Pointer sendPort)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -27335,9 +27163,9 @@ final _objc_msgSend_591 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer runloop)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -27353,11 +27181,11 @@ final _objc_msgSend_592 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer conn, - ffi.Pointer runLoop, - ffi.Pointer mode)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -27372,9 +27200,9 @@ final _objc_msgSend_593 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aport)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -27382,9 +27210,8 @@ late final _sel_decodePortObject = objc.registerName("decodePortObject"); final _objc_msgSend_594 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -27392,9 +27219,8 @@ late final _sel_connection = objc.registerName("connection"); final _objc_msgSend_595 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -27404,11 +27230,11 @@ final _objc_msgSend_596 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer rcvPort, - ffi.Pointer sndPort, - ffi.Pointer comps)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -27425,9 +27251,9 @@ final _objc_msgSend_597 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer coder)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -27591,10 +27417,10 @@ final _objc_msgSend_598 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer description, - ffi.Pointer aClass)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -27609,9 +27435,9 @@ final _objc_msgSend_599 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aClass)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -27626,9 +27452,8 @@ late final _sel_classDescription = objc.registerName("classDescription"); final _objc_msgSend_600 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -28388,9 +28213,8 @@ late final _sel_nullDescriptor = objc.registerName("nullDescriptor"); final _objc_msgSend_601 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -28400,11 +28224,11 @@ final _objc_msgSend_602 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.UnsignedInt descriptorType, - ffi.Pointer bytes, - ffi.UnsignedLong byteCount)>>() + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedInt, + ffi.Pointer, + ffi.UnsignedLong)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, int, ffi.Pointer, int)>(); @@ -28414,10 +28238,10 @@ final _objc_msgSend_603 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.UnsignedInt descriptorType, - ffi.Pointer data)>>() + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedInt, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -28429,10 +28253,8 @@ late final _sel_descriptorWithBoolean_ = final _objc_msgSend_604 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.UnsignedChar boolean)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.UnsignedChar)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -28441,10 +28263,8 @@ late final _sel_descriptorWithEnumCode_ = final _objc_msgSend_605 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.UnsignedInt enumerator)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.UnsignedInt)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -28453,10 +28273,8 @@ late final _sel_descriptorWithInt32_ = final _objc_msgSend_606 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Int signedInt)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Int)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -28465,10 +28283,8 @@ late final _sel_descriptorWithDouble_ = final _objc_msgSend_607 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Double doubleValue)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Double)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, double)>(); @@ -28480,9 +28296,9 @@ final _objc_msgSend_608 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer string)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -28491,9 +28307,9 @@ final _objc_msgSend_609 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer date)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -28503,9 +28319,9 @@ final _objc_msgSend_610 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer fileURL)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -28516,13 +28332,13 @@ final _objc_msgSend_611 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.UnsignedInt eventClass, - ffi.UnsignedInt eventID, - ffi.Pointer targetDescriptor, - ffi.Short returnID, - ffi.Int transactionID)>>() + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedInt, + ffi.UnsignedInt, + ffi.Pointer, + ffi.Short, + ffi.Int)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -28558,10 +28374,8 @@ late final _sel_initWithAEDescNoCopy_ = final _objc_msgSend_612 = objc.msgSendPointer .cast< ffi.NativeFunction< - instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aeDesc)>>() + instancetype Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>>() .asFunction< instancetype Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -28571,11 +28385,11 @@ final _objc_msgSend_613 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.UnsignedInt descriptorType, - ffi.Pointer bytes, - ffi.UnsignedLong byteCount)>>() + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedInt, + ffi.Pointer, + ffi.UnsignedLong)>>() .asFunction< instancetype Function(ffi.Pointer, ffi.Pointer, int, ffi.Pointer, int)>(); @@ -28585,10 +28399,10 @@ final _objc_msgSend_614 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.UnsignedInt descriptorType, - ffi.Pointer data)>>() + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedInt, + ffi.Pointer)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -28602,13 +28416,13 @@ final _objc_msgSend_615 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.UnsignedInt eventClass, - ffi.UnsignedInt eventID, - ffi.Pointer targetDescriptor, - ffi.Short returnID, - ffi.Int transactionID)>>() + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedInt, + ffi.UnsignedInt, + ffi.Pointer, + ffi.Short, + ffi.Int)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -28625,8 +28439,8 @@ late final _sel_aeDesc = objc.registerName("aeDesc"); final _objc_msgSend_616 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -28647,10 +28461,10 @@ final _objc_msgSend_617 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer descriptor, - ffi.UnsignedInt keyword)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedInt)>>() .asFunction< void Function( ffi.Pointer, @@ -28662,10 +28476,8 @@ late final _sel_paramDescriptorForKeyword_ = final _objc_msgSend_618 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.UnsignedInt keyword)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.UnsignedInt)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -28674,8 +28486,8 @@ late final _sel_removeParamDescriptorWithKeyword_ = final _objc_msgSend_619 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Void Function(ffi.Pointer obj, - ffi.Pointer sel, ffi.UnsignedInt keyword)>>() + ffi.Void Function(ffi.Pointer, + ffi.Pointer, ffi.UnsignedInt)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -28704,11 +28516,11 @@ final _objc_msgSend_620 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Int32 sendOptions, - ffi.Double timeoutInSeconds, - ffi.Pointer> error)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Double, + ffi.Pointer>)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -28724,10 +28536,10 @@ final _objc_msgSend_621 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer descriptor, - ffi.Long index)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Long)>>() .asFunction< void Function( ffi.Pointer, @@ -28738,10 +28550,8 @@ late final _sel_descriptorAtIndex_ = objc.registerName("descriptorAtIndex:"); final _objc_msgSend_622 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Long index)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Long)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -28758,8 +28568,8 @@ late final _sel_keywordForDescriptorAtIndex_ = final _objc_msgSend_623 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.UnsignedInt Function(ffi.Pointer obj, - ffi.Pointer sel, ffi.Long index)>>() + ffi.UnsignedInt Function(ffi.Pointer, + ffi.Pointer, ffi.Long)>>() .asFunction< int Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -28771,9 +28581,9 @@ final _objc_msgSend_624 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer descriptor)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -28783,10 +28593,10 @@ final _objc_msgSend_625 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer container, - ffi.Pointer property)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -29055,9 +28865,9 @@ final _objc_msgSend_626 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aClass)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -29067,11 +28877,11 @@ final _objc_msgSend_627 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer suiteName, - ffi.Pointer className, - ffi.Pointer classDeclaration)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -29088,9 +28898,8 @@ late final _sel_superclassDescription = final _objc_msgSend_628 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -29317,9 +29126,9 @@ final _objc_msgSend_629 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.UnsignedInt Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer argumentName)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< int Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -29598,9 +29407,9 @@ final _objc_msgSend_630 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer commandDef)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< instancetype Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -29608,9 +29417,8 @@ late final _sel_commandDescription = objc.registerName("commandDescription"); final _objc_msgSend_631 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -29620,9 +29428,8 @@ late final _sel_receiversSpecifier = objc.registerName("receiversSpecifier"); final _objc_msgSend_632 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -29632,9 +29439,9 @@ final _objc_msgSend_633 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -29645,9 +29452,9 @@ final _objc_msgSend_634 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -29662,8 +29469,8 @@ late final _sel_setScriptErrorNumber_ = final _objc_msgSend_635 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Void Function(ffi.Pointer obj, - ffi.Pointer sel, ffi.Long value)>>() + ffi.Void Function(ffi.Pointer, + ffi.Pointer, ffi.Long)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -29672,9 +29479,8 @@ late final _sel_scriptErrorOffendingObjectDescriptor = final _objc_msgSend_636 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -29684,9 +29490,9 @@ final _objc_msgSend_637 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -29701,9 +29507,8 @@ late final _sel_currentCommand = objc.registerName("currentCommand"); final _objc_msgSend_638 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -29716,9 +29521,8 @@ late final _sel_createCommandInstance = final _objc_msgSend_639 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -29727,10 +29531,8 @@ late final _sel_createCommandInstanceWithZone_ = final _objc_msgSend_640 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer<_NSZone> zone)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer<_NSZone>)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer<_NSZone>)>(); @@ -29739,9 +29541,9 @@ final _objc_msgSend_641 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer commandDescription)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< bool Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -29750,9 +29552,9 @@ final _objc_msgSend_642 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer commandDescription)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -29763,9 +29565,9 @@ final _objc_msgSend_643 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer key)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -29776,10 +29578,8 @@ late final _sel_keyWithAppleEventCode_ = final _objc_msgSend_644 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.UnsignedInt appleEventCode)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.UnsignedInt)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -29801,11 +29601,11 @@ final _objc_msgSend_645 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer classDesc, - ffi.Pointer container, - ffi.Pointer property)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -29832,9 +29632,9 @@ final _objc_msgSend_646 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -29846,9 +29646,9 @@ final _objc_msgSend_647 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -29859,10 +29659,10 @@ final _objc_msgSend_648 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer container, - ffi.Pointer count)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -29886,9 +29686,9 @@ final _objc_msgSend_649 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer objectSpecifier)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -29901,11 +29701,11 @@ final _objc_msgSend_650 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, - ffi.Pointer key, - ffi.Pointer properties)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -29920,12 +29720,12 @@ final _objc_msgSend_651 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer objectClass, - ffi.Pointer key, - ffi.Pointer contentsValue, - ffi.Pointer properties)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -29941,10 +29741,10 @@ final _objc_msgSend_652 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.UnsignedLong index, - ffi.Pointer key)>>() + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -29961,11 +29761,11 @@ final _objc_msgSend_653 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, - ffi.UnsignedLong index, - ffi.Pointer key)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -29979,10 +29779,10 @@ final _objc_msgSend_654 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.UnsignedLong index, - ffi.Pointer key)>>() + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -29995,11 +29795,11 @@ final _objc_msgSend_655 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.UnsignedLong index, - ffi.Pointer key, - ffi.Pointer value)>>() + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -30013,10 +29813,10 @@ final _objc_msgSend_656 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, - ffi.Pointer key)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -30028,10 +29828,10 @@ final _objc_msgSend_657 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, - ffi.Pointer key)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -30045,9 +29845,9 @@ final _objc_msgSend_658 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer specifier)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -30911,9 +30711,8 @@ late final _sel_currentProgress = objc.registerName("currentProgress"); final _objc_msgSend_659 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -30922,10 +30721,8 @@ late final _sel_progressWithTotalUnitCount_ = final _objc_msgSend_660 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Int64 unitCount)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Int64)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -30937,11 +30734,11 @@ final _objc_msgSend_661 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Int64 unitCount, - ffi.Pointer parent, - ffi.Int64 portionOfParentTotalUnitCount)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Int64, + ffi.Pointer, + ffi.Int64)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -30955,10 +30752,10 @@ final _objc_msgSend_662 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer parentProgressOrNil, - ffi.Pointer userInfoOrNil)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -30970,8 +30767,8 @@ late final _sel_becomeCurrentWithPendingUnitCount_ = final _objc_msgSend_663 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Void Function(ffi.Pointer obj, - ffi.Pointer sel, ffi.Int64 unitCount)>>() + ffi.Void Function(ffi.Pointer, + ffi.Pointer, ffi.Int64)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -30981,10 +30778,10 @@ final _objc_msgSend_664 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Int64 unitCount, - ffi.Pointer work)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Int64, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -30998,10 +30795,10 @@ final _objc_msgSend_665 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer child, - ffi.Int64 inUnitCount)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int64)>>() .asFunction< void Function( ffi.Pointer, @@ -31012,8 +30809,8 @@ late final _sel_totalUnitCount = objc.registerName("totalUnitCount"); final _objc_msgSend_666 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Int64 Function(ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Int64 Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< int Function( ffi.Pointer, ffi.Pointer)>(); @@ -31021,8 +30818,8 @@ late final _sel_setTotalUnitCount_ = objc.registerName("setTotalUnitCount:"); final _objc_msgSend_667 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Void Function(ffi.Pointer obj, - ffi.Pointer sel, ffi.Int64 value)>>() + ffi.Void Function(ffi.Pointer, + ffi.Pointer, ffi.Int64)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -31044,9 +30841,8 @@ late final _sel_cancellationHandler = objc.registerName("cancellationHandler"); final _objc_msgSend_668 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -31055,10 +30851,8 @@ late final _sel_setCancellationHandler_ = final _objc_msgSend_669 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value)>>() + ffi.Void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -31082,9 +30876,9 @@ final _objc_msgSend_670 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -31099,9 +30893,9 @@ final _objc_msgSend_671 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -31218,10 +31012,10 @@ final _objc_msgSend_672 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, - ffi.Pointer publishingHandler)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -31369,11 +31163,11 @@ final _objc_msgSend_673 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer typeIdentifier, - ffi.Int32 visibility, - ffi.Pointer loadHandler)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -31647,12 +31441,12 @@ final _objc_msgSend_674 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer typeIdentifier, - ffi.Int32 fileOptions, - ffi.Int32 visibility, - ffi.Pointer loadHandler)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Int32, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -31668,10 +31462,8 @@ late final _sel_registeredTypeIdentifiersWithFileOptions_ = final _objc_msgSend_675 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Int32 fileOptions)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Int32)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -31683,10 +31475,10 @@ final _objc_msgSend_676 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer typeIdentifier, - ffi.Int32 fileOptions)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32)>>() .asFunction< bool Function( ffi.Pointer, @@ -31700,10 +31492,10 @@ final _objc_msgSend_677 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer typeIdentifier, - ffi.Pointer completionHandler)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -31848,10 +31640,10 @@ final _objc_msgSend_678 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer typeIdentifier, - ffi.Pointer completionHandler)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -31865,10 +31657,10 @@ final _objc_msgSend_679 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer typeIdentifier, - ffi.Pointer completionHandler)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -31883,10 +31675,10 @@ final _objc_msgSend_680 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer object, - ffi.Int32 visibility)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32)>>() .asFunction< void Function( ffi.Pointer, @@ -32150,11 +31942,11 @@ final _objc_msgSend_681 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aClass, - ffi.Int32 visibility, - ffi.Pointer loadHandler)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -32170,10 +31962,10 @@ final _objc_msgSend_682 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aClass, - ffi.Pointer completionHandler)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -32186,10 +31978,10 @@ final _objc_msgSend_683 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer item, - ffi.Pointer typeIdentifier)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -32497,10 +32289,10 @@ final _objc_msgSend_684 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer typeIdentifier, - ffi.Pointer loadHandler)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -32513,11 +32305,11 @@ final _objc_msgSend_685 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer typeIdentifier, - ffi.Pointer options, - ffi.Pointer completionHandler)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -32529,9 +32321,8 @@ late final _sel_previewImageHandler = objc.registerName("previewImageHandler"); final _objc_msgSend_686 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -32540,10 +32331,8 @@ late final _sel_setPreviewImageHandler_ = final _objc_msgSend_687 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value)>>() + ffi.Void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -32553,10 +32342,10 @@ final _objc_msgSend_688 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer options, - ffi.Pointer completionHandler)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -33218,10 +33007,10 @@ final _objc_msgSend_689 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - _NSRange range, - ffi.Pointer aString)>>() + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -33234,10 +33023,10 @@ final _objc_msgSend_690 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aString, - ffi.UnsignedLong loc)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong)>>() .asFunction< void Function( ffi.Pointer, @@ -33255,12 +33044,12 @@ final _objc_msgSend_691 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.UnsignedLong Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer target, - ffi.Pointer replacement, - ffi.Int32 options, - _NSRange searchRange)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + _NSRange)>>() .asFunction< int Function( ffi.Pointer, @@ -33275,12 +33064,12 @@ final _objc_msgSend_692 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer transform, - ffi.Bool reverse, - _NSRange range, - ffi.Pointer<_NSRange> resultingRange)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + _NSRange, + ffi.Pointer<_NSRange>)>>() .asFunction< bool Function( ffi.Pointer, @@ -33292,10 +33081,8 @@ final _objc_msgSend_692 = objc.msgSendPointer final _objc_msgSend_693 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.UnsignedLong capacity)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.UnsignedLong)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -33471,11 +33258,11 @@ final _objc_msgSend_694 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer name, - ffi.Pointer object, - ffi.Pointer userInfo)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -34058,9 +33845,8 @@ late final _sel_mainBundle = objc.registerName("mainBundle"); final _objc_msgSend_695 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -34073,9 +33859,9 @@ final _objc_msgSend_696 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aClass)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -34085,9 +33871,9 @@ final _objc_msgSend_697 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer identifier)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -34127,12 +33913,12 @@ final _objc_msgSend_698 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer name, - ffi.Pointer ext, - ffi.Pointer subpath, - ffi.Pointer bundleURL)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -34148,11 +33934,11 @@ final _objc_msgSend_699 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer ext, - ffi.Pointer subpath, - ffi.Pointer bundleURL)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -34166,10 +33952,10 @@ final _objc_msgSend_700 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer name, - ffi.Pointer ext)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -34182,11 +33968,11 @@ final _objc_msgSend_701 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer name, - ffi.Pointer ext, - ffi.Pointer subpath)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -34200,12 +33986,12 @@ final _objc_msgSend_702 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer name, - ffi.Pointer ext, - ffi.Pointer subpath, - ffi.Pointer localizationName)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -34220,10 +34006,10 @@ final _objc_msgSend_703 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer ext, - ffi.Pointer subpath)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -34236,11 +34022,11 @@ final _objc_msgSend_704 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer ext, - ffi.Pointer subpath, - ffi.Pointer localizationName)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -34254,11 +34040,11 @@ final _objc_msgSend_705 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer name, - ffi.Pointer ext, - ffi.Pointer bundlePath)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -34272,10 +34058,10 @@ final _objc_msgSend_706 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer ext, - ffi.Pointer bundlePath)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -34288,10 +34074,10 @@ final _objc_msgSend_707 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer name, - ffi.Pointer ext)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -34304,12 +34090,12 @@ final _objc_msgSend_708 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer name, - ffi.Pointer ext, - ffi.Pointer subpath, - ffi.Pointer localizationName)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -34324,11 +34110,11 @@ final _objc_msgSend_709 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer ext, - ffi.Pointer subpath, - ffi.Pointer localizationName)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -34342,11 +34128,11 @@ final _objc_msgSend_710 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer key, - ffi.Pointer value, - ffi.Pointer tableName)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -34731,10 +34517,10 @@ final _objc_msgSend_711 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.UnsignedLong location, - ffi.Pointer<_NSRange> range)>>() + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer<_NSRange>)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, int, ffi.Pointer<_NSRange>)>(); @@ -34744,11 +34530,11 @@ final _objc_msgSend_712 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer attrName, - ffi.UnsignedLong location, - ffi.Pointer<_NSRange> range)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer<_NSRange>)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -34761,10 +34547,8 @@ late final _sel_attributedSubstringFromRange_ = final _objc_msgSend_713 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - _NSRange range)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, _NSRange)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, _NSRange)>(); @@ -34774,11 +34558,11 @@ final _objc_msgSend_714 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.UnsignedLong location, - ffi.Pointer<_NSRange> range, - _NSRange rangeLimit)>>() + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer<_NSRange>, + _NSRange)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -34792,12 +34576,12 @@ final _objc_msgSend_715 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer attrName, - ffi.UnsignedLong location, - ffi.Pointer<_NSRange> range, - _NSRange rangeLimit)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer<_NSRange>, + _NSRange)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -34812,9 +34596,9 @@ final _objc_msgSend_716 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer other)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< bool Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -34824,10 +34608,10 @@ final _objc_msgSend_717 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer str, - ffi.Pointer attrs)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -34840,9 +34624,9 @@ final _objc_msgSend_718 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer attrStr)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< instancetype Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -35007,11 +34791,11 @@ final _objc_msgSend_719 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - _NSRange enumerationRange, - ffi.Int32 opts, - ffi.Pointer block)>>() + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Int32, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -35173,12 +34957,12 @@ final _objc_msgSend_720 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer attrName, - _NSRange enumerationRange, - ffi.Int32 opts, - ffi.Pointer block)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Int32, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -35377,8 +35161,8 @@ late final _sel_interpretedSyntax = objc.registerName("interpretedSyntax"); final _objc_msgSend_721 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Int32 Function(ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Int32 Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< int Function( ffi.Pointer, ffi.Pointer)>(); @@ -35387,8 +35171,8 @@ late final _sel_setInterpretedSyntax_ = final _objc_msgSend_722 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Void Function(ffi.Pointer obj, - ffi.Pointer sel, ffi.Int32 value)>>() + ffi.Void Function(ffi.Pointer, + ffi.Pointer, ffi.Int32)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -35404,8 +35188,8 @@ late final _sel_failurePolicy = objc.registerName("failurePolicy"); final _objc_msgSend_723 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Int32 Function(ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Int32 Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< int Function( ffi.Pointer, ffi.Pointer)>(); @@ -35413,8 +35197,8 @@ late final _sel_setFailurePolicy_ = objc.registerName("setFailurePolicy:"); final _objc_msgSend_724 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Void Function(ffi.Pointer obj, - ffi.Pointer sel, ffi.Int32 value)>>() + ffi.Void Function(ffi.Pointer, + ffi.Pointer, ffi.Int32)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -35430,12 +35214,12 @@ final _objc_msgSend_725 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer markdownFile, - ffi.Pointer options, - ffi.Pointer baseURL, - ffi.Pointer> error)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -35450,12 +35234,12 @@ final _objc_msgSend_726 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer markdown, - ffi.Pointer options, - ffi.Pointer baseURL, - ffi.Pointer> error)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -35470,12 +35254,12 @@ final _objc_msgSend_727 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer markdownString, - ffi.Pointer options, - ffi.Pointer baseURL, - ffi.Pointer> error)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -35498,11 +35282,11 @@ final _objc_msgSend_728 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer format, - ffi.Int32 options, - ffi.Pointer locale)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -35516,12 +35300,12 @@ final _objc_msgSend_729 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer format, - ffi.Int32 options, - ffi.Pointer locale, - ffi.Pointer<__va_list_tag> arguments)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ffi.Pointer<__va_list_tag>)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -35538,10 +35322,10 @@ final _objc_msgSend_730 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer format, - ffi.Int32 options)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -35554,12 +35338,12 @@ final _objc_msgSend_731 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer format, - ffi.Int32 options, - ffi.Pointer locale, - ffi.Pointer context)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -35574,13 +35358,13 @@ final _objc_msgSend_732 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer format, - ffi.Int32 options, - ffi.Pointer locale, - ffi.Pointer context, - ffi.Pointer<__va_list_tag> arguments)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<__va_list_tag>)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -35596,10 +35380,10 @@ final _objc_msgSend_733 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer format, - ffi.Pointer context)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -35612,11 +35396,11 @@ final _objc_msgSend_734 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer format, - ffi.Int32 options, - ffi.Pointer context)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -35629,9 +35413,8 @@ late final _sel_attributedStringByInflectingString = final _objc_msgSend_735 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -35641,11 +35424,11 @@ final _objc_msgSend_736 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer key, - ffi.Pointer value, - ffi.Pointer tableName)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -35674,10 +35457,10 @@ final _objc_msgSend_737 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer localizationsArray, - ffi.Pointer preferencesArray)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -35692,10 +35475,10 @@ final _objc_msgSend_738 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Double priority, - ffi.Pointer tags)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Double, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -36075,10 +35858,10 @@ final _objc_msgSend_739 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer attrs, - _NSRange range)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange)>>() .asFunction< void Function( ffi.Pointer, @@ -36089,9 +35872,8 @@ late final _sel_mutableString = objc.registerName("mutableString"); final _objc_msgSend_740 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -36101,11 +35883,11 @@ final _objc_msgSend_741 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer name, - ffi.Pointer value, - _NSRange range)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange)>>() .asFunction< void Function( ffi.Pointer, @@ -36119,10 +35901,10 @@ final _objc_msgSend_742 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer attrs, - _NSRange range)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange)>>() .asFunction< void Function( ffi.Pointer, @@ -36135,10 +35917,10 @@ final _objc_msgSend_743 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer name, - _NSRange range)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange)>>() .asFunction< void Function( ffi.Pointer, @@ -36151,10 +35933,10 @@ final _objc_msgSend_744 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - _NSRange range, - ffi.Pointer attrString)>>() + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -36167,10 +35949,10 @@ final _objc_msgSend_745 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer attrString, - ffi.UnsignedLong loc)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong)>>() .asFunction< void Function( ffi.Pointer, @@ -36183,9 +35965,9 @@ final _objc_msgSend_746 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer attrString)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -36889,9 +36671,9 @@ final _objc_msgSend_747 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer obj)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -36901,10 +36683,10 @@ final _objc_msgSend_748 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer obj, - ffi.Pointer attrs)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -36919,11 +36701,11 @@ final _objc_msgSend_749 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer> obj, - ffi.Pointer string, - ffi.Pointer> error)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer, + ffi.Pointer>)>>() .asFunction< bool Function( ffi.Pointer, @@ -36937,11 +36719,11 @@ final _objc_msgSend_750 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer partialString, - ffi.Pointer> newString, - ffi.Pointer> error)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer>)>>() .asFunction< bool Function( ffi.Pointer, @@ -36956,13 +36738,13 @@ final _objc_msgSend_751 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer> partialStringPtr, - ffi.Pointer<_NSRange> proposedSelRangePtr, - ffi.Pointer origString, - _NSRange origSelRange, - ffi.Pointer> error)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer<_NSRange>, + ffi.Pointer, + _NSRange, + ffi.Pointer>)>>() .asFunction< bool Function( ffi.Pointer, @@ -36986,8 +36768,8 @@ late final _sel_formattingContext = objc.registerName("formattingContext"); final _objc_msgSend_752 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Int32 Function(ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Int32 Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< int Function( ffi.Pointer, ffi.Pointer)>(); @@ -36996,8 +36778,8 @@ late final _sel_setFormattingContext_ = final _objc_msgSend_753 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Void Function(ffi.Pointer obj, - ffi.Pointer sel, ffi.Int32 value)>>() + ffi.Void Function(ffi.Pointer, + ffi.Pointer, ffi.Int32)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -37007,12 +36789,12 @@ final _objc_msgSend_754 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer> obj, - ffi.Pointer string, - ffi.Pointer<_NSRange> rangep, - ffi.Pointer> error)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer, + ffi.Pointer<_NSRange>, + ffi.Pointer>)>>() .asFunction< bool Function( ffi.Pointer, @@ -37026,9 +36808,9 @@ final _objc_msgSend_755 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer date)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -37048,11 +36830,11 @@ final _objc_msgSend_756 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer date, - ffi.Int32 dstyle, - ffi.Int32 tstyle)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Int32)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -37066,11 +36848,11 @@ final _objc_msgSend_757 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer tmplate, - ffi.UnsignedLong opts, - ffi.Pointer locale)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -37090,8 +36872,8 @@ late final _sel_defaultFormatterBehavior = final _objc_msgSend_758 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Int32 Function(ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Int32 Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< int Function( ffi.Pointer, ffi.Pointer)>(); @@ -37100,8 +36882,8 @@ late final _sel_setDefaultFormatterBehavior_ = final _objc_msgSend_759 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Void Function(ffi.Pointer obj, - ffi.Pointer sel, ffi.Int32 value)>>() + ffi.Void Function(ffi.Pointer, + ffi.Pointer, ffi.Int32)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -37113,8 +36895,8 @@ late final _sel_dateStyle = objc.registerName("dateStyle"); final _objc_msgSend_760 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Int32 Function(ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Int32 Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< int Function( ffi.Pointer, ffi.Pointer)>(); @@ -37122,8 +36904,8 @@ late final _sel_setDateStyle_ = objc.registerName("setDateStyle:"); final _objc_msgSend_761 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Void Function(ffi.Pointer obj, - ffi.Pointer sel, ffi.Int32 value)>>() + ffi.Void Function(ffi.Pointer, + ffi.Pointer, ffi.Int32)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -37135,9 +36917,9 @@ final _objc_msgSend_762 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -37819,9 +37601,8 @@ late final _sel_currentCalendar = objc.registerName("currentCalendar"); final _objc_msgSend_763 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -37833,9 +37614,9 @@ final _objc_msgSend_764 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer calendarIdentifierConstant)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -37844,9 +37625,8 @@ late final _sel_initWithCalendarIdentifier_ = final _objc_msgSend_765 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -37854,9 +37634,9 @@ final _objc_msgSend_766 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -37936,8 +37716,8 @@ late final _sel_minimumRangeOfUnit_ = objc.registerName("minimumRangeOfUnit:"); final _objc_msgSend_767 = objc.msgSendPointer .cast< ffi.NativeFunction< - _NSRange Function(ffi.Pointer obj, - ffi.Pointer sel, ffi.Int32 unit)>>() + _NSRange Function(ffi.Pointer, + ffi.Pointer, ffi.Int32)>>() .asFunction< _NSRange Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -37945,10 +37725,10 @@ final _objc_msgSend_767Stret = objc.msgSendStretPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer<_NSRange> stret, - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Int32 unit)>>() + ffi.Pointer<_NSRange>, + ffi.Pointer, + ffi.Pointer, + ffi.Int32)>>() .asFunction< void Function(ffi.Pointer<_NSRange>, ffi.Pointer, ffi.Pointer, int)>(); @@ -37959,11 +37739,11 @@ final _objc_msgSend_768 = objc.msgSendPointer .cast< ffi.NativeFunction< _NSRange Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Int32 smaller, - ffi.Int32 larger, - ffi.Pointer date)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Int32, + ffi.Pointer)>>() .asFunction< _NSRange Function( ffi.Pointer, @@ -37975,12 +37755,12 @@ final _objc_msgSend_768Stret = objc.msgSendStretPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer<_NSRange> stret, - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Int32 smaller, - ffi.Int32 larger, - ffi.Pointer date)>>() + ffi.Pointer<_NSRange>, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Int32, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer<_NSRange>, @@ -37995,11 +37775,11 @@ final _objc_msgSend_769 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.UnsignedLong Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Int32 smaller, - ffi.Int32 larger, - ffi.Pointer date)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Int32, + ffi.Pointer)>>() .asFunction< int Function( ffi.Pointer, @@ -38013,12 +37793,12 @@ final _objc_msgSend_770 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Int32 unit, - ffi.Pointer> datep, - ffi.Pointer tip, - ffi.Pointer date)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer>, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< bool Function( ffi.Pointer, @@ -38312,9 +38092,8 @@ late final _sel_calendar = objc.registerName("calendar"); final _objc_msgSend_771 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -38323,18 +38102,17 @@ final _objc_msgSend_772 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); final _objc_msgSend_773 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -38342,9 +38120,9 @@ final _objc_msgSend_774 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -38386,11 +38164,8 @@ late final _sel_setValue_forComponent_ = final _objc_msgSend_775 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Long value, - ffi.Int32 unit)>>() + ffi.Void Function(ffi.Pointer, + ffi.Pointer, ffi.Long, ffi.Int32)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, int, int)>(); @@ -38398,8 +38173,8 @@ late final _sel_valueForComponent_ = objc.registerName("valueForComponent:"); final _objc_msgSend_776 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Long Function(ffi.Pointer obj, - ffi.Pointer sel, ffi.Int32 unit)>>() + ffi.Long Function(ffi.Pointer, + ffi.Pointer, ffi.Int32)>>() .asFunction< int Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -38410,9 +38185,9 @@ final _objc_msgSend_777 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer calendar)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< bool Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -38421,9 +38196,9 @@ final _objc_msgSend_778 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer comps)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -38433,10 +38208,10 @@ final _objc_msgSend_779 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Int32 unitFlags, - ffi.Pointer date)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -38461,11 +38236,11 @@ final _objc_msgSend_780 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer comps, - ffi.Pointer date, - ffi.Int32 opts)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -38479,12 +38254,12 @@ final _objc_msgSend_781 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Int32 unitFlags, - ffi.Pointer startingDate, - ffi.Pointer resultDate, - ffi.Int32 opts)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ffi.Pointer, + ffi.Int32)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -38499,13 +38274,13 @@ final _objc_msgSend_782 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer eraValuePointer, - ffi.Pointer yearValuePointer, - ffi.Pointer monthValuePointer, - ffi.Pointer dayValuePointer, - ffi.Pointer date)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -38524,10 +38299,10 @@ final _objc_msgSend_783 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Long Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Int32 unit, - ffi.Pointer date)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer)>>() .asFunction< int Function( ffi.Pointer, @@ -38540,16 +38315,16 @@ final _objc_msgSend_784 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Long eraValue, - ffi.Long yearValue, - ffi.Long monthValue, - ffi.Long dayValue, - ffi.Long hourValue, - ffi.Long minuteValue, - ffi.Long secondValue, - ffi.Long nanosecondValue)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Long, + ffi.Long, + ffi.Long, + ffi.Long, + ffi.Long, + ffi.Long, + ffi.Long, + ffi.Long)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -38572,10 +38347,10 @@ final _objc_msgSend_785 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer timezone, - ffi.Pointer date)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -38588,11 +38363,11 @@ final _objc_msgSend_786 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Int32 Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer date1, - ffi.Pointer date2, - ffi.Int32 unit)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32)>>() .asFunction< int Function( ffi.Pointer, @@ -38606,11 +38381,11 @@ final _objc_msgSend_787 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer date1, - ffi.Pointer date2, - ffi.Int32 unit)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32)>>() .asFunction< bool Function( ffi.Pointer, @@ -38624,10 +38399,10 @@ final _objc_msgSend_788 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer date1, - ffi.Pointer date2)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< bool Function( ffi.Pointer, @@ -38644,11 +38419,11 @@ final _objc_msgSend_789 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer> datep, - ffi.Pointer tip, - ffi.Pointer date)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< bool Function( ffi.Pointer, @@ -38662,12 +38437,12 @@ final _objc_msgSend_790 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer> datep, - ffi.Pointer tip, - ffi.Int32 options, - ffi.Pointer date)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer, + ffi.Int32, + ffi.Pointer)>>() .asFunction< bool Function( ffi.Pointer, @@ -38682,12 +38457,12 @@ final _objc_msgSend_791 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Int32 unitFlags, - ffi.Pointer startingDateComp, - ffi.Pointer resultDateComp, - ffi.Int32 options)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ffi.Pointer, + ffi.Int32)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -38702,12 +38477,12 @@ final _objc_msgSend_792 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Int32 unit, - ffi.Long value, - ffi.Pointer date, - ffi.Int32 options)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Long, + ffi.Pointer, + ffi.Int32)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -38865,12 +38640,12 @@ final _objc_msgSend_793 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer start, - ffi.Pointer comps, - ffi.Int32 opts, - ffi.Pointer block)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -38885,11 +38660,11 @@ final _objc_msgSend_794 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer date, - ffi.Pointer comps, - ffi.Int32 options)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -38903,12 +38678,12 @@ final _objc_msgSend_795 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer date, - ffi.Int32 unit, - ffi.Long value, - ffi.Int32 options)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Long, + ffi.Int32)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -38923,13 +38698,13 @@ final _objc_msgSend_796 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer date, - ffi.Long hourValue, - ffi.Long minuteValue, - ffi.Long secondValue, - ffi.Int32 options)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Long, + ffi.Long, + ffi.Long, + ffi.Int32)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -38947,13 +38722,13 @@ final _objc_msgSend_797 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Long h, - ffi.Long m, - ffi.Long s, - ffi.Pointer date, - ffi.Int32 opts)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Long, + ffi.Long, + ffi.Long, + ffi.Pointer, + ffi.Int32)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -38969,10 +38744,10 @@ final _objc_msgSend_798 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer date, - ffi.Pointer components)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< bool Function( ffi.Pointer, @@ -38983,9 +38758,9 @@ final _objc_msgSend_799 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -38998,9 +38773,9 @@ final _objc_msgSend_800 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -39011,9 +38786,9 @@ final _objc_msgSend_801 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -39867,9 +39642,9 @@ final _objc_msgSend_802 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer number)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -39878,9 +39653,9 @@ final _objc_msgSend_803 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer string)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -39904,10 +39679,10 @@ final _objc_msgSend_804 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer num, - ffi.Int32 nstyle)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -39924,16 +39699,16 @@ abstract class NSNumberFormatterBehavior { final _objc_msgSend_805 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Int32 Function(ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Int32 Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< int Function( ffi.Pointer, ffi.Pointer)>(); final _objc_msgSend_806 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Void Function(ffi.Pointer obj, - ffi.Pointer sel, ffi.Int32 behavior)>>() + ffi.Void Function(ffi.Pointer, + ffi.Pointer, ffi.Int32)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -39941,8 +39716,8 @@ late final _sel_numberStyle = objc.registerName("numberStyle"); final _objc_msgSend_807 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Int32 Function(ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Int32 Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< int Function( ffi.Pointer, ffi.Pointer)>(); @@ -39950,8 +39725,8 @@ late final _sel_setNumberStyle_ = objc.registerName("setNumberStyle:"); final _objc_msgSend_808 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Void Function(ffi.Pointer obj, - ffi.Pointer sel, ffi.Int32 value)>>() + ffi.Void Function(ffi.Pointer, + ffi.Pointer, ffi.Int32)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -39962,8 +39737,8 @@ late final _sel_setGeneratesDecimalNumbers_ = final _objc_msgSend_809 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Void Function(ffi.Pointer obj, - ffi.Pointer sel, ffi.Int32 value)>>() + ffi.Void Function(ffi.Pointer, + ffi.Pointer, ffi.Int32)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -40081,8 +39856,8 @@ late final _sel_paddingPosition = objc.registerName("paddingPosition"); final _objc_msgSend_810 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Int32 Function(ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Int32 Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< int Function( ffi.Pointer, ffi.Pointer)>(); @@ -40090,8 +39865,8 @@ late final _sel_setPaddingPosition_ = objc.registerName("setPaddingPosition:"); final _objc_msgSend_811 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Void Function(ffi.Pointer obj, - ffi.Pointer sel, ffi.Int32 value)>>() + ffi.Void Function(ffi.Pointer, + ffi.Pointer, ffi.Int32)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -40110,8 +39885,8 @@ late final _sel_roundingMode = objc.registerName("roundingMode"); final _objc_msgSend_812 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Int32 Function(ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Int32 Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< int Function( ffi.Pointer, ffi.Pointer)>(); @@ -40119,8 +39894,8 @@ late final _sel_setRoundingMode_ = objc.registerName("setRoundingMode:"); final _objc_msgSend_813 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Void Function(ffi.Pointer obj, - ffi.Pointer sel, ffi.Int32 value)>>() + ffi.Void Function(ffi.Pointer, + ffi.Pointer, ffi.Int32)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -40128,9 +39903,8 @@ late final _sel_roundingIncrement = objc.registerName("roundingIncrement"); final _objc_msgSend_814 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -40140,9 +39914,9 @@ final _objc_msgSend_815 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -40205,9 +39979,9 @@ final _objc_msgSend_816 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -40380,9 +40154,8 @@ late final _sel_defaultDecimalNumberHandler = final _objc_msgSend_817 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -40401,14 +40174,14 @@ final _objc_msgSend_818 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Int32 roundingMode, - ffi.Short scale, - ffi.Bool exact, - ffi.Bool overflow, - ffi.Bool underflow, - ffi.Bool divideByZero)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Short, + ffi.Bool, + ffi.Bool, + ffi.Bool, + ffi.Bool)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -40429,9 +40202,9 @@ final _objc_msgSend_819 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -40680,9 +40453,8 @@ late final _sel_charactersToBeSkipped = final _objc_msgSend_820 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -40692,9 +40464,9 @@ final _objc_msgSend_821 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -40704,10 +40476,8 @@ late final _sel_scanInt_ = objc.registerName("scanInt:"); final _objc_msgSend_822 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer result)>>() + ffi.Bool Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>>() .asFunction< bool Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -40715,10 +40485,8 @@ late final _sel_scanInteger_ = objc.registerName("scanInteger:"); final _objc_msgSend_823 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer result)>>() + ffi.Bool Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>>() .asFunction< bool Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -40726,10 +40494,8 @@ late final _sel_scanLongLong_ = objc.registerName("scanLongLong:"); final _objc_msgSend_824 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer result)>>() + ffi.Bool Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>>() .asFunction< bool Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -40739,9 +40505,9 @@ final _objc_msgSend_825 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer result)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< bool Function( ffi.Pointer, @@ -40751,10 +40517,8 @@ late final _sel_scanFloat_ = objc.registerName("scanFloat:"); final _objc_msgSend_826 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer result)>>() + ffi.Bool Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>>() .asFunction< bool Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -40762,10 +40526,8 @@ late final _sel_scanDouble_ = objc.registerName("scanDouble:"); final _objc_msgSend_827 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer result)>>() + ffi.Bool Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>>() .asFunction< bool Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -40774,9 +40536,9 @@ final _objc_msgSend_828 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer result)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< bool Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -40789,10 +40551,10 @@ final _objc_msgSend_829 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer string, - ffi.Pointer> result)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>>() .asFunction< bool Function( ffi.Pointer, @@ -40805,10 +40567,10 @@ final _objc_msgSend_830 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer set, - ffi.Pointer> result)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>>() .asFunction< bool Function( ffi.Pointer, @@ -40830,10 +40592,8 @@ late final _sel_scanDecimal_ = objc.registerName("scanDecimal:"); final _objc_msgSend_831 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer dcm)>>() + ffi.Bool Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>>() .asFunction< bool Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -41013,11 +40773,11 @@ final _objc_msgSend_832 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer name, - ffi.Pointer reason, - ffi.Pointer userInfo)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -41031,11 +40791,11 @@ final _objc_msgSend_833 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aName, - ffi.Pointer aReason, - ffi.Pointer aUserInfo)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -41052,11 +40812,11 @@ final _objc_msgSend_834 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer name, - ffi.Pointer format, - ffi.Pointer<__va_list_tag> argList)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<__va_list_tag>)>>() .asFunction< void Function( ffi.Pointer, @@ -41443,11 +41203,8 @@ late final _sel_initWithFileDescriptor_closeOnDealloc_ = final _objc_msgSend_835 = objc.msgSendPointer .cast< ffi.NativeFunction< - instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Int fd, - ffi.Bool closeopt)>>() + instancetype Function(ffi.Pointer, + ffi.Pointer, ffi.Int, ffi.Bool)>>() .asFunction< instancetype Function(ffi.Pointer, ffi.Pointer, int, bool)>(); @@ -41457,9 +41214,9 @@ final _objc_msgSend_836 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer> error)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -41471,10 +41228,10 @@ final _objc_msgSend_837 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.UnsignedLong length, - ffi.Pointer> error)>>() + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer>)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -41486,10 +41243,10 @@ final _objc_msgSend_838 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer data, - ffi.Pointer> error)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>>() .asFunction< bool Function( ffi.Pointer, @@ -41501,10 +41258,10 @@ final _objc_msgSend_839 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer offsetInFile, - ffi.Pointer> error)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>>() .asFunction< bool Function( ffi.Pointer, @@ -41518,10 +41275,10 @@ final _objc_msgSend_840 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.UnsignedLongLong offset, - ffi.Pointer> error)>>() + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLongLong, + ffi.Pointer>)>>() .asFunction< bool Function( ffi.Pointer, @@ -41539,9 +41296,8 @@ late final _sel_fileHandleWithStandardInput = final _objc_msgSend_841 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -41563,10 +41319,10 @@ final _objc_msgSend_842 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, - ffi.Pointer> error)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -41583,9 +41339,9 @@ final _objc_msgSend_843 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer modes)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -41715,9 +41471,8 @@ late final _sel_readabilityHandler = objc.registerName("readabilityHandler"); final _objc_msgSend_844 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -41726,10 +41481,8 @@ late final _sel_setReadabilityHandler_ = final _objc_msgSend_845 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value)>>() + ffi.Void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -41741,8 +41494,8 @@ late final _sel_initWithFileDescriptor_ = final _objc_msgSend_846 = objc.msgSendPointer .cast< ffi.NativeFunction< - instancetype Function(ffi.Pointer obj, - ffi.Pointer sel, ffi.Int fd)>>() + instancetype Function(ffi.Pointer, + ffi.Pointer, ffi.Int)>>() .asFunction< instancetype Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -41752,10 +41505,8 @@ late final _sel_readDataOfLength_ = objc.registerName("readDataOfLength:"); final _objc_msgSend_847 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.UnsignedLong length)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.UnsignedLong)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -41765,10 +41516,8 @@ late final _sel_seekToFileOffset_ = objc.registerName("seekToFileOffset:"); final _objc_msgSend_848 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.UnsignedLongLong offset)>>() + ffi.Void Function(ffi.Pointer, + ffi.Pointer, ffi.UnsignedLongLong)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -41963,9 +41712,8 @@ late final _sel_sharedHTTPCookieStorage = final _objc_msgSend_849 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -41975,9 +41723,9 @@ final _objc_msgSend_850 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer identifier)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -42202,9 +41950,9 @@ final _objc_msgSend_851 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer properties)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< instancetype Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -42214,9 +41962,9 @@ final _objc_msgSend_852 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer properties)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -42228,10 +41976,10 @@ final _objc_msgSend_853 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer headerFields, - ffi.Pointer URL)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -42253,9 +42001,9 @@ final _objc_msgSend_854 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer cookie)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -42269,11 +42017,11 @@ final _objc_msgSend_855 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer cookies, - ffi.Pointer URL, - ffi.Pointer mainDocumentURL)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -42292,8 +42040,8 @@ late final _sel_cookieAcceptPolicy = objc.registerName("cookieAcceptPolicy"); final _objc_msgSend_856 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Int32 Function(ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Int32 Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< int Function( ffi.Pointer, ffi.Pointer)>(); @@ -42302,8 +42050,8 @@ late final _sel_setCookieAcceptPolicy_ = final _objc_msgSend_857 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Void Function(ffi.Pointer obj, - ffi.Pointer sel, ffi.Int32 value)>>() + ffi.Void Function(ffi.Pointer, + ffi.Pointer, ffi.Int32)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -42818,11 +42566,11 @@ final _objc_msgSend_858 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer URL, - ffi.Int32 cachePolicy, - ffi.Double timeoutInterval)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Double)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -42837,8 +42585,8 @@ late final _sel_cachePolicy = objc.registerName("cachePolicy"); final _objc_msgSend_859 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Int32 Function(ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Int32 Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< int Function( ffi.Pointer, ffi.Pointer)>(); @@ -42861,8 +42609,8 @@ late final _sel_networkServiceType = objc.registerName("networkServiceType"); final _objc_msgSend_860 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Int32 Function(ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Int32 Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< int Function( ffi.Pointer, ffi.Pointer)>(); @@ -42883,8 +42631,8 @@ late final _sel_attribution = objc.registerName("attribution"); final _objc_msgSend_861 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Int32 Function(ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Int32 Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< int Function( ffi.Pointer, ffi.Pointer)>(); @@ -43301,10 +43049,10 @@ final _objc_msgSend_862 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer property, - ffi.Pointer key)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< bool Function( ffi.Pointer, @@ -43327,8 +43075,8 @@ late final _sel_streamStatus = objc.registerName("streamStatus"); final _objc_msgSend_863 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Int32 Function(ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Int32 Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< int Function( ffi.Pointer, ffi.Pointer)>(); @@ -43548,10 +43296,10 @@ final _objc_msgSend_864 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Long Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer buffer, - ffi.UnsignedLong len)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong)>>() .asFunction< int Function(ffi.Pointer, ffi.Pointer, ffi.Pointer, int)>(); @@ -43563,10 +43311,10 @@ final _objc_msgSend_865 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer buffer, - ffi.UnsignedLong capacity)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong)>>() .asFunction< instancetype Function(ffi.Pointer, ffi.Pointer, ffi.Pointer, int)>(); @@ -43575,10 +43323,10 @@ final _objc_msgSend_866 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, - ffi.Bool shouldAppend)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -43601,12 +43349,12 @@ final _objc_msgSend_867 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer hostname, - ffi.Long port, - ffi.Pointer> inputStream, - ffi.Pointer> outputStream)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Long, + ffi.Pointer>, + ffi.Pointer>)>>() .asFunction< void Function( ffi.Pointer, @@ -43787,9 +43535,9 @@ final _objc_msgSend_868 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer name)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< instancetype Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -43799,9 +43547,9 @@ final _objc_msgSend_869 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aHost)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< bool Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -43814,8 +43562,8 @@ late final _sel_setHostCacheEnabled_ = final _objc_msgSend_870 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Void Function(ffi.Pointer obj, - ffi.Pointer sel, ffi.Bool flag)>>() + ffi.Void Function(ffi.Pointer, + ffi.Pointer, ffi.Bool)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, bool)>(); @@ -43827,12 +43575,12 @@ final _objc_msgSend_871 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer host, - ffi.Long port, - ffi.Pointer> inputStream, - ffi.Pointer> outputStream)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Long, + ffi.Pointer>, + ffi.Pointer>)>>() .asFunction< void Function( ffi.Pointer, @@ -43847,11 +43595,11 @@ final _objc_msgSend_872 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.UnsignedLong bufferSize, - ffi.Pointer> inputStream, - ffi.Pointer> outputStream)>>() + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer>, + ffi.Pointer>)>>() .asFunction< void Function( ffi.Pointer, @@ -43865,10 +43613,10 @@ final _objc_msgSend_873 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer> buffer, - ffi.Pointer len)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer)>>() .asFunction< bool Function( ffi.Pointer, @@ -43883,9 +43631,9 @@ final _objc_msgSend_874 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer data)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< instancetype Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -43896,9 +43644,8 @@ late final _sel_HTTPBodyStream = objc.registerName("HTTPBodyStream"); final _objc_msgSend_875 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -43910,9 +43657,8 @@ late final _sel_originalRequest = objc.registerName("originalRequest"); final _objc_msgSend_876 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -44073,12 +43819,12 @@ final _objc_msgSend_877 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer URL, - ffi.Pointer MIMEType, - ffi.Long length, - ffi.Pointer name)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Long, + ffi.Pointer)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -44096,9 +43842,8 @@ late final _sel_response = objc.registerName("response"); final _objc_msgSend_878 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -44106,9 +43851,8 @@ late final _sel_progress = objc.registerName("progress"); final _objc_msgSend_879 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -44144,8 +43888,8 @@ late final _sel_state = objc.registerName("state"); final _objc_msgSend_880 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Int32 Function(ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Int32 Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< int Function( ffi.Pointer, ffi.Pointer)>(); @@ -44155,8 +43899,8 @@ late final _sel_setPriority_ = objc.registerName("setPriority:"); final _objc_msgSend_881 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Void Function(ffi.Pointer obj, - ffi.Pointer sel, ffi.Float value)>>() + ffi.Void Function(ffi.Pointer, + ffi.Pointer, ffi.Float)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, double)>(); @@ -44170,10 +43914,10 @@ final _objc_msgSend_882 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer cookies, - ffi.Pointer task)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -44296,10 +44040,10 @@ final _objc_msgSend_883 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer task, - ffi.Pointer completionHandler)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -44476,10 +44220,10 @@ final _objc_msgSend_884 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer indexes, - ffi.UnsignedLong length)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -44493,10 +44237,8 @@ late final _sel_indexPathByAddingIndex_ = final _objc_msgSend_885 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.UnsignedLong index)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.UnsignedLong)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -44505,9 +44247,8 @@ late final _sel_indexPathByRemovingLastIndex = final _objc_msgSend_886 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -44517,10 +44258,10 @@ final _objc_msgSend_887 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer indexes, - _NSRange positionRange)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange)>>() .asFunction< void Function( ffi.Pointer, @@ -44531,9 +44272,9 @@ final _objc_msgSend_888 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Int32 Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer otherObject)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< int Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -44542,9 +44283,9 @@ final _objc_msgSend_889 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer indexes)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -44672,9 +44413,8 @@ late final _sel_automaticRule = objc.registerName("automaticRule"); final _objc_msgSend_890 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -44889,8 +44629,8 @@ late final _sel_grammaticalGender = objc.registerName("grammaticalGender"); final _objc_msgSend_891 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Int32 Function(ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Int32 Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< int Function( ffi.Pointer, ffi.Pointer)>(); @@ -44899,8 +44639,8 @@ late final _sel_setGrammaticalGender_ = final _objc_msgSend_892 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Void Function(ffi.Pointer obj, - ffi.Pointer sel, ffi.Int32 value)>>() + ffi.Void Function(ffi.Pointer, + ffi.Pointer, ffi.Int32)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -44927,8 +44667,8 @@ late final _sel_partOfSpeech = objc.registerName("partOfSpeech"); final _objc_msgSend_893 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Int32 Function(ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Int32 Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< int Function( ffi.Pointer, ffi.Pointer)>(); @@ -44936,8 +44676,8 @@ late final _sel_setPartOfSpeech_ = objc.registerName("setPartOfSpeech:"); final _objc_msgSend_894 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Void Function(ffi.Pointer obj, - ffi.Pointer sel, ffi.Int32 value)>>() + ffi.Void Function(ffi.Pointer, + ffi.Pointer, ffi.Int32)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -44956,8 +44696,8 @@ late final _sel_number = objc.registerName("number"); final _objc_msgSend_895 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Int32 Function(ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Int32 Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< int Function( ffi.Pointer, ffi.Pointer)>(); @@ -44965,8 +44705,8 @@ late final _sel_setNumber_ = objc.registerName("setNumber:"); final _objc_msgSend_896 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Void Function(ffi.Pointer obj, - ffi.Pointer sel, ffi.Int32 value)>>() + ffi.Void Function(ffi.Pointer, + ffi.Pointer, ffi.Int32)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -44993,8 +44733,8 @@ late final _sel_grammaticalCase = objc.registerName("grammaticalCase"); final _objc_msgSend_897 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Int32 Function(ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Int32 Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< int Function( ffi.Pointer, ffi.Pointer)>(); @@ -45002,8 +44742,8 @@ late final _sel_setGrammaticalCase_ = objc.registerName("setGrammaticalCase:"); final _objc_msgSend_898 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Void Function(ffi.Pointer obj, - ffi.Pointer sel, ffi.Int32 value)>>() + ffi.Void Function(ffi.Pointer, + ffi.Pointer, ffi.Int32)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -45018,8 +44758,8 @@ late final _sel_determination = objc.registerName("determination"); final _objc_msgSend_899 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Int32 Function(ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Int32 Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< int Function( ffi.Pointer, ffi.Pointer)>(); @@ -45027,8 +44767,8 @@ late final _sel_setDetermination_ = objc.registerName("setDetermination:"); final _objc_msgSend_900 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Void Function(ffi.Pointer obj, - ffi.Pointer sel, ffi.Int32 value)>>() + ffi.Void Function(ffi.Pointer, + ffi.Pointer, ffi.Int32)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -45044,8 +44784,8 @@ late final _sel_grammaticalPerson = objc.registerName("grammaticalPerson"); final _objc_msgSend_901 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Int32 Function(ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Int32 Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< int Function( ffi.Pointer, ffi.Pointer)>(); @@ -45054,8 +44794,8 @@ late final _sel_setGrammaticalPerson_ = final _objc_msgSend_902 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Void Function(ffi.Pointer obj, - ffi.Pointer sel, ffi.Int32 value)>>() + ffi.Void Function(ffi.Pointer, + ffi.Pointer, ffi.Int32)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -45071,8 +44811,8 @@ late final _sel_pronounType = objc.registerName("pronounType"); final _objc_msgSend_903 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Int32 Function(ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Int32 Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< int Function( ffi.Pointer, ffi.Pointer)>(); @@ -45080,8 +44820,8 @@ late final _sel_setPronounType_ = objc.registerName("setPronounType:"); final _objc_msgSend_904 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Void Function(ffi.Pointer obj, - ffi.Pointer sel, ffi.Int32 value)>>() + ffi.Void Function(ffi.Pointer, + ffi.Pointer, ffi.Int32)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -45096,8 +44836,8 @@ late final _sel_definiteness = objc.registerName("definiteness"); final _objc_msgSend_905 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Int32 Function(ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Int32 Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< int Function( ffi.Pointer, ffi.Pointer)>(); @@ -45105,8 +44845,8 @@ late final _sel_setDefiniteness_ = objc.registerName("setDefiniteness:"); final _objc_msgSend_906 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Void Function(ffi.Pointer obj, - ffi.Pointer sel, ffi.Int32 value)>>() + ffi.Void Function(ffi.Pointer, + ffi.Pointer, ffi.Int32)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -45314,9 +45054,9 @@ final _objc_msgSend_907 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer language)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -45326,11 +45066,11 @@ final _objc_msgSend_908 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer features, - ffi.Pointer language, - ffi.Pointer> error)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>>() .asFunction< bool Function( ffi.Pointer, @@ -45343,9 +45083,8 @@ late final _sel_userMorphology = objc.registerName("userMorphology"); final _objc_msgSend_909 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -45769,9 +45508,9 @@ final _objc_msgSend_910 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer op)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -45790,8 +45529,8 @@ late final _sel_queuePriority = objc.registerName("queuePriority"); final _objc_msgSend_911 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Int32 Function(ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Int32 Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< int Function( ffi.Pointer, ffi.Pointer)>(); @@ -45799,8 +45538,8 @@ late final _sel_setQueuePriority_ = objc.registerName("setQueuePriority:"); final _objc_msgSend_912 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Void Function(ffi.Pointer obj, - ffi.Pointer sel, ffi.Int32 value)>>() + ffi.Void Function(ffi.Pointer, + ffi.Pointer, ffi.Int32)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -45814,10 +45553,10 @@ final _objc_msgSend_913 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer ops, - ffi.Bool wait)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool)>>() .asFunction< void Function( ffi.Pointer, @@ -45837,9 +45576,8 @@ late final _sel_underlyingQueue = objc.registerName("underlyingQueue"); final _objc_msgSend_914 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -45848,9 +45586,9 @@ final _objc_msgSend_915 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -45861,9 +45599,8 @@ late final _sel_currentQueue = objc.registerName("currentQueue"); final _objc_msgSend_916 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -45871,9 +45608,8 @@ late final _sel_mainQueue = objc.registerName("mainQueue"); final _objc_msgSend_917 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -46098,8 +45834,8 @@ late final _sel_initWithOptions_ = objc.registerName("initWithOptions:"); final _objc_msgSend_918 = objc.msgSendPointer .cast< ffi.NativeFunction< - instancetype Function(ffi.Pointer obj, - ffi.Pointer sel, ffi.Int32 options)>>() + instancetype Function(ffi.Pointer, + ffi.Pointer, ffi.Int32)>>() .asFunction< instancetype Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -46371,10 +46107,8 @@ late final _sel_pointerFunctionsWithOptions_ = final _objc_msgSend_919 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Int32 options)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Int32)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -46383,8 +46117,8 @@ final _objc_msgSend_920 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer, ffi.Pointer)>>)>> Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer< ffi.NativeFunction< @@ -46400,32 +46134,35 @@ final _objc_msgSend_921 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer, + ffi.Pointer, ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer)>>)>> - value)>>() + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer)>>)>>)>>() .asFunction< void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer< ffi.NativeFunction< - ffi.UnsignedLong Function(ffi.Pointer, - ffi.Pointer)>>)>>)>(); + ffi.UnsignedLong Function( + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer)>>)>>)>(); late final _sel_isEqualFunction = objc.registerName("isEqualFunction"); final _objc_msgSend_922 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer, ffi.Pointer, ffi.Pointer)>>)>> Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer< ffi.NativeFunction< @@ -46442,18 +46179,17 @@ final _objc_msgSend_923 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer, + ffi.Pointer, ffi.Pointer< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer)>>)>> - value)>>() + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer)>>)>>)>>() .asFunction< void Function( ffi.Pointer, @@ -46463,14 +46199,16 @@ final _objc_msgSend_923 = objc.msgSendPointer ffi.Bool Function( ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>)>>)>(); + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function(ffi.Pointer)>>)>>)>(); late final _sel_sizeFunction = objc.registerName("sizeFunction"); final _objc_msgSend_924 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer)>> Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer< ffi.NativeFunction< @@ -46481,12 +46219,11 @@ final _objc_msgSend_925 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer, + ffi.Pointer, ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function(ffi.Pointer)>> - value)>>() + ffi.NativeFunction< + ffi.UnsignedLong Function(ffi.Pointer)>>)>>() .asFunction< void Function( ffi.Pointer, @@ -46499,8 +46236,8 @@ final _objc_msgSend_926 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function(ffi.Pointer)>> Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer< ffi.NativeFunction< @@ -46513,13 +46250,12 @@ final _objc_msgSend_927 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer, + ffi.Pointer, ffi.Pointer< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer)>> - value)>>() + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer)>>)>>() .asFunction< void Function( ffi.Pointer, @@ -46533,8 +46269,8 @@ final _objc_msgSend_928 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer, ffi.Pointer)>>)>> Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer< ffi.NativeFunction< @@ -46551,32 +46287,35 @@ final _objc_msgSend_929 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer, + ffi.Pointer, ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer)>>)>> - value)>>() + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer)>>)>>)>>() .asFunction< void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer< ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, - ffi.Pointer)>>)>>)>(); + ffi.Void Function( + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer)>>)>>)>(); late final _sel_acquireFunction = objc.registerName("acquireFunction"); final _objc_msgSend_930 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer)>>, ffi.Bool)>> Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer< ffi.NativeFunction< @@ -46593,25 +46332,29 @@ final _objc_msgSend_931 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer, + ffi.Pointer, ffi.Pointer< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer)>>, - ffi.Bool)>> - value)>>() + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer)>>, + ffi.Bool)>>)>>() .asFunction< void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer< - ffi - .NativeFunction Function(ffi.Pointer, ffi.Pointer)>>, ffi.Bool)>>)>(); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer< + ffi + .NativeFunction)>>, + ffi.Bool)>>)>(); late final _sel_usesStrongWriteBarrier = objc.registerName("usesStrongWriteBarrier"); late final _sel_setUsesStrongWriteBarrier_ = @@ -46626,9 +46369,9 @@ final _objc_msgSend_932 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer functions)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< instancetype Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -46637,10 +46380,8 @@ late final _sel_pointerArrayWithOptions_ = final _objc_msgSend_933 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Int32 options)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Int32)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -46650,9 +46391,9 @@ final _objc_msgSend_934 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer functions)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -46660,9 +46401,8 @@ late final _sel_pointerFunctions = objc.registerName("pointerFunctions"); final _objc_msgSend_935 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -46670,8 +46410,8 @@ late final _sel_pointerAtIndex_ = objc.registerName("pointerAtIndex:"); final _objc_msgSend_936 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer obj, - ffi.Pointer sel, ffi.UnsignedLong index)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.UnsignedLong)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -46686,10 +46426,10 @@ final _objc_msgSend_937 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.UnsignedLong index, - ffi.Pointer item)>>() + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, int, ffi.Pointer)>(); @@ -46704,9 +46444,8 @@ late final _sel_strongObjectsPointerArray = final _objc_msgSend_938 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -46988,9 +46727,8 @@ late final _sel_processInfo = objc.registerName("processInfo"); final _objc_msgSend_939 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -47022,8 +46760,8 @@ late final _sel_operatingSystemVersion = final _objc_msgSend_940 = objc.msgSendPointer .cast< ffi.NativeFunction< - NSOperatingSystemVersion Function(ffi.Pointer obj, - ffi.Pointer sel)>>() + NSOperatingSystemVersion Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< NSOperatingSystemVersion Function( ffi.Pointer, ffi.Pointer)>(); @@ -47031,9 +46769,9 @@ final _objc_msgSend_940Stret = objc.msgSendStretPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer stret, - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -47046,10 +46784,8 @@ late final _sel_isOperatingSystemAtLeastVersion_ = final _objc_msgSend_941 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - NSOperatingSystemVersion version)>>() + ffi.Bool Function(ffi.Pointer, + ffi.Pointer, NSOperatingSystemVersion)>>() .asFunction< bool Function(ffi.Pointer, ffi.Pointer, NSOperatingSystemVersion)>(); @@ -47087,10 +46823,10 @@ final _objc_msgSend_942 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Int32 options, - ffi.Pointer reason)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -47104,11 +46840,11 @@ final _objc_msgSend_943 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Int32 options, - ffi.Pointer reason, - ffi.Pointer block)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -47214,10 +46950,10 @@ final _objc_msgSend_944 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer reason, - ffi.Pointer block)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -47238,8 +46974,8 @@ late final _sel_thermalState = objc.registerName("thermalState"); final _objc_msgSend_945 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Int32 Function(ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Int32 Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< int Function( ffi.Pointer, ffi.Pointer)>(); @@ -47644,8 +47380,8 @@ late final _sel_resultType = objc.registerName("resultType"); final _objc_msgSend_946 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Int32 Function(ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Int32 Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< int Function( ffi.Pointer, ffi.Pointer)>(); @@ -47654,9 +47390,8 @@ late final _sel_orthography = objc.registerName("orthography"); final _objc_msgSend_947 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -47932,11 +47667,11 @@ final _objc_msgSend_948 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer pattern, - ffi.Int32 options, - ffi.Pointer> error)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer>)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -47950,11 +47685,11 @@ final _objc_msgSend_949 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer pattern, - ffi.Int32 options, - ffi.Pointer> error)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer>)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -47967,8 +47702,8 @@ late final _sel_options = objc.registerName("options"); final _objc_msgSend_950 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Int32 Function(ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Int32 Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< int Function( ffi.Pointer, ffi.Pointer)>(); @@ -48151,12 +47886,12 @@ final _objc_msgSend_951 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer string, - ffi.Int32 options, - _NSRange range, - ffi.Pointer block)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + _NSRange, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -48171,11 +47906,11 @@ final _objc_msgSend_952 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer string, - ffi.Int32 options, - _NSRange range)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + _NSRange)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -48189,11 +47924,11 @@ final _objc_msgSend_953 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.UnsignedLong Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer string, - ffi.Int32 options, - _NSRange range)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + _NSRange)>>() .asFunction< int Function( ffi.Pointer, @@ -48207,11 +47942,11 @@ final _objc_msgSend_954 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer string, - ffi.Int32 options, - _NSRange range)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + _NSRange)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -48225,11 +47960,11 @@ final _objc_msgSend_955 = objc.msgSendPointer .cast< ffi.NativeFunction< _NSRange Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer string, - ffi.Int32 options, - _NSRange range)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + _NSRange)>>() .asFunction< _NSRange Function( ffi.Pointer, @@ -48241,12 +47976,12 @@ final _objc_msgSend_955Stret = objc.msgSendStretPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer<_NSRange> stret, - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer string, - ffi.Int32 options, - _NSRange range)>>() + ffi.Pointer<_NSRange>, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + _NSRange)>>() .asFunction< void Function( ffi.Pointer<_NSRange>, @@ -48262,12 +47997,12 @@ final _objc_msgSend_956 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer string, - ffi.Int32 options, - _NSRange range, - ffi.Pointer templ)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + _NSRange, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -48282,12 +48017,12 @@ final _objc_msgSend_957 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.UnsignedLong Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer string, - ffi.Int32 options, - _NSRange range, - ffi.Pointer templ)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + _NSRange, + ffi.Pointer)>>() .asFunction< int Function( ffi.Pointer, @@ -48302,12 +48037,12 @@ final _objc_msgSend_958 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer result, - ffi.Pointer string, - ffi.Long offset, - ffi.Pointer templ)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Long, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -48322,9 +48057,8 @@ late final _sel_regularExpression = objc.registerName("regularExpression"); final _objc_msgSend_959 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -48337,10 +48071,8 @@ late final _sel_resultByAdjustingRangesWithOffset_ = final _objc_msgSend_960 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Long offset)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Long)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -48351,10 +48083,10 @@ final _objc_msgSend_961 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - _NSRange range, - ffi.Pointer orthography)>>() + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -48366,10 +48098,8 @@ late final _sel_spellCheckingResultWithRange_ = final _objc_msgSend_962 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - _NSRange range)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, _NSRange)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, _NSRange)>(); @@ -48379,10 +48109,10 @@ final _objc_msgSend_963 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - _NSRange range, - ffi.Pointer details)>>() + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -48395,10 +48125,10 @@ final _objc_msgSend_964 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - _NSRange range, - ffi.Pointer date)>>() + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -48411,12 +48141,12 @@ final _objc_msgSend_965 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - _NSRange range, - ffi.Pointer date, - ffi.Pointer timeZone, - ffi.Double duration)>>() + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + ffi.Pointer, + ffi.Double)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -48431,10 +48161,10 @@ final _objc_msgSend_966 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - _NSRange range, - ffi.Pointer components)>>() + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -48447,10 +48177,10 @@ final _objc_msgSend_967 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - _NSRange range, - ffi.Pointer url)>>() + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -48463,10 +48193,10 @@ final _objc_msgSend_968 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - _NSRange range, - ffi.Pointer replacementString)>>() + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -48486,11 +48216,11 @@ final _objc_msgSend_969 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - _NSRange range, - ffi.Pointer replacementString, - ffi.Pointer alternativeStrings)>>() + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -48505,11 +48235,11 @@ final _objc_msgSend_970 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer<_NSRange> ranges, - ffi.UnsignedLong count, - ffi.Pointer regularExpression)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_NSRange>, + ffi.UnsignedLong, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -48733,9 +48463,8 @@ late final _sel_sharedURLCache = objc.registerName("sharedURLCache"); final _objc_msgSend_971 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -48744,9 +48473,9 @@ final _objc_msgSend_972 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -48756,11 +48485,11 @@ final _objc_msgSend_973 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.UnsignedLong memoryCapacity, - ffi.UnsignedLong diskCapacity, - ffi.Pointer path)>>() + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.UnsignedLong, + ffi.Pointer)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -48774,11 +48503,11 @@ final _objc_msgSend_974 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.UnsignedLong memoryCapacity, - ffi.UnsignedLong diskCapacity, - ffi.Pointer directoryURL)>>() + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.UnsignedLong, + ffi.Pointer)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -48940,10 +48669,10 @@ final _objc_msgSend_975 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer response, - ffi.Pointer data)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -48963,12 +48692,12 @@ final _objc_msgSend_976 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer response, - ffi.Pointer data, - ffi.Pointer userInfo, - ffi.Int32 storagePolicy)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -48980,9 +48709,8 @@ final _objc_msgSend_976 = objc.msgSendPointer final _objc_msgSend_977 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -48990,8 +48718,8 @@ late final _sel_storagePolicy = objc.registerName("storagePolicy"); final _objc_msgSend_978 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Int32 Function(ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Int32 Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< int Function( ffi.Pointer, ffi.Pointer)>(); @@ -49001,9 +48729,9 @@ final _objc_msgSend_979 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer request)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -49013,10 +48741,10 @@ final _objc_msgSend_980 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer cachedResponse, - ffi.Pointer request)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -49029,9 +48757,9 @@ final _objc_msgSend_981 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer request)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -49159,10 +48887,10 @@ final _objc_msgSend_982 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer cachedResponse, - ffi.Pointer dataTask)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -49288,10 +49016,10 @@ final _objc_msgSend_983 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer dataTask, - ffi.Pointer completionHandler)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -49304,9 +49032,9 @@ final _objc_msgSend_984 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer dataTask)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -49520,11 +49248,11 @@ final _objc_msgSend_985 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer request, - ffi.Pointer delegate, - ffi.Bool startImmediately)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -49538,10 +49266,10 @@ final _objc_msgSend_986 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer request, - ffi.Pointer delegate)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -49554,10 +49282,10 @@ final _objc_msgSend_987 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer request, - ffi.Pointer delegate)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -49567,9 +49295,8 @@ final _objc_msgSend_987 = objc.msgSendPointer final _objc_msgSend_988 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -49580,9 +49307,9 @@ final _objc_msgSend_989 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer queue)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -49591,9 +49318,9 @@ final _objc_msgSend_990 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer request)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< bool Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -49603,11 +49330,11 @@ final _objc_msgSend_991 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer request, - ffi.Pointer> response, - ffi.Pointer> error)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer>)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -49781,11 +49508,11 @@ final _objc_msgSend_992 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer request, - ffi.Pointer queue, - ffi.Pointer handler)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -50000,8 +49727,8 @@ late final _sel_persistence = objc.registerName("persistence"); final _objc_msgSend_993 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Int32 Function(ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Int32 Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< int Function( ffi.Pointer, ffi.Pointer)>(); @@ -50011,11 +49738,11 @@ final _objc_msgSend_994 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer user, - ffi.Pointer password, - ffi.Int32 persistence)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -50029,11 +49756,11 @@ final _objc_msgSend_995 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer user, - ffi.Pointer password, - ffi.Int32 persistence)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -50051,11 +49778,11 @@ final _objc_msgSend_996 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer<__SecIdentity> identity, - ffi.Pointer certArray, - ffi.Int32 persistence)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<__SecIdentity>, + ffi.Pointer, + ffi.Int32)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -50069,11 +49796,11 @@ final _objc_msgSend_997 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer<__SecIdentity> identity, - ffi.Pointer certArray, - ffi.Int32 persistence)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<__SecIdentity>, + ffi.Pointer, + ffi.Int32)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -50085,9 +49812,8 @@ late final _sel_identity = objc.registerName("identity"); final _objc_msgSend_998 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer<__SecIdentity> Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer<__SecIdentity> Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer<__SecIdentity> Function( ffi.Pointer, ffi.Pointer)>(); @@ -50099,10 +49825,8 @@ late final _sel_initWithTrust_ = objc.registerName("initWithTrust:"); final _objc_msgSend_999 = objc.msgSendPointer .cast< ffi.NativeFunction< - instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer<__SecTrust> trust)>>() + instancetype Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer<__SecTrust>)>>() .asFunction< instancetype Function(ffi.Pointer, ffi.Pointer, ffi.Pointer<__SecTrust>)>(); @@ -50110,10 +49834,8 @@ late final _sel_credentialForTrust_ = objc.registerName("credentialForTrust:"); final _objc_msgSend_1000 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer<__SecTrust> trust)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer<__SecTrust>)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer<__SecTrust>)>(); @@ -50319,13 +50041,13 @@ final _objc_msgSend_1001 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer host, - ffi.Long port, - ffi.Pointer protocol, - ffi.Pointer realm, - ffi.Pointer authenticationMethod)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Long, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -50350,8 +50072,8 @@ late final _sel_serverTrust = objc.registerName("serverTrust"); final _objc_msgSend_1002 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer<__SecTrust> Function(ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer<__SecTrust> Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer<__SecTrust> Function( ffi.Pointer, ffi.Pointer)>(); @@ -50587,9 +50309,8 @@ late final _sel_sharedCredentialStorage = final _objc_msgSend_1003 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -50599,9 +50320,9 @@ final _objc_msgSend_1004 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer space)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -50612,10 +50333,10 @@ final _objc_msgSend_1005 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer credential, - ffi.Pointer space)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -50630,11 +50351,11 @@ final _objc_msgSend_1006 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer credential, - ffi.Pointer space, - ffi.Pointer options)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -50648,9 +50369,9 @@ final _objc_msgSend_1007 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer space)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -50773,11 +50494,11 @@ final _objc_msgSend_1008 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer protectionSpace, - ffi.Pointer task, - ffi.Pointer completionHandler)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -50791,11 +50512,11 @@ final _objc_msgSend_1009 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer credential, - ffi.Pointer protectionSpace, - ffi.Pointer task)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -50809,12 +50530,12 @@ final _objc_msgSend_1010 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer credential, - ffi.Pointer protectionSpace, - ffi.Pointer options, - ffi.Pointer task)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -50942,11 +50663,11 @@ final _objc_msgSend_1011 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer space, - ffi.Pointer task, - ffi.Pointer completionHandler)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -51176,11 +50897,11 @@ final _objc_msgSend_1012 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer request, - ffi.Pointer cachedResponse, - ffi.Pointer client)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -51194,9 +50915,8 @@ late final _sel_cachedResponse = objc.registerName("cachedResponse"); final _objc_msgSend_1013 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -51207,9 +50927,9 @@ final _objc_msgSend_1014 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer request)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -51219,10 +50939,10 @@ final _objc_msgSend_1015 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer a, - ffi.Pointer b)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< bool Function( ffi.Pointer, @@ -51237,10 +50957,10 @@ final _objc_msgSend_1016 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer key, - ffi.Pointer request)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -51589,8 +51309,8 @@ late final _sel_setCachePolicy_ = objc.registerName("setCachePolicy:"); final _objc_msgSend_1017 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Void Function(ffi.Pointer obj, - ffi.Pointer sel, ffi.Int32 value)>>() + ffi.Void Function(ffi.Pointer, + ffi.Pointer, ffi.Int32)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -51601,8 +51321,8 @@ late final _sel_setNetworkServiceType_ = final _objc_msgSend_1018 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Void Function(ffi.Pointer obj, - ffi.Pointer sel, ffi.Int32 value)>>() + ffi.Void Function(ffi.Pointer, + ffi.Pointer, ffi.Int32)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -51618,8 +51338,8 @@ late final _sel_setAttribution_ = objc.registerName("setAttribution:"); final _objc_msgSend_1019 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Void Function(ffi.Pointer obj, - ffi.Pointer sel, ffi.Int32 value)>>() + ffi.Void Function(ffi.Pointer, + ffi.Pointer, ffi.Int32)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -51634,10 +51354,10 @@ final _objc_msgSend_1020 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, - ffi.Pointer field)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -51651,9 +51371,9 @@ final _objc_msgSend_1021 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -51662,9 +51382,9 @@ final _objc_msgSend_1022 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -51678,11 +51398,11 @@ final _objc_msgSend_1023 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, - ffi.Pointer key, - ffi.Pointer request)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -51696,10 +51416,10 @@ final _objc_msgSend_1024 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer key, - ffi.Pointer request)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -51713,9 +51433,9 @@ final _objc_msgSend_1025 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer task)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< bool Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -51725,11 +51445,11 @@ final _objc_msgSend_1026 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer task, - ffi.Pointer cachedResponse, - ffi.Pointer client)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -51741,9 +51461,8 @@ late final _sel_task = objc.registerName("task"); final _objc_msgSend_1027 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -51974,9 +51693,9 @@ final _objc_msgSend_1028 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer stream)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< instancetype Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -52001,8 +51720,8 @@ late final _sel_externalEntityResolvingPolicy = final _objc_msgSend_1029 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Int32 Function(ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Int32 Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< int Function( ffi.Pointer, ffi.Pointer)>(); @@ -52011,8 +51730,8 @@ late final _sel_setExternalEntityResolvingPolicy_ = final _objc_msgSend_1030 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Void Function(ffi.Pointer obj, - ffi.Pointer sel, ffi.Int32 value)>>() + ffi.Void Function(ffi.Pointer, + ffi.Pointer, ffi.Int32)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -52024,9 +51743,9 @@ final _objc_msgSend_1031 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -52387,11 +52106,11 @@ final _objc_msgSend_1032 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, - ffi.Int32 options, - ffi.Pointer> outError)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer>)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -52425,11 +52144,11 @@ final _objc_msgSend_1033 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, - ffi.Int32 options, - ffi.Pointer> outError)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer>)>>() .asFunction< bool Function( ffi.Pointer, @@ -52449,12 +52168,12 @@ final _objc_msgSend_1034 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, - ffi.Int32 options, - ffi.Pointer originalContentsURL, - ffi.Pointer> outError)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ffi.Pointer>)>>() .asFunction< bool Function( ffi.Pointer, @@ -52470,9 +52189,9 @@ final _objc_msgSend_1035 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer child)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -52482,10 +52201,10 @@ final _objc_msgSend_1036 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer data, - ffi.Pointer fileName)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -52497,9 +52216,9 @@ final _objc_msgSend_1037 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer child)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -52509,9 +52228,9 @@ final _objc_msgSend_1038 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer child)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -52529,11 +52248,11 @@ final _objc_msgSend_1039 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, - ffi.Bool atomicFlag, - ffi.Bool updateFilenamesFlag)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.Bool)>>() .asFunction< bool Function( ffi.Pointer, @@ -52920,9 +52639,8 @@ late final _sel_sharedSession = objc.registerName("sharedSession"); final _objc_msgSend_1040 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -53353,9 +53071,8 @@ late final _sel_defaultSessionConfiguration = final _objc_msgSend_1041 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -53367,9 +53084,9 @@ final _objc_msgSend_1042 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer identifier)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -53425,8 +53142,8 @@ late final _sel_TLSMinimumSupportedProtocol = final _objc_msgSend_1043 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Int32 Function(ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Int32 Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< int Function( ffi.Pointer, ffi.Pointer)>(); @@ -53435,8 +53152,8 @@ late final _sel_setTLSMinimumSupportedProtocol_ = final _objc_msgSend_1044 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Void Function(ffi.Pointer obj, - ffi.Pointer sel, ffi.Int32 value)>>() + ffi.Void Function(ffi.Pointer, + ffi.Pointer, ffi.Int32)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -53459,8 +53176,8 @@ late final _sel_TLSMinimumSupportedProtocolVersion = final _objc_msgSend_1045 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Int32 Function(ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Int32 Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< int Function( ffi.Pointer, ffi.Pointer)>(); @@ -53469,8 +53186,8 @@ late final _sel_setTLSMinimumSupportedProtocolVersion_ = final _objc_msgSend_1046 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Void Function(ffi.Pointer obj, - ffi.Pointer sel, ffi.Int32 value)>>() + ffi.Void Function(ffi.Pointer, + ffi.Pointer, ffi.Int32)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -53498,9 +53215,8 @@ late final _sel_HTTPCookieStorage = objc.registerName("HTTPCookieStorage"); final _objc_msgSend_1047 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -53510,9 +53226,9 @@ final _objc_msgSend_1048 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -53521,9 +53237,8 @@ late final _sel_URLCredentialStorage = final _objc_msgSend_1049 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -53533,9 +53248,9 @@ final _objc_msgSend_1050 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -53543,9 +53258,8 @@ late final _sel_URLCache = objc.registerName("URLCache"); final _objc_msgSend_1051 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -53554,9 +53268,9 @@ final _objc_msgSend_1052 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -53570,9 +53284,9 @@ final _objc_msgSend_1053 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -53589,8 +53303,8 @@ late final _sel_multipathServiceType = final _objc_msgSend_1054 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Int32 Function(ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Int32 Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< int Function( ffi.Pointer, ffi.Pointer)>(); @@ -53599,8 +53313,8 @@ late final _sel_setMultipathServiceType_ = final _objc_msgSend_1055 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Void Function(ffi.Pointer obj, - ffi.Pointer sel, ffi.Int32 value)>>() + ffi.Void Function(ffi.Pointer, + ffi.Pointer, ffi.Int32)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -53612,9 +53326,9 @@ final _objc_msgSend_1056 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer configuration)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -53624,11 +53338,11 @@ final _objc_msgSend_1057 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer configuration, - ffi.Pointer delegate, - ffi.Pointer queue)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -53806,10 +53520,8 @@ late final _sel_getTasksWithCompletionHandler_ = final _objc_msgSend_1058 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer completionHandler)>>() + ffi.Void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -53926,10 +53638,8 @@ late final _sel_getAllTasksWithCompletionHandler_ = final _objc_msgSend_1059 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer completionHandler)>>() + ffi.Void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -53939,9 +53649,9 @@ final _objc_msgSend_1060 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer request)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -53950,9 +53660,9 @@ final _objc_msgSend_1061 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -54187,10 +53897,8 @@ late final _sel_cancelByProducingResumeData_ = final _objc_msgSend_1062 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer completionHandler)>>() + ffi.Void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -54200,10 +53908,10 @@ final _objc_msgSend_1063 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer request, - ffi.Pointer fileURL)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -54216,10 +53924,10 @@ final _objc_msgSend_1064 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer request, - ffi.Pointer bodyData)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -54232,9 +53940,9 @@ final _objc_msgSend_1065 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer resumeData)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -54244,9 +53952,9 @@ final _objc_msgSend_1066 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer request)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -54373,9 +54081,9 @@ final _objc_msgSend_1067 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer request)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -54385,9 +54093,9 @@ final _objc_msgSend_1068 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -54397,9 +54105,9 @@ final _objc_msgSend_1069 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer resumeData)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -54702,12 +54410,12 @@ final _objc_msgSend_1070 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.UnsignedLong minBytes, - ffi.UnsignedLong maxBytes, - ffi.Double timeout, - ffi.Pointer completionHandler)>>() + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.UnsignedLong, + ffi.Double, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -54722,11 +54430,11 @@ final _objc_msgSend_1071 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer data, - ffi.Double timeout, - ffi.Pointer completionHandler)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Double, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -54747,10 +54455,10 @@ final _objc_msgSend_1072 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer hostname, - ffi.Long port)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Long)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -55013,12 +54721,12 @@ final _objc_msgSend_1073 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer domain, - ffi.Pointer type, - ffi.Pointer name, - ffi.Int port)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -55033,11 +54741,11 @@ final _objc_msgSend_1074 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer domain, - ffi.Pointer type, - ffi.Pointer name)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -55059,8 +54767,8 @@ late final _sel_publishWithOptions_ = objc.registerName("publishWithOptions:"); final _objc_msgSend_1075 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Void Function(ffi.Pointer obj, - ffi.Pointer sel, ffi.Int32 options)>>() + ffi.Void Function(ffi.Pointer, + ffi.Pointer, ffi.Int32)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -55072,9 +54780,9 @@ final _objc_msgSend_1076 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer txtData)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -55084,9 +54792,9 @@ final _objc_msgSend_1077 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer txtDictionary)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -55097,10 +54805,10 @@ final _objc_msgSend_1078 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer> inputStream, - ffi.Pointer> outputStream)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer>)>>() .asFunction< bool Function( ffi.Pointer, @@ -55112,9 +54820,9 @@ final _objc_msgSend_1079 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer recordData)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< bool Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -55127,9 +54835,9 @@ final _objc_msgSend_1080 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer service)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -55440,8 +55148,8 @@ abstract class NSURLSessionWebSocketMessageType { final _objc_msgSend_1081 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Int32 Function(ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Int32 Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< int Function( ffi.Pointer, ffi.Pointer)>(); @@ -55451,10 +55159,10 @@ final _objc_msgSend_1082 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer message, - ffi.Pointer completionHandler)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -55610,10 +55318,8 @@ late final _sel_receiveMessageWithCompletionHandler_ = final _objc_msgSend_1083 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer completionHandler)>>() + ffi.Void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -55622,10 +55328,8 @@ late final _sel_sendPingWithPongReceiveHandler_ = final _objc_msgSend_1084 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer pongReceiveHandler)>>() + ffi.Void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -55653,10 +55357,10 @@ final _objc_msgSend_1085 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Int32 closeCode, - ffi.Pointer reason)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -55670,8 +55374,8 @@ late final _sel_closeCode = objc.registerName("closeCode"); final _objc_msgSend_1086 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Int32 Function(ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Int32 Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< int Function( ffi.Pointer, ffi.Pointer)>(); @@ -55682,9 +55386,9 @@ final _objc_msgSend_1087 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -55694,10 +55398,10 @@ final _objc_msgSend_1088 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, - ffi.Pointer protocols)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -55710,9 +55414,9 @@ final _objc_msgSend_1089 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer request)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -55883,10 +55587,10 @@ final _objc_msgSend_1090 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer request, - ffi.Pointer completionHandler)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -55899,10 +55603,10 @@ final _objc_msgSend_1091 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, - ffi.Pointer completionHandler)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -55915,11 +55619,11 @@ final _objc_msgSend_1092 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer request, - ffi.Pointer fileURL, - ffi.Pointer completionHandler)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -55933,11 +55637,11 @@ final _objc_msgSend_1093 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer request, - ffi.Pointer bodyData, - ffi.Pointer completionHandler)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -55951,10 +55655,10 @@ final _objc_msgSend_1094 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer resumeData, - ffi.Pointer completionHandler)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -56127,10 +55831,10 @@ final _objc_msgSend_1095 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer request, - ffi.Pointer completionHandler)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -56143,10 +55847,10 @@ final _objc_msgSend_1096 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, - ffi.Pointer completionHandler)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -56159,10 +55863,10 @@ final _objc_msgSend_1097 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer resumeData, - ffi.Pointer completionHandler)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -56236,9 +55940,8 @@ late final _class_NSProtocolChecker = objc.getClass("NSProtocolChecker"); final _objc_msgSend_1098 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -56248,10 +55951,10 @@ final _objc_msgSend_1099 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer anObject, - ffi.Pointer aProtocol)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -56603,8 +56306,8 @@ late final _sel_terminationReason = objc.registerName("terminationReason"); final _objc_msgSend_1100 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Int32 Function(ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Int32 Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< int Function( ffi.Pointer, ffi.Pointer)>(); @@ -56719,9 +56422,8 @@ late final _sel_terminationHandler = objc.registerName("terminationHandler"); final _objc_msgSend_1101 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -56730,10 +56432,8 @@ late final _sel_setTerminationHandler_ = final _objc_msgSend_1102 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value)>>() + ffi.Void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -56744,12 +56444,12 @@ final _objc_msgSend_1103 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, - ffi.Pointer arguments, - ffi.Pointer> error, - ffi.Pointer terminationHandler)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -56770,10 +56470,10 @@ final _objc_msgSend_1104 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, - ffi.Pointer arguments)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -57644,8 +57344,8 @@ late final _sel_initWithKind_ = objc.registerName("initWithKind:"); final _objc_msgSend_1105 = objc.msgSendPointer .cast< ffi.NativeFunction< - instancetype Function(ffi.Pointer obj, - ffi.Pointer sel, ffi.Int32 kind)>>() + instancetype Function(ffi.Pointer, + ffi.Pointer, ffi.Int32)>>() .asFunction< instancetype Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -57686,11 +57386,8 @@ late final _sel_initWithKind_options_ = final _objc_msgSend_1106 = objc.msgSendPointer .cast< ffi.NativeFunction< - instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Int32 kind, - ffi.Int32 options)>>() + instancetype Function(ffi.Pointer, + ffi.Pointer, ffi.Int32, ffi.Int32)>>() .asFunction< instancetype Function(ffi.Pointer, ffi.Pointer, int, int)>(); @@ -57701,9 +57398,9 @@ final _objc_msgSend_1107 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer element)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -57714,10 +57411,10 @@ final _objc_msgSend_1108 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer name, - ffi.Pointer URI)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -57732,11 +57429,11 @@ final _objc_msgSend_1109 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer name, - ffi.Pointer children, - ffi.Pointer attributes)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -57761,8 +57458,8 @@ late final _sel_DTDNodeWithXMLString_ = final _objc_msgSend_1110 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Int32 Function(ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Int32 Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< int Function( ffi.Pointer, ffi.Pointer)>(); @@ -57775,10 +57472,10 @@ final _objc_msgSend_1111 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer string, - ffi.Bool resolve)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool)>>() .asFunction< void Function( ffi.Pointer, @@ -58230,11 +57927,11 @@ final _objc_msgSend_1112 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer string, - ffi.Int32 mask, - ffi.Pointer> error)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer>)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -58246,11 +57943,11 @@ final _objc_msgSend_1113 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, - ffi.Int32 mask, - ffi.Pointer> error)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer>)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -58264,11 +57961,11 @@ final _objc_msgSend_1114 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer data, - ffi.Int32 mask, - ffi.Pointer> error)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer>)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -58282,9 +57979,9 @@ final _objc_msgSend_1115 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer element)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< instancetype Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -58307,8 +58004,8 @@ late final _sel_documentContentKind = objc.registerName("documentContentKind"); final _objc_msgSend_1116 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Int32 Function(ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Int32 Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< int Function( ffi.Pointer, ffi.Pointer)>(); @@ -58317,8 +58014,8 @@ late final _sel_setDocumentContentKind_ = final _objc_msgSend_1117 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Void Function(ffi.Pointer obj, - ffi.Pointer sel, ffi.Int32 value)>>() + ffi.Void Function(ffi.Pointer, + ffi.Pointer, ffi.Int32)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -58677,10 +58374,10 @@ final _objc_msgSend_1118 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer child, - ffi.UnsignedLong index)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong)>>() .asFunction< void Function( ffi.Pointer, @@ -58693,10 +58390,10 @@ final _objc_msgSend_1119 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer children, - ffi.UnsignedLong index)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong)>>() .asFunction< void Function( ffi.Pointer, @@ -58710,9 +58407,9 @@ final _objc_msgSend_1120 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer child)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -58722,10 +58419,10 @@ final _objc_msgSend_1121 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.UnsignedLong index, - ffi.Pointer node)>>() + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -59052,8 +58749,8 @@ late final _sel_DTDKind = objc.registerName("DTDKind"); final _objc_msgSend_1122 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Int32 Function(ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Int32 Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< int Function( ffi.Pointer, ffi.Pointer)>(); @@ -59061,8 +58758,8 @@ late final _sel_setDTDKind_ = objc.registerName("setDTDKind:"); final _objc_msgSend_1123 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Void Function(ffi.Pointer obj, - ffi.Pointer sel, ffi.Int32 value)>>() + ffi.Void Function(ffi.Pointer, + ffi.Pointer, ffi.Int32)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -59077,9 +58774,9 @@ final _objc_msgSend_1124 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer name)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -59089,9 +58786,9 @@ final _objc_msgSend_1125 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer name)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -59105,10 +58802,10 @@ final _objc_msgSend_1126 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer name, - ffi.Pointer elementName)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -59121,9 +58818,8 @@ late final _sel_DTD = objc.registerName("DTD"); final _objc_msgSend_1127 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -59132,9 +58828,9 @@ final _objc_msgSend_1128 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -59143,9 +58839,9 @@ final _objc_msgSend_1129 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer root)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -59153,9 +58849,8 @@ late final _sel_rootElement = objc.registerName("rootElement"); final _objc_msgSend_1130 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -59164,10 +58859,8 @@ late final _sel_XMLDataWithOptions_ = objc.registerName("XMLDataWithOptions:"); final _objc_msgSend_1131 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Int32 options)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Int32)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -59177,11 +58870,11 @@ final _objc_msgSend_1132 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer xslt, - ffi.Pointer arguments, - ffi.Pointer> error)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -59195,11 +58888,11 @@ final _objc_msgSend_1133 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer xslt, - ffi.Pointer arguments, - ffi.Pointer> error)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -59213,11 +58906,11 @@ final _objc_msgSend_1134 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer xsltURL, - ffi.Pointer argument, - ffi.Pointer> error)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -59231,9 +58924,8 @@ late final _sel_rootDocument = objc.registerName("rootDocument"); final _objc_msgSend_1135 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -59241,9 +58933,8 @@ late final _sel_parent = objc.registerName("parent"); final _objc_msgSend_1136 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -59253,10 +58944,8 @@ late final _sel_childAtIndex_ = objc.registerName("childAtIndex:"); final _objc_msgSend_1137 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.UnsignedLong index)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.UnsignedLong)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -59276,10 +58965,8 @@ late final _sel_XMLStringWithOptions_ = final _objc_msgSend_1138 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Int32 options)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Int32)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -59288,10 +58975,8 @@ late final _sel_canonicalXMLStringPreservingComments_ = final _objc_msgSend_1139 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Bool comments)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Bool)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, bool)>(); @@ -59303,11 +58988,11 @@ final _objc_msgSend_1140 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer xquery, - ffi.Pointer constants, - ffi.Pointer> error)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -59322,10 +59007,10 @@ final _objc_msgSend_1141 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer name, - ffi.Pointer URI)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -59343,10 +59028,10 @@ final _objc_msgSend_1142 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer localName, - ffi.Pointer URI)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -59367,10 +59052,10 @@ final _objc_msgSend_1143 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer localName, - ffi.Pointer URI)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -59932,9 +59617,8 @@ late final _sel_sharedInstance = objc.registerName("sharedInstance"); final _objc_msgSend_1144 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -59960,11 +59644,11 @@ final _objc_msgSend_1145 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer category, - ffi.Int32 options, - ffi.Pointer> outError)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer>)>>() .asFunction< bool Function( ffi.Pointer, @@ -59978,12 +59662,12 @@ final _objc_msgSend_1146 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer category, - ffi.Pointer mode, - ffi.Int32 options, - ffi.Pointer> outError)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer>)>>() .asFunction< bool Function( ffi.Pointer, @@ -60007,13 +59691,13 @@ final _objc_msgSend_1147 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer category, - ffi.Pointer mode, - ffi.Int32 policy, - ffi.Int32 options, - ffi.Pointer> outError)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Int32, + ffi.Pointer>)>>() .asFunction< bool Function( ffi.Pointer, @@ -60028,8 +59712,8 @@ late final _sel_categoryOptions = objc.registerName("categoryOptions"); final _objc_msgSend_1148 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Int32 Function(ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Int32 Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< int Function( ffi.Pointer, ffi.Pointer)>(); @@ -60037,8 +59721,8 @@ late final _sel_routeSharingPolicy = objc.registerName("routeSharingPolicy"); final _objc_msgSend_1149 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Int32 Function(ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Int32 Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< int Function( ffi.Pointer, ffi.Pointer)>(); @@ -60051,10 +59735,10 @@ final _objc_msgSend_1150 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Bool inValue, - ffi.Pointer> outError)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.Pointer>)>>() .asFunction< bool Function( ffi.Pointer, @@ -60074,8 +59758,8 @@ late final _sel_recordPermission = objc.registerName("recordPermission"); final _objc_msgSend_1151 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Int32 Function(ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Int32 Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< int Function( ffi.Pointer, ffi.Pointer)>(); @@ -60084,10 +59768,8 @@ late final _sel_requestRecordPermission_ = final _objc_msgSend_1152 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer response)>>() + ffi.Void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -60103,10 +59785,10 @@ final _objc_msgSend_1153 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Int32 portOverride, - ffi.Pointer> outError)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer>)>>() .asFunction< bool Function( ffi.Pointer, @@ -60486,10 +60168,10 @@ final _objc_msgSend_1154 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer pattern, - ffi.Pointer> outError)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>>() .asFunction< bool Function( ffi.Pointer, @@ -60500,9 +60182,8 @@ late final _sel_selectedDataSource = objc.registerName("selectedDataSource"); final _objc_msgSend_1155 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -60513,10 +60194,10 @@ final _objc_msgSend_1156 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer dataSource, - ffi.Pointer> outError)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>>() .asFunction< bool Function( ffi.Pointer, @@ -60529,10 +60210,10 @@ final _objc_msgSend_1157 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer inPort, - ffi.Pointer> outError)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>>() .asFunction< bool Function( ffi.Pointer, @@ -60543,9 +60224,8 @@ late final _sel_preferredInput = objc.registerName("preferredInput"); final _objc_msgSend_1158 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -60567,8 +60247,8 @@ late final _sel_renderingMode = objc.registerName("renderingMode"); final _objc_msgSend_1159 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Int32 Function(ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Int32 Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< int Function( ffi.Pointer, ffi.Pointer)>(); @@ -60584,11 +60264,11 @@ final _objc_msgSend_1160 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Bool active, - ffi.Int32 options, - ffi.Pointer> outError)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.Int32, + ffi.Pointer>)>>() .asFunction< bool Function( ffi.Pointer, @@ -60728,10 +60408,10 @@ final _objc_msgSend_1161 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Int32 options, - ffi.Pointer handler)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -60744,10 +60424,10 @@ final _objc_msgSend_1162 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Double sampleRate, - ffi.Pointer> outError)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Double, + ffi.Pointer>)>>() .asFunction< bool Function( ffi.Pointer, @@ -60765,10 +60445,10 @@ final _objc_msgSend_1163 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Long count, - ffi.Pointer> outError)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Long, + ffi.Pointer>)>>() .asFunction< bool Function( ffi.Pointer, @@ -60796,10 +60476,10 @@ final _objc_msgSend_1164 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Int32 orientation, - ffi.Pointer> outError)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer>)>>() .asFunction< bool Function( ffi.Pointer, @@ -60811,8 +60491,8 @@ late final _sel_preferredInputOrientation = final _objc_msgSend_1165 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Int32 Function(ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Int32 Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< int Function( ffi.Pointer, ffi.Pointer)>(); @@ -60826,10 +60506,10 @@ final _objc_msgSend_1166 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Float gain, - ffi.Pointer> outError)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Float, + ffi.Pointer>)>>() .asFunction< bool Function( ffi.Pointer, @@ -60872,8 +60552,8 @@ late final _sel_promptStyle = objc.registerName("promptStyle"); final _objc_msgSend_1167 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Int32 Function(ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Int32 Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< int Function( ffi.Pointer, ffi.Pointer)>(); @@ -61009,9 +60689,8 @@ late final _sel_currentRoute = objc.registerName("currentRoute"); final _objc_msgSend_1168 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -61027,10 +60706,10 @@ final _objc_msgSend_1169 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Int32 inIOType, - ffi.Pointer> outError)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer>)>>() .asFunction< bool Function( ffi.Pointer, @@ -61051,11 +60730,11 @@ final _objc_msgSend_1170 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Bool active, - ffi.Long flags, - ffi.Pointer> outError)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.Long, + ffi.Pointer>)>>() .asFunction< bool Function( ffi.Pointer, @@ -61417,10 +61096,10 @@ final _objc_msgSend_1171 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer data, - ffi.Pointer> outError)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -61433,11 +61112,11 @@ final _objc_msgSend_1172 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, - ffi.Pointer utiString, - ffi.Pointer> outError)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -61451,11 +61130,11 @@ final _objc_msgSend_1173 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer data, - ffi.Pointer utiString, - ffi.Pointer> outError)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -61469,8 +61148,8 @@ late final _sel_playAtTime_ = objc.registerName("playAtTime:"); final _objc_msgSend_1174 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer obj, - ffi.Pointer sel, ffi.Double time)>>() + ffi.Bool Function(ffi.Pointer, + ffi.Pointer, ffi.Double)>>() .asFunction< bool Function(ffi.Pointer, ffi.Pointer, double)>(); @@ -61488,11 +61167,8 @@ late final _sel_setVolume_fadeDuration_ = final _objc_msgSend_1175 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Float volume, - ffi.Double duration)>>() + ffi.Void Function(ffi.Pointer, + ffi.Pointer, ffi.Float, ffi.Double)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, double, double)>(); @@ -61790,9 +61466,9 @@ final _objc_msgSend_1176 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer asbd)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -61952,10 +61628,8 @@ late final _sel_initWithLayoutTag_ = objc.registerName("initWithLayoutTag:"); final _objc_msgSend_1177 = objc.msgSendPointer .cast< ffi.NativeFunction< - instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.UnsignedInt layoutTag)>>() + instancetype Function(ffi.Pointer, + ffi.Pointer, ffi.UnsignedInt)>>() .asFunction< instancetype Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -62027,9 +61701,9 @@ final _objc_msgSend_1178 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer layout)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< instancetype Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -62039,10 +61713,8 @@ late final _sel_layoutWithLayoutTag_ = final _objc_msgSend_1179 = objc.msgSendPointer .cast< ffi.NativeFunction< - instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.UnsignedInt layoutTag)>>() + instancetype Function(ffi.Pointer, + ffi.Pointer, ffi.UnsignedInt)>>() .asFunction< instancetype Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -62053,8 +61725,8 @@ final _objc_msgSend_1180 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -62062,8 +61734,8 @@ late final _sel_channelCount = objc.registerName("channelCount"); final _objc_msgSend_1181 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Uint32 Function(ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Uint32 Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< int Function( ffi.Pointer, ffi.Pointer)>(); @@ -62073,10 +61745,10 @@ final _objc_msgSend_1182 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer asbd, - ffi.Pointer layout)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -62088,11 +61760,8 @@ late final _sel_initStandardFormatWithSampleRate_channels_ = final _objc_msgSend_1183 = objc.msgSendPointer .cast< ffi.NativeFunction< - instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Double sampleRate, - ffi.Uint32 channels)>>() + instancetype Function(ffi.Pointer, + ffi.Pointer, ffi.Double, ffi.Uint32)>>() .asFunction< instancetype Function(ffi.Pointer, ffi.Pointer, double, int)>(); @@ -62102,10 +61771,10 @@ final _objc_msgSend_1184 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Double sampleRate, - ffi.Pointer layout)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Double, + ffi.Pointer)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -62127,12 +61796,12 @@ final _objc_msgSend_1185 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Int32 format, - ffi.Double sampleRate, - ffi.Uint32 channels, - ffi.Bool interleaved)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Double, + ffi.Uint32, + ffi.Bool)>>() .asFunction< instancetype Function(ffi.Pointer, ffi.Pointer, int, double, int, bool)>(); @@ -62143,12 +61812,12 @@ final _objc_msgSend_1186 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Int32 format, - ffi.Double sampleRate, - ffi.Bool interleaved, - ffi.Pointer layout)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Double, + ffi.Bool, + ffi.Pointer)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -62167,9 +61836,9 @@ final _objc_msgSend_1187 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer formatDescription)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -62180,8 +61849,8 @@ late final _sel_commonFormat = objc.registerName("commonFormat"); final _objc_msgSend_1188 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Int32 Function(ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Int32 Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< int Function( ffi.Pointer, ffi.Pointer)>(); @@ -62191,8 +61860,8 @@ final _objc_msgSend_1189 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -62200,9 +61869,8 @@ late final _sel_channelLayout = objc.registerName("channelLayout"); final _objc_msgSend_1190 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -62213,17 +61881,16 @@ final _objc_msgSend_1191 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); final _objc_msgSend_1192 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -62235,20 +61902,16 @@ late final _sel_peakPowerForChannel_ = final _objc_msgSend_1193 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Float Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.UnsignedLong channelNumber)>>() + ffi.Float Function(ffi.Pointer, + ffi.Pointer, ffi.UnsignedLong)>>() .asFunction< double Function(ffi.Pointer, ffi.Pointer, int)>(); final _objc_msgSend_1193Fpret = objc.msgSendFpretPointer .cast< ffi.NativeFunction< - ffi.Float Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.UnsignedLong channelNumber)>>() + ffi.Float Function(ffi.Pointer, + ffi.Pointer, ffi.UnsignedLong)>>() .asFunction< double Function(ffi.Pointer, ffi.Pointer, int)>(); diff --git a/pkgs/ffigen/example/swift/swift_api_bindings.dart b/pkgs/ffigen/example/swift/swift_api_bindings.dart index b41a07144..97c6d0ae7 100644 --- a/pkgs/ffigen/example/swift/swift_api_bindings.dart +++ b/pkgs/ffigen/example/swift/swift_api_bindings.dart @@ -966,8 +966,8 @@ late final _sel_load = objc.registerName("load"); final _objc_msgSend_1 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Void Function(ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Void Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, ffi.Pointer)>(); @@ -978,8 +978,8 @@ late final _sel_init = objc.registerName("init"); final _objc_msgSend_2 = objc.msgSendPointer .cast< ffi.NativeFunction< - instancetype Function(ffi.Pointer obj, - ffi.Pointer sel)>>() + instancetype Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< instancetype Function( ffi.Pointer, ffi.Pointer)>(); @@ -991,10 +991,8 @@ late final _sel_allocWithZone_ = objc.registerName("allocWithZone:"); final _objc_msgSend_3 = objc.msgSendPointer .cast< ffi.NativeFunction< - instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer<_NSZone> zone)>>() + instancetype Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer<_NSZone>)>>() .asFunction< instancetype Function(ffi.Pointer, ffi.Pointer, ffi.Pointer<_NSZone>)>(); @@ -1012,9 +1010,9 @@ final _objc_msgSend_4 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aSelector)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< bool Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -1045,9 +1043,9 @@ final _objc_msgSend_0 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer clazz)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< bool Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -1058,9 +1056,9 @@ final _objc_msgSend_5 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer protocol)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< bool Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -1069,9 +1067,9 @@ final _objc_msgSend_6 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer> Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aSelector)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer> Function( ffi.Pointer, @@ -1085,9 +1083,9 @@ final _objc_msgSend_7 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aSelector)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -1097,9 +1095,9 @@ final _objc_msgSend_8 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aSelector)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -1421,10 +1419,8 @@ late final _sel_signatureWithObjCTypes_ = final _objc_msgSend_9 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer types)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -1432,8 +1428,8 @@ late final _sel_numberOfArguments = objc.registerName("numberOfArguments"); final _objc_msgSend_10 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.UnsignedLong Function(ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.UnsignedLong Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< int Function( ffi.Pointer, ffi.Pointer)>(); @@ -1442,8 +1438,8 @@ late final _sel_getArgumentTypeAtIndex_ = final _objc_msgSend_11 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer obj, - ffi.Pointer sel, ffi.UnsignedLong idx)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.UnsignedLong)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -1452,8 +1448,8 @@ late final _sel_isOneway = objc.registerName("isOneway"); final _objc_msgSend_12 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Bool Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< bool Function( ffi.Pointer, ffi.Pointer)>(); @@ -1461,8 +1457,8 @@ late final _sel_methodReturnType = objc.registerName("methodReturnType"); final _objc_msgSend_13 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -1473,11 +1469,11 @@ final _objc_msgSend_14 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aTarget, - ffi.Pointer aSelector, - ffi.Pointer anArgument)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -1491,9 +1487,9 @@ final _objc_msgSend_15 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aTarget)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -1841,9 +1837,9 @@ final _objc_msgSend_16 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer object)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -1968,9 +1964,8 @@ late final _sel_nextObject = objc.registerName("nextObject"); final _objc_msgSend_17 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -3418,8 +3413,8 @@ late final _sel_characterAtIndex_ = objc.registerName("characterAtIndex:"); final _objc_msgSend_18 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.UnsignedShort Function(ffi.Pointer obj, - ffi.Pointer sel, ffi.UnsignedLong index)>>() + ffi.UnsignedShort Function(ffi.Pointer, + ffi.Pointer, ffi.UnsignedLong)>>() .asFunction< int Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -3979,10 +3974,10 @@ final _objc_msgSend_19 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer type, - ffi.Pointer addr)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -4405,8 +4400,8 @@ late final _sel_bytes = objc.registerName("bytes"); final _objc_msgSend_20 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -4414,9 +4409,8 @@ late final _sel_description = objc.registerName("description"); final _objc_msgSend_21 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -4425,10 +4419,10 @@ final _objc_msgSend_22 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer buffer, - ffi.UnsignedLong length)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer, int)>(); @@ -4446,10 +4440,10 @@ final _objc_msgSend_23 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer buffer, - _NSRange range)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer, _NSRange)>(); @@ -4458,9 +4452,9 @@ final _objc_msgSend_24 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer other)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< bool Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -4468,10 +4462,8 @@ late final _sel_subdataWithRange_ = objc.registerName("subdataWithRange:"); final _objc_msgSend_25 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - _NSRange range)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, _NSRange)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, _NSRange)>(); @@ -4481,10 +4473,10 @@ final _objc_msgSend_26 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, - ffi.Bool useAuxiliaryFile)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool)>>() .asFunction< bool Function( ffi.Pointer, @@ -5270,11 +5262,11 @@ final _objc_msgSend_27 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer scheme, - ffi.Pointer host, - ffi.Pointer path)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -5288,11 +5280,11 @@ final _objc_msgSend_28 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, - ffi.Bool isDir, - ffi.Pointer baseURL)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.Pointer)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -5306,10 +5298,10 @@ final _objc_msgSend_29 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, - ffi.Pointer baseURL)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -5322,10 +5314,10 @@ final _objc_msgSend_30 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, - ffi.Bool isDir)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -5338,9 +5330,9 @@ final _objc_msgSend_31 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< instancetype Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -5350,11 +5342,11 @@ final _objc_msgSend_32 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, - ffi.Bool isDir, - ffi.Pointer baseURL)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -5368,10 +5360,10 @@ final _objc_msgSend_33 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, - ffi.Pointer baseURL)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -5384,10 +5376,10 @@ final _objc_msgSend_34 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, - ffi.Bool isDir)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -5399,9 +5391,9 @@ final _objc_msgSend_35 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -5412,11 +5404,11 @@ final _objc_msgSend_36 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, - ffi.Bool isDir, - ffi.Pointer baseURL)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.Pointer)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -5431,11 +5423,11 @@ final _objc_msgSend_37 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, - ffi.Bool isDir, - ffi.Pointer baseURL)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -5448,9 +5440,9 @@ final _objc_msgSend_38 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer URLString)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< instancetype Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -5460,10 +5452,10 @@ final _objc_msgSend_39 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer URLString, - ffi.Pointer baseURL)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -5479,10 +5471,10 @@ final _objc_msgSend_40 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer URLString, - ffi.Bool encodingInvalidCharacters)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -5497,10 +5489,10 @@ final _objc_msgSend_41 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer data, - ffi.Pointer baseURL)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -5513,10 +5505,10 @@ final _objc_msgSend_42 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer data, - ffi.Pointer baseURL)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -5531,9 +5523,8 @@ late final _sel_dataRepresentation = objc.registerName("dataRepresentation"); final _objc_msgSend_43 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -5541,9 +5532,8 @@ late final _sel_absoluteString = objc.registerName("absoluteString"); final _objc_msgSend_44 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -5552,9 +5542,8 @@ late final _sel_baseURL = objc.registerName("baseURL"); final _objc_msgSend_45 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -6221,10 +6210,10 @@ final _objc_msgSend_46 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, - ffi.Pointer type)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -6236,9 +6225,9 @@ final _objc_msgSend_47 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer coder)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< instancetype Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -6248,10 +6237,10 @@ final _objc_msgSend_48 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, - ffi.Pointer type)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -6265,9 +6254,9 @@ final _objc_msgSend_49 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer anObject)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -6277,10 +6266,8 @@ late final _sel_valueWithPointer_ = objc.registerName("valueWithPointer:"); final _objc_msgSend_50 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer pointer)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -6290,9 +6277,9 @@ final _objc_msgSend_51 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< bool Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -6300,10 +6287,8 @@ late final _sel_getValue_ = objc.registerName("getValue:"); final _objc_msgSend_52 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value)>>() + ffi.Void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -6311,10 +6296,8 @@ late final _sel_valueWithRange_ = objc.registerName("valueWithRange:"); final _objc_msgSend_53 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - _NSRange range)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, _NSRange)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, _NSRange)>(); @@ -6322,8 +6305,8 @@ late final _sel_rangeValue = objc.registerName("rangeValue"); final _objc_msgSend_54 = objc.msgSendPointer .cast< ffi.NativeFunction< - _NSRange Function(ffi.Pointer obj, - ffi.Pointer sel)>>() + _NSRange Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< _NSRange Function( ffi.Pointer, ffi.Pointer)>(); @@ -6331,9 +6314,9 @@ final _objc_msgSend_54Stret = objc.msgSendStretPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer<_NSRange> stret, - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer<_NSRange>, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer<_NSRange>, ffi.Pointer, ffi.Pointer)>(); @@ -6350,10 +6333,8 @@ late final _sel_valueWithPoint_ = objc.registerName("valueWithPoint:"); final _objc_msgSend_55 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - CGPoint point)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, CGPoint)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, CGPoint)>(); @@ -6370,10 +6351,8 @@ late final _sel_valueWithSize_ = objc.registerName("valueWithSize:"); final _objc_msgSend_56 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - CGSize size)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, CGSize)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, CGSize)>(); @@ -6388,10 +6367,8 @@ late final _sel_valueWithRect_ = objc.registerName("valueWithRect:"); final _objc_msgSend_57 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - CGRect rect)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, CGRect)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, CGRect)>(); @@ -6415,10 +6392,8 @@ late final _sel_valueWithEdgeInsets_ = final _objc_msgSend_58 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - NSEdgeInsets insets)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, NSEdgeInsets)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, NSEdgeInsets)>(); @@ -6426,8 +6401,8 @@ late final _sel_pointValue = objc.registerName("pointValue"); final _objc_msgSend_59 = objc.msgSendPointer .cast< ffi.NativeFunction< - CGPoint Function(ffi.Pointer obj, - ffi.Pointer sel)>>() + CGPoint Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< CGPoint Function( ffi.Pointer, ffi.Pointer)>(); @@ -6435,9 +6410,9 @@ final _objc_msgSend_59Stret = objc.msgSendStretPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer stret, - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -6445,18 +6420,16 @@ late final _sel_sizeValue = objc.registerName("sizeValue"); final _objc_msgSend_60 = objc.msgSendPointer .cast< ffi.NativeFunction< - CGSize Function(ffi.Pointer obj, - ffi.Pointer sel)>>() + CGSize Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< CGSize Function( ffi.Pointer, ffi.Pointer)>(); final _objc_msgSend_60Stret = objc.msgSendStretPointer .cast< ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer stret, - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Void Function(ffi.Pointer, ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -6464,18 +6437,16 @@ late final _sel_rectValue = objc.registerName("rectValue"); final _objc_msgSend_61 = objc.msgSendPointer .cast< ffi.NativeFunction< - CGRect Function(ffi.Pointer obj, - ffi.Pointer sel)>>() + CGRect Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< CGRect Function( ffi.Pointer, ffi.Pointer)>(); final _objc_msgSend_61Stret = objc.msgSendStretPointer .cast< ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer stret, - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Void Function(ffi.Pointer, ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -6483,8 +6454,8 @@ late final _sel_edgeInsetsValue = objc.registerName("edgeInsetsValue"); final _objc_msgSend_62 = objc.msgSendPointer .cast< ffi.NativeFunction< - NSEdgeInsets Function(ffi.Pointer obj, - ffi.Pointer sel)>>() + NSEdgeInsets Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< NSEdgeInsets Function( ffi.Pointer, ffi.Pointer)>(); @@ -6492,9 +6463,9 @@ final _objc_msgSend_62Stret = objc.msgSendStretPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer stret, - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -6504,9 +6475,9 @@ final _objc_msgSend_63 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer key)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -6516,9 +6487,9 @@ final _objc_msgSend_64 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer key)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< bool Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -7164,10 +7135,8 @@ late final _sel_objectAtIndex_ = objc.registerName("objectAtIndex:"); final _objc_msgSend_65 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.UnsignedLong index)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.UnsignedLong)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -7177,10 +7146,10 @@ final _objc_msgSend_66 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer> objects, - ffi.UnsignedLong cnt)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.UnsignedLong)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -7193,9 +7162,9 @@ final _objc_msgSend_67 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer anObject)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -7205,9 +7174,9 @@ final _objc_msgSend_68 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer otherArray)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -7217,9 +7186,9 @@ final _objc_msgSend_69 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer separator)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -7230,9 +7199,9 @@ final _objc_msgSend_70 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer locale)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -7242,10 +7211,10 @@ final _objc_msgSend_71 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer locale, - ffi.UnsignedLong level)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -7258,9 +7227,9 @@ final _objc_msgSend_72 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer otherArray)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -7269,10 +7238,10 @@ final _objc_msgSend_73 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer> objects, - _NSRange range)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + _NSRange)>>() .asFunction< void Function( ffi.Pointer, @@ -7284,9 +7253,9 @@ final _objc_msgSend_74 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.UnsignedLong Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer anObject)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< int Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -7296,10 +7265,10 @@ final _objc_msgSend_75 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.UnsignedLong Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer anObject, - _NSRange range)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange)>>() .asFunction< int Function( ffi.Pointer, @@ -7315,9 +7284,9 @@ final _objc_msgSend_76 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer otherArray)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< bool Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -7327,9 +7296,8 @@ late final _sel_objectEnumerator = objc.registerName("objectEnumerator"); final _objc_msgSend_77 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -7342,16 +7310,15 @@ final _objc_msgSend_78 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer, + ffi.Pointer, ffi.Pointer< - ffi.NativeFunction< - ffi.Long Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>> - comparator, - ffi.Pointer context)>>() + ffi.NativeFunction< + ffi.Long Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -7367,17 +7334,16 @@ final _objc_msgSend_79 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer, + ffi.Pointer, ffi.Pointer< - ffi.NativeFunction< - ffi.Long Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>> - comparator, - ffi.Pointer context, - ffi.Pointer hint)>>() + ffi.NativeFunction< + ffi.Long Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -7394,9 +7360,9 @@ final _objc_msgSend_80 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer comparator)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -7404,10 +7370,8 @@ late final _sel_subarrayWithRange_ = objc.registerName("subarrayWithRange:"); final _objc_msgSend_81 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - _NSRange range)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, _NSRange)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, _NSRange)>(); @@ -7625,11 +7589,11 @@ final _objc_msgSend_82 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer domain, - ffi.Long code, - ffi.Pointer dict)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Long, + ffi.Pointer)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -7644,8 +7608,8 @@ late final _sel_code = objc.registerName("code"); final _objc_msgSend_83 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Long Function(ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Long Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< int Function( ffi.Pointer, ffi.Pointer)>(); @@ -7661,9 +7625,8 @@ late final _sel_localizedRecoveryOptions = final _objc_msgSend_84 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -7673,9 +7636,8 @@ late final _sel_underlyingErrors = objc.registerName("underlyingErrors"); final _objc_msgSend_85 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -7803,10 +7765,10 @@ final _objc_msgSend_86 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer errorDomain, - ffi.Pointer provider)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -7819,11 +7781,11 @@ final _objc_msgSend_87 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer err, - ffi.Pointer userInfoKey, - ffi.Pointer errorDomain)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -7837,10 +7799,10 @@ final _objc_msgSend_88 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer keys, - ffi.Pointer dependentKey)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -7856,10 +7818,10 @@ final _objc_msgSend_89 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, - ffi.Pointer> error)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>>() .asFunction< bool Function( ffi.Pointer, @@ -7874,10 +7836,10 @@ final _objc_msgSend_90 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aSelector, - ffi.Pointer argument)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -8178,8 +8140,8 @@ late final _sel_indexSetWithIndexesInRange_ = final _objc_msgSend_91 = objc.msgSendPointer .cast< ffi.NativeFunction< - instancetype Function(ffi.Pointer obj, - ffi.Pointer sel, _NSRange range)>>() + instancetype Function(ffi.Pointer, + ffi.Pointer, _NSRange)>>() .asFunction< instancetype Function(ffi.Pointer, ffi.Pointer, _NSRange)>(); @@ -8190,9 +8152,9 @@ final _objc_msgSend_92 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer indexSet)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< instancetype Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -8202,9 +8164,9 @@ final _objc_msgSend_93 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer indexSet)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< bool Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -8215,8 +8177,8 @@ late final _sel_indexGreaterThanIndex_ = final _objc_msgSend_94 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.UnsignedLong Function(ffi.Pointer obj, - ffi.Pointer sel, ffi.UnsignedLong value)>>() + ffi.UnsignedLong Function(ffi.Pointer, + ffi.Pointer, ffi.UnsignedLong)>>() .asFunction< int Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -8231,11 +8193,11 @@ final _objc_msgSend_95 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.UnsignedLong Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer indexBuffer, - ffi.UnsignedLong bufferSize, - ffi.Pointer<_NSRange> range)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer<_NSRange>)>>() .asFunction< int Function( ffi.Pointer, @@ -8248,8 +8210,8 @@ late final _sel_countOfIndexesInRange_ = final _objc_msgSend_96 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.UnsignedLong Function(ffi.Pointer obj, - ffi.Pointer sel, _NSRange range)>>() + ffi.UnsignedLong Function(ffi.Pointer, + ffi.Pointer, _NSRange)>>() .asFunction< int Function(ffi.Pointer, ffi.Pointer, _NSRange)>(); @@ -8257,8 +8219,8 @@ late final _sel_containsIndex_ = objc.registerName("containsIndex:"); final _objc_msgSend_97 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer obj, - ffi.Pointer sel, ffi.UnsignedLong value)>>() + ffi.Bool Function(ffi.Pointer, + ffi.Pointer, ffi.UnsignedLong)>>() .asFunction< bool Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -8267,8 +8229,8 @@ late final _sel_containsIndexesInRange_ = final _objc_msgSend_98 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer obj, - ffi.Pointer sel, _NSRange range)>>() + ffi.Bool Function(ffi.Pointer, + ffi.Pointer, _NSRange)>>() .asFunction< bool Function(ffi.Pointer, ffi.Pointer, _NSRange)>(); @@ -8393,10 +8355,8 @@ late final _sel_enumerateIndexesUsingBlock_ = final _objc_msgSend_99 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer block)>>() + ffi.Void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -8412,10 +8372,10 @@ final _objc_msgSend_100 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Int32 opts, - ffi.Pointer block)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -8428,11 +8388,11 @@ final _objc_msgSend_101 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - _NSRange range, - ffi.Int32 opts, - ffi.Pointer block)>>() + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Int32, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -8534,10 +8494,8 @@ late final _sel_indexPassingTest_ = objc.registerName("indexPassingTest:"); final _objc_msgSend_102 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer predicate)>>() + ffi.UnsignedLong Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>>() .asFunction< int Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -8547,10 +8505,10 @@ final _objc_msgSend_103 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.UnsignedLong Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Int32 opts, - ffi.Pointer predicate)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer)>>() .asFunction< int Function( ffi.Pointer, @@ -8563,11 +8521,11 @@ final _objc_msgSend_104 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.UnsignedLong Function( - ffi.Pointer obj, - ffi.Pointer sel, - _NSRange range, - ffi.Int32 opts, - ffi.Pointer predicate)>>() + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Int32, + ffi.Pointer)>>() .asFunction< int Function( ffi.Pointer, @@ -8579,10 +8537,8 @@ late final _sel_indexesPassingTest_ = objc.registerName("indexesPassingTest:"); final _objc_msgSend_105 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer predicate)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -8592,10 +8548,10 @@ final _objc_msgSend_106 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Int32 opts, - ffi.Pointer predicate)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -8608,11 +8564,11 @@ final _objc_msgSend_107 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - _NSRange range, - ffi.Int32 opts, - ffi.Pointer predicate)>>() + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Int32, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -8740,10 +8696,8 @@ late final _sel_enumerateRangesUsingBlock_ = final _objc_msgSend_108 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer block)>>() + ffi.Void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -8753,10 +8707,10 @@ final _objc_msgSend_109 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Int32 opts, - ffi.Pointer block)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -8769,11 +8723,11 @@ final _objc_msgSend_110 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - _NSRange range, - ffi.Int32 opts, - ffi.Pointer block)>>() + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Int32, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -8786,9 +8740,9 @@ final _objc_msgSend_111 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer indexes)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -8949,10 +8903,8 @@ late final _sel_enumerateObjectsUsingBlock_ = final _objc_msgSend_112 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer block)>>() + ffi.Void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -8962,10 +8914,10 @@ final _objc_msgSend_113 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Int32 opts, - ffi.Pointer block)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -8978,11 +8930,11 @@ final _objc_msgSend_114 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer s, - ffi.Int32 opts, - ffi.Pointer block)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -9111,10 +9063,8 @@ late final _sel_indexOfObjectPassingTest_ = final _objc_msgSend_115 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer predicate)>>() + ffi.UnsignedLong Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>>() .asFunction< int Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -9124,10 +9074,10 @@ final _objc_msgSend_116 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.UnsignedLong Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Int32 opts, - ffi.Pointer predicate)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer)>>() .asFunction< int Function( ffi.Pointer, @@ -9140,11 +9090,11 @@ final _objc_msgSend_117 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.UnsignedLong Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer s, - ffi.Int32 opts, - ffi.Pointer predicate)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer)>>() .asFunction< int Function( ffi.Pointer, @@ -9157,10 +9107,8 @@ late final _sel_indexesOfObjectsPassingTest_ = final _objc_msgSend_118 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer predicate)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -9170,10 +9118,10 @@ final _objc_msgSend_119 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Int32 opts, - ffi.Pointer predicate)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -9186,11 +9134,11 @@ final _objc_msgSend_120 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer s, - ffi.Int32 opts, - ffi.Pointer predicate)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -9319,10 +9267,8 @@ late final _sel_sortedArrayUsingComparator_ = final _objc_msgSend_121 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer cmptr)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -9338,10 +9284,10 @@ final _objc_msgSend_122 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Int32 opts, - ffi.Pointer cmptr)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -9361,12 +9307,12 @@ final _objc_msgSend_123 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.UnsignedLong Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer obj, - _NSRange r, - ffi.Int32 opts, - ffi.Pointer cmp)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Int32, + ffi.Pointer)>>() .asFunction< int Function( ffi.Pointer, @@ -9381,9 +9327,9 @@ final _objc_msgSend_124 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer anObject)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< instancetype Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -9395,9 +9341,9 @@ final _objc_msgSend_125 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer array)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< instancetype Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -9409,10 +9355,10 @@ final _objc_msgSend_126 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer array, - ffi.Bool flag)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -9425,10 +9371,10 @@ final _objc_msgSend_127 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, - ffi.Pointer> error)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -9561,11 +9507,11 @@ final _objc_msgSend_128 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer other, - ffi.Int32 options, - ffi.Pointer block)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -9579,10 +9525,10 @@ final _objc_msgSend_129 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer other, - ffi.Int32 options)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -9597,9 +9543,9 @@ final _objc_msgSend_130 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer difference)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -9608,9 +9554,9 @@ final _objc_msgSend_131 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer> objects)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>>() .asFunction< void Function( ffi.Pointer, @@ -9622,9 +9568,9 @@ final _objc_msgSend_132 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -9634,9 +9580,9 @@ final _objc_msgSend_133 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -9650,10 +9596,10 @@ final _objc_msgSend_134 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, - ffi.Bool atomically)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool)>>() .asFunction< bool Function( ffi.Pointer, @@ -9668,10 +9614,10 @@ final _objc_msgSend_135 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, - ffi.Pointer key)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -9693,13 +9639,13 @@ final _objc_msgSend_136 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer observer, - ffi.Pointer indexes, - ffi.Pointer keyPath, - ffi.Int32 options, - ffi.Pointer context)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -9715,12 +9661,12 @@ final _objc_msgSend_137 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer observer, - ffi.Pointer indexes, - ffi.Pointer keyPath, - ffi.Pointer context)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -9735,11 +9681,11 @@ final _objc_msgSend_138 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer observer, - ffi.Pointer indexes, - ffi.Pointer keyPath)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -9753,12 +9699,12 @@ final _objc_msgSend_139 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer observer, - ffi.Pointer keyPath, - ffi.Int32 options, - ffi.Pointer context)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -9773,11 +9719,11 @@ final _objc_msgSend_140 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer observer, - ffi.Pointer keyPath, - ffi.Pointer context)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -9791,10 +9737,10 @@ final _objc_msgSend_141 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer observer, - ffi.Pointer keyPath)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -9986,10 +9932,10 @@ final _objc_msgSend_142 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer predicateFormat, - ffi.Pointer arguments)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -10002,9 +9948,9 @@ final _objc_msgSend_143 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer predicateFormat)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -10027,10 +9973,10 @@ final _objc_msgSend_144 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer predicateFormat, - ffi.Pointer<__va_list_tag> argList)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<__va_list_tag>)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -10043,9 +9989,9 @@ final _objc_msgSend_145 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer queryString)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -10053,10 +9999,8 @@ late final _sel_predicateWithValue_ = objc.registerName("predicateWithValue:"); final _objc_msgSend_146 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Bool value)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Bool)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, bool)>(); @@ -10683,11 +10627,11 @@ final _objc_msgSend_147 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer> objects, - ffi.Pointer> keys, - ffi.UnsignedLong cnt)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer>, + ffi.UnsignedLong)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -10706,9 +10650,9 @@ final _objc_msgSend_148 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer otherDictionary)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< bool Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -10718,10 +10662,10 @@ final _objc_msgSend_149 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer keys, - ffi.Pointer marker)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -10736,11 +10680,11 @@ final _objc_msgSend_150 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer> objects, - ffi.Pointer> keys, - ffi.UnsignedLong count)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer>, + ffi.UnsignedLong)>>() .asFunction< void Function( ffi.Pointer, @@ -10915,10 +10859,8 @@ late final _sel_enumerateKeysAndObjectsUsingBlock_ = final _objc_msgSend_151 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer block)>>() + ffi.Void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -10928,10 +10870,10 @@ final _objc_msgSend_152 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Int32 opts, - ffi.Pointer block)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -11070,10 +11012,8 @@ late final _sel_keysOfEntriesPassingTest_ = final _objc_msgSend_153 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer predicate)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -11083,10 +11023,10 @@ final _objc_msgSend_154 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Int32 opts, - ffi.Pointer predicate)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -11098,10 +11038,10 @@ final _objc_msgSend_155 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer> objects, - ffi.Pointer> keys)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer>)>>() .asFunction< void Function( ffi.Pointer, @@ -11114,9 +11054,9 @@ final _objc_msgSend_156 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -11126,9 +11066,9 @@ final _objc_msgSend_157 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -11139,10 +11079,10 @@ final _objc_msgSend_158 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer object, - ffi.Pointer key)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -11159,9 +11099,9 @@ final _objc_msgSend_159 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer dict)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< instancetype Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -11171,10 +11111,10 @@ final _objc_msgSend_160 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer objects, - ffi.Pointer keys)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -11190,10 +11130,10 @@ final _objc_msgSend_161 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer otherDictionary, - ffi.Bool flag)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -11206,10 +11146,10 @@ final _objc_msgSend_162 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, - ffi.Pointer> error)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -11239,11 +11179,11 @@ final _objc_msgSend_163 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.UnsignedLong Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer state, - ffi.Pointer> buffer, - ffi.UnsignedLong len)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.UnsignedLong)>>() .asFunction< int Function( ffi.Pointer, @@ -11255,8 +11195,8 @@ late final _sel_fileSize = objc.registerName("fileSize"); final _objc_msgSend_164 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.UnsignedLongLong Function(ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.UnsignedLongLong Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< int Function( ffi.Pointer, ffi.Pointer)>(); @@ -11572,16 +11512,16 @@ late final _sel_timeIntervalSinceReferenceDate = final _objc_msgSend_165 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Double Function(ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Double Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< double Function( ffi.Pointer, ffi.Pointer)>(); final _objc_msgSend_165Fpret = objc.msgSendFpretPointer .cast< ffi.NativeFunction< - ffi.Double Function(ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Double Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< double Function( ffi.Pointer, ffi.Pointer)>(); @@ -11590,8 +11530,8 @@ late final _sel_initWithTimeIntervalSinceReferenceDate_ = final _objc_msgSend_166 = objc.msgSendPointer .cast< ffi.NativeFunction< - instancetype Function(ffi.Pointer obj, - ffi.Pointer sel, ffi.Double ti)>>() + instancetype Function(ffi.Pointer, + ffi.Pointer, ffi.Double)>>() .asFunction< instancetype Function(ffi.Pointer, ffi.Pointer, double)>(); @@ -11601,9 +11541,9 @@ final _objc_msgSend_167 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Double Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer anotherDate)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< double Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -11611,9 +11551,9 @@ final _objc_msgSend_167Fpret = objc.msgSendFpretPointer .cast< ffi.NativeFunction< ffi.Double Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer anotherDate)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< double Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -11629,9 +11569,9 @@ final _objc_msgSend_168 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer anotherDate)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -11641,9 +11581,9 @@ final _objc_msgSend_169 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Int32 Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer other)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< int Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -11652,9 +11592,9 @@ final _objc_msgSend_170 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer otherDate)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< bool Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -11671,10 +11611,10 @@ final _objc_msgSend_171 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Double secsToBeAdded, - ffi.Pointer date)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Double, + ffi.Pointer)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -11685,9 +11625,8 @@ late final _sel_distantFuture = objc.registerName("distantFuture"); final _objc_msgSend_172 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -11705,10 +11644,10 @@ final _objc_msgSend_173 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer string, - ffi.Pointer locale)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -12165,11 +12104,11 @@ final _objc_msgSend_174 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer description, - ffi.Pointer format, - ffi.Pointer locale)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -12183,10 +12122,10 @@ final _objc_msgSend_175 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer description, - ffi.Pointer format)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -12489,9 +12428,9 @@ final _objc_msgSend_176 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Long Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aDate)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< int Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -12501,9 +12440,9 @@ final _objc_msgSend_177 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aDate)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -12517,9 +12456,9 @@ final _objc_msgSend_178 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aDate)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -12527,9 +12466,8 @@ late final _sel_systemTimeZone = objc.registerName("systemTimeZone"); final _objc_msgSend_179 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -12540,9 +12478,9 @@ final _objc_msgSend_180 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -12553,9 +12491,8 @@ late final _sel_abbreviationDictionary = final _objc_msgSend_181 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -12565,9 +12502,9 @@ final _objc_msgSend_182 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -12583,9 +12520,8 @@ late final _sel_nextDaylightSavingTimeTransition = final _objc_msgSend_183 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -12594,9 +12530,9 @@ final _objc_msgSend_184 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aTimeZone)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< bool Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -13033,10 +12969,10 @@ final _objc_msgSend_185 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer key, - ffi.Pointer value)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -13055,9 +12991,9 @@ final _objc_msgSend_186 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer languageCode)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -13367,9 +13303,8 @@ late final _sel_controlCharacterSet = objc.registerName("controlCharacterSet"); final _objc_msgSend_187 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -13401,10 +13336,8 @@ late final _sel_characterSetWithRange_ = final _objc_msgSend_188 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - _NSRange aRange)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, _NSRange)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, _NSRange)>(); @@ -13414,9 +13347,9 @@ final _objc_msgSend_189 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aString)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -13426,9 +13359,9 @@ final _objc_msgSend_190 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer data)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -13438,9 +13371,9 @@ final _objc_msgSend_191 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer fName)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -13448,9 +13381,9 @@ final _objc_msgSend_192 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer coder)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< instancetype Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -13458,10 +13391,8 @@ late final _sel_characterIsMember_ = objc.registerName("characterIsMember:"); final _objc_msgSend_193 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.UnsignedShort aCharacter)>>() + ffi.Bool Function(ffi.Pointer, + ffi.Pointer, ffi.UnsignedShort)>>() .asFunction< bool Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -13473,10 +13404,8 @@ late final _sel_longCharacterIsMember_ = final _objc_msgSend_194 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.UnsignedInt theLongChar)>>() + ffi.Bool Function(ffi.Pointer, + ffi.Pointer, ffi.UnsignedInt)>>() .asFunction< bool Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -13485,9 +13414,9 @@ final _objc_msgSend_195 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer theOtherSet)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< bool Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -13495,8 +13424,8 @@ late final _sel_hasMemberInPlane_ = objc.registerName("hasMemberInPlane:"); final _objc_msgSend_196 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer obj, - ffi.Pointer sel, ffi.Uint8 thePlane)>>() + ffi.Bool Function(ffi.Pointer, + ffi.Pointer, ffi.Uint8)>>() .asFunction< bool Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -13543,9 +13472,8 @@ late final _sel_autoupdatingCurrentLocale = final _objc_msgSend_197 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -13567,9 +13495,9 @@ final _objc_msgSend_198 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer string)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -13579,9 +13507,9 @@ final _objc_msgSend_199 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer dict)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -13594,10 +13522,8 @@ late final _sel_localeIdentifierFromWindowsLocaleCode_ = final _objc_msgSend_200 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Uint32 lcid)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Uint32)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -13607,9 +13533,9 @@ final _objc_msgSend_201 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Uint32 Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer localeIdentifier)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< int Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -13628,9 +13554,9 @@ final _objc_msgSend_202 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Int32 Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer isoLangCode)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< int Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -13642,10 +13568,10 @@ final _objc_msgSend_203 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Int32 style, - ffi.Pointer locale)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -13659,10 +13585,10 @@ final _objc_msgSend_204 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer tzName, - ffi.Pointer aData)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -13676,8 +13602,8 @@ late final _sel_timeZoneForSecondsFromGMT_ = final _objc_msgSend_205 = objc.msgSendPointer .cast< ffi.NativeFunction< - instancetype Function(ffi.Pointer obj, - ffi.Pointer sel, ffi.Long seconds)>>() + instancetype Function(ffi.Pointer, + ffi.Pointer, ffi.Long)>>() .asFunction< instancetype Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -13689,15 +13615,15 @@ final _objc_msgSend_206 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Long year, - ffi.UnsignedLong month, - ffi.UnsignedLong day, - ffi.UnsignedLong hour, - ffi.UnsignedLong minute, - ffi.UnsignedLong second, - ffi.Pointer aTimeZone)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Long, + ffi.UnsignedLong, + ffi.UnsignedLong, + ffi.UnsignedLong, + ffi.UnsignedLong, + ffi.UnsignedLong, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -13715,14 +13641,14 @@ final _objc_msgSend_207 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Long year, - ffi.Long month, - ffi.Long day, - ffi.Long hour, - ffi.Long minute, - ffi.Long second)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Long, + ffi.Long, + ffi.Long, + ffi.Long, + ffi.Long, + ffi.Long)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, int, int, int, int, int, int)>(); @@ -13742,10 +13668,10 @@ final _objc_msgSend_208 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer format, - ffi.Pointer locale)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -13766,9 +13692,9 @@ final _objc_msgSend_209 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer format)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -13777,9 +13703,9 @@ final _objc_msgSend_210 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aTimeZone)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -13789,15 +13715,15 @@ final _objc_msgSend_211 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer yp, - ffi.Pointer mop, - ffi.Pointer dp, - ffi.Pointer hp, - ffi.Pointer mip, - ffi.Pointer sp, - ffi.Pointer date)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -13815,10 +13741,10 @@ final _objc_msgSend_212 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer format, - ffi.Pointer aTimeZone)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -13831,11 +13757,11 @@ final _objc_msgSend_213 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer format, - ffi.Pointer aTimeZone, - ffi.Pointer locale)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -13860,8 +13786,8 @@ late final _sel_fileHFSCreatorCode = objc.registerName("fileHFSCreatorCode"); final _objc_msgSend_214 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.UnsignedInt Function(ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.UnsignedInt Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< int Function( ffi.Pointer, ffi.Pointer)>(); @@ -13873,9 +13799,8 @@ late final _sel_fileOwnerAccountID = objc.registerName("fileOwnerAccountID"); final _objc_msgSend_215 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -13885,10 +13810,8 @@ late final _sel_predicateWithBlock_ = objc.registerName("predicateWithBlock:"); final _objc_msgSend_216 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer block)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -13900,9 +13823,9 @@ final _objc_msgSend_217 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer object)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< bool Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -13912,10 +13835,10 @@ final _objc_msgSend_218 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer object, - ffi.Pointer bindings)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< bool Function( ffi.Pointer, @@ -13929,9 +13852,9 @@ final _objc_msgSend_219 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer predicate)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -13939,10 +13862,8 @@ late final _sel_initWithChar_ = objc.registerName("initWithChar:"); final _objc_msgSend_220 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Char value)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Char)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -13951,10 +13872,8 @@ late final _sel_initWithUnsignedChar_ = final _objc_msgSend_221 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.UnsignedChar value)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.UnsignedChar)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -13962,10 +13881,8 @@ late final _sel_initWithShort_ = objc.registerName("initWithShort:"); final _objc_msgSend_222 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Short value)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Short)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -13974,10 +13891,8 @@ late final _sel_initWithUnsignedShort_ = final _objc_msgSend_223 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.UnsignedShort value)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.UnsignedShort)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -13985,10 +13900,8 @@ late final _sel_initWithInt_ = objc.registerName("initWithInt:"); final _objc_msgSend_224 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Int value)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Int)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -13997,10 +13910,8 @@ late final _sel_initWithUnsignedInt_ = final _objc_msgSend_225 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.UnsignedInt value)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.UnsignedInt)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -14008,10 +13919,8 @@ late final _sel_initWithLong_ = objc.registerName("initWithLong:"); final _objc_msgSend_226 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Long value)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Long)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -14020,10 +13929,8 @@ late final _sel_initWithUnsignedLong_ = final _objc_msgSend_227 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.UnsignedLong value)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.UnsignedLong)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -14031,10 +13938,8 @@ late final _sel_initWithLongLong_ = objc.registerName("initWithLongLong:"); final _objc_msgSend_228 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.LongLong value)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.LongLong)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -14043,10 +13948,8 @@ late final _sel_initWithUnsignedLongLong_ = final _objc_msgSend_229 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.UnsignedLongLong value)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.UnsignedLongLong)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -14054,10 +13957,8 @@ late final _sel_initWithFloat_ = objc.registerName("initWithFloat:"); final _objc_msgSend_230 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Float value)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Float)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, double)>(); @@ -14065,10 +13966,8 @@ late final _sel_initWithDouble_ = objc.registerName("initWithDouble:"); final _objc_msgSend_231 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Double value)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Double)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, double)>(); @@ -14076,10 +13975,8 @@ late final _sel_initWithBool_ = objc.registerName("initWithBool:"); final _objc_msgSend_232 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Bool value)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Bool)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, bool)>(); @@ -14090,8 +13987,8 @@ late final _sel_charValue = objc.registerName("charValue"); final _objc_msgSend_233 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Char Function(ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Char Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< int Function( ffi.Pointer, ffi.Pointer)>(); @@ -14099,8 +13996,8 @@ late final _sel_unsignedCharValue = objc.registerName("unsignedCharValue"); final _objc_msgSend_234 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.UnsignedChar Function(ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.UnsignedChar Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< int Function( ffi.Pointer, ffi.Pointer)>(); @@ -14108,8 +14005,8 @@ late final _sel_shortValue = objc.registerName("shortValue"); final _objc_msgSend_235 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Short Function(ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Short Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< int Function( ffi.Pointer, ffi.Pointer)>(); @@ -14117,8 +14014,8 @@ late final _sel_unsignedShortValue = objc.registerName("unsignedShortValue"); final _objc_msgSend_236 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.UnsignedShort Function(ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.UnsignedShort Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< int Function( ffi.Pointer, ffi.Pointer)>(); @@ -14126,8 +14023,8 @@ late final _sel_intValue = objc.registerName("intValue"); final _objc_msgSend_237 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Int Function(ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Int Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< int Function( ffi.Pointer, ffi.Pointer)>(); @@ -14138,8 +14035,8 @@ late final _sel_longLongValue = objc.registerName("longLongValue"); final _objc_msgSend_238 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.LongLong Function(ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.LongLong Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< int Function( ffi.Pointer, ffi.Pointer)>(); @@ -14149,16 +14046,16 @@ late final _sel_floatValue = objc.registerName("floatValue"); final _objc_msgSend_239 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Float Function(ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Float Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< double Function( ffi.Pointer, ffi.Pointer)>(); final _objc_msgSend_239Fpret = objc.msgSendFpretPointer .cast< ffi.NativeFunction< - ffi.Float Function(ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Float Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< double Function( ffi.Pointer, ffi.Pointer)>(); @@ -14172,9 +14069,9 @@ final _objc_msgSend_240 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Int32 Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer otherNumber)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< int Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -14183,9 +14080,9 @@ final _objc_msgSend_241 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer number)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< bool Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -14225,10 +14122,10 @@ final _objc_msgSend_242 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer buffer, - ffi.UnsignedLong maxBufferLength)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong)>>() .asFunction< bool Function(ffi.Pointer, ffi.Pointer, ffi.Pointer, int)>(); @@ -14245,11 +14142,11 @@ final _objc_msgSend_243 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer> value, - ffi.Pointer key, - ffi.Pointer> error)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer, + ffi.Pointer>)>>() .asFunction< bool Function( ffi.Pointer, @@ -14263,10 +14160,10 @@ final _objc_msgSend_244 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer keys, - ffi.Pointer> error)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -14279,11 +14176,11 @@ final _objc_msgSend_245 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, - ffi.Pointer key, - ffi.Pointer> error)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>>() .asFunction< bool Function( ffi.Pointer, @@ -14297,10 +14194,10 @@ final _objc_msgSend_246 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer keyedValues, - ffi.Pointer> error)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>>() .asFunction< bool Function( ffi.Pointer, @@ -14313,9 +14210,9 @@ final _objc_msgSend_247 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer key)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -14341,12 +14238,12 @@ final _objc_msgSend_248 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Int32 options, - ffi.Pointer keys, - ffi.Pointer relativeURL, - ffi.Pointer> error)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -14370,13 +14267,13 @@ final _objc_msgSend_249 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer bookmarkData, - ffi.Int32 options, - ffi.Pointer relativeURL, - ffi.Pointer isStale, - ffi.Pointer> error)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -14395,10 +14292,10 @@ final _objc_msgSend_250 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer keys, - ffi.Pointer bookmarkData)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -14411,12 +14308,12 @@ final _objc_msgSend_251 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer bookmarkData, - ffi.Pointer bookmarkFileURL, - ffi.UnsignedLong options, - ffi.Pointer> error)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer>)>>() .asFunction< bool Function( ffi.Pointer, @@ -14431,10 +14328,10 @@ final _objc_msgSend_252 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer bookmarkFileURL, - ffi.Pointer> error)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -14447,11 +14344,11 @@ final _objc_msgSend_253 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, - ffi.Int32 options, - ffi.Pointer> error)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer>)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -14471,10 +14368,10 @@ final _objc_msgSend_254 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer keys, - ffi.Pointer> error)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -14487,9 +14384,9 @@ final _objc_msgSend_255 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer> error)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>>() .asFunction< bool Function( ffi.Pointer, @@ -14501,9 +14398,9 @@ final _objc_msgSend_256 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer components)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -14516,9 +14413,9 @@ final _objc_msgSend_257 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer pathComponent)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -14528,10 +14425,10 @@ final _objc_msgSend_258 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer pathComponent, - ffi.Bool isDirectory)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -14555,10 +14452,8 @@ late final _sel_resourceDataUsingCache_ = final _objc_msgSend_259 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Bool shouldUseCache)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Bool)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, bool)>(); @@ -14568,10 +14463,10 @@ final _objc_msgSend_260 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer client, - ffi.Bool shouldUseCache)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool)>>() .asFunction< void Function( ffi.Pointer, @@ -14585,10 +14480,10 @@ final _objc_msgSend_261 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer property, - ffi.Pointer propertyKey)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< bool Function( ffi.Pointer, @@ -14822,9 +14717,9 @@ final _objc_msgSend_262 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer anURL)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -14840,8 +14735,8 @@ late final _sel_status = objc.registerName("status"); final _objc_msgSend_263 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Int32 Function(ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Int32 Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< int Function( ffi.Pointer, ffi.Pointer)>(); @@ -14865,10 +14760,10 @@ final _objc_msgSend_264 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer newBytes, - ffi.Bool yorn)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool)>>() .asFunction< void Function( ffi.Pointer, @@ -14880,9 +14775,9 @@ final _objc_msgSend_265 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer anURL)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< bool Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -14891,9 +14786,9 @@ final _objc_msgSend_266 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer anURL)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -14902,10 +14797,10 @@ final _objc_msgSend_267 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer anURL, - ffi.Bool willCache)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -14926,10 +14821,8 @@ late final _sel_URLHandleUsingCache_ = final _objc_msgSend_268 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Bool shouldUseCache)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Bool)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, bool)>(); @@ -14955,11 +14848,11 @@ final _objc_msgSend_269 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, - ffi.Int32 writeOptionsMask, - ffi.Pointer> errorPtr)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer>)>>() .asFunction< bool Function( ffi.Pointer, @@ -14973,11 +14866,11 @@ final _objc_msgSend_270 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, - ffi.Int32 writeOptionsMask, - ffi.Pointer> errorPtr)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer>)>>() .asFunction< bool Function( ffi.Pointer, @@ -14997,11 +14890,11 @@ final _objc_msgSend_271 = objc.msgSendPointer .cast< ffi.NativeFunction< _NSRange Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer dataToFind, - ffi.Int32 mask, - _NSRange searchRange)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + _NSRange)>>() .asFunction< _NSRange Function( ffi.Pointer, @@ -15013,12 +14906,12 @@ final _objc_msgSend_271Stret = objc.msgSendStretPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer<_NSRange> stret, - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer dataToFind, - ffi.Int32 mask, - _NSRange searchRange)>>() + ffi.Pointer<_NSRange>, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + _NSRange)>>() .asFunction< void Function( ffi.Pointer<_NSRange>, @@ -15170,10 +15063,8 @@ late final _sel_enumerateByteRangesUsingBlock_ = final _objc_msgSend_272 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer block)>>() + ffi.Void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -15183,10 +15074,10 @@ final _objc_msgSend_273 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer bytes, - ffi.UnsignedLong length)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong)>>() .asFunction< instancetype Function(ffi.Pointer, ffi.Pointer, ffi.Pointer, int)>(); @@ -15198,11 +15089,11 @@ final _objc_msgSend_274 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer bytes, - ffi.UnsignedLong length, - ffi.Bool b)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Bool)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -15226,11 +15117,11 @@ final _objc_msgSend_275 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, - ffi.Int32 readOptionsMask, - ffi.Pointer> errorPtr)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer>)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -15244,11 +15135,11 @@ final _objc_msgSend_276 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, - ffi.Int32 readOptionsMask, - ffi.Pointer> errorPtr)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer>)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -15264,9 +15155,9 @@ final _objc_msgSend_277 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< instancetype Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -15398,11 +15289,11 @@ final _objc_msgSend_278 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer bytes, - ffi.UnsignedLong length, - ffi.Pointer deallocator)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -15419,9 +15310,9 @@ final _objc_msgSend_279 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer data)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< instancetype Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -15437,10 +15328,10 @@ final _objc_msgSend_280 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer base64String, - ffi.Int32 options)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -15460,10 +15351,8 @@ late final _sel_base64EncodedStringWithOptions_ = final _objc_msgSend_281 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Int32 options)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Int32)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -15473,10 +15362,10 @@ final _objc_msgSend_282 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer base64Data, - ffi.Int32 options)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -15488,10 +15377,8 @@ late final _sel_base64EncodedDataWithOptions_ = final _objc_msgSend_283 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Int32 options)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Int32)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -15509,10 +15396,10 @@ final _objc_msgSend_284 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Int32 algorithm, - ffi.Pointer> error)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer>)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -15534,9 +15421,9 @@ final _objc_msgSend_285 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer data)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -15544,9 +15431,8 @@ late final _sel_decodeDataObject = objc.registerName("decodeDataObject"); final _objc_msgSend_286 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -15556,11 +15442,11 @@ final _objc_msgSend_287 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer type, - ffi.Pointer data, - ffi.UnsignedLong size)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong)>>() .asFunction< void Function( ffi.Pointer, @@ -15574,9 +15460,9 @@ final _objc_msgSend_288 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Long Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer className)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< int Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -15585,9 +15471,9 @@ final _objc_msgSend_289 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer object)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -15601,10 +15487,8 @@ late final _sel_encodeValuesOfObjCTypes_ = final _objc_msgSend_290 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer types)>>() + ffi.Void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -15614,11 +15498,11 @@ final _objc_msgSend_291 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer type, - ffi.UnsignedLong count, - ffi.Pointer array)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -15634,9 +15518,9 @@ final _objc_msgSend_292 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer> error)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -15652,9 +15536,9 @@ final _objc_msgSend_293 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer lengthp)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -15664,10 +15548,8 @@ late final _sel_setObjectZone_ = objc.registerName("setObjectZone:"); final _objc_msgSend_294 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer<_NSZone> zone)>>() + ffi.Void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer<_NSZone>)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer<_NSZone>)>(); @@ -15675,8 +15557,8 @@ late final _sel_objectZone = objc.registerName("objectZone"); final _objc_msgSend_295 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer<_NSZone> Function(ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer<_NSZone> Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer<_NSZone> Function( ffi.Pointer, ffi.Pointer)>(); @@ -15691,10 +15573,10 @@ final _objc_msgSend_296 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Bool value, - ffi.Pointer key)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -15706,10 +15588,10 @@ final _objc_msgSend_297 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Int value, - ffi.Pointer key)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Int, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -15721,10 +15603,10 @@ final _objc_msgSend_298 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Int32 value, - ffi.Pointer key)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -15736,10 +15618,10 @@ final _objc_msgSend_299 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Int64 value, - ffi.Pointer key)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Int64, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -15751,10 +15633,10 @@ final _objc_msgSend_300 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Float value, - ffi.Pointer key)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Float, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -15767,10 +15649,10 @@ final _objc_msgSend_301 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Double value, - ffi.Pointer key)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Double, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -15783,11 +15665,11 @@ final _objc_msgSend_302 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer bytes, - ffi.UnsignedLong length, - ffi.Pointer key)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -15804,10 +15686,10 @@ final _objc_msgSend_303 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer key, - ffi.Pointer> error)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -15820,9 +15702,9 @@ final _objc_msgSend_304 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Int Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer key)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< int Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -15831,9 +15713,9 @@ final _objc_msgSend_305 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Int32 Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer key)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< int Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -15842,9 +15724,9 @@ final _objc_msgSend_306 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Int64 Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer key)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< int Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -15853,9 +15735,9 @@ final _objc_msgSend_307 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Float Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer key)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< double Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -15863,9 +15745,9 @@ final _objc_msgSend_307Fpret = objc.msgSendFpretPointer .cast< ffi.NativeFunction< ffi.Float Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer key)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< double Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -15874,9 +15756,9 @@ final _objc_msgSend_308 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Double Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer key)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< double Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -15884,9 +15766,9 @@ final _objc_msgSend_308Fpret = objc.msgSendFpretPointer .cast< ffi.NativeFunction< ffi.Double Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer key)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< double Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -15896,10 +15778,10 @@ final _objc_msgSend_309 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer key, - ffi.Pointer lengthp)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -15912,10 +15794,10 @@ final _objc_msgSend_310 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Long value, - ffi.Pointer key)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Long, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -15932,10 +15814,10 @@ final _objc_msgSend_311 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aClass, - ffi.Pointer key)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -15948,11 +15830,11 @@ final _objc_msgSend_312 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aClass, - ffi.Pointer key, - ffi.Pointer> error)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -15966,10 +15848,10 @@ final _objc_msgSend_313 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer cls, - ffi.Pointer key)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -15982,11 +15864,11 @@ final _objc_msgSend_314 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer keyCls, - ffi.Pointer objectCls, - ffi.Pointer key)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -16000,10 +15882,10 @@ final _objc_msgSend_315 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer classes, - ffi.Pointer key)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -16016,11 +15898,11 @@ final _objc_msgSend_316 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer classes, - ffi.Pointer key, - ffi.Pointer> error)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -16034,10 +15916,10 @@ final _objc_msgSend_317 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer classes, - ffi.Pointer key)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -16051,11 +15933,11 @@ final _objc_msgSend_318 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer keyClasses, - ffi.Pointer objectClasses, - ffi.Pointer key)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -16069,9 +15951,8 @@ late final _sel_allowedClasses = objc.registerName("allowedClasses"); final _objc_msgSend_319 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -16080,9 +15961,9 @@ final _objc_msgSend_320 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer error)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -16097,8 +15978,8 @@ late final _sel_decodingFailurePolicy = final _objc_msgSend_321 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Int32 Function(ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Int32 Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< int Function( ffi.Pointer, ffi.Pointer)>(); @@ -16106,9 +15987,8 @@ late final _sel_error = objc.registerName("error"); final _objc_msgSend_322 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -16120,8 +16000,8 @@ late final _sel_encodePoint_ = objc.registerName("encodePoint:"); final _objc_msgSend_323 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Void Function(ffi.Pointer obj, - ffi.Pointer sel, CGPoint point)>>() + ffi.Void Function(ffi.Pointer, + ffi.Pointer, CGPoint)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, CGPoint)>(); @@ -16130,8 +16010,8 @@ late final _sel_encodeSize_ = objc.registerName("encodeSize:"); final _objc_msgSend_324 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Void Function(ffi.Pointer obj, - ffi.Pointer sel, CGSize size)>>() + ffi.Void Function(ffi.Pointer, + ffi.Pointer, CGSize)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, CGSize)>(); @@ -16140,8 +16020,8 @@ late final _sel_encodeRect_ = objc.registerName("encodeRect:"); final _objc_msgSend_325 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Void Function(ffi.Pointer obj, - ffi.Pointer sel, CGRect rect)>>() + ffi.Void Function(ffi.Pointer, + ffi.Pointer, CGRect)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, CGRect)>(); @@ -16151,10 +16031,10 @@ final _objc_msgSend_326 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - CGPoint point, - ffi.Pointer key)>>() + ffi.Pointer, + ffi.Pointer, + CGPoint, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -16166,10 +16046,10 @@ final _objc_msgSend_327 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - CGSize size, - ffi.Pointer key)>>() + ffi.Pointer, + ffi.Pointer, + CGSize, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -16181,10 +16061,10 @@ final _objc_msgSend_328 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - CGRect rect, - ffi.Pointer key)>>() + ffi.Pointer, + ffi.Pointer, + CGRect, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -16196,9 +16076,9 @@ final _objc_msgSend_329 = objc.msgSendPointer .cast< ffi.NativeFunction< CGPoint Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer key)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< CGPoint Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -16206,10 +16086,10 @@ final _objc_msgSend_329Stret = objc.msgSendStretPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer stret, - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer key)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -16218,9 +16098,9 @@ final _objc_msgSend_330 = objc.msgSendPointer .cast< ffi.NativeFunction< CGSize Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer key)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< CGSize Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -16228,10 +16108,10 @@ final _objc_msgSend_330Stret = objc.msgSendStretPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer stret, - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer key)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -16240,9 +16120,9 @@ final _objc_msgSend_331 = objc.msgSendPointer .cast< ffi.NativeFunction< CGRect Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer key)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< CGRect Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -16250,10 +16130,10 @@ final _objc_msgSend_331Stret = objc.msgSendStretPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer stret, - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer key)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -16261,10 +16141,8 @@ late final _sel_substringFromIndex_ = objc.registerName("substringFromIndex:"); final _objc_msgSend_332 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.UnsignedLong from)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.UnsignedLong)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -16273,10 +16151,8 @@ late final _sel_substringWithRange_ = objc.registerName("substringWithRange:"); final _objc_msgSend_333 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - _NSRange range)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, _NSRange)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, _NSRange)>(); @@ -16286,10 +16162,10 @@ final _objc_msgSend_334 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer buffer, - _NSRange range)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange)>>() .asFunction< void Function( ffi.Pointer, @@ -16300,9 +16176,9 @@ final _objc_msgSend_335 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Int32 Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer string)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< int Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -16324,10 +16200,10 @@ final _objc_msgSend_336 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Int32 Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer string, - ffi.Int32 mask)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32)>>() .asFunction< int Function( ffi.Pointer, @@ -16340,11 +16216,11 @@ final _objc_msgSend_337 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Int32 Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer string, - ffi.Int32 mask, - _NSRange rangeOfReceiverToCompare)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + _NSRange)>>() .asFunction< int Function( ffi.Pointer, @@ -16358,12 +16234,12 @@ final _objc_msgSend_338 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Int32 Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer string, - ffi.Int32 mask, - _NSRange rangeOfReceiverToCompare, - ffi.Pointer locale)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + _NSRange, + ffi.Pointer)>>() .asFunction< int Function( ffi.Pointer, @@ -16388,10 +16264,10 @@ final _objc_msgSend_339 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer str, - ffi.Int32 mask)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -16409,9 +16285,9 @@ final _objc_msgSend_340 = objc.msgSendPointer .cast< ffi.NativeFunction< _NSRange Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer str)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< _NSRange Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -16419,10 +16295,10 @@ final _objc_msgSend_340Stret = objc.msgSendStretPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer<_NSRange> stret, - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer str)>>() + ffi.Pointer<_NSRange>, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer<_NSRange>, ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -16433,10 +16309,10 @@ final _objc_msgSend_341 = objc.msgSendPointer .cast< ffi.NativeFunction< _NSRange Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer searchString, - ffi.Int32 mask)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32)>>() .asFunction< _NSRange Function( ffi.Pointer, @@ -16447,11 +16323,11 @@ final _objc_msgSend_341Stret = objc.msgSendStretPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer<_NSRange> stret, - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer searchString, - ffi.Int32 mask)>>() + ffi.Pointer<_NSRange>, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32)>>() .asFunction< void Function( ffi.Pointer<_NSRange>, @@ -16465,11 +16341,11 @@ final _objc_msgSend_342 = objc.msgSendPointer .cast< ffi.NativeFunction< _NSRange Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer searchString, - ffi.Int32 mask, - _NSRange rangeOfReceiverToSearch)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + _NSRange)>>() .asFunction< _NSRange Function( ffi.Pointer, @@ -16481,12 +16357,12 @@ final _objc_msgSend_342Stret = objc.msgSendStretPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer<_NSRange> stret, - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer searchString, - ffi.Int32 mask, - _NSRange rangeOfReceiverToSearch)>>() + ffi.Pointer<_NSRange>, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + _NSRange)>>() .asFunction< void Function( ffi.Pointer<_NSRange>, @@ -16501,12 +16377,12 @@ final _objc_msgSend_343 = objc.msgSendPointer .cast< ffi.NativeFunction< _NSRange Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer searchString, - ffi.Int32 mask, - _NSRange rangeOfReceiverToSearch, - ffi.Pointer locale)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + _NSRange, + ffi.Pointer)>>() .asFunction< _NSRange Function( ffi.Pointer, @@ -16519,13 +16395,13 @@ final _objc_msgSend_343Stret = objc.msgSendStretPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer<_NSRange> stret, - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer searchString, - ffi.Int32 mask, - _NSRange rangeOfReceiverToSearch, - ffi.Pointer locale)>>() + ffi.Pointer<_NSRange>, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + _NSRange, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer<_NSRange>, @@ -16541,9 +16417,9 @@ final _objc_msgSend_344 = objc.msgSendPointer .cast< ffi.NativeFunction< _NSRange Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer searchSet)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< _NSRange Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -16551,10 +16427,10 @@ final _objc_msgSend_344Stret = objc.msgSendStretPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer<_NSRange> stret, - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer searchSet)>>() + ffi.Pointer<_NSRange>, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer<_NSRange>, ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -16564,10 +16440,10 @@ final _objc_msgSend_345 = objc.msgSendPointer .cast< ffi.NativeFunction< _NSRange Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer searchSet, - ffi.Int32 mask)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32)>>() .asFunction< _NSRange Function( ffi.Pointer, @@ -16578,11 +16454,11 @@ final _objc_msgSend_345Stret = objc.msgSendStretPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer<_NSRange> stret, - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer searchSet, - ffi.Int32 mask)>>() + ffi.Pointer<_NSRange>, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32)>>() .asFunction< void Function( ffi.Pointer<_NSRange>, @@ -16596,11 +16472,11 @@ final _objc_msgSend_346 = objc.msgSendPointer .cast< ffi.NativeFunction< _NSRange Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer searchSet, - ffi.Int32 mask, - _NSRange rangeOfReceiverToSearch)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + _NSRange)>>() .asFunction< _NSRange Function( ffi.Pointer, @@ -16612,12 +16488,12 @@ final _objc_msgSend_346Stret = objc.msgSendStretPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer<_NSRange> stret, - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer searchSet, - ffi.Int32 mask, - _NSRange rangeOfReceiverToSearch)>>() + ffi.Pointer<_NSRange>, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + _NSRange)>>() .asFunction< void Function( ffi.Pointer<_NSRange>, @@ -16631,8 +16507,8 @@ late final _sel_rangeOfComposedCharacterSequenceAtIndex_ = final _objc_msgSend_347 = objc.msgSendPointer .cast< ffi.NativeFunction< - _NSRange Function(ffi.Pointer obj, - ffi.Pointer sel, ffi.UnsignedLong index)>>() + _NSRange Function(ffi.Pointer, + ffi.Pointer, ffi.UnsignedLong)>>() .asFunction< _NSRange Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -16640,10 +16516,10 @@ final _objc_msgSend_347Stret = objc.msgSendStretPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer<_NSRange> stret, - ffi.Pointer obj, - ffi.Pointer sel, - ffi.UnsignedLong index)>>() + ffi.Pointer<_NSRange>, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong)>>() .asFunction< void Function(ffi.Pointer<_NSRange>, ffi.Pointer, ffi.Pointer, int)>(); @@ -16652,8 +16528,8 @@ late final _sel_rangeOfComposedCharacterSequencesForRange_ = final _objc_msgSend_348 = objc.msgSendPointer .cast< ffi.NativeFunction< - _NSRange Function(ffi.Pointer obj, - ffi.Pointer sel, _NSRange range)>>() + _NSRange Function(ffi.Pointer, + ffi.Pointer, _NSRange)>>() .asFunction< _NSRange Function(ffi.Pointer, ffi.Pointer, _NSRange)>(); @@ -16661,10 +16537,10 @@ final _objc_msgSend_348Stret = objc.msgSendStretPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer<_NSRange> stret, - ffi.Pointer obj, - ffi.Pointer sel, - _NSRange range)>>() + ffi.Pointer<_NSRange>, + ffi.Pointer, + ffi.Pointer, + _NSRange)>>() .asFunction< void Function(ffi.Pointer<_NSRange>, ffi.Pointer, ffi.Pointer, _NSRange)>(); @@ -16687,9 +16563,9 @@ final _objc_msgSend_349 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer locale)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -16703,12 +16579,12 @@ final _objc_msgSend_350 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer startPtr, - ffi.Pointer lineEndPtr, - ffi.Pointer contentsEndPtr, - _NSRange range)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange)>>() .asFunction< void Function( ffi.Pointer, @@ -16906,11 +16782,11 @@ final _objc_msgSend_351 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - _NSRange range, - ffi.Int32 opts, - ffi.Pointer block)>>() + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Int32, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -17056,10 +16932,8 @@ late final _sel_enumerateLinesUsingBlock_ = final _objc_msgSend_352 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer block)>>() + ffi.Void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -17071,11 +16945,8 @@ late final _sel_dataUsingEncoding_allowLossyConversion_ = final _objc_msgSend_353 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.UnsignedLong encoding, - ffi.Bool lossy)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.UnsignedLong, ffi.Bool)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, int, bool)>(); @@ -17083,10 +16954,8 @@ late final _sel_dataUsingEncoding_ = objc.registerName("dataUsingEncoding:"); final _objc_msgSend_354 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.UnsignedLong encoding)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.UnsignedLong)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -17100,11 +16969,11 @@ final _objc_msgSend_355 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer buffer, - ffi.UnsignedLong maxBufferCount, - ffi.UnsignedLong encoding)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.UnsignedLong)>>() .asFunction< bool Function(ffi.Pointer, ffi.Pointer, ffi.Pointer, int, int)>(); @@ -17121,15 +16990,15 @@ final _objc_msgSend_356 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer buffer, - ffi.UnsignedLong maxBufferCount, - ffi.Pointer usedBufferCount, - ffi.UnsignedLong encoding, - ffi.Int32 options, - _NSRange range, - ffi.Pointer<_NSRange> leftover)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Int32, + _NSRange, + ffi.Pointer<_NSRange>)>>() .asFunction< bool Function( ffi.Pointer, @@ -17150,9 +17019,8 @@ late final _sel_availableStringEncodings = final _objc_msgSend_357 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -17174,9 +17042,9 @@ final _objc_msgSend_358 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer separator)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -17186,9 +17054,9 @@ final _objc_msgSend_359 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer separator)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -17198,9 +17066,9 @@ final _objc_msgSend_360 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer set)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -17210,11 +17078,11 @@ final _objc_msgSend_361 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.UnsignedLong newLength, - ffi.Pointer padString, - ffi.UnsignedLong padIndex)>>() + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer, + ffi.UnsignedLong)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -17228,10 +17096,10 @@ final _objc_msgSend_362 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Int32 options, - ffi.Pointer locale)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -17245,12 +17113,12 @@ final _objc_msgSend_363 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer target, - ffi.Pointer replacement, - ffi.Int32 options, - _NSRange searchRange)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + _NSRange)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -17265,10 +17133,10 @@ final _objc_msgSend_364 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer target, - ffi.Pointer replacement)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -17281,10 +17149,10 @@ final _objc_msgSend_365 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - _NSRange range, - ffi.Pointer replacement)>>() + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -17297,10 +17165,10 @@ final _objc_msgSend_366 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer transform, - ffi.Bool reverse)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -17313,12 +17181,12 @@ final _objc_msgSend_367 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, - ffi.Bool useAuxiliaryFile, - ffi.UnsignedLong enc, - ffi.Pointer> error)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.UnsignedLong, + ffi.Pointer>)>>() .asFunction< bool Function( ffi.Pointer, @@ -17333,12 +17201,12 @@ final _objc_msgSend_368 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, - ffi.Bool useAuxiliaryFile, - ffi.UnsignedLong enc, - ffi.Pointer> error)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.UnsignedLong, + ffi.Pointer>)>>() .asFunction< bool Function( ffi.Pointer, @@ -17354,11 +17222,11 @@ final _objc_msgSend_369 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer characters, - ffi.UnsignedLong length, - ffi.Bool freeBuffer)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Bool)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -17502,11 +17370,11 @@ final _objc_msgSend_370 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer chars, - ffi.UnsignedLong len, - ffi.Pointer deallocator)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -17520,10 +17388,10 @@ final _objc_msgSend_371 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer characters, - ffi.UnsignedLong length)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -17534,10 +17402,8 @@ late final _sel_initWithUTF8String_ = objc.registerName("initWithUTF8String:"); final _objc_msgSend_372 = objc.msgSendPointer .cast< ffi.NativeFunction< - instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer nullTerminatedCString)>>() + instancetype Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>>() .asFunction< instancetype Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -17548,10 +17414,10 @@ final _objc_msgSend_373 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer format, - ffi.Pointer<__va_list_tag> argList)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<__va_list_tag>)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -17564,10 +17430,10 @@ final _objc_msgSend_374 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer format, - ffi.Pointer locale)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -17580,11 +17446,11 @@ final _objc_msgSend_375 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer format, - ffi.Pointer locale, - ffi.Pointer<__va_list_tag> argList)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<__va_list_tag>)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -17598,11 +17464,11 @@ final _objc_msgSend_376 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer format, - ffi.Pointer validFormatSpecifiers, - ffi.Pointer> error)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -17617,12 +17483,12 @@ final _objc_msgSend_377 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer format, - ffi.Pointer validFormatSpecifiers, - ffi.Pointer locale, - ffi.Pointer> error)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -17638,12 +17504,12 @@ final _objc_msgSend_378 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer format, - ffi.Pointer validFormatSpecifiers, - ffi.Pointer<__va_list_tag> argList, - ffi.Pointer> error)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<__va_list_tag>, + ffi.Pointer>)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -17659,13 +17525,13 @@ final _objc_msgSend_379 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer format, - ffi.Pointer validFormatSpecifiers, - ffi.Pointer locale, - ffi.Pointer<__va_list_tag> argList, - ffi.Pointer> error)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<__va_list_tag>, + ffi.Pointer>)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -17681,10 +17547,10 @@ final _objc_msgSend_380 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer data, - ffi.UnsignedLong encoding)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -17697,11 +17563,11 @@ final _objc_msgSend_381 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer bytes, - ffi.UnsignedLong len, - ffi.UnsignedLong encoding)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.UnsignedLong)>>() .asFunction< instancetype Function(ffi.Pointer, ffi.Pointer, ffi.Pointer, int, int)>(); @@ -17711,12 +17577,12 @@ final _objc_msgSend_382 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer bytes, - ffi.UnsignedLong len, - ffi.UnsignedLong encoding, - ffi.Bool freeBuffer)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.UnsignedLong, + ffi.Bool)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -17731,12 +17597,12 @@ final _objc_msgSend_383 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer bytes, - ffi.UnsignedLong len, - ffi.UnsignedLong encoding, - ffi.Pointer deallocator)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.UnsignedLong, + ffi.Pointer)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -17765,10 +17631,10 @@ final _objc_msgSend_384 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer nullTerminatedCString, - ffi.UnsignedLong encoding)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong)>>() .asFunction< instancetype Function(ffi.Pointer, ffi.Pointer, ffi.Pointer, int)>(); @@ -17780,11 +17646,11 @@ final _objc_msgSend_385 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, - ffi.UnsignedLong enc, - ffi.Pointer> error)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer>)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -17798,11 +17664,11 @@ final _objc_msgSend_386 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, - ffi.UnsignedLong enc, - ffi.Pointer> error)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer>)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -17820,11 +17686,11 @@ final _objc_msgSend_387 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, - ffi.Pointer enc, - ffi.Pointer> error)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -17838,11 +17704,11 @@ final _objc_msgSend_388 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, - ffi.Pointer enc, - ffi.Pointer> error)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -17861,12 +17727,12 @@ final _objc_msgSend_389 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.UnsignedLong Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer data, - ffi.Pointer opts, - ffi.Pointer> string, - ffi.Pointer usedLossyConversion)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer)>>() .asFunction< int Function( ffi.Pointer, @@ -17881,9 +17747,8 @@ late final _sel_propertyListFromStringsFileFormat = final _objc_msgSend_390 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -17897,10 +17762,10 @@ final _objc_msgSend_391 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer bytes, - ffi.UnsignedLong maxLength)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer, int)>(); @@ -17910,12 +17775,12 @@ final _objc_msgSend_392 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer bytes, - ffi.UnsignedLong maxLength, - _NSRange aRange, - ffi.Pointer<_NSRange> leftoverRange)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + _NSRange, + ffi.Pointer<_NSRange>)>>() .asFunction< void Function( ffi.Pointer, @@ -17934,11 +17799,11 @@ final _objc_msgSend_393 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer bytes, - ffi.UnsignedLong length, - ffi.Bool freeBuffer)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Bool)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -17957,9 +17822,9 @@ final _objc_msgSend_394 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer buffer)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -17968,10 +17833,8 @@ late final _sel_variantFittingPresentationWidth_ = final _objc_msgSend_395 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Long width)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Long)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -17980,9 +17843,9 @@ final _objc_msgSend_396 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer components)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -18012,12 +17875,12 @@ final _objc_msgSend_397 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.UnsignedLong Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer> outputName, - ffi.Bool flag, - ffi.Pointer> outputArray, - ffi.Pointer filterTypes)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Bool, + ffi.Pointer>, + ffi.Pointer)>>() .asFunction< int Function( ffi.Pointer, @@ -18032,9 +17895,9 @@ final _objc_msgSend_398 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer allowedCharacters)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -18045,10 +17908,8 @@ late final _sel_stringByAddingPercentEscapesUsingEncoding_ = final _objc_msgSend_399 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.UnsignedLong enc)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.UnsignedLong)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -18247,10 +18108,10 @@ final _objc_msgSend_400 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer script, - ffi.Pointer map)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -18274,13 +18135,13 @@ final _objc_msgSend_401 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - _NSRange range, - ffi.Pointer scheme, - ffi.Int32 options, - ffi.Pointer orthography, - ffi.Pointer> tokenRanges)>>() + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ffi.Pointer>)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -18297,13 +18158,13 @@ final _objc_msgSend_402 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - _NSRange range, - ffi.Pointer scheme, - ffi.Int32 options, - ffi.Pointer orthography, - ffi.Pointer block)>>() + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -18319,9 +18180,9 @@ final _objc_msgSend_403 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer otherSet)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< bool Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -18332,9 +18193,9 @@ final _objc_msgSend_404 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer anObject)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -18344,9 +18205,9 @@ final _objc_msgSend_405 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer other)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -18356,9 +18217,9 @@ final _objc_msgSend_406 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer other)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -18497,10 +18358,8 @@ class ObjCBlock_ffiVoid_objcObjCObject_bool extends objc.ObjCBlockBase { final _objc_msgSend_407 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer block)>>() + ffi.Void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -18508,10 +18367,10 @@ final _objc_msgSend_408 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Int32 opts, - ffi.Pointer block)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -18622,10 +18481,8 @@ late final _sel_objectsPassingTest_ = objc.registerName("objectsPassingTest:"); final _objc_msgSend_409 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer predicate)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -18635,10 +18492,10 @@ final _objc_msgSend_410 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Int32 opts, - ffi.Pointer predicate)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -18655,9 +18512,9 @@ final _objc_msgSend_411 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer set)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< instancetype Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -18669,10 +18526,10 @@ final _objc_msgSend_412 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer set, - ffi.Bool flag)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -18685,9 +18542,9 @@ final _objc_msgSend_413 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer predicate)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -18697,9 +18554,9 @@ final _objc_msgSend_414 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer sig)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -18707,9 +18564,8 @@ late final _sel_methodSignature = objc.registerName("methodSignature"); final _objc_msgSend_415 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -18721,9 +18577,9 @@ final _objc_msgSend_416 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -18732,8 +18588,8 @@ final _objc_msgSend_417 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -18742,9 +18598,9 @@ final _objc_msgSend_418 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -18756,10 +18612,10 @@ final _objc_msgSend_419 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer argumentLocation, - ffi.Long idx)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Long)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer, int)>(); @@ -18772,9 +18628,9 @@ final _objc_msgSend_420 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer> imp)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>>() .asFunction< void Function( ffi.Pointer, @@ -18785,9 +18641,9 @@ final _objc_msgSend_421 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer anInvocation)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -18797,9 +18653,9 @@ final _objc_msgSend_422 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aSelector)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -18819,8 +18675,8 @@ late final _sel_setVersion_ = objc.registerName("setVersion:"); final _objc_msgSend_423 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Void Function(ffi.Pointer obj, - ffi.Pointer sel, ffi.Long aVersion)>>() + ffi.Void Function(ffi.Pointer, + ffi.Pointer, ffi.Long)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -18839,13 +18695,13 @@ final _objc_msgSend_424 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer error, - ffi.UnsignedLong recoveryOptionIndex, - ffi.Pointer delegate, - ffi.Pointer didRecoverSelector, - ffi.Pointer contextInfo)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -18861,10 +18717,10 @@ final _objc_msgSend_425 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer error, - ffi.UnsignedLong recoveryOptionIndex)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong)>>() .asFunction< bool Function( ffi.Pointer, @@ -18877,12 +18733,12 @@ final _objc_msgSend_426 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aSelector, - ffi.Pointer anArgument, - ffi.Double delay, - ffi.Pointer modes)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Double, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -18897,11 +18753,11 @@ final _objc_msgSend_427 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aSelector, - ffi.Pointer anArgument, - ffi.Double delay)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Double)>>() .asFunction< void Function( ffi.Pointer, @@ -18915,10 +18771,10 @@ final _objc_msgSend_428 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer sender, - ffi.Pointer newBytes)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -18931,9 +18787,9 @@ final _objc_msgSend_429 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer sender)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -18945,10 +18801,10 @@ final _objc_msgSend_430 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer sender, - ffi.Pointer reason)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -19656,9 +19512,8 @@ late final _sel_defaultManager = objc.registerName("defaultManager"); final _objc_msgSend_431 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -19674,10 +19529,10 @@ final _objc_msgSend_432 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer propertyKeys, - ffi.Int32 options)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -19806,11 +19661,11 @@ final _objc_msgSend_433 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, - ffi.Int32 mask, - ffi.Pointer completionHandler)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -19834,12 +19689,12 @@ final _objc_msgSend_434 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, - ffi.Pointer keys, - ffi.Int32 mask, - ffi.Pointer> error)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer>)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -19892,11 +19747,8 @@ late final _sel_URLsForDirectory_inDomains_ = final _objc_msgSend_435 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Int32 directory, - ffi.Int32 domainMask)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Int32, ffi.Int32)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, int, int)>(); @@ -19906,13 +19758,13 @@ final _objc_msgSend_436 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Int32 directory, - ffi.Int32 domain, - ffi.Pointer url, - ffi.Bool shouldCreate, - ffi.Pointer> error)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Int32, + ffi.Pointer, + ffi.Bool, + ffi.Pointer>)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -19935,12 +19787,12 @@ final _objc_msgSend_437 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer outRelationship, - ffi.Pointer directoryURL, - ffi.Pointer otherURL, - ffi.Pointer> error)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>>() .asFunction< bool Function( ffi.Pointer, @@ -19955,13 +19807,13 @@ final _objc_msgSend_438 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer outRelationship, - ffi.Int32 directory, - ffi.Int32 domainMask, - ffi.Pointer url, - ffi.Pointer> error)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Int32, + ffi.Pointer, + ffi.Pointer>)>>() .asFunction< bool Function( ffi.Pointer, @@ -19978,12 +19830,12 @@ final _objc_msgSend_439 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, - ffi.Bool createIntermediates, - ffi.Pointer attributes, - ffi.Pointer> error)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.Pointer, + ffi.Pointer>)>>() .asFunction< bool Function( ffi.Pointer, @@ -19998,11 +19850,11 @@ final _objc_msgSend_440 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, - ffi.Pointer destURL, - ffi.Pointer> error)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>>() .asFunction< bool Function( ffi.Pointer, @@ -20018,11 +19870,11 @@ final _objc_msgSend_441 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer attributes, - ffi.Pointer path, - ffi.Pointer> error)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>>() .asFunction< bool Function( ffi.Pointer, @@ -20037,12 +19889,12 @@ final _objc_msgSend_442 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, - ffi.Bool createIntermediates, - ffi.Pointer attributes, - ffi.Pointer> error)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.Pointer, + ffi.Pointer>)>>() .asFunction< bool Function( ffi.Pointer, @@ -20057,10 +19909,10 @@ final _objc_msgSend_443 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, - ffi.Pointer> error)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -20075,10 +19927,10 @@ final _objc_msgSend_444 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, - ffi.Pointer> error)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -20093,11 +19945,11 @@ final _objc_msgSend_445 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, - ffi.Pointer destPath, - ffi.Pointer> error)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>>() .asFunction< bool Function( ffi.Pointer, @@ -20111,10 +19963,10 @@ final _objc_msgSend_446 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, - ffi.Pointer> error)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -20133,10 +19985,10 @@ final _objc_msgSend_447 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, - ffi.Pointer> error)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>>() .asFunction< bool Function( ffi.Pointer, @@ -20157,11 +20009,11 @@ final _objc_msgSend_448 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, - ffi.Pointer> outResultingURL, - ffi.Pointer> error)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer>)>>() .asFunction< bool Function( ffi.Pointer, @@ -20175,10 +20027,10 @@ final _objc_msgSend_449 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, - ffi.Bool yorn)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -20191,10 +20043,10 @@ final _objc_msgSend_450 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer attributes, - ffi.Pointer path)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< bool Function( ffi.Pointer, @@ -20213,10 +20065,10 @@ final _objc_msgSend_451 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, - ffi.Pointer otherpath)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< bool Function( ffi.Pointer, @@ -20229,10 +20081,10 @@ final _objc_msgSend_452 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, - ffi.Pointer attributes)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< bool Function( ffi.Pointer, @@ -20245,11 +20097,11 @@ final _objc_msgSend_453 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer src, - ffi.Pointer dest, - ffi.Pointer handler)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< bool Function( ffi.Pointer, @@ -20267,10 +20119,10 @@ final _objc_msgSend_454 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, - ffi.Pointer handler)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< bool Function( ffi.Pointer, @@ -20288,10 +20140,10 @@ final _objc_msgSend_455 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, - ffi.Pointer isDirectory)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< bool Function( ffi.Pointer, @@ -20418,12 +20270,12 @@ final _objc_msgSend_456 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, - ffi.Pointer keys, - ffi.Int32 mask, - ffi.Pointer handler)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -20438,9 +20290,9 @@ final _objc_msgSend_457 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -20450,11 +20302,11 @@ final _objc_msgSend_458 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, - ffi.Pointer data, - ffi.Pointer attr)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< bool Function( ffi.Pointer, @@ -20468,9 +20320,9 @@ final _objc_msgSend_459 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -20480,10 +20332,10 @@ final _objc_msgSend_460 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer str, - ffi.UnsignedLong len)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer, int)>(); @@ -20500,14 +20352,14 @@ final _objc_msgSend_461 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer originalItemURL, - ffi.Pointer newItemURL, - ffi.Pointer backupItemName, - ffi.Int32 options, - ffi.Pointer> resultingURL, - ffi.Pointer> error)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer>, + ffi.Pointer>)>>() .asFunction< bool Function( ffi.Pointer, @@ -20524,12 +20376,12 @@ final _objc_msgSend_462 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Bool flag, - ffi.Pointer url, - ffi.Pointer destinationURL, - ffi.Pointer> error)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>>() .asFunction< bool Function( ffi.Pointer, @@ -20550,9 +20402,9 @@ final _objc_msgSend_463 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer containerIdentifier)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -20562,11 +20414,11 @@ final _objc_msgSend_464 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, - ffi.Pointer> outDate, - ffi.Pointer> error)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer>)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -20718,10 +20570,10 @@ final _objc_msgSend_465 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, - ffi.Pointer completionHandler)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -20735,9 +20587,8 @@ late final _sel_homeDirectoryForCurrentUser = final _objc_msgSend_466 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -20750,10 +20601,10 @@ final _objc_msgSend_467 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer fm, - ffi.Pointer errorInfo)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< bool Function( ffi.Pointer, @@ -20766,10 +20617,10 @@ final _objc_msgSend_468 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer fm, - ffi.Pointer path)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -21165,10 +21016,10 @@ final _objc_msgSend_469 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer anObject, - ffi.UnsignedLong index)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong)>>() .asFunction< void Function( ffi.Pointer, @@ -21181,8 +21032,8 @@ late final _sel_removeObjectAtIndex_ = final _objc_msgSend_470 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Void Function(ffi.Pointer obj, - ffi.Pointer sel, ffi.UnsignedLong index)>>() + ffi.Void Function(ffi.Pointer, + ffi.Pointer, ffi.UnsignedLong)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -21192,10 +21043,10 @@ final _objc_msgSend_471 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.UnsignedLong index, - ffi.Pointer anObject)>>() + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -21209,9 +21060,9 @@ final _objc_msgSend_472 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer otherArray)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -21221,10 +21072,10 @@ final _objc_msgSend_473 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.UnsignedLong idx1, - ffi.UnsignedLong idx2)>>() + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.UnsignedLong)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, int, int)>(); @@ -21235,10 +21086,10 @@ final _objc_msgSend_474 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer anObject, - _NSRange range)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange)>>() .asFunction< void Function( ffi.Pointer, @@ -21256,10 +21107,10 @@ final _objc_msgSend_475 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer indices, - ffi.UnsignedLong cnt)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong)>>() .asFunction< void Function( ffi.Pointer, @@ -21273,8 +21124,8 @@ late final _sel_removeObjectsInRange_ = final _objc_msgSend_476 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Void Function(ffi.Pointer obj, - ffi.Pointer sel, _NSRange range)>>() + ffi.Void Function(ffi.Pointer, + ffi.Pointer, _NSRange)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, _NSRange)>(); @@ -21284,11 +21135,11 @@ final _objc_msgSend_477 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - _NSRange range, - ffi.Pointer otherArray, - _NSRange otherRange)>>() + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + _NSRange)>>() .asFunction< void Function( ffi.Pointer, @@ -21302,10 +21153,10 @@ final _objc_msgSend_478 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - _NSRange range, - ffi.Pointer otherArray)>>() + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -21319,16 +21170,15 @@ final _objc_msgSend_479 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer, + ffi.Pointer, ffi.Pointer< - ffi.NativeFunction< - ffi.Long Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>> - compare, - ffi.Pointer context)>>() + ffi.NativeFunction< + ffi.Long Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -21345,10 +21195,10 @@ final _objc_msgSend_480 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer objects, - ffi.Pointer indexes)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -21361,9 +21211,9 @@ final _objc_msgSend_481 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer indexes)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -21373,10 +21223,10 @@ final _objc_msgSend_482 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer indexes, - ffi.Pointer objects)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -21390,10 +21240,8 @@ late final _sel_sortUsingComparator_ = final _objc_msgSend_483 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer cmptr)>>() + ffi.Void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -21403,10 +21251,10 @@ final _objc_msgSend_484 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Int32 opts, - ffi.Pointer cmptr)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -21418,9 +21266,9 @@ final _objc_msgSend_485 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -21428,9 +21276,9 @@ final _objc_msgSend_486 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -21443,9 +21291,9 @@ final _objc_msgSend_487 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer predicate)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -21455,9 +21303,9 @@ final _objc_msgSend_488 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer key)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -22422,9 +22270,9 @@ final _objc_msgSend_489 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer other)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< bool Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -22436,18 +22284,16 @@ late final _sel_reversedOrderedSet = objc.registerName("reversedOrderedSet"); final _objc_msgSend_490 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); final _objc_msgSend_491 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -22464,9 +22310,9 @@ final _objc_msgSend_492 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer set)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< instancetype Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -22476,11 +22322,11 @@ final _objc_msgSend_493 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer set, - _NSRange range, - ffi.Bool flag)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Bool)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -22496,11 +22342,11 @@ final _objc_msgSend_494 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer array, - _NSRange range, - ffi.Bool flag)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Bool)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -22519,10 +22365,10 @@ final _objc_msgSend_495 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer set, - ffi.Bool flag)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -22540,11 +22386,11 @@ final _objc_msgSend_496 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer other, - ffi.Int32 options, - ffi.Pointer block)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -22558,10 +22404,10 @@ final _objc_msgSend_497 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer other, - ffi.Int32 options)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -22576,9 +22422,9 @@ final _objc_msgSend_498 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer difference)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -22588,9 +22434,9 @@ final _objc_msgSend_499 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer p)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -22599,10 +22445,10 @@ final _objc_msgSend_500 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer> objects, - ffi.UnsignedLong count)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.UnsignedLong)>>() .asFunction< void Function( ffi.Pointer, @@ -22615,10 +22461,10 @@ final _objc_msgSend_501 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer indexes, - ffi.UnsignedLong idx)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong)>>() .asFunction< void Function( ffi.Pointer, @@ -22632,11 +22478,11 @@ final _objc_msgSend_502 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - _NSRange range, - ffi.Pointer> objects, - ffi.UnsignedLong count)>>() + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer>, + ffi.UnsignedLong)>>() .asFunction< void Function( ffi.Pointer, @@ -22650,9 +22496,9 @@ final _objc_msgSend_503 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer other)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -22663,9 +22509,9 @@ final _objc_msgSend_504 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer other)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -22677,11 +22523,11 @@ final _objc_msgSend_505 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - _NSRange range, - ffi.Int32 opts, - ffi.Pointer cmptr)>>() + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Int32, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -22697,9 +22543,9 @@ final _objc_msgSend_506 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer key)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -22946,9 +22792,9 @@ final _objc_msgSend_507 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer key)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -22974,9 +22820,9 @@ final _objc_msgSend_508 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer keys)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -22986,9 +22832,9 @@ final _objc_msgSend_509 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer keyedValues)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -23013,12 +22859,12 @@ final _objc_msgSend_510 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer keyPath, - ffi.Pointer object, - ffi.Pointer change, - ffi.Pointer context)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -23045,11 +22891,11 @@ final _objc_msgSend_511 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Int32 changeKind, - ffi.Pointer indexes, - ffi.Pointer key)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -23073,11 +22919,11 @@ final _objc_msgSend_512 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer key, - ffi.Int32 mutationKind, - ffi.Pointer objects)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -23092,10 +22938,8 @@ late final _sel_setObservationInfo_ = objc.registerName("setObservationInfo:"); final _objc_msgSend_513 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value)>>() + ffi.Void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -23355,10 +23199,8 @@ late final _sel_initRequiringSecureCoding_ = final _objc_msgSend_514 = objc.msgSendPointer .cast< ffi.NativeFunction< - instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Bool requiresSecureCoding)>>() + instancetype Function(ffi.Pointer, + ffi.Pointer, ffi.Bool)>>() .asFunction< instancetype Function(ffi.Pointer, ffi.Pointer, bool)>(); @@ -23368,11 +23210,11 @@ final _objc_msgSend_515 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer object, - ffi.Bool requiresSecureCoding, - ffi.Pointer> error)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.Pointer>)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -23793,8 +23635,8 @@ late final _sel_setLength_ = objc.registerName("setLength:"); final _objc_msgSend_516 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Void Function(ffi.Pointer obj, - ffi.Pointer sel, ffi.UnsignedLong value)>>() + ffi.Void Function(ffi.Pointer, + ffi.Pointer, ffi.UnsignedLong)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -23807,10 +23649,10 @@ final _objc_msgSend_517 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - _NSRange range, - ffi.Pointer bytes)>>() + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, _NSRange, ffi.Pointer)>(); @@ -23822,11 +23664,11 @@ final _objc_msgSend_518 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - _NSRange range, - ffi.Pointer replacementBytes, - ffi.UnsignedLong replacementLength)>>() + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + ffi.UnsignedLong)>>() .asFunction< void Function( ffi.Pointer, @@ -23838,10 +23680,8 @@ late final _sel_dataWithCapacity_ = objc.registerName("dataWithCapacity:"); final _objc_msgSend_519 = objc.msgSendPointer .cast< ffi.NativeFunction< - instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.UnsignedLong aNumItems)>>() + instancetype Function(ffi.Pointer, + ffi.Pointer, ffi.UnsignedLong)>>() .asFunction< instancetype Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -23853,10 +23693,10 @@ final _objc_msgSend_520 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Int32 algorithm, - ffi.Pointer> error)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer>)>>() .asFunction< bool Function( ffi.Pointer, @@ -23871,9 +23711,9 @@ final _objc_msgSend_521 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer data)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< instancetype Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -23883,9 +23723,9 @@ final _objc_msgSend_522 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer rootObject)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -23902,8 +23742,8 @@ late final _sel_outputFormat = objc.registerName("outputFormat"); final _objc_msgSend_523 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Int32 Function(ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Int32 Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< int Function( ffi.Pointer, ffi.Pointer)>(); @@ -23911,8 +23751,8 @@ late final _sel_setOutputFormat_ = objc.registerName("setOutputFormat:"); final _objc_msgSend_524 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Void Function(ffi.Pointer obj, - ffi.Pointer sel, ffi.Int32 value)>>() + ffi.Void Function(ffi.Pointer, + ffi.Pointer, ffi.Int32)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -23924,10 +23764,10 @@ final _objc_msgSend_525 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer codedName, - ffi.Pointer cls)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -23939,9 +23779,9 @@ final _objc_msgSend_526 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer cls)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -23950,8 +23790,8 @@ late final _sel_setRequiresSecureCoding_ = final _objc_msgSend_527 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Void Function(ffi.Pointer obj, - ffi.Pointer sel, ffi.Bool value)>>() + ffi.Void Function(ffi.Pointer, + ffi.Pointer, ffi.Bool)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, bool)>(); @@ -23961,9 +23801,9 @@ final _objc_msgSend_528 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer archiver)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -23974,12 +23814,12 @@ final _objc_msgSend_529 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aSelector, - ffi.Pointer arg, - ffi.Bool wait, - ffi.Pointer array)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -23994,11 +23834,11 @@ final _objc_msgSend_530 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aSelector, - ffi.Pointer arg, - ffi.Bool wait)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool)>>() .asFunction< void Function( ffi.Pointer, @@ -24254,9 +24094,8 @@ late final _sel_currentThread = objc.registerName("currentThread"); final _objc_msgSend_531 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -24355,10 +24194,8 @@ late final _sel_detachNewThreadWithBlock_ = final _objc_msgSend_532 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer block)>>() + ffi.Void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -24368,11 +24205,11 @@ final _objc_msgSend_533 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer selector, - ffi.Pointer target, - ffi.Pointer argument)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -24684,10 +24521,10 @@ final _objc_msgSend_534 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer anObject, - ffi.Pointer aKey)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -24705,10 +24542,10 @@ final _objc_msgSend_535 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer obj, - ffi.Pointer key)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -24721,9 +24558,9 @@ final _objc_msgSend_536 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -24731,9 +24568,9 @@ final _objc_msgSend_537 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -24743,9 +24580,9 @@ final _objc_msgSend_538 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer keyset)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -24753,9 +24590,8 @@ late final _sel_threadDictionary = objc.registerName("threadDictionary"); final _objc_msgSend_539 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -24764,9 +24600,9 @@ final _objc_msgSend_540 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer date)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -24775,8 +24611,8 @@ late final _sel_sleepForTimeInterval_ = final _objc_msgSend_541 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Void Function(ffi.Pointer obj, - ffi.Pointer sel, ffi.Double ti)>>() + ffi.Void Function(ffi.Pointer, + ffi.Pointer, ffi.Double)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, double)>(); @@ -24786,8 +24622,8 @@ late final _sel_setThreadPriority_ = objc.registerName("setThreadPriority:"); final _objc_msgSend_542 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Void Function(ffi.Pointer obj, - ffi.Pointer sel, ffi.Double value)>>() + ffi.Void Function(ffi.Pointer, + ffi.Pointer, ffi.Double)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, double)>(); @@ -24804,8 +24640,8 @@ late final _sel_qualityOfService = objc.registerName("qualityOfService"); final _objc_msgSend_543 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Int32 Function(ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Int32 Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< int Function( ffi.Pointer, ffi.Pointer)>(); @@ -24814,8 +24650,8 @@ late final _sel_setQualityOfService_ = final _objc_msgSend_544 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Void Function(ffi.Pointer obj, - ffi.Pointer sel, ffi.Int32 value)>>() + ffi.Void Function(ffi.Pointer, + ffi.Pointer, ffi.Int32)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -24827,9 +24663,9 @@ final _objc_msgSend_545 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -24843,11 +24679,11 @@ final _objc_msgSend_546 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer target, - ffi.Pointer selector, - ffi.Pointer argument)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -24859,10 +24695,8 @@ late final _sel_initWithBlock_ = objc.registerName("initWithBlock:"); final _objc_msgSend_547 = objc.msgSendPointer .cast< ffi.NativeFunction< - instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer block)>>() + instancetype Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>>() .asFunction< instancetype Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -24878,13 +24712,13 @@ final _objc_msgSend_548 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aSelector, - ffi.Pointer thr, - ffi.Pointer arg, - ffi.Bool wait, - ffi.Pointer array)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -24900,12 +24734,12 @@ final _objc_msgSend_549 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aSelector, - ffi.Pointer thr, - ffi.Pointer arg, - ffi.Bool wait)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool)>>() .asFunction< void Function( ffi.Pointer, @@ -25076,9 +24910,8 @@ late final _sel_archiverData = objc.registerName("archiverData"); final _objc_msgSend_550 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -25088,10 +24921,10 @@ final _objc_msgSend_551 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer trueName, - ffi.Pointer inArchiveName)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -25108,9 +24941,9 @@ final _objc_msgSend_552 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer archiver)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -25459,9 +25292,8 @@ late final _class_NSPort = objc.getClass("NSPort"); final _objc_msgSend_553 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -25678,9 +25510,8 @@ late final _sel_currentRunLoop = objc.registerName("currentRunLoop"); final _objc_msgSend_554 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -25693,8 +25524,8 @@ late final _sel_getCFRunLoop = objc.registerName("getCFRunLoop"); final _objc_msgSend_555 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer<__CFRunLoop> Function(ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer<__CFRunLoop> Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer<__CFRunLoop> Function( ffi.Pointer, ffi.Pointer)>(); @@ -25960,11 +25791,11 @@ final _objc_msgSend_556 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Double ti, - ffi.Pointer invocation, - ffi.Bool yesOrNo)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Double, + ffi.Pointer, + ffi.Bool)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -25980,13 +25811,13 @@ final _objc_msgSend_557 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Double ti, - ffi.Pointer aTarget, - ffi.Pointer aSelector, - ffi.Pointer userInfo, - ffi.Bool yesOrNo)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Double, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -26112,11 +25943,11 @@ final _objc_msgSend_558 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Double interval, - ffi.Bool repeats, - ffi.Pointer block)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Double, + ffi.Bool, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -26132,12 +25963,12 @@ final _objc_msgSend_559 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer date, - ffi.Double interval, - ffi.Bool repeats, - ffi.Pointer block)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Double, + ffi.Bool, + ffi.Pointer)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -26153,14 +25984,14 @@ final _objc_msgSend_560 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer date, - ffi.Double ti, - ffi.Pointer t, - ffi.Pointer s, - ffi.Pointer ui, - ffi.Bool rep)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Double, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -26178,9 +26009,9 @@ final _objc_msgSend_561 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -26192,10 +26023,10 @@ final _objc_msgSend_562 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer timer, - ffi.Pointer mode)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -26207,10 +26038,10 @@ final _objc_msgSend_563 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aPort, - ffi.Pointer mode)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -26223,9 +26054,9 @@ final _objc_msgSend_564 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer mode)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -26235,10 +26066,10 @@ final _objc_msgSend_565 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer mode, - ffi.Pointer limitDate)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -26252,10 +26083,10 @@ final _objc_msgSend_566 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer mode, - ffi.Pointer limitDate)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< bool Function( ffi.Pointer, @@ -26269,10 +26100,10 @@ final _objc_msgSend_567 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer modes, - ffi.Pointer block)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -26286,13 +26117,13 @@ final _objc_msgSend_568 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aSelector, - ffi.Pointer target, - ffi.Pointer arg, - ffi.UnsignedLong order, - ffi.Pointer modes)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -26312,10 +26143,10 @@ final _objc_msgSend_569 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer runLoop, - ffi.Pointer mode)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -26331,12 +26162,12 @@ final _objc_msgSend_570 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer limitDate, - ffi.Pointer components, - ffi.Pointer receivePort, - ffi.UnsignedLong headerSpaceReserved)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong)>>() .asFunction< bool Function( ffi.Pointer, @@ -26351,13 +26182,13 @@ final _objc_msgSend_571 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer limitDate, - ffi.UnsignedLong msgID, - ffi.Pointer components, - ffi.Pointer receivePort, - ffi.UnsignedLong headerSpaceReserved)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong)>>() .asFunction< bool Function( ffi.Pointer, @@ -26732,9 +26563,8 @@ late final _sel_defaultConnection = objc.registerName("defaultConnection"); final _objc_msgSend_572 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -26744,10 +26574,10 @@ final _objc_msgSend_573 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer name, - ffi.Pointer hostName)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -26896,9 +26726,8 @@ late final _sel_systemDefaultPortNameServer = final _objc_msgSend_574 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -26907,9 +26736,9 @@ final _objc_msgSend_575 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer name)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -26918,10 +26747,10 @@ final _objc_msgSend_576 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer name, - ffi.Pointer host)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -26933,10 +26762,10 @@ final _objc_msgSend_577 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer port, - ffi.Pointer name)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< bool Function( ffi.Pointer, @@ -26950,11 +26779,11 @@ final _objc_msgSend_578 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer name, - ffi.Pointer hostName, - ffi.Pointer server)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -27134,9 +26963,9 @@ final _objc_msgSend_579 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer sel)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -27147,10 +26976,10 @@ final _objc_msgSend_580 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer target, - ffi.Pointer connection)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -27165,10 +26994,10 @@ final _objc_msgSend_581 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer target, - ffi.Pointer connection)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -27183,9 +27012,9 @@ final _objc_msgSend_582 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer proto)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -27196,10 +27025,10 @@ final _objc_msgSend_583 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer name, - ffi.Pointer hostName)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -27213,11 +27042,11 @@ final _objc_msgSend_584 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer name, - ffi.Pointer hostName, - ffi.Pointer server)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -27231,11 +27060,11 @@ final _objc_msgSend_585 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer name, - ffi.Pointer root, - ffi.Pointer server)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -27249,10 +27078,10 @@ final _objc_msgSend_586 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer name, - ffi.Pointer root)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -27273,9 +27102,8 @@ late final _sel_rootProxy = objc.registerName("rootProxy"); final _objc_msgSend_587 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -27287,9 +27115,9 @@ final _objc_msgSend_588 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer name)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< bool Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -27299,10 +27127,10 @@ final _objc_msgSend_589 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer name, - ffi.Pointer server)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< bool Function( ffi.Pointer, @@ -27315,10 +27143,10 @@ final _objc_msgSend_590 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer receivePort, - ffi.Pointer sendPort)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -27339,9 +27167,9 @@ final _objc_msgSend_591 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer runloop)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -27357,11 +27185,11 @@ final _objc_msgSend_592 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer conn, - ffi.Pointer runLoop, - ffi.Pointer mode)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -27376,9 +27204,9 @@ final _objc_msgSend_593 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aport)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -27386,9 +27214,8 @@ late final _sel_decodePortObject = objc.registerName("decodePortObject"); final _objc_msgSend_594 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -27396,9 +27223,8 @@ late final _sel_connection = objc.registerName("connection"); final _objc_msgSend_595 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -27408,11 +27234,11 @@ final _objc_msgSend_596 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer rcvPort, - ffi.Pointer sndPort, - ffi.Pointer comps)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -27429,9 +27255,9 @@ final _objc_msgSend_597 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer coder)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -27595,10 +27421,10 @@ final _objc_msgSend_598 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer description, - ffi.Pointer aClass)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -27613,9 +27439,9 @@ final _objc_msgSend_599 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aClass)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -27630,9 +27456,8 @@ late final _sel_classDescription = objc.registerName("classDescription"); final _objc_msgSend_600 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -28392,9 +28217,8 @@ late final _sel_nullDescriptor = objc.registerName("nullDescriptor"); final _objc_msgSend_601 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -28404,11 +28228,11 @@ final _objc_msgSend_602 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.UnsignedInt descriptorType, - ffi.Pointer bytes, - ffi.UnsignedLong byteCount)>>() + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedInt, + ffi.Pointer, + ffi.UnsignedLong)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, int, ffi.Pointer, int)>(); @@ -28418,10 +28242,10 @@ final _objc_msgSend_603 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.UnsignedInt descriptorType, - ffi.Pointer data)>>() + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedInt, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -28433,10 +28257,8 @@ late final _sel_descriptorWithBoolean_ = final _objc_msgSend_604 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.UnsignedChar boolean)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.UnsignedChar)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -28445,10 +28267,8 @@ late final _sel_descriptorWithEnumCode_ = final _objc_msgSend_605 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.UnsignedInt enumerator)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.UnsignedInt)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -28457,10 +28277,8 @@ late final _sel_descriptorWithInt32_ = final _objc_msgSend_606 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Int signedInt)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Int)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -28469,10 +28287,8 @@ late final _sel_descriptorWithDouble_ = final _objc_msgSend_607 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Double doubleValue)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Double)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, double)>(); @@ -28484,9 +28300,9 @@ final _objc_msgSend_608 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer string)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -28495,9 +28311,9 @@ final _objc_msgSend_609 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer date)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -28507,9 +28323,9 @@ final _objc_msgSend_610 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer fileURL)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -28520,13 +28336,13 @@ final _objc_msgSend_611 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.UnsignedInt eventClass, - ffi.UnsignedInt eventID, - ffi.Pointer targetDescriptor, - ffi.Short returnID, - ffi.Int transactionID)>>() + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedInt, + ffi.UnsignedInt, + ffi.Pointer, + ffi.Short, + ffi.Int)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -28562,10 +28378,8 @@ late final _sel_initWithAEDescNoCopy_ = final _objc_msgSend_612 = objc.msgSendPointer .cast< ffi.NativeFunction< - instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aeDesc)>>() + instancetype Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>>() .asFunction< instancetype Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -28575,11 +28389,11 @@ final _objc_msgSend_613 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.UnsignedInt descriptorType, - ffi.Pointer bytes, - ffi.UnsignedLong byteCount)>>() + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedInt, + ffi.Pointer, + ffi.UnsignedLong)>>() .asFunction< instancetype Function(ffi.Pointer, ffi.Pointer, int, ffi.Pointer, int)>(); @@ -28589,10 +28403,10 @@ final _objc_msgSend_614 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.UnsignedInt descriptorType, - ffi.Pointer data)>>() + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedInt, + ffi.Pointer)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -28606,13 +28420,13 @@ final _objc_msgSend_615 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.UnsignedInt eventClass, - ffi.UnsignedInt eventID, - ffi.Pointer targetDescriptor, - ffi.Short returnID, - ffi.Int transactionID)>>() + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedInt, + ffi.UnsignedInt, + ffi.Pointer, + ffi.Short, + ffi.Int)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -28629,8 +28443,8 @@ late final _sel_aeDesc = objc.registerName("aeDesc"); final _objc_msgSend_616 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -28651,10 +28465,10 @@ final _objc_msgSend_617 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer descriptor, - ffi.UnsignedInt keyword)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedInt)>>() .asFunction< void Function( ffi.Pointer, @@ -28666,10 +28480,8 @@ late final _sel_paramDescriptorForKeyword_ = final _objc_msgSend_618 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.UnsignedInt keyword)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.UnsignedInt)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -28678,8 +28490,8 @@ late final _sel_removeParamDescriptorWithKeyword_ = final _objc_msgSend_619 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Void Function(ffi.Pointer obj, - ffi.Pointer sel, ffi.UnsignedInt keyword)>>() + ffi.Void Function(ffi.Pointer, + ffi.Pointer, ffi.UnsignedInt)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -28708,11 +28520,11 @@ final _objc_msgSend_620 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Int32 sendOptions, - ffi.Double timeoutInSeconds, - ffi.Pointer> error)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Double, + ffi.Pointer>)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -28728,10 +28540,10 @@ final _objc_msgSend_621 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer descriptor, - ffi.Long index)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Long)>>() .asFunction< void Function( ffi.Pointer, @@ -28742,10 +28554,8 @@ late final _sel_descriptorAtIndex_ = objc.registerName("descriptorAtIndex:"); final _objc_msgSend_622 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Long index)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Long)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -28762,8 +28572,8 @@ late final _sel_keywordForDescriptorAtIndex_ = final _objc_msgSend_623 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.UnsignedInt Function(ffi.Pointer obj, - ffi.Pointer sel, ffi.Long index)>>() + ffi.UnsignedInt Function(ffi.Pointer, + ffi.Pointer, ffi.Long)>>() .asFunction< int Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -28775,9 +28585,9 @@ final _objc_msgSend_624 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer descriptor)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -28787,10 +28597,10 @@ final _objc_msgSend_625 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer container, - ffi.Pointer property)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -29059,9 +28869,9 @@ final _objc_msgSend_626 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aClass)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -29071,11 +28881,11 @@ final _objc_msgSend_627 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer suiteName, - ffi.Pointer className, - ffi.Pointer classDeclaration)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -29092,9 +28902,8 @@ late final _sel_superclassDescription = final _objc_msgSend_628 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -29321,9 +29130,9 @@ final _objc_msgSend_629 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.UnsignedInt Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer argumentName)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< int Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -29602,9 +29411,9 @@ final _objc_msgSend_630 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer commandDef)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< instancetype Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -29612,9 +29421,8 @@ late final _sel_commandDescription = objc.registerName("commandDescription"); final _objc_msgSend_631 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -29624,9 +29432,8 @@ late final _sel_receiversSpecifier = objc.registerName("receiversSpecifier"); final _objc_msgSend_632 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -29636,9 +29443,9 @@ final _objc_msgSend_633 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -29649,9 +29456,9 @@ final _objc_msgSend_634 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -29666,8 +29473,8 @@ late final _sel_setScriptErrorNumber_ = final _objc_msgSend_635 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Void Function(ffi.Pointer obj, - ffi.Pointer sel, ffi.Long value)>>() + ffi.Void Function(ffi.Pointer, + ffi.Pointer, ffi.Long)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -29676,9 +29483,8 @@ late final _sel_scriptErrorOffendingObjectDescriptor = final _objc_msgSend_636 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -29688,9 +29494,9 @@ final _objc_msgSend_637 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -29705,9 +29511,8 @@ late final _sel_currentCommand = objc.registerName("currentCommand"); final _objc_msgSend_638 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -29720,9 +29525,8 @@ late final _sel_createCommandInstance = final _objc_msgSend_639 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -29731,10 +29535,8 @@ late final _sel_createCommandInstanceWithZone_ = final _objc_msgSend_640 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer<_NSZone> zone)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer<_NSZone>)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer<_NSZone>)>(); @@ -29743,9 +29545,9 @@ final _objc_msgSend_641 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer commandDescription)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< bool Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -29754,9 +29556,9 @@ final _objc_msgSend_642 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer commandDescription)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -29767,9 +29569,9 @@ final _objc_msgSend_643 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer key)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -29780,10 +29582,8 @@ late final _sel_keyWithAppleEventCode_ = final _objc_msgSend_644 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.UnsignedInt appleEventCode)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.UnsignedInt)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -29805,11 +29605,11 @@ final _objc_msgSend_645 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer classDesc, - ffi.Pointer container, - ffi.Pointer property)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -29836,9 +29636,9 @@ final _objc_msgSend_646 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -29850,9 +29650,9 @@ final _objc_msgSend_647 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -29863,10 +29663,10 @@ final _objc_msgSend_648 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer container, - ffi.Pointer count)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -29890,9 +29690,9 @@ final _objc_msgSend_649 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer objectSpecifier)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -29905,11 +29705,11 @@ final _objc_msgSend_650 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, - ffi.Pointer key, - ffi.Pointer properties)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -29924,12 +29724,12 @@ final _objc_msgSend_651 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer objectClass, - ffi.Pointer key, - ffi.Pointer contentsValue, - ffi.Pointer properties)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -29945,10 +29745,10 @@ final _objc_msgSend_652 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.UnsignedLong index, - ffi.Pointer key)>>() + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -29965,11 +29765,11 @@ final _objc_msgSend_653 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, - ffi.UnsignedLong index, - ffi.Pointer key)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -29983,10 +29783,10 @@ final _objc_msgSend_654 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.UnsignedLong index, - ffi.Pointer key)>>() + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -29999,11 +29799,11 @@ final _objc_msgSend_655 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.UnsignedLong index, - ffi.Pointer key, - ffi.Pointer value)>>() + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -30017,10 +29817,10 @@ final _objc_msgSend_656 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, - ffi.Pointer key)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -30032,10 +29832,10 @@ final _objc_msgSend_657 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, - ffi.Pointer key)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -30049,9 +29849,9 @@ final _objc_msgSend_658 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer specifier)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -30915,9 +30715,8 @@ late final _sel_currentProgress = objc.registerName("currentProgress"); final _objc_msgSend_659 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -30926,10 +30725,8 @@ late final _sel_progressWithTotalUnitCount_ = final _objc_msgSend_660 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Int64 unitCount)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Int64)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -30941,11 +30738,11 @@ final _objc_msgSend_661 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Int64 unitCount, - ffi.Pointer parent, - ffi.Int64 portionOfParentTotalUnitCount)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Int64, + ffi.Pointer, + ffi.Int64)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -30959,10 +30756,10 @@ final _objc_msgSend_662 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer parentProgressOrNil, - ffi.Pointer userInfoOrNil)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -30974,8 +30771,8 @@ late final _sel_becomeCurrentWithPendingUnitCount_ = final _objc_msgSend_663 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Void Function(ffi.Pointer obj, - ffi.Pointer sel, ffi.Int64 unitCount)>>() + ffi.Void Function(ffi.Pointer, + ffi.Pointer, ffi.Int64)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -30985,10 +30782,10 @@ final _objc_msgSend_664 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Int64 unitCount, - ffi.Pointer work)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Int64, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -31002,10 +30799,10 @@ final _objc_msgSend_665 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer child, - ffi.Int64 inUnitCount)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int64)>>() .asFunction< void Function( ffi.Pointer, @@ -31016,8 +30813,8 @@ late final _sel_totalUnitCount = objc.registerName("totalUnitCount"); final _objc_msgSend_666 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Int64 Function(ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Int64 Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< int Function( ffi.Pointer, ffi.Pointer)>(); @@ -31025,8 +30822,8 @@ late final _sel_setTotalUnitCount_ = objc.registerName("setTotalUnitCount:"); final _objc_msgSend_667 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Void Function(ffi.Pointer obj, - ffi.Pointer sel, ffi.Int64 value)>>() + ffi.Void Function(ffi.Pointer, + ffi.Pointer, ffi.Int64)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -31048,9 +30845,8 @@ late final _sel_cancellationHandler = objc.registerName("cancellationHandler"); final _objc_msgSend_668 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -31059,10 +30855,8 @@ late final _sel_setCancellationHandler_ = final _objc_msgSend_669 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value)>>() + ffi.Void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -31086,9 +30880,9 @@ final _objc_msgSend_670 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -31103,9 +30897,9 @@ final _objc_msgSend_671 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -31222,10 +31016,10 @@ final _objc_msgSend_672 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, - ffi.Pointer publishingHandler)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -31373,11 +31167,11 @@ final _objc_msgSend_673 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer typeIdentifier, - ffi.Int32 visibility, - ffi.Pointer loadHandler)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -31651,12 +31445,12 @@ final _objc_msgSend_674 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer typeIdentifier, - ffi.Int32 fileOptions, - ffi.Int32 visibility, - ffi.Pointer loadHandler)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Int32, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -31672,10 +31466,8 @@ late final _sel_registeredTypeIdentifiersWithFileOptions_ = final _objc_msgSend_675 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Int32 fileOptions)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Int32)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -31687,10 +31479,10 @@ final _objc_msgSend_676 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer typeIdentifier, - ffi.Int32 fileOptions)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32)>>() .asFunction< bool Function( ffi.Pointer, @@ -31704,10 +31496,10 @@ final _objc_msgSend_677 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer typeIdentifier, - ffi.Pointer completionHandler)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -31852,10 +31644,10 @@ final _objc_msgSend_678 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer typeIdentifier, - ffi.Pointer completionHandler)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -31869,10 +31661,10 @@ final _objc_msgSend_679 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer typeIdentifier, - ffi.Pointer completionHandler)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -31887,10 +31679,10 @@ final _objc_msgSend_680 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer object, - ffi.Int32 visibility)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32)>>() .asFunction< void Function( ffi.Pointer, @@ -32154,11 +31946,11 @@ final _objc_msgSend_681 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aClass, - ffi.Int32 visibility, - ffi.Pointer loadHandler)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -32174,10 +31966,10 @@ final _objc_msgSend_682 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aClass, - ffi.Pointer completionHandler)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -32190,10 +31982,10 @@ final _objc_msgSend_683 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer item, - ffi.Pointer typeIdentifier)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -32501,10 +32293,10 @@ final _objc_msgSend_684 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer typeIdentifier, - ffi.Pointer loadHandler)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -32517,11 +32309,11 @@ final _objc_msgSend_685 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer typeIdentifier, - ffi.Pointer options, - ffi.Pointer completionHandler)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -32533,9 +32325,8 @@ late final _sel_previewImageHandler = objc.registerName("previewImageHandler"); final _objc_msgSend_686 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -32544,10 +32335,8 @@ late final _sel_setPreviewImageHandler_ = final _objc_msgSend_687 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value)>>() + ffi.Void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -32557,10 +32346,10 @@ final _objc_msgSend_688 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer options, - ffi.Pointer completionHandler)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -33222,10 +33011,10 @@ final _objc_msgSend_689 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - _NSRange range, - ffi.Pointer aString)>>() + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -33238,10 +33027,10 @@ final _objc_msgSend_690 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aString, - ffi.UnsignedLong loc)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong)>>() .asFunction< void Function( ffi.Pointer, @@ -33259,12 +33048,12 @@ final _objc_msgSend_691 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.UnsignedLong Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer target, - ffi.Pointer replacement, - ffi.Int32 options, - _NSRange searchRange)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + _NSRange)>>() .asFunction< int Function( ffi.Pointer, @@ -33279,12 +33068,12 @@ final _objc_msgSend_692 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer transform, - ffi.Bool reverse, - _NSRange range, - ffi.Pointer<_NSRange> resultingRange)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + _NSRange, + ffi.Pointer<_NSRange>)>>() .asFunction< bool Function( ffi.Pointer, @@ -33296,10 +33085,8 @@ final _objc_msgSend_692 = objc.msgSendPointer final _objc_msgSend_693 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.UnsignedLong capacity)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.UnsignedLong)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -33475,11 +33262,11 @@ final _objc_msgSend_694 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer name, - ffi.Pointer object, - ffi.Pointer userInfo)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -34062,9 +33849,8 @@ late final _sel_mainBundle = objc.registerName("mainBundle"); final _objc_msgSend_695 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -34077,9 +33863,9 @@ final _objc_msgSend_696 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aClass)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -34089,9 +33875,9 @@ final _objc_msgSend_697 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer identifier)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -34131,12 +33917,12 @@ final _objc_msgSend_698 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer name, - ffi.Pointer ext, - ffi.Pointer subpath, - ffi.Pointer bundleURL)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -34152,11 +33938,11 @@ final _objc_msgSend_699 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer ext, - ffi.Pointer subpath, - ffi.Pointer bundleURL)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -34170,10 +33956,10 @@ final _objc_msgSend_700 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer name, - ffi.Pointer ext)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -34186,11 +33972,11 @@ final _objc_msgSend_701 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer name, - ffi.Pointer ext, - ffi.Pointer subpath)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -34204,12 +33990,12 @@ final _objc_msgSend_702 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer name, - ffi.Pointer ext, - ffi.Pointer subpath, - ffi.Pointer localizationName)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -34224,10 +34010,10 @@ final _objc_msgSend_703 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer ext, - ffi.Pointer subpath)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -34240,11 +34026,11 @@ final _objc_msgSend_704 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer ext, - ffi.Pointer subpath, - ffi.Pointer localizationName)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -34258,11 +34044,11 @@ final _objc_msgSend_705 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer name, - ffi.Pointer ext, - ffi.Pointer bundlePath)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -34276,10 +34062,10 @@ final _objc_msgSend_706 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer ext, - ffi.Pointer bundlePath)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -34292,10 +34078,10 @@ final _objc_msgSend_707 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer name, - ffi.Pointer ext)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -34308,12 +34094,12 @@ final _objc_msgSend_708 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer name, - ffi.Pointer ext, - ffi.Pointer subpath, - ffi.Pointer localizationName)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -34328,11 +34114,11 @@ final _objc_msgSend_709 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer ext, - ffi.Pointer subpath, - ffi.Pointer localizationName)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -34346,11 +34132,11 @@ final _objc_msgSend_710 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer key, - ffi.Pointer value, - ffi.Pointer tableName)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -34735,10 +34521,10 @@ final _objc_msgSend_711 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.UnsignedLong location, - ffi.Pointer<_NSRange> range)>>() + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer<_NSRange>)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, int, ffi.Pointer<_NSRange>)>(); @@ -34748,11 +34534,11 @@ final _objc_msgSend_712 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer attrName, - ffi.UnsignedLong location, - ffi.Pointer<_NSRange> range)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer<_NSRange>)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -34765,10 +34551,8 @@ late final _sel_attributedSubstringFromRange_ = final _objc_msgSend_713 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - _NSRange range)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, _NSRange)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, _NSRange)>(); @@ -34778,11 +34562,11 @@ final _objc_msgSend_714 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.UnsignedLong location, - ffi.Pointer<_NSRange> range, - _NSRange rangeLimit)>>() + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer<_NSRange>, + _NSRange)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -34796,12 +34580,12 @@ final _objc_msgSend_715 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer attrName, - ffi.UnsignedLong location, - ffi.Pointer<_NSRange> range, - _NSRange rangeLimit)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer<_NSRange>, + _NSRange)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -34816,9 +34600,9 @@ final _objc_msgSend_716 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer other)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< bool Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -34828,10 +34612,10 @@ final _objc_msgSend_717 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer str, - ffi.Pointer attrs)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -34844,9 +34628,9 @@ final _objc_msgSend_718 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer attrStr)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< instancetype Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -35011,11 +34795,11 @@ final _objc_msgSend_719 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - _NSRange enumerationRange, - ffi.Int32 opts, - ffi.Pointer block)>>() + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Int32, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -35177,12 +34961,12 @@ final _objc_msgSend_720 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer attrName, - _NSRange enumerationRange, - ffi.Int32 opts, - ffi.Pointer block)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Int32, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -35381,8 +35165,8 @@ late final _sel_interpretedSyntax = objc.registerName("interpretedSyntax"); final _objc_msgSend_721 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Int32 Function(ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Int32 Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< int Function( ffi.Pointer, ffi.Pointer)>(); @@ -35391,8 +35175,8 @@ late final _sel_setInterpretedSyntax_ = final _objc_msgSend_722 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Void Function(ffi.Pointer obj, - ffi.Pointer sel, ffi.Int32 value)>>() + ffi.Void Function(ffi.Pointer, + ffi.Pointer, ffi.Int32)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -35408,8 +35192,8 @@ late final _sel_failurePolicy = objc.registerName("failurePolicy"); final _objc_msgSend_723 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Int32 Function(ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Int32 Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< int Function( ffi.Pointer, ffi.Pointer)>(); @@ -35417,8 +35201,8 @@ late final _sel_setFailurePolicy_ = objc.registerName("setFailurePolicy:"); final _objc_msgSend_724 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Void Function(ffi.Pointer obj, - ffi.Pointer sel, ffi.Int32 value)>>() + ffi.Void Function(ffi.Pointer, + ffi.Pointer, ffi.Int32)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -35434,12 +35218,12 @@ final _objc_msgSend_725 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer markdownFile, - ffi.Pointer options, - ffi.Pointer baseURL, - ffi.Pointer> error)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -35454,12 +35238,12 @@ final _objc_msgSend_726 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer markdown, - ffi.Pointer options, - ffi.Pointer baseURL, - ffi.Pointer> error)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -35474,12 +35258,12 @@ final _objc_msgSend_727 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer markdownString, - ffi.Pointer options, - ffi.Pointer baseURL, - ffi.Pointer> error)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -35502,11 +35286,11 @@ final _objc_msgSend_728 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer format, - ffi.Int32 options, - ffi.Pointer locale)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -35520,12 +35304,12 @@ final _objc_msgSend_729 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer format, - ffi.Int32 options, - ffi.Pointer locale, - ffi.Pointer<__va_list_tag> arguments)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ffi.Pointer<__va_list_tag>)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -35542,10 +35326,10 @@ final _objc_msgSend_730 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer format, - ffi.Int32 options)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -35558,12 +35342,12 @@ final _objc_msgSend_731 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer format, - ffi.Int32 options, - ffi.Pointer locale, - ffi.Pointer context)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -35578,13 +35362,13 @@ final _objc_msgSend_732 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer format, - ffi.Int32 options, - ffi.Pointer locale, - ffi.Pointer context, - ffi.Pointer<__va_list_tag> arguments)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<__va_list_tag>)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -35600,10 +35384,10 @@ final _objc_msgSend_733 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer format, - ffi.Pointer context)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -35616,11 +35400,11 @@ final _objc_msgSend_734 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer format, - ffi.Int32 options, - ffi.Pointer context)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -35633,9 +35417,8 @@ late final _sel_attributedStringByInflectingString = final _objc_msgSend_735 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -35645,11 +35428,11 @@ final _objc_msgSend_736 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer key, - ffi.Pointer value, - ffi.Pointer tableName)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -35678,10 +35461,10 @@ final _objc_msgSend_737 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer localizationsArray, - ffi.Pointer preferencesArray)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -35696,10 +35479,10 @@ final _objc_msgSend_738 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Double priority, - ffi.Pointer tags)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Double, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -36079,10 +35862,10 @@ final _objc_msgSend_739 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer attrs, - _NSRange range)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange)>>() .asFunction< void Function( ffi.Pointer, @@ -36093,9 +35876,8 @@ late final _sel_mutableString = objc.registerName("mutableString"); final _objc_msgSend_740 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -36105,11 +35887,11 @@ final _objc_msgSend_741 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer name, - ffi.Pointer value, - _NSRange range)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange)>>() .asFunction< void Function( ffi.Pointer, @@ -36123,10 +35905,10 @@ final _objc_msgSend_742 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer attrs, - _NSRange range)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange)>>() .asFunction< void Function( ffi.Pointer, @@ -36139,10 +35921,10 @@ final _objc_msgSend_743 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer name, - _NSRange range)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange)>>() .asFunction< void Function( ffi.Pointer, @@ -36155,10 +35937,10 @@ final _objc_msgSend_744 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - _NSRange range, - ffi.Pointer attrString)>>() + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -36171,10 +35953,10 @@ final _objc_msgSend_745 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer attrString, - ffi.UnsignedLong loc)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong)>>() .asFunction< void Function( ffi.Pointer, @@ -36187,9 +35969,9 @@ final _objc_msgSend_746 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer attrString)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -36893,9 +36675,9 @@ final _objc_msgSend_747 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer obj)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -36905,10 +36687,10 @@ final _objc_msgSend_748 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer obj, - ffi.Pointer attrs)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -36923,11 +36705,11 @@ final _objc_msgSend_749 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer> obj, - ffi.Pointer string, - ffi.Pointer> error)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer, + ffi.Pointer>)>>() .asFunction< bool Function( ffi.Pointer, @@ -36941,11 +36723,11 @@ final _objc_msgSend_750 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer partialString, - ffi.Pointer> newString, - ffi.Pointer> error)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer>)>>() .asFunction< bool Function( ffi.Pointer, @@ -36960,13 +36742,13 @@ final _objc_msgSend_751 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer> partialStringPtr, - ffi.Pointer<_NSRange> proposedSelRangePtr, - ffi.Pointer origString, - _NSRange origSelRange, - ffi.Pointer> error)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer<_NSRange>, + ffi.Pointer, + _NSRange, + ffi.Pointer>)>>() .asFunction< bool Function( ffi.Pointer, @@ -36990,8 +36772,8 @@ late final _sel_formattingContext = objc.registerName("formattingContext"); final _objc_msgSend_752 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Int32 Function(ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Int32 Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< int Function( ffi.Pointer, ffi.Pointer)>(); @@ -37000,8 +36782,8 @@ late final _sel_setFormattingContext_ = final _objc_msgSend_753 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Void Function(ffi.Pointer obj, - ffi.Pointer sel, ffi.Int32 value)>>() + ffi.Void Function(ffi.Pointer, + ffi.Pointer, ffi.Int32)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -37011,12 +36793,12 @@ final _objc_msgSend_754 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer> obj, - ffi.Pointer string, - ffi.Pointer<_NSRange> rangep, - ffi.Pointer> error)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer, + ffi.Pointer<_NSRange>, + ffi.Pointer>)>>() .asFunction< bool Function( ffi.Pointer, @@ -37030,9 +36812,9 @@ final _objc_msgSend_755 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer date)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -37052,11 +36834,11 @@ final _objc_msgSend_756 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer date, - ffi.Int32 dstyle, - ffi.Int32 tstyle)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Int32)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -37070,11 +36852,11 @@ final _objc_msgSend_757 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer tmplate, - ffi.UnsignedLong opts, - ffi.Pointer locale)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -37094,8 +36876,8 @@ late final _sel_defaultFormatterBehavior = final _objc_msgSend_758 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Int32 Function(ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Int32 Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< int Function( ffi.Pointer, ffi.Pointer)>(); @@ -37104,8 +36886,8 @@ late final _sel_setDefaultFormatterBehavior_ = final _objc_msgSend_759 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Void Function(ffi.Pointer obj, - ffi.Pointer sel, ffi.Int32 value)>>() + ffi.Void Function(ffi.Pointer, + ffi.Pointer, ffi.Int32)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -37117,8 +36899,8 @@ late final _sel_dateStyle = objc.registerName("dateStyle"); final _objc_msgSend_760 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Int32 Function(ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Int32 Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< int Function( ffi.Pointer, ffi.Pointer)>(); @@ -37126,8 +36908,8 @@ late final _sel_setDateStyle_ = objc.registerName("setDateStyle:"); final _objc_msgSend_761 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Void Function(ffi.Pointer obj, - ffi.Pointer sel, ffi.Int32 value)>>() + ffi.Void Function(ffi.Pointer, + ffi.Pointer, ffi.Int32)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -37139,9 +36921,9 @@ final _objc_msgSend_762 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -37823,9 +37605,8 @@ late final _sel_currentCalendar = objc.registerName("currentCalendar"); final _objc_msgSend_763 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -37837,9 +37618,9 @@ final _objc_msgSend_764 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer calendarIdentifierConstant)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -37848,9 +37629,8 @@ late final _sel_initWithCalendarIdentifier_ = final _objc_msgSend_765 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -37858,9 +37638,9 @@ final _objc_msgSend_766 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -37940,8 +37720,8 @@ late final _sel_minimumRangeOfUnit_ = objc.registerName("minimumRangeOfUnit:"); final _objc_msgSend_767 = objc.msgSendPointer .cast< ffi.NativeFunction< - _NSRange Function(ffi.Pointer obj, - ffi.Pointer sel, ffi.Int32 unit)>>() + _NSRange Function(ffi.Pointer, + ffi.Pointer, ffi.Int32)>>() .asFunction< _NSRange Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -37949,10 +37729,10 @@ final _objc_msgSend_767Stret = objc.msgSendStretPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer<_NSRange> stret, - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Int32 unit)>>() + ffi.Pointer<_NSRange>, + ffi.Pointer, + ffi.Pointer, + ffi.Int32)>>() .asFunction< void Function(ffi.Pointer<_NSRange>, ffi.Pointer, ffi.Pointer, int)>(); @@ -37963,11 +37743,11 @@ final _objc_msgSend_768 = objc.msgSendPointer .cast< ffi.NativeFunction< _NSRange Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Int32 smaller, - ffi.Int32 larger, - ffi.Pointer date)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Int32, + ffi.Pointer)>>() .asFunction< _NSRange Function( ffi.Pointer, @@ -37979,12 +37759,12 @@ final _objc_msgSend_768Stret = objc.msgSendStretPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer<_NSRange> stret, - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Int32 smaller, - ffi.Int32 larger, - ffi.Pointer date)>>() + ffi.Pointer<_NSRange>, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Int32, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer<_NSRange>, @@ -37999,11 +37779,11 @@ final _objc_msgSend_769 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.UnsignedLong Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Int32 smaller, - ffi.Int32 larger, - ffi.Pointer date)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Int32, + ffi.Pointer)>>() .asFunction< int Function( ffi.Pointer, @@ -38017,12 +37797,12 @@ final _objc_msgSend_770 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Int32 unit, - ffi.Pointer> datep, - ffi.Pointer tip, - ffi.Pointer date)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer>, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< bool Function( ffi.Pointer, @@ -38316,9 +38096,8 @@ late final _sel_calendar = objc.registerName("calendar"); final _objc_msgSend_771 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -38327,18 +38106,17 @@ final _objc_msgSend_772 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); final _objc_msgSend_773 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -38346,9 +38124,9 @@ final _objc_msgSend_774 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -38390,11 +38168,8 @@ late final _sel_setValue_forComponent_ = final _objc_msgSend_775 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Long value, - ffi.Int32 unit)>>() + ffi.Void Function(ffi.Pointer, + ffi.Pointer, ffi.Long, ffi.Int32)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, int, int)>(); @@ -38402,8 +38177,8 @@ late final _sel_valueForComponent_ = objc.registerName("valueForComponent:"); final _objc_msgSend_776 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Long Function(ffi.Pointer obj, - ffi.Pointer sel, ffi.Int32 unit)>>() + ffi.Long Function(ffi.Pointer, + ffi.Pointer, ffi.Int32)>>() .asFunction< int Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -38414,9 +38189,9 @@ final _objc_msgSend_777 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer calendar)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< bool Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -38425,9 +38200,9 @@ final _objc_msgSend_778 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer comps)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -38437,10 +38212,10 @@ final _objc_msgSend_779 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Int32 unitFlags, - ffi.Pointer date)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -38465,11 +38240,11 @@ final _objc_msgSend_780 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer comps, - ffi.Pointer date, - ffi.Int32 opts)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -38483,12 +38258,12 @@ final _objc_msgSend_781 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Int32 unitFlags, - ffi.Pointer startingDate, - ffi.Pointer resultDate, - ffi.Int32 opts)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ffi.Pointer, + ffi.Int32)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -38503,13 +38278,13 @@ final _objc_msgSend_782 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer eraValuePointer, - ffi.Pointer yearValuePointer, - ffi.Pointer monthValuePointer, - ffi.Pointer dayValuePointer, - ffi.Pointer date)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -38528,10 +38303,10 @@ final _objc_msgSend_783 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Long Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Int32 unit, - ffi.Pointer date)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer)>>() .asFunction< int Function( ffi.Pointer, @@ -38544,16 +38319,16 @@ final _objc_msgSend_784 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Long eraValue, - ffi.Long yearValue, - ffi.Long monthValue, - ffi.Long dayValue, - ffi.Long hourValue, - ffi.Long minuteValue, - ffi.Long secondValue, - ffi.Long nanosecondValue)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Long, + ffi.Long, + ffi.Long, + ffi.Long, + ffi.Long, + ffi.Long, + ffi.Long, + ffi.Long)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -38576,10 +38351,10 @@ final _objc_msgSend_785 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer timezone, - ffi.Pointer date)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -38592,11 +38367,11 @@ final _objc_msgSend_786 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Int32 Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer date1, - ffi.Pointer date2, - ffi.Int32 unit)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32)>>() .asFunction< int Function( ffi.Pointer, @@ -38610,11 +38385,11 @@ final _objc_msgSend_787 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer date1, - ffi.Pointer date2, - ffi.Int32 unit)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32)>>() .asFunction< bool Function( ffi.Pointer, @@ -38628,10 +38403,10 @@ final _objc_msgSend_788 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer date1, - ffi.Pointer date2)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< bool Function( ffi.Pointer, @@ -38648,11 +38423,11 @@ final _objc_msgSend_789 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer> datep, - ffi.Pointer tip, - ffi.Pointer date)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< bool Function( ffi.Pointer, @@ -38666,12 +38441,12 @@ final _objc_msgSend_790 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer> datep, - ffi.Pointer tip, - ffi.Int32 options, - ffi.Pointer date)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer, + ffi.Int32, + ffi.Pointer)>>() .asFunction< bool Function( ffi.Pointer, @@ -38686,12 +38461,12 @@ final _objc_msgSend_791 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Int32 unitFlags, - ffi.Pointer startingDateComp, - ffi.Pointer resultDateComp, - ffi.Int32 options)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ffi.Pointer, + ffi.Int32)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -38706,12 +38481,12 @@ final _objc_msgSend_792 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Int32 unit, - ffi.Long value, - ffi.Pointer date, - ffi.Int32 options)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Long, + ffi.Pointer, + ffi.Int32)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -38869,12 +38644,12 @@ final _objc_msgSend_793 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer start, - ffi.Pointer comps, - ffi.Int32 opts, - ffi.Pointer block)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -38889,11 +38664,11 @@ final _objc_msgSend_794 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer date, - ffi.Pointer comps, - ffi.Int32 options)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -38907,12 +38682,12 @@ final _objc_msgSend_795 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer date, - ffi.Int32 unit, - ffi.Long value, - ffi.Int32 options)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Long, + ffi.Int32)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -38927,13 +38702,13 @@ final _objc_msgSend_796 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer date, - ffi.Long hourValue, - ffi.Long minuteValue, - ffi.Long secondValue, - ffi.Int32 options)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Long, + ffi.Long, + ffi.Long, + ffi.Int32)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -38951,13 +38726,13 @@ final _objc_msgSend_797 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Long h, - ffi.Long m, - ffi.Long s, - ffi.Pointer date, - ffi.Int32 opts)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Long, + ffi.Long, + ffi.Long, + ffi.Pointer, + ffi.Int32)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -38973,10 +38748,10 @@ final _objc_msgSend_798 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer date, - ffi.Pointer components)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< bool Function( ffi.Pointer, @@ -38987,9 +38762,9 @@ final _objc_msgSend_799 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -39002,9 +38777,9 @@ final _objc_msgSend_800 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -39015,9 +38790,9 @@ final _objc_msgSend_801 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -39871,9 +39646,9 @@ final _objc_msgSend_802 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer number)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -39882,9 +39657,9 @@ final _objc_msgSend_803 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer string)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -39908,10 +39683,10 @@ final _objc_msgSend_804 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer num, - ffi.Int32 nstyle)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -39928,16 +39703,16 @@ abstract class NSNumberFormatterBehavior { final _objc_msgSend_805 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Int32 Function(ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Int32 Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< int Function( ffi.Pointer, ffi.Pointer)>(); final _objc_msgSend_806 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Void Function(ffi.Pointer obj, - ffi.Pointer sel, ffi.Int32 behavior)>>() + ffi.Void Function(ffi.Pointer, + ffi.Pointer, ffi.Int32)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -39945,8 +39720,8 @@ late final _sel_numberStyle = objc.registerName("numberStyle"); final _objc_msgSend_807 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Int32 Function(ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Int32 Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< int Function( ffi.Pointer, ffi.Pointer)>(); @@ -39954,8 +39729,8 @@ late final _sel_setNumberStyle_ = objc.registerName("setNumberStyle:"); final _objc_msgSend_808 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Void Function(ffi.Pointer obj, - ffi.Pointer sel, ffi.Int32 value)>>() + ffi.Void Function(ffi.Pointer, + ffi.Pointer, ffi.Int32)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -39966,8 +39741,8 @@ late final _sel_setGeneratesDecimalNumbers_ = final _objc_msgSend_809 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Void Function(ffi.Pointer obj, - ffi.Pointer sel, ffi.Int32 value)>>() + ffi.Void Function(ffi.Pointer, + ffi.Pointer, ffi.Int32)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -40085,8 +39860,8 @@ late final _sel_paddingPosition = objc.registerName("paddingPosition"); final _objc_msgSend_810 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Int32 Function(ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Int32 Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< int Function( ffi.Pointer, ffi.Pointer)>(); @@ -40094,8 +39869,8 @@ late final _sel_setPaddingPosition_ = objc.registerName("setPaddingPosition:"); final _objc_msgSend_811 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Void Function(ffi.Pointer obj, - ffi.Pointer sel, ffi.Int32 value)>>() + ffi.Void Function(ffi.Pointer, + ffi.Pointer, ffi.Int32)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -40114,8 +39889,8 @@ late final _sel_roundingMode = objc.registerName("roundingMode"); final _objc_msgSend_812 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Int32 Function(ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Int32 Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< int Function( ffi.Pointer, ffi.Pointer)>(); @@ -40123,8 +39898,8 @@ late final _sel_setRoundingMode_ = objc.registerName("setRoundingMode:"); final _objc_msgSend_813 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Void Function(ffi.Pointer obj, - ffi.Pointer sel, ffi.Int32 value)>>() + ffi.Void Function(ffi.Pointer, + ffi.Pointer, ffi.Int32)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -40132,9 +39907,8 @@ late final _sel_roundingIncrement = objc.registerName("roundingIncrement"); final _objc_msgSend_814 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -40144,9 +39918,9 @@ final _objc_msgSend_815 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -40209,9 +39983,9 @@ final _objc_msgSend_816 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -40384,9 +40158,8 @@ late final _sel_defaultDecimalNumberHandler = final _objc_msgSend_817 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -40405,14 +40178,14 @@ final _objc_msgSend_818 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Int32 roundingMode, - ffi.Short scale, - ffi.Bool exact, - ffi.Bool overflow, - ffi.Bool underflow, - ffi.Bool divideByZero)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Short, + ffi.Bool, + ffi.Bool, + ffi.Bool, + ffi.Bool)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -40433,9 +40206,9 @@ final _objc_msgSend_819 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -40684,9 +40457,8 @@ late final _sel_charactersToBeSkipped = final _objc_msgSend_820 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -40696,9 +40468,9 @@ final _objc_msgSend_821 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -40708,10 +40480,8 @@ late final _sel_scanInt_ = objc.registerName("scanInt:"); final _objc_msgSend_822 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer result)>>() + ffi.Bool Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>>() .asFunction< bool Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -40719,10 +40489,8 @@ late final _sel_scanInteger_ = objc.registerName("scanInteger:"); final _objc_msgSend_823 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer result)>>() + ffi.Bool Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>>() .asFunction< bool Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -40730,10 +40498,8 @@ late final _sel_scanLongLong_ = objc.registerName("scanLongLong:"); final _objc_msgSend_824 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer result)>>() + ffi.Bool Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>>() .asFunction< bool Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -40743,9 +40509,9 @@ final _objc_msgSend_825 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer result)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< bool Function( ffi.Pointer, @@ -40755,10 +40521,8 @@ late final _sel_scanFloat_ = objc.registerName("scanFloat:"); final _objc_msgSend_826 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer result)>>() + ffi.Bool Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>>() .asFunction< bool Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -40766,10 +40530,8 @@ late final _sel_scanDouble_ = objc.registerName("scanDouble:"); final _objc_msgSend_827 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer result)>>() + ffi.Bool Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>>() .asFunction< bool Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -40778,9 +40540,9 @@ final _objc_msgSend_828 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer result)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< bool Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -40793,10 +40555,10 @@ final _objc_msgSend_829 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer string, - ffi.Pointer> result)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>>() .asFunction< bool Function( ffi.Pointer, @@ -40809,10 +40571,10 @@ final _objc_msgSend_830 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer set, - ffi.Pointer> result)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>>() .asFunction< bool Function( ffi.Pointer, @@ -40834,10 +40596,8 @@ late final _sel_scanDecimal_ = objc.registerName("scanDecimal:"); final _objc_msgSend_831 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer dcm)>>() + ffi.Bool Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>>() .asFunction< bool Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -41017,11 +40777,11 @@ final _objc_msgSend_832 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer name, - ffi.Pointer reason, - ffi.Pointer userInfo)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -41035,11 +40795,11 @@ final _objc_msgSend_833 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aName, - ffi.Pointer aReason, - ffi.Pointer aUserInfo)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -41056,11 +40816,11 @@ final _objc_msgSend_834 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer name, - ffi.Pointer format, - ffi.Pointer<__va_list_tag> argList)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<__va_list_tag>)>>() .asFunction< void Function( ffi.Pointer, @@ -41447,11 +41207,8 @@ late final _sel_initWithFileDescriptor_closeOnDealloc_ = final _objc_msgSend_835 = objc.msgSendPointer .cast< ffi.NativeFunction< - instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Int fd, - ffi.Bool closeopt)>>() + instancetype Function(ffi.Pointer, + ffi.Pointer, ffi.Int, ffi.Bool)>>() .asFunction< instancetype Function(ffi.Pointer, ffi.Pointer, int, bool)>(); @@ -41461,9 +41218,9 @@ final _objc_msgSend_836 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer> error)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -41475,10 +41232,10 @@ final _objc_msgSend_837 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.UnsignedLong length, - ffi.Pointer> error)>>() + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer>)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -41490,10 +41247,10 @@ final _objc_msgSend_838 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer data, - ffi.Pointer> error)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>>() .asFunction< bool Function( ffi.Pointer, @@ -41505,10 +41262,10 @@ final _objc_msgSend_839 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer offsetInFile, - ffi.Pointer> error)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>>() .asFunction< bool Function( ffi.Pointer, @@ -41522,10 +41279,10 @@ final _objc_msgSend_840 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.UnsignedLongLong offset, - ffi.Pointer> error)>>() + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLongLong, + ffi.Pointer>)>>() .asFunction< bool Function( ffi.Pointer, @@ -41543,9 +41300,8 @@ late final _sel_fileHandleWithStandardInput = final _objc_msgSend_841 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -41567,10 +41323,10 @@ final _objc_msgSend_842 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, - ffi.Pointer> error)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -41587,9 +41343,9 @@ final _objc_msgSend_843 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer modes)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -41719,9 +41475,8 @@ late final _sel_readabilityHandler = objc.registerName("readabilityHandler"); final _objc_msgSend_844 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -41730,10 +41485,8 @@ late final _sel_setReadabilityHandler_ = final _objc_msgSend_845 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value)>>() + ffi.Void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -41745,8 +41498,8 @@ late final _sel_initWithFileDescriptor_ = final _objc_msgSend_846 = objc.msgSendPointer .cast< ffi.NativeFunction< - instancetype Function(ffi.Pointer obj, - ffi.Pointer sel, ffi.Int fd)>>() + instancetype Function(ffi.Pointer, + ffi.Pointer, ffi.Int)>>() .asFunction< instancetype Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -41756,10 +41509,8 @@ late final _sel_readDataOfLength_ = objc.registerName("readDataOfLength:"); final _objc_msgSend_847 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.UnsignedLong length)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.UnsignedLong)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -41769,10 +41520,8 @@ late final _sel_seekToFileOffset_ = objc.registerName("seekToFileOffset:"); final _objc_msgSend_848 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.UnsignedLongLong offset)>>() + ffi.Void Function(ffi.Pointer, + ffi.Pointer, ffi.UnsignedLongLong)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -41967,9 +41716,8 @@ late final _sel_sharedHTTPCookieStorage = final _objc_msgSend_849 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -41979,9 +41727,9 @@ final _objc_msgSend_850 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer identifier)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -42206,9 +41954,9 @@ final _objc_msgSend_851 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer properties)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< instancetype Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -42218,9 +41966,9 @@ final _objc_msgSend_852 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer properties)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -42232,10 +41980,10 @@ final _objc_msgSend_853 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer headerFields, - ffi.Pointer URL)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -42257,9 +42005,9 @@ final _objc_msgSend_854 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer cookie)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -42273,11 +42021,11 @@ final _objc_msgSend_855 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer cookies, - ffi.Pointer URL, - ffi.Pointer mainDocumentURL)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -42296,8 +42044,8 @@ late final _sel_cookieAcceptPolicy = objc.registerName("cookieAcceptPolicy"); final _objc_msgSend_856 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Int32 Function(ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Int32 Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< int Function( ffi.Pointer, ffi.Pointer)>(); @@ -42306,8 +42054,8 @@ late final _sel_setCookieAcceptPolicy_ = final _objc_msgSend_857 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Void Function(ffi.Pointer obj, - ffi.Pointer sel, ffi.Int32 value)>>() + ffi.Void Function(ffi.Pointer, + ffi.Pointer, ffi.Int32)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -42822,11 +42570,11 @@ final _objc_msgSend_858 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer URL, - ffi.Int32 cachePolicy, - ffi.Double timeoutInterval)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Double)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -42841,8 +42589,8 @@ late final _sel_cachePolicy = objc.registerName("cachePolicy"); final _objc_msgSend_859 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Int32 Function(ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Int32 Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< int Function( ffi.Pointer, ffi.Pointer)>(); @@ -42865,8 +42613,8 @@ late final _sel_networkServiceType = objc.registerName("networkServiceType"); final _objc_msgSend_860 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Int32 Function(ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Int32 Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< int Function( ffi.Pointer, ffi.Pointer)>(); @@ -42887,8 +42635,8 @@ late final _sel_attribution = objc.registerName("attribution"); final _objc_msgSend_861 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Int32 Function(ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Int32 Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< int Function( ffi.Pointer, ffi.Pointer)>(); @@ -43305,10 +43053,10 @@ final _objc_msgSend_862 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer property, - ffi.Pointer key)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< bool Function( ffi.Pointer, @@ -43331,8 +43079,8 @@ late final _sel_streamStatus = objc.registerName("streamStatus"); final _objc_msgSend_863 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Int32 Function(ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Int32 Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< int Function( ffi.Pointer, ffi.Pointer)>(); @@ -43552,10 +43300,10 @@ final _objc_msgSend_864 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Long Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer buffer, - ffi.UnsignedLong len)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong)>>() .asFunction< int Function(ffi.Pointer, ffi.Pointer, ffi.Pointer, int)>(); @@ -43567,10 +43315,10 @@ final _objc_msgSend_865 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer buffer, - ffi.UnsignedLong capacity)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong)>>() .asFunction< instancetype Function(ffi.Pointer, ffi.Pointer, ffi.Pointer, int)>(); @@ -43579,10 +43327,10 @@ final _objc_msgSend_866 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, - ffi.Bool shouldAppend)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -43605,12 +43353,12 @@ final _objc_msgSend_867 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer hostname, - ffi.Long port, - ffi.Pointer> inputStream, - ffi.Pointer> outputStream)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Long, + ffi.Pointer>, + ffi.Pointer>)>>() .asFunction< void Function( ffi.Pointer, @@ -43791,9 +43539,9 @@ final _objc_msgSend_868 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer name)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< instancetype Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -43803,9 +43551,9 @@ final _objc_msgSend_869 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer aHost)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< bool Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -43818,8 +43566,8 @@ late final _sel_setHostCacheEnabled_ = final _objc_msgSend_870 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Void Function(ffi.Pointer obj, - ffi.Pointer sel, ffi.Bool flag)>>() + ffi.Void Function(ffi.Pointer, + ffi.Pointer, ffi.Bool)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, bool)>(); @@ -43831,12 +43579,12 @@ final _objc_msgSend_871 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer host, - ffi.Long port, - ffi.Pointer> inputStream, - ffi.Pointer> outputStream)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Long, + ffi.Pointer>, + ffi.Pointer>)>>() .asFunction< void Function( ffi.Pointer, @@ -43851,11 +43599,11 @@ final _objc_msgSend_872 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.UnsignedLong bufferSize, - ffi.Pointer> inputStream, - ffi.Pointer> outputStream)>>() + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer>, + ffi.Pointer>)>>() .asFunction< void Function( ffi.Pointer, @@ -43869,10 +43617,10 @@ final _objc_msgSend_873 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer> buffer, - ffi.Pointer len)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer)>>() .asFunction< bool Function( ffi.Pointer, @@ -43887,9 +43635,9 @@ final _objc_msgSend_874 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer data)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< instancetype Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -43900,9 +43648,8 @@ late final _sel_HTTPBodyStream = objc.registerName("HTTPBodyStream"); final _objc_msgSend_875 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -43914,9 +43661,8 @@ late final _sel_originalRequest = objc.registerName("originalRequest"); final _objc_msgSend_876 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -44077,12 +43823,12 @@ final _objc_msgSend_877 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer URL, - ffi.Pointer MIMEType, - ffi.Long length, - ffi.Pointer name)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Long, + ffi.Pointer)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -44100,9 +43846,8 @@ late final _sel_response = objc.registerName("response"); final _objc_msgSend_878 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -44110,9 +43855,8 @@ late final _sel_progress = objc.registerName("progress"); final _objc_msgSend_879 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -44148,8 +43892,8 @@ late final _sel_state = objc.registerName("state"); final _objc_msgSend_880 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Int32 Function(ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Int32 Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< int Function( ffi.Pointer, ffi.Pointer)>(); @@ -44159,8 +43903,8 @@ late final _sel_setPriority_ = objc.registerName("setPriority:"); final _objc_msgSend_881 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Void Function(ffi.Pointer obj, - ffi.Pointer sel, ffi.Float value)>>() + ffi.Void Function(ffi.Pointer, + ffi.Pointer, ffi.Float)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, double)>(); @@ -44174,10 +43918,10 @@ final _objc_msgSend_882 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer cookies, - ffi.Pointer task)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -44300,10 +44044,10 @@ final _objc_msgSend_883 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer task, - ffi.Pointer completionHandler)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -44480,10 +44224,10 @@ final _objc_msgSend_884 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer indexes, - ffi.UnsignedLong length)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -44497,10 +44241,8 @@ late final _sel_indexPathByAddingIndex_ = final _objc_msgSend_885 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.UnsignedLong index)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.UnsignedLong)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -44509,9 +44251,8 @@ late final _sel_indexPathByRemovingLastIndex = final _objc_msgSend_886 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -44521,10 +44262,10 @@ final _objc_msgSend_887 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer indexes, - _NSRange positionRange)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange)>>() .asFunction< void Function( ffi.Pointer, @@ -44535,9 +44276,9 @@ final _objc_msgSend_888 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Int32 Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer otherObject)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< int Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -44546,9 +44287,9 @@ final _objc_msgSend_889 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer indexes)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -44676,9 +44417,8 @@ late final _sel_automaticRule = objc.registerName("automaticRule"); final _objc_msgSend_890 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -44893,8 +44633,8 @@ late final _sel_grammaticalGender = objc.registerName("grammaticalGender"); final _objc_msgSend_891 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Int32 Function(ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Int32 Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< int Function( ffi.Pointer, ffi.Pointer)>(); @@ -44903,8 +44643,8 @@ late final _sel_setGrammaticalGender_ = final _objc_msgSend_892 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Void Function(ffi.Pointer obj, - ffi.Pointer sel, ffi.Int32 value)>>() + ffi.Void Function(ffi.Pointer, + ffi.Pointer, ffi.Int32)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -44931,8 +44671,8 @@ late final _sel_partOfSpeech = objc.registerName("partOfSpeech"); final _objc_msgSend_893 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Int32 Function(ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Int32 Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< int Function( ffi.Pointer, ffi.Pointer)>(); @@ -44940,8 +44680,8 @@ late final _sel_setPartOfSpeech_ = objc.registerName("setPartOfSpeech:"); final _objc_msgSend_894 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Void Function(ffi.Pointer obj, - ffi.Pointer sel, ffi.Int32 value)>>() + ffi.Void Function(ffi.Pointer, + ffi.Pointer, ffi.Int32)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -44960,8 +44700,8 @@ late final _sel_number = objc.registerName("number"); final _objc_msgSend_895 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Int32 Function(ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Int32 Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< int Function( ffi.Pointer, ffi.Pointer)>(); @@ -44969,8 +44709,8 @@ late final _sel_setNumber_ = objc.registerName("setNumber:"); final _objc_msgSend_896 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Void Function(ffi.Pointer obj, - ffi.Pointer sel, ffi.Int32 value)>>() + ffi.Void Function(ffi.Pointer, + ffi.Pointer, ffi.Int32)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -44997,8 +44737,8 @@ late final _sel_grammaticalCase = objc.registerName("grammaticalCase"); final _objc_msgSend_897 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Int32 Function(ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Int32 Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< int Function( ffi.Pointer, ffi.Pointer)>(); @@ -45006,8 +44746,8 @@ late final _sel_setGrammaticalCase_ = objc.registerName("setGrammaticalCase:"); final _objc_msgSend_898 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Void Function(ffi.Pointer obj, - ffi.Pointer sel, ffi.Int32 value)>>() + ffi.Void Function(ffi.Pointer, + ffi.Pointer, ffi.Int32)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -45022,8 +44762,8 @@ late final _sel_determination = objc.registerName("determination"); final _objc_msgSend_899 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Int32 Function(ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Int32 Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< int Function( ffi.Pointer, ffi.Pointer)>(); @@ -45031,8 +44771,8 @@ late final _sel_setDetermination_ = objc.registerName("setDetermination:"); final _objc_msgSend_900 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Void Function(ffi.Pointer obj, - ffi.Pointer sel, ffi.Int32 value)>>() + ffi.Void Function(ffi.Pointer, + ffi.Pointer, ffi.Int32)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -45048,8 +44788,8 @@ late final _sel_grammaticalPerson = objc.registerName("grammaticalPerson"); final _objc_msgSend_901 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Int32 Function(ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Int32 Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< int Function( ffi.Pointer, ffi.Pointer)>(); @@ -45058,8 +44798,8 @@ late final _sel_setGrammaticalPerson_ = final _objc_msgSend_902 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Void Function(ffi.Pointer obj, - ffi.Pointer sel, ffi.Int32 value)>>() + ffi.Void Function(ffi.Pointer, + ffi.Pointer, ffi.Int32)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -45075,8 +44815,8 @@ late final _sel_pronounType = objc.registerName("pronounType"); final _objc_msgSend_903 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Int32 Function(ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Int32 Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< int Function( ffi.Pointer, ffi.Pointer)>(); @@ -45084,8 +44824,8 @@ late final _sel_setPronounType_ = objc.registerName("setPronounType:"); final _objc_msgSend_904 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Void Function(ffi.Pointer obj, - ffi.Pointer sel, ffi.Int32 value)>>() + ffi.Void Function(ffi.Pointer, + ffi.Pointer, ffi.Int32)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -45100,8 +44840,8 @@ late final _sel_definiteness = objc.registerName("definiteness"); final _objc_msgSend_905 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Int32 Function(ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Int32 Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< int Function( ffi.Pointer, ffi.Pointer)>(); @@ -45109,8 +44849,8 @@ late final _sel_setDefiniteness_ = objc.registerName("setDefiniteness:"); final _objc_msgSend_906 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Void Function(ffi.Pointer obj, - ffi.Pointer sel, ffi.Int32 value)>>() + ffi.Void Function(ffi.Pointer, + ffi.Pointer, ffi.Int32)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -45318,9 +45058,9 @@ final _objc_msgSend_907 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer language)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -45330,11 +45070,11 @@ final _objc_msgSend_908 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer features, - ffi.Pointer language, - ffi.Pointer> error)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>>() .asFunction< bool Function( ffi.Pointer, @@ -45347,9 +45087,8 @@ late final _sel_userMorphology = objc.registerName("userMorphology"); final _objc_msgSend_909 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -45773,9 +45512,9 @@ final _objc_msgSend_910 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer op)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -45794,8 +45533,8 @@ late final _sel_queuePriority = objc.registerName("queuePriority"); final _objc_msgSend_911 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Int32 Function(ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Int32 Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< int Function( ffi.Pointer, ffi.Pointer)>(); @@ -45803,8 +45542,8 @@ late final _sel_setQueuePriority_ = objc.registerName("setQueuePriority:"); final _objc_msgSend_912 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Void Function(ffi.Pointer obj, - ffi.Pointer sel, ffi.Int32 value)>>() + ffi.Void Function(ffi.Pointer, + ffi.Pointer, ffi.Int32)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -45818,10 +45557,10 @@ final _objc_msgSend_913 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer ops, - ffi.Bool wait)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool)>>() .asFunction< void Function( ffi.Pointer, @@ -45841,9 +45580,8 @@ late final _sel_underlyingQueue = objc.registerName("underlyingQueue"); final _objc_msgSend_914 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -45852,9 +45590,9 @@ final _objc_msgSend_915 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -45865,9 +45603,8 @@ late final _sel_currentQueue = objc.registerName("currentQueue"); final _objc_msgSend_916 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -45875,9 +45612,8 @@ late final _sel_mainQueue = objc.registerName("mainQueue"); final _objc_msgSend_917 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -46102,8 +45838,8 @@ late final _sel_initWithOptions_ = objc.registerName("initWithOptions:"); final _objc_msgSend_918 = objc.msgSendPointer .cast< ffi.NativeFunction< - instancetype Function(ffi.Pointer obj, - ffi.Pointer sel, ffi.Int32 options)>>() + instancetype Function(ffi.Pointer, + ffi.Pointer, ffi.Int32)>>() .asFunction< instancetype Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -46375,10 +46111,8 @@ late final _sel_pointerFunctionsWithOptions_ = final _objc_msgSend_919 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Int32 options)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Int32)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -46387,8 +46121,8 @@ final _objc_msgSend_920 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer, ffi.Pointer)>>)>> Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer< ffi.NativeFunction< @@ -46404,32 +46138,35 @@ final _objc_msgSend_921 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer, + ffi.Pointer, ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer)>>)>> - value)>>() + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer)>>)>>)>>() .asFunction< void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer< ffi.NativeFunction< - ffi.UnsignedLong Function(ffi.Pointer, - ffi.Pointer)>>)>>)>(); + ffi.UnsignedLong Function( + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer)>>)>>)>(); late final _sel_isEqualFunction = objc.registerName("isEqualFunction"); final _objc_msgSend_922 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer, ffi.Pointer, ffi.Pointer)>>)>> Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer< ffi.NativeFunction< @@ -46446,18 +46183,17 @@ final _objc_msgSend_923 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer, + ffi.Pointer, ffi.Pointer< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer)>>)>> - value)>>() + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer)>>)>>)>>() .asFunction< void Function( ffi.Pointer, @@ -46467,14 +46203,16 @@ final _objc_msgSend_923 = objc.msgSendPointer ffi.Bool Function( ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>)>>)>(); + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function(ffi.Pointer)>>)>>)>(); late final _sel_sizeFunction = objc.registerName("sizeFunction"); final _objc_msgSend_924 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer)>> Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer< ffi.NativeFunction< @@ -46485,12 +46223,11 @@ final _objc_msgSend_925 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer, + ffi.Pointer, ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function(ffi.Pointer)>> - value)>>() + ffi.NativeFunction< + ffi.UnsignedLong Function(ffi.Pointer)>>)>>() .asFunction< void Function( ffi.Pointer, @@ -46503,8 +46240,8 @@ final _objc_msgSend_926 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function(ffi.Pointer)>> Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer< ffi.NativeFunction< @@ -46517,13 +46254,12 @@ final _objc_msgSend_927 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer, + ffi.Pointer, ffi.Pointer< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer)>> - value)>>() + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer)>>)>>() .asFunction< void Function( ffi.Pointer, @@ -46537,8 +46273,8 @@ final _objc_msgSend_928 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer, ffi.Pointer)>>)>> Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer< ffi.NativeFunction< @@ -46555,32 +46291,35 @@ final _objc_msgSend_929 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer, + ffi.Pointer, ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer)>>)>> - value)>>() + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer)>>)>>)>>() .asFunction< void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer< ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, - ffi.Pointer)>>)>>)>(); + ffi.Void Function( + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer)>>)>>)>(); late final _sel_acquireFunction = objc.registerName("acquireFunction"); final _objc_msgSend_930 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer)>>, ffi.Bool)>> Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer< ffi.NativeFunction< @@ -46597,25 +46336,29 @@ final _objc_msgSend_931 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.Pointer, + ffi.Pointer, ffi.Pointer< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer)>>, - ffi.Bool)>> - value)>>() + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer)>>, + ffi.Bool)>>)>>() .asFunction< void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer< - ffi - .NativeFunction Function(ffi.Pointer, ffi.Pointer)>>, ffi.Bool)>>)>(); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer< + ffi + .NativeFunction)>>, + ffi.Bool)>>)>(); late final _sel_usesStrongWriteBarrier = objc.registerName("usesStrongWriteBarrier"); late final _sel_setUsesStrongWriteBarrier_ = @@ -46630,9 +46373,9 @@ final _objc_msgSend_932 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer functions)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< instancetype Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -46641,10 +46384,8 @@ late final _sel_pointerArrayWithOptions_ = final _objc_msgSend_933 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Int32 options)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Int32)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -46654,9 +46395,9 @@ final _objc_msgSend_934 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer functions)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -46664,9 +46405,8 @@ late final _sel_pointerFunctions = objc.registerName("pointerFunctions"); final _objc_msgSend_935 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -46674,8 +46414,8 @@ late final _sel_pointerAtIndex_ = objc.registerName("pointerAtIndex:"); final _objc_msgSend_936 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer obj, - ffi.Pointer sel, ffi.UnsignedLong index)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.UnsignedLong)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -46690,10 +46430,10 @@ final _objc_msgSend_937 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.UnsignedLong index, - ffi.Pointer item)>>() + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, int, ffi.Pointer)>(); @@ -46708,9 +46448,8 @@ late final _sel_strongObjectsPointerArray = final _objc_msgSend_938 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -46992,9 +46731,8 @@ late final _sel_processInfo = objc.registerName("processInfo"); final _objc_msgSend_939 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -47026,8 +46764,8 @@ late final _sel_operatingSystemVersion = final _objc_msgSend_940 = objc.msgSendPointer .cast< ffi.NativeFunction< - NSOperatingSystemVersion Function(ffi.Pointer obj, - ffi.Pointer sel)>>() + NSOperatingSystemVersion Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< NSOperatingSystemVersion Function( ffi.Pointer, ffi.Pointer)>(); @@ -47035,9 +46773,9 @@ final _objc_msgSend_940Stret = objc.msgSendStretPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer stret, - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -47050,10 +46788,8 @@ late final _sel_isOperatingSystemAtLeastVersion_ = final _objc_msgSend_941 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - NSOperatingSystemVersion version)>>() + ffi.Bool Function(ffi.Pointer, + ffi.Pointer, NSOperatingSystemVersion)>>() .asFunction< bool Function(ffi.Pointer, ffi.Pointer, NSOperatingSystemVersion)>(); @@ -47091,10 +46827,10 @@ final _objc_msgSend_942 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Int32 options, - ffi.Pointer reason)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -47108,11 +46844,11 @@ final _objc_msgSend_943 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Int32 options, - ffi.Pointer reason, - ffi.Pointer block)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -47218,10 +46954,10 @@ final _objc_msgSend_944 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer reason, - ffi.Pointer block)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -47242,8 +46978,8 @@ late final _sel_thermalState = objc.registerName("thermalState"); final _objc_msgSend_945 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Int32 Function(ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Int32 Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< int Function( ffi.Pointer, ffi.Pointer)>(); @@ -47648,8 +47384,8 @@ late final _sel_resultType = objc.registerName("resultType"); final _objc_msgSend_946 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Int32 Function(ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Int32 Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< int Function( ffi.Pointer, ffi.Pointer)>(); @@ -47658,9 +47394,8 @@ late final _sel_orthography = objc.registerName("orthography"); final _objc_msgSend_947 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -47936,11 +47671,11 @@ final _objc_msgSend_948 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer pattern, - ffi.Int32 options, - ffi.Pointer> error)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer>)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -47954,11 +47689,11 @@ final _objc_msgSend_949 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer pattern, - ffi.Int32 options, - ffi.Pointer> error)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer>)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -47971,8 +47706,8 @@ late final _sel_options = objc.registerName("options"); final _objc_msgSend_950 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Int32 Function(ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Int32 Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< int Function( ffi.Pointer, ffi.Pointer)>(); @@ -48155,12 +47890,12 @@ final _objc_msgSend_951 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer string, - ffi.Int32 options, - _NSRange range, - ffi.Pointer block)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + _NSRange, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -48175,11 +47910,11 @@ final _objc_msgSend_952 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer string, - ffi.Int32 options, - _NSRange range)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + _NSRange)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -48193,11 +47928,11 @@ final _objc_msgSend_953 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.UnsignedLong Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer string, - ffi.Int32 options, - _NSRange range)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + _NSRange)>>() .asFunction< int Function( ffi.Pointer, @@ -48211,11 +47946,11 @@ final _objc_msgSend_954 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer string, - ffi.Int32 options, - _NSRange range)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + _NSRange)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -48229,11 +47964,11 @@ final _objc_msgSend_955 = objc.msgSendPointer .cast< ffi.NativeFunction< _NSRange Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer string, - ffi.Int32 options, - _NSRange range)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + _NSRange)>>() .asFunction< _NSRange Function( ffi.Pointer, @@ -48245,12 +47980,12 @@ final _objc_msgSend_955Stret = objc.msgSendStretPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer<_NSRange> stret, - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer string, - ffi.Int32 options, - _NSRange range)>>() + ffi.Pointer<_NSRange>, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + _NSRange)>>() .asFunction< void Function( ffi.Pointer<_NSRange>, @@ -48266,12 +48001,12 @@ final _objc_msgSend_956 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer string, - ffi.Int32 options, - _NSRange range, - ffi.Pointer templ)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + _NSRange, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -48286,12 +48021,12 @@ final _objc_msgSend_957 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.UnsignedLong Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer string, - ffi.Int32 options, - _NSRange range, - ffi.Pointer templ)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + _NSRange, + ffi.Pointer)>>() .asFunction< int Function( ffi.Pointer, @@ -48306,12 +48041,12 @@ final _objc_msgSend_958 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer result, - ffi.Pointer string, - ffi.Long offset, - ffi.Pointer templ)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Long, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -48326,9 +48061,8 @@ late final _sel_regularExpression = objc.registerName("regularExpression"); final _objc_msgSend_959 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -48341,10 +48075,8 @@ late final _sel_resultByAdjustingRangesWithOffset_ = final _objc_msgSend_960 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Long offset)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Long)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -48355,10 +48087,10 @@ final _objc_msgSend_961 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - _NSRange range, - ffi.Pointer orthography)>>() + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -48370,10 +48102,8 @@ late final _sel_spellCheckingResultWithRange_ = final _objc_msgSend_962 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - _NSRange range)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, _NSRange)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, _NSRange)>(); @@ -48383,10 +48113,10 @@ final _objc_msgSend_963 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - _NSRange range, - ffi.Pointer details)>>() + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -48399,10 +48129,10 @@ final _objc_msgSend_964 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - _NSRange range, - ffi.Pointer date)>>() + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -48415,12 +48145,12 @@ final _objc_msgSend_965 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - _NSRange range, - ffi.Pointer date, - ffi.Pointer timeZone, - ffi.Double duration)>>() + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + ffi.Pointer, + ffi.Double)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -48435,10 +48165,10 @@ final _objc_msgSend_966 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - _NSRange range, - ffi.Pointer components)>>() + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -48451,10 +48181,10 @@ final _objc_msgSend_967 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - _NSRange range, - ffi.Pointer url)>>() + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -48467,10 +48197,10 @@ final _objc_msgSend_968 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - _NSRange range, - ffi.Pointer replacementString)>>() + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -48490,11 +48220,11 @@ final _objc_msgSend_969 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - _NSRange range, - ffi.Pointer replacementString, - ffi.Pointer alternativeStrings)>>() + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -48509,11 +48239,11 @@ final _objc_msgSend_970 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer<_NSRange> ranges, - ffi.UnsignedLong count, - ffi.Pointer regularExpression)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_NSRange>, + ffi.UnsignedLong, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -48737,9 +48467,8 @@ late final _sel_sharedURLCache = objc.registerName("sharedURLCache"); final _objc_msgSend_971 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -48748,9 +48477,9 @@ final _objc_msgSend_972 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -48760,11 +48489,11 @@ final _objc_msgSend_973 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.UnsignedLong memoryCapacity, - ffi.UnsignedLong diskCapacity, - ffi.Pointer path)>>() + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.UnsignedLong, + ffi.Pointer)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -48778,11 +48507,11 @@ final _objc_msgSend_974 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.UnsignedLong memoryCapacity, - ffi.UnsignedLong diskCapacity, - ffi.Pointer directoryURL)>>() + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.UnsignedLong, + ffi.Pointer)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -48944,10 +48673,10 @@ final _objc_msgSend_975 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer response, - ffi.Pointer data)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -48967,12 +48696,12 @@ final _objc_msgSend_976 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer response, - ffi.Pointer data, - ffi.Pointer userInfo, - ffi.Int32 storagePolicy)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -48984,9 +48713,8 @@ final _objc_msgSend_976 = objc.msgSendPointer final _objc_msgSend_977 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -48994,8 +48722,8 @@ late final _sel_storagePolicy = objc.registerName("storagePolicy"); final _objc_msgSend_978 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Int32 Function(ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Int32 Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< int Function( ffi.Pointer, ffi.Pointer)>(); @@ -49005,9 +48733,9 @@ final _objc_msgSend_979 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer request)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -49017,10 +48745,10 @@ final _objc_msgSend_980 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer cachedResponse, - ffi.Pointer request)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -49033,9 +48761,9 @@ final _objc_msgSend_981 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer request)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -49163,10 +48891,10 @@ final _objc_msgSend_982 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer cachedResponse, - ffi.Pointer dataTask)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -49292,10 +49020,10 @@ final _objc_msgSend_983 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer dataTask, - ffi.Pointer completionHandler)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -49308,9 +49036,9 @@ final _objc_msgSend_984 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer dataTask)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -49524,11 +49252,11 @@ final _objc_msgSend_985 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer request, - ffi.Pointer delegate, - ffi.Bool startImmediately)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -49542,10 +49270,10 @@ final _objc_msgSend_986 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer request, - ffi.Pointer delegate)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -49558,10 +49286,10 @@ final _objc_msgSend_987 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer request, - ffi.Pointer delegate)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -49571,9 +49299,8 @@ final _objc_msgSend_987 = objc.msgSendPointer final _objc_msgSend_988 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -49584,9 +49311,9 @@ final _objc_msgSend_989 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer queue)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -49595,9 +49322,9 @@ final _objc_msgSend_990 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer request)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< bool Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -49607,11 +49334,11 @@ final _objc_msgSend_991 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer request, - ffi.Pointer> response, - ffi.Pointer> error)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer>)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -49785,11 +49512,11 @@ final _objc_msgSend_992 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer request, - ffi.Pointer queue, - ffi.Pointer handler)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -50004,8 +49731,8 @@ late final _sel_persistence = objc.registerName("persistence"); final _objc_msgSend_993 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Int32 Function(ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Int32 Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< int Function( ffi.Pointer, ffi.Pointer)>(); @@ -50015,11 +49742,11 @@ final _objc_msgSend_994 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer user, - ffi.Pointer password, - ffi.Int32 persistence)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -50033,11 +49760,11 @@ final _objc_msgSend_995 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer user, - ffi.Pointer password, - ffi.Int32 persistence)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -50055,11 +49782,11 @@ final _objc_msgSend_996 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer<__SecIdentity> identity, - ffi.Pointer certArray, - ffi.Int32 persistence)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<__SecIdentity>, + ffi.Pointer, + ffi.Int32)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -50073,11 +49800,11 @@ final _objc_msgSend_997 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer<__SecIdentity> identity, - ffi.Pointer certArray, - ffi.Int32 persistence)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<__SecIdentity>, + ffi.Pointer, + ffi.Int32)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -50089,9 +49816,8 @@ late final _sel_identity = objc.registerName("identity"); final _objc_msgSend_998 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer<__SecIdentity> Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer<__SecIdentity> Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer<__SecIdentity> Function( ffi.Pointer, ffi.Pointer)>(); @@ -50103,10 +49829,8 @@ late final _sel_initWithTrust_ = objc.registerName("initWithTrust:"); final _objc_msgSend_999 = objc.msgSendPointer .cast< ffi.NativeFunction< - instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer<__SecTrust> trust)>>() + instancetype Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer<__SecTrust>)>>() .asFunction< instancetype Function(ffi.Pointer, ffi.Pointer, ffi.Pointer<__SecTrust>)>(); @@ -50114,10 +49838,8 @@ late final _sel_credentialForTrust_ = objc.registerName("credentialForTrust:"); final _objc_msgSend_1000 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer<__SecTrust> trust)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer<__SecTrust>)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer<__SecTrust>)>(); @@ -50323,13 +50045,13 @@ final _objc_msgSend_1001 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer host, - ffi.Long port, - ffi.Pointer protocol, - ffi.Pointer realm, - ffi.Pointer authenticationMethod)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Long, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -50354,8 +50076,8 @@ late final _sel_serverTrust = objc.registerName("serverTrust"); final _objc_msgSend_1002 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer<__SecTrust> Function(ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer<__SecTrust> Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer<__SecTrust> Function( ffi.Pointer, ffi.Pointer)>(); @@ -50591,9 +50313,8 @@ late final _sel_sharedCredentialStorage = final _objc_msgSend_1003 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -50603,9 +50324,9 @@ final _objc_msgSend_1004 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer space)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -50616,10 +50337,10 @@ final _objc_msgSend_1005 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer credential, - ffi.Pointer space)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -50634,11 +50355,11 @@ final _objc_msgSend_1006 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer credential, - ffi.Pointer space, - ffi.Pointer options)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -50652,9 +50373,9 @@ final _objc_msgSend_1007 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer space)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -50777,11 +50498,11 @@ final _objc_msgSend_1008 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer protectionSpace, - ffi.Pointer task, - ffi.Pointer completionHandler)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -50795,11 +50516,11 @@ final _objc_msgSend_1009 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer credential, - ffi.Pointer protectionSpace, - ffi.Pointer task)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -50813,12 +50534,12 @@ final _objc_msgSend_1010 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer credential, - ffi.Pointer protectionSpace, - ffi.Pointer options, - ffi.Pointer task)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -50946,11 +50667,11 @@ final _objc_msgSend_1011 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer space, - ffi.Pointer task, - ffi.Pointer completionHandler)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -51180,11 +50901,11 @@ final _objc_msgSend_1012 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer request, - ffi.Pointer cachedResponse, - ffi.Pointer client)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -51198,9 +50919,8 @@ late final _sel_cachedResponse = objc.registerName("cachedResponse"); final _objc_msgSend_1013 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -51211,9 +50931,9 @@ final _objc_msgSend_1014 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer request)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -51223,10 +50943,10 @@ final _objc_msgSend_1015 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer a, - ffi.Pointer b)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< bool Function( ffi.Pointer, @@ -51241,10 +50961,10 @@ final _objc_msgSend_1016 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer key, - ffi.Pointer request)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -51593,8 +51313,8 @@ late final _sel_setCachePolicy_ = objc.registerName("setCachePolicy:"); final _objc_msgSend_1017 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Void Function(ffi.Pointer obj, - ffi.Pointer sel, ffi.Int32 value)>>() + ffi.Void Function(ffi.Pointer, + ffi.Pointer, ffi.Int32)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -51605,8 +51325,8 @@ late final _sel_setNetworkServiceType_ = final _objc_msgSend_1018 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Void Function(ffi.Pointer obj, - ffi.Pointer sel, ffi.Int32 value)>>() + ffi.Void Function(ffi.Pointer, + ffi.Pointer, ffi.Int32)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -51622,8 +51342,8 @@ late final _sel_setAttribution_ = objc.registerName("setAttribution:"); final _objc_msgSend_1019 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Void Function(ffi.Pointer obj, - ffi.Pointer sel, ffi.Int32 value)>>() + ffi.Void Function(ffi.Pointer, + ffi.Pointer, ffi.Int32)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -51638,10 +51358,10 @@ final _objc_msgSend_1020 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, - ffi.Pointer field)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -51655,9 +51375,9 @@ final _objc_msgSend_1021 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -51666,9 +51386,9 @@ final _objc_msgSend_1022 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -51682,11 +51402,11 @@ final _objc_msgSend_1023 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value, - ffi.Pointer key, - ffi.Pointer request)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -51700,10 +51420,10 @@ final _objc_msgSend_1024 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer key, - ffi.Pointer request)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -51717,9 +51437,9 @@ final _objc_msgSend_1025 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer task)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< bool Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -51729,11 +51449,11 @@ final _objc_msgSend_1026 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer task, - ffi.Pointer cachedResponse, - ffi.Pointer client)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -51745,9 +51465,8 @@ late final _sel_task = objc.registerName("task"); final _objc_msgSend_1027 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -51978,9 +51697,9 @@ final _objc_msgSend_1028 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer stream)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< instancetype Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -52005,8 +51724,8 @@ late final _sel_externalEntityResolvingPolicy = final _objc_msgSend_1029 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Int32 Function(ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Int32 Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< int Function( ffi.Pointer, ffi.Pointer)>(); @@ -52015,8 +51734,8 @@ late final _sel_setExternalEntityResolvingPolicy_ = final _objc_msgSend_1030 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Void Function(ffi.Pointer obj, - ffi.Pointer sel, ffi.Int32 value)>>() + ffi.Void Function(ffi.Pointer, + ffi.Pointer, ffi.Int32)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -52028,9 +51747,9 @@ final _objc_msgSend_1031 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -52391,11 +52110,11 @@ final _objc_msgSend_1032 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, - ffi.Int32 options, - ffi.Pointer> outError)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer>)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -52429,11 +52148,11 @@ final _objc_msgSend_1033 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, - ffi.Int32 options, - ffi.Pointer> outError)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer>)>>() .asFunction< bool Function( ffi.Pointer, @@ -52453,12 +52172,12 @@ final _objc_msgSend_1034 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, - ffi.Int32 options, - ffi.Pointer originalContentsURL, - ffi.Pointer> outError)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ffi.Pointer>)>>() .asFunction< bool Function( ffi.Pointer, @@ -52474,9 +52193,9 @@ final _objc_msgSend_1035 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer child)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -52486,10 +52205,10 @@ final _objc_msgSend_1036 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer data, - ffi.Pointer fileName)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -52501,9 +52220,9 @@ final _objc_msgSend_1037 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer child)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -52513,9 +52232,9 @@ final _objc_msgSend_1038 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer child)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -52533,11 +52252,11 @@ final _objc_msgSend_1039 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, - ffi.Bool atomicFlag, - ffi.Bool updateFilenamesFlag)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.Bool)>>() .asFunction< bool Function( ffi.Pointer, @@ -52924,9 +52643,8 @@ late final _sel_sharedSession = objc.registerName("sharedSession"); final _objc_msgSend_1040 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -53357,9 +53075,8 @@ late final _sel_defaultSessionConfiguration = final _objc_msgSend_1041 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -53371,9 +53088,9 @@ final _objc_msgSend_1042 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer identifier)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -53429,8 +53146,8 @@ late final _sel_TLSMinimumSupportedProtocol = final _objc_msgSend_1043 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Int32 Function(ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Int32 Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< int Function( ffi.Pointer, ffi.Pointer)>(); @@ -53439,8 +53156,8 @@ late final _sel_setTLSMinimumSupportedProtocol_ = final _objc_msgSend_1044 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Void Function(ffi.Pointer obj, - ffi.Pointer sel, ffi.Int32 value)>>() + ffi.Void Function(ffi.Pointer, + ffi.Pointer, ffi.Int32)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -53463,8 +53180,8 @@ late final _sel_TLSMinimumSupportedProtocolVersion = final _objc_msgSend_1045 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Int32 Function(ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Int32 Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< int Function( ffi.Pointer, ffi.Pointer)>(); @@ -53473,8 +53190,8 @@ late final _sel_setTLSMinimumSupportedProtocolVersion_ = final _objc_msgSend_1046 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Void Function(ffi.Pointer obj, - ffi.Pointer sel, ffi.Int32 value)>>() + ffi.Void Function(ffi.Pointer, + ffi.Pointer, ffi.Int32)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -53502,9 +53219,8 @@ late final _sel_HTTPCookieStorage = objc.registerName("HTTPCookieStorage"); final _objc_msgSend_1047 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -53514,9 +53230,9 @@ final _objc_msgSend_1048 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -53525,9 +53241,8 @@ late final _sel_URLCredentialStorage = final _objc_msgSend_1049 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -53537,9 +53252,9 @@ final _objc_msgSend_1050 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -53547,9 +53262,8 @@ late final _sel_URLCache = objc.registerName("URLCache"); final _objc_msgSend_1051 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -53558,9 +53272,9 @@ final _objc_msgSend_1052 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -53574,9 +53288,9 @@ final _objc_msgSend_1053 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -53593,8 +53307,8 @@ late final _sel_multipathServiceType = final _objc_msgSend_1054 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Int32 Function(ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Int32 Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< int Function( ffi.Pointer, ffi.Pointer)>(); @@ -53603,8 +53317,8 @@ late final _sel_setMultipathServiceType_ = final _objc_msgSend_1055 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Void Function(ffi.Pointer obj, - ffi.Pointer sel, ffi.Int32 value)>>() + ffi.Void Function(ffi.Pointer, + ffi.Pointer, ffi.Int32)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -53616,9 +53330,9 @@ final _objc_msgSend_1056 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer configuration)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -53628,11 +53342,11 @@ final _objc_msgSend_1057 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer configuration, - ffi.Pointer delegate, - ffi.Pointer queue)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -53810,10 +53524,8 @@ late final _sel_getTasksWithCompletionHandler_ = final _objc_msgSend_1058 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer completionHandler)>>() + ffi.Void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -53930,10 +53642,8 @@ late final _sel_getAllTasksWithCompletionHandler_ = final _objc_msgSend_1059 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer completionHandler)>>() + ffi.Void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -53943,9 +53653,9 @@ final _objc_msgSend_1060 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer request)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -53954,9 +53664,9 @@ final _objc_msgSend_1061 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -54191,10 +53901,8 @@ late final _sel_cancelByProducingResumeData_ = final _objc_msgSend_1062 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer completionHandler)>>() + ffi.Void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -54204,10 +53912,10 @@ final _objc_msgSend_1063 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer request, - ffi.Pointer fileURL)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -54220,10 +53928,10 @@ final _objc_msgSend_1064 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer request, - ffi.Pointer bodyData)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -54236,9 +53944,9 @@ final _objc_msgSend_1065 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer resumeData)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -54248,9 +53956,9 @@ final _objc_msgSend_1066 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer request)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -54377,9 +54085,9 @@ final _objc_msgSend_1067 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer request)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -54389,9 +54097,9 @@ final _objc_msgSend_1068 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -54401,9 +54109,9 @@ final _objc_msgSend_1069 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer resumeData)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -54706,12 +54414,12 @@ final _objc_msgSend_1070 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.UnsignedLong minBytes, - ffi.UnsignedLong maxBytes, - ffi.Double timeout, - ffi.Pointer completionHandler)>>() + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.UnsignedLong, + ffi.Double, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -54726,11 +54434,11 @@ final _objc_msgSend_1071 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer data, - ffi.Double timeout, - ffi.Pointer completionHandler)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Double, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -54751,10 +54459,10 @@ final _objc_msgSend_1072 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer hostname, - ffi.Long port)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Long)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -55017,12 +54725,12 @@ final _objc_msgSend_1073 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer domain, - ffi.Pointer type, - ffi.Pointer name, - ffi.Int port)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -55037,11 +54745,11 @@ final _objc_msgSend_1074 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer domain, - ffi.Pointer type, - ffi.Pointer name)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -55063,8 +54771,8 @@ late final _sel_publishWithOptions_ = objc.registerName("publishWithOptions:"); final _objc_msgSend_1075 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Void Function(ffi.Pointer obj, - ffi.Pointer sel, ffi.Int32 options)>>() + ffi.Void Function(ffi.Pointer, + ffi.Pointer, ffi.Int32)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -55076,9 +54784,9 @@ final _objc_msgSend_1076 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer txtData)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -55088,9 +54796,9 @@ final _objc_msgSend_1077 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer txtDictionary)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -55101,10 +54809,10 @@ final _objc_msgSend_1078 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer> inputStream, - ffi.Pointer> outputStream)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer>)>>() .asFunction< bool Function( ffi.Pointer, @@ -55116,9 +54824,9 @@ final _objc_msgSend_1079 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer recordData)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< bool Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -55131,9 +54839,9 @@ final _objc_msgSend_1080 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer service)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -55444,8 +55152,8 @@ abstract class NSURLSessionWebSocketMessageType { final _objc_msgSend_1081 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Int32 Function(ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Int32 Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< int Function( ffi.Pointer, ffi.Pointer)>(); @@ -55455,10 +55163,10 @@ final _objc_msgSend_1082 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer message, - ffi.Pointer completionHandler)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -55614,10 +55322,8 @@ late final _sel_receiveMessageWithCompletionHandler_ = final _objc_msgSend_1083 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer completionHandler)>>() + ffi.Void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -55626,10 +55332,8 @@ late final _sel_sendPingWithPongReceiveHandler_ = final _objc_msgSend_1084 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer pongReceiveHandler)>>() + ffi.Void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -55657,10 +55361,10 @@ final _objc_msgSend_1085 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Int32 closeCode, - ffi.Pointer reason)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -55674,8 +55378,8 @@ late final _sel_closeCode = objc.registerName("closeCode"); final _objc_msgSend_1086 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Int32 Function(ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Int32 Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< int Function( ffi.Pointer, ffi.Pointer)>(); @@ -55686,9 +55390,9 @@ final _objc_msgSend_1087 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -55698,10 +55402,10 @@ final _objc_msgSend_1088 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, - ffi.Pointer protocols)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -55714,9 +55418,9 @@ final _objc_msgSend_1089 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer request)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -55887,10 +55591,10 @@ final _objc_msgSend_1090 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer request, - ffi.Pointer completionHandler)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -55903,10 +55607,10 @@ final _objc_msgSend_1091 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, - ffi.Pointer completionHandler)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -55919,11 +55623,11 @@ final _objc_msgSend_1092 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer request, - ffi.Pointer fileURL, - ffi.Pointer completionHandler)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -55937,11 +55641,11 @@ final _objc_msgSend_1093 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer request, - ffi.Pointer bodyData, - ffi.Pointer completionHandler)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -55955,10 +55659,10 @@ final _objc_msgSend_1094 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer resumeData, - ffi.Pointer completionHandler)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -56131,10 +55835,10 @@ final _objc_msgSend_1095 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer request, - ffi.Pointer completionHandler)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -56147,10 +55851,10 @@ final _objc_msgSend_1096 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, - ffi.Pointer completionHandler)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -56163,10 +55867,10 @@ final _objc_msgSend_1097 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer resumeData, - ffi.Pointer completionHandler)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -56240,9 +55944,8 @@ late final _class_NSProtocolChecker = objc.getClass("NSProtocolChecker"); final _objc_msgSend_1098 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -56252,10 +55955,10 @@ final _objc_msgSend_1099 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer anObject, - ffi.Pointer aProtocol)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -56607,8 +56310,8 @@ late final _sel_terminationReason = objc.registerName("terminationReason"); final _objc_msgSend_1100 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Int32 Function(ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Int32 Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< int Function( ffi.Pointer, ffi.Pointer)>(); @@ -56723,9 +56426,8 @@ late final _sel_terminationHandler = objc.registerName("terminationHandler"); final _objc_msgSend_1101 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -56734,10 +56436,8 @@ late final _sel_setTerminationHandler_ = final _objc_msgSend_1102 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value)>>() + ffi.Void Function(ffi.Pointer, + ffi.Pointer, ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -56748,12 +56448,12 @@ final _objc_msgSend_1103 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, - ffi.Pointer arguments, - ffi.Pointer> error, - ffi.Pointer terminationHandler)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -56774,10 +56474,10 @@ final _objc_msgSend_1104 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, - ffi.Pointer arguments)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -57648,8 +57348,8 @@ late final _sel_initWithKind_ = objc.registerName("initWithKind:"); final _objc_msgSend_1105 = objc.msgSendPointer .cast< ffi.NativeFunction< - instancetype Function(ffi.Pointer obj, - ffi.Pointer sel, ffi.Int32 kind)>>() + instancetype Function(ffi.Pointer, + ffi.Pointer, ffi.Int32)>>() .asFunction< instancetype Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -57690,11 +57390,8 @@ late final _sel_initWithKind_options_ = final _objc_msgSend_1106 = objc.msgSendPointer .cast< ffi.NativeFunction< - instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Int32 kind, - ffi.Int32 options)>>() + instancetype Function(ffi.Pointer, + ffi.Pointer, ffi.Int32, ffi.Int32)>>() .asFunction< instancetype Function(ffi.Pointer, ffi.Pointer, int, int)>(); @@ -57705,9 +57402,9 @@ final _objc_msgSend_1107 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer element)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -57718,10 +57415,10 @@ final _objc_msgSend_1108 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer name, - ffi.Pointer URI)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -57736,11 +57433,11 @@ final _objc_msgSend_1109 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer name, - ffi.Pointer children, - ffi.Pointer attributes)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -57765,8 +57462,8 @@ late final _sel_DTDNodeWithXMLString_ = final _objc_msgSend_1110 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Int32 Function(ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Int32 Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< int Function( ffi.Pointer, ffi.Pointer)>(); @@ -57779,10 +57476,10 @@ final _objc_msgSend_1111 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer string, - ffi.Bool resolve)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool)>>() .asFunction< void Function( ffi.Pointer, @@ -58234,11 +57931,11 @@ final _objc_msgSend_1112 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer string, - ffi.Int32 mask, - ffi.Pointer> error)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer>)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -58250,11 +57947,11 @@ final _objc_msgSend_1113 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer url, - ffi.Int32 mask, - ffi.Pointer> error)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer>)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -58268,11 +57965,11 @@ final _objc_msgSend_1114 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer data, - ffi.Int32 mask, - ffi.Pointer> error)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer>)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -58286,9 +57983,9 @@ final _objc_msgSend_1115 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer element)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< instancetype Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -58311,8 +58008,8 @@ late final _sel_documentContentKind = objc.registerName("documentContentKind"); final _objc_msgSend_1116 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Int32 Function(ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Int32 Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< int Function( ffi.Pointer, ffi.Pointer)>(); @@ -58321,8 +58018,8 @@ late final _sel_setDocumentContentKind_ = final _objc_msgSend_1117 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Void Function(ffi.Pointer obj, - ffi.Pointer sel, ffi.Int32 value)>>() + ffi.Void Function(ffi.Pointer, + ffi.Pointer, ffi.Int32)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -58681,10 +58378,10 @@ final _objc_msgSend_1118 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer child, - ffi.UnsignedLong index)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong)>>() .asFunction< void Function( ffi.Pointer, @@ -58697,10 +58394,10 @@ final _objc_msgSend_1119 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer children, - ffi.UnsignedLong index)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong)>>() .asFunction< void Function( ffi.Pointer, @@ -58714,9 +58411,9 @@ final _objc_msgSend_1120 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer child)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -58726,10 +58423,10 @@ final _objc_msgSend_1121 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.UnsignedLong index, - ffi.Pointer node)>>() + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer)>>() .asFunction< void Function( ffi.Pointer, @@ -59056,8 +58753,8 @@ late final _sel_DTDKind = objc.registerName("DTDKind"); final _objc_msgSend_1122 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Int32 Function(ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Int32 Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< int Function( ffi.Pointer, ffi.Pointer)>(); @@ -59065,8 +58762,8 @@ late final _sel_setDTDKind_ = objc.registerName("setDTDKind:"); final _objc_msgSend_1123 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Void Function(ffi.Pointer obj, - ffi.Pointer sel, ffi.Int32 value)>>() + ffi.Void Function(ffi.Pointer, + ffi.Pointer, ffi.Int32)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -59081,9 +58778,9 @@ final _objc_msgSend_1124 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer name)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -59093,9 +58790,9 @@ final _objc_msgSend_1125 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer name)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -59109,10 +58806,10 @@ final _objc_msgSend_1126 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer name, - ffi.Pointer elementName)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -59125,9 +58822,8 @@ late final _sel_DTD = objc.registerName("DTD"); final _objc_msgSend_1127 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -59136,9 +58832,9 @@ final _objc_msgSend_1128 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer value)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -59147,9 +58843,9 @@ final _objc_msgSend_1129 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Void Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer root)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -59157,9 +58853,8 @@ late final _sel_rootElement = objc.registerName("rootElement"); final _objc_msgSend_1130 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -59168,10 +58863,8 @@ late final _sel_XMLDataWithOptions_ = objc.registerName("XMLDataWithOptions:"); final _objc_msgSend_1131 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Int32 options)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Int32)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -59181,11 +58874,11 @@ final _objc_msgSend_1132 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer xslt, - ffi.Pointer arguments, - ffi.Pointer> error)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -59199,11 +58892,11 @@ final _objc_msgSend_1133 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer xslt, - ffi.Pointer arguments, - ffi.Pointer> error)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -59217,11 +58910,11 @@ final _objc_msgSend_1134 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer xsltURL, - ffi.Pointer argument, - ffi.Pointer> error)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -59235,9 +58928,8 @@ late final _sel_rootDocument = objc.registerName("rootDocument"); final _objc_msgSend_1135 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -59245,9 +58937,8 @@ late final _sel_parent = objc.registerName("parent"); final _objc_msgSend_1136 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -59257,10 +58948,8 @@ late final _sel_childAtIndex_ = objc.registerName("childAtIndex:"); final _objc_msgSend_1137 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.UnsignedLong index)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.UnsignedLong)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -59280,10 +58969,8 @@ late final _sel_XMLStringWithOptions_ = final _objc_msgSend_1138 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Int32 options)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Int32)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, int)>(); @@ -59292,10 +58979,8 @@ late final _sel_canonicalXMLStringPreservingComments_ = final _objc_msgSend_1139 = objc.msgSendPointer .cast< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Bool comments)>>() + ffi.Pointer Function(ffi.Pointer, + ffi.Pointer, ffi.Bool)>>() .asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, bool)>(); @@ -59307,11 +58992,11 @@ final _objc_msgSend_1140 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer xquery, - ffi.Pointer constants, - ffi.Pointer> error)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -59326,10 +59011,10 @@ final _objc_msgSend_1141 = objc.msgSendPointer .cast< ffi.NativeFunction< instancetype Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer name, - ffi.Pointer URI)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< instancetype Function( ffi.Pointer, @@ -59347,10 +59032,10 @@ final _objc_msgSend_1142 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer localName, - ffi.Pointer URI)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, @@ -59371,10 +59056,10 @@ final _objc_msgSend_1143 = objc.msgSendPointer .cast< ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer localName, - ffi.Pointer URI)>>() + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer)>>() .asFunction< ffi.Pointer Function( ffi.Pointer, diff --git a/pkgs/ffigen/lib/src/code_generator/objc_built_in_functions.dart b/pkgs/ffigen/lib/src/code_generator/objc_built_in_functions.dart index 3031770cb..463bd7aa2 100644 --- a/pkgs/ffigen/lib/src/code_generator/objc_built_in_functions.dart +++ b/pkgs/ffigen/lib/src/code_generator/objc_built_in_functions.dart @@ -151,12 +151,12 @@ class ObjCMsgSendVariantFunc extends NoLookUpBinding { FunctionType type; ObjCMsgSendVariantFunc( - {required String name, + {required super.name, required this.variant, required Type returnType, required List parameters}) : type = FunctionType(returnType: returnType, parameters: parameters), - super(name: name, isInternal: true); + super(isInternal: true); @override BindingString toBindingString(Writer w) { @@ -234,10 +234,10 @@ class ObjCMsgSendFunc { static List _params(List params, {Type? structRetPtr}) { return [ - if (structRetPtr != null) Parameter(name: 'stret', type: structRetPtr), - Parameter(name: 'obj', type: PointerType(objCObjectType)), - Parameter(name: 'sel', type: PointerType(objCSelType)), - for (final p in params) Parameter(name: p.name, type: p.type), + if (structRetPtr != null) Parameter(type: structRetPtr), + Parameter(type: PointerType(objCObjectType)), + Parameter(type: PointerType(objCSelType)), + for (final p in params) Parameter(type: p.type), ]; } diff --git a/pkgs/ffigen/lib/src/code_generator/objc_interface.dart b/pkgs/ffigen/lib/src/code_generator/objc_interface.dart index 74c14131d..ab51ff139 100644 --- a/pkgs/ffigen/lib/src/code_generator/objc_interface.dart +++ b/pkgs/ffigen/lib/src/code_generator/objc_interface.dart @@ -111,8 +111,8 @@ class $name extends ${superType?.name ?? wrapObjType} { return ${_isKindOfClassMsgSend.invoke( w, 'obj.pointer', - '${_isKindOfClass.name}', - ['${_classObject.name}'], + _isKindOfClass.name, + [_classObject.name], )}; } @@ -204,8 +204,8 @@ class $name extends ${superType?.name ?? wrapObjType} { } s.write(m.msgSend!.invoke( w, - isStatic ? '${_classObject.name}' : 'this.pointer', - '${m.selObject!.name}', + isStatic ? _classObject.name : 'this.pointer', + m.selObject!.name, m.params.map((p) => p.type .convertDartTypeToFfiDartType(w, p.name, objCRetain: false)), structRetPtr: 'stret')); diff --git a/pkgs/ffigen/test/native_objc_test/failed_to_load_test.dart b/pkgs/ffigen/test/native_objc_test/failed_to_load_test.dart index 942df32d1..d0ca5711f 100644 --- a/pkgs/ffigen/test/native_objc_test/failed_to_load_test.dart +++ b/pkgs/ffigen/test/native_objc_test/failed_to_load_test.dart @@ -5,8 +5,6 @@ // Objective C support is only available on mac. @TestOn('mac-os') -import 'dart:ffi'; - import 'package:test/test.dart'; import '../test_utils.dart'; import 'failed_to_load_bindings.dart'; From ff7c4b80b0cd660ce4cf51f07f2c25c80105077d Mon Sep 17 00:00:00 2001 From: Liam Appelbe Date: Fri, 12 Apr 2024 09:40:57 +1200 Subject: [PATCH 21/21] Update changelog --- pkgs/ffigen/CHANGELOG.md | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/pkgs/ffigen/CHANGELOG.md b/pkgs/ffigen/CHANGELOG.md index e505ced00..9d736b921 100644 --- a/pkgs/ffigen/CHANGELOG.md +++ b/pkgs/ffigen/CHANGELOG.md @@ -7,17 +7,18 @@ `castFromPointer` method to blocks. - Add `-Wno-nullability-completeness` as default compiler option for MacOS. - __Breaking change__: Use `package:objective_c` in ObjC bindings. - - ObjC packages will have a flutter dependency (until #1068 is fixed). + - ObjC packages will have a flutter dependency (until + https://github.com/dart-lang/native/issues/1068 is fixed). - ObjC class methods don't need the ubiquitous `lib` argument anymore. In - fact, ffigen won't even generate the native library class (unless you're - binding top level functions and not using `@Native`). It is still necessary - to `DynamicLibrary.open` the dylib though. + fact, ffigen won't even generate the native library class (unless it needs + to bind top level functions without using `@Native`). It is still necessary + to `DynamicLibrary.open` the dylib though, to load the classes and methods. - Adapting to this change: - - If your generated code no longer contains the native library class, it - means you don't need it anymore. So - `final lib = FooNativeLib(DynamicLibrary.open('foo.dylib'));` becomes - `DynamicLibrary.open('foo.dylib');`. - - Regardless of whether you still have a native library class, delete the + - Update ffigen and re-run the code generation. If the generated code no + longer contains the native library class, it means it isn't needed + anymore. So `final lib = FooNativeLib(DynamicLibrary.open('foo.dylib'));` + must be changed to `DynamicLibrary.open('foo.dylib');`. + - Regardless of whether the native library class still exists, delete the `lib` parameter from all ObjC object constructors and static method calls and block constructors.